@shopify/create-hydrogen 5.0.30 → 5.0.32

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (42) hide show
  1. package/dist/{acorn-CAM24XUM.js → acorn-D3XGYVX5.js} +1 -1
  2. package/dist/{angular-DNP7YRKH.js → angular-5D7723Z5.js} +1 -1
  3. package/dist/assets/hydrogen/starter/CHANGELOG.md +24 -0
  4. package/dist/assets/hydrogen/starter/app/components/PaginatedResourceSection.tsx +24 -4
  5. package/dist/assets/hydrogen/starter/app/components/ProductPrice.tsx +1 -1
  6. package/dist/assets/hydrogen/starter/app/routes/account.addresses.tsx +1 -1
  7. package/dist/assets/hydrogen/starter/package.json +4 -4
  8. package/dist/assets/hydrogen/starter/storefrontapi.generated.d.ts +0 -11
  9. package/dist/{babel-Q7WGFTYC.js → babel-W4SSPZLL.js} +1 -1
  10. package/dist/{chunk-SOYTF5NM.js → chunk-3UT44YA3.js} +1 -1
  11. package/dist/{chunk-SSCFXJTG.js → chunk-6YLOOASI.js} +1 -1
  12. package/dist/{chunk-FOFKID43.js → chunk-ER74KRZR.js} +1 -1
  13. package/dist/{chunk-TDF32DPQ.js → chunk-G5QFWJ2V.js} +1 -1
  14. package/dist/{chunk-KP5HTXEK.js → chunk-S47JF7KY.js} +1 -1
  15. package/dist/{chunk-MLIZM3D3.js → chunk-SXLE2FF3.js} +1 -1
  16. package/dist/chunk-USCGCV2A.js +51 -0
  17. package/dist/{chunk-6JMCCVMB.js → chunk-VPI7X7QP.js} +407 -403
  18. package/dist/create-app.js +58 -58
  19. package/dist/{del-SDQ4S47S.js → del-LPJOJWPV.js} +1 -1
  20. package/dist/devtools-IOYTEV2Q.js +8 -0
  21. package/dist/error-handler-XM4EMAFK.js +2 -0
  22. package/dist/{estree-V6MYQTSR.js → estree-4EWMUZGX.js} +1 -1
  23. package/dist/{flow-6QBD7VFZ.js → flow-ZZA33LBV.js} +1 -1
  24. package/dist/{glimmer-F25SYUSG.js → glimmer-LVONIDIY.js} +1 -1
  25. package/dist/{graphql-DIAYZHIY.js → graphql-2VR4PPK4.js} +1 -1
  26. package/dist/{html-AE7KHAJ7.js → html-4U2T6EDM.js} +1 -1
  27. package/dist/{is-wsl-7NORHMI2.js → is-wsl-372MA7ML.js} +1 -1
  28. package/dist/{markdown-W7E2MOQ2.js → markdown-AQL464P2.js} +1 -1
  29. package/dist/{meriyah-37WUJX22.js → meriyah-NB5R4FHL.js} +1 -1
  30. package/dist/{morph-IIMCOPW3.js → morph-XDL3KZUY.js} +1 -1
  31. package/dist/{multipart-parser-JT5WYXDW.js → multipart-parser-2PO3V5GO.js} +1 -1
  32. package/dist/{open-VLBBYVPL.js → open-PS3773TT.js} +1 -1
  33. package/dist/{out-YA75DDJD.js → out-JE4S4AHU.js} +1 -1
  34. package/dist/{postcss-7X2D3S46.js → postcss-QLC4AY6Q.js} +1 -1
  35. package/dist/{typescript-AXPPFPUX.js → typescript-SBIJ6HI3.js} +1 -1
  36. package/dist/{yaml-U74YVCK4.js → yaml-OHXFJGCG.js} +1 -1
  37. package/package.json +2 -2
  38. package/dist/assets/hydrogen/starter/app/routes/api.$version.[graphql.json].tsx +0 -14
  39. package/dist/chunk-AMAQOLRU.js +0 -51
  40. package/dist/devtools-RYOXA5H7.js +0 -8
  41. package/dist/error-handler-SA6VDSNI.js +0 -2
  42. /package/dist/{chunk-Y52UPHAG.js → chunk-LFSGY5IW.js} +0 -0
@@ -1,5 +1,5 @@
1
1
  import { createRequire as __createRequire } from 'module';globalThis.require = __createRequire(import.meta.url);
2
- import{c as RSt,d as PSt}from"./chunk-TDF32DPQ.js";import"./chunk-KP5HTXEK.js";import{c as MSt}from"./chunk-AMAQOLRU.js";import{a as __,c as q_,e as I7e,g as __dirname,h as __filename,i as Zs}from"./chunk-Y52UPHAG.js";var R7e=q_((NDt,$4)=>{"use strict";Zs();var LSt=(()=>{var y=Object.defineProperty,i=Object.getOwnPropertyNames,u=(e,t)=>function(){return e&&(t=(0,e[i(e)[0]])(e=0)),t},S=(e,t)=>function(){return t||(0,e[i(e)[0]])((t={exports:{}}).exports,t),t.exports},P=(e,t)=>{for(var r in t)y(e,r,{get:t[r],enumerable:!0})},z,re,Ie,at=u({"src/compiler/corePublic.ts"(){"use strict";z="5.2",re="5.2.2",Ie=(e=>(e[e.LessThan=-1]="LessThan",e[e.EqualTo=0]="EqualTo",e[e.GreaterThan=1]="GreaterThan",e))(Ie||{})}});function We(e){return e?e.length:0}function Ue(e,t){if(e)for(let r=0;r<e.length;r++){let o=t(e[r],r);if(o)return o}}function Yt(e,t){if(e)for(let r=e.length-1;r>=0;r--){let o=t(e[r],r);if(o)return o}}function Cn(e,t){if(e!==void 0)for(let r=0;r<e.length;r++){let o=t(e[r],r);if(o!==void 0)return o}}function Wn(e,t){for(let r of e){let o=t(r);if(o!==void 0)return o}}function zr(e,t,r){let o=r;if(e){let s=0;for(let l of e)o=t(o,l,s),s++}return o}function Ji(e,t,r){let o=[];M.assertEqual(e.length,t.length);for(let s=0;s<e.length;s++)o.push(r(e[s],t[s],s));return o}function Wo(e,t){if(e.length<=1)return e;let r=[];for(let o=0,s=e.length;o<s;o++)o&&r.push(t),r.push(e[o]);return r}function Kr(e,t){if(e){for(let r=0;r<e.length;r++)if(!t(e[r],r))return!1}return!0}function Yn(e,t,r){if(e!==void 0)for(let o=r??0;o<e.length;o++){let s=e[o];if(t(s,o))return s}}function vl(e,t,r){if(e!==void 0)for(let o=r??e.length-1;o>=0;o--){let s=e[o];if(t(s,o))return s}}function No(e,t,r){if(e===void 0)return-1;for(let o=r??0;o<e.length;o++)if(t(e[o],o))return o;return-1}function ys(e,t,r){if(e===void 0)return-1;for(let o=r??e.length-1;o>=0;o--)if(t(e[o],o))return o;return-1}function Sd(e,t){for(let r=0;r<e.length;r++){let o=t(e[r],r);if(o)return o}return M.fail()}function Br(e,t,r=I0){if(e){for(let o of e)if(r(o,t))return!0}return!1}function Bo(e,t,r=I0){return e.length===t.length&&e.every((o,s)=>r(o,t[s]))}function ks(e,t,r){for(let o=r||0;o<e.length;o++)if(Br(t,e.charCodeAt(o)))return o;return-1}function us(e,t){let r=0;if(e)for(let o=0;o<e.length;o++){let s=e[o];t(s,o)&&r++}return r}function Ar(e,t){if(e){let r=e.length,o=0;for(;o<r&&t(e[o]);)o++;if(o<r){let s=e.slice(0,o);for(o++;o<r;){let l=e[o];t(l)&&s.push(l),o++}return s}}return e}function x0(e,t){let r=0;for(let o=0;o<e.length;o++)t(e[o],o,e)&&(e[r]=e[o],r++);e.length=r}function Dm(e){e.length=0}function vn(e,t){let r;if(e){r=[];for(let o=0;o<e.length;o++)r.push(t(e[o],o))}return r}function*j$(e,t){for(let r of e)yield t(r)}function Wc(e,t){if(e)for(let r=0;r<e.length;r++){let o=e[r],s=t(o,r);if(o!==s){let l=e.slice(0,r);for(l.push(s),r++;r<e.length;r++)l.push(t(e[r],r));return l}}return e}function y_(e){let t=[];for(let r of e)r&&(Jo(r)?Zr(t,r):t.push(r));return t}function Za(e,t){let r;if(e)for(let o=0;o<e.length;o++){let s=t(e[o],o);s&&(Jo(s)?r=Zr(r,s):r=In(r,s))}return r||nt}function Ek(e,t){let r=[];if(e)for(let o=0;o<e.length;o++){let s=t(e[o],o);s&&(Jo(s)?Zr(r,s):r.push(s))}return r}function*J$(e,t){for(let r of e){let o=t(r);o&&(yield*o)}}function wye(e,t){let r;if(e)for(let o=0;o<e.length;o++){let s=e[o],l=t(s,o);(r||s!==l||Jo(l))&&(r||(r=e.slice(0,o)),Jo(l)?Zr(r,l):r.push(l))}return r||e}function q$(e,t){let r=[];for(let o=0;o<e.length;o++){let s=t(e[o],o);if(s===void 0)return;r.push(s)}return r}function co(e,t){let r=[];if(e)for(let o=0;o<e.length;o++){let s=t(e[o],o);s!==void 0&&r.push(s)}return r}function*Sk(e,t){for(let r of e){let o=t(r);o!==void 0&&(yield o)}}function u9e(e,t){if(!e)return;let r=new Map;return e.forEach((o,s)=>{let l=t(s,o);if(l!==void 0){let[d,f]=l;d!==void 0&&f!==void 0&&r.set(d,f)}}),r}function Tk(e,t,r){if(e.has(t))return e.get(t);let o=r();return e.set(t,o),o}function lS(e,t){return e.has(t)?!1:(e.add(t),!0)}function*d9e(e){yield e}function X$(e,t,r){let o;if(e){o=[];let s=e.length,l,d,f=0,_=0;for(;f<s;){for(;_<s;){let v=e[_];if(d=t(v,_),_===0)l=d;else if(d!==l)break;_++}if(f<_){let v=r(e.slice(f,_),l,f,_);v&&o.push(v),f=_}l=d,_++}}return o}function Oye(e,t){if(!e)return;let r=new Map;return e.forEach((o,s)=>{let[l,d]=t(s,o);r.set(l,d)}),r}function At(e,t){if(e)if(t){for(let r of e)if(t(r))return!0}else return e.length>0;return!1}function $$(e,t,r){let o;for(let s=0;s<e.length;s++)t(e[s])?o=o===void 0?s:o:o!==void 0&&(r(o,s),o=void 0);o!==void 0&&r(o,e.length)}function ho(e,t){return At(t)?At(e)?[...e,...t]:t:e}function p9e(e,t){return t}function xk(e){return e.map(p9e)}function f9e(e,t,r){let o=xk(e);Bye(e,o,r);let s=e[o[0]],l=[o[0]];for(let d=1;d<o.length;d++){let f=o[d],_=e[f];t(s,_)||(l.push(f),s=_)}return l.sort(),l.map(d=>e[d])}function _9e(e,t){let r=[];for(let o of e)Vf(r,o,t);return r}function XI(e,t,r){return e.length===0?[]:e.length===1?e.slice():r?f9e(e,t,r):_9e(e,t)}function m9e(e,t){if(e.length===0)return nt;let r=e[0],o=[r];for(let s=1;s<e.length;s++){let l=e[s];switch(t(l,r)){case!0:case 0:continue;case-1:return M.fail("Array is unsorted.")}o.push(r=l)}return o}function Y$(){return[]}function ob(e,t,r,o){if(e.length===0)return e.push(t),!0;let s=ab(e,t,Cl,r);return s<0?(e.splice(~s,0,t),!0):o?(e.splice(s,0,t),!0):!1}function Ak(e,t,r){return m9e($R(e,t),r||t||ld)}function Fye(e,t){if(e.length<2)return!0;for(let r=1,o=e.length;r<o;r++)if(t(e[r-1],e[r])===1)return!1;return!0}function M3(e,t,r,o){let s=3;if(e.length<2)return s;let l=t(e[0]);for(let d=1,f=e.length;d<f&&s!==0;d++){let _=t(e[d]);s&1&&r(l,_)>0&&(s&=-2),s&2&&o(l,_)>0&&(s&=-3),l=_}return s}function Im(e,t,r=I0){if(!e||!t)return e===t;if(e.length!==t.length)return!1;for(let o=0;o<e.length;o++)if(!r(e[o],t[o],o))return!1;return!0}function Dk(e){let t;if(e)for(let r=0;r<e.length;r++){let o=e[r];(t||!o)&&(t||(t=e.slice(0,r)),o&&t.push(o))}return t||e}function Wye(e,t,r){if(!t||!e||t.length===0||e.length===0)return t;let o=[];e:for(let s=0,l=0;l<t.length;l++){l>0&&M.assertGreaterThanOrEqual(r(t[l],t[l-1]),0);t:for(let d=s;s<e.length;s++)switch(s>d&&M.assertGreaterThanOrEqual(r(e[s],e[s-1]),0),r(t[l],e[s])){case-1:o.push(t[l]);continue e;case 0:continue e;case 1:continue t}}return o}function In(e,t){return t===void 0?e:e===void 0?[t]:(e.push(t),e)}function $I(e,t){return e===void 0?t:t===void 0?e:Jo(e)?Jo(t)?ho(e,t):In(e,t):Jo(t)?In(t,e):[e,t]}function Q$(e,t){return t<0?e.length+t:t}function Zr(e,t,r,o){if(t===void 0||t.length===0)return e;if(e===void 0)return t.slice(r,o);r=r===void 0?0:Q$(t,r),o=o===void 0?t.length:Q$(t,o);for(let s=r;s<o&&s<t.length;s++)t[s]!==void 0&&e.push(t[s]);return e}function Vf(e,t,r){return Br(e,t,r)?!1:(e.push(t),!0)}function Hh(e,t,r){return e?(Vf(e,t,r),e):[t]}function Bye(e,t,r){t.sort((o,s)=>r(e[o],e[s])||el(o,s))}function $R(e,t){return e.length===0?e:e.slice().sort(t)}function*g9e(e){for(let t=e.length-1;t>=0;t--)yield e[t]}function jy(e,t){let r=xk(e);return Bye(e,r,t),r.map(o=>e[o])}function Z$(e,t,r,o){for(;r<o;){if(e[r]!==t[r])return!1;r++}return!0}function su(e){return e===void 0||e.length===0?void 0:e[0]}function L3(e){if(e)for(let t of e)return t}function Xa(e){return M.assert(e.length!==0),e[0]}function Gye(e){for(let t of e)return t;M.fail("iterator is empty")}function ml(e){return e===void 0||e.length===0?void 0:e[e.length-1]}function Ja(e){return M.assert(e.length!==0),e[e.length-1]}function ug(e){return e&&e.length===1?e[0]:void 0}function eY(e){return M.checkDefined(ug(e))}function dg(e){return e&&e.length===1?e[0]:e}function tY(e,t,r){let o=e.slice(0);return o[t]=r,o}function ab(e,t,r,o,s){return uA(e,r(t),r,o,s)}function uA(e,t,r,o,s){if(!At(e))return-1;let l=s||0,d=e.length-1;for(;l<=d;){let f=l+(d-l>>1),_=r(e[f],f);switch(o(_,t)){case-1:l=f+1;break;case 0:return f;case 1:d=f-1;break}}return~l}function sd(e,t,r,o,s){if(e&&e.length>0){let l=e.length;if(l>0){let d=o===void 0||o<0?0:o,f=s===void 0||d+s>l-1?l-1:d+s,_;for(arguments.length<=2?(_=e[d],d++):_=r;d<=f;)_=t(_,e[d],d),d++;return _}}return r}function ws(e,t){return $y.call(e,t)}function Ik(e,t){return $y.call(e,t)?e[t]:void 0}function jh(e){let t=[];for(let r in e)$y.call(e,r)&&t.push(r);return t}function h9e(e){let t=[];do{let r=Object.getOwnPropertyNames(e);for(let o of r)Vf(t,o)}while(e=Object.getPrototypeOf(e));return t}function dA(e){let t=[];for(let r in e)$y.call(e,r)&&t.push(e[r]);return t}function zye(e,t){let r=new Array(e);for(let o=0;o<e;o++)r[o]=t(o);return r}function Aa(e,t){let r=[];for(let o of e)r.push(t?t(o):o);return r}function Ck(e,...t){for(let r of t)if(r!==void 0)for(let o in r)ws(r,o)&&(e[o]=r[o]);return e}function Vye(e,t,r=I0){if(e===t)return!0;if(!e||!t)return!1;for(let o in e)if($y.call(e,o)&&(!$y.call(t,o)||!r(e[o],t[o])))return!1;for(let o in t)if($y.call(t,o)&&!$y.call(e,o))return!1;return!0}function cS(e,t,r=Cl){let o=new Map;for(let s of e){let l=t(s);l!==void 0&&o.set(l,r(s))}return o}function Uye(e,t,r=Cl){let o=[];for(let s of e)o[t(s)]=r(s);return o}function Nk(e,t,r=Cl){let o=Uf();for(let s of e)o.add(t(s),r(s));return o}function YR(e,t,r=Cl){return Aa(Nk(e,t).values(),r)}function Kye(e,t){let r={};if(e)for(let o of e){let s=`${t(o)}`;(r[s]??(r[s]=[])).push(o)}return r}function nY(e){let t={};for(let r in e)$y.call(e,r)&&(t[r]=e[r]);return t}function k3(e,t){let r={};for(let o in t)$y.call(t,o)&&(r[o]=t[o]);for(let o in e)$y.call(e,o)&&(r[o]=e[o]);return r}function rY(e,t){for(let r in t)$y.call(t,r)&&(e[r]=t[r])}function _a(e,t){return t?t.bind(e):void 0}function Uf(){let e=new Map;return e.add=y9e,e.remove=v9e,e}function y9e(e,t){let r=this.get(e);return r?r.push(t):this.set(e,r=[t]),r}function v9e(e,t){let r=this.get(e);r&&(ZR(r,t),r.length||this.delete(e))}function iY(e){let t=e?.slice()||[],r=0;function o(){return r===t.length}function s(...d){t.push(...d)}function l(){if(o())throw new Error("Queue is empty");let d=t[r];if(t[r]=void 0,r++,r>100&&r>t.length>>1){let f=t.length-r;t.copyWithin(0,r),t.length=f,r=0}return d}return{enqueue:s,dequeue:l,isEmpty:o}}function b9e(e,t){let r=new Map,o=0;function*s(){for(let d of r.values())Jo(d)?yield*d:yield d}let l={has(d){let f=e(d);if(!r.has(f))return!1;let _=r.get(f);if(!Jo(_))return t(_,d);for(let v of _)if(t(v,d))return!0;return!1},add(d){let f=e(d);if(r.has(f)){let _=r.get(f);if(Jo(_))Br(_,d,t)||(_.push(d),o++);else{let v=_;t(v,d)||(r.set(f,[v,d]),o++)}}else r.set(f,d),o++;return this},delete(d){let f=e(d);if(!r.has(f))return!1;let _=r.get(f);if(Jo(_)){for(let v=0;v<_.length;v++)if(t(_[v],d))return _.length===1?r.delete(f):_.length===2?r.set(f,_[1-v]):aY(_,v),o--,!0}else if(t(_,d))return r.delete(f),o--,!0;return!1},clear(){r.clear(),o=0},get size(){return o},forEach(d){for(let f of Aa(r.values()))if(Jo(f))for(let _ of f)d(_,_,l);else{let _=f;d(_,_,l)}},keys(){return s()},values(){return s()},*entries(){for(let d of s())yield[d,d]},[Symbol.iterator]:()=>s(),[Symbol.toStringTag]:r[Symbol.toStringTag]};return l}function Jo(e){return Array.isArray(e)}function Rk(e){return Jo(e)?e:[e]}function ma(e){return typeof e=="string"}function Jy(e){return typeof e=="number"}function ci(e,t){return e!==void 0&&t(e)?e:void 0}function ra(e,t){return e!==void 0&&t(e)?e:M.fail(`Invalid cast. The supplied value ${e} did not pass the test '${M.getFunctionName(t)}'.`)}function Os(e){}function qy(){return!1}function A0(){return!0}function D0(){}function Cl(e){return e}function Hye(e){return e.toLowerCase()}function Q_(e){return dY.test(e)?e.replace(dY,Hye):e}function Ko(){throw new Error("Not implemented")}function gp(e){let t;return()=>(e&&(t=e(),e=void 0),t)}function pg(e){let t=new Map;return r=>{let o=`${typeof r}:${r}`,s=t.get(o);return s===void 0&&!t.has(o)&&(s=e(r),t.set(o,s)),s}}function E9e(e){let t=new WeakMap;return r=>{let o=t.get(r);return o===void 0&&!t.has(r)&&(o=e(r),t.set(r,o)),o}}function jye(e,t){return(...r)=>{let o=t.get(r);return o===void 0&&!t.has(r)&&(o=e(...r),t.set(r,o)),o}}function S9e(e,t,r,o,s){if(s){let l=[];for(let d=0;d<arguments.length;d++)l[d]=arguments[d];return d=>sd(l,(f,_)=>_(f),d)}else return o?l=>o(r(t(e(l)))):r?l=>r(t(e(l))):t?l=>t(e(l)):e?l=>e(l):l=>l}function I0(e,t){return e===t}function pA(e,t){return e===t||e!==void 0&&t!==void 0&&e.toUpperCase()===t.toUpperCase()}function fA(e,t){return I0(e,t)}function Jye(e,t){return e===t?0:e===void 0?-1:t===void 0?1:e<t?-1:1}function el(e,t){return Jye(e,t)}function w3(e,t){return el(e?.start,t?.start)||el(e?.length,t?.length)}function oY(e,t){return sd(e,(r,o)=>t(r,o)===-1?r:o)}function O3(e,t){return e===t?0:e===void 0?-1:t===void 0?1:(e=e.toUpperCase(),t=t.toUpperCase(),e<t?-1:e>t?1:0)}function qye(e,t){return e===t?0:e===void 0?-1:t===void 0?1:(e=e.toLowerCase(),t=t.toLowerCase(),e<t?-1:e>t?1:0)}function ld(e,t){return Jye(e,t)}function F3(e){return e?O3:ld}function Xye(){return K3}function $ye(e){K3!==e&&(K3=e,fY=void 0)}function Pk(e,t){return(fY||(fY=sve(K3)))(e,t)}function Yye(e,t,r,o){return e===t?0:e===void 0?-1:t===void 0?1:o(e[r],t[r])}function uS(e,t){return el(e?1:0,t?1:0)}function QR(e,t,r){let o=Math.max(2,Math.floor(e.length*.34)),s=Math.floor(e.length*.4)+1,l;for(let d of t){let f=r(d);if(f!==void 0&&Math.abs(f.length-e.length)<=o){if(f===e||f.length<3&&f.toLowerCase()!==e.toLowerCase())continue;let _=T9e(e,f,s-.1);if(_===void 0)continue;M.assert(_<s),s=_,l=d}}return l}function T9e(e,t,r){let o=new Array(t.length+1),s=new Array(t.length+1),l=r+.01;for(let f=0;f<=t.length;f++)o[f]=f;for(let f=1;f<=e.length;f++){let _=e.charCodeAt(f-1),v=Math.ceil(f>r?f-r:1),h=Math.floor(t.length>r+f?r+f:t.length);s[0]=f;let T=f;for(let N=1;N<v;N++)s[N]=l;for(let N=v;N<=h;N++){let R=e[f-1].toLowerCase()===t[N-1].toLowerCase()?o[N-1]+.1:o[N-1]+2,O=_===t.charCodeAt(N-1)?o[N-1]:Math.min(o[N]+1,s[N-1]+1,R);s[N]=O,T=Math.min(T,O)}for(let N=h+1;N<=t.length;N++)s[N]=l;if(T>r)return;let I=o;o=s,s=I}let d=o[t.length];return d>r?void 0:d}function $l(e,t){let r=e.length-t.length;return r>=0&&e.indexOf(t,r)===r}function YI(e,t){return $l(e,t)?e.slice(0,e.length-t.length):e}function Qye(e,t){return $l(e,t)?e.slice(0,e.length-t.length):void 0}function Ru(e,t){return e.indexOf(t)!==-1}function Zye(e){let t=e.length;for(let r=t-1;r>0;r--){let o=e.charCodeAt(r);if(o>=48&&o<=57)do--r,o=e.charCodeAt(r);while(r>0&&o>=48&&o<=57);else if(r>4&&(o===110||o===78)){if(--r,o=e.charCodeAt(r),o!==105&&o!==73||(--r,o=e.charCodeAt(r),o!==109&&o!==77))break;--r,o=e.charCodeAt(r)}else break;if(o!==45&&o!==46)break;t=r}return t===e.length?e:e.slice(0,t)}function W3(e,t){for(let r=0;r<e.length;r++)if(e[r]===t)return C0(e,r),!0;return!1}function C0(e,t){for(let r=t;r<e.length-1;r++)e[r]=e[r+1];e.pop()}function aY(e,t){e[t]=e[e.length-1],e.pop()}function ZR(e,t){return x9e(e,r=>r===t)}function x9e(e,t){for(let r=0;r<e.length;r++)if(t(e[r]))return aY(e,r),!0;return!1}function Pu(e){return e?Cl:Q_}function eve({prefix:e,suffix:t}){return`${e}*${t}`}function tve(e,t){return M.assert(B3(e,t)),t.substring(e.prefix.length,t.length-e.suffix.length)}function sY(e,t,r){let o,s=-1;for(let l of e){let d=t(l);B3(d,r)&&d.prefix.length>s&&(s=d.prefix.length,o=l)}return o}function vo(e,t){return e.lastIndexOf(t,0)===0}function eP(e,t){return vo(e,t)?e.substr(t.length):e}function lY(e,t,r=Cl){return vo(r(e),r(t))?e.substring(t.length):void 0}function B3({prefix:e,suffix:t},r){return r.length>=e.length+t.length&&vo(r,e)&&$l(r,t)}function G3(e,t){return r=>e(r)&&t(r)}function Z_(...e){return(...t)=>{let r;for(let o of e)if(r=o(...t),r)return r;return r}}function z3(e){return(...t)=>!e(...t)}function A9e(e){}function ux(e){return e===void 0?void 0:[e]}function nve(e,t,r,o,s,l){l=l||Os;let d=0,f=0,_=e.length,v=t.length,h=!1;for(;d<_&&f<v;){let T=e[d],I=t[f],N=r(T,I);N===-1?(o(T),d++,h=!0):N===1?(s(I),f++,h=!0):(l(I,T),d++,f++)}for(;d<_;)o(e[d++]),h=!0;for(;f<v;)s(t[f++]),h=!0;return h}function rve(e){let t=[];return ive(e,t,void 0,0),t}function ive(e,t,r,o){for(let s of e[o]){let l;r?(l=r.slice(),l.push(s)):l=[s],o===e.length-1?t.push(l):ive(e,t,l,o+1)}}function dx(e,t,r=" "){return t<=e.length?e:r.repeat(t-e.length)+e}function D9e(e,t,r=" "){return t<=e.length?e:e+r.repeat(t-e.length)}function V3(e,t){if(e){let r=e.length,o=0;for(;o<r&&t(e[o]);)o++;return e.slice(0,o)}}function ove(e,t){if(e){let r=e.length,o=0;for(;o<r&&t(e[o]);)o++;return e.slice(o)}}function I9e(e){let t=e.length-1;for(;t>=0&&$g(e.charCodeAt(t));)t--;return e.slice(0,t+1)}function cY(){return typeof process<"u"&&!!process.nextTick&&!process.browser&&typeof $4=="object"}var nt,U3,ave,uY,Xy,$y,dY,pY,sve,fY,K3,dS,_A,tP,C9e=u({"src/compiler/core.ts"(){"use strict";ea(),nt=[],U3=new Map,ave=new Set,uY=(e=>(e[e.None=0]="None",e[e.CaseSensitive=1]="CaseSensitive",e[e.CaseInsensitive=2]="CaseInsensitive",e[e.Both=3]="Both",e))(uY||{}),Xy=Array.prototype.at?(e,t)=>e?.at(t):(e,t)=>{if(e&&(t=Q$(e,t),t<e.length))return e[t]},$y=Object.prototype.hasOwnProperty,dY=/[^\u0130\u0131\u00DFa-z0-9\\/:\-_. ]+/g,pY=(e=>(e[e.None=0]="None",e[e.Normal=1]="Normal",e[e.Aggressive=2]="Aggressive",e[e.VeryAggressive=3]="VeryAggressive",e))(pY||{}),sve=(()=>{let e,t,r=f();return _;function o(v,h,T){if(v===h)return 0;if(v===void 0)return-1;if(h===void 0)return 1;let I=T(v,h);return I<0?-1:I>0?1:0}function s(v){let h=new Intl.Collator(v,{usage:"sort",sensitivity:"variant"}).compare;return(T,I)=>o(T,I,h)}function l(v){if(v!==void 0)return d();return(T,I)=>o(T,I,h);function h(T,I){return T.localeCompare(I)}}function d(){return(T,I)=>o(T,I,v);function v(T,I){return h(T.toUpperCase(),I.toUpperCase())||h(T,I)}function h(T,I){return T<I?-1:T>I?1:0}}function f(){return typeof Intl=="object"&&typeof Intl.Collator=="function"?s:typeof String.prototype.localeCompare=="function"&&typeof String.prototype.toLocaleUpperCase=="function"&&"a".localeCompare("B")<0?l:d}function _(v){return v===void 0?e||(e=r(v)):v==="en-US"?t||(t=r(v)):r(v)}})(),dS=String.prototype.trim?e=>e.trim():e=>_A(tP(e)),_A=String.prototype.trimEnd?e=>e.trimEnd():I9e,tP=String.prototype.trimStart?e=>e.trimStart():e=>e.replace(/^\s+/g,"")}}),_Y,M,N9e=u({"src/compiler/debug.ts"(){"use strict";ea(),ea(),_Y=(e=>(e[e.Off=0]="Off",e[e.Error=1]="Error",e[e.Warning=2]="Warning",e[e.Info=3]="Info",e[e.Verbose=4]="Verbose",e))(_Y||{}),(e=>{let t=0;e.currentLogLevel=2,e.isDebugging=!1;function r(Kt){return e.currentLogLevel<=Kt}e.shouldLog=r;function o(Kt,Tn){e.loggingHost&&r(Kt)&&e.loggingHost.log(Kt,Tn)}function s(Kt){o(3,Kt)}e.log=s,(Kt=>{function Tn(mn){o(1,mn)}Kt.error=Tn;function Hn(mn){o(2,mn)}Kt.warn=Hn;function Gr(mn){o(3,mn)}Kt.log=Gr;function Ui(mn){o(4,mn)}Kt.trace=Ui})(s=e.log||(e.log={}));let l={};function d(){return t}e.getAssertionLevel=d;function f(Kt){let Tn=t;if(t=Kt,Kt>Tn)for(let Hn of jh(l)){let Gr=l[Hn];Gr!==void 0&&e[Hn]!==Gr.assertion&&Kt>=Gr.level&&(e[Hn]=Gr,l[Hn]=void 0)}}e.setAssertionLevel=f;function _(Kt){return t>=Kt}e.shouldAssert=_;function v(Kt,Tn){return _(Kt)?!0:(l[Tn]={level:Kt,assertion:e[Tn]},e[Tn]=Os,!1)}function h(Kt,Tn){debugger;let Hn=new Error(Kt?`Debug Failure. ${Kt}`:"Debug Failure.");throw Error.captureStackTrace&&Error.captureStackTrace(Hn,Tn||h),Hn}e.fail=h;function T(Kt,Tn,Hn){return h(`${Tn||"Unexpected node."}\r
2
+ import{c as RSt,d as PSt}from"./chunk-G5QFWJ2V.js";import"./chunk-S47JF7KY.js";import{c as MSt}from"./chunk-USCGCV2A.js";import{a as __,c as q_,e as I7e,g as __dirname,h as __filename,i as Zs}from"./chunk-LFSGY5IW.js";var R7e=q_((NDt,$4)=>{"use strict";Zs();var LSt=(()=>{var y=Object.defineProperty,i=Object.getOwnPropertyNames,u=(e,t)=>function(){return e&&(t=(0,e[i(e)[0]])(e=0)),t},S=(e,t)=>function(){return t||(0,e[i(e)[0]])((t={exports:{}}).exports,t),t.exports},P=(e,t)=>{for(var r in t)y(e,r,{get:t[r],enumerable:!0})},z,re,Ie,at=u({"src/compiler/corePublic.ts"(){"use strict";z="5.2",re="5.2.2",Ie=(e=>(e[e.LessThan=-1]="LessThan",e[e.EqualTo=0]="EqualTo",e[e.GreaterThan=1]="GreaterThan",e))(Ie||{})}});function We(e){return e?e.length:0}function Ue(e,t){if(e)for(let r=0;r<e.length;r++){let o=t(e[r],r);if(o)return o}}function Yt(e,t){if(e)for(let r=e.length-1;r>=0;r--){let o=t(e[r],r);if(o)return o}}function Cn(e,t){if(e!==void 0)for(let r=0;r<e.length;r++){let o=t(e[r],r);if(o!==void 0)return o}}function Wn(e,t){for(let r of e){let o=t(r);if(o!==void 0)return o}}function zr(e,t,r){let o=r;if(e){let s=0;for(let l of e)o=t(o,l,s),s++}return o}function Ji(e,t,r){let o=[];M.assertEqual(e.length,t.length);for(let s=0;s<e.length;s++)o.push(r(e[s],t[s],s));return o}function Wo(e,t){if(e.length<=1)return e;let r=[];for(let o=0,s=e.length;o<s;o++)o&&r.push(t),r.push(e[o]);return r}function Kr(e,t){if(e){for(let r=0;r<e.length;r++)if(!t(e[r],r))return!1}return!0}function Yn(e,t,r){if(e!==void 0)for(let o=r??0;o<e.length;o++){let s=e[o];if(t(s,o))return s}}function vl(e,t,r){if(e!==void 0)for(let o=r??e.length-1;o>=0;o--){let s=e[o];if(t(s,o))return s}}function No(e,t,r){if(e===void 0)return-1;for(let o=r??0;o<e.length;o++)if(t(e[o],o))return o;return-1}function ys(e,t,r){if(e===void 0)return-1;for(let o=r??e.length-1;o>=0;o--)if(t(e[o],o))return o;return-1}function Sd(e,t){for(let r=0;r<e.length;r++){let o=t(e[r],r);if(o)return o}return M.fail()}function Br(e,t,r=I0){if(e){for(let o of e)if(r(o,t))return!0}return!1}function Bo(e,t,r=I0){return e.length===t.length&&e.every((o,s)=>r(o,t[s]))}function ks(e,t,r){for(let o=r||0;o<e.length;o++)if(Br(t,e.charCodeAt(o)))return o;return-1}function us(e,t){let r=0;if(e)for(let o=0;o<e.length;o++){let s=e[o];t(s,o)&&r++}return r}function Ar(e,t){if(e){let r=e.length,o=0;for(;o<r&&t(e[o]);)o++;if(o<r){let s=e.slice(0,o);for(o++;o<r;){let l=e[o];t(l)&&s.push(l),o++}return s}}return e}function x0(e,t){let r=0;for(let o=0;o<e.length;o++)t(e[o],o,e)&&(e[r]=e[o],r++);e.length=r}function Dm(e){e.length=0}function vn(e,t){let r;if(e){r=[];for(let o=0;o<e.length;o++)r.push(t(e[o],o))}return r}function*j$(e,t){for(let r of e)yield t(r)}function Wc(e,t){if(e)for(let r=0;r<e.length;r++){let o=e[r],s=t(o,r);if(o!==s){let l=e.slice(0,r);for(l.push(s),r++;r<e.length;r++)l.push(t(e[r],r));return l}}return e}function y_(e){let t=[];for(let r of e)r&&(Jo(r)?Zr(t,r):t.push(r));return t}function Za(e,t){let r;if(e)for(let o=0;o<e.length;o++){let s=t(e[o],o);s&&(Jo(s)?r=Zr(r,s):r=In(r,s))}return r||nt}function Ek(e,t){let r=[];if(e)for(let o=0;o<e.length;o++){let s=t(e[o],o);s&&(Jo(s)?Zr(r,s):r.push(s))}return r}function*J$(e,t){for(let r of e){let o=t(r);o&&(yield*o)}}function wye(e,t){let r;if(e)for(let o=0;o<e.length;o++){let s=e[o],l=t(s,o);(r||s!==l||Jo(l))&&(r||(r=e.slice(0,o)),Jo(l)?Zr(r,l):r.push(l))}return r||e}function q$(e,t){let r=[];for(let o=0;o<e.length;o++){let s=t(e[o],o);if(s===void 0)return;r.push(s)}return r}function co(e,t){let r=[];if(e)for(let o=0;o<e.length;o++){let s=t(e[o],o);s!==void 0&&r.push(s)}return r}function*Sk(e,t){for(let r of e){let o=t(r);o!==void 0&&(yield o)}}function u9e(e,t){if(!e)return;let r=new Map;return e.forEach((o,s)=>{let l=t(s,o);if(l!==void 0){let[d,f]=l;d!==void 0&&f!==void 0&&r.set(d,f)}}),r}function Tk(e,t,r){if(e.has(t))return e.get(t);let o=r();return e.set(t,o),o}function lS(e,t){return e.has(t)?!1:(e.add(t),!0)}function*d9e(e){yield e}function X$(e,t,r){let o;if(e){o=[];let s=e.length,l,d,f=0,_=0;for(;f<s;){for(;_<s;){let v=e[_];if(d=t(v,_),_===0)l=d;else if(d!==l)break;_++}if(f<_){let v=r(e.slice(f,_),l,f,_);v&&o.push(v),f=_}l=d,_++}}return o}function Oye(e,t){if(!e)return;let r=new Map;return e.forEach((o,s)=>{let[l,d]=t(s,o);r.set(l,d)}),r}function At(e,t){if(e)if(t){for(let r of e)if(t(r))return!0}else return e.length>0;return!1}function $$(e,t,r){let o;for(let s=0;s<e.length;s++)t(e[s])?o=o===void 0?s:o:o!==void 0&&(r(o,s),o=void 0);o!==void 0&&r(o,e.length)}function ho(e,t){return At(t)?At(e)?[...e,...t]:t:e}function p9e(e,t){return t}function xk(e){return e.map(p9e)}function f9e(e,t,r){let o=xk(e);Bye(e,o,r);let s=e[o[0]],l=[o[0]];for(let d=1;d<o.length;d++){let f=o[d],_=e[f];t(s,_)||(l.push(f),s=_)}return l.sort(),l.map(d=>e[d])}function _9e(e,t){let r=[];for(let o of e)Vf(r,o,t);return r}function XI(e,t,r){return e.length===0?[]:e.length===1?e.slice():r?f9e(e,t,r):_9e(e,t)}function m9e(e,t){if(e.length===0)return nt;let r=e[0],o=[r];for(let s=1;s<e.length;s++){let l=e[s];switch(t(l,r)){case!0:case 0:continue;case-1:return M.fail("Array is unsorted.")}o.push(r=l)}return o}function Y$(){return[]}function ob(e,t,r,o){if(e.length===0)return e.push(t),!0;let s=ab(e,t,Cl,r);return s<0?(e.splice(~s,0,t),!0):o?(e.splice(s,0,t),!0):!1}function Ak(e,t,r){return m9e($R(e,t),r||t||ld)}function Fye(e,t){if(e.length<2)return!0;for(let r=1,o=e.length;r<o;r++)if(t(e[r-1],e[r])===1)return!1;return!0}function M3(e,t,r,o){let s=3;if(e.length<2)return s;let l=t(e[0]);for(let d=1,f=e.length;d<f&&s!==0;d++){let _=t(e[d]);s&1&&r(l,_)>0&&(s&=-2),s&2&&o(l,_)>0&&(s&=-3),l=_}return s}function Im(e,t,r=I0){if(!e||!t)return e===t;if(e.length!==t.length)return!1;for(let o=0;o<e.length;o++)if(!r(e[o],t[o],o))return!1;return!0}function Dk(e){let t;if(e)for(let r=0;r<e.length;r++){let o=e[r];(t||!o)&&(t||(t=e.slice(0,r)),o&&t.push(o))}return t||e}function Wye(e,t,r){if(!t||!e||t.length===0||e.length===0)return t;let o=[];e:for(let s=0,l=0;l<t.length;l++){l>0&&M.assertGreaterThanOrEqual(r(t[l],t[l-1]),0);t:for(let d=s;s<e.length;s++)switch(s>d&&M.assertGreaterThanOrEqual(r(e[s],e[s-1]),0),r(t[l],e[s])){case-1:o.push(t[l]);continue e;case 0:continue e;case 1:continue t}}return o}function In(e,t){return t===void 0?e:e===void 0?[t]:(e.push(t),e)}function $I(e,t){return e===void 0?t:t===void 0?e:Jo(e)?Jo(t)?ho(e,t):In(e,t):Jo(t)?In(t,e):[e,t]}function Q$(e,t){return t<0?e.length+t:t}function Zr(e,t,r,o){if(t===void 0||t.length===0)return e;if(e===void 0)return t.slice(r,o);r=r===void 0?0:Q$(t,r),o=o===void 0?t.length:Q$(t,o);for(let s=r;s<o&&s<t.length;s++)t[s]!==void 0&&e.push(t[s]);return e}function Vf(e,t,r){return Br(e,t,r)?!1:(e.push(t),!0)}function Hh(e,t,r){return e?(Vf(e,t,r),e):[t]}function Bye(e,t,r){t.sort((o,s)=>r(e[o],e[s])||el(o,s))}function $R(e,t){return e.length===0?e:e.slice().sort(t)}function*g9e(e){for(let t=e.length-1;t>=0;t--)yield e[t]}function jy(e,t){let r=xk(e);return Bye(e,r,t),r.map(o=>e[o])}function Z$(e,t,r,o){for(;r<o;){if(e[r]!==t[r])return!1;r++}return!0}function su(e){return e===void 0||e.length===0?void 0:e[0]}function L3(e){if(e)for(let t of e)return t}function Xa(e){return M.assert(e.length!==0),e[0]}function Gye(e){for(let t of e)return t;M.fail("iterator is empty")}function ml(e){return e===void 0||e.length===0?void 0:e[e.length-1]}function Ja(e){return M.assert(e.length!==0),e[e.length-1]}function ug(e){return e&&e.length===1?e[0]:void 0}function eY(e){return M.checkDefined(ug(e))}function dg(e){return e&&e.length===1?e[0]:e}function tY(e,t,r){let o=e.slice(0);return o[t]=r,o}function ab(e,t,r,o,s){return uA(e,r(t),r,o,s)}function uA(e,t,r,o,s){if(!At(e))return-1;let l=s||0,d=e.length-1;for(;l<=d;){let f=l+(d-l>>1),_=r(e[f],f);switch(o(_,t)){case-1:l=f+1;break;case 0:return f;case 1:d=f-1;break}}return~l}function sd(e,t,r,o,s){if(e&&e.length>0){let l=e.length;if(l>0){let d=o===void 0||o<0?0:o,f=s===void 0||d+s>l-1?l-1:d+s,_;for(arguments.length<=2?(_=e[d],d++):_=r;d<=f;)_=t(_,e[d],d),d++;return _}}return r}function ws(e,t){return $y.call(e,t)}function Ik(e,t){return $y.call(e,t)?e[t]:void 0}function jh(e){let t=[];for(let r in e)$y.call(e,r)&&t.push(r);return t}function h9e(e){let t=[];do{let r=Object.getOwnPropertyNames(e);for(let o of r)Vf(t,o)}while(e=Object.getPrototypeOf(e));return t}function dA(e){let t=[];for(let r in e)$y.call(e,r)&&t.push(e[r]);return t}function zye(e,t){let r=new Array(e);for(let o=0;o<e;o++)r[o]=t(o);return r}function Aa(e,t){let r=[];for(let o of e)r.push(t?t(o):o);return r}function Ck(e,...t){for(let r of t)if(r!==void 0)for(let o in r)ws(r,o)&&(e[o]=r[o]);return e}function Vye(e,t,r=I0){if(e===t)return!0;if(!e||!t)return!1;for(let o in e)if($y.call(e,o)&&(!$y.call(t,o)||!r(e[o],t[o])))return!1;for(let o in t)if($y.call(t,o)&&!$y.call(e,o))return!1;return!0}function cS(e,t,r=Cl){let o=new Map;for(let s of e){let l=t(s);l!==void 0&&o.set(l,r(s))}return o}function Uye(e,t,r=Cl){let o=[];for(let s of e)o[t(s)]=r(s);return o}function Nk(e,t,r=Cl){let o=Uf();for(let s of e)o.add(t(s),r(s));return o}function YR(e,t,r=Cl){return Aa(Nk(e,t).values(),r)}function Kye(e,t){let r={};if(e)for(let o of e){let s=`${t(o)}`;(r[s]??(r[s]=[])).push(o)}return r}function nY(e){let t={};for(let r in e)$y.call(e,r)&&(t[r]=e[r]);return t}function k3(e,t){let r={};for(let o in t)$y.call(t,o)&&(r[o]=t[o]);for(let o in e)$y.call(e,o)&&(r[o]=e[o]);return r}function rY(e,t){for(let r in t)$y.call(t,r)&&(e[r]=t[r])}function _a(e,t){return t?t.bind(e):void 0}function Uf(){let e=new Map;return e.add=y9e,e.remove=v9e,e}function y9e(e,t){let r=this.get(e);return r?r.push(t):this.set(e,r=[t]),r}function v9e(e,t){let r=this.get(e);r&&(ZR(r,t),r.length||this.delete(e))}function iY(e){let t=e?.slice()||[],r=0;function o(){return r===t.length}function s(...d){t.push(...d)}function l(){if(o())throw new Error("Queue is empty");let d=t[r];if(t[r]=void 0,r++,r>100&&r>t.length>>1){let f=t.length-r;t.copyWithin(0,r),t.length=f,r=0}return d}return{enqueue:s,dequeue:l,isEmpty:o}}function b9e(e,t){let r=new Map,o=0;function*s(){for(let d of r.values())Jo(d)?yield*d:yield d}let l={has(d){let f=e(d);if(!r.has(f))return!1;let _=r.get(f);if(!Jo(_))return t(_,d);for(let v of _)if(t(v,d))return!0;return!1},add(d){let f=e(d);if(r.has(f)){let _=r.get(f);if(Jo(_))Br(_,d,t)||(_.push(d),o++);else{let v=_;t(v,d)||(r.set(f,[v,d]),o++)}}else r.set(f,d),o++;return this},delete(d){let f=e(d);if(!r.has(f))return!1;let _=r.get(f);if(Jo(_)){for(let v=0;v<_.length;v++)if(t(_[v],d))return _.length===1?r.delete(f):_.length===2?r.set(f,_[1-v]):aY(_,v),o--,!0}else if(t(_,d))return r.delete(f),o--,!0;return!1},clear(){r.clear(),o=0},get size(){return o},forEach(d){for(let f of Aa(r.values()))if(Jo(f))for(let _ of f)d(_,_,l);else{let _=f;d(_,_,l)}},keys(){return s()},values(){return s()},*entries(){for(let d of s())yield[d,d]},[Symbol.iterator]:()=>s(),[Symbol.toStringTag]:r[Symbol.toStringTag]};return l}function Jo(e){return Array.isArray(e)}function Rk(e){return Jo(e)?e:[e]}function ma(e){return typeof e=="string"}function Jy(e){return typeof e=="number"}function ci(e,t){return e!==void 0&&t(e)?e:void 0}function ra(e,t){return e!==void 0&&t(e)?e:M.fail(`Invalid cast. The supplied value ${e} did not pass the test '${M.getFunctionName(t)}'.`)}function Os(e){}function qy(){return!1}function A0(){return!0}function D0(){}function Cl(e){return e}function Hye(e){return e.toLowerCase()}function Q_(e){return dY.test(e)?e.replace(dY,Hye):e}function Ko(){throw new Error("Not implemented")}function gp(e){let t;return()=>(e&&(t=e(),e=void 0),t)}function pg(e){let t=new Map;return r=>{let o=`${typeof r}:${r}`,s=t.get(o);return s===void 0&&!t.has(o)&&(s=e(r),t.set(o,s)),s}}function E9e(e){let t=new WeakMap;return r=>{let o=t.get(r);return o===void 0&&!t.has(r)&&(o=e(r),t.set(r,o)),o}}function jye(e,t){return(...r)=>{let o=t.get(r);return o===void 0&&!t.has(r)&&(o=e(...r),t.set(r,o)),o}}function S9e(e,t,r,o,s){if(s){let l=[];for(let d=0;d<arguments.length;d++)l[d]=arguments[d];return d=>sd(l,(f,_)=>_(f),d)}else return o?l=>o(r(t(e(l)))):r?l=>r(t(e(l))):t?l=>t(e(l)):e?l=>e(l):l=>l}function I0(e,t){return e===t}function pA(e,t){return e===t||e!==void 0&&t!==void 0&&e.toUpperCase()===t.toUpperCase()}function fA(e,t){return I0(e,t)}function Jye(e,t){return e===t?0:e===void 0?-1:t===void 0?1:e<t?-1:1}function el(e,t){return Jye(e,t)}function w3(e,t){return el(e?.start,t?.start)||el(e?.length,t?.length)}function oY(e,t){return sd(e,(r,o)=>t(r,o)===-1?r:o)}function O3(e,t){return e===t?0:e===void 0?-1:t===void 0?1:(e=e.toUpperCase(),t=t.toUpperCase(),e<t?-1:e>t?1:0)}function qye(e,t){return e===t?0:e===void 0?-1:t===void 0?1:(e=e.toLowerCase(),t=t.toLowerCase(),e<t?-1:e>t?1:0)}function ld(e,t){return Jye(e,t)}function F3(e){return e?O3:ld}function Xye(){return K3}function $ye(e){K3!==e&&(K3=e,fY=void 0)}function Pk(e,t){return(fY||(fY=sve(K3)))(e,t)}function Yye(e,t,r,o){return e===t?0:e===void 0?-1:t===void 0?1:o(e[r],t[r])}function uS(e,t){return el(e?1:0,t?1:0)}function QR(e,t,r){let o=Math.max(2,Math.floor(e.length*.34)),s=Math.floor(e.length*.4)+1,l;for(let d of t){let f=r(d);if(f!==void 0&&Math.abs(f.length-e.length)<=o){if(f===e||f.length<3&&f.toLowerCase()!==e.toLowerCase())continue;let _=T9e(e,f,s-.1);if(_===void 0)continue;M.assert(_<s),s=_,l=d}}return l}function T9e(e,t,r){let o=new Array(t.length+1),s=new Array(t.length+1),l=r+.01;for(let f=0;f<=t.length;f++)o[f]=f;for(let f=1;f<=e.length;f++){let _=e.charCodeAt(f-1),v=Math.ceil(f>r?f-r:1),h=Math.floor(t.length>r+f?r+f:t.length);s[0]=f;let T=f;for(let N=1;N<v;N++)s[N]=l;for(let N=v;N<=h;N++){let R=e[f-1].toLowerCase()===t[N-1].toLowerCase()?o[N-1]+.1:o[N-1]+2,O=_===t.charCodeAt(N-1)?o[N-1]:Math.min(o[N]+1,s[N-1]+1,R);s[N]=O,T=Math.min(T,O)}for(let N=h+1;N<=t.length;N++)s[N]=l;if(T>r)return;let I=o;o=s,s=I}let d=o[t.length];return d>r?void 0:d}function $l(e,t){let r=e.length-t.length;return r>=0&&e.indexOf(t,r)===r}function YI(e,t){return $l(e,t)?e.slice(0,e.length-t.length):e}function Qye(e,t){return $l(e,t)?e.slice(0,e.length-t.length):void 0}function Ru(e,t){return e.indexOf(t)!==-1}function Zye(e){let t=e.length;for(let r=t-1;r>0;r--){let o=e.charCodeAt(r);if(o>=48&&o<=57)do--r,o=e.charCodeAt(r);while(r>0&&o>=48&&o<=57);else if(r>4&&(o===110||o===78)){if(--r,o=e.charCodeAt(r),o!==105&&o!==73||(--r,o=e.charCodeAt(r),o!==109&&o!==77))break;--r,o=e.charCodeAt(r)}else break;if(o!==45&&o!==46)break;t=r}return t===e.length?e:e.slice(0,t)}function W3(e,t){for(let r=0;r<e.length;r++)if(e[r]===t)return C0(e,r),!0;return!1}function C0(e,t){for(let r=t;r<e.length-1;r++)e[r]=e[r+1];e.pop()}function aY(e,t){e[t]=e[e.length-1],e.pop()}function ZR(e,t){return x9e(e,r=>r===t)}function x9e(e,t){for(let r=0;r<e.length;r++)if(t(e[r]))return aY(e,r),!0;return!1}function Pu(e){return e?Cl:Q_}function eve({prefix:e,suffix:t}){return`${e}*${t}`}function tve(e,t){return M.assert(B3(e,t)),t.substring(e.prefix.length,t.length-e.suffix.length)}function sY(e,t,r){let o,s=-1;for(let l of e){let d=t(l);B3(d,r)&&d.prefix.length>s&&(s=d.prefix.length,o=l)}return o}function vo(e,t){return e.lastIndexOf(t,0)===0}function eP(e,t){return vo(e,t)?e.substr(t.length):e}function lY(e,t,r=Cl){return vo(r(e),r(t))?e.substring(t.length):void 0}function B3({prefix:e,suffix:t},r){return r.length>=e.length+t.length&&vo(r,e)&&$l(r,t)}function G3(e,t){return r=>e(r)&&t(r)}function Z_(...e){return(...t)=>{let r;for(let o of e)if(r=o(...t),r)return r;return r}}function z3(e){return(...t)=>!e(...t)}function A9e(e){}function ux(e){return e===void 0?void 0:[e]}function nve(e,t,r,o,s,l){l=l||Os;let d=0,f=0,_=e.length,v=t.length,h=!1;for(;d<_&&f<v;){let T=e[d],I=t[f],N=r(T,I);N===-1?(o(T),d++,h=!0):N===1?(s(I),f++,h=!0):(l(I,T),d++,f++)}for(;d<_;)o(e[d++]),h=!0;for(;f<v;)s(t[f++]),h=!0;return h}function rve(e){let t=[];return ive(e,t,void 0,0),t}function ive(e,t,r,o){for(let s of e[o]){let l;r?(l=r.slice(),l.push(s)):l=[s],o===e.length-1?t.push(l):ive(e,t,l,o+1)}}function dx(e,t,r=" "){return t<=e.length?e:r.repeat(t-e.length)+e}function D9e(e,t,r=" "){return t<=e.length?e:e+r.repeat(t-e.length)}function V3(e,t){if(e){let r=e.length,o=0;for(;o<r&&t(e[o]);)o++;return e.slice(0,o)}}function ove(e,t){if(e){let r=e.length,o=0;for(;o<r&&t(e[o]);)o++;return e.slice(o)}}function I9e(e){let t=e.length-1;for(;t>=0&&$g(e.charCodeAt(t));)t--;return e.slice(0,t+1)}function cY(){return typeof process<"u"&&!!process.nextTick&&!process.browser&&typeof $4=="object"}var nt,U3,ave,uY,Xy,$y,dY,pY,sve,fY,K3,dS,_A,tP,C9e=u({"src/compiler/core.ts"(){"use strict";ea(),nt=[],U3=new Map,ave=new Set,uY=(e=>(e[e.None=0]="None",e[e.CaseSensitive=1]="CaseSensitive",e[e.CaseInsensitive=2]="CaseInsensitive",e[e.Both=3]="Both",e))(uY||{}),Xy=Array.prototype.at?(e,t)=>e?.at(t):(e,t)=>{if(e&&(t=Q$(e,t),t<e.length))return e[t]},$y=Object.prototype.hasOwnProperty,dY=/[^\u0130\u0131\u00DFa-z0-9\\/:\-_. ]+/g,pY=(e=>(e[e.None=0]="None",e[e.Normal=1]="Normal",e[e.Aggressive=2]="Aggressive",e[e.VeryAggressive=3]="VeryAggressive",e))(pY||{}),sve=(()=>{let e,t,r=f();return _;function o(v,h,T){if(v===h)return 0;if(v===void 0)return-1;if(h===void 0)return 1;let I=T(v,h);return I<0?-1:I>0?1:0}function s(v){let h=new Intl.Collator(v,{usage:"sort",sensitivity:"variant"}).compare;return(T,I)=>o(T,I,h)}function l(v){if(v!==void 0)return d();return(T,I)=>o(T,I,h);function h(T,I){return T.localeCompare(I)}}function d(){return(T,I)=>o(T,I,v);function v(T,I){return h(T.toUpperCase(),I.toUpperCase())||h(T,I)}function h(T,I){return T<I?-1:T>I?1:0}}function f(){return typeof Intl=="object"&&typeof Intl.Collator=="function"?s:typeof String.prototype.localeCompare=="function"&&typeof String.prototype.toLocaleUpperCase=="function"&&"a".localeCompare("B")<0?l:d}function _(v){return v===void 0?e||(e=r(v)):v==="en-US"?t||(t=r(v)):r(v)}})(),dS=String.prototype.trim?e=>e.trim():e=>_A(tP(e)),_A=String.prototype.trimEnd?e=>e.trimEnd():I9e,tP=String.prototype.trimStart?e=>e.trimStart():e=>e.replace(/^\s+/g,"")}}),_Y,M,N9e=u({"src/compiler/debug.ts"(){"use strict";ea(),ea(),_Y=(e=>(e[e.Off=0]="Off",e[e.Error=1]="Error",e[e.Warning=2]="Warning",e[e.Info=3]="Info",e[e.Verbose=4]="Verbose",e))(_Y||{}),(e=>{let t=0;e.currentLogLevel=2,e.isDebugging=!1;function r(Kt){return e.currentLogLevel<=Kt}e.shouldLog=r;function o(Kt,Tn){e.loggingHost&&r(Kt)&&e.loggingHost.log(Kt,Tn)}function s(Kt){o(3,Kt)}e.log=s,(Kt=>{function Tn(mn){o(1,mn)}Kt.error=Tn;function Hn(mn){o(2,mn)}Kt.warn=Hn;function Gr(mn){o(3,mn)}Kt.log=Gr;function Ui(mn){o(4,mn)}Kt.trace=Ui})(s=e.log||(e.log={}));let l={};function d(){return t}e.getAssertionLevel=d;function f(Kt){let Tn=t;if(t=Kt,Kt>Tn)for(let Hn of jh(l)){let Gr=l[Hn];Gr!==void 0&&e[Hn]!==Gr.assertion&&Kt>=Gr.level&&(e[Hn]=Gr,l[Hn]=void 0)}}e.setAssertionLevel=f;function _(Kt){return t>=Kt}e.shouldAssert=_;function v(Kt,Tn){return _(Kt)?!0:(l[Tn]={level:Kt,assertion:e[Tn]},e[Tn]=Os,!1)}function h(Kt,Tn){debugger;let Hn=new Error(Kt?`Debug Failure. ${Kt}`:"Debug Failure.");throw Error.captureStackTrace&&Error.captureStackTrace(Hn,Tn||h),Hn}e.fail=h;function T(Kt,Tn,Hn){return h(`${Tn||"Unexpected node."}\r
3
3
  Node ${He(Kt.kind)} was unexpected.`,Hn||T)}e.failBadSyntaxKind=T;function I(Kt,Tn,Hn,Gr){Kt||(Tn=Tn?`False expression: ${Tn}`:"False expression.",Hn&&(Tn+=`\r
4
4
  Verbose Debug Information: `+(typeof Hn=="string"?Hn:Hn())),h(Tn,Gr||I))}e.assert=I;function N(Kt,Tn,Hn,Gr,Ui){if(Kt!==Tn){let mn=Hn?Gr?`${Hn} ${Gr}`:Hn:"";h(`Expected ${Kt} === ${Tn}. ${mn}`,Ui||N)}}e.assertEqual=N;function R(Kt,Tn,Hn,Gr){Kt>=Tn&&h(`Expected ${Kt} < ${Tn}. ${Hn||""}`,Gr||R)}e.assertLessThan=R;function O(Kt,Tn,Hn){Kt>Tn&&h(`Expected ${Kt} <= ${Tn}`,Hn||O)}e.assertLessThanOrEqual=O;function k(Kt,Tn,Hn){Kt<Tn&&h(`Expected ${Kt} >= ${Tn}`,Hn||k)}e.assertGreaterThanOrEqual=k;function U(Kt,Tn,Hn){Kt==null&&h(Tn,Hn||U)}e.assertIsDefined=U;function X(Kt,Tn,Hn){return U(Kt,Tn,Hn||X),Kt}e.checkDefined=X;function Y(Kt,Tn,Hn){for(let Gr of Kt)U(Gr,Tn,Hn||Y)}e.assertEachIsDefined=Y;function le(Kt,Tn,Hn){return Y(Kt,Tn,Hn||le),Kt}e.checkEachDefined=le;function J(Kt,Tn="Illegal value:",Hn){let Gr=typeof Kt=="object"&&ws(Kt,"kind")&&ws(Kt,"pos")?"SyntaxKind: "+He(Kt.kind):JSON.stringify(Kt);return h(`${Tn} ${Gr}`,Hn||J)}e.assertNever=J;function _e(Kt,Tn,Hn,Gr){v(1,"assertEachNode")&&I(Tn===void 0||Kr(Kt,Tn),Hn||"Unexpected node.",()=>`Node array did not pass test '${se(Tn)}'.`,Gr||_e)}e.assertEachNode=_e;function K(Kt,Tn,Hn,Gr){v(1,"assertNode")&&I(Kt!==void 0&&(Tn===void 0||Tn(Kt)),Hn||"Unexpected node.",()=>`Node ${He(Kt?.kind)} did not pass test '${se(Tn)}'.`,Gr||K)}e.assertNode=K;function ae(Kt,Tn,Hn,Gr){v(1,"assertNotNode")&&I(Kt===void 0||Tn===void 0||!Tn(Kt),Hn||"Unexpected node.",()=>`Node ${He(Kt.kind)} should not have passed test '${se(Tn)}'.`,Gr||ae)}e.assertNotNode=ae;function ge(Kt,Tn,Hn,Gr){v(1,"assertOptionalNode")&&I(Tn===void 0||Kt===void 0||Tn(Kt),Hn||"Unexpected node.",()=>`Node ${He(Kt?.kind)} did not pass test '${se(Tn)}'.`,Gr||ge)}e.assertOptionalNode=ge;function be(Kt,Tn,Hn,Gr){v(1,"assertOptionalToken")&&I(Tn===void 0||Kt===void 0||Kt.kind===Tn,Hn||"Unexpected node.",()=>`Node ${He(Kt?.kind)} was not a '${He(Tn)}' token.`,Gr||be)}e.assertOptionalToken=be;function ne(Kt,Tn,Hn){v(1,"assertMissingNode")&&I(Kt===void 0,Tn||"Unexpected node.",()=>`Node ${He(Kt.kind)} was unexpected'.`,Hn||ne)}e.assertMissingNode=ne;function ee(Kt){}e.type=ee;function se(Kt){if(typeof Kt!="function")return"";if(ws(Kt,"name"))return Kt.name;{let Tn=Function.prototype.toString.call(Kt),Hn=/^function\s+([\w$]+)\s*\(/.exec(Tn);return Hn?Hn[1]:""}}e.getFunctionName=se;function oe(Kt){return`{ name: ${Zi(Kt.escapedName)}; flags: ${xt(Kt.flags)}; declarations: ${vn(Kt.declarations,Tn=>He(Tn.kind))} }`}e.formatSymbol=oe;function Se(Kt=0,Tn,Hn){let Gr=te(Tn);if(Kt===0)return Gr.length>0&&Gr[0][0]===0?Gr[0][1]:"0";if(Hn){let Ui=[],mn=Kt;for(let[un,Mn]of Gr){if(un>Kt)break;un!==0&&un&Kt&&(Ui.push(Mn),mn&=~un)}if(mn===0)return Ui.join("|")}else for(let[Ui,mn]of Gr)if(Ui===Kt)return mn;return Kt.toString()}e.formatEnum=Se;let Ee=new Map;function te(Kt){let Tn=Ee.get(Kt);if(Tn)return Tn;let Hn=[];for(let Ui in Kt){let mn=Kt[Ui];typeof mn=="number"&&Hn.push([mn,Ui])}let Gr=jy(Hn,(Ui,mn)=>el(Ui[0],mn[0]));return Ee.set(Kt,Gr),Gr}function He(Kt){return Se(Kt,$3,!1)}e.formatSyntaxKind=He;function ze(Kt){return Se(Kt,lW,!1)}e.formatSnippetKind=ze;function st(Kt){return Se(Kt,aW,!1)}e.formatScriptKind=st;function Pe(Kt){return Se(Kt,Y3,!0)}e.formatNodeFlags=Pe;function Re(Kt){return Se(Kt,Q3,!0)}e.formatModifierFlags=Re;function Me(Kt){return Se(Kt,sW,!0)}e.formatTransformFlags=Me;function bt(Kt){return Se(Kt,cW,!0)}e.formatEmitFlags=bt;function xt(Kt){return Se(Kt,nW,!0)}e.formatSymbolFlags=xt;function Te(Kt){return Se(Kt,rW,!0)}e.formatTypeFlags=Te;function Ve(Kt){return Se(Kt,oW,!0)}e.formatSignatureFlags=Ve;function ct(Kt){return Se(Kt,iW,!0)}e.formatObjectFlags=ct;function gt(Kt){return Se(Kt,wk,!0)}e.formatFlowFlags=gt;function Nt(Kt){return Se(Kt,Z3,!0)}e.formatRelationComparisonResult=Nt;function Ze(Kt){return Se(Kt,U5,!0)}e.formatCheckMode=Ze;function yt(Kt){return Se(Kt,K5,!0)}e.formatSignatureCheckMode=yt;function en(Kt){return Se(Kt,z5,!0)}e.formatTypeFacts=en;let on=!1,kt;function Mr(Kt){"__debugFlowFlags"in Kt||Object.defineProperties(Kt,{__tsDebuggerDisplay:{value(){let Tn=this.flags&2?"FlowStart":this.flags&4?"FlowBranchLabel":this.flags&8?"FlowLoopLabel":this.flags&16?"FlowAssignment":this.flags&32?"FlowTrueCondition":this.flags&64?"FlowFalseCondition":this.flags&128?"FlowSwitchClause":this.flags&256?"FlowArrayMutation":this.flags&512?"FlowCall":this.flags&1024?"FlowReduceLabel":this.flags&1?"FlowUnreachable":"UnknownFlow",Hn=this.flags&-2048;return`${Tn}${Hn?` (${gt(Hn)})`:""}`}},__debugFlowFlags:{get(){return Se(this.flags,wk,!0)}},__debugToString:{value(){return Rn(this)}}})}function kn(Kt){on&&(typeof Object.setPrototypeOf=="function"?(kt||(kt=Object.create(Object.prototype),Mr(kt)),Object.setPrototypeOf(Kt,kt)):Mr(Kt))}e.attachFlowNodeDebugInfo=kn;let $t;function mr(Kt){"__tsDebuggerDisplay"in Kt||Object.defineProperties(Kt,{__tsDebuggerDisplay:{value(Tn){return Tn=String(Tn).replace(/(?:,[\s\w\d_]+:[^,]+)+\]$/,"]"),`NodeArray ${Tn}`}}})}function Fr(Kt){on&&(typeof Object.setPrototypeOf=="function"?($t||($t=Object.create(Array.prototype),mr($t)),Object.setPrototypeOf(Kt,$t)):mr(Kt))}e.attachNodeArrayDebugInfo=Fr;function Di(){if(on)return;let Kt=new WeakMap,Tn=new WeakMap;Object.defineProperties(fu.getSymbolConstructor().prototype,{__tsDebuggerDisplay:{value(){let Gr=this.flags&33554432?"TransientSymbol":"Symbol",Ui=this.flags&-33554433;return`${Gr} '${Yl(this)}'${Ui?` (${xt(Ui)})`:""}`}},__debugFlags:{get(){return xt(this.flags)}}}),Object.defineProperties(fu.getTypeConstructor().prototype,{__tsDebuggerDisplay:{value(){let Gr=this.flags&98304?"NullableType":this.flags&384?`LiteralType ${JSON.stringify(this.value)}`:this.flags&2048?`LiteralType ${this.value.negative?"-":""}${this.value.base10Value}n`:this.flags&8192?"UniqueESSymbolType":this.flags&32?"EnumType":this.flags&67359327?`IntrinsicType ${this.intrinsicName}`:this.flags&1048576?"UnionType":this.flags&2097152?"IntersectionType":this.flags&4194304?"IndexType":this.flags&8388608?"IndexedAccessType":this.flags&16777216?"ConditionalType":this.flags&33554432?"SubstitutionType":this.flags&262144?"TypeParameter":this.flags&524288?this.objectFlags&3?"InterfaceType":this.objectFlags&4?"TypeReference":this.objectFlags&8?"TupleType":this.objectFlags&16?"AnonymousType":this.objectFlags&32?"MappedType":this.objectFlags&1024?"ReverseMappedType":this.objectFlags&256?"EvolvingArrayType":"ObjectType":"Type",Ui=this.flags&524288?this.objectFlags&-1344:0;return`${Gr}${this.symbol?` '${Yl(this.symbol)}'`:""}${Ui?` (${ct(Ui)})`:""}`}},__debugFlags:{get(){return Te(this.flags)}},__debugObjectFlags:{get(){return this.flags&524288?ct(this.objectFlags):""}},__debugTypeToString:{value(){let Gr=Kt.get(this);return Gr===void 0&&(Gr=this.checker.typeToString(this),Kt.set(this,Gr)),Gr}}}),Object.defineProperties(fu.getSignatureConstructor().prototype,{__debugFlags:{get(){return Ve(this.flags)}},__debugSignatureToString:{value(){var Gr;return(Gr=this.checker)==null?void 0:Gr.signatureToString(this)}}});let Hn=[fu.getNodeConstructor(),fu.getIdentifierConstructor(),fu.getTokenConstructor(),fu.getSourceFileConstructor()];for(let Gr of Hn)ws(Gr.prototype,"__debugKind")||Object.defineProperties(Gr.prototype,{__tsDebuggerDisplay:{value(){return`${gl(this)?"GeneratedIdentifier":Be(this)?`Identifier '${Cr(this)}'`:Vi(this)?`PrivateIdentifier '${Cr(this)}'`:Oa(this)?`StringLiteral ${JSON.stringify(this.text.length<10?this.text:this.text.slice(10)+"...")}`:Sp(this)?`NumericLiteral ${this.text}`:kB(this)?`BigIntLiteral ${this.text}n`:Tl(this)?"TypeParameterDeclaration":bo(this)?"ParameterDeclaration":nc(this)?"ConstructorDeclaration":sf(this)?"GetAccessorDeclaration":Tp(this)?"SetAccessorDeclaration":nN(this)?"CallSignatureDeclaration":JO(this)?"ConstructSignatureDeclaration":Fx(this)?"IndexSignatureDeclaration":WB(this)?"TypePredicateNode":e_(this)?"TypeReferenceNode":uh(this)?"FunctionTypeNode":xM(this)?"ConstructorTypeNode":rN(this)?"TypeQueryNode":Kp(this)?"TypeLiteralNode":Gte(this)?"ArrayTypeNode":iN(this)?"TupleTypeNode":zte(this)?"OptionalTypeNode":Vte(this)?"RestTypeNode":QA(this)?"UnionTypeNode":qO(this)?"IntersectionTypeNode":oN(this)?"ConditionalTypeNode":ZA(this)?"InferTypeNode":eD(this)?"ParenthesizedTypeNode":BB(this)?"ThisTypeNode":tD(this)?"TypeOperatorNode":nD(this)?"IndexedAccessTypeNode":DM(this)?"MappedTypeNode":J0(this)?"LiteralTypeNode":AM(this)?"NamedTupleMember":dh(this)?"ImportTypeNode":He(this.kind)}${this.flags?` (${Pe(this.flags)})`:""}`}},__debugKind:{get(){return He(this.kind)}},__debugNodeFlags:{get(){return Pe(this.flags)}},__debugModifierFlags:{get(){return Re(vEe(this))}},__debugTransformFlags:{get(){return Me(this.transformFlags)}},__debugIsParseTreeNode:{get(){return pP(this)}},__debugEmitFlags:{get(){return bt(Wa(this))}},__debugGetText:{value(Ui){if(rl(this))return"";let mn=Tn.get(this);if(mn===void 0){let un=yo(this),Mn=un&&nr(un);mn=Mn?SS(Mn,un,Ui):"",Tn.set(this,mn)}return mn}}});on=!0}e.enableDebugInfo=Di;function Oi(Kt){let Tn=Kt&7,Hn=Tn===0?"in out":Tn===3?"[bivariant]":Tn===2?"in":Tn===1?"out":Tn===4?"[independent]":"";return Kt&8?Hn+=" (unmeasurable)":Kt&16&&(Hn+=" (unreliable)"),Hn}e.formatVariance=Oi;class qr{__debugToString(){var Tn;switch(this.kind){case 3:return((Tn=this.debugInfo)==null?void 0:Tn.call(this))||"(function mapper)";case 0:return`${this.source.__debugTypeToString()} -> ${this.target.__debugTypeToString()}`;case 1:return Ji(this.sources,this.targets||vn(this.sources,()=>"any"),(Hn,Gr)=>`${Hn.__debugTypeToString()} -> ${typeof Gr=="string"?Gr:Gr.__debugTypeToString()}`).join(", ");case 2:return Ji(this.sources,this.targets,(Hn,Gr)=>`${Hn.__debugTypeToString()} -> ${Gr().__debugTypeToString()}`).join(", ");case 5:case 4:return`m1: ${this.mapper1.__debugToString().split(`
5
5
  `).join(`
@@ -1,3 +1,3 @@
1
1
  import { createRequire as __createRequire } from 'module';globalThis.require = __createRequire(import.meta.url);
2
- import{b as U,c as w}from"./chunk-MLIZM3D3.js";import{i as F}from"./chunk-Y52UPHAG.js";F();var f=0,t={START_BOUNDARY:f++,HEADER_FIELD_START:f++,HEADER_FIELD:f++,HEADER_VALUE_START:f++,HEADER_VALUE:f++,HEADER_VALUE_ALMOST_DONE:f++,HEADERS_ALMOST_DONE:f++,PART_DATA_START:f++,PART_DATA:f++,END:f++},B=1,_={PART_BOUNDARY:B,LAST_BOUNDARY:B*=2},O=10,g=13,V=32,m=45,Y=58,x=97,C=122,I=u=>u|32,R=()=>{},y=class{constructor(o){this.index=0,this.flags=0,this.onHeaderEnd=R,this.onHeaderField=R,this.onHeadersEnd=R,this.onHeaderValue=R,this.onPartBegin=R,this.onPartData=R,this.onPartEnd=R,this.boundaryChars={},o=`\r
2
+ import{b as U,c as w}from"./chunk-SXLE2FF3.js";import{i as F}from"./chunk-LFSGY5IW.js";F();var f=0,t={START_BOUNDARY:f++,HEADER_FIELD_START:f++,HEADER_FIELD:f++,HEADER_VALUE_START:f++,HEADER_VALUE:f++,HEADER_VALUE_ALMOST_DONE:f++,HEADERS_ALMOST_DONE:f++,PART_DATA_START:f++,PART_DATA:f++,END:f++},B=1,_={PART_BOUNDARY:B,LAST_BOUNDARY:B*=2},O=10,g=13,V=32,m=45,Y=58,x=97,C=122,I=u=>u|32,R=()=>{},y=class{constructor(o){this.index=0,this.flags=0,this.onHeaderEnd=R,this.onHeaderField=R,this.onHeadersEnd=R,this.onHeaderValue=R,this.onPartBegin=R,this.onPartData=R,this.onPartEnd=R,this.boundaryChars={},o=`\r
3
3
  --`+o;let n=new Uint8Array(o.length);for(let r=0;r<o.length;r++)n[r]=o.charCodeAt(r),this.boundaryChars[n[r]]=!0;this.boundary=n,this.lookbehind=new Uint8Array(this.boundary.length+8),this.state=t.START_BOUNDARY}write(o){let n=0,r=o.length,E=this.index,{lookbehind:l,boundary:d,boundaryChars:H,index:e,state:i,flags:A}=this,b=this.boundary.length,p=b-1,N=o.length,a,S,h=c=>{this[c+"Mark"]=n},s=c=>{delete this[c+"Mark"]},D=(c,P,T,k)=>{(P===void 0||P!==T)&&this[c](k&&k.subarray(P,T))},L=(c,P)=>{let T=c+"Mark";T in this&&(P?(D(c,this[T],n,o),delete this[T]):(D(c,this[T],o.length,o),this[T]=0))};for(n=0;n<r;n++)switch(a=o[n],i){case t.START_BOUNDARY:if(e===d.length-2){if(a===m)A|=_.LAST_BOUNDARY;else if(a!==g)return;e++;break}else if(e-1===d.length-2){if(A&_.LAST_BOUNDARY&&a===m)i=t.END,A=0;else if(!(A&_.LAST_BOUNDARY)&&a===O)e=0,D("onPartBegin"),i=t.HEADER_FIELD_START;else return;break}a!==d[e+2]&&(e=-2),a===d[e+2]&&e++;break;case t.HEADER_FIELD_START:i=t.HEADER_FIELD,h("onHeaderField"),e=0;case t.HEADER_FIELD:if(a===g){s("onHeaderField"),i=t.HEADERS_ALMOST_DONE;break}if(e++,a===m)break;if(a===Y){if(e===1)return;L("onHeaderField",!0),i=t.HEADER_VALUE_START;break}if(S=I(a),S<x||S>C)return;break;case t.HEADER_VALUE_START:if(a===V)break;h("onHeaderValue"),i=t.HEADER_VALUE;case t.HEADER_VALUE:a===g&&(L("onHeaderValue",!0),D("onHeaderEnd"),i=t.HEADER_VALUE_ALMOST_DONE);break;case t.HEADER_VALUE_ALMOST_DONE:if(a!==O)return;i=t.HEADER_FIELD_START;break;case t.HEADERS_ALMOST_DONE:if(a!==O)return;D("onHeadersEnd"),i=t.PART_DATA_START;break;case t.PART_DATA_START:i=t.PART_DATA,h("onPartData");case t.PART_DATA:if(E=e,e===0){for(n+=p;n<N&&!(o[n]in H);)n+=b;n-=p,a=o[n]}if(e<d.length)d[e]===a?(e===0&&L("onPartData",!0),e++):e=0;else if(e===d.length)e++,a===g?A|=_.PART_BOUNDARY:a===m?A|=_.LAST_BOUNDARY:e=0;else if(e-1===d.length)if(A&_.PART_BOUNDARY){if(e=0,a===O){A&=~_.PART_BOUNDARY,D("onPartEnd"),D("onPartBegin"),i=t.HEADER_FIELD_START;break}}else A&_.LAST_BOUNDARY&&a===m?(D("onPartEnd"),i=t.END,A=0):e=0;if(e>0)l[e-1]=a;else if(E>0){let c=new Uint8Array(l.buffer,l.byteOffset,l.byteLength);D("onPartData",0,E,c),E=0,h("onPartData"),n--}break;case t.END:break;default:throw new Error(`Unexpected state entered: ${i}`)}L("onHeaderField"),L("onHeaderValue"),L("onPartData"),this.index=e,this.state=i,this.flags=A}end(){if(this.state===t.HEADER_FIELD_START&&this.index===0||this.state===t.PART_DATA&&this.index===this.boundary.length)this.onPartEnd();else if(this.state!==t.END)throw new Error("MultipartParser.end(): stream ended unexpectedly")}};function M(u){let o=u.match(/\bfilename=("(.*?)"|([^()<>@,;:\\"/[\]?={}\s\t]+))($|;\s)/i);if(!o)return;let n=o[2]||o[3]||"",r=n.slice(n.lastIndexOf("\\")+1);return r=r.replace(/%22/g,'"'),r=r.replace(/&#(\d{4});/g,(E,l)=>String.fromCharCode(l)),r}async function Z(u,o){if(!/multipart/i.test(o))throw new TypeError("Failed to fetch");let n=o.match(/boundary=(?:"([^"]+)"|([^;]+))/i);if(!n)throw new TypeError("no or bad content-type header, no multipart boundary");let r=new y(n[1]||n[2]),E,l,d,H,e,i,A=[],b=new w,p=s=>{d+=h.decode(s,{stream:!0})},N=s=>{A.push(s)},a=()=>{let s=new U(A,i,{type:e});b.append(H,s)},S=()=>{b.append(H,d)},h=new TextDecoder("utf-8");h.decode(),r.onPartBegin=function(){r.onPartData=p,r.onPartEnd=S,E="",l="",d="",H="",e="",i=null,A.length=0},r.onHeaderField=function(s){E+=h.decode(s,{stream:!0})},r.onHeaderValue=function(s){l+=h.decode(s,{stream:!0})},r.onHeaderEnd=function(){if(l+=h.decode(),E=E.toLowerCase(),E==="content-disposition"){let s=l.match(/\bname=("([^"]*)"|([^()<>@,;:\\"/[\]?={}\s\t]+))/i);s&&(H=s[2]||s[3]||""),i=M(l),i&&(r.onPartData=N,r.onPartEnd=a)}else E==="content-type"&&(e=l);l="",E=""};for await(let s of u)r.write(s);return r.end(),b}export{Z as toFormData};
@@ -1,2 +1,2 @@
1
1
  import { createRequire as __createRequire } from 'module';globalThis.require = __createRequire(import.meta.url);
2
- import{a as M,b as W}from"./chunk-SSCFXJTG.js";import{a as h,c as A,g as __dirname,i as l}from"./chunk-Y52UPHAG.js";var F=A((L,E)=>{"use strict";l();E.exports=(e,r,t)=>{let o=n=>Object.defineProperty(e,r,{value:n,enumerable:!0,writable:!0});return Object.defineProperty(e,r,{configurable:!0,enumerable:!0,get(){let n=t();return o(n),n},set(n){o(n)}}),e}});var G=A((j,$)=>{l();var q=h("path"),T=h("child_process"),{promises:g,constants:v}=h("fs"),p=W(),z=M(),x=F(),O=q.join(__dirname,"xdg-open"),{platform:c,arch:C}=process,B=()=>{try{return g.statSync("/run/.containerenv"),!0}catch{return!1}},w;function X(){return w===void 0&&(w=B()||z()),w}var k=(()=>{let e="/mnt/",r;return async function(){if(r)return r;let t="/etc/wsl.conf",o=!1;try{await g.access(t,v.F_OK),o=!0}catch{}if(!o)return e;let n=await g.readFile(t,{encoding:"utf8"}),a=/(?<!#.*)root\s*=\s*(?<mountPoint>.*)/g.exec(n);return a?(r=a.groups.mountPoint.trim(),r=r.endsWith("/")?r:`${r}/`,r):e}})(),S=async(e,r)=>{let t;for(let o of e)try{return await r(o)}catch(n){t=n}throw t},d=async e=>{if(e={wait:!1,background:!1,newInstance:!1,allowNonzeroExitCode:!1,...e},Array.isArray(e.app))return S(e.app,i=>d({...e,app:i}));let{name:r,arguments:t=[]}=e.app||{};if(t=[...t],Array.isArray(r))return S(r,i=>d({...e,app:{name:i,arguments:t}}));let o,n=[],a={};if(c==="darwin")o="open",e.wait&&n.push("--wait-apps"),e.background&&n.push("--background"),e.newInstance&&n.push("--new"),r&&n.push("-a",r);else if(c==="win32"||p&&!X()&&!r){let i=await k();o=p?`${i}c/Windows/System32/WindowsPowerShell/v1.0/powershell.exe`:`${process.env.SYSTEMROOT}\\System32\\WindowsPowerShell\\v1.0\\powershell`,n.push("-NoProfile","-NonInteractive","\u2013ExecutionPolicy","Bypass","-EncodedCommand"),p||(a.windowsVerbatimArguments=!0);let s=["Start"];e.wait&&s.push("-Wait"),r?(s.push(`"\`"${r}\`""`,"-ArgumentList"),e.target&&t.unshift(e.target)):e.target&&s.push(`"${e.target}"`),t.length>0&&(t=t.map(f=>`"\`"${f}\`""`),s.push(t.join(","))),e.target=Buffer.from(s.join(" "),"utf16le").toString("base64")}else{if(r)o=r;else{let i=!__dirname||__dirname==="/",s=!1;try{await g.access(O,v.X_OK),s=!0}catch{}o=process.versions.electron||c==="android"||i||!s?"xdg-open":O}t.length>0&&n.push(...t),e.wait||(a.stdio="ignore",a.detached=!0)}e.target&&n.push(e.target),c==="darwin"&&t.length>0&&n.push("--args",...t);let u=T.spawn(o,n,a);return e.wait?new Promise((i,s)=>{u.once("error",s),u.once("close",f=>{if(!e.allowNonzeroExitCode&&f>0){s(new Error(`Exited with code ${f}`));return}i(u)})}):(u.unref(),u)},y=(e,r)=>{if(typeof e!="string")throw new TypeError("Expected a `target`");return d({...r,target:e})},I=(e,r)=>{if(typeof e!="string")throw new TypeError("Expected a `name`");let{arguments:t=[]}=r||{};if(t!=null&&!Array.isArray(t))throw new TypeError("Expected `appArguments` as Array type");return d({...r,app:{name:e,arguments:t}})};function b(e){if(typeof e=="string"||Array.isArray(e))return e;let{[C]:r}=e;if(!r)throw new Error(`${C} is not supported`);return r}function P({[c]:e},{wsl:r}){if(r&&p)return b(r);if(!e)throw new Error(`${c} is not supported`);return b(e)}var m={};x(m,"chrome",()=>P({darwin:"google chrome",win32:"chrome",linux:["google-chrome","google-chrome-stable","chromium"]},{wsl:{ia32:"/mnt/c/Program Files (x86)/Google/Chrome/Application/chrome.exe",x64:["/mnt/c/Program Files/Google/Chrome/Application/chrome.exe","/mnt/c/Program Files (x86)/Google/Chrome/Application/chrome.exe"]}}));x(m,"firefox",()=>P({darwin:"firefox",win32:"C:\\Program Files\\Mozilla Firefox\\firefox.exe",linux:"firefox"},{wsl:"/mnt/c/Program Files/Mozilla Firefox/firefox.exe"}));x(m,"edge",()=>P({darwin:"microsoft edge",win32:"msedge",linux:["microsoft-edge","microsoft-edge-dev"]},{wsl:"/mnt/c/Program Files (x86)/Microsoft/Edge/Application/msedge.exe"}));y.apps=m;y.openApp=I;$.exports=y});export default G();
2
+ import{a as M,b as W}from"./chunk-6YLOOASI.js";import{a as h,c as A,g as __dirname,i as l}from"./chunk-LFSGY5IW.js";var F=A((L,E)=>{"use strict";l();E.exports=(e,r,t)=>{let o=n=>Object.defineProperty(e,r,{value:n,enumerable:!0,writable:!0});return Object.defineProperty(e,r,{configurable:!0,enumerable:!0,get(){let n=t();return o(n),n},set(n){o(n)}}),e}});var G=A((j,$)=>{l();var q=h("path"),T=h("child_process"),{promises:g,constants:v}=h("fs"),p=W(),z=M(),x=F(),O=q.join(__dirname,"xdg-open"),{platform:c,arch:C}=process,B=()=>{try{return g.statSync("/run/.containerenv"),!0}catch{return!1}},w;function X(){return w===void 0&&(w=B()||z()),w}var k=(()=>{let e="/mnt/",r;return async function(){if(r)return r;let t="/etc/wsl.conf",o=!1;try{await g.access(t,v.F_OK),o=!0}catch{}if(!o)return e;let n=await g.readFile(t,{encoding:"utf8"}),a=/(?<!#.*)root\s*=\s*(?<mountPoint>.*)/g.exec(n);return a?(r=a.groups.mountPoint.trim(),r=r.endsWith("/")?r:`${r}/`,r):e}})(),S=async(e,r)=>{let t;for(let o of e)try{return await r(o)}catch(n){t=n}throw t},d=async e=>{if(e={wait:!1,background:!1,newInstance:!1,allowNonzeroExitCode:!1,...e},Array.isArray(e.app))return S(e.app,i=>d({...e,app:i}));let{name:r,arguments:t=[]}=e.app||{};if(t=[...t],Array.isArray(r))return S(r,i=>d({...e,app:{name:i,arguments:t}}));let o,n=[],a={};if(c==="darwin")o="open",e.wait&&n.push("--wait-apps"),e.background&&n.push("--background"),e.newInstance&&n.push("--new"),r&&n.push("-a",r);else if(c==="win32"||p&&!X()&&!r){let i=await k();o=p?`${i}c/Windows/System32/WindowsPowerShell/v1.0/powershell.exe`:`${process.env.SYSTEMROOT}\\System32\\WindowsPowerShell\\v1.0\\powershell`,n.push("-NoProfile","-NonInteractive","\u2013ExecutionPolicy","Bypass","-EncodedCommand"),p||(a.windowsVerbatimArguments=!0);let s=["Start"];e.wait&&s.push("-Wait"),r?(s.push(`"\`"${r}\`""`,"-ArgumentList"),e.target&&t.unshift(e.target)):e.target&&s.push(`"${e.target}"`),t.length>0&&(t=t.map(f=>`"\`"${f}\`""`),s.push(t.join(","))),e.target=Buffer.from(s.join(" "),"utf16le").toString("base64")}else{if(r)o=r;else{let i=!__dirname||__dirname==="/",s=!1;try{await g.access(O,v.X_OK),s=!0}catch{}o=process.versions.electron||c==="android"||i||!s?"xdg-open":O}t.length>0&&n.push(...t),e.wait||(a.stdio="ignore",a.detached=!0)}e.target&&n.push(e.target),c==="darwin"&&t.length>0&&n.push("--args",...t);let u=T.spawn(o,n,a);return e.wait?new Promise((i,s)=>{u.once("error",s),u.once("close",f=>{if(!e.allowNonzeroExitCode&&f>0){s(new Error(`Exited with code ${f}`));return}i(u)})}):(u.unref(),u)},y=(e,r)=>{if(typeof e!="string")throw new TypeError("Expected a `target`");return d({...r,target:e})},I=(e,r)=>{if(typeof e!="string")throw new TypeError("Expected a `name`");let{arguments:t=[]}=r||{};if(t!=null&&!Array.isArray(t))throw new TypeError("Expected `appArguments` as Array type");return d({...r,app:{name:e,arguments:t}})};function b(e){if(typeof e=="string"||Array.isArray(e))return e;let{[C]:r}=e;if(!r)throw new Error(`${C} is not supported`);return r}function P({[c]:e},{wsl:r}){if(r&&p)return b(r);if(!e)throw new Error(`${c} is not supported`);return b(e)}var m={};x(m,"chrome",()=>P({darwin:"google chrome",win32:"chrome",linux:["google-chrome","google-chrome-stable","chromium"]},{wsl:{ia32:"/mnt/c/Program Files (x86)/Google/Chrome/Application/chrome.exe",x64:["/mnt/c/Program Files/Google/Chrome/Application/chrome.exe","/mnt/c/Program Files (x86)/Google/Chrome/Application/chrome.exe"]}}));x(m,"firefox",()=>P({darwin:"firefox",win32:"C:\\Program Files\\Mozilla Firefox\\firefox.exe",linux:"firefox"},{wsl:"/mnt/c/Program Files/Mozilla Firefox/firefox.exe"}));x(m,"edge",()=>P({darwin:"microsoft edge",win32:"msedge",linux:["microsoft-edge","microsoft-edge-dev"]},{wsl:"/mnt/c/Program Files (x86)/Microsoft/Edge/Application/msedge.exe"}));y.apps=m;y.openApp=I;$.exports=y});export default G();
@@ -1,2 +1,2 @@
1
1
  import { createRequire as __createRequire } from 'module';globalThis.require = __createRequire(import.meta.url);
2
- import{c as a}from"./chunk-AMAQOLRU.js";import"./chunk-Y52UPHAG.js";export default a();
2
+ import{c as a}from"./chunk-USCGCV2A.js";import"./chunk-LFSGY5IW.js";export default a();
@@ -1,5 +1,5 @@
1
1
  import { createRequire as __createRequire } from 'module';globalThis.require = __createRequire(import.meta.url);
2
- import{i as Gt}from"./chunk-Y52UPHAG.js";Gt();var ns=Object.create,Tt=Object.defineProperty,os=Object.getOwnPropertyDescriptor,is=Object.getOwnPropertyNames,as=Object.getPrototypeOf,us=Object.prototype.hasOwnProperty,E=(e,s)=>()=>(s||e((s={exports:{}}).exports,s),s.exports),tr=(e,s)=>{for(var i in s)Tt(e,i,{get:s[i],enumerable:!0})},ls=(e,s,i,r)=>{if(s&&typeof s=="object"||typeof s=="function")for(let a of is(s))!us.call(e,a)&&a!==i&&Tt(e,a,{get:()=>s[a],enumerable:!(r=os(s,a))||r.enumerable});return e},Te=(e,s,i)=>(i=e!=null?ns(as(e)):{},ls(s||!e||!e.__esModule?Tt(i,"default",{value:e,enumerable:!0}):i,e)),cs=E((e,s)=>{var i=String,r=function(){return{isColorSupported:!1,reset:i,bold:i,dim:i,italic:i,underline:i,inverse:i,hidden:i,strikethrough:i,black:i,red:i,green:i,yellow:i,blue:i,magenta:i,cyan:i,white:i,gray:i,bgBlack:i,bgRed:i,bgGreen:i,bgYellow:i,bgBlue:i,bgMagenta:i,bgCyan:i,bgWhite:i,blackBright:i,redBright:i,greenBright:i,yellowBright:i,blueBright:i,magentaBright:i,cyanBright:i,whiteBright:i,bgBlackBright:i,bgRedBright:i,bgGreenBright:i,bgYellowBright:i,bgBlueBright:i,bgMagentaBright:i,bgCyanBright:i,bgWhiteBright:i}};s.exports=r(),s.exports.createColors=r}),rr=E(()=>{}),Ot=E((e,s)=>{"use strict";var i=cs(),r=rr(),a=class sr extends Error{constructor(u,p,y,m,n,t){super(u),this.name="CssSyntaxError",this.reason=u,n&&(this.file=n),m&&(this.source=m),t&&(this.plugin=t),typeof p<"u"&&typeof y<"u"&&(typeof p=="number"?(this.line=p,this.column=y):(this.line=p.line,this.column=p.column,this.endLine=y.line,this.endColumn=y.column)),this.setMessage(),Error.captureStackTrace&&Error.captureStackTrace(this,sr)}setMessage(){this.message=this.plugin?this.plugin+": ":"",this.message+=this.file?this.file:"<css input>",typeof this.line<"u"&&(this.message+=":"+this.line+":"+this.column),this.message+=": "+this.reason}showSourceCode(u){if(!this.source)return"";let p=this.source;u==null&&(u=i.isColorSupported);let y=l=>l,m=l=>l,n=l=>l;if(u){let{bold:l,gray:g,red:v}=i.createColors(!0);m=f=>l(v(f)),y=f=>g(f),r&&(n=f=>r(f))}let t=p.split(/\r?\n/),h=Math.max(this.line-3,0),c=Math.min(this.line+2,t.length),d=String(c).length;return t.slice(h,c).map((l,g)=>{let v=h+1+g,f=" "+(" "+v).slice(-d)+" | ";if(v===this.line){if(l.length>160){let O=20,b=Math.max(0,this.column-O),T=Math.max(this.column+O,this.endColumn+O),k=l.slice(b,T),x=y(f.replace(/\d/g," "))+l.slice(0,Math.min(this.column-1,O-1)).replace(/[^\t]/g," ");return m(">")+y(f)+n(k)+`
2
+ import{i as Gt}from"./chunk-LFSGY5IW.js";Gt();var ns=Object.create,Tt=Object.defineProperty,os=Object.getOwnPropertyDescriptor,is=Object.getOwnPropertyNames,as=Object.getPrototypeOf,us=Object.prototype.hasOwnProperty,E=(e,s)=>()=>(s||e((s={exports:{}}).exports,s),s.exports),tr=(e,s)=>{for(var i in s)Tt(e,i,{get:s[i],enumerable:!0})},ls=(e,s,i,r)=>{if(s&&typeof s=="object"||typeof s=="function")for(let a of is(s))!us.call(e,a)&&a!==i&&Tt(e,a,{get:()=>s[a],enumerable:!(r=os(s,a))||r.enumerable});return e},Te=(e,s,i)=>(i=e!=null?ns(as(e)):{},ls(s||!e||!e.__esModule?Tt(i,"default",{value:e,enumerable:!0}):i,e)),cs=E((e,s)=>{var i=String,r=function(){return{isColorSupported:!1,reset:i,bold:i,dim:i,italic:i,underline:i,inverse:i,hidden:i,strikethrough:i,black:i,red:i,green:i,yellow:i,blue:i,magenta:i,cyan:i,white:i,gray:i,bgBlack:i,bgRed:i,bgGreen:i,bgYellow:i,bgBlue:i,bgMagenta:i,bgCyan:i,bgWhite:i,blackBright:i,redBright:i,greenBright:i,yellowBright:i,blueBright:i,magentaBright:i,cyanBright:i,whiteBright:i,bgBlackBright:i,bgRedBright:i,bgGreenBright:i,bgYellowBright:i,bgBlueBright:i,bgMagentaBright:i,bgCyanBright:i,bgWhiteBright:i}};s.exports=r(),s.exports.createColors=r}),rr=E(()=>{}),Ot=E((e,s)=>{"use strict";var i=cs(),r=rr(),a=class sr extends Error{constructor(u,p,y,m,n,t){super(u),this.name="CssSyntaxError",this.reason=u,n&&(this.file=n),m&&(this.source=m),t&&(this.plugin=t),typeof p<"u"&&typeof y<"u"&&(typeof p=="number"?(this.line=p,this.column=y):(this.line=p.line,this.column=p.column,this.endLine=y.line,this.endColumn=y.column)),this.setMessage(),Error.captureStackTrace&&Error.captureStackTrace(this,sr)}setMessage(){this.message=this.plugin?this.plugin+": ":"",this.message+=this.file?this.file:"<css input>",typeof this.line<"u"&&(this.message+=":"+this.line+":"+this.column),this.message+=": "+this.reason}showSourceCode(u){if(!this.source)return"";let p=this.source;u==null&&(u=i.isColorSupported);let y=l=>l,m=l=>l,n=l=>l;if(u){let{bold:l,gray:g,red:v}=i.createColors(!0);m=f=>l(v(f)),y=f=>g(f),r&&(n=f=>r(f))}let t=p.split(/\r?\n/),h=Math.max(this.line-3,0),c=Math.min(this.line+2,t.length),d=String(c).length;return t.slice(h,c).map((l,g)=>{let v=h+1+g,f=" "+(" "+v).slice(-d)+" | ";if(v===this.line){if(l.length>160){let O=20,b=Math.max(0,this.column-O),T=Math.max(this.column+O,this.endColumn+O),k=l.slice(b,T),x=y(f.replace(/\d/g," "))+l.slice(0,Math.min(this.column-1,O-1)).replace(/[^\t]/g," ");return m(">")+y(f)+n(k)+`
3
3
  `+x+m("^")}let w=y(f.replace(/\d/g," "))+l.slice(0,this.column-1).replace(/[^\t]/g," ");return m(">")+y(f)+n(l)+`
4
4
  `+w+m("^")}return" "+y(f)+n(l)}).join(`
5
5
  `)}toString(){let u=this.showSourceCode();return u&&(u=`
@@ -1,5 +1,5 @@
1
1
  import { createRequire as __createRequire } from 'module';globalThis.require = __createRequire(import.meta.url);
2
- import{i as gp}from"./chunk-Y52UPHAG.js";gp();var eh=Object.defineProperty,Em=(e,n)=>{for(var a in n)eh(e,a,{get:n[a],enumerable:!0})},th={};Em(th,{parsers:()=>Pm});var Pm={};Em(Pm,{typescript:()=>m4});var _h=()=>()=>{},Ed=_h,Pd=(e,n)=>(a,c,...f)=>a|1&&c==null?void 0:(n.call(c)??c[e]).apply(c,f),nh=String.prototype.replaceAll??function(e,n){return e.global?this.replace(e,n):this.split(e).join(n)},rh=Pd("replaceAll",function(){if(typeof this=="string")return nh}),Ea=rh,ah="5.9",Ct=[],oh=new Map;function Xo(e){return e!==void 0?e.length:0}function M_(e,n){if(e!==void 0)for(let a=0;a<e.length;a++){let c=n(e[a],a);if(c)return c}}function ih(e,n){if(e!==void 0)for(let a=0;a<e.length;a++){let c=n(e[a],a);if(c!==void 0)return c}}function bp(e,n,a){let c=[];U.assertEqual(e.length,n.length);for(let f=0;f<e.length;f++)c.push(a(e[f],n[f],f));return c}function Nd(e,n){if(e!==void 0){for(let a=0;a<e.length;a++)if(!n(e[a],a))return!1}return!0}function Nm(e,n,a){if(e!==void 0)for(let c=a??0;c<e.length;c++){let f=e[c];if(n(f,c))return f}}function Xu(e,n,a){if(e===void 0)return-1;for(let c=a??0;c<e.length;c++)if(n(e[c],c))return c;return-1}function sh(e,n,a=jd){if(e!==void 0){for(let c=0;c<e.length;c++)if(a(e[c],n))return!0}return!1}function Kn(e,n){if(e!==void 0){let a=e.length,c=0;for(;c<a&&n(e[c]);)c++;if(c<a){let f=e.slice(0,c);for(c++;c<a;){let g=e[c];n(g)&&f.push(g),c++}return f}}return e}function sd(e,n){let a;if(e!==void 0){a=[];for(let c=0;c<e.length;c++)a.push(n(e[c],c))}return a}function Im(e){let n=[];for(let a=0;a<e.length;a++){let c=e[a];c&&(Wn(c)?S_(n,c):n.push(c))}return n}function Fm(e,n){let a;if(e!==void 0)for(let c=0;c<e.length;c++){let f=n(e[c],c);f&&(Wn(f)?a=S_(a,f):a=w_(a,f))}return a??Ct}function lh(e,n){let a;if(e!==void 0)for(let c=0;c<e.length;c++){let f=e[c],g=n(f,c);(a||f!==g||Wn(g))&&(a||(a=e.slice(0,c)),Wn(g)?S_(a,g):a.push(g))}return a??e}function ch(e,n){let a=[];if(e!==void 0)for(let c=0;c<e.length;c++){let f=n(e[c],c);f!==void 0&&a.push(f)}return a}function Qt(e,n){if(e!==void 0)if(n!==void 0){for(let a=0;a<e.length;a++)if(n(e[a]))return!0}else return e.length>0;return!1}function Id(e,n){return n===void 0||n.length===0?e:e===void 0||e.length===0?n:[...e,...n]}function uh(e,n,a=jd){if(e===void 0||n===void 0)return e===n;if(e.length!==n.length)return!1;for(let c=0;c<e.length;c++)if(!a(e[c],n[c],c))return!1;return!0}function w_(e,n){return n===void 0?e:e===void 0?[n]:(e.push(n),e)}function ld(e,n){return n<0?e.length+n:n}function S_(e,n,a,c){if(n===void 0||n.length===0)return e;if(e===void 0)return n.slice(a,c);a=a===void 0?0:ld(n,a),c=c===void 0?n.length:ld(n,c);for(let f=a;f<c&&f<n.length;f++)n[f]!==void 0&&e.push(n[f]);return e}function dh(e,n,a){return sh(e,n,a)?!1:(e.push(n),!0)}function ph(e,n,a){return e!==void 0?(dh(e,n,a),e):[n]}function mh(e,n){return e.length===0?Ct:e.slice().sort(n)}var f4=Array.prototype.at?(e,n)=>e?.at(n):(e,n)=>{if(e!==void 0&&(n=ld(e,n),n<e.length))return e[n]};function Fd(e){return e===void 0||e.length===0?void 0:e[0]}function Ia(e){return e===void 0||e.length===0?void 0:e[e.length-1]}function fh(e){return U.assert(e.length!==0),e[e.length-1]}function hh(e){return e!==void 0&&e.length===1?e[0]:void 0}function yh(e,n,a,c,f){return gh(e,a(n),a,c,f)}function gh(e,n,a,c,f){if(!Qt(e))return-1;let g=f??0,S=e.length-1;for(;g<=S;){let A=g+(S-g>>1),s=a(e[A],A);switch(c(s,n)){case-1:g=A+1;break;case 0:return A;case 1:S=A-1;break}}return~g}function bh(e,n,a,c,f){if(e&&e.length>0){let g=e.length;if(g>0){let S=c===void 0||c<0?0:c,A=f===void 0||S+f>g-1?g-1:S+f,s;for(arguments.length<=2?(s=e[S],S++):s=a;S<=A;)s=n(s,e[S],S),S++;return s}}return a}var jm=Object.prototype.hasOwnProperty;function kn(e,n){return jm.call(e,n)}function vh(e){let n=[];for(let a in e)jm.call(e,a)&&n.push(a);return n}function xh(){let e=new Map;return e.add=wh,e.remove=Th,e}function wh(e,n){let a=this.get(e);return a!==void 0?a.push(n):this.set(e,a=[n]),a}function Th(e,n){let a=this.get(e);a!==void 0&&(Ih(a,n),a.length||this.delete(e))}function Wn(e){return Array.isArray(e)}function Wu(e){return Wn(e)?e:[e]}function Sh(e,n){return e!==void 0&&n(e)?e:void 0}function wn(e,n){return e!==void 0&&n(e)?e:U.fail(`Invalid cast. The supplied value ${e} did not pass the test '${U.getFunctionName(n)}'.`)}function Ra(e){}function kh(){return!0}function bt(e){return e}function vp(e){let n;return()=>(e&&(n=e(),e=void 0),n)}function G_(e){let n=new Map;return a=>{let c=`${typeof a}:${a}`,f=n.get(c);return f===void 0&&!n.has(c)&&(f=e(a),n.set(c,f)),f}}function jd(e,n){return e===n}function Md(e,n){return e===n||e!==void 0&&n!==void 0&&e.toUpperCase()===n.toUpperCase()}function Ch(e,n){return jd(e,n)}function Ah(e,n){return e===n?0:e===void 0?-1:n===void 0?1:e<n?-1:1}function Mm(e,n){return Ah(e,n)}function Dh(e,n,a){for(let c=0;c<e.length;c++)n=Math.max(n,a(e[c]));return n}function Wo(e,n,a){let c=Math.max(2,Math.floor(e.length*.34)),f=Math.floor(e.length*.4)+1,g;for(let S of n){let A=a(S);if(A!==void 0&&Math.abs(A.length-e.length)<=c){if(A===e||A.length<3&&A.toLowerCase()!==e.toLowerCase())continue;let s=Eh(e,A,f-.1);if(s===void 0)continue;U.assert(s<f),f=s,g=S}}return g}function Eh(e,n,a){let c=new Array(n.length+1),f=new Array(n.length+1),g=a+.01;for(let A=0;A<=n.length;A++)c[A]=A;for(let A=1;A<=e.length;A++){let s=e.charCodeAt(A-1),V=Math.ceil(A>a?A-a:1),h=Math.floor(n.length>a+A?a+A:n.length);f[0]=A;let W=A;for(let D=1;D<V;D++)f[D]=g;for(let D=V;D<=h;D++){let R=e[A-1].toLowerCase()===n[D-1].toLowerCase()?c[D-1]+.1:c[D-1]+2,le=s===n.charCodeAt(D-1)?c[D-1]:Math.min(c[D]+1,f[D-1]+1,R);f[D]=le,W=Math.min(W,le)}for(let D=h+1;D<=n.length;D++)f[D]=g;if(W>a)return;let k=c;c=f,f=k}let S=c[n.length];return S>a?void 0:S}function Ph(e,n,a){let c=e.length-n.length;return c>=0&&(a?Md(e.slice(c),n):e.indexOf(n,c)===c)}function Nh(e,n){e[n]=e[e.length-1],e.pop()}function Ih(e,n){return Fh(e,a=>a===n)}function Fh(e,n){for(let a=0;a<e.length;a++)if(n(e[a]))return Nh(e,a),!0;return!1}function tc(e,n,a){return a?Md(e.slice(0,n.length),n):e.lastIndexOf(n,0)===0}function cd(e){return e===void 0?void 0:[e]}var U;(e=>{let n=0;e.currentLogLevel=2,e.isDebugging=!1;function a(M){return e.currentLogLevel<=M}e.shouldLog=a;function c(M,oe){e.loggingHost&&a(M)&&e.loggingHost.log(M,oe)}function f(M){c(3,M)}e.log=f,(M=>{function oe(Qe){c(1,Qe)}M.error=oe;function pe(Qe){c(2,Qe)}M.warn=pe;function ve(Qe){c(3,Qe)}M.log=ve;function Ge(Qe){c(4,Qe)}M.trace=Ge})(f=e.log||(e.log={}));let g={};function S(){return n}e.getAssertionLevel=S;function A(M){let oe=n;if(n=M,M>oe)for(let pe of vh(g)){let ve=g[pe];ve!==void 0&&e[pe]!==ve.assertion&&M>=ve.level&&(e[pe]=ve,g[pe]=void 0)}}e.setAssertionLevel=A;function s(M){return n>=M}e.shouldAssert=s;function V(M,oe){return s(M)?!0:(g[oe]={level:M,assertion:e[oe]},e[oe]=Ra,!1)}function h(M,oe){debugger;let pe=new Error(M?`Debug Failure. ${M}`:"Debug Failure.");throw Error.captureStackTrace&&Error.captureStackTrace(pe,oe||h),pe}e.fail=h;function W(M,oe,pe){return h(`${oe||"Unexpected node."}\r
2
+ import{i as gp}from"./chunk-LFSGY5IW.js";gp();var eh=Object.defineProperty,Em=(e,n)=>{for(var a in n)eh(e,a,{get:n[a],enumerable:!0})},th={};Em(th,{parsers:()=>Pm});var Pm={};Em(Pm,{typescript:()=>m4});var _h=()=>()=>{},Ed=_h,Pd=(e,n)=>(a,c,...f)=>a|1&&c==null?void 0:(n.call(c)??c[e]).apply(c,f),nh=String.prototype.replaceAll??function(e,n){return e.global?this.replace(e,n):this.split(e).join(n)},rh=Pd("replaceAll",function(){if(typeof this=="string")return nh}),Ea=rh,ah="5.9",Ct=[],oh=new Map;function Xo(e){return e!==void 0?e.length:0}function M_(e,n){if(e!==void 0)for(let a=0;a<e.length;a++){let c=n(e[a],a);if(c)return c}}function ih(e,n){if(e!==void 0)for(let a=0;a<e.length;a++){let c=n(e[a],a);if(c!==void 0)return c}}function bp(e,n,a){let c=[];U.assertEqual(e.length,n.length);for(let f=0;f<e.length;f++)c.push(a(e[f],n[f],f));return c}function Nd(e,n){if(e!==void 0){for(let a=0;a<e.length;a++)if(!n(e[a],a))return!1}return!0}function Nm(e,n,a){if(e!==void 0)for(let c=a??0;c<e.length;c++){let f=e[c];if(n(f,c))return f}}function Xu(e,n,a){if(e===void 0)return-1;for(let c=a??0;c<e.length;c++)if(n(e[c],c))return c;return-1}function sh(e,n,a=jd){if(e!==void 0){for(let c=0;c<e.length;c++)if(a(e[c],n))return!0}return!1}function Kn(e,n){if(e!==void 0){let a=e.length,c=0;for(;c<a&&n(e[c]);)c++;if(c<a){let f=e.slice(0,c);for(c++;c<a;){let g=e[c];n(g)&&f.push(g),c++}return f}}return e}function sd(e,n){let a;if(e!==void 0){a=[];for(let c=0;c<e.length;c++)a.push(n(e[c],c))}return a}function Im(e){let n=[];for(let a=0;a<e.length;a++){let c=e[a];c&&(Wn(c)?S_(n,c):n.push(c))}return n}function Fm(e,n){let a;if(e!==void 0)for(let c=0;c<e.length;c++){let f=n(e[c],c);f&&(Wn(f)?a=S_(a,f):a=w_(a,f))}return a??Ct}function lh(e,n){let a;if(e!==void 0)for(let c=0;c<e.length;c++){let f=e[c],g=n(f,c);(a||f!==g||Wn(g))&&(a||(a=e.slice(0,c)),Wn(g)?S_(a,g):a.push(g))}return a??e}function ch(e,n){let a=[];if(e!==void 0)for(let c=0;c<e.length;c++){let f=n(e[c],c);f!==void 0&&a.push(f)}return a}function Qt(e,n){if(e!==void 0)if(n!==void 0){for(let a=0;a<e.length;a++)if(n(e[a]))return!0}else return e.length>0;return!1}function Id(e,n){return n===void 0||n.length===0?e:e===void 0||e.length===0?n:[...e,...n]}function uh(e,n,a=jd){if(e===void 0||n===void 0)return e===n;if(e.length!==n.length)return!1;for(let c=0;c<e.length;c++)if(!a(e[c],n[c],c))return!1;return!0}function w_(e,n){return n===void 0?e:e===void 0?[n]:(e.push(n),e)}function ld(e,n){return n<0?e.length+n:n}function S_(e,n,a,c){if(n===void 0||n.length===0)return e;if(e===void 0)return n.slice(a,c);a=a===void 0?0:ld(n,a),c=c===void 0?n.length:ld(n,c);for(let f=a;f<c&&f<n.length;f++)n[f]!==void 0&&e.push(n[f]);return e}function dh(e,n,a){return sh(e,n,a)?!1:(e.push(n),!0)}function ph(e,n,a){return e!==void 0?(dh(e,n,a),e):[n]}function mh(e,n){return e.length===0?Ct:e.slice().sort(n)}var f4=Array.prototype.at?(e,n)=>e?.at(n):(e,n)=>{if(e!==void 0&&(n=ld(e,n),n<e.length))return e[n]};function Fd(e){return e===void 0||e.length===0?void 0:e[0]}function Ia(e){return e===void 0||e.length===0?void 0:e[e.length-1]}function fh(e){return U.assert(e.length!==0),e[e.length-1]}function hh(e){return e!==void 0&&e.length===1?e[0]:void 0}function yh(e,n,a,c,f){return gh(e,a(n),a,c,f)}function gh(e,n,a,c,f){if(!Qt(e))return-1;let g=f??0,S=e.length-1;for(;g<=S;){let A=g+(S-g>>1),s=a(e[A],A);switch(c(s,n)){case-1:g=A+1;break;case 0:return A;case 1:S=A-1;break}}return~g}function bh(e,n,a,c,f){if(e&&e.length>0){let g=e.length;if(g>0){let S=c===void 0||c<0?0:c,A=f===void 0||S+f>g-1?g-1:S+f,s;for(arguments.length<=2?(s=e[S],S++):s=a;S<=A;)s=n(s,e[S],S),S++;return s}}return a}var jm=Object.prototype.hasOwnProperty;function kn(e,n){return jm.call(e,n)}function vh(e){let n=[];for(let a in e)jm.call(e,a)&&n.push(a);return n}function xh(){let e=new Map;return e.add=wh,e.remove=Th,e}function wh(e,n){let a=this.get(e);return a!==void 0?a.push(n):this.set(e,a=[n]),a}function Th(e,n){let a=this.get(e);a!==void 0&&(Ih(a,n),a.length||this.delete(e))}function Wn(e){return Array.isArray(e)}function Wu(e){return Wn(e)?e:[e]}function Sh(e,n){return e!==void 0&&n(e)?e:void 0}function wn(e,n){return e!==void 0&&n(e)?e:U.fail(`Invalid cast. The supplied value ${e} did not pass the test '${U.getFunctionName(n)}'.`)}function Ra(e){}function kh(){return!0}function bt(e){return e}function vp(e){let n;return()=>(e&&(n=e(),e=void 0),n)}function G_(e){let n=new Map;return a=>{let c=`${typeof a}:${a}`,f=n.get(c);return f===void 0&&!n.has(c)&&(f=e(a),n.set(c,f)),f}}function jd(e,n){return e===n}function Md(e,n){return e===n||e!==void 0&&n!==void 0&&e.toUpperCase()===n.toUpperCase()}function Ch(e,n){return jd(e,n)}function Ah(e,n){return e===n?0:e===void 0?-1:n===void 0?1:e<n?-1:1}function Mm(e,n){return Ah(e,n)}function Dh(e,n,a){for(let c=0;c<e.length;c++)n=Math.max(n,a(e[c]));return n}function Wo(e,n,a){let c=Math.max(2,Math.floor(e.length*.34)),f=Math.floor(e.length*.4)+1,g;for(let S of n){let A=a(S);if(A!==void 0&&Math.abs(A.length-e.length)<=c){if(A===e||A.length<3&&A.toLowerCase()!==e.toLowerCase())continue;let s=Eh(e,A,f-.1);if(s===void 0)continue;U.assert(s<f),f=s,g=S}}return g}function Eh(e,n,a){let c=new Array(n.length+1),f=new Array(n.length+1),g=a+.01;for(let A=0;A<=n.length;A++)c[A]=A;for(let A=1;A<=e.length;A++){let s=e.charCodeAt(A-1),V=Math.ceil(A>a?A-a:1),h=Math.floor(n.length>a+A?a+A:n.length);f[0]=A;let W=A;for(let D=1;D<V;D++)f[D]=g;for(let D=V;D<=h;D++){let R=e[A-1].toLowerCase()===n[D-1].toLowerCase()?c[D-1]+.1:c[D-1]+2,le=s===n.charCodeAt(D-1)?c[D-1]:Math.min(c[D]+1,f[D-1]+1,R);f[D]=le,W=Math.min(W,le)}for(let D=h+1;D<=n.length;D++)f[D]=g;if(W>a)return;let k=c;c=f,f=k}let S=c[n.length];return S>a?void 0:S}function Ph(e,n,a){let c=e.length-n.length;return c>=0&&(a?Md(e.slice(c),n):e.indexOf(n,c)===c)}function Nh(e,n){e[n]=e[e.length-1],e.pop()}function Ih(e,n){return Fh(e,a=>a===n)}function Fh(e,n){for(let a=0;a<e.length;a++)if(n(e[a]))return Nh(e,a),!0;return!1}function tc(e,n,a){return a?Md(e.slice(0,n.length),n):e.lastIndexOf(n,0)===0}function cd(e){return e===void 0?void 0:[e]}var U;(e=>{let n=0;e.currentLogLevel=2,e.isDebugging=!1;function a(M){return e.currentLogLevel<=M}e.shouldLog=a;function c(M,oe){e.loggingHost&&a(M)&&e.loggingHost.log(M,oe)}function f(M){c(3,M)}e.log=f,(M=>{function oe(Qe){c(1,Qe)}M.error=oe;function pe(Qe){c(2,Qe)}M.warn=pe;function ve(Qe){c(3,Qe)}M.log=ve;function Ge(Qe){c(4,Qe)}M.trace=Ge})(f=e.log||(e.log={}));let g={};function S(){return n}e.getAssertionLevel=S;function A(M){let oe=n;if(n=M,M>oe)for(let pe of vh(g)){let ve=g[pe];ve!==void 0&&e[pe]!==ve.assertion&&M>=ve.level&&(e[pe]=ve,g[pe]=void 0)}}e.setAssertionLevel=A;function s(M){return n>=M}e.shouldAssert=s;function V(M,oe){return s(M)?!0:(g[oe]={level:M,assertion:e[oe]},e[oe]=Ra,!1)}function h(M,oe){debugger;let pe=new Error(M?`Debug Failure. ${M}`:"Debug Failure.");throw Error.captureStackTrace&&Error.captureStackTrace(pe,oe||h),pe}e.fail=h;function W(M,oe,pe){return h(`${oe||"Unexpected node."}\r
3
3
  Node ${Ft(M.kind)} was unexpected.`,pe||W)}e.failBadSyntaxKind=W;function k(M,oe,pe,ve){M||(oe=oe?`False expression: ${oe}`:"False expression.",pe&&(oe+=`\r
4
4
  Verbose Debug Information: `+(typeof pe=="string"?pe:pe())),h(oe,ve||k))}e.assert=k;function D(M,oe,pe,ve,Ge){if(M!==oe){let Qe=pe?ve?`${pe} ${ve}`:pe:"";h(`Expected ${M} === ${oe}. ${Qe}`,Ge||D)}}e.assertEqual=D;function R(M,oe,pe,ve){M>=oe&&h(`Expected ${M} < ${oe}. ${pe||""}`,ve||R)}e.assertLessThan=R;function le(M,oe,pe){M>oe&&h(`Expected ${M} <= ${oe}`,pe||le)}e.assertLessThanOrEqual=le;function Se(M,oe,pe){M<oe&&h(`Expected ${M} >= ${oe}`,pe||Se)}e.assertGreaterThanOrEqual=Se;function he(M,oe,pe){M==null&&h(oe,pe||he)}e.assertIsDefined=he;function me(M,oe,pe){return he(M,oe,pe||me),M}e.checkDefined=me;function F(M,oe,pe){for(let ve of M)he(ve,oe,pe||F)}e.assertEachIsDefined=F;function ae(M,oe,pe){return F(M,oe,pe||ae),M}e.checkEachDefined=ae;function Me(M,oe="Illegal value:",pe){let ve=typeof M=="object"&&kn(M,"kind")&&kn(M,"pos")?"SyntaxKind: "+Ft(M.kind):JSON.stringify(M);return h(`${oe} ${ve}`,pe||Me)}e.assertNever=Me;function K(M,oe,pe,ve){V(1,"assertEachNode")&&k(oe===void 0||Nd(M,oe),pe||"Unexpected node.",()=>`Node array did not pass test '${p_(oe)}'.`,ve||K)}e.assertEachNode=K;function se(M,oe,pe,ve){V(1,"assertNode")&&k(M!==void 0&&(oe===void 0||oe(M)),pe||"Unexpected node.",()=>`Node ${Ft(M?.kind)} did not pass test '${p_(oe)}'.`,ve||se)}e.assertNode=se;function $(M,oe,pe,ve){V(1,"assertNotNode")&&k(M===void 0||oe===void 0||!oe(M),pe||"Unexpected node.",()=>`Node ${Ft(M.kind)} should not have passed test '${p_(oe)}'.`,ve||$)}e.assertNotNode=$;function pt(M,oe,pe,ve){V(1,"assertOptionalNode")&&k(oe===void 0||M===void 0||oe(M),pe||"Unexpected node.",()=>`Node ${Ft(M?.kind)} did not pass test '${p_(oe)}'.`,ve||pt)}e.assertOptionalNode=pt;function H_(M,oe,pe,ve){V(1,"assertOptionalToken")&&k(oe===void 0||M===void 0||M.kind===oe,pe||"Unexpected node.",()=>`Node ${Ft(M?.kind)} was not a '${Ft(oe)}' token.`,ve||H_)}e.assertOptionalToken=H_;function d_(M,oe,pe){V(1,"assertMissingNode")&&k(M===void 0,oe||"Unexpected node.",()=>`Node ${Ft(M.kind)} was unexpected'.`,pe||d_)}e.assertMissingNode=d_;function Q_(M){}e.type=Q_;function p_(M){if(typeof M!="function")return"";if(kn(M,"name"))return M.name;{let oe=Function.prototype.toString.call(M),pe=/^function\s+([\w$]+)\s*\(/.exec(oe);return pe?pe[1]:""}}e.getFunctionName=p_;function C_(M){return`{ name: ${ri(M.escapedName)}; flags: ${st(M.flags)}; declarations: ${sd(M.declarations,oe=>Ft(oe.kind))} }`}e.formatSymbol=C_;function Ve(M=0,oe,pe){let ve=An(oe);if(M===0)return ve.length>0&&ve[0][0]===0?ve[0][1]:"0";if(pe){let Ge=[],Qe=M;for(let[at,Dt]of ve){if(at>M)break;at!==0&&at&M&&(Ge.push(Dt),Qe&=~at)}if(Qe===0)return Ge.join("|")}else for(let[Ge,Qe]of ve)if(Ge===M)return Qe;return M.toString()}e.formatEnum=Ve;let Y_=new Map;function An(M){let oe=Y_.get(M);if(oe)return oe;let pe=[];for(let Ge in M){let Qe=M[Ge];typeof Qe=="number"&&pe.push([Qe,Ge])}let ve=mh(pe,(Ge,Qe)=>Mm(Ge[0],Qe[0]));return Y_.set(M,ve),ve}function Ft(M){return Ve(M,Ie,!1)}e.formatSyntaxKind=Ft;function J_(M){return Ve(M,Km,!1)}e.formatSnippetKind=J_;function A_(M){return Ve(M,zn,!1)}e.formatScriptKind=A_;function jt(M){return Ve(M,j_,!0)}e.formatNodeFlags=jt;function ht(M){return Ve(M,Lm,!0)}e.formatNodeCheckFlags=ht;function He(M){return Ve(M,Jm,!0)}e.formatModifierFlags=He;function O_(M){return Ve(M,zm,!0)}e.formatTransformFlags=O_;function Gt(M){return Ve(M,Vm,!0)}e.formatEmitFlags=Gt;function st(M){return Ve(M,Rm,!0)}e.formatSymbolFlags=st;function rt(M){return Ve(M,r_,!0)}e.formatTypeFlags=rt;function Lt(M){return Ve(M,Um,!0)}e.formatSignatureFlags=Lt;function Mt(M){return Ve(M,qm,!0)}e.formatObjectFlags=Mt;function lt(M){return Ve(M,ud,!0)}e.formatFlowFlags=lt;function Z_(M){return Ve(M,Om,!0)}e.formatRelationComparisonResult=Z_;function mt(M){return Ve(M,CheckMode,!0)}e.formatCheckMode=mt;function m_(M){return Ve(M,SignatureCheckMode,!0)}e.formatSignatureCheckMode=m_;function yt(M){return Ve(M,TypeFacts,!0)}e.formatTypeFacts=yt;let f_=!1,tt;function qt(M){"__debugFlowFlags"in M||Object.defineProperties(M,{__tsDebuggerDisplay:{value(){let oe=this.flags&2?"FlowStart":this.flags&4?"FlowBranchLabel":this.flags&8?"FlowLoopLabel":this.flags&16?"FlowAssignment":this.flags&32?"FlowTrueCondition":this.flags&64?"FlowFalseCondition":this.flags&128?"FlowSwitchClause":this.flags&256?"FlowArrayMutation":this.flags&512?"FlowCall":this.flags&1024?"FlowReduceLabel":this.flags&1?"FlowUnreachable":"UnknownFlow",pe=this.flags&-2048;return`${oe}${pe?` (${lt(pe)})`:""}`}},__debugFlowFlags:{get(){return Ve(this.flags,ud,!0)}},__debugToString:{value(){return pn(this)}}})}function Zt(M){return f_&&(typeof Object.setPrototypeOf=="function"?(tt||(tt=Object.create(Object.prototype),qt(tt)),Object.setPrototypeOf(M,tt)):qt(M)),M}e.attachFlowNodeDebugInfo=Zt;let en;function un(M){"__tsDebuggerDisplay"in M||Object.defineProperties(M,{__tsDebuggerDisplay:{value(oe){return oe=String(oe).replace(/(?:,[\s\w]+:[^,]+)+\]$/,"]"),`NodeArray ${oe}`}}})}function dn(M){f_&&(typeof Object.setPrototypeOf=="function"?(en||(en=Object.create(Array.prototype),un(en)),Object.setPrototypeOf(M,en)):un(M))}e.attachNodeArrayDebugInfo=dn;function R_(){if(f_)return;let M=new WeakMap,oe=new WeakMap;Object.defineProperties(kt.getSymbolConstructor().prototype,{__tsDebuggerDisplay:{value(){let ve=this.flags&33554432?"TransientSymbol":"Symbol",Ge=this.flags&-33554433;return`${ve} '${md(this)}'${Ge?` (${st(Ge)})`:""}`}},__debugFlags:{get(){return st(this.flags)}}}),Object.defineProperties(kt.getTypeConstructor().prototype,{__tsDebuggerDisplay:{value(){let ve=this.flags&67359327?`IntrinsicType ${this.intrinsicName}${this.debugIntrinsicName?` (${this.debugIntrinsicName})`:""}`:this.flags&98304?"NullableType":this.flags&384?`LiteralType ${JSON.stringify(this.value)}`:this.flags&2048?`LiteralType ${this.value.negative?"-":""}${this.value.base10Value}n`:this.flags&8192?"UniqueESSymbolType":this.flags&32?"EnumType":this.flags&1048576?"UnionType":this.flags&2097152?"IntersectionType":this.flags&4194304?"IndexType":this.flags&8388608?"IndexedAccessType":this.flags&16777216?"ConditionalType":this.flags&33554432?"SubstitutionType":this.flags&262144?"TypeParameter":this.flags&524288?this.objectFlags&3?"InterfaceType":this.objectFlags&4?"TypeReference":this.objectFlags&8?"TupleType":this.objectFlags&16?"AnonymousType":this.objectFlags&32?"MappedType":this.objectFlags&1024?"ReverseMappedType":this.objectFlags&256?"EvolvingArrayType":"ObjectType":"Type",Ge=this.flags&524288?this.objectFlags&-1344:0;return`${ve}${this.symbol?` '${md(this.symbol)}'`:""}${Ge?` (${Mt(Ge)})`:""}`}},__debugFlags:{get(){return rt(this.flags)}},__debugObjectFlags:{get(){return this.flags&524288?Mt(this.objectFlags):""}},__debugTypeToString:{value(){let ve=M.get(this);return ve===void 0&&(ve=this.checker.typeToString(this),M.set(this,ve)),ve}}}),Object.defineProperties(kt.getSignatureConstructor().prototype,{__debugFlags:{get(){return Lt(this.flags)}},__debugSignatureToString:{value(){var ve;return(ve=this.checker)==null?void 0:ve.signatureToString(this)}}});let pe=[kt.getNodeConstructor(),kt.getIdentifierConstructor(),kt.getTokenConstructor(),kt.getSourceFileConstructor()];for(let ve of pe)kn(ve.prototype,"__debugKind")||Object.defineProperties(ve.prototype,{__tsDebuggerDisplay:{value(){return`${Na(this)?"GeneratedIdentifier":et(this)?`Identifier '${k_(this)}'`:Hr(this)?`PrivateIdentifier '${k_(this)}'`:Oa(this)?`StringLiteral ${JSON.stringify(this.text.length<10?this.text:this.text.slice(10)+"...")}`:qa(this)?`NumericLiteral ${this.text}`:G2(this)?`BigIntLiteral ${this.text}n`:qf(this)?"TypeParameterDeclaration":ic(this)?"ParameterDeclaration":Uf(this)?"ConstructorDeclaration":xd(this)?"GetAccessorDeclaration":lc(this)?"SetAccessorDeclaration":_g(this)?"CallSignatureDeclaration":ng(this)?"ConstructSignatureDeclaration":Bf(this)?"IndexSignatureDeclaration":rg(this)?"TypePredicateNode":zf(this)?"TypeReferenceNode":Kf(this)?"FunctionTypeNode":Vf(this)?"ConstructorTypeNode":ag(this)?"TypeQueryNode":og(this)?"TypeLiteralNode":ig(this)?"ArrayTypeNode":sg(this)?"TupleTypeNode":cg(this)?"OptionalTypeNode":ug(this)?"RestTypeNode":dg(this)?"UnionTypeNode":pg(this)?"IntersectionTypeNode":mg(this)?"ConditionalTypeNode":fg(this)?"InferTypeNode":hg(this)?"ParenthesizedTypeNode":yg(this)?"ThisTypeNode":gg(this)?"TypeOperatorNode":bg(this)?"IndexedAccessTypeNode":vg(this)?"MappedTypeNode":xg(this)?"LiteralTypeNode":lg(this)?"NamedTupleMember":wg(this)?"ImportTypeNode":Ft(this.kind)}${this.flags?` (${jt(this.flags)})`:""}`}},__debugKind:{get(){return Ft(this.kind)}},__debugNodeFlags:{get(){return jt(this.flags)}},__debugModifierFlags:{get(){return He(r2(this))}},__debugTransformFlags:{get(){return O_(this.transformFlags)}},__debugIsParseTreeNode:{get(){return rc(this)}},__debugEmitFlags:{get(){return Gt(Ja(this))}},__debugGetText:{value(Ge){if(Ca(this))return"";let Qe=oe.get(this);if(Qe===void 0){let at=g0(this),Dt=at&&pr(at);Qe=Dt?Mp(Dt,at,Ge):"",oe.set(this,Qe)}return Qe}}});f_=!0}e.enableDebugInfo=R_;function L_(M){let oe=M&7,pe=oe===0?"in out":oe===3?"[bivariant]":oe===2?"in":oe===1?"out":oe===4?"[independent]":"";return M&8?pe+=" (unmeasurable)":M&16&&(pe+=" (unreliable)"),pe}e.formatVariance=L_;class Dn{__debugToString(){var oe;switch(this.kind){case 3:return((oe=this.debugInfo)==null?void 0:oe.call(this))||"(function mapper)";case 0:return`${this.source.__debugTypeToString()} -> ${this.target.__debugTypeToString()}`;case 1:return bp(this.sources,this.targets||sd(this.sources,()=>"any"),(pe,ve)=>`${pe.__debugTypeToString()} -> ${typeof ve=="string"?ve:ve.__debugTypeToString()}`).join(", ");case 2:return bp(this.sources,this.targets,(pe,ve)=>`${pe.__debugTypeToString()} -> ${ve().__debugTypeToString()}`).join(", ");case 5:case 4:return`m1: ${this.mapper1.__debugToString().split(`
5
5
  `).join(`
@@ -1,5 +1,5 @@
1
1
  import { createRequire as __createRequire } from 'module';globalThis.require = __createRequire(import.meta.url);
2
- import{i as Pt}from"./chunk-Y52UPHAG.js";Pt();var nr=Object.create,St=Object.defineProperty,rr=Object.getOwnPropertyDescriptor,ir=Object.getOwnPropertyNames,sr=Object.getPrototypeOf,or=Object.prototype.hasOwnProperty,Me=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports),Vt=(t,e)=>{for(var r in e)St(t,r,{get:e[r],enumerable:!0})},ar=(t,e,r,u)=>{if(e&&typeof e=="object"||typeof e=="function")for(let g of ir(e))!or.call(t,g)&&g!==r&&St(t,g,{get:()=>e[g],enumerable:!(u=rr(e,g))||u.enumerable});return t},bt=(t,e,r)=>(r=t!=null?nr(sr(t)):{},ar(e||!t||!t.__esModule?St(r,"default",{value:t,enumerable:!0}):r,t)),Pe=Me(t=>{"use strict";var e={ANCHOR:"&",COMMENT:"#",TAG:"!",DIRECTIVES_END:"-",DOCUMENT_END:"."},r={ALIAS:"ALIAS",BLANK_LINE:"BLANK_LINE",BLOCK_FOLDED:"BLOCK_FOLDED",BLOCK_LITERAL:"BLOCK_LITERAL",COMMENT:"COMMENT",DIRECTIVE:"DIRECTIVE",DOCUMENT:"DOCUMENT",FLOW_MAP:"FLOW_MAP",FLOW_SEQ:"FLOW_SEQ",MAP:"MAP",MAP_KEY:"MAP_KEY",MAP_VALUE:"MAP_VALUE",PLAIN:"PLAIN",QUOTE_DOUBLE:"QUOTE_DOUBLE",QUOTE_SINGLE:"QUOTE_SINGLE",SEQ:"SEQ",SEQ_ITEM:"SEQ_ITEM"},u="tag:yaml.org,2002:",g={MAP:"tag:yaml.org,2002:map",SEQ:"tag:yaml.org,2002:seq",STR:"tag:yaml.org,2002:str"};function y(l){let i=[0],n=l.indexOf(`
2
+ import{i as Pt}from"./chunk-LFSGY5IW.js";Pt();var nr=Object.create,St=Object.defineProperty,rr=Object.getOwnPropertyDescriptor,ir=Object.getOwnPropertyNames,sr=Object.getPrototypeOf,or=Object.prototype.hasOwnProperty,Me=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports),Vt=(t,e)=>{for(var r in e)St(t,r,{get:e[r],enumerable:!0})},ar=(t,e,r,u)=>{if(e&&typeof e=="object"||typeof e=="function")for(let g of ir(e))!or.call(t,g)&&g!==r&&St(t,g,{get:()=>e[g],enumerable:!(u=rr(e,g))||u.enumerable});return t},bt=(t,e,r)=>(r=t!=null?nr(sr(t)):{},ar(e||!t||!t.__esModule?St(r,"default",{value:t,enumerable:!0}):r,t)),Pe=Me(t=>{"use strict";var e={ANCHOR:"&",COMMENT:"#",TAG:"!",DIRECTIVES_END:"-",DOCUMENT_END:"."},r={ALIAS:"ALIAS",BLANK_LINE:"BLANK_LINE",BLOCK_FOLDED:"BLOCK_FOLDED",BLOCK_LITERAL:"BLOCK_LITERAL",COMMENT:"COMMENT",DIRECTIVE:"DIRECTIVE",DOCUMENT:"DOCUMENT",FLOW_MAP:"FLOW_MAP",FLOW_SEQ:"FLOW_SEQ",MAP:"MAP",MAP_KEY:"MAP_KEY",MAP_VALUE:"MAP_VALUE",PLAIN:"PLAIN",QUOTE_DOUBLE:"QUOTE_DOUBLE",QUOTE_SINGLE:"QUOTE_SINGLE",SEQ:"SEQ",SEQ_ITEM:"SEQ_ITEM"},u="tag:yaml.org,2002:",g={MAP:"tag:yaml.org,2002:map",SEQ:"tag:yaml.org,2002:seq",STR:"tag:yaml.org,2002:str"};function y(l){let i=[0],n=l.indexOf(`
3
3
  `);for(;n!==-1;)n+=1,i.push(n),n=l.indexOf(`
4
4
  `,n);return i}function b(l){let i,n;return typeof l=="string"?(i=y(l),n=l):(Array.isArray(l)&&(l=l[0]),l&&l.context&&(l.lineStarts||(l.lineStarts=y(l.context.src)),i=l.lineStarts,n=l.context.src)),{lineStarts:i,src:n}}function A(l,i){if(typeof l!="number"||l<0)return null;let{lineStarts:n,src:s}=b(i);if(!n||!s||l>s.length)return null;for(let p=0;p<n.length;++p){let c=n[p];if(l<c)return{line:p,col:l-n[p-1]+1};if(l===c)return{line:p+1,col:1}}let o=n.length;return{line:o,col:l-n[o-1]+1}}function k(l,i){let{lineStarts:n,src:s}=b(i);if(!n||!(l>=1)||l>n.length)return null;let o=n[l-1],p=n[l];for(;p&&p>o&&s[p-1]===`
5
5
  `;)--p;return s.slice(o,p)}function C({start:l,end:i},n,s=80){let o=k(l.line,n);if(!o)return null;let{col:p}=l;if(o.length>s)if(p<=s-10)o=o.substr(0,s-1)+"\u2026";else{let x=Math.round(s/2);o.length>p+x&&(o=o.substr(0,p+x-1)+"\u2026"),p-=o.length-s,o="\u2026"+o.substr(1-s)}let c=1,h="";i&&(i.line===l.line&&p+(i.col-l.col)<=s+1?c=i.col-l.col:(c=Math.min(o.length+1,s)-p,h="\u2026"));let E=p>1?" ".repeat(p-1):"",O="^".repeat(c);return`${o}
package/package.json CHANGED
@@ -5,7 +5,7 @@
5
5
  "@shopify:registry": "https://registry.npmjs.org"
6
6
  },
7
7
  "license": "MIT",
8
- "version": "5.0.30",
8
+ "version": "5.0.32",
9
9
  "type": "module",
10
10
  "repository": {
11
11
  "type": "git",
@@ -16,7 +16,7 @@
16
16
  "@ast-grep/napi": "0.34.1"
17
17
  },
18
18
  "devDependencies": {
19
- "@types/node": "^22",
19
+ "@types/node": "22.19.15",
20
20
  "execa": "^8.0.1",
21
21
  "tempy": "3.1.0",
22
22
  "vitest": "^3.2.4"
@@ -1,14 +0,0 @@
1
- import type {Route} from './+types/api.$version.[graphql.json]';
2
-
3
- export async function action({params, context, request}: Route.ActionArgs) {
4
- const response = await fetch(
5
- `https://${context.env.PUBLIC_CHECKOUT_DOMAIN}/api/${params.version}/graphql.json`,
6
- {
7
- method: 'POST',
8
- body: request.body,
9
- headers: request.headers,
10
- },
11
- );
12
-
13
- return new Response(response.body, {headers: new Headers(response.headers)});
14
- }
@@ -1,51 +0,0 @@
1
- import { createRequire as __createRequire } from 'module';globalThis.require = __createRequire(import.meta.url);
2
- import{a as q,c as m,i as u}from"./chunk-Y52UPHAG.js";var tn=m(xe=>{"use strict";u();Object.defineProperty(xe,"__esModule",{value:!0});xe.splitWhen=xe.flatten=void 0;function Ki(t){return t.reduce((e,r)=>[].concat(e,r),[])}xe.flatten=Ki;function Qi(t,e){let r=[[]],n=0;for(let s of t)e(s)?(n++,r[n]=[]):r[n].push(s);return r}xe.splitWhen=Qi});var rn=m(je=>{"use strict";u();Object.defineProperty(je,"__esModule",{value:!0});je.isEnoentCodeError=void 0;function Yi(t){return t.code==="ENOENT"}je.isEnoentCodeError=Yi});var nn=m(We=>{"use strict";u();Object.defineProperty(We,"__esModule",{value:!0});We.createDirentFromStats=void 0;var St=class{constructor(e,r){this.name=e,this.isBlockDevice=r.isBlockDevice.bind(r),this.isCharacterDevice=r.isCharacterDevice.bind(r),this.isDirectory=r.isDirectory.bind(r),this.isFIFO=r.isFIFO.bind(r),this.isFile=r.isFile.bind(r),this.isSocket=r.isSocket.bind(r),this.isSymbolicLink=r.isSymbolicLink.bind(r)}};function Xi(t,e){return new St(t,e)}We.createDirentFromStats=Xi});var un=m(F=>{"use strict";u();Object.defineProperty(F,"__esModule",{value:!0});F.convertPosixPathToPattern=F.convertWindowsPathToPattern=F.convertPathToPattern=F.escapePosixPath=F.escapeWindowsPath=F.escape=F.removeLeadingDotSegment=F.makeAbsolute=F.unixify=void 0;var Zi=q("os"),zi=q("path"),sn=Zi.platform()==="win32",Ji=2,ea=/(\\?)([()*?[\]{|}]|^!|[!+@](?=\()|\\(?![!()*+?@[\]{|}]))/g,ta=/(\\?)([()[\]{}]|^!|[!+@](?=\())/g,ra=/^\\\\([.?])/,na=/\\(?![!()+@[\]{}])/g;function sa(t){return t.replace(/\\/g,"/")}F.unixify=sa;function ia(t,e){return zi.resolve(t,e)}F.makeAbsolute=ia;function aa(t){if(t.charAt(0)==="."){let e=t.charAt(1);if(e==="/"||e==="\\")return t.slice(Ji)}return t}F.removeLeadingDotSegment=aa;F.escape=sn?mt:Et;function mt(t){return t.replace(ta,"\\$2")}F.escapeWindowsPath=mt;function Et(t){return t.replace(ea,"\\$2")}F.escapePosixPath=Et;F.convertPathToPattern=sn?an:on;function an(t){return mt(t).replace(ra,"//$1").replace(na,"/")}F.convertWindowsPathToPattern=an;function on(t){return Et(t)}F.convertPosixPathToPattern=on});var ln=m((ul,cn)=>{"use strict";u();cn.exports=function(e){if(typeof e!="string"||e==="")return!1;for(var r;r=/(\\).|([@?!+*]\(.*\))/g.exec(e);){if(r[2])return!0;e=e.slice(r.index+r[0].length)}return!1}});var pn=m((ll,hn)=>{"use strict";u();var oa=ln(),fn={"{":"}","(":")","[":"]"},ua=function(t){if(t[0]==="!")return!0;for(var e=0,r=-2,n=-2,s=-2,i=-2,a=-2;e<t.length;){if(t[e]==="*"||t[e+1]==="?"&&/[\].+)]/.test(t[e])||n!==-1&&t[e]==="["&&t[e+1]!=="]"&&(n<e&&(n=t.indexOf("]",e)),n>e&&(a===-1||a>n||(a=t.indexOf("\\",e),a===-1||a>n)))||s!==-1&&t[e]==="{"&&t[e+1]!=="}"&&(s=t.indexOf("}",e),s>e&&(a=t.indexOf("\\",e),a===-1||a>s))||i!==-1&&t[e]==="("&&t[e+1]==="?"&&/[:!=]/.test(t[e+2])&&t[e+3]!==")"&&(i=t.indexOf(")",e),i>e&&(a=t.indexOf("\\",e),a===-1||a>i))||r!==-1&&t[e]==="("&&t[e+1]!=="|"&&(r<e&&(r=t.indexOf("|",e)),r!==-1&&t[r+1]!==")"&&(i=t.indexOf(")",r),i>r&&(a=t.indexOf("\\",r),a===-1||a>i))))return!0;if(t[e]==="\\"){var o=t[e+1];e+=2;var l=fn[o];if(l){var _=t.indexOf(l,e);_!==-1&&(e=_+1)}if(t[e]==="!")return!0}else e++}return!1},ca=function(t){if(t[0]==="!")return!0;for(var e=0;e<t.length;){if(/[*?{}()[\]]/.test(t[e]))return!0;if(t[e]==="\\"){var r=t[e+1];e+=2;var n=fn[r];if(n){var s=t.indexOf(n,e);s!==-1&&(e=s+1)}if(t[e]==="!")return!0}else e++}return!1};hn.exports=function(e,r){if(typeof e!="string"||e==="")return!1;if(oa(e))return!0;var n=ua;return r&&r.strict===!1&&(n=ca),n(e)}});var _n=m((hl,dn)=>{"use strict";u();var la=pn(),fa=q("path").posix.dirname,ha=q("os").platform()==="win32",At="/",pa=/\\/g,da=/[\{\[].*[\}\]]$/,_a=/(^|[^\\])([\{\[]|\([^\)]+$)/,ga=/\\([\!\*\?\|\[\]\(\)\{\}])/g;dn.exports=function(e,r){var n=Object.assign({flipBackslashes:!0},r);n.flipBackslashes&&ha&&e.indexOf(At)<0&&(e=e.replace(pa,At)),da.test(e)&&(e+=At),e+="a";do e=fa(e);while(la(e)||_a.test(e));return e.replace(ga,"$1")}});var Ge=m(re=>{"use strict";u();re.isInteger=t=>typeof t=="number"?Number.isInteger(t):typeof t=="string"&&t.trim()!==""?Number.isInteger(Number(t)):!1;re.find=(t,e)=>t.nodes.find(r=>r.type===e);re.exceedsLimit=(t,e,r=1,n)=>n===!1||!re.isInteger(t)||!re.isInteger(e)?!1:(Number(e)-Number(t))/Number(r)>=n;re.escapeNode=(t,e=0,r)=>{let n=t.nodes[e];n&&(r&&n.type===r||n.type==="open"||n.type==="close")&&n.escaped!==!0&&(n.value="\\"+n.value,n.escaped=!0)};re.encloseBrace=t=>t.type!=="brace"?!1:t.commas>>0+t.ranges>>0===0?(t.invalid=!0,!0):!1;re.isInvalidBrace=t=>t.type!=="brace"?!1:t.invalid===!0||t.dollar?!0:t.commas>>0+t.ranges>>0===0||t.open!==!0||t.close!==!0?(t.invalid=!0,!0):!1;re.isOpenOrClose=t=>t.type==="open"||t.type==="close"?!0:t.open===!0||t.close===!0;re.reduce=t=>t.reduce((e,r)=>(r.type==="text"&&e.push(r.value),r.type==="range"&&(r.type="text"),e),[]);re.flatten=(...t)=>{let e=[],r=n=>{for(let s=0;s<n.length;s++){let i=n[s];if(Array.isArray(i)){r(i);continue}i!==void 0&&e.push(i)}return e};return r(t),e}});var Ue=m((gl,yn)=>{"use strict";u();var gn=Ge();yn.exports=(t,e={})=>{let r=(n,s={})=>{let i=e.escapeInvalid&&gn.isInvalidBrace(s),a=n.invalid===!0&&e.escapeInvalid===!0,o="";if(n.value)return(i||a)&&gn.isOpenOrClose(n)?"\\"+n.value:n.value;if(n.value)return n.value;if(n.nodes)for(let l of n.nodes)o+=r(l);return o};return r(t)}});var mn=m((Sl,Sn)=>{"use strict";u();Sn.exports=function(t){return typeof t=="number"?t-t===0:typeof t=="string"&&t.trim()!==""?Number.isFinite?Number.isFinite(+t):isFinite(+t):!1}});var Tn=m((El,Cn)=>{"use strict";u();var En=mn(),ve=(t,e,r)=>{if(En(t)===!1)throw new TypeError("toRegexRange: expected the first argument to be a number");if(e===void 0||t===e)return String(t);if(En(e)===!1)throw new TypeError("toRegexRange: expected the second argument to be a number.");let n={relaxZeros:!0,...r};typeof n.strictZeros=="boolean"&&(n.relaxZeros=n.strictZeros===!1);let s=String(n.relaxZeros),i=String(n.shorthand),a=String(n.capture),o=String(n.wrap),l=t+":"+e+"="+s+i+a+o;if(ve.cache.hasOwnProperty(l))return ve.cache[l].result;let _=Math.min(t,e),c=Math.max(t,e);if(Math.abs(_-c)===1){let E=t+"|"+e;return n.capture?`(${E})`:n.wrap===!1?E:`(?:${E})`}let g=xn(t)||xn(e),f={min:t,max:e,a:_,b:c},P=[],y=[];if(g&&(f.isPadded=g,f.maxLen=String(f.max).length),_<0){let E=c<0?Math.abs(c):1;y=An(E,Math.abs(_),f,n),_=f.a=0}return c>=0&&(P=An(_,c,f,n)),f.negatives=y,f.positives=P,f.result=ya(y,P,n),n.capture===!0?f.result=`(${f.result})`:n.wrap!==!1&&P.length+y.length>1&&(f.result=`(?:${f.result})`),ve.cache[l]=f,f.result};function ya(t,e,r){let n=Rt(t,e,"-",!1,r)||[],s=Rt(e,t,"",!1,r)||[],i=Rt(t,e,"-?",!0,r)||[];return n.concat(i).concat(s).join("|")}function Sa(t,e){let r=1,n=1,s=vn(t,r),i=new Set([e]);for(;t<=s&&s<=e;)i.add(s),r+=1,s=vn(t,r);for(s=bn(e+1,n)-1;t<s&&s<=e;)i.add(s),n+=1,s=bn(e+1,n)-1;return i=[...i],i.sort(Aa),i}function ma(t,e,r){if(t===e)return{pattern:t,count:[],digits:0};let n=Ea(t,e),s=n.length,i="",a=0;for(let o=0;o<s;o++){let[l,_]=n[o];l===_?i+=l:l!=="0"||_!=="9"?i+=Ra(l,_,r):a++}return a&&(i+=r.shorthand===!0?"\\d":"[0-9]"),{pattern:i,count:[a],digits:s}}function An(t,e,r,n){let s=Sa(t,e),i=[],a=t,o;for(let l=0;l<s.length;l++){let _=s[l],c=ma(String(a),String(_),n),g="";if(!r.isPadded&&o&&o.pattern===c.pattern){o.count.length>1&&o.count.pop(),o.count.push(c.count[0]),o.string=o.pattern+Pn(o.count),a=_+1;continue}r.isPadded&&(g=va(_,r,n)),c.string=g+c.pattern+Pn(c.count),i.push(c),a=_+1,o=c}return i}function Rt(t,e,r,n,s){let i=[];for(let a of t){let{string:o}=a;!n&&!Rn(e,"string",o)&&i.push(r+o),n&&Rn(e,"string",o)&&i.push(r+o)}return i}function Ea(t,e){let r=[];for(let n=0;n<t.length;n++)r.push([t[n],e[n]]);return r}function Aa(t,e){return t>e?1:e>t?-1:0}function Rn(t,e,r){return t.some(n=>n[e]===r)}function vn(t,e){return Number(String(t).slice(0,-e)+"9".repeat(e))}function bn(t,e){return t-t%Math.pow(10,e)}function Pn(t){let[e=0,r=""]=t;return r||e>1?`{${e+(r?","+r:"")}}`:""}function Ra(t,e,r){return`[${t}${e-t===1?"":"-"}${e}]`}function xn(t){return/^-?(0+)\d/.test(t)}function va(t,e,r){if(!e.isPadded)return t;let n=Math.abs(e.maxLen-String(t).length),s=r.relaxZeros!==!1;switch(n){case 0:return"";case 1:return s?"0?":"0";case 2:return s?"0{0,2}":"00";default:return s?`0{0,${n}}`:`0{${n}}`}}ve.cache={};ve.clearCache=()=>ve.cache={};Cn.exports=ve});var Pt=m((Rl,Dn)=>{"use strict";u();var ba=q("util"),wn=Tn(),On=t=>t!==null&&typeof t=="object"&&!Array.isArray(t),Pa=t=>e=>t===!0?Number(e):String(e),vt=t=>typeof t=="number"||typeof t=="string"&&t!=="",He=t=>Number.isInteger(+t),bt=t=>{let e=`${t}`,r=-1;if(e[0]==="-"&&(e=e.slice(1)),e==="0")return!1;for(;e[++r]==="0";);return r>0},xa=(t,e,r)=>typeof t=="string"||typeof e=="string"?!0:r.stringify===!0,Ca=(t,e,r)=>{if(e>0){let n=t[0]==="-"?"-":"";n&&(t=t.slice(1)),t=n+t.padStart(n?e-1:e,"0")}return r===!1?String(t):t},Ke=(t,e)=>{let r=t[0]==="-"?"-":"";for(r&&(t=t.slice(1),e--);t.length<e;)t="0"+t;return r?"-"+t:t},Ta=(t,e,r)=>{t.negatives.sort((o,l)=>o<l?-1:o>l?1:0),t.positives.sort((o,l)=>o<l?-1:o>l?1:0);let n=e.capture?"":"?:",s="",i="",a;return t.positives.length&&(s=t.positives.map(o=>Ke(String(o),r)).join("|")),t.negatives.length&&(i=`-(${n}${t.negatives.map(o=>Ke(String(o),r)).join("|")})`),s&&i?a=`${s}|${i}`:a=s||i,e.wrap?`(${n}${a})`:a},Ln=(t,e,r,n)=>{if(r)return wn(t,e,{wrap:!1,...n});let s=String.fromCharCode(t);if(t===e)return s;let i=String.fromCharCode(e);return`[${s}-${i}]`},kn=(t,e,r)=>{if(Array.isArray(t)){let n=r.wrap===!0,s=r.capture?"":"?:";return n?`(${s}${t.join("|")})`:t.join("|")}return wn(t,e,r)},Hn=(...t)=>new RangeError("Invalid range arguments: "+ba.inspect(...t)),Mn=(t,e,r)=>{if(r.strictRanges===!0)throw Hn([t,e]);return[]},Oa=(t,e)=>{if(e.strictRanges===!0)throw new TypeError(`Expected step "${t}" to be a number`);return[]},wa=(t,e,r=1,n={})=>{let s=Number(t),i=Number(e);if(!Number.isInteger(s)||!Number.isInteger(i)){if(n.strictRanges===!0)throw Hn([t,e]);return[]}s===0&&(s=0),i===0&&(i=0);let a=s>i,o=String(t),l=String(e),_=String(r);r=Math.max(Math.abs(r),1);let c=bt(o)||bt(l)||bt(_),g=c?Math.max(o.length,l.length,_.length):0,f=c===!1&&xa(t,e,n)===!1,P=n.transform||Pa(f);if(n.toRegex&&r===1)return Ln(Ke(t,g),Ke(e,g),!0,n);let y={negatives:[],positives:[]},E=U=>y[U<0?"negatives":"positives"].push(Math.abs(U)),L=[],k=0;for(;a?s>=i:s<=i;)n.toRegex===!0&&r>1?E(s):L.push(Ca(P(s,k),g,f)),s=a?s-r:s+r,k++;return n.toRegex===!0?r>1?Ta(y,n,g):kn(L,null,{wrap:!1,...n}):L},La=(t,e,r=1,n={})=>{if(!He(t)&&t.length>1||!He(e)&&e.length>1)return Mn(t,e,n);let s=n.transform||(f=>String.fromCharCode(f)),i=`${t}`.charCodeAt(0),a=`${e}`.charCodeAt(0),o=i>a,l=Math.min(i,a),_=Math.max(i,a);if(n.toRegex&&r===1)return Ln(l,_,!1,n);let c=[],g=0;for(;o?i>=a:i<=a;)c.push(s(i,g)),i=o?i-r:i+r,g++;return n.toRegex===!0?kn(c,null,{wrap:!1,options:n}):c},Ve=(t,e,r,n={})=>{if(e==null&&vt(t))return[t];if(!vt(t)||!vt(e))return Mn(t,e,n);if(typeof r=="function")return Ve(t,e,1,{transform:r});if(On(r))return Ve(t,e,0,r);let s={...n};return s.capture===!0&&(s.wrap=!0),r=r||s.step||1,He(r)?He(t)&&He(e)?wa(t,e,r,s):La(t,e,Math.max(Math.abs(r),1),s):r!=null&&!On(r)?Oa(r,s):Ve(t,e,1,r)};Dn.exports=Ve});var In=m((bl,$n)=>{"use strict";u();var ka=Pt(),Nn=Ge(),Ha=(t,e={})=>{let r=(n,s={})=>{let i=Nn.isInvalidBrace(s),a=n.invalid===!0&&e.escapeInvalid===!0,o=i===!0||a===!0,l=e.escapeInvalid===!0?"\\":"",_="";if(n.isOpen===!0)return l+n.value;if(n.isClose===!0)return console.log("node.isClose",l,n.value),l+n.value;if(n.type==="open")return o?l+n.value:"(";if(n.type==="close")return o?l+n.value:")";if(n.type==="comma")return n.prev.type==="comma"?"":o?n.value:"|";if(n.value)return n.value;if(n.nodes&&n.ranges>0){let c=Nn.reduce(n.nodes),g=ka(...c,{...e,wrap:!1,toRegex:!0,strictZeros:!0});if(g.length!==0)return c.length>1&&g.length>1?`(${g})`:g}if(n.nodes)for(let c of n.nodes)_+=r(c,n);return _};return r(t)};$n.exports=Ha});var Fn=m((xl,Bn)=>{"use strict";u();var Ma=Pt(),qn=Ue(),Ce=Ge(),be=(t="",e="",r=!1)=>{let n=[];if(t=[].concat(t),e=[].concat(e),!e.length)return t;if(!t.length)return r?Ce.flatten(e).map(s=>`{${s}}`):e;for(let s of t)if(Array.isArray(s))for(let i of s)n.push(be(i,e,r));else for(let i of e)r===!0&&typeof i=="string"&&(i=`{${i}}`),n.push(Array.isArray(i)?be(s,i,r):s+i);return Ce.flatten(n)},Da=(t,e={})=>{let r=e.rangeLimit===void 0?1e3:e.rangeLimit,n=(s,i={})=>{s.queue=[];let a=i,o=i.queue;for(;a.type!=="brace"&&a.type!=="root"&&a.parent;)a=a.parent,o=a.queue;if(s.invalid||s.dollar){o.push(be(o.pop(),qn(s,e)));return}if(s.type==="brace"&&s.invalid!==!0&&s.nodes.length===2){o.push(be(o.pop(),["{}"]));return}if(s.nodes&&s.ranges>0){let g=Ce.reduce(s.nodes);if(Ce.exceedsLimit(...g,e.step,r))throw new RangeError("expanded array length exceeds range limit. Use options.rangeLimit to increase or disable the limit.");let f=Ma(...g,e);f.length===0&&(f=qn(s,e)),o.push(be(o.pop(),f)),s.nodes=[];return}let l=Ce.encloseBrace(s),_=s.queue,c=s;for(;c.type!=="brace"&&c.type!=="root"&&c.parent;)c=c.parent,_=c.queue;for(let g=0;g<s.nodes.length;g++){let f=s.nodes[g];if(f.type==="comma"&&s.type==="brace"){g===1&&_.push(""),_.push("");continue}if(f.type==="close"){o.push(be(o.pop(),_,l));continue}if(f.value&&f.type!=="open"){_.push(be(_.pop(),f.value));continue}f.nodes&&n(f,s)}return _};return Ce.flatten(n(t))};Bn.exports=Da});var Wn=m((Tl,jn)=>{"use strict";u();jn.exports={MAX_LENGTH:1e4,CHAR_0:"0",CHAR_9:"9",CHAR_UPPERCASE_A:"A",CHAR_LOWERCASE_A:"a",CHAR_UPPERCASE_Z:"Z",CHAR_LOWERCASE_Z:"z",CHAR_LEFT_PARENTHESES:"(",CHAR_RIGHT_PARENTHESES:")",CHAR_ASTERISK:"*",CHAR_AMPERSAND:"&",CHAR_AT:"@",CHAR_BACKSLASH:"\\",CHAR_BACKTICK:"`",CHAR_CARRIAGE_RETURN:"\r",CHAR_CIRCUMFLEX_ACCENT:"^",CHAR_COLON:":",CHAR_COMMA:",",CHAR_DOLLAR:"$",CHAR_DOT:".",CHAR_DOUBLE_QUOTE:'"',CHAR_EQUAL:"=",CHAR_EXCLAMATION_MARK:"!",CHAR_FORM_FEED:"\f",CHAR_FORWARD_SLASH:"/",CHAR_HASH:"#",CHAR_HYPHEN_MINUS:"-",CHAR_LEFT_ANGLE_BRACKET:"<",CHAR_LEFT_CURLY_BRACE:"{",CHAR_LEFT_SQUARE_BRACKET:"[",CHAR_LINE_FEED:`
3
- `,CHAR_NO_BREAK_SPACE:"\xA0",CHAR_PERCENT:"%",CHAR_PLUS:"+",CHAR_QUESTION_MARK:"?",CHAR_RIGHT_ANGLE_BRACKET:">",CHAR_RIGHT_CURLY_BRACE:"}",CHAR_RIGHT_SQUARE_BRACKET:"]",CHAR_SEMICOLON:";",CHAR_SINGLE_QUOTE:"'",CHAR_SPACE:" ",CHAR_TAB:" ",CHAR_UNDERSCORE:"_",CHAR_VERTICAL_LINE:"|",CHAR_ZERO_WIDTH_NOBREAK_SPACE:"\uFEFF"}});var Qn=m((wl,Kn)=>{"use strict";u();var Na=Ue(),{MAX_LENGTH:Gn,CHAR_BACKSLASH:xt,CHAR_BACKTICK:$a,CHAR_COMMA:Ia,CHAR_DOT:qa,CHAR_LEFT_PARENTHESES:Ba,CHAR_RIGHT_PARENTHESES:Fa,CHAR_LEFT_CURLY_BRACE:ja,CHAR_RIGHT_CURLY_BRACE:Wa,CHAR_LEFT_SQUARE_BRACKET:Un,CHAR_RIGHT_SQUARE_BRACKET:Vn,CHAR_DOUBLE_QUOTE:Ga,CHAR_SINGLE_QUOTE:Ua,CHAR_NO_BREAK_SPACE:Va,CHAR_ZERO_WIDTH_NOBREAK_SPACE:Ka}=Wn(),Qa=(t,e={})=>{if(typeof t!="string")throw new TypeError("Expected a string");let r=e||{},n=typeof r.maxLength=="number"?Math.min(Gn,r.maxLength):Gn;if(t.length>n)throw new SyntaxError(`Input length (${t.length}), exceeds max characters (${n})`);let s={type:"root",input:t,nodes:[]},i=[s],a=s,o=s,l=0,_=t.length,c=0,g=0,f,P=()=>t[c++],y=E=>{if(E.type==="text"&&o.type==="dot"&&(o.type="text"),o&&o.type==="text"&&E.type==="text"){o.value+=E.value;return}return a.nodes.push(E),E.parent=a,E.prev=o,o=E,E};for(y({type:"bos"});c<_;)if(a=i[i.length-1],f=P(),!(f===Ka||f===Va)){if(f===xt){y({type:"text",value:(e.keepEscaping?f:"")+P()});continue}if(f===Vn){y({type:"text",value:"\\"+f});continue}if(f===Un){l++;let E;for(;c<_&&(E=P());){if(f+=E,E===Un){l++;continue}if(E===xt){f+=P();continue}if(E===Vn&&(l--,l===0))break}y({type:"text",value:f});continue}if(f===Ba){a=y({type:"paren",nodes:[]}),i.push(a),y({type:"text",value:f});continue}if(f===Fa){if(a.type!=="paren"){y({type:"text",value:f});continue}a=i.pop(),y({type:"text",value:f}),a=i[i.length-1];continue}if(f===Ga||f===Ua||f===$a){let E=f,L;for(e.keepQuotes!==!0&&(f="");c<_&&(L=P());){if(L===xt){f+=L+P();continue}if(L===E){e.keepQuotes===!0&&(f+=L);break}f+=L}y({type:"text",value:f});continue}if(f===ja){g++;let L={type:"brace",open:!0,close:!1,dollar:o.value&&o.value.slice(-1)==="$"||a.dollar===!0,depth:g,commas:0,ranges:0,nodes:[]};a=y(L),i.push(a),y({type:"open",value:f});continue}if(f===Wa){if(a.type!=="brace"){y({type:"text",value:f});continue}let E="close";a=i.pop(),a.close=!0,y({type:E,value:f}),g--,a=i[i.length-1];continue}if(f===Ia&&g>0){if(a.ranges>0){a.ranges=0;let E=a.nodes.shift();a.nodes=[E,{type:"text",value:Na(a)}]}y({type:"comma",value:f}),a.commas++;continue}if(f===qa&&g>0&&a.commas===0){let E=a.nodes;if(g===0||E.length===0){y({type:"text",value:f});continue}if(o.type==="dot"){if(a.range=[],o.value+=f,o.type="range",a.nodes.length!==3&&a.nodes.length!==5){a.invalid=!0,a.ranges=0,o.type="text";continue}a.ranges++,a.args=[];continue}if(o.type==="range"){E.pop();let L=E[E.length-1];L.value+=o.value+f,o=L,a.ranges--;continue}y({type:"dot",value:f});continue}y({type:"text",value:f})}do if(a=i.pop(),a.type!=="root"){a.nodes.forEach(k=>{k.nodes||(k.type==="open"&&(k.isOpen=!0),k.type==="close"&&(k.isClose=!0),k.nodes||(k.type="text"),k.invalid=!0)});let E=i[i.length-1],L=E.nodes.indexOf(a);E.nodes.splice(L,1,...a.nodes)}while(i.length>0);return y({type:"eos"}),s};Kn.exports=Qa});var Zn=m((kl,Xn)=>{"use strict";u();var Yn=Ue(),Ya=In(),Xa=Fn(),Za=Qn(),J=(t,e={})=>{let r=[];if(Array.isArray(t))for(let n of t){let s=J.create(n,e);Array.isArray(s)?r.push(...s):r.push(s)}else r=[].concat(J.create(t,e));return e&&e.expand===!0&&e.nodupes===!0&&(r=[...new Set(r)]),r};J.parse=(t,e={})=>Za(t,e);J.stringify=(t,e={})=>Yn(typeof t=="string"?J.parse(t,e):t,e);J.compile=(t,e={})=>(typeof t=="string"&&(t=J.parse(t,e)),Ya(t,e));J.expand=(t,e={})=>{typeof t=="string"&&(t=J.parse(t,e));let r=Xa(t,e);return e.noempty===!0&&(r=r.filter(Boolean)),e.nodupes===!0&&(r=[...new Set(r)]),r};J.create=(t,e={})=>t===""||t.length<3?[t]:e.expand!==!0?J.compile(t,e):J.expand(t,e);Xn.exports=J});var Me=m((Ml,rs)=>{"use strict";u();var za=q("path"),ue="\\\\/",zn=`[^${ue}]`,he="\\.",Ja="\\+",eo="\\?",Qe="\\/",to="(?=.)",Jn="[^/]",Ct=`(?:${Qe}|$)`,es=`(?:^|${Qe})`,Tt=`${he}{1,2}${Ct}`,ro=`(?!${he})`,no=`(?!${es}${Tt})`,so=`(?!${he}{0,1}${Ct})`,io=`(?!${Tt})`,ao=`[^.${Qe}]`,oo=`${Jn}*?`,ts={DOT_LITERAL:he,PLUS_LITERAL:Ja,QMARK_LITERAL:eo,SLASH_LITERAL:Qe,ONE_CHAR:to,QMARK:Jn,END_ANCHOR:Ct,DOTS_SLASH:Tt,NO_DOT:ro,NO_DOTS:no,NO_DOT_SLASH:so,NO_DOTS_SLASH:io,QMARK_NO_DOT:ao,STAR:oo,START_ANCHOR:es},uo={...ts,SLASH_LITERAL:`[${ue}]`,QMARK:zn,STAR:`${zn}*?`,DOTS_SLASH:`${he}{1,2}(?:[${ue}]|$)`,NO_DOT:`(?!${he})`,NO_DOTS:`(?!(?:^|[${ue}])${he}{1,2}(?:[${ue}]|$))`,NO_DOT_SLASH:`(?!${he}{0,1}(?:[${ue}]|$))`,NO_DOTS_SLASH:`(?!${he}{1,2}(?:[${ue}]|$))`,QMARK_NO_DOT:`[^.${ue}]`,START_ANCHOR:`(?:^|[${ue}])`,END_ANCHOR:`(?:[${ue}]|$)`},co={alnum:"a-zA-Z0-9",alpha:"a-zA-Z",ascii:"\\x00-\\x7F",blank:" \\t",cntrl:"\\x00-\\x1F\\x7F",digit:"0-9",graph:"\\x21-\\x7E",lower:"a-z",print:"\\x20-\\x7E ",punct:"\\-!\"#$%&'()\\*+,./:;<=>?@[\\]^_`{|}~",space:" \\t\\r\\n\\v\\f",upper:"A-Z",word:"A-Za-z0-9_",xdigit:"A-Fa-f0-9"};rs.exports={MAX_LENGTH:1024*64,POSIX_REGEX_SOURCE:co,REGEX_BACKSLASH:/\\(?![*+?^${}(|)[\]])/g,REGEX_NON_SPECIAL_CHARS:/^[^@![\].,$*+?^{}()|\\/]+/,REGEX_SPECIAL_CHARS:/[-*+?.^${}(|)[\]]/,REGEX_SPECIAL_CHARS_BACKREF:/(\\?)((\W)(\3*))/g,REGEX_SPECIAL_CHARS_GLOBAL:/([-*+?.^${}(|)[\]])/g,REGEX_REMOVE_BACKSLASH:/(?:\[.*?[^\\]\]|\\(?=.))/g,REPLACEMENTS:{"***":"*","**/**":"**","**/**/**":"**"},CHAR_0:48,CHAR_9:57,CHAR_UPPERCASE_A:65,CHAR_LOWERCASE_A:97,CHAR_UPPERCASE_Z:90,CHAR_LOWERCASE_Z:122,CHAR_LEFT_PARENTHESES:40,CHAR_RIGHT_PARENTHESES:41,CHAR_ASTERISK:42,CHAR_AMPERSAND:38,CHAR_AT:64,CHAR_BACKWARD_SLASH:92,CHAR_CARRIAGE_RETURN:13,CHAR_CIRCUMFLEX_ACCENT:94,CHAR_COLON:58,CHAR_COMMA:44,CHAR_DOT:46,CHAR_DOUBLE_QUOTE:34,CHAR_EQUAL:61,CHAR_EXCLAMATION_MARK:33,CHAR_FORM_FEED:12,CHAR_FORWARD_SLASH:47,CHAR_GRAVE_ACCENT:96,CHAR_HASH:35,CHAR_HYPHEN_MINUS:45,CHAR_LEFT_ANGLE_BRACKET:60,CHAR_LEFT_CURLY_BRACE:123,CHAR_LEFT_SQUARE_BRACKET:91,CHAR_LINE_FEED:10,CHAR_NO_BREAK_SPACE:160,CHAR_PERCENT:37,CHAR_PLUS:43,CHAR_QUESTION_MARK:63,CHAR_RIGHT_ANGLE_BRACKET:62,CHAR_RIGHT_CURLY_BRACE:125,CHAR_RIGHT_SQUARE_BRACKET:93,CHAR_SEMICOLON:59,CHAR_SINGLE_QUOTE:39,CHAR_SPACE:32,CHAR_TAB:9,CHAR_UNDERSCORE:95,CHAR_VERTICAL_LINE:124,CHAR_ZERO_WIDTH_NOBREAK_SPACE:65279,SEP:za.sep,extglobChars(t){return{"!":{type:"negate",open:"(?:(?!(?:",close:`))${t.STAR})`},"?":{type:"qmark",open:"(?:",close:")?"},"+":{type:"plus",open:"(?:",close:")+"},"*":{type:"star",open:"(?:",close:")*"},"@":{type:"at",open:"(?:",close:")"}}},globChars(t){return t===!0?uo:ts}}});var De=m(X=>{"use strict";u();var lo=q("path"),fo=process.platform==="win32",{REGEX_BACKSLASH:ho,REGEX_REMOVE_BACKSLASH:po,REGEX_SPECIAL_CHARS:_o,REGEX_SPECIAL_CHARS_GLOBAL:go}=Me();X.isObject=t=>t!==null&&typeof t=="object"&&!Array.isArray(t);X.hasRegexChars=t=>_o.test(t);X.isRegexChar=t=>t.length===1&&X.hasRegexChars(t);X.escapeRegex=t=>t.replace(go,"\\$1");X.toPosixSlashes=t=>t.replace(ho,"/");X.removeBackslashes=t=>t.replace(po,e=>e==="\\"?"":e);X.supportsLookbehinds=()=>{let t=process.version.slice(1).split(".").map(Number);return t.length===3&&t[0]>=9||t[0]===8&&t[1]>=10};X.isWindows=t=>t&&typeof t.windows=="boolean"?t.windows:fo===!0||lo.sep==="\\";X.escapeLast=(t,e,r)=>{let n=t.lastIndexOf(e,r);return n===-1?t:t[n-1]==="\\"?X.escapeLast(t,e,n-1):`${t.slice(0,n)}\\${t.slice(n)}`};X.removePrefix=(t,e={})=>{let r=t;return r.startsWith("./")&&(r=r.slice(2),e.prefix="./"),r};X.wrapOutput=(t,e={},r={})=>{let n=r.contains?"":"^",s=r.contains?"":"$",i=`${n}(?:${t})${s}`;return e.negated===!0&&(i=`(?:^(?!${i}).*$)`),i}});var ls=m((Il,cs)=>{"use strict";u();var ns=De(),{CHAR_ASTERISK:Ot,CHAR_AT:yo,CHAR_BACKWARD_SLASH:Ne,CHAR_COMMA:So,CHAR_DOT:wt,CHAR_EXCLAMATION_MARK:Lt,CHAR_FORWARD_SLASH:us,CHAR_LEFT_CURLY_BRACE:kt,CHAR_LEFT_PARENTHESES:Ht,CHAR_LEFT_SQUARE_BRACKET:mo,CHAR_PLUS:Eo,CHAR_QUESTION_MARK:ss,CHAR_RIGHT_CURLY_BRACE:Ao,CHAR_RIGHT_PARENTHESES:is,CHAR_RIGHT_SQUARE_BRACKET:Ro}=Me(),as=t=>t===us||t===Ne,os=t=>{t.isPrefix!==!0&&(t.depth=t.isGlobstar?1/0:1)},vo=(t,e)=>{let r=e||{},n=t.length-1,s=r.parts===!0||r.scanToEnd===!0,i=[],a=[],o=[],l=t,_=-1,c=0,g=0,f=!1,P=!1,y=!1,E=!1,L=!1,k=!1,U=!1,N=!1,te=!1,G=!1,b=0,T,A,O={value:"",depth:0,isGlob:!1},j=()=>_>=n,d=()=>l.charCodeAt(_+1),$=()=>(T=A,l.charCodeAt(++_));for(;_<n;){A=$();let Q;if(A===Ne){U=O.backslashes=!0,A=$(),A===kt&&(k=!0);continue}if(k===!0||A===kt){for(b++;j()!==!0&&(A=$());){if(A===Ne){U=O.backslashes=!0,$();continue}if(A===kt){b++;continue}if(k!==!0&&A===wt&&(A=$())===wt){if(f=O.isBrace=!0,y=O.isGlob=!0,G=!0,s===!0)continue;break}if(k!==!0&&A===So){if(f=O.isBrace=!0,y=O.isGlob=!0,G=!0,s===!0)continue;break}if(A===Ao&&(b--,b===0)){k=!1,f=O.isBrace=!0,G=!0;break}}if(s===!0)continue;break}if(A===us){if(i.push(_),a.push(O),O={value:"",depth:0,isGlob:!1},G===!0)continue;if(T===wt&&_===c+1){c+=2;continue}g=_+1;continue}if(r.noext!==!0&&(A===Eo||A===yo||A===Ot||A===ss||A===Lt)===!0&&d()===Ht){if(y=O.isGlob=!0,E=O.isExtglob=!0,G=!0,A===Lt&&_===c&&(te=!0),s===!0){for(;j()!==!0&&(A=$());){if(A===Ne){U=O.backslashes=!0,A=$();continue}if(A===is){y=O.isGlob=!0,G=!0;break}}continue}break}if(A===Ot){if(T===Ot&&(L=O.isGlobstar=!0),y=O.isGlob=!0,G=!0,s===!0)continue;break}if(A===ss){if(y=O.isGlob=!0,G=!0,s===!0)continue;break}if(A===mo){for(;j()!==!0&&(Q=$());){if(Q===Ne){U=O.backslashes=!0,$();continue}if(Q===Ro){P=O.isBracket=!0,y=O.isGlob=!0,G=!0;break}}if(s===!0)continue;break}if(r.nonegate!==!0&&A===Lt&&_===c){N=O.negated=!0,c++;continue}if(r.noparen!==!0&&A===Ht){if(y=O.isGlob=!0,s===!0){for(;j()!==!0&&(A=$());){if(A===Ht){U=O.backslashes=!0,A=$();continue}if(A===is){G=!0;break}}continue}break}if(y===!0){if(G=!0,s===!0)continue;break}}r.noext===!0&&(E=!1,y=!1);let H=l,de="",h="";c>0&&(de=l.slice(0,c),l=l.slice(c),g-=c),H&&y===!0&&g>0?(H=l.slice(0,g),h=l.slice(g)):y===!0?(H="",h=l):H=l,H&&H!==""&&H!=="/"&&H!==l&&as(H.charCodeAt(H.length-1))&&(H=H.slice(0,-1)),r.unescape===!0&&(h&&(h=ns.removeBackslashes(h)),H&&U===!0&&(H=ns.removeBackslashes(H)));let p={prefix:de,input:t,start:c,base:H,glob:h,isBrace:f,isBracket:P,isGlob:y,isExtglob:E,isGlobstar:L,negated:N,negatedExtglob:te};if(r.tokens===!0&&(p.maxDepth=0,as(A)||a.push(O),p.tokens=a),r.parts===!0||r.tokens===!0){let Q;for(let w=0;w<i.length;w++){let ae=Q?Q+1:c,oe=i[w],z=t.slice(ae,oe);r.tokens&&(w===0&&c!==0?(a[w].isPrefix=!0,a[w].value=de):a[w].value=z,os(a[w]),p.maxDepth+=a[w].depth),(w!==0||z!=="")&&o.push(z),Q=oe}if(Q&&Q+1<t.length){let w=t.slice(Q+1);o.push(w),r.tokens&&(a[a.length-1].value=w,os(a[a.length-1]),p.maxDepth+=a[a.length-1].depth)}p.slashes=i,p.parts=o}return p};cs.exports=vo});var ps=m((Bl,hs)=>{"use strict";u();var Ye=Me(),ee=De(),{MAX_LENGTH:Xe,POSIX_REGEX_SOURCE:bo,REGEX_NON_SPECIAL_CHARS:Po,REGEX_SPECIAL_CHARS_BACKREF:xo,REPLACEMENTS:fs}=Ye,Co=(t,e)=>{if(typeof e.expandRange=="function")return e.expandRange(...t,e);t.sort();let r=`[${t.join("-")}]`;try{new RegExp(r)}catch{return t.map(s=>ee.escapeRegex(s)).join("..")}return r},Te=(t,e)=>`Missing ${t}: "${e}" - use "\\\\${e}" to match literal characters`,Mt=(t,e)=>{if(typeof t!="string")throw new TypeError("Expected a string");t=fs[t]||t;let r={...e},n=typeof r.maxLength=="number"?Math.min(Xe,r.maxLength):Xe,s=t.length;if(s>n)throw new SyntaxError(`Input length: ${s}, exceeds maximum allowed length: ${n}`);let i={type:"bos",value:"",output:r.prepend||""},a=[i],o=r.capture?"":"?:",l=ee.isWindows(e),_=Ye.globChars(l),c=Ye.extglobChars(_),{DOT_LITERAL:g,PLUS_LITERAL:f,SLASH_LITERAL:P,ONE_CHAR:y,DOTS_SLASH:E,NO_DOT:L,NO_DOT_SLASH:k,NO_DOTS_SLASH:U,QMARK:N,QMARK_NO_DOT:te,STAR:G,START_ANCHOR:b}=_,T=R=>`(${o}(?:(?!${b}${R.dot?E:g}).)*?)`,A=r.dot?"":L,O=r.dot?N:te,j=r.bash===!0?T(r):G;r.capture&&(j=`(${j})`),typeof r.noext=="boolean"&&(r.noextglob=r.noext);let d={input:t,index:-1,start:0,dot:r.dot===!0,consumed:"",output:"",prefix:"",backtrack:!1,negated:!1,brackets:0,braces:0,parens:0,quotes:0,globstar:!1,tokens:a};t=ee.removePrefix(t,d),s=t.length;let $=[],H=[],de=[],h=i,p,Q=()=>d.index===s-1,w=d.peek=(R=1)=>t[d.index+R],ae=d.advance=()=>t[++d.index]||"",oe=()=>t.slice(d.index+1),z=(R="",M=0)=>{d.consumed+=R,d.index+=M},Ie=R=>{d.output+=R.output!=null?R.output:R.value,z(R.value)},Ui=()=>{let R=1;for(;w()==="!"&&(w(2)!=="("||w(3)==="?");)ae(),d.start++,R++;return R%2===0?!1:(d.negated=!0,d.start++,!0)},qe=R=>{d[R]++,de.push(R)},Re=R=>{d[R]--,de.pop()},C=R=>{if(h.type==="globstar"){let M=d.braces>0&&(R.type==="comma"||R.type==="brace"),S=R.extglob===!0||$.length&&(R.type==="pipe"||R.type==="paren");R.type!=="slash"&&R.type!=="paren"&&!M&&!S&&(d.output=d.output.slice(0,-h.output.length),h.type="star",h.value="*",h.output=j,d.output+=h.output)}if($.length&&R.type!=="paren"&&($[$.length-1].inner+=R.value),(R.value||R.output)&&Ie(R),h&&h.type==="text"&&R.type==="text"){h.value+=R.value,h.output=(h.output||"")+R.value;return}R.prev=h,a.push(R),h=R},Be=(R,M)=>{let S={...c[M],conditions:1,inner:""};S.prev=h,S.parens=d.parens,S.output=d.output;let x=(r.capture?"(":"")+S.open;qe("parens"),C({type:R,value:M,output:d.output?"":y}),C({type:"paren",extglob:!0,value:ae(),output:x}),$.push(S)},Vi=R=>{let M=R.close+(r.capture?")":""),S;if(R.type==="negate"){let x=j;if(R.inner&&R.inner.length>1&&R.inner.includes("/")&&(x=T(r)),(x!==j||Q()||/^\)+$/.test(oe()))&&(M=R.close=`)$))${x}`),R.inner.includes("*")&&(S=oe())&&/^\.[^\\/.]+$/.test(S)){let I=Mt(S,{...e,fastpaths:!1}).output;M=R.close=`)${I})${x})`}R.prev.type==="bos"&&(d.negatedExtglob=!0)}C({type:"paren",extglob:!0,value:p,output:M}),Re("parens")};if(r.fastpaths!==!1&&!/(^[*!]|[/()[\]{}"])/.test(t)){let R=!1,M=t.replace(xo,(S,x,I,Y,W,yt)=>Y==="\\"?(R=!0,S):Y==="?"?x?x+Y+(W?N.repeat(W.length):""):yt===0?O+(W?N.repeat(W.length):""):N.repeat(I.length):Y==="."?g.repeat(I.length):Y==="*"?x?x+Y+(W?j:""):j:x?S:`\\${S}`);return R===!0&&(r.unescape===!0?M=M.replace(/\\/g,""):M=M.replace(/\\+/g,S=>S.length%2===0?"\\\\":S?"\\":"")),M===t&&r.contains===!0?(d.output=t,d):(d.output=ee.wrapOutput(M,d,e),d)}for(;!Q();){if(p=ae(),p==="\0")continue;if(p==="\\"){let S=w();if(S==="/"&&r.bash!==!0||S==="."||S===";")continue;if(!S){p+="\\",C({type:"text",value:p});continue}let x=/^\\+/.exec(oe()),I=0;if(x&&x[0].length>2&&(I=x[0].length,d.index+=I,I%2!==0&&(p+="\\")),r.unescape===!0?p=ae():p+=ae(),d.brackets===0){C({type:"text",value:p});continue}}if(d.brackets>0&&(p!=="]"||h.value==="["||h.value==="[^")){if(r.posix!==!1&&p===":"){let S=h.value.slice(1);if(S.includes("[")&&(h.posix=!0,S.includes(":"))){let x=h.value.lastIndexOf("["),I=h.value.slice(0,x),Y=h.value.slice(x+2),W=bo[Y];if(W){h.value=I+W,d.backtrack=!0,ae(),!i.output&&a.indexOf(h)===1&&(i.output=y);continue}}}(p==="["&&w()!==":"||p==="-"&&w()==="]")&&(p=`\\${p}`),p==="]"&&(h.value==="["||h.value==="[^")&&(p=`\\${p}`),r.posix===!0&&p==="!"&&h.value==="["&&(p="^"),h.value+=p,Ie({value:p});continue}if(d.quotes===1&&p!=='"'){p=ee.escapeRegex(p),h.value+=p,Ie({value:p});continue}if(p==='"'){d.quotes=d.quotes===1?0:1,r.keepQuotes===!0&&C({type:"text",value:p});continue}if(p==="("){qe("parens"),C({type:"paren",value:p});continue}if(p===")"){if(d.parens===0&&r.strictBrackets===!0)throw new SyntaxError(Te("opening","("));let S=$[$.length-1];if(S&&d.parens===S.parens+1){Vi($.pop());continue}C({type:"paren",value:p,output:d.parens?")":"\\)"}),Re("parens");continue}if(p==="["){if(r.nobracket===!0||!oe().includes("]")){if(r.nobracket!==!0&&r.strictBrackets===!0)throw new SyntaxError(Te("closing","]"));p=`\\${p}`}else qe("brackets");C({type:"bracket",value:p});continue}if(p==="]"){if(r.nobracket===!0||h&&h.type==="bracket"&&h.value.length===1){C({type:"text",value:p,output:`\\${p}`});continue}if(d.brackets===0){if(r.strictBrackets===!0)throw new SyntaxError(Te("opening","["));C({type:"text",value:p,output:`\\${p}`});continue}Re("brackets");let S=h.value.slice(1);if(h.posix!==!0&&S[0]==="^"&&!S.includes("/")&&(p=`/${p}`),h.value+=p,Ie({value:p}),r.literalBrackets===!1||ee.hasRegexChars(S))continue;let x=ee.escapeRegex(h.value);if(d.output=d.output.slice(0,-h.value.length),r.literalBrackets===!0){d.output+=x,h.value=x;continue}h.value=`(${o}${x}|${h.value})`,d.output+=h.value;continue}if(p==="{"&&r.nobrace!==!0){qe("braces");let S={type:"brace",value:p,output:"(",outputIndex:d.output.length,tokensIndex:d.tokens.length};H.push(S),C(S);continue}if(p==="}"){let S=H[H.length-1];if(r.nobrace===!0||!S){C({type:"text",value:p,output:p});continue}let x=")";if(S.dots===!0){let I=a.slice(),Y=[];for(let W=I.length-1;W>=0&&(a.pop(),I[W].type!=="brace");W--)I[W].type!=="dots"&&Y.unshift(I[W].value);x=Co(Y,r),d.backtrack=!0}if(S.comma!==!0&&S.dots!==!0){let I=d.output.slice(0,S.outputIndex),Y=d.tokens.slice(S.tokensIndex);S.value=S.output="\\{",p=x="\\}",d.output=I;for(let W of Y)d.output+=W.output||W.value}C({type:"brace",value:p,output:x}),Re("braces"),H.pop();continue}if(p==="|"){$.length>0&&$[$.length-1].conditions++,C({type:"text",value:p});continue}if(p===","){let S=p,x=H[H.length-1];x&&de[de.length-1]==="braces"&&(x.comma=!0,S="|"),C({type:"comma",value:p,output:S});continue}if(p==="/"){if(h.type==="dot"&&d.index===d.start+1){d.start=d.index+1,d.consumed="",d.output="",a.pop(),h=i;continue}C({type:"slash",value:p,output:P});continue}if(p==="."){if(d.braces>0&&h.type==="dot"){h.value==="."&&(h.output=g);let S=H[H.length-1];h.type="dots",h.output+=p,h.value+=p,S.dots=!0;continue}if(d.braces+d.parens===0&&h.type!=="bos"&&h.type!=="slash"){C({type:"text",value:p,output:g});continue}C({type:"dot",value:p,output:g});continue}if(p==="?"){if(!(h&&h.value==="(")&&r.noextglob!==!0&&w()==="("&&w(2)!=="?"){Be("qmark",p);continue}if(h&&h.type==="paren"){let x=w(),I=p;if(x==="<"&&!ee.supportsLookbehinds())throw new Error("Node.js v10 or higher is required for regex lookbehinds");(h.value==="("&&!/[!=<:]/.test(x)||x==="<"&&!/<([!=]|\w+>)/.test(oe()))&&(I=`\\${p}`),C({type:"text",value:p,output:I});continue}if(r.dot!==!0&&(h.type==="slash"||h.type==="bos")){C({type:"qmark",value:p,output:te});continue}C({type:"qmark",value:p,output:N});continue}if(p==="!"){if(r.noextglob!==!0&&w()==="("&&(w(2)!=="?"||!/[!=<:]/.test(w(3)))){Be("negate",p);continue}if(r.nonegate!==!0&&d.index===0){Ui();continue}}if(p==="+"){if(r.noextglob!==!0&&w()==="("&&w(2)!=="?"){Be("plus",p);continue}if(h&&h.value==="("||r.regex===!1){C({type:"plus",value:p,output:f});continue}if(h&&(h.type==="bracket"||h.type==="paren"||h.type==="brace")||d.parens>0){C({type:"plus",value:p});continue}C({type:"plus",value:f});continue}if(p==="@"){if(r.noextglob!==!0&&w()==="("&&w(2)!=="?"){C({type:"at",extglob:!0,value:p,output:""});continue}C({type:"text",value:p});continue}if(p!=="*"){(p==="$"||p==="^")&&(p=`\\${p}`);let S=Po.exec(oe());S&&(p+=S[0],d.index+=S[0].length),C({type:"text",value:p});continue}if(h&&(h.type==="globstar"||h.star===!0)){h.type="star",h.star=!0,h.value+=p,h.output=j,d.backtrack=!0,d.globstar=!0,z(p);continue}let R=oe();if(r.noextglob!==!0&&/^\([^?]/.test(R)){Be("star",p);continue}if(h.type==="star"){if(r.noglobstar===!0){z(p);continue}let S=h.prev,x=S.prev,I=S.type==="slash"||S.type==="bos",Y=x&&(x.type==="star"||x.type==="globstar");if(r.bash===!0&&(!I||R[0]&&R[0]!=="/")){C({type:"star",value:p,output:""});continue}let W=d.braces>0&&(S.type==="comma"||S.type==="brace"),yt=$.length&&(S.type==="pipe"||S.type==="paren");if(!I&&S.type!=="paren"&&!W&&!yt){C({type:"star",value:p,output:""});continue}for(;R.slice(0,3)==="/**";){let Fe=t[d.index+4];if(Fe&&Fe!=="/")break;R=R.slice(3),z("/**",3)}if(S.type==="bos"&&Q()){h.type="globstar",h.value+=p,h.output=T(r),d.output=h.output,d.globstar=!0,z(p);continue}if(S.type==="slash"&&S.prev.type!=="bos"&&!Y&&Q()){d.output=d.output.slice(0,-(S.output+h.output).length),S.output=`(?:${S.output}`,h.type="globstar",h.output=T(r)+(r.strictSlashes?")":"|$)"),h.value+=p,d.globstar=!0,d.output+=S.output+h.output,z(p);continue}if(S.type==="slash"&&S.prev.type!=="bos"&&R[0]==="/"){let Fe=R[1]!==void 0?"|$":"";d.output=d.output.slice(0,-(S.output+h.output).length),S.output=`(?:${S.output}`,h.type="globstar",h.output=`${T(r)}${P}|${P}${Fe})`,h.value+=p,d.output+=S.output+h.output,d.globstar=!0,z(p+ae()),C({type:"slash",value:"/",output:""});continue}if(S.type==="bos"&&R[0]==="/"){h.type="globstar",h.value+=p,h.output=`(?:^|${P}|${T(r)}${P})`,d.output=h.output,d.globstar=!0,z(p+ae()),C({type:"slash",value:"/",output:""});continue}d.output=d.output.slice(0,-h.output.length),h.type="globstar",h.output=T(r),h.value+=p,d.output+=h.output,d.globstar=!0,z(p);continue}let M={type:"star",value:p,output:j};if(r.bash===!0){M.output=".*?",(h.type==="bos"||h.type==="slash")&&(M.output=A+M.output),C(M);continue}if(h&&(h.type==="bracket"||h.type==="paren")&&r.regex===!0){M.output=p,C(M);continue}(d.index===d.start||h.type==="slash"||h.type==="dot")&&(h.type==="dot"?(d.output+=k,h.output+=k):r.dot===!0?(d.output+=U,h.output+=U):(d.output+=A,h.output+=A),w()!=="*"&&(d.output+=y,h.output+=y)),C(M)}for(;d.brackets>0;){if(r.strictBrackets===!0)throw new SyntaxError(Te("closing","]"));d.output=ee.escapeLast(d.output,"["),Re("brackets")}for(;d.parens>0;){if(r.strictBrackets===!0)throw new SyntaxError(Te("closing",")"));d.output=ee.escapeLast(d.output,"("),Re("parens")}for(;d.braces>0;){if(r.strictBrackets===!0)throw new SyntaxError(Te("closing","}"));d.output=ee.escapeLast(d.output,"{"),Re("braces")}if(r.strictSlashes!==!0&&(h.type==="star"||h.type==="bracket")&&C({type:"maybe_slash",value:"",output:`${P}?`}),d.backtrack===!0){d.output="";for(let R of d.tokens)d.output+=R.output!=null?R.output:R.value,R.suffix&&(d.output+=R.suffix)}return d};Mt.fastpaths=(t,e)=>{let r={...e},n=typeof r.maxLength=="number"?Math.min(Xe,r.maxLength):Xe,s=t.length;if(s>n)throw new SyntaxError(`Input length: ${s}, exceeds maximum allowed length: ${n}`);t=fs[t]||t;let i=ee.isWindows(e),{DOT_LITERAL:a,SLASH_LITERAL:o,ONE_CHAR:l,DOTS_SLASH:_,NO_DOT:c,NO_DOTS:g,NO_DOTS_SLASH:f,STAR:P,START_ANCHOR:y}=Ye.globChars(i),E=r.dot?g:c,L=r.dot?f:c,k=r.capture?"":"?:",U={negated:!1,prefix:""},N=r.bash===!0?".*?":P;r.capture&&(N=`(${N})`);let te=A=>A.noglobstar===!0?N:`(${k}(?:(?!${y}${A.dot?_:a}).)*?)`,G=A=>{switch(A){case"*":return`${E}${l}${N}`;case".*":return`${a}${l}${N}`;case"*.*":return`${E}${N}${a}${l}${N}`;case"*/*":return`${E}${N}${o}${l}${L}${N}`;case"**":return E+te(r);case"**/*":return`(?:${E}${te(r)}${o})?${L}${l}${N}`;case"**/*.*":return`(?:${E}${te(r)}${o})?${L}${N}${a}${l}${N}`;case"**/.*":return`(?:${E}${te(r)}${o})?${a}${l}${N}`;default:{let O=/^(.*?)\.(\w+)$/.exec(A);if(!O)return;let j=G(O[1]);return j?j+a+O[2]:void 0}}},b=ee.removePrefix(t,U),T=G(b);return T&&r.strictSlashes!==!0&&(T+=`${o}?`),T};hs.exports=Mt});var _s=m((jl,ds)=>{"use strict";u();var To=q("path"),Oo=ls(),Dt=ps(),Nt=De(),wo=Me(),Lo=t=>t&&typeof t=="object"&&!Array.isArray(t),B=(t,e,r=!1)=>{if(Array.isArray(t)){let c=t.map(f=>B(f,e,r));return f=>{for(let P of c){let y=P(f);if(y)return y}return!1}}let n=Lo(t)&&t.tokens&&t.input;if(t===""||typeof t!="string"&&!n)throw new TypeError("Expected pattern to be a non-empty string");let s=e||{},i=Nt.isWindows(e),a=n?B.compileRe(t,e):B.makeRe(t,e,!1,!0),o=a.state;delete a.state;let l=()=>!1;if(s.ignore){let c={...e,ignore:null,onMatch:null,onResult:null};l=B(s.ignore,c,r)}let _=(c,g=!1)=>{let{isMatch:f,match:P,output:y}=B.test(c,a,e,{glob:t,posix:i}),E={glob:t,state:o,regex:a,posix:i,input:c,output:y,match:P,isMatch:f};return typeof s.onResult=="function"&&s.onResult(E),f===!1?(E.isMatch=!1,g?E:!1):l(c)?(typeof s.onIgnore=="function"&&s.onIgnore(E),E.isMatch=!1,g?E:!1):(typeof s.onMatch=="function"&&s.onMatch(E),g?E:!0)};return r&&(_.state=o),_};B.test=(t,e,r,{glob:n,posix:s}={})=>{if(typeof t!="string")throw new TypeError("Expected input to be a string");if(t==="")return{isMatch:!1,output:""};let i=r||{},a=i.format||(s?Nt.toPosixSlashes:null),o=t===n,l=o&&a?a(t):t;return o===!1&&(l=a?a(t):t,o=l===n),(o===!1||i.capture===!0)&&(i.matchBase===!0||i.basename===!0?o=B.matchBase(t,e,r,s):o=e.exec(l)),{isMatch:!!o,match:o,output:l}};B.matchBase=(t,e,r,n=Nt.isWindows(r))=>(e instanceof RegExp?e:B.makeRe(e,r)).test(To.basename(t));B.isMatch=(t,e,r)=>B(e,r)(t);B.parse=(t,e)=>Array.isArray(t)?t.map(r=>B.parse(r,e)):Dt(t,{...e,fastpaths:!1});B.scan=(t,e)=>Oo(t,e);B.compileRe=(t,e,r=!1,n=!1)=>{if(r===!0)return t.output;let s=e||{},i=s.contains?"":"^",a=s.contains?"":"$",o=`${i}(?:${t.output})${a}`;t&&t.negated===!0&&(o=`^(?!${o}).*$`);let l=B.toRegex(o,e);return n===!0&&(l.state=t),l};B.makeRe=(t,e={},r=!1,n=!1)=>{if(!t||typeof t!="string")throw new TypeError("Expected a non-empty string");let s={negated:!1,fastpaths:!0};return e.fastpaths!==!1&&(t[0]==="."||t[0]==="*")&&(s.output=Dt.fastpaths(t,e)),s.output||(s=Dt(t,e)),B.compileRe(s,e,r,n)};B.toRegex=(t,e)=>{try{let r=e||{};return new RegExp(t,r.flags||(r.nocase?"i":""))}catch(r){if(e&&e.debug===!0)throw r;return/$^/}};B.constants=wo;ds.exports=B});var ys=m((Gl,gs)=>{"use strict";u();gs.exports=_s()});var vs=m((Vl,Rs)=>{"use strict";u();var ms=q("util"),Es=Zn(),ce=ys(),$t=De(),Ss=t=>t===""||t==="./",As=t=>{let e=t.indexOf("{");return e>-1&&t.indexOf("}",e)>-1},D=(t,e,r)=>{e=[].concat(e),t=[].concat(t);let n=new Set,s=new Set,i=new Set,a=0,o=c=>{i.add(c.output),r&&r.onResult&&r.onResult(c)};for(let c=0;c<e.length;c++){let g=ce(String(e[c]),{...r,onResult:o},!0),f=g.state.negated||g.state.negatedExtglob;f&&a++;for(let P of t){let y=g(P,!0);(f?!y.isMatch:y.isMatch)&&(f?n.add(y.output):(n.delete(y.output),s.add(y.output)))}}let _=(a===e.length?[...i]:[...s]).filter(c=>!n.has(c));if(r&&_.length===0){if(r.failglob===!0)throw new Error(`No matches found for "${e.join(", ")}"`);if(r.nonull===!0||r.nullglob===!0)return r.unescape?e.map(c=>c.replace(/\\/g,"")):e}return _};D.match=D;D.matcher=(t,e)=>ce(t,e);D.isMatch=(t,e,r)=>ce(e,r)(t);D.any=D.isMatch;D.not=(t,e,r={})=>{e=[].concat(e).map(String);let n=new Set,s=[],i=o=>{r.onResult&&r.onResult(o),s.push(o.output)},a=new Set(D(t,e,{...r,onResult:i}));for(let o of s)a.has(o)||n.add(o);return[...n]};D.contains=(t,e,r)=>{if(typeof t!="string")throw new TypeError(`Expected a string: "${ms.inspect(t)}"`);if(Array.isArray(e))return e.some(n=>D.contains(t,n,r));if(typeof e=="string"){if(Ss(t)||Ss(e))return!1;if(t.includes(e)||t.startsWith("./")&&t.slice(2).includes(e))return!0}return D.isMatch(t,e,{...r,contains:!0})};D.matchKeys=(t,e,r)=>{if(!$t.isObject(t))throw new TypeError("Expected the first argument to be an object");let n=D(Object.keys(t),e,r),s={};for(let i of n)s[i]=t[i];return s};D.some=(t,e,r)=>{let n=[].concat(t);for(let s of[].concat(e)){let i=ce(String(s),r);if(n.some(a=>i(a)))return!0}return!1};D.every=(t,e,r)=>{let n=[].concat(t);for(let s of[].concat(e)){let i=ce(String(s),r);if(!n.every(a=>i(a)))return!1}return!0};D.all=(t,e,r)=>{if(typeof t!="string")throw new TypeError(`Expected a string: "${ms.inspect(t)}"`);return[].concat(e).every(n=>ce(n,r)(t))};D.capture=(t,e,r)=>{let n=$t.isWindows(r),i=ce.makeRe(String(t),{...r,capture:!0}).exec(n?$t.toPosixSlashes(e):e);if(i)return i.slice(1).map(a=>a===void 0?"":a)};D.makeRe=(...t)=>ce.makeRe(...t);D.scan=(...t)=>ce.scan(...t);D.parse=(t,e)=>{let r=[];for(let n of[].concat(t||[]))for(let s of Es(String(n),e))r.push(ce.parse(s,e));return r};D.braces=(t,e)=>{if(typeof t!="string")throw new TypeError("Expected a string");return e&&e.nobrace===!0||!As(t)?[t]:Es(t,e)};D.braceExpand=(t,e)=>{if(typeof t!="string")throw new TypeError("Expected a string");return D.braces(t,{...e,expand:!0})};D.hasBraces=As;Rs.exports=D});var Hs=m(v=>{"use strict";u();Object.defineProperty(v,"__esModule",{value:!0});v.isAbsolute=v.partitionAbsoluteAndRelative=v.removeDuplicateSlashes=v.matchAny=v.convertPatternsToRe=v.makeRe=v.getPatternParts=v.expandBraceExpansion=v.expandPatternsWithBraceExpansion=v.isAffectDepthOfReadingPattern=v.endsWithSlashGlobStar=v.hasGlobStar=v.getBaseDirectory=v.isPatternRelatedToParentDirectory=v.getPatternsOutsideCurrentDirectory=v.getPatternsInsideCurrentDirectory=v.getPositivePatterns=v.getNegativePatterns=v.isPositivePattern=v.isNegativePattern=v.convertToNegativePattern=v.convertToPositivePattern=v.isDynamicPattern=v.isStaticPattern=void 0;var bs=q("path"),ko=_n(),It=vs(),Ps="**",Ho="\\",Mo=/[*?]|^!/,Do=/\[[^[]*]/,No=/(?:^|[^!*+?@])\([^(]*\|[^|]*\)/,$o=/[!*+?@]\([^(]*\)/,Io=/,|\.\./,qo=/(?!^)\/{2,}/g;function xs(t,e={}){return!Cs(t,e)}v.isStaticPattern=xs;function Cs(t,e={}){return t===""?!1:!!(e.caseSensitiveMatch===!1||t.includes(Ho)||Mo.test(t)||Do.test(t)||No.test(t)||e.extglob!==!1&&$o.test(t)||e.braceExpansion!==!1&&Bo(t))}v.isDynamicPattern=Cs;function Bo(t){let e=t.indexOf("{");if(e===-1)return!1;let r=t.indexOf("}",e+1);if(r===-1)return!1;let n=t.slice(e,r);return Io.test(n)}function Fo(t){return Ze(t)?t.slice(1):t}v.convertToPositivePattern=Fo;function jo(t){return"!"+t}v.convertToNegativePattern=jo;function Ze(t){return t.startsWith("!")&&t[1]!=="("}v.isNegativePattern=Ze;function Ts(t){return!Ze(t)}v.isPositivePattern=Ts;function Wo(t){return t.filter(Ze)}v.getNegativePatterns=Wo;function Go(t){return t.filter(Ts)}v.getPositivePatterns=Go;function Uo(t){return t.filter(e=>!qt(e))}v.getPatternsInsideCurrentDirectory=Uo;function Vo(t){return t.filter(qt)}v.getPatternsOutsideCurrentDirectory=Vo;function qt(t){return t.startsWith("..")||t.startsWith("./..")}v.isPatternRelatedToParentDirectory=qt;function Ko(t){return ko(t,{flipBackslashes:!1})}v.getBaseDirectory=Ko;function Qo(t){return t.includes(Ps)}v.hasGlobStar=Qo;function Os(t){return t.endsWith("/"+Ps)}v.endsWithSlashGlobStar=Os;function Yo(t){let e=bs.basename(t);return Os(t)||xs(e)}v.isAffectDepthOfReadingPattern=Yo;function Xo(t){return t.reduce((e,r)=>e.concat(ws(r)),[])}v.expandPatternsWithBraceExpansion=Xo;function ws(t){let e=It.braces(t,{expand:!0,nodupes:!0,keepEscaping:!0});return e.sort((r,n)=>r.length-n.length),e.filter(r=>r!=="")}v.expandBraceExpansion=ws;function Zo(t,e){let{parts:r}=It.scan(t,Object.assign(Object.assign({},e),{parts:!0}));return r.length===0&&(r=[t]),r[0].startsWith("/")&&(r[0]=r[0].slice(1),r.unshift("")),r}v.getPatternParts=Zo;function Ls(t,e){return It.makeRe(t,e)}v.makeRe=Ls;function zo(t,e){return t.map(r=>Ls(r,e))}v.convertPatternsToRe=zo;function Jo(t,e){return e.some(r=>r.test(t))}v.matchAny=Jo;function eu(t){return t.replace(qo,"/")}v.removeDuplicateSlashes=eu;function tu(t){let e=[],r=[];for(let n of t)ks(n)?e.push(n):r.push(n);return[e,r]}v.partitionAbsoluteAndRelative=tu;function ks(t){return bs.isAbsolute(t)}v.isAbsolute=ks});var $s=m((Xl,Ns)=>{"use strict";u();var ru=q("stream"),Ms=ru.PassThrough,nu=Array.prototype.slice;Ns.exports=su;function su(){let t=[],e=nu.call(arguments),r=!1,n=e[e.length-1];n&&!Array.isArray(n)&&n.pipe==null?e.pop():n={};let s=n.end!==!1,i=n.pipeError===!0;n.objectMode==null&&(n.objectMode=!0),n.highWaterMark==null&&(n.highWaterMark=64*1024);let a=Ms(n);function o(){for(let c=0,g=arguments.length;c<g;c++)t.push(Ds(arguments[c],n));return l(),this}function l(){if(r)return;r=!0;let c=t.shift();if(!c){process.nextTick(_);return}Array.isArray(c)||(c=[c]);let g=c.length+1;function f(){--g>0||(r=!1,l())}function P(y){function E(){y.removeListener("merge2UnpipeEnd",E),y.removeListener("end",E),i&&y.removeListener("error",L),f()}function L(k){a.emit("error",k)}if(y._readableState.endEmitted)return f();y.on("merge2UnpipeEnd",E),y.on("end",E),i&&y.on("error",L),y.pipe(a,{end:!1}),y.resume()}for(let y=0;y<c.length;y++)P(c[y]);f()}function _(){r=!1,a.emit("queueDrain"),s&&a.end()}return a.setMaxListeners(0),a.add=o,a.on("unpipe",function(c){c.emit("merge2UnpipeEnd")}),e.length&&o.apply(null,e),a}function Ds(t,e){if(Array.isArray(t))for(let r=0,n=t.length;r<n;r++)t[r]=Ds(t[r],e);else{if(!t._readableState&&t.pipe&&(t=t.pipe(Ms(e))),!t._readableState||!t.pause||!t.pipe)throw new Error("Only readable stream can be merged.");t.pause()}return t}});var qs=m(ze=>{"use strict";u();Object.defineProperty(ze,"__esModule",{value:!0});ze.merge=void 0;var iu=$s();function au(t){let e=iu(t);return t.forEach(r=>{r.once("error",n=>e.emit("error",n))}),e.once("close",()=>Is(t)),e.once("end",()=>Is(t)),e}ze.merge=au;function Is(t){t.forEach(e=>e.emit("close"))}});var Bs=m(Oe=>{"use strict";u();Object.defineProperty(Oe,"__esModule",{value:!0});Oe.isEmpty=Oe.isString=void 0;function ou(t){return typeof t=="string"}Oe.isString=ou;function uu(t){return t===""}Oe.isEmpty=uu});var pe=m(V=>{"use strict";u();Object.defineProperty(V,"__esModule",{value:!0});V.string=V.stream=V.pattern=V.path=V.fs=V.errno=V.array=void 0;var cu=tn();V.array=cu;var lu=rn();V.errno=lu;var fu=nn();V.fs=fu;var hu=un();V.path=hu;var pu=Hs();V.pattern=pu;var du=qs();V.stream=du;var _u=Bs();V.string=_u});var Gs=m(K=>{"use strict";u();Object.defineProperty(K,"__esModule",{value:!0});K.convertPatternGroupToTask=K.convertPatternGroupsToTasks=K.groupPatternsByBaseDirectory=K.getNegativePatternsAsPositive=K.getPositivePatterns=K.convertPatternsToTasks=K.generate=void 0;var se=pe();function gu(t,e){let r=Fs(t,e),n=Fs(e.ignore,e),s=js(r),i=Ws(r,n),a=s.filter(c=>se.pattern.isStaticPattern(c,e)),o=s.filter(c=>se.pattern.isDynamicPattern(c,e)),l=Bt(a,i,!1),_=Bt(o,i,!0);return l.concat(_)}K.generate=gu;function Fs(t,e){let r=t;return e.braceExpansion&&(r=se.pattern.expandPatternsWithBraceExpansion(r)),e.baseNameMatch&&(r=r.map(n=>n.includes("/")?n:`**/${n}`)),r.map(n=>se.pattern.removeDuplicateSlashes(n))}function Bt(t,e,r){let n=[],s=se.pattern.getPatternsOutsideCurrentDirectory(t),i=se.pattern.getPatternsInsideCurrentDirectory(t),a=Ft(s),o=Ft(i);return n.push(...jt(a,e,r)),"."in o?n.push(Wt(".",i,e,r)):n.push(...jt(o,e,r)),n}K.convertPatternsToTasks=Bt;function js(t){return se.pattern.getPositivePatterns(t)}K.getPositivePatterns=js;function Ws(t,e){return se.pattern.getNegativePatterns(t).concat(e).map(se.pattern.convertToPositivePattern)}K.getNegativePatternsAsPositive=Ws;function Ft(t){let e={};return t.reduce((r,n)=>{let s=se.pattern.getBaseDirectory(n);return s in r?r[s].push(n):r[s]=[n],r},e)}K.groupPatternsByBaseDirectory=Ft;function jt(t,e,r){return Object.keys(t).map(n=>Wt(n,t[n],e,r))}K.convertPatternGroupsToTasks=jt;function Wt(t,e,r,n){return{dynamic:n,positive:e,negative:r,base:t,patterns:[].concat(e,r.map(se.pattern.convertToNegativePattern))}}K.convertPatternGroupToTask=Wt});var Vs=m(Je=>{"use strict";u();Object.defineProperty(Je,"__esModule",{value:!0});Je.read=void 0;function yu(t,e,r){e.fs.lstat(t,(n,s)=>{if(n!==null){Us(r,n);return}if(!s.isSymbolicLink()||!e.followSymbolicLink){Gt(r,s);return}e.fs.stat(t,(i,a)=>{if(i!==null){if(e.throwErrorOnBrokenSymbolicLink){Us(r,i);return}Gt(r,s);return}e.markSymbolicLink&&(a.isSymbolicLink=()=>!0),Gt(r,a)})})}Je.read=yu;function Us(t,e){t(e)}function Gt(t,e){t(null,e)}});var Ks=m(et=>{"use strict";u();Object.defineProperty(et,"__esModule",{value:!0});et.read=void 0;function Su(t,e){let r=e.fs.lstatSync(t);if(!r.isSymbolicLink()||!e.followSymbolicLink)return r;try{let n=e.fs.statSync(t);return e.markSymbolicLink&&(n.isSymbolicLink=()=>!0),n}catch(n){if(!e.throwErrorOnBrokenSymbolicLink)return r;throw n}}et.read=Su});var Qs=m(_e=>{"use strict";u();Object.defineProperty(_e,"__esModule",{value:!0});_e.createFileSystemAdapter=_e.FILE_SYSTEM_ADAPTER=void 0;var tt=q("fs");_e.FILE_SYSTEM_ADAPTER={lstat:tt.lstat,stat:tt.stat,lstatSync:tt.lstatSync,statSync:tt.statSync};function mu(t){return t===void 0?_e.FILE_SYSTEM_ADAPTER:Object.assign(Object.assign({},_e.FILE_SYSTEM_ADAPTER),t)}_e.createFileSystemAdapter=mu});var Ys=m(Vt=>{"use strict";u();Object.defineProperty(Vt,"__esModule",{value:!0});var Eu=Qs(),Ut=class{constructor(e={}){this._options=e,this.followSymbolicLink=this._getValue(this._options.followSymbolicLink,!0),this.fs=Eu.createFileSystemAdapter(this._options.fs),this.markSymbolicLink=this._getValue(this._options.markSymbolicLink,!1),this.throwErrorOnBrokenSymbolicLink=this._getValue(this._options.throwErrorOnBrokenSymbolicLink,!0)}_getValue(e,r){return e??r}};Vt.default=Ut});var Pe=m(ge=>{"use strict";u();Object.defineProperty(ge,"__esModule",{value:!0});ge.statSync=ge.stat=ge.Settings=void 0;var Xs=Vs(),Au=Ks(),Kt=Ys();ge.Settings=Kt.default;function Ru(t,e,r){if(typeof e=="function"){Xs.read(t,Qt(),e);return}Xs.read(t,Qt(e),r)}ge.stat=Ru;function vu(t,e){let r=Qt(e);return Au.read(t,r)}ge.statSync=vu;function Qt(t={}){return t instanceof Kt.default?t:new Kt.default(t)}});var Js=m((yf,zs)=>{"use strict";u();var Zs;zs.exports=typeof queueMicrotask=="function"?queueMicrotask.bind(typeof window<"u"?window:global):t=>(Zs||(Zs=Promise.resolve())).then(t).catch(e=>setTimeout(()=>{throw e},0))});var ti=m((mf,ei)=>{"use strict";u();ei.exports=Pu;var bu=Js();function Pu(t,e){let r,n,s,i=!0;Array.isArray(t)?(r=[],n=t.length):(s=Object.keys(t),r={},n=s.length);function a(l){function _(){e&&e(l,r),e=null}i?bu(_):_()}function o(l,_,c){r[l]=c,(--n===0||_)&&a(_)}n?s?s.forEach(function(l){t[l](function(_,c){o(l,_,c)})}):t.forEach(function(l,_){l(function(c,g){o(_,c,g)})}):a(null),i=!1}});var Yt=m(nt=>{"use strict";u();Object.defineProperty(nt,"__esModule",{value:!0});nt.IS_SUPPORT_READDIR_WITH_FILE_TYPES=void 0;var rt=process.versions.node.split(".");if(rt[0]===void 0||rt[1]===void 0)throw new Error(`Unexpected behavior. The 'process.versions.node' variable has invalid value: ${process.versions.node}`);var ri=Number.parseInt(rt[0],10),xu=Number.parseInt(rt[1],10),ni=10,Cu=10,Tu=ri>ni,Ou=ri===ni&&xu>=Cu;nt.IS_SUPPORT_READDIR_WITH_FILE_TYPES=Tu||Ou});var si=m(st=>{"use strict";u();Object.defineProperty(st,"__esModule",{value:!0});st.createDirentFromStats=void 0;var Xt=class{constructor(e,r){this.name=e,this.isBlockDevice=r.isBlockDevice.bind(r),this.isCharacterDevice=r.isCharacterDevice.bind(r),this.isDirectory=r.isDirectory.bind(r),this.isFIFO=r.isFIFO.bind(r),this.isFile=r.isFile.bind(r),this.isSocket=r.isSocket.bind(r),this.isSymbolicLink=r.isSymbolicLink.bind(r)}};function wu(t,e){return new Xt(t,e)}st.createDirentFromStats=wu});var Zt=m(it=>{"use strict";u();Object.defineProperty(it,"__esModule",{value:!0});it.fs=void 0;var Lu=si();it.fs=Lu});var zt=m(at=>{"use strict";u();Object.defineProperty(at,"__esModule",{value:!0});at.joinPathSegments=void 0;function ku(t,e,r){return t.endsWith(r)?t+e:t+r+e}at.joinPathSegments=ku});var li=m(ye=>{"use strict";u();Object.defineProperty(ye,"__esModule",{value:!0});ye.readdir=ye.readdirWithFileTypes=ye.read=void 0;var Hu=Pe(),ii=ti(),Mu=Yt(),ai=Zt(),oi=zt();function Du(t,e,r){if(!e.stats&&Mu.IS_SUPPORT_READDIR_WITH_FILE_TYPES){ui(t,e,r);return}ci(t,e,r)}ye.read=Du;function ui(t,e,r){e.fs.readdir(t,{withFileTypes:!0},(n,s)=>{if(n!==null){ot(r,n);return}let i=s.map(o=>({dirent:o,name:o.name,path:oi.joinPathSegments(t,o.name,e.pathSegmentSeparator)}));if(!e.followSymbolicLinks){Jt(r,i);return}let a=i.map(o=>Nu(o,e));ii(a,(o,l)=>{if(o!==null){ot(r,o);return}Jt(r,l)})})}ye.readdirWithFileTypes=ui;function Nu(t,e){return r=>{if(!t.dirent.isSymbolicLink()){r(null,t);return}e.fs.stat(t.path,(n,s)=>{if(n!==null){if(e.throwErrorOnBrokenSymbolicLink){r(n);return}r(null,t);return}t.dirent=ai.fs.createDirentFromStats(t.name,s),r(null,t)})}}function ci(t,e,r){e.fs.readdir(t,(n,s)=>{if(n!==null){ot(r,n);return}let i=s.map(a=>{let o=oi.joinPathSegments(t,a,e.pathSegmentSeparator);return l=>{Hu.stat(o,e.fsStatSettings,(_,c)=>{if(_!==null){l(_);return}let g={name:a,path:o,dirent:ai.fs.createDirentFromStats(a,c)};e.stats&&(g.stats=c),l(null,g)})}});ii(i,(a,o)=>{if(a!==null){ot(r,a);return}Jt(r,o)})})}ye.readdir=ci;function ot(t,e){t(e)}function Jt(t,e){t(null,e)}});var _i=m(Se=>{"use strict";u();Object.defineProperty(Se,"__esModule",{value:!0});Se.readdir=Se.readdirWithFileTypes=Se.read=void 0;var $u=Pe(),Iu=Yt(),fi=Zt(),hi=zt();function qu(t,e){return!e.stats&&Iu.IS_SUPPORT_READDIR_WITH_FILE_TYPES?pi(t,e):di(t,e)}Se.read=qu;function pi(t,e){return e.fs.readdirSync(t,{withFileTypes:!0}).map(n=>{let s={dirent:n,name:n.name,path:hi.joinPathSegments(t,n.name,e.pathSegmentSeparator)};if(s.dirent.isSymbolicLink()&&e.followSymbolicLinks)try{let i=e.fs.statSync(s.path);s.dirent=fi.fs.createDirentFromStats(s.name,i)}catch(i){if(e.throwErrorOnBrokenSymbolicLink)throw i}return s})}Se.readdirWithFileTypes=pi;function di(t,e){return e.fs.readdirSync(t).map(n=>{let s=hi.joinPathSegments(t,n,e.pathSegmentSeparator),i=$u.statSync(s,e.fsStatSettings),a={name:n,path:s,dirent:fi.fs.createDirentFromStats(n,i)};return e.stats&&(a.stats=i),a})}Se.readdir=di});var gi=m(me=>{"use strict";u();Object.defineProperty(me,"__esModule",{value:!0});me.createFileSystemAdapter=me.FILE_SYSTEM_ADAPTER=void 0;var we=q("fs");me.FILE_SYSTEM_ADAPTER={lstat:we.lstat,stat:we.stat,lstatSync:we.lstatSync,statSync:we.statSync,readdir:we.readdir,readdirSync:we.readdirSync};function Bu(t){return t===void 0?me.FILE_SYSTEM_ADAPTER:Object.assign(Object.assign({},me.FILE_SYSTEM_ADAPTER),t)}me.createFileSystemAdapter=Bu});var yi=m(tr=>{"use strict";u();Object.defineProperty(tr,"__esModule",{value:!0});var Fu=q("path"),ju=Pe(),Wu=gi(),er=class{constructor(e={}){this._options=e,this.followSymbolicLinks=this._getValue(this._options.followSymbolicLinks,!1),this.fs=Wu.createFileSystemAdapter(this._options.fs),this.pathSegmentSeparator=this._getValue(this._options.pathSegmentSeparator,Fu.sep),this.stats=this._getValue(this._options.stats,!1),this.throwErrorOnBrokenSymbolicLink=this._getValue(this._options.throwErrorOnBrokenSymbolicLink,!0),this.fsStatSettings=new ju.Settings({followSymbolicLink:this.followSymbolicLinks,fs:this.fs,throwErrorOnBrokenSymbolicLink:this.throwErrorOnBrokenSymbolicLink})}_getValue(e,r){return e??r}};tr.default=er});var ut=m(Ee=>{"use strict";u();Object.defineProperty(Ee,"__esModule",{value:!0});Ee.Settings=Ee.scandirSync=Ee.scandir=void 0;var Si=li(),Gu=_i(),rr=yi();Ee.Settings=rr.default;function Uu(t,e,r){if(typeof e=="function"){Si.read(t,nr(),e);return}Si.read(t,nr(e),r)}Ee.scandir=Uu;function Vu(t,e){let r=nr(e);return Gu.read(t,r)}Ee.scandirSync=Vu;function nr(t={}){return t instanceof rr.default?t:new rr.default(t)}});var Ei=m((qf,mi)=>{"use strict";u();function Ku(t){var e=new t,r=e;function n(){var i=e;return i.next?e=i.next:(e=new t,r=e),i.next=null,i}function s(i){r.next=i,r=i}return{get:n,release:s}}mi.exports=Ku});var Ri=m((Ff,sr)=>{"use strict";u();var Qu=Ei();function Ai(t,e,r){if(typeof t=="function"&&(r=e,e=t,t=null),!(r>=1))throw new Error("fastqueue concurrency must be equal to or greater than 1");var n=Qu(Yu),s=null,i=null,a=0,o=null,l={push:E,drain:Z,saturated:Z,pause:c,paused:!1,get concurrency(){return r},set concurrency(b){if(!(b>=1))throw new Error("fastqueue concurrency must be equal to or greater than 1");if(r=b,!l.paused)for(;s&&a<r;)a++,k()},running:_,resume:P,idle:y,length:g,getQueue:f,unshift:L,empty:Z,kill:U,killAndDrain:N,error:G,abort:te};return l;function _(){return a}function c(){l.paused=!0}function g(){for(var b=s,T=0;b;)b=b.next,T++;return T}function f(){for(var b=s,T=[];b;)T.push(b.value),b=b.next;return T}function P(){if(l.paused){if(l.paused=!1,s===null){a++,k();return}for(;s&&a<r;)a++,k()}}function y(){return a===0&&l.length()===0}function E(b,T){var A=n.get();A.context=t,A.release=k,A.value=b,A.callback=T||Z,A.errorHandler=o,a>=r||l.paused?i?(i.next=A,i=A):(s=A,i=A,l.saturated()):(a++,e.call(t,A.value,A.worked))}function L(b,T){var A=n.get();A.context=t,A.release=k,A.value=b,A.callback=T||Z,A.errorHandler=o,a>=r||l.paused?s?(A.next=s,s=A):(s=A,i=A,l.saturated()):(a++,e.call(t,A.value,A.worked))}function k(b){b&&n.release(b);var T=s;T&&a<=r?l.paused?a--:(i===s&&(i=null),s=T.next,T.next=null,e.call(t,T.value,T.worked),i===null&&l.empty()):--a===0&&l.drain()}function U(){s=null,i=null,l.drain=Z}function N(){s=null,i=null,l.drain(),l.drain=Z}function te(){var b=s;for(s=null,i=null;b;){var T=b.next,A=b.callback,O=b.errorHandler,j=b.value,d=b.context;b.value=null,b.callback=Z,b.errorHandler=null,O&&O(new Error("abort"),j),A.call(d,new Error("abort")),b.release(b),b=T}l.drain=Z}function G(b){o=b}}function Z(){}function Yu(){this.value=null,this.callback=Z,this.next=null,this.release=Z,this.context=null,this.errorHandler=null;var t=this;this.worked=function(r,n){var s=t.callback,i=t.errorHandler,a=t.value;t.value=null,t.callback=Z,t.errorHandler&&i(r,a),s.call(t.context,r,n),t.release(t)}}function Xu(t,e,r){typeof t=="function"&&(r=e,e=t,t=null);function n(c,g){e.call(this,c).then(function(f){g(null,f)},g)}var s=Ai(t,n,r),i=s.push,a=s.unshift;return s.push=o,s.unshift=l,s.drained=_,s;function o(c){var g=new Promise(function(f,P){i(c,function(y,E){if(y){P(y);return}f(E)})});return g.catch(Z),g}function l(c){var g=new Promise(function(f,P){a(c,function(y,E){if(y){P(y);return}f(E)})});return g.catch(Z),g}function _(){var c=new Promise(function(g){process.nextTick(function(){if(s.idle())g();else{var f=s.drain;s.drain=function(){typeof f=="function"&&f(),g(),s.drain=f}}})});return c}}sr.exports=Ai;sr.exports.promise=Xu});var ct=m(le=>{"use strict";u();Object.defineProperty(le,"__esModule",{value:!0});le.joinPathSegments=le.replacePathSegmentSeparator=le.isAppliedFilter=le.isFatalError=void 0;function Zu(t,e){return t.errorFilter===null?!0:!t.errorFilter(e)}le.isFatalError=Zu;function zu(t,e){return t===null||t(e)}le.isAppliedFilter=zu;function Ju(t,e){return t.split(/[/\\]/).join(e)}le.replacePathSegmentSeparator=Ju;function ec(t,e,r){return t===""?e:t.endsWith(r)?t+e:t+r+e}le.joinPathSegments=ec});var or=m(ar=>{"use strict";u();Object.defineProperty(ar,"__esModule",{value:!0});var tc=ct(),ir=class{constructor(e,r){this._root=e,this._settings=r,this._root=tc.replacePathSegmentSeparator(e,r.pathSegmentSeparator)}};ar.default=ir});var lr=m(cr=>{"use strict";u();Object.defineProperty(cr,"__esModule",{value:!0});var rc=q("events"),nc=ut(),sc=Ri(),lt=ct(),ic=or(),ur=class extends ic.default{constructor(e,r){super(e,r),this._settings=r,this._scandir=nc.scandir,this._emitter=new rc.EventEmitter,this._queue=sc(this._worker.bind(this),this._settings.concurrency),this._isFatalError=!1,this._isDestroyed=!1,this._queue.drain=()=>{this._isFatalError||this._emitter.emit("end")}}read(){return this._isFatalError=!1,this._isDestroyed=!1,setImmediate(()=>{this._pushToQueue(this._root,this._settings.basePath)}),this._emitter}get isDestroyed(){return this._isDestroyed}destroy(){if(this._isDestroyed)throw new Error("The reader is already destroyed");this._isDestroyed=!0,this._queue.killAndDrain()}onEntry(e){this._emitter.on("entry",e)}onError(e){this._emitter.once("error",e)}onEnd(e){this._emitter.once("end",e)}_pushToQueue(e,r){let n={directory:e,base:r};this._queue.push(n,s=>{s!==null&&this._handleError(s)})}_worker(e,r){this._scandir(e.directory,this._settings.fsScandirSettings,(n,s)=>{if(n!==null){r(n,void 0);return}for(let i of s)this._handleEntry(i,e.base);r(null,void 0)})}_handleError(e){this._isDestroyed||!lt.isFatalError(this._settings,e)||(this._isFatalError=!0,this._isDestroyed=!0,this._emitter.emit("error",e))}_handleEntry(e,r){if(this._isDestroyed||this._isFatalError)return;let n=e.path;r!==void 0&&(e.path=lt.joinPathSegments(r,e.name,this._settings.pathSegmentSeparator)),lt.isAppliedFilter(this._settings.entryFilter,e)&&this._emitEntry(e),e.dirent.isDirectory()&&lt.isAppliedFilter(this._settings.deepFilter,e)&&this._pushToQueue(n,r===void 0?void 0:e.path)}_emitEntry(e){this._emitter.emit("entry",e)}};cr.default=ur});var vi=m(hr=>{"use strict";u();Object.defineProperty(hr,"__esModule",{value:!0});var ac=lr(),fr=class{constructor(e,r){this._root=e,this._settings=r,this._reader=new ac.default(this._root,this._settings),this._storage=[]}read(e){this._reader.onError(r=>{oc(e,r)}),this._reader.onEntry(r=>{this._storage.push(r)}),this._reader.onEnd(()=>{uc(e,this._storage)}),this._reader.read()}};hr.default=fr;function oc(t,e){t(e)}function uc(t,e){t(null,e)}});var bi=m(dr=>{"use strict";u();Object.defineProperty(dr,"__esModule",{value:!0});var cc=q("stream"),lc=lr(),pr=class{constructor(e,r){this._root=e,this._settings=r,this._reader=new lc.default(this._root,this._settings),this._stream=new cc.Readable({objectMode:!0,read:()=>{},destroy:()=>{this._reader.isDestroyed||this._reader.destroy()}})}read(){return this._reader.onError(e=>{this._stream.emit("error",e)}),this._reader.onEntry(e=>{this._stream.push(e)}),this._reader.onEnd(()=>{this._stream.push(null)}),this._reader.read(),this._stream}};dr.default=pr});var Pi=m(gr=>{"use strict";u();Object.defineProperty(gr,"__esModule",{value:!0});var fc=ut(),ft=ct(),hc=or(),_r=class extends hc.default{constructor(){super(...arguments),this._scandir=fc.scandirSync,this._storage=[],this._queue=new Set}read(){return this._pushToQueue(this._root,this._settings.basePath),this._handleQueue(),this._storage}_pushToQueue(e,r){this._queue.add({directory:e,base:r})}_handleQueue(){for(let e of this._queue.values())this._handleDirectory(e.directory,e.base)}_handleDirectory(e,r){try{let n=this._scandir(e,this._settings.fsScandirSettings);for(let s of n)this._handleEntry(s,r)}catch(n){this._handleError(n)}}_handleError(e){if(ft.isFatalError(this._settings,e))throw e}_handleEntry(e,r){let n=e.path;r!==void 0&&(e.path=ft.joinPathSegments(r,e.name,this._settings.pathSegmentSeparator)),ft.isAppliedFilter(this._settings.entryFilter,e)&&this._pushToStorage(e),e.dirent.isDirectory()&&ft.isAppliedFilter(this._settings.deepFilter,e)&&this._pushToQueue(n,r===void 0?void 0:e.path)}_pushToStorage(e){this._storage.push(e)}};gr.default=_r});var xi=m(Sr=>{"use strict";u();Object.defineProperty(Sr,"__esModule",{value:!0});var pc=Pi(),yr=class{constructor(e,r){this._root=e,this._settings=r,this._reader=new pc.default(this._root,this._settings)}read(){return this._reader.read()}};Sr.default=yr});var Ci=m(Er=>{"use strict";u();Object.defineProperty(Er,"__esModule",{value:!0});var dc=q("path"),_c=ut(),mr=class{constructor(e={}){this._options=e,this.basePath=this._getValue(this._options.basePath,void 0),this.concurrency=this._getValue(this._options.concurrency,Number.POSITIVE_INFINITY),this.deepFilter=this._getValue(this._options.deepFilter,null),this.entryFilter=this._getValue(this._options.entryFilter,null),this.errorFilter=this._getValue(this._options.errorFilter,null),this.pathSegmentSeparator=this._getValue(this._options.pathSegmentSeparator,dc.sep),this.fsScandirSettings=new _c.Settings({followSymbolicLinks:this._options.followSymbolicLinks,fs:this._options.fs,pathSegmentSeparator:this._options.pathSegmentSeparator,stats:this._options.stats,throwErrorOnBrokenSymbolicLink:this._options.throwErrorOnBrokenSymbolicLink})}_getValue(e,r){return e??r}};Er.default=mr});var pt=m(fe=>{"use strict";u();Object.defineProperty(fe,"__esModule",{value:!0});fe.Settings=fe.walkStream=fe.walkSync=fe.walk=void 0;var Ti=vi(),gc=bi(),yc=xi(),Ar=Ci();fe.Settings=Ar.default;function Sc(t,e,r){if(typeof e=="function"){new Ti.default(t,ht()).read(e);return}new Ti.default(t,ht(e)).read(r)}fe.walk=Sc;function mc(t,e){let r=ht(e);return new yc.default(t,r).read()}fe.walkSync=mc;function Ec(t,e){let r=ht(e);return new gc.default(t,r).read()}fe.walkStream=Ec;function ht(t={}){return t instanceof Ar.default?t:new Ar.default(t)}});var dt=m(vr=>{"use strict";u();Object.defineProperty(vr,"__esModule",{value:!0});var Ac=q("path"),Rc=Pe(),Oi=pe(),Rr=class{constructor(e){this._settings=e,this._fsStatSettings=new Rc.Settings({followSymbolicLink:this._settings.followSymbolicLinks,fs:this._settings.fs,throwErrorOnBrokenSymbolicLink:this._settings.followSymbolicLinks})}_getFullEntryPath(e){return Ac.resolve(this._settings.cwd,e)}_makeEntry(e,r){let n={name:r,path:r,dirent:Oi.fs.createDirentFromStats(r,e)};return this._settings.stats&&(n.stats=e),n}_isFatalError(e){return!Oi.errno.isEnoentCodeError(e)&&!this._settings.suppressErrors}};vr.default=Rr});var xr=m(Pr=>{"use strict";u();Object.defineProperty(Pr,"__esModule",{value:!0});var vc=q("stream"),bc=Pe(),Pc=pt(),xc=dt(),br=class extends xc.default{constructor(){super(...arguments),this._walkStream=Pc.walkStream,this._stat=bc.stat}dynamic(e,r){return this._walkStream(e,r)}static(e,r){let n=e.map(this._getFullEntryPath,this),s=new vc.PassThrough({objectMode:!0});s._write=(i,a,o)=>this._getEntry(n[i],e[i],r).then(l=>{l!==null&&r.entryFilter(l)&&s.push(l),i===n.length-1&&s.end(),o()}).catch(o);for(let i=0;i<n.length;i++)s.write(i);return s}_getEntry(e,r,n){return this._getStat(e).then(s=>this._makeEntry(s,r)).catch(s=>{if(n.errorFilter(s))return null;throw s})}_getStat(e){return new Promise((r,n)=>{this._stat(e,this._fsStatSettings,(s,i)=>s===null?r(i):n(s))})}};Pr.default=br});var wi=m(Tr=>{"use strict";u();Object.defineProperty(Tr,"__esModule",{value:!0});var Cc=pt(),Tc=dt(),Oc=xr(),Cr=class extends Tc.default{constructor(){super(...arguments),this._walkAsync=Cc.walk,this._readerStream=new Oc.default(this._settings)}dynamic(e,r){return new Promise((n,s)=>{this._walkAsync(e,r,(i,a)=>{i===null?n(a):s(i)})})}async static(e,r){let n=[],s=this._readerStream.static(e,r);return new Promise((i,a)=>{s.once("error",a),s.on("data",o=>n.push(o)),s.once("end",()=>i(n))})}};Tr.default=Cr});var Li=m(wr=>{"use strict";u();Object.defineProperty(wr,"__esModule",{value:!0});var $e=pe(),Or=class{constructor(e,r,n){this._patterns=e,this._settings=r,this._micromatchOptions=n,this._storage=[],this._fillStorage()}_fillStorage(){for(let e of this._patterns){let r=this._getPatternSegments(e),n=this._splitSegmentsIntoSections(r);this._storage.push({complete:n.length<=1,pattern:e,segments:r,sections:n})}}_getPatternSegments(e){return $e.pattern.getPatternParts(e,this._micromatchOptions).map(n=>$e.pattern.isDynamicPattern(n,this._settings)?{dynamic:!0,pattern:n,patternRe:$e.pattern.makeRe(n,this._micromatchOptions)}:{dynamic:!1,pattern:n})}_splitSegmentsIntoSections(e){return $e.array.splitWhen(e,r=>r.dynamic&&$e.pattern.hasGlobStar(r.pattern))}};wr.default=Or});var ki=m(kr=>{"use strict";u();Object.defineProperty(kr,"__esModule",{value:!0});var wc=Li(),Lr=class extends wc.default{match(e){let r=e.split("/"),n=r.length,s=this._storage.filter(i=>!i.complete||i.segments.length>n);for(let i of s){let a=i.sections[0];if(!i.complete&&n>a.length||r.every((l,_)=>{let c=i.segments[_];return!!(c.dynamic&&c.patternRe.test(l)||!c.dynamic&&c.pattern===l)}))return!0}return!1}};kr.default=Lr});var Hi=m(Mr=>{"use strict";u();Object.defineProperty(Mr,"__esModule",{value:!0});var _t=pe(),Lc=ki(),Hr=class{constructor(e,r){this._settings=e,this._micromatchOptions=r}getFilter(e,r,n){let s=this._getMatcher(r),i=this._getNegativePatternsRe(n);return a=>this._filter(e,a,s,i)}_getMatcher(e){return new Lc.default(e,this._settings,this._micromatchOptions)}_getNegativePatternsRe(e){let r=e.filter(_t.pattern.isAffectDepthOfReadingPattern);return _t.pattern.convertPatternsToRe(r,this._micromatchOptions)}_filter(e,r,n,s){if(this._isSkippedByDeep(e,r.path)||this._isSkippedSymbolicLink(r))return!1;let i=_t.path.removeLeadingDotSegment(r.path);return this._isSkippedByPositivePatterns(i,n)?!1:this._isSkippedByNegativePatterns(i,s)}_isSkippedByDeep(e,r){return this._settings.deep===1/0?!1:this._getEntryLevel(e,r)>=this._settings.deep}_getEntryLevel(e,r){let n=r.split("/").length;if(e==="")return n;let s=e.split("/").length;return n-s}_isSkippedSymbolicLink(e){return!this._settings.followSymbolicLinks&&e.dirent.isSymbolicLink()}_isSkippedByPositivePatterns(e,r){return!this._settings.baseNameMatch&&!r.match(e)}_isSkippedByNegativePatterns(e,r){return!_t.pattern.matchAny(e,r)}};Mr.default=Hr});var Mi=m(Nr=>{"use strict";u();Object.defineProperty(Nr,"__esModule",{value:!0});var Ae=pe(),Dr=class{constructor(e,r){this._settings=e,this._micromatchOptions=r,this.index=new Map}getFilter(e,r){let[n,s]=Ae.pattern.partitionAbsoluteAndRelative(r),i={positive:{all:Ae.pattern.convertPatternsToRe(e,this._micromatchOptions)},negative:{absolute:Ae.pattern.convertPatternsToRe(n,Object.assign(Object.assign({},this._micromatchOptions),{dot:!0})),relative:Ae.pattern.convertPatternsToRe(s,Object.assign(Object.assign({},this._micromatchOptions),{dot:!0}))}};return a=>this._filter(a,i)}_filter(e,r){let n=Ae.path.removeLeadingDotSegment(e.path);if(this._settings.unique&&this._isDuplicateEntry(n)||this._onlyFileFilter(e)||this._onlyDirectoryFilter(e))return!1;let s=this._isMatchToPatternsSet(n,r,e.dirent.isDirectory());return this._settings.unique&&s&&this._createIndexRecord(n),s}_isDuplicateEntry(e){return this.index.has(e)}_createIndexRecord(e){this.index.set(e,void 0)}_onlyFileFilter(e){return this._settings.onlyFiles&&!e.dirent.isFile()}_onlyDirectoryFilter(e){return this._settings.onlyDirectories&&!e.dirent.isDirectory()}_isMatchToPatternsSet(e,r,n){return!(!this._isMatchToPatterns(e,r.positive.all,n)||this._isMatchToPatterns(e,r.negative.relative,n)||this._isMatchToAbsoluteNegative(e,r.negative.absolute,n))}_isMatchToAbsoluteNegative(e,r,n){if(r.length===0)return!1;let s=Ae.path.makeAbsolute(this._settings.cwd,e);return this._isMatchToPatterns(s,r,n)}_isMatchToPatterns(e,r,n){if(r.length===0)return!1;let s=Ae.pattern.matchAny(e,r);return!s&&n?Ae.pattern.matchAny(e+"/",r):s}};Nr.default=Dr});var Di=m(Ir=>{"use strict";u();Object.defineProperty(Ir,"__esModule",{value:!0});var kc=pe(),$r=class{constructor(e){this._settings=e}getFilter(){return e=>this._isNonFatalError(e)}_isNonFatalError(e){return kc.errno.isEnoentCodeError(e)||this._settings.suppressErrors}};Ir.default=$r});var $i=m(Br=>{"use strict";u();Object.defineProperty(Br,"__esModule",{value:!0});var Ni=pe(),qr=class{constructor(e){this._settings=e}getTransformer(){return e=>this._transform(e)}_transform(e){let r=e.path;return this._settings.absolute&&(r=Ni.path.makeAbsolute(this._settings.cwd,r),r=Ni.path.unixify(r)),this._settings.markDirectories&&e.dirent.isDirectory()&&(r+="/"),this._settings.objectMode?Object.assign(Object.assign({},e),{path:r}):r}};Br.default=qr});var gt=m(jr=>{"use strict";u();Object.defineProperty(jr,"__esModule",{value:!0});var Hc=q("path"),Mc=Hi(),Dc=Mi(),Nc=Di(),$c=$i(),Fr=class{constructor(e){this._settings=e,this.errorFilter=new Nc.default(this._settings),this.entryFilter=new Dc.default(this._settings,this._getMicromatchOptions()),this.deepFilter=new Mc.default(this._settings,this._getMicromatchOptions()),this.entryTransformer=new $c.default(this._settings)}_getRootDirectory(e){return Hc.resolve(this._settings.cwd,e.base)}_getReaderOptions(e){let r=e.base==="."?"":e.base;return{basePath:r,pathSegmentSeparator:"/",concurrency:this._settings.concurrency,deepFilter:this.deepFilter.getFilter(r,e.positive,e.negative),entryFilter:this.entryFilter.getFilter(e.positive,e.negative),errorFilter:this.errorFilter.getFilter(),followSymbolicLinks:this._settings.followSymbolicLinks,fs:this._settings.fs,stats:this._settings.stats,throwErrorOnBrokenSymbolicLink:this._settings.throwErrorOnBrokenSymbolicLink,transform:this.entryTransformer.getTransformer()}}_getMicromatchOptions(){return{dot:this._settings.dot,matchBase:this._settings.baseNameMatch,nobrace:!this._settings.braceExpansion,nocase:!this._settings.caseSensitiveMatch,noext:!this._settings.extglob,noglobstar:!this._settings.globstar,posix:!0,strictSlashes:!1}}};jr.default=Fr});var Ii=m(Gr=>{"use strict";u();Object.defineProperty(Gr,"__esModule",{value:!0});var Ic=wi(),qc=gt(),Wr=class extends qc.default{constructor(){super(...arguments),this._reader=new Ic.default(this._settings)}async read(e){let r=this._getRootDirectory(e),n=this._getReaderOptions(e);return(await this.api(r,e,n)).map(i=>n.transform(i))}api(e,r,n){return r.dynamic?this._reader.dynamic(e,n):this._reader.static(r.patterns,n)}};Gr.default=Wr});var qi=m(Vr=>{"use strict";u();Object.defineProperty(Vr,"__esModule",{value:!0});var Bc=q("stream"),Fc=xr(),jc=gt(),Ur=class extends jc.default{constructor(){super(...arguments),this._reader=new Fc.default(this._settings)}read(e){let r=this._getRootDirectory(e),n=this._getReaderOptions(e),s=this.api(r,e,n),i=new Bc.Readable({objectMode:!0,read:()=>{}});return s.once("error",a=>i.emit("error",a)).on("data",a=>i.emit("data",n.transform(a))).once("end",()=>i.emit("end")),i.once("close",()=>s.destroy()),i}api(e,r,n){return r.dynamic?this._reader.dynamic(e,n):this._reader.static(r.patterns,n)}};Vr.default=Ur});var Bi=m(Qr=>{"use strict";u();Object.defineProperty(Qr,"__esModule",{value:!0});var Wc=Pe(),Gc=pt(),Uc=dt(),Kr=class extends Uc.default{constructor(){super(...arguments),this._walkSync=Gc.walkSync,this._statSync=Wc.statSync}dynamic(e,r){return this._walkSync(e,r)}static(e,r){let n=[];for(let s of e){let i=this._getFullEntryPath(s),a=this._getEntry(i,s,r);a===null||!r.entryFilter(a)||n.push(a)}return n}_getEntry(e,r,n){try{let s=this._getStat(e);return this._makeEntry(s,r)}catch(s){if(n.errorFilter(s))return null;throw s}}_getStat(e){return this._statSync(e,this._fsStatSettings)}};Qr.default=Kr});var Fi=m(Xr=>{"use strict";u();Object.defineProperty(Xr,"__esModule",{value:!0});var Vc=Bi(),Kc=gt(),Yr=class extends Kc.default{constructor(){super(...arguments),this._reader=new Vc.default(this._settings)}read(e){let r=this._getRootDirectory(e),n=this._getReaderOptions(e);return this.api(r,e,n).map(n.transform)}api(e,r,n){return r.dynamic?this._reader.dynamic(e,n):this._reader.static(r.patterns,n)}};Xr.default=Yr});var ji=m(ke=>{"use strict";u();Object.defineProperty(ke,"__esModule",{value:!0});ke.DEFAULT_FILE_SYSTEM_ADAPTER=void 0;var Le=q("fs"),Qc=q("os"),Yc=Math.max(Qc.cpus().length,1);ke.DEFAULT_FILE_SYSTEM_ADAPTER={lstat:Le.lstat,lstatSync:Le.lstatSync,stat:Le.stat,statSync:Le.statSync,readdir:Le.readdir,readdirSync:Le.readdirSync};var Zr=class{constructor(e={}){this._options=e,this.absolute=this._getValue(this._options.absolute,!1),this.baseNameMatch=this._getValue(this._options.baseNameMatch,!1),this.braceExpansion=this._getValue(this._options.braceExpansion,!0),this.caseSensitiveMatch=this._getValue(this._options.caseSensitiveMatch,!0),this.concurrency=this._getValue(this._options.concurrency,Yc),this.cwd=this._getValue(this._options.cwd,process.cwd()),this.deep=this._getValue(this._options.deep,1/0),this.dot=this._getValue(this._options.dot,!1),this.extglob=this._getValue(this._options.extglob,!0),this.followSymbolicLinks=this._getValue(this._options.followSymbolicLinks,!0),this.fs=this._getFileSystemMethods(this._options.fs),this.globstar=this._getValue(this._options.globstar,!0),this.ignore=this._getValue(this._options.ignore,[]),this.markDirectories=this._getValue(this._options.markDirectories,!1),this.objectMode=this._getValue(this._options.objectMode,!1),this.onlyDirectories=this._getValue(this._options.onlyDirectories,!1),this.onlyFiles=this._getValue(this._options.onlyFiles,!0),this.stats=this._getValue(this._options.stats,!1),this.suppressErrors=this._getValue(this._options.suppressErrors,!1),this.throwErrorOnBrokenSymbolicLink=this._getValue(this._options.throwErrorOnBrokenSymbolicLink,!1),this.unique=this._getValue(this._options.unique,!0),this.onlyDirectories&&(this.onlyFiles=!1),this.stats&&(this.objectMode=!0),this.ignore=[].concat(this.ignore)}_getValue(e,r){return e===void 0?r:e}_getFileSystemMethods(e={}){return Object.assign(Object.assign({},ke.DEFAULT_FILE_SYSTEM_ADAPTER),e)}};ke.default=Zr});var Jc=m(($h,Gi)=>{u();var Wi=Gs(),Xc=Ii(),Zc=qi(),zc=Fi(),zr=ji(),ne=pe();async function Jr(t,e){ie(t);let r=en(t,Xc.default,e),n=await Promise.all(r);return ne.array.flatten(n)}(function(t){t.glob=t,t.globSync=e,t.globStream=r,t.async=t;function e(_,c){ie(_);let g=en(_,zc.default,c);return ne.array.flatten(g)}t.sync=e;function r(_,c){ie(_);let g=en(_,Zc.default,c);return ne.stream.merge(g)}t.stream=r;function n(_,c){ie(_);let g=[].concat(_),f=new zr.default(c);return Wi.generate(g,f)}t.generateTasks=n;function s(_,c){ie(_);let g=new zr.default(c);return ne.pattern.isDynamicPattern(_,g)}t.isDynamicPattern=s;function i(_){return ie(_),ne.path.escape(_)}t.escapePath=i;function a(_){return ie(_),ne.path.convertPathToPattern(_)}t.convertPathToPattern=a;let o;(function(_){function c(f){return ie(f),ne.path.escapePosixPath(f)}_.escapePath=c;function g(f){return ie(f),ne.path.convertPosixPathToPattern(f)}_.convertPathToPattern=g})(o=t.posix||(t.posix={}));let l;(function(_){function c(f){return ie(f),ne.path.escapeWindowsPath(f)}_.escapePath=c;function g(f){return ie(f),ne.path.convertWindowsPathToPattern(f)}_.convertPathToPattern=g})(l=t.win32||(t.win32={}))})(Jr||(Jr={}));function en(t,e,r){let n=[].concat(t),s=new zr.default(r),i=Wi.generate(n,s),a=new e(s);return i.map(a.read,a)}function ie(t){if(![].concat(t).every(n=>ne.string.isString(n)&&!ne.string.isEmpty(n)))throw new TypeError("Patterns must be a string (non empty) or an array of strings")}Gi.exports=Jr});export{$s as a,pn as b,Jc as c};
4
- /*! Bundled license information:
5
-
6
- is-extglob/index.js:
7
- (*!
8
- * is-extglob <https://github.com/jonschlinkert/is-extglob>
9
- *
10
- * Copyright (c) 2014-2016, Jon Schlinkert.
11
- * Licensed under the MIT License.
12
- *)
13
-
14
- is-glob/index.js:
15
- (*!
16
- * is-glob <https://github.com/jonschlinkert/is-glob>
17
- *
18
- * Copyright (c) 2014-2017, Jon Schlinkert.
19
- * Released under the MIT License.
20
- *)
21
-
22
- is-number/index.js:
23
- (*!
24
- * is-number <https://github.com/jonschlinkert/is-number>
25
- *
26
- * Copyright (c) 2014-present, Jon Schlinkert.
27
- * Released under the MIT License.
28
- *)
29
-
30
- to-regex-range/index.js:
31
- (*!
32
- * to-regex-range <https://github.com/micromatch/to-regex-range>
33
- *
34
- * Copyright (c) 2015-present, Jon Schlinkert.
35
- * Released under the MIT License.
36
- *)
37
-
38
- fill-range/index.js:
39
- (*!
40
- * fill-range <https://github.com/jonschlinkert/fill-range>
41
- *
42
- * Copyright (c) 2014-present, Jon Schlinkert.
43
- * Licensed under the MIT License.
44
- *)
45
-
46
- queue-microtask/index.js:
47
- (*! queue-microtask. MIT License. Feross Aboukhadijeh <https://feross.org/opensource> *)
48
-
49
- run-parallel/index.js:
50
- (*! run-parallel. MIT License. Feross Aboukhadijeh <https://feross.org/opensource> *)
51
- */