@kong-ui-public/entities-certificates 2.5.0 → 2.5.1

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.
@@ -53,89 +53,89 @@ var jl;
53
53
  } : function() {
54
54
  return Ko({});
55
55
  },
56
- has: u ? function(m, C) {
57
- return i.call(m, C);
58
- } : function(m, C) {
59
- return C in m;
56
+ has: u ? function(b, C) {
57
+ return i.call(b, C);
58
+ } : function(b, C) {
59
+ return C in b;
60
60
  },
61
- get: u ? function(m, C) {
62
- return i.call(m, C) ? m[C] : void 0;
63
- } : function(m, C) {
64
- return m[C];
61
+ get: u ? function(b, C) {
62
+ return i.call(b, C) ? b[C] : void 0;
63
+ } : function(b, C) {
64
+ return b[C];
65
65
  }
66
- }, d = Object.getPrototypeOf(Function), E = typeof Map == "function" && typeof Map.prototype.entries == "function" ? Map : Vp(), w = typeof Set == "function" && typeof Set.prototype.entries == "function" ? Set : $p(), p = typeof WeakMap == "function" ? WeakMap : Rp(), y = n ? Symbol.for("@reflect-metadata:registry") : void 0, v = jp(), b = Mp(v);
67
- function B(m, C, T, R) {
66
+ }, d = Object.getPrototypeOf(Function), E = typeof Map == "function" && typeof Map.prototype.entries == "function" ? Map : Vp(), m = typeof Set == "function" && typeof Set.prototype.entries == "function" ? Set : $p(), p = typeof WeakMap == "function" ? WeakMap : Rp(), y = n ? Symbol.for("@reflect-metadata:registry") : void 0, v = jp(), w = Mp(v);
67
+ function B(b, C, T, R) {
68
68
  if (ae(T)) {
69
- if (!Me(m))
69
+ if (!Me(b))
70
70
  throw new TypeError();
71
71
  if (!Pe(C))
72
72
  throw new TypeError();
73
- return $(m, C);
73
+ return $(b, C);
74
74
  } else {
75
- if (!Me(m))
75
+ if (!Me(b))
76
76
  throw new TypeError();
77
77
  if (!Y(C))
78
78
  throw new TypeError();
79
79
  if (!Y(R) && !ae(R) && !le(R))
80
80
  throw new TypeError();
81
- return le(R) && (R = void 0), T = ce(T), ne(m, C, T, R);
81
+ return le(R) && (R = void 0), T = ce(T), ne(b, C, T, R);
82
82
  }
83
83
  }
84
84
  t("decorate", B);
85
- function O(m, C) {
85
+ function O(b, C) {
86
86
  function T(R, oe) {
87
87
  if (!Y(R))
88
88
  throw new TypeError();
89
89
  if (!ae(oe) && !Pr(oe))
90
90
  throw new TypeError();
91
- Tr(m, C, R, oe);
91
+ Tr(b, C, R, oe);
92
92
  }
93
93
  return T;
94
94
  }
95
95
  t("metadata", O);
96
- function A(m, C, T, R) {
96
+ function A(b, C, T, R) {
97
97
  if (!Y(T))
98
98
  throw new TypeError();
99
- return ae(R) || (R = ce(R)), Tr(m, C, T, R);
99
+ return ae(R) || (R = ce(R)), Tr(b, C, T, R);
100
100
  }
101
101
  t("defineMetadata", A);
102
- function k(m, C, T) {
102
+ function k(b, C, T) {
103
103
  if (!Y(C))
104
104
  throw new TypeError();
105
- return ae(T) || (T = ce(T)), he(m, C, T);
105
+ return ae(T) || (T = ce(T)), he(b, C, T);
106
106
  }
107
107
  t("hasMetadata", k);
108
- function x(m, C, T) {
108
+ function x(b, C, T) {
109
109
  if (!Y(C))
110
110
  throw new TypeError();
111
- return ae(T) || (T = ce(T)), Ue(m, C, T);
111
+ return ae(T) || (T = ce(T)), Ue(b, C, T);
112
112
  }
113
113
  t("hasOwnMetadata", x);
114
- function D(m, C, T) {
114
+ function D(b, C, T) {
115
115
  if (!Y(C))
116
116
  throw new TypeError();
117
- return ae(T) || (T = ce(T)), je(m, C, T);
117
+ return ae(T) || (T = ce(T)), je(b, C, T);
118
118
  }
119
119
  t("getMetadata", D);
120
- function j(m, C, T) {
120
+ function j(b, C, T) {
121
121
  if (!Y(C))
122
122
  throw new TypeError();
123
- return ae(T) || (T = ce(T)), Le(m, C, T);
123
+ return ae(T) || (T = ce(T)), Le(b, C, T);
124
124
  }
125
125
  t("getOwnMetadata", j);
126
- function N(m, C) {
127
- if (!Y(m))
126
+ function N(b, C) {
127
+ if (!Y(b))
128
128
  throw new TypeError();
129
- return ae(C) || (C = ce(C)), jr(m, C);
129
+ return ae(C) || (C = ce(C)), jr(b, C);
130
130
  }
131
131
  t("getMetadataKeys", N);
132
- function ue(m, C) {
133
- if (!Y(m))
132
+ function ue(b, C) {
133
+ if (!Y(b))
134
134
  throw new TypeError();
135
- return ae(C) || (C = ce(C)), ur(m, C);
135
+ return ae(C) || (C = ce(C)), ur(b, C);
136
136
  }
137
137
  t("getOwnMetadataKeys", ue);
138
- function J(m, C, T) {
138
+ function J(b, C, T) {
139
139
  if (!Y(C))
140
140
  throw new TypeError();
141
141
  if (ae(T) || (T = ce(T)), !Y(C))
@@ -147,12 +147,12 @@ var jl;
147
147
  /*Create*/
148
148
  !1
149
149
  );
150
- return ae(R) ? !1 : R.OrdinaryDeleteMetadata(m, C, T);
150
+ return ae(R) ? !1 : R.OrdinaryDeleteMetadata(b, C, T);
151
151
  }
152
152
  t("deleteMetadata", J);
153
- function $(m, C) {
154
- for (var T = m.length - 1; T >= 0; --T) {
155
- var R = m[T], oe = R(C);
153
+ function $(b, C) {
154
+ for (var T = b.length - 1; T >= 0; --T) {
155
+ var R = b[T], oe = R(C);
156
156
  if (!ae(oe) && !le(oe)) {
157
157
  if (!Pe(oe))
158
158
  throw new TypeError();
@@ -161,9 +161,9 @@ var jl;
161
161
  }
162
162
  return C;
163
163
  }
164
- function ne(m, C, T, R) {
165
- for (var oe = m.length - 1; oe >= 0; --oe) {
166
- var Ne = m[oe], Ve = Ne(C, T, R);
164
+ function ne(b, C, T, R) {
165
+ for (var oe = b.length - 1; oe >= 0; --oe) {
166
+ var Ne = b[oe], Ve = Ne(C, T, R);
167
167
  if (!ae(Ve) && !le(Ve)) {
168
168
  if (!Y(Ve))
169
169
  throw new TypeError();
@@ -172,31 +172,31 @@ var jl;
172
172
  }
173
173
  return R;
174
174
  }
175
- function he(m, C, T) {
176
- var R = Ue(m, C, T);
175
+ function he(b, C, T) {
176
+ var R = Ue(b, C, T);
177
177
  if (R)
178
178
  return !0;
179
179
  var oe = qo(C);
180
- return le(oe) ? !1 : he(m, oe, T);
180
+ return le(oe) ? !1 : he(b, oe, T);
181
181
  }
182
- function Ue(m, C, T) {
182
+ function Ue(b, C, T) {
183
183
  var R = hi(
184
184
  C,
185
185
  T,
186
186
  /*Create*/
187
187
  !1
188
188
  );
189
- return ae(R) ? !1 : lt(R.OrdinaryHasOwnMetadata(m, C, T));
189
+ return ae(R) ? !1 : lt(R.OrdinaryHasOwnMetadata(b, C, T));
190
190
  }
191
- function je(m, C, T) {
192
- var R = Ue(m, C, T);
191
+ function je(b, C, T) {
192
+ var R = Ue(b, C, T);
193
193
  if (R)
194
- return Le(m, C, T);
194
+ return Le(b, C, T);
195
195
  var oe = qo(C);
196
196
  if (!le(oe))
197
- return je(m, oe, T);
197
+ return je(b, oe, T);
198
198
  }
199
- function Le(m, C, T) {
199
+ function Le(b, C, T) {
200
200
  var R = hi(
201
201
  C,
202
202
  T,
@@ -204,19 +204,19 @@ var jl;
204
204
  !1
205
205
  );
206
206
  if (!ae(R))
207
- return R.OrdinaryGetOwnMetadata(m, C, T);
207
+ return R.OrdinaryGetOwnMetadata(b, C, T);
208
208
  }
209
- function Tr(m, C, T, R) {
209
+ function Tr(b, C, T, R) {
210
210
  var oe = hi(
211
211
  T,
212
212
  R,
213
213
  /*Create*/
214
214
  !0
215
215
  );
216
- oe.OrdinaryDefineOwnMetadata(m, C, T, R);
216
+ oe.OrdinaryDefineOwnMetadata(b, C, T, R);
217
217
  }
218
- function jr(m, C) {
219
- var T = ur(m, C), R = qo(m);
218
+ function jr(b, C) {
219
+ var T = ur(b, C), R = qo(b);
220
220
  if (R === null)
221
221
  return T;
222
222
  var oe = jr(R, C);
@@ -224,7 +224,7 @@ var jl;
224
224
  return T;
225
225
  if (T.length <= 0)
226
226
  return oe;
227
- for (var Ne = new w(), Ve = [], ge = 0, H = T; ge < H.length; ge++) {
227
+ for (var Ne = new m(), Ve = [], ge = 0, H = T; ge < H.length; ge++) {
228
228
  var Z = H[ge], W = Ne.has(Z);
229
229
  W || (Ne.add(Z), Ve.push(Z));
230
230
  }
@@ -234,19 +234,19 @@ var jl;
234
234
  }
235
235
  return Ve;
236
236
  }
237
- function ur(m, C) {
237
+ function ur(b, C) {
238
238
  var T = hi(
239
- m,
239
+ b,
240
240
  C,
241
241
  /*create*/
242
242
  !1
243
243
  );
244
- return T ? T.OrdinaryOwnMetadataKeys(m, C) : [];
244
+ return T ? T.OrdinaryOwnMetadataKeys(b, C) : [];
245
245
  }
246
- function Pt(m) {
247
- if (m === null)
246
+ function Pt(b) {
247
+ if (b === null)
248
248
  return 1;
249
- switch (typeof m) {
249
+ switch (typeof b) {
250
250
  case "undefined":
251
251
  return 0;
252
252
  case "boolean":
@@ -258,102 +258,102 @@ var jl;
258
258
  case "number":
259
259
  return 5;
260
260
  case "object":
261
- return m === null ? 1 : 6;
261
+ return b === null ? 1 : 6;
262
262
  default:
263
263
  return 6;
264
264
  }
265
265
  }
266
- function ae(m) {
267
- return m === void 0;
266
+ function ae(b) {
267
+ return b === void 0;
268
268
  }
269
- function le(m) {
270
- return m === null;
269
+ function le(b) {
270
+ return b === null;
271
271
  }
272
- function z(m) {
273
- return typeof m == "symbol";
272
+ function z(b) {
273
+ return typeof b == "symbol";
274
274
  }
275
- function Y(m) {
276
- return typeof m == "object" ? m !== null : typeof m == "function";
275
+ function Y(b) {
276
+ return typeof b == "object" ? b !== null : typeof b == "function";
277
277
  }
278
- function Se(m, C) {
279
- switch (Pt(m)) {
278
+ function Se(b, C) {
279
+ switch (Pt(b)) {
280
280
  case 0:
281
- return m;
281
+ return b;
282
282
  case 1:
283
- return m;
283
+ return b;
284
284
  case 2:
285
- return m;
285
+ return b;
286
286
  case 3:
287
- return m;
287
+ return b;
288
288
  case 4:
289
- return m;
289
+ return b;
290
290
  case 5:
291
- return m;
291
+ return b;
292
292
  }
293
- var T = C === 3 ? "string" : C === 5 ? "number" : "default", R = Il(m, o);
293
+ var T = C === 3 ? "string" : C === 5 ? "number" : "default", R = Il(b, o);
294
294
  if (R !== void 0) {
295
- var oe = R.call(m, T);
295
+ var oe = R.call(b, T);
296
296
  if (Y(oe))
297
297
  throw new TypeError();
298
298
  return oe;
299
299
  }
300
- return Ye(m, T === "default" ? "number" : T);
300
+ return Ye(b, T === "default" ? "number" : T);
301
301
  }
302
- function Ye(m, C) {
302
+ function Ye(b, C) {
303
303
  if (C === "string") {
304
- var T = m.toString;
304
+ var T = b.toString;
305
305
  if (te(T)) {
306
- var R = T.call(m);
306
+ var R = T.call(b);
307
307
  if (!Y(R))
308
308
  return R;
309
309
  }
310
- var oe = m.valueOf;
310
+ var oe = b.valueOf;
311
311
  if (te(oe)) {
312
- var R = oe.call(m);
312
+ var R = oe.call(b);
313
313
  if (!Y(R))
314
314
  return R;
315
315
  }
316
316
  } else {
317
- var oe = m.valueOf;
317
+ var oe = b.valueOf;
318
318
  if (te(oe)) {
319
- var R = oe.call(m);
319
+ var R = oe.call(b);
320
320
  if (!Y(R))
321
321
  return R;
322
322
  }
323
- var Ne = m.toString;
323
+ var Ne = b.toString;
324
324
  if (te(Ne)) {
325
- var R = Ne.call(m);
325
+ var R = Ne.call(b);
326
326
  if (!Y(R))
327
327
  return R;
328
328
  }
329
329
  }
330
330
  throw new TypeError();
331
331
  }
332
- function lt(m) {
333
- return !!m;
332
+ function lt(b) {
333
+ return !!b;
334
334
  }
335
- function Mr(m) {
336
- return "" + m;
335
+ function Mr(b) {
336
+ return "" + b;
337
337
  }
338
- function ce(m) {
338
+ function ce(b) {
339
339
  var C = Se(
340
- m,
340
+ b,
341
341
  3
342
342
  /* String */
343
343
  );
344
344
  return z(C) ? C : Mr(C);
345
345
  }
346
- function Me(m) {
347
- return Array.isArray ? Array.isArray(m) : m instanceof Object ? m instanceof Array : Object.prototype.toString.call(m) === "[object Array]";
346
+ function Me(b) {
347
+ return Array.isArray ? Array.isArray(b) : b instanceof Object ? b instanceof Array : Object.prototype.toString.call(b) === "[object Array]";
348
348
  }
349
- function te(m) {
350
- return typeof m == "function";
349
+ function te(b) {
350
+ return typeof b == "function";
351
351
  }
352
- function Pe(m) {
353
- return typeof m == "function";
352
+ function Pe(b) {
353
+ return typeof b == "function";
354
354
  }
355
- function Pr(m) {
356
- switch (Pt(m)) {
355
+ function Pr(b) {
356
+ switch (Pt(b)) {
357
357
  case 3:
358
358
  return !0;
359
359
  case 4:
@@ -362,50 +362,50 @@ var jl;
362
362
  return !1;
363
363
  }
364
364
  }
365
- function Fo(m, C) {
366
- return m === C || m !== m && C !== C;
365
+ function Fo(b, C) {
366
+ return b === C || b !== b && C !== C;
367
367
  }
368
- function Il(m, C) {
369
- var T = m[C];
368
+ function Il(b, C) {
369
+ var T = b[C];
370
370
  if (T != null) {
371
371
  if (!te(T))
372
372
  throw new TypeError();
373
373
  return T;
374
374
  }
375
375
  }
376
- function Bl(m) {
377
- var C = Il(m, s);
376
+ function Bl(b) {
377
+ var C = Il(b, s);
378
378
  if (!te(C))
379
379
  throw new TypeError();
380
- var T = C.call(m);
380
+ var T = C.call(b);
381
381
  if (!Y(T))
382
382
  throw new TypeError();
383
383
  return T;
384
384
  }
385
- function El(m) {
386
- return m.value;
385
+ function El(b) {
386
+ return b.value;
387
387
  }
388
- function Ol(m) {
389
- var C = m.next();
388
+ function Ol(b) {
389
+ var C = b.next();
390
390
  return C.done ? !1 : C;
391
391
  }
392
- function Nl(m) {
393
- var C = m.return;
394
- C && C.call(m);
392
+ function Nl(b) {
393
+ var C = b.return;
394
+ C && C.call(b);
395
395
  }
396
- function qo(m) {
397
- var C = Object.getPrototypeOf(m);
398
- if (typeof m != "function" || m === d || C !== d)
396
+ function qo(b) {
397
+ var C = Object.getPrototypeOf(b);
398
+ if (typeof b != "function" || b === d || C !== d)
399
399
  return C;
400
- var T = m.prototype, R = T && Object.getPrototypeOf(T);
400
+ var T = b.prototype, R = T && Object.getPrototypeOf(T);
401
401
  if (R == null || R === Object.prototype)
402
402
  return C;
403
403
  var oe = R.constructor;
404
- return typeof oe != "function" || oe === m ? C : oe;
404
+ return typeof oe != "function" || oe === b ? C : oe;
405
405
  }
406
406
  function Tp() {
407
- var m;
408
- !ae(y) && typeof r.Reflect < "u" && !(y in r.Reflect) && typeof r.Reflect.defineMetadata == "function" && (m = Pp(r.Reflect));
407
+ var b;
408
+ !ae(y) && typeof r.Reflect < "u" && !(y in r.Reflect) && typeof r.Reflect.defineMetadata == "function" && (b = Pp(r.Reflect));
409
409
  var C, T, R, oe = new p(), Ne = {
410
410
  registerProvider: Ve,
411
411
  getProvider: H,
@@ -416,7 +416,7 @@ var jl;
416
416
  if (!Object.isExtensible(Ne))
417
417
  throw new Error("Cannot add provider to a frozen registry.");
418
418
  switch (!0) {
419
- case m === X:
419
+ case b === X:
420
420
  break;
421
421
  case ae(C):
422
422
  C = X;
@@ -429,7 +429,7 @@ var jl;
429
429
  case T === X:
430
430
  break;
431
431
  default:
432
- R === void 0 && (R = new w()), R.add(X);
432
+ R === void 0 && (R = new m()), R.add(X);
433
433
  break;
434
434
  }
435
435
  }
@@ -451,8 +451,8 @@ var jl;
451
451
  }
452
452
  }
453
453
  }
454
- if (!ae(m) && m.isProviderFor(X, ve))
455
- return m;
454
+ if (!ae(b) && b.isProviderFor(X, ve))
455
+ return b;
456
456
  }
457
457
  function H(X, ve) {
458
458
  var Ie = oe.get(X), _e;
@@ -477,15 +477,15 @@ var jl;
477
477
  }
478
478
  }
479
479
  function jp() {
480
- var m;
481
- return !ae(y) && Y(r.Reflect) && Object.isExtensible(r.Reflect) && (m = r.Reflect[y]), ae(m) && (m = Tp()), !ae(y) && Y(r.Reflect) && Object.isExtensible(r.Reflect) && Object.defineProperty(r.Reflect, y, {
480
+ var b;
481
+ return !ae(y) && Y(r.Reflect) && Object.isExtensible(r.Reflect) && (b = r.Reflect[y]), ae(b) && (b = Tp()), !ae(y) && Y(r.Reflect) && Object.isExtensible(r.Reflect) && Object.defineProperty(r.Reflect, y, {
482
482
  enumerable: !1,
483
483
  configurable: !1,
484
484
  writable: !1,
485
- value: m
486
- }), m;
485
+ value: b
486
+ }), b;
487
487
  }
488
- function Mp(m) {
488
+ function Mp(b) {
489
489
  var C = new p(), T = {
490
490
  isProviderFor: function(Z, W) {
491
491
  var X = C.get(Z);
@@ -509,7 +509,7 @@ var jl;
509
509
  if (ae(_e)) {
510
510
  if (!X)
511
511
  return;
512
- if (_e = new E(), ve.set(W, _e), !m.setProvider(Z, W, T))
512
+ if (_e = new E(), ve.set(W, _e), !b.setProvider(Z, W, T))
513
513
  throw ve.delete(W), Ie && C.delete(Z), new Error("Wrong provider for target.");
514
514
  }
515
515
  return _e;
@@ -584,11 +584,11 @@ var jl;
584
584
  return !0;
585
585
  }
586
586
  }
587
- function Pp(m) {
588
- var C = m.defineMetadata, T = m.hasOwnMetadata, R = m.getOwnMetadata, oe = m.getOwnMetadataKeys, Ne = m.deleteMetadata, Ve = new p(), ge = {
587
+ function Pp(b) {
588
+ var C = b.defineMetadata, T = b.hasOwnMetadata, R = b.getOwnMetadata, oe = b.getOwnMetadataKeys, Ne = b.deleteMetadata, Ve = new p(), ge = {
589
589
  isProviderFor: function(H, Z) {
590
590
  var W = Ve.get(H);
591
- return ae(W) ? oe(H, Z).length ? (ae(W) && (W = new w(), Ve.set(H, W)), W.add(Z), !0) : !1 : W.has(Z);
591
+ return ae(W) ? oe(H, Z).length ? (ae(W) && (W = new m(), Ve.set(H, W)), W.add(Z), !0) : !1 : W.has(Z);
592
592
  },
593
593
  OrdinaryDefineOwnMetadata: C,
594
594
  OrdinaryHasOwnMetadata: T,
@@ -598,18 +598,18 @@ var jl;
598
598
  };
599
599
  return ge;
600
600
  }
601
- function hi(m, C, T) {
602
- var R = v.getProvider(m, C);
601
+ function hi(b, C, T) {
602
+ var R = v.getProvider(b, C);
603
603
  if (!ae(R))
604
604
  return R;
605
605
  if (T) {
606
- if (v.setProvider(m, C, b))
607
- return b;
606
+ if (v.setProvider(b, C, w))
607
+ return w;
608
608
  throw new Error("Illegal state.");
609
609
  }
610
610
  }
611
611
  function Vp() {
612
- var m = {}, C = [], T = (
612
+ var b = {}, C = [], T = (
613
613
  /** @class */
614
614
  function() {
615
615
  function ge(H, Z, W) {
@@ -636,7 +636,7 @@ var jl;
636
636
  /** @class */
637
637
  function() {
638
638
  function ge() {
639
- this._keys = [], this._values = [], this._cacheKey = m, this._cacheIndex = -2;
639
+ this._keys = [], this._values = [], this._cacheKey = b, this._cacheIndex = -2;
640
640
  }
641
641
  return Object.defineProperty(ge.prototype, "size", {
642
642
  get: function() {
@@ -673,11 +673,11 @@ var jl;
673
673
  if (Z >= 0) {
674
674
  for (var W = this._keys.length, X = Z + 1; X < W; X++)
675
675
  this._keys[X - 1] = this._keys[X], this._values[X - 1] = this._values[X];
676
- return this._keys.length--, this._values.length--, Fo(H, this._cacheKey) && (this._cacheKey = m, this._cacheIndex = -2), !0;
676
+ return this._keys.length--, this._values.length--, Fo(H, this._cacheKey) && (this._cacheKey = b, this._cacheIndex = -2), !0;
677
677
  }
678
678
  return !1;
679
679
  }, ge.prototype.clear = function() {
680
- this._keys.length = 0, this._values.length = 0, this._cacheKey = m, this._cacheIndex = -2;
680
+ this._keys.length = 0, this._values.length = 0, this._cacheKey = b, this._cacheIndex = -2;
681
681
  }, ge.prototype.keys = function() {
682
682
  return new T(this._keys, this._values, oe);
683
683
  }, ge.prototype.values = function() {
@@ -713,7 +713,7 @@ var jl;
713
713
  }
714
714
  }
715
715
  function $p() {
716
- var m = (
716
+ var b = (
717
717
  /** @class */
718
718
  function() {
719
719
  function C() {
@@ -746,10 +746,10 @@ var jl;
746
746
  }, C;
747
747
  }()
748
748
  );
749
- return m;
749
+ return b;
750
750
  }
751
751
  function Rp() {
752
- var m = 16, C = h.create(), T = R();
752
+ var b = 16, C = h.create(), T = R();
753
753
  return (
754
754
  /** @class */
755
755
  function() {
@@ -813,17 +813,17 @@ var jl;
813
813
  return typeof Uint8Array == "function" ? typeof crypto < "u" ? crypto.getRandomValues(new Uint8Array(H)) : typeof msCrypto < "u" ? msCrypto.getRandomValues(new Uint8Array(H)) : Ne(new Uint8Array(H), H) : Ne(new Array(H), H);
814
814
  }
815
815
  function ge() {
816
- var H = Ve(m);
816
+ var H = Ve(b);
817
817
  H[6] = H[6] & 79 | 64, H[8] = H[8] & 191 | 128;
818
- for (var Z = "", W = 0; W < m; ++W) {
818
+ for (var Z = "", W = 0; W < b; ++W) {
819
819
  var X = H[W];
820
820
  (W === 4 || W === 6 || W === 8) && (Z += "-"), X < 16 && (Z += "0"), Z += X.toString(16).toLowerCase();
821
821
  }
822
822
  return Z;
823
823
  }
824
824
  }
825
- function Ko(m) {
826
- return m.__ = void 0, delete m.__, m;
825
+ function Ko(b) {
826
+ return b.__ = void 0, delete b.__, b;
827
827
  }
828
828
  });
829
829
  })(jl || (jl = {}));
@@ -1436,8 +1436,8 @@ class $u extends Nt(Er) {
1436
1436
  if (l === h) {
1437
1437
  h += 255;
1438
1438
  const E = new Uint8Array(h);
1439
- for (let w = 0; w < u.length; w++)
1440
- E[w] = u[w];
1439
+ for (let m = 0; m < u.length; m++)
1440
+ E[m] = u[m];
1441
1441
  u = this.valueHexView = new Uint8Array(h);
1442
1442
  }
1443
1443
  }
@@ -2908,15 +2908,15 @@ class lo extends Hi {
2908
2908
  if (i.indexOf("-") !== -1)
2909
2909
  throw new Error("Wrong input string for conversion");
2910
2910
  } else {
2911
- let d = 1, E = i.indexOf("+"), w = "";
2911
+ let d = 1, E = i.indexOf("+"), m = "";
2912
2912
  if (E === -1 && (E = i.indexOf("-"), d = -1), E !== -1) {
2913
- if (w = i.substring(E + 1), i = i.substring(0, E), w.length !== 2 && w.length !== 4)
2913
+ if (m = i.substring(E + 1), i = i.substring(0, E), m.length !== 2 && m.length !== 4)
2914
2914
  throw new Error("Wrong input string for conversion");
2915
- let p = parseInt(w.substring(0, 2), 10);
2915
+ let p = parseInt(m.substring(0, 2), 10);
2916
2916
  if (isNaN(p.valueOf()))
2917
2917
  throw new Error("Wrong input string for conversion");
2918
- if (a = d * p, w.length === 4) {
2919
- if (p = parseInt(w.substring(2, 4), 10), isNaN(p.valueOf()))
2918
+ if (a = d * p, m.length === 4) {
2919
+ if (p = parseInt(m.substring(2, 4), 10), isNaN(p.valueOf()))
2920
2920
  throw new Error("Wrong input string for conversion");
2921
2921
  l = d * p;
2922
2922
  }
@@ -3713,7 +3713,7 @@ class Dh {
3713
3713
  throw new Error("Converter is empty");
3714
3714
  if (h.repeated)
3715
3715
  if (h.implicit) {
3716
- const w = h.repeated === "sequence" ? Ut : Lt, p = new w();
3716
+ const m = h.repeated === "sequence" ? Ut : Lt, p = new m();
3717
3717
  p.valueBlock = u.valueBlock;
3718
3718
  const y = Lr(p.toBER(!1));
3719
3719
  if (y.offset === -1)
@@ -3721,11 +3721,11 @@ class Dh {
3721
3721
  if (!("value" in y.result.valueBlock && Array.isArray(y.result.valueBlock.value)))
3722
3722
  throw new Error("Cannot get items from the ASN.1 parsed value. ASN.1 object is not constructed.");
3723
3723
  const v = y.result.valueBlock.value;
3724
- a[l] = Array.from(v, (b) => E.fromASN(b));
3724
+ a[l] = Array.from(v, (w) => E.fromASN(w));
3725
3725
  } else
3726
- a[l] = Array.from(u, (w) => E.fromASN(w));
3726
+ a[l] = Array.from(u, (m) => E.fromASN(m));
3727
3727
  else {
3728
- let w = u;
3728
+ let m = u;
3729
3729
  if (h.implicit) {
3730
3730
  let p;
3731
3731
  if (Dt(d))
@@ -3736,9 +3736,9 @@ class Dh {
3736
3736
  throw new Error(`Cannot get '${y}' class from asn1js module`);
3737
3737
  p = new v();
3738
3738
  }
3739
- p.valueBlock = w.valueBlock, w = Lr(p.toBER(!1)).result;
3739
+ p.valueBlock = m.valueBlock, m = Lr(p.toBER(!1)).result;
3740
3740
  }
3741
- a[l] = E.fromASN(w);
3741
+ a[l] = E.fromASN(m);
3742
3742
  }
3743
3743
  } else if (h.repeated) {
3744
3744
  if (!Array.isArray(u))
@@ -3908,8 +3908,8 @@ var Vf = { exports: {} };
3908
3908
  function u(p, y) {
3909
3909
  if (p.indexOf("::") !== p.lastIndexOf("::"))
3910
3910
  return null;
3911
- let v = 0, b = -1, B = (p.match(l.zoneIndex) || [])[0], O, A;
3912
- for (B && (B = B.substring(1), p = p.replace(/%.+$/, "")); (b = p.indexOf(":", b + 1)) >= 0; )
3911
+ let v = 0, w = -1, B = (p.match(l.zoneIndex) || [])[0], O, A;
3912
+ for (B && (B = B.substring(1), p = p.replace(/%.+$/, "")); (w = p.indexOf(":", w + 1)) >= 0; )
3913
3913
  v++;
3914
3914
  if (p.substr(0, 2) === "::" && v--, p.substr(-2, 2) === "::" && v--, v > y)
3915
3915
  return null;
@@ -3925,14 +3925,14 @@ var Vf = { exports: {} };
3925
3925
  zoneId: B
3926
3926
  };
3927
3927
  }
3928
- function h(p, y, v, b) {
3928
+ function h(p, y, v, w) {
3929
3929
  if (p.length !== y.length)
3930
3930
  throw new Error("ipaddr: cannot match CIDR for objects with different lengths");
3931
3931
  let B = 0, O;
3932
- for (; b > 0; ) {
3933
- if (O = v - b, O < 0 && (O = 0), p[B] >> O !== y[B] >> O)
3932
+ for (; w > 0; ) {
3933
+ if (O = v - w, O < 0 && (O = 0), p[B] >> O !== y[B] >> O)
3934
3934
  return !1;
3935
- b -= v, B += 1;
3935
+ w -= v, B += 1;
3936
3936
  }
3937
3937
  return !0;
3938
3938
  }
@@ -3951,14 +3951,14 @@ var Vf = { exports: {} };
3951
3951
  p = `0${p}`;
3952
3952
  return p;
3953
3953
  }
3954
- const w = {};
3955
- w.IPv4 = function() {
3954
+ const m = {};
3955
+ m.IPv4 = function() {
3956
3956
  function p(y) {
3957
3957
  if (y.length !== 4)
3958
3958
  throw new Error("ipaddr: ipv4 octet count should be 4");
3959
- let v, b;
3959
+ let v, w;
3960
3960
  for (v = 0; v < y.length; v++)
3961
- if (b = y[v], !(0 <= b && b <= 255))
3961
+ if (w = y[v], !(0 <= w && w <= 255))
3962
3962
  throw new Error("ipaddr: ipv4 octet should fit in 8 bits");
3963
3963
  this.octets = y;
3964
3964
  }
@@ -3992,13 +3992,13 @@ var Vf = { exports: {} };
3992
3992
  }, p.prototype.kind = function() {
3993
3993
  return "ipv4";
3994
3994
  }, p.prototype.match = function(y, v) {
3995
- let b;
3996
- if (v === void 0 && (b = y, y = b[0], v = b[1]), y.kind() !== "ipv4")
3995
+ let w;
3996
+ if (v === void 0 && (w = y, y = w[0], v = w[1]), y.kind() !== "ipv4")
3997
3997
  throw new Error("ipaddr: cannot match ipv4 address with non-ipv4 one");
3998
3998
  return h(this.octets, y.octets, 8, v);
3999
3999
  }, p.prototype.prefixLengthFromSubnetMask = function() {
4000
4000
  let y = 0, v = !1;
4001
- const b = {
4001
+ const w = {
4002
4002
  0: 8,
4003
4003
  128: 7,
4004
4004
  192: 6,
@@ -4011,74 +4011,74 @@ var Vf = { exports: {} };
4011
4011
  };
4012
4012
  let B, O, A;
4013
4013
  for (B = 3; B >= 0; B -= 1)
4014
- if (O = this.octets[B], O in b) {
4015
- if (A = b[O], v && A !== 0)
4014
+ if (O = this.octets[B], O in w) {
4015
+ if (A = w[O], v && A !== 0)
4016
4016
  return null;
4017
4017
  A !== 8 && (v = !0), y += A;
4018
4018
  } else
4019
4019
  return null;
4020
4020
  return 32 - y;
4021
4021
  }, p.prototype.range = function() {
4022
- return w.subnetMatch(this, this.SpecialRanges);
4022
+ return m.subnetMatch(this, this.SpecialRanges);
4023
4023
  }, p.prototype.toByteArray = function() {
4024
4024
  return this.octets.slice(0);
4025
4025
  }, p.prototype.toIPv4MappedAddress = function() {
4026
- return w.IPv6.parse(`::ffff:${this.toString()}`);
4026
+ return m.IPv6.parse(`::ffff:${this.toString()}`);
4027
4027
  }, p.prototype.toNormalizedString = function() {
4028
4028
  return this.toString();
4029
4029
  }, p.prototype.toString = function() {
4030
4030
  return this.octets.join(".");
4031
4031
  }, p;
4032
- }(), w.IPv4.broadcastAddressFromCIDR = function(p) {
4032
+ }(), m.IPv4.broadcastAddressFromCIDR = function(p) {
4033
4033
  try {
4034
- const y = this.parseCIDR(p), v = y[0].toByteArray(), b = this.subnetMaskFromPrefixLength(y[1]).toByteArray(), B = [];
4034
+ const y = this.parseCIDR(p), v = y[0].toByteArray(), w = this.subnetMaskFromPrefixLength(y[1]).toByteArray(), B = [];
4035
4035
  let O = 0;
4036
4036
  for (; O < 4; )
4037
- B.push(parseInt(v[O], 10) | parseInt(b[O], 10) ^ 255), O++;
4037
+ B.push(parseInt(v[O], 10) | parseInt(w[O], 10) ^ 255), O++;
4038
4038
  return new this(B);
4039
4039
  } catch {
4040
4040
  throw new Error("ipaddr: the address does not have IPv4 CIDR format");
4041
4041
  }
4042
- }, w.IPv4.isIPv4 = function(p) {
4042
+ }, m.IPv4.isIPv4 = function(p) {
4043
4043
  return this.parser(p) !== null;
4044
- }, w.IPv4.isValid = function(p) {
4044
+ }, m.IPv4.isValid = function(p) {
4045
4045
  try {
4046
4046
  return new this(this.parser(p)), !0;
4047
4047
  } catch {
4048
4048
  return !1;
4049
4049
  }
4050
- }, w.IPv4.isValidFourPartDecimal = function(p) {
4051
- return !!(w.IPv4.isValid(p) && p.match(/^(0|[1-9]\d*)(\.(0|[1-9]\d*)){3}$/));
4052
- }, w.IPv4.networkAddressFromCIDR = function(p) {
4053
- let y, v, b, B, O;
4050
+ }, m.IPv4.isValidFourPartDecimal = function(p) {
4051
+ return !!(m.IPv4.isValid(p) && p.match(/^(0|[1-9]\d*)(\.(0|[1-9]\d*)){3}$/));
4052
+ }, m.IPv4.networkAddressFromCIDR = function(p) {
4053
+ let y, v, w, B, O;
4054
4054
  try {
4055
- for (y = this.parseCIDR(p), b = y[0].toByteArray(), O = this.subnetMaskFromPrefixLength(y[1]).toByteArray(), B = [], v = 0; v < 4; )
4056
- B.push(parseInt(b[v], 10) & parseInt(O[v], 10)), v++;
4055
+ for (y = this.parseCIDR(p), w = y[0].toByteArray(), O = this.subnetMaskFromPrefixLength(y[1]).toByteArray(), B = [], v = 0; v < 4; )
4056
+ B.push(parseInt(w[v], 10) & parseInt(O[v], 10)), v++;
4057
4057
  return new this(B);
4058
4058
  } catch {
4059
4059
  throw new Error("ipaddr: the address does not have IPv4 CIDR format");
4060
4060
  }
4061
- }, w.IPv4.parse = function(p) {
4061
+ }, m.IPv4.parse = function(p) {
4062
4062
  const y = this.parser(p);
4063
4063
  if (y === null)
4064
4064
  throw new Error("ipaddr: string is not formatted like an IPv4 Address");
4065
4065
  return new this(y);
4066
- }, w.IPv4.parseCIDR = function(p) {
4066
+ }, m.IPv4.parseCIDR = function(p) {
4067
4067
  let y;
4068
4068
  if (y = p.match(/^(.+)\/(\d+)$/)) {
4069
4069
  const v = parseInt(y[2]);
4070
4070
  if (v >= 0 && v <= 32) {
4071
- const b = [this.parse(y[1]), v];
4072
- return Object.defineProperty(b, "toString", {
4071
+ const w = [this.parse(y[1]), v];
4072
+ return Object.defineProperty(w, "toString", {
4073
4073
  value: function() {
4074
4074
  return this.join("/");
4075
4075
  }
4076
- }), b;
4076
+ }), w;
4077
4077
  }
4078
4078
  }
4079
4079
  throw new Error("ipaddr: string is not formatted like an IPv4 CIDR range");
4080
- }, w.IPv4.parser = function(p) {
4081
- let y, v, b;
4080
+ }, m.IPv4.parser = function(p) {
4081
+ let y, v, w;
4082
4082
  if (y = p.match(i.fourOctet))
4083
4083
  return function() {
4084
4084
  const B = y.slice(1, 6), O = [];
@@ -4087,48 +4087,48 @@ var Vf = { exports: {} };
4087
4087
  return O;
4088
4088
  }();
4089
4089
  if (y = p.match(i.longValue)) {
4090
- if (b = d(y[1]), b > 4294967295 || b < 0)
4090
+ if (w = d(y[1]), w > 4294967295 || w < 0)
4091
4091
  throw new Error("ipaddr: address outside defined range");
4092
4092
  return function() {
4093
4093
  const B = [];
4094
4094
  let O;
4095
4095
  for (O = 0; O <= 24; O += 8)
4096
- B.push(b >> O & 255);
4096
+ B.push(w >> O & 255);
4097
4097
  return B;
4098
4098
  }().reverse();
4099
4099
  } else
4100
4100
  return (y = p.match(i.twoOctet)) ? function() {
4101
4101
  const B = y.slice(1, 4), O = [];
4102
- if (b = d(B[1]), b > 16777215 || b < 0)
4102
+ if (w = d(B[1]), w > 16777215 || w < 0)
4103
4103
  throw new Error("ipaddr: address outside defined range");
4104
- return O.push(d(B[0])), O.push(b >> 16 & 255), O.push(b >> 8 & 255), O.push(b & 255), O;
4104
+ return O.push(d(B[0])), O.push(w >> 16 & 255), O.push(w >> 8 & 255), O.push(w & 255), O;
4105
4105
  }() : (y = p.match(i.threeOctet)) ? function() {
4106
4106
  const B = y.slice(1, 5), O = [];
4107
- if (b = d(B[2]), b > 65535 || b < 0)
4107
+ if (w = d(B[2]), w > 65535 || w < 0)
4108
4108
  throw new Error("ipaddr: address outside defined range");
4109
- return O.push(d(B[0])), O.push(d(B[1])), O.push(b >> 8 & 255), O.push(b & 255), O;
4109
+ return O.push(d(B[0])), O.push(d(B[1])), O.push(w >> 8 & 255), O.push(w & 255), O;
4110
4110
  }() : null;
4111
- }, w.IPv4.subnetMaskFromPrefixLength = function(p) {
4111
+ }, m.IPv4.subnetMaskFromPrefixLength = function(p) {
4112
4112
  if (p = parseInt(p), p < 0 || p > 32)
4113
4113
  throw new Error("ipaddr: invalid IPv4 prefix length");
4114
4114
  const y = [0, 0, 0, 0];
4115
4115
  let v = 0;
4116
- const b = Math.floor(p / 8);
4117
- for (; v < b; )
4116
+ const w = Math.floor(p / 8);
4117
+ for (; v < w; )
4118
4118
  y[v] = 255, v++;
4119
- return b < 4 && (y[b] = Math.pow(2, p % 8) - 1 << 8 - p % 8), new this(y);
4120
- }, w.IPv6 = function() {
4119
+ return w < 4 && (y[w] = Math.pow(2, p % 8) - 1 << 8 - p % 8), new this(y);
4120
+ }, m.IPv6 = function() {
4121
4121
  function p(y, v) {
4122
- let b, B;
4122
+ let w, B;
4123
4123
  if (y.length === 16)
4124
- for (this.parts = [], b = 0; b <= 14; b += 2)
4125
- this.parts.push(y[b] << 8 | y[b + 1]);
4124
+ for (this.parts = [], w = 0; w <= 14; w += 2)
4125
+ this.parts.push(y[w] << 8 | y[w + 1]);
4126
4126
  else if (y.length === 8)
4127
4127
  this.parts = y;
4128
4128
  else
4129
4129
  throw new Error("ipaddr: ipv6 part count should be 8 or 16");
4130
- for (b = 0; b < this.parts.length; b++)
4131
- if (B = this.parts[b], !(0 <= B && B <= 65535))
4130
+ for (w = 0; w < this.parts.length; w++)
4131
+ if (B = this.parts[w], !(0 <= B && B <= 65535))
4132
4132
  throw new Error("ipaddr: ipv6 part should fit in 16 bits");
4133
4133
  v && (this.zoneId = v);
4134
4134
  }
@@ -4160,13 +4160,13 @@ var Vf = { exports: {} };
4160
4160
  }, p.prototype.kind = function() {
4161
4161
  return "ipv6";
4162
4162
  }, p.prototype.match = function(y, v) {
4163
- let b;
4164
- if (v === void 0 && (b = y, y = b[0], v = b[1]), y.kind() !== "ipv6")
4163
+ let w;
4164
+ if (v === void 0 && (w = y, y = w[0], v = w[1]), y.kind() !== "ipv6")
4165
4165
  throw new Error("ipaddr: cannot match ipv6 address with non-ipv6 one");
4166
4166
  return h(this.parts, y.parts, 16, v);
4167
4167
  }, p.prototype.prefixLengthFromSubnetMask = function() {
4168
4168
  let y = 0, v = !1;
4169
- const b = {
4169
+ const w = {
4170
4170
  0: 16,
4171
4171
  32768: 15,
4172
4172
  49152: 14,
@@ -4187,66 +4187,66 @@ var Vf = { exports: {} };
4187
4187
  };
4188
4188
  let B, O;
4189
4189
  for (let A = 7; A >= 0; A -= 1)
4190
- if (B = this.parts[A], B in b) {
4191
- if (O = b[B], v && O !== 0)
4190
+ if (B = this.parts[A], B in w) {
4191
+ if (O = w[B], v && O !== 0)
4192
4192
  return null;
4193
4193
  O !== 16 && (v = !0), y += O;
4194
4194
  } else
4195
4195
  return null;
4196
4196
  return 128 - y;
4197
4197
  }, p.prototype.range = function() {
4198
- return w.subnetMatch(this, this.SpecialRanges);
4198
+ return m.subnetMatch(this, this.SpecialRanges);
4199
4199
  }, p.prototype.toByteArray = function() {
4200
4200
  let y;
4201
- const v = [], b = this.parts;
4202
- for (let B = 0; B < b.length; B++)
4203
- y = b[B], v.push(y >> 8), v.push(y & 255);
4201
+ const v = [], w = this.parts;
4202
+ for (let B = 0; B < w.length; B++)
4203
+ y = w[B], v.push(y >> 8), v.push(y & 255);
4204
4204
  return v;
4205
4205
  }, p.prototype.toFixedLengthString = function() {
4206
4206
  const y = (function() {
4207
- const b = [];
4207
+ const w = [];
4208
4208
  for (let B = 0; B < this.parts.length; B++)
4209
- b.push(E(this.parts[B].toString(16), 4));
4210
- return b;
4209
+ w.push(E(this.parts[B].toString(16), 4));
4210
+ return w;
4211
4211
  }).call(this).join(":");
4212
4212
  let v = "";
4213
4213
  return this.zoneId && (v = `%${this.zoneId}`), y + v;
4214
4214
  }, p.prototype.toIPv4Address = function() {
4215
4215
  if (!this.isIPv4MappedAddress())
4216
4216
  throw new Error("ipaddr: trying to convert a generic ipv6 address to ipv4");
4217
- const y = this.parts.slice(-2), v = y[0], b = y[1];
4218
- return new w.IPv4([v >> 8, v & 255, b >> 8, b & 255]);
4217
+ const y = this.parts.slice(-2), v = y[0], w = y[1];
4218
+ return new m.IPv4([v >> 8, v & 255, w >> 8, w & 255]);
4219
4219
  }, p.prototype.toNormalizedString = function() {
4220
4220
  const y = (function() {
4221
- const b = [];
4221
+ const w = [];
4222
4222
  for (let B = 0; B < this.parts.length; B++)
4223
- b.push(this.parts[B].toString(16));
4224
- return b;
4223
+ w.push(this.parts[B].toString(16));
4224
+ return w;
4225
4225
  }).call(this).join(":");
4226
4226
  let v = "";
4227
4227
  return this.zoneId && (v = `%${this.zoneId}`), y + v;
4228
4228
  }, p.prototype.toRFC5952String = function() {
4229
4229
  const y = /((^|:)(0(:|$)){2,})/g, v = this.toNormalizedString();
4230
- let b = 0, B = -1, O;
4230
+ let w = 0, B = -1, O;
4231
4231
  for (; O = y.exec(v); )
4232
- O[0].length > B && (b = O.index, B = O[0].length);
4233
- return B < 0 ? v : `${v.substring(0, b)}::${v.substring(b + B)}`;
4232
+ O[0].length > B && (w = O.index, B = O[0].length);
4233
+ return B < 0 ? v : `${v.substring(0, w)}::${v.substring(w + B)}`;
4234
4234
  }, p.prototype.toString = function() {
4235
4235
  return this.toRFC5952String();
4236
4236
  }, p;
4237
- }(), w.IPv6.broadcastAddressFromCIDR = function(p) {
4237
+ }(), m.IPv6.broadcastAddressFromCIDR = function(p) {
4238
4238
  try {
4239
- const y = this.parseCIDR(p), v = y[0].toByteArray(), b = this.subnetMaskFromPrefixLength(y[1]).toByteArray(), B = [];
4239
+ const y = this.parseCIDR(p), v = y[0].toByteArray(), w = this.subnetMaskFromPrefixLength(y[1]).toByteArray(), B = [];
4240
4240
  let O = 0;
4241
4241
  for (; O < 16; )
4242
- B.push(parseInt(v[O], 10) | parseInt(b[O], 10) ^ 255), O++;
4242
+ B.push(parseInt(v[O], 10) | parseInt(w[O], 10) ^ 255), O++;
4243
4243
  return new this(B);
4244
4244
  } catch (y) {
4245
4245
  throw new Error(`ipaddr: the address does not have IPv6 CIDR format (${y})`);
4246
4246
  }
4247
- }, w.IPv6.isIPv6 = function(p) {
4247
+ }, m.IPv6.isIPv6 = function(p) {
4248
4248
  return this.parser(p) !== null;
4249
- }, w.IPv6.isValid = function(p) {
4249
+ }, m.IPv6.isValid = function(p) {
4250
4250
  if (typeof p == "string" && p.indexOf(":") === -1)
4251
4251
  return !1;
4252
4252
  try {
@@ -4255,41 +4255,41 @@ var Vf = { exports: {} };
4255
4255
  } catch {
4256
4256
  return !1;
4257
4257
  }
4258
- }, w.IPv6.networkAddressFromCIDR = function(p) {
4259
- let y, v, b, B, O;
4258
+ }, m.IPv6.networkAddressFromCIDR = function(p) {
4259
+ let y, v, w, B, O;
4260
4260
  try {
4261
- for (y = this.parseCIDR(p), b = y[0].toByteArray(), O = this.subnetMaskFromPrefixLength(y[1]).toByteArray(), B = [], v = 0; v < 16; )
4262
- B.push(parseInt(b[v], 10) & parseInt(O[v], 10)), v++;
4261
+ for (y = this.parseCIDR(p), w = y[0].toByteArray(), O = this.subnetMaskFromPrefixLength(y[1]).toByteArray(), B = [], v = 0; v < 16; )
4262
+ B.push(parseInt(w[v], 10) & parseInt(O[v], 10)), v++;
4263
4263
  return new this(B);
4264
4264
  } catch (A) {
4265
4265
  throw new Error(`ipaddr: the address does not have IPv6 CIDR format (${A})`);
4266
4266
  }
4267
- }, w.IPv6.parse = function(p) {
4267
+ }, m.IPv6.parse = function(p) {
4268
4268
  const y = this.parser(p);
4269
4269
  if (y.parts === null)
4270
4270
  throw new Error("ipaddr: string is not formatted like an IPv6 Address");
4271
4271
  return new this(y.parts, y.zoneId);
4272
- }, w.IPv6.parseCIDR = function(p) {
4273
- let y, v, b;
4272
+ }, m.IPv6.parseCIDR = function(p) {
4273
+ let y, v, w;
4274
4274
  if ((v = p.match(/^(.+)\/(\d+)$/)) && (y = parseInt(v[2]), y >= 0 && y <= 128))
4275
- return b = [this.parse(v[1]), y], Object.defineProperty(b, "toString", {
4275
+ return w = [this.parse(v[1]), y], Object.defineProperty(w, "toString", {
4276
4276
  value: function() {
4277
4277
  return this.join("/");
4278
4278
  }
4279
- }), b;
4279
+ }), w;
4280
4280
  throw new Error("ipaddr: string is not formatted like an IPv6 CIDR range");
4281
- }, w.IPv6.parser = function(p) {
4282
- let y, v, b, B, O, A;
4283
- if (b = p.match(l.deprecatedTransitional))
4284
- return this.parser(`::ffff:${b[1]}`);
4281
+ }, m.IPv6.parser = function(p) {
4282
+ let y, v, w, B, O, A;
4283
+ if (w = p.match(l.deprecatedTransitional))
4284
+ return this.parser(`::ffff:${w[1]}`);
4285
4285
  if (l.native.test(p))
4286
4286
  return u(p, 8);
4287
- if ((b = p.match(l.transitional)) && (A = b[6] || "", y = u(b[1].slice(0, -1) + A, 6), y.parts)) {
4287
+ if ((w = p.match(l.transitional)) && (A = w[6] || "", y = u(w[1].slice(0, -1) + A, 6), y.parts)) {
4288
4288
  for (O = [
4289
- parseInt(b[2]),
4290
- parseInt(b[3]),
4291
- parseInt(b[4]),
4292
- parseInt(b[5])
4289
+ parseInt(w[2]),
4290
+ parseInt(w[3]),
4291
+ parseInt(w[4]),
4292
+ parseInt(w[5])
4293
4293
  ], v = 0; v < O.length; v++)
4294
4294
  if (B = O[v], !(0 <= B && B <= 255))
4295
4295
  return null;
@@ -4299,54 +4299,54 @@ var Vf = { exports: {} };
4299
4299
  };
4300
4300
  }
4301
4301
  return null;
4302
- }, w.IPv6.subnetMaskFromPrefixLength = function(p) {
4302
+ }, m.IPv6.subnetMaskFromPrefixLength = function(p) {
4303
4303
  if (p = parseInt(p), p < 0 || p > 128)
4304
4304
  throw new Error("ipaddr: invalid IPv6 prefix length");
4305
4305
  const y = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
4306
4306
  let v = 0;
4307
- const b = Math.floor(p / 8);
4308
- for (; v < b; )
4307
+ const w = Math.floor(p / 8);
4308
+ for (; v < w; )
4309
4309
  y[v] = 255, v++;
4310
- return b < 16 && (y[b] = Math.pow(2, p % 8) - 1 << 8 - p % 8), new this(y);
4311
- }, w.fromByteArray = function(p) {
4310
+ return w < 16 && (y[w] = Math.pow(2, p % 8) - 1 << 8 - p % 8), new this(y);
4311
+ }, m.fromByteArray = function(p) {
4312
4312
  const y = p.length;
4313
4313
  if (y === 4)
4314
- return new w.IPv4(p);
4314
+ return new m.IPv4(p);
4315
4315
  if (y === 16)
4316
- return new w.IPv6(p);
4316
+ return new m.IPv6(p);
4317
4317
  throw new Error("ipaddr: the binary input is neither an IPv6 nor IPv4 address");
4318
- }, w.isValid = function(p) {
4319
- return w.IPv6.isValid(p) || w.IPv4.isValid(p);
4320
- }, w.parse = function(p) {
4321
- if (w.IPv6.isValid(p))
4322
- return w.IPv6.parse(p);
4323
- if (w.IPv4.isValid(p))
4324
- return w.IPv4.parse(p);
4318
+ }, m.isValid = function(p) {
4319
+ return m.IPv6.isValid(p) || m.IPv4.isValid(p);
4320
+ }, m.parse = function(p) {
4321
+ if (m.IPv6.isValid(p))
4322
+ return m.IPv6.parse(p);
4323
+ if (m.IPv4.isValid(p))
4324
+ return m.IPv4.parse(p);
4325
4325
  throw new Error("ipaddr: the address has neither IPv6 nor IPv4 format");
4326
- }, w.parseCIDR = function(p) {
4326
+ }, m.parseCIDR = function(p) {
4327
4327
  try {
4328
- return w.IPv6.parseCIDR(p);
4328
+ return m.IPv6.parseCIDR(p);
4329
4329
  } catch {
4330
4330
  try {
4331
- return w.IPv4.parseCIDR(p);
4331
+ return m.IPv4.parseCIDR(p);
4332
4332
  } catch {
4333
4333
  throw new Error("ipaddr: the address has neither IPv6 nor IPv4 CIDR format");
4334
4334
  }
4335
4335
  }
4336
- }, w.process = function(p) {
4336
+ }, m.process = function(p) {
4337
4337
  const y = this.parse(p);
4338
4338
  return y.kind() === "ipv6" && y.isIPv4MappedAddress() ? y.toIPv4Address() : y;
4339
- }, w.subnetMatch = function(p, y, v) {
4340
- let b, B, O, A;
4339
+ }, m.subnetMatch = function(p, y, v) {
4340
+ let w, B, O, A;
4341
4341
  v == null && (v = "unicast");
4342
4342
  for (B in y)
4343
4343
  if (Object.prototype.hasOwnProperty.call(y, B)) {
4344
- for (O = y[B], O[0] && !(O[0] instanceof Array) && (O = [O]), b = 0; b < O.length; b++)
4345
- if (A = O[b], p.kind() === A[0].kind() && p.match.apply(p, A))
4344
+ for (O = y[B], O[0] && !(O[0] instanceof Array) && (O = [O]), w = 0; w < O.length; w++)
4345
+ if (A = O[w], p.kind() === A[0].kind() && p.match.apply(p, A))
4346
4346
  return B;
4347
4347
  }
4348
4348
  return v;
4349
- }, e.exports ? e.exports = w : t.ipaddr = w;
4349
+ }, e.exports ? e.exports = m : t.ipaddr = m;
4350
4350
  })(ss);
4351
4351
  })(Vf);
4352
4352
  var Dl = Vf.exports;
@@ -9222,14 +9222,14 @@ function sg(e, t, r, i = {
9222
9222
  headers: e.requestHeaders
9223
9223
  }), { i18n: { t: o } } = bl(), { debounce: s } = Gy(), a = s(async (A) => {
9224
9224
  await O(A);
9225
- }, 200), l = re(!1), u = re(""), h = re(""), d = re([]), E = re([]), w = re(void 0), p = S(t);
9225
+ }, 200), l = re(!1), u = re(""), h = re(""), d = re([]), E = re([]), m = re(void 0), p = S(t);
9226
9226
  let y = `${e.apiBaseUrl}${p}`;
9227
9227
  e.app === "konnect" ? y = y.replace(/{controlPlaneId}/gi, (e == null ? void 0 : e.controlPlaneId) || "") : e.app === "kongManager" && (y = y.replace(/\/{workspace}/gi, e != null && e.workspace ? `/${e.workspace}` : ""));
9228
- const { isValidUuid: v } = Ed(), b = async () => {
9228
+ const { isValidUuid: v } = Ed(), w = async () => {
9229
9229
  try {
9230
9230
  l.value = !0;
9231
9231
  const { data: A } = await n.get(`${y}?size=${r}`);
9232
- A != null && A.next || (w.value = i.fetchedItemsKey in A ? A[i.fetchedItemsKey] : []), E.value = i.fetchedItemsKey in A ? A[i.fetchedItemsKey] : [], d.value = E.value;
9232
+ A != null && A.next || (m.value = i.fetchedItemsKey in A ? A[i.fetchedItemsKey] : []), E.value = i.fetchedItemsKey in A ? A[i.fetchedItemsKey] : [], d.value = E.value;
9233
9233
  } catch {
9234
9234
  d.value = [], u.value = o("debouncedFilter.errors.fetch");
9235
9235
  } finally {
@@ -9238,7 +9238,7 @@ function sg(e, t, r, i = {
9238
9238
  }, B = re(""), O = async (A) => {
9239
9239
  var k, x, D;
9240
9240
  if (B.value !== A)
9241
- if (B.value = A || "", w.value === void 0)
9241
+ if (B.value = A || "", m.value === void 0)
9242
9242
  try {
9243
9243
  if (l.value = !0, u.value = "", h.value = "", e.app === "konnect") {
9244
9244
  let j = y + "";
@@ -9271,7 +9271,7 @@ function sg(e, t, r, i = {
9271
9271
  l.value = !1;
9272
9272
  }
9273
9273
  else
9274
- l.value = !0, h.value = "", A ? (d.value = (D = w.value) == null ? void 0 : D.filter((j) => {
9274
+ l.value = !0, h.value = "", A ? (d.value = (D = m.value) == null ? void 0 : D.filter((j) => {
9275
9275
  var N;
9276
9276
  let ue = !1;
9277
9277
  for (const J of i.searchKeys) {
@@ -9279,15 +9279,15 @@ function sg(e, t, r, i = {
9279
9279
  $ != null && $.includes(A.toLowerCase()) && (ue = !0);
9280
9280
  }
9281
9281
  return ue;
9282
- }), (!d.value || !d.value.length) && (h.value = o("debouncedFilter.errors.invalid"))) : d.value = w.value, l.value = !1;
9282
+ }), (!d.value || !d.value.length) && (h.value = o("debouncedFilter.errors.invalid"))) : d.value = m.value, l.value = !1;
9283
9283
  };
9284
9284
  return {
9285
9285
  loading: l,
9286
9286
  error: u,
9287
9287
  validationError: h,
9288
9288
  results: d,
9289
- allRecords: w,
9290
- loadItems: b,
9289
+ allRecords: m,
9290
+ loadItems: w,
9291
9291
  debouncedQueryChange: a
9292
9292
  };
9293
9293
  }
@@ -9347,58 +9347,64 @@ function Od(e, t) {
9347
9347
  return (s) => {
9348
9348
  const { page: a, pageSize: l, offset: u, sortColumnKey: h, sortColumnOrder: d, query: E } = s;
9349
9349
  try {
9350
- let w = new URL(o.value.href);
9351
- return n.value && E ? (w.search = "", w = r.value.isExactMatch ? new URL(`${w.href}/${E}/`) : new URL(`${w.href}?filter[name][contains]=${E}`)) : (n.value || new URLSearchParams(E).forEach((p, y) => {
9352
- w.searchParams.append(y, p);
9353
- }), h && w.searchParams.append("sort_by", h), d === "desc" && w.searchParams.append("sort_desc", "1"), w.searchParams.append("size", String(l))), u && a !== 1 && w.searchParams.append("offset", String(u)), w.href;
9354
- } catch (w) {
9355
- return console.error("RouteList(fetcher)", w), i.value;
9350
+ let m = new URL(o.value.href);
9351
+ return n.value && E ? (m.search = "", m = r.value.isExactMatch ? new URL(`${m.href}/${E}/`) : new URL(`${m.href}?filter[name][contains]=${E}`)) : (n.value || new URLSearchParams(E).forEach((p, y) => {
9352
+ m.searchParams.append(y, p);
9353
+ }), h && m.searchParams.append("sort_by", h), d === "desc" && m.searchParams.append("sort_desc", "1"), m.searchParams.append("size", String(l))), u && a !== 1 && m.searchParams.append("offset", String(u)), m.href;
9354
+ } catch (m) {
9355
+ return console.error("RouteList(fetcher)", m), i.value;
9356
9356
  }
9357
9357
  };
9358
9358
  }
9359
9359
  function ug(e, t, r = "data") {
9360
- const i = S(t), { axiosInstance: n } = ml({
9361
- headers: e.requestHeaders
9362
- }), o = Od(e, i), s = re({
9360
+ var i;
9361
+ const n = S(t), { axiosInstance: o } = ml({
9362
+ ...e.axiosRequestConfig,
9363
+ headers: { ...(i = e.axiosRequestConfig) == null ? void 0 : i.headers, ...e.requestHeaders }
9364
+ }), s = Od(e, n), a = re({
9363
9365
  status: Zt.Idle
9364
9366
  });
9365
- return { fetcher: async (a) => {
9367
+ return { fetcher: async (l) => {
9368
+ var u;
9366
9369
  try {
9367
- s.value = { status: Zt.Loading };
9368
- let l = o(a);
9369
- l.includes("filter[name]") && (l = `${l}&page[size]=${a.pageSize}&page[number]=${a.page}`);
9370
- const { data: u } = await n.get(l), h = r && r.replace(/[^\w-_]/gi, "");
9371
- let d;
9372
- u[h] && Array.isArray(u[h]) ? d = u[h] : Array.isArray(u) ? d = u : d = Object.keys(u).length ? [u] : [];
9373
- const E = {
9374
- data: d,
9375
- total: d.length,
9376
- ...u.offset ? {
9370
+ a.value = { status: Zt.Loading };
9371
+ let h = s(l);
9372
+ h.includes("filter[name]") && (h = `${h}&page[size]=${l.pageSize}&page[number]=${l.page}`);
9373
+ const d = await o.get(h);
9374
+ if (d.status >= 400)
9375
+ throw d;
9376
+ const E = d.data, m = r && r.replace(/[^\w-_]/gi, "");
9377
+ let p;
9378
+ E[m] && Array.isArray(E[m]) ? p = E[m] : Array.isArray(E) ? p = E : p = Object.keys(E).length ? [E] : [];
9379
+ const y = {
9380
+ data: p,
9381
+ total: p.length,
9382
+ ...E.offset ? {
9377
9383
  pagination: {
9378
- offset: u.offset
9384
+ offset: E.offset
9379
9385
  }
9380
9386
  } : null
9381
9387
  };
9382
- return s.value = {
9388
+ return a.value = {
9383
9389
  status: Zt.Idle,
9384
- response: E
9385
- }, E;
9386
- } catch (l) {
9387
- const u = {
9390
+ response: y
9391
+ }, y;
9392
+ } catch (h) {
9393
+ const d = {
9388
9394
  data: [],
9389
9395
  total: 0
9390
9396
  };
9391
- return a.query && l.response.status === 404 ? (s.value = {
9397
+ return l.query && (((u = h.response) == null ? void 0 : u.status) === 404 || h.status === 404) ? (a.value = {
9392
9398
  status: Zt.NoResults,
9393
- response: u,
9394
- error: l
9395
- }, u) : (s.value = {
9399
+ response: d,
9400
+ error: h.response ? h : { response: h }
9401
+ }, d) : (a.value = {
9396
9402
  status: Zt.Error,
9397
- response: u,
9398
- error: l
9399
- }, u);
9403
+ response: d,
9404
+ error: h.response ? h : { response: h }
9405
+ }, d);
9400
9406
  }
9401
- }, fetcherState: s };
9407
+ }, fetcherState: a };
9402
9408
  }
9403
9409
  function fg() {
9404
9410
  const e = (r, i = "_") => r ? r.split(i).map((n) => n.toLowerCase() === "id" ? n.toUpperCase() : n.charAt(0).toUpperCase() + n.substring(1)).join(" ") : "", t = /(?:^|[\s-:'"])\w/g;
@@ -9722,9 +9728,9 @@ const He = {
9722
9728
  text: r.item.value
9723
9729
  };
9724
9730
  }
9725
- }), E = re(), { isTruncated: w } = He.useTruncationDetector(E);
9731
+ }), E = re(), { isTruncated: m } = He.useTruncationDetector(E);
9726
9732
  return (p, y) => {
9727
- const v = se("KLabel"), b = se("KBadge"), B = se("KCopy"), O = se("KTooltip");
9733
+ const v = se("KLabel"), w = se("KBadge"), B = se("KCopy"), O = se("KTooltip");
9728
9734
  return _(), F("div", Ng, [
9729
9735
  fe("div", {
9730
9736
  class: "config-card-details-label",
@@ -9767,7 +9773,7 @@ const He = {
9767
9773
  key: 0,
9768
9774
  "data-testid": `${e.item.key}-badge-tags`
9769
9775
  }, [
9770
- (_(!0), F(Qe, null, Ge(e.item.value, (A, k) => (_(), de(b, {
9776
+ (_(!0), F(Qe, null, Ge(e.item.value, (A, k) => (_(), de(w, {
9771
9777
  key: `${e.item.key}-badge-tag-${k}`,
9772
9778
  class: "config-badge",
9773
9779
  "data-testid": `${e.item.key}-badge-tag-${k}`,
@@ -9795,7 +9801,7 @@ const He = {
9795
9801
  class: "method-badge-array",
9796
9802
  "data-testid": `${e.item.key}-badge-methods`
9797
9803
  }, [
9798
- (_(!0), F(Qe, null, Ge(e.item.value, (A, k) => (_(), de(b, {
9804
+ (_(!0), F(Qe, null, Ge(e.item.value, (A, k) => (_(), de(w, {
9799
9805
  key: `${e.item.key}-badge-method-${k}`,
9800
9806
  appearance: Object.values(S(Wp)).includes(A.toLowerCase()) ? A.toLowerCase() : "custom",
9801
9807
  class: "config-badge",
@@ -9819,7 +9825,7 @@ const He = {
9819
9825
  }, null, 8, ["index", "item"]))), 128))
9820
9826
  ], 8, Dg)) : (_(), de(O, {
9821
9827
  key: 4,
9822
- text: S(w) ? e.item.value : ""
9828
+ text: S(m) ? e.item.value : ""
9823
9829
  }, {
9824
9830
  default: I(() => [
9825
9831
  fe("span", {
@@ -10643,29 +10649,29 @@ function Sl(e, t) {
10643
10649
  `, t - 1));
10644
10650
  }
10645
10651
  function Xv(e, t, r) {
10646
- var i, n, o, s, a, l, u, h, d = e.kind, E = e.result, w;
10647
- if (w = e.input.charCodeAt(e.position), it(w) || Dr(w) || w === 35 || w === 38 || w === 42 || w === 33 || w === 124 || w === 62 || w === 39 || w === 34 || w === 37 || w === 64 || w === 96 || (w === 63 || w === 45) && (n = e.input.charCodeAt(e.position + 1), it(n) || r && Dr(n)))
10652
+ var i, n, o, s, a, l, u, h, d = e.kind, E = e.result, m;
10653
+ if (m = e.input.charCodeAt(e.position), it(m) || Dr(m) || m === 35 || m === 38 || m === 42 || m === 33 || m === 124 || m === 62 || m === 39 || m === 34 || m === 37 || m === 64 || m === 96 || (m === 63 || m === 45) && (n = e.input.charCodeAt(e.position + 1), it(n) || r && Dr(n)))
10648
10654
  return !1;
10649
- for (e.kind = "scalar", e.result = "", o = s = e.position, a = !1; w !== 0; ) {
10650
- if (w === 58) {
10655
+ for (e.kind = "scalar", e.result = "", o = s = e.position, a = !1; m !== 0; ) {
10656
+ if (m === 58) {
10651
10657
  if (n = e.input.charCodeAt(e.position + 1), it(n) || r && Dr(n))
10652
10658
  break;
10653
- } else if (w === 35) {
10659
+ } else if (m === 35) {
10654
10660
  if (i = e.input.charCodeAt(e.position - 1), it(i))
10655
10661
  break;
10656
10662
  } else {
10657
- if (e.position === e.lineStart && Uo(e) || r && Dr(w))
10663
+ if (e.position === e.lineStart && Uo(e) || r && Dr(m))
10658
10664
  break;
10659
- if (Bt(w))
10665
+ if (Bt(m))
10660
10666
  if (l = e.line, u = e.lineStart, h = e.lineIndent, Te(e, !1, -1), e.lineIndent >= t) {
10661
- a = !0, w = e.input.charCodeAt(e.position);
10667
+ a = !0, m = e.input.charCodeAt(e.position);
10662
10668
  continue;
10663
10669
  } else {
10664
10670
  e.position = s, e.line = l, e.lineStart = u, e.lineIndent = h;
10665
10671
  break;
10666
10672
  }
10667
10673
  }
10668
- a && (tr(e, o, s, !1), Sl(e, e.line - l), o = s = e.position, a = !1), br(w) || (s = e.position + 1), w = e.input.charCodeAt(++e.position);
10674
+ a && (tr(e, o, s, !1), Sl(e, e.line - l), o = s = e.position, a = !1), br(m) || (s = e.position + 1), m = e.input.charCodeAt(++e.position);
10669
10675
  }
10670
10676
  return tr(e, o, s, !1), e.result ? !0 : (e.kind = d, e.result = E, !1);
10671
10677
  }
@@ -10708,17 +10714,17 @@ function tm(e, t) {
10708
10714
  ie(e, "unexpected end of the stream within a double quoted scalar");
10709
10715
  }
10710
10716
  function rm(e, t) {
10711
- var r = !0, i, n, o, s = e.tag, a, l = e.anchor, u, h, d, E, w, p = /* @__PURE__ */ Object.create(null), y, v, b, B;
10717
+ var r = !0, i, n, o, s = e.tag, a, l = e.anchor, u, h, d, E, m, p = /* @__PURE__ */ Object.create(null), y, v, w, B;
10712
10718
  if (B = e.input.charCodeAt(e.position), B === 91)
10713
- h = 93, w = !1, a = [];
10719
+ h = 93, m = !1, a = [];
10714
10720
  else if (B === 123)
10715
- h = 125, w = !0, a = {};
10721
+ h = 125, m = !0, a = {};
10716
10722
  else
10717
10723
  return !1;
10718
10724
  for (e.anchor !== null && (e.anchorMap[e.anchor] = a), B = e.input.charCodeAt(++e.position); B !== 0; ) {
10719
10725
  if (Te(e, !0, t), B = e.input.charCodeAt(e.position), B === h)
10720
- return e.position++, e.tag = s, e.anchor = l, e.kind = w ? "mapping" : "sequence", e.result = a, !0;
10721
- r ? B === 44 && ie(e, "expected the node content, but found ','") : ie(e, "missed comma between flow collection entries"), v = y = b = null, d = E = !1, B === 63 && (u = e.input.charCodeAt(e.position + 1), it(u) && (d = E = !0, e.position++, Te(e, !0, t))), i = e.line, n = e.lineStart, o = e.position, ii(e, t, $n, !1, !0), v = e.tag, y = e.result, Te(e, !0, t), B = e.input.charCodeAt(e.position), (E || e.line === i) && B === 58 && (d = !0, B = e.input.charCodeAt(++e.position), Te(e, !0, t), ii(e, t, $n, !1, !0), b = e.result), w ? Ur(e, a, p, v, y, b, i, n, o) : d ? a.push(Ur(e, null, p, v, y, b, i, n, o)) : a.push(y), Te(e, !0, t), B = e.input.charCodeAt(e.position), B === 44 ? (r = !0, B = e.input.charCodeAt(++e.position)) : r = !1;
10726
+ return e.position++, e.tag = s, e.anchor = l, e.kind = m ? "mapping" : "sequence", e.result = a, !0;
10727
+ r ? B === 44 && ie(e, "expected the node content, but found ','") : ie(e, "missed comma between flow collection entries"), v = y = w = null, d = E = !1, B === 63 && (u = e.input.charCodeAt(e.position + 1), it(u) && (d = E = !0, e.position++, Te(e, !0, t))), i = e.line, n = e.lineStart, o = e.position, ii(e, t, $n, !1, !0), v = e.tag, y = e.result, Te(e, !0, t), B = e.input.charCodeAt(e.position), (E || e.line === i) && B === 58 && (d = !0, B = e.input.charCodeAt(++e.position), Te(e, !0, t), ii(e, t, $n, !1, !0), w = e.result), m ? Ur(e, a, p, v, y, w, i, n, o) : d ? a.push(Ur(e, null, p, v, y, w, i, n, o)) : a.push(y), Te(e, !0, t), B = e.input.charCodeAt(e.position), B === 44 ? (r = !0, B = e.input.charCodeAt(++e.position)) : r = !1;
10722
10728
  }
10723
10729
  ie(e, "unexpected end of the stream within a flow collection");
10724
10730
  }
@@ -10786,12 +10792,12 @@ function wu(e, t) {
10786
10792
  return a ? (e.tag = i, e.anchor = n, e.kind = "sequence", e.result = o, !0) : !1;
10787
10793
  }
10788
10794
  function nm(e, t, r) {
10789
- var i, n, o, s, a, l, u = e.tag, h = e.anchor, d = {}, E = /* @__PURE__ */ Object.create(null), w = null, p = null, y = null, v = !1, b = !1, B;
10795
+ var i, n, o, s, a, l, u = e.tag, h = e.anchor, d = {}, E = /* @__PURE__ */ Object.create(null), m = null, p = null, y = null, v = !1, w = !1, B;
10790
10796
  if (e.firstTabInLine !== -1)
10791
10797
  return !1;
10792
10798
  for (e.anchor !== null && (e.anchorMap[e.anchor] = d), B = e.input.charCodeAt(e.position); B !== 0; ) {
10793
10799
  if (!v && e.firstTabInLine !== -1 && (e.position = e.firstTabInLine, ie(e, "tab characters must not be used in indentation")), i = e.input.charCodeAt(e.position + 1), o = e.line, (B === 63 || B === 58) && it(i))
10794
- B === 63 ? (v && (Ur(e, d, E, w, p, null, s, a, l), w = p = y = null), b = !0, v = !0, n = !0) : v ? (v = !1, n = !0) : ie(e, "incomplete explicit mapping pair; a key node is missed; or followed by a non-tabulated empty line"), e.position += 1, B = i;
10800
+ B === 63 ? (v && (Ur(e, d, E, m, p, null, s, a, l), m = p = y = null), w = !0, v = !0, n = !0) : v ? (v = !1, n = !0) : ie(e, "incomplete explicit mapping pair; a key node is missed; or followed by a non-tabulated empty line"), e.position += 1, B = i;
10795
10801
  else {
10796
10802
  if (s = e.line, a = e.lineStart, l = e.position, !ii(e, r, tp, !1, !0))
10797
10803
  break;
@@ -10799,22 +10805,22 @@ function nm(e, t, r) {
10799
10805
  for (B = e.input.charCodeAt(e.position); br(B); )
10800
10806
  B = e.input.charCodeAt(++e.position);
10801
10807
  if (B === 58)
10802
- B = e.input.charCodeAt(++e.position), it(B) || ie(e, "a whitespace character is expected after the key-value separator within a block mapping"), v && (Ur(e, d, E, w, p, null, s, a, l), w = p = y = null), b = !0, v = !1, n = !1, w = e.tag, p = e.result;
10803
- else if (b)
10808
+ B = e.input.charCodeAt(++e.position), it(B) || ie(e, "a whitespace character is expected after the key-value separator within a block mapping"), v && (Ur(e, d, E, m, p, null, s, a, l), m = p = y = null), w = !0, v = !1, n = !1, m = e.tag, p = e.result;
10809
+ else if (w)
10804
10810
  ie(e, "can not read an implicit mapping pair; a colon is missed");
10805
10811
  else
10806
10812
  return e.tag = u, e.anchor = h, !0;
10807
- } else if (b)
10813
+ } else if (w)
10808
10814
  ie(e, "can not read a block mapping entry; a multiline key may not be an implicit key");
10809
10815
  else
10810
10816
  return e.tag = u, e.anchor = h, !0;
10811
10817
  }
10812
- if ((e.line === o || e.lineIndent > t) && (v && (s = e.line, a = e.lineStart, l = e.position), ii(e, t, Rn, !0, n) && (v ? p = e.result : y = e.result), v || (Ur(e, d, E, w, p, y, s, a, l), w = p = y = null), Te(e, !0, -1), B = e.input.charCodeAt(e.position)), (e.line === o || e.lineIndent > t) && B !== 0)
10818
+ if ((e.line === o || e.lineIndent > t) && (v && (s = e.line, a = e.lineStart, l = e.position), ii(e, t, Rn, !0, n) && (v ? p = e.result : y = e.result), v || (Ur(e, d, E, m, p, y, s, a, l), m = p = y = null), Te(e, !0, -1), B = e.input.charCodeAt(e.position)), (e.line === o || e.lineIndent > t) && B !== 0)
10813
10819
  ie(e, "bad indentation of a mapping entry");
10814
10820
  else if (e.lineIndent < t)
10815
10821
  break;
10816
10822
  }
10817
- return v && Ur(e, d, E, w, p, null, s, a, l), b && (e.tag = u, e.anchor = h, e.kind = "mapping", e.result = d), b;
10823
+ return v && Ur(e, d, E, m, p, null, s, a, l), w && (e.tag = u, e.anchor = h, e.kind = "mapping", e.result = d), w;
10818
10824
  }
10819
10825
  function om(e) {
10820
10826
  var t, r = !1, i = !1, n, o, s;
@@ -10855,7 +10861,7 @@ function am(e) {
10855
10861
  return e.position === t && ie(e, "name of an alias node must contain at least one character"), r = e.input.slice(t, e.position), nr.call(e.anchorMap, r) || ie(e, 'unidentified alias "' + r + '"'), e.result = e.anchorMap[r], Te(e, !0, -1), !0;
10856
10862
  }
10857
10863
  function ii(e, t, r, i, n) {
10858
- var o, s, a, l = 1, u = !1, h = !1, d, E, w, p, y, v;
10864
+ var o, s, a, l = 1, u = !1, h = !1, d, E, m, p, y, v;
10859
10865
  if (e.listener !== null && e.listener("open", e), e.tag = null, e.anchor = null, e.kind = null, e.result = null, o = s = a = Rn === r || rp === r, i && Te(e, !0, -1) && (u = !0, e.lineIndent > t ? l = 1 : e.lineIndent === t ? l = 0 : e.lineIndent < t && (l = -1)), l === 1)
10860
10866
  for (; om(e) || sm(e); )
10861
10867
  Te(e, !0, -1) ? (u = !0, a = o, e.lineIndent > t ? l = 1 : e.lineIndent === t ? l = 0 : e.lineIndent < t && (l = -1)) : a = !1;
@@ -10871,9 +10877,9 @@ function ii(e, t, r, i, n) {
10871
10877
  if (nr.call(e.typeMap[e.kind || "fallback"], e.tag))
10872
10878
  p = e.typeMap[e.kind || "fallback"][e.tag];
10873
10879
  else
10874
- for (p = null, w = e.typeMap.multi[e.kind || "fallback"], d = 0, E = w.length; d < E; d += 1)
10875
- if (e.tag.slice(0, w[d].tag.length) === w[d].tag) {
10876
- p = w[d];
10880
+ for (p = null, m = e.typeMap.multi[e.kind || "fallback"], d = 0, E = m.length; d < E; d += 1)
10881
+ if (e.tag.slice(0, m[d].tag.length) === m[d].tag) {
10882
+ p = m[d];
10877
10883
  break;
10878
10884
  }
10879
10885
  p || ie(e, "unknown tag !<" + e.tag + ">"), e.result !== null && p.kind !== e.kind && ie(e, "unacceptable node kind for !<" + e.tag + '> tag; it should be "' + p.kind + '", not "' + e.kind + '"'), p.resolve(e.result, e.tag) ? (e.result = p.construct(e.result, e.tag), e.anchor !== null && (e.anchorMap[e.anchor] = e.result)) : ie(e, "cannot resolve a node with !<" + e.tag + "> explicit tag");
@@ -11051,7 +11057,7 @@ function vp(e) {
11051
11057
  }
11052
11058
  var mp = 1, Ia = 2, bp = 3, wp = 4, Rr = 5;
11053
11059
  function Rm(e, t, r, i, n, o, s, a) {
11054
- var l, u = 0, h = null, d = !1, E = !1, w = i !== -1, p = -1, y = Vm(gi(e, 0)) && $m(gi(e, e.length - 1));
11060
+ var l, u = 0, h = null, d = !1, E = !1, m = i !== -1, p = -1, y = Vm(gi(e, 0)) && $m(gi(e, e.length - 1));
11055
11061
  if (t || s)
11056
11062
  for (l = 0; l < e.length; u >= 65536 ? l += 2 : l++) {
11057
11063
  if (u = gi(e, l), !Ri(u))
@@ -11061,13 +11067,13 @@ function Rm(e, t, r, i, n, o, s, a) {
11061
11067
  else {
11062
11068
  for (l = 0; l < e.length; u >= 65536 ? l += 2 : l++) {
11063
11069
  if (u = gi(e, l), u === Vi)
11064
- d = !0, w && (E = E || // Foldable line = too long, and not more-indented.
11070
+ d = !0, m && (E = E || // Foldable line = too long, and not more-indented.
11065
11071
  l - p - 1 > i && e[p + 1] !== " ", p = l);
11066
11072
  else if (!Ri(u))
11067
11073
  return Rr;
11068
11074
  y = y && Su(u, h, a), h = u;
11069
11075
  }
11070
- E = E || w && l - p - 1 > i && e[p + 1] !== " ";
11076
+ E = E || m && l - p - 1 > i && e[p + 1] !== " ";
11071
11077
  }
11072
11078
  return !d && !E ? y && !s && !n(e) ? mp : o === $i ? Rr : Ia : r > 9 && vp(e) ? Rr : s ? o === $i ? Rr : Ia : E ? wp : bp;
11073
11079
  }
@@ -11934,7 +11940,7 @@ const u0 = { class: "yaml-config" }, kp = /* @__PURE__ */ xe({
11934
11940
  // the last property displayed
11935
11941
  section: Ce.Basic
11936
11942
  }
11937
- }, w = re(!1), p = re(!1), y = re(""), v = re({}), b = L(() => {
11943
+ }, m = re(!1), p = re(!1), y = re(""), v = re({}), w = L(() => {
11938
11944
  var x, D, j;
11939
11945
  if (!v.value)
11940
11946
  return [];
@@ -11987,9 +11993,9 @@ const u0 = { class: "yaml-config" }, kp = /* @__PURE__ */ xe({
11987
11993
  }), O = L(() => {
11988
11994
  var x, D, j, N;
11989
11995
  return {
11990
- basic: (x = b.value) == null ? void 0 : x.filter((ue) => ue.section === Ce.Basic),
11991
- advanced: (D = b.value) == null ? void 0 : D.filter((ue) => ue.section === Ce.Advanced),
11992
- plugin: (N = B.value) == null ? void 0 : N.concat((j = b.value) == null ? void 0 : j.filter((ue) => ue.section === Ce.Plugin))
11996
+ basic: (x = w.value) == null ? void 0 : x.filter((ue) => ue.section === Ce.Basic),
11997
+ advanced: (D = w.value) == null ? void 0 : D.filter((ue) => ue.section === Ce.Advanced),
11998
+ plugin: (N = B.value) == null ? void 0 : N.concat((j = w.value) == null ? void 0 : j.filter((ue) => ue.section === Ce.Plugin))
11993
11999
  };
11994
12000
  }), A = L(() => {
11995
12001
  const x = [];
@@ -11999,10 +12005,10 @@ const u0 = { class: "yaml-config" }, kp = /* @__PURE__ */ xe({
11999
12005
  let j = `${n.config.apiBaseUrl}${n.fetchUrl}`;
12000
12006
  return n.config.app === "konnect" ? j = j.replace(/{controlPlaneId}/gi, ((x = n.config) == null ? void 0 : x.controlPlaneId) || "") : n.config.app === "kongManager" && (j = j.replace(/\/{workspace}/gi, (D = n.config) != null && D.workspace ? `/${n.config.workspace}` : "")), j = j.replace(/{id}/gi, n.config.entityId), j;
12001
12007
  });
12002
- return sr(w, (x) => {
12008
+ return sr(m, (x) => {
12003
12009
  i("loading", x);
12004
12010
  }, { immediate: !0 }), Fn(async () => {
12005
- p.value = !1, w.value = !0;
12011
+ p.value = !1, m.value = !0;
12006
12012
  try {
12007
12013
  const { data: x } = await l.get(k.value);
12008
12014
  if (n.dataKey)
@@ -12019,7 +12025,7 @@ const u0 = { class: "yaml-config" }, kp = /* @__PURE__ */ xe({
12019
12025
  const D = s(x);
12020
12026
  y.value = D.startsWith("code") ? o("baseConfigCard.errors.load") : D, p.value = !0, i("fetch:error", x);
12021
12027
  } finally {
12022
- w.value = !1;
12028
+ m.value = !1;
12023
12029
  }
12024
12030
  }), (x, D) => {
12025
12031
  const j = se("KLabel"), N = se("KSelect"), ue = se("KButton"), J = se("KSkeleton"), $ = se("KEmptyState"), ne = se("KCard");
@@ -12061,7 +12067,7 @@ const u0 = { class: "yaml-config" }, kp = /* @__PURE__ */ xe({
12061
12067
  ])
12062
12068
  ]),
12063
12069
  default: I(() => [
12064
- w.value ? (_(), de(J, {
12070
+ m.value ? (_(), de(J, {
12065
12071
  key: 0,
12066
12072
  "data-testid": "config-card-loader",
12067
12073
  "table-columns": 2,
@@ -12173,15 +12179,15 @@ const u0 = { class: "yaml-config" }, kp = /* @__PURE__ */ xe({
12173
12179
  var r;
12174
12180
  const i = t, n = e, o = Di(), { i18n: { t: s } } = He.useI18n(), { getMessageFromError: a } = He.useErrors(), { axiosInstance: l } = He.useAxios({
12175
12181
  headers: (r = n.config) == null ? void 0 : r.requestHeaders
12176
- }), u = re(!1), h = re(!1), d = re(""), E = L(() => n.canSubmit === !1 || n.isReadonly), w = re(!1), p = L(() => {
12182
+ }), u = re(!1), h = re(!1), d = re(""), E = L(() => n.canSubmit === !1 || n.isReadonly), m = re(!1), p = L(() => {
12177
12183
  var A, k;
12178
12184
  let x = `${n.config.apiBaseUrl}${n.fetchUrl}`;
12179
12185
  return n.config.app === "konnect" ? x = x.replace(/{controlPlaneId}/gi, ((A = n.config) == null ? void 0 : A.controlPlaneId) || "") : n.config.app === "kongManager" && (x = x.replace(/\/{workspace}/gi, (k = n.config) != null && k.workspace ? `/${n.config.workspace}` : "")), n.editId ? (x = x.replace(/{id}/gi, n.editId), x) : (x = x.replace(/\/{id}/gi, ""), x);
12180
12186
  }), y = () => {
12181
- w.value = !w.value;
12187
+ m.value = !m.value;
12182
12188
  }, v = () => {
12183
- n.config.cancelRoute ? o.push(n.config.cancelRoute) : b();
12184
- }, b = () => {
12189
+ n.config.cancelRoute ? o.push(n.config.cancelRoute) : w();
12190
+ }, w = () => {
12185
12191
  i("cancel");
12186
12192
  }, B = () => {
12187
12193
  E.value || i("submit");
@@ -12230,7 +12236,7 @@ const u0 = { class: "yaml-config" }, kp = /* @__PURE__ */ xe({
12230
12236
  }, 8, ["action-button-text"])) : (_(), F("form", {
12231
12237
  key: 2,
12232
12238
  "data-testid": "form-content",
12233
- onReset: an(b, ["prevent"]),
12239
+ onReset: an(w, ["prevent"]),
12234
12240
  onSubmit: an(B, ["prevent"])
12235
12241
  }, [
12236
12242
  Oe(A.$slots, "default", {}, void 0, !0),
@@ -12283,7 +12289,7 @@ const u0 = { class: "yaml-config" }, kp = /* @__PURE__ */ xe({
12283
12289
  "has-overlay": !1,
12284
12290
  "offset-top": 60,
12285
12291
  title: S(s)("baseForm.configuration.title"),
12286
- visible: w.value,
12292
+ visible: m.value,
12287
12293
  onClose: k[1] || (k[1] = (ne) => y())
12288
12294
  }, {
12289
12295
  default: I(() => [
@@ -12339,16 +12345,16 @@ const u0 = { class: "yaml-config" }, kp = /* @__PURE__ */ xe({
12339
12345
  return ((y = r.value) == null ? void 0 : y.querySelector('[data-testid="first-col"]')) || null;
12340
12346
  }), n = L(() => {
12341
12347
  var y, v;
12342
- const b = (y = t.rowEl) == null ? void 0 : y.querySelectorAll("td");
12343
- return b ? ((v = b[0]) == null ? void 0 : v.getAttribute("data-testid")) === t.keyName : !1;
12348
+ const w = (y = t.rowEl) == null ? void 0 : y.querySelectorAll("td");
12349
+ return w ? ((v = w[0]) == null ? void 0 : v.getAttribute("data-testid")) === t.keyName : !1;
12344
12350
  });
12345
12351
  let o;
12346
12352
  const s = () => {
12347
12353
  o && (o.disconnect(), o = void 0);
12348
12354
  }, a = () => {
12349
- var y, v, b;
12350
- u.value = ((y = i.value) == null ? void 0 : y.getBoundingClientRect().width) || 0, h.value = ((v = r.value) == null ? void 0 : v.clientWidth) || 0, d.value = ((b = l.value) == null ? void 0 : b.innerText) || "";
12351
- }, l = re({}), u = re(0), h = re(0), d = re(""), E = L(() => [i.value, r.value]), w = sr(
12355
+ var y, v, w;
12356
+ u.value = ((y = i.value) == null ? void 0 : y.getBoundingClientRect().width) || 0, h.value = ((v = r.value) == null ? void 0 : v.clientWidth) || 0, d.value = ((w = l.value) == null ? void 0 : w.innerText) || "";
12357
+ }, l = re({}), u = re(0), h = re(0), d = re(""), E = L(() => [i.value, r.value]), m = sr(
12352
12358
  E,
12353
12359
  (y) => {
12354
12360
  if (n.value && (s(), "ResizeObserver" in window && window)) {
@@ -12366,16 +12372,16 @@ const u0 = { class: "yaml-config" }, kp = /* @__PURE__ */ xe({
12366
12372
  return zp(() => {
12367
12373
  a();
12368
12374
  }), Gp(() => {
12369
- w();
12375
+ m();
12370
12376
  }), (y, v) => {
12371
- const b = se("KTooltip");
12377
+ const w = se("KTooltip");
12372
12378
  return _(), F("span", {
12373
12379
  ref_key: "contentRef",
12374
12380
  ref: l,
12375
12381
  class: "content-wrapper"
12376
12382
  }, [
12377
12383
  n.value ? (_(), F("span", G0, [
12378
- P(b, {
12384
+ P(w, {
12379
12385
  "max-width": "300",
12380
12386
  placement: "bottomStart",
12381
12387
  text: p.value ? d.value : ""
@@ -12543,7 +12549,7 @@ const u0 = { class: "yaml-config" }, kp = /* @__PURE__ */ xe({
12543
12549
  overflowX: "hidden",
12544
12550
  textOverflow: "ellipsis"
12545
12551
  }), x;
12546
- }, w = () => {
12552
+ }, m = () => {
12547
12553
  i("empty-state-cta-clicked"), p();
12548
12554
  }, p = () => {
12549
12555
  i("clear-search-input");
@@ -12551,14 +12557,14 @@ const u0 = { class: "yaml-config" }, kp = /* @__PURE__ */ xe({
12551
12557
  i("click:row", x);
12552
12558
  }), v = (k) => {
12553
12559
  i("sort", k);
12554
- }, { setTablePreferences: b, getTablePreferences: B } = Jy(), O = L(() => {
12560
+ }, { setTablePreferences: w, getTablePreferences: B } = Jy(), O = L(() => {
12555
12561
  const k = B(r.preferencesStorageKey);
12556
12562
  return {
12557
12563
  ...r.initialFetcherParams,
12558
12564
  ...k
12559
12565
  };
12560
12566
  }), A = (k) => {
12561
- r.preferencesStorageKey && b(r.preferencesStorageKey, k);
12567
+ r.preferencesStorageKey && w(r.preferencesStorageKey, k);
12562
12568
  };
12563
12569
  return (k, x) => {
12564
12570
  const D = se("KIcon"), j = se("KButton"), N = se("KDropdown"), ue = se("KTable"), J = se("KCard");
@@ -12592,7 +12598,7 @@ const u0 = { class: "yaml-config" }, kp = /* @__PURE__ */ xe({
12592
12598
  "pagination-type": e.paginationType,
12593
12599
  "row-attrs": u,
12594
12600
  "search-input": e.query,
12595
- onKtableEmptyStateCtaClicked: w,
12601
+ onKtableEmptyStateCtaClicked: m,
12596
12602
  "onRow:click": y.value,
12597
12603
  onSort: x[0] || (x[0] = ($) => v($)),
12598
12604
  "onUpdate:tablePreferences": A
@@ -12864,7 +12870,7 @@ const u0 = { class: "yaml-config" }, kp = /* @__PURE__ */ xe({
12864
12870
  a.value.has(A) ? a.value.delete(A) : a.value.add(A);
12865
12871
  }, E = (A) => {
12866
12872
  n("update:modelValue", A);
12867
- }, w = () => {
12873
+ }, m = () => {
12868
12874
  E("");
12869
12875
  }, p = (A) => `filter-${A}`, y = (A) => {
12870
12876
  var k, x;
@@ -12875,7 +12881,7 @@ const u0 = { class: "yaml-config" }, kp = /* @__PURE__ */ xe({
12875
12881
  }, v = (A) => {
12876
12882
  var k, x;
12877
12883
  return ((x = (k = i.config.schema) == null ? void 0 : k[A]) == null ? void 0 : x.type) ?? "text";
12878
- }, b = (A) => {
12884
+ }, w = (A) => {
12879
12885
  s.value = {
12880
12886
  ...s.value,
12881
12887
  [A]: ""
@@ -12903,7 +12909,7 @@ const u0 = { class: "yaml-config" }, kp = /* @__PURE__ */ xe({
12903
12909
  after: I(() => [
12904
12910
  Vt(P(S(D0), {
12905
12911
  class: "kong-ui-entity-filter-clear",
12906
- onClick: w
12912
+ onClick: m
12907
12913
  }, null, 512), [
12908
12914
  [$t, e.modelValue !== ""]
12909
12915
  ])
@@ -12991,7 +12997,7 @@ const u0 = { class: "yaml-config" }, kp = /* @__PURE__ */ xe({
12991
12997
  appearance: "tertiary",
12992
12998
  "data-testid": "clear-filter",
12993
12999
  size: "small",
12994
- onClick: ($) => b(N.value)
13000
+ onClick: ($) => w(N.value)
12995
13001
  }, {
12996
13002
  default: I(() => [
12997
13003
  pe(U(S(r)("filter.clearButtonText")), 1)
@@ -13171,7 +13177,7 @@ const u0 = { class: "yaml-config" }, kp = /* @__PURE__ */ xe({
13171
13177
  san: { label: n("certificates.list.table_headers.san") },
13172
13178
  cert: { label: n("certificates.list.table_headers.cert") },
13173
13179
  tags: { label: n("certificates.list.table_headers.tags"), sortable: !0 }
13174
- }, w = L(() => {
13180
+ }, m = L(() => {
13175
13181
  var Y, Se;
13176
13182
  let z = `${i.config.apiBaseUrl}${wi.list[i.config.app]}`;
13177
13183
  return i.config.app === "konnect" ? z = z.replace(/{controlPlaneId}/gi, ((Y = i.config) == null ? void 0 : Y.controlPlaneId) || "") : i.config.app === "kongManager" && (z = z.replace(/\/{workspace}/gi, (Se = i.config) != null && Se.workspace ? `/${i.config.workspace}` : "")), z;
@@ -13184,7 +13190,7 @@ const u0 = { class: "yaml-config" }, kp = /* @__PURE__ */ xe({
13184
13190
  isExactMatch: z,
13185
13191
  schema: i.config.filterSchema
13186
13192
  };
13187
- }), { fetcher: v, fetcherState: b } = Op(i.config, w.value), B = () => {
13193
+ }), { fetcher: v, fetcherState: w } = Op(i.config, m.value), B = () => {
13188
13194
  p.value = "";
13189
13195
  }, O = () => {
13190
13196
  u.value++;
@@ -13231,7 +13237,7 @@ const u0 = { class: "yaml-config" }, kp = /* @__PURE__ */ xe({
13231
13237
  label: n("certificates.actions.addSni"),
13232
13238
  to: i.config.getCreateSniRoute(z)
13233
13239
  };
13234
- }, J = re(void 0), $ = re(!1), ne = re(!1), he = re(""), Ue = Bp(i.config, w.value), { certificateDataCache: je, getCertificateData: Le } = Ot.useCertificate(), Tr = (z) => {
13240
+ }, J = re(void 0), $ = re(!1), ne = re(!1), he = re(""), Ue = Bp(i.config, m.value), { certificateDataCache: je, getCertificateData: Le } = Ot.useCertificate(), Tr = (z) => {
13235
13241
  J.value = z, $.value = !0;
13236
13242
  }, jr = () => {
13237
13243
  $.value = !1;
@@ -13248,7 +13254,7 @@ const u0 = { class: "yaml-config" }, kp = /* @__PURE__ */ xe({
13248
13254
  }
13249
13255
  }
13250
13256
  }, Pt = re(!0);
13251
- sr(b, (z) => {
13257
+ sr(w, (z) => {
13252
13258
  var Y, Se, Ye, lt;
13253
13259
  if (Array.isArray((Y = z == null ? void 0 : z.response) == null ? void 0 : Y.data) && (Pt.value = z.response.data.length > 0), z.status === Zt.Error) {
13254
13260
  A.value = {
@@ -13523,7 +13529,7 @@ const u0 = { class: "yaml-config" }, kp = /* @__PURE__ */ xe({
13523
13529
  certAlt: "",
13524
13530
  keyAlt: "",
13525
13531
  tags: ""
13526
- }), w = L(() => (h.value === mr.Create || JSON.stringify(d.fields) !== JSON.stringify(E)) && !!d.fields.cert && !!d.fields.key), p = (k) => {
13532
+ }), m = L(() => (h.value === mr.Create || JSON.stringify(d.fields) !== JSON.stringify(E)) && !!d.fields.cert && !!d.fields.key), p = (k) => {
13527
13533
  var x;
13528
13534
  d.fields.cert = (k == null ? void 0 : k.cert) || "", d.fields.key = (k == null ? void 0 : k.key) || "", d.fields.certAlt = (k == null ? void 0 : k.cert_alt) || "", d.fields.keyAlt = (k == null ? void 0 : k.key_alt) || "", d.fields.tags = ((x = k == null ? void 0 : k.tags) == null ? void 0 : x.join(", ")) || "", Object.assign(E, d.fields);
13529
13535
  }, y = () => {
@@ -13532,7 +13538,7 @@ const u0 = { class: "yaml-config" }, kp = /* @__PURE__ */ xe({
13532
13538
  var x, D;
13533
13539
  let k = `${i.config.apiBaseUrl}${wi.form[i.config.app].validate}`;
13534
13540
  return i.config.app === "konnect" ? k = k.replace(/{controlPlaneId}/gi, ((x = i.config) == null ? void 0 : x.controlPlaneId) || "") : i.config.app === "kongManager" && (k = k.replace(/\/{workspace}/gi, (D = i.config) != null && D.workspace ? `/${i.config.workspace}` : "")), k = k.replace(/{id}/gi, i.certificateId), k;
13535
- }), b = L(() => {
13541
+ }), w = L(() => {
13536
13542
  var x, D;
13537
13543
  let k = `${i.config.apiBaseUrl}${wi.form[i.config.app][h.value]}`;
13538
13544
  return i.config.app === "konnect" ? k = k.replace(/{controlPlaneId}/gi, ((x = i.config) == null ? void 0 : x.controlPlaneId) || "") : i.config.app === "kongManager" && (k = k.replace(/\/{workspace}/gi, (D = i.config) != null && D.workspace ? `/${i.config.workspace}` : "")), k = k.replace(/{id}/gi, i.certificateId), k;
@@ -13550,7 +13556,7 @@ const u0 = { class: "yaml-config" }, kp = /* @__PURE__ */ xe({
13550
13556
  try {
13551
13557
  d.isReadonly = !0;
13552
13558
  let $;
13553
- await l.post(v.value, B.value), h.value === "create" ? $ = await l.post(b.value, B.value) : h.value === "edit" && ($ = ((k = i.config) == null ? void 0 : k.app) === "konnect" ? await l.put(b.value, B.value) : await l.patch(b.value, B.value)), d.fields.cert = ((x = $ == null ? void 0 : $.data) == null ? void 0 : x.cert) || "", d.fields.key = ((D = $ == null ? void 0 : $.data) == null ? void 0 : D.key) || "", d.fields.certAlt = ((j = $ == null ? void 0 : $.data) == null ? void 0 : j.cert_alt) || "", d.fields.keyAlt = ((N = $ == null ? void 0 : $.data) == null ? void 0 : N.key_alt) || "", d.fields.tags = ((J = (ue = $ == null ? void 0 : $.data) == null ? void 0 : ue.tags) == null ? void 0 : J.join(", ")) || "", Object.assign(E, d.fields), r("update", $ == null ? void 0 : $.data);
13559
+ await l.post(v.value, B.value), h.value === "create" ? $ = await l.post(w.value, B.value) : h.value === "edit" && ($ = ((k = i.config) == null ? void 0 : k.app) === "konnect" ? await l.put(w.value, B.value) : await l.patch(w.value, B.value)), d.fields.cert = ((x = $ == null ? void 0 : $.data) == null ? void 0 : x.cert) || "", d.fields.key = ((D = $ == null ? void 0 : $.data) == null ? void 0 : D.key) || "", d.fields.certAlt = ((j = $ == null ? void 0 : $.data) == null ? void 0 : j.cert_alt) || "", d.fields.keyAlt = ((N = $ == null ? void 0 : $.data) == null ? void 0 : N.key_alt) || "", d.fields.tags = ((J = (ue = $ == null ? void 0 : $.data) == null ? void 0 : ue.tags) == null ? void 0 : J.join(", ")) || "", Object.assign(E, d.fields), r("update", $ == null ? void 0 : $.data);
13554
13560
  } catch ($) {
13555
13561
  d.errorMessage = a($), r("error", $);
13556
13562
  } finally {
@@ -13561,7 +13567,7 @@ const u0 = { class: "yaml-config" }, kp = /* @__PURE__ */ xe({
13561
13567
  const D = se("KTextArea"), j = se("KInput");
13562
13568
  return _(), F("div", M1, [
13563
13569
  P(S(Sp), {
13564
- "can-submit": w.value,
13570
+ "can-submit": m.value,
13565
13571
  config: e.config,
13566
13572
  "edit-id": e.certificateId,
13567
13573
  "error-message": d.errorMessage,
@@ -13751,7 +13757,7 @@ const u0 = { class: "yaml-config" }, kp = /* @__PURE__ */ xe({
13751
13757
  const r = ["dns_names", "san_names", "subject"], i = t, n = e, { i18n: { t: o, formatUnixTimeStamp: s } } = Ot.useI18n(), { convertKeyToTitle: a } = Np(), { getPropValue: l } = _p(), { getCertificateData: u } = Ot.useCertificate(), h = L(() => ki.form[n.config.app].edit), d = re(), E = L(() => {
13752
13758
  if (d.value)
13753
13759
  return u(d.value);
13754
- }), w = L(() => {
13760
+ }), m = L(() => {
13755
13761
  var O;
13756
13762
  return ((O = E.value) == null ? void 0 : O.schemaIssuer) || "";
13757
13763
  }), p = L(() => {
@@ -13768,7 +13774,7 @@ const u0 = { class: "yaml-config" }, kp = /* @__PURE__ */ xe({
13768
13774
  return y.value;
13769
13775
  if (k)
13770
13776
  return k[O];
13771
- }, b = (O) => {
13777
+ }, w = (O) => {
13772
13778
  d.value = O, i("fetch:success", O);
13773
13779
  }, B = re({
13774
13780
  id: {},
@@ -13822,7 +13828,7 @@ const u0 = { class: "yaml-config" }, kp = /* @__PURE__ */ xe({
13822
13828
  "fetch-url": h.value,
13823
13829
  "hide-title": e.hideTitle,
13824
13830
  "onFetch:error": A[0] || (A[0] = (j) => O.$emit("fetch:error", j)),
13825
- "onFetch:success": b,
13831
+ "onFetch:success": w,
13826
13832
  onLoading: A[1] || (A[1] = (j) => O.$emit("loading", j))
13827
13833
  }, {
13828
13834
  cert: I((j) => [
@@ -13858,7 +13864,7 @@ const u0 = { class: "yaml-config" }, kp = /* @__PURE__ */ xe({
13858
13864
  pe(U(p.value || "–"), 1)
13859
13865
  ]),
13860
13866
  issuer: I(() => [
13861
- pe(U(w.value || "–"), 1)
13867
+ pe(U(m.value || "–"), 1)
13862
13868
  ]),
13863
13869
  key_usages: I(() => [
13864
13870
  y.value.length ? we("", !0) : (_(), F("div", $1, U("–"))),
@@ -13933,7 +13939,7 @@ const u0 = { class: "yaml-config" }, kp = /* @__PURE__ */ xe({
13933
13939
  issuer: { label: n("ca-certificates.list.table_headers.issuer") },
13934
13940
  expiry: { label: n("ca-certificates.list.table_headers.expiry") },
13935
13941
  tags: { label: n("ca-certificates.list.table_headers.tags"), sortable: !0 }
13936
- }, w = L(() => {
13942
+ }, m = L(() => {
13937
13943
  var z, Y;
13938
13944
  let le = `${i.config.apiBaseUrl}${ki.list[i.config.app]}`;
13939
13945
  return i.config.app === "konnect" ? le = le.replace(/{controlPlaneId}/gi, ((z = i.config) == null ? void 0 : z.controlPlaneId) || "") : i.config.app === "kongManager" && (le = le.replace(/\/{workspace}/gi, (Y = i.config) != null && Y.workspace ? `/${i.config.workspace}` : "")), le;
@@ -13946,7 +13952,7 @@ const u0 = { class: "yaml-config" }, kp = /* @__PURE__ */ xe({
13946
13952
  isExactMatch: le,
13947
13953
  schema: i.config.filterSchema
13948
13954
  };
13949
- }), { fetcher: v, fetcherState: b } = Op(i.config, w.value), B = () => {
13955
+ }), { fetcher: v, fetcherState: w } = Op(i.config, m.value), B = () => {
13950
13956
  p.value = "";
13951
13957
  }, O = () => {
13952
13958
  u.value++;
@@ -13987,7 +13993,7 @@ const u0 = { class: "yaml-config" }, kp = /* @__PURE__ */ xe({
13987
13993
  }), N = (le) => ({
13988
13994
  label: n("ca-certificates.actions.edit"),
13989
13995
  to: i.config.getEditRoute(le)
13990
- }), ue = re(void 0), J = re(!1), $ = re(!1), ne = re(""), he = Bp(i.config, w.value), { certificateDataCache: Ue, getCertificateData: je } = Ot.useCertificate(), Le = (le) => {
13996
+ }), ue = re(void 0), J = re(!1), $ = re(!1), ne = re(""), he = Bp(i.config, m.value), { certificateDataCache: Ue, getCertificateData: je } = Ot.useCertificate(), Le = (le) => {
13991
13997
  ue.value = le, J.value = !0;
13992
13998
  }, Tr = () => {
13993
13999
  J.value = !1;
@@ -14004,7 +14010,7 @@ const u0 = { class: "yaml-config" }, kp = /* @__PURE__ */ xe({
14004
14010
  }
14005
14011
  }
14006
14012
  }, ur = re(!0);
14007
- sr(b, (le) => {
14013
+ sr(w, (le) => {
14008
14014
  var z, Y, Se, Ye;
14009
14015
  if (Array.isArray((z = le == null ? void 0 : le.response) == null ? void 0 : z.data) && (ur.value = le.response.data.length > 0), le.status === Zt.Error) {
14010
14016
  A.value = {
@@ -14244,7 +14250,7 @@ const u0 = { class: "yaml-config" }, kp = /* @__PURE__ */ xe({
14244
14250
  cert: "",
14245
14251
  certDigest: "",
14246
14252
  tags: ""
14247
- }), E = L(() => (u.value === mr.Create || JSON.stringify(h.fields) !== JSON.stringify(d)) && !!h.fields.cert), w = (A) => {
14253
+ }), E = L(() => (u.value === mr.Create || JSON.stringify(h.fields) !== JSON.stringify(d)) && !!h.fields.cert), m = (A) => {
14248
14254
  var k;
14249
14255
  h.fields.cert = (A == null ? void 0 : A.cert) || "", h.fields.certDigest = (A == null ? void 0 : A.cert_digest) || "", h.fields.tags = ((k = A == null ? void 0 : A.tags) == null ? void 0 : k.join(", ")) || "", Object.assign(d, h.fields);
14250
14256
  }, p = () => {
@@ -14257,7 +14263,7 @@ const u0 = { class: "yaml-config" }, kp = /* @__PURE__ */ xe({
14257
14263
  var k, x;
14258
14264
  let A = `${i.config.apiBaseUrl}${ki.form[i.config.app][u.value]}`;
14259
14265
  return i.config.app === "konnect" ? A = A.replace(/{controlPlaneId}/gi, ((k = i.config) == null ? void 0 : k.controlPlaneId) || "") : i.config.app === "kongManager" && (A = A.replace(/\/{workspace}/gi, (x = i.config) != null && x.workspace ? `/${i.config.workspace}` : "")), A = A.replace(/{id}/gi, i.certificateId), A;
14260
- }), b = L(() => {
14266
+ }), w = L(() => {
14261
14267
  var A, k;
14262
14268
  return {
14263
14269
  cert: h.fields.cert,
@@ -14269,7 +14275,7 @@ const u0 = { class: "yaml-config" }, kp = /* @__PURE__ */ xe({
14269
14275
  try {
14270
14276
  h.isReadonly = !0;
14271
14277
  let N;
14272
- await a.post(y.value, b.value), u.value === "create" ? N = await a.post(v.value, b.value) : u.value === "edit" && (N = ((A = i.config) == null ? void 0 : A.app) === "konnect" ? await a.put(v.value, b.value) : await a.patch(v.value, b.value)), h.fields.cert = ((k = N == null ? void 0 : N.data) == null ? void 0 : k.cert) || "", h.fields.certDigest = ((x = N == null ? void 0 : N.data) == null ? void 0 : x.cert_digest) || "", h.fields.tags = ((j = (D = N == null ? void 0 : N.data) == null ? void 0 : D.tags) == null ? void 0 : j.join(", ")) || "", Object.assign(d, h.fields), r("update", N == null ? void 0 : N.data);
14278
+ await a.post(y.value, w.value), u.value === "create" ? N = await a.post(v.value, w.value) : u.value === "edit" && (N = ((A = i.config) == null ? void 0 : A.app) === "konnect" ? await a.put(v.value, w.value) : await a.patch(v.value, w.value)), h.fields.cert = ((k = N == null ? void 0 : N.data) == null ? void 0 : k.cert) || "", h.fields.certDigest = ((x = N == null ? void 0 : N.data) == null ? void 0 : x.cert_digest) || "", h.fields.tags = ((j = (D = N == null ? void 0 : N.data) == null ? void 0 : D.tags) == null ? void 0 : j.join(", ")) || "", Object.assign(d, h.fields), r("update", N == null ? void 0 : N.data);
14273
14279
  } catch (N) {
14274
14280
  h.errorMessage = s(N), r("error", N);
14275
14281
  } finally {
@@ -14285,11 +14291,11 @@ const u0 = { class: "yaml-config" }, kp = /* @__PURE__ */ xe({
14285
14291
  "edit-id": e.certificateId,
14286
14292
  "error-message": h.errorMessage,
14287
14293
  "fetch-url": l.value,
14288
- "form-fields": b.value,
14294
+ "form-fields": w.value,
14289
14295
  "is-readonly": h.isReadonly,
14290
14296
  onCancel: p,
14291
14297
  "onFetch:error": k[3] || (k[3] = (j) => A.$emit("error", j)),
14292
- "onFetch:success": w,
14298
+ "onFetch:success": m,
14293
14299
  onLoading: k[4] || (k[4] = (j) => A.$emit("loading", j)),
14294
14300
  onSubmit: B
14295
14301
  }, {
@@ -14436,7 +14442,7 @@ const u0 = { class: "yaml-config" }, kp = /* @__PURE__ */ xe({
14436
14442
  section: Ce.Advanced,
14437
14443
  type: be.Redacted
14438
14444
  }
14439
- }), w = (j) => {
14445
+ }), m = (j) => {
14440
14446
  d.value = j, r("fetch:success", j);
14441
14447
  }, p = (j, N) => {
14442
14448
  const ue = l("rowValue", N);
@@ -14454,7 +14460,7 @@ const u0 = { class: "yaml-config" }, kp = /* @__PURE__ */ xe({
14454
14460
  }), v = L(() => {
14455
14461
  var j, N;
14456
14462
  return (j = y.value) != null && j.schemaExpiry ? o((N = y.value) == null ? void 0 : N.schemaExpiry) : "";
14457
- }), b = L(() => {
14463
+ }), w = L(() => {
14458
14464
  var j;
14459
14465
  return ((j = y.value) == null ? void 0 : j.schemaIssuer) || "";
14460
14466
  }), B = L(() => {
@@ -14486,7 +14492,7 @@ const u0 = { class: "yaml-config" }, kp = /* @__PURE__ */ xe({
14486
14492
  "fetch-url": h.value,
14487
14493
  "hide-title": e.hideTitle,
14488
14494
  "onFetch:error": N[0] || (N[0] = (ne) => j.$emit("fetch:error", ne)),
14489
- "onFetch:success": w,
14495
+ "onFetch:success": m,
14490
14496
  onLoading: N[1] || (N[1] = (ne) => j.$emit("loading", ne))
14491
14497
  }, wr({
14492
14498
  "cert-label-tooltip": I(() => [
@@ -14543,7 +14549,7 @@ const u0 = { class: "yaml-config" }, kp = /* @__PURE__ */ xe({
14543
14549
  pe(U(v.value || "–"), 1)
14544
14550
  ]),
14545
14551
  issuer: I(() => [
14546
- pe(U(b.value || "–"), 1)
14552
+ pe(U(w.value || "–"), 1)
14547
14553
  ]),
14548
14554
  san_names: I(() => [
14549
14555
  pe(U(B.value || "–"), 1)