@shopify/create-hydrogen 5.0.24 → 5.0.26

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 (102) hide show
  1. package/dist/assets/hydrogen/bundle/analyzer.html +155 -148
  2. package/dist/assets/hydrogen/starter/CHANGELOG.md +131 -49
  3. package/dist/assets/hydrogen/starter/app/components/AddToCartButton.tsx +1 -1
  4. package/dist/assets/hydrogen/starter/app/components/CartLineItem.tsx +1 -1
  5. package/dist/assets/hydrogen/starter/app/components/CartMain.tsx +1 -1
  6. package/dist/assets/hydrogen/starter/app/components/CartSummary.tsx +62 -29
  7. package/dist/assets/hydrogen/starter/app/components/Header.tsx +1 -1
  8. package/dist/assets/hydrogen/starter/app/components/PageLayout.tsx +1 -1
  9. package/dist/assets/hydrogen/starter/app/components/ProductForm.tsx +2 -2
  10. package/dist/assets/hydrogen/starter/app/components/SearchForm.tsx +1 -1
  11. package/dist/assets/hydrogen/starter/app/components/SearchFormPredictive.tsx +8 -3
  12. package/dist/assets/hydrogen/starter/app/components/SearchResults.tsx +3 -11
  13. package/dist/assets/hydrogen/starter/app/components/SearchResultsPredictive.tsx +2 -6
  14. package/dist/assets/hydrogen/starter/app/entry.client.tsx +10 -2
  15. package/dist/assets/hydrogen/starter/app/entry.server.tsx +5 -3
  16. package/dist/assets/hydrogen/starter/app/graphql/customer-account/CustomerAddressMutations.ts +7 -4
  17. package/dist/assets/hydrogen/starter/app/graphql/customer-account/CustomerDetailsQuery.ts +1 -1
  18. package/dist/assets/hydrogen/starter/app/graphql/customer-account/CustomerOrderQuery.ts +4 -1
  19. package/dist/assets/hydrogen/starter/app/graphql/customer-account/CustomerOrdersQuery.ts +10 -5
  20. package/dist/assets/hydrogen/starter/app/graphql/customer-account/CustomerUpdateMutation.ts +3 -2
  21. package/dist/assets/hydrogen/starter/app/lib/context.ts +34 -17
  22. package/dist/assets/hydrogen/starter/app/lib/fragments.ts +1 -0
  23. package/dist/assets/hydrogen/starter/app/lib/orderFilters.ts +90 -0
  24. package/dist/assets/hydrogen/starter/app/lib/redirect.ts +1 -1
  25. package/dist/assets/hydrogen/starter/app/lib/session.ts +1 -1
  26. package/dist/assets/hydrogen/starter/app/lib/variants.ts +1 -1
  27. package/dist/assets/hydrogen/starter/app/root.tsx +23 -18
  28. package/dist/assets/hydrogen/starter/app/routes/$.tsx +2 -2
  29. package/dist/assets/hydrogen/starter/app/routes/[robots.txt].tsx +2 -2
  30. package/dist/assets/hydrogen/starter/app/routes/[sitemap.xml].tsx +2 -3
  31. package/dist/assets/hydrogen/starter/app/routes/_index.tsx +12 -8
  32. package/dist/assets/hydrogen/starter/app/routes/account.$.tsx +4 -3
  33. package/dist/assets/hydrogen/starter/app/routes/account._index.tsx +1 -1
  34. package/dist/assets/hydrogen/starter/app/routes/account.addresses.tsx +15 -11
  35. package/dist/assets/hydrogen/starter/app/routes/account.orders.$id.tsx +47 -22
  36. package/dist/assets/hydrogen/starter/app/routes/account.orders._index.tsx +152 -23
  37. package/dist/assets/hydrogen/starter/app/routes/account.profile.tsx +11 -8
  38. package/dist/assets/hydrogen/starter/app/routes/account.tsx +16 -4
  39. package/dist/assets/hydrogen/starter/app/routes/account_.authorize.tsx +2 -2
  40. package/dist/assets/hydrogen/starter/app/routes/account_.login.tsx +5 -3
  41. package/dist/assets/hydrogen/starter/app/routes/account_.logout.tsx +3 -2
  42. package/dist/assets/hydrogen/starter/app/routes/api.$version.[graphql.json].tsx +2 -2
  43. package/dist/assets/hydrogen/starter/app/routes/blogs.$blogHandle.$articleHandle.tsx +6 -10
  44. package/dist/assets/hydrogen/starter/app/routes/blogs.$blogHandle._index.tsx +10 -7
  45. package/dist/assets/hydrogen/starter/app/routes/blogs._index.tsx +13 -7
  46. package/dist/assets/hydrogen/starter/app/routes/cart.$lines.tsx +3 -2
  47. package/dist/assets/hydrogen/starter/app/routes/cart.tsx +13 -9
  48. package/dist/assets/hydrogen/starter/app/routes/collections.$handle.tsx +8 -11
  49. package/dist/assets/hydrogen/starter/app/routes/collections._index.tsx +6 -6
  50. package/dist/assets/hydrogen/starter/app/routes/collections.all.tsx +10 -7
  51. package/dist/assets/hydrogen/starter/app/routes/discount.$code.tsx +3 -2
  52. package/dist/assets/hydrogen/starter/app/routes/pages.$handle.tsx +8 -6
  53. package/dist/assets/hydrogen/starter/app/routes/policies.$handle.tsx +7 -4
  54. package/dist/assets/hydrogen/starter/app/routes/policies._index.tsx +19 -13
  55. package/dist/assets/hydrogen/starter/app/routes/products.$handle.tsx +9 -6
  56. package/dist/assets/hydrogen/starter/app/routes/search.tsx +14 -14
  57. package/dist/assets/hydrogen/starter/app/routes/sitemap.$type.$page[.xml].tsx +2 -3
  58. package/dist/assets/hydrogen/starter/app/routes.ts +1 -1
  59. package/dist/assets/hydrogen/starter/app/styles/app.css +53 -1
  60. package/dist/assets/hydrogen/starter/customer-accountapi.generated.d.ts +47 -13
  61. package/dist/assets/hydrogen/starter/env.d.ts +1 -39
  62. package/dist/assets/hydrogen/starter/eslint.config.js +35 -52
  63. package/dist/assets/hydrogen/starter/package.json +14 -15
  64. package/dist/assets/hydrogen/starter/react-router.config.ts +9 -3
  65. package/dist/assets/hydrogen/starter/server.ts +7 -7
  66. package/dist/assets/hydrogen/starter/storefrontapi.generated.d.ts +1 -1
  67. package/dist/assets/hydrogen/starter/tsconfig.json +17 -13
  68. package/dist/assets/hydrogen/starter/vite.config.ts +4 -1
  69. package/dist/assets/hydrogen/virtual-routes/components/RequestDetails.jsx +13 -20
  70. package/dist/assets/hydrogen/virtual-routes/routes/[.]well-known.appspecific.com[.]chrome[.]devtools[.]json.jsx +37 -0
  71. package/dist/chunk-2LZQLWDR.js +1189 -0
  72. package/dist/{chunk-EO6F7WJJ.js → chunk-6YUUFKYO.js} +1 -1
  73. package/dist/chunk-AUULK6IN.js +5 -0
  74. package/dist/chunk-CJKPLQJ7.js +51 -0
  75. package/dist/{chunk-MNT4XW23.js → chunk-LBUW5UHX.js} +1 -1
  76. package/dist/chunk-RUCJI22O.js +3 -0
  77. package/dist/{chunk-PMDMUCNY.js → chunk-VXJIQGAB.js} +1 -1
  78. package/dist/chunk-Y5VZE2FH.js +32 -0
  79. package/dist/chunk-ZLNTSIDN.js +2 -0
  80. package/dist/create-app.js +293 -288
  81. package/dist/{del-72VO4HYK.js → del-VDYQZFAQ.js} +1 -1
  82. package/dist/devtools-3BYEW2L2.js +8 -0
  83. package/dist/error-handler-XRI3ZDLO.js +2 -0
  84. package/dist/is-wsl-52AELLDM.js +2 -0
  85. package/dist/{morph-3JSBLNUD.js → morph-S2LU6PQ4.js} +7 -7
  86. package/dist/{multipart-parser-QIHQVIZA.js → multipart-parser-MX4R5XJM.js} +1 -1
  87. package/dist/open-PMJ32HTM.js +2 -0
  88. package/dist/out-U7AI7XUQ.js +2 -0
  89. package/package.json +4 -2
  90. package/dist/chokidar-FXMI63T6.js +0 -12
  91. package/dist/chunk-3LZ6M5C2.js +0 -3
  92. package/dist/chunk-D7CI46F7.js +0 -10
  93. package/dist/chunk-FB327AH7.js +0 -5
  94. package/dist/chunk-MZPD7BFF.js +0 -23
  95. package/dist/chunk-QUKX7CP5.js +0 -1180
  96. package/dist/chunk-UASQ33JG.js +0 -45
  97. package/dist/chunk-VMIOG46Y.js +0 -2
  98. package/dist/devtools-DGRGSZU7.js +0 -8
  99. package/dist/error-handler-YXM2BB34.js +0 -2
  100. package/dist/is-wsl-LL6KGQIK.js +0 -2
  101. package/dist/open-OD6DRFEG.js +0 -2
  102. package/dist/out-DXB3K325.js +0 -2
@@ -1,2 +1,2 @@
1
1
  import { createRequire as __createRequire } from 'module';globalThis.require = __createRequire(import.meta.url);
2
- import{c as s,i as h}from"./chunk-MNT4XW23.js";var v=s((O,x)=>{"use strict";h();x.exports=p;function p(i,f,e){i instanceof RegExp&&(i=o(i,e)),f instanceof RegExp&&(f=o(f,e));var n=d(i,f,e);return n&&{start:n[0],end:n[1],pre:e.slice(0,n[0]),body:e.slice(n[0]+i.length,n[1]),post:e.slice(n[1]+f.length)}}function o(i,f){var e=f.match(i);return e?e[0]:null}p.range=d;function d(i,f,e){var n,a,c,u,g,l=e.indexOf(i),t=e.indexOf(f,l+1),r=l;if(l>=0&&t>0){if(i===f)return[l,t];for(n=[],c=e.length;r>=0&&!g;)r==l?(n.push(r),l=e.indexOf(i,r+1)):n.length==1?g=[n.pop(),t]:(a=n.pop(),a<c&&(c=a,u=t),t=e.indexOf(f,r+1)),r=l<t&&l>=0?l:t;n.length&&(g=[c,u])}return g}});export{v as a};
2
+ import{c as s,i as h}from"./chunk-LBUW5UHX.js";var v=s((O,x)=>{"use strict";h();x.exports=p;function p(i,f,e){i instanceof RegExp&&(i=o(i,e)),f instanceof RegExp&&(f=o(f,e));var n=d(i,f,e);return n&&{start:n[0],end:n[1],pre:e.slice(0,n[0]),body:e.slice(n[0]+i.length,n[1]),post:e.slice(n[1]+f.length)}}function o(i,f){var e=f.match(i);return e?e[0]:null}p.range=d;function d(i,f,e){var n,a,c,u,g,l=e.indexOf(i),t=e.indexOf(f,l+1),r=l;if(l>=0&&t>0){if(i===f)return[l,t];for(n=[],c=e.length;r>=0&&!g;)r==l?(n.push(r),l=e.indexOf(i,r+1)):n.length==1?g=[n.pop(),t]:(a=n.pop(),a<c&&(c=a,u=t),t=e.indexOf(f,r+1)),r=l<t&&l>=0?l:t;n.length&&(g=[c,u])}return g}});export{v as a};
@@ -0,0 +1,5 @@
1
+ import { createRequire as __createRequire } from 'module';globalThis.require = __createRequire(import.meta.url);
2
+ import{a as we,c as w,i as d}from"./chunk-LBUW5UHX.js";var Le=w(H=>{"use strict";d();var Me="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split("");H.encode=function(r){if(0<=r&&r<Me.length)return Me[r];throw new TypeError("Must be between 0 and 63: "+r)};H.decode=function(r){var e=65,n=90,t=97,o=122,i=48,u=57,l=43,s=47,a=26,c=52;return e<=r&&r<=n?r-e:t<=r&&r<=o?r-t+a:i<=r&&r<=u?r-i+c:r==l?62:r==s?63:-1}});var ne=w(re=>{"use strict";d();var Ee=Le(),ee=5,Ae=1<<ee,Oe=Ae-1,be=Ae;function nr(r){return r<0?(-r<<1)+1:(r<<1)+0}function tr(r){var e=(r&1)===1,n=r>>1;return e?-n:n}re.encode=function(e){var n="",t,o=nr(e);do t=o&Oe,o>>>=ee,o>0&&(t|=be),n+=Ee.encode(t);while(o>0);return n};re.decode=function(e,n,t){var o=e.length,i=0,u=0,l,s;do{if(n>=o)throw new Error("Expected more digits in base 64 VLQ value.");if(s=Ee.decode(e.charCodeAt(n++)),s===-1)throw new Error("Invalid base64 digit: "+e.charAt(n-1));l=!!(s&be),s&=Oe,i=i+(s<<u),u+=ee}while(l);t.value=tr(i),t.rest=n}});var F=w(y=>{"use strict";d();function or(r,e,n){if(e in r)return r[e];if(arguments.length===3)return n;throw new Error('"'+e+'" is a required argument.')}y.getArg=or;var Re=/^(?:([\w+\-.]+):)?\/\/(?:(\w+:\w+)@)?([\w.-]*)(?::(\d+))?(.*)$/,ir=/^data:.+\,.+$/;function U(r){var e=r.match(Re);return e?{scheme:e[1],auth:e[2],host:e[3],port:e[4],path:e[5]}:null}y.urlParse=U;function B(r){var e="";return r.scheme&&(e+=r.scheme+":"),e+="//",r.auth&&(e+=r.auth+"@"),r.host&&(e+=r.host),r.port&&(e+=":"+r.port),r.path&&(e+=r.path),e}y.urlGenerate=B;function te(r){var e=r,n=U(r);if(n){if(!n.path)return r;e=n.path}for(var t=y.isAbsolute(e),o=e.split(/\/+/),i,u=0,l=o.length-1;l>=0;l--)i=o[l],i==="."?o.splice(l,1):i===".."?u++:u>0&&(i===""?(o.splice(l+1,u),u=0):(o.splice(l,2),u--));return e=o.join("/"),e===""&&(e=t?"/":"."),n?(n.path=e,B(n)):e}y.normalize=te;function Ne(r,e){r===""&&(r="."),e===""&&(e=".");var n=U(e),t=U(r);if(t&&(r=t.path||"/"),n&&!n.scheme)return t&&(n.scheme=t.scheme),B(n);if(n||e.match(ir))return e;if(t&&!t.host&&!t.path)return t.host=e,B(t);var o=e.charAt(0)==="/"?e:te(r.replace(/\/+$/,"")+"/"+e);return t?(t.path=o,B(t)):o}y.join=Ne;y.isAbsolute=function(r){return r.charAt(0)==="/"||Re.test(r)};function ur(r,e){r===""&&(r="."),r=r.replace(/\/$/,"");for(var n=0;e.indexOf(r+"/")!==0;){var t=r.lastIndexOf("/");if(t<0||(r=r.slice(0,t),r.match(/^([^\/]+:\/)?\/*$/)))return e;++n}return Array(n+1).join("../")+e.substr(r.length+1)}y.relative=ur;var xe=(function(){var r=Object.create(null);return!("__proto__"in r)})();function Ge(r){return r}function sr(r){return Ie(r)?"$"+r:r}y.toSetString=xe?Ge:sr;function lr(r){return Ie(r)?r.slice(1):r}y.fromSetString=xe?Ge:lr;function Ie(r){if(!r)return!1;var e=r.length;if(e<9||r.charCodeAt(e-1)!==95||r.charCodeAt(e-2)!==95||r.charCodeAt(e-3)!==111||r.charCodeAt(e-4)!==116||r.charCodeAt(e-5)!==111||r.charCodeAt(e-6)!==114||r.charCodeAt(e-7)!==112||r.charCodeAt(e-8)!==95||r.charCodeAt(e-9)!==95)return!1;for(var n=e-10;n>=0;n--)if(r.charCodeAt(n)!==36)return!1;return!0}function ar(r,e,n){var t=q(r.source,e.source);return t!==0||(t=r.originalLine-e.originalLine,t!==0)||(t=r.originalColumn-e.originalColumn,t!==0||n)||(t=r.generatedColumn-e.generatedColumn,t!==0)||(t=r.generatedLine-e.generatedLine,t!==0)?t:q(r.name,e.name)}y.compareByOriginalPositions=ar;function cr(r,e,n){var t=r.generatedLine-e.generatedLine;return t!==0||(t=r.generatedColumn-e.generatedColumn,t!==0||n)||(t=q(r.source,e.source),t!==0)||(t=r.originalLine-e.originalLine,t!==0)||(t=r.originalColumn-e.originalColumn,t!==0)?t:q(r.name,e.name)}y.compareByGeneratedPositionsDeflated=cr;function q(r,e){return r===e?0:r===null?1:e===null?-1:r>e?1:-1}function fr(r,e){var n=r.generatedLine-e.generatedLine;return n!==0||(n=r.generatedColumn-e.generatedColumn,n!==0)||(n=q(r.source,e.source),n!==0)||(n=r.originalLine-e.originalLine,n!==0)||(n=r.originalColumn-e.originalColumn,n!==0)?n:q(r.name,e.name)}y.compareByGeneratedPositionsInflated=fr;function hr(r){return JSON.parse(r.replace(/^\)]}'[^\n]*\n/,""))}y.parseSourceMapInput=hr;function gr(r,e,n){if(e=e||"",r&&(r[r.length-1]!=="/"&&e[0]!=="/"&&(r+="/"),e=r+e),n){var t=U(n);if(!t)throw new Error("sourceMapURL could not be parsed");if(t.path){var o=t.path.lastIndexOf("/");o>=0&&(t.path=t.path.substring(0,o+1))}e=Ne(B(t),e)}return te(e)}y.computeSourceURL=gr});var ue=w(Te=>{"use strict";d();var oe=F(),ie=Object.prototype.hasOwnProperty,x=typeof Map<"u";function b(){this._array=[],this._set=x?new Map:Object.create(null)}b.fromArray=function(e,n){for(var t=new b,o=0,i=e.length;o<i;o++)t.add(e[o],n);return t};b.prototype.size=function(){return x?this._set.size:Object.getOwnPropertyNames(this._set).length};b.prototype.add=function(e,n){var t=x?e:oe.toSetString(e),o=x?this.has(e):ie.call(this._set,t),i=this._array.length;(!o||n)&&this._array.push(e),o||(x?this._set.set(e,i):this._set[t]=i)};b.prototype.has=function(e){if(x)return this._set.has(e);var n=oe.toSetString(e);return ie.call(this._set,n)};b.prototype.indexOf=function(e){if(x){var n=this._set.get(e);if(n>=0)return n}else{var t=oe.toSetString(e);if(ie.call(this._set,t))return this._set[t]}throw new Error('"'+e+'" is not in the set.')};b.prototype.at=function(e){if(e>=0&&e<this._array.length)return this._array[e];throw new Error("No element indexed by "+e)};b.prototype.toArray=function(){return this._array.slice()};Te.ArraySet=b});var qe=w(Be=>{"use strict";d();var Pe=F();function dr(r,e){var n=r.generatedLine,t=e.generatedLine,o=r.generatedColumn,i=e.generatedColumn;return t>n||t==n&&i>=o||Pe.compareByGeneratedPositionsInflated(r,e)<=0}function W(){this._array=[],this._sorted=!0,this._last={generatedLine:-1,generatedColumn:0}}W.prototype.unsortedForEach=function(e,n){this._array.forEach(e,n)};W.prototype.add=function(e){dr(this._last,e)?(this._last=e,this._array.push(e)):(this._sorted=!1,this._array.push(e))};W.prototype.toArray=function(){return this._sorted||(this._array.sort(Pe.compareByGeneratedPositionsInflated),this._sorted=!0),this._array};Be.MappingList=W});var se=w(Fe=>{"use strict";d();var $=ne(),_=F(),J=ue().ArraySet,vr=qe().MappingList;function E(r){r||(r={}),this._file=_.getArg(r,"file",null),this._sourceRoot=_.getArg(r,"sourceRoot",null),this._skipValidation=_.getArg(r,"skipValidation",!1),this._sources=new J,this._names=new J,this._mappings=new vr,this._sourcesContents=null}E.prototype._version=3;E.fromSourceMap=function(e){var n=e.sourceRoot,t=new E({file:e.file,sourceRoot:n});return e.eachMapping(function(o){var i={generated:{line:o.generatedLine,column:o.generatedColumn}};o.source!=null&&(i.source=o.source,n!=null&&(i.source=_.relative(n,i.source)),i.original={line:o.originalLine,column:o.originalColumn},o.name!=null&&(i.name=o.name)),t.addMapping(i)}),e.sources.forEach(function(o){var i=o;n!==null&&(i=_.relative(n,o)),t._sources.has(i)||t._sources.add(i);var u=e.sourceContentFor(o);u!=null&&t.setSourceContent(o,u)}),t};E.prototype.addMapping=function(e){var n=_.getArg(e,"generated"),t=_.getArg(e,"original",null),o=_.getArg(e,"source",null),i=_.getArg(e,"name",null);this._skipValidation||this._validateMapping(n,t,o,i),o!=null&&(o=String(o),this._sources.has(o)||this._sources.add(o)),i!=null&&(i=String(i),this._names.has(i)||this._names.add(i)),this._mappings.add({generatedLine:n.line,generatedColumn:n.column,originalLine:t!=null&&t.line,originalColumn:t!=null&&t.column,source:o,name:i})};E.prototype.setSourceContent=function(e,n){var t=e;this._sourceRoot!=null&&(t=_.relative(this._sourceRoot,t)),n!=null?(this._sourcesContents||(this._sourcesContents=Object.create(null)),this._sourcesContents[_.toSetString(t)]=n):this._sourcesContents&&(delete this._sourcesContents[_.toSetString(t)],Object.keys(this._sourcesContents).length===0&&(this._sourcesContents=null))};E.prototype.applySourceMap=function(e,n,t){var o=n;if(n==null){if(e.file==null)throw new Error(`SourceMapGenerator.prototype.applySourceMap requires either an explicit source file, or the source map's "file" property. Both were omitted.`);o=e.file}var i=this._sourceRoot;i!=null&&(o=_.relative(i,o));var u=new J,l=new J;this._mappings.unsortedForEach(function(s){if(s.source===o&&s.originalLine!=null){var a=e.originalPositionFor({line:s.originalLine,column:s.originalColumn});a.source!=null&&(s.source=a.source,t!=null&&(s.source=_.join(t,s.source)),i!=null&&(s.source=_.relative(i,s.source)),s.originalLine=a.line,s.originalColumn=a.column,a.name!=null&&(s.name=a.name))}var c=s.source;c!=null&&!u.has(c)&&u.add(c);var g=s.name;g!=null&&!l.has(g)&&l.add(g)},this),this._sources=u,this._names=l,e.sources.forEach(function(s){var a=e.sourceContentFor(s);a!=null&&(t!=null&&(s=_.join(t,s)),i!=null&&(s=_.relative(i,s)),this.setSourceContent(s,a))},this)};E.prototype._validateMapping=function(e,n,t,o){if(n&&typeof n.line!="number"&&typeof n.column!="number")throw new Error("original.line and original.column are not numbers -- you probably meant to omit the original mapping entirely and only map the generated position. If so, pass null for the original mapping instead of an object with empty or null values.");if(!(e&&"line"in e&&"column"in e&&e.line>0&&e.column>=0&&!n&&!t&&!o)){if(e&&"line"in e&&"column"in e&&n&&"line"in n&&"column"in n&&e.line>0&&e.column>=0&&n.line>0&&n.column>=0&&t)return;throw new Error("Invalid mapping: "+JSON.stringify({generated:e,source:t,original:n,name:o}))}};E.prototype._serializeMappings=function(){for(var e=0,n=1,t=0,o=0,i=0,u=0,l="",s,a,c,g,h=this._mappings.toArray(),v=0,L=h.length;v<L;v++){if(a=h[v],s="",a.generatedLine!==n)for(e=0;a.generatedLine!==n;)s+=";",n++;else if(v>0){if(!_.compareByGeneratedPositionsInflated(a,h[v-1]))continue;s+=","}s+=$.encode(a.generatedColumn-e),e=a.generatedColumn,a.source!=null&&(g=this._sources.indexOf(a.source),s+=$.encode(g-u),u=g,s+=$.encode(a.originalLine-1-o),o=a.originalLine-1,s+=$.encode(a.originalColumn-t),t=a.originalColumn,a.name!=null&&(c=this._names.indexOf(a.name),s+=$.encode(c-i),i=c)),l+=s}return l};E.prototype._generateSourcesContent=function(e,n){return e.map(function(t){if(!this._sourcesContents)return null;n!=null&&(t=_.relative(n,t));var o=_.toSetString(t);return Object.prototype.hasOwnProperty.call(this._sourcesContents,o)?this._sourcesContents[o]:null},this)};E.prototype.toJSON=function(){var e={version:this._version,sources:this._sources.toArray(),names:this._names.toArray(),mappings:this._serializeMappings()};return this._file!=null&&(e.file=this._file),this._sourceRoot!=null&&(e.sourceRoot=this._sourceRoot),this._sourcesContents&&(e.sourcesContent=this._generateSourcesContent(e.sources,e.sourceRoot)),e};E.prototype.toString=function(){return JSON.stringify(this.toJSON())};Fe.SourceMapGenerator=E});var je=w(G=>{"use strict";d();G.GREATEST_LOWER_BOUND=1;G.LEAST_UPPER_BOUND=2;function le(r,e,n,t,o,i){var u=Math.floor((e-r)/2)+r,l=o(n,t[u],!0);return l===0?u:l>0?e-u>1?le(u,e,n,t,o,i):i==G.LEAST_UPPER_BOUND?e<t.length?e:-1:u:u-r>1?le(r,u,n,t,o,i):i==G.LEAST_UPPER_BOUND?u:r<0?-1:r}G.search=function(e,n,t,o){if(n.length===0)return-1;var i=le(-1,n.length,e,n,t,o||G.GREATEST_LOWER_BOUND);if(i<0)return-1;for(;i-1>=0&&t(n[i],n[i-1],!0)===0;)--i;return i}});var Ue=w(De=>{"use strict";d();function ae(r,e,n){var t=r[e];r[e]=r[n],r[n]=t}function pr(r,e){return Math.round(r+Math.random()*(e-r))}function ce(r,e,n,t){if(n<t){var o=pr(n,t),i=n-1;ae(r,o,t);for(var u=r[t],l=n;l<t;l++)e(r[l],u)<=0&&(i+=1,ae(r,i,l));ae(r,i+1,l);var s=i+1;ce(r,e,n,s-1),ce(r,e,s+1,t)}}De.quickSort=function(r,e){ce(r,e,0,r.length-1)}});var ke=w(X=>{"use strict";d();var f=F(),fe=je(),j=ue().ArraySet,_r=ne(),k=Ue().quickSort;function p(r,e){var n=r;return typeof r=="string"&&(n=f.parseSourceMapInput(r)),n.sections!=null?new A(n,e):new m(n,e)}p.fromSourceMap=function(r,e){return m.fromSourceMap(r,e)};p.prototype._version=3;p.prototype.__generatedMappings=null;Object.defineProperty(p.prototype,"_generatedMappings",{configurable:!0,enumerable:!0,get:function(){return this.__generatedMappings||this._parseMappings(this._mappings,this.sourceRoot),this.__generatedMappings}});p.prototype.__originalMappings=null;Object.defineProperty(p.prototype,"_originalMappings",{configurable:!0,enumerable:!0,get:function(){return this.__originalMappings||this._parseMappings(this._mappings,this.sourceRoot),this.__originalMappings}});p.prototype._charIsMappingSeparator=function(e,n){var t=e.charAt(n);return t===";"||t===","};p.prototype._parseMappings=function(e,n){throw new Error("Subclasses must implement _parseMappings")};p.GENERATED_ORDER=1;p.ORIGINAL_ORDER=2;p.GREATEST_LOWER_BOUND=1;p.LEAST_UPPER_BOUND=2;p.prototype.eachMapping=function(e,n,t){var o=n||null,i=t||p.GENERATED_ORDER,u;switch(i){case p.GENERATED_ORDER:u=this._generatedMappings;break;case p.ORIGINAL_ORDER:u=this._originalMappings;break;default:throw new Error("Unknown order of iteration.")}var l=this.sourceRoot;u.map(function(s){var a=s.source===null?null:this._sources.at(s.source);return a=f.computeSourceURL(l,a,this._sourceMapURL),{source:a,generatedLine:s.generatedLine,generatedColumn:s.generatedColumn,originalLine:s.originalLine,originalColumn:s.originalColumn,name:s.name===null?null:this._names.at(s.name)}},this).forEach(e,o)};p.prototype.allGeneratedPositionsFor=function(e){var n=f.getArg(e,"line"),t={source:f.getArg(e,"source"),originalLine:n,originalColumn:f.getArg(e,"column",0)};if(t.source=this._findSourceIndex(t.source),t.source<0)return[];var o=[],i=this._findMapping(t,this._originalMappings,"originalLine","originalColumn",f.compareByOriginalPositions,fe.LEAST_UPPER_BOUND);if(i>=0){var u=this._originalMappings[i];if(e.column===void 0)for(var l=u.originalLine;u&&u.originalLine===l;)o.push({line:f.getArg(u,"generatedLine",null),column:f.getArg(u,"generatedColumn",null),lastColumn:f.getArg(u,"lastGeneratedColumn",null)}),u=this._originalMappings[++i];else for(var s=u.originalColumn;u&&u.originalLine===n&&u.originalColumn==s;)o.push({line:f.getArg(u,"generatedLine",null),column:f.getArg(u,"generatedColumn",null),lastColumn:f.getArg(u,"lastGeneratedColumn",null)}),u=this._originalMappings[++i]}return o};X.SourceMapConsumer=p;function m(r,e){var n=r;typeof r=="string"&&(n=f.parseSourceMapInput(r));var t=f.getArg(n,"version"),o=f.getArg(n,"sources"),i=f.getArg(n,"names",[]),u=f.getArg(n,"sourceRoot",null),l=f.getArg(n,"sourcesContent",null),s=f.getArg(n,"mappings"),a=f.getArg(n,"file",null);if(t!=this._version)throw new Error("Unsupported version: "+t);u&&(u=f.normalize(u)),o=o.map(String).map(f.normalize).map(function(c){return u&&f.isAbsolute(u)&&f.isAbsolute(c)?f.relative(u,c):c}),this._names=j.fromArray(i.map(String),!0),this._sources=j.fromArray(o,!0),this._absoluteSources=this._sources.toArray().map(function(c){return f.computeSourceURL(u,c,e)}),this.sourceRoot=u,this.sourcesContent=l,this._mappings=s,this._sourceMapURL=e,this.file=a}m.prototype=Object.create(p.prototype);m.prototype.consumer=p;m.prototype._findSourceIndex=function(r){var e=r;if(this.sourceRoot!=null&&(e=f.relative(this.sourceRoot,e)),this._sources.has(e))return this._sources.indexOf(e);var n;for(n=0;n<this._absoluteSources.length;++n)if(this._absoluteSources[n]==r)return n;return-1};m.fromSourceMap=function(e,n){var t=Object.create(m.prototype),o=t._names=j.fromArray(e._names.toArray(),!0),i=t._sources=j.fromArray(e._sources.toArray(),!0);t.sourceRoot=e._sourceRoot,t.sourcesContent=e._generateSourcesContent(t._sources.toArray(),t.sourceRoot),t.file=e._file,t._sourceMapURL=n,t._absoluteSources=t._sources.toArray().map(function(v){return f.computeSourceURL(t.sourceRoot,v,n)});for(var u=e._mappings.toArray().slice(),l=t.__generatedMappings=[],s=t.__originalMappings=[],a=0,c=u.length;a<c;a++){var g=u[a],h=new $e;h.generatedLine=g.generatedLine,h.generatedColumn=g.generatedColumn,g.source&&(h.source=i.indexOf(g.source),h.originalLine=g.originalLine,h.originalColumn=g.originalColumn,g.name&&(h.name=o.indexOf(g.name)),s.push(h)),l.push(h)}return k(t.__originalMappings,f.compareByOriginalPositions),t};m.prototype._version=3;Object.defineProperty(m.prototype,"sources",{get:function(){return this._absoluteSources.slice()}});function $e(){this.generatedLine=0,this.generatedColumn=0,this.source=null,this.originalLine=null,this.originalColumn=null,this.name=null}m.prototype._parseMappings=function(e,n){for(var t=1,o=0,i=0,u=0,l=0,s=0,a=e.length,c=0,g={},h={},v=[],L=[],C,V,S,P,Ce;c<a;)if(e.charAt(c)===";")t++,c++,o=0;else if(e.charAt(c)===",")c++;else{for(C=new $e,C.generatedLine=t,P=c;P<a&&!this._charIsMappingSeparator(e,P);P++);if(V=e.slice(c,P),S=g[V],S)c+=V.length;else{for(S=[];c<P;)_r.decode(e,c,h),Ce=h.value,c=h.rest,S.push(Ce);if(S.length===2)throw new Error("Found a source, but no line and column");if(S.length===3)throw new Error("Found a source and line, but no column");g[V]=S}C.generatedColumn=o+S[0],o=C.generatedColumn,S.length>1&&(C.source=l+S[1],l+=S[1],C.originalLine=i+S[2],i=C.originalLine,C.originalLine+=1,C.originalColumn=u+S[3],u=C.originalColumn,S.length>4&&(C.name=s+S[4],s+=S[4])),L.push(C),typeof C.originalLine=="number"&&v.push(C)}k(L,f.compareByGeneratedPositionsDeflated),this.__generatedMappings=L,k(v,f.compareByOriginalPositions),this.__originalMappings=v};m.prototype._findMapping=function(e,n,t,o,i,u){if(e[t]<=0)throw new TypeError("Line must be greater than or equal to 1, got "+e[t]);if(e[o]<0)throw new TypeError("Column must be greater than or equal to 0, got "+e[o]);return fe.search(e,n,i,u)};m.prototype.computeColumnSpans=function(){for(var e=0;e<this._generatedMappings.length;++e){var n=this._generatedMappings[e];if(e+1<this._generatedMappings.length){var t=this._generatedMappings[e+1];if(n.generatedLine===t.generatedLine){n.lastGeneratedColumn=t.generatedColumn-1;continue}}n.lastGeneratedColumn=1/0}};m.prototype.originalPositionFor=function(e){var n={generatedLine:f.getArg(e,"line"),generatedColumn:f.getArg(e,"column")},t=this._findMapping(n,this._generatedMappings,"generatedLine","generatedColumn",f.compareByGeneratedPositionsDeflated,f.getArg(e,"bias",p.GREATEST_LOWER_BOUND));if(t>=0){var o=this._generatedMappings[t];if(o.generatedLine===n.generatedLine){var i=f.getArg(o,"source",null);i!==null&&(i=this._sources.at(i),i=f.computeSourceURL(this.sourceRoot,i,this._sourceMapURL));var u=f.getArg(o,"name",null);return u!==null&&(u=this._names.at(u)),{source:i,line:f.getArg(o,"originalLine",null),column:f.getArg(o,"originalColumn",null),name:u}}}return{source:null,line:null,column:null,name:null}};m.prototype.hasContentsOfAllSources=function(){return this.sourcesContent?this.sourcesContent.length>=this._sources.size()&&!this.sourcesContent.some(function(e){return e==null}):!1};m.prototype.sourceContentFor=function(e,n){if(!this.sourcesContent)return null;var t=this._findSourceIndex(e);if(t>=0)return this.sourcesContent[t];var o=e;this.sourceRoot!=null&&(o=f.relative(this.sourceRoot,o));var i;if(this.sourceRoot!=null&&(i=f.urlParse(this.sourceRoot))){var u=o.replace(/^file:\/\//,"");if(i.scheme=="file"&&this._sources.has(u))return this.sourcesContent[this._sources.indexOf(u)];if((!i.path||i.path=="/")&&this._sources.has("/"+o))return this.sourcesContent[this._sources.indexOf("/"+o)]}if(n)return null;throw new Error('"'+o+'" is not in the SourceMap.')};m.prototype.generatedPositionFor=function(e){var n=f.getArg(e,"source");if(n=this._findSourceIndex(n),n<0)return{line:null,column:null,lastColumn:null};var t={source:n,originalLine:f.getArg(e,"line"),originalColumn:f.getArg(e,"column")},o=this._findMapping(t,this._originalMappings,"originalLine","originalColumn",f.compareByOriginalPositions,f.getArg(e,"bias",p.GREATEST_LOWER_BOUND));if(o>=0){var i=this._originalMappings[o];if(i.source===t.source)return{line:f.getArg(i,"generatedLine",null),column:f.getArg(i,"generatedColumn",null),lastColumn:f.getArg(i,"lastGeneratedColumn",null)}}return{line:null,column:null,lastColumn:null}};X.BasicSourceMapConsumer=m;function A(r,e){var n=r;typeof r=="string"&&(n=f.parseSourceMapInput(r));var t=f.getArg(n,"version"),o=f.getArg(n,"sections");if(t!=this._version)throw new Error("Unsupported version: "+t);this._sources=new j,this._names=new j;var i={line:-1,column:0};this._sections=o.map(function(u){if(u.url)throw new Error("Support for url field in sections not implemented.");var l=f.getArg(u,"offset"),s=f.getArg(l,"line"),a=f.getArg(l,"column");if(s<i.line||s===i.line&&a<i.column)throw new Error("Section offsets must be ordered and non-overlapping.");return i=l,{generatedOffset:{generatedLine:s+1,generatedColumn:a+1},consumer:new p(f.getArg(u,"map"),e)}})}A.prototype=Object.create(p.prototype);A.prototype.constructor=p;A.prototype._version=3;Object.defineProperty(A.prototype,"sources",{get:function(){for(var r=[],e=0;e<this._sections.length;e++)for(var n=0;n<this._sections[e].consumer.sources.length;n++)r.push(this._sections[e].consumer.sources[n]);return r}});A.prototype.originalPositionFor=function(e){var n={generatedLine:f.getArg(e,"line"),generatedColumn:f.getArg(e,"column")},t=fe.search(n,this._sections,function(i,u){var l=i.generatedLine-u.generatedOffset.generatedLine;return l||i.generatedColumn-u.generatedOffset.generatedColumn}),o=this._sections[t];return o?o.consumer.originalPositionFor({line:n.generatedLine-(o.generatedOffset.generatedLine-1),column:n.generatedColumn-(o.generatedOffset.generatedLine===n.generatedLine?o.generatedOffset.generatedColumn-1:0),bias:e.bias}):{source:null,line:null,column:null,name:null}};A.prototype.hasContentsOfAllSources=function(){return this._sections.every(function(e){return e.consumer.hasContentsOfAllSources()})};A.prototype.sourceContentFor=function(e,n){for(var t=0;t<this._sections.length;t++){var o=this._sections[t],i=o.consumer.sourceContentFor(e,!0);if(i)return i}if(n)return null;throw new Error('"'+e+'" is not in the SourceMap.')};A.prototype.generatedPositionFor=function(e){for(var n=0;n<this._sections.length;n++){var t=this._sections[n];if(t.consumer._findSourceIndex(f.getArg(e,"source"))!==-1){var o=t.consumer.generatedPositionFor(e);if(o){var i={line:o.line+(t.generatedOffset.generatedLine-1),column:o.column+(t.generatedOffset.generatedLine===o.line?t.generatedOffset.generatedColumn-1:0)};return i}}}return{line:null,column:null}};A.prototype._parseMappings=function(e,n){this.__generatedMappings=[],this.__originalMappings=[];for(var t=0;t<this._sections.length;t++)for(var o=this._sections[t],i=o.consumer._generatedMappings,u=0;u<i.length;u++){var l=i[u],s=o.consumer._sources.at(l.source);s=f.computeSourceURL(o.consumer.sourceRoot,s,this._sourceMapURL),this._sources.add(s),s=this._sources.indexOf(s);var a=null;l.name&&(a=o.consumer._names.at(l.name),this._names.add(a),a=this._names.indexOf(a));var c={source:s,generatedLine:l.generatedLine+(o.generatedOffset.generatedLine-1),generatedColumn:l.generatedColumn+(o.generatedOffset.generatedLine===l.generatedLine?o.generatedOffset.generatedColumn-1:0),originalLine:l.originalLine,originalColumn:l.originalColumn,name:a};this.__generatedMappings.push(c),typeof c.originalLine=="number"&&this.__originalMappings.push(c)}k(this.__generatedMappings,f.compareByGeneratedPositionsDeflated),k(this.__originalMappings,f.compareByOriginalPositions)};X.IndexedSourceMapConsumer=A});var Qe=w(ze=>{"use strict";d();var mr=se().SourceMapGenerator,Z=F(),Sr=/(\r?\n)/,yr=10,D="$$$isSourceNode$$$";function M(r,e,n,t,o){this.children=[],this.sourceContents={},this.line=r??null,this.column=e??null,this.source=n??null,this.name=o??null,this[D]=!0,t!=null&&this.add(t)}M.fromStringWithSourceMap=function(e,n,t){var o=new M,i=e.split(Sr),u=0,l=function(){var h=L(),v=L()||"";return h+v;function L(){return u<i.length?i[u++]:void 0}},s=1,a=0,c=null;return n.eachMapping(function(h){if(c!==null)if(s<h.generatedLine)g(c,l()),s++,a=0;else{var v=i[u]||"",L=v.substr(0,h.generatedColumn-a);i[u]=v.substr(h.generatedColumn-a),a=h.generatedColumn,g(c,L),c=h;return}for(;s<h.generatedLine;)o.add(l()),s++;if(a<h.generatedColumn){var v=i[u]||"";o.add(v.substr(0,h.generatedColumn)),i[u]=v.substr(h.generatedColumn),a=h.generatedColumn}c=h},this),u<i.length&&(c&&g(c,l()),o.add(i.splice(u).join(""))),n.sources.forEach(function(h){var v=n.sourceContentFor(h);v!=null&&(t!=null&&(h=Z.join(t,h)),o.setSourceContent(h,v))}),o;function g(h,v){if(h===null||h.source===void 0)o.add(v);else{var L=t?Z.join(t,h.source):h.source;o.add(new M(h.originalLine,h.originalColumn,L,v,h.name))}}};M.prototype.add=function(e){if(Array.isArray(e))e.forEach(function(n){this.add(n)},this);else if(e[D]||typeof e=="string")e&&this.children.push(e);else throw new TypeError("Expected a SourceNode, string, or an array of SourceNodes and strings. Got "+e);return this};M.prototype.prepend=function(e){if(Array.isArray(e))for(var n=e.length-1;n>=0;n--)this.prepend(e[n]);else if(e[D]||typeof e=="string")this.children.unshift(e);else throw new TypeError("Expected a SourceNode, string, or an array of SourceNodes and strings. Got "+e);return this};M.prototype.walk=function(e){for(var n,t=0,o=this.children.length;t<o;t++)n=this.children[t],n[D]?n.walk(e):n!==""&&e(n,{source:this.source,line:this.line,column:this.column,name:this.name})};M.prototype.join=function(e){var n,t,o=this.children.length;if(o>0){for(n=[],t=0;t<o-1;t++)n.push(this.children[t]),n.push(e);n.push(this.children[t]),this.children=n}return this};M.prototype.replaceRight=function(e,n){var t=this.children[this.children.length-1];return t[D]?t.replaceRight(e,n):typeof t=="string"?this.children[this.children.length-1]=t.replace(e,n):this.children.push("".replace(e,n)),this};M.prototype.setSourceContent=function(e,n){this.sourceContents[Z.toSetString(e)]=n};M.prototype.walkSourceContents=function(e){for(var n=0,t=this.children.length;n<t;n++)this.children[n][D]&&this.children[n].walkSourceContents(e);for(var o=Object.keys(this.sourceContents),n=0,t=o.length;n<t;n++)e(Z.fromSetString(o[n]),this.sourceContents[o[n]])};M.prototype.toString=function(){var e="";return this.walk(function(n){e+=n}),e};M.prototype.toStringWithSourceMap=function(e){var n={code:"",line:1,column:0},t=new mr(e),o=!1,i=null,u=null,l=null,s=null;return this.walk(function(a,c){n.code+=a,c.source!==null&&c.line!==null&&c.column!==null?((i!==c.source||u!==c.line||l!==c.column||s!==c.name)&&t.addMapping({source:c.source,original:{line:c.line,column:c.column},generated:{line:n.line,column:n.column},name:c.name}),i=c.source,u=c.line,l=c.column,s=c.name,o=!0):o&&(t.addMapping({generated:{line:n.line,column:n.column}}),i=null,o=!1);for(var g=0,h=a.length;g<h;g++)a.charCodeAt(g)===yr?(n.line++,n.column=0,g+1===h?(i=null,o=!1):o&&t.addMapping({source:c.source,original:{line:c.line,column:c.column},generated:{line:n.line,column:n.column},name:c.name})):n.column++}),this.walkSourceContents(function(a,c){t.setSourceContent(a,c)}),{code:n.code,map:t}};ze.SourceNode=M});var Ve=w(K=>{"use strict";d();K.SourceMapGenerator=se().SourceMapGenerator;K.SourceMapConsumer=ke().SourceMapConsumer;K.SourceNode=Qe().SourceNode});var Je=w((cn,We)=>{"use strict";d();var Cr=Object.prototype.toString,he=typeof Buffer<"u"&&typeof Buffer.alloc=="function"&&typeof Buffer.allocUnsafe=="function"&&typeof Buffer.from=="function";function wr(r){return Cr.call(r).slice(8,-1)==="ArrayBuffer"}function Mr(r,e,n){e>>>=0;var t=r.byteLength-e;if(t<0)throw new RangeError("'offset' is out of bounds");if(n===void 0)n=t;else if(n>>>=0,n>t)throw new RangeError("'length' is out of bounds");return he?Buffer.from(r.slice(e,e+n)):new Buffer(new Uint8Array(r.slice(e,e+n)))}function Lr(r,e){if((typeof e!="string"||e==="")&&(e="utf8"),!Buffer.isEncoding(e))throw new TypeError('"encoding" must be a valid string encoding');return he?Buffer.from(r,e):new Buffer(r,e)}function Er(r,e,n){if(typeof r=="number")throw new TypeError('"value" argument must not be a number');return wr(r)?Mr(r,e,n):typeof r=="string"?Lr(r,e):he?Buffer.from(r):new Buffer(r)}We.exports=Er});var Dr=w((T,pe)=>{"use strict";d();var Ar=Ve().SourceMapConsumer,ge=we("path"),O;try{O=we("fs"),(!O.existsSync||!O.readFileSync)&&(O=null)}catch{}var Or=Je();function Xe(r,e){return r.require(e)}var Ze=!1,Ke=!1,de=!1,z="auto",I={},Q={},br=/^data:application\/json[^,]+base64,/,R=[],N=[];function _e(){return z==="browser"?!0:z==="node"?!1:typeof window<"u"&&typeof XMLHttpRequest=="function"&&!(window.require&&window.module&&window.process&&window.process.type==="renderer")}function Rr(){return typeof process=="object"&&process!==null&&typeof process.on=="function"}function Nr(){return typeof process=="object"&&process!==null?process.version:""}function xr(){if(typeof process=="object"&&process!==null)return process.stderr}function Gr(r){if(typeof process=="object"&&process!==null&&typeof process.exit=="function")return process.exit(r)}function Y(r){return function(e){for(var n=0;n<r.length;n++){var t=r[n](e);if(t)return t}return null}}var me=Y(R);R.push(function(r){if(r=r.trim(),/^file:/.test(r)&&(r=r.replace(/file:\/\/\/(\w:)?/,function(t,o){return o?"":"/"})),r in I)return I[r];var e="";try{if(O)O.existsSync(r)&&(e=O.readFileSync(r,"utf8"));else{var n=new XMLHttpRequest;n.open("GET",r,!1),n.send(null),n.readyState===4&&n.status===200&&(e=n.responseText)}}catch{}return I[r]=e});function ve(r,e){if(!r)return e;var n=ge.dirname(r),t=/^\w+:\/\/[^\/]*/.exec(n),o=t?t[0]:"",i=n.slice(o.length);return o&&/^\/\w\:/.test(i)?(o+="/",o+ge.resolve(n.slice(o.length),e).replace(/\\/g,"/")):o+ge.resolve(n.slice(o.length),e)}function Ir(r){var e;if(_e())try{var n=new XMLHttpRequest;n.open("GET",r,!1),n.send(null),e=n.readyState===4?n.responseText:null;var t=n.getResponseHeader("SourceMap")||n.getResponseHeader("X-SourceMap");if(t)return t}catch{}e=me(r);for(var o=/(?:\/\/[@#][\s]*sourceMappingURL=([^\s'"]+)[\s]*$)|(?:\/\*[@#][\s]*sourceMappingURL=([^\s*'"]+)[\s]*(?:\*\/)[\s]*$)/mg,i,u;u=o.exec(e);)i=u;return i?i[1]:null}var Se=Y(N);N.push(function(r){var e=Ir(r);if(!e)return null;var n;if(br.test(e)){var t=e.slice(e.indexOf(",")+1);n=Or(t,"base64").toString(),e=r}else e=ve(r,e),n=me(e);return n?{url:e,map:n}:null});function ye(r){var e=Q[r.source];if(!e){var n=Se(r.source);n?(e=Q[r.source]={url:n.url,map:new Ar(n.map)},e.map.sourcesContent&&e.map.sources.forEach(function(o,i){var u=e.map.sourcesContent[i];if(u){var l=ve(e.url,o);I[l]=u}})):e=Q[r.source]={url:null,map:null}}if(e&&e.map&&typeof e.map.originalPositionFor=="function"){var t=e.map.originalPositionFor(r);if(t.source!==null)return t.source=ve(e.url,t.source),t}return r}function He(r){var e=/^eval at ([^(]+) \((.+):(\d+):(\d+)\)$/.exec(r);if(e){var n=ye({source:e[2],line:+e[3],column:e[4]-1});return"eval at "+e[1]+" ("+n.source+":"+n.line+":"+(n.column+1)+")"}return e=/^eval at ([^(]+) \((.+)\)$/.exec(r),e?"eval at "+e[1]+" ("+He(e[2])+")":r}function Tr(){var r,e="";if(this.isNative())e="native";else{r=this.getScriptNameOrSourceURL(),!r&&this.isEval()&&(e=this.getEvalOrigin(),e+=", "),r?e+=r:e+="<anonymous>";var n=this.getLineNumber();if(n!=null){e+=":"+n;var t=this.getColumnNumber();t&&(e+=":"+t)}}var o="",i=this.getFunctionName(),u=!0,l=this.isConstructor(),s=!(this.isToplevel()||l);if(s){var a=this.getTypeName();a==="[object Object]"&&(a="null");var c=this.getMethodName();i?(a&&i.indexOf(a)!=0&&(o+=a+"."),o+=i,c&&i.indexOf("."+c)!=i.length-c.length-1&&(o+=" [as "+c+"]")):o+=a+"."+(c||"<anonymous>")}else l?o+="new "+(i||"<anonymous>"):i?o+=i:(o+=e,u=!1);return u&&(o+=" ("+e+")"),o}function Ye(r){var e={};return Object.getOwnPropertyNames(Object.getPrototypeOf(r)).forEach(function(n){e[n]=/^(?:is|get)/.test(n)?function(){return r[n].call(r)}:r[n]}),e.toString=Tr,e}function er(r,e){if(e===void 0&&(e={nextPosition:null,curPosition:null}),r.isNative())return e.curPosition=null,r;var n=r.getFileName()||r.getScriptNameOrSourceURL();if(n){var t=r.getLineNumber(),o=r.getColumnNumber()-1,i=/^v(10\.1[6-9]|10\.[2-9][0-9]|10\.[0-9]{3,}|1[2-9]\d*|[2-9]\d|\d{3,}|11\.11)/,u=i.test(Nr())?0:62;t===1&&o>u&&!_e()&&!r.isEval()&&(o-=u);var l=ye({source:n,line:t,column:o});e.curPosition=l,r=Ye(r);var s=r.getFunctionName;return r.getFunctionName=function(){return e.nextPosition==null?s():e.nextPosition.name||s()},r.getFileName=function(){return l.source},r.getLineNumber=function(){return l.line},r.getColumnNumber=function(){return l.column+1},r.getScriptNameOrSourceURL=function(){return l.source},r}var a=r.isEval()&&r.getEvalOrigin();return a&&(a=He(a),r=Ye(r),r.getEvalOrigin=function(){return a}),r}function Pr(r,e){de&&(I={},Q={});for(var n=r.name||"Error",t=r.message||"",o=n+": "+t,i={nextPosition:null,curPosition:null},u=[],l=e.length-1;l>=0;l--)u.push(`
3
+ at `+er(e[l],i)),i.nextPosition=i.curPosition;return i.curPosition=i.nextPosition=null,o+u.reverse().join("")}function rr(r){var e=/\n at [^(]+ \((.*):(\d+):(\d+)\)/.exec(r.stack);if(e){var n=e[1],t=+e[2],o=+e[3],i=I[n];if(!i&&O&&O.existsSync(n))try{i=O.readFileSync(n,"utf8")}catch{i=""}if(i){var u=i.split(/(?:\r\n|\r|\n)/)[t-1];if(u)return n+":"+t+`
4
+ `+u+`
5
+ `+new Array(o).join(" ")+"^"}}return null}function Br(r){var e=rr(r),n=xr();n&&n._handle&&n._handle.setBlocking&&n._handle.setBlocking(!0),e&&(console.error(),console.error(e)),console.error(r.stack),Gr(1)}function qr(){var r=process.emit;process.emit=function(e){if(e==="uncaughtException"){var n=arguments[1]&&arguments[1].stack,t=this.listeners(e).length>0;if(n&&!t)return Br(arguments[1])}return r.apply(this,arguments)}}var Fr=R.slice(0),jr=N.slice(0);T.wrapCallSite=er;T.getErrorSource=rr;T.mapSourcePosition=ye;T.retrieveSourceMap=Se;T.install=function(r){if(r=r||{},r.environment&&(z=r.environment,["node","browser","auto"].indexOf(z)===-1))throw new Error("environment "+z+" was unknown. Available options are {auto, browser, node}");if(r.retrieveFile&&(r.overrideRetrieveFile&&(R.length=0),R.unshift(r.retrieveFile)),r.retrieveSourceMap&&(r.overrideRetrieveSourceMap&&(N.length=0),N.unshift(r.retrieveSourceMap)),r.hookRequire&&!_e()){var e=Xe(pe,"module"),n=e.prototype._compile;n.__sourceMapSupport||(e.prototype._compile=function(i,u){return I[u]=i,Q[u]=void 0,n.call(this,i,u)},e.prototype._compile.__sourceMapSupport=!0)}if(de||(de="emptyCacheBetweenOperations"in r?r.emptyCacheBetweenOperations:!1),Ze||(Ze=!0,Error.prepareStackTrace=Pr),!Ke){var t="handleUncaughtExceptions"in r?r.handleUncaughtExceptions:!0;try{var o=Xe(pe,"worker_threads");o.isMainThread===!1&&(t=!1)}catch{}t&&Rr()&&(Ke=!0,qr())}};T.resetRetrieveHandlers=function(){R.length=0,N.length=0,R=Fr.slice(0),N=jr.slice(0),Se=Y(N),me=Y(R)}});export{Je as a,Dr as b};
@@ -0,0 +1,51 @@
1
+ import { createRequire as __createRequire } from 'module';globalThis.require = __createRequire(import.meta.url);
2
+ import{a as B,c as m,i as u}from"./chunk-LBUW5UHX.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(j=>{"use strict";u();Object.defineProperty(j,"__esModule",{value:!0});j.convertPosixPathToPattern=j.convertWindowsPathToPattern=j.convertPathToPattern=j.escapePosixPath=j.escapeWindowsPath=j.escape=j.removeLeadingDotSegment=j.makeAbsolute=j.unixify=void 0;var Zi=B("os"),zi=B("path"),sn=Zi.platform()==="win32",Ji=2,ea=/(\\?)([()*?[\]{|}]|^!|[!+@](?=\()|\\(?![!()*+?@[\]{|}]))/g,ta=/(\\?)([()[\]{}]|^!|[!+@](?=\())/g,ra=/^\\\\([.?])/,na=/\\(?![!()+@[\]{}])/g;function sa(t){return t.replace(/\\/g,"/")}j.unixify=sa;function ia(t,e){return zi.resolve(t,e)}j.makeAbsolute=ia;function aa(t){if(t.charAt(0)==="."){let e=t.charAt(1);if(e==="/"||e==="\\")return t.slice(Ji)}return t}j.removeLeadingDotSegment=aa;j.escape=sn?mt:Et;function mt(t){return t.replace(ta,"\\$2")}j.escapeWindowsPath=mt;function Et(t){return t.replace(ea,"\\$2")}j.escapePosixPath=Et;j.convertPathToPattern=sn?an:on;function an(t){return mt(t).replace(ra,"//$1").replace(na,"/")}j.convertWindowsPathToPattern=an;function on(t){return Et(t)}j.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 d=t.indexOf(l,e);d!==-1&&(e=d+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=B("path").posix.dirname,ha=B("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(te=>{"use strict";u();te.isInteger=t=>typeof t=="number"?Number.isInteger(t):typeof t=="string"&&t.trim()!==""?Number.isInteger(Number(t)):!1;te.find=(t,e)=>t.nodes.find(r=>r.type===e);te.exceedsLimit=(t,e,r=1,n)=>n===!1||!te.isInteger(t)||!te.isInteger(e)?!1:(Number(e)-Number(t))/Number(r)>=n;te.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)};te.encloseBrace=t=>t.type!=="brace"?!1:t.commas>>0+t.ranges>>0===0?(t.invalid=!0,!0):!1;te.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;te.isOpenOrClose=t=>t.type==="open"||t.type==="close"?!0:t.open===!0||t.close===!0;te.reduce=t=>t.reduce((e,r)=>(r.type==="text"&&e.push(r.value),r.type==="range"&&(r.type="text"),e),[]);te.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 d=Math.min(t,e),c=Math.max(t,e);if(Math.abs(d-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:d,b:c},b=[],y=[];if(g&&(f.isPadded=g,f.maxLen=String(f.max).length),d<0){let E=c<0?Math.abs(c):1;y=An(E,Math.abs(d),f,n),d=f.a=0}return c>=0&&(b=An(d,c,f,n)),f.negatives=y,f.positives=b,f.result=ya(y,b,n),n.capture===!0?f.result=`(${f.result})`:n.wrap!==!1&&b.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,d]=n[o];l===d?i+=l:l!=="0"||d!=="9"?i+=Ra(l,d,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 d=s[l],c=ma(String(a),String(d),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=d+1;continue}r.isPadded&&(g=va(d,r,n)),c.string=g+c.pattern+Pn(c.count),i.push(c),a=d+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=B("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),d=String(r);r=Math.max(Math.abs(r),1);let c=bt(o)||bt(l)||bt(d),g=c?Math.max(o.length,l.length,d.length):0,f=c===!1&&xa(t,e,n)===!1,b=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)),w=[],L=0;for(;a?s>=i:s<=i;)n.toRegex===!0&&r>1?E(s):w.push(Ca(b(s,L),g,f)),s=a?s-r:s+r,L++;return n.toRegex===!0?r>1?Ta(y,n,g):kn(w,null,{wrap:!1,...n}):w},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),d=Math.max(i,a);if(n.toRegex&&r===1)return Ln(l,d,!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?"\\":"",d="";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)d+=r(c,n);return d};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),d=s.queue,c=s;for(;c.type!=="brace"&&c.type!=="root"&&c.parent;)c=c.parent,d=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&&d.push(""),d.push("");continue}if(f.type==="close"){o.push(be(o.pop(),d,l));continue}if(f.value&&f.type!=="open"){d.push(be(d.pop(),f.value));continue}f.nodes&&n(f,s)}return d};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,d=t.length,c=0,g=0,f,b=()=>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<d;)if(a=i[i.length-1],f=b(),!(f===Ka||f===Va)){if(f===xt){y({type:"text",value:(e.keepEscaping?f:"")+b()});continue}if(f===Vn){y({type:"text",value:"\\"+f});continue}if(f===Un){l++;let E;for(;c<d&&(E=b());){if(f+=E,E===Un){l++;continue}if(E===xt){f+=b();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,w;for(e.keepQuotes!==!0&&(f="");c<d&&(w=b());){if(w===xt){f+=w+b();continue}if(w===E){e.keepQuotes===!0&&(f+=w);break}f+=w}y({type:"text",value:f});continue}if(f===ja){g++;let w={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(w),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 w=E[E.length-1];w.value+=o.value+f,o=w,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(L=>{L.nodes||(L.type==="open"&&(L.isOpen=!0),L.type==="close"&&(L.isClose=!0),L.nodes||(L.type="text"),L.invalid=!0)});let E=i[i.length-1],w=E.nodes.indexOf(a);E.nodes.splice(w,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(),z=(t,e={})=>{let r=[];if(Array.isArray(t))for(let n of t){let s=z.create(n,e);Array.isArray(s)?r.push(...s):r.push(s)}else r=[].concat(z.create(t,e));return e&&e.expand===!0&&e.nodupes===!0&&(r=[...new Set(r)]),r};z.parse=(t,e={})=>Za(t,e);z.stringify=(t,e={})=>Yn(typeof t=="string"?z.parse(t,e):t,e);z.compile=(t,e={})=>(typeof t=="string"&&(t=z.parse(t,e)),Ya(t,e));z.expand=(t,e={})=>{typeof t=="string"&&(t=z.parse(t,e));let r=Xa(t,e);return e.noempty===!0&&(r=r.filter(Boolean)),e.nodupes===!0&&(r=[...new Set(r)]),r};z.create=(t,e={})=>t===""||t.length<3?[t]:e.expand!==!0?z.compile(t,e):z.expand(t,e);Xn.exports=z});var Me=m((Ml,rs)=>{"use strict";u();var za=B("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=B("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,d=-1,c=0,g=0,f=!1,b=!1,y=!1,E=!1,w=!1,L=!1,U=!1,N=!1,ee=!1,C=!1,$=0,P,v,k={value:"",depth:0,isGlob:!1},G=()=>d>=n,_=()=>l.charCodeAt(d+1),I=()=>(P=v,l.charCodeAt(++d));for(;d<n;){v=I();let Q;if(v===Ne){U=k.backslashes=!0,v=I(),v===kt&&(L=!0);continue}if(L===!0||v===kt){for($++;G()!==!0&&(v=I());){if(v===Ne){U=k.backslashes=!0,I();continue}if(v===kt){$++;continue}if(L!==!0&&v===wt&&(v=I())===wt){if(f=k.isBrace=!0,y=k.isGlob=!0,C=!0,s===!0)continue;break}if(L!==!0&&v===So){if(f=k.isBrace=!0,y=k.isGlob=!0,C=!0,s===!0)continue;break}if(v===Ao&&($--,$===0)){L=!1,f=k.isBrace=!0,C=!0;break}}if(s===!0)continue;break}if(v===us){if(i.push(d),a.push(k),k={value:"",depth:0,isGlob:!1},C===!0)continue;if(P===wt&&d===c+1){c+=2;continue}g=d+1;continue}if(r.noext!==!0&&(v===Eo||v===yo||v===Ot||v===ss||v===Lt)===!0&&_()===Ht){if(y=k.isGlob=!0,E=k.isExtglob=!0,C=!0,v===Lt&&d===c&&(ee=!0),s===!0){for(;G()!==!0&&(v=I());){if(v===Ne){U=k.backslashes=!0,v=I();continue}if(v===is){y=k.isGlob=!0,C=!0;break}}continue}break}if(v===Ot){if(P===Ot&&(w=k.isGlobstar=!0),y=k.isGlob=!0,C=!0,s===!0)continue;break}if(v===ss){if(y=k.isGlob=!0,C=!0,s===!0)continue;break}if(v===mo){for(;G()!==!0&&(Q=I());){if(Q===Ne){U=k.backslashes=!0,I();continue}if(Q===Ro){b=k.isBracket=!0,y=k.isGlob=!0,C=!0;break}}if(s===!0)continue;break}if(r.nonegate!==!0&&v===Lt&&d===c){N=k.negated=!0,c++;continue}if(r.noparen!==!0&&v===Ht){if(y=k.isGlob=!0,s===!0){for(;G()!==!0&&(v=I());){if(v===Ht){U=k.backslashes=!0,v=I();continue}if(v===is){C=!0;break}}continue}break}if(y===!0){if(C=!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:b,isGlob:y,isExtglob:E,isGlobstar:w,negated:N,negatedExtglob:ee};if(r.tokens===!0&&(p.maxDepth=0,as(v)||a.push(k),p.tokens=a),r.parts===!0||r.tokens===!0){let Q;for(let O=0;O<i.length;O++){let ae=Q?Q+1:c,oe=i[O],Z=t.slice(ae,oe);r.tokens&&(O===0&&c!==0?(a[O].isPrefix=!0,a[O].value=de):a[O].value=Z,os(a[O]),p.maxDepth+=a[O].depth),(O!==0||Z!=="")&&o.push(Z),Q=oe}if(Q&&Q+1<t.length){let O=t.slice(Q+1);o.push(O),r.tokens&&(a[a.length-1].value=O,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(),J=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=>J.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=J.isWindows(e),d=Ye.globChars(l),c=Ye.extglobChars(d),{DOT_LITERAL:g,PLUS_LITERAL:f,SLASH_LITERAL:b,ONE_CHAR:y,DOTS_SLASH:E,NO_DOT:w,NO_DOT_SLASH:L,NO_DOTS_SLASH:U,QMARK:N,QMARK_NO_DOT:ee,STAR:C,START_ANCHOR:$}=d,P=A=>`(${o}(?:(?!${$}${A.dot?E:g}).)*?)`,v=r.dot?"":w,k=r.dot?N:ee,G=r.bash===!0?P(r):C;r.capture&&(G=`(${G})`),typeof r.noext=="boolean"&&(r.noextglob=r.noext);let _={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=J.removePrefix(t,_),s=t.length;let I=[],H=[],de=[],h=i,p,Q=()=>_.index===s-1,O=_.peek=(A=1)=>t[_.index+A],ae=_.advance=()=>t[++_.index]||"",oe=()=>t.slice(_.index+1),Z=(A="",M=0)=>{_.consumed+=A,_.index+=M},Ie=A=>{_.output+=A.output!=null?A.output:A.value,Z(A.value)},Ui=()=>{let A=1;for(;O()==="!"&&(O(2)!=="("||O(3)==="?");)ae(),_.start++,A++;return A%2===0?!1:(_.negated=!0,_.start++,!0)},qe=A=>{_[A]++,de.push(A)},Re=A=>{_[A]--,de.pop()},T=A=>{if(h.type==="globstar"){let M=_.braces>0&&(A.type==="comma"||A.type==="brace"),S=A.extglob===!0||I.length&&(A.type==="pipe"||A.type==="paren");A.type!=="slash"&&A.type!=="paren"&&!M&&!S&&(_.output=_.output.slice(0,-h.output.length),h.type="star",h.value="*",h.output=G,_.output+=h.output)}if(I.length&&A.type!=="paren"&&(I[I.length-1].inner+=A.value),(A.value||A.output)&&Ie(A),h&&h.type==="text"&&A.type==="text"){h.value+=A.value,h.output=(h.output||"")+A.value;return}A.prev=h,a.push(A),h=A},Be=(A,M)=>{let S={...c[M],conditions:1,inner:""};S.prev=h,S.parens=_.parens,S.output=_.output;let x=(r.capture?"(":"")+S.open;qe("parens"),T({type:A,value:M,output:_.output?"":y}),T({type:"paren",extglob:!0,value:ae(),output:x}),I.push(S)},Vi=A=>{let M=A.close+(r.capture?")":""),S;if(A.type==="negate"){let x=G;if(A.inner&&A.inner.length>1&&A.inner.includes("/")&&(x=P(r)),(x!==G||Q()||/^\)+$/.test(oe()))&&(M=A.close=`)$))${x}`),A.inner.includes("*")&&(S=oe())&&/^\.[^\\/.]+$/.test(S)){let q=Mt(S,{...e,fastpaths:!1}).output;M=A.close=`)${q})${x})`}A.prev.type==="bos"&&(_.negatedExtglob=!0)}T({type:"paren",extglob:!0,value:p,output:M}),Re("parens")};if(r.fastpaths!==!1&&!/(^[*!]|[/()[\]{}"])/.test(t)){let A=!1,M=t.replace(xo,(S,x,q,Y,W,yt)=>Y==="\\"?(A=!0,S):Y==="?"?x?x+Y+(W?N.repeat(W.length):""):yt===0?k+(W?N.repeat(W.length):""):N.repeat(q.length):Y==="."?g.repeat(q.length):Y==="*"?x?x+Y+(W?G:""):G:x?S:`\\${S}`);return A===!0&&(r.unescape===!0?M=M.replace(/\\/g,""):M=M.replace(/\\+/g,S=>S.length%2===0?"\\\\":S?"\\":"")),M===t&&r.contains===!0?(_.output=t,_):(_.output=J.wrapOutput(M,_,e),_)}for(;!Q();){if(p=ae(),p==="\0")continue;if(p==="\\"){let S=O();if(S==="/"&&r.bash!==!0||S==="."||S===";")continue;if(!S){p+="\\",T({type:"text",value:p});continue}let x=/^\\+/.exec(oe()),q=0;if(x&&x[0].length>2&&(q=x[0].length,_.index+=q,q%2!==0&&(p+="\\")),r.unescape===!0?p=ae():p+=ae(),_.brackets===0){T({type:"text",value:p});continue}}if(_.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("["),q=h.value.slice(0,x),Y=h.value.slice(x+2),W=bo[Y];if(W){h.value=q+W,_.backtrack=!0,ae(),!i.output&&a.indexOf(h)===1&&(i.output=y);continue}}}(p==="["&&O()!==":"||p==="-"&&O()==="]")&&(p=`\\${p}`),p==="]"&&(h.value==="["||h.value==="[^")&&(p=`\\${p}`),r.posix===!0&&p==="!"&&h.value==="["&&(p="^"),h.value+=p,Ie({value:p});continue}if(_.quotes===1&&p!=='"'){p=J.escapeRegex(p),h.value+=p,Ie({value:p});continue}if(p==='"'){_.quotes=_.quotes===1?0:1,r.keepQuotes===!0&&T({type:"text",value:p});continue}if(p==="("){qe("parens"),T({type:"paren",value:p});continue}if(p===")"){if(_.parens===0&&r.strictBrackets===!0)throw new SyntaxError(Te("opening","("));let S=I[I.length-1];if(S&&_.parens===S.parens+1){Vi(I.pop());continue}T({type:"paren",value:p,output:_.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");T({type:"bracket",value:p});continue}if(p==="]"){if(r.nobracket===!0||h&&h.type==="bracket"&&h.value.length===1){T({type:"text",value:p,output:`\\${p}`});continue}if(_.brackets===0){if(r.strictBrackets===!0)throw new SyntaxError(Te("opening","["));T({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||J.hasRegexChars(S))continue;let x=J.escapeRegex(h.value);if(_.output=_.output.slice(0,-h.value.length),r.literalBrackets===!0){_.output+=x,h.value=x;continue}h.value=`(${o}${x}|${h.value})`,_.output+=h.value;continue}if(p==="{"&&r.nobrace!==!0){qe("braces");let S={type:"brace",value:p,output:"(",outputIndex:_.output.length,tokensIndex:_.tokens.length};H.push(S),T(S);continue}if(p==="}"){let S=H[H.length-1];if(r.nobrace===!0||!S){T({type:"text",value:p,output:p});continue}let x=")";if(S.dots===!0){let q=a.slice(),Y=[];for(let W=q.length-1;W>=0&&(a.pop(),q[W].type!=="brace");W--)q[W].type!=="dots"&&Y.unshift(q[W].value);x=Co(Y,r),_.backtrack=!0}if(S.comma!==!0&&S.dots!==!0){let q=_.output.slice(0,S.outputIndex),Y=_.tokens.slice(S.tokensIndex);S.value=S.output="\\{",p=x="\\}",_.output=q;for(let W of Y)_.output+=W.output||W.value}T({type:"brace",value:p,output:x}),Re("braces"),H.pop();continue}if(p==="|"){I.length>0&&I[I.length-1].conditions++,T({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="|"),T({type:"comma",value:p,output:S});continue}if(p==="/"){if(h.type==="dot"&&_.index===_.start+1){_.start=_.index+1,_.consumed="",_.output="",a.pop(),h=i;continue}T({type:"slash",value:p,output:b});continue}if(p==="."){if(_.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(_.braces+_.parens===0&&h.type!=="bos"&&h.type!=="slash"){T({type:"text",value:p,output:g});continue}T({type:"dot",value:p,output:g});continue}if(p==="?"){if(!(h&&h.value==="(")&&r.noextglob!==!0&&O()==="("&&O(2)!=="?"){Be("qmark",p);continue}if(h&&h.type==="paren"){let x=O(),q=p;if(x==="<"&&!J.supportsLookbehinds())throw new Error("Node.js v10 or higher is required for regex lookbehinds");(h.value==="("&&!/[!=<:]/.test(x)||x==="<"&&!/<([!=]|\w+>)/.test(oe()))&&(q=`\\${p}`),T({type:"text",value:p,output:q});continue}if(r.dot!==!0&&(h.type==="slash"||h.type==="bos")){T({type:"qmark",value:p,output:ee});continue}T({type:"qmark",value:p,output:N});continue}if(p==="!"){if(r.noextglob!==!0&&O()==="("&&(O(2)!=="?"||!/[!=<:]/.test(O(3)))){Be("negate",p);continue}if(r.nonegate!==!0&&_.index===0){Ui();continue}}if(p==="+"){if(r.noextglob!==!0&&O()==="("&&O(2)!=="?"){Be("plus",p);continue}if(h&&h.value==="("||r.regex===!1){T({type:"plus",value:p,output:f});continue}if(h&&(h.type==="bracket"||h.type==="paren"||h.type==="brace")||_.parens>0){T({type:"plus",value:p});continue}T({type:"plus",value:f});continue}if(p==="@"){if(r.noextglob!==!0&&O()==="("&&O(2)!=="?"){T({type:"at",extglob:!0,value:p,output:""});continue}T({type:"text",value:p});continue}if(p!=="*"){(p==="$"||p==="^")&&(p=`\\${p}`);let S=Po.exec(oe());S&&(p+=S[0],_.index+=S[0].length),T({type:"text",value:p});continue}if(h&&(h.type==="globstar"||h.star===!0)){h.type="star",h.star=!0,h.value+=p,h.output=G,_.backtrack=!0,_.globstar=!0,Z(p);continue}let A=oe();if(r.noextglob!==!0&&/^\([^?]/.test(A)){Be("star",p);continue}if(h.type==="star"){if(r.noglobstar===!0){Z(p);continue}let S=h.prev,x=S.prev,q=S.type==="slash"||S.type==="bos",Y=x&&(x.type==="star"||x.type==="globstar");if(r.bash===!0&&(!q||A[0]&&A[0]!=="/")){T({type:"star",value:p,output:""});continue}let W=_.braces>0&&(S.type==="comma"||S.type==="brace"),yt=I.length&&(S.type==="pipe"||S.type==="paren");if(!q&&S.type!=="paren"&&!W&&!yt){T({type:"star",value:p,output:""});continue}for(;A.slice(0,3)==="/**";){let Fe=t[_.index+4];if(Fe&&Fe!=="/")break;A=A.slice(3),Z("/**",3)}if(S.type==="bos"&&Q()){h.type="globstar",h.value+=p,h.output=P(r),_.output=h.output,_.globstar=!0,Z(p);continue}if(S.type==="slash"&&S.prev.type!=="bos"&&!Y&&Q()){_.output=_.output.slice(0,-(S.output+h.output).length),S.output=`(?:${S.output}`,h.type="globstar",h.output=P(r)+(r.strictSlashes?")":"|$)"),h.value+=p,_.globstar=!0,_.output+=S.output+h.output,Z(p);continue}if(S.type==="slash"&&S.prev.type!=="bos"&&A[0]==="/"){let Fe=A[1]!==void 0?"|$":"";_.output=_.output.slice(0,-(S.output+h.output).length),S.output=`(?:${S.output}`,h.type="globstar",h.output=`${P(r)}${b}|${b}${Fe})`,h.value+=p,_.output+=S.output+h.output,_.globstar=!0,Z(p+ae()),T({type:"slash",value:"/",output:""});continue}if(S.type==="bos"&&A[0]==="/"){h.type="globstar",h.value+=p,h.output=`(?:^|${b}|${P(r)}${b})`,_.output=h.output,_.globstar=!0,Z(p+ae()),T({type:"slash",value:"/",output:""});continue}_.output=_.output.slice(0,-h.output.length),h.type="globstar",h.output=P(r),h.value+=p,_.output+=h.output,_.globstar=!0,Z(p);continue}let M={type:"star",value:p,output:G};if(r.bash===!0){M.output=".*?",(h.type==="bos"||h.type==="slash")&&(M.output=v+M.output),T(M);continue}if(h&&(h.type==="bracket"||h.type==="paren")&&r.regex===!0){M.output=p,T(M);continue}(_.index===_.start||h.type==="slash"||h.type==="dot")&&(h.type==="dot"?(_.output+=L,h.output+=L):r.dot===!0?(_.output+=U,h.output+=U):(_.output+=v,h.output+=v),O()!=="*"&&(_.output+=y,h.output+=y)),T(M)}for(;_.brackets>0;){if(r.strictBrackets===!0)throw new SyntaxError(Te("closing","]"));_.output=J.escapeLast(_.output,"["),Re("brackets")}for(;_.parens>0;){if(r.strictBrackets===!0)throw new SyntaxError(Te("closing",")"));_.output=J.escapeLast(_.output,"("),Re("parens")}for(;_.braces>0;){if(r.strictBrackets===!0)throw new SyntaxError(Te("closing","}"));_.output=J.escapeLast(_.output,"{"),Re("braces")}if(r.strictSlashes!==!0&&(h.type==="star"||h.type==="bracket")&&T({type:"maybe_slash",value:"",output:`${b}?`}),_.backtrack===!0){_.output="";for(let A of _.tokens)_.output+=A.output!=null?A.output:A.value,A.suffix&&(_.output+=A.suffix)}return _};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=J.isWindows(e),{DOT_LITERAL:a,SLASH_LITERAL:o,ONE_CHAR:l,DOTS_SLASH:d,NO_DOT:c,NO_DOTS:g,NO_DOTS_SLASH:f,STAR:b,START_ANCHOR:y}=Ye.globChars(i),E=r.dot?g:c,w=r.dot?f:c,L=r.capture?"":"?:",U={negated:!1,prefix:""},N=r.bash===!0?".*?":b;r.capture&&(N=`(${N})`);let ee=v=>v.noglobstar===!0?N:`(${L}(?:(?!${y}${v.dot?d:a}).)*?)`,C=v=>{switch(v){case"*":return`${E}${l}${N}`;case".*":return`${a}${l}${N}`;case"*.*":return`${E}${N}${a}${l}${N}`;case"*/*":return`${E}${N}${o}${l}${w}${N}`;case"**":return E+ee(r);case"**/*":return`(?:${E}${ee(r)}${o})?${w}${l}${N}`;case"**/*.*":return`(?:${E}${ee(r)}${o})?${w}${N}${a}${l}${N}`;case"**/.*":return`(?:${E}${ee(r)}${o})?${a}${l}${N}`;default:{let k=/^(.*?)\.(\w+)$/.exec(v);if(!k)return;let G=C(k[1]);return G?G+a+k[2]:void 0}}},$=J.removePrefix(t,U),P=C($);return P&&r.strictSlashes!==!0&&(P+=`${o}?`),P};hs.exports=Mt});var _s=m((jl,ds)=>{"use strict";u();var To=B("path"),Oo=ls(),Dt=ps(),Nt=De(),wo=Me(),Lo=t=>t&&typeof t=="object"&&!Array.isArray(t),F=(t,e,r=!1)=>{if(Array.isArray(t)){let c=t.map(f=>F(f,e,r));return f=>{for(let b of c){let y=b(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?F.compileRe(t,e):F.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=F(s.ignore,c,r)}let d=(c,g=!1)=>{let{isMatch:f,match:b,output:y}=F.test(c,a,e,{glob:t,posix:i}),E={glob:t,state:o,regex:a,posix:i,input:c,output:y,match:b,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&&(d.state=o),d};F.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=F.matchBase(t,e,r,s):o=e.exec(l)),{isMatch:!!o,match:o,output:l}};F.matchBase=(t,e,r,n=Nt.isWindows(r))=>(e instanceof RegExp?e:F.makeRe(e,r)).test(To.basename(t));F.isMatch=(t,e,r)=>F(e,r)(t);F.parse=(t,e)=>Array.isArray(t)?t.map(r=>F.parse(r,e)):Dt(t,{...e,fastpaths:!1});F.scan=(t,e)=>Oo(t,e);F.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=F.toRegex(o,e);return n===!0&&(l.state=t),l};F.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)),F.compileRe(s,e,r,n)};F.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/$^/}};F.constants=wo;ds.exports=F});var ys=m((Gl,gs)=>{"use strict";u();gs.exports=_s()});var vs=m((Vl,Rs)=>{"use strict";u();var ms=B("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 b of t){let y=g(b,!0);(f?!y.isMatch:y.isMatch)&&(f?n.add(y.output):(n.delete(y.output),s.add(y.output)))}}let d=(a===e.length?[...i]:[...s]).filter(c=>!n.has(c));if(r&&d.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};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(R=>{"use strict";u();Object.defineProperty(R,"__esModule",{value:!0});R.isAbsolute=R.partitionAbsoluteAndRelative=R.removeDuplicateSlashes=R.matchAny=R.convertPatternsToRe=R.makeRe=R.getPatternParts=R.expandBraceExpansion=R.expandPatternsWithBraceExpansion=R.isAffectDepthOfReadingPattern=R.endsWithSlashGlobStar=R.hasGlobStar=R.getBaseDirectory=R.isPatternRelatedToParentDirectory=R.getPatternsOutsideCurrentDirectory=R.getPatternsInsideCurrentDirectory=R.getPositivePatterns=R.getNegativePatterns=R.isPositivePattern=R.isNegativePattern=R.convertToNegativePattern=R.convertToPositivePattern=R.isDynamicPattern=R.isStaticPattern=void 0;var bs=B("path"),ko=_n(),It=vs(),Ps="**",Ho="\\",Mo=/[*?]|^!/,Do=/\[[^[]*]/,No=/(?:^|[^!*+?@])\([^(]*\|[^|]*\)/,$o=/[!*+?@]\([^(]*\)/,Io=/,|\.\./,qo=/(?!^)\/{2,}/g;function xs(t,e={}){return!Cs(t,e)}R.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))}R.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}R.convertToPositivePattern=Fo;function jo(t){return"!"+t}R.convertToNegativePattern=jo;function Ze(t){return t.startsWith("!")&&t[1]!=="("}R.isNegativePattern=Ze;function Ts(t){return!Ze(t)}R.isPositivePattern=Ts;function Wo(t){return t.filter(Ze)}R.getNegativePatterns=Wo;function Go(t){return t.filter(Ts)}R.getPositivePatterns=Go;function Uo(t){return t.filter(e=>!qt(e))}R.getPatternsInsideCurrentDirectory=Uo;function Vo(t){return t.filter(qt)}R.getPatternsOutsideCurrentDirectory=Vo;function qt(t){return t.startsWith("..")||t.startsWith("./..")}R.isPatternRelatedToParentDirectory=qt;function Ko(t){return ko(t,{flipBackslashes:!1})}R.getBaseDirectory=Ko;function Qo(t){return t.includes(Ps)}R.hasGlobStar=Qo;function Os(t){return t.endsWith("/"+Ps)}R.endsWithSlashGlobStar=Os;function Yo(t){let e=bs.basename(t);return Os(t)||xs(e)}R.isAffectDepthOfReadingPattern=Yo;function Xo(t){return t.reduce((e,r)=>e.concat(ws(r)),[])}R.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!=="")}R.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}R.getPatternParts=Zo;function Ls(t,e){return It.makeRe(t,e)}R.makeRe=Ls;function zo(t,e){return t.map(r=>Ls(r,e))}R.convertPatternsToRe=zo;function Jo(t,e){return e.some(r=>r.test(t))}R.matchAny=Jo;function eu(t){return t.replace(qo,"/")}R.removeDuplicateSlashes=eu;function tu(t){let e=[],r=[];for(let n of t)ks(n)?e.push(n):r.push(n);return[e,r]}R.partitionAbsoluteAndRelative=tu;function ks(t){return bs.isAbsolute(t)}R.isAbsolute=ks});var $s=m((Xl,Ns)=>{"use strict";u();var ru=B("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(d);return}Array.isArray(c)||(c=[c]);let g=c.length+1;function f(){--g>0||(r=!1,l())}function b(y){function E(){y.removeListener("merge2UnpipeEnd",E),y.removeListener("end",E),i&&y.removeListener("error",w),f()}function w(L){a.emit("error",L)}if(y._readableState.endEmitted)return f();y.on("merge2UnpipeEnd",E),y.on("end",E),i&&y.on("error",w),y.pipe(a,{end:!1}),y.resume()}for(let y=0;y<c.length;y++)b(c[y]);f()}function d(){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),d=Bt(o,i,!0);return l.concat(d)}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=B("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 d(){e&&e(l,r),e=null}i?bu(d):d()}function o(l,d,c){r[l]=c,(--n===0||d)&&a(d)}n?s?s.forEach(function(l){t[l](function(d,c){o(l,d,c)})}):t.forEach(function(l,d){l(function(c,g){o(d,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,(d,c)=>{if(d!==null){l(d);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=B("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=B("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:re,saturated:re,pause:c,paused:!1,get concurrency(){return r},set concurrency(C){if(!(C>=1))throw new Error("fastqueue concurrency must be equal to or greater than 1");if(r=C,!l.paused)for(;s&&a<r;)a++,L()},running:d,resume:b,idle:y,length:g,getQueue:f,unshift:w,empty:re,kill:U,killAndDrain:N,error:ee};return l;function d(){return a}function c(){l.paused=!0}function g(){for(var C=s,$=0;C;)C=C.next,$++;return $}function f(){for(var C=s,$=[];C;)$.push(C.value),C=C.next;return $}function b(){if(l.paused){if(l.paused=!1,s===null){a++,L();return}for(;s&&a<r;)a++,L()}}function y(){return a===0&&l.length()===0}function E(C,$){var P=n.get();P.context=t,P.release=L,P.value=C,P.callback=$||re,P.errorHandler=o,a>=r||l.paused?i?(i.next=P,i=P):(s=P,i=P,l.saturated()):(a++,e.call(t,P.value,P.worked))}function w(C,$){var P=n.get();P.context=t,P.release=L,P.value=C,P.callback=$||re,P.errorHandler=o,a>=r||l.paused?s?(P.next=s,s=P):(s=P,i=P,l.saturated()):(a++,e.call(t,P.value,P.worked))}function L(C){C&&n.release(C);var $=s;$&&a<=r?l.paused?a--:(i===s&&(i=null),s=$.next,$.next=null,e.call(t,$.value,$.worked),i===null&&l.empty()):--a===0&&l.drain()}function U(){s=null,i=null,l.drain=re}function N(){s=null,i=null,l.drain(),l.drain=re}function ee(C){o=C}}function re(){}function Yu(){this.value=null,this.callback=re,this.next=null,this.release=re,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=re,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=d,s;function o(c){var g=new Promise(function(f,b){i(c,function(y,E){if(y){b(y);return}f(E)})});return g.catch(re),g}function l(c){var g=new Promise(function(f,b){a(c,function(y,E){if(y){b(y);return}f(E)})});return g.catch(re),g}function d(){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=B("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=B("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=B("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=B("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=B("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,d)=>{let c=i.segments[d];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=B("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=B("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=B("fs"),Qc=B("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(d,c){ie(d);let g=en(d,zc.default,c);return ne.array.flatten(g)}t.sync=e;function r(d,c){ie(d);let g=en(d,Zc.default,c);return ne.stream.merge(g)}t.stream=r;function n(d,c){ie(d);let g=[].concat(d),f=new zr.default(c);return Wi.generate(g,f)}t.generateTasks=n;function s(d,c){ie(d);let g=new zr.default(c);return ne.pattern.isDynamicPattern(d,g)}t.isDynamicPattern=s;function i(d){return ie(d),ne.path.escape(d)}t.escapePath=i;function a(d){return ie(d),ne.path.convertPathToPattern(d)}t.convertPathToPattern=a;let o;(function(d){function c(f){return ie(f),ne.path.escapePosixPath(f)}d.escapePath=c;function g(f){return ie(f),ne.path.convertPosixPathToPattern(f)}d.convertPathToPattern=g})(o=t.posix||(t.posix={}));let l;(function(d){function c(f){return ie(f),ne.path.escapeWindowsPath(f)}d.escapePath=c;function g(f){return ie(f),ne.path.convertWindowsPathToPattern(f)}d.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
+ */
@@ -1,2 +1,2 @@
1
1
  import { createRequire as __createRequire } from 'module';globalThis.require = __createRequire(import.meta.url);
2
- var p=Object.create;var r=Object.defineProperty;var c=Object.getOwnPropertyDescriptor;var f=Object.getOwnPropertyNames;var l=Object.getPrototypeOf,s=Object.prototype.hasOwnProperty;var u=(t=>typeof require<"u"?require:typeof Proxy<"u"?new Proxy(t,{get:(e,o)=>(typeof require<"u"?require:e)[o]}):t)(function(t){if(typeof require<"u")return require.apply(this,arguments);throw Error('Dynamic require of "'+t+'" is not supported')});var _=(t,e)=>()=>(t&&(e=t(t=0)),e);var D=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports),F=(t,e)=>{for(var o in e)r(t,o,{get:e[o],enumerable:!0})},n=(t,e,o,i)=>{if(e&&typeof e=="object"||typeof e=="function")for(let m of f(e))!s.call(t,m)&&m!==o&&r(t,m,{get:()=>e[m],enumerable:!(i=c(e,m))||i.enumerable});return t};var L=(t,e,o)=>(o=t!=null?p(l(t)):{},n(e||!t||!t.__esModule?r(o,"default",{value:t,enumerable:!0}):o,t)),P=t=>n(r({},"__esModule",{value:!0}),t);import{fileURLToPath as d}from"url";import g from"path";var a,h,__dirname,__filename,x=_(()=>{"use strict";a=()=>d(import.meta.url),h=()=>g.dirname(a()),__dirname=h(),__filename=a()});export{u as a,_ as b,D as c,F as d,L as e,P as f,__dirname as g,__filename as h,x as i};
2
+ var p=Object.create;var r=Object.defineProperty;var c=Object.getOwnPropertyDescriptor;var f=Object.getOwnPropertyNames;var l=Object.getPrototypeOf,s=Object.prototype.hasOwnProperty;var u=(t=>typeof require<"u"?require:typeof Proxy<"u"?new Proxy(t,{get:(e,o)=>(typeof require<"u"?require:e)[o]}):t)(function(t){if(typeof require<"u")return require.apply(this,arguments);throw Error('Dynamic require of "'+t+'" is not supported')});var _=(t,e)=>()=>(t&&(e=t(t=0)),e);var D=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports),F=(t,e)=>{for(var o in e)r(t,o,{get:e[o],enumerable:!0})},n=(t,e,o,i)=>{if(e&&typeof e=="object"||typeof e=="function")for(let m of f(e))!s.call(t,m)&&m!==o&&r(t,m,{get:()=>e[m],enumerable:!(i=c(e,m))||i.enumerable});return t};var L=(t,e,o)=>(o=t!=null?p(l(t)):{},n(e||!t||!t.__esModule?r(o,"default",{value:t,enumerable:!0}):o,t)),P=t=>n(r({},"__esModule",{value:!0}),t);import d from"path";import{fileURLToPath as g}from"url";var a,h,__dirname,__filename,x=_(()=>{"use strict";a=()=>g(import.meta.url),h=()=>d.dirname(a()),__dirname=h(),__filename=a()});export{u as a,_ as b,D as c,F as d,L as e,P as f,__dirname as g,__filename as h,x as i};
@@ -0,0 +1,3 @@
1
+ import { createRequire as __createRequire } from 'module';globalThis.require = __createRequire(import.meta.url);
2
+ import{a as bt,c as Fe}from"./chunk-CJKPLQJ7.js";import{a as I,c as N,i as h}from"./chunk-LBUW5UHX.js";var Pe=N((Sr,Te)=>{"use strict";h();Te.exports=e=>{let t=/^\\\\\?\\/.test(e),r=/[^\u0000-\u0080]+/.test(e);return t||r?e:e.replace(/\\/g,"/")}});var $e=N((vr,Re)=>{"use strict";h();Re.exports=(...e)=>[...new Set([].concat(...e))]});var Le=N(q=>{"use strict";h();var{promisify:xt}=I("util"),Ae=I("fs");async function ie(e,t,r){if(typeof r!="string")throw new TypeError(`Expected a string, got ${typeof r}`);try{return(await xt(Ae[e])(r))[t]()}catch(n){if(n.code==="ENOENT")return!1;throw n}}function oe(e,t,r){if(typeof r!="string")throw new TypeError(`Expected a string, got ${typeof r}`);try{return Ae[e](r)[t]()}catch(n){if(n.code==="ENOENT")return!1;throw n}}q.isFile=ie.bind(null,"stat","isFile");q.isDirectory=ie.bind(null,"stat","isDirectory");q.isSymlink=ie.bind(null,"lstat","isSymbolicLink");q.isFileSync=oe.bind(null,"statSync","isFile");q.isDirectorySync=oe.bind(null,"statSync","isDirectory");q.isSymlinkSync=oe.bind(null,"lstatSync","isSymbolicLink")});var Ge=N((Fr,ce)=>{"use strict";h();var M=I("path"),Ne=Le(),De=e=>e.length>1?`{${e.join(",")}}`:e[0],Ie=(e,t)=>{let r=e[0]==="!"?e.slice(1):e;return M.isAbsolute(r)?r:M.join(t,r)},Ot=(e,t)=>M.extname(e)?`**/${e}`:`**/${e}.${De(t)}`,je=(e,t)=>{if(t.files&&!Array.isArray(t.files))throw new TypeError(`Expected \`files\` to be of type \`Array\` but received type \`${typeof t.files}\``);if(t.extensions&&!Array.isArray(t.extensions))throw new TypeError(`Expected \`extensions\` to be of type \`Array\` but received type \`${typeof t.extensions}\``);return t.files&&t.extensions?t.files.map(r=>M.posix.join(e,Ot(r,t.extensions))):t.files?t.files.map(r=>M.posix.join(e,`**/${r}`)):t.extensions?[M.posix.join(e,`**/*.${De(t.extensions)}`)]:[M.posix.join(e,"**")]};ce.exports=async(e,t)=>{if(t={cwd:process.cwd(),...t},typeof t.cwd!="string")throw new TypeError(`Expected \`cwd\` to be of type \`string\` but received type \`${typeof t.cwd}\``);let r=await Promise.all([].concat(e).map(async n=>await Ne.isDirectory(Ie(n,t.cwd))?je(n,t):n));return[].concat.apply([],r)};ce.exports.sync=(e,t)=>{if(t={cwd:process.cwd(),...t},typeof t.cwd!="string")throw new TypeError(`Expected \`cwd\` to be of type \`string\` but received type \`${typeof t.cwd}\``);let r=[].concat(e).map(n=>Ne.isDirectorySync(Ie(n,t.cwd))?je(n,t):n);return[].concat.apply([],r)}});var Be=N((Pr,Ue)=>{"use strict";h();function Ce(e){return Array.isArray(e)?e:[e]}var ue="",qe=" ",se="\\",Ft=/^\s+$/,Tt=/(?:[^\\]|^)\\$/,Pt=/^\\!/,Rt=/^\\#/,$t=/\r?\n/g,At=/^\.*\/|^\.+$/,ae="/",ke="node-ignore";typeof Symbol<"u"&&(ke=Symbol.for("node-ignore"));var Me=ke,Lt=(e,t,r)=>Object.defineProperty(e,t,{value:r}),Nt=/([0-z])-([0-z])/g,Ye=()=>!1,Dt=e=>e.replace(Nt,(t,r,n)=>r.charCodeAt(0)<=n.charCodeAt(0)?t:ue),It=e=>{let{length:t}=e;return e.slice(0,t-t%2)},jt=[[/^\uFEFF/,()=>ue],[/((?:\\\\)*?)(\\?\s+)$/,(e,t,r)=>t+(r.indexOf("\\")===0?qe:ue)],[/(\\+?)\s/g,(e,t)=>{let{length:r}=t;return t.slice(0,r-r%2)+qe}],[/[\\$.|*+(){^]/g,e=>`\\${e}`],[/(?!\\)\?/g,()=>"[^/]"],[/^\//,()=>"^"],[/\//g,()=>"\\/"],[/^\^*\\\*\\\*\\\//,()=>"^(?:.*\\/)?"],[/^(?=[^^])/,function(){return/\/(?!$)/.test(this)?"^":"(?:^|\\/)"}],[/\\\/\\\*\\\*(?=\\\/|$)/g,(e,t,r)=>t+6<r.length?"(?:\\/[^\\/]+)*":"\\/.+"],[/(^|[^\\]+)(\\\*)+(?=.+)/g,(e,t,r)=>{let n=r.replace(/\\\*/g,"[^\\/]*");return t+n}],[/\\\\\\(?=[$.|*+(){^])/g,()=>se],[/\\\\/g,()=>se],[/(\\)?\[([^\]/]*?)(\\*)($|\])/g,(e,t,r,n,o)=>t===se?`\\[${r}${It(n)}${o}`:o==="]"&&n.length%2===0?`[${Dt(r)}${n}]`:"[]"],[/(?:[^*])$/,e=>/\/$/.test(e)?`${e}$`:`${e}(?=$|\\/$)`],[/(\^|\\\/)?\\\*$/,(e,t)=>`${t?`${t}[^/]+`:"[^/]*"}(?=$|\\/$)`]],We=Object.create(null),Gt=(e,t)=>{let r=We[e];return r||(r=jt.reduce((n,[o,s])=>n.replace(o,s.bind(e)),e),We[e]=r),t?new RegExp(r,"i"):new RegExp(r)},de=e=>typeof e=="string",Ct=e=>e&&de(e)&&!Ft.test(e)&&!Tt.test(e)&&e.indexOf("#")!==0,qt=e=>e.split($t),le=class{constructor(t,r,n,o){this.origin=t,this.pattern=r,this.negative=n,this.regex=o}},Mt=(e,t)=>{let r=e,n=!1;e.indexOf("!")===0&&(n=!0,e=e.substr(1)),e=e.replace(Pt,"!").replace(Rt,"#");let o=Gt(e,t);return new le(r,e,n,o)},Wt=(e,t)=>{throw new t(e)},j=(e,t,r)=>de(e)?e?j.isNotRelative(e)?r(`path should be a \`path.relative()\`d string, but got "${t}"`,RangeError):!0:r("path must not be empty",TypeError):r(`path must be a string, but got \`${t}\``,TypeError),Xe=e=>At.test(e);j.isNotRelative=Xe;j.convert=e=>e;var fe=class{constructor({ignorecase:t=!0,ignoreCase:r=t,allowRelativePaths:n=!1}={}){Lt(this,Me,!0),this._rules=[],this._ignoreCase=r,this._allowRelativePaths=n,this._initCache()}_initCache(){this._ignoreCache=Object.create(null),this._testCache=Object.create(null)}_addPattern(t){if(t&&t[Me]){this._rules=this._rules.concat(t._rules),this._added=!0;return}if(Ct(t)){let r=Mt(t,this._ignoreCase);this._added=!0,this._rules.push(r)}}add(t){return this._added=!1,Ce(de(t)?qt(t):t).forEach(this._addPattern,this),this._added&&this._initCache(),this}addPattern(t){return this.add(t)}_testOne(t,r){let n=!1,o=!1;return this._rules.forEach(s=>{let{negative:d}=s;if(o===d&&n!==o||d&&!n&&!o&&!r)return;s.regex.test(t)&&(n=!d,o=d)}),{ignored:n,unignored:o}}_test(t,r,n,o){let s=t&&j.convert(t);return j(s,t,this._allowRelativePaths?Ye:Wt),this._t(s,r,n,o)}_t(t,r,n,o){if(t in r)return r[t];if(o||(o=t.split(ae)),o.pop(),!o.length)return r[t]=this._testOne(t,n);let s=this._t(o.join(ae)+ae,r,n,o);return r[t]=s.ignored?s:this._testOne(t,n)}ignores(t){return this._test(t,this._ignoreCache,!1).ignored}createFilter(){return t=>!this.ignores(t)}filter(t){return Ce(t).filter(this.createFilter())}test(t){return this._test(t,this._testCache,!0)}},B=e=>new fe(e),kt=e=>j(e&&j.convert(e),e,Ye);B.isPathValid=kt;B.default=B;Ue.exports=B;if(typeof process<"u"&&(process.env&&process.env.IGNORE_TEST_WIN32||process.platform==="win32")){let e=r=>/^\\\\\?\\/.test(r)||/["<>|\u0000-\u001F]+/u.test(r)?r:r.replace(/\\/g,"/");j.convert=e;let t=/^[a-z]:\//i;j.isNotRelative=r=>t.test(r)||Xe(r)}});var Ze=N(($r,pe)=>{"use strict";h();var{promisify:Yt}=I("util"),Ke=I("fs"),G=I("path"),ze=Fe(),Xt=Be(),U=Pe(),He=["**/node_modules/**","**/flow-typed/**","**/coverage/**","**/.git"],Ut=Yt(Ke.readFile),Bt=e=>t=>t.startsWith("!")?"!"+G.posix.join(e,t.slice(1)):G.posix.join(e,t),Kt=(e,t)=>{let r=U(G.relative(t.cwd,G.dirname(t.fileName)));return e.split(/\r?\n/).filter(Boolean).filter(n=>!n.startsWith("#")).map(Bt(r))},Ve=e=>{let t=Xt();for(let r of e)t.add(Kt(r.content,{cwd:r.cwd,fileName:r.filePath}));return t},zt=(e,t)=>{if(e=U(e),G.isAbsolute(t)){if(U(t).startsWith(e))return t;throw new Error(`Path ${t} is not in cwd ${e}`)}return G.join(e,t)},Qe=(e,t)=>r=>e.ignores(U(G.relative(t,zt(t,r.path||r)))),Ht=async(e,t)=>{let r=G.join(t,e),n=await Ut(r,"utf8");return{cwd:t,filePath:r,content:n}},Vt=(e,t)=>{let r=G.join(t,e),n=Ke.readFileSync(r,"utf8");return{cwd:t,filePath:r,content:n}},Je=({ignore:e=[],cwd:t=U(process.cwd())}={})=>({ignore:e,cwd:t});pe.exports=async e=>{e=Je(e);let t=await ze("**/.gitignore",{ignore:He.concat(e.ignore),cwd:e.cwd}),r=await Promise.all(t.map(o=>Ht(o,e.cwd))),n=Ve(r);return Qe(n,e.cwd)};pe.exports.sync=e=>{e=Je(e);let r=ze.sync("**/.gitignore",{ignore:He.concat(e.ignore),cwd:e.cwd}).map(o=>Vt(o,e.cwd)),n=Ve(r);return Qe(n,e.cwd)}});var tt=N((Lr,et)=>{"use strict";h();var{Transform:Qt}=I("stream"),K=class extends Qt{constructor(){super({objectMode:!0})}},ye=class extends K{constructor(t){super(),this._filter=t}_transform(t,r,n){this._filter(t)&&this.push(t),n()}},he=class extends K{constructor(){super(),this._pushed=new Set}_transform(t,r,n){this._pushed.has(t)||(this.push(t),this._pushed.add(t)),n()}};et.exports={FilterStream:ye,UniqueStream:he}});var or=N((Dr,W)=>{"use strict";h();var nt=I("fs"),z=$e(),Jt=bt(),H=Fe(),V=Ge(),ge=Ze(),{FilterStream:Zt,UniqueStream:er}=tt(),it=()=>!1,rt=e=>e[0]==="!",tr=e=>{if(!e.every(t=>typeof t=="string"))throw new TypeError("Patterns must be a string or an array of strings")},rr=(e={})=>{if(!e.cwd)return;let t;try{t=nt.statSync(e.cwd)}catch{return}if(!t.isDirectory())throw new Error("The `cwd` option must be a path to a directory")},nr=e=>e.stats instanceof nt.Stats?e.path:e,Q=(e,t)=>{e=z([].concat(e)),tr(e),rr(t);let r=[];t={ignore:[],expandDirectories:!0,...t};for(let[n,o]of e.entries()){if(rt(o))continue;let s=e.slice(n).filter(p=>rt(p)).map(p=>p.slice(1)),d={...t,ignore:t.ignore.concat(s)};r.push({pattern:o,options:d})}return r},ir=(e,t)=>{let r={};return e.options.cwd&&(r.cwd=e.options.cwd),Array.isArray(e.options.expandDirectories)?r={...r,files:e.options.expandDirectories}:typeof e.options.expandDirectories=="object"&&(r={...r,...e.options.expandDirectories}),t(e.pattern,r)},me=(e,t)=>e.options.expandDirectories?ir(e,t):[e.pattern],ot=e=>e&&e.gitignore?ge.sync({cwd:e.cwd,ignore:e.ignore}):it,we=e=>t=>{let{options:r}=e;return r.ignore&&Array.isArray(r.ignore)&&r.expandDirectories&&(r.ignore=V.sync(r.ignore)),{pattern:t,options:r}};W.exports=async(e,t)=>{let r=Q(e,t),n=async()=>t&&t.gitignore?ge({cwd:t.cwd,ignore:t.ignore}):it,o=async()=>{let O=await Promise.all(r.map(async A=>{let i=await me(A,V);return Promise.all(i.map(we(A)))}));return z(...O)},[s,d]=await Promise.all([n(),o()]),p=await Promise.all(d.map(O=>H(O.pattern,O.options)));return z(...p).filter(O=>!s(nr(O)))};W.exports.sync=(e,t)=>{let r=Q(e,t),n=[];for(let d of r){let p=me(d,V.sync).map(we(d));n.push(...p)}let o=ot(t),s=[];for(let d of n)s=z(s,H.sync(d.pattern,d.options));return s.filter(d=>!o(d))};W.exports.stream=(e,t)=>{let r=Q(e,t),n=[];for(let p of r){let O=me(p,V.sync).map(we(p));n.push(...O)}let o=ot(t),s=new Zt(p=>!o(p)),d=new er;return Jt(n.map(p=>H.stream(p.pattern,p.options))).pipe(s).pipe(d)};W.exports.generateGlobTasks=Q;W.exports.hasMagic=(e,t)=>[].concat(e).some(r=>H.isDynamicPattern(r,t));W.exports.gitignore=ge});var st=N((jr,ct)=>{"use strict";h();var C=I("constants"),cr=process.cwd,J=null,sr=process.env.GRACEFUL_FS_PLATFORM||process.platform;process.cwd=function(){return J||(J=cr.call(process)),J};try{process.cwd()}catch{}typeof process.chdir=="function"&&(Ee=process.chdir,process.chdir=function(e){J=null,Ee.call(process,e)},Object.setPrototypeOf&&Object.setPrototypeOf(process.chdir,Ee));var Ee;ct.exports=ar;function ar(e){C.hasOwnProperty("O_SYMLINK")&&process.version.match(/^v0\.6\.[0-2]|^v0\.5\./)&&t(e),e.lutimes||r(e),e.chown=s(e.chown),e.fchown=s(e.fchown),e.lchown=s(e.lchown),e.chmod=n(e.chmod),e.fchmod=n(e.fchmod),e.lchmod=n(e.lchmod),e.chownSync=d(e.chownSync),e.fchownSync=d(e.fchownSync),e.lchownSync=d(e.lchownSync),e.chmodSync=o(e.chmodSync),e.fchmodSync=o(e.fchmodSync),e.lchmodSync=o(e.lchmodSync),e.stat=p(e.stat),e.fstat=p(e.fstat),e.lstat=p(e.lstat),e.statSync=O(e.statSync),e.fstatSync=O(e.fstatSync),e.lstatSync=O(e.lstatSync),e.chmod&&!e.lchmod&&(e.lchmod=function(i,f,u){u&&process.nextTick(u)},e.lchmodSync=function(){}),e.chown&&!e.lchown&&(e.lchown=function(i,f,u,c){c&&process.nextTick(c)},e.lchownSync=function(){}),sr==="win32"&&(e.rename=typeof e.rename!="function"?e.rename:(function(i){function f(u,c,l){var E=Date.now(),m=0;i(u,c,function _(D){if(D&&(D.code==="EACCES"||D.code==="EPERM"||D.code==="EBUSY")&&Date.now()-E<6e4){setTimeout(function(){e.stat(c,function(L,X){L&&L.code==="ENOENT"?i(u,c,_):l(D)})},m),m<100&&(m+=10);return}l&&l(D)})}return Object.setPrototypeOf&&Object.setPrototypeOf(f,i),f})(e.rename)),e.read=typeof e.read!="function"?e.read:(function(i){function f(u,c,l,E,m,_){var D;if(_&&typeof _=="function"){var L=0;D=function(X,xe,Oe){if(X&&X.code==="EAGAIN"&&L<10)return L++,i.call(e,u,c,l,E,m,D);_.apply(this,arguments)}}return i.call(e,u,c,l,E,m,D)}return Object.setPrototypeOf&&Object.setPrototypeOf(f,i),f})(e.read),e.readSync=typeof e.readSync!="function"?e.readSync:(function(i){return function(f,u,c,l,E){for(var m=0;;)try{return i.call(e,f,u,c,l,E)}catch(_){if(_.code==="EAGAIN"&&m<10){m++;continue}throw _}}})(e.readSync);function t(i){i.lchmod=function(f,u,c){i.open(f,C.O_WRONLY|C.O_SYMLINK,u,function(l,E){if(l){c&&c(l);return}i.fchmod(E,u,function(m){i.close(E,function(_){c&&c(m||_)})})})},i.lchmodSync=function(f,u){var c=i.openSync(f,C.O_WRONLY|C.O_SYMLINK,u),l=!0,E;try{E=i.fchmodSync(c,u),l=!1}finally{if(l)try{i.closeSync(c)}catch{}else i.closeSync(c)}return E}}function r(i){C.hasOwnProperty("O_SYMLINK")&&i.futimes?(i.lutimes=function(f,u,c,l){i.open(f,C.O_SYMLINK,function(E,m){if(E){l&&l(E);return}i.futimes(m,u,c,function(_){i.close(m,function(D){l&&l(_||D)})})})},i.lutimesSync=function(f,u,c){var l=i.openSync(f,C.O_SYMLINK),E,m=!0;try{E=i.futimesSync(l,u,c),m=!1}finally{if(m)try{i.closeSync(l)}catch{}else i.closeSync(l)}return E}):i.futimes&&(i.lutimes=function(f,u,c,l){l&&process.nextTick(l)},i.lutimesSync=function(){})}function n(i){return i&&function(f,u,c){return i.call(e,f,u,function(l){A(l)&&(l=null),c&&c.apply(this,arguments)})}}function o(i){return i&&function(f,u){try{return i.call(e,f,u)}catch(c){if(!A(c))throw c}}}function s(i){return i&&function(f,u,c,l){return i.call(e,f,u,c,function(E){A(E)&&(E=null),l&&l.apply(this,arguments)})}}function d(i){return i&&function(f,u,c){try{return i.call(e,f,u,c)}catch(l){if(!A(l))throw l}}}function p(i){return i&&function(f,u,c){typeof u=="function"&&(c=u,u=null);function l(E,m){m&&(m.uid<0&&(m.uid+=4294967296),m.gid<0&&(m.gid+=4294967296)),c&&c.apply(this,arguments)}return u?i.call(e,f,u,l):i.call(e,f,l)}}function O(i){return i&&function(f,u){var c=u?i.call(e,f,u):i.call(e,f);return c&&(c.uid<0&&(c.uid+=4294967296),c.gid<0&&(c.gid+=4294967296)),c}}function A(i){if(!i||i.code==="ENOSYS")return!0;var f=!process.getuid||process.getuid()!==0;return!!(f&&(i.code==="EINVAL"||i.code==="EPERM"))}}});var lt=N((Cr,ut)=>{"use strict";h();var at=I("stream").Stream;ut.exports=ur;function ur(e){return{ReadStream:t,WriteStream:r};function t(n,o){if(!(this instanceof t))return new t(n,o);at.call(this);var s=this;this.path=n,this.fd=null,this.readable=!0,this.paused=!1,this.flags="r",this.mode=438,this.bufferSize=64*1024,o=o||{};for(var d=Object.keys(o),p=0,O=d.length;p<O;p++){var A=d[p];this[A]=o[A]}if(this.encoding&&this.setEncoding(this.encoding),this.start!==void 0){if(typeof this.start!="number")throw TypeError("start must be a Number");if(this.end===void 0)this.end=1/0;else if(typeof this.end!="number")throw TypeError("end must be a Number");if(this.start>this.end)throw new Error("start must be <= end");this.pos=this.start}if(this.fd!==null){process.nextTick(function(){s._read()});return}e.open(this.path,this.flags,this.mode,function(i,f){if(i){s.emit("error",i),s.readable=!1;return}s.fd=f,s.emit("open",f),s._read()})}function r(n,o){if(!(this instanceof r))return new r(n,o);at.call(this),this.path=n,this.fd=null,this.writable=!0,this.flags="w",this.encoding="binary",this.mode=438,this.bytesWritten=0,o=o||{};for(var s=Object.keys(o),d=0,p=s.length;d<p;d++){var O=s[d];this[O]=o[O]}if(this.start!==void 0){if(typeof this.start!="number")throw TypeError("start must be a Number");if(this.start<0)throw new Error("start must be >= zero");this.pos=this.start}this.busy=!1,this._queue=[],this.fd===null&&(this._open=e.open,this._queue.push([this._open,this.path,this.flags,this.mode,void 0]),this.flush())}}});var dt=N((Mr,ft)=>{"use strict";h();ft.exports=fr;var lr=Object.getPrototypeOf||function(e){return e.__proto__};function fr(e){if(e===null||typeof e!="object")return e;if(e instanceof Object)var t={__proto__:lr(e)};else var t=Object.create(null);return Object.getOwnPropertyNames(e).forEach(function(r){Object.defineProperty(t,r,Object.getOwnPropertyDescriptor(e,r))}),t}});var gr=N((kr,ve)=>{"use strict";h();var b=I("fs"),dr=st(),pr=lt(),yr=dt(),Z=I("util"),$,te;typeof Symbol=="function"&&typeof Symbol.for=="function"?($=Symbol.for("graceful-fs.queue"),te=Symbol.for("graceful-fs.previous")):($="___graceful-fs.queue",te="___graceful-fs.previous");function hr(){}function ht(e,t){Object.defineProperty(e,$,{get:function(){return t}})}var k=hr;Z.debuglog?k=Z.debuglog("gfs4"):/\bgfs4\b/i.test(process.env.NODE_DEBUG||"")&&(k=function(){var e=Z.format.apply(Z,arguments);e="GFS4: "+e.split(/\n/).join(`
3
+ GFS4: `),console.error(e)});b[$]||(pt=global[$]||[],ht(b,pt),b.close=(function(e){function t(r,n){return e.call(b,r,function(o){o||yt(),typeof n=="function"&&n.apply(this,arguments)})}return Object.defineProperty(t,te,{value:e}),t})(b.close),b.closeSync=(function(e){function t(r){e.apply(b,arguments),yt()}return Object.defineProperty(t,te,{value:e}),t})(b.closeSync),/\bgfs4\b/i.test(process.env.NODE_DEBUG||"")&&process.on("exit",function(){k(b[$]),I("assert").equal(b[$].length,0)}));var pt;global[$]||ht(global,b[$]);ve.exports=Se(yr(b));process.env.TEST_GRACEFUL_FS_GLOBAL_PATCH&&!b.__patched&&(ve.exports=Se(b),b.__patched=!0);function Se(e){dr(e),e.gracefulify=Se,e.createReadStream=xe,e.createWriteStream=Oe;var t=e.readFile;e.readFile=r;function r(a,g,y){return typeof g=="function"&&(y=g,g=null),T(a,g,y);function T(P,F,v,x){return t(P,F,function(w){w&&(w.code==="EMFILE"||w.code==="ENFILE")?Y([T,[P,F,v],w,x||Date.now(),Date.now()]):typeof v=="function"&&v.apply(this,arguments)})}}var n=e.writeFile;e.writeFile=o;function o(a,g,y,T){return typeof y=="function"&&(T=y,y=null),P(a,g,y,T);function P(F,v,x,w,R){return n(F,v,x,function(S){S&&(S.code==="EMFILE"||S.code==="ENFILE")?Y([P,[F,v,x,w],S,R||Date.now(),Date.now()]):typeof w=="function"&&w.apply(this,arguments)})}}var s=e.appendFile;s&&(e.appendFile=d);function d(a,g,y,T){return typeof y=="function"&&(T=y,y=null),P(a,g,y,T);function P(F,v,x,w,R){return s(F,v,x,function(S){S&&(S.code==="EMFILE"||S.code==="ENFILE")?Y([P,[F,v,x,w],S,R||Date.now(),Date.now()]):typeof w=="function"&&w.apply(this,arguments)})}}var p=e.copyFile;p&&(e.copyFile=O);function O(a,g,y,T){return typeof y=="function"&&(T=y,y=0),P(a,g,y,T);function P(F,v,x,w,R){return p(F,v,x,function(S){S&&(S.code==="EMFILE"||S.code==="ENFILE")?Y([P,[F,v,x,w],S,R||Date.now(),Date.now()]):typeof w=="function"&&w.apply(this,arguments)})}}var A=e.readdir;e.readdir=f;var i=/^v[0-5]\./;function f(a,g,y){typeof g=="function"&&(y=g,g=null);var T=i.test(process.version)?function(v,x,w,R){return A(v,P(v,x,w,R))}:function(v,x,w,R){return A(v,x,P(v,x,w,R))};return T(a,g,y);function P(F,v,x,w){return function(R,S){R&&(R.code==="EMFILE"||R.code==="ENFILE")?Y([T,[F,v,x],R,w||Date.now(),Date.now()]):(S&&S.sort&&S.sort(),typeof x=="function"&&x.call(this,R,S))}}}if(process.version.substr(0,4)==="v0.8"){var u=pr(e);_=u.ReadStream,L=u.WriteStream}var c=e.ReadStream;c&&(_.prototype=Object.create(c.prototype),_.prototype.open=D);var l=e.WriteStream;l&&(L.prototype=Object.create(l.prototype),L.prototype.open=X),Object.defineProperty(e,"ReadStream",{get:function(){return _},set:function(a){_=a},enumerable:!0,configurable:!0}),Object.defineProperty(e,"WriteStream",{get:function(){return L},set:function(a){L=a},enumerable:!0,configurable:!0});var E=_;Object.defineProperty(e,"FileReadStream",{get:function(){return E},set:function(a){E=a},enumerable:!0,configurable:!0});var m=L;Object.defineProperty(e,"FileWriteStream",{get:function(){return m},set:function(a){m=a},enumerable:!0,configurable:!0});function _(a,g){return this instanceof _?(c.apply(this,arguments),this):_.apply(Object.create(_.prototype),arguments)}function D(){var a=this;ne(a.path,a.flags,a.mode,function(g,y){g?(a.autoClose&&a.destroy(),a.emit("error",g)):(a.fd=y,a.emit("open",y),a.read())})}function L(a,g){return this instanceof L?(l.apply(this,arguments),this):L.apply(Object.create(L.prototype),arguments)}function X(){var a=this;ne(a.path,a.flags,a.mode,function(g,y){g?(a.destroy(),a.emit("error",g)):(a.fd=y,a.emit("open",y))})}function xe(a,g){return new e.ReadStream(a,g)}function Oe(a,g){return new e.WriteStream(a,g)}var vt=e.open;e.open=ne;function ne(a,g,y,T){return typeof y=="function"&&(T=y,y=null),P(a,g,y,T);function P(F,v,x,w,R){return vt(F,v,x,function(S,Er){S&&(S.code==="EMFILE"||S.code==="ENFILE")?Y([P,[F,v,x,w],S,R||Date.now(),Date.now()]):typeof w=="function"&&w.apply(this,arguments)})}}return e}function Y(e){k("ENQUEUE",e[0].name,e[1]),b[$].push(e),_e()}var ee;function yt(){for(var e=Date.now(),t=0;t<b[$].length;++t)b[$][t].length>2&&(b[$][t][3]=e,b[$][t][4]=e);_e()}function _e(){if(clearTimeout(ee),ee=void 0,b[$].length!==0){var e=b[$].shift(),t=e[0],r=e[1],n=e[2],o=e[3],s=e[4];if(o===void 0)k("RETRY",t.name,r),t.apply(null,r);else if(Date.now()-o>=6e4){k("TIMEOUT",t.name,r);var d=r.pop();typeof d=="function"&&d.call(null,n)}else{var p=Date.now()-s,O=Math.max(s-o,1),A=Math.min(O*1.2,100);p>=A?(k("RETRY",t.name,r),t.apply(null,r.concat([o]))):b[$].push(e)}ee===void 0&&(ee=setTimeout(_e,0))}}});var mr=N((Xr,gt)=>{"use strict";h();gt.exports=(e,t=1,r)=>{if(r={indent:" ",includeEmptyLines:!1,...r},typeof e!="string")throw new TypeError(`Expected \`input\` to be a \`string\`, got \`${typeof e}\``);if(typeof t!="number")throw new TypeError(`Expected \`count\` to be a \`number\`, got \`${typeof t}\``);if(typeof r.indent!="string")throw new TypeError(`Expected \`options.indent\` to be a \`string\`, got \`${typeof r.indent}\``);if(t===0)return e;let n=r.includeEmptyLines?/^/gm:/^(?!\s*$)/gm;return e.replace(n,r.indent.repeat(t))}});var Et=N((Br,wt)=>{"use strict";h();wt.exports=mt;function mt(e,t){if(e&&t)return mt(e)(t);if(typeof e!="function")throw new TypeError("need wrapper function");return Object.keys(e).forEach(function(n){r[n]=e[n]}),r;function r(){for(var n=new Array(arguments.length),o=0;o<n.length;o++)n[o]=arguments[o];var s=e.apply(this,n),d=n[n.length-1];return typeof s=="function"&&s!==d&&Object.keys(d).forEach(function(p){s[p]=d[p]}),s}}});var wr=N((zr,be)=>{"use strict";h();var St=Et();be.exports=St(re);be.exports.strict=St(_t);re.proto=re(function(){Object.defineProperty(Function.prototype,"once",{value:function(){return re(this)},configurable:!0}),Object.defineProperty(Function.prototype,"onceStrict",{value:function(){return _t(this)},configurable:!0})});function re(e){var t=function(){return t.called?t.value:(t.called=!0,t.value=e.apply(this,arguments))};return t.called=!1,t}function _t(e){var t=function(){if(t.called)throw new Error(t.onceError);return t.called=!0,t.value=e.apply(this,arguments)},r=e.name||"Function wrapped with `once`";return t.onceError=r+" shouldn't be called more than once",t.called=!1,t}});export{mr as a,Pe as b,or as c,gr as d,Et as e,wr as f};
@@ -1,2 +1,2 @@
1
1
  import { createRequire as __createRequire } from 'module';globalThis.require = __createRequire(import.meta.url);
2
- import{a as s,c,i as r}from"./chunk-MNT4XW23.js";var a=c((y,n)=>{"use strict";r();typeof Object.create=="function"?n.exports=function(e,t){t&&(e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}))}:n.exports=function(e,t){if(t){e.super_=t;var f=function(){};f.prototype=t.prototype,e.prototype=new f,e.prototype.constructor=e}}});var u=c((b,i)=>{"use strict";r();try{if(o=s("util"),typeof o.inherits!="function")throw"";i.exports=o.inherits}catch{i.exports=a()}var o});export{u as a};
2
+ import{a as s,c,i as r}from"./chunk-LBUW5UHX.js";var a=c((y,n)=>{"use strict";r();typeof Object.create=="function"?n.exports=function(e,t){t&&(e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}))}:n.exports=function(e,t){if(t){e.super_=t;var f=function(){};f.prototype=t.prototype,e.prototype=new f,e.prototype.constructor=e}}});var u=c((b,i)=>{"use strict";r();try{if(o=s("util"),typeof o.inherits!="function")throw"";i.exports=o.inherits}catch{i.exports=a()}var o});export{u as a};