module.exports=(()=>{var e={898:function(e){(function(t,r){true?e.exports=r():0})(this,function(){"use strict";const e=/^[\w+.-]+:\/\//;const t=/^([\w+.-]+:)\/\/([^@/#?]*@)?([^:/#?]*)(:\d+)?(\/[^#?]*)?(\?[^#]*)?(#.*)?/;const r=/^file:(?:\/\/((?![a-z]:)[^/#?]*)?)?(\/?[^#?]*)(\?[^#]*)?(#.*)?/i;var s;(function(e){e[e["Empty"]=1]="Empty";e[e["Hash"]=2]="Hash";e[e["Query"]=3]="Query";e[e["RelativePath"]=4]="RelativePath";e[e["AbsolutePath"]=5]="AbsolutePath";e[e["SchemeRelative"]=6]="SchemeRelative";e[e["Absolute"]=7]="Absolute"})(s||(s={}));function isAbsoluteUrl(t){return e.test(t)}function isSchemeRelativeUrl(e){return e.startsWith("//")}function isAbsolutePath(e){return e.startsWith("/")}function isFileUrl(e){return e.startsWith("file:")}function isRelative(e){return/^[.?#]/.test(e)}function parseAbsoluteUrl(e){const r=t.exec(e);return makeUrl(r[1],r[2]||"",r[3],r[4]||"",r[5]||"/",r[6]||"",r[7]||"")}function parseFileUrl(e){const t=r.exec(e);const s=t[2];return makeUrl("file:","",t[1]||"","",isAbsolutePath(s)?s:"/"+s,t[3]||"",t[4]||"")}function makeUrl(e,t,r,a,n,i,u){return{scheme:e,user:t,host:r,port:a,path:n,query:i,hash:u,type:s.Absolute}}function parseUrl(e){if(isSchemeRelativeUrl(e)){const t=parseAbsoluteUrl("http:"+e);t.scheme="";t.type=s.SchemeRelative;return t}if(isAbsolutePath(e)){const t=parseAbsoluteUrl("http://foo.com"+e);t.scheme="";t.host="";t.type=s.AbsolutePath;return t}if(isFileUrl(e))return parseFileUrl(e);if(isAbsoluteUrl(e))return parseAbsoluteUrl(e);const t=parseAbsoluteUrl("http://foo.com/"+e);t.scheme="";t.host="";t.type=e?e.startsWith("?")?s.Query:e.startsWith("#")?s.Hash:s.RelativePath:s.Empty;return t}function stripPathFilename(e){if(e.endsWith("/.."))return e;const t=e.lastIndexOf("/");return e.slice(0,t+1)}function mergePaths(e,t){normalizePath(t,t.type);if(e.path==="/"){e.path=t.path}else{e.path=stripPathFilename(t.path)+e.path}}function normalizePath(e,t){const r=t<=s.RelativePath;const a=e.path.split("/");let n=1;let i=0;let u=false;for(let e=1;e<a.length;e++){const t=a[e];if(!t){u=true;continue}u=false;if(t===".")continue;if(t===".."){if(i){u=true;i--;n--}else if(r){a[n++]=t}continue}a[n++]=t;i++}let l="";for(let e=1;e<n;e++){l+="/"+a[e]}if(!l||u&&!l.endsWith("/..")){l+="/"}e.path=l}function resolve(e,t){if(!e&&!t)return"";const r=parseUrl(e);let a=r.type;if(t&&a!==s.Absolute){const e=parseUrl(t);const n=e.type;switch(a){case s.Empty:r.hash=e.hash;case s.Hash:r.query=e.query;case s.Query:case s.RelativePath:mergePaths(r,e);case s.AbsolutePath:r.user=e.user;r.host=e.host;r.port=e.port;case s.SchemeRelative:r.scheme=e.scheme}if(n>a)a=n}normalizePath(r,a);const n=r.query+r.hash;switch(a){case s.Hash:case s.Query:return n;case s.RelativePath:{const s=r.path.slice(1);if(!s)return n||".";if(isRelative(t||e)&&!isRelative(s)){return"./"+s+n}return s+n}case s.AbsolutePath:return r.path+n;default:return r.scheme+"//"+r.user+r.host+r.port+r.path+n}}return resolve})}};var t={};function __nccwpck_require__(r){if(t[r]){return t[r].exports}var s=t[r]={exports:{}};var a=true;try{e[r].call(s.exports,s,s.exports,__nccwpck_require__);a=false}finally{if(a)delete t[r]}return s.exports}__nccwpck_require__.ab=__dirname+"/";return __nccwpck_require__(898)})();