gotrip-fx-transaction-form 1.0.96 → 1.0.97
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 +281 -277
- package/package.json +1 -1
- package/types/components/UserProfile/BankAccountForm.d.ts +11 -0
- package/types/constants/api-urls.d.ts +4 -0
- package/types/pages/agency/user-profile/EContractPage.d.ts +1 -0
- /package/types/pages/agency/user-profile/{user-profile.d.ts → UserProfile.d.ts} +0 -0
package/index.js
CHANGED
|
@@ -19079,8 +19079,8 @@ function tpe(e) {
|
|
|
19079
19079
|
if (!Me) return;
|
|
19080
19080
|
const Pe = (X = me.keys[0]) == null ? void 0 : X.filter(Boolean);
|
|
19081
19081
|
if (!Pe.length) return;
|
|
19082
|
-
const
|
|
19083
|
-
f.has(
|
|
19082
|
+
const Qe = i(Y.concat(Pe));
|
|
19083
|
+
f.has(Qe) || f.set(Qe, /* @__PURE__ */ new Map()), f.get(Qe).set(
|
|
19084
19084
|
he.extensions.cssVar.var,
|
|
19085
19085
|
Me.extensions.cssVar.ref
|
|
19086
19086
|
);
|
|
@@ -30126,7 +30126,7 @@ const q0 = () => oA({
|
|
|
30126
30126
|
md: !1
|
|
30127
30127
|
});
|
|
30128
30128
|
var vh = /* @__PURE__ */ ((e) => (e.SYSTEM = "system", e.BANK = "bank", e.TRAVEL_AGENCY = "travel_agency", e.STANDALONE_BOOKER = "standalone_booker", e))(vh || {}), Bn = /* @__PURE__ */ ((e) => (e.TRAVEL = "TRAVEL", e.TRAVEL_GROUP = "TRAVEL_GROUP", e.EDUCATION = "EDUCATION", e.MEDICAL = "MEDICAL", e.INHERITANCE = "INHERITANCE", e.SUBSIDY = "SUBSIDY", e.IMMIGRATION = "IMMIGRATION", e.BUSINESS = "BUSINESS", e))(Bn || {}), zn = /* @__PURE__ */ ((e) => (e.TOP_UP_A = "ZA", e.TOP_UP_B = "ZB", e.TOP_UP_C = "ZC", e.TOP_UP_D = "ZD", e.TOP_UP_E = "ZE", e.TOP_UP_F = "ZF", e.TOP_UP_G = "ZG", e.TOP_UP_H = "ZH", e.TOP_UP_I = "ZI", e.TOP_UP_J = "ZJ", e.TOP_UP_K = "ZK", e.TOP_UP_L = "ZL", e.TOP_UP_M = "ZM", e.TOP_UP_N = "ZN", e.TOP_UP_O = "ZO", e.TOP_UP_P = "ZP", e))(zn || {});
|
|
30129
|
-
const
|
|
30129
|
+
const qe = {
|
|
30130
30130
|
ENVIRONMENT: "DEV",
|
|
30131
30131
|
API_URL: void 0,
|
|
30132
30132
|
BUILD_FOR: "GUEST",
|
|
@@ -30141,14 +30141,14 @@ const et = {
|
|
|
30141
30141
|
useCases: [
|
|
30142
30142
|
{
|
|
30143
30143
|
id: Bn.TRAVEL,
|
|
30144
|
-
enable:
|
|
30144
|
+
enable: qe.USE_CASES.includes(Bn.TRAVEL),
|
|
30145
30145
|
hide: !1,
|
|
30146
30146
|
name: "Đi du lịch nước ngoài - công tác ngắn ngày",
|
|
30147
30147
|
image: "https://storage.googleapis.com/gotrip-static-files/categories/Icon_Muangoaite-01.svg"
|
|
30148
30148
|
},
|
|
30149
30149
|
{
|
|
30150
30150
|
id: Bn.TRAVEL_GROUP,
|
|
30151
|
-
enable:
|
|
30151
|
+
enable: qe.USE_CASES.includes(Bn.TRAVEL_GROUP),
|
|
30152
30152
|
hide: !1,
|
|
30153
30153
|
name: "Đi du lịch nước ngoài theo đoàn"
|
|
30154
30154
|
}
|
|
@@ -30159,35 +30159,35 @@ const et = {
|
|
|
30159
30159
|
useCases: [
|
|
30160
30160
|
{
|
|
30161
30161
|
id: Bn.EDUCATION,
|
|
30162
|
-
enable:
|
|
30162
|
+
enable: qe.USE_CASES.includes(Bn.EDUCATION),
|
|
30163
30163
|
hide: !1,
|
|
30164
30164
|
name: "Du học",
|
|
30165
30165
|
image: "https://storage.googleapis.com/gotrip-static-files/categories/Icon_Muangoaite-02.svg"
|
|
30166
30166
|
},
|
|
30167
30167
|
{
|
|
30168
30168
|
id: Bn.IMMIGRATION,
|
|
30169
|
-
enable:
|
|
30169
|
+
enable: qe.USE_CASES.includes(Bn.IMMIGRATION),
|
|
30170
30170
|
hide: !1,
|
|
30171
30171
|
name: "Định cư",
|
|
30172
30172
|
image: "https://storage.googleapis.com/gotrip-static-files/categories/Icon_Muangoaite-06.svg"
|
|
30173
30173
|
},
|
|
30174
30174
|
{
|
|
30175
30175
|
id: Bn.MEDICAL,
|
|
30176
|
-
enable:
|
|
30176
|
+
enable: qe.USE_CASES.includes(Bn.MEDICAL),
|
|
30177
30177
|
hide: !1,
|
|
30178
30178
|
name: "Chữa bệnh",
|
|
30179
30179
|
image: "https://storage.googleapis.com/gotrip-static-files/categories/Icon_Muangoaite-03.svg"
|
|
30180
30180
|
},
|
|
30181
30181
|
{
|
|
30182
30182
|
id: Bn.INHERITANCE,
|
|
30183
|
-
enable:
|
|
30183
|
+
enable: qe.USE_CASES.includes(Bn.INHERITANCE),
|
|
30184
30184
|
hide: !1,
|
|
30185
30185
|
name: "Thừa kế",
|
|
30186
30186
|
image: "https://storage.googleapis.com/gotrip-static-files/categories/Icon_Muangoaite-04.svg"
|
|
30187
30187
|
},
|
|
30188
30188
|
{
|
|
30189
30189
|
id: Bn.SUBSIDY,
|
|
30190
|
-
enable:
|
|
30190
|
+
enable: qe.USE_CASES.includes(Bn.SUBSIDY),
|
|
30191
30191
|
hide: !1,
|
|
30192
30192
|
name: "Trợ cấp",
|
|
30193
30193
|
image: "https://storage.googleapis.com/gotrip-static-files/categories/Icon_Muangoaite-05.svg"
|
|
@@ -30736,16 +30736,16 @@ function Gve(e = {}) {
|
|
|
30736
30736
|
}, A = (X, z = [], he, Te, Me = !0, Pe = !0) => {
|
|
30737
30737
|
if (Te && he && !t.disabled) {
|
|
30738
30738
|
if (o.action = !0, Pe && Array.isArray(_t(n, X))) {
|
|
30739
|
-
const
|
|
30740
|
-
Me && Fn(n, X,
|
|
30739
|
+
const Qe = he(_t(n, X), Te.argA, Te.argB);
|
|
30740
|
+
Me && Fn(n, X, Qe);
|
|
30741
30741
|
}
|
|
30742
30742
|
if (Pe && Array.isArray(_t(r.errors, X))) {
|
|
30743
|
-
const
|
|
30744
|
-
Me && Fn(r.errors, X,
|
|
30743
|
+
const Qe = he(_t(r.errors, X), Te.argA, Te.argB);
|
|
30744
|
+
Me && Fn(r.errors, X, Qe), $ve(r.errors, X);
|
|
30745
30745
|
}
|
|
30746
30746
|
if (u.touchedFields && Pe && Array.isArray(_t(r.touchedFields, X))) {
|
|
30747
|
-
const
|
|
30748
|
-
Me && Fn(r.touchedFields, X,
|
|
30747
|
+
const Qe = he(_t(r.touchedFields, X), Te.argA, Te.argB);
|
|
30748
|
+
Me && Fn(r.touchedFields, X, Qe);
|
|
30749
30749
|
}
|
|
30750
30750
|
u.dirtyFields && (r.dirtyFields = zg(a, i)), f.state.next({
|
|
30751
30751
|
name: X,
|
|
@@ -30772,16 +30772,16 @@ function Gve(e = {}) {
|
|
|
30772
30772
|
ja(Pe) || Te && Te.defaultChecked || z ? Fn(i, X, z ? Pe : qE(Me._f)) : se(X, Pe), o.mount && x();
|
|
30773
30773
|
}
|
|
30774
30774
|
}, _ = (X, z, he, Te, Me) => {
|
|
30775
|
-
let Pe = !1,
|
|
30775
|
+
let Pe = !1, Qe = !1;
|
|
30776
30776
|
const st = {
|
|
30777
30777
|
name: X
|
|
30778
30778
|
};
|
|
30779
30779
|
if (!t.disabled) {
|
|
30780
30780
|
const It = !!(_t(n, X) && _t(n, X)._f && _t(n, X)._f.disabled);
|
|
30781
30781
|
if (!he || Te) {
|
|
30782
|
-
u.isDirty && (
|
|
30782
|
+
u.isDirty && (Qe = r.isDirty, r.isDirty = st.isDirty = B(), Pe = Qe !== st.isDirty);
|
|
30783
30783
|
const Bt = It || kd(_t(a, X), z);
|
|
30784
|
-
|
|
30784
|
+
Qe = !!(!It && _t(r.dirtyFields, X)), Bt || It ? Xa(r.dirtyFields, X) : Fn(r.dirtyFields, X, !0), st.dirtyFields = r.dirtyFields, Pe = Pe || u.dirtyFields && Qe !== !Bt;
|
|
30785
30785
|
}
|
|
30786
30786
|
if (he) {
|
|
30787
30787
|
const Bt = _t(r.touchedFields, X);
|
|
@@ -30793,7 +30793,7 @@ function Gve(e = {}) {
|
|
|
30793
30793
|
}, k = (X, z, he, Te) => {
|
|
30794
30794
|
const Me = _t(r.errors, X), Pe = u.isValid && Qc(z) && r.isValid !== z;
|
|
30795
30795
|
if (t.delayError && he ? (c = v(() => C(X, he)), c(t.delayError)) : (clearTimeout(l), c = null, he ? Fn(r.errors, X, he) : Xa(r.errors, X)), (he ? !kd(Me, he) : Me) || !No(Te) || Pe) {
|
|
30796
|
-
const
|
|
30796
|
+
const Qe = {
|
|
30797
30797
|
...Te,
|
|
30798
30798
|
...Pe && Qc(z) ? { isValid: z } : {},
|
|
30799
30799
|
errors: r.errors,
|
|
@@ -30801,8 +30801,8 @@ function Gve(e = {}) {
|
|
|
30801
30801
|
};
|
|
30802
30802
|
r = {
|
|
30803
30803
|
...r,
|
|
30804
|
-
...
|
|
30805
|
-
}, f.state.next(
|
|
30804
|
+
...Qe
|
|
30805
|
+
}, f.state.next(Qe);
|
|
30806
30806
|
}
|
|
30807
30807
|
}, P = async (X) => {
|
|
30808
30808
|
S(X, !0);
|
|
@@ -30824,7 +30824,7 @@ function Gve(e = {}) {
|
|
|
30824
30824
|
for (const Te in X) {
|
|
30825
30825
|
const Me = X[Te];
|
|
30826
30826
|
if (Me) {
|
|
30827
|
-
const { _f: Pe, ...
|
|
30827
|
+
const { _f: Pe, ...Qe } = Me;
|
|
30828
30828
|
if (Pe) {
|
|
30829
30829
|
const st = s.array.has(Pe.name), It = Me._f && Uve(Me._f);
|
|
30830
30830
|
It && u.validatingFields && S([Te], !0);
|
|
@@ -30833,7 +30833,7 @@ function Gve(e = {}) {
|
|
|
30833
30833
|
break;
|
|
30834
30834
|
!z && (_t(Bt, Pe.name) ? st ? Dve(r.errors, Bt, Pe.name) : Fn(r.errors, Pe.name, Bt[Pe.name]) : Xa(r.errors, Pe.name));
|
|
30835
30835
|
}
|
|
30836
|
-
!No(
|
|
30836
|
+
!No(Qe) && await U(Qe, z, he);
|
|
30837
30837
|
}
|
|
30838
30838
|
}
|
|
30839
30839
|
return he.valid;
|
|
@@ -30850,7 +30850,7 @@ function Gve(e = {}) {
|
|
|
30850
30850
|
let Me = z;
|
|
30851
30851
|
if (Te) {
|
|
30852
30852
|
const Pe = Te._f;
|
|
30853
|
-
Pe && (!Pe.disabled && Fn(i, X, xG(z, Pe)), Me = r1(Pe.ref) && co(z) ? "" : z, mG(Pe.ref) ? [...Pe.ref.options].forEach((
|
|
30853
|
+
Pe && (!Pe.disabled && Fn(i, X, xG(z, Pe)), Me = r1(Pe.ref) && co(z) ? "" : z, mG(Pe.ref) ? [...Pe.ref.options].forEach((Qe) => Qe.selected = Me.includes(Qe.value)) : Pe.refs ? vv(Pe.ref) ? Pe.refs.length > 1 ? Pe.refs.forEach((Qe) => (!Qe.defaultChecked || !Qe.disabled) && (Qe.checked = Array.isArray(Me) ? !!Me.find((st) => st === Qe.value) : Me === Qe.value)) : Pe.refs[0] && (Pe.refs[0].checked = !!Me) : Pe.refs.forEach((Qe) => Qe.checked = Qe.value === Me) : K_(Pe.ref) ? Pe.ref.value = "" : (Pe.ref.value = Me, Pe.ref.type || f.values.next({
|
|
30854
30854
|
name: X,
|
|
30855
30855
|
values: { ...i }
|
|
30856
30856
|
})));
|
|
@@ -30858,8 +30858,8 @@ function Gve(e = {}) {
|
|
|
30858
30858
|
(he.shouldDirty || he.shouldTouch) && _(X, Me, he.shouldTouch, he.shouldDirty, !0), he.shouldValidate && le(X);
|
|
30859
30859
|
}, ne = (X, z, he) => {
|
|
30860
30860
|
for (const Te in z) {
|
|
30861
|
-
const Me = z[Te], Pe = `${X}.${Te}`,
|
|
30862
|
-
(s.array.has(X) || Ma(Me) ||
|
|
30861
|
+
const Me = z[Te], Pe = `${X}.${Te}`, Qe = _t(n, Pe);
|
|
30862
|
+
(s.array.has(X) || Ma(Me) || Qe && !Qe._f) && !zf(Me) ? ne(Pe, Me, he) : se(Pe, Me, he);
|
|
30863
30863
|
}
|
|
30864
30864
|
}, re = (X, z, he = {}) => {
|
|
30865
30865
|
const Te = _t(n, X), Me = s.array.has(X), Pe = Ps(z);
|
|
@@ -30878,7 +30878,7 @@ function Gve(e = {}) {
|
|
|
30878
30878
|
o.mount = !0;
|
|
30879
30879
|
const z = X.target;
|
|
30880
30880
|
let he = z.name, Te = !0;
|
|
30881
|
-
const Me = _t(n, he), Pe = () => z.type ? qE(Me._f) : wve(X),
|
|
30881
|
+
const Me = _t(n, he), Pe = () => z.type ? qE(Me._f) : wve(X), Qe = (st) => {
|
|
30882
30882
|
Te = Number.isNaN(st) || zf(st) && isNaN(st.getTime()) || kd(st, _t(i, he, st));
|
|
30883
30883
|
};
|
|
30884
30884
|
if (Me) {
|
|
@@ -30894,12 +30894,12 @@ function Gve(e = {}) {
|
|
|
30894
30894
|
return u.isValid && (t.mode === "onBlur" && Dt ? x() : Dt || x()), Mr && f.state.next({ name: he, ...Ct ? {} : ar });
|
|
30895
30895
|
if (!Dt && Ct && f.state.next({ ...r }), t.resolver) {
|
|
30896
30896
|
const { errors: ir } = await P([he]);
|
|
30897
|
-
if (
|
|
30897
|
+
if (Qe(Bt), Te) {
|
|
30898
30898
|
const sn = YL(r.errors, n, he), Vr = YL(ir, n, sn.name || he);
|
|
30899
30899
|
st = Vr.error, he = Vr.name, It = No(ir);
|
|
30900
30900
|
}
|
|
30901
30901
|
} else
|
|
30902
|
-
S([he], !0), st = (await zL(Me, s.disabled, i, y, t.shouldUseNativeValidation))[he], S([he]),
|
|
30902
|
+
S([he], !0), st = (await zL(Me, s.disabled, i, y, t.shouldUseNativeValidation))[he], S([he]), Qe(Bt), Te && (st ? It = !1 : u.isValid && (It = await U(n, !0)));
|
|
30903
30903
|
Te && (Me._f.deps && le(Me._f.deps), k(he, It, st, ar));
|
|
30904
30904
|
}
|
|
30905
30905
|
}, q = (X, z) => {
|
|
@@ -30910,10 +30910,10 @@ function Gve(e = {}) {
|
|
|
30910
30910
|
const Me = rb(X);
|
|
30911
30911
|
if (t.resolver) {
|
|
30912
30912
|
const Pe = await D(ja(X) ? X : Me);
|
|
30913
|
-
he = No(Pe), Te = X ? !Me.some((
|
|
30913
|
+
he = No(Pe), Te = X ? !Me.some((Qe) => _t(Pe, Qe)) : he;
|
|
30914
30914
|
} else X ? (Te = (await Promise.all(Me.map(async (Pe) => {
|
|
30915
|
-
const
|
|
30916
|
-
return await U(
|
|
30915
|
+
const Qe = _t(n, Pe);
|
|
30916
|
+
return await U(Qe && Qe._f ? { [Pe]: Qe } : Qe);
|
|
30917
30917
|
}))).every(Boolean), !(!Te && !r.isValid) && x()) : Te = he = await U(n);
|
|
30918
30918
|
return f.state.next({
|
|
30919
30919
|
...!fl(X) || u.isValid && he !== r.isValid ? {} : { name: X },
|
|
@@ -30936,7 +30936,7 @@ function Gve(e = {}) {
|
|
|
30936
30936
|
errors: X ? r.errors : {}
|
|
30937
30937
|
});
|
|
30938
30938
|
}, ue = (X, z, he) => {
|
|
30939
|
-
const Te = (_t(n, X, { _f: {} })._f || {}).ref, Me = _t(r.errors, X) || {}, { ref: Pe, message:
|
|
30939
|
+
const Te = (_t(n, X, { _f: {} })._f || {}).ref, Me = _t(r.errors, X) || {}, { ref: Pe, message: Qe, type: st, ...It } = Me;
|
|
30940
30940
|
Fn(r.errors, X, {
|
|
30941
30941
|
...It,
|
|
30942
30942
|
...z,
|
|
@@ -30990,13 +30990,13 @@ function Gve(e = {}) {
|
|
|
30990
30990
|
ref: (Me) => {
|
|
30991
30991
|
if (Me) {
|
|
30992
30992
|
xe(X, z), he = _t(n, X);
|
|
30993
|
-
const Pe = ja(Me.value) && Me.querySelectorAll && Me.querySelectorAll("input,select,textarea")[0] || Me,
|
|
30994
|
-
if (
|
|
30993
|
+
const Pe = ja(Me.value) && Me.querySelectorAll && Me.querySelectorAll("input,select,textarea")[0] || Me, Qe = Fve(Pe), st = he._f.refs || [];
|
|
30994
|
+
if (Qe ? st.find((It) => It === Pe) : Pe === he._f.ref)
|
|
30995
30995
|
return;
|
|
30996
30996
|
Fn(n, X, {
|
|
30997
30997
|
_f: {
|
|
30998
30998
|
...he._f,
|
|
30999
|
-
...
|
|
30999
|
+
...Qe ? {
|
|
31000
31000
|
refs: [
|
|
31001
31001
|
...st.filter(ZE),
|
|
31002
31002
|
Pe,
|
|
@@ -31027,8 +31027,8 @@ function Gve(e = {}) {
|
|
|
31027
31027
|
if (f.state.next({
|
|
31028
31028
|
isSubmitting: !0
|
|
31029
31029
|
}), t.resolver) {
|
|
31030
|
-
const { errors: Pe, values:
|
|
31031
|
-
r.errors = Pe, Me =
|
|
31030
|
+
const { errors: Pe, values: Qe } = await P();
|
|
31031
|
+
r.errors = Pe, Me = Qe;
|
|
31032
31032
|
} else
|
|
31033
31033
|
await U(n);
|
|
31034
31034
|
if (Xa(r.errors, "root"), No(r.errors)) {
|
|
@@ -31056,16 +31056,16 @@ function Gve(e = {}) {
|
|
|
31056
31056
|
const he = X ? Ps(X) : a, Te = Ps(he), Me = No(X), Pe = Me ? a : Te;
|
|
31057
31057
|
if (z.keepDefaultValues || (a = he), !z.keepValues) {
|
|
31058
31058
|
if (z.keepDirtyValues) {
|
|
31059
|
-
const
|
|
31059
|
+
const Qe = /* @__PURE__ */ new Set([
|
|
31060
31060
|
...s.mount,
|
|
31061
31061
|
...Object.keys(zg(a, i))
|
|
31062
31062
|
]);
|
|
31063
|
-
for (const st of Array.from(
|
|
31063
|
+
for (const st of Array.from(Qe))
|
|
31064
31064
|
_t(r.dirtyFields, st) ? Fn(Pe, st, _t(i, st)) : re(st, _t(Pe, st));
|
|
31065
31065
|
} else {
|
|
31066
31066
|
if (W_ && ja(X))
|
|
31067
|
-
for (const
|
|
31068
|
-
const st = _t(n,
|
|
31067
|
+
for (const Qe of s.mount) {
|
|
31068
|
+
const st = _t(n, Qe);
|
|
31069
31069
|
if (st && st._f) {
|
|
31070
31070
|
const It = Array.isArray(st._f.refs) ? st._f.refs[0] : st._f.ref;
|
|
31071
31071
|
if (r1(It)) {
|
|
@@ -34804,145 +34804,149 @@ const {
|
|
|
34804
34804
|
mergeConfig: mKe
|
|
34805
34805
|
} = Aa, Vo = {
|
|
34806
34806
|
auth: {
|
|
34807
|
-
login: `${
|
|
34808
|
-
register: `${
|
|
34809
|
-
registerSupervisor: `${
|
|
34810
|
-
forgotPassword: `${
|
|
34811
|
-
resetPassword: `${
|
|
34812
|
-
verifyResetToken: `${
|
|
34807
|
+
login: `${qe.API_URL}/auth/login`,
|
|
34808
|
+
register: `${qe.API_URL}/auth/register`,
|
|
34809
|
+
registerSupervisor: `${qe.API_URL}/auth/register-supervisor`,
|
|
34810
|
+
forgotPassword: `${qe.API_URL}/auth/forgot-password`,
|
|
34811
|
+
resetPassword: `${qe.API_URL}/auth/reset-password`,
|
|
34812
|
+
verifyResetToken: `${qe.API_URL}/auth/reset-password`
|
|
34813
34813
|
},
|
|
34814
34814
|
transactionHandlers: {
|
|
34815
|
-
list: `${
|
|
34816
|
-
esimTransactionList: `${
|
|
34817
|
-
create: `${
|
|
34818
|
-
createMany: `${
|
|
34819
|
-
confirm: `${
|
|
34820
|
-
sendBankTransaction: `${
|
|
34821
|
-
checkTicketStatus: `${
|
|
34822
|
-
getByBankTransactionId: (e) => `${
|
|
34823
|
-
updateGroupTransactionStatus: `${
|
|
34824
|
-
updateGuestTransactionStatus: `${
|
|
34825
|
-
checkInfoSuccess: `${
|
|
34826
|
-
cancelTransaction: `${
|
|
34827
|
-
updateCustomerInfo: `${
|
|
34828
|
-
updateTicketInfo: `${
|
|
34829
|
-
transferMoneyAbroad: `${
|
|
34830
|
-
updateTransactionBidding: `${
|
|
34831
|
-
updateTransaction: `${
|
|
34832
|
-
createEsimTransaction: `${
|
|
34833
|
-
sendESimEmail: `${
|
|
34815
|
+
list: `${qe.API_URL}/transaction-handlers/list`,
|
|
34816
|
+
esimTransactionList: `${qe.API_URL}/transaction-handlers/esim-transaction-list`,
|
|
34817
|
+
create: `${qe.API_URL}/transaction-handlers/create`,
|
|
34818
|
+
createMany: `${qe.API_URL}/transaction-handlers/create-many`,
|
|
34819
|
+
confirm: `${qe.API_URL}/transaction-handlers/confirm`,
|
|
34820
|
+
sendBankTransaction: `${qe.API_URL}/transaction-handlers/send-bank-transaction`,
|
|
34821
|
+
checkTicketStatus: `${qe.API_URL}/transaction-handlers/check-ticket-status`,
|
|
34822
|
+
getByBankTransactionId: (e) => `${qe.API_URL}/transaction-handlers/${e}`,
|
|
34823
|
+
updateGroupTransactionStatus: `${qe.API_URL}/transaction-handlers/update-group-transaction`,
|
|
34824
|
+
updateGuestTransactionStatus: `${qe.API_URL}/transaction-handlers/update-guest-transaction`,
|
|
34825
|
+
checkInfoSuccess: `${qe.API_URL}/transaction-handlers/check-info-success`,
|
|
34826
|
+
cancelTransaction: `${qe.API_URL}/transaction-handlers/cancel`,
|
|
34827
|
+
updateCustomerInfo: `${qe.API_URL}/transaction-handlers/update-customer-info`,
|
|
34828
|
+
updateTicketInfo: `${qe.API_URL}/transaction-handlers/update-ticket-info`,
|
|
34829
|
+
transferMoneyAbroad: `${qe.API_URL}/transaction-handlers/transfer-money-abroad`,
|
|
34830
|
+
updateTransactionBidding: `${qe.API_URL}/transaction-handlers/update-transaction-bidding`,
|
|
34831
|
+
updateTransaction: `${qe.API_URL}/transaction-handlers/update-transaction`,
|
|
34832
|
+
createEsimTransaction: `${qe.API_URL}/transaction-handlers/create-esim-transaction`,
|
|
34833
|
+
sendESimEmail: `${qe.API_URL}/transaction-handlers/send-esim-email`
|
|
34834
34834
|
},
|
|
34835
34835
|
role: {
|
|
34836
|
-
list: `${
|
|
34837
|
-
listByTenant: (e) => `${
|
|
34838
|
-
create: `${
|
|
34839
|
-
delete: `${
|
|
34840
|
-
permissions: `${
|
|
34841
|
-
rolePermissions: `${
|
|
34842
|
-
updateRolePermissions: `${
|
|
34836
|
+
list: `${qe.API_URL}/role-handlers/list`,
|
|
34837
|
+
listByTenant: (e) => `${qe.API_URL}/role-handlers/tenant/${e}/role/list`,
|
|
34838
|
+
create: `${qe.API_URL}/role-handlers/create`,
|
|
34839
|
+
delete: `${qe.API_URL}/role-handlers/delete`,
|
|
34840
|
+
permissions: `${qe.API_URL}/role-handlers/permissions-list`,
|
|
34841
|
+
rolePermissions: `${qe.API_URL}/role-handlers/role-permissions`,
|
|
34842
|
+
updateRolePermissions: `${qe.API_URL}/role-handlers/role-permissions`
|
|
34843
34843
|
},
|
|
34844
34844
|
currency: {
|
|
34845
|
-
list: (e) => e ? `${
|
|
34846
|
-
codes: `${
|
|
34845
|
+
list: (e) => e ? `${qe.API_URL}/currency-handlers?bankCode=${e}` : `${qe.API_URL}/currency-handlers`,
|
|
34846
|
+
codes: `${qe.API_URL}/currency-handlers/code`
|
|
34847
34847
|
},
|
|
34848
34848
|
bank: {
|
|
34849
|
-
list: `${
|
|
34849
|
+
list: `${qe.API_URL}/bank-handlers`
|
|
34850
34850
|
},
|
|
34851
34851
|
travelport: {
|
|
34852
|
-
getFlightInfo: `${
|
|
34852
|
+
getFlightInfo: `${qe.API_URL}/travel-port/flight-info`
|
|
34853
34853
|
},
|
|
34854
34854
|
upload: {
|
|
34855
|
-
signedUrl: `${
|
|
34855
|
+
signedUrl: `${qe.API_URL}/upload/signed-url`
|
|
34856
34856
|
},
|
|
34857
34857
|
image: {
|
|
34858
|
-
extractFlightTicket: `${
|
|
34859
|
-
uploadIdentityDocuments: `${
|
|
34860
|
-
saveReaderHistory: `${
|
|
34861
|
-
getReaderHistories: `${
|
|
34858
|
+
extractFlightTicket: `${qe.API_URL}/image-handlers/extract-flight-ticket`,
|
|
34859
|
+
uploadIdentityDocuments: `${qe.API_URL}/image-handlers/upload-identity-documents`,
|
|
34860
|
+
saveReaderHistory: `${qe.API_URL}/image-handlers/save-reader-history`,
|
|
34861
|
+
getReaderHistories: `${qe.API_URL}/image-handlers/reader-histories`
|
|
34862
34862
|
},
|
|
34863
34863
|
bid: {
|
|
34864
|
-
list: `${
|
|
34865
|
-
update: `${
|
|
34864
|
+
list: `${qe.API_URL}/bid-handlers/bids`,
|
|
34865
|
+
update: `${qe.API_URL}/bid-handlers/bids`
|
|
34866
34866
|
},
|
|
34867
34867
|
department: {
|
|
34868
|
-
list: `${
|
|
34869
|
-
details: `${
|
|
34870
|
-
create: `${
|
|
34871
|
-
createBySystem: (e) => `${
|
|
34872
|
-
removeMembersBySystem: (e, t) => `${
|
|
34873
|
-
addMembersBySystem: (e, t) => `${
|
|
34874
|
-
update: `${
|
|
34875
|
-
addMembers: `${
|
|
34876
|
-
removeMembers: `${
|
|
34877
|
-
organizationTree: `${
|
|
34868
|
+
list: `${qe.API_URL}/department-handlers/list`,
|
|
34869
|
+
details: `${qe.API_URL}/department-handlers/details`,
|
|
34870
|
+
create: `${qe.API_URL}/department-handlers/create`,
|
|
34871
|
+
createBySystem: (e) => `${qe.API_URL}/department-handlers/tenant/${e}/create`,
|
|
34872
|
+
removeMembersBySystem: (e, t) => `${qe.API_URL}/department-handlers/tenant/${e}/remove-members/${t}`,
|
|
34873
|
+
addMembersBySystem: (e, t) => `${qe.API_URL}/department-handlers/tenant/${e}/add-members/${t}`,
|
|
34874
|
+
update: `${qe.API_URL}/department-handlers/update`,
|
|
34875
|
+
addMembers: `${qe.API_URL}/department-handlers/add-members`,
|
|
34876
|
+
removeMembers: `${qe.API_URL}/department-handlers/remove-members`,
|
|
34877
|
+
organizationTree: `${qe.API_URL}/department-handlers/organization-tree`
|
|
34878
34878
|
},
|
|
34879
34879
|
balance: {
|
|
34880
|
-
getBalanceByUserId: (e) => `${
|
|
34881
|
-
updateBalance: (e) => `${
|
|
34882
|
-
generateTopUpQRCode: `${
|
|
34883
|
-
getGigagoBalance: `${
|
|
34884
|
-
charge: `${
|
|
34880
|
+
getBalanceByUserId: (e) => `${qe.API_URL}/balance-handlers/users/${e}/balance`,
|
|
34881
|
+
updateBalance: (e) => `${qe.API_URL}/balance-handlers/users/${e}/balance`,
|
|
34882
|
+
generateTopUpQRCode: `${qe.API_URL}/balance-handlers/generate-top-up-qr-code`,
|
|
34883
|
+
getGigagoBalance: `${qe.API_URL}/balance-handlers/gigago-balance`,
|
|
34884
|
+
charge: `${qe.API_URL}/balance-handlers/charge`
|
|
34885
34885
|
},
|
|
34886
34886
|
userHandlers: {
|
|
34887
|
-
userProfile: `${
|
|
34888
|
-
changePassword: `${
|
|
34889
|
-
list: `${
|
|
34890
|
-
approveUser: `${
|
|
34891
|
-
bookerList: `${
|
|
34892
|
-
createBooker: `${
|
|
34893
|
-
createManyBooker: `${
|
|
34894
|
-
getBooker: `${
|
|
34895
|
-
updateBooker: `${
|
|
34896
|
-
getCommissionRate: `${
|
|
34897
|
-
updateCommissionRate: `${
|
|
34898
|
-
getBookersOfSupervisor: `${
|
|
34899
|
-
memberList: `${
|
|
34900
|
-
createMember: `${
|
|
34901
|
-
createMemberByAdmin: (e) => `${
|
|
34902
|
-
createManyMember: `${
|
|
34903
|
-
getMember: `${
|
|
34904
|
-
updateMember: `${
|
|
34905
|
-
createUser: `${
|
|
34906
|
-
getUser: `${
|
|
34907
|
-
updateUser: `${
|
|
34908
|
-
resetPassword: `${
|
|
34909
|
-
impersonateToken: `${
|
|
34910
|
-
getMembersByTenantId: (e) => `${
|
|
34887
|
+
userProfile: `${qe.API_URL}/user-handlers/user-profile`,
|
|
34888
|
+
changePassword: `${qe.API_URL}/user-handlers/change-password`,
|
|
34889
|
+
list: `${qe.API_URL}/user-handlers/list`,
|
|
34890
|
+
approveUser: `${qe.API_URL}/user-handlers/approve`,
|
|
34891
|
+
bookerList: `${qe.API_URL}/user-handlers/booker/list`,
|
|
34892
|
+
createBooker: `${qe.API_URL}/user-handlers/booker/create`,
|
|
34893
|
+
createManyBooker: `${qe.API_URL}/user-handlers/booker/create-many`,
|
|
34894
|
+
getBooker: `${qe.API_URL}/user-handlers/booker`,
|
|
34895
|
+
updateBooker: `${qe.API_URL}/user-handlers/booker`,
|
|
34896
|
+
getCommissionRate: `${qe.API_URL}/user-handlers/commission-rate`,
|
|
34897
|
+
updateCommissionRate: `${qe.API_URL}/user-handlers/commission-rate`,
|
|
34898
|
+
getBookersOfSupervisor: `${qe.API_URL}/user-handlers/supervisor/booker-list`,
|
|
34899
|
+
memberList: `${qe.API_URL}/user-handlers/member/list`,
|
|
34900
|
+
createMember: `${qe.API_URL}/user-handlers/member/create`,
|
|
34901
|
+
createMemberByAdmin: (e) => `${qe.API_URL}/user-handlers/tenant/${e}/member/create`,
|
|
34902
|
+
createManyMember: `${qe.API_URL}/user-handlers/member/create-many`,
|
|
34903
|
+
getMember: `${qe.API_URL}/user-handlers/member`,
|
|
34904
|
+
updateMember: `${qe.API_URL}/user-handlers/member`,
|
|
34905
|
+
createUser: `${qe.API_URL}/user-handlers`,
|
|
34906
|
+
getUser: `${qe.API_URL}/user-handlers/details`,
|
|
34907
|
+
updateUser: `${qe.API_URL}/user-handlers/update`,
|
|
34908
|
+
resetPassword: `${qe.API_URL}/user-handlers/reset-password`,
|
|
34909
|
+
impersonateToken: `${qe.API_URL}/user-handlers/impersonate-token`,
|
|
34910
|
+
getMembersByTenantId: (e) => `${qe.API_URL}/user-handlers/tenant/${e}/member/list`
|
|
34911
34911
|
},
|
|
34912
34912
|
dashboardHandlers: {
|
|
34913
|
-
getTotalCommissionAmount: `${
|
|
34914
|
-
getTotalTransaction: `${
|
|
34915
|
-
getTransactionCountGroupByType: `${
|
|
34916
|
-
getTransactionCountByStatus: `${
|
|
34917
|
-
getTransactionCountByDate: `${
|
|
34913
|
+
getTotalCommissionAmount: `${qe.API_URL}/dashboard-handlers/get-total-commission-amount`,
|
|
34914
|
+
getTotalTransaction: `${qe.API_URL}/dashboard-handlers/get-total-transaction`,
|
|
34915
|
+
getTransactionCountGroupByType: `${qe.API_URL}/dashboard-handlers/get-transaction-count-by-type`,
|
|
34916
|
+
getTransactionCountByStatus: `${qe.API_URL}/dashboard-handlers/get-transaction-count-by-status`,
|
|
34917
|
+
getTransactionCountByDate: `${qe.API_URL}/dashboard-handlers/get-transaction-count-by-date`
|
|
34918
34918
|
},
|
|
34919
34919
|
tenantHandlers: {
|
|
34920
|
-
list: `${
|
|
34921
|
-
create: `${
|
|
34922
|
-
getTenant: `${
|
|
34923
|
-
updateTenant: `${
|
|
34924
|
-
removeTenant: `${
|
|
34920
|
+
list: `${qe.API_URL}/tenant-handlers/list`,
|
|
34921
|
+
create: `${qe.API_URL}/tenant-handlers/create`,
|
|
34922
|
+
getTenant: `${qe.API_URL}/tenant-handlers/detail`,
|
|
34923
|
+
updateTenant: `${qe.API_URL}/tenant-handlers/edit`,
|
|
34924
|
+
removeTenant: `${qe.API_URL}/tenant-handlers/delete`
|
|
34925
34925
|
},
|
|
34926
34926
|
commissionCalculationHandlers: {
|
|
34927
|
-
calculateBookerCommission: `${
|
|
34927
|
+
calculateBookerCommission: `${qe.API_URL}/commission-calculation-handlers/booker`
|
|
34928
34928
|
},
|
|
34929
34929
|
commissionPolicyHandlers: {
|
|
34930
|
-
getCommissionPolicies: `${
|
|
34931
|
-
updateCommissionPolicies: `${
|
|
34932
|
-
getTenantCommissionPolicies: `${
|
|
34933
|
-
getTenantCommissionPoliciesByTenantId: (e) => `${
|
|
34934
|
-
getDepartmentCommissionPolicies: (e) => `${
|
|
34935
|
-
getMemberCommissionPolicies: (e, t) => `${
|
|
34936
|
-
updateTenantCommissionPolicies: (e) => `${
|
|
34937
|
-
updateDepartmentCommissionPolicies: (e) => `${
|
|
34938
|
-
updateMemberCommissionPolicies: (e, t) => `${
|
|
34930
|
+
getCommissionPolicies: `${qe.API_URL}/commission-policy-handlers`,
|
|
34931
|
+
updateCommissionPolicies: `${qe.API_URL}/commission-policy-handlers`,
|
|
34932
|
+
getTenantCommissionPolicies: `${qe.API_URL}/commission-policy-handlers/tenant-commission-policies`,
|
|
34933
|
+
getTenantCommissionPoliciesByTenantId: (e) => `${qe.API_URL}/commission-policy-handlers/${e}/commission-policies`,
|
|
34934
|
+
getDepartmentCommissionPolicies: (e) => `${qe.API_URL}/commission-policy-handlers/department/${e}/commission-policies`,
|
|
34935
|
+
getMemberCommissionPolicies: (e, t) => `${qe.API_URL}/commission-policy-handlers/department/${e}/member/${t}/commission-policies`,
|
|
34936
|
+
updateTenantCommissionPolicies: (e) => `${qe.API_URL}/commission-policy-handlers/${e}/commission-policies`,
|
|
34937
|
+
updateDepartmentCommissionPolicies: (e) => `${qe.API_URL}/commission-policy-handlers/department/${e}/commission-policies`,
|
|
34938
|
+
updateMemberCommissionPolicies: (e, t) => `${qe.API_URL}/commission-policy-handlers/department/${e}/member/${t}/commission-policies`
|
|
34939
34939
|
},
|
|
34940
34940
|
esimHandlers: {
|
|
34941
|
-
list: `${
|
|
34941
|
+
list: `${qe.API_URL}/esim-handlers/get-esim-list`
|
|
34942
34942
|
},
|
|
34943
34943
|
emailHandlers: {
|
|
34944
34944
|
list: "/email-handlers/list",
|
|
34945
34945
|
send: "/email-handlers/send"
|
|
34946
|
+
},
|
|
34947
|
+
bankAccountHandlers: {
|
|
34948
|
+
list: `${qe.API_URL}/bank-account-handlers/list`,
|
|
34949
|
+
update: `${qe.API_URL}/bank-account-handlers/update`
|
|
34946
34950
|
}
|
|
34947
34951
|
};
|
|
34948
34952
|
//! moment.js
|
|
@@ -45179,7 +45183,7 @@ function HRe() {
|
|
|
45179
45183
|
return ae(Ce(Ge));
|
|
45180
45184
|
};
|
|
45181
45185
|
}
|
|
45182
|
-
var X = Array.prototype, z = Function.prototype, he = Object.prototype, Te = De["__core-js_shared__"], Me = z.toString, Pe = he.hasOwnProperty,
|
|
45186
|
+
var X = Array.prototype, z = Function.prototype, he = Object.prototype, Te = De["__core-js_shared__"], Me = z.toString, Pe = he.hasOwnProperty, Qe = function() {
|
|
45183
45187
|
var ae = /[^.]+$/.exec(Te && Te.keys && Te.keys.IE_PROTO || "");
|
|
45184
45188
|
return ae ? "Symbol(src)_1." + ae : "";
|
|
45185
45189
|
}(), st = he.toString, It = Me.call(Object), Bt = RegExp(
|
|
@@ -45493,7 +45497,7 @@ function HRe() {
|
|
|
45493
45497
|
return Ce == "string" || Ce == "number" || Ce == "symbol" || Ce == "boolean" ? ae !== "__proto__" : ae === null;
|
|
45494
45498
|
}
|
|
45495
45499
|
function bt(ae) {
|
|
45496
|
-
return !!
|
|
45500
|
+
return !!Qe && Qe in ae;
|
|
45497
45501
|
}
|
|
45498
45502
|
function Ht(ae) {
|
|
45499
45503
|
var Ce = ae && ae.constructor, Ge = typeof Ce == "function" && Ce.prototype || he;
|
|
@@ -51874,7 +51878,7 @@ const S2 = (e, t, r = 3e3, n = {
|
|
|
51874
51878
|
})), GT = wv.get("token");
|
|
51875
51879
|
if (GT) {
|
|
51876
51880
|
wl.setState({ token: GT });
|
|
51877
|
-
const e = yb(`${
|
|
51881
|
+
const e = yb(`${qe.API_URL}/events`, {
|
|
51878
51882
|
auth: {
|
|
51879
51883
|
token: GT
|
|
51880
51884
|
},
|
|
@@ -51897,15 +51901,15 @@ if (GT) {
|
|
|
51897
51901
|
}
|
|
51898
51902
|
var qm = /* @__PURE__ */ ((e) => (e.GUEST = "GUEST", e.ADMIN = "ADMIN", e.PARTNER = "PARTNER", e.AGENCY = "AGENCY", e))(qm || {});
|
|
51899
51903
|
const Oi = Aa.create({
|
|
51900
|
-
baseURL:
|
|
51904
|
+
baseURL: qe.API_URL
|
|
51901
51905
|
}), b2 = Aa.create({
|
|
51902
|
-
baseURL:
|
|
51906
|
+
baseURL: qe.API_URL
|
|
51903
51907
|
});
|
|
51904
51908
|
Oi.interceptors.request.use((e) => {
|
|
51905
51909
|
const t = wl.getState().apiKey;
|
|
51906
51910
|
if (t)
|
|
51907
51911
|
return e.headers["x-api-key"] = t, e;
|
|
51908
|
-
if (
|
|
51912
|
+
if (qe.BUILD_FOR === qm.GUEST)
|
|
51909
51913
|
return e;
|
|
51910
51914
|
const r = wv.get("token");
|
|
51911
51915
|
return r && (e.headers.Authorization = `Bearer ${r}`), e;
|
|
@@ -67761,8 +67765,8 @@ function ZFe(e) {
|
|
|
67761
67765
|
X === void 0 && (X = "");
|
|
67762
67766
|
var z = Ae.input, he = Ae.source, Te = Ae.event, Me = Ae.numAsString, Pe;
|
|
67763
67767
|
if (z) {
|
|
67764
|
-
var
|
|
67765
|
-
z.value = X, Pe = pe(
|
|
67768
|
+
var Qe = Ae.inputValue || z.value, st = WT(z);
|
|
67769
|
+
z.value = X, Pe = pe(Qe, X, st), Pe !== void 0 && Oe(z, Pe, X);
|
|
67766
67770
|
}
|
|
67767
67771
|
X !== P && ce(le(X, Me), { event: Te, source: he });
|
|
67768
67772
|
};
|
|
@@ -67782,13 +67786,13 @@ function ZFe(e) {
|
|
|
67782
67786
|
}
|
|
67783
67787
|
}, [P]);
|
|
67784
67788
|
var Ke = function(Ae, X, z) {
|
|
67785
|
-
var he = X.target, Te = W.current ? $Fe(W.current, he.selectionEnd) : I7(P, Ae), Me = Object.assign(Object.assign({}, Te), { lastValue: P }), Pe = s(Ae, Me),
|
|
67786
|
-
if (Pe = s(
|
|
67789
|
+
var he = X.target, Te = W.current ? $Fe(W.current, he.selectionEnd) : I7(P, Ae), Me = Object.assign(Object.assign({}, Te), { lastValue: P }), Pe = s(Ae, Me), Qe = q(Pe);
|
|
67790
|
+
if (Pe = s(Qe, void 0), f && !f(le(Qe, Pe))) {
|
|
67787
67791
|
var st = X.target, It = WT(st), Bt = pe(Ae, P, It);
|
|
67788
67792
|
return st.value = P, Oe(st, Bt, P), !1;
|
|
67789
67793
|
}
|
|
67790
67794
|
return ue({
|
|
67791
|
-
formattedValue:
|
|
67795
|
+
formattedValue: Qe,
|
|
67792
67796
|
numAsString: Pe,
|
|
67793
67797
|
inputValue: Ae,
|
|
67794
67798
|
event: X,
|
|
@@ -67807,11 +67811,11 @@ function ZFe(e) {
|
|
|
67807
67811
|
Me === void 0 && (Me = "");
|
|
67808
67812
|
var Pe;
|
|
67809
67813
|
z === "ArrowLeft" || z === "Backspace" ? Pe = Math.max(he - 1, 0) : z === "ArrowRight" ? Pe = Math.min(he + 1, Me.length) : z === "Delete" && (Pe = he);
|
|
67810
|
-
var
|
|
67811
|
-
z === "Delete" && he === Te && (
|
|
67814
|
+
var Qe = 0;
|
|
67815
|
+
z === "Delete" && he === Te && (Qe = 1);
|
|
67812
67816
|
var st = z === "ArrowLeft" || z === "ArrowRight";
|
|
67813
67817
|
if (Pe === void 0 || he !== Te && !st) {
|
|
67814
|
-
m(Ae), xe(X,
|
|
67818
|
+
m(Ae), xe(X, Qe);
|
|
67815
67819
|
return;
|
|
67816
67820
|
}
|
|
67817
67821
|
var It = Pe;
|
|
@@ -67819,7 +67823,7 @@ function ZFe(e) {
|
|
|
67819
67823
|
var Bt = z === "ArrowLeft" ? "left" : "right";
|
|
67820
67824
|
It = H(Me, Pe, Bt), It !== Pe && Ae.preventDefault();
|
|
67821
67825
|
} else z === "Delete" && !C(Me[Pe]) ? It = H(Me, Pe, "right") : z === "Backspace" && !C(Me[Pe]) && (It = H(Me, Pe, "left"));
|
|
67822
|
-
It !== Pe && Oe(X, It, Me), m(Ae), xe(X,
|
|
67826
|
+
It !== Pe && Oe(X, It, Me), m(Ae), xe(X, Qe);
|
|
67823
67827
|
}, Ve = function(Ae) {
|
|
67824
67828
|
var X = Ae.target, z = function() {
|
|
67825
67829
|
var he = X.selectionStart, Te = X.selectionEnd, Me = X.value;
|
|
@@ -68025,7 +68029,7 @@ function iC(e) {
|
|
|
68025
68029
|
}
|
|
68026
68030
|
const Ck = (e, t) => {
|
|
68027
68031
|
{
|
|
68028
|
-
console.log("GTM is not enabled in this environment:",
|
|
68032
|
+
console.log("GTM is not enabled in this environment:", qe.ENVIRONMENT);
|
|
68029
68033
|
return;
|
|
68030
68034
|
}
|
|
68031
68035
|
}, R7 = (e) => e ? e.replace(/[^\d+]/g, "") : "", Lv = (e) => {
|
|
@@ -69352,7 +69356,7 @@ function TS(e, t) {
|
|
|
69352
69356
|
return e instanceof Date && t instanceof Date && e.getTime() === t.getTime();
|
|
69353
69357
|
}
|
|
69354
69358
|
var QBe = Xe(function(t, r) {
|
|
69355
|
-
var n = t.activeStartDate, a = t.allowPartialRange, i = t.calendarType, o = t.className, s = t.defaultActiveStartDate, c = t.defaultValue, l = t.defaultView, u = t.formatDay, f = t.formatLongDate, h = t.formatMonth, m = t.formatMonthYear, y = t.formatShortWeekday, v = t.formatWeekday, x = t.formatYear, S = t.goToRangeStartOnSelect, A = S === void 0 ? !0 : S, C = t.inputRef, R = t.locale, I = t.maxDate, _ = I === void 0 ? YBe : I, k = t.maxDetail, P = k === void 0 ? "month" : k, D = t.minDate, U = D === void 0 ? N2 : D, W = t.minDetail, B = W === void 0 ? "century" : W, ce = t.navigationAriaLabel, ee = t.navigationAriaLive, se = t.navigationLabel, ne = t.next2AriaLabel, re = t.next2Label, be = t.nextAriaLabel, q = t.nextLabel, le = t.onActiveStartDateChange, Oe = t.onChange, H = t.onClickDay, pe = t.onClickDecade, ue = t.onClickMonth, fe = t.onClickWeekNumber, De = t.onClickYear, Ke = t.onDrillDown, xe = t.onDrillUp, me = t.onViewChange, ve = t.prev2AriaLabel, Ve = t.prev2Label, Y = t.prevAriaLabel, Ue = t.prevLabel, $e = t.returnValue, gt = $e === void 0 ? "start" : $e, ft = t.selectRange, Ae = t.showDoubleView, X = t.showFixedNumberOfWeeks, z = t.showNavigation, he = z === void 0 ? !0 : z, Te = t.showNeighboringCentury, Me = t.showNeighboringDecade, Pe = t.showNeighboringMonth,
|
|
69359
|
+
var n = t.activeStartDate, a = t.allowPartialRange, i = t.calendarType, o = t.className, s = t.defaultActiveStartDate, c = t.defaultValue, l = t.defaultView, u = t.formatDay, f = t.formatLongDate, h = t.formatMonth, m = t.formatMonthYear, y = t.formatShortWeekday, v = t.formatWeekday, x = t.formatYear, S = t.goToRangeStartOnSelect, A = S === void 0 ? !0 : S, C = t.inputRef, R = t.locale, I = t.maxDate, _ = I === void 0 ? YBe : I, k = t.maxDetail, P = k === void 0 ? "month" : k, D = t.minDate, U = D === void 0 ? N2 : D, W = t.minDetail, B = W === void 0 ? "century" : W, ce = t.navigationAriaLabel, ee = t.navigationAriaLive, se = t.navigationLabel, ne = t.next2AriaLabel, re = t.next2Label, be = t.nextAriaLabel, q = t.nextLabel, le = t.onActiveStartDateChange, Oe = t.onChange, H = t.onClickDay, pe = t.onClickDecade, ue = t.onClickMonth, fe = t.onClickWeekNumber, De = t.onClickYear, Ke = t.onDrillDown, xe = t.onDrillUp, me = t.onViewChange, ve = t.prev2AriaLabel, Ve = t.prev2Label, Y = t.prevAriaLabel, Ue = t.prevLabel, $e = t.returnValue, gt = $e === void 0 ? "start" : $e, ft = t.selectRange, Ae = t.showDoubleView, X = t.showFixedNumberOfWeeks, z = t.showNavigation, he = z === void 0 ? !0 : z, Te = t.showNeighboringCentury, Me = t.showNeighboringDecade, Pe = t.showNeighboringMonth, Qe = Pe === void 0 ? !0 : Pe, st = t.showWeekNumbers, It = t.tileClassName, Bt = t.tileContent, Dt = t.tileDisabled, tr = t.value, Ct = t.view, ar = ht(s), Mr = ar[0], ir = ar[1], sn = ht(null), Vr = sn[0], mn = sn[1], sa = ht(Array.isArray(c) ? c.map(function(de) {
|
|
69356
69360
|
return de !== null ? bm(de) : null;
|
|
69357
69361
|
}) : c != null ? bm(c) : null), qn = sa[0], cn = sa[1], Gn = ht(l), In = Gn[0], or = Gn[1], fr = n || Mr || qBe({
|
|
69358
69362
|
activeStartDate: n,
|
|
@@ -69570,7 +69574,7 @@ var QBe = Xe(function(t, r) {
|
|
|
69570
69574
|
case "year":
|
|
69571
69575
|
return g.jsx(FBe, Gp({ formatMonth: h, formatMonthYear: m }, Ie));
|
|
69572
69576
|
case "month":
|
|
69573
|
-
return g.jsx(zBe, Gp({ calendarType: i, formatDay: u, formatLongDate: f, formatShortWeekday: y, formatWeekday: v, onClickWeekNumber: fe, onMouseLeave: ft ? K : void 0, showFixedNumberOfWeeks: typeof X < "u" ? X : Ae, showNeighboringMonth:
|
|
69577
|
+
return g.jsx(zBe, Gp({ calendarType: i, formatDay: u, formatLongDate: f, formatShortWeekday: y, formatWeekday: v, onClickWeekNumber: fe, onMouseLeave: ft ? K : void 0, showFixedNumberOfWeeks: typeof X < "u" ? X : Ae, showNeighboringMonth: Qe, showWeekNumbers: st }, Ie));
|
|
69574
69578
|
default:
|
|
69575
69579
|
throw new Error("Invalid view: ".concat(rr, "."));
|
|
69576
69580
|
}
|
|
@@ -70482,7 +70486,7 @@ function vUe(e, t, r) {
|
|
|
70482
70486
|
}
|
|
70483
70487
|
var kS = oUe({ useGrouping: !1 });
|
|
70484
70488
|
function xUe(e) {
|
|
70485
|
-
var t = e.amPmAriaLabel, r = e.autoFocus, n = e.className, a = e.dayAriaLabel, i = e.dayPlaceholder, o = e.disabled, s = e.format, c = e.hourAriaLabel, l = e.hourPlaceholder, u = e.isWidgetOpen, f = e.locale, h = e.maxDate, m = e.maxDetail, y = m === void 0 ? "minute" : m, v = e.minDate, x = e.minuteAriaLabel, S = e.minutePlaceholder, A = e.monthAriaLabel, C = e.monthPlaceholder, R = e.name, I = R === void 0 ? "datetime" : R, _ = e.nativeInputAriaLabel, k = e.onChange, P = e.onInvalidChange, D = e.required, U = e.secondAriaLabel, W = e.secondPlaceholder, B = e.showLeadingZeros, ce = e.value, ee = e.yearAriaLabel, se = e.yearPlaceholder, ne = ht(null), re = ne[0], be = ne[1], q = ht(null), le = q[0], Oe = q[1], H = ht(null), pe = H[0], ue = H[1], fe = ht(null), De = fe[0], Ke = fe[1], xe = ht(null), me = xe[0], ve = xe[1], Ve = ht(null), Y = Ve[0], Ue = Ve[1], $e = ht(null), gt = $e[0], ft = $e[1], Ae = ht(null), X = Ae[0], z = Ae[1], he = wt(null), Te = wt(null), Me = wt(null), Pe = wt(null),
|
|
70489
|
+
var t = e.amPmAriaLabel, r = e.autoFocus, n = e.className, a = e.dayAriaLabel, i = e.dayPlaceholder, o = e.disabled, s = e.format, c = e.hourAriaLabel, l = e.hourPlaceholder, u = e.isWidgetOpen, f = e.locale, h = e.maxDate, m = e.maxDetail, y = m === void 0 ? "minute" : m, v = e.minDate, x = e.minuteAriaLabel, S = e.minutePlaceholder, A = e.monthAriaLabel, C = e.monthPlaceholder, R = e.name, I = R === void 0 ? "datetime" : R, _ = e.nativeInputAriaLabel, k = e.onChange, P = e.onInvalidChange, D = e.required, U = e.secondAriaLabel, W = e.secondPlaceholder, B = e.showLeadingZeros, ce = e.value, ee = e.yearAriaLabel, se = e.yearPlaceholder, ne = ht(null), re = ne[0], be = ne[1], q = ht(null), le = q[0], Oe = q[1], H = ht(null), pe = H[0], ue = H[1], fe = ht(null), De = fe[0], Ke = fe[1], xe = ht(null), me = xe[0], ve = xe[1], Ve = ht(null), Y = Ve[0], Ue = Ve[1], $e = ht(null), gt = $e[0], ft = $e[1], Ae = ht(null), X = Ae[0], z = Ae[1], he = wt(null), Te = wt(null), Me = wt(null), Pe = wt(null), Qe = wt(null), st = wt(null), It = wt(null), Bt = wt(null), Dt = wt(null), tr = ht(u), Ct = tr[0], ar = tr[1], Mr = wt(void 0);
|
|
70486
70490
|
$t(function() {
|
|
70487
70491
|
ar(u);
|
|
70488
70492
|
}, [u]), $t(function() {
|
|
@@ -70581,7 +70585,7 @@ function xUe(e) {
|
|
|
70581
70585
|
}
|
|
70582
70586
|
var de = [
|
|
70583
70587
|
he.current,
|
|
70584
|
-
|
|
70588
|
+
Qe.current,
|
|
70585
70589
|
Me.current,
|
|
70586
70590
|
Pe.current,
|
|
70587
70591
|
Te.current,
|
|
@@ -70676,7 +70680,7 @@ function xUe(e) {
|
|
|
70676
70680
|
ariaLabel: a,
|
|
70677
70681
|
// eslint-disable-next-line jsx-a11y/no-autofocus
|
|
70678
70682
|
autoFocus: de === 0 && r,
|
|
70679
|
-
inputRef:
|
|
70683
|
+
inputRef: Qe,
|
|
70680
70684
|
month: pe,
|
|
70681
70685
|
placeholder: i,
|
|
70682
70686
|
showLeadingZeros: Ee || B,
|
|
@@ -70841,7 +70845,7 @@ var Bd = function() {
|
|
|
70841
70845
|
strokeWidth: 2
|
|
70842
70846
|
}, CUe = g.jsxs("svg", Bd({}, iK, { className: "".concat(so, "__calendar-button__icon ").concat(so, "__button__icon"), children: [g.jsx("rect", { fill: "none", height: "15", width: "15", x: "2", y: "2" }), g.jsx("line", { x1: "6", x2: "6", y1: "0", y2: "4" }), g.jsx("line", { x1: "13", x2: "13", y1: "0", y2: "4" })] })), EUe = g.jsxs("svg", Bd({}, iK, { className: "".concat(so, "__clear-button__icon ").concat(so, "__button__icon"), children: [g.jsx("line", { x1: "4", x2: "15", y1: "4", y2: "15" }), g.jsx("line", { x1: "15", x2: "4", y1: "4", y2: "15" })] }));
|
|
70843
70847
|
function oK(e) {
|
|
70844
|
-
var t = e.amPmAriaLabel, r = e.autoFocus, n = e.calendarAriaLabel, a = e.calendarIcon, i = a === void 0 ? CUe : a, o = e.className, s = e.clearAriaLabel, c = e.clearIcon, l = c === void 0 ? EUe : c, u = e.closeWidgets, f = u === void 0 ? !0 : u, h = e["data-testid"], m = e.dayAriaLabel, y = e.dayPlaceholder, v = e.disableCalendar, x = e.disableClock, S = e.disabled, A = e.format, C = e.hourAriaLabel, R = e.hourPlaceholder, I = e.id, _ = e.isCalendarOpen, k = _ === void 0 ? null : _, P = e.isClockOpen, D = P === void 0 ? null : P, U = e.locale, W = e.maxDate, B = e.maxDetail, ce = B === void 0 ? "minute" : B, ee = e.minDate, se = e.minuteAriaLabel, ne = e.minutePlaceholder, re = e.monthAriaLabel, be = e.monthPlaceholder, q = e.name, le = q === void 0 ? "datetime" : q, Oe = e.nativeInputAriaLabel, H = e.onCalendarClose, pe = e.onCalendarOpen, ue = e.onChange, fe = e.onClockClose, De = e.onClockOpen, Ke = e.onFocus, xe = e.onInvalidChange, me = e.openWidgetsOnFocus, ve = me === void 0 ? !0 : me, Ve = e.required, Y = e.secondAriaLabel, Ue = e.secondPlaceholder, $e = e.shouldCloseWidgets, gt = e.shouldOpenWidgets, ft = e.showLeadingZeros, Ae = e.value, X = e.yearAriaLabel, z = e.yearPlaceholder, he = SUe(e, ["amPmAriaLabel", "autoFocus", "calendarAriaLabel", "calendarIcon", "className", "clearAriaLabel", "clearIcon", "closeWidgets", "data-testid", "dayAriaLabel", "dayPlaceholder", "disableCalendar", "disableClock", "disabled", "format", "hourAriaLabel", "hourPlaceholder", "id", "isCalendarOpen", "isClockOpen", "locale", "maxDate", "maxDetail", "minDate", "minuteAriaLabel", "minutePlaceholder", "monthAriaLabel", "monthPlaceholder", "name", "nativeInputAriaLabel", "onCalendarClose", "onCalendarOpen", "onChange", "onClockClose", "onClockOpen", "onFocus", "onInvalidChange", "openWidgetsOnFocus", "required", "secondAriaLabel", "secondPlaceholder", "shouldCloseWidgets", "shouldOpenWidgets", "showLeadingZeros", "value", "yearAriaLabel", "yearPlaceholder"]), Te = ht(k), Me = Te[0], Pe = Te[1],
|
|
70848
|
+
var t = e.amPmAriaLabel, r = e.autoFocus, n = e.calendarAriaLabel, a = e.calendarIcon, i = a === void 0 ? CUe : a, o = e.className, s = e.clearAriaLabel, c = e.clearIcon, l = c === void 0 ? EUe : c, u = e.closeWidgets, f = u === void 0 ? !0 : u, h = e["data-testid"], m = e.dayAriaLabel, y = e.dayPlaceholder, v = e.disableCalendar, x = e.disableClock, S = e.disabled, A = e.format, C = e.hourAriaLabel, R = e.hourPlaceholder, I = e.id, _ = e.isCalendarOpen, k = _ === void 0 ? null : _, P = e.isClockOpen, D = P === void 0 ? null : P, U = e.locale, W = e.maxDate, B = e.maxDetail, ce = B === void 0 ? "minute" : B, ee = e.minDate, se = e.minuteAriaLabel, ne = e.minutePlaceholder, re = e.monthAriaLabel, be = e.monthPlaceholder, q = e.name, le = q === void 0 ? "datetime" : q, Oe = e.nativeInputAriaLabel, H = e.onCalendarClose, pe = e.onCalendarOpen, ue = e.onChange, fe = e.onClockClose, De = e.onClockOpen, Ke = e.onFocus, xe = e.onInvalidChange, me = e.openWidgetsOnFocus, ve = me === void 0 ? !0 : me, Ve = e.required, Y = e.secondAriaLabel, Ue = e.secondPlaceholder, $e = e.shouldCloseWidgets, gt = e.shouldOpenWidgets, ft = e.showLeadingZeros, Ae = e.value, X = e.yearAriaLabel, z = e.yearPlaceholder, he = SUe(e, ["amPmAriaLabel", "autoFocus", "calendarAriaLabel", "calendarIcon", "className", "clearAriaLabel", "clearIcon", "closeWidgets", "data-testid", "dayAriaLabel", "dayPlaceholder", "disableCalendar", "disableClock", "disabled", "format", "hourAriaLabel", "hourPlaceholder", "id", "isCalendarOpen", "isClockOpen", "locale", "maxDate", "maxDetail", "minDate", "minuteAriaLabel", "minutePlaceholder", "monthAriaLabel", "monthPlaceholder", "name", "nativeInputAriaLabel", "onCalendarClose", "onCalendarOpen", "onChange", "onClockClose", "onClockOpen", "onFocus", "onInvalidChange", "openWidgetsOnFocus", "required", "secondAriaLabel", "secondPlaceholder", "shouldCloseWidgets", "shouldOpenWidgets", "showLeadingZeros", "value", "yearAriaLabel", "yearPlaceholder"]), Te = ht(k), Me = Te[0], Pe = Te[1], Qe = ht(D), st = Qe[0], It = Qe[1], Bt = wt(null), Dt = wt(null), tr = wt(null);
|
|
70845
70849
|
$t(function() {
|
|
70846
70850
|
Pe(k);
|
|
70847
70851
|
}, [k]), $t(function() {
|
|
@@ -72028,7 +72032,7 @@ const T3 = ({
|
|
|
72028
72032
|
if (!e)
|
|
72029
72033
|
return [];
|
|
72030
72034
|
let r = [];
|
|
72031
|
-
return
|
|
72035
|
+
return qe.BUILD_FOR === qm.AGENCY && (r = [
|
|
72032
72036
|
{
|
|
72033
72037
|
key: "foreign-currency",
|
|
72034
72038
|
label: "Ngoại tệ",
|
|
@@ -72154,7 +72158,7 @@ const T3 = ({
|
|
|
72154
72158
|
}
|
|
72155
72159
|
]
|
|
72156
72160
|
}
|
|
72157
|
-
]),
|
|
72161
|
+
]), qe.BUILD_FOR === qm.PARTNER && (r = [
|
|
72158
72162
|
{
|
|
72159
72163
|
label: "Danh sách yêu cầu",
|
|
72160
72164
|
icon: /* @__PURE__ */ g.jsx(Or, { children: /* @__PURE__ */ g.jsx(nS, {}) }),
|
|
@@ -72240,7 +72244,7 @@ const T3 = ({
|
|
|
72240
72244
|
icon: /* @__PURE__ */ g.jsx(Or, { children: /* @__PURE__ */ g.jsx(Zme, {}) }),
|
|
72241
72245
|
path: "/commission-policies"
|
|
72242
72246
|
}
|
|
72243
|
-
]),
|
|
72247
|
+
]), qe.BUILD_FOR === qm.ADMIN && (r = [
|
|
72244
72248
|
{
|
|
72245
72249
|
label: "Người dùng",
|
|
72246
72250
|
icon: /* @__PURE__ */ g.jsx(Or, { children: /* @__PURE__ */ g.jsx(e1, {}) }),
|
|
@@ -76667,7 +76671,7 @@ function E6e() {
|
|
|
76667
76671
|
["partial", I],
|
|
76668
76672
|
["partialRight", _],
|
|
76669
76673
|
["rearg", P]
|
|
76670
|
-
], fe = "[object Arguments]", De = "[object Array]", Ke = "[object AsyncFunction]", xe = "[object Boolean]", me = "[object Date]", ve = "[object DOMException]", Ve = "[object Error]", Y = "[object Function]", Ue = "[object GeneratorFunction]", $e = "[object Map]", gt = "[object Number]", ft = "[object Null]", Ae = "[object Object]", X = "[object Promise]", z = "[object Proxy]", he = "[object RegExp]", Te = "[object Set]", Me = "[object String]", Pe = "[object Symbol]",
|
|
76674
|
+
], fe = "[object Arguments]", De = "[object Array]", Ke = "[object AsyncFunction]", xe = "[object Boolean]", me = "[object Date]", ve = "[object DOMException]", Ve = "[object Error]", Y = "[object Function]", Ue = "[object GeneratorFunction]", $e = "[object Map]", gt = "[object Number]", ft = "[object Null]", Ae = "[object Object]", X = "[object Promise]", z = "[object Proxy]", he = "[object RegExp]", Te = "[object Set]", Me = "[object String]", Pe = "[object Symbol]", Qe = "[object Undefined]", st = "[object WeakMap]", It = "[object WeakSet]", Bt = "[object ArrayBuffer]", Dt = "[object DataView]", tr = "[object Float32Array]", Ct = "[object Float64Array]", ar = "[object Int8Array]", Mr = "[object Int16Array]", ir = "[object Int32Array]", sn = "[object Uint8Array]", Vr = "[object Uint8ClampedArray]", mn = "[object Uint16Array]", sa = "[object Uint32Array]", qn = /\b__p \+= '';/g, cn = /\b(__p \+=) '' \+/g, Gn = /(__e\(.*?\)|\b__t\)) \+\n'';/g, In = /&(?:amp|lt|gt|quot|#39);/g, or = /[&<>"']/g, fr = RegExp(In.source), jr = RegExp(or.source), Mn = /<%-([\s\S]+?)%>/g, rr = /<%([\s\S]+?)%>/g, Qr = /<%=([\s\S]+?)%>/g, Le = /\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/, pt = /^\w*$/, Ft = /[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g, sr = /[\\^$.*+?()[\]{}|]/g, cr = RegExp(sr.source), Br = /^\s+/, hr = /\s/, fn = /\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/, L = /\{\n\/\* \[wrapped with (.+)\] \*/, Q = /,? & /, K = /[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g, Z = /[()=,{}\[\]\/\s]/, te = /\\(\\)?/g, F = /\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g, de = /\w*$/, Ee = /^[-+]0x[0-9a-f]+$/i, ye = /^0b[01]+$/i, Ie = /^\[object .+?Constructor\]$/, _e = /^0o[0-7]+$/i, tt = /^(?:0|[1-9]\d*)$/, dt = /[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g, yt = /($^)/, ot = /['\n\r\u2028\u2029\\]/g, mt = "\\ud800-\\udfff", Tt = "\\u0300-\\u036f", vr = "\\ufe20-\\ufe2f", gr = "\\u20d0-\\u20ff", Sr = Tt + vr + gr, mi = "\\u2700-\\u27bf", Ea = "a-z\\xdf-\\xf6\\xf8-\\xff", Ta = "\\xac\\xb1\\xd7\\xf7", ri = "\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf", yi = "\\u2000-\\u206f", Qn = " \\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", Bc = "A-Z\\xc0-\\xd6\\xd8-\\xde", Uc = "\\ufe0e\\ufe0f", Vc = Ta + ri + yi + Qn, gs = "['’]", Xu = "[" + mt + "]", Fl = "[" + Vc + "]", ms = "[" + Sr + "]", E = "\\d+", N = "[" + mi + "]", G = "[" + Ea + "]", oe = "[^" + mt + Vc + E + mi + Ea + Bc + "]", je = "\\ud83c[\\udffb-\\udfff]", Fe = "(?:" + ms + "|" + je + ")", Je = "[^" + mt + "]", bt = "(?:\\ud83c[\\udde6-\\uddff]){2}", Ht = "[\\ud800-\\udbff][\\udc00-\\udfff]", Gt = "[" + Bc + "]", mr = "\\u200d", Pn = "(?:" + G + "|" + oe + ")", vi = "(?:" + Gt + "|" + oe + ")", Li = "(?:" + gs + "(?:d|ll|m|re|s|t|ve))?", ni = "(?:" + gs + "(?:D|LL|M|RE|S|T|VE))?", ys = Fe + "?", xi = "[" + Uc + "]?", Zs = "(?:" + mr + "(?:" + [Je, bt, Ht].join("|") + ")" + xi + ys + ")*", zo = "\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])", jc = "\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])", Ko = xi + ys + Zs, Bl = "(?:" + [N, bt, Ht].join("|") + ")" + Ko, mf = "(?:" + [Je + ms + "?", ms, bt, Ht, Xu].join("|") + ")", Wh = RegExp(gs, "g"), qs = RegExp(ms, "g"), Qs = RegExp(je + "(?=" + je + ")|" + mf + Ko, "g"), pg = RegExp([
|
|
76671
76675
|
Gt + "?" + G + "+" + Li + "(?=" + [Fl, Gt, "$"].join("|") + ")",
|
|
76672
76676
|
vi + "+" + ni + "(?=" + [Fl, Gt + Pn, "$"].join("|") + ")",
|
|
76673
76677
|
Gt + "?" + Pn + "+" + Li,
|
|
@@ -77080,7 +77084,7 @@ function E6e() {
|
|
|
77080
77084
|
Rt[We] = Ze(We);
|
|
77081
77085
|
return Rt;
|
|
77082
77086
|
}
|
|
77083
|
-
function
|
|
77087
|
+
function et(ke, Ze) {
|
|
77084
77088
|
return Vn(Ze, function(We) {
|
|
77085
77089
|
return [We, ke[We]];
|
|
77086
77090
|
});
|
|
@@ -77648,7 +77652,7 @@ function E6e() {
|
|
|
77648
77652
|
return Tr(d) ? w : vs(w, b(d));
|
|
77649
77653
|
}
|
|
77650
77654
|
function ro(d) {
|
|
77651
|
-
return d == null ? d === r ?
|
|
77655
|
+
return d == null ? d === r ? Qe : ft : bf && bf in jn(d) ? sZ(d) : SZ(d);
|
|
77652
77656
|
}
|
|
77653
77657
|
function PC(d, p) {
|
|
77654
77658
|
return d > p;
|
|
@@ -78425,7 +78429,7 @@ function E6e() {
|
|
|
78425
78429
|
function dN(d) {
|
|
78426
78430
|
return function(p) {
|
|
78427
78431
|
var b = Ui(p);
|
|
78428
|
-
return b == $e ? AC(p) : b == Te ? SX(p) :
|
|
78432
|
+
return b == $e ? AC(p) : b == Te ? SX(p) : et(p, d(p));
|
|
78429
78433
|
};
|
|
78430
78434
|
}
|
|
78431
78435
|
function zl(d, p, b, w, M, J, ge, Se) {
|
|
@@ -82312,16 +82316,16 @@ var nje = /* @__PURE__ */ function() {
|
|
|
82312
82316
|
}
|
|
82313
82317
|
return L.length = Z, L;
|
|
82314
82318
|
}
|
|
82315
|
-
function
|
|
82319
|
+
function Qe(L) {
|
|
82316
82320
|
for (var Q = new Array(L), K = 0; K < L; ++K) Q[K] = 0;
|
|
82317
82321
|
return Q;
|
|
82318
82322
|
}
|
|
82319
82323
|
function st(L, Q, K) {
|
|
82320
|
-
var Z = 1, te = 0, F = 0, de = 0, Ee = 0, ye = L.length, Ie = me ? new Uint16Array(32) :
|
|
82324
|
+
var Z = 1, te = 0, F = 0, de = 0, Ee = 0, ye = L.length, Ie = me ? new Uint16Array(32) : Qe(32);
|
|
82321
82325
|
for (F = 0; F < 32; ++F) Ie[F] = 0;
|
|
82322
82326
|
for (F = ye; F < K; ++F) L[F] = 0;
|
|
82323
82327
|
ye = L.length;
|
|
82324
|
-
var _e = me ? new Uint16Array(ye) :
|
|
82328
|
+
var _e = me ? new Uint16Array(ye) : Qe(ye);
|
|
82325
82329
|
for (F = 0; F < ye; ++F)
|
|
82326
82330
|
Ie[te = L[F]]++, Z < te && (Z = te), _e[F] = 0;
|
|
82327
82331
|
for (Ie[0] = 0, F = 1; F <= Z; ++F) Ie[F + 16] = Ee = Ee + Ie[F - 1] << 1;
|
|
@@ -82334,7 +82338,7 @@ var nje = /* @__PURE__ */ function() {
|
|
|
82334
82338
|
Q[Ee | de << tt] = tt & 15 | F << 4;
|
|
82335
82339
|
return Z;
|
|
82336
82340
|
}
|
|
82337
|
-
var It = me ? new Uint16Array(512) :
|
|
82341
|
+
var It = me ? new Uint16Array(512) : Qe(512), Bt = me ? new Uint16Array(32) : Qe(32);
|
|
82338
82342
|
if (!me) {
|
|
82339
82343
|
for (var Dt = 0; Dt < 512; ++Dt) It[Dt] = 0;
|
|
82340
82344
|
for (Dt = 0; Dt < 32; ++Dt) Bt[Dt] = 0;
|
|
@@ -82405,7 +82409,7 @@ var nje = /* @__PURE__ */ function() {
|
|
|
82405
82409
|
var Q = Ja(50 + Math.floor(L.length * 1.1)), K = tr(L, Q);
|
|
82406
82410
|
return Q.slice(0, K);
|
|
82407
82411
|
}
|
|
82408
|
-
var ar = me ? new Uint16Array(32768) :
|
|
82412
|
+
var ar = me ? new Uint16Array(32768) : Qe(32768), Mr = me ? new Uint16Array(32768) : Qe(32768), ir = me ? new Uint16Array(128) : Qe(128), sn = 1, Vr = 1;
|
|
82409
82413
|
function mn(L, Q) {
|
|
82410
82414
|
var K = ft(L, Q) + 257;
|
|
82411
82415
|
Q += 5;
|
|
@@ -82413,7 +82417,7 @@ var nje = /* @__PURE__ */ function() {
|
|
|
82413
82417
|
Q += 5;
|
|
82414
82418
|
var te = gt(L, Q) + 4;
|
|
82415
82419
|
Q += 4;
|
|
82416
|
-
for (var F = 0, de = me ? new Uint8Array(19) :
|
|
82420
|
+
for (var F = 0, de = me ? new Uint8Array(19) : Qe(19), Ee = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], ye = 1, Ie = me ? new Uint8Array(8) : Qe(8), _e = me ? new Uint8Array(8) : Qe(8), tt = de.length, dt = 0; dt < te; ++dt)
|
|
82417
82421
|
de[fe[dt]] = F = $e(L, Q), ye < F && (ye = F), Ie[F]++, Q += 3;
|
|
82418
82422
|
var yt = 0;
|
|
82419
82423
|
for (Ie[0] = 0, dt = 1; dt <= ye; ++dt) _e[dt] = yt = yt + Ie[dt - 1] << 1;
|
|
@@ -94032,8 +94036,8 @@ function F9e(e, t) {
|
|
|
94032
94036
|
case 190:
|
|
94033
94037
|
if (t.sheetStubs)
|
|
94034
94038
|
for (var Pe = Y.c; Pe <= Y.C; ++Pe) {
|
|
94035
|
-
var
|
|
94036
|
-
C = { ixfe:
|
|
94039
|
+
var Qe = Y.ixfe[Pe - Y.c];
|
|
94040
|
+
C = { ixfe: Qe, XF: I[Qe], t: "z" }, H > 0 && (C.z = pe[C.ixfe >> 8 & 63]), Zc(C, t, r.opts.Date1904), W({ c: Pe, r: Y.r }, C, t);
|
|
94037
94041
|
}
|
|
94038
94042
|
break;
|
|
94039
94043
|
case 214:
|
|
@@ -102090,29 +102094,29 @@ const P7e = Ec().shape({
|
|
|
102090
102094
|
i($e);
|
|
102091
102095
|
const Ae = await $e.arrayBuffer(), X = lR(Ae, { type: "binary" }), z = X.SheetNames[0], he = X.Sheets[z];
|
|
102092
102096
|
let Te = 0;
|
|
102093
|
-
for (let
|
|
102094
|
-
if (((ft = he[`A${
|
|
102095
|
-
Te =
|
|
102097
|
+
for (let Qe = 1; Qe <= 1e3; Qe++)
|
|
102098
|
+
if (((ft = he[`A${Qe}`]) == null ? void 0 : ft.v) === "STT") {
|
|
102099
|
+
Te = Qe;
|
|
102096
102100
|
break;
|
|
102097
102101
|
}
|
|
102098
102102
|
const Pe = R7e.sheet_to_json(he, {
|
|
102099
102103
|
range: Te - 1
|
|
102100
|
-
}).map((
|
|
102104
|
+
}).map((Qe) => {
|
|
102101
102105
|
const st = {};
|
|
102102
|
-
return Object.keys(
|
|
102106
|
+
return Object.keys(Qe).forEach((It) => {
|
|
102103
102107
|
var Bt, Dt;
|
|
102104
102108
|
if (It in qU) {
|
|
102105
102109
|
const tr = qU[It];
|
|
102106
|
-
if (st[tr] =
|
|
102110
|
+
if (st[tr] = Qe[It], tr === "idNo" && isNaN(Number(Qe[It]))) {
|
|
102107
102111
|
st[tr] = "";
|
|
102108
102112
|
return;
|
|
102109
102113
|
}
|
|
102110
|
-
if (tr === "amount" && isNaN(Number(
|
|
102114
|
+
if (tr === "amount" && isNaN(Number(Qe[It]))) {
|
|
102111
102115
|
st[tr] = "1000";
|
|
102112
102116
|
return;
|
|
102113
102117
|
}
|
|
102114
|
-
if (tr === "currencyCode" && (st[tr] = C || ((Bt =
|
|
102115
|
-
let Ct = ((Dt =
|
|
102118
|
+
if (tr === "currencyCode" && (st[tr] = C || ((Bt = Qe[It]) == null ? void 0 : Bt.toString()) || ""), tr === "phoneNo") {
|
|
102119
|
+
let Ct = ((Dt = Qe[It]) == null ? void 0 : Dt.toString()) || "";
|
|
102116
102120
|
if (isNaN(Number(Ct))) {
|
|
102117
102121
|
st[tr] = "";
|
|
102118
102122
|
return;
|
|
@@ -102229,18 +102233,18 @@ const P7e = Ec().shape({
|
|
|
102229
102233
|
}
|
|
102230
102234
|
}), { airlineCode: Te, departureDate: Me, countryCodeDes: Pe } = he.data;
|
|
102231
102235
|
if (Te) {
|
|
102232
|
-
const
|
|
102233
|
-
|
|
102236
|
+
const Qe = T1.find((st) => st.iata === Te);
|
|
102237
|
+
Qe && (se("airlineCode", Te), se("airlineName", Qe.airline), U((st) => ({
|
|
102234
102238
|
...st,
|
|
102235
102239
|
airlineCode: !0
|
|
102236
102240
|
})));
|
|
102237
102241
|
}
|
|
102238
|
-
if (Me && (se("departureDate", Me), U((
|
|
102239
|
-
...
|
|
102242
|
+
if (Me && (se("departureDate", Me), U((Qe) => ({
|
|
102243
|
+
...Qe,
|
|
102240
102244
|
departureDate: !0
|
|
102241
102245
|
}))), Pe) {
|
|
102242
|
-
const
|
|
102243
|
-
|
|
102246
|
+
const Qe = ch.find((st) => st.alpha2 === Pe);
|
|
102247
|
+
Qe && (se("countryCodeDes", Pe), se("countryNameDes", Qe.name), U((st) => ({
|
|
102244
102248
|
...st,
|
|
102245
102249
|
countryCodeDes: !0
|
|
102246
102250
|
})));
|
|
@@ -102688,7 +102692,7 @@ const P7e = Ec().shape({
|
|
|
102688
102692
|
/* @__PURE__ */ g.jsx(uc, {})
|
|
102689
102693
|
] }) }),
|
|
102690
102694
|
/* @__PURE__ */ g.jsx(GH, { children: (s("customers") || []).map((z, he) => {
|
|
102691
|
-
var Te, Me, Pe,
|
|
102695
|
+
var Te, Me, Pe, Qe, st, It, Bt, Dt, tr, Ct, ar, Mr, ir, sn, Vr, mn, sa, qn, cn, Gn, In, or, fr, jr, Mn, rr, Qr, Le, pt, Ft;
|
|
102692
102696
|
return /* @__PURE__ */ g.jsxs(Zb, { h: "1px", children: [
|
|
102693
102697
|
/* @__PURE__ */ g.jsx(dc, { verticalAlign: "top", children: he + 1 }),
|
|
102694
102698
|
/* @__PURE__ */ g.jsx(dc, { verticalAlign: "top", minW: "150px", children: /* @__PURE__ */ g.jsxs(wr, { h: "100%", invalid: !!((Me = (Te = n.customers) == null ? void 0 : Te[he]) != null && Me.customerName), children: [
|
|
@@ -102700,7 +102704,7 @@ const P7e = Ec().shape({
|
|
|
102700
102704
|
...a(`customers.${he}.customerName`)
|
|
102701
102705
|
}
|
|
102702
102706
|
),
|
|
102703
|
-
/* @__PURE__ */ g.jsx(Ir, { children: (st = (
|
|
102707
|
+
/* @__PURE__ */ g.jsx(Ir, { children: (st = (Qe = (Pe = n.customers) == null ? void 0 : Pe[he]) == null ? void 0 : Qe.customerName) == null ? void 0 : st.message })
|
|
102704
102708
|
] }) }),
|
|
102705
102709
|
/* @__PURE__ */ g.jsx(dc, { verticalAlign: "top", children: /* @__PURE__ */ g.jsxs(wr, { h: "100%", invalid: !!((Bt = (It = n.customers) == null ? void 0 : It[he]) != null && Bt.ticketCode), children: [
|
|
102706
102710
|
/* @__PURE__ */ g.jsx(
|
|
@@ -102967,7 +102971,7 @@ const P7e = Ec().shape({
|
|
|
102967
102971
|
window.parent.postMessage(
|
|
102968
102972
|
{
|
|
102969
102973
|
type: "open-transaction-create",
|
|
102970
|
-
url: `${
|
|
102974
|
+
url: `${qe.BOOKER_URL}/transaction/create`
|
|
102971
102975
|
},
|
|
102972
102976
|
"*"
|
|
102973
102977
|
);
|
|
@@ -103610,8 +103614,8 @@ function F7e() {
|
|
|
103610
103614
|
N.context._currentValue2 = N.value;
|
|
103611
103615
|
}
|
|
103612
103616
|
}
|
|
103613
|
-
function
|
|
103614
|
-
E.context._currentValue2 = E.parentValue, E = E.parent, E !== null &&
|
|
103617
|
+
function Qe(E) {
|
|
103618
|
+
E.context._currentValue2 = E.parentValue, E = E.parent, E !== null && Qe(E);
|
|
103615
103619
|
}
|
|
103616
103620
|
function st(E) {
|
|
103617
103621
|
var N = E.parent;
|
|
@@ -103628,7 +103632,7 @@ function F7e() {
|
|
|
103628
103632
|
}
|
|
103629
103633
|
function Dt(E) {
|
|
103630
103634
|
var N = Me;
|
|
103631
|
-
N !== E && (N === null ? st(E) : E === null ?
|
|
103635
|
+
N !== E && (N === null ? st(E) : E === null ? Qe(N) : N.depth === E.depth ? Pe(N, E) : N.depth > E.depth ? It(N, E) : Bt(N, E), Me = E);
|
|
103632
103636
|
}
|
|
103633
103637
|
var tr = { isMounted: function() {
|
|
103634
103638
|
return !1;
|
|
@@ -104264,8 +104268,8 @@ function B7e() {
|
|
|
104264
104268
|
function v(T) {
|
|
104265
104269
|
return f.call(y, T) ? !0 : f.call(m, T) ? !1 : h.test(T) ? y[T] = !0 : (m[T] = !0, !1);
|
|
104266
104270
|
}
|
|
104267
|
-
function x(T, O, V, ie, He, Be,
|
|
104268
|
-
this.acceptsBooleans = O === 2 || O === 3 || O === 4, this.attributeName = ie, this.attributeNamespace = He, this.mustUseProperty = V, this.propertyName = T, this.type = O, this.sanitizeURL = Be, this.removeEmptyString =
|
|
104271
|
+
function x(T, O, V, ie, He, Be, et) {
|
|
104272
|
+
this.acceptsBooleans = O === 2 || O === 3 || O === 4, this.attributeName = ie, this.attributeNamespace = He, this.mustUseProperty = V, this.propertyName = T, this.type = O, this.sanitizeURL = Be, this.removeEmptyString = et;
|
|
104269
104273
|
}
|
|
104270
104274
|
var S = {};
|
|
104271
104275
|
"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(T) {
|
|
@@ -104448,8 +104452,8 @@ function B7e() {
|
|
|
104448
104452
|
He = c(k(("" + He).trim()));
|
|
104449
104453
|
} else {
|
|
104450
104454
|
Be = ie;
|
|
104451
|
-
var
|
|
104452
|
-
|
|
104455
|
+
var et = ue.get(Be);
|
|
104456
|
+
et !== void 0 || (et = l(k(Be.replace(P, "-$1").toLowerCase().replace(D, "-ms-"))), ue.set(Be, et)), Be = et, He = typeof He == "number" ? He === 0 || f.call(R, ie) ? c("" + He) : c(He + "px") : c(k(("" + He).trim()));
|
|
104453
104457
|
}
|
|
104454
104458
|
O ? (O = !1, T.push(fe, Be, De, He)) : T.push(Ke, Be, De, He);
|
|
104455
104459
|
}
|
|
@@ -104525,16 +104529,16 @@ function B7e() {
|
|
|
104525
104529
|
T.push(Pe(V));
|
|
104526
104530
|
var He = V = null, Be;
|
|
104527
104531
|
for (Be in O) if (f.call(O, Be)) {
|
|
104528
|
-
var
|
|
104529
|
-
if (
|
|
104532
|
+
var et = O[Be];
|
|
104533
|
+
if (et != null) switch (Be) {
|
|
104530
104534
|
case "children":
|
|
104531
|
-
V =
|
|
104535
|
+
V = et;
|
|
104532
104536
|
break;
|
|
104533
104537
|
case "dangerouslySetInnerHTML":
|
|
104534
|
-
He =
|
|
104538
|
+
He = et;
|
|
104535
104539
|
break;
|
|
104536
104540
|
default:
|
|
104537
|
-
Ue(T, ie, Be,
|
|
104541
|
+
Ue(T, ie, Be, et);
|
|
104538
104542
|
}
|
|
104539
104543
|
}
|
|
104540
104544
|
return T.push($e), ft(T, He, V), typeof V == "string" ? (T.push(c(k(V))), null) : V;
|
|
@@ -104549,12 +104553,12 @@ function B7e() {
|
|
|
104549
104553
|
}
|
|
104550
104554
|
return O;
|
|
104551
104555
|
}
|
|
104552
|
-
var
|
|
104556
|
+
var Qe = l("<!DOCTYPE html>");
|
|
104553
104557
|
function st(T, O, V, ie, He) {
|
|
104554
104558
|
switch (O) {
|
|
104555
104559
|
case "select":
|
|
104556
104560
|
T.push(Pe("select"));
|
|
104557
|
-
var Be = null,
|
|
104561
|
+
var Be = null, et = null;
|
|
104558
104562
|
for (yr in V) if (f.call(V, yr)) {
|
|
104559
104563
|
var vt = V[yr];
|
|
104560
104564
|
if (vt != null) switch (yr) {
|
|
@@ -104562,7 +104566,7 @@ function B7e() {
|
|
|
104562
104566
|
Be = vt;
|
|
104563
104567
|
break;
|
|
104564
104568
|
case "dangerouslySetInnerHTML":
|
|
104565
|
-
|
|
104569
|
+
et = vt;
|
|
104566
104570
|
break;
|
|
104567
104571
|
case "defaultValue":
|
|
104568
104572
|
case "value":
|
|
@@ -104571,9 +104575,9 @@ function B7e() {
|
|
|
104571
104575
|
Ue(T, ie, yr, vt);
|
|
104572
104576
|
}
|
|
104573
104577
|
}
|
|
104574
|
-
return T.push($e), ft(T,
|
|
104578
|
+
return T.push($e), ft(T, et, Be), Be;
|
|
104575
104579
|
case "option":
|
|
104576
|
-
|
|
104580
|
+
et = He.selectedValue, T.push(Pe("option"));
|
|
104577
104581
|
var Nt = vt = null, Er = null, yr = null;
|
|
104578
104582
|
for (Be in V) if (f.call(V, Be)) {
|
|
104579
104583
|
var Ln = V[Be];
|
|
@@ -104593,17 +104597,17 @@ function B7e() {
|
|
|
104593
104597
|
Ue(T, ie, Be, Ln);
|
|
104594
104598
|
}
|
|
104595
104599
|
}
|
|
104596
|
-
if (
|
|
104597
|
-
for (ie = 0; ie <
|
|
104598
|
-
if ("" +
|
|
104600
|
+
if (et != null) if (V = Nt !== null ? "" + Nt : Ae(vt), U(et)) {
|
|
104601
|
+
for (ie = 0; ie < et.length; ie++)
|
|
104602
|
+
if ("" + et[ie] === V) {
|
|
104599
104603
|
T.push(X);
|
|
104600
104604
|
break;
|
|
104601
104605
|
}
|
|
104602
|
-
} else "" +
|
|
104606
|
+
} else "" + et === V && T.push(X);
|
|
104603
104607
|
else Er && T.push(X);
|
|
104604
104608
|
return T.push($e), ft(T, yr, vt), vt;
|
|
104605
104609
|
case "textarea":
|
|
104606
|
-
T.push(Pe("textarea")), yr =
|
|
104610
|
+
T.push(Pe("textarea")), yr = et = Be = null;
|
|
104607
104611
|
for (vt in V) if (f.call(V, vt) && (Nt = V[vt], Nt != null)) switch (vt) {
|
|
104608
104612
|
case "children":
|
|
104609
104613
|
yr = Nt;
|
|
@@ -104612,14 +104616,14 @@ function B7e() {
|
|
|
104612
104616
|
Be = Nt;
|
|
104613
104617
|
break;
|
|
104614
104618
|
case "defaultValue":
|
|
104615
|
-
|
|
104619
|
+
et = Nt;
|
|
104616
104620
|
break;
|
|
104617
104621
|
case "dangerouslySetInnerHTML":
|
|
104618
104622
|
throw Error(t(91));
|
|
104619
104623
|
default:
|
|
104620
104624
|
Ue(T, ie, vt, Nt);
|
|
104621
104625
|
}
|
|
104622
|
-
if (Be === null &&
|
|
104626
|
+
if (Be === null && et !== null && (Be = et), T.push($e), yr != null) {
|
|
104623
104627
|
if (Be != null) throw Error(t(92));
|
|
104624
104628
|
if (U(yr) && 1 < yr.length) throw Error(t(93));
|
|
104625
104629
|
Be = "" + yr;
|
|
@@ -104628,7 +104632,7 @@ function B7e() {
|
|
|
104628
104632
|
` && T.push(he), Be !== null && T.push(c(k("" + Be))), null;
|
|
104629
104633
|
case "input":
|
|
104630
104634
|
T.push(Pe("input")), Nt = yr = vt = Be = null;
|
|
104631
|
-
for (
|
|
104635
|
+
for (et in V) if (f.call(V, et) && (Er = V[et], Er != null)) switch (et) {
|
|
104632
104636
|
case "children":
|
|
104633
104637
|
case "dangerouslySetInnerHTML":
|
|
104634
104638
|
throw Error(t(399, "input"));
|
|
@@ -104645,7 +104649,7 @@ function B7e() {
|
|
|
104645
104649
|
Be = Er;
|
|
104646
104650
|
break;
|
|
104647
104651
|
default:
|
|
104648
|
-
Ue(T, ie,
|
|
104652
|
+
Ue(T, ie, et, Er);
|
|
104649
104653
|
}
|
|
104650
104654
|
return yr !== null ? Ue(
|
|
104651
104655
|
T,
|
|
@@ -104665,33 +104669,33 @@ function B7e() {
|
|
|
104665
104669
|
return T.push($e), null;
|
|
104666
104670
|
case "title":
|
|
104667
104671
|
T.push(Pe("title")), Be = null;
|
|
104668
|
-
for (Ln in V) if (f.call(V, Ln) && (
|
|
104672
|
+
for (Ln in V) if (f.call(V, Ln) && (et = V[Ln], et != null)) switch (Ln) {
|
|
104669
104673
|
case "children":
|
|
104670
|
-
Be =
|
|
104674
|
+
Be = et;
|
|
104671
104675
|
break;
|
|
104672
104676
|
case "dangerouslySetInnerHTML":
|
|
104673
104677
|
throw Error(t(434));
|
|
104674
104678
|
default:
|
|
104675
|
-
Ue(T, ie, Ln,
|
|
104679
|
+
Ue(T, ie, Ln, et);
|
|
104676
104680
|
}
|
|
104677
104681
|
return T.push($e), Be;
|
|
104678
104682
|
case "listing":
|
|
104679
104683
|
case "pre":
|
|
104680
|
-
T.push(Pe(O)),
|
|
104684
|
+
T.push(Pe(O)), et = Be = null;
|
|
104681
104685
|
for (Nt in V) if (f.call(V, Nt) && (vt = V[Nt], vt != null)) switch (Nt) {
|
|
104682
104686
|
case "children":
|
|
104683
104687
|
Be = vt;
|
|
104684
104688
|
break;
|
|
104685
104689
|
case "dangerouslySetInnerHTML":
|
|
104686
|
-
|
|
104690
|
+
et = vt;
|
|
104687
104691
|
break;
|
|
104688
104692
|
default:
|
|
104689
104693
|
Ue(T, ie, Nt, vt);
|
|
104690
104694
|
}
|
|
104691
|
-
if (T.push($e),
|
|
104695
|
+
if (T.push($e), et != null) {
|
|
104692
104696
|
if (Be != null) throw Error(t(60));
|
|
104693
|
-
if (typeof
|
|
104694
|
-
V =
|
|
104697
|
+
if (typeof et != "object" || !("__html" in et)) throw Error(t(61));
|
|
104698
|
+
V = et.__html, V != null && (typeof V == "string" && 0 < V.length && V[0] === `
|
|
104695
104699
|
` ? T.push(he, c(V)) : T.push(c("" + V)));
|
|
104696
104700
|
}
|
|
104697
104701
|
return typeof Be == "string" && Be[0] === `
|
|
@@ -104729,16 +104733,16 @@ function B7e() {
|
|
|
104729
104733
|
case "missing-glyph":
|
|
104730
104734
|
return z(T, V, O, ie);
|
|
104731
104735
|
case "html":
|
|
104732
|
-
return He.insertionMode === 0 && T.push(
|
|
104736
|
+
return He.insertionMode === 0 && T.push(Qe), z(T, V, O, ie);
|
|
104733
104737
|
default:
|
|
104734
104738
|
if (O.indexOf("-") === -1 && typeof V.is != "string") return z(T, V, O, ie);
|
|
104735
|
-
T.push(Pe(O)),
|
|
104739
|
+
T.push(Pe(O)), et = Be = null;
|
|
104736
104740
|
for (Er in V) if (f.call(V, Er) && (vt = V[Er], vt != null)) switch (Er) {
|
|
104737
104741
|
case "children":
|
|
104738
104742
|
Be = vt;
|
|
104739
104743
|
break;
|
|
104740
104744
|
case "dangerouslySetInnerHTML":
|
|
104741
|
-
|
|
104745
|
+
et = vt;
|
|
104742
104746
|
break;
|
|
104743
104747
|
case "style":
|
|
104744
104748
|
xe(T, ie, vt);
|
|
@@ -104749,7 +104753,7 @@ function B7e() {
|
|
|
104749
104753
|
default:
|
|
104750
104754
|
v(Er) && typeof vt != "function" && typeof vt != "symbol" && T.push(me, c(Er), ve, c(k(vt)), Ve);
|
|
104751
104755
|
}
|
|
104752
|
-
return T.push($e), ft(T,
|
|
104756
|
+
return T.push($e), ft(T, et, Be), Be;
|
|
104753
104757
|
}
|
|
104754
104758
|
}
|
|
104755
104759
|
var It = l("</"), Bt = l(">"), Dt = l('<template id="'), tr = l('"></template>'), Ct = l("<!--$-->"), ar = l('<!--$?--><template id="'), Mr = l('"></template>'), ir = l("<!--$!-->"), sn = l("<!--/$-->"), Vr = l("<template"), mn = l('"'), sa = l(' data-dgst="');
|
|
@@ -104912,11 +104916,11 @@ function B7e() {
|
|
|
104912
104916
|
T.updater = Zs, T.props = V, T.state = He;
|
|
104913
104917
|
var Be = { queue: [], replace: !1 };
|
|
104914
104918
|
T._reactInternals = Be;
|
|
104915
|
-
var
|
|
104916
|
-
if (T.context = typeof
|
|
104919
|
+
var et = O.contextType;
|
|
104920
|
+
if (T.context = typeof et == "object" && et !== null ? et._currentValue : ie, et = O.getDerivedStateFromProps, typeof et == "function" && (et = et(V, He), He = et == null ? He : Ta({}, He, et), T.state = He), typeof O.getDerivedStateFromProps != "function" && typeof T.getSnapshotBeforeUpdate != "function" && (typeof T.UNSAFE_componentWillMount == "function" || typeof T.componentWillMount == "function")) if (O = T.state, typeof T.componentWillMount == "function" && T.componentWillMount(), typeof T.UNSAFE_componentWillMount == "function" && T.UNSAFE_componentWillMount(), O !== T.state && Zs.enqueueReplaceState(T, T.state, null), Be.queue !== null && 0 < Be.queue.length) if (O = Be.queue, et = Be.replace, Be.queue = null, Be.replace = !1, et && O.length === 1) T.state = O[0];
|
|
104917
104921
|
else {
|
|
104918
|
-
for (Be =
|
|
104919
|
-
var vt = O[
|
|
104922
|
+
for (Be = et ? O[0] : T.state, He = !0, et = et ? 1 : 0; et < O.length; et++) {
|
|
104923
|
+
var vt = O[et];
|
|
104920
104924
|
vt = typeof vt == "function" ? vt.call(T, Be, V, ie) : vt, vt != null && (He ? (He = !1, Be = Ta({}, Be, vt)) : Ta(Be, vt));
|
|
104921
104925
|
}
|
|
104922
104926
|
T.state = Be;
|
|
@@ -104931,8 +104935,8 @@ function B7e() {
|
|
|
104931
104935
|
ie &= ~(1 << He), V += 1;
|
|
104932
104936
|
var Be = 32 - Bl(O) + He;
|
|
104933
104937
|
if (30 < Be) {
|
|
104934
|
-
var
|
|
104935
|
-
return Be = (ie & (1 <<
|
|
104938
|
+
var et = He - He % 5;
|
|
104939
|
+
return Be = (ie & (1 << et) - 1).toString(32), ie >>= et, He -= et, { id: 1 << 32 - Bl(O) + He | V << He | ie, overflow: Be + T };
|
|
104936
104940
|
}
|
|
104937
104941
|
return { id: 1 << Be | V << He | ie, overflow: T };
|
|
104938
104942
|
}
|
|
@@ -105042,16 +105046,16 @@ function B7e() {
|
|
|
105042
105046
|
}
|
|
105043
105047
|
function Ju() {
|
|
105044
105048
|
}
|
|
105045
|
-
function Yv(T, O, V, ie, He, Be,
|
|
105049
|
+
function Yv(T, O, V, ie, He, Be, et, vt, Nt) {
|
|
105046
105050
|
var Er = [], yr = /* @__PURE__ */ new Set();
|
|
105047
|
-
return O = { destination: null, responseState: O, progressiveChunkSize: ie === void 0 ? 12800 : ie, status: 0, fatalError: null, nextSegmentId: 0, allPendingTasks: 0, pendingRootTasks: 0, completedRootSegment: null, abortableTasks: yr, pingedTasks: Er, clientRenderedBoundaries: [], completedBoundaries: [], partialBoundaries: [], onError: He === void 0 ? Kv : He, onAllReady: Be === void 0 ? Ju : Be, onShellReady:
|
|
105051
|
+
return O = { destination: null, responseState: O, progressiveChunkSize: ie === void 0 ? 12800 : ie, status: 0, fatalError: null, nextSegmentId: 0, allPendingTasks: 0, pendingRootTasks: 0, completedRootSegment: null, abortableTasks: yr, pingedTasks: Er, clientRenderedBoundaries: [], completedBoundaries: [], partialBoundaries: [], onError: He === void 0 ? Kv : He, onAllReady: Be === void 0 ? Ju : Be, onShellReady: et === void 0 ? Ju : et, onShellError: vt === void 0 ? Ju : vt, onFatalError: Nt === void 0 ? Ju : Nt }, V = ii(O, 0, null, V, !1, !1), V.parentFlushed = !0, T = zh(O, T, null, V, yr, Ht, null, jc), Er.push(T), O;
|
|
105048
105052
|
}
|
|
105049
|
-
function zh(T, O, V, ie, He, Be,
|
|
105053
|
+
function zh(T, O, V, ie, He, Be, et, vt) {
|
|
105050
105054
|
T.allPendingTasks++, V === null ? T.pendingRootTasks++ : V.pendingTasks++;
|
|
105051
105055
|
var Nt = { node: O, ping: function() {
|
|
105052
105056
|
var Er = T.pingedTasks;
|
|
105053
105057
|
Er.push(Nt), Er.length === 1 && qv(T);
|
|
105054
|
-
}, blockedBoundary: V, blockedSegment: ie, abortSet: He, legacyContext: Be, context:
|
|
105058
|
+
}, blockedBoundary: V, blockedSegment: ie, abortSet: He, legacyContext: Be, context: et, treeContext: vt };
|
|
105055
105059
|
return He.add(Nt), Nt;
|
|
105056
105060
|
}
|
|
105057
105061
|
function ii(T, O, V, ie, He, Be) {
|
|
@@ -105072,14 +105076,14 @@ function B7e() {
|
|
|
105072
105076
|
function gg(T, O, V, ie) {
|
|
105073
105077
|
var He = V.render(), Be = ie.childContextTypes;
|
|
105074
105078
|
if (Be != null) {
|
|
105075
|
-
var
|
|
105076
|
-
if (typeof V.getChildContext != "function") ie =
|
|
105079
|
+
var et = O.legacyContext;
|
|
105080
|
+
if (typeof V.getChildContext != "function") ie = et;
|
|
105077
105081
|
else {
|
|
105078
105082
|
V = V.getChildContext();
|
|
105079
105083
|
for (var vt in V) if (!(vt in Be)) throw Error(t(108, bt(ie) || "Unknown", vt));
|
|
105080
|
-
ie = Ta({},
|
|
105084
|
+
ie = Ta({}, et, V);
|
|
105081
105085
|
}
|
|
105082
|
-
O.legacyContext = ie, bi(T, O, He), O.legacyContext =
|
|
105086
|
+
O.legacyContext = ie, bi(T, O, He), O.legacyContext = et;
|
|
105083
105087
|
} else bi(T, O, He);
|
|
105084
105088
|
}
|
|
105085
105089
|
function tc(T, O) {
|
|
@@ -105097,9 +105101,9 @@ function B7e() {
|
|
|
105097
105101
|
Be = new V(ie, typeof Be == "object" && Be !== null ? Be._currentValue : He), zo(Be, V, ie, He), gg(T, O, Be, V);
|
|
105098
105102
|
} else {
|
|
105099
105103
|
Be = Gt(V, O.legacyContext), He = Xv(T, O, V, ie, Be);
|
|
105100
|
-
var
|
|
105104
|
+
var et = Vl !== 0;
|
|
105101
105105
|
if (typeof He == "object" && He !== null && typeof He.render == "function" && He.$$typeof === void 0) zo(He, V, ie, Be), gg(T, O, He, V);
|
|
105102
|
-
else if (
|
|
105106
|
+
else if (et) {
|
|
105103
105107
|
ie = O.treeContext, O.treeContext = Ko(ie, 1, 0);
|
|
105104
105108
|
try {
|
|
105105
105109
|
bi(T, O, He);
|
|
@@ -105109,7 +105113,7 @@ function B7e() {
|
|
|
105109
105113
|
} else bi(T, O, He);
|
|
105110
105114
|
}
|
|
105111
105115
|
else if (typeof V == "string") {
|
|
105112
|
-
switch (He = O.blockedSegment, Be = st(He.chunks, V, ie, T.responseState, He.formatContext), He.lastPushedText = !1,
|
|
105116
|
+
switch (He = O.blockedSegment, Be = st(He.chunks, V, ie, T.responseState, He.formatContext), He.lastPushedText = !1, et = He.formatContext, He.formatContext = Oe(et, V, ie), vs(T, O, Be), He.formatContext = et, V) {
|
|
105113
105117
|
case "area":
|
|
105114
105118
|
case "base":
|
|
105115
105119
|
case "br":
|
|
@@ -105146,8 +105150,8 @@ function B7e() {
|
|
|
105146
105150
|
throw Error(t(343));
|
|
105147
105151
|
case Fl:
|
|
105148
105152
|
e: {
|
|
105149
|
-
V = O.blockedBoundary, He = O.blockedSegment, Be = ie.fallback, ie = ie.children,
|
|
105150
|
-
var vt = { id: null, rootSegmentID: -1, parentFlushed: !1, pendingTasks: 0, forceClientRender: !1, completedSegments: [], byteSize: 0, fallbackAbortableTasks:
|
|
105153
|
+
V = O.blockedBoundary, He = O.blockedSegment, Be = ie.fallback, ie = ie.children, et = /* @__PURE__ */ new Set();
|
|
105154
|
+
var vt = { id: null, rootSegmentID: -1, parentFlushed: !1, pendingTasks: 0, forceClientRender: !1, completedSegments: [], byteSize: 0, fallbackAbortableTasks: et, errorDigest: null }, Nt = ii(T, He.chunks.length, vt, He.formatContext, !1, !1);
|
|
105151
105155
|
He.children.push(Nt), He.lastPushedText = !1;
|
|
105152
105156
|
var Er = ii(T, 0, null, He.formatContext, !1, !1);
|
|
105153
105157
|
Er.parentFlushed = !0, O.blockedBoundary = vt, O.blockedSegment = Er;
|
|
@@ -105162,7 +105166,7 @@ function B7e() {
|
|
|
105162
105166
|
} finally {
|
|
105163
105167
|
O.blockedBoundary = V, O.blockedSegment = He;
|
|
105164
105168
|
}
|
|
105165
|
-
O = zh(T, Be, V, Nt,
|
|
105169
|
+
O = zh(T, Be, V, Nt, et, O.legacyContext, O.context, O.treeContext), T.pingedTasks.push(O);
|
|
105166
105170
|
}
|
|
105167
105171
|
return;
|
|
105168
105172
|
}
|
|
@@ -105181,7 +105185,7 @@ function B7e() {
|
|
|
105181
105185
|
V = V.type, ie = tc(V, ie), Zu(T, O, V, ie, He);
|
|
105182
105186
|
return;
|
|
105183
105187
|
case Vc:
|
|
105184
|
-
if (He = ie.children, V = V._context, ie = ie.value, Be = V._currentValue, V._currentValue = ie,
|
|
105188
|
+
if (He = ie.children, V = V._context, ie = ie.value, Be = V._currentValue, V._currentValue = ie, et = mr, mr = ie = { parent: et, depth: et === null ? 0 : et.depth + 1, context: V, parentValue: Be, value: ie }, O.context = ie, bi(T, O, He), T = mr, T === null) throw Error(t(403));
|
|
105185
105189
|
ie = T.parentValue, T.context._currentValue = ie === Fe ? T.context._defaultValue : ie, T = mr = T.parent, O.context = T;
|
|
105186
105190
|
return;
|
|
105187
105191
|
case gs:
|
|
@@ -105247,8 +105251,8 @@ function B7e() {
|
|
|
105247
105251
|
} catch (Nt) {
|
|
105248
105252
|
if (tn(), typeof Nt == "object" && Nt !== null && typeof Nt.then == "function") {
|
|
105249
105253
|
V = Nt;
|
|
105250
|
-
var
|
|
105251
|
-
|
|
105254
|
+
var et = O.blockedSegment, vt = ii(T, et.chunks.length, null, et.formatContext, et.lastPushedText, !0);
|
|
105255
|
+
et.children.push(vt), et.lastPushedText = !1, T = zh(T, O.node, O.blockedBoundary, vt, O.abortSet, O.legacyContext, O.context, O.treeContext).ping, V.then(T, T), O.blockedSegment.formatContext = ie, O.legacyContext = He, O.context = Be, xi(Be);
|
|
105252
105256
|
} else throw O.blockedSegment.formatContext = ie, O.legacyContext = He, O.context = Be, xi(Be), Nt;
|
|
105253
105257
|
}
|
|
105254
105258
|
}
|
|
@@ -105287,18 +105291,18 @@ function B7e() {
|
|
|
105287
105291
|
try {
|
|
105288
105292
|
var He = T.pingedTasks, Be;
|
|
105289
105293
|
for (Be = 0; Be < He.length; Be++) {
|
|
105290
|
-
var
|
|
105294
|
+
var et = He[Be], vt = T, Nt = et.blockedSegment;
|
|
105291
105295
|
if (Nt.status === 0) {
|
|
105292
|
-
xi(
|
|
105296
|
+
xi(et.context);
|
|
105293
105297
|
try {
|
|
105294
|
-
bi(vt,
|
|
105298
|
+
bi(vt, et, et.node), Nt.lastPushedText && Nt.textEmbedded && Nt.chunks.push(H), et.abortSet.delete(et), Nt.status = 1, Zv(vt, et.blockedBoundary, Nt);
|
|
105295
105299
|
} catch (Xo) {
|
|
105296
105300
|
if (tn(), typeof Xo == "object" && Xo !== null && typeof Xo.then == "function") {
|
|
105297
|
-
var Er =
|
|
105301
|
+
var Er = et.ping;
|
|
105298
105302
|
Xo.then(Er, Er);
|
|
105299
105303
|
} else {
|
|
105300
|
-
|
|
105301
|
-
var yr =
|
|
105304
|
+
et.abortSet.delete(et), Nt.status = 4;
|
|
105305
|
+
var yr = et.blockedBoundary, Ln = Xo, Fi = vf(vt, Ln);
|
|
105302
105306
|
if (yr === null ? Si(vt, Ln) : (yr.pendingTasks--, yr.forceClientRender || (yr.forceClientRender = !0, yr.errorDigest = Fi, yr.parentFlushed && vt.clientRenderedBoundaries.push(yr))), vt.allPendingTasks--, vt.allPendingTasks === 0) {
|
|
105303
105307
|
var Yo = vt.onAllReady;
|
|
105304
105308
|
Yo();
|
|
@@ -105327,8 +105331,8 @@ function B7e() {
|
|
|
105327
105331
|
ie = V.chunks;
|
|
105328
105332
|
var Be = 0;
|
|
105329
105333
|
V = V.children;
|
|
105330
|
-
for (var
|
|
105331
|
-
for (He = V[
|
|
105334
|
+
for (var et = 0; et < V.length; et++) {
|
|
105335
|
+
for (He = V[et]; Be < He.index; Be++) a(O, ie[Be]);
|
|
105332
105336
|
He = xf(T, O, He);
|
|
105333
105337
|
}
|
|
105334
105338
|
for (; Be < ie.length - 1; Be++) a(O, ie[Be]);
|
|
@@ -105381,9 +105385,9 @@ function B7e() {
|
|
|
105381
105385
|
}
|
|
105382
105386
|
var He = T.clientRenderedBoundaries, Be;
|
|
105383
105387
|
for (Be = 0; Be < He.length; Be++) {
|
|
105384
|
-
var
|
|
105388
|
+
var et = He[Be];
|
|
105385
105389
|
ie = O;
|
|
105386
|
-
var vt = T.responseState, Nt =
|
|
105390
|
+
var vt = T.responseState, Nt = et.id, Er = et.errorDigest, yr = et.errorMessage, Ln = et.errorComponentStack;
|
|
105387
105391
|
if (a(ie, vt.startInlineScript), vt.sentClientRenderFunction ? a(ie, Tt) : (vt.sentClientRenderFunction = !0, a(
|
|
105388
105392
|
ie,
|
|
105389
105393
|
mt
|
|
@@ -105398,11 +105402,11 @@ function B7e() {
|
|
|
105398
105402
|
for (Be = 0; Be < Yo.length; Be++) {
|
|
105399
105403
|
var Xo = Yo[Be];
|
|
105400
105404
|
e: {
|
|
105401
|
-
He = T,
|
|
105405
|
+
He = T, et = O;
|
|
105402
105406
|
var Xh = Xo.completedSegments;
|
|
105403
105407
|
for (vt = 0; vt < Xh.length; vt++) if (!Qv(
|
|
105404
105408
|
He,
|
|
105405
|
-
|
|
105409
|
+
et,
|
|
105406
105410
|
Xo,
|
|
105407
105411
|
Xh[vt]
|
|
105408
105412
|
)) {
|
|
@@ -105437,7 +105441,7 @@ function B7e() {
|
|
|
105437
105441
|
}
|
|
105438
105442
|
return $S.renderToReadableStream = function(T, O) {
|
|
105439
105443
|
return new Promise(function(V, ie) {
|
|
105440
|
-
var He, Be,
|
|
105444
|
+
var He, Be, et = new Promise(function(yr, Ln) {
|
|
105441
105445
|
Be = yr, He = Ln;
|
|
105442
105446
|
}), vt = Yv(T, be(O ? O.identifierPrefix : void 0, O ? O.nonce : void 0, O ? O.bootstrapScriptContent : void 0, O ? O.bootstrapScripts : void 0, O ? O.bootstrapModules : void 0), le(O ? O.namespaceURI : void 0), O ? O.progressiveChunkSize : void 0, O ? O.onError : void 0, Be, function() {
|
|
105443
105447
|
var yr = new ReadableStream({ type: "bytes", pull: function(Ln) {
|
|
@@ -105453,9 +105457,9 @@ function B7e() {
|
|
|
105453
105457
|
}, cancel: function() {
|
|
105454
105458
|
yg(vt);
|
|
105455
105459
|
} }, { highWaterMark: 0 });
|
|
105456
|
-
yr.allReady =
|
|
105460
|
+
yr.allReady = et, V(yr);
|
|
105457
105461
|
}, function(yr) {
|
|
105458
|
-
|
|
105462
|
+
et.catch(function() {
|
|
105459
105463
|
}), ie(yr);
|
|
105460
105464
|
}, He);
|
|
105461
105465
|
if (O && O.signal) {
|