@luigi-project/core-modular 0.0.16-dev.20261010103 → 0.0.16-dev.20261020053

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/luigi.js CHANGED
@@ -805,10 +805,10 @@ var i = (/* @__PURE__ */ e(((e, t) => {
805
805
  function Oi(e) {
806
806
  var t = Cd(e);
807
807
  return function(n) {
808
- return G(n, e, t);
808
+ return ki(n, e, t);
809
809
  };
810
810
  }
811
- function G(e, t, r) {
811
+ function ki(e, t, r) {
812
812
  var i = r.length;
813
813
  if (e == null) return !i;
814
814
  for (e = O(e); i--;) {
@@ -817,7 +817,7 @@ var i = (/* @__PURE__ */ e(((e, t) => {
817
817
  }
818
818
  return !0;
819
819
  }
820
- function ki(e, t, r) {
820
+ function G(e, t, r) {
821
821
  if (typeof e != "function") throw new At(o);
822
822
  return ks(function() {
823
823
  e.apply(n, r);
@@ -1003,14 +1003,14 @@ var i = (/* @__PURE__ */ e(((e, t) => {
1003
1003
  return typeof e == "function" ? e : e == null ? Mf : typeof e == "object" ? Z(e) ? ga(e[0], e[1]) : ha(e) : Gf(e);
1004
1004
  }
1005
1005
  function da(e) {
1006
- if (!vs(e)) return fn(e);
1006
+ if (!Y(e)) return fn(e);
1007
1007
  var t = [];
1008
1008
  for (var n in O(e)) A.call(e, n) && n != "constructor" && t.push(n);
1009
1009
  return t;
1010
1010
  }
1011
1011
  function fa(e) {
1012
1012
  if (!Du(e)) return Ss(e);
1013
- var t = vs(e), n = [];
1013
+ var t = Y(e), n = [];
1014
1014
  for (var r in e) r == "constructor" && (t || !A.call(e, r)) || n.push(r);
1015
1015
  return n;
1016
1016
  }
@@ -1025,12 +1025,12 @@ var i = (/* @__PURE__ */ e(((e, t) => {
1025
1025
  }
1026
1026
  function ha(e) {
1027
1027
  var t = Qo(e);
1028
- return t.length == 1 && t[0][2] ? X(t[0][0], t[0][1]) : function(n) {
1028
+ return t.length == 1 && t[0][2] ? bs(t[0][0], t[0][1]) : function(n) {
1029
1029
  return n === e || aa(n, e, t);
1030
1030
  };
1031
1031
  }
1032
1032
  function ga(e, t) {
1033
- return ms(e) && ys(t) ? X(Fs(e), t) : function(r) {
1033
+ return ms(e) && ys(t) ? bs(Fs(e), t) : function(r) {
1034
1034
  var i = _d(r, e);
1035
1035
  return i === n && i === t ? yd(r, e) : na(t, i, h | g);
1036
1036
  };
@@ -1077,7 +1077,7 @@ var i = (/* @__PURE__ */ e(((e, t) => {
1077
1077
  value: e
1078
1078
  };
1079
1079
  }), function(e, t) {
1080
- return so(e, t, n);
1080
+ return q(e, t, n);
1081
1081
  });
1082
1082
  }
1083
1083
  function xa(e, t) {
@@ -1314,7 +1314,7 @@ var i = (/* @__PURE__ */ e(((e, t) => {
1314
1314
  var n = t ? no(e.buffer) : e.buffer;
1315
1315
  return new e.constructor(n, e.byteOffset, e.length);
1316
1316
  }
1317
- function q(e, t) {
1317
+ function so(e, t) {
1318
1318
  if (e !== t) {
1319
1319
  var r = e !== n, i = e === null, a = e === e, o = Hu(e), s = t !== n, c = t === null, l = t === t, u = Hu(t);
1320
1320
  if (!c && !u && !o && e > t || o && s && l && !c && !u || i && s && l || !r && l || !a) return 1;
@@ -1322,9 +1322,9 @@ var i = (/* @__PURE__ */ e(((e, t) => {
1322
1322
  }
1323
1323
  return 0;
1324
1324
  }
1325
- function so(e, t, n) {
1325
+ function q(e, t, n) {
1326
1326
  for (var r = -1, i = e.criteria, a = t.criteria, o = i.length, s = n.length; ++r < o;) {
1327
- var c = q(i[r], a[r]);
1327
+ var c = so(i[r], a[r]);
1328
1328
  if (c) return r >= s ? c : c * (n[r] == "desc" ? -1 : 1);
1329
1329
  }
1330
1330
  return e.index - t.index;
@@ -1802,7 +1802,7 @@ var i = (/* @__PURE__ */ e(((e, t) => {
1802
1802
  return t && typeof e[0] == "string" && A.call(e, "index") && (n.index = e.index, n.input = e.input), n;
1803
1803
  }
1804
1804
  function cs(e) {
1805
- return typeof e.constructor == "function" && !vs(e) ? Vr(Kt(e)) : {};
1805
+ return typeof e.constructor == "function" && !Y(e) ? Vr(Kt(e)) : {};
1806
1806
  }
1807
1807
  function ls(e, t, n) {
1808
1808
  var r = e.constructor;
@@ -1865,20 +1865,20 @@ var i = (/* @__PURE__ */ e(((e, t) => {
1865
1865
  function _s(e) {
1866
1866
  return !!Lt && Lt in e;
1867
1867
  }
1868
- var Y = Pt ? wu : Xf;
1869
- function vs(e) {
1868
+ var vs = Pt ? wu : Xf;
1869
+ function Y(e) {
1870
1870
  var t = e && e.constructor;
1871
1871
  return e === (typeof t == "function" && t.prototype || Nt);
1872
1872
  }
1873
1873
  function ys(e) {
1874
1874
  return e === e && !Du(e);
1875
1875
  }
1876
- function X(e, t) {
1876
+ function bs(e, t) {
1877
1877
  return function(r) {
1878
1878
  return r == null ? !1 : r[e] === t && (t !== n || e in O(r));
1879
1879
  };
1880
1880
  }
1881
- function bs(e) {
1881
+ function X(e) {
1882
1882
  var t = Wl(e, function(e) {
1883
1883
  return n.size === u && n.clear(), e;
1884
1884
  }), n = t.cache;
@@ -1949,7 +1949,7 @@ var i = (/* @__PURE__ */ e(((e, t) => {
1949
1949
  }
1950
1950
  return e.length = t, e;
1951
1951
  }
1952
- var Ps = bs(function(e) {
1952
+ var Ps = X(function(e) {
1953
1953
  var t = [];
1954
1954
  return e.charCodeAt(0) === 46 && t.push(""), e.replace(st, function(e, n, r, i) {
1955
1955
  t.push(r ? i.replace(gt, "$1") : n || e);
@@ -2109,7 +2109,7 @@ var i = (/* @__PURE__ */ e(((e, t) => {
2109
2109
  var n = e == null ? 0 : e.length, r = Ti(e, t);
2110
2110
  return Ta(e, N(t, function(e) {
2111
2111
  return fs(e, n) ? +e : e;
2112
- }).sort(q)), r;
2112
+ }).sort(so)), r;
2113
2113
  });
2114
2114
  function _c(e, t) {
2115
2115
  var n = [];
@@ -2471,9 +2471,9 @@ var i = (/* @__PURE__ */ e(((e, t) => {
2471
2471
  return C.cancel = x, C.flush = S, C;
2472
2472
  }
2473
2473
  var Vl = K(function(e, t) {
2474
- return ki(e, 1, t);
2474
+ return G(e, 1, t);
2475
2475
  }), Hl = K(function(e, t, n) {
2476
- return ki(e, Qu(t) || 0, n);
2476
+ return G(e, Qu(t) || 0, n);
2477
2477
  });
2478
2478
  function Ul(e) {
2479
2479
  return Ro(e, ne);
@@ -2563,7 +2563,7 @@ var i = (/* @__PURE__ */ e(((e, t) => {
2563
2563
  return t = typeof t == "function" ? t : n, Di(e, f | m, t);
2564
2564
  }
2565
2565
  function su(e, t) {
2566
- return t == null || G(e, t, Cd(t));
2566
+ return t == null || ki(e, t, Cd(t));
2567
2567
  }
2568
2568
  function cu(e, t) {
2569
2569
  return e === t || e !== e && t !== t;
@@ -2593,7 +2593,7 @@ var i = (/* @__PURE__ */ e(((e, t) => {
2593
2593
  if (pu(e) && (Z(e) || typeof e == "string" || typeof e.splice == "function" || gu(e) || Uu(e) || du(e))) return !e.length;
2594
2594
  var t = rs(e);
2595
2595
  if (t == De || t == Pe) return !e.size;
2596
- if (vs(e)) return !da(e).length;
2596
+ if (Y(e)) return !da(e).length;
2597
2597
  for (var n in e) if (A.call(e, n)) return !1;
2598
2598
  return !0;
2599
2599
  }
@@ -2642,7 +2642,7 @@ var i = (/* @__PURE__ */ e(((e, t) => {
2642
2642
  return Iu(e) && e != +e;
2643
2643
  }
2644
2644
  function Nu(e) {
2645
- if (Y(e)) throw new Et(a);
2645
+ if (vs(e)) throw new Et(a);
2646
2646
  return oa(e);
2647
2647
  }
2648
2648
  function Pu(e) {
@@ -2724,7 +2724,7 @@ var i = (/* @__PURE__ */ e(((e, t) => {
2724
2724
  return e == null ? "" : Va(e);
2725
2725
  }
2726
2726
  var td = go(function(e, t) {
2727
- if (vs(t) || pu(t)) {
2727
+ if (Y(t) || pu(t)) {
2728
2728
  fo(t, Cd(t), e);
2729
2729
  return;
2730
2730
  }
@@ -3507,10 +3507,10 @@ var i = (/* @__PURE__ */ e(((e, t) => {
3507
3507
  return !!s.getConfigValue("auth.use");
3508
3508
  }
3509
3509
  login() {
3510
- this.isAuthorizationEnabled() && ki.startAuthorization();
3510
+ this.isAuthorizationEnabled() && Ai.startAuthorization();
3511
3511
  }
3512
3512
  logout() {
3513
- this.isAuthorizationEnabled() && ki.logout();
3513
+ this.isAuthorizationEnabled() && Ai.logout();
3514
3514
  }
3515
3515
  async handleAuthEvent(e, t, n, r) {
3516
3516
  let i = await s.executeConfigFnAsync("auth.events." + e, !1, t, n), a = i === void 0 || !!i;
@@ -3526,11 +3526,11 @@ var i = (/* @__PURE__ */ e(((e, t) => {
3526
3526
  getStorageType: () => c.getStorageType(),
3527
3527
  getAuthData: () => c.getAuthData(),
3528
3528
  setAuthData: (e) => {
3529
- c.setAuthData(e), ki.broadcastAuthData(e);
3529
+ c.setAuthData(e), Ai.broadcastAuthData(e);
3530
3530
  },
3531
3531
  removeAuthData: () => c.removeAuthData(),
3532
3532
  setNewlyAuthorized: () => {
3533
- c.setNewlyAuthorized(), ki.resetExpirationChecks();
3533
+ c.setNewlyAuthorized(), Ai.resetExpirationChecks();
3534
3534
  }
3535
3535
  };
3536
3536
  }
@@ -7904,7 +7904,7 @@ var fi = {
7904
7904
  return this.nodeDataManagementService ||= W.get(vi), this.nodeDataManagementService;
7905
7905
  }
7906
7906
  async getPathData(e) {
7907
- let t = this.luigi.getConfig(), n = e.split("/");
7907
+ let t = this.luigi.getConfig(), n = e?.split("/");
7908
7908
  n?.length > 0 && n[0] === "" && (n = n.slice(1));
7909
7909
  let r = t.navigation?.globalContext || {}, i;
7910
7910
  if (this.getNodeDataManagementService().hasRootNode()) i = this.getNodeDataManagementService().getRootNode().node;
@@ -8151,7 +8151,7 @@ var fi = {
8151
8151
  icon: n.navigation?.profile?.logout?.icon || hi.logout.icon,
8152
8152
  testId: n.navigation?.profile?.logout?.testId || H.prepareForTests(s),
8153
8153
  doLogout: () => {
8154
- ki.logout();
8154
+ Ai.logout();
8155
8155
  }
8156
8156
  },
8157
8157
  settings: {
@@ -8162,7 +8162,7 @@ var fi = {
8162
8162
  },
8163
8163
  onUserInfoUpdate: (e) => {
8164
8164
  this.luigi.getConfigValueAsync("navigation.profile.staticUserInfoFn").then((t) => {
8165
- t ? e(t) : ki.getUserInfoStore().subscribe((t) => {
8165
+ t ? e(t) : Ai.getUserInfoStore().subscribe((t) => {
8166
8166
  e(t);
8167
8167
  });
8168
8168
  });
@@ -8173,7 +8173,7 @@ var fi = {
8173
8173
  e.externalLink?.url ? H.openExternalLink(e.externalLink) : e.link && this.luigi.navigation().navigate(e.link);
8174
8174
  }
8175
8175
  }, v = await this.buildNavItems(r.rootNodes, h, r), y = p;
8176
- return p?.searchProvider?.inputPlaceholder && (y = {
8176
+ p?.searchProvider?.inputPlaceholder && (y = {
8177
8177
  ...y,
8178
8178
  searchProvider: {
8179
8179
  ...y?.searchProvider,
@@ -8182,11 +8182,15 @@ var fi = {
8182
8182
  }), p?.searchFieldCentered && (y = {
8183
8183
  ...y,
8184
8184
  searchFieldCentered: !!this.luigi.getConfigValue("settings.experimental.globalSearchCentered")
8185
- }), {
8185
+ });
8186
+ let b = "";
8187
+ return typeof n.settings?.header?.altText == "string" && (b = this.luigi.i18n().getTranslation(n.settings.header.altText)), {
8186
8188
  appTitle: o || n.settings?.header?.title,
8189
+ favicon: n.settings?.header?.favicon,
8187
8190
  globalSearch: y,
8188
8191
  isHeaderDisabled: !!n.settings?.header?.disabled,
8189
8192
  logo: n.settings?.header?.logo,
8193
+ logoAltText: b,
8190
8194
  topNodes: v.items,
8191
8195
  totalBadgeNode: v.totalBadgeNode,
8192
8196
  contextSwitcher: g,
@@ -8689,17 +8693,17 @@ var fi = {
8689
8693
  async shouldShowModalPathInUrl(e) {
8690
8694
  this.luigi.getConfigValue("routing.showModalPathInUrl") && await this.handleBookmarkableModalPath(e);
8691
8695
  }
8692
- async handleBookmarkableModalPath(e) {
8693
- let t = W.get(yi), n = W.get(_i), r = new URLSearchParams(e?.query || ""), i = U.getModalViewParamName(this.luigi), a = r.get(i);
8694
- if (a) {
8695
- let e = r.get(`${i}Params`);
8696
+ async handleBookmarkableModalPath(e, t = !0) {
8697
+ let n = W.get(yi), r = W.get(_i), i = new URLSearchParams(e?.query || ""), a = U.getModalViewParamName(this.luigi), o = i.get(a);
8698
+ if (o) {
8699
+ let e = i.get(`${a}Params`);
8696
8700
  try {
8697
- let n = JSON.parse(e || "{}"), { nodeObject: r } = await t.extractDataFromPath(a);
8698
- document.querySelector(".lui-modal luigi-container") ? this.luigi.getEngine()._connector?.updateModalSettings(n) : this.luigi.navigation().openAsModal(a, n || r.openNodeInModal);
8701
+ let t = JSON.parse(e || "{}"), { nodeObject: r } = await n.extractDataFromPath(o);
8702
+ document.querySelector(".lui-modal luigi-container") ? this.luigi.getEngine()._connector?.updateModalSettings(t) : this.luigi.navigation().openAsModal(o, t || r.openNodeInModal);
8699
8703
  } catch (e) {
8700
8704
  console.error("Error parsing modal settings from URL parameters", e);
8701
8705
  }
8702
- } else return await n.closeModalsWithDirtyCheck(), void 0;
8706
+ } else return t && await r.closeModalsWithDirtyCheck(), void 0;
8703
8707
  }
8704
8708
  appendModalDataToUrl(e, t) {
8705
8709
  let n = U.getHashQueryParamSeparator(), r = U.getQueryParams(this.luigi), i = U.getModalViewParamName(this.luigi), a = r[i], o = new URL(location.href), s = this.luigi.getConfigValue("routing.useHashRouting"), c = history.state, l, u;
@@ -8881,6 +8885,24 @@ var fi = {
8881
8885
  }, Oi = (e, t, n, r) => {
8882
8886
  let i = t.getConfigValue("settings.webcomponentCreationInterceptor");
8883
8887
  a.isFunction(i) && (e.webcomponentCreationInterceptor = i, e.currentNode = n, e._luigiMicroFrontendType = r !== "main");
8888
+ }, ki = async (e, t, n) => {
8889
+ let r = n.getConfigValue("routing.showModalPathInUrl"), i = W.get(_i);
8890
+ if (r) {
8891
+ let r = W.get(Si), a = !!n.getConfigValue("routing.useHashRouting"), o = U.getCurrentPath(n, a, !0);
8892
+ await i.closeModalsWithDirtyCheck() && (await r.handleBookmarkableModalPath(o, !1), G.drawerContainer && G.drawerContainer?.updateContext && G.drawerContainer.updateContext(e || {}, { withoutSync: t }));
8893
+ } else {
8894
+ let n = a.getNodeList("luigi-container[lui_container]", !0), r = W.get(gi), i = async (e) => {
8895
+ if (r.shouldShowUnsavedChangesModal(e)) try {
8896
+ await r.getUnsavedChangesModalPromise(e);
8897
+ } catch {
8898
+ return;
8899
+ }
8900
+ };
8901
+ if (G.modalContainer.length) for (let e of G.modalContainer) await i(e);
8902
+ G.drawerContainer && await i(G.drawerContainer), n?.length > 1 && n.filter((e) => !e.parentNode.classList.contains("content")).forEach((n) => {
8903
+ n?.updateContext && n.updateContext(e || {}, { withoutSync: t });
8904
+ });
8905
+ }
8884
8906
  }, G = {
8885
8907
  navService: void 0,
8886
8908
  routingService: void 0,
@@ -8940,8 +8962,8 @@ var fi = {
8940
8962
  } else r || n.viewGroup || n.virtualTree && p === n.virtualTreeRootNode || !e.viewGroup && !e.isolateView && !e.webcomponent && n.viewurl && (i || m && a.isSameUrl(n.viewurl, m)) ? f = n : r || n.remove();
8941
8963
  }), f && f._luigiPreloading && (f._luigiPreloading = !1, W.get(bi).viewGroupLoaded(f)), f) {
8942
8964
  let n = f.viewurl;
8943
- !r && !i && (f.style.display = "block", f.viewurl = m, f.nodeParams = l, f.pathParams = u, f.clientPermissions = e.clientPermissions, f.searchParams = d, f.locale = t.i18n().getCurrentLocale(), f.theme = t.theming().getCurrentTheme(), f.activeFeatureToggleList = t.featureToggles().getActiveFeatureToggleList(), f.userSettingsGroup = e.userSettingsGroup, f.userSettings = s, Ti(f, t), Ei(f, t)), r && !i && (f.nodeParams = l, f.pathParams = u, f.searchParams = d), i || (a.isSameUrl(n, m) && n !== m && !f.virtualTree && !r ? (f.context = e.context || {}, f.updateViewUrl(m)) : f.updateContext(e.context || {}, { withoutSync: !!r }));
8944
- } else if (r) !i && o && o.updateContext(e.context || {}, { withoutSync: r });
8965
+ !r && !i && (f.style.display = "block", f.viewurl = m, f.nodeParams = l, f.pathParams = u, f.clientPermissions = e.clientPermissions, f.searchParams = d, f.locale = t.i18n().getCurrentLocale(), f.theme = t.theming().getCurrentTheme(), f.activeFeatureToggleList = t.featureToggles().getActiveFeatureToggleList(), f.userSettingsGroup = e.userSettingsGroup, f.userSettings = s, Ti(f, t), Ei(f, t)), r && !i && (f.nodeParams = l, f.pathParams = u, f.searchParams = d), i || (a.isSameUrl(n, m) && n !== m && !f.virtualTree && !r ? (f.context = e.context || {}, f.updateViewUrl(m)) : (f.updateContext(e.context || {}, { withoutSync: !!r }), await ki(e.context || {}, !!r, t)));
8966
+ } else if (r) !i && o && (o.updateContext(e.context || {}, { withoutSync: r }), await ki(e.context || {}, !!r, t));
8945
8967
  else {
8946
8968
  let r = await wi(e, t, n, "main");
8947
8969
  c?.appendChild(r);
@@ -9018,14 +9040,16 @@ var fi = {
9018
9040
  }
9019
9041
  let o = await wi(t, e, i, "drawer");
9020
9042
  G.drawerContainer = o;
9021
- let s = new Promise((e) => {
9022
- o.addEventListener(V.CLOSE_CURRENT_MODAL_REQUEST, async () => {
9043
+ let s = !1, c, l = new Promise((e) => {
9044
+ c = () => {
9045
+ s || (s = !0, e());
9046
+ }, o.addEventListener(V.CLOSE_CURRENT_MODAL_REQUEST, async () => {
9023
9047
  try {
9024
9048
  await a.getUnsavedChangesModalPromise(o);
9025
9049
  } catch {
9026
9050
  return;
9027
9051
  }
9028
- G.drawerContainer = void 0, a.clearDirtyState(o), e();
9052
+ G.drawerContainer = void 0, a.clearDirtyState(o), c && c();
9029
9053
  });
9030
9054
  });
9031
9055
  e.getEngine()._connector?.renderDrawer(o, n, async () => {
@@ -9034,10 +9058,10 @@ var fi = {
9034
9058
  } catch {
9035
9059
  return;
9036
9060
  }
9037
- r?.(), G.drawerContainer = void 0, a.clearDirtyState(o);
9038
- }, () => s);
9039
- let c = e.getEngine()._connector;
9040
- t.loadingIndicator?.enabled !== !1 && c?.showLoadingIndicator(o.parentElement);
9061
+ r?.(), G.drawerContainer = void 0, a.clearDirtyState(o), c && c();
9062
+ }, () => l);
9063
+ let u = e.getEngine()._connector;
9064
+ t.loadingIndicator?.enabled !== !1 && u?.showLoadingIndicator(o.parentElement);
9041
9065
  },
9042
9066
  openUserSettings: async (e, t, n, r) => {
9043
9067
  let i = {};
@@ -9063,7 +9087,7 @@ var fi = {
9063
9087
  await r.storeUserSettings(n, t);
9064
9088
  }, r.getEngine()._connector?.openUserSettings(e, t, n);
9065
9089
  }
9066
- }, ki = new class {
9090
+ }, Ai = new class {
9067
9091
  idpProviderInstance;
9068
9092
  _userInfoStore;
9069
9093
  _loggedInStore;
@@ -9148,7 +9172,7 @@ var fi = {
9148
9172
  G.modalContainer?.forEach((t) => t.setAttribute("auth-data", JSON.stringify(e))), G.drawerContainer && G.drawerContainer.setAttribute("auth-data", JSON.stringify(e));
9149
9173
  }
9150
9174
  }
9151
- }(), Ai = { luigi: {
9175
+ }(), ji = { luigi: {
9152
9176
  button: {
9153
9177
  confirm: "Yes",
9154
9178
  dismiss: "No"
@@ -9167,7 +9191,7 @@ var fi = {
9167
9191
  body: "Unsaved changes will be lost. Do you want to continue?",
9168
9192
  header: "Unsaved changes detected"
9169
9193
  }
9170
- } }, ji = class {
9194
+ } }, Mi = class {
9171
9195
  luigi;
9172
9196
  currentLocaleStorageKey;
9173
9197
  defaultLocale;
@@ -9175,7 +9199,7 @@ var fi = {
9175
9199
  translationImpl;
9176
9200
  translationTable;
9177
9201
  constructor(e) {
9178
- this.luigi = e, this.currentLocaleStorageKey = "luigi.currentLocale", this.defaultLocale = "en", this.listeners = {}, this.translationTable = Ai;
9202
+ this.luigi = e, this.currentLocaleStorageKey = "luigi.currentLocale", this.defaultLocale = "en", this.listeners = {}, this.translationTable = ji;
9179
9203
  }
9180
9204
  _init() {
9181
9205
  this._initCustomImplementation(), this.addCurrentLocaleChangeListener((e) => {
@@ -9230,7 +9254,7 @@ var fi = {
9230
9254
  e = e.replace(RegExp("{" + fi.escapeKeyForRegexp(n) + "}", "gi"), t[n]);
9231
9255
  }), e;
9232
9256
  }
9233
- }, Mi = {
9257
+ }, Ni = {
9234
9258
  getMicrofrontendsInDom(e) {
9235
9259
  return [
9236
9260
  ...this.getMainMicrofrontends(e).map((e) => ({
@@ -9316,7 +9340,7 @@ var fi = {
9316
9340
  for (let e of G.modalContainer) e.iframeHandle?.iframe && n.push(e);
9317
9341
  return G.drawerContainer && G.drawerContainer.iframeHandle?.iframe && n.push(G.drawerContainer), n.length > 0 ? n : void 0;
9318
9342
  }
9319
- }, Ni = class {
9343
+ }, Pi = class {
9320
9344
  luigi;
9321
9345
  constructor(e) {
9322
9346
  this.luigi = e;
@@ -9334,7 +9358,7 @@ var fi = {
9334
9358
  return this.luigi.getEngine()._connector?.getCoreAPISupportedElements().getNavFooterContainer() || null;
9335
9359
  }
9336
9360
  getMicrofrontends() {
9337
- return Mi.getMicrofrontendsInDom(this.luigi);
9361
+ return Ni.getMicrofrontendsInDom(this.luigi);
9338
9362
  }
9339
9363
  getMicrofrontendIframes() {
9340
9364
  let e = this.luigi.getEngine()._connector?.getContainerWrapper(), t = [];
@@ -9350,11 +9374,11 @@ var fi = {
9350
9374
  for (let t of Array.from(e.children)) t.tagName?.startsWith("LUIGI-") && a.isElementVisible(t) && (t.iframeHandle?.iframe ? n = t.iframeHandle.iframe : r = t.shadowRoot?.firstElementChild?.firstElementChild ?? null);
9351
9375
  return t || n || r;
9352
9376
  }
9353
- }, Pi = { luigiAfterInit: async (e) => {
9377
+ }, Fi = { luigiAfterInit: async (e) => {
9354
9378
  a.getConfigBooleanValue(e.getConfig(), "settings.appLoadingIndicator.hideAutomatically") && setTimeout(() => {
9355
9379
  e.ux().hideAppLoadingIndicator();
9356
9380
  }, 0), await s.executeConfigFnAsync("lifecycleHooks.luigiAfterInit");
9357
- } }, Fi = class {
9381
+ } }, Ii = class {
9358
9382
  featureToggleList;
9359
9383
  constructor() {
9360
9384
  this.featureToggleList = /* @__PURE__ */ new Set();
@@ -9380,7 +9404,7 @@ var fi = {
9380
9404
  isDuplicatedOrDisabled(e) {
9381
9405
  return this.featureToggleList.has(e) ? (console.warn("Feature toggle name already exists"), !0) : this.featureToggleList.has(`!${e}`) ? (console.warn("Disabled feature toggle can not be activated"), !0) : !1;
9382
9406
  }
9383
- }, Ii = class {
9407
+ }, Li = class {
9384
9408
  luigi;
9385
9409
  isSearchFieldVisible = !1;
9386
9410
  isSearchResultVisible = !1;
@@ -9431,11 +9455,11 @@ var fi = {
9431
9455
  mi.toggleSearch(this.isSearchFieldVisible, this.searchProvider, e);
9432
9456
  }), e?.clearSearchField();
9433
9457
  }
9434
- }, Li = class {
9458
+ }, Ri = class {
9435
9459
  luigi;
9436
9460
  globalSearchService;
9437
9461
  constructor(e) {
9438
- this.luigi = e, this.globalSearchService = W.get(Ii);
9462
+ this.luigi = e, this.globalSearchService = W.get(Li);
9439
9463
  }
9440
9464
  openSearchField() {
9441
9465
  this.globalSearchService.hasSearchProvider() && (this.globalSearchService.setFieldVisibility(!0), this.luigi.getEngine()._connector?.getGlobalSearchHandler?.()?.openSearchField());
@@ -9461,7 +9485,7 @@ var fi = {
9461
9485
  setSearchInputPlaceholder(e) {
9462
9486
  this.globalSearchService.setSearchInputPlaceholder(e);
9463
9487
  }
9464
- }, Ri = class {
9488
+ }, zi = class {
9465
9489
  luigi;
9466
9490
  hashRouting = !1;
9467
9491
  navService;
@@ -9532,7 +9556,7 @@ var fi = {
9532
9556
  let i = await this.navService.getCurrentNode(r), a = t || {};
9533
9557
  if (!a.header?.title) {
9534
9558
  let e = await U.getNodeLabel(i, this.luigi) || "";
9535
- a.header ? a.header.title = e : a.header = { title: e };
9559
+ a.header && Object.keys(a.header).length ? a.header.title = e : a.header = { title: e };
9536
9560
  }
9537
9561
  a.overlap === void 0 && (a.overlap = !0);
9538
9562
  let o = a.nodeParams || this.options.nodeParams || {};
@@ -9565,7 +9589,7 @@ var fi = {
9565
9589
  async updateTopNavigation() {
9566
9590
  this.luigi.configChanged("navigation");
9567
9591
  }
9568
- }, zi = class {
9592
+ }, Bi = class {
9569
9593
  luigi;
9570
9594
  constructor(e) {
9571
9595
  this.luigi = e;
@@ -9626,7 +9650,7 @@ var fi = {
9626
9650
  e = [...n.length > 2 ? n.slice(0, -1) : n, e].join("#"), window.history.pushState(null, "", e);
9627
9651
  } else window.location.hash = e;
9628
9652
  }
9629
- }, Bi = class {
9653
+ }, Vi = class {
9630
9654
  #e;
9631
9655
  #t = "";
9632
9656
  constructor(e) {
@@ -9683,7 +9707,7 @@ var fi = {
9683
9707
  }), t && t.useFioriScrollbars === !0 && document.body.classList.add("fioriScrollbars");
9684
9708
  })();
9685
9709
  }
9686
- }, Vi = new class {
9710
+ }, Hi = new class {
9687
9711
  processUserSettingGroups(e, t) {
9688
9712
  let n = [], r = e?.userSettingGroups, i = t?.userSettings?.userSettingGroups, o = r || i;
9689
9713
  if (a.isObject(o)) {
@@ -9709,7 +9733,7 @@ var fi = {
9709
9733
  for (let n = 0; n < t.length; n++) if (t[n].contentWindow === e) return t[n];
9710
9734
  return null;
9711
9735
  }
9712
- }(), Hi = class {
9736
+ }(), Ui = class {
9713
9737
  luigi;
9714
9738
  dirtyStatusService = W.get(gi);
9715
9739
  appLoadingIndicatorSelector = "[luigi-app-loading-indicator]";
@@ -9759,7 +9783,7 @@ var fi = {
9759
9783
  openUserSettings = async () => {
9760
9784
  let e = this.luigi.getConfigValue("userSettings");
9761
9785
  if (!e) return;
9762
- let t = this.luigi.getConfigValue("settings"), n = await this.luigi.readUserSettings(), r = Vi.processUserSettingGroups(e, t), i = e.userSettingsDialog || {}, a = i.dialogHeader || hi.userSettingsDialog.dialogHeader, o = i.saveBtn || hi.userSettingsDialog.saveBtn, s = i.dismissBtn || hi.userSettingsDialog.dismissBtn, c = {
9786
+ let t = this.luigi.getConfigValue("settings"), n = await this.luigi.readUserSettings(), r = Hi.processUserSettingGroups(e, t), i = e.userSettingsDialog || {}, a = i.dialogHeader || hi.userSettingsDialog.dialogHeader, o = i.saveBtn || hi.userSettingsDialog.saveBtn, s = i.dismissBtn || hi.userSettingsDialog.dismissBtn, c = {
9763
9787
  dialogHeader: this.luigi.i18n().getTranslation(a),
9764
9788
  saveBtn: this.luigi.i18n().getTranslation(o),
9765
9789
  dismissBtn: this.luigi.i18n().getTranslation(s)
@@ -9784,7 +9808,7 @@ var fi = {
9784
9808
  addBackdrop = () => this.luigi.getEngine()._connector?.addBackdrop();
9785
9809
  removeBackdrop = () => this.luigi.getEngine()._connector?.removeBackdrop();
9786
9810
  getDirtyStatus = () => this.dirtyStatusService.readDirtyStatus();
9787
- }, Ui = new class {
9811
+ }, Wi = new class {
9788
9812
  filterIdFromMessageObject(e) {
9789
9813
  let { id: t, ...n } = e;
9790
9814
  return {
@@ -9792,18 +9816,18 @@ var fi = {
9792
9816
  messageWithoutId: n
9793
9817
  };
9794
9818
  }
9795
- }(), Wi = class {
9819
+ }(), Gi = class {
9796
9820
  luigi;
9797
9821
  constructor(e) {
9798
9822
  this.luigi = e;
9799
9823
  }
9800
9824
  sendToAll(e) {
9801
- let t = Mi.getAllLuigiContainerIframe(this.luigi);
9825
+ let t = Ni.getAllLuigiContainerIframe(this.luigi);
9802
9826
  if (!t) {
9803
9827
  console.warn("No Luigi containers found to send the message to.");
9804
9828
  return;
9805
9829
  }
9806
- let { id: n, messageWithoutId: r } = Ui.filterIdFromMessageObject(e);
9830
+ let { id: n, messageWithoutId: r } = Wi.filterIdFromMessageObject(e);
9807
9831
  if (!n) {
9808
9832
  console.warn("Message object must contain an \"id\" property to specify the message type.");
9809
9833
  return;
@@ -9811,12 +9835,12 @@ var fi = {
9811
9835
  for (let e of t) e.sendCustomMessage ? e.sendCustomMessage(n, r) : console.warn("Container does not support sending custom messages:", e);
9812
9836
  }
9813
9837
  send(e, t) {
9814
- let n = Mi.getAllLuigiContainerIframe(this.luigi);
9838
+ let n = Ni.getAllLuigiContainerIframe(this.luigi);
9815
9839
  if (!n) {
9816
9840
  console.warn("No Luigi containers found to send the message to.");
9817
9841
  return;
9818
9842
  }
9819
- let { id: r, messageWithoutId: i } = Ui.filterIdFromMessageObject(t);
9843
+ let { id: r, messageWithoutId: i } = Wi.filterIdFromMessageObject(t);
9820
9844
  if (!r) {
9821
9845
  console.warn("Message object must contain an \"id\" property to specify the message type.");
9822
9846
  return;
@@ -9827,7 +9851,7 @@ var fi = {
9827
9851
  }
9828
9852
  console.warn(`No container found with microfrontend ID: ${e}`);
9829
9853
  }
9830
- }, Gi = class {
9854
+ }, Ki = class {
9831
9855
  engine;
9832
9856
  config;
9833
9857
  _customMessages;
@@ -9850,8 +9874,8 @@ var fi = {
9850
9874
  return this.engine;
9851
9875
  }
9852
9876
  setConfig = (e) => {
9853
- this.config = e, this.setConfigCallback(this.getConfigReadyCallback()), ki.init().then(() => {
9854
- this.engine.init(), this.initialized || (this.initialized = !0, Pi.luigiAfterInit(this));
9877
+ this.config = e, this.setConfigCallback(this.getConfigReadyCallback()), Ai.init().then(() => {
9878
+ this.engine.init(), this.initialized || (this.initialized = !0, Fi.luigiAfterInit(this));
9855
9879
  });
9856
9880
  };
9857
9881
  getConfig = () => this.config;
@@ -9905,17 +9929,17 @@ var fi = {
9905
9929
  this.unload(), this.setConfig(e);
9906
9930
  }
9907
9931
  unload() {
9908
- this.initialized = !1, window.Luigi._store.clear(), ki.unload(), xi.removeAllEventListeners(), this.getEngine()._connector?.unload(), this._i18n = void 0;
9909
- }
9910
- customMessages = () => (this._customMessages ||= new Wi(this), this._customMessages);
9911
- i18n = () => (this._i18n ||= new ji(this), this._i18n);
9912
- elements = () => (this._elements ||= new Ni(this), this._elements);
9913
- navigation = () => new Ri(this);
9914
- ux = () => new Hi(this);
9915
- featureToggles = () => (this._featureToggles ||= new Fi(), this._featureToggles);
9916
- globalSearch = () => (this._globalSearch ||= new Li(this), this._globalSearch);
9917
- routing = () => (this._routing ||= new zi(this), this._routing);
9918
- theming = () => (this._theming ||= new Bi(this), this._theming);
9932
+ this.initialized = !1, window.Luigi._store.clear(), Ai.unload(), xi.removeAllEventListeners(), this.getEngine()._connector?.unload(), this._i18n = void 0;
9933
+ }
9934
+ customMessages = () => (this._customMessages ||= new Gi(this), this._customMessages);
9935
+ i18n = () => (this._i18n ||= new Mi(this), this._i18n);
9936
+ elements = () => (this._elements ||= new Pi(this), this._elements);
9937
+ navigation = () => new zi(this);
9938
+ ux = () => new Ui(this);
9939
+ featureToggles = () => (this._featureToggles ||= new Ii(), this._featureToggles);
9940
+ globalSearch = () => (this._globalSearch ||= new Ri(this), this._globalSearch);
9941
+ routing = () => (this._routing ||= new Bi(this), this._routing);
9942
+ theming = () => (this._theming ||= new Vi(this), this._theming);
9919
9943
  auth = () => l;
9920
9944
  createConfigStore() {
9921
9945
  let e = r({}), t = {}, n = [];
@@ -9951,11 +9975,11 @@ var fi = {
9951
9975
  setConfigCallback(e) {
9952
9976
  this.configReadyCallback = e;
9953
9977
  }
9954
- }, Ki = Array.isArray, qi = Array.prototype.indexOf, Ji = Array.prototype.includes, Yi = Array.from, Xi = Object.defineProperty, Zi = Object.getOwnPropertyDescriptor, Qi = Object.prototype, $i = Array.prototype, ea = Object.getPrototypeOf, ta = Object.isExtensible, na = () => {};
9955
- function ra(e) {
9978
+ }, qi = Array.isArray, Ji = Array.prototype.indexOf, Yi = Array.prototype.includes, Xi = Array.from, Zi = Object.defineProperty, Qi = Object.getOwnPropertyDescriptor, $i = Object.prototype, ea = Array.prototype, ta = Object.getPrototypeOf, na = Object.isExtensible, ra = () => {};
9979
+ function ia(e) {
9956
9980
  for (var t = 0; t < e.length; t++) e[t]();
9957
9981
  }
9958
- function ia() {
9982
+ function aa() {
9959
9983
  var e, t;
9960
9984
  return {
9961
9985
  promise: new Promise((n, r) => {
@@ -9965,56 +9989,56 @@ function ia() {
9965
9989
  reject: t
9966
9990
  };
9967
9991
  }
9968
- var aa = 1024, oa = 2048, sa = 4096, ca = 8192, la = 16384, ua = 32768, da = 1 << 25, fa = 65536, pa = 1 << 19, ma = 1 << 20, ha = 65536, ga = 1 << 21, _a = 1 << 23, va = Symbol("$state"), ya = Symbol("attributes"), ba = Symbol("class"), xa = Symbol("style"), Sa = Symbol("text"), Ca = new class extends Error {
9992
+ var oa = 1024, sa = 2048, ca = 4096, la = 8192, ua = 16384, da = 32768, fa = 1 << 25, pa = 65536, ma = 1 << 19, ha = 1 << 20, ga = 65536, _a = 1 << 21, va = 1 << 23, ya = Symbol("$state"), ba = Symbol("attributes"), xa = Symbol("class"), Sa = Symbol("style"), Ca = Symbol("text"), wa = new class extends Error {
9969
9993
  name = "StaleReactionError";
9970
9994
  message = "The reaction that called `getAbortSignal()` was re-run or destroyed";
9971
9995
  }();
9972
9996
  globalThis.document?.contentType;
9973
- function wa() {
9997
+ function Ta() {
9974
9998
  throw Error("https://svelte.dev/e/effect_update_depth_exceeded");
9975
9999
  }
9976
- function Ta() {
10000
+ function Ea() {
9977
10001
  throw Error("https://svelte.dev/e/state_descriptors_fixed");
9978
10002
  }
9979
- function Ea() {
10003
+ function Da() {
9980
10004
  throw Error("https://svelte.dev/e/state_prototype_fixed");
9981
10005
  }
9982
- function Da() {
10006
+ function Oa() {
9983
10007
  throw Error("https://svelte.dev/e/state_unsafe_mutation");
9984
10008
  }
9985
- function Oa() {
10009
+ function K() {
9986
10010
  throw Error("https://svelte.dev/e/svelte_boundary_reset_onerror");
9987
10011
  }
9988
10012
  //#endregion
9989
10013
  //#region node_modules/svelte/src/constants.js
9990
- var K = {}, ka = Symbol();
9991
- function Aa() {
10014
+ var ka = {}, Aa = Symbol();
10015
+ function ja() {
9992
10016
  console.warn("https://svelte.dev/e/derived_inert");
9993
10017
  }
9994
- function ja(e) {
10018
+ function Ma(e) {
9995
10019
  console.warn("https://svelte.dev/e/hydration_mismatch");
9996
10020
  }
9997
- function Ma() {
10021
+ function Na() {
9998
10022
  console.warn("https://svelte.dev/e/svelte_boundary_reset_noop");
9999
10023
  }
10000
10024
  //#endregion
10001
10025
  //#region node_modules/svelte/src/internal/client/dom/hydration.js
10002
- var Na = !1, Pa;
10003
- function Fa(e) {
10004
- if (e === null) throw ja(), K;
10005
- return Pa = e;
10026
+ var Pa = !1, Fa;
10027
+ function Ia(e) {
10028
+ if (e === null) throw Ma(), ka;
10029
+ return Fa = e;
10006
10030
  }
10007
- function Ia() {
10008
- return Fa(/* @__PURE__ */ Xo(Pa));
10031
+ function La() {
10032
+ return Ia(/* @__PURE__ */ J(Fa));
10009
10033
  }
10010
- function La(e = 1) {
10011
- if (Na) {
10012
- for (var t = e, n = Pa; t--;) n = /* @__PURE__ */ Xo(n);
10013
- Pa = n;
10034
+ function Ra(e = 1) {
10035
+ if (Pa) {
10036
+ for (var t = e, n = Fa; t--;) n = /* @__PURE__ */ J(n);
10037
+ Fa = n;
10014
10038
  }
10015
10039
  }
10016
- function Ra(e = !0) {
10017
- for (var t = 0, n = Pa;;) {
10040
+ function za(e = !0) {
10041
+ for (var t = 0, n = Fa;;) {
10018
10042
  if (n.nodeType === 8) {
10019
10043
  var r = n.data;
10020
10044
  if (r === "]") {
@@ -10022,77 +10046,77 @@ function Ra(e = !0) {
10022
10046
  --t;
10023
10047
  } else (r === "[" || r === "[!" || r[0] === "[" && !isNaN(Number(r.slice(1)))) && (t += 1);
10024
10048
  }
10025
- var i = /* @__PURE__ */ Xo(n);
10049
+ var i = /* @__PURE__ */ J(n);
10026
10050
  e && n.remove(), n = i;
10027
10051
  }
10028
10052
  }
10029
10053
  //#endregion
10030
10054
  //#region node_modules/svelte/src/internal/client/reactivity/equality.js
10031
- function za(e) {
10055
+ function Ba(e) {
10032
10056
  return e === this.v;
10033
10057
  }
10034
10058
  //#endregion
10035
10059
  //#region node_modules/svelte/src/internal/flags/index.js
10036
- var Ba = !1, Va = !1;
10037
- function Ha() {
10038
- Va = !0;
10060
+ var Va = !1, Ha = !1;
10061
+ function Ua() {
10062
+ Ha = !0;
10039
10063
  }
10040
10064
  //#endregion
10041
10065
  //#region node_modules/svelte/src/internal/client/context.js
10042
- var Ua = null;
10043
- function Wa(e) {
10044
- Ua = e;
10066
+ var Wa = null;
10067
+ function Ga(e) {
10068
+ Wa = e;
10045
10069
  }
10046
- function Ga(e, t = !1, n) {
10047
- Ua = {
10048
- p: Ua,
10070
+ function Ka(e, t = !1, n) {
10071
+ Wa = {
10072
+ p: Wa,
10049
10073
  i: !1,
10050
10074
  c: null,
10051
10075
  e: null,
10052
10076
  s: e,
10053
10077
  x: null,
10054
10078
  r: X,
10055
- l: Va && !t ? {
10079
+ l: Ha && !t ? {
10056
10080
  s: null,
10057
10081
  u: null,
10058
10082
  $: []
10059
10083
  } : null
10060
10084
  };
10061
10085
  }
10062
- function Ka(e) {
10063
- var t = Ua, n = t.e;
10086
+ function qa(e) {
10087
+ var t = Wa, n = t.e;
10064
10088
  if (n !== null) {
10065
10089
  t.e = null;
10066
- for (var r of n) es(r);
10090
+ for (var r of n) ts(r);
10067
10091
  }
10068
- return e !== void 0 && (t.x = e), t.i = !0, Ua = t.p, e ?? {};
10092
+ return e !== void 0 && (t.x = e), t.i = !0, Wa = t.p, e ?? {};
10069
10093
  }
10070
- function qa() {
10071
- return !Va || Ua !== null && Ua.l === null;
10094
+ function Ja() {
10095
+ return !Ha || Wa !== null && Wa.l === null;
10072
10096
  }
10073
10097
  //#endregion
10074
10098
  //#region node_modules/svelte/src/internal/client/dom/task.js
10075
- var Ja = [];
10076
- function Ya() {
10077
- var e = Ja;
10078
- Ja = [], ra(e);
10079
- }
10080
- function Xa(e) {
10081
- if (Ja.length === 0 && !uo) {
10082
- var t = Ja;
10099
+ var Ya = [];
10100
+ function Xa() {
10101
+ var e = Ya;
10102
+ Ya = [], ia(e);
10103
+ }
10104
+ function Za(e) {
10105
+ if (Ya.length === 0 && !fo) {
10106
+ var t = Ya;
10083
10107
  queueMicrotask(() => {
10084
- t === Ja && Ya();
10108
+ t === Ya && Xa();
10085
10109
  });
10086
10110
  }
10087
- Ja.push(e);
10111
+ Ya.push(e);
10088
10112
  }
10089
- function Za(e) {
10113
+ function Qa(e) {
10090
10114
  var t = X;
10091
- if (t === null) return Y.f |= _a, e;
10115
+ if (t === null) return Y.f |= va, e;
10092
10116
  if (!(t.f & 32768) && !(t.f & 4)) throw e;
10093
- Qa(e, t);
10117
+ $a(e, t);
10094
10118
  }
10095
- function Qa(e, t) {
10119
+ function $a(e, t) {
10096
10120
  for (; t !== null;) {
10097
10121
  if (t.f & 128) {
10098
10122
  if (!(t.f & 32768)) throw e;
@@ -10109,25 +10133,25 @@ function Qa(e, t) {
10109
10133
  }
10110
10134
  //#endregion
10111
10135
  //#region node_modules/svelte/src/internal/client/reactivity/status.js
10112
- var $a = ~(oa | sa | aa);
10113
- function eo(e, t) {
10114
- e.f = e.f & $a | t;
10136
+ var eo = ~(sa | ca | oa);
10137
+ function to(e, t) {
10138
+ e.f = e.f & eo | t;
10115
10139
  }
10116
- function to(e) {
10117
- e.f & 512 || e.deps === null ? eo(e, aa) : eo(e, sa);
10140
+ function no(e) {
10141
+ e.f & 512 || e.deps === null ? to(e, oa) : to(e, ca);
10118
10142
  }
10119
10143
  //#endregion
10120
10144
  //#region node_modules/svelte/src/internal/client/reactivity/utils.js
10121
- function no(e) {
10122
- if (e !== null) for (let t of e) !(t.f & 2) || !(t.f & 65536) || (t.f ^= ha, no(t.deps));
10145
+ function ro(e) {
10146
+ if (e !== null) for (let t of e) !(t.f & 2) || !(t.f & 65536) || (t.f ^= ga, ro(t.deps));
10123
10147
  }
10124
- function ro(e, t, n) {
10125
- e.f & 2048 ? t.add(e) : e.f & 4096 && n.add(e), no(e.deps), eo(e, aa);
10148
+ function io(e, t, n) {
10149
+ e.f & 2048 ? t.add(e) : e.f & 4096 && n.add(e), ro(e.deps), to(e, oa);
10126
10150
  }
10127
10151
  //#endregion
10128
10152
  //#region node_modules/svelte/src/internal/client/reactivity/store.js
10129
- var io = !1, ao = null, oo = null, q = null, so = null, co = null, lo = null, uo = !1, fo = !1, po = null, mo = null, ho = 0, go = 1, _o = class e {
10130
- id = go++;
10153
+ var ao = !1, oo = null, so = null, q = null, co = null, lo = null, uo = null, fo = !1, po = !1, mo = null, ho = null, go = 0, _o = 1, vo = class e {
10154
+ id = _o++;
10131
10155
  #e = !1;
10132
10156
  linked = !0;
10133
10157
  #t = null;
@@ -10174,31 +10198,31 @@ var io = !1, ao = null, oo = null, q = null, so = null, co = null, lo = null, uo
10174
10198
  var n = this.#p.get(e);
10175
10199
  if (n) {
10176
10200
  this.#p.delete(e);
10177
- for (var r of n.d) eo(r, oa), t(r);
10178
- for (r of n.m) eo(r, sa), t(r);
10201
+ for (var r of n.d) to(r, sa), t(r);
10202
+ for (r of n.m) to(r, ca), t(r);
10179
10203
  }
10180
10204
  this.#m.add(e);
10181
10205
  }
10182
10206
  #_() {
10183
- if (this.#e = !0, ho++ > 1e3 && (this.#w(), vo()), !this.#g()) {
10184
- for (let e of this.#d) this.#f.delete(e), eo(e, oa), this.schedule(e);
10185
- for (let e of this.#f) eo(e, sa), this.schedule(e);
10207
+ if (this.#e = !0, go++ > 1e3 && (this.#w(), yo()), !this.#g()) {
10208
+ for (let e of this.#d) this.#f.delete(e), to(e, sa), this.schedule(e);
10209
+ for (let e of this.#f) to(e, ca), this.schedule(e);
10186
10210
  }
10187
10211
  let t = this.#l;
10188
10212
  this.#l = [], this.apply();
10189
- var n = po = [], r = [], i = mo = [];
10213
+ var n = mo = [], r = [], i = ho = [];
10190
10214
  for (let e of t) try {
10191
10215
  this.#v(e, n, r);
10192
10216
  } catch (t) {
10193
- throw To(e), t;
10217
+ throw Eo(e), t;
10194
10218
  }
10195
10219
  if (q = null, i.length > 0) {
10196
10220
  var a = e.ensure();
10197
10221
  for (let e of i) a.schedule(e);
10198
10222
  }
10199
- if (po = null, mo = null, this.#g()) {
10223
+ if (mo = null, ho = null, this.#g()) {
10200
10224
  this.#x(r), this.#x(n);
10201
- for (let [e, t] of this.#p) wo(e, t);
10225
+ for (let [e, t] of this.#p) To(e, t);
10202
10226
  i.length > 0 && q.#_();
10203
10227
  return;
10204
10228
  }
@@ -10209,9 +10233,9 @@ var io = !1, ao = null, oo = null, q = null, so = null, co = null, lo = null, uo
10209
10233
  }
10210
10234
  this.#d.clear(), this.#f.clear();
10211
10235
  for (let e of this.#r) e(this);
10212
- this.#r.clear(), so = this, bo(r), bo(n), so = null, this.#c?.resolve();
10236
+ this.#r.clear(), co = this, xo(r), xo(n), co = null, this.#c?.resolve();
10213
10237
  var s = q;
10214
- if (this.linked && this.#o === 0 && this.#w(), Ba && !this.linked && (this.#S(), q = s), this.#l.length > 0) {
10238
+ if (this.linked && this.#o === 0 && this.#w(), Va && !this.linked && (this.#S(), q = s), this.#l.length > 0) {
10215
10239
  s === null && (s = this, this.#C());
10216
10240
  let e = s;
10217
10241
  e.#l.push(...this.#l.filter((t) => !e.#l.includes(t)));
@@ -10219,11 +10243,11 @@ var io = !1, ao = null, oo = null, q = null, so = null, co = null, lo = null, uo
10219
10243
  s !== null && s.#_();
10220
10244
  }
10221
10245
  #v(e, t, n) {
10222
- e.f ^= aa;
10246
+ e.f ^= oa;
10223
10247
  for (var r = e.first; r !== null;) {
10224
10248
  var i = r.f, a = (i & 96) != 0;
10225
10249
  if (!(a && i & 1024 || i & 8192 || this.#p.has(r)) && r.fn !== null) {
10226
- a ? r.f ^= aa : i & 4 ? t.push(r) : Ba && i & 16777224 ? n.push(r) : Ms(r) && (i & 16 && this.#f.add(r), Ls(r));
10250
+ a ? r.f ^= oa : i & 4 ? t.push(r) : Va && i & 16777224 ? n.push(r) : Ns(r) && (i & 16 && this.#f.add(r), Rs(r));
10227
10251
  var o = r.first;
10228
10252
  if (o !== null) {
10229
10253
  r = o;
@@ -10262,7 +10286,7 @@ var io = !1, ao = null, oo = null, q = null, so = null, co = null, lo = null, uo
10262
10286
  if (r & 2) t(e);
10263
10287
  else {
10264
10288
  var i = e;
10265
- r & 4194320 && !this.async_deriveds.has(i) && (this.#f.delete(i), eo(i, oa), this.schedule(i));
10289
+ r & 4194320 && !this.async_deriveds.has(i) && (this.#f.delete(i), to(i, sa), this.schedule(i));
10266
10290
  }
10267
10291
  }
10268
10292
  };
@@ -10270,22 +10294,22 @@ var io = !1, ao = null, oo = null, q = null, so = null, co = null, lo = null, uo
10270
10294
  this.oncommit(() => e.discard()), e.#w(), q = this, this.#_();
10271
10295
  }
10272
10296
  #x(e) {
10273
- for (var t = 0; t < e.length; t += 1) ro(e[t], this.#d, this.#f);
10297
+ for (var t = 0; t < e.length; t += 1) io(e[t], this.#d, this.#f);
10274
10298
  }
10275
10299
  capture(e, t, n = !1) {
10276
- e.v !== ka && !this.previous.has(e) && this.previous.set(e, e.v), e.f & 8388608 || (this.current.set(e, [t, n]), co?.set(e, t)), this.is_fork || (e.v = t);
10300
+ e.v !== Aa && !this.previous.has(e) && this.previous.set(e, e.v), e.f & 8388608 || (this.current.set(e, [t, n]), lo?.set(e, t)), this.is_fork || (e.v = t);
10277
10301
  }
10278
10302
  activate() {
10279
10303
  q = this;
10280
10304
  }
10281
10305
  deactivate() {
10282
- q = null, co = null;
10306
+ q = null, lo = null;
10283
10307
  }
10284
10308
  flush() {
10285
10309
  try {
10286
- fo = !0, q = this, this.#_();
10310
+ po = !0, q = this, this.#_();
10287
10311
  } finally {
10288
- ho = 0, lo = null, po = null, mo = null, fo = !1, q = null, co = null, Io.clear();
10312
+ go = 0, uo = null, mo = null, ho = null, po = !1, q = null, lo = null, Lo.clear();
10289
10313
  }
10290
10314
  }
10291
10315
  discard() {
@@ -10297,7 +10321,7 @@ var io = !1, ao = null, oo = null, q = null, so = null, co = null, lo = null, uo
10297
10321
  }
10298
10322
  #S() {
10299
10323
  this.#w();
10300
- for (let l = ao; l !== null; l = l.#n) {
10324
+ for (let l = oo; l !== null; l = l.#n) {
10301
10325
  var e = l.id < this.id, t = [];
10302
10326
  for (let [r, [i, a]] of this.current) {
10303
10327
  if (l.current.has(r)) {
@@ -10320,10 +10344,10 @@ var io = !1, ao = null, oo = null, q = null, so = null, co = null, lo = null, uo
10320
10344
  });
10321
10345
  l.activate();
10322
10346
  var i = /* @__PURE__ */ new Set(), a = /* @__PURE__ */ new Map();
10323
- for (var o of t) xo(o, r, i, a);
10347
+ for (var o of t) So(o, r, i, a);
10324
10348
  a = /* @__PURE__ */ new Map();
10325
10349
  var s = [...l.current.keys()].filter((e) => this.current.has(e) ? this.current.get(e)[0] !== e.v : !0);
10326
- if (s.length > 0) for (let e of this.#u) !(e.f & 155648) && So(e, s, a) && (e.f & 4194320 ? (eo(e, oa), l.schedule(e)) : l.#d.add(e));
10350
+ if (s.length > 0) for (let e of this.#u) !(e.f & 155648) && Co(e, s, a) && (e.f & 4194320 ? (to(e, sa), l.schedule(e)) : l.#d.add(e));
10327
10351
  if (l.#l.length > 0) {
10328
10352
  l.apply();
10329
10353
  for (var c of l.#l) l.#v(c, [], []);
@@ -10345,7 +10369,7 @@ var io = !1, ao = null, oo = null, q = null, so = null, co = null, lo = null, uo
10345
10369
  let e = this.#s.get(t) ?? 0;
10346
10370
  e === 1 ? this.#s.delete(t) : this.#s.set(t, e - 1);
10347
10371
  }
10348
- this.#h || (this.#h = !0, Xa(() => {
10372
+ this.#h || (this.#h = !0, Za(() => {
10349
10373
  this.#h = !1, this.linked && this.flush();
10350
10374
  }));
10351
10375
  }
@@ -10368,25 +10392,25 @@ var io = !1, ao = null, oo = null, q = null, so = null, co = null, lo = null, uo
10368
10392
  this.#a.clear();
10369
10393
  }
10370
10394
  settled() {
10371
- return (this.#c ??= ia()).promise;
10395
+ return (this.#c ??= aa()).promise;
10372
10396
  }
10373
10397
  static ensure() {
10374
10398
  if (q === null) {
10375
10399
  let t = q = new e();
10376
- t.#C(), !fo && !uo && Xa(() => {
10400
+ t.#C(), !po && !fo && Za(() => {
10377
10401
  t.#e || t.flush();
10378
10402
  });
10379
10403
  }
10380
10404
  return q;
10381
10405
  }
10382
10406
  apply() {
10383
- if (!Ba || !this.is_fork && this.#t === null && this.#n === null) {
10384
- co = null;
10407
+ if (!Va || !this.is_fork && this.#t === null && this.#n === null) {
10408
+ lo = null;
10385
10409
  return;
10386
10410
  }
10387
- co = /* @__PURE__ */ new Map();
10388
- for (let [e, [t]] of this.current) co.set(e, t);
10389
- for (let t = ao; t !== null; t = t.#n) if (!(t === this || t.is_fork)) {
10411
+ lo = /* @__PURE__ */ new Map();
10412
+ for (let [e, [t]] of this.current) lo.set(e, t);
10413
+ for (let t = oo; t !== null; t = t.#n) if (!(t === this || t.is_fork)) {
10390
10414
  var e = !1;
10391
10415
  if (t.id < this.id) {
10392
10416
  for (let [n, [, r]] of t.current) if (!r && this.current.has(n)) {
@@ -10394,115 +10418,115 @@ var io = !1, ao = null, oo = null, q = null, so = null, co = null, lo = null, uo
10394
10418
  break;
10395
10419
  }
10396
10420
  }
10397
- if (!e) for (let [e, n] of t.previous) co.has(e) || co.set(e, n);
10421
+ if (!e) for (let [e, n] of t.previous) lo.has(e) || lo.set(e, n);
10398
10422
  }
10399
10423
  }
10400
10424
  schedule(e) {
10401
- if (lo = e, e.b?.is_pending && e.f & 16777228 && !(e.f & 32768)) {
10425
+ if (uo = e, e.b?.is_pending && e.f & 16777228 && !(e.f & 32768)) {
10402
10426
  e.b.defer_effect(e);
10403
10427
  return;
10404
10428
  }
10405
10429
  for (var t = e; t.parent !== null;) {
10406
10430
  t = t.parent;
10407
10431
  var n = t.f;
10408
- if (po !== null && t === X && (Ba || (Y === null || !(Y.f & 2)) && !io)) return;
10432
+ if (mo !== null && t === X && (Va || (Y === null || !(Y.f & 2)) && !ao)) return;
10409
10433
  if (n & 96) {
10410
10434
  if (!(n & 1024)) return;
10411
- t.f ^= aa;
10435
+ t.f ^= oa;
10412
10436
  }
10413
10437
  }
10414
10438
  this.#l.push(t);
10415
10439
  }
10416
10440
  #C() {
10417
- oo === null ? ao = oo = this : (oo.#n = this, this.#t = oo), oo = this;
10441
+ so === null ? oo = so = this : (so.#n = this, this.#t = so), so = this;
10418
10442
  }
10419
10443
  #w() {
10420
10444
  var e = this.#t, t = this.#n;
10421
- e === null ? ao = t : e.#n = t, t === null ? oo = e : t.#t = e, this.linked = !1;
10445
+ e === null ? oo = t : e.#n = t, t === null ? so = e : t.#t = e, this.linked = !1;
10422
10446
  }
10423
10447
  };
10424
- function vo() {
10448
+ function yo() {
10425
10449
  try {
10426
- wa();
10450
+ Ta();
10427
10451
  } catch (e) {
10428
- Qa(e, lo);
10452
+ $a(e, uo);
10429
10453
  }
10430
10454
  }
10431
- var yo = null;
10432
- function bo(e) {
10455
+ var bo = null;
10456
+ function xo(e) {
10433
10457
  var t = e.length;
10434
10458
  if (t !== 0) {
10435
10459
  for (var n = 0; n < t;) {
10436
10460
  var r = e[n++];
10437
- if (!(r.f & 24576) && Ms(r) && (yo = /* @__PURE__ */ new Set(), Ls(r), r.deps === null && r.first === null && r.nodes === null && r.teardown === null && r.ac === null && us(r), yo?.size > 0)) {
10438
- Io.clear();
10439
- for (let e of yo) {
10461
+ if (!(r.f & 24576) && Ns(r) && (bo = /* @__PURE__ */ new Set(), Rs(r), r.deps === null && r.first === null && r.nodes === null && r.teardown === null && r.ac === null && ds(r), bo?.size > 0)) {
10462
+ Lo.clear();
10463
+ for (let e of bo) {
10440
10464
  if (e.f & 24576) continue;
10441
10465
  let t = [e], n = e.parent;
10442
- for (; n !== null;) yo.has(n) && (yo.delete(n), t.push(n)), n = n.parent;
10466
+ for (; n !== null;) bo.has(n) && (bo.delete(n), t.push(n)), n = n.parent;
10443
10467
  for (let e = t.length - 1; e >= 0; e--) {
10444
10468
  let n = t[e];
10445
- n.f & 24576 || Ls(n);
10469
+ n.f & 24576 || Rs(n);
10446
10470
  }
10447
10471
  }
10448
- yo.clear();
10472
+ bo.clear();
10449
10473
  }
10450
10474
  }
10451
- yo = null;
10475
+ bo = null;
10452
10476
  }
10453
10477
  }
10454
- function xo(e, t, n, r) {
10478
+ function So(e, t, n, r) {
10455
10479
  if (!n.has(e) && (n.add(e), e.reactions !== null)) for (let i of e.reactions) {
10456
10480
  let e = i.f;
10457
- e & 2 ? xo(i, t, n, r) : e & 4194320 && !(e & 2048) && So(i, t, r) && (eo(i, oa), Co(i));
10481
+ e & 2 ? So(i, t, n, r) : e & 4194320 && !(e & 2048) && Co(i, t, r) && (to(i, sa), wo(i));
10458
10482
  }
10459
10483
  }
10460
- function So(e, t, n) {
10484
+ function Co(e, t, n) {
10461
10485
  let r = n.get(e);
10462
10486
  if (r !== void 0) return r;
10463
10487
  if (e.deps !== null) for (let r of e.deps) {
10464
- if (Ji.call(t, r)) return !0;
10465
- if (r.f & 2 && So(r, t, n)) return n.set(r, !0), !0;
10488
+ if (Yi.call(t, r)) return !0;
10489
+ if (r.f & 2 && Co(r, t, n)) return n.set(r, !0), !0;
10466
10490
  }
10467
10491
  return n.set(e, !1), !1;
10468
10492
  }
10469
- function Co(e) {
10493
+ function wo(e) {
10470
10494
  q.schedule(e);
10471
10495
  }
10472
- function wo(e, t) {
10496
+ function To(e, t) {
10473
10497
  if (!(e.f & 32 && e.f & 1024)) {
10474
- e.f & 2048 ? t.d.push(e) : e.f & 4096 && t.m.push(e), eo(e, aa);
10475
- for (var n = e.first; n !== null;) wo(n, t), n = n.next;
10498
+ e.f & 2048 ? t.d.push(e) : e.f & 4096 && t.m.push(e), to(e, oa);
10499
+ for (var n = e.first; n !== null;) To(n, t), n = n.next;
10476
10500
  }
10477
10501
  }
10478
- function To(e) {
10479
- eo(e, aa);
10480
- for (var t = e.first; t !== null;) To(t), t = t.next;
10502
+ function Eo(e) {
10503
+ to(e, oa);
10504
+ for (var t = e.first; t !== null;) Eo(t), t = t.next;
10481
10505
  }
10482
10506
  //#endregion
10483
10507
  //#region node_modules/svelte/src/reactivity/create-subscriber.js
10484
- function Eo(e) {
10485
- let t = 0, n = Ro(0), r;
10508
+ function Do(e) {
10509
+ let t = 0, n = zo(0), r;
10486
10510
  return () => {
10487
- $o() && (Rs(n), ns(() => (t === 0 && (r = Vs(() => e(() => Uo(n)))), t += 1, () => {
10488
- Xa(() => {
10489
- --t, t === 0 && (r?.(), r = void 0, Uo(n));
10511
+ es() && (zs(n), rs(() => (t === 0 && (r = Hs(() => e(() => Wo(n)))), t += 1, () => {
10512
+ Za(() => {
10513
+ --t, t === 0 && (r?.(), r = void 0, Wo(n));
10490
10514
  });
10491
10515
  })));
10492
10516
  };
10493
10517
  }
10494
10518
  //#endregion
10495
10519
  //#region node_modules/svelte/src/internal/client/dom/blocks/boundary.js
10496
- var Do = fa | pa;
10497
- function Oo(e, t, n, r) {
10498
- new ko(e, t, n, r);
10520
+ var Oo = pa | ma;
10521
+ function ko(e, t, n, r) {
10522
+ new Ao(e, t, n, r);
10499
10523
  }
10500
- var ko = class {
10524
+ var Ao = class {
10501
10525
  parent;
10502
10526
  is_pending = !1;
10503
10527
  transform_error;
10504
10528
  #e;
10505
- #t = Na ? Pa : null;
10529
+ #t = Pa ? Fa : null;
10506
10530
  #n;
10507
10531
  #r;
10508
10532
  #i;
@@ -10516,56 +10540,56 @@ var ko = class {
10516
10540
  #f = /* @__PURE__ */ new Set();
10517
10541
  #p = /* @__PURE__ */ new Set();
10518
10542
  #m = null;
10519
- #h = Eo(() => (this.#m = Ro(this.#l), () => {
10543
+ #h = Do(() => (this.#m = zo(this.#l), () => {
10520
10544
  this.#m = null;
10521
10545
  }));
10522
10546
  constructor(e, t, n, r) {
10523
10547
  this.#e = e, this.#n = t, this.#r = (e) => {
10524
10548
  var t = X;
10525
10549
  t.b = this, t.f |= 128, n(e);
10526
- }, this.parent = X.b, this.transform_error = r ?? this.parent?.transform_error ?? ((e) => e), this.#i = rs(() => {
10527
- if (Na) {
10550
+ }, this.parent = X.b, this.transform_error = r ?? this.parent?.transform_error ?? ((e) => e), this.#i = is(() => {
10551
+ if (Pa) {
10528
10552
  let e = this.#t;
10529
- Ia();
10553
+ La();
10530
10554
  let t = e.data === "[!";
10531
10555
  if (e.data.startsWith("[?")) {
10532
10556
  let t = JSON.parse(e.data.slice(2));
10533
10557
  this.#_(t);
10534
10558
  } else t ? this.#v() : this.#g();
10535
10559
  } else this.#y();
10536
- }, Do), Na && (this.#e = Pa);
10560
+ }, Oo), Pa && (this.#e = Fa);
10537
10561
  }
10538
10562
  #g() {
10539
10563
  try {
10540
- this.#a = is(() => this.#r(this.#e));
10564
+ this.#a = as(() => this.#r(this.#e));
10541
10565
  } catch (e) {
10542
10566
  this.error(e);
10543
10567
  }
10544
10568
  }
10545
10569
  #_(e) {
10546
10570
  let t = this.#n.failed;
10547
- t && (this.#s = is(() => {
10571
+ t && (this.#s = as(() => {
10548
10572
  t(this.#e, () => e, () => () => {});
10549
10573
  }));
10550
10574
  }
10551
10575
  #v() {
10552
10576
  let e = this.#n.pending;
10553
- e && (this.is_pending = !0, this.#o = is(() => e(this.#e)), Xa(() => {
10554
- var e = this.#c = document.createDocumentFragment(), t = Yo();
10555
- e.append(t), this.#a = this.#x(() => is(() => this.#r(t))), this.#u === 0 && (this.#e.before(e), this.#c = null, ds(this.#o, () => {
10577
+ e && (this.is_pending = !0, this.#o = as(() => e(this.#e)), Za(() => {
10578
+ var e = this.#c = document.createDocumentFragment(), t = Xo();
10579
+ e.append(t), this.#a = this.#x(() => as(() => this.#r(t))), this.#u === 0 && (this.#e.before(e), this.#c = null, fs(this.#o, () => {
10556
10580
  this.#o = null;
10557
10581
  }), this.#b(q));
10558
10582
  }));
10559
10583
  }
10560
10584
  #y() {
10561
10585
  try {
10562
- if (this.is_pending = this.has_pending_snippet(), this.#u = 0, this.#l = 0, this.#a = is(() => {
10586
+ if (this.is_pending = this.has_pending_snippet(), this.#u = 0, this.#l = 0, this.#a = as(() => {
10563
10587
  this.#r(this.#e);
10564
10588
  }), this.#u > 0) {
10565
10589
  var e = this.#c = document.createDocumentFragment();
10566
- ps(this.#a, e);
10590
+ ms(this.#a, e);
10567
10591
  let t = this.#n.pending;
10568
- this.#o = is(() => t(this.#e));
10592
+ this.#o = as(() => t(this.#e));
10569
10593
  } else this.#b(q);
10570
10594
  } catch (e) {
10571
10595
  this.error(e);
@@ -10575,7 +10599,7 @@ var ko = class {
10575
10599
  this.is_pending = !1, e.transfer_effects(this.#f, this.#p);
10576
10600
  }
10577
10601
  defer_effect(e) {
10578
- ro(e, this.#f, this.#p);
10602
+ io(e, this.#f, this.#p);
10579
10603
  }
10580
10604
  is_rendered() {
10581
10605
  return !this.is_pending && (!this.parent || this.parent.is_rendered());
@@ -10584,14 +10608,14 @@ var ko = class {
10584
10608
  return !!this.#n.pending;
10585
10609
  }
10586
10610
  #x(e) {
10587
- var t = X, n = Y, r = Ua;
10588
- bs(this.#i), ys(this.#i), Wa(this.#i.ctx);
10611
+ var t = X, n = Y, r = Wa;
10612
+ xs(this.#i), bs(this.#i), Ga(this.#i.ctx);
10589
10613
  try {
10590
- return _o.ensure(), e();
10614
+ return vo.ensure(), e();
10591
10615
  } catch (e) {
10592
- return Za(e), null;
10616
+ return Qa(e), null;
10593
10617
  } finally {
10594
- bs(t), ys(n), Wa(r);
10618
+ xs(t), bs(n), Ga(r);
10595
10619
  }
10596
10620
  }
10597
10621
  #S(e, t) {
@@ -10599,17 +10623,17 @@ var ko = class {
10599
10623
  this.parent && this.parent.#S(e, t);
10600
10624
  return;
10601
10625
  }
10602
- this.#u += e, this.#u === 0 && (this.#b(t), this.#o && ds(this.#o, () => {
10626
+ this.#u += e, this.#u === 0 && (this.#b(t), this.#o && fs(this.#o, () => {
10603
10627
  this.#o = null;
10604
10628
  }), this.#c &&= (this.#e.before(this.#c), null));
10605
10629
  }
10606
10630
  update_pending_count(e, t) {
10607
- this.#S(e, t), this.#l += e, !(!this.#m || this.#d) && (this.#d = !0, Xa(() => {
10608
- this.#d = !1, this.#m && Vo(this.#m, this.#l);
10631
+ this.#S(e, t), this.#l += e, !(!this.#m || this.#d) && (this.#d = !0, Za(() => {
10632
+ this.#d = !1, this.#m && Ho(this.#m, this.#l);
10609
10633
  }));
10610
10634
  }
10611
10635
  get_effect_pending() {
10612
- return this.#h(), Rs(this.#m);
10636
+ return this.#h(), zs(this.#m);
10613
10637
  }
10614
10638
  error(e) {
10615
10639
  if (!this.#n.onerror && !this.#n.failed) throw e;
@@ -10618,16 +10642,16 @@ var ko = class {
10618
10642
  })) : this.#C(e);
10619
10643
  }
10620
10644
  #C(e) {
10621
- this.#a &&= (cs(this.#a), null), this.#o &&= (cs(this.#o), null), this.#s &&= (cs(this.#s), null), Na && (Fa(this.#t), La(), Fa(Ra()));
10645
+ this.#a &&= (ls(this.#a), null), this.#o &&= (ls(this.#o), null), this.#s &&= (ls(this.#s), null), Pa && (Ia(this.#t), Ra(), Ia(za()));
10622
10646
  var t = this.#n.onerror;
10623
10647
  let n = this.#n.failed;
10624
10648
  var r = !1, i = !1;
10625
10649
  let a = () => {
10626
10650
  if (r) {
10627
- Ma();
10651
+ Na();
10628
10652
  return;
10629
10653
  }
10630
- r = !0, i && Oa(), this.#s !== null && ds(this.#s, () => {
10654
+ r = !0, i && K(), this.#s !== null && fs(this.#s, () => {
10631
10655
  this.#s = null;
10632
10656
  }), this.#x(() => {
10633
10657
  this.#y();
@@ -10636,166 +10660,166 @@ var ko = class {
10636
10660
  try {
10637
10661
  i = !0, t?.(e, a), i = !1;
10638
10662
  } catch (e) {
10639
- Qa(e, this.#i && this.#i.parent);
10663
+ $a(e, this.#i && this.#i.parent);
10640
10664
  }
10641
10665
  n && (this.#s = this.#x(() => {
10642
10666
  try {
10643
- return is(() => {
10667
+ return as(() => {
10644
10668
  var t = X;
10645
10669
  t.b = this, t.f |= 128, n(this.#e, () => e, () => a);
10646
10670
  });
10647
10671
  } catch (e) {
10648
- return Qa(e, this.#i.parent), null;
10672
+ return $a(e, this.#i.parent), null;
10649
10673
  }
10650
10674
  }));
10651
10675
  };
10652
- Xa(() => {
10676
+ Za(() => {
10653
10677
  var t;
10654
10678
  try {
10655
10679
  t = this.transform_error(e);
10656
10680
  } catch (e) {
10657
- Qa(e, this.#i && this.#i.parent);
10681
+ $a(e, this.#i && this.#i.parent);
10658
10682
  return;
10659
10683
  }
10660
- typeof t == "object" && t && typeof t.then == "function" ? t.then(o, (e) => Qa(e, this.#i && this.#i.parent)) : o(t);
10684
+ typeof t == "object" && t && typeof t.then == "function" ? t.then(o, (e) => $a(e, this.#i && this.#i.parent)) : o(t);
10661
10685
  });
10662
10686
  }
10663
10687
  };
10664
- function Ao(e) {
10688
+ function jo(e) {
10665
10689
  var t = e.effects;
10666
10690
  if (t !== null) {
10667
10691
  e.effects = null;
10668
- for (var n = 0; n < t.length; n += 1) cs(t[n]);
10692
+ for (var n = 0; n < t.length; n += 1) ls(t[n]);
10669
10693
  }
10670
10694
  }
10671
- function jo(e) {
10695
+ function Mo(e) {
10672
10696
  var t, n = X, r = e.parent;
10673
- if (!gs && r !== null && r.f & 24576) return Aa(), e.v;
10674
- bs(r);
10697
+ if (!_s && r !== null && r.f & 24576) return ja(), e.v;
10698
+ xs(r);
10675
10699
  try {
10676
- e.f &= ~ha, Ao(e), t = Ps(e);
10700
+ e.f &= ~ga, jo(e), t = Fs(e);
10677
10701
  } finally {
10678
- bs(n);
10702
+ xs(n);
10679
10703
  }
10680
10704
  return t;
10681
10705
  }
10682
- function Mo(e) {
10683
- var t = jo(e);
10684
- if (!e.equals(t) && (e.wv = js(), (!q?.is_fork || e.deps === null) && (q === null ? e.v = t : (q.capture(e, t, !0), so?.capture(e, t, !0)), e.deps === null))) {
10685
- eo(e, aa);
10706
+ function No(e) {
10707
+ var t = Mo(e);
10708
+ if (!e.equals(t) && (e.wv = Ms(), (!q?.is_fork || e.deps === null) && (q === null ? e.v = t : (q.capture(e, t, !0), co?.capture(e, t, !0)), e.deps === null))) {
10709
+ to(e, oa);
10686
10710
  return;
10687
10711
  }
10688
- gs || (co === null ? to(e) : ($o() || q?.is_fork) && co.set(e, t));
10689
- }
10690
- function No(e) {
10691
- if (e.effects !== null) for (let t of e.effects) (t.teardown || t.ac) && (t.teardown?.(), t.ac?.abort(Ca), t.teardown = na, t.ac = null, Is(t, 0), os(t));
10712
+ _s || (lo === null ? no(e) : (es() || q?.is_fork) && lo.set(e, t));
10692
10713
  }
10693
10714
  function Po(e) {
10694
- if (e.effects !== null) for (let t of e.effects) t.teardown && Ls(t);
10715
+ if (e.effects !== null) for (let t of e.effects) (t.teardown || t.ac) && (t.teardown?.(), t.ac?.abort(wa), t.teardown = ra, t.ac = null, Ls(t, 0), ss(t));
10716
+ }
10717
+ function Fo(e) {
10718
+ if (e.effects !== null) for (let t of e.effects) t.teardown && Rs(t);
10695
10719
  }
10696
10720
  //#endregion
10697
10721
  //#region node_modules/svelte/src/internal/client/reactivity/sources.js
10698
- var Fo = /* @__PURE__ */ new Set(), Io = /* @__PURE__ */ new Map(), Lo = !1;
10699
- function Ro(e, t) {
10722
+ var Io = /* @__PURE__ */ new Set(), Lo = /* @__PURE__ */ new Map(), Ro = !1;
10723
+ function zo(e, t) {
10700
10724
  return {
10701
10725
  f: 0,
10702
10726
  v: e,
10703
10727
  reactions: null,
10704
- equals: za,
10728
+ equals: Ba,
10705
10729
  rv: 0,
10706
10730
  wv: 0
10707
10731
  };
10708
10732
  }
10709
10733
  /*#__NO_SIDE_EFFECTS__*/
10710
- function zo(e, t) {
10711
- let n = Ro(e, t);
10712
- return Ss(n), n;
10734
+ function Bo(e, t) {
10735
+ let n = zo(e, t);
10736
+ return Cs(n), n;
10713
10737
  }
10714
- function Bo(e, t, n = !1) {
10715
- return Y !== null && (!vs || Y.f & 131072) && qa() && Y.f & 4325394 && (xs === null || !Ji.call(xs, e)) && Da(), Vo(e, n ? Go(t) : t, mo);
10738
+ function Vo(e, t, n = !1) {
10739
+ return Y !== null && (!ys || Y.f & 131072) && Ja() && Y.f & 4325394 && (Ss === null || !Yi.call(Ss, e)) && Oa(), Ho(e, n ? Ko(t) : t, ho);
10716
10740
  }
10717
- function Vo(e, t, n = null) {
10741
+ function Ho(e, t, n = null) {
10718
10742
  if (!e.equals(t)) {
10719
- Io.set(e, gs ? t : e.v);
10720
- var r = _o.ensure();
10743
+ Lo.set(e, _s ? t : e.v);
10744
+ var r = vo.ensure();
10721
10745
  if (r.capture(e, t), e.f & 2) {
10722
10746
  let t = e;
10723
- e.f & 2048 && jo(t), co === null && to(t);
10747
+ e.f & 2048 && Mo(t), lo === null && no(t);
10724
10748
  }
10725
- e.wv = js(), Wo(e, oa, n), qa() && X !== null && X.f & 1024 && !(X.f & 96) && (Ts === null ? Es([e]) : Ts.push(e)), !r.is_fork && Fo.size > 0 && !Lo && Ho();
10749
+ e.wv = Ms(), Go(e, sa, n), Ja() && X !== null && X.f & 1024 && !(X.f & 96) && (Es === null ? Ds([e]) : Es.push(e)), !r.is_fork && Io.size > 0 && !Ro && Uo();
10726
10750
  }
10727
10751
  return t;
10728
10752
  }
10729
- function Ho() {
10730
- Lo = !1;
10731
- for (let e of Fo) {
10732
- e.f & 1024 && eo(e, sa);
10753
+ function Uo() {
10754
+ Ro = !1;
10755
+ for (let e of Io) {
10756
+ e.f & 1024 && to(e, ca);
10733
10757
  let t;
10734
10758
  try {
10735
- t = Ms(e);
10759
+ t = Ns(e);
10736
10760
  } catch {
10737
10761
  t = !0;
10738
10762
  }
10739
- t && Ls(e);
10763
+ t && Rs(e);
10740
10764
  }
10741
- Fo.clear();
10765
+ Io.clear();
10742
10766
  }
10743
- function Uo(e) {
10744
- Bo(e, e.v + 1);
10767
+ function Wo(e) {
10768
+ Vo(e, e.v + 1);
10745
10769
  }
10746
- function Wo(e, t, n) {
10770
+ function Go(e, t, n) {
10747
10771
  var r = e.reactions;
10748
- if (r !== null) for (var i = qa(), a = r.length, o = 0; o < a; o++) {
10772
+ if (r !== null) for (var i = Ja(), a = r.length, o = 0; o < a; o++) {
10749
10773
  var s = r[o], c = s.f;
10750
10774
  if (!(!i && s === X)) {
10751
- var l = (c & oa) === 0;
10752
- if (l && eo(s, t), c & 131072) Fo.add(s);
10775
+ var l = (c & sa) === 0;
10776
+ if (l && to(s, t), c & 131072) Io.add(s);
10753
10777
  else if (c & 2) {
10754
10778
  var u = s;
10755
- co?.delete(u), c & 65536 || (c & 512 && (X === null || !(X.f & 2097152)) && (s.f |= ha), Wo(u, sa, n));
10779
+ lo?.delete(u), c & 65536 || (c & 512 && (X === null || !(X.f & 2097152)) && (s.f |= ga), Go(u, ca, n));
10756
10780
  } else if (l) {
10757
10781
  var d = s;
10758
- c & 16 && yo !== null && yo.add(d), n === null ? Co(d) : n.push(d);
10782
+ c & 16 && bo !== null && bo.add(d), n === null ? wo(d) : n.push(d);
10759
10783
  }
10760
10784
  }
10761
10785
  }
10762
10786
  }
10763
- function Go(e) {
10764
- if (typeof e != "object" || !e || va in e) return e;
10765
- let t = ea(e);
10766
- if (t !== Qi && t !== $i) return e;
10767
- var n = /* @__PURE__ */ new Map(), r = Ki(e), i = /* @__PURE__ */ zo(0), a = null, o = ks, s = (e) => {
10768
- if (ks === o) return e();
10769
- var t = Y, n = ks;
10770
- ys(null), As(o);
10787
+ function Ko(e) {
10788
+ if (typeof e != "object" || !e || ya in e) return e;
10789
+ let t = ta(e);
10790
+ if (t !== $i && t !== ea) return e;
10791
+ var n = /* @__PURE__ */ new Map(), r = qi(e), i = /* @__PURE__ */ Bo(0), a = null, o = As, s = (e) => {
10792
+ if (As === o) return e();
10793
+ var t = Y, n = As;
10794
+ bs(null), js(o);
10771
10795
  var r = e();
10772
- return ys(t), As(n), r;
10796
+ return bs(t), js(n), r;
10773
10797
  };
10774
- return r && n.set("length", /* @__PURE__ */ zo(e.length, a)), new Proxy(e, {
10798
+ return r && n.set("length", /* @__PURE__ */ Bo(e.length, a)), new Proxy(e, {
10775
10799
  defineProperty(e, t, r) {
10776
- (!("value" in r) || r.configurable === !1 || r.enumerable === !1 || r.writable === !1) && Ta();
10800
+ (!("value" in r) || r.configurable === !1 || r.enumerable === !1 || r.writable === !1) && Ea();
10777
10801
  var i = n.get(t);
10778
10802
  return i === void 0 ? s(() => {
10779
- var e = /* @__PURE__ */ zo(r.value, a);
10803
+ var e = /* @__PURE__ */ Bo(r.value, a);
10780
10804
  return n.set(t, e), e;
10781
- }) : Bo(i, r.value, !0), !0;
10805
+ }) : Vo(i, r.value, !0), !0;
10782
10806
  },
10783
10807
  deleteProperty(e, t) {
10784
10808
  var r = n.get(t);
10785
10809
  if (r === void 0) {
10786
10810
  if (t in e) {
10787
- let e = s(() => /* @__PURE__ */ zo(ka, a));
10788
- n.set(t, e), Uo(i);
10811
+ let e = s(() => /* @__PURE__ */ Bo(Aa, a));
10812
+ n.set(t, e), Wo(i);
10789
10813
  }
10790
- } else Bo(r, ka), Uo(i);
10814
+ } else Vo(r, Aa), Wo(i);
10791
10815
  return !0;
10792
10816
  },
10793
10817
  get(t, r, i) {
10794
- if (r === va) return e;
10818
+ if (r === ya) return e;
10795
10819
  var o = n.get(r), c = r in t;
10796
- if (o === void 0 && (!c || Zi(t, r)?.writable) && (o = s(() => /* @__PURE__ */ zo(Go(c ? t[r] : ka), a)), n.set(r, o)), o !== void 0) {
10797
- var l = Rs(o);
10798
- return l === ka ? void 0 : l;
10820
+ if (o === void 0 && (!c || Qi(t, r)?.writable) && (o = s(() => /* @__PURE__ */ Bo(Ko(c ? t[r] : Aa), a)), n.set(r, o)), o !== void 0) {
10821
+ var l = zs(o);
10822
+ return l === Aa ? void 0 : l;
10799
10823
  }
10800
10824
  return Reflect.get(t, r, i);
10801
10825
  },
@@ -10803,10 +10827,10 @@ function Go(e) {
10803
10827
  var r = Reflect.getOwnPropertyDescriptor(e, t);
10804
10828
  if (r && "value" in r) {
10805
10829
  var i = n.get(t);
10806
- i && (r.value = Rs(i));
10830
+ i && (r.value = zs(i));
10807
10831
  } else if (r === void 0) {
10808
10832
  var a = n.get(t), o = a?.v;
10809
- if (a !== void 0 && o !== ka) return {
10833
+ if (a !== void 0 && o !== Aa) return {
10810
10834
  enumerable: !0,
10811
10835
  configurable: !0,
10812
10836
  value: o,
@@ -10816,43 +10840,43 @@ function Go(e) {
10816
10840
  return r;
10817
10841
  },
10818
10842
  has(e, t) {
10819
- if (t === va) return !0;
10820
- var r = n.get(t), i = r !== void 0 && r.v !== ka || Reflect.has(e, t);
10821
- return (r !== void 0 || X !== null && (!i || Zi(e, t)?.writable)) && (r === void 0 && (r = s(() => /* @__PURE__ */ zo(i ? Go(e[t]) : ka, a)), n.set(t, r)), Rs(r) === ka) ? !1 : i;
10843
+ if (t === ya) return !0;
10844
+ var r = n.get(t), i = r !== void 0 && r.v !== Aa || Reflect.has(e, t);
10845
+ return (r !== void 0 || X !== null && (!i || Qi(e, t)?.writable)) && (r === void 0 && (r = s(() => /* @__PURE__ */ Bo(i ? Ko(e[t]) : Aa, a)), n.set(t, r)), zs(r) === Aa) ? !1 : i;
10822
10846
  },
10823
10847
  set(e, t, o, c) {
10824
10848
  var l = n.get(t), u = t in e;
10825
10849
  if (r && t === "length") for (var d = o; d < l.v; d += 1) {
10826
10850
  var f = n.get(d + "");
10827
- f === void 0 ? d in e && (f = s(() => /* @__PURE__ */ zo(ka, a)), n.set(d + "", f)) : Bo(f, ka);
10851
+ f === void 0 ? d in e && (f = s(() => /* @__PURE__ */ Bo(Aa, a)), n.set(d + "", f)) : Vo(f, Aa);
10828
10852
  }
10829
- if (l === void 0) (!u || Zi(e, t)?.writable) && (l = s(() => /* @__PURE__ */ zo(void 0, a)), Bo(l, Go(o)), n.set(t, l));
10853
+ if (l === void 0) (!u || Qi(e, t)?.writable) && (l = s(() => /* @__PURE__ */ Bo(void 0, a)), Vo(l, Ko(o)), n.set(t, l));
10830
10854
  else {
10831
- u = l.v !== ka;
10832
- var p = s(() => Go(o));
10833
- Bo(l, p);
10855
+ u = l.v !== Aa;
10856
+ var p = s(() => Ko(o));
10857
+ Vo(l, p);
10834
10858
  }
10835
10859
  var m = Reflect.getOwnPropertyDescriptor(e, t);
10836
10860
  if (m?.set && m.set.call(c, o), !u) {
10837
10861
  if (r && typeof t == "string") {
10838
10862
  var h = n.get("length"), g = Number(t);
10839
- Number.isInteger(g) && g >= h.v && Bo(h, g + 1);
10863
+ Number.isInteger(g) && g >= h.v && Vo(h, g + 1);
10840
10864
  }
10841
- Uo(i);
10865
+ Wo(i);
10842
10866
  }
10843
10867
  return !0;
10844
10868
  },
10845
10869
  ownKeys(e) {
10846
- Rs(i);
10870
+ zs(i);
10847
10871
  var t = Reflect.ownKeys(e).filter((e) => {
10848
10872
  var t = n.get(e);
10849
- return t === void 0 || t.v !== ka;
10873
+ return t === void 0 || t.v !== Aa;
10850
10874
  });
10851
- for (var [r, a] of n) a.v !== ka && !(r in e) && t.push(r);
10875
+ for (var [r, a] of n) a.v !== Aa && !(r in e) && t.push(r);
10852
10876
  return t;
10853
10877
  },
10854
10878
  setPrototypeOf() {
10855
- Ea();
10879
+ Da();
10856
10880
  }
10857
10881
  });
10858
10882
  }
@@ -10867,46 +10891,46 @@ new Set([
10867
10891
  "splice",
10868
10892
  "unshift"
10869
10893
  ]);
10870
- var Ko, qo;
10871
- function Jo() {
10872
- if (Ko === void 0) {
10873
- Ko = window, /Firefox/.test(navigator.userAgent);
10894
+ var qo, Jo;
10895
+ function Yo() {
10896
+ if (qo === void 0) {
10897
+ qo = window, /Firefox/.test(navigator.userAgent);
10874
10898
  var e = Element.prototype, t = Node.prototype, n = Text.prototype;
10875
- Zi(t, "firstChild").get, qo = Zi(t, "nextSibling").get, ta(e) && (e[ba] = void 0, e[ya] = null, e[xa] = void 0, e.__e = void 0), ta(n) && (n[Sa] = void 0);
10899
+ Qi(t, "firstChild").get, Jo = Qi(t, "nextSibling").get, na(e) && (e[xa] = void 0, e[ba] = null, e[Sa] = void 0, e.__e = void 0), na(n) && (n[Ca] = void 0);
10876
10900
  }
10877
10901
  }
10878
- function Yo(e = "") {
10902
+ function Xo(e = "") {
10879
10903
  return document.createTextNode(e);
10880
10904
  }
10881
10905
  /*@__NO_SIDE_EFFECTS__*/
10882
- function Xo(e) {
10883
- return qo.call(e);
10906
+ function J(e) {
10907
+ return Jo.call(e);
10884
10908
  }
10885
10909
  //#endregion
10886
10910
  //#region node_modules/svelte/src/internal/client/dom/elements/bindings/shared.js
10887
- function J(e) {
10911
+ function Zo(e) {
10888
10912
  var t = Y, n = X;
10889
- ys(null), bs(null);
10913
+ bs(null), xs(null);
10890
10914
  try {
10891
10915
  return e();
10892
10916
  } finally {
10893
- ys(t), bs(n);
10917
+ bs(t), xs(n);
10894
10918
  }
10895
10919
  }
10896
10920
  //#endregion
10897
10921
  //#region node_modules/svelte/src/internal/client/reactivity/effects.js
10898
- function Zo(e, t) {
10922
+ function Qo(e, t) {
10899
10923
  var n = t.last;
10900
10924
  n === null ? t.last = t.first = e : (n.next = e, e.prev = n, t.last = e);
10901
10925
  }
10902
- function Qo(e, t) {
10926
+ function $o(e, t) {
10903
10927
  var n = X;
10904
- n !== null && n.f & 8192 && (e |= ca);
10928
+ n !== null && n.f & 8192 && (e |= la);
10905
10929
  var r = {
10906
- ctx: Ua,
10930
+ ctx: Wa,
10907
10931
  deps: null,
10908
10932
  nodes: null,
10909
- f: e | oa | 512,
10933
+ f: e | sa | 512,
10910
10934
  first: null,
10911
10935
  fn: t,
10912
10936
  last: null,
@@ -10920,293 +10944,293 @@ function Qo(e, t) {
10920
10944
  };
10921
10945
  q?.register_created_effect(r);
10922
10946
  var i = r;
10923
- if (e & 4) po === null ? _o.ensure().schedule(r) : po.push(r);
10947
+ if (e & 4) mo === null ? vo.ensure().schedule(r) : mo.push(r);
10924
10948
  else if (t !== null) {
10925
10949
  try {
10926
- Ls(r);
10950
+ Rs(r);
10927
10951
  } catch (e) {
10928
- throw cs(r), e;
10952
+ throw ls(r), e;
10929
10953
  }
10930
- i.deps === null && i.teardown === null && i.nodes === null && i.first === i.last && !(i.f & 524288) && (i = i.first, e & 16 && e & 65536 && i !== null && (i.f |= fa));
10954
+ i.deps === null && i.teardown === null && i.nodes === null && i.first === i.last && !(i.f & 524288) && (i = i.first, e & 16 && e & 65536 && i !== null && (i.f |= pa));
10931
10955
  }
10932
- if (i !== null && (i.parent = n, n !== null && Zo(i, n), Y !== null && Y.f & 2 && !(e & 64))) {
10956
+ if (i !== null && (i.parent = n, n !== null && Qo(i, n), Y !== null && Y.f & 2 && !(e & 64))) {
10933
10957
  var a = Y;
10934
10958
  (a.effects ??= []).push(i);
10935
10959
  }
10936
10960
  return r;
10937
10961
  }
10938
- function $o() {
10939
- return Y !== null && !vs;
10940
- }
10941
- function es(e) {
10942
- return Qo(4 | ma, e);
10962
+ function es() {
10963
+ return Y !== null && !ys;
10943
10964
  }
10944
10965
  function ts(e) {
10945
- _o.ensure();
10946
- let t = Qo(64 | pa, e);
10966
+ return $o(4 | ha, e);
10967
+ }
10968
+ function ns(e) {
10969
+ vo.ensure();
10970
+ let t = $o(64 | ma, e);
10947
10971
  return (e = {}) => new Promise((n) => {
10948
- e.outro ? ds(t, () => {
10949
- cs(t), n(void 0);
10950
- }) : (cs(t), n(void 0));
10972
+ e.outro ? fs(t, () => {
10973
+ ls(t), n(void 0);
10974
+ }) : (ls(t), n(void 0));
10951
10975
  });
10952
10976
  }
10953
- function ns(e, t = 0) {
10954
- return Qo(8 | t, e);
10955
- }
10956
10977
  function rs(e, t = 0) {
10957
- return Qo(16 | t, e);
10978
+ return $o(8 | t, e);
10958
10979
  }
10959
- function is(e) {
10960
- return Qo(32 | pa, e);
10980
+ function is(e, t = 0) {
10981
+ return $o(16 | t, e);
10961
10982
  }
10962
10983
  function as(e) {
10984
+ return $o(32 | ma, e);
10985
+ }
10986
+ function os(e) {
10963
10987
  var t = e.teardown;
10964
10988
  if (t !== null) {
10965
- let e = gs, n = Y;
10966
- _s(!0), ys(null);
10989
+ let e = _s, n = Y;
10990
+ vs(!0), bs(null);
10967
10991
  try {
10968
10992
  t.call(null);
10969
10993
  } finally {
10970
- _s(e), ys(n);
10994
+ vs(e), bs(n);
10971
10995
  }
10972
10996
  }
10973
10997
  }
10974
- function os(e, t = !1) {
10998
+ function ss(e, t = !1) {
10975
10999
  var n = e.first;
10976
11000
  for (e.first = e.last = null; n !== null;) {
10977
11001
  let e = n.ac;
10978
- e !== null && J(() => {
10979
- e.abort(Ca);
11002
+ e !== null && Zo(() => {
11003
+ e.abort(wa);
10980
11004
  });
10981
11005
  var r = n.next;
10982
- n.f & 64 ? n.parent = null : cs(n, t), n = r;
11006
+ n.f & 64 ? n.parent = null : ls(n, t), n = r;
10983
11007
  }
10984
11008
  }
10985
- function ss(e) {
11009
+ function cs(e) {
10986
11010
  for (var t = e.first; t !== null;) {
10987
11011
  var n = t.next;
10988
- t.f & 32 || cs(t), t = n;
11012
+ t.f & 32 || ls(t), t = n;
10989
11013
  }
10990
11014
  }
10991
- function cs(e, t = !0) {
11015
+ function ls(e, t = !0) {
10992
11016
  var n = !1;
10993
- (t || e.f & 262144) && e.nodes !== null && e.nodes.end !== null && (ls(e.nodes.start, e.nodes.end), n = !0), eo(e, da), os(e, t && !n), Is(e, 0);
11017
+ (t || e.f & 262144) && e.nodes !== null && e.nodes.end !== null && (us(e.nodes.start, e.nodes.end), n = !0), to(e, fa), ss(e, t && !n), Ls(e, 0);
10994
11018
  var r = e.nodes && e.nodes.t;
10995
11019
  if (r !== null) for (let e of r) e.stop();
10996
- as(e), e.f ^= da, e.f |= la;
11020
+ os(e), e.f ^= fa, e.f |= ua;
10997
11021
  var i = e.parent;
10998
- i !== null && i.first !== null && us(e), e.next = e.prev = e.teardown = e.ctx = e.deps = e.fn = e.nodes = e.ac = e.b = null;
11022
+ i !== null && i.first !== null && ds(e), e.next = e.prev = e.teardown = e.ctx = e.deps = e.fn = e.nodes = e.ac = e.b = null;
10999
11023
  }
11000
- function ls(e, t) {
11024
+ function us(e, t) {
11001
11025
  for (; e !== null;) {
11002
- var n = e === t ? null : /* @__PURE__ */ Xo(e);
11026
+ var n = e === t ? null : /* @__PURE__ */ J(e);
11003
11027
  e.remove(), e = n;
11004
11028
  }
11005
11029
  }
11006
- function us(e) {
11030
+ function ds(e) {
11007
11031
  var t = e.parent, n = e.prev, r = e.next;
11008
11032
  n !== null && (n.next = r), r !== null && (r.prev = n), t !== null && (t.first === e && (t.first = r), t.last === e && (t.last = n));
11009
11033
  }
11010
- function ds(e, t, n = !0) {
11034
+ function fs(e, t, n = !0) {
11011
11035
  var r = [];
11012
- fs(e, r, !0);
11036
+ ps(e, r, !0);
11013
11037
  var i = () => {
11014
- n && cs(e), t && t();
11038
+ n && ls(e), t && t();
11015
11039
  }, a = r.length;
11016
11040
  if (a > 0) {
11017
11041
  var o = () => --a || i();
11018
11042
  for (var s of r) s.out(o);
11019
11043
  } else i();
11020
11044
  }
11021
- function fs(e, t, n) {
11045
+ function ps(e, t, n) {
11022
11046
  if (!(e.f & 8192)) {
11023
- e.f ^= ca;
11047
+ e.f ^= la;
11024
11048
  var r = e.nodes && e.nodes.t;
11025
11049
  if (r !== null) for (let e of r) (e.is_global || n) && t.push(e);
11026
11050
  for (var i = e.first; i !== null;) {
11027
11051
  var a = i.next;
11028
11052
  if (!(i.f & 64)) {
11029
11053
  var o = (i.f & 65536) != 0 || (i.f & 32) != 0 && (e.f & 16) != 0;
11030
- fs(i, t, o ? n : !1);
11054
+ ps(i, t, o ? n : !1);
11031
11055
  }
11032
11056
  i = a;
11033
11057
  }
11034
11058
  }
11035
11059
  }
11036
- function ps(e, t) {
11060
+ function ms(e, t) {
11037
11061
  if (e.nodes) for (var n = e.nodes.start, r = e.nodes.end; n !== null;) {
11038
- var i = n === r ? null : /* @__PURE__ */ Xo(n);
11062
+ var i = n === r ? null : /* @__PURE__ */ J(n);
11039
11063
  t.append(n), n = i;
11040
11064
  }
11041
11065
  }
11042
11066
  //#endregion
11043
11067
  //#region node_modules/svelte/src/internal/client/legacy.js
11044
- var ms = null, hs = !1, gs = !1;
11045
- function _s(e) {
11046
- gs = e;
11068
+ var hs = null, gs = !1, _s = !1;
11069
+ function vs(e) {
11070
+ _s = e;
11047
11071
  }
11048
- var Y = null, vs = !1;
11049
- function ys(e) {
11072
+ var Y = null, ys = !1;
11073
+ function bs(e) {
11050
11074
  Y = e;
11051
11075
  }
11052
11076
  var X = null;
11053
- function bs(e) {
11077
+ function xs(e) {
11054
11078
  X = e;
11055
11079
  }
11056
- var xs = null;
11057
- function Ss(e) {
11058
- Y !== null && (!Ba || Y.f & 2) && (xs === null ? xs = [e] : xs.push(e));
11080
+ var Ss = null;
11081
+ function Cs(e) {
11082
+ Y !== null && (!Va || Y.f & 2) && (Ss === null ? Ss = [e] : Ss.push(e));
11059
11083
  }
11060
- var Cs = null, ws = 0, Ts = null;
11061
- function Es(e) {
11062
- Ts = e;
11084
+ var ws = null, Ts = 0, Es = null;
11085
+ function Ds(e) {
11086
+ Es = e;
11063
11087
  }
11064
- var Ds = 1, Os = 0, ks = Os;
11065
- function As(e) {
11066
- ks = e;
11088
+ var Os = 1, ks = 0, As = ks;
11089
+ function js(e) {
11090
+ As = e;
11067
11091
  }
11068
- function js() {
11069
- return ++Ds;
11092
+ function Ms() {
11093
+ return ++Os;
11070
11094
  }
11071
- function Ms(e) {
11095
+ function Ns(e) {
11072
11096
  var t = e.f;
11073
11097
  if (t & 2048) return !0;
11074
- if (t & 2 && (e.f &= ~ha), t & 4096) {
11098
+ if (t & 2 && (e.f &= ~ga), t & 4096) {
11075
11099
  for (var n = e.deps, r = n.length, i = 0; i < r; i++) {
11076
11100
  var a = n[i];
11077
- if (Ms(a) && Mo(a), a.wv > e.wv) return !0;
11101
+ if (Ns(a) && No(a), a.wv > e.wv) return !0;
11078
11102
  }
11079
- t & 512 && co === null && eo(e, aa);
11103
+ t & 512 && lo === null && to(e, oa);
11080
11104
  }
11081
11105
  return !1;
11082
11106
  }
11083
- function Ns(e, t, n = !0) {
11107
+ function Ps(e, t, n = !0) {
11084
11108
  var r = e.reactions;
11085
- if (r !== null && !(!Ba && xs !== null && Ji.call(xs, e))) for (var i = 0; i < r.length; i++) {
11109
+ if (r !== null && !(!Va && Ss !== null && Yi.call(Ss, e))) for (var i = 0; i < r.length; i++) {
11086
11110
  var a = r[i];
11087
- a.f & 2 ? Ns(a, t, !1) : t === a && (n ? eo(a, oa) : a.f & 1024 && eo(a, sa), Co(a));
11111
+ a.f & 2 ? Ps(a, t, !1) : t === a && (n ? to(a, sa) : a.f & 1024 && to(a, ca), wo(a));
11088
11112
  }
11089
11113
  }
11090
- function Ps(e) {
11091
- var t = Cs, n = ws, r = Ts, i = Y, a = xs, o = Ua, s = vs, c = ks, l = e.f;
11092
- Cs = null, ws = 0, Ts = null, Y = l & 96 ? null : e, xs = null, Wa(e.ctx), vs = !1, ks = ++Os, e.ac !== null && (J(() => {
11093
- e.ac.abort(Ca);
11114
+ function Fs(e) {
11115
+ var t = ws, n = Ts, r = Es, i = Y, a = Ss, o = Wa, s = ys, c = As, l = e.f;
11116
+ ws = null, Ts = 0, Es = null, Y = l & 96 ? null : e, Ss = null, Ga(e.ctx), ys = !1, As = ++ks, e.ac !== null && (Zo(() => {
11117
+ e.ac.abort(wa);
11094
11118
  }), e.ac = null);
11095
11119
  try {
11096
- e.f |= ga;
11120
+ e.f |= _a;
11097
11121
  var u = e.fn, d = u();
11098
- e.f |= ua;
11122
+ e.f |= da;
11099
11123
  var f = e.deps, p = q?.is_fork;
11100
- if (Cs !== null) {
11124
+ if (ws !== null) {
11101
11125
  var m;
11102
- if (p || Is(e, ws), f !== null && ws > 0) for (f.length = ws + Cs.length, m = 0; m < Cs.length; m++) f[ws + m] = Cs[m];
11103
- else e.deps = f = Cs;
11104
- if ($o() && e.f & 512) for (m = ws; m < f.length; m++) (f[m].reactions ??= []).push(e);
11105
- } else !p && f !== null && ws < f.length && (Is(e, ws), f.length = ws);
11106
- if (qa() && Ts !== null && !vs && f !== null && !(e.f & 6146)) for (m = 0; m < Ts.length; m++) Ns(Ts[m], e);
11126
+ if (p || Ls(e, Ts), f !== null && Ts > 0) for (f.length = Ts + ws.length, m = 0; m < ws.length; m++) f[Ts + m] = ws[m];
11127
+ else e.deps = f = ws;
11128
+ if (es() && e.f & 512) for (m = Ts; m < f.length; m++) (f[m].reactions ??= []).push(e);
11129
+ } else !p && f !== null && Ts < f.length && (Ls(e, Ts), f.length = Ts);
11130
+ if (Ja() && Es !== null && !ys && f !== null && !(e.f & 6146)) for (m = 0; m < Es.length; m++) Ps(Es[m], e);
11107
11131
  if (i !== null && i !== e) {
11108
- if (Os++, i.deps !== null) for (let e = 0; e < n; e += 1) i.deps[e].rv = Os;
11109
- if (t !== null) for (let e of t) e.rv = Os;
11110
- Ts !== null && (r === null ? r = Ts : r.push(...Ts));
11132
+ if (ks++, i.deps !== null) for (let e = 0; e < n; e += 1) i.deps[e].rv = ks;
11133
+ if (t !== null) for (let e of t) e.rv = ks;
11134
+ Es !== null && (r === null ? r = Es : r.push(...Es));
11111
11135
  }
11112
- return e.f & 8388608 && (e.f ^= _a), d;
11136
+ return e.f & 8388608 && (e.f ^= va), d;
11113
11137
  } catch (e) {
11114
- return Za(e);
11138
+ return Qa(e);
11115
11139
  } finally {
11116
- e.f ^= ga, Cs = t, ws = n, Ts = r, Y = i, xs = a, Wa(o), vs = s, ks = c;
11140
+ e.f ^= _a, ws = t, Ts = n, Es = r, Y = i, Ss = a, Ga(o), ys = s, As = c;
11117
11141
  }
11118
11142
  }
11119
- function Fs(e, t) {
11143
+ function Is(e, t) {
11120
11144
  let n = t.reactions;
11121
11145
  if (n !== null) {
11122
- var r = qi.call(n, e);
11146
+ var r = Ji.call(n, e);
11123
11147
  if (r !== -1) {
11124
11148
  var i = n.length - 1;
11125
11149
  i === 0 ? n = t.reactions = null : (n[r] = n[i], n.pop());
11126
11150
  }
11127
11151
  }
11128
- if (n === null && t.f & 2 && (Cs === null || !Ji.call(Cs, t))) {
11152
+ if (n === null && t.f & 2 && (ws === null || !Yi.call(ws, t))) {
11129
11153
  var a = t;
11130
- a.f & 512 && (a.f ^= 512, a.f &= ~ha), a.v !== ka && to(a), No(a), Is(a, 0);
11154
+ a.f & 512 && (a.f ^= 512, a.f &= ~ga), a.v !== Aa && no(a), Po(a), Ls(a, 0);
11131
11155
  }
11132
11156
  }
11133
- function Is(e, t) {
11157
+ function Ls(e, t) {
11134
11158
  var n = e.deps;
11135
- if (n !== null) for (var r = t; r < n.length; r++) Fs(e, n[r]);
11159
+ if (n !== null) for (var r = t; r < n.length; r++) Is(e, n[r]);
11136
11160
  }
11137
- function Ls(e) {
11161
+ function Rs(e) {
11138
11162
  var t = e.f;
11139
11163
  if (!(t & 16384)) {
11140
- eo(e, aa);
11141
- var n = X, r = hs;
11142
- X = e, hs = !0;
11164
+ to(e, oa);
11165
+ var n = X, r = gs;
11166
+ X = e, gs = !0;
11143
11167
  try {
11144
- t & 16777232 ? ss(e) : os(e), as(e);
11145
- var i = Ps(e);
11146
- e.teardown = typeof i == "function" ? i : null, e.wv = Ds;
11168
+ t & 16777232 ? cs(e) : ss(e), os(e);
11169
+ var i = Fs(e);
11170
+ e.teardown = typeof i == "function" ? i : null, e.wv = Os;
11147
11171
  } finally {
11148
- hs = r, X = n;
11172
+ gs = r, X = n;
11149
11173
  }
11150
11174
  }
11151
11175
  }
11152
- function Rs(e) {
11176
+ function zs(e) {
11153
11177
  var t = (e.f & 2) != 0;
11154
- if (ms?.add(e), Y !== null && !vs && !(X !== null && X.f & 16384) && (xs === null || !Ji.call(xs, e))) {
11178
+ if (hs?.add(e), Y !== null && !ys && !(X !== null && X.f & 16384) && (Ss === null || !Yi.call(Ss, e))) {
11155
11179
  var n = Y.deps;
11156
- if (Y.f & 2097152) e.rv < Os && (e.rv = Os, Cs === null && n !== null && n[ws] === e ? ws++ : Cs === null ? Cs = [e] : Cs.push(e));
11180
+ if (Y.f & 2097152) e.rv < ks && (e.rv = ks, ws === null && n !== null && n[Ts] === e ? Ts++ : ws === null ? ws = [e] : ws.push(e));
11157
11181
  else {
11158
11182
  (Y.deps ??= []).push(e);
11159
11183
  var r = e.reactions;
11160
- r === null ? e.reactions = [Y] : Ji.call(r, Y) || r.push(Y);
11184
+ r === null ? e.reactions = [Y] : Yi.call(r, Y) || r.push(Y);
11161
11185
  }
11162
11186
  }
11163
- if (gs && Io.has(e)) return Io.get(e);
11187
+ if (_s && Lo.has(e)) return Lo.get(e);
11164
11188
  if (t) {
11165
11189
  var i = e;
11166
- if (gs) {
11190
+ if (_s) {
11167
11191
  var a = i.v;
11168
- return (!(i.f & 1024) && i.reactions !== null || Bs(i)) && (a = jo(i)), Io.set(i, a), a;
11192
+ return (!(i.f & 1024) && i.reactions !== null || Vs(i)) && (a = Mo(i)), Lo.set(i, a), a;
11169
11193
  }
11170
- var o = (i.f & 512) == 0 && !vs && Y !== null && (hs || (Y.f & 512) != 0), s = (i.f & ua) === 0;
11171
- Ms(i) && (o && (i.f |= 512), Mo(i)), o && !s && (Po(i), zs(i));
11194
+ var o = (i.f & 512) == 0 && !ys && Y !== null && (gs || (Y.f & 512) != 0), s = (i.f & da) === 0;
11195
+ Ns(i) && (o && (i.f |= 512), No(i)), o && !s && (Fo(i), Bs(i));
11172
11196
  }
11173
- if (co?.has(e)) return co.get(e);
11197
+ if (lo?.has(e)) return lo.get(e);
11174
11198
  if (e.f & 8388608) throw e.v;
11175
11199
  return e.v;
11176
11200
  }
11177
- function zs(e) {
11178
- if (e.f |= 512, e.deps !== null) for (let t of e.deps) (t.reactions ??= []).push(e), t.f & 2 && !(t.f & 512) && (Po(t), zs(t));
11179
- }
11180
11201
  function Bs(e) {
11181
- if (e.v === ka) return !0;
11202
+ if (e.f |= 512, e.deps !== null) for (let t of e.deps) (t.reactions ??= []).push(e), t.f & 2 && !(t.f & 512) && (Fo(t), Bs(t));
11203
+ }
11204
+ function Vs(e) {
11205
+ if (e.v === Aa) return !0;
11182
11206
  if (e.deps === null) return !1;
11183
- for (let t of e.deps) if (Io.has(t) || t.f & 2 && Bs(t)) return !0;
11207
+ for (let t of e.deps) if (Lo.has(t) || t.f & 2 && Vs(t)) return !0;
11184
11208
  return !1;
11185
11209
  }
11186
- function Vs(e) {
11187
- var t = vs;
11210
+ function Hs(e) {
11211
+ var t = ys;
11188
11212
  try {
11189
- return vs = !0, e();
11213
+ return ys = !0, e();
11190
11214
  } finally {
11191
- vs = t;
11215
+ ys = t;
11192
11216
  }
11193
11217
  }
11194
11218
  [.../* @__PURE__ */ "allowfullscreen.async.autofocus.autoplay.checked.controls.default.disabled.formnovalidate.indeterminate.inert.ismap.loop.multiple.muted.nomodule.novalidate.open.playsinline.readonly.required.reversed.seamless.selected.webkitdirectory.defer.disablepictureinpicture.disableremoteplayback".split(".")];
11195
- var Hs = ["touchstart", "touchmove"];
11196
- function Us(e) {
11197
- return Hs.includes(e);
11219
+ var Us = ["touchstart", "touchmove"];
11220
+ function Ws(e) {
11221
+ return Us.includes(e);
11198
11222
  }
11199
11223
  //#endregion
11200
11224
  //#region node_modules/svelte/src/internal/client/dom/elements/events.js
11201
- var Ws = Symbol("events"), Gs = /* @__PURE__ */ new Set(), Ks = /* @__PURE__ */ new Set(), qs = null;
11202
- function Js(e) {
11225
+ var Gs = Symbol("events"), Ks = /* @__PURE__ */ new Set(), qs = /* @__PURE__ */ new Set(), Js = null;
11226
+ function Ys(e) {
11203
11227
  var t = this, n = t.ownerDocument, r = e.type, i = e.composedPath?.() || [], a = i[0] || e.target;
11204
- qs = e;
11205
- var o = 0, s = qs === e && e[Ws];
11228
+ Js = e;
11229
+ var o = 0, s = Js === e && e[Gs];
11206
11230
  if (s) {
11207
11231
  var c = i.indexOf(s);
11208
11232
  if (c !== -1 && (t === document || t === window)) {
11209
- e[Ws] = t;
11233
+ e[Gs] = t;
11210
11234
  return;
11211
11235
  }
11212
11236
  var l = i.indexOf(t);
@@ -11214,19 +11238,19 @@ function Js(e) {
11214
11238
  c <= l && (o = c);
11215
11239
  }
11216
11240
  if (a = i[o] || e.target, a !== t) {
11217
- Xi(e, "currentTarget", {
11241
+ Zi(e, "currentTarget", {
11218
11242
  configurable: !0,
11219
11243
  get() {
11220
11244
  return a || n;
11221
11245
  }
11222
11246
  });
11223
11247
  var u = Y, d = X;
11224
- ys(null), bs(null);
11248
+ bs(null), xs(null);
11225
11249
  try {
11226
11250
  for (var f, p = []; a !== null;) {
11227
11251
  var m = a.assignedSlot || a.parentNode || a.host || null;
11228
11252
  try {
11229
- var h = a[Ws]?.[r];
11253
+ var h = a[Gs]?.[r];
11230
11254
  h != null && (!a.disabled || e.target === a) && h.call(a, e);
11231
11255
  } catch (e) {
11232
11256
  f ? p.push(e) : f = e;
@@ -11241,14 +11265,14 @@ function Js(e) {
11241
11265
  throw f;
11242
11266
  }
11243
11267
  } finally {
11244
- e[Ws] = t, delete e.currentTarget, ys(u), bs(d);
11268
+ e[Gs] = t, delete e.currentTarget, bs(u), xs(d);
11245
11269
  }
11246
11270
  }
11247
11271
  }
11248
11272
  globalThis?.window?.trustedTypes;
11249
11273
  //#endregion
11250
11274
  //#region node_modules/svelte/src/internal/client/dom/template.js
11251
- function Ys(e, t) {
11275
+ function Xs(e, t) {
11252
11276
  var n = X;
11253
11277
  n.nodes === null && (n.nodes = {
11254
11278
  start: e,
@@ -11257,55 +11281,55 @@ function Ys(e, t) {
11257
11281
  t: null
11258
11282
  });
11259
11283
  }
11260
- function Xs(e, t) {
11261
- return Qs(e, t);
11262
- }
11263
- var Zs = /* @__PURE__ */ new Map();
11264
- function Qs(e, { target: t, anchor: n, props: r = {}, events: i, context: a, intro: o = !0, transformError: s }) {
11265
- Jo();
11266
- var c = void 0, l = ts(() => {
11267
- var o = n ?? t.appendChild(Yo());
11268
- Oo(o, { pending: () => {} }, (t) => {
11269
- Ga({});
11270
- var n = Ua;
11271
- if (a && (n.c = a), i && (r.$$events = i), Na && Ys(t, null), c = e(t, r) || {}, Na && (X.nodes.end = Pa, Pa === null || Pa.nodeType !== 8 || Pa.data !== "]")) throw ja(), K;
11272
- Ka();
11284
+ function Zs(e, t) {
11285
+ return $s(e, t);
11286
+ }
11287
+ var Qs = /* @__PURE__ */ new Map();
11288
+ function $s(e, { target: t, anchor: n, props: r = {}, events: i, context: a, intro: o = !0, transformError: s }) {
11289
+ Yo();
11290
+ var c = void 0, l = ns(() => {
11291
+ var o = n ?? t.appendChild(Xo());
11292
+ ko(o, { pending: () => {} }, (t) => {
11293
+ Ka({});
11294
+ var n = Wa;
11295
+ if (a && (n.c = a), i && (r.$$events = i), Pa && Xs(t, null), c = e(t, r) || {}, Pa && (X.nodes.end = Fa, Fa === null || Fa.nodeType !== 8 || Fa.data !== "]")) throw Ma(), ka;
11296
+ qa();
11273
11297
  }, s);
11274
11298
  var l = /* @__PURE__ */ new Set(), u = (e) => {
11275
11299
  for (var n = 0; n < e.length; n++) {
11276
11300
  var r = e[n];
11277
11301
  if (!l.has(r)) {
11278
11302
  l.add(r);
11279
- var i = Us(r);
11303
+ var i = Ws(r);
11280
11304
  for (let e of [t, document]) {
11281
- var a = Zs.get(e);
11282
- a === void 0 && (a = /* @__PURE__ */ new Map(), Zs.set(e, a));
11305
+ var a = Qs.get(e);
11306
+ a === void 0 && (a = /* @__PURE__ */ new Map(), Qs.set(e, a));
11283
11307
  var o = a.get(r);
11284
- o === void 0 ? (e.addEventListener(r, Js, { passive: i }), a.set(r, 1)) : a.set(r, o + 1);
11308
+ o === void 0 ? (e.addEventListener(r, Ys, { passive: i }), a.set(r, 1)) : a.set(r, o + 1);
11285
11309
  }
11286
11310
  }
11287
11311
  }
11288
11312
  };
11289
- return u(Yi(Gs)), Ks.add(u), () => {
11313
+ return u(Xi(Ks)), qs.add(u), () => {
11290
11314
  for (var e of l) for (let n of [t, document]) {
11291
- var r = Zs.get(n), i = r.get(e);
11292
- --i == 0 ? (n.removeEventListener(e, Js), r.delete(e), r.size === 0 && Zs.delete(n)) : r.set(e, i);
11315
+ var r = Qs.get(n), i = r.get(e);
11316
+ --i == 0 ? (n.removeEventListener(e, Ys), r.delete(e), r.size === 0 && Qs.delete(n)) : r.set(e, i);
11293
11317
  }
11294
- Ks.delete(u), o !== n && o.parentNode?.removeChild(o);
11318
+ qs.delete(u), o !== n && o.parentNode?.removeChild(o);
11295
11319
  };
11296
11320
  });
11297
- return $s.set(c, l), c;
11321
+ return ec.set(c, l), c;
11298
11322
  }
11299
- var $s = /* @__PURE__ */ new WeakMap();
11323
+ var ec = /* @__PURE__ */ new WeakMap();
11300
11324
  //#endregion
11301
11325
  //#region node_modules/svelte/src/internal/flags/legacy.js
11302
- typeof window < "u" && ((window.__svelte ??= {}).v ??= /* @__PURE__ */ new Set()).add("5"), Ha();
11326
+ typeof window < "u" && ((window.__svelte ??= {}).v ??= /* @__PURE__ */ new Set()).add("5"), Ua();
11303
11327
  //#endregion
11304
11328
  //#region src/App.svelte
11305
- function ec(e) {}
11329
+ function tc(e) {}
11306
11330
  //#endregion
11307
11331
  //#region src/modules/routing-module.ts
11308
- var tc = {
11332
+ var nc = {
11309
11333
  init: (e) => {
11310
11334
  W.get(Si).enableRouting();
11311
11335
  },
@@ -11338,14 +11362,14 @@ var tc = {
11338
11362
  Object.keys(e).length > 0 && r.routing().addSearchParams(e, t, n);
11339
11363
  }
11340
11364
  }
11341
- }, nc, rc = {
11365
+ }, rc, ic = {
11342
11366
  luigi: void 0,
11343
11367
  documentTitle: void 0,
11344
11368
  init: (e) => {
11345
- rc.luigi = e, rc.documentTitle = r(void 0), nc = W.get(gi);
11369
+ ic.luigi = e, ic.documentTitle = r(void 0), rc = W.get(gi);
11346
11370
  },
11347
11371
  processAlert: (e, t, n) => {
11348
- if (!rc.luigi) throw Error("Luigi is not initialized.");
11372
+ if (!ic.luigi) throw Error("Luigi is not initialized.");
11349
11373
  let r = {
11350
11374
  openFromClient: t,
11351
11375
  close: () => {
@@ -11354,26 +11378,26 @@ var tc = {
11354
11378
  link: (t) => {
11355
11379
  if (e.links) {
11356
11380
  let r = e.links[t];
11357
- if (r && (r.url && rc.luigi?.navigation().navigate(r.url), r.dismissKey && e.id)) return n.notifyAlertClosed(e.id, r.dismissKey), !0;
11381
+ if (r && (r.url && ic.luigi?.navigation().navigate(r.url), r.dismissKey && e.id)) return n.notifyAlertClosed(e.id, r.dismissKey), !0;
11358
11382
  }
11359
11383
  return !1;
11360
11384
  }
11361
11385
  };
11362
- rc.luigi.getEngine()._connector?.renderAlert(e, r);
11386
+ ic.luigi.getEngine()._connector?.renderAlert(e, r);
11363
11387
  },
11364
11388
  handleConfirmationModalRequest: (e, t) => {
11365
- if (!rc.luigi) throw Error("Luigi is not initialized.");
11389
+ if (!ic.luigi) throw Error("Luigi is not initialized.");
11366
11390
  if (e) {
11367
- let t = e.body ? e.body : rc.luigi.i18n().getTranslation("luigi.confirmationModal.body");
11391
+ let t = e.body ? e.body : ic.luigi.i18n().getTranslation("luigi.confirmationModal.body");
11368
11392
  e = {
11369
11393
  ...e,
11370
- header: rc.luigi.i18n().getTranslation(e.header || "luigi.confirmationModal.header"),
11394
+ header: ic.luigi.i18n().getTranslation(e.header || "luigi.confirmationModal.header"),
11371
11395
  body: fi.sanatizeHtmlExceptTextFormatting(t),
11372
- buttonDismiss: rc.luigi.i18n().getTranslation(e.buttonDismiss || "luigi.button.dismiss"),
11373
- buttonConfirm: e.buttonConfirm === !1 ? !1 : rc.luigi.i18n().getTranslation(e.buttonConfirm || "luigi.button.confirm")
11396
+ buttonDismiss: ic.luigi.i18n().getTranslation(e.buttonDismiss || "luigi.button.dismiss"),
11397
+ buttonConfirm: e.buttonConfirm === !1 ? !1 : ic.luigi.i18n().getTranslation(e.buttonConfirm || "luigi.button.confirm")
11374
11398
  };
11375
11399
  }
11376
- rc.luigi.getEngine()._connector?.renderConfirmationModal(e, {
11400
+ ic.luigi.getEngine()._connector?.renderConfirmationModal(e, {
11377
11401
  confirm() {
11378
11402
  t.notifyConfirmationModalClosed(!0);
11379
11403
  },
@@ -11383,28 +11407,28 @@ var tc = {
11383
11407
  });
11384
11408
  },
11385
11409
  handleDirtyStatusRequest: (e, t) => {
11386
- if (!rc.luigi) throw Error("Luigi is not initialized.");
11387
- nc.updateDirtyStatus(e, t);
11410
+ if (!ic.luigi) throw Error("Luigi is not initialized.");
11411
+ rc.updateDirtyStatus(e, t);
11388
11412
  }
11389
- }, ic = class {
11413
+ }, ac = class {
11390
11414
  static hasLocaleChangePermission(e) {
11391
11415
  return e?.clientPermissions?.changeCurrentLocale ? !0 : (console.error("Current locale change declined from client, as client permission \"changeCurrentLocale\" is not set for this view."), !1);
11392
11416
  }
11393
11417
  };
11394
11418
  //#endregion
11395
11419
  //#region src/modules/communicaton-module.ts
11396
- function ac(e, t, n) {
11420
+ function oc(e, t, n) {
11397
11421
  let r = n.getConfigValue("navigation.viewGroupSettings") || {};
11398
11422
  r[e] || (r[e] = {}), r[e]._liveCustomData = t, n.configChanged("navigation.viewgroupdata");
11399
11423
  }
11400
- var oc = {
11424
+ var sc = {
11401
11425
  luigi: {},
11402
11426
  init: (e) => {
11403
- oc.luigi = e;
11427
+ sc.luigi = e;
11404
11428
  },
11405
11429
  addListeners: (e, t) => {
11406
11430
  e.addEventListener(V.INITIALIZED, (t) => {
11407
- rc.luigi?.ux().hideLoadingIndicator(e.parentNode);
11431
+ ic.luigi?.ux().hideLoadingIndicator(e.parentNode);
11408
11432
  let n = W.get(bi);
11409
11433
  n.viewGroupLoaded(e), !e._luigiPreloading && e.style.display !== "none" && n.preload();
11410
11434
  }), e.addEventListener(V.NAVIGATION_COMPLETED_REPORT, () => {
@@ -11434,26 +11458,26 @@ var oc = {
11434
11458
  let n = e.payload;
11435
11459
  t.navigation().runTimeErrorHandler(n?.data?.errorObj || {});
11436
11460
  }), e.addEventListener(V.ALERT_REQUEST, (t) => {
11437
- rc.processAlert(t.payload, !0, e);
11461
+ ic.processAlert(t.payload, !0, e);
11438
11462
  }), e.addEventListener(V.SHOW_CONFIRMATION_MODAL_REQUEST, (t) => {
11439
- rc.handleConfirmationModalRequest(t.payload, e);
11463
+ ic.handleConfirmationModalRequest(t.payload, e);
11440
11464
  }), e.addEventListener(V.SET_DOCUMENT_TITLE_REQUEST, (e) => {
11441
11465
  let t = e.detail;
11442
- oc.luigi.getEngine()._connector?.setDocumentTitle(t.title);
11466
+ sc.luigi.getEngine()._connector?.setDocumentTitle(t.title);
11443
11467
  }), e.addEventListener(V.SHOW_LOADING_INDICATOR_REQUEST, () => {
11444
- oc.luigi.getEngine()._connector?.showLoadingIndicator(e.parentNode);
11468
+ sc.luigi.getEngine()._connector?.showLoadingIndicator(e.parentNode);
11445
11469
  }), e.addEventListener(V.HIDE_LOADING_INDICATOR_REQUEST, () => {
11446
- oc.luigi.getEngine()._connector?.hideLoadingIndicator(e.parentNode);
11470
+ sc.luigi.getEngine()._connector?.hideLoadingIndicator(e.parentNode);
11447
11471
  }), e.addEventListener(V.ADD_BACKDROP_REQUEST, () => {
11448
- oc.luigi.getEngine()._connector?.addBackdrop();
11472
+ sc.luigi.getEngine()._connector?.addBackdrop();
11449
11473
  }), e.addEventListener(V.REMOVE_BACKDROP_REQUEST, () => {
11450
- oc.luigi.getEngine()._connector?.removeBackdrop();
11474
+ sc.luigi.getEngine()._connector?.removeBackdrop();
11451
11475
  }), e.addEventListener(V.SET_ANCHOR_LINK_REQUEST, (n) => {
11452
11476
  let r = n?.payload || "";
11453
11477
  e.anchor = r, e.updateContext(e.context || {}), t.routing().setAnchor(r);
11454
11478
  }), e.addEventListener(V.SET_DIRTY_STATUS_REQUEST, (t) => {
11455
11479
  let n = t.payload;
11456
- rc.handleDirtyStatusRequest(n?.dirty ?? !1, e);
11480
+ ic.handleDirtyStatusRequest(n?.dirty ?? !1, e);
11457
11481
  }), e.addEventListener(V.ADD_NODE_PARAMS_REQUEST, (e) => {
11458
11482
  let n = e.payload;
11459
11483
  t.routing().addNodeParams(n.data, n.keepBrowserHistory);
@@ -11463,15 +11487,15 @@ var oc = {
11463
11487
  }), e.addEventListener(V.OPEN_USER_SETTINGS_REQUEST, () => {
11464
11488
  t.ux().openUserSettings();
11465
11489
  }), e.addEventListener(V.CLOSE_USER_SETTINGS_REQUEST, () => {
11466
- oc.luigi.getEngine()._connector?.closeUserSettings();
11490
+ sc.luigi.getEngine()._connector?.closeUserSettings();
11467
11491
  }), e.addEventListener(V.ADD_SEARCH_PARAMS_REQUEST, (e) => {
11468
11492
  let n = e.detail;
11469
- tc.addSearchParamsFromClient(n.data, n.keepBrowserHistory, n.preventLuigiConfigUpdate, t);
11493
+ nc.addSearchParamsFromClient(n.data, n.keepBrowserHistory, n.preventLuigiConfigUpdate, t);
11470
11494
  }), e.addEventListener(V.UPDATE_MODAL_SETTINGS_REQUEST, (e) => {
11471
11495
  let n = e.payload;
11472
11496
  G.updateModalSettings(n.updatedModalSettings, n.addHistoryEntry, t);
11473
11497
  }), e.addEventListener(V.SET_CURRENT_LOCALE_REQUEST, (n) => {
11474
- if (!ic.hasLocaleChangePermission(e)) return;
11498
+ if (!ac.hasLocaleChangePermission(e)) return;
11475
11499
  let r = n.detail?.data?.data?.currentLocale;
11476
11500
  r && t.i18n().setCurrentLocale(r);
11477
11501
  }), e.addEventListener(V.GET_CURRENT_ROUTE_REQUEST, (e) => {
@@ -11481,26 +11505,26 @@ var oc = {
11481
11505
  }).catch(() => e.callback(""));
11482
11506
  }), e.addEventListener(V.SET_VIEW_GROUP_DATA_REQUEST, (n) => {
11483
11507
  let r = e.viewGroup;
11484
- r && ac(r, n.detail, t);
11508
+ r && oc(r, n.detail, t);
11485
11509
  });
11486
11510
  }
11487
11511
  };
11488
11512
  //#endregion
11489
11513
  //#region src/main.ts
11490
- window.Luigi = new Gi(new class {
11514
+ window.Luigi = new Ki(new class {
11491
11515
  config;
11492
11516
  _connector;
11493
11517
  _app;
11494
11518
  _ui = G;
11495
- _comm = oc;
11496
- _ux = rc;
11497
- _routing = tc;
11519
+ _comm = sc;
11520
+ _ux = ic;
11521
+ _routing = nc;
11498
11522
  bootstrap(e) {
11499
- this._app = Xs(ec, { target: document.body }), this._connector = e;
11523
+ this._app = Zs(tc, { target: document.body }), this._connector = e;
11500
11524
  }
11501
11525
  init() {
11502
11526
  let e = window.Luigi;
11503
- W.register(gi, () => new gi(e)), W.register(Ii, () => new Ii(e)), W.register(yi, () => new yi(e)), W.register(vi, () => new vi()), W.register(Si, () => new Si(e)), W.register(Ci, () => new Ci()), W.register(_i, () => new _i(e)), W.register(bi, () => new bi(e)), e.theming()._init(), G.init(e), tc.init(e), oc.init(e), rc.init(e);
11527
+ W.register(gi, () => new gi(e)), W.register(Li, () => new Li(e)), W.register(yi, () => new yi(e)), W.register(vi, () => new vi()), W.register(Si, () => new Si(e)), W.register(Ci, () => new Ci()), W.register(_i, () => new _i(e)), W.register(bi, () => new bi(e)), e.theming()._init(), G.init(e), nc.init(e), sc.init(e), ic.init(e);
11504
11528
  }
11505
11529
  }());
11506
11530
  //#endregion