@wastedondestiny/destiny-library 1.4.5 → 1.4.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/destiny-library.js +53 -53
- package/dist/destiny-library.umd.cjs +1 -1
- package/package.json +1 -1
package/dist/destiny-library.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as eA, ref as m, onMounted as XA, nextTick as KB, onBeforeUnmount as JB, openBlock as x, createElementBlock as X, createElementVNode as U, normalizeClass as H, toDisplayString as oA, normalizeStyle as lB, renderSlot as v, withDirectives as TB, vShow as nB, watch as Cg, unref as pg, reactive as wC, h as pA, getCurrentInstance as DC, shallowRef as iC, onUnmounted as oC, isRef as kA, isReactive as Pg, isVNode as YC, createApp as
|
|
1
|
+
import { defineComponent as eA, ref as m, onMounted as XA, nextTick as KB, onBeforeUnmount as JB, openBlock as x, createElementBlock as X, createElementVNode as U, normalizeClass as H, toDisplayString as oA, normalizeStyle as lB, renderSlot as v, withDirectives as TB, vShow as nB, watch as Cg, unref as pg, reactive as wC, h as pA, getCurrentInstance as DC, shallowRef as iC, onUnmounted as oC, isRef as kA, isReactive as Pg, isVNode as YC, createApp as yg, createBlock as CA, mergeProps as uB, createSlots as FC, withCtx as T, createCommentVNode as iA, normalizeProps as UC, guardReactiveProps as NC, createTextVNode as z, Fragment as xg, createVNode as vg, Teleport as cC, withModifiers as LC, createStaticVNode as aA } from "vue";
|
|
2
2
|
const GC = "data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz48IS0tIFVwbG9hZGVkIHRvOiBTVkcgUmVwbywgd3d3LnN2Z3JlcG8uY29tLCBHZW5lcmF0b3I6IFNWRyBSZXBvIE1peGVyIFRvb2xzIC0tPg0KPHN2ZyB3aWR0aD0iODAwcHgiIGhlaWdodD0iODAwcHgiIHZpZXdCb3g9IjAgMCAxMDI0IDEwMjQiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZmlsbD0iIzAwMDAwMCIgZD0ibTE5MiAzODQgMzIwIDM4NCAzMjAtMzg0eiIvPjwvc3ZnPg==", hC = { class: "overflow-hidden" }, eC = { class: "text-xs font-bold text-zinc-900" }, EE = /* @__PURE__ */ eA({
|
|
3
3
|
__name: "Collapsible",
|
|
4
4
|
props: {
|
|
@@ -216,7 +216,7 @@ var VB = {
|
|
|
216
216
|
function FA(g) {
|
|
217
217
|
return g.split("-")[0];
|
|
218
218
|
}
|
|
219
|
-
var nA = Math.max,
|
|
219
|
+
var nA = Math.max, ag = Math.min, WA = Math.round;
|
|
220
220
|
function dA(g, A) {
|
|
221
221
|
A === void 0 && (A = !1);
|
|
222
222
|
var B = g.getBoundingClientRect(), I = 1, C = 1;
|
|
@@ -270,7 +270,7 @@ function sA(g) {
|
|
|
270
270
|
g.document
|
|
271
271
|
)) || window.document).documentElement;
|
|
272
272
|
}
|
|
273
|
-
function
|
|
273
|
+
function tg(g) {
|
|
274
274
|
return UA(g) === "html" ? g : (
|
|
275
275
|
// this is a quicker (but less type safe) way to save quite some bytes from the bundle
|
|
276
276
|
// $FlowFixMe[incompatible-return]
|
|
@@ -293,7 +293,7 @@ function XC(g) {
|
|
|
293
293
|
if (I.position === "fixed")
|
|
294
294
|
return null;
|
|
295
295
|
}
|
|
296
|
-
for (var C =
|
|
296
|
+
for (var C = tg(g); $(C) && ["html", "body"].indexOf(UA(C)) < 0; ) {
|
|
297
297
|
var Q = NA(C);
|
|
298
298
|
if (Q.transform !== "none" || Q.perspective !== "none" || Q.contain === "paint" || ["transform", "perspective"].indexOf(Q.willChange) !== -1 || A && Q.willChange === "filter" || A && Q.filter && Q.filter !== "none")
|
|
299
299
|
return C;
|
|
@@ -310,7 +310,7 @@ function Wg(g) {
|
|
|
310
310
|
return ["top", "bottom"].indexOf(g) >= 0 ? "x" : "y";
|
|
311
311
|
}
|
|
312
312
|
function gg(g, A, B) {
|
|
313
|
-
return nA(g,
|
|
313
|
+
return nA(g, ag(A, B));
|
|
314
314
|
}
|
|
315
315
|
function bC(g, A, B) {
|
|
316
316
|
var I = gg(g, A, B);
|
|
@@ -506,7 +506,7 @@ function qg(g) {
|
|
|
506
506
|
return /auto|scroll|overlay|hidden/.test(B + C + I);
|
|
507
507
|
}
|
|
508
508
|
function rB(g) {
|
|
509
|
-
return ["html", "body", "#document"].indexOf(UA(g)) >= 0 ? g.ownerDocument.body : $(g) && qg(g) ? g : rB(
|
|
509
|
+
return ["html", "body", "#document"].indexOf(UA(g)) >= 0 ? g.ownerDocument.body : $(g) && qg(g) ? g : rB(tg(g));
|
|
510
510
|
}
|
|
511
511
|
function Bg(g, A) {
|
|
512
512
|
var B;
|
|
@@ -514,7 +514,7 @@ function Bg(g, A) {
|
|
|
514
514
|
var I = rB(g), C = I === ((B = g.ownerDocument) == null ? void 0 : B.body), Q = EA(I), w = C ? [Q].concat(Q.visualViewport || [], qg(I) ? I : []) : I, M = A.concat(w);
|
|
515
515
|
return C ? M : (
|
|
516
516
|
// $FlowFixMe[incompatible-call]: isBody tells us target will be an HTMLElement here
|
|
517
|
-
M.concat(Bg(
|
|
517
|
+
M.concat(Bg(tg(w)))
|
|
518
518
|
);
|
|
519
519
|
}
|
|
520
520
|
function Og(g) {
|
|
@@ -533,7 +533,7 @@ function DB(g, A) {
|
|
|
533
533
|
return A === yB ? Og(MI(g)) : rA(A) ? DI(A) : Og(wI(sA(g)));
|
|
534
534
|
}
|
|
535
535
|
function iI(g) {
|
|
536
|
-
var A = Bg(
|
|
536
|
+
var A = Bg(tg(g)), B = ["absolute", "fixed"].indexOf(NA(g).position) >= 0, I = B && $(g) ? wg(g) : g;
|
|
537
537
|
return rA(I) ? A.filter(function(C) {
|
|
538
538
|
return rA(C) && mB(C, I) && UA(C) !== "body" && (B ? NA(C).position !== "static" : !0);
|
|
539
539
|
}) : [];
|
|
@@ -541,7 +541,7 @@ function iI(g) {
|
|
|
541
541
|
function oI(g, A, B) {
|
|
542
542
|
var I = A === "clippingParents" ? iI(g) : [].concat(A), C = [].concat(I, [B]), Q = C[0], w = C.reduce(function(M, D) {
|
|
543
543
|
var Y = DB(g, D);
|
|
544
|
-
return M.top = nA(Y.top, M.top), M.right =
|
|
544
|
+
return M.top = nA(Y.top, M.top), M.right = ag(Y.right, M.right), M.bottom = ag(Y.bottom, M.bottom), M.left = nA(Y.left, M.left), M;
|
|
545
545
|
}, DB(g, Q));
|
|
546
546
|
return w.width = w.right - w.left, w.height = w.bottom - w.top, w.x = w.left, w.y = w.top, w;
|
|
547
547
|
}
|
|
@@ -805,7 +805,7 @@ function aI(g) {
|
|
|
805
805
|
var p, q = E === "y" ? b : f, gA = E === "y" ? _ : AA, r = E === "y" ? "height" : "width", W = N[E], Z = W + s[q], MA = W - s[gA], wA = e ? -G[r] / 2 : 0, tA = t === ZA ? F[r] : G[r], DA = t === ZA ? -G[r] : -F[r], jA = A.elements.arrow, cA = e && jA ? rg(jA) : {
|
|
806
806
|
width: 0,
|
|
807
807
|
height: 0
|
|
808
|
-
}, BA = A.modifiersData["arrow#persistent"] ? A.modifiersData["arrow#persistent"].padding : HB(), LA = BA[q], yA = BA[gA], GA = gg(0, F[r], cA[r]), xA = J ? F[r] / 2 - wA - GA - LA - O.mainAxis : tA - GA - LA - O.mainAxis, SA = J ? -F[r] / 2 + wA + GA + yA + O.mainAxis : DA + GA + yA + O.mainAxis, OA = A.elements.arrow && wg(A.elements.arrow), Dg = OA ? E === "y" ? OA.clientTop || 0 : OA.clientLeft || 0 : 0, bA = (p = V == null ? void 0 : V[E]) != null ? p : 0, ig = W + xA - bA - Dg, og = W + SA - bA, fA = gg(e ?
|
|
808
|
+
}, BA = A.modifiersData["arrow#persistent"] ? A.modifiersData["arrow#persistent"].padding : HB(), LA = BA[q], yA = BA[gA], GA = gg(0, F[r], cA[r]), xA = J ? F[r] / 2 - wA - GA - LA - O.mainAxis : tA - GA - LA - O.mainAxis, SA = J ? -F[r] / 2 + wA + GA + yA + O.mainAxis : DA + GA + yA + O.mainAxis, OA = A.elements.arrow && wg(A.elements.arrow), Dg = OA ? E === "y" ? OA.clientTop || 0 : OA.clientLeft || 0 : 0, bA = (p = V == null ? void 0 : V[E]) != null ? p : 0, ig = W + xA - bA - Dg, og = W + SA - bA, fA = gg(e ? ag(Z, ig) : Z, W, e ? nA(MA, og) : MA);
|
|
809
809
|
N[E] = fA, y[E] = fA - W;
|
|
810
810
|
}
|
|
811
811
|
if (M) {
|
|
@@ -1020,7 +1020,7 @@ var xI = [II, RI, BI, VB, eI, NI, sI, $C, LI], OI = /* @__PURE__ */ yI({
|
|
|
1020
1020
|
}, bB = function() {
|
|
1021
1021
|
return document.body;
|
|
1022
1022
|
};
|
|
1023
|
-
function
|
|
1023
|
+
function lg(g, A, B) {
|
|
1024
1024
|
if (Array.isArray(g)) {
|
|
1025
1025
|
var I = g[A];
|
|
1026
1026
|
return I ?? (Array.isArray(B) ? B[A] : B);
|
|
@@ -1078,7 +1078,7 @@ function cB(g) {
|
|
|
1078
1078
|
function uA() {
|
|
1079
1079
|
return document.createElement("div");
|
|
1080
1080
|
}
|
|
1081
|
-
function
|
|
1081
|
+
function jg(g) {
|
|
1082
1082
|
return ["Element", "Fragment"].some(function(A) {
|
|
1083
1083
|
return Xg(g, A);
|
|
1084
1084
|
});
|
|
@@ -1093,9 +1093,9 @@ function rI(g) {
|
|
|
1093
1093
|
return !!(g && g._tippy && g._tippy.reference === g);
|
|
1094
1094
|
}
|
|
1095
1095
|
function WI(g) {
|
|
1096
|
-
return
|
|
1096
|
+
return jg(g) ? [g] : ZI(g) ? qA(g) : Array.isArray(g) ? g : qA(document.querySelectorAll(g));
|
|
1097
1097
|
}
|
|
1098
|
-
function
|
|
1098
|
+
function Tg(g, A) {
|
|
1099
1099
|
g.forEach(function(B) {
|
|
1100
1100
|
B && (B.style.transitionDuration = A + "ms");
|
|
1101
1101
|
});
|
|
@@ -1119,7 +1119,7 @@ function dI(g, A) {
|
|
|
1119
1119
|
return h || s || c || t;
|
|
1120
1120
|
});
|
|
1121
1121
|
}
|
|
1122
|
-
function
|
|
1122
|
+
function ng(g, A, B) {
|
|
1123
1123
|
var I = A + "EventListener";
|
|
1124
1124
|
["transitionend", "webkitTransitionEnd"].forEach(function(C) {
|
|
1125
1125
|
g[I](C, B);
|
|
@@ -1273,12 +1273,12 @@ function Vg(g, A) {
|
|
|
1273
1273
|
}
|
|
1274
1274
|
function eB(g) {
|
|
1275
1275
|
var A = uA();
|
|
1276
|
-
return g === !0 ? A.className = qB : (A.className = XB,
|
|
1276
|
+
return g === !0 ? A.className = qB : (A.className = XB, jg(g) ? A.appendChild(g) : Vg(A, g)), A;
|
|
1277
1277
|
}
|
|
1278
1278
|
function SB(g, A) {
|
|
1279
|
-
|
|
1279
|
+
jg(A.content) ? (Vg(g, ""), g.appendChild(A.content)) : typeof A.content != "function" && (A.allowHTML ? Vg(g, A.content) : g.textContent = A.content);
|
|
1280
1280
|
}
|
|
1281
|
-
function
|
|
1281
|
+
function sg(g) {
|
|
1282
1282
|
var A = g.firstElementChild, B = qA(A.children);
|
|
1283
1283
|
return {
|
|
1284
1284
|
box: A,
|
|
@@ -1299,7 +1299,7 @@ function AC(g) {
|
|
|
1299
1299
|
var I = uA();
|
|
1300
1300
|
I.className = dB, I.setAttribute("data-state", "hidden"), SB(I, g.props), A.appendChild(B), B.appendChild(I), C(g.props, g.props);
|
|
1301
1301
|
function C(Q, w) {
|
|
1302
|
-
var M =
|
|
1302
|
+
var M = sg(A), D = M.box, Y = M.content, o = M.arrow;
|
|
1303
1303
|
w.theme ? D.setAttribute("data-theme", w.theme) : D.removeAttribute("data-theme"), typeof w.animation == "string" ? D.setAttribute("data-animation", w.animation) : D.removeAttribute("data-animation"), w.inertia ? D.setAttribute("data-inertia", "") : D.removeAttribute("data-inertia"), D.style.maxWidth = typeof w.maxWidth == "number" ? w.maxWidth + "px" : w.maxWidth, w.role ? D.setAttribute("role", w.role) : D.removeAttribute("role"), (Q.content !== w.content || Q.allowHTML !== w.allowHTML) && SB(Y, g.props), w.arrow ? o ? Q.arrow !== w.arrow && (D.removeChild(o), D.appendChild(eB(w.arrow))) : D.appendChild(eB(w.arrow)) : o && D.removeChild(o);
|
|
1304
1304
|
}
|
|
1305
1305
|
return {
|
|
@@ -1308,7 +1308,7 @@ function AC(g) {
|
|
|
1308
1308
|
};
|
|
1309
1309
|
}
|
|
1310
1310
|
AC.$$tippy = !0;
|
|
1311
|
-
var BQ = 1, Sg = [],
|
|
1311
|
+
var BQ = 1, Sg = [], ug = [];
|
|
1312
1312
|
function CQ(g, A) {
|
|
1313
1313
|
var B = hB(g, Object.assign({}, QA, _B(cB(A)))), I, C, Q, w = !1, M = !1, D = !1, Y = !1, o, a, j, e = [], L = UB(ig, B.interactiveDebounce), h, s = BQ++, c = null, t = pI(B.plugins), J = {
|
|
1314
1314
|
// Is the instance currently enabled?
|
|
@@ -1373,10 +1373,10 @@ function CQ(g, A) {
|
|
|
1373
1373
|
return i ? vB(i) : document;
|
|
1374
1374
|
}
|
|
1375
1375
|
function gA() {
|
|
1376
|
-
return
|
|
1376
|
+
return sg(N);
|
|
1377
1377
|
}
|
|
1378
1378
|
function r(i) {
|
|
1379
|
-
return E.state.isMounted && !E.state.isVisible || YA.isTouch || o && o.type === "focus" ? 0 :
|
|
1379
|
+
return E.state.isMounted && !E.state.isVisible || YA.isTouch || o && o.type === "focus" ? 0 : lg(E.props.delay, i ? 0 : 1, QA.delay);
|
|
1380
1380
|
}
|
|
1381
1381
|
function W(i) {
|
|
1382
1382
|
i === void 0 && (i = !1), N.style.pointerEvents = E.props.interactive && !i ? "" : "none", N.style.zIndex = "" + E.props.zIndex;
|
|
@@ -1459,11 +1459,11 @@ function CQ(g, A) {
|
|
|
1459
1459
|
function xA(i, R) {
|
|
1460
1460
|
var K = gA().box;
|
|
1461
1461
|
function u(l) {
|
|
1462
|
-
l.target === K && (
|
|
1462
|
+
l.target === K && (ng(K, "remove", u), R());
|
|
1463
1463
|
}
|
|
1464
1464
|
if (i === 0)
|
|
1465
1465
|
return R();
|
|
1466
|
-
|
|
1466
|
+
ng(K, "remove", a), ng(K, "add", u), a = u;
|
|
1467
1467
|
}
|
|
1468
1468
|
function SA(i, R, K) {
|
|
1469
1469
|
K === void 0 && (K = !1);
|
|
@@ -1544,7 +1544,7 @@ function CQ(g, A) {
|
|
|
1544
1544
|
}
|
|
1545
1545
|
function Yg() {
|
|
1546
1546
|
Fg();
|
|
1547
|
-
var i = E.props, R = i.popperOptions, K = i.placement, u = i.offset, l = i.getReferenceClientRect, d = i.moveTransition, P = y() ?
|
|
1547
|
+
var i = E.props, R = i.popperOptions, K = i.placement, u = i.offset, l = i.getReferenceClientRect, d = i.moveTransition, P = y() ? sg(N).arrow : null, VA = l ? {
|
|
1548
1548
|
getBoundingClientRect: l,
|
|
1549
1549
|
contextElement: l.contextElement || p()
|
|
1550
1550
|
} : g, fg = {
|
|
@@ -1555,9 +1555,9 @@ function CQ(g, A) {
|
|
|
1555
1555
|
fn: function(Gg) {
|
|
1556
1556
|
var mA = Gg.state;
|
|
1557
1557
|
if (y()) {
|
|
1558
|
-
var MC = gA(),
|
|
1558
|
+
var MC = gA(), Jg = MC.box;
|
|
1559
1559
|
["placement", "reference-hidden", "escaped"].forEach(function(hg) {
|
|
1560
|
-
hg === "placement" ?
|
|
1560
|
+
hg === "placement" ? Jg.setAttribute("data-placement", mA.placement) : mA.attributes.popper["data-popper-" + hg] ? Jg.setAttribute("data-" + hg, "") : Jg.removeAttribute("data-" + hg);
|
|
1561
1561
|
}), mA.attributes.popper = {};
|
|
1562
1562
|
}
|
|
1563
1563
|
}
|
|
@@ -1658,20 +1658,20 @@ function CQ(g, A) {
|
|
|
1658
1658
|
});
|
|
1659
1659
|
}
|
|
1660
1660
|
function BC() {
|
|
1661
|
-
var i = E.state.isVisible, R = E.state.isDestroyed, K = !E.state.isEnabled, u = YA.isTouch && !E.props.touch, l =
|
|
1661
|
+
var i = E.state.isVisible, R = E.state.isDestroyed, K = !E.state.isEnabled, u = YA.isTouch && !E.props.touch, l = lg(E.props.duration, 0, QA.duration);
|
|
1662
1662
|
if (!(i || R || K || u) && !p().hasAttribute("disabled") && (Z("onShow", [E], !1), E.props.onShow(E) !== !1)) {
|
|
1663
1663
|
if (E.state.isVisible = !0, y() && (N.style.visibility = "visible"), W(), BA(), E.state.isMounted || (N.style.transition = "none"), y()) {
|
|
1664
1664
|
var d = gA(), P = d.box, VA = d.content;
|
|
1665
|
-
|
|
1665
|
+
Tg([P, VA], 0);
|
|
1666
1666
|
}
|
|
1667
1667
|
j = function() {
|
|
1668
1668
|
var JA;
|
|
1669
1669
|
if (!(!E.state.isVisible || Y)) {
|
|
1670
1670
|
if (Y = !0, N.offsetHeight, N.style.transition = E.props.moveTransition, y() && E.props.animation) {
|
|
1671
|
-
var
|
|
1672
|
-
|
|
1671
|
+
var Kg = gA(), Gg = Kg.box, mA = Kg.content;
|
|
1672
|
+
Tg([Gg, mA], l), Eg([Gg, mA], "visible");
|
|
1673
1673
|
}
|
|
1674
|
-
MA(), wA(), NB(
|
|
1674
|
+
MA(), wA(), NB(ug, E), (JA = E.popperInstance) == null || JA.forceUpdate(), Z("onMount", [E]), E.props.animation && y() && GA(l, function() {
|
|
1675
1675
|
E.state.isShown = !0, Z("onShown", [E]);
|
|
1676
1676
|
});
|
|
1677
1677
|
}
|
|
@@ -1679,11 +1679,11 @@ function CQ(g, A) {
|
|
|
1679
1679
|
}
|
|
1680
1680
|
}
|
|
1681
1681
|
function CC() {
|
|
1682
|
-
var i = !E.state.isVisible, R = E.state.isDestroyed, K = !E.state.isEnabled, u =
|
|
1682
|
+
var i = !E.state.isVisible, R = E.state.isDestroyed, K = !E.state.isEnabled, u = lg(E.props.duration, 1, QA.duration);
|
|
1683
1683
|
if (!(i || R || K) && (Z("onHide", [E], !1), E.props.onHide(E) !== !1)) {
|
|
1684
1684
|
if (E.state.isVisible = !1, E.state.isShown = !1, Y = !1, w = !1, y() && (N.style.visibility = "hidden"), tA(), LA(), W(!0), y()) {
|
|
1685
1685
|
var l = gA(), d = l.box, P = l.content;
|
|
1686
|
-
E.props.animation && (
|
|
1686
|
+
E.props.animation && (Tg([d, P], u), Eg([d, P], "hidden"));
|
|
1687
1687
|
}
|
|
1688
1688
|
MA(), wA(), E.props.animation ? y() && yA(u, E.unmount) : E.unmount();
|
|
1689
1689
|
}
|
|
@@ -1694,7 +1694,7 @@ function CQ(g, A) {
|
|
|
1694
1694
|
function QC() {
|
|
1695
1695
|
E.state.isVisible && E.hide(), E.state.isMounted && (Fg(), RA().forEach(function(i) {
|
|
1696
1696
|
i._tippy.unmount();
|
|
1697
|
-
}), N.parentNode && N.parentNode.removeChild(N),
|
|
1697
|
+
}), N.parentNode && N.parentNode.removeChild(N), ug = ug.filter(function(i) {
|
|
1698
1698
|
return i !== E;
|
|
1699
1699
|
}), E.state.isMounted = !1, Z("onHidden", [E]));
|
|
1700
1700
|
}
|
|
@@ -1712,7 +1712,7 @@ function k(g, A) {
|
|
|
1712
1712
|
var D = M && CQ(M, I);
|
|
1713
1713
|
return D && w.push(D), w;
|
|
1714
1714
|
}, []);
|
|
1715
|
-
return
|
|
1715
|
+
return jg(g) ? Q[0] : Q;
|
|
1716
1716
|
}
|
|
1717
1717
|
k.defaultProps = QA;
|
|
1718
1718
|
k.setDefaultProps = _I;
|
|
@@ -1850,7 +1850,7 @@ var IQ = Object.assign({}, VB, {
|
|
|
1850
1850
|
var B;
|
|
1851
1851
|
if (!((B = A.props.render) != null && B.$$tippy))
|
|
1852
1852
|
return {};
|
|
1853
|
-
var I =
|
|
1853
|
+
var I = sg(A.popper), C = I.box, Q = I.content, w = A.props.animateFill ? MQ() : null;
|
|
1854
1854
|
return {
|
|
1855
1855
|
onCreate: function() {
|
|
1856
1856
|
w && (C.insertBefore(w, C.firstElementChild), C.setAttribute("data-animatefill", ""), C.style.overflow = "hidden", A.setProps({
|
|
@@ -2118,10 +2118,10 @@ function cQ(g, A = {}, B = { mount: !0, appName: "Tippy" }) {
|
|
|
2118
2118
|
let M = null;
|
|
2119
2119
|
const D = () => M || (M = document.createDocumentFragment(), M), Y = (F) => {
|
|
2120
2120
|
let G, n = kA(F) ? F.value : F;
|
|
2121
|
-
return YC(n) ? (w.value || (w.value =
|
|
2121
|
+
return YC(n) ? (w.value || (w.value = yg({
|
|
2122
2122
|
name: B.appName,
|
|
2123
2123
|
setup: () => () => kA(F) ? F.value : F
|
|
2124
|
-
}), I && Object.assign(w.value._context, I.appContext), w.value.mount(D())), G = () => D()) : typeof n == "object" ? (w.value || (w.value =
|
|
2124
|
+
}), I && Object.assign(w.value._context, I.appContext), w.value.mount(D())), G = () => D()) : typeof n == "object" ? (w.value || (w.value = yg({
|
|
2125
2125
|
name: B.appName,
|
|
2126
2126
|
setup: () => () => pA(kA(F) ? F.value : F)
|
|
2127
2127
|
}), I && Object.assign(w.value._context, I.appContext), w.value.mount(D())), G = () => D()) : G = n, G;
|
|
@@ -2701,8 +2701,8 @@ const kQ = { class: "w-full p-4 text-zinc-800 bg-zinc-200 rounded-xl shadow-lg s
|
|
|
2701
2701
|
}
|
|
2702
2702
|
return XA(() => w()), Cg(A, (M) => {
|
|
2703
2703
|
!M && I.value && (I.value.style.display = "");
|
|
2704
|
-
}), (M, D) => (x(), X(
|
|
2705
|
-
M.patreon ? iA("", !0) : (x(), X(
|
|
2704
|
+
}), (M, D) => (x(), X(xg, null, [
|
|
2705
|
+
M.patreon ? iA("", !0) : (x(), X(xg, { key: 0 }, [
|
|
2706
2706
|
U("div", {
|
|
2707
2707
|
class: "mb-4",
|
|
2708
2708
|
ref_key: "adblock",
|
|
@@ -2805,7 +2805,7 @@ const kQ = { class: "w-full p-4 text-zinc-800 bg-zinc-200 rounded-xl shadow-lg s
|
|
|
2805
2805
|
function I() {
|
|
2806
2806
|
A.value = !1, document.body.style.overflowY = "";
|
|
2807
2807
|
}
|
|
2808
|
-
return (C, Q) => (x(), X(
|
|
2808
|
+
return (C, Q) => (x(), X(xg, null, [
|
|
2809
2809
|
U("button", uB(C.$attrs, { onClick: B }), [
|
|
2810
2810
|
v(C.$slots, "default")
|
|
2811
2811
|
], 16),
|
|
@@ -2846,35 +2846,35 @@ const kQ = { class: "w-full p-4 text-zinc-800 bg-zinc-200 rounded-xl shadow-lg s
|
|
|
2846
2846
|
var C, Q;
|
|
2847
2847
|
(C = A.value) == null || C.classList.add("hidden"), (Q = A.value) == null || Q.classList.remove("flex");
|
|
2848
2848
|
}
|
|
2849
|
-
return (C, Q) => (x(), X(
|
|
2849
|
+
return (C, Q) => (x(), X("div", null, [
|
|
2850
2850
|
U("div", XQ, [
|
|
2851
2851
|
U("a", {
|
|
2852
2852
|
href: C.active !== "wasted" ? "https://wastedondestiny.com" : "",
|
|
2853
2853
|
target: C.active !== "wasted" ? "_blank" : "",
|
|
2854
2854
|
class: H(["flex items-center gap-2 no-underline hover:bg-blue-500 h-12 px-2", { "bg-blue-500": C.active === "wasted" }])
|
|
2855
2855
|
}, Q[0] || (Q[0] = [
|
|
2856
|
-
aA('<img src="' + kB + '" class="invert w-8 h-8"><
|
|
2856
|
+
aA('<img src="' + kB + '" class="invert w-8 h-8"><p class="flex flex-col"><span class="font-mono leading-4">TIME WASTED <span class="text-zinc-600">ON DESTINY</span></span><small class="leading-none">Time spent on Destiny 2</small></p>', 2)
|
|
2857
2857
|
]), 10, bQ),
|
|
2858
2858
|
U("a", {
|
|
2859
2859
|
href: C.active !== "crimson" ? "https://crimson.report" : "",
|
|
2860
2860
|
target: C.active !== "crimson" ? "_blank" : "",
|
|
2861
2861
|
class: H(["flex items-center gap-2 no-underline hover:bg-red-500 h-12 px-2", { "bg-red-500": C.active === "crimson" }])
|
|
2862
2862
|
}, Q[1] || (Q[1] = [
|
|
2863
|
-
aA('<img src="' + aB + '" class="invert w-8 h-8"><
|
|
2863
|
+
aA('<img src="' + aB + '" class="invert w-8 h-8"><p class="flex flex-col"><span class="font-mono leading-4">CRIMSON<span class="text-zinc-600">.REPORT</span></span><small class="leading-none">Content owned on Destiny 2</small></p>', 2)
|
|
2864
2864
|
]), 10, fQ),
|
|
2865
2865
|
U("a", {
|
|
2866
2866
|
href: C.active !== "loot" ? "https://loot.report" : "",
|
|
2867
2867
|
target: C.active !== "loot" ? "_blank" : "",
|
|
2868
2868
|
class: H(["flex items-center gap-2 no-underline hover:bg-yellow-500 h-12 px-2", { "bg-yellow-500": C.active === "loot" }])
|
|
2869
2869
|
}, Q[2] || (Q[2] = [
|
|
2870
|
-
aA('<img src="' + sB + '" class="invert w-8 h-8"><
|
|
2870
|
+
aA('<img src="' + sB + '" class="invert w-8 h-8"><p class="flex flex-col"><span class="font-mono leading-4">LOOT<span class="text-zinc-600">.REPORT</span></span><small class="leading-none">Exotics acquired on Destiny 2</small></p>', 2)
|
|
2871
2871
|
]), 10, PQ),
|
|
2872
2872
|
U("a", {
|
|
2873
2873
|
href: C.active !== "guesstiny" ? "https://guesstiny.com" : "",
|
|
2874
2874
|
target: C.active !== "guesstiny" ? "_blank" : "",
|
|
2875
2875
|
class: H(["flex items-center gap-2 no-underline hover:bg-green-500 h-12 px-2", { "bg-green-500": C.active === "guesstiny" }])
|
|
2876
2876
|
}, Q[3] || (Q[3] = [
|
|
2877
|
-
aA('<img src="' + tB + '" class="invert w-8 h-8"><
|
|
2877
|
+
aA('<img src="' + tB + '" class="invert w-8 h-8"><p class="flex flex-col"><span class="font-mono leading-4">GUESS<span class="text-zinc-600">TINY</span></span><small class="leading-none">Test your knowledge of Destiny</small></p>', 2)
|
|
2878
2878
|
]), 10, vQ)
|
|
2879
2879
|
]),
|
|
2880
2880
|
U("button", {
|
|
@@ -2924,32 +2924,32 @@ const kQ = { class: "w-full p-4 text-zinc-800 bg-zinc-200 rounded-xl shadow-lg s
|
|
|
2924
2924
|
target: C.active !== "wasted" ? "_blank" : "",
|
|
2925
2925
|
class: H(["flex items-center gap-2 no-underline hover:bg-blue-500 h-12 px-2", { "bg-blue-500": C.active === "wasted" }])
|
|
2926
2926
|
}, Q[7] || (Q[7] = [
|
|
2927
|
-
aA('<img src="' + kB + '" class="invert w-8 h-8"><
|
|
2927
|
+
aA('<img src="' + kB + '" class="invert w-8 h-8"><p class="flex flex-col"><span class="font-mono leading-4">TIME WASTED <span class="text-zinc-600">ON DESTINY</span></span><small class="leading-none">Time spent on Destiny 2</small></p>', 2)
|
|
2928
2928
|
]), 10, AE),
|
|
2929
2929
|
U("a", {
|
|
2930
2930
|
href: C.active !== "crimson" ? "https://crimson.report" : "",
|
|
2931
2931
|
target: C.active !== "crimson" ? "_blank" : "",
|
|
2932
2932
|
class: H(["flex items-center gap-2 no-underline hover:bg-red-500 h-12 px-2", { "bg-red-500": C.active === "crimson" }])
|
|
2933
2933
|
}, Q[8] || (Q[8] = [
|
|
2934
|
-
aA('<img src="' + aB + '" class="invert w-8 h-8"><
|
|
2934
|
+
aA('<img src="' + aB + '" class="invert w-8 h-8"><p class="flex flex-col"><span class="font-mono leading-4">CRIMSON<span class="text-zinc-600">.REPORT</span></span><small class="leading-none">Content owned on Destiny 2</small></p>', 2)
|
|
2935
2935
|
]), 10, gE),
|
|
2936
2936
|
U("a", {
|
|
2937
2937
|
href: C.active !== "loot" ? "https://loot.report" : "",
|
|
2938
2938
|
target: C.active !== "loot" ? "_blank" : "",
|
|
2939
2939
|
class: H(["flex items-center gap-2 no-underline hover:bg-yellow-500 h-12 px-2", { "bg-yellow-500": C.active === "loot" }])
|
|
2940
2940
|
}, Q[9] || (Q[9] = [
|
|
2941
|
-
aA('<img src="' + sB + '" class="invert w-8 h-8"><
|
|
2941
|
+
aA('<img src="' + sB + '" class="invert w-8 h-8"><p class="flex flex-col"><span class="font-mono leading-4">LOOT<span class="text-zinc-600">.REPORT</span></span><small class="leading-none">Exotics your clan owns on Destiny 2</small></p>', 2)
|
|
2942
2942
|
]), 10, BE),
|
|
2943
2943
|
U("a", {
|
|
2944
2944
|
href: C.active !== "guesstiny" ? "https://guesstiny.com" : "",
|
|
2945
2945
|
target: C.active !== "guesstiny" ? "_blank" : "",
|
|
2946
2946
|
class: H(["flex items-center gap-2 no-underline hover:bg-green-500 h-12 px-2", { "bg-green-500": C.active === "guesstiny" }])
|
|
2947
2947
|
}, Q[10] || (Q[10] = [
|
|
2948
|
-
aA('<img src="' + tB + '" class="invert w-8 h-8"><
|
|
2948
|
+
aA('<img src="' + tB + '" class="invert w-8 h-8"><p class="flex flex-col"><span class="font-mono leading-4">GUESS<span class="text-zinc-600">TINY</span></span><small class="leading-none">Test your knowledge of Destiny</small></p>', 2)
|
|
2949
2949
|
]), 10, CE)
|
|
2950
2950
|
])
|
|
2951
2951
|
], 512)
|
|
2952
|
-
]
|
|
2952
|
+
]));
|
|
2953
2953
|
}
|
|
2954
2954
|
}), jB = ["ArrowUp", "ArrowUp", "ArrowDown", "ArrowDown", "ArrowLeft", "ArrowRight", "ArrowLeft", "ArrowRight", "b", "a"], Ag = m(0);
|
|
2955
2955
|
function FE() {
|
|
@@ -3028,7 +3028,7 @@ function hE(g, A, B = "") {
|
|
|
3028
3028
|
}
|
|
3029
3029
|
function eE(g) {
|
|
3030
3030
|
let A;
|
|
3031
|
-
const B =
|
|
3031
|
+
const B = yg({
|
|
3032
3032
|
setup() {
|
|
3033
3033
|
return A = g(), () => {
|
|
3034
3034
|
};
|