@performant-software/core-data 2.3.6-beta.3 → 2.3.6-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.cjs105.js +1 -1
- package/dist/index.cjs106.js +1 -1
- package/dist/index.cjs115.js +1 -1
- package/dist/index.cjs143.js +1 -1
- package/dist/index.cjs144.js +1 -1
- package/dist/index.cjs150.js +1 -1
- package/dist/index.cjs151.js +1 -1
- package/dist/index.cjs164.js +1 -1
- package/dist/index.cjs172.js +1 -1
- package/dist/index.cjs174.js +1 -1
- package/dist/index.cjs175.js +1 -1
- package/dist/index.cjs176.js +1 -1
- package/dist/index.cjs177.js +1 -1
- package/dist/index.cjs177.js.map +1 -1
- package/dist/index.cjs178.js +1 -1
- package/dist/index.cjs178.js.map +1 -1
- package/dist/index.cjs179.js +1 -1
- package/dist/index.cjs179.js.map +1 -1
- package/dist/index.cjs180.js +1 -1
- package/dist/index.cjs180.js.map +1 -1
- package/dist/index.cjs181.js +1 -1
- package/dist/index.cjs181.js.map +1 -1
- package/dist/index.cjs182.js +1 -1
- package/dist/index.cjs182.js.map +1 -1
- package/dist/index.cjs183.js +1 -1
- package/dist/index.cjs183.js.map +1 -1
- package/dist/index.cjs184.js +1 -1
- package/dist/index.cjs184.js.map +1 -1
- package/dist/index.cjs185.js +1 -1
- package/dist/index.cjs185.js.map +1 -1
- package/dist/index.cjs186.js +1 -1
- package/dist/index.cjs186.js.map +1 -1
- package/dist/index.cjs187.js +1 -1
- package/dist/index.cjs187.js.map +1 -1
- package/dist/index.cjs188.js +1 -1
- package/dist/index.cjs188.js.map +1 -1
- package/dist/index.cjs189.js +1 -1
- package/dist/index.cjs189.js.map +1 -1
- package/dist/index.cjs190.js +1 -1
- package/dist/index.cjs190.js.map +1 -1
- package/dist/index.cjs191.js +1 -1
- package/dist/index.cjs191.js.map +1 -1
- package/dist/index.cjs192.js +1 -1
- package/dist/index.cjs192.js.map +1 -1
- package/dist/index.cjs193.js +1 -1
- package/dist/index.cjs193.js.map +1 -1
- package/dist/index.cjs194.js +1 -1
- package/dist/index.cjs194.js.map +1 -1
- package/dist/index.cjs195.js +1 -1
- package/dist/index.cjs195.js.map +1 -1
- package/dist/index.cjs196.js +1 -1
- package/dist/index.cjs196.js.map +1 -1
- package/dist/index.cjs197.js +1 -1
- package/dist/index.cjs197.js.map +1 -1
- package/dist/index.cjs213.js +1 -1
- package/dist/index.cjs219.js +1 -1
- package/dist/index.cjs220.js +1 -1
- package/dist/index.cjs220.js.map +1 -1
- package/dist/index.cjs221.js +1 -1
- package/dist/index.cjs221.js.map +1 -1
- package/dist/index.cjs222.js +1 -1
- package/dist/index.cjs222.js.map +1 -1
- package/dist/index.cjs223.js +1 -1
- package/dist/index.cjs223.js.map +1 -1
- package/dist/index.cjs224.js +1 -1
- package/dist/index.cjs224.js.map +1 -1
- package/dist/index.cjs225.js +1 -1
- package/dist/index.cjs225.js.map +1 -1
- package/dist/index.cjs226.js +1 -1
- package/dist/index.cjs226.js.map +1 -1
- package/dist/index.cjs227.js +1 -1
- package/dist/index.cjs227.js.map +1 -1
- package/dist/index.cjs228.js +1 -1
- package/dist/index.cjs228.js.map +1 -1
- package/dist/index.cjs229.js +1 -1
- package/dist/index.cjs229.js.map +1 -1
- package/dist/index.cjs230.js +1 -1
- package/dist/index.cjs230.js.map +1 -1
- package/dist/index.cjs239.js +1 -1
- package/dist/index.cjs241.js +1 -1
- package/dist/index.cjs242.js +1 -1
- package/dist/index.cjs244.js +1 -1
- package/dist/index.cjs245.js +1 -1
- package/dist/index.cjs249.js +1 -1
- package/dist/index.cjs252.js +1 -1
- package/dist/index.cjs254.js +1 -1
- package/dist/index.cjs255.js +1 -1
- package/dist/index.cjs258.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.cjs277.js +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.cjs422.js +1 -1
- package/dist/index.cjs423.js +1 -1
- package/dist/index.cjs427.js +1 -1
- package/dist/index.cjs428.js +1 -1
- package/dist/index.cjs429.js +1 -1
- package/dist/index.cjs429.js.map +1 -1
- package/dist/index.cjs430.js +1 -1
- package/dist/index.cjs430.js.map +1 -1
- package/dist/index.cjs431.js +1 -1
- package/dist/index.cjs431.js.map +1 -1
- package/dist/index.cjs432.js +1 -1
- package/dist/index.cjs432.js.map +1 -1
- package/dist/index.cjs433.js +1 -1
- package/dist/index.cjs433.js.map +1 -1
- package/dist/index.cjs434.js +1 -1
- package/dist/index.cjs435.js +1 -1
- package/dist/index.cjs436.js +1 -1
- package/dist/index.cjs438.js +1 -1
- package/dist/index.cjs445.js +1 -1
- package/dist/index.cjs447.js +1 -1
- package/dist/index.cjs448.js +1 -1
- package/dist/index.cjs449.js +1 -1
- package/dist/index.cjs450.js +1 -1
- package/dist/index.cjs451.js +1 -1
- package/dist/index.cjs457.js +1 -1
- package/dist/index.cjs458.js +1 -1
- package/dist/index.cjs462.js +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.cjs468.js.map +1 -1
- package/dist/index.cjs469.js +1 -1
- package/dist/index.cjs469.js.map +1 -1
- package/dist/index.cjs470.js +1 -1
- package/dist/index.cjs470.js.map +1 -1
- package/dist/index.cjs471.js +1 -1
- package/dist/index.cjs471.js.map +1 -1
- package/dist/index.cjs472.js +1 -1
- package/dist/index.cjs472.js.map +1 -1
- package/dist/index.cjs473.js +1 -1
- package/dist/index.cjs473.js.map +1 -1
- package/dist/index.cjs474.js +1 -1
- package/dist/index.cjs474.js.map +1 -1
- package/dist/index.cjs475.js +1 -1
- package/dist/index.cjs475.js.map +1 -1
- package/dist/index.cjs476.js +1 -1
- package/dist/index.cjs476.js.map +1 -1
- package/dist/index.cjs477.js +1 -1
- package/dist/index.cjs477.js.map +1 -1
- package/dist/index.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.cjs502.js +1 -1
- package/dist/index.cjs502.js.map +1 -1
- package/dist/index.cjs503.js +1 -1
- package/dist/index.cjs503.js.map +1 -1
- package/dist/index.cjs504.js +1 -1
- package/dist/index.cjs504.js.map +1 -1
- package/dist/index.cjs505.js +1 -1
- package/dist/index.cjs505.js.map +1 -1
- package/dist/index.cjs506.js +1 -1
- package/dist/index.cjs506.js.map +1 -1
- package/dist/index.cjs507.js +1 -1
- package/dist/index.cjs507.js.map +1 -1
- package/dist/index.cjs508.js +1 -1
- package/dist/index.cjs508.js.map +1 -1
- package/dist/index.cjs509.js +1 -1
- package/dist/index.cjs509.js.map +1 -1
- package/dist/index.cjs510.js +1 -1
- package/dist/index.cjs510.js.map +1 -1
- package/dist/index.cjs511.js +1 -1
- package/dist/index.cjs511.js.map +1 -1
- package/dist/index.cjs512.js +1 -1
- package/dist/index.cjs512.js.map +1 -1
- package/dist/index.cjs513.js +1 -1
- package/dist/index.cjs513.js.map +1 -1
- package/dist/index.cjs514.js +1 -1
- package/dist/index.cjs514.js.map +1 -1
- package/dist/index.cjs515.js +1 -1
- package/dist/index.cjs515.js.map +1 -1
- package/dist/index.cjs516.js +1 -1
- package/dist/index.cjs516.js.map +1 -1
- package/dist/index.cjs517.js +1 -1
- package/dist/index.cjs517.js.map +1 -1
- package/dist/index.cjs518.js +1 -1
- package/dist/index.cjs518.js.map +1 -1
- package/dist/index.cjs519.js.map +1 -1
- package/dist/index.cjs520.js +1 -1
- package/dist/index.cjs520.js.map +1 -1
- package/dist/index.cjs522.js +2 -2
- package/dist/index.cjs522.js.map +1 -1
- package/dist/index.cjs524.js +1 -1
- package/dist/index.cjs524.js.map +1 -1
- package/dist/index.cjs525.js +1 -1
- package/dist/index.cjs525.js.map +1 -1
- package/dist/index.cjs526.js +1 -4
- package/dist/index.cjs526.js.map +1 -1
- package/dist/index.cjs527.js +4 -1
- package/dist/index.cjs527.js.map +1 -1
- package/dist/index.cjs528.js +1 -1
- package/dist/index.cjs528.js.map +1 -1
- package/dist/index.cjs529.js +1 -1
- package/dist/index.cjs530.js +1 -1
- package/dist/index.cjs530.js.map +1 -1
- package/dist/index.cjs531.js +5 -1
- package/dist/index.cjs531.js.map +1 -1
- package/dist/index.cjs532.js +1 -2
- package/dist/index.cjs532.js.map +1 -1
- package/dist/index.cjs533.js +1 -1
- package/dist/index.cjs533.js.map +1 -1
- package/dist/index.cjs534.js +1 -1
- package/dist/index.cjs534.js.map +1 -1
- package/dist/index.cjs535.js +12 -1
- package/dist/index.cjs535.js.map +1 -1
- package/dist/index.cjs536.js +1 -1
- package/dist/index.cjs536.js.map +1 -1
- package/dist/index.cjs537.js +1 -1
- package/dist/index.cjs537.js.map +1 -1
- package/dist/index.cjs538.js +1 -1
- package/dist/index.cjs538.js.map +1 -1
- package/dist/index.cjs539.js +1 -1
- package/dist/index.cjs539.js.map +1 -1
- package/dist/index.cjs541.js +1 -1
- package/dist/index.cjs541.js.map +1 -1
- package/dist/index.cjs543.js +2 -1
- package/dist/index.cjs543.js.map +1 -1
- package/dist/index.cjs544.js +1 -1
- package/dist/index.cjs544.js.map +1 -1
- package/dist/index.cjs545.js +1 -1
- package/dist/index.cjs545.js.map +1 -1
- package/dist/index.cjs546.js +1 -1
- package/dist/index.cjs546.js.map +1 -1
- package/dist/index.cjs547.js +1 -1
- package/dist/index.cjs547.js.map +1 -1
- package/dist/index.cjs548.js +1 -1
- package/dist/index.cjs548.js.map +1 -1
- package/dist/index.cjs549.js +1 -5
- package/dist/index.cjs549.js.map +1 -1
- package/dist/index.cjs550.js +1 -1
- package/dist/index.cjs550.js.map +1 -1
- package/dist/index.cjs552.js +1 -1
- package/dist/index.cjs552.js.map +1 -1
- package/dist/index.cjs553.js +1 -12
- package/dist/index.cjs553.js.map +1 -1
- package/dist/index.cjs554.js +1 -1
- package/dist/index.cjs554.js.map +1 -1
- package/dist/index.cjs555.js +1 -1
- package/dist/index.cjs555.js.map +1 -1
- package/dist/index.cjs556.js +1 -1
- package/dist/index.cjs556.js.map +1 -1
- package/dist/index.cjs557.js +1 -1
- package/dist/index.cjs557.js.map +1 -1
- package/dist/index.cjs558.js +1 -1
- package/dist/index.cjs558.js.map +1 -1
- package/dist/index.cjs559.js +4 -1
- package/dist/index.cjs559.js.map +1 -1
- package/dist/index.cjs560.js +1 -4
- package/dist/index.cjs560.js.map +1 -1
- package/dist/index.cjs561.js +1 -1
- package/dist/index.cjs561.js.map +1 -1
- package/dist/index.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.cjs566.js +1 -1
- package/dist/index.cjs566.js.map +1 -1
- package/dist/index.cjs567.js +1 -1
- package/dist/index.cjs567.js.map +1 -1
- package/dist/index.cjs568.js +1 -1
- package/dist/index.cjs568.js.map +1 -1
- package/dist/index.cjs569.js +1 -1
- package/dist/index.cjs569.js.map +1 -1
- package/dist/index.cjs570.js +1 -1
- package/dist/index.cjs570.js.map +1 -1
- package/dist/index.cjs571.js +1 -1
- package/dist/index.cjs571.js.map +1 -1
- package/dist/index.cjs572.js +1 -1
- package/dist/index.cjs572.js.map +1 -1
- package/dist/index.cjs573.js +1 -1
- package/dist/index.cjs573.js.map +1 -1
- package/dist/index.cjs574.js +1 -1
- package/dist/index.cjs574.js.map +1 -1
- package/dist/index.cjs575.js +1 -1
- package/dist/index.cjs575.js.map +1 -1
- package/dist/index.cjs576.js +1 -1
- package/dist/index.cjs576.js.map +1 -1
- package/dist/index.cjs577.js +1 -1
- package/dist/index.cjs577.js.map +1 -1
- package/dist/index.cjs578.js +1 -1
- package/dist/index.cjs578.js.map +1 -1
- package/dist/index.cjs579.js +1 -1
- package/dist/index.cjs579.js.map +1 -1
- package/dist/index.cjs580.js +1 -1
- package/dist/index.cjs580.js.map +1 -1
- package/dist/index.cjs581.js +1 -1
- package/dist/index.cjs581.js.map +1 -1
- package/dist/index.cjs582.js +1 -1
- package/dist/index.cjs582.js.map +1 -1
- package/dist/index.cjs583.js +1 -1
- package/dist/index.cjs583.js.map +1 -1
- package/dist/index.cjs584.js +1 -1
- package/dist/index.cjs584.js.map +1 -1
- package/dist/index.cjs585.js +1 -1
- package/dist/index.cjs585.js.map +1 -1
- package/dist/index.cjs586.js +1 -1
- package/dist/index.cjs586.js.map +1 -1
- package/dist/index.cjs587.js +1 -1
- package/dist/index.cjs587.js.map +1 -1
- package/dist/index.cjs588.js +1 -1
- package/dist/index.cjs588.js.map +1 -1
- package/dist/index.cjs589.js +1 -1
- package/dist/index.cjs589.js.map +1 -1
- package/dist/index.cjs590.js +1 -1
- package/dist/index.cjs590.js.map +1 -1
- package/dist/index.cjs591.js +1 -1
- package/dist/index.cjs591.js.map +1 -1
- package/dist/index.cjs592.js +1 -1
- package/dist/index.cjs592.js.map +1 -1
- package/dist/index.cjs593.js +1 -1
- package/dist/index.cjs593.js.map +1 -1
- package/dist/index.cjs594.js +1 -1
- package/dist/index.cjs594.js.map +1 -1
- package/dist/index.cjs595.js +1 -1
- package/dist/index.cjs595.js.map +1 -1
- package/dist/index.cjs596.js +1 -1
- package/dist/index.cjs596.js.map +1 -1
- package/dist/index.cjs597.js +1 -1
- package/dist/index.cjs597.js.map +1 -1
- package/dist/index.cjs598.js +1 -1
- package/dist/index.cjs598.js.map +1 -1
- package/dist/index.cjs599.js +1 -1
- package/dist/index.cjs599.js.map +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 -2
- 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 -1
- package/dist/index.cjs605.js +38 -1
- package/dist/index.cjs605.js.map +1 -1
- package/dist/index.cjs606.js +1 -1
- package/dist/index.cjs606.js.map +1 -1
- package/dist/index.cjs607.js +1 -1
- package/dist/index.cjs607.js.map +1 -1
- package/dist/index.cjs608.js +1 -2
- package/dist/index.cjs608.js.map +1 -1
- package/dist/index.cjs609.js +1 -1
- package/dist/index.cjs609.js.map +1 -1
- package/dist/index.cjs610.js +1 -1
- package/dist/index.cjs610.js.map +1 -1
- package/dist/index.cjs611.js +1 -38
- package/dist/index.cjs611.js.map +1 -1
- package/dist/index.cjs612.js +1 -1
- package/dist/index.cjs612.js.map +1 -1
- package/dist/index.cjs613.js +1 -1
- package/dist/index.cjs613.js.map +1 -1
- package/dist/index.cjs614.js +2 -1
- package/dist/index.cjs614.js.map +1 -1
- package/dist/index.cjs615.js +1 -1
- package/dist/index.cjs615.js.map +1 -1
- package/dist/index.cjs616.js +1 -38
- package/dist/index.cjs616.js.map +1 -1
- package/dist/index.cjs617.js +38 -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.cjs620.js +1 -1
- package/dist/index.cjs620.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.cjs624.js +1 -1
- package/dist/index.cjs624.js.map +1 -1
- package/dist/index.cjs625.js +1 -1
- package/dist/index.cjs625.js.map +1 -1
- package/dist/index.cjs626.js +1 -1
- package/dist/index.cjs626.js.map +1 -1
- package/dist/index.cjs627.js +1 -1
- package/dist/index.cjs627.js.map +1 -1
- package/dist/index.cjs628.js +1 -1
- package/dist/index.cjs629.js +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 +1 -1
- package/dist/index.cjs634.js +1 -1
- package/dist/index.cjs634.js.map +1 -1
- package/dist/index.cjs635.js +1 -1
- package/dist/index.cjs635.js.map +1 -1
- package/dist/index.cjs636.js +1 -1
- package/dist/index.cjs638.js +1 -1
- package/dist/index.cjs643.js +1 -1
- package/dist/index.cjs645.js +1 -1
- package/dist/index.cjs647.js +1 -1
- package/dist/index.cjs647.js.map +1 -1
- package/dist/index.cjs648.js +1 -1
- package/dist/index.cjs648.js.map +1 -1
- package/dist/index.cjs649.js +1 -1
- package/dist/index.cjs649.js.map +1 -1
- package/dist/index.cjs650.js +1 -1
- package/dist/index.cjs650.js.map +1 -1
- package/dist/index.cjs651.js +1 -1
- package/dist/index.cjs651.js.map +1 -1
- package/dist/index.cjs652.js +1 -1
- package/dist/index.cjs652.js.map +1 -1
- package/dist/index.cjs653.js +1 -1
- package/dist/index.cjs653.js.map +1 -1
- package/dist/index.cjs654.js +1 -1
- package/dist/index.cjs654.js.map +1 -1
- package/dist/index.cjs657.js +1 -1
- package/dist/index.cjs658.js +1 -1
- package/dist/index.cjs659.js +1 -1
- package/dist/index.cjs660.js +1 -1
- package/dist/index.cjs661.js +1 -1
- package/dist/index.cjs662.js +1 -1
- package/dist/index.cjs686.js +1 -1
- package/dist/index.cjs691.js +1 -1
- package/dist/index.cjs692.js +1 -1
- package/dist/index.cjs693.js +1 -1
- package/dist/index.cjs693.js.map +1 -1
- package/dist/index.cjs699.js +1 -1
- package/dist/index.cjs699.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.cjs707.js +1 -1
- package/dist/index.cjs707.js.map +1 -1
- package/dist/index.cjs71.js +1 -1
- package/dist/index.cjs71.js.map +1 -1
- package/dist/index.cjs74.js +1 -1
- package/dist/index.cjs78.js +1 -1
- package/dist/index.cjs79.js +1 -1
- package/dist/index.cjs80.js +1 -1
- package/dist/index.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.es105.js +15 -15
- package/dist/index.es106.js +2 -2
- package/dist/index.es115.js +1 -1
- package/dist/index.es143.js +1 -1
- package/dist/index.es144.js +1 -1
- package/dist/index.es150.js +3 -3
- package/dist/index.es151.js +2 -2
- package/dist/index.es164.js +4 -4
- package/dist/index.es172.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.es177.js +57 -6
- package/dist/index.es177.js.map +1 -1
- package/dist/index.es178.js +104 -11
- package/dist/index.es178.js.map +1 -1
- package/dist/index.es179.js +15 -52
- package/dist/index.es179.js.map +1 -1
- package/dist/index.es180.js +6 -124
- package/dist/index.es180.js.map +1 -1
- package/dist/index.es181.js +6 -14
- package/dist/index.es181.js.map +1 -1
- package/dist/index.es182.js +9 -141
- package/dist/index.es182.js.map +1 -1
- package/dist/index.es183.js +52 -10
- package/dist/index.es183.js.map +1 -1
- package/dist/index.es184.js +113 -207
- package/dist/index.es184.js.map +1 -1
- package/dist/index.es185.js +14 -13
- package/dist/index.es185.js.map +1 -1
- package/dist/index.es186.js +135 -55
- package/dist/index.es186.js.map +1 -1
- package/dist/index.es187.js +10 -32
- package/dist/index.es187.js.map +1 -1
- package/dist/index.es188.js +213 -40
- package/dist/index.es188.js.map +1 -1
- package/dist/index.es189.js +14 -30
- package/dist/index.es189.js.map +1 -1
- package/dist/index.es190.js +62 -45
- package/dist/index.es190.js.map +1 -1
- package/dist/index.es191.js +33 -10
- package/dist/index.es191.js.map +1 -1
- package/dist/index.es192.js +40 -1334
- package/dist/index.es192.js.map +1 -1
- package/dist/index.es193.js +29 -43
- package/dist/index.es193.js.map +1 -1
- package/dist/index.es194.js +46 -57
- package/dist/index.es194.js.map +1 -1
- package/dist/index.es195.js +9 -104
- package/dist/index.es195.js.map +1 -1
- package/dist/index.es196.js +1339 -15
- package/dist/index.es196.js.map +1 -1
- package/dist/index.es197.js +44 -7
- package/dist/index.es197.js.map +1 -1
- package/dist/index.es213.js +3 -3
- package/dist/index.es219.js +5 -5
- package/dist/index.es220.js +9 -12
- package/dist/index.es220.js.map +1 -1
- package/dist/index.es221.js +12 -4
- package/dist/index.es221.js.map +1 -1
- package/dist/index.es222.js +4 -51
- package/dist/index.es222.js.map +1 -1
- package/dist/index.es223.js +179 -10
- package/dist/index.es223.js.map +1 -1
- package/dist/index.es224.js +22 -12
- package/dist/index.es224.js.map +1 -1
- package/dist/index.es225.js +25 -4
- package/dist/index.es225.js.map +1 -1
- package/dist/index.es226.js +369 -167
- package/dist/index.es226.js.map +1 -1
- package/dist/index.es227.js +516 -21
- package/dist/index.es227.js.map +1 -1
- package/dist/index.es228.js +13 -24
- package/dist/index.es228.js.map +1 -1
- package/dist/index.es229.js +3 -381
- package/dist/index.es229.js.map +1 -1
- package/dist/index.es230.js +45 -511
- package/dist/index.es230.js.map +1 -1
- package/dist/index.es239.js +1 -1
- package/dist/index.es241.js +1 -1
- package/dist/index.es242.js +5 -5
- package/dist/index.es244.js +4 -4
- package/dist/index.es245.js +2 -2
- package/dist/index.es249.js +2 -2
- package/dist/index.es252.js +1 -1
- package/dist/index.es254.js +3 -3
- package/dist/index.es255.js +7 -7
- package/dist/index.es258.js +3 -3
- 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.es277.js +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.es422.js +1 -1
- package/dist/index.es423.js +1 -1
- package/dist/index.es427.js +2 -2
- package/dist/index.es428.js +2 -2
- package/dist/index.es429.js +3 -28
- package/dist/index.es429.js.map +1 -1
- package/dist/index.es430.js +8 -5
- 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 +29 -8
- package/dist/index.es432.js.map +1 -1
- package/dist/index.es433.js +5 -7
- package/dist/index.es433.js.map +1 -1
- package/dist/index.es434.js +2 -2
- package/dist/index.es435.js +2 -2
- package/dist/index.es436.js +2 -2
- package/dist/index.es438.js +14 -14
- package/dist/index.es445.js +2 -2
- package/dist/index.es447.js +4 -4
- package/dist/index.es448.js +2 -2
- package/dist/index.es449.js +1 -1
- package/dist/index.es450.js +1 -1
- package/dist/index.es451.js +1 -1
- package/dist/index.es457.js +3 -3
- package/dist/index.es458.js +1 -1
- package/dist/index.es462.js +3 -3
- package/dist/index.es466.js +2 -2
- package/dist/index.es467.js +2 -2
- package/dist/index.es468.js +10 -11
- package/dist/index.es468.js.map +1 -1
- package/dist/index.es469.js +11 -10
- package/dist/index.es469.js.map +1 -1
- package/dist/index.es470.js +9 -4
- package/dist/index.es470.js.map +1 -1
- package/dist/index.es471.js +5 -12
- package/dist/index.es471.js.map +1 -1
- package/dist/index.es472.js +12 -2
- package/dist/index.es472.js.map +1 -1
- package/dist/index.es473.js +7 -321
- package/dist/index.es473.js.map +1 -1
- package/dist/index.es474.js +5 -2
- package/dist/index.es474.js.map +1 -1
- package/dist/index.es475.js +4 -2
- package/dist/index.es475.js.map +1 -1
- package/dist/index.es476.js +3 -2
- package/dist/index.es476.js.map +1 -1
- package/dist/index.es477.js +3 -15
- package/dist/index.es477.js.map +1 -1
- package/dist/index.es478.js +9 -2
- package/dist/index.es478.js.map +1 -1
- package/dist/index.es479.js +22 -2
- package/dist/index.es479.js.map +1 -1
- package/dist/index.es480.js +20 -46
- package/dist/index.es480.js.map +1 -1
- package/dist/index.es481.js +12 -36
- package/dist/index.es481.js.map +1 -1
- package/dist/index.es482.js +15 -41
- package/dist/index.es482.js.map +1 -1
- package/dist/index.es483.js +6 -2
- package/dist/index.es483.js.map +1 -1
- package/dist/index.es484.js +8 -15
- package/dist/index.es484.js.map +1 -1
- package/dist/index.es485.js +7 -2
- package/dist/index.es485.js.map +1 -1
- package/dist/index.es486.js +21 -15
- package/dist/index.es486.js.map +1 -1
- package/dist/index.es487.js +9 -15
- package/dist/index.es487.js.map +1 -1
- package/dist/index.es488.js +9 -18
- package/dist/index.es488.js.map +1 -1
- package/dist/index.es489.js +4 -20
- package/dist/index.es489.js.map +1 -1
- package/dist/index.es490.js +11 -2
- package/dist/index.es490.js.map +1 -1
- package/dist/index.es491.js +8 -9
- package/dist/index.es491.js.map +1 -1
- package/dist/index.es492.js +22 -7
- package/dist/index.es492.js.map +1 -1
- package/dist/index.es493.js +11 -4
- package/dist/index.es493.js.map +1 -1
- package/dist/index.es494.js +19 -4
- package/dist/index.es494.js.map +1 -1
- package/dist/index.es495.js +4 -3
- package/dist/index.es495.js.map +1 -1
- package/dist/index.es496.js +18 -3
- package/dist/index.es496.js.map +1 -1
- package/dist/index.es497.js +11 -8
- package/dist/index.es497.js.map +1 -1
- package/dist/index.es498.js +3 -21
- package/dist/index.es498.js.map +1 -1
- package/dist/index.es499.js +4 -21
- package/dist/index.es499.js.map +1 -1
- package/dist/index.es500.js +2 -14
- package/dist/index.es500.js.map +1 -1
- package/dist/index.es501.js +321 -16
- package/dist/index.es501.js.map +1 -1
- package/dist/index.es502.js +2 -6
- package/dist/index.es502.js.map +1 -1
- package/dist/index.es503.js +2 -9
- package/dist/index.es503.js.map +1 -1
- package/dist/index.es504.js +2 -7
- package/dist/index.es504.js.map +1 -1
- package/dist/index.es505.js +14 -21
- package/dist/index.es505.js.map +1 -1
- package/dist/index.es506.js +2 -10
- package/dist/index.es506.js.map +1 -1
- package/dist/index.es507.js +2 -9
- package/dist/index.es507.js.map +1 -1
- package/dist/index.es508.js +48 -4
- package/dist/index.es508.js.map +1 -1
- package/dist/index.es509.js +37 -10
- package/dist/index.es509.js.map +1 -1
- package/dist/index.es510.js +42 -8
- package/dist/index.es510.js.map +1 -1
- package/dist/index.es511.js +2 -23
- package/dist/index.es511.js.map +1 -1
- package/dist/index.es512.js +15 -11
- package/dist/index.es512.js.map +1 -1
- package/dist/index.es513.js +2 -19
- package/dist/index.es513.js.map +1 -1
- package/dist/index.es514.js +16 -4
- package/dist/index.es514.js.map +1 -1
- package/dist/index.es515.js +14 -16
- package/dist/index.es515.js.map +1 -1
- package/dist/index.es516.js +17 -11
- package/dist/index.es516.js.map +1 -1
- package/dist/index.es517.js +19 -3
- package/dist/index.es517.js.map +1 -1
- package/dist/index.es518.js +2 -5
- package/dist/index.es518.js.map +1 -1
- package/dist/index.es519.js.map +1 -1
- package/dist/index.es520.js +1 -1
- package/dist/index.es520.js.map +1 -1
- package/dist/index.es522.js +72 -69
- package/dist/index.es522.js.map +1 -1
- package/dist/index.es524.js +7 -5
- package/dist/index.es524.js.map +1 -1
- package/dist/index.es525.js +5 -3
- package/dist/index.es525.js.map +1 -1
- package/dist/index.es526.js +3 -110
- package/dist/index.es526.js.map +1 -1
- package/dist/index.es527.js +106 -6
- package/dist/index.es527.js.map +1 -1
- package/dist/index.es528.js +10 -227
- package/dist/index.es528.js.map +1 -1
- package/dist/index.es529.js +4 -2
- package/dist/index.es529.js.map +1 -1
- package/dist/index.es530.js +4 -356
- package/dist/index.es530.js.map +1 -1
- package/dist/index.es531.js +161 -2
- package/dist/index.es531.js.map +1 -1
- package/dist/index.es532.js +4 -37
- package/dist/index.es532.js.map +1 -1
- package/dist/index.es533.js +2 -51
- package/dist/index.es533.js.map +1 -1
- package/dist/index.es534.js +85 -59
- package/dist/index.es534.js.map +1 -1
- package/dist/index.es535.js +188 -55
- package/dist/index.es535.js.map +1 -1
- package/dist/index.es536.js +86 -71
- package/dist/index.es536.js.map +1 -1
- package/dist/index.es537.js +15 -52
- package/dist/index.es537.js.map +1 -1
- package/dist/index.es538.js +315 -85
- package/dist/index.es538.js.map +1 -1
- package/dist/index.es539.js +227 -4
- package/dist/index.es539.js.map +1 -1
- package/dist/index.es540.js +2 -2
- package/dist/index.es541.js +356 -2
- package/dist/index.es541.js.map +1 -1
- package/dist/index.es542.js +2 -2
- package/dist/index.es543.js +38 -2
- package/dist/index.es543.js.map +1 -1
- package/dist/index.es544.js +51 -2
- package/dist/index.es544.js.map +1 -1
- package/dist/index.es545.js +62 -2
- package/dist/index.es545.js.map +1 -1
- package/dist/index.es546.js +61 -8
- package/dist/index.es546.js.map +1 -1
- package/dist/index.es547.js +73 -4
- package/dist/index.es547.js.map +1 -1
- package/dist/index.es548.js +52 -6
- package/dist/index.es548.js.map +1 -1
- package/dist/index.es549.js +86 -158
- package/dist/index.es549.js.map +1 -1
- package/dist/index.es550.js +2 -5
- package/dist/index.es550.js.map +1 -1
- package/dist/index.es551.js +2 -2
- package/dist/index.es552.js +2 -88
- package/dist/index.es552.js.map +1 -1
- package/dist/index.es553.js +2 -194
- package/dist/index.es553.js.map +1 -1
- package/dist/index.es554.js +2 -88
- package/dist/index.es554.js.map +1 -1
- package/dist/index.es555.js +2 -13
- package/dist/index.es555.js.map +1 -1
- package/dist/index.es556.js +2 -319
- package/dist/index.es556.js.map +1 -1
- package/dist/index.es557.js +5 -2
- package/dist/index.es557.js.map +1 -1
- package/dist/index.es558.js +3 -5
- package/dist/index.es558.js.map +1 -1
- package/dist/index.es559.js +110 -3
- package/dist/index.es559.js.map +1 -1
- package/dist/index.es560.js +154 -108
- package/dist/index.es560.js.map +1 -1
- package/dist/index.es561.js +104 -2
- package/dist/index.es561.js.map +1 -1
- package/dist/index.es562.js +16 -21
- package/dist/index.es562.js.map +1 -1
- package/dist/index.es563.js +3 -2
- package/dist/index.es563.js.map +1 -1
- package/dist/index.es564.js +6 -94
- package/dist/index.es564.js.map +1 -1
- package/dist/index.es565.js +4 -273
- package/dist/index.es565.js.map +1 -1
- package/dist/index.es566.js +2 -129
- package/dist/index.es566.js.map +1 -1
- package/dist/index.es567.js +2 -168
- package/dist/index.es567.js.map +1 -1
- package/dist/index.es568.js +87 -122
- package/dist/index.es568.js.map +1 -1
- package/dist/index.es569.js +227 -80
- package/dist/index.es569.js.map +1 -1
- package/dist/index.es570.js +63 -67
- package/dist/index.es570.js.map +1 -1
- package/dist/index.es571.js +114 -74
- package/dist/index.es571.js.map +1 -1
- package/dist/index.es572.js +54 -40
- package/dist/index.es572.js.map +1 -1
- package/dist/index.es573.js +78 -67
- package/dist/index.es573.js.map +1 -1
- package/dist/index.es574.js +71 -55
- package/dist/index.es574.js.map +1 -1
- package/dist/index.es575.js +54 -43
- package/dist/index.es575.js.map +1 -1
- package/dist/index.es576.js +60 -68
- package/dist/index.es576.js.map +1 -1
- package/dist/index.es577.js +69 -83
- package/dist/index.es577.js.map +1 -1
- package/dist/index.es578.js +55 -66
- package/dist/index.es578.js.map +1 -1
- package/dist/index.es579.js +110 -26
- package/dist/index.es579.js.map +1 -1
- package/dist/index.es580.js +125 -2
- package/dist/index.es580.js.map +1 -1
- package/dist/index.es581.js +125 -15
- package/dist/index.es581.js.map +1 -1
- package/dist/index.es582.js +128 -2
- package/dist/index.es582.js.map +1 -1
- package/dist/index.es583.js +28 -38
- package/dist/index.es583.js.map +1 -1
- package/dist/index.es584.js +2 -43
- package/dist/index.es584.js.map +1 -1
- package/dist/index.es585.js +17 -39
- package/dist/index.es585.js.map +1 -1
- package/dist/index.es586.js +2 -43
- package/dist/index.es586.js.map +1 -1
- package/dist/index.es587.js +34 -34
- package/dist/index.es587.js.map +1 -1
- package/dist/index.es588.js +34 -34
- package/dist/index.es588.js.map +1 -1
- package/dist/index.es589.js +32 -32
- package/dist/index.es589.js.map +1 -1
- package/dist/index.es590.js +26 -26
- package/dist/index.es590.js.map +1 -1
- package/dist/index.es591.js +34 -35
- package/dist/index.es591.js.map +1 -1
- package/dist/index.es592.js +33 -31
- package/dist/index.es592.js.map +1 -1
- package/dist/index.es593.js +41 -154
- package/dist/index.es593.js.map +1 -1
- package/dist/index.es594.js +42 -103
- package/dist/index.es594.js.map +1 -1
- package/dist/index.es595.js +44 -17
- package/dist/index.es595.js.map +1 -1
- package/dist/index.es596.js +41 -2
- package/dist/index.es596.js.map +1 -1
- package/dist/index.es597.js +2 -3
- package/dist/index.es597.js.map +1 -1
- package/dist/index.es598.js +22 -2
- package/dist/index.es598.js.map +1 -1
- package/dist/index.es599.js +2 -12
- package/dist/index.es599.js.map +1 -1
- package/dist/index.es600.js +10 -32
- package/dist/index.es600.js.map +1 -1
- package/dist/index.es601.js +31 -18
- package/dist/index.es601.js.map +1 -1
- package/dist/index.es602.js +19 -10
- package/dist/index.es602.js.map +1 -1
- package/dist/index.es603.js +11 -5
- package/dist/index.es603.js.map +1 -1
- package/dist/index.es604.js +2 -2
- package/dist/index.es605.js +69 -2
- package/dist/index.es605.js.map +1 -1
- package/dist/index.es606.js +9 -14
- package/dist/index.es606.js.map +1 -1
- package/dist/index.es607.js +14 -12
- package/dist/index.es607.js.map +1 -1
- package/dist/index.es608.js +59 -11
- package/dist/index.es608.js.map +1 -1
- package/dist/index.es609.js +65 -2
- package/dist/index.es609.js.map +1 -1
- package/dist/index.es610.js +2 -8
- package/dist/index.es610.js.map +1 -1
- package/dist/index.es611.js +2 -55
- package/dist/index.es611.js.map +1 -1
- package/dist/index.es612.js +14 -9
- package/dist/index.es612.js.map +1 -1
- package/dist/index.es613.js +12 -14
- package/dist/index.es613.js.map +1 -1
- package/dist/index.es614.js +11 -59
- package/dist/index.es614.js.map +1 -1
- package/dist/index.es615.js +2 -65
- package/dist/index.es615.js.map +1 -1
- package/dist/index.es616.js +13 -68
- package/dist/index.es616.js.map +1 -1
- package/dist/index.es617.js +54 -13
- package/dist/index.es617.js.map +1 -1
- package/dist/index.es618.js +14 -60
- package/dist/index.es618.js.map +1 -1
- package/dist/index.es619.js +60 -14
- package/dist/index.es619.js.map +1 -1
- package/dist/index.es620.js +3 -146
- package/dist/index.es620.js.map +1 -1
- package/dist/index.es621.js +2 -2
- package/dist/index.es621.js.map +1 -1
- package/dist/index.es622.js +111 -8
- package/dist/index.es622.js.map +1 -1
- package/dist/index.es623.js +147 -8
- package/dist/index.es623.js.map +1 -1
- package/dist/index.es624.js +4 -50
- package/dist/index.es624.js.map +1 -1
- package/dist/index.es625.js +8 -4
- package/dist/index.es625.js.map +1 -1
- package/dist/index.es626.js +8 -4
- package/dist/index.es626.js.map +1 -1
- package/dist/index.es627.js +50 -4
- package/dist/index.es627.js.map +1 -1
- package/dist/index.es628.js +2 -2
- package/dist/index.es629.js +2 -2
- package/dist/index.es629.js.map +1 -1
- package/dist/index.es630.js +2 -109
- package/dist/index.es630.js.map +1 -1
- package/dist/index.es631.js +2 -2
- package/dist/index.es634.js +118 -2
- package/dist/index.es634.js.map +1 -1
- package/dist/index.es635.js +3 -118
- package/dist/index.es635.js.map +1 -1
- package/dist/index.es636.js +2 -2
- package/dist/index.es638.js +2 -2
- package/dist/index.es639.js +2 -2
- package/dist/index.es640.js +2 -2
- package/dist/index.es643.js +2 -2
- package/dist/index.es646.js +2 -2
- package/dist/index.es647.js +2 -151
- package/dist/index.es647.js.map +1 -1
- package/dist/index.es648.js +151 -2
- package/dist/index.es648.js.map +1 -1
- package/dist/index.es649.js +2 -6
- package/dist/index.es649.js.map +1 -1
- package/dist/index.es650.js +6 -2
- package/dist/index.es650.js.map +1 -1
- package/dist/index.es651.js +2 -148
- package/dist/index.es651.js.map +1 -1
- package/dist/index.es652.js +148 -2
- package/dist/index.es652.js.map +1 -1
- package/dist/index.es653.js +2 -138
- package/dist/index.es653.js.map +1 -1
- package/dist/index.es654.js +137 -2
- package/dist/index.es654.js.map +1 -1
- package/dist/index.es657.js +3 -3
- package/dist/index.es658.js +2 -2
- package/dist/index.es659.js +2 -2
- package/dist/index.es660.js +2 -2
- package/dist/index.es661.js +2 -2
- package/dist/index.es662.js +2 -2
- package/dist/index.es686.js +2 -2
- package/dist/index.es691.js +2 -2
- package/dist/index.es692.js +2 -2
- package/dist/index.es693.js +2 -30
- package/dist/index.es693.js.map +1 -1
- package/dist/index.es694.js +2 -2
- package/dist/index.es695.js +2 -2
- package/dist/index.es696.js +2 -2
- package/dist/index.es697.js +2 -2
- package/dist/index.es698.js +2 -2
- package/dist/index.es699.js +30 -2
- package/dist/index.es699.js.map +1 -1
- package/dist/index.es704.js +11 -21
- package/dist/index.es704.js.map +1 -1
- package/dist/index.es705.js +26 -11
- package/dist/index.es705.js.map +1 -1
- package/dist/index.es706.js +4 -27
- package/dist/index.es706.js.map +1 -1
- package/dist/index.es707.js +22 -4
- package/dist/index.es707.js.map +1 -1
- package/dist/index.es71.js +48 -54
- package/dist/index.es71.js.map +1 -1
- package/dist/index.es74.js +4 -4
- package/dist/index.es78.js +1 -1
- package/dist/index.es79.js +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/package.json +3 -3
- package/src/utils/Typesense.js +2 -26
- package/types/utils/Typesense.js.flow +2 -26
package/dist/index.cjs186.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const U=require("react"),x=require("./index.cjs182.js"),A=require("./index.cjs191.js"),O=require("./index.cjs220.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.cjs186.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.cjs186.js","sources":["../node_modules/@radix-ui/react-presence/dist/index.mjs"],"sourcesContent":["\"use client\";\n\n// packages/react/presence/src/Presence.tsx\nimport * as React2 from \"react\";\nimport * as ReactDOM from \"react-dom\";\nimport { useComposedRefs } from \"@radix-ui/react-compose-refs\";\nimport { useLayoutEffect } from \"@radix-ui/react-use-layout-effect\";\n\n// packages/react/presence/src/useStateMachine.tsx\nimport * as React from \"react\";\nfunction useStateMachine(initialState, machine) {\n return React.useReducer((state, event) => {\n const nextState = machine[state][event];\n return nextState ?? state;\n }, initialState);\n}\n\n// packages/react/presence/src/Presence.tsx\nvar Presence = (props) => {\n const { present, children } = props;\n const presence = usePresence(present);\n const child = typeof children === \"function\" ? children({ present: presence.isPresent }) : React2.Children.only(children);\n const ref = useComposedRefs(presence.ref, getElementRef(child));\n const forceMount = typeof children === \"function\";\n return forceMount || presence.isPresent ? React2.cloneElement(child, { ref }) : null;\n};\nPresence.displayName = \"Presence\";\nfunction usePresence(present) {\n const [node, setNode] = React2.useState();\n const stylesRef = React2.useRef({});\n const prevPresentRef = React2.useRef(present);\n const prevAnimationNameRef = React2.useRef(\"none\");\n const initialState = present ? \"mounted\" : \"unmounted\";\n const [state, send] = useStateMachine(initialState, {\n mounted: {\n UNMOUNT: \"unmounted\",\n ANIMATION_OUT: \"unmountSuspended\"\n },\n unmountSuspended: {\n MOUNT: \"mounted\",\n ANIMATION_END: \"unmounted\"\n },\n unmounted: {\n MOUNT: \"mounted\"\n }\n });\n React2.useEffect(() => {\n const currentAnimationName = getAnimationName(stylesRef.current);\n prevAnimationNameRef.current = state === \"mounted\" ? currentAnimationName : \"none\";\n }, [state]);\n useLayoutEffect(() => {\n const styles = stylesRef.current;\n const wasPresent = prevPresentRef.current;\n const hasPresentChanged = wasPresent !== present;\n if (hasPresentChanged) {\n const prevAnimationName = prevAnimationNameRef.current;\n const currentAnimationName = getAnimationName(styles);\n if (present) {\n send(\"MOUNT\");\n } else if (currentAnimationName === \"none\" || styles?.display === \"none\") {\n send(\"UNMOUNT\");\n } else {\n const isAnimating = prevAnimationName !== currentAnimationName;\n if (wasPresent && isAnimating) {\n send(\"ANIMATION_OUT\");\n } else {\n send(\"UNMOUNT\");\n }\n }\n prevPresentRef.current = present;\n }\n }, [present, send]);\n useLayoutEffect(() => {\n if (node) {\n const handleAnimationEnd = (event) => {\n const currentAnimationName = getAnimationName(stylesRef.current);\n const isCurrentAnimation = currentAnimationName.includes(event.animationName);\n if (event.target === node && isCurrentAnimation) {\n ReactDOM.flushSync(() => send(\"ANIMATION_END\"));\n }\n };\n const handleAnimationStart = (event) => {\n if (event.target === node) {\n prevAnimationNameRef.current = getAnimationName(stylesRef.current);\n }\n };\n node.addEventListener(\"animationstart\", handleAnimationStart);\n node.addEventListener(\"animationcancel\", handleAnimationEnd);\n node.addEventListener(\"animationend\", handleAnimationEnd);\n return () => {\n node.removeEventListener(\"animationstart\", handleAnimationStart);\n node.removeEventListener(\"animationcancel\", handleAnimationEnd);\n node.removeEventListener(\"animationend\", handleAnimationEnd);\n };\n } else {\n send(\"ANIMATION_END\");\n }\n }, [node, send]);\n return {\n isPresent: [\"mounted\", \"unmountSuspended\"].includes(state),\n ref: React2.useCallback((node2) => {\n if (node2) stylesRef.current = getComputedStyle(node2);\n setNode(node2);\n }, [])\n };\n}\nfunction getAnimationName(styles) {\n return styles?.animationName || \"none\";\n}\nfunction getElementRef(element) {\n let getter = Object.getOwnPropertyDescriptor(element.props, \"ref\")?.get;\n let mayWarn = getter && \"isReactWarning\" in getter && getter.isReactWarning;\n if (mayWarn) {\n return element.ref;\n }\n getter = Object.getOwnPropertyDescriptor(element, \"ref\")?.get;\n mayWarn = getter && \"isReactWarning\" in getter && getter.isReactWarning;\n if (mayWarn) {\n return element.props.ref;\n }\n return element.props.ref || element.ref;\n}\nexport {\n Presence\n};\n//# sourceMappingURL=index.mjs.map\n"],"names":["useStateMachine","initialState","machine","React","state","event","Presence","props","present","children","presence","usePresence","child","React2","ref","useComposedRefs","getElementRef","node","setNode","stylesRef","prevPresentRef","prevAnimationNameRef","send","currentAnimationName","getAnimationName","useLayoutEffect","styles","wasPresent","prevAnimationName","handleAnimationEnd","isCurrentAnimation","ReactDOM","handleAnimationStart","node2","element","getter","_a","mayWarn","_b"],"mappings":"+dAUA,SAASA,EAAgBC,EAAcC,EAAS,CAC9C,OAAOC,EAAM,WAAW,CAACC,EAAOC,IACZH,EAAQE,CAAK,EAAEC,CAAK,GAClBD,EACnBH,CAAY,CACjB,CAGG,IAACK,EAAYC,GA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EACKH,EAAQ,MAAM,IAEhBA,EAAQ,MAAM,KAAOA,EAAQ,IACtC","x_google_ignoreList":[0]}
|
|
1
|
+
{"version":3,"file":"index.cjs186.js","sources":["../node_modules/@radix-ui/react-focus-scope/dist/index.mjs"],"sourcesContent":["\"use client\";\n\n// packages/react/focus-scope/src/FocusScope.tsx\nimport * as React from \"react\";\nimport { useComposedRefs } from \"@radix-ui/react-compose-refs\";\nimport { Primitive } from \"@radix-ui/react-primitive\";\nimport { useCallbackRef } from \"@radix-ui/react-use-callback-ref\";\nimport { jsx } from \"react/jsx-runtime\";\nvar AUTOFOCUS_ON_MOUNT = \"focusScope.autoFocusOnMount\";\nvar AUTOFOCUS_ON_UNMOUNT = \"focusScope.autoFocusOnUnmount\";\nvar EVENT_OPTIONS = { bubbles: false, cancelable: true };\nvar FOCUS_SCOPE_NAME = \"FocusScope\";\nvar FocusScope = React.forwardRef((props, forwardedRef) => {\n const {\n loop = false,\n trapped = false,\n onMountAutoFocus: onMountAutoFocusProp,\n onUnmountAutoFocus: onUnmountAutoFocusProp,\n ...scopeProps\n } = props;\n const [container, setContainer] = React.useState(null);\n const onMountAutoFocus = useCallbackRef(onMountAutoFocusProp);\n const onUnmountAutoFocus = useCallbackRef(onUnmountAutoFocusProp);\n const lastFocusedElementRef = React.useRef(null);\n const composedRefs = useComposedRefs(forwardedRef, (node) => setContainer(node));\n const focusScope = React.useRef({\n paused: false,\n pause() {\n this.paused = true;\n },\n resume() {\n this.paused = false;\n }\n }).current;\n React.useEffect(() => {\n if (trapped) {\n let handleFocusIn2 = function(event) {\n if (focusScope.paused || !container) return;\n const target = event.target;\n if (container.contains(target)) {\n lastFocusedElementRef.current = target;\n } else {\n focus(lastFocusedElementRef.current, { select: true });\n }\n }, handleFocusOut2 = function(event) {\n if (focusScope.paused || !container) return;\n const relatedTarget = event.relatedTarget;\n if (relatedTarget === null) return;\n if (!container.contains(relatedTarget)) {\n focus(lastFocusedElementRef.current, { select: true });\n }\n }, handleMutations2 = function(mutations) {\n const focusedElement = document.activeElement;\n if (focusedElement !== document.body) return;\n for (const mutation of mutations) {\n if (mutation.removedNodes.length > 0) focus(container);\n }\n };\n var handleFocusIn = handleFocusIn2, handleFocusOut = handleFocusOut2, handleMutations = handleMutations2;\n document.addEventListener(\"focusin\", handleFocusIn2);\n document.addEventListener(\"focusout\", handleFocusOut2);\n const mutationObserver = new MutationObserver(handleMutations2);\n if (container) mutationObserver.observe(container, { childList: true, subtree: true });\n return () => {\n document.removeEventListener(\"focusin\", handleFocusIn2);\n document.removeEventListener(\"focusout\", handleFocusOut2);\n mutationObserver.disconnect();\n };\n }\n }, [trapped, container, focusScope.paused]);\n React.useEffect(() => {\n if (container) {\n focusScopesStack.add(focusScope);\n const previouslyFocusedElement = document.activeElement;\n const hasFocusedCandidate = container.contains(previouslyFocusedElement);\n if (!hasFocusedCandidate) {\n const mountEvent = new CustomEvent(AUTOFOCUS_ON_MOUNT, EVENT_OPTIONS);\n container.addEventListener(AUTOFOCUS_ON_MOUNT, onMountAutoFocus);\n container.dispatchEvent(mountEvent);\n if (!mountEvent.defaultPrevented) {\n focusFirst(removeLinks(getTabbableCandidates(container)), { select: true });\n if (document.activeElement === previouslyFocusedElement) {\n focus(container);\n }\n }\n }\n return () => {\n container.removeEventListener(AUTOFOCUS_ON_MOUNT, onMountAutoFocus);\n setTimeout(() => {\n const unmountEvent = new CustomEvent(AUTOFOCUS_ON_UNMOUNT, EVENT_OPTIONS);\n container.addEventListener(AUTOFOCUS_ON_UNMOUNT, onUnmountAutoFocus);\n container.dispatchEvent(unmountEvent);\n if (!unmountEvent.defaultPrevented) {\n focus(previouslyFocusedElement ?? document.body, { select: true });\n }\n container.removeEventListener(AUTOFOCUS_ON_UNMOUNT, onUnmountAutoFocus);\n focusScopesStack.remove(focusScope);\n }, 0);\n };\n }\n }, [container, onMountAutoFocus, onUnmountAutoFocus, focusScope]);\n const handleKeyDown = React.useCallback(\n (event) => {\n if (!loop && !trapped) return;\n if (focusScope.paused) return;\n const isTabKey = event.key === \"Tab\" && !event.altKey && !event.ctrlKey && !event.metaKey;\n const focusedElement = document.activeElement;\n if (isTabKey && focusedElement) {\n const container2 = event.currentTarget;\n const [first, last] = getTabbableEdges(container2);\n const hasTabbableElementsInside = first && last;\n if (!hasTabbableElementsInside) {\n if (focusedElement === container2) event.preventDefault();\n } else {\n if (!event.shiftKey && focusedElement === last) {\n event.preventDefault();\n if (loop) focus(first, { select: true });\n } else if (event.shiftKey && focusedElement === first) {\n event.preventDefault();\n if (loop) focus(last, { select: true });\n }\n }\n }\n },\n [loop, trapped, focusScope.paused]\n );\n return /* @__PURE__ */ jsx(Primitive.div, { tabIndex: -1, ...scopeProps, ref: composedRefs, onKeyDown: handleKeyDown });\n});\nFocusScope.displayName = FOCUS_SCOPE_NAME;\nfunction focusFirst(candidates, { select = false } = {}) {\n const previouslyFocusedElement = document.activeElement;\n for (const candidate of candidates) {\n focus(candidate, { select });\n if (document.activeElement !== previouslyFocusedElement) return;\n }\n}\nfunction getTabbableEdges(container) {\n const candidates = getTabbableCandidates(container);\n const first = findVisible(candidates, container);\n const last = findVisible(candidates.reverse(), container);\n return [first, last];\n}\nfunction getTabbableCandidates(container) {\n const nodes = [];\n const walker = document.createTreeWalker(container, NodeFilter.SHOW_ELEMENT, {\n acceptNode: (node) => {\n const isHiddenInput = node.tagName === \"INPUT\" && node.type === \"hidden\";\n if (node.disabled || node.hidden || isHiddenInput) return NodeFilter.FILTER_SKIP;\n return node.tabIndex >= 0 ? NodeFilter.FILTER_ACCEPT : NodeFilter.FILTER_SKIP;\n }\n });\n while (walker.nextNode()) nodes.push(walker.currentNode);\n return nodes;\n}\nfunction findVisible(elements, container) {\n for (const element of elements) {\n if (!isHidden(element, { upTo: container })) return element;\n }\n}\nfunction isHidden(node, { upTo }) {\n if (getComputedStyle(node).visibility === \"hidden\") return true;\n while (node) {\n if (upTo !== void 0 && node === upTo) return false;\n if (getComputedStyle(node).display === \"none\") return true;\n node = node.parentElement;\n }\n return false;\n}\nfunction isSelectableInput(element) {\n return element instanceof HTMLInputElement && \"select\" in element;\n}\nfunction focus(element, { select = false } = {}) {\n if (element && element.focus) {\n const previouslyFocusedElement = document.activeElement;\n element.focus({ preventScroll: true });\n if (element !== previouslyFocusedElement && isSelectableInput(element) && select)\n element.select();\n }\n}\nvar focusScopesStack = createFocusScopesStack();\nfunction createFocusScopesStack() {\n let stack = [];\n return {\n add(focusScope) {\n const activeFocusScope = stack[0];\n if (focusScope !== activeFocusScope) {\n activeFocusScope?.pause();\n }\n stack = arrayRemove(stack, focusScope);\n stack.unshift(focusScope);\n },\n remove(focusScope) {\n stack = arrayRemove(stack, focusScope);\n stack[0]?.resume();\n }\n };\n}\nfunction arrayRemove(array, item) {\n const updatedArray = [...array];\n const index = updatedArray.indexOf(item);\n if (index !== -1) {\n updatedArray.splice(index, 1);\n }\n return updatedArray;\n}\nfunction removeLinks(items) {\n return items.filter((item) => item.tagName !== \"A\");\n}\nvar Root = FocusScope;\nexport {\n FocusScope,\n Root\n};\n//# sourceMappingURL=index.mjs.map\n"],"names":["AUTOFOCUS_ON_MOUNT","AUTOFOCUS_ON_UNMOUNT","EVENT_OPTIONS","FOCUS_SCOPE_NAME","FocusScope","React","props","forwardedRef","loop","trapped","onMountAutoFocusProp","onUnmountAutoFocusProp","scopeProps","container","setContainer","onMountAutoFocus","useCallbackRef","onUnmountAutoFocus","lastFocusedElementRef","composedRefs","useComposedRefs","node","focusScope","handleFocusIn2","event","target","focus","handleFocusOut2","relatedTarget","handleMutations2","mutations","mutation","mutationObserver","focusScopesStack","previouslyFocusedElement","mountEvent","focusFirst","removeLinks","getTabbableCandidates","unmountEvent","handleKeyDown","isTabKey","focusedElement","container2","first","last","getTabbableEdges","jsx","Primitive","candidates","select","candidate","findVisible","nodes","walker","isHiddenInput","elements","element","isHidden","upTo","isSelectableInput","createFocusScopesStack","stack","activeFocusScope","arrayRemove","_a","array","item","updatedArray","index","items"],"mappings":"8fAQA,IAAIA,EAAqB,8BAC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IAAP,MAAAG,EAAU,QACX,CACL,CACA,CACA,SAASD,EAAYE,EAAOC,EAAM,CAChC,MAAMC,EAAe,CAAC,GAAGF,CAAK,EACxBG,EAAQD,EAAa,QAAQD,CAAI,EACvC,OAAIE,IAAU,IACZD,EAAa,OAAOC,EAAO,CAAC,EAEvBD,CACT,CACA,SAAS/B,EAAYiC,EAAO,CAC1B,OAAOA,EAAM,OAAQH,GAASA,EAAK,UAAY,GAAG,CACpD","x_google_ignoreList":[0]}
|
package/dist/index.cjs187.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const u=require("react"),
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const u=require("react"),c=require("./index.cjs222.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.cjs187.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.cjs187.js","sources":["../node_modules/@radix-ui/react-
|
|
1
|
+
{"version":3,"file":"index.cjs187.js","sources":["../node_modules/@radix-ui/react-id/dist/index.mjs"],"sourcesContent":["// packages/react/id/src/id.tsx\nimport * as React from \"react\";\nimport { useLayoutEffect } from \"@radix-ui/react-use-layout-effect\";\nvar useReactId = React[\"useId\".toString()] || (() => void 0);\nvar count = 0;\nfunction useId(deterministicId) {\n const [id, setId] = React.useState(useReactId());\n useLayoutEffect(() => {\n if (!deterministicId) setId((reactId) => reactId ?? String(count++));\n }, [deterministicId]);\n return deterministicId || (id ? `radix-${id}` : \"\");\n}\nexport {\n useId\n};\n//# sourceMappingURL=index.mjs.map\n"],"names":["useReactId","React","count","useId","deterministicId","id","setId","useLayoutEffect","reactId"],"mappings":"kaAGA,IAAIA,EAAaC,EAAM,QAAwB,IAAA,IAC3CC,EAAQ,EACZ,SAASC,EAAMC,EAAiB,CAC9B,KAAM,CAACC,EAAIC,CAAK,EAAIL,EAAM,SAASD,EAAU,CAAE,EAC/CO,OAAAA,EAAAA,gBAAgB,IAAM,CACfH,GAAiBE,EAAOE,GAAYA,GAAW,OAAON,GAAO,CAAC,CACvE,EAAK,CAACE,CAAe,CAAC,EACbA,IAAoBC,EAAK,SAASA,CAAE,GAAK,GAClD","x_google_ignoreList":[0]}
|
package/dist/index.cjs188.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const ye=require("react"),L=require("./index.cjs223.js"),Ae=require("./index.cjs224.js"),G=require("./index.cjs182.js"),ve=require("./index.cjs183.js"),J=require("./index.cjs191.js"),Ce=require("./index.cjs220.js"),Z=require("./index.cjs222.js"),be=require("./index.cjs225.js"),f=require("./index.cjs73.js"),g=require("./index.cjs226.js"),Re=require("./index.cjs227.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.cjs188.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.cjs188.js","sources":["../node_modules/@radix-ui/react-slot/dist/index.mjs"],"sourcesContent":["// packages/react/slot/src/Slot.tsx\nimport * as React from \"react\";\nimport { composeRefs } from \"@radix-ui/react-compose-refs\";\nimport { Fragment, jsx } from \"react/jsx-runtime\";\nvar Slot = React.forwardRef((props, forwardedRef) => {\n const { children, ...slotProps } = props;\n const childrenArray = React.Children.toArray(children);\n const slottable = childrenArray.find(isSlottable);\n if (slottable) {\n const newElement = slottable.props.children;\n const newChildren = childrenArray.map((child) => {\n if (child === slottable) {\n if (React.Children.count(newElement) > 1) return React.Children.only(null);\n return React.isValidElement(newElement) ? newElement.props.children : null;\n } else {\n return child;\n }\n });\n return /* @__PURE__ */ jsx(SlotClone, { ...slotProps, ref: forwardedRef, children: React.isValidElement(newElement) ? React.cloneElement(newElement, void 0, newChildren) : null });\n }\n return /* @__PURE__ */ jsx(SlotClone, { ...slotProps, ref: forwardedRef, children });\n});\nSlot.displayName = \"Slot\";\nvar SlotClone = React.forwardRef((props, forwardedRef) => {\n const { children, ...slotProps } = props;\n if (React.isValidElement(children)) {\n const childrenRef = getElementRef(children);\n return React.cloneElement(children, {\n ...mergeProps(slotProps, children.props),\n // @ts-ignore\n ref: forwardedRef ? composeRefs(forwardedRef, childrenRef) : childrenRef\n });\n }\n return React.Children.count(children) > 1 ? React.Children.only(null) : null;\n});\nSlotClone.displayName = \"SlotClone\";\nvar Slottable = ({ children }) => {\n return /* @__PURE__ */ jsx(Fragment, { children });\n};\nfunction isSlottable(child) {\n return React.isValidElement(child) && child.type === Slottable;\n}\nfunction mergeProps(slotProps, childProps) {\n const overrideProps = { ...childProps };\n for (const propName in childProps) {\n const slotPropValue = slotProps[propName];\n const childPropValue = childProps[propName];\n const isHandler = /^on[A-Z]/.test(propName);\n if (isHandler) {\n if (slotPropValue && childPropValue) {\n overrideProps[propName] = (...args) => {\n childPropValue(...args);\n slotPropValue(...args);\n };\n } else if (slotPropValue) {\n overrideProps[propName] = slotPropValue;\n }\n } else if (propName === \"style\") {\n overrideProps[propName] = { ...slotPropValue, ...childPropValue };\n } else if (propName === \"className\") {\n overrideProps[propName] = [slotPropValue, childPropValue].filter(Boolean).join(\" \");\n }\n }\n return { ...slotProps, ...overrideProps };\n}\nfunction getElementRef(element) {\n let getter = Object.getOwnPropertyDescriptor(element.props, \"ref\")?.get;\n let mayWarn = getter && \"isReactWarning\" in getter && getter.isReactWarning;\n if (mayWarn) {\n return element.ref;\n }\n getter = Object.getOwnPropertyDescriptor(element, \"ref\")?.get;\n mayWarn = getter && \"isReactWarning\" in getter && getter.isReactWarning;\n if (mayWarn) {\n return element.props.ref;\n }\n return element.props.ref || element.ref;\n}\nvar Root = Slot;\nexport {\n Root,\n Slot,\n Slottable\n};\n//# sourceMappingURL=index.mjs.map\n"],"names":["Slot","React","props","forwardedRef","children","slotProps","childrenArray","slottable","isSlottable","newElement","newChildren","child","jsx","SlotClone","childrenRef","getElementRef","mergeProps","composeRefs","Slottable","Fragment","childProps","overrideProps","propName","slotPropValue","childPropValue","args","element","getter","_a","mayWarn","_b"],"mappings":"gcAIG,IAACA,EAAOC,EAAM,WAAW,CAACC,EAAOC,IAAiB,CACnD,KAAM,CAAE,SAAAC,EAAU,GAAGC,CAAS,EAAKH,EAC7BI,EAAgBL,EAAM,SAAS,QAAQG,CAAQ,EAC/CG,EAAYD,EAAc,KAAKE,CAAW,EAChD,GAAID,EAAW,CACb,MAAME,EAAaF,EAAU,MAAM,SAC7BG,EAAcJ,EAAc,IAAKK,GACjCA,IAAUJ,EACRN,EAAM,SAAS,MAAMQ,CAAU,EAAI,EAAUR,EAAM,SAAS,KAAK,IAAI,EAClEA,EAAM,eAAeQ,CAAU,EAAIA,EAAW,MAAM,SAAW,KAE/DE,CAEV,EACD,OAAuBC,EAAG,kBAAA,IAACC,EAAW,CAAE,GAAGR,EAAW,IAAKF,EAAc,SAAUF,EAAM,eAAeQ,CAAU,EAAIR,EAAM,aAAaQ,EAAY,OAAQC,CAAW,EAAI,IAAI,CAAE,CACnL,CACD,OAAuBE,EAAG,kBAAA,IAACC,EAAW,CAAE,GAAGR,EAAW,IAAKF,EAAc,SAAAC,CAAQ,CAAE,CACrF,CAAC,EACDJ,EAAK,YAAc,OACnB,IAAIa,EAAYZ,EAAM,WAAW,CAACC,EAAOC,IAAiB,CACxD,KAAM,CAAE,SAAAC,EAAU,GAAGC,CAAS,EAAKH,EACnC,GAAID,EAAM,eAAeG,CAAQ,EAAG,CAClC,MAAMU,EAAcC,EAAcX,CAAQ,EAC1C,OAAOH,EAAM,aAAaG,EAAU,CAClC,GAAGY,EAAWX,EAAWD,EAAS,KAAK,EAEvC,IAAKD,EAAec,EAAAA,YAAYd,EAAcW,CAAW,EAAIA,CACnE,CAAK,CACF,CACD,OAAOb,EAAM,SAAS,MAAMG,CAAQ,EAAI,EAAIH,EAAM,SAAS,KAAK,IAAI,EAAI,IAC1E,CAAC,EACDY,EAAU,YAAc,YACrB,IAACK,EAAY,CAAC,CAAE,SAAAd,KACMQ,wBAAIO,EAAAA,kBAAAA,SAAU,CAAE,SAAAf,CAAU,CAAA,EAEnD,SAASI,EAAYG,EAAO,CAC1B,OAAOV,EAAM,eAAeU,CAAK,GAAKA,EAAM,OAASO,CACvD,CACA,SAASF,EAAWX,EAAWe,EAAY,CACzC,MAAMC,EAAgB,CAAE,GAAGD,GAC3B,UAAWE,KAAYF,EAAY,CACjC,MAAMG,EAAgBlB,EAAUiB,CAAQ,EAClCE,EAAiBJ,EAAWE,CAAQ,EACxB,WAAW,KAAKA,CAAQ,EAEpCC,GAAiBC,EACnBH,EAAcC,CAAQ,EAAI,IAAIG,IAAS,CACrCD,EAAe,GAAGC,CAAI,EACtBF,EAAc,GAAGE,CAAI,CAC/B,EACiBF,IACTF,EAAcC,CAAQ,EAAIC,GAEnBD,IAAa,QACtBD,EAAcC,CAAQ,EAAI,CAAE,GAAGC,EAAe,GAAGC,CAAc,EACtDF,IAAa,cACtBD,EAAcC,CAAQ,EAAI,CAACC,EAAeC,CAAc,EAAE,OAAO,OAAO,EAAE,KAAK,GAAG,EAErF,CACD,MAAO,CAAE,GAAGnB,EAAW,GAAGgB,EAC5B,CACA,SAASN,EAAcW,EAAS,SAC9B,IAAIC,GAASC,EAAA,OAAO,yBAAyBF,EAAQ,MAAO,KAAK,IAApD,YAAAE,EAAuD,IAChEC,EAAUF,GAAU,mBAAoBA,GAAUA,EAAO,eAC7D,OAAIE,EACKH,EAAQ,KAEjBC,GAASG,EAAA,OAAO,yBAAyBJ,EAAS,KAAK,IAA9C,YAAAI,EAAiD,IAC1DD,EAAUF,GAAU,mBAAoBA,GAAUA,EAAO,eACrDE,EACKH,EAAQ,MAAM,IAEhBA,EAAQ,MAAM,KAAOA,EAAQ,IACtC","x_google_ignoreList":[0]}
|
|
1
|
+
{"version":3,"file":"index.cjs188.js","sources":["../node_modules/@radix-ui/react-popper/dist/index.mjs"],"sourcesContent":["\"use client\";\n\n// packages/react/popper/src/Popper.tsx\nimport * as React from \"react\";\nimport {\n useFloating,\n autoUpdate,\n offset,\n shift,\n limitShift,\n hide,\n arrow as floatingUIarrow,\n flip,\n size\n} from \"@floating-ui/react-dom\";\nimport * as ArrowPrimitive from \"@radix-ui/react-arrow\";\nimport { useComposedRefs } from \"@radix-ui/react-compose-refs\";\nimport { createContextScope } from \"@radix-ui/react-context\";\nimport { Primitive } from \"@radix-ui/react-primitive\";\nimport { useCallbackRef } from \"@radix-ui/react-use-callback-ref\";\nimport { useLayoutEffect } from \"@radix-ui/react-use-layout-effect\";\nimport { useSize } from \"@radix-ui/react-use-size\";\nimport { jsx } from \"react/jsx-runtime\";\nvar SIDE_OPTIONS = [\"top\", \"right\", \"bottom\", \"left\"];\nvar ALIGN_OPTIONS = [\"start\", \"center\", \"end\"];\nvar POPPER_NAME = \"Popper\";\nvar [createPopperContext, createPopperScope] = createContextScope(POPPER_NAME);\nvar [PopperProvider, usePopperContext] = createPopperContext(POPPER_NAME);\nvar Popper = (props) => {\n const { __scopePopper, children } = props;\n const [anchor, setAnchor] = React.useState(null);\n return /* @__PURE__ */ jsx(PopperProvider, { scope: __scopePopper, anchor, onAnchorChange: setAnchor, children });\n};\nPopper.displayName = POPPER_NAME;\nvar ANCHOR_NAME = \"PopperAnchor\";\nvar PopperAnchor = React.forwardRef(\n (props, forwardedRef) => {\n const { __scopePopper, virtualRef, ...anchorProps } = props;\n const context = usePopperContext(ANCHOR_NAME, __scopePopper);\n const ref = React.useRef(null);\n const composedRefs = useComposedRefs(forwardedRef, ref);\n React.useEffect(() => {\n context.onAnchorChange(virtualRef?.current || ref.current);\n });\n return virtualRef ? null : /* @__PURE__ */ jsx(Primitive.div, { ...anchorProps, ref: composedRefs });\n }\n);\nPopperAnchor.displayName = ANCHOR_NAME;\nvar CONTENT_NAME = \"PopperContent\";\nvar [PopperContentProvider, useContentContext] = createPopperContext(CONTENT_NAME);\nvar PopperContent = React.forwardRef(\n (props, forwardedRef) => {\n const {\n __scopePopper,\n side = \"bottom\",\n sideOffset = 0,\n align = \"center\",\n alignOffset = 0,\n arrowPadding = 0,\n avoidCollisions = true,\n collisionBoundary = [],\n collisionPadding: collisionPaddingProp = 0,\n sticky = \"partial\",\n hideWhenDetached = false,\n updatePositionStrategy = \"optimized\",\n onPlaced,\n ...contentProps\n } = props;\n const context = usePopperContext(CONTENT_NAME, __scopePopper);\n const [content, setContent] = React.useState(null);\n const composedRefs = useComposedRefs(forwardedRef, (node) => setContent(node));\n const [arrow, setArrow] = React.useState(null);\n const arrowSize = useSize(arrow);\n const arrowWidth = arrowSize?.width ?? 0;\n const arrowHeight = arrowSize?.height ?? 0;\n const desiredPlacement = side + (align !== \"center\" ? \"-\" + align : \"\");\n const collisionPadding = typeof collisionPaddingProp === \"number\" ? collisionPaddingProp : { top: 0, right: 0, bottom: 0, left: 0, ...collisionPaddingProp };\n const boundary = Array.isArray(collisionBoundary) ? collisionBoundary : [collisionBoundary];\n const hasExplicitBoundaries = boundary.length > 0;\n const detectOverflowOptions = {\n padding: collisionPadding,\n boundary: boundary.filter(isNotNull),\n // with `strategy: 'fixed'`, this is the only way to get it to respect boundaries\n altBoundary: hasExplicitBoundaries\n };\n const { refs, floatingStyles, placement, isPositioned, middlewareData } = useFloating({\n // default to `fixed` strategy so users don't have to pick and we also avoid focus scroll issues\n strategy: \"fixed\",\n placement: desiredPlacement,\n whileElementsMounted: (...args) => {\n const cleanup = autoUpdate(...args, {\n animationFrame: updatePositionStrategy === \"always\"\n });\n return cleanup;\n },\n elements: {\n reference: context.anchor\n },\n middleware: [\n offset({ mainAxis: sideOffset + arrowHeight, alignmentAxis: alignOffset }),\n avoidCollisions && shift({\n mainAxis: true,\n crossAxis: false,\n limiter: sticky === \"partial\" ? limitShift() : void 0,\n ...detectOverflowOptions\n }),\n avoidCollisions && flip({ ...detectOverflowOptions }),\n size({\n ...detectOverflowOptions,\n apply: ({ elements, rects, availableWidth, availableHeight }) => {\n const { width: anchorWidth, height: anchorHeight } = rects.reference;\n const contentStyle = elements.floating.style;\n contentStyle.setProperty(\"--radix-popper-available-width\", `${availableWidth}px`);\n contentStyle.setProperty(\"--radix-popper-available-height\", `${availableHeight}px`);\n contentStyle.setProperty(\"--radix-popper-anchor-width\", `${anchorWidth}px`);\n contentStyle.setProperty(\"--radix-popper-anchor-height\", `${anchorHeight}px`);\n }\n }),\n arrow && floatingUIarrow({ element: arrow, padding: arrowPadding }),\n transformOrigin({ arrowWidth, arrowHeight }),\n hideWhenDetached && hide({ strategy: \"referenceHidden\", ...detectOverflowOptions })\n ]\n });\n const [placedSide, placedAlign] = getSideAndAlignFromPlacement(placement);\n const handlePlaced = useCallbackRef(onPlaced);\n useLayoutEffect(() => {\n if (isPositioned) {\n handlePlaced?.();\n }\n }, [isPositioned, handlePlaced]);\n const arrowX = middlewareData.arrow?.x;\n const arrowY = middlewareData.arrow?.y;\n const cannotCenterArrow = middlewareData.arrow?.centerOffset !== 0;\n const [contentZIndex, setContentZIndex] = React.useState();\n useLayoutEffect(() => {\n if (content) setContentZIndex(window.getComputedStyle(content).zIndex);\n }, [content]);\n return /* @__PURE__ */ jsx(\n \"div\",\n {\n ref: refs.setFloating,\n \"data-radix-popper-content-wrapper\": \"\",\n style: {\n ...floatingStyles,\n transform: isPositioned ? floatingStyles.transform : \"translate(0, -200%)\",\n // keep off the page when measuring\n minWidth: \"max-content\",\n zIndex: contentZIndex,\n [\"--radix-popper-transform-origin\"]: [\n middlewareData.transformOrigin?.x,\n middlewareData.transformOrigin?.y\n ].join(\" \"),\n // hide the content if using the hide middleware and should be hidden\n // set visibility to hidden and disable pointer events so the UI behaves\n // as if the PopperContent isn't there at all\n ...middlewareData.hide?.referenceHidden && {\n visibility: \"hidden\",\n pointerEvents: \"none\"\n }\n },\n dir: props.dir,\n children: /* @__PURE__ */ jsx(\n PopperContentProvider,\n {\n scope: __scopePopper,\n placedSide,\n onArrowChange: setArrow,\n arrowX,\n arrowY,\n shouldHideArrow: cannotCenterArrow,\n children: /* @__PURE__ */ jsx(\n Primitive.div,\n {\n \"data-side\": placedSide,\n \"data-align\": placedAlign,\n ...contentProps,\n ref: composedRefs,\n style: {\n ...contentProps.style,\n // if the PopperContent hasn't been placed yet (not all measurements done)\n // we prevent animations so that users's animation don't kick in too early referring wrong sides\n animation: !isPositioned ? \"none\" : void 0\n }\n }\n )\n }\n )\n }\n );\n }\n);\nPopperContent.displayName = CONTENT_NAME;\nvar ARROW_NAME = \"PopperArrow\";\nvar OPPOSITE_SIDE = {\n top: \"bottom\",\n right: \"left\",\n bottom: \"top\",\n left: \"right\"\n};\nvar PopperArrow = React.forwardRef(function PopperArrow2(props, forwardedRef) {\n const { __scopePopper, ...arrowProps } = props;\n const contentContext = useContentContext(ARROW_NAME, __scopePopper);\n const baseSide = OPPOSITE_SIDE[contentContext.placedSide];\n return (\n // we have to use an extra wrapper because `ResizeObserver` (used by `useSize`)\n // doesn't report size as we'd expect on SVG elements.\n // it reports their bounding box which is effectively the largest path inside the SVG.\n /* @__PURE__ */ jsx(\n \"span\",\n {\n ref: contentContext.onArrowChange,\n style: {\n position: \"absolute\",\n left: contentContext.arrowX,\n top: contentContext.arrowY,\n [baseSide]: 0,\n transformOrigin: {\n top: \"\",\n right: \"0 0\",\n bottom: \"center 0\",\n left: \"100% 0\"\n }[contentContext.placedSide],\n transform: {\n top: \"translateY(100%)\",\n right: \"translateY(50%) rotate(90deg) translateX(-50%)\",\n bottom: `rotate(180deg)`,\n left: \"translateY(50%) rotate(-90deg) translateX(50%)\"\n }[contentContext.placedSide],\n visibility: contentContext.shouldHideArrow ? \"hidden\" : void 0\n },\n children: /* @__PURE__ */ jsx(\n ArrowPrimitive.Root,\n {\n ...arrowProps,\n ref: forwardedRef,\n style: {\n ...arrowProps.style,\n // ensures the element can be measured correctly (mostly for if SVG)\n display: \"block\"\n }\n }\n )\n }\n )\n );\n});\nPopperArrow.displayName = ARROW_NAME;\nfunction isNotNull(value) {\n return value !== null;\n}\nvar transformOrigin = (options) => ({\n name: \"transformOrigin\",\n options,\n fn(data) {\n const { placement, rects, middlewareData } = data;\n const cannotCenterArrow = middlewareData.arrow?.centerOffset !== 0;\n const isArrowHidden = cannotCenterArrow;\n const arrowWidth = isArrowHidden ? 0 : options.arrowWidth;\n const arrowHeight = isArrowHidden ? 0 : options.arrowHeight;\n const [placedSide, placedAlign] = getSideAndAlignFromPlacement(placement);\n const noArrowAlign = { start: \"0%\", center: \"50%\", end: \"100%\" }[placedAlign];\n const arrowXCenter = (middlewareData.arrow?.x ?? 0) + arrowWidth / 2;\n const arrowYCenter = (middlewareData.arrow?.y ?? 0) + arrowHeight / 2;\n let x = \"\";\n let y = \"\";\n if (placedSide === \"bottom\") {\n x = isArrowHidden ? noArrowAlign : `${arrowXCenter}px`;\n y = `${-arrowHeight}px`;\n } else if (placedSide === \"top\") {\n x = isArrowHidden ? noArrowAlign : `${arrowXCenter}px`;\n y = `${rects.floating.height + arrowHeight}px`;\n } else if (placedSide === \"right\") {\n x = `${-arrowHeight}px`;\n y = isArrowHidden ? noArrowAlign : `${arrowYCenter}px`;\n } else if (placedSide === \"left\") {\n x = `${rects.floating.width + arrowHeight}px`;\n y = isArrowHidden ? noArrowAlign : `${arrowYCenter}px`;\n }\n return { data: { x, y } };\n }\n});\nfunction getSideAndAlignFromPlacement(placement) {\n const [side, align = \"center\"] = placement.split(\"-\");\n return [side, align];\n}\nvar Root2 = Popper;\nvar Anchor = PopperAnchor;\nvar Content = PopperContent;\nvar Arrow = PopperArrow;\nexport {\n ALIGN_OPTIONS,\n Anchor,\n Arrow,\n Content,\n Popper,\n PopperAnchor,\n PopperArrow,\n PopperContent,\n Root2 as Root,\n SIDE_OPTIONS,\n createPopperScope\n};\n//# sourceMappingURL=index.mjs.map\n"],"names":["POPPER_NAME","createPopperContext","createPopperScope","createContextScope","PopperProvider","usePopperContext","Popper","props","__scopePopper","children","anchor","setAnchor","React","jsx","ANCHOR_NAME","PopperAnchor","forwardedRef","virtualRef","anchorProps","context","ref","composedRefs","useComposedRefs","Primitive","CONTENT_NAME","PopperContentProvider","useContentContext","PopperContent","side","sideOffset","align","alignOffset","arrowPadding","avoidCollisions","collisionBoundary","collisionPaddingProp","sticky","hideWhenDetached","updatePositionStrategy","onPlaced","contentProps","content","setContent","node","arrow","setArrow","arrowSize","useSize","arrowWidth","arrowHeight","desiredPlacement","collisionPadding","boundary","hasExplicitBoundaries","detectOverflowOptions","isNotNull","refs","floatingStyles","placement","isPositioned","middlewareData","useFloating","args","autoUpdate","offset","shift","limitShift","flip","size","elements","rects","availableWidth","availableHeight","anchorWidth","anchorHeight","contentStyle","floatingUIarrow","transformOrigin","hide","placedSide","placedAlign","getSideAndAlignFromPlacement","handlePlaced","useCallbackRef","useLayoutEffect","arrowX","_a","arrowY","_b","cannotCenterArrow","_c","contentZIndex","setContentZIndex","_d","_e","_f","ARROW_NAME","OPPOSITE_SIDE","PopperArrow","arrowProps","contentContext","baseSide","ArrowPrimitive.Root","value","options","data","isArrowHidden","noArrowAlign","arrowXCenter","arrowYCenter","x","y","Root2","Anchor","Content","Arrow"],"mappings":"guBAyBA,IAAIA,EAAc,SACd,CAACC,EAAqBC,EAAiB,EAAIC,GAAAA,mBAAmBH,CAAW,EACzE,CAACI,GAAgBC,CAAgB,EAAIJ,EAAoBD,CAAW,EACpEM,EAAUC,GAAU,CACtB,KAAM,CAAE,cAAAC,EAAe,SAAAC,CAAU,EAAGF,EAC9B,CAACG,EAAQC,CAAS,EAAIC,EAAM,SAAS,IAAI,EAC/C,OAAuBC,EAAG,kBAAA,IAACT,GAAgB,CAAE,MAAOI,EAAe,OAAAE,EAAQ,eAAgBC,EAAW,SAAAF,CAAQ,CAAE,CAClH,EACAH,EAAO,YAAcN,EACrB,IAAIc,EAAc,eACdC,EAAeH,EAAM,WACvB,CAACL,EAAOS,IAAiB,CACvB,KAAM,CAAE,cAAAR,EAAe,WAAAS,EAAY,GAAGC,CAAW,EAAKX,EAChDY,EAAUd,EAAiBS,EAAaN,CAAa,EACrDY,EAAMR,EAA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B,CAAW,EACtE4B,KAAgBpB,EAAA5B,EAAe,QAAf,YAAA4B,EAAsB,IAAK,GAAKxC,EAAa,EAC7D6D,KAAgBnB,EAAA9B,EAAe,QAAf,YAAA8B,EAAsB,IAAK,GAAKzC,EAAc,EACpE,IAAI6D,EAAI,GACJC,EAAI,GACR,OAAIhC,IAAe,UACjB+B,EAAIJ,EAAgBC,EAAe,GAAGC,CAAY,KAClDG,EAAI,GAAG,CAAC9D,CAAW,MACV8B,IAAe,OACxB+B,EAAIJ,EAAgBC,EAAe,GAAGC,CAAY,KAClDG,EAAI,GAAGzC,EAAM,SAAS,OAASrB,CAAW,MACjC8B,IAAe,SACxB+B,EAAI,GAAG,CAAC7D,CAAW,KACnB8D,EAAIL,EAAgBC,EAAe,GAAGE,CAAY,MACzC9B,IAAe,SACxB+B,EAAI,GAAGxC,EAAM,SAAS,MAAQrB,CAAW,KACzC8D,EAAIL,EAAgBC,EAAe,GAAGE,CAAY,MAE7C,CAAE,KAAM,CAAE,EAAAC,EAAG,EAAAC,CAAG,CAAA,CACxB,CACH,GACA,SAAS9B,GAA6BvB,EAAW,CAC/C,KAAM,CAAC9B,EAAME,EAAQ,QAAQ,EAAI4B,EAAU,MAAM,GAAG,EACpD,MAAO,CAAC9B,EAAME,CAAK,CACrB,CACG,IAACkF,GAAQ1G,EACR2G,GAASlG,EACTmG,GAAUvF,EACVwF,GAAQjB","x_google_ignoreList":[0]}
|
package/dist/index.cjs189.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const l=require("react"),d=require("react-dom"),f=require("./index.cjs191.js"),p=require("./index.cjs222.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.cjs189.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.cjs189.js","sources":["../node_modules/@radix-ui/react-
|
|
1
|
+
{"version":3,"file":"index.cjs189.js","sources":["../node_modules/@radix-ui/react-portal/dist/index.mjs"],"sourcesContent":["\"use client\";\n\n// packages/react/portal/src/Portal.tsx\nimport * as React from \"react\";\nimport ReactDOM from \"react-dom\";\nimport { Primitive } from \"@radix-ui/react-primitive\";\nimport { useLayoutEffect } from \"@radix-ui/react-use-layout-effect\";\nimport { jsx } from \"react/jsx-runtime\";\nvar PORTAL_NAME = \"Portal\";\nvar Portal = React.forwardRef((props, forwardedRef) => {\n const { container: containerProp, ...portalProps } = props;\n const [mounted, setMounted] = React.useState(false);\n useLayoutEffect(() => setMounted(true), []);\n const container = containerProp || mounted && globalThis?.document?.body;\n return container ? ReactDOM.createPortal(/* @__PURE__ */ jsx(Primitive.div, { ...portalProps, ref: forwardedRef }), container) : null;\n});\nPortal.displayName = PORTAL_NAME;\nvar Root = Portal;\nexport {\n Portal,\n Root\n};\n//# sourceMappingURL=index.mjs.map\n"],"names":["PORTAL_NAME","Portal","React","props","forwardedRef","containerProp","portalProps","mounted","setMounted","useLayoutEffect","container","_a","ReactDOM","jsx","Primitive"],"mappings":"sfAQA,IAAIA,EAAc,SACdC,EAASC,EAAM,WAAW,CAACC,EAAOC,IAAiB,OACrD,KAAM,CAAE,UAAWC,EAAe,GAAGC,CAAW,EAAKH,EAC/C,CAACI,EAASC,CAAU,EAAIN,EAAM,SAAS,EAAK,EAClDO,EAAAA,gBAAgB,IAAMD,EAAW,EAAI,EAAG,CAAE,CAAA,EAC1C,MAAME,EAAYL,GAAiBE,KAAWI,EAAA,mCAAY,WAAZ,YAAAA,EAAsB,MACpE,OAAOD,EAAYE,EAAS,aAA6BC,EAAG,kBAAA,IAACC,EAAS,UAAC,IAAK,CAAE,GAAGR,EAAa,IAAKF,CAAY,CAAE,EAAGM,CAAS,EAAI,IACnI,CAAC,EACDT,EAAO,YAAcD","x_google_ignoreList":[0]}
|
package/dist/index.cjs190.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const M=require("react"),R=require("react-dom"),P=require("./index.cjs182.js"),g=require("./index.cjs222.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.cjs190.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.cjs190.js","sources":["
|
|
1
|
+
{"version":3,"file":"index.cjs190.js","sources":["../node_modules/@radix-ui/react-presence/dist/index.mjs"],"sourcesContent":["\"use client\";\n\n// packages/react/presence/src/Presence.tsx\nimport * as React2 from \"react\";\nimport * as ReactDOM from \"react-dom\";\nimport { useComposedRefs } from \"@radix-ui/react-compose-refs\";\nimport { useLayoutEffect } from \"@radix-ui/react-use-layout-effect\";\n\n// packages/react/presence/src/useStateMachine.tsx\nimport * as React from \"react\";\nfunction useStateMachine(initialState, machine) {\n return React.useReducer((state, event) => {\n const nextState = machine[state][event];\n return nextState ?? state;\n }, initialState);\n}\n\n// packages/react/presence/src/Presence.tsx\nvar Presence = (props) => {\n const { present, children } = props;\n const presence = usePresence(present);\n const child = typeof children === \"function\" ? children({ present: presence.isPresent }) : React2.Children.only(children);\n const ref = useComposedRefs(presence.ref, getElementRef(child));\n const forceMount = typeof children === \"function\";\n return forceMount || presence.isPresent ? React2.cloneElement(child, { ref }) : null;\n};\nPresence.displayName = \"Presence\";\nfunction usePresence(present) {\n const [node, setNode] = React2.useState();\n const stylesRef = React2.useRef({});\n const prevPresentRef = React2.useRef(present);\n const prevAnimationNameRef = React2.useRef(\"none\");\n const initialState = present ? \"mounted\" : \"unmounted\";\n const [state, send] = useStateMachine(initialState, {\n mounted: {\n UNMOUNT: \"unmounted\",\n ANIMATION_OUT: \"unmountSuspended\"\n },\n unmountSuspended: {\n MOUNT: \"mounted\",\n ANIMATION_END: \"unmounted\"\n },\n unmounted: {\n MOUNT: \"mounted\"\n }\n });\n React2.useEffect(() => {\n const currentAnimationName = getAnimationName(stylesRef.current);\n prevAnimationNameRef.current = state === \"mounted\" ? currentAnimationName : \"none\";\n }, [state]);\n useLayoutEffect(() => {\n const styles = stylesRef.current;\n const wasPresent = prevPresentRef.current;\n const hasPresentChanged = wasPresent !== present;\n if (hasPresentChanged) {\n const prevAnimationName = prevAnimationNameRef.current;\n const currentAnimationName = getAnimationName(styles);\n if (present) {\n send(\"MOUNT\");\n } else if (currentAnimationName === \"none\" || styles?.display === \"none\") {\n send(\"UNMOUNT\");\n } else {\n const isAnimating = prevAnimationName !== currentAnimationName;\n if (wasPresent && isAnimating) {\n send(\"ANIMATION_OUT\");\n } else {\n send(\"UNMOUNT\");\n }\n }\n prevPresentRef.current = present;\n }\n }, [present, send]);\n useLayoutEffect(() => {\n if (node) {\n const handleAnimationEnd = (event) => {\n const currentAnimationName = getAnimationName(stylesRef.current);\n const isCurrentAnimation = currentAnimationName.includes(event.animationName);\n if (event.target === node && isCurrentAnimation) {\n ReactDOM.flushSync(() => send(\"ANIMATION_END\"));\n }\n };\n const handleAnimationStart = (event) => {\n if (event.target === node) {\n prevAnimationNameRef.current = getAnimationName(stylesRef.current);\n }\n };\n node.addEventListener(\"animationstart\", handleAnimationStart);\n node.addEventListener(\"animationcancel\", handleAnimationEnd);\n node.addEventListener(\"animationend\", handleAnimationEnd);\n return () => {\n node.removeEventListener(\"animationstart\", handleAnimationStart);\n node.removeEventListener(\"animationcancel\", handleAnimationEnd);\n node.removeEventListener(\"animationend\", handleAnimationEnd);\n };\n } else {\n send(\"ANIMATION_END\");\n }\n }, [node, send]);\n return {\n isPresent: [\"mounted\", \"unmountSuspended\"].includes(state),\n ref: React2.useCallback((node2) => {\n if (node2) stylesRef.current = getComputedStyle(node2);\n setNode(node2);\n }, [])\n };\n}\nfunction getAnimationName(styles) {\n return styles?.animationName || \"none\";\n}\nfunction getElementRef(element) {\n let getter = Object.getOwnPropertyDescriptor(element.props, \"ref\")?.get;\n let mayWarn = getter && \"isReactWarning\" in getter && getter.isReactWarning;\n if (mayWarn) {\n return element.ref;\n }\n getter = Object.getOwnPropertyDescriptor(element, \"ref\")?.get;\n mayWarn = getter && \"isReactWarning\" in getter && getter.isReactWarning;\n if (mayWarn) {\n return element.props.ref;\n }\n return element.props.ref || element.ref;\n}\nexport {\n Presence\n};\n//# sourceMappingURL=index.mjs.map\n"],"names":["useStateMachine","initialState","machine","React","state","event","Presence","props","present","children","presence","usePresence","child","React2","ref","useComposedRefs","getElementRef","node","setNode","stylesRef","prevPresentRef","prevAnimationNameRef","send","currentAnimationName","getAnimationName","useLayoutEffect","styles","wasPresent","prevAnimationName","handleAnimationEnd","isCurrentAnimation","ReactDOM","handleAnimationStart","node2","element","getter","_a","mayWarn","_b"],"mappings":"+dAUA,SAASA,EAAgBC,EAAcC,EAAS,CAC9C,OAAOC,EAAM,WAAW,CAACC,EAAOC,IACZH,EAAQE,CAAK,EAAEC,CAAK,GAClBD,EACnBH,CAAY,CACjB,CAGG,IAACK,EAAYC,GAAU,C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,EAAQ,MAAM,IAEhBA,EAAQ,MAAM,KAAOA,EAAQ,IACtC","x_google_ignoreList":[0]}
|
package/dist/index.cjs191.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";const
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const u=require("react"),l=require("react-dom"),f=require("./index.cjs192.js"),d=require("./index.cjs73.js");function n(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const i in e)if(i!=="default"){const r=Object.getOwnPropertyDescriptor(e,i);Object.defineProperty(t,i,r.get?r:{enumerable:!0,get:()=>e[i]})}}return t.default=e,Object.freeze(t)}const p=n(u),m=n(l);var v=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","span","svg","ul"],b=v.reduce((e,t)=>{const i=p.forwardRef((r,o)=>{const{asChild:c,...s}=r,a=c?f.Slot:t;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),d.jsxRuntimeExports.jsx(a,{...s,ref:o})});return i.displayName=`Primitive.${t}`,{...e,[t]:i}},{});function y(e,t){e&&m.flushSync(()=>e.dispatchEvent(t))}exports.Primitive=b;exports.dispatchDiscreteCustomEvent=y;
|
|
2
2
|
//# sourceMappingURL=index.cjs191.js.map
|
package/dist/index.cjs191.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.cjs191.js","sources":["../node_modules/react-
|
|
1
|
+
{"version":3,"file":"index.cjs191.js","sources":["../node_modules/@radix-ui/react-primitive/dist/index.mjs"],"sourcesContent":["// packages/react/primitive/src/Primitive.tsx\nimport * as React from \"react\";\nimport * as ReactDOM from \"react-dom\";\nimport { Slot } from \"@radix-ui/react-slot\";\nimport { jsx } from \"react/jsx-runtime\";\nvar NODES = [\n \"a\",\n \"button\",\n \"div\",\n \"form\",\n \"h2\",\n \"h3\",\n \"img\",\n \"input\",\n \"label\",\n \"li\",\n \"nav\",\n \"ol\",\n \"p\",\n \"span\",\n \"svg\",\n \"ul\"\n];\nvar Primitive = NODES.reduce((primitive, node) => {\n const Node = React.forwardRef((props, forwardedRef) => {\n const { asChild, ...primitiveProps } = props;\n const Comp = asChild ? Slot : node;\n if (typeof window !== \"undefined\") {\n window[Symbol.for(\"radix-ui\")] = true;\n }\n return /* @__PURE__ */ jsx(Comp, { ...primitiveProps, ref: forwardedRef });\n });\n Node.displayName = `Primitive.${node}`;\n return { ...primitive, [node]: Node };\n}, {});\nfunction dispatchDiscreteCustomEvent(target, event) {\n if (target) ReactDOM.flushSync(() => target.dispatchEvent(event));\n}\nvar Root = Primitive;\nexport {\n Primitive,\n Root,\n dispatchDiscreteCustomEvent\n};\n//# sourceMappingURL=index.mjs.map\n"],"names":["NODES","Primitive","primitive","node","Node","React","props","forwardedRef","asChild","primitiveProps","Comp","Slot","jsx","dispatchDiscreteCustomEvent","target","event","ReactDOM"],"mappings":"8dAKA,IAAIA,EAAQ,CACV,IACA,SACA,MACA,OACA,KACA,KACA,MACA,QACA,QACA,KACA,MACA,KACA,IACA,OACA,MACA,IACF,EACIC,EAAYD,EAAM,OAAO,CAACE,EAAWC,IAAS,CAChD,MAAMC,EAAOC,EAAM,WAAW,CAACC,EAAOC,IAAiB,CACrD,KAAM,CAAE,QAAAC,EAAS,GAAGC,CAAc,EAAKH,EACjCI,EAAOF,EAAUG,EAAI,KAAGR,EAC9B,OAAI,OAAO,OAAW,MACpB,OAAO,OAAO,IAAI,UAAU,CAAC,EAAI,IAEZS,EAAAA,kBAAAA,IAAIF,EAAM,CAAE,GAAGD,EAAgB,IAAKF,CAAY,CAAE,CAC7E,CAAG,EACD,OAAAH,EAAK,YAAc,aAAaD,CAAI,GAC7B,CAAE,GAAGD,EAAW,CAACC,CAAI,EAAGC,CAAI,CACrC,EAAG,EAAE,EACL,SAASS,EAA4BC,EAAQC,EAAO,CAC9CD,GAAQE,EAAS,UAAU,IAAMF,EAAO,cAAcC,CAAK,CAAC,CAClE","x_google_ignoreList":[0]}
|
package/dist/index.cjs192.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";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const m=require("react"),g=require("./index.cjs182.js"),a=require("./index.cjs73.js");function j(e){const r=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(r,t,n.get?n:{enumerable:!0,get:()=>e[t]})}}return r.default=e,Object.freeze(r)}const l=j(m);var p=l.forwardRef((e,r)=>{const{children:t,...n}=e,o=l.Children.toArray(t),i=o.find(y);if(i){const s=i.props.children,c=o.map(f=>f===i?l.Children.count(s)>1?l.Children.only(null):l.isValidElement(s)?s.props.children:null:f);return a.jsxRuntimeExports.jsx(u,{...n,ref:r,children:l.isValidElement(s)?l.cloneElement(s,void 0,c):null})}return a.jsxRuntimeExports.jsx(u,{...n,ref:r,children:t})});p.displayName="Slot";var u=l.forwardRef((e,r)=>{const{children:t,...n}=e;if(l.isValidElement(t)){const o=R(t);return l.cloneElement(t,{...b(n,t.props),ref:r?g.composeRefs(r,o):o})}return l.Children.count(t)>1?l.Children.only(null):null});u.displayName="SlotClone";var d=({children:e})=>a.jsxRuntimeExports.jsx(a.jsxRuntimeExports.Fragment,{children:e});function y(e){return l.isValidElement(e)&&e.type===d}function b(e,r){const t={...r};for(const n in r){const o=e[n],i=r[n];/^on[A-Z]/.test(n)?o&&i?t[n]=(...c)=>{i(...c),o(...c)}:o&&(t[n]=o):n==="style"?t[n]={...o,...i}:n==="className"&&(t[n]=[o,i].filter(Boolean).join(" "))}return{...e,...t}}function R(e){var n,o;let r=(n=Object.getOwnPropertyDescriptor(e.props,"ref"))==null?void 0:n.get,t=r&&"isReactWarning"in r&&r.isReactWarning;return t?e.ref:(r=(o=Object.getOwnPropertyDescriptor(e,"ref"))==null?void 0:o.get,t=r&&"isReactWarning"in r&&r.isReactWarning,t?e.props.ref:e.props.ref||e.ref)}exports.Slot=p;exports.Slottable=d;
|
|
2
2
|
//# sourceMappingURL=index.cjs192.js.map
|