aboutsummaryrefslogtreecommitdiff
path: root/src/js/out/modules_dev/node/url.js.map
diff options
context:
space:
mode:
Diffstat (limited to 'src/js/out/modules_dev/node/url.js.map')
-rw-r--r--src/js/out/modules_dev/node/url.js.map11
1 files changed, 0 insertions, 11 deletions
diff --git a/src/js/out/modules_dev/node/url.js.map b/src/js/out/modules_dev/node/url.js.map
deleted file mode 100644
index d4398432a..000000000
--- a/src/js/out/modules_dev/node/url.js.map
+++ /dev/null
@@ -1,11 +0,0 @@
-{
- "version": 3,
- "sources": ["src/js/node/url.js", "src/js/node/url.js"],
- "sourcesContent": [
- "// Hardcoded module \"node:url\"\n\"use strict\";\nconst { URL: F, URLSearchParams: M, [Symbol.for(\"Bun.lazy\")]: S } = globalThis;\nfunction it(s) {\n return typeof s == \"string\";\n}\nfunction D(s) {\n return typeof s == \"object\" && s !== null;\n}\nfunction I(s) {\n return s === null;\n}\nfunction E(s) {\n return s == null;\n}\nfunction ft(s) {\n return s === void 0;\n}\nfunction m() {\n (this.protocol = null),\n (this.slashes = null),\n (this.auth = null),\n (this.host = null),\n (this.port = null),\n (this.hostname = null),\n (this.hash = null),\n (this.search = null),\n (this.query = null),\n (this.pathname = null),\n (this.path = null),\n (this.href = null);\n}\nvar tt = /^([a-z0-9.+-]+:)/i,\n st = /:[0-9]*$/,\n ht = /^(\\/\\/?(?!\\/)[^\\?\\s]*)(\\?[^\\s]*)?$/,\n et = [\n \"<\",\n \">\",\n '\"',\n \"`\",\n \" \",\n \"\\r\",\n `\n`,\n \"\t\",\n ],\n rt = [\"{\", \"}\", \"|\", \"\\\\\", \"^\", \"`\"].concat(et),\n B = [\"'\"].concat(rt),\n G = [\"%\", \"/\", \"?\", \";\", \"#\"].concat(B),\n J = [\"/\", \"?\", \"#\"],\n ot = 255,\n K = /^[+a-z0-9A-Z_-]{0,63}$/,\n at = /^([+a-z0-9A-Z_-]{0,63})(.*)$/,\n nt = { javascript: !0, \"javascript:\": !0 },\n N = { javascript: !0, \"javascript:\": !0 },\n R = {\n http: !0,\n https: !0,\n ftp: !0,\n gopher: !0,\n file: !0,\n \"http:\": !0,\n \"https:\": !0,\n \"ftp:\": !0,\n \"gopher:\": !0,\n \"file:\": !0,\n },\n Z = {\n parse(s) {\n var r = decodeURIComponent;\n return (s + \"\")\n .replace(/\\+/g, \" \")\n .split(\"&\")\n .filter(Boolean)\n .reduce(function (t, o, a) {\n var l = o.split(\"=\"),\n f = r(l[0] || \"\"),\n h = r(l[1] || \"\"),\n g = t[f];\n return (t[f] = g === void 0 ? h : [].concat(g, h)), t;\n }, {});\n },\n stringify(s) {\n var r = encodeURIComponent;\n return Object.keys(s || {})\n .reduce(function (t, o) {\n return (\n [].concat(s[o]).forEach(function (a) {\n t.push(r(o) + \"=\" + r(a));\n }),\n t\n );\n }, [])\n .join(\"&\")\n .replace(/\\s/g, \"+\");\n },\n };\nfunction A(s, r, t) {\n if (s && D(s) && s instanceof m) return s;\n var o = new m();\n return o.parse(s, r, t), o;\n}\nm.prototype.parse = function (s, r, t) {\n if (!it(s)) throw new TypeError(\"Parameter 'url' must be a string, not \" + typeof s);\n var o = s.indexOf(\"?\"),\n a = o !== -1 && o < s.indexOf(\"#\") ? \"?\" : \"#\",\n l = s.split(a),\n f = /\\\\/g;\n (l[0] = l[0].replace(f, \"/\")), (s = l.join(a));\n var h = s;\n if (((h = h.trim()), !t && s.split(\"#\").length === 1)) {\n var g = ht.exec(h);\n if (g)\n return (\n (this.path = h),\n (this.href = h),\n (this.pathname = g[1]),\n g[2]\n ? ((this.search = g[2]),\n r ? (this.query = Z.parse(this.search.substr(1))) : (this.query = this.search.substr(1)))\n : r && ((this.search = \"\"), (this.query = {})),\n this\n );\n }\n var c = tt.exec(h);\n if (c) {\n c = c[0];\n var v = c.toLowerCase();\n (this.protocol = v), (h = h.substr(c.length));\n }\n if (t || c || h.match(/^\\/\\/[^@\\/]+@[^@\\/]+/)) {\n var j = h.substr(0, 2) === \"//\";\n j && !(c && N[c]) && ((h = h.substr(2)), (this.slashes = !0));\n }\n if (!N[c] && (j || (c && !R[c]))) {\n for (var u = -1, n = 0; n < J.length; n++) {\n var b = h.indexOf(J[n]);\n b !== -1 && (u === -1 || b < u) && (u = b);\n }\n var P, p;\n u === -1 ? (p = h.lastIndexOf(\"@\")) : (p = h.lastIndexOf(\"@\", u)),\n p !== -1 && ((P = h.slice(0, p)), (h = h.slice(p + 1)), (this.auth = decodeURIComponent(P))),\n (u = -1);\n for (var n = 0; n < G.length; n++) {\n var b = h.indexOf(G[n]);\n b !== -1 && (u === -1 || b < u) && (u = b);\n }\n u === -1 && (u = h.length),\n (this.host = h.slice(0, u)),\n (h = h.slice(u)),\n this.parseHost(),\n (this.hostname = this.hostname || \"\");\n var C = this.hostname[0] === \"[\" && this.hostname[this.hostname.length - 1] === \"]\";\n if (!C)\n for (var e = this.hostname.split(/\\./), n = 0, i = e.length; n < i; n++) {\n var d = e[n];\n if (!!d && !d.match(K)) {\n for (var y = \"\", x = 0, _ = d.length; x < _; x++) d.charCodeAt(x) > 127 ? (y += \"x\") : (y += d[x]);\n if (!y.match(K)) {\n var q = e.slice(0, n),\n O = e.slice(n + 1),\n U = d.match(at);\n U && (q.push(U[1]), O.unshift(U[2])),\n O.length && (h = \"/\" + O.join(\".\") + h),\n (this.hostname = q.join(\".\"));\n break;\n }\n }\n }\n this.hostname.length > ot ? (this.hostname = \"\") : (this.hostname = this.hostname.toLowerCase()),\n C || (this.hostname = new F(`https://${this.hostname}`).hostname);\n var w = this.port ? \":\" + this.port : \"\",\n H = this.hostname || \"\";\n (this.host = H + w),\n (this.href += this.host),\n C && ((this.hostname = this.hostname.substr(1, this.hostname.length - 2)), h[0] !== \"/\" && (h = \"/\" + h));\n }\n if (!nt[v])\n for (var n = 0, i = B.length; n < i; n++) {\n var L = B[n];\n if (h.indexOf(L) !== -1) {\n var z = encodeURIComponent(L);\n z === L && (z = escape(L)), (h = h.split(L).join(z));\n }\n }\n var $ = h.indexOf(\"#\");\n $ !== -1 && ((this.hash = h.substr($)), (h = h.slice(0, $)));\n var T = h.indexOf(\"?\");\n if (\n (T !== -1\n ? ((this.search = h.substr(T)),\n (this.query = h.substr(T + 1)),\n r && (this.query = Z.parse(this.query)),\n (h = h.slice(0, T)))\n : r && ((this.search = \"\"), (this.query = {})),\n h && (this.pathname = h),\n R[v] && this.hostname && !this.pathname && (this.pathname = \"/\"),\n this.pathname || this.search)\n ) {\n var w = this.pathname || \"\",\n Q = this.search || \"\";\n this.path = w + Q;\n }\n return (this.href = this.format()), this;\n};\nfunction V(s) {\n return it(s) && (s = A(s)), s instanceof m ? s.format() : m.prototype.format.call(s);\n}\nm.prototype.format = function () {\n var s = this.auth || \"\";\n s && ((s = encodeURIComponent(s)), (s = s.replace(/%3A/i, \":\")), (s += \"@\"));\n var r = this.protocol || \"\",\n t = this.pathname || \"\",\n o = this.hash || \"\",\n a = !1,\n l = \"\";\n this.host\n ? (a = s + this.host)\n : this.hostname &&\n ((a = s + (this.hostname.indexOf(\":\") === -1 ? this.hostname : \"[\" + this.hostname + \"]\")),\n this.port && (a += \":\" + this.port)),\n this.query && D(this.query) && Object.keys(this.query).length && (l = Z.stringify(this.query));\n var f = this.search || (l && \"?\" + l) || \"\";\n return (\n r && r.substr(-1) !== \":\" && (r += \":\"),\n this.slashes || ((!r || R[r]) && a !== !1)\n ? ((a = \"//\" + (a || \"\")), t && t.charAt(0) !== \"/\" && (t = \"/\" + t))\n : a || (a = \"\"),\n o && o.charAt(0) !== \"#\" && (o = \"#\" + o),\n f && f.charAt(0) !== \"?\" && (f = \"?\" + f),\n (t = t.replace(/[?#]/g, function (h) {\n return encodeURIComponent(h);\n })),\n (f = f.replace(\"#\", \"%23\")),\n r + a + t + f + o\n );\n};\nfunction W(s, r) {\n return A(s, !1, !0).resolve(r);\n}\nm.prototype.resolve = function (s) {\n return this.resolveObject(A(s, !1, !0)).format();\n};\nfunction X(s, r) {\n return s ? A(s, !1, !0).resolveObject(r) : r;\n}\n(m.prototype.resolveObject = function (s) {\n if (it(s)) {\n var r = new m();\n r.parse(s, !1, !0), (s = r);\n }\n for (var t = new m(), o = Object.keys(this), a = 0; a < o.length; a++) {\n var l = o[a];\n t[l] = this[l];\n }\n if (((t.hash = s.hash), s.href === \"\")) return (t.href = t.format()), t;\n if (s.slashes && !s.protocol) {\n for (var f = Object.keys(s), h = 0; h < f.length; h++) {\n var g = f[h];\n g !== \"protocol\" && (t[g] = s[g]);\n }\n return R[t.protocol] && t.hostname && !t.pathname && (t.path = t.pathname = \"/\"), (t.href = t.format()), t;\n }\n if (s.protocol && s.protocol !== t.protocol) {\n if (!R[s.protocol]) {\n for (var c = Object.keys(s), v = 0; v < c.length; v++) {\n var j = c[v];\n t[j] = s[j];\n }\n return (t.href = t.format()), t;\n }\n if (((t.protocol = s.protocol), !s.host && !N[s.protocol])) {\n for (var i = (s.pathname || \"\").split(\"/\"); i.length && !(s.host = i.shift()); );\n s.host || (s.host = \"\"),\n s.hostname || (s.hostname = \"\"),\n i[0] !== \"\" && i.unshift(\"\"),\n i.length < 2 && i.unshift(\"\"),\n (t.pathname = i.join(\"/\"));\n } else t.pathname = s.pathname;\n if (\n ((t.search = s.search),\n (t.query = s.query),\n (t.host = s.host || \"\"),\n (t.auth = s.auth),\n (t.hostname = s.hostname || s.host),\n (t.port = s.port),\n t.pathname || t.search)\n ) {\n var u = t.pathname || \"\",\n n = t.search || \"\";\n t.path = u + n;\n }\n return (t.slashes = t.slashes || s.slashes), (t.href = t.format()), t;\n }\n var b = t.pathname && t.pathname.charAt(0) === \"/\",\n P = s.host || (s.pathname && s.pathname.charAt(0) === \"/\"),\n p = P || b || (t.host && s.pathname),\n C = p,\n e = (t.pathname && t.pathname.split(\"/\")) || [],\n i = (s.pathname && s.pathname.split(\"/\")) || [],\n d = t.protocol && !R[t.protocol];\n if (\n (d &&\n ((t.hostname = \"\"),\n (t.port = null),\n t.host && (e[0] === \"\" ? (e[0] = t.host) : e.unshift(t.host)),\n (t.host = \"\"),\n s.protocol &&\n ((s.hostname = null),\n (s.port = null),\n s.host && (i[0] === \"\" ? (i[0] = s.host) : i.unshift(s.host)),\n (s.host = null)),\n (p = p && (i[0] === \"\" || e[0] === \"\"))),\n P)\n )\n (t.host = s.host || s.host === \"\" ? s.host : t.host),\n (t.hostname = s.hostname || s.hostname === \"\" ? s.hostname : t.hostname),\n (t.search = s.search),\n (t.query = s.query),\n (e = i);\n else if (i.length) e || (e = []), e.pop(), (e = e.concat(i)), (t.search = s.search), (t.query = s.query);\n else if (!E(s.search)) {\n if (d) {\n t.hostname = t.host = e.shift();\n var y = t.host && t.host.indexOf(\"@\") > 0 ? t.host.split(\"@\") : !1;\n y && ((t.auth = y.shift()), (t.host = t.hostname = y.shift()));\n }\n return (\n (t.search = s.search),\n (t.query = s.query),\n (!I(t.pathname) || !I(t.search)) && (t.path = (t.pathname ? t.pathname : \"\") + (t.search ? t.search : \"\")),\n (t.href = t.format()),\n t\n );\n }\n if (!e.length)\n return (t.pathname = null), t.search ? (t.path = \"/\" + t.search) : (t.path = null), (t.href = t.format()), t;\n for (\n var x = e.slice(-1)[0],\n _ = ((t.host || s.host || e.length > 1) && (x === \".\" || x === \"..\")) || x === \"\",\n q = 0,\n O = e.length;\n O >= 0;\n O--\n )\n (x = e[O]), x === \".\" ? e.splice(O, 1) : x === \"..\" ? (e.splice(O, 1), q++) : q && (e.splice(O, 1), q--);\n if (!p && !C) for (; q--; q) e.unshift(\"..\");\n p && e[0] !== \"\" && (!e[0] || e[0].charAt(0) !== \"/\") && e.unshift(\"\"),\n _ && e.join(\"/\").substr(-1) !== \"/\" && e.push(\"\");\n var U = e[0] === \"\" || (e[0] && e[0].charAt(0) === \"/\");\n if (d) {\n t.hostname = t.host = U ? \"\" : e.length ? e.shift() : \"\";\n var y = t.host && t.host.indexOf(\"@\") > 0 ? t.host.split(\"@\") : !1;\n y && ((t.auth = y.shift()), (t.host = t.hostname = y.shift()));\n }\n return (\n (p = p || (t.host && e.length)),\n p && !U && e.unshift(\"\"),\n e.length ? (t.pathname = e.join(\"/\")) : ((t.pathname = null), (t.path = null)),\n (!I(t.pathname) || !I(t.search)) && (t.path = (t.pathname ? t.pathname : \"\") + (t.search ? t.search : \"\")),\n (t.auth = s.auth || t.auth),\n (t.slashes = t.slashes || s.slashes),\n (t.href = t.format()),\n t\n );\n}),\n (m.prototype.parseHost = function () {\n var s = this.host,\n r = st.exec(s);\n r && ((r = r[0]), r !== \":\" && (this.port = r.substr(1)), (s = s.substr(0, s.length - r.length))),\n s && (this.hostname = s);\n });\nvar Y, k;\nS && ((Y = S(\"pathToFileURL\")), (k = S(\"fileURLToPath\")));\nvar ut = {\n parse: A,\n resolve: W,\n resolveObject: X,\n format: V,\n Url: m,\n pathToFileURL: Y,\n fileURLToPath: k,\n URL: F,\n URLSearchParams: M,\n};\n(\"use strict\");\nexport {\n F as URL,\n M as URLSearchParams,\n m as Url,\n ut as default,\n k as fileURLToPath,\n V as format,\n A as parse,\n Y as pathToFileURL,\n W as resolve,\n X as resolveObject,\n};\n",
- "// Hardcoded module \"node:url\"\n\"use strict\";\nconst { URL: F, URLSearchParams: M, [Symbol.for(\"Bun.lazy\")]: S } = globalThis;\nfunction it(s) {\n return typeof s == \"string\";\n}\nfunction D(s) {\n return typeof s == \"object\" && s !== null;\n}\nfunction I(s) {\n return s === null;\n}\nfunction E(s) {\n return s == null;\n}\nfunction ft(s) {\n return s === void 0;\n}\nfunction m() {\n (this.protocol = null),\n (this.slashes = null),\n (this.auth = null),\n (this.host = null),\n (this.port = null),\n (this.hostname = null),\n (this.hash = null),\n (this.search = null),\n (this.query = null),\n (this.pathname = null),\n (this.path = null),\n (this.href = null);\n}\nvar tt = /^([a-z0-9.+-]+:)/i,\n st = /:[0-9]*$/,\n ht = /^(\\/\\/?(?!\\/)[^\\?\\s]*)(\\?[^\\s]*)?$/,\n et = [\n \"<\",\n \">\",\n '\"',\n \"`\",\n \" \",\n \"\\r\",\n `\n`,\n \"\t\",\n ],\n rt = [\"{\", \"}\", \"|\", \"\\\\\", \"^\", \"`\"].concat(et),\n B = [\"'\"].concat(rt),\n G = [\"%\", \"/\", \"?\", \";\", \"#\"].concat(B),\n J = [\"/\", \"?\", \"#\"],\n ot = 255,\n K = /^[+a-z0-9A-Z_-]{0,63}$/,\n at = /^([+a-z0-9A-Z_-]{0,63})(.*)$/,\n nt = { javascript: !0, \"javascript:\": !0 },\n N = { javascript: !0, \"javascript:\": !0 },\n R = {\n http: !0,\n https: !0,\n ftp: !0,\n gopher: !0,\n file: !0,\n \"http:\": !0,\n \"https:\": !0,\n \"ftp:\": !0,\n \"gopher:\": !0,\n \"file:\": !0,\n },\n Z = {\n parse(s) {\n var r = decodeURIComponent;\n return (s + \"\")\n .replace(/\\+/g, \" \")\n .split(\"&\")\n .filter(Boolean)\n .reduce(function (t, o, a) {\n var l = o.split(\"=\"),\n f = r(l[0] || \"\"),\n h = r(l[1] || \"\"),\n g = t[f];\n return (t[f] = g === void 0 ? h : [].concat(g, h)), t;\n }, {});\n },\n stringify(s) {\n var r = encodeURIComponent;\n return Object.keys(s || {})\n .reduce(function (t, o) {\n return (\n [].concat(s[o]).forEach(function (a) {\n t.push(r(o) + \"=\" + r(a));\n }),\n t\n );\n }, [])\n .join(\"&\")\n .replace(/\\s/g, \"+\");\n },\n };\nfunction A(s, r, t) {\n if (s && D(s) && s instanceof m) return s;\n var o = new m();\n return o.parse(s, r, t), o;\n}\nm.prototype.parse = function (s, r, t) {\n if (!it(s)) throw new TypeError(\"Parameter 'url' must be a string, not \" + typeof s);\n var o = s.indexOf(\"?\"),\n a = o !== -1 && o < s.indexOf(\"#\") ? \"?\" : \"#\",\n l = s.split(a),\n f = /\\\\/g;\n (l[0] = l[0].replace(f, \"/\")), (s = l.join(a));\n var h = s;\n if (((h = h.trim()), !t && s.split(\"#\").length === 1)) {\n var g = ht.exec(h);\n if (g)\n return (\n (this.path = h),\n (this.href = h),\n (this.pathname = g[1]),\n g[2]\n ? ((this.search = g[2]),\n r ? (this.query = Z.parse(this.search.substr(1))) : (this.query = this.search.substr(1)))\n : r && ((this.search = \"\"), (this.query = {})),\n this\n );\n }\n var c = tt.exec(h);\n if (c) {\n c = c[0];\n var v = c.toLowerCase();\n (this.protocol = v), (h = h.substr(c.length));\n }\n if (t || c || h.match(/^\\/\\/[^@\\/]+@[^@\\/]+/)) {\n var j = h.substr(0, 2) === \"//\";\n j && !(c && N[c]) && ((h = h.substr(2)), (this.slashes = !0));\n }\n if (!N[c] && (j || (c && !R[c]))) {\n for (var u = -1, n = 0; n < J.length; n++) {\n var b = h.indexOf(J[n]);\n b !== -1 && (u === -1 || b < u) && (u = b);\n }\n var P, p;\n u === -1 ? (p = h.lastIndexOf(\"@\")) : (p = h.lastIndexOf(\"@\", u)),\n p !== -1 && ((P = h.slice(0, p)), (h = h.slice(p + 1)), (this.auth = decodeURIComponent(P))),\n (u = -1);\n for (var n = 0; n < G.length; n++) {\n var b = h.indexOf(G[n]);\n b !== -1 && (u === -1 || b < u) && (u = b);\n }\n u === -1 && (u = h.length),\n (this.host = h.slice(0, u)),\n (h = h.slice(u)),\n this.parseHost(),\n (this.hostname = this.hostname || \"\");\n var C = this.hostname[0] === \"[\" && this.hostname[this.hostname.length - 1] === \"]\";\n if (!C)\n for (var e = this.hostname.split(/\\./), n = 0, i = e.length; n < i; n++) {\n var d = e[n];\n if (!!d && !d.match(K)) {\n for (var y = \"\", x = 0, _ = d.length; x < _; x++) d.charCodeAt(x) > 127 ? (y += \"x\") : (y += d[x]);\n if (!y.match(K)) {\n var q = e.slice(0, n),\n O = e.slice(n + 1),\n U = d.match(at);\n U && (q.push(U[1]), O.unshift(U[2])),\n O.length && (h = \"/\" + O.join(\".\") + h),\n (this.hostname = q.join(\".\"));\n break;\n }\n }\n }\n this.hostname.length > ot ? (this.hostname = \"\") : (this.hostname = this.hostname.toLowerCase()),\n C || (this.hostname = new F(`https://${this.hostname}`).hostname);\n var w = this.port ? \":\" + this.port : \"\",\n H = this.hostname || \"\";\n (this.host = H + w),\n (this.href += this.host),\n C && ((this.hostname = this.hostname.substr(1, this.hostname.length - 2)), h[0] !== \"/\" && (h = \"/\" + h));\n }\n if (!nt[v])\n for (var n = 0, i = B.length; n < i; n++) {\n var L = B[n];\n if (h.indexOf(L) !== -1) {\n var z = encodeURIComponent(L);\n z === L && (z = escape(L)), (h = h.split(L).join(z));\n }\n }\n var $ = h.indexOf(\"#\");\n $ !== -1 && ((this.hash = h.substr($)), (h = h.slice(0, $)));\n var T = h.indexOf(\"?\");\n if (\n (T !== -1\n ? ((this.search = h.substr(T)),\n (this.query = h.substr(T + 1)),\n r && (this.query = Z.parse(this.query)),\n (h = h.slice(0, T)))\n : r && ((this.search = \"\"), (this.query = {})),\n h && (this.pathname = h),\n R[v] && this.hostname && !this.pathname && (this.pathname = \"/\"),\n this.pathname || this.search)\n ) {\n var w = this.pathname || \"\",\n Q = this.search || \"\";\n this.path = w + Q;\n }\n return (this.href = this.format()), this;\n};\nfunction V(s) {\n return it(s) && (s = A(s)), s instanceof m ? s.format() : m.prototype.format.call(s);\n}\nm.prototype.format = function () {\n var s = this.auth || \"\";\n s && ((s = encodeURIComponent(s)), (s = s.replace(/%3A/i, \":\")), (s += \"@\"));\n var r = this.protocol || \"\",\n t = this.pathname || \"\",\n o = this.hash || \"\",\n a = !1,\n l = \"\";\n this.host\n ? (a = s + this.host)\n : this.hostname &&\n ((a = s + (this.hostname.indexOf(\":\") === -1 ? this.hostname : \"[\" + this.hostname + \"]\")),\n this.port && (a += \":\" + this.port)),\n this.query && D(this.query) && Object.keys(this.query).length && (l = Z.stringify(this.query));\n var f = this.search || (l && \"?\" + l) || \"\";\n return (\n r && r.substr(-1) !== \":\" && (r += \":\"),\n this.slashes || ((!r || R[r]) && a !== !1)\n ? ((a = \"//\" + (a || \"\")), t && t.charAt(0) !== \"/\" && (t = \"/\" + t))\n : a || (a = \"\"),\n o && o.charAt(0) !== \"#\" && (o = \"#\" + o),\n f && f.charAt(0) !== \"?\" && (f = \"?\" + f),\n (t = t.replace(/[?#]/g, function (h) {\n return encodeURIComponent(h);\n })),\n (f = f.replace(\"#\", \"%23\")),\n r + a + t + f + o\n );\n};\nfunction W(s, r) {\n return A(s, !1, !0).resolve(r);\n}\nm.prototype.resolve = function (s) {\n return this.resolveObject(A(s, !1, !0)).format();\n};\nfunction X(s, r) {\n return s ? A(s, !1, !0).resolveObject(r) : r;\n}\n(m.prototype.resolveObject = function (s) {\n if (it(s)) {\n var r = new m();\n r.parse(s, !1, !0), (s = r);\n }\n for (var t = new m(), o = Object.keys(this), a = 0; a < o.length; a++) {\n var l = o[a];\n t[l] = this[l];\n }\n if (((t.hash = s.hash), s.href === \"\")) return (t.href = t.format()), t;\n if (s.slashes && !s.protocol) {\n for (var f = Object.keys(s), h = 0; h < f.length; h++) {\n var g = f[h];\n g !== \"protocol\" && (t[g] = s[g]);\n }\n return R[t.protocol] && t.hostname && !t.pathname && (t.path = t.pathname = \"/\"), (t.href = t.format()), t;\n }\n if (s.protocol && s.protocol !== t.protocol) {\n if (!R[s.protocol]) {\n for (var c = Object.keys(s), v = 0; v < c.length; v++) {\n var j = c[v];\n t[j] = s[j];\n }\n return (t.href = t.format()), t;\n }\n if (((t.protocol = s.protocol), !s.host && !N[s.protocol])) {\n for (var i = (s.pathname || \"\").split(\"/\"); i.length && !(s.host = i.shift()); );\n s.host || (s.host = \"\"),\n s.hostname || (s.hostname = \"\"),\n i[0] !== \"\" && i.unshift(\"\"),\n i.length < 2 && i.unshift(\"\"),\n (t.pathname = i.join(\"/\"));\n } else t.pathname = s.pathname;\n if (\n ((t.search = s.search),\n (t.query = s.query),\n (t.host = s.host || \"\"),\n (t.auth = s.auth),\n (t.hostname = s.hostname || s.host),\n (t.port = s.port),\n t.pathname || t.search)\n ) {\n var u = t.pathname || \"\",\n n = t.search || \"\";\n t.path = u + n;\n }\n return (t.slashes = t.slashes || s.slashes), (t.href = t.format()), t;\n }\n var b = t.pathname && t.pathname.charAt(0) === \"/\",\n P = s.host || (s.pathname && s.pathname.charAt(0) === \"/\"),\n p = P || b || (t.host && s.pathname),\n C = p,\n e = (t.pathname && t.pathname.split(\"/\")) || [],\n i = (s.pathname && s.pathname.split(\"/\")) || [],\n d = t.protocol && !R[t.protocol];\n if (\n (d &&\n ((t.hostname = \"\"),\n (t.port = null),\n t.host && (e[0] === \"\" ? (e[0] = t.host) : e.unshift(t.host)),\n (t.host = \"\"),\n s.protocol &&\n ((s.hostname = null),\n (s.port = null),\n s.host && (i[0] === \"\" ? (i[0] = s.host) : i.unshift(s.host)),\n (s.host = null)),\n (p = p && (i[0] === \"\" || e[0] === \"\"))),\n P)\n )\n (t.host = s.host || s.host === \"\" ? s.host : t.host),\n (t.hostname = s.hostname || s.hostname === \"\" ? s.hostname : t.hostname),\n (t.search = s.search),\n (t.query = s.query),\n (e = i);\n else if (i.length) e || (e = []), e.pop(), (e = e.concat(i)), (t.search = s.search), (t.query = s.query);\n else if (!E(s.search)) {\n if (d) {\n t.hostname = t.host = e.shift();\n var y = t.host && t.host.indexOf(\"@\") > 0 ? t.host.split(\"@\") : !1;\n y && ((t.auth = y.shift()), (t.host = t.hostname = y.shift()));\n }\n return (\n (t.search = s.search),\n (t.query = s.query),\n (!I(t.pathname) || !I(t.search)) && (t.path = (t.pathname ? t.pathname : \"\") + (t.search ? t.search : \"\")),\n (t.href = t.format()),\n t\n );\n }\n if (!e.length)\n return (t.pathname = null), t.search ? (t.path = \"/\" + t.search) : (t.path = null), (t.href = t.format()), t;\n for (\n var x = e.slice(-1)[0],\n _ = ((t.host || s.host || e.length > 1) && (x === \".\" || x === \"..\")) || x === \"\",\n q = 0,\n O = e.length;\n O >= 0;\n O--\n )\n (x = e[O]), x === \".\" ? e.splice(O, 1) : x === \"..\" ? (e.splice(O, 1), q++) : q && (e.splice(O, 1), q--);\n if (!p && !C) for (; q--; q) e.unshift(\"..\");\n p && e[0] !== \"\" && (!e[0] || e[0].charAt(0) !== \"/\") && e.unshift(\"\"),\n _ && e.join(\"/\").substr(-1) !== \"/\" && e.push(\"\");\n var U = e[0] === \"\" || (e[0] && e[0].charAt(0) === \"/\");\n if (d) {\n t.hostname = t.host = U ? \"\" : e.length ? e.shift() : \"\";\n var y = t.host && t.host.indexOf(\"@\") > 0 ? t.host.split(\"@\") : !1;\n y && ((t.auth = y.shift()), (t.host = t.hostname = y.shift()));\n }\n return (\n (p = p || (t.host && e.length)),\n p && !U && e.unshift(\"\"),\n e.length ? (t.pathname = e.join(\"/\")) : ((t.pathname = null), (t.path = null)),\n (!I(t.pathname) || !I(t.search)) && (t.path = (t.pathname ? t.pathname : \"\") + (t.search ? t.search : \"\")),\n (t.auth = s.auth || t.auth),\n (t.slashes = t.slashes || s.slashes),\n (t.href = t.format()),\n t\n );\n}),\n (m.prototype.parseHost = function () {\n var s = this.host,\n r = st.exec(s);\n r && ((r = r[0]), r !== \":\" && (this.port = r.substr(1)), (s = s.substr(0, s.length - r.length))),\n s && (this.hostname = s);\n });\nvar Y, k;\nS && ((Y = S(\"pathToFileURL\")), (k = S(\"fileURLToPath\")));\nvar ut = {\n parse: A,\n resolve: W,\n resolveObject: X,\n format: V,\n Url: m,\n pathToFileURL: Y,\n fileURLToPath: k,\n URL: F,\n URLSearchParams: M,\n};\n(\"use strict\");\nexport {\n F as URL,\n M as URLSearchParams,\n m as Url,\n ut as default,\n k as fileURLToPath,\n V as format,\n A as parse,\n Y as pathToFileURL,\n W as resolve,\n X as resolveObject,\n};\n"
- ],
- "mappings": ";;A//////DAGA,IAAS,aAAE,CAAC,GAAG;AACb,gBAAc,KAAK;AAAA,GAEZ,YAAC,CAAC,GAAG;AACZ,gBAAc,KAAK,YAAY,MAAM;AAAA,GAE9B,YAAC,CAAC,GAAG;AACZ,SAAO,MAAM;AAAA,GAEN,YAAC,CAAC,GAAG;AACZ,SAAO,KAAK;AAAA;",
- "debugId": "65268BAE9531F12964756e2164756e21",
- "names": []
-} \ No newline at end of file