@performant-software/core-data 2.3.4-beta.4 → 2.3.4-beta.5
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.cjs103.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.cjs115.js +1 -1
- package/dist/index.cjs140.js +1 -1
- package/dist/index.cjs141.js +1 -1
- package/dist/index.cjs142.js +1 -1
- package/dist/index.cjs143.js +1 -1
- package/dist/index.cjs145.js +1 -1
- package/dist/index.cjs146.js +1 -1
- package/dist/index.cjs147.js +1 -1
- package/dist/index.cjs150.js +1 -1
- package/dist/index.cjs151.js +1 -1
- package/dist/index.cjs153.js +1 -1
- package/dist/index.cjs154.js +1 -1
- package/dist/index.cjs155.js +1 -1
- package/dist/index.cjs156.js +1 -1
- package/dist/index.cjs157.js +1 -1
- package/dist/index.cjs158.js +1 -1
- package/dist/index.cjs159.js +1 -1
- package/dist/index.cjs170.js +1 -1
- package/dist/index.cjs173.js +1 -1
- package/dist/index.cjs174.js +1 -1
- package/dist/index.cjs175.js +1 -1
- package/dist/index.cjs176.js +1 -1
- package/dist/index.cjs179.js +1 -1
- package/dist/index.cjs180.js +1 -1
- package/dist/index.cjs184.js +1 -1
- package/dist/index.cjs186.js +1 -1
- package/dist/index.cjs187.js +1 -1
- package/dist/index.cjs188.js +1 -1
- package/dist/index.cjs189.js +1 -1
- package/dist/index.cjs190.js +1 -1
- package/dist/index.cjs193.js +1 -1
- package/dist/index.cjs196.js +1 -1
- package/dist/index.cjs202.js +1 -1
- package/dist/index.cjs205.js +1 -1
- package/dist/index.cjs206.js +1 -1
- package/dist/index.cjs207.js +1 -1
- package/dist/index.cjs211.js +1 -1
- package/dist/index.cjs212.js +1 -1
- package/dist/index.cjs213.js +1 -1
- package/dist/index.cjs214.js +1 -1
- package/dist/index.cjs217.js +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.cjs223.js.map +1 -1
- package/dist/index.cjs224.js +1 -1
- package/dist/index.cjs224.js.map +1 -1
- package/dist/index.cjs225.js +1 -1
- package/dist/index.cjs225.js.map +1 -1
- package/dist/index.cjs226.js +1 -1
- package/dist/index.cjs226.js.map +1 -1
- package/dist/index.cjs227.js +1 -1
- package/dist/index.cjs227.js.map +1 -1
- package/dist/index.cjs228.js +1 -1
- package/dist/index.cjs228.js.map +1 -1
- package/dist/index.cjs229.js +1 -1
- package/dist/index.cjs229.js.map +1 -1
- package/dist/index.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 -8
- package/dist/index.cjs235.js.map +1 -1
- package/dist/index.cjs236.js +1 -26
- 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 -7
- 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 +8 -1
- package/dist/index.cjs243.js.map +1 -1
- package/dist/index.cjs244.js +26 -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 +7 -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.cjs255.js +1 -1
- package/dist/index.cjs256.js +1 -1
- package/dist/index.cjs257.js +1 -1
- package/dist/index.cjs258.js +1 -1
- package/dist/index.cjs259.js +1 -1
- package/dist/index.cjs260.js +1 -1
- package/dist/index.cjs263.js +1 -1
- package/dist/index.cjs265.js +1 -1
- package/dist/index.cjs267.js +1 -1
- package/dist/index.cjs268.js +1 -1
- package/dist/index.cjs270.js +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.cjs278.js +1 -1
- package/dist/index.cjs282.js +1 -1
- package/dist/index.cjs283.js +1 -1
- package/dist/index.cjs296.js +1 -1
- package/dist/index.cjs296.js.map +1 -1
- package/dist/index.cjs297.js +1 -1
- 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.cjs307.js +1 -1
- package/dist/index.cjs314.js +1 -1
- package/dist/index.cjs315.js +1 -1
- package/dist/index.cjs316.js +1 -1
- package/dist/index.cjs317.js +1 -1
- package/dist/index.cjs318.js +1 -1
- package/dist/index.cjs319.js +1 -1
- package/dist/index.cjs320.js +1 -1
- package/dist/index.cjs321.js +1 -1
- package/dist/index.cjs322.js +1 -1
- package/dist/index.cjs325.js +1 -1
- package/dist/index.cjs326.js +1 -1
- package/dist/index.cjs328.js +1 -1
- package/dist/index.cjs329.js +1 -1
- package/dist/index.cjs330.js +1 -1
- package/dist/index.cjs331.js +1 -1
- package/dist/index.cjs336.js +1 -1
- package/dist/index.cjs337.js +1 -1
- package/dist/index.cjs338.js +1 -1
- package/dist/index.cjs339.js +1 -1
- package/dist/index.cjs342.js +1 -1
- package/dist/index.cjs343.js +1 -1
- package/dist/index.cjs344.js +1 -1
- package/dist/index.cjs348.js +1 -1
- package/dist/index.cjs351.js +1 -1
- package/dist/index.cjs355.js +1 -1
- package/dist/index.cjs358.js +1 -1
- package/dist/index.cjs366.js +1 -1
- package/dist/index.cjs367.js +1 -1
- package/dist/index.cjs368.js +1 -1
- package/dist/index.cjs369.js +1 -1
- package/dist/index.cjs370.js +1 -1
- package/dist/index.cjs371.js +1 -1
- package/dist/index.cjs372.js +1 -1
- package/dist/index.cjs374.js +1 -1
- package/dist/index.cjs375.js +1 -1
- package/dist/index.cjs376.js +1 -1
- package/dist/index.cjs377.js +1 -1
- package/dist/index.cjs378.js +1 -1
- package/dist/index.cjs379.js +1 -1
- package/dist/index.cjs380.js +1 -1
- package/dist/index.cjs381.js +1 -1
- package/dist/index.cjs382.js +1 -1
- package/dist/index.cjs385.js +1 -1
- package/dist/index.cjs386.js +1 -1
- package/dist/index.cjs388.js +1 -1
- package/dist/index.cjs389.js +1 -1
- package/dist/index.cjs390.js +1 -1
- package/dist/index.cjs391.js +1 -1
- package/dist/index.cjs392.js +1 -1
- package/dist/index.cjs393.js +1 -1
- package/dist/index.cjs394.js +1 -1
- package/dist/index.cjs395.js +1 -1
- package/dist/index.cjs401.js +1 -1
- package/dist/index.cjs402.js +1 -1
- package/dist/index.cjs403.js +1 -1
- package/dist/index.cjs404.js +1 -1
- package/dist/index.cjs405.js +1 -1
- package/dist/index.cjs409.js +1 -1
- package/dist/index.cjs410.js +1 -1
- package/dist/index.cjs411.js +1 -1
- package/dist/index.cjs412.js +1 -1
- package/dist/index.cjs413.js +1 -1
- package/dist/index.cjs414.js +1 -1
- package/dist/index.cjs415.js +1 -1
- package/dist/index.cjs416.js +1 -1
- package/dist/index.cjs417.js +1 -1
- package/dist/index.cjs418.js +1 -1
- package/dist/index.cjs420.js +1 -1
- package/dist/index.cjs423.js +1 -1
- package/dist/index.cjs425.js +1 -1
- package/dist/index.cjs429.js +1 -6
- package/dist/index.cjs429.js.map +1 -1
- package/dist/index.cjs430.js +1 -6
- package/dist/index.cjs430.js.map +1 -1
- package/dist/index.cjs431.js +1 -1
- package/dist/index.cjs431.js.map +1 -1
- package/dist/index.cjs432.js +1 -1
- package/dist/index.cjs432.js.map +1 -1
- package/dist/index.cjs433.js +1 -1
- package/dist/index.cjs433.js.map +1 -1
- package/dist/index.cjs434.js +1 -1
- package/dist/index.cjs434.js.map +1 -1
- package/dist/index.cjs435.js +1 -1
- package/dist/index.cjs435.js.map +1 -1
- package/dist/index.cjs436.js +1 -1
- package/dist/index.cjs436.js.map +1 -1
- package/dist/index.cjs437.js +1 -1
- package/dist/index.cjs437.js.map +1 -1
- package/dist/index.cjs438.js +1 -1
- package/dist/index.cjs438.js.map +1 -1
- package/dist/index.cjs443.js +1 -1
- package/dist/index.cjs444.js +6 -1
- package/dist/index.cjs444.js.map +1 -1
- package/dist/index.cjs445.js +1 -6
- package/dist/index.cjs445.js.map +1 -1
- package/dist/index.cjs446.js +1 -1
- package/dist/index.cjs446.js.map +1 -1
- package/dist/index.cjs447.js +1 -1
- package/dist/index.cjs447.js.map +1 -1
- package/dist/index.cjs448.js +1 -1
- package/dist/index.cjs448.js.map +1 -1
- package/dist/index.cjs449.js +1 -1
- package/dist/index.cjs449.js.map +1 -1
- package/dist/index.cjs450.js +1 -1
- package/dist/index.cjs450.js.map +1 -1
- package/dist/index.cjs451.js +1 -1
- package/dist/index.cjs451.js.map +1 -1
- package/dist/index.cjs452.js +1 -1
- package/dist/index.cjs452.js.map +1 -1
- package/dist/index.cjs453.js +1 -1
- package/dist/index.cjs453.js.map +1 -1
- package/dist/index.cjs454.js +1 -1
- package/dist/index.cjs454.js.map +1 -1
- package/dist/index.cjs455.js +1 -1
- package/dist/index.cjs455.js.map +1 -1
- package/dist/index.cjs456.js +2 -1
- package/dist/index.cjs456.js.map +1 -1
- package/dist/index.cjs457.js +4 -2
- package/dist/index.cjs457.js.map +1 -1
- package/dist/index.cjs458.js +2 -4
- package/dist/index.cjs458.js.map +1 -1
- package/dist/index.cjs459.js +1 -2
- package/dist/index.cjs459.js.map +1 -1
- package/dist/index.cjs460.js +1 -1
- package/dist/index.cjs460.js.map +1 -1
- package/dist/index.cjs461.js +2 -1
- package/dist/index.cjs461.js.map +1 -1
- package/dist/index.cjs462.js +1 -2
- package/dist/index.cjs462.js.map +1 -1
- package/dist/index.cjs463.js +1 -1
- package/dist/index.cjs463.js.map +1 -1
- package/dist/index.cjs464.js +6 -1
- package/dist/index.cjs464.js.map +1 -1
- package/dist/index.cjs465.js +6 -1
- package/dist/index.cjs465.js.map +1 -1
- package/dist/index.cjs466.js +1 -1
- package/dist/index.cjs467.js +1 -1
- package/dist/index.cjs468.js +1 -1
- package/dist/index.cjs472.js +1 -1
- package/dist/index.cjs472.js.map +1 -1
- package/dist/index.cjs473.js +1 -1
- package/dist/index.cjs473.js.map +1 -1
- package/dist/index.cjs474.js +1 -1
- package/dist/index.cjs474.js.map +1 -1
- package/dist/index.cjs475.js +1 -1
- package/dist/index.cjs475.js.map +1 -1
- package/dist/index.cjs476.js +1 -1
- package/dist/index.cjs476.js.map +1 -1
- package/dist/index.cjs477.js +1 -1
- package/dist/index.cjs477.js.map +1 -1
- package/dist/index.cjs478.js +1 -1
- package/dist/index.cjs478.js.map +1 -1
- package/dist/index.cjs479.js +1 -1
- package/dist/index.cjs479.js.map +1 -1
- package/dist/index.cjs480.js +1 -1
- package/dist/index.cjs480.js.map +1 -1
- package/dist/index.cjs481.js +1 -1
- package/dist/index.cjs481.js.map +1 -1
- package/dist/index.cjs482.js +1 -1
- package/dist/index.cjs482.js.map +1 -1
- package/dist/index.cjs483.js +1 -1
- package/dist/index.cjs483.js.map +1 -1
- package/dist/index.cjs484.js +1 -1
- package/dist/index.cjs484.js.map +1 -1
- package/dist/index.cjs485.js +1 -1
- package/dist/index.cjs485.js.map +1 -1
- package/dist/index.cjs486.js +1 -1
- package/dist/index.cjs486.js.map +1 -1
- package/dist/index.cjs487.js +1 -1
- package/dist/index.cjs487.js.map +1 -1
- package/dist/index.cjs488.js +1 -1
- package/dist/index.cjs488.js.map +1 -1
- package/dist/index.cjs489.js +1 -1
- package/dist/index.cjs489.js.map +1 -1
- package/dist/index.cjs490.js +1 -1
- package/dist/index.cjs490.js.map +1 -1
- package/dist/index.cjs491.js +1 -1
- package/dist/index.cjs491.js.map +1 -1
- package/dist/index.cjs492.js +1 -1
- package/dist/index.cjs492.js.map +1 -1
- package/dist/index.cjs493.js +1 -1
- package/dist/index.cjs493.js.map +1 -1
- package/dist/index.cjs494.js +1 -1
- package/dist/index.cjs494.js.map +1 -1
- package/dist/index.cjs495.js +1 -1
- package/dist/index.cjs495.js.map +1 -1
- package/dist/index.cjs496.js +1 -1
- package/dist/index.cjs496.js.map +1 -1
- package/dist/index.cjs497.js +1 -1
- package/dist/index.cjs497.js.map +1 -1
- package/dist/index.cjs498.js +1 -1
- package/dist/index.cjs498.js.map +1 -1
- package/dist/index.cjs499.js +1 -1
- package/dist/index.cjs499.js.map +1 -1
- package/dist/index.cjs500.js +1 -1
- package/dist/index.cjs500.js.map +1 -1
- package/dist/index.cjs501.js +1 -1
- package/dist/index.cjs501.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.cjs507.js +1 -1
- package/dist/index.cjs507.js.map +1 -1
- package/dist/index.cjs508.js +1 -1
- package/dist/index.cjs508.js.map +1 -1
- package/dist/index.cjs509.js +1 -1
- package/dist/index.cjs509.js.map +1 -1
- package/dist/index.cjs510.js +1 -1
- package/dist/index.cjs510.js.map +1 -1
- package/dist/index.cjs511.js +1 -1
- package/dist/index.cjs511.js.map +1 -1
- package/dist/index.cjs512.js +1 -1
- package/dist/index.cjs512.js.map +1 -1
- package/dist/index.cjs513.js +1 -1
- package/dist/index.cjs513.js.map +1 -1
- package/dist/index.cjs514.js +1 -1
- package/dist/index.cjs514.js.map +1 -1
- package/dist/index.cjs515.js +1 -1
- package/dist/index.cjs515.js.map +1 -1
- package/dist/index.cjs516.js +1 -1
- package/dist/index.cjs516.js.map +1 -1
- package/dist/index.cjs517.js +1 -1
- package/dist/index.cjs517.js.map +1 -1
- package/dist/index.cjs518.js +1 -1
- package/dist/index.cjs518.js.map +1 -1
- package/dist/index.cjs521.js +1 -1
- package/dist/index.cjs525.js +1 -1
- package/dist/index.cjs527.js +1 -1
- package/dist/index.cjs529.js +1 -1
- package/dist/index.cjs530.js +1 -1
- package/dist/index.cjs532.js +1 -1
- package/dist/index.cjs533.js +1 -1
- package/dist/index.cjs534.js +1 -1
- package/dist/index.cjs543.js +1 -1
- package/dist/index.cjs544.js +1 -1
- package/dist/index.cjs546.js +1 -1
- package/dist/index.cjs549.js +1 -1
- package/dist/index.cjs553.js +1 -1
- package/dist/index.cjs554.js.map +1 -1
- package/dist/index.cjs555.js.map +1 -1
- package/dist/index.cjs556.js +2 -2
- package/dist/index.cjs556.js.map +1 -1
- package/dist/index.cjs557.js.map +1 -1
- package/dist/index.cjs558.js.map +1 -1
- package/dist/index.cjs559.js +2 -2
- package/dist/index.cjs559.js.map +1 -1
- package/dist/index.cjs560.js +1 -1
- package/dist/index.cjs561.js +1 -1
- package/dist/index.cjs561.js.map +1 -1
- package/dist/index.cjs562.js +1 -1
- package/dist/index.cjs562.js.map +1 -1
- package/dist/index.cjs563.js +1 -1
- package/dist/index.cjs563.js.map +1 -1
- package/dist/index.cjs564.js +1 -1
- package/dist/index.cjs564.js.map +1 -1
- package/dist/index.cjs565.js +1 -1
- package/dist/index.cjs565.js.map +1 -1
- package/dist/index.cjs568.js +1 -1
- package/dist/index.cjs570.js +1 -1
- package/dist/index.cjs571.js +1 -1
- package/dist/index.cjs572.js +1 -1
- package/dist/index.cjs573.js +1 -1
- package/dist/index.cjs574.js +1 -1
- package/dist/index.cjs575.js +1 -1
- package/dist/index.cjs576.js +1 -1
- package/dist/index.cjs577.js +1 -1
- package/dist/index.cjs578.js +1 -1
- package/dist/index.cjs579.js +1 -1
- package/dist/index.cjs580.js +1 -1
- package/dist/index.cjs581.js +1 -1
- package/dist/index.cjs582.js +1 -1
- package/dist/index.cjs583.js +1 -1
- package/dist/index.cjs584.js +1 -1
- package/dist/index.cjs585.js +1 -1
- package/dist/index.cjs587.js +1 -1
- package/dist/index.cjs589.js +1 -1
- package/dist/index.cjs590.js +1 -1
- package/dist/index.cjs591.js +1 -1
- package/dist/index.cjs592.js +1 -1
- package/dist/index.cjs593.js +1 -1
- package/dist/index.cjs594.js +1 -1
- package/dist/index.cjs595.js +1 -1
- package/dist/index.cjs596.js +1 -1
- package/dist/index.cjs597.js +1 -1
- package/dist/index.cjs598.js +1 -1
- package/dist/index.cjs599.js +1 -1
- package/dist/index.cjs600.js +1 -1
- package/dist/index.cjs600.js.map +1 -1
- package/dist/index.cjs601.js +1 -1
- package/dist/index.cjs601.js.map +1 -1
- package/dist/index.cjs602.js +1 -1
- package/dist/index.cjs602.js.map +1 -1
- package/dist/index.cjs603.js +2 -1
- package/dist/index.cjs603.js.map +1 -1
- package/dist/index.cjs604.js +1 -2
- package/dist/index.cjs604.js.map +1 -1
- package/dist/index.cjs605.js +1 -1
- package/dist/index.cjs606.js +1 -1
- package/dist/index.cjs612.js +1 -1
- package/dist/index.cjs613.js +1 -1
- package/dist/index.cjs614.js +1 -1
- package/dist/index.cjs617.js +1 -1
- package/dist/index.cjs617.js.map +1 -1
- package/dist/index.cjs618.js +1 -1
- package/dist/index.cjs618.js.map +1 -1
- package/dist/index.cjs619.js +1 -1
- package/dist/index.cjs619.js.map +1 -1
- package/dist/index.cjs621.js +1 -1
- package/dist/index.cjs621.js.map +1 -1
- package/dist/index.cjs622.js +1 -1
- package/dist/index.cjs622.js.map +1 -1
- package/dist/index.cjs623.js +1 -1
- package/dist/index.cjs623.js.map +1 -1
- package/dist/index.cjs625.js +1 -1
- package/dist/index.cjs626.js +1 -1
- package/dist/index.cjs626.js.map +1 -1
- package/dist/index.cjs628.js +19 -19
- package/dist/index.cjs628.js.map +1 -1
- package/dist/index.cjs629.js.map +1 -1
- package/dist/index.cjs630.js +1 -1
- package/dist/index.cjs630.js.map +1 -1
- package/dist/index.cjs631.js +19 -19
- package/dist/index.cjs631.js.map +1 -1
- package/dist/index.cjs632.js.map +1 -1
- package/dist/index.cjs633.js +1 -1
- package/dist/index.cjs633.js.map +1 -1
- package/dist/index.cjs634.js +1 -1
- package/dist/index.cjs637.js +1 -1
- package/dist/index.cjs638.js +1 -1
- package/dist/index.cjs639.js +1 -1
- package/dist/index.cjs639.js.map +1 -1
- package/dist/index.cjs640.js +1 -1
- package/dist/index.cjs641.js +1 -1
- package/dist/index.cjs642.js +1 -1
- package/dist/index.cjs644.js +1 -1
- package/dist/index.cjs645.js +1 -1
- package/dist/index.cjs648.js +1 -1
- package/dist/index.cjs648.js.map +1 -1
- package/dist/index.cjs649.js +1 -1
- package/dist/index.cjs650.js +1 -1
- package/dist/index.cjs650.js.map +1 -1
- package/dist/index.cjs651.js +1 -1
- package/dist/index.cjs652.js +1 -1
- package/dist/index.cjs652.js.map +1 -1
- package/dist/index.cjs653.js +1 -1
- package/dist/index.cjs653.js.map +1 -1
- package/dist/index.cjs654.js +1 -1
- package/dist/index.cjs654.js.map +1 -1
- package/dist/index.cjs655.js +1 -1
- package/dist/index.cjs655.js.map +1 -1
- package/dist/index.cjs657.js +7 -1
- package/dist/index.cjs657.js.map +1 -1
- package/dist/index.cjs658.js +1 -7
- package/dist/index.cjs658.js.map +1 -1
- package/dist/index.cjs659.js +1 -1
- package/dist/index.cjs659.js.map +1 -1
- package/dist/index.cjs660.js +1 -1
- package/dist/index.cjs660.js.map +1 -1
- package/dist/index.cjs661.js +1 -1
- package/dist/index.cjs661.js.map +1 -1
- package/dist/index.cjs662.js +1 -1
- package/dist/index.cjs662.js.map +1 -1
- package/dist/index.cjs663.js +1 -1
- package/dist/index.cjs663.js.map +1 -1
- package/dist/index.cjs673.js +1 -1
- package/dist/index.cjs673.js.map +1 -1
- package/dist/index.cjs674.js +1 -1
- package/dist/index.cjs674.js.map +1 -1
- package/dist/index.cjs675.js +1 -1
- package/dist/index.cjs675.js.map +1 -1
- package/dist/index.cjs676.js +1 -1
- package/dist/index.cjs677.js +1 -1
- package/dist/index.cjs677.js.map +1 -1
- package/dist/index.cjs678.js +1 -1
- package/dist/index.cjs678.js.map +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 +1 -1
- package/dist/index.cjs682.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.cjs690.js +1 -1
- package/dist/index.cjs692.js +1 -1
- package/dist/index.cjs692.js.map +1 -1
- package/dist/index.cjs698.js +1 -1
- package/dist/index.cjs698.js.map +1 -1
- package/dist/index.cjs700.js +1 -1
- package/dist/index.cjs703.js +1 -1
- package/dist/index.cjs703.js.map +1 -1
- package/dist/index.cjs704.js +1 -1
- package/dist/index.cjs704.js.map +1 -1
- package/dist/index.cjs705.js +1 -1
- package/dist/index.cjs705.js.map +1 -1
- package/dist/index.cjs706.js +1 -1
- package/dist/index.cjs706.js.map +1 -1
- package/dist/index.cjs711.js.map +1 -1
- package/dist/index.cjs712.js.map +1 -1
- package/dist/index.cjs78.js +1 -1
- package/dist/index.cjs8.js +1 -1
- package/dist/index.cjs8.js.map +1 -1
- package/dist/index.cjs80.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.cjs86.js +1 -1
- package/dist/index.cjs87.js +1 -1
- package/dist/index.cjs88.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.cjs96.js +1 -1
- package/dist/index.cjs97.js +1 -1
- package/dist/index.cjs98.js +1 -1
- package/dist/index.es100.js +1 -1
- package/dist/index.es101.js +1 -1
- package/dist/index.es103.js +1 -1
- package/dist/index.es109.js +1 -1
- package/dist/index.es110.js +1 -1
- package/dist/index.es111.js +1 -1
- package/dist/index.es112.js +1 -1
- package/dist/index.es113.js +1 -1
- package/dist/index.es114.js +1 -1
- package/dist/index.es115.js +1 -1
- package/dist/index.es140.js +1 -1
- package/dist/index.es141.js +1 -1
- package/dist/index.es142.js +1 -1
- package/dist/index.es143.js +13 -13
- package/dist/index.es145.js +1 -1
- package/dist/index.es146.js +1 -1
- package/dist/index.es147.js +1 -1
- package/dist/index.es150.js +3 -3
- package/dist/index.es151.js +2 -2
- package/dist/index.es153.js +1 -1
- package/dist/index.es154.js +1 -1
- package/dist/index.es155.js +2 -2
- package/dist/index.es156.js +1 -1
- package/dist/index.es157.js +1 -1
- package/dist/index.es158.js +1 -1
- package/dist/index.es159.js +1 -1
- package/dist/index.es170.js +1 -1
- package/dist/index.es173.js +1 -1
- package/dist/index.es174.js +1 -1
- package/dist/index.es175.js +1 -1
- package/dist/index.es176.js +1 -1
- package/dist/index.es179.js +1 -1
- package/dist/index.es180.js +1 -1
- package/dist/index.es184.js +2 -2
- package/dist/index.es186.js +1 -1
- package/dist/index.es187.js +1 -1
- package/dist/index.es188.js +7 -7
- package/dist/index.es189.js +1 -1
- package/dist/index.es190.js +1 -1
- package/dist/index.es193.js +1 -1
- package/dist/index.es196.js +1 -1
- package/dist/index.es202.js +1 -1
- package/dist/index.es205.js +1 -1
- package/dist/index.es206.js +1 -1
- package/dist/index.es207.js +1 -1
- package/dist/index.es211.js +2 -2
- package/dist/index.es212.js +1 -1
- package/dist/index.es213.js +7 -7
- package/dist/index.es214.js +1 -1
- package/dist/index.es217.js +1 -1
- package/dist/index.es219.js +11 -486
- package/dist/index.es219.js.map +1 -1
- package/dist/index.es220.js +4 -51
- package/dist/index.es220.js.map +1 -1
- package/dist/index.es221.js +50 -13
- package/dist/index.es221.js.map +1 -1
- package/dist/index.es222.js +11 -4
- package/dist/index.es222.js.map +1 -1
- package/dist/index.es223.js +10 -9
- package/dist/index.es223.js.map +1 -1
- package/dist/index.es224.js +4 -12
- package/dist/index.es224.js.map +1 -1
- package/dist/index.es225.js +179 -3
- package/dist/index.es225.js.map +1 -1
- package/dist/index.es226.js +21 -179
- package/dist/index.es226.js.map +1 -1
- package/dist/index.es227.js +25 -22
- package/dist/index.es227.js.map +1 -1
- package/dist/index.es228.js +379 -22
- package/dist/index.es228.js.map +1 -1
- package/dist/index.es229.js +489 -354
- package/dist/index.es229.js.map +1 -1
- package/dist/index.es230.js +478 -506
- package/dist/index.es230.js.map +1 -1
- package/dist/index.es231.js +10 -504
- package/dist/index.es231.js.map +1 -1
- package/dist/index.es232.js +3 -86
- package/dist/index.es232.js.map +1 -1
- package/dist/index.es233.js +43 -372
- package/dist/index.es233.js.map +1 -1
- package/dist/index.es234.js +10 -122
- package/dist/index.es234.js.map +1 -1
- package/dist/index.es235.js +10 -676
- package/dist/index.es235.js.map +1 -1
- package/dist/index.es236.js +3 -16848
- package/dist/index.es236.js.map +1 -1
- package/dist/index.es237.js +21 -150
- package/dist/index.es237.js.map +1 -1
- package/dist/index.es238.js +25 -7
- package/dist/index.es238.js.map +1 -1
- package/dist/index.es239.js +500 -184
- package/dist/index.es239.js.map +1 -1
- package/dist/index.es240.js +79 -802
- package/dist/index.es240.js.map +1 -1
- package/dist/index.es241.js +350 -10046
- package/dist/index.es241.js.map +1 -1
- package/dist/index.es242.js +117 -92
- package/dist/index.es242.js.map +1 -1
- package/dist/index.es243.js +677 -16
- package/dist/index.es243.js.map +1 -1
- package/dist/index.es244.js +16848 -10
- package/dist/index.es244.js.map +1 -1
- package/dist/index.es245.js +150 -3
- package/dist/index.es245.js.map +1 -1
- package/dist/index.es246.js +7 -46
- package/dist/index.es246.js.map +1 -1
- package/dist/index.es247.js +188 -10
- package/dist/index.es247.js.map +1 -1
- package/dist/index.es248.js +808 -10
- package/dist/index.es248.js.map +1 -1
- package/dist/index.es249.js +10071 -4
- package/dist/index.es249.js.map +1 -1
- package/dist/index.es250.js +97 -21
- package/dist/index.es250.js.map +1 -1
- package/dist/index.es251.js +16 -24
- package/dist/index.es251.js.map +1 -1
- package/dist/index.es255.js +1 -1
- package/dist/index.es256.js +1 -1
- package/dist/index.es257.js +2 -2
- package/dist/index.es258.js +1 -1
- package/dist/index.es259.js +1 -1
- package/dist/index.es260.js +1 -1
- package/dist/index.es263.js +2 -2
- package/dist/index.es265.js +2 -2
- package/dist/index.es267.js +1 -1
- package/dist/index.es268.js +6 -6
- package/dist/index.es270.js +1 -1
- package/dist/index.es272.js +6 -24
- package/dist/index.es272.js.map +1 -1
- package/dist/index.es273.js +5 -25
- package/dist/index.es273.js.map +1 -1
- package/dist/index.es274.js +24 -5
- package/dist/index.es274.js.map +1 -1
- package/dist/index.es275.js +24 -5
- package/dist/index.es275.js.map +1 -1
- package/dist/index.es276.js +24 -24
- package/dist/index.es276.js.map +1 -1
- package/dist/index.es278.js +6 -6
- package/dist/index.es282.js +1 -1
- package/dist/index.es283.js +18 -18
- package/dist/index.es296.js +117 -3
- package/dist/index.es296.js.map +1 -1
- package/dist/index.es297.js +105 -10
- package/dist/index.es297.js.map +1 -1
- package/dist/index.es298.js +4 -12
- package/dist/index.es298.js.map +1 -1
- package/dist/index.es299.js +10 -14
- package/dist/index.es299.js.map +1 -1
- package/dist/index.es300.js +12 -17
- package/dist/index.es300.js.map +1 -1
- package/dist/index.es301.js +14 -117
- package/dist/index.es301.js.map +1 -1
- package/dist/index.es302.js +17 -106
- package/dist/index.es302.js.map +1 -1
- package/dist/index.es303.js +1 -1
- package/dist/index.es307.js +1 -1
- package/dist/index.es314.js +1 -1
- package/dist/index.es315.js +1 -1
- package/dist/index.es316.js +1 -1
- package/dist/index.es317.js +1 -1
- package/dist/index.es318.js +1 -1
- package/dist/index.es319.js +1 -1
- package/dist/index.es320.js +1 -1
- package/dist/index.es321.js +1 -1
- package/dist/index.es322.js +1 -1
- package/dist/index.es325.js +1 -1
- package/dist/index.es326.js +1 -1
- package/dist/index.es328.js +3 -3
- package/dist/index.es329.js +1 -1
- package/dist/index.es330.js +2 -2
- package/dist/index.es331.js +1 -1
- package/dist/index.es336.js +1 -1
- package/dist/index.es337.js +1 -1
- package/dist/index.es338.js +1 -1
- package/dist/index.es339.js +1 -1
- package/dist/index.es342.js +2 -2
- package/dist/index.es343.js +2 -2
- package/dist/index.es344.js +1 -1
- package/dist/index.es348.js +2 -2
- package/dist/index.es351.js +1 -1
- package/dist/index.es355.js +1 -1
- package/dist/index.es358.js +1 -1
- package/dist/index.es366.js +1 -1
- package/dist/index.es367.js +1 -1
- package/dist/index.es368.js +1 -1
- package/dist/index.es369.js +2 -2
- package/dist/index.es370.js +1 -1
- package/dist/index.es371.js +1 -1
- package/dist/index.es372.js +1 -1
- package/dist/index.es374.js +2 -2
- package/dist/index.es375.js +2 -2
- package/dist/index.es376.js +1 -1
- package/dist/index.es377.js +1 -1
- package/dist/index.es378.js +1 -1
- package/dist/index.es379.js +1 -1
- package/dist/index.es380.js +2 -2
- package/dist/index.es381.js +2 -2
- package/dist/index.es382.js +1 -1
- package/dist/index.es385.js +2 -2
- package/dist/index.es386.js +2 -2
- package/dist/index.es388.js +2 -2
- package/dist/index.es389.js +1 -1
- package/dist/index.es390.js +2 -2
- package/dist/index.es391.js +1 -1
- package/dist/index.es392.js +2 -2
- package/dist/index.es393.js +1 -1
- package/dist/index.es394.js +1 -1
- package/dist/index.es395.js +1 -1
- package/dist/index.es401.js +1 -1
- package/dist/index.es402.js +2 -2
- package/dist/index.es403.js +1 -1
- package/dist/index.es404.js +1 -1
- package/dist/index.es405.js +1 -1
- package/dist/index.es409.js +1 -1
- package/dist/index.es410.js +1 -1
- package/dist/index.es411.js +1 -1
- package/dist/index.es412.js +1 -1
- package/dist/index.es413.js +2 -2
- package/dist/index.es414.js +1 -1
- package/dist/index.es415.js +4 -4
- package/dist/index.es416.js +2 -2
- package/dist/index.es417.js +6 -6
- package/dist/index.es418.js +2 -2
- package/dist/index.es420.js +1 -1
- package/dist/index.es423.js +1 -1
- package/dist/index.es425.js +1 -1
- package/dist/index.es429.js +3 -39
- package/dist/index.es429.js.map +1 -1
- package/dist/index.es430.js +8 -18
- package/dist/index.es430.js.map +1 -1
- package/dist/index.es431.js +7 -4
- package/dist/index.es431.js.map +1 -1
- package/dist/index.es432.js +5 -7
- package/dist/index.es432.js.map +1 -1
- package/dist/index.es433.js +261 -7
- package/dist/index.es433.js.map +1 -1
- package/dist/index.es434.js +83 -261
- package/dist/index.es434.js.map +1 -1
- package/dist/index.es435.js +331 -77
- package/dist/index.es435.js.map +1 -1
- package/dist/index.es436.js +12 -339
- package/dist/index.es436.js.map +1 -1
- package/dist/index.es437.js +47 -12
- package/dist/index.es437.js.map +1 -1
- package/dist/index.es438.js +4 -47
- package/dist/index.es438.js.map +1 -1
- package/dist/index.es442.js +2 -2
- package/dist/index.es443.js +2 -2
- package/dist/index.es444.js +43 -2
- package/dist/index.es444.js.map +1 -1
- package/dist/index.es445.js +10 -40
- package/dist/index.es445.js.map +1 -1
- package/dist/index.es446.js +346 -10
- package/dist/index.es446.js.map +1 -1
- package/dist/index.es447.js +208 -333
- package/dist/index.es447.js.map +1 -1
- package/dist/index.es448.js +37 -222
- package/dist/index.es448.js.map +1 -1
- package/dist/index.es449.js +7 -38
- package/dist/index.es449.js.map +1 -1
- package/dist/index.es450.js +40 -7
- package/dist/index.es450.js.map +1 -1
- package/dist/index.es451.js +16 -38
- package/dist/index.es451.js.map +1 -1
- package/dist/index.es452.js +17 -16
- package/dist/index.es452.js.map +1 -1
- package/dist/index.es453.js +8 -18
- package/dist/index.es453.js.map +1 -1
- package/dist/index.es454.js +15 -8
- package/dist/index.es454.js.map +1 -1
- package/dist/index.es455.js +20 -13
- package/dist/index.es455.js.map +1 -1
- package/dist/index.es456.js +127 -18
- package/dist/index.es456.js.map +1 -1
- package/dist/index.es457.js +18 -131
- package/dist/index.es457.js.map +1 -1
- package/dist/index.es458.js +18 -19
- package/dist/index.es458.js.map +1 -1
- package/dist/index.es459.js +18 -18
- package/dist/index.es459.js.map +1 -1
- package/dist/index.es460.js +30 -14
- package/dist/index.es460.js.map +1 -1
- package/dist/index.es461.js +212 -29
- package/dist/index.es461.js.map +1 -1
- package/dist/index.es462.js +29 -218
- package/dist/index.es462.js.map +1 -1
- package/dist/index.es463.js +5 -6
- package/dist/index.es463.js.map +1 -1
- package/dist/index.es464.js +38 -27
- package/dist/index.es464.js.map +1 -1
- package/dist/index.es465.js +18 -5
- package/dist/index.es465.js.map +1 -1
- package/dist/index.es466.js +2 -2
- package/dist/index.es467.js +2 -2
- package/dist/index.es468.js +3 -3
- package/dist/index.es472.js +7 -9
- package/dist/index.es472.js.map +1 -1
- package/dist/index.es473.js +4 -7
- package/dist/index.es473.js.map +1 -1
- package/dist/index.es474.js +4 -5
- package/dist/index.es474.js.map +1 -1
- package/dist/index.es475.js +3 -4
- package/dist/index.es475.js.map +1 -1
- package/dist/index.es476.js +2 -2
- package/dist/index.es476.js.map +1 -1
- package/dist/index.es477.js +9 -3
- package/dist/index.es477.js.map +1 -1
- package/dist/index.es478.js +21 -8
- package/dist/index.es478.js.map +1 -1
- package/dist/index.es479.js +20 -20
- package/dist/index.es479.js.map +1 -1
- package/dist/index.es480.js +12 -20
- package/dist/index.es480.js.map +1 -1
- package/dist/index.es481.js +15 -12
- package/dist/index.es481.js.map +1 -1
- package/dist/index.es482.js +5 -16
- package/dist/index.es482.js.map +1 -1
- package/dist/index.es483.js +8 -5
- package/dist/index.es483.js.map +1 -1
- package/dist/index.es484.js +6 -8
- package/dist/index.es484.js.map +1 -1
- package/dist/index.es485.js +21 -6
- package/dist/index.es485.js.map +1 -1
- package/dist/index.es486.js +8 -20
- package/dist/index.es486.js.map +1 -1
- package/dist/index.es487.js +9 -10
- package/dist/index.es487.js.map +1 -1
- package/dist/index.es488.js +4 -9
- package/dist/index.es488.js.map +1 -1
- package/dist/index.es489.js +11 -4
- package/dist/index.es489.js.map +1 -1
- package/dist/index.es490.js +8 -10
- package/dist/index.es490.js.map +1 -1
- package/dist/index.es491.js +22 -8
- package/dist/index.es491.js.map +1 -1
- package/dist/index.es492.js +11 -22
- package/dist/index.es492.js.map +1 -1
- package/dist/index.es493.js +16 -9
- package/dist/index.es493.js.map +1 -1
- package/dist/index.es494.js +4 -19
- package/dist/index.es494.js.map +1 -1
- package/dist/index.es495.js +18 -4
- package/dist/index.es495.js.map +1 -1
- package/dist/index.es496.js +10 -16
- package/dist/index.es496.js.map +1 -1
- package/dist/index.es497.js +3 -11
- package/dist/index.es497.js.map +1 -1
- package/dist/index.es498.js +4 -3
- package/dist/index.es498.js.map +1 -1
- package/dist/index.es499.js +2 -5
- package/dist/index.es499.js.map +1 -1
- package/dist/index.es500.js +322 -2
- package/dist/index.es500.js.map +1 -1
- package/dist/index.es501.js +2 -322
- package/dist/index.es501.js.map +1 -1
- package/dist/index.es502.js +2 -2
- package/dist/index.es503.js +2 -2
- package/dist/index.es504.js +15 -2
- package/dist/index.es504.js.map +1 -1
- package/dist/index.es505.js +2 -15
- package/dist/index.es505.js.map +1 -1
- package/dist/index.es506.js +2 -2
- package/dist/index.es507.js +48 -2
- package/dist/index.es507.js.map +1 -1
- package/dist/index.es508.js +26 -36
- package/dist/index.es508.js.map +1 -1
- package/dist/index.es509.js +41 -36
- package/dist/index.es509.js.map +1 -1
- package/dist/index.es510.js +2 -43
- package/dist/index.es510.js.map +1 -1
- package/dist/index.es511.js +16 -2
- package/dist/index.es511.js.map +1 -1
- package/dist/index.es512.js +2 -16
- package/dist/index.es512.js.map +1 -1
- package/dist/index.es513.js +16 -2
- package/dist/index.es513.js.map +1 -1
- package/dist/index.es514.js +13 -13
- package/dist/index.es514.js.map +1 -1
- package/dist/index.es515.js +16 -14
- package/dist/index.es515.js.map +1 -1
- package/dist/index.es516.js +18 -16
- package/dist/index.es516.js.map +1 -1
- package/dist/index.es517.js +2 -20
- package/dist/index.es517.js.map +1 -1
- package/dist/index.es518.js +10 -2
- package/dist/index.es518.js.map +1 -1
- package/dist/index.es521.js +2 -2
- package/dist/index.es525.js +6 -6
- package/dist/index.es527.js +2 -2
- package/dist/index.es529.js +6 -6
- package/dist/index.es530.js +2 -2
- package/dist/index.es532.js +2 -2
- package/dist/index.es533.js +2 -2
- package/dist/index.es534.js +2 -2
- package/dist/index.es543.js +1 -1
- package/dist/index.es544.js +1 -1
- package/dist/index.es546.js +1 -1
- package/dist/index.es549.js +3 -3
- package/dist/index.es553.js +5 -5
- package/dist/index.es554.js.map +1 -1
- package/dist/index.es555.js.map +1 -1
- package/dist/index.es556.js +70 -67
- package/dist/index.es556.js.map +1 -1
- package/dist/index.es557.js.map +1 -1
- package/dist/index.es558.js.map +1 -1
- package/dist/index.es559.js +67 -70
- package/dist/index.es559.js.map +1 -1
- package/dist/index.es560.js +1 -1
- package/dist/index.es561.js +7 -155
- package/dist/index.es561.js.map +1 -1
- package/dist/index.es562.js +5 -103
- package/dist/index.es562.js.map +1 -1
- package/dist/index.es563.js +154 -15
- package/dist/index.es563.js.map +1 -1
- package/dist/index.es564.js +103 -5
- package/dist/index.es564.js.map +1 -1
- package/dist/index.es565.js +17 -8
- package/dist/index.es565.js.map +1 -1
- package/dist/index.es568.js +2 -2
- package/dist/index.es570.js +3 -3
- package/dist/index.es571.js +3 -3
- package/dist/index.es572.js +1 -1
- package/dist/index.es573.js +8 -8
- package/dist/index.es574.js +1 -1
- package/dist/index.es575.js +1 -1
- package/dist/index.es576.js +1 -1
- package/dist/index.es577.js +1 -1
- package/dist/index.es578.js +1 -1
- package/dist/index.es579.js +1 -1
- package/dist/index.es580.js +1 -1
- package/dist/index.es581.js +1 -1
- package/dist/index.es582.js +2 -2
- package/dist/index.es583.js +1 -1
- package/dist/index.es584.js +1 -1
- package/dist/index.es585.js +3 -3
- package/dist/index.es587.js +2 -2
- package/dist/index.es589.js +1 -1
- package/dist/index.es590.js +1 -1
- package/dist/index.es591.js +1 -1
- package/dist/index.es592.js +1 -1
- package/dist/index.es593.js +1 -1
- package/dist/index.es594.js +1 -1
- package/dist/index.es595.js +1 -1
- package/dist/index.es596.js +1 -1
- package/dist/index.es597.js +1 -1
- package/dist/index.es598.js +1 -1
- package/dist/index.es599.js +2 -2
- package/dist/index.es600.js +12 -2
- package/dist/index.es600.js.map +1 -1
- package/dist/index.es601.js +32 -10
- package/dist/index.es601.js.map +1 -1
- package/dist/index.es602.js +18 -31
- package/dist/index.es602.js.map +1 -1
- package/dist/index.es603.js +10 -19
- package/dist/index.es603.js.map +1 -1
- package/dist/index.es604.js +2 -12
- package/dist/index.es604.js.map +1 -1
- package/dist/index.es605.js +1 -1
- package/dist/index.es606.js +1 -1
- package/dist/index.es612.js +2 -2
- package/dist/index.es613.js +1 -1
- package/dist/index.es614.js +1 -1
- package/dist/index.es617.js +4 -8
- package/dist/index.es617.js.map +1 -1
- package/dist/index.es618.js +4 -8
- package/dist/index.es618.js.map +1 -1
- package/dist/index.es619.js +145 -48
- package/dist/index.es619.js.map +1 -1
- package/dist/index.es620.js +2 -2
- package/dist/index.es621.js +8 -4
- package/dist/index.es621.js.map +1 -1
- package/dist/index.es622.js +8 -4
- package/dist/index.es622.js.map +1 -1
- package/dist/index.es623.js +48 -145
- package/dist/index.es623.js.map +1 -1
- package/dist/index.es624.js +2 -2
- package/dist/index.es625.js +2 -2
- package/dist/index.es626.js +2 -2
- package/dist/index.es626.js.map +1 -1
- package/dist/index.es628.js +47 -33
- package/dist/index.es628.js.map +1 -1
- package/dist/index.es629.js.map +1 -1
- package/dist/index.es630.js +41 -41
- package/dist/index.es630.js.map +1 -1
- package/dist/index.es631.js +33 -47
- package/dist/index.es631.js.map +1 -1
- package/dist/index.es632.js.map +1 -1
- package/dist/index.es633.js +41 -41
- package/dist/index.es633.js.map +1 -1
- package/dist/index.es634.js +1 -1
- package/dist/index.es636.js +2 -2
- package/dist/index.es637.js +2 -2
- package/dist/index.es638.js +2 -2
- package/dist/index.es639.js +2 -14
- package/dist/index.es639.js.map +1 -1
- package/dist/index.es640.js +2 -2
- package/dist/index.es641.js +2 -2
- package/dist/index.es642.js +2 -2
- package/dist/index.es644.js +2 -2
- package/dist/index.es645.js +2 -2
- package/dist/index.es646.js +2 -2
- package/dist/index.es647.js +2 -2
- package/dist/index.es648.js +151 -2
- package/dist/index.es648.js.map +1 -1
- package/dist/index.es649.js +2 -2
- package/dist/index.es650.js +6 -2
- package/dist/index.es650.js.map +1 -1
- package/dist/index.es651.js +2 -2
- package/dist/index.es652.js +148 -2
- package/dist/index.es652.js.map +1 -1
- package/dist/index.es653.js +2 -151
- package/dist/index.es653.js.map +1 -1
- package/dist/index.es654.js +138 -2
- package/dist/index.es654.js.map +1 -1
- package/dist/index.es655.js +2 -6
- package/dist/index.es655.js.map +1 -1
- package/dist/index.es657.js +225 -2
- package/dist/index.es657.js.map +1 -1
- package/dist/index.es658.js +88 -179
- package/dist/index.es658.js.map +1 -1
- package/dist/index.es659.js +42 -47
- package/dist/index.es659.js.map +1 -1
- package/dist/index.es660.js +72 -67
- package/dist/index.es660.js.map +1 -1
- package/dist/index.es661.js +45 -50
- package/dist/index.es661.js.map +1 -1
- package/dist/index.es662.js +48 -42
- package/dist/index.es662.js.map +1 -1
- package/dist/index.es663.js +2 -135
- package/dist/index.es663.js.map +1 -1
- package/dist/index.es664.js +2 -2
- package/dist/index.es665.js +2 -2
- package/dist/index.es668.js +2 -2
- package/dist/index.es669.js +2 -2
- package/dist/index.es670.js +2 -2
- package/dist/index.es671.js +2 -2
- package/dist/index.es672.js +2 -2
- package/dist/index.es673.js +2 -148
- package/dist/index.es673.js.map +1 -1
- package/dist/index.es674.js +131 -2
- package/dist/index.es674.js.map +1 -1
- package/dist/index.es675.js +128 -2
- package/dist/index.es675.js.map +1 -1
- package/dist/index.es676.js +2 -2
- package/dist/index.es677.js +2 -131
- package/dist/index.es677.js.map +1 -1
- package/dist/index.es678.js +2 -128
- package/dist/index.es678.js.map +1 -1
- package/dist/index.es679.js +14 -2
- package/dist/index.es679.js.map +1 -1
- package/dist/index.es680.js +2 -138
- package/dist/index.es680.js.map +1 -1
- package/dist/index.es681.js +4 -2
- package/dist/index.es681.js.map +1 -1
- package/dist/index.es682.js +23 -2
- package/dist/index.es682.js.map +1 -1
- package/dist/index.es683.js +2 -2
- package/dist/index.es684.js +2 -4
- package/dist/index.es684.js.map +1 -1
- package/dist/index.es685.js +2 -23
- package/dist/index.es685.js.map +1 -1
- package/dist/index.es690.js +2 -2
- package/dist/index.es692.js +2 -30
- package/dist/index.es692.js.map +1 -1
- package/dist/index.es693.js +2 -2
- package/dist/index.es695.js +2 -2
- package/dist/index.es697.js +2 -2
- package/dist/index.es698.js +30 -2
- package/dist/index.es698.js.map +1 -1
- package/dist/index.es700.js +2 -2
- package/dist/index.es701.js +2 -2
- package/dist/index.es702.js +2 -2
- package/dist/index.es703.js +21 -11
- package/dist/index.es703.js.map +1 -1
- package/dist/index.es704.js +11 -26
- package/dist/index.es704.js.map +1 -1
- package/dist/index.es705.js +27 -4
- package/dist/index.es705.js.map +1 -1
- package/dist/index.es706.js +4 -22
- package/dist/index.es706.js.map +1 -1
- package/dist/index.es711.js.map +1 -1
- package/dist/index.es712.js.map +1 -1
- package/dist/index.es78.js +1 -1
- package/dist/index.es8.js +4 -4
- package/dist/index.es8.js.map +1 -1
- package/dist/index.es80.js +2 -2
- package/dist/index.es82.js +2 -2
- package/dist/index.es83.js +2 -2
- package/dist/index.es84.js +2 -2
- package/dist/index.es86.js +1 -1
- package/dist/index.es87.js +2 -2
- package/dist/index.es88.js +2 -2
- package/dist/index.es90.js +1 -1
- package/dist/index.es91.js +1 -1
- package/dist/index.es92.js +1 -1
- package/dist/index.es96.js +2 -2
- package/dist/index.es97.js +3 -3
- package/dist/index.es98.js +1 -1
- package/dist/packages/core-data/src/tailwind.css +1 -1
- package/package.json +3 -3
- package/src/components/Combobox.js +2 -2
- package/types/components/Combobox.js.flow +2 -2
package/dist/index.cjs154.js
CHANGED
package/dist/index.cjs155.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const c=require("react"),$=require("./index.
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const c=require("react"),$=require("./index.cjs241.js"),x=require("./index.cjs244.js"),k=(e,t="none")=>{if(!e)return null;if(typeof e=="string")return[e];if(!e[t]){const r=Object.getOwnPropertyNames(e);if(r.length>0)return e[r[0]]}return!e[t]||!Array.isArray(e[t])?null:e[t]},T=(e,t="none",r=", ")=>{const s=k(e,t);return Array.isArray(s)?s.join(`${r}`):s};function A(e,t){const r=Object.keys(e).filter(i=>t.includes(i)?null:i),s=new Object;return r.forEach(i=>{s[i]=e[i]}),s}const g=209,O={colors:{primary:"#1a1d1e",primaryMuted:"#26292b",primaryAlt:"#151718",accent:`hsl(${g} 100% 38.2%)`,accentMuted:`hsl(${g} 80% 61.8%)`,accentAlt:`hsl(${g} 80% 30%)`,secondary:"#FFFFFF",secondaryMuted:"#e6e8eb",secondaryAlt:"#c1c8cd"},fontSizes:{1:"12px",2:"13px",3:"15px",4:"17px",5:"19px",6:"21px",7:"27px",8:"35px",9:"59px"},lineHeights:{1:"12px",2:"13px",3:"15px",4:"17px",5:"19px",6:"21px",7:"27px",8:"35px",9:"59px"},sizes:{1:"5px",2:"10px",3:"15px",4:"20px",5:"25px",6:"35px",7:"45px",8:"65px",9:"80px"},space:{1:"5px",2:"10px",3:"15px",4:"20px",5:"25px",6:"35px",7:"45px",8:"65px",9:"80px"},radii:{1:"4px",2:"6px",3:"8px",4:"12px",round:"50%",pill:"9999px"},transitions:{all:"all 300ms cubic-bezier(0.16, 1, 0.3, 1)"},zIndices:{1:"100",2:"200",3:"300",4:"400",max:"999"}},j={xxs:"(max-width: 349px)",xs:"(max-width: 575px)",sm:"(max-width: 767px)",md:"(max-width: 991px)",lg:"(max-width: 90rem)",xl:"(min-width: calc(90rem + 1px))"},{styled:a,css:H,keyframes:I,createTheme:P}=$.createStitches({theme:O,media:j});a("span",{});const F=(e,t="200,",r="full")=>{Array.isArray(e)&&(e=e[0]);const{id:s,service:i}=e;let l;if(!i)return s;if(Array.isArray(e.service)&&e.service.length>0&&(l=i[0]),l){if(l["@id"])return`${l["@id"]}/${r}/${t}/0/default.jpg`;if(l.id)return`${l.id}/${r}/${t}/0/default.jpg`}},E=a("img",{objectFit:"cover"}),w=e=>{const t=c.useRef(null),{contentResource:r,altAsLabel:s,region:i="full"}=e;let l;s&&(l=T(s));const R=A(e,["contentResource","altAsLabel"]),{type:m,id:o,width:y=200,height:h=200,duration:p}=r;c.useEffect(()=>{if(!o&&!t.current||["Image"].includes(m)||!o.includes("m3u8"))return;const n=new x.Hls;return t.current&&(n.attachMedia(t.current),n.on(x.Hls.Events.MEDIA_ATTACHED,function(){n.loadSource(o)})),n.on(x.Hls.Events.ERROR,function(u,d){if(d.fatal)switch(d.type){case x.Hls.ErrorTypes.NETWORK_ERROR:console.error(`fatal ${u} network error encountered, try to recover`),n.startLoad();break;case x.Hls.ErrorTypes.MEDIA_ERROR:console.error(`fatal ${u} media error encountered, try to recover`),n.recoverMediaError();break;default:n.destroy();break}}),()=>{n&&(n.detachMedia(),n.destroy())}},[o,m]);const f=c.useCallback(()=>{if(!t.current)return;let n=0,u=30;if(p&&(u=p),!o.split("#t=")&&p&&(n=p*.1),o.split("#t=").pop()){const b=o.split("#t=").pop();b&&(n=parseInt(b.split(",")[0]))}const d=t.current;d.autoplay=!0,d.currentTime=n,setTimeout(()=>f(),u*1e3)},[p,o]);c.useEffect(()=>f(),[f]);const v=F(r,`${y},${h}`,i);switch(m){case"Image":return c.createElement(E,{as:"img",alt:l,css:{width:y,height:h},key:o,src:v,...R});case"Video":return c.createElement(E,{as:"video",css:{width:y,height:h},disablePictureInPicture:!0,key:o,loop:!0,muted:!0,onPause:f,ref:t,src:o});default:return console.warn(`Resource type: ${m} is not valid or not yet supported in Primitives.`),c.createElement(c.Fragment,null)}};a("a",{});c.createContext(void 0);a("span",{});a("span",{});a("dl",{});a("li",{});a("ul",{});a("dl",{});a("li",{});a("ul",{});const M=e=>{const{thumbnail:t,region:r}=e,s=A(e,["thumbnail"]);return c.createElement(c.Fragment,null,t&&t.map(i=>c.createElement(w,{contentResource:i,key:i.id,region:r,...s})))};exports.ContentResource=w;exports.Thumbnail=M;
|
|
2
2
|
//# sourceMappingURL=index.cjs155.js.map
|
package/dist/index.cjs156.js
CHANGED
package/dist/index.cjs157.js
CHANGED
package/dist/index.cjs158.js
CHANGED
package/dist/index.cjs159.js
CHANGED
package/dist/index.cjs170.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("react"),v=require("./index.cjs169.js"),m=require("./index.cjs171.js"),p=require("./index.
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("react"),v=require("./index.cjs169.js"),m=require("./index.cjs171.js"),p=require("./index.cjs221.js");function _(s){const u=s+"CollectionProvider",[C,R]=v.createContextScope(u),[M,d]=C(u,{collectionRef:{current:null},itemMap:new Map}),S=n=>{const{scope:e,children:l}=n,o=t.useRef(null),c=t.useRef(new Map).current;return t.createElement(M,{scope:e,itemMap:c,collectionRef:o},l)},x=s+"CollectionSlot",I=t.forwardRef((n,e)=>{const{scope:l,children:o}=n,c=d(x,l),r=m.useComposedRefs(e,c.collectionRef);return t.createElement(p.Slot,{ref:r},o)}),E=s+"CollectionItemSlot",f="data-radix-collection-item",A=t.forwardRef((n,e)=>{const{scope:l,children:o,...c}=n,r=t.useRef(null),a=m.useComposedRefs(e,r),i=d(E,l);return t.useEffect(()=>(i.itemMap.set(r,{ref:r,...c}),()=>void i.itemMap.delete(r))),t.createElement(p.Slot,{[f]:"",ref:a},o)});function T(n){const e=d(s+"CollectionConsumer",n);return t.useCallback(()=>{const o=e.collectionRef.current;if(!o)return[];const c=Array.from(o.querySelectorAll(`[${f}]`));return Array.from(e.itemMap.values()).sort((i,O)=>c.indexOf(i.ref.current)-c.indexOf(O.ref.current))},[e.collectionRef,e.itemMap])}return[{Provider:S,Slot:I,ItemSlot:A},T,R]}exports.createCollection=_;
|
|
2
2
|
//# sourceMappingURL=index.cjs170.js.map
|
package/dist/index.cjs173.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("react"),f=require("./index.
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("react"),f=require("./index.cjs219.js");function C({prop:e,defaultProp:s,onChange:c=()=>{}}){const[t,n]=b({defaultProp:s,onChange:c}),o=e!==void 0,d=o?e:t,u=f.useCallbackRef(c),i=r.useCallback(l=>{if(o){const a=typeof l=="function"?l(e):l;a!==e&&u(a)}else n(l)},[o,e,n,u]);return[d,i]}function b({defaultProp:e,onChange:s}){const c=r.useState(e),[t]=c,n=r.useRef(t),o=f.useCallbackRef(s);return r.useEffect(()=>{n.current!==t&&(o(t),n.current=t)},[t,n,o]),c}exports.useControllableState=C;
|
|
2
2
|
//# sourceMappingURL=index.cjs173.js.map
|
package/dist/index.cjs174.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("./index.cjs168.js"),i=require("react"),u=require("react-dom"),d=require("./index.
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("./index.cjs168.js"),i=require("react"),u=require("react-dom"),d=require("./index.cjs221.js"),l=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","span","svg","ul"],p=l.reduce((t,e)=>{const r=i.forwardRef((c,o)=>{const{asChild:n,...s}=c,f=n?d.Slot:e;return i.useEffect(()=>{window[Symbol.for("radix-ui")]=!0},[]),i.createElement(f,a({},s,{ref:o}))});return r.displayName=`Primitive.${e}`,{...t,[e]:r}},{});function m(t,e){t&&u.flushSync(()=>t.dispatchEvent(e))}exports.Primitive=p;exports.dispatchDiscreteCustomEvent=m;
|
|
2
2
|
//# sourceMappingURL=index.cjs174.js.map
|
package/dist/index.cjs175.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const f=require("./index.cjs168.js"),e=require("react"),S=require("./index.cjs172.js"),T=require("./index.cjs169.js"),w=require("./index.cjs173.js"),A=require("./index.
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const f=require("./index.cjs168.js"),e=require("react"),S=require("./index.cjs172.js"),T=require("./index.cjs169.js"),w=require("./index.cjs173.js"),A=require("./index.cjs220.js"),I=require("./index.cjs171.js"),C=require("./index.cjs174.js"),M=require("./index.cjs180.js"),D=require("./index.cjs176.js"),E="Collapsible",[L,k]=T.createContextScope(E),[F,m]=L(E),y=e.forwardRef((t,s)=>{const{__scopeCollapsible:i,open:r,defaultOpen:n,disabled:c,onOpenChange:a,...u}=t,[d=!1,l]=w.useControllableState({prop:r,defaultProp:n,onChange:a});return e.createElement(F,{scope:i,disabled:c,contentId:D.useId(),open:d,onOpenToggle:e.useCallback(()=>l($=>!$),[l])},e.createElement(C.Primitive.div,f({"data-state":x(d),"data-disabled":c?"":void 0},u,{ref:s})))}),B="CollapsibleTrigger",q=e.forwardRef((t,s)=>{const{__scopeCollapsible:i,...r}=t,n=m(B,i);return e.createElement(C.Primitive.button,f({type:"button","aria-controls":n.contentId,"aria-expanded":n.open||!1,"data-state":x(n.open),"data-disabled":n.disabled?"":void 0,disabled:n.disabled},r,{ref:s,onClick:S.composeEventHandlers(t.onClick,n.onOpenToggle)}))}),O="CollapsibleContent",N=e.forwardRef((t,s)=>{const{forceMount:i,...r}=t,n=m(O,t.__scopeCollapsible);return e.createElement(M.Presence,{present:i||n.open},({present:c})=>e.createElement(G,f({},r,{ref:s,present:c})))}),G=e.forwardRef((t,s)=>{const{__scopeCollapsible:i,present:r,children:n,...c}=t,a=m(O,i),[u,d]=e.useState(r),l=e.useRef(null),$=I.useComposedRefs(s,l),g=e.useRef(0),R=g.current,h=e.useRef(0),_=h.current,b=a.open||u,v=e.useRef(b),p=e.useRef();return e.useEffect(()=>{const o=requestAnimationFrame(()=>v.current=!1);return()=>cancelAnimationFrame(o)},[]),A.useLayoutEffect(()=>{const o=l.current;if(o){p.current=p.current||{transitionDuration:o.style.transitionDuration,animationName:o.style.animationName},o.style.transitionDuration="0s",o.style.animationName="none";const P=o.getBoundingClientRect();g.current=P.height,h.current=P.width,v.current||(o.style.transitionDuration=p.current.transitionDuration,o.style.animationName=p.current.animationName),d(r)}},[a.open,r]),e.createElement(C.Primitive.div,f({"data-state":x(a.open),"data-disabled":a.disabled?"":void 0,id:a.contentId,hidden:!b},c,{ref:$,style:{"--radix-collapsible-content-height":R?`${R}px`:void 0,"--radix-collapsible-content-width":_?`${_}px`:void 0,...t.style}}),b&&n)});function x(t){return t?"open":"closed"}const j=y,H=q,z=N;exports.Collapsible=y;exports.CollapsibleContent=N;exports.CollapsibleTrigger=q;exports.Content=z;exports.Root=j;exports.Trigger=H;exports.createCollapsibleScope=k;
|
|
2
2
|
//# sourceMappingURL=index.cjs175.js.map
|
package/dist/index.cjs176.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const u=require("react"),a=require("./index.
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const u=require("react"),a=require("./index.cjs220.js");function c(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const n in e)if(n!=="default"){const o=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(t,n,o.get?o:{enumerable:!0,get:()=>e[n]})}}return t.default=e,Object.freeze(t)}const r=c(u),f=r.useId||(()=>{});let s=0;function i(e){const[t,n]=r.useState(f());return a.useLayoutEffect(()=>{e||n(o=>o??String(s++))},[e]),e||(t?`radix-${t}`:"")}exports.useId=i;
|
|
2
2
|
//# sourceMappingURL=index.cjs176.js.map
|
package/dist/index.cjs179.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const u=require("react"),c=require("./index.
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const u=require("react"),c=require("./index.cjs220.js");function h(e){const[f,r]=u.useState(void 0);return c.useLayoutEffect(()=>{if(e){r({width:e.offsetWidth,height:e.offsetHeight});const n=new ResizeObserver(i=>{if(!Array.isArray(i)||!i.length)return;const b=i[0];let t,o;if("borderBoxSize"in b){const s=b.borderBoxSize,d=Array.isArray(s)?s[0]:s;t=d.inlineSize,o=d.blockSize}else t=e.offsetWidth,o=e.offsetHeight;r({width:t,height:o})});return n.observe(e,{box:"border-box"}),()=>n.unobserve(e)}else r(void 0)},[e]),f}exports.useSize=h;
|
|
2
2
|
//# sourceMappingURL=index.cjs179.js.map
|
package/dist/index.cjs180.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const s=require("react"),O=require("react-dom"),p=require("./index.cjs171.js"),v=require("./index.
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const s=require("react"),O=require("react-dom"),p=require("./index.cjs171.js"),v=require("./index.cjs220.js");function E(n,t){return s.useReducer((r,o)=>{const i=t[r][o];return i??r},n)}const M=n=>{const{present:t,children:r}=n,o=T(t),i=typeof r=="function"?r({present:o.isPresent}):s.Children.only(r),c=p.useComposedRefs(o.ref,i.ref);return typeof r=="function"||o.isPresent?s.cloneElement(i,{ref:c}):null};M.displayName="Presence";function T(n){const[t,r]=s.useState(),o=s.useRef({}),i=s.useRef(n),c=s.useRef("none"),N=n?"mounted":"unmounted",[l,u]=E(N,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return s.useEffect(()=>{const e=f(o.current);c.current=l==="mounted"?e:"none"},[l]),v.useLayoutEffect(()=>{const e=o.current,a=i.current;if(a!==n){const A=c.current,m=f(e);n?u("MOUNT"):m==="none"||(e==null?void 0:e.display)==="none"?u("UNMOUNT"):u(a&&A!==m?"ANIMATION_OUT":"UNMOUNT"),i.current=n}},[n,u]),v.useLayoutEffect(()=>{if(t){const e=d=>{const m=f(o.current).includes(d.animationName);d.target===t&&m&&O.flushSync(()=>u("ANIMATION_END"))},a=d=>{d.target===t&&(c.current=f(o.current))};return t.addEventListener("animationstart",a),t.addEventListener("animationcancel",e),t.addEventListener("animationend",e),()=>{t.removeEventListener("animationstart",a),t.removeEventListener("animationcancel",e),t.removeEventListener("animationend",e)}}else u("ANIMATION_END")},[t,u]),{isPresent:["mounted","unmountSuspended"].includes(l),ref:s.useCallback(e=>{e&&(o.current=getComputedStyle(e)),r(e)},[])}}function f(n){return(n==null?void 0:n.animationName)||"none"}exports.Presence=M;
|
|
2
2
|
//# sourceMappingURL=index.cjs180.js.map
|
package/dist/index.cjs184.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const q=require("react"),y=require("./index.cjs181.js"),p=require("./index.cjs191.js"),R=require("./index.cjs182.js"),x=require("./index.
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const q=require("react"),y=require("./index.cjs181.js"),p=require("./index.cjs191.js"),R=require("./index.cjs182.js"),x=require("./index.cjs222.js"),H=require("./index.cjs223.js"),w=require("./index.cjs73.js");function U(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const n in e)if(n!=="default"){const s=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(t,n,s.get?s:{enumerable:!0,get:()=>e[n]})}}return t.default=e,Object.freeze(t)}const o=U(q);var z="DismissableLayer",h="dismissableLayer.update",M="dismissableLayer.pointerDownOutside",$="dismissableLayer.focusOutside",L,T=o.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),S=o.forwardRef((e,t)=>{const{disableOutsidePointerEvents:n=!1,onEscapeKeyDown:s,onPointerDownOutside:r,onFocusOutside:a,onInteractOutside:l,onDismiss:d,...v}=e,c=o.useContext(T),[u,F]=o.useState(null),f=(u==null?void 0:u.ownerDocument)??(globalThis==null?void 0:globalThis.document),[,N]=o.useState({}),W=R.useComposedRefs(t,i=>F(i)),m=Array.from(c.layers),[_]=[...c.layersWithOutsidePointerEventsDisabled].slice(-1),A=m.indexOf(_),P=u?m.indexOf(u):-1,k=c.layersWithOutsidePointerEventsDisabled.size>0,D=P>=A,I=Y(i=>{const E=i.target,C=[...c.branches].some(b=>b.contains(E));!D||C||(r==null||r(i),l==null||l(i),i.defaultPrevented||d==null||d())},f),O=G(i=>{const E=i.target;[...c.branches].some(b=>b.contains(E))||(a==null||a(i),l==null||l(i),i.defaultPrevented||d==null||d())},f);return H.useEscapeKeydown(i=>{P===c.layers.size-1&&(s==null||s(i),!i.defaultPrevented&&d&&(i.preventDefault(),d()))},f),o.useEffect(()=>{if(u)return n&&(c.layersWithOutsidePointerEventsDisabled.size===0&&(L=f.body.style.pointerEvents,f.body.style.pointerEvents="none"),c.layersWithOutsidePointerEventsDisabled.add(u)),c.layers.add(u),g(),()=>{n&&c.layersWithOutsidePointerEventsDisabled.size===1&&(f.body.style.pointerEvents=L)}},[u,f,n,c]),o.useEffect(()=>()=>{u&&(c.layers.delete(u),c.layersWithOutsidePointerEventsDisabled.delete(u),g())},[u,c]),o.useEffect(()=>{const i=()=>N({});return document.addEventListener(h,i),()=>document.removeEventListener(h,i)},[]),w.jsxRuntimeExports.jsx(p.Primitive.div,{...v,ref:W,style:{pointerEvents:k?D?"auto":"none":void 0,...e.style},onFocusCapture:y.composeEventHandlers(e.onFocusCapture,O.onFocusCapture),onBlurCapture:y.composeEventHandlers(e.onBlurCapture,O.onBlurCapture),onPointerDownCapture:y.composeEventHandlers(e.onPointerDownCapture,I.onPointerDownCapture)})});S.displayName=z;var X="DismissableLayerBranch",B=o.forwardRef((e,t)=>{const n=o.useContext(T),s=o.useRef(null),r=R.useComposedRefs(t,s);return o.useEffect(()=>{const a=s.current;if(a)return n.branches.add(a),()=>{n.branches.delete(a)}},[n.branches]),w.jsxRuntimeExports.jsx(p.Primitive.div,{...e,ref:r})});B.displayName=X;function Y(e,t=globalThis==null?void 0:globalThis.document){const n=x.useCallbackRef(e),s=o.useRef(!1),r=o.useRef(()=>{});return o.useEffect(()=>{const a=d=>{if(d.target&&!s.current){let v=function(){j(M,n,c,{discrete:!0})};const c={originalEvent:d};d.pointerType==="touch"?(t.removeEventListener("click",r.current),r.current=v,t.addEventListener("click",r.current,{once:!0})):v()}else t.removeEventListener("click",r.current);s.current=!1},l=window.setTimeout(()=>{t.addEventListener("pointerdown",a)},0);return()=>{window.clearTimeout(l),t.removeEventListener("pointerdown",a),t.removeEventListener("click",r.current)}},[t,n]),{onPointerDownCapture:()=>s.current=!0}}function G(e,t=globalThis==null?void 0:globalThis.document){const n=x.useCallbackRef(e),s=o.useRef(!1);return o.useEffect(()=>{const r=a=>{a.target&&!s.current&&j($,n,{originalEvent:a},{discrete:!1})};return t.addEventListener("focusin",r),()=>t.removeEventListener("focusin",r)},[t,n]),{onFocusCapture:()=>s.current=!0,onBlurCapture:()=>s.current=!1}}function g(){const e=new CustomEvent(h);document.dispatchEvent(e)}function j(e,t,n,{discrete:s}){const r=n.originalEvent.target,a=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:n});t&&r.addEventListener(e,t,{once:!0}),s?p.dispatchDiscreteCustomEvent(r,a):r.dispatchEvent(a)}exports.DismissableLayer=S;exports.DismissableLayerBranch=B;
|
|
2
2
|
//# sourceMappingURL=index.cjs184.js.map
|
package/dist/index.cjs186.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const U=require("react"),x=require("./index.cjs182.js"),A=require("./index.cjs191.js"),O=require("./index.
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const U=require("react"),x=require("./index.cjs182.js"),A=require("./index.cjs191.js"),O=require("./index.cjs222.js"),k=require("./index.cjs73.js");function w(e){const n=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const t in e)if(t!=="default"){const o=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(n,t,o.get?o:{enumerable:!0,get:()=>e[t]})}}return n.default=e,Object.freeze(n)}const f=w(U);var F="focusScope.autoFocusOnMount",y="focusScope.autoFocusOnUnmount",S={bubbles:!1,cancelable:!0},K="FocusScope",C=f.forwardRef((e,n)=>{const{loop:t=!1,trapped:o=!1,onMountAutoFocus:p,onUnmountAutoFocus:I,...L}=e,[s,P]=f.useState(null),E=O.useCallbackRef(p),v=O.useCallbackRef(I),b=f.useRef(null),_=x.useComposedRefs(n,u=>P(u)),a=f.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;f.useEffect(()=>{if(o){let u=function(i){if(a.paused||!s)return;const c=i.target;s.contains(c)?b.current=c:d(b.current,{select:!0})},l=function(i){if(a.paused||!s)return;const c=i.relatedTarget;c!==null&&(s.contains(c)||d(b.current,{select:!0}))},r=function(i){if(document.activeElement===document.body)for(const T of i)T.removedNodes.length>0&&d(s)};document.addEventListener("focusin",u),document.addEventListener("focusout",l);const m=new MutationObserver(r);return s&&m.observe(s,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",u),document.removeEventListener("focusout",l),m.disconnect()}}},[o,s,a.paused]),f.useEffect(()=>{if(s){N.add(a);const u=document.activeElement;if(!s.contains(u)){const r=new CustomEvent(F,S);s.addEventListener(F,E),s.dispatchEvent(r),r.defaultPrevented||(j(W(R(s)),{select:!0}),document.activeElement===u&&d(s))}return()=>{s.removeEventListener(F,E),setTimeout(()=>{const r=new CustomEvent(y,S);s.addEventListener(y,v),s.dispatchEvent(r),r.defaultPrevented||d(u??document.body,{select:!0}),s.removeEventListener(y,v),N.remove(a)},0)}}},[s,E,v,a]);const M=f.useCallback(u=>{if(!t&&!o||a.paused)return;const l=u.key==="Tab"&&!u.altKey&&!u.ctrlKey&&!u.metaKey,r=document.activeElement;if(l&&r){const m=u.currentTarget,[i,c]=D(m);i&&c?!u.shiftKey&&r===c?(u.preventDefault(),t&&d(i,{select:!0})):u.shiftKey&&r===i&&(u.preventDefault(),t&&d(c,{select:!0})):r===m&&u.preventDefault()}},[t,o,a.paused]);return k.jsxRuntimeExports.jsx(A.Primitive.div,{tabIndex:-1,...L,ref:_,onKeyDown:M})});C.displayName=K;function j(e,{select:n=!1}={}){const t=document.activeElement;for(const o of e)if(d(o,{select:n}),document.activeElement!==t)return}function D(e){const n=R(e),t=h(n,e),o=h(n.reverse(),e);return[t,o]}function R(e){const n=[],t=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:o=>{const p=o.tagName==="INPUT"&&o.type==="hidden";return o.disabled||o.hidden||p?NodeFilter.FILTER_SKIP:o.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;t.nextNode();)n.push(t.currentNode);return n}function h(e,n){for(const t of e)if(!q(t,{upTo:n}))return t}function q(e,{upTo:n}){if(getComputedStyle(e).visibility==="hidden")return!0;for(;e;){if(n!==void 0&&e===n)return!1;if(getComputedStyle(e).display==="none")return!0;e=e.parentElement}return!1}function H(e){return e instanceof HTMLInputElement&&"select"in e}function d(e,{select:n=!1}={}){if(e&&e.focus){const t=document.activeElement;e.focus({preventScroll:!0}),e!==t&&H(e)&&n&&e.select()}}var N=V();function V(){let e=[];return{add(n){const t=e[0];n!==t&&(t==null||t.pause()),e=g(e,n),e.unshift(n)},remove(n){var t;e=g(e,n),(t=e[0])==null||t.resume()}}}function g(e,n){const t=[...e],o=t.indexOf(n);return o!==-1&&t.splice(o,1),t}function W(e){return e.filter(n=>n.tagName!=="A")}exports.FocusScope=C;
|
|
2
2
|
//# sourceMappingURL=index.cjs186.js.map
|
package/dist/index.cjs187.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const u=require("react"),c=require("./index.
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const u=require("react"),c=require("./index.cjs224.js");function a(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const r in e)if(r!=="default"){const n=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(t,r,n.get?n:{enumerable:!0,get:()=>e[r]})}}return t.default=e,Object.freeze(t)}const o=a(u);var s=o.useId||(()=>{}),i=0;function f(e){const[t,r]=o.useState(s());return c.useLayoutEffect(()=>{e||r(n=>n??String(i++))},[e]),e||(t?`radix-${t}`:"")}exports.useId=f;
|
|
2
2
|
//# sourceMappingURL=index.cjs187.js.map
|
package/dist/index.cjs188.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const ye=require("react"),L=require("./index.
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const ye=require("react"),L=require("./index.cjs225.js"),Ae=require("./index.cjs226.js"),G=require("./index.cjs182.js"),ve=require("./index.cjs183.js"),J=require("./index.cjs191.js"),Ce=require("./index.cjs222.js"),Z=require("./index.cjs224.js"),be=require("./index.cjs227.js"),f=require("./index.cjs73.js"),g=require("./index.cjs228.js"),Re=require("./index.cjs229.js");function Oe(e){const o=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const t in e)if(t!=="default"){const r=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(o,t,r.get?r:{enumerable:!0,get:()=>e[t]})}}return o.default=e,Object.freeze(o)}const s=Oe(ye);var _="Popper",[K,Se]=ve.createContextScope(_),[je,Q]=K(_),$=e=>{const{__scopePopper:o,children:t}=e,[r,a]=s.useState(null);return f.jsxRuntimeExports.jsx(je,{scope:o,anchor:r,onAnchorChange:a,children:t})};$.displayName=_;var V="PopperAnchor",N=s.forwardRef((e,o)=>{const{__scopePopper:t,virtualRef:r,...a}=e,n=Q(V,t),i=s.useRef(null),w=G.useComposedRefs(o,i);return s.useEffect(()=>{n.onAnchorChange((r==null?void 0:r.current)||i.current)}),r?null:f.jsxRuntimeExports.jsx(J.Primitive.div,{...a,ref:w})});N.displayName=V;var q="PopperContent",[Ee,_e]=K(q),H=s.forwardRef((e,o)=>{var T,X,k,F,U,z;const{__scopePopper:t,side:r="bottom",sideOffset:a=0,align:n="center",alignOffset:i=0,arrowPadding:w=0,avoidCollisions:c=!0,collisionBoundary:p=[],collisionPadding:P=0,sticky:u="partial",hideWhenDetached:A=!1,updatePositionStrategy:v="optimized",onPlaced:l,...d}=e,C=Q(q,t),[x,b]=s.useState(null),re=G.useComposedRefs(o,y=>b(y)),[E,oe]=s.useState(null),m=be.useSize(E),ne=(m==null?void 0:m.width)??0,M=(m==null?void 0:m.height)??0,ie=r+(n!=="center"?"-"+n:""),ae=typeof P=="number"?P:{top:0,right:0,bottom:0,left:0,...P},W=Array.isArray(p)?p:[p],se=W.length>0,R={padding:ae,boundary:W.filter(Ne),altBoundary:se},{refs:ce,floatingStyles:I,placement:pe,isPositioned:O,middlewareData:h}=L.useFloating({strategy:"fixed",placement:ie,whileElementsMounted:(...y)=>g.autoUpdate(...y,{animationFrame:v==="always"}),elements:{reference:C.anchor},middleware:[Re.offset({mainAxis:a+M,alignmentAxis:i}),c&&g.shift({mainAxis:!0,crossAxis:!1,limiter:u==="partial"?g.limitShift():void 0,...R}),c&&g.flip({...R}),g.size({...R,apply:({elements:y,rects:B,availableWidth:he,availableHeight:ge})=>{const{width:we,height:Pe}=B.reference,j=y.floating.style;j.setProperty("--radix-popper-available-width",`${he}px`),j.setProperty("--radix-popper-available-height",`${ge}px`),j.setProperty("--radix-popper-anchor-width",`${we}px`),j.setProperty("--radix-popper-anchor-height",`${Pe}px`)}}),E&&L.arrow({element:E,padding:w}),qe({arrowWidth:ne,arrowHeight:M}),A&&g.hide({strategy:"referenceHidden",...R})]}),[Y,de]=te(pe),S=Ce.useCallbackRef(l);Z.useLayoutEffect(()=>{O&&(S==null||S())},[O,S]);const le=(T=h.arrow)==null?void 0:T.x,fe=(X=h.arrow)==null?void 0:X.y,ue=((k=h.arrow)==null?void 0:k.centerOffset)!==0,[xe,me]=s.useState();return Z.useLayoutEffect(()=>{x&&me(window.getComputedStyle(x).zIndex)},[x]),f.jsxRuntimeExports.jsx("div",{ref:ce.setFloating,"data-radix-popper-content-wrapper":"",style:{...I,transform:O?I.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:xe,"--radix-popper-transform-origin":[(F=h.transformOrigin)==null?void 0:F.x,(U=h.transformOrigin)==null?void 0:U.y].join(" "),...((z=h.hide)==null?void 0:z.referenceHidden)&&{visibility:"hidden",pointerEvents:"none"}},dir:e.dir,children:f.jsxRuntimeExports.jsx(Ee,{scope:t,placedSide:Y,onArrowChange:oe,arrowX:le,arrowY:fe,shouldHideArrow:ue,children:f.jsxRuntimeExports.jsx(J.Primitive.div,{"data-side":Y,"data-align":de,...d,ref:re,style:{...d.style,animation:O?void 0:"none"}})})})});H.displayName=q;var ee="PopperArrow",$e={top:"bottom",right:"left",bottom:"top",left:"right"},D=s.forwardRef(function(o,t){const{__scopePopper:r,...a}=o,n=_e(ee,r),i=$e[n.placedSide];return f.jsxRuntimeExports.jsx("span",{ref:n.onArrowChange,style:{position:"absolute",left:n.arrowX,top:n.arrowY,[i]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[n.placedSide],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[n.placedSide],visibility:n.shouldHideArrow?"hidden":void 0},children:f.jsxRuntimeExports.jsx(Ae.Root,{...a,ref:t,style:{...a.style,display:"block"}})})});D.displayName=ee;function Ne(e){return e!==null}var qe=e=>({name:"transformOrigin",options:e,fn(o){var C,x,b;const{placement:t,rects:r,middlewareData:a}=o,i=((C=a.arrow)==null?void 0:C.centerOffset)!==0,w=i?0:e.arrowWidth,c=i?0:e.arrowHeight,[p,P]=te(t),u={start:"0%",center:"50%",end:"100%"}[P],A=(((x=a.arrow)==null?void 0:x.x)??0)+w/2,v=(((b=a.arrow)==null?void 0:b.y)??0)+c/2;let l="",d="";return p==="bottom"?(l=i?u:`${A}px`,d=`${-c}px`):p==="top"?(l=i?u:`${A}px`,d=`${r.floating.height+c}px`):p==="right"?(l=`${-c}px`,d=i?u:`${v}px`):p==="left"&&(l=`${r.floating.width+c}px`,d=i?u:`${v}px`),{data:{x:l,y:d}}}});function te(e){const[o,t="center"]=e.split("-");return[o,t]}var He=$,De=N,Me=H,We=D;exports.Anchor=De;exports.Arrow=We;exports.Content=Me;exports.Popper=$;exports.PopperAnchor=N;exports.PopperArrow=D;exports.PopperContent=H;exports.Root=He;exports.createPopperScope=Se;
|
|
2
2
|
//# sourceMappingURL=index.cjs188.js.map
|
package/dist/index.cjs189.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const l=require("react"),d=require("react-dom"),f=require("./index.cjs191.js"),p=require("./index.
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const l=require("react"),d=require("react-dom"),f=require("./index.cjs191.js"),p=require("./index.cjs224.js"),m=require("./index.cjs73.js");function P(e){const r=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const t in e)if(t!=="default"){const o=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(r,t,o.get?o:{enumerable:!0,get:()=>e[t]})}}return r.default=e,Object.freeze(r)}const c=P(l);var b="Portal",i=c.forwardRef((e,r)=>{var a;const{container:t,...o}=e,[u,s]=c.useState(!1);p.useLayoutEffect(()=>s(!0),[]);const n=t||u&&((a=globalThis==null?void 0:globalThis.document)==null?void 0:a.body);return n?d.createPortal(m.jsxRuntimeExports.jsx(f.Primitive.div,{...o,ref:r}),n):null});i.displayName=b;exports.Portal=i;
|
|
2
2
|
//# sourceMappingURL=index.cjs189.js.map
|
package/dist/index.cjs190.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const M=require("react"),R=require("react-dom"),P=require("./index.cjs182.js"),g=require("./index.
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const M=require("react"),R=require("react-dom"),P=require("./index.cjs182.js"),g=require("./index.cjs224.js");function O(e){const n=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const t in e)if(t!=="default"){const r=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(n,t,r.get?r:{enumerable:!0,get:()=>e[t]})}}return n.default=e,Object.freeze(n)}const c=O(M),E=O(R);function S(e,n){return c.useReducer((t,r)=>n[t][r]??t,e)}var A=e=>{const{present:n,children:t}=e,r=T(n),i=typeof t=="function"?t({present:r.isPresent}):c.Children.only(t),s=P.useComposedRefs(r.ref,v(i));return typeof t=="function"||r.isPresent?c.cloneElement(i,{ref:s}):null};A.displayName="Presence";function T(e){const[n,t]=c.useState(),r=c.useRef({}),i=c.useRef(e),s=c.useRef("none"),l=e?"mounted":"unmounted",[N,a]=S(l,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return c.useEffect(()=>{const o=d(r.current);s.current=N==="mounted"?o:"none"},[N]),g.useLayoutEffect(()=>{const o=r.current,u=i.current;if(u!==e){const p=s.current,m=d(o);e?a("MOUNT"):m==="none"||(o==null?void 0:o.display)==="none"?a("UNMOUNT"):a(u&&p!==m?"ANIMATION_OUT":"UNMOUNT"),i.current=e}},[e,a]),g.useLayoutEffect(()=>{if(n){const o=f=>{const m=d(r.current).includes(f.animationName);f.target===n&&m&&E.flushSync(()=>a("ANIMATION_END"))},u=f=>{f.target===n&&(s.current=d(r.current))};return n.addEventListener("animationstart",u),n.addEventListener("animationcancel",o),n.addEventListener("animationend",o),()=>{n.removeEventListener("animationstart",u),n.removeEventListener("animationcancel",o),n.removeEventListener("animationend",o)}}else a("ANIMATION_END")},[n,a]),{isPresent:["mounted","unmountSuspended"].includes(N),ref:c.useCallback(o=>{o&&(r.current=getComputedStyle(o)),t(o)},[])}}function d(e){return(e==null?void 0:e.animationName)||"none"}function v(e){var r,i;let n=(r=Object.getOwnPropertyDescriptor(e.props,"ref"))==null?void 0:r.get,t=n&&"isReactWarning"in n&&n.isReactWarning;return t?e.ref:(n=(i=Object.getOwnPropertyDescriptor(e,"ref"))==null?void 0:i.get,t=n&&"isReactWarning"in n&&n.isReactWarning,t?e.props.ref:e.props.ref||e.ref)}exports.Presence=A;
|
|
2
2
|
//# sourceMappingURL=index.cjs190.js.map
|
package/dist/index.cjs193.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const b=require("react"),f=require("./index.
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const b=require("react"),f=require("./index.cjs222.js");function S(e){const o=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const t in e)if(t!=="default"){const n=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(o,t,n.get?n:{enumerable:!0,get:()=>e[t]})}}return o.default=e,Object.freeze(o)}const s=S(b);function g({prop:e,defaultProp:o,onChange:t=()=>{}}){const[n,c]=v({defaultProp:o,onChange:t}),l=e!==void 0,i=l?e:n,u=f.useCallbackRef(t),d=s.useCallback(r=>{if(l){const a=typeof r=="function"?r(e):r;a!==e&&u(a)}else c(r)},[l,e,c,u]);return[i,d]}function v({defaultProp:e,onChange:o}){const t=s.useState(e),[n]=t,c=s.useRef(n),l=f.useCallbackRef(o);return s.useEffect(()=>{c.current!==n&&(l(n),c.current=n)},[n,c,l]),t}exports.useControllableState=g;
|
|
2
2
|
//# sourceMappingURL=index.cjs193.js.map
|
package/dist/index.cjs196.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";const V=require("./index.cjs419.js"),x=require("./index.cjs420.js"),w=require("./index.cjs421.js"),k=require("./index.cjs422.js"),D=require("./index.cjs423.js"),z=require("./index.cjs424.js"),j=require("./index.cjs274.js"),W=require("./index.cjs425.js");var ve={type:"logger",log:function(i){this.output("log",i)},warn:function(i){this.output("warn",i)},error:function(i){this.output("error",i)},output:function(i,n){console&&console[i]&&console[i].apply(console,n)}},me=function(){function o(i){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};w(this,o),this.init(i,n)}return k(o,[{key:"init",value:function(n){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};this.prefix=e.prefix||"i18next:",this.logger=n||ve,this.options=e,this.debug=e.debug}},{key:"setDebug",value:function(n){this.debug=n}},{key:"log",value:function(){for(var n=arguments.length,e=new Array(n),t=0;t<n;t++)e[t]=arguments[t];return this.forward(e,"log","",!0)}},{key:"warn",value:function(){for(var n=arguments.length,e=new Array(n),t=0;t<n;t++)e[t]=arguments[t];return this.forward(e,"warn","",!0)}},{key:"error",value:function(){for(var n=arguments.length,e=new Array(n),t=0;t<n;t++)e[t]=arguments[t];return this.forward(e,"error","")}},{key:"deprecate",value:function(){for(var n=arguments.length,e=new Array(n),t=0;t<n;t++)e[t]=arguments[t];return this.forward(e,"warn","WARNING DEPRECATED: ",!0)}},{key:"forward",value:function(n,e,t,r){return r&&!this.debug?null:(typeof n[0]=="string"&&(n[0]="".concat(t).concat(this.prefix," ").concat(n[0])),this.logger[e](n))}},{key:"create",value:function(n){return new o(this.logger,x({},{prefix:"".concat(this.prefix,":").concat(n,":")},this.options))}}]),o}(),S=new me,O=function(){function o(){w(this,o),this.observers={}}return k(o,[{key:"on",value:function(n,e){var t=this;return n.split(" ").forEach(function(r){t.observers[r]=t.observers[r]||[],t.observers[r].push(e)}),this}},{key:"off",value:function(n,e){if(this.observers[n]){if(!e){delete this.observers[n];return}this.observers[n]=this.observers[n].filter(function(t){return t!==e})}}},{key:"emit",value:function(n){for(var e=arguments.length,t=new Array(e>1?e-1:0),r=1;r<e;r++)t[r-1]=arguments[r];if(this.observers[n]){var s=[].concat(this.observers[n]);s.forEach(function(u){u.apply(void 0,t)})}if(this.observers["*"]){var a=[].concat(this.observers["*"]);a.forEach(function(u){u.apply(u,[n].concat(t))})}}}]),o}();function U(){var o,i,n=new Promise(function(e,t){o=e,i=t});return n.resolve=o,n.reject=i,n}function se(o){return o==null?"":""+o}function ye(o,i,n){o.forEach(function(e){i[e]&&(n[e]=i[e])})}function Q(o,i,n){function e(a){return a&&a.indexOf("###")>-1?a.replace(/###/g,"."):a}function t(){return!o||typeof o=="string"}for(var r=typeof i!="string"?[].concat(i):i.split(".");r.length>1;){if(t())return{};var s=e(r.shift());!o[s]&&n&&(o[s]=new n),Object.prototype.hasOwnProperty.call(o,s)?o=o[s]:o={}}return t()?{}:{obj:o,k:e(r.shift())}}function oe(o,i,n){var e=Q(o,i,Object),t=e.obj,r=e.k;t[r]=n}function be(o,i,n,e){var t=Q(o,i,Object),r=t.obj,s=t.k;r[s]=r[s]||[],e&&(r[s]=r[s].concat(n)),e||r[s].push(n)}function M(o,i){var n=Q(o,i),e=n.obj,t=n.k;if(e)return e[t]}function ue(o,i,n){var e=M(o,n);return e!==void 0?e:M(i,n)}function ge(o,i,n){for(var e in i)e!=="__proto__"&&e!=="constructor"&&(e in o?typeof o[e]=="string"||o[e]instanceof String||typeof i[e]=="string"||i[e]instanceof String?n&&(o[e]=i[e]):ge(o[e],i[e],n):o[e]=i[e]);return o}function F(o){return o.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")}var xe={"&":"&","<":"<",">":">",'"':""","'":"'","/":"/"};function Le(o){return typeof o=="string"?o.replace(/[&<>"'\/]/g,function(i){return xe[i]}):o}var $=typeof window<"u"&&window.navigator&&window.navigator.userAgent&&window.navigator.userAgent.indexOf("MSIE")>-1,Se=function(o){W(i,o);function i(n){var e,t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{ns:["translation"],defaultNS:"translation"};return w(this,i),e=D(this,z(i).call(this)),$&&O.call(j(e)),e.data=n||{},e.options=t,e.options.keySeparator===void 0&&(e.options.keySeparator="."),e}return k(i,[{key:"addNamespaces",value:function(e){this.options.ns.indexOf(e)<0&&this.options.ns.push(e)}},{key:"removeNamespaces",value:function(e){var t=this.options.ns.indexOf(e);t>-1&&this.options.ns.splice(t,1)}},{key:"getResource",value:function(e,t,r){var s=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},a=s.keySeparator!==void 0?s.keySeparator:this.options.keySeparator,u=[e,t];return r&&typeof r!="string"&&(u=u.concat(r)),r&&typeof r=="string"&&(u=u.concat(a?r.split(a):r)),e.indexOf(".")>-1&&(u=e.split(".")),M(this.data,u)}},{key:"addResource",value:function(e,t,r,s){var a=arguments.length>4&&arguments[4]!==void 0?arguments[4]:{silent:!1},u=this.options.keySeparator;u===void 0&&(u=".");var l=[e,t];r&&(l=l.concat(u?r.split(u):r)),e.indexOf(".")>-1&&(l=e.split("."),s=t,t=l[1]),this.addNamespaces(t),oe(this.data,l,s),a.silent||this.emit("added",e,t,r,s)}},{key:"addResources",value:function(e,t,r){var s=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{silent:!1};for(var a in r)(typeof r[a]=="string"||Object.prototype.toString.apply(r[a])==="[object Array]")&&this.addResource(e,t,a,r[a],{silent:!0});s.silent||this.emit("added",e,t,r)}},{key:"addResourceBundle",value:function(e,t,r,s,a){var u=arguments.length>5&&arguments[5]!==void 0?arguments[5]:{silent:!1},l=[e,t];e.indexOf(".")>-1&&(l=e.split("."),s=r,r=t,t=l[1]),this.addNamespaces(t);var f=M(this.data,l)||{};s?ge(f,r,a):f=x({},f,r),oe(this.data,l,f),u.silent||this.emit("added",e,t,r)}},{key:"removeResourceBundle",value:function(e,t){this.hasResourceBundle(e,t)&&delete this.data[e][t],this.removeNamespaces(t),this.emit("removed",e,t)}},{key:"hasResourceBundle",value:function(e,t){return this.getResource(e,t)!==void 0}},{key:"getResourceBundle",value:function(e,t){return t||(t=this.options.defaultNS),this.options.compatibilityAPI==="v1"?x({},{},this.getResource(e,t)):this.getResource(e,t)}},{key:"getDataByLanguage",value:function(e){return this.data[e]}},{key:"toJSON",value:function(){return this.data}}]),i}(O),he={processors:{},addPostProcessor:function(i){this.processors[i.name]=i},handle:function(i,n,e,t,r){var s=this;return i.forEach(function(a){s.processors[a]&&(n=s.processors[a].process(n,e,t,r))}),n}},le={},fe=function(o){W(i,o);function i(n){var e,t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return w(this,i),e=D(this,z(i).call(this)),$&&O.call(j(e)),ye(["resourceStore","languageUtils","pluralResolver","interpolator","backendConnector","i18nFormat","utils"],n,j(e)),e.options=t,e.options.keySeparator===void 0&&(e.options.keySeparator="."),e.logger=S.create("translator"),e}return k(i,[{key:"changeLanguage",value:function(e){e&&(this.language=e)}},{key:"exists",value:function(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{interpolation:{}},r=this.resolve(e,t);return r&&r.res!==void 0}},{key:"extractFromKey",value:function(e,t){var r=t.nsSeparator!==void 0?t.nsSeparator:this.options.nsSeparator;r===void 0&&(r=":");var s=t.keySeparator!==void 0?t.keySeparator:this.options.keySeparator,a=t.ns||this.options.defaultNS;if(r&&e.indexOf(r)>-1){var u=e.match(this.interpolator.nestingRegexp);if(u&&u.length>0)return{key:e,namespaces:a};var l=e.split(r);(r!==s||r===s&&this.options.ns.indexOf(l[0])>-1)&&(a=l.shift()),e=l.join(s)}return typeof a=="string"&&(a=[a]),{key:e,namespaces:a}}},{key:"translate",value:function(e,t,r){var s=this;if(V(t)!=="object"&&this.options.overloadTranslationOptionHandler&&(t=this.options.overloadTranslationOptionHandler(arguments)),t||(t={}),e==null)return"";Array.isArray(e)||(e=[String(e)]);var a=t.keySeparator!==void 0?t.keySeparator:this.options.keySeparator,u=this.extractFromKey(e[e.length-1],t),l=u.key,f=u.namespaces,c=f[f.length-1],d=t.lng||this.language,m=t.appendNamespaceToCIMode||this.options.appendNamespaceToCIMode;if(d&&d.toLowerCase()==="cimode"){if(m){var p=t.nsSeparator||this.options.nsSeparator;return c+p+l}return l}var h=this.resolve(e,t),g=h&&h.res,v=h&&h.usedKey||l,y=h&&h.exactUsedKey||l,b=Object.prototype.toString.apply(g),R=["[object Number]","[object Function]","[object RegExp]"],L=t.joinArrays!==void 0?t.joinArrays:this.options.joinArrays,N=!this.i18nFormat||this.i18nFormat.handleAsObject,T=typeof g!="string"&&typeof g!="boolean"&&typeof g!="number";if(N&&g&&T&&R.indexOf(b)<0&&!(typeof L=="string"&&b==="[object Array]")){if(!t.returnObjects&&!this.options.returnObjects)return this.logger.warn("accessing an object - but returnObjects options is not enabled!"),this.options.returnedObjectHandler?this.options.returnedObjectHandler(v,g,t):"key '".concat(l," (").concat(this.language,")' returned an object instead of string.");if(a){var X=b==="[object Array]",H=X?[]:{},pe=X?y:v;for(var P in g)if(Object.prototype.hasOwnProperty.call(g,P)){var Z="".concat(pe).concat(a).concat(P);H[P]=this.translate(Z,x({},t,{joinArrays:!1,ns:f})),H[P]===Z&&(H[P]=g[P])}g=H}}else if(N&&typeof L=="string"&&b==="[object Array]")g=g.join(L),g&&(g=this.extendTranslation(g,e,t,r));else{var ee=!1,K=!1,te=t.count!==void 0&&typeof t.count!="string",ne=i.hasDefaultValue(t),de=te?this.pluralResolver.getSuffix(d,t.count):"",I=t["defaultValue".concat(de)]||t.defaultValue;!this.isValidLookup(g)&&ne&&(ee=!0,g=I),this.isValidLookup(g)||(K=!0,g=l);var C=ne&&I!==g&&this.options.updateMissing;if(K||ee||C){if(this.logger.log(C?"updateKey":"missingKey",d,c,l,C?I:g),a){var re=this.resolve(l,x({},t,{keySeparator:!1}));re&&re.res&&this.logger.warn("Seems the loaded translations were in flat JSON format instead of nested. Either set keySeparator: false on init or make sure your translations are published in nested format.")}var A=[],B=this.languageUtils.getFallbackCodes(this.options.fallbackLng,t.lng||this.language);if(this.options.saveMissingTo==="fallback"&&B&&B[0])for(var q=0;q<B.length;q++)A.push(B[q]);else this.options.saveMissingTo==="all"?A=this.languageUtils.toResolveHierarchy(t.lng||this.language):A.push(t.lng||this.language);var ie=function(E,Y,ae){s.options.missingKeyHandler?s.options.missingKeyHandler(E,c,Y,C?ae:g,C,t):s.backendConnector&&s.backendConnector.saveMissing&&s.backendConnector.saveMissing(E,c,Y,C?ae:g,C,t),s.emit("missingKey",E,c,Y,g)};this.options.saveMissing&&(this.options.saveMissingPlurals&&te?A.forEach(function(J){s.pluralResolver.getSuffixes(J).forEach(function(E){ie([J],l+E,t["defaultValue".concat(E)]||I)})}):ie(A,l,I))}g=this.extendTranslation(g,e,t,h,r),K&&g===l&&this.options.appendNamespaceToMissingKey&&(g="".concat(c,":").concat(l)),K&&this.options.parseMissingKeyHandler&&(g=this.options.parseMissingKeyHandler(g))}return g}},{key:"extendTranslation",value:function(e,t,r,s,a){var u=this;if(this.i18nFormat&&this.i18nFormat.parse)e=this.i18nFormat.parse(e,r,s.usedLng,s.usedNS,s.usedKey,{resolved:s});else if(!r.skipInterpolation){r.interpolation&&this.interpolator.init(x({},r,{interpolation:x({},this.options.interpolation,r.interpolation)}));var l=r.interpolation&&r.interpolation.skipOnVariables||this.options.interpolation.skipOnVariables,f;if(l){var c=e.match(this.interpolator.nestingRegexp);f=c&&c.length}var d=r.replace&&typeof r.replace!="string"?r.replace:r;if(this.options.interpolation.defaultVariables&&(d=x({},this.options.interpolation.defaultVariables,d)),e=this.interpolator.interpolate(e,d,r.lng||this.language,r),l){var m=e.match(this.interpolator.nestingRegexp),p=m&&m.length;f<p&&(r.nest=!1)}r.nest!==!1&&(e=this.interpolator.nest(e,function(){for(var v=arguments.length,y=new Array(v),b=0;b<v;b++)y[b]=arguments[b];return a&&a[0]===y[0]&&!r.context?(u.logger.warn("It seems you are nesting recursively key: ".concat(y[0]," in key: ").concat(t[0])),null):u.translate.apply(u,y.concat([t]))},r)),r.interpolation&&this.interpolator.reset()}var h=r.postProcess||this.options.postProcess,g=typeof h=="string"?[h]:h;return e!=null&&g&&g.length&&r.applyPostProcessor!==!1&&(e=he.handle(g,e,t,this.options&&this.options.postProcessPassResolved?x({i18nResolved:s},r):r,this)),e}},{key:"resolve",value:function(e){var t=this,r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},s,a,u,l,f;return typeof e=="string"&&(e=[e]),e.forEach(function(c){if(!t.isValidLookup(s)){var d=t.extractFromKey(c,r),m=d.key;a=m;var p=d.namespaces;t.options.fallbackNS&&(p=p.concat(t.options.fallbackNS));var h=r.count!==void 0&&typeof r.count!="string",g=r.context!==void 0&&typeof r.context=="string"&&r.context!=="",v=r.lngs?r.lngs:t.languageUtils.toResolveHierarchy(r.lng||t.language,r.fallbackLng);p.forEach(function(y){t.isValidLookup(s)||(f=y,!le["".concat(v[0],"-").concat(y)]&&t.utils&&t.utils.hasLoadedNamespace&&!t.utils.hasLoadedNamespace(f)&&(le["".concat(v[0],"-").concat(y)]=!0,t.logger.warn('key "'.concat(a,'" for languages "').concat(v.join(", "),`" won't get resolved as namespace "`).concat(f,'" was not yet loaded'),"This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!")),v.forEach(function(b){if(!t.isValidLookup(s)){l=b;var R=m,L=[R];if(t.i18nFormat&&t.i18nFormat.addLookupKeys)t.i18nFormat.addLookupKeys(L,m,b,y,r);else{var N;h&&(N=t.pluralResolver.getSuffix(b,r.count)),h&&g&&L.push(R+N),g&&L.push(R+="".concat(t.options.contextSeparator).concat(r.context)),h&&L.push(R+=N)}for(var T;T=L.pop();)t.isValidLookup(s)||(u=T,s=t.getResource(b,y,T,r))}}))})}}),{res:s,usedKey:a,exactUsedKey:u,usedLng:l,usedNS:f}}},{key:"isValidLookup",value:function(e){return e!==void 0&&!(!this.options.returnNull&&e===null)&&!(!this.options.returnEmptyString&&e==="")}},{key:"getResource",value:function(e,t,r){var s=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};return this.i18nFormat&&this.i18nFormat.getResource?this.i18nFormat.getResource(e,t,r,s):this.resourceStore.getResource(e,t,r,s)}}],[{key:"hasDefaultValue",value:function(e){var t="defaultValue";for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r)&&t===r.substring(0,t.length)&&e[r]!==void 0)return!0;return!1}}]),i}(O);function G(o){return o.charAt(0).toUpperCase()+o.slice(1)}var we=function(){function o(i){w(this,o),this.options=i,this.whitelist=this.options.supportedLngs||!1,this.supportedLngs=this.options.supportedLngs||!1,this.logger=S.create("languageUtils")}return k(o,[{key:"getScriptPartFromCode",value:function(n){if(!n||n.indexOf("-")<0)return null;var e=n.split("-");return e.length===2||(e.pop(),e[e.length-1].toLowerCase()==="x")?null:this.formatLanguageCode(e.join("-"))}},{key:"getLanguagePartFromCode",value:function(n){if(!n||n.indexOf("-")<0)return n;var e=n.split("-");return this.formatLanguageCode(e[0])}},{key:"formatLanguageCode",value:function(n){if(typeof n=="string"&&n.indexOf("-")>-1){var e=["hans","hant","latn","cyrl","cans","mong","arab"],t=n.split("-");return this.options.lowerCaseLng?t=t.map(function(r){return r.toLowerCase()}):t.length===2?(t[0]=t[0].toLowerCase(),t[1]=t[1].toUpperCase(),e.indexOf(t[1].toLowerCase())>-1&&(t[1]=G(t[1].toLowerCase()))):t.length===3&&(t[0]=t[0].toLowerCase(),t[1].length===2&&(t[1]=t[1].toUpperCase()),t[0]!=="sgn"&&t[2].length===2&&(t[2]=t[2].toUpperCase()),e.indexOf(t[1].toLowerCase())>-1&&(t[1]=G(t[1].toLowerCase())),e.indexOf(t[2].toLowerCase())>-1&&(t[2]=G(t[2].toLowerCase()))),t.join("-")}return this.options.cleanCode||this.options.lowerCaseLng?n.toLowerCase():n}},{key:"isWhitelisted",value:function(n){return this.logger.deprecate("languageUtils.isWhitelisted",`function "isWhitelisted" will be renamed to "isSupportedCode" in the next major - please make sure to rename it's usage asap.`),this.isSupportedCode(n)}},{key:"isSupportedCode",value:function(n){return(this.options.load==="languageOnly"||this.options.nonExplicitSupportedLngs)&&(n=this.getLanguagePartFromCode(n)),!this.supportedLngs||!this.supportedLngs.length||this.supportedLngs.indexOf(n)>-1}},{key:"getBestMatchFromCodes",value:function(n){var e=this;if(!n)return null;var t;return n.forEach(function(r){if(!t){var s=e.formatLanguageCode(r);(!e.options.supportedLngs||e.isSupportedCode(s))&&(t=s)}}),!t&&this.options.supportedLngs&&n.forEach(function(r){if(!t){var s=e.getLanguagePartFromCode(r);if(e.isSupportedCode(s))return t=s;t=e.options.supportedLngs.find(function(a){if(a.indexOf(s)===0)return a})}}),t||(t=this.getFallbackCodes(this.options.fallbackLng)[0]),t}},{key:"getFallbackCodes",value:function(n,e){if(!n)return[];if(typeof n=="function"&&(n=n(e)),typeof n=="string"&&(n=[n]),Object.prototype.toString.apply(n)==="[object Array]")return n;if(!e)return n.default||[];var t=n[e];return t||(t=n[this.getScriptPartFromCode(e)]),t||(t=n[this.formatLanguageCode(e)]),t||(t=n[this.getLanguagePartFromCode(e)]),t||(t=n.default),t||[]}},{key:"toResolveHierarchy",value:function(n,e){var t=this,r=this.getFallbackCodes(e||this.options.fallbackLng||[],n),s=[],a=function(l){l&&(t.isSupportedCode(l)?s.push(l):t.logger.warn("rejecting language code not found in supportedLngs: ".concat(l)))};return typeof n=="string"&&n.indexOf("-")>-1?(this.options.load!=="languageOnly"&&a(this.formatLanguageCode(n)),this.options.load!=="languageOnly"&&this.options.load!=="currentOnly"&&a(this.getScriptPartFromCode(n)),this.options.load!=="currentOnly"&&a(this.getLanguagePartFromCode(n))):typeof n=="string"&&a(this.formatLanguageCode(n)),r.forEach(function(u){s.indexOf(u)<0&&a(t.formatLanguageCode(u))}),s}}]),o}(),ke=[{lngs:["ach","ak","am","arn","br","fil","gun","ln","mfe","mg","mi","oc","pt","pt-BR","tg","tl","ti","tr","uz","wa"],nr:[1,2],fc:1},{lngs:["af","an","ast","az","bg","bn","ca","da","de","dev","el","en","eo","es","et","eu","fi","fo","fur","fy","gl","gu","ha","hi","hu","hy","ia","it","kn","ku","lb","mai","ml","mn","mr","nah","nap","nb","ne","nl","nn","no","nso","pa","pap","pms","ps","pt-PT","rm","sco","se","si","so","son","sq","sv","sw","ta","te","tk","ur","yo"],nr:[1,2],fc:2},{lngs:["ay","bo","cgg","fa","ht","id","ja","jbo","ka","kk","km","ko","ky","lo","ms","sah","su","th","tt","ug","vi","wo","zh"],nr:[1],fc:3},{lngs:["be","bs","cnr","dz","hr","ru","sr","uk"],nr:[1,2,5],fc:4},{lngs:["ar"],nr:[0,1,2,3,11,100],fc:5},{lngs:["cs","sk"],nr:[1,2,5],fc:6},{lngs:["csb","pl"],nr:[1,2,5],fc:7},{lngs:["cy"],nr:[1,2,3,8],fc:8},{lngs:["fr"],nr:[1,2],fc:9},{lngs:["ga"],nr:[1,2,3,7,11],fc:10},{lngs:["gd"],nr:[1,2,3,20],fc:11},{lngs:["is"],nr:[1,2],fc:12},{lngs:["jv"],nr:[0,1],fc:13},{lngs:["kw"],nr:[1,2,3,4],fc:14},{lngs:["lt"],nr:[1,2,10],fc:15},{lngs:["lv"],nr:[1,2,0],fc:16},{lngs:["mk"],nr:[1,2],fc:17},{lngs:["mnk"],nr:[0,1,2],fc:18},{lngs:["mt"],nr:[1,2,11,20],fc:19},{lngs:["or"],nr:[2,1],fc:2},{lngs:["ro"],nr:[1,2,20],fc:20},{lngs:["sl"],nr:[5,1,2,3],fc:21},{lngs:["he","iw"],nr:[1,2,20,21],fc:22}],Re={1:function(i){return+(i>1)},2:function(i){return+(i!=1)},3:function(i){return 0},4:function(i){return i%10==1&&i%100!=11?0:i%10>=2&&i%10<=4&&(i%100<10||i%100>=20)?1:2},5:function(i){return i==0?0:i==1?1:i==2?2:i%100>=3&&i%100<=10?3:i%100>=11?4:5},6:function(i){return i==1?0:i>=2&&i<=4?1:2},7:function(i){return i==1?0:i%10>=2&&i%10<=4&&(i%100<10||i%100>=20)?1:2},8:function(i){return i==1?0:i==2?1:i!=8&&i!=11?2:3},9:function(i){return+(i>=2)},10:function(i){return i==1?0:i==2?1:i<7?2:i<11?3:4},11:function(i){return i==1||i==11?0:i==2||i==12?1:i>2&&i<20?2:3},12:function(i){return+(i%10!=1||i%100==11)},13:function(i){return+(i!==0)},14:function(i){return i==1?0:i==2?1:i==3?2:3},15:function(i){return i%10==1&&i%100!=11?0:i%10>=2&&(i%100<10||i%100>=20)?1:2},16:function(i){return i%10==1&&i%100!=11?0:i!==0?1:2},17:function(i){return i==1||i%10==1&&i%100!=11?0:1},18:function(i){return i==0?0:i==1?1:2},19:function(i){return i==1?0:i==0||i%100>1&&i%100<11?1:i%100>10&&i%100<20?2:3},20:function(i){return i==1?0:i==0||i%100>0&&i%100<20?1:2},21:function(i){return i%100==1?1:i%100==2?2:i%100==3||i%100==4?3:0},22:function(i){return i==1?0:i==2?1:(i<0||i>10)&&i%10==0?2:3}};function Oe(){var o={};return ke.forEach(function(i){i.lngs.forEach(function(n){o[n]={numbers:i.nr,plurals:Re[i.fc]}})}),o}var Ce=function(){function o(i){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};w(this,o),this.languageUtils=i,this.options=n,this.logger=S.create("pluralResolver"),this.rules=Oe()}return k(o,[{key:"addRule",value:function(n,e){this.rules[n]=e}},{key:"getRule",value:function(n){return this.rules[n]||this.rules[this.languageUtils.getLanguagePartFromCode(n)]}},{key:"needsPlural",value:function(n){var e=this.getRule(n);return e&&e.numbers.length>1}},{key:"getPluralFormsOfKey",value:function(n,e){return this.getSuffixes(n).map(function(t){return e+t})}},{key:"getSuffixes",value:function(n){var e=this,t=this.getRule(n);return t?t.numbers.map(function(r){return e.getSuffix(n,r)}):[]}},{key:"getSuffix",value:function(n,e){var t=this,r=this.getRule(n);if(r){var s=r.noAbs?r.plurals(e):r.plurals(Math.abs(e)),a=r.numbers[s];this.options.simplifyPluralSuffix&&r.numbers.length===2&&r.numbers[0]===1&&(a===2?a="plural":a===1&&(a=""));var u=function(){return t.options.prepend&&a.toString()?t.options.prepend+a.toString():a.toString()};return this.options.compatibilityJSON==="v1"?a===1?"":typeof a=="number"?"_plural_".concat(a.toString()):u():this.options.compatibilityJSON==="v2"||this.options.simplifyPluralSuffix&&r.numbers.length===2&&r.numbers[0]===1?u():this.options.prepend&&s.toString()?this.options.prepend+s.toString():s.toString()}return this.logger.warn("no plural rule found for: ".concat(n)),""}}]),o}(),Ne=function(){function o(){var i=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};w(this,o),this.logger=S.create("interpolator"),this.options=i,this.format=i.interpolation&&i.interpolation.format||function(n){return n},this.init(i)}return k(o,[{key:"init",value:function(){var n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};n.interpolation||(n.interpolation={escapeValue:!0});var e=n.interpolation;this.escape=e.escape!==void 0?e.escape:Le,this.escapeValue=e.escapeValue!==void 0?e.escapeValue:!0,this.useRawValueToEscape=e.useRawValueToEscape!==void 0?e.useRawValueToEscape:!1,this.prefix=e.prefix?F(e.prefix):e.prefixEscaped||"{{",this.suffix=e.suffix?F(e.suffix):e.suffixEscaped||"}}",this.formatSeparator=e.formatSeparator?e.formatSeparator:e.formatSeparator||",",this.unescapePrefix=e.unescapeSuffix?"":e.unescapePrefix||"-",this.unescapeSuffix=this.unescapePrefix?"":e.unescapeSuffix||"",this.nestingPrefix=e.nestingPrefix?F(e.nestingPrefix):e.nestingPrefixEscaped||F("$t("),this.nestingSuffix=e.nestingSuffix?F(e.nestingSuffix):e.nestingSuffixEscaped||F(")"),this.nestingOptionsSeparator=e.nestingOptionsSeparator?e.nestingOptionsSeparator:e.nestingOptionsSeparator||",",this.maxReplaces=e.maxReplaces?e.maxReplaces:1e3,this.alwaysFormat=e.alwaysFormat!==void 0?e.alwaysFormat:!1,this.resetRegExp()}},{key:"reset",value:function(){this.options&&this.init(this.options)}},{key:"resetRegExp",value:function(){var n="".concat(this.prefix,"(.+?)").concat(this.suffix);this.regexp=new RegExp(n,"g");var e="".concat(this.prefix).concat(this.unescapePrefix,"(.+?)").concat(this.unescapeSuffix).concat(this.suffix);this.regexpUnescape=new RegExp(e,"g");var t="".concat(this.nestingPrefix,"(.+?)").concat(this.nestingSuffix);this.nestingRegexp=new RegExp(t,"g")}},{key:"interpolate",value:function(n,e,t,r){var s=this,a,u,l,f=this.options&&this.options.interpolation&&this.options.interpolation.defaultVariables||{};function c(g){return g.replace(/\$/g,"$$$$")}var d=function(v){if(v.indexOf(s.formatSeparator)<0){var y=ue(e,f,v);return s.alwaysFormat?s.format(y,void 0,t):y}var b=v.split(s.formatSeparator),R=b.shift().trim(),L=b.join(s.formatSeparator).trim();return s.format(ue(e,f,R),L,t,r)};this.resetRegExp();var m=r&&r.missingInterpolationHandler||this.options.missingInterpolationHandler,p=r&&r.interpolation&&r.interpolation.skipOnVariables||this.options.interpolation.skipOnVariables,h=[{regex:this.regexpUnescape,safeValue:function(v){return c(v)}},{regex:this.regexp,safeValue:function(v){return s.escapeValue?c(s.escape(v)):c(v)}}];return h.forEach(function(g){for(l=0;a=g.regex.exec(n);){if(u=d(a[1].trim()),u===void 0)if(typeof m=="function"){var v=m(n,a,r);u=typeof v=="string"?v:""}else if(p){u=a[0];continue}else s.logger.warn("missed to pass in variable ".concat(a[1]," for interpolating ").concat(n)),u="";else typeof u!="string"&&!s.useRawValueToEscape&&(u=se(u));if(n=n.replace(a[0],g.safeValue(u)),g.regex.lastIndex=0,l++,l>=s.maxReplaces)break}}),n}},{key:"nest",value:function(n,e){var t=this,r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},s,a,u=x({},r);u.applyPostProcessor=!1,delete u.defaultValue;function l(m,p){var h=this.nestingOptionsSeparator;if(m.indexOf(h)<0)return m;var g=m.split(new RegExp("".concat(h,"[ ]*{"))),v="{".concat(g[1]);m=g[0],v=this.interpolate(v,u),v=v.replace(/'/g,'"');try{u=JSON.parse(v),p&&(u=x({},p,u))}catch(y){return this.logger.warn("failed parsing options string in nesting for key ".concat(m),y),"".concat(m).concat(h).concat(v)}return delete u.defaultValue,m}for(;s=this.nestingRegexp.exec(n);){var f=[],c=!1;if(s[0].includes(this.formatSeparator)&&!/{.*}/.test(s[1])){var d=s[1].split(this.formatSeparator).map(function(m){return m.trim()});s[1]=d.shift(),f=d,c=!0}if(a=e(l.call(this,s[1].trim(),u),u),a&&s[0]===n&&typeof a!="string")return a;typeof a!="string"&&(a=se(a)),a||(this.logger.warn("missed to resolve ".concat(s[1]," for nesting ").concat(n)),a=""),c&&(a=f.reduce(function(m,p){return t.format(m,p,r.lng,r)},a.trim())),n=n.replace(s[0],a),this.regexp.lastIndex=0}return n}}]),o}();function Pe(o,i){for(var n=o.indexOf(i);n!==-1;)o.splice(n,1),n=o.indexOf(i)}var Ee=function(o){W(i,o);function i(n,e,t){var r,s=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};return w(this,i),r=D(this,z(i).call(this)),$&&O.call(j(r)),r.backend=n,r.store=e,r.services=t,r.languageUtils=t.languageUtils,r.options=s,r.logger=S.create("backendConnector"),r.state={},r.queue=[],r.backend&&r.backend.init&&r.backend.init(t,s.backend,s),r}return k(i,[{key:"queueLoad",value:function(e,t,r,s){var a=this,u=[],l=[],f=[],c=[];return e.forEach(function(d){var m=!0;t.forEach(function(p){var h="".concat(d,"|").concat(p);!r.reload&&a.store.hasResourceBundle(d,p)?a.state[h]=2:a.state[h]<0||(a.state[h]===1?l.indexOf(h)<0&&l.push(h):(a.state[h]=1,m=!1,l.indexOf(h)<0&&l.push(h),u.indexOf(h)<0&&u.push(h),c.indexOf(p)<0&&c.push(p)))}),m||f.push(d)}),(u.length||l.length)&&this.queue.push({pending:l,loaded:{},errors:[],callback:s}),{toLoad:u,pending:l,toLoadLanguages:f,toLoadNamespaces:c}}},{key:"loaded",value:function(e,t,r){var s=e.split("|"),a=s[0],u=s[1];t&&this.emit("failedLoading",a,u,t),r&&this.store.addResourceBundle(a,u,r),this.state[e]=t?-1:2;var l={};this.queue.forEach(function(f){be(f.loaded,[a],u),Pe(f.pending,e),t&&f.errors.push(t),f.pending.length===0&&!f.done&&(Object.keys(f.loaded).forEach(function(c){l[c]||(l[c]=[]),f.loaded[c].length&&f.loaded[c].forEach(function(d){l[c].indexOf(d)<0&&l[c].push(d)})}),f.done=!0,f.errors.length?f.callback(f.errors):f.callback())}),this.emit("loaded",l),this.queue=this.queue.filter(function(f){return!f.done})}},{key:"read",value:function(e,t,r){var s=this,a=arguments.length>3&&arguments[3]!==void 0?arguments[3]:0,u=arguments.length>4&&arguments[4]!==void 0?arguments[4]:350,l=arguments.length>5?arguments[5]:void 0;return e.length?this.backend[r](e,t,function(f,c){if(f&&c&&a<5){setTimeout(function(){s.read.call(s,e,t,r,a+1,u*2,l)},u);return}l(f,c)}):l(null,{})}},{key:"prepareLoading",value:function(e,t){var r=this,s=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},a=arguments.length>3?arguments[3]:void 0;if(!this.backend)return this.logger.warn("No backend was added via i18next.use. Will not load resources."),a&&a();typeof e=="string"&&(e=this.languageUtils.toResolveHierarchy(e)),typeof t=="string"&&(t=[t]);var u=this.queueLoad(e,t,s,a);if(!u.toLoad.length)return u.pending.length||a(),null;u.toLoad.forEach(function(l){r.loadOne(l)})}},{key:"load",value:function(e,t,r){this.prepareLoading(e,t,{},r)}},{key:"reload",value:function(e,t,r){this.prepareLoading(e,t,{reload:!0},r)}},{key:"loadOne",value:function(e){var t=this,r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"",s=e.split("|"),a=s[0],u=s[1];this.read(a,u,"read",void 0,void 0,function(l,f){l&&t.logger.warn("".concat(r,"loading namespace ").concat(u," for language ").concat(a," failed"),l),!l&&f&&t.logger.log("".concat(r,"loaded namespace ").concat(u," for language ").concat(a),f),t.loaded(e,l,f)})}},{key:"saveMissing",value:function(e,t,r,s,a){var u=arguments.length>5&&arguments[5]!==void 0?arguments[5]:{};if(this.services.utils&&this.services.utils.hasLoadedNamespace&&!this.services.utils.hasLoadedNamespace(t)){this.logger.warn('did not save key "'.concat(r,'" as the namespace "').concat(t,'" was not yet loaded'),"This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!");return}r==null||r===""||(this.backend&&this.backend.create&&this.backend.create(e,t,r,s,null,x({},u,{isUpdate:a})),!(!e||!e[0])&&this.store.addResource(e[0],t,r,s))}}]),i}(O);function Fe(){return{debug:!1,initImmediate:!0,ns:["translation"],defaultNS:["translation"],fallbackLng:["dev"],fallbackNS:!1,whitelist:!1,nonExplicitWhitelist:!1,supportedLngs:!1,nonExplicitSupportedLngs:!1,load:"all",preload:!1,simplifyPluralSuffix:!0,keySeparator:".",nsSeparator:":",pluralSeparator:"_",contextSeparator:"_",partialBundledLanguages:!1,saveMissing:!1,updateMissing:!1,saveMissingTo:"fallback",saveMissingPlurals:!0,missingKeyHandler:!1,missingInterpolationHandler:!1,postProcess:!1,postProcessPassResolved:!1,returnNull:!0,returnEmptyString:!0,returnObjects:!1,joinArrays:!1,returnedObjectHandler:!1,parseMissingKeyHandler:!1,appendNamespaceToMissingKey:!1,appendNamespaceToCIMode:!1,overloadTranslationOptionHandler:function(i){var n={};if(V(i[1])==="object"&&(n=i[1]),typeof i[1]=="string"&&(n.defaultValue=i[1]),typeof i[2]=="string"&&(n.tDescription=i[2]),V(i[2])==="object"||V(i[3])==="object"){var e=i[3]||i[2];Object.keys(e).forEach(function(t){n[t]=e[t]})}return n},interpolation:{escapeValue:!0,format:function(i,n,e,t){return i},prefix:"{{",suffix:"}}",formatSeparator:",",unescapePrefix:"-",nestingPrefix:"$t(",nestingSuffix:")",nestingOptionsSeparator:",",maxReplaces:1e3,skipOnVariables:!1}}}function ce(o){return typeof o.ns=="string"&&(o.ns=[o.ns]),typeof o.fallbackLng=="string"&&(o.fallbackLng=[o.fallbackLng]),typeof o.fallbackNS=="string"&&(o.fallbackNS=[o.fallbackNS]),o.whitelist&&(o.whitelist&&o.whitelist.indexOf("cimode")<0&&(o.whitelist=o.whitelist.concat(["cimode"])),o.supportedLngs=o.whitelist),o.nonExplicitWhitelist&&(o.nonExplicitSupportedLngs=o.nonExplicitWhitelist),o.supportedLngs&&o.supportedLngs.indexOf("cimode")<0&&(o.supportedLngs=o.supportedLngs.concat(["cimode"])),o}function _(){}var je=function(o){W(i,o);function i(){var n,e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;if(w(this,i),n=D(this,z(i).call(this)),$&&O.call(j(n)),n.options=ce(e),n.services={},n.logger=S,n.modules={external:[]},t&&!n.isInitialized&&!e.isClone){if(!n.options.initImmediate)return n.init(e,t),D(n,j(n));setTimeout(function(){n.init(e,t)},0)}return n}return k(i,[{key:"init",value:function(){var e=this,t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},r=arguments.length>1?arguments[1]:void 0;typeof t=="function"&&(r=t,t={}),t.whitelist&&!t.supportedLngs&&this.logger.deprecate("whitelist",'option "whitelist" will be renamed to "supportedLngs" in the next major - please make sure to rename this option asap.'),t.nonExplicitWhitelist&&!t.nonExplicitSupportedLngs&&this.logger.deprecate("whitelist",'options "nonExplicitWhitelist" will be renamed to "nonExplicitSupportedLngs" in the next major - please make sure to rename this option asap.'),this.options=x({},Fe(),this.options,ce(t)),this.format=this.options.interpolation.format,r||(r=_);function s(p){return p?typeof p=="function"?new p:p:null}if(!this.options.isClone){this.modules.logger?S.init(s(this.modules.logger),this.options):S.init(null,this.options);var a=new we(this.options);this.store=new Se(this.options.resources,this.options);var u=this.services;u.logger=S,u.resourceStore=this.store,u.languageUtils=a,u.pluralResolver=new Ce(a,{prepend:this.options.pluralSeparator,compatibilityJSON:this.options.compatibilityJSON,simplifyPluralSuffix:this.options.simplifyPluralSuffix}),u.interpolator=new Ne(this.options),u.utils={hasLoadedNamespace:this.hasLoadedNamespace.bind(this)},u.backendConnector=new Ee(s(this.modules.backend),u.resourceStore,u,this.options),u.backendConnector.on("*",function(p){for(var h=arguments.length,g=new Array(h>1?h-1:0),v=1;v<h;v++)g[v-1]=arguments[v];e.emit.apply(e,[p].concat(g))}),this.modules.languageDetector&&(u.languageDetector=s(this.modules.languageDetector),u.languageDetector.init(u,this.options.detection,this.options)),this.modules.i18nFormat&&(u.i18nFormat=s(this.modules.i18nFormat),u.i18nFormat.init&&u.i18nFormat.init(this)),this.translator=new fe(this.services,this.options),this.translator.on("*",function(p){for(var h=arguments.length,g=new Array(h>1?h-1:0),v=1;v<h;v++)g[v-1]=arguments[v];e.emit.apply(e,[p].concat(g))}),this.modules.external.forEach(function(p){p.init&&p.init(e)})}if(this.options.fallbackLng&&!this.services.languageDetector&&!this.options.lng){var l=this.services.languageUtils.getFallbackCodes(this.options.fallbackLng);l.length>0&&l[0]!=="dev"&&(this.options.lng=l[0])}!this.services.languageDetector&&!this.options.lng&&this.logger.warn("init: no languageDetector is used and no lng is defined");var f=["getResource","hasResourceBundle","getResourceBundle","getDataByLanguage"];f.forEach(function(p){e[p]=function(){var h;return(h=e.store)[p].apply(h,arguments)}});var c=["addResource","addResources","addResourceBundle","removeResourceBundle"];c.forEach(function(p){e[p]=function(){var h;return(h=e.store)[p].apply(h,arguments),e}});var d=U(),m=function(){var h=function(v,y){e.isInitialized&&e.logger.warn("init: i18next is already initialized. You should call init just once!"),e.isInitialized=!0,e.options.isClone||e.logger.log("initialized",e.options),e.emit("initialized",e.options),d.resolve(y),r(v,y)};if(e.languages&&e.options.compatibilityAPI!=="v1"&&!e.isInitialized)return h(null,e.t.bind(e));e.changeLanguage(e.options.lng,h)};return this.options.resources||!this.options.initImmediate?m():setTimeout(m,0),d}},{key:"loadResources",value:function(e){var t=this,r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:_,s=r,a=typeof e=="string"?e:this.language;if(typeof e=="function"&&(s=e),!this.options.resources||this.options.partialBundledLanguages){if(a&&a.toLowerCase()==="cimode")return s();var u=[],l=function(d){if(d){var m=t.services.languageUtils.toResolveHierarchy(d);m.forEach(function(p){u.indexOf(p)<0&&u.push(p)})}};if(a)l(a);else{var f=this.services.languageUtils.getFallbackCodes(this.options.fallbackLng);f.forEach(function(c){return l(c)})}this.options.preload&&this.options.preload.forEach(function(c){return l(c)}),this.services.backendConnector.load(u,this.options.ns,s)}else s(null)}},{key:"reloadResources",value:function(e,t,r){var s=U();return e||(e=this.languages),t||(t=this.options.ns),r||(r=_),this.services.backendConnector.reload(e,t,function(a){s.resolve(),r(a)}),s}},{key:"use",value:function(e){if(!e)throw new Error("You are passing an undefined module! Please check the object you are passing to i18next.use()");if(!e.type)throw new Error("You are passing a wrong module! Please check the object you are passing to i18next.use()");return e.type==="backend"&&(this.modules.backend=e),(e.type==="logger"||e.log&&e.warn&&e.error)&&(this.modules.logger=e),e.type==="languageDetector"&&(this.modules.languageDetector=e),e.type==="i18nFormat"&&(this.modules.i18nFormat=e),e.type==="postProcessor"&&he.addPostProcessor(e),e.type==="3rdParty"&&this.modules.external.push(e),this}},{key:"changeLanguage",value:function(e,t){var r=this;this.isLanguageChangingTo=e;var s=U();this.emit("languageChanging",e);var a=function(f,c){c?(r.language=c,r.languages=r.services.languageUtils.toResolveHierarchy(c),r.translator.changeLanguage(c),r.isLanguageChangingTo=void 0,r.emit("languageChanged",c),r.logger.log("languageChanged",c)):r.isLanguageChangingTo=void 0,s.resolve(function(){return r.t.apply(r,arguments)}),t&&t(f,function(){return r.t.apply(r,arguments)})},u=function(f){var c=typeof f=="string"?f:r.services.languageUtils.getBestMatchFromCodes(f);c&&(r.language||(r.language=c,r.languages=r.services.languageUtils.toResolveHierarchy(c)),r.translator.language||r.translator.changeLanguage(c),r.services.languageDetector&&r.services.languageDetector.cacheUserLanguage(c)),r.loadResources(c,function(d){a(d,c)})};return!e&&this.services.languageDetector&&!this.services.languageDetector.async?u(this.services.languageDetector.detect()):!e&&this.services.languageDetector&&this.services.languageDetector.async?this.services.languageDetector.detect(u):u(e),s}},{key:"getFixedT",value:function(e,t){var r=this,s=function a(u,l){var f;if(V(l)!=="object"){for(var c=arguments.length,d=new Array(c>2?c-2:0),m=2;m<c;m++)d[m-2]=arguments[m];f=r.options.overloadTranslationOptionHandler([u,l].concat(d))}else f=x({},l);return f.lng=f.lng||a.lng,f.lngs=f.lngs||a.lngs,f.ns=f.ns||a.ns,r.t(u,f)};return typeof e=="string"?s.lng=e:s.lngs=e,s.ns=t,s}},{key:"t",value:function(){var e;return this.translator&&(e=this.translator).translate.apply(e,arguments)}},{key:"exists",value:function(){var e;return this.translator&&(e=this.translator).exists.apply(e,arguments)}},{key:"setDefaultNamespace",value:function(e){this.options.defaultNS=e}},{key:"hasLoadedNamespace",value:function(e){var t=this,r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(!this.isInitialized)return this.logger.warn("hasLoadedNamespace: i18next was not initialized",this.languages),!1;if(!this.languages||!this.languages.length)return this.logger.warn("hasLoadedNamespace: i18n.languages were undefined or empty",this.languages),!1;var s=this.languages[0],a=this.options?this.options.fallbackLng:!1,u=this.languages[this.languages.length-1];if(s.toLowerCase()==="cimode")return!0;var l=function(d,m){var p=t.services.backendConnector.state["".concat(d,"|").concat(m)];return p===-1||p===2};if(r.precheck){var f=r.precheck(this,l);if(f!==void 0)return f}return!!(this.hasResourceBundle(s,e)||!this.services.backendConnector.backend||l(s,e)&&(!a||l(u,e)))}},{key:"loadNamespaces",value:function(e,t){var r=this,s=U();return this.options.ns?(typeof e=="string"&&(e=[e]),e.forEach(function(a){r.options.ns.indexOf(a)<0&&r.options.ns.push(a)}),this.loadResources(function(a){s.resolve(),t&&t(a)}),s):(t&&t(),Promise.resolve())}},{key:"loadLanguages",value:function(e,t){var r=U();typeof e=="string"&&(e=[e]);var s=this.options.preload||[],a=e.filter(function(u){return s.indexOf(u)<0});return a.length?(this.options.preload=s.concat(a),this.loadResources(function(u){r.resolve(),t&&t(u)}),r):(t&&t(),Promise.resolve())}},{key:"dir",value:function(e){if(e||(e=this.languages&&this.languages.length>0?this.languages[0]:this.language),!e)return"rtl";var t=["ar","shu","sqr","ssh","xaa","yhd","yud","aao","abh","abv","acm","acq","acw","acx","acy","adf","ads","aeb","aec","afb","ajp","apc","apd","arb","arq","ars","ary","arz","auz","avl","ayh","ayl","ayn","ayp","bbz","pga","he","iw","ps","pbt","pbu","pst","prp","prd","ug","ur","ydd","yds","yih","ji","yi","hbo","men","xmn","fa","jpr","peo","pes","prs","dv","sam"];return t.indexOf(this.services.languageUtils.getLanguagePartFromCode(e))>=0?"rtl":"ltr"}},{key:"createInstance",value:function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;return new i(e,t)}},{key:"cloneInstance",value:function(){var e=this,t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:_,s=x({},this.options,t,{isClone:!0}),a=new i(s),u=["store","services","language"];return u.forEach(function(l){a[l]=e[l]}),a.services=x({},this.services),a.services.utils={hasLoadedNamespace:a.hasLoadedNamespace.bind(a)},a.translator=new fe(a.services,a.options),a.translator.on("*",function(l){for(var f=arguments.length,c=new Array(f>1?f-1:0),d=1;d<f;d++)c[d-1]=arguments[d];a.emit.apply(a,[l].concat(c))}),a.init(s,r),a.translator.options=a.options,a.translator.backendConnector.services.utils={hasLoadedNamespace:a.hasLoadedNamespace.bind(a)},a}}]),i}(O),Te=new je;module.exports=Te;
|
|
1
|
+
"use strict";const V=require("./index.cjs419.js"),x=require("./index.cjs420.js"),w=require("./index.cjs421.js"),k=require("./index.cjs422.js"),D=require("./index.cjs423.js"),z=require("./index.cjs424.js"),j=require("./index.cjs272.js"),W=require("./index.cjs425.js");var ve={type:"logger",log:function(i){this.output("log",i)},warn:function(i){this.output("warn",i)},error:function(i){this.output("error",i)},output:function(i,n){console&&console[i]&&console[i].apply(console,n)}},me=function(){function o(i){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};w(this,o),this.init(i,n)}return k(o,[{key:"init",value:function(n){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};this.prefix=e.prefix||"i18next:",this.logger=n||ve,this.options=e,this.debug=e.debug}},{key:"setDebug",value:function(n){this.debug=n}},{key:"log",value:function(){for(var n=arguments.length,e=new Array(n),t=0;t<n;t++)e[t]=arguments[t];return this.forward(e,"log","",!0)}},{key:"warn",value:function(){for(var n=arguments.length,e=new Array(n),t=0;t<n;t++)e[t]=arguments[t];return this.forward(e,"warn","",!0)}},{key:"error",value:function(){for(var n=arguments.length,e=new Array(n),t=0;t<n;t++)e[t]=arguments[t];return this.forward(e,"error","")}},{key:"deprecate",value:function(){for(var n=arguments.length,e=new Array(n),t=0;t<n;t++)e[t]=arguments[t];return this.forward(e,"warn","WARNING DEPRECATED: ",!0)}},{key:"forward",value:function(n,e,t,r){return r&&!this.debug?null:(typeof n[0]=="string"&&(n[0]="".concat(t).concat(this.prefix," ").concat(n[0])),this.logger[e](n))}},{key:"create",value:function(n){return new o(this.logger,x({},{prefix:"".concat(this.prefix,":").concat(n,":")},this.options))}}]),o}(),S=new me,O=function(){function o(){w(this,o),this.observers={}}return k(o,[{key:"on",value:function(n,e){var t=this;return n.split(" ").forEach(function(r){t.observers[r]=t.observers[r]||[],t.observers[r].push(e)}),this}},{key:"off",value:function(n,e){if(this.observers[n]){if(!e){delete this.observers[n];return}this.observers[n]=this.observers[n].filter(function(t){return t!==e})}}},{key:"emit",value:function(n){for(var e=arguments.length,t=new Array(e>1?e-1:0),r=1;r<e;r++)t[r-1]=arguments[r];if(this.observers[n]){var s=[].concat(this.observers[n]);s.forEach(function(u){u.apply(void 0,t)})}if(this.observers["*"]){var a=[].concat(this.observers["*"]);a.forEach(function(u){u.apply(u,[n].concat(t))})}}}]),o}();function U(){var o,i,n=new Promise(function(e,t){o=e,i=t});return n.resolve=o,n.reject=i,n}function se(o){return o==null?"":""+o}function ye(o,i,n){o.forEach(function(e){i[e]&&(n[e]=i[e])})}function Q(o,i,n){function e(a){return a&&a.indexOf("###")>-1?a.replace(/###/g,"."):a}function t(){return!o||typeof o=="string"}for(var r=typeof i!="string"?[].concat(i):i.split(".");r.length>1;){if(t())return{};var s=e(r.shift());!o[s]&&n&&(o[s]=new n),Object.prototype.hasOwnProperty.call(o,s)?o=o[s]:o={}}return t()?{}:{obj:o,k:e(r.shift())}}function oe(o,i,n){var e=Q(o,i,Object),t=e.obj,r=e.k;t[r]=n}function be(o,i,n,e){var t=Q(o,i,Object),r=t.obj,s=t.k;r[s]=r[s]||[],e&&(r[s]=r[s].concat(n)),e||r[s].push(n)}function M(o,i){var n=Q(o,i),e=n.obj,t=n.k;if(e)return e[t]}function ue(o,i,n){var e=M(o,n);return e!==void 0?e:M(i,n)}function ge(o,i,n){for(var e in i)e!=="__proto__"&&e!=="constructor"&&(e in o?typeof o[e]=="string"||o[e]instanceof String||typeof i[e]=="string"||i[e]instanceof String?n&&(o[e]=i[e]):ge(o[e],i[e],n):o[e]=i[e]);return o}function F(o){return o.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")}var xe={"&":"&","<":"<",">":">",'"':""","'":"'","/":"/"};function Le(o){return typeof o=="string"?o.replace(/[&<>"'\/]/g,function(i){return xe[i]}):o}var $=typeof window<"u"&&window.navigator&&window.navigator.userAgent&&window.navigator.userAgent.indexOf("MSIE")>-1,Se=function(o){W(i,o);function i(n){var e,t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{ns:["translation"],defaultNS:"translation"};return w(this,i),e=D(this,z(i).call(this)),$&&O.call(j(e)),e.data=n||{},e.options=t,e.options.keySeparator===void 0&&(e.options.keySeparator="."),e}return k(i,[{key:"addNamespaces",value:function(e){this.options.ns.indexOf(e)<0&&this.options.ns.push(e)}},{key:"removeNamespaces",value:function(e){var t=this.options.ns.indexOf(e);t>-1&&this.options.ns.splice(t,1)}},{key:"getResource",value:function(e,t,r){var s=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},a=s.keySeparator!==void 0?s.keySeparator:this.options.keySeparator,u=[e,t];return r&&typeof r!="string"&&(u=u.concat(r)),r&&typeof r=="string"&&(u=u.concat(a?r.split(a):r)),e.indexOf(".")>-1&&(u=e.split(".")),M(this.data,u)}},{key:"addResource",value:function(e,t,r,s){var a=arguments.length>4&&arguments[4]!==void 0?arguments[4]:{silent:!1},u=this.options.keySeparator;u===void 0&&(u=".");var l=[e,t];r&&(l=l.concat(u?r.split(u):r)),e.indexOf(".")>-1&&(l=e.split("."),s=t,t=l[1]),this.addNamespaces(t),oe(this.data,l,s),a.silent||this.emit("added",e,t,r,s)}},{key:"addResources",value:function(e,t,r){var s=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{silent:!1};for(var a in r)(typeof r[a]=="string"||Object.prototype.toString.apply(r[a])==="[object Array]")&&this.addResource(e,t,a,r[a],{silent:!0});s.silent||this.emit("added",e,t,r)}},{key:"addResourceBundle",value:function(e,t,r,s,a){var u=arguments.length>5&&arguments[5]!==void 0?arguments[5]:{silent:!1},l=[e,t];e.indexOf(".")>-1&&(l=e.split("."),s=r,r=t,t=l[1]),this.addNamespaces(t);var f=M(this.data,l)||{};s?ge(f,r,a):f=x({},f,r),oe(this.data,l,f),u.silent||this.emit("added",e,t,r)}},{key:"removeResourceBundle",value:function(e,t){this.hasResourceBundle(e,t)&&delete this.data[e][t],this.removeNamespaces(t),this.emit("removed",e,t)}},{key:"hasResourceBundle",value:function(e,t){return this.getResource(e,t)!==void 0}},{key:"getResourceBundle",value:function(e,t){return t||(t=this.options.defaultNS),this.options.compatibilityAPI==="v1"?x({},{},this.getResource(e,t)):this.getResource(e,t)}},{key:"getDataByLanguage",value:function(e){return this.data[e]}},{key:"toJSON",value:function(){return this.data}}]),i}(O),he={processors:{},addPostProcessor:function(i){this.processors[i.name]=i},handle:function(i,n,e,t,r){var s=this;return i.forEach(function(a){s.processors[a]&&(n=s.processors[a].process(n,e,t,r))}),n}},le={},fe=function(o){W(i,o);function i(n){var e,t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return w(this,i),e=D(this,z(i).call(this)),$&&O.call(j(e)),ye(["resourceStore","languageUtils","pluralResolver","interpolator","backendConnector","i18nFormat","utils"],n,j(e)),e.options=t,e.options.keySeparator===void 0&&(e.options.keySeparator="."),e.logger=S.create("translator"),e}return k(i,[{key:"changeLanguage",value:function(e){e&&(this.language=e)}},{key:"exists",value:function(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{interpolation:{}},r=this.resolve(e,t);return r&&r.res!==void 0}},{key:"extractFromKey",value:function(e,t){var r=t.nsSeparator!==void 0?t.nsSeparator:this.options.nsSeparator;r===void 0&&(r=":");var s=t.keySeparator!==void 0?t.keySeparator:this.options.keySeparator,a=t.ns||this.options.defaultNS;if(r&&e.indexOf(r)>-1){var u=e.match(this.interpolator.nestingRegexp);if(u&&u.length>0)return{key:e,namespaces:a};var l=e.split(r);(r!==s||r===s&&this.options.ns.indexOf(l[0])>-1)&&(a=l.shift()),e=l.join(s)}return typeof a=="string"&&(a=[a]),{key:e,namespaces:a}}},{key:"translate",value:function(e,t,r){var s=this;if(V(t)!=="object"&&this.options.overloadTranslationOptionHandler&&(t=this.options.overloadTranslationOptionHandler(arguments)),t||(t={}),e==null)return"";Array.isArray(e)||(e=[String(e)]);var a=t.keySeparator!==void 0?t.keySeparator:this.options.keySeparator,u=this.extractFromKey(e[e.length-1],t),l=u.key,f=u.namespaces,c=f[f.length-1],d=t.lng||this.language,m=t.appendNamespaceToCIMode||this.options.appendNamespaceToCIMode;if(d&&d.toLowerCase()==="cimode"){if(m){var p=t.nsSeparator||this.options.nsSeparator;return c+p+l}return l}var h=this.resolve(e,t),g=h&&h.res,v=h&&h.usedKey||l,y=h&&h.exactUsedKey||l,b=Object.prototype.toString.apply(g),R=["[object Number]","[object Function]","[object RegExp]"],L=t.joinArrays!==void 0?t.joinArrays:this.options.joinArrays,N=!this.i18nFormat||this.i18nFormat.handleAsObject,T=typeof g!="string"&&typeof g!="boolean"&&typeof g!="number";if(N&&g&&T&&R.indexOf(b)<0&&!(typeof L=="string"&&b==="[object Array]")){if(!t.returnObjects&&!this.options.returnObjects)return this.logger.warn("accessing an object - but returnObjects options is not enabled!"),this.options.returnedObjectHandler?this.options.returnedObjectHandler(v,g,t):"key '".concat(l," (").concat(this.language,")' returned an object instead of string.");if(a){var X=b==="[object Array]",H=X?[]:{},pe=X?y:v;for(var P in g)if(Object.prototype.hasOwnProperty.call(g,P)){var Z="".concat(pe).concat(a).concat(P);H[P]=this.translate(Z,x({},t,{joinArrays:!1,ns:f})),H[P]===Z&&(H[P]=g[P])}g=H}}else if(N&&typeof L=="string"&&b==="[object Array]")g=g.join(L),g&&(g=this.extendTranslation(g,e,t,r));else{var ee=!1,K=!1,te=t.count!==void 0&&typeof t.count!="string",ne=i.hasDefaultValue(t),de=te?this.pluralResolver.getSuffix(d,t.count):"",I=t["defaultValue".concat(de)]||t.defaultValue;!this.isValidLookup(g)&&ne&&(ee=!0,g=I),this.isValidLookup(g)||(K=!0,g=l);var C=ne&&I!==g&&this.options.updateMissing;if(K||ee||C){if(this.logger.log(C?"updateKey":"missingKey",d,c,l,C?I:g),a){var re=this.resolve(l,x({},t,{keySeparator:!1}));re&&re.res&&this.logger.warn("Seems the loaded translations were in flat JSON format instead of nested. Either set keySeparator: false on init or make sure your translations are published in nested format.")}var A=[],B=this.languageUtils.getFallbackCodes(this.options.fallbackLng,t.lng||this.language);if(this.options.saveMissingTo==="fallback"&&B&&B[0])for(var q=0;q<B.length;q++)A.push(B[q]);else this.options.saveMissingTo==="all"?A=this.languageUtils.toResolveHierarchy(t.lng||this.language):A.push(t.lng||this.language);var ie=function(E,Y,ae){s.options.missingKeyHandler?s.options.missingKeyHandler(E,c,Y,C?ae:g,C,t):s.backendConnector&&s.backendConnector.saveMissing&&s.backendConnector.saveMissing(E,c,Y,C?ae:g,C,t),s.emit("missingKey",E,c,Y,g)};this.options.saveMissing&&(this.options.saveMissingPlurals&&te?A.forEach(function(J){s.pluralResolver.getSuffixes(J).forEach(function(E){ie([J],l+E,t["defaultValue".concat(E)]||I)})}):ie(A,l,I))}g=this.extendTranslation(g,e,t,h,r),K&&g===l&&this.options.appendNamespaceToMissingKey&&(g="".concat(c,":").concat(l)),K&&this.options.parseMissingKeyHandler&&(g=this.options.parseMissingKeyHandler(g))}return g}},{key:"extendTranslation",value:function(e,t,r,s,a){var u=this;if(this.i18nFormat&&this.i18nFormat.parse)e=this.i18nFormat.parse(e,r,s.usedLng,s.usedNS,s.usedKey,{resolved:s});else if(!r.skipInterpolation){r.interpolation&&this.interpolator.init(x({},r,{interpolation:x({},this.options.interpolation,r.interpolation)}));var l=r.interpolation&&r.interpolation.skipOnVariables||this.options.interpolation.skipOnVariables,f;if(l){var c=e.match(this.interpolator.nestingRegexp);f=c&&c.length}var d=r.replace&&typeof r.replace!="string"?r.replace:r;if(this.options.interpolation.defaultVariables&&(d=x({},this.options.interpolation.defaultVariables,d)),e=this.interpolator.interpolate(e,d,r.lng||this.language,r),l){var m=e.match(this.interpolator.nestingRegexp),p=m&&m.length;f<p&&(r.nest=!1)}r.nest!==!1&&(e=this.interpolator.nest(e,function(){for(var v=arguments.length,y=new Array(v),b=0;b<v;b++)y[b]=arguments[b];return a&&a[0]===y[0]&&!r.context?(u.logger.warn("It seems you are nesting recursively key: ".concat(y[0]," in key: ").concat(t[0])),null):u.translate.apply(u,y.concat([t]))},r)),r.interpolation&&this.interpolator.reset()}var h=r.postProcess||this.options.postProcess,g=typeof h=="string"?[h]:h;return e!=null&&g&&g.length&&r.applyPostProcessor!==!1&&(e=he.handle(g,e,t,this.options&&this.options.postProcessPassResolved?x({i18nResolved:s},r):r,this)),e}},{key:"resolve",value:function(e){var t=this,r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},s,a,u,l,f;return typeof e=="string"&&(e=[e]),e.forEach(function(c){if(!t.isValidLookup(s)){var d=t.extractFromKey(c,r),m=d.key;a=m;var p=d.namespaces;t.options.fallbackNS&&(p=p.concat(t.options.fallbackNS));var h=r.count!==void 0&&typeof r.count!="string",g=r.context!==void 0&&typeof r.context=="string"&&r.context!=="",v=r.lngs?r.lngs:t.languageUtils.toResolveHierarchy(r.lng||t.language,r.fallbackLng);p.forEach(function(y){t.isValidLookup(s)||(f=y,!le["".concat(v[0],"-").concat(y)]&&t.utils&&t.utils.hasLoadedNamespace&&!t.utils.hasLoadedNamespace(f)&&(le["".concat(v[0],"-").concat(y)]=!0,t.logger.warn('key "'.concat(a,'" for languages "').concat(v.join(", "),`" won't get resolved as namespace "`).concat(f,'" was not yet loaded'),"This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!")),v.forEach(function(b){if(!t.isValidLookup(s)){l=b;var R=m,L=[R];if(t.i18nFormat&&t.i18nFormat.addLookupKeys)t.i18nFormat.addLookupKeys(L,m,b,y,r);else{var N;h&&(N=t.pluralResolver.getSuffix(b,r.count)),h&&g&&L.push(R+N),g&&L.push(R+="".concat(t.options.contextSeparator).concat(r.context)),h&&L.push(R+=N)}for(var T;T=L.pop();)t.isValidLookup(s)||(u=T,s=t.getResource(b,y,T,r))}}))})}}),{res:s,usedKey:a,exactUsedKey:u,usedLng:l,usedNS:f}}},{key:"isValidLookup",value:function(e){return e!==void 0&&!(!this.options.returnNull&&e===null)&&!(!this.options.returnEmptyString&&e==="")}},{key:"getResource",value:function(e,t,r){var s=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};return this.i18nFormat&&this.i18nFormat.getResource?this.i18nFormat.getResource(e,t,r,s):this.resourceStore.getResource(e,t,r,s)}}],[{key:"hasDefaultValue",value:function(e){var t="defaultValue";for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r)&&t===r.substring(0,t.length)&&e[r]!==void 0)return!0;return!1}}]),i}(O);function G(o){return o.charAt(0).toUpperCase()+o.slice(1)}var we=function(){function o(i){w(this,o),this.options=i,this.whitelist=this.options.supportedLngs||!1,this.supportedLngs=this.options.supportedLngs||!1,this.logger=S.create("languageUtils")}return k(o,[{key:"getScriptPartFromCode",value:function(n){if(!n||n.indexOf("-")<0)return null;var e=n.split("-");return e.length===2||(e.pop(),e[e.length-1].toLowerCase()==="x")?null:this.formatLanguageCode(e.join("-"))}},{key:"getLanguagePartFromCode",value:function(n){if(!n||n.indexOf("-")<0)return n;var e=n.split("-");return this.formatLanguageCode(e[0])}},{key:"formatLanguageCode",value:function(n){if(typeof n=="string"&&n.indexOf("-")>-1){var e=["hans","hant","latn","cyrl","cans","mong","arab"],t=n.split("-");return this.options.lowerCaseLng?t=t.map(function(r){return r.toLowerCase()}):t.length===2?(t[0]=t[0].toLowerCase(),t[1]=t[1].toUpperCase(),e.indexOf(t[1].toLowerCase())>-1&&(t[1]=G(t[1].toLowerCase()))):t.length===3&&(t[0]=t[0].toLowerCase(),t[1].length===2&&(t[1]=t[1].toUpperCase()),t[0]!=="sgn"&&t[2].length===2&&(t[2]=t[2].toUpperCase()),e.indexOf(t[1].toLowerCase())>-1&&(t[1]=G(t[1].toLowerCase())),e.indexOf(t[2].toLowerCase())>-1&&(t[2]=G(t[2].toLowerCase()))),t.join("-")}return this.options.cleanCode||this.options.lowerCaseLng?n.toLowerCase():n}},{key:"isWhitelisted",value:function(n){return this.logger.deprecate("languageUtils.isWhitelisted",`function "isWhitelisted" will be renamed to "isSupportedCode" in the next major - please make sure to rename it's usage asap.`),this.isSupportedCode(n)}},{key:"isSupportedCode",value:function(n){return(this.options.load==="languageOnly"||this.options.nonExplicitSupportedLngs)&&(n=this.getLanguagePartFromCode(n)),!this.supportedLngs||!this.supportedLngs.length||this.supportedLngs.indexOf(n)>-1}},{key:"getBestMatchFromCodes",value:function(n){var e=this;if(!n)return null;var t;return n.forEach(function(r){if(!t){var s=e.formatLanguageCode(r);(!e.options.supportedLngs||e.isSupportedCode(s))&&(t=s)}}),!t&&this.options.supportedLngs&&n.forEach(function(r){if(!t){var s=e.getLanguagePartFromCode(r);if(e.isSupportedCode(s))return t=s;t=e.options.supportedLngs.find(function(a){if(a.indexOf(s)===0)return a})}}),t||(t=this.getFallbackCodes(this.options.fallbackLng)[0]),t}},{key:"getFallbackCodes",value:function(n,e){if(!n)return[];if(typeof n=="function"&&(n=n(e)),typeof n=="string"&&(n=[n]),Object.prototype.toString.apply(n)==="[object Array]")return n;if(!e)return n.default||[];var t=n[e];return t||(t=n[this.getScriptPartFromCode(e)]),t||(t=n[this.formatLanguageCode(e)]),t||(t=n[this.getLanguagePartFromCode(e)]),t||(t=n.default),t||[]}},{key:"toResolveHierarchy",value:function(n,e){var t=this,r=this.getFallbackCodes(e||this.options.fallbackLng||[],n),s=[],a=function(l){l&&(t.isSupportedCode(l)?s.push(l):t.logger.warn("rejecting language code not found in supportedLngs: ".concat(l)))};return typeof n=="string"&&n.indexOf("-")>-1?(this.options.load!=="languageOnly"&&a(this.formatLanguageCode(n)),this.options.load!=="languageOnly"&&this.options.load!=="currentOnly"&&a(this.getScriptPartFromCode(n)),this.options.load!=="currentOnly"&&a(this.getLanguagePartFromCode(n))):typeof n=="string"&&a(this.formatLanguageCode(n)),r.forEach(function(u){s.indexOf(u)<0&&a(t.formatLanguageCode(u))}),s}}]),o}(),ke=[{lngs:["ach","ak","am","arn","br","fil","gun","ln","mfe","mg","mi","oc","pt","pt-BR","tg","tl","ti","tr","uz","wa"],nr:[1,2],fc:1},{lngs:["af","an","ast","az","bg","bn","ca","da","de","dev","el","en","eo","es","et","eu","fi","fo","fur","fy","gl","gu","ha","hi","hu","hy","ia","it","kn","ku","lb","mai","ml","mn","mr","nah","nap","nb","ne","nl","nn","no","nso","pa","pap","pms","ps","pt-PT","rm","sco","se","si","so","son","sq","sv","sw","ta","te","tk","ur","yo"],nr:[1,2],fc:2},{lngs:["ay","bo","cgg","fa","ht","id","ja","jbo","ka","kk","km","ko","ky","lo","ms","sah","su","th","tt","ug","vi","wo","zh"],nr:[1],fc:3},{lngs:["be","bs","cnr","dz","hr","ru","sr","uk"],nr:[1,2,5],fc:4},{lngs:["ar"],nr:[0,1,2,3,11,100],fc:5},{lngs:["cs","sk"],nr:[1,2,5],fc:6},{lngs:["csb","pl"],nr:[1,2,5],fc:7},{lngs:["cy"],nr:[1,2,3,8],fc:8},{lngs:["fr"],nr:[1,2],fc:9},{lngs:["ga"],nr:[1,2,3,7,11],fc:10},{lngs:["gd"],nr:[1,2,3,20],fc:11},{lngs:["is"],nr:[1,2],fc:12},{lngs:["jv"],nr:[0,1],fc:13},{lngs:["kw"],nr:[1,2,3,4],fc:14},{lngs:["lt"],nr:[1,2,10],fc:15},{lngs:["lv"],nr:[1,2,0],fc:16},{lngs:["mk"],nr:[1,2],fc:17},{lngs:["mnk"],nr:[0,1,2],fc:18},{lngs:["mt"],nr:[1,2,11,20],fc:19},{lngs:["or"],nr:[2,1],fc:2},{lngs:["ro"],nr:[1,2,20],fc:20},{lngs:["sl"],nr:[5,1,2,3],fc:21},{lngs:["he","iw"],nr:[1,2,20,21],fc:22}],Re={1:function(i){return+(i>1)},2:function(i){return+(i!=1)},3:function(i){return 0},4:function(i){return i%10==1&&i%100!=11?0:i%10>=2&&i%10<=4&&(i%100<10||i%100>=20)?1:2},5:function(i){return i==0?0:i==1?1:i==2?2:i%100>=3&&i%100<=10?3:i%100>=11?4:5},6:function(i){return i==1?0:i>=2&&i<=4?1:2},7:function(i){return i==1?0:i%10>=2&&i%10<=4&&(i%100<10||i%100>=20)?1:2},8:function(i){return i==1?0:i==2?1:i!=8&&i!=11?2:3},9:function(i){return+(i>=2)},10:function(i){return i==1?0:i==2?1:i<7?2:i<11?3:4},11:function(i){return i==1||i==11?0:i==2||i==12?1:i>2&&i<20?2:3},12:function(i){return+(i%10!=1||i%100==11)},13:function(i){return+(i!==0)},14:function(i){return i==1?0:i==2?1:i==3?2:3},15:function(i){return i%10==1&&i%100!=11?0:i%10>=2&&(i%100<10||i%100>=20)?1:2},16:function(i){return i%10==1&&i%100!=11?0:i!==0?1:2},17:function(i){return i==1||i%10==1&&i%100!=11?0:1},18:function(i){return i==0?0:i==1?1:2},19:function(i){return i==1?0:i==0||i%100>1&&i%100<11?1:i%100>10&&i%100<20?2:3},20:function(i){return i==1?0:i==0||i%100>0&&i%100<20?1:2},21:function(i){return i%100==1?1:i%100==2?2:i%100==3||i%100==4?3:0},22:function(i){return i==1?0:i==2?1:(i<0||i>10)&&i%10==0?2:3}};function Oe(){var o={};return ke.forEach(function(i){i.lngs.forEach(function(n){o[n]={numbers:i.nr,plurals:Re[i.fc]}})}),o}var Ce=function(){function o(i){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};w(this,o),this.languageUtils=i,this.options=n,this.logger=S.create("pluralResolver"),this.rules=Oe()}return k(o,[{key:"addRule",value:function(n,e){this.rules[n]=e}},{key:"getRule",value:function(n){return this.rules[n]||this.rules[this.languageUtils.getLanguagePartFromCode(n)]}},{key:"needsPlural",value:function(n){var e=this.getRule(n);return e&&e.numbers.length>1}},{key:"getPluralFormsOfKey",value:function(n,e){return this.getSuffixes(n).map(function(t){return e+t})}},{key:"getSuffixes",value:function(n){var e=this,t=this.getRule(n);return t?t.numbers.map(function(r){return e.getSuffix(n,r)}):[]}},{key:"getSuffix",value:function(n,e){var t=this,r=this.getRule(n);if(r){var s=r.noAbs?r.plurals(e):r.plurals(Math.abs(e)),a=r.numbers[s];this.options.simplifyPluralSuffix&&r.numbers.length===2&&r.numbers[0]===1&&(a===2?a="plural":a===1&&(a=""));var u=function(){return t.options.prepend&&a.toString()?t.options.prepend+a.toString():a.toString()};return this.options.compatibilityJSON==="v1"?a===1?"":typeof a=="number"?"_plural_".concat(a.toString()):u():this.options.compatibilityJSON==="v2"||this.options.simplifyPluralSuffix&&r.numbers.length===2&&r.numbers[0]===1?u():this.options.prepend&&s.toString()?this.options.prepend+s.toString():s.toString()}return this.logger.warn("no plural rule found for: ".concat(n)),""}}]),o}(),Ne=function(){function o(){var i=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};w(this,o),this.logger=S.create("interpolator"),this.options=i,this.format=i.interpolation&&i.interpolation.format||function(n){return n},this.init(i)}return k(o,[{key:"init",value:function(){var n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};n.interpolation||(n.interpolation={escapeValue:!0});var e=n.interpolation;this.escape=e.escape!==void 0?e.escape:Le,this.escapeValue=e.escapeValue!==void 0?e.escapeValue:!0,this.useRawValueToEscape=e.useRawValueToEscape!==void 0?e.useRawValueToEscape:!1,this.prefix=e.prefix?F(e.prefix):e.prefixEscaped||"{{",this.suffix=e.suffix?F(e.suffix):e.suffixEscaped||"}}",this.formatSeparator=e.formatSeparator?e.formatSeparator:e.formatSeparator||",",this.unescapePrefix=e.unescapeSuffix?"":e.unescapePrefix||"-",this.unescapeSuffix=this.unescapePrefix?"":e.unescapeSuffix||"",this.nestingPrefix=e.nestingPrefix?F(e.nestingPrefix):e.nestingPrefixEscaped||F("$t("),this.nestingSuffix=e.nestingSuffix?F(e.nestingSuffix):e.nestingSuffixEscaped||F(")"),this.nestingOptionsSeparator=e.nestingOptionsSeparator?e.nestingOptionsSeparator:e.nestingOptionsSeparator||",",this.maxReplaces=e.maxReplaces?e.maxReplaces:1e3,this.alwaysFormat=e.alwaysFormat!==void 0?e.alwaysFormat:!1,this.resetRegExp()}},{key:"reset",value:function(){this.options&&this.init(this.options)}},{key:"resetRegExp",value:function(){var n="".concat(this.prefix,"(.+?)").concat(this.suffix);this.regexp=new RegExp(n,"g");var e="".concat(this.prefix).concat(this.unescapePrefix,"(.+?)").concat(this.unescapeSuffix).concat(this.suffix);this.regexpUnescape=new RegExp(e,"g");var t="".concat(this.nestingPrefix,"(.+?)").concat(this.nestingSuffix);this.nestingRegexp=new RegExp(t,"g")}},{key:"interpolate",value:function(n,e,t,r){var s=this,a,u,l,f=this.options&&this.options.interpolation&&this.options.interpolation.defaultVariables||{};function c(g){return g.replace(/\$/g,"$$$$")}var d=function(v){if(v.indexOf(s.formatSeparator)<0){var y=ue(e,f,v);return s.alwaysFormat?s.format(y,void 0,t):y}var b=v.split(s.formatSeparator),R=b.shift().trim(),L=b.join(s.formatSeparator).trim();return s.format(ue(e,f,R),L,t,r)};this.resetRegExp();var m=r&&r.missingInterpolationHandler||this.options.missingInterpolationHandler,p=r&&r.interpolation&&r.interpolation.skipOnVariables||this.options.interpolation.skipOnVariables,h=[{regex:this.regexpUnescape,safeValue:function(v){return c(v)}},{regex:this.regexp,safeValue:function(v){return s.escapeValue?c(s.escape(v)):c(v)}}];return h.forEach(function(g){for(l=0;a=g.regex.exec(n);){if(u=d(a[1].trim()),u===void 0)if(typeof m=="function"){var v=m(n,a,r);u=typeof v=="string"?v:""}else if(p){u=a[0];continue}else s.logger.warn("missed to pass in variable ".concat(a[1]," for interpolating ").concat(n)),u="";else typeof u!="string"&&!s.useRawValueToEscape&&(u=se(u));if(n=n.replace(a[0],g.safeValue(u)),g.regex.lastIndex=0,l++,l>=s.maxReplaces)break}}),n}},{key:"nest",value:function(n,e){var t=this,r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},s,a,u=x({},r);u.applyPostProcessor=!1,delete u.defaultValue;function l(m,p){var h=this.nestingOptionsSeparator;if(m.indexOf(h)<0)return m;var g=m.split(new RegExp("".concat(h,"[ ]*{"))),v="{".concat(g[1]);m=g[0],v=this.interpolate(v,u),v=v.replace(/'/g,'"');try{u=JSON.parse(v),p&&(u=x({},p,u))}catch(y){return this.logger.warn("failed parsing options string in nesting for key ".concat(m),y),"".concat(m).concat(h).concat(v)}return delete u.defaultValue,m}for(;s=this.nestingRegexp.exec(n);){var f=[],c=!1;if(s[0].includes(this.formatSeparator)&&!/{.*}/.test(s[1])){var d=s[1].split(this.formatSeparator).map(function(m){return m.trim()});s[1]=d.shift(),f=d,c=!0}if(a=e(l.call(this,s[1].trim(),u),u),a&&s[0]===n&&typeof a!="string")return a;typeof a!="string"&&(a=se(a)),a||(this.logger.warn("missed to resolve ".concat(s[1]," for nesting ").concat(n)),a=""),c&&(a=f.reduce(function(m,p){return t.format(m,p,r.lng,r)},a.trim())),n=n.replace(s[0],a),this.regexp.lastIndex=0}return n}}]),o}();function Pe(o,i){for(var n=o.indexOf(i);n!==-1;)o.splice(n,1),n=o.indexOf(i)}var Ee=function(o){W(i,o);function i(n,e,t){var r,s=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};return w(this,i),r=D(this,z(i).call(this)),$&&O.call(j(r)),r.backend=n,r.store=e,r.services=t,r.languageUtils=t.languageUtils,r.options=s,r.logger=S.create("backendConnector"),r.state={},r.queue=[],r.backend&&r.backend.init&&r.backend.init(t,s.backend,s),r}return k(i,[{key:"queueLoad",value:function(e,t,r,s){var a=this,u=[],l=[],f=[],c=[];return e.forEach(function(d){var m=!0;t.forEach(function(p){var h="".concat(d,"|").concat(p);!r.reload&&a.store.hasResourceBundle(d,p)?a.state[h]=2:a.state[h]<0||(a.state[h]===1?l.indexOf(h)<0&&l.push(h):(a.state[h]=1,m=!1,l.indexOf(h)<0&&l.push(h),u.indexOf(h)<0&&u.push(h),c.indexOf(p)<0&&c.push(p)))}),m||f.push(d)}),(u.length||l.length)&&this.queue.push({pending:l,loaded:{},errors:[],callback:s}),{toLoad:u,pending:l,toLoadLanguages:f,toLoadNamespaces:c}}},{key:"loaded",value:function(e,t,r){var s=e.split("|"),a=s[0],u=s[1];t&&this.emit("failedLoading",a,u,t),r&&this.store.addResourceBundle(a,u,r),this.state[e]=t?-1:2;var l={};this.queue.forEach(function(f){be(f.loaded,[a],u),Pe(f.pending,e),t&&f.errors.push(t),f.pending.length===0&&!f.done&&(Object.keys(f.loaded).forEach(function(c){l[c]||(l[c]=[]),f.loaded[c].length&&f.loaded[c].forEach(function(d){l[c].indexOf(d)<0&&l[c].push(d)})}),f.done=!0,f.errors.length?f.callback(f.errors):f.callback())}),this.emit("loaded",l),this.queue=this.queue.filter(function(f){return!f.done})}},{key:"read",value:function(e,t,r){var s=this,a=arguments.length>3&&arguments[3]!==void 0?arguments[3]:0,u=arguments.length>4&&arguments[4]!==void 0?arguments[4]:350,l=arguments.length>5?arguments[5]:void 0;return e.length?this.backend[r](e,t,function(f,c){if(f&&c&&a<5){setTimeout(function(){s.read.call(s,e,t,r,a+1,u*2,l)},u);return}l(f,c)}):l(null,{})}},{key:"prepareLoading",value:function(e,t){var r=this,s=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},a=arguments.length>3?arguments[3]:void 0;if(!this.backend)return this.logger.warn("No backend was added via i18next.use. Will not load resources."),a&&a();typeof e=="string"&&(e=this.languageUtils.toResolveHierarchy(e)),typeof t=="string"&&(t=[t]);var u=this.queueLoad(e,t,s,a);if(!u.toLoad.length)return u.pending.length||a(),null;u.toLoad.forEach(function(l){r.loadOne(l)})}},{key:"load",value:function(e,t,r){this.prepareLoading(e,t,{},r)}},{key:"reload",value:function(e,t,r){this.prepareLoading(e,t,{reload:!0},r)}},{key:"loadOne",value:function(e){var t=this,r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"",s=e.split("|"),a=s[0],u=s[1];this.read(a,u,"read",void 0,void 0,function(l,f){l&&t.logger.warn("".concat(r,"loading namespace ").concat(u," for language ").concat(a," failed"),l),!l&&f&&t.logger.log("".concat(r,"loaded namespace ").concat(u," for language ").concat(a),f),t.loaded(e,l,f)})}},{key:"saveMissing",value:function(e,t,r,s,a){var u=arguments.length>5&&arguments[5]!==void 0?arguments[5]:{};if(this.services.utils&&this.services.utils.hasLoadedNamespace&&!this.services.utils.hasLoadedNamespace(t)){this.logger.warn('did not save key "'.concat(r,'" as the namespace "').concat(t,'" was not yet loaded'),"This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!");return}r==null||r===""||(this.backend&&this.backend.create&&this.backend.create(e,t,r,s,null,x({},u,{isUpdate:a})),!(!e||!e[0])&&this.store.addResource(e[0],t,r,s))}}]),i}(O);function Fe(){return{debug:!1,initImmediate:!0,ns:["translation"],defaultNS:["translation"],fallbackLng:["dev"],fallbackNS:!1,whitelist:!1,nonExplicitWhitelist:!1,supportedLngs:!1,nonExplicitSupportedLngs:!1,load:"all",preload:!1,simplifyPluralSuffix:!0,keySeparator:".",nsSeparator:":",pluralSeparator:"_",contextSeparator:"_",partialBundledLanguages:!1,saveMissing:!1,updateMissing:!1,saveMissingTo:"fallback",saveMissingPlurals:!0,missingKeyHandler:!1,missingInterpolationHandler:!1,postProcess:!1,postProcessPassResolved:!1,returnNull:!0,returnEmptyString:!0,returnObjects:!1,joinArrays:!1,returnedObjectHandler:!1,parseMissingKeyHandler:!1,appendNamespaceToMissingKey:!1,appendNamespaceToCIMode:!1,overloadTranslationOptionHandler:function(i){var n={};if(V(i[1])==="object"&&(n=i[1]),typeof i[1]=="string"&&(n.defaultValue=i[1]),typeof i[2]=="string"&&(n.tDescription=i[2]),V(i[2])==="object"||V(i[3])==="object"){var e=i[3]||i[2];Object.keys(e).forEach(function(t){n[t]=e[t]})}return n},interpolation:{escapeValue:!0,format:function(i,n,e,t){return i},prefix:"{{",suffix:"}}",formatSeparator:",",unescapePrefix:"-",nestingPrefix:"$t(",nestingSuffix:")",nestingOptionsSeparator:",",maxReplaces:1e3,skipOnVariables:!1}}}function ce(o){return typeof o.ns=="string"&&(o.ns=[o.ns]),typeof o.fallbackLng=="string"&&(o.fallbackLng=[o.fallbackLng]),typeof o.fallbackNS=="string"&&(o.fallbackNS=[o.fallbackNS]),o.whitelist&&(o.whitelist&&o.whitelist.indexOf("cimode")<0&&(o.whitelist=o.whitelist.concat(["cimode"])),o.supportedLngs=o.whitelist),o.nonExplicitWhitelist&&(o.nonExplicitSupportedLngs=o.nonExplicitWhitelist),o.supportedLngs&&o.supportedLngs.indexOf("cimode")<0&&(o.supportedLngs=o.supportedLngs.concat(["cimode"])),o}function _(){}var je=function(o){W(i,o);function i(){var n,e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;if(w(this,i),n=D(this,z(i).call(this)),$&&O.call(j(n)),n.options=ce(e),n.services={},n.logger=S,n.modules={external:[]},t&&!n.isInitialized&&!e.isClone){if(!n.options.initImmediate)return n.init(e,t),D(n,j(n));setTimeout(function(){n.init(e,t)},0)}return n}return k(i,[{key:"init",value:function(){var e=this,t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},r=arguments.length>1?arguments[1]:void 0;typeof t=="function"&&(r=t,t={}),t.whitelist&&!t.supportedLngs&&this.logger.deprecate("whitelist",'option "whitelist" will be renamed to "supportedLngs" in the next major - please make sure to rename this option asap.'),t.nonExplicitWhitelist&&!t.nonExplicitSupportedLngs&&this.logger.deprecate("whitelist",'options "nonExplicitWhitelist" will be renamed to "nonExplicitSupportedLngs" in the next major - please make sure to rename this option asap.'),this.options=x({},Fe(),this.options,ce(t)),this.format=this.options.interpolation.format,r||(r=_);function s(p){return p?typeof p=="function"?new p:p:null}if(!this.options.isClone){this.modules.logger?S.init(s(this.modules.logger),this.options):S.init(null,this.options);var a=new we(this.options);this.store=new Se(this.options.resources,this.options);var u=this.services;u.logger=S,u.resourceStore=this.store,u.languageUtils=a,u.pluralResolver=new Ce(a,{prepend:this.options.pluralSeparator,compatibilityJSON:this.options.compatibilityJSON,simplifyPluralSuffix:this.options.simplifyPluralSuffix}),u.interpolator=new Ne(this.options),u.utils={hasLoadedNamespace:this.hasLoadedNamespace.bind(this)},u.backendConnector=new Ee(s(this.modules.backend),u.resourceStore,u,this.options),u.backendConnector.on("*",function(p){for(var h=arguments.length,g=new Array(h>1?h-1:0),v=1;v<h;v++)g[v-1]=arguments[v];e.emit.apply(e,[p].concat(g))}),this.modules.languageDetector&&(u.languageDetector=s(this.modules.languageDetector),u.languageDetector.init(u,this.options.detection,this.options)),this.modules.i18nFormat&&(u.i18nFormat=s(this.modules.i18nFormat),u.i18nFormat.init&&u.i18nFormat.init(this)),this.translator=new fe(this.services,this.options),this.translator.on("*",function(p){for(var h=arguments.length,g=new Array(h>1?h-1:0),v=1;v<h;v++)g[v-1]=arguments[v];e.emit.apply(e,[p].concat(g))}),this.modules.external.forEach(function(p){p.init&&p.init(e)})}if(this.options.fallbackLng&&!this.services.languageDetector&&!this.options.lng){var l=this.services.languageUtils.getFallbackCodes(this.options.fallbackLng);l.length>0&&l[0]!=="dev"&&(this.options.lng=l[0])}!this.services.languageDetector&&!this.options.lng&&this.logger.warn("init: no languageDetector is used and no lng is defined");var f=["getResource","hasResourceBundle","getResourceBundle","getDataByLanguage"];f.forEach(function(p){e[p]=function(){var h;return(h=e.store)[p].apply(h,arguments)}});var c=["addResource","addResources","addResourceBundle","removeResourceBundle"];c.forEach(function(p){e[p]=function(){var h;return(h=e.store)[p].apply(h,arguments),e}});var d=U(),m=function(){var h=function(v,y){e.isInitialized&&e.logger.warn("init: i18next is already initialized. You should call init just once!"),e.isInitialized=!0,e.options.isClone||e.logger.log("initialized",e.options),e.emit("initialized",e.options),d.resolve(y),r(v,y)};if(e.languages&&e.options.compatibilityAPI!=="v1"&&!e.isInitialized)return h(null,e.t.bind(e));e.changeLanguage(e.options.lng,h)};return this.options.resources||!this.options.initImmediate?m():setTimeout(m,0),d}},{key:"loadResources",value:function(e){var t=this,r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:_,s=r,a=typeof e=="string"?e:this.language;if(typeof e=="function"&&(s=e),!this.options.resources||this.options.partialBundledLanguages){if(a&&a.toLowerCase()==="cimode")return s();var u=[],l=function(d){if(d){var m=t.services.languageUtils.toResolveHierarchy(d);m.forEach(function(p){u.indexOf(p)<0&&u.push(p)})}};if(a)l(a);else{var f=this.services.languageUtils.getFallbackCodes(this.options.fallbackLng);f.forEach(function(c){return l(c)})}this.options.preload&&this.options.preload.forEach(function(c){return l(c)}),this.services.backendConnector.load(u,this.options.ns,s)}else s(null)}},{key:"reloadResources",value:function(e,t,r){var s=U();return e||(e=this.languages),t||(t=this.options.ns),r||(r=_),this.services.backendConnector.reload(e,t,function(a){s.resolve(),r(a)}),s}},{key:"use",value:function(e){if(!e)throw new Error("You are passing an undefined module! Please check the object you are passing to i18next.use()");if(!e.type)throw new Error("You are passing a wrong module! Please check the object you are passing to i18next.use()");return e.type==="backend"&&(this.modules.backend=e),(e.type==="logger"||e.log&&e.warn&&e.error)&&(this.modules.logger=e),e.type==="languageDetector"&&(this.modules.languageDetector=e),e.type==="i18nFormat"&&(this.modules.i18nFormat=e),e.type==="postProcessor"&&he.addPostProcessor(e),e.type==="3rdParty"&&this.modules.external.push(e),this}},{key:"changeLanguage",value:function(e,t){var r=this;this.isLanguageChangingTo=e;var s=U();this.emit("languageChanging",e);var a=function(f,c){c?(r.language=c,r.languages=r.services.languageUtils.toResolveHierarchy(c),r.translator.changeLanguage(c),r.isLanguageChangingTo=void 0,r.emit("languageChanged",c),r.logger.log("languageChanged",c)):r.isLanguageChangingTo=void 0,s.resolve(function(){return r.t.apply(r,arguments)}),t&&t(f,function(){return r.t.apply(r,arguments)})},u=function(f){var c=typeof f=="string"?f:r.services.languageUtils.getBestMatchFromCodes(f);c&&(r.language||(r.language=c,r.languages=r.services.languageUtils.toResolveHierarchy(c)),r.translator.language||r.translator.changeLanguage(c),r.services.languageDetector&&r.services.languageDetector.cacheUserLanguage(c)),r.loadResources(c,function(d){a(d,c)})};return!e&&this.services.languageDetector&&!this.services.languageDetector.async?u(this.services.languageDetector.detect()):!e&&this.services.languageDetector&&this.services.languageDetector.async?this.services.languageDetector.detect(u):u(e),s}},{key:"getFixedT",value:function(e,t){var r=this,s=function a(u,l){var f;if(V(l)!=="object"){for(var c=arguments.length,d=new Array(c>2?c-2:0),m=2;m<c;m++)d[m-2]=arguments[m];f=r.options.overloadTranslationOptionHandler([u,l].concat(d))}else f=x({},l);return f.lng=f.lng||a.lng,f.lngs=f.lngs||a.lngs,f.ns=f.ns||a.ns,r.t(u,f)};return typeof e=="string"?s.lng=e:s.lngs=e,s.ns=t,s}},{key:"t",value:function(){var e;return this.translator&&(e=this.translator).translate.apply(e,arguments)}},{key:"exists",value:function(){var e;return this.translator&&(e=this.translator).exists.apply(e,arguments)}},{key:"setDefaultNamespace",value:function(e){this.options.defaultNS=e}},{key:"hasLoadedNamespace",value:function(e){var t=this,r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(!this.isInitialized)return this.logger.warn("hasLoadedNamespace: i18next was not initialized",this.languages),!1;if(!this.languages||!this.languages.length)return this.logger.warn("hasLoadedNamespace: i18n.languages were undefined or empty",this.languages),!1;var s=this.languages[0],a=this.options?this.options.fallbackLng:!1,u=this.languages[this.languages.length-1];if(s.toLowerCase()==="cimode")return!0;var l=function(d,m){var p=t.services.backendConnector.state["".concat(d,"|").concat(m)];return p===-1||p===2};if(r.precheck){var f=r.precheck(this,l);if(f!==void 0)return f}return!!(this.hasResourceBundle(s,e)||!this.services.backendConnector.backend||l(s,e)&&(!a||l(u,e)))}},{key:"loadNamespaces",value:function(e,t){var r=this,s=U();return this.options.ns?(typeof e=="string"&&(e=[e]),e.forEach(function(a){r.options.ns.indexOf(a)<0&&r.options.ns.push(a)}),this.loadResources(function(a){s.resolve(),t&&t(a)}),s):(t&&t(),Promise.resolve())}},{key:"loadLanguages",value:function(e,t){var r=U();typeof e=="string"&&(e=[e]);var s=this.options.preload||[],a=e.filter(function(u){return s.indexOf(u)<0});return a.length?(this.options.preload=s.concat(a),this.loadResources(function(u){r.resolve(),t&&t(u)}),r):(t&&t(),Promise.resolve())}},{key:"dir",value:function(e){if(e||(e=this.languages&&this.languages.length>0?this.languages[0]:this.language),!e)return"rtl";var t=["ar","shu","sqr","ssh","xaa","yhd","yud","aao","abh","abv","acm","acq","acw","acx","acy","adf","ads","aeb","aec","afb","ajp","apc","apd","arb","arq","ars","ary","arz","auz","avl","ayh","ayl","ayn","ayp","bbz","pga","he","iw","ps","pbt","pbu","pst","prp","prd","ug","ur","ydd","yds","yih","ji","yi","hbo","men","xmn","fa","jpr","peo","pes","prs","dv","sam"];return t.indexOf(this.services.languageUtils.getLanguagePartFromCode(e))>=0?"rtl":"ltr"}},{key:"createInstance",value:function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;return new i(e,t)}},{key:"cloneInstance",value:function(){var e=this,t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:_,s=x({},this.options,t,{isClone:!0}),a=new i(s),u=["store","services","language"];return u.forEach(function(l){a[l]=e[l]}),a.services=x({},this.services),a.services.utils={hasLoadedNamespace:a.hasLoadedNamespace.bind(a)},a.translator=new fe(a.services,a.options),a.translator.on("*",function(l){for(var f=arguments.length,c=new Array(f>1?f-1:0),d=1;d<f;d++)c[d-1]=arguments[d];a.emit.apply(a,[l].concat(c))}),a.init(s,r),a.translator.options=a.options,a.translator.backendConnector.services.utils={hasLoadedNamespace:a.hasLoadedNamespace.bind(a)},a}}]),i}(O),Te=new je;module.exports=Te;
|
|
2
2
|
//# sourceMappingURL=index.cjs196.js.map
|
package/dist/index.cjs202.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const b=require("react"),f=require("./index.
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const b=require("react"),f=require("./index.cjs231.js");function S(e){const o=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const t in e)if(t!=="default"){const n=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(o,t,n.get?n:{enumerable:!0,get:()=>e[t]})}}return o.default=e,Object.freeze(o)}const s=S(b);function g({prop:e,defaultProp:o,onChange:t=()=>{}}){const[n,c]=v({defaultProp:o,onChange:t}),l=e!==void 0,i=l?e:n,u=f.useCallbackRef(t),d=s.useCallback(r=>{if(l){const a=typeof r=="function"?r(e):r;a!==e&&u(a)}else c(r)},[l,e,c,u]);return[i,d]}function v({defaultProp:e,onChange:o}){const t=s.useState(e),[n]=t,c=s.useRef(n),l=f.useCallbackRef(o);return s.useEffect(()=>{c.current!==n&&(l(n),c.current=n)},[n,c,l]),t}exports.useControllableState=g;
|
|
2
2
|
//# sourceMappingURL=index.cjs202.js.map
|
package/dist/index.cjs205.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("react"),b=require("./index.
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("react"),b=require("./index.cjs232.js");function d(e){const r=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const t in e)if(t!=="default"){const i=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(r,t,i.get?i:{enumerable:!0,get:()=>e[t]})}}return r.default=e,Object.freeze(r)}const S=d(a);function z(e){const[r,t]=S.useState(void 0);return b.useLayoutEffect(()=>{if(e){t({width:e.offsetWidth,height:e.offsetHeight});const i=new ResizeObserver(o=>{if(!Array.isArray(o)||!o.length)return;const u=o[0];let s,n;if("borderBoxSize"in u){const c=u.borderBoxSize,f=Array.isArray(c)?c[0]:c;s=f.inlineSize,n=f.blockSize}else s=e.offsetWidth,n=e.offsetHeight;t({width:s,height:n})});return i.observe(e,{box:"border-box"}),()=>i.unobserve(e)}else t(void 0)},[e]),r}exports.useSize=z;
|
|
2
2
|
//# sourceMappingURL=index.cjs205.js.map
|
package/dist/index.cjs206.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const c=require("react");require("react-dom");const s=require("./index.
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const c=require("react");require("react-dom");const s=require("./index.cjs233.js"),l=require("./index.cjs73.js");function f(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const r in e)if(r!=="default"){const i=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(t,r,i.get?i:{enumerable:!0,get:()=>e[r]})}}return t.default=e,Object.freeze(t)}const d=f(c);var m=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","span","svg","ul"],p=m.reduce((e,t)=>{const r=d.forwardRef((i,n)=>{const{asChild:o,...u}=i,a=o?s.Slot:t;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),l.jsxRuntimeExports.jsx(a,{...u,ref:n})});return r.displayName=`Primitive.${t}`,{...e,[t]:r}},{});exports.Primitive=p;
|
|
2
2
|
//# sourceMappingURL=index.cjs206.js.map
|
package/dist/index.cjs207.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("react"),y=require("./index.cjs201.js"),M=require("./index.cjs200.js"),I=require("./index.
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("react"),y=require("./index.cjs201.js"),M=require("./index.cjs200.js"),I=require("./index.cjs233.js"),f=require("./index.cjs73.js");function O(l){const u=l+"CollectionProvider",[E,A]=y.createContextScope(u),[N,d]=E(u,{collectionRef:{current:null},itemMap:new Map}),a=n=>{const{scope:e,children:s}=n,t=r.useRef(null),o=r.useRef(new Map).current;return f.jsxRuntimeExports.jsx(N,{scope:e,itemMap:o,collectionRef:t,children:s})};a.displayName=u;const m=l+"CollectionSlot",p=r.forwardRef((n,e)=>{const{scope:s,children:t}=n,o=d(m,s),c=M.useComposedRefs(e,o.collectionRef);return f.jsxRuntimeExports.jsx(I.Slot,{ref:c,children:t})});p.displayName=m;const C=l+"CollectionItemSlot",x="data-radix-collection-item",R=r.forwardRef((n,e)=>{const{scope:s,children:t,...o}=n,c=r.useRef(null),S=M.useComposedRefs(e,c),i=d(C,s);return r.useEffect(()=>(i.itemMap.set(c,{ref:c,...o}),()=>void i.itemMap.delete(c))),f.jsxRuntimeExports.jsx(I.Slot,{[x]:"",ref:S,children:t})});R.displayName=C;function T(n){const e=d(l+"CollectionConsumer",n);return r.useCallback(()=>{const t=e.collectionRef.current;if(!t)return[];const o=Array.from(t.querySelectorAll(`[${x}]`));return Array.from(e.itemMap.values()).sort((i,j)=>o.indexOf(i.ref.current)-o.indexOf(j.ref.current))},[e.collectionRef,e.itemMap])}return[{Provider:a,Slot:p,ItemSlot:R},T,A]}exports.createCollection=O;
|
|
2
2
|
//# sourceMappingURL=index.cjs207.js.map
|
package/dist/index.cjs211.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const q=require("react"),y=require("./index.cjs208.js"),p=require("./index.cjs215.js"),R=require("./index.cjs209.js"),x=require("./index.
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const q=require("react"),y=require("./index.cjs208.js"),p=require("./index.cjs215.js"),R=require("./index.cjs209.js"),x=require("./index.cjs234.js"),H=require("./index.cjs235.js"),w=require("./index.cjs73.js");function U(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const n in e)if(n!=="default"){const s=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(t,n,s.get?s:{enumerable:!0,get:()=>e[n]})}}return t.default=e,Object.freeze(t)}const o=U(q);var z="DismissableLayer",h="dismissableLayer.update",M="dismissableLayer.pointerDownOutside",$="dismissableLayer.focusOutside",L,T=o.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),S=o.forwardRef((e,t)=>{const{disableOutsidePointerEvents:n=!1,onEscapeKeyDown:s,onPointerDownOutside:r,onFocusOutside:a,onInteractOutside:l,onDismiss:d,...v}=e,c=o.useContext(T),[u,F]=o.useState(null),f=(u==null?void 0:u.ownerDocument)??(globalThis==null?void 0:globalThis.document),[,N]=o.useState({}),W=R.useComposedRefs(t,i=>F(i)),m=Array.from(c.layers),[_]=[...c.layersWithOutsidePointerEventsDisabled].slice(-1),A=m.indexOf(_),P=u?m.indexOf(u):-1,k=c.layersWithOutsidePointerEventsDisabled.size>0,D=P>=A,I=Y(i=>{const E=i.target,C=[...c.branches].some(b=>b.contains(E));!D||C||(r==null||r(i),l==null||l(i),i.defaultPrevented||d==null||d())},f),O=G(i=>{const E=i.target;[...c.branches].some(b=>b.contains(E))||(a==null||a(i),l==null||l(i),i.defaultPrevented||d==null||d())},f);return H.useEscapeKeydown(i=>{P===c.layers.size-1&&(s==null||s(i),!i.defaultPrevented&&d&&(i.preventDefault(),d()))},f),o.useEffect(()=>{if(u)return n&&(c.layersWithOutsidePointerEventsDisabled.size===0&&(L=f.body.style.pointerEvents,f.body.style.pointerEvents="none"),c.layersWithOutsidePointerEventsDisabled.add(u)),c.layers.add(u),g(),()=>{n&&c.layersWithOutsidePointerEventsDisabled.size===1&&(f.body.style.pointerEvents=L)}},[u,f,n,c]),o.useEffect(()=>()=>{u&&(c.layers.delete(u),c.layersWithOutsidePointerEventsDisabled.delete(u),g())},[u,c]),o.useEffect(()=>{const i=()=>N({});return document.addEventListener(h,i),()=>document.removeEventListener(h,i)},[]),w.jsxRuntimeExports.jsx(p.Primitive.div,{...v,ref:W,style:{pointerEvents:k?D?"auto":"none":void 0,...e.style},onFocusCapture:y.composeEventHandlers(e.onFocusCapture,O.onFocusCapture),onBlurCapture:y.composeEventHandlers(e.onBlurCapture,O.onBlurCapture),onPointerDownCapture:y.composeEventHandlers(e.onPointerDownCapture,I.onPointerDownCapture)})});S.displayName=z;var X="DismissableLayerBranch",B=o.forwardRef((e,t)=>{const n=o.useContext(T),s=o.useRef(null),r=R.useComposedRefs(t,s);return o.useEffect(()=>{const a=s.current;if(a)return n.branches.add(a),()=>{n.branches.delete(a)}},[n.branches]),w.jsxRuntimeExports.jsx(p.Primitive.div,{...e,ref:r})});B.displayName=X;function Y(e,t=globalThis==null?void 0:globalThis.document){const n=x.useCallbackRef(e),s=o.useRef(!1),r=o.useRef(()=>{});return o.useEffect(()=>{const a=d=>{if(d.target&&!s.current){let v=function(){j(M,n,c,{discrete:!0})};const c={originalEvent:d};d.pointerType==="touch"?(t.removeEventListener("click",r.current),r.current=v,t.addEventListener("click",r.current,{once:!0})):v()}else t.removeEventListener("click",r.current);s.current=!1},l=window.setTimeout(()=>{t.addEventListener("pointerdown",a)},0);return()=>{window.clearTimeout(l),t.removeEventListener("pointerdown",a),t.removeEventListener("click",r.current)}},[t,n]),{onPointerDownCapture:()=>s.current=!0}}function G(e,t=globalThis==null?void 0:globalThis.document){const n=x.useCallbackRef(e),s=o.useRef(!1);return o.useEffect(()=>{const r=a=>{a.target&&!s.current&&j($,n,{originalEvent:a},{discrete:!1})};return t.addEventListener("focusin",r),()=>t.removeEventListener("focusin",r)},[t,n]),{onFocusCapture:()=>s.current=!0,onBlurCapture:()=>s.current=!1}}function g(){const e=new CustomEvent(h);document.dispatchEvent(e)}function j(e,t,n,{discrete:s}){const r=n.originalEvent.target,a=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:n});t&&r.addEventListener(e,t,{once:!0}),s?p.dispatchDiscreteCustomEvent(r,a):r.dispatchEvent(a)}exports.DismissableLayer=S;exports.DismissableLayerBranch=B;
|
|
2
2
|
//# sourceMappingURL=index.cjs211.js.map
|
package/dist/index.cjs212.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const u=require("react"),c=require("./index.
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const u=require("react"),c=require("./index.cjs236.js");function a(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const r in e)if(r!=="default"){const n=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(t,r,n.get?n:{enumerable:!0,get:()=>e[r]})}}return t.default=e,Object.freeze(t)}const o=a(u);var s=o.useId||(()=>{}),i=0;function f(e){const[t,r]=o.useState(s());return c.useLayoutEffect(()=>{e||r(n=>n??String(i++))},[e]),e||(t?`radix-${t}`:"")}exports.useId=f;
|
|
2
2
|
//# sourceMappingURL=index.cjs212.js.map
|