@deviceinsight/ng-ui-scale-lib 9.20.0 → 9.21.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (27) hide show
  1. package/dist/{AccessEditModal-ee0139fb.js → AccessEditModal-861d96a6.js} +1 -1
  2. package/dist/{BundleManagementContainer-093786e5.js → BundleManagementContainer-492e1a51.js} +1 -1
  3. package/dist/{BundlesContainer-54c9cc3a.js → BundlesContainer-56136d83.js} +2 -2
  4. package/dist/{ContextBarContext-0c28ce9d.js → ContextBarContext-8a081573.js} +12608 -12555
  5. package/dist/{DatapointImport-6d394cb5.js → DatapointImport-8fc8457e.js} +46 -46
  6. package/dist/{FileUploadInput-a23ba785.js → FileUploadInput-4459f512.js} +1 -1
  7. package/dist/{Files-4fc0415e.js → Files-d47286c7.js} +2 -2
  8. package/dist/GlobalPowerBiReports-3de00692.js +11081 -0
  9. package/dist/{Graph-2840eac2.js → Graph-b5c9417d.js} +1 -1
  10. package/dist/{JsonSettingWidget-8908d40b.js → JsonSettingWidget-c54df0d6.js} +15 -16
  11. package/dist/{LicensesEditPage-3332b87c.js → LicensesEditPage-fa4f079f.js} +1 -1
  12. package/dist/{LicensesList-6254cd37.js → LicensesList-41498d29.js} +1 -1
  13. package/dist/{PropertiesEditPage-5b148652.js → PropertiesEditPage-e4acc179.js} +14 -16
  14. package/dist/{PropertiesList-06478803.js → PropertiesList-fd78361b.js} +1 -1
  15. package/dist/{TemplateEditPage-94088888.js → TemplateEditPage-a7b34bbc.js} +23 -25
  16. package/dist/{TemplateTextInput-e8861a0f.js → TemplateTextInput-ac5506a5.js} +12 -13
  17. package/dist/{TemplatesListPage-866246c6.js → TemplatesListPage-ea78387b.js} +2 -2
  18. package/dist/{UserGroupAssignments-6feae326.js → UserGroupAssignments-4e7c6567.js} +1 -1
  19. package/dist/{UserGroupTheme-7ee8e92e.js → UserGroupTheme-16db6c5b.js} +10 -12
  20. package/dist/api.d.ts +10 -1
  21. package/dist/api.js +51 -50
  22. package/dist/{index-34a2015c.js → index-852b249c.js} +1138 -1117
  23. package/dist/index.js +239 -239
  24. package/package.json +1 -1
  25. package/dist/GlobalPowerBiReports-f9bf0765.js +0 -11079
  26. package/dist/objectWithoutPropertiesLoose-a4604547.js +0 -26
  27. package/dist/react-router-d38ecdf4.js +0 -1157
package/dist/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import { A as oe, S as be, C as F, a as Z, b as Ae, T as Gn, c as jo, d as Lr, e as b, O as pa, f as dr, g as Et, h as De, i as $n, L as At, j as ni, H as tt, k as ma, P as Re, R as yu, l as Wn, m as Cu, n as hr, o as ya, p as ur, q as Yt, r as Pi, s as gr, G as qc, E as Ca, t as wt, J as vu, I as M, B as $e, u as va, v as ge, w as ri, x as Tu, y as wu, K as Yc, D as Ta, z as Au, F as Iu, M as Qc, N as Su, Q as Ct, U as fr, V as me, W as Y, X as ee, Y as Jc, Z as Fn, _ as Pt, $ as Zc, a0 as dt, a1 as Eu, a2 as wa, a3 as bu, a4 as ie, a5 as Cn, a6 as Rt, a7 as Ru, a8 as We, a9 as ku, aa as _u, ab as ot, ac as xu, ad as K, ae as Nu, af as oo, ag as _, ah as Qe, ai as Mu, aj as ve, ak as Pu, al as ii, am as Ho, an as Ou, ao as Lu, ap as Du, aq as Uu, ar as ju, as as qn, at as Hu, au as vn, av as W, aw as c, ax as ue, ay as Fo, az as Bn, aA as Jn, aB as Bo, aC as Fu, aD as Xc, aE as el, aF as tl, aG as Ko, aH as Bu, aI as nl, aJ as Dt, aK as zo, aL as rl, aM as Ku, aN as ye, aO as zu, aP as Gu, aQ as tn, aR as $u, aS as Vu, aT as Wu, aU as qu, aV as Yu, aW as Qu, aX as Ft, aY as Dr, aZ as Ju, a_ as Zu, a$ as Xu, b0 as Yn, b1 as il, b2 as Go, b3 as ol, b4 as so, b5 as sl, b6 as eg, b7 as $o, b8 as tg, b9 as ng, ba as rg, bb as Vo, bc as oi, bd as ig, be as og, bf as al, bg as sg, bh as ag, bi as cg, bj as lg, bk as Aa, bl as ao, bm as dg, bn as hg, bo as ug, bp as Ia, bq as gg, br as cl, bs as Wo, bt as fg, bu as ll, bv as un, bw as Tn, bx as pg, by as co, bz as mg, bA as dl, bB as yg, bC as Cg, bD as vg, bE as Tg, bF as qo, bG as Yo, bH as hl, bI as wg, bJ as Ag, bK as Sa, bL as Ig, bM as Sg, bN as ul, bO as Eg, bP as bg, bQ as Rg, bR as kg, bS as _g, bT as xg, bU as Ng, bV as Mg, bW as Pg, bX as Og, bY as Lg, bZ as gl, b_ as Dg, b$ as Ug, c0 as jg, c1 as Qt, c2 as Hg, c3 as Fg, c4 as Bg, c5 as Kg, c6 as zg, c7 as Gg, c8 as $g, c9 as Vg, ca as Wg, cb as qg, cc as Yg, cd as Ea, ce as ba, cf as Ra, cg as Qg, ch as Jg, ci as Zg, cj as Xg, ck as ka, cl as _a, cm as ef, cn as tf, co as nf, cp as rf, cq as fl, cr as of, cs as sf, ct as pr, cu as af, cv as cf, cw as pl, cx as ml, cy as lf, cz as df, cA as hf } from "./ContextBarContext-0c28ce9d.js";
1
+ import { A as oe, S as be, C as F, a as Z, b as Ae, T as Gn, c as jo, d as Lr, e as b, O as pa, f as dr, g as Et, h as De, i as $n, L as At, j as ni, H as tt, k as ma, P as Re, R as yu, l as Wn, m as Cu, n as hr, o as ya, p as ur, q as Yt, r as Pi, s as gr, G as qc, E as Ca, t as wt, J as vu, I as M, B as $e, u as va, v as ge, w as ri, x as Tu, y as wu, K as Yc, D as Ta, z as Au, F as Iu, M as Qc, N as Su, Q as Ct, U as fr, V as me, W as Y, X as ee, Y as Jc, Z as Fn, _ as Pt, $ as Zc, a0 as dt, a1 as Eu, a2 as wa, a3 as bu, a4 as ie, a5 as Cn, a6 as Rt, a7 as Ru, a8 as We, a9 as ku, aa as _u, ab as ot, ac as xu, ad as K, ae as Nu, af as oo, ag as _, ah as Qe, ai as Mu, aj as ve, ak as Pu, al as ii, am as Ho, an as Ou, ao as Lu, ap as Du, aq as Uu, ar as ju, as as qn, at as Hu, au as vn, av as W, aw as c, ax as ue, ay as Fo, az as Bn, aA as Jn, aB as Bo, aC as Fu, aD as Xc, aE as el, aF as tl, aG as Ko, aH as Bu, aI as nl, aJ as Dt, aK as zo, aL as rl, aM as Ku, aN as ye, aO as zu, aP as Gu, aQ as tn, aR as $u, aS as Vu, aT as Wu, aU as qu, aV as Yu, aW as Qu, aX as Ft, aY as Dr, aZ as Ju, a_ as Zu, a$ as Xu, b0 as Yn, b1 as il, b2 as Go, b3 as ol, b4 as so, b5 as sl, b6 as eg, b7 as $o, b8 as tg, b9 as ng, ba as rg, bb as Vo, bc as oi, bd as ig, be as og, bf as al, bg as sg, bh as ag, bi as cg, bj as lg, bk as Aa, bl as ao, bm as dg, bn as hg, bo as ug, bp as Ia, bq as gg, br as cl, bs as Wo, bt as fg, bu as ll, bv as un, bw as Tn, bx as pg, by as co, bz as mg, bA as dl, bB as yg, bC as Cg, bD as vg, bE as Tg, bF as qo, bG as Yo, bH as hl, bI as wg, bJ as Ag, bK as Sa, bL as Ig, bM as Sg, bN as ul, bO as Eg, bP as bg, bQ as Rg, bR as kg, bS as _g, bT as xg, bU as Ng, bV as Mg, bW as Pg, bX as Og, bY as Lg, bZ as gl, b_ as Dg, b$ as Ug, c0 as jg, c1 as Qt, c2 as Hg, c3 as Fg, c4 as Bg, c5 as Kg, c6 as zg, c7 as Gg, c8 as $g, c9 as Vg, ca as Wg, cb as qg, cc as Yg, cd as Ea, ce as ba, cf as Ra, cg as Qg, ch as Jg, ci as Zg, cj as Xg, ck as ka, cl as _a, cm as ef, cn as tf, co as nf, cp as rf, cq as fl, cr as of, cs as sf, ct as pr, cu as af, cv as cf, cw as pl, cx as ml, cy as lf, cz as df, cA as hf } from "./ContextBarContext-8a081573.js";
2
2
  import { readUIConfigurations as uf, setAxios as gf, readUISecrets as ff, readLegalPage as pf, readPaginationSettings as mf, requestToken as yf, fetchMe as si, searchAssetGroups as Cf, searchUsers as vf, searchUserGroups as Tf, searchAssets as wf, readFavorites as Af, writeFavorites as If, updateLocaleOfUser as Sf, getVersion as Ef, readEULA as Ur, checkShowUserDocumentation as bf, readShowUserDocumentation as Rf, writeAccountObject as yl, readAccountObject as Qo, fetchShadowKeys as kf, writePaginationSettings as _f, fetchProperties as xf, fetchAssetGroupDefinitions as Nf, fetchLocales as Mf, readReleaseNotesSubscription as Pf, readReleaseNotesVersionsViewed as Of, writeReleaseNotesVersionsViewed as Lf, writeReleaseNotesSubscription as Df, acceptEULA as Uf, updateMe as Cl, triggerPasswordReset as jf, changeEmail as Hf, fetchAuthorizationOptions as Ff, setUserPassword as Bf } from "@deviceinsight/ng-ui-api-client";
3
3
  import { setGlobalErrorMessageBoxOptions as Kf, initializeTranslation as zf, ContentHeader as Gf, messageBoxError as Ot, MultiMenu as jr, MultiMenuItem as an, nanoid10 as vl, messageBoxSuccess as xa, InfoBox as $f, messageBoxWarn as Tl, messageBoxDismissGroup as wl, MessageBoxContainer as Al } from "@deviceinsight/ng-ui-components";
4
4
  import * as J from "react";
@@ -3534,8 +3534,8 @@ ${i}`);
3534
3534
  ));
3535
3535
  let g = null;
3536
3536
  if (e.access_token) {
3537
- const p = e.scope ? de.fromString(e.scope) : new de(i.scopes || []), y = (typeof e.expires_in == "string" ? parseInt(e.expires_in, 10) : e.expires_in) || 0, C = (typeof e.ext_expires_in == "string" ? parseInt(e.ext_expires_in, 10) : e.ext_expires_in) || 0, T = (typeof e.refresh_in == "string" ? parseInt(e.refresh_in, 10) : e.refresh_in) || void 0, A = n + y, I = A + C, S = T && T > 0 ? n + T : void 0;
3538
- g = hi(this.homeAccountIdentifier, l, e.access_token, this.clientId, u || t.tenant || "", p.printScopes(), A, I, this.cryptoObj.base64Decode, S, e.token_type, s, e.key_id, i.claims, i.requestedClaimsHash);
3537
+ const p = e.scope ? de.fromString(e.scope) : new de(i.scopes || []), y = (typeof e.expires_in == "string" ? parseInt(e.expires_in, 10) : e.expires_in) || 0, C = (typeof e.ext_expires_in == "string" ? parseInt(e.ext_expires_in, 10) : e.ext_expires_in) || 0, T = (typeof e.refresh_in == "string" ? parseInt(e.refresh_in, 10) : e.refresh_in) || void 0, I = n + y, S = I + C, A = T && T > 0 ? n + T : void 0;
3538
+ g = hi(this.homeAccountIdentifier, l, e.access_token, this.clientId, u || t.tenant || "", p.printScopes(), I, S, this.cryptoObj.base64Decode, A, e.token_type, s, e.key_id, i.claims, i.requestedClaimsHash);
3539
3539
  }
3540
3540
  let f = null;
3541
3541
  if (e.refresh_token) {
@@ -3564,7 +3564,7 @@ ${i}`);
3564
3564
  * @param stateString
3565
3565
  */
3566
3566
  static async generateAuthenticationResult(e, t, n, i, o, s, a, l, u) {
3567
- var A, I, S, E;
3567
+ var I, S, A, E;
3568
3568
  let h = b.EMPTY_STRING, d = [], g = null, f, m, p = b.EMPTY_STRING;
3569
3569
  if (n.accessToken) {
3570
3570
  if (n.accessToken.tokenType === Z.POP) {
@@ -3591,7 +3591,7 @@ ${i}`);
3591
3591
  tenantId: C,
3592
3592
  scopes: d,
3593
3593
  account: T,
3594
- idToken: ((A = n == null ? void 0 : n.idToken) == null ? void 0 : A.secret) || "",
3594
+ idToken: ((I = n == null ? void 0 : n.idToken) == null ? void 0 : I.secret) || "",
3595
3595
  idTokenClaims: s || {},
3596
3596
  accessToken: h,
3597
3597
  fromCache: i,
@@ -3601,9 +3601,9 @@ ${i}`);
3601
3601
  correlationId: o.correlationId,
3602
3602
  requestId: u || b.EMPTY_STRING,
3603
3603
  familyId: p,
3604
- tokenType: ((I = n.accessToken) == null ? void 0 : I.tokenType) || b.EMPTY_STRING,
3604
+ tokenType: ((S = n.accessToken) == null ? void 0 : S.tokenType) || b.EMPTY_STRING,
3605
3605
  state: a ? a.userRequestState : b.EMPTY_STRING,
3606
- cloudGraphHostName: ((S = n.account) == null ? void 0 : S.cloudGraphHostName) || b.EMPTY_STRING,
3606
+ cloudGraphHostName: ((A = n.account) == null ? void 0 : A.cloudGraphHostName) || b.EMPTY_STRING,
3607
3607
  msGraphHost: ((E = n.account) == null ? void 0 : E.msGraphHost) || b.EMPTY_STRING,
3608
3608
  code: l == null ? void 0 : l.spa_code,
3609
3609
  fromNativeBroker: !1
@@ -5083,8 +5083,8 @@ class yn {
5083
5083
  * @param kid
5084
5084
  */
5085
5085
  async signJwt(e, t, n, i) {
5086
- var A;
5087
- const o = (A = this.performanceClient) == null ? void 0 : A.startMeasurement(w.CryptoOptsSignJwt, i), s = await this.cache.asymmetricKeys.getItem(t);
5086
+ var I;
5087
+ const o = (I = this.performanceClient) == null ? void 0 : I.startMeasurement(w.CryptoOptsSignJwt, i), s = await this.cache.asymmetricKeys.getItem(t);
5088
5088
  if (!s)
5089
5089
  throw P(Es);
5090
5090
  const a = await ji(s.publicKey), l = Xa(a), u = Di(JSON.stringify({ kid: t })), h = ws.getShrHeaderString({
@@ -7187,10 +7187,10 @@ class Oy extends In {
7187
7187
  isNativeBroker: !0
7188
7188
  }), !this.nativeMessageHandler)
7189
7189
  throw P(er);
7190
- const T = new ln(this.config, this.browserStorage, this.browserCrypto, this.logger, this.eventHandler, this.navigationClient, ee.acquireTokenPopup, this.performanceClient, this.nativeMessageHandler, y.accountId, this.nativeStorage, s.correlationId), { userRequestState: A } = Ye.parseRequestState(this.browserCrypto, s.state);
7190
+ const T = new ln(this.config, this.browserStorage, this.browserCrypto, this.logger, this.eventHandler, this.navigationClient, ee.acquireTokenPopup, this.performanceClient, this.nativeMessageHandler, y.accountId, this.nativeStorage, s.correlationId), { userRequestState: I } = Ye.parseRequestState(this.browserCrypto, s.state);
7191
7191
  return await T.acquireToken({
7192
7192
  ...s,
7193
- state: A,
7193
+ state: I,
7194
7194
  prompt: void 0
7195
7195
  // Server should handle the prompt, ideally native broker can do this part silently
7196
7196
  });
@@ -9213,8 +9213,8 @@ var th = { exports: {} };
9213
9213
  var u = this.$locale().formats, h = function(d, g) {
9214
9214
  return d.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g, function(f, m, p) {
9215
9215
  var y = p && p.toUpperCase();
9216
- return m || g[p] || t[p] || g[y].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g, function(C, T, A) {
9217
- return T || A.slice(1);
9216
+ return m || g[p] || t[p] || g[y].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g, function(C, T, I) {
9217
+ return T || I.slice(1);
9218
9218
  });
9219
9219
  });
9220
9220
  }(l, u === void 0 ? {} : u);
@@ -9259,24 +9259,24 @@ var nh = { exports: {} };
9259
9259
  var C = this.$utils().u;
9260
9260
  if (C(p))
9261
9261
  return this.$u ? 0 : C(this.$offset) ? d.call(this) : this.$offset;
9262
- if (typeof p == "string" && (p = function(S) {
9263
- S === void 0 && (S = "");
9264
- var E = S.match(n);
9262
+ if (typeof p == "string" && (p = function(A) {
9263
+ A === void 0 && (A = "");
9264
+ var E = A.match(n);
9265
9265
  if (!E)
9266
9266
  return null;
9267
9267
  var L = ("" + E[0]).match(i) || ["-", 0, 0], $ = L[0], B = 60 * +L[1] + +L[2];
9268
9268
  return B === 0 ? 0 : $ === "+" ? B : -B;
9269
9269
  }(p), p === null))
9270
9270
  return this;
9271
- var T = Math.abs(p) <= 16 ? 60 * p : p, A = this;
9271
+ var T = Math.abs(p) <= 16 ? 60 * p : p, I = this;
9272
9272
  if (y)
9273
- return A.$offset = T, A.$u = p === 0, A;
9273
+ return I.$offset = T, I.$u = p === 0, I;
9274
9274
  if (p !== 0) {
9275
- var I = this.$u ? this.toDate().getTimezoneOffset() : -1 * this.utcOffset();
9276
- (A = this.local().add(T + I, t)).$offset = T, A.$x.$localOffset = I;
9275
+ var S = this.$u ? this.toDate().getTimezoneOffset() : -1 * this.utcOffset();
9276
+ (I = this.local().add(T + S, t)).$offset = T, I.$x.$localOffset = S;
9277
9277
  } else
9278
- A = this.utc();
9279
- return A;
9278
+ I = this.utc();
9279
+ return I;
9280
9280
  };
9281
9281
  var g = l.format;
9282
9282
  l.format = function(p) {
@@ -9300,8 +9300,8 @@ var nh = { exports: {} };
9300
9300
  l.diff = function(p, y, C) {
9301
9301
  if (p && this.$u === p.$u)
9302
9302
  return m.call(this, p, y, C);
9303
- var T = this.local(), A = a(p).local();
9304
- return m.call(T, A, y, C);
9303
+ var T = this.local(), I = a(p).local();
9304
+ return m.call(T, I, y, C);
9305
9305
  };
9306
9306
  };
9307
9307
  });
@@ -9319,24 +9319,24 @@ var rh = { exports: {} };
9319
9319
  m === void 0 && (m = {});
9320
9320
  var p = new Date(g), y = function(C, T) {
9321
9321
  T === void 0 && (T = {});
9322
- var A = T.timeZoneName || "short", I = C + "|" + A, S = n[I];
9323
- return S || (S = new Intl.DateTimeFormat("en-US", { hour12: !1, timeZone: C, year: "numeric", month: "2-digit", day: "2-digit", hour: "2-digit", minute: "2-digit", second: "2-digit", timeZoneName: A }), n[I] = S), S;
9322
+ var I = T.timeZoneName || "short", S = C + "|" + I, A = n[S];
9323
+ return A || (A = new Intl.DateTimeFormat("en-US", { hour12: !1, timeZone: C, year: "numeric", month: "2-digit", day: "2-digit", hour: "2-digit", minute: "2-digit", second: "2-digit", timeZoneName: I }), n[S] = A), A;
9324
9324
  }(f, m);
9325
9325
  return y.formatToParts(p);
9326
9326
  }, u = function(g, f) {
9327
9327
  for (var m = l(g, f), p = [], y = 0; y < m.length; y += 1) {
9328
- var C = m[y], T = C.type, A = C.value, I = t[T];
9329
- I >= 0 && (p[I] = parseInt(A, 10));
9328
+ var C = m[y], T = C.type, I = C.value, S = t[T];
9329
+ S >= 0 && (p[S] = parseInt(I, 10));
9330
9330
  }
9331
- var S = p[3], E = S === 24 ? 0 : S, L = p[0] + "-" + p[1] + "-" + p[2] + " " + E + ":" + p[4] + ":" + p[5] + ":000", $ = +g;
9331
+ var A = p[3], E = A === 24 ? 0 : A, L = p[0] + "-" + p[1] + "-" + p[2] + " " + E + ":" + p[4] + ":" + p[5] + ":000", $ = +g;
9332
9332
  return (s.utc(L).valueOf() - ($ -= $ % 1e3)) / 6e4;
9333
9333
  }, h = o.prototype;
9334
9334
  h.tz = function(g, f) {
9335
9335
  g === void 0 && (g = a);
9336
9336
  var m = this.utcOffset(), p = this.toDate(), y = p.toLocaleString("en-US", { timeZone: g }), C = Math.round((p - new Date(y)) / 1e3 / 60), T = s(y).$set("millisecond", this.$ms).utcOffset(15 * -Math.round(p.getTimezoneOffset() / 15) - C, !0);
9337
9337
  if (f) {
9338
- var A = T.utcOffset();
9339
- T = T.add(m - A, "minute");
9338
+ var I = T.utcOffset();
9339
+ T = T.add(m - I, "minute");
9340
9340
  }
9341
9341
  return T.$x.$timezone = g, T;
9342
9342
  }, h.offsetName = function(g) {
@@ -9361,8 +9361,8 @@ var rh = { exports: {} };
9361
9361
  return [B, L];
9362
9362
  var re = u(B -= 60 * (Ie - L) * 1e3, $);
9363
9363
  return Ie === re ? [B, Ie] : [E - 60 * Math.min(Ie, re) * 1e3, Math.max(Ie, re)];
9364
- }(s.utc(g, p).valueOf(), C, y), A = T[0], I = T[1], S = s(A).utcOffset(I);
9365
- return S.$x.$timezone = y, S;
9364
+ }(s.utc(g, p).valueOf(), C, y), I = T[0], S = T[1], A = s(I).utcOffset(S);
9365
+ return A.$x.$timezone = y, A;
9366
9366
  }, s.tz.guess = function() {
9367
9367
  return Intl.DateTimeFormat().resolvedOptions().timeZone;
9368
9368
  }, s.tz.setDefault = function(g) {
@@ -9608,36 +9608,36 @@ function lC(r, e, t) {
9608
9608
  }
9609
9609
  }, [u, l]);
9610
9610
  const m = Q(async (y, C) => {
9611
- const T = y || r, A = C || e;
9611
+ const T = y || r, I = C || e;
9612
9612
  switch (T) {
9613
9613
  case M.Popup:
9614
- return o.verbose("useMsalAuthentication - Calling loginPopup"), n.loginPopup(A);
9614
+ return o.verbose("useMsalAuthentication - Calling loginPopup"), n.loginPopup(I);
9615
9615
  case M.Redirect:
9616
- return o.verbose("useMsalAuthentication - Calling loginRedirect"), n.loginRedirect(A).then(null);
9616
+ return o.verbose("useMsalAuthentication - Calling loginRedirect"), n.loginRedirect(I).then(null);
9617
9617
  case M.Silent:
9618
- return o.verbose("useMsalAuthentication - Calling ssoSilent"), n.ssoSilent(A);
9618
+ return o.verbose("useMsalAuthentication - Calling ssoSilent"), n.ssoSilent(I);
9619
9619
  default:
9620
9620
  throw dn.createInvalidInteractionTypeError();
9621
9621
  }
9622
9622
  }, [n, r, e, o]), p = Q(async (y, C) => {
9623
9623
  const T = y || r;
9624
- let A;
9625
- return C ? (o.trace("useMsalAuthentication - acquireToken - Using request provided in the callback"), A = {
9624
+ let I;
9625
+ return C ? (o.trace("useMsalAuthentication - acquireToken - Using request provided in the callback"), I = {
9626
9626
  ...C
9627
- }) : e ? (o.trace("useMsalAuthentication - acquireToken - Using request provided in the hook"), A = {
9627
+ }) : e ? (o.trace("useMsalAuthentication - acquireToken - Using request provided in the hook"), I = {
9628
9628
  ...e,
9629
9629
  scopes: e.scopes || Wn
9630
- }) : (o.trace("useMsalAuthentication - acquireToken - No request object provided, using default request."), A = {
9630
+ }) : (o.trace("useMsalAuthentication - acquireToken - No request object provided, using default request."), I = {
9631
9631
  scopes: Wn
9632
- }), !A.account && a && (o.trace("useMsalAuthentication - acquireToken - Attaching account to request"), A.account = a), (async () => (o.verbose("useMsalAuthentication - Calling acquireTokenSilent"), n.acquireTokenSilent(A).catch(async (S) => {
9633
- if (S instanceof Fe) {
9632
+ }), !I.account && a && (o.trace("useMsalAuthentication - acquireToken - Attaching account to request"), I.account = a), (async () => (o.verbose("useMsalAuthentication - Calling acquireTokenSilent"), n.acquireTokenSilent(I).catch(async (A) => {
9633
+ if (A instanceof Fe) {
9634
9634
  if (g.current)
9635
9635
  throw o.error("useMsalAuthentication - Interaction required but is already in progress. Please try again, if needed, after interaction completes."), dn.createUnableToFallbackToInteractionError();
9636
- return o.error("useMsalAuthentication - Interaction required, falling back to interaction"), m(T, A);
9636
+ return o.error("useMsalAuthentication - Interaction required, falling back to interaction"), m(T, I);
9637
9637
  }
9638
- throw S;
9639
- })))().then((S) => (d.current && h([S, null]), S)).catch((S) => {
9640
- throw d.current && h([null, S]), S;
9638
+ throw A;
9639
+ })))().then((A) => (d.current && h([A, null]), A)).catch((A) => {
9640
+ throw d.current && h([null, A]), A;
9641
9641
  });
9642
9642
  }, [
9643
9643
  n,
@@ -10099,12 +10099,12 @@ var H = { BASE: "base", BODY: "body", HEAD: "head", HTML: "html", LINK: "link",
10099
10099
  } };
10100
10100
  if (r.prioritizeSeoTags) {
10101
10101
  var m = function(p) {
10102
- var y = p.linkTags, C = p.scriptTags, T = p.encode, A = Bi(p.metaTags, OC), I = Bi(y, MC), S = Bi(C, PC);
10102
+ var y = p.linkTags, C = p.scriptTags, T = p.encode, I = Bi(p.metaTags, OC), S = Bi(y, MC), A = Bi(C, PC);
10103
10103
  return { priorityMethods: { toComponent: function() {
10104
- return [].concat(Nr(H.META, A.priority), Nr(H.LINK, I.priority), Nr(H.SCRIPT, S.priority));
10104
+ return [].concat(Nr(H.META, I.priority), Nr(H.LINK, S.priority), Nr(H.SCRIPT, A.priority));
10105
10105
  }, toString: function() {
10106
- return He(H.META, A.priority, T) + " " + He(H.LINK, I.priority, T) + " " + He(H.SCRIPT, S.priority, T);
10107
- } }, metaTags: A.default, linkTags: I.default, scriptTags: S.default };
10106
+ return He(H.META, I.priority, T) + " " + He(H.LINK, S.priority, T) + " " + He(H.SCRIPT, A.priority, T);
10107
+ } }, metaTags: I.default, linkTags: S.default, scriptTags: A.default };
10108
10108
  }(r);
10109
10109
  f = m.priorityMethods, h = m.linkTags, d = m.metaTags, g = m.scriptTags;
10110
10110
  }
@@ -10352,18 +10352,18 @@ function hh() {
10352
10352
  (E) => {
10353
10353
  p(E) ? f(r, e) : y(E) ? (Ot(
10354
10354
  /* @__PURE__ */ c.jsx(_, { i18nKey: "axios.errors.rateLimitError", children: "Too many attempts to refresh authorization token." })
10355
- ), f(r, e), console.error("Renew token request failed (RateLimitError)", E)) : C(E) ? (f(r, e), console.error("Renew token request failed (AuthTokenRefreshError)", E)) : T(E) ? console.error("timeout error: node.js service responded with the following error", E) : A(r, E) && !u ? (h(!0), Ot(
10355
+ ), f(r, e), console.error("Renew token request failed (RateLimitError)", E)) : C(E) ? (f(r, e), console.error("Renew token request failed (AuthTokenRefreshError)", E)) : T(E) ? console.error("timeout error: node.js service responded with the following error", E) : I(r, E) && !u ? (h(!0), Ot(
10356
10356
  /* @__PURE__ */ c.jsx(_, { i18nKey: "axios.errors.authoritiesMissing", children: "Missing authorities. Please contact your administrator." }),
10357
10357
  {
10358
10358
  onClose: () => h(!1),
10359
10359
  toastId: "authoritiesMissing"
10360
10360
  }
10361
- )) : I(E) && !o ? (s(!0), Ot(
10361
+ )) : S(E) && !o ? (s(!0), Ot(
10362
10362
  /* @__PURE__ */ c.jsx(_, { i18nKey: "axios.errors.payload", children: "Request/File is larger than limits defined by server." }),
10363
10363
  {
10364
10364
  onClose: () => s(!1)
10365
10365
  }
10366
- )) : S(E) && !a && (l(!0), Ot(
10366
+ )) : A(E) && !a && (l(!0), Ot(
10367
10367
  /* @__PURE__ */ c.jsx(_, { i18nKey: "axios.errors.network", children: "Network error. Check your internet connection." }),
10368
10368
  {
10369
10369
  onClose: () => l(!1),
@@ -10391,13 +10391,13 @@ function hh() {
10391
10391
  function T({ error: E }) {
10392
10392
  return E && E.code === "ECONNABORTED";
10393
10393
  }
10394
- function A(E, { error: L }) {
10394
+ function I(E, { error: L }) {
10395
10395
  return E === Bn || E.state === "TERMS_ACCEPTANCE_PENDING" ? !1 : L && L.response && L.response.status === 403;
10396
10396
  }
10397
- function I({ error: E }) {
10397
+ function S({ error: E }) {
10398
10398
  return E && E.response && E.response.status === 413;
10399
10399
  }
10400
- function S({ error: E }) {
10400
+ function A({ error: E }) {
10401
10401
  return E && E.message === "Network Error";
10402
10402
  }
10403
10403
  return null;
@@ -11109,11 +11109,11 @@ function bv({
11109
11109
  }), y = {
11110
11110
  transform: ng.Transform.toString(f),
11111
11111
  transition: p ? m : void 0
11112
- }, [C, T] = R(e), A = () => {
11112
+ }, [C, T] = R(e), I = () => {
11113
11113
  o(), T(e);
11114
- }, I = () => {
11115
- a(C);
11116
11114
  }, S = () => {
11115
+ a(C);
11116
+ }, A = () => {
11117
11117
  l();
11118
11118
  }, { hide: E } = Xr();
11119
11119
  return /* @__PURE__ */ c.jsxs("li", { className: "item", ref: d, style: y, ...u, children: [
@@ -11123,8 +11123,8 @@ function bv({
11123
11123
  {
11124
11124
  value: C,
11125
11125
  onChange: T,
11126
- onSave: I,
11127
- onCancel: S
11126
+ onSave: S,
11127
+ onCancel: A
11128
11128
  }
11129
11129
  ) : /* @__PURE__ */ c.jsx(_e, { "data-testid": "link", to: Ev(t), onClick: E, children: e || t }) }),
11130
11130
  !n && /* @__PURE__ */ c.jsx(
@@ -11133,7 +11133,7 @@ function bv({
11133
11133
  menuButton: /* @__PURE__ */ c.jsx(te, { naked: !0, className: "actions-handle", "data-testid": "actions-button", children: /* @__PURE__ */ c.jsx(ol, {}) }),
11134
11134
  direction: "left",
11135
11135
  children: /* @__PURE__ */ c.jsxs("div", { onClick: (L) => L.stopPropagation(), children: [
11136
- /* @__PURE__ */ c.jsx(an, { icon: /* @__PURE__ */ c.jsx(Qn, { edit: !0 }), onClick: A, "data-testid": "edit-button", children: /* @__PURE__ */ c.jsx(_, { i18nKey: "favorites.editName", children: "Edit Name" }) }),
11136
+ /* @__PURE__ */ c.jsx(an, { icon: /* @__PURE__ */ c.jsx(Qn, { edit: !0 }), onClick: I, "data-testid": "edit-button", children: /* @__PURE__ */ c.jsx(_, { i18nKey: "favorites.editName", children: "Edit Name" }) }),
11137
11137
  /* @__PURE__ */ c.jsx(an, { icon: /* @__PURE__ */ c.jsx(Qn, { del: !0 }), onClick: s, "data-testid": "delete-button", children: /* @__PURE__ */ c.jsx(_, { i18nKey: "favorites.delete", children: "Delete" }) })
11138
11138
  ] })
11139
11139
  }
@@ -11227,30 +11227,30 @@ function fc(r) {
11227
11227
  function xv({ children: r }) {
11228
11228
  const [e, t] = R(!1), [n, i] = R([]), [o, s] = R([]), [a, l] = R(!0), [u, h] = R(!1), { pathname: d, search: g } = je(), { currentPageTitle: f } = G(Ti);
11229
11229
  D(() => {
11230
- const { promise: S, cancel: E } = Dr(kv());
11231
- return S.then((L) => {
11230
+ const { promise: A, cancel: E } = Dr(kv());
11231
+ return A.then((L) => {
11232
11232
  i(L), s(L), l(!1);
11233
11233
  }).catch((L) => {
11234
11234
  L.isCanceled || (console.error("Fetching favorites failed", L), l(!1));
11235
11235
  }), E;
11236
11236
  }, []), D(() => {
11237
- const S = fc(n);
11238
- if (!ve.isEqual(S, o)) {
11239
- const { promise: E, cancel: L } = Dr(_v(S));
11237
+ const A = fc(n);
11238
+ if (!ve.isEqual(A, o)) {
11239
+ const { promise: E, cancel: L } = Dr(_v(A));
11240
11240
  return h(!0), E.then(() => {
11241
- h(!1), s(S);
11241
+ h(!1), s(A);
11242
11242
  }).catch(($) => {
11243
11243
  $.isCanceled || (console.error("Updating favorites failed", $), h(!1));
11244
11244
  }), L;
11245
11245
  }
11246
11246
  }, [n, o]);
11247
- function m(S) {
11248
- i(n.filter((E) => E.id !== S));
11247
+ function m(A) {
11248
+ i(n.filter((E) => E.id !== A));
11249
11249
  }
11250
- function p(S, E) {
11250
+ function p(A, E) {
11251
11251
  i(
11252
11252
  n.map(
11253
- (L) => L.id === S ? ve.omit(
11253
+ (L) => L.id === A ? ve.omit(
11254
11254
  {
11255
11255
  ...L,
11256
11256
  title: E
@@ -11260,31 +11260,31 @@ function xv({ children: r }) {
11260
11260
  )
11261
11261
  );
11262
11262
  }
11263
- function y(S) {
11264
- i(n.filter((E) => E.id !== S || !E.local));
11263
+ function y(A) {
11264
+ i(n.filter((E) => E.id !== A || !E.local));
11265
11265
  }
11266
- function C(S) {
11267
- i(S);
11266
+ function C(A) {
11267
+ i(A);
11268
11268
  }
11269
11269
  function T() {
11270
- const S = vl();
11270
+ const A = vl();
11271
11271
  return i([
11272
11272
  {
11273
- id: S,
11273
+ id: A,
11274
11274
  title: f,
11275
11275
  url: `${d}/${g}`,
11276
11276
  local: !0
11277
11277
  },
11278
11278
  ...fc(n)
11279
- ]), S;
11279
+ ]), A;
11280
11280
  }
11281
- function A() {
11281
+ function I() {
11282
11282
  t(!1), i(o);
11283
11283
  }
11284
- const I = {
11284
+ const S = {
11285
11285
  open: e,
11286
11286
  show: () => t(!0),
11287
- hide: A,
11287
+ hide: I,
11288
11288
  loading: a,
11289
11289
  updating: u,
11290
11290
  allFavorites: n,
@@ -11295,7 +11295,7 @@ function xv({ children: r }) {
11295
11295
  cancelTitleEditing: y,
11296
11296
  updateFavorites: C
11297
11297
  };
11298
- return /* @__PURE__ */ c.jsxs(fh.Provider, { value: I, children: [
11298
+ return /* @__PURE__ */ c.jsxs(fh.Provider, { value: S, children: [
11299
11299
  /* @__PURE__ */ c.jsx(Rv, {}),
11300
11300
  r
11301
11301
  ] });
@@ -11326,14 +11326,14 @@ var Mv = function(e) {
11326
11326
  })));
11327
11327
  };
11328
11328
  function Pv(r) {
11329
- const { t: e } = r, { locales: t } = G(oi), { pathname: n } = je(), { instance: i } = ot(), { user: o, resetAuthenticatedUser: s, setAuthenticatedUser: a, principal: l, paginationSettings: u } = G(ue), { elements: h } = G(ig), { show: d, backendFavorites: g } = Xr(), { show: f } = G(Hs), m = g.some((S) => S.url.replace(/\/$/, "") === n), p = og(!0, !0), y = al({
11329
+ const { t: e } = r, { locales: t } = G(oi), { pathname: n } = je(), { instance: i } = ot(), { user: o, resetAuthenticatedUser: s, setAuthenticatedUser: a, principal: l, paginationSettings: u } = G(ue), { elements: h } = G(ig), { show: d, backendFavorites: g } = Xr(), { show: f } = G(Hs), m = g.some((A) => A.url.replace(/\/$/, "") === n), p = og(!0, !0), y = al({
11330
11330
  resolver: sg(p),
11331
11331
  defaultValues: ag(o)
11332
11332
  }), C = st();
11333
- async function T(S, E) {
11334
- Jn() ? await Bo(S, i) : await Fo(S, E);
11333
+ async function T(A, E) {
11334
+ Jn() ? await Bo(A, i) : await Fo(A, E);
11335
11335
  }
11336
- function A() {
11336
+ function I() {
11337
11337
  hg(n).then(() => {
11338
11338
  const E = e("user.settings.saveStartPageMessage", {
11339
11339
  defaultValue: "The current page has been saved as starting page."
@@ -11343,8 +11343,8 @@ function Pv(r) {
11343
11343
  });
11344
11344
  });
11345
11345
  }
11346
- function I(S) {
11347
- Sf({ locale: S }).then((E) => {
11346
+ function S(A) {
11347
+ Sf({ locale: A }).then((E) => {
11348
11348
  a(l, E, u), ug(E), C.push(C.location.pathname), xa(
11349
11349
  e("user.settings.saveLocaleMessage", { defaultValue: "The language has been changed." })
11350
11350
  );
@@ -11352,26 +11352,26 @@ function Pv(r) {
11352
11352
  }
11353
11353
  return /* @__PURE__ */ c.jsxs("div", { className: "di utilities", children: [
11354
11354
  /* @__PURE__ */ c.jsx(Av, {}),
11355
- h && h.map((S) => /* @__PURE__ */ c.jsx("span", { className: "elm", children: Ce.createElement(S.component, null, null) }, S.id)),
11355
+ h && h.map((A) => /* @__PURE__ */ c.jsx("span", { className: "elm", children: Ce.createElement(A.component, null, null) }, A.id)),
11356
11356
  /* @__PURE__ */ c.jsx("span", { className: "elm", children: /* @__PURE__ */ c.jsx(cg, { ...y, children: /* @__PURE__ */ c.jsx(
11357
11357
  jr,
11358
11358
  {
11359
11359
  "data-testid": "property-locale",
11360
11360
  menuButton: /* @__PURE__ */ c.jsxs("button", { type: "button", className: "di button link", children: [
11361
11361
  /* @__PURE__ */ c.jsx("img", { src: lg, alt: "locale icon" }),
11362
- /* @__PURE__ */ c.jsx("span", { title: e("eula.language"), defaultValue: "Language", children: o.locale }),
11362
+ /* @__PURE__ */ c.jsx("span", { title: e("eula.language"), defaultValue: "Language", children: e(`locales.${o.locale}`, { defaultValue: o.locale }) }),
11363
11363
  /* @__PURE__ */ c.jsx("img", { src: Aa, alt: "triangle down" })
11364
11364
  ] }),
11365
11365
  children: /* @__PURE__ */ c.jsx(
11366
11366
  ao,
11367
11367
  {
11368
11368
  name: "locale",
11369
- render: () => /* @__PURE__ */ c.jsx(c.Fragment, { children: t.map((S) => /* @__PURE__ */ c.jsx(
11369
+ render: () => /* @__PURE__ */ c.jsx(c.Fragment, { children: t.map((A) => /* @__PURE__ */ c.jsx(
11370
11370
  an,
11371
11371
  {
11372
- "data-testid": `property-locale-${S}`,
11373
- onClick: () => I(S),
11374
- children: S === o.locale ? /* @__PURE__ */ c.jsx("b", { children: S }) : S
11372
+ "data-testid": `property-locale-${A}`,
11373
+ onClick: () => S(A),
11374
+ children: A === o.locale ? /* @__PURE__ */ c.jsx("b", { children: e(`locales.${A}`, { defaultValue: A }) }) : e(`locales.${A}`, { defaultValue: A })
11375
11375
  }
11376
11376
  )) })
11377
11377
  }
@@ -11417,7 +11417,7 @@ function Pv(r) {
11417
11417
  ] }),
11418
11418
  children: [
11419
11419
  /* @__PURE__ */ c.jsx(an, { "data-testid": "user-profile-button", linkTo: "/profile", children: /* @__PURE__ */ c.jsx("span", { children: /* @__PURE__ */ c.jsx(_, { i18nKey: "page.headerLinks.userProfile", children: "User Profile" }) }) }),
11420
- /* @__PURE__ */ c.jsx(an, { "data-testid": "start-page-button", linkTo: "#", onClick: A, children: /* @__PURE__ */ c.jsx("span", { children: /* @__PURE__ */ c.jsx(_, { i18nKey: "page.headerLinks.startPage", children: "Set as startpage" }) }) })
11420
+ /* @__PURE__ */ c.jsx(an, { "data-testid": "start-page-button", linkTo: "#", onClick: I, children: /* @__PURE__ */ c.jsx("span", { children: /* @__PURE__ */ c.jsx(_, { i18nKey: "page.headerLinks.startPage", children: "Set as startpage" }) }) })
11421
11421
  ]
11422
11422
  }
11423
11423
  ) }),
@@ -11426,8 +11426,8 @@ function Pv(r) {
11426
11426
  {
11427
11427
  "data-testid": "logout-button",
11428
11428
  className: "di button link",
11429
- onClick: (S) => {
11430
- S.preventDefault(), T(o, s);
11429
+ onClick: (A) => {
11430
+ A.preventDefault(), T(o, s);
11431
11431
  },
11432
11432
  children: /* @__PURE__ */ c.jsx("span", { children: /* @__PURE__ */ c.jsx(_, { i18nKey: "page.headerLinks.logout", children: "Logout" }) })
11433
11433
  }
@@ -11644,12 +11644,12 @@ function vh() {
11644
11644
  HTMLFormElement: d,
11645
11645
  DOMParser: g,
11646
11646
  trustedTypes: f
11647
- } = r, m = l.prototype, p = Dn(m, "cloneNode"), y = Dn(m, "remove"), C = Dn(m, "nextSibling"), T = Dn(m, "childNodes"), A = Dn(m, "parentNode");
11647
+ } = r, m = l.prototype, p = Dn(m, "cloneNode"), y = Dn(m, "remove"), C = Dn(m, "nextSibling"), T = Dn(m, "childNodes"), I = Dn(m, "parentNode");
11648
11648
  if (typeof s == "function") {
11649
11649
  const j = t.createElement("template");
11650
11650
  j.content && j.content.ownerDocument && (t = j.content.ownerDocument);
11651
11651
  }
11652
- let I, S = "";
11652
+ let S, A = "";
11653
11653
  const {
11654
11654
  implementation: E,
11655
11655
  createNodeIterator: L,
@@ -11659,7 +11659,7 @@ function vh() {
11659
11659
  importNode: Ie
11660
11660
  } = n;
11661
11661
  let re = Sc();
11662
- e.isSupported = typeof ph == "function" && typeof A == "function" && E && E.createHTMLDocument !== void 0;
11662
+ e.isSupported = typeof ph == "function" && typeof I == "function" && E && E.createHTMLDocument !== void 0;
11663
11663
  const {
11664
11664
  MUSTACHE_EXPR: kt,
11665
11665
  ERB_EXPR: _t,
@@ -11721,13 +11721,13 @@ function vh() {
11721
11721
  throw Ln('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');
11722
11722
  if (typeof v.TRUSTED_TYPES_POLICY.createScriptURL != "function")
11723
11723
  throw Ln('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');
11724
- I = v.TRUSTED_TYPES_POLICY, S = I.createHTML("");
11724
+ S = v.TRUSTED_TYPES_POLICY, A = S.createHTML("");
11725
11725
  } else
11726
- I === void 0 && (I = iT(f, i)), I !== null && typeof S == "string" && (S = I.createHTML(""));
11726
+ S === void 0 && (S = iT(f, i)), S !== null && typeof A == "string" && (A = S.createHTML(""));
11727
11727
  Pe && Pe(v), qt = v;
11728
11728
  }
11729
11729
  }, ia = V({}, [...Vi, ...Wi, ...Wv]), oa = V({}, [...qi, ...qv]), pu = function(v) {
11730
- let x = A(v);
11730
+ let x = I(v);
11731
11731
  (!x || !x.tagName) && (x = {
11732
11732
  namespaceURI: Wt,
11733
11733
  tagName: "template"
@@ -11739,7 +11739,7 @@ function vh() {
11739
11739
  element: v
11740
11740
  });
11741
11741
  try {
11742
- A(v).removeChild(v);
11742
+ I(v).removeChild(v);
11743
11743
  } catch {
11744
11744
  y(v);
11745
11745
  }
@@ -11775,7 +11775,7 @@ function vh() {
11775
11775
  U = we && we[0];
11776
11776
  }
11777
11777
  Rn === "application/xhtml+xml" && Wt === ct && (v = '<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>' + v + "</body></html>");
11778
- const ne = I ? I.createHTML(v) : v;
11778
+ const ne = S ? S.createHTML(v) : v;
11779
11779
  if (Wt === ct)
11780
11780
  try {
11781
11781
  x = new g().parseFromString(ne, Rn);
@@ -11784,7 +11784,7 @@ function vh() {
11784
11784
  if (!x || !x.documentElement) {
11785
11785
  x = E.createDocument(Wt, "template", null);
11786
11786
  try {
11787
- x.documentElement.innerHTML = _i ? S : ne;
11787
+ x.documentElement.innerHTML = _i ? A : ne;
11788
11788
  } catch {
11789
11789
  }
11790
11790
  }
@@ -11822,7 +11822,7 @@ function vh() {
11822
11822
  if (!En[U] && ha(U) && (se.tagNameCheck instanceof RegExp && Ne(se.tagNameCheck, U) || se.tagNameCheck instanceof Function && se.tagNameCheck(U)))
11823
11823
  return !1;
11824
11824
  if (Ri && !Vt[U]) {
11825
- const ne = A(v) || v.parentNode, Se = T(v) || v.childNodes;
11825
+ const ne = I(v) || v.parentNode, Se = T(v) || v.childNodes;
11826
11826
  if (Se && ne) {
11827
11827
  const we = Se.length;
11828
11828
  for (let Le = we - 1; Le >= 0; --Le) {
@@ -11905,14 +11905,14 @@ function vh() {
11905
11905
  });
11906
11906
  const ga = pe(v.nodeName);
11907
11907
  if (da(ga, kn, xe)) {
11908
- if (I && typeof f == "object" && typeof f.getAttributeType == "function" && !Le)
11908
+ if (S && typeof f == "object" && typeof f.getAttributeType == "function" && !Le)
11909
11909
  switch (f.getAttributeType(ga, kn)) {
11910
11910
  case "TrustedHTML": {
11911
- xe = I.createHTML(xe);
11911
+ xe = S.createHTML(xe);
11912
11912
  break;
11913
11913
  }
11914
11914
  case "TrustedScriptURL": {
11915
- xe = I.createScriptURL(xe);
11915
+ xe = S.createScriptURL(xe);
11916
11916
  break;
11917
11917
  }
11918
11918
  }
@@ -11951,9 +11951,9 @@ function vh() {
11951
11951
  else {
11952
11952
  if (!Gt && !zt && !xt && // eslint-disable-next-line unicorn/prefer-includes
11953
11953
  j.indexOf("<") === -1)
11954
- return I && ir ? I.createHTML(j) : j;
11954
+ return S && ir ? S.createHTML(j) : j;
11955
11955
  if (x = sa(j), !x)
11956
- return Gt ? null : ir ? S : "";
11956
+ return Gt ? null : ir ? A : "";
11957
11957
  }
11958
11958
  x && bi && Je(x.firstChild);
11959
11959
  const we = aa(bn ? j : x);
@@ -11973,7 +11973,7 @@ function vh() {
11973
11973
  return xt && fe["!doctype"] && x.ownerDocument && x.ownerDocument.doctype && x.ownerDocument.doctype.name && Ne(Ch, x.ownerDocument.doctype.name) && (Le = "<!DOCTYPE " + x.ownerDocument.doctype.name + `>
11974
11974
  ` + Le), zt && vr([kt, _t, at], (Ze) => {
11975
11975
  Le = On(Le, Ze, " ");
11976
- }), I && ir ? I.createHTML(Le) : Le;
11976
+ }), S && ir ? S.createHTML(Le) : Le;
11977
11977
  }, e.setConfig = function() {
11978
11978
  let j = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
11979
11979
  Ni(j), Ei = !0;
@@ -12602,8 +12602,8 @@ var yT = globalThis && globalThis.__extends || function() {
12602
12602
  }, e.prototype.calculateNewSizeFromAspectRatio = function(t, n, i, o) {
12603
12603
  var s = this.props, a = s.lockAspectRatio, l = s.lockAspectRatioExtraHeight, u = s.lockAspectRatioExtraWidth, h = typeof o.width > "u" ? 10 : o.width, d = typeof i.width > "u" || i.width < 0 ? t : i.width, g = typeof o.height > "u" ? 10 : o.height, f = typeof i.height > "u" || i.height < 0 ? n : i.height, m = l || 0, p = u || 0;
12604
12604
  if (a) {
12605
- var y = (g - m) * this.ratio + p, C = (f - m) * this.ratio + p, T = (h - p) / this.ratio + m, A = (d - p) / this.ratio + m, I = Math.max(h, y), S = Math.min(d, C), E = Math.max(g, T), L = Math.min(f, A);
12606
- t = Ar(t, I, S), n = Ar(n, E, L);
12605
+ var y = (g - m) * this.ratio + p, C = (f - m) * this.ratio + p, T = (h - p) / this.ratio + m, I = (d - p) / this.ratio + m, S = Math.max(h, y), A = Math.min(d, C), E = Math.max(g, T), L = Math.min(f, I);
12606
+ t = Ar(t, S, A), n = Ar(n, E, L);
12607
12607
  } else
12608
12608
  t = Ar(t, h, d), n = Ar(n, g, f);
12609
12609
  return { newWidth: t, newHeight: n };
@@ -12665,44 +12665,44 @@ var yT = globalThis && globalThis.__extends || function() {
12665
12665
  }
12666
12666
  var i = this.props, o = i.maxWidth, s = i.maxHeight, a = i.minWidth, l = i.minHeight, u = Ir(t) ? t.touches[0].clientX : t.clientX, h = Ir(t) ? t.touches[0].clientY : t.clientY, d = this.state, g = d.direction, f = d.original, m = d.width, p = d.height, y = this.getParentSize(), C = IT(y, this.window.innerWidth, this.window.innerHeight, o, s, a, l);
12667
12667
  o = C.maxWidth, s = C.maxHeight, a = C.minWidth, l = C.minHeight;
12668
- var T = this.calculateNewSizeFromDirection(u, h), A = T.newHeight, I = T.newWidth, S = this.calculateNewMaxFromBoundary(o, s);
12669
- this.props.snap && this.props.snap.x && (I = Nc(I, this.props.snap.x, this.props.snapGap)), this.props.snap && this.props.snap.y && (A = Nc(A, this.props.snap.y, this.props.snapGap));
12670
- var E = this.calculateNewSizeFromAspectRatio(I, A, { width: S.maxWidth, height: S.maxHeight }, { width: a, height: l });
12671
- if (I = E.newWidth, A = E.newHeight, this.props.grid) {
12672
- var L = xc(I, this.props.grid[0]), $ = xc(A, this.props.grid[1]), B = this.props.snapGap || 0;
12673
- I = B === 0 || Math.abs(L - I) <= B ? L : I, A = B === 0 || Math.abs($ - A) <= B ? $ : A;
12668
+ var T = this.calculateNewSizeFromDirection(u, h), I = T.newHeight, S = T.newWidth, A = this.calculateNewMaxFromBoundary(o, s);
12669
+ this.props.snap && this.props.snap.x && (S = Nc(S, this.props.snap.x, this.props.snapGap)), this.props.snap && this.props.snap.y && (I = Nc(I, this.props.snap.y, this.props.snapGap));
12670
+ var E = this.calculateNewSizeFromAspectRatio(S, I, { width: A.maxWidth, height: A.maxHeight }, { width: a, height: l });
12671
+ if (S = E.newWidth, I = E.newHeight, this.props.grid) {
12672
+ var L = xc(S, this.props.grid[0]), $ = xc(I, this.props.grid[1]), B = this.props.snapGap || 0;
12673
+ S = B === 0 || Math.abs(L - S) <= B ? L : S, I = B === 0 || Math.abs($ - I) <= B ? $ : I;
12674
12674
  }
12675
12675
  var Ie = {
12676
- width: I - f.width,
12677
- height: A - f.height
12676
+ width: S - f.width,
12677
+ height: I - f.height
12678
12678
  };
12679
12679
  if (m && typeof m == "string") {
12680
12680
  if (m.endsWith("%")) {
12681
- var re = I / y.width * 100;
12682
- I = re + "%";
12681
+ var re = S / y.width * 100;
12682
+ S = re + "%";
12683
12683
  } else if (m.endsWith("vw")) {
12684
- var kt = I / this.window.innerWidth * 100;
12685
- I = kt + "vw";
12684
+ var kt = S / this.window.innerWidth * 100;
12685
+ S = kt + "vw";
12686
12686
  } else if (m.endsWith("vh")) {
12687
- var _t = I / this.window.innerHeight * 100;
12688
- I = _t + "vh";
12687
+ var _t = S / this.window.innerHeight * 100;
12688
+ S = _t + "vh";
12689
12689
  }
12690
12690
  }
12691
12691
  if (p && typeof p == "string") {
12692
12692
  if (p.endsWith("%")) {
12693
- var re = A / y.height * 100;
12694
- A = re + "%";
12693
+ var re = I / y.height * 100;
12694
+ I = re + "%";
12695
12695
  } else if (p.endsWith("vw")) {
12696
- var kt = A / this.window.innerWidth * 100;
12697
- A = kt + "vw";
12696
+ var kt = I / this.window.innerWidth * 100;
12697
+ I = kt + "vw";
12698
12698
  } else if (p.endsWith("vh")) {
12699
- var _t = A / this.window.innerHeight * 100;
12700
- A = _t + "vh";
12699
+ var _t = I / this.window.innerHeight * 100;
12700
+ I = _t + "vh";
12701
12701
  }
12702
12702
  }
12703
12703
  var at = {
12704
- width: this.createSizeForCssProperty(I, "width"),
12705
- height: this.createSizeForCssProperty(A, "height")
12704
+ width: this.createSizeForCssProperty(S, "width"),
12705
+ height: this.createSizeForCssProperty(I, "height")
12706
12706
  };
12707
12707
  this.flexDir === "row" ? at.flexBasis = at.width : this.flexDir === "column" && (at.flexBasis = at.height), Xf(function() {
12708
12708
  n.setState(at);
@@ -12774,10 +12774,10 @@ var yT = globalThis && globalThis.__extends || function() {
12774
12774
  );
12775
12775
  const Ji = 300, Pc = 420, bT = 270, RT = 150, kT = 150, _T = 40;
12776
12776
  function xT({ children: r, className: e }) {
12777
- const [t, n] = R(0), [i, o] = R(kT), [s, a] = R(window.innerWidth - Ji - _T), [l, u] = R(Ji), [h, d] = R(Pc), g = ke(null), f = (y, C, T, A) => {
12778
- n(A.width);
12779
- }, m = (y, C, T, A) => {
12780
- n(0), u(l + A.width), d(h + A.height), a(s - A.width);
12777
+ const [t, n] = R(0), [i, o] = R(kT), [s, a] = R(window.innerWidth - Ji - _T), [l, u] = R(Ji), [h, d] = R(Pc), g = ke(null), f = (y, C, T, I) => {
12778
+ n(I.width);
12779
+ }, m = (y, C, T, I) => {
12780
+ n(0), u(l + I.width), d(h + I.height), a(s - I.width);
12781
12781
  }, p = (y, { lastX: C, lastY: T }) => {
12782
12782
  a(Math.min(Math.max(0, s + C), window.innerWidth - l)), o(Math.min(Math.max(0, i + T), window.innerHeight - h));
12783
12783
  };
@@ -12944,13 +12944,13 @@ var bh = { exports: {} };
12944
12944
  var m = this, p = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : function() {
12945
12945
  }, y = d.querySelectorAll("iframe"), C = y.length, T = 0;
12946
12946
  y = Array.prototype.slice.call(y);
12947
- var A = function() {
12947
+ var I = function() {
12948
12948
  --C <= 0 && p(T);
12949
12949
  };
12950
- C || A(), y.forEach(function(I) {
12951
- u.matches(I, m.exclude) ? A() : m.onIframeReady(I, function(S) {
12952
- g(I) && (T++, f(S)), A();
12953
- }, A);
12950
+ C || I(), y.forEach(function(S) {
12951
+ u.matches(S, m.exclude) ? I() : m.onIframeReady(S, function(A) {
12952
+ g(S) && (T++, f(A)), I();
12953
+ }, I);
12954
12954
  });
12955
12955
  }
12956
12956
  }, {
@@ -13012,18 +13012,18 @@ var bh = { exports: {} };
13012
13012
  }, {
13013
13013
  key: "iterateThroughNodes",
13014
13014
  value: function(d, g, f, m, p) {
13015
- for (var y = this, C = this.createIterator(g, d, m), T = [], A = [], I = void 0, S = void 0, E = function() {
13015
+ for (var y = this, C = this.createIterator(g, d, m), T = [], I = [], S = void 0, A = void 0, E = function() {
13016
13016
  var $ = y.getIteratorNode(C);
13017
- return S = $.prevNode, I = $.node, I;
13017
+ return A = $.prevNode, S = $.node, S;
13018
13018
  }; E(); )
13019
13019
  this.iframes && this.forEachIframe(g, function(L) {
13020
- return y.checkIframeFilter(I, S, L, T);
13020
+ return y.checkIframeFilter(S, A, L, T);
13021
13021
  }, function(L) {
13022
13022
  y.createInstanceOnIframe(L).forEachNode(d, function($) {
13023
- return A.push($);
13023
+ return I.push($);
13024
13024
  }, m);
13025
- }), A.push(I);
13026
- A.forEach(function(L) {
13025
+ }), I.push(S);
13026
+ I.forEach(function(L) {
13027
13027
  f(L);
13028
13028
  }), this.iframes && this.handleOpenIframes(T, d, f, m), p();
13029
13029
  }
@@ -13033,12 +13033,12 @@ var bh = { exports: {} };
13033
13033
  var m = this, p = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : function() {
13034
13034
  }, y = this.getContexts(), C = y.length;
13035
13035
  C || p(), y.forEach(function(T) {
13036
- var A = function() {
13036
+ var I = function() {
13037
13037
  m.iterateThroughNodes(d, T, g, f, function() {
13038
13038
  --C <= 0 && p();
13039
13039
  });
13040
13040
  };
13041
- m.iframes ? m.waitForIframes(T, A) : A();
13041
+ m.iframes ? m.waitForIframes(T, I) : I();
13042
13042
  });
13043
13043
  }
13044
13044
  }], [{
@@ -13187,8 +13187,8 @@ var bh = { exports: {} };
13187
13187
  return d.sort(function(p, y) {
13188
13188
  return p.start - y.start;
13189
13189
  }).forEach(function(p) {
13190
- var y = g.callNoMatchOnInvalidRanges(p, m), C = y.start, T = y.end, A = y.valid;
13191
- A && (p.start = C, p.length = T - C, f.push(p), m = T);
13190
+ var y = g.callNoMatchOnInvalidRanges(p, m), C = y.start, T = y.end, I = y.valid;
13191
+ I && (p.start = C, p.length = T - C, f.push(p), m = T);
13192
13192
  }), f;
13193
13193
  }
13194
13194
  }, {
@@ -13246,14 +13246,14 @@ var bh = { exports: {} };
13246
13246
  value: function(d, g, f, m, p) {
13247
13247
  var y = this;
13248
13248
  d.nodes.every(function(C, T) {
13249
- var A = d.nodes[T + 1];
13250
- if (typeof A > "u" || A.start > g) {
13249
+ var I = d.nodes[T + 1];
13250
+ if (typeof I > "u" || I.start > g) {
13251
13251
  if (!m(C.node))
13252
13252
  return !1;
13253
- var I = g - C.start, S = (f > C.end ? C.end : f) - C.start, E = d.value.substr(0, C.start), L = d.value.substr(S + C.start);
13254
- if (C.node = y.wrapRangeInTextNode(C.node, I, S), d.value = E + L, d.nodes.forEach(function($, B) {
13255
- B >= T && (d.nodes[B].start > 0 && B !== T && (d.nodes[B].start -= S), d.nodes[B].end -= S);
13256
- }), f -= S, p(C.node.previousSibling, C.start), f > C.end)
13253
+ var S = g - C.start, A = (f > C.end ? C.end : f) - C.start, E = d.value.substr(0, C.start), L = d.value.substr(A + C.start);
13254
+ if (C.node = y.wrapRangeInTextNode(C.node, S, A), d.value = E + L, d.nodes.forEach(function($, B) {
13255
+ B >= T && (d.nodes[B].start > 0 && B !== T && (d.nodes[B].start -= A), d.nodes[B].end -= A);
13256
+ }), f -= A, p(C.node.previousSibling, C.start), f > C.end)
13257
13257
  g = C.end;
13258
13258
  else
13259
13259
  return !1;
@@ -13266,15 +13266,15 @@ var bh = { exports: {} };
13266
13266
  value: function(d, g, f, m, p) {
13267
13267
  var y = this, C = g === 0 ? 0 : g + 1;
13268
13268
  this.getTextNodes(function(T) {
13269
- T.nodes.forEach(function(A) {
13270
- A = A.node;
13271
- for (var I = void 0; (I = d.exec(A.textContent)) !== null && I[C] !== ""; )
13272
- if (f(I[C], A)) {
13273
- var S = I.index;
13269
+ T.nodes.forEach(function(I) {
13270
+ I = I.node;
13271
+ for (var S = void 0; (S = d.exec(I.textContent)) !== null && S[C] !== ""; )
13272
+ if (f(S[C], I)) {
13273
+ var A = S.index;
13274
13274
  if (C !== 0)
13275
13275
  for (var E = 1; E < C; E++)
13276
- S += I[E].length;
13277
- A = y.wrapRangeInTextNode(A, S, S + I[C].length), m(A.previousSibling), d.lastIndex = 0;
13276
+ A += S[E].length;
13277
+ I = y.wrapRangeInTextNode(I, A, A + S[C].length), m(I.previousSibling), d.lastIndex = 0;
13278
13278
  }
13279
13279
  }), p();
13280
13280
  });
@@ -13284,14 +13284,14 @@ var bh = { exports: {} };
13284
13284
  value: function(d, g, f, m, p) {
13285
13285
  var y = this, C = g === 0 ? 0 : g + 1;
13286
13286
  this.getTextNodes(function(T) {
13287
- for (var A = void 0; (A = d.exec(T.value)) !== null && A[C] !== ""; ) {
13288
- var I = A.index;
13287
+ for (var I = void 0; (I = d.exec(T.value)) !== null && I[C] !== ""; ) {
13288
+ var S = I.index;
13289
13289
  if (C !== 0)
13290
- for (var S = 1; S < C; S++)
13291
- I += A[S].length;
13292
- var E = I + A[C].length;
13293
- y.wrapRangeInMappedTextNode(T, I, E, function(L) {
13294
- return f(A[C], L);
13290
+ for (var A = 1; A < C; A++)
13291
+ S += I[A].length;
13292
+ var E = S + I[C].length;
13293
+ y.wrapRangeInMappedTextNode(T, S, E, function(L) {
13294
+ return f(I[C], L);
13295
13295
  }, function(L, $) {
13296
13296
  d.lastIndex = $, m(L);
13297
13297
  });
@@ -13305,10 +13305,10 @@ var bh = { exports: {} };
13305
13305
  var p = this;
13306
13306
  this.getTextNodes(function(y) {
13307
13307
  var C = y.value.length;
13308
- d.forEach(function(T, A) {
13309
- var I = p.checkWhitespaceRanges(T, C, y.value), S = I.start, E = I.end, L = I.valid;
13310
- L && p.wrapRangeInMappedTextNode(y, S, E, function($) {
13311
- return g($, T, y.value.substring(S, E), A);
13308
+ d.forEach(function(T, I) {
13309
+ var S = p.checkWhitespaceRanges(T, C, y.value), A = S.start, E = S.end, L = S.valid;
13310
+ L && p.wrapRangeInMappedTextNode(y, A, E, function($) {
13311
+ return g($, T, y.value.substring(A, E), I);
13312
13312
  }, function($) {
13313
13313
  f($, T);
13314
13314
  });
@@ -13353,17 +13353,17 @@ var bh = { exports: {} };
13353
13353
  value: function(d, g) {
13354
13354
  var f = this;
13355
13355
  this.opt = g;
13356
- var m = 0, p = "wrapMatches", y = this.getSeparatedKeywords(typeof d == "string" ? [d] : d), C = y.keywords, T = y.length, A = this.opt.caseSensitive ? "" : "i", I = function S(E) {
13357
- var L = new RegExp(f.createRegExp(E), "gm" + A), $ = 0;
13356
+ var m = 0, p = "wrapMatches", y = this.getSeparatedKeywords(typeof d == "string" ? [d] : d), C = y.keywords, T = y.length, I = this.opt.caseSensitive ? "" : "i", S = function A(E) {
13357
+ var L = new RegExp(f.createRegExp(E), "gm" + I), $ = 0;
13358
13358
  f.log('Searching with expression "' + L + '"'), f[p](L, 1, function(B, Ie) {
13359
13359
  return f.opt.filter(Ie, E, m, $);
13360
13360
  }, function(B) {
13361
13361
  $++, m++, f.opt.each(B);
13362
13362
  }, function() {
13363
- $ === 0 && f.opt.noMatch(E), C[T - 1] === E ? f.opt.done(m) : S(C[C.indexOf(E) + 1]);
13363
+ $ === 0 && f.opt.noMatch(E), C[T - 1] === E ? f.opt.done(m) : A(C[C.indexOf(E) + 1]);
13364
13364
  });
13365
13365
  };
13366
- this.opt.acrossElements && (p = "wrapMatchesAcrossElements"), T === 0 ? this.opt.done(m) : I(C[0]);
13366
+ this.opt.acrossElements && (p = "wrapMatchesAcrossElements"), T === 0 ? this.opt.done(m) : S(C[0]);
13367
13367
  }
13368
13368
  }, {
13369
13369
  key: "markRanges",
@@ -13371,8 +13371,8 @@ var bh = { exports: {} };
13371
13371
  var f = this;
13372
13372
  this.opt = g;
13373
13373
  var m = 0, p = this.checkRanges(d);
13374
- p && p.length ? (this.log("Starting to mark with the following ranges: " + JSON.stringify(p)), this.wrapRangeFromIndex(p, function(y, C, T, A) {
13375
- return f.opt.filter(y, C, T, A);
13374
+ p && p.length ? (this.log("Starting to mark with the following ranges: " + JSON.stringify(p)), this.wrapRangeFromIndex(p, function(y, C, T, I) {
13375
+ return f.opt.filter(y, C, T, I);
13376
13376
  }, function(y, C) {
13377
13377
  m++, f.opt.each(y, C);
13378
13378
  }, function() {
@@ -14286,24 +14286,24 @@ function xw({
14286
14286
  // eslint-disable-next-line react-hooks/exhaustive-deps
14287
14287
  []
14288
14288
  );
14289
- const C = a && m ? a(m) : [s], T = C ? ve.uniqWith([...h, ...C].filter(Boolean), ve.isEqual) : h, A = T.map(
14290
- (I) => typeof I == "string" ? I : y((I == null ? void 0 : I.id) ?? "", {
14291
- defaultValue: (I == null ? void 0 : I.defaultValue) ?? ""
14289
+ const C = a && m ? a(m) : [s], T = C ? ve.uniqWith([...h, ...C].filter(Boolean), ve.isEqual) : h, I = T.map(
14290
+ (S) => typeof S == "string" ? S : y((S == null ? void 0 : S.id) ?? "", {
14291
+ defaultValue: (S == null ? void 0 : S.defaultValue) ?? ""
14292
14292
  })
14293
14293
  ).join(" / ");
14294
14294
  return D(() => {
14295
- p(A);
14296
- }, [A, p]), Ft(n) ? /* @__PURE__ */ c.jsx(
14295
+ p(I);
14296
+ }, [I, p]), Ft(n) ? /* @__PURE__ */ c.jsx(
14297
14297
  Me,
14298
14298
  {
14299
14299
  path: l,
14300
14300
  strict: !1,
14301
- children: ({ match: I }) => {
14302
- if (r && (I != null && I.isExact || !e))
14301
+ children: ({ match: S }) => {
14302
+ if (r && (S != null && S.isExact || !e))
14303
14303
  return /* @__PURE__ */ c.jsxs(c.Fragment, { children: [
14304
14304
  /* @__PURE__ */ c.jsx(Mr, { children: /* @__PURE__ */ c.jsx("title", { children: [...T, K.getAppName()].map(
14305
- (S) => typeof S == "string" ? S : y((S == null ? void 0 : S.id) ?? "", {
14306
- defaultValue: (S == null ? void 0 : S.defaultValue) ?? ""
14305
+ (A) => typeof A == "string" ? A : y((A == null ? void 0 : A.id) ?? "", {
14306
+ defaultValue: (A == null ? void 0 : A.defaultValue) ?? ""
14307
14307
  })
14308
14308
  ).join(" - ") }) }),
14309
14309
  /* @__PURE__ */ c.jsx(bw, { fallbackRender: _w, children: /* @__PURE__ */ c.jsx(
@@ -14317,12 +14317,12 @@ function xw({
14317
14317
  ) })
14318
14318
  ] });
14319
14319
  if (e) {
14320
- const S = /* @__PURE__ */ c.jsx(
14320
+ const A = /* @__PURE__ */ c.jsx(
14321
14321
  _h,
14322
14322
  {
14323
14323
  routes: e,
14324
14324
  path: l,
14325
- url: I == null ? void 0 : I.url,
14325
+ url: S == null ? void 0 : S.url,
14326
14326
  browserTitleSegments: T,
14327
14327
  ...d
14328
14328
  }
@@ -14331,13 +14331,13 @@ function xw({
14331
14331
  t,
14332
14332
  {
14333
14333
  ...d,
14334
- params: I == null ? void 0 : I.params,
14334
+ params: S == null ? void 0 : S.params,
14335
14335
  currentUser: g,
14336
14336
  appConfiguration: Hc(i, o),
14337
14337
  requiredAuthorities: n,
14338
- children: S
14338
+ children: A
14339
14339
  }
14340
- ) : S;
14340
+ ) : A;
14341
14341
  } else
14342
14342
  throw Error(`neither component nor child routes were defined for ${l}`);
14343
14343
  }
@@ -15187,30 +15187,30 @@ const fA = ({ children: r }) => {
15187
15187
  () => i.liveModeEnabled ? Vw(i.trendDatapoints) : {},
15188
15188
  [i.trendDatapoints, i.liveModeEnabled]
15189
15189
  ), h = Bg(u), d = 4;
15190
- t.current = (I) => {
15191
- i.currentPeriod ? (s.current(), a.current(), (i.zoomInDisabled = I.tsEnd - I.tsStart < d) && (I.tsStart = (I.tsStart + I.tsEnd) / 2 - 2, I.tsEnd = I.tsStart + d), s.current = eo(
15190
+ t.current = (S) => {
15191
+ i.currentPeriod ? (s.current(), a.current(), (i.zoomInDisabled = S.tsEnd - S.tsStart < d) && (S.tsStart = (S.tsStart + S.tsEnd) / 2 - 2, S.tsEnd = S.tsStart + d), s.current = eo(
15192
15192
  i.trendDatapoints,
15193
- I,
15193
+ S,
15194
15194
  l,
15195
15195
  o
15196
15196
  )) : console.error("updatePeriod: fetchMetadata or currentPeriod is undefined!");
15197
15197
  };
15198
15198
  const g = Q(
15199
- (I, S) => {
15199
+ (S, A) => {
15200
15200
  s.current(), a.current();
15201
- const E = Yw(i.trendDatapoints, I);
15201
+ const E = Yw(i.trendDatapoints, S);
15202
15202
  eo(
15203
15203
  E,
15204
- S ?? i.currentPeriod,
15204
+ A ?? i.currentPeriod,
15205
15205
  l,
15206
15206
  o
15207
15207
  );
15208
15208
  },
15209
15209
  [l, i.currentPeriod, i.trendDatapoints]
15210
15210
  ), f = Q(
15211
- (I, S) => {
15211
+ (S, A) => {
15212
15212
  s.current(), a.current();
15213
- const E = Ph(I, S, i.trendDatapoints);
15213
+ const E = Ph(S, A, i.trendDatapoints);
15214
15214
  a.current = qw(
15215
15215
  E,
15216
15216
  i.currentPeriod,
@@ -15219,11 +15219,11 @@ const fA = ({ children: r }) => {
15219
15219
  );
15220
15220
  },
15221
15221
  [l, i.currentPeriod, i.trendDatapoints]
15222
- ), m = Q((I, S) => {
15222
+ ), m = Q((S, A) => {
15223
15223
  o({
15224
15224
  type: "removeTrendDatapoint",
15225
- assetUrn: I,
15226
- datapointName: S
15225
+ assetUrn: S,
15226
+ datapointName: A
15227
15227
  });
15228
15228
  }, []), p = Q(() => {
15229
15229
  s.current(), a.current(), s.current = eo(
@@ -15232,34 +15232,34 @@ const fA = ({ children: r }) => {
15232
15232
  l,
15233
15233
  o
15234
15234
  );
15235
- }, [i, l]), y = Q(() => t.current(Fc()), []), C = Q((I, S) => {
15235
+ }, [i, l]), y = Q(() => t.current(Fc()), []), C = Q((S, A) => {
15236
15236
  o({
15237
15237
  type: "updateTrendDatapointSettings",
15238
- key: I,
15239
- settings: S
15238
+ key: S,
15239
+ settings: A
15240
15240
  });
15241
15241
  }, []), T = Q(
15242
- (I, S) => {
15243
- i.trendDatapoints.some((E) => E.asset.urn === I && E.datapoint.name === S.name) && o({
15242
+ (S, A) => {
15243
+ i.trendDatapoints.some((E) => E.asset.urn === S && E.datapoint.name === A.name) && o({
15244
15244
  type: "changeDatapoint",
15245
- assetUrn: I,
15246
- datapoint: S
15245
+ assetUrn: S,
15246
+ datapoint: A
15247
15247
  });
15248
15248
  },
15249
15249
  [i.trendDatapoints]
15250
- ), A = Q((I, S) => {
15250
+ ), I = Q((S, A) => {
15251
15251
  o({
15252
15252
  type: "toggleTrendDatapoint",
15253
- key: I,
15254
- hide: S
15253
+ key: S,
15254
+ hide: A
15255
15255
  });
15256
15256
  }, []);
15257
15257
  return D(
15258
15258
  () => {
15259
- const I = Object.keys(h).length === 0;
15260
- if (i.liveModeEnabled && !I && !i.fetching) {
15261
- const { tsStart: S, tsEnd: E } = i.currentPeriod, L = Ww(h), $ = 3, B = Math.floor((E - S) / $), Ie = S < L && L < E + B;
15262
- L > E && Ie && t.current({ tsStart: S + B, tsEnd: E + B }), o({ type: "updateLiveValues", liveValues: h });
15259
+ const S = Object.keys(h).length === 0;
15260
+ if (i.liveModeEnabled && !S && !i.fetching) {
15261
+ const { tsStart: A, tsEnd: E } = i.currentPeriod, L = Ww(h), $ = 3, B = Math.floor((E - A) / $), Ie = A < L && L < E + B;
15262
+ L > E && Ie && t.current({ tsStart: A + B, tsEnd: E + B }), o({ type: "updateLiveValues", liveValues: h });
15263
15263
  }
15264
15264
  },
15265
15265
  // eslint-disable-next-line react-hooks/exhaustive-deps
@@ -15284,7 +15284,7 @@ const fA = ({ children: r }) => {
15284
15284
  changeDatapoint: T,
15285
15285
  updatePeriod: t.current,
15286
15286
  resetPeriod: y,
15287
- toggleTrendDatapoint: A,
15287
+ toggleTrendDatapoint: I,
15288
15288
  liveModeEnabled: i.liveModeEnabled,
15289
15289
  zoomInDisabled: i.zoomInDisabled
15290
15290
  },
@@ -16419,11 +16419,11 @@ function XA() {
16419
16419
  let C;
16420
16420
  try {
16421
16421
  C = await Ur(p);
16422
- } catch (A) {
16422
+ } catch (I) {
16423
16423
  if (p !== y)
16424
16424
  C = await Ur(y);
16425
16425
  else {
16426
- console.error(A);
16426
+ console.error(I);
16427
16427
  return;
16428
16428
  }
16429
16429
  }
@@ -16474,7 +16474,7 @@ function Vh() {
16474
16474
  }, [y, r]), D(() => {
16475
16475
  r && !en(r) && i(!0);
16476
16476
  }, [r]);
16477
- const { ref: C, height: T } = io(), { ref: A, height: I } = io(), { ref: S, height: E } = io(), L = eI(I, T, E);
16477
+ const { ref: C, height: T } = io(), { ref: I, height: S } = io(), { ref: A, height: E } = io(), L = eI(S, T, E);
16478
16478
  async function $() {
16479
16479
  m(!0);
16480
16480
  try {
@@ -16528,7 +16528,7 @@ function Vh() {
16528
16528
  }
16529
16529
  }
16530
16530
  ),
16531
- r && !en(r) && /* @__PURE__ */ c.jsxs("div", { ref: A, className: "eula", children: [
16531
+ r && !en(r) && /* @__PURE__ */ c.jsxs("div", { ref: I, className: "eula", children: [
16532
16532
  /* @__PURE__ */ c.jsx("hr", {}),
16533
16533
  /* @__PURE__ */ c.jsx("strong", { children: /* @__PURE__ */ c.jsx(_, { i18nKey: "welcome.toProceedDownloadEULA", children: "To proceed, please download our End-User-License-Agreement (EULA) first. Thank you!" }) }),
16534
16534
  /* @__PURE__ */ c.jsxs(Yf, { children: [
@@ -16552,7 +16552,7 @@ function Vh() {
16552
16552
  )
16553
16553
  ] })
16554
16554
  ] }),
16555
- /* @__PURE__ */ c.jsx("div", { className: "bottom-area", ref: S }),
16555
+ /* @__PURE__ */ c.jsx("div", { className: "bottom-area", ref: A }),
16556
16556
  !!r && en(r) && /* @__PURE__ */ c.jsx(
16557
16557
  ho,
16558
16558
  {
@@ -16933,8 +16933,8 @@ function vI({ onSubmit: r, authenticating: e, authenticationFailed: t, authentic
16933
16933
  }, []);
16934
16934
  function g() {
16935
16935
  if (u.current && h.current) {
16936
- const T = u.current.value.trim(), A = h.current.value;
16937
- r(T, A);
16936
+ const T = u.current.value.trim(), I = h.current.value;
16937
+ r(T, I);
16938
16938
  }
16939
16939
  }
16940
16940
  function f() {
@@ -16962,8 +16962,8 @@ function vI({ onSubmit: r, authenticating: e, authenticationFailed: t, authentic
16962
16962
  "form",
16963
16963
  {
16964
16964
  className: "di form",
16965
- onSubmit: (A) => {
16966
- A.preventDefault(), g();
16965
+ onSubmit: (I) => {
16966
+ I.preventDefault(), g();
16967
16967
  },
16968
16968
  "data-testid": "form",
16969
16969
  children: [
@@ -17383,8 +17383,8 @@ function xI(r) {
17383
17383
  const y = localStorage.getItem("OAUTH2_CALLBACK_URL");
17384
17384
  if (localStorage.removeItem("OAUTH2_CALLBACK_URL"), y) {
17385
17385
  const C = (T) => {
17386
- const A = y + "&access_token=" + encodeURIComponent(T.accessToken);
17387
- window.location.replace(A);
17386
+ const I = y + "&access_token=" + encodeURIComponent(T.accessToken);
17387
+ window.location.replace(I);
17388
17388
  };
17389
17389
  p ? C(p) : qn().then(C, (T) => console.error(T));
17390
17390
  }