fge-auth-component 1.5.4 → 1.5.6

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.
@@ -2058,7 +2058,7 @@ function io(t, e, n = {}, r, o, i) {
2058
2058
  // flush: 'post',
2059
2059
  };
2060
2060
  process.env.NODE_ENV !== "production" && !t1 && (u.onTrigger = (R) => {
2061
- l ? f = R : l == !1 && !B._hotUpdating && (Array.isArray(f) ? f.push(R) : console.error("🍍 debuggerEvents should be an array. This is most likely an internal Pinia bug."));
2061
+ l ? f = R : l == !1 && !I._hotUpdating && (Array.isArray(f) ? f.push(R) : console.error("🍍 debuggerEvents should be an array. This is most likely an internal Pinia bug."));
2062
2062
  });
2063
2063
  let l, c, d = [], h = [], f;
2064
2064
  const g = r.state.value[t];
@@ -2096,7 +2096,7 @@ function io(t, e, n = {}, r, o, i) {
2096
2096
  function y() {
2097
2097
  a.stop(), d = [], h = [], r._s.delete(t);
2098
2098
  }
2099
- function I(R, D) {
2099
+ function B(R, D) {
2100
2100
  return function() {
2101
2101
  Vn(r);
2102
2102
  const j = Array.from(arguments), $ = [], Be = [];
@@ -2109,13 +2109,13 @@ function io(t, e, n = {}, r, o, i) {
2109
2109
  $t(h, {
2110
2110
  args: j,
2111
2111
  name: R,
2112
- store: B,
2112
+ store: I,
2113
2113
  after: et,
2114
2114
  onError: tt
2115
2115
  });
2116
2116
  let Ee;
2117
2117
  try {
2118
- Ee = D.apply(this && this.$id === t ? this : B, j);
2118
+ Ee = D.apply(this && this.$id === t ? this : I, j);
2119
2119
  } catch (Y) {
2120
2120
  throw $t(Be, Y), Y;
2121
2121
  }
@@ -2145,7 +2145,7 @@ function io(t, e, n = {}, r, o, i) {
2145
2145
  return j;
2146
2146
  },
2147
2147
  $dispose: y
2148
- }, B = qr(process.env.NODE_ENV !== "production" || Tn ? Ke(
2148
+ }, I = qr(process.env.NODE_ENV !== "production" || Tn ? Ke(
2149
2149
  {
2150
2150
  _hmrPayload: Z,
2151
2151
  _customProperties: bt(/* @__PURE__ */ new Set())
@@ -2155,14 +2155,14 @@ function io(t, e, n = {}, r, o, i) {
2155
2155
  // must be added later
2156
2156
  // setupStore
2157
2157
  ) : P);
2158
- r._s.set(t, B);
2158
+ r._s.set(t, I);
2159
2159
  const z = r._a && r._a.runWithContext || m2, Q = r._e.run(() => (a = Ws(), z(() => a.run(e))));
2160
2160
  for (const R in Q) {
2161
2161
  const D = Q[R];
2162
2162
  if (ct(D) && !Ba(D) || Po(D))
2163
2163
  process.env.NODE_ENV !== "production" && o ? fr(w.value, R, Ci(Q, R)) : i || (g && g2(D) && (ct(D) ? D.value = g[R] : ro(D, g[R])), r.state.value[t][R] = D), process.env.NODE_ENV !== "production" && Z.state.push(R);
2164
2164
  else if (typeof D == "function") {
2165
- const j = process.env.NODE_ENV !== "production" && o ? D : I(R, D);
2165
+ const j = process.env.NODE_ENV !== "production" && o ? D : B(R, D);
2166
2166
  Q[R] = j, process.env.NODE_ENV !== "production" && (Z.actions[R] = D), s.actions[R] = D;
2167
2167
  } else
2168
2168
  process.env.NODE_ENV !== "production" && Ba(D) && (Z.getters[R] = i ? (
@@ -2171,7 +2171,7 @@ function io(t, e, n = {}, r, o, i) {
2171
2171
  ) : D, $r && (Q._getters || // @ts-expect-error: same
2172
2172
  (Q._getters = bt([]))).push(R));
2173
2173
  }
2174
- if (Ke(B, Q), Ke(Wr(B), Q), Object.defineProperty(B, "$state", {
2174
+ if (Ke(I, Q), Ke(Wr(I), Q), Object.defineProperty(I, "$state", {
2175
2175
  get: () => process.env.NODE_ENV !== "production" && o ? w.value : r.state.value[t],
2176
2176
  set: (R) => {
2177
2177
  if (process.env.NODE_ENV !== "production" && o)
@@ -2180,34 +2180,34 @@ function io(t, e, n = {}, r, o, i) {
2180
2180
  Ke(D, R);
2181
2181
  });
2182
2182
  }
2183
- }), process.env.NODE_ENV !== "production" && (B._hotUpdate = bt((R) => {
2184
- B._hotUpdating = !0, R._hmrPayload.state.forEach((D) => {
2185
- if (D in B.$state) {
2186
- const j = R.$state[D], $ = B.$state[D];
2183
+ }), process.env.NODE_ENV !== "production" && (I._hotUpdate = bt((R) => {
2184
+ I._hotUpdating = !0, R._hmrPayload.state.forEach((D) => {
2185
+ if (D in I.$state) {
2186
+ const j = R.$state[D], $ = I.$state[D];
2187
2187
  typeof j == "object" && Kt(j) && Kt($) ? h1(j, $) : R.$state[D] = $;
2188
2188
  }
2189
- fr(B, D, Ci(R.$state, D));
2190
- }), Object.keys(B.$state).forEach((D) => {
2191
- D in R.$state || Oi(B, D);
2189
+ fr(I, D, Ci(R.$state, D));
2190
+ }), Object.keys(I.$state).forEach((D) => {
2191
+ D in R.$state || Oi(I, D);
2192
2192
  }), l = !1, c = !1, r.state.value[t] = Ci(R._hmrPayload, "hotState"), c = !0, Ct().then(() => {
2193
2193
  l = !0;
2194
2194
  });
2195
2195
  for (const D in R._hmrPayload.actions) {
2196
2196
  const j = R[D];
2197
- fr(B, D, I(D, j));
2197
+ fr(I, D, B(D, j));
2198
2198
  }
2199
2199
  for (const D in R._hmrPayload.getters) {
2200
2200
  const j = R._hmrPayload.getters[D], $ = i ? (
2201
2201
  // special handling of options api
2202
- Oe(() => (Vn(r), j.call(B, B)))
2202
+ Oe(() => (Vn(r), j.call(I, I)))
2203
2203
  ) : j;
2204
- fr(B, D, $);
2204
+ fr(I, D, $);
2205
2205
  }
2206
- Object.keys(B._hmrPayload.getters).forEach((D) => {
2207
- D in R._hmrPayload.getters || Oi(B, D);
2208
- }), Object.keys(B._hmrPayload.actions).forEach((D) => {
2209
- D in R._hmrPayload.actions || Oi(B, D);
2210
- }), B._hmrPayload = R._hmrPayload, B._getters = R._getters, B._hotUpdating = !1;
2206
+ Object.keys(I._hmrPayload.getters).forEach((D) => {
2207
+ D in R._hmrPayload.getters || Oi(I, D);
2208
+ }), Object.keys(I._hmrPayload.actions).forEach((D) => {
2209
+ D in R._hmrPayload.actions || Oi(I, D);
2210
+ }), I._hmrPayload = R._hmrPayload, I._getters = R._getters, I._hotUpdating = !1;
2211
2211
  })), Tn) {
2212
2212
  const R = {
2213
2213
  writable: !0,
@@ -2216,28 +2216,28 @@ function io(t, e, n = {}, r, o, i) {
2216
2216
  enumerable: !1
2217
2217
  };
2218
2218
  ["_p", "_hmrPayload", "_getters", "_customProperties"].forEach((D) => {
2219
- Object.defineProperty(B, D, Ke({ value: B[D] }, R));
2219
+ Object.defineProperty(I, D, Ke({ value: I[D] }, R));
2220
2220
  });
2221
2221
  }
2222
2222
  return r._p.forEach((R) => {
2223
2223
  if (Tn) {
2224
2224
  const D = a.run(() => R({
2225
- store: B,
2225
+ store: I,
2226
2226
  app: r._a,
2227
2227
  pinia: r,
2228
2228
  options: s
2229
2229
  }));
2230
- Object.keys(D || {}).forEach((j) => B._customProperties.add(j)), Ke(B, D);
2230
+ Object.keys(D || {}).forEach((j) => I._customProperties.add(j)), Ke(I, D);
2231
2231
  } else
2232
- Ke(B, a.run(() => R({
2233
- store: B,
2232
+ Ke(I, a.run(() => R({
2233
+ store: I,
2234
2234
  app: r._a,
2235
2235
  pinia: r,
2236
2236
  options: s
2237
2237
  })));
2238
- }), process.env.NODE_ENV !== "production" && B.$state && typeof B.$state == "object" && typeof B.$state.constructor == "function" && !B.$state.constructor.toString().includes("[native code]") && console.warn(`[🍍]: The "state" must be a plain object. It cannot be
2238
+ }), process.env.NODE_ENV !== "production" && I.$state && typeof I.$state == "object" && typeof I.$state.constructor == "function" && !I.$state.constructor.toString().includes("[native code]") && console.warn(`[🍍]: The "state" must be a plain object. It cannot be
2239
2239
  state: () => new MyClass()
2240
- Found in store "${B.$id}".`), g && i && n.hydrate && n.hydrate(B.$state, g), l = !0, c = !0, B;
2240
+ Found in store "${I.$id}".`), g && i && n.hydrate && n.hydrate(I.$state, g), l = !0, c = !0, I;
2241
2241
  }
2242
2242
  function p1(t, e, n) {
2243
2243
  let r, o;
@@ -2393,8 +2393,8 @@ function A1() {
2393
2393
  function v() {
2394
2394
  }
2395
2395
  return function(y) {
2396
- var I;
2397
- return v.prototype = y, I = new v(), v.prototype = null, I;
2396
+ var B;
2397
+ return v.prototype = y, B = new v(), v.prototype = null, B;
2398
2398
  };
2399
2399
  }(), u = {}, l = u.lib = {}, c = l.Base = /* @__PURE__ */ function() {
2400
2400
  return {
@@ -2525,15 +2525,15 @@ function A1() {
2525
2525
  * wordArray1.concat(wordArray2);
2526
2526
  */
2527
2527
  concat: function(v) {
2528
- var y = this.words, I = v.words, Z = this.sigBytes, P = v.sigBytes;
2528
+ var y = this.words, B = v.words, Z = this.sigBytes, P = v.sigBytes;
2529
2529
  if (this.clamp(), Z % 4)
2530
- for (var B = 0; B < P; B++) {
2531
- var z = I[B >>> 2] >>> 24 - B % 4 * 8 & 255;
2532
- y[Z + B >>> 2] |= z << 24 - (Z + B) % 4 * 8;
2530
+ for (var I = 0; I < P; I++) {
2531
+ var z = B[I >>> 2] >>> 24 - I % 4 * 8 & 255;
2532
+ y[Z + I >>> 2] |= z << 24 - (Z + I) % 4 * 8;
2533
2533
  }
2534
2534
  else
2535
2535
  for (var Q = 0; Q < P; Q += 4)
2536
- y[Z + Q >>> 2] = I[Q >>> 2];
2536
+ y[Z + Q >>> 2] = B[Q >>> 2];
2537
2537
  return this.sigBytes += P, this;
2538
2538
  },
2539
2539
  /**
@@ -2574,7 +2574,7 @@ function A1() {
2574
2574
  * var wordArray = CryptoJS.lib.WordArray.random(16);
2575
2575
  */
2576
2576
  random: function(v) {
2577
- for (var y = [], I = 0; I < v; I += 4)
2577
+ for (var y = [], B = 0; B < v; B += 4)
2578
2578
  y.push(a());
2579
2579
  return new d.init(y, v);
2580
2580
  }
@@ -2593,9 +2593,9 @@ function A1() {
2593
2593
  * var hexString = CryptoJS.enc.Hex.stringify(wordArray);
2594
2594
  */
2595
2595
  stringify: function(v) {
2596
- for (var y = v.words, I = v.sigBytes, Z = [], P = 0; P < I; P++) {
2597
- var B = y[P >>> 2] >>> 24 - P % 4 * 8 & 255;
2598
- Z.push((B >>> 4).toString(16)), Z.push((B & 15).toString(16));
2596
+ for (var y = v.words, B = v.sigBytes, Z = [], P = 0; P < B; P++) {
2597
+ var I = y[P >>> 2] >>> 24 - P % 4 * 8 & 255;
2598
+ Z.push((I >>> 4).toString(16)), Z.push((I & 15).toString(16));
2599
2599
  }
2600
2600
  return Z.join("");
2601
2601
  },
@@ -2613,9 +2613,9 @@ function A1() {
2613
2613
  * var wordArray = CryptoJS.enc.Hex.parse(hexString);
2614
2614
  */
2615
2615
  parse: function(v) {
2616
- for (var y = v.length, I = [], Z = 0; Z < y; Z += 2)
2617
- I[Z >>> 3] |= parseInt(v.substr(Z, 2), 16) << 24 - Z % 8 * 4;
2618
- return new d.init(I, y / 2);
2616
+ for (var y = v.length, B = [], Z = 0; Z < y; Z += 2)
2617
+ B[Z >>> 3] |= parseInt(v.substr(Z, 2), 16) << 24 - Z % 8 * 4;
2618
+ return new d.init(B, y / 2);
2619
2619
  }
2620
2620
  }, g = h.Latin1 = {
2621
2621
  /**
@@ -2632,9 +2632,9 @@ function A1() {
2632
2632
  * var latin1String = CryptoJS.enc.Latin1.stringify(wordArray);
2633
2633
  */
2634
2634
  stringify: function(v) {
2635
- for (var y = v.words, I = v.sigBytes, Z = [], P = 0; P < I; P++) {
2636
- var B = y[P >>> 2] >>> 24 - P % 4 * 8 & 255;
2637
- Z.push(String.fromCharCode(B));
2635
+ for (var y = v.words, B = v.sigBytes, Z = [], P = 0; P < B; P++) {
2636
+ var I = y[P >>> 2] >>> 24 - P % 4 * 8 & 255;
2637
+ Z.push(String.fromCharCode(I));
2638
2638
  }
2639
2639
  return Z.join("");
2640
2640
  },
@@ -2652,9 +2652,9 @@ function A1() {
2652
2652
  * var wordArray = CryptoJS.enc.Latin1.parse(latin1String);
2653
2653
  */
2654
2654
  parse: function(v) {
2655
- for (var y = v.length, I = [], Z = 0; Z < y; Z++)
2656
- I[Z >>> 2] |= (v.charCodeAt(Z) & 255) << 24 - Z % 4 * 8;
2657
- return new d.init(I, y);
2655
+ for (var y = v.length, B = [], Z = 0; Z < y; Z++)
2656
+ B[Z >>> 2] |= (v.charCodeAt(Z) & 255) << 24 - Z % 4 * 8;
2657
+ return new d.init(B, y);
2658
2658
  }
2659
2659
  }, w = h.Utf8 = {
2660
2660
  /**
@@ -2732,13 +2732,13 @@ function A1() {
2732
2732
  * var processedData = bufferedBlockAlgorithm._process(!!'flush');
2733
2733
  */
2734
2734
  _process: function(v) {
2735
- var y, I = this._data, Z = I.words, P = I.sigBytes, B = this.blockSize, z = B * 4, Q = P / z;
2735
+ var y, B = this._data, Z = B.words, P = B.sigBytes, I = this.blockSize, z = I * 4, Q = P / z;
2736
2736
  v ? Q = r.ceil(Q) : Q = r.max((Q | 0) - this._minBufferSize, 0);
2737
- var R = Q * B, D = r.min(R * 4, P);
2737
+ var R = Q * I, D = r.min(R * 4, P);
2738
2738
  if (R) {
2739
- for (var j = 0; j < R; j += B)
2739
+ for (var j = 0; j < R; j += I)
2740
2740
  this._doProcessBlock(Z, j);
2741
- y = Z.splice(0, R), I.sigBytes -= D;
2741
+ y = Z.splice(0, R), B.sigBytes -= D;
2742
2742
  }
2743
2743
  return new d.init(y, D);
2744
2744
  },
@@ -2833,8 +2833,8 @@ function A1() {
2833
2833
  * var SHA256 = CryptoJS.lib.Hasher._createHelper(CryptoJS.algo.SHA256);
2834
2834
  */
2835
2835
  _createHelper: function(v) {
2836
- return function(y, I) {
2837
- return new v.init(I).finalize(y);
2836
+ return function(y, B) {
2837
+ return new v.init(B).finalize(y);
2838
2838
  };
2839
2839
  },
2840
2840
  /**
@@ -2851,8 +2851,8 @@ function A1() {
2851
2851
  * var HmacSHA256 = CryptoJS.lib.Hasher._createHmacHelper(CryptoJS.algo.SHA256);
2852
2852
  */
2853
2853
  _createHmacHelper: function(v) {
2854
- return function(y, I) {
2855
- return new S.HMAC.init(v, I).finalize(y);
2854
+ return function(y, B) {
2855
+ return new S.HMAC.init(v, B).finalize(y);
2856
2856
  };
2857
2857
  }
2858
2858
  });
@@ -3137,8 +3137,8 @@ function S1() {
3137
3137
  function v() {
3138
3138
  }
3139
3139
  return function(y) {
3140
- var I;
3141
- return v.prototype = y, I = new v(), v.prototype = null, I;
3140
+ var B;
3141
+ return v.prototype = y, B = new v(), v.prototype = null, B;
3142
3142
  };
3143
3143
  }(), u = {}, l = u.lib = {}, c = l.Base = /* @__PURE__ */ function() {
3144
3144
  return {
@@ -3269,15 +3269,15 @@ function S1() {
3269
3269
  * wordArray1.concat(wordArray2);
3270
3270
  */
3271
3271
  concat: function(v) {
3272
- var y = this.words, I = v.words, Z = this.sigBytes, P = v.sigBytes;
3272
+ var y = this.words, B = v.words, Z = this.sigBytes, P = v.sigBytes;
3273
3273
  if (this.clamp(), Z % 4)
3274
- for (var B = 0; B < P; B++) {
3275
- var z = I[B >>> 2] >>> 24 - B % 4 * 8 & 255;
3276
- y[Z + B >>> 2] |= z << 24 - (Z + B) % 4 * 8;
3274
+ for (var I = 0; I < P; I++) {
3275
+ var z = B[I >>> 2] >>> 24 - I % 4 * 8 & 255;
3276
+ y[Z + I >>> 2] |= z << 24 - (Z + I) % 4 * 8;
3277
3277
  }
3278
3278
  else
3279
3279
  for (var Q = 0; Q < P; Q += 4)
3280
- y[Z + Q >>> 2] = I[Q >>> 2];
3280
+ y[Z + Q >>> 2] = B[Q >>> 2];
3281
3281
  return this.sigBytes += P, this;
3282
3282
  },
3283
3283
  /**
@@ -3318,7 +3318,7 @@ function S1() {
3318
3318
  * var wordArray = CryptoJS.lib.WordArray.random(16);
3319
3319
  */
3320
3320
  random: function(v) {
3321
- for (var y = [], I = 0; I < v; I += 4)
3321
+ for (var y = [], B = 0; B < v; B += 4)
3322
3322
  y.push(a());
3323
3323
  return new d.init(y, v);
3324
3324
  }
@@ -3337,9 +3337,9 @@ function S1() {
3337
3337
  * var hexString = CryptoJS.enc.Hex.stringify(wordArray);
3338
3338
  */
3339
3339
  stringify: function(v) {
3340
- for (var y = v.words, I = v.sigBytes, Z = [], P = 0; P < I; P++) {
3341
- var B = y[P >>> 2] >>> 24 - P % 4 * 8 & 255;
3342
- Z.push((B >>> 4).toString(16)), Z.push((B & 15).toString(16));
3340
+ for (var y = v.words, B = v.sigBytes, Z = [], P = 0; P < B; P++) {
3341
+ var I = y[P >>> 2] >>> 24 - P % 4 * 8 & 255;
3342
+ Z.push((I >>> 4).toString(16)), Z.push((I & 15).toString(16));
3343
3343
  }
3344
3344
  return Z.join("");
3345
3345
  },
@@ -3357,9 +3357,9 @@ function S1() {
3357
3357
  * var wordArray = CryptoJS.enc.Hex.parse(hexString);
3358
3358
  */
3359
3359
  parse: function(v) {
3360
- for (var y = v.length, I = [], Z = 0; Z < y; Z += 2)
3361
- I[Z >>> 3] |= parseInt(v.substr(Z, 2), 16) << 24 - Z % 8 * 4;
3362
- return new d.init(I, y / 2);
3360
+ for (var y = v.length, B = [], Z = 0; Z < y; Z += 2)
3361
+ B[Z >>> 3] |= parseInt(v.substr(Z, 2), 16) << 24 - Z % 8 * 4;
3362
+ return new d.init(B, y / 2);
3363
3363
  }
3364
3364
  }, g = h.Latin1 = {
3365
3365
  /**
@@ -3376,9 +3376,9 @@ function S1() {
3376
3376
  * var latin1String = CryptoJS.enc.Latin1.stringify(wordArray);
3377
3377
  */
3378
3378
  stringify: function(v) {
3379
- for (var y = v.words, I = v.sigBytes, Z = [], P = 0; P < I; P++) {
3380
- var B = y[P >>> 2] >>> 24 - P % 4 * 8 & 255;
3381
- Z.push(String.fromCharCode(B));
3379
+ for (var y = v.words, B = v.sigBytes, Z = [], P = 0; P < B; P++) {
3380
+ var I = y[P >>> 2] >>> 24 - P % 4 * 8 & 255;
3381
+ Z.push(String.fromCharCode(I));
3382
3382
  }
3383
3383
  return Z.join("");
3384
3384
  },
@@ -3396,9 +3396,9 @@ function S1() {
3396
3396
  * var wordArray = CryptoJS.enc.Latin1.parse(latin1String);
3397
3397
  */
3398
3398
  parse: function(v) {
3399
- for (var y = v.length, I = [], Z = 0; Z < y; Z++)
3400
- I[Z >>> 2] |= (v.charCodeAt(Z) & 255) << 24 - Z % 4 * 8;
3401
- return new d.init(I, y);
3399
+ for (var y = v.length, B = [], Z = 0; Z < y; Z++)
3400
+ B[Z >>> 2] |= (v.charCodeAt(Z) & 255) << 24 - Z % 4 * 8;
3401
+ return new d.init(B, y);
3402
3402
  }
3403
3403
  }, w = h.Utf8 = {
3404
3404
  /**
@@ -3476,13 +3476,13 @@ function S1() {
3476
3476
  * var processedData = bufferedBlockAlgorithm._process(!!'flush');
3477
3477
  */
3478
3478
  _process: function(v) {
3479
- var y, I = this._data, Z = I.words, P = I.sigBytes, B = this.blockSize, z = B * 4, Q = P / z;
3479
+ var y, B = this._data, Z = B.words, P = B.sigBytes, I = this.blockSize, z = I * 4, Q = P / z;
3480
3480
  v ? Q = r.ceil(Q) : Q = r.max((Q | 0) - this._minBufferSize, 0);
3481
- var R = Q * B, D = r.min(R * 4, P);
3481
+ var R = Q * I, D = r.min(R * 4, P);
3482
3482
  if (R) {
3483
- for (var j = 0; j < R; j += B)
3483
+ for (var j = 0; j < R; j += I)
3484
3484
  this._doProcessBlock(Z, j);
3485
- y = Z.splice(0, R), I.sigBytes -= D;
3485
+ y = Z.splice(0, R), B.sigBytes -= D;
3486
3486
  }
3487
3487
  return new d.init(y, D);
3488
3488
  },
@@ -3577,8 +3577,8 @@ function S1() {
3577
3577
  * var SHA256 = CryptoJS.lib.Hasher._createHelper(CryptoJS.algo.SHA256);
3578
3578
  */
3579
3579
  _createHelper: function(v) {
3580
- return function(y, I) {
3581
- return new v.init(I).finalize(y);
3580
+ return function(y, B) {
3581
+ return new v.init(B).finalize(y);
3582
3582
  };
3583
3583
  },
3584
3584
  /**
@@ -3595,8 +3595,8 @@ function S1() {
3595
3595
  * var HmacSHA256 = CryptoJS.lib.Hasher._createHmacHelper(CryptoJS.algo.SHA256);
3596
3596
  */
3597
3597
  _createHmacHelper: function(v) {
3598
- return function(y, I) {
3599
- return new S.HMAC.init(v, I).finalize(y);
3598
+ return function(y, B) {
3599
+ return new S.HMAC.init(v, B).finalize(y);
3600
3600
  };
3601
3601
  }
3602
3602
  });
@@ -4941,8 +4941,8 @@ const hd = async (t) => {
4941
4941
  method: "POST",
4942
4942
  body: r,
4943
4943
  duplex: "half"
4944
- }), B;
4945
- M.isFormData(r) && (B = P.headers.get("content-type")) && c.setContentType(B), P.body && (r = Fa(P.body, Na, ja(
4944
+ }), I;
4945
+ M.isFormData(r) && (I = P.headers.get("content-type")) && c.setContentType(I), P.body && (r = Fa(P.body, Na, ja(
4946
4946
  v,
4947
4947
  jr(u)
4948
4948
  ), null, so));
@@ -4957,25 +4957,25 @@ const hd = async (t) => {
4957
4957
  withCredentials: d
4958
4958
  });
4959
4959
  let y = await fetch(k);
4960
- const I = lo && (l === "stream" || l === "response");
4961
- if (lo && (s || I)) {
4960
+ const B = lo && (l === "stream" || l === "response");
4961
+ if (lo && (s || B)) {
4962
4962
  const P = {};
4963
4963
  ["status", "statusText", "headers"].forEach((z) => {
4964
4964
  P[z] = y[z];
4965
4965
  });
4966
- const B = M.toFiniteNumber(y.headers.get("content-length"));
4966
+ const I = M.toFiniteNumber(y.headers.get("content-length"));
4967
4967
  y = new Response(
4968
4968
  Fa(y.body, Na, s && ja(
4969
- B,
4969
+ I,
4970
4970
  jr(s, !0)
4971
- ), I && S, so),
4971
+ ), B && S, so),
4972
4972
  P
4973
4973
  );
4974
4974
  }
4975
4975
  l = l || "text";
4976
4976
  let Z = await Nr[M.findKey(Nr, l) || "text"](y, t);
4977
- return !I && S(), g && g(), await new Promise((P, B) => {
4978
- K1(P, B, {
4977
+ return !B && S(), g && g(), await new Promise((P, I) => {
4978
+ K1(P, I, {
4979
4979
  data: Z,
4980
4980
  headers: Ne.from(y.headers),
4981
4981
  status: y.status,
@@ -5474,7 +5474,7 @@ function el() {
5474
5474
  }, i = (c) => {
5475
5475
  if (c.event === Qe.LOGOUT) {
5476
5476
  const d = e.get(c.data.windowName);
5477
- return d ? (e.delete(c.data.windowName), d.window.close(), d.resolve({ error: !1, message: "Sesión finalizada" }), !0) : !1;
5477
+ return d ? (e.delete(c.data.windowName), d.window.close(), localStorage.removeItem("digital"), d.resolve({ error: !1, message: "Sesión finalizada" }), !0) : !1;
5478
5478
  }
5479
5479
  return !1;
5480
5480
  }, a = (c) => {
@@ -5518,11 +5518,11 @@ function el() {
5518
5518
  if (!w)
5519
5519
  return h({ error: !0, message: "Ha ocurrido un error, intente nuevamente" });
5520
5520
  l();
5521
- const k = JSON.parse(w), S = `${window.VITE_API_BASE_URL ? window.VITE_API_BASE_URL : "http://localhost:5173/"}`, v = `${window.VITE_API_MS_AGETIC_FRONT ? window.VITE_API_MS_AGETIC_FRONT : "https://agetic.mp.gob.bo"}/aprobacion?urlRedirectClient=${encodeURIComponent(`${S}`)}&documentId=${encodeURIComponent(g)}&binnacleId=${encodeURIComponent(k.binnacleId)}&token=${encodeURIComponent(D1("ms-agetic-token"))}`, y = Ti(), I = window.open(v, f, y ? void 0 : "width=700,height=700,resizable=no");
5522
- if (!I)
5521
+ const k = JSON.parse(w), S = `${window.VITE_API_BASE_URL ? window.VITE_API_BASE_URL : "http://localhost:5173/"}`, v = `${window.VITE_API_MS_AGETIC_FRONT ? window.VITE_API_MS_AGETIC_FRONT : "https://agetic.mp.gob.bo"}/aprobacion?urlRedirectClient=${encodeURIComponent(`${S}`)}&documentId=${encodeURIComponent(g)}&binnacleId=${encodeURIComponent(k.binnacleId)}&token=${encodeURIComponent(D1("ms-agetic-token"))}`, y = Ti(), B = window.open(v, f, y ? void 0 : "width=700,height=700,resizable=no");
5522
+ if (!B)
5523
5523
  return h({ error: !0, message: "Ha ocurrido un error, intente nuevamente" });
5524
5524
  e.set(f, {
5525
- window: I,
5525
+ window: B,
5526
5526
  type: Qe.VALIDATE_FILE,
5527
5527
  resolve: d,
5528
5528
  reject: h
@@ -5912,10 +5912,10 @@ function li(t, e, n) {
5912
5912
  if (T.endsWith(w, "{}"))
5913
5913
  w = r ? w : w.slice(0, -2), g = JSON.stringify(g);
5914
5914
  else if (T.isArray(g) && d0(g) || (T.isFileList(g) || T.endsWith(w, "[]")) && (S = T.toArray(g)))
5915
- return w = dl(w), S.forEach(function(y, I) {
5915
+ return w = dl(w), S.forEach(function(y, B) {
5916
5916
  !(T.isUndefined(y) || y === null) && e.append(
5917
5917
  // eslint-disable-next-line no-nested-ternary
5918
- a === !0 ? qa([w], I, i) : a === null ? w : w + "[]",
5918
+ a === !0 ? qa([w], B, i) : a === null ? w : w + "[]",
5919
5919
  l(y)
5920
5920
  );
5921
5921
  }), !1;
@@ -7076,7 +7076,7 @@ const G0 = () => {
7076
7076
  aplicacion: i.value,
7077
7077
  verificarSiFuncionario: u.value
7078
7078
  });
7079
- return I($.response), $.response;
7079
+ return B($.response), $.response;
7080
7080
  }, y = async (D) => {
7081
7081
  let j;
7082
7082
  const $ = !!D.esDispositivoConfianza;
@@ -7087,11 +7087,11 @@ const G0 = () => {
7087
7087
  aplicacion: i.value,
7088
7088
  verificarSiFuncionario: u.value
7089
7089
  });
7090
- I(Be.response), $ && B({
7090
+ B(Be.response), $ && I({
7091
7091
  usuario: D.usuario,
7092
7092
  value: j
7093
7093
  });
7094
- }, I = (D) => {
7094
+ }, B = (D) => {
7095
7095
  n.value = {
7096
7096
  token: D.token,
7097
7097
  refreshToken: D.tokenRefresh,
@@ -7135,7 +7135,7 @@ const G0 = () => {
7135
7135
  fotoUrl: D != null && D.fotoRuta ? `${s.value}/personas/fotosegip/${D == null ? void 0 : D.fotoRuta}?rand=${Math.random() * 100}` : (j = n.value.user) == null ? void 0 : j.fotoUrl
7136
7136
  }
7137
7137
  };
7138
- }, B = async ({
7138
+ }, I = async ({
7139
7139
  usuario: D,
7140
7140
  value: j,
7141
7141
  days: $ = 7
@@ -7161,7 +7161,7 @@ const G0 = () => {
7161
7161
  on2AuthLogin: y,
7162
7162
  onLoginCiudadania: async (D) => {
7163
7163
  try {
7164
- r.value = D.binnacleId, I(D);
7164
+ r.value = D.binnacleId, B(D);
7165
7165
  } catch (j) {
7166
7166
  console.log(j);
7167
7167
  }
@@ -7178,7 +7178,7 @@ const G0 = () => {
7178
7178
  }) => {
7179
7179
  o.value = D, i.value = j, s.value = $, u.value = Be || !1, a.value = et, l.value = tt || "0.0.1", c.value = !!Ee, d.value = !!Y;
7180
7180
  },
7181
- setDispositivoConfianzaCookie: B,
7181
+ setDispositivoConfianzaCookie: I,
7182
7182
  clearUserData: Z,
7183
7183
  updateUserData: P,
7184
7184
  onRefreshToken: async () => {
@@ -7186,7 +7186,7 @@ const G0 = () => {
7186
7186
  token: n.value.token,
7187
7187
  tokenRefresh: n.value.refreshToken
7188
7188
  });
7189
- I(D.response);
7189
+ B(D.response);
7190
7190
  }
7191
7191
  };
7192
7192
  }, Ve = p1("LOGIN_STORE", G0);
@@ -7196,7 +7196,7 @@ function H0(t) {
7196
7196
  }
7197
7197
  var K0 = 0;
7198
7198
  function Ge(t) {
7199
- var e = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, n = K(!1), r = K(t), o = K(null), i = E.isClient() ? window.document : void 0, a = e.document, s = a === void 0 ? i : a, u = e.immediate, l = u === void 0 ? !0 : u, c = e.manual, d = c === void 0 ? !1 : c, h = e.name, f = h === void 0 ? "style_".concat(++K0) : h, g = e.id, w = g === void 0 ? void 0 : g, k = e.media, S = k === void 0 ? void 0 : k, v = e.nonce, y = v === void 0 ? void 0 : v, I = function() {
7199
+ var e = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, n = K(!1), r = K(t), o = K(null), i = E.isClient() ? window.document : void 0, a = e.document, s = a === void 0 ? i : a, u = e.immediate, l = u === void 0 ? !0 : u, c = e.manual, d = c === void 0 ? !1 : c, h = e.name, f = h === void 0 ? "style_".concat(++K0) : h, g = e.id, w = g === void 0 ? void 0 : g, k = e.media, S = k === void 0 ? void 0 : k, v = e.nonce, y = v === void 0 ? void 0 : v, B = function() {
7200
7200
  }, Z = function(z) {
7201
7201
  var Q = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
7202
7202
  if (s) {
@@ -7206,14 +7206,14 @@ function Ge(t) {
7206
7206
  id: D,
7207
7207
  media: S,
7208
7208
  nonce: j
7209
- }), s.head.appendChild(o.value), E.setAttribute(o.value, "data-primevue-style-id", f), E.setAttributes(o.value, Q)), !n.value && (I = wt(r, function($) {
7209
+ }), s.head.appendChild(o.value), E.setAttribute(o.value, "data-primevue-style-id", f), E.setAttributes(o.value, Q)), !n.value && (B = wt(r, function($) {
7210
7210
  o.value.textContent = $;
7211
7211
  }, {
7212
7212
  immediate: !0
7213
7213
  }), n.value = !0);
7214
7214
  }
7215
7215
  }, P = function() {
7216
- !s || !n.value || (I(), E.isExist(o.value) && s.head.removeChild(o.value), n.value = !1);
7216
+ !s || !n.value || (B(), E.isExist(o.value) && s.head.removeChild(o.value), n.value = !1);
7217
7217
  };
7218
7218
  return l && !d && H0(Z), {
7219
7219
  id: w,
@@ -8288,12 +8288,12 @@ var le = {
8288
8288
  return le._getPTValue(a.$instance, S, v, y, !1);
8289
8289
  },
8290
8290
  cx: function() {
8291
- var S, v, y = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : "", I = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
8292
- return (S = a.$instance) !== null && S !== void 0 && S.isUnstyled ? void 0 : le._getOptionValue((v = a.$instance) === null || v === void 0 || (v = v.$css) === null || v === void 0 ? void 0 : v.classes, y, he({}, I));
8291
+ var S, v, y = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : "", B = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
8292
+ return (S = a.$instance) !== null && S !== void 0 && S.isUnstyled ? void 0 : le._getOptionValue((v = a.$instance) === null || v === void 0 || (v = v.$css) === null || v === void 0 ? void 0 : v.classes, y, he({}, B));
8293
8293
  },
8294
8294
  sx: function() {
8295
- var S, v = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : "", y = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !0, I = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {};
8296
- return y ? le._getOptionValue((S = a.$instance) === null || S === void 0 || (S = S.$css) === null || S === void 0 ? void 0 : S.inlineStyles, v, he({}, I)) : void 0;
8295
+ var S, v = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : "", y = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !0, B = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {};
8296
+ return y ? le._getOptionValue((S = a.$instance) === null || S === void 0 || (S = S.$css) === null || S === void 0 ? void 0 : S.inlineStyles, v, he({}, B)) : void 0;
8297
8297
  }
8298
8298
  }, w), a.$instance = a._$instances[e], (d = (h = a.$instance)[i]) === null || d === void 0 || d.call(h, a, s, u, l), le._hook(e, i, a, s, u, l);
8299
8299
  };
@@ -10013,16 +10013,16 @@ var Dl = {
10013
10013
  if (e = bo(e) === "object" ? e.toString() : e + "", e === "")
10014
10014
  return null;
10015
10015
  var r, o, i, a = 0, s = typeof this.shortYearCutoff != "string" ? this.shortYearCutoff : (/* @__PURE__ */ new Date()).getFullYear() % 100 + parseInt(this.shortYearCutoff, 10), u = -1, l = -1, c = -1, d = -1, h = !1, f, g = function(y) {
10016
- var I = r + 1 < n.length && n.charAt(r + 1) === y;
10017
- return I && r++, I;
10016
+ var B = r + 1 < n.length && n.charAt(r + 1) === y;
10017
+ return B && r++, B;
10018
10018
  }, w = function(y) {
10019
- var I = g(y), Z = y === "@" ? 14 : y === "!" ? 20 : y === "y" && I ? 4 : y === "o" ? 3 : 2, P = y === "y" ? Z : 1, B = new RegExp("^\\d{" + P + "," + Z + "}"), z = e.substring(a).match(B);
10019
+ var B = g(y), Z = y === "@" ? 14 : y === "!" ? 20 : y === "y" && B ? 4 : y === "o" ? 3 : 2, P = y === "y" ? Z : 1, I = new RegExp("^\\d{" + P + "," + Z + "}"), z = e.substring(a).match(I);
10020
10020
  if (!z)
10021
10021
  throw "Missing number at position " + a;
10022
10022
  return a += z[0].length, parseInt(z[0], 10);
10023
- }, k = function(y, I, Z) {
10024
- for (var P = -1, B = g(y) ? Z : I, z = [], Q = 0; Q < B.length; Q++)
10025
- z.push([Q, B[Q]]);
10023
+ }, k = function(y, B, Z) {
10024
+ for (var P = -1, I = g(y) ? Z : B, z = [], Q = 0; Q < I.length; Q++)
10025
+ z.push([Q, I[Q]]);
10026
10026
  z.sort(function(j, $) {
10027
10027
  return -(j[1].length - $[1].length);
10028
10028
  });
@@ -10147,13 +10147,13 @@ var Dl = {
10147
10147
  o.tabIndex = "-1";
10148
10148
  var y = i.previousElementSibling;
10149
10149
  if (y) {
10150
- var I = Array.from(i.parentElement.children), Z = I.slice(0, a).reverse(), P = Z.find(function(Ee) {
10150
+ var B = Array.from(i.parentElement.children), Z = B.slice(0, a).reverse(), P = Z.find(function(Ee) {
10151
10151
  var Y = Ee.children[0];
10152
10152
  return !E.getAttribute(Y, "data-p-disabled");
10153
10153
  });
10154
10154
  if (P) {
10155
- var B = P.children[0];
10156
- B.tabIndex = "0", B.focus();
10155
+ var I = P.children[0];
10156
+ I.tabIndex = "0", I.focus();
10157
10157
  } else
10158
10158
  this.navigateToMonth(e, !0, r);
10159
10159
  } else
@@ -10557,14 +10557,14 @@ var Dl = {
10557
10557
  } else
10558
10558
  for (var y = 0; y < 7; y++) {
10559
10559
  if (l > s) {
10560
- var I = this.getNextMonthAndYear(r, o);
10560
+ var B = this.getNextMonthAndYear(r, o);
10561
10561
  g.push({
10562
10562
  day: l - s,
10563
- month: I.month,
10564
- year: I.year,
10563
+ month: B.month,
10564
+ year: B.year,
10565
10565
  otherMonth: !0,
10566
- today: this.isToday(c, l - s, I.month, I.year),
10567
- selectable: this.isSelectable(l - s, I.month, I.year, !0)
10566
+ today: this.isToday(c, l - s, B.month, B.year),
10567
+ selectable: this.isSelectable(l - s, B.month, B.year, !0)
10568
10568
  });
10569
10569
  } else
10570
10570
  g.push({
@@ -16156,11 +16156,11 @@ class G {
16156
16156
  const D = i[R];
16157
16157
  J(D) ? y ? i[R] = S[R] : i[R] = v[R] : y = !0;
16158
16158
  }
16159
- const I = w ? K5(i, a, s) : c ? q5(i) : iu(i), Z = I || ou(i);
16159
+ const B = w ? K5(i, a, s) : c ? q5(i) : iu(i), Z = B || ou(i);
16160
16160
  if (Z)
16161
16161
  return G.invalid(Z);
16162
- const P = w ? As(i, a, s) : c ? ys(i) : i, [B, z] = Vr(P, l, r), Q = new G({
16163
- ts: B,
16162
+ const P = w ? As(i, a, s) : c ? ys(i) : i, [I, z] = Vr(P, l, r), Q = new G({
16163
+ ts: I,
16164
16164
  zone: r,
16165
16165
  o: z,
16166
16166
  loc: o
@@ -17760,10 +17760,10 @@ function Q6() {
17760
17760
  handleSubmit: S,
17761
17761
  errors: v,
17762
17762
  setErrors: y,
17763
- validateField: I,
17763
+ validateField: B,
17764
17764
  resetForm: Z,
17765
17765
  setFieldValue: P,
17766
- setFieldError: B
17766
+ setFieldError: I
17767
17767
  } = Jr({
17768
17768
  validationSchema: c,
17769
17769
  keepValuesOnUnmount: !0
@@ -17818,10 +17818,10 @@ function Q6() {
17818
17818
  }), D = async ({ medio: Y, contacto: Ye }) => {
17819
17819
  if (Y === "email") {
17820
17820
  if (!k.email) {
17821
- B("email", "Email es requerido para verificar");
17821
+ I("email", "Email es requerido para verificar");
17822
17822
  return;
17823
17823
  }
17824
- const { valid: _ } = await I("email");
17824
+ const { valid: _ } = await B("email");
17825
17825
  if (!_ || w.verificadoEmail)
17826
17826
  return;
17827
17827
  }
@@ -17829,7 +17829,7 @@ function Q6() {
17829
17829
  if (ke || U) {
17830
17830
  if (ke && w.verificadoTelegram || U && w.verificadoWhatsapp)
17831
17831
  return;
17832
- const { valid: _ } = await I("celular");
17832
+ const { valid: _ } = await B("celular");
17833
17833
  if (!_)
17834
17834
  return;
17835
17835
  }
@@ -17846,7 +17846,7 @@ function Q6() {
17846
17846
  }
17847
17847
  }, j = async () => {
17848
17848
  try {
17849
- const { valid: Y } = await I("codigoContacto");
17849
+ const { valid: Y } = await B("codigoContacto");
17850
17850
  if (!Y)
17851
17851
  return;
17852
17852
  const Ye = await a({
@@ -18273,9 +18273,9 @@ const I9 = { render: E9 }, $e = (t) => (zo("data-v-20bd75a1"), t = t(), Vo(), t)
18273
18273
  onCancelarVerificacion: k,
18274
18274
  clickCalendarBtn: S
18275
18275
  } = Q6(), v = Ve(), y = (P) => {
18276
- var B;
18277
- P && (B = P.target) != null && B.value && (Z(P.target.value) || (P.target.value = "dd/mm/yyyy", o.value = void 0));
18278
- }, I = Oe({
18276
+ var I;
18277
+ P && (I = P.target) != null && I.value && (Z(P.target.value) || (P.target.value = "dd/mm/yyyy", o.value = void 0));
18278
+ }, B = Oe({
18279
18279
  get() {
18280
18280
  return G.fromJSDate(o.value).toFormat("dd/MM/yyyy");
18281
18281
  },
@@ -18283,10 +18283,10 @@ const I9 = { render: E9 }, $e = (t) => (zo("data-v-20bd75a1"), t = t(), Vo(), t)
18283
18283
  Z(P);
18284
18284
  }
18285
18285
  }), Z = (P) => {
18286
- const B = G.fromFormat(P, "dd/MM/yyyy");
18287
- return B.isValid && (o.value = B.toJSDate()), B.isValid;
18286
+ const I = G.fromFormat(P, "dd/MM/yyyy");
18287
+ return I.isValid && (o.value = I.toJSDate()), I.isValid;
18288
18288
  };
18289
- return (P, B) => {
18289
+ return (P, I) => {
18290
18290
  const z = Bt("tooltip");
18291
18291
  return A(), C(ae, null, [
18292
18292
  O(fa),
@@ -18344,8 +18344,8 @@ const I9 = { render: E9 }, $e = (t) => (zo("data-v-20bd75a1"), t = t(), Vo(), t)
18344
18344
  R9,
18345
18345
  m("div", P9, [
18346
18346
  O(p(Zl), {
18347
- modelValue: I.value,
18348
- "onUpdate:modelValue": B[0] || (B[0] = (Q) => I.value = Q),
18347
+ modelValue: B.value,
18348
+ "onUpdate:modelValue": I[0] || (I[0] = (Q) => B.value = Q),
18349
18349
  placeholder: "dd/mm/yyyy",
18350
18350
  mask: "99/99/9999",
18351
18351
  slotChar: "dd/mm/yyyy",
@@ -18371,11 +18371,11 @@ const I9 = { render: E9 }, $e = (t) => (zo("data-v-20bd75a1"), t = t(), Vo(), t)
18371
18371
  class: "w-full hide-calendar",
18372
18372
  maxDate: /* @__PURE__ */ new Date(),
18373
18373
  modelValue: p(o),
18374
- "onUpdate:modelValue": B[1] || (B[1] = (Q) => ct(o) ? o.value = Q : null),
18374
+ "onUpdate:modelValue": I[1] || (I[1] = (Q) => ct(o) ? o.value = Q : null),
18375
18375
  showOnFocus: !1,
18376
18376
  ref_key: "calendarRef",
18377
18377
  ref: u,
18378
- onHide: B[2] || (B[2] = (Q) => y(p(o)))
18378
+ onHide: I[2] || (I[2] = (Q) => y(p(o)))
18379
18379
  }, null, 8, ["maxDate", "modelValue"])
18380
18380
  ]),
18381
18381
  O(pe, {
@@ -18433,7 +18433,7 @@ const I9 = { render: E9 }, $e = (t) => (zo("data-v-20bd75a1"), t = t(), Vo(), t)
18433
18433
  ue((A(), F(p(re), {
18434
18434
  title: "Verificar whatsapp",
18435
18435
  class: "p-2 fge-button absolute btn-absolute",
18436
- onClick: B[3] || (B[3] = (Q) => p(g)({
18436
+ onClick: I[3] || (I[3] = (Q) => p(g)({
18437
18437
  medio: "whatsapp",
18438
18438
  contacto: p(e).celular
18439
18439
  })),
@@ -18461,7 +18461,7 @@ const I9 = { render: E9 }, $e = (t) => (zo("data-v-20bd75a1"), t = t(), Vo(), t)
18461
18461
  ue((A(), F(p(re), {
18462
18462
  title: "Verificar telegram",
18463
18463
  class: "p-2 fge-button absolute btn-absolute-2",
18464
- onClick: B[4] || (B[4] = (Q) => p(g)({
18464
+ onClick: I[4] || (I[4] = (Q) => p(g)({
18465
18465
  medio: "telegram",
18466
18466
  contacto: p(e).celular
18467
18467
  })),
@@ -18504,7 +18504,7 @@ const I9 = { render: E9 }, $e = (t) => (zo("data-v-20bd75a1"), t = t(), Vo(), t)
18504
18504
  }, null, 8, ["class", "as"]),
18505
18505
  ue((A(), F(p(re), {
18506
18506
  title: "Verificar email",
18507
- onClick: B[5] || (B[5] = (Q) => p(g)({ medio: "email", contacto: p(e).email })),
18507
+ onClick: I[5] || (I[5] = (Q) => p(g)({ medio: "email", contacto: p(e).email })),
18508
18508
  class: "p-2 fge-button absolute btn-absolute",
18509
18509
  text: "",
18510
18510
  rounded: "",
@@ -18619,7 +18619,7 @@ const I9 = { render: E9 }, $e = (t) => (zo("data-v-20bd75a1"), t = t(), Vo(), t)
18619
18619
  O(wi, {
18620
18620
  fieldName: "codigoContacto",
18621
18621
  refCounter: p(n),
18622
- "onUpdate:refCounter": B[6] || (B[6] = (Q) => ct(n) ? n.value = Q : null),
18622
+ "onUpdate:refCounter": I[6] || (I[6] = (Q) => ct(n) ? n.value = Q : null),
18623
18623
  error: p(l).codigoContacto,
18624
18624
  currentContacto: p(r),
18625
18625
  cancelarFunction: p(k),
@@ -19000,7 +19000,7 @@ function Oh(t) {
19000
19000
  } finally {
19001
19001
  n.setLoading(!1);
19002
19002
  }
19003
- }), I = () => {
19003
+ }), B = () => {
19004
19004
  c.value = 0, k();
19005
19005
  }, Z = async () => {
19006
19006
  var z;
@@ -19019,7 +19019,7 @@ function Oh(t) {
19019
19019
  iconColor: P,
19020
19020
  onLogin: v,
19021
19021
  on2AuthLogin: y,
19022
- goLoginPage: I,
19022
+ goLoginPage: B,
19023
19023
  onEnviarMensaje: Z,
19024
19024
  loginCiudadania: async () => {
19025
19025
  if (e.disableAgeticLogin) {
@@ -21195,7 +21195,7 @@ function Ym() {
21195
21195
  i.value = i.value - 1, k();
21196
21196
  }, v = async () => {
21197
21197
  try {
21198
- o.setLoading(!0), I();
21198
+ o.setLoading(!0), B();
21199
21199
  } catch (z) {
21200
21200
  st({ error: z, setErrors: w, toast: c });
21201
21201
  } finally {
@@ -21205,7 +21205,7 @@ function Ym() {
21205
21205
  var z;
21206
21206
  try {
21207
21207
  o.setLoading(!0);
21208
- const Q = await I();
21208
+ const Q = await B();
21209
21209
  i.value = i.value + 1, u.value = (z = Q.response) == null ? void 0 : z.contacto, Ct(() => {
21210
21210
  var R;
21211
21211
  (R = s.value) == null || R.reInit(120);
@@ -21215,7 +21215,7 @@ function Ym() {
21215
21215
  } finally {
21216
21216
  o.setLoading(!1);
21217
21217
  }
21218
- }), I = async () => await t({
21218
+ }), B = async () => await t({
21219
21219
  usuario: f.usuario,
21220
21220
  aplicacion: r.aplicacion
21221
21221
  }), Z = h(async (z) => {
@@ -22775,11 +22775,11 @@ function Ng() {
22775
22775
  {
22776
22776
  name: "step3"
22777
22777
  }
22778
- ]), y = Oe(() => i[w.value]), I = qr({
22778
+ ]), y = Oe(() => i[w.value]), B = qr({
22779
22779
  verificadoEmail: !1,
22780
22780
  verificadoTelegram: !1,
22781
22781
  verificadoWhatsapp: !1
22782
- }), { values: Z, handleSubmit: P, errors: B, setErrors: z, setFieldValue: Q, validateField: R, setValues: D } = Jr({
22782
+ }), { values: Z, handleSubmit: P, errors: I, setErrors: z, setFieldValue: Q, validateField: R, setValues: D } = Jr({
22783
22783
  validationSchema: y,
22784
22784
  keepValuesOnUnmount: !0
22785
22785
  });
@@ -22790,18 +22790,18 @@ function Ng() {
22790
22790
  email: ((Ue = l.userState.user) == null ? void 0 : Ue.email) || void 0,
22791
22791
  direccion: ((kt = l.userState.user) == null ? void 0 : kt.direccion) || void 0,
22792
22792
  medio: ((Dt = l.userState.user) == null ? void 0 : Dt.notificacionDefault) || void 0
22793
- }), I.verificadoWhatsapp = !!((nt = l.userState.user) != null && nt.whatsapp), I.verificadoTelegram = !!((Cn = l.userState.user) != null && Cn.telegram), I.verificadoEmail = !!((dr = l.userState.user) != null && dr.emailValidado);
22793
+ }), B.verificadoWhatsapp = !!((nt = l.userState.user) != null && nt.whatsapp), B.verificadoTelegram = !!((Cn = l.userState.user) != null && Cn.telegram), B.verificadoEmail = !!((dr = l.userState.user) != null && dr.emailValidado);
22794
22794
  }), wt(
22795
22795
  () => Z.celular,
22796
22796
  (U) => {
22797
22797
  var _, Ue;
22798
- U !== ((Ue = (_ = l.userState.user) == null ? void 0 : _.celular) == null ? void 0 : Ue.toString()) && (I.verificadoTelegram || I.verificadoWhatsapp) && (I.verificadoTelegram = !1, I.verificadoWhatsapp = !1);
22798
+ U !== ((Ue = (_ = l.userState.user) == null ? void 0 : _.celular) == null ? void 0 : Ue.toString()) && (B.verificadoTelegram || B.verificadoWhatsapp) && (B.verificadoTelegram = !1, B.verificadoWhatsapp = !1);
22799
22799
  }
22800
22800
  ), wt(
22801
22801
  () => Z.email,
22802
22802
  (U) => {
22803
22803
  var _;
22804
- U !== ((_ = l.userState.user) == null ? void 0 : _.email) && I.verificadoEmail && (I.verificadoEmail = !1);
22804
+ U !== ((_ = l.userState.user) == null ? void 0 : _.email) && B.verificadoEmail && (B.verificadoEmail = !1);
22805
22805
  }
22806
22806
  );
22807
22807
  const j = P(async (U) => {
@@ -22847,12 +22847,12 @@ function Ng() {
22847
22847
  detail: _.message,
22848
22848
  life: 5e3,
22849
22849
  group: "auth_toast"
22850
- }), f.value === "email" ? I.verificadoEmail = !0 : f.value === "whatsapp" ? I.verificadoWhatsapp = !0 : f.value === "telegram" && (I.verificadoTelegram = !0), l.updateUserData({
22850
+ }), f.value === "email" ? B.verificadoEmail = !0 : f.value === "whatsapp" ? B.verificadoWhatsapp = !0 : f.value === "telegram" && (B.verificadoTelegram = !0), l.updateUserData({
22851
22851
  email: Z.email || void 0,
22852
22852
  celular: Z.celular,
22853
- whatsapp: !!I.verificadoWhatsapp,
22854
- telegram: !!I.verificadoTelegram,
22855
- emailValidado: !!I.verificadoEmail
22853
+ whatsapp: !!B.verificadoWhatsapp,
22854
+ telegram: !!B.verificadoTelegram,
22855
+ emailValidado: !!B.verificadoEmail
22856
22856
  }), Ye(), Q("codigo", void 0), f.value = void 0, h.value = null;
22857
22857
  } catch (U) {
22858
22858
  st({ error: U, toast: u, setErrors: z });
@@ -22862,12 +22862,12 @@ function Ng() {
22862
22862
  }, Be = async ({ medio: U, contacto: _ }) => {
22863
22863
  if (U === "email") {
22864
22864
  const { valid: nt } = await R("email");
22865
- if (!nt || I.verificadoEmail)
22865
+ if (!nt || B.verificadoEmail)
22866
22866
  return;
22867
22867
  }
22868
22868
  const kt = U === "telegram", Dt = U === "whatsapp";
22869
22869
  if (kt || Dt) {
22870
- if (kt && I.verificadoTelegram || Dt && I.verificadoWhatsapp)
22870
+ if (kt && B.verificadoTelegram || Dt && B.verificadoWhatsapp)
22871
22871
  return;
22872
22872
  const { valid: nt } = await R("celular");
22873
22873
  if (!nt)
@@ -22987,11 +22987,11 @@ function Ng() {
22987
22987
  forzarCambio: a,
22988
22988
  mode: s,
22989
22989
  values: Z,
22990
- mediosVerificados: I,
22990
+ mediosVerificados: B,
22991
22991
  currentContacto: h,
22992
22992
  currentStep: w,
22993
22993
  steps: v,
22994
- errors: B,
22994
+ errors: I,
22995
22995
  refCounter: d,
22996
22996
  isLoading: S,
22997
22997
  inputImageRef: k,
@@ -23089,19 +23089,19 @@ const qg = { render: Kg }, ht = (t) => (zo("data-v-a066f6a5"), t = t(), Vo(), t)
23089
23089
  onEnviarCodigoAlUsuario: S,
23090
23090
  onCambiarImagenPerfil: v,
23091
23091
  onOpenInputFile: y,
23092
- cambiarPass: I,
23092
+ cambiarPass: B,
23093
23093
  goProfileStep: Z
23094
23094
  } = Ng();
23095
23095
  return e({
23096
- cambiarPass: I
23097
- }), (P, B) => {
23096
+ cambiarPass: B
23097
+ }), (P, I) => {
23098
23098
  const z = Bt("tooltip");
23099
23099
  return A(), C(ae, null, [
23100
23100
  p(d) ? (A(), F(Ku, { key: 0 })) : V("", !0),
23101
23101
  m("div", Wg, [
23102
23102
  m("div", Jg, [
23103
23103
  O(xg, {
23104
- "cambiar-password": p(s) === 0 ? p(I) : void 0,
23104
+ "cambiar-password": p(s) === 0 ? p(B) : void 0,
23105
23105
  showCameraBtn: p(s) === 0
23106
23106
  }, {
23107
23107
  floatButton: N(() => [
@@ -23123,7 +23123,7 @@ const qg = { render: Kg }, ht = (t) => (zo("data-v-a066f6a5"), t = t(), Vo(), t)
23123
23123
  ref_key: "inputImageRef",
23124
23124
  ref: h,
23125
23125
  class: "hidden",
23126
- onChange: B[0] || (B[0] = //@ts-ignore
23126
+ onChange: I[0] || (I[0] = //@ts-ignore
23127
23127
  (...Q) => p(v) && p(v)(...Q))
23128
23128
  }, null, 544)
23129
23129
  ], 64)) : V("", !0)
@@ -23151,7 +23151,7 @@ const qg = { render: Kg }, ht = (t) => (zo("data-v-a066f6a5"), t = t(), Vo(), t)
23151
23151
  }, null, 8, ["class", "as"]),
23152
23152
  ue((A(), F(p(re), {
23153
23153
  class: "p-2 fge-button absolute btn-absolute",
23154
- onClick: B[1] || (B[1] = (Q) => p(S)({ medio: "whatsapp", contacto: p(o).celular })),
23154
+ onClick: I[1] || (I[1] = (Q) => p(S)({ medio: "whatsapp", contacto: p(o).celular })),
23155
23155
  text: "",
23156
23156
  rounded: "",
23157
23157
  outlined: ""
@@ -23175,7 +23175,7 @@ const qg = { render: Kg }, ht = (t) => (zo("data-v-a066f6a5"), t = t(), Vo(), t)
23175
23175
  ]),
23176
23176
  ue((A(), F(p(re), {
23177
23177
  class: "p-2 fge-button absolute btn-absolute-2",
23178
- onClick: B[2] || (B[2] = (Q) => p(S)({ medio: "telegram", contacto: p(o).celular })),
23178
+ onClick: I[2] || (I[2] = (Q) => p(S)({ medio: "telegram", contacto: p(o).celular })),
23179
23179
  text: "",
23180
23180
  rounded: "",
23181
23181
  outlined: ""
@@ -23214,7 +23214,7 @@ const qg = { render: Kg }, ht = (t) => (zo("data-v-a066f6a5"), t = t(), Vo(), t)
23214
23214
  as: p(Pe)
23215
23215
  }, null, 8, ["class", "as"]),
23216
23216
  ue((A(), F(p(re), {
23217
- onClick: B[3] || (B[3] = (Q) => p(S)({ medio: "email", contacto: p(o).email })),
23217
+ onClick: I[3] || (I[3] = (Q) => p(S)({ medio: "email", contacto: p(o).email })),
23218
23218
  class: "p-2 fge-button absolute btn-absolute",
23219
23219
  text: "",
23220
23220
  rounded: "",
@@ -23318,7 +23318,7 @@ const qg = { render: Kg }, ht = (t) => (zo("data-v-a066f6a5"), t = t(), Vo(), t)
23318
23318
  m("div", vv, [
23319
23319
  m("div", Av, [
23320
23320
  O(p(re), {
23321
- onClick: B[4] || (B[4] = () => {
23321
+ onClick: I[4] || (I[4] = () => {
23322
23322
  var Q;
23323
23323
  return (Q = t.onCloseBtn) == null ? void 0 : Q.call(t);
23324
23324
  }),
@@ -23339,7 +23339,7 @@ const qg = { render: Kg }, ht = (t) => (zo("data-v-a066f6a5"), t = t(), Vo(), t)
23339
23339
  O(wi, {
23340
23340
  fieldName: "codigo",
23341
23341
  refCounter: p(c),
23342
- "onUpdate:refCounter": B[5] || (B[5] = (Q) => ct(c) ? c.value = Q : null),
23342
+ "onUpdate:refCounter": I[5] || (I[5] = (Q) => ct(c) ? c.value = Q : null),
23343
23343
  error: p(l).codigo,
23344
23344
  currentContacto: p(a),
23345
23345
  cancelarFunction: p(Z),
@@ -23517,37 +23517,37 @@ const qg = { render: Kg }, ht = (t) => (zo("data-v-a066f6a5"), t = t(), Vo(), t)
23517
23517
  }, k = async () => {
23518
23518
  d("onChangeMode");
23519
23519
  }, S = async () => {
23520
- const { fechaCambioPassword: y, cambiarPassword: I, forzarCambioPassword: Z, diasVidaPassword: P } = r.userState;
23520
+ const { fechaCambioPassword: y, cambiarPassword: B, forzarCambioPassword: Z, diasVidaPassword: P } = r.userState;
23521
23521
  if (!r.enableChangePassword || typeof P != "number")
23522
23522
  return;
23523
- const B = localStorage.getItem("show-change-password");
23524
- if (!Z && B && I)
23523
+ const I = localStorage.getItem("show-change-password");
23524
+ if (!Z && I && B)
23525
23525
  return;
23526
23526
  const z = y ? G.fromISO(y) : void 0;
23527
- if (I) {
23528
- v(z, !!(I && Z));
23527
+ if (r.enableChangePassword) {
23528
+ v(z, !!(B && Z));
23529
23529
  return;
23530
23530
  }
23531
- }, v = (y, I) => {
23532
- Wo("password-modified") || (localStorage.setItem("show-change-password", (/* @__PURE__ */ new Date()).toISOString()), I && (c.value = !1), o.require({
23531
+ }, v = (y, B) => {
23532
+ Wo("password-modified") || (localStorage.setItem("show-change-password", (/* @__PURE__ */ new Date()).toISOString()), B && (c.value = !1), o.require({
23533
23533
  header: "Aviso de Seguridad",
23534
- question: I ? "Renueva tu Contraseña Ahora" : "¿Desea cambiar la contraseña?",
23534
+ question: B ? "Renueva tu Contraseña Ahora" : "¿Desea cambiar la contraseña?",
23535
23535
  message: y ? `La contraseña fue cambiada por última vez el: ${y.toFormat("dd/MM/yyyy")}` : "Actualice su contraseña por seguridad",
23536
23536
  group: "auth_dialog",
23537
23537
  accept: () => {
23538
23538
  var P;
23539
- (P = u.value) == null || P.goToChangePassword(I), c.value = !1;
23539
+ (P = u.value) == null || P.goToChangePassword(B), c.value = !1;
23540
23540
  },
23541
23541
  acceptClass: "auth-btn-sm fge-button fge-auth-primary-button",
23542
23542
  acceptLabel: "Cambiar contraseña",
23543
23543
  acceptIcon: "hidden",
23544
23544
  rejectIcon: "hidden",
23545
- rejectClass: `fge-button fge-secondary-button auth-btn-sm ${I ? "hidden" : ""}`,
23545
+ rejectClass: `fge-button fge-secondary-button auth-btn-sm ${B ? "hidden" : ""}`,
23546
23546
  rejectLabel: "Cerrar"
23547
23547
  }));
23548
23548
  };
23549
- return (y, I) => {
23550
- var Z, P, B, z, Q;
23549
+ return (y, B) => {
23550
+ var Z, P, I, z, Q;
23551
23551
  return A(), C(ae, null, [
23552
23552
  m("a", {
23553
23553
  onClick: h,
@@ -23566,7 +23566,7 @@ const qg = { render: Kg }, ht = (t) => (zo("data-v-a066f6a5"), t = t(), Vo(), t)
23566
23566
  ])),
23567
23567
  m("div", Tv, [
23568
23568
  m("div", Zv, [
23569
- m("span", Rv, L((B = (P = p(r).userState) == null ? void 0 : P.user) == null ? void 0 : B.nombreCompleto), 1),
23569
+ m("span", Rv, L((I = (P = p(r).userState) == null ? void 0 : P.user) == null ? void 0 : I.nombreCompleto), 1),
23570
23570
  m("span", Pv, L((Q = (z = p(r).userState) == null ? void 0 : z.user) == null ? void 0 : Q.profesion), 1)
23571
23571
  ])
23572
23572
  ])
@@ -24053,7 +24053,8 @@ const uA = {
24053
24053
  verificarSiFuncionario: e.verificarSiFuncionario || !1,
24054
24054
  telegramBot: e.telegramBot,
24055
24055
  systemVersion: e.systemVersion,
24056
- DISABLE_AGETIC_LOGIN: e.DISABLE_AGETIC_LOGIN
24056
+ DISABLE_AGETIC_LOGIN: e.DISABLE_AGETIC_LOGIN,
24057
+ enableChangePasswordMsg: e.ENABLE_CHANGE_PASSWORD
24057
24058
  });
24058
24059
  }
24059
24060
  };