fge-auth-component 4.0.37 → 4.0.38
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/fge-auth-component.es.js +544 -542
- package/dist/fge-auth-component.umd.js +2 -2
- package/package.json +1 -1
|
@@ -6374,7 +6374,7 @@ function e6(t) {
|
|
|
6374
6374
|
e.reduce((n, o) => vl(n, o, ""), {})
|
|
6375
6375
|
);
|
|
6376
6376
|
}
|
|
6377
|
-
const t6 = e6(), [D1,
|
|
6377
|
+
const t6 = e6(), [D1, xI] = Ve("ConfigProvider");
|
|
6378
6378
|
let n6 = "useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict", o6 = (t = 21) => {
|
|
6379
6379
|
let e = "", n = t;
|
|
6380
6380
|
for (; n--; )
|
|
@@ -13222,57 +13222,57 @@ const ee = "numeric", Qt = "short", yt = "long", ds = {
|
|
|
13222
13222
|
hour: ee,
|
|
13223
13223
|
minute: ee,
|
|
13224
13224
|
second: ee
|
|
13225
|
-
},
|
|
13225
|
+
}, e3 = {
|
|
13226
13226
|
hour: ee,
|
|
13227
13227
|
minute: ee,
|
|
13228
13228
|
second: ee,
|
|
13229
13229
|
timeZoneName: Qt
|
|
13230
|
-
},
|
|
13230
|
+
}, t3 = {
|
|
13231
13231
|
hour: ee,
|
|
13232
13232
|
minute: ee,
|
|
13233
13233
|
second: ee,
|
|
13234
13234
|
timeZoneName: yt
|
|
13235
|
-
},
|
|
13235
|
+
}, n3 = {
|
|
13236
13236
|
hour: ee,
|
|
13237
13237
|
minute: ee,
|
|
13238
13238
|
hourCycle: "h23"
|
|
13239
|
-
},
|
|
13239
|
+
}, o3 = {
|
|
13240
13240
|
hour: ee,
|
|
13241
13241
|
minute: ee,
|
|
13242
13242
|
second: ee,
|
|
13243
13243
|
hourCycle: "h23"
|
|
13244
|
-
},
|
|
13244
|
+
}, r3 = {
|
|
13245
13245
|
hour: ee,
|
|
13246
13246
|
minute: ee,
|
|
13247
13247
|
second: ee,
|
|
13248
13248
|
hourCycle: "h23",
|
|
13249
13249
|
timeZoneName: Qt
|
|
13250
|
-
},
|
|
13250
|
+
}, a3 = {
|
|
13251
13251
|
hour: ee,
|
|
13252
13252
|
minute: ee,
|
|
13253
13253
|
second: ee,
|
|
13254
13254
|
hourCycle: "h23",
|
|
13255
13255
|
timeZoneName: yt
|
|
13256
|
-
},
|
|
13256
|
+
}, s3 = {
|
|
13257
13257
|
year: ee,
|
|
13258
13258
|
month: ee,
|
|
13259
13259
|
day: ee,
|
|
13260
13260
|
hour: ee,
|
|
13261
13261
|
minute: ee
|
|
13262
|
-
},
|
|
13262
|
+
}, i3 = {
|
|
13263
13263
|
year: ee,
|
|
13264
13264
|
month: ee,
|
|
13265
13265
|
day: ee,
|
|
13266
13266
|
hour: ee,
|
|
13267
13267
|
minute: ee,
|
|
13268
13268
|
second: ee
|
|
13269
|
-
},
|
|
13269
|
+
}, l3 = {
|
|
13270
13270
|
year: ee,
|
|
13271
13271
|
month: Qt,
|
|
13272
13272
|
day: ee,
|
|
13273
13273
|
hour: ee,
|
|
13274
13274
|
minute: ee
|
|
13275
|
-
},
|
|
13275
|
+
}, c3 = {
|
|
13276
13276
|
year: ee,
|
|
13277
13277
|
month: Qt,
|
|
13278
13278
|
day: ee,
|
|
@@ -13286,14 +13286,14 @@ const ee = "numeric", Qt = "short", yt = "long", ds = {
|
|
|
13286
13286
|
weekday: Qt,
|
|
13287
13287
|
hour: ee,
|
|
13288
13288
|
minute: ee
|
|
13289
|
-
},
|
|
13289
|
+
}, u3 = {
|
|
13290
13290
|
year: ee,
|
|
13291
13291
|
month: yt,
|
|
13292
13292
|
day: ee,
|
|
13293
13293
|
hour: ee,
|
|
13294
13294
|
minute: ee,
|
|
13295
13295
|
timeZoneName: Qt
|
|
13296
|
-
},
|
|
13296
|
+
}, A3 = {
|
|
13297
13297
|
year: ee,
|
|
13298
13298
|
month: yt,
|
|
13299
13299
|
day: ee,
|
|
@@ -13301,7 +13301,7 @@ const ee = "numeric", Qt = "short", yt = "long", ds = {
|
|
|
13301
13301
|
minute: ee,
|
|
13302
13302
|
second: ee,
|
|
13303
13303
|
timeZoneName: Qt
|
|
13304
|
-
},
|
|
13304
|
+
}, d3 = {
|
|
13305
13305
|
year: ee,
|
|
13306
13306
|
month: yt,
|
|
13307
13307
|
day: ee,
|
|
@@ -13309,7 +13309,7 @@ const ee = "numeric", Qt = "short", yt = "long", ds = {
|
|
|
13309
13309
|
hour: ee,
|
|
13310
13310
|
minute: ee,
|
|
13311
13311
|
timeZoneName: yt
|
|
13312
|
-
},
|
|
13312
|
+
}, f3 = {
|
|
13313
13313
|
year: ee,
|
|
13314
13314
|
month: yt,
|
|
13315
13315
|
day: ee,
|
|
@@ -13420,7 +13420,7 @@ class Js extends na {
|
|
|
13420
13420
|
}
|
|
13421
13421
|
/** @override **/
|
|
13422
13422
|
offsetName(e, { format: n, locale: o }) {
|
|
13423
|
-
return
|
|
13423
|
+
return C3(e, n, o);
|
|
13424
13424
|
}
|
|
13425
13425
|
/** @override **/
|
|
13426
13426
|
formatOffset(e, n) {
|
|
@@ -13535,7 +13535,7 @@ class dn extends na {
|
|
|
13535
13535
|
}
|
|
13536
13536
|
/** @override **/
|
|
13537
13537
|
offsetName(e, { format: n, locale: o }) {
|
|
13538
|
-
return
|
|
13538
|
+
return C3(e, n, o, this.name);
|
|
13539
13539
|
}
|
|
13540
13540
|
/** @override **/
|
|
13541
13541
|
formatOffset(e, n) {
|
|
@@ -13708,7 +13708,7 @@ class z9 {
|
|
|
13708
13708
|
}
|
|
13709
13709
|
class j9 {
|
|
13710
13710
|
constructor(e, n, o) {
|
|
13711
|
-
this.opts = { style: "long", ...o }, !n &&
|
|
13711
|
+
this.opts = { style: "long", ...o }, !n && w3() && (this.rtf = R9(e, o));
|
|
13712
13712
|
}
|
|
13713
13713
|
format(e, n) {
|
|
13714
13714
|
return this.rtf ? this.rtf.format(e, n) : fg(n, e, this.opts.numeric, this.opts.style !== "long");
|
|
@@ -13769,13 +13769,13 @@ class ke {
|
|
|
13769
13769
|
return this.clone({ ...e, defaultToEN: !1 });
|
|
13770
13770
|
}
|
|
13771
13771
|
months(e, n = !1) {
|
|
13772
|
-
return ya(this, e,
|
|
13772
|
+
return ya(this, e, S3, () => {
|
|
13773
13773
|
const o = n ? { month: e, day: "numeric" } : { month: e }, r = n ? "format" : "standalone";
|
|
13774
13774
|
return this.monthsCache[r][e] || (this.monthsCache[r][e] = Q9((a) => this.extract(a, o, "month"))), this.monthsCache[r][e];
|
|
13775
13775
|
});
|
|
13776
13776
|
}
|
|
13777
13777
|
weekdays(e, n = !1) {
|
|
13778
|
-
return ya(this, e,
|
|
13778
|
+
return ya(this, e, k3, () => {
|
|
13779
13779
|
const o = n ? { weekday: e, year: "numeric", month: "long", day: "numeric" } : { weekday: e }, r = n ? "format" : "standalone";
|
|
13780
13780
|
return this.weekdaysCache[r][e] || (this.weekdaysCache[r][e] = H9(
|
|
13781
13781
|
(a) => this.extract(a, o, "weekday")
|
|
@@ -13786,7 +13786,7 @@ class ke {
|
|
|
13786
13786
|
return ya(
|
|
13787
13787
|
this,
|
|
13788
13788
|
void 0,
|
|
13789
|
-
() =>
|
|
13789
|
+
() => T3,
|
|
13790
13790
|
() => {
|
|
13791
13791
|
if (!this.meridiemCache) {
|
|
13792
13792
|
const e = { hour: "numeric", hourCycle: "h12" };
|
|
@@ -13799,7 +13799,7 @@ class ke {
|
|
|
13799
13799
|
);
|
|
13800
13800
|
}
|
|
13801
13801
|
eras(e) {
|
|
13802
|
-
return ya(this, e,
|
|
13802
|
+
return ya(this, e, I3, () => {
|
|
13803
13803
|
const n = { era: e };
|
|
13804
13804
|
return this.eraCache[e] || (this.eraCache[e] = [ae.utc(-40, 1, 1), ae.utc(2017, 1, 1)].map(
|
|
13805
13805
|
(o) => this.extract(o, n, "era")
|
|
@@ -13826,7 +13826,7 @@ class ke {
|
|
|
13826
13826
|
return this.locale === "en" || this.locale.toLowerCase() === "en-us" || new Intl.DateTimeFormat(this.intl).resolvedOptions().locale.startsWith("en-us");
|
|
13827
13827
|
}
|
|
13828
13828
|
getWeekSettings() {
|
|
13829
|
-
return this.weekSettings ? this.weekSettings :
|
|
13829
|
+
return this.weekSettings ? this.weekSettings : b3() ? _9(this.locale) : J9;
|
|
13830
13830
|
}
|
|
13831
13831
|
getStartOfWeek() {
|
|
13832
13832
|
return this.getWeekSettings().firstDay;
|
|
@@ -14107,7 +14107,7 @@ class Nt {
|
|
|
14107
14107
|
return this.explanation ? `${this.reason}: ${this.explanation}` : this.reason;
|
|
14108
14108
|
}
|
|
14109
14109
|
}
|
|
14110
|
-
const
|
|
14110
|
+
const h3 = [0, 31, 59, 90, 120, 151, 181, 212, 243, 273, 304, 334], p3 = [0, 31, 60, 91, 121, 152, 182, 213, 244, 274, 305, 335];
|
|
14111
14111
|
function kt(t, e) {
|
|
14112
14112
|
return new Nt(
|
|
14113
14113
|
"unit out of range",
|
|
@@ -14120,18 +14120,18 @@ function H1(t, e, n) {
|
|
|
14120
14120
|
const r = o.getUTCDay();
|
|
14121
14121
|
return r === 0 ? 7 : r;
|
|
14122
14122
|
}
|
|
14123
|
-
function
|
|
14124
|
-
return n + (oa(t) ?
|
|
14123
|
+
function m3(t, e, n) {
|
|
14124
|
+
return n + (oa(t) ? p3 : h3)[e - 1];
|
|
14125
14125
|
}
|
|
14126
|
-
function
|
|
14127
|
-
const n = oa(t) ?
|
|
14126
|
+
function g3(t, e) {
|
|
14127
|
+
const n = oa(t) ? p3 : h3, o = n.findIndex((a) => a < e), r = e - n[o];
|
|
14128
14128
|
return { month: o + 1, day: r };
|
|
14129
14129
|
}
|
|
14130
14130
|
function q1(t, e) {
|
|
14131
14131
|
return (t - e + 7) % 7 + 1;
|
|
14132
14132
|
}
|
|
14133
14133
|
function fs(t, e = 4, n = 1) {
|
|
14134
|
-
const { year: o, month: r, day: a } = t, s =
|
|
14134
|
+
const { year: o, month: r, day: a } = t, s = m3(o, r, a), i = q1(H1(o, r, a), n);
|
|
14135
14135
|
let l = Math.floor((s - i + 14 - e) / 7), u;
|
|
14136
14136
|
return l < 1 ? (u = o - 1, l = Vr(u, e, n)) : l > Vr(o, e, n) ? (u = o + 1, l = 1) : u = o, { weekYear: u, weekNumber: l, weekday: i, ...Ys(t) };
|
|
14137
14137
|
}
|
|
@@ -14139,15 +14139,15 @@ function Uu(t, e = 4, n = 1) {
|
|
|
14139
14139
|
const { weekYear: o, weekNumber: r, weekday: a } = t, s = q1(H1(o, 1, e), n), i = Ro(o);
|
|
14140
14140
|
let l = r * 7 + a - s - 7 + e, u;
|
|
14141
14141
|
l < 1 ? (u = o - 1, l += Ro(u)) : l > i ? (u = o + 1, l -= Ro(o)) : u = o;
|
|
14142
|
-
const { month: A, day: d } =
|
|
14142
|
+
const { month: A, day: d } = g3(u, l);
|
|
14143
14143
|
return { year: u, month: A, day: d, ...Ys(t) };
|
|
14144
14144
|
}
|
|
14145
14145
|
function Li(t) {
|
|
14146
|
-
const { year: e, month: n, day: o } = t, r =
|
|
14146
|
+
const { year: e, month: n, day: o } = t, r = m3(e, n, o);
|
|
14147
14147
|
return { year: e, ordinal: r, ...Ys(t) };
|
|
14148
14148
|
}
|
|
14149
14149
|
function _u(t) {
|
|
14150
|
-
const { year: e, ordinal: n } = t, { month: o, day: r } =
|
|
14150
|
+
const { year: e, ordinal: n } = t, { month: o, day: r } = g3(e, n);
|
|
14151
14151
|
return { year: e, month: o, day: r, ...Ys(t) };
|
|
14152
14152
|
}
|
|
14153
14153
|
function Vu(t, e) {
|
|
@@ -14175,11 +14175,11 @@ function $9(t) {
|
|
|
14175
14175
|
const e = Xs(t.year), n = Tt(t.ordinal, 1, Ro(t.year));
|
|
14176
14176
|
return e ? n ? !1 : kt("ordinal", t.ordinal) : kt("year", t.year);
|
|
14177
14177
|
}
|
|
14178
|
-
function
|
|
14178
|
+
function v3(t) {
|
|
14179
14179
|
const e = Xs(t.year), n = Tt(t.month, 1, 12), o = Tt(t.day, 1, hs(t.year, t.month));
|
|
14180
14180
|
return e ? n ? o ? !1 : kt("day", t.day) : kt("month", t.month) : kt("year", t.year);
|
|
14181
14181
|
}
|
|
14182
|
-
function
|
|
14182
|
+
function y3(t) {
|
|
14183
14183
|
const { hour: e, minute: n, second: o, millisecond: r } = t, a = Tt(e, 0, 23) || e === 24 && n === 0 && o === 0 && r === 0, s = Tt(n, 0, 59), i = Tt(o, 0, 59), l = Tt(r, 0, 999);
|
|
14184
14184
|
return a ? s ? i ? l ? !1 : kt("millisecond", r) : kt("second", o) : kt("minute", n) : kt("hour", e);
|
|
14185
14185
|
}
|
|
@@ -14198,14 +14198,14 @@ function Y9(t) {
|
|
|
14198
14198
|
function G9(t) {
|
|
14199
14199
|
return Object.prototype.toString.call(t) === "[object Date]";
|
|
14200
14200
|
}
|
|
14201
|
-
function
|
|
14201
|
+
function w3() {
|
|
14202
14202
|
try {
|
|
14203
14203
|
return typeof Intl < "u" && !!Intl.RelativeTimeFormat;
|
|
14204
14204
|
} catch {
|
|
14205
14205
|
return !1;
|
|
14206
14206
|
}
|
|
14207
14207
|
}
|
|
14208
|
-
function
|
|
14208
|
+
function b3() {
|
|
14209
14209
|
try {
|
|
14210
14210
|
return typeof Intl < "u" && !!Intl.Locale && ("weekInfo" in Intl.Locale.prototype || "getWeekInfo" in Intl.Locale.prototype);
|
|
14211
14211
|
} catch {
|
|
@@ -14302,7 +14302,7 @@ function Vr(t, e = 4, n = 1) {
|
|
|
14302
14302
|
function Pl(t) {
|
|
14303
14303
|
return t > 99 ? t : t > Ue.twoDigitCutoffYear ? 1900 + t : 2e3 + t;
|
|
14304
14304
|
}
|
|
14305
|
-
function
|
|
14305
|
+
function C3(t, e, n, o = null) {
|
|
14306
14306
|
const r = new Date(t), a = {
|
|
14307
14307
|
hourCycle: "h23",
|
|
14308
14308
|
year: "numeric",
|
|
@@ -14321,7 +14321,7 @@ function $s(t, e) {
|
|
|
14321
14321
|
const o = parseInt(e, 10) || 0, r = n < 0 || Object.is(n, -0) ? -o : o;
|
|
14322
14322
|
return n * 60 + r;
|
|
14323
14323
|
}
|
|
14324
|
-
function
|
|
14324
|
+
function E3(t) {
|
|
14325
14325
|
const e = Number(t);
|
|
14326
14326
|
if (typeof t == "boolean" || t === "" || Number.isNaN(e))
|
|
14327
14327
|
throw new ct(`Invalid unit value ${t}`);
|
|
@@ -14333,7 +14333,7 @@ function ps(t, e) {
|
|
|
14333
14333
|
if (Wo(t, o)) {
|
|
14334
14334
|
const r = t[o];
|
|
14335
14335
|
if (r == null) continue;
|
|
14336
|
-
n[e(o)] =
|
|
14336
|
+
n[e(o)] = E3(r);
|
|
14337
14337
|
}
|
|
14338
14338
|
return n;
|
|
14339
14339
|
}
|
|
@@ -14366,7 +14366,7 @@ const og = [
|
|
|
14366
14366
|
"October",
|
|
14367
14367
|
"November",
|
|
14368
14368
|
"December"
|
|
14369
|
-
],
|
|
14369
|
+
], B3 = [
|
|
14370
14370
|
"Jan",
|
|
14371
14371
|
"Feb",
|
|
14372
14372
|
"Mar",
|
|
@@ -14380,12 +14380,12 @@ const og = [
|
|
|
14380
14380
|
"Nov",
|
|
14381
14381
|
"Dec"
|
|
14382
14382
|
], rg = ["J", "F", "M", "A", "M", "J", "J", "A", "S", "O", "N", "D"];
|
|
14383
|
-
function
|
|
14383
|
+
function S3(t) {
|
|
14384
14384
|
switch (t) {
|
|
14385
14385
|
case "narrow":
|
|
14386
14386
|
return [...rg];
|
|
14387
14387
|
case "short":
|
|
14388
|
-
return [...
|
|
14388
|
+
return [...B3];
|
|
14389
14389
|
case "long":
|
|
14390
14390
|
return [...og];
|
|
14391
14391
|
case "numeric":
|
|
@@ -14396,7 +14396,7 @@ function S0(t) {
|
|
|
14396
14396
|
return null;
|
|
14397
14397
|
}
|
|
14398
14398
|
}
|
|
14399
|
-
const
|
|
14399
|
+
const O3 = [
|
|
14400
14400
|
"Monday",
|
|
14401
14401
|
"Tuesday",
|
|
14402
14402
|
"Wednesday",
|
|
@@ -14404,23 +14404,23 @@ const O0 = [
|
|
|
14404
14404
|
"Friday",
|
|
14405
14405
|
"Saturday",
|
|
14406
14406
|
"Sunday"
|
|
14407
|
-
],
|
|
14408
|
-
function
|
|
14407
|
+
], D3 = ["Mon", "Tue", "Wed", "Thu", "Fri", "Sat", "Sun"], ag = ["M", "T", "W", "T", "F", "S", "S"];
|
|
14408
|
+
function k3(t) {
|
|
14409
14409
|
switch (t) {
|
|
14410
14410
|
case "narrow":
|
|
14411
14411
|
return [...ag];
|
|
14412
14412
|
case "short":
|
|
14413
|
-
return [...
|
|
14413
|
+
return [...D3];
|
|
14414
14414
|
case "long":
|
|
14415
|
-
return [...
|
|
14415
|
+
return [...O3];
|
|
14416
14416
|
case "numeric":
|
|
14417
14417
|
return ["1", "2", "3", "4", "5", "6", "7"];
|
|
14418
14418
|
default:
|
|
14419
14419
|
return null;
|
|
14420
14420
|
}
|
|
14421
14421
|
}
|
|
14422
|
-
const
|
|
14423
|
-
function
|
|
14422
|
+
const T3 = ["AM", "PM"], sg = ["Before Christ", "Anno Domini"], ig = ["BC", "AD"], lg = ["B", "A"];
|
|
14423
|
+
function I3(t) {
|
|
14424
14424
|
switch (t) {
|
|
14425
14425
|
case "narrow":
|
|
14426
14426
|
return [...lg];
|
|
@@ -14433,16 +14433,16 @@ function I0(t) {
|
|
|
14433
14433
|
}
|
|
14434
14434
|
}
|
|
14435
14435
|
function cg(t) {
|
|
14436
|
-
return
|
|
14436
|
+
return T3[t.hour < 12 ? 0 : 1];
|
|
14437
14437
|
}
|
|
14438
14438
|
function ug(t, e) {
|
|
14439
|
-
return
|
|
14439
|
+
return k3(e)[t.weekday - 1];
|
|
14440
14440
|
}
|
|
14441
14441
|
function Ag(t, e) {
|
|
14442
|
-
return
|
|
14442
|
+
return S3(e)[t.month - 1];
|
|
14443
14443
|
}
|
|
14444
14444
|
function dg(t, e) {
|
|
14445
|
-
return
|
|
14445
|
+
return I3(e)[t.year < 0 ? 0 : 1];
|
|
14446
14446
|
}
|
|
14447
14447
|
function fg(t, e, n = "always", o = !1) {
|
|
14448
14448
|
const r = {
|
|
@@ -14482,20 +14482,20 @@ const hg = {
|
|
|
14482
14482
|
DDDD: $2,
|
|
14483
14483
|
t: Y2,
|
|
14484
14484
|
tt: G2,
|
|
14485
|
-
ttt:
|
|
14486
|
-
tttt:
|
|
14487
|
-
T:
|
|
14488
|
-
TT:
|
|
14489
|
-
TTT:
|
|
14490
|
-
TTTT:
|
|
14491
|
-
f:
|
|
14492
|
-
ff:
|
|
14493
|
-
fff:
|
|
14494
|
-
ffff:
|
|
14495
|
-
F:
|
|
14496
|
-
FF:
|
|
14497
|
-
FFF:
|
|
14498
|
-
FFFF:
|
|
14485
|
+
ttt: e3,
|
|
14486
|
+
tttt: t3,
|
|
14487
|
+
T: n3,
|
|
14488
|
+
TT: o3,
|
|
14489
|
+
TTT: r3,
|
|
14490
|
+
TTTT: a3,
|
|
14491
|
+
f: s3,
|
|
14492
|
+
ff: l3,
|
|
14493
|
+
fff: u3,
|
|
14494
|
+
ffff: d3,
|
|
14495
|
+
F: i3,
|
|
14496
|
+
FF: c3,
|
|
14497
|
+
FFF: A3,
|
|
14498
|
+
FFFF: f3
|
|
14499
14499
|
};
|
|
14500
14500
|
class nt {
|
|
14501
14501
|
static create(e, n = {}) {
|
|
@@ -14708,7 +14708,7 @@ class nt {
|
|
|
14708
14708
|
return Hu(a, r(i));
|
|
14709
14709
|
}
|
|
14710
14710
|
}
|
|
14711
|
-
const
|
|
14711
|
+
const M3 = /[A-Za-z_+-]{1,256}(?::?\/[A-Za-z0-9_+-]{1,256}(?:\/[A-Za-z0-9_+-]{1,256})?)?/;
|
|
14712
14712
|
function or(...t) {
|
|
14713
14713
|
const e = t.reduce((n, o) => n + o.source, "");
|
|
14714
14714
|
return RegExp(`^${e}$`);
|
|
@@ -14732,7 +14732,7 @@ function ar(t, ...e) {
|
|
|
14732
14732
|
}
|
|
14733
14733
|
return [null, null];
|
|
14734
14734
|
}
|
|
14735
|
-
function
|
|
14735
|
+
function x3(...t) {
|
|
14736
14736
|
return (e, n) => {
|
|
14737
14737
|
const o = {};
|
|
14738
14738
|
let r;
|
|
@@ -14741,9 +14741,9 @@ function x0(...t) {
|
|
|
14741
14741
|
return [o, null, n + r];
|
|
14742
14742
|
};
|
|
14743
14743
|
}
|
|
14744
|
-
const
|
|
14745
|
-
`${j1.source} ?(?:${
|
|
14746
|
-
), Cg = RegExp(`(?: ${
|
|
14744
|
+
const P3 = /(?:(Z)|([+-]\d\d)(?::?(\d\d))?)/, pg = `(?:${P3.source}?(?:\\[(${M3.source})\\])?)?`, j1 = /(\d\d)(?::?(\d\d)(?::?(\d\d)(?:[.,](\d{1,30}))?)?)?/, L3 = RegExp(`${j1.source}${pg}`), J1 = RegExp(`(?:T${L3.source})?`), mg = /([+-]\d{6}|\d{4})(?:-?(\d\d)(?:-?(\d\d))?)?/, gg = /(\d{4})-?W(\d\d)(?:-?(\d))?/, vg = /(\d{4})-?(\d{3})/, yg = x3("weekYear", "weekNumber", "weekDay"), wg = x3("year", "ordinal"), bg = /(\d{4})-(\d\d)-(\d\d)/, N3 = RegExp(
|
|
14745
|
+
`${j1.source} ?(?:${P3.source}|(${M3.source}))?`
|
|
14746
|
+
), Cg = RegExp(`(?: ${N3.source})?`);
|
|
14747
14747
|
function Uo(t, e, n) {
|
|
14748
14748
|
const o = t[e];
|
|
14749
14749
|
return ue(o) ? n : Dn(o);
|
|
@@ -14801,12 +14801,12 @@ const Dg = {
|
|
|
14801
14801
|
function X1(t, e, n, o, r, a, s) {
|
|
14802
14802
|
const i = {
|
|
14803
14803
|
year: e.length === 2 ? Pl(Dn(e)) : Dn(e),
|
|
14804
|
-
month:
|
|
14804
|
+
month: B3.indexOf(n) + 1,
|
|
14805
14805
|
day: Dn(o),
|
|
14806
14806
|
hour: Dn(r),
|
|
14807
14807
|
minute: Dn(a)
|
|
14808
14808
|
};
|
|
14809
|
-
return s && (i.second = Dn(s)), t && (i.weekday = t.length > 3 ?
|
|
14809
|
+
return s && (i.second = Dn(s)), t && (i.weekday = t.length > 3 ? O3.indexOf(t) + 1 : D3.indexOf(t) + 1), i;
|
|
14810
14810
|
}
|
|
14811
14811
|
const kg = /^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|(?:([+-]\d\d)(\d\d)))$/;
|
|
14812
14812
|
function Tg(t) {
|
|
@@ -14839,7 +14839,7 @@ function Lg(t) {
|
|
|
14839
14839
|
const [, e, n, o, r, a, s, i] = t;
|
|
14840
14840
|
return [X1(e, i, n, o, r, a, s), st.utcInstance];
|
|
14841
14841
|
}
|
|
14842
|
-
const Ng = or(mg, J1), Fg = or(gg, J1), Rg = or(vg, J1), Ug = or(
|
|
14842
|
+
const Ng = or(mg, J1), Fg = or(gg, J1), Rg = or(vg, J1), Ug = or(L3), F3 = rr(
|
|
14843
14843
|
Eg,
|
|
14844
14844
|
sr,
|
|
14845
14845
|
ra,
|
|
@@ -14862,7 +14862,7 @@ const Ng = or(mg, J1), Fg = or(gg, J1), Rg = or(vg, J1), Ug = or(L0), F0 = rr(
|
|
|
14862
14862
|
function Qg(t) {
|
|
14863
14863
|
return ar(
|
|
14864
14864
|
t,
|
|
14865
|
-
[Ng,
|
|
14865
|
+
[Ng, F3],
|
|
14866
14866
|
[Fg, _g],
|
|
14867
14867
|
[Rg, Vg],
|
|
14868
14868
|
[Ug, Zg]
|
|
@@ -14886,7 +14886,7 @@ const zg = rr(sr);
|
|
|
14886
14886
|
function jg(t) {
|
|
14887
14887
|
return ar(t, [Bg, zg]);
|
|
14888
14888
|
}
|
|
14889
|
-
const Jg = or(bg, Cg), Xg = or(
|
|
14889
|
+
const Jg = or(bg, Cg), Xg = or(N3), Wg = rr(
|
|
14890
14890
|
sr,
|
|
14891
14891
|
ra,
|
|
14892
14892
|
aa
|
|
@@ -14894,11 +14894,11 @@ const Jg = or(bg, Cg), Xg = or(N0), Wg = rr(
|
|
|
14894
14894
|
function $g(t) {
|
|
14895
14895
|
return ar(
|
|
14896
14896
|
t,
|
|
14897
|
-
[Jg,
|
|
14897
|
+
[Jg, F3],
|
|
14898
14898
|
[Xg, Wg]
|
|
14899
14899
|
);
|
|
14900
14900
|
}
|
|
14901
|
-
const Ku = "Invalid Duration",
|
|
14901
|
+
const Ku = "Invalid Duration", R3 = {
|
|
14902
14902
|
weeks: {
|
|
14903
14903
|
days: 7,
|
|
14904
14904
|
hours: 7 * 24,
|
|
@@ -14943,7 +14943,7 @@ const Ku = "Invalid Duration", R0 = {
|
|
|
14943
14943
|
seconds: 30 * 24 * 60 * 60,
|
|
14944
14944
|
milliseconds: 30 * 24 * 60 * 60 * 1e3
|
|
14945
14945
|
},
|
|
14946
|
-
...
|
|
14946
|
+
...R3
|
|
14947
14947
|
}, bt = 146097 / 400, Eo = 146097 / 4800, Gg = {
|
|
14948
14948
|
years: {
|
|
14949
14949
|
quarters: 4,
|
|
@@ -14972,7 +14972,7 @@ const Ku = "Invalid Duration", R0 = {
|
|
|
14972
14972
|
seconds: Eo * 24 * 60 * 60,
|
|
14973
14973
|
milliseconds: Eo * 24 * 60 * 60 * 1e3
|
|
14974
14974
|
},
|
|
14975
|
-
...
|
|
14975
|
+
...R3
|
|
14976
14976
|
}, oo = [
|
|
14977
14977
|
"years",
|
|
14978
14978
|
"quarters",
|
|
@@ -14993,14 +14993,14 @@ function bn(t, e, n = !1) {
|
|
|
14993
14993
|
};
|
|
14994
14994
|
return new Ce(o);
|
|
14995
14995
|
}
|
|
14996
|
-
function
|
|
14996
|
+
function U3(t, e) {
|
|
14997
14997
|
let n = e.milliseconds ?? 0;
|
|
14998
14998
|
for (const o of ev.slice(1))
|
|
14999
14999
|
e[o] && (n += e[o] * t[o].milliseconds);
|
|
15000
15000
|
return n;
|
|
15001
15001
|
}
|
|
15002
15002
|
function zu(t, e) {
|
|
15003
|
-
const n =
|
|
15003
|
+
const n = U3(t, e) < 0 ? -1 : 1;
|
|
15004
15004
|
oo.reduceRight((o, r) => {
|
|
15005
15005
|
if (ue(e[r]))
|
|
15006
15006
|
return o;
|
|
@@ -15329,7 +15329,7 @@ class Ce {
|
|
|
15329
15329
|
* @return {number}
|
|
15330
15330
|
*/
|
|
15331
15331
|
toMillis() {
|
|
15332
|
-
return this.isValid ?
|
|
15332
|
+
return this.isValid ? U3(this.matrix, this.values) : NaN;
|
|
15333
15333
|
}
|
|
15334
15334
|
/**
|
|
15335
15335
|
* Returns an milliseconds value of this Duration. Alias of {@link toMillis}
|
|
@@ -15371,7 +15371,7 @@ class Ce {
|
|
|
15371
15371
|
if (!this.isValid) return this;
|
|
15372
15372
|
const n = {};
|
|
15373
15373
|
for (const o of Object.keys(this.values))
|
|
15374
|
-
n[o] =
|
|
15374
|
+
n[o] = E3(e(this.values[o], o));
|
|
15375
15375
|
return bn(this, { values: n }, !0);
|
|
15376
15376
|
}
|
|
15377
15377
|
/**
|
|
@@ -16229,7 +16229,7 @@ class wa {
|
|
|
16229
16229
|
* @return {Object}
|
|
16230
16230
|
*/
|
|
16231
16231
|
static features() {
|
|
16232
|
-
return { relative:
|
|
16232
|
+
return { relative: w3(), localeWeek: b3() };
|
|
16233
16233
|
}
|
|
16234
16234
|
}
|
|
16235
16235
|
function ju(t, e) {
|
|
@@ -16332,12 +16332,12 @@ const iv = "missing Intl.DateTimeFormat.formatToParts support";
|
|
|
16332
16332
|
function Be(t, e = (n) => n) {
|
|
16333
16333
|
return { regex: t, deser: ([n]) => e(sv(n)) };
|
|
16334
16334
|
}
|
|
16335
|
-
const lv = " ",
|
|
16335
|
+
const lv = " ", _3 = `[ ${lv}]`, V3 = new RegExp(_3, "g");
|
|
16336
16336
|
function cv(t) {
|
|
16337
|
-
return t.replace(/\./g, "\\.?").replace(
|
|
16337
|
+
return t.replace(/\./g, "\\.?").replace(V3, _3);
|
|
16338
16338
|
}
|
|
16339
16339
|
function Xu(t) {
|
|
16340
|
-
return t.replace(/\./g, "").replace(
|
|
16340
|
+
return t.replace(/\./g, "").replace(V3, " ").toLowerCase();
|
|
16341
16341
|
}
|
|
16342
16342
|
function xt(t, e) {
|
|
16343
16343
|
return t === null ? null : {
|
|
@@ -16590,14 +16590,14 @@ function gv() {
|
|
|
16590
16590
|
function vv(t, e) {
|
|
16591
16591
|
if (t.literal)
|
|
16592
16592
|
return t;
|
|
16593
|
-
const n = nt.macroTokenToFormatOpts(t.val), o =
|
|
16593
|
+
const n = nt.macroTokenToFormatOpts(t.val), o = H3(n, e);
|
|
16594
16594
|
return o == null || o.includes(void 0) ? t : o;
|
|
16595
16595
|
}
|
|
16596
|
-
function
|
|
16596
|
+
function Z3(t, e) {
|
|
16597
16597
|
return Array.prototype.concat(...t.map((n) => vv(n, e)));
|
|
16598
16598
|
}
|
|
16599
|
-
function
|
|
16600
|
-
const o =
|
|
16599
|
+
function Q3(t, e, n) {
|
|
16600
|
+
const o = Z3(nt.parseFormat(n), t), r = o.map((s) => Av(s, t)), a = r.find((s) => s.invalidReason);
|
|
16601
16601
|
if (a)
|
|
16602
16602
|
return { input: e, tokens: o, invalidReason: a.invalidReason };
|
|
16603
16603
|
{
|
|
@@ -16610,10 +16610,10 @@ function Q0(t, e, n) {
|
|
|
16610
16610
|
}
|
|
16611
16611
|
}
|
|
16612
16612
|
function yv(t, e, n) {
|
|
16613
|
-
const { result: o, zone: r, specificOffset: a, invalidReason: s } =
|
|
16613
|
+
const { result: o, zone: r, specificOffset: a, invalidReason: s } = Q3(t, e, n);
|
|
16614
16614
|
return [o, r, a, s];
|
|
16615
16615
|
}
|
|
16616
|
-
function
|
|
16616
|
+
function H3(t, e) {
|
|
16617
16617
|
if (!t)
|
|
16618
16618
|
return null;
|
|
16619
16619
|
const o = nt.create(e, t).dtFormatter(gv()), r = o.formatToParts(), a = o.resolvedOptions();
|
|
@@ -16644,7 +16644,7 @@ function Xn(t, e) {
|
|
|
16644
16644
|
};
|
|
16645
16645
|
return new ae({ ...n, ...e, old: n });
|
|
16646
16646
|
}
|
|
16647
|
-
function
|
|
16647
|
+
function q3(t, e, n) {
|
|
16648
16648
|
let o = t - e * 60 * 1e3;
|
|
16649
16649
|
const r = n.offset(o);
|
|
16650
16650
|
if (e === r)
|
|
@@ -16667,7 +16667,7 @@ function Ea(t, e) {
|
|
|
16667
16667
|
};
|
|
16668
16668
|
}
|
|
16669
16669
|
function Ka(t, e, n) {
|
|
16670
|
-
return
|
|
16670
|
+
return q3(Ws(t), e, n);
|
|
16671
16671
|
}
|
|
16672
16672
|
function Yu(t, e) {
|
|
16673
16673
|
const n = t.o, o = t.c.year + Math.trunc(e.years), r = t.c.month + Math.trunc(e.months) + Math.trunc(e.quarters) * 3, a = {
|
|
@@ -16686,7 +16686,7 @@ function Yu(t, e) {
|
|
|
16686
16686
|
seconds: e.seconds,
|
|
16687
16687
|
milliseconds: e.milliseconds
|
|
16688
16688
|
}).as("milliseconds"), i = Ws(a);
|
|
16689
|
-
let [l, u] =
|
|
16689
|
+
let [l, u] = q3(i, n, t.zone);
|
|
16690
16690
|
return s !== 0 && (l += s, u = t.zone.offset(l)), { ts: l, o: u };
|
|
16691
16691
|
}
|
|
16692
16692
|
function hr(t, e, n, o, r, a) {
|
|
@@ -16718,7 +16718,7 @@ function Gu(t, e, n, o, r, a) {
|
|
|
16718
16718
|
let s = Ze(t.c.hour);
|
|
16719
16719
|
return e ? (s += ":", s += Ze(t.c.minute), (t.c.millisecond !== 0 || t.c.second !== 0 || !n) && (s += ":")) : s += Ze(t.c.minute), (t.c.millisecond !== 0 || t.c.second !== 0 || !n) && (s += Ze(t.c.second), (t.c.millisecond !== 0 || !o) && (s += ".", s += Ze(t.c.millisecond, 3))), r && (t.isOffsetFixed && t.offset === 0 && !a ? s += "Z" : t.o < 0 ? (s += "-", s += Ze(Math.trunc(-t.o / 60)), s += ":", s += Ze(Math.trunc(-t.o % 60))) : (s += "+", s += Ze(Math.trunc(t.o / 60)), s += ":", s += Ze(Math.trunc(t.o % 60)))), a && (s += "[" + t.zone.ianaName + "]"), s;
|
|
16720
16720
|
}
|
|
16721
|
-
const
|
|
16721
|
+
const K3 = {
|
|
16722
16722
|
month: 1,
|
|
16723
16723
|
day: 1,
|
|
16724
16724
|
hour: 0,
|
|
@@ -16738,7 +16738,7 @@ const K0 = {
|
|
|
16738
16738
|
minute: 0,
|
|
16739
16739
|
second: 0,
|
|
16740
16740
|
millisecond: 0
|
|
16741
|
-
},
|
|
16741
|
+
}, z3 = ["year", "month", "day", "hour", "minute", "second", "millisecond"], Cv = [
|
|
16742
16742
|
"weekYear",
|
|
16743
16743
|
"weekNumber",
|
|
16744
16744
|
"weekday",
|
|
@@ -16798,9 +16798,9 @@ function tA(t, e) {
|
|
|
16798
16798
|
if (ue(t.year))
|
|
16799
16799
|
a = r;
|
|
16800
16800
|
else {
|
|
16801
|
-
for (const u of
|
|
16802
|
-
ue(t[u]) && (t[u] =
|
|
16803
|
-
const i =
|
|
16801
|
+
for (const u of z3)
|
|
16802
|
+
ue(t[u]) && (t[u] = K3[u]);
|
|
16803
|
+
const i = v3(t) || y3(t);
|
|
16804
16804
|
if (i)
|
|
16805
16805
|
return ae.invalid(i);
|
|
16806
16806
|
const l = n.offset(r);
|
|
@@ -17009,13 +17009,13 @@ class ae {
|
|
|
17009
17009
|
throw new To("Can't mix ordinal dates with month/day");
|
|
17010
17010
|
const C = y || a.weekday && !f;
|
|
17011
17011
|
let g, E, w = Ea(l, u);
|
|
17012
|
-
C ? (g = Cv, E = wv, w = fs(w, s, i)) : A ? (g = Ev, E = bv, w = Li(w)) : (g =
|
|
17012
|
+
C ? (g = Cv, E = wv, w = fs(w, s, i)) : A ? (g = Ev, E = bv, w = Li(w)) : (g = z3, E = K3);
|
|
17013
17013
|
let p = !1;
|
|
17014
17014
|
for (const T of g) {
|
|
17015
17015
|
const M = a[T];
|
|
17016
17016
|
ue(M) ? p ? a[T] = E[T] : a[T] = w[T] : p = !0;
|
|
17017
17017
|
}
|
|
17018
|
-
const v = C ? W9(a, s, i) : A ? $9(a) :
|
|
17018
|
+
const v = C ? W9(a, s, i) : A ? $9(a) : v3(a), b = v || y3(a);
|
|
17019
17019
|
if (b)
|
|
17020
17020
|
return ae.invalid(b);
|
|
17021
17021
|
const S = C ? Uu(a, s, i) : A ? _u(a) : a, [k, V] = Ka(S, u, o), P = new ae({
|
|
@@ -17168,7 +17168,7 @@ class ae {
|
|
|
17168
17168
|
* @returns {string}
|
|
17169
17169
|
*/
|
|
17170
17170
|
static parseFormatForOpts(e, n = {}) {
|
|
17171
|
-
const o =
|
|
17171
|
+
const o = H3(e, ke.fromObject(n));
|
|
17172
17172
|
return o ? o.map((r) => r ? r.val : null).join("") : null;
|
|
17173
17173
|
}
|
|
17174
17174
|
/**
|
|
@@ -17179,7 +17179,7 @@ class ae {
|
|
|
17179
17179
|
* @returns {string}
|
|
17180
17180
|
*/
|
|
17181
17181
|
static expandFormat(e, n = {}) {
|
|
17182
|
-
return
|
|
17182
|
+
return Z3(nt.parseFormat(e), ke.fromObject(n)).map((r) => r.val).join("");
|
|
17183
17183
|
}
|
|
17184
17184
|
// INFO
|
|
17185
17185
|
/**
|
|
@@ -18144,7 +18144,7 @@ class ae {
|
|
|
18144
18144
|
numberingSystem: a,
|
|
18145
18145
|
defaultToEN: !0
|
|
18146
18146
|
});
|
|
18147
|
-
return
|
|
18147
|
+
return Q3(s, e, n);
|
|
18148
18148
|
}
|
|
18149
18149
|
/**
|
|
18150
18150
|
* @deprecated use fromFormatExplain instead
|
|
@@ -18207,70 +18207,70 @@ class ae {
|
|
|
18207
18207
|
* @type {Object}
|
|
18208
18208
|
*/
|
|
18209
18209
|
static get TIME_WITH_SHORT_OFFSET() {
|
|
18210
|
-
return
|
|
18210
|
+
return e3;
|
|
18211
18211
|
}
|
|
18212
18212
|
/**
|
|
18213
18213
|
* {@link DateTime#toLocaleString} format like '09:30:23 AM Eastern Daylight Time'. Only 12-hour if the locale is.
|
|
18214
18214
|
* @type {Object}
|
|
18215
18215
|
*/
|
|
18216
18216
|
static get TIME_WITH_LONG_OFFSET() {
|
|
18217
|
-
return
|
|
18217
|
+
return t3;
|
|
18218
18218
|
}
|
|
18219
18219
|
/**
|
|
18220
18220
|
* {@link DateTime#toLocaleString} format like '09:30', always 24-hour.
|
|
18221
18221
|
* @type {Object}
|
|
18222
18222
|
*/
|
|
18223
18223
|
static get TIME_24_SIMPLE() {
|
|
18224
|
-
return
|
|
18224
|
+
return n3;
|
|
18225
18225
|
}
|
|
18226
18226
|
/**
|
|
18227
18227
|
* {@link DateTime#toLocaleString} format like '09:30:23', always 24-hour.
|
|
18228
18228
|
* @type {Object}
|
|
18229
18229
|
*/
|
|
18230
18230
|
static get TIME_24_WITH_SECONDS() {
|
|
18231
|
-
return
|
|
18231
|
+
return o3;
|
|
18232
18232
|
}
|
|
18233
18233
|
/**
|
|
18234
18234
|
* {@link DateTime#toLocaleString} format like '09:30:23 EDT', always 24-hour.
|
|
18235
18235
|
* @type {Object}
|
|
18236
18236
|
*/
|
|
18237
18237
|
static get TIME_24_WITH_SHORT_OFFSET() {
|
|
18238
|
-
return
|
|
18238
|
+
return r3;
|
|
18239
18239
|
}
|
|
18240
18240
|
/**
|
|
18241
18241
|
* {@link DateTime#toLocaleString} format like '09:30:23 Eastern Daylight Time', always 24-hour.
|
|
18242
18242
|
* @type {Object}
|
|
18243
18243
|
*/
|
|
18244
18244
|
static get TIME_24_WITH_LONG_OFFSET() {
|
|
18245
|
-
return
|
|
18245
|
+
return a3;
|
|
18246
18246
|
}
|
|
18247
18247
|
/**
|
|
18248
18248
|
* {@link DateTime#toLocaleString} format like '10/14/1983, 9:30 AM'. Only 12-hour if the locale is.
|
|
18249
18249
|
* @type {Object}
|
|
18250
18250
|
*/
|
|
18251
18251
|
static get DATETIME_SHORT() {
|
|
18252
|
-
return
|
|
18252
|
+
return s3;
|
|
18253
18253
|
}
|
|
18254
18254
|
/**
|
|
18255
18255
|
* {@link DateTime#toLocaleString} format like '10/14/1983, 9:30:33 AM'. Only 12-hour if the locale is.
|
|
18256
18256
|
* @type {Object}
|
|
18257
18257
|
*/
|
|
18258
18258
|
static get DATETIME_SHORT_WITH_SECONDS() {
|
|
18259
|
-
return
|
|
18259
|
+
return i3;
|
|
18260
18260
|
}
|
|
18261
18261
|
/**
|
|
18262
18262
|
* {@link DateTime#toLocaleString} format like 'Oct 14, 1983, 9:30 AM'. Only 12-hour if the locale is.
|
|
18263
18263
|
* @type {Object}
|
|
18264
18264
|
*/
|
|
18265
18265
|
static get DATETIME_MED() {
|
|
18266
|
-
return
|
|
18266
|
+
return l3;
|
|
18267
18267
|
}
|
|
18268
18268
|
/**
|
|
18269
18269
|
* {@link DateTime#toLocaleString} format like 'Oct 14, 1983, 9:30:33 AM'. Only 12-hour if the locale is.
|
|
18270
18270
|
* @type {Object}
|
|
18271
18271
|
*/
|
|
18272
18272
|
static get DATETIME_MED_WITH_SECONDS() {
|
|
18273
|
-
return
|
|
18273
|
+
return c3;
|
|
18274
18274
|
}
|
|
18275
18275
|
/**
|
|
18276
18276
|
* {@link DateTime#toLocaleString} format like 'Fri, 14 Oct 1983, 9:30 AM'. Only 12-hour if the locale is.
|
|
@@ -18284,28 +18284,28 @@ class ae {
|
|
|
18284
18284
|
* @type {Object}
|
|
18285
18285
|
*/
|
|
18286
18286
|
static get DATETIME_FULL() {
|
|
18287
|
-
return
|
|
18287
|
+
return u3;
|
|
18288
18288
|
}
|
|
18289
18289
|
/**
|
|
18290
18290
|
* {@link DateTime#toLocaleString} format like 'October 14, 1983, 9:30:33 AM EDT'. Only 12-hour if the locale is.
|
|
18291
18291
|
* @type {Object}
|
|
18292
18292
|
*/
|
|
18293
18293
|
static get DATETIME_FULL_WITH_SECONDS() {
|
|
18294
|
-
return
|
|
18294
|
+
return A3;
|
|
18295
18295
|
}
|
|
18296
18296
|
/**
|
|
18297
18297
|
* {@link DateTime#toLocaleString} format like 'Friday, October 14, 1983, 9:30 AM Eastern Daylight Time'. Only 12-hour if the locale is.
|
|
18298
18298
|
* @type {Object}
|
|
18299
18299
|
*/
|
|
18300
18300
|
static get DATETIME_HUGE() {
|
|
18301
|
-
return
|
|
18301
|
+
return d3;
|
|
18302
18302
|
}
|
|
18303
18303
|
/**
|
|
18304
18304
|
* {@link DateTime#toLocaleString} format like 'Friday, October 14, 1983, 9:30:33 AM Eastern Daylight Time'. Only 12-hour if the locale is.
|
|
18305
18305
|
* @type {Object}
|
|
18306
18306
|
*/
|
|
18307
18307
|
static get DATETIME_HUGE_WITH_SECONDS() {
|
|
18308
|
-
return
|
|
18308
|
+
return f3;
|
|
18309
18309
|
}
|
|
18310
18310
|
}
|
|
18311
18311
|
function pr(t) {
|
|
@@ -18724,12 +18724,12 @@ const Mv = {
|
|
|
18724
18724
|
(...d) => o.reenviarMensaje && o.reenviarMensaje(...d))
|
|
18725
18725
|
}));
|
|
18726
18726
|
}
|
|
18727
|
-
}),
|
|
18727
|
+
}), j3 = (t) => ($o("data-v-b99b89d3"), t = t(), Yo(), t), Lv = { class: "send-code-container" }, Nv = { class: "mb-40" }, Fv = { class: "field col-12 text-left m-0" }, Rv = { class: "fge-form-label current-contact-label" }, Uv = {
|
|
18728
18728
|
key: 0,
|
|
18729
18729
|
class: "fge-text-gray message2FaContexto"
|
|
18730
|
-
}, _v = /* @__PURE__ */
|
|
18730
|
+
}, _v = /* @__PURE__ */ j3(() => /* @__PURE__ */ m("p", null, [
|
|
18731
18731
|
/* @__PURE__ */ m("b", null, "Instrucciones")
|
|
18732
|
-
], -1)), Vv = ["href"], Zv = { class: "auth-input-container" }, Qv = /* @__PURE__ */
|
|
18732
|
+
], -1)), Vv = ["href"], Zv = { class: "auth-input-container" }, Qv = /* @__PURE__ */ j3(() => /* @__PURE__ */ m("label", {
|
|
18733
18733
|
for: "codigo",
|
|
18734
18734
|
class: "fge-form-label"
|
|
18735
18735
|
}, "Código:", -1)), Hv = {
|
|
@@ -18908,7 +18908,7 @@ const Qr = { render: cy }, uy = {
|
|
|
18908
18908
|
function hy(t, e) {
|
|
18909
18909
|
return D(), K("svg", uy, [...fy]);
|
|
18910
18910
|
}
|
|
18911
|
-
const
|
|
18911
|
+
const J3 = { render: hy }, py = {
|
|
18912
18912
|
xmlns: "http://www.w3.org/2000/svg",
|
|
18913
18913
|
fill: "none",
|
|
18914
18914
|
viewBox: "0 0 26 27"
|
|
@@ -19079,7 +19079,7 @@ const Y1 = { render: Vy }, Zy = {
|
|
|
19079
19079
|
/* @__PURE__ */ me(' ** o ingrese "'),
|
|
19080
19080
|
/* @__PURE__ */ m("b", null, "/start"),
|
|
19081
19081
|
/* @__PURE__ */ me('" en el chat si no encuentra el botón ')
|
|
19082
|
-
], -1), ew = /* @__PURE__ */ m("p", null, "3. Copia el código en el formulario para completar el proceso de confirmación.", -1), tw = { class: "dialog-footer" },
|
|
19082
|
+
], -1), ew = /* @__PURE__ */ m("p", null, "3. Copia el código en el formulario para completar el proceso de confirmación.", -1), tw = { class: "dialog-footer" }, X3 = /* @__PURE__ */ N({
|
|
19083
19083
|
__name: "TelegramDialog",
|
|
19084
19084
|
props: {
|
|
19085
19085
|
open: {
|
|
@@ -19479,7 +19479,7 @@ const Y1 = { render: Vy }, Zy = {
|
|
|
19479
19479
|
}))
|
|
19480
19480
|
}, {
|
|
19481
19481
|
default: O(() => [
|
|
19482
|
-
B(c(
|
|
19482
|
+
B(c(J3), {
|
|
19483
19483
|
class: ve({
|
|
19484
19484
|
"auth-svg-primary": c(i).verificadoWhatsapp,
|
|
19485
19485
|
"auth-svg-gray": !c(i).verificadoWhatsapp
|
|
@@ -19704,7 +19704,7 @@ const Y1 = { render: Vy }, Zy = {
|
|
|
19704
19704
|
_: 1
|
|
19705
19705
|
}, 8, ["currentStep", "steps"])
|
|
19706
19706
|
]),
|
|
19707
|
-
B(
|
|
19707
|
+
B(X3, {
|
|
19708
19708
|
open: c(u),
|
|
19709
19709
|
"onUpdate:open": v[9] || (v[9] = (b) => $e(u) ? u.value = b : null),
|
|
19710
19710
|
openClick: c(E)
|
|
@@ -19719,10 +19719,10 @@ const Y1 = { render: Vy }, Zy = {
|
|
|
19719
19719
|
m("p", zw, "Copyright Mp. Version " + le(c(e).systemVer), 1)
|
|
19720
19720
|
]));
|
|
19721
19721
|
}
|
|
19722
|
-
}), Jw = /* @__PURE__ */ qt(jw, [["__scopeId", "data-v-526e8b52"]]),
|
|
19722
|
+
}), Jw = /* @__PURE__ */ qt(jw, [["__scopeId", "data-v-526e8b52"]]), W3 = "ciudadania-digital-bc";
|
|
19723
19723
|
var We = /* @__PURE__ */ ((t) => (t.LOGIN = "login", t.ALREADY_LOGIN = "already_login", t.VALIDATE_FILE = "validate_file", t.LOGOUT = "logout", t.FORCE_CLOSE = "force_close", t))(We || {});
|
|
19724
19724
|
const Xw = () => {
|
|
19725
|
-
const t = window.location.href.split("?")[1], e = new URLSearchParams(t), n = Object.fromEntries(e.entries()), o = new BroadcastChannel(
|
|
19725
|
+
const t = window.location.href.split("?")[1], e = new URLSearchParams(t), n = Object.fromEntries(e.entries()), o = new BroadcastChannel(W3);
|
|
19726
19726
|
console.log("creando canal de escucha", o), !(Ww(n, o) || Yw(n, o) || $w(n, o)) && Gw(n, o);
|
|
19727
19727
|
}, Ww = (t, e) => {
|
|
19728
19728
|
if (t.agetic) {
|
|
@@ -19830,7 +19830,7 @@ const Xw = () => {
|
|
|
19830
19830
|
`, t.style.display = "block", t.style.position = "fixed", t.style.top = "0", t.style.left = "0", t.style.width = "100%", t.style.height = "100%", t.style.backgroundColor = "#3E4754", t.style.display = "flex", t.style.justifyContent = "center", t.style.alignItems = "center", t.style.color = "#fff", t.style.fontSize = "24px", t.style.zIndex = "999999", document.body.appendChild(t), t;
|
|
19831
19831
|
};
|
|
19832
19832
|
var Io = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
|
|
19833
|
-
function $
|
|
19833
|
+
function $3(t) {
|
|
19834
19834
|
return t && t.__esModule && Object.prototype.hasOwnProperty.call(t, "default") ? t.default : t;
|
|
19835
19835
|
}
|
|
19836
19836
|
function eb(t) {
|
|
@@ -19852,7 +19852,7 @@ function eb(t) {
|
|
|
19852
19852
|
});
|
|
19853
19853
|
}), n;
|
|
19854
19854
|
}
|
|
19855
|
-
var
|
|
19855
|
+
var Y3 = { exports: {} };
|
|
19856
19856
|
function tb(t) {
|
|
19857
19857
|
throw new Error('Could not dynamically require "' + t + '". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.');
|
|
19858
19858
|
}
|
|
@@ -19862,7 +19862,7 @@ const nb = {}, ob = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
19862
19862
|
default: nb
|
|
19863
19863
|
}, Symbol.toStringTag, { value: "Module" })), rb = /* @__PURE__ */ eb(ob);
|
|
19864
19864
|
var aA;
|
|
19865
|
-
function
|
|
19865
|
+
function G3() {
|
|
19866
19866
|
return aA || (aA = 1, function(t, e) {
|
|
19867
19867
|
(function(n, o) {
|
|
19868
19868
|
t.exports = o();
|
|
@@ -20364,7 +20364,7 @@ function G0() {
|
|
|
20364
20364
|
}
|
|
20365
20365
|
(function(t, e) {
|
|
20366
20366
|
(function(n, o) {
|
|
20367
|
-
t.exports = o(
|
|
20367
|
+
t.exports = o(G3());
|
|
20368
20368
|
})(Io, function(n) {
|
|
20369
20369
|
return function() {
|
|
20370
20370
|
var o = n, r = o.lib, a = r.WordArray, s = o.enc;
|
|
@@ -20433,23 +20433,23 @@ function G0() {
|
|
|
20433
20433
|
}
|
|
20434
20434
|
}(), n.enc.Base64;
|
|
20435
20435
|
});
|
|
20436
|
-
})(
|
|
20437
|
-
var ab =
|
|
20438
|
-
const
|
|
20439
|
-
var
|
|
20436
|
+
})(Y3);
|
|
20437
|
+
var ab = Y3.exports;
|
|
20438
|
+
const e0 = /* @__PURE__ */ $3(ab);
|
|
20439
|
+
var t0 = { exports: {} };
|
|
20440
20440
|
(function(t, e) {
|
|
20441
20441
|
(function(n, o) {
|
|
20442
|
-
t.exports = o(
|
|
20442
|
+
t.exports = o(G3());
|
|
20443
20443
|
})(Io, function(n) {
|
|
20444
20444
|
return n.enc.Utf8;
|
|
20445
20445
|
});
|
|
20446
|
-
})(
|
|
20447
|
-
var sb =
|
|
20448
|
-
const
|
|
20449
|
-
localStorage.setItem(t,
|
|
20446
|
+
})(t0);
|
|
20447
|
+
var sb = t0.exports;
|
|
20448
|
+
const n0 = /* @__PURE__ */ $3(sb), ib = (t, e) => {
|
|
20449
|
+
localStorage.setItem(t, e0.stringify(n0.parse(e)));
|
|
20450
20450
|
}, So = (t) => {
|
|
20451
20451
|
const e = localStorage.getItem(t);
|
|
20452
|
-
return e ?
|
|
20452
|
+
return e ? e0.parse(e).toString(n0) : null;
|
|
20453
20453
|
}, lb = (t) => {
|
|
20454
20454
|
localStorage.removeItem(t);
|
|
20455
20455
|
};
|
|
@@ -20482,7 +20482,7 @@ const Da = function() {
|
|
|
20482
20482
|
(/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino|android|ipad|playbook|silk/i.test(e) || /1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s\-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|\-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw\-(n|u)|c55\/|capi|ccwa|cdm\-|cell|chtm|cldc|cmd\-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc\-s|devi|dica|dmob|do(c|p)o|ds(12|\-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(\-|_)|g1 u|g560|gene|gf\-5|g\-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd\-(m|p|t)|hei\-|hi(pt|ta)|hp( i|ip)|hs\-c|ht(c(\-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i\-(20|go|ma)|i230|iac( |\-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc\-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|\-[a-w])|libw|lynx|m1\-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m\-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(\-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)\-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|\-([1-8]|c))|phil|pire|pl(ay|uc)|pn\-2|po(ck|rt|se)|prox|psio|pt\-g|qa\-a|qc(07|12|21|32|60|\-[2-7]|i\-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h\-|oo|p\-)|sdk\/|se(c(\-|0|1)|47|mc|nd|ri)|sgh\-|shar|sie(\-|m)|sk\-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h\-|v\-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl\-|tdg\-|tel(i|m)|tim\-|t\-mo|to(pl|sh)|ts(70|m\-|m3|m5)|tx\-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|\-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(\-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas\-|your|zeto|zte\-/i.test(e.substr(0, 4))) && (t = !0);
|
|
20483
20483
|
}(navigator.userAgent || navigator.vendor || window.opera), t;
|
|
20484
20484
|
};
|
|
20485
|
-
function
|
|
20485
|
+
function o0(t) {
|
|
20486
20486
|
const e = document.cookie.split(";");
|
|
20487
20487
|
for (let n = 0; n < e.length; n++) {
|
|
20488
20488
|
const o = e[n].trim();
|
|
@@ -20491,13 +20491,13 @@ function o3(t) {
|
|
|
20491
20491
|
}
|
|
20492
20492
|
return null;
|
|
20493
20493
|
}
|
|
20494
|
-
function
|
|
20494
|
+
function r0({ name: t, value: e, days: n = 0, hours: o = 0, minutes: r = 0, seconds: a = 0, milliseconds: s = 0 }) {
|
|
20495
20495
|
const i = /* @__PURE__ */ new Date();
|
|
20496
20496
|
i.setTime(i.getTime() + n * 24 * 60 * 60 * 1e3 + o * 60 * 60 * 1e3 + r * 60 * 1e3 + a * 1e3 + s);
|
|
20497
20497
|
const l = "; expires=" + i.toUTCString();
|
|
20498
20498
|
document.cookie = t + "=" + encodeURIComponent(e) + l + "; path=/";
|
|
20499
20499
|
}
|
|
20500
|
-
function
|
|
20500
|
+
function a0(t, e) {
|
|
20501
20501
|
return function() {
|
|
20502
20502
|
return t.apply(e, arguments);
|
|
20503
20503
|
};
|
|
@@ -20509,12 +20509,12 @@ const { toString: fb } = Object.prototype, { getPrototypeOf: G1 } = Object, ni =
|
|
|
20509
20509
|
function hb(t) {
|
|
20510
20510
|
return t !== null && !qr(t) && t.constructor !== null && !qr(t.constructor) && It(t.constructor.isBuffer) && t.constructor.isBuffer(t);
|
|
20511
20511
|
}
|
|
20512
|
-
const
|
|
20512
|
+
const s0 = Kt("ArrayBuffer");
|
|
20513
20513
|
function pb(t) {
|
|
20514
20514
|
let e;
|
|
20515
|
-
return typeof ArrayBuffer < "u" && ArrayBuffer.isView ? e = ArrayBuffer.isView(t) : e = t && t.buffer &&
|
|
20515
|
+
return typeof ArrayBuffer < "u" && ArrayBuffer.isView ? e = ArrayBuffer.isView(t) : e = t && t.buffer && s0(t.buffer), e;
|
|
20516
20516
|
}
|
|
20517
|
-
const mb = oi("string"), It = oi("function"),
|
|
20517
|
+
const mb = oi("string"), It = oi("function"), i0 = oi("number"), ri = (t) => t !== null && typeof t == "object", gb = (t) => t === !0 || t === !1, za = (t) => {
|
|
20518
20518
|
if (ni(t) !== "object")
|
|
20519
20519
|
return !1;
|
|
20520
20520
|
const e = G1(t);
|
|
@@ -20538,7 +20538,7 @@ function sa(t, e, { allOwnKeys: n = !1 } = {}) {
|
|
|
20538
20538
|
i = a[o], e.call(null, t[i], i, t);
|
|
20539
20539
|
}
|
|
20540
20540
|
}
|
|
20541
|
-
function
|
|
20541
|
+
function l0(t, e) {
|
|
20542
20542
|
e = e.toLowerCase();
|
|
20543
20543
|
const n = Object.keys(t);
|
|
20544
20544
|
let o = n.length, r;
|
|
@@ -20547,10 +20547,10 @@ function l3(t, e) {
|
|
|
20547
20547
|
return r;
|
|
20548
20548
|
return null;
|
|
20549
20549
|
}
|
|
20550
|
-
const
|
|
20550
|
+
const c0 = typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : typeof window < "u" ? window : global, u0 = (t) => !qr(t) && t !== c0;
|
|
20551
20551
|
function Ll() {
|
|
20552
|
-
const { caseless: t } =
|
|
20553
|
-
const a = t &&
|
|
20552
|
+
const { caseless: t } = u0(this) && this || {}, e = {}, n = (o, r) => {
|
|
20553
|
+
const a = t && l0(e, r) || r;
|
|
20554
20554
|
za(e[a]) && za(o) ? e[a] = Ll(e[a], o) : za(o) ? e[a] = Ll({}, o) : ir(o) ? e[a] = o.slice() : e[a] = o;
|
|
20555
20555
|
};
|
|
20556
20556
|
for (let o = 0, r = arguments.length; o < r; o++)
|
|
@@ -20558,7 +20558,7 @@ function Ll() {
|
|
|
20558
20558
|
return e;
|
|
20559
20559
|
}
|
|
20560
20560
|
const Ib = (t, e, n, { allOwnKeys: o } = {}) => (sa(e, (r, a) => {
|
|
20561
|
-
n && It(r) ? t[a] =
|
|
20561
|
+
n && It(r) ? t[a] = a0(r, n) : t[a] = r;
|
|
20562
20562
|
}, { allOwnKeys: o }), t), Mb = (t) => (t.charCodeAt(0) === 65279 && (t = t.slice(1)), t), xb = (t, e, n, o) => {
|
|
20563
20563
|
t.prototype = Object.create(e.prototype, o), t.prototype.constructor = t, Object.defineProperty(t, "super", {
|
|
20564
20564
|
value: e.prototype
|
|
@@ -20581,7 +20581,7 @@ const Ib = (t, e, n, { allOwnKeys: o } = {}) => (sa(e, (r, a) => {
|
|
|
20581
20581
|
if (!t) return null;
|
|
20582
20582
|
if (ir(t)) return t;
|
|
20583
20583
|
let e = t.length;
|
|
20584
|
-
if (!
|
|
20584
|
+
if (!i0(e)) return null;
|
|
20585
20585
|
const n = new Array(e);
|
|
20586
20586
|
for (; e-- > 0; )
|
|
20587
20587
|
n[e] = t[e];
|
|
@@ -20604,14 +20604,14 @@ const Ib = (t, e, n, { allOwnKeys: o } = {}) => (sa(e, (r, a) => {
|
|
|
20604
20604
|
function(e, n, o) {
|
|
20605
20605
|
return n.toUpperCase() + o;
|
|
20606
20606
|
}
|
|
20607
|
-
), iA = (({ hasOwnProperty: t }) => (e, n) => t.call(e, n))(Object.prototype), Zb = Kt("RegExp"),
|
|
20607
|
+
), iA = (({ hasOwnProperty: t }) => (e, n) => t.call(e, n))(Object.prototype), Zb = Kt("RegExp"), A0 = (t, e) => {
|
|
20608
20608
|
const n = Object.getOwnPropertyDescriptors(t), o = {};
|
|
20609
20609
|
sa(n, (r, a) => {
|
|
20610
20610
|
let s;
|
|
20611
20611
|
(s = e(r, a, t)) !== !1 && (o[a] = s || r);
|
|
20612
20612
|
}), Object.defineProperties(t, o);
|
|
20613
20613
|
}, Qb = (t) => {
|
|
20614
|
-
|
|
20614
|
+
A0(t, (e, n) => {
|
|
20615
20615
|
if (It(t) && ["arguments", "caller", "callee"].indexOf(n) !== -1)
|
|
20616
20616
|
return !1;
|
|
20617
20617
|
const o = t[n];
|
|
@@ -20633,11 +20633,11 @@ const Ib = (t, e, n, { allOwnKeys: o } = {}) => (sa(e, (r, a) => {
|
|
|
20633
20633
|
};
|
|
20634
20634
|
return ir(t) ? o(t) : o(String(t).split(e)), n;
|
|
20635
20635
|
}, qb = () => {
|
|
20636
|
-
}, Kb = (t, e) => t != null && Number.isFinite(t = +t) ? t : e, Vi = "abcdefghijklmnopqrstuvwxyz", lA = "0123456789",
|
|
20636
|
+
}, Kb = (t, e) => t != null && Number.isFinite(t = +t) ? t : e, Vi = "abcdefghijklmnopqrstuvwxyz", lA = "0123456789", d0 = {
|
|
20637
20637
|
DIGIT: lA,
|
|
20638
20638
|
ALPHA: Vi,
|
|
20639
20639
|
ALPHA_DIGIT: Vi + Vi.toUpperCase() + lA
|
|
20640
|
-
}, zb = (t = 16, e =
|
|
20640
|
+
}, zb = (t = 16, e = d0.ALPHA_DIGIT) => {
|
|
20641
20641
|
let n = "";
|
|
20642
20642
|
const { length: o } = e;
|
|
20643
20643
|
for (; t--; )
|
|
@@ -20666,12 +20666,12 @@ const Jb = (t) => {
|
|
|
20666
20666
|
return n(t, 0);
|
|
20667
20667
|
}, Xb = Kt("AsyncFunction"), Wb = (t) => t && (ri(t) || It(t)) && It(t.then) && It(t.catch), R = {
|
|
20668
20668
|
isArray: ir,
|
|
20669
|
-
isArrayBuffer:
|
|
20669
|
+
isArrayBuffer: s0,
|
|
20670
20670
|
isBuffer: hb,
|
|
20671
20671
|
isFormData: Eb,
|
|
20672
20672
|
isArrayBufferView: pb,
|
|
20673
20673
|
isString: mb,
|
|
20674
|
-
isNumber:
|
|
20674
|
+
isNumber: i0,
|
|
20675
20675
|
isBoolean: gb,
|
|
20676
20676
|
isObject: ri,
|
|
20677
20677
|
isPlainObject: za,
|
|
@@ -20706,16 +20706,16 @@ const Jb = (t) => {
|
|
|
20706
20706
|
hasOwnProperty: iA,
|
|
20707
20707
|
hasOwnProp: iA,
|
|
20708
20708
|
// an alias to avoid ESLint no-prototype-builtins detection
|
|
20709
|
-
reduceDescriptors:
|
|
20709
|
+
reduceDescriptors: A0,
|
|
20710
20710
|
freezeMethods: Qb,
|
|
20711
20711
|
toObjectSet: Hb,
|
|
20712
20712
|
toCamelCase: Vb,
|
|
20713
20713
|
noop: qb,
|
|
20714
20714
|
toFiniteNumber: Kb,
|
|
20715
|
-
findKey:
|
|
20716
|
-
global:
|
|
20717
|
-
isContextDefined:
|
|
20718
|
-
ALPHABET:
|
|
20715
|
+
findKey: l0,
|
|
20716
|
+
global: c0,
|
|
20717
|
+
isContextDefined: u0,
|
|
20718
|
+
ALPHABET: d0,
|
|
20719
20719
|
generateString: zb,
|
|
20720
20720
|
isSpecCompliantForm: jb,
|
|
20721
20721
|
toJSONObject: Jb,
|
|
@@ -20746,7 +20746,7 @@ R.inherits(fe, Error, {
|
|
|
20746
20746
|
};
|
|
20747
20747
|
}
|
|
20748
20748
|
});
|
|
20749
|
-
const
|
|
20749
|
+
const f0 = fe.prototype, h0 = {};
|
|
20750
20750
|
[
|
|
20751
20751
|
"ERR_BAD_OPTION_VALUE",
|
|
20752
20752
|
"ERR_BAD_OPTION",
|
|
@@ -20762,12 +20762,12 @@ const f3 = fe.prototype, h3 = {};
|
|
|
20762
20762
|
"ERR_INVALID_URL"
|
|
20763
20763
|
// eslint-disable-next-line func-names
|
|
20764
20764
|
].forEach((t) => {
|
|
20765
|
-
|
|
20765
|
+
h0[t] = { value: t };
|
|
20766
20766
|
});
|
|
20767
|
-
Object.defineProperties(fe,
|
|
20768
|
-
Object.defineProperty(
|
|
20767
|
+
Object.defineProperties(fe, h0);
|
|
20768
|
+
Object.defineProperty(f0, "isAxiosError", { value: !0 });
|
|
20769
20769
|
fe.from = (t, e, n, o, r, a) => {
|
|
20770
|
-
const s = Object.create(
|
|
20770
|
+
const s = Object.create(f0);
|
|
20771
20771
|
return R.toFlatObject(t, s, function(i) {
|
|
20772
20772
|
return i !== Error.prototype;
|
|
20773
20773
|
}, (i) => i !== "isAxiosError"), fe.call(s, t.message, e, n, o, r), s.cause = t, s.name = t.name, a && Object.assign(s, a), s;
|
|
@@ -20776,12 +20776,12 @@ const $b = null;
|
|
|
20776
20776
|
function Nl(t) {
|
|
20777
20777
|
return R.isPlainObject(t) || R.isArray(t);
|
|
20778
20778
|
}
|
|
20779
|
-
function
|
|
20779
|
+
function p0(t) {
|
|
20780
20780
|
return R.endsWith(t, "[]") ? t.slice(0, -2) : t;
|
|
20781
20781
|
}
|
|
20782
20782
|
function cA(t, e, n) {
|
|
20783
20783
|
return t ? t.concat(e).map(function(o, r) {
|
|
20784
|
-
return o =
|
|
20784
|
+
return o = p0(o), !n && r ? "[" + o + "]" : o;
|
|
20785
20785
|
}).join(n ? "." : "") : e;
|
|
20786
20786
|
}
|
|
20787
20787
|
function Yb(t) {
|
|
@@ -20817,7 +20817,7 @@ function ai(t, e, n) {
|
|
|
20817
20817
|
if (R.endsWith(y, "{}"))
|
|
20818
20818
|
y = o ? y : y.slice(0, -2), f = JSON.stringify(f);
|
|
20819
20819
|
else if (R.isArray(f) && Yb(f) || (R.isFileList(f) || R.endsWith(y, "[]")) && (g = R.toArray(f)))
|
|
20820
|
-
return y =
|
|
20820
|
+
return y = p0(y), g.forEach(function(E, w) {
|
|
20821
20821
|
!(R.isUndefined(E) || E === null) && e.append(
|
|
20822
20822
|
// eslint-disable-next-line no-nested-ternary
|
|
20823
20823
|
s === !0 ? cA([y], w, a) : s === null ? y : y + "[]",
|
|
@@ -20868,11 +20868,11 @@ function uA(t) {
|
|
|
20868
20868
|
function ec(t, e) {
|
|
20869
20869
|
this._pairs = [], t && ai(t, this, e);
|
|
20870
20870
|
}
|
|
20871
|
-
const
|
|
20872
|
-
|
|
20871
|
+
const m0 = ec.prototype;
|
|
20872
|
+
m0.append = function(t, e) {
|
|
20873
20873
|
this._pairs.push([t, e]);
|
|
20874
20874
|
};
|
|
20875
|
-
|
|
20875
|
+
m0.toString = function(t) {
|
|
20876
20876
|
const e = t ? function(n) {
|
|
20877
20877
|
return t.call(this, n, uA);
|
|
20878
20878
|
} : uA;
|
|
@@ -20883,7 +20883,7 @@ m3.toString = function(t) {
|
|
|
20883
20883
|
function eC(t) {
|
|
20884
20884
|
return encodeURIComponent(t).replace(/%3A/gi, ":").replace(/%24/g, "$").replace(/%2C/gi, ",").replace(/%20/g, "+").replace(/%5B/gi, "[").replace(/%5D/gi, "]");
|
|
20885
20885
|
}
|
|
20886
|
-
function
|
|
20886
|
+
function g0(t, e, n) {
|
|
20887
20887
|
if (!e)
|
|
20888
20888
|
return t;
|
|
20889
20889
|
const o = n && n.encode || eC, r = n && n.serialize;
|
|
@@ -20948,7 +20948,7 @@ class AA {
|
|
|
20948
20948
|
});
|
|
20949
20949
|
}
|
|
20950
20950
|
}
|
|
20951
|
-
const
|
|
20951
|
+
const v0 = {
|
|
20952
20952
|
silentJSONParsing: !0,
|
|
20953
20953
|
forcedJSONParsing: !0,
|
|
20954
20954
|
clarifyTimeoutError: !1
|
|
@@ -20990,7 +20990,7 @@ function AC(t) {
|
|
|
20990
20990
|
a = n[o], e[a] = t[a];
|
|
20991
20991
|
return e;
|
|
20992
20992
|
}
|
|
20993
|
-
function
|
|
20993
|
+
function y0(t) {
|
|
20994
20994
|
function e(n, o, r, a) {
|
|
20995
20995
|
let s = n[a++];
|
|
20996
20996
|
if (s === "__proto__") return !0;
|
|
@@ -21016,12 +21016,12 @@ function dC(t, e, n) {
|
|
|
21016
21016
|
return (0, JSON.stringify)(t);
|
|
21017
21017
|
}
|
|
21018
21018
|
const ia = {
|
|
21019
|
-
transitional:
|
|
21019
|
+
transitional: v0,
|
|
21020
21020
|
adapter: ["xhr", "http", "fetch"],
|
|
21021
21021
|
transformRequest: [function(t, e) {
|
|
21022
21022
|
const n = e.getContentType() || "", o = n.indexOf("application/json") > -1, r = R.isObject(t);
|
|
21023
21023
|
if (r && R.isHTMLForm(t) && (t = new FormData(t)), R.isFormData(t))
|
|
21024
|
-
return o ? JSON.stringify(
|
|
21024
|
+
return o ? JSON.stringify(y0(t)) : t;
|
|
21025
21025
|
if (R.isArrayBuffer(t) || R.isBuffer(t) || R.isStream(t) || R.isFile(t) || R.isBlob(t) || R.isReadableStream(t))
|
|
21026
21026
|
return t;
|
|
21027
21027
|
if (R.isArrayBufferView(t))
|
|
@@ -21284,7 +21284,7 @@ function Qi(t, e) {
|
|
|
21284
21284
|
a = s.call(n, a, r.normalize(), e ? e.status : void 0);
|
|
21285
21285
|
}), r.normalize(), a;
|
|
21286
21286
|
}
|
|
21287
|
-
function
|
|
21287
|
+
function w0(t) {
|
|
21288
21288
|
return !!(t && t.__CANCEL__);
|
|
21289
21289
|
}
|
|
21290
21290
|
function lr(t, e, n) {
|
|
@@ -21293,7 +21293,7 @@ function lr(t, e, n) {
|
|
|
21293
21293
|
R.inherits(lr, fe, {
|
|
21294
21294
|
__CANCEL__: !0
|
|
21295
21295
|
});
|
|
21296
|
-
function
|
|
21296
|
+
function b0(t, e, n) {
|
|
21297
21297
|
const o = n.config.validateStatus;
|
|
21298
21298
|
!n.status || !o || o(n.status) ? t(n) : e(new fe(
|
|
21299
21299
|
"Request failed with status code " + n.status,
|
|
@@ -21416,7 +21416,7 @@ function BC(t) {
|
|
|
21416
21416
|
function SC(t, e) {
|
|
21417
21417
|
return e ? t.replace(/\/?\/$/, "") + "/" + e.replace(/^\/+/, "") : t;
|
|
21418
21418
|
}
|
|
21419
|
-
function
|
|
21419
|
+
function C0(t, e) {
|
|
21420
21420
|
return t && !BC(e) ? SC(t, e) : e;
|
|
21421
21421
|
}
|
|
21422
21422
|
const fA = (t) => t instanceof ft ? { ...t } : t;
|
|
@@ -21484,10 +21484,10 @@ function Ao(t, e) {
|
|
|
21484
21484
|
R.isUndefined(d) && A !== i || (n[u] = d);
|
|
21485
21485
|
}), n;
|
|
21486
21486
|
}
|
|
21487
|
-
const
|
|
21487
|
+
const E0 = (t) => {
|
|
21488
21488
|
const e = Ao({}, t);
|
|
21489
21489
|
let { data: n, withXSRFToken: o, xsrfHeaderName: r, xsrfCookieName: a, headers: s, auth: i } = e;
|
|
21490
|
-
e.headers = s = ft.from(s), e.url =
|
|
21490
|
+
e.headers = s = ft.from(s), e.url = g0(C0(e.baseURL, e.url), t.params, t.paramsSerializer), i && s.set(
|
|
21491
21491
|
"Authorization",
|
|
21492
21492
|
"Basic " + btoa((i.username || "") + ":" + (i.password ? unescape(encodeURIComponent(i.password)) : ""))
|
|
21493
21493
|
);
|
|
@@ -21507,7 +21507,7 @@ const E3 = (t) => {
|
|
|
21507
21507
|
return e;
|
|
21508
21508
|
}, OC = typeof XMLHttpRequest < "u", DC = OC && function(t) {
|
|
21509
21509
|
return new Promise(function(e, n) {
|
|
21510
|
-
const o =
|
|
21510
|
+
const o = E0(t);
|
|
21511
21511
|
let r = o.data;
|
|
21512
21512
|
const a = ft.from(o.headers).normalize();
|
|
21513
21513
|
let { responseType: s } = o, i;
|
|
@@ -21529,7 +21529,7 @@ const E3 = (t) => {
|
|
|
21529
21529
|
config: t,
|
|
21530
21530
|
request: u
|
|
21531
21531
|
};
|
|
21532
|
-
|
|
21532
|
+
b0(function(y) {
|
|
21533
21533
|
e(y), l();
|
|
21534
21534
|
}, function(y) {
|
|
21535
21535
|
n(y), l();
|
|
@@ -21543,7 +21543,7 @@ const E3 = (t) => {
|
|
|
21543
21543
|
n(new fe("Network Error", fe.ERR_NETWORK, o, u)), u = null;
|
|
21544
21544
|
}, u.ontimeout = function() {
|
|
21545
21545
|
let h = o.timeout ? "timeout of " + o.timeout + "ms exceeded" : "timeout exceeded";
|
|
21546
|
-
const f = o.transitional ||
|
|
21546
|
+
const f = o.transitional || v0;
|
|
21547
21547
|
o.timeoutErrorMessage && (h = o.timeoutErrorMessage), n(new fe(
|
|
21548
21548
|
h,
|
|
21549
21549
|
f.clarifyTimeoutError ? fe.ETIMEDOUT : fe.ECONNABORTED,
|
|
@@ -21623,7 +21623,7 @@ const E3 = (t) => {
|
|
|
21623
21623
|
total: t,
|
|
21624
21624
|
loaded: o
|
|
21625
21625
|
}));
|
|
21626
|
-
}, si = typeof fetch == "function" && typeof Request == "function" && typeof Response == "function",
|
|
21626
|
+
}, si = typeof fetch == "function" && typeof Request == "function" && typeof Response == "function", B0 = si && typeof ReadableStream == "function", Fl = si && (typeof TextEncoder == "function" ? /* @__PURE__ */ ((t) => (e) => t.encode(e))(new TextEncoder()) : async (t) => new Uint8Array(await new Response(t).arrayBuffer())), MC = B0 && (() => {
|
|
21627
21627
|
let t = !1;
|
|
21628
21628
|
const e = new Request(Rt.origin, {
|
|
21629
21629
|
body: new ReadableStream(),
|
|
@@ -21633,7 +21633,7 @@ const E3 = (t) => {
|
|
|
21633
21633
|
}
|
|
21634
21634
|
}).headers.has("Content-Type");
|
|
21635
21635
|
return t && !e;
|
|
21636
|
-
})(), mA = 64 * 1024, Rl =
|
|
21636
|
+
})(), mA = 64 * 1024, Rl = B0 && !!(() => {
|
|
21637
21637
|
try {
|
|
21638
21638
|
return R.isReadableStream(new Response("").body);
|
|
21639
21639
|
} catch {
|
|
@@ -21673,7 +21673,7 @@ const xC = async (t) => {
|
|
|
21673
21673
|
headers: A,
|
|
21674
21674
|
withCredentials: d = "same-origin",
|
|
21675
21675
|
fetchOptions: h
|
|
21676
|
-
} =
|
|
21676
|
+
} = E0(t);
|
|
21677
21677
|
u = u ? (u + "").toLowerCase() : "text";
|
|
21678
21678
|
let [f, y] = r || a || s ? kC([r, a], s) : [], C, g;
|
|
21679
21679
|
const E = () => {
|
|
@@ -21722,7 +21722,7 @@ const xC = async (t) => {
|
|
|
21722
21722
|
u = u || "text";
|
|
21723
21723
|
let b = await gs[R.findKey(gs, u) || "text"](p, t);
|
|
21724
21724
|
return !v && E(), y && y(), await new Promise((S, k) => {
|
|
21725
|
-
|
|
21725
|
+
b0(S, k, {
|
|
21726
21726
|
data: b,
|
|
21727
21727
|
headers: ft.from(p.headers),
|
|
21728
21728
|
status: p.status,
|
|
@@ -21753,7 +21753,7 @@ R.forEach(Ul, (t, e) => {
|
|
|
21753
21753
|
Object.defineProperty(t, "adapterName", { value: e });
|
|
21754
21754
|
}
|
|
21755
21755
|
});
|
|
21756
|
-
const gA = (t) => `- ${t}`, NC = (t) => R.isFunction(t) || t === null || t === !1,
|
|
21756
|
+
const gA = (t) => `- ${t}`, NC = (t) => R.isFunction(t) || t === null || t === !1, S0 = {
|
|
21757
21757
|
getAdapter: (t) => {
|
|
21758
21758
|
t = R.isArray(t) ? t : [t];
|
|
21759
21759
|
const { length: e } = t;
|
|
@@ -21792,21 +21792,21 @@ function vA(t) {
|
|
|
21792
21792
|
return Hi(t), t.headers = ft.from(t.headers), t.data = Qi.call(
|
|
21793
21793
|
t,
|
|
21794
21794
|
t.transformRequest
|
|
21795
|
-
), ["post", "put", "patch"].indexOf(t.method) !== -1 && t.headers.setContentType("application/x-www-form-urlencoded", !1),
|
|
21795
|
+
), ["post", "put", "patch"].indexOf(t.method) !== -1 && t.headers.setContentType("application/x-www-form-urlencoded", !1), S0.getAdapter(t.adapter || ia.adapter)(t).then(function(e) {
|
|
21796
21796
|
return Hi(t), e.data = Qi.call(
|
|
21797
21797
|
t,
|
|
21798
21798
|
t.transformResponse,
|
|
21799
21799
|
e
|
|
21800
21800
|
), e.headers = ft.from(e.headers), e;
|
|
21801
21801
|
}, function(e) {
|
|
21802
|
-
return
|
|
21802
|
+
return w0(e) || (Hi(t), e && e.response && (e.response.data = Qi.call(
|
|
21803
21803
|
t,
|
|
21804
21804
|
t.transformResponse,
|
|
21805
21805
|
e.response
|
|
21806
21806
|
), e.response.headers = ft.from(e.response.headers))), Promise.reject(e);
|
|
21807
21807
|
});
|
|
21808
21808
|
}
|
|
21809
|
-
const
|
|
21809
|
+
const O0 = "1.7.2", nc = {};
|
|
21810
21810
|
["object", "boolean", "number", "function", "string", "symbol"].forEach((t, e) => {
|
|
21811
21811
|
nc[t] = function(n) {
|
|
21812
21812
|
return typeof n === t || "a" + (e < 1 ? "n " : " ") + t;
|
|
@@ -21815,7 +21815,7 @@ const O3 = "1.7.2", nc = {};
|
|
|
21815
21815
|
const yA = {};
|
|
21816
21816
|
nc.transitional = function(t, e, n) {
|
|
21817
21817
|
function o(r, a) {
|
|
21818
|
-
return "[Axios v" +
|
|
21818
|
+
return "[Axios v" + O0 + "] Transitional option '" + r + "'" + a + (n ? ". " + n : "");
|
|
21819
21819
|
}
|
|
21820
21820
|
return (r, a, s) => {
|
|
21821
21821
|
if (t === !1)
|
|
@@ -21945,8 +21945,8 @@ let so = class {
|
|
|
21945
21945
|
}
|
|
21946
21946
|
getUri(t) {
|
|
21947
21947
|
t = Ao(this.defaults, t);
|
|
21948
|
-
const e =
|
|
21949
|
-
return
|
|
21948
|
+
const e = C0(t.baseURL, t.url);
|
|
21949
|
+
return g0(e, t.params, t.paramsSerializer);
|
|
21950
21950
|
}
|
|
21951
21951
|
};
|
|
21952
21952
|
R.forEach(["delete", "get", "head", "options"], function(t) {
|
|
@@ -21973,7 +21973,7 @@ R.forEach(["post", "put", "patch"], function(t) {
|
|
|
21973
21973
|
}
|
|
21974
21974
|
so.prototype[t] = e(), so.prototype[t + "Form"] = e(!0);
|
|
21975
21975
|
});
|
|
21976
|
-
let RC = class
|
|
21976
|
+
let RC = class D0 {
|
|
21977
21977
|
constructor(e) {
|
|
21978
21978
|
if (typeof e != "function")
|
|
21979
21979
|
throw new TypeError("executor must be a function.");
|
|
@@ -22033,7 +22033,7 @@ let RC = class D3 {
|
|
|
22033
22033
|
static source() {
|
|
22034
22034
|
let e;
|
|
22035
22035
|
return {
|
|
22036
|
-
token: new
|
|
22036
|
+
token: new D0(function(n) {
|
|
22037
22037
|
e = n;
|
|
22038
22038
|
}),
|
|
22039
22039
|
cancel: e
|
|
@@ -22116,18 +22116,18 @@ const Vl = {
|
|
|
22116
22116
|
Object.entries(Vl).forEach(([t, e]) => {
|
|
22117
22117
|
Vl[e] = t;
|
|
22118
22118
|
});
|
|
22119
|
-
function
|
|
22120
|
-
const e = new so(t), n =
|
|
22119
|
+
function k0(t) {
|
|
22120
|
+
const e = new so(t), n = a0(so.prototype.request, e);
|
|
22121
22121
|
return R.extend(n, so.prototype, e, { allOwnKeys: !0 }), R.extend(n, e, null, { allOwnKeys: !0 }), n.create = function(o) {
|
|
22122
|
-
return
|
|
22122
|
+
return k0(Ao(t, o));
|
|
22123
22123
|
}, n;
|
|
22124
22124
|
}
|
|
22125
|
-
const Re =
|
|
22125
|
+
const Re = k0(ia);
|
|
22126
22126
|
Re.Axios = so;
|
|
22127
22127
|
Re.CanceledError = lr;
|
|
22128
22128
|
Re.CancelToken = RC;
|
|
22129
|
-
Re.isCancel =
|
|
22130
|
-
Re.VERSION =
|
|
22129
|
+
Re.isCancel = w0;
|
|
22130
|
+
Re.VERSION = O0;
|
|
22131
22131
|
Re.toFormData = ai;
|
|
22132
22132
|
Re.AxiosError = fe;
|
|
22133
22133
|
Re.Cancel = Re.CanceledError;
|
|
@@ -22138,8 +22138,8 @@ Re.spread = UC;
|
|
|
22138
22138
|
Re.isAxiosError = _C;
|
|
22139
22139
|
Re.mergeConfig = Ao;
|
|
22140
22140
|
Re.AxiosHeaders = ft;
|
|
22141
|
-
Re.formToJSON = (t) =>
|
|
22142
|
-
Re.getAdapter =
|
|
22141
|
+
Re.formToJSON = (t) => y0(R.isHTMLForm(t) ? new FormData(t) : t);
|
|
22142
|
+
Re.getAdapter = S0.getAdapter;
|
|
22143
22143
|
Re.HttpStatusCode = Vl;
|
|
22144
22144
|
Re.default = Re;
|
|
22145
22145
|
const VC = async (t, e, n, o) => {
|
|
@@ -22158,7 +22158,7 @@ const VC = async (t, e, n, o) => {
|
|
|
22158
22158
|
"ms-agetic-token": void 0
|
|
22159
22159
|
}
|
|
22160
22160
|
});
|
|
22161
|
-
return
|
|
22161
|
+
return r0({
|
|
22162
22162
|
name: "ms-agetic-token",
|
|
22163
22163
|
value: (r = i.data.response) == null ? void 0 : r.data.token,
|
|
22164
22164
|
hours: 5
|
|
@@ -22180,7 +22180,7 @@ const VC = async (t, e, n, o) => {
|
|
|
22180
22180
|
"ms-agetic-token": void 0
|
|
22181
22181
|
}
|
|
22182
22182
|
});
|
|
22183
|
-
return
|
|
22183
|
+
return r0({
|
|
22184
22184
|
name: "ms-agetic-token",
|
|
22185
22185
|
value: (r = i.data.response) == null ? void 0 : r.data.token,
|
|
22186
22186
|
hours: 5
|
|
@@ -22191,13 +22191,13 @@ const VC = async (t, e, n, o) => {
|
|
|
22191
22191
|
};
|
|
22192
22192
|
return (await Re.post(`${e}/api/v1/auth/session-auth`, n, {
|
|
22193
22193
|
headers: {
|
|
22194
|
-
Authorization: `Bearer ${
|
|
22194
|
+
Authorization: `Bearer ${o0("ms-agetic-token")}`,
|
|
22195
22195
|
"Content-Type": "application/json; charset=utf-8",
|
|
22196
22196
|
"ms-agetic-token": void 0
|
|
22197
22197
|
}
|
|
22198
22198
|
})).data.response.data;
|
|
22199
22199
|
}, HC = (t) => `${window.VITE_API_MS_AGETIC_FRONT ? window.VITE_API_MS_AGETIC_FRONT : "http://172.27.38.54:8080"}/logout?urlRedirectLogout=${window.VITE_API_BASE_URL ? window.VITE_API_BASE_URL : void 0}&binnacleId=${t}`;
|
|
22200
|
-
function
|
|
22200
|
+
function T0() {
|
|
22201
22201
|
const t = I(), e = /* @__PURE__ */ new Map();
|
|
22202
22202
|
let n;
|
|
22203
22203
|
const o = () => {
|
|
@@ -22212,7 +22212,7 @@ function T3() {
|
|
|
22212
22212
|
d = !0;
|
|
22213
22213
|
break;
|
|
22214
22214
|
}
|
|
22215
|
-
const h = new BroadcastChannel(
|
|
22215
|
+
const h = new BroadcastChannel(W3);
|
|
22216
22216
|
t.value = h, !d && (t.value.onmessage = async (f) => {
|
|
22217
22217
|
const y = f.data;
|
|
22218
22218
|
!y || await r(y) || a(y) || s(y) || i(y);
|
|
@@ -22312,7 +22312,7 @@ function T3() {
|
|
|
22312
22312
|
if (!g)
|
|
22313
22313
|
return f({ error: !0, message: "Ha ocurrido un error, intente nuevamente" });
|
|
22314
22314
|
A();
|
|
22315
|
-
const E = JSON.parse(g), w = `${window.VITE_API_BASE_URL ? window.VITE_API_BASE_URL : void 0}`, p = `${window.VITE_API_MS_AGETIC_FRONT ? window.VITE_API_MS_AGETIC_FRONT : "http://172.27.38.54:8080"}/aprobacion?urlRedirectClient=${encodeURIComponent(`${w}`)}&documentId=${encodeURIComponent(C)}&binnacleId=${encodeURIComponent(E.binnacleId)}${d.urlNotificationDocument ? `&urlNotificationDocument=${encodeURIComponent(d.urlNotificationDocument)}` : ""}&token=${encodeURIComponent(
|
|
22315
|
+
const E = JSON.parse(g), w = `${window.VITE_API_BASE_URL ? window.VITE_API_BASE_URL : void 0}`, p = `${window.VITE_API_MS_AGETIC_FRONT ? window.VITE_API_MS_AGETIC_FRONT : "http://172.27.38.54:8080"}/aprobacion?urlRedirectClient=${encodeURIComponent(`${w}`)}&documentId=${encodeURIComponent(C)}&binnacleId=${encodeURIComponent(E.binnacleId)}${d.urlNotificationDocument ? `&urlNotificationDocument=${encodeURIComponent(d.urlNotificationDocument)}` : ""}&token=${encodeURIComponent(o0("ms-agetic-token"))}&processKey=${encodeURIComponent(y)}`, v = Da();
|
|
22316
22316
|
if (!window.open(p, y, v ? void 0 : "width=700,height=700,resizable=no"))
|
|
22317
22317
|
return f({ error: !0, message: "Ha ocurrido un error, intente nuevamente" });
|
|
22318
22318
|
e.set(y, {
|
|
@@ -22332,7 +22332,7 @@ const qC = {
|
|
|
22332
22332
|
}
|
|
22333
22333
|
};
|
|
22334
22334
|
function KC() {
|
|
22335
|
-
const t = _e(), { loginCD: e, loginCDMsAuth: n } =
|
|
22335
|
+
const t = _e(), { loginCD: e, loginCDMsAuth: n } = T0();
|
|
22336
22336
|
Me(() => {
|
|
22337
22337
|
r();
|
|
22338
22338
|
});
|
|
@@ -22619,7 +22619,7 @@ const Ja = /* @__PURE__ */ Object.create(null);
|
|
|
22619
22619
|
Object.keys(en).forEach((t) => {
|
|
22620
22620
|
Ja[en[t]] = t;
|
|
22621
22621
|
});
|
|
22622
|
-
const Zl = { type: "error", data: "parser error" },
|
|
22622
|
+
const Zl = { type: "error", data: "parser error" }, I0 = typeof Blob == "function" || typeof Blob < "u" && Object.prototype.toString.call(Blob) === "[object BlobConstructor]", M0 = typeof ArrayBuffer == "function", x0 = (t) => typeof ArrayBuffer.isView == "function" ? ArrayBuffer.isView(t) : t && t.buffer instanceof ArrayBuffer, oc = ({ type: t, data: e }, n, o) => I0 && e instanceof Blob ? n ? o(e) : wA(e, o) : M0 && (e instanceof ArrayBuffer || x0(e)) ? n ? o(e) : wA(new Blob([e]), o) : o(en[t] + (e || "")), wA = (t, e) => {
|
|
22623
22623
|
const n = new FileReader();
|
|
22624
22624
|
return n.onload = function() {
|
|
22625
22625
|
const o = n.result.split(",")[1];
|
|
@@ -22631,9 +22631,9 @@ function bA(t) {
|
|
|
22631
22631
|
}
|
|
22632
22632
|
let qi;
|
|
22633
22633
|
function jC(t, e) {
|
|
22634
|
-
if (
|
|
22634
|
+
if (I0 && t.data instanceof Blob)
|
|
22635
22635
|
return t.data.arrayBuffer().then(bA).then(e);
|
|
22636
|
-
if (
|
|
22636
|
+
if (M0 && (t.data instanceof ArrayBuffer || x0(t.data)))
|
|
22637
22637
|
return e(bA(t.data));
|
|
22638
22638
|
oc(t, !1, (n) => {
|
|
22639
22639
|
qi || (qi = new TextEncoder()), e(qi.encode(n));
|
|
@@ -22653,7 +22653,7 @@ const JC = (t) => {
|
|
|
22653
22653
|
if (typeof t != "string")
|
|
22654
22654
|
return {
|
|
22655
22655
|
type: "message",
|
|
22656
|
-
data:
|
|
22656
|
+
data: P0(t, e)
|
|
22657
22657
|
};
|
|
22658
22658
|
const n = t.charAt(0);
|
|
22659
22659
|
return n === "b" ? {
|
|
@@ -22668,10 +22668,10 @@ const JC = (t) => {
|
|
|
22668
22668
|
}, WC = (t, e) => {
|
|
22669
22669
|
if (XC) {
|
|
22670
22670
|
const n = JC(t);
|
|
22671
|
-
return
|
|
22671
|
+
return P0(n, e);
|
|
22672
22672
|
} else
|
|
22673
22673
|
return { base64: !0, data: t };
|
|
22674
|
-
},
|
|
22674
|
+
}, P0 = (t, e) => {
|
|
22675
22675
|
switch (e) {
|
|
22676
22676
|
case "blob":
|
|
22677
22677
|
return t instanceof Blob ? t : new Blob([t]);
|
|
@@ -22679,16 +22679,16 @@ const JC = (t) => {
|
|
|
22679
22679
|
default:
|
|
22680
22680
|
return t instanceof ArrayBuffer ? t : t.buffer;
|
|
22681
22681
|
}
|
|
22682
|
-
},
|
|
22682
|
+
}, L0 = "", $C = (t, e) => {
|
|
22683
22683
|
const n = t.length, o = new Array(n);
|
|
22684
22684
|
let r = 0;
|
|
22685
22685
|
t.forEach((a, s) => {
|
|
22686
22686
|
oc(a, !1, (i) => {
|
|
22687
|
-
o[s] = i, ++r === n && e(o.join(
|
|
22687
|
+
o[s] = i, ++r === n && e(o.join(L0));
|
|
22688
22688
|
});
|
|
22689
22689
|
});
|
|
22690
22690
|
}, YC = (t, e) => {
|
|
22691
|
-
const n = t.split(
|
|
22691
|
+
const n = t.split(L0), o = [];
|
|
22692
22692
|
for (let r = 0; r < n.length; r++) {
|
|
22693
22693
|
const a = rc(n[r], e);
|
|
22694
22694
|
if (o.push(a), a.type === "error")
|
|
@@ -22771,7 +22771,7 @@ function eE(t, e) {
|
|
|
22771
22771
|
}
|
|
22772
22772
|
});
|
|
22773
22773
|
}
|
|
22774
|
-
const
|
|
22774
|
+
const N0 = 4;
|
|
22775
22775
|
function Qe(t) {
|
|
22776
22776
|
if (t) return tE(t);
|
|
22777
22777
|
}
|
|
@@ -22822,7 +22822,7 @@ Qe.prototype.hasListeners = function(t) {
|
|
|
22822
22822
|
return !!this.listeners(t).length;
|
|
22823
22823
|
};
|
|
22824
22824
|
const ii = typeof Promise == "function" && typeof Promise.resolve == "function" ? (e) => Promise.resolve().then(e) : (e, n) => n(e, 0), Bt = typeof self < "u" ? self : typeof window < "u" ? window : Function("return this")(), nE = "arraybuffer";
|
|
22825
|
-
function
|
|
22825
|
+
function F0(t, ...e) {
|
|
22826
22826
|
return e.reduce((n, o) => (t.hasOwnProperty(o) && (n[o] = t[o]), n), {});
|
|
22827
22827
|
}
|
|
22828
22828
|
const oE = Bt.setTimeout, rE = Bt.clearTimeout;
|
|
@@ -22839,7 +22839,7 @@ function iE(t) {
|
|
|
22839
22839
|
e = t.charCodeAt(o), e < 128 ? n += 1 : e < 2048 ? n += 2 : e < 55296 || e >= 57344 ? n += 3 : (o++, n += 4);
|
|
22840
22840
|
return n;
|
|
22841
22841
|
}
|
|
22842
|
-
function
|
|
22842
|
+
function R0() {
|
|
22843
22843
|
return Date.now().toString(36).substring(3) + Math.random().toString(36).substring(2, 5);
|
|
22844
22844
|
}
|
|
22845
22845
|
function lE(t) {
|
|
@@ -23048,15 +23048,15 @@ class AE extends ac {
|
|
|
23048
23048
|
*/
|
|
23049
23049
|
uri() {
|
|
23050
23050
|
const e = this.opts.secure ? "https" : "http", n = this.query || {};
|
|
23051
|
-
return this.opts.timestampRequests !== !1 && (n[this.opts.timestampParam] =
|
|
23051
|
+
return this.opts.timestampRequests !== !1 && (n[this.opts.timestampParam] = R0()), !this.supportsBinary && !n.sid && (n.b64 = 1), this.createUri(e, n);
|
|
23052
23052
|
}
|
|
23053
23053
|
}
|
|
23054
|
-
let
|
|
23054
|
+
let U0 = !1;
|
|
23055
23055
|
try {
|
|
23056
|
-
|
|
23056
|
+
U0 = typeof XMLHttpRequest < "u" && "withCredentials" in new XMLHttpRequest();
|
|
23057
23057
|
} catch {
|
|
23058
23058
|
}
|
|
23059
|
-
const dE =
|
|
23059
|
+
const dE = U0;
|
|
23060
23060
|
function fE() {
|
|
23061
23061
|
}
|
|
23062
23062
|
class hE extends AE {
|
|
@@ -23118,7 +23118,7 @@ let _o = class Xa extends Qe {
|
|
|
23118
23118
|
*/
|
|
23119
23119
|
_create() {
|
|
23120
23120
|
var e;
|
|
23121
|
-
const n =
|
|
23121
|
+
const n = F0(this._opts, "agent", "pfx", "key", "passphrase", "cert", "ca", "ciphers", "rejectUnauthorized", "autoUnref");
|
|
23122
23122
|
n.xdomain = !!this._opts.xd;
|
|
23123
23123
|
const o = this._xhr = this.createRequest(n);
|
|
23124
23124
|
try {
|
|
@@ -23213,7 +23213,7 @@ function EA() {
|
|
|
23213
23213
|
_o.requests.hasOwnProperty(t) && _o.requests[t].abort();
|
|
23214
23214
|
}
|
|
23215
23215
|
const pE = function() {
|
|
23216
|
-
const t =
|
|
23216
|
+
const t = _0({
|
|
23217
23217
|
xdomain: !1
|
|
23218
23218
|
});
|
|
23219
23219
|
return t && t.responseType !== null;
|
|
@@ -23225,10 +23225,10 @@ class mE extends hE {
|
|
|
23225
23225
|
this.supportsBinary = pE && !n;
|
|
23226
23226
|
}
|
|
23227
23227
|
request(e = {}) {
|
|
23228
|
-
return Object.assign(e, { xd: this.xd }, this.opts), new _o(
|
|
23228
|
+
return Object.assign(e, { xd: this.xd }, this.opts), new _o(_0, this.uri(), e);
|
|
23229
23229
|
}
|
|
23230
23230
|
}
|
|
23231
|
-
function
|
|
23231
|
+
function _0(t) {
|
|
23232
23232
|
const e = t.xdomain;
|
|
23233
23233
|
try {
|
|
23234
23234
|
if (typeof XMLHttpRequest < "u" && (!e || dE))
|
|
@@ -23241,13 +23241,13 @@ function _3(t) {
|
|
|
23241
23241
|
} catch {
|
|
23242
23242
|
}
|
|
23243
23243
|
}
|
|
23244
|
-
const
|
|
23244
|
+
const V0 = typeof navigator < "u" && typeof navigator.product == "string" && navigator.product.toLowerCase() === "reactnative";
|
|
23245
23245
|
class gE extends ac {
|
|
23246
23246
|
get name() {
|
|
23247
23247
|
return "websocket";
|
|
23248
23248
|
}
|
|
23249
23249
|
doOpen() {
|
|
23250
|
-
const e = this.uri(), n = this.opts.protocols, o =
|
|
23250
|
+
const e = this.uri(), n = this.opts.protocols, o = V0 ? {} : F0(this.opts, "agent", "perMessageDeflate", "pfx", "key", "passphrase", "cert", "ca", "ciphers", "rejectUnauthorized", "localAddress", "protocolVersion", "origin", "maxPayload", "family", "checkServerIdentity");
|
|
23251
23251
|
this.opts.extraHeaders && (o.headers = this.opts.extraHeaders);
|
|
23252
23252
|
try {
|
|
23253
23253
|
this.ws = this.createSocket(e, n, o);
|
|
@@ -23295,13 +23295,13 @@ class gE extends ac {
|
|
|
23295
23295
|
*/
|
|
23296
23296
|
uri() {
|
|
23297
23297
|
const e = this.opts.secure ? "wss" : "ws", n = this.query || {};
|
|
23298
|
-
return this.opts.timestampRequests && (n[this.opts.timestampParam] =
|
|
23298
|
+
return this.opts.timestampRequests && (n[this.opts.timestampParam] = R0()), this.supportsBinary || (n.b64 = 1), this.createUri(e, n);
|
|
23299
23299
|
}
|
|
23300
23300
|
}
|
|
23301
23301
|
const zi = Bt.WebSocket || Bt.MozWebSocket;
|
|
23302
23302
|
class vE extends gE {
|
|
23303
23303
|
createSocket(e, n, o) {
|
|
23304
|
-
return
|
|
23304
|
+
return V0 ? new zi(e, n, o) : n ? new zi(e, n) : new zi(e);
|
|
23305
23305
|
}
|
|
23306
23306
|
doWrite(e, n) {
|
|
23307
23307
|
this.ws.send(n);
|
|
@@ -23443,7 +23443,7 @@ class Nn extends Qe {
|
|
|
23443
23443
|
*/
|
|
23444
23444
|
createTransport(e) {
|
|
23445
23445
|
const n = Object.assign({}, this.opts.query);
|
|
23446
|
-
n.EIO =
|
|
23446
|
+
n.EIO = N0, n.transport = e, this.id && (n.sid = this.id);
|
|
23447
23447
|
const o = Object.assign({}, this.opts, {
|
|
23448
23448
|
query: n,
|
|
23449
23449
|
socket: this,
|
|
@@ -23667,7 +23667,7 @@ class Nn extends Qe {
|
|
|
23667
23667
|
}
|
|
23668
23668
|
}
|
|
23669
23669
|
}
|
|
23670
|
-
Nn.protocol =
|
|
23670
|
+
Nn.protocol = N0;
|
|
23671
23671
|
class SE extends Nn {
|
|
23672
23672
|
constructor() {
|
|
23673
23673
|
super(...arguments), this._upgrades = [];
|
|
@@ -23752,7 +23752,7 @@ function DE(t, e = "", n) {
|
|
|
23752
23752
|
const a = o.host.indexOf(":") !== -1 ? "[" + o.host + "]" : o.host;
|
|
23753
23753
|
return o.id = o.protocol + "://" + a + ":" + o.port + e, o.href = o.protocol + "://" + a + (n && n.port === o.port ? "" : ":" + o.port), o;
|
|
23754
23754
|
}
|
|
23755
|
-
const kE = typeof ArrayBuffer == "function", TE = (t) => typeof ArrayBuffer.isView == "function" ? ArrayBuffer.isView(t) : t.buffer instanceof ArrayBuffer,
|
|
23755
|
+
const kE = typeof ArrayBuffer == "function", TE = (t) => typeof ArrayBuffer.isView == "function" ? ArrayBuffer.isView(t) : t.buffer instanceof ArrayBuffer, Z0 = Object.prototype.toString, IE = typeof Blob == "function" || typeof Blob < "u" && Z0.call(Blob) === "[object BlobConstructor]", ME = typeof File == "function" || typeof File < "u" && Z0.call(File) === "[object FileConstructor]";
|
|
23756
23756
|
function sc(t) {
|
|
23757
23757
|
return kE && (t instanceof ArrayBuffer || TE(t)) || IE && t instanceof Blob || ME && t instanceof File;
|
|
23758
23758
|
}
|
|
@@ -24032,7 +24032,7 @@ const _E = Object.freeze({
|
|
|
24032
24032
|
newListener: 1,
|
|
24033
24033
|
removeListener: 1
|
|
24034
24034
|
});
|
|
24035
|
-
class
|
|
24035
|
+
class Q0 extends Qe {
|
|
24036
24036
|
/**
|
|
24037
24037
|
* `Socket` constructor.
|
|
24038
24038
|
*/
|
|
@@ -24788,7 +24788,7 @@ class zl extends Qe {
|
|
|
24788
24788
|
*/
|
|
24789
24789
|
socket(e, n) {
|
|
24790
24790
|
let o = this.nsps[e];
|
|
24791
|
-
return o ? this._autoConnect && !o.active && o.connect() : (o = new
|
|
24791
|
+
return o ? this._autoConnect && !o.active && o.connect() : (o = new Q0(this, e, n), this.nsps[e] = o), o;
|
|
24792
24792
|
}
|
|
24793
24793
|
/**
|
|
24794
24794
|
* Called upon a socket close.
|
|
@@ -24894,7 +24894,7 @@ function Ya(t, e) {
|
|
|
24894
24894
|
}
|
|
24895
24895
|
Object.assign(Ya, {
|
|
24896
24896
|
Manager: zl,
|
|
24897
|
-
Socket:
|
|
24897
|
+
Socket: Q0,
|
|
24898
24898
|
io: Ya,
|
|
24899
24899
|
connect: Ya
|
|
24900
24900
|
});
|
|
@@ -25988,7 +25988,7 @@ const KS = "AUTH_PERFIL_PERSONA_EDITAR_FOTO", zS = (t) => {
|
|
|
25988
25988
|
xmlns: "http://www.w3.org/2000/svg",
|
|
25989
25989
|
fill: "none",
|
|
25990
25990
|
viewBox: "0 0 113 113"
|
|
25991
|
-
}, JS = ["stroke"], XS = ["fill"],
|
|
25991
|
+
}, JS = ["stroke"], XS = ["fill"], H0 = /* @__PURE__ */ N({
|
|
25992
25992
|
__name: "DefaultUserIcon",
|
|
25993
25993
|
setup(t) {
|
|
25994
25994
|
const e = U(
|
|
@@ -26057,7 +26057,7 @@ const KS = "AUTH_PERFIL_PERSONA_EDITAR_FOTO", zS = (t) => {
|
|
|
26057
26057
|
class: "fge-auth-profile-img",
|
|
26058
26058
|
onError: o
|
|
26059
26059
|
}, null, 40, GS)) : (D(), K("div", eO, [
|
|
26060
|
-
B(
|
|
26060
|
+
B(H0)
|
|
26061
26061
|
]))
|
|
26062
26062
|
]),
|
|
26063
26063
|
r.$slots.floatButton ? (D(), K("div", tO, [
|
|
@@ -26889,7 +26889,7 @@ const CO = { render: bO }, EO = /* @__PURE__ */ m("button", { class: "auth-hide-
|
|
|
26889
26889
|
class: "auth-radio-group-item fge-gray-button-option w-full"
|
|
26890
26890
|
}, [
|
|
26891
26891
|
m("button", aD, [
|
|
26892
|
-
B(c(
|
|
26892
|
+
B(c(J3), {
|
|
26893
26893
|
class: ve({
|
|
26894
26894
|
"auth-svg-primary": c(s).verificadoWhatsapp,
|
|
26895
26895
|
"auth-svg-gray": !c(s).verificadoWhatsapp
|
|
@@ -27205,7 +27205,7 @@ const CO = { render: bO }, EO = /* @__PURE__ */ m("button", { class: "auth-hide-
|
|
|
27205
27205
|
"onUpdate:open": H[14] || (H[14] = (j) => $e(y) ? y.value = j : null),
|
|
27206
27206
|
openClick: c(q)
|
|
27207
27207
|
}, null, 8, ["open", "openClick"]),
|
|
27208
|
-
B(
|
|
27208
|
+
B(X3, {
|
|
27209
27209
|
open: c(C),
|
|
27210
27210
|
"onUpdate:open": H[15] || (H[15] = (j) => $e(C) ? C.value = j : null),
|
|
27211
27211
|
openClick: c(g)
|
|
@@ -27258,7 +27258,7 @@ const CO = { render: bO }, EO = /* @__PURE__ */ m("button", { class: "auth-hide-
|
|
|
27258
27258
|
])
|
|
27259
27259
|
]));
|
|
27260
27260
|
}
|
|
27261
|
-
}),
|
|
27261
|
+
}), q0 = /* @__PURE__ */ N({
|
|
27262
27262
|
__name: "FgePerfilSidebar",
|
|
27263
27263
|
setup(t, { expose: e }) {
|
|
27264
27264
|
const n = I(), { displayModal: o, openDialog: r, closeDialog: a } = qS();
|
|
@@ -27366,25 +27366,25 @@ const WD = {
|
|
|
27366
27366
|
])
|
|
27367
27367
|
])) : ie("", !0);
|
|
27368
27368
|
}
|
|
27369
|
-
}),
|
|
27370
|
-
|
|
27371
|
-
],
|
|
27369
|
+
}), K0 = /* @__PURE__ */ qt(tk, [["__scopeId", "data-v-1f89df6f"]]), nk = { class: "fge-auth-component" }, ok = { class: "sidebar-header" }, rk = /* @__PURE__ */ m("h3", null, "Dispositivos de confianza", -1), ak = { class: "header-buttons" }, sk = /* @__PURE__ */ m("i", { class: "pi pi-refresh" }, null, -1), ik = [
|
|
27370
|
+
sk
|
|
27371
|
+
], lk = {
|
|
27372
27372
|
key: 1,
|
|
27373
27373
|
class: "error"
|
|
27374
|
-
},
|
|
27374
|
+
}, ck = { class: "sidebar-body" }, uk = {
|
|
27375
27375
|
key: 0,
|
|
27376
27376
|
class: "devices-list"
|
|
27377
|
-
},
|
|
27378
|
-
|
|
27379
|
-
],
|
|
27377
|
+
}, Ak = { class: "card-body" }, dk = { class: "card-left" }, fk = { class: "icon-circle" }, hk = { class: "card-content" }, pk = { class: "card-header" }, mk = { class: "device-title" }, gk = { class: "device-id" }, vk = { class: "card-row" }, yk = /* @__PURE__ */ m("i", { class: "pi pi-calendar" }, null, -1), wk = { class: "card-text" }, bk = { class: "muted-title" }, Ck = { class: "muted-value" }, Ek = { class: "card-row" }, Bk = /* @__PURE__ */ m("i", { class: "pi pi-calendar" }, null, -1), Sk = { class: "card-text" }, Ok = { class: "muted-title" }, Dk = { class: "muted-value" }, kk = ["onClick"], Tk = /* @__PURE__ */ m("i", { class: "pi pi-sign-out" }, null, -1), Ik = [
|
|
27378
|
+
Tk
|
|
27379
|
+
], Mk = {
|
|
27380
27380
|
key: 1,
|
|
27381
27381
|
class: "no-devices"
|
|
27382
|
-
},
|
|
27383
|
-
|
|
27384
|
-
],
|
|
27382
|
+
}, xk = /* @__PURE__ */ m("div", null, "No hay dispositivos de confianza registrados.", -1), Pk = [
|
|
27383
|
+
xk
|
|
27384
|
+
], Lk = {
|
|
27385
27385
|
key: 2,
|
|
27386
27386
|
class: "sidebar-footer"
|
|
27387
|
-
},
|
|
27387
|
+
}, Nk = /* @__PURE__ */ N({
|
|
27388
27388
|
__name: "FgeDispositivos",
|
|
27389
27389
|
setup(t, { expose: e }) {
|
|
27390
27390
|
const n = I(!1), { dispositivos: o, isLoading: r, error: a, refresh: s } = XD(), i = _e(), l = () => {
|
|
@@ -27541,116 +27541,117 @@ const WD = {
|
|
|
27541
27541
|
isOpen: n.value,
|
|
27542
27542
|
"onUpdate:isOpen": b[2] || (b[2] = (S) => n.value = S),
|
|
27543
27543
|
dismissable: !1,
|
|
27544
|
-
noPadding: !0
|
|
27545
|
-
class: "fge-auth-component"
|
|
27544
|
+
noPadding: !0
|
|
27546
27545
|
}, {
|
|
27547
27546
|
default: O(() => [
|
|
27548
|
-
c(r) ? (D(), Z(ci, { key: 0 })) : ie("", !0),
|
|
27549
27547
|
m("div", nk, [
|
|
27550
|
-
|
|
27551
|
-
m("div",
|
|
27552
|
-
|
|
27553
|
-
|
|
27554
|
-
|
|
27555
|
-
|
|
27556
|
-
|
|
27557
|
-
|
|
27558
|
-
|
|
27559
|
-
|
|
27560
|
-
|
|
27561
|
-
|
|
27562
|
-
|
|
27563
|
-
|
|
27564
|
-
|
|
27565
|
-
|
|
27566
|
-
|
|
27567
|
-
|
|
27568
|
-
|
|
27569
|
-
|
|
27570
|
-
|
|
27571
|
-
|
|
27572
|
-
|
|
27573
|
-
|
|
27574
|
-
|
|
27575
|
-
|
|
27576
|
-
|
|
27577
|
-
|
|
27578
|
-
|
|
27579
|
-
|
|
27548
|
+
c(r) ? (D(), Z(ci, { key: 0 })) : ie("", !0),
|
|
27549
|
+
m("div", ok, [
|
|
27550
|
+
rk,
|
|
27551
|
+
m("div", ak, [
|
|
27552
|
+
m("button", {
|
|
27553
|
+
class: "close-btn",
|
|
27554
|
+
onClick: b[0] || (b[0] = //@ts-ignore
|
|
27555
|
+
(...S) => c(s) && c(s)(...S))
|
|
27556
|
+
}, ik),
|
|
27557
|
+
m("button", {
|
|
27558
|
+
class: "close-btn",
|
|
27559
|
+
onClick: p
|
|
27560
|
+
}, "✕")
|
|
27561
|
+
])
|
|
27562
|
+
]),
|
|
27563
|
+
c(a) ? (D(), K("div", lk, "Error al cargar dispositivos")) : ie("", !0),
|
|
27564
|
+
B(K0, {
|
|
27565
|
+
open: u.value,
|
|
27566
|
+
"onUpdate:open": b[1] || (b[1] = (S) => u.value = S),
|
|
27567
|
+
title: A.value,
|
|
27568
|
+
message: d.value,
|
|
27569
|
+
confirmLabel: "Sí",
|
|
27570
|
+
cancelLabel: "No",
|
|
27571
|
+
onConfirm: f
|
|
27572
|
+
}, null, 8, ["open", "title", "message"]),
|
|
27573
|
+
m("div", ck, [
|
|
27574
|
+
!c(r) && E.value.length ? (D(), K("ul", uk, [
|
|
27575
|
+
(D(!0), K(Ne, null, zt(E.value, (S) => (D(), K("li", {
|
|
27576
|
+
key: S.id,
|
|
27577
|
+
class: "device-card"
|
|
27578
|
+
}, [
|
|
27580
27579
|
m("div", Ak, [
|
|
27581
27580
|
m("div", dk, [
|
|
27582
|
-
m("
|
|
27583
|
-
|
|
27584
|
-
|
|
27585
|
-
|
|
27586
|
-
]),
|
|
27587
|
-
m("div", fk, [
|
|
27588
|
-
m("div", hk, [
|
|
27589
|
-
m("div", pk, le(S.nombreDispositivo || "Dispositivo sin nombre"), 1),
|
|
27590
|
-
m("div", mk, le(S.identificadorDispositivo), 1)
|
|
27591
|
-
]),
|
|
27592
|
-
m("div", gk, [
|
|
27593
|
-
vk,
|
|
27594
|
-
m("div", yk, [
|
|
27595
|
-
m("span", wk, [
|
|
27596
|
-
me("Última autenticación: "),
|
|
27597
|
-
m("span", bk, le(S.fechaUltimaAutenticacion), 1)
|
|
27598
|
-
])
|
|
27581
|
+
m("div", fk, [
|
|
27582
|
+
m("i", {
|
|
27583
|
+
class: ve(["pi", S.esMovil ? "pi-mobile" : "pi-desktop", "icon"])
|
|
27584
|
+
}, null, 2)
|
|
27599
27585
|
])
|
|
27600
27586
|
]),
|
|
27601
|
-
m("div",
|
|
27602
|
-
|
|
27603
|
-
|
|
27604
|
-
m("
|
|
27605
|
-
|
|
27606
|
-
|
|
27587
|
+
m("div", hk, [
|
|
27588
|
+
m("div", pk, [
|
|
27589
|
+
m("div", mk, le(S.nombreDispositivo || "Dispositivo sin nombre"), 1),
|
|
27590
|
+
m("div", gk, le(S.identificadorDispositivo), 1)
|
|
27591
|
+
]),
|
|
27592
|
+
m("div", vk, [
|
|
27593
|
+
yk,
|
|
27594
|
+
m("div", wk, [
|
|
27595
|
+
m("span", bk, [
|
|
27596
|
+
me("Última autenticación: "),
|
|
27597
|
+
m("span", Ck, le(S.fechaUltimaAutenticacion), 1)
|
|
27598
|
+
])
|
|
27599
|
+
])
|
|
27600
|
+
]),
|
|
27601
|
+
m("div", Ek, [
|
|
27602
|
+
Bk,
|
|
27603
|
+
m("div", Sk, [
|
|
27604
|
+
m("span", Ok, [
|
|
27605
|
+
me("Fecha expiración: "),
|
|
27606
|
+
m("span", Dk, le(S.fechaExpiracion), 1)
|
|
27607
|
+
])
|
|
27607
27608
|
])
|
|
27608
27609
|
])
|
|
27609
27610
|
])
|
|
27610
|
-
])
|
|
27611
|
-
|
|
27612
|
-
|
|
27613
|
-
|
|
27614
|
-
|
|
27615
|
-
|
|
27616
|
-
|
|
27617
|
-
]))
|
|
27618
|
-
|
|
27619
|
-
|
|
27620
|
-
|
|
27621
|
-
|
|
27622
|
-
|
|
27623
|
-
|
|
27624
|
-
|
|
27625
|
-
|
|
27626
|
-
|
|
27627
|
-
|
|
27628
|
-
|
|
27629
|
-
|
|
27630
|
-
])
|
|
27611
|
+
]),
|
|
27612
|
+
m("button", {
|
|
27613
|
+
class: "action-btn",
|
|
27614
|
+
title: "Cerrar sesión en este dispositivo",
|
|
27615
|
+
onClick: (k) => y(S)
|
|
27616
|
+
}, Ik, 8, kk)
|
|
27617
|
+
]))), 128))
|
|
27618
|
+
])) : ie("", !0),
|
|
27619
|
+
!c(r) && !E.value.length ? (D(), K("div", Mk, Pk)) : ie("", !0)
|
|
27620
|
+
]),
|
|
27621
|
+
!c(r) && E.value.length ? (D(), K("div", Lk, [
|
|
27622
|
+
m("button", {
|
|
27623
|
+
class: "fge-delete2-button",
|
|
27624
|
+
onClick: C
|
|
27625
|
+
}, " Eliminar todos menos el actual "),
|
|
27626
|
+
m("button", {
|
|
27627
|
+
class: "fge-delete-button",
|
|
27628
|
+
onClick: g
|
|
27629
|
+
}, " Eliminar todos los dispositivos ")
|
|
27630
|
+
])) : ie("", !0)
|
|
27631
|
+
])
|
|
27631
27632
|
]),
|
|
27632
27633
|
_: 1
|
|
27633
27634
|
}, 8, ["isOpen"]));
|
|
27634
27635
|
}
|
|
27635
|
-
}),
|
|
27636
|
+
}), Fk = async (t) => Ae.patch("/v1/sesion/listar-activas", t).then((e) => {
|
|
27636
27637
|
const n = (e == null ? void 0 : e.data) ?? e;
|
|
27637
27638
|
return Array.isArray(n) ? n : Array.isArray(n == null ? void 0 : n.response.data) ? n.response.data : [];
|
|
27638
|
-
}).catch((e) => (console.error("Error fetching dispositivos:", e), [])),
|
|
27639
|
+
}).catch((e) => (console.error("Error fetching dispositivos:", e), [])), Rk = async (t) => Ae.patch("/v1/sesion/finalizar", t).then((e) => e).catch((e) => {
|
|
27639
27640
|
var n;
|
|
27640
27641
|
throw (n = e.response) != null && n.data ? e.response.data : e;
|
|
27641
|
-
}),
|
|
27642
|
+
}), Uk = async (t) => Ae.patch("/v1/sesion/finalizar-menos-actual", t).then((e) => e).catch((e) => {
|
|
27642
27643
|
var n;
|
|
27643
27644
|
throw (n = e.response) != null && n.data ? e.response.data : e;
|
|
27644
|
-
}),
|
|
27645
|
+
}), _k = async (t) => Ae.patch("/v1/sesion/finalizar-todas", t).then((e) => e).catch((e) => {
|
|
27645
27646
|
var n;
|
|
27646
27647
|
throw (n = e.response) != null && n.data ? e.response.data : e;
|
|
27647
27648
|
});
|
|
27648
|
-
function
|
|
27649
|
+
function Vk() {
|
|
27649
27650
|
const t = I([]), e = I(!1), n = I(null), o = _e(), r = async () => {
|
|
27650
27651
|
var s;
|
|
27651
27652
|
e.value = !0, n.value = null;
|
|
27652
27653
|
try {
|
|
27653
|
-
const i = ((s = o.userState.user) == null ? void 0 : s.id) ?? 0, l = await
|
|
27654
|
+
const i = ((s = o.userState.user) == null ? void 0 : s.id) ?? 0, l = await Fk({ usuarioId: i });
|
|
27654
27655
|
console.debug("getSesiones response:", l), t.value = Array.isArray(l) ? l : [];
|
|
27655
27656
|
} catch (i) {
|
|
27656
27657
|
n.value = i;
|
|
@@ -27669,31 +27670,31 @@ function _k() {
|
|
|
27669
27670
|
refresh: a
|
|
27670
27671
|
};
|
|
27671
27672
|
}
|
|
27672
|
-
const
|
|
27673
|
-
|
|
27674
|
-
],
|
|
27673
|
+
const Zk = { class: "fge-auth-component" }, Qk = { class: "sidebar-header" }, Hk = /* @__PURE__ */ m("h3", null, "Sesiones activas", -1), qk = { class: "header-buttons" }, Kk = /* @__PURE__ */ m("i", { class: "pi pi-refresh" }, null, -1), zk = [
|
|
27674
|
+
Kk
|
|
27675
|
+
], jk = { class: "sidebar-body" }, Jk = {
|
|
27675
27676
|
key: 0,
|
|
27676
27677
|
class: "devices-list"
|
|
27677
|
-
},
|
|
27678
|
+
}, Xk = { class: "card-body" }, Wk = { class: "card-left" }, $k = { class: "icon-circle" }, Yk = { class: "card-content" }, Gk = { class: "card-header" }, eT = { class: "device-title-row" }, tT = { class: "device-title" }, nT = { class: "badges" }, oT = {
|
|
27678
27679
|
key: 0,
|
|
27679
27680
|
class: "badge badge-actual"
|
|
27680
|
-
},
|
|
27681
|
+
}, rT = {
|
|
27681
27682
|
key: 1,
|
|
27682
27683
|
class: "badge badge-cd"
|
|
27683
|
-
},
|
|
27684
|
-
|
|
27685
|
-
],
|
|
27684
|
+
}, aT = { class: "device-id" }, sT = { class: "card-row" }, iT = /* @__PURE__ */ m("i", { class: "pi pi-desktop" }, null, -1), lT = { class: "card-text" }, cT = { class: "muted-title" }, uT = { class: "muted-value" }, AT = { class: "card-row" }, dT = /* @__PURE__ */ m("i", { class: "pi pi-calendar" }, null, -1), fT = { class: "card-text" }, hT = { class: "muted-title" }, pT = { class: "muted-value" }, mT = { class: "card-row" }, gT = /* @__PURE__ */ m("i", { class: "pi pi-calendar" }, null, -1), vT = { class: "card-text" }, yT = { class: "muted-title" }, wT = { class: "muted-value" }, bT = ["onClick"], CT = /* @__PURE__ */ m("i", { class: "pi pi-sign-out" }, null, -1), ET = [
|
|
27685
|
+
CT
|
|
27686
|
+
], BT = {
|
|
27686
27687
|
key: 1,
|
|
27687
27688
|
class: "no-devices"
|
|
27688
|
-
},
|
|
27689
|
-
|
|
27690
|
-
],
|
|
27689
|
+
}, ST = /* @__PURE__ */ m("div", null, "No hay sesiones activas.", -1), OT = [
|
|
27690
|
+
ST
|
|
27691
|
+
], DT = {
|
|
27691
27692
|
key: 1,
|
|
27692
27693
|
class: "sidebar-footer"
|
|
27693
|
-
},
|
|
27694
|
+
}, kT = /* @__PURE__ */ N({
|
|
27694
27695
|
__name: "FgeSesiones",
|
|
27695
27696
|
setup(t, { expose: e }) {
|
|
27696
|
-
const n = I(!1), { sesiones: o, isLoading: r, error: a, refresh: s } =
|
|
27697
|
+
const n = I(!1), { sesiones: o, isLoading: r, error: a, refresh: s } = Vk(), i = _e(), l = () => {
|
|
27697
27698
|
var v;
|
|
27698
27699
|
return ((v = i.userState.user) == null ? void 0 : v.id) ?? 0;
|
|
27699
27700
|
}, u = I(!1), A = I("Confirmar"), d = I("¿Desea continuar?"), h = I(null);
|
|
@@ -27709,7 +27710,7 @@ const Vk = { class: "sidebar-header" }, Zk = /* @__PURE__ */ m("h3", null, "Sesi
|
|
|
27709
27710
|
function y(v) {
|
|
27710
27711
|
A.value = "Finalizar sesión", d.value = "¿Desea cerrar esta sesión remota?", h.value = async () => {
|
|
27711
27712
|
try {
|
|
27712
|
-
const b = await
|
|
27713
|
+
const b = await Rk({ usuarioId: l(), sesionId: v.id });
|
|
27713
27714
|
b != null && b.error ? $.error(
|
|
27714
27715
|
`<p class="toast-title">Error</p><p class="toast-description">${(b == null ? void 0 : b.message) || "Error al finalizar sesión"}</p>`,
|
|
27715
27716
|
{
|
|
@@ -27746,7 +27747,7 @@ const Vk = { class: "sidebar-header" }, Zk = /* @__PURE__ */ m("h3", null, "Sesi
|
|
|
27746
27747
|
function C() {
|
|
27747
27748
|
A.value = "Finalizar sesiones", d.value = "¿Desea finalizar todas las sesiones menos la actual?", h.value = async () => {
|
|
27748
27749
|
try {
|
|
27749
|
-
const v = await
|
|
27750
|
+
const v = await Uk({ usuarioId: l() });
|
|
27750
27751
|
v != null && v.error ? $.error(
|
|
27751
27752
|
`<p class="toast-title">Error</p><p class="toast-description">${(v == null ? void 0 : v.message) || "Error al finalizar sesiones"}</p>`,
|
|
27752
27753
|
{
|
|
@@ -27783,7 +27784,7 @@ const Vk = { class: "sidebar-header" }, Zk = /* @__PURE__ */ m("h3", null, "Sesi
|
|
|
27783
27784
|
function g() {
|
|
27784
27785
|
A.value = "Finalizar sesiones", d.value = "¿Desea finalizar todas las sesiones?", h.value = async () => {
|
|
27785
27786
|
try {
|
|
27786
|
-
const v = await
|
|
27787
|
+
const v = await _k({ usuarioId: l() });
|
|
27787
27788
|
v != null && v.error ? $.error(
|
|
27788
27789
|
`<p class="toast-title">Error</p><p class="toast-description">${(v == null ? void 0 : v.message) || "Error al finalizar sesiones"}</p>`,
|
|
27789
27790
|
{
|
|
@@ -27844,121 +27845,122 @@ const Vk = { class: "sidebar-header" }, Zk = /* @__PURE__ */ m("h3", null, "Sesi
|
|
|
27844
27845
|
isOpen: n.value,
|
|
27845
27846
|
"onUpdate:isOpen": b[2] || (b[2] = (S) => n.value = S),
|
|
27846
27847
|
dismissable: !1,
|
|
27847
|
-
noPadding: !0
|
|
27848
|
-
class: "fge-auth-component"
|
|
27848
|
+
noPadding: !0
|
|
27849
27849
|
}, {
|
|
27850
27850
|
default: O(() => [
|
|
27851
|
-
|
|
27852
|
-
|
|
27853
|
-
Zk,
|
|
27851
|
+
m("div", Zk, [
|
|
27852
|
+
c(r) ? (D(), Z(ci, { key: 0 })) : ie("", !0),
|
|
27854
27853
|
m("div", Qk, [
|
|
27855
|
-
|
|
27856
|
-
|
|
27857
|
-
|
|
27858
|
-
|
|
27859
|
-
|
|
27860
|
-
|
|
27861
|
-
|
|
27862
|
-
|
|
27863
|
-
|
|
27864
|
-
|
|
27865
|
-
|
|
27866
|
-
|
|
27867
|
-
|
|
27868
|
-
|
|
27869
|
-
|
|
27870
|
-
|
|
27871
|
-
|
|
27872
|
-
|
|
27873
|
-
|
|
27874
|
-
|
|
27875
|
-
|
|
27876
|
-
|
|
27877
|
-
|
|
27878
|
-
|
|
27879
|
-
|
|
27880
|
-
|
|
27881
|
-
|
|
27882
|
-
|
|
27883
|
-
|
|
27884
|
-
|
|
27885
|
-
|
|
27886
|
-
|
|
27887
|
-
|
|
27888
|
-
|
|
27889
|
-
|
|
27890
|
-
|
|
27891
|
-
|
|
27892
|
-
|
|
27854
|
+
Hk,
|
|
27855
|
+
m("div", qk, [
|
|
27856
|
+
m("button", {
|
|
27857
|
+
class: "close-btn",
|
|
27858
|
+
onClick: b[0] || (b[0] = //@ts-ignore
|
|
27859
|
+
(...S) => c(s) && c(s)(...S))
|
|
27860
|
+
}, zk),
|
|
27861
|
+
m("button", {
|
|
27862
|
+
class: "close-btn",
|
|
27863
|
+
onClick: p
|
|
27864
|
+
}, "✕")
|
|
27865
|
+
])
|
|
27866
|
+
]),
|
|
27867
|
+
B(K0, {
|
|
27868
|
+
open: u.value,
|
|
27869
|
+
"onUpdate:open": b[1] || (b[1] = (S) => u.value = S),
|
|
27870
|
+
title: A.value,
|
|
27871
|
+
message: d.value,
|
|
27872
|
+
confirmLabel: "Sí",
|
|
27873
|
+
cancelLabel: "No",
|
|
27874
|
+
onConfirm: f
|
|
27875
|
+
}, null, 8, ["open", "title", "message"]),
|
|
27876
|
+
m("div", jk, [
|
|
27877
|
+
!c(r) && E.value.length ? (D(), K("ul", Jk, [
|
|
27878
|
+
(D(!0), K(Ne, null, zt(E.value, (S) => (D(), K("li", {
|
|
27879
|
+
key: S.id,
|
|
27880
|
+
class: "device-card"
|
|
27881
|
+
}, [
|
|
27882
|
+
m("div", Xk, [
|
|
27883
|
+
m("div", Wk, [
|
|
27884
|
+
m("div", $k, [
|
|
27885
|
+
m("i", {
|
|
27886
|
+
class: ve(["pi", S.esMovil ? "pi-mobile" : "pi-desktop", "icon"])
|
|
27887
|
+
}, null, 2)
|
|
27888
|
+
])
|
|
27889
|
+
]),
|
|
27890
|
+
m("div", Yk, [
|
|
27891
|
+
m("div", Gk, [
|
|
27893
27892
|
m("div", eT, [
|
|
27894
|
-
|
|
27895
|
-
|
|
27896
|
-
|
|
27893
|
+
m("div", tT, le(S.dispositivo || S.navegador || S.aplicacion), 1),
|
|
27894
|
+
m("div", nT, [
|
|
27895
|
+
S.actual ? (D(), K("span", oT, "Actual")) : ie("", !0),
|
|
27896
|
+
S.ciudadania == 1 ? (D(), K("span", rT, "CD")) : ie("", !0)
|
|
27897
|
+
])
|
|
27898
|
+
]),
|
|
27899
|
+
m("div", aT, le(S.navegador) + " · " + le(S.so), 1)
|
|
27897
27900
|
]),
|
|
27898
|
-
m("div", oT, le(S.navegador) + " · " + le(S.so), 1)
|
|
27899
|
-
]),
|
|
27900
|
-
m("div", rT, [
|
|
27901
|
-
aT,
|
|
27902
27901
|
m("div", sT, [
|
|
27903
|
-
|
|
27904
|
-
|
|
27905
|
-
m("span",
|
|
27902
|
+
iT,
|
|
27903
|
+
m("div", lT, [
|
|
27904
|
+
m("span", cT, [
|
|
27905
|
+
me("Sistema: "),
|
|
27906
|
+
m("span", uT, le(S.aplicacion), 1)
|
|
27907
|
+
])
|
|
27906
27908
|
])
|
|
27907
|
-
])
|
|
27908
|
-
]),
|
|
27909
|
-
m("div", cT, [
|
|
27910
|
-
uT,
|
|
27909
|
+
]),
|
|
27911
27910
|
m("div", AT, [
|
|
27912
|
-
|
|
27913
|
-
|
|
27914
|
-
m("span",
|
|
27911
|
+
dT,
|
|
27912
|
+
m("div", fT, [
|
|
27913
|
+
m("span", hT, [
|
|
27914
|
+
me("Iniciado el: "),
|
|
27915
|
+
m("span", pT, le(S.createdAtFmt), 1)
|
|
27916
|
+
])
|
|
27915
27917
|
])
|
|
27916
|
-
])
|
|
27917
|
-
]),
|
|
27918
|
-
m("div", hT, [
|
|
27919
|
-
pT,
|
|
27918
|
+
]),
|
|
27920
27919
|
m("div", mT, [
|
|
27921
|
-
|
|
27922
|
-
|
|
27923
|
-
m("span",
|
|
27920
|
+
gT,
|
|
27921
|
+
m("div", vT, [
|
|
27922
|
+
m("span", yT, [
|
|
27923
|
+
me("Caduca: "),
|
|
27924
|
+
m("span", wT, le(S.caducidadFmt), 1)
|
|
27925
|
+
])
|
|
27924
27926
|
])
|
|
27925
27927
|
])
|
|
27926
27928
|
])
|
|
27927
|
-
])
|
|
27928
|
-
|
|
27929
|
-
|
|
27930
|
-
|
|
27931
|
-
|
|
27932
|
-
|
|
27933
|
-
|
|
27934
|
-
]))
|
|
27935
|
-
|
|
27936
|
-
|
|
27937
|
-
|
|
27938
|
-
|
|
27939
|
-
|
|
27940
|
-
|
|
27941
|
-
|
|
27942
|
-
|
|
27943
|
-
|
|
27944
|
-
|
|
27945
|
-
|
|
27946
|
-
|
|
27947
|
-
])
|
|
27929
|
+
]),
|
|
27930
|
+
m("button", {
|
|
27931
|
+
class: "action-btn",
|
|
27932
|
+
title: "Finalizar sesión",
|
|
27933
|
+
onClick: (k) => y(S)
|
|
27934
|
+
}, ET, 8, bT)
|
|
27935
|
+
]))), 128))
|
|
27936
|
+
])) : ie("", !0),
|
|
27937
|
+
!c(r) && !E.value.length ? (D(), K("div", BT, OT)) : ie("", !0)
|
|
27938
|
+
]),
|
|
27939
|
+
!c(r) && E.value.length ? (D(), K("div", DT, [
|
|
27940
|
+
m("button", {
|
|
27941
|
+
class: "fge-delete2-button",
|
|
27942
|
+
onClick: C
|
|
27943
|
+
}, " Finalizar todas menos el actual "),
|
|
27944
|
+
m("button", {
|
|
27945
|
+
class: "fge-delete-button",
|
|
27946
|
+
onClick: g
|
|
27947
|
+
}, " Finalizar todas las sesiones ")
|
|
27948
|
+
])) : ie("", !0)
|
|
27949
|
+
])
|
|
27948
27950
|
]),
|
|
27949
27951
|
_: 1
|
|
27950
27952
|
}, 8, ["isOpen"]));
|
|
27951
27953
|
}
|
|
27952
|
-
}),
|
|
27954
|
+
}), TT = {
|
|
27953
27955
|
xmlns: "http://www.w3.org/2000/svg",
|
|
27954
27956
|
viewBox: "0 0 384 512"
|
|
27955
|
-
},
|
|
27956
|
-
|
|
27957
|
+
}, IT = /* @__PURE__ */ m("path", { d: "M223.5 32C100 32 0 132.3 0 256s100 224 223.5 224c60.6 0 115.5-24.2 155.8-63.4 5-4.9 6.3-12.5 3.1-18.7s-10.1-9.7-17-8.5c-9.8 1.7-19.8 2.6-30.1 2.6-96.9 0-175.5-78.8-175.5-176 0-65.8 36-123.1 89.3-153.3 6.1-3.5 9.2-10.5 7.7-17.3s-7.3-11.9-14.3-12.5c-6.3-.5-12.6-.8-19-.8z" }, null, -1), MT = [
|
|
27958
|
+
IT
|
|
27957
27959
|
];
|
|
27958
|
-
function
|
|
27959
|
-
return D(), K("svg",
|
|
27960
|
+
function xT(t, e) {
|
|
27961
|
+
return D(), K("svg", TT, [...MT]);
|
|
27960
27962
|
}
|
|
27961
|
-
const
|
|
27963
|
+
const PT = { render: xT }, ui = (t) => ($o("data-v-6cedda83"), t = t(), Yo(), t), LT = /* @__PURE__ */ ui(() => /* @__PURE__ */ m("button", { class: "auth-hide-btn" }, null, -1)), NT = { class: "auth-title-container" }, FT = /* @__PURE__ */ ui(() => /* @__PURE__ */ m("p", null, "Aviso de Seguridad", -1)), RT = { class: "dialog-body" }, UT = { class: "icon" }, _T = { class: "body-title" }, VT = { class: "auth-modal-body-msg auth-msg-capitalize" }, ZT = /* @__PURE__ */ ui(() => /* @__PURE__ */ m("p", { class: "auth-modal-body-msg" }, " Te recordamos que es momento de renovar tu contraseña en el Ecosistema JL. Actualizarla cada 4 meses es una práctica recomendada para mantener tu información a salvo. ", -1)), QT = /* @__PURE__ */ ui(() => /* @__PURE__ */ m("p", { class: "auth-modal-body-msg" }, "¡Gracias por tu colaboración!", -1)), HT = { class: "dialog-footer" }, qT = /* @__PURE__ */ N({
|
|
27962
27964
|
__name: "PasswordDialog",
|
|
27963
27965
|
props: {
|
|
27964
27966
|
open: {
|
|
@@ -27991,7 +27993,7 @@ const MT = { render: IT }, ui = (t) => ($o("data-v-6cedda83"), t = t(), Yo(), t)
|
|
|
27991
27993
|
default: O(() => [
|
|
27992
27994
|
B(c(xs), { "as-child": "" }, {
|
|
27993
27995
|
default: O(() => [
|
|
27994
|
-
|
|
27996
|
+
LT
|
|
27995
27997
|
]),
|
|
27996
27998
|
_: 1
|
|
27997
27999
|
}),
|
|
@@ -28008,8 +28010,8 @@ const MT = { render: IT }, ui = (t) => ($o("data-v-6cedda83"), t = t(), Yo(), t)
|
|
|
28008
28010
|
return [
|
|
28009
28011
|
B(c(Us), { class: "auth-dialog-title" }, {
|
|
28010
28012
|
default: O(() => [
|
|
28011
|
-
m("div",
|
|
28012
|
-
|
|
28013
|
+
m("div", NT, [
|
|
28014
|
+
FT,
|
|
28013
28015
|
n.forzarCambioPassword ? ie("", !0) : (D(), Z(c(zo), {
|
|
28014
28016
|
key: 0,
|
|
28015
28017
|
class: "close-icon",
|
|
@@ -28024,16 +28026,16 @@ const MT = { render: IT }, ui = (t) => ($o("data-v-6cedda83"), t = t(), Yo(), t)
|
|
|
28024
28026
|
]),
|
|
28025
28027
|
_: 1
|
|
28026
28028
|
}),
|
|
28027
|
-
m("div",
|
|
28028
|
-
m("div",
|
|
28029
|
+
m("div", RT, [
|
|
28030
|
+
m("div", UT, [
|
|
28029
28031
|
B(ti, { mode: "gray" })
|
|
28030
28032
|
]),
|
|
28031
|
-
m("p",
|
|
28032
|
-
m("p",
|
|
28033
|
-
|
|
28034
|
-
|
|
28033
|
+
m("p", _T, le(t.forzarCambioPassword ? "Renueva tu Contraseña" : "¿Desea cambiar la contraseña?"), 1),
|
|
28034
|
+
m("p", VT, " Hola " + le((u = (l = c(r).userState) == null ? void 0 : l.user) != null && u.nombreCompleto ? `${(d = (A = c(r).userState) == null ? void 0 : A.user) == null ? void 0 : d.nombreCompleto.toLowerCase()}` : "Usuario") + ", ", 1),
|
|
28035
|
+
ZT,
|
|
28036
|
+
QT
|
|
28035
28037
|
]),
|
|
28036
|
-
m("div",
|
|
28038
|
+
m("div", HT, [
|
|
28037
28039
|
n.forzarCambioPassword ? ie("", !0) : (D(), Z(c(zo), {
|
|
28038
28040
|
key: 0,
|
|
28039
28041
|
class: "fge-gray-button w-full",
|
|
@@ -28060,9 +28062,9 @@ const MT = { render: IT }, ui = (t) => ($o("data-v-6cedda83"), t = t(), Yo(), t)
|
|
|
28060
28062
|
_: 1
|
|
28061
28063
|
}, 8, ["open"]));
|
|
28062
28064
|
}
|
|
28063
|
-
}),
|
|
28065
|
+
}), KT = /* @__PURE__ */ qt(qT, [["__scopeId", "data-v-6cedda83"]]), zT = /* @__PURE__ */ m("button", { class: "auth-hide-btn" }, null, -1), jT = /* @__PURE__ */ m("div", { class: "auth-title-container" }, [
|
|
28064
28066
|
/* @__PURE__ */ m("p", null, "SEGURIDAD DE AUTENTICACIÓN")
|
|
28065
|
-
], -1),
|
|
28067
|
+
], -1), JT = { class: "dialog-body" }, XT = { class: "icon" }, WT = /* @__PURE__ */ m("p", { class: "body-title" }, "ACTIVACION DE DOBLE FACTOR DE AUTENTICACIÓN", -1), $T = /* @__PURE__ */ m("p", null, " Esta aplicación requiere la activación de doble factor de autenticación, por tanto debe contar con uno de los siguientes requisitos: ", -1), YT = /* @__PURE__ */ m("br", null, null, -1), GT = /* @__PURE__ */ m("div", { style: { "margin-left": "50px" } }, [
|
|
28066
28068
|
/* @__PURE__ */ m("ul", null, [
|
|
28067
28069
|
/* @__PURE__ */ m("li", null, [
|
|
28068
28070
|
/* @__PURE__ */ me(" Tener cuenta de "),
|
|
@@ -28075,7 +28077,7 @@ const MT = { render: IT }, ui = (t) => ($o("data-v-6cedda83"), t = t(), Yo(), t)
|
|
|
28075
28077
|
]),
|
|
28076
28078
|
/* @__PURE__ */ m("li", null, "Correo electrónico.")
|
|
28077
28079
|
])
|
|
28078
|
-
], -1),
|
|
28080
|
+
], -1), eI = { class: "dialog-footer" }, tI = /* @__PURE__ */ N({
|
|
28079
28081
|
__name: "Message2faDialog",
|
|
28080
28082
|
emits: ["openClick"],
|
|
28081
28083
|
setup(t, { expose: e, emit: n }) {
|
|
@@ -28089,7 +28091,7 @@ const MT = { render: IT }, ui = (t) => ($o("data-v-6cedda83"), t = t(), Yo(), t)
|
|
|
28089
28091
|
default: O(() => [
|
|
28090
28092
|
B(c(xs), null, {
|
|
28091
28093
|
default: O(() => [
|
|
28092
|
-
|
|
28094
|
+
zT
|
|
28093
28095
|
]),
|
|
28094
28096
|
_: 1
|
|
28095
28097
|
}),
|
|
@@ -28104,20 +28106,20 @@ const MT = { render: IT }, ui = (t) => ($o("data-v-6cedda83"), t = t(), Yo(), t)
|
|
|
28104
28106
|
default: O(() => [
|
|
28105
28107
|
B(c(Us), { class: "auth-dialog-title" }, {
|
|
28106
28108
|
default: O(() => [
|
|
28107
|
-
|
|
28109
|
+
jT
|
|
28108
28110
|
]),
|
|
28109
28111
|
_: 1
|
|
28110
28112
|
}),
|
|
28111
|
-
m("div",
|
|
28112
|
-
m("div",
|
|
28113
|
+
m("div", JT, [
|
|
28114
|
+
m("div", XT, [
|
|
28113
28115
|
B(ti, { mode: "gray" })
|
|
28114
28116
|
]),
|
|
28115
|
-
JT,
|
|
28116
|
-
XT,
|
|
28117
28117
|
WT,
|
|
28118
|
-
$T
|
|
28118
|
+
$T,
|
|
28119
|
+
YT,
|
|
28120
|
+
GT
|
|
28119
28121
|
]),
|
|
28120
|
-
m("div",
|
|
28122
|
+
m("div", eI, [
|
|
28121
28123
|
m("button", {
|
|
28122
28124
|
class: "w-full fge-auth-primary-button",
|
|
28123
28125
|
onClick: ht(a, ["prevent"])
|
|
@@ -28133,7 +28135,7 @@ const MT = { render: IT }, ui = (t) => ($o("data-v-6cedda83"), t = t(), Yo(), t)
|
|
|
28133
28135
|
_: 1
|
|
28134
28136
|
}, 8, ["open"]));
|
|
28135
28137
|
}
|
|
28136
|
-
}),
|
|
28138
|
+
}), nI = { class: "item-container" }, oI = { class: "auth-name-container" }, rI = { class: "name" }, aI = { class: "profession" }, sI = /* @__PURE__ */ m("i", { class: "pi pi-user" }, null, -1), iI = /* @__PURE__ */ m("span", { style: { "margin-left": "0.8rem" } }, "Perfil", -1), lI = /* @__PURE__ */ m("span", { style: { "margin-left": "0.8rem" } }, "Cambiar modo", -1), cI = /* @__PURE__ */ m("i", { class: "pi pi-users" }, null, -1), uI = /* @__PURE__ */ m("span", { style: { "margin-left": "0.8rem" } }, "Sesiones", -1), AI = /* @__PURE__ */ m("i", { class: "pi pi-desktop" }, null, -1), dI = /* @__PURE__ */ m("span", { style: { "margin-left": "0.8rem" } }, "Dispositivos de confianza", -1), fI = /* @__PURE__ */ m("i", { class: "pi pi-sign-out" }, null, -1), hI = /* @__PURE__ */ m("span", { style: { "margin-left": "0.8rem" } }, "Cerrar sesión", -1), pI = /* @__PURE__ */ N({
|
|
28137
28139
|
__name: "FgeMenuItems",
|
|
28138
28140
|
props: {
|
|
28139
28141
|
showChangeMode: { type: Boolean, default: !1 },
|
|
@@ -28141,7 +28143,7 @@ const MT = { render: IT }, ui = (t) => ($o("data-v-6cedda83"), t = t(), Yo(), t)
|
|
|
28141
28143
|
},
|
|
28142
28144
|
emits: ["onLogout", "onChangeMode"],
|
|
28143
28145
|
setup(t, { emit: e }) {
|
|
28144
|
-
const n = t, o = _e(), { logoutCD: r } =
|
|
28146
|
+
const n = t, o = _e(), { logoutCD: r } = T0(), a = I(!1), s = I(!1), i = I();
|
|
28145
28147
|
Me(() => {
|
|
28146
28148
|
g(), w();
|
|
28147
28149
|
});
|
|
@@ -28200,7 +28202,7 @@ const MT = { render: IT }, ui = (t) => ($o("data-v-6cedda83"), t = t(), Yo(), t)
|
|
|
28200
28202
|
default: O(() => {
|
|
28201
28203
|
var T, M, q, W;
|
|
28202
28204
|
return [
|
|
28203
|
-
m("div",
|
|
28205
|
+
m("div", nI, [
|
|
28204
28206
|
B(c(Y6), { class: "avatar-container" }, {
|
|
28205
28207
|
default: O(() => {
|
|
28206
28208
|
var H, j;
|
|
@@ -28215,7 +28217,7 @@ const MT = { render: IT }, ui = (t) => ($o("data-v-6cedda83"), t = t(), Yo(), t)
|
|
|
28215
28217
|
"delay-ms": 600
|
|
28216
28218
|
}, {
|
|
28217
28219
|
default: O(() => [
|
|
28218
|
-
B(
|
|
28220
|
+
B(H0)
|
|
28219
28221
|
]),
|
|
28220
28222
|
_: 1
|
|
28221
28223
|
})
|
|
@@ -28223,9 +28225,9 @@ const MT = { render: IT }, ui = (t) => ($o("data-v-6cedda83"), t = t(), Yo(), t)
|
|
|
28223
28225
|
}),
|
|
28224
28226
|
_: 1
|
|
28225
28227
|
}),
|
|
28226
|
-
m("div",
|
|
28227
|
-
m("p",
|
|
28228
|
-
m("p",
|
|
28228
|
+
m("div", oI, [
|
|
28229
|
+
m("p", rI, le((M = (T = c(o).userState) == null ? void 0 : T.user) == null ? void 0 : M.nombreCompleto), 1),
|
|
28230
|
+
m("p", aI, le((W = (q = c(o).userState) == null ? void 0 : q.user) == null ? void 0 : W.profesion), 1)
|
|
28229
28231
|
])
|
|
28230
28232
|
])
|
|
28231
28233
|
];
|
|
@@ -28243,8 +28245,8 @@ const MT = { render: IT }, ui = (t) => ($o("data-v-6cedda83"), t = t(), Yo(), t)
|
|
|
28243
28245
|
onClick: f
|
|
28244
28246
|
}, {
|
|
28245
28247
|
default: O(() => [
|
|
28246
|
-
|
|
28247
|
-
|
|
28248
|
+
sI,
|
|
28249
|
+
iI
|
|
28248
28250
|
]),
|
|
28249
28251
|
_: 1
|
|
28250
28252
|
}),
|
|
@@ -28254,8 +28256,8 @@ const MT = { render: IT }, ui = (t) => ($o("data-v-6cedda83"), t = t(), Yo(), t)
|
|
|
28254
28256
|
onClick: C
|
|
28255
28257
|
}, {
|
|
28256
28258
|
default: O(() => [
|
|
28257
|
-
B(c(
|
|
28258
|
-
|
|
28259
|
+
B(c(PT)),
|
|
28260
|
+
lI
|
|
28259
28261
|
]),
|
|
28260
28262
|
_: 1
|
|
28261
28263
|
})) : ie("", !0),
|
|
@@ -28264,8 +28266,8 @@ const MT = { render: IT }, ui = (t) => ($o("data-v-6cedda83"), t = t(), Yo(), t)
|
|
|
28264
28266
|
onClick: k
|
|
28265
28267
|
}, {
|
|
28266
28268
|
default: O(() => [
|
|
28267
|
-
|
|
28268
|
-
|
|
28269
|
+
cI,
|
|
28270
|
+
uI
|
|
28269
28271
|
]),
|
|
28270
28272
|
_: 1
|
|
28271
28273
|
}),
|
|
@@ -28274,8 +28276,8 @@ const MT = { render: IT }, ui = (t) => ($o("data-v-6cedda83"), t = t(), Yo(), t)
|
|
|
28274
28276
|
onClick: S
|
|
28275
28277
|
}, {
|
|
28276
28278
|
default: O(() => [
|
|
28277
|
-
|
|
28278
|
-
|
|
28279
|
+
AI,
|
|
28280
|
+
dI
|
|
28279
28281
|
]),
|
|
28280
28282
|
_: 1
|
|
28281
28283
|
}),
|
|
@@ -28284,8 +28286,8 @@ const MT = { render: IT }, ui = (t) => ($o("data-v-6cedda83"), t = t(), Yo(), t)
|
|
|
28284
28286
|
onClick: y
|
|
28285
28287
|
}, {
|
|
28286
28288
|
default: O(() => [
|
|
28287
|
-
|
|
28288
|
-
|
|
28289
|
+
fI,
|
|
28290
|
+
hI
|
|
28289
28291
|
]),
|
|
28290
28292
|
_: 1
|
|
28291
28293
|
})
|
|
@@ -28298,36 +28300,36 @@ const MT = { render: IT }, ui = (t) => ($o("data-v-6cedda83"), t = t(), Yo(), t)
|
|
|
28298
28300
|
]),
|
|
28299
28301
|
_: 1
|
|
28300
28302
|
}, 8, ["open"]),
|
|
28301
|
-
B(
|
|
28303
|
+
B(q0, {
|
|
28302
28304
|
ref_key: "perfilRef",
|
|
28303
28305
|
ref: l
|
|
28304
28306
|
}, null, 512),
|
|
28305
|
-
B(
|
|
28307
|
+
B(Nk, {
|
|
28306
28308
|
ref_key: "dispositivosRef",
|
|
28307
28309
|
ref: u
|
|
28308
28310
|
}, null, 512),
|
|
28309
|
-
B(
|
|
28311
|
+
B(kT, {
|
|
28310
28312
|
ref_key: "sesionesRef",
|
|
28311
28313
|
ref: A
|
|
28312
28314
|
}, null, 512),
|
|
28313
|
-
B(
|
|
28315
|
+
B(KT, {
|
|
28314
28316
|
open: s.value,
|
|
28315
28317
|
"onUpdate:open": P[1] || (P[1] = (T) => s.value = T),
|
|
28316
28318
|
openClick: v,
|
|
28317
28319
|
forzarCambioPassword: !!c(o).userState.forzarCambioPassword
|
|
28318
28320
|
}, null, 8, ["open", "forzarCambioPassword"]),
|
|
28319
|
-
B(
|
|
28321
|
+
B(tI, {
|
|
28320
28322
|
ref_key: "message2faRef",
|
|
28321
28323
|
ref: E,
|
|
28322
28324
|
onOpenClick: b
|
|
28323
28325
|
}, null, 512)
|
|
28324
28326
|
], 64));
|
|
28325
28327
|
}
|
|
28326
|
-
}),
|
|
28328
|
+
}), mI = {
|
|
28327
28329
|
[String(Q1)]: "${label} debe contener solo números",
|
|
28328
28330
|
[String(zs)]: "${label} debe contener al menos una letra mayúscula, una letra minúscula, un número y un caracter especial",
|
|
28329
28331
|
[String(Xo)]: "${label} debe contener al menos una letra mayúscula, una letra minúscula, un número y un caracter especial"
|
|
28330
|
-
},
|
|
28332
|
+
}, z0 = {
|
|
28331
28333
|
mixed: {
|
|
28332
28334
|
required: "${label} es requerido",
|
|
28333
28335
|
oneOf: "${label} deben ser iguales"
|
|
@@ -28336,7 +28338,7 @@ const MT = { render: IT }, ui = (t) => ($o("data-v-6cedda83"), t = t(), Yo(), t)
|
|
|
28336
28338
|
min: "${label} debe tener al menos ${min} caracteres",
|
|
28337
28339
|
max: "${label} no debe tener más de ${max} caracteres",
|
|
28338
28340
|
length: "${label} debe tener ${length} caracteres",
|
|
28339
|
-
matches: ({ label: t, regex: e }) =>
|
|
28341
|
+
matches: ({ label: t, regex: e }) => mI[String(e)].replaceAll("${label}", t) || `${t} no es válido`,
|
|
28340
28342
|
// Utiliza el objeto de mensajes con la expresión regular como clave y el mensaje correspondiente como valor
|
|
28341
28343
|
email: "${label} debe tener el formato ejemplo@ejemplo.com"
|
|
28342
28344
|
},
|
|
@@ -28348,12 +28350,12 @@ const MT = { render: IT }, ui = (t) => ($o("data-v-6cedda83"), t = t(), Yo(), t)
|
|
|
28348
28350
|
tf(Se, "email", function(e) {
|
|
28349
28351
|
var n;
|
|
28350
28352
|
return this.matches(S9, {
|
|
28351
|
-
message: e || ((n =
|
|
28353
|
+
message: e || ((n = z0.string) == null ? void 0 : n.email),
|
|
28352
28354
|
name: "email",
|
|
28353
28355
|
excludeEmptyString: !0
|
|
28354
28356
|
});
|
|
28355
28357
|
});
|
|
28356
|
-
function
|
|
28358
|
+
function gI(t) {
|
|
28357
28359
|
if (t)
|
|
28358
28360
|
try {
|
|
28359
28361
|
return JSON.parse(t);
|
|
@@ -28364,7 +28366,7 @@ function pI(t) {
|
|
|
28364
28366
|
function OA(t, e) {
|
|
28365
28367
|
var n = e.storage, o = e.encrypt, r = e.decrypt, a = n.getItem(t.$id);
|
|
28366
28368
|
if (a) {
|
|
28367
|
-
var s =
|
|
28369
|
+
var s = gI(r ? r(a) : a);
|
|
28368
28370
|
s && (t.$state = s);
|
|
28369
28371
|
} else {
|
|
28370
28372
|
var i = JSON.stringify(t.$state);
|
|
@@ -28380,7 +28382,7 @@ function OA(t, e) {
|
|
|
28380
28382
|
immediate: !0
|
|
28381
28383
|
});
|
|
28382
28384
|
}
|
|
28383
|
-
function
|
|
28385
|
+
function vI(t) {
|
|
28384
28386
|
return function(e) {
|
|
28385
28387
|
var n = Object.assign({}, t), o = e.store, r = n.stores, a = n.encrypt, s = n.decrypt;
|
|
28386
28388
|
r && r.length > 0 && r.forEach(function(i) {
|
|
@@ -28409,10 +28411,10 @@ function mI(t) {
|
|
|
28409
28411
|
};
|
|
28410
28412
|
}
|
|
28411
28413
|
var Mo = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
|
|
28412
|
-
function
|
|
28414
|
+
function j0(t) {
|
|
28413
28415
|
return t && t.__esModule && Object.prototype.hasOwnProperty.call(t, "default") ? t.default : t;
|
|
28414
28416
|
}
|
|
28415
|
-
function
|
|
28417
|
+
function yI(t) {
|
|
28416
28418
|
if (t.__esModule) return t;
|
|
28417
28419
|
var e = t.default;
|
|
28418
28420
|
if (typeof e == "function") {
|
|
@@ -28431,26 +28433,26 @@ function gI(t) {
|
|
|
28431
28433
|
});
|
|
28432
28434
|
}), n;
|
|
28433
28435
|
}
|
|
28434
|
-
var
|
|
28435
|
-
function
|
|
28436
|
+
var J0 = { exports: {} };
|
|
28437
|
+
function wI(t) {
|
|
28436
28438
|
throw new Error('Could not dynamically require "' + t + '". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.');
|
|
28437
28439
|
}
|
|
28438
28440
|
var Ji = { exports: {} };
|
|
28439
|
-
const
|
|
28441
|
+
const bI = {}, CI = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
28440
28442
|
__proto__: null,
|
|
28441
|
-
default:
|
|
28442
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
28443
|
+
default: bI
|
|
28444
|
+
}, Symbol.toStringTag, { value: "Module" })), EI = /* @__PURE__ */ yI(CI);
|
|
28443
28445
|
var DA;
|
|
28444
|
-
function
|
|
28446
|
+
function X0() {
|
|
28445
28447
|
return DA || (DA = 1, function(t, e) {
|
|
28446
28448
|
(function(n, o) {
|
|
28447
28449
|
t.exports = o();
|
|
28448
28450
|
})(Mo, function() {
|
|
28449
28451
|
var n = n || function(o, r) {
|
|
28450
28452
|
var a;
|
|
28451
|
-
if (typeof window < "u" && window.crypto && (a = window.crypto), typeof self < "u" && self.crypto && (a = self.crypto), typeof globalThis < "u" && globalThis.crypto && (a = globalThis.crypto), !a && typeof window < "u" && window.msCrypto && (a = window.msCrypto), !a && typeof Mo < "u" && Mo.crypto && (a = Mo.crypto), !a && typeof
|
|
28453
|
+
if (typeof window < "u" && window.crypto && (a = window.crypto), typeof self < "u" && self.crypto && (a = self.crypto), typeof globalThis < "u" && globalThis.crypto && (a = globalThis.crypto), !a && typeof window < "u" && window.msCrypto && (a = window.msCrypto), !a && typeof Mo < "u" && Mo.crypto && (a = Mo.crypto), !a && typeof wI == "function")
|
|
28452
28454
|
try {
|
|
28453
|
-
a =
|
|
28455
|
+
a = EI;
|
|
28454
28456
|
} catch {
|
|
28455
28457
|
}
|
|
28456
28458
|
var s = function() {
|
|
@@ -28943,17 +28945,17 @@ function X3() {
|
|
|
28943
28945
|
}
|
|
28944
28946
|
(function(t, e) {
|
|
28945
28947
|
(function(n, o) {
|
|
28946
|
-
t.exports = o(
|
|
28948
|
+
t.exports = o(X0());
|
|
28947
28949
|
})(Mo, function(n) {
|
|
28948
28950
|
return n.enc.Utf8;
|
|
28949
28951
|
});
|
|
28950
|
-
})(
|
|
28951
|
-
var
|
|
28952
|
-
const
|
|
28953
|
-
var $
|
|
28952
|
+
})(J0);
|
|
28953
|
+
var BI = J0.exports;
|
|
28954
|
+
const W0 = /* @__PURE__ */ j0(BI);
|
|
28955
|
+
var $0 = { exports: {} };
|
|
28954
28956
|
(function(t, e) {
|
|
28955
28957
|
(function(n, o) {
|
|
28956
|
-
t.exports = o(
|
|
28958
|
+
t.exports = o(X0());
|
|
28957
28959
|
})(Mo, function(n) {
|
|
28958
28960
|
return function() {
|
|
28959
28961
|
var o = n, r = o.lib, a = r.WordArray, s = o.enc;
|
|
@@ -29022,27 +29024,27 @@ var $3 = { exports: {} };
|
|
|
29022
29024
|
}
|
|
29023
29025
|
}(), n.enc.Base64;
|
|
29024
29026
|
});
|
|
29025
|
-
})($
|
|
29026
|
-
var
|
|
29027
|
-
const
|
|
29028
|
-
function
|
|
29029
|
-
return
|
|
29027
|
+
})($0);
|
|
29028
|
+
var SI = $0.exports;
|
|
29029
|
+
const Y0 = /* @__PURE__ */ j0(SI), G0 = Uf();
|
|
29030
|
+
function OI(t) {
|
|
29031
|
+
return Y0.stringify(W0.parse(t));
|
|
29030
29032
|
}
|
|
29031
|
-
function
|
|
29032
|
-
return
|
|
29033
|
+
function DI(t) {
|
|
29034
|
+
return Y0.parse(t).toString(W0);
|
|
29033
29035
|
}
|
|
29034
|
-
const
|
|
29036
|
+
const kI = vI({
|
|
29035
29037
|
stores: [
|
|
29036
29038
|
{ name: "LOGIN_STORE", storage: localStorage, ciphertext: !0 }
|
|
29037
29039
|
// { name: 'STATE_STORE',storage: }
|
|
29038
29040
|
],
|
|
29039
|
-
encrypt:
|
|
29040
|
-
decrypt:
|
|
29041
|
+
encrypt: OI,
|
|
29042
|
+
decrypt: DI
|
|
29041
29043
|
});
|
|
29042
|
-
|
|
29043
|
-
const
|
|
29044
|
+
G0.use(kI);
|
|
29045
|
+
const LI = {
|
|
29044
29046
|
install: (t, e) => {
|
|
29045
|
-
e.useYupLocale && nf(
|
|
29047
|
+
e.useYupLocale && nf(z0), t.component("FgeLoginComponent", HS), t.component("FgePerfilMenuComponent", pI), t.component("FgePerfilSidebar", q0), t.use(qC, {
|
|
29046
29048
|
VITE_API_BASE_URL: window.location.href,
|
|
29047
29049
|
VITE_API_APLICATION: e.aplicacion,
|
|
29048
29050
|
VITE_API_MS_AGETIC: e.MS_AGETIC_URL,
|
|
@@ -29051,7 +29053,7 @@ const xI = {
|
|
|
29051
29053
|
// VITE_API_LOCAL_FIRMATIC:import.meta.env.VITE_API_LOCAL_FIRMATIC,
|
|
29052
29054
|
VITE_DEVELOPMENT_ENVIRONMENT: e.ENVIRONMENT || "DEV",
|
|
29053
29055
|
VITE_API_AGETIC_ANUNCIOS: "https://www.facebook.com/story.php?story_fbid=999108625735075&id=100069078404748&mibextid=wwXIfr&rdid=Jl5hWv1li8tIYJ45"
|
|
29054
|
-
}), t.use(
|
|
29056
|
+
}), t.use(G0), _e().setConfigs({
|
|
29055
29057
|
newBaseURL: e.baseUrl,
|
|
29056
29058
|
newIsRegister: e.isRegister || !1,
|
|
29057
29059
|
newAplicacion: e.aplicacion,
|
|
@@ -29068,10 +29070,10 @@ const xI = {
|
|
|
29068
29070
|
}
|
|
29069
29071
|
};
|
|
29070
29072
|
export {
|
|
29071
|
-
|
|
29073
|
+
pI as FgeAuthMenuComponent,
|
|
29072
29074
|
HS as FgeLoginComponent,
|
|
29073
|
-
|
|
29074
|
-
|
|
29075
|
+
q0 as FgePerfilSidebar,
|
|
29076
|
+
LI as default,
|
|
29075
29077
|
_e as useFgeAuthLoginStore,
|
|
29076
29078
|
js as useFgeAuthStateStore
|
|
29077
29079
|
};
|