import{p as n,q as o}from"./index-9ce39810.js";let t={convertCondition:n=>{if(!n)return"";let o="";return Object.keys(n).forEach((function(t){o+=t+"="+encodeURIComponent(n[t])+"&"})),o.substring(0,o.length-1)},to:(o,e)=>{n({url:e?o+"?"+t.convertCondition(e):o})},redirectTo:(n,e)=>{o({url:e?n+"?"+t.convertCondition(e):n})}};export{t as r};
