try{let e=typeof window<`u`?window:typeof global<`u`?global:typeof globalThis<`u`?globalThis:typeof self<`u`?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]=`c4bbacc3-3c6b-4eaa-a13b-0a84acc39bfd`,e._sentryDebugIdIdentifier=`sentry-dbid-c4bbacc3-3c6b-4eaa-a13b-0a84acc39bfd`)}catch{}import{o as e}from"./rolldown-runtime-nx40z1zs.js";import{Sp as t,gp as n,jg as r,xp as i}from"./entry.client-mpghtlrl.js";var a=e(r(),1);function o(e){let r=t(),o=(0,a.useRef)(void 0);return n(r.stores.location,t=>{let n=e?.select?e.select(t):t;if(e?.structuralSharing??r.options.defaultStructuralSharing){let e=i(o.current,n);return o.current=e,e}return n})}export{o as t};