gotrip-fx-transaction-form 1.0.39 → 1.0.40
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/index.js +331 -325
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -14525,8 +14525,8 @@ function UY(e) {
|
|
|
14525
14525
|
if (!Ae) return;
|
|
14526
14526
|
const ve = (D = te.keys[0]) == null ? void 0 : D.filter(Boolean);
|
|
14527
14527
|
if (!ve.length) return;
|
|
14528
|
-
const
|
|
14529
|
-
h.has(
|
|
14528
|
+
const Be = i(B.concat(ve));
|
|
14529
|
+
h.has(Be) || h.set(Be, /* @__PURE__ */ new Map()), h.get(Be).set(
|
|
14530
14530
|
ne.extensions.cssVar.var,
|
|
14531
14531
|
Ae.extensions.cssVar.ref
|
|
14532
14532
|
);
|
|
@@ -22956,7 +22956,7 @@ const os = xi(Ok, "itemDeleteTrigger", {
|
|
|
22956
22956
|
xi(Mk, "itemPreviewImage", { forwardAsChild: !0 });
|
|
22957
22957
|
const ls = xi(Lk, "itemSizeText", { forwardAsChild: !0 });
|
|
22958
22958
|
xi(Fk, "label", { forwardAsChild: !0 });
|
|
22959
|
-
const yo = xi(Vk, "trigger", { forwardAsChild: !0 }), us = N9, So = Rk,
|
|
22959
|
+
const yo = xi(Vk, "trigger", { forwardAsChild: !0 }), us = N9, So = Rk, De = Ne(
|
|
22960
22960
|
function(t, r) {
|
|
22961
22961
|
const {
|
|
22962
22962
|
direction: n,
|
|
@@ -23386,7 +23386,7 @@ const { withContext: JZ, PropsProvider: l1e } = Rl({
|
|
|
23386
23386
|
key: "heading"
|
|
23387
23387
|
}), dp = JZ("h2"), { withContext: XZ, PropsProvider: u1e } = Rl({
|
|
23388
23388
|
key: "text"
|
|
23389
|
-
}),
|
|
23389
|
+
}), Ve = XZ("p"), Pu = jr("em", {
|
|
23390
23390
|
base: {
|
|
23391
23391
|
fontStyle: "italic"
|
|
23392
23392
|
}
|
|
@@ -26514,9 +26514,9 @@ const nw = (e) => {
|
|
|
26514
26514
|
return /* @__PURE__ */ S.jsx(nd, { open: t.success.isOpen, children: /* @__PURE__ */ S.jsxs(Rs, { children: [
|
|
26515
26515
|
/* @__PURE__ */ S.jsx(od, {}),
|
|
26516
26516
|
/* @__PURE__ */ S.jsx(ad, { children: /* @__PURE__ */ S.jsxs(id, { children: [
|
|
26517
|
-
/* @__PURE__ */ S.jsx(yh, { children: /* @__PURE__ */ S.jsx(mh, { children: /* @__PURE__ */ S.jsxs(
|
|
26517
|
+
/* @__PURE__ */ S.jsx(yh, { children: /* @__PURE__ */ S.jsx(mh, { children: /* @__PURE__ */ S.jsxs(De, { gap: 2, align: "center", children: [
|
|
26518
26518
|
/* @__PURE__ */ S.jsx(Ha, { icon: lq, color: "green" }),
|
|
26519
|
-
/* @__PURE__ */ S.jsx(
|
|
26519
|
+
/* @__PURE__ */ S.jsx(Ve, { children: "Thành công" })
|
|
26520
26520
|
] }) }) }),
|
|
26521
26521
|
/* @__PURE__ */ S.jsx(sd, { children: /* @__PURE__ */ S.jsx("p", { children: t.success.message }) }),
|
|
26522
26522
|
/* @__PURE__ */ S.jsx(X1, { children: /* @__PURE__ */ S.jsx(JP, { asChild: !0, children: /* @__PURE__ */ S.jsx(
|
|
@@ -26542,9 +26542,9 @@ const nw = (e) => {
|
|
|
26542
26542
|
return /* @__PURE__ */ S.jsx(nd, { open: t.error.isOpen, children: /* @__PURE__ */ S.jsxs(Rs, { children: [
|
|
26543
26543
|
/* @__PURE__ */ S.jsx(od, {}),
|
|
26544
26544
|
/* @__PURE__ */ S.jsx(ad, { children: /* @__PURE__ */ S.jsxs(id, { children: [
|
|
26545
|
-
/* @__PURE__ */ S.jsx(yh, { children: /* @__PURE__ */ S.jsx(mh, { children: /* @__PURE__ */ S.jsxs(
|
|
26545
|
+
/* @__PURE__ */ S.jsx(yh, { children: /* @__PURE__ */ S.jsx(mh, { children: /* @__PURE__ */ S.jsxs(De, { gap: 2, align: "center", children: [
|
|
26546
26546
|
/* @__PURE__ */ S.jsx(Ha, { icon: iq, color: "red" }),
|
|
26547
|
-
/* @__PURE__ */ S.jsx(
|
|
26547
|
+
/* @__PURE__ */ S.jsx(Ve, { children: "Lỗi" })
|
|
26548
26548
|
] }) }) }),
|
|
26549
26549
|
/* @__PURE__ */ S.jsx(sd, { children: /* @__PURE__ */ S.jsx("p", { children: t.error.message }) }),
|
|
26550
26550
|
/* @__PURE__ */ S.jsx(X1, { children: /* @__PURE__ */ S.jsx(JP, { asChild: !0, children: /* @__PURE__ */ S.jsx(
|
|
@@ -28466,10 +28466,10 @@ const fw = [
|
|
|
28466
28466
|
primaryColor: r = "#fe8e0b"
|
|
28467
28467
|
}) => {
|
|
28468
28468
|
const [n] = pL(), a = pA(), i = n.get("for") === "booker", o = Ct(() => (i && (fw[0].useCases[1].hide = !1), fw), [i]);
|
|
28469
|
-
return /* @__PURE__ */ S.jsx(
|
|
28470
|
-
/* @__PURE__ */ S.jsx(
|
|
28469
|
+
return /* @__PURE__ */ S.jsx(De, { gap: 2, flexDir: ["column", null, "row"], children: o.map((s) => /* @__PURE__ */ S.jsxs(De, { flexDir: "column", children: [
|
|
28470
|
+
/* @__PURE__ */ S.jsx(Ve, { textAlign: ["left", null, "center"], fontSize: "24px", fontWeight: "bold", children: s.name }),
|
|
28471
28471
|
/* @__PURE__ */ S.jsx(
|
|
28472
|
-
|
|
28472
|
+
De,
|
|
28473
28473
|
{
|
|
28474
28474
|
_after: {
|
|
28475
28475
|
content: '""',
|
|
@@ -28506,7 +28506,7 @@ const fw = [
|
|
|
28506
28506
|
overflow: "hidden",
|
|
28507
28507
|
children: [
|
|
28508
28508
|
/* @__PURE__ */ S.jsxs(
|
|
28509
|
-
|
|
28509
|
+
De,
|
|
28510
28510
|
{
|
|
28511
28511
|
flexDir: "column",
|
|
28512
28512
|
flex: "1",
|
|
@@ -28515,8 +28515,8 @@ const fw = [
|
|
|
28515
28515
|
justifyContent: "space-between",
|
|
28516
28516
|
gap: 2,
|
|
28517
28517
|
children: [
|
|
28518
|
-
/* @__PURE__ */ S.jsx(
|
|
28519
|
-
|
|
28518
|
+
/* @__PURE__ */ S.jsx(De, { flex: 1, alignItems: "center", children: /* @__PURE__ */ S.jsx(
|
|
28519
|
+
Ve,
|
|
28520
28520
|
{
|
|
28521
28521
|
fontStyle: "italic",
|
|
28522
28522
|
fontSize: ["12px", null, "14px"],
|
|
@@ -28524,7 +28524,7 @@ const fw = [
|
|
|
28524
28524
|
children: c.name
|
|
28525
28525
|
}
|
|
28526
28526
|
) }),
|
|
28527
|
-
/* @__PURE__ */ S.jsx(
|
|
28527
|
+
/* @__PURE__ */ S.jsx(De, { h: "40px", alignItems: "flex-end", children: c.image ? /* @__PURE__ */ S.jsx(
|
|
28528
28528
|
_o,
|
|
28529
28529
|
{
|
|
28530
28530
|
src: c.image,
|
|
@@ -28545,7 +28545,7 @@ const fw = [
|
|
|
28545
28545
|
}
|
|
28546
28546
|
),
|
|
28547
28547
|
!c.enable && /* @__PURE__ */ S.jsx(
|
|
28548
|
-
|
|
28548
|
+
De,
|
|
28549
28549
|
{
|
|
28550
28550
|
justifyContent: "center",
|
|
28551
28551
|
position: "absolute",
|
|
@@ -28555,7 +28555,7 @@ const fw = [
|
|
|
28555
28555
|
bottom: 0,
|
|
28556
28556
|
alignItems: "center",
|
|
28557
28557
|
background: "#ffffffd1",
|
|
28558
|
-
children: /* @__PURE__ */ S.jsx(
|
|
28558
|
+
children: /* @__PURE__ */ S.jsx(Ve, { color: r, fontSize: "14px", fontStyle: "italic", children: "Sắp ra mắt" })
|
|
28559
28559
|
}
|
|
28560
28560
|
)
|
|
28561
28561
|
]
|
|
@@ -29003,16 +29003,16 @@ function Rre(e = {}) {
|
|
|
29003
29003
|
}, E = (D, q = [], ne, be, Ae = !0, ve = !0) => {
|
|
29004
29004
|
if (be && ne && !t.disabled) {
|
|
29005
29005
|
if (o.action = !0, ve && Array.isArray(tt(n, D))) {
|
|
29006
|
-
const
|
|
29007
|
-
Ae && pr(n, D,
|
|
29006
|
+
const Be = ne(tt(n, D), be.argA, be.argB);
|
|
29007
|
+
Ae && pr(n, D, Be);
|
|
29008
29008
|
}
|
|
29009
29009
|
if (ve && Array.isArray(tt(r.errors, D))) {
|
|
29010
|
-
const
|
|
29011
|
-
Ae && pr(r.errors, D,
|
|
29010
|
+
const Be = ne(tt(r.errors, D), be.argA, be.argB);
|
|
29011
|
+
Ae && pr(r.errors, D, Be), Ire(r.errors, D);
|
|
29012
29012
|
}
|
|
29013
29013
|
if (d.touchedFields && ve && Array.isArray(tt(r.touchedFields, D))) {
|
|
29014
|
-
const
|
|
29015
|
-
Ae && pr(r.touchedFields, D,
|
|
29014
|
+
const Be = ne(tt(r.touchedFields, D), be.argA, be.argB);
|
|
29015
|
+
Ae && pr(r.touchedFields, D, Be);
|
|
29016
29016
|
}
|
|
29017
29017
|
d.dirtyFields && (r.dirtyFields = Xd(a, i)), h.state.next({
|
|
29018
29018
|
name: D,
|
|
@@ -29039,16 +29039,16 @@ function Rre(e = {}) {
|
|
|
29039
29039
|
un(ve) || be && be.defaultChecked || q ? pr(i, D, q ? ve : $S(Ae._f)) : se(D, ve), o.mount && x();
|
|
29040
29040
|
}
|
|
29041
29041
|
}, R = (D, q, ne, be, Ae) => {
|
|
29042
|
-
let ve = !1,
|
|
29042
|
+
let ve = !1, Be = !1;
|
|
29043
29043
|
const Ze = {
|
|
29044
29044
|
name: D
|
|
29045
29045
|
};
|
|
29046
29046
|
if (!t.disabled) {
|
|
29047
29047
|
const dt = !!(tt(n, D) && tt(n, D)._f && tt(n, D)._f.disabled);
|
|
29048
29048
|
if (!ne || be) {
|
|
29049
|
-
d.isDirty && (
|
|
29049
|
+
d.isDirty && (Be = r.isDirty, r.isDirty = Ze.isDirty = L(), ve = Be !== Ze.isDirty);
|
|
29050
29050
|
const bt = dt || dc(tt(a, D), q);
|
|
29051
|
-
|
|
29051
|
+
Be = !!(!dt && tt(r.dirtyFields, D)), bt || dt ? mn(r.dirtyFields, D) : pr(r.dirtyFields, D, !0), Ze.dirtyFields = r.dirtyFields, ve = ve || d.dirtyFields && Be !== !bt;
|
|
29052
29052
|
}
|
|
29053
29053
|
if (ne) {
|
|
29054
29054
|
const bt = tt(r.touchedFields, D);
|
|
@@ -29060,7 +29060,7 @@ function Rre(e = {}) {
|
|
|
29060
29060
|
}, I = (D, q, ne, be) => {
|
|
29061
29061
|
const Ae = tt(r.errors, D), ve = d.isValid && lo(q) && r.isValid !== q;
|
|
29062
29062
|
if (t.delayError && ne ? (c = y(() => b(D, ne)), c(t.delayError)) : (clearTimeout(u), c = null, ne ? pr(r.errors, D, ne) : mn(r.errors, D)), (ne ? !dc(Ae, ne) : Ae) || !Ea(be) || ve) {
|
|
29063
|
-
const
|
|
29063
|
+
const Be = {
|
|
29064
29064
|
...be,
|
|
29065
29065
|
...ve && lo(q) ? { isValid: q } : {},
|
|
29066
29066
|
errors: r.errors,
|
|
@@ -29068,8 +29068,8 @@ function Rre(e = {}) {
|
|
|
29068
29068
|
};
|
|
29069
29069
|
r = {
|
|
29070
29070
|
...r,
|
|
29071
|
-
...
|
|
29072
|
-
}, h.state.next(
|
|
29071
|
+
...Be
|
|
29072
|
+
}, h.state.next(Be);
|
|
29073
29073
|
}
|
|
29074
29074
|
}, _ = async (D) => {
|
|
29075
29075
|
A(D, !0);
|
|
@@ -29091,7 +29091,7 @@ function Rre(e = {}) {
|
|
|
29091
29091
|
for (const be in D) {
|
|
29092
29092
|
const Ae = D[be];
|
|
29093
29093
|
if (Ae) {
|
|
29094
|
-
const { _f: ve, ...
|
|
29094
|
+
const { _f: ve, ...Be } = Ae;
|
|
29095
29095
|
if (ve) {
|
|
29096
29096
|
const Ze = s.array.has(ve.name), dt = Ae._f && Ere(Ae._f);
|
|
29097
29097
|
dt && d.validatingFields && A([be], !0);
|
|
@@ -29100,7 +29100,7 @@ function Rre(e = {}) {
|
|
|
29100
29100
|
break;
|
|
29101
29101
|
!q && (tt(bt, ve.name) ? Ze ? Sre(r.errors, bt, ve.name) : pr(r.errors, ve.name, bt[ve.name]) : mn(r.errors, ve.name));
|
|
29102
29102
|
}
|
|
29103
|
-
!Ea(
|
|
29103
|
+
!Ea(Be) && await G(Be, q, ne);
|
|
29104
29104
|
}
|
|
29105
29105
|
}
|
|
29106
29106
|
return ne.valid;
|
|
@@ -29117,7 +29117,7 @@ function Rre(e = {}) {
|
|
|
29117
29117
|
let Ae = q;
|
|
29118
29118
|
if (be) {
|
|
29119
29119
|
const ve = be._f;
|
|
29120
|
-
ve && (!ve.disabled && pr(i, D, TL(q, ve)), Ae = Sp(ve.ref) && sa(q) ? "" : q, AL(ve.ref) ? [...ve.ref.options].forEach((
|
|
29120
|
+
ve && (!ve.disabled && pr(i, D, TL(q, ve)), Ae = Sp(ve.ref) && sa(q) ? "" : q, AL(ve.ref) ? [...ve.ref.options].forEach((Be) => Be.selected = Ae.includes(Be.value)) : ve.refs ? Ch(ve.ref) ? ve.refs.length > 1 ? ve.refs.forEach((Be) => (!Be.defaultChecked || !Be.disabled) && (Be.checked = Array.isArray(Ae) ? !!Ae.find((Ze) => Ze === Be.value) : Ae === Be.value)) : ve.refs[0] && (ve.refs[0].checked = !!Ae) : ve.refs.forEach((Be) => Be.checked = Be.value === Ae) : SA(ve.ref) ? ve.ref.value = "" : (ve.ref.value = Ae, ve.ref.type || h.values.next({
|
|
29121
29121
|
name: D,
|
|
29122
29122
|
values: { ...i }
|
|
29123
29123
|
})));
|
|
@@ -29125,8 +29125,8 @@ function Rre(e = {}) {
|
|
|
29125
29125
|
(ne.shouldDirty || ne.shouldTouch) && R(D, Ae, ne.shouldTouch, ne.shouldDirty, !0), ne.shouldValidate && Ie(D);
|
|
29126
29126
|
}, ce = (D, q, ne) => {
|
|
29127
29127
|
for (const be in q) {
|
|
29128
|
-
const Ae = q[be], ve = `${D}.${be}`,
|
|
29129
|
-
(s.array.has(D) || nn(Ae) ||
|
|
29128
|
+
const Ae = q[be], ve = `${D}.${be}`, Be = tt(n, ve);
|
|
29129
|
+
(s.array.has(D) || nn(Ae) || Be && !Be._f) && !sl(Ae) ? ce(ve, Ae, ne) : se(ve, Ae, ne);
|
|
29130
29130
|
}
|
|
29131
29131
|
}, le = (D, q, ne = {}) => {
|
|
29132
29132
|
const be = tt(n, D), Ae = s.array.has(D), ve = ui(q);
|
|
@@ -29145,7 +29145,7 @@ function Rre(e = {}) {
|
|
|
29145
29145
|
o.mount = !0;
|
|
29146
29146
|
const q = D.target;
|
|
29147
29147
|
let ne = q.name, be = !0;
|
|
29148
|
-
const Ae = tt(n, ne), ve = () => q.type ? $S(Ae._f) : ure(D),
|
|
29148
|
+
const Ae = tt(n, ne), ve = () => q.type ? $S(Ae._f) : ure(D), Be = (Ze) => {
|
|
29149
29149
|
be = Number.isNaN(Ze) || sl(Ze) && isNaN(Ze.getTime()) || dc(Ze, tt(i, ne, Ze));
|
|
29150
29150
|
};
|
|
29151
29151
|
if (Ae) {
|
|
@@ -29161,12 +29161,12 @@ function Rre(e = {}) {
|
|
|
29161
29161
|
return d.isValid && (t.mode === "onBlur" && Vt ? x() : Vt || x()), tr && h.state.next({ name: ne, ...Qe ? {} : ut });
|
|
29162
29162
|
if (!Vt && Qe && h.state.next({ ...r }), t.resolver) {
|
|
29163
29163
|
const { errors: Ut } = await _([ne]);
|
|
29164
|
-
if (
|
|
29164
|
+
if (Be(bt), be) {
|
|
29165
29165
|
const bn = bw(r.errors, n, ne), Ir = bw(Ut, n, bn.name || ne);
|
|
29166
29166
|
Ze = Ir.error, ne = Ir.name, dt = Ea(Ut);
|
|
29167
29167
|
}
|
|
29168
29168
|
} else
|
|
29169
|
-
A([ne], !0), Ze = (await xw(Ae, s.disabled, i, p, t.shouldUseNativeValidation))[ne], A([ne]),
|
|
29169
|
+
A([ne], !0), Ze = (await xw(Ae, s.disabled, i, p, t.shouldUseNativeValidation))[ne], A([ne]), Be(bt), be && (Ze ? dt = !1 : d.isValid && (dt = await G(n, !0)));
|
|
29170
29170
|
be && (Ae._f.deps && Ie(Ae._f.deps), I(ne, dt, Ze, ut));
|
|
29171
29171
|
}
|
|
29172
29172
|
}, X = (D, q) => {
|
|
@@ -29177,10 +29177,10 @@ function Rre(e = {}) {
|
|
|
29177
29177
|
const Ae = Ig(D);
|
|
29178
29178
|
if (t.resolver) {
|
|
29179
29179
|
const ve = await k(un(D) ? D : Ae);
|
|
29180
|
-
ne = Ea(ve), be = D ? !Ae.some((
|
|
29180
|
+
ne = Ea(ve), be = D ? !Ae.some((Be) => tt(ve, Be)) : ne;
|
|
29181
29181
|
} else D ? (be = (await Promise.all(Ae.map(async (ve) => {
|
|
29182
|
-
const
|
|
29183
|
-
return await G(
|
|
29182
|
+
const Be = tt(n, ve);
|
|
29183
|
+
return await G(Be && Be._f ? { [ve]: Be } : Be);
|
|
29184
29184
|
}))).every(Boolean), !(!be && !r.isValid) && x()) : be = ne = await G(n);
|
|
29185
29185
|
return h.state.next({
|
|
29186
29186
|
...!To(D) || d.isValid && ne !== r.isValid ? {} : { name: D },
|
|
@@ -29203,7 +29203,7 @@ function Rre(e = {}) {
|
|
|
29203
29203
|
errors: D ? r.errors : {}
|
|
29204
29204
|
});
|
|
29205
29205
|
}, Z = (D, q, ne) => {
|
|
29206
|
-
const be = (tt(n, D, { _f: {} })._f || {}).ref, Ae = tt(r.errors, D) || {}, { ref: ve, message:
|
|
29206
|
+
const be = (tt(n, D, { _f: {} })._f || {}).ref, Ae = tt(r.errors, D) || {}, { ref: ve, message: Be, type: Ze, ...dt } = Ae;
|
|
29207
29207
|
pr(r.errors, D, {
|
|
29208
29208
|
...dt,
|
|
29209
29209
|
...q,
|
|
@@ -29257,13 +29257,13 @@ function Rre(e = {}) {
|
|
|
29257
29257
|
ref: (Ae) => {
|
|
29258
29258
|
if (Ae) {
|
|
29259
29259
|
ae(D, q), ne = tt(n, D);
|
|
29260
|
-
const ve = un(Ae.value) && Ae.querySelectorAll && Ae.querySelectorAll("input,select,textarea")[0] || Ae,
|
|
29261
|
-
if (
|
|
29260
|
+
const ve = un(Ae.value) && Ae.querySelectorAll && Ae.querySelectorAll("input,select,textarea")[0] || Ae, Be = Are(ve), Ze = ne._f.refs || [];
|
|
29261
|
+
if (Be ? Ze.find((dt) => dt === ve) : ve === ne._f.ref)
|
|
29262
29262
|
return;
|
|
29263
29263
|
pr(n, D, {
|
|
29264
29264
|
_f: {
|
|
29265
29265
|
...ne._f,
|
|
29266
|
-
...
|
|
29266
|
+
...Be ? {
|
|
29267
29267
|
refs: [
|
|
29268
29268
|
...Ze.filter(KS),
|
|
29269
29269
|
ve,
|
|
@@ -29294,8 +29294,8 @@ function Rre(e = {}) {
|
|
|
29294
29294
|
if (h.state.next({
|
|
29295
29295
|
isSubmitting: !0
|
|
29296
29296
|
}), t.resolver) {
|
|
29297
|
-
const { errors: ve, values:
|
|
29298
|
-
r.errors = ve, Ae =
|
|
29297
|
+
const { errors: ve, values: Be } = await _();
|
|
29298
|
+
r.errors = ve, Ae = Be;
|
|
29299
29299
|
} else
|
|
29300
29300
|
await G(n);
|
|
29301
29301
|
if (mn(r.errors, "root"), Ea(r.errors)) {
|
|
@@ -29323,16 +29323,16 @@ function Rre(e = {}) {
|
|
|
29323
29323
|
const ne = D ? ui(D) : a, be = ui(ne), Ae = Ea(D), ve = Ae ? a : be;
|
|
29324
29324
|
if (q.keepDefaultValues || (a = ne), !q.keepValues) {
|
|
29325
29325
|
if (q.keepDirtyValues) {
|
|
29326
|
-
const
|
|
29326
|
+
const Be = /* @__PURE__ */ new Set([
|
|
29327
29327
|
...s.mount,
|
|
29328
29328
|
...Object.keys(Xd(a, i))
|
|
29329
29329
|
]);
|
|
29330
|
-
for (const Ze of Array.from(
|
|
29330
|
+
for (const Ze of Array.from(Be))
|
|
29331
29331
|
tt(r.dirtyFields, Ze) ? pr(ve, Ze, tt(i, Ze)) : le(Ze, tt(ve, Ze));
|
|
29332
29332
|
} else {
|
|
29333
29333
|
if (mA && un(D))
|
|
29334
|
-
for (const
|
|
29335
|
-
const Ze = tt(n,
|
|
29334
|
+
for (const Be of s.mount) {
|
|
29335
|
+
const Ze = tt(n, Be);
|
|
29336
29336
|
if (Ze && Ze._f) {
|
|
29337
29337
|
const dt = Array.isArray(Ze._f.refs) ? Ze._f.refs[0] : Ze._f.ref;
|
|
29338
29338
|
if (Sp(dt)) {
|
|
@@ -35244,103 +35244,103 @@ function tce() {
|
|
|
35244
35244
|
function rce() {
|
|
35245
35245
|
return this._isUTC ? "Coordinated Universal Time" : "";
|
|
35246
35246
|
}
|
|
35247
|
-
var
|
|
35248
|
-
|
|
35249
|
-
|
|
35250
|
-
|
|
35251
|
-
|
|
35252
|
-
|
|
35253
|
-
|
|
35254
|
-
|
|
35255
|
-
|
|
35256
|
-
|
|
35257
|
-
|
|
35258
|
-
|
|
35259
|
-
|
|
35260
|
-
|
|
35261
|
-
|
|
35262
|
-
|
|
35263
|
-
|
|
35264
|
-
|
|
35265
|
-
|
|
35266
|
-
|
|
35267
|
-
|
|
35268
|
-
|
|
35269
|
-
|
|
35270
|
-
|
|
35271
|
-
|
|
35272
|
-
|
|
35273
|
-
|
|
35274
|
-
|
|
35275
|
-
|
|
35276
|
-
|
|
35277
|
-
|
|
35278
|
-
|
|
35279
|
-
|
|
35280
|
-
|
|
35281
|
-
typeof Symbol < "u" && Symbol.for != null && (
|
|
35247
|
+
var Ue = Oh.prototype;
|
|
35248
|
+
Ue.add = Yoe;
|
|
35249
|
+
Ue.calendar = tse;
|
|
35250
|
+
Ue.clone = rse;
|
|
35251
|
+
Ue.diff = lse;
|
|
35252
|
+
Ue.endOf = vse;
|
|
35253
|
+
Ue.format = hse;
|
|
35254
|
+
Ue.from = gse;
|
|
35255
|
+
Ue.fromNow = pse;
|
|
35256
|
+
Ue.to = mse;
|
|
35257
|
+
Ue.toNow = yse;
|
|
35258
|
+
Ue.get = fie;
|
|
35259
|
+
Ue.invalidAt = Rse;
|
|
35260
|
+
Ue.isAfter = nse;
|
|
35261
|
+
Ue.isBefore = ase;
|
|
35262
|
+
Ue.isBetween = ise;
|
|
35263
|
+
Ue.isSame = ose;
|
|
35264
|
+
Ue.isSameOrAfter = sse;
|
|
35265
|
+
Ue.isSameOrBefore = cse;
|
|
35266
|
+
Ue.isValid = Ise;
|
|
35267
|
+
Ue.lang = UF;
|
|
35268
|
+
Ue.locale = DF;
|
|
35269
|
+
Ue.localeData = BF;
|
|
35270
|
+
Ue.max = Ioe;
|
|
35271
|
+
Ue.min = Coe;
|
|
35272
|
+
Ue.parsingFlags = wse;
|
|
35273
|
+
Ue.set = hie;
|
|
35274
|
+
Ue.startOf = Sse;
|
|
35275
|
+
Ue.subtract = Joe;
|
|
35276
|
+
Ue.toArray = Ese;
|
|
35277
|
+
Ue.toObject = Tse;
|
|
35278
|
+
Ue.toDate = bse;
|
|
35279
|
+
Ue.toISOString = dse;
|
|
35280
|
+
Ue.inspect = fse;
|
|
35281
|
+
typeof Symbol < "u" && Symbol.for != null && (Ue[Symbol.for("nodejs.util.inspect.custom")] = function() {
|
|
35282
35282
|
return "Moment<" + this.format() + ">";
|
|
35283
35283
|
});
|
|
35284
|
-
|
|
35285
|
-
|
|
35286
|
-
|
|
35287
|
-
|
|
35288
|
-
|
|
35289
|
-
|
|
35290
|
-
|
|
35291
|
-
|
|
35292
|
-
|
|
35293
|
-
|
|
35294
|
-
|
|
35295
|
-
|
|
35296
|
-
|
|
35297
|
-
|
|
35298
|
-
|
|
35299
|
-
|
|
35300
|
-
|
|
35301
|
-
|
|
35302
|
-
|
|
35303
|
-
|
|
35304
|
-
|
|
35305
|
-
|
|
35306
|
-
|
|
35307
|
-
|
|
35308
|
-
|
|
35309
|
-
|
|
35310
|
-
|
|
35311
|
-
|
|
35312
|
-
|
|
35313
|
-
|
|
35314
|
-
|
|
35315
|
-
|
|
35316
|
-
|
|
35317
|
-
|
|
35318
|
-
|
|
35319
|
-
|
|
35320
|
-
|
|
35321
|
-
|
|
35322
|
-
|
|
35323
|
-
|
|
35324
|
-
|
|
35325
|
-
|
|
35326
|
-
|
|
35327
|
-
|
|
35284
|
+
Ue.toJSON = Cse;
|
|
35285
|
+
Ue.toString = use;
|
|
35286
|
+
Ue.unix = Ase;
|
|
35287
|
+
Ue.valueOf = xse;
|
|
35288
|
+
Ue.creationData = _se;
|
|
35289
|
+
Ue.eraName = Pse;
|
|
35290
|
+
Ue.eraNarrow = Mse;
|
|
35291
|
+
Ue.eraAbbr = Lse;
|
|
35292
|
+
Ue.eraYear = Fse;
|
|
35293
|
+
Ue.year = pF;
|
|
35294
|
+
Ue.isLeapYear = die;
|
|
35295
|
+
Ue.weekYear = Wse;
|
|
35296
|
+
Ue.isoWeekYear = jse;
|
|
35297
|
+
Ue.quarter = Ue.quarters = Xse;
|
|
35298
|
+
Ue.month = xF;
|
|
35299
|
+
Ue.daysInMonth = bie;
|
|
35300
|
+
Ue.week = Ue.weeks = Oie;
|
|
35301
|
+
Ue.isoWeek = Ue.isoWeeks = kie;
|
|
35302
|
+
Ue.weeksInYear = $se;
|
|
35303
|
+
Ue.weeksInWeekYear = Yse;
|
|
35304
|
+
Ue.isoWeeksInYear = zse;
|
|
35305
|
+
Ue.isoWeeksInISOWeekYear = Kse;
|
|
35306
|
+
Ue.date = jF;
|
|
35307
|
+
Ue.day = Ue.days = jie;
|
|
35308
|
+
Ue.weekday = zie;
|
|
35309
|
+
Ue.isoWeekday = Kie;
|
|
35310
|
+
Ue.dayOfYear = Zse;
|
|
35311
|
+
Ue.hour = Ue.hours = Qie;
|
|
35312
|
+
Ue.minute = Ue.minutes = qse;
|
|
35313
|
+
Ue.second = Ue.seconds = Qse;
|
|
35314
|
+
Ue.millisecond = Ue.milliseconds = zF;
|
|
35315
|
+
Ue.utcOffset = Loe;
|
|
35316
|
+
Ue.utc = Doe;
|
|
35317
|
+
Ue.local = Uoe;
|
|
35318
|
+
Ue.parseZone = Boe;
|
|
35319
|
+
Ue.hasAlignedHourOffset = Voe;
|
|
35320
|
+
Ue.isDST = Goe;
|
|
35321
|
+
Ue.isLocal = Woe;
|
|
35322
|
+
Ue.isUtcOffset = joe;
|
|
35323
|
+
Ue.isUtc = PF;
|
|
35324
|
+
Ue.isUTC = PF;
|
|
35325
|
+
Ue.zoneAbbr = tce;
|
|
35326
|
+
Ue.zoneName = rce;
|
|
35327
|
+
Ue.dates = Ai(
|
|
35328
35328
|
"dates accessor is deprecated. Use date instead.",
|
|
35329
35329
|
jF
|
|
35330
35330
|
);
|
|
35331
|
-
|
|
35331
|
+
Ue.months = Ai(
|
|
35332
35332
|
"months accessor is deprecated. Use month instead",
|
|
35333
35333
|
xF
|
|
35334
35334
|
);
|
|
35335
|
-
|
|
35335
|
+
Ue.years = Ai(
|
|
35336
35336
|
"years accessor is deprecated. Use year instead",
|
|
35337
35337
|
pF
|
|
35338
35338
|
);
|
|
35339
|
-
|
|
35339
|
+
Ue.zone = Ai(
|
|
35340
35340
|
"moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",
|
|
35341
35341
|
Foe
|
|
35342
35342
|
);
|
|
35343
|
-
|
|
35343
|
+
Ue.isDSTShifted = Ai(
|
|
35344
35344
|
"isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",
|
|
35345
35345
|
Hoe
|
|
35346
35346
|
);
|
|
@@ -35632,7 +35632,7 @@ yr("x", function(e, t, r) {
|
|
|
35632
35632
|
//! moment.js
|
|
35633
35633
|
Ke.version = "2.30.1";
|
|
35634
35634
|
Bae(Nr);
|
|
35635
|
-
Ke.fn =
|
|
35635
|
+
Ke.fn = Ue;
|
|
35636
35636
|
Ke.min = woe;
|
|
35637
35637
|
Ke.max = Roe;
|
|
35638
35638
|
Ke.now = _oe;
|
|
@@ -35658,7 +35658,7 @@ Ke.normalizeUnits = bi;
|
|
|
35658
35658
|
Ke.relativeTimeRounding = Fce;
|
|
35659
35659
|
Ke.relativeTimeThreshold = Dce;
|
|
35660
35660
|
Ke.calendarFormat = ese;
|
|
35661
|
-
Ke.prototype =
|
|
35661
|
+
Ke.prototype = Ue;
|
|
35662
35662
|
Ke.HTML5_FMT = {
|
|
35663
35663
|
DATETIME_LOCAL: "YYYY-MM-DDTHH:mm",
|
|
35664
35664
|
// <input type="datetime-local" />
|
|
@@ -35682,7 +35682,7 @@ Ke.HTML5_FMT = {
|
|
|
35682
35682
|
const Bce = (e = !1) => {
|
|
35683
35683
|
const [t, r] = ft(e);
|
|
35684
35684
|
return { isOpen: t, onOpen: () => r(!0), onClose: () => r(!1) };
|
|
35685
|
-
}, Vce = ({ customers: e, onSelect: t }) => /* @__PURE__ */ S.jsx(Bt, { children: /* @__PURE__ */ S.jsx(
|
|
35685
|
+
}, Vce = ({ customers: e, onSelect: t }) => /* @__PURE__ */ S.jsx(Bt, { children: /* @__PURE__ */ S.jsx(De, { flexDir: "column", gap: 4, children: e.map((r) => /* @__PURE__ */ S.jsxs(
|
|
35686
35686
|
Bt,
|
|
35687
35687
|
{
|
|
35688
35688
|
className: "cursor-pointer rounded-lg border p-4 hover:bg-gray-100",
|
|
@@ -35691,8 +35691,8 @@ const Bce = (e = !1) => {
|
|
|
35691
35691
|
p: 4,
|
|
35692
35692
|
borderRadius: "lg",
|
|
35693
35693
|
children: [
|
|
35694
|
-
/* @__PURE__ */ S.jsx(
|
|
35695
|
-
/* @__PURE__ */ S.jsx(
|
|
35694
|
+
/* @__PURE__ */ S.jsx(Ve, { fontWeight: "bold", children: r.name }),
|
|
35695
|
+
/* @__PURE__ */ S.jsx(Ve, { children: r.eTicketNumber })
|
|
35696
35696
|
]
|
|
35697
35697
|
},
|
|
35698
35698
|
r.eTicketNumber
|
|
@@ -35779,7 +35779,7 @@ const Qf = [
|
|
|
35779
35779
|
lg: `${16.666666666666668}%`
|
|
35780
35780
|
});
|
|
35781
35781
|
return /* @__PURE__ */ S.jsx(Bt, { w: "full", _after: { content: '""', display: "block", clear: "both" }, children: Qf.map((n) => /* @__PURE__ */ S.jsx(Bt, { w: r, float: "left", p: 2, children: /* @__PURE__ */ S.jsxs(
|
|
35782
|
-
|
|
35782
|
+
De,
|
|
35783
35783
|
{
|
|
35784
35784
|
position: "relative",
|
|
35785
35785
|
cursor: "pointer",
|
|
@@ -35808,7 +35808,7 @@ const Qf = [
|
|
|
35808
35808
|
}
|
|
35809
35809
|
),
|
|
35810
35810
|
n.comingSoon && /* @__PURE__ */ S.jsx(
|
|
35811
|
-
|
|
35811
|
+
Ve,
|
|
35812
35812
|
{
|
|
35813
35813
|
fontSize: "sm",
|
|
35814
35814
|
fontWeight: "semibold",
|
|
@@ -35820,11 +35820,11 @@ const Qf = [
|
|
|
35820
35820
|
children: "Sắp ra mắt"
|
|
35821
35821
|
}
|
|
35822
35822
|
),
|
|
35823
|
-
(e == null ? void 0 : e.code) === n.code && /* @__PURE__ */ S.jsx(Bt, { position: "absolute", right: 2, bottom: 2, children: /* @__PURE__ */ S.jsx(
|
|
35823
|
+
(e == null ? void 0 : e.code) === n.code && /* @__PURE__ */ S.jsx(Bt, { position: "absolute", right: 2, bottom: 2, children: /* @__PURE__ */ S.jsx(Ve, { fontSize: "lg", color: "green.500", children: /* @__PURE__ */ S.jsx(Ha, { icon: uM }) }) })
|
|
35824
35824
|
]
|
|
35825
35825
|
}
|
|
35826
35826
|
) }, n.code)) });
|
|
35827
|
-
}, qF = ({ selected: e, onSelect: t, onRemove: r }) => /* @__PURE__ */ S.jsx(
|
|
35827
|
+
}, qF = ({ selected: e, onSelect: t, onRemove: r }) => /* @__PURE__ */ S.jsx(De, { w: "full", flexWrap: "wrap", alignItems: "flex-start", gap: 2, children: Qf.map((n) => /* @__PURE__ */ S.jsxs(
|
|
35828
35828
|
Bt,
|
|
35829
35829
|
{
|
|
35830
35830
|
position: "relative",
|
|
@@ -35856,9 +35856,9 @@ const Qf = [
|
|
|
35856
35856
|
objectFit: "contain"
|
|
35857
35857
|
}
|
|
35858
35858
|
),
|
|
35859
|
-
(e == null ? void 0 : e.some((a) => a.code === n.code)) && /* @__PURE__ */ S.jsx(Bt, { position: "absolute", right: 2, bottom: 2, children: /* @__PURE__ */ S.jsx(
|
|
35859
|
+
(e == null ? void 0 : e.some((a) => a.code === n.code)) && /* @__PURE__ */ S.jsx(Bt, { position: "absolute", right: 2, bottom: 2, children: /* @__PURE__ */ S.jsx(Ve, { fontSize: "lg", color: "green.500", children: /* @__PURE__ */ S.jsx(Ha, { icon: uM }) }) }),
|
|
35860
35860
|
n.comingSoon && /* @__PURE__ */ S.jsx(
|
|
35861
|
-
|
|
35861
|
+
Ve,
|
|
35862
35862
|
{
|
|
35863
35863
|
fontSize: "lg",
|
|
35864
35864
|
color: "red.500",
|
|
@@ -36165,8 +36165,8 @@ function nle(e) {
|
|
|
36165
36165
|
D === void 0 && (D = "");
|
|
36166
36166
|
var q = de.input, ne = de.source, be = de.event, Ae = de.numAsString, ve;
|
|
36167
36167
|
if (q) {
|
|
36168
|
-
var
|
|
36169
|
-
q.value = D, ve = J(
|
|
36168
|
+
var Be = de.inputValue || q.value, Ze = av(q);
|
|
36169
|
+
q.value = D, ve = J(Be, D, Ze), ve !== void 0 && _e(q, ve, D);
|
|
36170
36170
|
}
|
|
36171
36171
|
D !== _ && Q(Ie(D, Ae), { event: be, source: ne });
|
|
36172
36172
|
};
|
|
@@ -36186,13 +36186,13 @@ function nle(e) {
|
|
|
36186
36186
|
}
|
|
36187
36187
|
}, [_]);
|
|
36188
36188
|
var Oe = function(de, D, q) {
|
|
36189
|
-
var ne = D.target, be = H.current ? Yce(H.current, ne.selectionEnd) : aD(_, de), Ae = Object.assign(Object.assign({}, be), { lastValue: _ }), ve = s(de, Ae),
|
|
36190
|
-
if (ve = s(
|
|
36189
|
+
var ne = D.target, be = H.current ? Yce(H.current, ne.selectionEnd) : aD(_, de), Ae = Object.assign(Object.assign({}, be), { lastValue: _ }), ve = s(de, Ae), Be = X(ve);
|
|
36190
|
+
if (ve = s(Be, void 0), h && !h(Ie(Be, ve))) {
|
|
36191
36191
|
var Ze = D.target, dt = av(Ze), bt = J(de, _, dt);
|
|
36192
36192
|
return Ze.value = _, _e(Ze, bt, _), !1;
|
|
36193
36193
|
}
|
|
36194
36194
|
return Z({
|
|
36195
|
-
formattedValue:
|
|
36195
|
+
formattedValue: Be,
|
|
36196
36196
|
numAsString: ve,
|
|
36197
36197
|
inputValue: de,
|
|
36198
36198
|
event: D,
|
|
@@ -36211,11 +36211,11 @@ function nle(e) {
|
|
|
36211
36211
|
Ae === void 0 && (Ae = "");
|
|
36212
36212
|
var ve;
|
|
36213
36213
|
q === "ArrowLeft" || q === "Backspace" ? ve = Math.max(ne - 1, 0) : q === "ArrowRight" ? ve = Math.min(ne + 1, Ae.length) : q === "Delete" && (ve = ne);
|
|
36214
|
-
var
|
|
36215
|
-
q === "Delete" && ne === be && (
|
|
36214
|
+
var Be = 0;
|
|
36215
|
+
q === "Delete" && ne === be && (Be = 1);
|
|
36216
36216
|
var Ze = q === "ArrowLeft" || q === "ArrowRight";
|
|
36217
36217
|
if (ve === void 0 || ne !== be && !Ze) {
|
|
36218
|
-
m(de), ae(D,
|
|
36218
|
+
m(de), ae(D, Be);
|
|
36219
36219
|
return;
|
|
36220
36220
|
}
|
|
36221
36221
|
var dt = ve;
|
|
@@ -36223,7 +36223,7 @@ function nle(e) {
|
|
|
36223
36223
|
var bt = q === "ArrowLeft" ? "left" : "right";
|
|
36224
36224
|
dt = M(Ae, ve, bt), dt !== ve && de.preventDefault();
|
|
36225
36225
|
} else q === "Delete" && !b(Ae[ve]) ? dt = M(Ae, ve, "right") : q === "Backspace" && !b(Ae[ve]) && (dt = M(Ae, ve, "left"));
|
|
36226
|
-
dt !== ve && _e(D, dt, Ae), m(de), ae(D,
|
|
36226
|
+
dt !== ve && _e(D, dt, Ae), m(de), ae(D, Be);
|
|
36227
36227
|
}, Pe = function(de) {
|
|
36228
36228
|
var D = de.target, q = function() {
|
|
36229
36229
|
var ne = D.selectionStart, be = D.selectionEnd, Ae = D.value;
|
|
@@ -39355,12 +39355,12 @@ const Ku = $M((e, t) => ({
|
|
|
39355
39355
|
})), xR = md.get("token");
|
|
39356
39356
|
xR && Ku.setState({ token: xR });
|
|
39357
39357
|
const Kde = ({ label: e, icon: t, path: r, active: n }) => /* @__PURE__ */ S.jsx(
|
|
39358
|
-
|
|
39358
|
+
Ve,
|
|
39359
39359
|
{
|
|
39360
39360
|
fontSize: "sm",
|
|
39361
39361
|
color: n ? "blue.500" : "gray.700",
|
|
39362
39362
|
fontWeight: n ? "bold" : "normal",
|
|
39363
|
-
children: /* @__PURE__ */ S.jsx(hL, { to: r, children: /* @__PURE__ */ S.jsxs(
|
|
39363
|
+
children: /* @__PURE__ */ S.jsx(hL, { to: r, children: /* @__PURE__ */ S.jsxs(De, { align: "center", gap: 2, children: [
|
|
39364
39364
|
/* @__PURE__ */ S.jsx("span", { className: "w-[30px]", children: /* @__PURE__ */ S.jsx(Ha, { icon: t }) }),
|
|
39365
39365
|
e
|
|
39366
39366
|
] }) })
|
|
@@ -39526,7 +39526,7 @@ const Kde = ({ label: e, icon: t, path: r, active: n }) => /* @__PURE__ */ S.jsx
|
|
|
39526
39526
|
}
|
|
39527
39527
|
]), n;
|
|
39528
39528
|
}, [t]);
|
|
39529
|
-
return /* @__PURE__ */ S.jsx(
|
|
39529
|
+
return /* @__PURE__ */ S.jsx(De, { flexDir: "row", gap: 5, children: r.filter((n) => n.display).map((n) => /* @__PURE__ */ S.jsx(Kde, { ...n, active: e === n.path }, n.path)) });
|
|
39530
39530
|
}, Yde = () => {
|
|
39531
39531
|
md.remove("token");
|
|
39532
39532
|
}, Jde = () => {
|
|
@@ -39537,7 +39537,7 @@ const Kde = ({ label: e, icon: t, path: r, active: n }) => /* @__PURE__ */ S.jsx
|
|
|
39537
39537
|
e("/profile");
|
|
39538
39538
|
};
|
|
39539
39539
|
return /* @__PURE__ */ S.jsxs(
|
|
39540
|
-
|
|
39540
|
+
De,
|
|
39541
39541
|
{
|
|
39542
39542
|
h: "50px",
|
|
39543
39543
|
w: "full",
|
|
@@ -39549,7 +39549,7 @@ const Kde = ({ label: e, icon: t, path: r, active: n }) => /* @__PURE__ */ S.jsx
|
|
|
39549
39549
|
justify: "space-between",
|
|
39550
39550
|
boxShadow: "sm",
|
|
39551
39551
|
children: [
|
|
39552
|
-
/* @__PURE__ */ S.jsxs(
|
|
39552
|
+
/* @__PURE__ */ S.jsxs(De, { align: "center", gap: 8, h: "100%", children: [
|
|
39553
39553
|
/* @__PURE__ */ S.jsx(
|
|
39554
39554
|
_o,
|
|
39555
39555
|
{
|
|
@@ -39560,13 +39560,13 @@ const Kde = ({ label: e, icon: t, path: r, active: n }) => /* @__PURE__ */ S.jsx
|
|
|
39560
39560
|
),
|
|
39561
39561
|
/* @__PURE__ */ S.jsx($de, {})
|
|
39562
39562
|
] }),
|
|
39563
|
-
/* @__PURE__ */ S.jsxs(
|
|
39563
|
+
/* @__PURE__ */ S.jsxs(De, { gap: 4, position: "relative", children: [
|
|
39564
39564
|
c && /* @__PURE__ */ S.jsxs(ZP, { fontSize: "sm", color: "blue.500", href: "/documentation-list", mr: 2, children: [
|
|
39565
39565
|
/* @__PURE__ */ S.jsx(Ha, { icon: cq }),
|
|
39566
|
-
/* @__PURE__ */ S.jsx(
|
|
39566
|
+
/* @__PURE__ */ S.jsx(Ve, { as: "span", children: "Tài liệu" })
|
|
39567
39567
|
] }),
|
|
39568
39568
|
/* @__PURE__ */ S.jsx(Bt, { children: /* @__PURE__ */ S.jsxs(IZ, { children: [
|
|
39569
|
-
/* @__PURE__ */ S.jsx(wZ, { children: /* @__PURE__ */ S.jsxs(
|
|
39569
|
+
/* @__PURE__ */ S.jsx(wZ, { children: /* @__PURE__ */ S.jsxs(De, { flexDir: "row", gap: 2, color: "gray.700", children: [
|
|
39570
39570
|
i && o && /* @__PURE__ */ S.jsx(
|
|
39571
39571
|
_o,
|
|
39572
39572
|
{
|
|
@@ -39576,7 +39576,7 @@ const Kde = ({ label: e, icon: t, path: r, active: n }) => /* @__PURE__ */ S.jsx
|
|
|
39576
39576
|
objectFit: "contain"
|
|
39577
39577
|
}
|
|
39578
39578
|
) || /* @__PURE__ */ S.jsx(Ha, { icon: Ag }),
|
|
39579
|
-
/* @__PURE__ */ S.jsx(
|
|
39579
|
+
/* @__PURE__ */ S.jsx(Ve, { fontSize: "sm", children: t == null ? void 0 : t.email })
|
|
39580
39580
|
] }) }),
|
|
39581
39581
|
/* @__PURE__ */ S.jsxs(
|
|
39582
39582
|
RZ,
|
|
@@ -39587,8 +39587,8 @@ const Kde = ({ label: e, icon: t, path: r, active: n }) => /* @__PURE__ */ S.jsx
|
|
|
39587
39587
|
borderColor: "gray.200",
|
|
39588
39588
|
rounded: "md",
|
|
39589
39589
|
children: [
|
|
39590
|
-
!a && /* @__PURE__ */ S.jsx(yI, { value: "profile", onClick: d, children: /* @__PURE__ */ S.jsx(
|
|
39591
|
-
/* @__PURE__ */ S.jsx(yI, { value: "logout", onClick: u, children: /* @__PURE__ */ S.jsx(
|
|
39590
|
+
!a && /* @__PURE__ */ S.jsx(yI, { value: "profile", onClick: d, children: /* @__PURE__ */ S.jsx(Ve, { fontSize: "sm", children: "Cập nhật thông tin" }) }),
|
|
39591
|
+
/* @__PURE__ */ S.jsx(yI, { value: "logout", onClick: u, children: /* @__PURE__ */ S.jsx(Ve, { fontSize: "sm", children: "Thoát" }) })
|
|
39592
39592
|
]
|
|
39593
39593
|
}
|
|
39594
39594
|
)
|
|
@@ -39597,9 +39597,9 @@ const Kde = ({ label: e, icon: t, path: r, active: n }) => /* @__PURE__ */ S.jsx
|
|
|
39597
39597
|
]
|
|
39598
39598
|
}
|
|
39599
39599
|
);
|
|
39600
|
-
}, JA = ({ children: e, showLayout: t = !0 }) => t ? /* @__PURE__ */ S.jsxs(
|
|
39600
|
+
}, JA = ({ children: e, showLayout: t = !0 }) => t ? /* @__PURE__ */ S.jsxs(De, { flexDir: "column", position: "fixed", w: "full", h: "full", children: [
|
|
39601
39601
|
/* @__PURE__ */ S.jsx(Jde, {}),
|
|
39602
|
-
/* @__PURE__ */ S.jsx(
|
|
39602
|
+
/* @__PURE__ */ S.jsx(De, { minH: 0, flex: 1, overflowY: "auto", w: "100%", p: 2, children: e })
|
|
39603
39603
|
] }) : /* @__PURE__ */ S.jsx(S.Fragment, { children: e });
|
|
39604
39604
|
function Xde(e) {
|
|
39605
39605
|
return Fs({ tag: "svg", attr: { viewBox: "0 0 512 512" }, child: [{ tag: "path", attr: { d: "M48 32C21.5 32 0 53.5 0 80v352c0 26.5 21.5 48 48 48h416c26.5 0 48-21.5 48-48V80c0-26.5-21.5-48-48-48H48zm0 32h106c3.3 0 6 2.7 6 6v20c0 3.3-2.7 6-6 6H38c-3.3 0-6-2.7-6-6V80c0-8.8 7.2-16 16-16zm426 96H38c-3.3 0-6-2.7-6-6v-36c0-3.3 2.7-6 6-6h138l30.2-45.3c1.1-1.7 3-2.7 5-2.7H464c8.8 0 16 7.2 16 16v74c0 3.3-2.7 6-6 6zM256 424c-66.2 0-120-53.8-120-120s53.8-120 120-120 120 53.8 120 120-53.8 120-120 120zm0-208c-48.5 0-88 39.5-88 88s39.5 88 88 88 88-39.5 88-88-39.5-88-88-88zm-48 104c-8.8 0-16-7.2-16-16 0-35.3 28.7-64 64-64 8.8 0 16 7.2 16 16s-7.2 16-16 16c-17.6 0-32 14.4-32 32 0 8.8-7.2 16-16 16z" }, child: [] }] })(e);
|
|
@@ -39898,7 +39898,7 @@ const afe = /* @__PURE__ */ Xp(nfe), ife = ({ onClose: e, onImageCaptured: t, is
|
|
|
39898
39898
|
/* @__PURE__ */ S.jsx(yh, { children: /* @__PURE__ */ S.jsx(mh, { children: "Chụp ảnh" }) }),
|
|
39899
39899
|
/* @__PURE__ */ S.jsxs(sd, { children: [
|
|
39900
39900
|
/* @__PURE__ */ S.jsx(
|
|
39901
|
-
|
|
39901
|
+
De,
|
|
39902
39902
|
{
|
|
39903
39903
|
flexDir: "column",
|
|
39904
39904
|
display: s ? "none" : "flex",
|
|
@@ -39925,7 +39925,7 @@ const afe = /* @__PURE__ */ Xp(nfe), ife = ({ onClose: e, onImageCaptured: t, is
|
|
|
39925
39925
|
}
|
|
39926
39926
|
),
|
|
39927
39927
|
!s && /* @__PURE__ */ S.jsxs(
|
|
39928
|
-
|
|
39928
|
+
De,
|
|
39929
39929
|
{
|
|
39930
39930
|
bottom: 0,
|
|
39931
39931
|
left: 0,
|
|
@@ -39951,10 +39951,10 @@ const afe = /* @__PURE__ */ Xp(nfe), ife = ({ onClose: e, onImageCaptured: t, is
|
|
|
39951
39951
|
]
|
|
39952
39952
|
}
|
|
39953
39953
|
),
|
|
39954
|
-
s && /* @__PURE__ */ S.jsxs(
|
|
39954
|
+
s && /* @__PURE__ */ S.jsxs(De, { flexDir: "column", gap: 4, children: [
|
|
39955
39955
|
/* @__PURE__ */ S.jsx(_o, { src: s, alt: "Webcam", height: "600px", aspectRatio: "1 / 2" }),
|
|
39956
39956
|
/* @__PURE__ */ S.jsxs(
|
|
39957
|
-
|
|
39957
|
+
De,
|
|
39958
39958
|
{
|
|
39959
39959
|
bottom: 2,
|
|
39960
39960
|
gap: 4,
|
|
@@ -55124,7 +55124,7 @@ const ofe = [
|
|
|
55124
55124
|
ignoreLayout: t = !1,
|
|
55125
55125
|
showGetTicketInfo: r = !0
|
|
55126
55126
|
}) => {
|
|
55127
|
-
var de, D, q, ne, be, Ae, ve,
|
|
55127
|
+
var de, D, q, ne, be, Ae, ve, Be, Ze, dt, bt, Vt;
|
|
55128
55128
|
const [n, a] = ft([]), [i, o] = ft([]), [s, c] = ft([]), [u, d] = ft({}), { isOpen: h, onOpen: g, onClose: m } = Bce(), [p, y] = ft(!1), { setModalSuccess: x, setModalError: A } = Ah(), [E, b] = ft(null), [w, C] = ft(!1), [R, I] = ft(!1), _ = sm(["full", "sm", "sm"]), [k, G] = ft(!1), [H, L] = ft(""), Q = pA(), [ge, se] = ft(5e3), ce = Ct(() => Xg({
|
|
55129
55129
|
items: s.map((Me) => ({
|
|
55130
55130
|
label: Me,
|
|
@@ -55282,17 +55282,17 @@ const ofe = [
|
|
|
55282
55282
|
}, []);
|
|
55283
55283
|
const it = /* @__PURE__ */ S.jsxs(S.Fragment, { children: [
|
|
55284
55284
|
/* @__PURE__ */ S.jsx(Bt, { children: /* @__PURE__ */ S.jsxs(Bt, { children: [
|
|
55285
|
-
/* @__PURE__ */ S.jsx(
|
|
55285
|
+
/* @__PURE__ */ S.jsx(Ve, { fontWeight: "bold", fontSize: "24px", textAlign: "center", children: "Thông tin đăng ký mua ngoại tệ" }),
|
|
55286
55286
|
/* @__PURE__ */ S.jsx("form", { onSubmit: M(oe), children: /* @__PURE__ */ S.jsxs(S.Fragment, { children: [
|
|
55287
55287
|
/* @__PURE__ */ S.jsx(Bt, { mt: 6, mb: 6, mx: "auto", children: /* @__PURE__ */ S.jsxs(Bt, { mt: 2, children: [
|
|
55288
|
-
/* @__PURE__ */ S.jsx(
|
|
55288
|
+
/* @__PURE__ */ S.jsx(Ve, { fontWeight: "bold", mb: 2, children: "Chọn ngân hàng" }),
|
|
55289
55289
|
/* @__PURE__ */ S.jsx(ZF, { selected: Se, onSelect: nt }),
|
|
55290
|
-
!Se && /* @__PURE__ */ S.jsx(
|
|
55290
|
+
!Se && /* @__PURE__ */ S.jsx(Ve, { color: "red.500", mt: 1, fontSize: "sm", children: "Vui lòng chọn ngân hàng" })
|
|
55291
55291
|
] }) }),
|
|
55292
|
-
/* @__PURE__ */ S.jsx(
|
|
55293
|
-
/* @__PURE__ */ S.jsxs(
|
|
55294
|
-
/* @__PURE__ */ S.jsx(
|
|
55295
|
-
/* @__PURE__ */ S.jsx(
|
|
55292
|
+
/* @__PURE__ */ S.jsx(Ve, { fontWeight: "bold", mt: 6, mb: 2, children: "Số lượng muốn mua" }),
|
|
55293
|
+
/* @__PURE__ */ S.jsxs(De, { flexDir: "row", flexWrap: ["wrap", "null"], mt: 4, children: [
|
|
55294
|
+
/* @__PURE__ */ S.jsx(De, { flexDir: "column", w: ["50%", null, "120px"], px: 2, children: /* @__PURE__ */ S.jsxs(Jt, { justifyContent: "end", gap: 2, invalid: !!J.currencyCode, children: [
|
|
55295
|
+
/* @__PURE__ */ S.jsx(Ve, { lineHeight: "24px", children: "Loại ngoại tệ" }),
|
|
55296
55296
|
/* @__PURE__ */ S.jsxs(
|
|
55297
55297
|
ep,
|
|
55298
55298
|
{
|
|
@@ -55313,18 +55313,18 @@ const ofe = [
|
|
|
55313
55313
|
),
|
|
55314
55314
|
/* @__PURE__ */ S.jsx(Xt, { children: (de = J.currencyCode) == null ? void 0 : de.message })
|
|
55315
55315
|
] }) }),
|
|
55316
|
-
/* @__PURE__ */ S.jsxs(
|
|
55317
|
-
/* @__PURE__ */ S.jsx(
|
|
55318
|
-
/* @__PURE__ */ S.jsx(
|
|
55316
|
+
/* @__PURE__ */ S.jsxs(De, { flexDir: "column", gap: 2, px: 2, w: ["50%", null, "120px"], children: [
|
|
55317
|
+
/* @__PURE__ */ S.jsx(Ve, { lineHeight: "24px", children: "Tỉ giá VND" }),
|
|
55318
|
+
/* @__PURE__ */ S.jsx(De, { alignItems: "flex-start", gap: 2, flex: 1, children: /* @__PURE__ */ S.jsx(Er, { value: Gx(Ie || "0"), h: "40px" }) })
|
|
55319
55319
|
] }),
|
|
55320
|
-
!Q && /* @__PURE__ */ S.jsxs(
|
|
55321
|
-
/* @__PURE__ */ S.jsx(
|
|
55322
|
-
/* @__PURE__ */ S.jsx(
|
|
55320
|
+
!Q && /* @__PURE__ */ S.jsxs(De, { flexDir: "column", alignItems: "flex-start", gap: 2, children: [
|
|
55321
|
+
/* @__PURE__ */ S.jsx(Ve, { height: "24px", textAlign: "center", color: "white" }),
|
|
55322
|
+
/* @__PURE__ */ S.jsx(De, { height: "40px", w: "100%", justifyContent: "center", alignItems: "center", children: "x" })
|
|
55323
55323
|
] }),
|
|
55324
|
-
/* @__PURE__ */ S.jsxs(
|
|
55325
|
-
/* @__PURE__ */ S.jsx(
|
|
55326
|
-
/* @__PURE__ */ S.jsxs(
|
|
55327
|
-
Q && /* @__PURE__ */ S.jsx(
|
|
55324
|
+
/* @__PURE__ */ S.jsxs(De, { flexDir: "column", gap: 2, w: ["50%", null, "120px"], px: 2, children: [
|
|
55325
|
+
/* @__PURE__ */ S.jsx(Ve, { lineHeight: "24px", children: "Số lượng" }),
|
|
55326
|
+
/* @__PURE__ */ S.jsxs(De, { flexDir: ["row", "row", "column"], alignItems: "flex-start", gap: 5, children: [
|
|
55327
|
+
Q && /* @__PURE__ */ S.jsx(De, { justifyContent: "center", height: "100%", alignItems: "center", children: "x" }),
|
|
55328
55328
|
/* @__PURE__ */ S.jsx(
|
|
55329
55329
|
oD,
|
|
55330
55330
|
{
|
|
@@ -55337,7 +55337,8 @@ const ofe = [
|
|
|
55337
55337
|
min: 0,
|
|
55338
55338
|
max: 2e4,
|
|
55339
55339
|
style: {
|
|
55340
|
-
height: "40px !important"
|
|
55340
|
+
height: "40px !important",
|
|
55341
|
+
flex: 1
|
|
55341
55342
|
},
|
|
55342
55343
|
fixedDecimalScale: !0,
|
|
55343
55344
|
onValueChange: (Me) => {
|
|
@@ -55345,22 +55346,22 @@ const ofe = [
|
|
|
55345
55346
|
}
|
|
55346
55347
|
}
|
|
55347
55348
|
),
|
|
55348
|
-
J.amount && /* @__PURE__ */ S.jsx(
|
|
55349
|
+
J.amount && /* @__PURE__ */ S.jsx(Ve, { color: "red.500", mt: 1, fontSize: "sm", children: (D = J.amount) == null ? void 0 : D.message })
|
|
55349
55350
|
] })
|
|
55350
55351
|
] }),
|
|
55351
|
-
/* @__PURE__ */ S.jsxs(
|
|
55352
|
-
/* @__PURE__ */ S.jsx(
|
|
55353
|
-
/* @__PURE__ */ S.jsx(
|
|
55354
|
-
/* @__PURE__ */ S.jsx(
|
|
55355
|
-
/* @__PURE__ */ S.jsx(
|
|
55352
|
+
/* @__PURE__ */ S.jsxs(De, { flexDir: "column", gap: 2, children: [
|
|
55353
|
+
/* @__PURE__ */ S.jsx(Ve, { height: "24px", textAlign: "center", color: "white" }),
|
|
55354
|
+
/* @__PURE__ */ S.jsx(De, { flexDir: "column", height: "40px", justifyContent: "center", children: /* @__PURE__ */ S.jsxs(De, { flexDir: "row", alignItems: "center", gap: 5, pb: 2, children: [
|
|
55355
|
+
/* @__PURE__ */ S.jsx(Ve, { children: "=" }),
|
|
55356
|
+
/* @__PURE__ */ S.jsx(Ve, { fontWeight: "bold", color: "blue.500", children: FD(ge * Number(Ie || 0)) })
|
|
55356
55357
|
] }) })
|
|
55357
55358
|
] })
|
|
55358
55359
|
] }),
|
|
55359
|
-
/* @__PURE__ */ S.jsx(
|
|
55360
|
-
/* @__PURE__ */ S.jsx(
|
|
55361
|
-
/* @__PURE__ */ S.jsxs(
|
|
55360
|
+
/* @__PURE__ */ S.jsx(Ve, { fontSize: "14px", mt: 2, fontStyle: "italic", children: "Lưu ý: Tỉ giá có thể thay đổi tại thời điểm giao dịch" }),
|
|
55361
|
+
/* @__PURE__ */ S.jsx(Ve, { fontWeight: "bold", mt: 6, mb: 2, children: "Thông tin hành trình" }),
|
|
55362
|
+
/* @__PURE__ */ S.jsxs(De, { flexDir: "column", gap: 2, children: [
|
|
55362
55363
|
/* @__PURE__ */ S.jsxs(
|
|
55363
|
-
|
|
55364
|
+
De,
|
|
55364
55365
|
{
|
|
55365
55366
|
w: "100%",
|
|
55366
55367
|
gap: 2,
|
|
@@ -55401,7 +55402,7 @@ const ofe = [
|
|
|
55401
55402
|
),
|
|
55402
55403
|
E && /* @__PURE__ */ S.jsx(_o, { src: E, alt: "ảnh chụp", maxWidth: "600px", w: "100%" })
|
|
55403
55404
|
] }),
|
|
55404
|
-
!E && /* @__PURE__ */ S.jsxs(
|
|
55405
|
+
!E && /* @__PURE__ */ S.jsxs(De, { flexDir: "column", gap: 2, mt: 6, children: [
|
|
55405
55406
|
/* @__PURE__ */ S.jsx(
|
|
55406
55407
|
_o,
|
|
55407
55408
|
{
|
|
@@ -55412,17 +55413,20 @@ const ofe = [
|
|
|
55412
55413
|
alt: "ảnh chụp"
|
|
55413
55414
|
}
|
|
55414
55415
|
),
|
|
55415
|
-
/* @__PURE__ */ S.jsx(
|
|
55416
|
+
/* @__PURE__ */ S.jsx(Ve, { fontStyle: "italic", fontSize: "12px", children: "Ví dụ ảnh chụp vé máy bay" })
|
|
55416
55417
|
] }),
|
|
55417
|
-
/* @__PURE__ */ S.jsx(
|
|
55418
|
-
/* @__PURE__ */ S.jsxs(
|
|
55419
|
-
/* @__PURE__ */ S.jsxs(
|
|
55418
|
+
/* @__PURE__ */ S.jsx(Ve, { fontWeight: "12px", mt: 6, display: r ? "block" : "none", children: "Hoặc điền mã đặt chỗ từ vé máy bay để lấy thông tin hành trình:" }),
|
|
55419
|
+
/* @__PURE__ */ S.jsxs(De, { flexDir: ["column", null, "row"], mt: 6, w: "100%", flexWrap: "wrap", gap: 3, children: [
|
|
55420
|
+
/* @__PURE__ */ S.jsxs(De, { flexDir: "row", gap: 3, children: [
|
|
55420
55421
|
/* @__PURE__ */ S.jsxs(
|
|
55421
55422
|
Jt,
|
|
55422
55423
|
{
|
|
55423
55424
|
justifyContent: "end",
|
|
55424
55425
|
invalid: !!J.reservationNumber,
|
|
55425
55426
|
w: ["50%", null, "200px"],
|
|
55427
|
+
display: "flex",
|
|
55428
|
+
flexDirection: "column",
|
|
55429
|
+
gap: 1.5,
|
|
55426
55430
|
children: [
|
|
55427
55431
|
/* @__PURE__ */ S.jsx(Or, { children: "Mã đặt chỗ (mã code vé)" }),
|
|
55428
55432
|
/* @__PURE__ */ S.jsx(
|
|
@@ -55442,17 +55446,19 @@ const ofe = [
|
|
|
55442
55446
|
{
|
|
55443
55447
|
justifyContent: "end",
|
|
55444
55448
|
invalid: !!J.lastName,
|
|
55445
|
-
display: r ? "
|
|
55449
|
+
display: r ? "flex" : "none",
|
|
55450
|
+
flexDirection: "column",
|
|
55451
|
+
gap: 1.5,
|
|
55446
55452
|
w: ["50%", null, "200px"],
|
|
55447
55453
|
children: [
|
|
55448
55454
|
/* @__PURE__ */ S.jsx(Or, { children: "Họ" }),
|
|
55449
|
-
/* @__PURE__ */ S.jsx(Er, {
|
|
55455
|
+
/* @__PURE__ */ S.jsx(Er, { ..._e("lastName"), disabled: R }),
|
|
55450
55456
|
/* @__PURE__ */ S.jsx(Xt, { children: (ne = J.lastName) == null ? void 0 : ne.message })
|
|
55451
55457
|
]
|
|
55452
55458
|
}
|
|
55453
55459
|
)
|
|
55454
55460
|
] }),
|
|
55455
|
-
/* @__PURE__ */ S.jsx(
|
|
55461
|
+
/* @__PURE__ */ S.jsx(De, { alignItems: "flex-end", display: r ? "flex" : "none", children: /* @__PURE__ */ S.jsx(
|
|
55456
55462
|
tn,
|
|
55457
55463
|
{
|
|
55458
55464
|
type: "button",
|
|
@@ -55466,7 +55472,7 @@ const ofe = [
|
|
|
55466
55472
|
) })
|
|
55467
55473
|
] }),
|
|
55468
55474
|
k && /* @__PURE__ */ S.jsxs(
|
|
55469
|
-
|
|
55475
|
+
De,
|
|
55470
55476
|
{
|
|
55471
55477
|
position: "fixed",
|
|
55472
55478
|
top: 0,
|
|
@@ -55482,7 +55488,7 @@ const ofe = [
|
|
|
55482
55488
|
bg: "rgba(0, 0, 0, 0.5)",
|
|
55483
55489
|
children: [
|
|
55484
55490
|
/* @__PURE__ */ S.jsx(KP, {}),
|
|
55485
|
-
/* @__PURE__ */ S.jsx(
|
|
55491
|
+
/* @__PURE__ */ S.jsx(Ve, { fontSize: "24px", textAlign: "center", children: "Đang trích xuất thông tin vé máy bay..." })
|
|
55486
55492
|
]
|
|
55487
55493
|
}
|
|
55488
55494
|
),
|
|
@@ -55490,7 +55496,7 @@ const ofe = [
|
|
|
55490
55496
|
Iv,
|
|
55491
55497
|
{
|
|
55492
55498
|
mx: "auto",
|
|
55493
|
-
templateColumns: ["repeat(
|
|
55499
|
+
templateColumns: ["repeat(1, 1fr)", null, "repeat(4, 1fr)"],
|
|
55494
55500
|
gap: 4,
|
|
55495
55501
|
mt: 6,
|
|
55496
55502
|
w: "full",
|
|
@@ -55537,7 +55543,7 @@ const ofe = [
|
|
|
55537
55543
|
}
|
|
55538
55544
|
}
|
|
55539
55545
|
),
|
|
55540
|
-
/* @__PURE__ */ S.jsxs(
|
|
55546
|
+
/* @__PURE__ */ S.jsxs(Ve, { color: "blue.500", mt: 1, fontSize: "sm", children: [
|
|
55541
55547
|
"Mã hãng hàng không: ",
|
|
55542
55548
|
Z("airlineCode")
|
|
55543
55549
|
] }),
|
|
@@ -55594,26 +55600,26 @@ const ofe = [
|
|
|
55594
55600
|
}
|
|
55595
55601
|
}
|
|
55596
55602
|
),
|
|
55597
|
-
/* @__PURE__ */ S.jsxs(
|
|
55603
|
+
/* @__PURE__ */ S.jsxs(Ve, { color: "blue.500", mt: 1, fontSize: "sm", children: [
|
|
55598
55604
|
"Mã quốc gia: ",
|
|
55599
55605
|
Z("countryCodeDes")
|
|
55600
55606
|
] }),
|
|
55601
|
-
te && /* @__PURE__ */ S.jsx(
|
|
55602
|
-
/* @__PURE__ */ S.jsx(Xt, { children: (
|
|
55607
|
+
te && /* @__PURE__ */ S.jsx(Ve, { color: "red.500", mt: 1, fontSize: "sm", children: "Không thể tạo giao dịch khi bay nội địa" }),
|
|
55608
|
+
/* @__PURE__ */ S.jsx(Xt, { children: (Be = J.countryNameDes) == null ? void 0 : Be.message })
|
|
55603
55609
|
] })
|
|
55604
55610
|
]
|
|
55605
55611
|
}
|
|
55606
55612
|
),
|
|
55607
|
-
/* @__PURE__ */ S.jsx(
|
|
55608
|
-
/* @__PURE__ */ S.jsxs(
|
|
55613
|
+
/* @__PURE__ */ S.jsx(Ve, { fontWeight: "bold", mt: 6, mb: 1, children: "Thông tin khách hàng" }),
|
|
55614
|
+
/* @__PURE__ */ S.jsxs(Ve, { color: "gray.500", mt: 1, mb: 2, children: [
|
|
55609
55615
|
"Lưu ý: Số điện thoại phải được đăng ký với ngân hàng techcombank để sử dụng mobile banking, và không bao gồm mã vùng ",
|
|
55610
|
-
/* @__PURE__ */ S.jsx(
|
|
55616
|
+
/* @__PURE__ */ S.jsx(Ve, { as: "b", children: "(+84)" })
|
|
55611
55617
|
] }),
|
|
55612
55618
|
/* @__PURE__ */ S.jsxs(
|
|
55613
55619
|
Iv,
|
|
55614
55620
|
{
|
|
55615
55621
|
mx: "auto",
|
|
55616
|
-
templateColumns: ["repeat(
|
|
55622
|
+
templateColumns: ["repeat(1, 1fr)", null, "repeat(4, 1fr)"],
|
|
55617
55623
|
gap: 4,
|
|
55618
55624
|
w: "full",
|
|
55619
55625
|
children: [
|
|
@@ -55647,7 +55653,7 @@ const ofe = [
|
|
|
55647
55653
|
]
|
|
55648
55654
|
}
|
|
55649
55655
|
),
|
|
55650
|
-
/* @__PURE__ */ S.jsx(
|
|
55656
|
+
/* @__PURE__ */ S.jsx(De, { mt: 5, children: /* @__PURE__ */ S.jsx(Ve, { color: "gray.600", children: "Lưu ý sau khi gửi yêu cầu giao dịch: bạn cần theo dõi tin nhắn ZNS (Zalo), hoặc SMS để xác nhận giao dịch. Sau đó, bạn cần theo dõi thông báo trên ứng dụng mobile của Techcombank để tiến hành giao dịch." }) }),
|
|
55651
55657
|
/* @__PURE__ */ S.jsxs(oM, { justifyContent: "center", w: "100%", gap: 6, mt: 10, children: [
|
|
55652
55658
|
/* @__PURE__ */ S.jsxs(tn, { size: "md", type: "submit", disabled: p, loading: p, children: [
|
|
55653
55659
|
/* @__PURE__ */ S.jsx(il, { size: "sm", children: /* @__PURE__ */ S.jsx(MD, {}) }),
|
|
@@ -55915,7 +55921,7 @@ const GD = [
|
|
|
55915
55921
|
}), A = /* @__PURE__ */ S.jsxs(Bt, { maxW: "800px", mx: "auto", p: 4, children: [
|
|
55916
55922
|
/* @__PURE__ */ S.jsx(dp, { as: "h1", size: "2xl", alignItems: "center", display: "flex", gap: 3, children: "Đăng ký mua ngoại tệ đi du học" }),
|
|
55917
55923
|
/* @__PURE__ */ S.jsxs("form", { onSubmit: a(o), children: [
|
|
55918
|
-
/* @__PURE__ */ S.jsxs(
|
|
55924
|
+
/* @__PURE__ */ S.jsxs(De, { flexDir: "row", gap: 2, mt: 10, children: [
|
|
55919
55925
|
/* @__PURE__ */ S.jsxs(Jt, { invalid: !!i.name, children: [
|
|
55920
55926
|
/* @__PURE__ */ S.jsx(Or, { children: "Họ tên" }),
|
|
55921
55927
|
/* @__PURE__ */ S.jsx(Er, { ...n("name") }),
|
|
@@ -55932,7 +55938,7 @@ const GD = [
|
|
|
55932
55938
|
/* @__PURE__ */ S.jsx(Xt, { children: (w = i.phone) == null ? void 0 : w.message })
|
|
55933
55939
|
] })
|
|
55934
55940
|
] }),
|
|
55935
|
-
/* @__PURE__ */ S.jsxs(
|
|
55941
|
+
/* @__PURE__ */ S.jsxs(De, { flexDir: "row", gap: 2, mt: 3, children: [
|
|
55936
55942
|
/* @__PURE__ */ S.jsxs(Jt, { invalid: !!i.currency, flex: 1, children: [
|
|
55937
55943
|
/* @__PURE__ */ S.jsx(Or, { children: "Loại ngoại tệ" }),
|
|
55938
55944
|
/* @__PURE__ */ S.jsx(
|
|
@@ -55999,14 +56005,14 @@ const GD = [
|
|
|
55999
56005
|
/* @__PURE__ */ S.jsx(Xt, { children: (I = i.province) == null ? void 0 : I.message })
|
|
56000
56006
|
] })
|
|
56001
56007
|
] }),
|
|
56002
|
-
/* @__PURE__ */ S.jsxs(
|
|
56003
|
-
/* @__PURE__ */ S.jsx(
|
|
56008
|
+
/* @__PURE__ */ S.jsxs(De, { mt: 6, flexDir: "column", gap: 2, children: [
|
|
56009
|
+
/* @__PURE__ */ S.jsx(Ve, { as: "h3", fontSize: "lg", fontWeight: "bold", children: "Hồ sơ" }),
|
|
56004
56010
|
/* @__PURE__ */ S.jsxs(Bt, { children: [
|
|
56005
|
-
/* @__PURE__ */ S.jsxs(
|
|
56011
|
+
/* @__PURE__ */ S.jsxs(Ve, { children: [
|
|
56006
56012
|
"1. Giấy tờ tuỳ thân của người chuyển tiền ",
|
|
56007
56013
|
/* @__PURE__ */ S.jsx(Pu, { color: "red.500", children: "(bắt buộc)" })
|
|
56008
56014
|
] }),
|
|
56009
|
-
/* @__PURE__ */ S.jsx(
|
|
56015
|
+
/* @__PURE__ */ S.jsx(Ve, { fontSize: "sm", color: "red.500", children: c.document1.length === 0 && "Vui lòng chọn tệp" }),
|
|
56010
56016
|
/* @__PURE__ */ S.jsxs(
|
|
56011
56017
|
mo,
|
|
56012
56018
|
{
|
|
@@ -56030,14 +56036,14 @@ const GD = [
|
|
|
56030
56036
|
/* @__PURE__ */ S.jsx(uc, {}),
|
|
56031
56037
|
/* @__PURE__ */ S.jsx(cs, {}),
|
|
56032
56038
|
/* @__PURE__ */ S.jsx(ls, {}),
|
|
56033
|
-
/* @__PURE__ */ S.jsx(
|
|
56039
|
+
/* @__PURE__ */ S.jsx(De, { flex: "1", justifyContent: "flex-end", children: /* @__PURE__ */ S.jsx(os, { cursor: "pointer", children: /* @__PURE__ */ S.jsx(hc, { color: "red" }) }) })
|
|
56034
56040
|
] }, k.name)) }) })
|
|
56035
56041
|
]
|
|
56036
56042
|
}
|
|
56037
56043
|
)
|
|
56038
56044
|
] }),
|
|
56039
56045
|
/* @__PURE__ */ S.jsxs(Bt, { children: [
|
|
56040
|
-
/* @__PURE__ */ S.jsx(
|
|
56046
|
+
/* @__PURE__ */ S.jsx(Ve, { children: "2. Giấy tờ chứng minh quan hệ thân nhân (tuỳ chọn)" }),
|
|
56041
56047
|
/* @__PURE__ */ S.jsxs(
|
|
56042
56048
|
mo,
|
|
56043
56049
|
{
|
|
@@ -56061,14 +56067,14 @@ const GD = [
|
|
|
56061
56067
|
/* @__PURE__ */ S.jsx(uc, {}),
|
|
56062
56068
|
/* @__PURE__ */ S.jsx(cs, {}),
|
|
56063
56069
|
/* @__PURE__ */ S.jsx(ls, {}),
|
|
56064
|
-
/* @__PURE__ */ S.jsx(
|
|
56070
|
+
/* @__PURE__ */ S.jsx(De, { flex: "1", justifyContent: "flex-end", children: /* @__PURE__ */ S.jsx(os, { cursor: "pointer", children: /* @__PURE__ */ S.jsx(hc, { color: "red" }) }) })
|
|
56065
56071
|
] }, k.name)) }) })
|
|
56066
56072
|
]
|
|
56067
56073
|
}
|
|
56068
56074
|
)
|
|
56069
56075
|
] }),
|
|
56070
56076
|
/* @__PURE__ */ S.jsxs(Bt, { children: [
|
|
56071
|
-
/* @__PURE__ */ S.jsx(
|
|
56077
|
+
/* @__PURE__ */ S.jsx(Ve, { children: "3. Giấy tờ chứng minh người thực hiện là đại diện hợp pháp (tuỳ chọn)" }),
|
|
56072
56078
|
/* @__PURE__ */ S.jsxs(
|
|
56073
56079
|
mo,
|
|
56074
56080
|
{
|
|
@@ -56089,19 +56095,19 @@ const GD = [
|
|
|
56089
56095
|
/* @__PURE__ */ S.jsx(uc, {}),
|
|
56090
56096
|
/* @__PURE__ */ S.jsx(cs, {}),
|
|
56091
56097
|
/* @__PURE__ */ S.jsx(ls, {}),
|
|
56092
|
-
/* @__PURE__ */ S.jsx(
|
|
56098
|
+
/* @__PURE__ */ S.jsx(De, { flex: "1", justifyContent: "flex-end", children: /* @__PURE__ */ S.jsx(os, { cursor: "pointer", children: /* @__PURE__ */ S.jsx(hc, { color: "red" }) }) })
|
|
56093
56099
|
] }, k.name)) }) })
|
|
56094
56100
|
]
|
|
56095
56101
|
}
|
|
56096
56102
|
)
|
|
56097
56103
|
] }),
|
|
56098
56104
|
/* @__PURE__ */ S.jsxs(Bt, { children: [
|
|
56099
|
-
/* @__PURE__ */ S.jsxs(
|
|
56105
|
+
/* @__PURE__ */ S.jsxs(Ve, { children: [
|
|
56100
56106
|
"4. Giấy tờ chứng minh mục đích chuyển tiền ",
|
|
56101
56107
|
/* @__PURE__ */ S.jsx(Pu, { color: "red.500", children: "(bắt buộc)" })
|
|
56102
56108
|
] }),
|
|
56103
|
-
/* @__PURE__ */ S.jsx(
|
|
56104
|
-
/* @__PURE__ */ S.jsx(
|
|
56109
|
+
/* @__PURE__ */ S.jsx(Ve, { fontSize: "sm", color: "red.500", children: c.document4.length === 0 && "Vui lòng chọn tệp" }),
|
|
56110
|
+
/* @__PURE__ */ S.jsx(Ve, { fontSize: "sm", color: "gray.500", pl: "2", children: "Hộ chiếu của Du học sinh và Giấy tờ hợp lý chứng minh Du học sinh được học tập ở nước ngoài (Thông báo nhập học của cơ sở đào tạo, thị thực nhập cảnh/visa du học, thẻ sinh viên, xác nhận cư trú/thẻ cư trú với mục đích học tập hoặc giấy tờ phù hợp khác chứng minh Du học sinh được học tập ở nước ngoài)." }),
|
|
56105
56111
|
/* @__PURE__ */ S.jsxs(
|
|
56106
56112
|
mo,
|
|
56107
56113
|
{
|
|
@@ -56122,20 +56128,20 @@ const GD = [
|
|
|
56122
56128
|
/* @__PURE__ */ S.jsx(uc, {}),
|
|
56123
56129
|
/* @__PURE__ */ S.jsx(cs, {}),
|
|
56124
56130
|
/* @__PURE__ */ S.jsx(ls, {}),
|
|
56125
|
-
/* @__PURE__ */ S.jsx(
|
|
56131
|
+
/* @__PURE__ */ S.jsx(De, { flex: "1", justifyContent: "flex-end", children: /* @__PURE__ */ S.jsx(os, { cursor: "pointer", children: /* @__PURE__ */ S.jsx(hc, { color: "red" }) }) })
|
|
56126
56132
|
] }, k.name)) }) })
|
|
56127
56133
|
]
|
|
56128
56134
|
}
|
|
56129
56135
|
)
|
|
56130
56136
|
] }),
|
|
56131
56137
|
/* @__PURE__ */ S.jsxs(Bt, { children: [
|
|
56132
|
-
/* @__PURE__ */ S.jsxs(
|
|
56138
|
+
/* @__PURE__ */ S.jsxs(Ve, { children: [
|
|
56133
56139
|
"5. Giấy tờ chứng minh tính hợp lệ của số tiền chuyển",
|
|
56134
56140
|
" ",
|
|
56135
56141
|
/* @__PURE__ */ S.jsx(Pu, { color: "red.500", children: "(bắt buộc)" })
|
|
56136
56142
|
] }),
|
|
56137
|
-
/* @__PURE__ */ S.jsx(
|
|
56138
|
-
/* @__PURE__ */ S.jsx(
|
|
56143
|
+
/* @__PURE__ */ S.jsx(Ve, { fontSize: "sm", color: "gray.500", pl: "2", children: "Giấy tờ chứng minh tính hợp lệ của số tiền chuyển: Thông báo học phí của cơ sở đào tạo; thông báo của nước ngoài về các chi phí sinh hoạt và các chi phí khác có liên quan đối với mục đích học tập ở nước ngoài (nếu chuyển căn cứ theo thông báo của nước ngoài)" }),
|
|
56144
|
+
/* @__PURE__ */ S.jsx(Ve, { fontSize: "sm", color: "red.500", children: c.document5.length === 0 && "Vui lòng chọn tệp" }),
|
|
56139
56145
|
/* @__PURE__ */ S.jsxs(
|
|
56140
56146
|
mo,
|
|
56141
56147
|
{
|
|
@@ -56156,15 +56162,15 @@ const GD = [
|
|
|
56156
56162
|
/* @__PURE__ */ S.jsx(uc, {}),
|
|
56157
56163
|
/* @__PURE__ */ S.jsx(cs, {}),
|
|
56158
56164
|
/* @__PURE__ */ S.jsx(ls, {}),
|
|
56159
|
-
/* @__PURE__ */ S.jsx(
|
|
56165
|
+
/* @__PURE__ */ S.jsx(De, { flex: "1", justifyContent: "flex-end", children: /* @__PURE__ */ S.jsx(os, { cursor: "pointer", children: /* @__PURE__ */ S.jsx(hc, { color: "red" }) }) })
|
|
56160
56166
|
] }, k.name)) }) })
|
|
56161
56167
|
]
|
|
56162
56168
|
}
|
|
56163
56169
|
)
|
|
56164
56170
|
] })
|
|
56165
56171
|
] }),
|
|
56166
|
-
/* @__PURE__ */ S.jsxs(
|
|
56167
|
-
/* @__PURE__ */ S.jsx(
|
|
56172
|
+
/* @__PURE__ */ S.jsxs(De, { mt: 6, flexDir: "column", gap: 2, children: [
|
|
56173
|
+
/* @__PURE__ */ S.jsx(Ve, { as: "h3", fontSize: "lg", fontWeight: "bold", children: "Bạn muốn nhận báo giá từ ngân hàng nào?" }),
|
|
56168
56174
|
/* @__PURE__ */ S.jsx(
|
|
56169
56175
|
qF,
|
|
56170
56176
|
{
|
|
@@ -56173,9 +56179,9 @@ const GD = [
|
|
|
56173
56179
|
onRemove: (_) => h(d.filter((k) => k.code !== _.code))
|
|
56174
56180
|
}
|
|
56175
56181
|
),
|
|
56176
|
-
d.length === 0 && /* @__PURE__ */ S.jsx(
|
|
56182
|
+
d.length === 0 && /* @__PURE__ */ S.jsx(Ve, { fontSize: "sm", color: "red.500", children: "Vui lòng chọn ít nhất 1 ngân hàng" })
|
|
56177
56183
|
] }),
|
|
56178
|
-
/* @__PURE__ */ S.jsxs(
|
|
56184
|
+
/* @__PURE__ */ S.jsxs(De, { flexDir: "row", gap: 2, mt: 6, justifyContent: "center", children: [
|
|
56179
56185
|
/* @__PURE__ */ S.jsx(
|
|
56180
56186
|
tn,
|
|
56181
56187
|
{
|
|
@@ -56202,7 +56208,7 @@ const GD = [
|
|
|
56202
56208
|
] })
|
|
56203
56209
|
] }),
|
|
56204
56210
|
/* @__PURE__ */ S.jsx(
|
|
56205
|
-
|
|
56211
|
+
De,
|
|
56206
56212
|
{
|
|
56207
56213
|
position: "fixed",
|
|
56208
56214
|
top: 0,
|
|
@@ -56229,7 +56235,7 @@ const GD = [
|
|
|
56229
56235
|
/* @__PURE__ */ S.jsx(UZ, {}),
|
|
56230
56236
|
/* @__PURE__ */ S.jsx(BZ, {})
|
|
56231
56237
|
] }) }),
|
|
56232
|
-
/* @__PURE__ */ S.jsx(
|
|
56238
|
+
/* @__PURE__ */ S.jsx(Ve, { children: "Đang xử lý..." })
|
|
56233
56239
|
]
|
|
56234
56240
|
}
|
|
56235
56241
|
)
|
|
@@ -56242,7 +56248,7 @@ const GD = [
|
|
|
56242
56248
|
/* @__PURE__ */ S.jsx(hm, {}),
|
|
56243
56249
|
/* @__PURE__ */ S.jsx(yh, { children: /* @__PURE__ */ S.jsx(mh, {}) }),
|
|
56244
56250
|
/* @__PURE__ */ S.jsxs(sd, { children: [
|
|
56245
|
-
/* @__PURE__ */ S.jsx(
|
|
56251
|
+
/* @__PURE__ */ S.jsx(Ve, { fontSize: "xl", children: "Đang tải tệp lên" }),
|
|
56246
56252
|
/* @__PURE__ */ S.jsx(
|
|
56247
56253
|
NZ,
|
|
56248
56254
|
{
|
|
@@ -56336,7 +56342,7 @@ const GD = [
|
|
|
56336
56342
|
"Đăng ký mua ngoại tệ đi công tác"
|
|
56337
56343
|
] }),
|
|
56338
56344
|
/* @__PURE__ */ S.jsxs("form", { onSubmit: a(o), children: [
|
|
56339
|
-
/* @__PURE__ */ S.jsxs(
|
|
56345
|
+
/* @__PURE__ */ S.jsxs(De, { flexDir: "row", gap: 2, mt: 10, children: [
|
|
56340
56346
|
/* @__PURE__ */ S.jsxs(Jt, { invalid: !!i.name, children: [
|
|
56341
56347
|
/* @__PURE__ */ S.jsx(Or, { children: "Họ tên" }),
|
|
56342
56348
|
/* @__PURE__ */ S.jsx(Er, { ...n("name") }),
|
|
@@ -56353,7 +56359,7 @@ const GD = [
|
|
|
56353
56359
|
/* @__PURE__ */ S.jsx(Xt, { children: (A = i.phone) == null ? void 0 : A.message })
|
|
56354
56360
|
] })
|
|
56355
56361
|
] }),
|
|
56356
|
-
/* @__PURE__ */ S.jsxs(
|
|
56362
|
+
/* @__PURE__ */ S.jsxs(De, { flexDir: "row", gap: 2, mt: 3, children: [
|
|
56357
56363
|
/* @__PURE__ */ S.jsxs(Jt, { invalid: !!i.currency, flex: 1, children: [
|
|
56358
56364
|
/* @__PURE__ */ S.jsx(Or, { children: "Loại ngoại tệ" }),
|
|
56359
56365
|
/* @__PURE__ */ S.jsx(Er, { ...n("currency") }),
|
|
@@ -56388,10 +56394,10 @@ const GD = [
|
|
|
56388
56394
|
/* @__PURE__ */ S.jsx(Xt, { children: (w = i.province) == null ? void 0 : w.message })
|
|
56389
56395
|
] })
|
|
56390
56396
|
] }),
|
|
56391
|
-
/* @__PURE__ */ S.jsxs(
|
|
56392
|
-
/* @__PURE__ */ S.jsx(
|
|
56397
|
+
/* @__PURE__ */ S.jsxs(De, { mt: 6, flexDir: "column", gap: 2, children: [
|
|
56398
|
+
/* @__PURE__ */ S.jsx(Ve, { as: "h3", fontSize: "lg", fontWeight: "bold", children: "Hồ sơ" }),
|
|
56393
56399
|
/* @__PURE__ */ S.jsxs(Bt, { children: [
|
|
56394
|
-
/* @__PURE__ */ S.jsxs(
|
|
56400
|
+
/* @__PURE__ */ S.jsxs(Ve, { children: [
|
|
56395
56401
|
"1. Giấy tờ tuỳ thân của người chuyển tiền ",
|
|
56396
56402
|
/* @__PURE__ */ S.jsx(Pu, { color: "red.500", children: "(bắt buộc)" })
|
|
56397
56403
|
] }),
|
|
@@ -56416,19 +56422,19 @@ const GD = [
|
|
|
56416
56422
|
/* @__PURE__ */ S.jsx(uc, {}),
|
|
56417
56423
|
/* @__PURE__ */ S.jsx(cs, {}),
|
|
56418
56424
|
/* @__PURE__ */ S.jsx(ls, {}),
|
|
56419
|
-
/* @__PURE__ */ S.jsx(
|
|
56425
|
+
/* @__PURE__ */ S.jsx(De, { flex: "1", justifyContent: "flex-end", children: /* @__PURE__ */ S.jsx(os, { cursor: "pointer", children: /* @__PURE__ */ S.jsx(hc, { color: "red" }) }) })
|
|
56420
56426
|
] }, R.name)) }) })
|
|
56421
56427
|
]
|
|
56422
56428
|
}
|
|
56423
56429
|
)
|
|
56424
56430
|
] }),
|
|
56425
56431
|
/* @__PURE__ */ S.jsxs(Bt, { children: [
|
|
56426
|
-
/* @__PURE__ */ S.jsxs(
|
|
56432
|
+
/* @__PURE__ */ S.jsxs(Ve, { children: [
|
|
56427
56433
|
"2. Giấy tờ chứng minh công dân Việt Nam được phép định cư ở nước ngoài",
|
|
56428
56434
|
" ",
|
|
56429
56435
|
/* @__PURE__ */ S.jsx(Pu, { color: "red.500", children: "(bắt buộc)" })
|
|
56430
56436
|
] }),
|
|
56431
|
-
/* @__PURE__ */ S.jsx(
|
|
56437
|
+
/* @__PURE__ */ S.jsx(Ve, { fontSize: "sm", color: "gray.500", pl: "2", children: "Hộ chiếu quốc tịch nước ngoài, Giấy chứng nhận quốc tịch nước ngoài của cơ quan có thẩm quyền, Thị thực nhập cảnh/visa hoặc văn bản của cơ quan có thẩm quyền của nước ngoài cho phép Công dân Việt Nam được định cư ở nước ngoài hoặc giấy tờ hợp lý khác" }),
|
|
56432
56438
|
/* @__PURE__ */ S.jsxs(
|
|
56433
56439
|
mo,
|
|
56434
56440
|
{
|
|
@@ -56447,18 +56453,18 @@ const GD = [
|
|
|
56447
56453
|
/* @__PURE__ */ S.jsx(uc, {}),
|
|
56448
56454
|
/* @__PURE__ */ S.jsx(cs, {}),
|
|
56449
56455
|
/* @__PURE__ */ S.jsx(ls, {}),
|
|
56450
|
-
/* @__PURE__ */ S.jsx(
|
|
56456
|
+
/* @__PURE__ */ S.jsx(De, { flex: "1", justifyContent: "flex-end", children: /* @__PURE__ */ S.jsx(os, { cursor: "pointer", children: /* @__PURE__ */ S.jsx(hc, { color: "red" }) }) })
|
|
56451
56457
|
] }, R.name)) }) })
|
|
56452
56458
|
]
|
|
56453
56459
|
}
|
|
56454
56460
|
)
|
|
56455
56461
|
] }),
|
|
56456
56462
|
/* @__PURE__ */ S.jsxs(Bt, { children: [
|
|
56457
|
-
/* @__PURE__ */ S.jsxs(
|
|
56463
|
+
/* @__PURE__ */ S.jsxs(Ve, { children: [
|
|
56458
56464
|
"3. Giấy tờ chứng minh nguồn tiền ",
|
|
56459
56465
|
/* @__PURE__ */ S.jsx(Pu, { color: "red.500", children: "(bắt buộc)" })
|
|
56460
56466
|
] }),
|
|
56461
|
-
/* @__PURE__ */ S.jsx(
|
|
56467
|
+
/* @__PURE__ */ S.jsx(Ve, { fontSize: "sm", color: "gray.500", pl: "2", children: "Các giấy tờ hợp lý chứng minh số tiền chuyển có được từ giá trị tài sản của người đi định cư được hình thành tại Việt Nam trước khi nhập quốc tịch nước ngoài hoặc trước khi được phép cư trú ở nước ngoài cho mục đích định cư theo quy định của nước sở tại." }),
|
|
56462
56468
|
/* @__PURE__ */ S.jsxs(
|
|
56463
56469
|
mo,
|
|
56464
56470
|
{
|
|
@@ -56477,15 +56483,15 @@ const GD = [
|
|
|
56477
56483
|
/* @__PURE__ */ S.jsx(uc, {}),
|
|
56478
56484
|
/* @__PURE__ */ S.jsx(cs, {}),
|
|
56479
56485
|
/* @__PURE__ */ S.jsx(ls, {}),
|
|
56480
|
-
/* @__PURE__ */ S.jsx(
|
|
56486
|
+
/* @__PURE__ */ S.jsx(De, { flex: "1", justifyContent: "flex-end", children: /* @__PURE__ */ S.jsx(os, { cursor: "pointer", children: /* @__PURE__ */ S.jsx(hc, { color: "red" }) }) })
|
|
56481
56487
|
] }, R.name)) }) })
|
|
56482
56488
|
]
|
|
56483
56489
|
}
|
|
56484
56490
|
)
|
|
56485
56491
|
] })
|
|
56486
56492
|
] }),
|
|
56487
|
-
/* @__PURE__ */ S.jsxs(
|
|
56488
|
-
/* @__PURE__ */ S.jsx(
|
|
56493
|
+
/* @__PURE__ */ S.jsxs(De, { mt: 6, flexDir: "column", gap: 2, children: [
|
|
56494
|
+
/* @__PURE__ */ S.jsx(Ve, { as: "h3", fontSize: "lg", fontWeight: "bold", children: "Bạn muốn nhận báo giá từ ngân hàng nào?" }),
|
|
56489
56495
|
/* @__PURE__ */ S.jsx(
|
|
56490
56496
|
qF,
|
|
56491
56497
|
{
|
|
@@ -56495,7 +56501,7 @@ const GD = [
|
|
|
56495
56501
|
}
|
|
56496
56502
|
)
|
|
56497
56503
|
] }),
|
|
56498
|
-
/* @__PURE__ */ S.jsxs(
|
|
56504
|
+
/* @__PURE__ */ S.jsxs(De, { flexDir: "row", gap: 2, mt: 6, justifyContent: "center", children: [
|
|
56499
56505
|
/* @__PURE__ */ S.jsx(tn, { variant: "solid", colorPalette: "blue", type: "submit", size: "md", children: "Gửi yêu cầu" }),
|
|
56500
56506
|
/* @__PURE__ */ S.jsx(tn, { variant: "outline", colorPalette: "blue", size: "md", onClick: () => s(), children: "Nhập lại" })
|
|
56501
56507
|
] })
|
|
@@ -56532,7 +56538,7 @@ function xfe() {
|
|
|
56532
56538
|
["partial", C],
|
|
56533
56539
|
["partialRight", R],
|
|
56534
56540
|
["rearg", _]
|
|
56535
|
-
], K = "[object Arguments]", me = "[object Array]", Oe = "[object AsyncFunction]", ae = "[object Boolean]", te = "[object Date]", oe = "[object DOMException]", Pe = "[object Error]", B = "[object Function]", at = "[object GeneratorFunction]", Xe = "[object Map]", nt = "[object Number]", it = "[object Null]", de = "[object Object]", D = "[object Promise]", q = "[object Proxy]", ne = "[object RegExp]", be = "[object Set]", Ae = "[object String]", ve = "[object Symbol]",
|
|
56541
|
+
], K = "[object Arguments]", me = "[object Array]", Oe = "[object AsyncFunction]", ae = "[object Boolean]", te = "[object Date]", oe = "[object DOMException]", Pe = "[object Error]", B = "[object Function]", at = "[object GeneratorFunction]", Xe = "[object Map]", nt = "[object Number]", it = "[object Null]", de = "[object Object]", D = "[object Promise]", q = "[object Proxy]", ne = "[object RegExp]", be = "[object Set]", Ae = "[object String]", ve = "[object Symbol]", Be = "[object Undefined]", Ze = "[object WeakMap]", dt = "[object WeakSet]", bt = "[object ArrayBuffer]", Vt = "[object DataView]", Me = "[object Float32Array]", Qe = "[object Float64Array]", ut = "[object Int8Array]", tr = "[object Int16Array]", Ut = "[object Int32Array]", bn = "[object Uint8Array]", Ir = "[object Uint8ClampedArray]", qi = "[object Uint16Array]", Za = "[object Uint32Array]", Ti = /\b__p \+= '';/g, Vn = /\b(__p \+=) '' \+/g, Go = /(__e\(.*?\)|\b__t\)) \+\n'';/g, Bh = /&(?:amp|lt|gt|quot|#39);/g, Vh = /[&<>"']/g, jl = RegExp(Bh.source), Zm = RegExp(Vh.source), qm = /<%-([\s\S]+?)%>/g, Qm = /<%([\s\S]+?)%>/g, Gh = /<%=([\s\S]+?)%>/g, ey = /\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/, ty = /^\w*$/, ry = /[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g, xd = /[\\^$.*+?()[\]{}|]/g, Ad = RegExp(xd.source), bd = /^\s+/, ny = /\s/, ay = /\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/, N = /\{\n\/\* \[wrapped with (.+)\] \*/, W = /,? & /, U = /[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g, V = /[()=,{}\[\]\/\s]/, j = /\\(\\)?/g, z = /\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g, he = /\w*$/, Te = /^[-+]0x[0-9a-f]+$/i, fe = /^0b[01]+$/i, pe = /^\[object .+?Constructor\]$/, ye = /^0o[0-7]+$/i, Le = /^(?:0|[1-9]\d*)$/, ze = /[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g, qe = /($^)/, He = /['\n\r\u2028\u2029\\]/g, $e = "\\ud800-\\udfff", Tt = "\\u0300-\\u036f", wr = "\\ufe20-\\ufe2f", Rr = "\\u20d0-\\u20ff", hn = Tt + wr + Rr, js = "\\u2700-\\u27bf", zs = "a-z\\xdf-\\xf6\\xf8-\\xff", Uc = "\\xac\\xb1\\xd7\\xf7", Ho = "\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf", Ed = "\\u2000-\\u206f", Ci = " \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000", Eb = "A-Z\\xc0-\\xd6\\xd8-\\xde", Tb = "\\ufe0e\\ufe0f", Cb = Uc + Ho + Ed + Ci, iy = "['’]", bU = "[" + $e + "]", Ib = "[" + Cb + "]", Hh = "[" + hn + "]", wb = "\\d+", EU = "[" + js + "]", Rb = "[" + zs + "]", _b = "[^" + $e + Cb + wb + js + zs + Eb + "]", oy = "\\ud83c[\\udffb-\\udfff]", TU = "(?:" + Hh + "|" + oy + ")", Ob = "[^" + $e + "]", sy = "(?:\\ud83c[\\udde6-\\uddff]){2}", cy = "[\\ud800-\\udbff][\\udc00-\\udfff]", zl = "[" + Eb + "]", kb = "\\u200d", Nb = "(?:" + Rb + "|" + _b + ")", CU = "(?:" + zl + "|" + _b + ")", Pb = "(?:" + iy + "(?:d|ll|m|re|s|t|ve))?", Mb = "(?:" + iy + "(?:D|LL|M|RE|S|T|VE))?", Lb = TU + "?", Fb = "[" + Tb + "]?", IU = "(?:" + kb + "(?:" + [Ob, sy, cy].join("|") + ")" + Fb + Lb + ")*", wU = "\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])", RU = "\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])", Db = Fb + Lb + IU, _U = "(?:" + [EU, sy, cy].join("|") + ")" + Db, OU = "(?:" + [Ob + Hh + "?", Hh, sy, cy, bU].join("|") + ")", kU = RegExp(iy, "g"), NU = RegExp(Hh, "g"), ly = RegExp(oy + "(?=" + oy + ")|" + OU + Db, "g"), PU = RegExp([
|
|
56536
56542
|
zl + "?" + Rb + "+" + Pb + "(?=" + [Ib, zl, "$"].join("|") + ")",
|
|
56537
56543
|
CU + "+" + Mb + "(?=" + [Ib, zl + Nb, "$"].join("|") + ")",
|
|
56538
56544
|
zl + "?" + Nb + "+" + Pb,
|
|
@@ -57513,7 +57519,7 @@ function xfe() {
|
|
|
57513
57519
|
return Ot(l) ? T : $s(T, v(l));
|
|
57514
57520
|
}
|
|
57515
57521
|
function ra(l) {
|
|
57516
|
-
return l == null ? l === r ?
|
|
57522
|
+
return l == null ? l === r ? Be : it : Vc && Vc in Sr(l) ? YB(l) : s5(l);
|
|
57517
57523
|
}
|
|
57518
57524
|
function _y(l, f) {
|
|
57519
57525
|
return l > f;
|
|
@@ -60229,13 +60235,13 @@ const Afe = ({
|
|
|
60229
60235
|
return Tr(() => (C(), window.addEventListener("resize", C), () => {
|
|
60230
60236
|
window.removeEventListener("resize", C);
|
|
60231
60237
|
}), [C]), /* @__PURE__ */ S.jsxs(Bt, { children: [
|
|
60232
|
-
/* @__PURE__ */ S.jsxs(
|
|
60238
|
+
/* @__PURE__ */ S.jsxs(Ve, { fontSize: "2xl", fontWeight: "bold", children: [
|
|
60233
60239
|
"Bảng tỉ giá",
|
|
60234
|
-
/* @__PURE__ */ S.jsx(
|
|
60240
|
+
/* @__PURE__ */ S.jsx(Ve, { fontSize: "sm", fontWeight: "normal", color: "gray.500", fontStyle: "italic", children: "(Tỉ giá được cập nhật hằng ngày vào lúc 9:00 sáng từ website các ngân hàng)" })
|
|
60235
60241
|
] }),
|
|
60236
|
-
/* @__PURE__ */ S.jsxs(
|
|
60237
|
-
/* @__PURE__ */ S.jsxs(
|
|
60238
|
-
/* @__PURE__ */ S.jsx(
|
|
60242
|
+
/* @__PURE__ */ S.jsxs(De, { flexDir: "row", flexWrap: ["wrap", "null"], mt: 4, children: [
|
|
60243
|
+
/* @__PURE__ */ S.jsxs(De, { flexDir: "column", gap: 2, w: ["50%", null, "120px"], px: 2, children: [
|
|
60244
|
+
/* @__PURE__ */ S.jsx(Ve, { children: "Loại ngoại tệ" }),
|
|
60239
60245
|
/* @__PURE__ */ S.jsxs(
|
|
60240
60246
|
ep,
|
|
60241
60247
|
{
|
|
@@ -60256,8 +60262,8 @@ const Afe = ({
|
|
|
60256
60262
|
}
|
|
60257
60263
|
)
|
|
60258
60264
|
] }),
|
|
60259
|
-
/* @__PURE__ */ S.jsxs(
|
|
60260
|
-
/* @__PURE__ */ S.jsx(
|
|
60265
|
+
/* @__PURE__ */ S.jsxs(De, { flexDir: "column", gap: 2, w: ["50%", null, "200px"], px: 2, children: [
|
|
60266
|
+
/* @__PURE__ */ S.jsx(Ve, { children: "Ngân hàng" }),
|
|
60261
60267
|
/* @__PURE__ */ S.jsxs(
|
|
60262
60268
|
ep,
|
|
60263
60269
|
{
|
|
@@ -60279,15 +60285,15 @@ const Afe = ({
|
|
|
60279
60285
|
}
|
|
60280
60286
|
)
|
|
60281
60287
|
] }),
|
|
60282
|
-
/* @__PURE__ */ S.jsxs(
|
|
60283
|
-
/* @__PURE__ */ S.jsx(
|
|
60284
|
-
/* @__PURE__ */ S.jsx(
|
|
60288
|
+
/* @__PURE__ */ S.jsxs(De, { flexDir: "column", gap: 2, px: 2, w: ["50%", null, "120px"], children: [
|
|
60289
|
+
/* @__PURE__ */ S.jsx(Ve, { children: "Tỉ giá VND" }),
|
|
60290
|
+
/* @__PURE__ */ S.jsx(De, { alignItems: "center", gap: 2, flex: 1, children: /* @__PURE__ */ S.jsx(Er, { value: Gx(E || "0") }) })
|
|
60285
60291
|
] }),
|
|
60286
|
-
!y && /* @__PURE__ */ S.jsx(
|
|
60287
|
-
/* @__PURE__ */ S.jsxs(
|
|
60288
|
-
/* @__PURE__ */ S.jsx(
|
|
60289
|
-
/* @__PURE__ */ S.jsxs(
|
|
60290
|
-
y && /* @__PURE__ */ S.jsx(
|
|
60292
|
+
!y && /* @__PURE__ */ S.jsx(De, { flexDir: "column", justifyContent: "flex-end", pb: 2, px: 2, children: /* @__PURE__ */ S.jsx(Ve, { textAlign: "center", children: "x" }) }),
|
|
60293
|
+
/* @__PURE__ */ S.jsxs(De, { flexDir: "column", gap: 2, w: ["50%", null, "120px"], px: 2, children: [
|
|
60294
|
+
/* @__PURE__ */ S.jsx(Ve, { children: "Số lượng" }),
|
|
60295
|
+
/* @__PURE__ */ S.jsxs(De, { flexDir: "row", alignItems: "center", gap: 5, children: [
|
|
60296
|
+
y && /* @__PURE__ */ S.jsx(Ve, { textAlign: "center", children: "x" }),
|
|
60291
60297
|
/* @__PURE__ */ S.jsx(
|
|
60292
60298
|
eM,
|
|
60293
60299
|
{
|
|
@@ -60305,15 +60311,15 @@ const Afe = ({
|
|
|
60305
60311
|
)
|
|
60306
60312
|
] })
|
|
60307
60313
|
] }),
|
|
60308
|
-
/* @__PURE__ */ S.jsx(
|
|
60309
|
-
/* @__PURE__ */ S.jsx(
|
|
60310
|
-
/* @__PURE__ */ S.jsx(
|
|
60314
|
+
/* @__PURE__ */ S.jsx(De, { flex: 1, justifyContent: "flex-end", alignItems: "flex-end", px: 2, mt: [4, null], children: /* @__PURE__ */ S.jsx(De, { flexDir: "column", children: /* @__PURE__ */ S.jsxs(De, { flexDir: "row", alignItems: "center", gap: 5, pb: 2, children: [
|
|
60315
|
+
/* @__PURE__ */ S.jsx(Ve, { children: "=" }),
|
|
60316
|
+
/* @__PURE__ */ S.jsx(Ve, { fontWeight: "bold", color: "blue.500", children: FD(r * Number(E || 0)) })
|
|
60311
60317
|
] }) }) })
|
|
60312
60318
|
] }),
|
|
60313
60319
|
/* @__PURE__ */ S.jsx(Bt, { position: "relative", mt: 4, children: /* @__PURE__ */ S.jsx(Bt, { maxH: "500px", maxW: "100%", overflow: "auto", children: /* @__PURE__ */ S.jsxs(sM, { overflow: "hidden", showColumnBorder: !1, variant: "outline", stickyHeader: !0, children: [
|
|
60314
60320
|
/* @__PURE__ */ S.jsx(cM, { children: /* @__PURE__ */ S.jsxs(up, { bgColor: "#eef0f7", ref: o, children: [
|
|
60315
60321
|
/* @__PURE__ */ S.jsx(Da, { children: "Ngân hàng" }),
|
|
60316
|
-
d.map((R, I) => /* @__PURE__ */ S.jsx(Da, { px: I === 0 ? 0 : 5, justifyContent: "center", children: /* @__PURE__ */ S.jsxs(
|
|
60322
|
+
d.map((R, I) => /* @__PURE__ */ S.jsx(Da, { px: I === 0 ? 0 : 5, justifyContent: "center", children: /* @__PURE__ */ S.jsxs(De, { gap: 2, alignItems: "center", justifyContent: "center", h: "24px", children: [
|
|
60317
60323
|
/* @__PURE__ */ S.jsx(
|
|
60318
60324
|
_o,
|
|
60319
60325
|
{
|
|
@@ -60324,7 +60330,7 @@ const Afe = ({
|
|
|
60324
60330
|
verticalAlign: "middle"
|
|
60325
60331
|
}
|
|
60326
60332
|
),
|
|
60327
|
-
/* @__PURE__ */ S.jsx(
|
|
60333
|
+
/* @__PURE__ */ S.jsx(Ve, { lineHeight: "24px", verticalAlign: "middle", children: R })
|
|
60328
60334
|
] }) }, R))
|
|
60329
60335
|
] }) }),
|
|
60330
60336
|
/* @__PURE__ */ S.jsx(lM, { children: g.map((R) => /* @__PURE__ */ S.jsxs(up, { children: [
|
|
@@ -62157,16 +62163,16 @@ var Zfe = /* @__PURE__ */ function() {
|
|
|
62157
62163
|
}
|
|
62158
62164
|
return N.length = V, N;
|
|
62159
62165
|
}
|
|
62160
|
-
function
|
|
62166
|
+
function Be(N) {
|
|
62161
62167
|
for (var W = new Array(N), U = 0; U < N; ++U) W[U] = 0;
|
|
62162
62168
|
return W;
|
|
62163
62169
|
}
|
|
62164
62170
|
function Ze(N, W, U) {
|
|
62165
|
-
var V = 1, j = 0, z = 0, he = 0, Te = 0, fe = N.length, pe = te ? new Uint16Array(32) :
|
|
62171
|
+
var V = 1, j = 0, z = 0, he = 0, Te = 0, fe = N.length, pe = te ? new Uint16Array(32) : Be(32);
|
|
62166
62172
|
for (z = 0; z < 32; ++z) pe[z] = 0;
|
|
62167
62173
|
for (z = fe; z < U; ++z) N[z] = 0;
|
|
62168
62174
|
fe = N.length;
|
|
62169
|
-
var ye = te ? new Uint16Array(fe) :
|
|
62175
|
+
var ye = te ? new Uint16Array(fe) : Be(fe);
|
|
62170
62176
|
for (z = 0; z < fe; ++z)
|
|
62171
62177
|
pe[j = N[z]]++, V < j && (V = j), ye[z] = 0;
|
|
62172
62178
|
for (pe[0] = 0, z = 1; z <= V; ++z) pe[z + 16] = Te = Te + pe[z - 1] << 1;
|
|
@@ -62179,7 +62185,7 @@ var Zfe = /* @__PURE__ */ function() {
|
|
|
62179
62185
|
W[Te | he << Le] = Le & 15 | z << 4;
|
|
62180
62186
|
return V;
|
|
62181
62187
|
}
|
|
62182
|
-
var dt = te ? new Uint16Array(512) :
|
|
62188
|
+
var dt = te ? new Uint16Array(512) : Be(512), bt = te ? new Uint16Array(32) : Be(32);
|
|
62183
62189
|
if (!te) {
|
|
62184
62190
|
for (var Vt = 0; Vt < 512; ++Vt) dt[Vt] = 0;
|
|
62185
62191
|
for (Vt = 0; Vt < 32; ++Vt) bt[Vt] = 0;
|
|
@@ -62250,7 +62256,7 @@ var Zfe = /* @__PURE__ */ function() {
|
|
|
62250
62256
|
var W = yn(50 + Math.floor(N.length * 1.1)), U = Me(N, W);
|
|
62251
62257
|
return W.slice(0, U);
|
|
62252
62258
|
}
|
|
62253
|
-
var ut = te ? new Uint16Array(32768) :
|
|
62259
|
+
var ut = te ? new Uint16Array(32768) : Be(32768), tr = te ? new Uint16Array(32768) : Be(32768), Ut = te ? new Uint16Array(128) : Be(128), bn = 1, Ir = 1;
|
|
62254
62260
|
function qi(N, W) {
|
|
62255
62261
|
var U = it(N, W) + 257;
|
|
62256
62262
|
W += 5;
|
|
@@ -62258,7 +62264,7 @@ var Zfe = /* @__PURE__ */ function() {
|
|
|
62258
62264
|
W += 5;
|
|
62259
62265
|
var j = nt(N, W) + 4;
|
|
62260
62266
|
W += 4;
|
|
62261
|
-
for (var z = 0, he = te ? new Uint8Array(19) :
|
|
62267
|
+
for (var z = 0, he = te ? new Uint8Array(19) : Be(19), Te = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], fe = 1, pe = te ? new Uint8Array(8) : Be(8), ye = te ? new Uint8Array(8) : Be(8), Le = he.length, ze = 0; ze < j; ++ze)
|
|
62262
62268
|
he[K[ze]] = z = Xe(N, W), fe < z && (fe = z), pe[z]++, W += 3;
|
|
62263
62269
|
var qe = 0;
|
|
62264
62270
|
for (pe[0] = 0, ze = 1; ze <= fe; ++ze) ye[ze] = qe = qe + pe[ze - 1] << 1;
|
|
@@ -73891,8 +73897,8 @@ function kve(e, t) {
|
|
|
73891
73897
|
case 190:
|
|
73892
73898
|
if (t.sheetStubs)
|
|
73893
73899
|
for (var ve = B.c; ve <= B.C; ++ve) {
|
|
73894
|
-
var
|
|
73895
|
-
b = { ixfe:
|
|
73900
|
+
var Be = B.ixfe[ve - B.c];
|
|
73901
|
+
b = { ixfe: Be, XF: C[Be], t: "z" }, M > 0 && (b.z = J[b.ixfe >> 8 & 63]), so(b, t, r.opts.Date1904), H({ c: ve, r: B.r }, b, t);
|
|
73896
73902
|
}
|
|
73897
73903
|
break;
|
|
73898
73904
|
case 214:
|
|
@@ -81921,7 +81927,7 @@ const Txe = Bs().shape({
|
|
|
81921
81927
|
}).map((be) => {
|
|
81922
81928
|
const Ae = {};
|
|
81923
81929
|
return Object.keys(be).forEach((ve) => {
|
|
81924
|
-
var
|
|
81930
|
+
var Be, Ze;
|
|
81925
81931
|
if (ve in w2) {
|
|
81926
81932
|
const dt = w2[ve];
|
|
81927
81933
|
if (Ae[dt] = be[ve], dt === "idNo" && isNaN(Number(be[ve]))) {
|
|
@@ -81932,7 +81938,7 @@ const Txe = Bs().shape({
|
|
|
81932
81938
|
Ae[dt] = "1000";
|
|
81933
81939
|
return;
|
|
81934
81940
|
}
|
|
81935
|
-
if (dt === "currencyCode" && (Ae[dt] = b || ((
|
|
81941
|
+
if (dt === "currencyCode" && (Ae[dt] = b || ((Be = be[ve]) == null ? void 0 : Be.toString()) || ""), dt === "phoneNo") {
|
|
81936
81942
|
let bt = ((Ze = be[ve]) == null ? void 0 : Ze.toString()) || "";
|
|
81937
81943
|
if (isNaN(Number(bt))) {
|
|
81938
81944
|
Ae[dt] = "";
|
|
@@ -82188,7 +82194,7 @@ const Txe = Bs().shape({
|
|
|
82188
82194
|
handleSelectCurrency: _,
|
|
82189
82195
|
currencyCollection: k
|
|
82190
82196
|
} = Cxe(e), H = i("countryCodeDes") === "VN", [L, Q] = ft(null), { open: ge, onOpen: se, onClose: ce } = Cj();
|
|
82191
|
-
return /* @__PURE__ */ S.jsxs(
|
|
82197
|
+
return /* @__PURE__ */ S.jsxs(De, { flexDir: "column", gap: 2, p: 2, w: "100%", children: [
|
|
82192
82198
|
L && /* @__PURE__ */ S.jsx(
|
|
82193
82199
|
Ixe,
|
|
82194
82200
|
{
|
|
@@ -82199,12 +82205,12 @@ const Txe = Bs().shape({
|
|
|
82199
82205
|
}
|
|
82200
82206
|
),
|
|
82201
82207
|
/* @__PURE__ */ S.jsx(Bt, { mt: 6, mb: 6, mx: "auto", children: /* @__PURE__ */ S.jsxs(Bt, { mt: 2, children: [
|
|
82202
|
-
/* @__PURE__ */ S.jsx(
|
|
82208
|
+
/* @__PURE__ */ S.jsx(Ve, { fontSize: "20px", fontWeight: "bold", children: "Chọn ngân hàng" }),
|
|
82203
82209
|
/* @__PURE__ */ S.jsx(ZF, { selected: C, onSelect: R }),
|
|
82204
|
-
!C && /* @__PURE__ */ S.jsx(
|
|
82210
|
+
!C && /* @__PURE__ */ S.jsx(Ve, { color: "red.500", mt: 1, fontSize: "sm", children: "Vui lòng chọn ngân hàng" })
|
|
82205
82211
|
] }) }),
|
|
82206
|
-
/* @__PURE__ */ S.jsx(
|
|
82207
|
-
/* @__PURE__ */ S.jsxs(
|
|
82212
|
+
/* @__PURE__ */ S.jsx(Ve, { fontSize: "20px", fontWeight: "bold", children: "Loại ngoại tệ" }),
|
|
82213
|
+
/* @__PURE__ */ S.jsxs(De, { flexDir: "column", mb: 6, gap: 2, w: ["50%", null, "120px"], children: [
|
|
82208
82214
|
/* @__PURE__ */ S.jsxs(
|
|
82209
82215
|
ep,
|
|
82210
82216
|
{
|
|
@@ -82223,10 +82229,10 @@ const Txe = Bs().shape({
|
|
|
82223
82229
|
]
|
|
82224
82230
|
}
|
|
82225
82231
|
),
|
|
82226
|
-
!I && /* @__PURE__ */ S.jsx(
|
|
82232
|
+
!I && /* @__PURE__ */ S.jsx(Ve, { color: "red.500", mt: 1, fontSize: "sm", children: "Vui lòng chọn loại ngoại tệ" })
|
|
82227
82233
|
] }),
|
|
82228
82234
|
/* @__PURE__ */ S.jsxs("form", { onSubmit: h(d), style: { minHeight: "0", height: "100%" }, children: [
|
|
82229
|
-
/* @__PURE__ */ S.jsx(
|
|
82235
|
+
/* @__PURE__ */ S.jsx(Ve, { fontSize: "20px", fontWeight: "bold", children: "Giấy uỷ quyền" }),
|
|
82230
82236
|
/* @__PURE__ */ S.jsxs(
|
|
82231
82237
|
HZ,
|
|
82232
82238
|
{
|
|
@@ -82252,11 +82258,11 @@ const Txe = Bs().shape({
|
|
|
82252
82258
|
]
|
|
82253
82259
|
}
|
|
82254
82260
|
),
|
|
82255
|
-
/* @__PURE__ */ S.jsxs(
|
|
82256
|
-
/* @__PURE__ */ S.jsx(
|
|
82257
|
-
x.length === 0 && /* @__PURE__ */ S.jsxs(
|
|
82261
|
+
/* @__PURE__ */ S.jsxs(De, { flexDir: "column", gap: 2, children: [
|
|
82262
|
+
/* @__PURE__ */ S.jsx(De, { flexDir: "column", gap: 2, display: b ? "flex" : "none", children: /* @__PURE__ */ S.jsxs(De, { flexDir: "column", gap: 2, flex: 1, children: [
|
|
82263
|
+
x.length === 0 && /* @__PURE__ */ S.jsxs(Ve, { color: "red.500", children: [
|
|
82258
82264
|
/* @__PURE__ */ S.jsx(Ha, { icon: QZ }),
|
|
82259
|
-
/* @__PURE__ */ S.jsx(
|
|
82265
|
+
/* @__PURE__ */ S.jsx(Ve, { ml: 2, display: "inline", children: "Vui lòng chọn tệp" })
|
|
82260
82266
|
] }),
|
|
82261
82267
|
/* @__PURE__ */ S.jsxs(
|
|
82262
82268
|
mo,
|
|
@@ -82274,7 +82280,7 @@ const Txe = Bs().shape({
|
|
|
82274
82280
|
" Chọn tệp"
|
|
82275
82281
|
] }) }),
|
|
82276
82282
|
/* @__PURE__ */ S.jsx(ss, { maxW: "500px", children: /* @__PURE__ */ S.jsx(us, { children: () => x.map((M) => /* @__PURE__ */ S.jsxs(is, { file: M, p: 3, children: [
|
|
82277
|
-
/* @__PURE__ */ S.jsx(
|
|
82283
|
+
/* @__PURE__ */ S.jsx(De, { align: "center", justify: "space-between", w: "20px" }),
|
|
82278
82284
|
/* @__PURE__ */ S.jsx(cs, {}),
|
|
82279
82285
|
/* @__PURE__ */ S.jsx(ls, {}),
|
|
82280
82286
|
/* @__PURE__ */ S.jsx(
|
|
@@ -82289,19 +82295,19 @@ const Txe = Bs().shape({
|
|
|
82289
82295
|
type: M.type
|
|
82290
82296
|
}), se(), J.preventDefault();
|
|
82291
82297
|
},
|
|
82292
|
-
children: /* @__PURE__ */ S.jsx(
|
|
82298
|
+
children: /* @__PURE__ */ S.jsx(Ve, { color: "blue.500", textDecoration: "underline", children: "Xem chi tiết" })
|
|
82293
82299
|
}
|
|
82294
82300
|
),
|
|
82295
|
-
/* @__PURE__ */ S.jsx(
|
|
82301
|
+
/* @__PURE__ */ S.jsx(De, { flex: "1", justifyContent: "flex-end", children: /* @__PURE__ */ S.jsx(os, { cursor: "pointer", children: /* @__PURE__ */ S.jsx(hfe, { color: "red" }) }) })
|
|
82296
82302
|
] }, M.name)) }) })
|
|
82297
82303
|
]
|
|
82298
82304
|
}
|
|
82299
82305
|
)
|
|
82300
82306
|
] }) }),
|
|
82301
|
-
/* @__PURE__ */ S.jsx(
|
|
82302
|
-
/* @__PURE__ */ S.jsx(
|
|
82303
|
-
/* @__PURE__ */ S.jsx(
|
|
82304
|
-
/* @__PURE__ */ S.jsx(
|
|
82307
|
+
/* @__PURE__ */ S.jsx(Ve, { fontSize: "20px", fontWeight: "bold", mt: 6, children: "Nhập danh sách khách hàng" }),
|
|
82308
|
+
/* @__PURE__ */ S.jsx(De, { flexDir: "row", gap: 2, flex: 1, mt: 2, children: /* @__PURE__ */ S.jsxs(De, { flexDir: "column", gap: 2, flex: 1, children: [
|
|
82309
|
+
/* @__PURE__ */ S.jsx(Ve, { fontWeight: "bold", children: "Bằng file excel" }),
|
|
82310
|
+
/* @__PURE__ */ S.jsx(De, { children: /* @__PURE__ */ S.jsxs(
|
|
82305
82311
|
ZP,
|
|
82306
82312
|
{
|
|
82307
82313
|
href: "https://storage.googleapis.com/gotrip-static-files/files/vi_du_khach_doan.xlsx",
|
|
@@ -82310,11 +82316,11 @@ const Txe = Bs().shape({
|
|
|
82310
82316
|
color: "red.500",
|
|
82311
82317
|
children: [
|
|
82312
82318
|
/* @__PURE__ */ S.jsx(Ha, { icon: rq }),
|
|
82313
|
-
/* @__PURE__ */ S.jsx(
|
|
82319
|
+
/* @__PURE__ */ S.jsx(Ve, { children: "Tải file excel mẫu" })
|
|
82314
82320
|
]
|
|
82315
82321
|
}
|
|
82316
82322
|
) }),
|
|
82317
|
-
/* @__PURE__ */ S.jsxs(
|
|
82323
|
+
/* @__PURE__ */ S.jsxs(De, { align: "center", gap: 2, children: [
|
|
82318
82324
|
/* @__PURE__ */ S.jsx(
|
|
82319
82325
|
tn,
|
|
82320
82326
|
{
|
|
@@ -82328,7 +82334,7 @@ const Txe = Bs().shape({
|
|
|
82328
82334
|
}
|
|
82329
82335
|
),
|
|
82330
82336
|
/* @__PURE__ */ S.jsxs(Bt, { w: "200px", children: [
|
|
82331
|
-
r && /* @__PURE__ */ S.jsx(
|
|
82337
|
+
r && /* @__PURE__ */ S.jsx(Ve, { children: r.name }),
|
|
82332
82338
|
/* @__PURE__ */ S.jsx(
|
|
82333
82339
|
Er,
|
|
82334
82340
|
{
|
|
@@ -82343,7 +82349,7 @@ const Txe = Bs().shape({
|
|
|
82343
82349
|
] })
|
|
82344
82350
|
] }) })
|
|
82345
82351
|
] }),
|
|
82346
|
-
/* @__PURE__ */ S.jsx(
|
|
82352
|
+
/* @__PURE__ */ S.jsx(De, { flexDir: "row", justifyContent: "space-between", mt: 10, gap: 6, w: "100%", h: "100%", children: /* @__PURE__ */ S.jsxs(De, { flexDir: "column", w: "100%", justifyContent: "space-between", gap: 2, flex: 1, children: [
|
|
82347
82353
|
/* @__PURE__ */ S.jsx(dp, { size: "md", children: "Thông tin hành trình" }),
|
|
82348
82354
|
/* @__PURE__ */ S.jsxs(Iv, { templateColumns: "repeat(4, 1fr)", gap: 2, children: [
|
|
82349
82355
|
/* @__PURE__ */ S.jsxs(Jt, { invalid: !!n.airlineName, children: [
|
|
@@ -82371,7 +82377,7 @@ const Txe = Bs().shape({
|
|
|
82371
82377
|
}
|
|
82372
82378
|
}
|
|
82373
82379
|
),
|
|
82374
|
-
/* @__PURE__ */ S.jsxs(
|
|
82380
|
+
/* @__PURE__ */ S.jsxs(Ve, { color: "blue.500", mt: 1, fontSize: "sm", children: [
|
|
82375
82381
|
"Mã hãng hàng không: ",
|
|
82376
82382
|
i("airlineCode")
|
|
82377
82383
|
] }),
|
|
@@ -82416,11 +82422,11 @@ const Txe = Bs().shape({
|
|
|
82416
82422
|
}
|
|
82417
82423
|
}
|
|
82418
82424
|
),
|
|
82419
|
-
/* @__PURE__ */ S.jsxs(
|
|
82425
|
+
/* @__PURE__ */ S.jsxs(Ve, { color: "blue.500", mt: 1, fontSize: "sm", children: [
|
|
82420
82426
|
"Mã quốc gia: ",
|
|
82421
82427
|
i("countryCodeDes")
|
|
82422
82428
|
] }),
|
|
82423
|
-
H && /* @__PURE__ */ S.jsx(
|
|
82429
|
+
H && /* @__PURE__ */ S.jsx(Ve, { color: "red.500", mt: 1, fontSize: "sm", children: "Không thể tạo giao dịch khi bay nội địa" }),
|
|
82424
82430
|
/* @__PURE__ */ S.jsx(Xt, { children: (X = n.countryNameDes) == null ? void 0 : X.message })
|
|
82425
82431
|
] })
|
|
82426
82432
|
] }),
|
|
@@ -82429,8 +82435,8 @@ const Txe = Bs().shape({
|
|
|
82429
82435
|
((Ie = i("customers")) == null ? void 0 : Ie.length) || 0,
|
|
82430
82436
|
" hành khách"
|
|
82431
82437
|
] }),
|
|
82432
|
-
/* @__PURE__ */ S.jsx(
|
|
82433
|
-
/* @__PURE__ */ S.jsx(
|
|
82438
|
+
/* @__PURE__ */ S.jsx(De, { flexDir: "column", gap: 2, children: /* @__PURE__ */ S.jsx(Jt, { children: /* @__PURE__ */ S.jsx(Xt, { children: (_e = n.customers) == null ? void 0 : _e.message }) }) }),
|
|
82439
|
+
/* @__PURE__ */ S.jsx(De, { flex: 1, bg: "red", w: "100%", overflowY: "auto", children: /* @__PURE__ */ S.jsxs(sM, { size: "sm", interactive: !0, children: [
|
|
82434
82440
|
/* @__PURE__ */ S.jsx(cM, { children: /* @__PURE__ */ S.jsxs(up, { children: [
|
|
82435
82441
|
/* @__PURE__ */ S.jsx(Da, { children: "STT" }),
|
|
82436
82442
|
/* @__PURE__ */ S.jsx(Da, { children: "Tên" }),
|
|
@@ -82445,7 +82451,7 @@ const Txe = Bs().shape({
|
|
|
82445
82451
|
/* @__PURE__ */ S.jsx(Da, {})
|
|
82446
82452
|
] }) }),
|
|
82447
82453
|
/* @__PURE__ */ S.jsx(lM, { children: (s("customers") || []).map((M, J) => {
|
|
82448
|
-
var Z, K, me, Oe, ae, te, oe, Pe, B, at, Xe, nt, it, de, D, q, ne, be, Ae, ve,
|
|
82454
|
+
var Z, K, me, Oe, ae, te, oe, Pe, B, at, Xe, nt, it, de, D, q, ne, be, Ae, ve, Be, Ze, dt, bt, Vt, Me, Qe, ut, tr, Ut, bn, Ir, qi, Za, Ti;
|
|
82449
82455
|
return /* @__PURE__ */ S.jsxs(up, { h: "1px", children: [
|
|
82450
82456
|
/* @__PURE__ */ S.jsx(Ua, { verticalAlign: "top", children: J + 1 }),
|
|
82451
82457
|
/* @__PURE__ */ S.jsx(Ua, { verticalAlign: "top", minW: "150px", children: /* @__PURE__ */ S.jsxs(Jt, { h: "100%", invalid: !!((K = (Z = n.customers) == null ? void 0 : Z[J]) != null && K.customerName), children: [
|
|
@@ -82499,7 +82505,7 @@ const Txe = Bs().shape({
|
|
|
82499
82505
|
),
|
|
82500
82506
|
/* @__PURE__ */ S.jsx(Xt, { children: (ve = (Ae = (be = n.customers) == null ? void 0 : be[J]) == null ? void 0 : Ae.mobileNo) == null ? void 0 : ve.message })
|
|
82501
82507
|
] }) }),
|
|
82502
|
-
/* @__PURE__ */ S.jsx(Ua, { verticalAlign: "top", children: /* @__PURE__ */ S.jsxs(Jt, { h: "100%", invalid: !!((Ze = (
|
|
82508
|
+
/* @__PURE__ */ S.jsx(Ua, { verticalAlign: "top", children: /* @__PURE__ */ S.jsxs(Jt, { h: "100%", invalid: !!((Ze = (Be = n.customers) == null ? void 0 : Be[J]) != null && Ze.passportNo), children: [
|
|
82503
82509
|
/* @__PURE__ */ S.jsx(
|
|
82504
82510
|
Er,
|
|
82505
82511
|
{
|
|
@@ -82514,8 +82520,8 @@ const Txe = Bs().shape({
|
|
|
82514
82520
|
/* @__PURE__ */ S.jsx(Er, { size: "sm", type: "text", ...a(`customers.${J}.idNo`) }),
|
|
82515
82521
|
/* @__PURE__ */ S.jsx(Xt, { children: (Ut = (tr = (ut = n.customers) == null ? void 0 : ut[J]) == null ? void 0 : tr.idNo) == null ? void 0 : Ut.message })
|
|
82516
82522
|
] }) }),
|
|
82517
|
-
/* @__PURE__ */ S.jsx(Ua, { verticalAlign: "top", children: /* @__PURE__ */ S.jsx(
|
|
82518
|
-
/* @__PURE__ */ S.jsx(Ua, { verticalAlign: "top", children: /* @__PURE__ */ S.jsx(
|
|
82523
|
+
/* @__PURE__ */ S.jsx(Ua, { verticalAlign: "top", children: /* @__PURE__ */ S.jsx(Ve, { mt: "2px", children: I }) }),
|
|
82524
|
+
/* @__PURE__ */ S.jsx(Ua, { verticalAlign: "top", children: /* @__PURE__ */ S.jsx(Ve, { mt: "2px", children: C == null ? void 0 : C.name }) }),
|
|
82519
82525
|
/* @__PURE__ */ S.jsx(Ua, { verticalAlign: "top", children: /* @__PURE__ */ S.jsxs(Jt, { h: "100%", invalid: !!((Ir = (bn = n.customers) == null ? void 0 : bn[J]) != null && Ir.amount), children: [
|
|
82520
82526
|
/* @__PURE__ */ S.jsx(
|
|
82521
82527
|
oD,
|
|
@@ -82550,7 +82556,7 @@ const Txe = Bs().shape({
|
|
|
82550
82556
|
] }, `${M.ticketCode}-${J}`);
|
|
82551
82557
|
}) })
|
|
82552
82558
|
] }) }),
|
|
82553
|
-
/* @__PURE__ */ S.jsxs(
|
|
82559
|
+
/* @__PURE__ */ S.jsxs(De, { justify: "center", p: 3, gap: 4, children: [
|
|
82554
82560
|
/* @__PURE__ */ S.jsxs(
|
|
82555
82561
|
tn,
|
|
82556
82562
|
{
|
|
@@ -82617,7 +82623,7 @@ const Txe = Bs().shape({
|
|
|
82617
82623
|
setSelected: t
|
|
82618
82624
|
}
|
|
82619
82625
|
) }),
|
|
82620
|
-
u ? /* @__PURE__ */ S.jsx(
|
|
82626
|
+
u ? /* @__PURE__ */ S.jsx(De, { justifyContent: "center", mt: 12, w: "100%", children: /* @__PURE__ */ S.jsxs(
|
|
82621
82627
|
tn,
|
|
82622
82628
|
{
|
|
82623
82629
|
size: "md",
|