function aoe(o,e){const t={type:1,children:[]};let i=0,n=t;const s=[],r=new roe(o);for(;!r.eos();){let a=r.next();const l=a==="\\"&&IN(r.peek(),e)!==0;if(l&&(a=r.next()),!l&&loe(a,e)&&a===r.peek()){r.advance(),n.type===2&&(n=s.pop());const d=IN(a,e);if(n.type===d||n.type===5&&d===6)n=s.pop();else{const c={type:d,children:[]};d===5&&(c.index=i,i++),n.children.push(c),s.push(n),n=c}}else if(a===`
`)n.type===2&&(n=s.pop()),n.children.push({type:8});else if(n.type!==2){const d={type:2,content:a};n.children.push(d),s.push(n),n=d}else n.content+=a}return n.type===2&&(n=s.pop()),t}
")?o.substr(0,o.length-2):o}function qse(o,e){return function(t,i){return typeof t=="string"&&t.endsWith(o)?e:null}}function Gse(o,e){const t=`/${o}`,i=`\\${o}`,n=function(r,a){return typeof r!="string"?null:a?a===o?e:null:r===o||r.endsWith(t)||r.endsWith(i)?e:null},s=[o];return n.basenames=s,n.patterns=[e],n.allBasenames=s,n}function Zse(o,e){const t=s6(o.slice(1,-1).split(",").map(a=>v2(a,e)).filter(a=>a!==kl),o),i=t.length;if(!i)return kl;if(i===1)return t[0];const n=function(a,l){for(let d=0,c=t.length;d<c;d++)if(t[d](a,l))return o;return null},s=t.find(a=>!!a.allBasenames);s&&(n.allBasenames=s.allBasenames);const r=t.reduce((a,l)=>l.allPaths?a.concat(l.allPaths):a,[]);return r.length&&(n.allPaths=r),n}function w5(o,e,t){const i=ma===Wi.sep,n=i?o:o.replace(Hse,ma),s=ma+n,r=Wi.sep+o;let a;return t?a=function(l,d){return typeof l=="string"&&(l===n||l.endsWith(s)||!i&&(l===o||l.endsWith(r)))?e:null}:a=function(l,d){return typeof l=="string"&&(l===n||!i&&l===o)?e:null},a.allPaths=[(t?"