-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
7ce68ea
commit 88db588
Showing
4 changed files
with
93 additions
and
94 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -48235,9 +48235,9 @@ | |
value: !0 | ||
}) | ||
}, o.nmd = e => (e.paths = [], e.children || (e.children = []), e), o.p = "https://dtuitjyhwcl5y.cloudfront.net/", o.nc = void 0, (n = "undefined" != typeof window ? window : void 0 !== o.g ? o.g : "undefined" != typeof self ? self : {}).SENTRY_RELEASE = { | ||
id: "2024-02-28t21-39-29-the-chance-of-jacques" | ||
id: "2024-02-29t18-32-37-the-lime-of-english" | ||
}, n.SENTRY_RELEASES = n.SENTRY_RELEASES || {}, n.SENTRY_RELEASES["web-appedashi@vrchat-inc"] = { | ||
id: "2024-02-28t21-39-29-the-chance-of-jacques" | ||
id: "2024-02-29t18-32-37-the-lime-of-english" | ||
}, (() => { | ||
"use strict"; | ||
var e = {}; | ||
|
@@ -59299,7 +59299,7 @@ | |
dsn: "https://[email protected]/6166335", | ||
integrations: [new Wd.BrowserTracing], | ||
tracesSampleRate: .05, | ||
release: "2024-02-28t21-39-29-the-chance-of-jacques", | ||
release: "2024-02-29t18-32-37-the-lime-of-english", | ||
environment: "production", | ||
maxBreadcrumbs: 50, | ||
ignoreErrors: ["Request failed with status code 401", "Request failed with status code 404", "Network Error", "Request aborted", "top.GLOBALS", "originalCreateNotification", "canvas.contentDocument", "MyApp_RemoveAllHighlights", "http://tt.epicplay.com", "Can't find variable: ZiteReader", "jigsaw is not defined", "ComboSearch is not defined", "http://loading.retry.widdit.com/", "atomicFindClose", "fb_xd_fragment", "bmi_SafeAddOnload", "EBCallBackMessageReceived", "conduitPage"], | ||
|
@@ -62039,7 +62039,7 @@ | |
Qh = "idfk", | ||
Xh = "idfk"; | ||
try { | ||
Zh = "a750df50d11f21f712262cbd4c0bab37", Qh = "2024-02-28t21-39-29-the-chance-of-jacques", Xh = "production" | ||
Zh = "a750df50d11f21f712262cbd4c0bab37", Qh = "2024-02-29t18-32-37-the-lime-of-english", Xh = "production" | ||
} catch (e) { | ||
console.warn(e) | ||
} | ||
|
@@ -63106,7 +63106,7 @@ | |
getPurchaseStacks: e.query({ | ||
queryFn: function(e, t, n, a) { | ||
return r(i().mark((function t() { | ||
var n, r, o, s, l; | ||
var n, r, o, s, l, c; | ||
return i().wrap((function(t) { | ||
for (;;) switch (t.prev = t.next) { | ||
case 0: | ||
|
@@ -63130,13 +63130,13 @@ | |
error: l.error | ||
}); | ||
case 12: | ||
return t.abrupt("return", { | ||
return c = { | ||
data: { | ||
stacks: l.data, | ||
userThumbnailFile: s | ||
} | ||
}); | ||
case 13: | ||
}, t.abrupt("return", c); | ||
case 14: | ||
case "end": | ||
return t.stop() | ||
} | ||
|
@@ -63379,7 +63379,7 @@ | |
}, | ||
overrideExisting: !1 | ||
}).enhanceEndpoints({ | ||
addTagTypes: ["Purchases", "Purchase"] | ||
addTagTypes: ["Purchases", "Purchase", "UserTransaction", "UserTransactions", "SubscriptionCancellation", "PurchaseVoid"] | ||
}), | ||
hv = (pv.useBecomeSellerMutation, pv.useGetPurchasesQuery), | ||
gv = pv.useGetAllPurchasesQuery, | ||
|
@@ -115293,96 +115293,96 @@ | |
return e | ||
} | ||
var nee = function(e) { | ||
var t, n, r, a = e.mode, | ||
o = void 0 === a ? Qg.ACTIVE : a, | ||
i = e.economyOnline, | ||
l = xi().data, | ||
c = l.id, | ||
u = zi(s.useState(null), 2), | ||
d = u[0], | ||
m = u[1], | ||
f = zi(s.useState(null), 2), | ||
p = f[0], | ||
h = f[1], | ||
g = zi(s.useState(iv), 2), | ||
v = g[0], | ||
y = g[1], | ||
b = zi(s.useState(av), 2), | ||
w = b[0], | ||
_ = b[1], | ||
E = zi(s.useState(1), 2), | ||
x = E[0], | ||
A = E[1], | ||
k = zi(s.useState(""), 2), | ||
S = k[0], | ||
M = k[1], | ||
O = QC(S), | ||
L = o === Qg.SOLD, | ||
C = hv(tee(tee(tee(tee({}, o === Qg.ACTIVE && { | ||
buyerId: c, | ||
var t, n, r, a, o = e.mode, | ||
i = void 0 === o ? Qg.ACTIVE : o, | ||
l = e.economyOnline, | ||
c = xi().data, | ||
u = c.id, | ||
d = zi(s.useState(null), 2), | ||
m = d[0], | ||
f = d[1], | ||
p = zi(s.useState(null), 2), | ||
h = p[0], | ||
g = p[1], | ||
v = zi(s.useState(iv), 2), | ||
y = v[0], | ||
b = v[1], | ||
w = zi(s.useState(av), 2), | ||
_ = w[0], | ||
E = w[1], | ||
x = zi(s.useState(1), 2), | ||
A = x[0], | ||
k = x[1], | ||
S = zi(s.useState(""), 2), | ||
M = S[0], | ||
O = S[1], | ||
L = QC(M), | ||
C = i === Qg.SOLD, | ||
D = hv(tee(tee(tee(tee({}, i === Qg.ACTIVE && { | ||
buyerId: u, | ||
active: !0 | ||
}), o === Qg.EXPIRED && { | ||
buyerId: c, | ||
}), i === Qg.EXPIRED && { | ||
buyerId: u, | ||
active: !1 | ||
}), o === Qg.SOLD && { | ||
sellerId: c | ||
}), i === Qg.SOLD && { | ||
sellerId: u | ||
}), {}, { | ||
n: 10, | ||
pageValue: x | ||
pageValue: A | ||
}), { | ||
skip: !c, | ||
skip: !u, | ||
refetchOnMountOrArgChange: !0 | ||
}), | ||
D = C.data, | ||
I = C.isLoading, | ||
T = C.isError, | ||
N = C.error, | ||
P = _v(tee(tee(tee(tee({}, (o === Qg.ACTIVE || o === Qg.EXPIRED) && { | ||
fromUserId: c, | ||
I = D.data, | ||
T = D.isLoading, | ||
N = D.isError, | ||
P = D.error, | ||
j = _v(tee(tee(tee(tee({}, (i === Qg.ACTIVE || i === Qg.EXPIRED) && { | ||
fromUserId: u, | ||
type: rv | ||
}), o === Qg.SOLD && { | ||
}), i === Qg.SOLD && { | ||
type: tv | ||
}), {}, { | ||
n: 10, | ||
pageValue: x, | ||
sort: v, | ||
order: w, | ||
search: O | ||
}, d && { | ||
dateMin: d | ||
}), p && { | ||
dateMax: p | ||
pageValue: A, | ||
sort: y, | ||
order: _, | ||
search: L | ||
}, m && { | ||
dateMin: m | ||
}), h && { | ||
dateMax: h | ||
}), { | ||
skip: !c, | ||
skip: !u, | ||
refetchOnMountOrArgChange: !0 | ||
}), | ||
j = P.data, | ||
R = P.isLoading, | ||
F = P.isError, | ||
B = P.error, | ||
Y = (null == j ? void 0 : j.transactions.length) >= 0 && (null == D || null === (t = D.purchases) || void 0 === t ? void 0 : t.length) > 0, | ||
z = s.useMemo((function() { | ||
return L && Y ? j.transactions : (e = null == D ? void 0 : D.purchases, null !== d && null !== p && null != e && e.length ? null == e ? void 0 : e.filter((function(e) { | ||
return Fj()(e.purchaseDate, "YYYY-MM-DD").isBetween(d, p) | ||
R = j.data, | ||
F = j.isLoading, | ||
B = j.isError, | ||
Y = j.error, | ||
z = (null == R || null === (t = R.transactions) || void 0 === t ? void 0 : t.length) >= 0 && (null == I || null === (n = I.purchases) || void 0 === n ? void 0 : n.length) > 0, | ||
U = s.useMemo((function() { | ||
return C && z ? R.transactions : (e = null == I ? void 0 : I.purchases, null !== m && null !== h && null != e && e.length ? null == e ? void 0 : e.filter((function(e) { | ||
return Fj()(e.purchaseDate, "YYYY-MM-DD").isBetween(m, h) | ||
})) : e); | ||
var e | ||
}), [j, D]), | ||
U = s.createElement(s.Fragment, null, (T || F) && s.createElement(zN, { | ||
}), [R, I]), | ||
H = s.createElement(s.Fragment, null, (N || B) && s.createElement(zN, { | ||
type: "error", | ||
title: "Error loading purchase information" | ||
}, null == N || null === (n = N.data) || void 0 === n || null === (n = n.error) || void 0 === n ? void 0 : n.message, null == B || null === (r = B.data) || void 0 === r || null === (r = r.error) || void 0 === r ? void 0 : r.message), I && R ? s.createElement(aee, { | ||
}, null == P || null === (r = P.data) || void 0 === r || null === (r = r.error) || void 0 === r ? void 0 : r.message, null == Y || null === (a = Y.data) || void 0 === a || null === (a = a.error) || void 0 === a ? void 0 : a.message), T && F ? s.createElement(aee, { | ||
height: "12rem" | ||
}) : s.createElement(s.Fragment, null, L && s.createElement($9, { | ||
}) : s.createElement(s.Fragment, null, C && s.createElement($9, { | ||
onDatesUpdate: function(e) { | ||
var t = "string" != typeof e && "start" in e ? Fj()(e.start, "YYYY-MM-DD") : null, | ||
n = "string" != typeof e && "end" in e ? Fj()(e.end, "YYYY-MM-DD") : null; | ||
m(t), h(n) | ||
f(t), g(n) | ||
}, | ||
onSearchUpdate: M, | ||
onSearchUpdate: O, | ||
hideExport: !0 | ||
}), null != z && z.length ? s.createElement(s.Fragment, null, L && s.createElement(V9, { | ||
purchaseList: z, | ||
columns: L ? [{ | ||
}), null != U && U.length ? s.createElement(s.Fragment, null, C && s.createElement(V9, { | ||
purchaseList: U, | ||
columns: C ? [{ | ||
label: "Date", | ||
accessor: "created_at" | ||
}, { | ||
|
@@ -115403,30 +115403,30 @@ | |
id: "fromUserId", | ||
disabled: !0 | ||
}] : [], | ||
mode: o, | ||
currentUser: l, | ||
mode: i, | ||
currentUser: c, | ||
onSortByUpdate: function(e) { | ||
return y(null == e ? void 0 : e.sort) | ||
return b(null == e ? void 0 : e.sort) | ||
}, | ||
onOrderUpdate: function(e) { | ||
return _(null == e ? void 0 : e.order) | ||
return E(null == e ? void 0 : e.order) | ||
}, | ||
economyOnline: i | ||
}), !L && z.slice(0, 10).map((function(e) { | ||
economyOnline: l | ||
}), !C && U.slice(0, 10).map((function(e) { | ||
return s.createElement(F9, { | ||
key: e.purchaseId, | ||
purchase: e, | ||
currentUser: l | ||
currentUser: c | ||
}) | ||
})), L && s.createElement(t7, { | ||
})), C && s.createElement(t7, { | ||
className: "pagination-bar", | ||
currentPage: x, | ||
totalCount: null == j ? void 0 : j.totalCount, | ||
currentPage: A, | ||
totalCount: null == R ? void 0 : R.totalCount, | ||
pageSize: 10, | ||
onPageChange: function(e) { | ||
A(e) | ||
k(e) | ||
} | ||
})) : Y ? s.createElement("div", { | ||
})) : z ? s.createElement("div", { | ||
className: "tw-flex tw-justify-center tw-items-center tw-h-96" | ||
}, s.createElement("div", { | ||
className: "tw-flex-auto tw-flex-wrap tw-flex-row tw-text-center tw-max-w-[500px]" | ||
|
@@ -115461,9 +115461,9 @@ | |
}, s.createElement("span", { | ||
className: "tw-text-gray-500" | ||
}, "The sales history allows you to see information about every sale you've made."))))))); | ||
return L ? U : s.createElement(s.Fragment, null, s.createElement(zM, null, s.createElement("h4", { | ||
return C ? H : s.createElement(s.Fragment, null, s.createElement(zM, null, s.createElement("h4", { | ||
className: "fw-normal mb-0" | ||
}, "Subscriptions")), s.createElement(UM, null, U)) | ||
}, "Subscriptions")), s.createElement(UM, null, H)) | ||
}; | ||
nee.propTypes = { | ||
mode: Zb().oneOf(Object.values(Qg)) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.