From 1edd6b5f3e49f6613c4795f7087b75bf1ff711ee Mon Sep 17 00:00:00 2001 From: Resolve Bot Date: Thu, 19 Aug 2021 13:27:51 +0000 Subject: [PATCH] Build artifacts --- publish/dist/main.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/publish/dist/main.js b/publish/dist/main.js index 261a98c..06f6595 100644 --- a/publish/dist/main.js +++ b/publish/dist/main.js @@ -1 +1 @@ -(()=>{var e={2592:function(e,t,r){"use strict";var n=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)Object.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t.default=e,t};Object.defineProperty(t,"__esModule",{value:!0});const o=n(r(2087));function s(e,t,r){const n=new i(e,t,r);process.stdout.write(n.toString()+o.EOL)}t.issueCommand=s,t.issue=function(e,t=""){s(e,{},t)};class i{constructor(e,t,r){e||(e="missing.command"),this.command=e,this.properties=t,this.message=r}toString(){let e="::"+this.command;if(this.properties&&Object.keys(this.properties).length>0){e+=" ";let r=!0;for(const n in this.properties)if(this.properties.hasOwnProperty(n)){const o=this.properties[n];o&&(r?r=!1:e+=",",e+=`${n}=${t=o,a(t).replace(/%/g,"%25").replace(/\r/g,"%0D").replace(/\n/g,"%0A").replace(/:/g,"%3A").replace(/,/g,"%2C")}`)}}var t;return e+=`::${function(e){return a(e).replace(/%/g,"%25").replace(/\r/g,"%0D").replace(/\n/g,"%0A")}(this.message)}`,e}}function a(e){return null==e?"":"string"==typeof e||e instanceof String?e:JSON.stringify(e)}t.toCommandValue=a},516:function(e,t,r){"use strict";var n=this&&this.__awaiter||function(e,t,r,n){return new(r||(r=Promise))((function(o,s){function i(e){try{u(n.next(e))}catch(e){s(e)}}function a(e){try{u(n.throw(e))}catch(e){s(e)}}function u(e){var t;e.done?o(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(i,a)}u((n=n.apply(e,t||[])).next())}))},o=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)Object.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t.default=e,t};Object.defineProperty(t,"__esModule",{value:!0});const s=r(2592),i=o(r(2087)),a=o(r(5622));var u;function c(e){s.issue("error",e instanceof Error?e.toString():e)}function l(e){s.issue("group",e)}function h(){s.issue("endgroup")}!function(e){e[e.Success=0]="Success",e[e.Failure=1]="Failure"}(u=t.ExitCode||(t.ExitCode={})),t.exportVariable=function(e,t){const r=s.toCommandValue(t);process.env[e]=r,s.issueCommand("set-env",{name:e},r)},t.setSecret=function(e){s.issueCommand("add-mask",{},e)},t.addPath=function(e){s.issueCommand("add-path",{},e),process.env.PATH=`${e}${a.delimiter}${process.env.PATH}`},t.getInput=function(e,t){const r=process.env[`INPUT_${e.replace(/ /g,"_").toUpperCase()}`]||"";if(t&&t.required&&!r)throw new Error(`Input required and not supplied: ${e}`);return r.trim()},t.setOutput=function(e,t){s.issueCommand("set-output",{name:e},t)},t.setCommandEcho=function(e){s.issue("echo",e?"on":"off")},t.setFailed=function(e){process.exitCode=u.Failure,c(e)},t.isDebug=function(){return"1"===process.env.RUNNER_DEBUG},t.debug=function(e){s.issueCommand("debug",{},e)},t.error=c,t.warning=function(e){s.issue("warning",e instanceof Error?e.toString():e)},t.info=function(e){process.stdout.write(e+i.EOL)},t.startGroup=l,t.endGroup=h,t.group=function(e,t){return n(this,void 0,void 0,(function*(){let r;l(e);try{r=yield t()}finally{h()}return r}))},t.saveState=function(e,t){s.issueCommand("save-state",{name:e},t)},t.getState=function(e){return process.env[`STATE_${e}`]||""}},4598:(e,t,r)=>{e=r.nmd(e);var n="__lodash_hash_undefined__",o=9007199254740991,s="[object Arguments]",i="[object Boolean]",a="[object Date]",u="[object Function]",c="[object GeneratorFunction]",l="[object Map]",h="[object Number]",p="[object Object]",f="[object Promise]",v="[object RegExp]",g="[object Set]",d="[object String]",m="[object Symbol]",E="[object WeakMap]",y="[object ArrayBuffer]",$="[object DataView]",b="[object Float32Array]",w="[object Float64Array]",O="[object Int8Array]",R="[object Int16Array]",I="[object Int32Array]",_="[object Uint8Array]",S="[object Uint8ClampedArray]",A="[object Uint16Array]",N="[object Uint32Array]",x=/\w*$/,L=/^\[object .+?Constructor\]$/,j=/^(?:0|[1-9]\d*)$/,T={};T[s]=T["[object Array]"]=T[y]=T[$]=T[i]=T[a]=T[b]=T[w]=T[O]=T[R]=T[I]=T[l]=T[h]=T[p]=T[v]=T[g]=T[d]=T[m]=T[_]=T[S]=T[A]=T[N]=!0,T["[object Error]"]=T[u]=T[E]=!1;var P="object"==typeof global&&global&&global.Object===Object&&global,C="object"==typeof self&&self&&self.Object===Object&&self,D=P||C||Function("return this")(),k=t&&!t.nodeType&&t,M=k&&e&&!e.nodeType&&e,F=M&&M.exports===k;function G(e,t){return e.set(t[0],t[1]),e}function U(e,t){return e.add(t),e}function X(e,t,r,n){var o=-1,s=e?e.length:0;for(n&&s&&(r=e[++o]);++o-1},Se.prototype.set=function(e,t){var r=this.__data__,n=Le(r,e);return n<0?r.push([e,t]):r[n][1]=t,this},Ae.prototype.clear=function(){this.__data__={hash:new _e,map:new(ve||Se),string:new _e}},Ae.prototype.delete=function(e){return Ce(this,e).delete(e)},Ae.prototype.get=function(e){return Ce(this,e).get(e)},Ae.prototype.has=function(e){return Ce(this,e).has(e)},Ae.prototype.set=function(e,t){return Ce(this,e).set(e,t),this},Ne.prototype.clear=function(){this.__data__=new Se},Ne.prototype.delete=function(e){return this.__data__.delete(e)},Ne.prototype.get=function(e){return this.__data__.get(e)},Ne.prototype.has=function(e){return this.__data__.has(e)},Ne.prototype.set=function(e,t){var r=this.__data__;if(r instanceof Se){var n=r.__data__;if(!ve||n.length<199)return n.push([e,t]),this;r=this.__data__=new Ae(n)}return r.set(e,t),this};var ke=le?H(le,Object):function(){return[]},Me=function(e){return te.call(e)};function Fe(e,t){return!!(t=null==t?o:t)&&("number"==typeof e||j.test(e))&&e>-1&&e%1==0&&e-1&&e%1==0&&e<=o}(e.length)&&!qe(e)}var He=he||function(){return!1};function qe(e){var t=We(e)?te.call(e):"";return t==u||t==c}function We(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function Ye(e){return Ve(e)?function(e,t){var r=Be(e)||function(e){return function(e){return function(e){return!!e&&"object"==typeof e}(e)&&Ve(e)}(e)&&ee.call(e,"callee")&&(!ue.call(e,"callee")||te.call(e)==s)}(e)?function(e,t){for(var r=-1,n=Array(e);++r{e=r.nmd(e);var n,o,s,i="[object Map]",a="[object Promise]",u="[object Set]",c="[object WeakMap]",l="[object DataView]",h=/^\[object .+?Constructor\]$/,p="object"==typeof global&&global&&global.Object===Object&&global,f="object"==typeof self&&self&&self.Object===Object&&self,v=p||f||Function("return this")(),g=t&&!t.nodeType&&t,d=g&&e&&!e.nodeType&&e,m=d&&d.exports===g,E=Function.prototype,y=Object.prototype,$=v["__core-js_shared__"],b=(n=/[^.]+$/.exec($&&$.keys&&$.keys.IE_PROTO||""))?"Symbol(src)_1."+n:"",w=E.toString,O=y.hasOwnProperty,R=y.toString,I=RegExp("^"+w.call(O).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),_=m?v.Buffer:void 0,S=y.propertyIsEnumerable,A=_?_.isBuffer:void 0,N=(o=Object.keys,s=Object,function(e){return o(s(e))}),x=U(v,"DataView"),L=U(v,"Map"),j=U(v,"Promise"),T=U(v,"Set"),P=U(v,"WeakMap"),C=!S.call({valueOf:1},"valueOf"),D=B(x),k=B(L),M=B(j),F=B(T),G=B(P);function U(e,t){var r=function(e,t){return null==e?void 0:e[t]}(e,t);return function(e){return!(!Y(e)||function(e){return!!b&&b in e}(e))&&(W(e)||function(e){var t=!1;if(null!=e&&"function"!=typeof e.toString)try{t=!!(e+"")}catch(e){}return t}(e)?I:h).test(B(e))}(r)?r:void 0}var X=function(e){return R.call(e)};function B(e){if(null!=e){try{return w.call(e)}catch(e){}try{return e+""}catch(e){}}return""}(x&&X(new x(new ArrayBuffer(1)))!=l||L&&X(new L)!=i||j&&X(j.resolve())!=a||T&&X(new T)!=u||P&&X(new P)!=c)&&(X=function(e){var t=R.call(e),r="[object Object]"==t?e.constructor:void 0,n=r?B(r):void 0;if(n)switch(n){case D:return l;case k:return i;case M:return a;case F:return u;case G:return c}return t});var V=Array.isArray;function H(e){return null!=e&&function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991}(e.length)&&!W(e)}var q=A||function(){return!1};function W(e){var t=Y(e)?R.call(e):"";return"[object Function]"==t||"[object GeneratorFunction]"==t}function Y(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}e.exports=function(e){if(H(e)&&(V(e)||"string"==typeof e||"function"==typeof e.splice||q(e)||function(e){return function(e){return function(e){return!!e&&"object"==typeof e}(e)&&H(e)}(e)&&O.call(e,"callee")&&(!S.call(e,"callee")||"[object Arguments]"==R.call(e))}(e)))return!e.length;var t=X(e);if(t==i||t==u)return!e.size;if(C||function(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||y)}(e))return!N(e).length;for(var r in e)if(O.call(e,r))return!1;return!0}},5295:(e,t,r)=>{"use strict";const n=r(7372),o=Symbol("max"),s=Symbol("length"),i=Symbol("lengthCalculator"),a=Symbol("allowStale"),u=Symbol("maxAge"),c=Symbol("dispose"),l=Symbol("noDisposeOnSet"),h=Symbol("lruList"),p=Symbol("cache"),f=Symbol("updateAgeOnGet"),v=()=>1,g=(e,t,r)=>{const n=e[p].get(t);if(n){const t=n.value;if(d(e,t)){if(E(e,n),!e[a])return}else r&&(e[f]&&(n.value.now=Date.now()),e[h].unshiftNode(n));return t.value}},d=(e,t)=>{if(!t||!t.maxAge&&!e[u])return!1;const r=Date.now()-t.now;return t.maxAge?r>t.maxAge:e[u]&&r>e[u]},m=e=>{if(e[s]>e[o])for(let t=e[h].tail;e[s]>e[o]&&null!==t;){const r=t.prev;E(e,t),t=r}},E=(e,t)=>{if(t){const r=t.value;e[c]&&e[c](r.key,r.value),e[s]-=r.length,e[p].delete(r.key),e[h].removeNode(t)}};class y{constructor(e,t,r,n,o){this.key=e,this.value=t,this.length=r,this.now=n,this.maxAge=o||0}}const $=(e,t,r,n)=>{let o=r.value;d(e,o)&&(E(e,r),e[a]||(o=void 0)),o&&t.call(n,o.value,o.key,e)};e.exports=class{constructor(e){if("number"==typeof e&&(e={max:e}),e||(e={}),e.max&&("number"!=typeof e.max||e.max<0))throw new TypeError("max must be a non-negative number");this[o]=e.max||1/0;const t=e.length||v;if(this[i]="function"!=typeof t?v:t,this[a]=e.stale||!1,e.maxAge&&"number"!=typeof e.maxAge)throw new TypeError("maxAge must be a number");this[u]=e.maxAge||0,this[c]=e.dispose,this[l]=e.noDisposeOnSet||!1,this[f]=e.updateAgeOnGet||!1,this.reset()}set max(e){if("number"!=typeof e||e<0)throw new TypeError("max must be a non-negative number");this[o]=e||1/0,m(this)}get max(){return this[o]}set allowStale(e){this[a]=!!e}get allowStale(){return this[a]}set maxAge(e){if("number"!=typeof e)throw new TypeError("maxAge must be a non-negative number");this[u]=e,m(this)}get maxAge(){return this[u]}set lengthCalculator(e){"function"!=typeof e&&(e=v),e!==this[i]&&(this[i]=e,this[s]=0,this[h].forEach((e=>{e.length=this[i](e.value,e.key),this[s]+=e.length}))),m(this)}get lengthCalculator(){return this[i]}get length(){return this[s]}get itemCount(){return this[h].length}rforEach(e,t){t=t||this;for(let r=this[h].tail;null!==r;){const n=r.prev;$(this,e,r,t),r=n}}forEach(e,t){t=t||this;for(let r=this[h].head;null!==r;){const n=r.next;$(this,e,r,t),r=n}}keys(){return this[h].toArray().map((e=>e.key))}values(){return this[h].toArray().map((e=>e.value))}reset(){this[c]&&this[h]&&this[h].length&&this[h].forEach((e=>this[c](e.key,e.value))),this[p]=new Map,this[h]=new n,this[s]=0}dump(){return this[h].map((e=>!d(this,e)&&{k:e.key,v:e.value,e:e.now+(e.maxAge||0)})).toArray().filter((e=>e))}dumpLru(){return this[h]}set(e,t,r){if((r=r||this[u])&&"number"!=typeof r)throw new TypeError("maxAge must be a number");const n=r?Date.now():0,a=this[i](t,e);if(this[p].has(e)){if(a>this[o])return E(this,this[p].get(e)),!1;const i=this[p].get(e).value;return this[c]&&(this[l]||this[c](e,i.value)),i.now=n,i.maxAge=r,i.value=t,this[s]+=a-i.length,i.length=a,this.get(e),m(this),!0}const f=new y(e,t,a,n,r);return f.length>this[o]?(this[c]&&this[c](e,t),!1):(this[s]+=f.length,this[h].unshift(f),this[p].set(e,this[h].head),m(this),!0)}has(e){if(!this[p].has(e))return!1;const t=this[p].get(e).value;return!d(this,t)}get(e){return g(this,e,!0)}peek(e){return g(this,e,!1)}pop(){const e=this[h].tail;return e?(E(this,e),e.value):null}del(e){E(this,this[p].get(e))}load(e){this.reset();const t=Date.now();for(let r=e.length-1;r>=0;r--){const n=e[r],o=n.e||0;if(0===o)this.set(n.k,n.v);else{const e=o-t;e>0&&this.set(n.k,n.v,e)}}}prune(){this[p].forEach(((e,t)=>g(this,t,!1)))}}},3134:(e,t,r)=>{const n=Symbol("SemVer ANY");class o{static get ANY(){return n}constructor(e,t){if(t=s(t),e instanceof o){if(e.loose===!!t.loose)return e;e=e.value}c("comparator",e,t),this.options=t,this.loose=!!t.loose,this.parse(e),this.semver===n?this.value="":this.value=this.operator+this.semver.version,c("comp",this)}parse(e){const t=this.options.loose?i[a.COMPARATORLOOSE]:i[a.COMPARATOR],r=e.match(t);if(!r)throw new TypeError(`Invalid comparator: ${e}`);this.operator=void 0!==r[1]?r[1]:"","="===this.operator&&(this.operator=""),r[2]?this.semver=new l(r[2],this.options.loose):this.semver=n}toString(){return this.value}test(e){if(c("Comparator.test",e,this.options.loose),this.semver===n||e===n)return!0;if("string"==typeof e)try{e=new l(e,this.options)}catch(e){return!1}return u(e,this.operator,this.semver,this.options)}intersects(e,t){if(!(e instanceof o))throw new TypeError("a Comparator is required");if(t&&"object"==typeof t||(t={loose:!!t,includePrerelease:!1}),""===this.operator)return""===this.value||new h(e.value,t).test(this.value);if(""===e.operator)return""===e.value||new h(this.value,t).test(e.semver);const r=!(">="!==this.operator&&">"!==this.operator||">="!==e.operator&&">"!==e.operator),n=!("<="!==this.operator&&"<"!==this.operator||"<="!==e.operator&&"<"!==e.operator),s=this.semver.version===e.semver.version,i=!(">="!==this.operator&&"<="!==this.operator||">="!==e.operator&&"<="!==e.operator),a=u(this.semver,"<",e.semver,t)&&(">="===this.operator||">"===this.operator)&&("<="===e.operator||"<"===e.operator),c=u(this.semver,">",e.semver,t)&&("<="===this.operator||"<"===this.operator)&&(">="===e.operator||">"===e.operator);return r||n||s&&i||a||c}}e.exports=o;const s=r(8716),{re:i,t:a}=r(9022),u=r(5452),c=r(6830),l=r(9510),h=r(7374)},7374:(e,t,r)=>{class n{constructor(e,t){if(t=s(t),e instanceof n)return e.loose===!!t.loose&&e.includePrerelease===!!t.includePrerelease?e:new n(e.raw,t);if(e instanceof i)return this.raw=e.value,this.set=[[e]],this.format(),this;if(this.options=t,this.loose=!!t.loose,this.includePrerelease=!!t.includePrerelease,this.raw=e,this.set=e.split(/\s*\|\|\s*/).map((e=>this.parseRange(e.trim()))).filter((e=>e.length)),!this.set.length)throw new TypeError(`Invalid SemVer Range: ${e}`);if(this.set.length>1){const e=this.set[0];if(this.set=this.set.filter((e=>!v(e[0]))),0===this.set.length)this.set=[e];else if(this.set.length>1)for(const e of this.set)if(1===e.length&&g(e[0])){this.set=[e];break}}this.format()}format(){return this.range=this.set.map((e=>e.join(" ").trim())).join("||").trim(),this.range}toString(){return this.range}parseRange(e){e=e.trim();const t=`parseRange:${Object.keys(this.options).join(",")}:${e}`,r=o.get(t);if(r)return r;const n=this.options.loose,s=n?c[l.HYPHENRANGELOOSE]:c[l.HYPHENRANGE];e=e.replace(s,S(this.options.includePrerelease)),a("hyphen replace",e),e=e.replace(c[l.COMPARATORTRIM],h),a("comparator trim",e,c[l.COMPARATORTRIM]),e=(e=(e=e.replace(c[l.TILDETRIM],p)).replace(c[l.CARETTRIM],f)).split(/\s+/).join(" ");const u=n?c[l.COMPARATORLOOSE]:c[l.COMPARATOR],g=e.split(" ").map((e=>m(e,this.options))).join(" ").split(/\s+/).map((e=>_(e,this.options))).filter(this.options.loose?e=>!!e.match(u):()=>!0).map((e=>new i(e,this.options))),d=(g.length,new Map);for(const e of g){if(v(e))return[e];d.set(e.value,e)}d.size>1&&d.has("")&&d.delete("");const E=[...d.values()];return o.set(t,E),E}intersects(e,t){if(!(e instanceof n))throw new TypeError("a Range is required");return this.set.some((r=>d(r,t)&&e.set.some((e=>d(e,t)&&r.every((r=>e.every((e=>r.intersects(e,t)))))))))}test(e){if(!e)return!1;if("string"==typeof e)try{e=new u(e,this.options)}catch(e){return!1}for(let t=0;t"<0.0.0-0"===e.value,g=e=>""===e.value,d=(e,t)=>{let r=!0;const n=e.slice();let o=n.pop();for(;r&&n.length;)r=n.every((e=>o.intersects(e,t))),o=n.pop();return r},m=(e,t)=>(a("comp",e,t),e=b(e,t),a("caret",e),e=y(e,t),a("tildes",e),e=O(e,t),a("xrange",e),e=I(e,t),a("stars",e),e),E=e=>!e||"x"===e.toLowerCase()||"*"===e,y=(e,t)=>e.trim().split(/\s+/).map((e=>$(e,t))).join(" "),$=(e,t)=>{const r=t.loose?c[l.TILDELOOSE]:c[l.TILDE];return e.replace(r,((t,r,n,o,s)=>{let i;return a("tilde",e,t,r,n,o,s),E(r)?i="":E(n)?i=`>=${r}.0.0 <${+r+1}.0.0-0`:E(o)?i=`>=${r}.${n}.0 <${r}.${+n+1}.0-0`:s?(a("replaceTilde pr",s),i=`>=${r}.${n}.${o}-${s} <${r}.${+n+1}.0-0`):i=`>=${r}.${n}.${o} <${r}.${+n+1}.0-0`,a("tilde return",i),i}))},b=(e,t)=>e.trim().split(/\s+/).map((e=>w(e,t))).join(" "),w=(e,t)=>{a("caret",e,t);const r=t.loose?c[l.CARETLOOSE]:c[l.CARET],n=t.includePrerelease?"-0":"";return e.replace(r,((t,r,o,s,i)=>{let u;return a("caret",e,t,r,o,s,i),E(r)?u="":E(o)?u=`>=${r}.0.0${n} <${+r+1}.0.0-0`:E(s)?u="0"===r?`>=${r}.${o}.0${n} <${r}.${+o+1}.0-0`:`>=${r}.${o}.0${n} <${+r+1}.0.0-0`:i?(a("replaceCaret pr",i),u="0"===r?"0"===o?`>=${r}.${o}.${s}-${i} <${r}.${o}.${+s+1}-0`:`>=${r}.${o}.${s}-${i} <${r}.${+o+1}.0-0`:`>=${r}.${o}.${s}-${i} <${+r+1}.0.0-0`):(a("no pr"),u="0"===r?"0"===o?`>=${r}.${o}.${s}${n} <${r}.${o}.${+s+1}-0`:`>=${r}.${o}.${s}${n} <${r}.${+o+1}.0-0`:`>=${r}.${o}.${s} <${+r+1}.0.0-0`),a("caret return",u),u}))},O=(e,t)=>(a("replaceXRanges",e,t),e.split(/\s+/).map((e=>R(e,t))).join(" ")),R=(e,t)=>{e=e.trim();const r=t.loose?c[l.XRANGELOOSE]:c[l.XRANGE];return e.replace(r,((r,n,o,s,i,u)=>{a("xRange",e,r,n,o,s,i,u);const c=E(o),l=c||E(s),h=l||E(i),p=h;return"="===n&&p&&(n=""),u=t.includePrerelease?"-0":"",c?r=">"===n||"<"===n?"<0.0.0-0":"*":n&&p?(l&&(s=0),i=0,">"===n?(n=">=",l?(o=+o+1,s=0,i=0):(s=+s+1,i=0)):"<="===n&&(n="<",l?o=+o+1:s=+s+1),"<"===n&&(u="-0"),r=`${n+o}.${s}.${i}${u}`):l?r=`>=${o}.0.0${u} <${+o+1}.0.0-0`:h&&(r=`>=${o}.${s}.0${u} <${o}.${+s+1}.0-0`),a("xRange return",r),r}))},I=(e,t)=>(a("replaceStars",e,t),e.trim().replace(c[l.STAR],"")),_=(e,t)=>(a("replaceGTE0",e,t),e.trim().replace(c[t.includePrerelease?l.GTE0PRE:l.GTE0],"")),S=e=>(t,r,n,o,s,i,a,u,c,l,h,p,f)=>`${r=E(n)?"":E(o)?`>=${n}.0.0${e?"-0":""}`:E(s)?`>=${n}.${o}.0${e?"-0":""}`:i?`>=${r}`:`>=${r}${e?"-0":""}`} ${u=E(c)?"":E(l)?`<${+c+1}.0.0-0`:E(h)?`<${c}.${+l+1}.0-0`:p?`<=${c}.${l}.${h}-${p}`:e?`<${c}.${l}.${+h+1}-0`:`<=${u}`}`.trim(),A=(e,t,r)=>{for(let r=0;r0){const n=e[r].semver;if(n.major===t.major&&n.minor===t.minor&&n.patch===t.patch)return!0}return!1}return!0}},9510:(e,t,r)=>{const n=r(6830),{MAX_LENGTH:o,MAX_SAFE_INTEGER:s}=r(39),{re:i,t:a}=r(9022),u=r(8716),{compareIdentifiers:c}=r(8822);class l{constructor(e,t){if(t=u(t),e instanceof l){if(e.loose===!!t.loose&&e.includePrerelease===!!t.includePrerelease)return e;e=e.version}else if("string"!=typeof e)throw new TypeError(`Invalid Version: ${e}`);if(e.length>o)throw new TypeError(`version is longer than ${o} characters`);n("SemVer",e,t),this.options=t,this.loose=!!t.loose,this.includePrerelease=!!t.includePrerelease;const r=e.trim().match(t.loose?i[a.LOOSE]:i[a.FULL]);if(!r)throw new TypeError(`Invalid Version: ${e}`);if(this.raw=e,this.major=+r[1],this.minor=+r[2],this.patch=+r[3],this.major>s||this.major<0)throw new TypeError("Invalid major version");if(this.minor>s||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>s||this.patch<0)throw new TypeError("Invalid patch version");r[4]?this.prerelease=r[4].split(".").map((e=>{if(/^[0-9]+$/.test(e)){const t=+e;if(t>=0&&t=0;)"number"==typeof this.prerelease[e]&&(this.prerelease[e]++,e=-2);-1===e&&this.prerelease.push(0)}t&&(this.prerelease[0]===t?isNaN(this.prerelease[1])&&(this.prerelease=[t,0]):this.prerelease=[t,0]);break;default:throw new Error(`invalid increment argument: ${e}`)}return this.format(),this.raw=this.version,this}}e.exports=l},6457:(e,t,r)=>{const n=r(5692);e.exports=(e,t)=>{const r=n(e.trim().replace(/^[=v]+/,""),t);return r?r.version:null}},5452:(e,t,r)=>{const n=r(8565),o=r(3328),s=r(2260),i=r(6579),a=r(290),u=r(5891);e.exports=(e,t,r,c)=>{switch(t){case"===":return"object"==typeof e&&(e=e.version),"object"==typeof r&&(r=r.version),e===r;case"!==":return"object"==typeof e&&(e=e.version),"object"==typeof r&&(r=r.version),e!==r;case"":case"=":case"==":return n(e,r,c);case"!=":return o(e,r,c);case">":return s(e,r,c);case">=":return i(e,r,c);case"<":return a(e,r,c);case"<=":return u(e,r,c);default:throw new TypeError(`Invalid operator: ${t}`)}}},9469:(e,t,r)=>{const n=r(9510),o=r(5692),{re:s,t:i}=r(9022);e.exports=(e,t)=>{if(e instanceof n)return e;if("number"==typeof e&&(e=String(e)),"string"!=typeof e)return null;let r=null;if((t=t||{}).rtl){let t;for(;(t=s[i.COERCERTL].exec(e))&&(!r||r.index+r[0].length!==e.length);)r&&t.index+t[0].length===r.index+r[0].length||(r=t),s[i.COERCERTL].lastIndex=t.index+t[1].length+t[2].length;s[i.COERCERTL].lastIndex=-1}else r=e.match(s[i.COERCE]);return null===r?null:o(`${r[2]}.${r[3]||"0"}.${r[4]||"0"}`,t)}},1868:(e,t,r)=>{const n=r(9510);e.exports=(e,t,r)=>{const o=new n(e,r),s=new n(t,r);return o.compare(s)||o.compareBuild(s)}},5919:(e,t,r)=>{const n=r(3992);e.exports=(e,t)=>n(e,t,!0)},3992:(e,t,r)=>{const n=r(9510);e.exports=(e,t,r)=>new n(e,r).compare(new n(t,r))},1007:(e,t,r)=>{const n=r(5692),o=r(8565);e.exports=(e,t)=>{if(o(e,t))return null;{const r=n(e),o=n(t),s=r.prerelease.length||o.prerelease.length,i=s?"pre":"",a=s?"prerelease":"";for(const e in r)if(("major"===e||"minor"===e||"patch"===e)&&r[e]!==o[e])return i+e;return a}}},8565:(e,t,r)=>{const n=r(3992);e.exports=(e,t,r)=>0===n(e,t,r)},2260:(e,t,r)=>{const n=r(3992);e.exports=(e,t,r)=>n(e,t,r)>0},6579:(e,t,r)=>{const n=r(3992);e.exports=(e,t,r)=>n(e,t,r)>=0},515:(e,t,r)=>{const n=r(9510);e.exports=(e,t,r,o)=>{"string"==typeof r&&(o=r,r=void 0);try{return new n(e,r).inc(t,o).version}catch(e){return null}}},290:(e,t,r)=>{const n=r(3992);e.exports=(e,t,r)=>n(e,t,r)<0},5891:(e,t,r)=>{const n=r(3992);e.exports=(e,t,r)=>n(e,t,r)<=0},2611:(e,t,r)=>{const n=r(9510);e.exports=(e,t)=>new n(e,t).major},6319:(e,t,r)=>{const n=r(9510);e.exports=(e,t)=>new n(e,t).minor},3328:(e,t,r)=>{const n=r(3992);e.exports=(e,t,r)=>0!==n(e,t,r)},5692:(e,t,r)=>{const{MAX_LENGTH:n}=r(39),{re:o,t:s}=r(9022),i=r(9510),a=r(8716);e.exports=(e,t)=>{if(t=a(t),e instanceof i)return e;if("string"!=typeof e)return null;if(e.length>n)return null;if(!(t.loose?o[s.LOOSE]:o[s.FULL]).test(e))return null;try{return new i(e,t)}catch(e){return null}}},7368:(e,t,r)=>{const n=r(9510);e.exports=(e,t)=>new n(e,t).patch},7794:(e,t,r)=>{const n=r(5692);e.exports=(e,t)=>{const r=n(e,t);return r&&r.prerelease.length?r.prerelease:null}},9114:(e,t,r)=>{const n=r(3992);e.exports=(e,t,r)=>n(t,e,r)},3843:(e,t,r)=>{const n=r(1868);e.exports=(e,t)=>e.sort(((e,r)=>n(r,e,t)))},9845:(e,t,r)=>{const n=r(7374);e.exports=(e,t,r)=>{try{t=new n(t,r)}catch(e){return!1}return t.test(e)}},8753:(e,t,r)=>{const n=r(1868);e.exports=(e,t)=>e.sort(((e,r)=>n(e,r,t)))},398:(e,t,r)=>{const n=r(5692);e.exports=(e,t)=>{const r=n(e,t);return r?r.version:null}},8873:(e,t,r)=>{const n=r(9022);e.exports={re:n.re,src:n.src,tokens:n.t,SEMVER_SPEC_VERSION:r(39).SEMVER_SPEC_VERSION,SemVer:r(9510),compareIdentifiers:r(8822).compareIdentifiers,rcompareIdentifiers:r(8822).rcompareIdentifiers,parse:r(5692),valid:r(398),clean:r(6457),inc:r(515),diff:r(1007),major:r(2611),minor:r(6319),patch:r(7368),prerelease:r(7794),compare:r(3992),rcompare:r(9114),compareLoose:r(5919),compareBuild:r(1868),sort:r(8753),rsort:r(3843),gt:r(2260),lt:r(290),eq:r(8565),neq:r(3328),gte:r(6579),lte:r(5891),cmp:r(5452),coerce:r(9469),Comparator:r(3134),Range:r(7374),satisfies:r(9845),toComparators:r(8384),maxSatisfying:r(6369),minSatisfying:r(2663),minVersion:r(75),validRange:r(9178),outside:r(9434),gtr:r(8237),ltr:r(9860),intersects:r(8258),simplifyRange:r(3607),subset:r(2199)}},39:e=>{const t=Number.MAX_SAFE_INTEGER||9007199254740991;e.exports={SEMVER_SPEC_VERSION:"2.0.0",MAX_LENGTH:256,MAX_SAFE_INTEGER:t,MAX_SAFE_COMPONENT_LENGTH:16}},6830:e=>{const t="object"==typeof process&&process.env&&process.env.NODE_DEBUG&&/\bsemver\b/i.test(process.env.NODE_DEBUG)?(...e)=>console.error("SEMVER",...e):()=>{};e.exports=t},8822:e=>{const t=/^[0-9]+$/,r=(e,r)=>{const n=t.test(e),o=t.test(r);return n&&o&&(e=+e,r=+r),e===r?0:n&&!o?-1:o&&!n?1:er(t,e)}},8716:e=>{const t=["includePrerelease","loose","rtl"];e.exports=e=>e?"object"!=typeof e?{loose:!0}:t.filter((t=>e[t])).reduce(((e,t)=>(e[t]=!0,e)),{}):{}},9022:(e,t,r)=>{const{MAX_SAFE_COMPONENT_LENGTH:n}=r(39),o=r(6830),s=(t=e.exports={}).re=[],i=t.src=[],a=t.t={};let u=0;const c=(e,t,r)=>{const n=u++;o(n,t),a[e]=n,i[n]=t,s[n]=new RegExp(t,r?"g":void 0)};c("NUMERICIDENTIFIER","0|[1-9]\\d*"),c("NUMERICIDENTIFIERLOOSE","[0-9]+"),c("NONNUMERICIDENTIFIER","\\d*[a-zA-Z-][a-zA-Z0-9-]*"),c("MAINVERSION",`(${i[a.NUMERICIDENTIFIER]})\\.(${i[a.NUMERICIDENTIFIER]})\\.(${i[a.NUMERICIDENTIFIER]})`),c("MAINVERSIONLOOSE",`(${i[a.NUMERICIDENTIFIERLOOSE]})\\.(${i[a.NUMERICIDENTIFIERLOOSE]})\\.(${i[a.NUMERICIDENTIFIERLOOSE]})`),c("PRERELEASEIDENTIFIER",`(?:${i[a.NUMERICIDENTIFIER]}|${i[a.NONNUMERICIDENTIFIER]})`),c("PRERELEASEIDENTIFIERLOOSE",`(?:${i[a.NUMERICIDENTIFIERLOOSE]}|${i[a.NONNUMERICIDENTIFIER]})`),c("PRERELEASE",`(?:-(${i[a.PRERELEASEIDENTIFIER]}(?:\\.${i[a.PRERELEASEIDENTIFIER]})*))`),c("PRERELEASELOOSE",`(?:-?(${i[a.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${i[a.PRERELEASEIDENTIFIERLOOSE]})*))`),c("BUILDIDENTIFIER","[0-9A-Za-z-]+"),c("BUILD",`(?:\\+(${i[a.BUILDIDENTIFIER]}(?:\\.${i[a.BUILDIDENTIFIER]})*))`),c("FULLPLAIN",`v?${i[a.MAINVERSION]}${i[a.PRERELEASE]}?${i[a.BUILD]}?`),c("FULL",`^${i[a.FULLPLAIN]}$`),c("LOOSEPLAIN",`[v=\\s]*${i[a.MAINVERSIONLOOSE]}${i[a.PRERELEASELOOSE]}?${i[a.BUILD]}?`),c("LOOSE",`^${i[a.LOOSEPLAIN]}$`),c("GTLT","((?:<|>)?=?)"),c("XRANGEIDENTIFIERLOOSE",`${i[a.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`),c("XRANGEIDENTIFIER",`${i[a.NUMERICIDENTIFIER]}|x|X|\\*`),c("XRANGEPLAIN",`[v=\\s]*(${i[a.XRANGEIDENTIFIER]})(?:\\.(${i[a.XRANGEIDENTIFIER]})(?:\\.(${i[a.XRANGEIDENTIFIER]})(?:${i[a.PRERELEASE]})?${i[a.BUILD]}?)?)?`),c("XRANGEPLAINLOOSE",`[v=\\s]*(${i[a.XRANGEIDENTIFIERLOOSE]})(?:\\.(${i[a.XRANGEIDENTIFIERLOOSE]})(?:\\.(${i[a.XRANGEIDENTIFIERLOOSE]})(?:${i[a.PRERELEASELOOSE]})?${i[a.BUILD]}?)?)?`),c("XRANGE",`^${i[a.GTLT]}\\s*${i[a.XRANGEPLAIN]}$`),c("XRANGELOOSE",`^${i[a.GTLT]}\\s*${i[a.XRANGEPLAINLOOSE]}$`),c("COERCE",`(^|[^\\d])(\\d{1,${n}})(?:\\.(\\d{1,${n}}))?(?:\\.(\\d{1,${n}}))?(?:$|[^\\d])`),c("COERCERTL",i[a.COERCE],!0),c("LONETILDE","(?:~>?)"),c("TILDETRIM",`(\\s*)${i[a.LONETILDE]}\\s+`,!0),t.tildeTrimReplace="$1~",c("TILDE",`^${i[a.LONETILDE]}${i[a.XRANGEPLAIN]}$`),c("TILDELOOSE",`^${i[a.LONETILDE]}${i[a.XRANGEPLAINLOOSE]}$`),c("LONECARET","(?:\\^)"),c("CARETTRIM",`(\\s*)${i[a.LONECARET]}\\s+`,!0),t.caretTrimReplace="$1^",c("CARET",`^${i[a.LONECARET]}${i[a.XRANGEPLAIN]}$`),c("CARETLOOSE",`^${i[a.LONECARET]}${i[a.XRANGEPLAINLOOSE]}$`),c("COMPARATORLOOSE",`^${i[a.GTLT]}\\s*(${i[a.LOOSEPLAIN]})$|^$`),c("COMPARATOR",`^${i[a.GTLT]}\\s*(${i[a.FULLPLAIN]})$|^$`),c("COMPARATORTRIM",`(\\s*)${i[a.GTLT]}\\s*(${i[a.LOOSEPLAIN]}|${i[a.XRANGEPLAIN]})`,!0),t.comparatorTrimReplace="$1$2$3",c("HYPHENRANGE",`^\\s*(${i[a.XRANGEPLAIN]})\\s+-\\s+(${i[a.XRANGEPLAIN]})\\s*$`),c("HYPHENRANGELOOSE",`^\\s*(${i[a.XRANGEPLAINLOOSE]})\\s+-\\s+(${i[a.XRANGEPLAINLOOSE]})\\s*$`),c("STAR","(<|>)?=?\\s*\\*"),c("GTE0","^\\s*>=\\s*0.0.0\\s*$"),c("GTE0PRE","^\\s*>=\\s*0.0.0-0\\s*$")},8237:(e,t,r)=>{const n=r(9434);e.exports=(e,t,r)=>n(e,t,">",r)},8258:(e,t,r)=>{const n=r(7374);e.exports=(e,t,r)=>(e=new n(e,r),t=new n(t,r),e.intersects(t))},9860:(e,t,r)=>{const n=r(9434);e.exports=(e,t,r)=>n(e,t,"<",r)},6369:(e,t,r)=>{const n=r(9510),o=r(7374);e.exports=(e,t,r)=>{let s=null,i=null,a=null;try{a=new o(t,r)}catch(e){return null}return e.forEach((e=>{a.test(e)&&(s&&-1!==i.compare(e)||(s=e,i=new n(s,r)))})),s}},2663:(e,t,r)=>{const n=r(9510),o=r(7374);e.exports=(e,t,r)=>{let s=null,i=null,a=null;try{a=new o(t,r)}catch(e){return null}return e.forEach((e=>{a.test(e)&&(s&&1!==i.compare(e)||(s=e,i=new n(s,r)))})),s}},75:(e,t,r)=>{const n=r(9510),o=r(7374),s=r(2260);e.exports=(e,t)=>{e=new o(e,t);let r=new n("0.0.0");if(e.test(r))return r;if(r=new n("0.0.0-0"),e.test(r))return r;r=null;for(let t=0;t{const t=new n(e.semver.version);switch(e.operator){case">":0===t.prerelease.length?t.patch++:t.prerelease.push(0),t.raw=t.format();case"":case">=":i&&!s(t,i)||(i=t);break;case"<":case"<=":break;default:throw new Error(`Unexpected operation: ${e.operator}`)}})),!i||r&&!s(r,i)||(r=i)}return r&&e.test(r)?r:null}},9434:(e,t,r)=>{const n=r(9510),o=r(3134),{ANY:s}=o,i=r(7374),a=r(9845),u=r(2260),c=r(290),l=r(5891),h=r(6579);e.exports=(e,t,r,p)=>{let f,v,g,d,m;switch(e=new n(e,p),t=new i(t,p),r){case">":f=u,v=l,g=c,d=">",m=">=";break;case"<":f=c,v=h,g=u,d="<",m="<=";break;default:throw new TypeError('Must provide a hilo val of "<" or ">"')}if(a(e,t,p))return!1;for(let r=0;r{e.semver===s&&(e=new o(">=0.0.0")),i=i||e,a=a||e,f(e.semver,i.semver,p)?i=e:g(e.semver,a.semver,p)&&(a=e)})),i.operator===d||i.operator===m)return!1;if((!a.operator||a.operator===d)&&v(e,a.semver))return!1;if(a.operator===m&&g(e,a.semver))return!1}return!0}},3607:(e,t,r)=>{const n=r(9845),o=r(3992);e.exports=(e,t,r)=>{const s=[];let i=null,a=null;const u=e.sort(((e,t)=>o(e,t,r)));for(const e of u)n(e,t,r)?(a=e,i||(i=e)):(a&&s.push([i,a]),a=null,i=null);i&&s.push([i,null]);const c=[];for(const[e,t]of s)e===t?c.push(e):t||e!==u[0]?t?e===u[0]?c.push(`<=${t}`):c.push(`${e} - ${t}`):c.push(`>=${e}`):c.push("*");const l=c.join(" || "),h="string"==typeof t.raw?t.raw:String(t);return l.length{const n=r(7374),{ANY:o}=r(3134),s=r(9845),i=r(3992),a=(e,t,r)=>{if(e===t)return!0;if(1===e.length&&e[0].semver===o)return 1===t.length&&t[0].semver===o;const n=new Set;let a,l,h,p,f,v,g;for(const t of e)">"===t.operator||">="===t.operator?a=u(a,t,r):"<"===t.operator||"<="===t.operator?l=c(l,t,r):n.add(t.semver);if(n.size>1)return null;if(a&&l){if(h=i(a.semver,l.semver,r),h>0)return null;if(0===h&&(">="!==a.operator||"<="!==l.operator))return null}for(const e of n){if(a&&!s(e,String(a),r))return null;if(l&&!s(e,String(l),r))return null;for(const n of t)if(!s(e,String(n),r))return!1;return!0}for(const e of t){if(g=g||">"===e.operator||">="===e.operator,v=v||"<"===e.operator||"<="===e.operator,a)if(">"===e.operator||">="===e.operator){if(p=u(a,e,r),p===e&&p!==a)return!1}else if(">="===a.operator&&!s(a.semver,String(e),r))return!1;if(l)if("<"===e.operator||"<="===e.operator){if(f=c(l,e,r),f===e&&f!==l)return!1}else if("<="===l.operator&&!s(l.semver,String(e),r))return!1;if(!e.operator&&(l||a)&&0!==h)return!1}return!(a&&v&&!l&&0!==h||l&&g&&!a&&0!==h)},u=(e,t,r)=>{if(!e)return t;const n=i(e.semver,t.semver,r);return n>0?e:n<0||">"===t.operator&&">="===e.operator?t:e},c=(e,t,r)=>{if(!e)return t;const n=i(e.semver,t.semver,r);return n<0?e:n>0||"<"===t.operator&&"<="===e.operator?t:e};e.exports=(e,t,r)=>{if(e===t)return!0;e=new n(e,r),t=new n(t,r);let o=!1;e:for(const n of e.set){for(const e of t.set){const t=a(n,e,r);if(o=o||null!==t,t)continue e}if(o)return!1}return!0}},8384:(e,t,r)=>{const n=r(7374);e.exports=(e,t)=>new n(e,t).set.map((e=>e.map((e=>e.value)).join(" ").trim().split(" ")))},9178:(e,t,r)=>{const n=r(7374);e.exports=(e,t)=>{try{return new n(e,t).range||"*"}catch(e){return null}}},6474:function(e,t,r){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[r]}})}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),o=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),s=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)"default"!==r&&Object.prototype.hasOwnProperty.call(e,r)&&n(t,e,r);return o(t,e),t},i=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.branchFromRef=t.createExecutor=t.exportEnvVar=t.notEmpty=t.parseBoolean=t.parseScopes=t.restoreNpmRc=t.writeNpmRc=t.processWorkspaces=t.bumpDependencies=void 0;const a=i(r(4598)),u=i(r(2712)),c=r(3129),l=r(5747),h=s(r(5622)),p=s(r(1765));t.bumpDependencies=function(e,t,r){let n;if(Array.isArray(t))n=e=>t.includes(e);else{const e=new RegExp("^"+t);n=t=>e.test(t)}const o=a.default(e);return["dependencies","devDependencies","peerDependencies","optionalDependencies"].forEach((e=>{const t=o[e];null==t||Object.keys(t).forEach((e=>{n(e)&&(t[e]=r)}))})),o},t.processWorkspaces=async function(e,t,r=p.cwd()){const n=c.execSync("yarn --silent workspaces info",{cwd:r}).toString("utf-8"),o=JSON.parse(n),s=Object.keys(o).map((e=>{const n=h.resolve(r,o[e].location);return null==t||t(`[${e}] enqueue processing at ${n}`),{name:e,location:n,pkg:JSON.parse(l.readFileSync(h.resolve(n,"./package.json")).toString("utf-8"))}}));return await Promise.all(s.map((t=>e(t))))},t.writeNpmRc=(e,t,r,n={createBackup:!1})=>{const{core:o,createBackup:s,scopes:i}=n;let a=null;s&&l.existsSync(e)&&(a=h.resolve(h.dirname(e),"._build_npmrc_orig_"),null==o||o.info(`npmrc file exists, backing up to: ${a}`),l.copyFileSync(e,a));const u=null!=i&&i.length>0?i.map((e=>`${e}:registry=${t.protocol}//${t.host}\n`)).join(""):`registry=${t.href}\n`,c=null==r||""===r?u:`//${t.host}/:_authToken=${r}\n//${t.host}/:always-auth=true\n`+u;return null==o||o.debug(`writing ${e}`),null==o||o.debug(c),l.writeFileSync(e,c),a},t.restoreNpmRc=(e,t,r)=>{try{null==r||r.debug(`removing current: ${e}`),l.unlinkSync(e)}catch(e){null==r||r.error(e)}try{null==t||u.default(t)||(null==r||r.debug(`restoring from backup: ${t}`),l.copyFileSync(t,e),l.unlinkSync(t))}catch(e){null==r||r.error(e)}},t.parseScopes=e=>null!=e&&""!==e?e.split(",").map((e=>e.trim())).filter((e=>e.length)):[],t.parseBoolean=e=>null!=e&&["yes","true","1"].includes(e.toLowerCase()),t.notEmpty=function(e){return!u.default(e)},t.exportEnvVar=(e,t)=>c.execSync(`echo "${e}=${t}" >> $GITHUB_ENV`,{stdio:"pipe"}).toString(),t.createExecutor=(e,t)=>(r,n="inherit")=>c.execSync(r,{cwd:e,stdio:n,env:{...p.env,...t}}),t.branchFromRef=e=>{const t=/^refs\/((?!\/).)*\/(.*)$/.exec(e);return null!=t?t[2]:null}},2460:function(e,t,r){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[r]}})}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),o=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),s=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)"default"!==r&&Object.prototype.hasOwnProperty.call(e,r)&&n(t,e,r);return o(t,e),t};Object.defineProperty(t,"__esModule",{value:!0});const i=s(r(516));r(4251).main().catch((e=>{i.setFailed(e),process.exit(1)}))},4251:function(e,t,r){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[r]}})}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),o=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),s=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)"default"!==r&&Object.prototype.hasOwnProperty.call(e,r)&&n(t,e,r);return o(t,e),t},i=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.main=void 0;const a=r(8835),u=i(r(2712)),c=s(r(516)),l=s(r(5622)),h=s(r(2087)),p=r(5747),f=r(2167),v=r(6474),g=i(r(8873)),d=()=>JSON.parse(p.readFileSync(l.resolve("./package.json")).toString("utf-8")),m=e=>{const t=c.getInput("owner");if(!t){const{name:t}=e;if(!t.startsWith("@"))throw Error(`unable to determine GitHub owner from package name: ${t}`);return t.slice(1).split("/")[0]}return t};t.main=async()=>{c.info("configuring registry");const e=(()=>{const e=c.getInput("registry");switch(e.toLowerCase()){case"github":return new a.URL(`https://npm.pkg.github.com/${m(d())}`);case"npm":case"npmjs":return new a.URL("https://registry.npmjs.org");default:try{return new a.URL(e)}catch(e){throw Error(`invalid input [registry]: ${e.message}`)}}})();c.debug(`registry URL: ${e}`);const t=c.getInput("token",{required:!0});c.debug("registry token obtained");const r=l.resolve(h.homedir(),".npmrc");c.debug(`npmrc file path: ${r}`);const n=v.writeNpmRc(r,e,t,{createBackup:!0,core:c}),o=(()=>{const e=c.getInput("version",{required:!0});switch(e.toLowerCase()){case"auto":const r=d(),n=""!==c.getInput("build")?null!=(t=c.getInput("build"))&&t.length>6?t.substr(0,6):t:(new Date).toISOString().replace(/[:.]/gi,"-");return`${r.version}+${n}`;case"source":return d().version;default:if(!g.default.parse(e))throw Error(`invalid version: ${e}`);return e}var t})();c.debug(`determined publish version: ${o}`);const s=c.getInput("tag");c.info(`publishing packages to ${e.host}`),c.saveState("version",o),c.saveState("tag",s);const i="npm.pkg.github.com"===e.host.toLowerCase();c.saveState("registry_url",e.href),c.saveState("registry_token",t),c.saveState("npmrc_path",r),c.saveState("is_github_registry",i);try{await v.processWorkspaces((async t=>{const{pkg:r,location:n,name:a}=t;if(r.private)return void c.debug(`[${a}] the package is private, skipping processing`);let l;if(i){l=c.getInput("github_target_repository");const t=e.pathname.slice(1);if(!t)throw c.error(`[${a}] unable to determine target github owner from registry URL, aborting all`),Error("invalid GitHub registry URL");let n;try{n=m(r)}catch(e){return void c.warning(`[${a}] unable to determine github owner, skipping the package`)}if(n!==t)return void c.warning(`[${a}] owner (${n}) mismatch: target owner (${t}), skipping the package`);if(!u.default(l)){if(l.split("/")[0].trim()!==t)return void c.warning(`[${a}] target repository (${l}) owner mismatch: target owner (${t}), skipping the package`);l=`https://github.com/${l}${l.endsWith(".git")?"":".git"}`}}c.debug(`[${a}] executing publish`),await f.publish(o,{tag:s,location:n,repository:l,frameworkScope:c.getInput("framework_scope")})}),c.debug)}finally{v.restoreNpmRc(r,n,c)}c.setOutput("registry_url",e.href),c.setOutput("version",o),c.setOutput("tag",s),c.info("all done")}},2167:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.publish=void 0;const o=r(5747),s=r(3129),i=n(r(8873)),a=r(6474),u=(e,t)=>{const r=t?{cwd:t}:{};return s.execSync(e,{stdio:"pipe",...r}).toString("utf-8")};t.publish=async(e,t)=>{const r=i.default.parse(e);if(!r)throw Error(`invalid publish version: ${e}`);const{tag:n,location:s,repository:c,frameworkScope:l}=null!=t?t:{},h=s||".",p=(f=`${h}/package.json`,o.readFileSync(f).toString("utf-8"));var f;let v=JSON.parse(p);const{name:g,private:d}=v;if(d)return;let m=!1;try{""!=u(`npm view ${g}@${r.version}`)&&(m=!0)}catch(e){if(!e.message.includes("ERR! 404"))throw e}if(!m){v.version=r.version,null!=l&&""!==l&&(v=a.bumpDependencies(v,`${l}/.*$`,r.version)),null!=c&&""!==l&&(v.repository=c),o.writeFileSync(`${h}/package.json`,JSON.stringify(v,null,2));try{u("npm publish --access=public --unsafe-perm"+(null!=n&&""!==n?` --tag=${n}`:""),s)}catch(e){throw e}finally{o.writeFileSync(`${h}/package.json`,p)}}}},9976:e=>{"use strict";e.exports=function(e){e.prototype[Symbol.iterator]=function*(){for(let e=this.head;e;e=e.next)yield e.value}}},7372:(e,t,r)=>{"use strict";function n(e){var t=this;if(t instanceof n||(t=new n),t.tail=null,t.head=null,t.length=0,e&&"function"==typeof e.forEach)e.forEach((function(e){t.push(e)}));else if(arguments.length>0)for(var r=0,o=arguments.length;r1)r=t;else{if(!this.head)throw new TypeError("Reduce of empty list with no initial value");n=this.head.next,r=this.head.value}for(var o=0;null!==n;o++)r=e(r,n.value,o),n=n.next;return r},n.prototype.reduceReverse=function(e,t){var r,n=this.tail;if(arguments.length>1)r=t;else{if(!this.tail)throw new TypeError("Reduce of empty list with no initial value");n=this.tail.prev,r=this.tail.value}for(var o=this.length-1;null!==n;o--)r=e(r,n.value,o),n=n.prev;return r},n.prototype.toArray=function(){for(var e=new Array(this.length),t=0,r=this.head;null!==r;t++)e[t]=r.value,r=r.next;return e},n.prototype.toArrayReverse=function(){for(var e=new Array(this.length),t=0,r=this.tail;null!==r;t++)e[t]=r.value,r=r.prev;return e},n.prototype.slice=function(e,t){(t=t||this.length)<0&&(t+=this.length),(e=e||0)<0&&(e+=this.length);var r=new n;if(tthis.length&&(t=this.length);for(var o=0,s=this.head;null!==s&&othis.length&&(t=this.length);for(var o=this.length,s=this.tail;null!==s&&o>t;o--)s=s.prev;for(;null!==s&&o>e;o--,s=s.prev)r.push(s.value);return r},n.prototype.splice=function(e,t,...r){e>this.length&&(e=this.length-1),e<0&&(e=this.length+e);for(var n=0,s=this.head;null!==s&&n{"use strict";e.exports=require("child_process")},5747:e=>{"use strict";e.exports=require("fs")},2087:e=>{"use strict";e.exports=require("os")},5622:e=>{"use strict";e.exports=require("path")},1765:e=>{"use strict";e.exports=require("process")},8835:e=>{"use strict";e.exports=require("url")}},t={};function r(n){if(t[n])return t[n].exports;var o=t[n]={id:n,loaded:!1,exports:{}};return e[n].call(o.exports,o,o.exports,r),o.loaded=!0,o.exports}r.nmd=e=>(e.paths=[],e.children||(e.children=[]),e),r(2460)})(); \ No newline at end of file +(()=>{var e={2592:function(e,t,r){"use strict";var n=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)Object.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t.default=e,t};Object.defineProperty(t,"__esModule",{value:!0});const o=n(r(2087));function s(e,t,r){const n=new i(e,t,r);process.stdout.write(n.toString()+o.EOL)}t.issueCommand=s,t.issue=function(e,t=""){s(e,{},t)};class i{constructor(e,t,r){e||(e="missing.command"),this.command=e,this.properties=t,this.message=r}toString(){let e="::"+this.command;if(this.properties&&Object.keys(this.properties).length>0){e+=" ";let r=!0;for(const n in this.properties)if(this.properties.hasOwnProperty(n)){const o=this.properties[n];o&&(r?r=!1:e+=",",e+=`${n}=${t=o,a(t).replace(/%/g,"%25").replace(/\r/g,"%0D").replace(/\n/g,"%0A").replace(/:/g,"%3A").replace(/,/g,"%2C")}`)}}var t;return e+=`::${function(e){return a(e).replace(/%/g,"%25").replace(/\r/g,"%0D").replace(/\n/g,"%0A")}(this.message)}`,e}}function a(e){return null==e?"":"string"==typeof e||e instanceof String?e:JSON.stringify(e)}t.toCommandValue=a},516:function(e,t,r){"use strict";var n=this&&this.__awaiter||function(e,t,r,n){return new(r||(r=Promise))((function(o,s){function i(e){try{u(n.next(e))}catch(e){s(e)}}function a(e){try{u(n.throw(e))}catch(e){s(e)}}function u(e){var t;e.done?o(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(i,a)}u((n=n.apply(e,t||[])).next())}))},o=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)Object.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t.default=e,t};Object.defineProperty(t,"__esModule",{value:!0});const s=r(2592),i=o(r(2087)),a=o(r(5622));var u;function c(e){s.issue("error",e instanceof Error?e.toString():e)}function l(e){s.issue("group",e)}function h(){s.issue("endgroup")}!function(e){e[e.Success=0]="Success",e[e.Failure=1]="Failure"}(u=t.ExitCode||(t.ExitCode={})),t.exportVariable=function(e,t){const r=s.toCommandValue(t);process.env[e]=r,s.issueCommand("set-env",{name:e},r)},t.setSecret=function(e){s.issueCommand("add-mask",{},e)},t.addPath=function(e){s.issueCommand("add-path",{},e),process.env.PATH=`${e}${a.delimiter}${process.env.PATH}`},t.getInput=function(e,t){const r=process.env[`INPUT_${e.replace(/ /g,"_").toUpperCase()}`]||"";if(t&&t.required&&!r)throw new Error(`Input required and not supplied: ${e}`);return r.trim()},t.setOutput=function(e,t){s.issueCommand("set-output",{name:e},t)},t.setCommandEcho=function(e){s.issue("echo",e?"on":"off")},t.setFailed=function(e){process.exitCode=u.Failure,c(e)},t.isDebug=function(){return"1"===process.env.RUNNER_DEBUG},t.debug=function(e){s.issueCommand("debug",{},e)},t.error=c,t.warning=function(e){s.issue("warning",e instanceof Error?e.toString():e)},t.info=function(e){process.stdout.write(e+i.EOL)},t.startGroup=l,t.endGroup=h,t.group=function(e,t){return n(this,void 0,void 0,(function*(){let r;l(e);try{r=yield t()}finally{h()}return r}))},t.saveState=function(e,t){s.issueCommand("save-state",{name:e},t)},t.getState=function(e){return process.env[`STATE_${e}`]||""}},4598:(e,t,r)=>{e=r.nmd(e);var n="__lodash_hash_undefined__",o=9007199254740991,s="[object Arguments]",i="[object Boolean]",a="[object Date]",u="[object Function]",c="[object GeneratorFunction]",l="[object Map]",h="[object Number]",p="[object Object]",f="[object Promise]",v="[object RegExp]",g="[object Set]",d="[object String]",m="[object Symbol]",E="[object WeakMap]",y="[object ArrayBuffer]",$="[object DataView]",b="[object Float32Array]",w="[object Float64Array]",O="[object Int8Array]",R="[object Int16Array]",I="[object Int32Array]",_="[object Uint8Array]",S="[object Uint8ClampedArray]",A="[object Uint16Array]",N="[object Uint32Array]",x=/\w*$/,L=/^\[object .+?Constructor\]$/,j=/^(?:0|[1-9]\d*)$/,T={};T[s]=T["[object Array]"]=T[y]=T[$]=T[i]=T[a]=T[b]=T[w]=T[O]=T[R]=T[I]=T[l]=T[h]=T[p]=T[v]=T[g]=T[d]=T[m]=T[_]=T[S]=T[A]=T[N]=!0,T["[object Error]"]=T[u]=T[E]=!1;var P="object"==typeof global&&global&&global.Object===Object&&global,C="object"==typeof self&&self&&self.Object===Object&&self,D=P||C||Function("return this")(),k=t&&!t.nodeType&&t,M=k&&e&&!e.nodeType&&e,F=M&&M.exports===k;function G(e,t){return e.set(t[0],t[1]),e}function U(e,t){return e.add(t),e}function X(e,t,r,n){var o=-1,s=e?e.length:0;for(n&&s&&(r=e[++o]);++o-1},Se.prototype.set=function(e,t){var r=this.__data__,n=Le(r,e);return n<0?r.push([e,t]):r[n][1]=t,this},Ae.prototype.clear=function(){this.__data__={hash:new _e,map:new(ve||Se),string:new _e}},Ae.prototype.delete=function(e){return Ce(this,e).delete(e)},Ae.prototype.get=function(e){return Ce(this,e).get(e)},Ae.prototype.has=function(e){return Ce(this,e).has(e)},Ae.prototype.set=function(e,t){return Ce(this,e).set(e,t),this},Ne.prototype.clear=function(){this.__data__=new Se},Ne.prototype.delete=function(e){return this.__data__.delete(e)},Ne.prototype.get=function(e){return this.__data__.get(e)},Ne.prototype.has=function(e){return this.__data__.has(e)},Ne.prototype.set=function(e,t){var r=this.__data__;if(r instanceof Se){var n=r.__data__;if(!ve||n.length<199)return n.push([e,t]),this;r=this.__data__=new Ae(n)}return r.set(e,t),this};var ke=le?H(le,Object):function(){return[]},Me=function(e){return te.call(e)};function Fe(e,t){return!!(t=null==t?o:t)&&("number"==typeof e||j.test(e))&&e>-1&&e%1==0&&e-1&&e%1==0&&e<=o}(e.length)&&!qe(e)}var He=he||function(){return!1};function qe(e){var t=We(e)?te.call(e):"";return t==u||t==c}function We(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function Ye(e){return Ve(e)?function(e,t){var r=Be(e)||function(e){return function(e){return function(e){return!!e&&"object"==typeof e}(e)&&Ve(e)}(e)&&ee.call(e,"callee")&&(!ue.call(e,"callee")||te.call(e)==s)}(e)?function(e,t){for(var r=-1,n=Array(e);++r{e=r.nmd(e);var n,o,s,i="[object Map]",a="[object Promise]",u="[object Set]",c="[object WeakMap]",l="[object DataView]",h=/^\[object .+?Constructor\]$/,p="object"==typeof global&&global&&global.Object===Object&&global,f="object"==typeof self&&self&&self.Object===Object&&self,v=p||f||Function("return this")(),g=t&&!t.nodeType&&t,d=g&&e&&!e.nodeType&&e,m=d&&d.exports===g,E=Function.prototype,y=Object.prototype,$=v["__core-js_shared__"],b=(n=/[^.]+$/.exec($&&$.keys&&$.keys.IE_PROTO||""))?"Symbol(src)_1."+n:"",w=E.toString,O=y.hasOwnProperty,R=y.toString,I=RegExp("^"+w.call(O).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),_=m?v.Buffer:void 0,S=y.propertyIsEnumerable,A=_?_.isBuffer:void 0,N=(o=Object.keys,s=Object,function(e){return o(s(e))}),x=U(v,"DataView"),L=U(v,"Map"),j=U(v,"Promise"),T=U(v,"Set"),P=U(v,"WeakMap"),C=!S.call({valueOf:1},"valueOf"),D=B(x),k=B(L),M=B(j),F=B(T),G=B(P);function U(e,t){var r=function(e,t){return null==e?void 0:e[t]}(e,t);return function(e){return!(!Y(e)||function(e){return!!b&&b in e}(e))&&(W(e)||function(e){var t=!1;if(null!=e&&"function"!=typeof e.toString)try{t=!!(e+"")}catch(e){}return t}(e)?I:h).test(B(e))}(r)?r:void 0}var X=function(e){return R.call(e)};function B(e){if(null!=e){try{return w.call(e)}catch(e){}try{return e+""}catch(e){}}return""}(x&&X(new x(new ArrayBuffer(1)))!=l||L&&X(new L)!=i||j&&X(j.resolve())!=a||T&&X(new T)!=u||P&&X(new P)!=c)&&(X=function(e){var t=R.call(e),r="[object Object]"==t?e.constructor:void 0,n=r?B(r):void 0;if(n)switch(n){case D:return l;case k:return i;case M:return a;case F:return u;case G:return c}return t});var V=Array.isArray;function H(e){return null!=e&&function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991}(e.length)&&!W(e)}var q=A||function(){return!1};function W(e){var t=Y(e)?R.call(e):"";return"[object Function]"==t||"[object GeneratorFunction]"==t}function Y(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}e.exports=function(e){if(H(e)&&(V(e)||"string"==typeof e||"function"==typeof e.splice||q(e)||function(e){return function(e){return function(e){return!!e&&"object"==typeof e}(e)&&H(e)}(e)&&O.call(e,"callee")&&(!S.call(e,"callee")||"[object Arguments]"==R.call(e))}(e)))return!e.length;var t=X(e);if(t==i||t==u)return!e.size;if(C||function(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||y)}(e))return!N(e).length;for(var r in e)if(O.call(e,r))return!1;return!0}},5295:(e,t,r)=>{"use strict";const n=r(7372),o=Symbol("max"),s=Symbol("length"),i=Symbol("lengthCalculator"),a=Symbol("allowStale"),u=Symbol("maxAge"),c=Symbol("dispose"),l=Symbol("noDisposeOnSet"),h=Symbol("lruList"),p=Symbol("cache"),f=Symbol("updateAgeOnGet"),v=()=>1,g=(e,t,r)=>{const n=e[p].get(t);if(n){const t=n.value;if(d(e,t)){if(E(e,n),!e[a])return}else r&&(e[f]&&(n.value.now=Date.now()),e[h].unshiftNode(n));return t.value}},d=(e,t)=>{if(!t||!t.maxAge&&!e[u])return!1;const r=Date.now()-t.now;return t.maxAge?r>t.maxAge:e[u]&&r>e[u]},m=e=>{if(e[s]>e[o])for(let t=e[h].tail;e[s]>e[o]&&null!==t;){const r=t.prev;E(e,t),t=r}},E=(e,t)=>{if(t){const r=t.value;e[c]&&e[c](r.key,r.value),e[s]-=r.length,e[p].delete(r.key),e[h].removeNode(t)}};class y{constructor(e,t,r,n,o){this.key=e,this.value=t,this.length=r,this.now=n,this.maxAge=o||0}}const $=(e,t,r,n)=>{let o=r.value;d(e,o)&&(E(e,r),e[a]||(o=void 0)),o&&t.call(n,o.value,o.key,e)};e.exports=class{constructor(e){if("number"==typeof e&&(e={max:e}),e||(e={}),e.max&&("number"!=typeof e.max||e.max<0))throw new TypeError("max must be a non-negative number");this[o]=e.max||1/0;const t=e.length||v;if(this[i]="function"!=typeof t?v:t,this[a]=e.stale||!1,e.maxAge&&"number"!=typeof e.maxAge)throw new TypeError("maxAge must be a number");this[u]=e.maxAge||0,this[c]=e.dispose,this[l]=e.noDisposeOnSet||!1,this[f]=e.updateAgeOnGet||!1,this.reset()}set max(e){if("number"!=typeof e||e<0)throw new TypeError("max must be a non-negative number");this[o]=e||1/0,m(this)}get max(){return this[o]}set allowStale(e){this[a]=!!e}get allowStale(){return this[a]}set maxAge(e){if("number"!=typeof e)throw new TypeError("maxAge must be a non-negative number");this[u]=e,m(this)}get maxAge(){return this[u]}set lengthCalculator(e){"function"!=typeof e&&(e=v),e!==this[i]&&(this[i]=e,this[s]=0,this[h].forEach((e=>{e.length=this[i](e.value,e.key),this[s]+=e.length}))),m(this)}get lengthCalculator(){return this[i]}get length(){return this[s]}get itemCount(){return this[h].length}rforEach(e,t){t=t||this;for(let r=this[h].tail;null!==r;){const n=r.prev;$(this,e,r,t),r=n}}forEach(e,t){t=t||this;for(let r=this[h].head;null!==r;){const n=r.next;$(this,e,r,t),r=n}}keys(){return this[h].toArray().map((e=>e.key))}values(){return this[h].toArray().map((e=>e.value))}reset(){this[c]&&this[h]&&this[h].length&&this[h].forEach((e=>this[c](e.key,e.value))),this[p]=new Map,this[h]=new n,this[s]=0}dump(){return this[h].map((e=>!d(this,e)&&{k:e.key,v:e.value,e:e.now+(e.maxAge||0)})).toArray().filter((e=>e))}dumpLru(){return this[h]}set(e,t,r){if((r=r||this[u])&&"number"!=typeof r)throw new TypeError("maxAge must be a number");const n=r?Date.now():0,a=this[i](t,e);if(this[p].has(e)){if(a>this[o])return E(this,this[p].get(e)),!1;const i=this[p].get(e).value;return this[c]&&(this[l]||this[c](e,i.value)),i.now=n,i.maxAge=r,i.value=t,this[s]+=a-i.length,i.length=a,this.get(e),m(this),!0}const f=new y(e,t,a,n,r);return f.length>this[o]?(this[c]&&this[c](e,t),!1):(this[s]+=f.length,this[h].unshift(f),this[p].set(e,this[h].head),m(this),!0)}has(e){if(!this[p].has(e))return!1;const t=this[p].get(e).value;return!d(this,t)}get(e){return g(this,e,!0)}peek(e){return g(this,e,!1)}pop(){const e=this[h].tail;return e?(E(this,e),e.value):null}del(e){E(this,this[p].get(e))}load(e){this.reset();const t=Date.now();for(let r=e.length-1;r>=0;r--){const n=e[r],o=n.e||0;if(0===o)this.set(n.k,n.v);else{const e=o-t;e>0&&this.set(n.k,n.v,e)}}}prune(){this[p].forEach(((e,t)=>g(this,t,!1)))}}},3134:(e,t,r)=>{const n=Symbol("SemVer ANY");class o{static get ANY(){return n}constructor(e,t){if(t=s(t),e instanceof o){if(e.loose===!!t.loose)return e;e=e.value}c("comparator",e,t),this.options=t,this.loose=!!t.loose,this.parse(e),this.semver===n?this.value="":this.value=this.operator+this.semver.version,c("comp",this)}parse(e){const t=this.options.loose?i[a.COMPARATORLOOSE]:i[a.COMPARATOR],r=e.match(t);if(!r)throw new TypeError(`Invalid comparator: ${e}`);this.operator=void 0!==r[1]?r[1]:"","="===this.operator&&(this.operator=""),r[2]?this.semver=new l(r[2],this.options.loose):this.semver=n}toString(){return this.value}test(e){if(c("Comparator.test",e,this.options.loose),this.semver===n||e===n)return!0;if("string"==typeof e)try{e=new l(e,this.options)}catch(e){return!1}return u(e,this.operator,this.semver,this.options)}intersects(e,t){if(!(e instanceof o))throw new TypeError("a Comparator is required");if(t&&"object"==typeof t||(t={loose:!!t,includePrerelease:!1}),""===this.operator)return""===this.value||new h(e.value,t).test(this.value);if(""===e.operator)return""===e.value||new h(this.value,t).test(e.semver);const r=!(">="!==this.operator&&">"!==this.operator||">="!==e.operator&&">"!==e.operator),n=!("<="!==this.operator&&"<"!==this.operator||"<="!==e.operator&&"<"!==e.operator),s=this.semver.version===e.semver.version,i=!(">="!==this.operator&&"<="!==this.operator||">="!==e.operator&&"<="!==e.operator),a=u(this.semver,"<",e.semver,t)&&(">="===this.operator||">"===this.operator)&&("<="===e.operator||"<"===e.operator),c=u(this.semver,">",e.semver,t)&&("<="===this.operator||"<"===this.operator)&&(">="===e.operator||">"===e.operator);return r||n||s&&i||a||c}}e.exports=o;const s=r(8716),{re:i,t:a}=r(9022),u=r(5452),c=r(6830),l=r(9510),h=r(7374)},7374:(e,t,r)=>{class n{constructor(e,t){if(t=s(t),e instanceof n)return e.loose===!!t.loose&&e.includePrerelease===!!t.includePrerelease?e:new n(e.raw,t);if(e instanceof i)return this.raw=e.value,this.set=[[e]],this.format(),this;if(this.options=t,this.loose=!!t.loose,this.includePrerelease=!!t.includePrerelease,this.raw=e,this.set=e.split(/\s*\|\|\s*/).map((e=>this.parseRange(e.trim()))).filter((e=>e.length)),!this.set.length)throw new TypeError(`Invalid SemVer Range: ${e}`);if(this.set.length>1){const e=this.set[0];if(this.set=this.set.filter((e=>!v(e[0]))),0===this.set.length)this.set=[e];else if(this.set.length>1)for(const e of this.set)if(1===e.length&&g(e[0])){this.set=[e];break}}this.format()}format(){return this.range=this.set.map((e=>e.join(" ").trim())).join("||").trim(),this.range}toString(){return this.range}parseRange(e){e=e.trim();const t=`parseRange:${Object.keys(this.options).join(",")}:${e}`,r=o.get(t);if(r)return r;const n=this.options.loose,s=n?c[l.HYPHENRANGELOOSE]:c[l.HYPHENRANGE];e=e.replace(s,S(this.options.includePrerelease)),a("hyphen replace",e),e=e.replace(c[l.COMPARATORTRIM],h),a("comparator trim",e,c[l.COMPARATORTRIM]),e=(e=(e=e.replace(c[l.TILDETRIM],p)).replace(c[l.CARETTRIM],f)).split(/\s+/).join(" ");const u=n?c[l.COMPARATORLOOSE]:c[l.COMPARATOR],g=e.split(" ").map((e=>m(e,this.options))).join(" ").split(/\s+/).map((e=>_(e,this.options))).filter(this.options.loose?e=>!!e.match(u):()=>!0).map((e=>new i(e,this.options))),d=(g.length,new Map);for(const e of g){if(v(e))return[e];d.set(e.value,e)}d.size>1&&d.has("")&&d.delete("");const E=[...d.values()];return o.set(t,E),E}intersects(e,t){if(!(e instanceof n))throw new TypeError("a Range is required");return this.set.some((r=>d(r,t)&&e.set.some((e=>d(e,t)&&r.every((r=>e.every((e=>r.intersects(e,t)))))))))}test(e){if(!e)return!1;if("string"==typeof e)try{e=new u(e,this.options)}catch(e){return!1}for(let t=0;t"<0.0.0-0"===e.value,g=e=>""===e.value,d=(e,t)=>{let r=!0;const n=e.slice();let o=n.pop();for(;r&&n.length;)r=n.every((e=>o.intersects(e,t))),o=n.pop();return r},m=(e,t)=>(a("comp",e,t),e=b(e,t),a("caret",e),e=y(e,t),a("tildes",e),e=O(e,t),a("xrange",e),e=I(e,t),a("stars",e),e),E=e=>!e||"x"===e.toLowerCase()||"*"===e,y=(e,t)=>e.trim().split(/\s+/).map((e=>$(e,t))).join(" "),$=(e,t)=>{const r=t.loose?c[l.TILDELOOSE]:c[l.TILDE];return e.replace(r,((t,r,n,o,s)=>{let i;return a("tilde",e,t,r,n,o,s),E(r)?i="":E(n)?i=`>=${r}.0.0 <${+r+1}.0.0-0`:E(o)?i=`>=${r}.${n}.0 <${r}.${+n+1}.0-0`:s?(a("replaceTilde pr",s),i=`>=${r}.${n}.${o}-${s} <${r}.${+n+1}.0-0`):i=`>=${r}.${n}.${o} <${r}.${+n+1}.0-0`,a("tilde return",i),i}))},b=(e,t)=>e.trim().split(/\s+/).map((e=>w(e,t))).join(" "),w=(e,t)=>{a("caret",e,t);const r=t.loose?c[l.CARETLOOSE]:c[l.CARET],n=t.includePrerelease?"-0":"";return e.replace(r,((t,r,o,s,i)=>{let u;return a("caret",e,t,r,o,s,i),E(r)?u="":E(o)?u=`>=${r}.0.0${n} <${+r+1}.0.0-0`:E(s)?u="0"===r?`>=${r}.${o}.0${n} <${r}.${+o+1}.0-0`:`>=${r}.${o}.0${n} <${+r+1}.0.0-0`:i?(a("replaceCaret pr",i),u="0"===r?"0"===o?`>=${r}.${o}.${s}-${i} <${r}.${o}.${+s+1}-0`:`>=${r}.${o}.${s}-${i} <${r}.${+o+1}.0-0`:`>=${r}.${o}.${s}-${i} <${+r+1}.0.0-0`):(a("no pr"),u="0"===r?"0"===o?`>=${r}.${o}.${s}${n} <${r}.${o}.${+s+1}-0`:`>=${r}.${o}.${s}${n} <${r}.${+o+1}.0-0`:`>=${r}.${o}.${s} <${+r+1}.0.0-0`),a("caret return",u),u}))},O=(e,t)=>(a("replaceXRanges",e,t),e.split(/\s+/).map((e=>R(e,t))).join(" ")),R=(e,t)=>{e=e.trim();const r=t.loose?c[l.XRANGELOOSE]:c[l.XRANGE];return e.replace(r,((r,n,o,s,i,u)=>{a("xRange",e,r,n,o,s,i,u);const c=E(o),l=c||E(s),h=l||E(i),p=h;return"="===n&&p&&(n=""),u=t.includePrerelease?"-0":"",c?r=">"===n||"<"===n?"<0.0.0-0":"*":n&&p?(l&&(s=0),i=0,">"===n?(n=">=",l?(o=+o+1,s=0,i=0):(s=+s+1,i=0)):"<="===n&&(n="<",l?o=+o+1:s=+s+1),"<"===n&&(u="-0"),r=`${n+o}.${s}.${i}${u}`):l?r=`>=${o}.0.0${u} <${+o+1}.0.0-0`:h&&(r=`>=${o}.${s}.0${u} <${o}.${+s+1}.0-0`),a("xRange return",r),r}))},I=(e,t)=>(a("replaceStars",e,t),e.trim().replace(c[l.STAR],"")),_=(e,t)=>(a("replaceGTE0",e,t),e.trim().replace(c[t.includePrerelease?l.GTE0PRE:l.GTE0],"")),S=e=>(t,r,n,o,s,i,a,u,c,l,h,p,f)=>`${r=E(n)?"":E(o)?`>=${n}.0.0${e?"-0":""}`:E(s)?`>=${n}.${o}.0${e?"-0":""}`:i?`>=${r}`:`>=${r}${e?"-0":""}`} ${u=E(c)?"":E(l)?`<${+c+1}.0.0-0`:E(h)?`<${c}.${+l+1}.0-0`:p?`<=${c}.${l}.${h}-${p}`:e?`<${c}.${l}.${+h+1}-0`:`<=${u}`}`.trim(),A=(e,t,r)=>{for(let r=0;r0){const n=e[r].semver;if(n.major===t.major&&n.minor===t.minor&&n.patch===t.patch)return!0}return!1}return!0}},9510:(e,t,r)=>{const n=r(6830),{MAX_LENGTH:o,MAX_SAFE_INTEGER:s}=r(39),{re:i,t:a}=r(9022),u=r(8716),{compareIdentifiers:c}=r(8822);class l{constructor(e,t){if(t=u(t),e instanceof l){if(e.loose===!!t.loose&&e.includePrerelease===!!t.includePrerelease)return e;e=e.version}else if("string"!=typeof e)throw new TypeError(`Invalid Version: ${e}`);if(e.length>o)throw new TypeError(`version is longer than ${o} characters`);n("SemVer",e,t),this.options=t,this.loose=!!t.loose,this.includePrerelease=!!t.includePrerelease;const r=e.trim().match(t.loose?i[a.LOOSE]:i[a.FULL]);if(!r)throw new TypeError(`Invalid Version: ${e}`);if(this.raw=e,this.major=+r[1],this.minor=+r[2],this.patch=+r[3],this.major>s||this.major<0)throw new TypeError("Invalid major version");if(this.minor>s||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>s||this.patch<0)throw new TypeError("Invalid patch version");r[4]?this.prerelease=r[4].split(".").map((e=>{if(/^[0-9]+$/.test(e)){const t=+e;if(t>=0&&t=0;)"number"==typeof this.prerelease[e]&&(this.prerelease[e]++,e=-2);-1===e&&this.prerelease.push(0)}t&&(this.prerelease[0]===t?isNaN(this.prerelease[1])&&(this.prerelease=[t,0]):this.prerelease=[t,0]);break;default:throw new Error(`invalid increment argument: ${e}`)}return this.format(),this.raw=this.version,this}}e.exports=l},6457:(e,t,r)=>{const n=r(5692);e.exports=(e,t)=>{const r=n(e.trim().replace(/^[=v]+/,""),t);return r?r.version:null}},5452:(e,t,r)=>{const n=r(8565),o=r(3328),s=r(2260),i=r(6579),a=r(290),u=r(5891);e.exports=(e,t,r,c)=>{switch(t){case"===":return"object"==typeof e&&(e=e.version),"object"==typeof r&&(r=r.version),e===r;case"!==":return"object"==typeof e&&(e=e.version),"object"==typeof r&&(r=r.version),e!==r;case"":case"=":case"==":return n(e,r,c);case"!=":return o(e,r,c);case">":return s(e,r,c);case">=":return i(e,r,c);case"<":return a(e,r,c);case"<=":return u(e,r,c);default:throw new TypeError(`Invalid operator: ${t}`)}}},9469:(e,t,r)=>{const n=r(9510),o=r(5692),{re:s,t:i}=r(9022);e.exports=(e,t)=>{if(e instanceof n)return e;if("number"==typeof e&&(e=String(e)),"string"!=typeof e)return null;let r=null;if((t=t||{}).rtl){let t;for(;(t=s[i.COERCERTL].exec(e))&&(!r||r.index+r[0].length!==e.length);)r&&t.index+t[0].length===r.index+r[0].length||(r=t),s[i.COERCERTL].lastIndex=t.index+t[1].length+t[2].length;s[i.COERCERTL].lastIndex=-1}else r=e.match(s[i.COERCE]);return null===r?null:o(`${r[2]}.${r[3]||"0"}.${r[4]||"0"}`,t)}},1868:(e,t,r)=>{const n=r(9510);e.exports=(e,t,r)=>{const o=new n(e,r),s=new n(t,r);return o.compare(s)||o.compareBuild(s)}},5919:(e,t,r)=>{const n=r(3992);e.exports=(e,t)=>n(e,t,!0)},3992:(e,t,r)=>{const n=r(9510);e.exports=(e,t,r)=>new n(e,r).compare(new n(t,r))},1007:(e,t,r)=>{const n=r(5692),o=r(8565);e.exports=(e,t)=>{if(o(e,t))return null;{const r=n(e),o=n(t),s=r.prerelease.length||o.prerelease.length,i=s?"pre":"",a=s?"prerelease":"";for(const e in r)if(("major"===e||"minor"===e||"patch"===e)&&r[e]!==o[e])return i+e;return a}}},8565:(e,t,r)=>{const n=r(3992);e.exports=(e,t,r)=>0===n(e,t,r)},2260:(e,t,r)=>{const n=r(3992);e.exports=(e,t,r)=>n(e,t,r)>0},6579:(e,t,r)=>{const n=r(3992);e.exports=(e,t,r)=>n(e,t,r)>=0},515:(e,t,r)=>{const n=r(9510);e.exports=(e,t,r,o)=>{"string"==typeof r&&(o=r,r=void 0);try{return new n(e,r).inc(t,o).version}catch(e){return null}}},290:(e,t,r)=>{const n=r(3992);e.exports=(e,t,r)=>n(e,t,r)<0},5891:(e,t,r)=>{const n=r(3992);e.exports=(e,t,r)=>n(e,t,r)<=0},2611:(e,t,r)=>{const n=r(9510);e.exports=(e,t)=>new n(e,t).major},6319:(e,t,r)=>{const n=r(9510);e.exports=(e,t)=>new n(e,t).minor},3328:(e,t,r)=>{const n=r(3992);e.exports=(e,t,r)=>0!==n(e,t,r)},5692:(e,t,r)=>{const{MAX_LENGTH:n}=r(39),{re:o,t:s}=r(9022),i=r(9510),a=r(8716);e.exports=(e,t)=>{if(t=a(t),e instanceof i)return e;if("string"!=typeof e)return null;if(e.length>n)return null;if(!(t.loose?o[s.LOOSE]:o[s.FULL]).test(e))return null;try{return new i(e,t)}catch(e){return null}}},7368:(e,t,r)=>{const n=r(9510);e.exports=(e,t)=>new n(e,t).patch},7794:(e,t,r)=>{const n=r(5692);e.exports=(e,t)=>{const r=n(e,t);return r&&r.prerelease.length?r.prerelease:null}},9114:(e,t,r)=>{const n=r(3992);e.exports=(e,t,r)=>n(t,e,r)},3843:(e,t,r)=>{const n=r(1868);e.exports=(e,t)=>e.sort(((e,r)=>n(r,e,t)))},9845:(e,t,r)=>{const n=r(7374);e.exports=(e,t,r)=>{try{t=new n(t,r)}catch(e){return!1}return t.test(e)}},8753:(e,t,r)=>{const n=r(1868);e.exports=(e,t)=>e.sort(((e,r)=>n(e,r,t)))},398:(e,t,r)=>{const n=r(5692);e.exports=(e,t)=>{const r=n(e,t);return r?r.version:null}},8873:(e,t,r)=>{const n=r(9022);e.exports={re:n.re,src:n.src,tokens:n.t,SEMVER_SPEC_VERSION:r(39).SEMVER_SPEC_VERSION,SemVer:r(9510),compareIdentifiers:r(8822).compareIdentifiers,rcompareIdentifiers:r(8822).rcompareIdentifiers,parse:r(5692),valid:r(398),clean:r(6457),inc:r(515),diff:r(1007),major:r(2611),minor:r(6319),patch:r(7368),prerelease:r(7794),compare:r(3992),rcompare:r(9114),compareLoose:r(5919),compareBuild:r(1868),sort:r(8753),rsort:r(3843),gt:r(2260),lt:r(290),eq:r(8565),neq:r(3328),gte:r(6579),lte:r(5891),cmp:r(5452),coerce:r(9469),Comparator:r(3134),Range:r(7374),satisfies:r(9845),toComparators:r(8384),maxSatisfying:r(6369),minSatisfying:r(2663),minVersion:r(75),validRange:r(9178),outside:r(9434),gtr:r(8237),ltr:r(9860),intersects:r(8258),simplifyRange:r(3607),subset:r(2199)}},39:e=>{const t=Number.MAX_SAFE_INTEGER||9007199254740991;e.exports={SEMVER_SPEC_VERSION:"2.0.0",MAX_LENGTH:256,MAX_SAFE_INTEGER:t,MAX_SAFE_COMPONENT_LENGTH:16}},6830:e=>{const t="object"==typeof process&&process.env&&process.env.NODE_DEBUG&&/\bsemver\b/i.test(process.env.NODE_DEBUG)?(...e)=>console.error("SEMVER",...e):()=>{};e.exports=t},8822:e=>{const t=/^[0-9]+$/,r=(e,r)=>{const n=t.test(e),o=t.test(r);return n&&o&&(e=+e,r=+r),e===r?0:n&&!o?-1:o&&!n?1:er(t,e)}},8716:e=>{const t=["includePrerelease","loose","rtl"];e.exports=e=>e?"object"!=typeof e?{loose:!0}:t.filter((t=>e[t])).reduce(((e,t)=>(e[t]=!0,e)),{}):{}},9022:(e,t,r)=>{const{MAX_SAFE_COMPONENT_LENGTH:n}=r(39),o=r(6830),s=(t=e.exports={}).re=[],i=t.src=[],a=t.t={};let u=0;const c=(e,t,r)=>{const n=u++;o(n,t),a[e]=n,i[n]=t,s[n]=new RegExp(t,r?"g":void 0)};c("NUMERICIDENTIFIER","0|[1-9]\\d*"),c("NUMERICIDENTIFIERLOOSE","[0-9]+"),c("NONNUMERICIDENTIFIER","\\d*[a-zA-Z-][a-zA-Z0-9-]*"),c("MAINVERSION",`(${i[a.NUMERICIDENTIFIER]})\\.(${i[a.NUMERICIDENTIFIER]})\\.(${i[a.NUMERICIDENTIFIER]})`),c("MAINVERSIONLOOSE",`(${i[a.NUMERICIDENTIFIERLOOSE]})\\.(${i[a.NUMERICIDENTIFIERLOOSE]})\\.(${i[a.NUMERICIDENTIFIERLOOSE]})`),c("PRERELEASEIDENTIFIER",`(?:${i[a.NUMERICIDENTIFIER]}|${i[a.NONNUMERICIDENTIFIER]})`),c("PRERELEASEIDENTIFIERLOOSE",`(?:${i[a.NUMERICIDENTIFIERLOOSE]}|${i[a.NONNUMERICIDENTIFIER]})`),c("PRERELEASE",`(?:-(${i[a.PRERELEASEIDENTIFIER]}(?:\\.${i[a.PRERELEASEIDENTIFIER]})*))`),c("PRERELEASELOOSE",`(?:-?(${i[a.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${i[a.PRERELEASEIDENTIFIERLOOSE]})*))`),c("BUILDIDENTIFIER","[0-9A-Za-z-]+"),c("BUILD",`(?:\\+(${i[a.BUILDIDENTIFIER]}(?:\\.${i[a.BUILDIDENTIFIER]})*))`),c("FULLPLAIN",`v?${i[a.MAINVERSION]}${i[a.PRERELEASE]}?${i[a.BUILD]}?`),c("FULL",`^${i[a.FULLPLAIN]}$`),c("LOOSEPLAIN",`[v=\\s]*${i[a.MAINVERSIONLOOSE]}${i[a.PRERELEASELOOSE]}?${i[a.BUILD]}?`),c("LOOSE",`^${i[a.LOOSEPLAIN]}$`),c("GTLT","((?:<|>)?=?)"),c("XRANGEIDENTIFIERLOOSE",`${i[a.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`),c("XRANGEIDENTIFIER",`${i[a.NUMERICIDENTIFIER]}|x|X|\\*`),c("XRANGEPLAIN",`[v=\\s]*(${i[a.XRANGEIDENTIFIER]})(?:\\.(${i[a.XRANGEIDENTIFIER]})(?:\\.(${i[a.XRANGEIDENTIFIER]})(?:${i[a.PRERELEASE]})?${i[a.BUILD]}?)?)?`),c("XRANGEPLAINLOOSE",`[v=\\s]*(${i[a.XRANGEIDENTIFIERLOOSE]})(?:\\.(${i[a.XRANGEIDENTIFIERLOOSE]})(?:\\.(${i[a.XRANGEIDENTIFIERLOOSE]})(?:${i[a.PRERELEASELOOSE]})?${i[a.BUILD]}?)?)?`),c("XRANGE",`^${i[a.GTLT]}\\s*${i[a.XRANGEPLAIN]}$`),c("XRANGELOOSE",`^${i[a.GTLT]}\\s*${i[a.XRANGEPLAINLOOSE]}$`),c("COERCE",`(^|[^\\d])(\\d{1,${n}})(?:\\.(\\d{1,${n}}))?(?:\\.(\\d{1,${n}}))?(?:$|[^\\d])`),c("COERCERTL",i[a.COERCE],!0),c("LONETILDE","(?:~>?)"),c("TILDETRIM",`(\\s*)${i[a.LONETILDE]}\\s+`,!0),t.tildeTrimReplace="$1~",c("TILDE",`^${i[a.LONETILDE]}${i[a.XRANGEPLAIN]}$`),c("TILDELOOSE",`^${i[a.LONETILDE]}${i[a.XRANGEPLAINLOOSE]}$`),c("LONECARET","(?:\\^)"),c("CARETTRIM",`(\\s*)${i[a.LONECARET]}\\s+`,!0),t.caretTrimReplace="$1^",c("CARET",`^${i[a.LONECARET]}${i[a.XRANGEPLAIN]}$`),c("CARETLOOSE",`^${i[a.LONECARET]}${i[a.XRANGEPLAINLOOSE]}$`),c("COMPARATORLOOSE",`^${i[a.GTLT]}\\s*(${i[a.LOOSEPLAIN]})$|^$`),c("COMPARATOR",`^${i[a.GTLT]}\\s*(${i[a.FULLPLAIN]})$|^$`),c("COMPARATORTRIM",`(\\s*)${i[a.GTLT]}\\s*(${i[a.LOOSEPLAIN]}|${i[a.XRANGEPLAIN]})`,!0),t.comparatorTrimReplace="$1$2$3",c("HYPHENRANGE",`^\\s*(${i[a.XRANGEPLAIN]})\\s+-\\s+(${i[a.XRANGEPLAIN]})\\s*$`),c("HYPHENRANGELOOSE",`^\\s*(${i[a.XRANGEPLAINLOOSE]})\\s+-\\s+(${i[a.XRANGEPLAINLOOSE]})\\s*$`),c("STAR","(<|>)?=?\\s*\\*"),c("GTE0","^\\s*>=\\s*0.0.0\\s*$"),c("GTE0PRE","^\\s*>=\\s*0.0.0-0\\s*$")},8237:(e,t,r)=>{const n=r(9434);e.exports=(e,t,r)=>n(e,t,">",r)},8258:(e,t,r)=>{const n=r(7374);e.exports=(e,t,r)=>(e=new n(e,r),t=new n(t,r),e.intersects(t))},9860:(e,t,r)=>{const n=r(9434);e.exports=(e,t,r)=>n(e,t,"<",r)},6369:(e,t,r)=>{const n=r(9510),o=r(7374);e.exports=(e,t,r)=>{let s=null,i=null,a=null;try{a=new o(t,r)}catch(e){return null}return e.forEach((e=>{a.test(e)&&(s&&-1!==i.compare(e)||(s=e,i=new n(s,r)))})),s}},2663:(e,t,r)=>{const n=r(9510),o=r(7374);e.exports=(e,t,r)=>{let s=null,i=null,a=null;try{a=new o(t,r)}catch(e){return null}return e.forEach((e=>{a.test(e)&&(s&&1!==i.compare(e)||(s=e,i=new n(s,r)))})),s}},75:(e,t,r)=>{const n=r(9510),o=r(7374),s=r(2260);e.exports=(e,t)=>{e=new o(e,t);let r=new n("0.0.0");if(e.test(r))return r;if(r=new n("0.0.0-0"),e.test(r))return r;r=null;for(let t=0;t{const t=new n(e.semver.version);switch(e.operator){case">":0===t.prerelease.length?t.patch++:t.prerelease.push(0),t.raw=t.format();case"":case">=":i&&!s(t,i)||(i=t);break;case"<":case"<=":break;default:throw new Error(`Unexpected operation: ${e.operator}`)}})),!i||r&&!s(r,i)||(r=i)}return r&&e.test(r)?r:null}},9434:(e,t,r)=>{const n=r(9510),o=r(3134),{ANY:s}=o,i=r(7374),a=r(9845),u=r(2260),c=r(290),l=r(5891),h=r(6579);e.exports=(e,t,r,p)=>{let f,v,g,d,m;switch(e=new n(e,p),t=new i(t,p),r){case">":f=u,v=l,g=c,d=">",m=">=";break;case"<":f=c,v=h,g=u,d="<",m="<=";break;default:throw new TypeError('Must provide a hilo val of "<" or ">"')}if(a(e,t,p))return!1;for(let r=0;r{e.semver===s&&(e=new o(">=0.0.0")),i=i||e,a=a||e,f(e.semver,i.semver,p)?i=e:g(e.semver,a.semver,p)&&(a=e)})),i.operator===d||i.operator===m)return!1;if((!a.operator||a.operator===d)&&v(e,a.semver))return!1;if(a.operator===m&&g(e,a.semver))return!1}return!0}},3607:(e,t,r)=>{const n=r(9845),o=r(3992);e.exports=(e,t,r)=>{const s=[];let i=null,a=null;const u=e.sort(((e,t)=>o(e,t,r)));for(const e of u)n(e,t,r)?(a=e,i||(i=e)):(a&&s.push([i,a]),a=null,i=null);i&&s.push([i,null]);const c=[];for(const[e,t]of s)e===t?c.push(e):t||e!==u[0]?t?e===u[0]?c.push(`<=${t}`):c.push(`${e} - ${t}`):c.push(`>=${e}`):c.push("*");const l=c.join(" || "),h="string"==typeof t.raw?t.raw:String(t);return l.length{const n=r(7374),{ANY:o}=r(3134),s=r(9845),i=r(3992),a=(e,t,r)=>{if(e===t)return!0;if(1===e.length&&e[0].semver===o)return 1===t.length&&t[0].semver===o;const n=new Set;let a,l,h,p,f,v,g;for(const t of e)">"===t.operator||">="===t.operator?a=u(a,t,r):"<"===t.operator||"<="===t.operator?l=c(l,t,r):n.add(t.semver);if(n.size>1)return null;if(a&&l){if(h=i(a.semver,l.semver,r),h>0)return null;if(0===h&&(">="!==a.operator||"<="!==l.operator))return null}for(const e of n){if(a&&!s(e,String(a),r))return null;if(l&&!s(e,String(l),r))return null;for(const n of t)if(!s(e,String(n),r))return!1;return!0}for(const e of t){if(g=g||">"===e.operator||">="===e.operator,v=v||"<"===e.operator||"<="===e.operator,a)if(">"===e.operator||">="===e.operator){if(p=u(a,e,r),p===e&&p!==a)return!1}else if(">="===a.operator&&!s(a.semver,String(e),r))return!1;if(l)if("<"===e.operator||"<="===e.operator){if(f=c(l,e,r),f===e&&f!==l)return!1}else if("<="===l.operator&&!s(l.semver,String(e),r))return!1;if(!e.operator&&(l||a)&&0!==h)return!1}return!(a&&v&&!l&&0!==h||l&&g&&!a&&0!==h)},u=(e,t,r)=>{if(!e)return t;const n=i(e.semver,t.semver,r);return n>0?e:n<0||">"===t.operator&&">="===e.operator?t:e},c=(e,t,r)=>{if(!e)return t;const n=i(e.semver,t.semver,r);return n<0?e:n>0||"<"===t.operator&&"<="===e.operator?t:e};e.exports=(e,t,r)=>{if(e===t)return!0;e=new n(e,r),t=new n(t,r);let o=!1;e:for(const n of e.set){for(const e of t.set){const t=a(n,e,r);if(o=o||null!==t,t)continue e}if(o)return!1}return!0}},8384:(e,t,r)=>{const n=r(7374);e.exports=(e,t)=>new n(e,t).set.map((e=>e.map((e=>e.value)).join(" ").trim().split(" ")))},9178:(e,t,r)=>{const n=r(7374);e.exports=(e,t)=>{try{return new n(e,t).range||"*"}catch(e){return null}}},6474:function(e,t,r){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[r]}})}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),o=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),s=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)"default"!==r&&Object.prototype.hasOwnProperty.call(e,r)&&n(t,e,r);return o(t,e),t},i=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.branchFromRef=t.createExecutor=t.exportEnvVar=t.notEmpty=t.parseBoolean=t.parseScopes=t.restoreNpmRc=t.writeNpmRc=t.processWorkspaces=t.bumpDependencies=void 0;const a=i(r(4598)),u=i(r(2712)),c=r(3129),l=r(5747),h=s(r(5622)),p=s(r(1765));t.bumpDependencies=function(e,t,r){let n;if(Array.isArray(t))n=e=>t.includes(e);else{const e=new RegExp("^"+t);n=t=>e.test(t)}const o=a.default(e);return["dependencies","devDependencies","peerDependencies","optionalDependencies"].forEach((e=>{const t=o[e];null==t||Object.keys(t).forEach((e=>{n(e)&&(t[e]=r)}))})),o},t.processWorkspaces=async function(e,t,r=p.cwd()){const n=c.execSync("yarn --silent workspaces info",{cwd:r}).toString("utf-8"),o=JSON.parse(n),s=Object.keys(o).map((e=>{const n=h.resolve(r,o[e].location);return null==t||t(`[${e}] enqueue processing at ${n}`),{name:e,location:n,pkg:JSON.parse(l.readFileSync(h.resolve(n,"./package.json")).toString("utf-8"))}}));return await Promise.all(s.map((t=>e(t))))},t.writeNpmRc=(e,t,r,n={createBackup:!1})=>{const{core:o,createBackup:s,scopes:i}=n;let a=null;s&&l.existsSync(e)&&(a=h.resolve(h.dirname(e),"._build_npmrc_orig_"),null==o||o.info(`npmrc file exists, backing up to: ${a}`),l.copyFileSync(e,a));const u=null!=i&&i.length>0?i.map((e=>`${e}:registry=${t.protocol}//${t.host}\n`)).join(""):`registry=${t.href}\n`,c=null==r||""===r?u:`//${t.host}/:_authToken=${r}\n//${t.host}/:always-auth=true\n`+u;return null==o||o.debug(`writing ${e}`),null==o||o.debug(c),l.writeFileSync(e,c),a},t.restoreNpmRc=(e,t,r)=>{try{null==r||r.debug(`removing current: ${e}`),l.unlinkSync(e)}catch(e){null==r||r.error(e)}try{null==t||u.default(t)||(null==r||r.debug(`restoring from backup: ${t}`),l.copyFileSync(t,e),l.unlinkSync(t))}catch(e){null==r||r.error(e)}},t.parseScopes=e=>null!=e&&""!==e?e.split(",").map((e=>e.trim())).filter((e=>e.length)):[],t.parseBoolean=e=>null!=e&&["yes","true","1"].includes(e.toLowerCase()),t.notEmpty=function(e){return!u.default(e)},t.exportEnvVar=(e,t)=>c.execSync(`echo "${e}=${t}" >> $GITHUB_ENV`,{stdio:"pipe"}).toString(),t.createExecutor=(e,t)=>(r,n="inherit")=>c.execSync(r,{cwd:e,stdio:n,env:{...p.env,...t}}),t.branchFromRef=e=>{const t=/^refs\/((?!\/).)*\/(.*)$/.exec(e);return null!=t?t[2]:null}},2460:function(e,t,r){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[r]}})}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),o=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),s=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)"default"!==r&&Object.prototype.hasOwnProperty.call(e,r)&&n(t,e,r);return o(t,e),t};Object.defineProperty(t,"__esModule",{value:!0});const i=s(r(516));r(4251).main().catch((e=>{i.setFailed(e),process.exit(1)}))},4251:function(e,t,r){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[r]}})}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),o=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),s=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)"default"!==r&&Object.prototype.hasOwnProperty.call(e,r)&&n(t,e,r);return o(t,e),t},i=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.main=void 0;const a=r(8835),u=i(r(2712)),c=s(r(516)),l=s(r(5622)),h=s(r(2087)),p=r(5747),f=r(2167),v=r(6474),g=i(r(8873)),d=()=>JSON.parse(p.readFileSync(l.resolve("./package.json")).toString("utf-8")),m=e=>{const t=c.getInput("owner");if(!t){const{name:t}=e;if(!t.startsWith("@"))throw Error(`unable to determine GitHub owner from package name: ${t}`);return t.slice(1).split("/")[0]}return t};t.main=async()=>{c.info("configuring registry");const e=(()=>{const e=c.getInput("registry");switch(e.toLowerCase()){case"github":return new a.URL(`https://npm.pkg.github.com/${m(d())}`);case"npm":case"npmjs":return new a.URL("https://registry.npmjs.org");default:try{return new a.URL(e)}catch(e){throw Error(`invalid input [registry]: ${e.message}`)}}})();c.debug(`registry URL: ${e}`);const t=c.getInput("token",{required:!0});c.debug("registry token obtained");const r=l.resolve(h.homedir(),".npmrc");c.debug(`npmrc file path: ${r}`);const n=v.writeNpmRc(r,e,t,{createBackup:!0,core:c}),o=(()=>{const e=c.getInput("version",{required:!0});switch(e.toLowerCase()){case"auto":const r=d(),n=""!==c.getInput("build")?null!=(t=c.getInput("build"))&&t.length>6?t.substr(0,6):t:(new Date).toISOString().replace(/[:.]/gi,"-");return`${r.version}+${n}`;case"source":return d().version;default:if(!g.default.parse(e))throw Error(`invalid version: ${e}`);return e}var t})();c.debug(`determined publish version: ${o}`);const s=c.getInput("tag");c.info(`publishing packages to ${e.host}`),c.saveState("version",o),c.saveState("tag",s);const i="npm.pkg.github.com"===e.host.toLowerCase();c.saveState("registry_url",e.href),c.saveState("registry_token",t),c.saveState("npmrc_path",r),c.saveState("is_github_registry",i);try{await v.processWorkspaces((async t=>{const{pkg:r,location:n,name:a}=t;if(r.private)return void c.debug(`[${a}] the package is private, skipping processing`);let l;if(i){l=c.getInput("github_target_repository");const t=e.pathname.slice(1);if(!t)throw c.error(`[${a}] unable to determine target github owner from registry URL, aborting all`),Error("invalid GitHub registry URL");let n;try{n=m(r)}catch(e){return void c.warning(`[${a}] unable to determine github owner, skipping the package`)}if(n!==t)return void c.warning(`[${a}] owner (${n}) mismatch: target owner (${t}), skipping the package`);if(!u.default(l)){if(l.split("/")[0].trim()!==t)return void c.warning(`[${a}] target repository (${l}) owner mismatch: target owner (${t}), skipping the package`);l=`https://github.com/${l}${l.endsWith(".git")?"":".git"}`}}c.debug(`[${a}] executing publish`),await f.publish(o,{tag:s,location:n,repository:l,frameworkScope:c.getInput("framework_scope")})}),c.debug)}finally{v.restoreNpmRc(r,n,c)}c.setOutput("registry_url",e.href),c.setOutput("version",o),c.setOutput("tag",s),c.info("all done")}},2167:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.publish=void 0;const o=r(5747),s=r(3129),i=n(r(8873)),a=r(6474),u=(e,t)=>{const r=t?{cwd:t}:{};return s.execSync(e,{stdio:"pipe",...r}).toString("utf-8")};t.publish=async(e,t)=>{if(!i.default.parse(e))throw Error(`invalid publish version: ${e}`);const{tag:r,location:n,repository:s,frameworkScope:c}=null!=t?t:{},l=n||".",h=(p=`${l}/package.json`,o.readFileSync(p).toString("utf-8"));var p;let f=JSON.parse(h);const{name:v,private:g}=f;if(g)return;let d=!1;try{""!=u(`npm view ${v}@${e}`)&&(d=!0)}catch(e){if(!e.message.includes("ERR! 404"))throw e}if(!d){f.version=e,null!=c&&""!==c&&(f=a.bumpDependencies(f,`${c}/.*$`,e)),null!=s&&""!==c&&(f.repository=s),o.writeFileSync(`${l}/package.json`,JSON.stringify(f,null,2));try{u("npm publish --access=public --unsafe-perm"+(null!=r&&""!==r?` --tag=${r}`:""),n)}catch(e){throw e}finally{o.writeFileSync(`${l}/package.json`,h)}}}},9976:e=>{"use strict";e.exports=function(e){e.prototype[Symbol.iterator]=function*(){for(let e=this.head;e;e=e.next)yield e.value}}},7372:(e,t,r)=>{"use strict";function n(e){var t=this;if(t instanceof n||(t=new n),t.tail=null,t.head=null,t.length=0,e&&"function"==typeof e.forEach)e.forEach((function(e){t.push(e)}));else if(arguments.length>0)for(var r=0,o=arguments.length;r1)r=t;else{if(!this.head)throw new TypeError("Reduce of empty list with no initial value");n=this.head.next,r=this.head.value}for(var o=0;null!==n;o++)r=e(r,n.value,o),n=n.next;return r},n.prototype.reduceReverse=function(e,t){var r,n=this.tail;if(arguments.length>1)r=t;else{if(!this.tail)throw new TypeError("Reduce of empty list with no initial value");n=this.tail.prev,r=this.tail.value}for(var o=this.length-1;null!==n;o--)r=e(r,n.value,o),n=n.prev;return r},n.prototype.toArray=function(){for(var e=new Array(this.length),t=0,r=this.head;null!==r;t++)e[t]=r.value,r=r.next;return e},n.prototype.toArrayReverse=function(){for(var e=new Array(this.length),t=0,r=this.tail;null!==r;t++)e[t]=r.value,r=r.prev;return e},n.prototype.slice=function(e,t){(t=t||this.length)<0&&(t+=this.length),(e=e||0)<0&&(e+=this.length);var r=new n;if(tthis.length&&(t=this.length);for(var o=0,s=this.head;null!==s&&othis.length&&(t=this.length);for(var o=this.length,s=this.tail;null!==s&&o>t;o--)s=s.prev;for(;null!==s&&o>e;o--,s=s.prev)r.push(s.value);return r},n.prototype.splice=function(e,t,...r){e>this.length&&(e=this.length-1),e<0&&(e=this.length+e);for(var n=0,s=this.head;null!==s&&n{"use strict";e.exports=require("child_process")},5747:e=>{"use strict";e.exports=require("fs")},2087:e=>{"use strict";e.exports=require("os")},5622:e=>{"use strict";e.exports=require("path")},1765:e=>{"use strict";e.exports=require("process")},8835:e=>{"use strict";e.exports=require("url")}},t={};function r(n){if(t[n])return t[n].exports;var o=t[n]={id:n,loaded:!1,exports:{}};return e[n].call(o.exports,o,o.exports,r),o.loaded=!0,o.exports}r.nmd=e=>(e.paths=[],e.children||(e.children=[]),e),r(2460)})(); \ No newline at end of file