@performant-software/core-data 2.2.11-beta.1 → 2.2.11
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.cjs110.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.cjs120.js +1 -1
- package/dist/index.cjs121.js +1 -1
- package/dist/index.cjs122.js +1 -1
- package/dist/index.cjs122.js.map +1 -1
- package/dist/index.cjs123.js +1 -1
- package/dist/index.cjs123.js.map +1 -1
- package/dist/index.cjs124.js +1 -1
- package/dist/index.cjs124.js.map +1 -1
- package/dist/index.cjs125.js +1 -1
- package/dist/index.cjs125.js.map +1 -1
- package/dist/index.cjs126.js +1 -1
- package/dist/index.cjs126.js.map +1 -1
- package/dist/index.cjs127.js +1 -1
- package/dist/index.cjs127.js.map +1 -1
- package/dist/index.cjs128.js +1 -1
- package/dist/index.cjs128.js.map +1 -1
- package/dist/index.cjs129.js +1 -1
- package/dist/index.cjs129.js.map +1 -1
- package/dist/index.cjs130.js +1 -1
- package/dist/index.cjs130.js.map +1 -1
- package/dist/index.cjs131.js +1 -1
- package/dist/index.cjs131.js.map +1 -1
- package/dist/index.cjs132.js +1 -1
- package/dist/index.cjs132.js.map +1 -1
- package/dist/index.cjs133.js +1 -1
- package/dist/index.cjs133.js.map +1 -1
- package/dist/index.cjs134.js +1 -1
- package/dist/index.cjs134.js.map +1 -1
- package/dist/index.cjs135.js +1 -1
- package/dist/index.cjs135.js.map +1 -1
- package/dist/index.cjs136.js +1 -1
- package/dist/index.cjs136.js.map +1 -1
- package/dist/index.cjs137.js +1 -1
- package/dist/index.cjs137.js.map +1 -1
- package/dist/index.cjs138.js +1 -1
- package/dist/index.cjs138.js.map +1 -1
- package/dist/index.cjs139.js +1 -1
- package/dist/index.cjs139.js.map +1 -1
- package/dist/index.cjs140.js +1 -1
- package/dist/index.cjs140.js.map +1 -1
- package/dist/index.cjs141.js +1 -1
- package/dist/index.cjs141.js.map +1 -1
- package/dist/index.cjs142.js +1 -1
- package/dist/index.cjs142.js.map +1 -1
- package/dist/index.cjs143.js +1 -1
- package/dist/index.cjs143.js.map +1 -1
- package/dist/index.cjs144.js +1 -1
- package/dist/index.cjs144.js.map +1 -1
- package/dist/index.cjs145.js +1 -1
- package/dist/index.cjs145.js.map +1 -1
- package/dist/index.cjs146.js +1 -1
- package/dist/index.cjs146.js.map +1 -1
- package/dist/index.cjs147.js +1 -1
- package/dist/index.cjs147.js.map +1 -1
- package/dist/index.cjs148.js +1 -8
- package/dist/index.cjs148.js.map +1 -1
- package/dist/index.cjs149.js +1 -26
- package/dist/index.cjs149.js.map +1 -1
- package/dist/index.cjs150.js +1 -1
- package/dist/index.cjs150.js.map +1 -1
- package/dist/index.cjs151.js +1 -1
- package/dist/index.cjs151.js.map +1 -1
- package/dist/index.cjs152.js +1 -1
- package/dist/index.cjs152.js.map +1 -1
- package/dist/index.cjs153.js +1 -1
- package/dist/index.cjs153.js.map +1 -1
- package/dist/index.cjs154.js +1 -7
- package/dist/index.cjs154.js.map +1 -1
- package/dist/index.cjs155.js +1 -1
- package/dist/index.cjs155.js.map +1 -1
- package/dist/index.cjs156.js +8 -1
- package/dist/index.cjs156.js.map +1 -1
- package/dist/index.cjs157.js +26 -1
- package/dist/index.cjs157.js.map +1 -1
- package/dist/index.cjs158.js +1 -1
- package/dist/index.cjs158.js.map +1 -1
- package/dist/index.cjs159.js +1 -1
- package/dist/index.cjs159.js.map +1 -1
- package/dist/index.cjs160.js +1 -1
- package/dist/index.cjs160.js.map +1 -1
- package/dist/index.cjs161.js +1 -1
- package/dist/index.cjs161.js.map +1 -1
- package/dist/index.cjs162.js +7 -1
- package/dist/index.cjs162.js.map +1 -1
- package/dist/index.cjs163.js +1 -1
- package/dist/index.cjs163.js.map +1 -1
- package/dist/index.cjs164.js +1 -1
- package/dist/index.cjs164.js.map +1 -1
- package/dist/index.cjs165.js +1 -1
- package/dist/index.cjs165.js.map +1 -1
- package/dist/index.cjs166.js +1 -1
- package/dist/index.cjs166.js.map +1 -1
- package/dist/index.cjs167.js +1 -1
- package/dist/index.cjs167.js.map +1 -1
- package/dist/index.cjs168.js +1 -1
- package/dist/index.cjs168.js.map +1 -1
- package/dist/index.cjs169.js +1 -1
- package/dist/index.cjs169.js.map +1 -1
- package/dist/index.cjs170.js +1 -1
- package/dist/index.cjs170.js.map +1 -1
- package/dist/index.cjs171.js +1 -1
- package/dist/index.cjs171.js.map +1 -1
- package/dist/index.cjs172.js +1 -1
- package/dist/index.cjs172.js.map +1 -1
- package/dist/index.cjs173.js +1 -1
- package/dist/index.cjs173.js.map +1 -1
- package/dist/index.cjs174.js +1 -1
- package/dist/index.cjs174.js.map +1 -1
- package/dist/index.cjs175.js +1 -1
- package/dist/index.cjs175.js.map +1 -1
- package/dist/index.cjs176.js +1 -1
- package/dist/index.cjs176.js.map +1 -1
- package/dist/index.cjs177.js +1 -1
- package/dist/index.cjs177.js.map +1 -1
- package/dist/index.cjs178.js +1 -1
- package/dist/index.cjs178.js.map +1 -1
- package/dist/index.cjs179.js +1 -1
- package/dist/index.cjs179.js.map +1 -1
- package/dist/index.cjs180.js +1 -1
- package/dist/index.cjs180.js.map +1 -1
- package/dist/index.cjs181.js +1 -1
- package/dist/index.cjs181.js.map +1 -1
- package/dist/index.cjs182.js +1 -1
- package/dist/index.cjs182.js.map +1 -1
- package/dist/index.cjs183.js +1 -1
- package/dist/index.cjs183.js.map +1 -1
- package/dist/index.cjs184.js +1 -1
- package/dist/index.cjs184.js.map +1 -1
- package/dist/index.cjs185.js +1 -1
- package/dist/index.cjs185.js.map +1 -1
- package/dist/index.cjs186.js +1 -1
- package/dist/index.cjs186.js.map +1 -1
- package/dist/index.cjs187.js +1 -1
- package/dist/index.cjs187.js.map +1 -1
- package/dist/index.cjs188.js +1 -1
- package/dist/index.cjs188.js.map +1 -1
- package/dist/index.cjs189.js +1 -1
- package/dist/index.cjs189.js.map +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 -6
- 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 -2
- package/dist/index.cjs195.js.map +1 -1
- package/dist/index.cjs196.js +1 -3
- 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 -8
- package/dist/index.cjs199.js.map +1 -1
- package/dist/index.cjs200.js +1 -13
- 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 -17
- package/dist/index.cjs202.js.map +1 -1
- package/dist/index.cjs203.js +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 +6 -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 +2 -1
- package/dist/index.cjs208.js.map +1 -1
- package/dist/index.cjs209.js +3 -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 -1
- package/dist/index.cjs211.js.map +1 -1
- package/dist/index.cjs212.js +8 -1
- package/dist/index.cjs212.js.map +1 -1
- package/dist/index.cjs213.js +13 -1
- package/dist/index.cjs213.js.map +1 -1
- package/dist/index.cjs214.js +1 -1
- package/dist/index.cjs214.js.map +1 -1
- package/dist/index.cjs215.js +17 -1
- package/dist/index.cjs215.js.map +1 -1
- package/dist/index.cjs216.js +1 -1
- package/dist/index.cjs216.js.map +1 -1
- package/dist/index.cjs217.js +1 -1
- package/dist/index.cjs217.js.map +1 -1
- package/dist/index.cjs218.js +1 -1
- package/dist/index.cjs218.js.map +1 -1
- package/dist/index.cjs219.js +1 -1
- package/dist/index.cjs219.js.map +1 -1
- package/dist/index.cjs220.js +1 -1
- package/dist/index.cjs220.js.map +1 -1
- package/dist/index.cjs221.js +1 -1
- package/dist/index.cjs221.js.map +1 -1
- package/dist/index.cjs222.js +1 -1
- package/dist/index.cjs222.js.map +1 -1
- package/dist/index.cjs223.js +1 -1
- package/dist/index.cjs224.js +1 -1
- package/dist/index.cjs224.js.map +1 -1
- package/dist/index.cjs225.js +1 -1
- package/dist/index.cjs225.js.map +1 -1
- package/dist/index.cjs226.js +1 -1
- package/dist/index.cjs226.js.map +1 -1
- package/dist/index.cjs227.js +1 -1
- package/dist/index.cjs227.js.map +1 -1
- package/dist/index.cjs228.js +1 -1
- package/dist/index.cjs228.js.map +1 -1
- package/dist/index.cjs229.js +1 -1
- package/dist/index.cjs229.js.map +1 -1
- package/dist/index.cjs230.js +1 -1
- package/dist/index.cjs230.js.map +1 -1
- package/dist/index.cjs231.js +1 -1
- package/dist/index.cjs231.js.map +1 -1
- package/dist/index.cjs232.js +1 -1
- package/dist/index.cjs232.js.map +1 -1
- package/dist/index.cjs233.js +1 -1
- package/dist/index.cjs233.js.map +1 -1
- package/dist/index.cjs234.js +1 -1
- package/dist/index.cjs234.js.map +1 -1
- package/dist/index.cjs235.js +1 -1
- package/dist/index.cjs235.js.map +1 -1
- package/dist/index.cjs236.js +1 -1
- package/dist/index.cjs236.js.map +1 -1
- package/dist/index.cjs237.js +1 -1
- package/dist/index.cjs237.js.map +1 -1
- package/dist/index.cjs238.js +1 -1
- package/dist/index.cjs238.js.map +1 -1
- package/dist/index.cjs239.js +1 -1
- package/dist/index.cjs239.js.map +1 -1
- package/dist/index.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 -1
- package/dist/index.cjs373.js +1 -1
- package/dist/index.cjs376.js +1 -1
- package/dist/index.cjs401.js +1 -6
- package/dist/index.cjs401.js.map +1 -1
- package/dist/index.cjs402.js +1 -6
- package/dist/index.cjs402.js.map +1 -1
- package/dist/index.cjs403.js +1 -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.cjs407.js +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.cjs418.js +1 -1
- package/dist/index.cjs419.js +1 -1
- package/dist/index.cjs420.js +1 -1
- package/dist/index.cjs422.js +1 -1
- package/dist/index.cjs425.js +1 -1
- package/dist/index.cjs430.js +1 -1
- package/dist/index.cjs432.js +1 -1
- package/dist/index.cjs433.js +1 -1
- package/dist/index.cjs434.js +1 -1
- package/dist/index.cjs435.js +1 -1
- package/dist/index.cjs437.js +1 -1
- package/dist/index.cjs438.js +1 -1
- package/dist/index.cjs439.js +1 -1
- package/dist/index.cjs440.js +1 -1
- package/dist/index.cjs448.js +1 -1
- package/dist/index.cjs451.js +1 -1
- package/dist/index.cjs452.js +1 -1
- package/dist/index.cjs453.js +1 -1
- package/dist/index.cjs457.js +1 -1
- package/dist/index.cjs458.js +1 -1
- package/dist/index.cjs459.js +1 -1
- package/dist/index.cjs462.js +1 -1
- package/dist/index.cjs463.js +1 -1
- package/dist/index.cjs473.js +1 -1
- package/dist/index.cjs475.js +1 -1
- package/dist/index.cjs477.js +1 -1
- package/dist/index.cjs491.js.map +1 -1
- package/dist/index.cjs492.js.map +1 -1
- package/dist/index.cjs494.js +2 -2
- package/dist/index.cjs494.js.map +1 -1
- package/dist/index.cjs495.js +1 -1
- package/dist/index.cjs496.js.map +1 -1
- package/dist/index.cjs497.js.map +1 -1
- package/dist/index.cjs498.js +2 -2
- 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 +4 -1
- package/dist/index.cjs501.js.map +1 -1
- package/dist/index.cjs502.js +1 -4
- package/dist/index.cjs502.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 +1 -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.cjs510.js +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.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.cjs549.js +1 -1
- package/dist/index.cjs549.js.map +1 -1
- package/dist/index.cjs550.js +1 -1
- package/dist/index.cjs550.js.map +1 -1
- package/dist/index.cjs551.js +1 -1
- package/dist/index.cjs551.js.map +1 -1
- package/dist/index.cjs552.js +2 -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 +1 -2
- package/dist/index.cjs554.js.map +1 -1
- package/dist/index.cjs555.js +1 -1
- package/dist/index.cjs555.js.map +1 -1
- package/dist/index.cjs563.js +1 -1
- package/dist/index.cjs565.js +19 -19
- package/dist/index.cjs565.js.map +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.cjs57.js +1 -1
- package/dist/index.cjs570.js +19 -19
- package/dist/index.cjs570.js.map +1 -1
- package/dist/index.cjs571.js.map +1 -1
- package/dist/index.cjs572.js +1 -1
- package/dist/index.cjs572.js.map +1 -1
- package/dist/index.cjs573.js +1 -1
- package/dist/index.cjs573.js.map +1 -1
- package/dist/index.cjs574.js +38 -1
- package/dist/index.cjs574.js.map +1 -1
- package/dist/index.cjs575.js +1 -38
- 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.cjs580.js +1 -1
- package/dist/index.cjs581.js +1 -1
- package/dist/index.cjs581.js.map +1 -1
- package/dist/index.cjs582.js +1 -1
- package/dist/index.cjs583.js +1 -1
- package/dist/index.cjs583.js.map +1 -1
- package/dist/index.cjs585.js +1 -1
- package/dist/index.cjs585.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.cjs590.js +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.cjs597.js +1 -1
- package/dist/index.cjs598.js +1 -1
- package/dist/index.cjs598.js.map +1 -1
- package/dist/index.cjs60.js +1 -1
- package/dist/index.cjs601.js +1 -1
- package/dist/index.cjs602.js +1 -1
- package/dist/index.cjs603.js +1 -1
- package/dist/index.cjs604.js +1 -1
- package/dist/index.cjs605.js +1 -1
- package/dist/index.cjs606.js +1 -1
- package/dist/index.cjs618.js +1 -1
- package/dist/index.cjs619.js +1 -1
- package/dist/index.cjs623.js +1 -1
- package/dist/index.cjs635.js +1 -1
- package/dist/index.cjs636.js +1 -1
- package/dist/index.cjs637.js +1 -1
- package/dist/index.cjs637.js.map +1 -1
- package/dist/index.cjs643.js +1 -1
- package/dist/index.cjs644.js +1 -1
- package/dist/index.cjs646.js +1 -1
- package/dist/index.cjs646.js.map +1 -1
- package/dist/index.cjs647.js +1 -1
- package/dist/index.cjs651.js.map +1 -1
- package/dist/index.cjs655.js.map +1 -1
- package/dist/index.cjs66.js +1 -1
- package/dist/index.cjs673.js +1 -1
- package/dist/index.cjs678.js +1 -1
- package/dist/index.cjs679.js +1 -1
- package/dist/index.cjs679.js.map +1 -1
- package/dist/index.cjs680.js +1 -1
- package/dist/index.cjs680.js.map +1 -1
- package/dist/index.cjs681.js +1 -1
- package/dist/index.cjs681.js.map +1 -1
- package/dist/index.cjs682.js +2 -1
- package/dist/index.cjs682.js.map +1 -1
- package/dist/index.cjs683.js +1 -2
- package/dist/index.cjs683.js.map +1 -1
- package/dist/index.cjs684.js +1 -1
- package/dist/index.cjs684.js.map +1 -1
- package/dist/index.cjs685.js +1 -1
- package/dist/index.cjs685.js.map +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.cjs85.js +1 -1
- package/dist/index.cjs86.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.cjs93.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.cjs97.js +1 -1
- package/dist/index.cjs98.js +1 -1
- package/dist/index.cjs99.js +1 -1
- package/dist/index.es100.js +1 -1
- package/dist/index.es101.js +8 -8
- package/dist/index.es102.js +1 -1
- package/dist/index.es103.js +1 -1
- package/dist/index.es106.js +4 -4
- package/dist/index.es107.js +10 -10
- package/dist/index.es108.js +1 -1
- package/dist/index.es109.js +1 -1
- package/dist/index.es110.js +2 -2
- 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.es120.js +1 -1
- package/dist/index.es121.js +1 -1
- package/dist/index.es122.js +10 -3
- package/dist/index.es122.js.map +1 -1
- package/dist/index.es123.js +5 -5
- package/dist/index.es123.js.map +1 -1
- package/dist/index.es124.js +11 -9
- package/dist/index.es124.js.map +1 -1
- package/dist/index.es125.js +72 -39
- package/dist/index.es125.js.map +1 -1
- package/dist/index.es126.js +32 -27
- package/dist/index.es126.js.map +1 -1
- package/dist/index.es127.js +41 -7
- package/dist/index.es127.js.map +1 -1
- package/dist/index.es128.js +487 -5
- package/dist/index.es128.js.map +1 -1
- package/dist/index.es129.js +15 -24
- package/dist/index.es129.js.map +1 -1
- package/dist/index.es130.js +4 -29
- package/dist/index.es130.js.map +1 -1
- package/dist/index.es131.js +5 -45
- package/dist/index.es131.js.map +1 -1
- package/dist/index.es132.js +11 -6
- package/dist/index.es132.js.map +1 -1
- package/dist/index.es133.js +51 -10
- package/dist/index.es133.js.map +1 -1
- package/dist/index.es134.js +27 -50
- package/dist/index.es134.js.map +1 -1
- package/dist/index.es135.js +7 -124
- package/dist/index.es135.js.map +1 -1
- package/dist/index.es136.js +4 -9
- package/dist/index.es136.js.map +1 -1
- package/dist/index.es137.js +24 -218
- package/dist/index.es137.js.map +1 -1
- package/dist/index.es138.js +28 -63
- package/dist/index.es138.js.map +1 -1
- package/dist/index.es139.js +45 -31
- package/dist/index.es139.js.map +1 -1
- package/dist/index.es140.js +6 -45
- package/dist/index.es140.js.map +1 -1
- package/dist/index.es141.js +10 -28
- package/dist/index.es141.js.map +1 -1
- package/dist/index.es142.js +52 -29
- package/dist/index.es142.js.map +1 -1
- package/dist/index.es143.js +118 -498
- package/dist/index.es143.js.map +1 -1
- package/dist/index.es144.js +10 -104
- package/dist/index.es144.js.map +1 -1
- package/dist/index.es145.js +212 -80
- package/dist/index.es145.js.map +1 -1
- package/dist/index.es146.js +61 -372
- package/dist/index.es146.js.map +1 -1
- package/dist/index.es147.js +31 -121
- package/dist/index.es147.js.map +1 -1
- package/dist/index.es148.js +43 -675
- package/dist/index.es148.js.map +1 -1
- package/dist/index.es149.js +26 -16845
- package/dist/index.es149.js.map +1 -1
- package/dist/index.es150.js +29 -150
- package/dist/index.es150.js.map +1 -1
- package/dist/index.es151.js +505 -7
- package/dist/index.es151.js.map +1 -1
- package/dist/index.es152.js +91 -175
- package/dist/index.es152.js.map +1 -1
- package/dist/index.es153.js +79 -802
- package/dist/index.es153.js.map +1 -1
- package/dist/index.es154.js +350 -10046
- package/dist/index.es154.js.map +1 -1
- package/dist/index.es155.js +117 -92
- package/dist/index.es155.js.map +1 -1
- package/dist/index.es156.js +677 -16
- package/dist/index.es156.js.map +1 -1
- package/dist/index.es157.js +16847 -5
- package/dist/index.es157.js.map +1 -1
- package/dist/index.es158.js +150 -11
- package/dist/index.es158.js.map +1 -1
- package/dist/index.es159.js +7 -70
- package/dist/index.es159.js.map +1 -1
- package/dist/index.es160.js +188 -10
- package/dist/index.es160.js.map +1 -1
- package/dist/index.es161.js +804 -24
- package/dist/index.es161.js.map +1 -1
- package/dist/index.es162.js +10063 -117
- package/dist/index.es162.js.map +1 -1
- package/dist/index.es163.js +94 -140
- package/dist/index.es163.js.map +1 -1
- package/dist/index.es164.js +17 -14
- package/dist/index.es164.js.map +1 -1
- package/dist/index.es165.js +5 -62
- package/dist/index.es165.js.map +1 -1
- package/dist/index.es166.js +11 -32
- package/dist/index.es166.js.map +1 -1
- package/dist/index.es167.js +67 -12
- package/dist/index.es167.js.map +1 -1
- package/dist/index.es168.js +11 -10
- package/dist/index.es168.js.map +1 -1
- package/dist/index.es169.js +30 -47
- package/dist/index.es169.js.map +1 -1
- package/dist/index.es170.js +120 -41
- package/dist/index.es170.js.map +1 -1
- package/dist/index.es171.js +143 -10
- package/dist/index.es171.js.map +1 -1
- package/dist/index.es172.js +13 -11
- package/dist/index.es172.js.map +1 -1
- package/dist/index.es173.js +63 -3
- package/dist/index.es173.js.map +1 -1
- package/dist/index.es174.js +32 -179
- package/dist/index.es174.js.map +1 -1
- package/dist/index.es175.js +15 -22
- package/dist/index.es175.js.map +1 -1
- package/dist/index.es176.js +10 -25
- package/dist/index.es176.js.map +1 -1
- package/dist/index.es177.js +42 -377
- package/dist/index.es177.js.map +1 -1
- package/dist/index.es178.js +39 -510
- package/dist/index.es178.js.map +1 -1
- package/dist/index.es179.js +10 -10
- package/dist/index.es179.js.map +1 -1
- package/dist/index.es180.js +11 -6
- package/dist/index.es180.js.map +1 -1
- package/dist/index.es181.js +4 -14
- package/dist/index.es181.js.map +1 -1
- package/dist/index.es182.js +174 -80
- package/dist/index.es182.js.map +1 -1
- package/dist/index.es183.js +22 -35
- package/dist/index.es183.js.map +1 -1
- package/dist/index.es184.js +24 -41
- package/dist/index.es184.js.map +1 -1
- package/dist/index.es185.js +367 -473
- package/dist/index.es185.js.map +1 -1
- package/dist/index.es186.js +516 -15
- package/dist/index.es186.js.map +1 -1
- package/dist/index.es187.js +12 -9
- package/dist/index.es187.js.map +1 -1
- package/dist/index.es188.js +51 -4
- package/dist/index.es188.js.map +1 -1
- package/dist/index.es189.js +56 -44
- package/dist/index.es189.js.map +1 -1
- package/dist/index.es190.js +6 -27
- package/dist/index.es190.js.map +1 -1
- package/dist/index.es191.js +135 -74
- package/dist/index.es191.js.map +1 -1
- package/dist/index.es192.js +18 -6
- package/dist/index.es192.js.map +1 -1
- package/dist/index.es193.js +186 -17
- package/dist/index.es193.js.map +1 -1
- package/dist/index.es194.js +214 -68
- package/dist/index.es194.js.map +1 -1
- package/dist/index.es195.js +12 -68
- package/dist/index.es195.js.map +1 -1
- package/dist/index.es196.js +77 -69
- package/dist/index.es196.js.map +1 -1
- package/dist/index.es197.js +197 -2
- package/dist/index.es197.js.map +1 -1
- package/dist/index.es198.js +10 -2
- package/dist/index.es198.js.map +1 -1
- package/dist/index.es199.js +4 -91
- package/dist/index.es199.js.map +1 -1
- package/dist/index.es200.js +10 -85
- package/dist/index.es200.js.map +1 -1
- package/dist/index.es201.js +4 -42
- package/dist/index.es201.js.map +1 -1
- package/dist/index.es202.js +45 -67
- package/dist/index.es202.js.map +1 -1
- package/dist/index.es203.js +28 -2
- package/dist/index.es203.js.map +1 -1
- package/dist/index.es204.js +74 -1635
- package/dist/index.es204.js.map +1 -1
- package/dist/index.es205.js +6 -35
- package/dist/index.es205.js.map +1 -1
- package/dist/index.es206.js +17 -266
- package/dist/index.es206.js.map +1 -1
- package/dist/index.es207.js +70 -3
- package/dist/index.es207.js.map +1 -1
- package/dist/index.es208.js +67 -78
- package/dist/index.es208.js.map +1 -1
- package/dist/index.es209.js +70 -196
- package/dist/index.es209.js.map +1 -1
- package/dist/index.es210.js +2 -7
- package/dist/index.es210.js.map +1 -1
- package/dist/index.es211.js +2 -35
- package/dist/index.es211.js.map +1 -1
- package/dist/index.es212.js +90 -10
- package/dist/index.es212.js.map +1 -1
- package/dist/index.es213.js +82 -130
- package/dist/index.es213.js.map +1 -1
- package/dist/index.es214.js +40 -16
- package/dist/index.es214.js.map +1 -1
- package/dist/index.es215.js +59 -177
- package/dist/index.es215.js.map +1 -1
- package/dist/index.es216.js +2 -217
- package/dist/index.es216.js.map +1 -1
- package/dist/index.es217.js +1628 -45
- package/dist/index.es217.js.map +1 -1
- package/dist/index.es218.js +35 -10
- package/dist/index.es218.js.map +1 -1
- package/dist/index.es219.js +265 -3
- package/dist/index.es219.js.map +1 -1
- package/dist/index.es220.js +34 -57
- package/dist/index.es220.js.map +1 -1
- package/dist/index.es221.js +11 -12
- package/dist/index.es221.js.map +1 -1
- package/dist/index.es222.js +3 -13
- package/dist/index.es222.js.map +1 -1
- package/dist/index.es223.js +2 -2
- package/dist/index.es224.js +6 -5
- package/dist/index.es224.js.map +1 -1
- package/dist/index.es225.js +11 -4
- package/dist/index.es225.js.map +1 -1
- package/dist/index.es226.js +51 -23
- package/dist/index.es226.js.map +1 -1
- package/dist/index.es227.js +123 -5
- package/dist/index.es227.js.map +1 -1
- package/dist/index.es228.js +13 -10
- package/dist/index.es228.js.map +1 -1
- package/dist/index.es229.js +138 -47
- package/dist/index.es229.js.map +1 -1
- package/dist/index.es230.js +10 -124
- package/dist/index.es230.js.map +1 -1
- package/dist/index.es231.js +217 -13
- package/dist/index.es231.js.map +1 -1
- package/dist/index.es232.js +13 -143
- package/dist/index.es232.js.map +1 -1
- package/dist/index.es233.js +63 -10
- package/dist/index.es233.js.map +1 -1
- package/dist/index.es234.js +32 -218
- package/dist/index.es234.js.map +1 -1
- package/dist/index.es235.js +45 -13
- package/dist/index.es235.js.map +1 -1
- package/dist/index.es236.js +27 -61
- package/dist/index.es236.js.map +1 -1
- package/dist/index.es237.js +10 -33
- package/dist/index.es237.js.map +1 -1
- package/dist/index.es238.js +4 -46
- package/dist/index.es238.js.map +1 -1
- package/dist/index.es239.js +10 -29
- package/dist/index.es239.js.map +1 -1
- package/dist/index.es240.js +12 -10
- package/dist/index.es240.js.map +1 -1
- package/dist/index.es241.js +6 -4
- package/dist/index.es241.js.map +1 -1
- package/dist/index.es242.js +4 -10
- package/dist/index.es242.js.map +1 -1
- package/dist/index.es243.js +24 -11
- package/dist/index.es243.js.map +1 -1
- package/dist/index.es244.js +14 -22
- package/dist/index.es244.js.map +1 -1
- package/dist/index.es245.js +17 -15
- package/dist/index.es245.js.map +1 -1
- package/dist/index.es246.js +23 -17
- package/dist/index.es246.js.map +1 -1
- package/dist/index.es247.js +11 -2
- package/dist/index.es247.js.map +1 -1
- package/dist/index.es248.js +12 -2
- package/dist/index.es248.js.map +1 -1
- package/dist/index.es249.js +4 -273
- package/dist/index.es249.js.map +1 -1
- package/dist/index.es250.js +22 -15
- package/dist/index.es250.js.map +1 -1
- package/dist/index.es251.js +24 -18
- package/dist/index.es251.js.map +1 -1
- package/dist/index.es252.js +2 -5
- package/dist/index.es252.js.map +1 -1
- package/dist/index.es253.js +2 -4
- package/dist/index.es253.js.map +1 -1
- package/dist/index.es254.js +117 -3
- package/dist/index.es254.js.map +1 -1
- package/dist/index.es255.js +105 -4
- 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 +4 -10
- package/dist/index.es351.js.map +1 -1
- package/dist/index.es352.js +12 -11
- package/dist/index.es352.js.map +1 -1
- package/dist/index.es353.js +15 -4
- package/dist/index.es353.js.map +1 -1
- package/dist/index.es354.js +9 -22
- package/dist/index.es354.js.map +1 -1
- package/dist/index.es355.js +6 -24
- package/dist/index.es355.js.map +1 -1
- package/dist/index.es356.js +7 -4
- package/dist/index.es356.js.map +1 -1
- package/dist/index.es357.js +8 -7
- package/dist/index.es357.js.map +1 -1
- package/dist/index.es358.js +2 -7
- package/dist/index.es358.js.map +1 -1
- package/dist/index.es359.js +11 -2
- package/dist/index.es359.js.map +1 -1
- package/dist/index.es360.js +15 -10
- package/dist/index.es360.js.map +1 -1
- package/dist/index.es361.js +31 -15
- package/dist/index.es361.js.map +1 -1
- package/dist/index.es362.js +10 -30
- package/dist/index.es362.js.map +1 -1
- package/dist/index.es363.js +19 -10
- package/dist/index.es363.js.map +1 -1
- package/dist/index.es364.js +43 -19
- package/dist/index.es364.js.map +1 -1
- package/dist/index.es365.js +41 -44
- package/dist/index.es365.js.map +1 -1
- package/dist/index.es366.js +277 -41
- package/dist/index.es366.js.map +1 -1
- package/dist/index.es367.js +225 -259
- package/dist/index.es367.js.map +1 -1
- package/dist/index.es368.js +33 -230
- package/dist/index.es368.js.map +1 -1
- package/dist/index.es369.js +4 -47
- package/dist/index.es369.js.map +1 -1
- package/dist/index.es370.js +7 -117
- package/dist/index.es370.js.map +1 -1
- package/dist/index.es371.js +6 -105
- package/dist/index.es371.js.map +1 -1
- package/dist/index.es372.js +1 -1
- package/dist/index.es373.js +1 -1
- package/dist/index.es376.js +1 -1
- package/dist/index.es401.js +27 -39
- package/dist/index.es401.js.map +1 -1
- package/dist/index.es402.js +28 -17
- package/dist/index.es402.js.map +1 -1
- package/dist/index.es403.js +5 -28
- package/dist/index.es403.js.map +1 -1
- package/dist/index.es404.js +38 -27
- package/dist/index.es404.js.map +1 -1
- package/dist/index.es405.js +18 -5
- package/dist/index.es405.js.map +1 -1
- package/dist/index.es406.js +3 -3
- package/dist/index.es407.js +2 -2
- package/dist/index.es408.js +29 -6
- package/dist/index.es408.js.map +1 -1
- package/dist/index.es409.js +4 -9
- package/dist/index.es409.js.map +1 -1
- package/dist/index.es410.js +10 -29
- package/dist/index.es410.js.map +1 -1
- package/dist/index.es411.js +6 -5
- package/dist/index.es411.js.map +1 -1
- package/dist/index.es412.js +4 -4
- package/dist/index.es418.js +1 -1
- package/dist/index.es419.js +1 -1
- package/dist/index.es420.js +1 -1
- package/dist/index.es422.js +1 -1
- package/dist/index.es425.js +1 -1
- package/dist/index.es430.js +1 -1
- package/dist/index.es432.js +1 -1
- package/dist/index.es433.js +5 -5
- package/dist/index.es434.js +1 -1
- package/dist/index.es435.js +1 -1
- package/dist/index.es437.js +1 -1
- package/dist/index.es438.js +1 -1
- package/dist/index.es439.js +1 -1
- package/dist/index.es440.js +1 -1
- package/dist/index.es448.js +2 -2
- package/dist/index.es451.js +18 -18
- package/dist/index.es452.js +6 -6
- package/dist/index.es453.js +12 -12
- package/dist/index.es457.js +1 -1
- package/dist/index.es458.js +4 -4
- package/dist/index.es459.js +1 -1
- package/dist/index.es462.js +1 -1
- package/dist/index.es463.js +2 -2
- package/dist/index.es473.js +1 -1
- package/dist/index.es475.js +1 -1
- package/dist/index.es477.js +1 -1
- package/dist/index.es491.js.map +1 -1
- package/dist/index.es492.js.map +1 -1
- package/dist/index.es494.js +71 -68
- package/dist/index.es494.js.map +1 -1
- package/dist/index.es495.js +1 -1
- package/dist/index.es496.js.map +1 -1
- package/dist/index.es497.js.map +1 -1
- package/dist/index.es498.js +68 -71
- package/dist/index.es498.js.map +1 -1
- package/dist/index.es499.js +5 -7
- package/dist/index.es499.js.map +1 -1
- package/dist/index.es500.js +3 -5
- package/dist/index.es500.js.map +1 -1
- package/dist/index.es501.js +110 -3
- package/dist/index.es501.js.map +1 -1
- package/dist/index.es502.js +6 -109
- package/dist/index.es502.js.map +1 -1
- package/dist/index.es503.js +156 -3
- package/dist/index.es503.js.map +1 -1
- package/dist/index.es504.js +103 -5
- package/dist/index.es504.js.map +1 -1
- package/dist/index.es505.js +15 -154
- package/dist/index.es505.js.map +1 -1
- package/dist/index.es506.js +5 -103
- package/dist/index.es506.js.map +1 -1
- package/dist/index.es507.js +8 -17
- package/dist/index.es507.js.map +1 -1
- package/dist/index.es508.js +3 -8
- package/dist/index.es508.js.map +1 -1
- package/dist/index.es510.js +2 -2
- package/dist/index.es511.js +94 -20
- package/dist/index.es511.js.map +1 -1
- package/dist/index.es512.js +275 -2
- package/dist/index.es512.js.map +1 -1
- package/dist/index.es513.js +120 -87
- package/dist/index.es513.js.map +1 -1
- package/dist/index.es514.js +111 -218
- package/dist/index.es514.js.map +1 -1
- package/dist/index.es515.js +39 -37
- package/dist/index.es515.js.map +1 -1
- package/dist/index.es516.js +74 -114
- package/dist/index.es516.js.map +1 -1
- package/dist/index.es517.js +65 -63
- package/dist/index.es517.js.map +1 -1
- package/dist/index.es518.js +36 -36
- package/dist/index.es518.js.map +1 -1
- package/dist/index.es519.js +56 -72
- package/dist/index.es519.js.map +1 -1
- package/dist/index.es520.js +67 -78
- package/dist/index.es520.js.map +1 -1
- package/dist/index.es521.js +30 -30
- package/dist/index.es521.js.map +1 -1
- package/dist/index.es522.js +58 -58
- package/dist/index.es522.js.map +1 -1
- package/dist/index.es523.js +70 -62
- package/dist/index.es523.js.map +1 -1
- package/dist/index.es524.js +58 -44
- package/dist/index.es524.js.map +1 -1
- package/dist/index.es525.js +58 -55
- package/dist/index.es525.js.map +1 -1
- package/dist/index.es526.js +22 -120
- package/dist/index.es526.js.map +1 -1
- package/dist/index.es527.js +2 -128
- package/dist/index.es527.js.map +1 -1
- package/dist/index.es528.js +15 -27
- package/dist/index.es528.js.map +1 -1
- package/dist/index.es529.js +2 -2
- package/dist/index.es530.js +39 -17
- package/dist/index.es530.js.map +1 -1
- package/dist/index.es531.js +43 -2
- package/dist/index.es531.js.map +1 -1
- package/dist/index.es532.js +32 -32
- package/dist/index.es532.js.map +1 -1
- package/dist/index.es533.js +34 -34
- package/dist/index.es533.js.map +1 -1
- package/dist/index.es534.js +29 -29
- package/dist/index.es534.js.map +1 -1
- package/dist/index.es535.js +30 -30
- package/dist/index.es535.js.map +1 -1
- package/dist/index.es536.js +26 -26
- package/dist/index.es536.js.map +1 -1
- package/dist/index.es537.js +26 -26
- package/dist/index.es537.js.map +1 -1
- package/dist/index.es538.js +29 -28
- package/dist/index.es538.js.map +1 -1
- package/dist/index.es539.js +34 -36
- package/dist/index.es539.js.map +1 -1
- package/dist/index.es540.js +2 -44
- package/dist/index.es540.js.map +1 -1
- package/dist/index.es541.js +20 -39
- package/dist/index.es541.js.map +1 -1
- package/dist/index.es548.js +2 -2
- package/dist/index.es549.js +2 -2
- package/dist/index.es549.js.map +1 -1
- package/dist/index.es550.js +14 -2
- package/dist/index.es550.js.map +1 -1
- package/dist/index.es551.js +12 -2
- package/dist/index.es551.js.map +1 -1
- package/dist/index.es552.js +8 -10
- package/dist/index.es552.js.map +1 -1
- package/dist/index.es553.js +2 -12
- package/dist/index.es553.js.map +1 -1
- package/dist/index.es554.js +2 -12
- package/dist/index.es554.js.map +1 -1
- package/dist/index.es555.js +2 -2
- package/dist/index.es555.js.map +1 -1
- package/dist/index.es563.js +1 -1
- package/dist/index.es565.js +47 -33
- package/dist/index.es565.js.map +1 -1
- package/dist/index.es567.js.map +1 -1
- package/dist/index.es568.js +41 -41
- package/dist/index.es568.js.map +1 -1
- package/dist/index.es569.js +1 -1
- package/dist/index.es57.js +2 -2
- package/dist/index.es570.js +33 -47
- package/dist/index.es570.js.map +1 -1
- package/dist/index.es571.js.map +1 -1
- package/dist/index.es572.js +41 -41
- package/dist/index.es572.js.map +1 -1
- package/dist/index.es573.js +118 -9
- package/dist/index.es573.js.map +1 -1
- package/dist/index.es574.js +68 -13
- package/dist/index.es574.js.map +1 -1
- package/dist/index.es575.js +13 -68
- package/dist/index.es575.js.map +1 -1
- package/dist/index.es576.js +60 -14
- package/dist/index.es576.js.map +1 -1
- package/dist/index.es577.js +9 -60
- package/dist/index.es577.js.map +1 -1
- package/dist/index.es578.js +12 -116
- package/dist/index.es578.js.map +1 -1
- package/dist/index.es580.js +2 -2
- 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 +148 -2
- package/dist/index.es585.js.map +1 -1
- package/dist/index.es587.js +138 -2
- package/dist/index.es587.js.map +1 -1
- package/dist/index.es588.js +2 -2
- package/dist/index.es591.js +2 -2
- package/dist/index.es592.js +2 -151
- package/dist/index.es592.js.map +1 -1
- package/dist/index.es593.js +2 -2
- package/dist/index.es594.js +2 -6
- package/dist/index.es594.js.map +1 -1
- package/dist/index.es595.js +2 -2
- package/dist/index.es596.js +2 -148
- package/dist/index.es596.js.map +1 -1
- package/dist/index.es597.js +2 -2
- package/dist/index.es598.js +2 -138
- package/dist/index.es598.js.map +1 -1
- package/dist/index.es60.js +1 -1
- package/dist/index.es601.js +3 -3
- package/dist/index.es602.js +3 -3
- package/dist/index.es603.js +3 -3
- package/dist/index.es604.js +3 -3
- package/dist/index.es605.js +3 -3
- package/dist/index.es606.js +3 -3
- package/dist/index.es618.js +2 -2
- package/dist/index.es619.js +2 -2
- package/dist/index.es623.js +1 -1
- package/dist/index.es635.js +2 -2
- package/dist/index.es636.js +2 -2
- package/dist/index.es637.js +30 -2
- package/dist/index.es637.js.map +1 -1
- package/dist/index.es638.js +2 -2
- package/dist/index.es640.js +2 -2
- package/dist/index.es642.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.es646.js +2 -30
- package/dist/index.es646.js.map +1 -1
- package/dist/index.es647.js +1 -1
- package/dist/index.es651.js.map +1 -1
- package/dist/index.es655.js.map +1 -1
- package/dist/index.es66.js +1 -1
- package/dist/index.es673.js +1 -1
- package/dist/index.es678.js +6 -6
- package/dist/index.es679.js +16 -13
- package/dist/index.es679.js.map +1 -1
- package/dist/index.es680.js +39 -18
- package/dist/index.es680.js.map +1 -1
- package/dist/index.es681.js +12 -39
- package/dist/index.es681.js.map +1 -1
- package/dist/index.es682.js +37 -12
- package/dist/index.es682.js.map +1 -1
- package/dist/index.es683.js +38 -36
- package/dist/index.es683.js.map +1 -1
- package/dist/index.es684.js +12 -39
- package/dist/index.es684.js.map +1 -1
- package/dist/index.es685.js +11 -8
- package/dist/index.es685.js.map +1 -1
- package/dist/index.es71.js +1 -1
- package/dist/index.es72.js +1 -1
- package/dist/index.es73.js +1 -1
- package/dist/index.es74.js +1 -1
- package/dist/index.es76.js +1 -1
- package/dist/index.es77.js +2 -2
- package/dist/index.es78.js +2 -2
- package/dist/index.es79.js +4 -4
- package/dist/index.es80.js +1 -1
- package/dist/index.es81.js +2 -2
- package/dist/index.es82.js +3 -3
- package/dist/index.es83.js +2 -2
- package/dist/index.es84.js +1 -1
- package/dist/index.es85.js +10 -10
- package/dist/index.es86.js +11 -11
- package/dist/index.es87.js +1 -1
- package/dist/index.es88.js +1 -1
- package/dist/index.es89.js +15 -15
- package/dist/index.es90.js +1 -1
- package/dist/index.es91.js +1 -1
- package/dist/index.es92.js +1 -1
- package/dist/index.es93.js +8 -8
- package/dist/index.es94.js +1 -1
- package/dist/index.es95.js +1 -1
- package/dist/index.es96.js +1 -1
- package/dist/index.es97.js +14 -14
- package/dist/index.es98.js +14 -14
- package/dist/index.es99.js +1 -1
- package/package.json +3 -3
package/dist/index.cjs206.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.cjs206.js","sources":["../../../node_modules/redux/es/redux.js"],"sourcesContent":["import _objectSpread from '@babel/runtime/helpers/esm/objectSpread2';\n\n/**\n * Adapted from React: https://github.com/facebook/react/blob/master/packages/shared/formatProdErrorMessage.js\n *\n * Do not require this module directly! Use normal throw error calls. These messages will be replaced with error codes\n * during build.\n * @param {number} code\n */\nfunction formatProdErrorMessage(code) {\n return \"Minified Redux error #\" + code + \"; visit https://redux.js.org/Errors?code=\" + code + \" for the full message or \" + 'use the non-minified dev environment for full errors. ';\n}\n\n// Inlined version of the `symbol-observable` polyfill\nvar $$observable = (function () {\n return typeof Symbol === 'function' && Symbol.observable || '@@observable';\n})();\n\n/**\n * These are private action types reserved by Redux.\n * For any unknown actions, you must return the current state.\n * If the current state is undefined, you must return the initial state.\n * Do not reference these action types directly in your code.\n */\nvar randomString = function randomString() {\n return Math.random().toString(36).substring(7).split('').join('.');\n};\n\nvar ActionTypes = {\n INIT: \"@@redux/INIT\" + randomString(),\n REPLACE: \"@@redux/REPLACE\" + randomString(),\n PROBE_UNKNOWN_ACTION: function PROBE_UNKNOWN_ACTION() {\n return \"@@redux/PROBE_UNKNOWN_ACTION\" + randomString();\n }\n};\n\n/**\n * @param {any} obj The object to inspect.\n * @returns {boolean} True if the argument appears to be a plain object.\n */\nfunction isPlainObject(obj) {\n if (typeof obj !== 'object' || obj === null) return false;\n var proto = obj;\n\n while (Object.getPrototypeOf(proto) !== null) {\n proto = Object.getPrototypeOf(proto);\n }\n\n return Object.getPrototypeOf(obj) === proto;\n}\n\n// Inlined / shortened version of `kindOf` from https://github.com/jonschlinkert/kind-of\nfunction miniKindOf(val) {\n if (val === void 0) return 'undefined';\n if (val === null) return 'null';\n var type = typeof val;\n\n switch (type) {\n case 'boolean':\n case 'string':\n case 'number':\n case 'symbol':\n case 'function':\n {\n return type;\n }\n }\n\n if (Array.isArray(val)) return 'array';\n if (isDate(val)) return 'date';\n if (isError(val)) return 'error';\n var constructorName = ctorName(val);\n\n switch (constructorName) {\n case 'Symbol':\n case 'Promise':\n case 'WeakMap':\n case 'WeakSet':\n case 'Map':\n case 'Set':\n return constructorName;\n } // other\n\n\n return type.slice(8, -1).toLowerCase().replace(/\\s/g, '');\n}\n\nfunction ctorName(val) {\n return typeof val.constructor === 'function' ? val.constructor.name : null;\n}\n\nfunction isError(val) {\n return val instanceof Error || typeof val.message === 'string' && val.constructor && typeof val.constructor.stackTraceLimit === 'number';\n}\n\nfunction isDate(val) {\n if (val instanceof Date) return true;\n return typeof val.toDateString === 'function' && typeof val.getDate === 'function' && typeof val.setDate === 'function';\n}\n\nfunction kindOf(val) {\n var typeOfVal = typeof val;\n\n if (process.env.NODE_ENV !== 'production') {\n typeOfVal = miniKindOf(val);\n }\n\n return typeOfVal;\n}\n\n/**\n * @deprecated\n *\n * **We recommend using the `configureStore` method\n * of the `@reduxjs/toolkit` package**, which replaces `createStore`.\n *\n * Redux Toolkit is our recommended approach for writing Redux logic today,\n * including store setup, reducers, data fetching, and more.\n *\n * **For more details, please read this Redux docs page:**\n * **https://redux.js.org/introduction/why-rtk-is-redux-today**\n *\n * `configureStore` from Redux Toolkit is an improved version of `createStore` that\n * simplifies setup and helps avoid common bugs.\n *\n * You should not be using the `redux` core package by itself today, except for learning purposes.\n * The `createStore` method from the core `redux` package will not be removed, but we encourage\n * all users to migrate to using Redux Toolkit for all Redux code.\n *\n * If you want to use `createStore` without this visual deprecation warning, use\n * the `legacy_createStore` import instead:\n *\n * `import { legacy_createStore as createStore} from 'redux'`\n *\n */\n\nfunction createStore(reducer, preloadedState, enhancer) {\n var _ref2;\n\n if (typeof preloadedState === 'function' && typeof enhancer === 'function' || typeof enhancer === 'function' && typeof arguments[3] === 'function') {\n throw new Error(process.env.NODE_ENV === \"production\" ? formatProdErrorMessage(0) : 'It looks like you are passing several store enhancers to ' + 'createStore(). This is not supported. Instead, compose them ' + 'together to a single function. See https://redux.js.org/tutorials/fundamentals/part-4-store#creating-a-store-with-enhancers for an example.');\n }\n\n if (typeof preloadedState === 'function' && typeof enhancer === 'undefined') {\n enhancer = preloadedState;\n preloadedState = undefined;\n }\n\n if (typeof enhancer !== 'undefined') {\n if (typeof enhancer !== 'function') {\n throw new Error(process.env.NODE_ENV === \"production\" ? formatProdErrorMessage(1) : \"Expected the enhancer to be a function. Instead, received: '\" + kindOf(enhancer) + \"'\");\n }\n\n return enhancer(createStore)(reducer, preloadedState);\n }\n\n if (typeof reducer !== 'function') {\n throw new Error(process.env.NODE_ENV === \"production\" ? formatProdErrorMessage(2) : \"Expected the root reducer to be a function. Instead, received: '\" + kindOf(reducer) + \"'\");\n }\n\n var currentReducer = reducer;\n var currentState = preloadedState;\n var currentListeners = [];\n var nextListeners = currentListeners;\n var isDispatching = false;\n /**\n * This makes a shallow copy of currentListeners so we can use\n * nextListeners as a temporary list while dispatching.\n *\n * This prevents any bugs around consumers calling\n * subscribe/unsubscribe in the middle of a dispatch.\n */\n\n function ensureCanMutateNextListeners() {\n if (nextListeners === currentListeners) {\n nextListeners = currentListeners.slice();\n }\n }\n /**\n * Reads the state tree managed by the store.\n *\n * @returns {any} The current state tree of your application.\n */\n\n\n function getState() {\n if (isDispatching) {\n throw new Error(process.env.NODE_ENV === \"production\" ? formatProdErrorMessage(3) : 'You may not call store.getState() while the reducer is executing. ' + 'The reducer has already received the state as an argument. ' + 'Pass it down from the top reducer instead of reading it from the store.');\n }\n\n return currentState;\n }\n /**\n * Adds a change listener. It will be called any time an action is dispatched,\n * and some part of the state tree may potentially have changed. You may then\n * call `getState()` to read the current state tree inside the callback.\n *\n * You may call `dispatch()` from a change listener, with the following\n * caveats:\n *\n * 1. The subscriptions are snapshotted just before every `dispatch()` call.\n * If you subscribe or unsubscribe while the listeners are being invoked, this\n * will not have any effect on the `dispatch()` that is currently in progress.\n * However, the next `dispatch()` call, whether nested or not, will use a more\n * recent snapshot of the subscription list.\n *\n * 2. The listener should not expect to see all state changes, as the state\n * might have been updated multiple times during a nested `dispatch()` before\n * the listener is called. It is, however, guaranteed that all subscribers\n * registered before the `dispatch()` started will be called with the latest\n * state by the time it exits.\n *\n * @param {Function} listener A callback to be invoked on every dispatch.\n * @returns {Function} A function to remove this change listener.\n */\n\n\n function subscribe(listener) {\n if (typeof listener !== 'function') {\n throw new Error(process.env.NODE_ENV === \"production\" ? formatProdErrorMessage(4) : \"Expected the listener to be a function. Instead, received: '\" + kindOf(listener) + \"'\");\n }\n\n if (isDispatching) {\n throw new Error(process.env.NODE_ENV === \"production\" ? formatProdErrorMessage(5) : 'You may not call store.subscribe() while the reducer is executing. ' + 'If you would like to be notified after the store has been updated, subscribe from a ' + 'component and invoke store.getState() in the callback to access the latest state. ' + 'See https://redux.js.org/api/store#subscribelistener for more details.');\n }\n\n var isSubscribed = true;\n ensureCanMutateNextListeners();\n nextListeners.push(listener);\n return function unsubscribe() {\n if (!isSubscribed) {\n return;\n }\n\n if (isDispatching) {\n throw new Error(process.env.NODE_ENV === \"production\" ? formatProdErrorMessage(6) : 'You may not unsubscribe from a store listener while the reducer is executing. ' + 'See https://redux.js.org/api/store#subscribelistener for more details.');\n }\n\n isSubscribed = false;\n ensureCanMutateNextListeners();\n var index = nextListeners.indexOf(listener);\n nextListeners.splice(index, 1);\n currentListeners = null;\n };\n }\n /**\n * Dispatches an action. It is the only way to trigger a state change.\n *\n * The `reducer` function, used to create the store, will be called with the\n * current state tree and the given `action`. Its return value will\n * be considered the **next** state of the tree, and the change listeners\n * will be notified.\n *\n * The base implementation only supports plain object actions. If you want to\n * dispatch a Promise, an Observable, a thunk, or something else, you need to\n * wrap your store creating function into the corresponding middleware. For\n * example, see the documentation for the `redux-thunk` package. Even the\n * middleware will eventually dispatch plain object actions using this method.\n *\n * @param {Object} action A plain object representing “what changed”. It is\n * a good idea to keep actions serializable so you can record and replay user\n * sessions, or use the time travelling `redux-devtools`. An action must have\n * a `type` property which may not be `undefined`. It is a good idea to use\n * string constants for action types.\n *\n * @returns {Object} For convenience, the same action object you dispatched.\n *\n * Note that, if you use a custom middleware, it may wrap `dispatch()` to\n * return something else (for example, a Promise you can await).\n */\n\n\n function dispatch(action) {\n if (!isPlainObject(action)) {\n throw new Error(process.env.NODE_ENV === \"production\" ? formatProdErrorMessage(7) : \"Actions must be plain objects. Instead, the actual type was: '\" + kindOf(action) + \"'. You may need to add middleware to your store setup to handle dispatching other values, such as 'redux-thunk' to handle dispatching functions. See https://redux.js.org/tutorials/fundamentals/part-4-store#middleware and https://redux.js.org/tutorials/fundamentals/part-6-async-logic#using-the-redux-thunk-middleware for examples.\");\n }\n\n if (typeof action.type === 'undefined') {\n throw new Error(process.env.NODE_ENV === \"production\" ? formatProdErrorMessage(8) : 'Actions may not have an undefined \"type\" property. You may have misspelled an action type string constant.');\n }\n\n if (isDispatching) {\n throw new Error(process.env.NODE_ENV === \"production\" ? formatProdErrorMessage(9) : 'Reducers may not dispatch actions.');\n }\n\n try {\n isDispatching = true;\n currentState = currentReducer(currentState, action);\n } finally {\n isDispatching = false;\n }\n\n var listeners = currentListeners = nextListeners;\n\n for (var i = 0; i < listeners.length; i++) {\n var listener = listeners[i];\n listener();\n }\n\n return action;\n }\n /**\n * Replaces the reducer currently used by the store to calculate the state.\n *\n * You might need this if your app implements code splitting and you want to\n * load some of the reducers dynamically. You might also need this if you\n * implement a hot reloading mechanism for Redux.\n *\n * @param {Function} nextReducer The reducer for the store to use instead.\n * @returns {void}\n */\n\n\n function replaceReducer(nextReducer) {\n if (typeof nextReducer !== 'function') {\n throw new Error(process.env.NODE_ENV === \"production\" ? formatProdErrorMessage(10) : \"Expected the nextReducer to be a function. Instead, received: '\" + kindOf(nextReducer));\n }\n\n currentReducer = nextReducer; // This action has a similiar effect to ActionTypes.INIT.\n // Any reducers that existed in both the new and old rootReducer\n // will receive the previous state. This effectively populates\n // the new state tree with any relevant data from the old one.\n\n dispatch({\n type: ActionTypes.REPLACE\n });\n }\n /**\n * Interoperability point for observable/reactive libraries.\n * @returns {observable} A minimal observable of state changes.\n * For more information, see the observable proposal:\n * https://github.com/tc39/proposal-observable\n */\n\n\n function observable() {\n var _ref;\n\n var outerSubscribe = subscribe;\n return _ref = {\n /**\n * The minimal observable subscription method.\n * @param {Object} observer Any object that can be used as an observer.\n * The observer object should have a `next` method.\n * @returns {subscription} An object with an `unsubscribe` method that can\n * be used to unsubscribe the observable from the store, and prevent further\n * emission of values from the observable.\n */\n subscribe: function subscribe(observer) {\n if (typeof observer !== 'object' || observer === null) {\n throw new Error(process.env.NODE_ENV === \"production\" ? formatProdErrorMessage(11) : \"Expected the observer to be an object. Instead, received: '\" + kindOf(observer) + \"'\");\n }\n\n function observeState() {\n if (observer.next) {\n observer.next(getState());\n }\n }\n\n observeState();\n var unsubscribe = outerSubscribe(observeState);\n return {\n unsubscribe: unsubscribe\n };\n }\n }, _ref[$$observable] = function () {\n return this;\n }, _ref;\n } // When a store is created, an \"INIT\" action is dispatched so that every\n // reducer returns their initial state. This effectively populates\n // the initial state tree.\n\n\n dispatch({\n type: ActionTypes.INIT\n });\n return _ref2 = {\n dispatch: dispatch,\n subscribe: subscribe,\n getState: getState,\n replaceReducer: replaceReducer\n }, _ref2[$$observable] = observable, _ref2;\n}\n/**\n * Creates a Redux store that holds the state tree.\n *\n * **We recommend using `configureStore` from the\n * `@reduxjs/toolkit` package**, which replaces `createStore`:\n * **https://redux.js.org/introduction/why-rtk-is-redux-today**\n *\n * The only way to change the data in the store is to call `dispatch()` on it.\n *\n * There should only be a single store in your app. To specify how different\n * parts of the state tree respond to actions, you may combine several reducers\n * into a single reducer function by using `combineReducers`.\n *\n * @param {Function} reducer A function that returns the next state tree, given\n * the current state tree and the action to handle.\n *\n * @param {any} [preloadedState] The initial state. You may optionally specify it\n * to hydrate the state from the server in universal apps, or to restore a\n * previously serialized user session.\n * If you use `combineReducers` to produce the root reducer function, this must be\n * an object with the same shape as `combineReducers` keys.\n *\n * @param {Function} [enhancer] The store enhancer. You may optionally specify it\n * to enhance the store with third-party capabilities such as middleware,\n * time travel, persistence, etc. The only store enhancer that ships with Redux\n * is `applyMiddleware()`.\n *\n * @returns {Store} A Redux store that lets you read the state, dispatch actions\n * and subscribe to changes.\n */\n\nvar legacy_createStore = createStore;\n\n/**\n * Prints a warning in the console if it exists.\n *\n * @param {String} message The warning message.\n * @returns {void}\n */\nfunction warning(message) {\n /* eslint-disable no-console */\n if (typeof console !== 'undefined' && typeof console.error === 'function') {\n console.error(message);\n }\n /* eslint-enable no-console */\n\n\n try {\n // This error was thrown as a convenience so that if you enable\n // \"break on all exceptions\" in your console,\n // it would pause the execution at this line.\n throw new Error(message);\n } catch (e) {} // eslint-disable-line no-empty\n\n}\n\nfunction getUnexpectedStateShapeWarningMessage(inputState, reducers, action, unexpectedKeyCache) {\n var reducerKeys = Object.keys(reducers);\n var argumentName = action && action.type === ActionTypes.INIT ? 'preloadedState argument passed to createStore' : 'previous state received by the reducer';\n\n if (reducerKeys.length === 0) {\n return 'Store does not have a valid reducer. Make sure the argument passed ' + 'to combineReducers is an object whose values are reducers.';\n }\n\n if (!isPlainObject(inputState)) {\n return \"The \" + argumentName + \" has unexpected type of \\\"\" + kindOf(inputState) + \"\\\". Expected argument to be an object with the following \" + (\"keys: \\\"\" + reducerKeys.join('\", \"') + \"\\\"\");\n }\n\n var unexpectedKeys = Object.keys(inputState).filter(function (key) {\n return !reducers.hasOwnProperty(key) && !unexpectedKeyCache[key];\n });\n unexpectedKeys.forEach(function (key) {\n unexpectedKeyCache[key] = true;\n });\n if (action && action.type === ActionTypes.REPLACE) return;\n\n if (unexpectedKeys.length > 0) {\n return \"Unexpected \" + (unexpectedKeys.length > 1 ? 'keys' : 'key') + \" \" + (\"\\\"\" + unexpectedKeys.join('\", \"') + \"\\\" found in \" + argumentName + \". \") + \"Expected to find one of the known reducer keys instead: \" + (\"\\\"\" + reducerKeys.join('\", \"') + \"\\\". Unexpected keys will be ignored.\");\n }\n}\n\nfunction assertReducerShape(reducers) {\n Object.keys(reducers).forEach(function (key) {\n var reducer = reducers[key];\n var initialState = reducer(undefined, {\n type: ActionTypes.INIT\n });\n\n if (typeof initialState === 'undefined') {\n throw new Error(process.env.NODE_ENV === \"production\" ? formatProdErrorMessage(12) : \"The slice reducer for key \\\"\" + key + \"\\\" returned undefined during initialization. \" + \"If the state passed to the reducer is undefined, you must \" + \"explicitly return the initial state. The initial state may \" + \"not be undefined. If you don't want to set a value for this reducer, \" + \"you can use null instead of undefined.\");\n }\n\n if (typeof reducer(undefined, {\n type: ActionTypes.PROBE_UNKNOWN_ACTION()\n }) === 'undefined') {\n throw new Error(process.env.NODE_ENV === \"production\" ? formatProdErrorMessage(13) : \"The slice reducer for key \\\"\" + key + \"\\\" returned undefined when probed with a random type. \" + (\"Don't try to handle '\" + ActionTypes.INIT + \"' or other actions in \\\"redux/*\\\" \") + \"namespace. They are considered private. Instead, you must return the \" + \"current state for any unknown actions, unless it is undefined, \" + \"in which case you must return the initial state, regardless of the \" + \"action type. The initial state may not be undefined, but can be null.\");\n }\n });\n}\n/**\n * Turns an object whose values are different reducer functions, into a single\n * reducer function. It will call every child reducer, and gather their results\n * into a single state object, whose keys correspond to the keys of the passed\n * reducer functions.\n *\n * @param {Object} reducers An object whose values correspond to different\n * reducer functions that need to be combined into one. One handy way to obtain\n * it is to use ES6 `import * as reducers` syntax. The reducers may never return\n * undefined for any action. Instead, they should return their initial state\n * if the state passed to them was undefined, and the current state for any\n * unrecognized action.\n *\n * @returns {Function} A reducer function that invokes every reducer inside the\n * passed object, and builds a state object with the same shape.\n */\n\n\nfunction combineReducers(reducers) {\n var reducerKeys = Object.keys(reducers);\n var finalReducers = {};\n\n for (var i = 0; i < reducerKeys.length; i++) {\n var key = reducerKeys[i];\n\n if (process.env.NODE_ENV !== 'production') {\n if (typeof reducers[key] === 'undefined') {\n warning(\"No reducer provided for key \\\"\" + key + \"\\\"\");\n }\n }\n\n if (typeof reducers[key] === 'function') {\n finalReducers[key] = reducers[key];\n }\n }\n\n var finalReducerKeys = Object.keys(finalReducers); // This is used to make sure we don't warn about the same\n // keys multiple times.\n\n var unexpectedKeyCache;\n\n if (process.env.NODE_ENV !== 'production') {\n unexpectedKeyCache = {};\n }\n\n var shapeAssertionError;\n\n try {\n assertReducerShape(finalReducers);\n } catch (e) {\n shapeAssertionError = e;\n }\n\n return function combination(state, action) {\n if (state === void 0) {\n state = {};\n }\n\n if (shapeAssertionError) {\n throw shapeAssertionError;\n }\n\n if (process.env.NODE_ENV !== 'production') {\n var warningMessage = getUnexpectedStateShapeWarningMessage(state, finalReducers, action, unexpectedKeyCache);\n\n if (warningMessage) {\n warning(warningMessage);\n }\n }\n\n var hasChanged = false;\n var nextState = {};\n\n for (var _i = 0; _i < finalReducerKeys.length; _i++) {\n var _key = finalReducerKeys[_i];\n var reducer = finalReducers[_key];\n var previousStateForKey = state[_key];\n var nextStateForKey = reducer(previousStateForKey, action);\n\n if (typeof nextStateForKey === 'undefined') {\n var actionType = action && action.type;\n throw new Error(process.env.NODE_ENV === \"production\" ? formatProdErrorMessage(14) : \"When called with an action of type \" + (actionType ? \"\\\"\" + String(actionType) + \"\\\"\" : '(unknown type)') + \", the slice reducer for key \\\"\" + _key + \"\\\" returned undefined. \" + \"To ignore an action, you must explicitly return the previous state. \" + \"If you want this reducer to hold no value, you can return null instead of undefined.\");\n }\n\n nextState[_key] = nextStateForKey;\n hasChanged = hasChanged || nextStateForKey !== previousStateForKey;\n }\n\n hasChanged = hasChanged || finalReducerKeys.length !== Object.keys(state).length;\n return hasChanged ? nextState : state;\n };\n}\n\nfunction bindActionCreator(actionCreator, dispatch) {\n return function () {\n return dispatch(actionCreator.apply(this, arguments));\n };\n}\n/**\n * Turns an object whose values are action creators, into an object with the\n * same keys, but with every function wrapped into a `dispatch` call so they\n * may be invoked directly. This is just a convenience method, as you can call\n * `store.dispatch(MyActionCreators.doSomething())` yourself just fine.\n *\n * For convenience, you can also pass an action creator as the first argument,\n * and get a dispatch wrapped function in return.\n *\n * @param {Function|Object} actionCreators An object whose values are action\n * creator functions. One handy way to obtain it is to use ES6 `import * as`\n * syntax. You may also pass a single function.\n *\n * @param {Function} dispatch The `dispatch` function available on your Redux\n * store.\n *\n * @returns {Function|Object} The object mimicking the original object, but with\n * every action creator wrapped into the `dispatch` call. If you passed a\n * function as `actionCreators`, the return value will also be a single\n * function.\n */\n\n\nfunction bindActionCreators(actionCreators, dispatch) {\n if (typeof actionCreators === 'function') {\n return bindActionCreator(actionCreators, dispatch);\n }\n\n if (typeof actionCreators !== 'object' || actionCreators === null) {\n throw new Error(process.env.NODE_ENV === \"production\" ? formatProdErrorMessage(16) : \"bindActionCreators expected an object or a function, but instead received: '\" + kindOf(actionCreators) + \"'. \" + \"Did you write \\\"import ActionCreators from\\\" instead of \\\"import * as ActionCreators from\\\"?\");\n }\n\n var boundActionCreators = {};\n\n for (var key in actionCreators) {\n var actionCreator = actionCreators[key];\n\n if (typeof actionCreator === 'function') {\n boundActionCreators[key] = bindActionCreator(actionCreator, dispatch);\n }\n }\n\n return boundActionCreators;\n}\n\n/**\n * Composes single-argument functions from right to left. The rightmost\n * function can take multiple arguments as it provides the signature for\n * the resulting composite function.\n *\n * @param {...Function} funcs The functions to compose.\n * @returns {Function} A function obtained by composing the argument functions\n * from right to left. For example, compose(f, g, h) is identical to doing\n * (...args) => f(g(h(...args))).\n */\nfunction compose() {\n for (var _len = arguments.length, funcs = new Array(_len), _key = 0; _key < _len; _key++) {\n funcs[_key] = arguments[_key];\n }\n\n if (funcs.length === 0) {\n return function (arg) {\n return arg;\n };\n }\n\n if (funcs.length === 1) {\n return funcs[0];\n }\n\n return funcs.reduce(function (a, b) {\n return function () {\n return a(b.apply(void 0, arguments));\n };\n });\n}\n\n/**\n * Creates a store enhancer that applies middleware to the dispatch method\n * of the Redux store. This is handy for a variety of tasks, such as expressing\n * asynchronous actions in a concise manner, or logging every action payload.\n *\n * See `redux-thunk` package as an example of the Redux middleware.\n *\n * Because middleware is potentially asynchronous, this should be the first\n * store enhancer in the composition chain.\n *\n * Note that each middleware will be given the `dispatch` and `getState` functions\n * as named arguments.\n *\n * @param {...Function} middlewares The middleware chain to be applied.\n * @returns {Function} A store enhancer applying the middleware.\n */\n\nfunction applyMiddleware() {\n for (var _len = arguments.length, middlewares = new Array(_len), _key = 0; _key < _len; _key++) {\n middlewares[_key] = arguments[_key];\n }\n\n return function (createStore) {\n return function () {\n var store = createStore.apply(void 0, arguments);\n\n var _dispatch = function dispatch() {\n throw new Error(process.env.NODE_ENV === \"production\" ? formatProdErrorMessage(15) : 'Dispatching while constructing your middleware is not allowed. ' + 'Other middleware would not be applied to this dispatch.');\n };\n\n var middlewareAPI = {\n getState: store.getState,\n dispatch: function dispatch() {\n return _dispatch.apply(void 0, arguments);\n }\n };\n var chain = middlewares.map(function (middleware) {\n return middleware(middlewareAPI);\n });\n _dispatch = compose.apply(void 0, chain)(store.dispatch);\n return _objectSpread(_objectSpread({}, store), {}, {\n dispatch: _dispatch\n });\n };\n };\n}\n\nexport { ActionTypes as __DO_NOT_USE__ActionTypes, applyMiddleware, bindActionCreators, combineReducers, compose, createStore, legacy_createStore };\n"],"names":["formatProdErrorMessage","code","$$observable","randomString","ActionTypes","isPlainObject","obj","proto","miniKindOf","val","type","isDate","isError","constructorName","ctorName","kindOf","typeOfVal","createStore","reducer","preloadedState","enhancer","_ref2","currentReducer","currentState","currentListeners","nextListeners","isDispatching","ensureCanMutateNextListeners","getState","subscribe","listener","isSubscribed","index","dispatch","action","listeners","i","replaceReducer","nextReducer","observable","_ref","outerSubscribe","observer","observeState","unsubscribe","warning","message","getUnexpectedStateShapeWarningMessage","inputState","reducers","unexpectedKeyCache","reducerKeys","argumentName","unexpectedKeys","key","assertReducerShape","initialState","combineReducers","finalReducers","finalReducerKeys","shapeAssertionError","e","state","warningMessage","hasChanged","nextState","_i","_key","previousStateForKey","nextStateForKey","actionType","compose","_len","funcs","arg","a","b","applyMiddleware","middlewares","store","_dispatch","middlewareAPI","chain","middleware","_objectSpread"],"mappings":"qHASA,SAASA,EAAuBC,EAAM,CAC7B,MAAA,yBAA2BA,EAAO,4CAA8CA,EAAO,iFAChG,CAGA,IAAIC,EAAgB,UAAY,CAC9B,OAAO,OAAO,QAAW,YAAc,OAAO,YAAc,cAC9D,IAQIC,EAAe,UAAwB,CACzC,OAAO,KAAK,OAAA,EAAS,SAAS,EAAE,EAAE,UAAU,CAAC,EAAE,MAAM,EAAE,EAAE,KAAK,GAAG,CACnE,EAEIC,EAAc,CAChB,KAAM,eAAiBD,EAAa,EACpC,QAAS,kBAAoBA,EAAa,EAC1C,qBAAsB,UAAgC,CACpD,MAAO,+BAAiCA,GAC1C,CACF,EAMA,SAASE,EAAcC,EAAK,CACtB,GAAA,OAAOA,GAAQ,UAAYA,IAAQ,KAAa,MAAA,GAGpD,QAFIC,EAAQD,EAEL,OAAO,eAAeC,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AAI,EAGpC,OAAO,SAAUlD,EAAa,CAC5B,OAAO,UAAY,CACjB,IAAI8D,EAAQ9D,EAAY,MAAM,OAAQ,SAAS,EAE3C+D,EAAY,UAAoB,CAC5B,MAAA,IAAI,MAAM,QAAQ,IAAI,WAAa,aAAehF,EAAuB,EAAE,EAAI,wHAA6H,CAAA,EAGhNiF,EAAgB,CAClB,SAAUF,EAAM,SAChB,SAAU,UAAoB,CACrB,OAAAC,EAAU,MAAM,OAAQ,SAAS,CAC1C,CAAA,EAEEE,EAAQJ,EAAY,IAAI,SAAUK,EAAY,CAChD,OAAOA,EAAWF,CAAa,CAAA,CAChC,EACD,OAAAD,EAAYT,EAAQ,MAAM,OAAQW,CAAK,EAAEH,EAAM,QAAQ,EAChDK,EAAcA,EAAc,GAAIL,CAAK,EAAG,CAAA,EAAI,CACjD,SAAUC,CAAA,CACX,CAAA,CACH,CAEJ","x_google_ignoreList":[0]}
|
|
1
|
+
{"version":3,"file":"index.cjs206.js","sources":["../../../node_modules/sanitize-html/node_modules/is-plain-object/dist/is-plain-object.js"],"sourcesContent":["'use strict';\n\nObject.defineProperty(exports, '__esModule', { value: true });\n\n/*!\n * is-plain-object <https://github.com/jonschlinkert/is-plain-object>\n *\n * Copyright (c) 2014-2017, Jon Schlinkert.\n * Released under the MIT License.\n */\n\nfunction isObject(o) {\n return Object.prototype.toString.call(o) === '[object Object]';\n}\n\nfunction isPlainObject(o) {\n var ctor,prot;\n\n if (isObject(o) === false) return false;\n\n // If has modified constructor\n ctor = o.constructor;\n if (ctor === undefined) return true;\n\n // If has modified prototype\n prot = ctor.prototype;\n if (isObject(prot) === false) return false;\n\n // If constructor does not have an Object-specific method\n if (prot.hasOwnProperty('isPrototypeOf') === false) {\n return false;\n }\n\n // Most likely a plain Object\n return true;\n}\n\nexports.isPlainObject = isPlainObject;\n"],"names":["isPlainObject_1","isObject","o","isPlainObject","ctor","prot"],"mappings":"kDAEA,OAAO,eAAeA,EAAAA,UAAS,aAAc,CAAE,MAAO,GAAM,EAE5D;AAAA;AAAA;AAAA;AAAA;AAAA,GAOA,SAASC,EAASC,EAAG,CACnB,OAAO,OAAO,UAAU,SAAS,KAAKA,CAAC,IAAM,iBAC/C,CAEA,SAASC,EAAcD,EAAG,CACxB,IAAIE,EAAKC,EAEL,OAAAJ,EAASC,CAAC,IAAM,GAAc,IAGlCE,EAAOF,EAAE,YACLE,IAAS,OAAkB,IAG/BC,EAAOD,EAAK,UACR,EAAAH,EAASI,CAAI,IAAM,IAGnBA,EAAK,eAAe,eAAe,IAAM,KAM/C,CAEAL,EAAA,UAAA,cAAwBG","x_google_ignoreList":[0]}
|
package/dist/index.cjs207.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"});var b=function(r){return y(r)&&!o(r)};function y(e){return!!e&&typeof e=="object"}function o(e){var r=Object.prototype.toString.call(e);return r==="[object RegExp]"||r==="[object Date]"||j(e)}var s=typeof Symbol=="function"&&Symbol.for,O=s?Symbol.for("react.element"):60103;function j(e){return e.$$typeof===O}function m(e){return Array.isArray(e)?[]:{}}function u(e,r){return r.clone!==!1&&r.isMergeableObject(e)?a(m(e),e,r):e}function g(e,r,n){return e.concat(r).map(function(c){return u(c,n)})}function M(e,r){if(!r.customMerge)return a;var n=r.customMerge(e);return typeof n=="function"?n:a}function A(e){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e).filter(function(r){return Object.propertyIsEnumerable.call(e,r)}):[]}function f(e){return Object.keys(e).concat(A(e))}function l(e,r){try{return r in e}catch{return!1}}function E(e,r){return l(e,r)&&!(Object.hasOwnProperty.call(e,r)&&Object.propertyIsEnumerable.call(e,r))}function S(e,r,n){var c={};return n.isMergeableObject(e)&&f(e).forEach(function(t){c[t]=u(e[t],n)}),f(r).forEach(function(t){E(e,t)||(l(e,t)&&n.isMergeableObject(r[t])?c[t]=M(t,n)(e[t],r[t],n):c[t]=u(r[t],n))}),c}function a(e,r,n){n=n||{},n.arrayMerge=n.arrayMerge||g,n.isMergeableObject=n.isMergeableObject||b,n.cloneUnlessOtherwiseSpecified=u;var c=Array.isArray(r),t=Array.isArray(e),i=c===t;return i?c?n.arrayMerge(e,r,n):S(e,r,n):u(r,n)}a.all=function(r,n){if(!Array.isArray(r))throw new Error("first argument should be an array");return r.reduce(function(c,t){return a(c,t,n)},{})};var d=a,p=d;exports.cjs=p;
|
|
2
2
|
//# sourceMappingURL=index.cjs207.js.map
|
package/dist/index.cjs207.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.cjs207.js","sources":["../../../node_modules
|
|
1
|
+
{"version":3,"file":"index.cjs207.js","sources":["../../../node_modules/deepmerge/dist/cjs.js"],"sourcesContent":["'use strict';\n\nvar isMergeableObject = function isMergeableObject(value) {\n\treturn isNonNullObject(value)\n\t\t&& !isSpecial(value)\n};\n\nfunction isNonNullObject(value) {\n\treturn !!value && typeof value === 'object'\n}\n\nfunction isSpecial(value) {\n\tvar stringValue = Object.prototype.toString.call(value);\n\n\treturn stringValue === '[object RegExp]'\n\t\t|| stringValue === '[object Date]'\n\t\t|| isReactElement(value)\n}\n\n// see https://github.com/facebook/react/blob/b5ac963fb791d1298e7f396236383bc955f916c1/src/isomorphic/classic/element/ReactElement.js#L21-L25\nvar canUseSymbol = typeof Symbol === 'function' && Symbol.for;\nvar REACT_ELEMENT_TYPE = canUseSymbol ? Symbol.for('react.element') : 0xeac7;\n\nfunction isReactElement(value) {\n\treturn value.$$typeof === REACT_ELEMENT_TYPE\n}\n\nfunction emptyTarget(val) {\n\treturn Array.isArray(val) ? [] : {}\n}\n\nfunction cloneUnlessOtherwiseSpecified(value, options) {\n\treturn (options.clone !== false && options.isMergeableObject(value))\n\t\t? deepmerge(emptyTarget(value), value, options)\n\t\t: value\n}\n\nfunction defaultArrayMerge(target, source, options) {\n\treturn target.concat(source).map(function(element) {\n\t\treturn cloneUnlessOtherwiseSpecified(element, options)\n\t})\n}\n\nfunction getMergeFunction(key, options) {\n\tif (!options.customMerge) {\n\t\treturn deepmerge\n\t}\n\tvar customMerge = options.customMerge(key);\n\treturn typeof customMerge === 'function' ? customMerge : deepmerge\n}\n\nfunction getEnumerableOwnPropertySymbols(target) {\n\treturn Object.getOwnPropertySymbols\n\t\t? Object.getOwnPropertySymbols(target).filter(function(symbol) {\n\t\t\treturn Object.propertyIsEnumerable.call(target, symbol)\n\t\t})\n\t\t: []\n}\n\nfunction getKeys(target) {\n\treturn Object.keys(target).concat(getEnumerableOwnPropertySymbols(target))\n}\n\nfunction propertyIsOnObject(object, property) {\n\ttry {\n\t\treturn property in object\n\t} catch(_) {\n\t\treturn false\n\t}\n}\n\n// Protects from prototype poisoning and unexpected merging up the prototype chain.\nfunction propertyIsUnsafe(target, key) {\n\treturn propertyIsOnObject(target, key) // Properties are safe to merge if they don't exist in the target yet,\n\t\t&& !(Object.hasOwnProperty.call(target, key) // unsafe if they exist up the prototype chain,\n\t\t\t&& Object.propertyIsEnumerable.call(target, key)) // and also unsafe if they're nonenumerable.\n}\n\nfunction mergeObject(target, source, options) {\n\tvar destination = {};\n\tif (options.isMergeableObject(target)) {\n\t\tgetKeys(target).forEach(function(key) {\n\t\t\tdestination[key] = cloneUnlessOtherwiseSpecified(target[key], options);\n\t\t});\n\t}\n\tgetKeys(source).forEach(function(key) {\n\t\tif (propertyIsUnsafe(target, key)) {\n\t\t\treturn\n\t\t}\n\n\t\tif (propertyIsOnObject(target, key) && options.isMergeableObject(source[key])) {\n\t\t\tdestination[key] = getMergeFunction(key, options)(target[key], source[key], options);\n\t\t} else {\n\t\t\tdestination[key] = cloneUnlessOtherwiseSpecified(source[key], options);\n\t\t}\n\t});\n\treturn destination\n}\n\nfunction deepmerge(target, source, options) {\n\toptions = options || {};\n\toptions.arrayMerge = options.arrayMerge || defaultArrayMerge;\n\toptions.isMergeableObject = options.isMergeableObject || isMergeableObject;\n\t// cloneUnlessOtherwiseSpecified is added to `options` so that custom arrayMerge()\n\t// implementations can use it. The caller may not replace it.\n\toptions.cloneUnlessOtherwiseSpecified = cloneUnlessOtherwiseSpecified;\n\n\tvar sourceIsArray = Array.isArray(source);\n\tvar targetIsArray = Array.isArray(target);\n\tvar sourceAndTargetTypesMatch = sourceIsArray === targetIsArray;\n\n\tif (!sourceAndTargetTypesMatch) {\n\t\treturn cloneUnlessOtherwiseSpecified(source, options)\n\t} else if (sourceIsArray) {\n\t\treturn options.arrayMerge(target, source, options)\n\t} else {\n\t\treturn mergeObject(target, source, options)\n\t}\n}\n\ndeepmerge.all = function deepmergeAll(array, options) {\n\tif (!Array.isArray(array)) {\n\t\tthrow new Error('first argument should be an array')\n\t}\n\n\treturn array.reduce(function(prev, next) {\n\t\treturn deepmerge(prev, next, options)\n\t}, {})\n};\n\nvar deepmerge_1 = deepmerge;\n\nmodule.exports = deepmerge_1;\n"],"names":["isMergeableObject","value","isNonNullObject","isSpecial","stringValue","isReactElement","canUseSymbol","REACT_ELEMENT_TYPE","emptyTarget","val","cloneUnlessOtherwiseSpecified","options","deepmerge","defaultArrayMerge","target","source","element","getMergeFunction","key","customMerge","getEnumerableOwnPropertySymbols","symbol","getKeys","propertyIsOnObject","object","property","propertyIsUnsafe","mergeObject","destination","sourceIsArray","targetIsArray","sourceAndTargetTypesMatch","array","prev","next","deepmerge_1","cjs"],"mappings":"gFAEA,IAAIA,EAAoB,SAA2BC,EAAO,CACzD,OAAOC,EAAgBD,CAAK,GACxB,CAACE,EAAUF,CAAK,CACrB,EAEA,SAASC,EAAgBD,EAAO,CAC/B,MAAO,CAAC,CAACA,GAAS,OAAOA,GAAU,QACpC,CAEA,SAASE,EAAUF,EAAO,CACzB,IAAIG,EAAc,OAAO,UAAU,SAAS,KAAKH,CAAK,EAEtD,OAAOG,IAAgB,mBACnBA,IAAgB,iBAChBC,EAAeJ,CAAK,CACzB,CAGA,IAAIK,EAAe,OAAO,QAAW,YA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|
package/dist/index.cjs208.js
CHANGED
|
@@ -1,2 +1,3 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const F=require("./index.cjs203.js"),E=require("./index.cjs382.js");(function(w){(function(a,u){w.exports?w.exports=u():a.parseSrcset=u()})(F.commonjsGlobal,function(){return function(a){function u(r){return r===" "||r===" "||r===`
|
|
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;
|
|
2
3
|
//# sourceMappingURL=index.cjs208.js.map
|
package/dist/index.cjs208.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.cjs208.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","isCurrent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,"file":"index.cjs208.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":"kKAgBC,SAAUA,EAAMC,EAAS,CAIgBC,EAAO,QAI/CA,EAAA,QAAiBD,IAGjBD,EAAK,YAAcC,GAErB,GAAEE,iBAAM,UAAY,CAGnB,OAAO,SAAUC,EAAO,CAOvB,SAASC,EAAQC,EAAG,CACnB,OAAQA,IAAM,KACdA,IAAM,KACNA,IAAM;AAAA,GACNA,IAAM,MACNA,IAAM,IACP,CAEA,SAASC,EAAkBC,EAAO,CACjC,IAAIC,EACHC,EAAQF,EAAM,KAAKJ,EAAM,UAAUO,CAAG,CAAC,EACxC,GAAID,EACH,OAAAD,EAAQC,EAAO,CAAE,EACjBC,GAAOF,EAAM,OACNA,CAET,CAkCA,QAhCIG,EAAcR,EAAM,OAGvBS,EAAqB,oBACrBC,EAA6B,qBAC7BC,EAAwB,qBACxBC,EAAsB,QACtBC,EAA0B,QAO1BC,EAAqB,oDAErBC,EACAC,EACAC,EACAC,EACAhB,EAIAK,EAAM,EAGNY,EAAa,CAAA,IAKD,CAIZ,GAHAhB,EAAkBO,CAA0B,EAGxCH,GAAOC,E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AASD,EAAO,EAAE,EAC3BE,EAAW,WAAWF,CAAK,EAIvBjB,EAAwB,KAAKiB,CAAK,GAAMD,IAAa,MAGpDN,GAAKC,KAAaF,EAAA,IAKlBS,IAAW,EAAaT,EAAA,GAAiBC,EAAAQ,GAInCjB,EAAmB,KAAKgB,CAAK,GAAMD,IAAa,MAItDN,GAAKC,GAAKC,KAAaH,EAAA,IAKvBU,EAAW,EAAaV,EAAA,GAAiBE,EAAAQ,GAInCnB,EAAwB,KAAKiB,CAAK,GAAMD,IAAa,MAG3DJ,GAAKD,KAAaF,EAAA,IAKlBS,IAAW,EAAaT,EAAA,GAAiBG,EAAAM,GAG7BT,EAAA,GAMbA,EAMM,SAAW,QAAQ,KAC7B,QAAQ,IAAI,uCACXtB,EAAQ,SAAW4B,EAAO,IAAI,GAP/BD,EAAU,IAAMZ,EACZQ,IAAKI,EAAU,EAAIJ,GACnBC,IAAKG,EAAU,EAAIH,GACnBC,IAAKE,EAAU,EAAIF,GACvBN,EAAW,KAAKQ,CAAS,EAK3B,CAAA,CAGF,CAAC","x_google_ignoreList":[0]}
|
package/dist/index.cjs209.js
CHANGED
|
@@ -1,2 +1,4 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const q=require("./index.cjs383.js"),y=require("./index.cjs384.js"),R=require("./index.cjs385.js"),S=require("./index.cjs386.js"),N=require("./index.cjs387.js"),h=require("./index.cjs388.js"),P=require("./index.cjs389.js"),v=require("./index.cjs390.js"),A=require("./index.cjs391.js"),C=require("./index.cjs392.js"),O=require("./index.cjs393.js"),_=require("./index.cjs394.js"),x=require("./index.cjs395.js"),D=require("./index.cjs396.js"),E=require("./index.cjs397.js"),J=require("./index.cjs398.js"),$=require("./index.cjs399.js"),b=require("./index.cjs400.js");let z=q.cssSyntaxError,u=y.declaration,L=R.lazyResult,W=S.container,i=N.processor,j=h.stringify_1,G=P.fromJSON_1,a=v.document,I=A.warning,p=C.comment,m=O.atRule,M=_.result,T=x.input,V=D.parse_1,k=E.list_1,f=J.rule,g=$.root,B=b.node;function e(...t){return t.length===1&&Array.isArray(t[0])&&(t=t[0]),new i(t)}e.plugin=function(o,w){let l=!1;function r(...c){console&&console.warn&&!l&&(l=!0,console.warn(o+`: postcss.plugin was deprecated. Migration guide:
|
|
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;
|
|
2
4
|
//# sourceMappingURL=index.cjs209.js.map
|
package/dist/index.cjs209.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.cjs209.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":"+ZAuBMA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,EAA6B,SAAS,cAC5C,UAAWC,KAAaF,EAIpB,GAFIE,IAAcD,IAClBC,EAAU,MAAK,EACX,SAAS,gBAAkBD,GAA4B,MAEnE,CAII,SAASL,GAAgCO,EAAOC,EAAY,CAC5D,OAAOD,EAAM,IAAI,CAACE,EAAGC,IAAQH,GAAOC,EAAaE,GAASH,EAAM,MAAM,CAC1E,CACA,CACK,MAACI,GAA4C5E,EAC5C6E,GAA4C1B","x_google_ignoreList":[0]}
|
|
1
|
+
{"version":3,"file":"index.cjs209.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,EA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gB,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]}
|
package/dist/index.cjs210.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"});var e={};exports.__exports=e;
|
|
2
2
|
//# sourceMappingURL=index.cjs210.js.map
|
package/dist/index.cjs210.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.cjs210.js","sources":[
|
|
1
|
+
{"version":3,"file":"index.cjs210.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
package/dist/index.cjs211.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"});var e={};exports.__exports=e;
|
|
2
2
|
//# sourceMappingURL=index.cjs211.js.map
|
package/dist/index.cjs211.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.cjs211.js","sources":[
|
|
1
|
+
{"version":3,"file":"index.cjs211.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
package/dist/index.cjs212.js
CHANGED
|
@@ -1,2 +1,9 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});function i(t,e){this.message=t,this.error=e}i.prototype=Object.create(Error.prototype);const h=/([0-9]+)?:?([0-9]{2}):([0-9]{2}\.[0-9]{2,3})/;function g(t,e){e||(e={});const{meta:r=!1,strict:o=!0}=e;if(typeof t!="string")throw new i("Input must be a string");t=t.trim(),t=t.replace(/\r\n/g,`
|
|
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;
|
|
2
9
|
//# sourceMappingURL=index.cjs212.js.map
|
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/node-webvtt/lib/parser.js"],"sourcesContent":["'use strict';\n\n/**\n * See spec: https://www.w3.org/TR/webvtt1/#file-structure\n */\n\nfunction ParserError (message, error) {\n this.message = message;\n this.error = error;\n}\n\nParserError.prototype = Object.create(Error.prototype);\n\nconst TIMESTAMP_REGEXP = /([0-9]+)?:?([0-9]{2}):([0-9]{2}\\.[0-9]{2,3})/;\n\nfunction parse (input, options) {\n if (!options) {\n options = {};\n }\n\n const { meta = false, strict = true } = options;\n\n if (typeof input !== 'string') {\n throw new ParserError('Input must be a string');\n }\n\n input = input.trim();\n input = input.replace(/\\r\\n/g, '\\n');\n input = input.replace(/\\r/g, '\\n');\n\n const parts = input.split('\\n\\n');\n const header = parts.shift();\n\n if (!header.startsWith('WEBVTT')) {\n throw new ParserError('Must start with \"WEBVTT\"');\n }\n\n const headerParts = header.split('\\n');\n\n const headerComments = headerParts[0].replace('WEBVTT', '');\n\n if (headerComments.length > 0\n && (headerComments[0] !== ' ' && headerComments[0] !== '\\t')\n ) {\n throw new ParserError('Header comment must start with space or tab');\n }\n\n // nothing of interests, return early\n if (parts.length === 0 && headerParts.length === 1) {\n return { valid: true, strict, cues: [], errors: [] };\n }\n\n if (!meta && headerParts.length > 1 && headerParts[1] !== '') {\n throw new ParserError('Missing blank line after signature');\n }\n\n const { cues, errors } = parseCues(parts, strict);\n\n if (strict && errors.length > 0) {\n throw errors[0];\n }\n\n const headerMeta = meta ? parseMeta(headerParts) : null;\n\n const result = { valid: errors.length === 0, strict, cues, errors };\n\n if (meta) {\n result.meta = headerMeta;\n }\n\n return result;\n}\n\nfunction parseMeta (headerParts) {\n const meta = {};\n headerParts.slice(1).forEach(header => {\n const splitIdx = header.indexOf(':');\n const key = header.slice(0, splitIdx).trim();\n const value = header.slice(splitIdx + 1).trim();\n meta[key] = value;\n });\n return Object.keys(meta).length > 0 ? meta : null;\n}\n\nfunction parseCues (cues, strict) {\n const errors = [];\n\n const parsedCues = cues\n .map((cue, i) => {\n try {\n return parseCue(cue, i, strict);\n } catch (e) {\n errors.push(e);\n return null;\n }\n })\n .filter(Boolean);\n\n return {\n cues: parsedCues,\n errors\n };\n}\n\n/**\n * Parse a single cue block.\n *\n * @param {array} cue Array of content for the cue\n * @param {number} i Index of cue in array\n *\n * @returns {object} cue Cue object with start, end, text and styles.\n * Null if it's a note\n */\nfunction parseCue (cue, i, strict) {\n let identifier = '';\n let start = 0;\n let end = 0.01;\n let text = '';\n let styles = '';\n\n // split and remove empty lines\n const lines = cue.split('\\n').filter(Boolean);\n\n if (lines.length > 0 && lines[0].trim().startsWith('NOTE')) {\n return null;\n }\n\n if (lines.length === 1 && !lines[0].includes('-->')) {\n throw new ParserError(`Cue identifier cannot be standalone (cue #${i})`);\n }\n\n if (lines.length > 1 &&\n !(lines[0].includes('-->') || lines[1].includes('-->'))) {\n const msg = `Cue identifier needs to be followed by timestamp (cue #${i})`;\n throw new ParserError(msg);\n }\n\n if (lines.length > 1 && lines[1].includes('-->')) {\n identifier = lines.shift();\n }\n\n const times = typeof lines[0] === 'string' && lines[0].split(' --> ');\n\n if (times.length !== 2 ||\n !validTimestamp(times[0]) ||\n !validTimestamp(times[1])) {\n\n throw new ParserError(`Invalid cue timestamp (cue #${i})`);\n }\n\n start = parseTimestamp(times[0]);\n end = parseTimestamp(times[1]);\n\n if (strict) {\n if (start > end) {\n throw new ParserError(`Start timestamp greater than end (cue #${i})`);\n }\n\n if (end <= start) {\n throw new ParserError(`End must be greater than start (cue #${i})`);\n }\n }\n\n if (!strict && end < start) {\n throw new ParserError(\n `End must be greater or equal to start when not strict (cue #${i})`\n );\n }\n\n // TODO better style validation\n styles = times[1].replace(TIMESTAMP_REGEXP, '').trim();\n\n lines.shift();\n\n text = lines.join('\\n');\n\n if (!text) {\n return false;\n }\n\n return { identifier, start, end, text, styles };\n}\n\nfunction validTimestamp (timestamp) {\n return TIMESTAMP_REGEXP.test(timestamp);\n}\n\nfunction parseTimestamp (timestamp) {\n const matches = timestamp.match(TIMESTAMP_REGEXP);\n let secs = parseFloat(matches[1] || 0) * 60 * 60; // hours\n secs += parseFloat(matches[2]) * 60; // mins\n secs += parseFloat(matches[3]);\n // secs += parseFloat(matches[4]);\n return secs;\n}\n\nmodule.exports = { ParserError, parse };\n"],"names":["ParserError","message","error","TIMESTAMP_REGEXP","parse","input","options","meta","strict","parts","header","headerParts","headerComments","cues","errors","parseCues","headerMeta","parseMeta","result","splitIdx","key","value","cue","i","parseCue","e","identifier","start","end","text","styles","lines","msg","times","validTimestamp","parseTimestamp","timestamp","matches","secs","parser"],"mappings":"gFAMA,SAASA,EAAaC,EAASC,EAAO,CACpC,KAAK,QAAUD,EACf,KAAK,MAAQC,CACf,CAEAF,EAAY,UAAY,OAAO,OAAO,MAAM,SAAS,EAErD,MAAMG,EAAmB,+CAEzB,SAASC,EAAOC,EAAOC,EAAS,CACzBA,IACHA,EAAU,CAAA,GAGZ,KAAM,CAAE,KAAAC,EAAO,GAAO,OAAAC,EAAS,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ACC,EAAeD,EAAM,CAAC,CAAC,EAE1B,MAAM,IAAIjC,EAAY,+BAA+BuB,CAAC,GAAG,EAM3D,GAHQI,EAAAQ,EAAeF,EAAM,CAAC,CAAC,EACzBL,EAAAO,EAAeF,EAAM,CAAC,CAAC,EAEzBzB,EAAQ,CACV,GAAImB,EAAQC,EACV,MAAM,IAAI5B,EAAY,0CAA0CuB,CAAC,GAAG,EAGtE,GAAIK,GAAOD,EACT,MAAM,IAAI3B,EAAY,wCAAwCuB,CAAC,GAAG,CAEtE,CAEI,GAAA,CAACf,GAAUoB,EAAMD,EACnB,MAAM,IAAI3B,EACR,+DAA+DuB,CAAC,GAAA,EAWpE,OANAO,EAASG,EAAM,CAAC,EAAE,QAAQ9B,EAAkB,EAAE,EAAE,OAEhD4B,EAAM,MAAM,EAELF,EAAAE,EAAM,KAAK;AAAA,CAAI,EAEjBF,EAIE,CAAE,WAAAH,EAAY,MAAAC,EAAO,IAAAC,EAAK,KAAAC,EAAM,OAAAC,CAAO,EAHrC,EAIX,CAEA,SAASI,EAAgBE,EAAW,CAC3B,OAAAjC,EAAiB,KAAKiC,CAAS,CACxC,CAEA,SAASD,EAAgBC,EAAW,CAC5B,MAAAC,EAAUD,EAAU,MAAMjC,CAAgB,EAChD,IAAImC,EAAO,WAAWD,EAAQ,CAAC,GAAK,CAAC,EAAI,GAAK,GAC9C,OAAAC,GAAQ,WAAWD,EAAQ,CAAC,CAAC,EAAI,GACzBC,GAAA,WAAWD,EAAQ,CAAC,CAAC,EAEtBC,CACT,CAEA,IAAAC,EAAiB,CAAE,YAAAvC,EAAa,MAAAI,CAAM","x_google_ignoreList":[0]}
|
package/dist/index.cjs213.js
CHANGED
|
@@ -1,2 +1,14 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});function r(t,e){this.message=t,this.error=e}r.prototype=Object.create(Error.prototype);function l(t){if(!t)throw new r("Input must be non-null");if(typeof t!="object")throw new r("Input must be an object");if(Array.isArray(t))throw new r("Input cannot be array");if(!t.valid)throw new r("Input must be valid");let e=`WEBVTT
|
|
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;
|
|
2
14
|
//# sourceMappingURL=index.cjs213.js.map
|
package/dist/index.cjs213.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.cjs213.js","sources":["../../../node_modules/@radix-ui/react-dismissable-layer/dist/index.mjs"],"sourcesContent":["import $kqwpH$babelruntimehelpersesmextends from \"@babel/runtime/helpers/esm/extends\";\nimport {createContext as $kqwpH$createContext, forwardRef as $kqwpH$forwardRef, useContext as $kqwpH$useContext, useState as $kqwpH$useState, useEffect as $kqwpH$useEffect, createElement as $kqwpH$createElement, useRef as $kqwpH$useRef} from \"react\";\nimport {composeEventHandlers as $kqwpH$composeEventHandlers} from \"@radix-ui/primitive\";\nimport {Primitive as $kqwpH$Primitive, dispatchDiscreteCustomEvent as $kqwpH$dispatchDiscreteCustomEvent} from \"@radix-ui/react-primitive\";\nimport {useComposedRefs as $kqwpH$useComposedRefs} from \"@radix-ui/react-compose-refs\";\nimport {useCallbackRef as $kqwpH$useCallbackRef} from \"@radix-ui/react-use-callback-ref\";\nimport {useEscapeKeydown as $kqwpH$useEscapeKeydown} from \"@radix-ui/react-use-escape-keydown\";\n\n\n\n\n\n\n\n\n/* -------------------------------------------------------------------------------------------------\n * DismissableLayer\n * -----------------------------------------------------------------------------------------------*/ const $5cb92bef7577960e$var$DISMISSABLE_LAYER_NAME = 'DismissableLayer';\nconst $5cb92bef7577960e$var$CONTEXT_UPDATE = 'dismissableLayer.update';\nconst $5cb92bef7577960e$var$POINTER_DOWN_OUTSIDE = 'dismissableLayer.pointerDownOutside';\nconst $5cb92bef7577960e$var$FOCUS_OUTSIDE = 'dismissableLayer.focusOutside';\nlet $5cb92bef7577960e$var$originalBodyPointerEvents;\nconst $5cb92bef7577960e$var$DismissableLayerContext = /*#__PURE__*/ $kqwpH$createContext({\n layers: new Set(),\n layersWithOutsidePointerEventsDisabled: new Set(),\n branches: new Set()\n});\nconst $5cb92bef7577960e$export$177fb62ff3ec1f22 = /*#__PURE__*/ $kqwpH$forwardRef((props, forwardedRef)=>{\n var _node$ownerDocument;\n const { disableOutsidePointerEvents: disableOutsidePointerEvents = false , onEscapeKeyDown: onEscapeKeyDown , onPointerDownOutside: onPointerDownOutside , onFocusOutside: onFocusOutside , onInteractOutside: onInteractOutside , onDismiss: onDismiss , ...layerProps } = props;\n const context = $kqwpH$useContext($5cb92bef7577960e$var$DismissableLayerContext);\n const [node1, setNode] = $kqwpH$useState(null);\n const ownerDocument = (_node$ownerDocument = node1 === null || node1 === void 0 ? void 0 : node1.ownerDocument) !== null && _node$ownerDocument !== void 0 ? _node$ownerDocument : globalThis === null || globalThis === void 0 ? void 0 : globalThis.document;\n const [, force] = $kqwpH$useState({});\n const composedRefs = $kqwpH$useComposedRefs(forwardedRef, (node)=>setNode(node)\n );\n const layers = Array.from(context.layers);\n const [highestLayerWithOutsidePointerEventsDisabled] = [\n ...context.layersWithOutsidePointerEventsDisabled\n ].slice(-1); // prettier-ignore\n const highestLayerWithOutsidePointerEventsDisabledIndex = layers.indexOf(highestLayerWithOutsidePointerEventsDisabled); // prettier-ignore\n const index = node1 ? layers.indexOf(node1) : -1;\n const isBodyPointerEventsDisabled = context.layersWithOutsidePointerEventsDisabled.size > 0;\n const isPointerEventsEnabled = index >= highestLayerWithOutsidePointerEventsDisabledIndex;\n const pointerDownOutside = $5cb92bef7577960e$var$usePointerDownOutside((event)=>{\n const target = event.target;\n const isPointerDownOnBranch = [\n ...context.branches\n ].some((branch)=>branch.contains(target)\n );\n if (!isPointerEventsEnabled || isPointerDownOnBranch) return;\n onPointerDownOutside === null || onPointerDownOutside === void 0 || onPointerDownOutside(event);\n onInteractOutside === null || onInteractOutside === void 0 || onInteractOutside(event);\n if (!event.defaultPrevented) onDismiss === null || onDismiss === void 0 || onDismiss();\n }, ownerDocument);\n const focusOutside = $5cb92bef7577960e$var$useFocusOutside((event)=>{\n const target = event.target;\n const isFocusInBranch = [\n ...context.branches\n ].some((branch)=>branch.contains(target)\n );\n if (isFocusInBranch) return;\n onFocusOutside === null || onFocusOutside === void 0 || onFocusOutside(event);\n onInteractOutside === null || onInteractOutside === void 0 || onInteractOutside(event);\n if (!event.defaultPrevented) onDismiss === null || onDismiss === void 0 || onDismiss();\n }, ownerDocument);\n $kqwpH$useEscapeKeydown((event)=>{\n const isHighestLayer = index === context.layers.size - 1;\n if (!isHighestLayer) return;\n onEscapeKeyDown === null || onEscapeKeyDown === void 0 || onEscapeKeyDown(event);\n if (!event.defaultPrevented && onDismiss) {\n event.preventDefault();\n onDismiss();\n }\n }, ownerDocument);\n $kqwpH$useEffect(()=>{\n if (!node1) return;\n if (disableOutsidePointerEvents) {\n if (context.layersWithOutsidePointerEventsDisabled.size === 0) {\n $5cb92bef7577960e$var$originalBodyPointerEvents = ownerDocument.body.style.pointerEvents;\n ownerDocument.body.style.pointerEvents = 'none';\n }\n context.layersWithOutsidePointerEventsDisabled.add(node1);\n }\n context.layers.add(node1);\n $5cb92bef7577960e$var$dispatchUpdate();\n return ()=>{\n if (disableOutsidePointerEvents && context.layersWithOutsidePointerEventsDisabled.size === 1) ownerDocument.body.style.pointerEvents = $5cb92bef7577960e$var$originalBodyPointerEvents;\n };\n }, [\n node1,\n ownerDocument,\n disableOutsidePointerEvents,\n context\n ]);\n /**\n * We purposefully prevent combining this effect with the `disableOutsidePointerEvents` effect\n * because a change to `disableOutsidePointerEvents` would remove this layer from the stack\n * and add it to the end again so the layering order wouldn't be _creation order_.\n * We only want them to be removed from context stacks when unmounted.\n */ $kqwpH$useEffect(()=>{\n return ()=>{\n if (!node1) return;\n context.layers.delete(node1);\n context.layersWithOutsidePointerEventsDisabled.delete(node1);\n $5cb92bef7577960e$var$dispatchUpdate();\n };\n }, [\n node1,\n context\n ]);\n $kqwpH$useEffect(()=>{\n const handleUpdate = ()=>force({})\n ;\n document.addEventListener($5cb92bef7577960e$var$CONTEXT_UPDATE, handleUpdate);\n return ()=>document.removeEventListener($5cb92bef7577960e$var$CONTEXT_UPDATE, handleUpdate)\n ;\n }, []);\n return /*#__PURE__*/ $kqwpH$createElement($kqwpH$Primitive.div, $kqwpH$babelruntimehelpersesmextends({}, layerProps, {\n ref: composedRefs,\n style: {\n pointerEvents: isBodyPointerEventsDisabled ? isPointerEventsEnabled ? 'auto' : 'none' : undefined,\n ...props.style\n },\n onFocusCapture: $kqwpH$composeEventHandlers(props.onFocusCapture, focusOutside.onFocusCapture),\n onBlurCapture: $kqwpH$composeEventHandlers(props.onBlurCapture, focusOutside.onBlurCapture),\n onPointerDownCapture: $kqwpH$composeEventHandlers(props.onPointerDownCapture, pointerDownOutside.onPointerDownCapture)\n }));\n});\n/*#__PURE__*/ Object.assign($5cb92bef7577960e$export$177fb62ff3ec1f22, {\n displayName: $5cb92bef7577960e$var$DISMISSABLE_LAYER_NAME\n});\n/* -------------------------------------------------------------------------------------------------\n * DismissableLayerBranch\n * -----------------------------------------------------------------------------------------------*/ const $5cb92bef7577960e$var$BRANCH_NAME = 'DismissableLayerBranch';\nconst $5cb92bef7577960e$export$4d5eb2109db14228 = /*#__PURE__*/ $kqwpH$forwardRef((props, forwardedRef)=>{\n const context = $kqwpH$useContext($5cb92bef7577960e$var$DismissableLayerContext);\n const ref = $kqwpH$useRef(null);\n const composedRefs = $kqwpH$useComposedRefs(forwardedRef, ref);\n $kqwpH$useEffect(()=>{\n const node = ref.current;\n if (node) {\n context.branches.add(node);\n return ()=>{\n context.branches.delete(node);\n };\n }\n }, [\n context.branches\n ]);\n return /*#__PURE__*/ $kqwpH$createElement($kqwpH$Primitive.div, $kqwpH$babelruntimehelpersesmextends({}, props, {\n ref: composedRefs\n }));\n});\n/*#__PURE__*/ Object.assign($5cb92bef7577960e$export$4d5eb2109db14228, {\n displayName: $5cb92bef7577960e$var$BRANCH_NAME\n});\n/* -----------------------------------------------------------------------------------------------*/ /**\n * Listens for `pointerdown` outside a react subtree. We use `pointerdown` rather than `pointerup`\n * to mimic layer dismissing behaviour present in OS.\n * Returns props to pass to the node we want to check for outside events.\n */ function $5cb92bef7577960e$var$usePointerDownOutside(onPointerDownOutside, ownerDocument = globalThis === null || globalThis === void 0 ? void 0 : globalThis.document) {\n const handlePointerDownOutside = $kqwpH$useCallbackRef(onPointerDownOutside);\n const isPointerInsideReactTreeRef = $kqwpH$useRef(false);\n const handleClickRef = $kqwpH$useRef(()=>{});\n $kqwpH$useEffect(()=>{\n const handlePointerDown = (event)=>{\n if (event.target && !isPointerInsideReactTreeRef.current) {\n const eventDetail = {\n originalEvent: event\n };\n function handleAndDispatchPointerDownOutsideEvent() {\n $5cb92bef7577960e$var$handleAndDispatchCustomEvent($5cb92bef7577960e$var$POINTER_DOWN_OUTSIDE, handlePointerDownOutside, eventDetail, {\n discrete: true\n });\n }\n /**\n * On touch devices, we need to wait for a click event because browsers implement\n * a ~350ms delay between the time the user stops touching the display and when the\n * browser executres events. We need to ensure we don't reactivate pointer-events within\n * this timeframe otherwise the browser may execute events that should have been prevented.\n *\n * Additionally, this also lets us deal automatically with cancellations when a click event\n * isn't raised because the page was considered scrolled/drag-scrolled, long-pressed, etc.\n *\n * This is why we also continuously remove the previous listener, because we cannot be\n * certain that it was raised, and therefore cleaned-up.\n */ if (event.pointerType === 'touch') {\n ownerDocument.removeEventListener('click', handleClickRef.current);\n handleClickRef.current = handleAndDispatchPointerDownOutsideEvent;\n ownerDocument.addEventListener('click', handleClickRef.current, {\n once: true\n });\n } else handleAndDispatchPointerDownOutsideEvent();\n } else // We need to remove the event listener in case the outside click has been canceled.\n // See: https://github.com/radix-ui/primitives/issues/2171\n ownerDocument.removeEventListener('click', handleClickRef.current);\n isPointerInsideReactTreeRef.current = false;\n };\n /**\n * if this hook executes in a component that mounts via a `pointerdown` event, the event\n * would bubble up to the document and trigger a `pointerDownOutside` event. We avoid\n * this by delaying the event listener registration on the document.\n * This is not React specific, but rather how the DOM works, ie:\n * ```\n * button.addEventListener('pointerdown', () => {\n * console.log('I will log');\n * document.addEventListener('pointerdown', () => {\n * console.log('I will also log');\n * })\n * });\n */ const timerId = window.setTimeout(()=>{\n ownerDocument.addEventListener('pointerdown', handlePointerDown);\n }, 0);\n return ()=>{\n window.clearTimeout(timerId);\n ownerDocument.removeEventListener('pointerdown', handlePointerDown);\n ownerDocument.removeEventListener('click', handleClickRef.current);\n };\n }, [\n ownerDocument,\n handlePointerDownOutside\n ]);\n return {\n // ensures we check React component tree (not just DOM tree)\n onPointerDownCapture: ()=>isPointerInsideReactTreeRef.current = true\n };\n}\n/**\n * Listens for when focus happens outside a react subtree.\n * Returns props to pass to the root (node) of the subtree we want to check.\n */ function $5cb92bef7577960e$var$useFocusOutside(onFocusOutside, ownerDocument = globalThis === null || globalThis === void 0 ? void 0 : globalThis.document) {\n const handleFocusOutside = $kqwpH$useCallbackRef(onFocusOutside);\n const isFocusInsideReactTreeRef = $kqwpH$useRef(false);\n $kqwpH$useEffect(()=>{\n const handleFocus = (event)=>{\n if (event.target && !isFocusInsideReactTreeRef.current) {\n const eventDetail = {\n originalEvent: event\n };\n $5cb92bef7577960e$var$handleAndDispatchCustomEvent($5cb92bef7577960e$var$FOCUS_OUTSIDE, handleFocusOutside, eventDetail, {\n discrete: false\n });\n }\n };\n ownerDocument.addEventListener('focusin', handleFocus);\n return ()=>ownerDocument.removeEventListener('focusin', handleFocus)\n ;\n }, [\n ownerDocument,\n handleFocusOutside\n ]);\n return {\n onFocusCapture: ()=>isFocusInsideReactTreeRef.current = true\n ,\n onBlurCapture: ()=>isFocusInsideReactTreeRef.current = false\n };\n}\nfunction $5cb92bef7577960e$var$dispatchUpdate() {\n const event = new CustomEvent($5cb92bef7577960e$var$CONTEXT_UPDATE);\n document.dispatchEvent(event);\n}\nfunction $5cb92bef7577960e$var$handleAndDispatchCustomEvent(name, handler, detail, { discrete: discrete }) {\n const target = detail.originalEvent.target;\n const event = new CustomEvent(name, {\n bubbles: false,\n cancelable: true,\n detail: detail\n });\n if (handler) target.addEventListener(name, handler, {\n once: true\n });\n if (discrete) $kqwpH$dispatchDiscreteCustomEvent(target, event);\n else target.dispatchEvent(event);\n}\nconst $5cb92bef7577960e$export$be92b6f5f03c0fe9 = $5cb92bef7577960e$export$177fb62ff3ec1f22;\nconst $5cb92bef7577960e$export$aecb2ddcb55c95be = $5cb92bef7577960e$export$4d5eb2109db14228;\n\n\n\n\nexport {$5cb92bef7577960e$export$177fb62ff3ec1f22 as DismissableLayer, $5cb92bef7577960e$export$4d5eb2109db14228 as DismissableLayerBranch, $5cb92bef7577960e$export$be92b6f5f03c0fe9 as Root, $5cb92bef7577960e$export$aecb2ddcb55c95be as Branch};\n//# sourceMappingURL=index.mjs.map\n"],"names":["$5cb92bef7577960e$var$CONTEXT_UPDATE","$5cb92bef7577960e$var$POINTER_DOWN_OUTSIDE","$5cb92bef7577960e$var$FOCUS_OUTSIDE","$5cb92bef7577960e$var$originalBodyPointerEvents","$5cb92bef7577960e$var$DismissableLayerContext","$kqwpH$createContext","$5cb92bef7577960e$export$177fb62ff3ec1f22","$kqwpH$forwardRef","props","forwardedRef","_node$ownerDocument","disableOutsidePointerEvents","onEscapeKeyDown","onPointerDownOutside","onFocusOutside","onInteractOutside","onDismiss","layerProps","context","$kqwpH$useContext","node1","setNode","$kqwpH$useState","ownerDocument","force","composedRefs","$kqwpH$useComposedRefs","node","layers","highestLayerWithOutsidePointerEventsDisabled","highestLayerWithOutsidePointerEventsDisabledIndex","index","isBodyPointerEventsDisabled","isPointerEventsEnabled","pointerDownOutside","$5cb92bef7577960e$var$usePointerDownOutside","event","target","isPointerDownOnBranch","branch","focusOutside","$5cb92bef7577960e$var$useFocusOutside","$kqwpH$useEscapeKeydown","$kqwpH$useEffect","$5cb92bef7577960e$var$dispatchUpdate","handleUpdate","$kqwpH$createElement","$kqwpH$Primitive","$kqwpH$babelruntimehelpersesmextends","$kqwpH$composeEventHandlers","handlePointerDownOutside","$kqwpH$useCallbackRef","isPointerInsideReactTreeRef","$kqwpH$useRef","handleClickRef","handlePointerDown","handleAndDispatchPointerDownOutsideEvent","$5cb92bef7577960e$var$handleAndDispatchCustomEvent","eventDetail","timerId","handleFocusOutside","isFocusInsideReactTreeRef","handleFocus","name","handler","detail","discrete","$kqwpH$dispatchDiscreteCustomEvent"],"mappings":"mSAkBMA,EAAuC,0BACvCC,EAA6C,sCAC7CC,EAAsC,gCAC5C,IAAIC,EACJ,MAAMC,EAA8DC,EAAAA,cAAqB,CACrF,OAAQ,IAAI,IACZ,uCAAwC,IAAI,IAC5C,SAAU,IAAI,GAClB,CAAC,EACKC,EAA0DC,EAAiB,WAAC,CAACC,EAAOC,IAAe,CACrG,IAAIC,EACJ,KAAM,CAAE,4BAA6BC,EAA8B,GAAQ,gBAAiBC,EAAkB,qBAAsBC,EAAuB,eAAgBC,EAAiB,kBAAmBC,EAAoB,UAAWC,EAAY,GAAGC,CAAY,EAAGT,EACtQU,EAAUC,aAAkBf,CAA6C,EACzE,CAACgB,EAAOC,CAAO,EAAIC,EAAe,SAAC,IAAI,EACvCC,GAAiBb,EAAsBU,GAAU,KAA2B,OAASA,EAAM,iBAAmB,MAAQV,IAAwB,OAASA,EAAsB,YAAe,KAAgC,OAAS,WAAW,SAChP,EAAGc,CAAK,EAAIF,EAAe,SAAC,CAAE,CAAA,EAC9BG,EAAeC,EAAAA,gBAAuBjB,EAAekB,GAAON,EAAQM,CAAI,CAClF,EACUC,EAAS,MAAM,KAAKV,EAAQ,MAAM,EAClC,CAACW,CAA4C,EAAI,CACnD,GAAGX,EAAQ,sCACnB,EAAM,MAAM,EAAE,EACJY,EAAoDF,EAAO,QAAQC,CAA4C,EAC/GE,EAAQX,EAAQQ,EAAO,QAAQR,CAAK,EAAI,GACxCY,EAA8Bd,EAAQ,uCAAuC,KAAO,EACpFe,EAAyBF,GAASD,EAClCI,EAAqBC,EAA6CC,GAAQ,CAC5E,MAAMC,EAASD,EAAM,OACfE,EAAwB,CAC1B,GAAGpB,EAAQ,QACd,EAAC,KAAMqB,GAASA,EAAO,SAASF,CAAM,CAC/C,EACY,CAACJ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ules/node-webvtt/lib/compiler.js"],"sourcesContent":["'use strict';\n\n/**\n * See spec: https://www.w3.org/TR/webvtt1/#file-structure\n */\n\nfunction CompilerError (message, error) {\n this.message = message;\n this.error = error;\n}\n\nCompilerError.prototype = Object.create(Error.prototype);\n\nfunction compile (input) {\n\n if (!input) {\n throw new CompilerError('Input must be non-null');\n }\n\n if (typeof input !== 'object') {\n throw new CompilerError('Input must be an object');\n }\n\n if (Array.isArray(input)) {\n throw new CompilerError('Input cannot be array');\n }\n\n if (!input.valid) {\n throw new CompilerError('Input must be valid');\n }\n\n let output = 'WEBVTT\\n';\n\n if (input.meta) {\n if (typeof input.meta !== 'object' || Array.isArray(input.meta)) {\n throw new CompilerError('Metadata must be an object');\n }\n\n Object.entries(input.meta).forEach((i) => {\n if (typeof i[1] !== 'string') {\n throw new CompilerError(`Metadata value for \"${i[0]}\" must be string`);\n }\n\n output += `${i[0]}: ${i[1]}\\n`;\n });\n }\n\n let lastTime = null;\n\n input.cues.forEach((cue, index) => {\n if (lastTime && lastTime > cue.start) {\n throw new CompilerError(`Cue number ${index} is not in chronological`\n + ' order');\n }\n\n lastTime = cue.start;\n\n output += '\\n';\n output += compileCue(cue);\n output += '\\n';\n });\n\n return output;\n}\n\n/**\n * Compile a single cue block.\n *\n * @param {array} cue Array of content for the cue\n *\n * @returns {object} cue Cue object with start, end, text and styles.\n * Null if it's a note\n */\nfunction compileCue (cue) {\n // TODO: check for malformed JSON\n if (typeof cue !== 'object') {\n throw new CompilerError('Cue malformed: not of type object');\n }\n\n if (typeof cue.identifier !== 'string' &&\n typeof cue.identifier !== 'number' &&\n cue.identifier !== null) {\n throw new CompilerError(`Cue malformed: identifier value is not a string.\n ${JSON.stringify(cue)}`);\n }\n\n if (isNaN(cue.start)) {\n throw new CompilerError(`Cue malformed: null start value.\n ${JSON.stringify(cue)}`);\n }\n\n if (isNaN(cue.end)) {\n throw new CompilerError(`Cue malformed: null end value.\n ${JSON.stringify(cue)}`);\n }\n\n if (cue.start >= cue.end) {\n throw new CompilerError(`Cue malformed: start timestamp greater than end\n ${JSON.stringify(cue)}`);\n }\n\n if (typeof cue.text !== 'string') {\n throw new CompilerError(`Cue malformed: null text value.\n ${JSON.stringify(cue)}`);\n }\n\n if (typeof cue.styles !== 'string') {\n throw new CompilerError(`Cue malformed: null styles value.\n ${JSON.stringify(cue)}`);\n }\n\n let output = '';\n\n if (cue.identifier.length > 0) {\n output += `${cue.identifier}\\n`;\n }\n\n const startTimestamp = convertTimestamp(cue.start);\n const endTimestamp = convertTimestamp(cue.end);\n\n output += `${startTimestamp} --> ${endTimestamp}`;\n output += cue.styles ? ` ${cue.styles}` : '';\n output += `\\n${cue.text}`;\n\n return output;\n}\n\nfunction convertTimestamp (time) {\n const hours = pad(calculateHours(time), 2);\n const minutes = pad(calculateMinutes(time), 2);\n const seconds = pad(calculateSeconds(time), 2);\n const milliseconds = pad(calculateMs(time), 3);\n return `${hours}:${minutes}:${seconds}.${milliseconds}`;\n}\n\nfunction pad (num, zeroes) {\n let output = `${num}`;\n\n while (output.length < zeroes) {\n output = `0${ output }`;\n }\n\n return output;\n}\n\nfunction calculateHours (time) {\n return Math.floor(time / 60 / 60);\n}\n\nfunction calculateMinutes (time) {\n return (Math.floor(time / 60) % 60);\n}\n\nfunction calculateSeconds (time) {\n return Math.floor((time) % 60);\n}\n\nfunction calculateMs (time) {\n return Math.floor((time % 1).toFixed(4) * 1000);\n}\n\nmodule.exports = { CompilerError, compile };\n"],"names":["CompilerError","message","error","compile","input","output","i","lastTime","cue","index","compileCue","startTimestamp","convertTimestamp","endTimestamp","time","hours","pad","calculateHours","minutes","calculateMinutes","seconds","calculateSeconds","milliseconds","calculateMs","num","zeroes","compiler"],"mappings":"gFAMA,SAASA,EAAeC,EAASC,EAAO,CACtC,KAAK,QAAUD,EACf,KAAK,MAAQC,CACf,CAEAF,EAAc,UAAY,OAAO,OAAO,MAAM,SAAS,EAEvD,SAASG,EAASC,EAAO,CAEvB,GAAI,CAACA,EACG,MA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CAC/B,OAAQ,KAAK,MAAMA,EAAO,EAAE,EAAI,EAClC,CAEA,SAASO,EAAkBP,EAAM,CACxB,OAAA,KAAK,MAAOA,EAAQ,EAAE,CAC/B,CAEA,SAASS,EAAaT,EAAM,CAC1B,OAAO,KAAK,OAAOA,EAAO,GAAG,QAAQ,CAAC,EAAI,GAAI,CAChD,CAEA,IAAAY,EAAiB,CAAE,cAAA1B,EAAe,QAAAG,CAAQ","x_google_ignoreList":[0]}
|
package/dist/index.cjs214.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 y=require("./index.cjs212.js"),D=y.parser.parse;function q(s,e){e=e||10;const t=D(s),u=[];let r=[],n=null,o=0,a=0;return t.cues.forEach((i,c)=>{const f=c===0,p=c===t.cues.length-1,S=i.start,l=i.end,m=p?1/0:t.cues[c+1].start,b=f?l:l-S,d=f?0:S-t.cues[c-1].end;o=o+b+d,`${c}`,u.length+1,n&&(r.push(n),o+=n.end-a,n=null),r.push(i);let x=m-l<e&&d<e&&o>e;if(v(a,e,m,d)){const C=F(p,l,e,o,a);u.push({duration:C,cues:r}),a+=C,o=0,r=[]}else x=!1;x&&(n=i)}),u}function v(s,e,t,u){const r=I(u,e);return(u<=e||r+s<t)&&t-s>=e}function F(s,e,t,u,r){let n=t;return u>t&&(n=I(u-t,t)),s?n=parseFloat((e-r).toFixed(2)):n=Math.round(n),n}function I(s,e){return s+=e-s%e,s}var M={segment:q};exports.segmenter=M;
|
|
2
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
|
|
1
|
+
{"version":3,"file":"index.cjs214.js","sources":["../../../node_modules/node-webvtt/lib/segmenter.js"],"sourcesContent":["'use strict';\n\nconst parse = require('./parser').parse;\n\nfunction segment (input, segmentLength) {\n segmentLength = segmentLength || 10;\n\n const parsed = parse(input);\n const segments = [];\n\n let cues = [];\n let queuedCue = null;\n let currentSegmentDuration = 0;\n let totalSegmentsDuration = 0;\n\n /**\n * One pass segmenting of cues\n */\n parsed.cues.forEach((cue, i) => {\n const firstCue = i === 0;\n const lastCue = i === parsed.cues.length - 1;\n const start = cue.start;\n const end = cue.end;\n const nextStart = lastCue ? Infinity : parsed.cues[i + 1].start;\n const cueLength = firstCue ? end : end - start;\n const silence = firstCue ? 0 : (start - parsed.cues[i - 1].end);\n\n currentSegmentDuration = currentSegmentDuration + cueLength + silence;\n\n debug('------------');\n debug(`Cue #${i}, segment #${segments.length + 1}`);\n debug(`Start ${start}`);\n debug(`End ${end}`);\n debug(`Length ${cueLength}`);\n debug(`Total segment duration = ${totalSegmentsDuration}`);\n debug(`Current segment duration = ${currentSegmentDuration}`);\n debug(`Start of next = ${nextStart}`);\n\n // if there's a boundary cue queued, push and clear queue\n if (queuedCue) {\n cues.push(queuedCue);\n currentSegmentDuration += queuedCue.end - totalSegmentsDuration;\n queuedCue = null;\n }\n\n cues.push(cue);\n\n // if a cue passes a segment boundary, it appears in both\n let shouldQueue = nextStart - end < segmentLength &&\n silence < segmentLength &&\n currentSegmentDuration > segmentLength;\n\n if (shouldSegment(totalSegmentsDuration, segmentLength, nextStart,\n silence)) {\n\n const duration = segmentDuration(lastCue, end, segmentLength,\n currentSegmentDuration,\n totalSegmentsDuration);\n\n segments.push({ duration, cues });\n\n totalSegmentsDuration += duration;\n currentSegmentDuration = 0;\n cues = [];\n } else {\n shouldQueue = false;\n }\n\n if (shouldQueue) {\n queuedCue = cue;\n }\n });\n\n return segments;\n}\n\nfunction shouldSegment (total, length, nextStart, silence) {\n\n // this is stupid, but gets one case fixed...\n const x = alignToSegmentLength(silence, length);\n const nextCueIsInNextSegment = silence <= length ||\n x + total < nextStart;\n\n return nextCueIsInNextSegment && nextStart - total >= length;\n}\n\nfunction segmentDuration (lastCue, end, length, currentSegment, totalSegments) {\n let duration = length;\n\n if (currentSegment > length) {\n duration = alignToSegmentLength(currentSegment - length, length);\n }\n\n // make sure the last cue covers the whole time of the cues\n if (lastCue) {\n duration = parseFloat((end - totalSegments).toFixed(2));\n } else {\n duration = Math.round(duration);\n }\n\n return duration;\n}\n\nfunction alignToSegmentLength (n, segmentLength) {\n n += segmentLength - n % segmentLength;\n return n;\n}\n\nconst debugging = false;\n\n/* istanbul ignore next */\nfunction debug (m) {\n if (debugging) {\n console.log(m);\n }\n}\n\nmodule.exports = { segment };\n"],"names":["parse","require$$0","segment","input","segmentLength","parsed","segments","cues","queuedCue","currentSegmentDuration","totalSegmentsDuration","cue","i","firstCue","lastCue","start","end","nextStart","cueLength","silence","shouldQueue","shouldSegment","duration","segmentDuration","total","length","x","alignToSegmentLength","currentSegment","totalSegments","n","segmenter"],"mappings":"qHAEMA,EAAQC,EAAoB,OAAA,MAElC,SAASC,EAASC,EAAOC,EAAe,CACtCA,EAAgBA,GAAiB,GAE3B,MAAAC,EAASL,EAAMG,CAAK,EACpBG,EAAW,CAAA,EAEjB,IAAIC,EAAO,CAAA,EACPC,EAAY,KACZC,EAAyB,EACzBC,EAAwB,EAK5B,OAAAL,EAAO,KAAK,QAAQ,CAACM,EAAKC,IAAM,CAC9B,MAAMC,EAAWD,IAAM,EACjBE,EAAUF,IAAMP,EAAO,KAAK,OAAS,EACrCU,EAAQJ,EAAI,MACZK,EAAML,EAAI,IACVM,EAAYH,EAAU,IAAWT,EAAO,KAAKO,EAAI,CAAC,EAAE,MACpDM,EAAYL,EAAWG,EAAMA,EAAMD,EACnCI,EAAUN,EAAW,EAAKE,EAAQV,EAAO,KAAKO,EAAI,CAAC,EAAE,IAE3DH,EAAyBA,EAAyBS,EAAYC,EAGhD,GAAAP,IAAeN,EAAS,OAAS,EAS3CE,IACFD,EAAK,KAAKC,CAAS,EACnBC,GAA0BD,EAAU,IAAME,EAC9BF,EAAA,MAGdD,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