153 lines
4.6 KiB
JavaScript
153 lines
4.6 KiB
JavaScript
/*
|
|
* Extracted from browser-delivered Turbopack chunk: 646321322e113ef5.53753c1390.js
|
|
* Module id: 25744
|
|
* For reading/searching only; this factory depends on the original Turbopack runtime.
|
|
*/
|
|
|
|
const moduleFactory = (e, t, r) => {
|
|
!(function (r, o) {
|
|
if ("function" == typeof define && define.amd) {
|
|
let t;
|
|
void 0 !== (t = o()) && e.v(t);
|
|
} else t.exports = o();
|
|
})(e.e, function () {
|
|
var e = function () {},
|
|
t = {},
|
|
r = {},
|
|
o = {};
|
|
function i(e, t) {
|
|
if (e) {
|
|
var i = o[e];
|
|
if (((r[e] = t), i)) for (; i.length; ) i[0](e, t), i.splice(0, 1);
|
|
}
|
|
}
|
|
function a(t, r) {
|
|
t.call && (t = { success: t }),
|
|
r.length ? (t.error || e)(r) : (t.success || e)(t);
|
|
}
|
|
function n(r, o, n) {
|
|
var s, c;
|
|
if ((o && o.trim && (s = o), (c = (s ? n : o) || {}), s))
|
|
if (s in t) throw "LoadJS";
|
|
else t[s] = !0;
|
|
function l(t, o) {
|
|
!(function (t, r, o) {
|
|
var i,
|
|
a,
|
|
n = (t = t.push ? t : [t]).length,
|
|
s = n,
|
|
c = [];
|
|
for (
|
|
a = 0,
|
|
i = function (e, t, o) {
|
|
if (("e" == t && c.push(e), "b" == t))
|
|
if (!o) return;
|
|
else c.push(e);
|
|
--n || r(c);
|
|
};
|
|
a < s;
|
|
a++
|
|
)
|
|
!(function t(r, o, i, a) {
|
|
var n,
|
|
s,
|
|
c,
|
|
l = document,
|
|
f = i.async,
|
|
d = (i.numRetries || 0) + 1,
|
|
u = i.before || e,
|
|
x = r.replace(/[\?|#].*$/, ""),
|
|
h = r.replace(/^(css|img|module|nomodule)!/, "");
|
|
if (((a = a || 0), /(^css!|\.css$)/.test(x)))
|
|
((c = l.createElement("link")).rel = "stylesheet"),
|
|
(c.href = h),
|
|
(n = "hideFocus" in c) &&
|
|
c.relList &&
|
|
((n = 0), (c.rel = "preload"), (c.as = "style"));
|
|
else if (/(^img!|\.(png|gif|jpg|svg|webp)$)/.test(x))
|
|
(c = l.createElement("img")).src = h;
|
|
else if (
|
|
(((c = l.createElement("script")).src = h),
|
|
(c.async = void 0 === f || f),
|
|
(s = "noModule" in c),
|
|
/^module!/.test(x))
|
|
) {
|
|
if (!s) return o(r, "l");
|
|
c.type = "module";
|
|
} else if (/^nomodule!/.test(x) && s) return o(r, "l");
|
|
(c.onload =
|
|
c.onerror =
|
|
c.onbeforeload =
|
|
function (e) {
|
|
var s = e.type[0];
|
|
if (n)
|
|
try {
|
|
c.sheet.cssText.length || (s = "e");
|
|
} catch (e) {
|
|
18 != e.code && (s = "e");
|
|
}
|
|
if ("e" == s) {
|
|
if ((a += 1) < d) return t(r, o, i, a);
|
|
} else if ("preload" == c.rel && "style" == c.as)
|
|
return (c.rel = "stylesheet");
|
|
o(r, s, e.defaultPrevented);
|
|
}),
|
|
!1 !== u(r, c) && l.head.appendChild(c);
|
|
})(t[a], i, o);
|
|
})(
|
|
r,
|
|
function (e) {
|
|
a(c, e), t && a({ success: t, error: o }, e), i(s, e);
|
|
},
|
|
c,
|
|
);
|
|
}
|
|
if (c.returnPromise) return new Promise(l);
|
|
l();
|
|
}
|
|
return (
|
|
(n.ready = function (e, t) {
|
|
return (
|
|
!(function (e, t) {
|
|
e = e.push ? e : [e];
|
|
var i,
|
|
a,
|
|
n,
|
|
s = [],
|
|
c = e.length,
|
|
l = c;
|
|
for (
|
|
i = function (e, r) {
|
|
r.length && s.push(e), --l || t(s);
|
|
};
|
|
c--;
|
|
|
|
) {
|
|
if ((n = r[(a = e[c])])) {
|
|
i(a, n);
|
|
continue;
|
|
}
|
|
(o[a] = o[a] || []).push(i);
|
|
}
|
|
})(e, function (e) {
|
|
a(t, e);
|
|
}),
|
|
n
|
|
);
|
|
}),
|
|
(n.done = function (e) {
|
|
i(e, []);
|
|
}),
|
|
(n.reset = function () {
|
|
(t = {}), (r = {}), (o = {});
|
|
}),
|
|
(n.isDefined = function (e) {
|
|
return e in t;
|
|
}),
|
|
n
|
|
);
|
|
});
|
|
};
|
|
|
|
export default moduleFactory;
|