@invoice-sdk/widget 1.34.2 → 1.35.0
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.
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
var
|
|
2
|
-
var
|
|
1
|
+
var OE = Object.defineProperty, GE = Object.defineProperties;
|
|
2
|
+
var FE = Object.getOwnPropertyDescriptors;
|
|
3
3
|
var zg = Object.getOwnPropertySymbols;
|
|
4
4
|
var VB = Object.prototype.hasOwnProperty, $B = Object.prototype.propertyIsEnumerable;
|
|
5
|
-
var Ig = (g, A) => (A = Symbol[g]) ? A : Symbol.for("Symbol." + g),
|
|
5
|
+
var Ig = (g, A) => (A = Symbol[g]) ? A : Symbol.for("Symbol." + g), yE = (g) => {
|
|
6
6
|
throw TypeError(g);
|
|
7
7
|
};
|
|
8
|
-
var WB = (g, A, C) => A in g ?
|
|
8
|
+
var WB = (g, A, C) => A in g ? OE(g, A, { enumerable: !0, configurable: !0, writable: !0, value: C }) : g[A] = C, L = (g, A) => {
|
|
9
9
|
for (var C in A || (A = {}))
|
|
10
10
|
VB.call(A, C) && WB(g, C, A[C]);
|
|
11
11
|
if (zg)
|
|
12
12
|
for (var C of zg(A))
|
|
13
13
|
$B.call(A, C) && WB(g, C, A[C]);
|
|
14
14
|
return g;
|
|
15
|
-
}, iA = (g, A) =>
|
|
15
|
+
}, iA = (g, A) => GE(g, FE(A));
|
|
16
16
|
var gC = (g, A) => {
|
|
17
17
|
var C = {};
|
|
18
18
|
for (var B in g)
|
|
@@ -60,14 +60,14 @@ var X = (g, A, C) => new Promise((B, Q) => {
|
|
|
60
60
|
done: !1,
|
|
61
61
|
value: new VA(new Promise((n) => {
|
|
62
62
|
var t = A[I](E);
|
|
63
|
-
t instanceof Object ||
|
|
63
|
+
t instanceof Object || yE("Object expected"), n(t);
|
|
64
64
|
}), 1)
|
|
65
65
|
};
|
|
66
66
|
}), Q[Ig("iterator")] = () => Q, B("next"), "throw" in A ? B("throw") : Q.throw = (I) => {
|
|
67
67
|
throw I;
|
|
68
68
|
}, "return" in A && B("return"), Q;
|
|
69
69
|
}, _B = (g, A, C) => (A = g[Ig("asyncIterator")]) ? A.call(g) : (g = g[Ig("iterator")](), A = {}, C = (B, Q) => (Q = g[B]) && (A[B] = (I) => new Promise((E, n, t) => (I = Q.call(g, I), t = I.done, Promise.resolve(I.value).then((e) => E({ value: e, done: t }), n)))), C("next"), C("return"), A);
|
|
70
|
-
function
|
|
70
|
+
function mE({ steps: g = [], currentStep: A = 1 } = {}) {
|
|
71
71
|
const C = document.createElement("div");
|
|
72
72
|
C.className = [
|
|
73
73
|
"wgt:relative",
|
|
@@ -137,11 +137,11 @@ const T = (g) => typeof g == "string", ug = () => {
|
|
|
137
137
|
g = B, A = Q;
|
|
138
138
|
});
|
|
139
139
|
return C.resolve = g, C.reject = A, C;
|
|
140
|
-
}, AQ = (g) => g == null ? "" : "" + g,
|
|
140
|
+
}, AQ = (g) => g == null ? "" : "" + g, qE = (g, A, C) => {
|
|
141
141
|
g.forEach((B) => {
|
|
142
142
|
A[B] && (C[B] = A[B]);
|
|
143
143
|
});
|
|
144
|
-
},
|
|
144
|
+
}, LE = /###/g, gQ = (g) => g && g.indexOf("###") > -1 ? g.replace(LE, ".") : g, CQ = (g) => !g || T(g), vg = (g, A, C) => {
|
|
145
145
|
const B = T(A) ? A.split(".") : A;
|
|
146
146
|
let Q = 0;
|
|
147
147
|
for (; Q < B.length - 1; ) {
|
|
@@ -166,7 +166,7 @@ const T = (g) => typeof g == "string", ug = () => {
|
|
|
166
166
|
for (; n.obj === void 0 && E.length; )
|
|
167
167
|
I = `${E[E.length - 1]}.${I}`, E = E.slice(0, E.length - 1), n = vg(g, E, Object), n != null && n.obj && typeof n.obj[`${n.k}.${I}`] != "undefined" && (n.obj = void 0);
|
|
168
168
|
n.obj[`${n.k}.${I}`] = C;
|
|
169
|
-
},
|
|
169
|
+
}, jE = (g, A, C, B) => {
|
|
170
170
|
const {
|
|
171
171
|
obj: Q,
|
|
172
172
|
k: I
|
|
@@ -179,7 +179,7 @@ const T = (g) => typeof g == "string", ug = () => {
|
|
|
179
179
|
} = vg(g, A);
|
|
180
180
|
if (C && Object.prototype.hasOwnProperty.call(C, B))
|
|
181
181
|
return C[B];
|
|
182
|
-
},
|
|
182
|
+
}, bE = (g, A, C) => {
|
|
183
183
|
const B = qg(g, C);
|
|
184
184
|
return B !== void 0 ? B : qg(A, C);
|
|
185
185
|
}, LI = (g, A, C) => {
|
|
@@ -187,7 +187,7 @@ const T = (g) => typeof g == "string", ug = () => {
|
|
|
187
187
|
B !== "__proto__" && B !== "constructor" && (B in g ? T(g[B]) || g[B] instanceof String || T(A[B]) || A[B] instanceof String ? C && (g[B] = A[B]) : LI(g[B], A[B], C) : g[B] = A[B]);
|
|
188
188
|
return g;
|
|
189
189
|
}, Eg = (g) => g.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g, "\\$&");
|
|
190
|
-
var
|
|
190
|
+
var KE = {
|
|
191
191
|
"&": "&",
|
|
192
192
|
"<": "<",
|
|
193
193
|
">": ">",
|
|
@@ -195,8 +195,8 @@ var NE = {
|
|
|
195
195
|
"'": "'",
|
|
196
196
|
"/": "/"
|
|
197
197
|
};
|
|
198
|
-
const
|
|
199
|
-
class
|
|
198
|
+
const NE = (g) => T(g) ? g.replace(/[&<>"'\/]/g, (A) => KE[A]) : g;
|
|
199
|
+
class XE {
|
|
200
200
|
constructor(A) {
|
|
201
201
|
this.capacity = A, this.regExpMap = /* @__PURE__ */ new Map(), this.regExpQueue = [];
|
|
202
202
|
}
|
|
@@ -208,11 +208,11 @@ class TE {
|
|
|
208
208
|
return this.regExpQueue.length === this.capacity && this.regExpMap.delete(this.regExpQueue.shift()), this.regExpMap.set(A, B), this.regExpQueue.push(A), B;
|
|
209
209
|
}
|
|
210
210
|
}
|
|
211
|
-
const
|
|
211
|
+
const TE = [" ", ",", "?", "!", ";"], xE = new XE(20), SE = (g, A, C) => {
|
|
212
212
|
A = A || "", C = C || "";
|
|
213
|
-
const B =
|
|
213
|
+
const B = TE.filter((E) => A.indexOf(E) < 0 && C.indexOf(E) < 0);
|
|
214
214
|
if (B.length === 0) return !0;
|
|
215
|
-
const Q =
|
|
215
|
+
const Q = xE.getRegExp(`(${B.map((E) => E === "?" ? "\\?" : E).join("|")})`);
|
|
216
216
|
let I = !Q.test(g);
|
|
217
217
|
if (!I) {
|
|
218
218
|
const E = g.indexOf(C);
|
|
@@ -239,7 +239,7 @@ const xE = [" ", ",", "?", "!", ";"], SE = new TE(20), pE = (g, A, C) => {
|
|
|
239
239
|
Q = E;
|
|
240
240
|
}
|
|
241
241
|
return Q;
|
|
242
|
-
}, dg = (g) => g == null ? void 0 : g.replace("_", "-"),
|
|
242
|
+
}, dg = (g) => g == null ? void 0 : g.replace("_", "-"), pE = {
|
|
243
243
|
type: "logger",
|
|
244
244
|
log(g) {
|
|
245
245
|
this.output("log", g);
|
|
@@ -260,7 +260,7 @@ class Lg {
|
|
|
260
260
|
this.init(A, C);
|
|
261
261
|
}
|
|
262
262
|
init(A, C = {}) {
|
|
263
|
-
this.prefix = C.prefix || "i18next:", this.logger = A ||
|
|
263
|
+
this.prefix = C.prefix || "i18next:", this.logger = A || pE, this.options = C, this.debug = C.debug;
|
|
264
264
|
}
|
|
265
265
|
log(...A) {
|
|
266
266
|
return this.forward(A, "log", "", !0);
|
|
@@ -399,7 +399,7 @@ var jI = {
|
|
|
399
399
|
const IQ = {}, EQ = (g) => !T(g) && typeof g != "boolean" && typeof g != "number";
|
|
400
400
|
class jg extends xg {
|
|
401
401
|
constructor(A, C = {}) {
|
|
402
|
-
super(),
|
|
402
|
+
super(), qE(["resourceStore", "languageUtils", "pluralResolver", "interpolator", "backendConnector", "i18nFormat", "utils"], A, this), this.options = C, this.options.keySeparator === void 0 && (this.options.keySeparator = "."), this.logger = LA.create("translator");
|
|
403
403
|
}
|
|
404
404
|
changeLanguage(A) {
|
|
405
405
|
A && (this.language = A);
|
|
@@ -417,7 +417,7 @@ class jg extends xg {
|
|
|
417
417
|
B === void 0 && (B = ":");
|
|
418
418
|
const Q = C.keySeparator !== void 0 ? C.keySeparator : this.options.keySeparator;
|
|
419
419
|
let I = C.ns || this.options.defaultNS || [];
|
|
420
|
-
const E = B && A.indexOf(B) > -1, n = !this.options.userDefinedKeySeparator && !C.keySeparator && !this.options.userDefinedNsSeparator && !C.nsSeparator && !
|
|
420
|
+
const E = B && A.indexOf(B) > -1, n = !this.options.userDefinedKeySeparator && !C.keySeparator && !this.options.userDefinedNsSeparator && !C.nsSeparator && !SE(A, B, Q);
|
|
421
421
|
if (E && !n) {
|
|
422
422
|
const t = A.match(this.interpolator.nestingRegexp);
|
|
423
423
|
if (t && t.length > 0)
|
|
@@ -699,7 +699,7 @@ const tQ = {
|
|
|
699
699
|
pluralCategories: ["one", "other"]
|
|
700
700
|
})
|
|
701
701
|
};
|
|
702
|
-
class
|
|
702
|
+
class UE {
|
|
703
703
|
constructor(A, C = {}) {
|
|
704
704
|
this.languageUtils = A, this.options = C, this.logger = LA.create("pluralResolver"), this.pluralRulesCache = {};
|
|
705
705
|
}
|
|
@@ -747,10 +747,10 @@ class ZE {
|
|
|
747
747
|
}
|
|
748
748
|
}
|
|
749
749
|
const iQ = (g, A, C, B = ".", Q = !0) => {
|
|
750
|
-
let I =
|
|
750
|
+
let I = bE(g, A, C);
|
|
751
751
|
return !I && Q && T(C) && (I = $C(g, C, B), I === void 0 && (I = $C(A, C, B))), I;
|
|
752
752
|
}, QC = (g) => g.replace(/\$/g, "$$$$");
|
|
753
|
-
class
|
|
753
|
+
class ZE {
|
|
754
754
|
constructor(A = {}) {
|
|
755
755
|
var C;
|
|
756
756
|
this.logger = LA.create("interpolator"), this.options = A, this.format = ((C = A == null ? void 0 : A.interpolation) == null ? void 0 : C.format) || ((B) => B), this.init(A);
|
|
@@ -778,7 +778,7 @@ class WE {
|
|
|
778
778
|
maxReplaces: d,
|
|
779
779
|
alwaysFormat: u
|
|
780
780
|
} = A.interpolation;
|
|
781
|
-
this.escape = C !== void 0 ? C :
|
|
781
|
+
this.escape = C !== void 0 ? C : NE, this.escapeValue = B !== void 0 ? B : !0, this.useRawValueToEscape = Q !== void 0 ? Q : !1, this.prefix = I ? Eg(I) : E || "{{", this.suffix = n ? Eg(n) : t || "}}", this.formatSeparator = e || ",", this.unescapePrefix = i ? "" : w || "-", this.unescapeSuffix = this.unescapePrefix ? "" : i || "", this.nestingPrefix = r ? Eg(r) : o || Eg("$t("), this.nestingSuffix = D ? Eg(D) : c || Eg(")"), this.nestingOptionsSeparator = M || ",", this.maxReplaces = d || 1e3, this.alwaysFormat = u !== void 0 ? u : !1, this.resetRegExp();
|
|
782
782
|
}
|
|
783
783
|
reset() {
|
|
784
784
|
this.options && this.init(this.options);
|
|
@@ -865,7 +865,7 @@ class WE {
|
|
|
865
865
|
return A;
|
|
866
866
|
}
|
|
867
867
|
}
|
|
868
|
-
const
|
|
868
|
+
const WE = (g) => {
|
|
869
869
|
let A = g.toLowerCase().trim();
|
|
870
870
|
const C = {};
|
|
871
871
|
if (g.indexOf("(") > -1) {
|
|
@@ -894,8 +894,8 @@ const VE = (g) => {
|
|
|
894
894
|
let n = A[E];
|
|
895
895
|
return n || (n = g(dg(B), Q), A[E] = n), n(C);
|
|
896
896
|
};
|
|
897
|
-
},
|
|
898
|
-
class
|
|
897
|
+
}, VE = (g) => (A, C, B) => g(dg(C), B)(A);
|
|
898
|
+
class $E {
|
|
899
899
|
constructor(A = {}) {
|
|
900
900
|
this.logger = LA.create("formatter"), this.options = A, this.init(A);
|
|
901
901
|
}
|
|
@@ -903,7 +903,7 @@ class _E {
|
|
|
903
903
|
interpolation: {}
|
|
904
904
|
}) {
|
|
905
905
|
this.formatSeparator = C.interpolation.formatSeparator || ",";
|
|
906
|
-
const B = C.cacheInBuiltFormats ? wQ :
|
|
906
|
+
const B = C.cacheInBuiltFormats ? wQ : VE;
|
|
907
907
|
this.formats = {
|
|
908
908
|
number: B((Q, I) => {
|
|
909
909
|
const E = new Intl.NumberFormat(Q, L({}, I));
|
|
@@ -946,7 +946,7 @@ class _E {
|
|
|
946
946
|
const {
|
|
947
947
|
formatName: e,
|
|
948
948
|
formatOptions: i
|
|
949
|
-
} =
|
|
949
|
+
} = WE(t);
|
|
950
950
|
if (this.formats[e]) {
|
|
951
951
|
let r = n;
|
|
952
952
|
try {
|
|
@@ -962,10 +962,10 @@ class _E {
|
|
|
962
962
|
}, A);
|
|
963
963
|
}
|
|
964
964
|
}
|
|
965
|
-
const
|
|
965
|
+
const _E = (g, A) => {
|
|
966
966
|
g.pending[A] !== void 0 && (delete g.pending[A], g.pendingCount--);
|
|
967
967
|
};
|
|
968
|
-
class
|
|
968
|
+
class An extends xg {
|
|
969
969
|
constructor(A, C, B, Q = {}) {
|
|
970
970
|
var I, E;
|
|
971
971
|
super(), this.backend = A, this.store = C, this.services = B, this.languageUtils = B.languageUtils, this.options = Q, this.logger = LA.create("backendConnector"), this.waitingReads = [], this.maxParallelReads = Q.maxParallelReads || 10, this.readingCalls = 0, this.maxRetries = Q.maxRetries >= 0 ? Q.maxRetries : 5, this.retryTimeout = Q.retryTimeout >= 1 ? Q.retryTimeout : 350, this.state = {}, this.queue = [], (E = (I = this.backend) == null ? void 0 : I.init) == null || E.call(I, B, Q.backend, Q);
|
|
@@ -998,7 +998,7 @@ class gn extends xg {
|
|
|
998
998
|
}), this.state[A] = C ? -1 : 2, C && B && (this.state[A] = 0);
|
|
999
999
|
const n = {};
|
|
1000
1000
|
this.queue.forEach((t) => {
|
|
1001
|
-
|
|
1001
|
+
jE(t.loaded, [I], E), _E(t, A), C && t.errors.push(C), t.pendingCount === 0 && !t.done && (Object.keys(t.loaded).forEach((e) => {
|
|
1002
1002
|
n[e] || (n[e] = {});
|
|
1003
1003
|
const i = t.loaded[e];
|
|
1004
1004
|
i.length && i.forEach((w) => {
|
|
@@ -1157,7 +1157,7 @@ const oQ = () => ({
|
|
|
1157
1157
|
var A, C;
|
|
1158
1158
|
return T(g.ns) && (g.ns = [g.ns]), T(g.fallbackLng) && (g.fallbackLng = [g.fallbackLng]), T(g.fallbackNS) && (g.fallbackNS = [g.fallbackNS]), ((C = (A = g.supportedLngs) == null ? void 0 : A.indexOf) == null ? void 0 : C.call(A, "cimode")) < 0 && (g.supportedLngs = g.supportedLngs.concat(["cimode"])), typeof g.initImmediate == "boolean" && (g.initAsync = g.initImmediate), g;
|
|
1159
1159
|
}, lg = () => {
|
|
1160
|
-
},
|
|
1160
|
+
}, gn = (g) => {
|
|
1161
1161
|
Object.getOwnPropertyNames(Object.getPrototypeOf(g)).forEach((C) => {
|
|
1162
1162
|
typeof g[C] == "function" && (g[C] = g[C].bind(g));
|
|
1163
1163
|
});
|
|
@@ -1166,7 +1166,7 @@ class Pg extends xg {
|
|
|
1166
1166
|
constructor(A = {}, C) {
|
|
1167
1167
|
if (super(), this.options = rQ(A), this.services = {}, this.logger = LA, this.modules = {
|
|
1168
1168
|
external: []
|
|
1169
|
-
},
|
|
1169
|
+
}, gn(this), C && !this.isInitialized && !A.isClone) {
|
|
1170
1170
|
if (!this.options.initAsync)
|
|
1171
1171
|
return this.init(A, C), this;
|
|
1172
1172
|
setTimeout(() => {
|
|
@@ -1182,16 +1182,16 @@ class Pg extends xg {
|
|
|
1182
1182
|
if (!this.options.isClone) {
|
|
1183
1183
|
this.modules.logger ? LA.init(Q(this.modules.logger), this.options) : LA.init(null, this.options);
|
|
1184
1184
|
let e;
|
|
1185
|
-
this.modules.formatter ? e = this.modules.formatter : e =
|
|
1185
|
+
this.modules.formatter ? e = this.modules.formatter : e = $E;
|
|
1186
1186
|
const i = new nQ(this.options);
|
|
1187
1187
|
this.store = new QQ(this.options.resources, this.options);
|
|
1188
1188
|
const w = this.services;
|
|
1189
|
-
w.logger = LA, w.resourceStore = this.store, w.languageUtils = i, w.pluralResolver = new
|
|
1189
|
+
w.logger = LA, w.resourceStore = this.store, w.languageUtils = i, w.pluralResolver = new UE(i, {
|
|
1190
1190
|
prepend: this.options.pluralSeparator,
|
|
1191
1191
|
simplifyPluralSuffix: this.options.simplifyPluralSuffix
|
|
1192
|
-
}), e && (!this.options.interpolation.format || this.options.interpolation.format === B.interpolation.format) && (w.formatter = Q(e), w.formatter.init(w, this.options), this.options.interpolation.format = w.formatter.format.bind(w.formatter)), w.interpolator = new
|
|
1192
|
+
}), e && (!this.options.interpolation.format || this.options.interpolation.format === B.interpolation.format) && (w.formatter = Q(e), w.formatter.init(w, this.options), this.options.interpolation.format = w.formatter.format.bind(w.formatter)), w.interpolator = new ZE(this.options), w.utils = {
|
|
1193
1193
|
hasLoadedNamespace: this.hasLoadedNamespace.bind(this)
|
|
1194
|
-
}, w.backendConnector = new
|
|
1194
|
+
}, w.backendConnector = new An(Q(this.modules.backend), w.resourceStore, w, this.options), w.backendConnector.on("*", (r, ...o) => {
|
|
1195
1195
|
this.emit(r, ...o);
|
|
1196
1196
|
}), this.modules.languageDetector && (w.languageDetector = Q(this.modules.languageDetector), w.languageDetector.init && w.languageDetector.init(w, this.options.detection, this.options)), this.modules.i18nFormat && (w.i18nFormat = Q(this.modules.i18nFormat), w.i18nFormat.init && w.i18nFormat.init(this)), this.translator = new jg(this.services, this.options), this.translator.on("*", (r, ...o) => {
|
|
1197
1197
|
this.emit(r, ...o);
|
|
@@ -1385,347 +1385,347 @@ aA.setDefaultNamespace;
|
|
|
1385
1385
|
aA.hasLoadedNamespace;
|
|
1386
1386
|
aA.loadNamespaces;
|
|
1387
1387
|
aA.loadLanguages;
|
|
1388
|
-
const
|
|
1389
|
-
accountName:
|
|
1390
|
-
accountNumber:
|
|
1391
|
-
address:
|
|
1392
|
-
agreeWith:
|
|
1393
|
-
and:
|
|
1394
|
-
back:
|
|
1395
|
-
backIdCard:
|
|
1396
|
-
bankName:
|
|
1397
|
-
beneficiaryBank:
|
|
1398
|
-
businessLicense:
|
|
1399
|
-
cancel:
|
|
1400
|
-
cancelTransaction:
|
|
1401
|
-
close:
|
|
1402
|
-
codeTypeC:
|
|
1403
|
-
codeTypeK:
|
|
1404
|
-
codeTypeTooltip:
|
|
1405
|
-
companyName:
|
|
1406
|
-
completePaymentIn:
|
|
1407
|
-
confirm:
|
|
1408
|
-
confirmationTitle:
|
|
1409
|
-
contactInfo:
|
|
1410
|
-
copy:
|
|
1411
|
-
country:
|
|
1412
|
-
customLettersTooltip:
|
|
1413
|
-
customUnits:
|
|
1414
|
-
dateOfBirth:
|
|
1415
|
-
decrease:
|
|
1388
|
+
const Cn = "Account Name", Bn = "Account Number", Qn = "Unit Address", In = "I agree with", En = "and", nn = "Back", tn = "Back ID Card", en = "Bank Name", wn = "Beneficiary Bank", on = "Business Registration License", rn = "Cancel", Dn = "Cancel Transaction", cn = "Close", sn = "C (With tax authority code)", fn = "K (Without code)", un = "C: With tax authority code, K: Without code", Mn = "Unit Name", an = "Complete your payment within", hn = "Confirm", vn = "Important Notice:", dn = "3. Contact Person Information:", Pn = "Copy", Jn = "Country", Rn = "2 custom characters (default: YY)", kn = "Custom quantity", Yn = "Date of Birth", Hn = "Decrease", zn = "Digital Signature Package", ln = "District", On = "Duration", Gn = "E-Contract", Fn = "Edit", yn = "electronic invoices", mn = "Email", qn = "Enter ID Card Number", Ln = "Enter Invoice Symbol", jn = "Enter Passport Number", bn = "Enter Provider Name", Kn = "Enter Tax Authority Code", Nn = "Error fetching tax information.", Xn = "File format not supported", Tn = "File size is too large", xn = "Invalid date of birth", Sn = "Invalid email address", pn = "Invalid ID card number", Un = "Only letters, numbers and underscores allowed", Zn = "Invalid phone number", Wn = "Invalid tax code", Vn = "Network connection error", $n = "This field is required", _n = "An error occurred", At = "Female", gt = "Format", Ct = "Front ID Card", Bt = "Full Name", Qt = "Gender", It = "Have you used electronic invoices?", Et = "Are you using another e-invoice provider other than M-invoice?", nt = "(Free Consulting and Support Hotline)", tt = "Hotline:", et = "ID Card Number", it = "Increase", wt = "Information Sent", ot = "Invoice Package", rt = "Invoice Symbol", Dt = "Invoice Template", ct = { 1: "1 (VAT Invoice)", 2: "2 (Sales Invoice)", 3: "3 (Public Asset Sales)", 4: "4 (National Reserve Sales)", 5: "5 (Stamps, Tickets, Other Cards)", 6: "6 (Internal Documents)", 7: "7 (Commercial Invoice)", 8: "8 (VAT with Integrated Tax)", 9: "9 (Sales with Integrated Tax)" }, st = "B (Agent)", ft = "D (Asset)", ut = "G (VAT Stamp)", Mt = "H (Sales Stamp)", at = "L (Tax Authority)", ht = "M (Cash Register)", vt = "N (Internal)", dt = "T (Registration)", Pt = "Invoice type", Jt = "X (Commercial)", Rt = "4. E-INVOICE USAGE INFORMATION:", kt = "invoices/month", Yt = "2. Legal Representative Information:", Ht = "Please check and enter the correct legal representative name according to the uploaded business license.", zt = "Male", lt = "Max 500KB", Ot = "Month", Gt = "Most Suitable Package", Ft = "Continue", yt = "No package found.", mt = "Please check your email regularly for notifications/account information from the provider.", qt = "Please wait 1-2 business days for the registration process to complete.", Lt = "After being granted an account, please go to the settings section in the menu bar to connect and use the service.", jt = "of", bt = "OK", Kt = "Optional", Nt = "or", Xt = "Order created successfully", Tt = "Order has expired", xt = "Order Information", St = "Order Summary", pt = "Organization Registration Certificate", Ut = "Passport", Zt = "Payment Amount", Wt = "Payment Failed", Vt = ["Open your banking app or digital wallet on your phone", "Select the QR Code scan feature in the app", "Scan the QR code on this page and make payment"], $t = "QR Payment Instructions", _t = "Payment Method:", Ae = "Payment Successful!", ge = "Payment timeout", Ce = "Payment timeout! Please try again.", Be = "Payment", Qe = "Permanent address", Ie = "Phone Number", Ee = "Product", ne = "Provider", te = "Provider Name", ee = "Province/City", ie = "QR Code Payment", we = "Scan QR Code to Pay", oe = "Quantity", re = "Registration complete", De = "Registration Fee", ce = "Required", se = "Return Home", fe = "Return to step 1", ue = "Invoice template number (1-9)", Me = "Save", ae = "Units per month", he = "Select File", ve = "Select E-Invoice Package", de = "Select Provider", Pe = "Select Digital Signature Package", Je = "Select Subscription Package", Re = "Selected Products", ke = "Digital Signature Package", Ye = "E-invoice software license", He = "Information", ze = "Confirmation & Payment", le = "Invoice Package", Oe = "Subscription Package", Ge = "Tax Authority", Fe = "5 characters issued by the Authority for cash register bills", ye = "Unit Tax Code", me = "Terms", qe = "Time Left", Le = "Total", je = "Total Amount", be = "Total Price", Ke = "Transaction has been canceled. Returning to registration page.", Ne = "Unit", Xe = "1. Unit Information", Te = "units/month", xe = "Unit Price", Se = "units/ month", pe = "Upload Back ID Card", Ue = "Upload File", Ze = "Upload Front ID Card", We = "Upload Logo", Ve = "Usage Policy", $e = "Ward", _e = "Electronic Invoice Registration", Ai = "Release year (last 2 digits)", gi = {
|
|
1389
|
+
accountName: Cn,
|
|
1390
|
+
accountNumber: Bn,
|
|
1391
|
+
address: Qn,
|
|
1392
|
+
agreeWith: In,
|
|
1393
|
+
and: En,
|
|
1394
|
+
back: nn,
|
|
1395
|
+
backIdCard: tn,
|
|
1396
|
+
bankName: en,
|
|
1397
|
+
beneficiaryBank: wn,
|
|
1398
|
+
businessLicense: on,
|
|
1399
|
+
cancel: rn,
|
|
1400
|
+
cancelTransaction: Dn,
|
|
1401
|
+
close: cn,
|
|
1402
|
+
codeTypeC: sn,
|
|
1403
|
+
codeTypeK: fn,
|
|
1404
|
+
codeTypeTooltip: un,
|
|
1405
|
+
companyName: Mn,
|
|
1406
|
+
completePaymentIn: an,
|
|
1407
|
+
confirm: hn,
|
|
1408
|
+
confirmationTitle: vn,
|
|
1409
|
+
contactInfo: dn,
|
|
1410
|
+
copy: Pn,
|
|
1411
|
+
country: Jn,
|
|
1412
|
+
customLettersTooltip: Rn,
|
|
1413
|
+
customUnits: kn,
|
|
1414
|
+
dateOfBirth: Yn,
|
|
1415
|
+
decrease: Hn,
|
|
1416
1416
|
delete: "Delete",
|
|
1417
|
-
digitalSignaturePackage:
|
|
1418
|
-
district:
|
|
1419
|
-
duration:
|
|
1420
|
-
eContractTitle:
|
|
1421
|
-
edit:
|
|
1422
|
-
electronicInvoices:
|
|
1423
|
-
email:
|
|
1424
|
-
enterIdCard:
|
|
1425
|
-
enterInvoiceSymbol:
|
|
1426
|
-
enterPassport:
|
|
1427
|
-
enterProviderName:
|
|
1428
|
-
enterTaxAuthorityCode:
|
|
1429
|
-
errorFetchTaxInfo:
|
|
1430
|
-
errorFileFormat:
|
|
1431
|
-
errorFileSize:
|
|
1432
|
-
errorInvalidDate:
|
|
1433
|
-
errorInvalidEmail:
|
|
1434
|
-
errorInvalidIdCard:
|
|
1435
|
-
errorInvalidName:
|
|
1436
|
-
errorInvalidPhone:
|
|
1437
|
-
errorInvalidTaxCode:
|
|
1438
|
-
errorNetwork:
|
|
1439
|
-
errorRequired:
|
|
1440
|
-
errorUnknown:
|
|
1441
|
-
female:
|
|
1442
|
-
fileFormat:
|
|
1443
|
-
frontIdCard:
|
|
1444
|
-
fullName:
|
|
1445
|
-
gender:
|
|
1446
|
-
hasUsedEInvoice:
|
|
1447
|
-
hasUsedEInvoiceBefore:
|
|
1448
|
-
hotlineDesc:
|
|
1449
|
-
hotlineDomestic:
|
|
1450
|
-
idNumber:
|
|
1451
|
-
increase:
|
|
1452
|
-
informationSent:
|
|
1453
|
-
invoicePackage:
|
|
1454
|
-
invoiceSymbol:
|
|
1455
|
-
invoiceTemplate:
|
|
1456
|
-
invoiceTemplateTypes:
|
|
1457
|
-
invoiceTypeB:
|
|
1458
|
-
invoiceTypeD:
|
|
1459
|
-
invoiceTypeG:
|
|
1460
|
-
invoiceTypeH:
|
|
1461
|
-
invoiceTypeL:
|
|
1462
|
-
invoiceTypeM:
|
|
1463
|
-
invoiceTypeN:
|
|
1464
|
-
invoiceTypeT:
|
|
1465
|
-
invoiceTypeTooltip:
|
|
1466
|
-
invoiceTypeX:
|
|
1467
|
-
invoiceUsageInfo:
|
|
1468
|
-
invoicesPerMonth:
|
|
1469
|
-
legalRepInfo:
|
|
1470
|
-
legalRepNote:
|
|
1471
|
-
male:
|
|
1472
|
-
maxFileSize:
|
|
1473
|
-
month:
|
|
1474
|
-
mostSuitablePackage:
|
|
1475
|
-
next:
|
|
1476
|
-
noPackageFound:
|
|
1477
|
-
notice1:
|
|
1478
|
-
notice2:
|
|
1479
|
-
notice3:
|
|
1480
|
-
of:
|
|
1481
|
-
ok:
|
|
1482
|
-
optional:
|
|
1483
|
-
or:
|
|
1484
|
-
orderCreated:
|
|
1485
|
-
orderExpired:
|
|
1486
|
-
orderInfo:
|
|
1487
|
-
orderSummary:
|
|
1488
|
-
organizationCert:
|
|
1417
|
+
digitalSignaturePackage: zn,
|
|
1418
|
+
district: ln,
|
|
1419
|
+
duration: On,
|
|
1420
|
+
eContractTitle: Gn,
|
|
1421
|
+
edit: Fn,
|
|
1422
|
+
electronicInvoices: yn,
|
|
1423
|
+
email: mn,
|
|
1424
|
+
enterIdCard: qn,
|
|
1425
|
+
enterInvoiceSymbol: Ln,
|
|
1426
|
+
enterPassport: jn,
|
|
1427
|
+
enterProviderName: bn,
|
|
1428
|
+
enterTaxAuthorityCode: Kn,
|
|
1429
|
+
errorFetchTaxInfo: Nn,
|
|
1430
|
+
errorFileFormat: Xn,
|
|
1431
|
+
errorFileSize: Tn,
|
|
1432
|
+
errorInvalidDate: xn,
|
|
1433
|
+
errorInvalidEmail: Sn,
|
|
1434
|
+
errorInvalidIdCard: pn,
|
|
1435
|
+
errorInvalidName: Un,
|
|
1436
|
+
errorInvalidPhone: Zn,
|
|
1437
|
+
errorInvalidTaxCode: Wn,
|
|
1438
|
+
errorNetwork: Vn,
|
|
1439
|
+
errorRequired: $n,
|
|
1440
|
+
errorUnknown: _n,
|
|
1441
|
+
female: At,
|
|
1442
|
+
fileFormat: gt,
|
|
1443
|
+
frontIdCard: Ct,
|
|
1444
|
+
fullName: Bt,
|
|
1445
|
+
gender: Qt,
|
|
1446
|
+
hasUsedEInvoice: It,
|
|
1447
|
+
hasUsedEInvoiceBefore: Et,
|
|
1448
|
+
hotlineDesc: nt,
|
|
1449
|
+
hotlineDomestic: tt,
|
|
1450
|
+
idNumber: et,
|
|
1451
|
+
increase: it,
|
|
1452
|
+
informationSent: wt,
|
|
1453
|
+
invoicePackage: ot,
|
|
1454
|
+
invoiceSymbol: rt,
|
|
1455
|
+
invoiceTemplate: Dt,
|
|
1456
|
+
invoiceTemplateTypes: ct,
|
|
1457
|
+
invoiceTypeB: st,
|
|
1458
|
+
invoiceTypeD: ft,
|
|
1459
|
+
invoiceTypeG: ut,
|
|
1460
|
+
invoiceTypeH: Mt,
|
|
1461
|
+
invoiceTypeL: at,
|
|
1462
|
+
invoiceTypeM: ht,
|
|
1463
|
+
invoiceTypeN: vt,
|
|
1464
|
+
invoiceTypeT: dt,
|
|
1465
|
+
invoiceTypeTooltip: Pt,
|
|
1466
|
+
invoiceTypeX: Jt,
|
|
1467
|
+
invoiceUsageInfo: Rt,
|
|
1468
|
+
invoicesPerMonth: kt,
|
|
1469
|
+
legalRepInfo: Yt,
|
|
1470
|
+
legalRepNote: Ht,
|
|
1471
|
+
male: zt,
|
|
1472
|
+
maxFileSize: lt,
|
|
1473
|
+
month: Ot,
|
|
1474
|
+
mostSuitablePackage: Gt,
|
|
1475
|
+
next: Ft,
|
|
1476
|
+
noPackageFound: yt,
|
|
1477
|
+
notice1: mt,
|
|
1478
|
+
notice2: qt,
|
|
1479
|
+
notice3: Lt,
|
|
1480
|
+
of: jt,
|
|
1481
|
+
ok: bt,
|
|
1482
|
+
optional: Kt,
|
|
1483
|
+
or: Nt,
|
|
1484
|
+
orderCreated: Xt,
|
|
1485
|
+
orderExpired: Tt,
|
|
1486
|
+
orderInfo: xt,
|
|
1487
|
+
orderSummary: St,
|
|
1488
|
+
organizationCert: pt,
|
|
1489
1489
|
package: "Package",
|
|
1490
|
-
passport:
|
|
1491
|
-
paymentAmount:
|
|
1492
|
-
paymentFailed:
|
|
1493
|
-
paymentInstructions:
|
|
1494
|
-
paymentInstructionsTitle:
|
|
1495
|
-
paymentMethod:
|
|
1496
|
-
paymentSuccess:
|
|
1497
|
-
paymentTimeout:
|
|
1498
|
-
paymentTimeoutMessage:
|
|
1499
|
-
paymentTitle:
|
|
1500
|
-
permanentAddress:
|
|
1501
|
-
phone:
|
|
1502
|
-
product:
|
|
1503
|
-
provider:
|
|
1504
|
-
providerName:
|
|
1505
|
-
province:
|
|
1506
|
-
qrPayment:
|
|
1507
|
-
qrPaymentTitle:
|
|
1508
|
-
quantity:
|
|
1509
|
-
registrationComplete:
|
|
1510
|
-
registrationFee:
|
|
1511
|
-
required:
|
|
1512
|
-
returnHome:
|
|
1513
|
-
returnToStep1:
|
|
1514
|
-
sampleNumberTooltip:
|
|
1515
|
-
save:
|
|
1516
|
-
searchUnits:
|
|
1517
|
-
selectFile:
|
|
1518
|
-
selectInvoicePackage:
|
|
1519
|
-
selectProvider:
|
|
1520
|
-
selectSignaturePackage:
|
|
1521
|
-
selectSubscriptionPackage:
|
|
1522
|
-
selectedProducts:
|
|
1523
|
-
signaturePackage:
|
|
1524
|
-
softwareLicense:
|
|
1525
|
-
stepInfo:
|
|
1526
|
-
stepPayment:
|
|
1527
|
-
stepPlan:
|
|
1528
|
-
subscriptionPackage:
|
|
1529
|
-
taxAuthority:
|
|
1530
|
-
taxAuthorityCode:
|
|
1531
|
-
taxCode:
|
|
1532
|
-
terms:
|
|
1533
|
-
timeLeft:
|
|
1534
|
-
total:
|
|
1535
|
-
totalAmount:
|
|
1536
|
-
totalPrice:
|
|
1537
|
-
transactionCanceled:
|
|
1538
|
-
unit:
|
|
1539
|
-
unitInfo:
|
|
1540
|
-
unitPerMonth:
|
|
1541
|
-
unitPrice:
|
|
1542
|
-
unitsPerMonth:
|
|
1543
|
-
uploadBackId:
|
|
1544
|
-
uploadFile:
|
|
1545
|
-
uploadFrontId:
|
|
1546
|
-
uploadLogo:
|
|
1547
|
-
usagePolicy:
|
|
1548
|
-
ward:
|
|
1549
|
-
widgetTitle:
|
|
1550
|
-
yearTooltip:
|
|
1551
|
-
},
|
|
1552
|
-
accountName:
|
|
1553
|
-
accountNumber:
|
|
1554
|
-
address:
|
|
1555
|
-
agreeWith:
|
|
1556
|
-
and:
|
|
1557
|
-
back:
|
|
1558
|
-
backIdCard:
|
|
1559
|
-
bankName:
|
|
1560
|
-
beneficiaryBank:
|
|
1561
|
-
businessLicense:
|
|
1562
|
-
cancel:
|
|
1563
|
-
cancelTransaction:
|
|
1564
|
-
close:
|
|
1565
|
-
codeTypeC:
|
|
1566
|
-
codeTypeK:
|
|
1567
|
-
codeTypeTooltip:
|
|
1568
|
-
companyName:
|
|
1569
|
-
completePaymentIn:
|
|
1570
|
-
confirm:
|
|
1571
|
-
confirmationTitle:
|
|
1572
|
-
contactInfo:
|
|
1573
|
-
copy:
|
|
1574
|
-
country:
|
|
1575
|
-
customLettersTooltip:
|
|
1576
|
-
customUnits:
|
|
1577
|
-
dateOfBirth:
|
|
1578
|
-
decrease:
|
|
1490
|
+
passport: Ut,
|
|
1491
|
+
paymentAmount: Zt,
|
|
1492
|
+
paymentFailed: Wt,
|
|
1493
|
+
paymentInstructions: Vt,
|
|
1494
|
+
paymentInstructionsTitle: $t,
|
|
1495
|
+
paymentMethod: _t,
|
|
1496
|
+
paymentSuccess: Ae,
|
|
1497
|
+
paymentTimeout: ge,
|
|
1498
|
+
paymentTimeoutMessage: Ce,
|
|
1499
|
+
paymentTitle: Be,
|
|
1500
|
+
permanentAddress: Qe,
|
|
1501
|
+
phone: Ie,
|
|
1502
|
+
product: Ee,
|
|
1503
|
+
provider: ne,
|
|
1504
|
+
providerName: te,
|
|
1505
|
+
province: ee,
|
|
1506
|
+
qrPayment: ie,
|
|
1507
|
+
qrPaymentTitle: we,
|
|
1508
|
+
quantity: oe,
|
|
1509
|
+
registrationComplete: re,
|
|
1510
|
+
registrationFee: De,
|
|
1511
|
+
required: ce,
|
|
1512
|
+
returnHome: se,
|
|
1513
|
+
returnToStep1: fe,
|
|
1514
|
+
sampleNumberTooltip: ue,
|
|
1515
|
+
save: Me,
|
|
1516
|
+
searchUnits: ae,
|
|
1517
|
+
selectFile: he,
|
|
1518
|
+
selectInvoicePackage: ve,
|
|
1519
|
+
selectProvider: de,
|
|
1520
|
+
selectSignaturePackage: Pe,
|
|
1521
|
+
selectSubscriptionPackage: Je,
|
|
1522
|
+
selectedProducts: Re,
|
|
1523
|
+
signaturePackage: ke,
|
|
1524
|
+
softwareLicense: Ye,
|
|
1525
|
+
stepInfo: He,
|
|
1526
|
+
stepPayment: ze,
|
|
1527
|
+
stepPlan: le,
|
|
1528
|
+
subscriptionPackage: Oe,
|
|
1529
|
+
taxAuthority: Ge,
|
|
1530
|
+
taxAuthorityCode: Fe,
|
|
1531
|
+
taxCode: ye,
|
|
1532
|
+
terms: me,
|
|
1533
|
+
timeLeft: qe,
|
|
1534
|
+
total: Le,
|
|
1535
|
+
totalAmount: je,
|
|
1536
|
+
totalPrice: be,
|
|
1537
|
+
transactionCanceled: Ke,
|
|
1538
|
+
unit: Ne,
|
|
1539
|
+
unitInfo: Xe,
|
|
1540
|
+
unitPerMonth: Te,
|
|
1541
|
+
unitPrice: xe,
|
|
1542
|
+
unitsPerMonth: Se,
|
|
1543
|
+
uploadBackId: pe,
|
|
1544
|
+
uploadFile: Ue,
|
|
1545
|
+
uploadFrontId: Ze,
|
|
1546
|
+
uploadLogo: We,
|
|
1547
|
+
usagePolicy: Ve,
|
|
1548
|
+
ward: $e,
|
|
1549
|
+
widgetTitle: _e,
|
|
1550
|
+
yearTooltip: Ai
|
|
1551
|
+
}, Ci = "Tên tài khoản", Bi = "Số tài khoản", Qi = "Địa chỉ đơn vị", Ii = "Tôi đồng ý với", Ei = "và", ni = "Quay lại", ti = "Mặt sau CCCD", ei = "Ngân hàng", ii = "Ngân hàng thụ hưởng", wi = "Giấy phép đăng ký kinh doanh", oi = "Hủy", ri = "Hủy giao dịch", Di = "Đóng", ci = "C (Có mã CQT)", si = "K (Không mã)", fi = "C: Có mã CQT, K: Không mã", ui = "Tên đơn vị", Mi = "Hoàn tất thanh toán của bạn trong", ai = "Xác nhận", hi = "Thông tin lưu ý:", vi = "3. Thông tin người liên hệ:", di = "Bản", Pi = "Quốc gia", Ji = "2 ký tự tùy chọn (mặc định: YY)", Ri = "Số lượng tùy chỉnh", ki = "Ngày sinh", Yi = "Giảm", Hi = "Gói chữ ký số", zi = "Quận/Huyện", li = "Thời hạn", Oi = "E-Contract", Gi = "Chỉnh sửa", Fi = "hóa đơn điện tử", yi = "Email", mi = "Nhập số CMND/CCCD", qi = "Nhập ký hiệu hóa đơn", Li = "Nhập số hộ chiếu", ji = "Nhập tên nhà cung cấp", bi = "Nhập mã CQT cấp", Ki = "Lỗi khi lấy thông tin mã số thuế.", Ni = "Định dạng tệp không được hỗ trợ", Xi = "Kích thước tệp quá lớn", Ti = "Ngày sinh không hợp lệ", xi = "Email không hợp lệ", Si = "Số CCCD không hợp lệ", pi = "Chỉ được dùng chữ cái, số và dấu gạch dưới", Ui = "Số điện thoại không hợp lệ", Zi = "Mã số thuế không hợp lệ", Wi = "Lỗi kết nối mạng", Vi = "Trường này là bắt buộc", $i = "Đã xảy ra lỗi", _i = "Nữ", Aw = "Định dạng", gw = "Mặt trước CCCD", Cw = "Họ và tên", Bw = "Giới tính", Qw = "Bạn đã sử dụng hoá đơn điện tử?", Iw = "Bạn đang sử dụng nhà NCC hoá đơn điện tử khác M-invoice không?", Ew = "(Tổng đài Tư vấn, Hỗ trợ miễn phí)", nw = "Hotline:", tw = "CCCD", ew = "Tăng", iw = "Đã gửi thông tin", ww = "Gói hóa đơn", ow = "Ký hiệu hóa đơn", rw = "Mẫu số", Dw = { 1: "1 (Hóa đơn GTGT)", 2: "2 (Hóa đơn bán hàng)", 3: "3 (Bán tài sản công)", 4: "4 (Bán dự trữ quốc gia)", 5: "5 (Tem, vé, thẻ khác)", 6: "6 (Chứng từ nội bộ)", 7: "7 (Hóa đơn thương mại)", 8: "8 (GTGT tích hợp thuế)", 9: "9 (Bán hàng tích hợp thuế)" }, cw = "B (Đại lý)", sw = "D (Tài sản)", fw = "G (Tem GTGT)", uw = "H (Tem bán hàng)", Mw = "L (CQT)", aw = "M (Máy tính tiền)", hw = "N (Nội bộ)", vw = "T (Đăng ký)", dw = "Loại hóa đơn", Pw = "X (Thương mại)", Jw = "4. THÔNG TIN SỬ DỤNG HDDT:", Rw = "hóa đơn/tháng", kw = "2. Thông tin người đại diện pháp luật:", Yw = "Vui lòng kiểm tra và nhập đúng tên người đại diện theo Giấy phép kinh doanh đã tải lên.", Hw = "Nam", zw = "Tối đa 500Kb", lw = "Tháng", Ow = "Gói phù hợp nhất", Gw = "Tiếp tục", Fw = "Không tìm thấy gói nào.", yw = "Vui lòng thường xuyên kiểm tra hộp thư Email nhận thông báo/ thông tin tài khoản từ nhà cung cấp.", mw = "Quý khách vui lòng chờ đợi trong vòng 1-2 ngày làm việc để hoàn tất quá trình đăng ký.", qw = "Sau khi được cấp tài khoản, vui lòng vào phần thiết lập ở thanh menu để kết nối và sử dụng dịch vụ", Lw = "của", jw = "OK", bw = "Tùy chọn", Kw = "hoặc", Nw = "Đơn hàng đã được tạo thành công", Xw = "Đơn hàng đã hết hạn", Tw = "Thông tin đơn hàng", xw = "Tóm tắt đơn hàng", Sw = "Giấy chứng nhận đăng ký doanh nghiệp", pw = "Hộ chiếu", Uw = "Số tiền thanh toán", Zw = "Thanh toán thất bại", Ww = ["Mở ứng dụng Ngân hàng hoặc Ví điện tử trên điện thoại", "Trên ứng dụng chọn tính năng Quét mã QR", "Quét mã QR ở trang này và thanh toán"], Vw = "Hướng dẫn thanh toán QR", $w = "Hình thức thanh toán:", _w = "Thanh toán thành công!", Ao = "Hết thời gian thanh toán", go = "Hết thời gian thanh toán! Vui lòng thử lại.", Co = "Thanh toán", Bo = "Địa chỉ thường trú", Qo = "Số điện thoại", Io = "Sản phẩm", Eo = "Nhà cung cấp", no = "Tên NCC", to = "Tỉnh/Thành phố", eo = "Thanh toán qua mã QR", io = "Quét mã QR để thanh toán", wo = "Số lượng", oo = "Đăng ký hoàn tất", ro = "Phí đăng ký", Do = "Bắt buộc", co = "Trở về trang chủ", so = "Quay lại bước 1", fo = "Mẫu số hóa đơn (1-9)", uo = "Lưu", Mo = "Số đơn/tháng", ao = "Chọn tệp", ho = "Chọn gói hóa đơn điện tử", vo = "Chọn nhà cung cấp", Po = "Chọn gói chữ ký số", Jo = "Chọn gói đăng ký", Ro = "Sản phẩm đã chọn", ko = "Gói chữ ký số", Yo = "Bản quyền phần mềm hóa đơn điện tử", Ho = "Thông Tin", zo = "Xác Nhận Và Thanh Toán", lo = "Gói Hóa Đơn", Oo = "Gói đăng ký", Go = "CQT quản lý", Fo = "5 ký tự do CQT cấp cho loại hóa đơn máy tính tiền", yo = "Mã số thuế đơn vị", mo = "Điều khoản", qo = "Thời gian còn lại", Lo = "Tổng cộng", jo = "Tổng tiền", bo = "Thành tiền", Ko = "Giao dịch đã được hủy. Quay về trang đăng ký.", No = "Đơn vị tính", Xo = "1. Thông tin đơn vị", To = "đơn/tháng", xo = "Đơn giá", So = "đơn/ tháng", po = "Tải lên mặt sau CCCD", Uo = "Tải lên tệp", Zo = "Tải lên mặt trước CCCD", Wo = "Tải logo lên", Vo = "Chính sách sử dụng", $o = "Phường/Xã", _o = "Đăng ký hóa đơn điện tử", Ar = "Năm phát hành (2 chữ số cuối)", gr = {
|
|
1552
|
+
accountName: Ci,
|
|
1553
|
+
accountNumber: Bi,
|
|
1554
|
+
address: Qi,
|
|
1555
|
+
agreeWith: Ii,
|
|
1556
|
+
and: Ei,
|
|
1557
|
+
back: ni,
|
|
1558
|
+
backIdCard: ti,
|
|
1559
|
+
bankName: ei,
|
|
1560
|
+
beneficiaryBank: ii,
|
|
1561
|
+
businessLicense: wi,
|
|
1562
|
+
cancel: oi,
|
|
1563
|
+
cancelTransaction: ri,
|
|
1564
|
+
close: Di,
|
|
1565
|
+
codeTypeC: ci,
|
|
1566
|
+
codeTypeK: si,
|
|
1567
|
+
codeTypeTooltip: fi,
|
|
1568
|
+
companyName: ui,
|
|
1569
|
+
completePaymentIn: Mi,
|
|
1570
|
+
confirm: ai,
|
|
1571
|
+
confirmationTitle: hi,
|
|
1572
|
+
contactInfo: vi,
|
|
1573
|
+
copy: di,
|
|
1574
|
+
country: Pi,
|
|
1575
|
+
customLettersTooltip: Ji,
|
|
1576
|
+
customUnits: Ri,
|
|
1577
|
+
dateOfBirth: ki,
|
|
1578
|
+
decrease: Yi,
|
|
1579
1579
|
delete: "Xóa",
|
|
1580
|
-
digitalSignaturePackage:
|
|
1581
|
-
district:
|
|
1582
|
-
duration:
|
|
1583
|
-
eContractTitle:
|
|
1584
|
-
edit:
|
|
1585
|
-
electronicInvoices:
|
|
1586
|
-
email:
|
|
1587
|
-
enterIdCard:
|
|
1588
|
-
enterInvoiceSymbol:
|
|
1589
|
-
enterPassport:
|
|
1590
|
-
enterProviderName:
|
|
1591
|
-
enterTaxAuthorityCode:
|
|
1592
|
-
errorFetchTaxInfo:
|
|
1593
|
-
errorFileFormat:
|
|
1594
|
-
errorFileSize:
|
|
1595
|
-
errorInvalidDate:
|
|
1596
|
-
errorInvalidEmail:
|
|
1597
|
-
errorInvalidIdCard:
|
|
1598
|
-
errorInvalidName:
|
|
1599
|
-
errorInvalidPhone:
|
|
1600
|
-
errorInvalidTaxCode:
|
|
1601
|
-
errorNetwork:
|
|
1602
|
-
errorRequired:
|
|
1603
|
-
errorUnknown:
|
|
1604
|
-
female:
|
|
1605
|
-
fileFormat:
|
|
1606
|
-
frontIdCard:
|
|
1607
|
-
fullName:
|
|
1608
|
-
gender:
|
|
1609
|
-
hasUsedEInvoice:
|
|
1610
|
-
hasUsedEInvoiceBefore:
|
|
1611
|
-
hotlineDesc:
|
|
1612
|
-
hotlineDomestic:
|
|
1613
|
-
idNumber:
|
|
1614
|
-
increase:
|
|
1615
|
-
informationSent:
|
|
1616
|
-
invoicePackage:
|
|
1617
|
-
invoiceSymbol:
|
|
1618
|
-
invoiceTempate:
|
|
1619
|
-
invoiceTemplateTypes:
|
|
1620
|
-
invoiceTypeB:
|
|
1621
|
-
invoiceTypeD:
|
|
1622
|
-
invoiceTypeG:
|
|
1623
|
-
invoiceTypeH:
|
|
1624
|
-
invoiceTypeL:
|
|
1625
|
-
invoiceTypeM:
|
|
1626
|
-
invoiceTypeN:
|
|
1627
|
-
invoiceTypeT:
|
|
1628
|
-
invoiceTypeTooltip:
|
|
1629
|
-
invoiceTypeX:
|
|
1630
|
-
invoiceUsageInfo:
|
|
1631
|
-
invoicesPerMonth:
|
|
1632
|
-
legalRepInfo:
|
|
1633
|
-
legalRepNote:
|
|
1634
|
-
male:
|
|
1635
|
-
maxFileSize:
|
|
1636
|
-
month:
|
|
1637
|
-
mostSuitablePackage:
|
|
1638
|
-
next:
|
|
1639
|
-
noPackageFound:
|
|
1640
|
-
notice1:
|
|
1641
|
-
notice2:
|
|
1642
|
-
notice3:
|
|
1643
|
-
of:
|
|
1644
|
-
ok:
|
|
1645
|
-
optional:
|
|
1646
|
-
or:
|
|
1647
|
-
orderCreated:
|
|
1648
|
-
orderExpired:
|
|
1649
|
-
orderInfo:
|
|
1650
|
-
orderSummary:
|
|
1651
|
-
organizationCert:
|
|
1580
|
+
digitalSignaturePackage: Hi,
|
|
1581
|
+
district: zi,
|
|
1582
|
+
duration: li,
|
|
1583
|
+
eContractTitle: Oi,
|
|
1584
|
+
edit: Gi,
|
|
1585
|
+
electronicInvoices: Fi,
|
|
1586
|
+
email: yi,
|
|
1587
|
+
enterIdCard: mi,
|
|
1588
|
+
enterInvoiceSymbol: qi,
|
|
1589
|
+
enterPassport: Li,
|
|
1590
|
+
enterProviderName: ji,
|
|
1591
|
+
enterTaxAuthorityCode: bi,
|
|
1592
|
+
errorFetchTaxInfo: Ki,
|
|
1593
|
+
errorFileFormat: Ni,
|
|
1594
|
+
errorFileSize: Xi,
|
|
1595
|
+
errorInvalidDate: Ti,
|
|
1596
|
+
errorInvalidEmail: xi,
|
|
1597
|
+
errorInvalidIdCard: Si,
|
|
1598
|
+
errorInvalidName: pi,
|
|
1599
|
+
errorInvalidPhone: Ui,
|
|
1600
|
+
errorInvalidTaxCode: Zi,
|
|
1601
|
+
errorNetwork: Wi,
|
|
1602
|
+
errorRequired: Vi,
|
|
1603
|
+
errorUnknown: $i,
|
|
1604
|
+
female: _i,
|
|
1605
|
+
fileFormat: Aw,
|
|
1606
|
+
frontIdCard: gw,
|
|
1607
|
+
fullName: Cw,
|
|
1608
|
+
gender: Bw,
|
|
1609
|
+
hasUsedEInvoice: Qw,
|
|
1610
|
+
hasUsedEInvoiceBefore: Iw,
|
|
1611
|
+
hotlineDesc: Ew,
|
|
1612
|
+
hotlineDomestic: nw,
|
|
1613
|
+
idNumber: tw,
|
|
1614
|
+
increase: ew,
|
|
1615
|
+
informationSent: iw,
|
|
1616
|
+
invoicePackage: ww,
|
|
1617
|
+
invoiceSymbol: ow,
|
|
1618
|
+
invoiceTempate: rw,
|
|
1619
|
+
invoiceTemplateTypes: Dw,
|
|
1620
|
+
invoiceTypeB: cw,
|
|
1621
|
+
invoiceTypeD: sw,
|
|
1622
|
+
invoiceTypeG: fw,
|
|
1623
|
+
invoiceTypeH: uw,
|
|
1624
|
+
invoiceTypeL: Mw,
|
|
1625
|
+
invoiceTypeM: aw,
|
|
1626
|
+
invoiceTypeN: hw,
|
|
1627
|
+
invoiceTypeT: vw,
|
|
1628
|
+
invoiceTypeTooltip: dw,
|
|
1629
|
+
invoiceTypeX: Pw,
|
|
1630
|
+
invoiceUsageInfo: Jw,
|
|
1631
|
+
invoicesPerMonth: Rw,
|
|
1632
|
+
legalRepInfo: kw,
|
|
1633
|
+
legalRepNote: Yw,
|
|
1634
|
+
male: Hw,
|
|
1635
|
+
maxFileSize: zw,
|
|
1636
|
+
month: lw,
|
|
1637
|
+
mostSuitablePackage: Ow,
|
|
1638
|
+
next: Gw,
|
|
1639
|
+
noPackageFound: Fw,
|
|
1640
|
+
notice1: yw,
|
|
1641
|
+
notice2: mw,
|
|
1642
|
+
notice3: qw,
|
|
1643
|
+
of: Lw,
|
|
1644
|
+
ok: jw,
|
|
1645
|
+
optional: bw,
|
|
1646
|
+
or: Kw,
|
|
1647
|
+
orderCreated: Nw,
|
|
1648
|
+
orderExpired: Xw,
|
|
1649
|
+
orderInfo: Tw,
|
|
1650
|
+
orderSummary: xw,
|
|
1651
|
+
organizationCert: Sw,
|
|
1652
1652
|
package: "Gói",
|
|
1653
|
-
passport:
|
|
1654
|
-
paymentAmount:
|
|
1655
|
-
paymentFailed:
|
|
1656
|
-
paymentInstructions:
|
|
1657
|
-
paymentInstructionsTitle:
|
|
1658
|
-
paymentMethod:
|
|
1659
|
-
paymentSuccess:
|
|
1660
|
-
paymentTimeout:
|
|
1661
|
-
paymentTimeoutMessage:
|
|
1662
|
-
paymentTitle:
|
|
1663
|
-
permanentAddress:
|
|
1664
|
-
phone:
|
|
1665
|
-
product:
|
|
1666
|
-
provider:
|
|
1667
|
-
providerName:
|
|
1668
|
-
province:
|
|
1669
|
-
qrPayment:
|
|
1670
|
-
qrPaymentTitle:
|
|
1671
|
-
quantity:
|
|
1672
|
-
registrationComplete:
|
|
1673
|
-
registrationFee:
|
|
1674
|
-
required:
|
|
1675
|
-
returnHome:
|
|
1676
|
-
returnToStep1:
|
|
1677
|
-
sampleNumberTooltip:
|
|
1678
|
-
save:
|
|
1679
|
-
searchUnits:
|
|
1680
|
-
selectFile:
|
|
1681
|
-
selectInvoicePackage:
|
|
1682
|
-
selectProvider:
|
|
1683
|
-
selectSignaturePackage:
|
|
1684
|
-
selectSubscriptionPackage:
|
|
1685
|
-
selectedProducts:
|
|
1686
|
-
signaturePackage:
|
|
1687
|
-
softwareLicense:
|
|
1688
|
-
stepInfo:
|
|
1689
|
-
stepPayment:
|
|
1690
|
-
stepPlan:
|
|
1691
|
-
subscriptionPackage:
|
|
1692
|
-
taxAuthority:
|
|
1693
|
-
taxAuthorityCode:
|
|
1694
|
-
taxCode:
|
|
1695
|
-
terms:
|
|
1696
|
-
timeLeft:
|
|
1697
|
-
total:
|
|
1698
|
-
totalAmount:
|
|
1699
|
-
totalPrice:
|
|
1700
|
-
transactionCanceled:
|
|
1701
|
-
unit:
|
|
1702
|
-
unitInfo:
|
|
1703
|
-
unitPerMonth:
|
|
1704
|
-
unitPrice:
|
|
1705
|
-
unitsPerMonth:
|
|
1706
|
-
uploadBackId:
|
|
1707
|
-
uploadFile:
|
|
1708
|
-
uploadFrontId:
|
|
1709
|
-
uploadLogo:
|
|
1710
|
-
usagePolicy:
|
|
1711
|
-
ward:
|
|
1712
|
-
widgetTitle:
|
|
1713
|
-
yearTooltip:
|
|
1653
|
+
passport: pw,
|
|
1654
|
+
paymentAmount: Uw,
|
|
1655
|
+
paymentFailed: Zw,
|
|
1656
|
+
paymentInstructions: Ww,
|
|
1657
|
+
paymentInstructionsTitle: Vw,
|
|
1658
|
+
paymentMethod: $w,
|
|
1659
|
+
paymentSuccess: _w,
|
|
1660
|
+
paymentTimeout: Ao,
|
|
1661
|
+
paymentTimeoutMessage: go,
|
|
1662
|
+
paymentTitle: Co,
|
|
1663
|
+
permanentAddress: Bo,
|
|
1664
|
+
phone: Qo,
|
|
1665
|
+
product: Io,
|
|
1666
|
+
provider: Eo,
|
|
1667
|
+
providerName: no,
|
|
1668
|
+
province: to,
|
|
1669
|
+
qrPayment: eo,
|
|
1670
|
+
qrPaymentTitle: io,
|
|
1671
|
+
quantity: wo,
|
|
1672
|
+
registrationComplete: oo,
|
|
1673
|
+
registrationFee: ro,
|
|
1674
|
+
required: Do,
|
|
1675
|
+
returnHome: co,
|
|
1676
|
+
returnToStep1: so,
|
|
1677
|
+
sampleNumberTooltip: fo,
|
|
1678
|
+
save: uo,
|
|
1679
|
+
searchUnits: Mo,
|
|
1680
|
+
selectFile: ao,
|
|
1681
|
+
selectInvoicePackage: ho,
|
|
1682
|
+
selectProvider: vo,
|
|
1683
|
+
selectSignaturePackage: Po,
|
|
1684
|
+
selectSubscriptionPackage: Jo,
|
|
1685
|
+
selectedProducts: Ro,
|
|
1686
|
+
signaturePackage: ko,
|
|
1687
|
+
softwareLicense: Yo,
|
|
1688
|
+
stepInfo: Ho,
|
|
1689
|
+
stepPayment: zo,
|
|
1690
|
+
stepPlan: lo,
|
|
1691
|
+
subscriptionPackage: Oo,
|
|
1692
|
+
taxAuthority: Go,
|
|
1693
|
+
taxAuthorityCode: Fo,
|
|
1694
|
+
taxCode: yo,
|
|
1695
|
+
terms: mo,
|
|
1696
|
+
timeLeft: qo,
|
|
1697
|
+
total: Lo,
|
|
1698
|
+
totalAmount: jo,
|
|
1699
|
+
totalPrice: bo,
|
|
1700
|
+
transactionCanceled: Ko,
|
|
1701
|
+
unit: No,
|
|
1702
|
+
unitInfo: Xo,
|
|
1703
|
+
unitPerMonth: To,
|
|
1704
|
+
unitPrice: xo,
|
|
1705
|
+
unitsPerMonth: So,
|
|
1706
|
+
uploadBackId: po,
|
|
1707
|
+
uploadFile: Uo,
|
|
1708
|
+
uploadFrontId: Zo,
|
|
1709
|
+
uploadLogo: Wo,
|
|
1710
|
+
usagePolicy: Vo,
|
|
1711
|
+
ward: $o,
|
|
1712
|
+
widgetTitle: _o,
|
|
1713
|
+
yearTooltip: Ar
|
|
1714
1714
|
}, {
|
|
1715
|
-
slice:
|
|
1716
|
-
forEach:
|
|
1715
|
+
slice: Cr,
|
|
1716
|
+
forEach: Br
|
|
1717
1717
|
} = [];
|
|
1718
|
-
function
|
|
1719
|
-
return
|
|
1718
|
+
function Qr(g) {
|
|
1719
|
+
return Br.call(Cr.call(arguments, 1), (A) => {
|
|
1720
1720
|
if (A)
|
|
1721
1721
|
for (const C in A)
|
|
1722
1722
|
g[C] === void 0 && (g[C] = A[C]);
|
|
1723
1723
|
}), g;
|
|
1724
1724
|
}
|
|
1725
|
-
function
|
|
1725
|
+
function Ir(g) {
|
|
1726
1726
|
return typeof g != "string" ? !1 : [/<\s*script.*?>/i, /<\s*\/\s*script\s*>/i, /<\s*img.*?on\w+\s*=/i, /<\s*\w+\s*on\w+\s*=.*?>/i, /javascript\s*:/i, /vbscript\s*:/i, /expression\s*\(/i, /eval\s*\(/i, /alert\s*\(/i, /document\.cookie/i, /document\.write\s*\(/i, /window\.location/i, /innerHTML/i].some((C) => C.test(g));
|
|
1727
1727
|
}
|
|
1728
|
-
const DQ = /^[\u0009\u0020-\u007e\u0080-\u00ff]+$/,
|
|
1728
|
+
const DQ = /^[\u0009\u0020-\u007e\u0080-\u00ff]+$/, Er = function(g, A) {
|
|
1729
1729
|
const B = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {
|
|
1730
1730
|
path: "/"
|
|
1731
1731
|
}, Q = encodeURIComponent(A);
|
|
@@ -1774,7 +1774,7 @@ const DQ = /^[\u0009\u0020-\u007e\u0080-\u00ff]+$/, nr = function(g, A) {
|
|
|
1774
1774
|
path: "/",
|
|
1775
1775
|
sameSite: "strict"
|
|
1776
1776
|
};
|
|
1777
|
-
C && (Q.expires = /* @__PURE__ */ new Date(), Q.expires.setTime(Q.expires.getTime() + C * 60 * 1e3)), B && (Q.domain = B), document.cookie =
|
|
1777
|
+
C && (Q.expires = /* @__PURE__ */ new Date(), Q.expires.setTime(Q.expires.getTime() + C * 60 * 1e3)), B && (Q.domain = B), document.cookie = Er(g, A, Q);
|
|
1778
1778
|
},
|
|
1779
1779
|
read(g) {
|
|
1780
1780
|
const A = `${g}=`, C = document.cookie.split(";");
|
|
@@ -1789,7 +1789,7 @@ const DQ = /^[\u0009\u0020-\u007e\u0080-\u00ff]+$/, nr = function(g, A) {
|
|
|
1789
1789
|
this.create(g, "", -1, A);
|
|
1790
1790
|
}
|
|
1791
1791
|
};
|
|
1792
|
-
var
|
|
1792
|
+
var nr = {
|
|
1793
1793
|
name: "cookie",
|
|
1794
1794
|
// Deconstruct the options object and extract the lookupCookie property
|
|
1795
1795
|
lookup(g) {
|
|
@@ -1809,7 +1809,7 @@ var tr = {
|
|
|
1809
1809
|
} = A;
|
|
1810
1810
|
C && typeof document != "undefined" && cQ.create(C, g, B, Q, I);
|
|
1811
1811
|
}
|
|
1812
|
-
},
|
|
1812
|
+
}, tr = {
|
|
1813
1813
|
name: "querystring",
|
|
1814
1814
|
// Deconstruct the options object and extract the lookupQuerystring property
|
|
1815
1815
|
lookup(g) {
|
|
@@ -1830,7 +1830,7 @@ var tr = {
|
|
|
1830
1830
|
}
|
|
1831
1831
|
return C;
|
|
1832
1832
|
}
|
|
1833
|
-
},
|
|
1833
|
+
}, er = {
|
|
1834
1834
|
name: "hash",
|
|
1835
1835
|
// Deconstruct the options object and extract the lookupHash property and the lookupFromHashIndex property
|
|
1836
1836
|
lookup(g) {
|
|
@@ -1875,7 +1875,7 @@ const sQ = () => {
|
|
|
1875
1875
|
}
|
|
1876
1876
|
return ng;
|
|
1877
1877
|
};
|
|
1878
|
-
var
|
|
1878
|
+
var ir = {
|
|
1879
1879
|
name: "localStorage",
|
|
1880
1880
|
// Deconstruct the options object and extract the lookupLocalStorage property
|
|
1881
1881
|
lookup(g) {
|
|
@@ -1906,7 +1906,7 @@ const fQ = () => {
|
|
|
1906
1906
|
}
|
|
1907
1907
|
return tg;
|
|
1908
1908
|
};
|
|
1909
|
-
var
|
|
1909
|
+
var wr = {
|
|
1910
1910
|
name: "sessionStorage",
|
|
1911
1911
|
lookup(g) {
|
|
1912
1912
|
let {
|
|
@@ -1921,7 +1921,7 @@ var or = {
|
|
|
1921
1921
|
} = A;
|
|
1922
1922
|
C && fQ() && window.sessionStorage.setItem(C, g);
|
|
1923
1923
|
}
|
|
1924
|
-
},
|
|
1924
|
+
}, or = {
|
|
1925
1925
|
name: "navigator",
|
|
1926
1926
|
lookup(g) {
|
|
1927
1927
|
const A = [];
|
|
@@ -1938,7 +1938,7 @@ var or = {
|
|
|
1938
1938
|
}
|
|
1939
1939
|
return A.length > 0 ? A : void 0;
|
|
1940
1940
|
}
|
|
1941
|
-
},
|
|
1941
|
+
}, rr = {
|
|
1942
1942
|
name: "htmlTag",
|
|
1943
1943
|
// Deconstruct the options object and extract the htmlTag property
|
|
1944
1944
|
lookup(g) {
|
|
@@ -1948,7 +1948,7 @@ var or = {
|
|
|
1948
1948
|
const B = A || (typeof document != "undefined" ? document.documentElement : null);
|
|
1949
1949
|
return B && typeof B.getAttribute == "function" && (C = B.getAttribute("lang")), C;
|
|
1950
1950
|
}
|
|
1951
|
-
},
|
|
1951
|
+
}, Dr = {
|
|
1952
1952
|
name: "path",
|
|
1953
1953
|
// Deconstruct the options object and extract the lookupFromPathIndex property
|
|
1954
1954
|
lookup(g) {
|
|
@@ -1960,7 +1960,7 @@ var or = {
|
|
|
1960
1960
|
const C = window.location.pathname.match(/\/([a-zA-Z-]*)/g);
|
|
1961
1961
|
return Array.isArray(C) ? (Q = C[typeof A == "number" ? A : 0]) == null ? void 0 : Q.replace("/", "") : void 0;
|
|
1962
1962
|
}
|
|
1963
|
-
},
|
|
1963
|
+
}, cr = {
|
|
1964
1964
|
name: "subdomain",
|
|
1965
1965
|
lookup(g) {
|
|
1966
1966
|
var Q, I;
|
|
@@ -1979,7 +1979,7 @@ try {
|
|
|
1979
1979
|
}
|
|
1980
1980
|
const KI = ["querystring", "cookie", "localStorage", "sessionStorage", "navigator", "htmlTag"];
|
|
1981
1981
|
bI || KI.splice(1, 1);
|
|
1982
|
-
const
|
|
1982
|
+
const sr = () => ({
|
|
1983
1983
|
order: KI,
|
|
1984
1984
|
lookupQuerystring: "lng",
|
|
1985
1985
|
lookupCookie: "i18next",
|
|
@@ -2001,7 +2001,7 @@ class NI {
|
|
|
2001
2001
|
let A = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {
|
|
2002
2002
|
languageUtils: {}
|
|
2003
2003
|
}, C = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, B = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {};
|
|
2004
|
-
this.services = A, this.options =
|
|
2004
|
+
this.services = A, this.options = Qr(C, this.options || {}, sr()), typeof this.options.convertDetectedLanguage == "string" && this.options.convertDetectedLanguage.indexOf("15897") > -1 && (this.options.convertDetectedLanguage = (Q) => Q.replace("-", "_")), this.options.lookupFromUrlIndex && (this.options.lookupFromPathIndex = this.options.lookupFromUrlIndex), this.i18nOptions = B, this.addDetector(nr), this.addDetector(tr), this.addDetector(ir), this.addDetector(wr), this.addDetector(or), this.addDetector(rr), this.addDetector(Dr), this.addDetector(cr), this.addDetector(er);
|
|
2005
2005
|
}
|
|
2006
2006
|
addDetector(A) {
|
|
2007
2007
|
return this.detectors[A.name] = A, this;
|
|
@@ -2013,7 +2013,7 @@ class NI {
|
|
|
2013
2013
|
let Q = this.detectors[B].lookup(this.options);
|
|
2014
2014
|
Q && typeof Q == "string" && (Q = [Q]), Q && (C = C.concat(Q));
|
|
2015
2015
|
}
|
|
2016
|
-
}), C = C.filter((B) => B != null && !
|
|
2016
|
+
}), C = C.filter((B) => B != null && !Ir(B)).map((B) => this.options.convertDetectedLanguage(B)), this.services && this.services.languageUtils && this.services.languageUtils.getBestMatchFromCodes ? C : C.length > 0 ? C[0] : null;
|
|
2017
2017
|
}
|
|
2018
2018
|
cacheUserLanguage(A) {
|
|
2019
2019
|
let C = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : this.options.caches;
|
|
@@ -2034,11 +2034,11 @@ function _C(g) {
|
|
|
2034
2034
|
function XI() {
|
|
2035
2035
|
return typeof XMLHttpRequest == "function" || (typeof XMLHttpRequest == "undefined" ? "undefined" : _C(XMLHttpRequest)) === "object";
|
|
2036
2036
|
}
|
|
2037
|
-
function
|
|
2037
|
+
function fr(g) {
|
|
2038
2038
|
return !!g && typeof g.then == "function";
|
|
2039
2039
|
}
|
|
2040
|
-
function
|
|
2041
|
-
return
|
|
2040
|
+
function ur(g) {
|
|
2041
|
+
return fr(g) ? g : Promise.resolve(g);
|
|
2042
2042
|
}
|
|
2043
2043
|
function uQ(g, A) {
|
|
2044
2044
|
var C = Object.keys(g);
|
|
@@ -2054,21 +2054,21 @@ function MQ(g) {
|
|
|
2054
2054
|
for (var A = 1; A < arguments.length; A++) {
|
|
2055
2055
|
var C = arguments[A] != null ? arguments[A] : {};
|
|
2056
2056
|
A % 2 ? uQ(Object(C), !0).forEach(function(B) {
|
|
2057
|
-
|
|
2057
|
+
Mr(g, B, C[B]);
|
|
2058
2058
|
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(g, Object.getOwnPropertyDescriptors(C)) : uQ(Object(C)).forEach(function(B) {
|
|
2059
2059
|
Object.defineProperty(g, B, Object.getOwnPropertyDescriptor(C, B));
|
|
2060
2060
|
});
|
|
2061
2061
|
}
|
|
2062
2062
|
return g;
|
|
2063
2063
|
}
|
|
2064
|
-
function
|
|
2065
|
-
return (A =
|
|
2064
|
+
function Mr(g, A, C) {
|
|
2065
|
+
return (A = ar(A)) in g ? Object.defineProperty(g, A, { value: C, enumerable: !0, configurable: !0, writable: !0 }) : g[A] = C, g;
|
|
2066
2066
|
}
|
|
2067
|
-
function
|
|
2068
|
-
var A =
|
|
2067
|
+
function ar(g) {
|
|
2068
|
+
var A = hr(g, "string");
|
|
2069
2069
|
return Ag(A) == "symbol" ? A : A + "";
|
|
2070
2070
|
}
|
|
2071
|
-
function
|
|
2071
|
+
function hr(g, A) {
|
|
2072
2072
|
if (Ag(g) != "object" || !g) return g;
|
|
2073
2073
|
var C = g[Symbol.toPrimitive];
|
|
2074
2074
|
if (C !== void 0) {
|
|
@@ -2095,7 +2095,7 @@ typeof ActiveXObject == "function" && (typeof global != "undefined" && global.Ac
|
|
|
2095
2095
|
typeof WA != "function" && (WA = void 0);
|
|
2096
2096
|
if (!WA && !Jg && !bg)
|
|
2097
2097
|
try {
|
|
2098
|
-
import("./browser-ponyfill-
|
|
2098
|
+
import("./browser-ponyfill-CT6YJNCH.js").then((g) => g.b).then(function(g) {
|
|
2099
2099
|
WA = g.default;
|
|
2100
2100
|
}).catch(function() {
|
|
2101
2101
|
});
|
|
@@ -2130,7 +2130,7 @@ var AB = function(A, C) {
|
|
|
2130
2130
|
}
|
|
2131
2131
|
}
|
|
2132
2132
|
typeof fetch == "function" ? fetch(A, C).then(I).catch(B) : WA(A, C).then(I).catch(B);
|
|
2133
|
-
}, hQ = !1,
|
|
2133
|
+
}, hQ = !1, vr = function(A, C, B, Q) {
|
|
2134
2134
|
A.queryStringParams && (C = AB(C, A.queryStringParams));
|
|
2135
2135
|
var I = MQ({}, typeof A.customHeaders == "function" ? A.customHeaders() : A.customHeaders);
|
|
2136
2136
|
typeof window == "undefined" && typeof global != "undefined" && typeof global.process != "undefined" && global.process.versions && global.process.versions.node && (I["User-Agent"] = "i18next-http-backend (node/".concat(global.process.version, "; ").concat(global.process.platform, " ").concat(global.process.arch, ")")), B && (I["Content-Type"] = "application/json");
|
|
@@ -2152,7 +2152,7 @@ var AB = function(A, C) {
|
|
|
2152
2152
|
Q(i);
|
|
2153
2153
|
}
|
|
2154
2154
|
}
|
|
2155
|
-
},
|
|
2155
|
+
}, dr = function(A, C, B, Q) {
|
|
2156
2156
|
B && Ag(B) === "object" && (B = AB("", B).slice(1)), A.queryStringParams && (C = AB(C, A.queryStringParams));
|
|
2157
2157
|
try {
|
|
2158
2158
|
var I = Jg ? new Jg() : new bg("MSXML2.XMLHTTP.3.0");
|
|
@@ -2170,12 +2170,12 @@ var AB = function(A, C) {
|
|
|
2170
2170
|
} catch (t) {
|
|
2171
2171
|
console && console.log(t);
|
|
2172
2172
|
}
|
|
2173
|
-
},
|
|
2173
|
+
}, Pr = function(A, C, B, Q) {
|
|
2174
2174
|
if (typeof B == "function" && (Q = B, B = void 0), Q = Q || function() {
|
|
2175
2175
|
}, WA && C.indexOf("file:") !== 0)
|
|
2176
|
-
return
|
|
2176
|
+
return vr(A, C, B, Q);
|
|
2177
2177
|
if (XI() || typeof ActiveXObject == "function")
|
|
2178
|
-
return
|
|
2178
|
+
return dr(A, C, B, Q);
|
|
2179
2179
|
Q(new Error("No fetch and no xhr implementation found!"));
|
|
2180
2180
|
};
|
|
2181
2181
|
function ig(g) {
|
|
@@ -2207,26 +2207,26 @@ function IC(g) {
|
|
|
2207
2207
|
}
|
|
2208
2208
|
return g;
|
|
2209
2209
|
}
|
|
2210
|
-
function
|
|
2210
|
+
function Jr(g, A) {
|
|
2211
2211
|
if (!(g instanceof A)) throw new TypeError("Cannot call a class as a function");
|
|
2212
2212
|
}
|
|
2213
|
-
function
|
|
2213
|
+
function Rr(g, A) {
|
|
2214
2214
|
for (var C = 0; C < A.length; C++) {
|
|
2215
2215
|
var B = A[C];
|
|
2216
2216
|
B.enumerable = B.enumerable || !1, B.configurable = !0, "value" in B && (B.writable = !0), Object.defineProperty(g, xI(B.key), B);
|
|
2217
2217
|
}
|
|
2218
2218
|
}
|
|
2219
|
-
function
|
|
2220
|
-
return A &&
|
|
2219
|
+
function kr(g, A, C) {
|
|
2220
|
+
return A && Rr(g.prototype, A), Object.defineProperty(g, "prototype", { writable: !1 }), g;
|
|
2221
2221
|
}
|
|
2222
2222
|
function TI(g, A, C) {
|
|
2223
2223
|
return (A = xI(A)) in g ? Object.defineProperty(g, A, { value: C, enumerable: !0, configurable: !0, writable: !0 }) : g[A] = C, g;
|
|
2224
2224
|
}
|
|
2225
2225
|
function xI(g) {
|
|
2226
|
-
var A =
|
|
2226
|
+
var A = Yr(g, "string");
|
|
2227
2227
|
return ig(A) == "symbol" ? A : A + "";
|
|
2228
2228
|
}
|
|
2229
|
-
function
|
|
2229
|
+
function Yr(g, A) {
|
|
2230
2230
|
if (ig(g) != "object" || !g) return g;
|
|
2231
2231
|
var C = g[Symbol.toPrimitive];
|
|
2232
2232
|
if (C !== void 0) {
|
|
@@ -2236,7 +2236,7 @@ function Hr(g, A) {
|
|
|
2236
2236
|
}
|
|
2237
2237
|
return String(g);
|
|
2238
2238
|
}
|
|
2239
|
-
var
|
|
2239
|
+
var Hr = function() {
|
|
2240
2240
|
return {
|
|
2241
2241
|
loadPath: "/locales/{{lng}}/{{ns}}.json",
|
|
2242
2242
|
addPath: "/locales/add/{{lng}}/{{ns}}",
|
|
@@ -2249,7 +2249,7 @@ var zr = function() {
|
|
|
2249
2249
|
},
|
|
2250
2250
|
parseLoadPayload: function(C, B) {
|
|
2251
2251
|
},
|
|
2252
|
-
request:
|
|
2252
|
+
request: Pr,
|
|
2253
2253
|
reloadInterval: typeof window != "undefined" ? !1 : 60 * 60 * 1e3,
|
|
2254
2254
|
customHeaders: {},
|
|
2255
2255
|
queryStringParams: {},
|
|
@@ -2265,13 +2265,13 @@ var zr = function() {
|
|
|
2265
2265
|
}, SI = function() {
|
|
2266
2266
|
function g(A) {
|
|
2267
2267
|
var C = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, B = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {};
|
|
2268
|
-
|
|
2268
|
+
Jr(this, g), this.services = A, this.options = C, this.allOptions = B, this.type = "backend", this.init(A, C, B);
|
|
2269
2269
|
}
|
|
2270
|
-
return
|
|
2270
|
+
return kr(g, [{
|
|
2271
2271
|
key: "init",
|
|
2272
2272
|
value: function(C) {
|
|
2273
2273
|
var B = this, Q = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, I = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {};
|
|
2274
|
-
if (this.services = C, this.options = IC(IC(IC({},
|
|
2274
|
+
if (this.services = C, this.options = IC(IC(IC({}, Hr()), this.options || {}), Q), this.allOptions = I, this.services && this.options.reloadInterval) {
|
|
2275
2275
|
var E = setInterval(function() {
|
|
2276
2276
|
return B.reload();
|
|
2277
2277
|
}, this.options.reloadInterval);
|
|
@@ -2292,7 +2292,7 @@ var zr = function() {
|
|
|
2292
2292
|
key: "_readAny",
|
|
2293
2293
|
value: function(C, B, Q, I, E) {
|
|
2294
2294
|
var n = this, t = this.options.loadPath;
|
|
2295
|
-
typeof this.options.loadPath == "function" && (t = this.options.loadPath(C, Q)), t =
|
|
2295
|
+
typeof this.options.loadPath == "function" && (t = this.options.loadPath(C, Q)), t = ur(t), t.then(function(e) {
|
|
2296
2296
|
if (!e) return E(null, {});
|
|
2297
2297
|
var i = n.services.interpolator.interpolate(e, {
|
|
2298
2298
|
lng: C.join("+"),
|
|
@@ -2372,18 +2372,18 @@ var zr = function() {
|
|
|
2372
2372
|
}();
|
|
2373
2373
|
SI.type = "backend";
|
|
2374
2374
|
aA.use(SI).use(NI).init({
|
|
2375
|
-
lng: "
|
|
2376
|
-
fallbackLng: "
|
|
2375
|
+
lng: "vi",
|
|
2376
|
+
fallbackLng: "vi",
|
|
2377
2377
|
debug: !1,
|
|
2378
2378
|
resources: {
|
|
2379
|
-
en: { translation:
|
|
2380
|
-
vi: { translation:
|
|
2379
|
+
en: { translation: gi },
|
|
2380
|
+
vi: { translation: gr }
|
|
2381
2381
|
},
|
|
2382
2382
|
interpolation: {
|
|
2383
2383
|
escapeValue: !1
|
|
2384
2384
|
}
|
|
2385
2385
|
});
|
|
2386
|
-
function
|
|
2386
|
+
function zr(g) {
|
|
2387
2387
|
aA.changeLanguage(g);
|
|
2388
2388
|
}
|
|
2389
2389
|
function f(g, A) {
|
|
@@ -2427,7 +2427,7 @@ function lr({ steps: g = [], currentStep: A = 1 } = {}) {
|
|
|
2427
2427
|
"wgt:gap-6",
|
|
2428
2428
|
"wgt:shadow-[0px_1px_8px_0px_rgba(82,88,102,0.06)]"
|
|
2429
2429
|
].join(" ");
|
|
2430
|
-
const I =
|
|
2430
|
+
const I = mE({
|
|
2431
2431
|
steps: g.map((n) => ({ label: n })),
|
|
2432
2432
|
currentStep: A
|
|
2433
2433
|
});
|
|
@@ -2450,7 +2450,7 @@ function lr({ steps: g = [], currentStep: A = 1 } = {}) {
|
|
|
2450
2450
|
}
|
|
2451
2451
|
};
|
|
2452
2452
|
}
|
|
2453
|
-
function
|
|
2453
|
+
function pI({
|
|
2454
2454
|
name: g,
|
|
2455
2455
|
value: A = "",
|
|
2456
2456
|
label: C = "",
|
|
@@ -2519,7 +2519,7 @@ function Or({
|
|
|
2519
2519
|
r.className = "wgt:w-[1px] wgt:h-8 wgt:bg-border-light";
|
|
2520
2520
|
const o = document.createElement("label");
|
|
2521
2521
|
o.className = "wgt:text-base wgt:font-semibold wgt:leading-5 wgt:text-black wgt:uppercase", o.innerText = n.name, i.appendChild(w), i.appendChild(r), i.appendChild(o);
|
|
2522
|
-
const { container: D } =
|
|
2522
|
+
const { container: D } = pI({
|
|
2523
2523
|
checked: t,
|
|
2524
2524
|
onChange: (c) => {
|
|
2525
2525
|
c && (A = n.route, typeof C == "function" && C(n), E());
|
|
@@ -2947,28 +2947,28 @@ const Fr = ({
|
|
|
2947
2947
|
}
|
|
2948
2948
|
};
|
|
2949
2949
|
}, Sg = "/core-api/packages", yr = "/core-api/orders", mr = "/core-api/orders/create", qr = "/core-api/customers/is-new", Lr = "core-api/convert/iframe-signature", jr = "/tax-code", br = "/portal/invoice/gen-qr";
|
|
2950
|
-
function
|
|
2950
|
+
function UI(g, A) {
|
|
2951
2951
|
return function() {
|
|
2952
2952
|
return g.apply(A, arguments);
|
|
2953
2953
|
};
|
|
2954
2954
|
}
|
|
2955
|
-
const { toString: Kr } = Object.prototype, { getPrototypeOf: nB } = Object, { iterator: pg, toStringTag:
|
|
2955
|
+
const { toString: Kr } = Object.prototype, { getPrototypeOf: nB } = Object, { iterator: pg, toStringTag: ZI } = Symbol, Ug = /* @__PURE__ */ ((g) => (A) => {
|
|
2956
2956
|
const C = Kr.call(A);
|
|
2957
2957
|
return g[C] || (g[C] = C.slice(8, -1).toLowerCase());
|
|
2958
2958
|
})(/* @__PURE__ */ Object.create(null)), GA = (g) => (g = g.toLowerCase(), (A) => Ug(A) === g), Zg = (g) => (A) => typeof A === g, { isArray: og } = Array, Rg = Zg("undefined");
|
|
2959
2959
|
function Nr(g) {
|
|
2960
2960
|
return g !== null && !Rg(g) && g.constructor !== null && !Rg(g.constructor) && RA(g.constructor.isBuffer) && g.constructor.isBuffer(g);
|
|
2961
2961
|
}
|
|
2962
|
-
const
|
|
2962
|
+
const WI = GA("ArrayBuffer");
|
|
2963
2963
|
function Xr(g) {
|
|
2964
2964
|
let A;
|
|
2965
|
-
return typeof ArrayBuffer != "undefined" && ArrayBuffer.isView ? A = ArrayBuffer.isView(g) : A = g && g.buffer &&
|
|
2965
|
+
return typeof ArrayBuffer != "undefined" && ArrayBuffer.isView ? A = ArrayBuffer.isView(g) : A = g && g.buffer && WI(g.buffer), A;
|
|
2966
2966
|
}
|
|
2967
|
-
const Tr = Zg("string"), RA = Zg("function"),
|
|
2967
|
+
const Tr = Zg("string"), RA = Zg("function"), VI = Zg("number"), Wg = (g) => g !== null && typeof g == "object", xr = (g) => g === !0 || g === !1, Fg = (g) => {
|
|
2968
2968
|
if (Ug(g) !== "object")
|
|
2969
2969
|
return !1;
|
|
2970
2970
|
const A = nB(g);
|
|
2971
|
-
return (A === null || A === Object.prototype || Object.getPrototypeOf(A) === null) && !(
|
|
2971
|
+
return (A === null || A === Object.prototype || Object.getPrototypeOf(A) === null) && !(ZI in g) && !(pg in g);
|
|
2972
2972
|
}, Sr = GA("Date"), pr = GA("File"), Ur = GA("Blob"), Zr = GA("FileList"), Wr = (g) => Wg(g) && RA(g.pipe), Vr = (g) => {
|
|
2973
2973
|
let A;
|
|
2974
2974
|
return g && (typeof FormData == "function" && g instanceof FormData || RA(g.append) && ((A = Ug(g)) === "formdata" || // detect form-data instance
|
|
@@ -2988,7 +2988,7 @@ function kg(g, A, { allOwnKeys: C = !1 } = {}) {
|
|
|
2988
2988
|
n = I[B], A.call(null, g[n], n, g);
|
|
2989
2989
|
}
|
|
2990
2990
|
}
|
|
2991
|
-
function
|
|
2991
|
+
function $I(g, A) {
|
|
2992
2992
|
A = A.toLowerCase();
|
|
2993
2993
|
const C = Object.keys(g);
|
|
2994
2994
|
let B = C.length, Q;
|
|
@@ -2997,10 +2997,10 @@ function _I(g, A) {
|
|
|
2997
2997
|
return Q;
|
|
2998
2998
|
return null;
|
|
2999
2999
|
}
|
|
3000
|
-
const $A = typeof globalThis != "undefined" ? globalThis : typeof self != "undefined" ? self : typeof window != "undefined" ? window : global,
|
|
3000
|
+
const $A = typeof globalThis != "undefined" ? globalThis : typeof self != "undefined" ? self : typeof window != "undefined" ? window : global, _I = (g) => !Rg(g) && g !== $A;
|
|
3001
3001
|
function gB() {
|
|
3002
|
-
const { caseless: g } =
|
|
3003
|
-
const I = g &&
|
|
3002
|
+
const { caseless: g } = _I(this) && this || {}, A = {}, C = (B, Q) => {
|
|
3003
|
+
const I = g && $I(A, Q) || Q;
|
|
3004
3004
|
Fg(A[I]) && Fg(B) ? A[I] = gB(A[I], B) : Fg(B) ? A[I] = gB({}, B) : og(B) ? A[I] = B.slice() : A[I] = B;
|
|
3005
3005
|
};
|
|
3006
3006
|
for (let B = 0, Q = arguments.length; B < Q; B++)
|
|
@@ -3008,7 +3008,7 @@ function gB() {
|
|
|
3008
3008
|
return A;
|
|
3009
3009
|
}
|
|
3010
3010
|
const QD = (g, A, C, { allOwnKeys: B } = {}) => (kg(A, (Q, I) => {
|
|
3011
|
-
C && RA(Q) ? g[I] =
|
|
3011
|
+
C && RA(Q) ? g[I] = UI(Q, C) : g[I] = Q;
|
|
3012
3012
|
}, { allOwnKeys: B }), g), ID = (g) => (g.charCodeAt(0) === 65279 && (g = g.slice(1)), g), ED = (g, A, C, B) => {
|
|
3013
3013
|
g.prototype = Object.create(A.prototype, B), g.prototype.constructor = g, Object.defineProperty(g, "super", {
|
|
3014
3014
|
value: A.prototype
|
|
@@ -3031,7 +3031,7 @@ const QD = (g, A, C, { allOwnKeys: B } = {}) => (kg(A, (Q, I) => {
|
|
|
3031
3031
|
if (!g) return null;
|
|
3032
3032
|
if (og(g)) return g;
|
|
3033
3033
|
let A = g.length;
|
|
3034
|
-
if (
|
|
3034
|
+
if (!VI(A)) return null;
|
|
3035
3035
|
const C = new Array(A);
|
|
3036
3036
|
for (; A-- > 0; )
|
|
3037
3037
|
C[A] = g[A];
|
|
@@ -3054,14 +3054,14 @@ const QD = (g, A, C, { allOwnKeys: B } = {}) => (kg(A, (Q, I) => {
|
|
|
3054
3054
|
function(C, B, Q) {
|
|
3055
3055
|
return B.toUpperCase() + Q;
|
|
3056
3056
|
}
|
|
3057
|
-
), RQ = (({ hasOwnProperty: g }) => (A, C) => g.call(A, C))(Object.prototype), cD = GA("RegExp"),
|
|
3057
|
+
), RQ = (({ hasOwnProperty: g }) => (A, C) => g.call(A, C))(Object.prototype), cD = GA("RegExp"), AE = (g, A) => {
|
|
3058
3058
|
const C = Object.getOwnPropertyDescriptors(g), B = {};
|
|
3059
3059
|
kg(C, (Q, I) => {
|
|
3060
3060
|
let E;
|
|
3061
3061
|
(E = A(Q, I, g)) !== !1 && (B[I] = E || Q);
|
|
3062
3062
|
}), Object.defineProperties(g, B);
|
|
3063
3063
|
}, sD = (g) => {
|
|
3064
|
-
|
|
3064
|
+
AE(g, (A, C) => {
|
|
3065
3065
|
if (RA(g) && ["arguments", "caller", "callee"].indexOf(C) !== -1)
|
|
3066
3066
|
return !1;
|
|
3067
3067
|
const B = g[C];
|
|
@@ -3085,7 +3085,7 @@ const QD = (g, A, C, { allOwnKeys: B } = {}) => (kg(A, (Q, I) => {
|
|
|
3085
3085
|
}, uD = () => {
|
|
3086
3086
|
}, MD = (g, A) => g != null && Number.isFinite(g = +g) ? g : A;
|
|
3087
3087
|
function aD(g) {
|
|
3088
|
-
return !!(g && RA(g.append) && g[
|
|
3088
|
+
return !!(g && RA(g.append) && g[ZI] === "FormData" && g[pg]);
|
|
3089
3089
|
}
|
|
3090
3090
|
const hD = (g) => {
|
|
3091
3091
|
const A = new Array(10), C = (B, Q) => {
|
|
@@ -3104,21 +3104,21 @@ const hD = (g) => {
|
|
|
3104
3104
|
return B;
|
|
3105
3105
|
};
|
|
3106
3106
|
return C(g, 0);
|
|
3107
|
-
}, vD = GA("AsyncFunction"), dD = (g) => g && (Wg(g) || RA(g)) && RA(g.then) && RA(g.catch),
|
|
3107
|
+
}, vD = GA("AsyncFunction"), dD = (g) => g && (Wg(g) || RA(g)) && RA(g.then) && RA(g.catch), gE = ((g, A) => g ? setImmediate : A ? ((C, B) => ($A.addEventListener("message", ({ source: Q, data: I }) => {
|
|
3108
3108
|
Q === $A && I === C && B.length && B.shift()();
|
|
3109
3109
|
}, !1), (Q) => {
|
|
3110
3110
|
B.push(Q), $A.postMessage(C, "*");
|
|
3111
3111
|
}))(`axios@${Math.random()}`, []) : (C) => setTimeout(C))(
|
|
3112
3112
|
typeof setImmediate == "function",
|
|
3113
3113
|
RA($A.postMessage)
|
|
3114
|
-
), PD = typeof queueMicrotask != "undefined" ? queueMicrotask.bind($A) : typeof process != "undefined" && process.nextTick ||
|
|
3114
|
+
), PD = typeof queueMicrotask != "undefined" ? queueMicrotask.bind($A) : typeof process != "undefined" && process.nextTick || gE, JD = (g) => g != null && RA(g[pg]), P = {
|
|
3115
3115
|
isArray: og,
|
|
3116
|
-
isArrayBuffer:
|
|
3116
|
+
isArrayBuffer: WI,
|
|
3117
3117
|
isBuffer: Nr,
|
|
3118
3118
|
isFormData: Vr,
|
|
3119
3119
|
isArrayBufferView: Xr,
|
|
3120
3120
|
isString: Tr,
|
|
3121
|
-
isNumber:
|
|
3121
|
+
isNumber: VI,
|
|
3122
3122
|
isBoolean: xr,
|
|
3123
3123
|
isObject: Wg,
|
|
3124
3124
|
isPlainObject: Fg,
|
|
@@ -3153,20 +3153,20 @@ const hD = (g) => {
|
|
|
3153
3153
|
hasOwnProperty: RQ,
|
|
3154
3154
|
hasOwnProp: RQ,
|
|
3155
3155
|
// an alias to avoid ESLint no-prototype-builtins detection
|
|
3156
|
-
reduceDescriptors:
|
|
3156
|
+
reduceDescriptors: AE,
|
|
3157
3157
|
freezeMethods: sD,
|
|
3158
3158
|
toObjectSet: fD,
|
|
3159
3159
|
toCamelCase: DD,
|
|
3160
3160
|
noop: uD,
|
|
3161
3161
|
toFiniteNumber: MD,
|
|
3162
|
-
findKey:
|
|
3162
|
+
findKey: $I,
|
|
3163
3163
|
global: $A,
|
|
3164
|
-
isContextDefined:
|
|
3164
|
+
isContextDefined: _I,
|
|
3165
3165
|
isSpecCompliantForm: aD,
|
|
3166
3166
|
toJSONObject: hD,
|
|
3167
3167
|
isAsyncFn: vD,
|
|
3168
3168
|
isThenable: dD,
|
|
3169
|
-
setImmediate:
|
|
3169
|
+
setImmediate: gE,
|
|
3170
3170
|
asap: PD,
|
|
3171
3171
|
isIterable: JD
|
|
3172
3172
|
};
|
|
@@ -3194,7 +3194,7 @@ P.inherits(p, Error, {
|
|
|
3194
3194
|
};
|
|
3195
3195
|
}
|
|
3196
3196
|
});
|
|
3197
|
-
const
|
|
3197
|
+
const CE = p.prototype, BE = {};
|
|
3198
3198
|
[
|
|
3199
3199
|
"ERR_BAD_OPTION_VALUE",
|
|
3200
3200
|
"ERR_BAD_OPTION",
|
|
@@ -3210,12 +3210,12 @@ const BE = p.prototype, QE = {};
|
|
|
3210
3210
|
"ERR_INVALID_URL"
|
|
3211
3211
|
// eslint-disable-next-line func-names
|
|
3212
3212
|
].forEach((g) => {
|
|
3213
|
-
|
|
3213
|
+
BE[g] = { value: g };
|
|
3214
3214
|
});
|
|
3215
|
-
Object.defineProperties(p,
|
|
3216
|
-
Object.defineProperty(
|
|
3215
|
+
Object.defineProperties(p, BE);
|
|
3216
|
+
Object.defineProperty(CE, "isAxiosError", { value: !0 });
|
|
3217
3217
|
p.from = (g, A, C, B, Q, I) => {
|
|
3218
|
-
const E = Object.create(
|
|
3218
|
+
const E = Object.create(CE);
|
|
3219
3219
|
return P.toFlatObject(g, E, function(t) {
|
|
3220
3220
|
return t !== Error.prototype;
|
|
3221
3221
|
}, (n) => n !== "isAxiosError"), p.call(E, g.message, A, C, B, Q), E.cause = g, E.name = g.name, I && Object.assign(E, I), E;
|
|
@@ -3224,12 +3224,12 @@ const RD = null;
|
|
|
3224
3224
|
function CB(g) {
|
|
3225
3225
|
return P.isPlainObject(g) || P.isArray(g);
|
|
3226
3226
|
}
|
|
3227
|
-
function
|
|
3227
|
+
function QE(g) {
|
|
3228
3228
|
return P.endsWith(g, "[]") ? g.slice(0, -2) : g;
|
|
3229
3229
|
}
|
|
3230
3230
|
function kQ(g, A, C) {
|
|
3231
3231
|
return g ? g.concat(A).map(function(Q, I) {
|
|
3232
|
-
return Q =
|
|
3232
|
+
return Q = QE(Q), !C && I ? "[" + Q + "]" : Q;
|
|
3233
3233
|
}).join(C ? "." : "") : A;
|
|
3234
3234
|
}
|
|
3235
3235
|
function kD(g) {
|
|
@@ -3265,7 +3265,7 @@ function Vg(g, A, C) {
|
|
|
3265
3265
|
if (P.endsWith(c, "{}"))
|
|
3266
3266
|
c = B ? c : c.slice(0, -2), D = JSON.stringify(D);
|
|
3267
3267
|
else if (P.isArray(D) && kD(D) || (P.isFileList(D) || P.endsWith(c, "[]")) && (d = P.toArray(D)))
|
|
3268
|
-
return c =
|
|
3268
|
+
return c = QE(c), d.forEach(function(s, a) {
|
|
3269
3269
|
!(P.isUndefined(s) || s === null) && A.append(
|
|
3270
3270
|
// eslint-disable-next-line no-nested-ternary
|
|
3271
3271
|
E === !0 ? kQ([c], a, I) : E === null ? c : c + "[]",
|
|
@@ -3316,11 +3316,11 @@ function YQ(g) {
|
|
|
3316
3316
|
function tB(g, A) {
|
|
3317
3317
|
this._pairs = [], g && Vg(g, this, A);
|
|
3318
3318
|
}
|
|
3319
|
-
const
|
|
3320
|
-
|
|
3319
|
+
const IE = tB.prototype;
|
|
3320
|
+
IE.append = function(A, C) {
|
|
3321
3321
|
this._pairs.push([A, C]);
|
|
3322
3322
|
};
|
|
3323
|
-
|
|
3323
|
+
IE.toString = function(A) {
|
|
3324
3324
|
const C = A ? function(B) {
|
|
3325
3325
|
return A.call(this, B, YQ);
|
|
3326
3326
|
} : YQ;
|
|
@@ -3331,7 +3331,7 @@ EE.toString = function(A) {
|
|
|
3331
3331
|
function HD(g) {
|
|
3332
3332
|
return encodeURIComponent(g).replace(/%3A/gi, ":").replace(/%24/g, "$").replace(/%2C/gi, ",").replace(/%20/g, "+").replace(/%5B/gi, "[").replace(/%5D/gi, "]");
|
|
3333
3333
|
}
|
|
3334
|
-
function
|
|
3334
|
+
function EE(g, A, C) {
|
|
3335
3335
|
if (!A)
|
|
3336
3336
|
return g;
|
|
3337
3337
|
const B = C && C.encode || HD;
|
|
@@ -3400,7 +3400,7 @@ class HQ {
|
|
|
3400
3400
|
});
|
|
3401
3401
|
}
|
|
3402
3402
|
}
|
|
3403
|
-
const
|
|
3403
|
+
const nE = {
|
|
3404
3404
|
silentJSONParsing: !0,
|
|
3405
3405
|
forcedJSONParsing: !0,
|
|
3406
3406
|
clarifyTimeoutError: !1
|
|
@@ -3440,7 +3440,7 @@ function bD(g) {
|
|
|
3440
3440
|
I = C[B], A[I] = g[I];
|
|
3441
3441
|
return A;
|
|
3442
3442
|
}
|
|
3443
|
-
function
|
|
3443
|
+
function tE(g) {
|
|
3444
3444
|
function A(C, B, Q, I) {
|
|
3445
3445
|
let E = C[I++];
|
|
3446
3446
|
if (E === "__proto__") return !0;
|
|
@@ -3466,12 +3466,12 @@ function KD(g, A, C) {
|
|
|
3466
3466
|
return (C || JSON.stringify)(g);
|
|
3467
3467
|
}
|
|
3468
3468
|
const Yg = {
|
|
3469
|
-
transitional:
|
|
3469
|
+
transitional: nE,
|
|
3470
3470
|
adapter: ["xhr", "http", "fetch"],
|
|
3471
3471
|
transformRequest: [function(A, C) {
|
|
3472
3472
|
const B = C.getContentType() || "", Q = B.indexOf("application/json") > -1, I = P.isObject(A);
|
|
3473
3473
|
if (I && P.isHTMLForm(A) && (A = new FormData(A)), P.isFormData(A))
|
|
3474
|
-
return Q ? JSON.stringify(
|
|
3474
|
+
return Q ? JSON.stringify(tE(A)) : A;
|
|
3475
3475
|
if (P.isArrayBuffer(A) || P.isBuffer(A) || P.isStream(A) || P.isFile(A) || P.isBlob(A) || P.isReadableStream(A))
|
|
3476
3476
|
return A;
|
|
3477
3477
|
if (P.isArrayBufferView(A))
|
|
@@ -3742,7 +3742,7 @@ function nC(g, A) {
|
|
|
3742
3742
|
I = n.call(C, I, Q.normalize(), A ? A.status : void 0);
|
|
3743
3743
|
}), Q.normalize(), I;
|
|
3744
3744
|
}
|
|
3745
|
-
function
|
|
3745
|
+
function eE(g) {
|
|
3746
3746
|
return !!(g && g.__CANCEL__);
|
|
3747
3747
|
}
|
|
3748
3748
|
function rg(g, A, C) {
|
|
@@ -3751,7 +3751,7 @@ function rg(g, A, C) {
|
|
|
3751
3751
|
P.inherits(rg, p, {
|
|
3752
3752
|
__CANCEL__: !0
|
|
3753
3753
|
});
|
|
3754
|
-
function
|
|
3754
|
+
function iE(g, A, C) {
|
|
3755
3755
|
const B = C.config.validateStatus;
|
|
3756
3756
|
!C.status || !B || B(C.status) ? g(C) : A(new p(
|
|
3757
3757
|
"Request failed with status code " + C.status,
|
|
@@ -3855,7 +3855,7 @@ function _D(g) {
|
|
|
3855
3855
|
function Ac(g, A) {
|
|
3856
3856
|
return A ? g.replace(/\/?\/$/, "") + "/" + A.replace(/^\/+/, "") : g;
|
|
3857
3857
|
}
|
|
3858
|
-
function
|
|
3858
|
+
function wE(g, A, C) {
|
|
3859
3859
|
let B = !_D(A);
|
|
3860
3860
|
return g && (B || C == !1) ? Ac(g, A) : A;
|
|
3861
3861
|
}
|
|
@@ -3924,10 +3924,10 @@ function gg(g, A) {
|
|
|
3924
3924
|
P.isUndefined(r) && w !== n || (C[i] = r);
|
|
3925
3925
|
}), C;
|
|
3926
3926
|
}
|
|
3927
|
-
const
|
|
3927
|
+
const oE = (g) => {
|
|
3928
3928
|
const A = gg({}, g);
|
|
3929
3929
|
let { data: C, withXSRFToken: B, xsrfHeaderName: Q, xsrfCookieName: I, headers: E, auth: n } = A;
|
|
3930
|
-
A.headers = E = kA.from(E), A.url =
|
|
3930
|
+
A.headers = E = kA.from(E), A.url = EE(wE(A.baseURL, A.url, A.allowAbsoluteUrls), g.params, g.paramsSerializer), n && E.set(
|
|
3931
3931
|
"Authorization",
|
|
3932
3932
|
"Basic " + btoa((n.username || "") + ":" + (n.password ? unescape(encodeURIComponent(n.password)) : ""))
|
|
3933
3933
|
);
|
|
@@ -3947,7 +3947,7 @@ const rE = (g) => {
|
|
|
3947
3947
|
return A;
|
|
3948
3948
|
}, gc = typeof XMLHttpRequest != "undefined", Cc = gc && function(g) {
|
|
3949
3949
|
return new Promise(function(C, B) {
|
|
3950
|
-
const Q =
|
|
3950
|
+
const Q = oE(g);
|
|
3951
3951
|
let I = Q.data;
|
|
3952
3952
|
const E = kA.from(Q.headers).normalize();
|
|
3953
3953
|
let { responseType: n, onUploadProgress: t, onDownloadProgress: e } = Q, i, w, r, o, D;
|
|
@@ -3969,7 +3969,7 @@ const rE = (g) => {
|
|
|
3969
3969
|
config: g,
|
|
3970
3970
|
request: M
|
|
3971
3971
|
};
|
|
3972
|
-
|
|
3972
|
+
iE(function(J) {
|
|
3973
3973
|
C(J), c();
|
|
3974
3974
|
}, function(J) {
|
|
3975
3975
|
B(J), c();
|
|
@@ -3983,7 +3983,7 @@ const rE = (g) => {
|
|
|
3983
3983
|
B(new p("Network Error", p.ERR_NETWORK, g, M)), M = null;
|
|
3984
3984
|
}, M.ontimeout = function() {
|
|
3985
3985
|
let a = Q.timeout ? "timeout of " + Q.timeout + "ms exceeded" : "timeout exceeded";
|
|
3986
|
-
const v = Q.transitional ||
|
|
3986
|
+
const v = Q.transitional || nE;
|
|
3987
3987
|
Q.timeoutErrorMessage && (a = Q.timeoutErrorMessage), B(new p(
|
|
3988
3988
|
a,
|
|
3989
3989
|
v.clarifyTimeoutError ? p.ETIMEDOUT : p.ECONNABORTED,
|
|
@@ -4101,15 +4101,15 @@ const rE = (g) => {
|
|
|
4101
4101
|
}, {
|
|
4102
4102
|
highWaterMark: 2
|
|
4103
4103
|
});
|
|
4104
|
-
}, $g = typeof fetch == "function" && typeof Request == "function" && typeof Response == "function",
|
|
4104
|
+
}, $g = typeof fetch == "function" && typeof Request == "function" && typeof Response == "function", rE = $g && typeof ReadableStream == "function", nc = $g && (typeof TextEncoder == "function" ? /* @__PURE__ */ ((g) => (A) => g.encode(A))(new TextEncoder()) : (g) => X(null, null, function* () {
|
|
4105
4105
|
return new Uint8Array(yield new Response(g).arrayBuffer());
|
|
4106
|
-
})),
|
|
4106
|
+
})), DE = (g, ...A) => {
|
|
4107
4107
|
try {
|
|
4108
4108
|
return !!g(...A);
|
|
4109
4109
|
} catch (C) {
|
|
4110
4110
|
return !1;
|
|
4111
4111
|
}
|
|
4112
|
-
}, tc =
|
|
4112
|
+
}, tc = rE && DE(() => {
|
|
4113
4113
|
let g = !1;
|
|
4114
4114
|
const A = new Request(dA.origin, {
|
|
4115
4115
|
body: new ReadableStream(),
|
|
@@ -4119,7 +4119,7 @@ const rE = (g) => {
|
|
|
4119
4119
|
}
|
|
4120
4120
|
}).headers.has("Content-Type");
|
|
4121
4121
|
return g && !A;
|
|
4122
|
-
}), yQ = 64 * 1024, QB =
|
|
4122
|
+
}), yQ = 64 * 1024, QB = rE && DE(() => P.isReadableStream(new Response("").body)), Ng = {
|
|
4123
4123
|
stream: QB && ((g) => g.body)
|
|
4124
4124
|
};
|
|
4125
4125
|
$g && ((g) => {
|
|
@@ -4160,7 +4160,7 @@ const ec = (g) => X(null, null, function* () {
|
|
|
4160
4160
|
headers: i,
|
|
4161
4161
|
withCredentials: w = "same-origin",
|
|
4162
4162
|
fetchOptions: r
|
|
4163
|
-
} =
|
|
4163
|
+
} = oE(g);
|
|
4164
4164
|
e = e ? (e + "").toLowerCase() : "text";
|
|
4165
4165
|
let o = Bc([Q, I && I.toAbortSignal()], E), D;
|
|
4166
4166
|
const c = o && o.unsubscribe && (() => {
|
|
@@ -4213,7 +4213,7 @@ const ec = (g) => X(null, null, function* () {
|
|
|
4213
4213
|
e = e || "text";
|
|
4214
4214
|
let a = yield Ng[P.findKey(Ng, e) || "text"](u, g);
|
|
4215
4215
|
return !s && c && c(), yield new Promise((v, h) => {
|
|
4216
|
-
|
|
4216
|
+
iE(v, h, {
|
|
4217
4217
|
data: a,
|
|
4218
4218
|
headers: kA.from(u.headers),
|
|
4219
4219
|
status: u.status,
|
|
@@ -4244,7 +4244,7 @@ P.forEach(IB, (g, A) => {
|
|
|
4244
4244
|
Object.defineProperty(g, "adapterName", { value: A });
|
|
4245
4245
|
}
|
|
4246
4246
|
});
|
|
4247
|
-
const mQ = (g) => `- ${g}`, oc = (g) => P.isFunction(g) || g === null || g === !1,
|
|
4247
|
+
const mQ = (g) => `- ${g}`, oc = (g) => P.isFunction(g) || g === null || g === !1, cE = {
|
|
4248
4248
|
getAdapter: (g) => {
|
|
4249
4249
|
g = P.isArray(g) ? g : [g];
|
|
4250
4250
|
const { length: A } = g;
|
|
@@ -4283,21 +4283,21 @@ function qQ(g) {
|
|
|
4283
4283
|
return tC(g), g.headers = kA.from(g.headers), g.data = nC.call(
|
|
4284
4284
|
g,
|
|
4285
4285
|
g.transformRequest
|
|
4286
|
-
), ["post", "put", "patch"].indexOf(g.method) !== -1 && g.headers.setContentType("application/x-www-form-urlencoded", !1),
|
|
4286
|
+
), ["post", "put", "patch"].indexOf(g.method) !== -1 && g.headers.setContentType("application/x-www-form-urlencoded", !1), cE.getAdapter(g.adapter || Yg.adapter)(g).then(function(B) {
|
|
4287
4287
|
return tC(g), B.data = nC.call(
|
|
4288
4288
|
g,
|
|
4289
4289
|
g.transformResponse,
|
|
4290
4290
|
B
|
|
4291
4291
|
), B.headers = kA.from(B.headers), B;
|
|
4292
4292
|
}, function(B) {
|
|
4293
|
-
return
|
|
4293
|
+
return eE(B) || (tC(g), B && B.response && (B.response.data = nC.call(
|
|
4294
4294
|
g,
|
|
4295
4295
|
g.transformResponse,
|
|
4296
4296
|
B.response
|
|
4297
4297
|
), B.response.headers = kA.from(B.response.headers))), Promise.reject(B);
|
|
4298
4298
|
});
|
|
4299
4299
|
}
|
|
4300
|
-
const
|
|
4300
|
+
const sE = "1.9.0", _g = {};
|
|
4301
4301
|
["object", "boolean", "number", "function", "string", "symbol"].forEach((g, A) => {
|
|
4302
4302
|
_g[g] = function(B) {
|
|
4303
4303
|
return typeof B === g || "a" + (A < 1 ? "n " : " ") + g;
|
|
@@ -4306,7 +4306,7 @@ const fE = "1.9.0", _g = {};
|
|
|
4306
4306
|
const LQ = {};
|
|
4307
4307
|
_g.transitional = function(A, C, B) {
|
|
4308
4308
|
function Q(I, E) {
|
|
4309
|
-
return "[Axios v" +
|
|
4309
|
+
return "[Axios v" + sE + "] Transitional option '" + I + "'" + E + (B ? ". " + B : "");
|
|
4310
4310
|
}
|
|
4311
4311
|
return (I, E, n) => {
|
|
4312
4312
|
if (A === !1)
|
|
@@ -4444,8 +4444,8 @@ let _A = class {
|
|
|
4444
4444
|
}
|
|
4445
4445
|
getUri(A) {
|
|
4446
4446
|
A = gg(this.defaults, A);
|
|
4447
|
-
const C =
|
|
4448
|
-
return
|
|
4447
|
+
const C = wE(A.baseURL, A.url, A.allowAbsoluteUrls);
|
|
4448
|
+
return EE(C, A.params, A.paramsSerializer);
|
|
4449
4449
|
}
|
|
4450
4450
|
};
|
|
4451
4451
|
P.forEach(["delete", "get", "head", "options"], function(A) {
|
|
@@ -4472,7 +4472,7 @@ P.forEach(["post", "put", "patch"], function(A) {
|
|
|
4472
4472
|
}
|
|
4473
4473
|
_A.prototype[A] = C(), _A.prototype[A + "Form"] = C(!0);
|
|
4474
4474
|
});
|
|
4475
|
-
let Dc = class
|
|
4475
|
+
let Dc = class fE {
|
|
4476
4476
|
constructor(A) {
|
|
4477
4477
|
if (typeof A != "function")
|
|
4478
4478
|
throw new TypeError("executor must be a function.");
|
|
@@ -4538,7 +4538,7 @@ let Dc = class uE {
|
|
|
4538
4538
|
static source() {
|
|
4539
4539
|
let A;
|
|
4540
4540
|
return {
|
|
4541
|
-
token: new
|
|
4541
|
+
token: new fE(function(Q) {
|
|
4542
4542
|
A = Q;
|
|
4543
4543
|
}),
|
|
4544
4544
|
cancel: A
|
|
@@ -4621,18 +4621,18 @@ const EB = {
|
|
|
4621
4621
|
Object.entries(EB).forEach(([g, A]) => {
|
|
4622
4622
|
EB[A] = g;
|
|
4623
4623
|
});
|
|
4624
|
-
function
|
|
4625
|
-
const A = new _A(g), C =
|
|
4624
|
+
function uE(g) {
|
|
4625
|
+
const A = new _A(g), C = UI(_A.prototype.request, A);
|
|
4626
4626
|
return P.extend(C, _A.prototype, A, { allOwnKeys: !0 }), P.extend(C, A, null, { allOwnKeys: !0 }), C.create = function(Q) {
|
|
4627
|
-
return
|
|
4627
|
+
return uE(gg(g, Q));
|
|
4628
4628
|
}, C;
|
|
4629
4629
|
}
|
|
4630
|
-
const wA =
|
|
4630
|
+
const wA = uE(Yg);
|
|
4631
4631
|
wA.Axios = _A;
|
|
4632
4632
|
wA.CanceledError = rg;
|
|
4633
4633
|
wA.CancelToken = Dc;
|
|
4634
|
-
wA.isCancel =
|
|
4635
|
-
wA.VERSION =
|
|
4634
|
+
wA.isCancel = eE;
|
|
4635
|
+
wA.VERSION = sE;
|
|
4636
4636
|
wA.toFormData = Vg;
|
|
4637
4637
|
wA.AxiosError = p;
|
|
4638
4638
|
wA.Cancel = wA.CanceledError;
|
|
@@ -4643,8 +4643,8 @@ wA.spread = cc;
|
|
|
4643
4643
|
wA.isAxiosError = sc;
|
|
4644
4644
|
wA.mergeConfig = gg;
|
|
4645
4645
|
wA.AxiosHeaders = kA;
|
|
4646
|
-
wA.formToJSON = (g) =>
|
|
4647
|
-
wA.getAdapter =
|
|
4646
|
+
wA.formToJSON = (g) => tE(P.isHTMLForm(g) ? new FormData(g) : g);
|
|
4647
|
+
wA.getAdapter = cE.getAdapter;
|
|
4648
4648
|
wA.HttpStatusCode = EB;
|
|
4649
4649
|
wA.default = wA;
|
|
4650
4650
|
const {
|
|
@@ -4723,7 +4723,7 @@ const jQ = [
|
|
|
4723
4723
|
}
|
|
4724
4724
|
];
|
|
4725
4725
|
var ff = typeof globalThis != "undefined" ? globalThis : typeof window != "undefined" ? window : typeof global != "undefined" ? global : typeof self != "undefined" ? self : {};
|
|
4726
|
-
function
|
|
4726
|
+
function ME(g) {
|
|
4727
4727
|
return g && g.__esModule && Object.prototype.hasOwnProperty.call(g, "default") ? g.default : g;
|
|
4728
4728
|
}
|
|
4729
4729
|
var eC = { exports: {} }, KQ;
|
|
@@ -5075,7 +5075,7 @@ function iB() {
|
|
|
5075
5075
|
return NQ || (NQ = 1, iC = (g, A) => `${g}-${A}-${Math.random().toString(16).slice(3, 8)}`), iC;
|
|
5076
5076
|
}
|
|
5077
5077
|
var wC, XQ;
|
|
5078
|
-
function
|
|
5078
|
+
function aE() {
|
|
5079
5079
|
if (XQ) return wC;
|
|
5080
5080
|
XQ = 1;
|
|
5081
5081
|
const g = iB();
|
|
@@ -5106,7 +5106,7 @@ var oC, xQ;
|
|
|
5106
5106
|
function ac() {
|
|
5107
5107
|
if (xQ) return oC;
|
|
5108
5108
|
xQ = 1;
|
|
5109
|
-
const g =
|
|
5109
|
+
const g = aE(), { log: A } = wB(), C = iB();
|
|
5110
5110
|
let B = 0;
|
|
5111
5111
|
return oC = () => {
|
|
5112
5112
|
const Q = C("Scheduler", B), I = {}, E = {};
|
|
@@ -5174,7 +5174,7 @@ function dc() {
|
|
|
5174
5174
|
}, DC;
|
|
5175
5175
|
}
|
|
5176
5176
|
var cC, UQ;
|
|
5177
|
-
function
|
|
5177
|
+
function hE() {
|
|
5178
5178
|
return UQ || (UQ = 1, cC = {
|
|
5179
5179
|
TESSERACT_ONLY: 0,
|
|
5180
5180
|
LSTM_ONLY: 1,
|
|
@@ -5287,10 +5287,10 @@ function Gc() {
|
|
|
5287
5287
|
}, dC;
|
|
5288
5288
|
}
|
|
5289
5289
|
var PC, BI;
|
|
5290
|
-
function
|
|
5290
|
+
function vE() {
|
|
5291
5291
|
if (BI) return PC;
|
|
5292
5292
|
BI = 1;
|
|
5293
|
-
const g = dc(), A =
|
|
5293
|
+
const g = dc(), A = aE(), { log: C } = wB(), B = iB(), Q = hE(), {
|
|
5294
5294
|
defaultOptions: I,
|
|
5295
5295
|
spawnWorker: E,
|
|
5296
5296
|
terminateWorker: n,
|
|
@@ -5433,7 +5433,7 @@ var JC, QI;
|
|
|
5433
5433
|
function Fc() {
|
|
5434
5434
|
if (QI) return JC;
|
|
5435
5435
|
QI = 1;
|
|
5436
|
-
const g =
|
|
5436
|
+
const g = vE();
|
|
5437
5437
|
return JC = {
|
|
5438
5438
|
recognize: (B, Q, I) => X(null, null, function* () {
|
|
5439
5439
|
const E = yield g(Q, 1, I);
|
|
@@ -5579,7 +5579,7 @@ var YC, nI;
|
|
|
5579
5579
|
function qc() {
|
|
5580
5580
|
if (nI) return YC;
|
|
5581
5581
|
nI = 1, Mc();
|
|
5582
|
-
const g = ac(), A =
|
|
5582
|
+
const g = ac(), A = vE(), C = Fc(), B = yc(), Q = hE(), I = mc(), { setLogging: E } = wB();
|
|
5583
5583
|
return YC = L({
|
|
5584
5584
|
languages: B,
|
|
5585
5585
|
OEM: Q,
|
|
@@ -5590,7 +5590,7 @@ function qc() {
|
|
|
5590
5590
|
}, C), YC;
|
|
5591
5591
|
}
|
|
5592
5592
|
var Lc = qc();
|
|
5593
|
-
const jc = /* @__PURE__ */
|
|
5593
|
+
const jc = /* @__PURE__ */ ME(Lc);
|
|
5594
5594
|
var Xg;
|
|
5595
5595
|
(function(g) {
|
|
5596
5596
|
g.EN = "eng", g.VI = "vie";
|
|
@@ -6095,8 +6095,8 @@ function Wc(B) {
|
|
|
6095
6095
|
const fA = yield pc(j, "vie");
|
|
6096
6096
|
if (fA) {
|
|
6097
6097
|
if (D.inputEl.value = fA == null ? void 0 : fA.full_name, fA != null && fA.dob) {
|
|
6098
|
-
const [fg,
|
|
6099
|
-
c.inputEl.value = `${
|
|
6098
|
+
const [fg, kE, YE] = fA.dob.split("/"), AC = new Date(+YE, +kE - 1, +fg), HE = AC.getFullYear(), zE = String(AC.getMonth() + 1).padStart(2, "0"), lE = String(AC.getDate()).padStart(2, "0");
|
|
6099
|
+
c.inputEl.value = `${HE}-${zE}-${lE}`;
|
|
6100
6100
|
}
|
|
6101
6101
|
v.inputEl.value = fA == null ? void 0 : fA.place_of_residence, M.selectEl.value = bQ.find((fg) => fg.label.toLocaleLowerCase() === (fA == null ? void 0 : fA.sex.toLocaleLowerCase())).value, a.selectEl.value = jQ.find(
|
|
6102
6102
|
(fg) => fg.label === (fA == null ? void 0 : fA.nationality)
|
|
@@ -6370,7 +6370,7 @@ function tI({
|
|
|
6370
6370
|
"wgt:font-semibold",
|
|
6371
6371
|
w ? "wgt:text-primary" : "wgt:text-"
|
|
6372
6372
|
].join(" "), c.innerText = i.name.split("-")[0], D.appendChild(c);
|
|
6373
|
-
const { container: M } =
|
|
6373
|
+
const { container: M } = pI({
|
|
6374
6374
|
checked: w,
|
|
6375
6375
|
onChange: (J) => {
|
|
6376
6376
|
J && (C = i._id, typeof B == "function" && B(i._id), E());
|
|
@@ -7434,7 +7434,7 @@ function fs() {
|
|
|
7434
7434
|
}(mC)), mC;
|
|
7435
7435
|
}
|
|
7436
7436
|
var Gg = {}, fI;
|
|
7437
|
-
function
|
|
7437
|
+
function dE() {
|
|
7438
7438
|
if (fI) return Gg;
|
|
7439
7439
|
fI = 1;
|
|
7440
7440
|
const g = rB(), A = [
|
|
@@ -7863,13 +7863,13 @@ function as() {
|
|
|
7863
7863
|
}, LC = A, LC;
|
|
7864
7864
|
}
|
|
7865
7865
|
var jC = {}, bC = {}, KC = {}, hI;
|
|
7866
|
-
function
|
|
7866
|
+
function PE() {
|
|
7867
7867
|
return hI || (hI = 1, KC.isValid = function(A) {
|
|
7868
7868
|
return !isNaN(A) && A >= 1 && A <= 40;
|
|
7869
7869
|
}), KC;
|
|
7870
7870
|
}
|
|
7871
7871
|
var qA = {}, vI;
|
|
7872
|
-
function
|
|
7872
|
+
function JE() {
|
|
7873
7873
|
if (vI) return qA;
|
|
7874
7874
|
vI = 1;
|
|
7875
7875
|
const g = "[0-9]+", A = "[A-Z $%*+\\-./:]+";
|
|
@@ -7890,7 +7890,7 @@ function RE() {
|
|
|
7890
7890
|
var dI;
|
|
7891
7891
|
function Bg() {
|
|
7892
7892
|
return dI || (dI = 1, function(g) {
|
|
7893
|
-
const A =
|
|
7893
|
+
const A = PE(), C = JE();
|
|
7894
7894
|
g.NUMERIC = {
|
|
7895
7895
|
id: "Numeric",
|
|
7896
7896
|
bit: 1,
|
|
@@ -7952,7 +7952,7 @@ function Bg() {
|
|
|
7952
7952
|
var PI;
|
|
7953
7953
|
function hs() {
|
|
7954
7954
|
return PI || (PI = 1, function(g) {
|
|
7955
|
-
const A = Cg(), C =
|
|
7955
|
+
const A = Cg(), C = dE(), B = rB(), Q = Bg(), I = PE(), E = 7973, n = A.getBCHDigit(E);
|
|
7956
7956
|
function t(r, o, D) {
|
|
7957
7957
|
for (let c = 1; c <= 40; c++)
|
|
7958
7958
|
if (o <= g.getCapacity(c, D, r))
|
|
@@ -8240,7 +8240,7 @@ function ks() {
|
|
|
8240
8240
|
var lI;
|
|
8241
8241
|
function Ys() {
|
|
8242
8242
|
return lI || (lI = 1, function(g) {
|
|
8243
|
-
const A = Bg(), C = ds(), B = Ps(), Q = Js(), I = Rs(), E =
|
|
8243
|
+
const A = Bg(), C = ds(), B = Ps(), Q = Js(), I = Rs(), E = JE(), n = Cg(), t = ks();
|
|
8244
8244
|
function e(d) {
|
|
8245
8245
|
return unescape(encodeURIComponent(d)).length;
|
|
8246
8246
|
}
|
|
@@ -8375,7 +8375,7 @@ var OI;
|
|
|
8375
8375
|
function Hs() {
|
|
8376
8376
|
if (OI) return zC;
|
|
8377
8377
|
OI = 1;
|
|
8378
|
-
const g = Cg(), A = rB(), C = rs(), B = Ds(), Q = cs(), I = ss(), E = fs(), n =
|
|
8378
|
+
const g = Cg(), A = rB(), C = rs(), B = Ds(), Q = cs(), I = ss(), E = fs(), n = dE(), t = as(), e = hs(), i = vs(), w = Bg(), r = Ys();
|
|
8379
8379
|
function o(h, J) {
|
|
8380
8380
|
const R = h.size, k = I.getPositions(J);
|
|
8381
8381
|
for (let l = 0; l < k.length; l++) {
|
|
@@ -8509,7 +8509,7 @@ Minimum version required to store current data is: ` + O + `.
|
|
|
8509
8509
|
}, zC;
|
|
8510
8510
|
}
|
|
8511
8511
|
var ZC = {}, WC = {}, GI;
|
|
8512
|
-
function
|
|
8512
|
+
function RE() {
|
|
8513
8513
|
return GI || (GI = 1, function(g) {
|
|
8514
8514
|
function A(C) {
|
|
8515
8515
|
if (typeof C == "number" && (C = C.toString()), typeof C != "string")
|
|
@@ -8565,7 +8565,7 @@ function kE() {
|
|
|
8565
8565
|
var FI;
|
|
8566
8566
|
function zs() {
|
|
8567
8567
|
return FI || (FI = 1, function(g) {
|
|
8568
|
-
const A =
|
|
8568
|
+
const A = RE();
|
|
8569
8569
|
function C(Q, I, E) {
|
|
8570
8570
|
Q.clearRect(0, 0, I.width, I.height), I.style || (I.style = {}), I.height = E, I.width = E, I.style.height = E + "px", I.style.width = E + "px";
|
|
8571
8571
|
}
|
|
@@ -8593,7 +8593,7 @@ var VC = {}, yI;
|
|
|
8593
8593
|
function ls() {
|
|
8594
8594
|
if (yI) return VC;
|
|
8595
8595
|
yI = 1;
|
|
8596
|
-
const g =
|
|
8596
|
+
const g = RE();
|
|
8597
8597
|
function A(Q, I) {
|
|
8598
8598
|
const E = Q.a / 255, n = I + '="' + Q.hex + '"';
|
|
8599
8599
|
return E < 1 ? n + " " + I + '-opacity="' + E.toFixed(2).slice(1) + '"' : n;
|
|
@@ -8653,7 +8653,7 @@ function Os() {
|
|
|
8653
8653
|
}), eg;
|
|
8654
8654
|
}
|
|
8655
8655
|
var Gs = Os();
|
|
8656
|
-
const Fs = /* @__PURE__ */
|
|
8656
|
+
const Fs = /* @__PURE__ */ ME(Gs);
|
|
8657
8657
|
function ys(E) {
|
|
8658
8658
|
return X(this, arguments, function* ({
|
|
8659
8659
|
onNext: g,
|
|
@@ -9166,12 +9166,11 @@ function uf(g) {
|
|
|
9166
9166
|
function C() {
|
|
9167
9167
|
A.innerHTML = "", g.onClose && g.onClose();
|
|
9168
9168
|
}
|
|
9169
|
-
return
|
|
9169
|
+
return Zs(
|
|
9170
9170
|
A,
|
|
9171
9171
|
C,
|
|
9172
9172
|
g.data || {},
|
|
9173
|
-
g.theme
|
|
9174
|
-
g.language
|
|
9173
|
+
g.theme
|
|
9175
9174
|
), { destroy: C };
|
|
9176
9175
|
}
|
|
9177
9176
|
function Mf(g) {
|
|
@@ -9181,10 +9180,16 @@ function Mf(g) {
|
|
|
9181
9180
|
function C() {
|
|
9182
9181
|
A.innerHTML = "", g.onClose && g.onClose();
|
|
9183
9182
|
}
|
|
9184
|
-
return
|
|
9183
|
+
return Ws(A, C, g.data || {}, g.theme), { destroy: C };
|
|
9184
|
+
}
|
|
9185
|
+
function af(g) {
|
|
9186
|
+
if (g !== "vi" && g !== "en")
|
|
9187
|
+
throw new Error(`[WidgetSDK] Unsupported language: ${g}`);
|
|
9188
|
+
zr(g);
|
|
9185
9189
|
}
|
|
9186
9190
|
export {
|
|
9187
9191
|
Mf as a,
|
|
9188
9192
|
ff as c,
|
|
9189
|
-
uf as i
|
|
9193
|
+
uf as i,
|
|
9194
|
+
af as s
|
|
9190
9195
|
};
|