@argent/x-shared 1.75.4 → 1.75.6

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 (35) hide show
  1. package/dist/node_modules/.pnpm/@noble_hashes@2.0.0/node_modules/@noble/hashes/_md.cjs +1 -0
  2. package/dist/node_modules/.pnpm/@noble_hashes@2.0.0/node_modules/@noble/hashes/_md.js +85 -0
  3. package/dist/node_modules/.pnpm/@noble_hashes@2.0.0/node_modules/@noble/hashes/_u64.cjs +1 -0
  4. package/dist/node_modules/.pnpm/@noble_hashes@2.0.0/node_modules/@noble/hashes/_u64.js +22 -0
  5. package/dist/node_modules/.pnpm/@noble_hashes@2.0.0/node_modules/@noble/hashes/sha2.cjs +1 -0
  6. package/dist/node_modules/.pnpm/@noble_hashes@2.0.0/node_modules/@noble/hashes/sha2.js +124 -0
  7. package/dist/node_modules/.pnpm/@noble_hashes@2.0.0/node_modules/@noble/hashes/sha3.cjs +1 -0
  8. package/dist/node_modules/.pnpm/@noble_hashes@2.0.0/node_modules/@noble/hashes/sha3.js +118 -0
  9. package/dist/node_modules/.pnpm/@noble_hashes@2.0.0/node_modules/@noble/hashes/utils.cjs +1 -0
  10. package/dist/node_modules/.pnpm/@noble_hashes@2.0.0/node_modules/@noble/hashes/utils.js +92 -0
  11. package/dist/node_modules/.pnpm/bignumber.js@9.1.2/node_modules/bignumber.js/bignumber.cjs +1 -1
  12. package/dist/node_modules/.pnpm/bignumber.js@9.1.2/node_modules/bignumber.js/bignumber.js +7 -7
  13. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_isMasked.cjs +1 -1
  14. package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_isMasked.js +2 -2
  15. package/dist/node_modules/.pnpm/numeral@2.0.6/node_modules/numeral/numeral.cjs +1 -1
  16. package/dist/node_modules/.pnpm/numeral@2.0.6/node_modules/numeral/numeral.js +10 -10
  17. package/dist/node_modules/.pnpm/semver@6.3.1/node_modules/semver/semver.cjs +1 -1
  18. package/dist/node_modules/.pnpm/semver@6.3.1/node_modules/semver/semver.js +2 -2
  19. package/dist/src/accountNameGenerator/index.cjs +1 -1
  20. package/dist/src/accountNameGenerator/index.js +1 -1
  21. package/dist/src/utils/id.cjs +1 -1
  22. package/dist/src/utils/id.js +2 -2
  23. package/package.json +13 -13
  24. package/dist/node_modules/.pnpm/@noble_hashes@1.5.0/node_modules/@noble/hashes/esm/_assert.cjs +0 -1
  25. package/dist/node_modules/.pnpm/@noble_hashes@1.5.0/node_modules/@noble/hashes/esm/_assert.js +0 -32
  26. package/dist/node_modules/.pnpm/@noble_hashes@1.5.0/node_modules/@noble/hashes/esm/_md.cjs +0 -1
  27. package/dist/node_modules/.pnpm/@noble_hashes@1.5.0/node_modules/@noble/hashes/esm/_md.js +0 -64
  28. package/dist/node_modules/.pnpm/@noble_hashes@1.5.0/node_modules/@noble/hashes/esm/_u64.cjs +0 -1
  29. package/dist/node_modules/.pnpm/@noble_hashes@1.5.0/node_modules/@noble/hashes/esm/_u64.js +0 -21
  30. package/dist/node_modules/.pnpm/@noble_hashes@1.5.0/node_modules/@noble/hashes/esm/sha256.cjs +0 -1
  31. package/dist/node_modules/.pnpm/@noble_hashes@1.5.0/node_modules/@noble/hashes/esm/sha256.js +0 -115
  32. package/dist/node_modules/.pnpm/@noble_hashes@1.5.0/node_modules/@noble/hashes/esm/sha3.cjs +0 -1
  33. package/dist/node_modules/.pnpm/@noble_hashes@1.5.0/node_modules/@noble/hashes/esm/sha3.js +0 -107
  34. package/dist/node_modules/.pnpm/@noble_hashes@1.5.0/node_modules/@noble/hashes/esm/utils.cjs +0 -1
  35. package/dist/node_modules/.pnpm/@noble_hashes@1.5.0/node_modules/@noble/hashes/esm/utils.js +0 -46
@@ -4,4 +4,4 @@
4
4
  * author : Adam Draper
5
5
  * license : MIT
6
6
  * http://adamwdraper.github.com/Numeral-js/
7
- */var O=B.__module.exports,P;function L(){return P||(P=1,function(S){(function(n,m){S.exports?S.exports=m():n.numeral=m()})(O,function(){var n,m,E="2.0.6",_={},N={},y={currentLocale:"en",zeroFormat:null,nullFormat:null,defaultFormat:"0,0",scalePercentBy100:!0},c={currentLocale:y.currentLocale,zeroFormat:y.zeroFormat,nullFormat:y.nullFormat,defaultFormat:y.defaultFormat,scalePercentBy100:y.scalePercentBy100};function M(e,r){this._input=e,this._value=r}return n=function(e){var r,l,i,t;if(n.isNumeral(e))r=e.value();else if(e===0||typeof e>"u")r=0;else if(e===null||m.isNaN(e))r=null;else if(typeof e=="string")if(c.zeroFormat&&e===c.zeroFormat)r=0;else if(c.nullFormat&&e===c.nullFormat||!e.replace(/[^0-9]+/g,"").length)r=null;else{for(l in _)if(t=typeof _[l].regexps.unformat=="function"?_[l].regexps.unformat():_[l].regexps.unformat,t&&e.match(t)){i=_[l].unformat;break}i=i||n._.stringToNumber,r=i(e)}else r=Number(e)||null;return new M(e,r)},n.version=E,n.isNumeral=function(e){return e instanceof M},n._=m={numberToFormat:function(e,r,l){var i=N[n.options.currentLocale],t=!1,o=!1,a=0,u="",f=1e12,s=1e9,d=1e6,w=1e3,h="",v=!1,p,x,b,g,T,$,F;if(e=e||0,x=Math.abs(e),n._.includes(r,"(")?(t=!0,r=r.replace(/[\(|\)]/g,"")):(n._.includes(r,"+")||n._.includes(r,"-"))&&(T=n._.includes(r,"+")?r.indexOf("+"):e<0?r.indexOf("-"):-1,r=r.replace(/[\+|\-]/g,"")),n._.includes(r,"a")&&(p=r.match(/a(k|m|b|t)?/),p=p?p[1]:!1,n._.includes(r," a")&&(u=" "),r=r.replace(new RegExp(u+"a[kmbt]?"),""),x>=f&&!p||p==="t"?(u+=i.abbreviations.trillion,e=e/f):x<f&&x>=s&&!p||p==="b"?(u+=i.abbreviations.billion,e=e/s):x<s&&x>=d&&!p||p==="m"?(u+=i.abbreviations.million,e=e/d):(x<d&&x>=w&&!p||p==="k")&&(u+=i.abbreviations.thousand,e=e/w)),n._.includes(r,"[.]")&&(o=!0,r=r.replace("[.]",".")),b=e.toString().split(".")[0],g=r.split(".")[1],$=r.indexOf(","),a=(r.split(".")[0].split(",")[0].match(/0/g)||[]).length,g?(n._.includes(g,"[")?(g=g.replace("]",""),g=g.split("["),h=n._.toFixed(e,g[0].length+g[1].length,l,g[1].length)):h=n._.toFixed(e,g.length,l),b=h.split(".")[0],n._.includes(h,".")?h=i.delimiters.decimal+h.split(".")[1]:h="",o&&Number(h.slice(1))===0&&(h="")):b=n._.toFixed(e,0,l),u&&!p&&Number(b)>=1e3&&u!==i.abbreviations.trillion)switch(b=String(Number(b)/1e3),u){case i.abbreviations.thousand:u=i.abbreviations.million;break;case i.abbreviations.million:u=i.abbreviations.billion;break;case i.abbreviations.billion:u=i.abbreviations.trillion;break}if(n._.includes(b,"-")&&(b=b.slice(1),v=!0),b.length<a)for(var k=a-b.length;k>0;k--)b="0"+b;return $>-1&&(b=b.toString().replace(/(\d)(?=(\d{3})+(?!\d))/g,"$1"+i.delimiters.thousands)),r.indexOf(".")===0&&(b=""),F=b+h+(u||""),t?F=(t&&v?"(":"")+F+(t&&v?")":""):T>=0?F=T===0?(v?"-":"+")+F:F+(v?"-":"+"):v&&(F="-"+F),F},stringToNumber:function(e){var r=N[c.currentLocale],l=e,i={thousand:3,million:6,billion:9,trillion:12},t,o,a;if(c.zeroFormat&&e===c.zeroFormat)o=0;else if(c.nullFormat&&e===c.nullFormat||!e.replace(/[^0-9]+/g,"").length)o=null;else{o=1,r.delimiters.decimal!=="."&&(e=e.replace(/\./g,"").replace(r.delimiters.decimal,"."));for(t in i)if(a=new RegExp("[^a-zA-Z]"+r.abbreviations[t]+"(?:\\)|(\\"+r.currency.symbol+")?(?:\\))?)?$"),l.match(a)){o*=Math.pow(10,i[t]);break}o*=(e.split("-").length+Math.min(e.split("(").length-1,e.split(")").length-1))%2?1:-1,e=e.replace(/[^0-9\.]+/g,""),o*=Number(e)}return o},isNaN:function(e){return typeof e=="number"&&isNaN(e)},includes:function(e,r){return e.indexOf(r)!==-1},insert:function(e,r,l){return e.slice(0,l)+r+e.slice(l)},reduce:function(e,r){if(this===null)throw new TypeError("Array.prototype.reduce called on null or undefined");if(typeof r!="function")throw new TypeError(r+" is not a function");var l=Object(e),i=l.length>>>0,t=0,o;if(arguments.length===3)o=arguments[2];else{for(;t<i&&!(t in l);)t++;if(t>=i)throw new TypeError("Reduce of empty array with no initial value");o=l[t++]}for(;t<i;t++)t in l&&(o=r(o,l[t],t,l));return o},multiplier:function(e){var r=e.toString().split(".");return r.length<2?1:Math.pow(10,r[1].length)},correctionFactor:function(){var e=Array.prototype.slice.call(arguments);return e.reduce(function(r,l){var i=m.multiplier(l);return r>i?r:i},1)},toFixed:function(e,r,l,i){var t=e.toString().split("."),o=r-(i||0),a,u,f,s;return t.length===2?a=Math.min(Math.max(t[1].length,o),r):a=o,f=Math.pow(10,a),s=(l(e+"e+"+a)/f).toFixed(a),i>r-a&&(u=new RegExp("\\.?0{1,"+(i-(r-a))+"}$"),s=s.replace(u,"")),s}},n.options=c,n.formats=_,n.locales=N,n.locale=function(e){return e&&(c.currentLocale=e.toLowerCase()),c.currentLocale},n.localeData=function(e){if(!e)return N[c.currentLocale];if(e=e.toLowerCase(),!N[e])throw new Error("Unknown locale : "+e);return N[e]},n.reset=function(){for(var e in y)c[e]=y[e]},n.zeroFormat=function(e){c.zeroFormat=typeof e=="string"?e:null},n.nullFormat=function(e){c.nullFormat=typeof e=="string"?e:null},n.defaultFormat=function(e){c.defaultFormat=typeof e=="string"?e:"0.0"},n.register=function(e,r,l){if(r=r.toLowerCase(),this[e+"s"][r])throw new TypeError(r+" "+e+" already registered.");return this[e+"s"][r]=l,l},n.validate=function(e,r){var l,i,t,o,a,u,f,s;if(typeof e!="string"&&(e+=""),e=e.trim(),e.match(/^\d+$/))return!0;if(e==="")return!1;try{f=n.localeData(r)}catch{f=n.localeData(n.locale())}return t=f.currency.symbol,a=f.abbreviations,l=f.delimiters.decimal,f.delimiters.thousands==="."?i="\\.":i=f.delimiters.thousands,s=e.match(/^[^\d]+/),s!==null&&(e=e.substr(1),s[0]!==t)||(s=e.match(/[^\d]+$/),s!==null&&(e=e.slice(0,-1),s[0]!==a.thousand&&s[0]!==a.million&&s[0]!==a.billion&&s[0]!==a.trillion))?!1:(u=new RegExp(i+"{2}"),e.match(/[^\d.,]/g)?!1:(o=e.split(l),o.length>2?!1:o.length<2?!!o[0].match(/^\d+.*\d$/)&&!o[0].match(u):o[0].length===1?!!o[0].match(/^\d+$/)&&!o[0].match(u)&&!!o[1].match(/^\d+$/):!!o[0].match(/^\d+.*\d$/)&&!o[0].match(u)&&!!o[1].match(/^\d+$/)))},n.fn=M.prototype={clone:function(){return n(this)},format:function(e,r){var l=this._value,i=e||c.defaultFormat,t,o,a;if(r=r||Math.round,l===0&&c.zeroFormat!==null)o=c.zeroFormat;else if(l===null&&c.nullFormat!==null)o=c.nullFormat;else{for(t in _)if(i.match(_[t].regexps.format)){a=_[t].format;break}a=a||n._.numberToFormat,o=a(l,i,r)}return o},value:function(){return this._value},input:function(){return this._input},set:function(e){return this._value=Number(e),this},add:function(e){var r=m.correctionFactor.call(null,this._value,e);function l(i,t,o,a){return i+Math.round(r*t)}return this._value=m.reduce([this._value,e],l,0)/r,this},subtract:function(e){var r=m.correctionFactor.call(null,this._value,e);function l(i,t,o,a){return i-Math.round(r*t)}return this._value=m.reduce([e],l,Math.round(this._value*r))/r,this},multiply:function(e){function r(l,i,t,o){var a=m.correctionFactor(l,i);return Math.round(l*a)*Math.round(i*a)/Math.round(a*a)}return this._value=m.reduce([this._value,e],r,1),this},divide:function(e){function r(l,i,t,o){var a=m.correctionFactor(l,i);return Math.round(l*a)/Math.round(i*a)}return this._value=m.reduce([this._value,e],r),this},difference:function(e){return Math.abs(n(this._value).subtract(e).value())}},n.register("locale","en",{delimiters:{thousands:",",decimal:"."},abbreviations:{thousand:"k",million:"m",billion:"b",trillion:"t"},ordinal:function(e){var r=e%10;return~~(e%100/10)===1?"th":r===1?"st":r===2?"nd":r===3?"rd":"th"},currency:{symbol:"$"}}),function(){n.register("format","bps",{regexps:{format:/(BPS)/,unformat:/(BPS)/},format:function(e,r,l){var i=n._.includes(r," BPS")?" ":"",t;return e=e*1e4,r=r.replace(/\s?BPS/,""),t=n._.numberToFormat(e,r,l),n._.includes(t,")")?(t=t.split(""),t.splice(-1,0,i+"BPS"),t=t.join("")):t=t+i+"BPS",t},unformat:function(e){return+(n._.stringToNumber(e)*1e-4).toFixed(15)}})}(),function(){var e={base:1e3,suffixes:["B","KB","MB","GB","TB","PB","EB","ZB","YB"]},r={base:1024,suffixes:["B","KiB","MiB","GiB","TiB","PiB","EiB","ZiB","YiB"]},l=e.suffixes.concat(r.suffixes.filter(function(t){return e.suffixes.indexOf(t)<0})),i=l.join("|");i="("+i.replace("B","B(?!PS)")+")",n.register("format","bytes",{regexps:{format:/([0\s]i?b)/,unformat:new RegExp(i)},format:function(t,o,a){var u,f=n._.includes(o,"ib")?r:e,s=n._.includes(o," b")||n._.includes(o," ib")?" ":"",d,w,h;for(o=o.replace(/\s?i?b/,""),d=0;d<=f.suffixes.length;d++)if(w=Math.pow(f.base,d),h=Math.pow(f.base,d+1),t===null||t===0||t>=w&&t<h){s+=f.suffixes[d],w>0&&(t=t/w);break}return u=n._.numberToFormat(t,o,a),u+s},unformat:function(t){var o=n._.stringToNumber(t),a,u;if(o){for(a=e.suffixes.length-1;a>=0;a--){if(n._.includes(t,e.suffixes[a])){u=Math.pow(e.base,a);break}if(n._.includes(t,r.suffixes[a])){u=Math.pow(r.base,a);break}}o*=u||1}return o}})}(),function(){n.register("format","currency",{regexps:{format:/(\$)/},format:function(e,r,l){var i=n.locales[n.options.currentLocale],t={before:r.match(/^([\+|\-|\(|\s|\$]*)/)[0],after:r.match(/([\+|\-|\)|\s|\$]*)$/)[0]},o,a,u;for(r=r.replace(/\s?\$\s?/,""),o=n._.numberToFormat(e,r,l),e>=0?(t.before=t.before.replace(/[\-\(]/,""),t.after=t.after.replace(/[\-\)]/,"")):e<0&&!n._.includes(t.before,"-")&&!n._.includes(t.before,"(")&&(t.before="-"+t.before),u=0;u<t.before.length;u++)switch(a=t.before[u],a){case"$":o=n._.insert(o,i.currency.symbol,u);break;case" ":o=n._.insert(o," ",u+i.currency.symbol.length-1);break}for(u=t.after.length-1;u>=0;u--)switch(a=t.after[u],a){case"$":o=u===t.after.length-1?o+i.currency.symbol:n._.insert(o,i.currency.symbol,-(t.after.length-(1+u)));break;case" ":o=u===t.after.length-1?o+" ":n._.insert(o," ",-(t.after.length-(1+u)+i.currency.symbol.length-1));break}return o}})}(),function(){n.register("format","exponential",{regexps:{format:/(e\+|e-)/,unformat:/(e\+|e-)/},format:function(e,r,l){var i,t=typeof e=="number"&&!n._.isNaN(e)?e.toExponential():"0e+0",o=t.split("e");return r=r.replace(/e[\+|\-]{1}0/,""),i=n._.numberToFormat(Number(o[0]),r,l),i+"e"+o[1]},unformat:function(e){var r=n._.includes(e,"e+")?e.split("e+"):e.split("e-"),l=Number(r[0]),i=Number(r[1]);i=n._.includes(e,"e-")?i*=-1:i;function t(o,a,u,f){var s=n._.correctionFactor(o,a),d=o*s*(a*s)/(s*s);return d}return n._.reduce([l,Math.pow(10,i)],t,1)}})}(),function(){n.register("format","ordinal",{regexps:{format:/(o)/},format:function(e,r,l){var i=n.locales[n.options.currentLocale],t,o=n._.includes(r," o")?" ":"";return r=r.replace(/\s?o/,""),o+=i.ordinal(e),t=n._.numberToFormat(e,r,l),t+o}})}(),function(){n.register("format","percentage",{regexps:{format:/(%)/,unformat:/(%)/},format:function(e,r,l){var i=n._.includes(r," %")?" ":"",t;return n.options.scalePercentBy100&&(e=e*100),r=r.replace(/\s?\%/,""),t=n._.numberToFormat(e,r,l),n._.includes(t,")")?(t=t.split(""),t.splice(-1,0,i+"%"),t=t.join("")):t=t+i+"%",t},unformat:function(e){var r=n._.stringToNumber(e);return n.options.scalePercentBy100?r*.01:r}})}(),function(){n.register("format","time",{regexps:{format:/(:)/,unformat:/(:)/},format:function(e,r,l){var i=Math.floor(e/60/60),t=Math.floor((e-i*60*60)/60),o=Math.round(e-i*60*60-t*60);return i+":"+(t<10?"0"+t:t)+":"+(o<10?"0"+o:o)},unformat:function(e){var r=e.split(":"),l=0;return r.length===3?(l=l+Number(r[0])*60*60,l=l+Number(r[1])*60,l=l+Number(r[2])):r.length===2&&(l=l+Number(r[0])*60,l=l+Number(r[1])),Number(l)}})}(),n})}(B.__module)),B.__module.exports}exports.__require=L;
7
+ */var O=B.__module.exports,P;function L(){return P||(P=1,(function(S){(function(n,m){S.exports?S.exports=m():n.numeral=m()})(O,function(){var n,m,E="2.0.6",_={},N={},y={currentLocale:"en",zeroFormat:null,nullFormat:null,defaultFormat:"0,0",scalePercentBy100:!0},c={currentLocale:y.currentLocale,zeroFormat:y.zeroFormat,nullFormat:y.nullFormat,defaultFormat:y.defaultFormat,scalePercentBy100:y.scalePercentBy100};function M(e,r){this._input=e,this._value=r}return n=function(e){var r,l,i,t;if(n.isNumeral(e))r=e.value();else if(e===0||typeof e>"u")r=0;else if(e===null||m.isNaN(e))r=null;else if(typeof e=="string")if(c.zeroFormat&&e===c.zeroFormat)r=0;else if(c.nullFormat&&e===c.nullFormat||!e.replace(/[^0-9]+/g,"").length)r=null;else{for(l in _)if(t=typeof _[l].regexps.unformat=="function"?_[l].regexps.unformat():_[l].regexps.unformat,t&&e.match(t)){i=_[l].unformat;break}i=i||n._.stringToNumber,r=i(e)}else r=Number(e)||null;return new M(e,r)},n.version=E,n.isNumeral=function(e){return e instanceof M},n._=m={numberToFormat:function(e,r,l){var i=N[n.options.currentLocale],t=!1,o=!1,a=0,u="",f=1e12,s=1e9,d=1e6,w=1e3,h="",v=!1,p,x,b,g,T,$,F;if(e=e||0,x=Math.abs(e),n._.includes(r,"(")?(t=!0,r=r.replace(/[\(|\)]/g,"")):(n._.includes(r,"+")||n._.includes(r,"-"))&&(T=n._.includes(r,"+")?r.indexOf("+"):e<0?r.indexOf("-"):-1,r=r.replace(/[\+|\-]/g,"")),n._.includes(r,"a")&&(p=r.match(/a(k|m|b|t)?/),p=p?p[1]:!1,n._.includes(r," a")&&(u=" "),r=r.replace(new RegExp(u+"a[kmbt]?"),""),x>=f&&!p||p==="t"?(u+=i.abbreviations.trillion,e=e/f):x<f&&x>=s&&!p||p==="b"?(u+=i.abbreviations.billion,e=e/s):x<s&&x>=d&&!p||p==="m"?(u+=i.abbreviations.million,e=e/d):(x<d&&x>=w&&!p||p==="k")&&(u+=i.abbreviations.thousand,e=e/w)),n._.includes(r,"[.]")&&(o=!0,r=r.replace("[.]",".")),b=e.toString().split(".")[0],g=r.split(".")[1],$=r.indexOf(","),a=(r.split(".")[0].split(",")[0].match(/0/g)||[]).length,g?(n._.includes(g,"[")?(g=g.replace("]",""),g=g.split("["),h=n._.toFixed(e,g[0].length+g[1].length,l,g[1].length)):h=n._.toFixed(e,g.length,l),b=h.split(".")[0],n._.includes(h,".")?h=i.delimiters.decimal+h.split(".")[1]:h="",o&&Number(h.slice(1))===0&&(h="")):b=n._.toFixed(e,0,l),u&&!p&&Number(b)>=1e3&&u!==i.abbreviations.trillion)switch(b=String(Number(b)/1e3),u){case i.abbreviations.thousand:u=i.abbreviations.million;break;case i.abbreviations.million:u=i.abbreviations.billion;break;case i.abbreviations.billion:u=i.abbreviations.trillion;break}if(n._.includes(b,"-")&&(b=b.slice(1),v=!0),b.length<a)for(var k=a-b.length;k>0;k--)b="0"+b;return $>-1&&(b=b.toString().replace(/(\d)(?=(\d{3})+(?!\d))/g,"$1"+i.delimiters.thousands)),r.indexOf(".")===0&&(b=""),F=b+h+(u||""),t?F=(t&&v?"(":"")+F+(t&&v?")":""):T>=0?F=T===0?(v?"-":"+")+F:F+(v?"-":"+"):v&&(F="-"+F),F},stringToNumber:function(e){var r=N[c.currentLocale],l=e,i={thousand:3,million:6,billion:9,trillion:12},t,o,a;if(c.zeroFormat&&e===c.zeroFormat)o=0;else if(c.nullFormat&&e===c.nullFormat||!e.replace(/[^0-9]+/g,"").length)o=null;else{o=1,r.delimiters.decimal!=="."&&(e=e.replace(/\./g,"").replace(r.delimiters.decimal,"."));for(t in i)if(a=new RegExp("[^a-zA-Z]"+r.abbreviations[t]+"(?:\\)|(\\"+r.currency.symbol+")?(?:\\))?)?$"),l.match(a)){o*=Math.pow(10,i[t]);break}o*=(e.split("-").length+Math.min(e.split("(").length-1,e.split(")").length-1))%2?1:-1,e=e.replace(/[^0-9\.]+/g,""),o*=Number(e)}return o},isNaN:function(e){return typeof e=="number"&&isNaN(e)},includes:function(e,r){return e.indexOf(r)!==-1},insert:function(e,r,l){return e.slice(0,l)+r+e.slice(l)},reduce:function(e,r){if(this===null)throw new TypeError("Array.prototype.reduce called on null or undefined");if(typeof r!="function")throw new TypeError(r+" is not a function");var l=Object(e),i=l.length>>>0,t=0,o;if(arguments.length===3)o=arguments[2];else{for(;t<i&&!(t in l);)t++;if(t>=i)throw new TypeError("Reduce of empty array with no initial value");o=l[t++]}for(;t<i;t++)t in l&&(o=r(o,l[t],t,l));return o},multiplier:function(e){var r=e.toString().split(".");return r.length<2?1:Math.pow(10,r[1].length)},correctionFactor:function(){var e=Array.prototype.slice.call(arguments);return e.reduce(function(r,l){var i=m.multiplier(l);return r>i?r:i},1)},toFixed:function(e,r,l,i){var t=e.toString().split("."),o=r-(i||0),a,u,f,s;return t.length===2?a=Math.min(Math.max(t[1].length,o),r):a=o,f=Math.pow(10,a),s=(l(e+"e+"+a)/f).toFixed(a),i>r-a&&(u=new RegExp("\\.?0{1,"+(i-(r-a))+"}$"),s=s.replace(u,"")),s}},n.options=c,n.formats=_,n.locales=N,n.locale=function(e){return e&&(c.currentLocale=e.toLowerCase()),c.currentLocale},n.localeData=function(e){if(!e)return N[c.currentLocale];if(e=e.toLowerCase(),!N[e])throw new Error("Unknown locale : "+e);return N[e]},n.reset=function(){for(var e in y)c[e]=y[e]},n.zeroFormat=function(e){c.zeroFormat=typeof e=="string"?e:null},n.nullFormat=function(e){c.nullFormat=typeof e=="string"?e:null},n.defaultFormat=function(e){c.defaultFormat=typeof e=="string"?e:"0.0"},n.register=function(e,r,l){if(r=r.toLowerCase(),this[e+"s"][r])throw new TypeError(r+" "+e+" already registered.");return this[e+"s"][r]=l,l},n.validate=function(e,r){var l,i,t,o,a,u,f,s;if(typeof e!="string"&&(e+=""),e=e.trim(),e.match(/^\d+$/))return!0;if(e==="")return!1;try{f=n.localeData(r)}catch{f=n.localeData(n.locale())}return t=f.currency.symbol,a=f.abbreviations,l=f.delimiters.decimal,f.delimiters.thousands==="."?i="\\.":i=f.delimiters.thousands,s=e.match(/^[^\d]+/),s!==null&&(e=e.substr(1),s[0]!==t)||(s=e.match(/[^\d]+$/),s!==null&&(e=e.slice(0,-1),s[0]!==a.thousand&&s[0]!==a.million&&s[0]!==a.billion&&s[0]!==a.trillion))?!1:(u=new RegExp(i+"{2}"),e.match(/[^\d.,]/g)?!1:(o=e.split(l),o.length>2?!1:o.length<2?!!o[0].match(/^\d+.*\d$/)&&!o[0].match(u):o[0].length===1?!!o[0].match(/^\d+$/)&&!o[0].match(u)&&!!o[1].match(/^\d+$/):!!o[0].match(/^\d+.*\d$/)&&!o[0].match(u)&&!!o[1].match(/^\d+$/)))},n.fn=M.prototype={clone:function(){return n(this)},format:function(e,r){var l=this._value,i=e||c.defaultFormat,t,o,a;if(r=r||Math.round,l===0&&c.zeroFormat!==null)o=c.zeroFormat;else if(l===null&&c.nullFormat!==null)o=c.nullFormat;else{for(t in _)if(i.match(_[t].regexps.format)){a=_[t].format;break}a=a||n._.numberToFormat,o=a(l,i,r)}return o},value:function(){return this._value},input:function(){return this._input},set:function(e){return this._value=Number(e),this},add:function(e){var r=m.correctionFactor.call(null,this._value,e);function l(i,t,o,a){return i+Math.round(r*t)}return this._value=m.reduce([this._value,e],l,0)/r,this},subtract:function(e){var r=m.correctionFactor.call(null,this._value,e);function l(i,t,o,a){return i-Math.round(r*t)}return this._value=m.reduce([e],l,Math.round(this._value*r))/r,this},multiply:function(e){function r(l,i,t,o){var a=m.correctionFactor(l,i);return Math.round(l*a)*Math.round(i*a)/Math.round(a*a)}return this._value=m.reduce([this._value,e],r,1),this},divide:function(e){function r(l,i,t,o){var a=m.correctionFactor(l,i);return Math.round(l*a)/Math.round(i*a)}return this._value=m.reduce([this._value,e],r),this},difference:function(e){return Math.abs(n(this._value).subtract(e).value())}},n.register("locale","en",{delimiters:{thousands:",",decimal:"."},abbreviations:{thousand:"k",million:"m",billion:"b",trillion:"t"},ordinal:function(e){var r=e%10;return~~(e%100/10)===1?"th":r===1?"st":r===2?"nd":r===3?"rd":"th"},currency:{symbol:"$"}}),(function(){n.register("format","bps",{regexps:{format:/(BPS)/,unformat:/(BPS)/},format:function(e,r,l){var i=n._.includes(r," BPS")?" ":"",t;return e=e*1e4,r=r.replace(/\s?BPS/,""),t=n._.numberToFormat(e,r,l),n._.includes(t,")")?(t=t.split(""),t.splice(-1,0,i+"BPS"),t=t.join("")):t=t+i+"BPS",t},unformat:function(e){return+(n._.stringToNumber(e)*1e-4).toFixed(15)}})})(),(function(){var e={base:1e3,suffixes:["B","KB","MB","GB","TB","PB","EB","ZB","YB"]},r={base:1024,suffixes:["B","KiB","MiB","GiB","TiB","PiB","EiB","ZiB","YiB"]},l=e.suffixes.concat(r.suffixes.filter(function(t){return e.suffixes.indexOf(t)<0})),i=l.join("|");i="("+i.replace("B","B(?!PS)")+")",n.register("format","bytes",{regexps:{format:/([0\s]i?b)/,unformat:new RegExp(i)},format:function(t,o,a){var u,f=n._.includes(o,"ib")?r:e,s=n._.includes(o," b")||n._.includes(o," ib")?" ":"",d,w,h;for(o=o.replace(/\s?i?b/,""),d=0;d<=f.suffixes.length;d++)if(w=Math.pow(f.base,d),h=Math.pow(f.base,d+1),t===null||t===0||t>=w&&t<h){s+=f.suffixes[d],w>0&&(t=t/w);break}return u=n._.numberToFormat(t,o,a),u+s},unformat:function(t){var o=n._.stringToNumber(t),a,u;if(o){for(a=e.suffixes.length-1;a>=0;a--){if(n._.includes(t,e.suffixes[a])){u=Math.pow(e.base,a);break}if(n._.includes(t,r.suffixes[a])){u=Math.pow(r.base,a);break}}o*=u||1}return o}})})(),(function(){n.register("format","currency",{regexps:{format:/(\$)/},format:function(e,r,l){var i=n.locales[n.options.currentLocale],t={before:r.match(/^([\+|\-|\(|\s|\$]*)/)[0],after:r.match(/([\+|\-|\)|\s|\$]*)$/)[0]},o,a,u;for(r=r.replace(/\s?\$\s?/,""),o=n._.numberToFormat(e,r,l),e>=0?(t.before=t.before.replace(/[\-\(]/,""),t.after=t.after.replace(/[\-\)]/,"")):e<0&&!n._.includes(t.before,"-")&&!n._.includes(t.before,"(")&&(t.before="-"+t.before),u=0;u<t.before.length;u++)switch(a=t.before[u],a){case"$":o=n._.insert(o,i.currency.symbol,u);break;case" ":o=n._.insert(o," ",u+i.currency.symbol.length-1);break}for(u=t.after.length-1;u>=0;u--)switch(a=t.after[u],a){case"$":o=u===t.after.length-1?o+i.currency.symbol:n._.insert(o,i.currency.symbol,-(t.after.length-(1+u)));break;case" ":o=u===t.after.length-1?o+" ":n._.insert(o," ",-(t.after.length-(1+u)+i.currency.symbol.length-1));break}return o}})})(),(function(){n.register("format","exponential",{regexps:{format:/(e\+|e-)/,unformat:/(e\+|e-)/},format:function(e,r,l){var i,t=typeof e=="number"&&!n._.isNaN(e)?e.toExponential():"0e+0",o=t.split("e");return r=r.replace(/e[\+|\-]{1}0/,""),i=n._.numberToFormat(Number(o[0]),r,l),i+"e"+o[1]},unformat:function(e){var r=n._.includes(e,"e+")?e.split("e+"):e.split("e-"),l=Number(r[0]),i=Number(r[1]);i=n._.includes(e,"e-")?i*=-1:i;function t(o,a,u,f){var s=n._.correctionFactor(o,a),d=o*s*(a*s)/(s*s);return d}return n._.reduce([l,Math.pow(10,i)],t,1)}})})(),(function(){n.register("format","ordinal",{regexps:{format:/(o)/},format:function(e,r,l){var i=n.locales[n.options.currentLocale],t,o=n._.includes(r," o")?" ":"";return r=r.replace(/\s?o/,""),o+=i.ordinal(e),t=n._.numberToFormat(e,r,l),t+o}})})(),(function(){n.register("format","percentage",{regexps:{format:/(%)/,unformat:/(%)/},format:function(e,r,l){var i=n._.includes(r," %")?" ":"",t;return n.options.scalePercentBy100&&(e=e*100),r=r.replace(/\s?\%/,""),t=n._.numberToFormat(e,r,l),n._.includes(t,")")?(t=t.split(""),t.splice(-1,0,i+"%"),t=t.join("")):t=t+i+"%",t},unformat:function(e){var r=n._.stringToNumber(e);return n.options.scalePercentBy100?r*.01:r}})})(),(function(){n.register("format","time",{regexps:{format:/(:)/,unformat:/(:)/},format:function(e,r,l){var i=Math.floor(e/60/60),t=Math.floor((e-i*60*60)/60),o=Math.round(e-i*60*60-t*60);return i+":"+(t<10?"0"+t:t)+":"+(o<10?"0"+o:o)},unformat:function(e){var r=e.split(":"),l=0;return r.length===3?(l=l+Number(r[0])*60*60,l=l+Number(r[1])*60,l=l+Number(r[2])):r.length===2&&(l=l+Number(r[0])*60,l=l+Number(r[1])),Number(l)}})})(),n})})(B.__module)),B.__module.exports}exports.__require=L;
@@ -8,7 +8,7 @@ import { __module as v } from "../../../../../_virtual/numeral2.js";
8
8
  */
9
9
  var O = v.exports, E;
10
10
  function z() {
11
- return E ? v.exports : (E = 1, function($) {
11
+ return E ? v.exports : (E = 1, (function($) {
12
12
  (function(n, m) {
13
13
  $.exports ? $.exports = m() : n.numeral = m();
14
14
  })(O, function() {
@@ -268,7 +268,7 @@ function z() {
268
268
  currency: {
269
269
  symbol: "$"
270
270
  }
271
- }), function() {
271
+ }), (function() {
272
272
  n.register("format", "bps", {
273
273
  regexps: {
274
274
  format: /(BPS)/,
@@ -282,7 +282,7 @@ function z() {
282
282
  return +(n._.stringToNumber(e) * 1e-4).toFixed(15);
283
283
  }
284
284
  });
285
- }(), function() {
285
+ })(), (function() {
286
286
  var e = {
287
287
  base: 1e3,
288
288
  suffixes: ["B", "KB", "MB", "GB", "TB", "PB", "EB", "ZB", "YB"]
@@ -324,7 +324,7 @@ function z() {
324
324
  return o;
325
325
  }
326
326
  });
327
- }(), function() {
327
+ })(), (function() {
328
328
  n.register("format", "currency", {
329
329
  regexps: {
330
330
  format: /(\$)/
@@ -355,7 +355,7 @@ function z() {
355
355
  return o;
356
356
  }
357
357
  });
358
- }(), function() {
358
+ })(), (function() {
359
359
  n.register("format", "exponential", {
360
360
  regexps: {
361
361
  format: /(e\+|e-)/,
@@ -375,7 +375,7 @@ function z() {
375
375
  return n._.reduce([l, Math.pow(10, i)], t, 1);
376
376
  }
377
377
  });
378
- }(), function() {
378
+ })(), (function() {
379
379
  n.register("format", "ordinal", {
380
380
  regexps: {
381
381
  format: /(o)/
@@ -385,7 +385,7 @@ function z() {
385
385
  return r = r.replace(/\s?o/, ""), o += i.ordinal(e), t = n._.numberToFormat(e, r, l), t + o;
386
386
  }
387
387
  });
388
- }(), function() {
388
+ })(), (function() {
389
389
  n.register("format", "percentage", {
390
390
  regexps: {
391
391
  format: /(%)/,
@@ -400,7 +400,7 @@ function z() {
400
400
  return n.options.scalePercentBy100 ? r * 0.01 : r;
401
401
  }
402
402
  });
403
- }(), function() {
403
+ })(), (function() {
404
404
  n.register("format", "time", {
405
405
  regexps: {
406
406
  format: /(:)/,
@@ -415,9 +415,9 @@ function z() {
415
415
  return r.length === 3 ? (l = l + Number(r[0]) * 60 * 60, l = l + Number(r[1]) * 60, l = l + Number(r[2])) : r.length === 2 && (l = l + Number(r[0]) * 60, l = l + Number(r[1])), Number(l);
416
416
  }
417
417
  });
418
- }(), n;
418
+ })(), n;
419
419
  });
420
- }(v), v.exports);
420
+ })(v), v.exports);
421
421
  }
422
422
  export {
423
423
  z as __require
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const M=require("../../../../../_virtual/semver2.cjs");var J;function Xe(){return J||(J=1,function(K,l){l=K.exports=f;var I;typeof process=="object"&&process.env&&process.env.NODE_DEBUG&&/\bsemver\b/i.test(process.env.NODE_DEBUG)?I=function(){var e=Array.prototype.slice.call(arguments,0);e.unshift("SEMVER"),console.log.apply(console,e)}:I=function(){},l.SEMVER_SPEC_VERSION="2.0.0";var y=256,G=Number.MAX_SAFE_INTEGER||9007199254740991,_=16,Q=y-6,D=l.re=[],h=l.safeRe=[],s=l.src=[],n=l.tokens={},k=0;function R(e){n[e]=k++}var $="[a-zA-Z0-9-]",B=[["\\s",1],["\\d",y],[$,Q]];function g(e){for(var r=0;r<B.length;r++){var t=B[r][0],i=B[r][1];e=e.split(t+"*").join(t+"{0,"+i+"}").split(t+"+").join(t+"{1,"+i+"}")}return e}R("NUMERICIDENTIFIER"),s[n.NUMERICIDENTIFIER]="0|[1-9]\\d*",R("NUMERICIDENTIFIERLOOSE"),s[n.NUMERICIDENTIFIERLOOSE]="\\d+",R("NONNUMERICIDENTIFIER"),s[n.NONNUMERICIDENTIFIER]="\\d*[a-zA-Z-]"+$+"*",R("MAINVERSION"),s[n.MAINVERSION]="("+s[n.NUMERICIDENTIFIER]+")\\.("+s[n.NUMERICIDENTIFIER]+")\\.("+s[n.NUMERICIDENTIFIER]+")",R("MAINVERSIONLOOSE"),s[n.MAINVERSIONLOOSE]="("+s[n.NUMERICIDENTIFIERLOOSE]+")\\.("+s[n.NUMERICIDENTIFIERLOOSE]+")\\.("+s[n.NUMERICIDENTIFIERLOOSE]+")",R("PRERELEASEIDENTIFIER"),s[n.PRERELEASEIDENTIFIER]="(?:"+s[n.NUMERICIDENTIFIER]+"|"+s[n.NONNUMERICIDENTIFIER]+")",R("PRERELEASEIDENTIFIERLOOSE"),s[n.PRERELEASEIDENTIFIERLOOSE]="(?:"+s[n.NUMERICIDENTIFIERLOOSE]+"|"+s[n.NONNUMERICIDENTIFIER]+")",R("PRERELEASE"),s[n.PRERELEASE]="(?:-("+s[n.PRERELEASEIDENTIFIER]+"(?:\\."+s[n.PRERELEASEIDENTIFIER]+")*))",R("PRERELEASELOOSE"),s[n.PRERELEASELOOSE]="(?:-?("+s[n.PRERELEASEIDENTIFIERLOOSE]+"(?:\\."+s[n.PRERELEASEIDENTIFIERLOOSE]+")*))",R("BUILDIDENTIFIER"),s[n.BUILDIDENTIFIER]=$+"+",R("BUILD"),s[n.BUILD]="(?:\\+("+s[n.BUILDIDENTIFIER]+"(?:\\."+s[n.BUILDIDENTIFIER]+")*))",R("FULL"),R("FULLPLAIN"),s[n.FULLPLAIN]="v?"+s[n.MAINVERSION]+s[n.PRERELEASE]+"?"+s[n.BUILD]+"?",s[n.FULL]="^"+s[n.FULLPLAIN]+"$",R("LOOSEPLAIN"),s[n.LOOSEPLAIN]="[v=\\s]*"+s[n.MAINVERSIONLOOSE]+s[n.PRERELEASELOOSE]+"?"+s[n.BUILD]+"?",R("LOOSE"),s[n.LOOSE]="^"+s[n.LOOSEPLAIN]+"$",R("GTLT"),s[n.GTLT]="((?:<|>)?=?)",R("XRANGEIDENTIFIERLOOSE"),s[n.XRANGEIDENTIFIERLOOSE]=s[n.NUMERICIDENTIFIERLOOSE]+"|x|X|\\*",R("XRANGEIDENTIFIER"),s[n.XRANGEIDENTIFIER]=s[n.NUMERICIDENTIFIER]+"|x|X|\\*",R("XRANGEPLAIN"),s[n.XRANGEPLAIN]="[v=\\s]*("+s[n.XRANGEIDENTIFIER]+")(?:\\.("+s[n.XRANGEIDENTIFIER]+")(?:\\.("+s[n.XRANGEIDENTIFIER]+")(?:"+s[n.PRERELEASE]+")?"+s[n.BUILD]+"?)?)?",R("XRANGEPLAINLOOSE"),s[n.XRANGEPLAINLOOSE]="[v=\\s]*("+s[n.XRANGEIDENTIFIERLOOSE]+")(?:\\.("+s[n.XRANGEIDENTIFIERLOOSE]+")(?:\\.("+s[n.XRANGEIDENTIFIERLOOSE]+")(?:"+s[n.PRERELEASELOOSE]+")?"+s[n.BUILD]+"?)?)?",R("XRANGE"),s[n.XRANGE]="^"+s[n.GTLT]+"\\s*"+s[n.XRANGEPLAIN]+"$",R("XRANGELOOSE"),s[n.XRANGELOOSE]="^"+s[n.GTLT]+"\\s*"+s[n.XRANGEPLAINLOOSE]+"$",R("COERCE"),s[n.COERCE]="(^|[^\\d])(\\d{1,"+_+"})(?:\\.(\\d{1,"+_+"}))?(?:\\.(\\d{1,"+_+"}))?(?:$|[^\\d])",R("COERCERTL"),D[n.COERCERTL]=new RegExp(s[n.COERCE],"g"),h[n.COERCERTL]=new RegExp(g(s[n.COERCE]),"g"),R("LONETILDE"),s[n.LONETILDE]="(?:~>?)",R("TILDETRIM"),s[n.TILDETRIM]="(\\s*)"+s[n.LONETILDE]+"\\s+",D[n.TILDETRIM]=new RegExp(s[n.TILDETRIM],"g"),h[n.TILDETRIM]=new RegExp(g(s[n.TILDETRIM]),"g");var W="$1~";R("TILDE"),s[n.TILDE]="^"+s[n.LONETILDE]+s[n.XRANGEPLAIN]+"$",R("TILDELOOSE"),s[n.TILDELOOSE]="^"+s[n.LONETILDE]+s[n.XRANGEPLAINLOOSE]+"$",R("LONECARET"),s[n.LONECARET]="(?:\\^)",R("CARETTRIM"),s[n.CARETTRIM]="(\\s*)"+s[n.LONECARET]+"\\s+",D[n.CARETTRIM]=new RegExp(s[n.CARETTRIM],"g"),h[n.CARETTRIM]=new RegExp(g(s[n.CARETTRIM]),"g");var x="$1^";R("CARET"),s[n.CARET]="^"+s[n.LONECARET]+s[n.XRANGEPLAIN]+"$",R("CARETLOOSE"),s[n.CARETLOOSE]="^"+s[n.LONECARET]+s[n.XRANGEPLAINLOOSE]+"$",R("COMPARATORLOOSE"),s[n.COMPARATORLOOSE]="^"+s[n.GTLT]+"\\s*("+s[n.LOOSEPLAIN]+")$|^$",R("COMPARATOR"),s[n.COMPARATOR]="^"+s[n.GTLT]+"\\s*("+s[n.FULLPLAIN]+")$|^$",R("COMPARATORTRIM"),s[n.COMPARATORTRIM]="(\\s*)"+s[n.GTLT]+"\\s*("+s[n.LOOSEPLAIN]+"|"+s[n.XRANGEPLAIN]+")",D[n.COMPARATORTRIM]=new RegExp(s[n.COMPARATORTRIM],"g"),h[n.COMPARATORTRIM]=new RegExp(g(s[n.COMPARATORTRIM]),"g");var ee="$1$2$3";R("HYPHENRANGE"),s[n.HYPHENRANGE]="^\\s*("+s[n.XRANGEPLAIN]+")\\s+-\\s+("+s[n.XRANGEPLAIN]+")\\s*$",R("HYPHENRANGELOOSE"),s[n.HYPHENRANGELOOSE]="^\\s*("+s[n.XRANGEPLAINLOOSE]+")\\s+-\\s+("+s[n.XRANGEPLAINLOOSE]+")\\s*$",R("STAR"),s[n.STAR]="(<|>)?=?\\s*\\*";for(var S=0;S<k;S++)I(S,s[S]),D[S]||(D[S]=new RegExp(s[S]),h[S]=new RegExp(g(s[S])));l.parse=C;function C(e,r){if((!r||typeof r!="object")&&(r={loose:!!r,includePrerelease:!1}),e instanceof f)return e;if(typeof e!="string"||e.length>y)return null;var t=r.loose?h[n.LOOSE]:h[n.FULL];if(!t.test(e))return null;try{return new f(e,r)}catch{return null}}l.valid=re;function re(e,r){var t=C(e,r);return t?t.version:null}l.clean=te;function te(e,r){var t=C(e.trim().replace(/^[=v]+/,""),r);return t?t.version:null}l.SemVer=f;function f(e,r){if((!r||typeof r!="object")&&(r={loose:!!r,includePrerelease:!1}),e instanceof f){if(e.loose===r.loose)return e;e=e.version}else if(typeof e!="string")throw new TypeError("Invalid Version: "+e);if(e.length>y)throw new TypeError("version is longer than "+y+" characters");if(!(this instanceof f))return new f(e,r);I("SemVer",e,r),this.options=r,this.loose=!!r.loose;var t=e.trim().match(r.loose?h[n.LOOSE]:h[n.FULL]);if(!t)throw new TypeError("Invalid Version: "+e);if(this.raw=e,this.major=+t[1],this.minor=+t[2],this.patch=+t[3],this.major>G||this.major<0)throw new TypeError("Invalid major version");if(this.minor>G||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>G||this.patch<0)throw new TypeError("Invalid patch version");t[4]?this.prerelease=t[4].split(".").map(function(i){if(/^[0-9]+$/.test(i)){var a=+i;if(a>=0&&a<G)return a}return i}):this.prerelease=[],this.build=t[5]?t[5].split("."):[],this.format()}f.prototype.format=function(){return this.version=this.major+"."+this.minor+"."+this.patch,this.prerelease.length&&(this.version+="-"+this.prerelease.join(".")),this.version},f.prototype.toString=function(){return this.version},f.prototype.compare=function(e){return I("SemVer.compare",this.version,this.options,e),e instanceof f||(e=new f(e,this.options)),this.compareMain(e)||this.comparePre(e)},f.prototype.compareMain=function(e){return e instanceof f||(e=new f(e,this.options)),w(this.major,e.major)||w(this.minor,e.minor)||w(this.patch,e.patch)},f.prototype.comparePre=function(e){if(e instanceof f||(e=new f(e,this.options)),this.prerelease.length&&!e.prerelease.length)return-1;if(!this.prerelease.length&&e.prerelease.length)return 1;if(!this.prerelease.length&&!e.prerelease.length)return 0;var r=0;do{var t=this.prerelease[r],i=e.prerelease[r];if(I("prerelease compare",r,t,i),t===void 0&&i===void 0)return 0;if(i===void 0)return 1;if(t===void 0)return-1;if(t===i)continue;return w(t,i)}while(++r)},f.prototype.compareBuild=function(e){e instanceof f||(e=new f(e,this.options));var r=0;do{var t=this.build[r],i=e.build[r];if(I("prerelease compare",r,t,i),t===void 0&&i===void 0)return 0;if(i===void 0)return 1;if(t===void 0)return-1;if(t===i)continue;return w(t,i)}while(++r)},f.prototype.inc=function(e,r){switch(e){case"premajor":this.prerelease.length=0,this.patch=0,this.minor=0,this.major++,this.inc("pre",r);break;case"preminor":this.prerelease.length=0,this.patch=0,this.minor++,this.inc("pre",r);break;case"prepatch":this.prerelease.length=0,this.inc("patch",r),this.inc("pre",r);break;case"prerelease":this.prerelease.length===0&&this.inc("patch",r),this.inc("pre",r);break;case"major":(this.minor!==0||this.patch!==0||this.prerelease.length===0)&&this.major++,this.minor=0,this.patch=0,this.prerelease=[];break;case"minor":(this.patch!==0||this.prerelease.length===0)&&this.minor++,this.patch=0,this.prerelease=[];break;case"patch":this.prerelease.length===0&&this.patch++,this.prerelease=[];break;case"pre":if(this.prerelease.length===0)this.prerelease=[0];else{for(var t=this.prerelease.length;--t>=0;)typeof this.prerelease[t]=="number"&&(this.prerelease[t]++,t=-2);t===-1&&this.prerelease.push(0)}r&&(this.prerelease[0]===r?isNaN(this.prerelease[1])&&(this.prerelease=[r,0]):this.prerelease=[r,0]);break;default:throw new Error("invalid increment argument: "+e)}return this.format(),this.raw=this.version,this},l.inc=ne;function ne(e,r,t,i){typeof t=="string"&&(i=t,t=void 0);try{return new f(e,t).inc(r,i).version}catch{return null}}l.diff=ie;function ie(e,r){if(V(e,r))return null;var t=C(e),i=C(r),a="";if(t.prerelease.length||i.prerelease.length){a="pre";var E="prerelease"}for(var u in t)if((u==="major"||u==="minor"||u==="patch")&&t[u]!==i[u])return a+u;return E}l.compareIdentifiers=w;var Y=/^[0-9]+$/;function w(e,r){var t=Y.test(e),i=Y.test(r);return t&&i&&(e=+e,r=+r),e===r?0:t&&!i?-1:i&&!t?1:e<r?-1:1}l.rcompareIdentifiers=se;function se(e,r){return w(r,e)}l.major=ae;function ae(e,r){return new f(e,r).major}l.minor=Ee;function Ee(e,r){return new f(e,r).minor}l.patch=ue;function ue(e,r){return new f(e,r).patch}l.compare=m;function m(e,r,t){return new f(e,t).compare(new f(r,t))}l.compareLoose=le;function le(e,r){return m(e,r,!0)}l.compareBuild=fe;function fe(e,r,t){var i=new f(e,t),a=new f(r,t);return i.compare(a)||i.compareBuild(a)}l.rcompare=ce;function ce(e,r,t){return m(r,e,t)}l.sort=Re;function Re(e,r){return e.sort(function(t,i){return l.compareBuild(t,i,r)})}l.rsort=oe;function oe(e,r){return e.sort(function(t,i){return l.compareBuild(i,t,r)})}l.gt=F;function F(e,r,t){return m(e,r,t)>0}l.lt=X;function X(e,r,t){return m(e,r,t)<0}l.eq=V;function V(e,r,t){return m(e,r,t)===0}l.neq=z;function z(e,r,t){return m(e,r,t)!==0}l.gte=H;function H(e,r,t){return m(e,r,t)>=0}l.lte=b;function b(e,r,t){return m(e,r,t)<=0}l.cmp=j;function j(e,r,t,i){switch(r){case"===":return typeof e=="object"&&(e=e.version),typeof t=="object"&&(t=t.version),e===t;case"!==":return typeof e=="object"&&(e=e.version),typeof t=="object"&&(t=t.version),e!==t;case"":case"=":case"==":return V(e,t,i);case"!=":return z(e,t,i);case">":return F(e,t,i);case">=":return H(e,t,i);case"<":return X(e,t,i);case"<=":return b(e,t,i);default:throw new TypeError("Invalid operator: "+r)}}l.Comparator=T;function T(e,r){if((!r||typeof r!="object")&&(r={loose:!!r,includePrerelease:!1}),e instanceof T){if(e.loose===!!r.loose)return e;e=e.value}if(!(this instanceof T))return new T(e,r);e=e.trim().split(/\s+/).join(" "),I("comparator",e,r),this.options=r,this.loose=!!r.loose,this.parse(e),this.semver===P?this.value="":this.value=this.operator+this.semver.version,I("comp",this)}var P={};T.prototype.parse=function(e){var r=this.options.loose?h[n.COMPARATORLOOSE]:h[n.COMPARATOR],t=e.match(r);if(!t)throw new TypeError("Invalid comparator: "+e);this.operator=t[1]!==void 0?t[1]:"",this.operator==="="&&(this.operator=""),t[2]?this.semver=new f(t[2],this.options.loose):this.semver=P},T.prototype.toString=function(){return this.value},T.prototype.test=function(e){if(I("Comparator.test",e,this.options.loose),this.semver===P||e===P)return!0;if(typeof e=="string")try{e=new f(e,this.options)}catch{return!1}return j(e,this.operator,this.semver,this.options)},T.prototype.intersects=function(e,r){if(!(e instanceof T))throw new TypeError("a Comparator is required");(!r||typeof r!="object")&&(r={loose:!!r,includePrerelease:!1});var t;if(this.operator==="")return this.value===""?!0:(t=new O(e.value,r),U(this.value,t,r));if(e.operator==="")return e.value===""?!0:(t=new O(this.value,r),U(e.semver,t,r));var i=(this.operator===">="||this.operator===">")&&(e.operator===">="||e.operator===">"),a=(this.operator==="<="||this.operator==="<")&&(e.operator==="<="||e.operator==="<"),E=this.semver.version===e.semver.version,u=(this.operator===">="||this.operator==="<=")&&(e.operator===">="||e.operator==="<="),o=j(this.semver,"<",e.semver,r)&&(this.operator===">="||this.operator===">")&&(e.operator==="<="||e.operator==="<"),c=j(this.semver,">",e.semver,r)&&(this.operator==="<="||this.operator==="<")&&(e.operator===">="||e.operator===">");return i||a||E&&u||o||c},l.Range=O;function O(e,r){if((!r||typeof r!="object")&&(r={loose:!!r,includePrerelease:!1}),e instanceof O)return e.loose===!!r.loose&&e.includePrerelease===!!r.includePrerelease?e:new O(e.raw,r);if(e instanceof T)return new O(e.value,r);if(!(this instanceof O))return new O(e,r);if(this.options=r,this.loose=!!r.loose,this.includePrerelease=!!r.includePrerelease,this.raw=e.trim().split(/\s+/).join(" "),this.set=this.raw.split("||").map(function(t){return this.parseRange(t.trim())},this).filter(function(t){return t.length}),!this.set.length)throw new TypeError("Invalid SemVer Range: "+this.raw);this.format()}O.prototype.format=function(){return this.range=this.set.map(function(e){return e.join(" ").trim()}).join("||").trim(),this.range},O.prototype.toString=function(){return this.range},O.prototype.parseRange=function(e){var r=this.options.loose,t=r?h[n.HYPHENRANGELOOSE]:h[n.HYPHENRANGE];e=e.replace(t,Se),I("hyphen replace",e),e=e.replace(h[n.COMPARATORTRIM],ee),I("comparator trim",e,h[n.COMPARATORTRIM]),e=e.replace(h[n.TILDETRIM],W),e=e.replace(h[n.CARETTRIM],x),e=e.split(/\s+/).join(" ");var i=r?h[n.COMPARATORLOOSE]:h[n.COMPARATOR],a=e.split(" ").map(function(E){return he(E,this.options)},this).join(" ").split(/\s+/);return this.options.loose&&(a=a.filter(function(E){return!!E.match(i)})),a=a.map(function(E){return new T(E,this.options)},this),a},O.prototype.intersects=function(e,r){if(!(e instanceof O))throw new TypeError("a Range is required");return this.set.some(function(t){return Z(t,r)&&e.set.some(function(i){return Z(i,r)&&t.every(function(a){return i.every(function(E){return a.intersects(E,r)})})})})};function Z(e,r){for(var t=!0,i=e.slice(),a=i.pop();t&&i.length;)t=i.every(function(E){return a.intersects(E,r)}),a=i.pop();return t}l.toComparators=Ie;function Ie(e,r){return new O(e,r).set.map(function(t){return t.map(function(i){return i.value}).join(" ").trim().split(" ")})}function he(e,r){return I("comp",e,r),e=Ne(e,r),I("caret",e),e=Oe(e,r),I("tildes",e),e=Ae(e,r),I("xrange",e),e=ve(e,r),I("stars",e),e}function L(e){return!e||e.toLowerCase()==="x"||e==="*"}function Oe(e,r){return e.trim().split(/\s+/).map(function(t){return Le(t,r)}).join(" ")}function Le(e,r){var t=r.loose?h[n.TILDELOOSE]:h[n.TILDE];return e.replace(t,function(i,a,E,u,o){I("tilde",e,i,a,E,u,o);var c;return L(a)?c="":L(E)?c=">="+a+".0.0 <"+(+a+1)+".0.0":L(u)?c=">="+a+"."+E+".0 <"+a+"."+(+E+1)+".0":o?(I("replaceTilde pr",o),c=">="+a+"."+E+"."+u+"-"+o+" <"+a+"."+(+E+1)+".0"):c=">="+a+"."+E+"."+u+" <"+a+"."+(+E+1)+".0",I("tilde return",c),c})}function Ne(e,r){return e.trim().split(/\s+/).map(function(t){return Te(t,r)}).join(" ")}function Te(e,r){I("caret",e,r);var t=r.loose?h[n.CARETLOOSE]:h[n.CARET];return e.replace(t,function(i,a,E,u,o){I("caret",e,i,a,E,u,o);var c;return L(a)?c="":L(E)?c=">="+a+".0.0 <"+(+a+1)+".0.0":L(u)?a==="0"?c=">="+a+"."+E+".0 <"+a+"."+(+E+1)+".0":c=">="+a+"."+E+".0 <"+(+a+1)+".0.0":o?(I("replaceCaret pr",o),a==="0"?E==="0"?c=">="+a+"."+E+"."+u+"-"+o+" <"+a+"."+E+"."+(+u+1):c=">="+a+"."+E+"."+u+"-"+o+" <"+a+"."+(+E+1)+".0":c=">="+a+"."+E+"."+u+"-"+o+" <"+(+a+1)+".0.0"):(I("no pr"),a==="0"?E==="0"?c=">="+a+"."+E+"."+u+" <"+a+"."+E+"."+(+u+1):c=">="+a+"."+E+"."+u+" <"+a+"."+(+E+1)+".0":c=">="+a+"."+E+"."+u+" <"+(+a+1)+".0.0"),I("caret return",c),c})}function Ae(e,r){return I("replaceXRanges",e,r),e.split(/\s+/).map(function(t){return pe(t,r)}).join(" ")}function pe(e,r){e=e.trim();var t=r.loose?h[n.XRANGELOOSE]:h[n.XRANGE];return e.replace(t,function(i,a,E,u,o,c){I("xRange",e,i,a,E,u,o,c);var p=L(E),v=p||L(u),A=v||L(o),N=A;return a==="="&&N&&(a=""),c=r.includePrerelease?"-0":"",p?a===">"||a==="<"?i="<0.0.0-0":i="*":a&&N?(v&&(u=0),o=0,a===">"?(a=">=",v?(E=+E+1,u=0,o=0):(u=+u+1,o=0)):a==="<="&&(a="<",v?E=+E+1:u=+u+1),i=a+E+"."+u+"."+o+c):v?i=">="+E+".0.0"+c+" <"+(+E+1)+".0.0"+c:A&&(i=">="+E+"."+u+".0"+c+" <"+E+"."+(+u+1)+".0"+c),I("xRange return",i),i})}function ve(e,r){return I("replaceStars",e,r),e.trim().replace(h[n.STAR],"")}function Se(e,r,t,i,a,E,u,o,c,p,v,A,N){return L(t)?r="":L(i)?r=">="+t+".0.0":L(a)?r=">="+t+"."+i+".0":r=">="+r,L(c)?o="":L(p)?o="<"+(+c+1)+".0.0":L(v)?o="<"+c+"."+(+p+1)+".0":A?o="<="+c+"."+p+"."+v+"-"+A:o="<="+o,(r+" "+o).trim()}O.prototype.test=function(e){if(!e)return!1;if(typeof e=="string")try{e=new f(e,this.options)}catch{return!1}for(var r=0;r<this.set.length;r++)if(me(this.set[r],e,this.options))return!0;return!1};function me(e,r,t){for(var i=0;i<e.length;i++)if(!e[i].test(r))return!1;if(r.prerelease.length&&!t.includePrerelease){for(i=0;i<e.length;i++)if(I(e[i].semver),e[i].semver!==P&&e[i].semver.prerelease.length>0){var a=e[i].semver;if(a.major===r.major&&a.minor===r.minor&&a.patch===r.patch)return!0}return!1}return!0}l.satisfies=U;function U(e,r,t){try{r=new O(r,t)}catch{return!1}return r.test(e)}l.maxSatisfying=de;function de(e,r,t){var i=null,a=null;try{var E=new O(r,t)}catch{return null}return e.forEach(function(u){E.test(u)&&(!i||a.compare(u)===-1)&&(i=u,a=new f(i,t))}),i}l.minSatisfying=Ce;function Ce(e,r,t){var i=null,a=null;try{var E=new O(r,t)}catch{return null}return e.forEach(function(u){E.test(u)&&(!i||a.compare(u)===1)&&(i=u,a=new f(i,t))}),i}l.minVersion=we;function we(e,r){e=new O(e,r);var t=new f("0.0.0");if(e.test(t)||(t=new f("0.0.0-0"),e.test(t)))return t;t=null;for(var i=0;i<e.set.length;++i){var a=e.set[i];a.forEach(function(E){var u=new f(E.semver.version);switch(E.operator){case">":u.prerelease.length===0?u.patch++:u.prerelease.push(0),u.raw=u.format();case"":case">=":(!t||F(t,u))&&(t=u);break;case"<":case"<=":break;default:throw new Error("Unexpected operation: "+E.operator)}})}return t&&e.test(t)?t:null}l.validRange=De;function De(e,r){try{return new O(e,r).range||"*"}catch{return null}}l.ltr=Pe;function Pe(e,r,t){return q(e,r,"<",t)}l.gtr=ye;function ye(e,r,t){return q(e,r,">",t)}l.outside=q;function q(e,r,t,i){e=new f(e,i),r=new O(r,i);var a,E,u,o,c;switch(t){case">":a=F,E=b,u=X,o=">",c=">=";break;case"<":a=X,E=H,u=F,o="<",c="<=";break;default:throw new TypeError('Must provide a hilo val of "<" or ">"')}if(U(e,r,i))return!1;for(var p=0;p<r.set.length;++p){var v=r.set[p],A=null,N=null;if(v.forEach(function(d){d.semver===P&&(d=new T(">=0.0.0")),A=A||d,N=N||d,a(d.semver,A.semver,i)?A=d:u(d.semver,N.semver,i)&&(N=d)}),A.operator===o||A.operator===c||(!N.operator||N.operator===o)&&E(e,N.semver))return!1;if(N.operator===c&&u(e,N.semver))return!1}return!0}l.prerelease=ge;function ge(e,r){var t=C(e,r);return t&&t.prerelease.length?t.prerelease:null}l.intersects=Fe;function Fe(e,r,t){return e=new O(e,t),r=new O(r,t),e.intersects(r)}l.coerce=Ge;function Ge(e,r){if(e instanceof f)return e;if(typeof e=="number"&&(e=String(e)),typeof e!="string")return null;r=r||{};var t=null;if(!r.rtl)t=e.match(h[n.COERCE]);else{for(var i;(i=h[n.COERCERTL].exec(e))&&(!t||t.index+t[0].length!==e.length);)(!t||i.index+i[0].length!==t.index+t[0].length)&&(t=i),h[n.COERCERTL].lastIndex=i.index+i[1].length+i[2].length;h[n.COERCERTL].lastIndex=-1}return t===null?null:C(t[2]+"."+(t[3]||"0")+"."+(t[4]||"0"),r)}}(M.__module,M.__module.exports)),M.__module.exports}exports.__require=Xe;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const M=require("../../../../../_virtual/semver2.cjs");var J;function Xe(){return J||(J=1,(function(K,l){l=K.exports=f;var I;typeof process=="object"&&process.env&&process.env.NODE_DEBUG&&/\bsemver\b/i.test(process.env.NODE_DEBUG)?I=function(){var e=Array.prototype.slice.call(arguments,0);e.unshift("SEMVER"),console.log.apply(console,e)}:I=function(){},l.SEMVER_SPEC_VERSION="2.0.0";var y=256,G=Number.MAX_SAFE_INTEGER||9007199254740991,_=16,Q=y-6,D=l.re=[],h=l.safeRe=[],s=l.src=[],n=l.tokens={},k=0;function R(e){n[e]=k++}var $="[a-zA-Z0-9-]",B=[["\\s",1],["\\d",y],[$,Q]];function g(e){for(var r=0;r<B.length;r++){var t=B[r][0],i=B[r][1];e=e.split(t+"*").join(t+"{0,"+i+"}").split(t+"+").join(t+"{1,"+i+"}")}return e}R("NUMERICIDENTIFIER"),s[n.NUMERICIDENTIFIER]="0|[1-9]\\d*",R("NUMERICIDENTIFIERLOOSE"),s[n.NUMERICIDENTIFIERLOOSE]="\\d+",R("NONNUMERICIDENTIFIER"),s[n.NONNUMERICIDENTIFIER]="\\d*[a-zA-Z-]"+$+"*",R("MAINVERSION"),s[n.MAINVERSION]="("+s[n.NUMERICIDENTIFIER]+")\\.("+s[n.NUMERICIDENTIFIER]+")\\.("+s[n.NUMERICIDENTIFIER]+")",R("MAINVERSIONLOOSE"),s[n.MAINVERSIONLOOSE]="("+s[n.NUMERICIDENTIFIERLOOSE]+")\\.("+s[n.NUMERICIDENTIFIERLOOSE]+")\\.("+s[n.NUMERICIDENTIFIERLOOSE]+")",R("PRERELEASEIDENTIFIER"),s[n.PRERELEASEIDENTIFIER]="(?:"+s[n.NUMERICIDENTIFIER]+"|"+s[n.NONNUMERICIDENTIFIER]+")",R("PRERELEASEIDENTIFIERLOOSE"),s[n.PRERELEASEIDENTIFIERLOOSE]="(?:"+s[n.NUMERICIDENTIFIERLOOSE]+"|"+s[n.NONNUMERICIDENTIFIER]+")",R("PRERELEASE"),s[n.PRERELEASE]="(?:-("+s[n.PRERELEASEIDENTIFIER]+"(?:\\."+s[n.PRERELEASEIDENTIFIER]+")*))",R("PRERELEASELOOSE"),s[n.PRERELEASELOOSE]="(?:-?("+s[n.PRERELEASEIDENTIFIERLOOSE]+"(?:\\."+s[n.PRERELEASEIDENTIFIERLOOSE]+")*))",R("BUILDIDENTIFIER"),s[n.BUILDIDENTIFIER]=$+"+",R("BUILD"),s[n.BUILD]="(?:\\+("+s[n.BUILDIDENTIFIER]+"(?:\\."+s[n.BUILDIDENTIFIER]+")*))",R("FULL"),R("FULLPLAIN"),s[n.FULLPLAIN]="v?"+s[n.MAINVERSION]+s[n.PRERELEASE]+"?"+s[n.BUILD]+"?",s[n.FULL]="^"+s[n.FULLPLAIN]+"$",R("LOOSEPLAIN"),s[n.LOOSEPLAIN]="[v=\\s]*"+s[n.MAINVERSIONLOOSE]+s[n.PRERELEASELOOSE]+"?"+s[n.BUILD]+"?",R("LOOSE"),s[n.LOOSE]="^"+s[n.LOOSEPLAIN]+"$",R("GTLT"),s[n.GTLT]="((?:<|>)?=?)",R("XRANGEIDENTIFIERLOOSE"),s[n.XRANGEIDENTIFIERLOOSE]=s[n.NUMERICIDENTIFIERLOOSE]+"|x|X|\\*",R("XRANGEIDENTIFIER"),s[n.XRANGEIDENTIFIER]=s[n.NUMERICIDENTIFIER]+"|x|X|\\*",R("XRANGEPLAIN"),s[n.XRANGEPLAIN]="[v=\\s]*("+s[n.XRANGEIDENTIFIER]+")(?:\\.("+s[n.XRANGEIDENTIFIER]+")(?:\\.("+s[n.XRANGEIDENTIFIER]+")(?:"+s[n.PRERELEASE]+")?"+s[n.BUILD]+"?)?)?",R("XRANGEPLAINLOOSE"),s[n.XRANGEPLAINLOOSE]="[v=\\s]*("+s[n.XRANGEIDENTIFIERLOOSE]+")(?:\\.("+s[n.XRANGEIDENTIFIERLOOSE]+")(?:\\.("+s[n.XRANGEIDENTIFIERLOOSE]+")(?:"+s[n.PRERELEASELOOSE]+")?"+s[n.BUILD]+"?)?)?",R("XRANGE"),s[n.XRANGE]="^"+s[n.GTLT]+"\\s*"+s[n.XRANGEPLAIN]+"$",R("XRANGELOOSE"),s[n.XRANGELOOSE]="^"+s[n.GTLT]+"\\s*"+s[n.XRANGEPLAINLOOSE]+"$",R("COERCE"),s[n.COERCE]="(^|[^\\d])(\\d{1,"+_+"})(?:\\.(\\d{1,"+_+"}))?(?:\\.(\\d{1,"+_+"}))?(?:$|[^\\d])",R("COERCERTL"),D[n.COERCERTL]=new RegExp(s[n.COERCE],"g"),h[n.COERCERTL]=new RegExp(g(s[n.COERCE]),"g"),R("LONETILDE"),s[n.LONETILDE]="(?:~>?)",R("TILDETRIM"),s[n.TILDETRIM]="(\\s*)"+s[n.LONETILDE]+"\\s+",D[n.TILDETRIM]=new RegExp(s[n.TILDETRIM],"g"),h[n.TILDETRIM]=new RegExp(g(s[n.TILDETRIM]),"g");var W="$1~";R("TILDE"),s[n.TILDE]="^"+s[n.LONETILDE]+s[n.XRANGEPLAIN]+"$",R("TILDELOOSE"),s[n.TILDELOOSE]="^"+s[n.LONETILDE]+s[n.XRANGEPLAINLOOSE]+"$",R("LONECARET"),s[n.LONECARET]="(?:\\^)",R("CARETTRIM"),s[n.CARETTRIM]="(\\s*)"+s[n.LONECARET]+"\\s+",D[n.CARETTRIM]=new RegExp(s[n.CARETTRIM],"g"),h[n.CARETTRIM]=new RegExp(g(s[n.CARETTRIM]),"g");var x="$1^";R("CARET"),s[n.CARET]="^"+s[n.LONECARET]+s[n.XRANGEPLAIN]+"$",R("CARETLOOSE"),s[n.CARETLOOSE]="^"+s[n.LONECARET]+s[n.XRANGEPLAINLOOSE]+"$",R("COMPARATORLOOSE"),s[n.COMPARATORLOOSE]="^"+s[n.GTLT]+"\\s*("+s[n.LOOSEPLAIN]+")$|^$",R("COMPARATOR"),s[n.COMPARATOR]="^"+s[n.GTLT]+"\\s*("+s[n.FULLPLAIN]+")$|^$",R("COMPARATORTRIM"),s[n.COMPARATORTRIM]="(\\s*)"+s[n.GTLT]+"\\s*("+s[n.LOOSEPLAIN]+"|"+s[n.XRANGEPLAIN]+")",D[n.COMPARATORTRIM]=new RegExp(s[n.COMPARATORTRIM],"g"),h[n.COMPARATORTRIM]=new RegExp(g(s[n.COMPARATORTRIM]),"g");var ee="$1$2$3";R("HYPHENRANGE"),s[n.HYPHENRANGE]="^\\s*("+s[n.XRANGEPLAIN]+")\\s+-\\s+("+s[n.XRANGEPLAIN]+")\\s*$",R("HYPHENRANGELOOSE"),s[n.HYPHENRANGELOOSE]="^\\s*("+s[n.XRANGEPLAINLOOSE]+")\\s+-\\s+("+s[n.XRANGEPLAINLOOSE]+")\\s*$",R("STAR"),s[n.STAR]="(<|>)?=?\\s*\\*";for(var S=0;S<k;S++)I(S,s[S]),D[S]||(D[S]=new RegExp(s[S]),h[S]=new RegExp(g(s[S])));l.parse=C;function C(e,r){if((!r||typeof r!="object")&&(r={loose:!!r,includePrerelease:!1}),e instanceof f)return e;if(typeof e!="string"||e.length>y)return null;var t=r.loose?h[n.LOOSE]:h[n.FULL];if(!t.test(e))return null;try{return new f(e,r)}catch{return null}}l.valid=re;function re(e,r){var t=C(e,r);return t?t.version:null}l.clean=te;function te(e,r){var t=C(e.trim().replace(/^[=v]+/,""),r);return t?t.version:null}l.SemVer=f;function f(e,r){if((!r||typeof r!="object")&&(r={loose:!!r,includePrerelease:!1}),e instanceof f){if(e.loose===r.loose)return e;e=e.version}else if(typeof e!="string")throw new TypeError("Invalid Version: "+e);if(e.length>y)throw new TypeError("version is longer than "+y+" characters");if(!(this instanceof f))return new f(e,r);I("SemVer",e,r),this.options=r,this.loose=!!r.loose;var t=e.trim().match(r.loose?h[n.LOOSE]:h[n.FULL]);if(!t)throw new TypeError("Invalid Version: "+e);if(this.raw=e,this.major=+t[1],this.minor=+t[2],this.patch=+t[3],this.major>G||this.major<0)throw new TypeError("Invalid major version");if(this.minor>G||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>G||this.patch<0)throw new TypeError("Invalid patch version");t[4]?this.prerelease=t[4].split(".").map(function(i){if(/^[0-9]+$/.test(i)){var a=+i;if(a>=0&&a<G)return a}return i}):this.prerelease=[],this.build=t[5]?t[5].split("."):[],this.format()}f.prototype.format=function(){return this.version=this.major+"."+this.minor+"."+this.patch,this.prerelease.length&&(this.version+="-"+this.prerelease.join(".")),this.version},f.prototype.toString=function(){return this.version},f.prototype.compare=function(e){return I("SemVer.compare",this.version,this.options,e),e instanceof f||(e=new f(e,this.options)),this.compareMain(e)||this.comparePre(e)},f.prototype.compareMain=function(e){return e instanceof f||(e=new f(e,this.options)),w(this.major,e.major)||w(this.minor,e.minor)||w(this.patch,e.patch)},f.prototype.comparePre=function(e){if(e instanceof f||(e=new f(e,this.options)),this.prerelease.length&&!e.prerelease.length)return-1;if(!this.prerelease.length&&e.prerelease.length)return 1;if(!this.prerelease.length&&!e.prerelease.length)return 0;var r=0;do{var t=this.prerelease[r],i=e.prerelease[r];if(I("prerelease compare",r,t,i),t===void 0&&i===void 0)return 0;if(i===void 0)return 1;if(t===void 0)return-1;if(t===i)continue;return w(t,i)}while(++r)},f.prototype.compareBuild=function(e){e instanceof f||(e=new f(e,this.options));var r=0;do{var t=this.build[r],i=e.build[r];if(I("prerelease compare",r,t,i),t===void 0&&i===void 0)return 0;if(i===void 0)return 1;if(t===void 0)return-1;if(t===i)continue;return w(t,i)}while(++r)},f.prototype.inc=function(e,r){switch(e){case"premajor":this.prerelease.length=0,this.patch=0,this.minor=0,this.major++,this.inc("pre",r);break;case"preminor":this.prerelease.length=0,this.patch=0,this.minor++,this.inc("pre",r);break;case"prepatch":this.prerelease.length=0,this.inc("patch",r),this.inc("pre",r);break;case"prerelease":this.prerelease.length===0&&this.inc("patch",r),this.inc("pre",r);break;case"major":(this.minor!==0||this.patch!==0||this.prerelease.length===0)&&this.major++,this.minor=0,this.patch=0,this.prerelease=[];break;case"minor":(this.patch!==0||this.prerelease.length===0)&&this.minor++,this.patch=0,this.prerelease=[];break;case"patch":this.prerelease.length===0&&this.patch++,this.prerelease=[];break;case"pre":if(this.prerelease.length===0)this.prerelease=[0];else{for(var t=this.prerelease.length;--t>=0;)typeof this.prerelease[t]=="number"&&(this.prerelease[t]++,t=-2);t===-1&&this.prerelease.push(0)}r&&(this.prerelease[0]===r?isNaN(this.prerelease[1])&&(this.prerelease=[r,0]):this.prerelease=[r,0]);break;default:throw new Error("invalid increment argument: "+e)}return this.format(),this.raw=this.version,this},l.inc=ne;function ne(e,r,t,i){typeof t=="string"&&(i=t,t=void 0);try{return new f(e,t).inc(r,i).version}catch{return null}}l.diff=ie;function ie(e,r){if(V(e,r))return null;var t=C(e),i=C(r),a="";if(t.prerelease.length||i.prerelease.length){a="pre";var E="prerelease"}for(var u in t)if((u==="major"||u==="minor"||u==="patch")&&t[u]!==i[u])return a+u;return E}l.compareIdentifiers=w;var Y=/^[0-9]+$/;function w(e,r){var t=Y.test(e),i=Y.test(r);return t&&i&&(e=+e,r=+r),e===r?0:t&&!i?-1:i&&!t?1:e<r?-1:1}l.rcompareIdentifiers=se;function se(e,r){return w(r,e)}l.major=ae;function ae(e,r){return new f(e,r).major}l.minor=Ee;function Ee(e,r){return new f(e,r).minor}l.patch=ue;function ue(e,r){return new f(e,r).patch}l.compare=m;function m(e,r,t){return new f(e,t).compare(new f(r,t))}l.compareLoose=le;function le(e,r){return m(e,r,!0)}l.compareBuild=fe;function fe(e,r,t){var i=new f(e,t),a=new f(r,t);return i.compare(a)||i.compareBuild(a)}l.rcompare=ce;function ce(e,r,t){return m(r,e,t)}l.sort=Re;function Re(e,r){return e.sort(function(t,i){return l.compareBuild(t,i,r)})}l.rsort=oe;function oe(e,r){return e.sort(function(t,i){return l.compareBuild(i,t,r)})}l.gt=F;function F(e,r,t){return m(e,r,t)>0}l.lt=X;function X(e,r,t){return m(e,r,t)<0}l.eq=V;function V(e,r,t){return m(e,r,t)===0}l.neq=z;function z(e,r,t){return m(e,r,t)!==0}l.gte=H;function H(e,r,t){return m(e,r,t)>=0}l.lte=b;function b(e,r,t){return m(e,r,t)<=0}l.cmp=j;function j(e,r,t,i){switch(r){case"===":return typeof e=="object"&&(e=e.version),typeof t=="object"&&(t=t.version),e===t;case"!==":return typeof e=="object"&&(e=e.version),typeof t=="object"&&(t=t.version),e!==t;case"":case"=":case"==":return V(e,t,i);case"!=":return z(e,t,i);case">":return F(e,t,i);case">=":return H(e,t,i);case"<":return X(e,t,i);case"<=":return b(e,t,i);default:throw new TypeError("Invalid operator: "+r)}}l.Comparator=T;function T(e,r){if((!r||typeof r!="object")&&(r={loose:!!r,includePrerelease:!1}),e instanceof T){if(e.loose===!!r.loose)return e;e=e.value}if(!(this instanceof T))return new T(e,r);e=e.trim().split(/\s+/).join(" "),I("comparator",e,r),this.options=r,this.loose=!!r.loose,this.parse(e),this.semver===P?this.value="":this.value=this.operator+this.semver.version,I("comp",this)}var P={};T.prototype.parse=function(e){var r=this.options.loose?h[n.COMPARATORLOOSE]:h[n.COMPARATOR],t=e.match(r);if(!t)throw new TypeError("Invalid comparator: "+e);this.operator=t[1]!==void 0?t[1]:"",this.operator==="="&&(this.operator=""),t[2]?this.semver=new f(t[2],this.options.loose):this.semver=P},T.prototype.toString=function(){return this.value},T.prototype.test=function(e){if(I("Comparator.test",e,this.options.loose),this.semver===P||e===P)return!0;if(typeof e=="string")try{e=new f(e,this.options)}catch{return!1}return j(e,this.operator,this.semver,this.options)},T.prototype.intersects=function(e,r){if(!(e instanceof T))throw new TypeError("a Comparator is required");(!r||typeof r!="object")&&(r={loose:!!r,includePrerelease:!1});var t;if(this.operator==="")return this.value===""?!0:(t=new O(e.value,r),U(this.value,t,r));if(e.operator==="")return e.value===""?!0:(t=new O(this.value,r),U(e.semver,t,r));var i=(this.operator===">="||this.operator===">")&&(e.operator===">="||e.operator===">"),a=(this.operator==="<="||this.operator==="<")&&(e.operator==="<="||e.operator==="<"),E=this.semver.version===e.semver.version,u=(this.operator===">="||this.operator==="<=")&&(e.operator===">="||e.operator==="<="),o=j(this.semver,"<",e.semver,r)&&(this.operator===">="||this.operator===">")&&(e.operator==="<="||e.operator==="<"),c=j(this.semver,">",e.semver,r)&&(this.operator==="<="||this.operator==="<")&&(e.operator===">="||e.operator===">");return i||a||E&&u||o||c},l.Range=O;function O(e,r){if((!r||typeof r!="object")&&(r={loose:!!r,includePrerelease:!1}),e instanceof O)return e.loose===!!r.loose&&e.includePrerelease===!!r.includePrerelease?e:new O(e.raw,r);if(e instanceof T)return new O(e.value,r);if(!(this instanceof O))return new O(e,r);if(this.options=r,this.loose=!!r.loose,this.includePrerelease=!!r.includePrerelease,this.raw=e.trim().split(/\s+/).join(" "),this.set=this.raw.split("||").map(function(t){return this.parseRange(t.trim())},this).filter(function(t){return t.length}),!this.set.length)throw new TypeError("Invalid SemVer Range: "+this.raw);this.format()}O.prototype.format=function(){return this.range=this.set.map(function(e){return e.join(" ").trim()}).join("||").trim(),this.range},O.prototype.toString=function(){return this.range},O.prototype.parseRange=function(e){var r=this.options.loose,t=r?h[n.HYPHENRANGELOOSE]:h[n.HYPHENRANGE];e=e.replace(t,Se),I("hyphen replace",e),e=e.replace(h[n.COMPARATORTRIM],ee),I("comparator trim",e,h[n.COMPARATORTRIM]),e=e.replace(h[n.TILDETRIM],W),e=e.replace(h[n.CARETTRIM],x),e=e.split(/\s+/).join(" ");var i=r?h[n.COMPARATORLOOSE]:h[n.COMPARATOR],a=e.split(" ").map(function(E){return he(E,this.options)},this).join(" ").split(/\s+/);return this.options.loose&&(a=a.filter(function(E){return!!E.match(i)})),a=a.map(function(E){return new T(E,this.options)},this),a},O.prototype.intersects=function(e,r){if(!(e instanceof O))throw new TypeError("a Range is required");return this.set.some(function(t){return Z(t,r)&&e.set.some(function(i){return Z(i,r)&&t.every(function(a){return i.every(function(E){return a.intersects(E,r)})})})})};function Z(e,r){for(var t=!0,i=e.slice(),a=i.pop();t&&i.length;)t=i.every(function(E){return a.intersects(E,r)}),a=i.pop();return t}l.toComparators=Ie;function Ie(e,r){return new O(e,r).set.map(function(t){return t.map(function(i){return i.value}).join(" ").trim().split(" ")})}function he(e,r){return I("comp",e,r),e=Ne(e,r),I("caret",e),e=Oe(e,r),I("tildes",e),e=Ae(e,r),I("xrange",e),e=ve(e,r),I("stars",e),e}function L(e){return!e||e.toLowerCase()==="x"||e==="*"}function Oe(e,r){return e.trim().split(/\s+/).map(function(t){return Le(t,r)}).join(" ")}function Le(e,r){var t=r.loose?h[n.TILDELOOSE]:h[n.TILDE];return e.replace(t,function(i,a,E,u,o){I("tilde",e,i,a,E,u,o);var c;return L(a)?c="":L(E)?c=">="+a+".0.0 <"+(+a+1)+".0.0":L(u)?c=">="+a+"."+E+".0 <"+a+"."+(+E+1)+".0":o?(I("replaceTilde pr",o),c=">="+a+"."+E+"."+u+"-"+o+" <"+a+"."+(+E+1)+".0"):c=">="+a+"."+E+"."+u+" <"+a+"."+(+E+1)+".0",I("tilde return",c),c})}function Ne(e,r){return e.trim().split(/\s+/).map(function(t){return Te(t,r)}).join(" ")}function Te(e,r){I("caret",e,r);var t=r.loose?h[n.CARETLOOSE]:h[n.CARET];return e.replace(t,function(i,a,E,u,o){I("caret",e,i,a,E,u,o);var c;return L(a)?c="":L(E)?c=">="+a+".0.0 <"+(+a+1)+".0.0":L(u)?a==="0"?c=">="+a+"."+E+".0 <"+a+"."+(+E+1)+".0":c=">="+a+"."+E+".0 <"+(+a+1)+".0.0":o?(I("replaceCaret pr",o),a==="0"?E==="0"?c=">="+a+"."+E+"."+u+"-"+o+" <"+a+"."+E+"."+(+u+1):c=">="+a+"."+E+"."+u+"-"+o+" <"+a+"."+(+E+1)+".0":c=">="+a+"."+E+"."+u+"-"+o+" <"+(+a+1)+".0.0"):(I("no pr"),a==="0"?E==="0"?c=">="+a+"."+E+"."+u+" <"+a+"."+E+"."+(+u+1):c=">="+a+"."+E+"."+u+" <"+a+"."+(+E+1)+".0":c=">="+a+"."+E+"."+u+" <"+(+a+1)+".0.0"),I("caret return",c),c})}function Ae(e,r){return I("replaceXRanges",e,r),e.split(/\s+/).map(function(t){return pe(t,r)}).join(" ")}function pe(e,r){e=e.trim();var t=r.loose?h[n.XRANGELOOSE]:h[n.XRANGE];return e.replace(t,function(i,a,E,u,o,c){I("xRange",e,i,a,E,u,o,c);var p=L(E),v=p||L(u),A=v||L(o),N=A;return a==="="&&N&&(a=""),c=r.includePrerelease?"-0":"",p?a===">"||a==="<"?i="<0.0.0-0":i="*":a&&N?(v&&(u=0),o=0,a===">"?(a=">=",v?(E=+E+1,u=0,o=0):(u=+u+1,o=0)):a==="<="&&(a="<",v?E=+E+1:u=+u+1),i=a+E+"."+u+"."+o+c):v?i=">="+E+".0.0"+c+" <"+(+E+1)+".0.0"+c:A&&(i=">="+E+"."+u+".0"+c+" <"+E+"."+(+u+1)+".0"+c),I("xRange return",i),i})}function ve(e,r){return I("replaceStars",e,r),e.trim().replace(h[n.STAR],"")}function Se(e,r,t,i,a,E,u,o,c,p,v,A,N){return L(t)?r="":L(i)?r=">="+t+".0.0":L(a)?r=">="+t+"."+i+".0":r=">="+r,L(c)?o="":L(p)?o="<"+(+c+1)+".0.0":L(v)?o="<"+c+"."+(+p+1)+".0":A?o="<="+c+"."+p+"."+v+"-"+A:o="<="+o,(r+" "+o).trim()}O.prototype.test=function(e){if(!e)return!1;if(typeof e=="string")try{e=new f(e,this.options)}catch{return!1}for(var r=0;r<this.set.length;r++)if(me(this.set[r],e,this.options))return!0;return!1};function me(e,r,t){for(var i=0;i<e.length;i++)if(!e[i].test(r))return!1;if(r.prerelease.length&&!t.includePrerelease){for(i=0;i<e.length;i++)if(I(e[i].semver),e[i].semver!==P&&e[i].semver.prerelease.length>0){var a=e[i].semver;if(a.major===r.major&&a.minor===r.minor&&a.patch===r.patch)return!0}return!1}return!0}l.satisfies=U;function U(e,r,t){try{r=new O(r,t)}catch{return!1}return r.test(e)}l.maxSatisfying=de;function de(e,r,t){var i=null,a=null;try{var E=new O(r,t)}catch{return null}return e.forEach(function(u){E.test(u)&&(!i||a.compare(u)===-1)&&(i=u,a=new f(i,t))}),i}l.minSatisfying=Ce;function Ce(e,r,t){var i=null,a=null;try{var E=new O(r,t)}catch{return null}return e.forEach(function(u){E.test(u)&&(!i||a.compare(u)===1)&&(i=u,a=new f(i,t))}),i}l.minVersion=we;function we(e,r){e=new O(e,r);var t=new f("0.0.0");if(e.test(t)||(t=new f("0.0.0-0"),e.test(t)))return t;t=null;for(var i=0;i<e.set.length;++i){var a=e.set[i];a.forEach(function(E){var u=new f(E.semver.version);switch(E.operator){case">":u.prerelease.length===0?u.patch++:u.prerelease.push(0),u.raw=u.format();case"":case">=":(!t||F(t,u))&&(t=u);break;case"<":case"<=":break;default:throw new Error("Unexpected operation: "+E.operator)}})}return t&&e.test(t)?t:null}l.validRange=De;function De(e,r){try{return new O(e,r).range||"*"}catch{return null}}l.ltr=Pe;function Pe(e,r,t){return q(e,r,"<",t)}l.gtr=ye;function ye(e,r,t){return q(e,r,">",t)}l.outside=q;function q(e,r,t,i){e=new f(e,i),r=new O(r,i);var a,E,u,o,c;switch(t){case">":a=F,E=b,u=X,o=">",c=">=";break;case"<":a=X,E=H,u=F,o="<",c="<=";break;default:throw new TypeError('Must provide a hilo val of "<" or ">"')}if(U(e,r,i))return!1;for(var p=0;p<r.set.length;++p){var v=r.set[p],A=null,N=null;if(v.forEach(function(d){d.semver===P&&(d=new T(">=0.0.0")),A=A||d,N=N||d,a(d.semver,A.semver,i)?A=d:u(d.semver,N.semver,i)&&(N=d)}),A.operator===o||A.operator===c||(!N.operator||N.operator===o)&&E(e,N.semver))return!1;if(N.operator===c&&u(e,N.semver))return!1}return!0}l.prerelease=ge;function ge(e,r){var t=C(e,r);return t&&t.prerelease.length?t.prerelease:null}l.intersects=Fe;function Fe(e,r,t){return e=new O(e,t),r=new O(r,t),e.intersects(r)}l.coerce=Ge;function Ge(e,r){if(e instanceof f)return e;if(typeof e=="number"&&(e=String(e)),typeof e!="string")return null;r=r||{};var t=null;if(!r.rtl)t=e.match(h[n.COERCE]);else{for(var i;(i=h[n.COERCERTL].exec(e))&&(!t||t.index+t[0].length!==e.length);)(!t||i.index+i[0].length!==t.index+t[0].length)&&(t=i),h[n.COERCERTL].lastIndex=i.index+i[1].length+i[2].length;h[n.COERCERTL].lastIndex=-1}return t===null?null:C(t[2]+"."+(t[3]||"0")+"."+(t[4]||"0"),r)}})(M.__module,M.__module.exports)),M.__module.exports}exports.__require=Xe;
@@ -1,7 +1,7 @@
1
1
  import { __module as M } from "../../../../../_virtual/semver2.js";
2
2
  var J;
3
3
  function Ue() {
4
- return J ? M.exports : (J = 1, function(K, l) {
4
+ return J ? M.exports : (J = 1, (function(K, l) {
5
5
  l = K.exports = f;
6
6
  var I;
7
7
  typeof process == "object" && process.env && process.env.NODE_DEBUG && /\bsemver\b/i.test(process.env.NODE_DEBUG) ? I = function() {
@@ -628,7 +628,7 @@ function Ue() {
628
628
  }
629
629
  return t === null ? null : w(t[2] + "." + (t[3] || "0") + "." + (t[4] || "0"), r);
630
630
  }
631
- }(M, M.exports), M.exports);
631
+ })(M, M.exports), M.exports);
632
632
  }
633
633
  export {
634
634
  Ue as __require
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("../../node_modules/.pnpm/@noble_hashes@1.5.0/node_modules/@noble/hashes/esm/sha256.cjs"),h=require("lodash-es"),d=require("./colors.cjs"),l=require("./x-names.json.cjs");class m{constructor(t,e){this.nameList=t||l.default,this.colorList=e||d.nameDataColors}generate(t){const e=this.hashSeed(t),n=e.getUint32(0)%this.nameList.items.length,s=this.nameList.items[n],o=e.getUint32(4)%s.adjectives.length,i=s.adjectives[o],r=e.getUint32(8)%this.colorList.length,c=this.colorList[r];return{name:`${h.upperFirst(i)} ${s.name}`,emoji:s.emoji,color:c}}hashSeed(t){const e=a.sha256(new TextEncoder().encode(t));return new DataView(e.buffer,e.byteOffset,e.byteLength)}}exports.AccountNameGenerator=m;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("../../node_modules/.pnpm/@noble_hashes@2.0.0/node_modules/@noble/hashes/sha2.cjs"),h=require("lodash-es"),d=require("./colors.cjs"),l=require("./x-names.json.cjs");class m{constructor(t,e){this.nameList=t||l.default,this.colorList=e||d.nameDataColors}generate(t){const e=this.hashSeed(t),n=e.getUint32(0)%this.nameList.items.length,s=this.nameList.items[n],o=e.getUint32(4)%s.adjectives.length,i=s.adjectives[o],r=e.getUint32(8)%this.colorList.length,c=this.colorList[r];return{name:`${h.upperFirst(i)} ${s.name}`,emoji:s.emoji,color:c}}hashSeed(t){const e=a.sha256(new TextEncoder().encode(t));return new DataView(e.buffer,e.byteOffset,e.byteLength)}}exports.AccountNameGenerator=m;
@@ -1,4 +1,4 @@
1
- import { sha256 as c } from "../../node_modules/.pnpm/@noble_hashes@1.5.0/node_modules/@noble/hashes/esm/sha256.js";
1
+ import { sha256 as c } from "../../node_modules/.pnpm/@noble_hashes@2.0.0/node_modules/@noble/hashes/sha2.js";
2
2
  import { upperFirst as m } from "lodash-es";
3
3
  import { nameDataColors as h } from "./colors.js";
4
4
  import d from "./x-names.json.js";
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("../../node_modules/.pnpm/@noble_hashes@1.5.0/node_modules/@noble/hashes/esm/sha3.cjs"),e=require("../../node_modules/.pnpm/@noble_hashes@1.5.0/node_modules/@noble/hashes/esm/utils.cjs");function i(t){return`0x${e.bytesToHex(r.keccak_256(e.utf8ToBytes(t)))}`}exports.id=i;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("../../node_modules/.pnpm/@noble_hashes@2.0.0/node_modules/@noble/hashes/sha3.cjs"),e=require("../../node_modules/.pnpm/@noble_hashes@2.0.0/node_modules/@noble/hashes/utils.cjs");function i(t){return`0x${e.bytesToHex(r.keccak_256(e.utf8ToBytes(t)))}`}exports.id=i;
@@ -1,5 +1,5 @@
1
- import { keccak_256 as t } from "../../node_modules/.pnpm/@noble_hashes@1.5.0/node_modules/@noble/hashes/esm/sha3.js";
2
- import { bytesToHex as r, utf8ToBytes as e } from "../../node_modules/.pnpm/@noble_hashes@1.5.0/node_modules/@noble/hashes/esm/utils.js";
1
+ import { keccak_256 as t } from "../../node_modules/.pnpm/@noble_hashes@2.0.0/node_modules/@noble/hashes/sha3.js";
2
+ import { bytesToHex as r, utf8ToBytes as e } from "../../node_modules/.pnpm/@noble_hashes@2.0.0/node_modules/@noble/hashes/utils.js";
3
3
  function m(o) {
4
4
  return `0x${r(t(e(o)))}`;
5
5
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@argent/x-shared",
3
- "version": "1.75.4",
3
+ "version": "1.75.6",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "git+https://github.com/argentlabs/x-shared.git"
@@ -55,7 +55,7 @@
55
55
  "i18n:upload": "node --loader ts-node/esm --experimental-specifier-resolution=node --no-warnings src/scripts/upload-translation.ts"
56
56
  },
57
57
  "devDependencies": {
58
- "@amplitude/analytics-types": "2.9.2",
58
+ "@amplitude/analytics-types": "2.10.0",
59
59
  "@commitlint/cli": "19.8.1",
60
60
  "@commitlint/config-conventional": "19.8.1",
61
61
  "@rollup/plugin-typescript": "12.1.4",
@@ -64,23 +64,23 @@
64
64
  "@types/lodash-es": "4.17.12",
65
65
  "@types/numeral": "2.0.5",
66
66
  "@types/ua-parser-js": "0.7.39",
67
- "@typescript-eslint/eslint-plugin": "8.39.1",
68
- "@typescript-eslint/parser": "8.39.1",
69
- "esbuild": "0.25.8",
67
+ "@typescript-eslint/eslint-plugin": "8.41.0",
68
+ "@typescript-eslint/parser": "8.41.0",
69
+ "esbuild": "0.25.9",
70
70
  "esbuild-register": "3.6.0",
71
71
  "eslint": "8.57.1",
72
72
  "eslint-config-prettier": "10.1.8",
73
73
  "eslint-plugin-import": "2.32.0",
74
74
  "husky": "9.1.7",
75
75
  "lint-staged": "16.1.5",
76
- "msw": "2.10.4",
76
+ "msw": "2.10.5",
77
77
  "prettier": "3.6.2",
78
78
  "semantic-release": "24.2.7",
79
79
  "ts-node": "10.9.2",
80
80
  "ts-to-zod": "3.15.0",
81
- "tsx": "4.20.3",
81
+ "tsx": "4.20.5",
82
82
  "typescript": "5.9.2",
83
- "vite": "7.1.1",
83
+ "vite": "7.1.3",
84
84
  "vite-plugin-dts": "4.5.4",
85
85
  "vitest": "3.2.4"
86
86
  },
@@ -89,8 +89,8 @@
89
89
  "@langchain/core": "^0.3.43",
90
90
  "@langchain/google-genai": "^0.2.2",
91
91
  "@lokalise/node-api": "^15.0.0",
92
- "@noble/hashes": "^1.3.1",
93
- "@starknet-io/types-js": "0.9.0-beta.5",
92
+ "@noble/hashes": "^2.0.0",
93
+ "@starknet-io/types-js": "0.9.1",
94
94
  "@types/fs-extra": "^11.0.4",
95
95
  "big-decimal-number": "npm:bignumber.js@^9.1.2",
96
96
  "dotenv": "^17.0.0",
@@ -105,13 +105,13 @@
105
105
  "zod-to-json-schema": "^3.24.5"
106
106
  },
107
107
  "peerDependencies": {
108
- "@scure/base": "^1.1.1",
109
- "@scure/bip39": "^1.2.1",
108
+ "@scure/base": "^2.0.0",
109
+ "@scure/bip39": "^2.0.0",
110
110
  "async-retry": "^1.3.3",
111
111
  "lodash-es": "^4.17.21",
112
112
  "ua-parser-js": "^1.0.38 || ^2.0.0",
113
113
  "url-join": "^5.0.0",
114
- "zod": "4.0.17"
114
+ "zod": "4.1.1"
115
115
  },
116
116
  "lint-staged": {
117
117
  "*": "prettier --ignore-unknown --write",
@@ -1 +0,0 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});function i(e){if(!Number.isSafeInteger(e)||e<0)throw new Error(`positive integer expected, not ${e}`)}function n(e){return e instanceof Uint8Array||e!=null&&typeof e=="object"&&e.constructor.name==="Uint8Array"}function o(e,...t){if(!n(e))throw new Error("Uint8Array expected");if(t.length>0&&!t.includes(e.length))throw new Error(`Uint8Array expected of length ${t}, not of length=${e.length}`)}function s(e,t=!0){if(e.destroyed)throw new Error("Hash instance has been destroyed");if(t&&e.finished)throw new Error("Hash#digest() has already been called")}function u(e,t){o(e);const r=t.outputLen;if(e.length<r)throw new Error(`digestInto() expects output buffer of length at least ${r}`)}exports.bytes=o;exports.exists=s;exports.isBytes=n;exports.number=i;exports.output=u;
@@ -1,32 +0,0 @@
1
- function i(e) {
2
- if (!Number.isSafeInteger(e) || e < 0)
3
- throw new Error(`positive integer expected, not ${e}`);
4
- }
5
- function n(e) {
6
- return e instanceof Uint8Array || e != null && typeof e == "object" && e.constructor.name === "Uint8Array";
7
- }
8
- function o(e, ...t) {
9
- if (!n(e))
10
- throw new Error("Uint8Array expected");
11
- if (t.length > 0 && !t.includes(e.length))
12
- throw new Error(`Uint8Array expected of length ${t}, not of length=${e.length}`);
13
- }
14
- function f(e, t = !0) {
15
- if (e.destroyed)
16
- throw new Error("Hash instance has been destroyed");
17
- if (t && e.finished)
18
- throw new Error("Hash#digest() has already been called");
19
- }
20
- function s(e, t) {
21
- o(e);
22
- const r = t.outputLen;
23
- if (e.length < r)
24
- throw new Error(`digestInto() expects output buffer of length at least ${r}`);
25
- }
26
- export {
27
- o as bytes,
28
- f as exists,
29
- n as isBytes,
30
- i as number,
31
- s as output
32
- };
@@ -1 +0,0 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const p=require("./_assert.cjs"),u=require("./utils.cjs");function a(o,t,s,i){if(typeof o.setBigUint64=="function")return o.setBigUint64(t,s,i);const n=BigInt(32),h=BigInt(4294967295),e=Number(s>>n&h),r=Number(s&h),c=i?4:0,l=i?0:4;o.setUint32(t+c,e,i),o.setUint32(t+l,r,i)}const d=(o,t,s)=>o&t^~o&s,b=(o,t,s)=>o&t^o&s^t&s;class w extends u.Hash{constructor(t,s,i,n){super(),this.blockLen=t,this.outputLen=s,this.padOffset=i,this.isLE=n,this.finished=!1,this.length=0,this.pos=0,this.destroyed=!1,this.buffer=new Uint8Array(t),this.view=u.createView(this.buffer)}update(t){p.exists(this);const{view:s,buffer:i,blockLen:n}=this;t=u.toBytes(t);const h=t.length;for(let e=0;e<h;){const r=Math.min(n-this.pos,h-e);if(r===n){const c=u.createView(t);for(;n<=h-e;e+=n)this.process(c,e);continue}i.set(t.subarray(e,e+r),this.pos),this.pos+=r,e+=r,this.pos===n&&(this.process(s,0),this.pos=0)}return this.length+=t.length,this.roundClean(),this}digestInto(t){p.exists(this),p.output(t,this),this.finished=!0;const{buffer:s,view:i,blockLen:n,isLE:h}=this;let{pos:e}=this;s[e++]=128,this.buffer.subarray(e).fill(0),this.padOffset>n-e&&(this.process(i,0),e=0);for(let f=e;f<n;f++)s[f]=0;a(i,n-8,BigInt(this.length*8),h),this.process(i,0);const r=u.createView(t),c=this.outputLen;if(c%4)throw new Error("_sha2: outputLen should be aligned to 32bit");const l=c/4,g=this.get();if(l>g.length)throw new Error("_sha2: outputLen bigger than state");for(let f=0;f<l;f++)r.setUint32(4*f,g[f],h)}digest(){const{buffer:t,outputLen:s}=this;this.digestInto(t);const i=t.slice(0,s);return this.destroy(),i}_cloneInto(t){t||(t=new this.constructor),t.set(...this.get());const{blockLen:s,buffer:i,length:n,finished:h,destroyed:e,pos:r}=this;return t.length=n,t.pos=r,t.finished=h,t.destroyed=e,n%s&&t.buffer.set(i),t}}exports.Chi=d;exports.HashMD=w;exports.Maj=b;
@@ -1,64 +0,0 @@
1
- import { exists as g, output as d } from "./_assert.js";
2
- import { Hash as b, createView as p, toBytes as a } from "./utils.js";
3
- function w(o, t, s, i) {
4
- if (typeof o.setBigUint64 == "function")
5
- return o.setBigUint64(t, s, i);
6
- const n = BigInt(32), h = BigInt(4294967295), e = Number(s >> n & h), r = Number(s & h), c = i ? 4 : 0, u = i ? 0 : 4;
7
- o.setUint32(t + c, e, i), o.setUint32(t + u, r, i);
8
- }
9
- const B = (o, t, s) => o & t ^ ~o & s, L = (o, t, s) => o & t ^ o & s ^ t & s;
10
- class U extends b {
11
- constructor(t, s, i, n) {
12
- super(), this.blockLen = t, this.outputLen = s, this.padOffset = i, this.isLE = n, this.finished = !1, this.length = 0, this.pos = 0, this.destroyed = !1, this.buffer = new Uint8Array(t), this.view = p(this.buffer);
13
- }
14
- update(t) {
15
- g(this);
16
- const { view: s, buffer: i, blockLen: n } = this;
17
- t = a(t);
18
- const h = t.length;
19
- for (let e = 0; e < h; ) {
20
- const r = Math.min(n - this.pos, h - e);
21
- if (r === n) {
22
- const c = p(t);
23
- for (; n <= h - e; e += n)
24
- this.process(c, e);
25
- continue;
26
- }
27
- i.set(t.subarray(e, e + r), this.pos), this.pos += r, e += r, this.pos === n && (this.process(s, 0), this.pos = 0);
28
- }
29
- return this.length += t.length, this.roundClean(), this;
30
- }
31
- digestInto(t) {
32
- g(this), d(t, this), this.finished = !0;
33
- const { buffer: s, view: i, blockLen: n, isLE: h } = this;
34
- let { pos: e } = this;
35
- s[e++] = 128, this.buffer.subarray(e).fill(0), this.padOffset > n - e && (this.process(i, 0), e = 0);
36
- for (let f = e; f < n; f++)
37
- s[f] = 0;
38
- w(i, n - 8, BigInt(this.length * 8), h), this.process(i, 0);
39
- const r = p(t), c = this.outputLen;
40
- if (c % 4)
41
- throw new Error("_sha2: outputLen should be aligned to 32bit");
42
- const u = c / 4, l = this.get();
43
- if (u > l.length)
44
- throw new Error("_sha2: outputLen bigger than state");
45
- for (let f = 0; f < u; f++)
46
- r.setUint32(4 * f, l[f], h);
47
- }
48
- digest() {
49
- const { buffer: t, outputLen: s } = this;
50
- this.digestInto(t);
51
- const i = t.slice(0, s);
52
- return this.destroy(), i;
53
- }
54
- _cloneInto(t) {
55
- t || (t = new this.constructor()), t.set(...this.get());
56
- const { blockLen: s, buffer: i, length: n, finished: h, destroyed: e, pos: r } = this;
57
- return t.length = n, t.pos = r, t.finished = h, t.destroyed = e, n % s && t.buffer.set(i), t;
58
- }
59
- }
60
- export {
61
- B as Chi,
62
- U as HashMD,
63
- L as Maj
64
- };
@@ -1 +0,0 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const n=BigInt(2**32-1),i=BigInt(32);function u(t,e=!1){return e?{h:Number(t&n),l:Number(t>>i&n)}:{h:Number(t>>i&n)|0,l:Number(t&n)|0}}function g(t,e=!1){let r=new Uint32Array(t.length),l=new Uint32Array(t.length);for(let o=0;o<t.length;o++){const{h:c,l:f}=u(t[o],e);[r[o],l[o]]=[c,f]}return[r,l]}const B=(t,e,r)=>t<<r|e>>>32-r,h=(t,e,r)=>e<<r|t>>>32-r,m=(t,e,r)=>e<<r-32|t>>>64-r,S=(t,e,r)=>t<<r-32|e>>>64-r;exports.fromBig=u;exports.rotlBH=m;exports.rotlBL=S;exports.rotlSH=B;exports.rotlSL=h;exports.split=g;
@@ -1,21 +0,0 @@
1
- const o = /* @__PURE__ */ BigInt(4294967295), i = /* @__PURE__ */ BigInt(32);
2
- function f(t, r = !1) {
3
- return r ? { h: Number(t & o), l: Number(t >> i & o) } : { h: Number(t >> i & o) | 0, l: Number(t & o) | 0 };
4
- }
5
- function h(t, r = !1) {
6
- let n = new Uint32Array(t.length), l = new Uint32Array(t.length);
7
- for (let e = 0; e < t.length; e++) {
8
- const { h: c, l: u } = f(t[e], r);
9
- [n[e], l[e]] = [c, u];
10
- }
11
- return [n, l];
12
- }
13
- const g = (t, r, n) => t << n | r >>> 32 - n, m = (t, r, n) => r << n | t >>> 32 - n, A = (t, r, n) => r << n - 32 | t >>> 64 - n, B = (t, r, n) => t << n - 32 | r >>> 64 - n;
14
- export {
15
- f as fromBig,
16
- A as rotlBH,
17
- B as rotlBL,
18
- g as rotlSH,
19
- m as rotlSL,
20
- h as split
21
- };
@@ -1 +0,0 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const H=require("./_md.cjs"),s=require("./utils.cjs"),S=new Uint32Array([1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298]),b=new Uint32Array([1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225]),f=new Uint32Array(64);class g extends H.HashMD{constructor(){super(64,32,8,!1),this.A=b[0]|0,this.B=b[1]|0,this.C=b[2]|0,this.D=b[3]|0,this.E=b[4]|0,this.F=b[5]|0,this.G=b[6]|0,this.H=b[7]|0}get(){const{A:d,B:o,C:x,D:e,E:a,F:i,G:c,H:r}=this;return[d,o,x,e,a,i,c,r]}set(d,o,x,e,a,i,c,r){this.A=d|0,this.B=o|0,this.C=x|0,this.D=e|0,this.E=a|0,this.F=i|0,this.G=c|0,this.H=r|0}process(d,o){for(let t=0;t<16;t++,o+=4)f[t]=d.getUint32(o,!1);for(let t=16;t<64;t++){const A=f[t-15],n=f[t-2],C=s.rotr(A,7)^s.rotr(A,18)^A>>>3,u=s.rotr(n,17)^s.rotr(n,19)^n>>>10;f[t]=u+f[t-7]+C+f[t-16]|0}let{A:x,B:e,C:a,D:i,E:c,F:r,G:h,H:l}=this;for(let t=0;t<64;t++){const A=s.rotr(c,6)^s.rotr(c,11)^s.rotr(c,25),n=l+A+H.Chi(c,r,h)+S[t]+f[t]|0,u=(s.rotr(x,2)^s.rotr(x,13)^s.rotr(x,22))+H.Maj(x,e,a)|0;l=h,h=r,r=c,c=i+n|0,i=a,a=e,e=x,x=n+u|0}x=x+this.A|0,e=e+this.B|0,a=a+this.C|0,i=i+this.D|0,c=c+this.E|0,r=r+this.F|0,h=h+this.G|0,l=l+this.H|0,this.set(x,e,a,i,c,r,h,l)}roundClean(){f.fill(0)}destroy(){this.set(0,0,0,0,0,0,0,0),this.buffer.fill(0)}}const y=s.wrapConstructor(()=>new g);exports.SHA256=g;exports.sha256=y;