@performant-software/core-data 2.2.15-beta.0 → 2.2.16-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.cjs106.js +1 -1
- package/dist/index.cjs107.js +1 -1
- package/dist/index.cjs108.js +1 -1
- package/dist/index.cjs109.js +1 -1
- package/dist/index.cjs111.js +1 -1
- package/dist/index.cjs112.js +1 -1
- package/dist/index.cjs113.js +1 -1
- package/dist/index.cjs114.js +1 -1
- package/dist/index.cjs117.js +1 -1
- package/dist/index.cjs118.js +1 -1
- package/dist/index.cjs120.js +1 -1
- package/dist/index.cjs121.js +1 -1
- package/dist/index.cjs147.js +1 -1
- package/dist/index.cjs148.js +1 -1
- package/dist/index.cjs149.js +1 -1
- package/dist/index.cjs150.js +1 -1
- package/dist/index.cjs151.js +1 -1
- package/dist/index.cjs152.js +1 -1
- package/dist/index.cjs155.js +1 -1
- package/dist/index.cjs156.js +1 -1
- package/dist/index.cjs158.js +1 -1
- package/dist/index.cjs159.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.cjs168.js +1 -1
- package/dist/index.cjs169.js +1 -1
- package/dist/index.cjs170.js +1 -1
- package/dist/index.cjs171.js +1 -1
- package/dist/index.cjs172.js +1 -1
- package/dist/index.cjs173.js +1 -1
- package/dist/index.cjs176.js +1 -1
- package/dist/index.cjs188.js +1 -1
- package/dist/index.cjs189.js +1 -1
- package/dist/index.cjs190.js +1 -1
- package/dist/index.cjs190.js.map +1 -1
- package/dist/index.cjs191.js +1 -1
- package/dist/index.cjs191.js.map +1 -1
- package/dist/index.cjs192.js +1 -1
- package/dist/index.cjs192.js.map +1 -1
- package/dist/index.cjs193.js +1 -1
- package/dist/index.cjs193.js.map +1 -1
- package/dist/index.cjs194.js +1 -1
- package/dist/index.cjs194.js.map +1 -1
- package/dist/index.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.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.cjs210.js +1 -1
- package/dist/index.cjs210.js.map +1 -1
- package/dist/index.cjs211.js +1 -6
- 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 -2
- package/dist/index.cjs213.js.map +1 -1
- package/dist/index.cjs214.js +1 -3
- 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 -8
- package/dist/index.cjs217.js.map +1 -1
- package/dist/index.cjs218.js +1 -13
- 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.cjs220.js +1 -17
- 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 +6 -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 +2 -1
- package/dist/index.cjs225.js.map +1 -1
- package/dist/index.cjs226.js +3 -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 +8 -1
- package/dist/index.cjs229.js.map +1 -1
- package/dist/index.cjs230.js +13 -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 +17 -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.cjs240.js +1 -1
- package/dist/index.cjs240.js.map +1 -1
- package/dist/index.cjs241.js +1 -1
- package/dist/index.cjs241.js.map +1 -1
- package/dist/index.cjs242.js +1 -1
- package/dist/index.cjs242.js.map +1 -1
- package/dist/index.cjs243.js +1 -1
- package/dist/index.cjs243.js.map +1 -1
- package/dist/index.cjs244.js +1 -1
- package/dist/index.cjs244.js.map +1 -1
- package/dist/index.cjs245.js +1 -1
- package/dist/index.cjs245.js.map +1 -1
- package/dist/index.cjs246.js +1 -1
- package/dist/index.cjs246.js.map +1 -1
- package/dist/index.cjs247.js +1 -1
- package/dist/index.cjs247.js.map +1 -1
- package/dist/index.cjs248.js +1 -1
- package/dist/index.cjs248.js.map +1 -1
- package/dist/index.cjs249.js +1 -1
- package/dist/index.cjs249.js.map +1 -1
- package/dist/index.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.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.cjs270.js +1 -1
- package/dist/index.cjs270.js.map +1 -1
- package/dist/index.cjs271.js +1 -1
- package/dist/index.cjs271.js.map +1 -1
- package/dist/index.cjs272.js +1 -1
- package/dist/index.cjs272.js.map +1 -1
- package/dist/index.cjs273.js +1 -1
- package/dist/index.cjs273.js.map +1 -1
- package/dist/index.cjs274.js +1 -1
- package/dist/index.cjs274.js.map +1 -1
- package/dist/index.cjs275.js +1 -1
- package/dist/index.cjs275.js.map +1 -1
- package/dist/index.cjs276.js +1 -1
- package/dist/index.cjs276.js.map +1 -1
- package/dist/index.cjs277.js +1 -1
- package/dist/index.cjs277.js.map +1 -1
- package/dist/index.cjs278.js +1 -1
- package/dist/index.cjs278.js.map +1 -1
- package/dist/index.cjs279.js +1 -1
- package/dist/index.cjs279.js.map +1 -1
- package/dist/index.cjs280.js +1 -1
- package/dist/index.cjs280.js.map +1 -1
- package/dist/index.cjs281.js +1 -1
- package/dist/index.cjs281.js.map +1 -1
- package/dist/index.cjs282.js +1 -1
- package/dist/index.cjs282.js.map +1 -1
- package/dist/index.cjs283.js +1 -1
- package/dist/index.cjs283.js.map +1 -1
- package/dist/index.cjs284.js +1 -1
- package/dist/index.cjs284.js.map +1 -1
- package/dist/index.cjs285.js +1 -1
- package/dist/index.cjs285.js.map +1 -1
- package/dist/index.cjs286.js +1 -1
- package/dist/index.cjs286.js.map +1 -1
- package/dist/index.cjs287.js +1 -1
- package/dist/index.cjs287.js.map +1 -1
- package/dist/index.cjs288.js +1 -1
- package/dist/index.cjs288.js.map +1 -1
- package/dist/index.cjs289.js +1 -1
- package/dist/index.cjs289.js.map +1 -1
- package/dist/index.cjs290.js +1 -1
- package/dist/index.cjs290.js.map +1 -1
- package/dist/index.cjs291.js +1 -1
- package/dist/index.cjs291.js.map +1 -1
- package/dist/index.cjs292.js +1 -1
- package/dist/index.cjs292.js.map +1 -1
- package/dist/index.cjs293.js +1 -1
- package/dist/index.cjs293.js.map +1 -1
- package/dist/index.cjs294.js +1 -1
- package/dist/index.cjs294.js.map +1 -1
- package/dist/index.cjs295.js +1 -1
- package/dist/index.cjs295.js.map +1 -1
- package/dist/index.cjs296.js +1 -1
- package/dist/index.cjs296.js.map +1 -1
- package/dist/index.cjs297.js +1 -13
- package/dist/index.cjs297.js.map +1 -1
- package/dist/index.cjs298.js +1 -1
- package/dist/index.cjs298.js.map +1 -1
- package/dist/index.cjs299.js +1 -1
- package/dist/index.cjs299.js.map +1 -1
- package/dist/index.cjs300.js +1 -1
- package/dist/index.cjs300.js.map +1 -1
- package/dist/index.cjs301.js +1 -1
- package/dist/index.cjs301.js.map +1 -1
- package/dist/index.cjs302.js +1 -1
- package/dist/index.cjs302.js.map +1 -1
- package/dist/index.cjs303.js +1 -1
- package/dist/index.cjs303.js.map +1 -1
- package/dist/index.cjs304.js +13 -1
- package/dist/index.cjs304.js.map +1 -1
- package/dist/index.cjs305.js +1 -1
- package/dist/index.cjs305.js.map +1 -1
- package/dist/index.cjs306.js +1 -1
- package/dist/index.cjs306.js.map +1 -1
- package/dist/index.cjs307.js +1 -1
- package/dist/index.cjs307.js.map +1 -1
- package/dist/index.cjs308.js +1 -1
- package/dist/index.cjs308.js.map +1 -1
- package/dist/index.cjs309.js +1 -1
- package/dist/index.cjs309.js.map +1 -1
- package/dist/index.cjs310.js +1 -1
- package/dist/index.cjs310.js.map +1 -1
- package/dist/index.cjs311.js +1 -1
- package/dist/index.cjs311.js.map +1 -1
- package/dist/index.cjs312.js +1 -1
- package/dist/index.cjs312.js.map +1 -1
- package/dist/index.cjs313.js +1 -1
- package/dist/index.cjs313.js.map +1 -1
- package/dist/index.cjs314.js +1 -1
- package/dist/index.cjs314.js.map +1 -1
- package/dist/index.cjs315.js +1 -1
- package/dist/index.cjs315.js.map +1 -1
- package/dist/index.cjs316.js +1 -1
- package/dist/index.cjs316.js.map +1 -1
- package/dist/index.cjs317.js +1 -1
- package/dist/index.cjs317.js.map +1 -1
- package/dist/index.cjs318.js +1 -1
- package/dist/index.cjs318.js.map +1 -1
- package/dist/index.cjs319.js +1 -1
- package/dist/index.cjs319.js.map +1 -1
- package/dist/index.cjs320.js +1 -1
- package/dist/index.cjs320.js.map +1 -1
- package/dist/index.cjs321.js +1 -1
- package/dist/index.cjs321.js.map +1 -1
- package/dist/index.cjs322.js +1 -1
- package/dist/index.cjs322.js.map +1 -1
- package/dist/index.cjs323.js +1 -1
- package/dist/index.cjs323.js.map +1 -1
- package/dist/index.cjs324.js +1 -1
- package/dist/index.cjs324.js.map +1 -1
- package/dist/index.cjs325.js +1 -1
- package/dist/index.cjs325.js.map +1 -1
- package/dist/index.cjs326.js +1 -1
- package/dist/index.cjs326.js.map +1 -1
- package/dist/index.cjs327.js +1 -1
- package/dist/index.cjs327.js.map +1 -1
- package/dist/index.cjs328.js +1 -1
- package/dist/index.cjs328.js.map +1 -1
- package/dist/index.cjs329.js +1 -1
- package/dist/index.cjs329.js.map +1 -1
- package/dist/index.cjs330.js +1 -1
- package/dist/index.cjs330.js.map +1 -1
- package/dist/index.cjs331.js +1 -1
- package/dist/index.cjs331.js.map +1 -1
- package/dist/index.cjs332.js +1 -1
- package/dist/index.cjs332.js.map +1 -1
- package/dist/index.cjs333.js +1 -1
- package/dist/index.cjs333.js.map +1 -1
- package/dist/index.cjs334.js +1 -1
- package/dist/index.cjs334.js.map +1 -1
- package/dist/index.cjs335.js +1 -1
- package/dist/index.cjs335.js.map +1 -1
- package/dist/index.cjs336.js +1 -1
- package/dist/index.cjs336.js.map +1 -1
- package/dist/index.cjs337.js +1 -1
- package/dist/index.cjs337.js.map +1 -1
- package/dist/index.cjs338.js +1 -1
- package/dist/index.cjs338.js.map +1 -1
- package/dist/index.cjs339.js +1 -1
- package/dist/index.cjs339.js.map +1 -1
- package/dist/index.cjs340.js +1 -1
- package/dist/index.cjs340.js.map +1 -1
- package/dist/index.cjs341.js +1 -1
- package/dist/index.cjs341.js.map +1 -1
- package/dist/index.cjs342.js +1 -1
- package/dist/index.cjs342.js.map +1 -1
- package/dist/index.cjs343.js +1 -1
- package/dist/index.cjs343.js.map +1 -1
- package/dist/index.cjs344.js +1 -1
- package/dist/index.cjs344.js.map +1 -1
- package/dist/index.cjs345.js +1 -1
- package/dist/index.cjs345.js.map +1 -1
- package/dist/index.cjs346.js +1 -1
- package/dist/index.cjs346.js.map +1 -1
- package/dist/index.cjs347.js +1 -1
- package/dist/index.cjs347.js.map +1 -1
- package/dist/index.cjs348.js +1 -1
- package/dist/index.cjs348.js.map +1 -1
- package/dist/index.cjs349.js +1 -1
- package/dist/index.cjs349.js.map +1 -1
- package/dist/index.cjs350.js +1 -1
- package/dist/index.cjs350.js.map +1 -1
- package/dist/index.cjs351.js +1 -1
- package/dist/index.cjs351.js.map +1 -1
- package/dist/index.cjs352.js +1 -1
- package/dist/index.cjs352.js.map +1 -1
- package/dist/index.cjs353.js +1 -1
- package/dist/index.cjs353.js.map +1 -1
- package/dist/index.cjs354.js +1 -1
- package/dist/index.cjs354.js.map +1 -1
- package/dist/index.cjs355.js +1 -1
- package/dist/index.cjs355.js.map +1 -1
- package/dist/index.cjs356.js +1 -1
- package/dist/index.cjs356.js.map +1 -1
- package/dist/index.cjs357.js +1 -1
- package/dist/index.cjs357.js.map +1 -1
- package/dist/index.cjs358.js +1 -1
- package/dist/index.cjs358.js.map +1 -1
- package/dist/index.cjs359.js +1 -1
- package/dist/index.cjs359.js.map +1 -1
- package/dist/index.cjs360.js +1 -1
- package/dist/index.cjs360.js.map +1 -1
- package/dist/index.cjs361.js +1 -1
- package/dist/index.cjs361.js.map +1 -1
- package/dist/index.cjs362.js +1 -1
- package/dist/index.cjs362.js.map +1 -1
- package/dist/index.cjs363.js +1 -1
- package/dist/index.cjs363.js.map +1 -1
- package/dist/index.cjs364.js +1 -1
- package/dist/index.cjs364.js.map +1 -1
- package/dist/index.cjs365.js +1 -1
- package/dist/index.cjs365.js.map +1 -1
- package/dist/index.cjs366.js +1 -1
- package/dist/index.cjs366.js.map +1 -1
- package/dist/index.cjs367.js +1 -1
- package/dist/index.cjs367.js.map +1 -1
- package/dist/index.cjs368.js +1 -1
- package/dist/index.cjs368.js.map +1 -1
- package/dist/index.cjs369.js +1 -1
- package/dist/index.cjs369.js.map +1 -1
- package/dist/index.cjs370.js +1 -1
- package/dist/index.cjs370.js.map +1 -1
- package/dist/index.cjs371.js +1 -1
- package/dist/index.cjs371.js.map +1 -1
- package/dist/index.cjs372.js +1 -6
- package/dist/index.cjs372.js.map +1 -1
- package/dist/index.cjs373.js +1 -6
- package/dist/index.cjs373.js.map +1 -1
- package/dist/index.cjs374.js +1 -1
- package/dist/index.cjs374.js.map +1 -1
- package/dist/index.cjs375.js +1 -1
- package/dist/index.cjs375.js.map +1 -1
- package/dist/index.cjs376.js +1 -1
- package/dist/index.cjs376.js.map +1 -1
- package/dist/index.cjs377.js +1 -1
- package/dist/index.cjs377.js.map +1 -1
- package/dist/index.cjs378.js +1 -1
- package/dist/index.cjs378.js.map +1 -1
- package/dist/index.cjs379.js +1 -1
- package/dist/index.cjs379.js.map +1 -1
- package/dist/index.cjs384.js +1 -1
- package/dist/index.cjs385.js +1 -6
- package/dist/index.cjs385.js.map +1 -1
- package/dist/index.cjs386.js +6 -1
- package/dist/index.cjs386.js.map +1 -1
- package/dist/index.cjs387.js +1 -1
- package/dist/index.cjs387.js.map +1 -1
- package/dist/index.cjs388.js +1 -1
- package/dist/index.cjs388.js.map +1 -1
- package/dist/index.cjs389.js +1 -1
- package/dist/index.cjs389.js.map +1 -1
- package/dist/index.cjs390.js +1 -1
- package/dist/index.cjs390.js.map +1 -1
- package/dist/index.cjs391.js +1 -1
- package/dist/index.cjs391.js.map +1 -1
- package/dist/index.cjs392.js +1 -1
- package/dist/index.cjs392.js.map +1 -1
- package/dist/index.cjs393.js +1 -1
- package/dist/index.cjs393.js.map +1 -1
- package/dist/index.cjs394.js +1 -1
- package/dist/index.cjs394.js.map +1 -1
- package/dist/index.cjs395.js +1 -1
- package/dist/index.cjs395.js.map +1 -1
- package/dist/index.cjs396.js +1 -1
- package/dist/index.cjs396.js.map +1 -1
- package/dist/index.cjs397.js +1 -2
- package/dist/index.cjs397.js.map +1 -1
- package/dist/index.cjs398.js +2 -4
- package/dist/index.cjs398.js.map +1 -1
- package/dist/index.cjs399.js +4 -2
- package/dist/index.cjs399.js.map +1 -1
- package/dist/index.cjs400.js +2 -1
- package/dist/index.cjs400.js.map +1 -1
- package/dist/index.cjs401.js +1 -1
- package/dist/index.cjs401.js.map +1 -1
- package/dist/index.cjs402.js +1 -2
- package/dist/index.cjs402.js.map +1 -1
- package/dist/index.cjs403.js +2 -1
- package/dist/index.cjs403.js.map +1 -1
- package/dist/index.cjs404.js +6 -1
- package/dist/index.cjs404.js.map +1 -1
- package/dist/index.cjs405.js +6 -1
- package/dist/index.cjs405.js.map +1 -1
- package/dist/index.cjs406.js +1 -1
- package/dist/index.cjs406.js.map +1 -1
- package/dist/index.cjs407.js +1 -1
- package/dist/index.cjs407.js.map +1 -1
- package/dist/index.cjs408.js +1 -1
- package/dist/index.cjs408.js.map +1 -1
- package/dist/index.cjs409.js +1 -1
- package/dist/index.cjs409.js.map +1 -1
- package/dist/index.cjs410.js +1 -1
- package/dist/index.cjs410.js.map +1 -1
- package/dist/index.cjs411.js +1 -1
- package/dist/index.cjs411.js.map +1 -1
- package/dist/index.cjs412.js +1 -1
- package/dist/index.cjs412.js.map +1 -1
- package/dist/index.cjs413.js +1 -1
- package/dist/index.cjs413.js.map +1 -1
- package/dist/index.cjs414.js +1 -1
- package/dist/index.cjs414.js.map +1 -1
- package/dist/index.cjs415.js +1 -1
- package/dist/index.cjs415.js.map +1 -1
- package/dist/index.cjs416.js +1 -1
- package/dist/index.cjs416.js.map +1 -1
- package/dist/index.cjs417.js +1 -1
- package/dist/index.cjs417.js.map +1 -1
- package/dist/index.cjs420.js +1 -1
- package/dist/index.cjs420.js.map +1 -1
- package/dist/index.cjs421.js +1 -1
- package/dist/index.cjs421.js.map +1 -1
- package/dist/index.cjs423.js +1 -1
- package/dist/index.cjs423.js.map +1 -1
- package/dist/index.cjs424.js +1 -1
- package/dist/index.cjs424.js.map +1 -1
- package/dist/index.cjs425.js +1 -1
- package/dist/index.cjs425.js.map +1 -1
- package/dist/index.cjs426.js +1 -1
- package/dist/index.cjs426.js.map +1 -1
- package/dist/index.cjs427.js +1 -1
- package/dist/index.cjs427.js.map +1 -1
- package/dist/index.cjs428.js +1 -1
- package/dist/index.cjs428.js.map +1 -1
- package/dist/index.cjs429.js +1 -1
- package/dist/index.cjs429.js.map +1 -1
- package/dist/index.cjs430.js +1 -1
- package/dist/index.cjs430.js.map +1 -1
- package/dist/index.cjs431.js +1 -1
- package/dist/index.cjs431.js.map +1 -1
- package/dist/index.cjs432.js +1 -1
- package/dist/index.cjs432.js.map +1 -1
- package/dist/index.cjs433.js +1 -1
- package/dist/index.cjs433.js.map +1 -1
- package/dist/index.cjs434.js +1 -1
- package/dist/index.cjs434.js.map +1 -1
- package/dist/index.cjs435.js +1 -1
- package/dist/index.cjs435.js.map +1 -1
- package/dist/index.cjs436.js +1 -1
- package/dist/index.cjs436.js.map +1 -1
- package/dist/index.cjs437.js +1 -1
- package/dist/index.cjs437.js.map +1 -1
- package/dist/index.cjs438.js +4 -1
- package/dist/index.cjs438.js.map +1 -1
- package/dist/index.cjs439.js +1 -1
- package/dist/index.cjs439.js.map +1 -1
- package/dist/index.cjs440.js +1 -1
- package/dist/index.cjs440.js.map +1 -1
- package/dist/index.cjs441.js +1 -1
- package/dist/index.cjs441.js.map +1 -1
- package/dist/index.cjs442.js +1 -1
- package/dist/index.cjs442.js.map +1 -1
- package/dist/index.cjs443.js +1 -1
- package/dist/index.cjs443.js.map +1 -1
- package/dist/index.cjs444.js +1 -1
- package/dist/index.cjs444.js.map +1 -1
- package/dist/index.cjs445.js +1 -1
- package/dist/index.cjs445.js.map +1 -1
- package/dist/index.cjs446.js +1 -1
- package/dist/index.cjs446.js.map +1 -1
- package/dist/index.cjs447.js +1 -1
- package/dist/index.cjs447.js.map +1 -1
- package/dist/index.cjs448.js +1 -1
- package/dist/index.cjs448.js.map +1 -1
- package/dist/index.cjs449.js +1 -1
- package/dist/index.cjs449.js.map +1 -1
- package/dist/index.cjs450.js +1 -1
- package/dist/index.cjs450.js.map +1 -1
- package/dist/index.cjs451.js +1 -1
- package/dist/index.cjs451.js.map +1 -1
- package/dist/index.cjs452.js +1 -1
- package/dist/index.cjs452.js.map +1 -1
- package/dist/index.cjs453.js +1 -1
- package/dist/index.cjs453.js.map +1 -1
- package/dist/index.cjs454.js +1 -1
- package/dist/index.cjs454.js.map +1 -1
- package/dist/index.cjs455.js +1 -1
- package/dist/index.cjs455.js.map +1 -1
- package/dist/index.cjs456.js +1 -1
- package/dist/index.cjs456.js.map +1 -1
- package/dist/index.cjs457.js +1 -1
- package/dist/index.cjs457.js.map +1 -1
- package/dist/index.cjs458.js +1 -1
- package/dist/index.cjs458.js.map +1 -1
- package/dist/index.cjs459.js +1 -1
- package/dist/index.cjs459.js.map +1 -1
- package/dist/index.cjs460.js +1 -1
- package/dist/index.cjs460.js.map +1 -1
- package/dist/index.cjs461.js +1 -1
- package/dist/index.cjs461.js.map +1 -1
- package/dist/index.cjs462.js +1 -1
- package/dist/index.cjs462.js.map +1 -1
- package/dist/index.cjs463.js +1 -1
- package/dist/index.cjs463.js.map +1 -1
- package/dist/index.cjs464.js +1 -1
- package/dist/index.cjs464.js.map +1 -1
- package/dist/index.cjs465.js +1 -1
- package/dist/index.cjs465.js.map +1 -1
- package/dist/index.cjs466.js +1 -2
- package/dist/index.cjs466.js.map +1 -1
- package/dist/index.cjs467.js +1 -1
- package/dist/index.cjs467.js.map +1 -1
- package/dist/index.cjs468.js +1 -1
- package/dist/index.cjs468.js.map +1 -1
- package/dist/index.cjs469.js +1 -1
- package/dist/index.cjs469.js.map +1 -1
- package/dist/index.cjs470.js +1 -1
- package/dist/index.cjs470.js.map +1 -1
- package/dist/index.cjs471.js +2 -1
- package/dist/index.cjs471.js.map +1 -1
- package/dist/index.cjs472.js +1 -1
- package/dist/index.cjs472.js.map +1 -1
- package/dist/index.cjs473.js +1 -1
- package/dist/index.cjs473.js.map +1 -1
- package/dist/index.cjs474.js +1 -1
- package/dist/index.cjs474.js.map +1 -1
- package/dist/index.cjs475.js +1 -1
- package/dist/index.cjs475.js.map +1 -1
- package/dist/index.cjs476.js +1 -1
- package/dist/index.cjs476.js.map +1 -1
- package/dist/index.cjs477.js +1 -1
- package/dist/index.cjs477.js.map +1 -1
- package/dist/index.cjs480.js +1 -1
- package/dist/index.cjs480.js.map +1 -1
- package/dist/index.cjs481.js +1 -1
- package/dist/index.cjs482.js +1 -1
- package/dist/index.cjs482.js.map +1 -1
- package/dist/index.cjs483.js +1 -5
- package/dist/index.cjs483.js.map +1 -1
- package/dist/index.cjs484.js +1 -1
- package/dist/index.cjs484.js.map +1 -1
- package/dist/index.cjs485.js +1 -1
- package/dist/index.cjs485.js.map +1 -1
- package/dist/index.cjs486.js +1 -1
- package/dist/index.cjs486.js.map +1 -1
- package/dist/index.cjs487.js +1 -12
- package/dist/index.cjs487.js.map +1 -1
- package/dist/index.cjs488.js +5 -1
- package/dist/index.cjs488.js.map +1 -1
- package/dist/index.cjs489.js +1 -1
- package/dist/index.cjs489.js.map +1 -1
- package/dist/index.cjs490.js +1 -1
- package/dist/index.cjs490.js.map +1 -1
- package/dist/index.cjs491.js +1 -1
- package/dist/index.cjs491.js.map +1 -1
- package/dist/index.cjs492.js +12 -1
- package/dist/index.cjs492.js.map +1 -1
- package/dist/index.cjs493.js +1 -1
- package/dist/index.cjs493.js.map +1 -1
- package/dist/index.cjs494.js +1 -4
- package/dist/index.cjs494.js.map +1 -1
- package/dist/index.cjs495.js +1 -1
- package/dist/index.cjs495.js.map +1 -1
- package/dist/index.cjs496.js.map +1 -1
- package/dist/index.cjs497.js +1 -1
- package/dist/index.cjs497.js.map +1 -1
- package/dist/index.cjs498.js +1 -1
- package/dist/index.cjs498.js.map +1 -1
- package/dist/index.cjs499.js +1 -1
- package/dist/index.cjs499.js.map +1 -1
- package/dist/index.cjs500.js +1 -1
- package/dist/index.cjs500.js.map +1 -1
- package/dist/index.cjs501.js +1 -4
- package/dist/index.cjs501.js.map +1 -1
- package/dist/index.cjs503.js +1 -1
- package/dist/index.cjs503.js.map +1 -1
- package/dist/index.cjs504.js +1 -1
- package/dist/index.cjs504.js.map +1 -1
- package/dist/index.cjs505.js +4 -1
- package/dist/index.cjs505.js.map +1 -1
- package/dist/index.cjs506.js +1 -1
- package/dist/index.cjs506.js.map +1 -1
- package/dist/index.cjs507.js +1 -1
- package/dist/index.cjs507.js.map +1 -1
- package/dist/index.cjs508.js +1 -1
- package/dist/index.cjs508.js.map +1 -1
- package/dist/index.cjs509.js +1 -1
- package/dist/index.cjs509.js.map +1 -1
- package/dist/index.cjs510.js +1 -1
- package/dist/index.cjs510.js.map +1 -1
- package/dist/index.cjs511.js +1 -1
- package/dist/index.cjs511.js.map +1 -1
- package/dist/index.cjs512.js +1 -1
- package/dist/index.cjs512.js.map +1 -1
- package/dist/index.cjs513.js +1 -1
- package/dist/index.cjs513.js.map +1 -1
- package/dist/index.cjs514.js +1 -1
- package/dist/index.cjs514.js.map +1 -1
- package/dist/index.cjs515.js +1 -1
- package/dist/index.cjs515.js.map +1 -1
- package/dist/index.cjs516.js +1 -1
- package/dist/index.cjs516.js.map +1 -1
- package/dist/index.cjs517.js +1 -1
- package/dist/index.cjs517.js.map +1 -1
- package/dist/index.cjs518.js +1 -1
- package/dist/index.cjs518.js.map +1 -1
- package/dist/index.cjs519.js +1 -1
- package/dist/index.cjs519.js.map +1 -1
- package/dist/index.cjs520.js +1 -1
- package/dist/index.cjs520.js.map +1 -1
- package/dist/index.cjs521.js +1 -1
- package/dist/index.cjs521.js.map +1 -1
- package/dist/index.cjs522.js +1 -1
- package/dist/index.cjs522.js.map +1 -1
- package/dist/index.cjs523.js +1 -1
- package/dist/index.cjs523.js.map +1 -1
- package/dist/index.cjs524.js +1 -1
- package/dist/index.cjs524.js.map +1 -1
- package/dist/index.cjs525.js +1 -1
- package/dist/index.cjs525.js.map +1 -1
- package/dist/index.cjs526.js +1 -1
- package/dist/index.cjs526.js.map +1 -1
- package/dist/index.cjs527.js +1 -1
- package/dist/index.cjs527.js.map +1 -1
- package/dist/index.cjs528.js +1 -1
- package/dist/index.cjs528.js.map +1 -1
- package/dist/index.cjs529.js +1 -1
- package/dist/index.cjs529.js.map +1 -1
- package/dist/index.cjs530.js +1 -1
- package/dist/index.cjs530.js.map +1 -1
- package/dist/index.cjs531.js +1 -1
- package/dist/index.cjs531.js.map +1 -1
- package/dist/index.cjs532.js +1 -1
- package/dist/index.cjs532.js.map +1 -1
- package/dist/index.cjs533.js +1 -1
- package/dist/index.cjs533.js.map +1 -1
- package/dist/index.cjs534.js +1 -1
- package/dist/index.cjs534.js.map +1 -1
- package/dist/index.cjs535.js +1 -1
- package/dist/index.cjs535.js.map +1 -1
- package/dist/index.cjs536.js +1 -1
- package/dist/index.cjs536.js.map +1 -1
- package/dist/index.cjs537.js +1 -1
- package/dist/index.cjs537.js.map +1 -1
- package/dist/index.cjs538.js +1 -1
- package/dist/index.cjs538.js.map +1 -1
- package/dist/index.cjs539.js +1 -1
- package/dist/index.cjs539.js.map +1 -1
- package/dist/index.cjs540.js +1 -1
- package/dist/index.cjs540.js.map +1 -1
- package/dist/index.cjs541.js +1 -1
- package/dist/index.cjs541.js.map +1 -1
- package/dist/index.cjs542.js +1 -2
- package/dist/index.cjs542.js.map +1 -1
- package/dist/index.cjs543.js +1 -1
- package/dist/index.cjs543.js.map +1 -1
- package/dist/index.cjs544.js +2 -1
- package/dist/index.cjs544.js.map +1 -1
- package/dist/index.cjs545.js +38 -1
- package/dist/index.cjs545.js.map +1 -1
- package/dist/index.cjs546.js +1 -1
- package/dist/index.cjs546.js.map +1 -1
- package/dist/index.cjs547.js +1 -1
- package/dist/index.cjs547.js.map +1 -1
- package/dist/index.cjs548.js +1 -1
- package/dist/index.cjs548.js.map +1 -1
- package/dist/index.cjs549.js +1 -2
- package/dist/index.cjs549.js.map +1 -1
- package/dist/index.cjs551.js +1 -1
- package/dist/index.cjs551.js.map +1 -1
- package/dist/index.cjs552.js +1 -1
- package/dist/index.cjs552.js.map +1 -1
- package/dist/index.cjs553.js +1 -1
- package/dist/index.cjs553.js.map +1 -1
- package/dist/index.cjs554.js +2 -1
- package/dist/index.cjs554.js.map +1 -1
- package/dist/index.cjs555.js +1 -1
- package/dist/index.cjs556.js +1 -1
- package/dist/index.cjs556.js.map +1 -1
- package/dist/index.cjs557.js +1 -1
- package/dist/index.cjs557.js.map +1 -1
- package/dist/index.cjs558.js +1 -1
- package/dist/index.cjs558.js.map +1 -1
- package/dist/index.cjs559.js +1 -1
- package/dist/index.cjs559.js.map +1 -1
- package/dist/index.cjs560.js +1 -1
- package/dist/index.cjs560.js.map +1 -1
- package/dist/index.cjs561.js +1 -1
- package/dist/index.cjs561.js.map +1 -1
- package/dist/index.cjs564.js +1 -1
- package/dist/index.cjs564.js.map +1 -1
- package/dist/index.cjs565.js +1 -1
- package/dist/index.cjs565.js.map +1 -1
- package/dist/index.cjs566.js +1 -38
- package/dist/index.cjs566.js.map +1 -1
- package/dist/index.cjs567.js +1 -1
- package/dist/index.cjs567.js.map +1 -1
- package/dist/index.cjs568.js +1 -1
- package/dist/index.cjs568.js.map +1 -1
- package/dist/index.cjs569.js +1 -1
- package/dist/index.cjs569.js.map +1 -1
- package/dist/index.cjs57.js +1 -1
- package/dist/index.cjs570.js +1 -1
- package/dist/index.cjs574.js +19 -19
- package/dist/index.cjs574.js.map +1 -1
- package/dist/index.cjs575.js.map +1 -1
- package/dist/index.cjs576.js +1 -1
- package/dist/index.cjs576.js.map +1 -1
- package/dist/index.cjs577.js +1 -1
- package/dist/index.cjs577.js.map +1 -1
- package/dist/index.cjs578.js +1 -1
- package/dist/index.cjs578.js.map +1 -1
- package/dist/index.cjs579.js +1 -1
- package/dist/index.cjs579.js.map +1 -1
- package/dist/index.cjs581.js +1 -1
- package/dist/index.cjs581.js.map +1 -1
- package/dist/index.cjs583.js +1 -1
- package/dist/index.cjs583.js.map +1 -1
- package/dist/index.cjs584.js +1 -1
- package/dist/index.cjs585.js +1 -1
- package/dist/index.cjs586.js +7 -1
- package/dist/index.cjs586.js.map +1 -1
- package/dist/index.cjs587.js +1 -1
- package/dist/index.cjs587.js.map +1 -1
- package/dist/index.cjs588.js +1 -1
- package/dist/index.cjs588.js.map +1 -1
- package/dist/index.cjs589.js +1 -1
- package/dist/index.cjs589.js.map +1 -1
- package/dist/index.cjs59.js +1 -1
- package/dist/index.cjs590.js +1 -1
- package/dist/index.cjs590.js.map +1 -1
- package/dist/index.cjs591.js +1 -1
- package/dist/index.cjs591.js.map +1 -1
- package/dist/index.cjs592.js +1 -1
- package/dist/index.cjs592.js.map +1 -1
- package/dist/index.cjs594.js +1 -1
- package/dist/index.cjs594.js.map +1 -1
- package/dist/index.cjs596.js +1 -1
- package/dist/index.cjs596.js.map +1 -1
- package/dist/index.cjs599.js +1 -7
- package/dist/index.cjs599.js.map +1 -1
- package/dist/index.cjs60.js +1 -1
- package/dist/index.cjs600.js +1 -1
- package/dist/index.cjs600.js.map +1 -1
- package/dist/index.cjs601.js +1 -1
- package/dist/index.cjs601.js.map +1 -1
- package/dist/index.cjs602.js +1 -1
- package/dist/index.cjs602.js.map +1 -1
- package/dist/index.cjs603.js +1 -1
- package/dist/index.cjs603.js.map +1 -1
- package/dist/index.cjs604.js +1 -1
- package/dist/index.cjs604.js.map +1 -1
- package/dist/index.cjs605.js +1 -1
- package/dist/index.cjs605.js.map +1 -1
- package/dist/index.cjs606.js +1 -1
- package/dist/index.cjs606.js.map +1 -1
- package/dist/index.cjs607.js +1 -1
- package/dist/index.cjs607.js.map +1 -1
- package/dist/index.cjs609.js +1 -1
- package/dist/index.cjs609.js.map +1 -1
- package/dist/index.cjs61.js +1 -1
- package/dist/index.cjs610.js +1 -1
- package/dist/index.cjs611.js +1 -1
- package/dist/index.cjs616.js +1 -1
- package/dist/index.cjs616.js.map +1 -1
- package/dist/index.cjs617.js +1 -1
- package/dist/index.cjs617.js.map +1 -1
- package/dist/index.cjs618.js +1 -1
- package/dist/index.cjs619.js +1 -1
- package/dist/index.cjs621.js +1 -1
- package/dist/index.cjs621.js.map +1 -1
- package/dist/index.cjs623.js +1 -1
- package/dist/index.cjs623.js.map +1 -1
- package/dist/index.cjs625.js +1 -1
- package/dist/index.cjs625.js.map +1 -1
- package/dist/index.cjs626.js +1 -1
- package/dist/index.cjs626.js.map +1 -1
- package/dist/index.cjs627.js +1 -1
- package/dist/index.cjs627.js.map +1 -1
- package/dist/index.cjs628.js +1 -1
- package/dist/index.cjs628.js.map +1 -1
- package/dist/index.cjs629.js +1 -1
- package/dist/index.cjs629.js.map +1 -1
- package/dist/index.cjs63.js +1 -1
- package/dist/index.cjs630.js +1 -1
- package/dist/index.cjs630.js.map +1 -1
- package/dist/index.cjs631.js +1 -1
- package/dist/index.cjs631.js.map +1 -1
- package/dist/index.cjs632.js +1 -1
- package/dist/index.cjs632.js.map +1 -1
- package/dist/index.cjs633.js +1 -1
- package/dist/index.cjs633.js.map +1 -1
- package/dist/index.cjs64.js +1 -1
- package/dist/index.cjs647.js +1 -1
- package/dist/index.cjs647.js.map +1 -1
- package/dist/index.cjs648.js +1 -1
- package/dist/index.cjs648.js.map +1 -1
- package/dist/index.cjs649.js +1 -1
- package/dist/index.cjs649.js.map +1 -1
- package/dist/index.cjs65.js +1 -1
- package/dist/index.cjs650.js +1 -1
- package/dist/index.cjs650.js.map +1 -1
- package/dist/index.cjs651.js +1 -1
- package/dist/index.cjs651.js.map +1 -1
- package/dist/index.cjs652.js +1 -1
- package/dist/index.cjs652.js.map +1 -1
- package/dist/index.cjs653.js +1 -1
- package/dist/index.cjs653.js.map +1 -1
- package/dist/index.cjs654.js +1 -1
- package/dist/index.cjs654.js.map +1 -1
- package/dist/index.cjs655.js.map +1 -1
- package/dist/index.cjs656.js.map +1 -1
- package/dist/index.cjs66.js +1 -1
- package/dist/index.cjs67.js +1 -1
- package/dist/index.cjs68.js +1 -1
- package/dist/index.cjs69.js +1 -1
- package/dist/index.cjs71.js +1 -1
- package/dist/index.cjs72.js +1 -1
- package/dist/index.cjs73.js +1 -1
- package/dist/index.cjs74.js +1 -1
- package/dist/index.cjs76.js +1 -1
- package/dist/index.cjs77.js +1 -1
- package/dist/index.cjs78.js +1 -1
- package/dist/index.cjs79.js +1 -1
- package/dist/index.cjs80.js +1 -1
- package/dist/index.cjs81.js +1 -1
- package/dist/index.cjs82.js +1 -1
- package/dist/index.cjs83.js +1 -1
- package/dist/index.cjs84.js +1 -1
- package/dist/index.cjs87.js +1 -1
- package/dist/index.cjs88.js +1 -1
- package/dist/index.cjs89.js +1 -1
- package/dist/index.cjs90.js +1 -1
- package/dist/index.cjs91.js +1 -1
- package/dist/index.cjs92.js +1 -1
- package/dist/index.cjs94.js +1 -1
- package/dist/index.cjs95.js +1 -1
- package/dist/index.cjs96.js +1 -1
- package/dist/index.cjs99.js +1 -1
- package/dist/index.es100.js +1 -1
- package/dist/index.es101.js +2 -2
- package/dist/index.es102.js +1 -1
- package/dist/index.es103.js +1 -1
- package/dist/index.es106.js +3 -3
- package/dist/index.es107.js +2 -2
- package/dist/index.es108.js +1 -1
- package/dist/index.es109.js +1 -1
- package/dist/index.es111.js +1 -1
- package/dist/index.es112.js +1 -1
- package/dist/index.es113.js +1 -1
- package/dist/index.es114.js +1 -1
- package/dist/index.es117.js +12 -12
- package/dist/index.es118.js +4 -4
- package/dist/index.es120.js +1 -1
- package/dist/index.es121.js +1 -1
- package/dist/index.es147.js +1 -1
- package/dist/index.es148.js +1 -1
- package/dist/index.es149.js +12 -12
- package/dist/index.es150.js +1 -1
- package/dist/index.es151.js +3 -3
- package/dist/index.es152.js +2 -2
- package/dist/index.es155.js +3 -3
- package/dist/index.es156.js +9 -9
- package/dist/index.es158.js +4 -4
- package/dist/index.es159.js +4 -4
- package/dist/index.es160.js +7 -7
- package/dist/index.es161.js +14 -14
- package/dist/index.es162.js +2 -2
- package/dist/index.es163.js +2 -2
- package/dist/index.es164.js +3 -3
- package/dist/index.es168.js +1 -1
- package/dist/index.es169.js +1 -1
- package/dist/index.es170.js +2 -2
- package/dist/index.es171.js +1 -1
- package/dist/index.es172.js +1 -1
- package/dist/index.es173.js +1 -1
- package/dist/index.es176.js +3 -3
- package/dist/index.es188.js +2 -2
- package/dist/index.es189.js +1 -1
- package/dist/index.es190.js +6 -13
- package/dist/index.es190.js.map +1 -1
- package/dist/index.es191.js +10 -49
- package/dist/index.es191.js.map +1 -1
- package/dist/index.es192.js +51 -56
- package/dist/index.es192.js.map +1 -1
- package/dist/index.es193.js +124 -6
- package/dist/index.es193.js.map +1 -1
- package/dist/index.es194.js +12 -131
- package/dist/index.es194.js.map +1 -1
- package/dist/index.es195.js +143 -17
- package/dist/index.es195.js.map +1 -1
- package/dist/index.es196.js +10 -185
- package/dist/index.es196.js.map +1 -1
- package/dist/index.es197.js +201 -199
- package/dist/index.es197.js.map +1 -1
- package/dist/index.es198.js +12 -10
- package/dist/index.es198.js.map +1 -1
- package/dist/index.es199.js +42 -57
- package/dist/index.es199.js.map +1 -1
- package/dist/index.es200.js +32 -196
- package/dist/index.es200.js.map +1 -1
- package/dist/index.es201.js +45 -9
- package/dist/index.es201.js.map +1 -1
- package/dist/index.es202.js +30 -4
- package/dist/index.es202.js.map +1 -1
- package/dist/index.es203.js +9 -5
- package/dist/index.es203.js.map +1 -1
- package/dist/index.es204.js +13 -4
- package/dist/index.es204.js.map +1 -1
- package/dist/index.es205.js +48 -22
- package/dist/index.es205.js.map +1 -1
- package/dist/index.es206.js +56 -9
- package/dist/index.es206.js.map +1 -1
- package/dist/index.es207.js +6 -34
- package/dist/index.es207.js.map +1 -1
- package/dist/index.es208.js +131 -25
- package/dist/index.es208.js.map +1 -1
- package/dist/index.es209.js +20 -75
- package/dist/index.es209.js.map +1 -1
- package/dist/index.es210.js +186 -6
- package/dist/index.es210.js.map +1 -1
- package/dist/index.es211.js +215 -15
- package/dist/index.es211.js.map +1 -1
- package/dist/index.es212.js +12 -71
- package/dist/index.es212.js.map +1 -1
- package/dist/index.es213.js +78 -67
- package/dist/index.es213.js.map +1 -1
- package/dist/index.es214.js +196 -70
- package/dist/index.es214.js.map +1 -1
- package/dist/index.es215.js +10 -2
- package/dist/index.es215.js.map +1 -1
- package/dist/index.es216.js +4 -2
- package/dist/index.es216.js.map +1 -1
- package/dist/index.es217.js +4 -91
- package/dist/index.es217.js.map +1 -1
- package/dist/index.es218.js +10 -85
- package/dist/index.es218.js.map +1 -1
- package/dist/index.es219.js +11 -41
- package/dist/index.es219.js.map +1 -1
- package/dist/index.es220.js +26 -66
- package/dist/index.es220.js.map +1 -1
- package/dist/index.es221.js +75 -4
- package/dist/index.es221.js.map +1 -1
- package/dist/index.es222.js +5 -1633
- package/dist/index.es222.js.map +1 -1
- package/dist/index.es223.js +15 -33
- package/dist/index.es223.js.map +1 -1
- package/dist/index.es224.js +55 -250
- package/dist/index.es224.js.map +1 -1
- package/dist/index.es225.js +68 -4
- package/dist/index.es225.js.map +1 -1
- package/dist/index.es226.js +70 -20
- package/dist/index.es226.js.map +1 -1
- package/dist/index.es227.js +2 -4
- package/dist/index.es227.js.map +1 -1
- package/dist/index.es228.js +2 -11
- package/dist/index.es228.js.map +1 -1
- package/dist/index.es229.js +90 -11
- package/dist/index.es229.js.map +1 -1
- package/dist/index.es230.js +85 -6
- package/dist/index.es230.js.map +1 -1
- package/dist/index.es231.js +39 -9
- package/dist/index.es231.js.map +1 -1
- package/dist/index.es232.js +67 -52
- package/dist/index.es232.js.map +1 -1
- package/dist/index.es233.js +2 -125
- package/dist/index.es233.js.map +1 -1
- package/dist/index.es234.js +1631 -12
- package/dist/index.es234.js.map +1 -1
- package/dist/index.es235.js +33 -142
- package/dist/index.es235.js.map +1 -1
- package/dist/index.es236.js +265 -10
- package/dist/index.es236.js.map +1 -1
- package/dist/index.es237.js +34 -218
- package/dist/index.es237.js.map +1 -1
- package/dist/index.es238.js +11 -14
- package/dist/index.es238.js.map +1 -1
- package/dist/index.es239.js +3 -63
- package/dist/index.es239.js.map +1 -1
- package/dist/index.es240.js +21 -33
- package/dist/index.es240.js.map +1 -1
- package/dist/index.es241.js +5 -45
- package/dist/index.es241.js.map +1 -1
- package/dist/index.es242.js +4 -29
- package/dist/index.es242.js.map +1 -1
- package/dist/index.es243.js +25 -10
- package/dist/index.es243.js.map +1 -1
- package/dist/index.es244.js +10 -14
- package/dist/index.es244.js.map +1 -1
- package/dist/index.es245.js +12 -17
- package/dist/index.es245.js.map +1 -1
- package/dist/index.es246.js +4 -23
- package/dist/index.es246.js.map +1 -1
- package/dist/index.es247.js +22 -2
- package/dist/index.es247.js.map +1 -1
- package/dist/index.es248.js +25 -2
- package/dist/index.es248.js.map +1 -1
- package/dist/index.es249.js +15 -273
- package/dist/index.es249.js.map +1 -1
- package/dist/index.es250.js +17 -15
- package/dist/index.es250.js.map +1 -1
- package/dist/index.es251.js +22 -18
- package/dist/index.es251.js.map +1 -1
- package/dist/index.es252.js +117 -4
- package/dist/index.es252.js.map +1 -1
- package/dist/index.es253.js +105 -3
- package/dist/index.es253.js.map +1 -1
- package/dist/index.es254.js +2 -4
- package/dist/index.es254.js.map +1 -1
- package/dist/index.es255.js +2 -5
- package/dist/index.es255.js.map +1 -1
- package/dist/index.es256.js +273 -4
- package/dist/index.es256.js.map +1 -1
- package/dist/index.es257.js +15 -3
- package/dist/index.es257.js.map +1 -1
- package/dist/index.es258.js +19 -3
- package/dist/index.es258.js.map +1 -1
- package/dist/index.es259.js +5 -3
- package/dist/index.es259.js.map +1 -1
- package/dist/index.es260.js +4 -3
- package/dist/index.es260.js.map +1 -1
- package/dist/index.es261.js +4 -3
- package/dist/index.es261.js.map +1 -1
- package/dist/index.es262.js +5 -3
- package/dist/index.es262.js.map +1 -1
- package/dist/index.es263.js +4 -3
- package/dist/index.es263.js.map +1 -1
- package/dist/index.es264.js +3 -10
- package/dist/index.es264.js.map +1 -1
- package/dist/index.es265.js +3 -4
- package/dist/index.es265.js.map +1 -1
- package/dist/index.es266.js +3 -6
- package/dist/index.es266.js.map +1 -1
- package/dist/index.es267.js +3 -6
- package/dist/index.es267.js.map +1 -1
- package/dist/index.es268.js +3 -10
- package/dist/index.es268.js.map +1 -1
- package/dist/index.es269.js +3 -12
- package/dist/index.es269.js.map +1 -1
- package/dist/index.es270.js +3 -13
- package/dist/index.es270.js.map +1 -1
- package/dist/index.es271.js +9 -85
- package/dist/index.es271.js.map +1 -1
- package/dist/index.es272.js +4 -3
- package/dist/index.es272.js.map +1 -1
- package/dist/index.es273.js +5 -14
- package/dist/index.es273.js.map +1 -1
- package/dist/index.es274.js +5 -11
- package/dist/index.es274.js.map +1 -1
- package/dist/index.es275.js +9 -6
- package/dist/index.es275.js.map +1 -1
- package/dist/index.es276.js +11 -6
- package/dist/index.es276.js.map +1 -1
- package/dist/index.es277.js +12 -6
- package/dist/index.es277.js.map +1 -1
- package/dist/index.es278.js +85 -7
- package/dist/index.es278.js.map +1 -1
- package/dist/index.es279.js +3 -4
- package/dist/index.es279.js.map +1 -1
- package/dist/index.es280.js +15 -4
- package/dist/index.es280.js.map +1 -1
- package/dist/index.es281.js +11 -3
- package/dist/index.es281.js.map +1 -1
- package/dist/index.es282.js +6 -6
- package/dist/index.es282.js.map +1 -1
- package/dist/index.es283.js +5 -5
- package/dist/index.es283.js.map +1 -1
- package/dist/index.es284.js +6 -3
- package/dist/index.es284.js.map +1 -1
- package/dist/index.es285.js +7 -7
- package/dist/index.es285.js.map +1 -1
- package/dist/index.es286.js +3 -12
- package/dist/index.es286.js.map +1 -1
- package/dist/index.es287.js +4 -11
- package/dist/index.es287.js.map +1 -1
- package/dist/index.es288.js +4 -4
- package/dist/index.es288.js.map +1 -1
- package/dist/index.es289.js +6 -5
- package/dist/index.es289.js.map +1 -1
- package/dist/index.es290.js +5 -1
- package/dist/index.es290.js.map +1 -1
- package/dist/index.es291.js +3 -7
- package/dist/index.es291.js.map +1 -1
- package/dist/index.es292.js +7 -7
- package/dist/index.es292.js.map +1 -1
- package/dist/index.es293.js +12 -7
- package/dist/index.es293.js.map +1 -1
- package/dist/index.es294.js +10 -8
- package/dist/index.es294.js.map +1 -1
- package/dist/index.es295.js +3 -3
- package/dist/index.es295.js.map +1 -1
- package/dist/index.es296.js +6 -4
- package/dist/index.es296.js.map +1 -1
- package/dist/index.es297.js +2 -57
- package/dist/index.es297.js.map +1 -1
- package/dist/index.es298.js +7 -13
- package/dist/index.es298.js.map +1 -1
- package/dist/index.es299.js +7 -5
- package/dist/index.es299.js.map +1 -1
- package/dist/index.es300.js +7 -5
- package/dist/index.es300.js.map +1 -1
- package/dist/index.es301.js +8 -8
- package/dist/index.es301.js.map +1 -1
- package/dist/index.es302.js +3 -16
- package/dist/index.es302.js.map +1 -1
- package/dist/index.es303.js +4 -14
- package/dist/index.es303.js.map +1 -1
- package/dist/index.es304.js +57 -4
- package/dist/index.es304.js.map +1 -1
- package/dist/index.es305.js +13 -5
- package/dist/index.es305.js.map +1 -1
- package/dist/index.es306.js +5 -8
- package/dist/index.es306.js.map +1 -1
- package/dist/index.es307.js +5 -6
- package/dist/index.es307.js.map +1 -1
- package/dist/index.es308.js +7 -5
- package/dist/index.es308.js.map +1 -1
- package/dist/index.es309.js +16 -8
- package/dist/index.es309.js.map +1 -1
- package/dist/index.es310.js +14 -3
- package/dist/index.es310.js.map +1 -1
- package/dist/index.es311.js +5 -3
- package/dist/index.es311.js.map +1 -1
- package/dist/index.es312.js +5 -10
- package/dist/index.es312.js.map +1 -1
- package/dist/index.es313.js +9 -5
- package/dist/index.es313.js.map +1 -1
- package/dist/index.es314.js +7 -4
- package/dist/index.es314.js.map +1 -1
- package/dist/index.es315.js +6 -8
- package/dist/index.es315.js.map +1 -1
- package/dist/index.es316.js +8 -5
- package/dist/index.es316.js.map +1 -1
- package/dist/index.es317.js +3 -17
- package/dist/index.es317.js.map +1 -1
- package/dist/index.es318.js +3 -12
- package/dist/index.es318.js.map +1 -1
- package/dist/index.es319.js +11 -3
- package/dist/index.es319.js.map +1 -1
- package/dist/index.es320.js +5 -3
- package/dist/index.es320.js.map +1 -1
- package/dist/index.es321.js +4 -9
- package/dist/index.es321.js.map +1 -1
- package/dist/index.es322.js +8 -6
- package/dist/index.es322.js.map +1 -1
- package/dist/index.es323.js +5 -12
- package/dist/index.es323.js.map +1 -1
- package/dist/index.es324.js +15 -11
- package/dist/index.es324.js.map +1 -1
- package/dist/index.es325.js +11 -6
- package/dist/index.es325.js.map +1 -1
- package/dist/index.es326.js +3 -6
- package/dist/index.es326.js.map +1 -1
- package/dist/index.es327.js +3 -6
- package/dist/index.es327.js.map +1 -1
- package/dist/index.es328.js +8 -16
- package/dist/index.es328.js.map +1 -1
- package/dist/index.es329.js +6 -16
- package/dist/index.es329.js.map +1 -1
- package/dist/index.es330.js +12 -4
- package/dist/index.es330.js.map +1 -1
- package/dist/index.es331.js +11 -15
- package/dist/index.es331.js.map +1 -1
- package/dist/index.es332.js +6 -22
- package/dist/index.es332.js.map +1 -1
- package/dist/index.es333.js +6 -6
- package/dist/index.es333.js.map +1 -1
- package/dist/index.es334.js +6 -5
- package/dist/index.es334.js.map +1 -1
- package/dist/index.es335.js +17 -6
- package/dist/index.es335.js.map +1 -1
- package/dist/index.es336.js +17 -5
- package/dist/index.es336.js.map +1 -1
- package/dist/index.es337.js +4 -11
- package/dist/index.es337.js.map +1 -1
- package/dist/index.es338.js +16 -5
- package/dist/index.es338.js.map +1 -1
- package/dist/index.es339.js +22 -4
- package/dist/index.es339.js.map +1 -1
- package/dist/index.es340.js +6 -5
- package/dist/index.es340.js.map +1 -1
- package/dist/index.es341.js +4 -4
- package/dist/index.es341.js.map +1 -1
- package/dist/index.es342.js +6 -5
- package/dist/index.es342.js.map +1 -1
- package/dist/index.es343.js +5 -5
- package/dist/index.es343.js.map +1 -1
- package/dist/index.es344.js +11 -4
- package/dist/index.es344.js.map +1 -1
- package/dist/index.es345.js +5 -12
- package/dist/index.es345.js.map +1 -1
- package/dist/index.es346.js +4 -14
- package/dist/index.es346.js.map +1 -1
- package/dist/index.es347.js +4 -8
- package/dist/index.es347.js.map +1 -1
- package/dist/index.es348.js +4 -6
- package/dist/index.es348.js.map +1 -1
- package/dist/index.es349.js +3 -5
- package/dist/index.es349.js.map +1 -1
- package/dist/index.es350.js +4 -8
- package/dist/index.es350.js.map +1 -1
- package/dist/index.es351.js +5 -2
- package/dist/index.es351.js.map +1 -1
- package/dist/index.es352.js +12 -10
- package/dist/index.es352.js.map +1 -1
- package/dist/index.es353.js +13 -14
- package/dist/index.es353.js.map +1 -1
- package/dist/index.es354.js +8 -31
- package/dist/index.es354.js.map +1 -1
- package/dist/index.es355.js +6 -11
- package/dist/index.es355.js.map +1 -1
- package/dist/index.es356.js +6 -20
- package/dist/index.es356.js.map +1 -1
- package/dist/index.es357.js +8 -44
- package/dist/index.es357.js.map +1 -1
- package/dist/index.es358.js +2 -42
- package/dist/index.es358.js.map +1 -1
- package/dist/index.es359.js +11 -278
- package/dist/index.es359.js.map +1 -1
- package/dist/index.es360.js +14 -242
- package/dist/index.es360.js.map +1 -1
- package/dist/index.es361.js +29 -44
- package/dist/index.es361.js.map +1 -1
- package/dist/index.es362.js +11 -10
- package/dist/index.es362.js.map +1 -1
- package/dist/index.es363.js +20 -11
- package/dist/index.es363.js.map +1 -1
- package/dist/index.es364.js +45 -4
- package/dist/index.es364.js.map +1 -1
- package/dist/index.es365.js +42 -22
- package/dist/index.es365.js.map +1 -1
- package/dist/index.es366.js +277 -24
- package/dist/index.es366.js.map +1 -1
- package/dist/index.es367.js +242 -116
- package/dist/index.es367.js.map +1 -1
- package/dist/index.es368.js +46 -105
- package/dist/index.es368.js.map +1 -1
- package/dist/index.es369.js +27 -3
- package/dist/index.es369.js.map +1 -1
- package/dist/index.es370.js +29 -8
- package/dist/index.es370.js.map +1 -1
- package/dist/index.es371.js +5 -7
- package/dist/index.es371.js.map +1 -1
- package/dist/index.es372.js +3 -39
- package/dist/index.es372.js.map +1 -1
- package/dist/index.es373.js +8 -18
- package/dist/index.es373.js.map +1 -1
- package/dist/index.es374.js +7 -261
- package/dist/index.es374.js.map +1 -1
- package/dist/index.es375.js +261 -83
- package/dist/index.es375.js.map +1 -1
- package/dist/index.es376.js +77 -331
- package/dist/index.es376.js.map +1 -1
- package/dist/index.es377.js +339 -12
- package/dist/index.es377.js.map +1 -1
- package/dist/index.es378.js +12 -47
- package/dist/index.es378.js.map +1 -1
- package/dist/index.es379.js +47 -4
- package/dist/index.es379.js.map +1 -1
- package/dist/index.es383.js +2 -2
- package/dist/index.es384.js +2 -2
- package/dist/index.es385.js +2 -43
- package/dist/index.es385.js.map +1 -1
- package/dist/index.es386.js +40 -10
- package/dist/index.es386.js.map +1 -1
- package/dist/index.es387.js +10 -346
- package/dist/index.es387.js.map +1 -1
- package/dist/index.es388.js +334 -209
- package/dist/index.es388.js.map +1 -1
- package/dist/index.es389.js +222 -37
- package/dist/index.es389.js.map +1 -1
- package/dist/index.es390.js +38 -7
- package/dist/index.es390.js.map +1 -1
- package/dist/index.es391.js +7 -40
- package/dist/index.es391.js.map +1 -1
- package/dist/index.es392.js +38 -16
- package/dist/index.es392.js.map +1 -1
- package/dist/index.es393.js +16 -17
- package/dist/index.es393.js.map +1 -1
- package/dist/index.es394.js +18 -8
- package/dist/index.es394.js.map +1 -1
- package/dist/index.es395.js +8 -15
- package/dist/index.es395.js.map +1 -1
- package/dist/index.es396.js +13 -20
- package/dist/index.es396.js.map +1 -1
- package/dist/index.es397.js +18 -127
- package/dist/index.es397.js.map +1 -1
- package/dist/index.es398.js +131 -18
- package/dist/index.es398.js.map +1 -1
- package/dist/index.es399.js +19 -18
- package/dist/index.es399.js.map +1 -1
- package/dist/index.es400.js +18 -18
- package/dist/index.es400.js.map +1 -1
- package/dist/index.es401.js +14 -30
- package/dist/index.es401.js.map +1 -1
- package/dist/index.es402.js +29 -212
- package/dist/index.es402.js.map +1 -1
- package/dist/index.es403.js +217 -5
- package/dist/index.es403.js.map +1 -1
- package/dist/index.es404.js +39 -27
- package/dist/index.es404.js.map +1 -1
- package/dist/index.es405.js +17 -28
- package/dist/index.es405.js.map +1 -1
- package/dist/index.es406.js +29 -5
- package/dist/index.es406.js.map +1 -1
- package/dist/index.es407.js +5 -29
- package/dist/index.es407.js.map +1 -1
- package/dist/index.es408.js +6 -5
- package/dist/index.es408.js.map +1 -1
- package/dist/index.es409.js +10 -11
- package/dist/index.es409.js.map +1 -1
- package/dist/index.es410.js +29 -10
- package/dist/index.es410.js.map +1 -1
- package/dist/index.es411.js +5 -5
- package/dist/index.es411.js.map +1 -1
- package/dist/index.es412.js +11 -12
- package/dist/index.es412.js.map +1 -1
- package/dist/index.es413.js +10 -29
- package/dist/index.es413.js.map +1 -1
- package/dist/index.es414.js +5 -5
- package/dist/index.es414.js.map +1 -1
- package/dist/index.es415.js +12 -2
- package/dist/index.es415.js.map +1 -1
- package/dist/index.es416.js +2 -322
- package/dist/index.es416.js.map +1 -1
- package/dist/index.es417.js +322 -2
- package/dist/index.es417.js.map +1 -1
- package/dist/index.es418.js +2 -2
- package/dist/index.es419.js +2 -2
- package/dist/index.es420.js +2 -15
- package/dist/index.es420.js.map +1 -1
- package/dist/index.es421.js +15 -2
- package/dist/index.es421.js.map +1 -1
- package/dist/index.es422.js +2 -2
- package/dist/index.es423.js +2 -48
- package/dist/index.es423.js.map +1 -1
- package/dist/index.es424.js +36 -26
- package/dist/index.es424.js.map +1 -1
- package/dist/index.es425.js +36 -41
- package/dist/index.es425.js.map +1 -1
- package/dist/index.es426.js +43 -2
- package/dist/index.es426.js.map +1 -1
- package/dist/index.es427.js +2 -16
- package/dist/index.es427.js.map +1 -1
- package/dist/index.es428.js +16 -2
- package/dist/index.es428.js.map +1 -1
- package/dist/index.es429.js +2 -16
- package/dist/index.es429.js.map +1 -1
- package/dist/index.es430.js +13 -13
- package/dist/index.es430.js.map +1 -1
- package/dist/index.es431.js +14 -16
- package/dist/index.es431.js.map +1 -1
- package/dist/index.es432.js +16 -18
- package/dist/index.es432.js.map +1 -1
- package/dist/index.es433.js +20 -2
- package/dist/index.es433.js.map +1 -1
- package/dist/index.es434.js +2 -10
- package/dist/index.es434.js.map +1 -1
- package/dist/index.es435.js +5 -8
- package/dist/index.es435.js.map +1 -1
- package/dist/index.es436.js +3 -5
- package/dist/index.es436.js.map +1 -1
- package/dist/index.es437.js +24 -4
- package/dist/index.es437.js.map +1 -1
- package/dist/index.es438.js +110 -3
- package/dist/index.es438.js.map +1 -1
- package/dist/index.es439.js +16 -3
- package/dist/index.es439.js.map +1 -1
- package/dist/index.es440.js +7 -8
- package/dist/index.es440.js.map +1 -1
- package/dist/index.es441.js +4 -21
- package/dist/index.es441.js.map +1 -1
- package/dist/index.es442.js +4 -22
- package/dist/index.es442.js.map +1 -1
- package/dist/index.es443.js +3 -14
- package/dist/index.es443.js.map +1 -1
- package/dist/index.es444.js +3 -17
- package/dist/index.es444.js.map +1 -1
- package/dist/index.es445.js +8 -5
- package/dist/index.es445.js.map +1 -1
- package/dist/index.es446.js +21 -8
- package/dist/index.es446.js.map +1 -1
- package/dist/index.es447.js +21 -6
- package/dist/index.es447.js.map +1 -1
- package/dist/index.es448.js +11 -19
- package/dist/index.es448.js.map +1 -1
- package/dist/index.es449.js +15 -8
- package/dist/index.es449.js.map +1 -1
- package/dist/index.es450.js +6 -9
- package/dist/index.es450.js.map +1 -1
- package/dist/index.es451.js +9 -4
- package/dist/index.es451.js.map +1 -1
- package/dist/index.es452.js +6 -10
- package/dist/index.es452.js.map +1 -1
- package/dist/index.es453.js +21 -8
- package/dist/index.es453.js.map +1 -1
- package/dist/index.es454.js +9 -22
- package/dist/index.es454.js.map +1 -1
- package/dist/index.es455.js +9 -12
- package/dist/index.es455.js.map +1 -1
- package/dist/index.es456.js +4 -19
- package/dist/index.es456.js.map +1 -1
- package/dist/index.es457.js +11 -4
- package/dist/index.es457.js.map +1 -1
- package/dist/index.es458.js +8 -17
- package/dist/index.es458.js.map +1 -1
- package/dist/index.es459.js +22 -11
- package/dist/index.es459.js.map +1 -1
- package/dist/index.es460.js +11 -3
- package/dist/index.es460.js.map +1 -1
- package/dist/index.es461.js +18 -4
- package/dist/index.es461.js.map +1 -1
- package/dist/index.es462.js +6 -227
- package/dist/index.es462.js.map +1 -1
- package/dist/index.es463.js +18 -2
- package/dist/index.es463.js.map +1 -1
- package/dist/index.es464.js +10 -354
- package/dist/index.es464.js.map +1 -1
- package/dist/index.es465.js +4 -2
- package/dist/index.es465.js.map +1 -1
- package/dist/index.es466.js +4 -37
- package/dist/index.es466.js.map +1 -1
- package/dist/index.es467.js +227 -53
- package/dist/index.es467.js.map +1 -1
- package/dist/index.es468.js +2 -62
- package/dist/index.es468.js.map +1 -1
- package/dist/index.es469.js +350 -55
- package/dist/index.es469.js.map +1 -1
- package/dist/index.es470.js +2 -73
- package/dist/index.es470.js.map +1 -1
- package/dist/index.es471.js +40 -52
- package/dist/index.es471.js.map +1 -1
- package/dist/index.es472.js +51 -89
- package/dist/index.es472.js.map +1 -1
- package/dist/index.es473.js +62 -2
- package/dist/index.es473.js.map +1 -1
- package/dist/index.es474.js +61 -2
- package/dist/index.es474.js.map +1 -1
- package/dist/index.es475.js +73 -2
- package/dist/index.es475.js.map +1 -1
- package/dist/index.es476.js +52 -4
- package/dist/index.es476.js.map +1 -1
- package/dist/index.es477.js +89 -2
- package/dist/index.es477.js.map +1 -1
- package/dist/index.es478.js +2 -2
- package/dist/index.es479.js +2 -2
- package/dist/index.es480.js +2 -8
- package/dist/index.es480.js.map +1 -1
- package/dist/index.es481.js +2 -4
- package/dist/index.es481.js.map +1 -1
- package/dist/index.es482.js +2 -4
- package/dist/index.es482.js.map +1 -1
- package/dist/index.es483.js +2 -161
- package/dist/index.es483.js.map +1 -1
- package/dist/index.es484.js +2 -5
- package/dist/index.es484.js.map +1 -1
- package/dist/index.es485.js +8 -2
- package/dist/index.es485.js.map +1 -1
- package/dist/index.es486.js +4 -88
- package/dist/index.es486.js.map +1 -1
- package/dist/index.es487.js +4 -194
- package/dist/index.es487.js.map +1 -1
- package/dist/index.es488.js +154 -81
- package/dist/index.es488.js.map +1 -1
- package/dist/index.es489.js +4 -12
- package/dist/index.es489.js.map +1 -1
- package/dist/index.es490.js +2 -319
- package/dist/index.es490.js.map +1 -1
- package/dist/index.es491.js +88 -5
- package/dist/index.es491.js.map +1 -1
- package/dist/index.es492.js +194 -3
- package/dist/index.es492.js.map +1 -1
- package/dist/index.es493.js +86 -22
- package/dist/index.es493.js.map +1 -1
- package/dist/index.es494.js +13 -107
- package/dist/index.es494.js.map +1 -1
- package/dist/index.es495.js +317 -14
- package/dist/index.es495.js.map +1 -1
- package/dist/index.es496.js.map +1 -1
- package/dist/index.es497.js +1 -1
- package/dist/index.es497.js.map +1 -1
- package/dist/index.es498.js +5 -5
- package/dist/index.es498.js.map +1 -1
- package/dist/index.es499.js +7 -5
- package/dist/index.es499.js.map +1 -1
- package/dist/index.es500.js +2 -3
- package/dist/index.es500.js.map +1 -1
- package/dist/index.es501.js +19 -107
- package/dist/index.es501.js.map +1 -1
- package/dist/index.es503.js +5 -2
- package/dist/index.es503.js.map +1 -1
- package/dist/index.es504.js +3 -22
- package/dist/index.es504.js.map +1 -1
- package/dist/index.es505.js +104 -153
- package/dist/index.es505.js.map +1 -1
- package/dist/index.es506.js +141 -89
- package/dist/index.es506.js.map +1 -1
- package/dist/index.es507.js +102 -15
- package/dist/index.es507.js.map +1 -1
- package/dist/index.es508.js +17 -2
- package/dist/index.es508.js.map +1 -1
- package/dist/index.es509.js +2 -96
- package/dist/index.es509.js.map +1 -1
- package/dist/index.es510.js +86 -265
- package/dist/index.es510.js.map +1 -1
- package/dist/index.es511.js +227 -81
- package/dist/index.es511.js.map +1 -1
- package/dist/index.es512.js +81 -120
- package/dist/index.es512.js.map +1 -1
- package/dist/index.es513.js +119 -82
- package/dist/index.es513.js.map +1 -1
- package/dist/index.es514.js +75 -72
- package/dist/index.es514.js.map +1 -1
- package/dist/index.es515.js +76 -81
- package/dist/index.es515.js.map +1 -1
- package/dist/index.es516.js +80 -75
- package/dist/index.es516.js.map +1 -1
- package/dist/index.es517.js +76 -65
- package/dist/index.es517.js.map +1 -1
- package/dist/index.es518.js +53 -53
- package/dist/index.es518.js.map +1 -1
- package/dist/index.es519.js +35 -35
- package/dist/index.es519.js.map +1 -1
- package/dist/index.es520.js +56 -56
- package/dist/index.es520.js.map +1 -1
- package/dist/index.es521.js +69 -77
- package/dist/index.es521.js.map +1 -1
- package/dist/index.es522.js +72 -78
- package/dist/index.es522.js.map +1 -1
- package/dist/index.es523.js +75 -72
- package/dist/index.es523.js.map +1 -1
- package/dist/index.es524.js +121 -26
- package/dist/index.es524.js.map +1 -1
- package/dist/index.es525.js +33 -2
- package/dist/index.es525.js.map +1 -1
- package/dist/index.es526.js +2 -21
- package/dist/index.es526.js.map +1 -1
- package/dist/index.es527.js +21 -2
- package/dist/index.es527.js.map +1 -1
- package/dist/index.es528.js +2 -43
- package/dist/index.es528.js.map +1 -1
- package/dist/index.es529.js +26 -26
- package/dist/index.es529.js.map +1 -1
- package/dist/index.es530.js +30 -30
- package/dist/index.es530.js.map +1 -1
- package/dist/index.es531.js +23 -23
- package/dist/index.es531.js.map +1 -1
- package/dist/index.es532.js +30 -30
- package/dist/index.es532.js.map +1 -1
- package/dist/index.es533.js +22 -22
- package/dist/index.es533.js.map +1 -1
- package/dist/index.es534.js +30 -30
- package/dist/index.es534.js.map +1 -1
- package/dist/index.es535.js +31 -31
- package/dist/index.es535.js.map +1 -1
- package/dist/index.es536.js +22 -23
- package/dist/index.es536.js.map +1 -1
- package/dist/index.es537.js +37 -34
- package/dist/index.es537.js.map +1 -1
- package/dist/index.es538.js +41 -2
- package/dist/index.es538.js.map +1 -1
- package/dist/index.es539.js +2 -12
- package/dist/index.es539.js.map +1 -1
- package/dist/index.es540.js +2 -34
- package/dist/index.es540.js.map +1 -1
- package/dist/index.es541.js +10 -19
- package/dist/index.es541.js.map +1 -1
- package/dist/index.es542.js +32 -10
- package/dist/index.es542.js.map +1 -1
- package/dist/index.es543.js +21 -2
- package/dist/index.es543.js.map +1 -1
- package/dist/index.es544.js +11 -6
- package/dist/index.es544.js.map +1 -1
- package/dist/index.es545.js +69 -2
- package/dist/index.es545.js.map +1 -1
- package/dist/index.es546.js +9 -2
- package/dist/index.es546.js.map +1 -1
- package/dist/index.es547.js +14 -14
- package/dist/index.es547.js.map +1 -1
- package/dist/index.es548.js +59 -11
- package/dist/index.es548.js.map +1 -1
- package/dist/index.es549.js +63 -10
- package/dist/index.es549.js.map +1 -1
- package/dist/index.es551.js +2 -3
- package/dist/index.es551.js.map +1 -1
- package/dist/index.es552.js +13 -7
- package/dist/index.es552.js.map +1 -1
- package/dist/index.es553.js +11 -5
- package/dist/index.es553.js.map +1 -1
- package/dist/index.es554.js +12 -145
- package/dist/index.es554.js.map +1 -1
- package/dist/index.es555.js +2 -2
- package/dist/index.es556.js +3 -2
- package/dist/index.es556.js.map +1 -1
- package/dist/index.es557.js +6 -2
- package/dist/index.es557.js.map +1 -1
- package/dist/index.es558.js +10 -8
- package/dist/index.es558.js.map +1 -1
- package/dist/index.es559.js +5 -5
- package/dist/index.es559.js.map +1 -1
- package/dist/index.es560.js +8 -50
- package/dist/index.es560.js.map +1 -1
- package/dist/index.es561.js +50 -4
- package/dist/index.es561.js.map +1 -1
- package/dist/index.es563.js +2 -2
- package/dist/index.es564.js +2 -109
- package/dist/index.es564.js.map +1 -1
- package/dist/index.es565.js +143 -63
- package/dist/index.es565.js.map +1 -1
- package/dist/index.es566.js +2 -55
- package/dist/index.es566.js.map +1 -1
- package/dist/index.es567.js +2 -9
- package/dist/index.es567.js.map +1 -1
- package/dist/index.es568.js +2 -14
- package/dist/index.es568.js.map +1 -1
- package/dist/index.es569.js +107 -58
- package/dist/index.es569.js.map +1 -1
- package/dist/index.es57.js +2 -2
- package/dist/index.es570.js +3 -3
- package/dist/index.es574.js +33 -47
- package/dist/index.es574.js.map +1 -1
- package/dist/index.es575.js.map +1 -1
- package/dist/index.es576.js +41 -41
- package/dist/index.es576.js.map +1 -1
- package/dist/index.es577.js +9 -2
- package/dist/index.es577.js.map +1 -1
- package/dist/index.es578.js +14 -2
- package/dist/index.es578.js.map +1 -1
- package/dist/index.es579.js +118 -2
- package/dist/index.es579.js.map +1 -1
- package/dist/index.es581.js +151 -2
- package/dist/index.es581.js.map +1 -1
- package/dist/index.es582.js +2 -2
- package/dist/index.es583.js +6 -2
- package/dist/index.es583.js.map +1 -1
- package/dist/index.es584.js +2 -2
- package/dist/index.es585.js +2 -2
- package/dist/index.es586.js +225 -2
- package/dist/index.es586.js.map +1 -1
- package/dist/index.es587.js +130 -114
- package/dist/index.es587.js.map +1 -1
- package/dist/index.es588.js +128 -2
- package/dist/index.es588.js.map +1 -1
- package/dist/index.es589.js +134 -2
- package/dist/index.es589.js.map +1 -1
- package/dist/index.es59.js +1 -1
- package/dist/index.es590.js +118 -140
- package/dist/index.es590.js.map +1 -1
- package/dist/index.es591.js +135 -2
- package/dist/index.es591.js.map +1 -1
- package/dist/index.es592.js +2 -6
- package/dist/index.es592.js.map +1 -1
- package/dist/index.es593.js +2 -2
- package/dist/index.es594.js +2 -148
- package/dist/index.es594.js.map +1 -1
- package/dist/index.es596.js +2 -138
- package/dist/index.es596.js.map +1 -1
- package/dist/index.es597.js +2 -2
- package/dist/index.es598.js +2 -2
- package/dist/index.es599.js +2 -225
- package/dist/index.es599.js.map +1 -1
- package/dist/index.es60.js +1 -1
- package/dist/index.es600.js +2 -134
- package/dist/index.es600.js.map +1 -1
- package/dist/index.es601.js +91 -72
- package/dist/index.es601.js.map +1 -1
- package/dist/index.es602.js +2 -134
- package/dist/index.es602.js.map +1 -1
- package/dist/index.es603.js +2 -129
- package/dist/index.es603.js.map +1 -1
- package/dist/index.es604.js +2 -135
- package/dist/index.es604.js.map +1 -1
- package/dist/index.es605.js +131 -2
- package/dist/index.es605.js.map +1 -1
- package/dist/index.es606.js +128 -2
- package/dist/index.es606.js.map +1 -1
- package/dist/index.es607.js +3 -2
- package/dist/index.es607.js.map +1 -1
- package/dist/index.es609.js +138 -2
- package/dist/index.es609.js.map +1 -1
- package/dist/index.es61.js +2 -2
- package/dist/index.es611.js +2 -2
- package/dist/index.es612.js +2 -2
- package/dist/index.es613.js +2 -2
- package/dist/index.es615.js +2 -2
- package/dist/index.es616.js +2 -131
- package/dist/index.es616.js.map +1 -1
- package/dist/index.es617.js +2 -128
- package/dist/index.es617.js.map +1 -1
- package/dist/index.es618.js +2 -2
- package/dist/index.es619.js +2 -2
- package/dist/index.es621.js +2 -14
- package/dist/index.es621.js.map +1 -1
- package/dist/index.es622.js +2 -2
- package/dist/index.es623.js +14 -2
- package/dist/index.es623.js.map +1 -1
- package/dist/index.es624.js +2 -2
- package/dist/index.es625.js +4 -2
- package/dist/index.es625.js.map +1 -1
- package/dist/index.es626.js +22 -8
- package/dist/index.es626.js.map +1 -1
- package/dist/index.es627.js +2 -14
- package/dist/index.es627.js.map +1 -1
- package/dist/index.es628.js +4 -87
- package/dist/index.es628.js.map +1 -1
- package/dist/index.es629.js +2 -108
- package/dist/index.es629.js.map +1 -1
- package/dist/index.es63.js +2 -2
- package/dist/index.es630.js +87 -4
- package/dist/index.es630.js.map +1 -1
- package/dist/index.es631.js +108 -2
- package/dist/index.es631.js.map +1 -1
- package/dist/index.es632.js +2 -4
- package/dist/index.es632.js.map +1 -1
- package/dist/index.es633.js +2 -23
- package/dist/index.es633.js.map +1 -1
- package/dist/index.es636.js +2 -2
- package/dist/index.es637.js +2 -2
- package/dist/index.es639.js +2 -2
- package/dist/index.es64.js +2 -2
- package/dist/index.es641.js +2 -2
- package/dist/index.es643.js +2 -2
- package/dist/index.es644.js +2 -2
- package/dist/index.es645.js +2 -2
- package/dist/index.es647.js +22 -44
- package/dist/index.es647.js.map +1 -1
- package/dist/index.es648.js +15 -45
- package/dist/index.es648.js.map +1 -1
- package/dist/index.es649.js +28 -2
- package/dist/index.es649.js.map +1 -1
- package/dist/index.es65.js +2 -2
- package/dist/index.es650.js +5 -2
- package/dist/index.es650.js.map +1 -1
- package/dist/index.es651.js +44 -22
- package/dist/index.es651.js.map +1 -1
- package/dist/index.es652.js +45 -15
- package/dist/index.es652.js.map +1 -1
- package/dist/index.es653.js +2 -28
- package/dist/index.es653.js.map +1 -1
- package/dist/index.es654.js +2 -5
- package/dist/index.es654.js.map +1 -1
- package/dist/index.es655.js.map +1 -1
- package/dist/index.es656.js.map +1 -1
- package/dist/index.es66.js +1 -1
- package/dist/index.es67.js +1 -1
- package/dist/index.es68.js +2 -2
- package/dist/index.es69.js +2 -2
- package/dist/index.es71.js +2 -2
- package/dist/index.es72.js +2 -2
- package/dist/index.es73.js +2 -2
- package/dist/index.es74.js +1 -1
- package/dist/index.es76.js +1 -1
- package/dist/index.es77.js +4 -4
- package/dist/index.es78.js +5 -5
- package/dist/index.es79.js +5 -5
- package/dist/index.es80.js +1 -1
- package/dist/index.es81.js +3 -3
- package/dist/index.es82.js +4 -4
- package/dist/index.es83.js +2 -2
- package/dist/index.es84.js +2 -2
- package/dist/index.es87.js +1 -1
- package/dist/index.es88.js +1 -1
- package/dist/index.es89.js +14 -14
- package/dist/index.es90.js +1 -1
- package/dist/index.es91.js +1 -1
- package/dist/index.es92.js +1 -1
- package/dist/index.es94.js +1 -1
- package/dist/index.es95.js +1 -1
- package/dist/index.es96.js +1 -1
- package/dist/index.es99.js +1 -1
- package/package.json +3 -3
package/dist/index.cjs212.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.cjs212.js","sources":["../../../node_modules/
|
|
1
|
+
{"version":3,"file":"index.cjs212.js","sources":["../../../node_modules/@radix-ui/react-portal/dist/index.mjs"],"sourcesContent":["import $7SXl2$babelruntimehelpersesmextends from \"@babel/runtime/helpers/esm/extends\";\nimport {forwardRef as $7SXl2$forwardRef, createElement as $7SXl2$createElement} from \"react\";\nimport $7SXl2$reactdom from \"react-dom\";\nimport {Primitive as $7SXl2$Primitive} from \"@radix-ui/react-primitive\";\n\n\n\n\n\n/* -------------------------------------------------------------------------------------------------\n * Portal\n * -----------------------------------------------------------------------------------------------*/ const $f1701beae083dbae$var$PORTAL_NAME = 'Portal';\nconst $f1701beae083dbae$export$602eac185826482c = /*#__PURE__*/ $7SXl2$forwardRef((props, forwardedRef)=>{\n var _globalThis$document;\n const { container: container = globalThis === null || globalThis === void 0 ? void 0 : (_globalThis$document = globalThis.document) === null || _globalThis$document === void 0 ? void 0 : _globalThis$document.body , ...portalProps } = props;\n return container ? /*#__PURE__*/ $7SXl2$reactdom.createPortal(/*#__PURE__*/ $7SXl2$createElement($7SXl2$Primitive.div, $7SXl2$babelruntimehelpersesmextends({}, portalProps, {\n ref: forwardedRef\n })), container) : null;\n});\n/*#__PURE__*/ Object.assign($f1701beae083dbae$export$602eac185826482c, {\n displayName: $f1701beae083dbae$var$PORTAL_NAME\n});\n/* -----------------------------------------------------------------------------------------------*/ const $f1701beae083dbae$export$be92b6f5f03c0fe9 = $f1701beae083dbae$export$602eac185826482c;\n\n\n\n\nexport {$f1701beae083dbae$export$602eac185826482c as Portal, $f1701beae083dbae$export$be92b6f5f03c0fe9 as Root};\n//# sourceMappingURL=index.mjs.map\n"],"names":["$f1701beae083dbae$export$602eac185826482c","$7SXl2$forwardRef","props","forwardedRef","_globalThis$document","container","portalProps","$7SXl2$reactdom","$7SXl2$createElement","$7SXl2$Primitive","$7SXl2$babelruntimehelpersesmextends"],"mappings":"8LAYMA,EAA0DC,EAAiB,WAAC,CAACC,EAAOC,IAAe,CACrG,IAAIC,EACJ,KAAM,CAAE,UAAWC,EAAY,YAAe,OAA0CD,EAAuB,WAAW,YAAc,MAAQA,IAAyB,OAA3F,OAA6GA,EAAqB,KAAO,GAAGE,CAAa,EAAGJ,EAC1O,OAAOG,EAA0BE,EAAgB,aAA2BC,EAAoB,cAACC,EAAgB,UAAC,IAAKC,EAAqC,CAAE,EAAEJ,EAAa,CACzK,IAAKH,CACb,CAAK,CAAC,EAAGE,CAAS,EAAI,IACtB,CAAC","x_google_ignoreList":[0]}
|
package/dist/index.cjs213.js
CHANGED
|
@@ -1,3 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const
|
|
2
|
-
`||r==="\f"||r==="\r"}function v(r){var s,i=r.exec(a.substring(l));if(i)return s=i[0],l+=s.length,s}for(var L=a.length,j=/^[ \t\n\r\u000c]+/,I=/^[, \t\n\r\u000c]+/,N=/^[^ \t\n\r\u000c]+/,$=/[,]+$/,_=/^\d+$/,q=/^-?(?:[0-9]+|[0-9]*\.[0-9]+)(?:[eE][+-]?[0-9]+)?$/,p,o,e,n,t,l=0,C=[];;){if(v(I),l>=L)return C;p=v(N),o=[],p.slice(-1)===","?(p=p.replace($,""),g()):D()}function D(){for(v(j),e="",n="in descriptor";;){if(t=a.charAt(l),n==="in descriptor")if(u(t))e&&(o.push(e),e="",n="after descriptor");else if(t===","){l+=1,e&&o.push(e),g();return}else if(t==="(")e=e+t,n="in parens";else if(t===""){e&&o.push(e),g();return}else e=e+t;else if(n==="in parens")if(t===")")e=e+t,n="in descriptor";else if(t===""){o.push(e),g();return}else e=e+t;else if(n==="after descriptor"&&!u(t))if(t===""){g();return}else n="in descriptor",l-=1;l+=1}}function g(){var r=!1,s,i,d,m,h={},c,S,f,x,b;for(m=0;m<o.length;m++)c=o[m],S=c[c.length-1],f=c.substring(0,c.length-1),x=parseInt(f,10),b=parseFloat(f),_.test(f)&&S==="w"?((s||i)&&(r=!0),x===0?r=!0:s=x):q.test(f)&&S==="x"?((s||i||d)&&(r=!0),b<0?r=!0:i=b):_.test(f)&&S==="h"?((d||i)&&(r=!0),x===0?r=!0:d=x):r=!0;r?console&&console.log&&console.log("Invalid srcset descriptor found in '"+a+"' at '"+c+"'."):(h.url=p,s&&(h.w=s),i&&(h.d=i),d&&(h.h=d),C.push(h))}}})})(E.__module);var O=E.__module.exports;exports.parseSrcsetExports=O;
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const s=require("react"),O=require("react-dom"),p=require("./index.cjs145.js"),v=require("./index.cjs216.js");function E(n,t){return s.useReducer((r,o)=>{const i=t[r][o];return i??r},n)}const M=n=>{const{present:t,children:r}=n,o=T(t),i=typeof r=="function"?r({present:o.isPresent}):s.Children.only(r),c=p.useComposedRefs(o.ref,i.ref);return typeof r=="function"||o.isPresent?s.cloneElement(i,{ref:c}):null};M.displayName="Presence";function T(n){const[t,r]=s.useState(),o=s.useRef({}),i=s.useRef(n),c=s.useRef("none"),N=n?"mounted":"unmounted",[l,u]=E(N,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return s.useEffect(()=>{const e=f(o.current);c.current=l==="mounted"?e:"none"},[l]),v.useLayoutEffect(()=>{const e=o.current,a=i.current;if(a!==n){const A=c.current,m=f(e);n?u("MOUNT"):m==="none"||(e==null?void 0:e.display)==="none"?u("UNMOUNT"):u(a&&A!==m?"ANIMATION_OUT":"UNMOUNT"),i.current=n}},[n,u]),v.useLayoutEffect(()=>{if(t){const e=d=>{const m=f(o.current).includes(d.animationName);d.target===t&&m&&O.flushSync(()=>u("ANIMATION_END"))},a=d=>{d.target===t&&(c.current=f(o.current))};return t.addEventListener("animationstart",a),t.addEventListener("animationcancel",e),t.addEventListener("animationend",e),()=>{t.removeEventListener("animationstart",a),t.removeEventListener("animationcancel",e),t.removeEventListener("animationend",e)}}else u("ANIMATION_END")},[t,u]),{isPresent:["mounted","unmountSuspended"].includes(l),ref:s.useCallback(e=>{e&&(o.current=getComputedStyle(e)),r(e)},[])}}function f(n){return(n==null?void 0:n.animationName)||"none"}exports.Presence=M;
|
|
3
2
|
//# sourceMappingURL=index.cjs213.js.map
|
package/dist/index.cjs213.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.cjs213.js","sources":["../../../node_modules/parse-srcset/src/parse-srcset.js"],"sourcesContent":["/**\n * Srcset Parser\n *\n * By Alex Bell | MIT License\n *\n * JS Parser for the string value that appears in markup <img srcset=\"here\">\n *\n * @returns Array [{url: _, d: _, w: _, h:_}, ...]\n *\n * Based super duper closely on the reference algorithm at:\n * https://html.spec.whatwg.org/multipage/embedded-content.html#parse-a-srcset-attribute\n *\n * Most comments are copied in directly from the spec\n * (except for comments in parens).\n */\n\n(function (root, factory) {\n\tif (typeof define === 'function' && define.amd) {\n\t\t// AMD. Register as an anonymous module.\n\t\tdefine([], factory);\n\t} else if (typeof module === 'object' && module.exports) {\n\t\t// Node. Does not work with strict CommonJS, but\n\t\t// only CommonJS-like environments that support module.exports,\n\t\t// like Node.\n\t\tmodule.exports = factory();\n\t} else {\n\t\t// Browser globals (root is window)\n\t\troot.parseSrcset = factory();\n\t}\n}(this, function () {\n\n\t// 1. Let input be the value passed to this algorithm.\n\treturn function (input) {\n\n\t\t// UTILITY FUNCTIONS\n\n\t\t// Manual is faster than RegEx\n\t\t// http://bjorn.tipling.com/state-and-regular-expressions-in-javascript\n\t\t// http://jsperf.com/whitespace-character/5\n\t\tfunction isSpace(c) {\n\t\t\treturn (c === \"\\u0020\" || // space\n\t\t\tc === \"\\u0009\" || // horizontal tab\n\t\t\tc === \"\\u000A\" || // new line\n\t\t\tc === \"\\u000C\" || // form feed\n\t\t\tc === \"\\u000D\"); // carriage return\n\t\t}\n\n\t\tfunction collectCharacters(regEx) {\n\t\t\tvar chars,\n\t\t\t\tmatch = regEx.exec(input.substring(pos));\n\t\t\tif (match) {\n\t\t\t\tchars = match[ 0 ];\n\t\t\t\tpos += chars.length;\n\t\t\t\treturn chars;\n\t\t\t}\n\t\t}\n\n\t\tvar inputLength = input.length,\n\n\t\t\t// (Don't use \\s, to avoid matching non-breaking space)\n\t\t\tregexLeadingSpaces = /^[ \\t\\n\\r\\u000c]+/,\n\t\t\tregexLeadingCommasOrSpaces = /^[, \\t\\n\\r\\u000c]+/,\n\t\t\tregexLeadingNotSpaces = /^[^ \\t\\n\\r\\u000c]+/,\n\t\t\tregexTrailingCommas = /[,]+$/,\n\t\t\tregexNonNegativeInteger = /^\\d+$/,\n\n\t\t\t// ( Positive or negative or unsigned integers or decimals, without or without exponents.\n\t\t\t// Must include at least one digit.\n\t\t\t// According to spec tests any decimal point must be followed by a digit.\n\t\t\t// No leading plus sign is allowed.)\n\t\t\t// https://html.spec.whatwg.org/multipage/infrastructure.html#valid-floating-point-number\n\t\t\tregexFloatingPoint = /^-?(?:[0-9]+|[0-9]*\\.[0-9]+)(?:[eE][+-]?[0-9]+)?$/,\n\n\t\t\turl,\n\t\t\tdescriptors,\n\t\t\tcurrentDescriptor,\n\t\t\tstate,\n\t\t\tc,\n\n\t\t\t// 2. Let position be a pointer into input, initially pointing at the start\n\t\t\t// of the string.\n\t\t\tpos = 0,\n\n\t\t\t// 3. Let candidates be an initially empty source set.\n\t\t\tcandidates = [];\n\n\t\t// 4. Splitting loop: Collect a sequence of characters that are space\n\t\t// characters or U+002C COMMA characters. If any U+002C COMMA characters\n\t\t// were collected, that is a parse error.\n\t\twhile (true) {\n\t\t\tcollectCharacters(regexLeadingCommasOrSpaces);\n\n\t\t\t// 5. If position is past the end of input, return candidates and abort these steps.\n\t\t\tif (pos >= inputLength) {\n\t\t\t\treturn candidates; // (we're done, this is the sole return path)\n\t\t\t}\n\n\t\t\t// 6. Collect a sequence of characters that are not space characters,\n\t\t\t// and let that be url.\n\t\t\turl = collectCharacters(regexLeadingNotSpaces);\n\n\t\t\t// 7. Let descriptors be a new empty list.\n\t\t\tdescriptors = [];\n\n\t\t\t// 8. If url ends with a U+002C COMMA character (,), follow these substeps:\n\t\t\t//\t\t(1). Remove all trailing U+002C COMMA characters from url. If this removed\n\t\t\t// more than one character, that is a parse error.\n\t\t\tif (url.slice(-1) === \",\") {\n\t\t\t\turl = url.replace(regexTrailingCommas, \"\");\n\t\t\t\t// (Jump ahead to step 9 to skip tokenization and just push the candidate).\n\t\t\t\tparseDescriptors();\n\n\t\t\t\t//\tOtherwise, follow these substeps:\n\t\t\t} else {\n\t\t\t\ttokenize();\n\t\t\t} // (close else of step 8)\n\n\t\t\t// 16. Return to the step labeled splitting loop.\n\t\t} // (Close of big while loop.)\n\n\t\t/**\n\t\t * Tokenizes descriptor properties prior to parsing\n\t\t * Returns undefined.\n\t\t */\n\t\tfunction tokenize() {\n\n\t\t\t// 8.1. Descriptor tokeniser: Skip whitespace\n\t\t\tcollectCharacters(regexLeadingSpaces);\n\n\t\t\t// 8.2. Let current descriptor be the empty string.\n\t\t\tcurrentDescriptor = \"\";\n\n\t\t\t// 8.3. Let state be in descriptor.\n\t\t\tstate = \"in descriptor\";\n\n\t\t\twhile (true) {\n\n\t\t\t\t// 8.4. Let c be the character at position.\n\t\t\t\tc = input.charAt(pos);\n\n\t\t\t\t// Do the following depending on the value of state.\n\t\t\t\t// For the purpose of this step, \"EOF\" is a special character representing\n\t\t\t\t// that position is past the end of input.\n\n\t\t\t\t// In descriptor\n\t\t\t\tif (state === \"in descriptor\") {\n\t\t\t\t\t// Do the following, depending on the value of c:\n\n\t\t\t\t\t// Space character\n\t\t\t\t\t// If current descriptor is not empty, append current descriptor to\n\t\t\t\t\t// descriptors and let current descriptor be the empty string.\n\t\t\t\t\t// Set state to after descriptor.\n\t\t\t\t\tif (isSpace(c)) {\n\t\t\t\t\t\tif (currentDescriptor) {\n\t\t\t\t\t\t\tdescriptors.push(currentDescriptor);\n\t\t\t\t\t\t\tcurrentDescriptor = \"\";\n\t\t\t\t\t\t\tstate = \"after descriptor\";\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\t// U+002C COMMA (,)\n\t\t\t\t\t\t// Advance position to the next character in input. If current descriptor\n\t\t\t\t\t\t// is not empty, append current descriptor to descriptors. Jump to the step\n\t\t\t\t\t\t// labeled descriptor parser.\n\t\t\t\t\t} else if (c === \",\") {\n\t\t\t\t\t\tpos += 1;\n\t\t\t\t\t\tif (currentDescriptor) {\n\t\t\t\t\t\t\tdescriptors.push(currentDescriptor);\n\t\t\t\t\t\t}\n\t\t\t\t\t\tparseDescriptors();\n\t\t\t\t\t\treturn;\n\n\t\t\t\t\t\t// U+0028 LEFT PARENTHESIS (()\n\t\t\t\t\t\t// Append c to current descriptor. Set state to in parens.\n\t\t\t\t\t} else if (c === \"\\u0028\") {\n\t\t\t\t\t\tcurrentDescriptor = currentDescriptor + c;\n\t\t\t\t\t\tstate = \"in parens\";\n\n\t\t\t\t\t\t// EOF\n\t\t\t\t\t\t// If current descriptor is not empty, append current descriptor to\n\t\t\t\t\t\t// descriptors. Jump to the step labeled descriptor parser.\n\t\t\t\t\t} else if (c === \"\") {\n\t\t\t\t\t\tif (currentDescriptor) {\n\t\t\t\t\t\t\tdescriptors.push(currentDescriptor);\n\t\t\t\t\t\t}\n\t\t\t\t\t\tparseDescriptors();\n\t\t\t\t\t\treturn;\n\n\t\t\t\t\t\t// Anything else\n\t\t\t\t\t\t// Append c to current descriptor.\n\t\t\t\t\t} else {\n\t\t\t\t\t\tcurrentDescriptor = currentDescriptor + c;\n\t\t\t\t\t}\n\t\t\t\t\t// (end \"in descriptor\"\n\n\t\t\t\t\t// In parens\n\t\t\t\t} else if (state === \"in parens\") {\n\n\t\t\t\t\t// U+0029 RIGHT PARENTHESIS ())\n\t\t\t\t\t// Append c to current descriptor. Set state to in descriptor.\n\t\t\t\t\tif (c === \")\") {\n\t\t\t\t\t\tcurrentDescriptor = currentDescriptor + c;\n\t\t\t\t\t\tstate = \"in descriptor\";\n\n\t\t\t\t\t\t// EOF\n\t\t\t\t\t\t// Append current descriptor to descriptors. Jump to the step labeled\n\t\t\t\t\t\t// descriptor parser.\n\t\t\t\t\t} else if (c === \"\") {\n\t\t\t\t\t\tdescriptors.push(currentDescriptor);\n\t\t\t\t\t\tparseDescriptors();\n\t\t\t\t\t\treturn;\n\n\t\t\t\t\t\t// Anything else\n\t\t\t\t\t\t// Append c to current descriptor.\n\t\t\t\t\t} else {\n\t\t\t\t\t\tcurrentDescriptor = currentDescriptor + c;\n\t\t\t\t\t}\n\n\t\t\t\t\t// After descriptor\n\t\t\t\t} else if (state === \"after descriptor\") {\n\n\t\t\t\t\t// Do the following, depending on the value of c:\n\t\t\t\t\t// Space character: Stay in this state.\n\t\t\t\t\tif (isSpace(c)) {\n\n\t\t\t\t\t\t// EOF: Jump to the step labeled descriptor parser.\n\t\t\t\t\t} else if (c === \"\") {\n\t\t\t\t\t\tparseDescriptors();\n\t\t\t\t\t\treturn;\n\n\t\t\t\t\t\t// Anything else\n\t\t\t\t\t\t// Set state to in descriptor. Set position to the previous character in input.\n\t\t\t\t\t} else {\n\t\t\t\t\t\tstate = \"in descriptor\";\n\t\t\t\t\t\tpos -= 1;\n\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\t// Advance position to the next character in input.\n\t\t\t\tpos += 1;\n\n\t\t\t\t// Repeat this step.\n\t\t\t} // (close while true loop)\n\t\t}\n\n\t\t/**\n\t\t * Adds descriptor properties to a candidate, pushes to the candidates array\n\t\t * @return undefined\n\t\t */\n\t\t// Declared outside of the while loop so that it's only created once.\n\t\tfunction parseDescriptors() {\n\n\t\t\t// 9. Descriptor parser: Let error be no.\n\t\t\tvar pError = false,\n\n\t\t\t\t// 10. Let width be absent.\n\t\t\t\t// 11. Let density be absent.\n\t\t\t\t// 12. Let future-compat-h be absent. (We're implementing it now as h)\n\t\t\t\tw, d, h, i,\n\t\t\t\tcandidate = {},\n\t\t\t\tdesc, lastChar, value, intVal, floatVal;\n\n\t\t\t// 13. For each descriptor in descriptors, run the appropriate set of steps\n\t\t\t// from the following list:\n\t\t\tfor (i = 0 ; i < descriptors.length; i++) {\n\t\t\t\tdesc = descriptors[ i ];\n\n\t\t\t\tlastChar = desc[ desc.length - 1 ];\n\t\t\t\tvalue = desc.substring(0, desc.length - 1);\n\t\t\t\tintVal = parseInt(value, 10);\n\t\t\t\tfloatVal = parseFloat(value);\n\n\t\t\t\t// If the descriptor consists of a valid non-negative integer followed by\n\t\t\t\t// a U+0077 LATIN SMALL LETTER W character\n\t\t\t\tif (regexNonNegativeInteger.test(value) && (lastChar === \"w\")) {\n\n\t\t\t\t\t// If width and density are not both absent, then let error be yes.\n\t\t\t\t\tif (w || d) {pError = true;}\n\n\t\t\t\t\t// Apply the rules for parsing non-negative integers to the descriptor.\n\t\t\t\t\t// If the result is zero, let error be yes.\n\t\t\t\t\t// Otherwise, let width be the result.\n\t\t\t\t\tif (intVal === 0) {pError = true;} else {w = intVal;}\n\n\t\t\t\t\t// If the descriptor consists of a valid floating-point number followed by\n\t\t\t\t\t// a U+0078 LATIN SMALL LETTER X character\n\t\t\t\t} else if (regexFloatingPoint.test(value) && (lastChar === \"x\")) {\n\n\t\t\t\t\t// If width, density and future-compat-h are not all absent, then let error\n\t\t\t\t\t// be yes.\n\t\t\t\t\tif (w || d || h) {pError = true;}\n\n\t\t\t\t\t// Apply the rules for parsing floating-point number values to the descriptor.\n\t\t\t\t\t// If the result is less than zero, let error be yes. Otherwise, let density\n\t\t\t\t\t// be the result.\n\t\t\t\t\tif (floatVal < 0) {pError = true;} else {d = floatVal;}\n\n\t\t\t\t\t// If the descriptor consists of a valid non-negative integer followed by\n\t\t\t\t\t// a U+0068 LATIN SMALL LETTER H character\n\t\t\t\t} else if (regexNonNegativeInteger.test(value) && (lastChar === \"h\")) {\n\n\t\t\t\t\t// If height and density are not both absent, then let error be yes.\n\t\t\t\t\tif (h || d) {pError = true;}\n\n\t\t\t\t\t// Apply the rules for parsing non-negative integers to the descriptor.\n\t\t\t\t\t// If the result is zero, let error be yes. Otherwise, let future-compat-h\n\t\t\t\t\t// be the result.\n\t\t\t\t\tif (intVal === 0) {pError = true;} else {h = intVal;}\n\n\t\t\t\t\t// Anything else, Let error be yes.\n\t\t\t\t} else {pError = true;}\n\t\t\t} // (close step 13 for loop)\n\n\t\t\t// 15. If error is still no, then append a new image source to candidates whose\n\t\t\t// URL is url, associated with a width width if not absent and a pixel\n\t\t\t// density density if not absent. Otherwise, there is a parse error.\n\t\t\tif (!pError) {\n\t\t\t\tcandidate.url = url;\n\t\t\t\tif (w) { candidate.w = w;}\n\t\t\t\tif (d) { candidate.d = d;}\n\t\t\t\tif (h) { candidate.h = h;}\n\t\t\t\tcandidates.push(candidate);\n\t\t\t} else if (console && console.log) {\n\t\t\t\tconsole.log(\"Invalid srcset descriptor found in '\" +\n\t\t\t\t\tinput + \"' at '\" + desc + \"'.\");\n\t\t\t}\n\t\t} // (close parseDescriptors fn)\n\n\t}\n}));\n"],"names":["root","factory","module","this","input","isSpace","c","collectCharacters","regEx","chars","match","pos","inputLength","regexLeadingSpaces","regexLeadingCommasOrSpaces","regexLeadingNotSpaces","regexTrailingCommas","regexNonNegativeInteger","regexFloatingPoint","url","descriptors","currentDescriptor","state","candidates","parseDescriptors","tokenize","pError","w","d","h","i","candidate","desc","lastChar","value","intVal","floatVal"],"mappings":"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","x_google_ignoreList":[0]}
|
|
1
|
+
{"version":3,"file":"index.cjs213.js","sources":["../../../node_modules/@radix-ui/react-presence/dist/index.mjs"],"sourcesContent":["import {Children as $iqq3r$Children, cloneElement as $iqq3r$cloneElement, useState as $iqq3r$useState, useRef as $iqq3r$useRef, useEffect as $iqq3r$useEffect, useCallback as $iqq3r$useCallback, useReducer as $iqq3r$useReducer} from \"react\";\nimport {flushSync as $iqq3r$flushSync} from \"react-dom\";\nimport {useComposedRefs as $iqq3r$useComposedRefs} from \"@radix-ui/react-compose-refs\";\nimport {useLayoutEffect as $iqq3r$useLayoutEffect} from \"@radix-ui/react-use-layout-effect\";\n\n\n\n\n\n\nfunction $fe963b355347cc68$export$3e6543de14f8614f(initialState, machine) {\n return $iqq3r$useReducer((state, event)=>{\n const nextState = machine[state][event];\n return nextState !== null && nextState !== void 0 ? nextState : state;\n }, initialState);\n}\n\n\nconst $921a889cee6df7e8$export$99c2b779aa4e8b8b = (props)=>{\n const { present: present , children: children } = props;\n const presence = $921a889cee6df7e8$var$usePresence(present);\n const child = typeof children === 'function' ? children({\n present: presence.isPresent\n }) : $iqq3r$Children.only(children);\n const ref = $iqq3r$useComposedRefs(presence.ref, child.ref);\n const forceMount = typeof children === 'function';\n return forceMount || presence.isPresent ? /*#__PURE__*/ $iqq3r$cloneElement(child, {\n ref: ref\n }) : null;\n};\n$921a889cee6df7e8$export$99c2b779aa4e8b8b.displayName = 'Presence';\n/* -------------------------------------------------------------------------------------------------\n * usePresence\n * -----------------------------------------------------------------------------------------------*/ function $921a889cee6df7e8$var$usePresence(present) {\n const [node1, setNode] = $iqq3r$useState();\n const stylesRef = $iqq3r$useRef({});\n const prevPresentRef = $iqq3r$useRef(present);\n const prevAnimationNameRef = $iqq3r$useRef('none');\n const initialState = present ? 'mounted' : 'unmounted';\n const [state, send] = $fe963b355347cc68$export$3e6543de14f8614f(initialState, {\n mounted: {\n UNMOUNT: 'unmounted',\n ANIMATION_OUT: 'unmountSuspended'\n },\n unmountSuspended: {\n MOUNT: 'mounted',\n ANIMATION_END: 'unmounted'\n },\n unmounted: {\n MOUNT: 'mounted'\n }\n });\n $iqq3r$useEffect(()=>{\n const currentAnimationName = $921a889cee6df7e8$var$getAnimationName(stylesRef.current);\n prevAnimationNameRef.current = state === 'mounted' ? currentAnimationName : 'none';\n }, [\n state\n ]);\n $iqq3r$useLayoutEffect(()=>{\n const styles = stylesRef.current;\n const wasPresent = prevPresentRef.current;\n const hasPresentChanged = wasPresent !== present;\n if (hasPresentChanged) {\n const prevAnimationName = prevAnimationNameRef.current;\n const currentAnimationName = $921a889cee6df7e8$var$getAnimationName(styles);\n if (present) send('MOUNT');\n else if (currentAnimationName === 'none' || (styles === null || styles === void 0 ? void 0 : styles.display) === 'none') // If there is no exit animation or the element is hidden, animations won't run\n // so we unmount instantly\n send('UNMOUNT');\n else {\n /**\n * When `present` changes to `false`, we check changes to animation-name to\n * determine whether an animation has started. We chose this approach (reading\n * computed styles) because there is no `animationrun` event and `animationstart`\n * fires after `animation-delay` has expired which would be too late.\n */ const isAnimating = prevAnimationName !== currentAnimationName;\n if (wasPresent && isAnimating) send('ANIMATION_OUT');\n else send('UNMOUNT');\n }\n prevPresentRef.current = present;\n }\n }, [\n present,\n send\n ]);\n $iqq3r$useLayoutEffect(()=>{\n if (node1) {\n /**\n * Triggering an ANIMATION_OUT during an ANIMATION_IN will fire an `animationcancel`\n * event for ANIMATION_IN after we have entered `unmountSuspended` state. So, we\n * make sure we only trigger ANIMATION_END for the currently active animation.\n */ const handleAnimationEnd = (event)=>{\n const currentAnimationName = $921a889cee6df7e8$var$getAnimationName(stylesRef.current);\n const isCurrentAnimation = currentAnimationName.includes(event.animationName);\n if (event.target === node1 && isCurrentAnimation) // With React 18 concurrency this update is applied\n // a frame after the animation ends, creating a flash of visible content.\n // By manually flushing we ensure they sync within a frame, removing the flash.\n $iqq3r$flushSync(()=>send('ANIMATION_END')\n );\n };\n const handleAnimationStart = (event)=>{\n if (event.target === node1) // if animation occurred, store its name as the previous animation.\n prevAnimationNameRef.current = $921a889cee6df7e8$var$getAnimationName(stylesRef.current);\n };\n node1.addEventListener('animationstart', handleAnimationStart);\n node1.addEventListener('animationcancel', handleAnimationEnd);\n node1.addEventListener('animationend', handleAnimationEnd);\n return ()=>{\n node1.removeEventListener('animationstart', handleAnimationStart);\n node1.removeEventListener('animationcancel', handleAnimationEnd);\n node1.removeEventListener('animationend', handleAnimationEnd);\n };\n } else // Transition to the unmounted state if the node is removed prematurely.\n // We avoid doing so during cleanup as the node may change but still exist.\n send('ANIMATION_END');\n }, [\n node1,\n send\n ]);\n return {\n isPresent: [\n 'mounted',\n 'unmountSuspended'\n ].includes(state),\n ref: $iqq3r$useCallback((node)=>{\n if (node) stylesRef.current = getComputedStyle(node);\n setNode(node);\n }, [])\n };\n}\n/* -----------------------------------------------------------------------------------------------*/ function $921a889cee6df7e8$var$getAnimationName(styles) {\n return (styles === null || styles === void 0 ? void 0 : styles.animationName) || 'none';\n}\n\n\n\n\nexport {$921a889cee6df7e8$export$99c2b779aa4e8b8b as Presence};\n//# sourceMappingURL=index.mjs.map\n"],"names":["$fe963b355347cc68$export$3e6543de14f8614f","initialState","machine","$iqq3r$useReducer","state","event","nextState","$921a889cee6df7e8$export$99c2b779aa4e8b8b","props","present","children","presence","$921a889cee6df7e8$var$usePresence","child","$iqq3r$Children","ref","$iqq3r$useComposedRefs","$iqq3r$cloneElement","node1","setNode","$iqq3r$useState","stylesRef","$iqq3r$useRef","prevPresentRef","prevAnimationNameRef","send","$iqq3r$useEffect","currentAnimationName","$921a889cee6df7e8$var$getAnimationName","$iqq3r$useLayoutEffect","styles","wasPresent","prevAnimationName","handleAnimationEnd","isCurrentAnimation","$iqq3r$flushSync","handleAnimationStart","$iqq3r$useCallback","node"],"mappings":"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","x_google_ignoreList":[0]}
|
package/dist/index.cjs214.js
CHANGED
|
@@ -1,4 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const
|
|
2
|
-
https://evilmartians.com/chronicles/postcss-8-plugin-migration`),process.env.LANG&&process.env.LANG.startsWith("cn")&&console.warn(o+`: 里面 postcss.plugin 被弃用. 迁移指南:
|
|
3
|
-
https://www.w3ctech.com/topic/2226`));let n=w(...c);return n.postcssPlugin=o,n.postcssVersion=new i().version,n}let s;return Object.defineProperty(r,"postcss",{get(){return s||(s=r()),s}}),r.process=function(c,n,d){return e([r(d)]).process(c,n)},r};e.stringify=j;e.parse=V;e.fromJSON=G;e.list=k;e.comment=t=>new p(t);e.atRule=t=>new m(t);e.decl=t=>new u(t);e.rule=t=>new f(t);e.root=t=>new g(t);e.document=t=>new a(t);e.CssSyntaxError=z;e.Declaration=u;e.Container=W;e.Processor=i;e.Document=a;e.Comment=p;e.Warning=I;e.AtRule=m;e.Result=M;e.Input=T;e.Rule=f;e.Root=g;e.Node=B;L.registerPostcss(e);var F=e;e.default=e;exports.postcss_1=F;
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const x=require("./index.cjs143.js"),t=require("react"),l=require("./index.cjs144.js"),H=require("./index.cjs206.js"),K=require("./index.cjs145.js"),B=require("./index.cjs146.js"),Y=require("./index.cjs150.js"),G=require("./index.cjs148.js"),V=require("./index.cjs204.js"),j=require("./index.cjs147.js"),z=require("./index.cjs207.js"),T="rovingFocusGroup.onEntryFocus",J={bubbles:!1,cancelable:!0},_="RovingFocusGroup",[w,h,Q]=H.createCollection(_),[W,X]=B.createContextScope(_,[Q]),[Z,ee]=W(_),D=t.forwardRef((e,o)=>t.createElement(w.Provider,{scope:e.__scopeRovingFocusGroup},t.createElement(w.Slot,{scope:e.__scopeRovingFocusGroup},t.createElement(te,x({},e,{ref:o}))))),te=t.forwardRef((e,o)=>{const{__scopeRovingFocusGroup:c,orientation:n,loop:m=!1,dir:I,currentTabStopId:F,defaultCurrentTabStopId:g,onCurrentTabStopIdChange:b,onEntryFocus:u,...E}=e,$=t.useRef(null),p=K.useComposedRefs(o,$),v=z.useDirection(I),[s=null,f]=j.useControllableState({prop:F,defaultProp:g,onChange:b}),[R,d]=t.useState(!1),a=V.useCallbackRef(u),q=h(c),C=t.useRef(!1),[M,A]=t.useState(0);return t.useEffect(()=>{const r=$.current;if(r)return r.addEventListener(T,a),()=>r.removeEventListener(T,a)},[a]),t.createElement(Z,{scope:c,orientation:n,dir:v,loop:m,currentTabStopId:s,onItemFocus:t.useCallback(r=>f(r),[f]),onItemShiftTab:t.useCallback(()=>d(!0),[]),onFocusableItemAdd:t.useCallback(()=>A(r=>r+1),[]),onFocusableItemRemove:t.useCallback(()=>A(r=>r-1),[])},t.createElement(G.Primitive.div,x({tabIndex:R||M===0?-1:0,"data-orientation":n},E,{ref:p,style:{outline:"none",...e.style},onMouseDown:l.composeEventHandlers(e.onMouseDown,()=>{C.current=!0}),onFocus:l.composeEventHandlers(e.onFocus,r=>{const N=!C.current;if(r.target===r.currentTarget&&N&&!R){const P=new CustomEvent(T,J);if(r.currentTarget.dispatchEvent(P),!P.defaultPrevented){const S=q().filter(i=>i.focusable),k=S.find(i=>i.active),L=S.find(i=>i.id===s),U=[k,L,...S].filter(Boolean).map(i=>i.ref.current);O(U)}}C.current=!1}),onBlur:l.composeEventHandlers(e.onBlur,()=>d(!1))})))}),oe="RovingFocusGroupItem",y=t.forwardRef((e,o)=>{const{__scopeRovingFocusGroup:c,focusable:n=!0,active:m=!1,tabStopId:I,...F}=e,g=Y.useId(),b=I||g,u=ee(oe,c),E=u.currentTabStopId===b,$=h(c),{onFocusableItemAdd:p,onFocusableItemRemove:v}=u;return t.useEffect(()=>{if(n)return p(),()=>v()},[n,p,v]),t.createElement(w.ItemSlot,{scope:c,id:b,focusable:n,active:m},t.createElement(G.Primitive.span,x({tabIndex:E?0:-1,"data-orientation":u.orientation},F,{ref:o,onMouseDown:l.composeEventHandlers(e.onMouseDown,s=>{n?u.onItemFocus(b):s.preventDefault()}),onFocus:l.composeEventHandlers(e.onFocus,()=>u.onItemFocus(b)),onKeyDown:l.composeEventHandlers(e.onKeyDown,s=>{if(s.key==="Tab"&&s.shiftKey){u.onItemShiftTab();return}if(s.target!==s.currentTarget)return;const f=ce(s,u.orientation,u.dir);if(f!==void 0){s.preventDefault();let d=$().filter(a=>a.focusable).map(a=>a.ref.current);if(f==="last")d.reverse();else if(f==="prev"||f==="next"){f==="prev"&&d.reverse();const a=d.indexOf(s.currentTarget);d=u.loop?se(d,a+1):d.slice(a+1)}setTimeout(()=>O(d))}})})))}),ne={ArrowLeft:"prev",ArrowUp:"prev",ArrowRight:"next",ArrowDown:"next",PageUp:"first",Home:"first",PageDown:"last",End:"last"};function re(e,o){return o!=="rtl"?e:e==="ArrowLeft"?"ArrowRight":e==="ArrowRight"?"ArrowLeft":e}function ce(e,o,c){const n=re(e.key,c);if(!(o==="vertical"&&["ArrowLeft","ArrowRight"].includes(n))&&!(o==="horizontal"&&["ArrowUp","ArrowDown"].includes(n)))return ne[n]}function O(e){const o=document.activeElement;for(const c of e)if(c===o||(c.focus(),document.activeElement!==o))return}function se(e,o){return e.map((c,n)=>e[(o+n)%e.length])}const ue=D,de=y;exports.Item=de;exports.Root=ue;exports.RovingFocusGroup=D;exports.RovingFocusGroupItem=y;exports.createRovingFocusGroupScope=X;
|
|
4
2
|
//# sourceMappingURL=index.cjs214.js.map
|
package/dist/index.cjs214.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.cjs214.js","sources":["../../../node_modules/sanitize-html/node_modules/postcss/lib/postcss.js"],"sourcesContent":["'use strict'\n\nlet CssSyntaxError = require('./css-syntax-error')\nlet Declaration = require('./declaration')\nlet LazyResult = require('./lazy-result')\nlet Container = require('./container')\nlet Processor = require('./processor')\nlet stringify = require('./stringify')\nlet fromJSON = require('./fromJSON')\nlet Document = require('./document')\nlet Warning = require('./warning')\nlet Comment = require('./comment')\nlet AtRule = require('./at-rule')\nlet Result = require('./result.js')\nlet Input = require('./input')\nlet parse = require('./parse')\nlet list = require('./list')\nlet Rule = require('./rule')\nlet Root = require('./root')\nlet Node = require('./node')\n\nfunction postcss(...plugins) {\n if (plugins.length === 1 && Array.isArray(plugins[0])) {\n plugins = plugins[0]\n }\n return new Processor(plugins)\n}\n\npostcss.plugin = function plugin(name, initializer) {\n let warningPrinted = false\n function creator(...args) {\n // eslint-disable-next-line no-console\n if (console && console.warn && !warningPrinted) {\n warningPrinted = true\n // eslint-disable-next-line no-console\n console.warn(\n name +\n ': postcss.plugin was deprecated. Migration guide:\\n' +\n 'https://evilmartians.com/chronicles/postcss-8-plugin-migration'\n )\n if (process.env.LANG && process.env.LANG.startsWith('cn')) {\n /* c8 ignore next 7 */\n // eslint-disable-next-line no-console\n console.warn(\n name +\n ': 里面 postcss.plugin 被弃用. 迁移指南:\\n' +\n 'https://www.w3ctech.com/topic/2226'\n )\n }\n }\n let transformer = initializer(...args)\n transformer.postcssPlugin = name\n transformer.postcssVersion = new Processor().version\n return transformer\n }\n\n let cache\n Object.defineProperty(creator, 'postcss', {\n get() {\n if (!cache) cache = creator()\n return cache\n }\n })\n\n creator.process = function (css, processOpts, pluginOpts) {\n return postcss([creator(pluginOpts)]).process(css, processOpts)\n }\n\n return creator\n}\n\npostcss.stringify = stringify\npostcss.parse = parse\npostcss.fromJSON = fromJSON\npostcss.list = list\n\npostcss.comment = defaults => new Comment(defaults)\npostcss.atRule = defaults => new AtRule(defaults)\npostcss.decl = defaults => new Declaration(defaults)\npostcss.rule = defaults => new Rule(defaults)\npostcss.root = defaults => new Root(defaults)\npostcss.document = defaults => new Document(defaults)\n\npostcss.CssSyntaxError = CssSyntaxError\npostcss.Declaration = Declaration\npostcss.Container = Container\npostcss.Processor = Processor\npostcss.Document = Document\npostcss.Comment = Comment\npostcss.Warning = Warning\npostcss.AtRule = AtRule\npostcss.Result = Result\npostcss.Input = Input\npostcss.Rule = Rule\npostcss.Root = Root\npostcss.Node = Node\n\nLazyResult.registerPostcss(postcss)\n\nmodule.exports = postcss\npostcss.default = postcss\n"],"names":["CssSyntaxError","require$$0","Declaration","require$$1","LazyResult","require$$2","Container","require$$3","Processor","require$$4","stringify","require$$5","fromJSON","require$$6","Document","require$$7","Warning","require$$8","Comment","require$$9","AtRule","require$$10","Result","require$$11","Input","require$$12","parse","require$$13","list","require$$14","Rule","require$$15","Root","require$$16","Node","require$$17","postcss","plugins","name","initializer","warningPrinted","creator","args","transformer","cache","css","processOpts","pluginOpts","defaults","postcss_1"],"mappings":"ooBAEA,IAAIA,EAAiBC,EAAAA,eACjBC,EAAcC,EAAAA,YACdC,EAAaC,EAAAA,WACbC,EAAYC,EAAAA,UACZC,EAAYC,EAAAA,UACZC,EAAYC,EAAAA,YACZC,EAAWC,EAAAA,WACXC,EAAWC,EAAAA,SACXC,EAAUC,EAAAA,QACVC,EAAUC,EAAAA,QACVC,EAASC,EAAAA,OACTC,EAASC,EAAAA,OACTC,EAAQC,EAAAA,MACRC,EAAQC,EAAAA,QACRC,EAAOC,EAAAA,OACPC,EAAOC,EAAAA,KACPC,EAAOC,EAAAA,KACPC,EAAOC,EAAAA,KAEX,SAASC,KAAWC,EAAS,CACvB,OAAAA,EAAQ,SAAW,GAAK,MAAM,QAAQA,EAAQ,CAAC,CAAC,IAClDA,EAAUA,EAAQ,CAAC,GAEd,IAAI7B,EAAU6B,CAAO,CAC9B,CAEAD,EAAQ,OAAS,SAAgBE,EAAMC,EAAa,CAClD,IAAIC,EAAiB,GACrB,SAASC,KAAWC,EAAM,CAEpB,SAAW,QAAQ,MAAQ,CAACF,IACbA,EAAA,GAET,QAAA,KACNF,EACE;AAAA,+DAAA,EAGA,QAAQ,IAAI,MAAQ,QAAQ,IAAI,KAAK,WAAW,IAAI,GAG9C,QAAA,KACNA,EACE;AAAA,mCAAA,GAKJ,IAAAK,EAAcJ,EAAY,GAAGG,CAAI,EACrC,OAAAC,EAAY,cAAgBL,EAChBK,EAAA,eAAiB,IAAInC,EAAA,EAAY,QACtCmC,CACT,CAEI,IAAAC,EACG,cAAA,eAAeH,EAAS,UAAW,CACxC,KAAM,CACJ,OAAKG,IAAOA,EAAQH,EAAQ,GACrBG,CACT,CAAA,CACD,EAEDH,EAAQ,QAAU,SAAUI,EAAKC,EAAaC,EAAY,CACjD,OAAAX,EAAQ,CAACK,EAAQM,CAAU,CAAC,CAAC,EAAE,QAAQF,EAAKC,CAAW,CAAA,EAGzDL,CACT,EAEAL,EAAQ,UAAY1B,EACpB0B,EAAQ,MAAQV,EAChBU,EAAQ,SAAWxB,EACnBwB,EAAQ,KAAOR,EAEfQ,EAAQ,QAAUY,GAAY,IAAI9B,EAAQ8B,CAAQ,EAClDZ,EAAQ,OAASY,GAAY,IAAI5B,EAAO4B,CAAQ,EAChDZ,EAAQ,KAAOY,GAAY,IAAI9C,EAAY8C,CAAQ,EACnDZ,EAAQ,KAAOY,GAAY,IAAIlB,EAAKkB,CAAQ,EAC5CZ,EAAQ,KAAOY,GAAY,IAAIhB,EAAKgB,CAAQ,EAC5CZ,EAAQ,SAAWY,GAAY,IAAIlC,EAASkC,CAAQ,EAEpDZ,EAAQ,eAAiBpC,EACzBoC,EAAQ,YAAclC,EACtBkC,EAAQ,UAAY9B,EACpB8B,EAAQ,UAAY5B,EACpB4B,EAAQ,SAAWtB,EACnBsB,EAAQ,QAAUlB,EAClBkB,EAAQ,QAAUpB,EAClBoB,EAAQ,OAAShB,EACjBgB,EAAQ,OAASd,EACjBc,EAAQ,MAAQZ,EAChBY,EAAQ,KAAON,EACfM,EAAQ,KAAOJ,EACfI,EAAQ,KAAOF,EAEf9B,EAAW,gBAAgBgC,CAAO,MAElCa,EAAiBb,EACjBA,EAAQ,QAAUA","x_google_ignoreList":[0]}
|
|
1
|
+
{"version":3,"file":"index.cjs214.js","sources":["../../../node_modules/@radix-ui/react-roving-focus/dist/index.mjs"],"sourcesContent":["import $98Iye$babelruntimehelpersesmextends from \"@babel/runtime/helpers/esm/extends\";\nimport {forwardRef as $98Iye$forwardRef, createElement as $98Iye$createElement, useRef as $98Iye$useRef, useState as $98Iye$useState, useEffect as $98Iye$useEffect, useCallback as $98Iye$useCallback} from \"react\";\nimport {composeEventHandlers as $98Iye$composeEventHandlers} from \"@radix-ui/primitive\";\nimport {createCollection as $98Iye$createCollection} from \"@radix-ui/react-collection\";\nimport {useComposedRefs as $98Iye$useComposedRefs} from \"@radix-ui/react-compose-refs\";\nimport {createContextScope as $98Iye$createContextScope} from \"@radix-ui/react-context\";\nimport {useId as $98Iye$useId} from \"@radix-ui/react-id\";\nimport {Primitive as $98Iye$Primitive} from \"@radix-ui/react-primitive\";\nimport {useCallbackRef as $98Iye$useCallbackRef} from \"@radix-ui/react-use-callback-ref\";\nimport {useControllableState as $98Iye$useControllableState} from \"@radix-ui/react-use-controllable-state\";\nimport {useDirection as $98Iye$useDirection} from \"@radix-ui/react-direction\";\n\n\n\n\n\n\n\n\n\n\n\n\nconst $d7bdfb9eb0fdf311$var$ENTRY_FOCUS = 'rovingFocusGroup.onEntryFocus';\nconst $d7bdfb9eb0fdf311$var$EVENT_OPTIONS = {\n bubbles: false,\n cancelable: true\n};\n/* -------------------------------------------------------------------------------------------------\n * RovingFocusGroup\n * -----------------------------------------------------------------------------------------------*/ const $d7bdfb9eb0fdf311$var$GROUP_NAME = 'RovingFocusGroup';\nconst [$d7bdfb9eb0fdf311$var$Collection, $d7bdfb9eb0fdf311$var$useCollection, $d7bdfb9eb0fdf311$var$createCollectionScope] = $98Iye$createCollection($d7bdfb9eb0fdf311$var$GROUP_NAME);\nconst [$d7bdfb9eb0fdf311$var$createRovingFocusGroupContext, $d7bdfb9eb0fdf311$export$c7109489551a4f4] = $98Iye$createContextScope($d7bdfb9eb0fdf311$var$GROUP_NAME, [\n $d7bdfb9eb0fdf311$var$createCollectionScope\n]);\nconst [$d7bdfb9eb0fdf311$var$RovingFocusProvider, $d7bdfb9eb0fdf311$var$useRovingFocusContext] = $d7bdfb9eb0fdf311$var$createRovingFocusGroupContext($d7bdfb9eb0fdf311$var$GROUP_NAME);\nconst $d7bdfb9eb0fdf311$export$8699f7c8af148338 = /*#__PURE__*/ $98Iye$forwardRef((props, forwardedRef)=>{\n return /*#__PURE__*/ $98Iye$createElement($d7bdfb9eb0fdf311$var$Collection.Provider, {\n scope: props.__scopeRovingFocusGroup\n }, /*#__PURE__*/ $98Iye$createElement($d7bdfb9eb0fdf311$var$Collection.Slot, {\n scope: props.__scopeRovingFocusGroup\n }, /*#__PURE__*/ $98Iye$createElement($d7bdfb9eb0fdf311$var$RovingFocusGroupImpl, $98Iye$babelruntimehelpersesmextends({}, props, {\n ref: forwardedRef\n }))));\n});\n/*#__PURE__*/ Object.assign($d7bdfb9eb0fdf311$export$8699f7c8af148338, {\n displayName: $d7bdfb9eb0fdf311$var$GROUP_NAME\n});\n/* -----------------------------------------------------------------------------------------------*/ const $d7bdfb9eb0fdf311$var$RovingFocusGroupImpl = /*#__PURE__*/ $98Iye$forwardRef((props, forwardedRef)=>{\n const { __scopeRovingFocusGroup: __scopeRovingFocusGroup , orientation: orientation , loop: loop = false , dir: dir , currentTabStopId: currentTabStopIdProp , defaultCurrentTabStopId: defaultCurrentTabStopId , onCurrentTabStopIdChange: onCurrentTabStopIdChange , onEntryFocus: onEntryFocus , ...groupProps } = props;\n const ref = $98Iye$useRef(null);\n const composedRefs = $98Iye$useComposedRefs(forwardedRef, ref);\n const direction = $98Iye$useDirection(dir);\n const [currentTabStopId = null, setCurrentTabStopId] = $98Iye$useControllableState({\n prop: currentTabStopIdProp,\n defaultProp: defaultCurrentTabStopId,\n onChange: onCurrentTabStopIdChange\n });\n const [isTabbingBackOut, setIsTabbingBackOut] = $98Iye$useState(false);\n const handleEntryFocus = $98Iye$useCallbackRef(onEntryFocus);\n const getItems = $d7bdfb9eb0fdf311$var$useCollection(__scopeRovingFocusGroup);\n const isClickFocusRef = $98Iye$useRef(false);\n const [focusableItemsCount, setFocusableItemsCount] = $98Iye$useState(0);\n $98Iye$useEffect(()=>{\n const node = ref.current;\n if (node) {\n node.addEventListener($d7bdfb9eb0fdf311$var$ENTRY_FOCUS, handleEntryFocus);\n return ()=>node.removeEventListener($d7bdfb9eb0fdf311$var$ENTRY_FOCUS, handleEntryFocus)\n ;\n }\n }, [\n handleEntryFocus\n ]);\n return /*#__PURE__*/ $98Iye$createElement($d7bdfb9eb0fdf311$var$RovingFocusProvider, {\n scope: __scopeRovingFocusGroup,\n orientation: orientation,\n dir: direction,\n loop: loop,\n currentTabStopId: currentTabStopId,\n onItemFocus: $98Iye$useCallback((tabStopId)=>setCurrentTabStopId(tabStopId)\n , [\n setCurrentTabStopId\n ]),\n onItemShiftTab: $98Iye$useCallback(()=>setIsTabbingBackOut(true)\n , []),\n onFocusableItemAdd: $98Iye$useCallback(()=>setFocusableItemsCount((prevCount)=>prevCount + 1\n )\n , []),\n onFocusableItemRemove: $98Iye$useCallback(()=>setFocusableItemsCount((prevCount)=>prevCount - 1\n )\n , [])\n }, /*#__PURE__*/ $98Iye$createElement($98Iye$Primitive.div, $98Iye$babelruntimehelpersesmextends({\n tabIndex: isTabbingBackOut || focusableItemsCount === 0 ? -1 : 0,\n \"data-orientation\": orientation\n }, groupProps, {\n ref: composedRefs,\n style: {\n outline: 'none',\n ...props.style\n },\n onMouseDown: $98Iye$composeEventHandlers(props.onMouseDown, ()=>{\n isClickFocusRef.current = true;\n }),\n onFocus: $98Iye$composeEventHandlers(props.onFocus, (event)=>{\n // We normally wouldn't need this check, because we already check\n // that the focus is on the current target and not bubbling to it.\n // We do this because Safari doesn't focus buttons when clicked, and\n // instead, the wrapper will get focused and not through a bubbling event.\n const isKeyboardFocus = !isClickFocusRef.current;\n if (event.target === event.currentTarget && isKeyboardFocus && !isTabbingBackOut) {\n const entryFocusEvent = new CustomEvent($d7bdfb9eb0fdf311$var$ENTRY_FOCUS, $d7bdfb9eb0fdf311$var$EVENT_OPTIONS);\n event.currentTarget.dispatchEvent(entryFocusEvent);\n if (!entryFocusEvent.defaultPrevented) {\n const items = getItems().filter((item)=>item.focusable\n );\n const activeItem = items.find((item)=>item.active\n );\n const currentItem = items.find((item)=>item.id === currentTabStopId\n );\n const candidateItems = [\n activeItem,\n currentItem,\n ...items\n ].filter(Boolean);\n const candidateNodes = candidateItems.map((item)=>item.ref.current\n );\n $d7bdfb9eb0fdf311$var$focusFirst(candidateNodes);\n }\n }\n isClickFocusRef.current = false;\n }),\n onBlur: $98Iye$composeEventHandlers(props.onBlur, ()=>setIsTabbingBackOut(false)\n )\n })));\n});\n/* -------------------------------------------------------------------------------------------------\n * RovingFocusGroupItem\n * -----------------------------------------------------------------------------------------------*/ const $d7bdfb9eb0fdf311$var$ITEM_NAME = 'RovingFocusGroupItem';\nconst $d7bdfb9eb0fdf311$export$ab9df7c53fe8454 = /*#__PURE__*/ $98Iye$forwardRef((props, forwardedRef)=>{\n const { __scopeRovingFocusGroup: __scopeRovingFocusGroup , focusable: focusable = true , active: active = false , tabStopId: tabStopId , ...itemProps } = props;\n const autoId = $98Iye$useId();\n const id = tabStopId || autoId;\n const context = $d7bdfb9eb0fdf311$var$useRovingFocusContext($d7bdfb9eb0fdf311$var$ITEM_NAME, __scopeRovingFocusGroup);\n const isCurrentTabStop = context.currentTabStopId === id;\n const getItems = $d7bdfb9eb0fdf311$var$useCollection(__scopeRovingFocusGroup);\n const { onFocusableItemAdd: onFocusableItemAdd , onFocusableItemRemove: onFocusableItemRemove } = context;\n $98Iye$useEffect(()=>{\n if (focusable) {\n onFocusableItemAdd();\n return ()=>onFocusableItemRemove()\n ;\n }\n }, [\n focusable,\n onFocusableItemAdd,\n onFocusableItemRemove\n ]);\n return /*#__PURE__*/ $98Iye$createElement($d7bdfb9eb0fdf311$var$Collection.ItemSlot, {\n scope: __scopeRovingFocusGroup,\n id: id,\n focusable: focusable,\n active: active\n }, /*#__PURE__*/ $98Iye$createElement($98Iye$Primitive.span, $98Iye$babelruntimehelpersesmextends({\n tabIndex: isCurrentTabStop ? 0 : -1,\n \"data-orientation\": context.orientation\n }, itemProps, {\n ref: forwardedRef,\n onMouseDown: $98Iye$composeEventHandlers(props.onMouseDown, (event)=>{\n // We prevent focusing non-focusable items on `mousedown`.\n // Even though the item has tabIndex={-1}, that only means take it out of the tab order.\n if (!focusable) event.preventDefault(); // Safari doesn't focus a button when clicked so we run our logic on mousedown also\n else context.onItemFocus(id);\n }),\n onFocus: $98Iye$composeEventHandlers(props.onFocus, ()=>context.onItemFocus(id)\n ),\n onKeyDown: $98Iye$composeEventHandlers(props.onKeyDown, (event)=>{\n if (event.key === 'Tab' && event.shiftKey) {\n context.onItemShiftTab();\n return;\n }\n if (event.target !== event.currentTarget) return;\n const focusIntent = $d7bdfb9eb0fdf311$var$getFocusIntent(event, context.orientation, context.dir);\n if (focusIntent !== undefined) {\n event.preventDefault();\n const items = getItems().filter((item)=>item.focusable\n );\n let candidateNodes = items.map((item)=>item.ref.current\n );\n if (focusIntent === 'last') candidateNodes.reverse();\n else if (focusIntent === 'prev' || focusIntent === 'next') {\n if (focusIntent === 'prev') candidateNodes.reverse();\n const currentIndex = candidateNodes.indexOf(event.currentTarget);\n candidateNodes = context.loop ? $d7bdfb9eb0fdf311$var$wrapArray(candidateNodes, currentIndex + 1) : candidateNodes.slice(currentIndex + 1);\n }\n /**\n * Imperative focus during keydown is risky so we prevent React's batching updates\n * to avoid potential bugs. See: https://github.com/facebook/react/issues/20332\n */ setTimeout(()=>$d7bdfb9eb0fdf311$var$focusFirst(candidateNodes)\n );\n }\n })\n })));\n});\n/*#__PURE__*/ Object.assign($d7bdfb9eb0fdf311$export$ab9df7c53fe8454, {\n displayName: $d7bdfb9eb0fdf311$var$ITEM_NAME\n});\n/* -----------------------------------------------------------------------------------------------*/ // prettier-ignore\nconst $d7bdfb9eb0fdf311$var$MAP_KEY_TO_FOCUS_INTENT = {\n ArrowLeft: 'prev',\n ArrowUp: 'prev',\n ArrowRight: 'next',\n ArrowDown: 'next',\n PageUp: 'first',\n Home: 'first',\n PageDown: 'last',\n End: 'last'\n};\nfunction $d7bdfb9eb0fdf311$var$getDirectionAwareKey(key, dir) {\n if (dir !== 'rtl') return key;\n return key === 'ArrowLeft' ? 'ArrowRight' : key === 'ArrowRight' ? 'ArrowLeft' : key;\n}\nfunction $d7bdfb9eb0fdf311$var$getFocusIntent(event, orientation, dir) {\n const key = $d7bdfb9eb0fdf311$var$getDirectionAwareKey(event.key, dir);\n if (orientation === 'vertical' && [\n 'ArrowLeft',\n 'ArrowRight'\n ].includes(key)) return undefined;\n if (orientation === 'horizontal' && [\n 'ArrowUp',\n 'ArrowDown'\n ].includes(key)) return undefined;\n return $d7bdfb9eb0fdf311$var$MAP_KEY_TO_FOCUS_INTENT[key];\n}\nfunction $d7bdfb9eb0fdf311$var$focusFirst(candidates) {\n const PREVIOUSLY_FOCUSED_ELEMENT = document.activeElement;\n for (const candidate of candidates){\n // if focus is already where we want to go, we don't want to keep going through the candidates\n if (candidate === PREVIOUSLY_FOCUSED_ELEMENT) return;\n candidate.focus();\n if (document.activeElement !== PREVIOUSLY_FOCUSED_ELEMENT) return;\n }\n}\n/**\n * Wraps an array around itself at a given start index\n * Example: `wrapArray(['a', 'b', 'c', 'd'], 2) === ['c', 'd', 'a', 'b']`\n */ function $d7bdfb9eb0fdf311$var$wrapArray(array, startIndex) {\n return array.map((_, index)=>array[(startIndex + index) % array.length]\n );\n}\nconst $d7bdfb9eb0fdf311$export$be92b6f5f03c0fe9 = $d7bdfb9eb0fdf311$export$8699f7c8af148338;\nconst $d7bdfb9eb0fdf311$export$6d08773d2e66f8f2 = $d7bdfb9eb0fdf311$export$ab9df7c53fe8454;\n\n\n\n\nexport {$d7bdfb9eb0fdf311$export$c7109489551a4f4 as createRovingFocusGroupScope, $d7bdfb9eb0fdf311$export$8699f7c8af148338 as RovingFocusGroup, $d7bdfb9eb0fdf311$export$ab9df7c53fe8454 as RovingFocusGroupItem, $d7bdfb9eb0fdf311$export$be92b6f5f03c0fe9 as Root, $d7bdfb9eb0fdf311$export$6d08773d2e66f8f2 as Item};\n//# sourceMappingURL=index.mjs.map\n"],"names":["$d7bdfb9eb0fdf311$var$ENTRY_FOCUS","$d7bdfb9eb0fdf311$var$EVENT_OPTIONS","$d7bdfb9eb0fdf311$var$GROUP_NAME","$d7bdfb9eb0fdf311$var$Collection","$d7bdfb9eb0fdf311$var$useCollection","$d7bdfb9eb0fdf311$var$createCollectionScope","$98Iye$createCollection","$d7bdfb9eb0fdf311$var$createRovingFocusGroupContext","$d7bdfb9eb0fdf311$export$c7109489551a4f4","$98Iye$createContextScope","$d7bdfb9eb0fdf311$var$RovingFocusProvider","$d7bdfb9eb0fdf311$var$useRovingFocusContext","$d7bdfb9eb0fdf311$export$8699f7c8af148338","$98Iye$forwardRef","props","forwardedRef","$98Iye$createElement","$d7bdfb9eb0fdf311$var$RovingFocusGroupImpl","$98Iye$babelruntimehelpersesmextends","__scopeRovingFocusGroup","orientation","loop","dir","currentTabStopIdProp","defaultCurrentTabStopId","onCurrentTabStopIdChange","onEntryFocus","groupProps","ref","$98Iye$useRef","composedRefs","$98Iye$useComposedRefs","direction","$98Iye$useDirection","currentTabStopId","setCurrentTabStopId","$98Iye$useControllableState","isTabbingBackOut","setIsTabbingBackOut","$98Iye$useState","handleEntryFocus","$98Iye$useCallbackRef","getItems","isClickFocusRef","focusableItemsCount","setFocusableItemsCount","$98Iye$useEffect","node","$98Iye$useCallback","tabStopId","prevCount","$98Iye$Primitive","$98Iye$composeEventHandlers","event","isKeyboardFocus","entryFocusEvent","items","item","activeItem","currentItem","candidateNodes","$d7bdfb9eb0fdf311$var$focusFirst","$d7bdfb9eb0fdf311$var$ITEM_NAME","$d7bdfb9eb0fdf311$export$ab9df7c53fe8454","focusable","active","itemProps","autoId","$98Iye$useId","id","context","isCurrentTabStop","onFocusableItemAdd","onFocusableItemRemove","focusIntent","$d7bdfb9eb0fdf311$var$getFocusIntent","currentIndex","$d7bdfb9eb0fdf311$var$wrapArray","$d7bdfb9eb0fdf311$var$MAP_KEY_TO_FOCUS_INTENT","$d7bdfb9eb0fdf311$var$getDirectionAwareKey","key","candidates","PREVIOUSLY_FOCUSED_ELEMENT","candidate","array","startIndex","_","index","$d7bdfb9eb0fdf311$export$be92b6f5f03c0fe9","$d7bdfb9eb0fdf311$export$6d08773d2e66f8f2"],"mappings":"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","x_google_ignoreList":[0]}
|
package/dist/index.cjs215.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.
|
|
1
|
+
"use strict";const a=require("./index.cjs369.js"),l=require("react"),s=require("./index.cjs410.js"),i=require("./index.cjs411.js");function u(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const r in e)if(r!=="default"){const c=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(t,r,c.get?c:{enumerable:!0,get:()=>e[r]})}}return t.default=e,Object.freeze(t)}const o=u(l);var n=o.forwardRef(function(e,t){return o.createElement(s.RemoveScroll,a.__assign({},e,{ref:t,sideCar:i}))});n.classNames=s.RemoveScroll.classNames;const f=n;module.exports=f;
|
|
2
2
|
//# sourceMappingURL=index.cjs215.js.map
|
package/dist/index.cjs215.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.cjs215.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
1
|
+
{"version":3,"file":"index.cjs215.js","sources":["../../../node_modules/react-remove-scroll/dist/es2015/Combination.js"],"sourcesContent":["import { __assign } from \"tslib\";\nimport * as React from 'react';\nimport { RemoveScroll } from './UI';\nimport SideCar from './sidecar';\nvar ReactRemoveScroll = React.forwardRef(function (props, ref) { return (React.createElement(RemoveScroll, __assign({}, props, { ref: ref, sideCar: SideCar }))); });\nReactRemoveScroll.classNames = RemoveScroll.classNames;\nexport default ReactRemoveScroll;\n"],"names":["ReactRemoveScroll","React","props","ref","RemoveScroll","__assign","SideCar","$01b9c$RemoveScroll"],"mappings":"6ZAIA,IAAIA,EAAoBC,EAAM,WAAW,SAAUC,EAAOC,EAAK,CAAE,OAAQF,EAAM,cAAcG,EAAc,aAAAC,EAAA,SAAS,CAAC,EAAGH,EAAO,CAAE,IAAAC,EAAU,QAASG,CAAQ,CAAC,CAAC,CAAI,CAAC,EACnKN,EAAkB,WAAaI,EAAa,aAAA,WAC5C,MAAAG,EAAeP","x_google_ignoreList":[0]}
|
package/dist/index.cjs216.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react"),o=globalThis!=null&&globalThis.document?e.useLayoutEffect:()=>{};exports.useLayoutEffect=o;
|
|
2
2
|
//# sourceMappingURL=index.cjs216.js.map
|
package/dist/index.cjs216.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.cjs216.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
1
|
+
{"version":3,"file":"index.cjs216.js","sources":["../../../node_modules/@radix-ui/react-use-layout-effect/dist/index.mjs"],"sourcesContent":["import {useLayoutEffect as $dxlwH$useLayoutEffect} from \"react\";\n\n\n/**\n * On the server, React emits a warning when calling `useLayoutEffect`.\n * This is because neither `useLayoutEffect` nor `useEffect` run on the server.\n * We use this safe version which suppresses the warning by replacing it with a noop on the server.\n *\n * See: https://reactjs.org/docs/hooks-reference.html#uselayouteffect\n */ const $9f79659886946c16$export$e5c5a5f917a5871c = Boolean(globalThis === null || globalThis === void 0 ? void 0 : globalThis.document) ? $dxlwH$useLayoutEffect : ()=>{};\n\n\n\n\nexport {$9f79659886946c16$export$e5c5a5f917a5871c as useLayoutEffect};\n//# sourceMappingURL=index.mjs.map\n"],"names":["$9f79659886946c16$export$e5c5a5f917a5871c","$dxlwH$useLayoutEffect"],"mappings":"yGASUA,EAAoD,YAAe,MAAyC,WAAW,SAAYC,EAAsB,gBAAG,IAAI,CAAA","x_google_ignoreList":[0]}
|
package/dist/index.cjs217.js
CHANGED
|
@@ -1,9 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});function
|
|
2
|
-
`),t=t.replace(/\r/g,`
|
|
3
|
-
`);const s=t.split(`
|
|
4
|
-
|
|
5
|
-
`),a=s.shift();if(!a.startsWith("WEBVTT"))throw new i('Must start with "WEBVTT"');const l=a.split(`
|
|
6
|
-
`),u=l[0].replace("WEBVTT","");if(u.length>0&&u[0]!==" "&&u[0]!==" ")throw new i("Header comment must start with space or tab");if(s.length===0&&l.length===1)return{valid:!0,strict:o,cues:[],errors:[]};if(!r&&l.length>1&&l[1]!=="")throw new i("Missing blank line after signature");const{cues:n,errors:c}=b(s,o);if(o&&c.length>0)throw c[0];const f=r?w(l):null,m={valid:c.length===0,strict:o,cues:n,errors:c};return r&&(m.meta=f),m}function w(t){const e={};return t.slice(1).forEach(r=>{const o=r.indexOf(":"),s=r.slice(0,o).trim(),a=r.slice(o+1).trim();e[s]=a}),Object.keys(e).length>0?e:null}function b(t,e){const r=[];return{cues:t.map((s,a)=>{try{return E(s,a,e)}catch(l){return r.push(l),null}}).filter(Boolean),errors:r}}function E(t,e,r){let o="",s=0,a=.01,l="",u="";const n=t.split(`
|
|
7
|
-
`).filter(Boolean);if(n.length>0&&n[0].trim().startsWith("NOTE"))return null;if(n.length===1&&!n[0].includes("-->"))throw new i(`Cue identifier cannot be standalone (cue #${e})`);if(n.length>1&&!(n[0].includes("-->")||n[1].includes("-->"))){const f=`Cue identifier needs to be followed by timestamp (cue #${e})`;throw new i(f)}n.length>1&&n[1].includes("-->")&&(o=n.shift());const c=typeof n[0]=="string"&&n[0].split(" --> ");if(c.length!==2||!p(c[0])||!p(c[1]))throw new i(`Invalid cue timestamp (cue #${e})`);if(s=d(c[0]),a=d(c[1]),r){if(s>a)throw new i(`Start timestamp greater than end (cue #${e})`);if(a<=s)throw new i(`End must be greater than start (cue #${e})`)}if(!r&&a<s)throw new i(`End must be greater or equal to start when not strict (cue #${e})`);return u=c[1].replace(h,"").trim(),n.shift(),l=n.join(`
|
|
8
|
-
`),l?{identifier:o,start:s,end:a,text:l,styles:u}:!1}function p(t){return h.test(t)}function d(t){const e=t.match(h);let r=parseFloat(e[1]||0)*60*60;return r+=parseFloat(e[2])*60,r+=parseFloat(e[3]),r}var T={ParserError:i,parse:g};exports.parser=T;
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("react");function a(e){const o=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const t in e)if(t!=="default"){const c=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(o,t,c.get?c:{enumerable:!0,get:()=>e[t]})}}return o.default=e,Object.freeze(o)}const n=a(r);var u=globalThis!=null&&globalThis.document?n.useLayoutEffect:()=>{};exports.useLayoutEffect=u;
|
|
9
2
|
//# sourceMappingURL=index.cjs217.js.map
|
package/dist/index.cjs217.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.cjs217.js","sources":["../../../node_modules/
|
|
1
|
+
{"version":3,"file":"index.cjs217.js","sources":["../../../node_modules/@radix-ui/react-dialog/node_modules/@radix-ui/react-use-layout-effect/dist/index.mjs"],"sourcesContent":["// packages/react/use-layout-effect/src/useLayoutEffect.tsx\nimport * as React from \"react\";\nvar useLayoutEffect2 = Boolean(globalThis?.document) ? React.useLayoutEffect : () => {\n};\nexport {\n useLayoutEffect2 as useLayoutEffect\n};\n//# sourceMappingURL=index.mjs.map\n"],"names":["useLayoutEffect2","React"],"mappings":"mYAEG,IAACA,EAA2B,6BAAY,SAAYC,EAAM,gBAAkB,IAAM,CACrF","x_google_ignoreList":[0]}
|
package/dist/index.cjs218.js
CHANGED
|
@@ -1,14 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});function
|
|
2
|
-
`;if(t.meta){if(typeof t.meta!="object"||Array.isArray(t.meta))throw new r("Metadata must be an object");Object.entries(t.meta).forEach(o=>{if(typeof o[1]!="string")throw new r(`Metadata value for "${o[0]}" must be string`);e+=`${o[0]}: ${o[1]}
|
|
3
|
-
`})}let n=null;return t.cues.forEach((o,a)=>{if(n&&n>o.start)throw new r(`Cue number ${a} is not in chronological order`);n=o.start,e+=`
|
|
4
|
-
`,e+=f(o),e+=`
|
|
5
|
-
`}),e}function f(t){if(typeof t!="object")throw new r("Cue malformed: not of type object");if(typeof t.identifier!="string"&&typeof t.identifier!="number"&&t.identifier!==null)throw new r(`Cue malformed: identifier value is not a string.
|
|
6
|
-
${JSON.stringify(t)}`);if(isNaN(t.start))throw new r(`Cue malformed: null start value.
|
|
7
|
-
${JSON.stringify(t)}`);if(isNaN(t.end))throw new r(`Cue malformed: null end value.
|
|
8
|
-
${JSON.stringify(t)}`);if(t.start>=t.end)throw new r(`Cue malformed: start timestamp greater than end
|
|
9
|
-
${JSON.stringify(t)}`);if(typeof t.text!="string")throw new r(`Cue malformed: null text value.
|
|
10
|
-
${JSON.stringify(t)}`);if(typeof t.styles!="string")throw new r(`Cue malformed: null styles value.
|
|
11
|
-
${JSON.stringify(t)}`);let e="";t.identifier.length>0&&(e+=`${t.identifier}
|
|
12
|
-
`);const n=s(t.start),o=s(t.end);return e+=`${n} --> ${o}`,e+=t.styles?` ${t.styles}`:"",e+=`
|
|
13
|
-
${t.text}`,e}function s(t){const e=i(m(t),2),n=i(u(t),2),o=i(d(t),2),a=i(w(t),3);return`${e}:${n}:${o}.${a}`}function i(t,e){let n=`${t}`;for(;n.length<e;)n=`0${n}`;return n}function m(t){return Math.floor(t/60/60)}function u(t){return Math.floor(t/60)%60}function d(t){return Math.floor(t%60)}function w(t){return Math.floor((t%1).toFixed(4)*1e3)}var h={CompilerError:r,compile:l};exports.compiler=h;
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const c=require("react");function o(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const r in e)if(r!=="default"){const n=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(t,r,n.get?n:{enumerable:!0,get:()=>e[r]})}}return t.default=e,Object.freeze(t)}const u=o(c);function s(e){const t=u.useRef(e);return u.useEffect(()=>{t.current=e}),u.useMemo(()=>(...r)=>{var n;return(n=t.current)==null?void 0:n.call(t,...r)},[])}exports.useCallbackRef=s;
|
|
14
2
|
//# sourceMappingURL=index.cjs218.js.map
|
package/dist/index.cjs218.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.cjs218.js","sources":["../../../node_modules/
|
|
1
|
+
{"version":3,"file":"index.cjs218.js","sources":["../../../node_modules/@radix-ui/react-dialog/node_modules/@radix-ui/react-use-callback-ref/dist/index.mjs"],"sourcesContent":["// packages/react/use-callback-ref/src/useCallbackRef.tsx\nimport * as React from \"react\";\nfunction useCallbackRef(callback) {\n const callbackRef = React.useRef(callback);\n React.useEffect(() => {\n callbackRef.current = callback;\n });\n return React.useMemo(() => (...args) => callbackRef.current?.(...args), []);\n}\nexport {\n useCallbackRef\n};\n//# sourceMappingURL=index.mjs.map\n"],"names":["useCallbackRef","callback","callbackRef","React","args","_a"],"mappings":"mYAEA,SAASA,EAAeC,EAAU,CAChC,MAAMC,EAAcC,EAAM,OAAOF,CAAQ,EACzCE,OAAAA,EAAM,UAAU,IAAM,CACpBD,EAAY,QAAUD,CAC1B,CAAG,EACME,EAAM,QAAQ,IAAM,IAAIC,IAAI,OAAK,OAAAC,EAAAH,EAAY,UAAZ,YAAAG,EAAA,KAAAH,EAAsB,GAAGE,IAAO,CAAA,CAAE,CAC5E","x_google_ignoreList":[0]}
|
package/dist/index.cjs219.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("react"),a=require("./index.cjs218.js");function s(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const n in e)if(n!=="default"){const r=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(t,n,r.get?r:{enumerable:!0,get:()=>e[n]})}}return t.default=e,Object.freeze(t)}const u=s(o);function i(e,t=globalThis==null?void 0:globalThis.document){const n=a.useCallbackRef(e);u.useEffect(()=>{const r=c=>{c.key==="Escape"&&n(c)};return t.addEventListener("keydown",r,{capture:!0}),()=>t.removeEventListener("keydown",r,{capture:!0})},[n,t])}exports.useEscapeKeydown=i;
|
|
2
2
|
//# sourceMappingURL=index.cjs219.js.map
|
package/dist/index.cjs219.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.cjs219.js","sources":["../../../node_modules/
|
|
1
|
+
{"version":3,"file":"index.cjs219.js","sources":["../../../node_modules/@radix-ui/react-dialog/node_modules/@radix-ui/react-use-escape-keydown/dist/index.mjs"],"sourcesContent":["// packages/react/use-escape-keydown/src/useEscapeKeydown.tsx\nimport * as React from \"react\";\nimport { useCallbackRef } from \"@radix-ui/react-use-callback-ref\";\nfunction useEscapeKeydown(onEscapeKeyDownProp, ownerDocument = globalThis?.document) {\n const onEscapeKeyDown = useCallbackRef(onEscapeKeyDownProp);\n React.useEffect(() => {\n const handleKeyDown = (event) => {\n if (event.key === \"Escape\") {\n onEscapeKeyDown(event);\n }\n };\n ownerDocument.addEventListener(\"keydown\", handleKeyDown, { capture: true });\n return () => ownerDocument.removeEventListener(\"keydown\", handleKeyDown, { capture: true });\n }, [onEscapeKeyDown, ownerDocument]);\n}\nexport {\n useEscapeKeydown\n};\n//# sourceMappingURL=index.mjs.map\n"],"names":["useEscapeKeydown","onEscapeKeyDownProp","ownerDocument","onEscapeKeyDown","useCallbackRef","React","handleKeyDown","event"],"mappings":"kaAGA,SAASA,EAAiBC,EAAqBC,EAAgB,mCAAY,SAAU,CACnF,MAAMC,EAAkBC,iBAAeH,CAAmB,EAC1DI,EAAM,UAAU,IAAM,CACpB,MAAMC,EAAiBC,GAAU,CAC3BA,EAAM,MAAQ,UAChBJ,EAAgBI,CAAK,CAE7B,EACI,OAAAL,EAAc,iBAAiB,UAAWI,EAAe,CAAE,QAAS,EAAI,CAAE,EACnE,IAAMJ,EAAc,oBAAoB,UAAWI,EAAe,CAAE,QAAS,EAAI,CAAE,CAC9F,EAAK,CAACH,EAAiBD,CAAa,CAAC,CACrC","x_google_ignoreList":[0]}
|
package/dist/index.cjs220.js
CHANGED
|
@@ -1,18 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});
|
|
2
|
-
X-TIMESTAMP-MAP=MPEGTS:${e},LOCAL:00:00:00.000
|
|
3
|
-
|
|
4
|
-
${$(i.cues)}
|
|
5
|
-
`,h=l(a);r.push({filename:h,content:g})}),r}function f(n,t){const e=c(n,t),o=T(e);return`#EXTM3U
|
|
6
|
-
#EXT-X-TARGETDURATION:${Math.round(S(e))}
|
|
7
|
-
#EXT-X-VERSION:3
|
|
8
|
-
#EXT-X-MEDIA-SEQUENCE:0
|
|
9
|
-
#EXT-X-PLAYLIST-TYPE:VOD
|
|
10
|
-
${o}
|
|
11
|
-
#EXT-X-ENDLIST
|
|
12
|
-
`}function s(n,t){return`${"0".repeat(Math.max(0,t-n.toString().length))}${n}`}function l(n){return`${n}.vtt`}function T(n){const t=[];return n.forEach((e,o)=>{t.push(`#EXTINF:${e.duration.toFixed(5)},
|
|
13
|
-
${l(o)}`)}),t.join(`
|
|
14
|
-
`)}function S(n){let t=0;return n.forEach(e=>{e.duration>t&&(t=e.duration)}),t}function $(n){const t=[];return n.forEach(e=>{t.push(p(e))}),t.join(`
|
|
15
|
-
|
|
16
|
-
`)}function p(n){const t=[];n.identifier&&t.push(n.identifier);const e=u(n.start),o=u(n.end),r=n.styles?`${n.styles}`:"";return t.push(`${e} --> ${o} ${r}`),t.push(n.text),t.join(`
|
|
17
|
-
`)}function u(n){const t=(n%1).toFixed(3);n=Math.round(n-t);const e=Math.floor(n/3600),o=Math.floor((n-e*3600)/60),r=n-e*3600-o*60;return`${`${s(e,2)}:`}${s(o,2)}:${s(r,2)}.${s(t*1e3,3)}`}var m={hlsSegment:E,hlsSegmentPlaylist:f};exports.hls=m;
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});var u=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function f(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function l(e){if(e.__esModule)return e;var r=e.default;if(typeof r=="function"){var t=function o(){return this instanceof o?Reflect.construct(r,arguments,this.constructor):r.apply(this,arguments)};t.prototype=r.prototype}else t={};return Object.defineProperty(t,"__esModule",{value:!0}),Object.keys(e).forEach(function(o){var n=Object.getOwnPropertyDescriptor(e,o);Object.defineProperty(t,o,n.get?n:{enumerable:!0,get:function(){return e[o]}})}),t}exports.commonjsGlobal=u;exports.getAugmentedNamespace=l;exports.getDefaultExportFromCjs=f;
|
|
18
2
|
//# sourceMappingURL=index.cjs220.js.map
|
package/dist/index.cjs220.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.cjs220.js","sources":[
|
|
1
|
+
{"version":3,"file":"index.cjs220.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
package/dist/index.cjs221.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(
|
|
1
|
+
"use strict";const u=require("./index.cjs220.js"),H=require("./index.cjs227.js");require("./index.cjs375.js");require("./index.cjs376.js");require("./index.cjs377.js");require("./index.cjs378.js");require("./index.cjs379.js");const F=require("./index.cjs380.js"),i=require("./index.cjs381.js"),s=require("./index.cjs382.js"),b=require("./index.cjs383.js"),G=require("./index.cjs384.js");(function(n){var D=u.commonjsGlobal&&u.commonjsGlobal.__createBinding||(Object.create?function(e,r,t,a){a===void 0&&(a=t);var o=Object.getOwnPropertyDescriptor(r,t);(!o||("get"in o?!r.__esModule:o.writable||o.configurable))&&(o={enumerable:!0,get:function(){return r[t]}}),Object.defineProperty(e,a,o)}:function(e,r,t,a){a===void 0&&(a=t),e[a]=r[t]}),j=u.commonjsGlobal&&u.commonjsGlobal.__setModuleDefault||(Object.create?function(e,r){Object.defineProperty(e,"default",{enumerable:!0,value:r})}:function(e,r){e.default=r}),l=u.commonjsGlobal&&u.commonjsGlobal.__importStar||function(e){if(e&&e.__esModule)return e;var r={};if(e!=null)for(var t in e)t!=="default"&&Object.prototype.hasOwnProperty.call(e,t)&&D(r,e,t);return j(r,e),r},v=u.commonjsGlobal&&u.commonjsGlobal.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(n,"__esModule",{value:!0}),n.DomUtils=n.parseFeed=n.getFeed=n.ElementType=n.Tokenizer=n.createDomStream=n.parseDOM=n.parseDocument=n.DefaultHandler=n.DomHandler=n.Parser=void 0;var c=s.__exports,O=s.__exports;Object.defineProperty(n,"Parser",{enumerable:!0,get:function(){return O.Parser}});var _=b.__exports,d=b.__exports;Object.defineProperty(n,"DomHandler",{enumerable:!0,get:function(){return d.DomHandler}}),Object.defineProperty(n,"DefaultHandler",{enumerable:!0,get:function(){return d.DomHandler}});function f(e,r){var t=new _.DomHandler(void 0,r);return new c.Parser(t,r).end(e),t.root}n.parseDocument=f;function m(e,r){return f(e,r).children}n.parseDOM=m;function P(e,r,t){var a=new _.DomHandler(e,r,t);return new c.Parser(a,r)}n.createDomStream=P;var g=G.__exports;Object.defineProperty(n,"Tokenizer",{enumerable:!0,get:function(){return v(g).default}}),n.ElementType=l(F.__exports);var p=i.__exports,y=i.__exports;Object.defineProperty(n,"getFeed",{enumerable:!0,get:function(){return y.getFeed}});var q={xmlMode:!0};function M(e,r){return r===void 0&&(r=q),(0,p.getFeed)(m(e,r))}n.parseFeed=M,n.DomUtils=l(i.__exports)})(H.__exports);
|
|
2
2
|
//# sourceMappingURL=index.cjs221.js.map
|
package/dist/index.cjs221.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.cjs221.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
1
|
+
{"version":3,"file":"index.cjs221.js","sources":["../../../node_modules/htmlparser2/lib/index.js"],"sourcesContent":["\"use strict\";\nvar __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n var desc = Object.getOwnPropertyDescriptor(m, k);\n if (!desc || (\"get\" in desc ? !m.__esModule : desc.writable || desc.configurable)) {\n desc = { enumerable: true, get: function() { return m[k]; } };\n }\n Object.defineProperty(o, k2, desc);\n}) : (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n}));\nvar __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {\n Object.defineProperty(o, \"default\", { enumerable: true, value: v });\n}) : function(o, v) {\n o[\"default\"] = v;\n});\nvar __importStar = (this && this.__importStar) || function (mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k in mod) if (k !== \"default\" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);\n __setModuleDefault(result, mod);\n return result;\n};\nvar __importDefault = (this && this.__importDefault) || function (mod) {\n return (mod && mod.__esModule) ? mod : { \"default\": mod };\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.DomUtils = exports.parseFeed = exports.getFeed = exports.ElementType = exports.Tokenizer = exports.createDomStream = exports.parseDOM = exports.parseDocument = exports.DefaultHandler = exports.DomHandler = exports.Parser = void 0;\nvar Parser_js_1 = require(\"./Parser.js\");\nvar Parser_js_2 = require(\"./Parser.js\");\nObject.defineProperty(exports, \"Parser\", { enumerable: true, get: function () { return Parser_js_2.Parser; } });\nvar domhandler_1 = require(\"domhandler\");\nvar domhandler_2 = require(\"domhandler\");\nObject.defineProperty(exports, \"DomHandler\", { enumerable: true, get: function () { return domhandler_2.DomHandler; } });\n// Old name for DomHandler\nObject.defineProperty(exports, \"DefaultHandler\", { enumerable: true, get: function () { return domhandler_2.DomHandler; } });\n// Helper methods\n/**\n * Parses the data, returns the resulting document.\n *\n * @param data The data that should be parsed.\n * @param options Optional options for the parser and DOM builder.\n */\nfunction parseDocument(data, options) {\n var handler = new domhandler_1.DomHandler(undefined, options);\n new Parser_js_1.Parser(handler, options).end(data);\n return handler.root;\n}\nexports.parseDocument = parseDocument;\n/**\n * Parses data, returns an array of the root nodes.\n *\n * Note that the root nodes still have a `Document` node as their parent.\n * Use `parseDocument` to get the `Document` node instead.\n *\n * @param data The data that should be parsed.\n * @param options Optional options for the parser and DOM builder.\n * @deprecated Use `parseDocument` instead.\n */\nfunction parseDOM(data, options) {\n return parseDocument(data, options).children;\n}\nexports.parseDOM = parseDOM;\n/**\n * Creates a parser instance, with an attached DOM handler.\n *\n * @param callback A callback that will be called once parsing has been completed.\n * @param options Optional options for the parser and DOM builder.\n * @param elementCallback An optional callback that will be called every time a tag has been completed inside of the DOM.\n */\nfunction createDomStream(callback, options, elementCallback) {\n var handler = new domhandler_1.DomHandler(callback, options, elementCallback);\n return new Parser_js_1.Parser(handler, options);\n}\nexports.createDomStream = createDomStream;\nvar Tokenizer_js_1 = require(\"./Tokenizer.js\");\nObject.defineProperty(exports, \"Tokenizer\", { enumerable: true, get: function () { return __importDefault(Tokenizer_js_1).default; } });\n/*\n * All of the following exports exist for backwards-compatibility.\n * They should probably be removed eventually.\n */\nexports.ElementType = __importStar(require(\"domelementtype\"));\nvar domutils_1 = require(\"domutils\");\nvar domutils_2 = require(\"domutils\");\nObject.defineProperty(exports, \"getFeed\", { enumerable: true, get: function () { return domutils_2.getFeed; } });\nvar parseFeedDefaultOptions = { xmlMode: true };\n/**\n * Parse a feed.\n *\n * @param feed The feed that should be parsed, as a string.\n * @param options Optionally, options for parsing. When using this, you should set `xmlMode` to `true`.\n */\nfunction parseFeed(feed, options) {\n if (options === void 0) { options = parseFeedDefaultOptions; }\n return (0, domutils_1.getFeed)(parseDOM(feed, options));\n}\nexports.parseFeed = parseFeed;\nexports.DomUtils = __importStar(require(\"domutils\"));\n//# sourceMappingURL=index.js.map"],"names":["__createBinding","this","o","m","k","k2","desc","__setModuleDefault","v","__importStar","mod","result","__importDefault","exports","Parser_js_1","require$$0","Parser_js_2","domhandler_1","require$$1","domhandler_2","parseDocument","data","options","handler","parseDOM","createDomStream","callback","elementCallback","Tokenizer_js_1","require$$2","require$$3","domutils_1","require$$4","domutils_2","parseFeedDefaultOptions","parseFeed","feed"],"mappings":"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","x_google_ignoreList":[0]}
|
package/dist/index.cjs222.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});var Te=Object.defineProperty,Se=(e,t,i)=>t in e?Te(e,t,{enumerable:!0,configurable:!0,writable:!0,value:i}):e[t]=i,T=(e,t,i)=>(Se(e,typeof t!="symbol"?t+"":t,i),i);const s=[];Object.freeze(s);const B={id:"https://iiif-parser/annotation-page",type:"AnnotationPage",behavior:s,motivation:null,label:null,thumbnail:s,summary:null,requiredStatement:null,metadata:s,rights:null,provider:s,items:s,seeAlso:s,homepage:s,logo:s,rendering:s,service:s},H={id:"https://iiif-parser/empty-canvas",type:"Canvas",label:null,behavior:s,motivation:null,thumbnail:s,posterCanvas:null,accompanyingCanvas:null,placeholderCanvas:null,summary:null,requiredStatement:null,metadata:s,rights:null,navDate:null,provider:s,items:s,annotations:s,seeAlso:s,homepage:s,logo:s,partOf:s,rendering:s,service:s,duration:0,height:0,width:0},Y={id:"https://iiif-parser/empty-collection",type:"Collection",label:null,viewingDirection:"left-to-right",behavior:s,motivation:null,thumbnail:s,posterCanvas:null,accompanyingCanvas:null,placeholderCanvas:null,summary:null,requiredStatement:null,metadata:s,rights:null,navDate:null,provider:s,items:s,annotations:s,seeAlso:s,homepage:s,logo:s,partOf:s,rendering:s,service:s,services:s},K={id:"https://iiif-parser/empty-manifest",type:"Manifest",annotations:s,behavior:s,homepage:s,items:s,label:null,logo:s,metadata:s,motivation:null,navDate:null,provider:s,partOf:s,posterCanvas:null,accompanyingCanvas:null,placeholderCanvas:null,rendering:s,requiredStatement:null,rights:null,seeAlso:s,service:s,services:s,start:null,structures:s,summary:null,thumbnail:s,viewingDirection:"left-to-right"},Q={id:"https://iiif-parser/empty-canvas",type:"Range",label:null,behavior:s,motivation:null,thumbnail:s,posterCanvas:null,accompanyingCanvas:null,placeholderCanvas:null,summary:null,requiredStatement:null,metadata:s,rights:null,navDate:null,provider:s,items:s,annotations:s,seeAlso:s,homepage:s,logo:s,partOf:s,rendering:s,service:s,start:null,supplementary:null,viewingDirection:"left-to-right"},X={id:"https://iiif-parser/empty-agent",type:"Agent",label:{},logo:s,seeAlso:s,homepage:s};function x(e){return Array.isArray(e)?e:[e]}const O=["Collection","Manifest","Canvas","AnnotationPage","AnnotationCollection","Annotation","ContentResource","Range","Service","Selector","Agent"];function Z(e){if(typeof e>"u"||e===null)throw new Error("Null or undefined is not a valid entity.");if(Array.isArray(e))throw new Error("Array is not a valid entity");if(typeof e!="object")throw new Error(`${typeof e} is not a valid entity`);if(typeof e.type=="string"){const t=O.indexOf(e.type);if(t!==-1)return O[t]}if(e.profile)return"Service";throw new Error("Resource type is not known")}class S{constructor(t,i={}){T(this,"traversals"),T(this,"options"),this.traversals={collection:[],manifest:[],canvas:[],annotationCollection:[],annotationPage:[],annotation:[],contentResource:[],choice:[],range:[],service:[],agent:[],...t},this.options={allowUndefinedReturn:!1,...i}}static all(t){return new S({collection:[t],manifest:[t],canvas:[t],annotationCollection:[t],annotationPage:[t],annotation:[t],contentResource:[t],choice:[t],range:[t],service:[t]})}traverseDescriptive(t){return t.thumbnail&&(t.thumbnail=t.thumbnail.map(i=>this.traverseType(i,this.traversals.contentResource))),t.provider&&(t.provider=t.provider.map(i=>this.traverseAgent(i))),t}traverseLinking(t){return t.seeAlso&&(t.seeAlso=t.seeAlso.map(i=>this.traverseType(i,this.traversals.contentResource))),t.service&&(t.service=x(t.service).map(i=>this.traverseType(i,this.traversals.service))),t.services&&(t.services=t.services.map(i=>this.traverseType(i,this.traversals.service))),t.logo&&(t.logo=t.logo.map(i=>this.traverseType(i,this.traversals.contentResource))),t.homepage&&(t.homepage=t.homepage.map(i=>this.traverseType(i,this.traversals.contentResource))),t.partOf&&(t.partOf=t.partOf.map(i=>typeof i=="string"||!i.type?this.traverseType(i,this.traversals.contentResource):i.type==="Canvas"?this.traverseType(i,this.traversals.canvas):i.type==="AnnotationCollection"?this.traverseType(i,this.traversals.annotationCollection):i.type==="Collection"?this.traverseType(i,this.traversals.collection):this.traverseType(i,this.traversals.contentResource))),t.start&&(t.start=t.start?this.traverseType(t.start,this.traversals.canvas):null),t.rendering&&(t.rendering=t.rendering.map(i=>this.traverseType(i,this.traversals.contentResource))),t.supplementary&&(t.supplementary=t.supplementary.map(i=>this.traverseType(i,this.traversals.contentResource))),t}traverseCollectionItems(t){return t.items&&t.items.map(i=>i.type==="Collection"?this.traverseCollection(i):this.traverseManifest(i)),t}traverseCollection(t){return this.traverseType(this.traverseDescriptive(this.traverseInlineAnnotationPages(this.traverseLinking(this.traversePosterCanvas(this.traverseCollectionItems(t))))),this.traversals.collection)}traverseManifestItems(t){return t.items&&(t.items=t.items.map(i=>this.traverseCanvas(i))),t}traverseManifestStructures(t){return t.structures&&(t.structures=t.structures.map(i=>this.traverseRange(i))),t}traverseManifest(t){return this.traverseType(this.traverseInlineAnnotationPages(this.traverseManifestStructures(this.traversePosterCanvas(this.traverseDescriptive(this.traverseLinking(this.traverseManifestItems(t)))))),this.traversals.manifest)}traverseCanvasItems(t){return t.items=(t.items||[]).map(i=>this.traverseAnnotationPage(i)),t}traverseInlineAnnotationPages(t){return typeof t=="string"||!t||t.annotations&&(t.annotations=t.annotations.map(i=>this.traverseAnnotationPage(i))),t}traverseCanvas(t){return this.traverseType(this.traverseInlineAnnotationPages(this.traversePosterCanvas(this.traverseDescriptive(this.traverseLinking(this.traverseCanvasItems(t))))),this.traversals.canvas)}traverseAnnotationPageItems(t){return t.items&&(t.items=t.items.map(i=>this.traverseAnnotation(i))),t}traverseAnnotationPage(t){return this.traverseType(this.traverseDescriptive(this.traverseLinking(this.traverseAnnotationPageItems(t))),this.traversals.annotationPage)}traverseAnnotationBody(t){return Array.isArray(t.body)?t.body=t.body.map(i=>this.traverseContentResource(i)):t.body&&(t.body=this.traverseContentResource(t.body)),t}traversePosterCanvas(t){return t.posterCanvas&&(t.posterCanvas=this.traverseCanvas(t.posterCanvas)),t.placeholderCanvas&&(t.placeholderCanvas=this.traverseCanvas(t.placeholderCanvas)),t.accompanyingCanvas&&(t.accompanyingCanvas=this.traverseCanvas(t.accompanyingCanvas)),t}traverseAnnotation(t){return this.traverseType(this.traverseLinking(this.traverseAnnotationBody(t)),this.traversals.annotation)}traverseContentResourceLinking(t){return typeof t=="string"||!t||t&&t.service&&(t.service=x(t.service||[]).map(i=>this.traverseType(i,this.traversals.service))),t}traverseContentResource(t){return t.type==="Choice"&&(t.items=t.items.map(i=>this.traverseContentResource(i))),this.traverseType(this.traverseInlineAnnotationPages(this.traverseContentResourceLinking(t)),this.traversals.contentResource)}traverseRangeRanges(t){return t.items&&(t.items=t.items.map(i=>typeof i=="string"?this.traverseCanvas({id:i,type:"Canvas"}):i.type==="Manifest"?this.traverseManifest(i):this.traverseRange(i))),t}traverseRange(t){return this.traverseType(this.traversePosterCanvas(this.traverseDescriptive(this.traverseLinking(this.traverseRangeRanges(t)))),this.traversals.range)}traverseAgent(t){return this.traverseType(this.traverseDescriptive(this.traverseLinking(t)),this.traversals.agent)}traverseType(t,i){return i.reduce((n,r)=>{const a=r(n);return typeof a>"u"&&!this.options.allowUndefinedReturn?n:a},t)}traverseService(t){return this.traverseType(t,this.traversals.service)}traverseUnknown(t){const i=Z(t);switch(i){case"Collection":return this.traverseCollection(t);case"Manifest":return this.traverseManifest(t);case"Canvas":return this.traverseCanvas(t);case"AnnotationPage":return this.traverseAnnotationPage(t);case"Annotation":return this.traverseAnnotation(t);case"ContentResource":return this.traverseContentResource(t);case"Range":return this.traverseRange(t);case"Service":return this.traverseService(t);case"Agent":return this.traverseAgent(t);default:throw new Error(`Unknown or unsupported resource type of ${i}`)}}}const q=["sc:Collection","sc:Manifest","sc:Canvas","sc:AnnotationList","oa:Annotation","sc:Range","sc:Layer","sc:Sequence","oa:Choice","Service","ContentResource"];function Me(e){if(typeof e>"u"||e===null)throw new Error("Null or undefined is not a valid entity.");if(Array.isArray(e))throw new Error("Array is not a valid entity");if(typeof e!="object")throw new Error(`${typeof e} is not a valid entity`);if(typeof e["@type"]=="string"){const t=q.indexOf(e["@type"]);if(t!==-1)return q[t]}if(e.profile)return"Service";if(e.format||e["@type"])return"ContentResource";throw new Error("Resource type is not known")}class j{constructor(t,i={}){T(this,"traversals"),T(this,"options"),this.traversals={collection:[],manifest:[],canvas:[],annotationList:[],sequence:[],annotation:[],contentResource:[],choice:[],range:[],service:[],layer:[],...t},this.options={convertPropsToArray:!0,mergeMemberProperties:!0,allowUndefinedReturn:!1,...i}}static all(t){return new j({collection:[t],manifest:[t],canvas:[t],annotationList:[t],sequence:[t],annotation:[t],contentResource:[t],choice:[t],range:[t],service:[t],layer:[t]})}traverseCollection(t){return this.traverseType(this.traverseDescriptive(this.traverseLinking(this.traverseCollectionItems(t))),this.traversals.collection)}traverseCollectionItems(t){if(this.options.mergeMemberProperties){const i=[...(t.manifests||[]).map(n=>typeof n=="string"?{"@id":n,"@type":"sc:Manifest"}:n),...(t.collections||[]).map(n=>typeof n=="string"?{"@id":n,"@type":"sc:Collection"}:n),...t.members||[]];delete t.collections,delete t.manifests,t.members=i}return t.manifests&&(t.manifests=t.manifests.map(i=>this.traverseManifest(typeof i=="string"?{"@id":i,"@type":"sc:Manifest"}:i))),t.collections&&(t.collections=t.collections.map(i=>this.traverseCollection(typeof i=="string"?{"@id":i,"@type":"sc:Collection"}:i))),t.members&&(t.members=t.members.map(i=>typeof i=="string"?i:this.traverseUnknown(i))),t}traverseManifest(t){return this.traverseType(this.traverseDescriptive(this.traverseLinking(this.traverseManifestItems(t))),this.traversals.manifest)}traverseManifestItems(t){return t.sequences&&(t.sequences=t.sequences.map(i=>this.traverseSequence(i))),t.structures&&(t.structures=t.structures.map(i=>this.traverseRange(i))),t}traverseSequence(t){return this.traverseType(this.traverseDescriptive(this.traverseLinking(this.traverseSequenceItems(t))),this.traversals.sequence)}traverseSequenceItems(t){return t.canvases&&(t.canvases=t.canvases.map(i=>this.traverseCanvas(i))),t}traverseCanvas(t){return this.traverseType(this.traverseDescriptive(this.traverseLinking(this.traverseCanvasItems(t))),this.traversals.canvas)}traverseCanvasItems(t){return t.images&&(t.images=t.images.map(i=>this.traverseAnnotation(i))),t.otherContent&&(t.otherContent=t.otherContent.map(i=>this.traverseAnnotationList(i))),t}traverseRange(t){return this.traverseType(this.traverseDescriptive(this.traverseLinking(this.traverseRangeItems(t))),this.traversals.range)}traverseRangeItems(t){if(this.options.mergeMemberProperties){const i=[...(t.ranges||[]).map(n=>typeof n=="string"?{"@id":n,"@type":"sc:Range"}:n),...(t.canvases||[]).map(n=>typeof n=="string"?{"@id":n,"@type":"sc:Canvas"}:n),...t.members||[]];delete t.ranges,delete t.canvases,t.members=i.length?i.map(n=>this.traverseUnknown(n)):void 0}return t}traverseAnnotationList(t){const i=typeof t=="string"?{"@id":t,"@type":"sc:AnnotationList"}:t;return this.traverseType(this.traverseDescriptive(this.traverseAnnotationListItems(i)),this.traversals.annotationList)}traverseAnnotationListItems(t){return t.resources&&(t.resources=t.resources.map(i=>this.traverseAnnotation(i))),t}traverseAnnotation(t){return this.traverseType(this.traverseDescriptive(this.traverseLinking(this.traverseAnnotationItems(t))),this.traversals.annotation)}traverseAnnotationItems(t){return t.resource&&(Array.isArray(t.resource)?t.resource=t.resource.map(i=>this.traverseContentResource(i)):t.resource=this.traverseContentResource(t.resource)),t.on,t}traverseLayer(t){return this.traverseType(this.traverseLinking(this.traverseLayerItems(t)),this.traversals.layer)}traverseLayerItems(t){return t.otherContent&&(t.otherContent=t.otherContent.map(i=>this.traverseAnnotationList(i))),t}traverseChoice(t){return this.traverseType(this.traverseChoiceItems(t),this.traversals.choice)}traverseChoiceItems(t){return t.default&&t.default!=="rdf:nil"&&(t.default=this.traverseContentResource(t.default)),t.item&&t.item!=="rdf:nil"&&(t.item=t.item.map(i=>this.traverseContentResource(i))),t}traverseService(t){return this.traverseType(this.traverseLinking(t),this.traversals.service)}traverseContentResource(t){return t["@type"]==="oa:Choice"?this.traverseChoice(t):this.traverseType(this.traverseDescriptive(this.traverseLinking(t)),this.traversals.contentResource)}traverseUnknown(t){if(!t["@type"]||typeof t=="string")return t;switch(Me(t)){case"sc:Collection":return this.traverseCollection(t);case"sc:Manifest":return this.traverseManifest(t);case"sc:Canvas":return this.traverseCanvas(t);case"sc:Sequence":return this.traverseSequence(t);case"sc:Range":return this.traverseRange(t);case"oa:Annotation":return this.traverseAnnotation(t);case"sc:AnnotationList":return this.traverseAnnotationList(t);case"sc:Layer":return this.traverseLayer(t);case"Service":return this.traverseService(t);case"oa:Choice":return this.traverseChoice(t);case"ContentResource":return this.traverseContentResource(t)}return t.profile?this.traverseService(t):t}traverseImageResource(t){const i=Array.isArray(t),n=Array.isArray(t)?t:[t],r=[];for(const a of n)typeof a=="string"?r.push(this.traverseContentResource({"@id":a,"@type":"dctypes:Image"})):r.push(this.traverseContentResource(a));return!i&&!this.options.convertPropsToArray?r[0]:r}traverseDescriptive(t){return t.thumbnail&&(t.thumbnail=this.traverseImageResource(t.thumbnail)),t.logo&&(t.logo=this.traverseImageResource(t.logo)),t}traverseOneOrMoreServices(t){const i=Array.isArray(t),n=Array.isArray(t)?t:[t],r=[];for(const a of n)r.push(this.traverseService(a));return!i&&!this.options.convertPropsToArray?r[0]:r}traverseLinking(t){return t.related&&(t.related=this.traverseOneOrManyType(t.related,this.traversals.contentResource)),t.rendering&&(t.rendering=this.traverseOneOrManyType(t.rendering,this.traversals.contentResource)),t.service&&(t.service=this.traverseOneOrMoreServices(t.service)),t.seeAlso&&(t.seeAlso=this.traverseOneOrManyType(t.seeAlso,this.traversals.contentResource)),t.within&&(typeof t.within=="string"||(t.within=this.traverseOneOrManyType(t.within,this.traversals.contentResource))),t.startCanvas&&(typeof t.startCanvas=="string"?t.startCanvas=this.traverseType({"@id":t.startCanvas,"@type":"sc:Canvas"},this.traversals.canvas):t.startCanvas&&this.traverseType(t.startCanvas,this.traversals.canvas)),t.contentLayer&&(typeof t.contentLayer=="string"?t.contentLayer=this.traverseLayer({"@id":t.contentLayer,"@type":"sc:Layer"}):t.contentLayer=this.traverseLayer(t.contentLayer)),t}traverseOneOrManyType(t,i){if(!Array.isArray(t))if(this.options.convertPropsToArray)t=[t];else return this.traverseType(t,i);return t.map(n=>this.traverseType(n,i))}traverseType(t,i){return i.reduce((n,r)=>{const a=r(n);return typeof a>"u"&&!this.options.allowUndefinedReturn?n:a},t)}}const Pe="http://library.stanford.edu/iiif/image-api/compliance.html#level0",J="http://library.stanford.edu/iiif/image-api/compliance.html#level1",ee="http://library.stanford.edu/iiif/image-api/compliance.html#level2",xe="http://library.stanford.edu/iiif/image-api/conformance.html#level0",te="http://library.stanford.edu/iiif/image-api/conformance.html#level1",ie="http://library.stanford.edu/iiif/image-api/conformance.html#level2",Oe="http://library.stanford.edu/iiif/image-api/1.1/compliance.html#level0",ne="http://library.stanford.edu/iiif/image-api/1.1/compliance.html#level1",re="http://library.stanford.edu/iiif/image-api/1.1/compliance.html#level2",Fe="http://library.stanford.edu/iiif/image-api/1.1/conformance.html#level0",ae="http://library.stanford.edu/iiif/image-api/1.1/conformance.html#level1",se="http://library.stanford.edu/iiif/image-api/1.1/conformance.html#level2",De="http://iiif.io/api/image/1/level0.json",Ne="http://iiif.io/api/image/1/profiles/level0.json",oe="http://iiif.io/api/image/1/level1.json",le="http://iiif.io/api/image/1/profiles/level1.json",ve="http://iiif.io/api/image/1/level2.json",pe="http://iiif.io/api/image/1/profiles/level2.json",ke="http://iiif.io/api/image/2/level0.json",je="http://iiif.io/api/image/2/profiles/level0.json",fe="http://iiif.io/api/image/2/level1.json",ue="http://iiif.io/api/image/2/profiles/level1.json",he="http://iiif.io/api/image/2/level2.json",ce="http://iiif.io/api/image/2/profiles/level2.json",$e="level0",de="level1",me="level2",Ge="http://iiif.io/api/image/2/level0",ge="http://iiif.io/api/image/2/level1",ye="http://iiif.io/api/image/2/level2",Ue=[ge,ye,J,ee,te,ie,ne,re,ae,se,oe,le,ve,pe,fe,ue,he,ce,de,me],qe=[Ge,ge,ye,Pe,J,ee,xe,te,ie,Oe,ne,re,Fe,ae,se,De,Ne,oe,le,ve,pe,ke,je,fe,ue,he,ce,$e,de,me],F={attributionLabel:"Attribution",lang:"none",providerId:"http://example.org/provider",providerName:"Unknown"};function _(e,t="none"){if(!e)return{};const i=Array.isArray(e)?e:[e],n={};for(const r of i){if(typeof r=="string"){n[t]=n[t]?n[t]:[],n[t].push(r||"");continue}if(!r["@language"]){n[t]=n[t]?n[t]:[],n[t].push(r["@value"]||"");continue}const a=r["@language"];n[a]=n[a]?n[a]:[],n[a].push(r["@value"]||"")}return n}function Ae(e){if(Array.isArray(e))return Ae(e.find(t=>typeof t=="string"));if(qe.indexOf(e)!==-1)return"level2";if(Ue.indexOf(e)!==-1)return"level1";if(typeof e=="string")return e}function Ve(e){const t=Array.isArray(e)?e:[e];for(const i of t)switch(i){case"http://iiif.io/api/image/2/context.json":case"http://library.stanford.edu/iiif/image-api/1.1/compliance.html#level2":return"ImageService2";case"http://iiif.io/api/image/1/context.json":case"http://library.stanford.edu/iiif/image-api/1.1/context.json":return"ImageService1";case"http://iiif.io/api/annex/openannotation/context.json":return"ImageApiSelector"}}function We(e){switch(e){case"http://iiif.io/api/image/2/level0.json":case"http://iiif.io/api/image/2/level1.json":case"http://iiif.io/api/image/2/level2.json":return"ImageService2";case"http://iiif.io/api/auth/1/kiosk":case"http://iiif.io/api/auth/1/login":case"http://iiif.io/api/auth/1/clickthrough":case"http://iiif.io/api/auth/1/external":case"http://iiif.io/api/auth/0/kiosk":case"http://iiif.io/api/auth/0/login":case"http://iiif.io/api/auth/0/clickthrough":case"http://iiif.io/api/auth/0/external":return"AuthCookieService1";case"http://iiif.io/api/auth/1/token":case"http://iiif.io/api/auth/0/token":return"AuthTokenService1";case"http://iiif.io/api/auth/1/logout":case"http://iiif.io/api/auth/0/logout":return"AuthLogoutService1";case"http://iiif.io/api/search/1/search":case"http://iiif.io/api/search/0/search":return"SearchService1";case"http://iiif.io/api/search/1/autocomplete":case"http://iiif.io/api/search/0/autocomplete":return"AutoCompleteService1"}}function V(e){for(const t of["sc","oa","dcterms","dctypes","iiif"])if(e.startsWith(`${t}:`))return e.slice(t.length+1);return e}const ze=["Collection","Manifest","Annotation","AnnotationPage","Range","Service"];function $(e){const t=e["@id"]||e.id;let i=e["@type"]||e.type;const n=e.profile||void 0,r=e["@context"]||void 0;if(n){const a=We(n);if(a)return a}if(r){const a=Ve(r);if(a)return a}if(i){if(Array.isArray(i)){if(i.indexOf("oa:CssStylesheet")!==-1)return"CssStylesheet";if(i.indexOf("cnt:ContentAsText")!==-1)return"TextualBody";i=i[0]}for(const a of["sc","oa","dcterms","dctypes","iiif"])if(i.startsWith(`${a}:`)){i=i.slice(a.length+1);break}switch(i){case"Layer":return"AnnotationCollection";case"AnnotationList":return"AnnotationPage";case"cnt:ContentAsText":return"TextualBody"}}if(i&&ze.indexOf(i)!==-1)return i;if(e.format){if(e.format.startsWith("image/"))return"Image";if(e.format.startsWith("text/")||e.format==="application/pdf")return"Text";if(e.format.startsWith("application/"))return"Dataset"}return t&&(t.endsWith(".jpg")||t.endsWith(".png")||t.endsWith(".jpeg"))?"Image":i||"unknown"}const Be=/http(s)?:\/\/(creativecommons.org|rightsstatements.org)[^"'\\<\n]+/gm;function He(e){const t=e.match(Be);return t?t[0]:e}function Ye(e,t="Rights/License",i="none"){let n=null;const r=[],a=Array.isArray(e)?e:[e];for(const l of a){const v=l?He(l):void 0;if(v&&(v.indexOf("creativecommons.org")!==-1||v.indexOf("rightsstatements.org")!==-1)){v.startsWith("https://")?n=`http://${v.slice(8)}`:n=v;continue}v&&r.push({label:{[i]:[t]},value:{[i]:[v]}})}return[n,r]}const Ke=["http://iiif.io/api/presentation/2/context.json","http://iiif.io/api/image/2/context.json","http://iiif.io/api/image/1/context.json","http://library.stanford.edu/iiif/image-api/1.1/context.json","http://iiif.io/api/search/1/context.json","http://iiif.io/api/search/0/context.json","http://iiif.io/api/auth/1/context.json","http://iiif.io/api/auth/0/context.json","http://iiif.io/api/annex/openannotation/context.json"];function Qe(e){if(e){const t=Array.isArray(e)?e:[e],i=[];for(const n of t)n==="http://iiif.io/api/presentation/2/context.json"&&i.push("http://iiif.io/api/presentation/3/context.json"),Ke.indexOf(n)===-1&&i.push(n);if(t.length)return i.length===1?i[0]:i}}function Xe(e){return e?e.map(t=>({label:_(t.label),value:_(t.value)})):[]}function p(e){for(const t in e)(typeof e[t]>"u"||e[t]===null)&&delete e[t];return e}let W=0;function Ce(e,t){const i=encodeURI(e.id||e["@id"]||"").trim();return i&&t?`${i}/${t}`:i||(W++,`http://example.org/${e["@type"]}${t?`/${t}`:""}/${W}`)}function f(e){const t=[...e.behavior||[]];e.viewingHint&&t.push(e.viewingHint);let i;return Array.isArray(e.motivation)?i=e.motivation.map(V):e.motivation&&(i=V(e.motivation)),{"@context":e["@context"]?Qe(e["@context"]):void 0,id:(e["@id"]||Ce(e)).trim(),type:$(e),behavior:t.length?t:void 0,height:e.height?e.height:void 0,width:e.width?e.width:void 0,motivation:i,viewingDirection:e.viewingDirection,profile:e.profile,format:e.format?e.format:void 0,duration:void 0,timeMode:void 0}}function u(e){const[t,i]=Ye(e.license),n=[...e.metadata?Xe(e.metadata):[],...i];return{rights:t,metadata:n.length?n:void 0,label:e.label?_(e.label):void 0,requiredStatement:e.attribution?{label:_(F.attributionLabel),value:_(e.attribution)}:void 0,navDate:e.navDate,summary:e.description?_(e.description):void 0,thumbnail:e.thumbnail}}function Ze(e){if(!e.within)return;const t=Array.isArray(e.within)?e.within:[e.within],i=[];for(const n of t)if(typeof n=="string"){if(n)switch(e["@type"]){case"sc:Manifest":i.push({id:n,type:"Collection"});break}}else n["@id"]&&i.push({id:n["@id"],type:$(n)});return i.length?i:void 0}function d(e){const t=e.related?Array.isArray(e.related)?e.related:[e.related]:[],i=e.contentLayer;return{provider:e.logo||t.length?[{id:F.providerId,type:"Agent",homepage:t.length?[t[0]]:void 0,logo:e.logo?Array.isArray(e.logo)?e.logo:[e.logo]:void 0,label:_(F.providerName)}]:void 0,partOf:Ze(e),rendering:e.rendering,seeAlso:e.seeAlso,start:e.startCanvas,service:e.service?x(e.service):void 0,supplementary:i?[i]:void 0}}function Je(e){return{chars:e.chars,format:e.format?e.format:void 0,language:e.language}}function et(e){return p({...f(e),...u(e),...d(e),items:e.members})}function tt(e){const t=[],i=[];for(const r of e.sequences||[])r.canvases.length&&t.push(...r.canvases),r.behavior&&i.push(...r.behavior);const n=f(e);return i.length&&(n.behavior?n.behavior.push(...i):n.behavior=i),p({...n,...u(e),...d(e),items:t,structures:e.structures})}function it(e){return p({...f(e),...u(e),...d(e),annotations:e.otherContent&&e.otherContent.length?e.otherContent:void 0,items:e.images&&e.images.length?[{id:Ce(e,"annotation-page"),type:"AnnotationPage",items:e.images}]:void 0})}function nt(e){return p({...f(e),...u(e),...d(e),items:e.resources&&e.resources.length?e.resources:void 0})}function rt(e){return!e.canvases||e.canvases.length===0?{canvases:[],behavior:[]}:{canvases:e.canvases,behavior:e.viewingHint?[e.viewingHint]:[]}}function at(e){function t(i){if(Array.isArray(i)){if(i.length>1)return{type:"List",items:i.map(t)};i=i[0]}if(typeof i=="string")return encodeURI(i).trim();if("@type"in i){let n;if(typeof i.full=="string")n=i.full;else if(i.full["@type"]==="dctypes:Image")n={id:i.full["@id"],type:"Image"};else if(i.full["@type"]==="sc:Canvas")n={id:i.full["@id"],type:"Canvas"};else throw new Error(`Unsupported source type on annotation: ${i.full["@type"]}`);return{type:"SpecificResource",source:n,selector:N(i.selector)}}else return encodeURI(i["@id"]).trim()}return p({...f(e),...u(e),...d(e),target:t(e.on),body:Array.isArray(e.resource)?e.resource.map(D):D(e.resource)})}function D(e){const t=e;return p({...f(t),...u(t),...d(t),...Je(t)})}function st(e){const t=[];return e.default&&e.default!=="rdf:nil"&&t.push(e.default),e.item&&e.item!=="rdf:nil"&&t.push(...e.item),{...f(e),...u(e),items:t}}function ot(e){return p({...f(e),...u(e),...d(e),items:e.members})}function lt(e){const{"@id":t,"@type":i,"@context":n,profile:r,...a}=e,l={};return t&&(l["@id"]=t),l["@type"]=$(e),l["@type"]==="unknown"&&(n&&n.length&&(l["@context"]=n),l["@type"]="Service"),r&&(l.profile=Ae(r)),p({...l,...a})}function vt(e){return p({...f(e),...u(e),...d(e)})}const pt=new j({collection:[et],manifest:[tt],canvas:[it],annotationList:[nt],sequence:[rt],annotation:[at],contentResource:[D],choice:[st],range:[ot],service:[lt],layer:[vt]});function ft(e){return e&&e["@context"]&&(e["@context"]==="http://iiif.io/api/presentation/2/context.json"||e["@context"].indexOf("http://iiif.io/api/presentation/2/context.json")!==-1||e["@context"]==="http://www.shared-canvas.org/ns/context.json")||e["@context"]==="http://iiif.io/api/image/2/context.json"?pt.traverseUnknown(e):e}function N(e){if((Array.isArray(e["@type"])&&e["@type"].includes("oa:SvgSelector")||e["@type"]=="oa:SvgSelector")&&("chars"in e||"value"in e))return{type:"SvgSelector",value:"chars"in e?e.chars:e.value};if(e["@type"]==="oa:FragmentSelector")return{type:"FragmentSelector",value:e.value};if(e["@type"]==="oa:Choice")return[N(e.default),...(Array.isArray(e.item)?e.item:[e.item]).map(N)];if(e["@type"]=="iiif:ImageApiSelector")return{type:"ImageApiSelector",region:"region"in e?e.region:void 0,rotation:"rotation"in e?e.rotation:void 0};throw new Error(`Unsupported selector type: ${e["@type"]}`)}function Ie(){return{Collection:{},Manifest:{},Canvas:{},AnnotationPage:{},AnnotationCollection:{},Annotation:{},ContentResource:{},Range:{},Service:{},Selector:{},Agent:{}}}function _e(e,t){if(typeof e=="string")return{id:e,type:t};if(!e.id)throw new Error(`Invalid resource does not have an ID (${t})`);return e}function ut(e){return(t,i)=>{const n=e[t]?e[t]:{};return r=>{const a=_e(r,i||t);return a&&a.id&&t?(n[a.id]=n[a.id]?be(n[a.id],a):Object.assign({},a),{id:a.id,type:t==="ContentResource"?t:a.type}):a}}}function k(e,t){if(!t)return e;if(Array.isArray(e)){if(!Array.isArray(t))throw new Error("Cannot merge array with non-array");const i=[...e];for(const n of t)if(n!=null)if(Array.isArray(n))i.push(n);else if(typeof n=="object"&&n.id&&n.type){const r=i.findIndex(a=>a.id===n.id&&a.type===n.type);r>=0&&(i[r]=k(i[r],n))}else e.indexOf(n)===-1&&i.push(n);return i}else if(typeof e=="object"){if(Array.isArray(t)||typeof t!="object")throw new Error("Cannot merge object with non-object");const i={...e};for(const[n,r]of Object.entries(t)){const a=i[n];a===s||!a?i[n]=r:i[n]=k(a,r)}return i}else if(e)return e;return t}function be(e,t){if(typeof e=="string")return e;if(t.id!==e.id||t.type!==e.type)throw new Error("Can only merge entities with identical identifiers and type!");return k({...e},t)}function ht(e){return(t,i)=>n=>{const{id:r,type:a}=_e(n,i||t);if(typeof r>"u")throw new Error("Found invalid entity without an ID.");return t==="ContentResource"?e[r]=t:e[r]=a,n}}function ct(e){const t=JSON.stringify(e);let i=5381,n=t.length;for(;n;)i=i*33^t.charCodeAt(--n);const a=(i>>>0).toString(16);return a.length%2?"0"+a:a}function P(e){return t=>typeof t=="string"?{id:t,type:e}:t.id?t.type?t:{type:e,...t}:{id:`vault://${ct(t)}`,type:e,...t}}function b(e){return t=>({...e,...t})}function w(e){return Array.isArray(e)?e:[e]}function dt(e){return e.body&&(e.body=w(e.body)),e.seeAlso&&(e.seeAlso=w(e.seeAlso)),e.body&&(e.body=w(e.body)),e.audience&&(e.audience=w(e.audience)),e.accessibility&&(e.accessibility=w(e.accessibility)),e.motivation&&(e.motivation=w(e.motivation)),e}function mt(e){const t=ft(e),i=Ie(),n={},r=ut(i),a=ht(n),v=new S({collection:[b(Y),a("Collection"),r("Collection")],manifest:[b(K),a("Manifest"),r("Manifest")],canvas:[b(H),a("Canvas"),r("Canvas")],annotationPage:[P("AnnotationPage"),b(B),a("AnnotationPage"),r("AnnotationPage")],annotation:[P("Annotation"),dt,a("Annotation"),r("Annotation")],contentResource:[P("ContentResource"),a("ContentResource"),r("ContentResource")],range:[b(Q),a("Range","Canvas"),r("Range","Canvas")],agent:[b(X),a("Agent"),r("Agent")]}).traverseUnknown(t);return{entities:i,resource:v,mapping:n}}const h="__$UNSET$__",G="__$UNWRAP$__";function gt(e,t){const i=e.requests[t],n=e.mapping[t];if(!(!n||i&&i.resourceUri&&!e.entities[n][i.resourceUri]))return e.entities[n][i?i.resourceUri:t]}function we(e){const t={};for(const[i,n]of e){if(i===G&&n!==h)return n;n!==h&&typeof n<"u"&&n!==null&&(t[i]=n)}return t}function yt(e,t,i){if(!t.type||!t.id)throw new Error("Unknown entity");if(!i[t.type])throw new Error(`Serializer not found for ${t.type}`);function n(r){const a=i[r.type];if(!a)return h;const l=gt(e,r.id)||(r.id&&r.type?r:null);if(!l)return h;const v=a(l,e,{isTopLevel:t.id===r.id});let E=v.next();for(;!E.done;){const L=E.value;let M=h;if(L)if(Array.isArray(L)){const U=[];for(const Le of L)U.push(n(Le));M=U}else M=n(L);E=v.next(M)}return E.value===h?h:we(E.value)}return n(t)}function I(e){if(!e)return;const t=Object.keys(e);if(t.length!==0){if(t.length===1){const i=t[0];if(!i)return"";const n=(e[i]||[]).join("");return i==="@none"||i==="none"||i==="en"?n:{"@language":i,"@value":n}}return t.map(i=>({"@language":i,"@value":(e[i]||[]).join("")}))}}function Ee(e){return Array.isArray(e)?e.map(t=>Ee(t)):typeof e=="string"?e:e.type&&e.type==="Canvas"?e.id:e}function c(e,t=!1){if(e)return e.length>1&&!t?e:e[0]||void 0}function At(e){if(e){if(typeof e=="string")return{"@id":e};if("@id"in e){const t={...e};return delete t["@type"],t}return{"@context":"http://iiif.io/api/image/2/context.json","@id":e.id,profile:`http://iiif.io/api/image/2/profiles/${e.profile}.json`}}}function m(e,t){return[["@id",e.id],["@type",t],["format",e.format],["height",e.height],["width",e.width],["viewingDirection",e.viewingDirection!=="left-to-right"?e.viewingDirection:void 0]]}function*g(e){const t=e.provider?yield e.provider[0]:void 0;return[["label",I(e.label)],["metadata",e.metadata&&e.metadata.length?e.metadata.map(i=>({label:I(i.label)||"",value:I(i.value)||""})):void 0],["description",I(e.summary)],["thumbnail",c(yield e.thumbnail)],["navDate",e.navDate],["logo",t?c(t.logo):void 0],["homepage",t?t.homepage:void 0],["attribution",e.requiredStatement?I(e.requiredStatement.value):void 0]]}function*R(e){return[["seeAlso",c(yield e.seeAlso)],["service",c((e.service||[]).map(At))],["rendering",c(yield e.rendering)],["startCanvas",e.start?e.start.id:void 0]]}const Ct={Manifest:function*(e){return[...m(e,"sc:Manifest"),...yield*g(e),...yield*R(e),["sequences",[{"@id":`${e.id}/sequence0`,"@type":"sc:Sequence",canvases:yield e.items}]],["structures",yield e.structures]]},Canvas:function*(e){const i=(yield e.items)[0];return[...m(e,"sc:Canvas"),...yield*g(e),...yield*R(e),["images",i?[i.resources]:void 0],["annotations",e.annotations&&e.annotations.length?c(yield e.annotations):void 0]]},AnnotationPage:function*(e){return[...m(e,"sc:AnnotationList"),...yield*g(e),["resources",e.items&&e.items.length?c(yield e.items):void 0]]},Annotation:function*(e){return[["@id",e.id],["@type","oa:Annotation"],["motivation","sc:painting"],["on",Ee(e.target)],["resource",c(yield e.body,!0)]]},ContentResource:function*(e){switch(e.type){case"Image":return[...m(e,"dctypes:Image"),...yield*g(e),...yield*R(e)];case"Text":case"Dataset":default:return[...m(e,void 0),...yield*g(e)]}},AnnotationCollection:function*(e){return[["@id",e.id],["@type","sc:Layer"],["label",I(e.label)]]},Collection:function*(e){return[...m(e,"sc:Collection"),...yield*g(e),...yield*R(e),["members",yield*e.items]]},Range:function*(e){const t=[],i=[];if(e.items)for(const n of e.items){const r=yield n;t.push({"@id":n.id,"@type":n.type,label:r?r.label:void 0,within:e.id}),n.type==="Canvas"&&i.push(n.id)}return[...m(e,"sc:Range"),...yield*g(e),...yield*R(e),["canvases",i.length===t.length?i:void 0],["members",i.length!==t.length?t:void 0]]}};function y(e){var t;return[["id",(t=e.id)!=null&&t.startsWith("vault://")?void 0:e.id],["type",e.type],["format",e.format],["profile",e.profile],["height",e.height],["width",e.width],["duration",e.duration||void 0],["viewingDirection",e.viewingDirection!=="left-to-right"?e.viewingDirection:void 0],["behavior",e.behavior&&e.behavior.length?e.behavior:void 0],["timeMode",e.timeMode],["motivation",Array.isArray(e.motivation)?e.motivation[0]:e.motivation]]}function o(e){if(!(!e||e.length===0))return e}function Re(e){if(e&&e.type&&e.type==="ImageService2"){const{id:t,type:i,profile:n,...r}=e,a=typeof n=="string"?n:Array.isArray(n)?n.find(l=>typeof l=="string"):"";return{"@id":t,"@type":i,profile:a?a.startsWith("http")?a:`http://iiif.io/api/image/2/${a}.json`:"http://iiif.io/api/image/2/level0.json",...r}}return e}function z(e){if(!(!e||e.length===0))return e.map(Re)}function*A(e){return[["label",e.label],["metadata",o(e.metadata)],["summary",e.summary],["requiredStatement",e.requiredStatement],["rights",e.rights],["navDate",e.navDate],["language",e.language],["thumbnail",o(yield e.thumbnail)],["placeholderCanvas",yield e.placeholderCanvas],["accompanyingCanvas",yield e.accompanyingCanvas],["provider",o(yield e.provider)]]}function*C(e){return[["seeAlso",o(yield e.seeAlso)],["service",z(e.service)],["services",z(e.services)],["rendering",o(yield e.rendering)],["supplementary",o(yield e.supplementary)],["homepage",o(yield e.homepage)],["logo",o(yield e.logo)],["partOf",o(yield e.partOf)],["start",e.start]]}const It={Manifest:function*(e,t,{isTopLevel:i}){return i?[["@context","http://iiif.io/api/presentation/3/context.json"],...y(e),...yield*A(e),...yield*C(e),["items",yield e.items],["structures",o(yield e.structures)],["annotations",o(yield e.annotations)]]:[...y(e),...yield*A(e)]},Canvas:function*(e){return[...y(e),...yield*A(e),...yield*C(e),["items",yield e.items],["annotations",o(yield e.annotations)]]},Agent:function*(e){return[["id",e.id],["type","Agent"],["label",e.label],...yield*C(e)]},AnnotationPage:function*(e){return[...Object.entries(e).map(([i,n])=>[i,Array.isArray(n)?o(n):n]).filter(([i,n])=>i!=="items"),...yield*C(e),["items",yield e.items]]},Service:function*(e){return[[G,Re(e)]]},Annotation:function*(e){const t=Object.entries(e).map(([n,r])=>n==="motivation"?[n,Array.isArray(r)?r[0]:r]:[n,Array.isArray(r)?o(r):r]).filter(([n])=>n!=="body"),i=yield e.body;return[...t,["body",i.length===1?i[0]:i]]},ContentResource:function*(e){return[...y(e),...yield*A(e),...yield*C(e),["annotations",o(yield e.annotations)],["items",o(yield e.items)]]},AnnotationCollection:function*(e){return[["id",e.id],["type","AnnotationCollection"],["label",e.label]]},Collection:function*(e,t,{isTopLevel:i}){return i?[["@context","http://iiif.io/api/presentation/3/context.json"],...y(e),...yield*A(e),...yield*C(e),["items",o(yield e.items)]]:[...y(e),...yield*A(e)]},Range:function*(e){const t=[];for(const i of e.items)i.type==="Range"?t.push(yield i):t.push(i);return[...y(e),...yield*A(e),...yield*C(e),["items",t],["annotations",o(yield e.annotations)]]}};exports.EMPTY=s;exports.Traverse=S;exports.UNSET=h;exports.UNWRAP=G;exports.emptyAgent=X;exports.emptyAnnotationPage=B;exports.emptyCanvas=H;exports.emptyCollection=Y;exports.emptyManifest=K;exports.emptyRange=Q;exports.getDefaultEntities=Ie;exports.identifyResource=Z;exports.languageString2to3=I;exports.mergeEntities=be;exports.normalize=mt;exports.serialize=yt;exports.serializeConfigPresentation2=Ct;exports.serializeConfigPresentation3=It;exports.serializedFieldsToObject=we;exports.types=O;
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});var r=e=>{if(typeof e!="string")throw new TypeError("Expected a string");return e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")};exports.escapeStringRegexp=r;
|
|
2
2
|
//# sourceMappingURL=index.cjs222.js.map
|