@leatcom/portal-sessions 0.0.92 → 0.0.94
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.
|
@@ -6,7 +6,7 @@ import Ae, { createContext as zi, useContext as Uo, useEffect as De, useLayoutEf
|
|
|
6
6
|
import { unstable_batchedUpdates as yE } from "react-dom";
|
|
7
7
|
try {
|
|
8
8
|
let t = typeof window < "u" ? window : typeof global < "u" ? global : typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : {}, e = new t.Error().stack;
|
|
9
|
-
e && (t._sentryDebugIds = t._sentryDebugIds || {}, t._sentryDebugIds[e] = "
|
|
9
|
+
e && (t._sentryDebugIds = t._sentryDebugIds || {}, t._sentryDebugIds[e] = "8e23ebfd-931f-47b0-9158-816f1e5f2a98", t._sentryDebugIdIdentifier = "sentry-dbid-8e23ebfd-931f-47b0-9158-816f1e5f2a98");
|
|
10
10
|
} catch {
|
|
11
11
|
}
|
|
12
12
|
{
|
|
@@ -35,7 +35,7 @@ function vE(t, e) {
|
|
|
35
35
|
}
|
|
36
36
|
{
|
|
37
37
|
let t = typeof window < "u" ? window : typeof global < "u" ? global : typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : {};
|
|
38
|
-
t.SENTRY_RELEASE = { id: "
|
|
38
|
+
t.SENTRY_RELEASE = { id: "79aa312cf2a842962acd05f04f0e35256a2ed39b" };
|
|
39
39
|
}
|
|
40
40
|
var Mi = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
|
|
41
41
|
function id(t) {
|
|
@@ -6753,7 +6753,7 @@ const i8 = ta(
|
|
|
6753
6753
|
}, Bp = {
|
|
6754
6754
|
md: "sm",
|
|
6755
6755
|
lg: "md"
|
|
6756
|
-
},
|
|
6756
|
+
}, at = ({
|
|
6757
6757
|
after: t,
|
|
6758
6758
|
before: e,
|
|
6759
6759
|
className: n,
|
|
@@ -6806,7 +6806,7 @@ const i8 = ta(
|
|
|
6806
6806
|
}
|
|
6807
6807
|
);
|
|
6808
6808
|
};
|
|
6809
|
-
|
|
6809
|
+
at.displayName = "Button";
|
|
6810
6810
|
function Ut({ children: t, id: e = dE() }) {
|
|
6811
6811
|
return /* @__PURE__ */ v.jsx("div", { id: e, className: "flex h-full max-h-full flex-col bg-white md:h-fit md:rounded-lg md:border md:shadow-md", children: t });
|
|
6812
6812
|
}
|
|
@@ -10091,7 +10091,7 @@ function Ho({ title: t, isOpen: e, onClose: n, primaryAction: r, secondaryAction
|
|
|
10091
10091
|
/* @__PURE__ */ v.jsx(Bt, { children: i }),
|
|
10092
10092
|
/* @__PURE__ */ v.jsx(pn, { children: /* @__PURE__ */ v.jsxs("div", { className: "flex flex-col gap-2", children: [
|
|
10093
10093
|
r && /* @__PURE__ */ v.jsx(
|
|
10094
|
-
|
|
10094
|
+
at,
|
|
10095
10095
|
{
|
|
10096
10096
|
label: r.label ?? "",
|
|
10097
10097
|
onClick: r.action,
|
|
@@ -10100,7 +10100,7 @@ function Ho({ title: t, isOpen: e, onClose: n, primaryAction: r, secondaryAction
|
|
|
10100
10100
|
}
|
|
10101
10101
|
),
|
|
10102
10102
|
o && /* @__PURE__ */ v.jsx(
|
|
10103
|
-
|
|
10103
|
+
at,
|
|
10104
10104
|
{
|
|
10105
10105
|
label: o.label ?? "",
|
|
10106
10106
|
onClick: o.action,
|
|
@@ -10412,7 +10412,7 @@ function eo(t, e) {
|
|
|
10412
10412
|
}
|
|
10413
10413
|
return t === e;
|
|
10414
10414
|
}
|
|
10415
|
-
var
|
|
10415
|
+
var it = (t, e) => t.forEach(e);
|
|
10416
10416
|
function Yr(t, e, n) {
|
|
10417
10417
|
if (Se.arr(t)) {
|
|
10418
10418
|
for (let r = 0; r < t.length; r++)
|
|
@@ -10426,7 +10426,7 @@ var or = (t) => Se.und(t) ? [] : Se.arr(t) ? t : [t];
|
|
|
10426
10426
|
function Fa(t, e) {
|
|
10427
10427
|
if (t.size) {
|
|
10428
10428
|
const n = Array.from(t);
|
|
10429
|
-
t.clear(),
|
|
10429
|
+
t.clear(), it(n, e);
|
|
10430
10430
|
}
|
|
10431
10431
|
}
|
|
10432
10432
|
var Na = (t, ...e) => Fa(t, (n) => n(...e)), Rd = () => typeof window > "u" || !window.navigator || /ServerSideRendering|^Deno\//.test(window.navigator.userAgent), Nd, fm, Po = null, dm = !1, Dd = uf, A8 = (t) => {
|
|
@@ -11021,7 +11021,7 @@ var rs = Symbol.for("Animated:node"), n6 = (t) => !!t && t[rs] === t, Ur = (t) =
|
|
|
11021
11021
|
this.source = t, this.payload = this._makePayload(t);
|
|
11022
11022
|
}
|
|
11023
11023
|
reset() {
|
|
11024
|
-
this.payload &&
|
|
11024
|
+
this.payload && it(this.payload, (t) => t.reset());
|
|
11025
11025
|
}
|
|
11026
11026
|
/** Create a payload set. */
|
|
11027
11027
|
_makePayload(t) {
|
|
@@ -11034,7 +11034,7 @@ var rs = Symbol.for("Animated:node"), n6 = (t) => !!t && t[rs] === t, Ur = (t) =
|
|
|
11034
11034
|
_addToPayload(t) {
|
|
11035
11035
|
Jc.dependencies && pr(t) && Jc.dependencies.add(t);
|
|
11036
11036
|
const e = Ru(t);
|
|
11037
|
-
e &&
|
|
11037
|
+
e && it(e, (n) => this.add(n));
|
|
11038
11038
|
}
|
|
11039
11039
|
}, Cm = class extends Nu {
|
|
11040
11040
|
constructor(t) {
|
|
@@ -11078,14 +11078,14 @@ var Yp = (t, e) => {
|
|
|
11078
11078
|
return;
|
|
11079
11079
|
(l ? e.applyAnimatedValues(l, s.getValue(!0)) : !1) === !1 && u();
|
|
11080
11080
|
}, h = new o6(f, c), d = Ve();
|
|
11081
|
-
Md(() => (d.current = h,
|
|
11082
|
-
d.current && (
|
|
11081
|
+
Md(() => (d.current = h, it(c, (l) => na(l, h)), () => {
|
|
11082
|
+
d.current && (it(
|
|
11083
11083
|
d.current.deps,
|
|
11084
11084
|
(l) => ns(l, d.current)
|
|
11085
11085
|
), We.cancel(d.current.update));
|
|
11086
11086
|
})), De(f, []), bm(() => () => {
|
|
11087
11087
|
const l = d.current;
|
|
11088
|
-
|
|
11088
|
+
it(l.deps, (g) => ns(g, l));
|
|
11089
11089
|
});
|
|
11090
11090
|
const p = e.getComponentProps(s.getValue());
|
|
11091
11091
|
return /* @__PURE__ */ Ce.createElement(t, { ...p, ref: a });
|
|
@@ -11702,7 +11702,7 @@ var Xp = class extends Error {
|
|
|
11702
11702
|
}
|
|
11703
11703
|
if (k && wo(this) && (s.changed && !E ? D = !0 : D || this._stop(c)), !l && ((D || pr(c)) && (s.values = w.getPayload(), s.toValues = pr(f) ? null : O == os ? [1] : or(_)), s.immediate != T && (s.immediate = T, !T && !E && this._set(c)), D)) {
|
|
11704
11704
|
const { onRest: j } = s;
|
|
11705
|
-
|
|
11705
|
+
it(_6, (Y) => n1(this, e, Y));
|
|
11706
11706
|
const F = xr(this, Aa(this, c));
|
|
11707
11707
|
Na(this._pendingCalls, F), this._pendingCalls.add(n), s.changed && We.batchedUpdates(() => {
|
|
11708
11708
|
var Y;
|
|
@@ -11773,7 +11773,7 @@ var Xp = class extends Error {
|
|
|
11773
11773
|
if (wo(this)) {
|
|
11774
11774
|
Zp(this, !1);
|
|
11775
11775
|
const n = this.animation;
|
|
11776
|
-
|
|
11776
|
+
it(n.values, (o) => {
|
|
11777
11777
|
o.done = !0;
|
|
11778
11778
|
}), n.toValues && (n.onChange = n.onPause = n.onResume = void 0), ts(this, {
|
|
11779
11779
|
type: "idle",
|
|
@@ -11894,7 +11894,7 @@ var C6 = ["onStart", "onChange", "onRest"], A6 = 1, S6 = class {
|
|
|
11894
11894
|
stop(t, e) {
|
|
11895
11895
|
if (t !== !!t && (e = t), e) {
|
|
11896
11896
|
const n = this.springs;
|
|
11897
|
-
|
|
11897
|
+
it(or(e), (r) => n[r].stop(!!t));
|
|
11898
11898
|
} else
|
|
11899
11899
|
as(this._state, this._lastAsyncId), this.each((n) => n.stop(!!t));
|
|
11900
11900
|
return this;
|
|
@@ -11905,7 +11905,7 @@ var C6 = ["onStart", "onChange", "onRest"], A6 = 1, S6 = class {
|
|
|
11905
11905
|
this.start({ pause: !0 });
|
|
11906
11906
|
else {
|
|
11907
11907
|
const e = this.springs;
|
|
11908
|
-
|
|
11908
|
+
it(or(t), (n) => e[n].pause());
|
|
11909
11909
|
}
|
|
11910
11910
|
return this;
|
|
11911
11911
|
}
|
|
@@ -11915,7 +11915,7 @@ var C6 = ["onStart", "onChange", "onRest"], A6 = 1, S6 = class {
|
|
|
11915
11915
|
this.start({ pause: !1 });
|
|
11916
11916
|
else {
|
|
11917
11917
|
const e = this.springs;
|
|
11918
|
-
|
|
11918
|
+
it(or(t), (n) => e[n].resume());
|
|
11919
11919
|
}
|
|
11920
11920
|
return this;
|
|
11921
11921
|
}
|
|
@@ -11956,7 +11956,7 @@ async function Dm(t, e, n) {
|
|
|
11956
11956
|
const { keys: r, to: o, from: i, loop: a, onRest: s, onResolve: c } = e, u = Se.obj(e.default) && e.default;
|
|
11957
11957
|
a && (e.loop = !1), o === !1 && (e.to = null), i === !1 && (e.from = null);
|
|
11958
11958
|
const f = Se.arr(o) || Se.fun(o) ? o : void 0;
|
|
11959
|
-
f ? (e.to = void 0, e.onRest = void 0, u && (u.onRest = void 0)) :
|
|
11959
|
+
f ? (e.to = void 0, e.onRest = void 0, u && (u.onRest = void 0)) : it(C6, (g) => {
|
|
11960
11960
|
const m = e[g];
|
|
11961
11961
|
if (Se.fun(m)) {
|
|
11962
11962
|
const y = t._events[g];
|
|
@@ -12007,7 +12007,7 @@ async function Dm(t, e, n) {
|
|
|
12007
12007
|
}
|
|
12008
12008
|
function r1(t, e) {
|
|
12009
12009
|
const n = { ...t.springs };
|
|
12010
|
-
return e &&
|
|
12010
|
+
return e && it(or(e), (r) => {
|
|
12011
12011
|
Se.und(r.keys) && (r = ss(r)), Se.obj(r.to) || (r = { ...r, to: void 0 }), Bm(n, r, (o) => Mm(o));
|
|
12012
12012
|
}), Pm(t, n), n;
|
|
12013
12013
|
}
|
|
@@ -12021,12 +12021,12 @@ function Mm(t, e) {
|
|
|
12021
12021
|
return n.key = t, e && na(n, e), n;
|
|
12022
12022
|
}
|
|
12023
12023
|
function Bm(t, e, n) {
|
|
12024
|
-
e.keys &&
|
|
12024
|
+
e.keys && it(e.keys, (r) => {
|
|
12025
12025
|
(t[r] || (t[r] = n(r)))._prepareNode(e);
|
|
12026
12026
|
});
|
|
12027
12027
|
}
|
|
12028
12028
|
function km(t, e) {
|
|
12029
|
-
|
|
12029
|
+
it(e, (n) => {
|
|
12030
12030
|
Bm(t.springs, n, (r) => Mm(r, t));
|
|
12031
12031
|
});
|
|
12032
12032
|
}
|
|
@@ -12048,7 +12048,7 @@ var T6 = () => {
|
|
|
12048
12048
|
const t = [], e = function(r) {
|
|
12049
12049
|
X8();
|
|
12050
12050
|
const o = [];
|
|
12051
|
-
return
|
|
12051
|
+
return it(t, (i, a) => {
|
|
12052
12052
|
if (Se.und(r))
|
|
12053
12053
|
o.push(i.start());
|
|
12054
12054
|
else {
|
|
@@ -12063,17 +12063,17 @@ var T6 = () => {
|
|
|
12063
12063
|
const o = t.indexOf(r);
|
|
12064
12064
|
~o && t.splice(o, 1);
|
|
12065
12065
|
}, e.pause = function() {
|
|
12066
|
-
return
|
|
12066
|
+
return it(t, (r) => r.pause(...arguments)), this;
|
|
12067
12067
|
}, e.resume = function() {
|
|
12068
|
-
return
|
|
12068
|
+
return it(t, (r) => r.resume(...arguments)), this;
|
|
12069
12069
|
}, e.set = function(r) {
|
|
12070
|
-
|
|
12070
|
+
it(t, (o, i) => {
|
|
12071
12071
|
const a = Se.fun(r) ? r(i, o) : r;
|
|
12072
12072
|
a && o.set(a);
|
|
12073
12073
|
});
|
|
12074
12074
|
}, e.start = function(r) {
|
|
12075
12075
|
const o = [];
|
|
12076
|
-
return
|
|
12076
|
+
return it(t, (i, a) => {
|
|
12077
12077
|
if (Se.und(r))
|
|
12078
12078
|
o.push(i.start());
|
|
12079
12079
|
else {
|
|
@@ -12082,9 +12082,9 @@ var T6 = () => {
|
|
|
12082
12082
|
}
|
|
12083
12083
|
}), o;
|
|
12084
12084
|
}, e.stop = function() {
|
|
12085
|
-
return
|
|
12085
|
+
return it(t, (r) => r.stop(...arguments)), this;
|
|
12086
12086
|
}, e.update = function(r) {
|
|
12087
|
-
return
|
|
12087
|
+
return it(t, (o, i) => o.update(this._getProps(r, o, i))), this;
|
|
12088
12088
|
};
|
|
12089
12089
|
const n = function(r, o, i) {
|
|
12090
12090
|
return Se.fun(r) ? r(i, o) : r;
|
|
@@ -12113,7 +12113,7 @@ function x6(t, e, n) {
|
|
|
12113
12113
|
[]
|
|
12114
12114
|
), c = Ve([...s.ctrls]), u = [], f = $p(t) || 0;
|
|
12115
12115
|
Rr(() => {
|
|
12116
|
-
|
|
12116
|
+
it(c.current.slice(t, f), (y) => {
|
|
12117
12117
|
h6(y, o), y.stop(!0);
|
|
12118
12118
|
}), c.current.length = t, h(f, t);
|
|
12119
12119
|
}, [t]), Rr(() => {
|
|
@@ -12129,13 +12129,13 @@ function x6(t, e, n) {
|
|
|
12129
12129
|
Md(() => {
|
|
12130
12130
|
i.current++, s.ctrls = c.current;
|
|
12131
12131
|
const { queue: y } = s;
|
|
12132
|
-
y.length && (s.queue = [],
|
|
12132
|
+
y.length && (s.queue = [], it(y, (w) => w())), it(c.current, (w, E) => {
|
|
12133
12133
|
o == null || o.add(w), g && w.start({ default: p });
|
|
12134
12134
|
const b = u[E];
|
|
12135
12135
|
b && (p6(w, b.ref), w.ref ? w.queue.push(b) : w.start(b));
|
|
12136
12136
|
});
|
|
12137
12137
|
}), bm(() => () => {
|
|
12138
|
-
|
|
12138
|
+
it(s.ctrls, (y) => y.stop(!0));
|
|
12139
12139
|
});
|
|
12140
12140
|
const m = d.map((y) => ({ ...y }));
|
|
12141
12141
|
return o ? [m, o] : m;
|
|
@@ -12163,20 +12163,20 @@ var R6 = class extends Fd {
|
|
|
12163
12163
|
return this.calc(...t);
|
|
12164
12164
|
}
|
|
12165
12165
|
_start() {
|
|
12166
|
-
this.idle && !o1(this._active) && (this.idle = !1,
|
|
12166
|
+
this.idle && !o1(this._active) && (this.idle = !1, it(Ru(this), (t) => {
|
|
12167
12167
|
t.done = !1;
|
|
12168
12168
|
}), Mr.skipAnimation ? (We.batchedUpdates(() => this.advance()), Sl(this)) : Iu.start(this));
|
|
12169
12169
|
}
|
|
12170
12170
|
// Observe our sources only when we're observed.
|
|
12171
12171
|
_attach() {
|
|
12172
12172
|
let t = 1;
|
|
12173
|
-
|
|
12173
|
+
it(or(this.source), (e) => {
|
|
12174
12174
|
pr(e) && na(e, this), pf(e) && (e.idle || this._active.add(e), t = Math.max(t, e.priority + 1));
|
|
12175
12175
|
}), this.priority = t, this._start();
|
|
12176
12176
|
}
|
|
12177
12177
|
// Stop observing our sources once we have no observers.
|
|
12178
12178
|
_detach() {
|
|
12179
|
-
|
|
12179
|
+
it(or(this.source), (t) => {
|
|
12180
12180
|
pr(t) && ns(t, this);
|
|
12181
12181
|
}), this._active.clear(), Sl(this);
|
|
12182
12182
|
}
|
|
@@ -12195,7 +12195,7 @@ function o1(t) {
|
|
|
12195
12195
|
return !t.size || Array.from(t).every(N6);
|
|
12196
12196
|
}
|
|
12197
12197
|
function Sl(t) {
|
|
12198
|
-
t.idle || (t.idle = !0,
|
|
12198
|
+
t.idle || (t.idle = !0, it(Ru(t), (e) => {
|
|
12199
12199
|
e.done = !0;
|
|
12200
12200
|
}), ts(t, {
|
|
12201
12201
|
type: "idle",
|
|
@@ -12311,7 +12311,7 @@ var k6 = /^(matrix|translate|scale|rotate|skew)/, L6 = /^(translate)/, F6 = /^(r
|
|
|
12311
12311
|
}
|
|
12312
12312
|
_get() {
|
|
12313
12313
|
let t = "", e = !0;
|
|
12314
|
-
return
|
|
12314
|
+
return it(this.inputs, (n, r) => {
|
|
12315
12315
|
const o = Yn(n[0]), [i, a] = this.transforms[r](
|
|
12316
12316
|
Se.arr(o) ? o : n.map(Yn)
|
|
12317
12317
|
);
|
|
@@ -12320,9 +12320,9 @@ var k6 = /^(matrix|translate|scale|rotate|skew)/, L6 = /^(translate)/, F6 = /^(r
|
|
|
12320
12320
|
}
|
|
12321
12321
|
// Start observing our inputs once we have an observer.
|
|
12322
12322
|
observerAdded(t) {
|
|
12323
|
-
t == 1 &&
|
|
12323
|
+
t == 1 && it(
|
|
12324
12324
|
this.inputs,
|
|
12325
|
-
(e) =>
|
|
12325
|
+
(e) => it(
|
|
12326
12326
|
e,
|
|
12327
12327
|
(n) => pr(n) && na(n, this)
|
|
12328
12328
|
)
|
|
@@ -12330,9 +12330,9 @@ var k6 = /^(matrix|translate|scale|rotate|skew)/, L6 = /^(translate)/, F6 = /^(r
|
|
|
12330
12330
|
}
|
|
12331
12331
|
// Stop observing our inputs once we have no observers.
|
|
12332
12332
|
observerRemoved(t) {
|
|
12333
|
-
t == 0 &&
|
|
12333
|
+
t == 0 && it(
|
|
12334
12334
|
this.inputs,
|
|
12335
|
-
(e) =>
|
|
12335
|
+
(e) => it(
|
|
12336
12336
|
e,
|
|
12337
12337
|
(n) => pr(n) && ns(n, this)
|
|
12338
12338
|
)
|
|
@@ -18638,7 +18638,7 @@ function R9() {
|
|
|
18638
18638
|
/* @__PURE__ */ v.jsx("div", { className: "border-b border-gray-200 bg-gray-50 px-6 pb-3 pt-4 shadow", children: /* @__PURE__ */ v.jsx("h2", { className: "text-3xl", children: "Oops!" }) }),
|
|
18639
18639
|
/* @__PURE__ */ v.jsx("p", { className: "mt-4 px-6 text-gray-900", children: t("sorrySomethingWentWrong") }),
|
|
18640
18640
|
/* @__PURE__ */ v.jsx("div", { className: "mt-10 p-6", children: /* @__PURE__ */ v.jsx(
|
|
18641
|
-
|
|
18641
|
+
at,
|
|
18642
18642
|
{
|
|
18643
18643
|
onClick: () => {
|
|
18644
18644
|
n(!0), window.location.replace("/");
|
|
@@ -31874,7 +31874,7 @@ function sR({ onScan: t }) {
|
|
|
31874
31874
|
},
|
|
31875
31875
|
children: /* @__PURE__ */ v.jsx("img", { src: Uu, alt: "camera-switch" })
|
|
31876
31876
|
}
|
|
31877
|
-
) : /* @__PURE__ */ v.jsx("div", { className: "absolute left-1/2 right-1/2 top-1/2 flex items-center justify-center", children: /* @__PURE__ */ v.jsx(
|
|
31877
|
+
) : /* @__PURE__ */ v.jsx("div", { className: "absolute left-1/2 right-1/2 top-1/2 flex items-center justify-center", children: /* @__PURE__ */ v.jsx(at, { label: e("enableCamera"), disabled: s, onClick: h }) })
|
|
31878
31878
|
] });
|
|
31879
31879
|
}
|
|
31880
31880
|
function pa({ data: t, dataSetter: e, setDefer: n, label: r = "" }) {
|
|
@@ -31941,8 +31941,8 @@ function cR() {
|
|
|
31941
31941
|
/* @__PURE__ */ v.jsx(kt, { children: /* @__PURE__ */ v.jsx("div", { className: "flex h-16 items-center", children: /* @__PURE__ */ v.jsx("p", { children: t("scanOrEnterX", { x: "code" }) }) }) }),
|
|
31942
31942
|
/* @__PURE__ */ v.jsx(Bt, { children: /* @__PURE__ */ v.jsx(Ci, { onSubmit: d, children: /* @__PURE__ */ v.jsx(pa, { data: o, dataSetter: i, setDefer: s, label: t("contactIdentifier") }) }) }),
|
|
31943
31943
|
/* @__PURE__ */ v.jsx(pn, { children: /* @__PURE__ */ v.jsxs("div", { className: "flex flex-col gap-2", children: [
|
|
31944
|
-
/* @__PURE__ */ v.jsx(
|
|
31945
|
-
r.inputData.enable_email_identification && /* @__PURE__ */ v.jsx(
|
|
31944
|
+
/* @__PURE__ */ v.jsx(at, { label: t("continue"), onClick: d, pending: c }),
|
|
31945
|
+
r.inputData.enable_email_identification && /* @__PURE__ */ v.jsx(at, { label: t("useEmail"), variant: "secondary", onClick: () => f("email") })
|
|
31946
31946
|
] }) })
|
|
31947
31947
|
] }) });
|
|
31948
31948
|
}
|
|
@@ -32028,7 +32028,7 @@ function $u({ redirectRoute: t }) {
|
|
|
32028
32028
|
) }) }),
|
|
32029
32029
|
/* @__PURE__ */ v.jsx(pn, { children: /* @__PURE__ */ v.jsxs("div", { className: "flex flex-col gap-2", children: [
|
|
32030
32030
|
/* @__PURE__ */ v.jsx(
|
|
32031
|
-
|
|
32031
|
+
at,
|
|
32032
32032
|
{
|
|
32033
32033
|
label: n("continue"),
|
|
32034
32034
|
className: "w-full",
|
|
@@ -32038,7 +32038,7 @@ function $u({ redirectRoute: t }) {
|
|
|
32038
32038
|
}
|
|
32039
32039
|
),
|
|
32040
32040
|
/* @__PURE__ */ v.jsx(
|
|
32041
|
-
|
|
32041
|
+
at,
|
|
32042
32042
|
{
|
|
32043
32043
|
label: n("useIdentifier"),
|
|
32044
32044
|
variant: "secondary",
|
|
@@ -32096,7 +32096,7 @@ function pR() {
|
|
|
32096
32096
|
/* @__PURE__ */ v.jsx(kt, { children: /* @__PURE__ */ v.jsx("div", { className: "flex h-16 items-center", children: /* @__PURE__ */ v.jsx("p", { children: t("scanGiftcard") }) }) }),
|
|
32097
32097
|
/* @__PURE__ */ v.jsx(Bt, { children: /* @__PURE__ */ v.jsx(pa, { data: r, dataSetter: o, setDefer: c, label: t("hash") }) }),
|
|
32098
32098
|
/* @__PURE__ */ v.jsx(pn, { children: /* @__PURE__ */ v.jsx(
|
|
32099
|
-
|
|
32099
|
+
at,
|
|
32100
32100
|
{
|
|
32101
32101
|
label: t("submit"),
|
|
32102
32102
|
className: "w-full",
|
|
@@ -32113,7 +32113,7 @@ function gR() {
|
|
|
32113
32113
|
/* @__PURE__ */ v.jsx(kt, { children: /* @__PURE__ */ v.jsx("div", { className: "flex h-16 items-center", children: /* @__PURE__ */ v.jsx("p", { children: t("chooseType") }) }) }),
|
|
32114
32114
|
/* @__PURE__ */ v.jsx(Bt, { children: /* @__PURE__ */ v.jsxs("div", { className: "flex gap-2", children: [
|
|
32115
32115
|
/* @__PURE__ */ v.jsx(
|
|
32116
|
-
|
|
32116
|
+
at,
|
|
32117
32117
|
{
|
|
32118
32118
|
className: "grow",
|
|
32119
32119
|
label: t("redeem"),
|
|
@@ -32121,7 +32121,7 @@ function gR() {
|
|
|
32121
32121
|
}
|
|
32122
32122
|
),
|
|
32123
32123
|
/* @__PURE__ */ v.jsx(
|
|
32124
|
-
|
|
32124
|
+
at,
|
|
32125
32125
|
{
|
|
32126
32126
|
className: "grow",
|
|
32127
32127
|
label: t("topUp"),
|
|
@@ -32204,7 +32204,7 @@ function mR() {
|
|
|
32204
32204
|
) })
|
|
32205
32205
|
] }) })
|
|
32206
32206
|
] }) }),
|
|
32207
|
-
E() && /* @__PURE__ */ v.jsx(pn, { children: /* @__PURE__ */ v.jsx(
|
|
32207
|
+
E() && /* @__PURE__ */ v.jsx(pn, { children: /* @__PURE__ */ v.jsx(at, { label: "", className: "w-full", ...E(), pending: f }) })
|
|
32208
32208
|
] }) }) : /* @__PURE__ */ v.jsx(Pr, {});
|
|
32209
32209
|
}
|
|
32210
32210
|
function yR({ value: t, valueSetter: e, enabled: n }) {
|
|
@@ -32312,7 +32312,7 @@ function Hy({ title: t, balance: e, balanceName: n, transaction: r, pending: o }
|
|
|
32312
32312
|
] }) }) })
|
|
32313
32313
|
] }) }),
|
|
32314
32314
|
/* @__PURE__ */ v.jsx(pn, { children: /* @__PURE__ */ v.jsx(
|
|
32315
|
-
|
|
32315
|
+
at,
|
|
32316
32316
|
{
|
|
32317
32317
|
label: i("confirmAndPay", { amount: Ji(a, c.currency) }),
|
|
32318
32318
|
className: "w-full",
|
|
@@ -32456,7 +32456,7 @@ function lh({ redirectRoute: t }) {
|
|
|
32456
32456
|
) }) }),
|
|
32457
32457
|
/* @__PURE__ */ v.jsx(pn, { children: /* @__PURE__ */ v.jsxs("div", { className: "flex flex-col gap-2", children: [
|
|
32458
32458
|
/* @__PURE__ */ v.jsx(
|
|
32459
|
-
|
|
32459
|
+
at,
|
|
32460
32460
|
{
|
|
32461
32461
|
label: e("continue"),
|
|
32462
32462
|
onClick: l,
|
|
@@ -32465,7 +32465,7 @@ function lh({ redirectRoute: t }) {
|
|
|
32465
32465
|
}
|
|
32466
32466
|
),
|
|
32467
32467
|
r.inputData.enable_email_identification && /* @__PURE__ */ v.jsx(
|
|
32468
|
-
|
|
32468
|
+
at,
|
|
32469
32469
|
{
|
|
32470
32470
|
label: e("useEmail"),
|
|
32471
32471
|
variant: "secondary",
|
|
@@ -32519,7 +32519,7 @@ function fh({ redirectRoute: t }) {
|
|
|
32519
32519
|
) })
|
|
32520
32520
|
] }) }),
|
|
32521
32521
|
/* @__PURE__ */ v.jsx(pn, { children: /* @__PURE__ */ v.jsx(
|
|
32522
|
-
|
|
32522
|
+
at,
|
|
32523
32523
|
{
|
|
32524
32524
|
label: e("continue"),
|
|
32525
32525
|
className: "w-full",
|
|
@@ -32598,7 +32598,7 @@ function SR({ contact: t }) {
|
|
|
32598
32598
|
] }),
|
|
32599
32599
|
/* @__PURE__ */ v.jsxs("div", { className: "inline-grid gap-2 lg:grid-cols-2", children: [
|
|
32600
32600
|
/* @__PURE__ */ v.jsx(
|
|
32601
|
-
|
|
32601
|
+
at,
|
|
32602
32602
|
{
|
|
32603
32603
|
label: e("goToX", { x: "identifiers" }),
|
|
32604
32604
|
variant: "secondary",
|
|
@@ -32607,7 +32607,7 @@ function SR({ contact: t }) {
|
|
|
32607
32607
|
}
|
|
32608
32608
|
),
|
|
32609
32609
|
/* @__PURE__ */ v.jsx(
|
|
32610
|
-
|
|
32610
|
+
at,
|
|
32611
32611
|
{
|
|
32612
32612
|
before: /* @__PURE__ */ v.jsx(In, { icon: "edit" }),
|
|
32613
32613
|
label: e("editProfile"),
|
|
@@ -32690,7 +32690,7 @@ function xR() {
|
|
|
32690
32690
|
n && n.length ? /* @__PURE__ */ v.jsx("div", { children: n.slice(0, 5).map((r) => /* @__PURE__ */ v.jsx(Yy, { loyaltyTransaction: r }, r.uuid)) }) : /* @__PURE__ */ v.jsx("p", { className: "text-sm text-core-gray-500", children: t("noActivity") })
|
|
32691
32691
|
] }),
|
|
32692
32692
|
/* @__PURE__ */ v.jsx(
|
|
32693
|
-
|
|
32693
|
+
at,
|
|
32694
32694
|
{
|
|
32695
32695
|
label: `${t("all")} ${t("activities").toLowerCase()}`,
|
|
32696
32696
|
variant: "secondary",
|
|
@@ -32735,7 +32735,7 @@ function OR() {
|
|
|
32735
32735
|
/* @__PURE__ */ v.jsx("div", { children: e.map((r) => /* @__PURE__ */ v.jsx(Ky, { subscription: r }, r.subscription_type.uuid)) })
|
|
32736
32736
|
] }),
|
|
32737
32737
|
/* @__PURE__ */ v.jsx(
|
|
32738
|
-
|
|
32738
|
+
at,
|
|
32739
32739
|
{
|
|
32740
32740
|
label: t("change"),
|
|
32741
32741
|
before: /* @__PURE__ */ v.jsx(In, { icon: "edit" }),
|
|
@@ -32760,7 +32760,7 @@ function RR() {
|
|
|
32760
32760
|
function Bs({ label: t, path: e }) {
|
|
32761
32761
|
const n = tn();
|
|
32762
32762
|
return /* @__PURE__ */ v.jsx("div", { className: "flex h-16 items-center text-base text-core-gray-900", children: /* @__PURE__ */ v.jsx(
|
|
32763
|
-
|
|
32763
|
+
at,
|
|
32764
32764
|
{
|
|
32765
32765
|
label: t,
|
|
32766
32766
|
variant: "link-gray",
|
|
@@ -32813,19 +32813,16 @@ function DR() {
|
|
|
32813
32813
|
p.subscription_type.uuid
|
|
32814
32814
|
))
|
|
32815
32815
|
] }) }) }),
|
|
32816
|
-
/* @__PURE__ */ v.
|
|
32817
|
-
|
|
32818
|
-
|
|
32819
|
-
|
|
32820
|
-
|
|
32821
|
-
|
|
32822
|
-
|
|
32823
|
-
|
|
32824
|
-
|
|
32825
|
-
|
|
32826
|
-
),
|
|
32827
|
-
/* @__PURE__ */ v.jsx(it, { label: "Log preferences", onClick: () => console.log(i) })
|
|
32828
|
-
] })
|
|
32816
|
+
/* @__PURE__ */ v.jsx(pn, { children: /* @__PURE__ */ v.jsx(
|
|
32817
|
+
at,
|
|
32818
|
+
{
|
|
32819
|
+
label: t("saveChanges"),
|
|
32820
|
+
className: "w-full",
|
|
32821
|
+
onClick: h,
|
|
32822
|
+
pending: s,
|
|
32823
|
+
disabled: !d() || s
|
|
32824
|
+
}
|
|
32825
|
+
) })
|
|
32829
32826
|
] }) }) : /* @__PURE__ */ v.jsx(Yu, {});
|
|
32830
32827
|
}
|
|
32831
32828
|
function PR() {
|
|
@@ -32920,7 +32917,7 @@ function PR() {
|
|
|
32920
32917
|
}) : /* @__PURE__ */ v.jsx(Pu, { rows: 10 })
|
|
32921
32918
|
] }) }),
|
|
32922
32919
|
/* @__PURE__ */ v.jsx(pn, { children: /* @__PURE__ */ v.jsx(
|
|
32923
|
-
|
|
32920
|
+
at,
|
|
32924
32921
|
{
|
|
32925
32922
|
label: t("saveChanges"),
|
|
32926
32923
|
className: "w-full",
|
|
@@ -32979,7 +32976,7 @@ function BR() {
|
|
|
32979
32976
|
))
|
|
32980
32977
|
] }) }) }),
|
|
32981
32978
|
/* @__PURE__ */ v.jsx(pn, { children: /* @__PURE__ */ v.jsx(
|
|
32982
|
-
|
|
32979
|
+
at,
|
|
32983
32980
|
{
|
|
32984
32981
|
label: t("addIdentifier"),
|
|
32985
32982
|
className: "w-full",
|
|
@@ -33032,7 +33029,7 @@ function kR() {
|
|
|
33032
33029
|
}
|
|
33033
33030
|
) }) }),
|
|
33034
33031
|
/* @__PURE__ */ v.jsx(pn, { children: /* @__PURE__ */ v.jsx(
|
|
33035
|
-
|
|
33032
|
+
at,
|
|
33036
33033
|
{
|
|
33037
33034
|
label: t("addIdentifier"),
|
|
33038
33035
|
className: "w-full",
|
|
@@ -33379,7 +33376,7 @@ function KR() {
|
|
|
33379
33376
|
amount_in_cents: l,
|
|
33380
33377
|
contact_identifier_value: (e == null ? void 0 : e.contactIdentifier) ?? void 0
|
|
33381
33378
|
}).then((g) => {
|
|
33382
|
-
u(), i(), s(g.data.data), r(t("prepaidTransactionCreated"));
|
|
33379
|
+
u(), i(), s == null || s(g.data.data), r(t("prepaidTransactionCreated"));
|
|
33383
33380
|
}).catch(n).finally(() => h(!1));
|
|
33384
33381
|
};
|
|
33385
33382
|
return c ? /* @__PURE__ */ v.jsx(Nn, { children: /* @__PURE__ */ v.jsx(
|
|
@@ -33431,7 +33428,7 @@ function zR({ title: t, balance: e, balanceName: n, transaction: r, pending: o }
|
|
|
33431
33428
|
] }) })
|
|
33432
33429
|
] }) }),
|
|
33433
33430
|
/* @__PURE__ */ v.jsx(pn, { children: /* @__PURE__ */ v.jsx(
|
|
33434
|
-
|
|
33431
|
+
at,
|
|
33435
33432
|
{
|
|
33436
33433
|
label: i("confirmAndPay", {
|
|
33437
33434
|
amount: Ji(u(), a.currency)
|
|
@@ -33450,7 +33447,7 @@ function QR() {
|
|
|
33450
33447
|
amount_in_cents: l,
|
|
33451
33448
|
contact_identifier_value: (e == null ? void 0 : e.contactIdentifier) ?? void 0
|
|
33452
33449
|
}).then((g) => {
|
|
33453
|
-
u(), i(), s(g.data.data), r(t("prepaidTransactionCreated"));
|
|
33450
|
+
u(), i(), s == null || s(g.data.data), r(t("prepaidTransactionCreated"));
|
|
33454
33451
|
}).catch(n).finally(() => h(!1));
|
|
33455
33452
|
};
|
|
33456
33453
|
return c ? /* @__PURE__ */ v.jsx(Nn, { children: /* @__PURE__ */ v.jsx(
|
|
@@ -33469,9 +33466,9 @@ function XR({ setType: t }) {
|
|
|
33469
33466
|
return /* @__PURE__ */ v.jsx(Nn, { children: /* @__PURE__ */ v.jsxs(Ut, { id: Cr, children: [
|
|
33470
33467
|
/* @__PURE__ */ v.jsx(kt, { children: /* @__PURE__ */ v.jsx("div", { className: "flex h-16 items-center", children: /* @__PURE__ */ v.jsx("p", { children: e("Choose type") }) }) }),
|
|
33471
33468
|
/* @__PURE__ */ v.jsx(Bt, { children: /* @__PURE__ */ v.jsxs("div", { className: "flex gap-2", children: [
|
|
33472
|
-
/* @__PURE__ */ v.jsx(
|
|
33469
|
+
/* @__PURE__ */ v.jsx(at, { className: "grow", label: e("pay"), onClick: () => t(cn.PAY_PREPAID) }),
|
|
33473
33470
|
/* @__PURE__ */ v.jsx(
|
|
33474
|
-
|
|
33471
|
+
at,
|
|
33475
33472
|
{
|
|
33476
33473
|
className: "grow",
|
|
33477
33474
|
label: e("topUp"),
|
|
@@ -33508,7 +33505,7 @@ function eN() {
|
|
|
33508
33505
|
/* @__PURE__ */ v.jsx(Nn, { children: /* @__PURE__ */ v.jsxs(Ut, { id: Cr, children: [
|
|
33509
33506
|
/* @__PURE__ */ v.jsx(kt, { children: /* @__PURE__ */ v.jsx("div", { className: "flex h-16 items-center", children: /* @__PURE__ */ v.jsx("p", { children: t("scanOrEnterX", { x: t("voucherCode").toLowerCase() }) }) }) }),
|
|
33510
33507
|
/* @__PURE__ */ v.jsx(Bt, { children: /* @__PURE__ */ v.jsx(pa, { data: o, dataSetter: i, setDefer: u, label: t("code") }) }),
|
|
33511
|
-
/* @__PURE__ */ v.jsx(pn, { children: /* @__PURE__ */ v.jsx(
|
|
33508
|
+
/* @__PURE__ */ v.jsx(pn, { children: /* @__PURE__ */ v.jsx(at, { label: t("submit"), className: "w-full", onClick: l, pending: a }) })
|
|
33512
33509
|
] }) }),
|
|
33513
33510
|
/* @__PURE__ */ v.jsx(
|
|
33514
33511
|
Ho,
|
|
@@ -33540,7 +33537,7 @@ function tN() {
|
|
|
33540
33537
|
/* @__PURE__ */ v.jsx(Bt, { children: /* @__PURE__ */ v.jsx("div", { children: /* @__PURE__ */ v.jsx(hh, { voucher: a, setSelected: () => {
|
|
33541
33538
|
} }) }) }),
|
|
33542
33539
|
/* @__PURE__ */ v.jsx(pn, { children: /* @__PURE__ */ v.jsx(
|
|
33543
|
-
|
|
33540
|
+
at,
|
|
33544
33541
|
{
|
|
33545
33542
|
label: t("redeemVoucher"),
|
|
33546
33543
|
className: "w-full",
|
|
@@ -33573,9 +33570,9 @@ function nN() {
|
|
|
33573
33570
|
}
|
|
33574
33571
|
) }) }),
|
|
33575
33572
|
/* @__PURE__ */ v.jsx(pn, { children: /* @__PURE__ */ v.jsxs("div", { className: "flex flex-col gap-2", children: [
|
|
33576
|
-
/* @__PURE__ */ v.jsx(
|
|
33573
|
+
/* @__PURE__ */ v.jsx(at, { label: t("continue"), onClick: g, pending: c }),
|
|
33577
33574
|
r.inputData.enable_email_identification && /* @__PURE__ */ v.jsx(
|
|
33578
|
-
|
|
33575
|
+
at,
|
|
33579
33576
|
{
|
|
33580
33577
|
label: t("useEmail"),
|
|
33581
33578
|
variant: "secondary",
|
|
@@ -33617,7 +33614,7 @@ function rN() {
|
|
|
33617
33614
|
) }) }),
|
|
33618
33615
|
/* @__PURE__ */ v.jsx(pn, { children: /* @__PURE__ */ v.jsxs("div", { className: "flex flex-col gap-2", children: [
|
|
33619
33616
|
/* @__PURE__ */ v.jsx(
|
|
33620
|
-
|
|
33617
|
+
at,
|
|
33621
33618
|
{
|
|
33622
33619
|
label: t("continue"),
|
|
33623
33620
|
className: "w-full",
|
|
@@ -33627,7 +33624,7 @@ function rN() {
|
|
|
33627
33624
|
}
|
|
33628
33625
|
),
|
|
33629
33626
|
/* @__PURE__ */ v.jsx(
|
|
33630
|
-
|
|
33627
|
+
at,
|
|
33631
33628
|
{
|
|
33632
33629
|
label: t("useIdentifier"),
|
|
33633
33630
|
variant: "secondary",
|