// @bun
var{defineProperty:o,getOwnPropertyNames:d,getOwnPropertyDescriptor:l}=Object,n=Object.prototype.hasOwnProperty;function M(e){return this[e]}var c=(e)=>{var a=(i??=new WeakMap).get(e),r;if(a)return a;if(a=o({},"__esModule",{value:!0}),e&&typeof e==="object"||typeof e==="function"){for(var t of d(e))if(!n.call(a,t))o(a,t,{get:M.bind(e,t),enumerable:!(r=l(e,t))||r.enumerable})}return i.set(e,a),a},i;var g=(e)=>e;function w(e,a){this[e]=g.bind(null,a)}var R=(e,a)=>{for(var r in a)o(e,r,{get:a[r],enumerable:!0,configurable:!0,set:w.bind(a,r)})};var s=(e,a)=>()=>(e&&(a=e(e=0)),a);var v=import.meta.require;import{abortNavigation as N,clearMiddleware as f,createClientCookieManager as m,createMiddlewareContext as k,createRouteLocation as O,createServerCookieManager as S,createStorageManager as T,defineMiddleware as b,getMiddleware as y,getMiddlewareNames as D,hasMiddleware as L,loadMiddlewareFromDirectory as h,navigateTo as A,registerMiddleware as E,runMiddleware as F}from"stx-router";var u=()=>{};u();export{F as runMiddleware,E as registerMiddleware,A as navigateTo,h as loadMiddlewareFromDirectory,L as hasMiddleware,D as getMiddlewareNames,y as getMiddleware,b as defineMiddleware,T as createStorageManager,S as createServerCookieManager,O as createRouteLocation,k as createMiddlewareContext,m as createClientCookieManager,f as clearMiddleware,N as abortNavigation};
