import{b as r}from"./index.chunk.CJx-PkC0.js";import{r as a}from"./router.chunk.YsRm4bSN.js";import{i as s,bA as e}from"./main.chunk.N-eZ2ybB.js";const u=u=>{const[m,n]=r(u),o=a.useCallback(r=>s(r)?r(m):m,[m]),c=a.useCallback(r=>{const a=e(r).reduce((r,[a,s])=>({...r,[a]:s||null}),{});n(a)},[n]);return{params:m,setParams:n,readQueryParams:o,syncQueryParams:c}};export{u};
