@leatcom/portal-sessions 0.0.91 → 0.0.92
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] = "395bcdea-2b57-4e3c-bf0c-7d807f41263c", t._sentryDebugIdIdentifier = "sentry-dbid-395bcdea-2b57-4e3c-bf0c-7d807f41263c");
|
|
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: "2e700dca94a3e1961c6d5666dafcd49f105f15bb" };
|
|
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
|
+
}, it = ({
|
|
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
|
+
it.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
|
+
it,
|
|
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
|
+
it,
|
|
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 at = (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(), at(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 && at(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 && at(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, at(c, (l) => na(l, h)), () => {
|
|
11082
|
+
d.current && (at(
|
|
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
|
+
at(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
|
+
at(_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
|
+
at(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
|
+
at(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
|
+
at(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
|
+
at(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)) : at(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 && at(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 && at(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
|
+
at(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 at(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 at(t, (r) => r.pause(...arguments)), this;
|
|
12067
12067
|
}, e.resume = function() {
|
|
12068
|
-
return
|
|
12068
|
+
return at(t, (r) => r.resume(...arguments)), this;
|
|
12069
12069
|
}, e.set = function(r) {
|
|
12070
|
-
|
|
12070
|
+
at(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 at(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 at(t, (r) => r.stop(...arguments)), this;
|
|
12086
12086
|
}, e.update = function(r) {
|
|
12087
|
-
return
|
|
12087
|
+
return at(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
|
+
at(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 = [], at(y, (w) => w())), at(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
|
+
at(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, at(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
|
+
at(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
|
+
at(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, at(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 at(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 && at(
|
|
12324
12324
|
this.inputs,
|
|
12325
|
-
(e) =>
|
|
12325
|
+
(e) => at(
|
|
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 && at(
|
|
12334
12334
|
this.inputs,
|
|
12335
|
-
(e) =>
|
|
12335
|
+
(e) => at(
|
|
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
|
+
it,
|
|
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(it, { 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(it, { label: t("continue"), onClick: d, pending: c }),
|
|
31945
|
+
r.inputData.enable_email_identification && /* @__PURE__ */ v.jsx(it, { 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
|
+
it,
|
|
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
|
+
it,
|
|
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
|
+
it,
|
|
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
|
+
it,
|
|
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
|
+
it,
|
|
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(it, { 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
|
+
it,
|
|
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
|
+
it,
|
|
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
|
+
it,
|
|
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
|
+
it,
|
|
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
|
+
it,
|
|
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
|
+
it,
|
|
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
|
+
it,
|
|
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
|
+
it,
|
|
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
|
+
it,
|
|
32764
32764
|
{
|
|
32765
32765
|
label: t,
|
|
32766
32766
|
variant: "link-gray",
|
|
@@ -32792,7 +32792,7 @@ function DR() {
|
|
|
32792
32792
|
);
|
|
32793
32793
|
a(p);
|
|
32794
32794
|
}
|
|
32795
|
-
}, []);
|
|
32795
|
+
}, [r]);
|
|
32796
32796
|
const f = (p) => {
|
|
32797
32797
|
Object.hasOwn(i, p) ? a({ ...i, [p]: !i[p] }) : a({ ...i, [p]: !0 });
|
|
32798
32798
|
}, h = () => {
|
|
@@ -32813,16 +32813,19 @@ function DR() {
|
|
|
32813
32813
|
p.subscription_type.uuid
|
|
32814
32814
|
))
|
|
32815
32815
|
] }) }) }),
|
|
32816
|
-
/* @__PURE__ */ v.
|
|
32817
|
-
|
|
32818
|
-
|
|
32819
|
-
|
|
32820
|
-
|
|
32821
|
-
|
|
32822
|
-
|
|
32823
|
-
|
|
32824
|
-
|
|
32825
|
-
|
|
32816
|
+
/* @__PURE__ */ v.jsxs(pn, { children: [
|
|
32817
|
+
/* @__PURE__ */ v.jsx(
|
|
32818
|
+
it,
|
|
32819
|
+
{
|
|
32820
|
+
label: t("saveChanges"),
|
|
32821
|
+
className: "w-full",
|
|
32822
|
+
onClick: h,
|
|
32823
|
+
pending: s,
|
|
32824
|
+
disabled: !d() || s
|
|
32825
|
+
}
|
|
32826
|
+
),
|
|
32827
|
+
/* @__PURE__ */ v.jsx(it, { label: "Log preferences", onClick: () => console.log(i) })
|
|
32828
|
+
] })
|
|
32826
32829
|
] }) }) : /* @__PURE__ */ v.jsx(Yu, {});
|
|
32827
32830
|
}
|
|
32828
32831
|
function PR() {
|
|
@@ -32917,7 +32920,7 @@ function PR() {
|
|
|
32917
32920
|
}) : /* @__PURE__ */ v.jsx(Pu, { rows: 10 })
|
|
32918
32921
|
] }) }),
|
|
32919
32922
|
/* @__PURE__ */ v.jsx(pn, { children: /* @__PURE__ */ v.jsx(
|
|
32920
|
-
|
|
32923
|
+
it,
|
|
32921
32924
|
{
|
|
32922
32925
|
label: t("saveChanges"),
|
|
32923
32926
|
className: "w-full",
|
|
@@ -32976,7 +32979,7 @@ function BR() {
|
|
|
32976
32979
|
))
|
|
32977
32980
|
] }) }) }),
|
|
32978
32981
|
/* @__PURE__ */ v.jsx(pn, { children: /* @__PURE__ */ v.jsx(
|
|
32979
|
-
|
|
32982
|
+
it,
|
|
32980
32983
|
{
|
|
32981
32984
|
label: t("addIdentifier"),
|
|
32982
32985
|
className: "w-full",
|
|
@@ -33029,7 +33032,7 @@ function kR() {
|
|
|
33029
33032
|
}
|
|
33030
33033
|
) }) }),
|
|
33031
33034
|
/* @__PURE__ */ v.jsx(pn, { children: /* @__PURE__ */ v.jsx(
|
|
33032
|
-
|
|
33035
|
+
it,
|
|
33033
33036
|
{
|
|
33034
33037
|
label: t("addIdentifier"),
|
|
33035
33038
|
className: "w-full",
|
|
@@ -33428,7 +33431,7 @@ function zR({ title: t, balance: e, balanceName: n, transaction: r, pending: o }
|
|
|
33428
33431
|
] }) })
|
|
33429
33432
|
] }) }),
|
|
33430
33433
|
/* @__PURE__ */ v.jsx(pn, { children: /* @__PURE__ */ v.jsx(
|
|
33431
|
-
|
|
33434
|
+
it,
|
|
33432
33435
|
{
|
|
33433
33436
|
label: i("confirmAndPay", {
|
|
33434
33437
|
amount: Ji(u(), a.currency)
|
|
@@ -33466,9 +33469,9 @@ function XR({ setType: t }) {
|
|
|
33466
33469
|
return /* @__PURE__ */ v.jsx(Nn, { children: /* @__PURE__ */ v.jsxs(Ut, { id: Cr, children: [
|
|
33467
33470
|
/* @__PURE__ */ v.jsx(kt, { children: /* @__PURE__ */ v.jsx("div", { className: "flex h-16 items-center", children: /* @__PURE__ */ v.jsx("p", { children: e("Choose type") }) }) }),
|
|
33468
33471
|
/* @__PURE__ */ v.jsx(Bt, { children: /* @__PURE__ */ v.jsxs("div", { className: "flex gap-2", children: [
|
|
33469
|
-
/* @__PURE__ */ v.jsx(
|
|
33472
|
+
/* @__PURE__ */ v.jsx(it, { className: "grow", label: e("pay"), onClick: () => t(cn.PAY_PREPAID) }),
|
|
33470
33473
|
/* @__PURE__ */ v.jsx(
|
|
33471
|
-
|
|
33474
|
+
it,
|
|
33472
33475
|
{
|
|
33473
33476
|
className: "grow",
|
|
33474
33477
|
label: e("topUp"),
|
|
@@ -33505,7 +33508,7 @@ function eN() {
|
|
|
33505
33508
|
/* @__PURE__ */ v.jsx(Nn, { children: /* @__PURE__ */ v.jsxs(Ut, { id: Cr, children: [
|
|
33506
33509
|
/* @__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() }) }) }) }),
|
|
33507
33510
|
/* @__PURE__ */ v.jsx(Bt, { children: /* @__PURE__ */ v.jsx(pa, { data: o, dataSetter: i, setDefer: u, label: t("code") }) }),
|
|
33508
|
-
/* @__PURE__ */ v.jsx(pn, { children: /* @__PURE__ */ v.jsx(
|
|
33511
|
+
/* @__PURE__ */ v.jsx(pn, { children: /* @__PURE__ */ v.jsx(it, { label: t("submit"), className: "w-full", onClick: l, pending: a }) })
|
|
33509
33512
|
] }) }),
|
|
33510
33513
|
/* @__PURE__ */ v.jsx(
|
|
33511
33514
|
Ho,
|
|
@@ -33537,7 +33540,7 @@ function tN() {
|
|
|
33537
33540
|
/* @__PURE__ */ v.jsx(Bt, { children: /* @__PURE__ */ v.jsx("div", { children: /* @__PURE__ */ v.jsx(hh, { voucher: a, setSelected: () => {
|
|
33538
33541
|
} }) }) }),
|
|
33539
33542
|
/* @__PURE__ */ v.jsx(pn, { children: /* @__PURE__ */ v.jsx(
|
|
33540
|
-
|
|
33543
|
+
it,
|
|
33541
33544
|
{
|
|
33542
33545
|
label: t("redeemVoucher"),
|
|
33543
33546
|
className: "w-full",
|
|
@@ -33570,9 +33573,9 @@ function nN() {
|
|
|
33570
33573
|
}
|
|
33571
33574
|
) }) }),
|
|
33572
33575
|
/* @__PURE__ */ v.jsx(pn, { children: /* @__PURE__ */ v.jsxs("div", { className: "flex flex-col gap-2", children: [
|
|
33573
|
-
/* @__PURE__ */ v.jsx(
|
|
33576
|
+
/* @__PURE__ */ v.jsx(it, { label: t("continue"), onClick: g, pending: c }),
|
|
33574
33577
|
r.inputData.enable_email_identification && /* @__PURE__ */ v.jsx(
|
|
33575
|
-
|
|
33578
|
+
it,
|
|
33576
33579
|
{
|
|
33577
33580
|
label: t("useEmail"),
|
|
33578
33581
|
variant: "secondary",
|
|
@@ -33614,7 +33617,7 @@ function rN() {
|
|
|
33614
33617
|
) }) }),
|
|
33615
33618
|
/* @__PURE__ */ v.jsx(pn, { children: /* @__PURE__ */ v.jsxs("div", { className: "flex flex-col gap-2", children: [
|
|
33616
33619
|
/* @__PURE__ */ v.jsx(
|
|
33617
|
-
|
|
33620
|
+
it,
|
|
33618
33621
|
{
|
|
33619
33622
|
label: t("continue"),
|
|
33620
33623
|
className: "w-full",
|
|
@@ -33624,7 +33627,7 @@ function rN() {
|
|
|
33624
33627
|
}
|
|
33625
33628
|
),
|
|
33626
33629
|
/* @__PURE__ */ v.jsx(
|
|
33627
|
-
|
|
33630
|
+
it,
|
|
33628
33631
|
{
|
|
33629
33632
|
label: t("useIdentifier"),
|
|
33630
33633
|
variant: "secondary",
|