import{__exports as e}from"../../../../../_virtual/partial.mjs";import{__require as t}from"./matcher.mjs";var r;function n(){if(r)return e;r=1,Object.defineProperty(e,"__esModule",{value:!0});const n=t();class s extends n.default{match(e){const t=e.split("/"),r=t.length,n=this._storage.filter(e=>!e.complete||e.segments.length>r);for(const e of n){const n=e.sections[0];if(!e.complete&&r>n.length)return!0;if(t.every((t,r)=>{const n=e.segments[r];return!(!n.dynamic||!n.patternRe.test(t))||!n.dynamic&&n.pattern===t}))return!0}return!1}}return e.default=s,e}export{n as __require};