Template
1
0
mirror of https://github.com/aminya/setup-cpp synced 2024-11-30 21:22:30 +08:00
setup-cpp/dist/legacy/setup-cpp.js
2024-02-16 21:47:47 -08:00

39 lines
310 KiB
JavaScript
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

#!/usr/bin/env node
let e,t,r,n,i,o,a,s,l,u;function c(e,t,r,n){Object.defineProperty(e,t,{get:r,set:n,enumerable:!0,configurable:!0});}function p(e){return e&&e.__esModule?e.default:e;}function d(e,t,r){if("function"==typeof t&&(r=t,t={}),!r){if("function"!=typeof Promise)throw TypeError("callback not provided");return new Promise(function(r,n){d(e,t||{},function(e,t){e?n(e):r(t);});});}rz(e,t||{},function(e,n){e&&("EACCES"===e.code||t&&t.ignoreErrors)&&(e=null,n=!1),r(e,n);});}function f(e,t){let r;let n=e.options.env||process.env,i=process.cwd(),o=null!=e.options.cwd,a=o&&void 0!==process.chdir&&!process.chdir.disabled;if(a)try{process.chdir(e.options.cwd);}catch(e){}try{r=rV.sync(e.command,{path:n[rY({env:n})],pathExt:t?n6.delimiter:void 0});}catch(e){}finally{a&&process.chdir(i);}return r&&(r=n6.resolve(o?e.options.cwd:"",r)),r;}function h(e,t){return Object.assign(Error(`${t} ${e.command} ENOENT`),{code:"ENOENT",errno:"ENOENT",syscall:`${t} ${e.command}`,path:e.command,spawnargs:e.args});}function m(e,t){return iJ&&1===e&&!t.file?h(t.original,"spawn"):null;}function g(e,t,r){let n=rG(e,t,r),i=ru.spawn(n.command,n.args,n.options);return rJ.hookChildProcess(i,n),i;}function v(e){let t="string"==typeof e?"\n":"\n".charCodeAt(),r="string"==typeof e?"\r":"\r".charCodeAt();return e[e.length-1]===t&&(e=e.slice(0,-1)),e[e.length-1]===r&&(e=e.slice(0,-1)),e;}function E(e={}){let{env:t=process.env,platform:r=process.platform}=e;return"win32"!==r?"PATH":Object.keys(t).reverse().find(e=>"PATH"===e.toUpperCase())||"Path";}function w({env:e=p(rm).env,...t}={}){let r=E({env:e={...e}});return t.path=e[r],e[r]=function(e={}){let t;let{cwd:r=p(rm).cwd(),path:n=p(rm).env[E()],execPath:i=p(rm).execPath}=e,o=i instanceof URL?p(rg).fileURLToPath(i):i,a=r instanceof URL?p(rg).fileURLToPath(r):r,s=p(rf).resolve(a),l=[];for(;t!==s;)l.push(p(rf).join(s,"node_modules/.bin")),t=s,s=p(rf).resolve(s,"..");return l.push(p(rf).resolve(a,o,"..")),[...l,n].join(p(rf).delimiter);}(t),e;}function y(e){return null!==e&&"object"==typeof e&&"function"==typeof e.pipe;}function b(e){return y(e)&&!1!==e.writable&&"function"==typeof e._write&&"object"==typeof e._writableState;}async function x(e,t){if(!e)throw Error("Expected a stream");let{maxBuffer:r}=t={maxBuffer:1/0,...t},n=r5(t);return await new Promise((t,i)=>{let o=e=>{e&&n.getBufferedLength()<=r2.MAX_LENGTH&&(e.bufferedData=n.getBufferedValue()),i(e);};(async()=>{try{await oq(e,n),t();}catch(e){o(e);}})(),n.on("data",()=>{n.getBufferedLength()>r&&o(new oB());});}),n.getBufferedValue();}function D(e,t,r){let n;let i=aa(e,t,r),o=o4(e,t),a=o5(e,t);ai(a,i.options),ok(i.options);try{n=p(rh).spawn(i.file,i.args,i.options);}catch(t){let e=new(p(rh).ChildProcess)();return o0(e,Promise.reject(ou({error:t,stdout:"",stderr:"",all:"",command:o,escapedCommand:a,parsed:i,timedOut:!1,isCanceled:!1,killed:!1}))),e;}let s=o1(n),l=oP(n,i.options,s),u=oU(n,i.options,l),c={isCanceled:!1};n.kill=oA.bind(null,n.kill.bind(n)),n.cancel=o$.bind(null,n,c);let d=rZ(async()=>{let[{error:e,exitCode:t,signal:r,timedOut:s},l,p,d]=await oQ(n,i.options,u),f=as(i.options,l),h=as(i.options,p),m=as(i.options,d);if(e||0!==t||null!==r){let l=ou({error:e,exitCode:t,signal:r,stdout:f,stderr:h,all:m,command:o,escapedCommand:a,parsed:i,timedOut:s,isCanceled:c.isCanceled||!!i.options.signal&&i.options.signal.aborted,killed:n.killed});if(!i.options.reject)return l;throw l;}return{command:o,escapedCommand:a,exitCode:0,stdout:f,stderr:h,all:m,failed:!1,timedOut:!1,isCanceled:!1,killed:!1};});return oz(n,i.options),n.all=oY(n,i.options),oj(n),o0(n,d),n;}function S(e,t,r){let n;let i=aa(e,t,r),o=o4(e,t),a=o5(e,t);ai(a,i.options);let s=oV(i.options);try{n=p(rh).spawnSync(i.file,i.args,{...i.options,input:s});}catch(e){throw ou({error:e,stdout:"",stderr:"",all:"",command:o,escapedCommand:a,parsed:i,timedOut:!1,isCanceled:!1,killed:!1});}let l=as(i.options,n.stdout,n.error),u=as(i.options,n.stderr,n.error);if(n.error||0!==n.status||null!==n.signal){let e=ou({stdout:l,stderr:u,error:n.error,signal:n.signal,exitCode:n.status,command:o,escapedCommand:a,parsed:i,timedOut:n.error&&"ETIMEDOUT"===n.error.code,isCanceled:!1,killed:null!==n.signal});if(!i.options.reject)return e;throw e;}return{command:o,escapedCommand:a,exitCode:0,stdout:l,stderr:u,failed:!1,timedOut:!1,isCanceled:!1,killed:!1};}function T(){var e,t;return((null===(e=(t=process).getuid)||void 0===e?void 0:e.call(t))===0||!!process.env.CI)&&null!==p(rP).sync("sudo",{nothrow:!0});}function N(e,t=[],r=ac){return T()?function(e,t){let[r,...n]=o6(e);return S(r,n,t);}(A(e,t),r):S(e,R(t),r);}function I(e,t=[],r=ac){return T()?function(e,t){let[r,...n]=o6(e);return D(r,n,t);}(A(e,t),r):D(e,R(t),r);}function A(e,t){return"sudo "+R([e,...t]).join(" ");}function R(e){return e.map(e=>`'${e}'`);}async function O(e){if(("linux"===process.platform||"darwin"===process.platform)&&T()&&void 0!==process.env.SUDO_USER){let t=p(n8).statSync(e).isDirectory();await I("chown",[...(t?["-R"]:[]),process.env.SUDO_USER,e],ac);}}function C(e){let t=function(){if(T()&&"string"==typeof process.env.SUDO_USER&&""!==process.env.SUDO_USER)return"darwin"===process.platform?(0,n6.join)("/Users/",process.env.SUDO_USER):(0,n6.join)("/home/",process.env.SUDO_USER);{let e=(0,n5.homedir)();if(""===e)return;return e;}}();return void 0===t?e:e.replace(ap,t);}function _(e,t,r,n){return new(r||(r=Promise))(function(i,o){function a(e){try{l(n.next(e));}catch(e){o(e);}}function s(e){try{l(n.throw(e));}catch(e){o(e);}}function l(e){var t;e.done?i(e.value):((t=e.value)instanceof r?t:new r(function(e){e(t);})).then(a,s);}l((n=n.apply(e,t||[])).next());});}function $(e,t){function r(r){return function(l){return function(r){if(n)throw TypeError("Generator is already executing.");for(;a&&(a=0,r[0]&&(s=0)),s;)try{if(n=1,i&&(o=2&r[0]?i.return:r[0]?i.throw||((o=i.return)&&o.call(i),0):i.next)&&!(o=o.call(i,r[1])).done)return o;switch(i=0,o&&(r=[2&r[0],o.value]),r[0]){case 0:case 1:o=r;break;case 4:return s.label++,{value:r[1],done:!1};case 5:s.label++,i=r[1],r=[0];continue;case 7:r=s.ops.pop(),s.trys.pop();continue;default:if(!(o=(o=s.trys).length>0&&o[o.length-1])&&(6===r[0]||2===r[0])){s=0;continue;}if(3===r[0]&&(!o||r[1]>o[0]&&r[1]<o[3])){s.label=r[1];break;}if(6===r[0]&&s.label<o[1]){s.label=o[1],o=r;break;}if(o&&s.label<o[2]){s.label=o[2],s.ops.push(r);break;}o[2]&&s.ops.pop(),s.trys.pop();continue;}r=t.call(e,s);}catch(e){r=[6,e],i=0;}finally{n=o=0;}if(5&r[0])throw r[1];return{value:r[0]?r[1]:void 0,done:!0};}([r,l]);};}var n,i,o,a,s={label:0,sent:function(){if(1&o[0])throw o[1];return o[1];},trys:[],ops:[]};return a={next:r(0),throw:r(1),return:r(2)},"function"==typeof Symbol&&(a[Symbol.iterator]=function(){return this;}),a;}async function L(){try{await p(r7)({pkg:p(nm)});}catch(e){(0,rO.warning)("Failed to check for updates: "+(e instanceof Error?e.message+e.stack:e));}}function P(e){return null==e?[]:Array.isArray(e)?e:[e];}function k(e,t,r){let n;let i=a3(e,t,r),o=aV(e,t),a=aX(e,t);a0(a,i.options),aT(i.options);try{n=p(rh).spawn(i.file,i.args,i.options);}catch(t){let e=new(p(rh).ChildProcess)();return aq(e,Promise.reject(af({error:t,stdout:"",stderr:"",all:"",command:o,escapedCommand:a,parsed:i,timedOut:!1,isCanceled:!1,killed:!1}))),e;}let s=aB(n),l=aS(n,i.options,s),u=aN(n,i.options,l),c={isCanceled:!1};n.kill=av.bind(null,n.kill.bind(n)),n.cancel=ax.bind(null,n,c);let d=rZ(async()=>{let[{error:e,exitCode:t,signal:r,timedOut:s},l,p,d]=await aM(n,i.options,u),f=a2(i.options,l),h=a2(i.options,p),m=a2(i.options,d);if(e||0!==t||null!==r){let l=af({error:e,exitCode:t,signal:r,stdout:f,stderr:h,all:m,command:o,escapedCommand:a,parsed:i,timedOut:s,isCanceled:c.isCanceled||!!i.options.signal&&i.options.signal.aborted,killed:n.killed});if(!i.options.reject)return l;throw l;}return{command:o,escapedCommand:a,exitCode:0,stdout:f,stderr:h,all:m,failed:!1,timedOut:!1,isCanceled:!1,killed:!1};});return aL(n,i.options),n.all=aP(n,i.options),aR(n),aq(n,d),n;}function U(t,r=["-NoProfile","-NoLogo","-NonInteractive"],n={stdio:"inherit"}){return k(function(){if(void 0===e){let t=p(rP).sync("pwsh",{nothrow:!0});null!==t&&(e=t);let r=p(rP).sync("powershell",{nothrow:!0});null!==r&&(e=r);}if(void 0===e)throw Error("Could not find powershell");return e;}(),[...r,"-c",t],n);}async function M(e,t,r=a7){let n=function(e,t=!1){let r=t?p(nv)(e):e;return p(nE)(r,'"',"\\");}(null!=t?t:"",r.shouldEscapeSpace);try{if(rR.GITHUB_ACTIONS)try{if(r.shouldAddOnlyIfNotDefined&&void 0!==process.env[e]){(0,ng.info)(`Environment variable ${e} is already defined. Skipping.`);return;}(0,ng.exportVariable)(e,n);}catch(t){(0,rO.error)(t),await j(e,n,r);}else await j(e,n,r);}catch(t){(0,rO.error)(t),(0,ng.setFailed)(`Failed to export environment variable ${e}=${n}. You should add it manually.`);}}async function F(e){if(!function(e){if(se.some(t=>t.test(e))){var t,r;return(null!==(r=null===(t=process.env.PATH)||void 0===t?void 0:t.split(n6.delimiter))&&void 0!==r?r:[]).includes(e);}return!1;}(e)){process.env.PATH=`${e}${n6.delimiter}${process.env.PATH}`;try{if(rR.GITHUB_ACTIONS)try{(0,ng.addPath)(e);}catch(t){(0,rO.error)(t),await q(e);}else await q(e);}catch(t){(0,rO.error)(t),(0,ng.setFailed)(`Failed to add ${e} to the percistent PATH. You should add it manually.`);}}}async function j(e,t,r){let n=null!=t?t:"";switch(process.platform){case"win32":if(r.shouldAddOnlyIfNotDefined&&void 0!==process.env[e]){(0,ng.info)(`Environment variable ${e} is already defined. Skipping.`);return;}await U(`[Environment]::SetEnvironmentVariable('${e}', '${n}', "User")`),(0,ng.info)(`${e}='${n}' was set in the environment.`);return;case"linux":case"darwin":await B(),r.shouldAddOnlyIfNotDefined?((0,n8.appendFileSync)(st,`
if [ -z "\${${e}}" ]; then export ${e}="${n}"; fi
`),(0,ng.info)(`if not defined ${e} then ${e}="${n}" was added to "${st}`)):((0,n8.appendFileSync)(st,`
export ${e}="${n}"
`),(0,ng.info)(`${e}="${n}" was added to "${st}`));return;}process.env[e]=n;}async function q(e){switch(process.platform){case"win32":await U(`$USER_PATH=([Environment]::GetEnvironmentVariable("PATH", "User")); [Environment]::SetEnvironmentVariable("PATH", "${e};$USER_PATH", "User")`),(0,ng.info)(`"${e}" was added to the PATH.`);return;case"linux":case"darwin":await B(),(0,n8.appendFileSync)(st,`
export PATH="${e}:$PATH"
`),(0,ng.info)(`"${e}" was added to "${st}"`);return;default:return;}}async function B(){if(sr)return;let e="# Automatically Generated by setup-cpp\nexport SOURCE_CPPRC=0";if((await(0,nw.pathExists)(st))&&(0,n8.readFileSync)(st,"utf8").includes(e))return;(0,n8.appendFileSync)(st,`
${e}
`),(0,ng.info)(`Added ${e} to ${st}`);let t=`
# source .cpprc if SOURCE_CPPRC is not set to 0
if [[ "$SOURCE_CPPRC" != 0 && -f "${st}" ]]; then source "${st}"; fi
`;try{let e=C("~/.profile");(0,n8.appendFileSync)(e,t),(0,ng.info)(`${t} was added to ${e}`);let r=C("~/.bashrc");(0,n8.appendFileSync)(r,t),(0,ng.info)(`${t} was added to ${r}`);}catch(e){(0,rO.warning)(`Failed to add ${t} to .profile or .bashrc. You should add it manually: ${e}`);}sr=!0;}async function G(){if(await(0,nw.pathExists)(st)){let e=(0,n8.readFileSync)(st,"utf-8").split("\n"),t=[...new Set(e.reverse())].reverse();(0,n8.writeFileSync)(st,t.join("\n")),await O(st);}}async function H(e,t=!1){let r;let n=z()?"nala":"apt-get";for(let{name:t,version:r}of e)(0,rO.info)(`Installing ${t} ${null!=r?r:""} via ${n}`);process.env.DEBIAN_FRONTEND="noninteractive",(!si||t)&&(Y(n),si=!0),so||(await W(n),so=!0);let i=[...new Set(e.flatMap(e=>{var t;return null!==(t=e.repositories)&&void 0!==t?t:[];}))];if(0!==i.length){for(let e of i)N("add-apt-repository",["-y",e]);Y(n);}let o=await Promise.all(e.map(e=>X(e.name,e.version)));try{N(n,["install","--fix-broken","-y",...o]);}catch(e){if("stderr"in e){let t=e.stderr;sa.some(e=>t.includes(e))&&((0,rO.warning)(`Failed to install packages ${o}. Retrying...`),N(n,["install","--fix-broken","-y",...o]));}else throw e;}return{binDir:"/usr/bin/"};}async function V(e,t){if(void 0!==t&&""!==t){let{stdout:r}=await D("apt-cache",["search","--names-only",`^${(0,ny.default)(e)}-${(0,ny.default)(t)}$`]);if(""!==r.trim())return 0;try{let{stdout:r}=await D("apt-cache",["show",`${e}=${t}`]);if(""===r.trim())return 1;}catch{}}try{let{stdout:t}=await D("apt-cache",["show",e]);if(""!==t.trim())return 2;}catch{}return 3;}async function X(e,t){switch(await V(e,t)){case 0:return`${e}-${t}`;case 1:return`${e}=${t}`;case 2:return e;default:throw Error(`Could not find package ${e} ${null!=t?t:""}`);}}function z(){return null!==p(rP).sync("nala",{nothrow:!0});}function Y(e){N(e,"nala"!==e?["update","-y"]:["update"]);}async function W(e){N(e,["install","--fix-broken","-y","software-properties-common","apt-utils","ca-certificates","gnupg"]);let t=[Q(["3B4FE6ACC0B21F32","40976EAF437D05B5"],"setup-cpp-ubuntu-archive.gpg"),Q(["1E9377A2BA9EF27F"],"launchpad-toolchain.gpg")];"nala"===e&&t.push(M("LANG","C.UTF-8",{shouldAddOnlyIfNotDefined:!0}),M("LC_ALL","C.UTF-8",{shouldAddOnlyIfNotDefined:!0})),await Promise.all(t);}function K(){N("gpg",["-k"]);}async function Q(e,t,r="keyserver.ubuntu.com"){try{let n="/etc/apt/trusted.gpg.d/"+t;return(await(0,nw.pathExists)(n))||(K(),await Promise.all(e.map(async e=>{await I("gpg",["--no-default-keyring","--keyring","gnupg-ring:"+n,"--keyserver",r,"--recv-keys",e]),await I("chmod",["644",n]);}))),n;}catch(e){(0,rO.warning)(`Failed to add apt key via server ${r}: ${e}`);return;}}async function J(e,t){let r="/etc/apt/trusted.gpg.d/"+e;return(await(0,nw.pathExists)(r))||(K(),await H([{name:"curl"},{name:"ca-certificates"}],void 0),await D("curl",["-s",t,"-o","/tmp/"+e]),N("gpg",["--no-default-keyring","--keyring","gnupg-ring:"+r,"--import","/tmp/"+e]),N("chmod",["644",r])),r;}async function Z(e,t,r=40){return rR.GITHUB_ACTIONS?I("update-alternatives",["--install","/usr/bin/"+e,e,t,r.toString()]):(await B(),sn(st,`
if [ $UID -eq 0 ]; then update-alternatives --install /usr/bin/${e} ${e} ${t} ${r}; fi
`));}async function ee(e){try{let{stdout:t}=await D("dpkg",["-l",e]);return t.split("\n").some(e=>e.startsWith("ii"));}catch{return!1;}}async function et(e,r,n){if(!["darwin","linux"].includes(process.platform))return;if("string"==typeof t)return{binDir:t};let i=p(rP).sync("brew",{nothrow:!0});if(null!==i)return{binDir:t=(0,nx.dirname)(i)};let o=p(n6).join((0,n5.tmpdir)(),"setup-cpp","brew");await(0,nD.mkdirP)(o),S("curl",["-LJO","https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh"],{cwd:o});let a=(0,n6.join)(o,"install.sh");return"linux"===process.platform&&(0,n8.readFileSync)(a,"utf-8").replace("#!/bin/bash",""),S("/bin/bash",[a],{stdio:"inherit",env:{NONINTERACTIVE:"1"}}),t=er(),await F(t),{binDir:t};}function er(){return"linux"===process.platform?"/home/linuxbrew/.linuxbrew/bin/":"/usr/local/bin/";}async function en(e,t,r=[]){(0,ng.info)(`Installing ${e} ${null!=t?t:""} via brew`),ss&&null!==p(rP).sync("brew",{nothrow:!0})||(await et("","",process.arch),ss=!0);let n=er();return S((0,nx.join)(n,"brew"),["install",void 0!==t&&""!==t?`${e}@${t}`:e,...r],{stdio:"inherit"}),{binDir:n};}async function ei(e,t,n){var i;if("win32"!==process.platform)return;if("string"==typeof r)return{binDir:r};let o=p(rP).sync("choco",{nothrow:!0});if(null!==o)return{binDir:r=(0,nx.dirname)(o)};let a="powershell.exe",s=p(rP).sync(`${process.env.SystemRoot}\\System32\\WindowsPowerShell\\v1.0\\powershell.exe`,{nothrow:!0});null!==s&&(a=s),S(a,["-NoProfile","-InputFormat","None","-ExecutionPolicy","Bypass","-Command","[System.Net.ServicePointManager]::SecurityProtocol = 3072; iex ((New-Object System.Net.WebClient).DownloadString('https://community.chocolatey.org/install.ps1'))"],{stdio:"inherit"});let l=`${process.env.ALLUSERSPROFILE}\\chocolatey\\bin`;await F(l);let u=p(rP).sync("choco",{nothrow:!0});if(r=null!==u?(0,nx.dirname)(u):`${null!==(i=process.env.ChocolateyInstall)&&void 0!==i?i:"C:/ProgramData/chocolatey"}/bin`,await(0,nw.pathExists)(r))return{binDir:r};}async function eo(e,t,r=[]){var n;(0,rO.info)(`Installing ${e} ${null!=t?t:""} via chocolatey`),sl&&null!==p(rP).sync("choco",{nothrow:!0})||(await ei("","",process.arch),sl=!0);let i=process.env.PATH,o={...process.env};if(delete o.TMP,delete o.TEMP,delete o.Path,o.PATH=i,void 0!==t&&""!==t)S("choco",["install","-y",e,"--version="+t,...r],{env:o,extendEnv:!1,stdio:"inherit"});else try{S("choco",["install","-y",e,...r],{env:o,extendEnv:!1,stdio:"inherit"});}catch(t){if(t.message.includes("exit code 3010"))(0,rO.info)(`${e} might require a reboot for the completion of the installation.`);else throw t;}let a=`${null!==(n=process.env.ChocolateyInstall)&&void 0!==n?n:"C:/ProgramData/chocolatey"}/bin`;return await F(a),{binDir:a};}function ea(){return"linux"===process.platform&&(void 0===s&&(s=null!==p(rP).sync("pacman",{nothrow:!0})),s);}function es(){return"linux"===process.platform&&(void 0===l&&(l=null!==p(rP).sync("dnf",{nothrow:!0})),l);}async function el(e){for(let{name:t,version:r}of e)(0,rO.info)(`Installing ${t} ${null!=r?r:""} via dnf`);return N("dnf",["-y","install",...(await Promise.all(e.map(e=>eu(e.name,e.version))))]),{binDir:"/usr/bin/"};}async function eu(e,t){if(void 0!==t&&""!==t){let{stdout:r}=await D("dnf",["search","-q",`${e}-${t}`]);if(""!==r.trim())return`${e}-${t}`;{let{stdout:r}=await D("dnf",["search","-q",`${e}${t}`]);if(""!==r.trim())return`${e}${t}`;(0,rO.warning)(`Failed to install ${e} ${t} via dnf, trying without version`);}}return e;}function ec(){return"linux"===process.platform&&(void 0===u&&(u=null!==p(rP).sync("apt-get",{nothrow:!0})),u);}async function ep(e,t,r){switch(process.platform){case"win32":return eo("bazelisk",e);case"darwin":return en("bazelisk",e);case"linux":if(ea())throw Error("installing bazel on Arch linux is not supported yet");if(es())return await el([{name:"dnf-plugins-core"}]),N("dnf",["copr","enable","vbatts/bazel"]),el([{name:"bazel4"}]);if(ec()){let t=await J("bazel-archive-keyring.gpg","https://bazel.build/bazel-release.pub.gpg");return N("bash",["-c",`echo "deb [arch=amd64 signed-by=${t}] https://storage.googleapis.com/bazel-apt stable jdk1.8" | tee /etc/apt/sources.list.d/bazel.list`]),H([{name:"bazel",version:e}],!0);}throw Error("Unsupported linux distribution");default:throw Error("Unsupported platform");}}async function ed(e,t,r){(0,rO.info)(`Installing ${e} ${null!=t?t:""} via pacman`);let n="pacman";if("yay"===r&&null===p(rP).sync("yay",{nothrow:!0}))throw Error(`yay is needed for ${e}, but it is not installed, please install it manually first`);su||"yay"===r||(N(n,["-Sy","--noconfirm"]),su=!0),sc||"yay"===r||(N(n,["-S","--noconfirm","base-devel"]),sc=!0);let i=e=>"yay"===r?S(r,["-S","--noconfirm",e]):N(null!=r?r:n,["-S","--noconfirm",e]);if(void 0!==t&&""!==t){if((await ef(n,e)).includes(t))try{i(`${e}=${t}`);}catch{i(`${e}${t}`);}else(0,rO.info)(`Failed to install ${e} ${t} via pacman, trying without version`),i(e);}else i(e);return{binDir:"/usr/bin/"};}async function ef(e,t){let r=[];try{let{stdout:n}=await D(e,["-Si",t]);for(let e of n.matchAll(sp))r.push(e[1]);}catch(e){(0,rO.warning)(`Failed to get available versions for ${t}: ${e}`);}return r;}function eh(e,t){let r=[];t=t||sg.arch();let n=sv.join(ey(),e);if(sh.existsSync(n)){for(let e of sh.readdirSync(n))if(eE(e)){let i=sv.join(n,e,t||"");sh.existsSync(i)&&sh.existsSync(`${i}.complete`)&&r.push(e);}}return r;}function em(e){return nR(this,void 0,void 0,function*(){return e||(e=sv.join(eb(),sx.default())),yield sf.mkdirP(e),e;});}function eg(e,t,r){return nR(this,void 0,void 0,function*(){let n=sv.join(ey(),e,sw.clean(t)||t,r||"");sd.debug("destination "+n);let i=`${n}.complete`;return yield sf.rmRF(n),yield sf.rmRF(i),yield sf.mkdirP(n),n;});}function ev(e,t,r){let n=sv.join(ey(),e,sw.clean(t)||t,r||""),i=`${n}.complete`;sh.writeFileSync(i,""),sd.debug("finished caching tool");}function eE(e){let t=sw.clean(e)||"";sd.debug("isExplicit: "+t);let r=null!=sw.valid(t);return sd.debug("explicit? "+r),r;}function ew(e,t){let r="";sd.debug(`evaluating ${e.length} versions`),e=e.sort((e,t)=>sw.gt(e,t)?1:-1);for(let n=e.length-1;n>=0;n--){let i=e[n];if(sw.satisfies(i,t)){r=i;break;}}return r?sd.debug("matched: "+r):sd.debug("match not found"),r;}function ey(){let e=process.env.RUNNER_TOOL_CACHE||"";return ra.ok(e,"Expected RUNNER_TOOL_CACHE to be defined"),e;}function eb(){let e=process.env.RUNNER_TEMP||"";return ra.ok(e,"Expected RUNNER_TEMP to be defined"),e;}function ex(e,t){let r=rS[e];return void 0!==r?r:t;}function eD(e,t){if(!e||!t)throw Error("retry-as-promised must be passed a callback and a options set");let r={$current:"$current"in(t="number"==typeof t?{max:t}:t)?t.$current:1,max:t.max,timeout:t.timeout||void 0,match:t.match?Array.isArray(t.match)?t.match:[t.match]:[],backoffBase:void 0===t.backoffBase?100:t.backoffBase,backoffExponent:t.backoffExponent||1.1,report:t.report,name:t.name||e.name||"unknown"};return r.match&&!Array.isArray(r.match)&&(r.match=[r.match]),r.report&&r.report("Trying "+r.name+" #"+r.$current+" at "+new Date().toLocaleTimeString(),r),new Promise(function(t,n){let i,o,a;r.timeout&&(i=setTimeout(function(){o&&clearTimeout(o),n(new sI(r.name+" timed out",a));},r.timeout)),Promise.resolve(e({current:r.$current})).then(t).then(function(){i&&clearTimeout(i),o&&clearTimeout(o);}).catch(function(s){i&&clearTimeout(i),o&&clearTimeout(o),a=s,r.report&&r.report(s&&s.toString()||s,r,s);var l=r.$current<r.max;if(!l||!(l=0===r.match.length||r.match.some(function(e){return function(e,t){if("function"==typeof e)try{if(t instanceof e)return!0;}catch(r){return!!e(t);}return e===t.toString()||e===t.message||e instanceof RegExp&&(e.test(t.message)||e.test(t.toString()));}(e,s);})))return n(s);var u=r.backoffBase*Math.pow(r.backoffExponent,r.$current-1);r.$current++,r.report&&r.report(`Retrying ${r.name} (${r.$current})`,r),u?(r.report&&r.report(`Delaying retry of ${r.name} by ${u}`,r),o=setTimeout(function(){eD(e,r).then(t).catch(n);},u)):eD(e,r).then(t).catch(n);});});}async function eS(e,t,r,n,i){var o,a;(0,rO.info)(`Installing ${e} ${t} ${i} via direct downloading`),process.env.RUNNER_TEMP=null!==(o=process.env.RUNNER_TEMP)&&void 0!==o?o:(0,n5.tmpdir)(),process.env.RUNNER_TOOL_CACHE=null!==(a=process.env.RUNNER_TOOL_CACHE)&&void 0!==a?a:(0,nx.join)((0,n5.tmpdir)(),"setup-cpp","hostedtoolcache");let{url:s,binRelativeDir:l,binFileName:u,extractedFolderName:c,extractFunction:d}=await r(t,process.platform,i);if(rR.GITHUB_ACTIONS)try{let r=(0,nS.find)(e,t);if(r){let n=(0,nx.join)(r,c),i=(0,nx.join)(n,l);if(await(0,nw.pathExists)((0,nx.join)(i,u)))return(0,rO.info)(`${e} ${t} was found in the cache at ${i}.`),await F(i),{installDir:n,binDir:i};}}catch{}let f=(0,nx.join)(n,c),h=(0,nx.join)(f,l),m=(0,nx.join)(h,u);if((await Promise.all([(0,nw.pathExists)(h),(0,nw.pathExists)(m)])).includes(!1))try{(0,rO.info)(`Download ${e} ${t}`);let r=await p(nF)(()=>(0,nS.downloadTool)(s),{name:s,max:4,backoffBase:2e3,report:e=>(0,rO.info)(e)});sA||((0,rO.info)("Installing extraction dependencies"),"linux"===process.platform&&(ea()?await Promise.all([ed("unzip"),ed("tar"),ed("xz")]):es()?await el([{name:"unzip"},{name:"tar"},{name:"xz"}]):ec()&&(await H([{name:"unzip"},{name:"tar"},{name:"xz-utils"}]))),sA=!0),(0,rO.info)(`Extracting ${r} to ${n}`),await(null==d?void 0:d(r,n));}catch(r){throw Error(`Failed to download ${e} ${t} ${i} from ${s}: ${r}`);}return(0,rO.info)(`Add ${h} to PATH`),await F(h),rR.GITHUB_ACTIONS&&"string"==typeof process.env.RUNNER_TOOL_CACHE&&(await(0,nS.cacheDir)(n,e,t)),{installDir:f,binDir:h};}function eT(e,t,r){switch(process.platform){case"win32":return eo("7zip",e);case"darwin":return en("p7zip",e);case"linux":if(ea())return ed("p7zip",e);if(es())return el([{name:"p7zip",version:e},{name:"p7zip-plugins",version:e}]);if(ec())return H([{name:"p7zip-full",version:e}]);throw Error("Unsupported linux distribution");default:throw Error("Unsupported platform");}}async function eN(e,t){return await D(await eI(),["x",e,"-o"+t,"-y"],{stdio:"inherit"}),await O(t),t;}async function eI(){return void 0===n&&(null===p(rP).sync("7z",{nothrow:!0})&&(await eT("","",process.arch)),n="7z"),n;}function eA(e,t){return eN(e,t);}function eR(e,t){return eN(e,t);}async function eO(e,t,r=["--strip-components=0"]){try{await(0,nD.mkdirP)(t);}catch{}try{await D("tar",["xf",e,"-C",t,...r],{stdio:"inherit"});}catch(r){"win32"===process.platform&&r.message.includes("Can't create '\\\\?\\C:")&&(0,rO.warning)(`Failed to extract symlink ${e} to ${t}. Ignoring this symlink.`);}return O(t),t;}function eC(e,t,r){var n;let i=null!==(n=p(nM)(e))&&void 0!==n?n:e;switch(t){case"win32":{let t;let n=p(nU)(i,"v3.19.6");t=["ia32","x86","i386","x32"].includes(r)?n?"win32-x86":"windows-i386":n?"win64-x64":"windows-x86_64";let o=`cmake-${e}-${t}`;return{binRelativeDir:"bin/",binFileName:(0,nx.addExeExt)("cmake"),extractedFolderName:o,extractFunction:eR,url:`https://github.com/Kitware/CMake/releases/download/v${e}/${o}.zip`};}case"darwin":{let t=p(nU)(i,"v3.19.1"),r=`cmake-${e}-${t?"Darwin-x86_64":"macos-universal"}`;return{binRelativeDir:"CMake.app/Contents/bin/",binFileName:(0,nx.addExeExt)("cmake"),extractedFolderName:r,extractFunction:nS.extractTar,url:`https://github.com/Kitware/CMake/releases/download/v${e}/${r}.tar.gz`};}case"linux":{let t;let n=p(nU)(i,"v3.19.8");t=["aarch64"].includes(r)?n?"Linux-aarch64":"linux-aarch64":n?"Linux-x86_64":"linux-x86_64";let o=`cmake-${e}-${t}`;return{binRelativeDir:"bin/",binFileName:(0,nx.addExeExt)("cmake"),extractedFolderName:o,extractFunction:nS.extractTar,url:`https://github.com/Kitware/CMake/releases/download/v${e}/${o}.tar.gz`};}default:throw Error(`Unsupported platform '${t}'`);}}function e_(e,t,r){return eS("cmake",e,eC,t,r);}function e$(e){var t=e.length;return t?1===t?[e[0]]:2===t?[e[0],e[1]]:3===t?[e[0],e[1],e[2]]:nq.call(e,0):[];}function eL(e,t){return e===t||e!=e&&t!=t;}function eP(e,t){var r={};for(var n in e)r[n]=e[n];for(var n in t)r[n]=t[n];return r;}function ek(e,t){if(void 0===t&&(t={}),"function"==typeof e&&e.isMemoized)return ek(e.fn,eP(e.options,t));if("function"!=typeof e)throw TypeError("You must pass a function to `memoize`.");var r=t.isEqual,n=t.isMatchingKey,i=t.isPromise,o=void 0!==i&&i,a=t.maxSize,s=t.onCacheAdd,l=t.onCacheChange,u=t.onCacheHit,c=t.transformKey,p=eP({isEqual:void 0===r?eL:r,isMatchingKey:n,isPromise:o,maxSize:void 0===a?1:a,onCacheAdd:s,onCacheChange:l,onCacheHit:u,transformKey:c},function(e){var t={};for(var r in e)nj[r]||(t[r]=e[r]);return t;}(t)),d=new nB(p),f=d.keys,h=d.values,m=d.canTransformKey,g=d.shouldCloneArguments,v=d.shouldUpdateOnAdd,E=d.shouldUpdateOnChange,w=d.shouldUpdateOnHit,y=function(){var t=g?e$(arguments):arguments;m&&(t=c(t));var r=f.length?d.getKeyIndex(t):-1;if(-1!==r)w&&u(d,p,y),r&&(d.orderByLru(f[r],h[r],r),E&&l(d,p,y));else{var n=e.apply(this,arguments),i=g?t:e$(arguments);d.orderByLru(i,n,f.length),o&&d.updateAsyncCache(y),v&&s(d,p,y),E&&l(d,p,y);}return h[0];};return y.cache=d,y.fn=e,y.isMemoized=!0,y.options=p,y;}function eU(e,t){return new Promise(r=>{try{let n=(0,ie.request)(e,{method:t},e=>{r(void 0!==e.statusCode&&e.statusCode>=200&&e.statusCode<=399);});n.on("error",e=>{r(!1);}),n.end();}catch{r(!1);}});}function eM(e,t){return Array.from(e).filter(e=>/^\d+\.\d+\.\d+$/.test(e)&&e.startsWith(t)).sort((e,t)=>{try{return p(nV)(e,t);}catch(r){return e.localeCompare(t);}}).reverse();}async function eF(e,t,r,n){if("linux"===t&&r.includes("ubuntu")){let e=await n(t,r);if(null!==e&&(await nH(e)))return[r,e];}if(!e.has(r))throw Error(`Unsupported target! (platform='${t}', version='${r}'). Try one of the following: ${JSON.stringify(e)}`);let i=[];for(let o of eM(e,r)){let e=await n(t,o);if(null!==e){if(await nH(e))return[o,e];i.push(e);}}throw Error(`Unsupported target! (platform='${t}', version='${r}'). Try one of the following: ${JSON.stringify(e)}`);}async function ej(e,t=sR){try{var r,n;let i=await(0,nC.getExecOutput)(e,["--version"]),o=i.stdout||i.stderr||"",a=null===(r=o.trim().match(t))||void 0===r?void 0:r[1];return null!==(n=p(nM)(a))&&void 0!==n?n:void 0;}catch(e){console.error(e);return;}}async function eq(e,t,r=sR){let n=await ej(e,r);return void 0!==n&&""!==t&&-1!==p(nV)(n,t);}function eB(){switch(process.platform){case"win32":default:return"17.0.6";case"linux":return"17.0.6-ubuntu-22.04";case"darwin":return"15.0.3";}}async function eG(e,t,r){let n=await eX(e,t,r);p(ra)(void 0!==n.bin);let i=n.bin;if(void 0===(await eK(i)))throw Error("pip was not installed correctly");return await eH(i),await eV(i),n;}async function eH(e){try{if(!(await e7(e)))try{await e9(e,"pipx",void 0,{upgrade:!0,usePipx:!1});}catch(e){if(null===to("pipx",!1))throw Error("pipx was not installed correctly "+e);}await D(e,["-m","pipx","ensurepath"],{stdio:"inherit"}),await e9(e,"venv",void 0,{upgrade:!1,usePipx:!1});}catch(e){(0,rO.warning)(`Failed to install pipx: ${e.toString()}. Ignoring...`);}}async function eV(e){try{await e9(e,"setuptools",void 0,{upgrade:!0,isLibrary:!0,usePipx:!1}),await e9(e,"wheel",void 0,{upgrade:!0,isLibrary:!0,usePipx:!1});}catch(e){(0,rO.warning)(`Failed to install setuptools or wheel: ${e.toString()}. Ignoring...`);}}async function eX(e,t,r){let n;let i=await eY(t);if(void 0!==i){let e=(0,nx.dirname)(i);n={bin:i,installDir:e,binDir:e};}else{if(rR.GITHUB_ACTIONS)try{(0,rO.info)("Installing python in GitHub Actions");let{setupActionsPython:o}=await rI("fEioR");await o(e,t,r),i=await eY(t);let a=(0,nx.dirname)(i);n={bin:i,installDir:a,binDir:a};}catch(e){(0,rO.warning)(e.toString());}void 0===n&&(n=await ez(t,e));}return(void 0===i||void 0===n.bin)&&(i=await eY(t),n.bin=i),n;}async function ez(e,t){let r;switch(process.platform){case"win32":{e?await eo("python3",t,["--params=/InstallDir:"+e]):await eo("python3",t);let n=await eY(e),i=(0,nx.dirname)(n);await F(i),r={installDir:i,binDir:i,bin:n};break;}case"darwin":{r=await en("python3",t);let e=await D("brew",["--prefix","python"],{stdio:"pipe"}),n=(0,nx.join)(e.stdout,"libexec","bin");await F(n);break;}case"linux":if(ea())r=await ed("python",t);else if(es())r=await el([{name:"python3",version:t}]);else if(ec())r=await H([{name:"python3",version:t},{name:"python-is-python3"}]);else throw Error("Unsupported linux distributions");break;default:throw Error("Unsupported platform");}return r;}async function eY(e){for(let t of["python3","python"]){let r=await eW(t,e);if(void 0!==r)return r;}}async function eW(e,t){try{var r;if(void 0!==t){let r=(0,nx.join)(t,(0,nx.addExeExt)(e));if((await(0,nw.pathExists)(r))&&(await eq(r,sC.python)))return r;}for(let t of null!==(r=await p(rP)(e,{nothrow:!0,all:!0}))&&void 0!==r?r:[])if(await eq(t,sC.python))return t;}catch{}}async function eK(e){let t=await eQ();return void 0===t?((0,rO.info)("pip was not found. Installing pip"),await eZ(e),eQ()):t;}async function eQ(){for(let e of["pip3","pip"]){let t=await eJ(e);if(void 0!==t)return t;}}async function eJ(e){try{var t;for(let r of null!==(t=await p(rP)(e,{nothrow:!0,all:!0}))&&void 0!==t?t:[])if(null!==r&&(await eq(r,sC.pip)))return r;}catch{}}async function eZ(e){(await e0(e))||(await to("pip"),await e0(e));}async function e0(e){try{return await D(e,["-m","ensurepip","-U","--upgrade"],{stdio:"inherit"}),!0;}catch(t){(0,rO.info)(t.toString());try{return await D(e,["-m","pip","install","--upgrade","pip"],{stdio:"inherit"}),!0;}catch(e){(0,rO.info)(e.toString());}}return!1;}async function e1(e){let t=[];"linux"===process.platform?t.push("/home/runner/.local/bin/"):"darwin"===process.platform&&t.push("/usr/local/bin/");let r=(await(0,nC.getExecOutput)(`${e} -c "import sys;print(sys.base_exec_prefix);"`)).stdout.trim();return t.push((0,nx.join)(r,"Scripts"),(0,nx.join)(r,"Scripts","bin"),(0,nx.join)(r,"bin")),[...new Set(t)];}function e3(e,t,r=null){return e2(t)&&"linux"===process.platform&&null!==r&&e in s_?function(e,t){let r=e[0],n=Object.keys(t).map(e=>parseInt(e,10)).sort((e,t)=>t-e).find(e=>r>=e);return void 0===n?"":t[n];}(r,s_[e]):e2(t)&&e in sO?sO[e]:"true"===t?"":null!=t?t:"";}function e2(e){return"true"===e||void 0===e;}async function e4(){var e,t;if("linux"!==process.platform)return[];let r=await(e="lsb_release",t=["-a"],new Promise((r,n)=>{ru.execFile(e,t,{encoding:"utf8",shell:!1},(i,o,a)=>{if(i){if("errno"in i&&"ENOENT"===i.code){r(null);return;}n(Error(`Could not execute \`${e} ${t.join(" ")}\`: ${i} (stderr=${a})`));return;}r(o);});}));if(null===r)return[];let n=null,i=null,o=!1;for(let e of r.split("\n")){let t=e.match(/^Distributor ID:\s*(.+)$/);if(null!==t){if("Ubuntu"!==t[1])return[];o=!0;}let r=e.match(/^Description:\s*Ubuntu\s+(\d+)\.(\d+)(?:\.(\d+))?/);r&&(n=r);let a=e.match(/^Release:\s*(\d+)\.(\d+)(?:\.(\d+))?$/);if(a&&(i=a),o&&n&&i)break;}if(!o)return[];for(let e of[n,i])if(e){let t=[e[1],e[2]];return e[3]&&t.push(e[3]),t.map(e=>parseInt(e,10));}return[];}async function e5(){try{if(!ec())return null;{try{null===p(rP).sync("lsb_release",{nothrow:!0})&&(await H([{name:"lsb-release"}]));}catch{return e6();}let e=await(0,nz.getUbuntuVersion)();if(0===e.length)return e6();return e;}}catch(e){return(0,rO.warning)(e.toString()),null;}}function e6(){let e=p(n5).version().split("."),t=parseInt(e[0].replace("#",""),10);return[t,parseInt(e[1].replace("~",""),10),parseInt(e[2].split("-")[0],10)];}async function e8(e,t,r={}){return e9(await sJ(),e,t,r);}async function e9(e,t,r,n={}){let{usePipx:i=!0,user:o=!0,upgrade:a=!1,isLibrary:s=!1}=n,l=i&&!s&&(await e7(e)),u=l?"pipx":"pip";if(await tn(e,t))try{(0,ng.info)(`Installing ${t} ${null!=r?r:""} via ${u}`);let n=void 0!==r&&""!==r?`${t}==${r}`:t,i=process.env;l&&o&&(i.PIPX_HOME=await sK(),i.PIPX_BIN_DIR=await sQ()),S(e,["-m",u,...(a?l?["upgrade"]:["install","--upgrade"]:["install"]),...(!l&&o?["--user"]:[]),n],{stdio:"inherit",env:i});}catch(e){if((0,ng.info)(`Failed to install ${t} via ${u}: ${e}.`),(await to(t))===null)throw Error(`Failed to install ${t} via ${u}: ${e}.`);}else if((await to(t))===null)throw Error(`Failed to install ${t} as it was not found via ${u} or the system package manager`);let c=await s$(e),p=await ti(c,t);return await F(p),{binDir:p};}async function e7(e){return 0===(await D(e,["-m","pipx","--help"],{stdio:"ignore",reject:!1})).exitCode;}async function te(){let e=process.env.PIPX_HOME;if(void 0!==e)return e;let t=C("~/.local/pipx");if(await(0,nw.pathExists)(t))return t;switch(process.platform){case"win32":e=C("~/AppData/Local/pipx");break;case"darwin":e=C("~/Library/Application Support/pipx");break;default:e=C("~/.local/share/pipx");}return await sW(e),await sW((0,nx.join)(e,"trash")),await sW((0,nx.join)(e,"shared")),await sW((0,nx.join)(e,"venv")),e;}async function tt(){if(void 0!==process.env.PIPX_BIN_DIR)return process.env.PIPX_BIN_DIR;let e=C("~/.local/bin");return await F(e),await sW(e),e;}async function tr(){let e=(await eG(e3("python",void 0,await sL()),"",process.arch)).bin;if(void 0===e)throw Error("Python binary was not found");return e;}async function tn(e,t){return 0===(await D(e,["-m","pip","-qq","index","versions",t],{stdio:"ignore",reject:!1})).exitCode;}async function ti(e,t){let r=(await Promise.all(e.map(e=>(0,nw.pathExists)((0,nx.join)(e,(0,nx.addExeExt)(t)))))).findIndex(e=>e);if(-1!==r)return e[r];let n=p(rP).sync((0,nx.addExeExt)(t),{nothrow:!0});return null!==n?(0,nx.dirname)(n):e[e.length-1];}function to(e,t=!0){if("linux"===process.platform){if((0,ng.info)(`Installing ${e} via the system package manager`),ea())return ed(t?"python-"+e:e);if(es())return el([{name:t?"python3-"+e:e}]);if(ec())return H([{name:t?"python3-"+e:e}]);}return null;}async function ta(e,t,r){switch(process.platform){case"win32":return await eo("cppcheck",e),{binDir:await ts()};case"darwin":return en("cppcheck",e);case"linux":if(ea())return ed("cppcheck",e);if(es())return el([{name:"ccache",version:e}]);if(ec())return H([{name:"cppcheck",version:e}]);throw Error("Unsupported linux distribution");default:throw Error("Unsupported platform");}}async function ts(){let e="C:/Program Files/Cppcheck";return await F(e),e;}async function tl(e,t,r){switch(process.platform){case"win32":return await eo("graphviz",e),tu();case"darwin":return en("graphviz",e);case"linux":if(ea())return ed("graphviz",e);if(es())return el([{name:"graphviz",version:e}]);if(ec())return H([{name:"graphviz",version:e}]);throw Error("Unsupported linux distribution");default:throw Error("Unsupported platform");}}async function tu(){if("win32"===process.platform){let e="C:/Program Files/Graphviz/bin";return await F(e),{binDir:e};}throw Error("Unsupported platform");}function tc(e){let t=null,r=null,n=[],i=new nY({locator:{},errorHandler:{warning(e){},error(e){n.push(e);},fatalError(e){n.push(e);}}}).parseFromString(e,"text/xml");if(n.length)throw Error("XML decode error: "+n[0]);let{childNodes:o}=i,a=i.documentElement||null;for(let e=0,n=o.length;n>e;e++){let n=o[e];if(n===a)break;let i=n.toString();/^<\?xml[^>]*\?>$/.test(i)&&(t=i),/^<!DOCTYPE[^>]*>$/.test(i)&&(r=i);}if(!a)throw Error("XML decode error: No document element");return{declaration:t,doctype:r,documentElement:a};}function tp(e){let{childNodes:t}=e,r=[];for(let n=0,i=t.length;i>n;n++){let i=t[n];if("tagName"in i){r.push(i);continue;}let{nodeValue:o}=i;if(o&&!/^\s*$/.test(o))throw Error("Found text children of: "+e.tagName);}return r;}function td(e){let{childNodes:t}=e,r=null;for(let n=0,i=t.length;i>n;n++){if(n)throw Error("Multiple child elements in: "+e.tagName);let i=t[n];if(!("tagName"in i)&&"data"in i&&"nodeValue"in i)r=i;else throw Error("Unexpected child element in: "+e.tagName);}return r;}function tf(e,t){if(e.tagName!==t)throw Error("Unexpected tagName: "+t);}function th(e){let t=e.length,r="";for(let n=0;t>n;){let i=e[n++],o=t>n?e[n++]:null,a=t>n?e[n++]:null,s=i<<16|(o||0)<<8|(a||0);r+=s3[s>>18]+s3[s>>12&s1]+s3[null===o?64:s>>6&s1]+s3[null===a?64:s&s1];}return r;}function tm(e){if("number"==typeof e&&!Number.isInteger(e))throw Error("Value not an integer: "+e);}async function tg(e,t){let r=new lo(),{devices:n,eject:i}=await r.attach(e),o=n[0];await I("cp",["-R",`${o.mountPoint}/`,t]),await i();}function tv(e,t,r){switch(t){case"linux":{let t="doxygen-"+e;return{binRelativeDir:"bin/",binFileName:(0,nx.addExeExt)("doxygen"),extractedFolderName:t,extractFunction:nS.extractTar,url:`https://www.doxygen.nl/files/${t}.linux.bin.tar.gz`};}case"win32":{let t="doxygen-"+e;return{binRelativeDir:"",binFileName:(0,nx.addExeExt)("doxygen"),extractedFolderName:t,extractFunction:eR,url:`https://www.doxygen.nl/files/${t}.windows.x64.bin.zip`};}case"darwin":{let t="Doxygen-"+e;return{binRelativeDir:"bin/",binFileName:(0,nx.addExeExt)("doxygen"),extractedFolderName:t,extractFunction:tg,url:`https://doxygen.nl/files/${t}.dmg`};}default:throw Error(`Unsupported platform '${t}'`);}}async function tE(e,t,r){switch(process.platform){case"win32":{await p(nF)(()=>eo("doxygen.install",e),{name:"doxygen.install",max:4,backoffBase:2e3,report:e=>(0,rO.info)(e)});let t=await tw();return await tl(e3("graphviz",void 0),"",r),{binDir:t};}case"darwin":{let n;try{n=await eS("doxygen",e,tv,t,r);}catch{n=await en("doxygen",void 0);}return s0()[0]>11&&(await tl(e3("graphviz",void 0),"",r)),n;}case"linux":{let n;if(""===e||ea()||es()){if(ea())n=await ed("doxygen",e);else if(es())return el([{name:"doxygen",version:e}]);else if(ec())n=await H([{name:"doxygen",version:e}]);else throw Error("Unsupported linux distributions");}else if(ec())try{n=await eS("doxygen",e,tv,t,r);try{await H([{name:"libclang-cpp9"}]);}catch(e){(0,rO.info)("Failed to download libclang-cpp9 that might be needed for running doxygen. "+e);}}catch(e){(0,rO.notice)(`Failed to download doxygen binary. ${e}. Falling back to apt-get.`),n=await H([{name:"doxygen"}]);}else throw Error("Unsupported linux distributions");return await tl(e3("graphviz",void 0,await sL()),"",r),n;}default:throw Error("Unsupported platform");}}async function tw(){if("win32"===process.platform){for(let e of["C:/ProgramData/chocolatey/bin","C:/Program Files/doxygen/bin","C:/Program Files (x86)/doxygen"])if(await(0,nw.pathExists)((0,nx.join)(e,"doxygen.exe")))return await F(e),e;throw Error("Failed to find doxygen binary");}throw Error("Unsupported platform");}async function ty(){if("darwin"===process.platform)try{let e=await(0,nC.getExecOutput)("xcrun --sdk macosx --show-sdk-path"),t=e.stdout||e.stderr;t?await M("SDKROOT",t.trim()):(0,rO.error)("SDKROOT not set");}catch(e){(0,rO.error)(e);}}function tb(e,t,r){if("win32"===t){let t=la[e];if(void 0===t)throw Error(`mingw version ${e} is not supported`);return{binRelativeDir:"bin/",binFileName:(0,nx.addExeExt)("g++"),extractedFolderName:"mingw64",extractFunction:eN,url:`https://github.com/brechtsanders/winlibs_mingw/releases/download/${t.releaseName}/winlibs-${"ia32"===r?"i686":"x86_64"}-posix-seh-gcc-${t.fileSuffix}.7z`};}throw Error(`Unsupported platform '${t}'`);}async function tx(e,t,r,n=40){let i;switch(process.platform){case"win32":("arm"===r||"arm64"===r)&&(await eo("gcc-arm-embedded",e));try{i=await eS("g++",e,tb,t,r);}catch(t){(0,rO.info)(`Failed to download g++ binary. ${t}. Falling back to chocolatey.`),i=await tS(e,r);}break;case"darwin":i=await en("gcc",e);break;case"linux":"x64"===r?ea()?i=await ed("gcc",e):es()?i=await el([{name:"gcc",version:e},{name:"gcc-c++",version:e},{name:"libstdc++-devel"}]):ec()&&(i=await H([{name:"gcc",version:e,repositories:["ppa:ubuntu-toolchain-r/test"]},{name:"g++",version:e,repositories:["ppa:ubuntu-toolchain-r/test"]}])):((0,rO.info)(`Install g++-multilib because gcc for ${r} was requested`),ea()?await ed("gcc-multilib",e):ec()&&(await H([{name:"gcc-multilib",version:e,repositories:["ppa:ubuntu-toolchain-r/test"]}])));break;default:throw Error("Unsupported platform for "+r);}if(void 0!==i)return await tT(e,i.binDir,n),i;}async function tD(e,t,r){let n;switch(process.platform){case"win32":case"darwin":return tx(e,t,r);case"linux":ea()?n=await ed("mingw-w64-gcc",e):es()?n=await el([{name:"mingw64-gcc",version:e}]):ec()&&(n=await H([{name:"mingw-w64",version:e,repositories:["ppa:ubuntu-toolchain-r/test"]}]));break;default:throw Error("Unsupported platform for "+r);}if(void 0!==n)return n;}async function tS(e,t){var r,n;let i;if(await eo("mingw",e),"x64"===t&&(await(0,nw.pathExists)("C:/tools/mingw64/bin"))?(i="C:/tools/mingw64/bin",await F(i)):"ia32"===t&&(await(0,nw.pathExists)("C:/tools/mingw32/bin"))?(i="C:/tools/mingw32/bin",await F(i)):(await(0,nw.pathExists)(`${null!==(r=process.env.ChocolateyInstall)&&void 0!==r?r:"C:/ProgramData/chocolatey"}/bin/g++.exe`))&&(i=`${null!==(n=process.env.ChocolateyInstall)&&void 0!==n?n:"C:/ProgramData/chocolatey"}/bin`),void 0!==i)return{binDir:i};}async function tT(e,t,r=40){let n=[];if("win32"===process.platform)n.push(M("CC",(0,nx.addExeExt)(`${t}/gcc`)),M("CXX",(0,nx.addExeExt)(`${t}/g++`)));else{var i;let o=p(nK)(null!==(i=p(nM)(e))&&void 0!==i?i:e);o>=5?(n.push(M("CC",`${t}/gcc-${o}`),M("CXX",`${t}/g++-${o}`)),ec()&&n.push(Z("cc",`${t}/gcc-${o}`,r),Z("cxx",`${t}/g++-${o}`,r),Z("gcc",`${t}/gcc-${o}`,r),Z("g++",`${t}/g++-${o}`,r))):(n.push(M("CC",`${t}/gcc-${e}`),M("CXX",`${t}/g++-${e}`)),ec()&&n.push(Z("cc",`${t}/gcc-${e}`,r),Z("cxx",`${t}/g++-${e}`,r),Z("gcc",`${t}/gcc-${e}`,r),Z("g++",`${t}/g++-${e}`,r)));}n.push(ty()),rR.GITHUB_ACTIONS&&(await tN()),await Promise.all(n);}async function tN(){let e=(0,nx.join)(nQ,"gcc_matcher.json");if(!(await(0,nw.pathExists)(e)))return(0,rO.warning)("the gcc_matcher.json file does not exist in the same folder as setup-cpp.js");(0,rO.info)("::add-matcher::"+e);}function tI(e,t,r){let n=function(e){switch(e){case"win32":return"win";case"darwin":return"mac";case"linux":return"linux";default:throw Error(`Unsupported platform '${e}'`);}}(t);return{binRelativeDir:"",binFileName:(0,nx.addExeExt)("ninja"),extractedFolderName:"",extractFunction:eR,url:`https://github.com/ninja-build/ninja/releases/download/v${e}/ninja-${n}.zip`};}function tA(e,t,r){return eS("ninja",e,tI,t,r);}function tR(e){return{url:`https://github.com/SimonKagstrom/kcov/releases/download/${e}/kcov-amd64.tar.gz`,extractedFolderName:"",binRelativeDir:"usr/local/bin",binFileName:(0,nx.addExeExt)("kcov"),extractFunction:eO};}function tO(e){return{url:`https://github.com/SimonKagstrom/kcov/archive/refs/tags/${e}.tar.gz`,extractedFolderName:"",binRelativeDir:"build/src",binFileName:(0,nx.addExeExt)("kcov"),extractFunction:tC};}async function tC(e,t){let r=await eO(e,t,["--strip-components=1"]),n=await t_();"linux"===process.platform&&(ea()?await Promise.all([ed("libdwarf"),ed("libcurl-openssl")]):es()?await el([{name:"libdwarf-devel"},{name:"libcurl-devel"}]):ec()&&(await H([{name:"libdw-dev"},{name:"libcurl4-openssl-dev"}])));try{if(null!==p(rP).sync("patch",{nothrow:!0})){let e=(0,nx.join)(nJ,"gcc13.patch");await D("patch",["-N","-p1","-i",e],{cwd:r,stdio:"inherit"});}else(0,rO.info)("`patch` not found, skipping gcc13.patch, kcov may not build on gcc 13");}catch{}let i=(0,nx.join)(r,"build");return await D(n,["-S",r,"-B",i,"-DCMAKE_BUILD_TYPE=Release","-G","Ninja"],{cwd:r,stdio:"inherit"}),await D(n,["--build",i,"--config","Release"],{cwd:r,stdio:"inherit"}),r;}async function t_(){let e=p(rP).sync("cmake",{nothrow:!0});if(null===e){let{binDir:t}=await e_(e3("cmake",void 0,await sL()),(0,nx.join)(C("~"),"cmake"),"");e=(0,nx.join)(t,"cmake");}return null===p(rP).sync("ninja",{nothrow:!0})&&(await tA(e3("ninja",void 0,await sL()),(0,nx.join)(C("~"),"ninja"),"")),e;}async function t$(e,t,r){var n;let i;if("linux"!==process.platform){(0,rO.info)("Kcov is not supported on non-linux");return;}let o=e.split("-"),a=(n=o[0]).match(/^v/)?n:"v"+n,s=o[1],l=parseInt(a.replace(/^v/,""),10);return 38===l&&(a="v38"),"binary"===s&&l>=39?(i=await eS("kcov",a,tR,t,r),ea()?await ed("binutils"):es()?await el([{name:"binutils"}]):ec()&&(await H([{name:"libbinutils"}]))):i=await eS("kcov",a,tO,t,r),i;}function tL(e){if(Object.values(lp).includes(e));else if(e in lp)return lp[e];return e;}function tP(e){let t;let r=tL(e);if(r){let e=r.split(".")[0]+".9";t=`-version "${r},${e}"`;}else t="-latest";let n=function(e,t){try{return ru.execSync(`vswhere -products * ${t} -prerelease -property installationPath`).toString().trim()+"\\"+e;}catch(e){ng.warning("vswhere failed: "+e);}return null;}("VC\\Auxiliary\\Build\\vcvarsall.bat",t);if(n&&n8.existsSync(n))return ng.info("Found with vswhere: "+n),n;ng.info("Not found with vswhere");let i=e?[function(e){if(Object.keys(lp).includes(e));else for(let[t,r]of Object.entries(lp))if(r===e)return t;return e;}(e)]:lc;for(let e of ll)for(let t of i)for(let r of lu)if(n=`${e}\\Microsoft Visual Studio\\${t}\\${r}\\VC\\Auxiliary\\Build\\vcvarsall.bat`,ng.info("Trying standard location: "+n),n8.existsSync(n))return ng.info("Found standard location: "+n),n;if(ng.info("Not found in standard locations"),n=`${ls}\\Microsoft Visual C++ Build Tools\\vcbuildtools.bat`,n8.existsSync(n))return ng.info("Found VS 2015: "+n),n;throw ng.info("Not found in VS 2015 location: "+n),Error("Microsoft Visual Studio not found");}async function tk(e,t,r,n,i,o,a){void 0!==t&&(await(0,nw.pathExists)(t))&&((0,rO.info)(`Adding ${t} to PATH`),await M("VCTargetsPath",t)),n1(function(e){switch(e){case"x32":case"32":case"ia32":return"x86";case"64":return"x64";default:return e;}}(r),i,n,o,a,e);}async function tU(e,t,r,n,i,o,a,s=lv){(0,ng.startGroup)(`Installing ${e} ${t}`);let l=!1;try{l=await function(e,t){let r;let{milliseconds:n,fallback:i,message:o,customTimers:a={setTimeout:setTimeout,clearTimeout:clearTimeout}}=t,s=new Promise((s,l)=>{if("number"!=typeof n||1!==Math.sign(n))throw TypeError(`Expected \`milliseconds\` to be a positive number, got \`${n}\``);if(t.signal){let{signal:e}=t;e.aborted&&l(lg(e)),e.addEventListener("abort",()=>{l(lg(e));});}if(n===Number.POSITIVE_INFINITY){e.then(s,l);return;}let u=new lf();r=a.setTimeout.call(void 0,()=>{if(i){try{s(i());}catch(e){l(e);}return;}"function"==typeof e.cancel&&e.cancel(),!1===o?s():o instanceof Error?l(o):(u.message=null!=o?o:`Promise timed out after ${n} milliseconds`,l(u));},n),(async()=>{try{s(await e);}catch(e){l(e);}})();}).finally(()=>{s.clear();});return s.clear=()=>{a.clearTimeout.call(void 0,r),r=void 0;},s;}(tM(e,t,r,n,l,i,o),{milliseconds:s,message:`Timeout while installing ${e} ${t}. You can increase the timeout from options`});}catch(t){(0,rO.error)(t),a.push(`${e} failed to install`);}return(0,ng.endGroup)(),l;}async function tM(e,t,r,n,i,o,a){let s;if("vcvarsall"===e)await tk(e3(e,t,r),void 0,n,void 0,void 0,!1,!1);else{let a=lC[e];i=["llvm","clangformat","clangtidy"].includes(e);let l=(0,nx.join)(o,i?"llvm":e);s=await a(e3(e,t,r),l,n);}return a.push(t7(e,s)),i;}async function tF(e,t=0){let r="/usr/lib/llvm-"+e;await H([{name:"curl"}]),await D("curl",["-LJO","https://apt.llvm.org/llvm.sh"],{cwd:"/tmp"});let n=await tj("/tmp/llvm.sh","/tmp/llvm-setup-cpp.sh",e,t);return await H(n),await ly("/tmp/llvm-setup-cpp.sh","755"),await I("bash",["/tmp/llvm-setup-cpp.sh",""+e,...(0===t?["all"]:[])],{stdio:"inherit",shell:!0,timeout:lv}),await F(`${r}/bin`),{installDir:""+r,binDir:`${r}/bin`,bin:`${r}/bin/clang++`};}async function tj(e,t,r,n){var i,o,a,s,l;let u=await lE(e,"utf-8");return o=n,a=u=(i=u,u=process.env.NODE_DEBUG?i:i.replace(/set -eux/g,"set -eu")).replace(/add-apt-repository "\${REPO_NAME}"/g,'add-apt-repository -y "${REPO_NAME}"'),s=r,u=1===o?a.replace(/ -y \$PKG/g," -y clang-format-"+s):a,l=u=await tq(u),u=z()?l.replace(/apt-get/g,"nala"):l,await lw(t,u),[{name:"lsb-release"},{name:"wget"},{name:"software-properties-common"},{name:"gnupg"}];}async function tq(e){let t=e.replace(/apt-get install -y/g,'apt-get install -o Dpkg::Options::="--force-overwrite" -y --fix-broken');return await Promise.all(["libc++-$LLVM_VERSION-dev","libc++abi-$LLVM_VERSION-dev","libunwind-$LLVM_VERSION-dev"].map(async e=>{let r=e.replace("$LLVM_VERSION","*");(await ee(r))&&((0,rD.info)("Removing conflicting package "+r),t=t.replace(e,""));})),t;}function tB(e,t,r){let n=`${t}${e}${r}`;return`https://github.com/llvm/llvm-project/releases/download/llvmorg-${e}/${n}`;}function tG(e,t,r){let n=`${t}${e}${r}`;return`https://releases.llvm.org/${e}/${n}`;}async function tH(e){let t;if(lx.has(e))return null;let r="LLVM-",n=p(nU)(e,"3.7.0")?"-win32.exe":"-win64.exe",i=p(nU)(e,"9.0.1"),o=!1;return i&&(t=tG(e,r,n),(await nH(t))||(o=!0)),(o||!i)&&(t=tB(e,r,n)),t;}function tV(e,t){switch(e){case"darwin":return function(e){if(lD.has(e))return null;let t="9.0.0"===e?"-darwin-apple":"-apple-darwin",r="clang+llvm-",n=`-x86_64${t}.tar.xz`;return p(nU)(e,"9.0.1")?tG(e,r,n):tB(e,r,n);}(t);case"linux":return function(e){let t,r,n=e,i=lS.get(n);if(void 0!==i&&(n=i),n.includes("ubuntu")){let e=n.replace(/-ubuntu-.*/,"");if(!lb.has(e))throw Error("Unsupported Ubuntu version: "+e);t=n.replace(e,""),n=eM(lb,e)[0];}else""!==n&&n in lT?t=lT[n]:(t=lT[lN],(0,rO.warning)(`Falling back to LLVM version ${lN} ${t} for the Ubuntu.`));let o="clang+llvm-";return(r="5.0.0"===n?`-linux-x86_64${t}.tar.xz`:t.includes("-rhel86")?`-x86_64-unknown-linux-gnu${t}.tar.xz`:`-x86_64-linux-gnu${t}.tar.xz`,p(nU)(n,"9.0.1"))?tG(n,o,r):tB(n,o,r);}(t);case"win32":return tH(t);default:return null;}}async function tX(e,t,r){let[n,i]=await eF(lb,t,e,tV);return(0,rO.info)("specific llvm version: "+n),{url:i,extractedFolderName:"",binRelativeDir:"bin",binFileName:(0,nx.addExeExt)("clang"),extractFunction:"win32"===t?eA:(e,t)=>eO(e,t,["--strip-components=1"])};}async function tz(e,t,r){var n;let i=await lI(e,t,r);return await tJ(null!==(n=i.installDir)&&void 0!==n?n:t),i;}async function tY(e,t,r){let[n,i,o]=await Promise.all([tW(e,t,r),lR(r),tZ()]);return n;}async function tW(e,t,r,n=n3.All){let i=parseInt(function(e){if(null===p(nX)(e))try{let t=p(nM)(e);if(null!==t)return(0,rO.info)(`Coerced version '${e}' to '${t}'`),t.version;}catch(e){}return e;}(e).split(".")[0],10);try{if(ec())return await tF(i,n);}catch(e){(0,rO.info)("Failed to install llvm via system package manager "+e);}let o=await eS("llvm",e,tX,t,r);return await lA(i),o;}async function tK(e){ec()&&(e<=10?await H([{name:"libtinfo5"}]):await H([{name:"libtinfo-dev"}]));}async function tQ(e){"linux"===process.platform&&(await tx(e3("gcc",void 0,await sL()),"",e,40));}async function tJ(e){var t,r;let n=null!==(t=process.env.LD_LIBRARY_PATH)&&void 0!==t?t:"",i=null!==(r=process.env.DYLD_LIBRARY_PATH)&&void 0!==r?r:"",o=[M("LLVM_PATH",e),M("LD_LIBRARY_PATH",`${e}/lib${n6.delimiter}${n}`),M("DYLD_LIBRARY_PATH",`${e}/lib${n6.delimiter}${i}`),M("LDFLAGS",`-L"${e}/lib"`),M("CPPFLAGS",`-I"${e}/include"`),M("CC",(0,nx.addExeExt)(`${e}/bin/clang`)),M("CXX",(0,nx.addExeExt)(`${e}/bin/clang++`)),M("LIBRARY_PATH",`${e}/lib`),ty()];ec()&&o.push(Z("cc",`${e}/bin/clang`,60),Z("cxx",`${e}/bin/clang++`,60),Z("clang",`${e}/bin/clang`),Z("clang++",`${e}/bin/clang++`),Z("lld",`${e}/bin/lld`),Z("ld.lld",`${e}/bin/ld.lld`),Z("llvm-ar",`${e}/bin/llvm-ar`)),await Promise.all(o);}async function tZ(){if(rR.GITHUB_ACTIONS){let e=(0,nx.join)(n2,"llvm_matcher.json");if(!(await(0,nw.pathExists)(e)))return(0,rO.warning)("the llvm_matcher.json file does not exist in the same folder as setup-cpp.js");(0,rO.info)("::add-matcher::"+e);}}async function t0(e,t,r){switch(process.platform){case"win32":return eo("make",e);case"darwin":return await en("make",e),await F("/usr/local/opt/make/libexec/gnubin"),{binDir:"/usr/local/opt/make/libexec/gnubin"};case"linux":if(ea())return ed("make",e);if(es())return el([{name:"make",version:e}]);if(ec())return H([{name:"make",version:e}]);throw Error("Unsupported linux distribution");default:throw Error("Unsupported platform");}}async function t1(e,t,r,n,i,o){let a,s;if("win32"!==process.platform)return;let l=nZ(e);(0,rO.info)(`Checking if MSVC ${l} is already installed`);let u=!1;try{let e=n0(l);u=!0,(0,rO.info)("Found the pre-installed version of MSVC at "+e);}catch{}if(!u)try{"14.0"===l?(a="14.0",await eo("visualcpp-build-tools","14.0.25420.1",["--ignore-dependencies"]),s="C:/Program Files (x86)/MSBuild/Microsoft.Cpp/v4.0/v140"):"15.0"===l?(a="14.16",await eo("visualstudio2017buildtools","15.9.41.0",[]),s="C:/Program Files (x86)/Microsoft Visual Studio/2017/BuildTools/VC/Tools/MSVC/14.16"):"16.0"===l?(a="14.29",await eo("visualstudio2019buildtools","16.11.7.0",[]),s="C:/Program Files (x86)/Microsoft Visual Studio/2019/BuildTools/VC/Tools/MSVC/14.29.30133"):"17.0"===l?(a=void 0,await eo("visualstudio2022buildtools","117.0.5.0",[]),s=void 0):(0,rO.error)(`The given MSVC versions ${e} is not supported yet.`);}catch(e){(0,rO.error)(e);}await tk(l,s,r,a,n,i,o),rR.GITHUB_ACTIONS&&(await t3());}async function t3(){let e=(0,nx.join)(n4,"msvc_matcher.json");if(!(await(0,nw.pathExists)(e)))return(0,rO.warning)("the msvc_matcher.json file does not exist in the same folder as setup-cpp.js");(0,rO.info)("::add-matcher::"+e);}async function t2(e,t,r){if(!ec())return;if("string"==typeof a)return{binDir:a};let n=p(rP).sync("nala",{nothrow:!0});if(null!==n)return{binDir:a=(0,nx.dirname)(n)};let i=await J("volian-archive-scar-unstable.gpg","https://deb.volian.org/volian/scar.key");N("/bin/bash",["-c",`echo "deb [signed-by=${i}] http://deb.volian.org/volian/ scar main" | tee /etc/apt/sources.list.d/volian-archive-scar-unstable.list`]);try{"legacy"!==e?await H([{name:"nala"}],!0):await H([{name:"nala-legacy"}],!0);}catch(e){await H([{name:"nala-legacy"}],!0);}return{binDir:a="/usr/bin"};}async function t4(e,t,r){if("win32"===process.platform)return await eo("opencppcoverage",e),{binDir:await t5()};}async function t5(){let e="C:/Program Files/OpenCppCoverage";return await F(e),e;}async function t6(e,t,r){switch(process.platform){case"win32":{await eo("powershell-core",e);let t="C:/Program Files/PowerShell/7";return await F(t),{binDir:t};}case"darwin":return en("powershell",e,["--cask"]);case"linux":if(ea())return ed("powershell-bin",e,"yay");if(es())return el([{name:"curl"}]),N("/bin/bash",["-c","curl https://packages.microsoft.com/config/rhel/8/prod.repo | sudo tee /etc/yum.repos.d/microsoft.repo"]),el([{name:"powershell",version:e}]);if(ec()){await H([{name:"curl"}]);let t=await sL(),r=`${t[0]}.0${t[1]}`;return N("curl",["-LJO",`https://packages.microsoft.com/config/ubuntu/${r}/packages-microsoft-prod.deb`]),N("dpkg",["-i","packages-microsoft-prod.deb"]),H([{name:"powershell",version:e}],!0);}throw Error("Unsupported linux distribution");default:throw Error("Unsupported platform");}}function t8(e,t,r){var n;let i="win32"===(n=t)?"windows":n,o=function(e){switch(e){case"x64":return"amd64";case"ia32":case"x86":case"i386":case"x32":return"386";default:return e;}}(r),a="win32"===t;return{binRelativeDir:"",binFileName:(0,nx.addExeExt)("task"),extractedFolderName:"",extractFunction:a?eR:eO,url:`https://github.com/go-task/task/releases/download/v${e}/task_${i}_${o}.${a?"zip":"tar.gz"}`};}async function t9(e,t,r){return lO&&null!==p(rP).sync("vcpkg",{nothrow:!0})?{binDir:(0,nx.dirname)(p(rP).sync("vcpkg"))}:("linux"===process.platform&&(ea()?await Promise.all([ed("curl"),ed("zip"),ed("unzip"),ed("tar"),ed("git"),ed("pkg-config")]):es()?await el([{name:"curl"},{name:"zip"},{name:"unzip"},{name:"tar"},{name:"git"},{name:"pkg-config"}]):ec()&&(await H([{name:"curl"},{name:"zip"},{name:"unzip"},{name:"tar"},{name:"git"},{name:"pkg-config"}]))),(await(0,nw.pathExists)((0,nx.join)(t,(0,nx.addShExt)("bootstrap-vcpkg",".bat"))))?(0,rO.notice)(`Vcpkg folder already exists at ${t}. This might mean that ~/vcpkg is restored from the cache.`):S("git",["clone","https://github.com/microsoft/vcpkg"],{cwd:(0,nx.dirname)(t),stdio:"inherit"}),S((0,nx.addShExt)((0,nx.addShRelativePrefix)("bootstrap-vcpkg"),".bat"),{cwd:t,shell:!0,stdio:"inherit"}),await O(t),await F(t),lO=!0,{binDir:t});}function t7(e,t){let r=`\u{2705} ${e} was installed successfully:`;return void 0===t||("installDir"in t&&(r+="\n- The installation directory is "+t.installDir),""!==t.binDir&&(r+="\n- The binary directory is "+t.binDir)),r;}async function re(e,t,r,n,i,o,a){try{let{compiler:s,version:l}=function(e){let t=e.split("-"),r=t[0];if(1 in t){let e=t[1];return null!==p(nX)(e)||(0,rO.info)(`Invalid semver version ${e} used for the compiler.`),{compiler:r,version:e};}return{compiler:r,version:void 0};}(e);switch((0,ng.startGroup)(`Installing ${s} ${null!=l?l:""}`),s){case"llvm":case"clang":case"clang++":{let e=await tz(e3("llvm",l,t),(0,n6.join)(r,"llvm"),n);await M("GCOV","llvm-cov gcov"),i.push(t7("llvm",e));break;}case"gcc":case"mingw":case"cygwin":case"msys":{let e="mingw"===s?e3("mingw",l,t):e3("gcc",l,t),a="mingw"===s?await tD(e,(0,n6.join)(r,"gcc"),n):await tx(e,(0,n6.join)(r,"gcc"),n);o&&(await M("CPPFLAGS","")),await function(e){let t=p(nX)(e),r=null!==t?p(nK)(t):e;return M("GCOV",""!==r?"gcov-"+r:"gcov");}(e),i.push(t7("gcc",a));break;}case"cl":case"msvc":case"msbuild":case"vs":case"visualstudio":case"visualcpp":case"visualc++":{let e=await t1(e3("msvc",l,t),(0,n6.join)(r,"msvc"),n);o&&(await M("CPPFLAGS","")),i.push(t7("msvc",e));break;}case"appleclang":case"applellvm":(0,ng.notice)("Assuming apple-clang is already installed"),await Promise.all([M("CC","clang"),M("CXX","clang++")]),i.push(t7("apple-clang",void 0));break;default:a.push("Unsupported compiler "+s);}}catch(t){(0,rO.error)(t),a.push("Failed to install the "+e);}(0,ng.endGroup)();}async function rt(e){var t,r,n;let i,o,a=Promise.resolve();rR.GITHUB_ACTIONS||(a=L(),process.env.ACTIONS_ALLOW_UNSECURE_COMMANDS="true");let s=function(e,t){t=t||{};var r,n,i,o,a,s={_:[]},l=0,u=0,c=0,p=(e=e||[]).length;let d=void 0!==t.alias,f=void 0!==t.unknown,h=void 0!==t.default;if(t.alias=t.alias||{},t.string=P(t.string),t.boolean=P(t.boolean),d)for(r in t.alias)for(l=0,n=t.alias[r]=P(t.alias[r]);l<n.length;l++)(t.alias[n[l]]=n.concat(r)).splice(l,1);for(l=t.boolean.length;l-->0;)for(u=(n=t.alias[t.boolean[l]]||[]).length;u-->0;)t.boolean.push(n[u]);for(l=t.string.length;l-->0;)for(u=(n=t.alias[t.string[l]]||[]).length;u-->0;)t.string.push(n[u]);if(h){for(r in t.default)if(o=typeof t.default[r],n=t.alias[r]=t.alias[r]||[],void 0!==t[o])for(t[o].push(r),l=0;l<n.length;l++)t[o].push(n[l]);}let m=f?Object.keys(t.alias):[];for(l=0;p>l;l++){if("--"===(i=e[l])){s._=s._.concat(e.slice(++l));break;}for(u=0;u<i.length&&45===i.charCodeAt(u);u++);if(0===u)s._.push(i);else if("no-"===i.substring(u,u+3)){if(o=i.substring(u+3),f&&!~m.indexOf(o))return t.unknown(i);s[o]=!1;}else{for(c=u+1;c<i.length&&61!==i.charCodeAt(c);c++);for(o=i.substring(u,c),a=i.substring(++c)||l+1===p||45===(""+e[l+1]).charCodeAt(0)||e[++l],n=2===u?[o]:o,c=0;c<n.length;c++){if(o=n[c],f&&!~m.indexOf(o))return t.unknown("-".repeat(u)+o);!function(e,t,r,n){var i,o=e[t],a=~n.string.indexOf(t)?null==r||!0===r?"":r+"":"boolean"==typeof r?r:~n.boolean.indexOf(t)?"false"!==r&&("true"===r||(e._.push(0*(i=+r)==0?i:r),!!r)):0*(i=+r)==0?i:r;e[t]=null==o?a:Array.isArray(o)?o.concat(a):[o,a];}(s,o,c+1<n.length||a,t);}}}if(h)for(r in t.default)void 0===s[r]&&(s[r]=t.default[r]);if(d)for(r in s)for(n=t.alias[r]||[];n.length>0;)s[n.shift()]=s[r];return s;}(e,{string:[...l$,"timeout"],default:Object.fromEntries(l$.map(e=>[e,function(e){let t=(0,ng.getInput)(e.toLowerCase());if("false"!==t&&""!==t)return t;}(e)])),alias:{h:"help"},boolean:"help"});s.help&&((0,rO.info)(`
setup-cpp [options]
setup-cpp --compiler llvm --cmake true --ninja true --ccache true --vcpkg true
Install all the tools required for building and testing C++/C projects.
--architecture the cpu architecture to install the tools for. By default it uses the current CPU architecture.
--timeout the timeout for the installation of each tool in minutes. By default it is 10 minutes.
--compiler the <compiler> to install.
You can specify the version instead of specifying just the name e.g: --compiler 'llvm-13.0.0'
--$tool_name pass "true" or pass the <version> you would like to install for this tool. e.g. --conan true or --conan "1.42.1"
All the available tools:
`),console.table({"compiler and analyzer":{tools:"--llvm, --gcc, --msvc, --vcvarsall, --cppcheck, --clangtidy, --clangformat"},"build system":{tools:"--cmake, --ninja, --meson, --make, --task, --bazel"},"package manager":{tools:"--vcpkg, --conan, --choco, --brew, --nala"},cache:{tools:"--cppcache, --sccache"},documentation:{tools:"--doxygen, --graphviz"},coverage:{tools:"--gcovr, --opencppcoverage, --kcov"},other:{tools:"--python, --powershell, --sevenzip"}},["tools"]));let l=null!==(t=s.architecture)&&void 0!==t?t:process.arch,u=null!==(r=process.env.SETUP_CPP_DIR)&&void 0!==r?r:C("~"),c=[],d=[],f=r$.create({autoloadLocales:!0});r$.addLocale(p(rL)),rC.addLocale(p(r_));let h=await sL();if(!function(e,t){let r=t.filter(t=>void 0!==e[t]),n=r.filter(t=>!e2(e[t])),i=n.length>=1?e[n[0]]:"true";return!n.some(t=>e[t]!==i)&&(r.forEach(t=>{e[t]=i;}),!0);}(s,["llvm","clangtidy","clangformat"]))return(0,rO.error)("The same version must be used for llvm, clangformat and clangtidy"),1;ea()&&"string"==typeof s.cppcheck&&"string"==typeof s.gcovr&&((0,rO.info)("installing python-pygments to avoid conflicts with cppcheck and gcovr on Arch linux"),await ed("python-pygments"));let m=!1,g=!1;for(let e of l_){if(rR.isCI&&0!==d.length){g=!0;break;}let t=s[e];void 0!==t&&(i=Date.now(),m=await tU(e,t,h,l,u,c,d,6e4*parseFloat(null!==(n=s.timeout)&&void 0!==n?n:"20")),o=Date.now(),(0,rO.info)("took "+(f.format(i,o)||"0 seconds")));}if(!g){let e=s.compiler;if(void 0!==e){let t=Date.now();await re(e,h,u,l,c,m,d);let r=Date.now();(0,rO.info)("took "+(f.format(t,r)||"0 seconds"));}}if(await G(),0===c.length&&0===d.length)return(0,rO.warning)("setup-cpp was called without any arguments. Nothing to do."),0;if(c.forEach(e=>(0,rO.success)(e)),d.forEach(e=>(0,rO.error)(e)),(0,rO.info)("setup-cpp finished"),!rR.GITHUB_ACTIONS)switch(process.platform){case"win32":(0,rO.warning)("Run `RefreshEnv.cmd` or restart your shell to update the environment.");break;case"linux":case"darwin":(0,rO.warning)("Run `source ~/.cpprc` or restart your shell to update the environment.");}return await a,0===d.length?0:1;}var rr,rn,ri,ro,ra,rs,rl,ru,rc,rp,rd,rf,rh,rm,rg,rv,rE,rw,ry,rb,rx,rD,rS,rT,rN,rI,rA,rR,rO,rC,r_,r$,rL,rP,rk,rU,rM,rF,rj,rq,rB,rG,rH,rV,rX,rz,rY,rW,rK,rQ,rJ,rZ,r0,r1,r3,r2,r4,r5,r6,r8,r9,r7,ne,nt,nr,nn,ni,no,na,ns,nl,nu,nc,np,nd,nf,nh,nm,ng,nv,nE,nw,ny,nb,nx,nD,nS,nT,nN,nI,nA,nR,nO,nC,n_,n$,nL,nP,nk,nU,nM,nF,nj,nq,nB,nG,nH,nV,nX,nz,nY,nW,nK,nQ,nJ,nZ,n0,n1,n3,n2,n4,n5=require("os"),n6=require("path"),n8=require("fs"),n9=require("crypto"),n7=require("http"),ie=require("https");require("net"),ri=require("tls"),ro=require("events"),ra=require("assert"),rs=require("util"),rl=require("fs"),ru=require("child_process"),rc=require("string_decoder"),rp=require("timers"),rd=require("buffer"),rf=require("path"),rh=require("child_process"),rm=require("process"),rg=require("url"),rv=require("os"),rE=require("buffer"),rw=require("stream"),ry=require("util"),rb=require("process"),rx=require("url"),rD=require("console"),rT={},rN={},null==(rI=(rS=globalThis).parcelRequire810d)&&((rI=function(e){if(e in rT)return rT[e].exports;if(e in rN){var t=rN[e];delete rN[e];var r={id:e,exports:{}};return rT[e]=r,t.call(r.exports,r,r.exports),r.exports;}var n=Error("Cannot find module '"+e+"'");throw n.code="MODULE_NOT_FOUND",n;}).register=function(e,t){rN[e]=t;},rS.parcelRequire810d=rI),(rA=rI.register)("dAuy6",function(e,t){var r;function n(e){return"string"==typeof e?!!i[e]:"env"in e?i[e.env]&&i[e.env].includes(e.includes):"any"in e?e.any.some(function(e){return!!i[e];}):Object.keys(e).every(function(t){return i[t]===e[t];});}r=rI("5vZJI");let i=process.env;Object.defineProperty(e.exports,"_vendors",{value:r.map(function(e){return e.constant;})}),e.exports.name=null,e.exports.isPR=null,r.forEach(function(t){let r=(Array.isArray(t.env)?t.env:[t.env]).every(function(e){return n(e);});if(e.exports[t.constant]=r,r)switch(e.exports.name=t.name,typeof t.pr){case"string":e.exports.isPR=!!i[t.pr];break;case"object":"env"in t.pr?e.exports.isPR=t.pr.env in i&&i[t.pr.env]!==t.pr.ne:"any"in t.pr?e.exports.isPR=t.pr.any.some(function(e){return!!i[e];}):e.exports.isPR=n(t.pr);break;default:e.exports.isPR=null;}}),e.exports.isCI=!!("false"!==i.CI&&(i.BUILD_ID||i.BUILD_NUMBER||i.CI||i.CI_APP_ID||i.CI_BUILD_ID||i.CI_BUILD_NUMBER||i.CI_NAME||i.CONTINUOUS_INTEGRATION||i.RUN_ID||e.exports.name));}),rA("5vZJI",function(e,t){e.exports=JSON.parse('[{"name":"Agola CI","constant":"AGOLA","env":"AGOLA_GIT_REF","pr":"AGOLA_PULL_REQUEST_ID"},{"name":"Appcircle","constant":"APPCIRCLE","env":"AC_APPCIRCLE"},{"name":"AppVeyor","constant":"APPVEYOR","env":"APPVEYOR","pr":"APPVEYOR_PULL_REQUEST_NUMBER"},{"name":"AWS CodeBuild","constant":"CODEBUILD","env":"CODEBUILD_BUILD_ARN"},{"name":"Azure Pipelines","constant":"AZURE_PIPELINES","env":"TF_BUILD","pr":{"BUILD_REASON":"PullRequest"}},{"name":"Bamboo","constant":"BAMBOO","env":"bamboo_planKey"},{"name":"Bitbucket Pipelines","constant":"BITBUCKET","env":"BITBUCKET_COMMIT","pr":"BITBUCKET_PR_ID"},{"name":"Bitrise","constant":"BITRISE","env":"BITRISE_IO","pr":"BITRISE_PULL_REQUEST"},{"name":"Buddy","constant":"BUDDY","env":"BUDDY_WORKSPACE_ID","pr":"BUDDY_EXECUTION_PULL_REQUEST_ID"},{"name":"Buildkite","constant":"BUILDKITE","env":"BUILDKITE","pr":{"env":"BUILDKITE_PULL_REQUEST","ne":"false"}},{"name":"CircleCI","constant":"CIRCLE","env":"CIRCLECI","pr":"CIRCLE_PULL_REQUEST"},{"name":"Cirrus CI","constant":"CIRRUS","env":"CIRRUS_CI","pr":"CIRRUS_PR"},{"name":"Codefresh","constant":"CODEFRESH","env":"CF_BUILD_ID","pr":{"any":["CF_PULL_REQUEST_NUMBER","CF_PULL_REQUEST_ID"]}},{"name":"Codemagic","constant":"CODEMAGIC","env":"CM_BUILD_ID","pr":"CM_PULL_REQUEST"},{"name":"Codeship","constant":"CODESHIP","env":{"CI_NAME":"codeship"}},{"name":"Drone","constant":"DRONE","env":"DRONE","pr":{"DRONE_BUILD_EVENT":"pull_request"}},{"name":"dsari","constant":"DSARI","env":"DSARI"},{"name":"Earthly","constant":"EARTHLY","env":"EARTHLY_CI"},{"name":"Expo Application Services","constant":"EAS","env":"EAS_BUILD"},{"name":"Gerrit","constant":"GERRIT","env":"GERRIT_PROJECT"},{"name":"Gitea Actions","constant":"GITEA_ACTIONS","env":"GITEA_ACTIONS"},{"name":"GitHub Actions","constant":"GITHUB_ACTIONS","env":"GITHUB_ACTIONS","pr":{"GITHUB_EVENT_NAME":"pull_request"}},{"name":"GitLab CI","constant":"GITLAB","env":"GITLAB_CI","pr":"CI_MERGE_REQUEST_ID"},{"name":"GoCD","constant":"GOCD","env":"GO_PIPELINE_LABEL"},{"name":"Google Cloud Build","constant":"GOOGLE_CLOUD_BUILD","env":"BUILDER_OUTPUT"},{"name":"Harness CI","constant":"HARNESS","env":"HARNESS_BUILD_ID"},{"name":"Heroku","constant":"HEROKU","env":{"env":"NODE","includes":"/app/.heroku/node/bin/node"}},{"name":"Hudson","constant":"HUDSON","env":"HUDSON_URL"},{"name":"Jenkins","constant":"JENKINS","env":["JENKINS_URL","BUILD_ID"],"pr":{"any":["ghprbPullId","CHANGE_ID"]}},{"name":"LayerCI","constant":"LAYERCI","env":"LAYERCI","pr":"LAYERCI_PULL_REQUEST"},{"name":"Magnum CI","constant":"MAGNUM","env":"MAGNUM"},{"name":"Netlify CI","constant":"NETLIFY","env":"NETLIFY","pr":{"env":"PULL_REQUEST","ne":"false"}},{"name":"Nevercode","constant":"NEVERCODE","env":"NEVERCODE","pr":{"env":"NEVERCODE_PULL_REQUEST","ne":"false"}},{"name":"Prow","constant":"PROW","env":"PROW_JOB_ID"},{"name":"ReleaseHub","constant":"RELEASEHUB","env":"RELEASE_BUILD_ID"},{"name":"Render","constant":"RENDER","env":"RENDER","pr":{"IS_PULL_REQUEST":"true"}},{"name":"Sail CI","constant":"SAIL","env":"SAILCI","pr":"SAIL_PULL_REQUEST_NUMBER"},{"name":"Screwdriver","constant":"SCREWDRIVER","env":"SCREWDRIVER","pr":{"env":"SD_PULL_REQUEST","ne":"false"}},{"name":"Semaphore","constant":"SEMAPHORE","env":"SEMAPHORE","pr":"PULL_REQUEST_NUMBER"},{"name":"Sourcehut","constant":"SOURCEHUT","env":{"CI_NAME":"sourcehut"}},{"name":"Strider CD","constant":"STRIDER","env":"STRIDER"},{"name":"TaskCluster","constant":"TASKCLUSTER","env":["TASK_ID","RUN_ID"]},{"name":"TeamCity","constant":"TEAMCITY","env":"TEAMCITY_VERSION"},{"name":"Travis CI","constant":"TRAVIS","env":"TRAVIS","pr":{"env":"TRAVIS_PULL_REQUEST","ne":"false"}},{"name":"Vela","constant":"VELA","env":"VELA","pr":{"VELA_PULL_REQUEST":"1"}},{"name":"Vercel","constant":"VERCEL","env":{"any":["NOW_BUILDER","VERCEL"]},"pr":"VERCEL_GIT_PULL_REQUEST_ID"},{"name":"Visual Studio App Center","constant":"APPCENTER","env":"APPCENTER_BUILD_ID"},{"name":"Woodpecker","constant":"WOODPECKER","env":{"CI":"woodpecker"},"pr":{"CI_BUILD_EVENT":"pull_request"}},{"name":"Xcode Cloud","constant":"XCODE_CLOUD","env":"CI_XCODE_PROJECT","pr":"CI_PULL_REQUEST_NUMBER"},{"name":"Xcode Server","constant":"XCODE_SERVER","env":"XCS"}]');}),rA("hHq4F",function(e,t){var r,n;function i(e){return n.GITHUB_ACTIONS?r.error(e):console.log(`\x1b[31m${e}\x1b[0m`);}function o(e){return console.log(`\x1b[32m${e}\x1b[0m`);}function a(e){return n.GITHUB_ACTIONS?r.warning(e):console.log(`\x1b[33m${e}\x1b[0m`);}function s(e){return n.GITHUB_ACTIONS?r.notice(e):console.log(`\x1b[94m${e}\x1b[0m`);}function l(e){return n.GITHUB_ACTIONS?r.info(e):console.log(e);}c(e.exports,"error",()=>i),c(e.exports,"success",()=>o),c(e.exports,"warning",()=>a),c(e.exports,"notice",()=>s),c(e.exports,"info",()=>l),r=rI("1o3Gj"),n=rI("dAuy6");}),rA("1o3Gj",function(e,t){var r,n,i,o,a,s,l,u,c,p,d,f;function h(e,t){let r=process.env["INPUT_"+e.replace(/ /g,"_").toUpperCase()]||"";if(t&&t.required&&!r)throw Error("Input required and not supplied: "+e);return t&&!1===t.trimWhitespace?r:r.trim();}function m(e,t={}){a.issueCommand("error",l.toCommandProperties(t),e instanceof Error?e.toString():e);}function g(e){a.issue("group",e);}function v(){a.issue("endgroup");}r=e.exports&&e.exports.__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];}),n=e.exports&&e.exports.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t});}:function(e,t){e.default=t;}),i=e.exports&&e.exports.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var i in e)"default"!==i&&Object.hasOwnProperty.call(e,i)&&r(t,e,i);return n(t,e),t;},o=e.exports&&e.exports.__awaiter||function(e,t,r,n){return new(r||(r=Promise))(function(i,o){function a(e){try{l(n.next(e));}catch(e){o(e);}}function s(e){try{l(n.throw(e));}catch(e){o(e);}}function l(e){var t;e.done?i(e.value):((t=e.value)instanceof r?t:new r(function(e){e(t);})).then(a,s);}l((n=n.apply(e,t||[])).next());});},Object.defineProperty(e.exports,"__esModule",{value:!0}),e.exports.getIDToken=e.exports.getState=e.exports.saveState=e.exports.group=e.exports.endGroup=e.exports.startGroup=e.exports.info=e.exports.notice=e.exports.warning=e.exports.error=e.exports.debug=e.exports.isDebug=e.exports.setFailed=e.exports.setCommandEcho=e.exports.setOutput=e.exports.getBooleanInput=e.exports.getMultilineInput=e.exports.getInput=e.exports.addPath=e.exports.setSecret=e.exports.exportVariable=e.exports.ExitCode=void 0,a=rI("1g3mY"),s=rI("8prV6"),l=rI("5nnws");let E=i(n5),w=i(n6);u=rI("dU1e3"),(f=c=e.exports.ExitCode||(e.exports.ExitCode={}))[f.Success=0]="Success",f[f.Failure=1]="Failure",e.exports.exportVariable=function(e,t){let r=l.toCommandValue(t);if(process.env[e]=r,process.env.GITHUB_ENV)return s.issueFileCommand("ENV",s.prepareKeyValueMessage(e,t));a.issueCommand("set-env",{name:e},r);},e.exports.setSecret=function(e){a.issueCommand("add-mask",{},e);},e.exports.addPath=function(e){process.env.GITHUB_PATH?s.issueFileCommand("PATH",e):a.issueCommand("add-path",{},e),process.env.PATH=`${e}${w.delimiter}${process.env.PATH}`;},e.exports.getInput=h,e.exports.getMultilineInput=function(e,t){let r=h(e,t).split("\n").filter(e=>""!==e);return t&&!1===t.trimWhitespace?r:r.map(e=>e.trim());},e.exports.getBooleanInput=function(e,t){let r=h(e,t);if(["true","True","TRUE"].includes(r))return!0;if(["false","False","FALSE"].includes(r))return!1;throw TypeError(`Input does not meet YAML 1.2 "Core Schema" specification: ${e}
Support boolean input list: \`true | True | TRUE | false | False | FALSE\``);},e.exports.setOutput=function(e,t){if(process.env.GITHUB_OUTPUT)return s.issueFileCommand("OUTPUT",s.prepareKeyValueMessage(e,t));process.stdout.write(E.EOL),a.issueCommand("set-output",{name:e},l.toCommandValue(t));},e.exports.setCommandEcho=function(e){a.issue("echo",e?"on":"off");},e.exports.setFailed=function(e){process.exitCode=c.Failure,m(e);},e.exports.isDebug=function(){return"1"===process.env.RUNNER_DEBUG;},e.exports.debug=function(e){a.issueCommand("debug",{},e);},e.exports.error=m,e.exports.warning=function(e,t={}){a.issueCommand("warning",l.toCommandProperties(t),e instanceof Error?e.toString():e);},e.exports.notice=function(e,t={}){a.issueCommand("notice",l.toCommandProperties(t),e instanceof Error?e.toString():e);},e.exports.info=function(e){process.stdout.write(e+E.EOL);},e.exports.startGroup=g,e.exports.endGroup=v,e.exports.group=function(e,t){return o(this,void 0,void 0,function*(){let r;g(e);try{r=yield t();}finally{v();}return r;});},e.exports.saveState=function(e,t){if(process.env.GITHUB_STATE)return s.issueFileCommand("STATE",s.prepareKeyValueMessage(e,t));a.issueCommand("save-state",{name:e},l.toCommandValue(t));},e.exports.getState=function(e){return process.env["STATE_"+e]||"";},e.exports.getIDToken=function(e){return o(this,void 0,void 0,function*(){return yield u.OidcClient.getIDToken(e);});},p=rI("dV9Cu"),Object.defineProperty(e.exports,"summary",{enumerable:!0,get:function(){return p.summary;}}),p=rI("dV9Cu"),Object.defineProperty(e.exports,"markdownSummary",{enumerable:!0,get:function(){return p.markdownSummary;}}),d=rI("9i0tI"),Object.defineProperty(e.exports,"toPosixPath",{enumerable:!0,get:function(){return d.toPosixPath;}}),Object.defineProperty(e.exports,"toWin32Path",{enumerable:!0,get:function(){return d.toWin32Path;}}),Object.defineProperty(e.exports,"toPlatformPath",{enumerable:!0,get:function(){return d.toPlatformPath;}});}),rA("1g3mY",function(e,t){var r,n,i,o;function a(e,t,r){let n=new l(e,t,r);process.stdout.write(n.toString()+s.EOL);}r=e.exports&&e.exports.__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];}),n=e.exports&&e.exports.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t});}:function(e,t){e.default=t;}),i=e.exports&&e.exports.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var i in e)"default"!==i&&Object.hasOwnProperty.call(e,i)&&r(t,e,i);return n(t,e),t;},Object.defineProperty(e.exports,"__esModule",{value:!0}),e.exports.issue=e.exports.issueCommand=void 0;let s=i(n5);o=rI("5nnws"),e.exports.issueCommand=a,e.exports.issue=function(e,t=""){a(e,{},t);};class l{constructor(e,t,r){e||(e="missing.command"),this.command=e,this.properties=t,this.message=r;}toString(){var e;let t="::"+this.command;if(this.properties&&Object.keys(this.properties).length>0){t+=" ";let e=!0;for(let r in this.properties)if(this.properties.hasOwnProperty(r)){let n=this.properties[r];n&&(e?e=!1:t+=",",t+=`${r}=${o.toCommandValue(n).replace(/%/g,"%25").replace(/\r/g,"%0D").replace(/\n/g,"%0A").replace(/:/g,"%3A").replace(/,/g,"%2C")}`);}}return t+("::"+(e=this.message,o.toCommandValue(e).replace(/%/g,"%25").replace(/\r/g,"%0D").replace(/\n/g,"%0A")));}}}),rA("5nnws",function(e,t){Object.defineProperty(e.exports,"__esModule",{value:!0}),e.exports.toCommandProperties=e.exports.toCommandValue=void 0,e.exports.toCommandValue=function(e){return null==e?"":"string"==typeof e||e instanceof String?e:JSON.stringify(e);},e.exports.toCommandProperties=function(e){return Object.keys(e).length?{title:e.title,file:e.file,line:e.startLine,endLine:e.endLine,col:e.startColumn,endColumn:e.endColumn}:{};};}),rA("8prV6",function(e,t){var r,n,i,o,a;r=e.exports&&e.exports.__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];}),n=e.exports&&e.exports.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t});}:function(e,t){e.default=t;}),i=e.exports&&e.exports.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var i in e)"default"!==i&&Object.hasOwnProperty.call(e,i)&&r(t,e,i);return n(t,e),t;},Object.defineProperty(e.exports,"__esModule",{value:!0}),e.exports.prepareKeyValueMessage=e.exports.issueFileCommand=void 0;let s=i(n8),l=i(n5);o=rI("1Un9O"),a=rI("5nnws"),e.exports.issueFileCommand=function(e,t){let r=process.env["GITHUB_"+e];if(!r)throw Error("Unable to find environment variable for file command "+e);if(!s.existsSync(r))throw Error("Missing file at path: "+r);s.appendFileSync(r,`${a.toCommandValue(t)}${l.EOL}`,{encoding:"utf8"});},e.exports.prepareKeyValueMessage=function(e,t){let r="ghadelimiter_"+o.default(),n=a.toCommandValue(t);if(e.includes(r))throw Error(`Unexpected input: name should not contain the delimiter "${r}"`);if(n.includes(r))throw Error(`Unexpected input: value should not contain the delimiter "${r}"`);return`${e}<<${r}${l.EOL}${n}${l.EOL}${r}`;};}),rA("1Un9O",function(e,t){var r,n,i;c(e.exports,"default",()=>i),r=rI("jyKkd"),n=rI("4DdbA"),i=function(e,t,i){let o=(e=e||{}).random||(e.rng||(0,r.default))();if(o[6]=15&o[6]|64,o[8]=63&o[8]|128,t){i=i||0;for(let e=0;e<16;++e)t[i+e]=o[e];return t;}return(0,n.default)(o);};}),rA("jyKkd",function(e,t){function r(){return i>n.length-16&&(p(n9).randomFillSync(n),i=0),n.slice(i,i+=16);}c(e.exports,"default",()=>r);let n=new Uint8Array(256),i=n.length;}),rA("4DdbA",function(e,t){var r,n;c(e.exports,"default",()=>n),r=rI("4XBHo");let i=[];for(let e=0;e<256;++e)i.push((e+256).toString(16).substr(1));n=function(e,t=0){let n=(i[e[t+0]]+i[e[t+1]]+i[e[t+2]]+i[e[t+3]]+"-"+i[e[t+4]]+i[e[t+5]]+"-"+i[e[t+6]]+i[e[t+7]]+"-"+i[e[t+8]]+i[e[t+9]]+"-"+i[e[t+10]]+i[e[t+11]]+i[e[t+12]]+i[e[t+13]]+i[e[t+14]]+i[e[t+15]]).toLowerCase();if(!(0,r.default)(n))throw TypeError("Stringified UUID is invalid");return n;};}),rA("4XBHo",function(e,t){var r,n;c(e.exports,"default",()=>n),r=rI("dcWu5"),n=function(e){return"string"==typeof e&&(0,r.default).test(e);};}),rA("dcWu5",function(e,t){c(e.exports,"default",()=>r);var r=/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i;}),rA("dU1e3",function(e,t){var r=e.exports&&e.exports.__awaiter||function(e,t,r,n){return new(r||(r=Promise))(function(i,o){function a(e){try{l(n.next(e));}catch(e){o(e);}}function s(e){try{l(n.throw(e));}catch(e){o(e);}}function l(e){var t;e.done?i(e.value):((t=e.value)instanceof r?t:new r(function(e){e(t);})).then(a,s);}l((n=n.apply(e,t||[])).next());});};Object.defineProperty(e.exports,"__esModule",{value:!0}),e.exports.OidcClient=void 0;var n=rI("eamjo"),i=rI("h6tQO"),o=rI("1o3Gj");class a{static createHttpClient(e=!0,t=10){return new n.HttpClient("actions/oidc-client",[new i.BearerCredentialHandler(a.getRequestToken())],{allowRetries:e,maxRetries:t});}static getRequestToken(){let e=process.env.ACTIONS_ID_TOKEN_REQUEST_TOKEN;if(!e)throw Error("Unable to get ACTIONS_ID_TOKEN_REQUEST_TOKEN env variable");return e;}static getIDTokenUrl(){let e=process.env.ACTIONS_ID_TOKEN_REQUEST_URL;if(!e)throw Error("Unable to get ACTIONS_ID_TOKEN_REQUEST_URL env variable");return e;}static getCall(e){var t;return r(this,void 0,void 0,function*(){let r=a.createHttpClient(),n=null===(t=(yield r.getJson(e).catch(e=>{throw Error(`Failed to get ID Token.
Error Code : ${e.statusCode}
Error Message: ${e.message}`);})).result)||void 0===t?void 0:t.value;if(!n)throw Error("Response json body do not have ID Token field");return n;});}static getIDToken(e){return r(this,void 0,void 0,function*(){try{let t=a.getIDTokenUrl();if(e){let r=encodeURIComponent(e);t=`${t}&audience=${r}`;}o.debug("ID token url is "+t);let r=yield a.getCall(t);return o.setSecret(r),r;}catch(e){throw Error("Error message: "+e.message);}});}}e.exports.OidcClient=a;}),rA("eamjo",function(e,t){var r,n,i,o,a,s,l,u,c;r=e.exports&&e.exports.__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];}),n=e.exports&&e.exports.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t});}:function(e,t){e.default=t;}),i=e.exports&&e.exports.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var i in e)"default"!==i&&Object.hasOwnProperty.call(e,i)&&r(t,e,i);return n(t,e),t;},o=e.exports&&e.exports.__awaiter||function(e,t,r,n){return new(r||(r=Promise))(function(i,o){function a(e){try{l(n.next(e));}catch(e){o(e);}}function s(e){try{l(n.throw(e));}catch(e){o(e);}}function l(e){var t;e.done?i(e.value):((t=e.value)instanceof r?t:new r(function(e){e(t);})).then(a,s);}l((n=n.apply(e,t||[])).next());});},Object.defineProperty(e.exports,"__esModule",{value:!0}),e.exports.HttpClient=e.exports.isHttps=e.exports.HttpClientResponse=e.exports.HttpClientError=e.exports.getProxyUrl=e.exports.MediaTypes=e.exports.Headers=e.exports.HttpCodes=void 0;let p=i(n7),d=i(ie),f=i(rI("jnrYh")),h=i(rI("3RDK7"));(u=a=e.exports.HttpCodes||(e.exports.HttpCodes={}))[u.OK=200]="OK",u[u.MultipleChoices=300]="MultipleChoices",u[u.MovedPermanently=301]="MovedPermanently",u[u.ResourceMoved=302]="ResourceMoved",u[u.SeeOther=303]="SeeOther",u[u.NotModified=304]="NotModified",u[u.UseProxy=305]="UseProxy",u[u.SwitchProxy=306]="SwitchProxy",u[u.TemporaryRedirect=307]="TemporaryRedirect",u[u.PermanentRedirect=308]="PermanentRedirect",u[u.BadRequest=400]="BadRequest",u[u.Unauthorized=401]="Unauthorized",u[u.PaymentRequired=402]="PaymentRequired",u[u.Forbidden=403]="Forbidden",u[u.NotFound=404]="NotFound",u[u.MethodNotAllowed=405]="MethodNotAllowed",u[u.NotAcceptable=406]="NotAcceptable",u[u.ProxyAuthenticationRequired=407]="ProxyAuthenticationRequired",u[u.RequestTimeout=408]="RequestTimeout",u[u.Conflict=409]="Conflict",u[u.Gone=410]="Gone",u[u.TooManyRequests=429]="TooManyRequests",u[u.InternalServerError=500]="InternalServerError",u[u.NotImplemented=501]="NotImplemented",u[u.BadGateway=502]="BadGateway",u[u.ServiceUnavailable=503]="ServiceUnavailable",u[u.GatewayTimeout=504]="GatewayTimeout",(c=s=e.exports.Headers||(e.exports.Headers={})).Accept="accept",c.ContentType="content-type",(l=e.exports.MediaTypes||(e.exports.MediaTypes={})).ApplicationJson="application/json",e.exports.getProxyUrl=function(e){let t=f.getProxyUrl(new URL(e));return t?t.href:"";};let m=[a.MovedPermanently,a.ResourceMoved,a.SeeOther,a.TemporaryRedirect,a.PermanentRedirect],g=[a.BadGateway,a.ServiceUnavailable,a.GatewayTimeout],v=["OPTIONS","GET","DELETE","HEAD"];class E extends Error{constructor(e,t){super(e),this.name="HttpClientError",this.statusCode=t,Object.setPrototypeOf(this,E.prototype);}}e.exports.HttpClientError=E;class w{constructor(e){this.message=e;}readBody(){return o(this,void 0,void 0,function*(){return new Promise(e=>o(this,void 0,void 0,function*(){let t=Buffer.alloc(0);this.message.on("data",e=>{t=Buffer.concat([t,e]);}),this.message.on("end",()=>{e(t.toString());});}));});}}e.exports.HttpClientResponse=w,e.exports.isHttps=function(e){return"https:"===new URL(e).protocol;},e.exports.HttpClient=class{constructor(e,t,r){this._ignoreSslError=!1,this._allowRedirects=!0,this._allowRedirectDowngrade=!1,this._maxRedirects=50,this._allowRetries=!1,this._maxRetries=1,this._keepAlive=!1,this._disposed=!1,this.userAgent=e,this.handlers=t||[],this.requestOptions=r,r&&(null!=r.ignoreSslError&&(this._ignoreSslError=r.ignoreSslError),this._socketTimeout=r.socketTimeout,null!=r.allowRedirects&&(this._allowRedirects=r.allowRedirects),null!=r.allowRedirectDowngrade&&(this._allowRedirectDowngrade=r.allowRedirectDowngrade),null!=r.maxRedirects&&(this._maxRedirects=Math.max(r.maxRedirects,0)),null!=r.keepAlive&&(this._keepAlive=r.keepAlive),null!=r.allowRetries&&(this._allowRetries=r.allowRetries),null!=r.maxRetries&&(this._maxRetries=r.maxRetries));}options(e,t){return o(this,void 0,void 0,function*(){return this.request("OPTIONS",e,null,t||{});});}get(e,t){return o(this,void 0,void 0,function*(){return this.request("GET",e,null,t||{});});}del(e,t){return o(this,void 0,void 0,function*(){return this.request("DELETE",e,null,t||{});});}post(e,t,r){return o(this,void 0,void 0,function*(){return this.request("POST",e,t,r||{});});}patch(e,t,r){return o(this,void 0,void 0,function*(){return this.request("PATCH",e,t,r||{});});}put(e,t,r){return o(this,void 0,void 0,function*(){return this.request("PUT",e,t,r||{});});}head(e,t){return o(this,void 0,void 0,function*(){return this.request("HEAD",e,null,t||{});});}sendStream(e,t,r,n){return o(this,void 0,void 0,function*(){return this.request(e,t,r,n);});}getJson(e,t={}){return o(this,void 0,void 0,function*(){t[s.Accept]=this._getExistingOrDefaultHeader(t,s.Accept,l.ApplicationJson);let r=yield this.get(e,t);return this._processResponse(r,this.requestOptions);});}postJson(e,t,r={}){return o(this,void 0,void 0,function*(){let n=JSON.stringify(t,null,2);r[s.Accept]=this._getExistingOrDefaultHeader(r,s.Accept,l.ApplicationJson),r[s.ContentType]=this._getExistingOrDefaultHeader(r,s.ContentType,l.ApplicationJson);let i=yield this.post(e,n,r);return this._processResponse(i,this.requestOptions);});}putJson(e,t,r={}){return o(this,void 0,void 0,function*(){let n=JSON.stringify(t,null,2);r[s.Accept]=this._getExistingOrDefaultHeader(r,s.Accept,l.ApplicationJson),r[s.ContentType]=this._getExistingOrDefaultHeader(r,s.ContentType,l.ApplicationJson);let i=yield this.put(e,n,r);return this._processResponse(i,this.requestOptions);});}patchJson(e,t,r={}){return o(this,void 0,void 0,function*(){let n=JSON.stringify(t,null,2);r[s.Accept]=this._getExistingOrDefaultHeader(r,s.Accept,l.ApplicationJson),r[s.ContentType]=this._getExistingOrDefaultHeader(r,s.ContentType,l.ApplicationJson);let i=yield this.patch(e,n,r);return this._processResponse(i,this.requestOptions);});}request(e,t,r,n){return o(this,void 0,void 0,function*(){let i;if(this._disposed)throw Error("Client has already been disposed.");let o=new URL(t),s=this._prepareRequest(e,o,n),l=this._allowRetries&&v.includes(e)?this._maxRetries+1:1,u=0;do{if((i=yield this.requestRaw(s,r))&&i.message&&i.message.statusCode===a.Unauthorized){let e;for(let t of this.handlers)if(t.canHandleAuthentication(i)){e=t;break;}if(e)return e.handleAuthentication(this,s,r);break;}let t=this._maxRedirects;for(;i.message.statusCode&&m.includes(i.message.statusCode)&&this._allowRedirects&&t>0;){let a=i.message.headers.location;if(!a)break;let l=new URL(a);if("https:"===o.protocol&&o.protocol!==l.protocol&&!this._allowRedirectDowngrade)throw Error("Redirect from HTTPS to HTTP protocol. This downgrade is not allowed for security reasons. If you want to allow this behavior, set the allowRedirectDowngrade option to true.");if(yield i.readBody(),l.hostname!==o.hostname)for(let e in n)"authorization"===e.toLowerCase()&&delete n[e];s=this._prepareRequest(e,l,n),i=yield this.requestRaw(s,r),t--;}if(!i.message.statusCode||!g.includes(i.message.statusCode))break;(u+=1)<l&&(yield i.readBody(),yield this._performExponentialBackoff(u));}while(u<l);return i;});}dispose(){this._agent&&this._agent.destroy(),this._disposed=!0;}requestRaw(e,t){return o(this,void 0,void 0,function*(){return new Promise((r,n)=>{this.requestRawWithCallback(e,t,function(e,t){e?n(e):t?r(t):n(Error("Unknown error"));});});});}requestRawWithCallback(e,t,r){let n;function i(e,t){o||(o=!0,r(e,t));}"string"==typeof t&&(e.options.headers||(e.options.headers={}),e.options.headers["Content-Length"]=Buffer.byteLength(t,"utf8"));let o=!1,a=e.httpModule.request(e.options,e=>{i(void 0,new w(e));});a.on("socket",e=>{n=e;}),a.setTimeout(this._socketTimeout||18e4,()=>{n&&n.end(),i(Error("Request timeout: "+e.options.path));}),a.on("error",function(e){i(e);}),t&&"string"==typeof t&&a.write(t,"utf8"),t&&"string"!=typeof t?(t.on("close",function(){a.end();}),t.pipe(a)):a.end();}getAgent(e){let t=new URL(e);return this._getAgent(t);}_prepareRequest(e,t,r){let n={};n.parsedUrl=t;let i="https:"===n.parsedUrl.protocol;if(n.httpModule=i?d:p,n.options={},n.options.host=n.parsedUrl.hostname,n.options.port=n.parsedUrl.port?parseInt(n.parsedUrl.port):i?443:80,n.options.path=(n.parsedUrl.pathname||"")+(n.parsedUrl.search||""),n.options.method=e,n.options.headers=this._mergeHeaders(r),null!=this.userAgent&&(n.options.headers["user-agent"]=this.userAgent),n.options.agent=this._getAgent(n.parsedUrl),this.handlers)for(let e of this.handlers)e.prepareRequest(n.options);return n;}_mergeHeaders(e){return this.requestOptions&&this.requestOptions.headers?Object.assign({},y(this.requestOptions.headers),y(e||{})):y(e||{});}_getExistingOrDefaultHeader(e,t,r){let n;return this.requestOptions&&this.requestOptions.headers&&(n=y(this.requestOptions.headers)[t]),e[t]||n||r;}_getAgent(e){let t;let r=f.getProxyUrl(e),n=r&&r.hostname;if(this._keepAlive&&n&&(t=this._proxyAgent),this._keepAlive&&!n&&(t=this._agent),t)return t;let i="https:"===e.protocol,o=100;if(this.requestOptions&&(o=this.requestOptions.maxSockets||p.globalAgent.maxSockets),r&&r.hostname){let e;let n={maxSockets:o,keepAlive:this._keepAlive,proxy:Object.assign(Object.assign({},(r.username||r.password)&&{proxyAuth:`${r.username}:${r.password}`}),{host:r.hostname,port:r.port})},a="https:"===r.protocol;t=(i?a?h.httpsOverHttps:h.httpsOverHttp:a?h.httpOverHttps:h.httpOverHttp)(n),this._proxyAgent=t;}if(this._keepAlive&&!t){let e={keepAlive:this._keepAlive,maxSockets:o};t=i?new d.Agent(e):new p.Agent(e),this._agent=t;}return t||(t=i?d.globalAgent:p.globalAgent),i&&this._ignoreSslError&&(t.options=Object.assign(t.options||{},{rejectUnauthorized:!1})),t;}_performExponentialBackoff(e){return o(this,void 0,void 0,function*(){let t=5*Math.pow(2,e=Math.min(10,e));return new Promise(e=>setTimeout(()=>e(),t));});}_processResponse(e,t){return o(this,void 0,void 0,function*(){return new Promise((r,n)=>o(this,void 0,void 0,function*(){let i,o;let s=e.message.statusCode||0,l={statusCode:s,result:null,headers:{}};s===a.NotFound&&r(l);try{(o=yield e.readBody())&&o.length>0&&(i=t&&t.deserializeDates?JSON.parse(o,function(e,t){if("string"==typeof t){let e=new Date(t);if(!isNaN(e.valueOf()))return e;}return t;}):JSON.parse(o),l.result=i),l.headers=e.message.headers;}catch(e){}if(s>299){let e;let t=new E(i&&i.message?i.message:o&&o.length>0?o:`Failed request: (${s})`,s);t.result=l.result,n(t);}else r(l);}));});}};let y=e=>Object.keys(e).reduce((t,r)=>(t[r.toLowerCase()]=e[r],t),{});}),rA("jnrYh",function(e,t){function r(e){let t;if(!e.hostname)return!1;if(function(e){let t=e.toLowerCase();return"localhost"===t||t.startsWith("127.")||t.startsWith("[::1]")||t.startsWith("[0:0:0:0:0:0:0:1]");}(e.hostname))return!0;let r=process.env.no_proxy||process.env.NO_PROXY||"";if(!r)return!1;e.port?t=+e.port:"http:"===e.protocol?t=80:"https:"===e.protocol&&(t=443);let n=[e.hostname.toUpperCase()];for(let e of("number"==typeof t&&n.push(`${n[0]}:${t}`),r.split(",").map(e=>e.trim().toUpperCase()).filter(e=>e)))if("*"===e||n.some(t=>t===e||t.endsWith("."+e)||e.startsWith(".")&&t.endsWith(""+e)))return!0;return!1;}Object.defineProperty(e.exports,"__esModule",{value:!0}),e.exports.checkBypass=e.exports.getProxyUrl=void 0,e.exports.getProxyUrl=function(e){let t="https:"===e.protocol;if(r(e))return;let n=t?process.env.https_proxy||process.env.HTTPS_PROXY:process.env.http_proxy||process.env.HTTP_PROXY;return n?new URL(n):void 0;},e.exports.checkBypass=r;}),rA("3RDK7",function(e,t){e.exports=rI("jZQ4B");}),rA("jZQ4B",function(e,t){var r,n,i,o,a,s;function l(e){var t=this;t.options=e||{},t.proxyOptions=t.options.proxy||{},t.maxSockets=t.options.maxSockets||n7.Agent.defaultMaxSockets,t.requests=[],t.sockets=[],t.on("free",function(e,r,n,i){for(var o=p(r,n,i),a=0,s=t.requests.length;s>a;++a){var l=t.requests[a];if(l.host===o.host&&l.port===o.port){t.requests.splice(a,1),l.request.onSocket(e);return;}}e.destroy(),t.removeSocket(e);});}function u(e,t){var r=this;l.prototype.createSocket.call(r,e,function(n){var i=e.request.getHeader("host"),o=d({},r.options,{socket:n,servername:i?i.replace(/:.*$/,""):e.host}),a=ri.connect(0,o);r.sockets[r.sockets.indexOf(n)]=a,t(a);});}function p(e,t,r){return"string"==typeof e?{host:e,port:t,localAddress:r}:e;}function d(e){for(var t=1,r=arguments.length;r>t;++t){var n=arguments[t];if("object"==typeof n)for(var i=Object.keys(n),o=0,a=i.length;a>o;++o){var s=i[o];void 0!==n[s]&&(e[s]=n[s]);}}return e;}c(e.exports,"httpOverHttp",()=>r,e=>r=e),c(e.exports,"httpsOverHttp",()=>n,e=>n=e),c(e.exports,"httpOverHttps",()=>i,e=>i=e),c(e.exports,"httpsOverHttps",()=>o,e=>o=e),c(e.exports,"debug",()=>a,e=>a=e),r=function(e){var t=new l(e);return t.request=n7.request,t;},n=function(e){var t=new l(e);return t.request=n7.request,t.createSocket=u,t.defaultPort=443,t;},i=function(e){var t=new l(e);return t.request=ie.request,t;},o=function(e){var t=new l(e);return t.request=ie.request,t.createSocket=u,t.defaultPort=443,t;},rs.inherits(l,ro.EventEmitter),l.prototype.addRequest=function(e,t,r,n){var i=this,o=d({request:e},i.options,p(t,r,n));if(i.sockets.length>=this.maxSockets){i.requests.push(o);return;}i.createSocket(o,function(t){function r(){i.emit("free",t,o);}function n(e){i.removeSocket(t),t.removeListener("free",r),t.removeListener("close",n),t.removeListener("agentRemove",n);}t.on("free",r),t.on("close",n),t.on("agentRemove",n),e.onSocket(t);});},l.prototype.createSocket=function(e,t){function r(r,n,l){if(i.removeAllListeners(),n.removeAllListeners(),200!==r.statusCode){s("tunneling socket could not be established, statusCode=%d",r.statusCode),n.destroy();var u=Error("tunneling socket could not be established, statusCode="+r.statusCode);u.code="ECONNRESET",e.request.emit("error",u),o.removeSocket(a);return;}if(l.length>0){s("got illegal response body from proxy"),n.destroy();var u=Error("got illegal response body from proxy");u.code="ECONNRESET",e.request.emit("error",u),o.removeSocket(a);return;}return s("tunneling connection has established"),o.sockets[o.sockets.indexOf(a)]=n,t(n);}var n,i,o=this,a={};o.sockets.push(a),n=d({},o.proxyOptions,{method:"CONNECT",path:e.host+":"+e.port,agent:!1,headers:{host:e.host+":"+e.port}}),e.localAddress&&(n.localAddress=e.localAddress),n.proxyAuth&&(n.headers=n.headers||{},n.headers["Proxy-Authorization"]="Basic "+new Buffer(n.proxyAuth).toString("base64")),s("making CONNECT request"),(i=o.request(n)).useChunkedEncodingByDefault=!1,i.once("response",function(e){e.upgrade=!0;}),i.once("upgrade",function(e,t,n){process.nextTick(function(){r(e,t,n);});}),i.once("connect",r),i.once("error",function(t){i.removeAllListeners(),s("tunneling socket could not be established, cause=%s\n",t.message,t.stack);var r=Error("tunneling socket could not be established, cause="+t.message);r.code="ECONNRESET",e.request.emit("error",r),o.removeSocket(a);}),i.end();},l.prototype.removeSocket=function(e){var t=this.sockets.indexOf(e);if(-1!==t){this.sockets.splice(t,1);var r=this.requests.shift();r&&this.createSocket(r,function(e){r.request.onSocket(e);});}},a=s=process.env.NODE_DEBUG&&/\btunnel\b/.test(process.env.NODE_DEBUG)?function(){var e=Array.prototype.slice.call(arguments);"string"==typeof e[0]?e[0]="TUNNEL: "+e[0]:e.unshift("TUNNEL:"),console.error.apply(console,e);}:function(){};}),rA("h6tQO",function(e,t){var r=e.exports&&e.exports.__awaiter||function(e,t,r,n){return new(r||(r=Promise))(function(i,o){function a(e){try{l(n.next(e));}catch(e){o(e);}}function s(e){try{l(n.throw(e));}catch(e){o(e);}}function l(e){var t;e.done?i(e.value):((t=e.value)instanceof r?t:new r(function(e){e(t);})).then(a,s);}l((n=n.apply(e,t||[])).next());});};Object.defineProperty(e.exports,"__esModule",{value:!0}),e.exports.PersonalAccessTokenCredentialHandler=e.exports.BearerCredentialHandler=e.exports.BasicCredentialHandler=void 0,e.exports.BasicCredentialHandler=class{constructor(e,t){this.username=e,this.password=t;}prepareRequest(e){if(!e.headers)throw Error("The request has no headers");e.headers.Authorization="Basic "+Buffer.from(`${this.username}:${this.password}`).toString("base64");}canHandleAuthentication(){return!1;}handleAuthentication(){return r(this,void 0,void 0,function*(){throw Error("not implemented");});}},e.exports.BearerCredentialHandler=class{constructor(e){this.token=e;}prepareRequest(e){if(!e.headers)throw Error("The request has no headers");e.headers.Authorization="Bearer "+this.token;}canHandleAuthentication(){return!1;}handleAuthentication(){return r(this,void 0,void 0,function*(){throw Error("not implemented");});}},e.exports.PersonalAccessTokenCredentialHandler=class{constructor(e){this.token=e;}prepareRequest(e){if(!e.headers)throw Error("The request has no headers");e.headers.Authorization="Basic "+Buffer.from("PAT:"+this.token).toString("base64");}canHandleAuthentication(){return!1;}handleAuthentication(){return r(this,void 0,void 0,function*(){throw Error("not implemented");});}};}),rA("dV9Cu",function(e,t){var r=e.exports&&e.exports.__awaiter||function(e,t,r,n){return new(r||(r=Promise))(function(i,o){function a(e){try{l(n.next(e));}catch(e){o(e);}}function s(e){try{l(n.throw(e));}catch(e){o(e);}}function l(e){var t;e.done?i(e.value):((t=e.value)instanceof r?t:new r(function(e){e(t);})).then(a,s);}l((n=n.apply(e,t||[])).next());});};Object.defineProperty(e.exports,"__esModule",{value:!0}),e.exports.summary=e.exports.markdownSummary=e.exports.SUMMARY_DOCS_URL=e.exports.SUMMARY_ENV_VAR=void 0;let{access:n,appendFile:i,writeFile:o}=n8.promises;e.exports.SUMMARY_ENV_VAR="GITHUB_STEP_SUMMARY",e.exports.SUMMARY_DOCS_URL="https://docs.github.com/actions/using-workflows/workflow-commands-for-github-actions#adding-a-job-summary";let a=new class{constructor(){this._buffer="";}filePath(){return r(this,void 0,void 0,function*(){if(this._filePath)return this._filePath;let t=process.env[e.exports.SUMMARY_ENV_VAR];if(!t)throw Error(`Unable to find environment variable for $${e.exports.SUMMARY_ENV_VAR}. Check if your runtime environment supports job summaries.`);try{yield n(t,n8.constants.R_OK|n8.constants.W_OK);}catch(e){throw Error(`Unable to access summary file: '${t}'. Check if the file has correct read/write permissions.`);}return this._filePath=t,this._filePath;});}wrap(e,t,r={}){let n=Object.entries(r).map(([e,t])=>` ${e}="${t}"`).join("");return t?`<${e}${n}>${t}</${e}>`:`<${e}${n}>`;}write(e){return r(this,void 0,void 0,function*(){let t=!!(null==e?void 0:e.overwrite),r=yield this.filePath();return yield(t?o:i)(r,this._buffer,{encoding:"utf8"}),this.emptyBuffer();});}clear(){return r(this,void 0,void 0,function*(){return this.emptyBuffer().write({overwrite:!0});});}stringify(){return this._buffer;}isEmptyBuffer(){return 0===this._buffer.length;}emptyBuffer(){return this._buffer="",this;}addRaw(e,t=!1){return this._buffer+=e,t?this.addEOL():this;}addEOL(){return this.addRaw(n5.EOL);}addCodeBlock(e,t){let r=Object.assign({},t&&{lang:t}),n=this.wrap("pre",this.wrap("code",e),r);return this.addRaw(n).addEOL();}addList(e,t=!1){let r=e.map(e=>this.wrap("li",e)).join(""),n=this.wrap(t?"ol":"ul",r);return this.addRaw(n).addEOL();}addTable(e){let t=e.map(e=>{let t=e.map(e=>{if("string"==typeof e)return this.wrap("td",e);let{header:t,data:r,colspan:n,rowspan:i}=e,o=Object.assign(Object.assign({},n&&{colspan:n}),i&&{rowspan:i});return this.wrap(t?"th":"td",r,o);}).join("");return this.wrap("tr",t);}).join(""),r=this.wrap("table",t);return this.addRaw(r).addEOL();}addDetails(e,t){let r=this.wrap("details",this.wrap("summary",e)+t);return this.addRaw(r).addEOL();}addImage(e,t,r){let{width:n,height:i}=r||{},o=Object.assign(Object.assign({},n&&{width:n}),i&&{height:i}),a=this.wrap("img",null,Object.assign({src:e,alt:t},o));return this.addRaw(a).addEOL();}addHeading(e,t){let r="h"+t,n=["h1","h2","h3","h4","h5","h6"].includes(r)?r:"h1",i=this.wrap(n,e);return this.addRaw(i).addEOL();}addSeparator(){let e=this.wrap("hr",null);return this.addRaw(e).addEOL();}addBreak(){let e=this.wrap("br",null);return this.addRaw(e).addEOL();}addQuote(e,t){let r=Object.assign({},t&&{cite:t}),n=this.wrap("blockquote",e,r);return this.addRaw(n).addEOL();}addLink(e,t){let r=this.wrap("a",e,{href:t});return this.addRaw(r).addEOL();}}();e.exports.markdownSummary=a,e.exports.summary=a;}),rA("9i0tI",function(e,t){var r,n,i;r=e.exports&&e.exports.__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];}),n=e.exports&&e.exports.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t});}:function(e,t){e.default=t;}),i=e.exports&&e.exports.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var i in e)"default"!==i&&Object.hasOwnProperty.call(e,i)&&r(t,e,i);return n(t,e),t;},Object.defineProperty(e.exports,"__esModule",{value:!0}),e.exports.toPlatformPath=e.exports.toWin32Path=e.exports.toPosixPath=void 0;let o=i(n6);e.exports.toPosixPath=function(e){return e.replace(/[\\]/g,"/");},e.exports.toWin32Path=function(e){return e.replace(/[/]/g,"\\");},e.exports.toPlatformPath=function(e){return e.replace(/[/\\]/g,o.sep);};}),rA("kswPT",function(e,t){var r=n6.resolve(__dirname,"../../node_modules/numerous/lib");(function(){var t,n;function i(e,r,n){if(o(e),"object"!=typeof n)throw Error("List of variants should be specified as an object");var i=t[e](r);return void 0!==n[i]?n[i]:null;}function o(e){!(void 0!==t[e])&&function(e){try{require(r+"/../locales/"+e+".js");}catch(t){throw Error("Failed to load the following locale: "+e);}}(e);}t={},n={create:function(e){return o(e),{pluralize:function(t,r){return i(e,t,r);}};},addLocale:function(e,r){t[e]=r;},pluralize:i},void 0!==e.exports?e.exports=n:this.numerous=n;}).call(e.exports);}),rA("foOBZ",function(e,t){function r(e){for(let t of(Array.isArray(e)||(e=[e]),e)){let{id:e,data:r}=t;s[e]=r;}}var n=rI("6OFKY"),i=rI("5GOZM");let o=[["years",290304e5],["months",24192e5],["weeks",6048e5],["days",864e5],["hours",36e5],["minutes",6e4],["seconds",1e3]],a={locale:"en",span:2,delimiter:", ",unitType:"long",unitTypeLookupOrder:["long","short","narrow"],autoloadLocales:!0},s={};e.exports={create:function(e){return e=Object.assign({},a,e||{}),{format:function(t,a,l){return function(e,t,a){if(function(e,t){let{autoload:n}=t;if(!s[e]){if(i&&n)(function(e){try{r(require(`../locales/${e}.js`));}catch(t){throw Error(`Failed to load locale: ${e} from ../locales/${e}.js. If using a bundled time-delta, set 'autoloadLocales: false' in the config: ${t}`);}})(e);else throw Error(`Missing locale: ${e}, you must load it manually before using it`);}}(a.locale,{autoload:a.autoloadLocales}),!e)throw Error("Missing first date argument");if(!t)throw Error("Missing second date argument");let l=function(e,t){let r=t-e,n=[];return o.some(function(e){let t=e[0],i=e[1],o=Math.floor(r/i);if(r-=o*i,n.push([t,o]),r<=0)return!0;}),n;}(e,t),u=[];for(let e of l){let[t,r]=e;if(r>0&&u.push(function(e,t,r){let i=function(e){var t;let r=s[e.locale],n=e.unitTypeLookupOrder.slice();n.unshift(e.unitType),t=n;let i=null;if((n=Array.from(new Set(t))).some(function(e){if(void 0!==r[e])return i=r[e],!0;}),null===i)throw Error("Can not find any unit type data for locale: "+e.locale);return i;}(r);return n.pluralize(r.locale,t,i[e]).replace("{0}",t);}(t,r,a)),u.length>=a.span)break;}return u.join(a.delimiter);}(t,a,l=Object.assign({},e,l||{}));}};},addLocale:r,defaultConfig:a};}),rA("6OFKY",function(e,t){e.exports=rI("kswPT");}),rA("5GOZM",function(e,t){e.exports=!!("undefined"!=typeof process&&process.versions&&process.versions.node);}),rA("8nJMC",function(e,t){function r(e,t,r){return!!(e.isSymbolicLink()||e.isFile())&&function(e,t){var r=void 0!==t.pathExt?t.pathExt:process.env.PATHEXT;if(!r||-1!==(r=r.split(";")).indexOf(""))return!0;for(var n=0;n<r.length;n++){var i=r[n].toLowerCase();if(i&&e.substr(-i.length).toLowerCase()===i)return!0;}return!1;}(t,r);}function n(e,t,n){n8.stat(e,function(i,o){n(i,!i&&r(o,e,t));});}e.exports=n,n.sync=function(e,t){return r(n8.statSync(e),e,t);};}),rA("lo7XV",function(e,t){function r(e,t,r){n8.stat(e,function(e,i){r(e,!e&&n(i,t));});}function n(e,t){var r,n,i,o,a,s,l,u,c;return e.isFile()&&(r=e,n=t,i=r.mode,o=r.uid,a=r.gid,s=void 0!==n.uid?n.uid:process.getuid&&process.getuid(),l=void 0!==n.gid?n.gid:process.getgid&&process.getgid(),u=parseInt("100",8),c=parseInt("010",8),i&parseInt("001",8)||i&c&&a===l||i&u&&o===s||i&(u|c)&&0===s);}e.exports=r,r.sync=function(e,t){return n(n8.statSync(e),t);};}),rA("dVIKq",function(e,t){e.exports=["SIGABRT","SIGALRM","SIGHUP","SIGINT","SIGTERM"],"win32"!==process.platform&&e.exports.push("SIGVTALRM","SIGXCPU","SIGXFSZ","SIGUSR2","SIGTRAP","SIGSYS","SIGQUIT","SIGIOT"),"linux"===process.platform&&e.exports.push("SIGIO","SIGPOLL","SIGPWR","SIGSTKFLT","SIGUNUSED");}),rA("coVwk",function(e,t){var r=rI("hhSwF"),n=rI("iXsaM"),i=rI("8cXe9"),o=rI("dAM2Q"),a=rI("cHnHr"),s=rI("2kZmC"),l=rI("3Ixw1"),u=rI("5r5vN"),c=rI("bDrwm"),p=rI("lORAA"),d=rI("2Lh6z"),f=rI("73KaH"),h=rI("j5Xr5"),m=rI("jDqfd"),g=rI("2QKGl"),v=rI("3puHo"),E=rI("7qrQi"),w=rI("hZ1Xd"),y=rI("3YOIj"),b=rI("cOpcP"),x=rI("58P10"),D=rI("lTmeS"),S=rI("jzqBf"),T=rI("3XWvL"),N=rI("hlfY9"),I=rI("84iFB"),A=rI("6v1Be"),R=rI("1bxhC"),O=rI("bswWF"),C=rI("42oIR"),_=rI("4zfp3"),$=rI("ga5uZ"),L=rI("lPGVL"),P=rI("1I8AA"),k=rI("dBtft"),U=rI("83Sp2"),M=rI("eK4my"),F=rI("eNXBI"),j=rI("kHzUo"),q=rI("1x2XZ"),B=rI("hTYir");e.exports={parse:a,valid:s,clean:l,inc:u,diff:c,major:p,minor:d,patch:f,prerelease:h,compare:m,rcompare:g,compareLoose:v,compareBuild:E,sort:w,rsort:y,gt:b,lt:x,eq:D,neq:S,gte:T,lte:N,cmp:I,coerce:A,Comparator:R,Range:O,satisfies:C,toComparators:_,maxSatisfying:$,minSatisfying:L,minVersion:P,validRange:k,outside:U,gtr:M,ltr:F,intersects:j,simplifyRange:q,subset:B,SemVer:i,re:r.re,src:r.src,tokens:r.t,SEMVER_SPEC_VERSION:n.SEMVER_SPEC_VERSION,RELEASE_TYPES:n.RELEASE_TYPES,compareIdentifiers:o.compareIdentifiers,rcompareIdentifiers:o.rcompareIdentifiers};}),rA("hhSwF",function(e,t){var r=rI("iXsaM"),n=r.MAX_SAFE_COMPONENT_LENGTH,i=r.MAX_SAFE_BUILD_LENGTH,o=r.MAX_LENGTH,a=rI("jl9Uf");let s=(t=e.exports={}).re=[],l=t.safeRe=[],u=t.src=[],c=t.t={},p=0,d="[a-zA-Z0-9-]",f=[["\\s",1],["\\d",o],[d,i]],h=e=>{for(let[t,r]of f)e=e.split(`${t}*`).join(`${t}{0,${r}}`).split(`${t}+`).join(`${t}{1,${r}}`);return e;},m=(e,t,r)=>{let n=h(t),i=p++;a(e,i,t),c[e]=i,u[i]=t,s[i]=new RegExp(t,r?"g":void 0),l[i]=new RegExp(n,r?"g":void 0);};m("NUMERICIDENTIFIER","0|[1-9]\\d*"),m("NUMERICIDENTIFIERLOOSE","\\d+"),m("NONNUMERICIDENTIFIER",`\\d*[a-zA-Z-]${d}*`),m("MAINVERSION",`(${u[c.NUMERICIDENTIFIER]})\\.(${u[c.NUMERICIDENTIFIER]})\\.(${u[c.NUMERICIDENTIFIER]})`),m("MAINVERSIONLOOSE",`(${u[c.NUMERICIDENTIFIERLOOSE]})\\.(${u[c.NUMERICIDENTIFIERLOOSE]})\\.(${u[c.NUMERICIDENTIFIERLOOSE]})`),m("PRERELEASEIDENTIFIER",`(?:${u[c.NUMERICIDENTIFIER]}|${u[c.NONNUMERICIDENTIFIER]})`),m("PRERELEASEIDENTIFIERLOOSE",`(?:${u[c.NUMERICIDENTIFIERLOOSE]}|${u[c.NONNUMERICIDENTIFIER]})`),m("PRERELEASE",`(?:-(${u[c.PRERELEASEIDENTIFIER]}(?:\\.${u[c.PRERELEASEIDENTIFIER]})*))`),m("PRERELEASELOOSE",`(?:-?(${u[c.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${u[c.PRERELEASEIDENTIFIERLOOSE]})*))`),m("BUILDIDENTIFIER",`${d}+`),m("BUILD",`(?:\\+(${u[c.BUILDIDENTIFIER]}(?:\\.${u[c.BUILDIDENTIFIER]})*))`),m("FULLPLAIN",`v?${u[c.MAINVERSION]}${u[c.PRERELEASE]}?${u[c.BUILD]}?`),m("FULL",`^${u[c.FULLPLAIN]}$`),m("LOOSEPLAIN",`[v=\\s]*${u[c.MAINVERSIONLOOSE]}${u[c.PRERELEASELOOSE]}?${u[c.BUILD]}?`),m("LOOSE",`^${u[c.LOOSEPLAIN]}$`),m("GTLT","((?:<|>)?=?)"),m("XRANGEIDENTIFIERLOOSE",`${u[c.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`),m("XRANGEIDENTIFIER",`${u[c.NUMERICIDENTIFIER]}|x|X|\\*`),m("XRANGEPLAIN",`[v=\\s]*(${u[c.XRANGEIDENTIFIER]})(?:\\.(${u[c.XRANGEIDENTIFIER]})(?:\\.(${u[c.XRANGEIDENTIFIER]})(?:${u[c.PRERELEASE]})?${u[c.BUILD]}?)?)?`),m("XRANGEPLAINLOOSE",`[v=\\s]*(${u[c.XRANGEIDENTIFIERLOOSE]})(?:\\.(${u[c.XRANGEIDENTIFIERLOOSE]})(?:\\.(${u[c.XRANGEIDENTIFIERLOOSE]})(?:${u[c.PRERELEASELOOSE]})?${u[c.BUILD]}?)?)?`),m("XRANGE",`^${u[c.GTLT]}\\s*${u[c.XRANGEPLAIN]}$`),m("XRANGELOOSE",`^${u[c.GTLT]}\\s*${u[c.XRANGEPLAINLOOSE]}$`),m("COERCE",`(^|[^\\d])(\\d{1,${n}})(?:\\.(\\d{1,${n}}))?(?:\\.(\\d{1,${n}}))?(?:$|[^\\d])`),m("COERCERTL",u[c.COERCE],!0),m("LONETILDE","(?:~>?)"),m("TILDETRIM",`(\\s*)${u[c.LONETILDE]}\\s+`,!0),t.tildeTrimReplace="$1~",m("TILDE",`^${u[c.LONETILDE]}${u[c.XRANGEPLAIN]}$`),m("TILDELOOSE",`^${u[c.LONETILDE]}${u[c.XRANGEPLAINLOOSE]}$`),m("LONECARET","(?:\\^)"),m("CARETTRIM",`(\\s*)${u[c.LONECARET]}\\s+`,!0),t.caretTrimReplace="$1^",m("CARET",`^${u[c.LONECARET]}${u[c.XRANGEPLAIN]}$`),m("CARETLOOSE",`^${u[c.LONECARET]}${u[c.XRANGEPLAINLOOSE]}$`),m("COMPARATORLOOSE",`^${u[c.GTLT]}\\s*(${u[c.LOOSEPLAIN]})$|^$`),m("COMPARATOR",`^${u[c.GTLT]}\\s*(${u[c.FULLPLAIN]})$|^$`),m("COMPARATORTRIM",`(\\s*)${u[c.GTLT]}\\s*(${u[c.LOOSEPLAIN]}|${u[c.XRANGEPLAIN]})`,!0),t.comparatorTrimReplace="$1$2$3",m("HYPHENRANGE",`^\\s*(${u[c.XRANGEPLAIN]})\\s+-\\s+(${u[c.XRANGEPLAIN]})\\s*$`),m("HYPHENRANGELOOSE",`^\\s*(${u[c.XRANGEPLAINLOOSE]})\\s+-\\s+(${u[c.XRANGEPLAINLOOSE]})\\s*$`),m("STAR","(<|>)?=?\\s*\\*"),m("GTE0","^\\s*>=\\s*0\\.0\\.0\\s*$"),m("GTE0PRE","^\\s*>=\\s*0\\.0\\.0-0\\s*$");}),rA("iXsaM",function(e,t){let r=Number.MAX_SAFE_INTEGER||9007199254740991;e.exports={MAX_LENGTH:256,MAX_SAFE_COMPONENT_LENGTH:16,MAX_SAFE_BUILD_LENGTH:250,MAX_SAFE_INTEGER:r,RELEASE_TYPES:["major","premajor","minor","preminor","patch","prepatch","prerelease"],SEMVER_SPEC_VERSION:"2.0.0",FLAG_INCLUDE_PRERELEASE:1,FLAG_LOOSE:2};}),rA("jl9Uf",function(e,t){let r="object"==typeof process&&process.env&&process.env.NODE_DEBUG&&/\bsemver\b/i.test(process.env.NODE_DEBUG)?(...e)=>console.error("SEMVER",...e):()=>{};e.exports=r;}),rA("8cXe9",function(e,t){var r=rI("jl9Uf"),n=rI("iXsaM"),i=n.MAX_LENGTH,o=n.MAX_SAFE_INTEGER,a=rI("hhSwF"),s=a.safeRe,l=a.t,u=rI("5v8m5"),c=rI("dAM2Q").compareIdentifiers;class p{constructor(e,t){if(t=u(t),e instanceof p){if(!!t.loose===e.loose&&!!t.includePrerelease===e.includePrerelease)return e;e=e.version;}else if("string"!=typeof e)throw TypeError(`Invalid version. Must be a string. Got type "${typeof e}".`);if(e.length>i)throw TypeError(`version is longer than ${i} characters`);r("SemVer",e,t),this.options=t,this.loose=!!t.loose,this.includePrerelease=!!t.includePrerelease;let n=e.trim().match(t.loose?s[l.LOOSE]:s[l.FULL]);if(!n)throw TypeError("Invalid Version: "+e);if(this.raw=e,this.major=+n[1],this.minor=+n[2],this.patch=+n[3],this.major>o||this.major<0)throw TypeError("Invalid major version");if(this.minor>o||this.minor<0)throw TypeError("Invalid minor version");if(this.patch>o||this.patch<0)throw TypeError("Invalid patch version");n[4]?this.prerelease=n[4].split(".").map(e=>{if(/^[0-9]+$/.test(e)){let t=+e;if(t>=0&&t<o)return t;}return e;}):this.prerelease=[],this.build=n[5]?n[5].split("."):[],this.format();}format(){return this.version=`${this.major}.${this.minor}.${this.patch}`,this.prerelease.length&&(this.version+="-"+this.prerelease.join(".")),this.version;}toString(){return this.version;}compare(e){if(r("SemVer.compare",this.version,this.options,e),!(e instanceof p)){if("string"==typeof e&&e===this.version)return 0;e=new p(e,this.options);}return e.version===this.version?0:this.compareMain(e)||this.comparePre(e);}compareMain(e){return e instanceof p||(e=new p(e,this.options)),c(this.major,e.major)||c(this.minor,e.minor)||c(this.patch,e.patch);}comparePre(e){if(e instanceof p||(e=new p(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;let t=0;do{let n=this.prerelease[t],i=e.prerelease[t];if(r("prerelease compare",t,n,i),void 0===n&&void 0===i)return 0;if(void 0===i)return 1;if(void 0===n)return-1;else if(n===i)continue;else return c(n,i);}while(++t);}compareBuild(e){e instanceof p||(e=new p(e,this.options));let t=0;do{let n=this.build[t],i=e.build[t];if(r("prerelease compare",t,n,i),void 0===n&&void 0===i)return 0;if(void 0===i)return 1;if(void 0===n)return-1;else if(n===i)continue;else return c(n,i);}while(++t);}inc(e,t,r){switch(e){case"premajor":this.prerelease.length=0,this.patch=0,this.minor=0,this.major++,this.inc("pre",t,r);break;case"preminor":this.prerelease.length=0,this.patch=0,this.minor++,this.inc("pre",t,r);break;case"prepatch":this.prerelease.length=0,this.inc("patch",t,r),this.inc("pre",t,r);break;case"prerelease":0===this.prerelease.length&&this.inc("patch",t,r),this.inc("pre",t,r);break;case"major":(0!==this.minor||0!==this.patch||0===this.prerelease.length)&&this.major++,this.minor=0,this.patch=0,this.prerelease=[];break;case"minor":(0!==this.patch||0===this.prerelease.length)&&this.minor++,this.patch=0,this.prerelease=[];break;case"patch":0===this.prerelease.length&&this.patch++,this.prerelease=[];break;case"pre":{let e=+r?1:0;if(!t&&!1===r)throw Error("invalid increment argument: identifier is empty");if(0===this.prerelease.length)this.prerelease=[e];else{let n=this.prerelease.length;for(;--n>=0;)"number"==typeof this.prerelease[n]&&(this.prerelease[n]++,n=-2);if(-1===n){if(t===this.prerelease.join(".")&&!1===r)throw Error("invalid increment argument: identifier already exists");this.prerelease.push(e);}}if(t){let n=[t,e];!1===r&&(n=[t]),0===c(this.prerelease[0],t)?isNaN(this.prerelease[1])&&(this.prerelease=n):this.prerelease=n;}break;}default:throw Error("invalid increment argument: "+e);}return this.raw=this.format(),this.build.length&&(this.raw+="+"+this.build.join(".")),this;}}e.exports=p;}),rA("5v8m5",function(e,t){let r=Object.freeze({loose:!0}),n=Object.freeze({});e.exports=e=>e?"object"!=typeof e?r:e:n;}),rA("dAM2Q",function(e,t){let r=(e,t)=>{let r=/^[0-9]+$/.test(e),n=/^[0-9]+$/.test(t);return r&&n&&(e=+e,t=+t),e===t?0:r&&!n?-1:n&&!r?1:t>e?-1:1;};e.exports={compareIdentifiers:r,rcompareIdentifiers:(e,t)=>r(t,e)};}),rA("cHnHr",function(e,t){var r=rI("8cXe9");e.exports=(e,t,n=!1)=>{if(e instanceof r)return e;try{return new r(e,t);}catch(e){if(!n)return null;throw e;}};}),rA("2kZmC",function(e,t){var r=rI("cHnHr");e.exports=(e,t)=>{let n=r(e,t);return n?n.version:null;};}),rA("3Ixw1",function(e,t){var r=rI("cHnHr");e.exports=(e,t)=>{let n=r(e.trim().replace(/^[=v]+/,""),t);return n?n.version:null;};}),rA("5r5vN",function(e,t){var r=rI("8cXe9");e.exports=(e,t,n,i,o)=>{"string"==typeof n&&(o=i,i=n,n=void 0);try{return new r(e instanceof r?e.version:e,n).inc(t,i,o).version;}catch(e){return null;}};}),rA("bDrwm",function(e,t){var r=rI("cHnHr");e.exports=(e,t)=>{let n=r(e,null,!0),i=r(t,null,!0),o=n.compare(i);if(0===o)return null;let a=o>0,s=a?n:i,l=a?i:n,u=!!s.prerelease.length;if(l.prerelease.length&&!u)return l.patch||l.minor?s.patch?"patch":s.minor?"minor":"major":"major";let c=u?"pre":"";return n.major!==i.major?c+"major":n.minor!==i.minor?c+"minor":n.patch!==i.patch?c+"patch":"prerelease";};}),rA("lORAA",function(e,t){var r=rI("8cXe9");e.exports=(e,t)=>new r(e,t).major;}),rA("2Lh6z",function(e,t){var r=rI("8cXe9");e.exports=(e,t)=>new r(e,t).minor;}),rA("73KaH",function(e,t){var r=rI("8cXe9");e.exports=(e,t)=>new r(e,t).patch;}),rA("j5Xr5",function(e,t){var r=rI("cHnHr");e.exports=(e,t)=>{let n=r(e,t);return n&&n.prerelease.length?n.prerelease:null;};}),rA("jDqfd",function(e,t){var r=rI("8cXe9");e.exports=(e,t,n)=>new r(e,n).compare(new r(t,n));}),rA("2QKGl",function(e,t){var r=rI("jDqfd");e.exports=(e,t,n)=>r(t,e,n);}),rA("3puHo",function(e,t){var r=rI("jDqfd");e.exports=(e,t)=>r(e,t,!0);}),rA("7qrQi",function(e,t){var r=rI("8cXe9");e.exports=(e,t,n)=>{let i=new r(e,n),o=new r(t,n);return i.compare(o)||i.compareBuild(o);};}),rA("hZ1Xd",function(e,t){var r=rI("7qrQi");e.exports=(e,t)=>e.sort((e,n)=>r(e,n,t));}),rA("3YOIj",function(e,t){var r=rI("7qrQi");e.exports=(e,t)=>e.sort((e,n)=>r(n,e,t));}),rA("cOpcP",function(e,t){var r=rI("jDqfd");e.exports=(e,t,n)=>r(e,t,n)>0;}),rA("58P10",function(e,t){var r=rI("jDqfd");e.exports=(e,t,n)=>0>r(e,t,n);}),rA("lTmeS",function(e,t){var r=rI("jDqfd");e.exports=(e,t,n)=>0===r(e,t,n);}),rA("jzqBf",function(e,t){var r=rI("jDqfd");e.exports=(e,t,n)=>0!==r(e,t,n);}),rA("3XWvL",function(e,t){var r=rI("jDqfd");e.exports=(e,t,n)=>r(e,t,n)>=0;}),rA("hlfY9",function(e,t){var r=rI("jDqfd");e.exports=(e,t,n)=>0>=r(e,t,n);}),rA("84iFB",function(e,t){var r=rI("lTmeS"),n=rI("jzqBf"),i=rI("cOpcP"),o=rI("3XWvL"),a=rI("58P10"),s=rI("hlfY9");e.exports=(e,t,l,u)=>{switch(t){case"===":return"object"==typeof e&&(e=e.version),"object"==typeof l&&(l=l.version),e===l;case"!==":return"object"==typeof e&&(e=e.version),"object"==typeof l&&(l=l.version),e!==l;case"":case"=":case"==":return r(e,l,u);case"!=":return n(e,l,u);case">":return i(e,l,u);case">=":return o(e,l,u);case"<":return a(e,l,u);case"<=":return s(e,l,u);default:throw TypeError("Invalid operator: "+t);}};}),rA("6v1Be",function(e,t){var r=rI("8cXe9"),n=rI("cHnHr"),i=rI("hhSwF"),o=i.safeRe,a=i.t;e.exports=(e,t)=>{if(e instanceof r)return e;if("number"==typeof e&&(e+=""),"string"!=typeof e)return null;let i=null;if((t=t||{}).rtl){let t;for(;(t=o[a.COERCERTL].exec(e))&&(!i||i.index+i[0].length!==e.length);)i&&t.index+t[0].length===i.index+i[0].length||(i=t),o[a.COERCERTL].lastIndex=t.index+t[1].length+t[2].length;o[a.COERCERTL].lastIndex=-1;}else i=e.match(o[a.COERCE]);return null===i?null:n(`${i[2]}.${i[3]||"0"}.${i[4]||"0"}`,t);};}),rA("1bxhC",function(e,t){let r=Symbol();class n{static get ANY(){return r;}constructor(e,t){if(t=i(t),e instanceof n){if(!!t.loose===e.loose)return e;e=e.value;}u("comparator",e=e.trim().split(/\s+/).join(" "),t),this.options=t,this.loose=!!t.loose,this.parse(e),this.semver===r?this.value="":this.value=this.operator+this.semver.version,u("comp",this);}parse(e){let t=this.options.loose?a[s.COMPARATORLOOSE]:a[s.COMPARATOR],n=e.match(t);if(!n)throw TypeError("Invalid comparator: "+e);this.operator=void 0!==n[1]?n[1]:"","="===this.operator&&(this.operator=""),n[2]?this.semver=new c(n[2],this.options.loose):this.semver=r;}toString(){return this.value;}test(e){if(u("Comparator.test",e,this.options.loose),this.semver===r||e===r)return!0;if("string"==typeof e)try{e=new c(e,this.options);}catch(e){return!1;}return l(e,this.operator,this.semver,this.options);}intersects(e,t){if(!(e instanceof n))throw TypeError("a Comparator is required");return""===this.operator?""===this.value||new p(e.value,t).test(this.value):""===e.operator?""===e.value||new p(this.value,t).test(e.semver):!((t=i(t)).includePrerelease&&("<0.0.0-0"===this.value||"<0.0.0-0"===e.value)||!t.includePrerelease&&(this.value.startsWith("<0.0.0")||e.value.startsWith("<0.0.0")))&&!!(this.operator.startsWith(">")&&e.operator.startsWith(">")||this.operator.startsWith("<")&&e.operator.startsWith("<")||this.semver.version===e.semver.version&&this.operator.includes("=")&&e.operator.includes("=")||l(this.semver,"<",e.semver,t)&&this.operator.startsWith(">")&&e.operator.startsWith("<")||l(this.semver,">",e.semver,t)&&this.operator.startsWith("<")&&e.operator.startsWith(">"));}}e.exports=n;var i=rI("5v8m5"),o=rI("hhSwF"),a=o.safeRe,s=o.t,l=rI("84iFB"),u=rI("jl9Uf"),c=rI("8cXe9"),p=rI("bswWF");}),rA("bswWF",function(e,t){class r{constructor(e,t){if(t=i(t),e instanceof r){if(!!t.loose===e.loose&&!!t.includePrerelease===e.includePrerelease)return e;return new r(e.raw,t);}if(e instanceof o)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.trim().split(/\s+/).join(" "),this.set=this.raw.split("||").map(e=>this.parseRange(e.trim())).filter(e=>e.length),!this.set.length)throw TypeError("Invalid SemVer Range: "+this.raw);if(this.set.length>1){let 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(let e of this.set)if(1===e.length&&E(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){let t=((this.options.includePrerelease&&m)|(this.options.loose&&g))+":"+e,r=n.get(t);if(r)return r;let i=this.options.loose,s=i?u[c.HYPHENRANGELOOSE]:u[c.HYPHENRANGE];a("hyphen replace",e=e.replace(s,O(this.options.includePrerelease))),a("comparator trim",e=e.replace(u[c.COMPARATORTRIM],p)),a("tilde trim",e=e.replace(u[c.TILDETRIM],d)),a("caret trim",e=e.replace(u[c.CARETTRIM],f));let l=e.split(" ").map(e=>y(e,this.options)).join(" ").split(/\s+/).map(e=>R(e,this.options));i&&(l=l.filter(e=>(a("loose invalid filter",e,this.options),!!e.match(u[c.COMPARATORLOOSE])))),a("range list",l);let h=new Map();for(let e of l.map(e=>new o(e,this.options))){if(v(e))return[e];h.set(e.value,e);}h.size>1&&h.has("")&&h.delete("");let E=[...h.values()];return n.set(t,E),E;}intersects(e,t){if(!(e instanceof r))throw TypeError("a Range is required");return this.set.some(r=>w(r,t)&&e.set.some(e=>w(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 s(e,this.options);}catch(e){return!1;}for(let t=0;t<this.set.length;t++)if(C(this.set[t],e,this.options))return!0;return!1;}}e.exports=r;let n=new(rI("31A6g"))({max:1e3});var i=rI("5v8m5"),o=rI("1bxhC"),a=rI("jl9Uf"),s=rI("8cXe9"),l=rI("hhSwF"),u=l.safeRe,c=l.t,p=l.comparatorTrimReplace,d=l.tildeTrimReplace,f=l.caretTrimReplace,h=rI("iXsaM"),m=h.FLAG_INCLUDE_PRERELEASE,g=h.FLAG_LOOSE;let v=e=>"<0.0.0-0"===e.value,E=e=>""===e.value,w=(e,t)=>{let r=!0,n=e.slice(),i=n.pop();for(;r&&n.length;)r=n.every(e=>i.intersects(e,t)),i=n.pop();return r;},y=(e,t)=>(a("comp",e,t),a("caret",e=S(e,t)),a("tildes",e=x(e,t)),a("xrange",e=N(e,t)),a("stars",e=A(e,t)),e),b=e=>!e||"x"===e.toLowerCase()||"*"===e,x=(e,t)=>e.trim().split(/\s+/).map(e=>D(e,t)).join(" "),D=(e,t)=>{let r=t.loose?u[c.TILDELOOSE]:u[c.TILDE];return e.replace(r,(t,r,n,i,o)=>{let s;return a("tilde",e,t,r,n,i,o),b(r)?s="":b(n)?s=`>=${r}.0.0 <${+r+1}.0.0-0`:b(i)?s=`>=${r}.${n}.0 <${r}.${+n+1}.0-0`:o?(a("replaceTilde pr",o),s=`>=${r}.${n}.${i}-${o} <${r}.${+n+1}.0-0`):s=`>=${r}.${n}.${i} <${r}.${+n+1}.0-0`,a("tilde return",s),s;});},S=(e,t)=>e.trim().split(/\s+/).map(e=>T(e,t)).join(" "),T=(e,t)=>{a("caret",e,t);let r=t.loose?u[c.CARETLOOSE]:u[c.CARET],n=t.includePrerelease?"-0":"";return e.replace(r,(t,r,i,o,s)=>{let l;return a("caret",e,t,r,i,o,s),b(r)?l="":b(i)?l=`>=${r}.0.0${n} <${+r+1}.0.0-0`:b(o)?l="0"===r?`>=${r}.${i}.0${n} <${r}.${+i+1}.0-0`:`>=${r}.${i}.0${n} <${+r+1}.0.0-0`:s?(a("replaceCaret pr",s),l="0"===r?"0"===i?`>=${r}.${i}.${o}-${s} <${r}.${i}.${+o+1}-0`:`>=${r}.${i}.${o}-${s} <${r}.${+i+1}.0-0`:`>=${r}.${i}.${o}-${s} <${+r+1}.0.0-0`):(a("no pr"),l="0"===r?"0"===i?`>=${r}.${i}.${o}${n} <${r}.${i}.${+o+1}-0`:`>=${r}.${i}.${o}${n} <${r}.${+i+1}.0-0`:`>=${r}.${i}.${o} <${+r+1}.0.0-0`),a("caret return",l),l;});},N=(e,t)=>(a("replaceXRanges",e,t),e.split(/\s+/).map(e=>I(e,t)).join(" ")),I=(e,t)=>{e=e.trim();let r=t.loose?u[c.XRANGELOOSE]:u[c.XRANGE];return e.replace(r,(r,n,i,o,s,l)=>{a("xRange",e,r,n,i,o,s,l);let u=b(i),c=u||b(o),p=c||b(s);return"="===n&&p&&(n=""),l=t.includePrerelease?"-0":"",u?r=">"===n||"<"===n?"<0.0.0-0":"*":n&&p?(c&&(o=0),s=0,">"===n?(n=">=",c?(i=+i+1,o=0):o=+o+1,s=0):"<="===n&&(n="<",c?i=+i+1:o=+o+1),"<"===n&&(l="-0"),r=`${n+i}.${o}.${s}${l}`):c?r=`>=${i}.0.0${l} <${+i+1}.0.0-0`:p&&(r=`>=${i}.${o}.0${l} <${i}.${+o+1}.0-0`),a("xRange return",r),r;});},A=(e,t)=>(a("replaceStars",e,t),e.trim().replace(u[c.STAR],"")),R=(e,t)=>(a("replaceGTE0",e,t),e.trim().replace(u[t.includePrerelease?c.GTE0PRE:c.GTE0],"")),O=e=>(t,r,n,i,o,a,s,l,u,c,p,d,f)=>(r=b(n)?"":b(i)?`>=${n}.0.0${e?"-0":""}`:b(o)?`>=${n}.${i}.0${e?"-0":""}`:a?">="+r:`>=${r}${e?"-0":""}`,l=b(u)?"":b(c)?`<${+u+1}.0.0-0`:b(p)?`<${u}.${+c+1}.0-0`:d?`<=${u}.${c}.${p}-${d}`:e?`<${u}.${c}.${+p+1}-0`:"<="+l,`${r} ${l}`.trim()),C=(e,t,r)=>{for(let r=0;r<e.length;r++)if(!e[r].test(t))return!1;if(t.prerelease.length&&!r.includePrerelease){for(let r=0;r<e.length;r++)if(a(e[r].semver),e[r].semver!==o.ANY&&e[r].semver.prerelease.length>0){let n=e[r].semver;if(n.major===t.major&&n.minor===t.minor&&n.patch===t.patch)return!0;}return!1;}return!0;};}),rA("31A6g",function(e,t){var r=rI("i08Cw");let n=Symbol(),i=Symbol(),o=Symbol(),a=Symbol(),s=Symbol(),l=Symbol(),u=Symbol(),c=Symbol(),p=Symbol(),d=Symbol(),f=()=>1,h=(e,t,r)=>{let n=e[p].get(t);if(n){let t=n.value;if(m(e,t)){if(v(e,n),!e[a])return;}else r&&(e[d]&&(n.value.now=Date.now()),e[c].unshiftNode(n));return t.value;}},m=(e,t)=>{if(!t||!t.maxAge&&!e[s])return!1;let r=Date.now()-t.now;return t.maxAge?r>t.maxAge:e[s]&&r>e[s];},g=e=>{if(e[i]>e[n])for(let t=e[c].tail;e[i]>e[n]&&null!==t;){let r=t.prev;v(e,t),t=r;}},v=(e,t)=>{if(t){let r=t.value;e[l]&&e[l](r.key,r.value),e[i]-=r.length,e[p].delete(r.key),e[c].removeNode(t);}};class E{constructor(e,t,r,n,i){this.key=e,this.value=t,this.length=r,this.now=n,this.maxAge=i||0;}}let w=(e,t,r,n)=>{let i=r.value;m(e,i)&&(v(e,r),e[a]||(i=void 0)),i&&t.call(n,i.value,i.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 TypeError("max must be a non-negative number");this[n]=e.max||1/0;let t=e.length||f;if(this[o]="function"!=typeof t?f:t,this[a]=e.stale||!1,e.maxAge&&"number"!=typeof e.maxAge)throw TypeError("maxAge must be a number");this[s]=e.maxAge||0,this[l]=e.dispose,this[u]=e.noDisposeOnSet||!1,this[d]=e.updateAgeOnGet||!1,this.reset();}set max(e){if("number"!=typeof e||e<0)throw TypeError("max must be a non-negative number");this[n]=e||1/0,g(this);}get max(){return this[n];}set allowStale(e){this[a]=!!e;}get allowStale(){return this[a];}set maxAge(e){if("number"!=typeof e)throw TypeError("maxAge must be a non-negative number");this[s]=e,g(this);}get maxAge(){return this[s];}set lengthCalculator(e){"function"!=typeof e&&(e=f),e!==this[o]&&(this[o]=e,this[i]=0,this[c].forEach(e=>{e.length=this[o](e.value,e.key),this[i]+=e.length;})),g(this);}get lengthCalculator(){return this[o];}get length(){return this[i];}get itemCount(){return this[c].length;}rforEach(e,t){t=t||this;for(let r=this[c].tail;null!==r;){let n=r.prev;w(this,e,r,t),r=n;}}forEach(e,t){t=t||this;for(let r=this[c].head;null!==r;){let n=r.next;w(this,e,r,t),r=n;}}keys(){return this[c].toArray().map(e=>e.key);}values(){return this[c].toArray().map(e=>e.value);}reset(){this[l]&&this[c]&&this[c].length&&this[c].forEach(e=>this[l](e.key,e.value)),this[p]=new Map(),this[c]=new r(),this[i]=0;}dump(){return this[c].map(e=>!m(this,e)&&{k:e.key,v:e.value,e:e.now+(e.maxAge||0)}).toArray().filter(e=>e);}dumpLru(){return this[c];}set(e,t,r){if((r=r||this[s])&&"number"!=typeof r)throw TypeError("maxAge must be a number");let a=r?Date.now():0,d=this[o](t,e);if(this[p].has(e)){if(d>this[n])return v(this,this[p].get(e)),!1;let o=this[p].get(e).value;return this[l]&&!this[u]&&this[l](e,o.value),o.now=a,o.maxAge=r,o.value=t,this[i]+=d-o.length,o.length=d,this.get(e),g(this),!0;}let f=new E(e,t,d,a,r);return f.length>this[n]?(this[l]&&this[l](e,t),!1):(this[i]+=f.length,this[c].unshift(f),this[p].set(e,this[c].head),g(this),!0);}has(e){return!!this[p].has(e)&&!m(this,this[p].get(e).value);}get(e){return h(this,e,!0);}peek(e){return h(this,e,!1);}pop(){let e=this[c].tail;return e?(v(this,e),e.value):null;}del(e){v(this,this[p].get(e));}load(e){this.reset();let t=Date.now();for(let r=e.length-1;r>=0;r--){let n=e[r],i=n.e||0;if(0===i)this.set(n.k,n.v);else{let e=i-t;e>0&&this.set(n.k,n.v,e);}}}prune(){this[p].forEach((e,t)=>h(this,t,!1));}};}),rA("i08Cw",function(e,t){function r(e){var t=this;if(t instanceof r||(t=new r()),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 n=0,i=arguments.length;i>n;n++)t.push(arguments[n]);return t;}function n(e,t,r,i){if(!(this instanceof n))return new n(e,t,r,i);this.list=i,this.value=e,t?(t.next=this,this.prev=t):this.prev=null,r?(r.prev=this,this.next=r):this.next=null;}e.exports=r,r.Node=n,r.create=r,r.prototype.removeNode=function(e){if(e.list!==this)throw Error("removing node which does not belong to this list");var t=e.next,r=e.prev;return t&&(t.prev=r),r&&(r.next=t),e===this.head&&(this.head=t),e===this.tail&&(this.tail=r),e.list.length--,e.next=null,e.prev=null,e.list=null,t;},r.prototype.unshiftNode=function(e){if(e!==this.head){e.list&&e.list.removeNode(e);var t=this.head;e.list=this,e.next=t,t&&(t.prev=e),this.head=e,this.tail||(this.tail=e),this.length++;}},r.prototype.pushNode=function(e){if(e!==this.tail){e.list&&e.list.removeNode(e);var t=this.tail;e.list=this,e.prev=t,t&&(t.next=e),this.tail=e,this.head||(this.head=e),this.length++;}},r.prototype.push=function(){for(var e,t=0,r=arguments.length;r>t;t++)e=arguments[t],this.tail=new n(e,this.tail,null,this),this.head||(this.head=this.tail),this.length++;return this.length;},r.prototype.unshift=function(){for(var e,t=0,r=arguments.length;r>t;t++)e=arguments[t],this.head=new n(e,null,this.head,this),this.tail||(this.tail=this.head),this.length++;return this.length;},r.prototype.pop=function(){if(this.tail){var e=this.tail.value;return this.tail=this.tail.prev,this.tail?this.tail.next=null:this.head=null,this.length--,e;}},r.prototype.shift=function(){if(this.head){var e=this.head.value;return this.head=this.head.next,this.head?this.head.prev=null:this.tail=null,this.length--,e;}},r.prototype.forEach=function(e,t){t=t||this;for(var r=this.head,n=0;null!==r;n++)e.call(t,r.value,n,this),r=r.next;},r.prototype.forEachReverse=function(e,t){t=t||this;for(var r=this.tail,n=this.length-1;null!==r;n--)e.call(t,r.value,n,this),r=r.prev;},r.prototype.get=function(e){for(var t=0,r=this.head;null!==r&&e>t;t++)r=r.next;if(t===e&&null!==r)return r.value;},r.prototype.getReverse=function(e){for(var t=0,r=this.tail;null!==r&&e>t;t++)r=r.prev;if(t===e&&null!==r)return r.value;},r.prototype.map=function(e,t){t=t||this;for(var n=new r(),i=this.head;null!==i;)n.push(e.call(t,i.value,this)),i=i.next;return n;},r.prototype.mapReverse=function(e,t){t=t||this;for(var n=new r(),i=this.tail;null!==i;)n.push(e.call(t,i.value,this)),i=i.prev;return n;},r.prototype.reduce=function(e,t){var r,n=this.head;if(arguments.length>1)r=t;else if(this.head)n=this.head.next,r=this.head.value;else throw TypeError("Reduce of empty list with no initial value");for(var i=0;null!==n;i++)r=e(r,n.value,i),n=n.next;return r;},r.prototype.reduceReverse=function(e,t){var r,n=this.tail;if(arguments.length>1)r=t;else if(this.tail)n=this.tail.prev,r=this.tail.value;else throw TypeError("Reduce of empty list with no initial value");for(var i=this.length-1;null!==n;i--)r=e(r,n.value,i),n=n.prev;return r;},r.prototype.toArray=function(){for(var e=Array(this.length),t=0,r=this.head;null!==r;t++)e[t]=r.value,r=r.next;return e;},r.prototype.toArrayReverse=function(){for(var e=Array(this.length),t=0,r=this.tail;null!==r;t++)e[t]=r.value,r=r.prev;return e;},r.prototype.slice=function(e,t){(t=t||this.length)<0&&(t+=this.length),(e=e||0)<0&&(e+=this.length);var n=new r();if(t<e||t<0)return n;e<0&&(e=0),t>this.length&&(t=this.length);for(var i=0,o=this.head;null!==o&&i<e;i++)o=o.next;for(;null!==o&&t>i;i++,o=o.next)n.push(o.value);return n;},r.prototype.sliceReverse=function(e,t){(t=t||this.length)<0&&(t+=this.length),(e=e||0)<0&&(e+=this.length);var n=new r();if(t<e||t<0)return n;e<0&&(e=0),t>this.length&&(t=this.length);for(var i=this.length,o=this.tail;null!==o&&i>t;i--)o=o.prev;for(;null!==o&&i>e;i--,o=o.prev)n.push(o.value);return n;},r.prototype.splice=function(e,t,...r){e>this.length&&(e=this.length-1),e<0&&(e=this.length+e);for(var i=0,o=this.head;null!==o&&e>i;i++)o=o.next;for(var a=[],i=0;o&&i<t;i++)a.push(o.value),o=this.removeNode(o);null===o&&(o=this.tail),o!==this.head&&o!==this.tail&&(o=o.prev);for(var i=0;i<r.length;i++)o=function(e,t,r){var i=t===e.head?new n(r,null,t,e):new n(r,t,t.next,e);return null===i.next&&(e.tail=i),null===i.prev&&(e.head=i),e.length++,i;}(this,o,r[i]);return a;},r.prototype.reverse=function(){for(var e=this.head,t=this.tail,r=e;null!==r;r=r.prev){var n=r.prev;r.prev=r.next,r.next=n;}return this.head=t,this.tail=e,this;};try{rI("5MZUR")(r);}catch(e){}}),rA("5MZUR",function(e,t){e.exports=function(e){e.prototype[Symbol.iterator]=function*(){for(let e=this.head;e;e=e.next)yield e.value;};};}),rA("42oIR",function(e,t){var r=rI("bswWF");e.exports=(e,t,n)=>{try{t=new r(t,n);}catch(e){return!1;}return t.test(e);};}),rA("4zfp3",function(e,t){var r=rI("bswWF");e.exports=(e,t)=>new r(e,t).set.map(e=>e.map(e=>e.value).join(" ").trim().split(" "));}),rA("ga5uZ",function(e,t){var r=rI("8cXe9"),n=rI("bswWF");e.exports=(e,t,i)=>{let o=null,a=null,s=null;try{s=new n(t,i);}catch(e){return null;}return e.forEach(e=>{s.test(e)&&(!o||-1===a.compare(e))&&(a=new r(o=e,i));}),o;};}),rA("lPGVL",function(e,t){var r=rI("8cXe9"),n=rI("bswWF");e.exports=(e,t,i)=>{let o=null,a=null,s=null;try{s=new n(t,i);}catch(e){return null;}return e.forEach(e=>{s.test(e)&&(!o||1===a.compare(e))&&(a=new r(o=e,i));}),o;};}),rA("1I8AA",function(e,t){var r=rI("8cXe9"),n=rI("bswWF"),i=rI("cOpcP");e.exports=(e,t)=>{e=new n(e,t);let o=new r("0.0.0");if(e.test(o)||(o=new r("0.0.0-0"),e.test(o)))return o;o=null;for(let t=0;t<e.set.length;++t){let n=e.set[t],a=null;n.forEach(e=>{let t=new r(e.semver.version);switch(e.operator){case">":0===t.prerelease.length?t.patch++:t.prerelease.push(0),t.raw=t.format();case"":case">=":(!a||i(t,a))&&(a=t);break;case"<":case"<=":break;default:throw Error("Unexpected operation: "+e.operator);}}),a&&(!o||i(o,a))&&(o=a);}return o&&e.test(o)?o:null;};}),rA("dBtft",function(e,t){var r=rI("bswWF");e.exports=(e,t)=>{try{return new r(e,t).range||"*";}catch(e){return null;}};}),rA("83Sp2",function(e,t){var r=rI("8cXe9"),n=rI("1bxhC");let{ANY:i}=n;var o=rI("bswWF"),a=rI("42oIR"),s=rI("cOpcP"),l=rI("58P10"),u=rI("hlfY9"),c=rI("3XWvL");e.exports=(e,t,p,d)=>{let f,h,m,g,v;switch(e=new r(e,d),t=new o(t,d),p){case">":f=s,h=u,m=l,g=">",v=">=";break;case"<":f=l,h=c,m=s,g="<",v="<=";break;default:throw TypeError('Must provide a hilo val of "<" or ">"');}if(a(e,t,d))return!1;for(let r=0;r<t.set.length;++r){let o=t.set[r],a=null,s=null;if(o.forEach(e=>{e.semver===i&&(e=new n(">=0.0.0")),a=a||e,s=s||e,f(e.semver,a.semver,d)?a=e:m(e.semver,s.semver,d)&&(s=e);}),a.operator===g||a.operator===v||(!s.operator||s.operator===g)&&h(e,s.semver)||s.operator===v&&m(e,s.semver))return!1;}return!0;};}),rA("eK4my",function(e,t){var r=rI("83Sp2");e.exports=(e,t,n)=>r(e,t,">",n);}),rA("eNXBI",function(e,t){var r=rI("83Sp2");e.exports=(e,t,n)=>r(e,t,"<",n);}),rA("kHzUo",function(e,t){var r=rI("bswWF");e.exports=(e,t,n)=>(e=new r(e,n),t=new r(t,n),e.intersects(t,n));}),rA("1x2XZ",function(e,t){var r=rI("42oIR"),n=rI("jDqfd");e.exports=(e,t,i)=>{let o=[],a=null,s=null,l=e.sort((e,t)=>n(e,t,i));for(let e of l)r(e,t,i)?(s=e,a||(a=e)):(s&&o.push([a,s]),s=null,a=null);a&&o.push([a,null]);let u=[];for(let[e,t]of o)e===t?u.push(e):t||e!==l[0]?t?e===l[0]?u.push("<="+t):u.push(`${e} - ${t}`):u.push(">="+e):u.push("*");let c=u.join(" || "),p="string"==typeof t.raw?t.raw:t+"";return c.length<p.length?c:t;};}),rA("hTYir",function(e,t){var r=rI("bswWF"),n=rI("1bxhC");let{ANY:i}=n;var o=rI("42oIR"),a=rI("jDqfd");let s=[new n(">=0.0.0-0")],l=[new n(">=0.0.0")],u=(e,t,r)=>{let n,u,d,f,h,m,g;if(e===t)return!0;if(1===e.length&&e[0].semver===i){if(1===t.length&&t[0].semver===i)return!0;e=r.includePrerelease?s:l;}if(1===t.length&&t[0].semver===i){if(r.includePrerelease)return!0;t=l;}let v=new Set();for(let t of e)">"===t.operator||">="===t.operator?n=c(n,t,r):"<"===t.operator||"<="===t.operator?u=p(u,t,r):v.add(t.semver);if(v.size>1||n&&u&&((d=a(n.semver,u.semver,r))>0||0===d&&(">="!==n.operator||"<="!==u.operator)))return null;for(let e of v){if(n&&!o(e,n+"",r)||u&&!o(e,u+"",r))return null;for(let n of t)if(!o(e,n+"",r))return!1;return!0;}let E=!!u&&!r.includePrerelease&&!!u.semver.prerelease.length&&u.semver,w=!!n&&!r.includePrerelease&&!!n.semver.prerelease.length&&n.semver;for(let e of(E&&1===E.prerelease.length&&"<"===u.operator&&0===E.prerelease[0]&&(E=!1),t)){if(g=g||">"===e.operator||">="===e.operator,m=m||"<"===e.operator||"<="===e.operator,n){if(w&&e.semver.prerelease&&e.semver.prerelease.length&&e.semver.major===w.major&&e.semver.minor===w.minor&&e.semver.patch===w.patch&&(w=!1),">"===e.operator||">="===e.operator){if((f=c(n,e,r))===e&&f!==n)return!1;}else if(">="===n.operator&&!o(n.semver,e+"",r))return!1;}if(u){if(E&&e.semver.prerelease&&e.semver.prerelease.length&&e.semver.major===E.major&&e.semver.minor===E.minor&&e.semver.patch===E.patch&&(E=!1),"<"===e.operator||"<="===e.operator){if((h=p(u,e,r))===e&&h!==u)return!1;}else if("<="===u.operator&&!o(u.semver,e+"",r))return!1;}if(!e.operator&&(u||n)&&0!==d)return!1;}return(!n||!m||!!u||0===d)&&(!u||!g||!!n||0===d)&&!w&&!E;},c=(e,t,r)=>{if(!e)return t;let n=a(e.semver,t.semver,r);return n>0?e:n<0?t:">"===t.operator&&">="===e.operator?t:e;},p=(e,t,r)=>{if(!e)return t;let n=a(e.semver,t.semver,r);return n<0?e:n>0?t:"<"===t.operator&&"<="===e.operator?t:e;};e.exports=(e,t,n={})=>{if(e===t)return!0;e=new r(e,n),t=new r(t,n);let i=!1;e:for(let r of e.set){for(let e of t.set){let t=u(r,e,n);if(i=i||null!==t,t)continue e;}if(i)return!1;}return!0;};}),rA("8CJZb",function(e,t){e.exports=function(e){if("string"!=typeof e)throw TypeError("Expected a string");return e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&");};}),rA("6t4SD",function(e,t){async function r(e){try{return await(0,rl.promises).access(e),!0;}catch{return!1;}}c(e.exports,"pathExists",()=>r);}),rA("eAXk4",function(e,t){var r,n,i,o,a,s,l,u,d,f,h,m,g;function v(e,t){return Object.keys(t).forEach(r=>{"default"===r||"__esModule"===r||e.hasOwnProperty(r)||Object.defineProperty(e,r,{enumerable:!0,get:()=>t[r]});}),e;}function E(e,t,r,n){Object.defineProperty(e,t,{get:r,set:n,enumerable:!0,configurable:!0});}function w(e,t=!0){return t?(0,n6.basename)(e):(0,n6.basename)(e,(0,n6.extname)(e));}function y(e){return(0,n6.normalize)(e).replace(RegExp((0,r.default)(n6.sep)+"$"),"");}function b(e,t=".exe",r=""){return"win32"===process.platform?`${e}${t}`:`${e}${r}`;}function x(e,t){let r=(0,n6.extname)(e),n=`${t}${(0,n6.basename)(e,r)}${r}`;return(0,n6.join)((0,n6.dirname)(e),n);}function D(e,t){let r=(0,n6.extname)(e),n=`${(0,n6.basename)(e,r)}${t}${r}`;return(0,n6.join)((0,n6.dirname)(e),n);}function S(e,t=".cmd",r=".sh"){return"win32"===process.platform?`${e}${t}`:`${e}${r}`;}function T(e){return"win32"===process.platform?e:"./"+e;}function N(e){let t=(0,n6.extname)(e).length;return e.slice(0,-t);}function I(e,t){return p(n)(e,t);}function A(e,t){let r=(0,n6.relative)(t,e);return!(!r||".."===r||r.startsWith(".."+n6.sep)||r===(0,n6.resolve)(e));}c(e.exports,"addExeExt",()=>b),c(e.exports,"addShExt",()=>S),c(e.exports,"addShRelativePrefix",()=>T),c(e.exports,"dirname",()=>n6.dirname),c(e.exports,"join",()=>n6.join),r=rI("f44Uw"),n=rI("fBJE3"),i={},E(o={},"name",()=>w),E(a={},"normalizeTrim",()=>y),E(s={},"addExeExt",()=>b),E(l={},"addNamePrefix",()=>x),E(u={},"addNameSuffix",()=>D),E(d={},"addShExt",()=>S),E(f={},"addShRelativePrefix",()=>T),E(h={},"removeExt",()=>N),E(m={},"replaceExt",()=>I),E(g={},"isPathInside",()=>A),v(i,o),v(i,a),v(i,s),v(i,l),v(i,u),v(i,d),v(i,f),v(i,h),v(i,m),v(i,g);}),rA("f44Uw",function(e,t){function r(e){if("string"!=typeof e)throw TypeError("Expected a string");return e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d");}c(e.exports,"default",()=>r);}),rA("fBJE3",function(e,t){e.exports=function(e,t){if("string"!=typeof e||0===e.length)return e;var r,n=n6.basename(e,n6.extname(e))+t,i=n6.join(n6.dirname(e),n);return(r=e.slice(0,2))==="."+n6.sep||"./"===r?"."+n6.sep+i:i;};}),rA("zdagz",function(e,t){var r,n,i,o;function a(e){return o(this,void 0,void 0,function*(){if(p.IS_WINDOWS&&/[*"<>|]/.test(e))throw Error('File path must not contain `*`, `"`, `<`, `>` or `|` on Windows');try{yield p.rm(e,{force:!0,maxRetries:3,recursive:!0,retryDelay:300});}catch(e){throw Error("File was unable to be removed "+e);}});}function s(e){return o(this,void 0,void 0,function*(){ra.ok(e,"a path argument must be provided"),yield p.mkdir(e,{recursive:!0});});}function l(e){return o(this,void 0,void 0,function*(){if(!e)throw Error("parameter 'tool' is required");let t=[];if(p.IS_WINDOWS&&process.env.PATHEXT)for(let e of process.env.PATHEXT.split(c.delimiter))e&&t.push(e);if(p.isRooted(e)){let r=yield p.tryGetExecutablePath(e,t);return r?[r]:[];}if(e.includes(c.sep))return[];let r=[];if(process.env.PATH)for(let e of process.env.PATH.split(c.delimiter))e&&r.push(e);let n=[];for(let i of r){let r=yield p.tryGetExecutablePath(c.join(i,e),t);r&&n.push(r);}return n;});}function u(e,t,r){return o(this,void 0,void 0,function*(){if((yield p.lstat(e)).isSymbolicLink()){try{yield p.lstat(t),yield p.unlink(t);}catch(e){"EPERM"===e.code&&(yield p.chmod(t,"0666"),yield p.unlink(t));}let r=yield p.readlink(e);yield p.symlink(r,t,p.IS_WINDOWS?"junction":null);}else(!(yield p.exists(t))||r)&&(yield p.copyFile(e,t));});}r=e.exports&&e.exports.__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];}),n=e.exports&&e.exports.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t});}:function(e,t){e.default=t;}),i=e.exports&&e.exports.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var i in e)"default"!==i&&Object.hasOwnProperty.call(e,i)&&r(t,e,i);return n(t,e),t;},o=e.exports&&e.exports.__awaiter||function(e,t,r,n){return new(r||(r=Promise))(function(i,o){function a(e){try{l(n.next(e));}catch(e){o(e);}}function s(e){try{l(n.throw(e));}catch(e){o(e);}}function l(e){var t;e.done?i(e.value):((t=e.value)instanceof r?t:new r(function(e){e(t);})).then(a,s);}l((n=n.apply(e,t||[])).next());});},Object.defineProperty(e.exports,"__esModule",{value:!0}),e.exports.findInPath=e.exports.which=e.exports.mkdirP=e.exports.rmRF=e.exports.mv=e.exports.cp=void 0;let c=i(n6),p=i(rI("fwMQK"));e.exports.cp=function(e,t,r={}){return o(this,void 0,void 0,function*(){let{force:n,recursive:i,copySourceDirectory:a}=function(e){let t=null==e.force||e.force;return{force:t,recursive:!!e.recursive,copySourceDirectory:null==e.copySourceDirectory||!!e.copySourceDirectory};}(r),l=(yield p.exists(t))?yield p.stat(t):null;if(l&&l.isFile()&&!n)return;let d=l&&l.isDirectory()&&a?c.join(t,c.basename(e)):t;if(!(yield p.exists(e)))throw Error("no such file or directory: "+e);if((yield p.stat(e)).isDirectory()){if(i)yield function e(t,r,n,i){return o(this,void 0,void 0,function*(){if(!(n>=255)){for(let o of(n++,yield s(r),yield p.readdir(t))){let a=`${t}/${o}`,s=`${r}/${o}`;(yield p.lstat(a)).isDirectory()?yield e(a,s,n,i):yield u(a,s,i);}yield p.chmod(r,(yield p.stat(t)).mode);}});}(e,d,0,n);else throw Error(`Failed to copy. ${e} is a directory, but tried to copy without recursive flag.`);}else{if(""===c.relative(e,d))throw Error(`'${d}' and '${e}' are the same file`);yield u(e,d,n);}});},e.exports.mv=function(e,t,r={}){return o(this,void 0,void 0,function*(){if(yield p.exists(t)){let n=!0;if((yield p.isDirectory(t))&&(t=c.join(t,c.basename(e)),n=yield p.exists(t)),n){if(null==r.force||r.force)yield a(t);else throw Error("Destination already exists");}}yield s(c.dirname(t)),yield p.rename(e,t);});},e.exports.rmRF=a,e.exports.mkdirP=s,e.exports.which=function e(t,r){return o(this,void 0,void 0,function*(){if(!t)throw Error("parameter 'tool' is required");if(r){let r=yield e(t,!1);if(!r){if(p.IS_WINDOWS)throw Error(`Unable to locate executable file: ${t}. Please verify either the file path exists or the file can be found within a directory specified by the PATH environment variable. Also verify the file has a valid extension for an executable file.`);throw Error(`Unable to locate executable file: ${t}. Please verify either the file path exists or the file can be found within a directory specified by the PATH environment variable. Also check the file mode to verify the file is executable.`);}return r;}let n=yield l(t);return n&&n.length>0?n[0]:"";});},e.exports.findInPath=l;}),rA("fwMQK",function(e,t){var r,n,i,o,a;function s(e){return(1&e.mode)>0||(8&e.mode)>0&&e.gid===process.getgid()||(64&e.mode)>0&&e.uid===process.getuid();}r=e.exports&&e.exports.__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];}),n=e.exports&&e.exports.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t});}:function(e,t){e.default=t;}),i=e.exports&&e.exports.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var i in e)"default"!==i&&Object.hasOwnProperty.call(e,i)&&r(t,e,i);return n(t,e),t;},o=e.exports&&e.exports.__awaiter||function(e,t,r,n){return new(r||(r=Promise))(function(i,o){function a(e){try{l(n.next(e));}catch(e){o(e);}}function s(e){try{l(n.throw(e));}catch(e){o(e);}}function l(e){var t;e.done?i(e.value):((t=e.value)instanceof r?t:new r(function(e){e(t);})).then(a,s);}l((n=n.apply(e,t||[])).next());});},Object.defineProperty(e.exports,"__esModule",{value:!0}),e.exports.getCmdPath=e.exports.tryGetExecutablePath=e.exports.isRooted=e.exports.isDirectory=e.exports.exists=e.exports.READONLY=e.exports.UV_FS_O_EXLOCK=e.exports.IS_WINDOWS=e.exports.unlink=e.exports.symlink=e.exports.stat=e.exports.rmdir=e.exports.rm=e.exports.rename=e.exports.readlink=e.exports.readdir=e.exports.open=e.exports.mkdir=e.exports.lstat=e.exports.copyFile=e.exports.chmod=void 0;let l=i(n8),u=i(n6);a=l.promises,e.exports.chmod=a.chmod,e.exports.copyFile=a.copyFile,e.exports.lstat=a.lstat,e.exports.mkdir=a.mkdir,e.exports.open=a.open,e.exports.readdir=a.readdir,e.exports.readlink=a.readlink,e.exports.rename=a.rename,e.exports.rm=a.rm,e.exports.rmdir=a.rmdir,e.exports.stat=a.stat,e.exports.symlink=a.symlink,e.exports.unlink=a.unlink,e.exports.IS_WINDOWS="win32"===process.platform,e.exports.UV_FS_O_EXLOCK=268435456,e.exports.READONLY=l.constants.O_RDONLY,e.exports.exists=function(t){return o(this,void 0,void 0,function*(){try{yield e.exports.stat(t);}catch(e){if("ENOENT"===e.code)return!1;throw e;}return!0;});},e.exports.isDirectory=function(t,r=!1){return o(this,void 0,void 0,function*(){return(r?yield e.exports.stat(t):yield e.exports.lstat(t)).isDirectory();});},e.exports.isRooted=function(t){var r;if(r=(r=t)||"",!(t=e.exports.IS_WINDOWS?(r=r.replace(/\//g,"\\")).replace(/\\\\+/g,"\\"):r.replace(/\/\/+/g,"/")))throw Error('isRooted() parameter "p" cannot be empty');return e.exports.IS_WINDOWS?t.startsWith("\\")||/^[A-Z]:/i.test(t):t.startsWith("/");},e.exports.tryGetExecutablePath=function(t,r){return o(this,void 0,void 0,function*(){let n;try{n=yield e.exports.stat(t);}catch(e){"ENOENT"!==e.code&&console.log(`Unexpected error attempting to determine if executable file exists '${t}': ${e}`);}if(n&&n.isFile()){if(e.exports.IS_WINDOWS){let e=u.extname(t).toUpperCase();if(r.some(t=>t.toUpperCase()===e))return t;}else if(s(n))return t;}let i=t;for(let o of r){t=i+o,n=void 0;try{n=yield e.exports.stat(t);}catch(e){"ENOENT"!==e.code&&console.log(`Unexpected error attempting to determine if executable file exists '${t}': ${e}`);}if(n&&n.isFile()){if(e.exports.IS_WINDOWS){try{let r=u.dirname(t),n=u.basename(t).toUpperCase();for(let i of yield e.exports.readdir(r))if(n===i.toUpperCase()){t=u.join(r,i);break;}}catch(e){console.log(`Unexpected error attempting to determine the actual case of the file '${t}': ${e}`);}return t;}if(s(n))return t;}}return"";});},e.exports.getCmdPath=function(){var e;return null!==(e=process.env.COMSPEC)&&void 0!==e?e:"cmd.exe";};}),rA("gn8Si",function(e,t){var r,n,i,o,a;r=e.exports&&e.exports.__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];}),n=e.exports&&e.exports.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t});}:function(e,t){e.default=t;}),i=e.exports&&e.exports.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var i in e)"default"!==i&&Object.hasOwnProperty.call(e,i)&&r(t,e,i);return n(t,e),t;},o=e.exports&&e.exports.__awaiter||function(e,t,r,n){return new(r||(r=Promise))(function(i,o){function a(e){try{l(n.next(e));}catch(e){o(e);}}function s(e){try{l(n.throw(e));}catch(e){o(e);}}function l(e){var t;e.done?i(e.value):((t=e.value)instanceof r?t:new r(function(e){e(t);})).then(a,s);}l((n=n.apply(e,t||[])).next());});},Object.defineProperty(e.exports,"__esModule",{value:!0}),e.exports._readLinuxVersionFile=e.exports._getOsVersion=e.exports._findMatch=void 0;let s=i(rI("0306Y"));a=rI("1o3Gj"),e.exports._findMatch=function(t,r,n,i){return o(this,void 0,void 0,function*(){let o,l,u;let c=n5.platform();for(let o of n){let n=o.version;if(a.debug(`check ${n} satisfies ${t}`),s.satisfies(n,t)&&(!r||o.stable===r)&&(u=o.files.find(t=>{a.debug(`${t.arch}===${i} && ${t.platform}===${c}`);let r=t.arch===i&&t.platform===c;if(r&&t.platform_version){let n=e.exports._getOsVersion();r=n===t.platform_version||s.satisfies(n,t.platform_version);}return r;}))){a.debug("matched "+o.version),l=o;break;}}return l&&u&&((o=Object.assign({},l)).files=[u]),o;});},e.exports._getOsVersion=function(){let t=n5.platform(),r="";if("darwin"===t)r=ru.execSync("sw_vers -productVersion").toString();else if("linux"===t){let t=e.exports._readLinuxVersionFile();if(t)for(let e of t.split("\n")){let t=e.split("=");if(2===t.length&&("VERSION_ID"===t[0].trim()||"DISTRIB_RELEASE"===t[0].trim())){r=t[1].trim().replace(/^"/,"").replace(/"$/,"");break;}}}return r;},e.exports._readLinuxVersionFile=function(){let e="/etc/lsb-release",t="/etc/os-release",r="";return n8.existsSync(e)?r=n8.readFileSync(e).toString():n8.existsSync(t)&&(r=n8.readFileSync(t).toString()),r;};}),rA("0306Y",function(e,t){function r(e){R[e]=O++;}function n(e){for(var t=0;t<_.length;t++){var r=_[t][0],n=_[t][1];e=e.split(r+"*").join(r+"{0,"+n+"}").split(r+"+").join(r+"{1,"+n+"}");}return e;}function i(e,t){if(t&&"object"==typeof t||(t={loose:!!t,includePrerelease:!1}),e instanceof o)return e;if("string"!=typeof e||e.length>D||!(t.loose?I[R.LOOSE]:I[R.FULL]).test(e))return null;try{return new o(e,t);}catch(e){return null;}}function o(e,t){if(t&&"object"==typeof t||(t={loose:!!t,includePrerelease:!1}),e instanceof o){if(e.loose===t.loose)return e;e=e.version;}else if("string"!=typeof e)throw TypeError("Invalid Version: "+e);if(e.length>D)throw TypeError("version is longer than "+D+" characters");if(!(this instanceof o))return new o(e,t);x("SemVer",e,t),this.options=t,this.loose=!!t.loose;var r=e.trim().match(t.loose?I[R.LOOSE]:I[R.FULL]);if(!r)throw 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 TypeError("Invalid major version");if(this.minor>S||this.minor<0)throw TypeError("Invalid minor version");if(this.patch>S||this.patch<0)throw TypeError("Invalid patch version");r[4]?this.prerelease=r[4].split(".").map(function(e){if(/^[0-9]+$/.test(e)){var t=+e;if(t>=0&&t<S)return t;}return e;}):this.prerelease=[],this.build=r[5]?r[5].split("."):[],this.format();}function a(e,t){var r=$.test(e),n=$.test(t);return r&&n&&(e=+e,t=+t),e===t?0:r&&!n?-1:n&&!r?1:t>e?-1:1;}function s(e,t,r){return new o(e,r).compare(new o(t,r));}function l(e,t,r){return s(e,t,r)>0;}function u(e,t,r){return 0>s(e,t,r);}function c(e,t,r){return 0===s(e,t,r);}function p(e,t,r){return 0!==s(e,t,r);}function d(e,t,r){return s(e,t,r)>=0;}function f(e,t,r){return 0>=s(e,t,r);}function h(e,t,r,n){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 c(e,r,n);case"!=":return p(e,r,n);case">":return l(e,r,n);case">=":return d(e,r,n);case"<":return u(e,r,n);case"<=":return f(e,r,n);default:throw TypeError("Invalid operator: "+t);}}function m(e,t){if(t&&"object"==typeof t||(t={loose:!!t,includePrerelease:!1}),e instanceof m){if(!!t.loose===e.loose)return e;e=e.value;}if(!(this instanceof m))return new m(e,t);e=e.trim().split(/\s+/).join(" "),x("comparator",e,t),this.options=t,this.loose=!!t.loose,this.parse(e),this.semver===L?this.value="":this.value=this.operator+this.semver.version,x("comp",this);}function g(e,t){if(t&&"object"==typeof t||(t={loose:!!t,includePrerelease:!1}),e instanceof g)return!!t.loose===e.loose&&!!t.includePrerelease===e.includePrerelease?e:new g(e.raw,t);if(e instanceof m)return new g(e.value,t);if(!(this instanceof g))return new g(e,t);if(this.options=t,this.loose=!!t.loose,this.includePrerelease=!!t.includePrerelease,this.raw=e.trim().split(/\s+/).join(" "),this.set=this.raw.split("||").map(function(e){return this.parseRange(e.trim());},this).filter(function(e){return e.length;}),!this.set.length)throw TypeError("Invalid SemVer Range: "+this.raw);this.format();}function v(e,t){for(var r=!0,n=e.slice(),i=n.pop();r&&n.length;)r=n.every(function(e){return i.intersects(e,t);}),i=n.pop();return r;}function E(e){return!e||"x"===e.toLowerCase()||"*"===e;}function w(e,t,r,n,i,o,a,s,l,u,c,p,d){return((t=E(r)?"":E(n)?">="+r+".0.0":E(i)?">="+r+"."+n+".0":">="+t)+" "+(s=E(l)?"":E(u)?"<"+(+l+1)+".0.0":E(c)?"<"+l+"."+(+u+1)+".0":p?"<="+l+"."+u+"."+c+"-"+p:"<="+s)).trim();}function y(e,t,r){try{t=new g(t,r);}catch(e){return!1;}return t.test(e);}function b(e,t,r,n){switch(e=new o(e,n),t=new g(t,n),r){case">":i=l,a=f,s=u,c=">",p=">=";break;case"<":i=u,a=d,s=l,c="<",p="<=";break;default:throw TypeError('Must provide a hilo val of "<" or ">"');}if(y(e,t,n))return!1;for(var i,a,s,c,p,h=0;h<t.set.length;++h){var v=t.set[h],E=null,w=null;if(v.forEach(function(e){e.semver===L&&(e=new m(">=0.0.0")),E=E||e,w=w||e,i(e.semver,E.semver,n)?E=e:s(e.semver,w.semver,n)&&(w=e);}),E.operator===c||E.operator===p||(!w.operator||w.operator===c)&&a(e,w.semver)||w.operator===p&&s(e,w.semver))return!1;}return!0;}t=e.exports=o,x="object"==typeof process&&process.env&&process.env.NODE_DEBUG&&/\bsemver\b/i.test(process.env.NODE_DEBUG)?function(){var e=Array.prototype.slice.call(arguments,0);e.unshift("SEMVER"),console.log.apply(console,e);}:function(){},t.SEMVER_SPEC_VERSION="2.0.0",D=256,S=Number.MAX_SAFE_INTEGER||9007199254740991,T=D-6,N=t.re=[],I=t.safeRe=[],A=t.src=[],R=t.tokens={},O=0,_=[["\\s",1],["\\d",D],[C="[a-zA-Z0-9-]",T]],r("NUMERICIDENTIFIER"),A[R.NUMERICIDENTIFIER]="0|[1-9]\\d*",r("NUMERICIDENTIFIERLOOSE"),A[R.NUMERICIDENTIFIERLOOSE]="\\d+",r("NONNUMERICIDENTIFIER"),A[R.NONNUMERICIDENTIFIER]="\\d*[a-zA-Z-]"+C+"*",r("MAINVERSION"),A[R.MAINVERSION]="("+A[R.NUMERICIDENTIFIER]+")\\.("+A[R.NUMERICIDENTIFIER]+")\\.("+A[R.NUMERICIDENTIFIER]+")",r("MAINVERSIONLOOSE"),A[R.MAINVERSIONLOOSE]="("+A[R.NUMERICIDENTIFIERLOOSE]+")\\.("+A[R.NUMERICIDENTIFIERLOOSE]+")\\.("+A[R.NUMERICIDENTIFIERLOOSE]+")",r("PRERELEASEIDENTIFIER"),A[R.PRERELEASEIDENTIFIER]="(?:"+A[R.NUMERICIDENTIFIER]+"|"+A[R.NONNUMERICIDENTIFIER]+")",r("PRERELEASEIDENTIFIERLOOSE"),A[R.PRERELEASEIDENTIFIERLOOSE]="(?:"+A[R.NUMERICIDENTIFIERLOOSE]+"|"+A[R.NONNUMERICIDENTIFIER]+")",r("PRERELEASE"),A[R.PRERELEASE]="(?:-("+A[R.PRERELEASEIDENTIFIER]+"(?:\\."+A[R.PRERELEASEIDENTIFIER]+")*))",r("PRERELEASELOOSE"),A[R.PRERELEASELOOSE]="(?:-?("+A[R.PRERELEASEIDENTIFIERLOOSE]+"(?:\\."+A[R.PRERELEASEIDENTIFIERLOOSE]+")*))",r("BUILDIDENTIFIER"),A[R.BUILDIDENTIFIER]=C+"+",r("BUILD"),A[R.BUILD]="(?:\\+("+A[R.BUILDIDENTIFIER]+"(?:\\."+A[R.BUILDIDENTIFIER]+")*))",r("FULL"),r("FULLPLAIN"),A[R.FULLPLAIN]="v?"+A[R.MAINVERSION]+A[R.PRERELEASE]+"?"+A[R.BUILD]+"?",A[R.FULL]="^"+A[R.FULLPLAIN]+"$",r("LOOSEPLAIN"),A[R.LOOSEPLAIN]="[v=\\s]*"+A[R.MAINVERSIONLOOSE]+A[R.PRERELEASELOOSE]+"?"+A[R.BUILD]+"?",r("LOOSE"),A[R.LOOSE]="^"+A[R.LOOSEPLAIN]+"$",r("GTLT"),A[R.GTLT]="((?:<|>)?=?)",r("XRANGEIDENTIFIERLOOSE"),A[R.XRANGEIDENTIFIERLOOSE]=A[R.NUMERICIDENTIFIERLOOSE]+"|x|X|\\*",r("XRANGEIDENTIFIER"),A[R.XRANGEIDENTIFIER]=A[R.NUMERICIDENTIFIER]+"|x|X|\\*",r("XRANGEPLAIN"),A[R.XRANGEPLAIN]="[v=\\s]*("+A[R.XRANGEIDENTIFIER]+")(?:\\.("+A[R.XRANGEIDENTIFIER]+")(?:\\.("+A[R.XRANGEIDENTIFIER]+")(?:"+A[R.PRERELEASE]+")?"+A[R.BUILD]+"?)?)?",r("XRANGEPLAINLOOSE"),A[R.XRANGEPLAINLOOSE]="[v=\\s]*("+A[R.XRANGEIDENTIFIERLOOSE]+")(?:\\.("+A[R.XRANGEIDENTIFIERLOOSE]+")(?:\\.("+A[R.XRANGEIDENTIFIERLOOSE]+")(?:"+A[R.PRERELEASELOOSE]+")?"+A[R.BUILD]+"?)?)?",r("XRANGE"),A[R.XRANGE]="^"+A[R.GTLT]+"\\s*"+A[R.XRANGEPLAIN]+"$",r("XRANGELOOSE"),A[R.XRANGELOOSE]="^"+A[R.GTLT]+"\\s*"+A[R.XRANGEPLAINLOOSE]+"$",r("COERCE"),A[R.COERCE]="(^|[^\\d])(\\d{1,16})(?:\\.(\\d{1,16}))?(?:\\.(\\d{1,16}))?(?:$|[^\\d])",r("COERCERTL"),N[R.COERCERTL]=RegExp(A[R.COERCE],"g"),I[R.COERCERTL]=RegExp(n(A[R.COERCE]),"g"),r("LONETILDE"),A[R.LONETILDE]="(?:~>?)",r("TILDETRIM"),A[R.TILDETRIM]="(\\s*)"+A[R.LONETILDE]+"\\s+",N[R.TILDETRIM]=RegExp(A[R.TILDETRIM],"g"),I[R.TILDETRIM]=RegExp(n(A[R.TILDETRIM]),"g"),r("TILDE"),A[R.TILDE]="^"+A[R.LONETILDE]+A[R.XRANGEPLAIN]+"$",r("TILDELOOSE"),A[R.TILDELOOSE]="^"+A[R.LONETILDE]+A[R.XRANGEPLAINLOOSE]+"$",r("LONECARET"),A[R.LONECARET]="(?:\\^)",r("CARETTRIM"),A[R.CARETTRIM]="(\\s*)"+A[R.LONECARET]+"\\s+",N[R.CARETTRIM]=RegExp(A[R.CARETTRIM],"g"),I[R.CARETTRIM]=RegExp(n(A[R.CARETTRIM]),"g"),r("CARET"),A[R.CARET]="^"+A[R.LONECARET]+A[R.XRANGEPLAIN]+"$",r("CARETLOOSE"),A[R.CARETLOOSE]="^"+A[R.LONECARET]+A[R.XRANGEPLAINLOOSE]+"$",r("COMPARATORLOOSE"),A[R.COMPARATORLOOSE]="^"+A[R.GTLT]+"\\s*("+A[R.LOOSEPLAIN]+")$|^$",r("COMPARATOR"),A[R.COMPARATOR]="^"+A[R.GTLT]+"\\s*("+A[R.FULLPLAIN]+")$|^$",r("COMPARATORTRIM"),A[R.COMPARATORTRIM]="(\\s*)"+A[R.GTLT]+"\\s*("+A[R.LOOSEPLAIN]+"|"+A[R.XRANGEPLAIN]+")",N[R.COMPARATORTRIM]=RegExp(A[R.COMPARATORTRIM],"g"),I[R.COMPARATORTRIM]=RegExp(n(A[R.COMPARATORTRIM]),"g"),r("HYPHENRANGE"),A[R.HYPHENRANGE]="^\\s*("+A[R.XRANGEPLAIN]+")\\s+-\\s+("+A[R.XRANGEPLAIN]+")\\s*$",r("HYPHENRANGELOOSE"),A[R.HYPHENRANGELOOSE]="^\\s*("+A[R.XRANGEPLAINLOOSE]+")\\s+-\\s+("+A[R.XRANGEPLAINLOOSE]+")\\s*$",r("STAR"),A[R.STAR]="(<|>)?=?\\s*\\*";for(var x,D,S,T,N,I,A,R,O,C,_,$,L,P=0;P<O;P++)x(P,A[P]),N[P]||(N[P]=new RegExp(A[P]),I[P]=new RegExp(n(A[P])));t.parse=i,t.valid=function(e,t){var r=i(e,t);return r?r.version:null;},t.clean=function(e,t){var r=i(e.trim().replace(/^[=v]+/,""),t);return r?r.version:null;},t.SemVer=o,o.prototype.format=function(){return this.version=this.major+"."+this.minor+"."+this.patch,this.prerelease.length&&(this.version+="-"+this.prerelease.join(".")),this.version;},o.prototype.toString=function(){return this.version;},o.prototype.compare=function(e){return x("SemVer.compare",this.version,this.options,e),e instanceof o||(e=new o(e,this.options)),this.compareMain(e)||this.comparePre(e);},o.prototype.compareMain=function(e){return e instanceof o||(e=new o(e,this.options)),a(this.major,e.major)||a(this.minor,e.minor)||a(this.patch,e.patch);},o.prototype.comparePre=function(e){if(e instanceof o||(e=new o(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 t=0;do{var r=this.prerelease[t],n=e.prerelease[t];if(x("prerelease compare",t,r,n),void 0===r&&void 0===n)return 0;if(void 0===n)return 1;if(void 0===r)return-1;else if(r===n)continue;else return a(r,n);}while(++t);},o.prototype.compareBuild=function(e){e instanceof o||(e=new o(e,this.options));var t=0;do{var r=this.build[t],n=e.build[t];if(x("prerelease compare",t,r,n),void 0===r&&void 0===n)return 0;if(void 0===n)return 1;if(void 0===r)return-1;else if(r===n)continue;else return a(r,n);}while(++t);},o.prototype.inc=function(e,t){switch(e){case"premajor":this.prerelease.length=0,this.patch=0,this.minor=0,this.major++,this.inc("pre",t);break;case"preminor":this.prerelease.length=0,this.patch=0,this.minor++,this.inc("pre",t);break;case"prepatch":this.prerelease.length=0,this.inc("patch",t),this.inc("pre",t);break;case"prerelease":0===this.prerelease.length&&this.inc("patch",t),this.inc("pre",t);break;case"major":(0!==this.minor||0!==this.patch||0===this.prerelease.length)&&this.major++,this.minor=0,this.patch=0,this.prerelease=[];break;case"minor":(0!==this.patch||0===this.prerelease.length)&&this.minor++,this.patch=0,this.prerelease=[];break;case"patch":0===this.prerelease.length&&this.patch++,this.prerelease=[];break;case"pre":if(0===this.prerelease.length)this.prerelease=[0];else{for(var r=this.prerelease.length;--r>=0;)"number"==typeof this.prerelease[r]&&(this.prerelease[r]++,r=-2);-1===r&&this.prerelease.push(0);}t&&(this.prerelease[0]===t?isNaN(this.prerelease[1])&&(this.prerelease=[t,0]):this.prerelease=[t,0]);break;default:throw Error("invalid increment argument: "+e);}return this.format(),this.raw=this.version,this;},t.inc=function(e,t,r,n){"string"==typeof r&&(n=r,r=void 0);try{return new o(e,r).inc(t,n).version;}catch(e){return null;}},t.diff=function(e,t){if(c(e,t))return null;var r=i(e),n=i(t),o="";if(r.prerelease.length||n.prerelease.length){o="pre";var a="prerelease";}for(var s in r)if(("major"===s||"minor"===s||"patch"===s)&&r[s]!==n[s])return o+s;return a;},t.compareIdentifiers=a,$=/^[0-9]+$/,t.rcompareIdentifiers=function(e,t){return a(t,e);},t.major=function(e,t){return new o(e,t).major;},t.minor=function(e,t){return new o(e,t).minor;},t.patch=function(e,t){return new o(e,t).patch;},t.compare=s,t.compareLoose=function(e,t){return s(e,t,!0);},t.compareBuild=function(e,t,r){var n=new o(e,r),i=new o(t,r);return n.compare(i)||n.compareBuild(i);},t.rcompare=function(e,t,r){return s(t,e,r);},t.sort=function(e,r){return e.sort(function(e,n){return t.compareBuild(e,n,r);});},t.rsort=function(e,r){return e.sort(function(e,n){return t.compareBuild(n,e,r);});},t.gt=l,t.lt=u,t.eq=c,t.neq=p,t.gte=d,t.lte=f,t.cmp=h,t.Comparator=m,L={},m.prototype.parse=function(e){var t=this.options.loose?I[R.COMPARATORLOOSE]:I[R.COMPARATOR],r=e.match(t);if(!r)throw TypeError("Invalid comparator: "+e);this.operator=void 0!==r[1]?r[1]:"","="===this.operator&&(this.operator=""),r[2]?this.semver=new o(r[2],this.options.loose):this.semver=L;},m.prototype.toString=function(){return this.value;},m.prototype.test=function(e){if(x("Comparator.test",e,this.options.loose),this.semver===L||e===L)return!0;if("string"==typeof e)try{e=new o(e,this.options);}catch(e){return!1;}return h(e,this.operator,this.semver,this.options);},m.prototype.intersects=function(e,t){if(!(e instanceof m))throw TypeError("a Comparator is required");if(t&&"object"==typeof t||(t={loose:!!t,includePrerelease:!1}),""===this.operator)return""===this.value||(r=new g(e.value,t),y(this.value,r,t));if(""===e.operator)return""===e.value||(r=new g(this.value,t),y(e.semver,r,t));var r,n=(">="===this.operator||">"===this.operator)&&(">="===e.operator||">"===e.operator),i=("<="===this.operator||"<"===this.operator)&&("<="===e.operator||"<"===e.operator),o=this.semver.version===e.semver.version,a=(">="===this.operator||"<="===this.operator)&&(">="===e.operator||"<="===e.operator),s=h(this.semver,"<",e.semver,t)&&(">="===this.operator||">"===this.operator)&&("<="===e.operator||"<"===e.operator),l=h(this.semver,">",e.semver,t)&&("<="===this.operator||"<"===this.operator)&&(">="===e.operator||">"===e.operator);return n||i||o&&a||s||l;},t.Range=g,g.prototype.format=function(){return this.range=this.set.map(function(e){return e.join(" ").trim();}).join("||").trim(),this.range;},g.prototype.toString=function(){return this.range;},g.prototype.parseRange=function(e){var t=this.options.loose,r=t?I[R.HYPHENRANGELOOSE]:I[R.HYPHENRANGE];e=e.replace(r,w),x("hyphen replace",e),e=e.replace(I[R.COMPARATORTRIM],"$1$2$3"),x("comparator trim",e,I[R.COMPARATORTRIM]),e=(e=(e=e.replace(I[R.TILDETRIM],"$1~")).replace(I[R.CARETTRIM],"$1^")).split(/\s+/).join(" ");var n=t?I[R.COMPARATORLOOSE]:I[R.COMPARATOR],i=e.split(" ").map(function(e){var t,r,n,i,o,a,s,l,u;return t=e,r=this.options,x("comp",t,r),n=t,i=r,t=n.trim().split(/\s+/).map(function(e){var t,r,n;return x("caret",t=e,r=i),n=r.loose?I[R.CARETLOOSE]:I[R.CARET],t.replace(n,function(e,r,n,i,o){var a;return x("caret",t,e,r,n,i,o),E(r)?a="":E(n)?a=">="+r+".0.0 <"+(+r+1)+".0.0":E(i)?a="0"===r?">="+r+"."+n+".0 <"+r+"."+(+n+1)+".0":">="+r+"."+n+".0 <"+(+r+1)+".0.0":o?(x("replaceCaret pr",o),a="0"===r?"0"===n?">="+r+"."+n+"."+i+"-"+o+" <"+r+"."+n+"."+(+i+1):">="+r+"."+n+"."+i+"-"+o+" <"+r+"."+(+n+1)+".0":">="+r+"."+n+"."+i+"-"+o+" <"+(+r+1)+".0.0"):(x("no pr"),a="0"===r?"0"===n?">="+r+"."+n+"."+i+" <"+r+"."+n+"."+(+i+1):">="+r+"."+n+"."+i+" <"+r+"."+(+n+1)+".0":">="+r+"."+n+"."+i+" <"+(+r+1)+".0.0"),x("caret return",a),a;});}).join(" "),x("caret",t),o=t,a=r,t=o.trim().split(/\s+/).map(function(e){var t,r;return t=e,r=a.loose?I[R.TILDELOOSE]:I[R.TILDE],t.replace(r,function(e,r,n,i,o){var a;return x("tilde",t,e,r,n,i,o),E(r)?a="":E(n)?a=">="+r+".0.0 <"+(+r+1)+".0.0":E(i)?a=">="+r+"."+n+".0 <"+r+"."+(+n+1)+".0":o?(x("replaceTilde pr",o),a=">="+r+"."+n+"."+i+"-"+o+" <"+r+"."+(+n+1)+".0"):a=">="+r+"."+n+"."+i+" <"+r+"."+(+n+1)+".0",x("tilde return",a),a;});}).join(" "),x("tildes",t),x("replaceXRanges",s=t,l=r),t=s.split(/\s+/).map(function(e){var t,r,n;return t=e,r=l,t=t.trim(),n=r.loose?I[R.XRANGELOOSE]:I[R.XRANGE],t.replace(n,function(e,n,i,o,a,s){x("xRange",t,e,n,i,o,a,s);var l=E(i),u=l||E(o),c=u||E(a);return"="===n&&c&&(n=""),s=r.includePrerelease?"-0":"",l?e=">"===n||"<"===n?"<0.0.0-0":"*":n&&c?(u&&(o=0),a=0,">"===n?(n=">=",u?(i=+i+1,o=0):o=+o+1,a=0):"<="===n&&(n="<",u?i=+i+1:o=+o+1),e=n+i+"."+o+"."+a+s):u?e=">="+i+".0.0"+s+" <"+(+i+1)+".0.0"+s:c&&(e=">="+i+"."+o+".0"+s+" <"+i+"."+(+o+1)+".0"+s),x("xRange return",e),e;});}).join(" "),x("xrange",t),x("replaceStars",u=t,r),t=u.trim().replace(I[R.STAR],""),x("stars",t),t;},this).join(" ").split(/\s+/);return this.options.loose&&(i=i.filter(function(e){return!!e.match(n);})),i=i.map(function(e){return new m(e,this.options);},this);},g.prototype.intersects=function(e,t){if(!(e instanceof g))throw TypeError("a Range is required");return this.set.some(function(r){return v(r,t)&&e.set.some(function(e){return v(e,t)&&r.every(function(r){return e.every(function(e){return r.intersects(e,t);});});});});},t.toComparators=function(e,t){return new g(e,t).set.map(function(e){return e.map(function(e){return e.value;}).join(" ").trim().split(" ");});},g.prototype.test=function(e){if(!e)return!1;if("string"==typeof e)try{e=new o(e,this.options);}catch(e){return!1;}for(var t=0;t<this.set.length;t++)if(function(e,t,r){for(var n=0;n<e.length;n++)if(!e[n].test(t))return!1;if(t.prerelease.length&&!r.includePrerelease){for(n=0;n<e.length;n++)if(x(e[n].semver),e[n].semver!==L&&e[n].semver.prerelease.length>0){var i=e[n].semver;if(i.major===t.major&&i.minor===t.minor&&i.patch===t.patch)return!0;}return!1;}return!0;}(this.set[t],e,this.options))return!0;return!1;},t.satisfies=y,t.maxSatisfying=function(e,t,r){var n=null,i=null;try{var a=new g(t,r);}catch(e){return null;}return e.forEach(function(e){a.test(e)&&(!n||-1===i.compare(e))&&(i=new o(n=e,r));}),n;},t.minSatisfying=function(e,t,r){var n=null,i=null;try{var a=new g(t,r);}catch(e){return null;}return e.forEach(function(e){a.test(e)&&(!n||1===i.compare(e))&&(i=new o(n=e,r));}),n;},t.minVersion=function(e,t){e=new g(e,t);var r=new o("0.0.0");if(e.test(r)||(r=new o("0.0.0-0"),e.test(r)))return r;r=null;for(var n=0;n<e.set.length;++n)e.set[n].forEach(function(e){var t=new o(e.semver.version);switch(e.operator){case">":0===t.prerelease.length?t.patch++:t.prerelease.push(0),t.raw=t.format();case"":case">=":(!r||l(r,t))&&(r=t);break;case"<":case"<=":break;default:throw Error("Unexpected operation: "+e.operator);}});return r&&e.test(r)?r:null;},t.validRange=function(e,t){try{return new g(e,t).range||"*";}catch(e){return null;}},t.ltr=function(e,t,r){return b(e,t,"<",r);},t.gtr=function(e,t,r){return b(e,t,">",r);},t.outside=b,t.prerelease=function(e,t){var r=i(e,t);return r&&r.prerelease.length?r.prerelease:null;},t.intersects=function(e,t,r){return e=new g(e,r),t=new g(t,r),e.intersects(t);},t.coerce=function(e,t){if(e instanceof o)return e;if("number"==typeof e&&(e+=""),"string"!=typeof e)return null;var r,n=null;if((t=t||{}).rtl){for(;(r=I[R.COERCERTL].exec(e))&&(!n||n.index+n[0].length!==e.length);)n&&r.index+r[0].length===n.index+n[0].length||(n=r),I[R.COERCERTL].lastIndex=r.index+r[1].length+r[2].length;I[R.COERCERTL].lastIndex=-1;}else n=e.match(I[R.COERCE]);return null===n?null:i(n[2]+"."+(n[3]||"0")+"."+(n[4]||"0"),t);};}),rA("GX8zo",function(e,t){var r=rI("7qQbq"),n=rI("c22IK");e.exports=function(e,t,i){var o=t&&i||0;"string"==typeof e&&(t="binary"===e?Array(16):null,e=null);var a=(e=e||{}).random||(e.rng||r)();if(a[6]=15&a[6]|64,a[8]=63&a[8]|128,t)for(var s=0;s<16;++s)t[o+s]=a[s];return t||n(a);};}),rA("7qQbq",function(e,t){e.exports=function(){return n9.randomBytes(16);};}),rA("c22IK",function(e,t){for(var r=[],n=0;n<256;++n)r[n]=(n+256).toString(16).substr(1);e.exports=function(e,t){var n=t||0;return[r[e[n++]],r[e[n++]],r[e[n++]],r[e[n++]],"-",r[e[n++]],r[e[n++]],"-",r[e[n++]],r[e[n++]],"-",r[e[n++]],r[e[n++]],"-",r[e[n++]],r[e[n++]],r[e[n++]],r[e[n++]],r[e[n++]],r[e[n++]]].join("");};}),rA("bHzmH",function(e,t){var r,n,i,o;function a(e,t,r){return o(this,void 0,void 0,function*(){let n=s.argStringToArray(e);if(0===n.length)throw Error("Parameter 'commandLine' cannot be null or empty.");let i=n[0];return t=n.slice(1).concat(t||[]),new s.ToolRunner(i,t,r).exec();});}r=e.exports&&e.exports.__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];}),n=e.exports&&e.exports.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t});}:function(e,t){e.default=t;}),i=e.exports&&e.exports.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var i in e)"default"!==i&&Object.hasOwnProperty.call(e,i)&&r(t,e,i);return n(t,e),t;},o=e.exports&&e.exports.__awaiter||function(e,t,r,n){return new(r||(r=Promise))(function(i,o){function a(e){try{l(n.next(e));}catch(e){o(e);}}function s(e){try{l(n.throw(e));}catch(e){o(e);}}function l(e){var t;e.done?i(e.value):((t=e.value)instanceof r?t:new r(function(e){e(t);})).then(a,s);}l((n=n.apply(e,t||[])).next());});},Object.defineProperty(e.exports,"__esModule",{value:!0}),e.exports.getExecOutput=e.exports.exec=void 0;let s=i(rI("iYbsa"));e.exports.exec=a,e.exports.getExecOutput=function(e,t,r){var n,i;return o(this,void 0,void 0,function*(){let o="",s="",l=new rc.StringDecoder("utf8"),u=new rc.StringDecoder("utf8"),c=null===(n=null==r?void 0:r.listeners)||void 0===n?void 0:n.stdout,p=null===(i=null==r?void 0:r.listeners)||void 0===i?void 0:i.stderr,d=Object.assign(Object.assign({},null==r?void 0:r.listeners),{stdout(e){o+=l.write(e),c&&c(e);},stderr(e){s+=u.write(e),p&&p(e);}}),f=yield a(e,t,Object.assign(Object.assign({},r),{listeners:d}));return o+=l.end(),s+=u.end(),{exitCode:f,stdout:o,stderr:s};});};}),rA("iYbsa",function(e,t){var r,n,i,o;r=e.exports&&e.exports.__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];}),n=e.exports&&e.exports.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t});}:function(e,t){e.default=t;}),i=e.exports&&e.exports.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var i in e)"default"!==i&&Object.hasOwnProperty.call(e,i)&&r(t,e,i);return n(t,e),t;},o=e.exports&&e.exports.__awaiter||function(e,t,r,n){return new(r||(r=Promise))(function(i,o){function a(e){try{l(n.next(e));}catch(e){o(e);}}function s(e){try{l(n.throw(e));}catch(e){o(e);}}function l(e){var t;e.done?i(e.value):((t=e.value)instanceof r?t:new r(function(e){e(t);})).then(a,s);}l((n=n.apply(e,t||[])).next());});},Object.defineProperty(e.exports,"__esModule",{value:!0}),e.exports.argStringToArray=e.exports.ToolRunner=void 0;let a=i(n5),s=i(ro),l=i(ru),u=i(n6),c=i(rI("zdagz")),p=i(rI("fwMQK")),d="win32"===process.platform;class f extends s.EventEmitter{constructor(e,t,r){if(super(),!e)throw Error("Parameter 'toolPath' cannot be null or empty.");this.toolPath=e,this.args=t||[],this.options=r||{};}_debug(e){this.options.listeners&&this.options.listeners.debug&&this.options.listeners.debug(e);}_getCommandString(e,t){let r=this._getSpawnFileName(),n=this._getSpawnArgs(e),i=t?"":"[command]";if(d){if(this._isCmdFile())for(let e of(i+=r,n))i+=" "+e;else if(e.windowsVerbatimArguments)for(let e of(i+=`"${r}"`,n))i+=" "+e;else for(let e of(i+=this._windowsQuoteCmdArg(r),n))i+=" "+this._windowsQuoteCmdArg(e);}else for(let e of(i+=r,n))i+=" "+e;return i;}_processLineBuffer(e,t,r){try{let n=t+e.toString(),i=n.indexOf(a.EOL);for(;i>-1;){let e=n.substring(0,i);r(e),i=(n=n.substring(i+a.EOL.length)).indexOf(a.EOL);}return n;}catch(e){return this._debug("error processing line. Failed with error "+e),"";}}_getSpawnFileName(){return d&&this._isCmdFile()?process.env.COMSPEC||"cmd.exe":this.toolPath;}_getSpawnArgs(e){if(d&&this._isCmdFile()){let t='/D /S /C "'+this._windowsQuoteCmdArg(this.toolPath);for(let r of this.args)t+=" "+(e.windowsVerbatimArguments?r:this._windowsQuoteCmdArg(r));return[t+='"'];}return this.args;}_endsWith(e,t){return e.endsWith(t);}_isCmdFile(){let e=this.toolPath.toUpperCase();return this._endsWith(e,".CMD")||this._endsWith(e,".BAT");}_windowsQuoteCmdArg(e){if(!this._isCmdFile())return this._uvQuoteCmdArg(e);if(!e)return'""';let t=[" "," ","&","(",")","[","]","{","}","^","=",";","!","'","+",",","`","~","|","<",">",'"'],r=!1;for(let n of e)if(t.some(e=>e===n)){r=!0;break;}if(!r)return e;let n='"',i=!0;for(let t=e.length;t>0;t--)n+=e[t-1],i&&"\\"===e[t-1]?n+="\\":'"'===e[t-1]?(i=!0,n+='"'):i=!1;return(n+='"').split("").reverse().join("");}_uvQuoteCmdArg(e){if(!e)return'""';if(!e.includes(" ")&&!e.includes(" ")&&!e.includes('"'))return e;if(!e.includes('"')&&!e.includes("\\"))return`"${e}"`;let t='"',r=!0;for(let n=e.length;n>0;n--)t+=e[n-1],r&&"\\"===e[n-1]?t+="\\":'"'===e[n-1]?(r=!0,t+="\\"):r=!1;return(t+='"').split("").reverse().join("");}_cloneExecOptions(e){let t={cwd:(e=e||{}).cwd||process.cwd(),env:e.env||process.env,silent:e.silent||!1,windowsVerbatimArguments:e.windowsVerbatimArguments||!1,failOnStdErr:e.failOnStdErr||!1,ignoreReturnCode:e.ignoreReturnCode||!1,delay:e.delay||1e4};return t.outStream=e.outStream||process.stdout,t.errStream=e.errStream||process.stderr,t;}_getSpawnOptions(e,t){e=e||{};let r={};return r.cwd=e.cwd,r.env=e.env,r.windowsVerbatimArguments=e.windowsVerbatimArguments||this._isCmdFile(),e.windowsVerbatimArguments&&(r.argv0=`"${t}"`),r;}exec(){return o(this,void 0,void 0,function*(){return!p.isRooted(this.toolPath)&&(this.toolPath.includes("/")||d&&this.toolPath.includes("\\"))&&(this.toolPath=u.resolve(process.cwd(),this.options.cwd||process.cwd(),this.toolPath)),this.toolPath=yield c.which(this.toolPath,!0),new Promise((e,t)=>o(this,void 0,void 0,function*(){for(let e of(this._debug("exec tool: "+this.toolPath),this._debug("arguments:"),this.args))this._debug(" "+e);let r=this._cloneExecOptions(this.options);!r.silent&&r.outStream&&r.outStream.write(this._getCommandString(r)+a.EOL);let n=new h(r,this.toolPath);if(n.on("debug",e=>{this._debug(e);}),this.options.cwd&&!(yield p.exists(this.options.cwd)))return t(Error(`The cwd: ${this.options.cwd} does not exist!`));let i=this._getSpawnFileName(),o=l.spawn(i,this._getSpawnArgs(r),this._getSpawnOptions(this.options,i)),s="";o.stdout&&o.stdout.on("data",e=>{this.options.listeners&&this.options.listeners.stdout&&this.options.listeners.stdout(e),!r.silent&&r.outStream&&r.outStream.write(e),s=this._processLineBuffer(e,s,e=>{this.options.listeners&&this.options.listeners.stdline&&this.options.listeners.stdline(e);});});let u="";if(o.stderr&&o.stderr.on("data",e=>{n.processStderr=!0,this.options.listeners&&this.options.listeners.stderr&&this.options.listeners.stderr(e),!r.silent&&r.errStream&&r.outStream&&(r.failOnStdErr?r.errStream:r.outStream).write(e),u=this._processLineBuffer(e,u,e=>{this.options.listeners&&this.options.listeners.errline&&this.options.listeners.errline(e);});}),o.on("error",e=>{n.processError=e.message,n.processExited=!0,n.processClosed=!0,n.CheckComplete();}),o.on("exit",e=>{n.processExitCode=e,n.processExited=!0,this._debug(`Exit code ${e} received from tool '${this.toolPath}'`),n.CheckComplete();}),o.on("close",e=>{n.processExitCode=e,n.processExited=!0,n.processClosed=!0,this._debug(`STDIO streams have closed for tool '${this.toolPath}'`),n.CheckComplete();}),n.on("done",(r,n)=>{s.length>0&&this.emit("stdline",s),u.length>0&&this.emit("errline",u),o.removeAllListeners(),r?t(r):e(n);}),this.options.input){if(!o.stdin)throw Error("child process missing stdin");o.stdin.end(this.options.input);}}));});}}e.exports.ToolRunner=f,e.exports.argStringToArray=function(e){function t(e){i&&'"'!==e&&(o+="\\"),o+=e,i=!1;}let r=[],n=!1,i=!1,o="";for(let a=0;a<e.length;a++){let s=e.charAt(a);if('"'===s){i?t(s):n=!n;continue;}if("\\"===s&&i){t(s);continue;}if("\\"===s&&n){i=!0;continue;}if(" "===s&&!n){o.length>0&&(r.push(o),o="");continue;}t(s);}return o.length>0&&r.push(o.trim()),r;};class h extends s.EventEmitter{constructor(e,t){if(super(),this.processClosed=!1,this.processError="",this.processExitCode=0,this.processExited=!1,this.processStderr=!1,this.delay=1e4,this.done=!1,this.timeout=null,!t)throw Error("toolPath must not be empty");this.options=e,this.toolPath=t,e.delay&&(this.delay=e.delay);}CheckComplete(){!this.done&&(this.processClosed?this._setResult():this.processExited&&(this.timeout=rp.setTimeout(h.HandleTimeout,this.delay,this)));}_debug(e){this.emit("debug",e);}_setResult(){let e;this.processExited&&(this.processError?e=Error(`There was an error when attempting to execute the process '${this.toolPath}'. This may indicate the process failed to start. Error: ${this.processError}`):0===this.processExitCode||this.options.ignoreReturnCode?this.processStderr&&this.options.failOnStdErr&&(e=Error(`The process '${this.toolPath}' failed because one or more lines were written to the STDERR stream`)):e=Error(`The process '${this.toolPath}' failed with exit code ${this.processExitCode}`)),this.timeout&&(clearTimeout(this.timeout),this.timeout=null),this.done=!0,this.emit("done",e,this.processExitCode);}static HandleTimeout(e){if(!e.done){if(!e.processClosed&&e.processExited){let t=`The STDIO streams did not close within ${e.delay/1e3} seconds of the exit event from process '${e.toolPath}'. This may indicate a child process inherited the STDIO streams and has not yet exited.`;e._debug(t);}e._setResult();}}}}),rA("fEioR",function(e,t){e.exports=Promise.resolve(require("./actions_python.c7411d6b.js")).then(()=>rI("8L9T2"));}),rA("7fBnG",function(e,t){var r,n,i,o,a,s,l,u,p;function d(e){return e.replace(/\r[\n\u0085]/g,"\n").replace(/[\r\u0085\u2028]/g,"\n");}function f(e){this.options=e||{locator:{}};}function h(){this.cdata=!1;}function m(e,t){t.lineNumber=e.lineNumber,t.columnNumber=e.columnNumber;}function g(e){if(e)return"\n@"+(e.systemId||"")+"#[line:"+e.lineNumber+",col:"+e.columnNumber+"]";}function v(e,t,r){return"string"==typeof e?e.substr(t,r):e.length>=t+r||t?new java.lang.String(e,t,r)+"":e;}function E(e,t){e.currentElement?e.currentElement.appendChild(t):e.doc.appendChild(t);}c(e.exports,"DOMParser",()=>r,e=>r=e),n=rI("e95yL"),i=rI("7KjWO"),o=rI("aeYiS"),a=rI("aKT05"),s=i.DOMImplementation,l=n.NAMESPACE,u=a.ParseError,p=a.XMLReader,f.prototype.parseFromString=function(e,t){var r=this.options,n=new p(),i=r.domBuilder||new h(),a=r.errorHandler,s=r.locator,u=r.xmlns||{},c=/\/x?html?$/.test(t),f=c?o.HTML_ENTITIES:o.XML_ENTITIES;s&&i.setDocumentLocator(s),n.errorHandler=function(e,t,r){var n,i;function o(t){var o=e[t];!o&&i&&(o=2==e.length?function(r){e(t,r);}:e),n[t]=o&&function(e){o("[xmldom "+t+"] "+e+g(r));}||function(){};}if(!e){if(t instanceof h)return t;e=t;}return n={},i=e instanceof Function,r=r||{},o("warning"),o("error"),o("fatalError"),n;}(a,i,s),n.domBuilder=r.domBuilder||i,c&&(u[""]=l.HTML),u.xml=u.xml||l.XML;var m=r.normalizeLineEndings||d;return e&&"string"==typeof e?n.parse(m(e),u,f):n.errorHandler.error("invalid doc source"),i.doc;},h.prototype={startDocument:function(){this.doc=new s().createDocument(null,null,null),this.locator&&(this.doc.documentURI=this.locator.systemId);},startElement:function(e,t,r,n){var i=this.doc,o=i.createElementNS(e,r||t),a=n.length;E(this,o),this.currentElement=o,this.locator&&m(this.locator,o);for(var s=0;a>s;s++){var e=n.getURI(s),l=n.getValue(s),r=n.getQName(s),u=i.createAttributeNS(e,r);this.locator&&m(n.getLocator(s),u),u.value=u.nodeValue=l,o.setAttributeNode(u);}},endElement:function(e,t,r){var n=this.currentElement;n.tagName,this.currentElement=n.parentNode;},startPrefixMapping:function(e,t){},endPrefixMapping:function(e){},processingInstruction:function(e,t){var r=this.doc.createProcessingInstruction(e,t);this.locator&&m(this.locator,r),E(this,r);},ignorableWhitespace:function(e,t,r){},characters:function(e,t,r){if(e=v.apply(this,arguments)){if(this.cdata)var n=this.doc.createCDATASection(e);else var n=this.doc.createTextNode(e);this.currentElement?this.currentElement.appendChild(n):/^\s*$/.test(e)&&this.doc.appendChild(n),this.locator&&m(this.locator,n);}},skippedEntity:function(e){},endDocument:function(){this.doc.normalize();},setDocumentLocator:function(e){(this.locator=e)&&(e.lineNumber=0);},comment:function(e,t,r){e=v.apply(this,arguments);var n=this.doc.createComment(e);this.locator&&m(this.locator,n),E(this,n);},startCDATA:function(){this.cdata=!0;},endCDATA:function(){this.cdata=!1;},startDTD:function(e,t,r){var n=this.doc.implementation;if(n&&n.createDocumentType){var i=n.createDocumentType(e,t,r);this.locator&&m(this.locator,i),E(this,i),this.doc.doctype=i;}},warning:function(e){console.warn("[xmldom warning] "+e,g(this.locator));},error:function(e){console.error("[xmldom error] "+e,g(this.locator));},fatalError:function(e){throw new u(e,this.locator);}},"endDTD,startEntity,endEntity,attributeDecl,elementDecl,externalEntityDecl,internalEntityDecl,resolveEntity,getExternalSubset,notationDecl,unparsedEntityDecl".replace(/\w+/g,function(e){h.prototype[e]=function(){return null;};}),r=f;}),rA("e95yL",function(e,t){var r,n,i,o,a;function s(e,t){return void 0===t&&(t=Object),t&&"function"==typeof t.freeze?t.freeze(e):e;}c(e.exports,"find",()=>r,e=>r=e),c(e.exports,"freeze",()=>n,e=>n=e),c(e.exports,"NAMESPACE",()=>i,e=>i=e),o=s({HTML:"text/html",isHTML:function(e){return e===o.HTML;},XML_APPLICATION:"application/xml",XML_TEXT:"text/xml",XML_XHTML_APPLICATION:"application/xhtml+xml",XML_SVG_IMAGE:"image/svg+xml"}),a=s({HTML:"http://www.w3.org/1999/xhtml",isHTML:function(e){return e===a.HTML;},SVG:"http://www.w3.org/2000/svg",XML:"http://www.w3.org/XML/1998/namespace",XMLNS:"http://www.w3.org/2000/xmlns/"}),r=function(e,t,r){if(void 0===r&&(r=Array.prototype),e&&"function"==typeof r.find)return r.find.call(e,t);for(var n=0;n<e.length;n++)if(Object.prototype.hasOwnProperty.call(e,n)){var i=e[n];if(t.call(void 0,i,n,e))return i;}},n=s,i=a;}),rA("7KjWO",function(e,t){var r,n,i,o,a,s,l,u,p,d,f,h,m,g,v,E,w,y,b,x,D,S,T;function N(e){return""!==e;}function I(e,t){return e.hasOwnProperty(t)||(e[t]=!0),e;}function A(e){return e?Object.keys((e?e.split(/[\t\n\f\r ]+/).filter(N):[]).reduce(I,{})):[];}function R(e,t){for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);}function O(e,t){var r=e.prototype;if(!(r instanceof t)){function n(){}n.prototype=t.prototype,R(r,n=new n()),e.prototype=r=n;}r.constructor!=e&&("function"!=typeof e&&console.error("unknown Class:"+e),r.constructor=e);}function C(e,t){if(t instanceof Error)var r=t;else r=this,Error.call(this,x[e]),this.message=x[e],Error.captureStackTrace&&Error.captureStackTrace(this,C);return r.code=e,t&&(this.message=this.message+": "+t),r;}function _(){}function $(e,t){this._node=e,this._refresh=t,L(this);}function L(e){var t=e._node._inc||e._node.ownerDocument._inc;if(e._inc!==t){var r=e._refresh(e._node);if(ev(e,"length",r.length),!e.$$length||r.length<e.$$length)for(var n=r.length;(n in e);n++)Object.prototype.hasOwnProperty.call(e,n)&&delete e[n];R(r,e),e._inc=t;}}function P(){}function k(e,t){for(var r=e.length;r--;)if(e[r]===t)return r;}function U(e,t,r,n){if(n?t[k(t,n)]=r:t[t.length++]=r,e){r.ownerElement=e;var i,o,s,l=e.ownerDocument;l&&(n&&H(l,e,n),i=l,o=e,s=r,i&&i._inc++,s.namespaceURI===a.XMLNS&&(o._nsMap[s.prefix?s.localName:""]=s.value));}}function M(e,t,r){var n=k(t,r);if(n>=0){for(var i=t.length-1;i>n;)t[n]=t[++n];if(t.length=i,e){var o=e.ownerDocument;o&&(H(o,e,r),r.ownerElement=null);}}else throw new C(S,Error(e.tagName+"@"+r));}function F(){}function j(){}function q(e){return"<"==e&&"&lt;"||">"==e&&"&gt;"||"&"==e&&"&amp;"||'"'==e&&"&quot;"||"&#"+e.charCodeAt()+";";}function B(e,t){if(t(e))return!0;if(e=e.firstChild)do if(B(e,t))return!0;while(e=e.nextSibling);}function G(){this.ownerDocument=this;}function H(e,t,r,n){e&&e._inc++,r.namespaceURI===a.XMLNS&&delete t._nsMap[r.prefix?r.localName:""];}function V(e,t,r){if(e&&e._inc){e._inc++;var n=t.childNodes;if(r)n[n.length++]=r;else{for(var i=t.firstChild,o=0;i;)n[o++]=i,i=i.nextSibling;n.length=o,delete n[n.length];}}}function X(e,t){var r=t.previousSibling,n=t.nextSibling;return r?r.nextSibling=n:e.firstChild=n,n?n.previousSibling=r:e.lastChild=r,t.parentNode=null,t.previousSibling=null,t.nextSibling=null,V(e.ownerDocument,e),t;}function z(e){return e&&e.nodeType===j.DOCUMENT_TYPE_NODE;}function Y(e){return e&&e.nodeType===j.ELEMENT_NODE;}function W(e){return e&&e.nodeType===j.TEXT_NODE;}function K(e,t){var r=e.childNodes||[];if(o(r,Y)||z(t))return!1;var n=o(r,z);return!(t&&n&&r.indexOf(n)>r.indexOf(t));}function Q(e,t){var r,n=e.childNodes||[];return!o(n,function(e){return Y(e)&&e!==t;})&&(r=o(n,z),!(t&&r&&n.indexOf(r)>n.indexOf(t)));}function J(e,t,r){var n=e.childNodes||[],i=t.childNodes||[];if(t.nodeType===j.DOCUMENT_FRAGMENT_NODE){var a=i.filter(Y);if(a.length>1||o(i,W))throw new C(D,"More than one element or text in fragment");if(1===a.length&&!Q(e,r))throw new C(D,"Element in fragment can not be inserted before doctype");}if(Y(t)&&!Q(e,r))throw new C(D,"Only one element can be added and only after doctype");if(z(t)){if(o(n,function(e){return z(e)&&e!==r;}))throw new C(D,"Only one doctype is allowed");var s=o(n,Y);if(r&&n.indexOf(s)<n.indexOf(r))throw new C(D,"Doctype can only be inserted before an element");}}function Z(e,t,r,n){(function(e,t,r){if(!(e&&(e.nodeType===j.DOCUMENT_NODE||e.nodeType===j.DOCUMENT_FRAGMENT_NODE||e.nodeType===j.ELEMENT_NODE)))throw new C(D,"Unexpected parent node type "+e.nodeType);if(r&&r.parentNode!==e)throw new C(S,"child not in parent");if(!(t&&(Y(t)||W(t)||z(t)||t.nodeType===j.DOCUMENT_FRAGMENT_NODE||t.nodeType===j.COMMENT_NODE||t.nodeType===j.PROCESSING_INSTRUCTION_NODE))||z(t)&&e.nodeType!==j.DOCUMENT_NODE)throw new C(D,"Unexpected node type "+t.nodeType+" for parent node type "+e.nodeType);})(e,t,r),e.nodeType===j.DOCUMENT_NODE&&(n||function(e,t,r){var n=e.childNodes||[],i=t.childNodes||[];if(t.nodeType===j.DOCUMENT_FRAGMENT_NODE){var a=i.filter(Y);if(a.length>1||o(i,W))throw new C(D,"More than one element or text in fragment");if(1===a.length&&!K(e,r))throw new C(D,"Element in fragment can not be inserted before doctype");}if(Y(t)&&!K(e,r))throw new C(D,"Only one element can be added and only after doctype");if(z(t)){if(o(n,z))throw new C(D,"Only one doctype is allowed");var s=o(n,Y);if(r&&n.indexOf(s)<n.indexOf(r))throw new C(D,"Doctype can only be inserted before an element");if(!r&&s)throw new C(D,"Doctype can not be appended since element is present");}})(e,t,r);var i=t.parentNode;if(i&&i.removeChild(t),t.nodeType===w){var a=t.firstChild;if(null==a)return t;var s=t.lastChild;}else a=s=t;var l=r?r.previousSibling:e.lastChild;a.previousSibling=l,s.nextSibling=r,l?l.nextSibling=a:e.firstChild=a,null==r?e.lastChild=s:r.previousSibling=s;do a.parentNode=e;while(a!==s&&(a=a.nextSibling));return V(e.ownerDocument||e,e),t.nodeType==w&&(t.firstChild=t.lastChild=null),t;}function ee(){this._nsMap={};}function et(){}function er(){}function en(){}function ei(){}function eo(){}function ea(){}function es(){}function el(){}function eu(){}function ec(){}function ep(){}function ed(){}function ef(e,t){var r=[],n=9==this.nodeType&&this.documentElement||this,i=n.prefix,o=n.namespaceURI;if(o&&null==i){var i=n.lookupPrefix(o);if(null==i)var a=[{namespace:o,prefix:null}];}return eg(this,r,e,t,a),r.join("");}function eh(e,t,r){var n=e.prefix||"",i=e.namespaceURI;if(!i||"xml"===n&&i===a.XML||i===a.XMLNS)return!1;for(var o=r.length;o--;){var s=r[o];if(s.prefix===n)return s.namespace!==i;}return!0;}function em(e,t,r){e.push(" ",t,'="',r.replace(/[<>&"\t\n\r]/g,q),'"');}function eg(e,t,r,n,i){if(i||(i=[]),n){if(!(e=n(e)))return;if("string"==typeof e){t.push(e);return;}}switch(e.nodeType){case l:var o,s=e.attributes,c=s.length,h=e.firstChild,y=e.tagName;r=a.isHTML(e.namespaceURI)||r;var b=y;if(!r&&!e.prefix&&e.namespaceURI){for(var x=0;x<s.length;x++)if("xmlns"===s.item(x).name){o=s.item(x).value;break;}if(!o)for(var D=i.length-1;D>=0;D--){var S=i[D];if(""===S.prefix&&S.namespace===e.namespaceURI){o=S.namespace;break;}}if(o!==e.namespaceURI)for(var D=i.length-1;D>=0;D--){var S=i[D];if(S.namespace===e.namespaceURI){S.prefix&&(b=S.prefix+":"+y);break;}}}t.push("<",b);for(var T=0;c>T;T++){var N=s.item(T);"xmlns"==N.prefix?i.push({prefix:N.localName,namespace:N.value}):"xmlns"==N.nodeName&&i.push({prefix:"",namespace:N.value});}for(var T=0;c>T;T++){var N=s.item(T);if(eh(N,r,i)){var I=N.prefix||"",A=N.namespaceURI;em(t,I?"xmlns:"+I:"xmlns",A),i.push({prefix:I,namespace:A});}eg(N,t,r,n,i);}if(y===b&&eh(e,r,i)){var I=e.prefix||"",A=e.namespaceURI;em(t,I?"xmlns:"+I:"xmlns",A),i.push({prefix:I,namespace:A});}if(h||r&&!/^(?:meta|link|img|br|hr|input)$/i.test(y)){if(t.push(">"),r&&/^script$/i.test(y))for(;h;)h.data?t.push(h.data):eg(h,t,r,n,i.slice()),h=h.nextSibling;else for(;h;)eg(h,t,r,n,i.slice()),h=h.nextSibling;t.push("</",b,">");}else t.push("/>");return;case v:case w:for(var h=e.firstChild;h;)eg(h,t,r,n,i.slice()),h=h.nextSibling;return;case u:return em(t,e.name,e.value);case p:return t.push(e.data.replace(/[<&>]/g,q));case d:return t.push("<![CDATA[",e.data,"]]>");case g:return t.push("<!--",e.data,"-->");case E:var R=e.publicId,O=e.systemId;if(t.push("<!DOCTYPE ",e.name),R)t.push(" PUBLIC ",R),O&&"."!=O&&t.push(" ",O),t.push(">");else if(O&&"."!=O)t.push(" SYSTEM ",O,">");else{var C=e.internalSubset;C&&t.push(" [",C,"]"),t.push(">");}return;case m:return t.push("<?",e.target," ",e.data,"?>");case f:return t.push("&",e.nodeName,";");default:t.push("??",e.nodeName);}}function ev(e,t,r){e[t]=r;}c(e.exports,"DOMImplementation",()=>r,e=>r=e),c(e.exports,"XMLSerializer",()=>n,e=>n=e),o=(i=rI("e95yL")).find,a=i.NAMESPACE,l=(s={}).ELEMENT_NODE=1,u=s.ATTRIBUTE_NODE=2,p=s.TEXT_NODE=3,d=s.CDATA_SECTION_NODE=4,f=s.ENTITY_REFERENCE_NODE=5,h=s.ENTITY_NODE=6,m=s.PROCESSING_INSTRUCTION_NODE=7,g=s.COMMENT_NODE=8,v=s.DOCUMENT_NODE=9,E=s.DOCUMENT_TYPE_NODE=10,w=s.DOCUMENT_FRAGMENT_NODE=11,y=s.NOTATION_NODE=12,x={},(b={}).INDEX_SIZE_ERR=(x[1]="Index size error",1),b.DOMSTRING_SIZE_ERR=(x[2]="DOMString size error",2),D=b.HIERARCHY_REQUEST_ERR=(x[3]="Hierarchy request error",3),b.WRONG_DOCUMENT_ERR=(x[4]="Wrong document",4),b.INVALID_CHARACTER_ERR=(x[5]="Invalid character",5),b.NO_DATA_ALLOWED_ERR=(x[6]="No data allowed",6),b.NO_MODIFICATION_ALLOWED_ERR=(x[7]="No modification allowed",7),S=b.NOT_FOUND_ERR=(x[8]="Not found",8),b.NOT_SUPPORTED_ERR=(x[9]="Not supported",9),T=b.INUSE_ATTRIBUTE_ERR=(x[10]="Attribute in use",10),b.INVALID_STATE_ERR=(x[11]="Invalid state",11),b.SYNTAX_ERR=(x[12]="Syntax error",12),b.INVALID_MODIFICATION_ERR=(x[13]="Invalid modification",13),b.NAMESPACE_ERR=(x[14]="Invalid namespace",14),b.INVALID_ACCESS_ERR=(x[15]="Invalid access",15),C.prototype=Error.prototype,R(b,C),_.prototype={length:0,item:function(e){return e>=0&&e<this.length?this[e]:null;},toString:function(e,t){for(var r=[],n=0;n<this.length;n++)eg(this[n],r,e,t);return r.join("");},filter:function(e){return Array.prototype.filter.call(this,e);},indexOf:function(e){return Array.prototype.indexOf.call(this,e);}},$.prototype.item=function(e){return L(this),this[e]||null;},O($,_),P.prototype={length:0,item:_.prototype.item,getNamedItem:function(e){for(var t=this.length;t--;){var r=this[t];if(r.nodeName==e)return r;}},setNamedItem:function(e){var t=e.ownerElement;if(t&&t!=this._ownerElement)throw new C(T);var r=this.getNamedItem(e.nodeName);return U(this._ownerElement,this,e,r),r;},setNamedItemNS:function(e){var t,r=e.ownerElement;if(r&&r!=this._ownerElement)throw new C(T);return t=this.getNamedItemNS(e.namespaceURI,e.localName),U(this._ownerElement,this,e,t),t;},removeNamedItem:function(e){var t=this.getNamedItem(e);return M(this._ownerElement,this,t),t;},removeNamedItemNS:function(e,t){var r=this.getNamedItemNS(e,t);return M(this._ownerElement,this,r),r;},getNamedItemNS:function(e,t){for(var r=this.length;r--;){var n=this[r];if(n.localName==t&&n.namespaceURI==e)return n;}return null;}},F.prototype={hasFeature:function(e,t){return!0;},createDocument:function(e,t,r){var n=new G();if(n.implementation=this,n.childNodes=new _(),n.doctype=r||null,r&&n.appendChild(r),t){var i=n.createElementNS(e,t);n.appendChild(i);}return n;},createDocumentType:function(e,t,r){var n=new ea();return n.name=e,n.nodeName=e,n.publicId=t||"",n.systemId=r||"",n;}},j.prototype={firstChild:null,lastChild:null,previousSibling:null,nextSibling:null,attributes:null,parentNode:null,childNodes:null,ownerDocument:null,nodeValue:null,namespaceURI:null,prefix:null,localName:null,insertBefore:function(e,t){return Z(this,e,t);},replaceChild:function(e,t){Z(this,e,t,J),t&&this.removeChild(t);},removeChild:function(e){return X(this,e);},appendChild:function(e){return this.insertBefore(e,null);},hasChildNodes:function(){return null!=this.firstChild;},cloneNode:function(e){return function e(t,r,n){var i=new r.constructor();for(var o in r)if(Object.prototype.hasOwnProperty.call(r,o)){var a=r[o];"object"!=typeof a&&a!=i[o]&&(i[o]=a);}switch(r.childNodes&&(i.childNodes=new _()),i.ownerDocument=t,i.nodeType){case l:var s=r.attributes,c=i.attributes=new P(),p=s.length;c._ownerElement=i;for(var d=0;p>d;d++)i.setAttributeNode(e(t,s.item(d),!0));break;case u:n=!0;}if(n)for(var f=r.firstChild;f;)i.appendChild(e(t,f,n)),f=f.nextSibling;return i;}(this.ownerDocument||this,this,e);},normalize:function(){for(var e=this.firstChild;e;){var t=e.nextSibling;t&&t.nodeType==p&&e.nodeType==p?(this.removeChild(t),e.appendData(t.data)):(e.normalize(),e=t);}},isSupported:function(e,t){return this.ownerDocument.implementation.hasFeature(e,t);},hasAttributes:function(){return this.attributes.length>0;},lookupPrefix:function(e){for(var t=this;t;){var r=t._nsMap;if(r){for(var n in r)if(Object.prototype.hasOwnProperty.call(r,n)&&r[n]===e)return n;}t=t.nodeType==u?t.ownerDocument:t.parentNode;}return null;},lookupNamespaceURI:function(e){for(var t=this;t;){var r=t._nsMap;if(r&&Object.prototype.hasOwnProperty.call(r,e))return r[e];t=t.nodeType==u?t.ownerDocument:t.parentNode;}return null;},isDefaultNamespace:function(e){return null==this.lookupPrefix(e);}},R(s,j),R(s,j.prototype),G.prototype={nodeName:"#document",nodeType:v,doctype:null,documentElement:null,_inc:1,insertBefore:function(e,t){if(e.nodeType==w){for(var r=e.firstChild;r;){var n=r.nextSibling;this.insertBefore(r,t),r=n;}return e;}return Z(this,e,t),e.ownerDocument=this,null===this.documentElement&&e.nodeType===l&&(this.documentElement=e),e;},removeChild:function(e){return this.documentElement==e&&(this.documentElement=null),X(this,e);},replaceChild:function(e,t){Z(this,e,t,J),e.ownerDocument=this,t&&this.removeChild(t),Y(e)&&(this.documentElement=e);},importNode:function(e,t){return function e(t,r,n){var i;switch(r.nodeType){case l:(i=r.cloneNode(!1)).ownerDocument=t;case w:break;case u:n=!0;}if(i||(i=r.cloneNode(!1)),i.ownerDocument=t,i.parentNode=null,n)for(var o=r.firstChild;o;)i.appendChild(e(t,o,n)),o=o.nextSibling;return i;}(this,e,t);},getElementById:function(e){var t=null;return B(this.documentElement,function(r){if(r.nodeType==l&&r.getAttribute("id")==e)return t=r,!0;}),t;},getElementsByClassName:function(e){var t=A(e);return new $(this,function(r){var n=[];return t.length>0&&B(r.documentElement,function(i){if(i!==r&&i.nodeType===l){var o=i.getAttribute("class");if(o){var a=e===o;if(!a){var s=A(o);a=t.every(function(e){return s&&-1!==s.indexOf(e);});}a&&n.push(i);}}}),n;});},createElement:function(e){var t=new ee();return t.ownerDocument=this,t.nodeName=e,t.tagName=e,t.localName=e,t.childNodes=new _(),(t.attributes=new P())._ownerElement=t,t;},createDocumentFragment:function(){var e=new ec();return e.ownerDocument=this,e.childNodes=new _(),e;},createTextNode:function(e){var t=new en();return t.ownerDocument=this,t.appendData(e),t;},createComment:function(e){var t=new ei();return t.ownerDocument=this,t.appendData(e),t;},createCDATASection:function(e){var t=new eo();return t.ownerDocument=this,t.appendData(e),t;},createProcessingInstruction:function(e,t){var r=new ep();return r.ownerDocument=this,r.tagName=r.nodeName=r.target=e,r.nodeValue=r.data=t,r;},createAttribute:function(e){var t=new et();return t.ownerDocument=this,t.name=e,t.nodeName=e,t.localName=e,t.specified=!0,t;},createEntityReference:function(e){var t=new eu();return t.ownerDocument=this,t.nodeName=e,t;},createElementNS:function(e,t){var r=new ee(),n=t.split(":"),i=r.attributes=new P();return r.childNodes=new _(),r.ownerDocument=this,r.nodeName=t,r.tagName=t,r.namespaceURI=e,2==n.length?(r.prefix=n[0],r.localName=n[1]):r.localName=t,i._ownerElement=r,r;},createAttributeNS:function(e,t){var r=new et(),n=t.split(":");return r.ownerDocument=this,r.nodeName=t,r.name=t,r.namespaceURI=e,r.specified=!0,2==n.length?(r.prefix=n[0],r.localName=n[1]):r.localName=t,r;}},O(G,j),ee.prototype={nodeType:l,hasAttribute:function(e){return null!=this.getAttributeNode(e);},getAttribute:function(e){var t=this.getAttributeNode(e);return t&&t.value||"";},getAttributeNode:function(e){return this.attributes.getNamedItem(e);},setAttribute:function(e,t){var r=this.ownerDocument.createAttribute(e);r.value=r.nodeValue=""+t,this.setAttributeNode(r);},removeAttribute:function(e){var t=this.getAttributeNode(e);t&&this.removeAttributeNode(t);},appendChild:function(e){return e.nodeType===w?this.insertBefore(e,null):(e.parentNode&&e.parentNode.removeChild(e),e.parentNode=this,e.previousSibling=this.lastChild,e.nextSibling=null,e.previousSibling?e.previousSibling.nextSibling=e:this.firstChild=e,this.lastChild=e,V(this.ownerDocument,this,e),e);},setAttributeNode:function(e){return this.attributes.setNamedItem(e);},setAttributeNodeNS:function(e){return this.attributes.setNamedItemNS(e);},removeAttributeNode:function(e){return this.attributes.removeNamedItem(e.nodeName);},removeAttributeNS:function(e,t){var r=this.getAttributeNodeNS(e,t);r&&this.removeAttributeNode(r);},hasAttributeNS:function(e,t){return null!=this.getAttributeNodeNS(e,t);},getAttributeNS:function(e,t){var r=this.getAttributeNodeNS(e,t);return r&&r.value||"";},setAttributeNS:function(e,t,r){var n=this.ownerDocument.createAttributeNS(e,t);n.value=n.nodeValue=""+r,this.setAttributeNode(n);},getAttributeNodeNS:function(e,t){return this.attributes.getNamedItemNS(e,t);},getElementsByTagName:function(e){return new $(this,function(t){var r=[];return B(t,function(n){n!==t&&n.nodeType==l&&("*"===e||n.tagName==e)&&r.push(n);}),r;});},getElementsByTagNameNS:function(e,t){return new $(this,function(r){var n=[];return B(r,function(i){i!==r&&i.nodeType===l&&("*"===e||i.namespaceURI===e)&&("*"===t||i.localName==t)&&n.push(i);}),n;});}},G.prototype.getElementsByTagName=ee.prototype.getElementsByTagName,G.prototype.getElementsByTagNameNS=ee.prototype.getElementsByTagNameNS,O(ee,j),et.prototype.nodeType=u,O(et,j),er.prototype={data:"",substringData:function(e,t){return this.data.substring(e,e+t);},appendData:function(e){e=this.data+e,this.nodeValue=this.data=e,this.length=e.length;},insertData:function(e,t){this.replaceData(e,0,t);},appendChild:function(e){throw Error(x[D]);},deleteData:function(e,t){this.replaceData(e,t,"");},replaceData:function(e,t,r){r=this.data.substring(0,e)+r+this.data.substring(e+t),this.nodeValue=this.data=r,this.length=r.length;}},O(er,j),en.prototype={nodeName:"#text",nodeType:p,splitText:function(e){var t=this.data,r=t.substring(e);t=t.substring(0,e),this.data=this.nodeValue=t,this.length=t.length;var n=this.ownerDocument.createTextNode(r);return this.parentNode&&this.parentNode.insertBefore(n,this.nextSibling),n;}},O(en,er),ei.prototype={nodeName:"#comment",nodeType:g},O(ei,er),eo.prototype={nodeName:"#cdata-section",nodeType:d},O(eo,er),ea.prototype.nodeType=E,O(ea,j),es.prototype.nodeType=y,O(es,j),el.prototype.nodeType=h,O(el,j),eu.prototype.nodeType=f,O(eu,j),ec.prototype.nodeName="#document-fragment",ec.prototype.nodeType=w,O(ec,j),ep.prototype.nodeType=m,O(ep,j),ed.prototype.serializeToString=function(e,t,r){return ef.call(e,t,r);},j.prototype.toString=ef;try{Object.defineProperty&&(Object.defineProperty($.prototype,"length",{get:function(){return L(this),this.$$length;}}),Object.defineProperty(j.prototype,"textContent",{get:function(){return function e(t){switch(t.nodeType){case l:case w:var r=[];for(t=t.firstChild;t;)7!==t.nodeType&&8!==t.nodeType&&r.push(e(t)),t=t.nextSibling;return r.join("");default:return t.nodeValue;}}(this);},set:function(e){switch(this.nodeType){case l:case w:for(;this.firstChild;)this.removeChild(this.firstChild);(e||e+"")&&this.appendChild(this.ownerDocument.createTextNode(e));break;default:this.data=e,this.value=e,this.nodeValue=e;}}}),ev=function(e,t,r){e["$$"+t]=r;});}catch(e){}r=F,n=ed;}),rA("aeYiS",function(e,t){c(e.exports,"XML_ENTITIES",()=>r,e=>r=e),c(e.exports,"HTML_ENTITIES",()=>n,e=>n=e);var r,n,i=rI("e95yL").freeze;r=i({amp:"&",apos:"'",gt:">",lt:"<",quot:'"'}),n=i({Aacute:"Á",aacute:"á",Abreve:"Ă",abreve:"ă",ac:"∾",acd:"∿",acE:"∾̳",Acirc:"Â",acirc:"â",acute:"´",Acy:"А",acy:"а",AElig:"Æ",aelig:"æ",af:"",Afr:"\uD835\uDD04",afr:"\uD835\uDD1E",Agrave:"À",agrave:"à",alefsym:"ℵ",aleph:"ℵ",Alpha:"Α",alpha:"α",Amacr:"Ā",amacr:"ā",amalg:"⨿",AMP:"&",amp:"&",And:"⩓",and:"∧",andand:"⩕",andd:"⩜",andslope:"⩘",andv:"⩚",ang:"∠",ange:"⦤",angle:"∠",angmsd:"∡",angmsdaa:"⦨",angmsdab:"⦩",angmsdac:"⦪",angmsdad:"⦫",angmsdae:"⦬",angmsdaf:"⦭",angmsdag:"⦮",angmsdah:"⦯",angrt:"∟",angrtvb:"⊾",angrtvbd:"⦝",angsph:"∢",angst:"Å",angzarr:"⍼",Aogon:"Ą",aogon:"ą",Aopf:"\uD835\uDD38",aopf:"\uD835\uDD52",ap:"≈",apacir:"⩯",apE:"⩰",ape:"≊",apid:"≋",apos:"'",ApplyFunction:"",approx:"≈",approxeq:"≊",Aring:"Å",aring:"å",Ascr:"\uD835\uDC9C",ascr:"\uD835\uDCB6",Assign:"≔",ast:"*",asymp:"≈",asympeq:"≍",Atilde:"Ã",atilde:"ã",Auml:"Ä",auml:"ä",awconint:"∳",awint:"⨑",backcong:"≌",backepsilon:"϶",backprime:"",backsim:"∽",backsimeq:"⋍",Backslash:"",Barv:"⫧",barvee:"⊽",Barwed:"⌆",barwed:"⌅",barwedge:"⌅",bbrk:"⎵",bbrktbrk:"⎶",bcong:"≌",Bcy:"Б",bcy:"б",bdquo:"„",becaus:"∵",Because:"∵",because:"∵",bemptyv:"⦰",bepsi:"϶",bernou:"",Bernoullis:"",Beta:"Β",beta:"β",beth:"ℶ",between:"≬",Bfr:"\uD835\uDD05",bfr:"\uD835\uDD1F",bigcap:"⋂",bigcirc:"◯",bigcup:"",bigodot:"⨀",bigoplus:"⨁",bigotimes:"⨂",bigsqcup:"⨆",bigstar:"★",bigtriangledown:"▽",bigtriangleup:"△",biguplus:"⨄",bigvee:"",bigwedge:"⋀",bkarow:"⤍",blacklozenge:"⧫",blacksquare:"▪",blacktriangle:"▴",blacktriangledown:"▾",blacktriangleleft:"◂",blacktriangleright:"▸",blank:"␣",blk12:"▒",blk14:"░",blk34:"▓",block:"█",bne:"=⃥",bnequiv:"≡⃥",bNot:"⫭",bnot:"⌐",Bopf:"\uD835\uDD39",bopf:"\uD835\uDD53",bot:"⊥",bottom:"⊥",bowtie:"⋈",boxbox:"⧉",boxDL:"╗",boxDl:"╖",boxdL:"╕",boxdl:"┐",boxDR:"╔",boxDr:"╓",boxdR:"╒",boxdr:"┌",boxH:"═",boxh:"─",boxHD:"╦",boxHd:"╤",boxhD:"╥",boxhd:"┬",boxHU:"╩",boxHu:"╧",boxhU:"╨",boxhu:"┴",boxminus:"⊟",boxplus:"⊞",boxtimes:"⊠",boxUL:"╝",boxUl:"╜",boxuL:"╛",boxul:"┘",boxUR:"╚",boxUr:"╙",boxuR:"╘",boxur:"└",boxV:"║",boxv:"│",boxVH:"╬",boxVh:"╫",boxvH:"╪",boxvh:"┼",boxVL:"╣",boxVl:"╢",boxvL:"╡",boxvl:"┤",boxVR:"╠",boxVr:"╟",boxvR:"╞",boxvr:"├",bprime:"",Breve:"˘",breve:"˘",brvbar:"¦",Bscr:"",bscr:"\uD835\uDCB7",bsemi:"⁏",bsim:"∽",bsime:"⋍",bsol:"\\",bsolb:"⧅",bsolhsub:"⟈",bull:"•",bullet:"•",bump:"≎",bumpE:"⪮",bumpe:"≏",Bumpeq:"≎",bumpeq:"≏",Cacute:"Ć",cacute:"ć",Cap:"⋒",cap:"∩",capand:"⩄",capbrcup:"⩉",capcap:"⩋",capcup:"⩇",capdot:"⩀",CapitalDifferentialD:"",caps:"∩︀",caret:"",caron:"ˇ",Cayleys:"",ccaps:"⩍",Ccaron:"Č",ccaron:"č",Ccedil:"Ç",ccedil:"ç",Ccirc:"Ĉ",ccirc:"ĉ",Cconint:"∰",ccups:"⩌",ccupssm:"⩐",Cdot:"Ċ",cdot:"ċ",cedil:"¸",Cedilla:"¸",cemptyv:"⦲",cent:"¢",CenterDot:"·",centerdot:"·",Cfr:"",cfr:"\uD835\uDD20",CHcy:"Ч",chcy:"ч",check:"✓",checkmark:"✓",Chi:"Χ",chi:"χ",cir:"○",circ:"ˆ",circeq:"≗",circlearrowleft:"↺",circlearrowright:"↻",circledast:"⊛",circledcirc:"⊚",circleddash:"⊝",CircleDot:"⊙",circledR:"®",circledS:"Ⓢ",CircleMinus:"⊖",CirclePlus:"⊕",CircleTimes:"⊗",cirE:"⧃",cire:"≗",cirfnint:"⨐",cirmid:"⫯",cirscir:"⧂",ClockwiseContourIntegral:"∲",CloseCurlyDoubleQuote:"”",CloseCurlyQuote:"",clubs:"♣",clubsuit:"♣",Colon:"∷",colon:":",Colone:"⩴",colone:"≔",coloneq:"≔",comma:",",commat:"@",comp:"∁",compfn:"∘",complement:"∁",complexes:"",cong:"≅",congdot:"⩭",Congruent:"≡",Conint:"∯",conint:"∮",ContourIntegral:"∮",Copf:"",copf:"\uD835\uDD54",coprod:"∐",Coproduct:"∐",COPY:"©",copy:"©",copysr:"℗",CounterClockwiseContourIntegral:"∳",crarr:"↵",Cross:"",cross:"✗",Cscr:"\uD835\uDC9E",cscr:"\uD835\uDCB8",csub:"⫏",csube:"⫑",csup:"⫐",csupe:"⫒",ctdot:"⋯",cudarrl:"⤸",cudarrr:"⤵",cuepr:"⋞",cuesc:"⋟",cularr:"↶",cularrp:"⤽",Cup:"⋓",cup:"",cupbrcap:"⩈",CupCap:"≍",cupcap:"⩆",cupcup:"⩊",cupdot:"⊍",cupor:"⩅",cups:"",curarr:"↷",curarrm:"⤼",curlyeqprec:"⋞",curlyeqsucc:"⋟",curlyvee:"⋎",curlywedge:"⋏",curren:"¤",curvearrowleft:"↶",curvearrowright:"↷",cuvee:"⋎",cuwed:"⋏",cwconint:"∲",cwint:"∱",cylcty:"⌭",Dagger:"‡",dagger:"†",daleth:"ℸ",Darr:"↡",dArr:"⇓",darr:"↓",dash:"",Dashv:"⫤",dashv:"⊣",dbkarow:"⤏",dblac:"˝",Dcaron:"Ď",dcaron:"ď",Dcy:"Д",dcy:"д",DD:"",dd:"",ddagger:"‡",ddarr:"⇊",DDotrahd:"⤑",ddotseq:"⩷",deg:"°",Del:"∇",Delta:"Δ",delta:"δ",demptyv:"⦱",dfisht:"⥿",Dfr:"\uD835\uDD07",dfr:"\uD835\uDD21",dHar:"⥥",dharl:"⇃",dharr:"⇂",DiacriticalAcute:"´",DiacriticalDot:"˙",DiacriticalDoubleAcute:"˝",DiacriticalGrave:"`",DiacriticalTilde:"˜",diam:"⋄",Diamond:"⋄",diamond:"⋄",diamondsuit:"♦",diams:"♦",die:"¨",DifferentialD:"",digamma:"ϝ",disin:"⋲",div:"÷",divide:"÷",divideontimes:"⋇",divonx:"⋇",DJcy:"Ђ",djcy:"ђ",dlcorn:"⌞",dlcrop:"⌍",dollar:"$",Dopf:"\uD835\uDD3B",dopf:"\uD835\uDD55",Dot:"¨",dot:"˙",DotDot:"⃜",doteq:"≐",doteqdot:"≑",DotEqual:"≐",dotminus:"∸",dotplus:"∔",dotsquare:"⊡",doublebarwedge:"⌆",DoubleContourIntegral:"∯",DoubleDot:"¨",DoubleDownArrow:"⇓",DoubleLeftArrow:"⇐",DoubleLeftRightArrow:"⇔",DoubleLeftTee:"⫤",DoubleLongLeftArrow:"⟸",DoubleLongLeftRightArrow:"⟺",DoubleLongRightArrow:"⟹",DoubleRightArrow:"⇒",DoubleRightTee:"⊨",DoubleUpArrow:"⇑",DoubleUpDownArrow:"⇕",DoubleVerticalBar:"∥",DownArrow:"↓",Downarrow:"⇓",downarrow:"↓",DownArrowBar:"⤓",DownArrowUpArrow:"⇵",DownBreve:"̑",downdownarrows:"⇊",downharpoonleft:"⇃",downharpoonright:"⇂",DownLeftRightVector:"⥐",DownLeftTeeVector:"⥞",DownLeftVector:"↽",DownLeftVectorBar:"⥖",DownRightTeeVector:"⥟",DownRightVector:"⇁",DownRightVectorBar:"⥗",DownTee:"",DownTeeArrow:"↧",drbkarow:"⤐",drcorn:"⌟",drcrop:"⌌",Dscr:"\uD835\uDC9F",dscr:"\uD835\uDCB9",DScy:"Ѕ",dscy:"ѕ",dsol:"⧶",Dstrok:"Đ",dstrok:"đ",dtdot:"⋱",dtri:"▿",dtrif:"▾",duarr:"⇵",duhar:"⥯",dwangle:"⦦",DZcy:"Џ",dzcy:"џ",dzigrarr:"⟿",Eacute:"É",eacute:"é",easter:"⩮",Ecaron:"Ě",ecaron:"ě",ecir:"≖",Ecirc:"Ê",ecirc:"ê",ecolon:"≕",Ecy:"Э",ecy:"э",eDDot:"⩷",Edot:"Ė",eDot:"≑",edot:"ė",ee:"",efDot:"≒",Efr:"\uD835\uDD08",efr:"\uD835\uDD22",eg:"⪚",Egrave:"È",egrave:"è",egs:"⪖",egsdot:"⪘",el:"⪙",Element:"∈",elinters:"⏧",ell:"",els:"⪕",elsdot:"⪗",Emacr:"Ē",emacr:"ē",empty:"∅",emptyset:"∅",EmptySmallSquare:"◻",emptyv:"∅",EmptyVerySmallSquare:"▫",emsp:"",emsp13:"",emsp14:"",ENG:"Ŋ",eng:"ŋ",ensp:"",Eogon:"Ę",eogon:"ę",Eopf:"\uD835\uDD3C",eopf:"\uD835\uDD56",epar:"⋕",eparsl:"⧣",eplus:"⩱",epsi:"ε",Epsilon:"Ε",epsilon:"ε",epsiv:"ϵ",eqcirc:"≖",eqcolon:"≕",eqsim:"≂",eqslantgtr:"⪖",eqslantless:"⪕",Equal:"⩵",equals:"=",EqualTilde:"≂",equest:"≟",Equilibrium:"⇌",equiv:"≡",equivDD:"⩸",eqvparsl:"⧥",erarr:"⥱",erDot:"≓",Escr:"",escr:"",esdot:"≐",Esim:"⩳",esim:"≂",Eta:"Η",eta:"η",ETH:"Ð",eth:"ð",Euml:"Ë",euml:"ë",euro:"€",excl:"!",exist:"∃",Exists:"∃",expectation:"",ExponentialE:"",exponentiale:"",fallingdotseq:"≒",Fcy:"Ф",fcy:"ф",female:"♀",ffilig:"ffi",fflig:"ff",ffllig:"ffl",Ffr:"\uD835\uDD09",ffr:"\uD835\uDD23",filig:"fi",FilledSmallSquare:"◼",FilledVerySmallSquare:"▪",fjlig:"fj",flat:"♭",fllig:"fl",fltns:"▱",fnof:"ƒ",Fopf:"\uD835\uDD3D",fopf:"\uD835\uDD57",ForAll:"∀",forall:"∀",fork:"⋔",forkv:"⫙",Fouriertrf:"",fpartint:"⨍",frac12:"½",frac13:"⅓",frac14:"¼",frac15:"⅕",frac16:"⅙",frac18:"⅛",frac23:"⅔",frac25:"⅖",frac34:"¾",frac35:"⅗",frac38:"⅜",frac45:"⅘",frac56:"⅚",frac58:"⅝",frac78:"⅞",frasl:"",frown:"⌢",Fscr:"",fscr:"\uD835\uDCBB",gacute:"ǵ",Gamma:"Γ",gamma:"γ",Gammad:"Ϝ",gammad:"ϝ",gap:"⪆",Gbreve:"Ğ",gbreve:"ğ",Gcedil:"Ģ",Gcirc:"Ĝ",gcirc:"ĝ",Gcy:"Г",gcy:"г",Gdot:"Ġ",gdot:"ġ",gE:"≧",ge:"≥",gEl:"⪌",gel:"⋛",geq:"≥",geqq:"≧",geqslant:"⩾",ges:"⩾",gescc:"⪩",gesdot:"⪀",gesdoto:"⪂",gesdotol:"⪄",gesl:"⋛︀",gesles:"⪔",Gfr:"\uD835\uDD0A",gfr:"\uD835\uDD24",Gg:"⋙",gg:"≫",ggg:"⋙",gimel:"ℷ",GJcy:"Ѓ",gjcy:"ѓ",gl:"≷",gla:"⪥",glE:"⪒",glj:"⪤",gnap:"⪊",gnapprox:"⪊",gnE:"≩",gne:"⪈",gneq:"⪈",gneqq:"≩",gnsim:"⋧",Gopf:"\uD835\uDD3E",gopf:"\uD835\uDD58",grave:"`",GreaterEqual:"≥",GreaterEqualLess:"⋛",GreaterFullEqual:"≧",GreaterGreater:"⪢",GreaterLess:"≷",GreaterSlantEqual:"⩾",GreaterTilde:"≳",Gscr:"\uD835\uDCA2",gscr:"",gsim:"≳",gsime:"⪎",gsiml:"⪐",Gt:"≫",GT:">",gt:">",gtcc:"⪧",gtcir:"⩺",gtdot:"⋗",gtlPar:"⦕",gtquest:"⩼",gtrapprox:"⪆",gtrarr:"⥸",gtrdot:"⋗",gtreqless:"⋛",gtreqqless:"⪌",gtrless:"≷",gtrsim:"≳",gvertneqq:"≩︀",gvnE:"≩︀",Hacek:"ˇ",hairsp:"",half:"½",hamilt:"",HARDcy:"Ъ",hardcy:"ъ",hArr:"⇔",harr:"↔",harrcir:"⥈",harrw:"↭",Hat:"^",hbar:"ℏ",Hcirc:"Ĥ",hcirc:"ĥ",hearts:"♥",heartsuit:"♥",hellip:"…",hercon:"⊹",Hfr:"",hfr:"\uD835\uDD25",HilbertSpace:"",hksearow:"⤥",hkswarow:"⤦",hoarr:"⇿",homtht:"∻",hookleftarrow:"↩",hookrightarrow:"↪",Hopf:"",hopf:"\uD835\uDD59",horbar:"―",HorizontalLine:"─",Hscr:"",hscr:"\uD835\uDCBD",hslash:"ℏ",Hstrok:"Ħ",hstrok:"ħ",HumpDownHump:"≎",HumpEqual:"≏",hybull:"",hyphen:"",Iacute:"Í",iacute:"í",ic:"",Icirc:"Î",icirc:"î",Icy:"И",icy:"и",Idot:"İ",IEcy:"Е",iecy:"е",iexcl:"¡",iff:"⇔",Ifr:"",ifr:"\uD835\uDD26",Igrave:"Ì",igrave:"ì",ii:"",iiiint:"⨌",iiint:"∭",iinfin:"⧜",iiota:"℩",IJlig:"IJ",ijlig:"ij",Im:"",Imacr:"Ī",imacr:"ī",image:"",ImaginaryI:"",imagline:"",imagpart:"",imath:"ı",imof:"⊷",imped:"Ƶ",Implies:"⇒",in:"∈",incare:"℅",infin:"∞",infintie:"⧝",inodot:"ı",Int:"∬",int:"∫",intcal:"⊺",integers:"",Integral:"∫",intercal:"⊺",Intersection:"⋂",intlarhk:"⨗",intprod:"⨼",InvisibleComma:"",InvisibleTimes:"",IOcy:"Ё",iocy:"ё",Iogon:"Į",iogon:"į",Iopf:"\uD835\uDD40",iopf:"\uD835\uDD5A",Iota:"Ι",iota:"ι",iprod:"⨼",iquest:"¿",Iscr:"",iscr:"\uD835\uDCBE",isin:"∈",isindot:"⋵",isinE:"⋹",isins:"⋴",isinsv:"⋳",isinv:"∈",it:"",Itilde:"Ĩ",itilde:"ĩ",Iukcy:"І",iukcy:"і",Iuml:"Ï",iuml:"ï",Jcirc:"Ĵ",jcirc:"ĵ",Jcy:"Й",jcy:"й",Jfr:"\uD835\uDD0D",jfr:"\uD835\uDD27",jmath:"ȷ",Jopf:"\uD835\uDD41",jopf:"\uD835\uDD5B",Jscr:"\uD835\uDCA5",jscr:"\uD835\uDCBF",Jsercy:"Ј",jsercy:"ј",Jukcy:"Є",jukcy:"є",Kappa:"Κ",kappa:"κ",kappav:"ϰ",Kcedil:"Ķ",kcedil:"ķ",Kcy:"К",kcy:"к",Kfr:"\uD835\uDD0E",kfr:"\uD835\uDD28",kgreen:"ĸ",KHcy:"Х",khcy:"х",KJcy:"Ќ",kjcy:"ќ",Kopf:"\uD835\uDD42",kopf:"\uD835\uDD5C",Kscr:"\uD835\uDCA6",kscr:"\uD835\uDCC0",lAarr:"⇚",Lacute:"Ĺ",lacute:"ĺ",laemptyv:"⦴",lagran:"",Lambda:"Λ",lambda:"λ",Lang:"⟪",lang:"⟨",langd:"⦑",langle:"⟨",lap:"⪅",Laplacetrf:"",laquo:"«",Larr:"↞",lArr:"⇐",larr:"←",larrb:"⇤",larrbfs:"⤟",larrfs:"⤝",larrhk:"↩",larrlp:"↫",larrpl:"⤹",larrsim:"⥳",larrtl:"↢",lat:"⪫",lAtail:"⤛",latail:"⤙",late:"⪭",lates:"⪭︀",lBarr:"⤎",lbarr:"⤌",lbbrk:"",lbrace:"{",lbrack:"[",lbrke:"⦋",lbrksld:"⦏",lbrkslu:"⦍",Lcaron:"Ľ",lcaron:"ľ",Lcedil:"Ļ",lcedil:"ļ",lceil:"⌈",lcub:"{",Lcy:"Л",lcy:"л",ldca:"⤶",ldquo:"“",ldquor:"„",ldrdhar:"⥧",ldrushar:"⥋",ldsh:"↲",lE:"≦",le:"≤",LeftAngleBracket:"⟨",LeftArrow:"←",Leftarrow:"⇐",leftarrow:"←",LeftArrowBar:"⇤",LeftArrowRightArrow:"⇆",leftarrowtail:"↢",LeftCeiling:"⌈",LeftDoubleBracket:"⟦",LeftDownTeeVector:"⥡",LeftDownVector:"⇃",LeftDownVectorBar:"⥙",LeftFloor:"⌊",leftharpoondown:"↽",leftharpoonup:"↼",leftleftarrows:"⇇",LeftRightArrow:"↔",Leftrightarrow:"⇔",leftrightarrow:"↔",leftrightarrows:"⇆",leftrightharpoons:"⇋",leftrightsquigarrow:"↭",LeftRightVector:"⥎",LeftTee:"⊣",LeftTeeArrow:"↤",LeftTeeVector:"⥚",leftthreetimes:"⋋",LeftTriangle:"⊲",LeftTriangleBar:"⧏",LeftTriangleEqual:"⊴",LeftUpDownVector:"⥑",LeftUpTeeVector:"⥠",LeftUpVector:"↿",LeftUpVectorBar:"⥘",LeftVector:"↼",LeftVectorBar:"⥒",lEg:"⪋",leg:"⋚",leq:"≤",leqq:"≦",leqslant:"⩽",les:"⩽",lescc:"⪨",lesdot:"⩿",lesdoto:"⪁",lesdotor:"⪃",lesg:"⋚︀",lesges:"⪓",lessapprox:"⪅",lessdot:"⋖",lesseqgtr:"⋚",lesseqqgtr:"⪋",LessEqualGreater:"⋚",LessFullEqual:"≦",LessGreater:"≶",lessgtr:"≶",LessLess:"⪡",lesssim:"≲",LessSlantEqual:"⩽",LessTilde:"≲",lfisht:"⥼",lfloor:"⌊",Lfr:"\uD835\uDD0F",lfr:"\uD835\uDD29",lg:"≶",lgE:"⪑",lHar:"⥢",lhard:"↽",lharu:"↼",lharul:"⥪",lhblk:"▄",LJcy:"Љ",ljcy:"љ",Ll:"⋘",ll:"≪",llarr:"⇇",llcorner:"⌞",Lleftarrow:"⇚",llhard:"⥫",lltri:"◺",Lmidot:"Ŀ",lmidot:"ŀ",lmoust:"⎰",lmoustache:"⎰",lnap:"⪉",lnapprox:"⪉",lnE:"≨",lne:"⪇",lneq:"⪇",lneqq:"≨",lnsim:"⋦",loang:"⟬",loarr:"⇽",lobrk:"⟦",LongLeftArrow:"⟵",Longleftarrow:"⟸",longleftarrow:"⟵",LongLeftRightArrow:"⟷",Longleftrightarrow:"⟺",longleftrightarrow:"⟷",longmapsto:"⟼",LongRightArrow:"⟶",Longrightarrow:"⟹",longrightarrow:"⟶",looparrowleft:"↫",looparrowright:"↬",lopar:"⦅",Lopf:"\uD835\uDD43",lopf:"\uD835\uDD5D",loplus:"⨭",lotimes:"⨴",lowast:"",lowbar:"_",LowerLeftArrow:"↙",LowerRightArrow:"↘",loz:"◊",lozenge:"◊",lozf:"⧫",lpar:"(",lparlt:"⦓",lrarr:"⇆",lrcorner:"⌟",lrhar:"⇋",lrhard:"⥭",lrm:"",lrtri:"⊿",lsaquo:"",Lscr:"",lscr:"\uD835\uDCC1",Lsh:"↰",lsh:"↰",lsim:"≲",lsime:"⪍",lsimg:"⪏",lsqb:"[",lsquo:"",lsquor:"",Lstrok:"Ł",lstrok:"ł",Lt:"≪",LT:"<",lt:"<",ltcc:"⪦",ltcir:"⩹",ltdot:"⋖",lthree:"⋋",ltimes:"⋉",ltlarr:"⥶",ltquest:"⩻",ltri:"◃",ltrie:"⊴",ltrif:"◂",ltrPar:"⦖",lurdshar:"⥊",luruhar:"⥦",lvertneqq:"≨︀",lvnE:"≨︀",macr:"¯",male:"♂",malt:"✠",maltese:"✠",Map:"⤅",map:"↦",mapsto:"↦",mapstodown:"↧",mapstoleft:"↤",mapstoup:"↥",marker:"▮",mcomma:"⨩",Mcy:"М",mcy:"м",mdash:"—",mDDot:"∺",measuredangle:"∡",MediumSpace:"",Mellintrf:"",Mfr:"\uD835\uDD10",mfr:"\uD835\uDD2A",mho:"℧",micro:"µ",mid:"",midast:"*",midcir:"⫰",middot:"·",minus:"",minusb:"⊟",minusd:"∸",minusdu:"⨪",MinusPlus:"∓",mlcp:"⫛",mldr:"…",mnplus:"∓",models:"⊧",Mopf:"\uD835\uDD44",mopf:"\uD835\uDD5E",mp:"∓",Mscr:"",mscr:"\uD835\uDCC2",mstpos:"∾",Mu:"Μ",mu:"μ",multimap:"⊸",mumap:"⊸",nabla:"∇",Nacute:"Ń",nacute:"ń",nang:"∠⃒",nap:"≉",napE:"⩰̸",napid:"≋̸",napos:"ʼn",napprox:"≉",natur:"♮",natural:"♮",naturals:"",nbsp:" ",nbump:"≎̸",nbumpe:"≏̸",ncap:"⩃",Ncaron:"Ň",ncaron:"ň",Ncedil:"Ņ",ncedil:"ņ",ncong:"≇",ncongdot:"⩭̸",ncup:"⩂",Ncy:"Н",ncy:"н",ndash:"",ne:"≠",nearhk:"⤤",neArr:"⇗",nearr:"↗",nearrow:"↗",nedot:"≐̸",NegativeMediumSpace:"",NegativeThickSpace:"",NegativeThinSpace:"",NegativeVeryThinSpace:"",nequiv:"≢",nesear:"⤨",nesim:"≂̸",NestedGreaterGreater:"≫",NestedLessLess:"≪",NewLine:"\n",nexist:"∄",nexists:"∄",Nfr:"\uD835\uDD11",nfr:"\uD835\uDD2B",ngE:"≧̸",nge:"≱",ngeq:"≱",ngeqq:"≧̸",ngeqslant:"⩾̸",nges:"⩾̸",nGg:"⋙̸",ngsim:"≵",nGt:"≫⃒",ngt:"≯",ngtr:"≯",nGtv:"≫̸",nhArr:"⇎",nharr:"↮",nhpar:"⫲",ni:"∋",nis:"⋼",nisd:"⋺",niv:"∋",NJcy:"Њ",njcy:"њ",nlArr:"⇍",nlarr:"↚",nldr:"‥",nlE:"≦̸",nle:"≰",nLeftarrow:"⇍",nleftarrow:"↚",nLeftrightarrow:"⇎",nleftrightarrow:"↮",nleq:"≰",nleqq:"≦̸",nleqslant:"⩽̸",nles:"⩽̸",nless:"≮",nLl:"⋘̸",nlsim:"≴",nLt:"≪⃒",nlt:"≮",nltri:"⋪",nltrie:"⋬",nLtv:"≪̸",nmid:"∤",NoBreak:"",NonBreakingSpace:" ",Nopf:"",nopf:"\uD835\uDD5F",Not:"⫬",not:"¬",NotCongruent:"≢",NotCupCap:"≭",NotDoubleVerticalBar:"∦",NotElement:"∉",NotEqual:"≠",NotEqualTilde:"≂̸",NotExists:"∄",NotGreater:"≯",NotGreaterEqual:"≱",NotGreaterFullEqual:"≧̸",NotGreaterGreater:"≫̸",NotGreaterLess:"≹",NotGreaterSlantEqual:"⩾̸",NotGreaterTilde:"≵",NotHumpDownHump:"≎̸",NotHumpEqual:"≏̸",notin:"∉",notindot:"⋵̸",notinE:"⋹̸",notinva:"∉",notinvb:"⋷",notinvc:"⋶",NotLeftTriangle:"⋪",NotLeftTriangleBar:"⧏̸",NotLeftTriangleEqual:"⋬",NotLess:"≮",NotLessEqual:"≰",NotLessGreater:"≸",NotLessLess:"≪̸",NotLessSlantEqual:"⩽̸",NotLessTilde:"≴",NotNestedGreaterGreater:"⪢̸",NotNestedLessLess:"⪡̸",notni:"∌",notniva:"∌",notnivb:"⋾",notnivc:"⋽",NotPrecedes:"⊀",NotPrecedesEqual:"⪯̸",NotPrecedesSlantEqual:"⋠",NotReverseElement:"∌",NotRightTriangle:"⋫",NotRightTriangleBar:"⧐̸",NotRightTriangleEqual:"⋭",NotSquareSubset:"⊏̸",NotSquareSubsetEqual:"⋢",NotSquareSuperset:"⊐̸",NotSquareSupersetEqual:"⋣",NotSubset:"⊂⃒",NotSubsetEqual:"⊈",NotSucceeds:"⊁",NotSucceedsEqual:"⪰̸",NotSucceedsSlantEqual:"⋡",NotSucceedsTilde:"≿̸",NotSuperset:"⊃⃒",NotSupersetEqual:"⊉",NotTilde:"≁",NotTildeEqual:"≄",NotTildeFullEqual:"≇",NotTildeTilde:"≉",NotVerticalBar:"∤",npar:"∦",nparallel:"∦",nparsl:"⫽⃥",npart:"∂̸",npolint:"⨔",npr:"⊀",nprcue:"⋠",npre:"⪯̸",nprec:"⊀",npreceq:"⪯̸",nrArr:"⇏",nrarr:"↛",nrarrc:"⤳̸",nrarrw:"↝̸",nRightarrow:"⇏",nrightarrow:"↛",nrtri:"⋫",nrtrie:"⋭",nsc:"⊁",nsccue:"⋡",nsce:"⪰̸",Nscr:"\uD835\uDCA9",nscr:"\uD835\uDCC3",nshortmid:"∤",nshortparallel:"∦",nsim:"≁",nsime:"≄",nsimeq:"≄",nsmid:"∤",nspar:"∦",nsqsube:"⋢",nsqsupe:"⋣",nsub:"⊄",nsubE:"⫅̸",nsube:"⊈",nsubset:"⊂⃒",nsubseteq:"⊈",nsubseteqq:"⫅̸",nsucc:"⊁",nsucceq:"⪰̸",nsup:"⊅",nsupE:"⫆̸",nsupe:"⊉",nsupset:"⊃⃒",nsupseteq:"⊉",nsupseteqq:"⫆̸",ntgl:"≹",Ntilde:"Ñ",ntilde:"ñ",ntlg:"≸",ntriangleleft:"⋪",ntrianglelefteq:"⋬",ntriangleright:"⋫",ntrianglerighteq:"⋭",Nu:"Ν",nu:"ν",num:"#",numero:"№",numsp:"",nvap:"≍⃒",nVDash:"⊯",nVdash:"⊮",nvDash:"⊭",nvdash:"⊬",nvge:"≥⃒",nvgt:">⃒",nvHarr:"⤄",nvinfin:"⧞",nvlArr:"⤂",nvle:"≤⃒",nvlt:"<⃒",nvltrie:"⊴⃒",nvrArr:"⤃",nvrtrie:"⊵⃒",nvsim:"∼⃒",nwarhk:"⤣",nwArr:"⇖",nwarr:"↖",nwarrow:"↖",nwnear:"⤧",Oacute:"Ó",oacute:"ó",oast:"⊛",ocir:"⊚",Ocirc:"Ô",ocirc:"ô",Ocy:"О",ocy:"о",odash:"⊝",Odblac:"Ő",odblac:"ő",odiv:"⨸",odot:"⊙",odsold:"⦼",OElig:"Œ",oelig:"œ",ofcir:"⦿",Ofr:"\uD835\uDD12",ofr:"\uD835\uDD2C",ogon:"˛",Ograve:"Ò",ograve:"ò",ogt:"⧁",ohbar:"⦵",ohm:"Ω",oint:"∮",olarr:"↺",olcir:"⦾",olcross:"⦻",oline:"‾",olt:"⧀",Omacr:"Ō",omacr:"ō",Omega:"Ω",omega:"ω",Omicron:"Ο",omicron:"ο",omid:"⦶",ominus:"⊖",Oopf:"\uD835\uDD46",oopf:"\uD835\uDD60",opar:"⦷",OpenCurlyDoubleQuote:"“",OpenCurlyQuote:"",operp:"⦹",oplus:"⊕",Or:"⩔",or:"",orarr:"↻",ord:"⩝",order:"",orderof:"",ordf:"ª",ordm:"º",origof:"⊶",oror:"⩖",orslope:"⩗",orv:"⩛",oS:"Ⓢ",Oscr:"\uD835\uDCAA",oscr:"",Oslash:"Ø",oslash:"ø",osol:"⊘",Otilde:"Õ",otilde:"õ",Otimes:"⨷",otimes:"⊗",otimesas:"⨶",Ouml:"Ö",ouml:"ö",ovbar:"⌽",OverBar:"‾",OverBrace:"⏞",OverBracket:"⎴",OverParenthesis:"⏜",par:"∥",para:"¶",parallel:"∥",parsim:"⫳",parsl:"⫽",part:"∂",PartialD:"∂",Pcy:"П",pcy:"п",percnt:"%",period:".",permil:"‰",perp:"⊥",pertenk:"‱",Pfr:"\uD835\uDD13",pfr:"\uD835\uDD2D",Phi:"Φ",phi:"φ",phiv:"ϕ",phmmat:"",phone:"☎",Pi:"Π",pi:"π",pitchfork:"⋔",piv:"ϖ",planck:"ℏ",planckh:"",plankv:"ℏ",plus:"+",plusacir:"⨣",plusb:"⊞",pluscir:"⨢",plusdo:"∔",plusdu:"⨥",pluse:"⩲",PlusMinus:"±",plusmn:"±",plussim:"⨦",plustwo:"⨧",pm:"±",Poincareplane:"",pointint:"⨕",Popf:"",popf:"\uD835\uDD61",pound:"£",Pr:"⪻",pr:"≺",prap:"⪷",prcue:"≼",prE:"⪳",pre:"⪯",prec:"≺",precapprox:"⪷",preccurlyeq:"≼",Precedes:"≺",PrecedesEqual:"⪯",PrecedesSlantEqual:"≼",PrecedesTilde:"≾",preceq:"⪯",precnapprox:"⪹",precneqq:"⪵",precnsim:"⋨",precsim:"≾",Prime:"″",prime:"",primes:"",prnap:"⪹",prnE:"⪵",prnsim:"⋨",prod:"∏",Product:"∏",profalar:"⌮",profline:"⌒",profsurf:"⌓",prop:"∝",Proportion:"∷",Proportional:"∝",propto:"∝",prsim:"≾",prurel:"⊰",Pscr:"\uD835\uDCAB",pscr:"\uD835\uDCC5",Psi:"Ψ",psi:"ψ",puncsp:"",Qfr:"\uD835\uDD14",qfr:"\uD835\uDD2E",qint:"⨌",Qopf:"",qopf:"\uD835\uDD62",qprime:"⁗",Qscr:"\uD835\uDCAC",qscr:"\uD835\uDCC6",quaternions:"",quatint:"⨖",quest:"?",questeq:"≟",QUOT:'"',quot:'"',rAarr:"⇛",race:"∽̱",Racute:"Ŕ",racute:"ŕ",radic:"√",raemptyv:"⦳",Rang:"⟫",rang:"⟩",rangd:"⦒",range:"⦥",rangle:"⟩",raquo:"»",Rarr:"↠",rArr:"⇒",rarr:"→",rarrap:"⥵",rarrb:"⇥",rarrbfs:"⤠",rarrc:"⤳",rarrfs:"⤞",rarrhk:"↪",rarrlp:"↬",rarrpl:"⥅",rarrsim:"⥴",Rarrtl:"⤖",rarrtl:"↣",rarrw:"↝",rAtail:"⤜",ratail:"⤚",ratio:"",rationals:"",RBarr:"⤐",rBarr:"⤏",rbarr:"⤍",rbbrk:"",rbrace:"}",rbrack:"]",rbrke:"⦌",rbrksld:"⦎",rbrkslu:"⦐",Rcaron:"Ř",rcaron:"ř",Rcedil:"Ŗ",rcedil:"ŗ",rceil:"⌉",rcub:"}",Rcy:"Р",rcy:"р",rdca:"⤷",rdldhar:"⥩",rdquo:"”",rdquor:"”",rdsh:"↳",Re:"",real:"",realine:"",realpart:"",reals:"",rect:"▭",REG:"®",reg:"®",ReverseElement:"∋",ReverseEquilibrium:"⇋",ReverseUpEquilibrium:"⥯",rfisht:"⥽",rfloor:"⌋",Rfr:"",rfr:"\uD835\uDD2F",rHar:"⥤",rhard:"⇁",rharu:"⇀",rharul:"⥬",Rho:"Ρ",rho:"ρ",rhov:"ϱ",RightAngleBracket:"⟩",RightArrow:"→",Rightarrow:"⇒",rightarrow:"→",RightArrowBar:"⇥",RightArrowLeftArrow:"⇄",rightarrowtail:"↣",RightCeiling:"⌉",RightDoubleBracket:"⟧",RightDownTeeVector:"⥝",RightDownVector:"⇂",RightDownVectorBar:"⥕",RightFloor:"⌋",rightharpoondown:"⇁",rightharpoonup:"⇀",rightleftarrows:"⇄",rightleftharpoons:"⇌",rightrightarrows:"⇉",rightsquigarrow:"↝",RightTee:"⊢",RightTeeArrow:"↦",RightTeeVector:"⥛",rightthreetimes:"⋌",RightTriangle:"⊳",RightTriangleBar:"⧐",RightTriangleEqual:"⊵",RightUpDownVector:"⥏",RightUpTeeVector:"⥜",RightUpVector:"↾",RightUpVectorBar:"⥔",RightVector:"⇀",RightVectorBar:"⥓",ring:"˚",risingdotseq:"≓",rlarr:"⇄",rlhar:"⇌",rlm:"",rmoust:"⎱",rmoustache:"⎱",rnmid:"⫮",roang:"⟭",roarr:"⇾",robrk:"⟧",ropar:"⦆",Ropf:"",ropf:"\uD835\uDD63",roplus:"⨮",rotimes:"⨵",RoundImplies:"⥰",rpar:")",rpargt:"⦔",rppolint:"⨒",rrarr:"⇉",Rrightarrow:"⇛",rsaquo:"",Rscr:"",rscr:"\uD835\uDCC7",Rsh:"↱",rsh:"↱",rsqb:"]",rsquo:"",rsquor:"",rthree:"⋌",rtimes:"⋊",rtri:"▹",rtrie:"⊵",rtrif:"▸",rtriltri:"⧎",RuleDelayed:"⧴",ruluhar:"⥨",rx:"℞",Sacute:"Ś",sacute:"ś",sbquo:"",Sc:"⪼",sc:"≻",scap:"⪸",Scaron:"Š",scaron:"š",sccue:"≽",scE:"⪴",sce:"⪰",Scedil:"Ş",scedil:"ş",Scirc:"Ŝ",scirc:"ŝ",scnap:"⪺",scnE:"⪶",scnsim:"⋩",scpolint:"⨓",scsim:"≿",Scy:"С",scy:"с",sdot:"⋅",sdotb:"⊡",sdote:"⩦",searhk:"⤥",seArr:"⇘",searr:"↘",searrow:"↘",sect:"§",semi:";",seswar:"⤩",setminus:"",setmn:"",sext:"✶",Sfr:"\uD835\uDD16",sfr:"\uD835\uDD30",sfrown:"⌢",sharp:"♯",SHCHcy:"Щ",shchcy:"щ",SHcy:"Ш",shcy:"ш",ShortDownArrow:"↓",ShortLeftArrow:"←",shortmid:"",shortparallel:"∥",ShortRightArrow:"→",ShortUpArrow:"↑",shy:"­",Sigma:"Σ",sigma:"σ",sigmaf:"ς",sigmav:"ς",sim:"",simdot:"⩪",sime:"≃",simeq:"≃",simg:"⪞",simgE:"⪠",siml:"⪝",simlE:"⪟",simne:"≆",simplus:"⨤",simrarr:"⥲",slarr:"←",SmallCircle:"∘",smallsetminus:"",smashp:"⨳",smeparsl:"⧤",smid:"",smile:"⌣",smt:"⪪",smte:"⪬",smtes:"⪬︀",SOFTcy:"Ь",softcy:"ь",sol:"/",solb:"⧄",solbar:"⌿",Sopf:"\uD835\uDD4A",sopf:"\uD835\uDD64",spades:"♠",spadesuit:"♠",spar:"∥",sqcap:"⊓",sqcaps:"⊓︀",sqcup:"⊔",sqcups:"⊔︀",Sqrt:"√",sqsub:"⊏",sqsube:"⊑",sqsubset:"⊏",sqsubseteq:"⊑",sqsup:"⊐",sqsupe:"⊒",sqsupset:"⊐",sqsupseteq:"⊒",squ:"□",Square:"□",square:"□",SquareIntersection:"⊓",SquareSubset:"⊏",SquareSubsetEqual:"⊑",SquareSuperset:"⊐",SquareSupersetEqual:"⊒",SquareUnion:"⊔",squarf:"▪",squf:"▪",srarr:"→",Sscr:"\uD835\uDCAE",sscr:"\uD835\uDCC8",ssetmn:"",ssmile:"⌣",sstarf:"⋆",Star:"⋆",star:"☆",starf:"★",straightepsilon:"ϵ",straightphi:"ϕ",strns:"¯",Sub:"⋐",sub:"⊂",subdot:"⪽",subE:"⫅",sube:"⊆",subedot:"⫃",submult:"⫁",subnE:"⫋",subne:"⊊",subplus:"⪿",subrarr:"⥹",Subset:"⋐",subset:"⊂",subseteq:"⊆",subseteqq:"⫅",SubsetEqual:"⊆",subsetneq:"⊊",subsetneqq:"⫋",subsim:"⫇",subsub:"⫕",subsup:"⫓",succ:"≻",succapprox:"⪸",succcurlyeq:"≽",Succeeds:"≻",SucceedsEqual:"⪰",SucceedsSlantEqual:"≽",SucceedsTilde:"≿",succeq:"⪰",succnapprox:"⪺",succneqq:"⪶",succnsim:"⋩",succsim:"≿",SuchThat:"∋",Sum:"∑",sum:"∑",sung:"♪",Sup:"⋑",sup:"⊃",sup1:"¹",sup2:"²",sup3:"³",supdot:"⪾",supdsub:"⫘",supE:"⫆",supe:"⊇",supedot:"⫄",Superset:"⊃",SupersetEqual:"⊇",suphsol:"⟉",suphsub:"⫗",suplarr:"⥻",supmult:"⫂",supnE:"⫌",supne:"⊋",supplus:"⫀",Supset:"⋑",supset:"⊃",supseteq:"⊇",supseteqq:"⫆",supsetneq:"⊋",supsetneqq:"⫌",supsim:"⫈",supsub:"⫔",supsup:"⫖",swarhk:"⤦",swArr:"⇙",swarr:"↙",swarrow:"↙",swnwar:"⤪",szlig:"ß",Tab:" ",target:"⌖",Tau:"Τ",tau:"τ",tbrk:"⎴",Tcaron:"Ť",tcaron:"ť",Tcedil:"Ţ",tcedil:"ţ",Tcy:"Т",tcy:"т",tdot:"⃛",telrec:"⌕",Tfr:"\uD835\uDD17",tfr:"\uD835\uDD31",there4:"∴",Therefore:"∴",therefore:"∴",Theta:"Θ",theta:"θ",thetasym:"ϑ",thetav:"ϑ",thickapprox:"≈",thicksim:"",ThickSpace:"",thinsp:"",ThinSpace:"",thkap:"≈",thksim:"",THORN:"Þ",thorn:"þ",Tilde:"",tilde:"˜",TildeEqual:"≃",TildeFullEqual:"≅",TildeTilde:"≈",times:"×",timesb:"⊠",timesbar:"⨱",timesd:"⨰",tint:"∭",toea:"⤨",top:"",topbot:"⌶",topcir:"⫱",Topf:"\uD835\uDD4B",topf:"\uD835\uDD65",topfork:"⫚",tosa:"⤩",tprime:"‴",TRADE:"™",trade:"™",triangle:"▵",triangledown:"▿",triangleleft:"◃",trianglelefteq:"⊴",triangleq:"≜",triangleright:"▹",trianglerighteq:"⊵",tridot:"◬",trie:"≜",triminus:"⨺",TripleDot:"⃛",triplus:"⨹",trisb:"⧍",tritime:"⨻",trpezium:"⏢",Tscr:"\uD835\uDCAF",tscr:"\uD835\uDCC9",TScy:"Ц",tscy:"ц",TSHcy:"Ћ",tshcy:"ћ",Tstrok:"Ŧ",tstrok:"ŧ",twixt:"≬",twoheadleftarrow:"↞",twoheadrightarrow:"↠",Uacute:"Ú",uacute:"ú",Uarr:"↟",uArr:"⇑",uarr:"↑",Uarrocir:"⥉",Ubrcy:"Ў",ubrcy:"ў",Ubreve:"Ŭ",ubreve:"ŭ",Ucirc:"Û",ucirc:"û",Ucy:"У",ucy:"у",udarr:"⇅",Udblac:"Ű",udblac:"ű",udhar:"⥮",ufisht:"⥾",Ufr:"\uD835\uDD18",ufr:"\uD835\uDD32",Ugrave:"Ù",ugrave:"ù",uHar:"⥣",uharl:"↿",uharr:"↾",uhblk:"▀",ulcorn:"⌜",ulcorner:"⌜",ulcrop:"⌏",ultri:"◸",Umacr:"Ū",umacr:"ū",uml:"¨",UnderBar:"_",UnderBrace:"⏟",UnderBracket:"⎵",UnderParenthesis:"⏝",Union:"",UnionPlus:"⊎",Uogon:"Ų",uogon:"ų",Uopf:"\uD835\uDD4C",uopf:"\uD835\uDD66",UpArrow:"↑",Uparrow:"⇑",uparrow:"↑",UpArrowBar:"⤒",UpArrowDownArrow:"⇅",UpDownArrow:"↕",Updownarrow:"⇕",updownarrow:"↕",UpEquilibrium:"⥮",upharpoonleft:"↿",upharpoonright:"↾",uplus:"⊎",UpperLeftArrow:"↖",UpperRightArrow:"↗",Upsi:"ϒ",upsi:"υ",upsih:"ϒ",Upsilon:"Υ",upsilon:"υ",UpTee:"⊥",UpTeeArrow:"↥",upuparrows:"⇈",urcorn:"⌝",urcorner:"⌝",urcrop:"⌎",Uring:"Ů",uring:"ů",urtri:"◹",Uscr:"\uD835\uDCB0",uscr:"\uD835\uDCCA",utdot:"⋰",Utilde:"Ũ",utilde:"ũ",utri:"▵",utrif:"▴",uuarr:"⇈",Uuml:"Ü",uuml:"ü",uwangle:"⦧",vangrt:"⦜",varepsilon:"ϵ",varkappa:"ϰ",varnothing:"∅",varphi:"ϕ",varpi:"ϖ",varpropto:"∝",vArr:"⇕",varr:"↕",varrho:"ϱ",varsigma:"ς",varsubsetneq:"⊊︀",varsubsetneqq:"⫋︀",varsupsetneq:"⊋︀",varsupsetneqq:"⫌︀",vartheta:"ϑ",vartriangleleft:"⊲",vartriangleright:"⊳",Vbar:"⫫",vBar:"⫨",vBarv:"⫩",Vcy:"В",vcy:"в",VDash:"⊫",Vdash:"⊩",vDash:"⊨",vdash:"⊢",Vdashl:"⫦",Vee:"",vee:"",veebar:"⊻",veeeq:"≚",vellip:"⋮",Verbar:"‖",verbar:"|",Vert:"‖",vert:"|",VerticalBar:"",VerticalLine:"|",VerticalSeparator:"❘",VerticalTilde:"≀",VeryThinSpace:"",Vfr:"\uD835\uDD19",vfr:"\uD835\uDD33",vltri:"⊲",vnsub:"⊂⃒",vnsup:"⊃⃒",Vopf:"\uD835\uDD4D",vopf:"\uD835\uDD67",vprop:"∝",vrtri:"⊳",Vscr:"\uD835\uDCB1",vscr:"\uD835\uDCCB",vsubnE:"⫋︀",vsubne:"⊊︀",vsupnE:"⫌︀",vsupne:"⊋︀",Vvdash:"⊪",vzigzag:"⦚",Wcirc:"Ŵ",wcirc:"ŵ",wedbar:"⩟",Wedge:"⋀",wedge:"∧",wedgeq:"≙",weierp:"℘",Wfr:"\uD835\uDD1A",wfr:"\uD835\uDD34",Wopf:"\uD835\uDD4E",wopf:"\uD835\uDD68",wp:"℘",wr:"≀",wreath:"≀",Wscr:"\uD835\uDCB2",wscr:"\uD835\uDCCC",xcap:"⋂",xcirc:"◯",xcup:"",xdtri:"▽",Xfr:"\uD835\uDD1B",xfr:"\uD835\uDD35",xhArr:"⟺",xharr:"⟷",Xi:"Ξ",xi:"ξ",xlArr:"⟸",xlarr:"⟵",xmap:"⟼",xnis:"⋻",xodot:"⨀",Xopf:"\uD835\uDD4F",xopf:"\uD835\uDD69",xoplus:"⨁",xotime:"⨂",xrArr:"⟹",xrarr:"⟶",Xscr:"\uD835\uDCB3",xscr:"\uD835\uDCCD",xsqcup:"⨆",xuplus:"⨄",xutri:"△",xvee:"",xwedge:"⋀",Yacute:"Ý",yacute:"ý",YAcy:"Я",yacy:"я",Ycirc:"Ŷ",ycirc:"ŷ",Ycy:"Ы",ycy:"ы",yen:"¥",Yfr:"\uD835\uDD1C",yfr:"\uD835\uDD36",YIcy:"Ї",yicy:"ї",Yopf:"\uD835\uDD50",yopf:"\uD835\uDD6A",Yscr:"\uD835\uDCB4",yscr:"\uD835\uDCCE",YUcy:"Ю",yucy:"ю",Yuml:"Ÿ",yuml:"ÿ",Zacute:"Ź",zacute:"ź",Zcaron:"Ž",zcaron:"ž",Zcy:"З",zcy:"з",Zdot:"Ż",zdot:"ż",zeetrf:"",ZeroWidthSpace:"",Zeta:"Ζ",zeta:"ζ",Zfr:"",zfr:"\uD835\uDD37",ZHcy:"Ж",zhcy:"ж",zigrarr:"⇝",Zopf:"",zopf:"\uD835\uDD6B",Zscr:"\uD835\uDCB5",zscr:"\uD835\uDCCF",zwj:"",zwnj:""});}),rA("aKT05",function(e,t){var r,n,i,o,a;function s(e,t){this.message=e,this.locator=t,Error.captureStackTrace&&Error.captureStackTrace(this,s);}function l(){}function u(e,t){return t.lineNumber=e.lineNumber,t.columnNumber=e.columnNumber,t;}function p(e,t,r){for(var n=e.tagName,o=null,a=e.length;a--;){var s=e[a],l=s.qName,u=s.value,c=l.indexOf(":");if(c>0)var p=s.prefix=l.slice(0,c),f=l.slice(c+1),h="xmlns"===p&&f;else f=l,p=null,h="xmlns"===l&&"";s.localName=f,!1!==h&&(null==o&&(o={},d(r,r={})),r[h]=o[h]=u,s.uri=i.XMLNS,t.startPrefixMapping(h,u));}for(var a=e.length;a--;){var p=(s=e[a]).prefix;p&&("xml"===p&&(s.uri=i.XML),"xmlns"!==p&&(s.uri=r[p||""]));}var c=n.indexOf(":");c>0?(p=e.prefix=n.slice(0,c),f=e.localName=n.slice(c+1)):(p=null,f=e.localName=n);var m=e.uri=r[p||""];if(t.startElement(m,f,n,e),!e.closed)return e.currentNSMap=r,e.localNSMap=o,!0;if(t.endElement(m,f,n),o)for(p in o)Object.prototype.hasOwnProperty.call(o,p)&&t.endPrefixMapping(p);}function d(e,t){for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);}function f(){this.attributeNames={};}c(e.exports,"XMLReader",()=>r,e=>r=e),c(e.exports,"ParseError",()=>n,e=>n=e),i=rI("e95yL").NAMESPACE,o=RegExp("[\\-\\.0-9"+/[A-Z_a-z\xC0-\xD6\xD8-\xF6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]/.source.slice(1,-1)+"\\u00B7\\u0300-\\u036F\\u203F-\\u2040]"),a=RegExp("^"+/[A-Z_a-z\xC0-\xD6\xD8-\xF6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]/.source+o.source+"*(?::"+/[A-Z_a-z\xC0-\xD6\xD8-\xF6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]/.source+o.source+"*)?$"),s.prototype=Error(),s.prototype.name="$7d48dd32ae42de33$var$ParseError",l.prototype={parse:function(e,t,r){var n=this.domBuilder;n.startDocument(),d(t,t={}),function(e,t,r,n,o){function a(e){var t,n=e.slice(1,-1);return Object.hasOwnProperty.call(r,n)?r[n]:"#"===n.charAt(0)?(t=parseInt(n.substr(1).replace("x","0x")))>65535?String.fromCharCode(55296+((t-=65536)>>10),56320+(1023&t)):String.fromCharCode(t):(o.error("entity not found:"+e),e);}function l(t){if(t>w){var r=e.substring(w,t).replace(/&#?\w+;/g,a);g&&c(w),n.characters(r,0,t-w),w=t;}}function c(t,r){for(;t>=h&&(r=m.exec(e));)h=(d=r.index)+r[0].length,g.lineNumber++;g.columnNumber=t-d+1;}for(var d=0,h=0,m=/.*(?:\r\n?|\n)|.*$/g,g=n.locator,v=[{currentNSMap:t}],E={},w=0;;){try{var y=e.indexOf("<",w);if(y<0){if(!e.substr(w).match(/^\s*$/)){var b=n.doc,x=b.createTextNode(e.substr(w));b.appendChild(x),n.currentElement=x;}return;}switch(y>w&&l(y),e.charAt(y+1)){case"/":var D=e.indexOf(">",y+3),S=e.substring(y+2,D).replace(/[ \t\n\r]+$/g,""),T=v.pop();D<0?(S=e.substring(y+2).replace(/[\s<].*/,""),o.error("end tag name: "+S+" is not complete:"+T.tagName),D=y+1+S.length):S.match(/\s</)&&(S=S.replace(/[\s<].*/,""),o.error("end tag name: "+S+" maybe not complete"),D=y+1+S.length);var N=T.localNSMap,I=T.tagName==S;if(I||T.tagName&&T.tagName.toLowerCase()==S.toLowerCase()){if(n.endElement(T.uri,T.localName,S),N)for(var A in N)Object.prototype.hasOwnProperty.call(N,A)&&n.endPrefixMapping(A);I||o.fatalError("end tag name: "+S+" is not match the current start tagName:"+T.tagName);}else v.push(T);D++;break;case"?":g&&c(y),D=function(e,t,r){var n=e.indexOf("?>",t);if(n){var i=e.substring(t,n).match(/^<\?(\S*)\s*([\s\S]*?)\s*$/);if(i)return i[0].length,r.processingInstruction(i[1],i[2]),n+2;}return-1;}(e,y,n);break;case"!":g&&c(y),D=function(e,t,r,n){if("-"===e.charAt(t+2)){if("-"===e.charAt(t+3)){var i=e.indexOf("-->",t+4);if(i>t)return r.comment(e,t+4,i-t-4),i+3;n.error("Unclosed comment");}}else{if("CDATA["==e.substr(t+3,6)){var i=e.indexOf("]]>",t+9);return r.startCDATA(),r.characters(e,t+9,i-t-9),r.endCDATA(),i+3;}var o=function(e,t){var r,n=[];for(/'[^']+'|"[^"]+"|[^\s<>\/=]+=?|(\/?\s*>|<)/g.lastIndex=t,/'[^']+'|"[^"]+"|[^\s<>\/=]+=?|(\/?\s*>|<)/g.exec(e);r=/'[^']+'|"[^"]+"|[^\s<>\/=]+=?|(\/?\s*>|<)/g.exec(e);)if(n.push(r),r[1])return n;}(e,t),a=o.length;if(a>1&&/!doctype/i.test(o[0][0])){var s=o[1][0],l=!1,u=!1;a>3&&(/^public$/i.test(o[2][0])?(l=o[3][0],u=a>4&&o[4][0]):/^system$/i.test(o[2][0])&&(u=o[3][0]));var c=o[a-1];return r.startDTD(s,l,u),r.endDTD(),c.index+c[0].length;}}return-1;}(e,y,n,o);break;default:g&&c(y);var R=new f(),O=v[v.length-1].currentNSMap,D=function(e,t,r,n,o,a){function s(e,t,n){r.attributeNames.hasOwnProperty(e)&&a.fatalError("Attribute "+e+" redefined"),r.addValue(e,t.replace(/[\t\n\r]/g," ").replace(/&#?\w+;/g,o),n);}for(var l,u,c=++t,p=0;;){var d=e.charAt(c);switch(d){case"=":if(1===p)l=e.slice(t,c),p=3;else if(2===p)p=3;else throw Error("attribute equal must after attrName");break;case"'":case'"':if(3===p||1===p){if(1===p&&(a.warning('attribute value must after "="'),l=e.slice(t,c)),t=c+1,(c=e.indexOf(d,t))>0)s(l,u=e.slice(t,c),t-1),p=5;else throw Error("attribute value no end '"+d+"' match");}else if(4==p)s(l,u=e.slice(t,c),t),a.warning('attribute "'+l+'" missed start quot('+d+")!!"),t=c+1,p=5;else throw Error('attribute value must after "="');break;case"/":switch(p){case 0:r.setTagName(e.slice(t,c));case 5:case 6:case 7:p=7,r.closed=!0;case 4:case 1:break;case 2:r.closed=!0;break;default:throw Error("attribute invalid close char('/')");}break;case"":return a.error("unexpected end of input"),0==p&&r.setTagName(e.slice(t,c)),c;case">":switch(p){case 0:r.setTagName(e.slice(t,c));case 5:case 6:case 7:break;case 4:case 1:"/"===(u=e.slice(t,c)).slice(-1)&&(r.closed=!0,u=u.slice(0,-1));case 2:2===p&&(u=l),4==p?(a.warning('attribute "'+u+'" missed quot(")!'),s(l,u,t)):(i.isHTML(n[""])&&u.match(/^(?:disabled|checked|selected)$/i)||a.warning('attribute "'+u+'" missed value!! "'+u+'" instead!!'),s(u,u,t));break;case 3:throw Error("attribute value missed!!");}return c;case"€":d=" ";default:if(d<=" ")switch(p){case 0:r.setTagName(e.slice(t,c)),p=6;break;case 1:l=e.slice(t,c),p=2;break;case 4:var u=e.slice(t,c);a.warning('attribute "'+u+'" missed quot(")!!'),s(l,u,t);case 5:p=6;}else switch(p){case 2:r.tagName,i.isHTML(n[""])&&l.match(/^(?:disabled|checked|selected)$/i)||a.warning('attribute "'+l+'" missed value!! "'+l+'" instead2!!'),s(l,l,t),t=c,p=1;break;case 5:a.warning('attribute space is required"'+l+'"!!');case 6:p=1,t=c;break;case 3:p=4,t=c;break;case 7:throw Error("elements closed character '/' and '>' must be connected to");}}c++;}}(e,y,R,O,a,o),C=R.length;if(!R.closed&&function(e,t,r,n){var i=n[r];return null==i&&((i=e.lastIndexOf("</"+r+">"))<t&&(i=e.lastIndexOf("</"+r)),n[r]=i),i<t;}(e,D,R.tagName,E)&&(R.closed=!0,r.nbsp||o.warning("unclosed xml attribute")),g&&C){for(var _=u(g,{}),$=0;C>$;$++){var L=R[$];c(L.offset),L.locator=u(g,{});}n.locator=_,p(R,n,O)&&v.push(R),n.locator=g;}else p(R,n,O)&&v.push(R);i.isHTML(R.uri)&&!R.closed?D=function(e,t,r,n,i){if(/^(?:script|textarea)$/i.test(r)){var o=e.indexOf("</"+r+">",t),a=e.substring(t+1,o);if(/[&<]/.test(a))return /^script$/i.test(r)||(a=a.replace(/&#?\w+;/g,n)),i.characters(a,0,a.length),o;}return t+1;}(e,D,R.tagName,a,n):D++;}}catch(e){if(e instanceof s)throw e;o.error("element parse error: "+e),D=-1;}D>w?w=D:l(Math.max(y,w)+1);}}(e,t,r,n,this.errorHandler),n.endDocument();}},f.prototype={setTagName:function(e){if(!a.test(e))throw Error("invalid tagName:"+e);this.tagName=e;},addValue:function(e,t,r){if(!a.test(e))throw Error("invalid attribute:"+e);this.attributeNames[e]=this.length,this[this.length++]={qName:e,value:t,offset:r};},length:0,getLocalName:function(e){return this[e].localName;},getLocator:function(e){return this[e].locator;},getQName:function(e){return this[e].qName;},getURI:function(e){return this[e].uri;},getValue:function(e){return this[e].value;}},r=l,n=s;}),rR=rI("dAuy6"),rO=rI("hHq4F"),rC=rI("6OFKY"),function(){rI("kswPT").addLocale("en",function(e){var t=Math.floor(Math.abs(e)),r=e.toString().replace(/^[^.]*\.?/,"").length;return("string"==typeof e&&(e=parseInt(e,10)),1===t&&0===r)?"one":"other";});}.call(r_={}),r$={},r$=rI("foOBZ"),rL={},rL={id:"en",data:{long:{years:{one:"{0} year",other:"{0} years"},months:{one:"{0} month",other:"{0} months"},weeks:{one:"{0} week",other:"{0} weeks"},days:{one:"{0} day",other:"{0} days"},hours:{one:"{0} hour",other:"{0} hours"},minutes:{one:"{0} minute",other:"{0} minutes"},seconds:{one:"{0} second",other:"{0} seconds"}},narrow:{years:{one:"{0}y",other:"{0}y"},months:{one:"{0}m",other:"{0}m"},weeks:{one:"{0}w",other:"{0}w"},days:{one:"{0}d",other:"{0}d"},hours:{one:"{0}h",other:"{0}h"},minutes:{one:"{0}m",other:"{0}m"},seconds:{one:"{0}s",other:"{0}s"}},short:{years:{one:"{0} yr",other:"{0} yrs"},months:{one:"{0} mth",other:"{0} mths"},weeks:{one:"{0} wk",other:"{0} wks"},days:{one:"{0} day",other:"{0} days"},hours:{one:"{0} hr",other:"{0} hr"},minutes:{one:"{0} min",other:"{0} min"},seconds:{one:"{0} sec",other:"{0} sec"}}}},rP={},c(rk={},"isexe",()=>iI),c(rk,"sync",()=>iA),n8.promises;const{access:it,appendFile:ir,chmod:ii,chown:io,copyFile:ia,lchmod:is,lchown:il,link:iu,lstat:ic,mkdir:ip,mkdtemp:id,open:ih,readdir:im,readFile:ig,readlink:iv,realpath:iE,rename:iw,rmdir:iy,stat:ib,symlink:ix,truncate:iD,unlink:iS,utimes:iT,writeFile:iN}=n8.promises,iI=async(e,t={})=>{let{ignoreErrors:r=!1}=t;try{return iR(await ib(e),t);}catch(e){if(r||"EACCES"===e.code)return!1;throw e;}},iA=(e,t={})=>{let{ignoreErrors:r=!1}=t;try{return iR((0,n8.statSync)(e),t);}catch(e){if(r||"EACCES"===e.code)return!1;throw e;}},iR=(e,t)=>e.isFile()&&iO(e,t),iO=(e,t)=>{var r,n,i,o,a,s,l,u,c,p,d;let f=null!==(l=t.uid)&&void 0!==l?l:null===(r=(n=process).getuid)||void 0===r?void 0:r.call(n),h=null!==(c=null!==(u=t.groups)&&void 0!==u?u:null===(i=(o=process).getgroups)||void 0===i?void 0:i.call(o))&&void 0!==c?c:[],m=null!==(d=null!==(p=t.gid)&&void 0!==p?p:null===(a=(s=process).getgid)||void 0===a?void 0:a.call(s))&&void 0!==d?d:h[0];if(void 0===f||void 0===m)throw Error("cannot get uid or gid");let g=new Set([m,...h]),v=e.mode,E=e.uid,w=e.gid,y=parseInt("100",8),b=parseInt("010",8);return!!(v&parseInt("001",8)||v&b&&g.has(w)||v&y&&E===f||v&(y|b)&&0===f);};c(rU={},"isexe",()=>iC),c(rU,"sync",()=>i_);const iC=async(e,t={})=>{let{ignoreErrors:r=!1}=t;try{return iL(await ib(e),e,t);}catch(e){if(r||"EACCES"===e.code)return!1;throw e;}},i_=(e,t={})=>{let{ignoreErrors:r=!1}=t;try{return iL((0,n8.statSync)(e),e,t);}catch(e){if(r||"EACCES"===e.code)return!1;throw e;}},i$=(e,t)=>{let{pathExt:r=process.env.PATHEXT||""}=t,n=r.split(";");if(-1!==n.indexOf(""))return!0;for(let t=0;t<n.length;t++){let r=n[t].toLowerCase(),i=e.substring(e.length-r.length).toLowerCase();if(r&&i===r)return!0;}return!1;},iL=(e,t,r)=>e.isFile()&&i$(t,r),iP="win32"===(process.env._ISEXE_TEST_PLATFORM_||process.platform)?rU:rk,ik=iP.isexe,iU=iP.sync;rM=n6.join,rF=n6.delimiter,rj=n6.sep,rq=n6.posix;const iM="win32"===process.platform,iF=new RegExp(`[${rq.sep}${rj===rq.sep?"":rj}]`.replace(/(\\)/g,"\\$1")),ij=RegExp("^\\."+iF.source),iq=e=>Object.assign(Error("not found: "+e),{code:"ENOENT"}),iB=(e,{path:t=process.env.PATH,pathExt:r=process.env.PATHEXT,delimiter:n=rF})=>{let i=e.match(iF)?[""]:[...(iM?[process.cwd()]:[]),...(t||"").split(n)];if(iM){let t=r||[".EXE",".CMD",".BAT",".COM"].join(n),o=t.split(n).flatMap(e=>[e,e.toLowerCase()]);return e.includes(".")&&""!==o[0]&&o.unshift(""),{pathEnv:i,pathExt:o,pathExtExe:t};}return{pathEnv:i,pathExt:[""]};},iG=(e,t)=>{let r=/^".*"$/.test(e)?e.slice(1,-1):e;return(!r&&ij.test(t)?t.slice(0,2):"")+rM(r,t);},iH=async(e,t={})=>{let{pathEnv:r,pathExt:n,pathExtExe:i}=iB(e,t),o=[];for(let a of r){let r=iG(a,e);for(let e of n){let n=r+e;if(await ik(n,{pathExt:i,ignoreErrors:!0})){if(!t.all)return n;o.push(n);}}}if(t.all&&o.length)return o;if(t.nothrow)return null;throw iq(e);};rP=iH,iH.sync=(e,t={})=>{let{pathEnv:r,pathExt:n,pathExtExe:i}=iB(e,t),o=[];for(let a of r){let r=iG(a,e);for(let e of n){let n=r+e;if(iU(n,{pathExt:i,ignoreErrors:!0})){if(!t.all)return n;o.push(n);}}}if(t.all&&o.length)return o;if(t.nothrow)return null;throw iq(e);},rB={},rG={},rH={},rV={};const iV="win32"===process.platform||"cygwin"===process.env.OSTYPE||"msys"===process.env.OSTYPE,iX=iV?";":":";rX={},rz="win32"===process.platform||rS.TESTING_WINDOWS?rI("8nJMC"):rI("lo7XV"),rX=d,d.sync=function(e,t){try{return rz.sync(e,t||{});}catch(e){if(t&&t.ignoreErrors||"EACCES"===e.code)return!1;throw e;}};const iz=e=>Object.assign(Error("not found: "+e),{code:"ENOENT"}),iY=(e,t)=>{let r=t.colon||iX,n=e.match(/\//)||iV&&e.match(/\\/)?[""]:[...(iV?[process.cwd()]:[]),...(t.path||process.env.PATH||"").split(r)],i=iV?t.pathExt||process.env.PATHEXT||".EXE;.CMD;.BAT;.COM":"",o=iV?i.split(r):[""];return iV&&-1!==e.indexOf(".")&&""!==o[0]&&o.unshift(""),{pathEnv:n,pathExt:o,pathExtExe:i};},iW=(e,t,r)=>{"function"==typeof t&&(r=t,t={}),t||(t={});let{pathEnv:n,pathExt:i,pathExtExe:o}=iY(e,t),a=[],s=r=>new Promise((i,o)=>{if(r===n.length)return t.all&&a.length?i(a):o(iz(e));let s=n[r],u=/^".*"$/.test(s)?s.slice(1,-1):s,c=n6.join(u,e);i(l(!u&&/^\.[\\\/]/.test(e)?e.slice(0,2)+c:c,r,0));}),l=(e,r,n)=>new Promise((u,c)=>{if(n===i.length)return u(s(r+1));let p=i[n];rX(e+p,{pathExt:o},(i,o)=>{if(!i&&o){if(!t.all)return u(e+p);a.push(e+p);}return u(l(e,r,n+1));});});return r?s(0).then(e=>r(null,e),r):s(0);};rV=iW,iW.sync=(e,t)=>{let{pathEnv:r,pathExt:n,pathExtExe:i}=iY(e,t=t||{}),o=[];for(let a=0;a<r.length;a++){let s=r[a],l=/^".*"$/.test(s)?s.slice(1,-1):s,u=n6.join(l,e),c=!l&&/^\.[\\\/]/.test(e)?e.slice(0,2)+u:u;for(let e=0;e<n.length;e++){let r=c+n[e];try{if(rX.sync(r,{pathExt:i})){if(!t.all)return r;o.push(r);}}catch(e){}}}if(t.all&&o.length)return o;if(t.nothrow)return null;throw iz(e);},rY={};const iK=(e={})=>{let t=e.env||process.env;return"win32"!==(e.platform||process.platform)?"PATH":Object.keys(t).reverse().find(e=>"PATH"===e.toUpperCase())||"Path";};(rY=iK).default=iK,rH=function(e){return f(e)||f(e,!0);};rW={},rK={},rQ={},rQ=/^#!(.*)/,rK=(e="")=>{let t=e.match(rQ);if(!t)return null;let[r,n]=t[0].replace(/#! ?/,"").split(" "),i=r.split("/").pop();return"env"===i?n:n?`${i} ${n}`:i;},rW=function(e){let t;let r=Buffer.alloc(150);try{t=n8.openSync(e,"r"),n8.readSync(t,r,0,150,0),n8.closeSync(t);}catch(e){}return rK(r.toString());};const iQ="win32"===process.platform;rG=function(e,t,r){t&&!Array.isArray(t)&&(r=t,t=null);let n={command:e,args:t=t?t.slice(0):[],options:r=Object.assign({},r),file:void 0,original:{command:e,args:t}};return r.shell?n:function(e){if(!iQ)return e;let t=function(e){e.file=rH(e);let t=e.file&&rW(e.file);return t?(e.args.unshift(e.file),e.command=t,rH(e)):e.file;}(e),r=!/\.(?:com|exe)$/i.test(t);if(e.options.forceShell||r){var n;let r=/node_modules[\\/].bin[\\/][^\\/]+\.cmd$/i.test(t);e.command=n6.normalize(e.command),e.command=n=(n=e.command).replace(/([()\][%!^"`<>&|;, *?])/g,"^$1"),e.args=e.args.map(e=>{var t,n;return t=e,n=r,t=(t=(t=""+t).replace(/(\\*)"/g,'$1$1\\"')).replace(/(\\*)$/,"$1$1"),t=(t=`"${t}"`).replace(/([()\][%!^"`<>&|;, *?])/g,"^$1"),n&&(t=t.replace(/([()\][%!^"`<>&|;, *?])/g,"^$1")),t;});let i=[e.command].concat(e.args).join(" ");e.args=["/d","/s","/c",`"${i}"`],e.command=process.env.comspec||"cmd.exe",e.options.windowsVerbatimArguments=!0;}return e;}(n);},rJ={};const iJ="win32"===process.platform;rJ={hookChildProcess:function(e,t){if(!iJ)return;let r=e.emit;e.emit=function(n,i){if("exit"===n){let n=m(i,t,"spawn");if(n)return r.call(e,"error",n);}return r.apply(e,arguments);};},verifyENOENT:m,verifyENOENTSync:function(e,t){return iJ&&1===e&&!t.file?h(t.original,"spawnSync"):null;},notFoundError:h},(rB=g).spawn=g,rB.sync=function(e,t,r){let n=rG(e,t,r),i=ru.spawnSync(n.command,n.args,n.options);return i.error=i.error||rJ.verifyENOENTSync(i.status,n),i;},rB._parse=rG,rB._enoent=rJ;const iZ=(e,t,r,n)=>{if("length"===r||"prototype"===r||"arguments"===r||"caller"===r)return;let i=Object.getOwnPropertyDescriptor(e,r),o=Object.getOwnPropertyDescriptor(t,r);(i0(i,o)||!n)&&Object.defineProperty(e,r,o);},i0=function(e,t){return void 0===e||e.configurable||e.writable===t.writable&&e.enumerable===t.enumerable&&e.configurable===t.configurable&&(e.writable||e.value===t.value);},i1=(e,t)=>{let r=Object.getPrototypeOf(t);r!==Object.getPrototypeOf(e)&&Object.setPrototypeOf(e,r);},i3=(e,t)=>`/* Wrapped ${e}*/
${t}`,i2=Object.getOwnPropertyDescriptor(Function.prototype,"toString"),i4=Object.getOwnPropertyDescriptor(Function.prototype.toString,"name"),i5=(e,t,r)=>{let n=""===r?"":`with ${r.trim()}() `,i=i3.bind(null,n,t.toString());Object.defineProperty(i,"name",i4),Object.defineProperty(e,"toString",{...i2,value:i});},i6=new WeakMap(),i8=(e,t={})=>{let r;if("function"!=typeof e)throw TypeError("Expected a function");let n=0,i=e.displayName||e.name||"<anonymous>",o=function(...a){if(i6.set(o,++n),1===n)r=e.apply(this,a),e=null;else if(!0===t.throw)throw Error(`Function \`${i}\` can only be called once`);return r;};return!function(e,t,{ignoreNonConfigurable:r=!1}={}){let{name:n}=e;for(let n of Reflect.ownKeys(t))iZ(e,t,n,r);i1(e,t),i5(e,t,n);}(o,e),i6.set(o,n),o;};i8.callCount=e=>{if(!i6.has(e))throw Error(`The given function \`${e.name}\` is not wrapped by the \`onetime\` package`);return i6.get(e);},rZ=i8;const i9=()=>Array.from({length:ot-oe+1},i7),i7=(e,t)=>({name:"SIGRT"+(t+1),number:oe+t,action:"terminate",description:"Application-specific signal (realtime)",standard:"posix"}),oe=34,ot=64,or=[{name:"SIGHUP",number:1,action:"terminate",description:"Terminal closed",standard:"posix"},{name:"SIGINT",number:2,action:"terminate",description:"User interruption with CTRL-C",standard:"ansi"},{name:"SIGQUIT",number:3,action:"core",description:"User interruption with CTRL-\\",standard:"posix"},{name:"SIGILL",number:4,action:"core",description:"Invalid machine instruction",standard:"ansi"},{name:"SIGTRAP",number:5,action:"core",description:"Debugger breakpoint",standard:"posix"},{name:"SIGABRT",number:6,action:"core",description:"Aborted",standard:"ansi"},{name:"SIGIOT",number:6,action:"core",description:"Aborted",standard:"bsd"},{name:"SIGBUS",number:7,action:"core",description:"Bus error due to misaligned, non-existing address or paging error",standard:"bsd"},{name:"SIGEMT",number:7,action:"terminate",description:"Command should be emulated but is not implemented",standard:"other"},{name:"SIGFPE",number:8,action:"core",description:"Floating point arithmetic error",standard:"ansi"},{name:"SIGKILL",number:9,action:"terminate",description:"Forced termination",standard:"posix",forced:!0},{name:"SIGUSR1",number:10,action:"terminate",description:"Application-specific signal",standard:"posix"},{name:"SIGSEGV",number:11,action:"core",description:"Segmentation fault",standard:"ansi"},{name:"SIGUSR2",number:12,action:"terminate",description:"Application-specific signal",standard:"posix"},{name:"SIGPIPE",number:13,action:"terminate",description:"Broken pipe or socket",standard:"posix"},{name:"SIGALRM",number:14,action:"terminate",description:"Timeout or timer",standard:"posix"},{name:"SIGTERM",number:15,action:"terminate",description:"Termination",standard:"ansi"},{name:"SIGSTKFLT",number:16,action:"terminate",description:"Stack is empty or overflowed",standard:"other"},{name:"SIGCHLD",number:17,action:"ignore",description:"Child process terminated, paused or unpaused",standard:"posix"},{name:"SIGCLD",number:17,action:"ignore",description:"Child process terminated, paused or unpaused",standard:"other"},{name:"SIGCONT",number:18,action:"unpause",description:"Unpaused",standard:"posix",forced:!0},{name:"SIGSTOP",number:19,action:"pause",description:"Paused",standard:"posix",forced:!0},{name:"SIGTSTP",number:20,action:"pause",description:'Paused using CTRL-Z or "suspend"',standard:"posix"},{name:"SIGTTIN",number:21,action:"pause",description:"Background process cannot read terminal input",standard:"posix"},{name:"SIGBREAK",number:21,action:"terminate",description:"User interruption with CTRL-BREAK",standard:"other"},{name:"SIGTTOU",number:22,action:"pause",description:"Background process cannot write to terminal output",standard:"posix"},{name:"SIGURG",number:23,action:"ignore",description:"Socket received out-of-band data",standard:"bsd"},{name:"SIGXCPU",number:24,action:"core",description:"Process timed out",standard:"bsd"},{name:"SIGXFSZ",number:25,action:"core",description:"File too big",standard:"bsd"},{name:"SIGVTALRM",number:26,action:"terminate",description:"Timeout or timer",standard:"bsd"},{name:"SIGPROF",number:27,action:"terminate",description:"Timeout or timer",standard:"bsd"},{name:"SIGWINCH",number:28,action:"ignore",description:"Terminal window size changed",standard:"bsd"},{name:"SIGIO",number:29,action:"terminate",description:"I/O is available",standard:"other"},{name:"SIGPOLL",number:29,action:"terminate",description:"Watched event",standard:"other"},{name:"SIGINFO",number:29,action:"ignore",description:"Request for process information",standard:"other"},{name:"SIGPWR",number:30,action:"terminate",description:"Device running out of power",standard:"systemv"},{name:"SIGSYS",number:31,action:"core",description:"Invalid system call",standard:"other"},{name:"SIGUNUSED",number:31,action:"terminate",description:"Invalid system call",standard:"other"}],on=()=>[...or,...i9()].map(oi),oi=({name:e,number:t,description:r,action:n,forced:i=!1,standard:o})=>{let{signals:{[e]:a}}=rv.constants,s=void 0!==a;return{name:e,number:s?a:t,description:r,supported:s,action:n,forced:i,standard:o};},oo=Object.fromEntries(on().map(({name:e,number:t,description:r,supported:n,action:i,forced:o,standard:a})=>[e,{name:e,number:t,description:r,supported:n,action:i,forced:o,standard:a}])),oa=(e,t)=>{let r=os(e,t);if(void 0===r)return{};let{name:n,description:i,supported:o,action:a,forced:s,standard:l}=r;return{[e]:{name:n,number:e,description:i,supported:o,action:a,forced:s,standard:l}};},os=(e,t)=>{let r=t.find(({name:t})=>rv.constants.signals[t]===e);return void 0!==r?r:t.find(t=>t.number===e);};(()=>{let e=on();return Object.assign({},...Array.from({length:ot+1},(t,r)=>oa(r,e)));})();const ol=({timedOut:e,timeout:t,errorCode:r,signal:n,signalDescription:i,exitCode:o,isCanceled:a})=>e?`timed out after ${t} milliseconds`:a?"was canceled":void 0!==r?"failed with "+r:void 0!==n?`was killed with ${n} (${i})`:void 0!==o?"failed with exit code "+o:"failed",ou=({stdout:e,stderr:t,all:r,error:n,signal:i,exitCode:o,command:a,escapedCommand:s,timedOut:l,isCanceled:u,killed:c,parsed:{options:{timeout:d,cwd:f=p(rm).cwd()}}})=>{o=null===o?void 0:o;let h=void 0===(i=null===i?void 0:i)?void 0:oo[i].description,m=ol({timedOut:l,timeout:d,errorCode:n&&n.code,signal:i,signalDescription:h,exitCode:o,isCanceled:u}),g=`Command ${m}: ${a}`,v="[object Error]"===Object.prototype.toString.call(n),E=v?`${g}
${n.message}`:g,w=[E,t,e].filter(Boolean).join("\n");return v?(n.originalMessage=n.message,n.message=w):n=Error(w),n.shortMessage=E,n.command=a,n.escapedCommand=s,n.exitCode=o,n.signal=i,n.signalDescription=h,n.stdout=e,n.stderr=t,n.cwd=f,void 0!==r&&(n.all=r),"bufferedData"in n&&delete n.bufferedData,n.failed=!0,n.timedOut=!!l,n.isCanceled=u,n.killed=c&&!l,n;},oc=["stdin","stdout","stderr"],op=e=>oc.some(t=>void 0!==e[t]),od=e=>{if(!e)return;let{stdio:t}=e;if(void 0===t)return oc.map(t=>e[t]);if(op(e))throw Error("It's not possible to provide `stdio` in combination with one of "+oc.map(e=>`\`${e}\``).join(", "));if("string"==typeof t)return t;if(!Array.isArray(t))throw TypeError(`Expected \`stdio\` to be of type \`string\` or \`Array\`, got \`${typeof t}\``);return Array.from({length:Math.max(t.length,oc.length)},(e,r)=>t[r]);};r0={};const of=function(e){return e&&"object"==typeof e&&"function"==typeof e.removeListener&&"function"==typeof e.emit&&"function"==typeof e.reallyExit&&"function"==typeof e.listeners&&"function"==typeof e.kill&&"number"==typeof e.pid&&"function"==typeof e.on;};if(of(r1=rS.process)){var oh,om=ra,og=rI("dVIKq"),ov=/^win/i.test(r1.platform),oE=ro;"function"!=typeof oE&&(oE=oE.EventEmitter),r1.__signal_exit_emitter__?oh=r1.__signal_exit_emitter__:((oh=r1.__signal_exit_emitter__=new oE()).count=0,oh.emitted={}),oh.infinite||(oh.setMaxListeners(1/0),oh.infinite=!0);var ow=function(){ox&&of(rS.process)&&(ox=!1,og.forEach(function(e){try{r1.removeListener(e,ob[e]);}catch(e){}}),r1.emit=oN,r1.reallyExit=oS,oh.count-=1);};(r0=function(e,t){if(!of(rS.process))return function(){};om.equal(typeof e,"function","a callback must be provided for exit handler"),!1===ox&&oD();var r="exit";return t&&t.alwaysLast&&(r="afterexit"),oh.on(r,e),function(){oh.removeListener(r,e),0===oh.listeners("exit").length&&0===oh.listeners("afterexit").length&&ow();};}).unload=ow;var oy=function(e,t,r){oh.emitted[e]||(oh.emitted[e]=!0,oh.emit(e,t,r));},ob={};og.forEach(function(e){ob[e]=function(){of(rS.process)&&r1.listeners(e).length===oh.count&&(ow(),oy("exit",null,e),oy("afterexit",null,e),ov&&"SIGHUP"===e&&(e="SIGINT"),r1.kill(r1.pid,e));};}),r0.signals=function(){return og;};var ox=!1,oD=function(){!ox&&of(rS.process)&&(ox=!0,oh.count+=1,og=og.filter(function(e){try{return r1.on(e,ob[e]),!0;}catch(e){return!1;}}),r1.emit=oI,r1.reallyExit=oT);};r0.load=oD;var oS=r1.reallyExit,oT=function(e){of(rS.process)&&(r1.exitCode=e||0,oy("exit",r1.exitCode,null),oy("afterexit",r1.exitCode,null),oS.call(r1,r1.exitCode));},oN=r1.emit,oI=function(e,t){if(!("exit"===e&&of(rS.process)))return oN.apply(this,arguments);void 0!==t&&(r1.exitCode=t);var r=oN.apply(this,arguments);return oy("exit",r1.exitCode,null),oy("afterexit",r1.exitCode,null),r;};}else r0=function(){return function(){};};const oA=(e,t="SIGTERM",r={})=>{let n=e(t);return oR(e,t,r,n),n;},oR=(e,t,r,n)=>{if(!oO(t,r,n))return;let i=setTimeout(()=>{e("SIGKILL");},o_(r));i.unref&&i.unref();},oO=(e,{forceKillAfterTimeout:t},r)=>oC(e)&&!1!==t&&r,oC=e=>e===p(rv).constants.signals.SIGTERM||"string"==typeof e&&"SIGTERM"===e.toUpperCase(),o_=({forceKillAfterTimeout:e=!0})=>{if(!0===e)return 5e3;if(!Number.isFinite(e)||e<0)throw TypeError(`Expected the \`forceKillAfterTimeout\` option to be a non-negative integer, got \`${e}\` (${typeof e})`);return e;},o$=(e,t)=>{e.kill()&&(t.isCanceled=!0);},oL=(e,t,r)=>{e.kill(t),r(Object.assign(Error("Timed out"),{timedOut:!0,signal:t}));},oP=(e,{timeout:t,killSignal:r="SIGTERM"},n)=>{let i;return 0===t||void 0===t?n:Promise.race([new Promise((n,o)=>{i=setTimeout(()=>{oL(e,r,o);},t);}),n.finally(()=>{clearTimeout(i);})]);},ok=({timeout:e})=>{if(void 0!==e&&(!Number.isFinite(e)||e<0))throw TypeError(`Expected the \`timeout\` option to be a non-negative integer, got \`${e}\` (${typeof e})`);},oU=async(e,{cleanup:t,detached:r},n)=>{if(!t||r)return n;let i=p(r0)(()=>{e.kill();});return n.finally(()=>{i();});},oM=e=>e instanceof rh.ChildProcess&&"function"==typeof e.then,oF=(e,t,r)=>{if("string"==typeof r)return e[t].pipe((0,rl.createWriteStream)(r)),e;if(b(r))return e[t].pipe(r),e;if(!oM(r))throw TypeError("The second argument must be a string, a stream or an Execa child process.");if(!b(r.stdin))throw TypeError("The target child process's stdin must be available.");return e[t].pipe(r.stdin),r;},oj=e=>{null!==e.stdout&&(e.pipeStdout=oF.bind(void 0,e,"stdout")),null!==e.stderr&&(e.pipeStderr=oF.bind(void 0,e,"stderr")),void 0!==e.all&&(e.pipeAll=oF.bind(void 0,e,"all"));};r3={},r2=rE.constants,r4=rs.promisify,r5={},r6=rw.PassThrough,r5=e=>{let{array:t}=e={...e},{encoding:r}=e,n="buffer"===r,i=!1;t?i=!(r||n):r=r||"utf8",n&&(r=null);let o=new r6({objectMode:i});r&&o.setEncoding(r);let a=0,s=[];return o.on("data",e=>{s.push(e),i?a=s.length:a+=e.length;}),o.getBufferedValue=()=>t?s:n?Buffer.concat(s,a):s.join(""),o.getBufferedLength=()=>a,o;};const oq=r4(rw.pipeline);class oB extends Error{constructor(){super("maxBuffer exceeded"),this.name="MaxBufferError";}}(r3=x).buffer=(e,t)=>x(e,{...t,encoding:"buffer"}),r3.array=(e,t)=>x(e,{...t,array:!0}),r3.MaxBufferError=oB,r8={},r9=rw.PassThrough,r8=function(){function e(i){return Array.isArray(i)?i.forEach(e):(r.push(i),i.once("end",t.bind(null,i)),i.once("error",n.emit.bind(n,"error")),i.pipe(n,{end:!1})),this;}function t(e){!(r=r.filter(function(t){return t!==e;})).length&&n.readable&&n.end();}var r=[],n=new r9({objectMode:!0});return n.setMaxListeners(0),n.add=e,n.isEmpty=function(){return 0==r.length;},n.on("unpipe",t),Array.prototype.slice.call(arguments).forEach(e),n;};const oG=e=>{if(void 0!==e)throw TypeError("The `input` and `inputFile` options cannot be both set.");},oH=({input:e,inputFile:t})=>"string"!=typeof t?e:(oG(e),(0,rl.readFileSync)(t)),oV=e=>{let t=oH(e);if(y(t))throw TypeError("The `input` option cannot be a stream in sync mode");return t;},oX=({input:e,inputFile:t})=>"string"!=typeof t?e:(oG(e),(0,rl.createReadStream)(t)),oz=(e,t)=>{let r=oX(t);void 0!==r&&(y(r)?r.pipe(e.stdin):e.stdin.end(r));},oY=(e,{all:t})=>{if(!t||!e.stdout&&!e.stderr)return;let r=p(r8)();return e.stdout&&r.add(e.stdout),e.stderr&&r.add(e.stderr),r;},oW=async(e,t)=>{if(e&&void 0!==t){e.destroy();try{return await t;}catch(e){return e.bufferedData;}}},oK=(e,{encoding:t,buffer:r,maxBuffer:n})=>{if(e&&r)return t?p(r3)(e,{encoding:t,maxBuffer:n}):p(r3).buffer(e,{maxBuffer:n});},oQ=async({stdout:e,stderr:t,all:r},{encoding:n,buffer:i,maxBuffer:o},a)=>{let s=oK(e,{encoding:n,buffer:i,maxBuffer:o}),l=oK(t,{encoding:n,buffer:i,maxBuffer:o}),u=oK(r,{encoding:n,buffer:i,maxBuffer:2*o});try{return await Promise.all([a,s,l,u]);}catch(n){return Promise.all([{error:n,signal:n.signal,timedOut:n.timedOut},oW(e,s),oW(t,l),oW(r,u)]);}},oJ=(async()=>{})().constructor.prototype,oZ=["then","catch","finally"].map(e=>[e,Reflect.getOwnPropertyDescriptor(oJ,e)]),o0=(e,t)=>{for(let[r,n]of oZ){let i="function"==typeof t?(...e)=>Reflect.apply(n.value,t(),e):n.value.bind(t);Reflect.defineProperty(e,r,{...n,value:i});}},o1=e=>new Promise((t,r)=>{e.on("exit",(e,r)=>{t({exitCode:e,signal:r});}),e.on("error",e=>{r(e);}),e.stdin&&e.stdin.on("error",e=>{r(e);});}),o3=(e,t=[])=>Array.isArray(t)?[e,...t]:[e],o2=e=>"string"!=typeof e||/^[\w.-]+$/.test(e)?e:`"${e.replace(/"/g,'\\"')}"`,o4=(e,t)=>o3(e,t).join(" "),o5=(e,t)=>o3(e,t).map(e=>o2(e)).join(" "),o6=e=>{let t=[];for(let r of e.trim().split(/ +/g)){let e=t[t.length-1];e&&e.endsWith("\\")?t[t.length-1]=`${e.slice(0,-1)} ${r}`:t.push(r);}return t;},o8=e=>{let t=typeof e;if("string"===t)return e;if("number"===t)return e+"";if("object"===t&&null!==e&&!(e instanceof rh.ChildProcess)&&"stdout"in e){let t=typeof e.stdout;if("string"===t)return e.stdout;if((0,rd.Buffer).isBuffer(e.stdout))return e.stdout.toString();throw TypeError(`Unexpected "${t}" stdout in template expression`);}throw TypeError(`Unexpected "${t}" in template expression`);},o9=(e,t,r)=>r||0===e.length||0===t.length?[...e,...t]:[...e.slice(0,-1),`${e[e.length-1]}${t[0]}`,...t.slice(1)],o7=({templates:e,expressions:t,tokens:r,index:n,template:i})=>{let o=null!=i?i:e.raw[n],a=o9(r,o.split(/ +/g).filter(Boolean),o.startsWith(" "));if(n===t.length)return a;let s=t[n];return o9(a,Array.isArray(s)?s.map(e=>o8(e)):[o8(s)],o.endsWith(" "));},ae=(e,t)=>{let r=[];for(let[n,i]of e.entries())r=o7({templates:e,expressions:t,tokens:r,index:n,template:i});return r;},at=(0,ry.debuglog)("execa").enabled,ar=(e,t)=>(e+"").padStart(t,"0"),an=()=>{let e=new Date();return`${ar(e.getHours(),2)}:${ar(e.getMinutes(),2)}:${ar(e.getSeconds(),2)}.${ar(e.getMilliseconds(),3)}`;},ai=(e,{verbose:t})=>{t&&p(rm).stderr.write(`[${an()}] ${e}
`);},ao=({env:e,extendEnv:t,preferLocal:r,localDir:n,execPath:i})=>{let o=t?{...p(rm).env,...e}:e;return r?w({env:o,cwd:n,execPath:i}):o;},aa=(e,t,r={})=>{let n=p(rB)._parse(e,t,r);return e=n.command,t=n.args,(r={maxBuffer:1e8,buffer:!0,stripFinalNewline:!0,extendEnv:!0,preferLocal:!1,localDir:(r=n.options).cwd||p(rm).cwd(),execPath:p(rm).execPath,encoding:"utf8",reject:!0,cleanup:!0,all:!1,windowsHide:!0,verbose:at,...r}).env=ao(r),r.stdio=od(r),"win32"===p(rm).platform&&"cmd"===p(rf).basename(e,".exe")&&t.unshift("/q"),{file:e,args:t,options:r,parsed:n};},as=(e,t,r)=>"string"==typeof t||(0,rd.Buffer).isBuffer(t)?e.stripFinalNewline?v(t):t:void 0===r?void 0:"",al=({input:e,inputFile:t,stdio:r})=>void 0===e&&void 0===t&&void 0===r?{stdin:"inherit"}:{},au=(e={})=>({preferLocal:!0,...al(e),...e});!function e(t){function r(n,...i){if(!Array.isArray(n))return e({...t,...n});let[o,...a]=ae(n,i);return D(o,a,au(t));}return r.sync=(e,...r)=>{if(!Array.isArray(e))throw TypeError("Please use $(options).sync`command` instead of $.sync(options)`command`.");let[n,...i]=ae(e,r);return S(n,i,au(t));},r;}();const ac={stdio:"inherit",shell:!0},ap=/^~(?=$|\/|\\)/;rO=rI("hHq4F"),r7={},ne=rI("coVwk"),nt=rb.env.npm_package_json,nn=!!((nr=rb.env.npm_config_user_agent)&&nr.startsWith("npm")),ni=!!(nt&&nt.endsWith("package.json")),no=!!(nr&&nr.startsWith("yarn")),na=nn||ni||no,ns=n5.homedir(),nl=process.env.XDG_CONFIG_HOME||n6.join(ns,".config","simple-update-notifier"),nu=function(e){return n6.join(nl,"".concat(e.replace("@","").replace("/","__"),".json"));},nc=function(){n8.existsSync(nl)||n8.mkdirSync(nl,{recursive:!0});},np=function(e){var t=nu(e);try{if(!n8.existsSync(t))return;return JSON.parse(n8.readFileSync(t,"utf8")).lastUpdateCheck;}catch(e){return;}},nd=function(e){var t=nu(e);n8.writeFileSync(t,JSON.stringify({lastUpdateCheck:new Date().getTime()}));},nf=function(e){var t=e.pkg,r=e.updateCheckInterval,n=void 0===r?864e5:r,i=e.distTag,o=void 0===i?"latest":i,a=e.alwaysRun,s=e.debug;return _(void 0,void 0,void 0,function(){var e,r;return $(this,function(i){switch(i.label){case 0:var l;if(nc(),e=np(t.name),!(a||!e||e<new Date().getTime()-n))return[3,2];return[4,(l=t.name,_(void 0,void 0,void 0,function(){var e;return $(this,function(t){return e="https://registry.npmjs.org/-/package/".concat(l,"/dist-tags"),[2,new Promise(function(t,r){ie.get(e,function(e){var n="";e.on("data",function(e){return n+=e;}),e.on("end",function(){try{var e=JSON.parse(n)[o];e||r(Error("Error getting version")),t(e);}catch(e){r(Error("Could not parse version response"));}});}).on("error",function(e){return r(e);});})];});}))];case 1:if(r=i.sent(),nd(t.name),ne.gt(r,t.version))return[2,r];return s&&console.error("Latest version (".concat(r,") not newer than current version (").concat(t.version,")")),[3,3];case 2:s&&console.error("Too recent to check for a new update. simpleUpdateNotifier() interval set to ".concat(n,"ms but only ").concat(new Date().getTime()-e,"ms since last check.")),i.label=3;case 3:return[2,!1];}});});},nh=function(e){for(var t=e.split("\n"),r=Math.max.apply(Math,t.map(function(e){return e.length;})),n=["┌".concat("─".repeat(r+2),"┐")],i=0;i<t.length;i++){var o=t[i];n.push("│ ".concat(o.padEnd(r)," │"));}return n.push("└".concat("─".repeat(r+2),"┘")),n.join("\n");},r7=function(e){return _(void 0,void 0,void 0,function(){var t,r;return $(this,function(n){switch(n.label){case 0:if(!e.alwaysRun&&(!process.stdout.isTTY||na&&!e.shouldNotifyInNpmScript))return e.debug&&console.error("Opting out of running simpleUpdateNotifier()"),[2];n.label=1;case 1:return n.trys.push([1,3,,4]),[4,nf(e)];case 2:return(t=n.sent())&&console.error(nh("New version of ".concat(e.pkg.name," available!\nCurrent Version: ").concat(e.pkg.version,"\nLatest Version: ").concat(t))),[3,4];case 3:return r=n.sent(),e.debug&&r instanceof Error&&console.error("Unexpected error in simpleUpdateNotifier():",r),[3,4];case 4:return[2];}});});},nm={},nm=JSON.parse('{"name":"setup-cpp","version":"0.36.2"}'),ng=rI("1o3Gj"),rO=rI("hHq4F"),rR=rI("dAuy6"),ng=rI("1o3Gj"),rR=rI("dAuy6"),rO=rI("hHq4F");const ad=({timedOut:e,timeout:t,errorCode:r,signal:n,signalDescription:i,exitCode:o,isCanceled:a})=>e?`timed out after ${t} milliseconds`:a?"was canceled":void 0!==r?"failed with "+r:void 0!==n?`was killed with ${n} (${i})`:void 0!==o?"failed with exit code "+o:"failed",af=({stdout:e,stderr:t,all:r,error:n,signal:i,exitCode:o,command:a,escapedCommand:s,timedOut:l,isCanceled:u,killed:c,parsed:{options:{timeout:p}}})=>{o=null===o?void 0:o;let d=void 0===(i=null===i?void 0:i)?void 0:oo[i].description,f=ad({timedOut:l,timeout:p,errorCode:n&&n.code,signal:i,signalDescription:d,exitCode:o,isCanceled:u}),h=`Command ${f}: ${a}`,m="[object Error]"===Object.prototype.toString.call(n),g=m?`${h}
${n.message}`:h,v=[g,t,e].filter(Boolean).join("\n");return m?(n.originalMessage=n.message,n.message=v):n=Error(v),n.shortMessage=g,n.command=a,n.escapedCommand=s,n.exitCode=o,n.signal=i,n.signalDescription=d,n.stdout=e,n.stderr=t,void 0!==r&&(n.all=r),"bufferedData"in n&&delete n.bufferedData,n.failed=!0,n.timedOut=!!l,n.isCanceled=u,n.killed=c&&!l,n;},ah=["stdin","stdout","stderr"],am=e=>ah.some(t=>void 0!==e[t]),ag=e=>{if(!e)return;let{stdio:t}=e;if(void 0===t)return ah.map(t=>e[t]);if(am(e))throw Error("It's not possible to provide `stdio` in combination with one of "+ah.map(e=>`\`${e}\``).join(", "));if("string"==typeof t)return t;if(!Array.isArray(t))throw TypeError(`Expected \`stdio\` to be of type \`string\` or \`Array\`, got \`${typeof t}\``);return Array.from({length:Math.max(t.length,ah.length)},(e,r)=>t[r]);},av=(e,t="SIGTERM",r={})=>{let n=e(t);return aE(e,t,r,n),n;},aE=(e,t,r,n)=>{if(!aw(t,r,n))return;let i=setTimeout(()=>{e("SIGKILL");},ab(r));i.unref&&i.unref();},aw=(e,{forceKillAfterTimeout:t},r)=>ay(e)&&!1!==t&&r,ay=e=>e===p(rv).constants.signals.SIGTERM||"string"==typeof e&&"SIGTERM"===e.toUpperCase(),ab=({forceKillAfterTimeout:e=!0})=>{if(!0===e)return 5e3;if(!Number.isFinite(e)||e<0)throw TypeError(`Expected the \`forceKillAfterTimeout\` option to be a non-negative integer, got \`${e}\` (${typeof e})`);return e;},ax=(e,t)=>{e.kill()&&(t.isCanceled=!0);},aD=(e,t,r)=>{e.kill(t),r(Object.assign(Error("Timed out"),{timedOut:!0,signal:t}));},aS=(e,{timeout:t,killSignal:r="SIGTERM"},n)=>{let i;return 0===t||void 0===t?n:Promise.race([new Promise((n,o)=>{i=setTimeout(()=>{aD(e,r,o);},t);}),n.finally(()=>{clearTimeout(i);})]);},aT=({timeout:e})=>{if(void 0!==e&&(!Number.isFinite(e)||e<0))throw TypeError(`Expected the \`timeout\` option to be a non-negative integer, got \`${e}\` (${typeof e})`);},aN=async(e,{cleanup:t,detached:r},n)=>{if(!t||r)return n;let i=p(r0)(()=>{e.kill();});return n.finally(()=>{i();});},aI=e=>e instanceof rh.ChildProcess&&"function"==typeof e.then,aA=(e,t,r)=>{if("string"==typeof r)return e[t].pipe((0,rl.createWriteStream)(r)),e;if(b(r))return e[t].pipe(r),e;if(!aI(r))throw TypeError("The second argument must be a string, a stream or an Execa child process.");if(!b(r.stdin))throw TypeError("The target child process's stdin must be available.");return e[t].pipe(r.stdin),r;},aR=e=>{null!==e.stdout&&(e.pipeStdout=aA.bind(void 0,e,"stdout")),null!==e.stderr&&(e.pipeStderr=aA.bind(void 0,e,"stderr")),void 0!==e.all&&(e.pipeAll=aA.bind(void 0,e,"all"));},aO=e=>{if(void 0!==e)throw TypeError("The `input` and `inputFile` options cannot be both set.");},aC=({input:e,inputFile:t})=>"string"!=typeof t?e:(aO(e),(0,rl.readFileSync)(t)),a_=e=>{let t=aC(e);if(y(t))throw TypeError("The `input` option cannot be a stream in sync mode");return t;},a$=({input:e,inputFile:t})=>"string"!=typeof t?e:(aO(e),(0,rl.createReadStream)(t)),aL=(e,t)=>{let r=a$(t);void 0!==r&&(y(r)?r.pipe(e.stdin):e.stdin.end(r));},aP=(e,{all:t})=>{if(!t||!e.stdout&&!e.stderr)return;let r=p(r8)();return e.stdout&&r.add(e.stdout),e.stderr&&r.add(e.stderr),r;},ak=async(e,t)=>{if(e&&void 0!==t){e.destroy();try{return await t;}catch(e){return e.bufferedData;}}},aU=(e,{encoding:t,buffer:r,maxBuffer:n})=>{if(e&&r)return t?p(r3)(e,{encoding:t,maxBuffer:n}):p(r3).buffer(e,{maxBuffer:n});},aM=async({stdout:e,stderr:t,all:r},{encoding:n,buffer:i,maxBuffer:o},a)=>{let s=aU(e,{encoding:n,buffer:i,maxBuffer:o}),l=aU(t,{encoding:n,buffer:i,maxBuffer:o}),u=aU(r,{encoding:n,buffer:i,maxBuffer:2*o});try{return await Promise.all([a,s,l,u]);}catch(n){return Promise.all([{error:n,signal:n.signal,timedOut:n.timedOut},ak(e,s),ak(t,l),ak(r,u)]);}},aF=(async()=>{})().constructor.prototype,aj=["then","catch","finally"].map(e=>[e,Reflect.getOwnPropertyDescriptor(aF,e)]),aq=(e,t)=>{for(let[r,n]of aj){let i="function"==typeof t?(...e)=>Reflect.apply(n.value,t(),e):n.value.bind(t);Reflect.defineProperty(e,r,{...n,value:i});}},aB=e=>new Promise((t,r)=>{e.on("exit",(e,r)=>{t({exitCode:e,signal:r});}),e.on("error",e=>{r(e);}),e.stdin&&e.stdin.on("error",e=>{r(e);});}),aG=(e,t=[])=>Array.isArray(t)?[e,...t]:[e],aH=e=>"string"!=typeof e||/^[\w.-]+$/.test(e)?e:`"${e.replace(/"/g,'\\"')}"`,aV=(e,t)=>aG(e,t).join(" "),aX=(e,t)=>aG(e,t).map(e=>aH(e)).join(" "),az=e=>{let t=typeof e;if("string"===t)return e;if("number"===t)return e+"";if("object"===t&&null!==e&&!(e instanceof rh.ChildProcess)&&"stdout"in e){let t=typeof e.stdout;if("string"===t)return e.stdout;if((0,rd.Buffer).isBuffer(e.stdout))return e.stdout.toString();throw TypeError(`Unexpected "${t}" stdout in template expression`);}throw TypeError(`Unexpected "${t}" in template expression`);},aY=(e,t,r)=>r||0===e.length||0===t.length?[...e,...t]:[...e.slice(0,-1),`${e[e.length-1]}${t[0]}`,...t.slice(1)],aW=({templates:e,expressions:t,tokens:r,index:n,template:i})=>{let o=null!=i?i:e.raw[n],a=aY(r,o.split(/ +/g).filter(Boolean),o.startsWith(" "));if(n===t.length)return a;let s=t[n];return aY(a,Array.isArray(s)?s.map(e=>az(e)):[az(s)],o.endsWith(" "));},aK=(e,t)=>{let r=[];for(let[n,i]of e.entries())r=aW({templates:e,expressions:t,tokens:r,index:n,template:i});return r;},aQ=(0,ry.debuglog)("execa").enabled,aJ=(e,t)=>(e+"").padStart(t,"0"),aZ=()=>{let e=new Date();return`${aJ(e.getHours(),2)}:${aJ(e.getMinutes(),2)}:${aJ(e.getSeconds(),2)}.${aJ(e.getMilliseconds(),3)}`;},a0=(e,{verbose:t})=>{t&&p(rm).stderr.write(`[${aZ()}] ${e}
`);},a1=({env:e,extendEnv:t,preferLocal:r,localDir:n,execPath:i})=>{let o=t?{...p(rm).env,...e}:e;return r?w({env:o,cwd:n,execPath:i}):o;},a3=(e,t,r={})=>{let n=p(rB)._parse(e,t,r);return e=n.command,t=n.args,(r={maxBuffer:1e8,buffer:!0,stripFinalNewline:!0,extendEnv:!0,preferLocal:!1,localDir:(r=n.options).cwd||p(rm).cwd(),execPath:p(rm).execPath,encoding:"utf8",reject:!0,cleanup:!0,all:!1,windowsHide:!0,verbose:aQ,...r}).env=a1(r),r.stdio=ag(r),"win32"===p(rm).platform&&"cmd"===p(rf).basename(e,".exe")&&t.unshift("/q"),{file:e,args:t,options:r,parsed:n};},a2=(e,t,r)=>"string"==typeof t||(0,rd.Buffer).isBuffer(t)?e.stripFinalNewline?v(t):t:void 0===r?void 0:"",a4=({input:e,inputFile:t,stdio:r})=>void 0===e&&void 0===t&&void 0===r?{stdin:"inherit"}:{},a5=(e={})=>({preferLocal:!0,...a4(e),...e});!function e(t){function r(n,...i){if(!Array.isArray(n))return e({...t,...n});let[o,...a]=aK(n,i);return k(o,a,a5(t));}return r.sync=(e,...r)=>{if(!Array.isArray(e))throw TypeError("Please use $(options).sync`command` instead of $.sync(options)`command`.");let[n,...i]=aK(e,r);return function(e,t,r){let n;let i=a3(e,t,r),o=aV(e,t),a=aX(e,t);a0(a,i.options);let s=a_(i.options);try{n=p(rh).spawnSync(i.file,i.args,{...i.options,input:s});}catch(e){throw af({error:e,stdout:"",stderr:"",all:"",command:o,escapedCommand:a,parsed:i,timedOut:!1,isCanceled:!1,killed:!1});}let l=a2(i.options,n.stdout,n.error),u=a2(i.options,n.stderr,n.error);if(n.error||0!==n.status||null!==n.signal){let e=af({stdout:l,stderr:u,error:n.error,signal:n.signal,exitCode:n.status,command:o,escapedCommand:a,parsed:i,timedOut:n.error&&"ETIMEDOUT"===n.error.code,isCanceled:!1,killed:null!==n.signal});if(!i.options.reject)return e;throw e;}return{command:o,escapedCommand:a,exitCode:0,stdout:l,stderr:u,failed:!1,timedOut:!1,isCanceled:!1,killed:!1};}(n,i,a5(t));},r;}(),nv={};const a6="win32"!==n5.platform(),a8=n5.release(),a9=(e="",t="")=>/1\d+\.\d+/.test(e)&&+t>=17134.1184;nv=function(e){return a6?e.replace(/(\s+)/g,"\\$1"):a9(.../(\d+\.\d+)\.(\d+)/.exec(a8).splice(1))?e:e.replace(/(\s+)/g,"%20");},function(){var e,t;e=rI("8CJZb"),t=function(e){return e.split("").reverse().join("");},nE=function(r,n,i){var o;return(null==n&&(n="'"),null==i&&(i="\\"),"string"!=typeof r)?r:(o=RegExp("(["+e(n)+"])(?!"+e(i)+")","g"),t(t(r).replace(o,"$1"+i)));};}.call(nE={}),nw=rI("6t4SD");const a7={shouldEscapeSpace:!1,shouldAddOnlyIfNotDefined:!1},se=[/\/usr\/bin\/?/,/\/usr\/local\/bin\/?/],st=C("~/.cpprc");let sr=!1;nw=rI("6t4SD"),ny=rI("f44Uw"),rO=rI("hHq4F");const{appendFile:sn}=n8.promises;let si=!1,so=!1;const sa=["E: Could not get lock","dpkg: error processing archive","dpkg: error: dpkg status database is locked by another process"];(rr=nb||(nb={}))[rr.NameDashVersion=0]="NameDashVersion",rr[rr.NameEqualsVersion=1]="NameEqualsVersion",rr[rr.Name=2]="Name",rr[rr.None=3]="None",ng=rI("1o3Gj"),nx=rI("eAXk4"),nx=rI("eAXk4"),nD=rI("zdagz");let ss=!1;nw=rI("6t4SD"),nx=rI("eAXk4"),rO=rI("hHq4F");let sl=!1;rO=rI("hHq4F"),rO=rI("hHq4F");let su=!1,sc=!1;const sp=/Version\s*:\s*(.*)/g;nS={},nT=n6.resolve(__dirname,"../../node_modules/@actions/tool-cache/lib"),nN=nS&&nS.__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];}),nI=nS&&nS.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t});}:function(e,t){e.default=t;}),nA=nS&&nS.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)"default"!==r&&Object.hasOwnProperty.call(e,r)&&nN(t,e,r);return nI(t,e),t;},nR=nS&&nS.__awaiter||function(e,t,r,n){return new(r||(r=Promise))(function(i,o){function a(e){try{l(n.next(e));}catch(e){o(e);}}function s(e){try{l(n.throw(e));}catch(e){o(e);}}function l(e){var t;e.done?i(e.value):((t=e.value)instanceof r?t:new r(function(e){e(t);})).then(a,s);}l((n=n.apply(e,t||[])).next());});},nO=nS&&nS.__importDefault||function(e){return e&&e.__esModule?e:{default:e};},Object.defineProperty(nS,"__esModule",{value:!0}),nS.evaluateVersions=nS.isExplicitVersion=nS.findFromManifest=nS.getManifestFromRepo=nS.findAllVersions=nS.find=nS.cacheFile=nS.cacheDir=nS.extractZip=nS.extractXar=nS.extractTar=nS.extract7z=nS.downloadTool=nS.HTTPError=void 0;const sd=nA(rI("1o3Gj")),sf=nA(rI("zdagz")),sh=nA(n8),sm=nA(rI("gn8Si")),sg=nA(n5),sv=nA(n6),sE=nA(rI("eamjo")),sw=nA(rI("0306Y")),sy=nA(rw),sb=nA(rs),sx=nO(rI("GX8zo"));nC=rI("bHzmH"),n$=(n_={},n_.__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];})),nL=n_&&n_.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t});}:function(e,t){e.default=t;}),nP=n_&&n_.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)"default"!==r&&Object.hasOwnProperty.call(e,r)&&n$(t,e,r);return nL(t,e),t;},nk=n_&&n_.__awaiter||function(e,t,r,n){return new(r||(r=Promise))(function(i,o){function a(e){try{l(n.next(e));}catch(e){o(e);}}function s(e){try{l(n.throw(e));}catch(e){o(e);}}function l(e){var t;e.done?i(e.value):((t=e.value)instanceof r?t:new r(function(e){e(t);})).then(a,s);}l((n=n.apply(e,t||[])).next());});},Object.defineProperty(n_,"__esModule",{value:!0}),n_.RetryHelper=void 0;const sD=nP(rI("1o3Gj"));n_.RetryHelper=class{constructor(e,t,r){if(e<1)throw Error("max attempts should be greater than or equal to 1");if(this.maxAttempts=e,this.minSeconds=Math.floor(t),this.maxSeconds=Math.floor(r),this.minSeconds>this.maxSeconds)throw Error("min seconds should be less than or equal to max seconds");}execute(e,t){return nk(this,void 0,void 0,function*(){let r=1;for(;r<this.maxAttempts;){try{return yield e();}catch(e){if(t&&!t(e))throw e;sD.info(e.message);}let n=this.getSleepAmount();sD.info(`Waiting ${n} seconds before trying again`),yield this.sleep(n),r++;}return yield e();});}getSleepAmount(){return Math.floor(Math.random()*(this.maxSeconds-this.minSeconds+1))+this.minSeconds;}sleep(e){return nk(this,void 0,void 0,function*(){return new Promise(t=>setTimeout(t,1e3*e));});}};class sS extends Error{constructor(e){super("Unexpected HTTP response: "+e),this.httpStatusCode=e,Object.setPrototypeOf(this,new.target.prototype);}}nS.HTTPError=sS;const sT="win32"===process.platform,sN="darwin"===process.platform;nS.downloadTool=function(e,t,r,n){return nR(this,void 0,void 0,function*(){t=t||sv.join(eb(),sx.default()),yield sf.mkdirP(sv.dirname(t)),sd.debug("Downloading "+e),sd.debug("Destination "+t);let i=ex("TEST_DOWNLOAD_TOOL_RETRY_MIN_SECONDS",10),o=ex("TEST_DOWNLOAD_TOOL_RETRY_MAX_SECONDS",20),a=new n_.RetryHelper(3,i,o);return yield a.execute(()=>nR(this,void 0,void 0,function*(){return yield function(e,t,r,n){return nR(this,void 0,void 0,function*(){if(sh.existsSync(t))throw Error(`Destination file path ${t} already exists`);let i=new sE.HttpClient("actions/tool-cache",[],{allowRetries:!1});r&&(sd.debug("set auth"),void 0===n&&(n={}),n.authorization=r);let o=yield i.get(e,n);if(200!==o.message.statusCode){let t=new sS(o.message.statusCode);throw sd.debug(`Failed to download from "${e}". Code(${o.message.statusCode}) Message(${o.message.statusMessage})`),t;}let a=sb.promisify(sy.pipeline),s=ex("TEST_DOWNLOAD_TOOL_RESPONSE_MESSAGE_FACTORY",()=>o.message)(),l=!1;try{return yield a(s,sh.createWriteStream(t)),sd.debug("download complete"),l=!0,t;}finally{if(!l){sd.debug("download failed");try{yield sf.rmRF(t);}catch(e){sd.debug(`Failed to delete '${t}'. ${e.message}`);}}}});}(e,t||"",r,n);}),e=>!(e instanceof sS)||!e.httpStatusCode||!(e.httpStatusCode<500)||408===e.httpStatusCode||429===e.httpStatusCode);});},nS.extract7z=function(e,t,r){return nR(this,void 0,void 0,function*(){ra.ok(sT,"extract7z() not supported on current OS"),ra.ok(e,'parameter "file" is required'),t=yield em(t);let n=process.cwd();if(process.chdir(t),r)try{let t=sd.isDebug()?"-bb1":"-bb0";yield nC.exec(`"${r}"`,["x",t,"-bd","-sccUTF-8",e],{silent:!0});}finally{process.chdir(n);}else{let r=sv.join(nT,"..","scripts","Invoke-7zdec.ps1").replace(/'/g,"''").replace(/"|\n|\r/g,""),i=e.replace(/'/g,"''").replace(/"|\n|\r/g,""),o=t.replace(/'/g,"''").replace(/"|\n|\r/g,""),a=`& '${r}' -Source '${i}' -Target '${o}'`;try{let e=yield sf.which("powershell",!0);yield nC.exec(`"${e}"`,["-NoLogo","-Sta","-NoProfile","-NonInteractive","-ExecutionPolicy","Unrestricted","-Command",a],{silent:!0});}finally{process.chdir(n);}}return t;});},nS.extractTar=function(e,t,r="xz"){return nR(this,void 0,void 0,function*(){let n;if(!e)throw Error("parameter 'file' is required");t=yield em(t),sd.debug("Checking tar --version");let i="";yield nC.exec("tar --version",[],{ignoreReturnCode:!0,silent:!0,listeners:{stdout:e=>i+=e.toString(),stderr:e=>i+=e.toString()}}),sd.debug(i.trim());let o=i.toUpperCase().includes("GNU TAR");n=r instanceof Array?r:[r],sd.isDebug()&&!r.includes("v")&&n.push("-v");let a=t,s=e;return sT&&o&&(n.push("--force-local"),a=t.replace(/\\/g,"/"),s=e.replace(/\\/g,"/")),o&&(n.push("--warning=no-unknown-keyword"),n.push("--overwrite")),n.push("-C",a,"-f",s),yield nC.exec("tar",n),t;});},nS.extractXar=function(e,t,r=[]){return nR(this,void 0,void 0,function*(){var n;let i;ra.ok(sN,"extractXar() not supported on current OS"),ra.ok(e,'parameter "file" is required'),t=yield em(t),(i=r instanceof Array?r:[r]).push("-x","-C",t,"-f",e),sd.isDebug()&&i.push("-v");let o=yield sf.which("xar",!0);return yield nC.exec(`"${o}"`,(n=i,Array.from(new Set(n)))),t;});},nS.extractZip=function(e,t){return nR(this,void 0,void 0,function*(){if(!e)throw Error("parameter 'file' is required");return t=yield em(t),sT?yield function(e,t){return nR(this,void 0,void 0,function*(){let r=e.replace(/'/g,"''").replace(/"|\n|\r/g,""),n=t.replace(/'/g,"''").replace(/"|\n|\r/g,""),i=yield sf.which("pwsh",!1);if(i){let e=`$ErrorActionPreference = 'Stop' ; try { Add-Type -AssemblyName System.IO.Compression.ZipFile } catch { } ; try { [System.IO.Compression.ZipFile]::ExtractToDirectory('${r}', '${n}', $true) } catch { if (($_.Exception.GetType().FullName -eq 'System.Management.Automation.MethodException') -or ($_.Exception.GetType().FullName -eq 'System.Management.Automation.RuntimeException') ){ Expand-Archive -LiteralPath '${r}' -DestinationPath '${n}' -Force } else { throw $_ } } ;`;sd.debug("Using pwsh at path: "+i),yield nC.exec(`"${i}"`,["-NoLogo","-NoProfile","-NonInteractive","-ExecutionPolicy","Unrestricted","-Command",e]);}else{let e=`$ErrorActionPreference = 'Stop' ; try { Add-Type -AssemblyName System.IO.Compression.FileSystem } catch { } ; if ((Get-Command -Name Expand-Archive -Module Microsoft.PowerShell.Archive -ErrorAction Ignore)) { Expand-Archive -LiteralPath '${r}' -DestinationPath '${n}' -Force } else {[System.IO.Compression.ZipFile]::ExtractToDirectory('${r}', '${n}', $true) }`,t=yield sf.which("powershell",!0);sd.debug("Using powershell at path: "+t),yield nC.exec(`"${t}"`,["-NoLogo","-Sta","-NoProfile","-NonInteractive","-ExecutionPolicy","Unrestricted","-Command",e]);}});}(e,t):yield function(e,t){return nR(this,void 0,void 0,function*(){let r=yield sf.which("unzip",!0),n=[e];sd.isDebug()||n.unshift("-q"),n.unshift("-o"),yield nC.exec(`"${r}"`,n,{cwd:t});});}(e,t),t;});},nS.cacheDir=function(e,t,r,n){return nR(this,void 0,void 0,function*(){if(r=sw.clean(r)||r,n=n||sg.arch(),sd.debug(`Caching tool ${t} ${r} ${n}`),sd.debug("source dir: "+e),!sh.statSync(e).isDirectory())throw Error("sourceDir is not a directory");let i=yield eg(t,r,n);for(let t of sh.readdirSync(e)){let r=sv.join(e,t);yield sf.cp(r,i,{recursive:!0});}return ev(t,r,n),i;});},nS.cacheFile=function(e,t,r,n,i){return nR(this,void 0,void 0,function*(){if(n=sw.clean(n)||n,i=i||sg.arch(),sd.debug(`Caching tool ${r} ${n} ${i}`),sd.debug("source file: "+e),!sh.statSync(e).isFile())throw Error("sourceFile is not a file");let o=yield eg(r,n,i),a=sv.join(o,t);return sd.debug("destination file "+a),yield sf.cp(e,a),ev(r,n,i),o;});},nS.find=function(e,t,r){if(!e)throw Error("toolName parameter is required");if(!t)throw Error("versionSpec parameter is required");r=r||sg.arch(),eE(t)||(t=ew(eh(e,r),t));let n="";if(t){t=sw.clean(t)||"";let i=sv.join(ey(),e,t,r);sd.debug("checking cache: "+i),sh.existsSync(i)&&sh.existsSync(`${i}.complete`)?(sd.debug(`Found tool in cache ${e} ${t} ${r}`),n=i):sd.debug("not found");}return n;},nS.findAllVersions=eh,nS.getManifestFromRepo=function(e,t,r,n="master"){return nR(this,void 0,void 0,function*(){let i=[],o=`https://api.github.com/repos/${e}/${t}/git/trees/${n}`,a=new sE.HttpClient("tool-cache"),s={};r&&(sd.debug("set auth"),s.authorization=r);let l=yield a.getJson(o,s);if(!l.result)return i;let u="";for(let e of l.result.tree)if("versions-manifest.json"===e.path){u=e.url;break;}s.accept="application/vnd.github.VERSION.raw";let c=yield(yield a.get(u,s)).readBody();if(c){c=c.replace(/^\uFEFF/,"");try{i=JSON.parse(c);}catch(e){sd.debug("Invalid json");}}return i;});},nS.findFromManifest=function(e,t,r,n=sg.arch()){return nR(this,void 0,void 0,function*(){return yield sm._findMatch(e,t,r,n);});},nS.isExplicitVersion=eE,nS.evaluateVersions=ew,nU=rI("hlfY9"),nM=rI("6v1Be"),nx=rI("eAXk4"),rO=rI("hHq4F"),rR=rI("dAuy6"),nw=rI("6t4SD"),Object.defineProperty(nF={},"__esModule",{value:!0}),nF.retryAsPromised=nF.TimeoutError=void 0;class sI extends Error{constructor(e,t){super(e),this.name="TimeoutError",this.previous=t;}}nF.TimeoutError=sI,nF.retryAsPromised=eD,nF.default=eD;let sA=!1;nx=rI("eAXk4"),nD=rI("zdagz"),rO=rI("hHq4F"),ng=rI("1o3Gj"),nw=rI("6t4SD"),nx=rI("eAXk4"),nC=rI("bHzmH"),rR=rI("dAuy6"),rO=rI("hHq4F"),nj={isEqual:!0,isMatchingKey:!0,isPromise:!0,maxSize:!0,onCacheAdd:!0,onCacheChange:!0,onCacheHit:!0,transformKey:!0},nq=Array.prototype.slice,nB=function(){function e(e){this.keys=[],this.values=[],this.options=e;var t="function"==typeof e.isMatchingKey;t?this.getKeyIndex=this._getKeyIndexFromMatchingKey:e.maxSize>1?this.getKeyIndex=this._getKeyIndexForMany:this.getKeyIndex=this._getKeyIndexForSingle,this.canTransformKey="function"==typeof e.transformKey,this.shouldCloneArguments=this.canTransformKey||t,this.shouldUpdateOnAdd="function"==typeof e.onCacheAdd,this.shouldUpdateOnChange="function"==typeof e.onCacheChange,this.shouldUpdateOnHit="function"==typeof e.onCacheHit;}return Object.defineProperty(e.prototype,"size",{get:function(){return this.keys.length;},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"snapshot",{get:function(){return{keys:e$(this.keys),size:this.size,values:e$(this.values)};},enumerable:!1,configurable:!0}),e.prototype._getKeyIndexFromMatchingKey=function(e){var t=this.options,r=t.isMatchingKey,n=t.maxSize,i=this.keys,o=i.length;if(!o)return-1;if(r(i[0],e))return 0;if(n>1){for(var a=1;o>a;a++)if(r(i[a],e))return a;}return-1;},e.prototype._getKeyIndexForMany=function(e){var t,r,n=this.options.isEqual,i=this.keys,o=i.length;if(!o)return-1;if(1===o)return this._getKeyIndexForSingle(e);var a=e.length;if(a>1){for(var s=0;o>s;s++)if((t=i[s]).length===a){for(r=0;a>r&&n(t[r],e[r]);r++);if(r===a)return s;}}else for(var s=0;o>s;s++)if((t=i[s]).length===a&&n(t[0],e[0]))return s;return-1;},e.prototype._getKeyIndexForSingle=function(e){var t=this.keys;if(!t.length)return-1;var r=t[0],n=r.length;if(e.length!==n)return-1;var i=this.options.isEqual;if(n>1){for(var o=0;n>o;o++)if(!i(r[o],e[o]))return-1;return 0;}return i(r[0],e[0])?0:-1;},e.prototype.orderByLru=function(e,t,r){for(var n=this.keys,i=this.values,o=n.length,a=r;a--;)n[a+1]=n[a],i[a+1]=i[a];n[0]=e,i[0]=t;var s=this.options.maxSize;o===s&&r===o?(n.pop(),i.pop()):r>=s&&(n.length=i.length=s);},e.prototype.updateAsyncCache=function(e){var t=this,r=this.options,n=r.onCacheChange,i=r.onCacheHit,o=this.keys[0],a=this.values[0];this.values[0]=a.then(function(r){return t.shouldUpdateOnHit&&i(t,t.options,e),t.shouldUpdateOnChange&&n(t,t.options,e),r;},function(e){var r=t.getKeyIndex(o);throw-1!==r&&(t.keys.splice(r,1),t.values.splice(r,1)),e;});},e;}(),nx=rI("eAXk4"),nG=e=>{if("string"!=typeof e)return!1;let t=e.trim();if(t.includes(" "))return!1;try{return new rx.URL(t),!0;}catch{return!1;}},nH=async e=>{if(!nG(e))return!1;let t=await eU(e,"HEAD");return!!t||!!(t=await eU(e,"GET"));},nV=rI("jDqfd"),nM=rI("6v1Be"),nX=rI("2kZmC"),nC=rI("bHzmH"),rO=rI("hHq4F");const sR=/v?(\d\S*)/,sO={llvm:eB(),clangtidy:eB(),clangformat:eB(),ninja:"1.11.1",cmake:"3.28.1",gcovr:"5.2",conan:"1.62.0",meson:"1.3.1",kcov:"42",task:"3.33.1",doxygen:ea()?"1.10.0-1":"1.10.0",gcc:ea()?"13.2.1-3":"13"},sC={pip:"22.2.0",python:"3.7.9"},s_={gcc:{22:"13",20:"11",18:"11",16:"11",14:"11"},mingw:{22:"8.0.0-1",20:"7.0.0-2"},llvm:{22:"17.0.6-ubuntu-22.04",20:"17.0.6-ubuntu-22.04",18:"15.0.6-ubuntu-18.04",16:"15.0.6-ubuntu-18.04",14:"13.0.0-ubuntu-16.04"},clangtidy:{22:"17.0.2-ubuntu-22.04",20:"17.0.2-ubuntu-22.04",18:"15.0.6-ubuntu-18.04",16:"15.0.6-ubuntu-18.04",14:"13.0.0-ubuntu-16.04"},clangformat:{22:"17.0.2-ubuntu-22.04",20:"17.0.2-ubuntu-22.04",18:"15.0.6-ubuntu-18.04",16:"15.0.6-ubuntu-18.04",14:"13.0.0-ubuntu-16.04"},gcovr:{22:"6.0",20:"6.0",18:"5.0"},meson:{20:"1.0.0",18:"0.61.4"},nala:{22:"",21:"legacy",20:"legacy",18:"legacy",16:"legacy",14:"legacy"},kcov:{22:"42-binary",20:"40-binary",18:"40",16:"40",14:"40"}};nw=rI("6t4SD");const s$=ek(e1,{isPromise:!0});rO=rI("hHq4F"),Object.defineProperty(nz={},"__esModule",{value:!0}),nz.getUbuntuVersion=void 0,nz.getUbuntuVersion=e4;const sL=ek(e5,{isPromise:!0}),sP=e=>{if(e){if("object"==typeof e)e={mode:511,...e};else if("number"==typeof e)e={mode:e};else if("string"==typeof e)e={mode:parseInt(e,8)};else throw TypeError("invalid options argument");}else e={mode:511};let t=e,r=e.fs||{};return e.mkdir=e.mkdir||r.mkdir||n8.mkdir,e.mkdirAsync=e.mkdirAsync?e.mkdirAsync:async(e,r)=>new Promise((n,i)=>t.mkdir(e,r,(e,t)=>e?i(e):n(t))),e.stat=e.stat||r.stat||n8.stat,e.statAsync=e.statAsync?e.statAsync:async e=>new Promise((r,n)=>t.stat(e,(e,t)=>e?n(e):r(t))),e.statSync=e.statSync||r.statSync||n8.statSync,e.mkdirSync=e.mkdirSync||r.mkdirSync||n8.mkdirSync,t;},sk=(e,t,r)=>{let n=(0,n6.dirname)(e),i={...sP(t),recursive:!1};if(n===e)try{return i.mkdirSync(e,i);}catch(e){if(e&&"EISDIR"!==e.code)throw e;return;}try{return i.mkdirSync(e,i),r||e;}catch(t){if(t&&"ENOENT"===t.code)return sk(e,i,sk(n,i,r));if(t&&"EEXIST"!==t.code&&t&&"EROFS"!==t.code)throw t;try{if(!i.statSync(e).isDirectory())throw t;}catch(e){throw t;}}},sU=Object.assign(async(e,t,r)=>{let n=sP(t);n.recursive=!1;let i=(0,n6.dirname)(e);return i===e?n.mkdirAsync(e,n).catch(e=>{if(e&&"EISDIR"!==e.code)throw e;}):n.mkdirAsync(e,n).then(()=>r||e,async t=>{if(t&&"ENOENT"===t.code)return sU(i,n).then(t=>sU(e,n,t));if(t&&"EEXIST"!==t.code&&"EROFS"!==t.code)throw t;return n.statAsync(e).then(e=>{if(e.isDirectory())return r;throw t;},()=>{throw t;});});},{sync:sk}),sM=async(e,t,r)=>{if(r!==t)return e.statAsync(t).then(e=>e.isDirectory()?r:void 0,r=>r&&"ENOENT"===r.code?sM(e,(0,n6.dirname)(t),t):void 0);},sF=(e,t,r)=>{if(r!==t)try{return e.statSync(t).isDirectory()?r:void 0;}catch(r){return r&&"ENOENT"===r.code?sF(e,(0,n6.dirname)(t),t):void 0;}},sj=(e,t)=>{let r=sP(t);if(r.recursive=!0,(0,n6.dirname)(e)===e)return r.mkdirSync(e,r);let n=sF(r,e);try{return r.mkdirSync(e,r),n;}catch(t){if(t&&"ENOENT"===t.code)return sk(e,r);throw t;}},sq=Object.assign(async(e,t)=>{let r={...sP(t),recursive:!0};return(0,n6.dirname)(e)===e?await r.mkdirAsync(e,r):sM(r,e).then(t=>r.mkdirAsync(e,r).then(e=>t||e).catch(t=>{if(t&&"ENOENT"===t.code)return sU(e,r);throw t;}));},{sync:sj}),sB=process.env.__TESTING_MKDIRP_PLATFORM__||process.platform,sG=e=>{if(/\0/.test(e))throw Object.assign(TypeError("path must be a string without null bytes"),{path:e,code:"ERR_INVALID_ARG_VALUE"});if(e=(0,n6.resolve)(e),"win32"===sB){let{root:t}=(0,n6.parse)(e);if(/[*|"<>?:]/.test(e.substring(t.length)))throw Object.assign(Error("Illegal characters in path."),{path:e,code:"EINVAL"});}return e;},sH=(process.env.__TESTING_MKDIRP_NODE_VERSION__||process.version).replace(/^v/,"").split("."),sV=+sH[0]>10||10==+sH[0]&&+sH[1]>=12,sX=sV?e=>sP(e).mkdirSync===n8.mkdirSync:()=>!1,sz=Object.assign(sV?e=>sP(e).mkdir===n8.mkdir:()=>!1,{sync:sX}),sY=(e,t)=>{e=sG(e);let r=sP(t);return sX(r)?sj(e,r):sk(e,r);},sW=Object.assign(async(e,t)=>{e=sG(e);let r=sP(t);return sz(r)?sq(e,r):sU(e,r);},{mkdirpSync:sY,mkdirpNative:sq,mkdirpNativeSync:sj,mkdirpManual:sU,mkdirpManualSync:sk,sync:sY,native:sq,nativeSync:sj,manual:sU,manualSync:sk,useNative:sz,useNativeSync:sX}),sK=ek(te,{isPromise:!0}),sQ=ek(tt,{isPromise:!0}),sJ=ek(tr,{isPromise:!0});nx=rI("eAXk4"),rO=rI("hHq4F"),nw=rI("6t4SD");const sZ=new Map([[23,["Sonoma","14"]],[22,["Ventura","13"]],[21,["Monterey","12"]],[20,["Big Sur","11"]],[19,["Catalina","10.15"]],[18,["Mojave","10.14"]],[17,["High Sierra","10.13"]],[16,["Sierra","10.12"]],[15,["El Capitan","10.11"]],[14,["Yosemite","10.10"]],[13,["Mavericks","10.9"]],[12,["Mountain Lion","10.8"]],[11,["Lion","10.7"]],[10,["Snow Leopard","10.6"]],[9,["Leopard","10.5"]],[8,["Tiger","10.4"]],[7,["Panther","10.3"]],[6,["Jaguar","10.2"]],[5,["Puma","10.1"]]]),s0=ek(function(){let{version:e}=function(e){e=+(e||p(rv).release()).split(".")[0];let[t,r]=sZ.get(e)||["Unknown",""];return{name:t,version:r};}();return e.split(".").map(e=>parseInt(e,10));});(nW=rI("7KjWO")).DOMImplementation,nW.XMLSerializer,nY=rI("7fBnG").DOMParser;const s1=63,s3="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",s2=[-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,62,-1,-1,-1,63,52,53,54,55,56,57,58,59,60,61,-1,-1,-1,64,-1,-1,-1,0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,-1,-1,-1,-1,-1,-1,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51];class s4{constructor(){}get type(){return this.constructor.TYPE;}castTo(e){return this.type===e.TYPE?this:null;}castAs(e){let t=this.castTo(e);if(!t)throw Error(`Cannot cast type '${this.type}' to '${e.TYPE}'`);return t;}fromXml(e){let{documentElement:t}=tc(e);this.fromXmlElement(t);}}class s5 extends s4{static TYPE="boolean";static TAG_NAMES=["true","false"];value=!1;constructor(e=!1){super(),this.value=e;}fromXmlElement(e){switch(!function(e){let{childNodes:t}=e;if(t.length)throw Error("Unexpected child nodes: "+e.tagName);}(e),e.tagName){case"true":this.value=!0;return;case"false":this.value=!1;return;default:throw tf(e,"");}}toXml(e=null,t=0){var r;let n=(null!==(r=null==e?void 0:e.indentString)&&void 0!==r?r:" ").repeat(t);return this.value?`${n}<true/>`:`${n}<false/>`;}}class s6 extends s4{static TYPE="data";static TAG_NAMES=["data"];constructor(e=new Uint8Array(0)){super(),this.value=e;}fromXmlElement(e){var t;tf(e,"data");let r=(null===(t=td(e))||void 0===t?void 0:t.nodeValue)||"";this.value=function(e){let t=e.length,r=[];e:for(let n,i,o,a,s,l,u=0;t>u;){for(;;){if((s=s2[e.charCodeAt(u++)])>=0){n=s;break;}if(u>=t)break e;}for(;;){if((s=s2[e.charCodeAt(u++)])>=0){i=s;break;}if(u>=t)break e;}for(;;){if((s=s2[e.charCodeAt(u++)])>=0){o=s;break;}if(u>=t)break e;}for(;;){if((s=s2[e.charCodeAt(u++)])>=0){a=s;break;}if(u>=t)break e;}switch(l=(n&s1)<<18|(i&s1)<<12|(o&s1)<<6|a&s1,o>s1?a>s1?2:0:a>s1?1:0){case 0:r.push(l>>16&255,l>>8&255,255&l);break;case 1:r.push(l>>16&255,l>>8&255);break;case 2:r.push(l>>16&255);}}return new Uint8Array(r);}(r);}toXml(e=null,t=0){var r,n,i;let o=null!==(r=null==e?void 0:e.newlineString)&&void 0!==r?r:"\n",a=null!==(n=null==e?void 0:e.dataColumns)&&void 0!==n?n:68,s=(null!==(i=null==e?void 0:e.indentString)&&void 0!==i?i:" ").repeat(t),l=`${s}<data>`;if(a>0)for(let e=th(this.value);e;e=e.substring(a))l+=`${o}${s}${e.substring(0,a)}`;else l+=`${o}${s}${th(this.value)}`;return l+`${o}${s}</data>`;}}class s8 extends s4{static TYPE="integer";static TAG_NAMES=["integer"];value=0;constructor(e=0){super(),tm(e),this.value=e;}asBigInt(){return BigInt(this.value);}asNumber(){return+this.value;}fromXmlElement(e){var t;tf(e,"integer");let r=(null===(t=td(e))||void 0===t?void 0:t.nodeValue)||"";if(!/^[-+]?[0-9]+$/.test(r))throw Error("Invalid integer data: "+r);let n=+r;this.value=n>9007199254740991||n<-9007199254740991?BigInt(r):n;}toXml(e=null,t=0){var r;let n=(null!==(r=null==e?void 0:e.indentString)&&void 0!==r?r:" ").repeat(t),i=this.value;return tm(i),`${n}<integer>${i}</integer>`;}}class s9 extends s4{static TYPE="real";static TAG_NAMES=["real"];value=0;constructor(e=0){super(),this.value=e;}fromXmlElement(e){var t;tf(e,"real");let r=(null===(t=td(e))||void 0===t?void 0:t.nodeValue)||"";if(!/^[-+]?([0-9]+|[0-9]*\.[0-9]+)$/.test(r))throw Error("Invalid real data: "+r);this.value=+r;}toXml(e=null,t=0){var r;let n=(null!==(r=null==e?void 0:e.indentString)&&void 0!==r?r:" ").repeat(t),i=this.value;return`${n}<real>${i}</real>`;}}class s7 extends s4{static TYPE="string";static TAG_NAMES=["string"];value="";constructor(e=""){super(),this.value=e;}fromXmlElement(e){var t;tf(e,"string"),this.value=(null===(t=td(e))||void 0===t?void 0:t.nodeValue)||"";}toXml(e=null,t=0){var r;let n=(null!==(r=null==e?void 0:e.indentString)&&void 0!==r?r:" ").repeat(t),i=this.value.replaceAll("&","&amp;").replaceAll("<","&lt;").replaceAll(">","&gt;");return`${n}<string>${i}</string>`;}}class le extends s4{static TYPE="array";static TAG_NAMES=["array"];static get CHILD_TAG_NAMES(){if(!i)for(let e of(i=new Map(),[le,s5,s6,lt,s8,s9,s7]))for(let t of e.TAG_NAMES)i.set(t,e);return i;}value=[];constructor(e=[]){super(),this.value=e;}get length(){return this.value.length;}get(e){let{value:t}=this;return e<this.length?t[e]:null;}getValue(e){let t=this.get(e);if(!t)throw Error("Index out of bounds: "+e);return t;}set(e,t){this.value[e]=t;}push(...e){this.value.push(...e);}pop(){return this.value.pop()||null;}popValue(){let e=this.pop();if(!e)throw Error("Cannot pop empty array");return e;}shift(){return this.value.shift()||null;}shiftValue(){let e=this.shift();if(!e)throw Error("Cannot shift empty array");return e;}fromXmlElement(e){tf(e,"array");let t=tp(e);this.value=t.map(e=>this.childFromXmlElement(e));}childFromXmlElement(e){let{tagName:t}=e,{CHILD_TAG_NAMES:r}=this.constructor,n=r.get(t)||null;if(!n)throw Error("Unknown element type: "+t);let i=new n();return i.fromXmlElement(e),i;}toXml(e=null,t=0){var r,n;let i=null!==(r=null==e?void 0:e.newlineString)&&void 0!==r?r:"\n",o=(null!==(n=null==e?void 0:e.indentString)&&void 0!==n?n:" ").repeat(t),a=this.value;if(!a.length)return`${o}<array/>`;let s=`${o}<array>`;for(let r of a)s+=`${i}${r.toXml(e,t+1)}`;return s+`${i}${o}</array>`;}}class lt extends s4{static TYPE="dict";static TAG_NAMES=["dict"];static get CHILD_TAG_NAMES(){if(!o)for(let e of(o=new Map(),[le,s5,s6,lt,s8,s9,s7]))for(let t of e.TAG_NAMES)o.set(t,e);return o;}value=new Map();constructor(e=new Map()){super(),this.value=e;}get size(){return this.value.size;}has(e){return this.value.has(e);}get(e){return this.value.get(e)||null;}getValue(e){let t=this.get(e);if(!t)throw Error("Key is null: "+e);return t;}set(e,t){this.value.set(e,t);}delete(e){this.value.delete(e);}clear(){this.value.clear();}fromXmlElement(e){tf(e,"dict");let t=tp(e),r=t.length;if(r%2)throw Error("Uneven number of child elements: "+r);let n=new Map();for(let e=0;r>e;e+=2){var i;let r=t[e],o=t[e+1];tf(r,"key");let a=(null===(i=td(r))||void 0===i?void 0:i.nodeValue)||"",s=this.childFromXmlElement(o);n.set(a,s);}this.value=n;}childFromXmlElement(e){let{tagName:t}=e,{CHILD_TAG_NAMES:r}=this.constructor,n=r.get(t)||null;if(!n)throw Error("Unknown element type: "+t);let i=new n();return i.fromXmlElement(e),i;}toXml(e=null,t=0){var r,n;let i=null!==(r=null==e?void 0:e.indentString)&&void 0!==r?r:" ",o=null!==(n=null==e?void 0:e.newlineString)&&void 0!==n?n:"\n",a=i.repeat(t),s=this.value;if(!s.size)return`${a}<dict/>`;let l=i.repeat(t+1),u=`${a}<dict>`;for(let[r,n]of s){let i=r.replaceAll("&","&amp;").replaceAll("<","&lt;").replaceAll(">","&gt;");u+=`${o}${l}<key>${i}</key>${o}${n.toXml(e,t+1)}`;}return u+`${o}${a}</dict>`;}}const lr='<?xml version="1.0" encoding="UTF-8"?>',ln='<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">';class li{static XML_DECLARATION=lr;static XML_DOCTYPE=ln;xmlDeclaration=lr;xmlDoctype=ln;value=null;constructor(e=null){this.value=e;}getValue(){let{value:e}=this;if(!e)throw Error("Value is null");return e;}valueCastTo(e){let{value:t}=this;return t?t.castTo(e):null;}valueCastAs(e){let t=this.valueCastTo(e);if(!t)throw Error(`Cannot cast value to type '${e.TYPE}'`);return t;}fromXml(e){let{declaration:t,doctype:r,documentElement:n}=tc(e);this.fromXmlElement(n,t,r);}fromXmlElement(e,t=null,r=null){let{tagName:n}=e;if("plist"!==n)throw Error("Unexpected root plist tag name: "+n);let i=tp(e),o=i.length;if(o>1)throw Error("Multiple root plist child tag: "+o);this.value=o?this.childFromXmlElement(i[0]):null,this.xmlDeclaration=t||"",this.xmlDoctype=r||"";}childFromXmlElement(e){return new lt().childFromXmlElement(e);}toXml(e=null){var t,r;let n=null!==(t=null==e?void 0:e.indentRoot)&&void 0!==t&&t,i=null!==(r=null==e?void 0:e.newlineString)&&void 0!==r?r:"\n",o=this.value;return[...[this.xmlDeclaration,this.xmlDoctype].filter(e=>e),'<plist version="1.0">',...(o?[o.toXml(e,n?1:0)]:[]),"</plist>",""].join(i);}}class lo{constructor(e=null){this.hdiutil=(e?e.hdiutil:null)||"hdiutil";}async attach(e,t=null,r=null){let n=await this._runAttach(this._argsAttach(e,t)),{eject:i,ejectSync:o}=this._createEjects(n);return{devices:n,eject:i,ejectSync:o};}attachSync(e,t=null,r=null){let n=this._runAttachSync(this._argsAttach(e,t)),{eject:i,ejectSync:o}=this._createEjects(n);return{devices:n,eject:i,ejectSync:o};}async eject(e,t=null){await this._runEject(this._argsEject(e,t));}ejectSync(e,t=null){this._runEjectSync(this._argsEject(e,t));}_argsAttach(e,t=null){let r=["attach","-plist"];return t&&(t.readonly&&r.push("-readonly"),t.nobrowse&&r.push("-nobrowse")),r.push(this._fileArg(e)),r;}_argsEject(e,t=null){let r=["eject"];return t&&t.force&&r.push("-force"),r.push(this._fileArg(e)),r;}async _runAttach(e){let t=[],r=(0,rh.spawn)(this.hdiutil,e);r.stdout.on("data",e=>{t.push(e);});let n=await new Promise((e,t)=>{r.once("exit",e),r.once("error",t);});if(n)throw Error("Attach failed: hdiutil exit code: "+n);return this._parseDevices(Buffer.concat(t).toString());}_runAttachSync(e){let{status:t,error:r,stdout:n}=(0,rh.spawnSync)(this.hdiutil,e);if(r)throw r;if(t)throw Error("Attach failed: hdiutil exit code: "+t);return this._parseDevices(n.toString());}async _runEject(e){let t=(0,rh.spawn)(this.hdiutil,e),r=await new Promise((e,r)=>{t.once("exit",e),t.once("error",r);});if(r)throw Error("Eject failed: hdiutil exit code: "+r);}_runEjectSync(e){let{status:t,error:r}=(0,rh.spawnSync)(this.hdiutil,e);if(r)throw r;if(t)throw Error("Eject failed: hdiutil exit code: "+t);}_fileArg(e){return e.startsWith("-")?"./"+e:e;}_parseDevices(e){let t=new li();t.fromXml(e);let r=t.valueCastAs(lt).getValue("system-entities").castAs(le),n=[];for(let e of r.value){let t=e.castAs(lt),r=t.getValue("dev-entry").castAs(s7).value,i=t.getValue("potentially-mountable").castAs(s5).value,o=t.get("content-hint"),a=t.get("unmapped-content-hint"),s=t.get("volume-kind"),l=t.get("mount-point"),u={devEntry:r,potentiallyMountable:i};o&&(u.contentHint=o.castAs(s7).value),a&&(u.unmappedContentHint=a.castAs(s7).value),s&&(u.volumeKind=s.castAs(s7).value),l&&(u.mountPoint=l.castAs(s7).value),n.push(u);}return n;}_findRootDevice(e){let t=null;for(let r of e)(null===t||t.devEntry.length>r.devEntry.length)&&(t=r);return t;}_createEjects(e,t=null){var r;let n=null===(r=this._findRootDevice(e))||void 0===r?void 0:r.devEntry,i=null,o={eject:async(e=null)=>{n&&(await this.eject(n,e),n="",i&&process.off("exit",i));},ejectSync:(e=null)=>{n&&(this.ejectSync(n,e),n="",i&&process.off("exit",i));}};return t&&(i=()=>{o.ejectSync(t);},process.once("exit",i)),o;}}nK=rI("lORAA"),nM=rI("6v1Be"),nC=rI("bHzmH"),rO=rI("hHq4F"),nx=rI("eAXk4"),rO=rI("hHq4F"),rR=rI("dAuy6"),nw=rI("6t4SD"),nQ=n6.resolve(__dirname,"../../src/gcc");const la={13:{releaseName:"13.2.0-16.0.6-11.0.0-ucrt-r1",fileSuffix:"13.2.0-mingw-w64ucrt-11.0.0-r1"},"13.2-ucrt":{releaseName:"13.2.0-16.0.6-11.0.0-ucrt-r1",fileSuffix:"13.2.0-mingw-w64ucrt-11.0.0-r1"},"13.2-ucrt-mcf":{releaseName:"13.2.0mcf-16.0.6-11.0.1-ucrt-r2",fileSuffix:"13.2.0-mingw-w64ucrt-11.0.1-r2"},"13.2-msvcrt":{releaseName:"13.2.0-16.0.6-11.0.1-msvcrt-r1",fileSuffix:"13.2.0-mingw-w64msvcrt-11.0.1-r1"},"13.1-ucrt":{releaseName:"13.1.0posix-16.0.3-11.0.0-ucrt-r1",fileSuffix:"13.1.0-mingw-w64ucrt-11.0.0-r1"},"13.1-msvcrt":{releaseName:"13.1.0posix-16.0.3-11.0.0-msvcrt-r1",fileSuffix:"13.1.0-mingw-w64msvcrt-11.0.0-r1"},12:{releaseName:"12.3.0-16.0.4-11.0.0-ucrt-r1",fileSuffix:"12.3.0-mingw-w64ucrt-11.0.0-r1"},"12.3.0-ucrt":{releaseName:"12.3.0-16.0.4-11.0.0-ucrt-r1",fileSuffix:"12.3.0-mingw-w64ucrt-11.0.0-r1"},"12.3.0-msvcrt":{releaseName:"12.3.0-16.0.4-11.0.0-msvcrt-r1",fileSuffix:"12.3.0-mingw-w64msvcrt-11.0.0-r1"},"12.2.0-ucrt":{releaseName:"12.2.0-14.0.6-10.0.0-ucrt-r2",fileSuffix:"12.2.0-mingw-w64ucrt-10.0.0-r2"},"12.2.0-msvcrt":{releaseName:"12.2.0-14.0.6-10.0.0-msvcrt-r2",fileSuffix:"12.2.0-mingw-w64msvcrt-10.0.0-r2"},"12.1.0-ucrt":{releaseName:"12.1.0-14.0.4-10.0.0-ucrt-r2",fileSuffix:"12.1.0-mingw-w64ucrt-10.0.0-r2"},"12.1.0-msvcrt":{releaseName:"12.1.0-14.0.6-10.0.0-msvcrt-r3",fileSuffix:"12.1.0-llvm-14.0.6-mingw-w64msvcrt-10.0.0-r3"},11:{releaseName:"11.3.0-14.0.3-10.0.0-ucrt-r3",fileSuffix:"11.3.0-mingw-w64ucrt-10.0.0-r3"},"11.3.0-ucrt":{releaseName:"11.3.0-14.0.3-10.0.0-ucrt-r3",fileSuffix:"11.3.0-mingw-w64ucrt-10.0.0-r3"},"11.3.0-msvcrt":{releaseName:"11.3.0-14.0.3-10.0.0-msvcrt-r3",fileSuffix:"11.3.0-mingw-w64msvcrt-10.0.0-r3"},"11.2.0-ucrt":{releaseName:"11.2.0-9.0.0-ucrt-r5",fileSuffix:"11.2.0-mingw-w64ucrt-9.0.0-r5"},"11.2.0-msvcrt":{releaseName:"11.2.0-9.0.0-msvcrt-r5",fileSuffix:"11.2.0-mingw-w64msvcrt-9.0.0-r5"},10:{releaseName:"10.5.0-11.0.1-msvcrt-r1",fileSuffix:"10.5.0-mingw-w64msvcrt-11.0.1-r1"},"10.5.0-msvcrt":{releaseName:"10.5.0-11.0.1-msvcrt-r1",fileSuffix:"10.5.0-mingw-w64msvcrt-11.0.1-r1"},"10.3.0":{releaseName:"10.3.0-12.0.0-9.0.0-r2",fileSuffix:"10.3.0-llvm-12.0.0-mingw-w64-9.0.0-r2"},"10.2.0":{releaseName:"10.2.0-7.0.0-r4",fileSuffix:"10.2.0-llvm-10.0.1-mingw-w64-7.0.0-r4"},9:{releaseName:"9.4.0-9.0.0-r1",fileSuffix:"9.4.0-mingw-w64-9.0.0-r1"},"9.4.0":{releaseName:"9.4.0-9.0.0-r1",fileSuffix:"9.4.0-mingw-w64-9.0.0-r1"}};nX=rI("2kZmC"),nK=rI("lORAA"),nx=rI("eAXk4"),rO=rI("hHq4F"),nx=rI("eAXk4"),nJ=n6.resolve(__dirname,"../../src/kcov"),rR=rI("dAuy6"),rO=rI("hHq4F"),nw=rI("6t4SD"),nx=rI("eAXk4"),ng=rI("1o3Gj"),rO=rI("hHq4F"),nx=rI("eAXk4"),ng=rI("1o3Gj");const ls=rb.env["ProgramFiles(x86)"],ll=[rb.env["ProgramFiles(x86)"],rb.env.ProgramFiles],lu=["Enterprise","Professional","Community","BuildTools"],lc=["2022","2019","2017"],lp={2022:"17.0",2019:"16.0",2017:"15.0",2015:"14.0",2013:"12.0"};nZ=tL;const ld=`${ls}\\Microsoft Visual Studio\\Installer`;n0=tP,n1=function(e,t,r,n,i,o){if("win32"!=rb.platform){ng.info("This is not a Windows virtual environment, bye!");return;}rb.env.PATH+=n6.delimiter+ld;let a={win32:"x86",win64:"x64",x86_64:"x64","x86-64":"x64"};e.toLowerCase()in a&&(e=a[e.toLowerCase()]);var s=[e];"true"==n&&s.push("uwp"),t&&s.push(t),r&&s.push("-vcvars_ver="+r),"true"==i&&s.push("-vcvars_spectre_libs=spectre");let l=`"${tP(o)}" ${s.join(" ")}`;ng.debug("vcvars command-line: "+l);let u=ru.execSync(`set && cls && ${l} && cls && set`,{shell:"cmd"}).toString().split("\f"),c=u[0].split("\r\n"),p=u[1].split("\r\n"),d=u[2].split("\r\n"),f=p.filter(e=>!!e.match(/^\[ERROR.*\]/)&&!e.match(/Error in script usage. The correct usage is:$/));if(f.length>0)throw Error("invalid parameters\r\n"+f.join("\r\n"));let h={};for(let e of c){let[t,r]=e.split("=");h[t]=r;}for(let e of(ng.startGroup("Environment variables"),d)){if(!e.includes("="))continue;let[t,r]=e.split("=");r!==h[t]&&(ng.info("Setting "+t),-1!=["PATH","INCLUDE","LIB","LIBPATH"].indexOf(t.toUpperCase())&&(r=r.split(";").filter(function(e,t,r){return r.indexOf(e)===t;}).join(";")),ng.exportVariable(t,r));}ng.endGroup(),ng.info("Configured Developer Command Prompt");},rO=rI("hHq4F"),nw=rI("6t4SD");class lf extends Error{constructor(e){super(e),this.name="TimeoutError";}}class lh extends Error{constructor(e){super(),this.name="AbortError",this.message=e;}}const lm=e=>void 0===globalThis.DOMException?new lh(e):new DOMException(e),lg=e=>{let t=void 0===e.reason?lm("This operation was aborted."):e.reason;return t instanceof Error?t:lm(t);},lv=12e5,{readFile:lE,writeFile:lw,chmod:ly}=n8.promises;(rn=n3||(n3={}))[rn.All=0]="All",rn[rn.ClangFormat=1]="ClangFormat",rn[rn.Core=2]="Core",nU=rI("hlfY9"),rO=rI("hHq4F"),nx=rI("eAXk4");const lb=function(e){let t=new Set(e);for(let r of e)t.add(/^\d+/.exec(r)[0]),t.add(/^\d+\.\d+/.exec(r)[0]);return t;}(["3.5.0","3.5.1","3.5.2","3.6.0","3.6.1","3.6.2","3.7.0","3.7.1","3.8.0","3.8.1","3.9.0","3.9.1","4.0.0","4.0.1","5.0.0","5.0.1","5.0.2","6.0.0","6.0.1","7.0.0","7.0.1","7.1.0","8.0.0","8.0.1","9.0.0","9.0.1","10.0.0","10.0.1","11.0.0","11.0.1","11.1.0","12.0.0","12.0.1","13.0.0","13.0.1","14.0.0","14.0.1","14.0.2","14.0.3","14.0.4","14.0.5","14.0.6","15.0.0","15.0.1","15.0.2","15.0.3","15.0.4","15.0.5","15.0.6","15.0.7","16.0.0","16.0.1","16.0.2","16.0.3","16.0.4","16.0.5","16.0.6","17.0.1","17.0.2","17.0.3","17.0.4","17.0.5","17.0.6"]),lx=new Set(["10.0.1","15.0.5","15.0.6","17.0.5"]),lD=new Set(["3.5.1","3.6.1","3.6.2","3.7.1","3.8.1","3.9.1","6.0.1","7.0.1","7.1.0","8.0.1","11.0.1","11.1.0","12.0.1","15.0.4","15.0.5","15.0.6","16.0.0","16.0.1","16.0.2","16.0.3","16.0.4","16.0.5","16.0.6","17.0.1","17.0.2","17.0.3","17.0.4","17.0.5","17.0.6"]),lS=new Map(),lT={"3.5.0":"-ubuntu-14.04","3.5.1":"","3.5.2":"-ubuntu-14.04","3.6.0":"-ubuntu-14.04","3.6.1":"-ubuntu-14.04","3.6.2":"-ubuntu-14.04","3.7.0":"-ubuntu-14.04","3.7.1":"-ubuntu-14.04","3.8.0":"-ubuntu-16.04","3.8.1":"-ubuntu-16.04","3.9.0":"-ubuntu-16.04","3.9.1":"-ubuntu-16.04","4.0.0":"-ubuntu-16.04","5.0.0":"-ubuntu16.04","5.0.1":"-ubuntu-16.04","5.0.2":"-ubuntu-16.04","6.0.0":"-ubuntu-16.04","6.0.1":"-ubuntu-16.04","7.0.0":"-ubuntu-16.04","7.0.1":"-ubuntu-18.04","7.1.0":"-ubuntu-14.04","8.0.0":"-ubuntu-18.04","9.0.0":"-ubuntu-18.04","9.0.1":"-ubuntu-16.04","10.0.0":"-ubuntu-18.04","10.0.1":"-ubuntu-16.04","11.0.0":"-ubuntu-20.04","11.0.1":"-ubuntu-16.04","11.1.0":"-ubuntu-16.04","12.0.0":"-ubuntu-20.04","12.0.1":"-ubuntu-16.04","13.0.0":"-ubuntu-20.04","13.0.0-ubuntu-16.04":"-ubuntu-16.04","13.0.0-ubuntu-20.04":"-ubuntu-20.04","13.0.1":"-ubuntu-18.04","13.0.1-ubuntu-18.04":"-ubuntu-18.04","14.0.0":"-ubuntu-18.04","15.0.2":"-rhel86","15.0.5":"-ubuntu-18.04","15.0.6":"-ubuntu-18.04","16.0.0":"-ubuntu-18.04","16.0.2":"-ubuntu-22.04","16.0.3":"-ubuntu-22.04","16.0.4":"-ubuntu-22.04","17.0.2":"-ubuntu-22.04","17.0.4":"-ubuntu-22.04","17.0.5":"-ubuntu-22.04","17.0.6":"-ubuntu-22.04"},lN="17.0.6";n2=n6.resolve(__dirname,"../../src/llvm");const lI=ek(tY,{isPromise:!0}),lA=ek(tK,{isPromise:!0}),lR=ek(tQ,{isPromise:!0});rR=rI("dAuy6"),nx=rI("eAXk4"),rO=rI("hHq4F"),nw=rI("6t4SD"),n4=n6.resolve(__dirname,"../../src/msvc"),nx=rI("eAXk4"),nx=rI("eAXk4"),rO=rI("hHq4F"),nw=rI("6t4SD"),nx=rI("eAXk4");let lO=!1;const lC={nala:t2,cmake:e_,ninja:tA,python:eG,vcpkg:t9,bazel:ep,conan:function(e,t,r){return e8("conan",e);},meson:function(e,t,r){return e8("meson",e);},gcovr:function(e,t,r){return e8("gcovr",e);},opencppcoverage:t4,llvm:tz,gcc:tx,choco:ei,brew:et,powershell:t6,ccache:function(e,t,r){switch(process.platform){case"win32":return eo("ccache",e);case"darwin":return en("ccache",e);case"linux":if(ea())return ed("ccache",e);if(es())return el([{name:"ccache",version:e}]);if(ec())return H([{name:"ccache",version:e}]);throw Error("Unsupported linux distribution");default:throw Error("Unsupported platform");}},sccache:function(e,t,r){switch(process.platform){case"win32":return eo("sccache",e);case"linux":case"darwin":return en("sccache",e);default:throw Error("Unsupported platform");}},doxygen:tE,graphviz:tl,cppcheck:ta,clangtidy:function(e,t,r){return tW(e,t,r);},clangformat:function(e,t,r){return tW(e,t,r,n3.ClangFormat);},msvc:t1,vcvarsall:tk,kcov:t$,make:t0,task:function(e,t,r){return eS("task",e,t8,t,r);},sevenzip:eT},l_=Object.keys(lC),l$=["compiler","architecture","timeout",...l_];ng=rI("1o3Gj"),rO=rI("hHq4F"),nX=rI("2kZmC"),rt(process.argv).then(e=>{process.exitCode=e;}).catch(e=>{(0,rO.error)("main() panicked!"),(0,rO.error)(e),process.exitCode=1;});
//# sourceMappingURL=setup-cpp.js.map