@kong-ui-public/entities-certificates 3.6.35 → 3.6.37

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.
@@ -64,7 +64,7 @@ var Ja;
64
64
  return g[m];
65
65
  }
66
66
  }, p = Object.getPrototypeOf(Function), q = typeof Map == "function" && typeof Map.prototype.entries == "function" ? Map : $f(), N = typeof Set == "function" && typeof Set.prototype.entries == "function" ? Set : Uf(), f = typeof WeakMap == "function" ? WeakMap : Lf(), y = n ? Symbol.for("@reflect-metadata:registry") : void 0, A = Vf(), b = Df(A);
67
- function O(g, m, S, T) {
67
+ function O(g, m, S, j) {
68
68
  if (z(S)) {
69
69
  if (!Ae(g))
70
70
  throw new TypeError();
@@ -76,29 +76,29 @@ var Ja;
76
76
  throw new TypeError();
77
77
  if (!_(m))
78
78
  throw new TypeError();
79
- if (!_(T) && !z(T) && !G(T))
79
+ if (!_(j) && !z(j) && !G(j))
80
80
  throw new TypeError();
81
- return G(T) && (T = void 0), S = Q(S), de(g, m, S, T);
81
+ return G(j) && (j = void 0), S = Q(S), de(g, m, S, j);
82
82
  }
83
83
  }
84
84
  e("decorate", O);
85
85
  function k(g, m) {
86
- function S(T, W) {
87
- if (!_(T))
86
+ function S(j, W) {
87
+ if (!_(j))
88
88
  throw new TypeError();
89
89
  if (!z(W) && !Ee(W))
90
90
  throw new TypeError();
91
- St(g, m, T, W);
91
+ St(g, m, j, W);
92
92
  }
93
93
  return S;
94
94
  }
95
95
  e("metadata", k);
96
- function I(g, m, S, T) {
96
+ function B(g, m, S, j) {
97
97
  if (!_(S))
98
98
  throw new TypeError();
99
- return z(T) || (T = Q(T)), St(g, m, S, T);
99
+ return z(j) || (j = Q(j)), St(g, m, S, j);
100
100
  }
101
- e("defineMetadata", I);
101
+ e("defineMetadata", B);
102
102
  function Z(g, m, S) {
103
103
  if (!_(m))
104
104
  throw new TypeError();
@@ -123,12 +123,12 @@ var Ja;
123
123
  return z(S) || (S = Q(S)), br(g, m, S);
124
124
  }
125
125
  e("getOwnMetadata", C);
126
- function P(g, m) {
126
+ function T(g, m) {
127
127
  if (!_(g))
128
128
  throw new TypeError();
129
129
  return z(m) || (m = Q(m)), wr(g, m);
130
130
  }
131
- e("getMetadataKeys", P);
131
+ e("getMetadataKeys", T);
132
132
  function ke(g, m) {
133
133
  if (!_(g))
134
134
  throw new TypeError();
@@ -141,18 +141,18 @@ var Ja;
141
141
  if (z(S) || (S = Q(S)), !_(m))
142
142
  throw new TypeError();
143
143
  z(S) || (S = Q(S));
144
- var T = Jr(
144
+ var j = Jr(
145
145
  m,
146
146
  S,
147
147
  /*Create*/
148
148
  !1
149
149
  );
150
- return z(T) ? !1 : T.OrdinaryDeleteMetadata(g, m, S);
150
+ return z(j) ? !1 : j.OrdinaryDeleteMetadata(g, m, S);
151
151
  }
152
152
  e("deleteMetadata", ce);
153
153
  function Re(g, m) {
154
154
  for (var S = g.length - 1; S >= 0; --S) {
155
- var T = g[S], W = T(m);
155
+ var j = g[S], W = j(m);
156
156
  if (!z(W) && !G(W)) {
157
157
  if (!Y(W))
158
158
  throw new TypeError();
@@ -161,65 +161,65 @@ var Ja;
161
161
  }
162
162
  return m;
163
163
  }
164
- function de(g, m, S, T) {
164
+ function de(g, m, S, j) {
165
165
  for (var W = g.length - 1; W >= 0; --W) {
166
- var Oe = g[W], Ce = Oe(m, S, T);
166
+ var Oe = g[W], Ce = Oe(m, S, j);
167
167
  if (!z(Ce) && !G(Ce)) {
168
168
  if (!_(Ce))
169
169
  throw new TypeError();
170
- T = Ce;
170
+ j = Ce;
171
171
  }
172
172
  }
173
- return T;
173
+ return j;
174
174
  }
175
175
  function we(g, m, S) {
176
- var T = st(g, m, S);
177
- if (T)
176
+ var j = st(g, m, S);
177
+ if (j)
178
178
  return !0;
179
179
  var W = ws(m);
180
180
  return G(W) ? !1 : we(g, W, S);
181
181
  }
182
182
  function st(g, m, S) {
183
- var T = Jr(
183
+ var j = Jr(
184
184
  m,
185
185
  S,
186
186
  /*Create*/
187
187
  !1
188
188
  );
189
- return z(T) ? !1 : _e(T.OrdinaryHasOwnMetadata(g, m, S));
189
+ return z(j) ? !1 : _e(j.OrdinaryHasOwnMetadata(g, m, S));
190
190
  }
191
191
  function re(g, m, S) {
192
- var T = st(g, m, S);
193
- if (T)
192
+ var j = st(g, m, S);
193
+ if (j)
194
194
  return br(g, m, S);
195
195
  var W = ws(m);
196
196
  if (!G(W))
197
197
  return re(g, W, S);
198
198
  }
199
199
  function br(g, m, S) {
200
- var T = Jr(
200
+ var j = Jr(
201
201
  m,
202
202
  S,
203
203
  /*Create*/
204
204
  !1
205
205
  );
206
- if (!z(T))
207
- return T.OrdinaryGetOwnMetadata(g, m, S);
206
+ if (!z(j))
207
+ return j.OrdinaryGetOwnMetadata(g, m, S);
208
208
  }
209
- function St(g, m, S, T) {
209
+ function St(g, m, S, j) {
210
210
  var W = Jr(
211
211
  S,
212
- T,
212
+ j,
213
213
  /*Create*/
214
214
  !0
215
215
  );
216
- W.OrdinaryDefineOwnMetadata(g, m, S, T);
216
+ W.OrdinaryDefineOwnMetadata(g, m, S, j);
217
217
  }
218
218
  function wr(g, m) {
219
- var S = Jt(g, m), T = ws(g);
220
- if (T === null)
219
+ var S = Jt(g, m), j = ws(g);
220
+ if (j === null)
221
221
  return S;
222
- var W = wr(T, m);
222
+ var W = wr(j, m);
223
223
  if (W.length <= 0)
224
224
  return S;
225
225
  if (S.length <= 0)
@@ -290,9 +290,9 @@ var Ja;
290
290
  case 5:
291
291
  return g;
292
292
  }
293
- var S = "string", T = Fa(g, s);
294
- if (T !== void 0) {
295
- var W = T.call(g, S);
293
+ var S = "string", j = Fa(g, s);
294
+ if (j !== void 0) {
295
+ var W = j.call(g, S);
296
296
  if (_(W))
297
297
  throw new TypeError();
298
298
  return W;
@@ -300,19 +300,19 @@ var Ja;
300
300
  return pe(g);
301
301
  }
302
302
  function pe(g, m) {
303
- var S, T;
303
+ var S, j;
304
304
  {
305
305
  var W = g.toString;
306
306
  if (Ze(W)) {
307
- var T = W.call(g);
308
- if (!_(T))
309
- return T;
307
+ var j = W.call(g);
308
+ if (!_(j))
309
+ return j;
310
310
  }
311
311
  var S = g.valueOf;
312
312
  if (Ze(S)) {
313
- var T = S.call(g);
314
- if (!_(T))
315
- return T;
313
+ var j = S.call(g);
314
+ if (!_(j))
315
+ return j;
316
316
  }
317
317
  }
318
318
  throw new TypeError();
@@ -381,16 +381,16 @@ var Ja;
381
381
  var m = Object.getPrototypeOf(g);
382
382
  if (typeof g != "function" || g === p || m !== p)
383
383
  return m;
384
- var S = g.prototype, T = S && Object.getPrototypeOf(S);
385
- if (T == null || T === Object.prototype)
384
+ var S = g.prototype, j = S && Object.getPrototypeOf(S);
385
+ if (j == null || j === Object.prototype)
386
386
  return m;
387
- var W = T.constructor;
387
+ var W = j.constructor;
388
388
  return typeof W != "function" || W === g ? m : W;
389
389
  }
390
390
  function Rf() {
391
391
  var g;
392
392
  !z(y) && typeof t.Reflect < "u" && !(y in t.Reflect) && typeof t.Reflect.defineMetadata == "function" && (g = Mf(t.Reflect));
393
- var m, S, T, W = new f(), Oe = {
393
+ var m, S, j, W = new f(), Oe = {
394
394
  registerProvider: Ce,
395
395
  getProvider: V,
396
396
  setProvider: H
@@ -413,7 +413,7 @@ var Ja;
413
413
  case S === K:
414
414
  break;
415
415
  default:
416
- T === void 0 && (T = new N()), T.add(K);
416
+ j === void 0 && (j = new N()), j.add(K);
417
417
  break;
418
418
  }
419
419
  }
@@ -424,8 +424,8 @@ var Ja;
424
424
  if (!z(S)) {
425
425
  if (S.isProviderFor(K, ie))
426
426
  return m;
427
- if (!z(T))
428
- for (var ye = Ka(T); ; ) {
427
+ if (!z(j))
428
+ for (var ye = Ka(j); ; ) {
429
429
  var xe = za(ye);
430
430
  if (!xe)
431
431
  return;
@@ -445,7 +445,7 @@ var Ja;
445
445
  function L(K) {
446
446
  if (z(K))
447
447
  throw new TypeError();
448
- return m === K || S === K || !z(T) && T.has(K);
448
+ return m === K || S === K || !z(j) && j.has(K);
449
449
  }
450
450
  function H(K, ie, ye) {
451
451
  if (!L(ye))
@@ -482,7 +482,7 @@ var Ja;
482
482
  OrdinaryDeleteMetadata: V
483
483
  };
484
484
  return A.registerProvider(S), S;
485
- function T(L, H, K) {
485
+ function j(L, H, K) {
486
486
  var ie = m.get(L), ye = !1;
487
487
  if (z(ie)) {
488
488
  if (!K)
@@ -499,7 +499,7 @@ var Ja;
499
499
  return xe;
500
500
  }
501
501
  function W(L, H, K) {
502
- var ie = T(
502
+ var ie = j(
503
503
  H,
504
504
  K,
505
505
  /*Create*/
@@ -508,7 +508,7 @@ var Ja;
508
508
  return z(ie) ? !1 : _e(ie.has(L));
509
509
  }
510
510
  function Oe(L, H, K) {
511
- var ie = T(
511
+ var ie = j(
512
512
  H,
513
513
  K,
514
514
  /*Create*/
@@ -518,7 +518,7 @@ var Ja;
518
518
  return ie.get(L);
519
519
  }
520
520
  function Ce(L, H, K, ie) {
521
- var ye = T(
521
+ var ye = j(
522
522
  K,
523
523
  ie,
524
524
  /*Create*/
@@ -527,7 +527,7 @@ var Ja;
527
527
  ye.set(L, H);
528
528
  }
529
529
  function te(L, H) {
530
- var K = [], ie = T(
530
+ var K = [], ie = j(
531
531
  L,
532
532
  H,
533
533
  /*Create*/
@@ -553,7 +553,7 @@ var Ja;
553
553
  }
554
554
  }
555
555
  function V(L, H, K) {
556
- var ie = T(
556
+ var ie = j(
557
557
  H,
558
558
  K,
559
559
  /*Create*/
@@ -569,23 +569,23 @@ var Ja;
569
569
  }
570
570
  }
571
571
  function Mf(g) {
572
- var m = g.defineMetadata, S = g.hasOwnMetadata, T = g.getOwnMetadata, W = g.getOwnMetadataKeys, Oe = g.deleteMetadata, Ce = new f(), te = {
572
+ var m = g.defineMetadata, S = g.hasOwnMetadata, j = g.getOwnMetadata, W = g.getOwnMetadataKeys, Oe = g.deleteMetadata, Ce = new f(), te = {
573
573
  isProviderFor: function(V, L) {
574
574
  var H = Ce.get(V);
575
575
  return !z(H) && H.has(L) ? !0 : W(V, L).length ? (z(H) && (H = new N(), Ce.set(V, H)), H.add(L), !0) : !1;
576
576
  },
577
577
  OrdinaryDefineOwnMetadata: m,
578
578
  OrdinaryHasOwnMetadata: S,
579
- OrdinaryGetOwnMetadata: T,
579
+ OrdinaryGetOwnMetadata: j,
580
580
  OrdinaryOwnMetadataKeys: W,
581
581
  OrdinaryDeleteMetadata: Oe
582
582
  };
583
583
  return te;
584
584
  }
585
585
  function Jr(g, m, S) {
586
- var T = A.getProvider(g, m);
587
- if (!z(T))
588
- return T;
586
+ var j = A.getProvider(g, m);
587
+ if (!z(j))
588
+ return j;
589
589
  if (S) {
590
590
  if (A.setProvider(g, m, b))
591
591
  return b;
@@ -616,7 +616,7 @@ var Ja;
616
616
  return this._index >= 0 && (this._index = -1, this._keys = m, this._values = m), { value: V, done: !0 };
617
617
  }, te;
618
618
  }()
619
- ), T = (
619
+ ), j = (
620
620
  /** @class */
621
621
  function() {
622
622
  function te() {
@@ -685,7 +685,7 @@ var Ja;
685
685
  }, te;
686
686
  }()
687
687
  );
688
- return T;
688
+ return j;
689
689
  function W(te, V) {
690
690
  return te;
691
691
  }
@@ -733,12 +733,12 @@ var Ja;
733
733
  return g;
734
734
  }
735
735
  function Lf() {
736
- var g = 16, m = v.create(), S = T();
736
+ var g = 16, m = v.create(), S = j();
737
737
  return (
738
738
  /** @class */
739
739
  function() {
740
740
  function V() {
741
- this._key = T();
741
+ this._key = j();
742
742
  }
743
743
  return V.prototype.has = function(L) {
744
744
  var H = W(
@@ -769,11 +769,11 @@ var Ja;
769
769
  );
770
770
  return H !== void 0 ? delete H[this._key] : !1;
771
771
  }, V.prototype.clear = function() {
772
- this._key = T();
772
+ this._key = j();
773
773
  }, V;
774
774
  }()
775
775
  );
776
- function T() {
776
+ function j() {
777
777
  var V;
778
778
  do
779
779
  V = "@@WeakMap@@" + te();
@@ -840,7 +840,7 @@ var Ja;
840
840
  *
841
841
  */
842
842
  const Wf = "[object ArrayBuffer]";
843
- class j {
843
+ class P {
844
844
  static isArrayBuffer(e) {
845
845
  return Object.prototype.toString.call(e) === Wf;
846
846
  }
@@ -866,7 +866,7 @@ class j {
866
866
  return ArrayBuffer.isView(e) || e && this.isArrayBuffer(e.buffer);
867
867
  }
868
868
  static isEqual(e, t) {
869
- const i = j.toUint8Array(e), n = j.toUint8Array(t);
869
+ const i = P.toUint8Array(e), n = P.toUint8Array(t);
870
870
  if (i.length !== n.byteLength)
871
871
  return !1;
872
872
  for (let s = 0; s < i.length; s++)
@@ -898,7 +898,7 @@ class Ya {
898
898
  return i.buffer;
899
899
  }
900
900
  static toString(e) {
901
- const t = j.toUint8Array(e);
901
+ const t = P.toUint8Array(e);
902
902
  let i = "";
903
903
  for (let s = 0; s < t.length; s++)
904
904
  i += String.fromCharCode(t[s]);
@@ -907,7 +907,7 @@ class Ya {
907
907
  }
908
908
  class pt {
909
909
  static toString(e, t = !1) {
910
- const i = j.toArrayBuffer(e), n = new DataView(i);
910
+ const i = P.toArrayBuffer(e), n = new DataView(i);
911
911
  let s = "";
912
912
  for (let a = 0; a < i.byteLength; a += 2) {
913
913
  const l = n.getUint16(a, t);
@@ -933,7 +933,7 @@ class F {
933
933
  return typeof e === Ss && Zf.test(e);
934
934
  }
935
935
  static ToString(e, t = "utf8") {
936
- const i = j.toUint8Array(e);
936
+ const i = P.toUint8Array(e);
937
937
  switch (t.toLowerCase()) {
938
938
  case "utf8":
939
939
  return this.ToUtf8String(i);
@@ -978,7 +978,7 @@ class F {
978
978
  }
979
979
  }
980
980
  static ToBase64(e) {
981
- const t = j.toUint8Array(e);
981
+ const t = P.toUint8Array(e);
982
982
  if (typeof btoa < "u") {
983
983
  const i = this.ToString(t, "binary");
984
984
  return btoa(i);
@@ -1043,14 +1043,14 @@ class F {
1043
1043
  return i.buffer;
1044
1044
  }
1045
1045
  static ToBinary(e) {
1046
- const t = j.toUint8Array(e);
1046
+ const t = P.toUint8Array(e);
1047
1047
  let i = "";
1048
1048
  for (let n = 0; n < t.length; n++)
1049
1049
  i += String.fromCharCode(t[n]);
1050
1050
  return i;
1051
1051
  }
1052
1052
  static ToHex(e) {
1053
- const t = j.toUint8Array(e);
1053
+ const t = P.toUint8Array(e);
1054
1054
  let i = "";
1055
1055
  const n = t.length;
1056
1056
  for (let s = 0; s < n; s++) {
@@ -1280,7 +1280,7 @@ function bt(r) {
1280
1280
  var n;
1281
1281
  super(...i);
1282
1282
  const s = i[0] || {};
1283
- this.isHexOnly = (n = s.isHexOnly) !== null && n !== void 0 ? n : !1, this.valueHexView = s.valueHex ? j.toUint8Array(s.valueHex) : On;
1283
+ this.isHexOnly = (n = s.isHexOnly) !== null && n !== void 0 ? n : !1, this.valueHexView = s.valueHex ? P.toUint8Array(s.valueHex) : On;
1284
1284
  }
1285
1285
  get valueHex() {
1286
1286
  return this.valueHexView.slice().buffer;
@@ -1309,7 +1309,7 @@ function bt(r) {
1309
1309
  }
1310
1310
  class yr {
1311
1311
  constructor({ blockLength: e = 0, error: t = Fe, warnings: i = [], valueBeforeDecode: n = On } = {}) {
1312
- this.blockLength = e, this.error = t, this.warnings = i, this.valueBeforeDecodeView = j.toUint8Array(n);
1312
+ this.blockLength = e, this.error = t, this.warnings = i, this.valueBeforeDecodeView = P.toUint8Array(n);
1313
1313
  }
1314
1314
  static blockName() {
1315
1315
  return this.NAME;
@@ -1343,7 +1343,7 @@ Le.NAME = "valueBlock";
1343
1343
  class ql extends bt(yr) {
1344
1344
  constructor({ idBlock: e = {} } = {}) {
1345
1345
  var t, i, n, s;
1346
- super(), e ? (this.isHexOnly = (t = e.isHexOnly) !== null && t !== void 0 ? t : !1, this.valueHexView = e.valueHex ? j.toUint8Array(e.valueHex) : On, this.tagClass = (i = e.tagClass) !== null && i !== void 0 ? i : -1, this.tagNumber = (n = e.tagNumber) !== null && n !== void 0 ? n : -1, this.isConstructed = (s = e.isConstructed) !== null && s !== void 0 ? s : !1) : (this.tagClass = -1, this.tagNumber = -1, this.isConstructed = !1);
1346
+ super(), e ? (this.isHexOnly = (t = e.isHexOnly) !== null && t !== void 0 ? t : !1, this.valueHexView = e.valueHex ? P.toUint8Array(e.valueHex) : On, this.tagClass = (i = e.tagClass) !== null && i !== void 0 ? i : -1, this.tagNumber = (n = e.tagNumber) !== null && n !== void 0 ? n : -1, this.isConstructed = (s = e.isConstructed) !== null && s !== void 0 ? s : !1) : (this.tagClass = -1, this.tagNumber = -1, this.isConstructed = !1);
1347
1347
  }
1348
1348
  toBER(e = !1) {
1349
1349
  let t = 0;
@@ -1390,7 +1390,7 @@ class ql extends bt(yr) {
1390
1390
  return i.buffer;
1391
1391
  }
1392
1392
  fromBER(e, t, i) {
1393
- const n = j.toUint8Array(e);
1393
+ const n = P.toUint8Array(e);
1394
1394
  if (!Pt(this, n, t, i))
1395
1395
  return -1;
1396
1396
  const s = n.subarray(t, t + i);
@@ -1470,7 +1470,7 @@ class zl extends yr {
1470
1470
  super(), this.isIndefiniteForm = (t = e.isIndefiniteForm) !== null && t !== void 0 ? t : !1, this.longFormUsed = (i = e.longFormUsed) !== null && i !== void 0 ? i : !1, this.length = (n = e.length) !== null && n !== void 0 ? n : 0;
1471
1471
  }
1472
1472
  fromBER(e, t, i) {
1473
- const n = j.toUint8Array(e);
1473
+ const n = P.toUint8Array(e);
1474
1474
  if (!Pt(this, n, t, i))
1475
1475
  return -1;
1476
1476
  const s = n.subarray(t, t + i);
@@ -1778,7 +1778,7 @@ function kr(r) {
1778
1778
  result: e
1779
1779
  };
1780
1780
  }
1781
- return $r(j.toUint8Array(r).slice(), 0, r.byteLength);
1781
+ return $r(P.toUint8Array(r).slice(), 0, r.byteLength);
1782
1782
  }
1783
1783
  function ud(r, e) {
1784
1784
  return r ? 1 : e;
@@ -1788,7 +1788,7 @@ class Lt extends Le {
1788
1788
  super(i), this.value = e, this.isIndefiniteForm = t;
1789
1789
  }
1790
1790
  fromBER(e, t, i) {
1791
- const n = j.toUint8Array(e);
1791
+ const n = P.toUint8Array(e);
1792
1792
  if (!Pt(this, n, t, i))
1793
1793
  return -1;
1794
1794
  if (this.valueBeforeDecodeView = n.subarray(t, t + i), this.valueBeforeDecodeView.length === 0)
@@ -1889,7 +1889,7 @@ M.Null = Xl;
1889
1889
  sr.NAME = "NULL";
1890
1890
  class eu extends bt(Le) {
1891
1891
  constructor({ value: e, ...t } = {}) {
1892
- super(t), t.valueHex ? this.valueHexView = j.toUint8Array(t.valueHex) : this.valueHexView = new Uint8Array(1), e && (this.value = e);
1892
+ super(t), t.valueHex ? this.valueHexView = P.toUint8Array(t.valueHex) : this.valueHexView = new Uint8Array(1), e && (this.value = e);
1893
1893
  }
1894
1894
  get value() {
1895
1895
  for (const e of this.valueHexView)
@@ -1901,7 +1901,7 @@ class eu extends bt(Le) {
1901
1901
  this.valueHexView[0] = e ? 255 : 0;
1902
1902
  }
1903
1903
  fromBER(e, t, i) {
1904
- const n = j.toUint8Array(e);
1904
+ const n = P.toUint8Array(e);
1905
1905
  return Pt(this, n, t, i) ? (this.valueHexView = n.subarray(t, t + i), i > 1 && this.warnings.push("Boolean value encoded in more then 1 octet"), this.isHexOnly = !0, Hl.call(this), this.blockLength = i, t + i) : -1;
1906
1906
  }
1907
1907
  toBER() {
@@ -2007,7 +2007,7 @@ let er = class nu extends je {
2007
2007
  const e = [];
2008
2008
  for (const t of this.valueBlock.value)
2009
2009
  t instanceof nu && e.push(t.valueBlock.valueHexView);
2010
- return j.concat(e);
2010
+ return P.concat(e);
2011
2011
  }
2012
2012
  };
2013
2013
  iu = er;
@@ -2040,7 +2040,7 @@ class su extends bt(Lt) {
2040
2040
  }
2041
2041
  return n;
2042
2042
  }
2043
- const s = j.toUint8Array(e);
2043
+ const s = P.toUint8Array(e);
2044
2044
  if (!Pt(this, s, t, i))
2045
2045
  return -1;
2046
2046
  const a = s.subarray(t, t + i);
@@ -2268,7 +2268,7 @@ class gt extends je {
2268
2268
  if (t < 0) {
2269
2269
  const l = new Uint8Array(s.length + (s[0] & 128 ? 1 : 0));
2270
2270
  l[0] |= 128;
2271
- const d = BigInt(`0x${F.ToHex(l)}`) + t, v = j.toUint8Array(F.FromHex(d.toString(16)));
2271
+ const d = BigInt(`0x${F.ToHex(l)}`) + t, v = P.toUint8Array(F.FromHex(d.toString(16)));
2272
2272
  v[0] |= 128, i.write(v);
2273
2273
  } else
2274
2274
  s[0] & 128 && i.write(new Uint8Array([0])), i.write(s);
@@ -2308,7 +2308,7 @@ class Ds extends bt(Le) {
2308
2308
  fromBER(e, t, i) {
2309
2309
  if (!i)
2310
2310
  return t;
2311
- const n = j.toUint8Array(e);
2311
+ const n = P.toUint8Array(e);
2312
2312
  if (!Pt(this, n, t, i))
2313
2313
  return -1;
2314
2314
  const s = n.subarray(t, t + i);
@@ -2483,7 +2483,7 @@ class Ms extends bt(yr) {
2483
2483
  fromBER(e, t, i) {
2484
2484
  if (i === 0)
2485
2485
  return t;
2486
- const n = j.toUint8Array(e);
2486
+ const n = P.toUint8Array(e);
2487
2487
  if (!Pt(this, n, t, i))
2488
2488
  return -1;
2489
2489
  const s = n.subarray(t, t + i);
@@ -2647,7 +2647,7 @@ class Ye extends ia {
2647
2647
  super(e, vu);
2648
2648
  }
2649
2649
  fromBuffer(e) {
2650
- this.valueBlock.value = String.fromCharCode.apply(null, j.toUint8Array(e));
2650
+ this.valueBlock.value = String.fromCharCode.apply(null, P.toUint8Array(e));
2651
2651
  }
2652
2652
  fromString(e) {
2653
2653
  const t = e.length, i = this.valueBlock.valueHexView = new Uint8Array(t);
@@ -2659,7 +2659,7 @@ class Ye extends ia {
2659
2659
  Ye.NAME = "SIMPLE STRING";
2660
2660
  class mu extends Ye {
2661
2661
  fromBuffer(e) {
2662
- this.valueBlock.valueHexView = j.toUint8Array(e);
2662
+ this.valueBlock.valueHexView = P.toUint8Array(e);
2663
2663
  try {
2664
2664
  this.valueBlock.value = F.ToUtf8String(e);
2665
2665
  } catch (t) {
@@ -2682,7 +2682,7 @@ M.Utf8String = bu;
2682
2682
  Rt.NAME = "UTF8String";
2683
2683
  class wu extends Ye {
2684
2684
  fromBuffer(e) {
2685
- this.valueBlock.value = F.ToUtf16String(e), this.valueBlock.valueHexView = j.toUint8Array(e);
2685
+ this.valueBlock.value = F.ToUtf16String(e), this.valueBlock.valueHexView = P.toUint8Array(e);
2686
2686
  }
2687
2687
  fromString(e) {
2688
2688
  this.valueBlock.value = e, this.valueBlock.valueHexView = new Uint8Array(F.FromUtf16String(e));
@@ -2820,7 +2820,7 @@ class vi extends gi {
2820
2820
  t && (this.fromDate(t), this.valueBlock.valueHexView = new Uint8Array(this.toBuffer())), this.idBlock.tagClass = 1, this.idBlock.tagNumber = 23;
2821
2821
  }
2822
2822
  fromBuffer(e) {
2823
- this.fromString(String.fromCharCode.apply(null, j.toUint8Array(e)));
2823
+ this.fromString(String.fromCharCode.apply(null, P.toUint8Array(e)));
2824
2824
  }
2825
2825
  toBuffer() {
2826
2826
  const e = this.toString(), t = new ArrayBuffer(e.length), i = new Uint8Array(t);
@@ -3054,17 +3054,17 @@ class zi extends or {
3054
3054
  }
3055
3055
  class hd {
3056
3056
  constructor({ data: e = On } = {}) {
3057
- this.dataView = j.toUint8Array(e);
3057
+ this.dataView = P.toUint8Array(e);
3058
3058
  }
3059
3059
  get data() {
3060
3060
  return this.dataView.slice().buffer;
3061
3061
  }
3062
3062
  set data(e) {
3063
- this.dataView = j.toUint8Array(e);
3063
+ this.dataView = P.toUint8Array(e);
3064
3064
  }
3065
3065
  fromBER(e, t, i) {
3066
3066
  const n = t + i;
3067
- return this.dataView = j.toUint8Array(e).subarray(t, n), n;
3067
+ return this.dataView = P.toUint8Array(e).subarray(t, n), n;
3068
3068
  }
3069
3069
  toBER(e) {
3070
3070
  return this.dataView.slice().buffer;
@@ -3275,7 +3275,7 @@ function pd(r, e) {
3275
3275
  verified: !1,
3276
3276
  result: { error: "Wrong ASN.1 schema type" }
3277
3277
  };
3278
- const t = $r(j.toUint8Array(r));
3278
+ const t = $r(P.toUint8Array(r));
3279
3279
  return t.offset === -1 ? {
3280
3280
  verified: !1,
3281
3281
  result: t.result
@@ -3341,8 +3341,8 @@ class Kn {
3341
3341
  if (this.unusedBits = 0, this.value = new ArrayBuffer(0), e)
3342
3342
  if (typeof e == "number")
3343
3343
  this.fromNumber(e);
3344
- else if (j.isBufferSource(e))
3345
- this.unusedBits = t, this.value = j.toArrayBuffer(e);
3344
+ else if (P.isBufferSource(e))
3345
+ this.unusedBits = t, this.value = P.toArrayBuffer(e);
3346
3346
  else
3347
3347
  throw TypeError("Unsupported type of 'params' argument for BitString");
3348
3348
  }
@@ -3384,7 +3384,7 @@ class ne {
3384
3384
  return 0;
3385
3385
  }
3386
3386
  constructor(e) {
3387
- typeof e == "number" ? this.buffer = new ArrayBuffer(e) : j.isBufferSource(e) ? this.buffer = j.toArrayBuffer(e) : Array.isArray(e) ? this.buffer = new Uint8Array(e) : this.buffer = new ArrayBuffer(0);
3387
+ typeof e == "number" ? this.buffer = new ArrayBuffer(e) : P.isBufferSource(e) ? this.buffer = P.toArrayBuffer(e) : Array.isArray(e) ? this.buffer = new Uint8Array(e) : this.buffer = new ArrayBuffer(0);
3388
3388
  }
3389
3389
  fromASN(e) {
3390
3390
  if (!(e instanceof er))
@@ -3627,7 +3627,7 @@ class Dd {
3627
3627
  return t ? this.items.get(t) || this.findParentSchema(t) : null;
3628
3628
  }
3629
3629
  }
3630
- const Xe = new Dd(), B = (r) => (e) => {
3630
+ const Xe = new Dd(), I = (r) => (e) => {
3631
3631
  let t;
3632
3632
  Xe.has(e) ? t = Xe.get(e) : (t = Xe.createDefault(e), Xe.set(e, t)), Object.assign(t, r);
3633
3633
  }, c = (r) => (e, t) => {
@@ -3862,7 +3862,7 @@ class R {
3862
3862
  return Md.parse(e, t);
3863
3863
  }
3864
3864
  static toString(e) {
3865
- const t = j.isBufferSource(e) ? j.toArrayBuffer(e) : R.serialize(e), i = kr(t);
3865
+ const t = P.isBufferSource(e) ? P.toArrayBuffer(e) : R.serialize(e), i = kr(t);
3866
3866
  if (i.offset === -1)
3867
3867
  throw new Error(`Cannot decode ASN.1 data. ${i.result.error}`);
3868
3868
  return i.result.toString();
@@ -3891,12 +3891,12 @@ var Fu = { exports: {} };
3891
3891
  function d(f, y) {
3892
3892
  if (f.indexOf("::") !== f.lastIndexOf("::"))
3893
3893
  return null;
3894
- let A = 0, b = -1, O = (f.match(u.zoneIndex) || [])[0], k, I;
3894
+ let A = 0, b = -1, O = (f.match(u.zoneIndex) || [])[0], k, B;
3895
3895
  for (O && (O = O.substring(1), f = f.replace(/%.+$/, "")); (b = f.indexOf(":", b + 1)) >= 0; )
3896
3896
  A++;
3897
3897
  if (f.substr(0, 2) === "::" && A--, f.substr(-2, 2) === "::" && A--, A > y)
3898
3898
  return null;
3899
- for (I = y - A, k = ":"; I--; )
3899
+ for (B = y - A, k = ":"; B--; )
3900
3900
  k += "0:";
3901
3901
  return f = f.replace("::", k), f[0] === ":" && (f = f.slice(1)), f[f.length - 1] === ":" && (f = f.slice(0, -1)), y = function() {
3902
3902
  const Z = f.split(":"), ue = [];
@@ -4001,12 +4001,12 @@ var Fu = { exports: {} };
4001
4001
  254: 1,
4002
4002
  255: 0
4003
4003
  };
4004
- let O, k, I;
4004
+ let O, k, B;
4005
4005
  for (O = 3; O >= 0; O -= 1)
4006
4006
  if (k = this.octets[O], k in b) {
4007
- if (I = b[k], A && I !== 0)
4007
+ if (B = b[k], A && B !== 0)
4008
4008
  return null;
4009
- I !== 8 && (A = !0), y += I;
4009
+ B !== 8 && (A = !0), y += B;
4010
4010
  } else
4011
4011
  return null;
4012
4012
  return 32 - y;
@@ -4080,8 +4080,8 @@ var Fu = { exports: {} };
4080
4080
  if (y = f.match(i.fourOctet))
4081
4081
  return function() {
4082
4082
  const O = y.slice(1, 6), k = [];
4083
- for (let I = 0; I < O.length; I++)
4084
- A = O[I], k.push(p(A));
4083
+ for (let B = 0; B < O.length; B++)
4084
+ A = O[B], k.push(p(A));
4085
4085
  return k;
4086
4086
  }();
4087
4087
  if (y = f.match(i.longValue)) {
@@ -4195,8 +4195,8 @@ var Fu = { exports: {} };
4195
4195
  65535: 0
4196
4196
  };
4197
4197
  let O, k;
4198
- for (let I = 7; I >= 0; I -= 1)
4199
- if (O = this.parts[I], O in b) {
4198
+ for (let B = 7; B >= 0; B -= 1)
4199
+ if (O = this.parts[B], O in b) {
4200
4200
  if (k = b[O], A && k !== 0)
4201
4201
  return null;
4202
4202
  k !== 16 && (A = !0), y += k;
@@ -4278,8 +4278,8 @@ var Fu = { exports: {} };
4278
4278
  for (y = this.parseCIDR(f), b = y[0].toByteArray(), k = this.subnetMaskFromPrefixLength(y[1]).toByteArray(), O = [], A = 0; A < 16; )
4279
4279
  O.push(parseInt(b[A], 10) & parseInt(k[A], 10)), A++;
4280
4280
  return new this(O);
4281
- } catch (I) {
4282
- throw new Error(`ipaddr: the address does not have IPv6 CIDR format (${I})`);
4281
+ } catch (B) {
4282
+ throw new Error(`ipaddr: the address does not have IPv6 CIDR format (${B})`);
4283
4283
  }
4284
4284
  }, N.IPv6.parse = function(f) {
4285
4285
  const y = this.parser(f);
@@ -4296,12 +4296,12 @@ var Fu = { exports: {} };
4296
4296
  }), b;
4297
4297
  throw new Error("ipaddr: string is not formatted like an IPv6 CIDR range");
4298
4298
  }, N.IPv6.parser = function(f) {
4299
- let y, A, b, O, k, I;
4299
+ let y, A, b, O, k, B;
4300
4300
  if (b = f.match(u.deprecatedTransitional))
4301
4301
  return this.parser(`::ffff:${b[1]}`);
4302
4302
  if (u.native.test(f))
4303
4303
  return d(f, 8);
4304
- if ((b = f.match(u.transitional)) && (I = b[6] || "", y = b[1], b[1].endsWith("::") || (y = y.slice(0, -1)), y = d(y + I, 6), y.parts)) {
4304
+ if ((b = f.match(u.transitional)) && (B = b[6] || "", y = b[1], b[1].endsWith("::") || (y = y.slice(0, -1)), y = d(y + B, 6), y.parts)) {
4305
4305
  for (k = [
4306
4306
  parseInt(b[2]),
4307
4307
  parseInt(b[3]),
@@ -4356,12 +4356,12 @@ var Fu = { exports: {} };
4356
4356
  const y = this.parse(f);
4357
4357
  return y.kind() === "ipv6" && y.isIPv4MappedAddress() ? y.toIPv4Address() : y;
4358
4358
  }, N.subnetMatch = function(f, y, A) {
4359
- let b, O, k, I;
4359
+ let b, O, k, B;
4360
4360
  A == null && (A = "unicast");
4361
4361
  for (O in y)
4362
4362
  if (Object.prototype.hasOwnProperty.call(y, O)) {
4363
4363
  for (k = y[O], k[0] && !(k[0] instanceof Array) && (k = [k]), b = 0; b < k.length; b++)
4364
- if (I = k[b], f.kind() === I[0].kind() && f.match.apply(f, I))
4364
+ if (B = k[b], f.kind() === B[0].kind() && f.match.apply(f, B))
4365
4365
  return O;
4366
4366
  }
4367
4367
  return A;
@@ -4416,7 +4416,7 @@ o([
4416
4416
  c({ type: h.BmpString })
4417
4417
  ], Pe.prototype, "bmpString", void 0);
4418
4418
  Pe = o([
4419
- B({ type: x.Choice })
4419
+ I({ type: x.Choice })
4420
4420
  ], Pe);
4421
4421
  let Br = class extends Pe {
4422
4422
  constructor(e = {}) {
@@ -4433,7 +4433,7 @@ o([
4433
4433
  c({ type: h.Any })
4434
4434
  ], Br.prototype, "anyValue", void 0);
4435
4435
  Br = o([
4436
- B({ type: x.Choice })
4436
+ I({ type: x.Choice })
4437
4437
  ], Br);
4438
4438
  class qn {
4439
4439
  constructor(e = {}) {
@@ -4452,7 +4452,7 @@ let Ir = $s = class extends fe {
4452
4452
  }
4453
4453
  };
4454
4454
  Ir = $s = o([
4455
- B({ type: x.Set, itemType: qn })
4455
+ I({ type: x.Set, itemType: qn })
4456
4456
  ], Ir);
4457
4457
  let Hs = Us = class extends fe {
4458
4458
  constructor(e) {
@@ -4460,7 +4460,7 @@ let Hs = Us = class extends fe {
4460
4460
  }
4461
4461
  };
4462
4462
  Hs = Us = o([
4463
- B({ type: x.Sequence, itemType: Ir })
4463
+ I({ type: x.Sequence, itemType: Ir })
4464
4464
  ], Hs);
4465
4465
  let Be = Ls = class extends Hs {
4466
4466
  constructor(e) {
@@ -4468,7 +4468,7 @@ let Be = Ls = class extends Hs {
4468
4468
  }
4469
4469
  };
4470
4470
  Be = Ls = o([
4471
- B({ type: x.Sequence })
4471
+ I({ type: x.Sequence })
4472
4472
  ], Be);
4473
4473
  const $d = {
4474
4474
  fromASN: (r) => rc.toString(Gi.fromASN(r)),
@@ -4529,7 +4529,7 @@ o([
4529
4529
  c({ type: h.ObjectIdentifier, context: 8, implicit: !0 })
4530
4530
  ], ee.prototype, "registeredID", void 0);
4531
4531
  ee = o([
4532
- B({ type: x.Choice })
4532
+ I({ type: x.Choice })
4533
4533
  ], ee);
4534
4534
  const ga = "1.3.6.1.5.5.7", Ud = `${ga}.1`, Ur = `${ga}.3`, zn = `${ga}.48`, ic = `${zn}.1`, nc = `${zn}.2`, sc = `${zn}.3`, oc = `${zn}.5`, zt = "2.5.29";
4535
4535
  var Fs;
@@ -4551,7 +4551,7 @@ let Sr = Fs = class extends fe {
4551
4551
  }
4552
4552
  };
4553
4553
  Sr = Fs = o([
4554
- B({ type: x.Sequence, itemType: mi })
4554
+ I({ type: x.Sequence, itemType: mi })
4555
4555
  ], Sr);
4556
4556
  const qs = `${zt}.35`;
4557
4557
  class va extends ne {
@@ -4595,7 +4595,7 @@ let $e = zs = class extends fe {
4595
4595
  }
4596
4596
  };
4597
4597
  $e = zs = o([
4598
- B({ type: x.Sequence, itemType: ee })
4598
+ I({ type: x.Sequence, itemType: ee })
4599
4599
  ], $e);
4600
4600
  var Gs;
4601
4601
  let ac = Gs = class extends $e {
@@ -4604,7 +4604,7 @@ let ac = Gs = class extends $e {
4604
4604
  }
4605
4605
  };
4606
4606
  ac = Gs = o([
4607
- B({ type: x.Sequence })
4607
+ I({ type: x.Sequence })
4608
4608
  ], ac);
4609
4609
  var Ws;
4610
4610
  const qu = `${zt}.32`;
@@ -4629,7 +4629,7 @@ o([
4629
4629
  c({ type: h.Utf8String })
4630
4630
  ], Ot.prototype, "utf8String", void 0);
4631
4631
  Ot = o([
4632
- B({ type: x.Choice })
4632
+ I({ type: x.Choice })
4633
4633
  ], Ot);
4634
4634
  class ma {
4635
4635
  constructor(e = {}) {
@@ -4665,7 +4665,7 @@ o([
4665
4665
  c({ type: ba })
4666
4666
  ], Ji.prototype, "userNotice", void 0);
4667
4667
  Ji = o([
4668
- B({ type: x.Choice })
4668
+ I({ type: x.Choice })
4669
4669
  ], Ji);
4670
4670
  class wa {
4671
4671
  constructor(e = {}) {
@@ -4695,7 +4695,7 @@ let Yi = Ws = class extends fe {
4695
4695
  }
4696
4696
  };
4697
4697
  Yi = Ws = o([
4698
- B({ type: x.Sequence, itemType: Gn })
4698
+ I({ type: x.Sequence, itemType: Gn })
4699
4699
  ], Yi);
4700
4700
  let Zi = class {
4701
4701
  constructor(e = 0) {
@@ -4706,12 +4706,12 @@ o([
4706
4706
  c({ type: h.Integer })
4707
4707
  ], Zi.prototype, "value", void 0);
4708
4708
  Zi = o([
4709
- B({ type: x.Choice })
4709
+ I({ type: x.Choice })
4710
4710
  ], Zi);
4711
4711
  let cc = class extends Zi {
4712
4712
  };
4713
4713
  cc = o([
4714
- B({ type: x.Choice })
4714
+ I({ type: x.Choice })
4715
4715
  ], cc);
4716
4716
  var Js;
4717
4717
  const Ys = `${zt}.31`;
@@ -4740,7 +4740,7 @@ o([
4740
4740
  c({ type: Ir, context: 1, implicit: !0 })
4741
4741
  ], ar.prototype, "nameRelativeToCRLIssuer", void 0);
4742
4742
  ar = o([
4743
- B({ type: x.Choice })
4743
+ I({ type: x.Choice })
4744
4744
  ], ar);
4745
4745
  class Lr {
4746
4746
  constructor(e = {}) {
@@ -4762,7 +4762,7 @@ let xr = Js = class extends fe {
4762
4762
  }
4763
4763
  };
4764
4764
  xr = Js = o([
4765
- B({ type: x.Sequence, itemType: Lr })
4765
+ I({ type: x.Sequence, itemType: Lr })
4766
4766
  ], xr);
4767
4767
  var Zs;
4768
4768
  let lc = Zs = class extends xr {
@@ -4771,7 +4771,7 @@ let lc = Zs = class extends xr {
4771
4771
  }
4772
4772
  };
4773
4773
  lc = Zs = o([
4774
- B({ type: x.Sequence, itemType: Lr })
4774
+ I({ type: x.Sequence, itemType: Lr })
4775
4775
  ], lc);
4776
4776
  class De {
4777
4777
  constructor(e = {}) {
@@ -4816,7 +4816,7 @@ o([
4816
4816
  c({ type: h.Enumerated })
4817
4817
  ], Qs.prototype, "reason", void 0);
4818
4818
  Qs = o([
4819
- B({ type: x.Choice })
4819
+ I({ type: x.Choice })
4820
4820
  ], Qs);
4821
4821
  var Xs;
4822
4822
  const Gu = `${zt}.37`;
@@ -4826,7 +4826,7 @@ let Qi = Xs = class extends fe {
4826
4826
  }
4827
4827
  };
4828
4828
  Qi = Xs = o([
4829
- B({ type: x.Sequence, itemType: h.ObjectIdentifier })
4829
+ I({ type: x.Sequence, itemType: h.ObjectIdentifier })
4830
4830
  ], Qi);
4831
4831
  const Ld = `${Ur}.1`, Hd = `${Ur}.2`, Fd = `${Ur}.3`, Kd = `${Ur}.4`, qd = `${Ur}.8`, zd = `${Ur}.9`;
4832
4832
  let eo = class {
@@ -4838,7 +4838,7 @@ o([
4838
4838
  c({ type: h.Integer, converter: be })
4839
4839
  ], eo.prototype, "value", void 0);
4840
4840
  eo = o([
4841
- B({ type: x.Choice })
4841
+ I({ type: x.Choice })
4842
4842
  ], eo);
4843
4843
  let to = class {
4844
4844
  constructor(e) {
@@ -4849,7 +4849,7 @@ o([
4849
4849
  c({ type: h.GeneralizedTime })
4850
4850
  ], to.prototype, "value", void 0);
4851
4851
  to = o([
4852
- B({ type: x.Choice })
4852
+ I({ type: x.Choice })
4853
4853
  ], to);
4854
4854
  var ro;
4855
4855
  let uc = ro = class extends $e {
@@ -4858,7 +4858,7 @@ let uc = ro = class extends $e {
4858
4858
  }
4859
4859
  };
4860
4860
  uc = ro = o([
4861
- B({ type: x.Sequence })
4861
+ I({ type: x.Sequence })
4862
4862
  ], uc);
4863
4863
  const Wu = `${zt}.15`;
4864
4864
  var ct;
@@ -4895,7 +4895,7 @@ let Xi = io = class extends fe {
4895
4895
  }
4896
4896
  };
4897
4897
  Xi = io = o([
4898
- B({ type: x.Sequence, itemType: Wn })
4898
+ I({ type: x.Sequence, itemType: Wn })
4899
4899
  ], Xi);
4900
4900
  class Ju {
4901
4901
  constructor(e = {}) {
@@ -4949,7 +4949,7 @@ let fc = no = class extends fe {
4949
4949
  }
4950
4950
  };
4951
4951
  fc = no = o([
4952
- B({ type: x.Sequence, itemType: Aa })
4952
+ I({ type: x.Sequence, itemType: Aa })
4953
4953
  ], fc);
4954
4954
  var so;
4955
4955
  const Zu = `${zt}.17`;
@@ -4959,7 +4959,7 @@ let oo = so = class extends $e {
4959
4959
  }
4960
4960
  };
4961
4961
  oo = so = o([
4962
- B({ type: x.Sequence })
4962
+ I({ type: x.Sequence })
4963
4963
  ], oo);
4964
4964
  let Nt = class {
4965
4965
  constructor(e = {}) {
@@ -4979,7 +4979,7 @@ let dc = ao = class extends fe {
4979
4979
  }
4980
4980
  };
4981
4981
  dc = ao = o([
4982
- B({ type: x.Sequence, itemType: Nt })
4982
+ I({ type: x.Sequence, itemType: Nt })
4983
4983
  ], dc);
4984
4984
  const Qu = `${zt}.14`;
4985
4985
  class Ht extends va {
@@ -5026,7 +5026,7 @@ let hc = co = class extends fe {
5026
5026
  }
5027
5027
  };
5028
5028
  hc = co = o([
5029
- B({ type: x.Sequence, itemType: mi })
5029
+ I({ type: x.Sequence, itemType: mi })
5030
5030
  ], hc);
5031
5031
  class D {
5032
5032
  constructor(e = {}) {
@@ -5085,7 +5085,7 @@ o([
5085
5085
  })
5086
5086
  ], Te.prototype, "generalTime", void 0);
5087
5087
  Te = o([
5088
- B({ type: x.Choice })
5088
+ I({ type: x.Choice })
5089
5089
  ], Te);
5090
5090
  class Jn {
5091
5091
  constructor(e) {
@@ -5123,7 +5123,7 @@ let cr = lo = class extends fe {
5123
5123
  }
5124
5124
  };
5125
5125
  cr = lo = o([
5126
- B({ type: x.Sequence, itemType: ut })
5126
+ I({ type: x.Sequence, itemType: ut })
5127
5127
  ], cr);
5128
5128
  var Er;
5129
5129
  (function(r) {
@@ -5267,7 +5267,7 @@ o([
5267
5267
  c({ type: Hr })
5268
5268
  ], Nr.prototype, "issuerAndSerialNumber", void 0);
5269
5269
  Nr = o([
5270
- B({ type: x.Choice })
5270
+ I({ type: x.Choice })
5271
5271
  ], Nr);
5272
5272
  var _t;
5273
5273
  (function(r) {
@@ -5276,32 +5276,32 @@ var _t;
5276
5276
  let si = class extends D {
5277
5277
  };
5278
5278
  si = o([
5279
- B({ type: x.Sequence })
5279
+ I({ type: x.Sequence })
5280
5280
  ], si);
5281
5281
  let en = class extends D {
5282
5282
  };
5283
5283
  en = o([
5284
- B({ type: x.Sequence })
5284
+ I({ type: x.Sequence })
5285
5285
  ], en);
5286
5286
  let mt = class extends D {
5287
5287
  };
5288
5288
  mt = o([
5289
- B({ type: x.Sequence })
5289
+ I({ type: x.Sequence })
5290
5290
  ], mt);
5291
5291
  let tn = class extends D {
5292
5292
  };
5293
5293
  tn = o([
5294
- B({ type: x.Sequence })
5294
+ I({ type: x.Sequence })
5295
5295
  ], tn);
5296
5296
  let pc = class extends D {
5297
5297
  };
5298
5298
  pc = o([
5299
- B({ type: x.Sequence })
5299
+ I({ type: x.Sequence })
5300
5300
  ], pc);
5301
5301
  let uo = class extends D {
5302
5302
  };
5303
5303
  uo = o([
5304
- B({ type: x.Sequence })
5304
+ I({ type: x.Sequence })
5305
5305
  ], uo);
5306
5306
  let Fr = class {
5307
5307
  constructor(e = {}) {
@@ -5347,17 +5347,17 @@ let rn = fo = class extends fe {
5347
5347
  }
5348
5348
  };
5349
5349
  rn = fo = o([
5350
- B({ type: x.Set, itemType: wt })
5350
+ I({ type: x.Set, itemType: wt })
5351
5351
  ], rn);
5352
5352
  let yc = class extends Te {
5353
5353
  };
5354
5354
  yc = o([
5355
- B({ type: x.Choice })
5355
+ I({ type: x.Choice })
5356
5356
  ], yc);
5357
5357
  let gc = class extends wt {
5358
5358
  };
5359
5359
  gc = o([
5360
- B({ type: x.Sequence })
5360
+ I({ type: x.Sequence })
5361
5361
  ], gc);
5362
5362
  class ka {
5363
5363
  constructor(e = {}) {
@@ -5380,7 +5380,7 @@ let nn = ho = class extends fe {
5380
5380
  }
5381
5381
  };
5382
5382
  nn = ho = o([
5383
- B({ type: x.Sequence, itemType: h.ObjectIdentifier })
5383
+ I({ type: x.Sequence, itemType: h.ObjectIdentifier })
5384
5384
  ], nn);
5385
5385
  class Zn {
5386
5386
  constructor(e = {}) {
@@ -5460,7 +5460,7 @@ o([
5460
5460
  c({ type: Qn, context: 0, implicit: !0 })
5461
5461
  ], _r.prototype, "v2Form", void 0);
5462
5462
  _r = o([
5463
- B({ type: x.Choice })
5463
+ I({ type: x.Choice })
5464
5464
  ], _r);
5465
5465
  class Xn {
5466
5466
  constructor(e = {}) {
@@ -5623,7 +5623,7 @@ o([
5623
5623
  c({ type: rs, context: 2, implicit: !0 })
5624
5624
  ], Tr.prototype, "targetCert", void 0);
5625
5625
  Tr = o([
5626
- B({ type: x.Choice })
5626
+ I({ type: x.Choice })
5627
5627
  ], Tr);
5628
5628
  let mo = vo = class extends fe {
5629
5629
  constructor(e) {
@@ -5631,7 +5631,7 @@ let mo = vo = class extends fe {
5631
5631
  }
5632
5632
  };
5633
5633
  mo = vo = o([
5634
- B({ type: x.Sequence, itemType: Tr })
5634
+ I({ type: x.Sequence, itemType: Tr })
5635
5635
  ], mo);
5636
5636
  var bo;
5637
5637
  let vc = bo = class extends fe {
@@ -5640,7 +5640,7 @@ let vc = bo = class extends fe {
5640
5640
  }
5641
5641
  };
5642
5642
  vc = bo = o([
5643
- B({ type: x.Sequence, itemType: mo })
5643
+ I({ type: x.Sequence, itemType: mo })
5644
5644
  ], vc);
5645
5645
  class sf {
5646
5646
  constructor(e = {}) {
@@ -5694,7 +5694,7 @@ o([
5694
5694
  c({ type: Ia, context: 3, implicit: !0 })
5695
5695
  ], jr.prototype, "other", void 0);
5696
5696
  jr = o([
5697
- B({ type: x.Choice })
5697
+ I({ type: x.Choice })
5698
5698
  ], jr);
5699
5699
  let on = wo = class extends fe {
5700
5700
  constructor(e) {
@@ -5702,7 +5702,7 @@ let on = wo = class extends fe {
5702
5702
  }
5703
5703
  };
5704
5704
  on = wo = o([
5705
- B({ type: x.Set, itemType: jr })
5705
+ I({ type: x.Set, itemType: jr })
5706
5706
  ], on);
5707
5707
  class Kr {
5708
5708
  constructor(e = {}) {
@@ -5727,7 +5727,7 @@ o([
5727
5727
  c({ type: h.Any })
5728
5728
  ], oi.prototype, "any", void 0);
5729
5729
  oi = o([
5730
- B({ type: x.Choice })
5730
+ I({ type: x.Choice })
5731
5731
  ], oi);
5732
5732
  class is {
5733
5733
  constructor(e = {}) {
@@ -5752,7 +5752,7 @@ o([
5752
5752
  c({ type: ne, converter: Ad, context: 0, implicit: !0, optional: !0, repeated: "sequence" })
5753
5753
  ], ai.prototype, "constructedValue", void 0);
5754
5754
  ai = o([
5755
- B({ type: x.Choice })
5755
+ I({ type: x.Choice })
5756
5756
  ], ai);
5757
5757
  class wi {
5758
5758
  constructor(e = {}) {
@@ -5806,7 +5806,7 @@ o([
5806
5806
  c({ type: Hr, optional: !0 })
5807
5807
  ], Pr.prototype, "issuerAndSerialNumber", void 0);
5808
5808
  Pr = o([
5809
- B({ type: x.Choice })
5809
+ I({ type: x.Choice })
5810
5810
  ], Pr);
5811
5811
  class Ea {
5812
5812
  constructor(e = {}) {
@@ -5825,7 +5825,7 @@ let an = Ao = class extends fe {
5825
5825
  }
5826
5826
  };
5827
5827
  an = Ao = o([
5828
- B({ type: x.Sequence, itemType: Ea })
5828
+ I({ type: x.Sequence, itemType: Ea })
5829
5829
  ], an);
5830
5830
  class Oa {
5831
5831
  constructor(e = {}) {
@@ -5853,7 +5853,7 @@ o([
5853
5853
  c({ type: Hr, optional: !0 })
5854
5854
  ], lr.prototype, "issuerAndSerialNumber", void 0);
5855
5855
  lr = o([
5856
- B({ type: x.Choice })
5856
+ I({ type: x.Choice })
5857
5857
  ], lr);
5858
5858
  class qr {
5859
5859
  constructor(e = {}) {
@@ -5887,7 +5887,7 @@ o([
5887
5887
  c({ type: Hr })
5888
5888
  ], Rr.prototype, "issuerAndSerialNumber", void 0);
5889
5889
  Rr = o([
5890
- B({ type: x.Choice })
5890
+ I({ type: x.Choice })
5891
5891
  ], Rr);
5892
5892
  class Ai {
5893
5893
  constructor(e = {}) {
@@ -5986,7 +5986,7 @@ o([
5986
5986
  c({ type: Na, context: 4, implicit: !0, optional: !0 })
5987
5987
  ], Kt.prototype, "ori", void 0);
5988
5988
  Kt = o([
5989
- B({ type: x.Choice })
5989
+ I({ type: x.Choice })
5990
5990
  ], Kt);
5991
5991
  var So;
5992
5992
  let cn = So = class extends fe {
@@ -5995,7 +5995,7 @@ let cn = So = class extends fe {
5995
5995
  }
5996
5996
  };
5997
5997
  cn = So = o([
5998
- B({ type: x.Set, itemType: Kt })
5998
+ I({ type: x.Set, itemType: Kt })
5999
5999
  ], cn);
6000
6000
  var ko;
6001
6001
  class os {
@@ -6018,7 +6018,7 @@ o([
6018
6018
  c({ type: os, context: 1, implicit: !0 })
6019
6019
  ], ln.prototype, "other", void 0);
6020
6020
  ln = o([
6021
- B({ type: x.Choice })
6021
+ I({ type: x.Choice })
6022
6022
  ], ln);
6023
6023
  let un = ko = class extends fe {
6024
6024
  constructor(e) {
@@ -6026,7 +6026,7 @@ let un = ko = class extends fe {
6026
6026
  }
6027
6027
  };
6028
6028
  un = ko = o([
6029
- B({ type: x.Set, itemType: ln })
6029
+ I({ type: x.Set, itemType: ln })
6030
6030
  ], un);
6031
6031
  class _a {
6032
6032
  constructor(e = {}) {
@@ -6046,7 +6046,7 @@ let Co = xo = class extends fe {
6046
6046
  }
6047
6047
  };
6048
6048
  Co = xo = o([
6049
- B({ type: x.Set, itemType: Fr })
6049
+ I({ type: x.Set, itemType: Fr })
6050
6050
  ], Co);
6051
6051
  class Ci {
6052
6052
  constructor(e = {}) {
@@ -6076,7 +6076,7 @@ let fn = Bo = class extends fe {
6076
6076
  }
6077
6077
  };
6078
6078
  fn = Bo = o([
6079
- B({ type: x.Set, itemType: si })
6079
+ I({ type: x.Set, itemType: si })
6080
6080
  ], fn);
6081
6081
  class zr {
6082
6082
  constructor(e = {}) {
@@ -6120,7 +6120,7 @@ o([
6120
6120
  c({ type: h.Any })
6121
6121
  ], li.prototype, "parameters", void 0);
6122
6122
  li = o([
6123
- B({ type: x.Sequence })
6123
+ I({ type: x.Sequence })
6124
6124
  ], li);
6125
6125
  class Qd extends ne {
6126
6126
  }
@@ -6139,7 +6139,7 @@ o([
6139
6139
  c({ type: h.BitString, optional: !0 })
6140
6140
  ], Vr.prototype, "seed", void 0);
6141
6141
  Vr = o([
6142
- B({ type: x.Sequence })
6142
+ I({ type: x.Sequence })
6143
6143
  ], Vr);
6144
6144
  var Io;
6145
6145
  (function(r) {
@@ -6169,7 +6169,7 @@ o([
6169
6169
  c({ type: h.Integer, optional: !0 })
6170
6170
  ], Tt.prototype, "cofactor", void 0);
6171
6171
  Tt = o([
6172
- B({ type: x.Sequence })
6172
+ I({ type: x.Sequence })
6173
6173
  ], Tt);
6174
6174
  let qt = class {
6175
6175
  constructor(e = {}) {
@@ -6186,7 +6186,7 @@ o([
6186
6186
  c({ type: Tt })
6187
6187
  ], qt.prototype, "specifiedCurve", void 0);
6188
6188
  qt = o([
6189
- B({ type: x.Choice })
6189
+ I({ type: x.Choice })
6190
6190
  ], qt);
6191
6191
  class as {
6192
6192
  constructor(e = {}) {
@@ -6323,7 +6323,7 @@ let No = Oo = class extends fe {
6323
6323
  }
6324
6324
  };
6325
6325
  No = Oo = o([
6326
- B({ type: x.Sequence, itemType: fs })
6326
+ I({ type: x.Sequence, itemType: fs })
6327
6327
  ], No);
6328
6328
  class At {
6329
6329
  constructor(e = {}) {
@@ -6922,7 +6922,7 @@ let kc = Po = class extends fe {
6922
6922
  }
6923
6923
  };
6924
6924
  kc = Po = o([
6925
- B({ type: x.Sequence, itemType: hs })
6925
+ I({ type: x.Sequence, itemType: hs })
6926
6926
  ], kc);
6927
6927
  var Ro;
6928
6928
  let xc = Ro = class extends fe {
@@ -6931,7 +6931,7 @@ let xc = Ro = class extends fe {
6931
6931
  }
6932
6932
  };
6933
6933
  xc = Ro = o([
6934
- B({ type: x.Sequence, itemType: Kr })
6934
+ I({ type: x.Sequence, itemType: Kr })
6935
6935
  ], xc);
6936
6936
  class yf {
6937
6937
  constructor(e = {}) {
@@ -6980,7 +6980,7 @@ let Mo = Vo = class extends fe {
6980
6980
  }
6981
6981
  };
6982
6982
  Mo = Vo = o([
6983
- B({ type: x.Sequence, itemType: Nt })
6983
+ I({ type: x.Sequence, itemType: Nt })
6984
6984
  ], Mo);
6985
6985
  class Ii {
6986
6986
  constructor(e = {}) {
@@ -7002,12 +7002,12 @@ o([
7002
7002
  let Cc = class extends Ii {
7003
7003
  };
7004
7004
  Cc = o([
7005
- B({ type: x.Sequence })
7005
+ I({ type: x.Sequence })
7006
7006
  ], Cc);
7007
7007
  let Bc = class extends ps {
7008
7008
  };
7009
7009
  Bc = o([
7010
- B({ type: x.Sequence })
7010
+ I({ type: x.Sequence })
7011
7011
  ], Bc);
7012
7012
  class bf {
7013
7013
  constructor(e = {}) {
@@ -7069,7 +7069,7 @@ let Ic = $o = class extends fe {
7069
7069
  }
7070
7070
  };
7071
7071
  Ic = $o = o([
7072
- B({ type: x.Sequence, itemType: gs })
7072
+ I({ type: x.Sequence, itemType: gs })
7073
7073
  ], Ic);
7074
7074
  var Uo, Lo, Ho;
7075
7075
  const wf = "1.2.840.113549.1.9", Af = `${wf}.7`, $a = `${wf}.14`;
@@ -7085,22 +7085,22 @@ o([
7085
7085
  c({ type: h.IA5String })
7086
7086
  ], An.prototype, "ia5String", void 0);
7087
7087
  An = o([
7088
- B({ type: x.Choice })
7088
+ I({ type: x.Choice })
7089
7089
  ], An);
7090
7090
  let Ec = class extends Kr {
7091
7091
  };
7092
7092
  Ec = o([
7093
- B({ type: x.Sequence })
7093
+ I({ type: x.Sequence })
7094
7094
  ], Ec);
7095
7095
  let Oc = class extends ys {
7096
7096
  };
7097
7097
  Oc = o([
7098
- B({ type: x.Sequence })
7098
+ I({ type: x.Sequence })
7099
7099
  ], Oc);
7100
7100
  let Nc = class extends ps {
7101
7101
  };
7102
7102
  Nc = o([
7103
- B({ type: x.Sequence })
7103
+ I({ type: x.Sequence })
7104
7104
  ], Nc);
7105
7105
  let Fo = class {
7106
7106
  constructor(e = "") {
@@ -7114,17 +7114,17 @@ o([
7114
7114
  c({ type: h.IA5String })
7115
7115
  ], Fo.prototype, "value", void 0);
7116
7116
  Fo = o([
7117
- B({ type: x.Choice })
7117
+ I({ type: x.Choice })
7118
7118
  ], Fo);
7119
7119
  let _c = class extends An {
7120
7120
  };
7121
7121
  _c = o([
7122
- B({ type: x.Choice })
7122
+ I({ type: x.Choice })
7123
7123
  ], _c);
7124
7124
  let Tc = class extends Pe {
7125
7125
  };
7126
7126
  Tc = o([
7127
- B({ type: x.Choice })
7127
+ I({ type: x.Choice })
7128
7128
  ], Tc);
7129
7129
  let Ko = class {
7130
7130
  constructor(e = /* @__PURE__ */ new Date()) {
@@ -7135,12 +7135,12 @@ o([
7135
7135
  c({ type: h.GeneralizedTime })
7136
7136
  ], Ko.prototype, "value", void 0);
7137
7137
  Ko = o([
7138
- B({ type: x.Choice })
7138
+ I({ type: x.Choice })
7139
7139
  ], Ko);
7140
7140
  let jc = class extends Pe {
7141
7141
  };
7142
7142
  jc = o([
7143
- B({ type: x.Choice })
7143
+ I({ type: x.Choice })
7144
7144
  ], jc);
7145
7145
  let qo = class {
7146
7146
  constructor(e = "M") {
@@ -7154,7 +7154,7 @@ o([
7154
7154
  c({ type: h.PrintableString })
7155
7155
  ], qo.prototype, "value", void 0);
7156
7156
  qo = o([
7157
- B({ type: x.Choice })
7157
+ I({ type: x.Choice })
7158
7158
  ], qo);
7159
7159
  let Sn = class {
7160
7160
  constructor(e = "") {
@@ -7168,17 +7168,17 @@ o([
7168
7168
  c({ type: h.PrintableString })
7169
7169
  ], Sn.prototype, "value", void 0);
7170
7170
  Sn = o([
7171
- B({ type: x.Choice })
7171
+ I({ type: x.Choice })
7172
7172
  ], Sn);
7173
7173
  let Pc = class extends Sn {
7174
7174
  };
7175
7175
  Pc = o([
7176
- B({ type: x.Choice })
7176
+ I({ type: x.Choice })
7177
7177
  ], Pc);
7178
7178
  let Rc = class extends Pe {
7179
7179
  };
7180
7180
  Rc = o([
7181
- B({ type: x.Choice })
7181
+ I({ type: x.Choice })
7182
7182
  ], Rc);
7183
7183
  let zo = class {
7184
7184
  constructor(e = "") {
@@ -7192,12 +7192,12 @@ o([
7192
7192
  c({ type: h.ObjectIdentifier })
7193
7193
  ], zo.prototype, "value", void 0);
7194
7194
  zo = o([
7195
- B({ type: x.Choice })
7195
+ I({ type: x.Choice })
7196
7196
  ], zo);
7197
7197
  let Vc = class extends Te {
7198
7198
  };
7199
7199
  Vc = o([
7200
- B({ type: x.Choice })
7200
+ I({ type: x.Choice })
7201
7201
  ], Vc);
7202
7202
  let Go = class {
7203
7203
  constructor(e = 0) {
@@ -7211,17 +7211,17 @@ o([
7211
7211
  c({ type: h.Integer })
7212
7212
  ], Go.prototype, "value", void 0);
7213
7213
  Go = o([
7214
- B({ type: x.Choice })
7214
+ I({ type: x.Choice })
7215
7215
  ], Go);
7216
7216
  let Dc = class extends wt {
7217
7217
  };
7218
7218
  Dc = o([
7219
- B({ type: x.Sequence })
7219
+ I({ type: x.Sequence })
7220
7220
  ], Dc);
7221
7221
  let kn = class extends Pe {
7222
7222
  };
7223
7223
  kn = o([
7224
- B({ type: x.Choice })
7224
+ I({ type: x.Choice })
7225
7225
  ], kn);
7226
7226
  let Mc = Uo = class extends cr {
7227
7227
  constructor(e) {
@@ -7229,7 +7229,7 @@ let Mc = Uo = class extends cr {
7229
7229
  }
7230
7230
  };
7231
7231
  Mc = Uo = o([
7232
- B({ type: x.Sequence })
7232
+ I({ type: x.Sequence })
7233
7233
  ], Mc);
7234
7234
  let $c = Lo = class extends fe {
7235
7235
  constructor(e) {
@@ -7237,7 +7237,7 @@ let $c = Lo = class extends fe {
7237
7237
  }
7238
7238
  };
7239
7239
  $c = Lo = o([
7240
- B({ type: x.Set, itemType: Fr })
7240
+ I({ type: x.Set, itemType: Fr })
7241
7241
  ], $c);
7242
7242
  let Wo = class {
7243
7243
  constructor(e = "") {
@@ -7251,12 +7251,12 @@ o([
7251
7251
  c({ type: h.BmpString })
7252
7252
  ], Wo.prototype, "value", void 0);
7253
7253
  Wo = o([
7254
- B({ type: x.Choice })
7254
+ I({ type: x.Choice })
7255
7255
  ], Wo);
7256
7256
  let Jo = class extends D {
7257
7257
  };
7258
7258
  Jo = o([
7259
- B({ type: x.Sequence })
7259
+ I({ type: x.Sequence })
7260
7260
  ], Jo);
7261
7261
  let Uc = Ho = class extends fe {
7262
7262
  constructor(e) {
@@ -7264,7 +7264,7 @@ let Uc = Ho = class extends fe {
7264
7264
  }
7265
7265
  };
7266
7266
  Uc = Ho = o([
7267
- B({ type: x.Sequence, itemType: Jo })
7267
+ I({ type: x.Sequence, itemType: Jo })
7268
7268
  ], Uc);
7269
7269
  var Yo;
7270
7270
  let xn = Yo = class extends fe {
@@ -7273,7 +7273,7 @@ let xn = Yo = class extends fe {
7273
7273
  }
7274
7274
  };
7275
7275
  xn = Yo = o([
7276
- B({ type: x.Sequence, itemType: Nt })
7276
+ I({ type: x.Sequence, itemType: Nt })
7277
7277
  ], xn);
7278
7278
  class Gr {
7279
7279
  constructor(e = {}) {
@@ -7597,7 +7597,7 @@ class hr {
7597
7597
  v[ae.NAME] = l, i.push(...this.serializeObj(v, t));
7598
7598
  else if (u instanceof ae)
7599
7599
  u[ae.NAME] = l, i.push(...this.serializeObj(u, t));
7600
- else if (j.isBufferSource(u))
7600
+ else if (P.isBufferSource(u))
7601
7601
  l ? (i.push(`${n}${d}`), i.push(...this.serializeBufferSource(u, t + 1))) : i.push(...this.serializeBufferSource(u, t));
7602
7602
  else if ("toTextObject" in u) {
7603
7603
  const v = u.toTextObject();
@@ -7608,7 +7608,7 @@ class hr {
7608
7608
  return i;
7609
7609
  }
7610
7610
  static serializeBufferSource(e, t = 0) {
7611
- const i = this.pad(t), n = j.toUint8Array(e), s = [];
7611
+ const i = this.pad(t), n = P.toUint8Array(e), s = [];
7612
7612
  for (let a = 0; a < n.length; ) {
7613
7613
  const l = [];
7614
7614
  for (let u = 0; u < 16 && a < n.length; u++) {
@@ -7633,7 +7633,7 @@ class Wt {
7633
7633
  this.rawData = R.serialize(t), this.onInit(t);
7634
7634
  } else {
7635
7635
  const t = R.parse(e[0], e[1]);
7636
- this.rawData = j.toArrayBuffer(e[0]), this.onInit(t);
7636
+ this.rawData = P.toArrayBuffer(e[0]), this.onInit(t);
7637
7637
  }
7638
7638
  }
7639
7639
  equal(e) {
@@ -7670,10 +7670,10 @@ Wt.NAME = "ASN";
7670
7670
  class it extends Wt {
7671
7671
  constructor(...e) {
7672
7672
  let t;
7673
- j.isBufferSource(e[0]) ? t = j.toArrayBuffer(e[0]) : t = R.serialize(new ut({
7673
+ P.isBufferSource(e[0]) ? t = P.toArrayBuffer(e[0]) : t = R.serialize(new ut({
7674
7674
  extnID: e[0],
7675
7675
  critical: e[1],
7676
- extnValue: new ne(j.toArrayBuffer(e[2]))
7676
+ extnValue: new ne(P.toArrayBuffer(e[2]))
7677
7677
  })), super(t, ut);
7678
7678
  }
7679
7679
  onInit(e) {
@@ -7800,7 +7800,7 @@ class Ft {
7800
7800
  const n = t[i];
7801
7801
  this.extraNames.register(i, n);
7802
7802
  }
7803
- typeof e == "string" ? this.asn = this.fromString(e) : e instanceof Be ? this.asn = e : j.isBufferSource(e) ? this.asn = R.parse(e, Be) : this.asn = this.fromJSON(e);
7803
+ typeof e == "string" ? this.asn = this.fromString(e) : e instanceof Be ? this.asn = e : P.isBufferSource(e) ? this.asn = R.parse(e, Be) : this.asn = this.fromJSON(e);
7804
7804
  }
7805
7805
  getField(e) {
7806
7806
  const t = this.extraNames.findId(e) || qe.findId(e), i = [];
@@ -7959,7 +7959,7 @@ class Ut extends Wt {
7959
7959
  default:
7960
7960
  throw new Error("Cannot create GeneralName. Unsupported type of the name");
7961
7961
  }
7962
- else j.isBufferSource(e[0]) ? t = R.parse(e[0], ee) : t = e[0];
7962
+ else P.isBufferSource(e[0]) ? t = R.parse(e[0], ee) : t = e[0];
7963
7963
  super(t);
7964
7964
  }
7965
7965
  onInit(e) {
@@ -8032,7 +8032,7 @@ class di extends Wt {
8032
8032
  i.push(s);
8033
8033
  }
8034
8034
  t = new $e(i);
8035
- } else if (j.isBufferSource(e))
8035
+ } else if (P.isBufferSource(e))
8036
8036
  t = R.parse(e, $e);
8037
8037
  else
8038
8038
  throw new Error("Cannot initialize GeneralNames. Incorrect incoming arguments");
@@ -8111,11 +8111,11 @@ class Je {
8111
8111
  if (Array.isArray(e)) {
8112
8112
  const i = new Array();
8113
8113
  return t ? e.forEach((n) => {
8114
- if (!j.isBufferSource(n))
8114
+ if (!P.isBufferSource(n))
8115
8115
  throw new TypeError("Cannot encode array of BufferSource in PEM format. Not all items of the array are BufferSource");
8116
8116
  i.push(this.encodeStruct({
8117
8117
  type: t,
8118
- rawData: j.toArrayBuffer(n)
8118
+ rawData: P.toArrayBuffer(n)
8119
8119
  }));
8120
8120
  }) : e.forEach((n) => {
8121
8121
  if (!("type" in n))
@@ -8128,7 +8128,7 @@ class Je {
8128
8128
  throw new Error("Required argument 'tag' is missed");
8129
8129
  return this.encodeStruct({
8130
8130
  type: t,
8131
- rawData: j.toArrayBuffer(e)
8131
+ rawData: P.toArrayBuffer(e)
8132
8132
  });
8133
8133
  }
8134
8134
  }
@@ -8157,7 +8157,7 @@ Je.PublicKeyTag = "PUBLIC KEY";
8157
8157
  Je.PrivateKeyTag = "PRIVATE KEY";
8158
8158
  class jt extends Wt {
8159
8159
  static isAsnEncoded(e) {
8160
- return j.isBufferSource(e) || typeof e == "string";
8160
+ return P.isBufferSource(e) || typeof e == "string";
8161
8161
  }
8162
8162
  static toArrayBuffer(e) {
8163
8163
  if (typeof e == "string") {
@@ -8172,7 +8172,7 @@ class jt extends Wt {
8172
8172
  throw new TypeError("Unsupported format of 'raw' argument. Must be one of DER, PEM, HEX, Base64, or Base4Url");
8173
8173
  } else {
8174
8174
  const t = F.ToBinary(e);
8175
- return Je.isPem(t) ? Je.decode(t)[0] : F.isHex(t) ? F.FromHex(t) : F.isBase64(t) ? F.FromBase64(t) : F.isBase64Url(t) ? F.FromBase64Url(t) : j.toArrayBuffer(e);
8175
+ return Je.isPem(t) ? Je.decode(t)[0] : F.isHex(t) ? F.FromHex(t) : F.isBase64(t) ? F.FromBase64(t) : F.isBase64Url(t) ? F.FromBase64Url(t) : P.toArrayBuffer(e);
8176
8176
  }
8177
8177
  }
8178
8178
  constructor(...e) {
@@ -8199,7 +8199,7 @@ class vt extends jt {
8199
8199
  } else {
8200
8200
  if (e.publicKey)
8201
8201
  return e.publicKey;
8202
- if (j.isBufferSource(e))
8202
+ if (P.isBufferSource(e))
8203
8203
  return new vt(e);
8204
8204
  throw new TypeError("Unsupported PublicKeyType");
8205
8205
  }
@@ -8218,8 +8218,8 @@ class vt extends jt {
8218
8218
  const t = Ue.resolve(Dr), i = this.algorithm = t.toWebAlgorithm(e.algorithm);
8219
8219
  switch (e.algorithm.algorithm) {
8220
8220
  case ur: {
8221
- const n = R.parse(e.subjectPublicKey, Va), s = j.toUint8Array(n.modulus);
8222
- i.publicExponent = j.toUint8Array(n.publicExponent), i.modulusLength = (s[0] ? s : s.slice(1)).byteLength << 3;
8221
+ const n = R.parse(e.subjectPublicKey, Va), s = P.toUint8Array(n.modulus);
8222
+ i.publicExponent = P.toUint8Array(n.publicExponent), i.modulusLength = (s[0] ? s : s.slice(1)).byteLength << 3;
8223
8223
  break;
8224
8224
  }
8225
8225
  }
@@ -8262,7 +8262,7 @@ class pi extends it {
8262
8262
  return new pi(F.ToHex(s), t);
8263
8263
  }
8264
8264
  constructor(...e) {
8265
- if (j.isBufferSource(e[0]))
8265
+ if (P.isBufferSource(e[0]))
8266
8266
  super(e[0]);
8267
8267
  else if (typeof e[0] == "string") {
8268
8268
  const t = new Xt({ keyIdentifier: new va(F.FromHex(e[0])) });
@@ -8291,7 +8291,7 @@ class pi extends it {
8291
8291
  pi.NAME = "Authority Key Identifier";
8292
8292
  class If extends it {
8293
8293
  constructor(...e) {
8294
- if (j.isBufferSource(e[0])) {
8294
+ if (P.isBufferSource(e[0])) {
8295
8295
  super(e[0]);
8296
8296
  const t = R.parse(this.value, Wi);
8297
8297
  this.ca = t.cA, this.pathLength = t.pathLenConstraint;
@@ -8315,7 +8315,7 @@ var wl;
8315
8315
  })(wl || (wl = {}));
8316
8316
  class Ef extends it {
8317
8317
  constructor(...e) {
8318
- if (j.isBufferSource(e[0])) {
8318
+ if (P.isBufferSource(e[0])) {
8319
8319
  super(e[0]);
8320
8320
  const t = R.parse(this.value, Qi);
8321
8321
  this.usages = t.map((i) => i);
@@ -8336,7 +8336,7 @@ var Zo;
8336
8336
  })(Zo || (Zo = {}));
8337
8337
  class Ua extends it {
8338
8338
  constructor(...e) {
8339
- if (j.isBufferSource(e[0])) {
8339
+ if (P.isBufferSource(e[0])) {
8340
8340
  super(e[0]);
8341
8341
  const t = R.parse(this.value, xs);
8342
8342
  this.usages = t.toNumber();
@@ -8357,7 +8357,7 @@ class vs extends it {
8357
8357
  return new vs(F.ToHex(s), t);
8358
8358
  }
8359
8359
  constructor(...e) {
8360
- if (j.isBufferSource(e[0])) {
8360
+ if (P.isBufferSource(e[0])) {
8361
8361
  super(e[0]);
8362
8362
  const t = R.parse(this.value, Ht);
8363
8363
  this.keyId = F.ToHex(t);
@@ -8374,7 +8374,7 @@ class vs extends it {
8374
8374
  vs.NAME = "Subject Key Identifier";
8375
8375
  class La extends it {
8376
8376
  constructor(...e) {
8377
- j.isBufferSource(e[0]) ? super(e[0]) : super(Zu, e[1], new di(e[0] || []).rawData);
8377
+ P.isBufferSource(e[0]) ? super(e[0]) : super(Zu, e[1], new di(e[0] || []).rawData);
8378
8378
  }
8379
8379
  onInit(e) {
8380
8380
  super.onInit(e);
@@ -8402,7 +8402,7 @@ nt.items = /* @__PURE__ */ new Map();
8402
8402
  class Of extends it {
8403
8403
  constructor(...e) {
8404
8404
  var t;
8405
- if (j.isBufferSource(e[0])) {
8405
+ if (P.isBufferSource(e[0])) {
8406
8406
  super(e[0]);
8407
8407
  const i = R.parse(this.value, Yi);
8408
8408
  this.policies = i.map((n) => n.policyIdentifier);
@@ -8423,7 +8423,7 @@ nt.register(qu, Of);
8423
8423
  class Nf extends it {
8424
8424
  constructor(...e) {
8425
8425
  var t;
8426
- if (j.isBufferSource(e[0]))
8426
+ if (P.isBufferSource(e[0]))
8427
8427
  super(e[0]);
8428
8428
  else if (Array.isArray(e[0]) && typeof e[0][0] == "string") {
8429
8429
  const n = e[0].map((a) => new Lr({
@@ -8456,7 +8456,7 @@ Nf.NAME = "CRL Distribution Points";
8456
8456
  class _f extends it {
8457
8457
  constructor(...e) {
8458
8458
  var t, i, n, s;
8459
- if (j.isBufferSource(e[0]))
8459
+ if (P.isBufferSource(e[0]))
8460
8460
  super(e[0]);
8461
8461
  else if (e[0] instanceof Sr) {
8462
8462
  const a = new Sr(e[0]);
@@ -8515,10 +8515,10 @@ function ji(r, e, t, i) {
8515
8515
  class Wr extends Wt {
8516
8516
  constructor(...e) {
8517
8517
  let t;
8518
- if (j.isBufferSource(e[0]))
8519
- t = j.toArrayBuffer(e[0]);
8518
+ if (P.isBufferSource(e[0]))
8519
+ t = P.toArrayBuffer(e[0]);
8520
8520
  else {
8521
- const i = e[0], n = Array.isArray(e[1]) ? e[1].map((s) => j.toArrayBuffer(s)) : [];
8521
+ const i = e[0], n = Array.isArray(e[1]) ? e[1].map((s) => P.toArrayBuffer(s)) : [];
8522
8522
  t = R.serialize(new Nt({ type: i, values: n }));
8523
8523
  }
8524
8524
  super(t, Nt);
@@ -8539,7 +8539,7 @@ Wr.NAME = "Attribute";
8539
8539
  class Tf extends Wr {
8540
8540
  constructor(...e) {
8541
8541
  var t;
8542
- if (j.isBufferSource(e[0]))
8542
+ if (P.isBufferSource(e[0]))
8543
8543
  super(e[0]);
8544
8544
  else {
8545
8545
  const i = new kn({
@@ -8564,7 +8564,7 @@ Tf.NAME = "Challenge Password";
8564
8564
  class Ha extends Wr {
8565
8565
  constructor(...e) {
8566
8566
  var t;
8567
- if (j.isBufferSource(e[0]))
8567
+ if (P.isBufferSource(e[0]))
8568
8568
  super(e[0]);
8569
8569
  else {
8570
8570
  const i = e[0], n = new cr();
@@ -8601,10 +8601,10 @@ ms.items = /* @__PURE__ */ new Map();
8601
8601
  const bs = "crypto.signatureFormatter";
8602
8602
  class $h {
8603
8603
  toAsnSignature(e, t) {
8604
- return j.toArrayBuffer(t);
8604
+ return P.toArrayBuffer(t);
8605
8605
  }
8606
8606
  toWebSignature(e, t) {
8607
- return j.toArrayBuffer(t);
8607
+ return P.toArrayBuffer(t);
8608
8608
  }
8609
8609
  }
8610
8610
  var Li;
@@ -8725,11 +8725,11 @@ Xo = o([
8725
8725
  Ue.registerSingleton(Oi, Xo);
8726
8726
  class et {
8727
8727
  addPadding(e, t) {
8728
- const i = j.toUint8Array(t), n = new Uint8Array(e);
8728
+ const i = P.toUint8Array(t), n = new Uint8Array(e);
8729
8729
  return n.set(i, e - i.length), n;
8730
8730
  }
8731
8731
  removePadding(e, t = !1) {
8732
- let i = j.toUint8Array(e);
8732
+ let i = P.toUint8Array(e);
8733
8733
  for (let n = 0; n < i.length; n++)
8734
8734
  if (i[n]) {
8735
8735
  i = i.slice(n);
@@ -8743,7 +8743,7 @@ class et {
8743
8743
  }
8744
8744
  toAsnSignature(e, t) {
8745
8745
  if (e.name === "ECDSA") {
8746
- const i = e.namedCurve, n = et.namedCurveSize.get(i) || et.defaultNamedCurveSize, s = new dn(), a = j.toUint8Array(t);
8746
+ const i = e.namedCurve, n = et.namedCurveSize.get(i) || et.defaultNamedCurveSize, s = new dn(), a = P.toUint8Array(t);
8747
8747
  return s.r = this.removePadding(a.slice(0, n), !0), s.s = this.removePadding(a.slice(n, n + n), !0), R.serialize(s);
8748
8748
  }
8749
8749
  return null;
@@ -8911,7 +8911,7 @@ class jf extends jt {
8911
8911
  i = { ...s.publicKey.algorithm, ...this.signatureAlgorithm }, n = await s.publicKey.export(i, ["verify"], t);
8912
8912
  else if (s instanceof vt)
8913
8913
  i = { ...s.algorithm, ...this.signatureAlgorithm }, n = await s.export(i, ["verify"], t);
8914
- else if (j.isBufferSource(s)) {
8914
+ else if (P.isBufferSource(s)) {
8915
8915
  const d = new vt(s);
8916
8916
  i = { ...d.algorithm, ...this.signatureAlgorithm }, n = await d.export(i, ["verify"], t);
8917
8917
  } else
@@ -9335,7 +9335,7 @@ const ft = {
9335
9335
  f.value = "";
9336
9336
  }, k = () => {
9337
9337
  d.value++;
9338
- }, I = ge(null), Z = ge(!1), ue = (_, le) => {
9338
+ }, B = ge(null), Z = ge(!1), ue = (_, le) => {
9339
9339
  const pe = _.id;
9340
9340
  if (!le(pe)) {
9341
9341
  t("copy:error", {
@@ -9366,7 +9366,7 @@ const ft = {
9366
9366
  }, C = async (_) => {
9367
9367
  var pe;
9368
9368
  await ((pe = i.canRetrieve) == null ? void 0 : pe.call(i, _)) && l.push(i.config.getViewRoute(_.id));
9369
- }, P = (_) => ({
9369
+ }, T = (_) => ({
9370
9370
  label: n("certificates.actions.view"),
9371
9371
  to: i.config.getViewRoute(_)
9372
9372
  }), ke = (_) => ({
@@ -9398,12 +9398,12 @@ const ft = {
9398
9398
  Hi(b, (_) => {
9399
9399
  var le, pe, _e, kt;
9400
9400
  if (Array.isArray((le = _ == null ? void 0 : _.response) == null ? void 0 : le.data) && (z.value = _.response.data.length > 0), _.status === Ps.NoRecords ? Z.value = !0 : Z.value = !1, _.status === Ps.Error) {
9401
- I.value = {
9401
+ B.value = {
9402
9402
  title: n("certificates.errors.general")
9403
- }, (kt = (_e = (pe = _.error) == null ? void 0 : pe.response) == null ? void 0 : _e.data) != null && kt.message && (I.value.message = _.error.response.data.message), t("error", _.error);
9403
+ }, (kt = (_e = (pe = _.error) == null ? void 0 : pe.response) == null ? void 0 : _e.data) != null && kt.message && (B.value.message = _.error.response.data.message), t("error", _.error);
9404
9404
  return;
9405
9405
  }
9406
- br.value = {}, I.value = null;
9406
+ br.value = {}, B.value = null;
9407
9407
  });
9408
9408
  const G = ge({
9409
9409
  ctaPath: i.config.createRoute,
@@ -9421,7 +9421,7 @@ const ft = {
9421
9421
  "disable-sorting": v.value,
9422
9422
  "empty-state-options": G.value,
9423
9423
  "enable-entity-actions": "",
9424
- "error-message": I.value,
9424
+ "error-message": B.value,
9425
9425
  fetcher: w(A),
9426
9426
  "fetcher-cache-key": d.value,
9427
9427
  "hide-toolbar": Z.value,
@@ -9550,7 +9550,7 @@ const ft = {
9550
9550
  $(Ae, {
9551
9551
  "data-testid": "action-entity-view",
9552
9552
  "has-divider": "",
9553
- item: P(Y.id)
9553
+ item: T(Y.id)
9554
9554
  }, null, 8, ["item"])
9555
9555
  ]),
9556
9556
  _: 2
@@ -9778,8 +9778,8 @@ const ft = {
9778
9778
  snis: [""],
9779
9779
  tags: ""
9780
9780
  }), N = oe(() => (v.value === Zt.Create || JSON.stringify(p.fields) !== JSON.stringify(q)) && !!p.fields.cert && !!p.fields.key), f = (U) => {
9781
- var C, P;
9782
- p.fields.cert = (U == null ? void 0 : U.cert) || "", p.fields.key = (U == null ? void 0 : U.key) || "", p.fields.certAlt = (U == null ? void 0 : U.cert_alt) || "", p.fields.keyAlt = (U == null ? void 0 : U.key_alt) || "", p.fields.snis = (C = U == null ? void 0 : U.snis) != null && C.length ? U.snis : [""], p.fields.tags = ((P = U == null ? void 0 : U.tags) == null ? void 0 : P.join(", ")) || "", Object.assign(q, p.fields);
9781
+ var C, T;
9782
+ p.fields.cert = (U == null ? void 0 : U.cert) || "", p.fields.key = (U == null ? void 0 : U.key) || "", p.fields.certAlt = (U == null ? void 0 : U.cert_alt) || "", p.fields.keyAlt = (U == null ? void 0 : U.key_alt) || "", p.fields.snis = (C = U == null ? void 0 : U.snis) != null && C.length ? U.snis : [""], p.fields.tags = ((T = U == null ? void 0 : U.tags) == null ? void 0 : T.join(", ")) || "", Object.assign(q, p.fields);
9783
9783
  }, y = () => {
9784
9784
  n.push(i.config.cancelRoute);
9785
9785
  }, A = () => {
@@ -9787,14 +9787,14 @@ const ft = {
9787
9787
  }, b = (U) => {
9788
9788
  p.fields.snis.splice(U, 1);
9789
9789
  }, O = oe(() => {
9790
- var C, P;
9790
+ var C, T;
9791
9791
  let U = `${i.config.apiBaseUrl}${ti.form[i.config.app].validate}`;
9792
- return i.config.app === "konnect" ? U = U.replace(/{controlPlaneId}/gi, ((C = i.config) == null ? void 0 : C.controlPlaneId) || "") : i.config.app === "kongManager" && (U = U.replace(/\/{workspace}/gi, (P = i.config) != null && P.workspace ? `/${i.config.workspace}` : "")), U = U.replace(/{id}/gi, i.certificateId), U;
9792
+ return i.config.app === "konnect" ? U = U.replace(/{controlPlaneId}/gi, ((C = i.config) == null ? void 0 : C.controlPlaneId) || "") : i.config.app === "kongManager" && (U = U.replace(/\/{workspace}/gi, (T = i.config) != null && T.workspace ? `/${i.config.workspace}` : "")), U = U.replace(/{id}/gi, i.certificateId), U;
9793
9793
  }), k = oe(() => {
9794
- var C, P;
9794
+ var C, T;
9795
9795
  let U = `${i.config.apiBaseUrl}${ti.form[i.config.app][v.value]}`;
9796
- return i.config.app === "konnect" ? U = U.replace(/{controlPlaneId}/gi, ((C = i.config) == null ? void 0 : C.controlPlaneId) || "") : i.config.app === "kongManager" && (U = U.replace(/\/{workspace}/gi, (P = i.config) != null && P.workspace ? `/${i.config.workspace}` : "")), U = U.replace(/{id}/gi, i.certificateId), U;
9797
- }), I = oe(() => {
9796
+ return i.config.app === "konnect" ? U = U.replace(/{controlPlaneId}/gi, ((C = i.config) == null ? void 0 : C.controlPlaneId) || "") : i.config.app === "kongManager" && (U = U.replace(/\/{workspace}/gi, (T = i.config) != null && T.workspace ? `/${i.config.workspace}` : "")), U = U.replace(/{id}/gi, i.certificateId), U;
9797
+ }), B = oe(() => {
9798
9798
  var U, C;
9799
9799
  return {
9800
9800
  cert: p.fields.cert,
@@ -9802,14 +9802,14 @@ const ft = {
9802
9802
  cert_alt: p.fields.certAlt || null,
9803
9803
  key_alt: p.fields.keyAlt || null,
9804
9804
  ...i.showSnisField ? { snis: p.fields.snis.filter(Boolean) } : {},
9805
- tags: (C = (U = p.fields.tags.split(",")) == null ? void 0 : U.map((P) => String(P || "").trim())) == null ? void 0 : C.filter((P) => P !== "")
9805
+ tags: (C = (U = p.fields.tags.split(",")) == null ? void 0 : U.map((T) => String(T || "").trim())) == null ? void 0 : C.filter((T) => T !== "")
9806
9806
  };
9807
9807
  }), Z = async () => {
9808
- var U, C, P, ke, ce, Re, de, we, st;
9808
+ var U, C, T, ke, ce, Re, de, we, st;
9809
9809
  try {
9810
9810
  p.isReadonly = !0;
9811
9811
  let re;
9812
- await u.post(O.value, I.value), v.value === "create" ? re = await u.post(k.value, I.value) : v.value === "edit" && (re = ((U = i.config) == null ? void 0 : U.app) === "konnect" ? await u.put(k.value, I.value) : await u.patch(k.value, I.value)), p.fields.cert = ((C = re == null ? void 0 : re.data) == null ? void 0 : C.cert) || "", p.fields.key = ((P = re == null ? void 0 : re.data) == null ? void 0 : P.key) || "", p.fields.certAlt = ((ke = re == null ? void 0 : re.data) == null ? void 0 : ke.cert_alt) || "", p.fields.keyAlt = ((ce = re == null ? void 0 : re.data) == null ? void 0 : ce.key_alt) || "", p.fields.snis = (de = (Re = re == null ? void 0 : re.data) == null ? void 0 : Re.snis) != null && de.length ? re.data.snis : [""], p.fields.tags = ((st = (we = re == null ? void 0 : re.data) == null ? void 0 : we.tags) == null ? void 0 : st.join(", ")) || "", Object.assign(q, p.fields), t("update", re == null ? void 0 : re.data);
9812
+ await u.post(O.value, B.value), v.value === "create" ? re = await u.post(k.value, B.value) : v.value === "edit" && (re = ((U = i.config) == null ? void 0 : U.app) === "konnect" ? await u.put(k.value, B.value) : await u.patch(k.value, B.value)), p.fields.cert = ((C = re == null ? void 0 : re.data) == null ? void 0 : C.cert) || "", p.fields.key = ((T = re == null ? void 0 : re.data) == null ? void 0 : T.key) || "", p.fields.certAlt = ((ke = re == null ? void 0 : re.data) == null ? void 0 : ke.cert_alt) || "", p.fields.keyAlt = ((ce = re == null ? void 0 : re.data) == null ? void 0 : ce.key_alt) || "", p.fields.snis = (de = (Re = re == null ? void 0 : re.data) == null ? void 0 : Re.snis) != null && de.length ? re.data.snis : [""], p.fields.tags = ((st = (we = re == null ? void 0 : re.data) == null ? void 0 : we.tags) == null ? void 0 : st.join(", ")) || "", Object.assign(q, p.fields), t("update", re == null ? void 0 : re.data);
9813
9813
  } catch (re) {
9814
9814
  p.errorMessage = l(re), t("error", re);
9815
9815
  } finally {
@@ -9817,7 +9817,7 @@ const ft = {
9817
9817
  }
9818
9818
  };
9819
9819
  return (U, C) => {
9820
- const P = me("KTextArea"), ke = me("KInput");
9820
+ const T = me("KTextArea"), ke = me("KInput");
9821
9821
  return J(), se("div", cp, [
9822
9822
  $(w(Vl), {
9823
9823
  "can-submit": N.value,
@@ -9826,7 +9826,7 @@ const ft = {
9826
9826
  "entity-type": w(In).Certificate,
9827
9827
  "error-message": p.errorMessage,
9828
9828
  "fetch-url": d.value,
9829
- "form-fields": I.value,
9829
+ "form-fields": B.value,
9830
9830
  "is-readonly": p.isReadonly,
9831
9831
  onCancel: y,
9832
9832
  "onFetch:error": C[7] || (C[7] = (ce) => U.$emit("error", ce)),
@@ -9840,7 +9840,7 @@ const ft = {
9840
9840
  title: w(a)("certificates.form.sections.ssl.title")
9841
9841
  }, {
9842
9842
  default: E(() => [
9843
- $(P, {
9843
+ $(T, {
9844
9844
  modelValue: p.fields.cert,
9845
9845
  "onUpdate:modelValue": C[0] || (C[0] = (ce) => p.fields.cert = ce),
9846
9846
  modelModifiers: { trim: !0 },
@@ -9865,7 +9865,7 @@ const ft = {
9865
9865
  ]),
9866
9866
  _: 1
9867
9867
  }, 8, ["modelValue", "label", "readonly"]),
9868
- $(P, {
9868
+ $(T, {
9869
9869
  modelValue: p.fields.key,
9870
9870
  "onUpdate:modelValue": C[1] || (C[1] = (ce) => p.fields.key = ce),
9871
9871
  modelModifiers: { trim: !0 },
@@ -9890,7 +9890,7 @@ const ft = {
9890
9890
  ]),
9891
9891
  _: 1
9892
9892
  }, 8, ["modelValue", "label", "readonly"]),
9893
- $(P, {
9893
+ $(T, {
9894
9894
  modelValue: p.fields.certAlt,
9895
9895
  "onUpdate:modelValue": C[2] || (C[2] = (ce) => p.fields.certAlt = ce),
9896
9896
  modelModifiers: { trim: !0 },
@@ -9914,7 +9914,7 @@ const ft = {
9914
9914
  ]),
9915
9915
  _: 1
9916
9916
  }, 8, ["modelValue", "label", "readonly"]),
9917
- $(P, {
9917
+ $(T, {
9918
9918
  modelValue: p.fields.keyAlt,
9919
9919
  "onUpdate:modelValue": C[3] || (C[3] = (ce) => p.fields.keyAlt = ce),
9920
9920
  modelModifiers: { trim: !0 },
@@ -10031,13 +10031,13 @@ const ft = {
10031
10031
  var k;
10032
10032
  return ((k = q.value) == null ? void 0 : k.schemaIssuer) || "";
10033
10033
  }), f = oe(() => {
10034
- var k, I;
10035
- return (k = q.value) != null && k.schemaExpiry ? a((I = q.value) == null ? void 0 : I.schemaExpiry) : "";
10034
+ var k, B;
10035
+ return (k = q.value) != null && k.schemaExpiry ? a((B = q.value) == null ? void 0 : B.schemaExpiry) : "";
10036
10036
  }), y = oe(() => {
10037
10037
  var k;
10038
10038
  return ((k = q.value) == null ? void 0 : k.schemaKeyUsages) || [];
10039
- }), A = (k, I) => {
10040
- const Z = u("rowValue", I);
10039
+ }), A = (k, B) => {
10040
+ const Z = u("rowValue", B);
10041
10041
  if (k === "expiry")
10042
10042
  return f.value;
10043
10043
  if (k === "key_usages")
@@ -10088,7 +10088,7 @@ const ft = {
10088
10088
  tooltip: s("ca-certificates.form.fields.tags.tooltip")
10089
10089
  }
10090
10090
  });
10091
- return (k, I) => {
10091
+ return (k, B) => {
10092
10092
  const Z = me("KCodeBlock"), ue = me("KLabel"), U = me("KBadge");
10093
10093
  return J(), se("div", up, [
10094
10094
  $(w($l), {
@@ -10098,9 +10098,9 @@ const ft = {
10098
10098
  "entity-type": w(In).CaCertificate,
10099
10099
  "fetch-url": v.value,
10100
10100
  "hide-title": r.hideTitle,
10101
- "onFetch:error": I[0] || (I[0] = (C) => k.$emit("fetch:error", C)),
10101
+ "onFetch:error": B[0] || (B[0] = (C) => k.$emit("fetch:error", C)),
10102
10102
  "onFetch:success": b,
10103
- onLoading: I[1] || (I[1] = (C) => k.$emit("loading", C))
10103
+ onLoading: B[1] || (B[1] = (C) => k.$emit("loading", C))
10104
10104
  }, {
10105
10105
  cert: E((C) => [
10106
10106
  w(u)("rowValue", C) ? (J(), Ne(Z, {
@@ -10113,21 +10113,21 @@ const ft = {
10113
10113
  ]),
10114
10114
  "metadata-label": E(() => [
10115
10115
  $(ue, { class: "metadata-label" }, {
10116
- default: E(() => [
10116
+ default: E(() => B[2] || (B[2] = [
10117
10117
  ve(" Metadata ")
10118
- ]),
10118
+ ])),
10119
10119
  _: 1
10120
10120
  })
10121
10121
  ]),
10122
10122
  metadata: E((C) => [
10123
- (J(!0), se(rr, null, ir(Object.keys(w(u)("rowValue", C)).filter((P) => !t.includes(P)), (P) => (J(), Ne(w(Ul), {
10124
- key: P,
10125
- "data-testid": `ca-cert-metadata-${P}`,
10123
+ (J(!0), se(rr, null, ir(Object.keys(w(u)("rowValue", C)).filter((T) => !t.includes(T)), (T) => (J(), Ne(w(Ul), {
10124
+ key: T,
10125
+ "data-testid": `ca-cert-metadata-${T}`,
10126
10126
  item: {
10127
- key: P,
10128
- label: w(l)(P),
10129
- value: A(P, C),
10130
- type: P === "key_usages" ? w(xt).BadgeTag : w(xt).Text
10127
+ key: T,
10128
+ label: w(l)(T),
10129
+ value: A(T, C),
10130
+ type: T === "key_usages" ? w(xt).BadgeTag : w(xt).Text
10131
10131
  }
10132
10132
  }, null, 8, ["data-testid", "item"]))), 128))
10133
10133
  ]),
@@ -10139,10 +10139,10 @@ const ft = {
10139
10139
  ]),
10140
10140
  key_usages: E(() => [
10141
10141
  y.value.length ? lt("", !0) : (J(), se("div", fp, X("–"))),
10142
- (J(!0), se(rr, null, ir(y.value, (C, P) => (J(), Ne(U, {
10143
- key: `key_usages-badge-tag-${P}`,
10142
+ (J(!0), se(rr, null, ir(y.value, (C, T) => (J(), Ne(U, {
10143
+ key: `key_usages-badge-tag-${T}`,
10144
10144
  class: "config-badge",
10145
- "data-testid": `key_usages-badge-tag-${P}`,
10145
+ "data-testid": `key_usages-badge-tag-${T}`,
10146
10146
  tooltip: C,
10147
10147
  "truncation-tooltip": ""
10148
10148
  }, {
@@ -10226,7 +10226,7 @@ const ft = {
10226
10226
  f.value = "";
10227
10227
  }, k = () => {
10228
10228
  d.value++;
10229
- }, I = ge(null), Z = (G, he) => {
10229
+ }, B = ge(null), Z = (G, he) => {
10230
10230
  const _ = G.id;
10231
10231
  if (!he(_)) {
10232
10232
  t("copy:error", {
@@ -10260,7 +10260,7 @@ const ft = {
10260
10260
  }, C = (G) => ({
10261
10261
  label: n("ca-certificates.actions.view"),
10262
10262
  to: i.config.getViewRoute(G)
10263
- }), P = (G) => ({
10263
+ }), T = (G) => ({
10264
10264
  label: n("ca-certificates.actions.edit"),
10265
10265
  to: i.config.getEditRoute(G)
10266
10266
  }), ke = ge(void 0), ce = ge(!1), Re = ge(!1), de = ge(""), we = Nl(i.config, N.value), { certificateDataCache: st, getCertificateData: re } = ft.useCertificate(), br = (G) => {
@@ -10283,12 +10283,12 @@ const ft = {
10283
10283
  Hi(b, (G) => {
10284
10284
  var he, _, le, pe;
10285
10285
  if (Array.isArray((he = G == null ? void 0 : G.response) == null ? void 0 : he.data) && (Jt.value = G.response.data.length > 0), G.status === Ps.Error) {
10286
- I.value = {
10286
+ B.value = {
10287
10287
  title: n("ca-certificates.errors.general")
10288
- }, (pe = (le = (_ = G.error) == null ? void 0 : _.response) == null ? void 0 : le.data) != null && pe.message && (I.value.message = G.error.response.data.message), t("error", G.error);
10288
+ }, (pe = (le = (_ = G.error) == null ? void 0 : _.response) == null ? void 0 : le.data) != null && pe.message && (B.value.message = G.error.response.data.message), t("error", G.error);
10289
10289
  return;
10290
10290
  }
10291
- st.value = {}, I.value = null;
10291
+ st.value = {}, B.value = null;
10292
10292
  });
10293
10293
  const Dt = ge({
10294
10294
  ctaPath: i.config.createRoute,
@@ -10306,7 +10306,7 @@ const ft = {
10306
10306
  "disable-sorting": v.value,
10307
10307
  "empty-state-options": Dt.value,
10308
10308
  "enable-entity-actions": "",
10309
- "error-message": I.value,
10309
+ "error-message": B.value,
10310
10310
  fetcher: w(A),
10311
10311
  "fetcher-cache-key": d.value,
10312
10312
  "pagination-type": "offset",
@@ -10431,7 +10431,7 @@ const ft = {
10431
10431
  default: E(() => [
10432
10432
  $(_e, {
10433
10433
  "data-testid": "action-entity-edit",
10434
- item: P(Q.id)
10434
+ item: T(Q.id)
10435
10435
  }, null, 8, ["item"])
10436
10436
  ]),
10437
10437
  _: 2
@@ -10514,39 +10514,39 @@ const ft = {
10514
10514
  cert: "",
10515
10515
  certDigest: "",
10516
10516
  tags: ""
10517
- }), q = oe(() => (d.value === Zt.Create || JSON.stringify(v.fields) !== JSON.stringify(p)) && !!v.fields.cert), N = (I) => {
10517
+ }), q = oe(() => (d.value === Zt.Create || JSON.stringify(v.fields) !== JSON.stringify(p)) && !!v.fields.cert), N = (B) => {
10518
10518
  var Z;
10519
- v.fields.cert = (I == null ? void 0 : I.cert) || "", v.fields.certDigest = (I == null ? void 0 : I.cert_digest) || "", v.fields.tags = ((Z = I == null ? void 0 : I.tags) == null ? void 0 : Z.join(", ")) || "", Object.assign(p, v.fields);
10519
+ v.fields.cert = (B == null ? void 0 : B.cert) || "", v.fields.certDigest = (B == null ? void 0 : B.cert_digest) || "", v.fields.tags = ((Z = B == null ? void 0 : B.tags) == null ? void 0 : Z.join(", ")) || "", Object.assign(p, v.fields);
10520
10520
  }, f = () => {
10521
10521
  n.push(i.config.cancelRoute);
10522
10522
  }, y = oe(() => {
10523
10523
  var Z, ue;
10524
- let I = `${i.config.apiBaseUrl}${ri.form[i.config.app].validate}`;
10525
- return i.config.app === "konnect" ? I = I.replace(/{controlPlaneId}/gi, ((Z = i.config) == null ? void 0 : Z.controlPlaneId) || "") : i.config.app === "kongManager" && (I = I.replace(/\/{workspace}/gi, (ue = i.config) != null && ue.workspace ? `/${i.config.workspace}` : "")), I = I.replace(/{id}/gi, i.certificateId), I;
10524
+ let B = `${i.config.apiBaseUrl}${ri.form[i.config.app].validate}`;
10525
+ return i.config.app === "konnect" ? B = B.replace(/{controlPlaneId}/gi, ((Z = i.config) == null ? void 0 : Z.controlPlaneId) || "") : i.config.app === "kongManager" && (B = B.replace(/\/{workspace}/gi, (ue = i.config) != null && ue.workspace ? `/${i.config.workspace}` : "")), B = B.replace(/{id}/gi, i.certificateId), B;
10526
10526
  }), A = oe(() => {
10527
10527
  var Z, ue;
10528
- let I = `${i.config.apiBaseUrl}${ri.form[i.config.app][d.value]}`;
10529
- return i.config.app === "konnect" ? I = I.replace(/{controlPlaneId}/gi, ((Z = i.config) == null ? void 0 : Z.controlPlaneId) || "") : i.config.app === "kongManager" && (I = I.replace(/\/{workspace}/gi, (ue = i.config) != null && ue.workspace ? `/${i.config.workspace}` : "")), I = I.replace(/{id}/gi, i.certificateId), I;
10528
+ let B = `${i.config.apiBaseUrl}${ri.form[i.config.app][d.value]}`;
10529
+ return i.config.app === "konnect" ? B = B.replace(/{controlPlaneId}/gi, ((Z = i.config) == null ? void 0 : Z.controlPlaneId) || "") : i.config.app === "kongManager" && (B = B.replace(/\/{workspace}/gi, (ue = i.config) != null && ue.workspace ? `/${i.config.workspace}` : "")), B = B.replace(/{id}/gi, i.certificateId), B;
10530
10530
  }), b = oe(() => {
10531
- var I, Z;
10531
+ var B, Z;
10532
10532
  return {
10533
10533
  cert: v.fields.cert,
10534
10534
  cert_digest: v.fields.certDigest || null,
10535
- tags: (Z = (I = v.fields.tags.split(",")) == null ? void 0 : I.map((ue) => String(ue || "").trim())) == null ? void 0 : Z.filter((ue) => ue !== "")
10535
+ tags: (Z = (B = v.fields.tags.split(",")) == null ? void 0 : B.map((ue) => String(ue || "").trim())) == null ? void 0 : Z.filter((ue) => ue !== "")
10536
10536
  };
10537
10537
  }), O = async () => {
10538
- var I, Z, ue, U, C;
10538
+ var B, Z, ue, U, C;
10539
10539
  try {
10540
10540
  v.isReadonly = !0;
10541
- let P;
10542
- await l.post(y.value, b.value), d.value === "create" ? P = await l.post(A.value, b.value) : d.value === "edit" && (P = ((I = i.config) == null ? void 0 : I.app) === "konnect" ? await l.put(A.value, b.value) : await l.patch(A.value, b.value)), v.fields.cert = ((Z = P == null ? void 0 : P.data) == null ? void 0 : Z.cert) || "", v.fields.certDigest = ((ue = P == null ? void 0 : P.data) == null ? void 0 : ue.cert_digest) || "", v.fields.tags = ((C = (U = P == null ? void 0 : P.data) == null ? void 0 : U.tags) == null ? void 0 : C.join(", ")) || "", Object.assign(p, v.fields), t("update", P == null ? void 0 : P.data);
10543
- } catch (P) {
10544
- v.errorMessage = a(P), t("error", P);
10541
+ let T;
10542
+ await l.post(y.value, b.value), d.value === "create" ? T = await l.post(A.value, b.value) : d.value === "edit" && (T = ((B = i.config) == null ? void 0 : B.app) === "konnect" ? await l.put(A.value, b.value) : await l.patch(A.value, b.value)), v.fields.cert = ((Z = T == null ? void 0 : T.data) == null ? void 0 : Z.cert) || "", v.fields.certDigest = ((ue = T == null ? void 0 : T.data) == null ? void 0 : ue.cert_digest) || "", v.fields.tags = ((C = (U = T == null ? void 0 : T.data) == null ? void 0 : U.tags) == null ? void 0 : C.join(", ")) || "", Object.assign(p, v.fields), t("update", T == null ? void 0 : T.data);
10543
+ } catch (T) {
10544
+ v.errorMessage = a(T), t("error", T);
10545
10545
  } finally {
10546
10546
  v.isReadonly = !1;
10547
10547
  }
10548
10548
  };
10549
- return (I, Z) => {
10549
+ return (B, Z) => {
10550
10550
  const ue = me("KTextArea"), U = me("KInput");
10551
10551
  return J(), se("div", wp, [
10552
10552
  $(w(Vl), {
@@ -10559,9 +10559,9 @@ const ft = {
10559
10559
  "form-fields": b.value,
10560
10560
  "is-readonly": v.isReadonly,
10561
10561
  onCancel: f,
10562
- "onFetch:error": Z[3] || (Z[3] = (C) => I.$emit("error", C)),
10562
+ "onFetch:error": Z[3] || (Z[3] = (C) => B.$emit("error", C)),
10563
10563
  "onFetch:success": N,
10564
- onLoading: Z[4] || (Z[4] = (C) => I.$emit("loading", C)),
10564
+ onLoading: Z[4] || (Z[4] = (C) => B.$emit("loading", C)),
10565
10565
  onSubmit: O
10566
10566
  }, {
10567
10567
  default: E(() => [
@@ -10715,12 +10715,12 @@ const ft = {
10715
10715
  }
10716
10716
  }), N = (C) => {
10717
10717
  p.value = C, t("fetch:success", C);
10718
- }, f = (C, P) => {
10719
- const ke = u("rowValue", P);
10718
+ }, f = (C, T) => {
10719
+ const ke = u("rowValue", T);
10720
10720
  if (C === "expiry")
10721
10721
  return A.value;
10722
10722
  if (C === "key_usages")
10723
- return I.value;
10723
+ return B.value;
10724
10724
  if (C === "san_names")
10725
10725
  return O.value;
10726
10726
  if (ke)
@@ -10729,8 +10729,8 @@ const ft = {
10729
10729
  if (p.value)
10730
10730
  return d(p.value);
10731
10731
  }), A = oe(() => {
10732
- var C, P;
10733
- return (C = y.value) != null && C.schemaExpiry ? s((P = y.value) == null ? void 0 : P.schemaExpiry) : "";
10732
+ var C, T;
10733
+ return (C = y.value) != null && C.schemaExpiry ? s((T = y.value) == null ? void 0 : T.schemaExpiry) : "";
10734
10734
  }), b = oe(() => {
10735
10735
  var C;
10736
10736
  return ((C = y.value) == null ? void 0 : C.schemaIssuer) || "";
@@ -10740,20 +10740,20 @@ const ft = {
10740
10740
  }), k = oe(() => {
10741
10741
  var C;
10742
10742
  return ((C = y.value) == null ? void 0 : C.schemaSubject) || "";
10743
- }), I = oe(() => {
10743
+ }), B = oe(() => {
10744
10744
  var C;
10745
10745
  return ((C = y.value) == null ? void 0 : C.schemaKeyUsages) || [];
10746
10746
  }), Z = oe(() => {
10747
- var C, P;
10748
- return ((P = (C = p == null ? void 0 : p.value) == null ? void 0 : C.snis) == null ? void 0 : P.length) > 0;
10747
+ var C, T;
10748
+ return ((T = (C = p == null ? void 0 : p.value) == null ? void 0 : C.snis) == null ? void 0 : T.length) > 0;
10749
10749
  }), ue = oe(() => {
10750
10750
  var C;
10751
10751
  return !!((C = p == null ? void 0 : p.value) != null && C.cert_alt);
10752
10752
  }), U = (C) => {
10753
- var P, ke;
10754
- return C === "san_names" ? n("certificates.list.table_headers.san") : ((ke = (P = q.value) == null ? void 0 : P[C]) == null ? void 0 : ke.label) || l(C);
10753
+ var T, ke;
10754
+ return C === "san_names" ? n("certificates.list.table_headers.san") : ((ke = (T = q.value) == null ? void 0 : T[C]) == null ? void 0 : ke.label) || l(C);
10755
10755
  };
10756
- return (C, P) => {
10756
+ return (C, T) => {
10757
10757
  const ke = me("KCodeBlock"), ce = me("KLabel"), Re = me("KBadge");
10758
10758
  return J(), se("div", Sp, [
10759
10759
  $(w($l), {
@@ -10763,9 +10763,9 @@ const ft = {
10763
10763
  "entity-type": w(In).Certificate,
10764
10764
  "fetch-url": v.value,
10765
10765
  "hide-title": r.hideTitle,
10766
- "onFetch:error": P[0] || (P[0] = (de) => C.$emit("fetch:error", de)),
10766
+ "onFetch:error": T[0] || (T[0] = (de) => C.$emit("fetch:error", de)),
10767
10767
  "onFetch:success": N,
10768
- onLoading: P[1] || (P[1] = (de) => C.$emit("loading", de))
10768
+ onLoading: T[1] || (T[1] = (de) => C.$emit("loading", de))
10769
10769
  }, Kf({
10770
10770
  "cert-label-tooltip": E(() => [
10771
10771
  $(w(a), {
@@ -10800,9 +10800,9 @@ const ft = {
10800
10800
  ]),
10801
10801
  "metadata-label": E(() => [
10802
10802
  $(ce, { class: "metadata-label" }, {
10803
- default: E(() => [
10803
+ default: E(() => T[2] || (T[2] = [
10804
10804
  ve(" Metadata ")
10805
- ]),
10805
+ ])),
10806
10806
  _: 1
10807
10807
  })
10808
10808
  ]),
@@ -10852,8 +10852,8 @@ const ft = {
10852
10852
  })
10853
10853
  ]),
10854
10854
  key_usages: E(() => [
10855
- I.value.length ? lt("", !0) : (J(), se("div", kp, X("–"))),
10856
- (J(!0), se(rr, null, ir(I.value, (de, we) => (J(), Ne(Re, {
10855
+ B.value.length ? lt("", !0) : (J(), se("div", kp, X("–"))),
10856
+ (J(!0), se(rr, null, ir(B.value, (de, we) => (J(), Ne(Re, {
10857
10857
  key: `key_usages-badge-tag-${we}`,
10858
10858
  class: "config-badge",
10859
10859
  "data-testid": `key_usages-badge-tag-${we}`,
@@ -10871,14 +10871,14 @@ const ft = {
10871
10871
  Z.value ? void 0 : {
10872
10872
  name: "snis",
10873
10873
  fn: E(() => [
10874
- ve(" – ")
10874
+ T[3] || (T[3] = ve(" – "))
10875
10875
  ]),
10876
10876
  key: "0"
10877
10877
  },
10878
10878
  ue.value ? {
10879
10879
  name: "cert_alt",
10880
10880
  fn: E((de) => [
10881
- ve(" > "),
10881
+ T[4] || (T[4] = ve(" > ")),
10882
10882
  w(u)("rowValue", de) ? (J(), Ne(ke, {
10883
10883
  key: 0,
10884
10884
  id: `certificate-${r.config.entityId}-cert-alt-codeblock`,