@expofp/floorplan 3.46.1 → 3.47.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (115) hide show
  1. package/dist/browser/{Button-OKcMiyWO.js → Button-DyqVe4xL.js} +5 -5
  2. package/dist/browser/{CookieConsent-6ulFPlqA.js → CookieConsent-Dne5UXwi.js} +7 -7
  3. package/dist/browser/{Debug-BxskUF4D.js → Debug-CSY6FmRs.js} +7 -7
  4. package/dist/browser/{DebugTools-C1is5dXX.js → DebugTools-CSGF0Uqi.js} +6 -6
  5. package/dist/browser/{Demo-Dx8IKR7Q.js → Demo-AI-22qbf.js} +9 -9
  6. package/dist/browser/{Free-BaIZnChc.js → Free-BmItczwV.js} +10 -10
  7. package/dist/browser/{GalleryContainer-BXomiMwG.js → GalleryContainer-Do5QXu8h.js} +11 -11
  8. package/dist/browser/{GpsLoader-Ccwug0hj.js → GpsLoader-D6boL0AQ.js} +13 -13
  9. package/dist/browser/{KioskStore-D_Ejv_K0.js → KioskStore-DodjzUdk.js} +16 -16
  10. package/dist/browser/{LayerStore-DKg7vekG.js → LayerStore-DCg-juRT.js} +44 -44
  11. package/dist/browser/{MaplibreAdapter-Dh_ASXEG.js → MaplibreAdapter-D838jbrB.js} +17 -17
  12. package/dist/browser/{ModalContainer-DXN2lQG-.js → ModalContainer-DAh3OT88.js} +10 -10
  13. package/dist/browser/{PermissionNotice-CljwxHGD.js → PermissionNotice-D9dFiy8Z.js} +6 -6
  14. package/dist/browser/{RouteStore-4r6xqu2L.js → RouteStore-B82dztUW.js} +24 -24
  15. package/dist/browser/{SetKioskMode-3YCa73LZ.js → SetKioskMode-DcQFm_UG.js} +11 -11
  16. package/dist/browser/{ShowKiosk-CmozIEWm.js → ShowKiosk-BnuT9vM-.js} +11 -11
  17. package/dist/browser/{UIState-DOVwNW-h.js → UIState-Dd6fvko0.js} +12 -12
  18. package/dist/browser/{ViewerMenuPanel-ukfCjPlv.js → ViewerMenuPanel-C3B3OmlN.js} +10 -10
  19. package/dist/browser/{add-debug-secret-listener-DiW9122w.js → add-debug-secret-listener-BJu3pH2x.js} +1 -1
  20. package/dist/browser/{adopt-global-settings-C8NxCufU.js → adopt-global-settings-BerG23m2.js} +9 -9
  21. package/dist/browser/{boolean-editor-DAUiSxaZ.js → boolean-editor-C1i1ID8g.js} +9 -9
  22. package/dist/browser/{bootIntercom-Cxu_tGyN.js → bootIntercom-C3tqD4Ct.js} +2 -2
  23. package/dist/browser/bundle.json +87 -87
  24. package/dist/browser/{camera-events-BzkvmmVT.js → camera-events-DzSywgw0.js} +1 -1
  25. package/dist/browser/{classnames-ht7j544T.js → classnames-CQMYVTW5.js} +2 -2
  26. package/dist/browser/{client-cb0OfXbM.js → client-DbQnuxsE.js} +5 -5
  27. package/dist/browser/{components-D1hWFJkH.js → components-CzNKFauU.js} +2212 -2161
  28. package/dist/browser/{create-live-plan-BYQmwyu_.js → create-live-plan-D17jzmnD.js} +482 -416
  29. package/dist/browser/{debug-context-D-Az5hsc.js → debug-context-CLE9u3W1.js} +6 -6
  30. package/dist/browser/{debug-overlay-Cx_TzAOa.js → debug-overlay-CqyQd6Tu.js} +10 -10
  31. package/dist/browser/{debug-ui-BWGZ29bU.js → debug-ui-CopIbPwZ.js} +6 -6
  32. package/dist/browser/{dist-CxdNXcdm.js → dist-CXSdtHNF.js} +6 -6
  33. package/dist/browser/{dist-DI0TDNHP.js → dist-DrhAFaXl.js} +5 -5
  34. package/dist/browser/{dist-TE6VoTiX.js → dist-mSjAoqZa.js} +3 -3
  35. package/dist/browser/{efp-debug-init-pyajqRUx.js → efp-debug-init-D3gNE8Zq.js} +3 -3
  36. package/dist/browser/{enum-editor-CtGMxTY9.js → enum-editor-DfEZj9xj.js} +4 -4
  37. package/dist/browser/{es5-CaaQfpSO.js → es5-CRZbJ3RK.js} +2 -2
  38. package/dist/browser/{event-head-BM-eM_Bb.js → event-head-C5Pqy8aE.js} +1 -1
  39. package/dist/browser/{event-not-found-B65hzXQP.js → event-not-found-y-baKtlx.js} +3 -3
  40. package/dist/browser/{event-scoped-cache-Dy_k6CT0.js → event-scoped-cache-CUHa0QyF.js} +3 -3
  41. package/dist/browser/{expofpUrl-CtHaWZhI.js → expofpUrl-CUIqO5kL.js} +1 -1
  42. package/dist/browser/{exports-B117IH-s.js → exports-CnYQMV4a.js} +1 -1
  43. package/dist/browser/{favicon-BZ8MgZoI.js → favicon-DtPw8IL3.js} +1 -1
  44. package/dist/browser/{fetch-retry.umd-CZoakvnh.js → fetch-retry.umd-DjnZ3Ut9.js} +2 -2
  45. package/dist/browser/{flex-DqZnQXWR.js → flex-C5mQXGq5.js} +5 -5
  46. package/dist/browser/{floorplan.loader-Dj1p_2Uj.js → floorplan.loader-DEaS-fgT.js} +12 -12
  47. package/dist/browser/{floorplan.ready-DV6RYY5y.js → floorplan.ready-BOnFLVHj.js} +70 -70
  48. package/dist/browser/{framing-rect-BPQPxCHJ.js → framing-rect-BIpsCqTB.js} +12 -12
  49. package/dist/browser/{freeBanner-CV-7PVgM.js → freeBanner-BQ-1hI0V.js} +2 -2
  50. package/dist/browser/{fuse-o5_aSzm4.js → fuse-jVBfzHic.js} +2 -2
  51. package/dist/browser/{i18n-DT4SjeA3.js → i18n-DlquqKCP.js} +333 -318
  52. package/dist/browser/index.js +33 -33
  53. package/dist/browser/{index.module-AwGISzVZ.js → index.module-CN0EtZcO.js} +4 -4
  54. package/dist/browser/{init-ui-_JZLWvuF.js → init-ui-BQ7d5hKB.js} +9 -9
  55. package/dist/browser/{integrateKiosk-LP784XEO.js → integrateKiosk-CumGPvbc.js} +5 -5
  56. package/dist/browser/{is-debug-sgFB2_R1.js → is-debug-IkNSAGo8.js} +4 -4
  57. package/dist/browser/{is-own-domain-Cgslc30X.js → is-own-domain-yrTLx04R.js} +1 -1
  58. package/dist/browser/{is-webview-Cbjly4fl.js → is-webview-DA6FLdme.js} +1 -1
  59. package/dist/browser/{jsx-runtime-DJq9zytl.js → jsx-runtime-BzLvm2y2.js} +2 -2
  60. package/dist/browser/{kiosk-mode-D0Muk9LN.js → kiosk-mode-zD8K_fUT.js} +3 -3
  61. package/dist/browser/{kiosk-record-QLKP2NTE.js → kiosk-record-Ckxa0L0B.js} +1 -1
  62. package/dist/browser/{kioskApi-Cm0aHEDq.js → kioskApi-CG3QGuUx.js} +7 -7
  63. package/dist/browser/{ktx2-D9vr5u5B.js → ktx2-Dx_h97CR.js} +2 -2
  64. package/dist/browser/{lib-Cu-YSKSO.js → lib-5KOc2jVl.js} +3 -3
  65. package/dist/browser/{loadImage-DC3BioQw.js → loadImage-iqS2KHgN.js} +1 -1
  66. package/dist/browser/{logDeviceInfo-U-dghNEE.js → logDeviceInfo-DhvfxT2K.js} +9 -9
  67. package/dist/browser/{mobx-B3ugy_Uo.js → mobx-CUFHrL57.js} +4 -4
  68. package/dist/browser/{mobx.module-C9pJfT4z.js → mobx.module-BTnTbXnp.js} +1 -1
  69. package/dist/browser/{optional-boolean-editor-B6peoFdP.js → optional-boolean-editor-C3k-DXeF.js} +3 -3
  70. package/dist/browser/{optional-enum-editor-DdGc6bGo.js → optional-enum-editor-CeY1nCnF.js} +4 -4
  71. package/dist/browser/{optional-string-editor-D-mZ5TcA.js → optional-string-editor-DrVHjvsL.js} +4 -4
  72. package/dist/browser/{particles.min-r05NeIIO.js → particles.min-BPS1Hdpf.js} +2 -2
  73. package/dist/browser/{react-CAiPe_Qk.js → react-XuvSZP7j.js} +2 -2
  74. package/dist/browser/{react-dom-B-n3e4uH.js → react-dom-Cg1Pcvni.js} +3 -3
  75. package/dist/browser/{rolldown-runtime-BkAGFH-3.js → rolldown-runtime-5rOLGCTp.js} +1 -1
  76. package/dist/browser/{scene-DBB57-1M.js → scene-CeKqMicD.js} +3 -3
  77. package/dist/browser/{scheduler-Btu7810I.js → scheduler-D5sEY0Dn.js} +2 -2
  78. package/dist/browser/{select-1x7gpaD6.js → select-Cbv7ufJV.js} +10 -10
  79. package/dist/browser/{settings-Clb327Gp.js → settings-DgySPhLO.js} +2 -2
  80. package/dist/browser/{settings-item-9ehuHN7w.js → settings-item-e3YLYS4G.js} +6 -6
  81. package/dist/browser/{store-B618He5O.js → store-DTvNQcN7.js} +2 -2
  82. package/dist/browser/{string-editor-zH6d37oA.js → string-editor-Dbv6xI9s.js} +4 -4
  83. package/dist/browser/{text-field-hTc5zeaz.js → text-field-Cg5awwlh.js} +5 -5
  84. package/dist/browser/{theme-rkMDBBl_.js → theme-BRoMMdQq.js} +8 -8
  85. package/dist/browser/{three.core-CoaBWF0W.js → three.core-DvpRLNmt.js} +1 -1
  86. package/dist/browser/{ui-d7u7XbmX.js → ui-DNMlY_VB.js} +8 -8
  87. package/dist/browser/{useRenderTarget-Dsf3ugHo.js → useRenderTarget-C__MnkX7.js} +4 -4
  88. package/dist/browser/{viewport-BDI0afn8.js → viewport-DBuFXrrj.js} +3 -3
  89. package/dist/browser/{wayfinding-BkpHRhUO.js → wayfinding-BUQns13Y.js} +5 -5
  90. package/dist/esm/components/BaseFilterModal.d.ts +4 -2
  91. package/dist/esm/components/BaseFilterModal.js +1 -1
  92. package/dist/esm/components/CategoryFilterModal.js +1 -1
  93. package/dist/esm/components/SearchButtons/SearchButton.d.ts +1 -0
  94. package/dist/esm/components/SearchButtons/SearchButton.js +1 -1
  95. package/dist/esm/services/URLFilterManager.d.ts +8 -0
  96. package/dist/esm/services/URLFilterManager.js +1 -1
  97. package/dist/esm/store/CategoryFilterStore.d.ts +33 -1
  98. package/dist/esm/store/CategoryFilterStore.js +1 -1
  99. package/dist/esm/store/SearchStore.js +1 -1
  100. package/dist/esm/store/providers/SearchShortcutProvider.js +1 -1
  101. package/dist/esm/store/search-buttons/SearchButtonsActions.d.ts +7 -0
  102. package/dist/esm/store/search-buttons/SearchButtonsActions.js +1 -1
  103. package/dist/esm/store/search-buttons/SearchButtonsFactory.d.ts +2 -2
  104. package/dist/esm/store/search-buttons/SearchButtonsFactory.js +1 -1
  105. package/dist/esm/store/search-buttons/SearchButtonsFilters.d.ts +2 -2
  106. package/dist/esm/store/search-buttons/SearchButtonsFilters.js +1 -1
  107. package/dist/esm/store/search-buttons/constants.d.ts +0 -3
  108. package/dist/esm/store/search-buttons/constants.js +1 -1
  109. package/dist/esm/store/search-buttons/utils.d.ts +23 -2
  110. package/dist/esm/store/search-buttons/utils.js +1 -1
  111. package/dist/esm/store/types.d.ts +5 -0
  112. package/dist/esm/test/store-harness.js +1 -1
  113. package/dist/esm/utils/filter-groups.d.ts +9 -0
  114. package/dist/esm/utils/filter-groups.js +1 -0
  115. package/package.json +10 -10
@@ -1,15 +1,15 @@
1
1
  (function() {
2
2
  try {
3
3
  var e = typeof window < "u" ? window : typeof global < "u" ? global : typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : {};
4
- e.SENTRY_RELEASE = { id: "3.46.1" };
4
+ e.SENTRY_RELEASE = { id: "3.47.0" };
5
5
  var t = new e.Error().stack;
6
- t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "64666864-f759-4eab-917c-0a6da5360ba0", e._sentryDebugIdIdentifier = "sentry-dbid-64666864-f759-4eab-917c-0a6da5360ba0");
6
+ t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "32ee357c-c8e7-4b3c-a922-d6b538ae9316", e._sentryDebugIdIdentifier = "sentry-dbid-32ee357c-c8e7-4b3c-a922-d6b538ae9316");
7
7
  } catch {}
8
8
  })();
9
- import { r as e, t } from "./rolldown-runtime-BkAGFH-3.js";
10
- import { s as n } from "./efp-debug-init-pyajqRUx.js";
11
- import { t as r } from "./es5-CaaQfpSO.js";
12
- import { c as i } from "./mobx.module-C9pJfT4z.js";
9
+ import { r as e, t } from "./rolldown-runtime-5rOLGCTp.js";
10
+ import { s as n } from "./efp-debug-init-D3gNE8Zq.js";
11
+ import { t as r } from "./es5-CRZbJ3RK.js";
12
+ import { c as i } from "./mobx.module-BTnTbXnp.js";
13
13
  //#region ../config/src/lib/config-store.ts
14
14
  var a;
15
15
  function o(e) {
@@ -3810,7 +3810,8 @@ var rs = W({
3810
3810
  categories: H(R()).optional(),
3811
3811
  poiType: R().optional(),
3812
3812
  poiTypes: H(R()).optional(),
3813
- exhibitors: V().optional()
3813
+ exhibitors: V().optional(),
3814
+ searchButton: R().optional()
3814
3815
  }), ms = W({
3815
3816
  enableExperimentalMaplibre: V().optional(),
3816
3817
  enableExperimentalOutdoorMarkers: V().optional(),
@@ -4494,7 +4495,7 @@ function jc(e) {
4494
4495
  //#endregion
4495
4496
  //#region ../utils/src/lib/fetch-with-retry.ts
4496
4497
  var Mc, Nc = async function(...t) {
4497
- return Mc || (Mc = typeof window < "u" && typeof document < "u" ? window.fetch.bind(window) : (await import("./fetch-retry.umd-CZoakvnh.js").then((t) => /* @__PURE__ */ e(t.default, 1))).default(globalThis.fetch)), Mc(...t);
4498
+ return Mc || (Mc = typeof window < "u" && typeof document < "u" ? window.fetch.bind(window) : (await import("./fetch-retry.umd-DjnZ3Ut9.js").then((t) => /* @__PURE__ */ e(t.default, 1))).default(globalThis.fetch)), Mc(...t);
4498
4499
  };
4499
4500
  //#endregion
4500
4501
  //#region ../utils/src/lib/import-node-module.ts
@@ -4629,13 +4630,27 @@ var Qc = /* @__PURE__ */ new Set([...Object.keys(ac.shape), ...Bs.options.map((e
4629
4630
  "kiosk_z"
4630
4631
  ]), al = /* @__PURE__ */ new Set(["title"]);
4631
4632
  function ol(e) {
4632
- let t = Zc(e.startsWith("?") ? e.slice(1) : e), n = new URLSearchParams(t);
4633
+ let t = [], n = !1;
4634
+ for (let r of e.split("&")) {
4635
+ if (r && dl(Zc(r))) {
4636
+ n = !0;
4637
+ continue;
4638
+ }
4639
+ t.push(r);
4640
+ }
4633
4641
  return {
4634
- primary: sl(fl(t), n, dl(t)),
4635
- oneShots: cl(n)
4642
+ legacy: t.join("&"),
4643
+ owned: n
4636
4644
  };
4637
4645
  }
4638
- function sl(e, t, n) {
4646
+ function sl(e) {
4647
+ let t = e.startsWith("?") ? e.slice(1) : e, n = Zc(t), r = new URLSearchParams(n), { legacy: i, owned: a } = ol(t), o = i === t ? n : Zc(i);
4648
+ return {
4649
+ primary: cl(pl(o), r, a || fl(o)),
4650
+ oneShots: ll(r)
4651
+ };
4652
+ }
4653
+ function cl(e, t, n) {
4639
4654
  if (t.has("kiosk")) {
4640
4655
  let e = t.get("kiosk");
4641
4656
  return {
@@ -4708,7 +4723,7 @@ function sl(e, t, n) {
4708
4723
  slug: e
4709
4724
  };
4710
4725
  }
4711
- function cl(e) {
4726
+ function ll(e) {
4712
4727
  let t = [];
4713
4728
  e.get("heatmap") === "true" && t.push({
4714
4729
  type: "heatmap",
@@ -4754,51 +4769,51 @@ function cl(e) {
4754
4769
  }
4755
4770
  return t;
4756
4771
  }
4757
- function ll(e) {
4772
+ function ul(e) {
4758
4773
  return tl.has(e) ? !0 : el.has(e.split("=")[0]) && e.includes("=");
4759
4774
  }
4760
- function ul(e) {
4775
+ function dl(e) {
4761
4776
  let t = e.split("=")[0];
4762
4777
  if (t === "heatmap") return !1;
4763
4778
  let n = t.split("[")[0];
4764
4779
  return Qc.has(n) || nl.has(n);
4765
4780
  }
4766
- function dl(e) {
4767
- return e.split("&").some((e) => !!e && ul(e));
4768
- }
4769
4781
  function fl(e) {
4782
+ return e.split("&").some((e) => !!e && dl(e));
4783
+ }
4784
+ function pl(e) {
4770
4785
  return e.split("&").filter((e) => {
4771
- if (!e || ll(e)) return !1;
4786
+ if (!e || ul(e)) return !1;
4772
4787
  let t = e.split("=")[0].split("[")[0];
4773
- return (rl.has(t) || il.has(t) || al.has(t)) && e.includes("=") || ul(e) ? !1 : !$c.has(t);
4788
+ return (rl.has(t) || il.has(t) || al.has(t)) && e.includes("=") || dl(e) ? !1 : !$c.has(t);
4774
4789
  }).join("&");
4775
4790
  }
4776
- function pl(e) {
4791
+ function ml(e) {
4777
4792
  let t = e.startsWith("?") ? e.slice(1) : e;
4778
4793
  if (!t) return {
4779
4794
  search: e,
4780
4795
  platform: ""
4781
4796
  };
4782
- let n = t.split("&"), r = n.filter(ml);
4797
+ let n = t.split("&"), r = n.filter(hl);
4783
4798
  if (!r.length) return {
4784
4799
  search: e,
4785
4800
  platform: ""
4786
4801
  };
4787
- let i = n.filter((e) => !ml(e));
4802
+ let i = n.filter((e) => !hl(e));
4788
4803
  return {
4789
4804
  search: i.length ? "?" + i.join("&") : "",
4790
4805
  platform: r.join("&")
4791
4806
  };
4792
4807
  }
4793
- function ml(e) {
4808
+ function hl(e) {
4794
4809
  let t = e.indexOf("=");
4795
4810
  return t > 0 && rl.has(e.slice(0, t));
4796
4811
  }
4797
- function hl(e) {
4798
- let t = gl(e);
4812
+ function gl(e) {
4813
+ let t = _l(e);
4799
4814
  return t ? "?" + encodeURIComponent(t) : "";
4800
4815
  }
4801
- function gl(e) {
4816
+ function _l(e) {
4802
4817
  switch (e.type) {
4803
4818
  case "none": return "";
4804
4819
  case "slug": return e.slug;
@@ -4817,35 +4832,35 @@ function gl(e) {
4817
4832
  }
4818
4833
  //#endregion
4819
4834
  //#region ../resolve/src/resolve.ts
4820
- var _l = /* @__PURE__ */ new Map(), vl = /* @__PURE__ */ new Map();
4835
+ var vl = /* @__PURE__ */ new Map(), yl = /* @__PURE__ */ new Map();
4821
4836
  async function J(e, t) {
4822
4837
  var n;
4823
- if (!xl(e)) return e;
4824
- let r = e.$ref, i = await (Sl(r) ? Cl(r, t) : Jc(r, {
4825
- fetchCache: (n = t == null ? void 0 : t.refCache) == null ? _l : n,
4838
+ if (!Sl(e)) return e;
4839
+ let r = e.$ref, i = await (Cl(r) ? wl(r, t) : Jc(r, {
4840
+ fetchCache: (n = t == null ? void 0 : t.refCache) == null ? vl : n,
4826
4841
  forceFetch: t == null ? void 0 : t.forceFetch,
4827
4842
  signal: t == null ? void 0 : t.signal,
4828
4843
  importCallback: t == null ? void 0 : t.importCallback
4829
4844
  })), a = e.process ? await e.process(i, r) : i;
4830
- return jc(a), vl.set(r, a), a;
4831
- }
4832
- function yl(e) {
4833
- if (!xl(e)) return e;
4834
- if (!vl.has(e.$ref)) throw Error(`resolve: $ref not resolved yet: ${e.$ref}`);
4835
- return vl.get(e.$ref);
4845
+ return jc(a), yl.set(r, a), a;
4836
4846
  }
4837
4847
  function bl(e) {
4838
- return !xl(e) || vl.has(e.$ref);
4848
+ if (!Sl(e)) return e;
4849
+ if (!yl.has(e.$ref)) throw Error(`resolve: $ref not resolved yet: ${e.$ref}`);
4850
+ return yl.get(e.$ref);
4839
4851
  }
4840
4852
  function xl(e) {
4841
- return typeof e == "object" && !!e && "$ref" in e && typeof e.$ref == "string";
4853
+ return !Sl(e) || yl.has(e.$ref);
4842
4854
  }
4843
4855
  function Sl(e) {
4856
+ return typeof e == "object" && !!e && "$ref" in e && typeof e.$ref == "string";
4857
+ }
4858
+ function Cl(e) {
4844
4859
  return /\.js(\?|#|$)/i.test(e);
4845
4860
  }
4846
- function Cl(e, t) {
4861
+ function wl(e, t) {
4847
4862
  var n;
4848
- let r = (n = t == null ? void 0 : t.refCache) == null ? _l : n, i = "__loadJs__" + e, a = t != null && t.forceFetch ? void 0 : r.get(i);
4863
+ let r = (n = t == null ? void 0 : t.refCache) == null ? vl : n, i = "__loadJs__" + e, a = t != null && t.forceFetch ? void 0 : r.get(i);
4849
4864
  if (!a) {
4850
4865
  let n = Vc(e, { signal: t == null ? void 0 : t.signal });
4851
4866
  r.set(i, n), n.catch(() => {
@@ -4859,7 +4874,7 @@ function Cl(e, t) {
4859
4874
  }
4860
4875
  //#endregion
4861
4876
  //#region ../config/src/lib/normalize-fp-svg.ts
4862
- function wl(e, t) {
4877
+ function Tl(e, t) {
4863
4878
  if (e.__fp === void 0) {
4864
4879
  let n = e[`__fp${t}`];
4865
4880
  typeof n == "string" && (e.__fp = n);
@@ -4871,103 +4886,103 @@ function wl(e, t) {
4871
4886
  }
4872
4887
  //#endregion
4873
4888
  //#region ../config/src/lib/resource-urls.ts
4874
- function Tl(e, t) {
4875
- return e === "" || El(e) ? e : `${t.replace(/\/+$/, "")}/${e}`;
4889
+ function El(e, t) {
4890
+ return e === "" || Dl(e) ? e : `${t.replace(/\/+$/, "")}/${e}`;
4876
4891
  }
4877
- function El(e) {
4892
+ function Dl(e) {
4878
4893
  return e.startsWith("/") || /^[a-z][a-z0-9+.-]*:/i.test(e);
4879
4894
  }
4880
- function Dl(e) {
4895
+ function Ol(e) {
4881
4896
  let t = e.split(/[?#]/, 1)[0];
4882
4897
  return t.slice(0, t.lastIndexOf("/") + 1);
4883
4898
  }
4884
- function Ol(e, t) {
4899
+ function kl(e, t) {
4885
4900
  let n = [];
4886
4901
  e.lastIndex = 0;
4887
4902
  for (let r = e.exec(t); r; r = e.exec(t)) n.push(r), r[0] === "" && e.lastIndex++;
4888
4903
  return n;
4889
4904
  }
4890
- var kl = /<image\b[^>]*>/g, Al = /(\b(?:(?:xlink:)?href|data-model-3d)\s*=\s*)(?:"([^"]*)"|'([^']*)')/g;
4891
- function jl(e) {
4905
+ var Al = /<image\b[^>]*>/g, jl = /(\b(?:(?:xlink:)?href|data-model-3d)\s*=\s*)(?:"([^"]*)"|'([^']*)')/g;
4906
+ function Ml(e) {
4892
4907
  return !!e && !e.startsWith("#");
4893
4908
  }
4894
- function Ml(e) {
4909
+ function Nl(e) {
4895
4910
  var t;
4896
4911
  let n = /* @__PURE__ */ new Set();
4897
4912
  if (!e.includes("<image")) return [];
4898
- for (let i of (t = e.match(kl)) == null ? [] : t) for (let e of Ol(Al, i)) {
4913
+ for (let i of (t = e.match(Al)) == null ? [] : t) for (let e of kl(jl, i)) {
4899
4914
  var r;
4900
4915
  let t = (r = e[2]) == null ? e[3] : r;
4901
- jl(t) && n.add(t);
4916
+ Ml(t) && n.add(t);
4902
4917
  }
4903
4918
  return [...n];
4904
4919
  }
4905
- function Nl(e, t) {
4906
- return e.includes("<image") ? e.replace(kl, (e) => e.replace(Al, (e, n, r, i) => {
4920
+ function Pl(e, t) {
4921
+ return e.includes("<image") ? e.replace(Al, (e) => e.replace(jl, (e, n, r, i) => {
4907
4922
  var a;
4908
4923
  let o = (a = r == null ? i : r) == null ? "" : a;
4909
- if (!jl(o)) return e;
4924
+ if (!Ml(o)) return e;
4910
4925
  let s = r === void 0 ? "'" : "\"";
4911
4926
  return `${n}${s}${t(o)}${s}`;
4912
4927
  })) : e;
4913
4928
  }
4914
- var Pl = /url\(\s*(['"]?)(.*?)\1\s*\)/g;
4915
- function Fl(e) {
4929
+ var Fl = /url\(\s*(['"]?)(.*?)\1\s*\)/g;
4930
+ function Il(e) {
4916
4931
  let t = /* @__PURE__ */ new Set();
4917
- for (let n of Ol(Pl, e)) {
4932
+ for (let n of kl(Fl, e)) {
4918
4933
  let e = n[2];
4919
4934
  e && !e.startsWith("data:") && t.add(e);
4920
4935
  }
4921
4936
  return [...t];
4922
4937
  }
4923
- function Il(e, t) {
4924
- return e.replace(Pl, (e, n, r) => !r || r.startsWith("data:") ? e : `url(${n}${t(r)}${n})`);
4938
+ function Ll(e, t) {
4939
+ return e.replace(Fl, (e, n, r) => !r || r.startsWith("data:") ? e : `url(${n}${t(r)}${n})`);
4925
4940
  }
4926
- var Ll = /@import\s+(?:url\(\s*(['"]?)(.*?)\1\s*\)|(["'])(.*?)\3)\s*([^;]*);/gi;
4927
- async function Rl(e, t, n, r = []) {
4928
- let i = /* @__PURE__ */ new Set(), a = [...e.matchAll(Ll)], o = await Promise.all(a.map(async (e) => {
4941
+ var Rl = /@import\s+(?:url\(\s*(['"]?)(.*?)\1\s*\)|(["'])(.*?)\3)\s*([^;]*);/gi;
4942
+ async function zl(e, t, n, r = []) {
4943
+ let i = /* @__PURE__ */ new Set(), a = [...e.matchAll(Rl)], o = await Promise.all(a.map(async (e) => {
4929
4944
  var a, o;
4930
- let s = (a = (o = e[2]) == null ? e[4] : o) == null ? "" : a, c = e[5].trim(), l = Bl(s, n);
4945
+ let s = (a = (o = e[2]) == null ? e[4] : o) == null ? "" : a, c = e[5].trim(), l = Vl(s, n);
4931
4946
  if (!l || c) return console.warn(c ? `Keeping conditional CSS import remote: @import ${s} ${c}` : `Keeping unresolvable relative CSS import: @import ${s}`), i.add(s), e[0];
4932
4947
  if (r.includes(l)) throw Error(`CSS @import cycle: ${[...r, l].join(" -> ")}`);
4933
4948
  let u = await t(l);
4934
- if (!zl(u)) return console.warn(`Dropping non-stylesheet CSS @import (not parseable as CSS): @import ${s}`), "";
4935
- let d = await Rl(u, t, l, [...r, l]);
4949
+ if (!Bl(u)) return console.warn(`Dropping non-stylesheet CSS @import (not parseable as CSS): @import ${s}`), "";
4950
+ let d = await zl(u, t, l, [...r, l]);
4936
4951
  for (let e of d.external) {
4937
4952
  var f;
4938
- i.add(e), i.add((f = Bl(e, l)) == null ? e : f);
4953
+ i.add(e), i.add((f = Vl(e, l)) == null ? e : f);
4939
4954
  }
4940
- return Il(d.css, (e) => {
4955
+ return Ll(d.css, (e) => {
4941
4956
  var t;
4942
- return (t = Bl(e, l)) == null ? e : t;
4957
+ return (t = Vl(e, l)) == null ? e : t;
4943
4958
  });
4944
4959
  })), s = 0;
4945
4960
  return {
4946
- css: e.replace(Ll, () => o[s++]),
4961
+ css: e.replace(Rl, () => o[s++]),
4947
4962
  external: i
4948
4963
  };
4949
4964
  }
4950
- function zl(e) {
4965
+ function Bl(e) {
4951
4966
  return !e.includes("\0");
4952
4967
  }
4953
- function Bl(e, t) {
4968
+ function Vl(e, t) {
4954
4969
  if (e) try {
4955
4970
  return t ? new URL(e, t).href : new URL(e).href;
4956
4971
  } catch {
4957
4972
  return;
4958
4973
  }
4959
4974
  }
4960
- function Vl(e, t) {
4961
- let [n, r] = Hl(e, /[?#]/), i = n.lastIndexOf("/"), a = n.slice(0, i + 1), o = n.slice(i + 1), s = o.lastIndexOf(".");
4975
+ function Hl(e, t) {
4976
+ let [n, r] = Ul(e, /[?#]/), i = n.lastIndexOf("/"), a = n.slice(0, i + 1), o = n.slice(i + 1), s = o.lastIndexOf(".");
4962
4977
  return `${a}${s > 0 ? `${o.slice(0, s)}${t}${o.slice(s)}` : `${o}${t}`}${r}`;
4963
4978
  }
4964
- function Hl(e, t) {
4979
+ function Ul(e, t) {
4965
4980
  let n = e.search(t);
4966
4981
  return n === -1 ? [e, ""] : [e.slice(0, n), e.slice(n)];
4967
4982
  }
4968
4983
  //#endregion
4969
4984
  //#region ../config/src/lib/normalize-legacy-data.ts
4970
- var Ul = [
4985
+ var Wl = [
4971
4986
  2567,
4972
4987
  2704,
4973
4988
  2681,
@@ -4982,7 +4997,7 @@ var Ul = [
4982
4997
  2566,
4983
4998
  2736
4984
4999
  ];
4985
- function Wl(e, t) {
5000
+ function Gl(e, t) {
4986
5001
  var n, r;
4987
5002
  let i = e.expo, a = (n = e.booths) == null ? [] : n, o = (r = e.exhibitors) == null ? [] : r;
4988
5003
  if (e.booths = a, e.exhibitors = o, e.categories != null || (e.categories = []), e.free && (e.noFeatured = !0, e.expoFpAd = !0), e.trialExpiresAt) {
@@ -4992,12 +5007,12 @@ function Wl(e, t) {
4992
5007
  if (o.length > 0) for (let e of a) delete e.reserved;
4993
5008
  for (let e of o) typeof e.logo == "string" && (e.logo = e.logo ? {
4994
5009
  url: e.logo,
4995
- smallUrl: Vl(e.logo, "__small"),
4996
- tinyUrl: Vl(e.logo, "__tiny")
5010
+ smallUrl: Hl(e.logo, "__small"),
5011
+ tinyUrl: Hl(e.logo, "__tiny")
4997
5012
  } : { url: e.logo });
4998
- !e.logo && i === "expo" && (e.logo = Gl("../logo.svg", t)), e.logo || (e.logo = Gl(`../${i}-logo.png`, t)), !e.homeUrl && i === "jtrade19" && (e.homeUrl = "https://www.jtrade.co.uk/"), e.boothTerm || (e.boothTerm = "Booth"), e.exhibitorTermPlural || (e.exhibitorTermPlural = "Exhibitors"), i === "expo" && o.filter((e) => {
5013
+ !e.logo && i === "expo" && (e.logo = Kl("../logo.svg", t)), e.logo || (e.logo = Kl(`../${i}-logo.png`, t)), !e.homeUrl && i === "jtrade19" && (e.homeUrl = "https://www.jtrade.co.uk/"), e.boothTerm || (e.boothTerm = "Booth"), e.exhibitorTermPlural || (e.exhibitorTermPlural = "Exhibitors"), i === "expo" && o.filter((e) => {
4999
5014
  var t;
5000
- return ((t = e.logo) == null ? void 0 : t.url) && Ul.includes(e.id);
5015
+ return ((t = e.logo) == null ? void 0 : t.url) && Wl.includes(e.id);
5001
5016
  }).forEach((e) => e.advertise = !0);
5002
5017
  for (let e of a) {
5003
5018
  var s;
@@ -5009,39 +5024,39 @@ function Wl(e, t) {
5009
5024
  }
5010
5025
  e.noFeatured && o.forEach((e) => e.featured = !1);
5011
5026
  }
5012
- function Gl(e, t) {
5027
+ function Kl(e, t) {
5013
5028
  return t ? `${t.replace(/\/+$/, "")}/${e}` : e;
5014
5029
  }
5015
5030
  //#endregion
5016
5031
  //#region ../config/src/lib/rebooking.ts
5017
- var Kl = "rt", ql = "https://app.expofp.com/";
5018
- async function Jl(e, t) {
5032
+ var ql = "rt", Jl = "https://app.expofp.com/";
5033
+ async function Yl(e, t) {
5019
5034
  try {
5020
- let r = Yl(t);
5035
+ let r = Xl(t);
5021
5036
  if (!r) {
5022
5037
  e.isRebooking = !1;
5023
5038
  return;
5024
5039
  }
5025
- Xl(r);
5026
- let i = new URL("api/rebooking-data", ql);
5027
- i.searchParams.set(Kl, r), i.searchParams.set("expoKey", e.expo);
5040
+ Zl(r);
5041
+ let i = new URL("api/rebooking-data", Jl);
5042
+ i.searchParams.set(ql, r), i.searchParams.set("expoKey", e.expo);
5028
5043
  let a = await fetch(i.href);
5029
5044
  if (a.ok) {
5030
5045
  var n;
5031
- Zl(e, (n = (await a.json()).exhibitors) == null ? [] : n);
5046
+ Ql(e, (n = (await a.json()).exhibitors) == null ? [] : n);
5032
5047
  }
5033
5048
  e.isRebooking = a.ok;
5034
5049
  } catch (e) {
5035
5050
  console.error(e);
5036
5051
  }
5037
5052
  }
5038
- function Yl(e) {
5039
- return (e ? new URLSearchParams(decodeURIComponent(e)).get(Kl) : null) || (typeof sessionStorage < "u" ? sessionStorage.getItem(Kl) : null);
5040
- }
5041
5053
  function Xl(e) {
5042
- typeof sessionStorage < "u" && sessionStorage.setItem(Kl, e);
5054
+ return (e ? new URLSearchParams(decodeURIComponent(e)).get(ql) : null) || (typeof sessionStorage < "u" ? sessionStorage.getItem(ql) : null);
5055
+ }
5056
+ function Zl(e) {
5057
+ typeof sessionStorage < "u" && sessionStorage.setItem(ql, e);
5043
5058
  }
5044
- function Zl(e, t) {
5059
+ function Ql(e, t) {
5045
5060
  var n;
5046
5061
  let r = (n = e.exhibitors) == null ? [] : n;
5047
5062
  for (let e of t) {
@@ -5051,43 +5066,43 @@ function Zl(e, t) {
5051
5066
  }
5052
5067
  //#endregion
5053
5068
  //#region ../config/src/lib/store-ref.ts
5054
- var Ql = "$/", $l = /^\$\/([a-z0-9-]+)\/(.+)$/;
5055
- function eu(e) {
5056
- return e.startsWith(Ql);
5057
- }
5069
+ var $l = "$/", eu = /^\$\/([a-z0-9-]+)\/(.+)$/;
5058
5070
  function tu(e) {
5059
- if (!eu(e)) return e;
5060
- let t = $l.exec(e);
5071
+ return e.startsWith($l);
5072
+ }
5073
+ function nu(e) {
5074
+ if (!tu(e)) return e;
5075
+ let t = eu.exec(e);
5061
5076
  if (!t) throw Error(`resolveUrl: malformed store ref ${JSON.stringify(e)}`);
5062
5077
  return `https://${t[1]}.expofp.com/immutable/${t[2]}`;
5063
5078
  }
5064
5079
  //#endregion
5065
5080
  //#region ../config/src/lib/validate-flag.ts
5066
- function nu(e, t) {
5081
+ function ru(e, t) {
5067
5082
  var n;
5068
5083
  let r = e === void 0 ? void 0 : cc(ac, e).value.validateSchema, i = t ? Zo(oc, t).validateSchema : void 0;
5069
5084
  return (n = r == null ? i : r) != null && n;
5070
5085
  }
5071
5086
  //#endregion
5072
5087
  //#region ../config/src/lib/validate-timing.ts
5073
- var ru = (0, Bo.default)("efp:config:validate"), iu = 0, au = 0, ou = -Infinity, su = !1;
5074
- function cu() {
5075
- ou = performance.now(), ru("%d validations, %sms total since page load", au, iu.toFixed(1));
5088
+ var iu = (0, Bo.default)("efp:config:validate"), au = 0, ou = 0, su = -Infinity, cu = !1;
5089
+ function lu() {
5090
+ su = performance.now(), iu("%d validations, %sms total since page load", ou, au.toFixed(1));
5076
5091
  }
5077
- function lu(e) {
5078
- if (!ru.enabled) return e();
5092
+ function uu(e) {
5093
+ if (!iu.enabled) return e();
5079
5094
  let t = performance.now();
5080
5095
  try {
5081
5096
  return e();
5082
5097
  } finally {
5083
- iu += performance.now() - t, au++;
5084
- let e = performance.now() - ou;
5085
- if (e >= 1e3) cu();
5086
- else if (!su) {
5098
+ au += performance.now() - t, ou++;
5099
+ let e = performance.now() - su;
5100
+ if (e >= 1e3) lu();
5101
+ else if (!cu) {
5087
5102
  var n;
5088
- su = !0;
5103
+ cu = !0;
5089
5104
  let t = setTimeout(() => {
5090
- su = !1, cu();
5105
+ cu = !1, lu();
5091
5106
  }, 1e3 - e);
5092
5107
  (n = t.unref) == null || n.call(t);
5093
5108
  }
@@ -5095,34 +5110,34 @@ function lu(e) {
5095
5110
  }
5096
5111
  //#endregion
5097
5112
  //#region ../config/src/lib/visit-resources.ts
5098
- var uu = !1;
5099
- function du(e) {
5100
- uu = e;
5113
+ var du = !1;
5114
+ function fu(e) {
5115
+ du = e;
5101
5116
  }
5102
- function fu(e, t) {
5103
- return uu ? lu(() => e.parse(t)) : Ac(t);
5117
+ function pu(e, t) {
5118
+ return du ? uu(() => e.parse(t)) : Ac(t);
5104
5119
  }
5105
- function pu(e, t, n) {
5120
+ function mu(e, t, n) {
5106
5121
  let r = async (e, r) => {
5107
- let i = fu(t, e);
5122
+ let i = pu(t, e);
5108
5123
  n == null || n(i);
5109
- let a = Dl(r), o = El(a);
5110
- return await mu(t, i, { asset: (e) => eu(e) ? tu(e) : o ? Tl(e, a) : e }), i;
5124
+ let a = Ol(r), o = Dl(a);
5125
+ return await hu(t, i, { asset: (e) => tu(e) ? nu(e) : o ? El(e, a) : e }), i;
5111
5126
  };
5112
5127
  return {
5113
5128
  ...e,
5114
5129
  process: r
5115
5130
  };
5116
5131
  }
5117
- async function mu(e, t, n, r) {
5118
- await hu(Wo(e), t, _u, n, r);
5132
+ async function hu(e, t, n, r) {
5133
+ await gu(Wo(e), t, vu, n, r);
5119
5134
  }
5120
- async function hu(e, t, n, r, i) {
5135
+ async function gu(e, t, n, r, i) {
5121
5136
  var a;
5122
5137
  if (t == null) return;
5123
5138
  let o = (a = e == null ? void 0 : e.anyOf) == null ? e == null ? void 0 : e.oneOf : a;
5124
- if (o) return hu(o.find((e) => Ko(e, t)), t, n, r, i);
5125
- if (gu(t)) {
5139
+ if (o) return gu(o.find((e) => Ko(e, t)), t, n, r, i);
5140
+ if (_u(t)) {
5126
5141
  if (r.ref) {
5127
5142
  n({ $ref: await r.ref(t.$ref) });
5128
5143
  return;
@@ -5130,8 +5145,8 @@ async function hu(e, t, n, r, i) {
5130
5145
  if (!r.document || t.$ref.startsWith("/")) return;
5131
5146
  let a = t.$ref;
5132
5147
  try {
5133
- let o = e ? Go(e) : void 0, s = { document: Ac(bl(t) ? yl(t) : await J(o ? pu({ $ref: a }, o) : { $ref: a }, { signal: i == null ? void 0 : i.signal })) };
5134
- o && await hu(Wo(o), s.document, (e) => {
5148
+ let o = e ? Go(e) : void 0, s = { document: Ac(xl(t) ? bl(t) : await J(o ? mu({ $ref: a }, o) : { $ref: a }, { signal: i == null ? void 0 : i.signal })) };
5149
+ o && await gu(Wo(o), s.document, (e) => {
5135
5150
  s.document = e;
5136
5151
  }, r, i), n({ $ref: await r.document(a, s.document) });
5137
5152
  } catch (e) {
@@ -5144,17 +5159,17 @@ async function hu(e, t, n, r, i) {
5144
5159
  if (e != null && e.asset && t) n(await r.asset(t, e.optionalAsset));
5145
5160
  else if (e != null && e.svgAsset) {
5146
5161
  let e = /* @__PURE__ */ new Map();
5147
- for (let n of Ml(t)) e.set(n, await r.asset(n));
5148
- n(Nl(t, (t) => {
5162
+ for (let n of Nl(t)) e.set(n, await r.asset(n));
5163
+ n(Pl(t, (t) => {
5149
5164
  var n;
5150
5165
  return (n = e.get(t)) == null ? t : n;
5151
5166
  }));
5152
5167
  } else if (e != null && e.cssAsset) {
5153
5168
  let e = t, i = /* @__PURE__ */ new Set();
5154
- r.stylesheetText && ({css: e, external: i} = await Rl(e, r.stylesheetText.bind(r)));
5169
+ r.stylesheetText && ({css: e, external: i} = await zl(e, r.stylesheetText.bind(r)));
5155
5170
  let a = /* @__PURE__ */ new Map();
5156
- for (let t of Fl(e)) i.has(t) || (eu(t) || /^[a-z][a-z0-9+.-]*:/i.test(t)) && a.set(t, await r.asset(t));
5157
- n(Il(e, (e) => {
5171
+ for (let t of Il(e)) i.has(t) || (tu(t) || /^[a-z][a-z0-9+.-]*:/i.test(t)) && a.set(t, await r.asset(t));
5172
+ n(Ll(e, (e) => {
5158
5173
  var t;
5159
5174
  return (t = a.get(e)) == null ? e : t;
5160
5175
  }));
@@ -5162,7 +5177,7 @@ async function hu(e, t, n, r, i) {
5162
5177
  return;
5163
5178
  }
5164
5179
  if (Array.isArray(t)) {
5165
- for (let n = 0; n < t.length; n++) await hu(e == null ? void 0 : e.items, t[n], (e) => {
5180
+ for (let n = 0; n < t.length; n++) await gu(e == null ? void 0 : e.items, t[n], (e) => {
5166
5181
  t[n] = e;
5167
5182
  }, r, i);
5168
5183
  return;
@@ -5171,54 +5186,54 @@ async function hu(e, t, n, r, i) {
5171
5186
  let n = t, a = typeof (e == null ? void 0 : e.additionalProperties) == "object" ? e.additionalProperties : void 0;
5172
5187
  for (let t of Object.keys(n)) {
5173
5188
  var s, c;
5174
- await hu((s = e == null || (c = e.properties) == null ? void 0 : c[t]) == null ? a : s, n[t], (e) => {
5189
+ await gu((s = e == null || (c = e.properties) == null ? void 0 : c[t]) == null ? a : s, n[t], (e) => {
5175
5190
  e === void 0 ? delete n[t] : n[t] = e;
5176
5191
  }, r, i);
5177
5192
  }
5178
5193
  }
5179
5194
  }
5180
- function gu(e) {
5195
+ function _u(e) {
5181
5196
  return typeof e == "object" && !!e && "$ref" in e && typeof e.$ref == "string";
5182
5197
  }
5183
- function _u() {
5198
+ function vu() {
5184
5199
  throw Error("visitResources: the top-level value must be an object or array");
5185
5200
  }
5186
5201
  //#endregion
5187
5202
  //#region ../config/src/lib/load-config.ts
5188
- var vu = (0, Bo.default)("efp:config");
5189
- async function yu(e, t, n, r) {
5203
+ var yu = (0, Bo.default)("efp:config");
5204
+ async function bu(e, t, n, r) {
5190
5205
  let i = { ...sc };
5191
- du(nu(n, r)), e = fu(rc, await xu(e)), await Su(e);
5206
+ fu(ru(n, r)), e = pu(rc, await Su(e)), await Cu(e);
5192
5207
  let { legacyDataUrlBase: a, legacyDataVersion: o, ...s } = e;
5193
- Mu(s), Nu(i, s), t = ic.parse(t), Mu(t);
5208
+ Nu(s), Pu(i, s), t = ic.parse(t), Nu(t);
5194
5209
  let c = String(Date.now());
5195
5210
  if (a) {
5196
- if (ku()) vu("loadConfig", "designer referrer — cache-busting with a timestamp");
5211
+ if (Au()) yu("loadConfig", "designer referrer — cache-busting with a timestamp");
5197
5212
  else if (typeof o == "string" && o) c = o;
5198
- else if (o === null) vu("loadConfig", "manifest pins \"no version\" — cache-busting with a timestamp");
5213
+ else if (o === null) yu("loadConfig", "manifest pins \"no version\" — cache-busting with a timestamp");
5199
5214
  else try {
5200
5215
  c = (await J({ $ref: `${a}version.json` })).version;
5201
5216
  } catch {
5202
- vu("loadConfig", "no version.json found at", a);
5217
+ yu("loadConfig", "no version.json found at", a);
5203
5218
  }
5204
- i.fpSvgJsRef != null || (i.fpSvgJsRef = Au(a, "fp.svg.js", c)), i.wfDataJsRef != null || (i.wfDataJsRef = Au(a, "wf.data.js", c));
5219
+ i.fpSvgJsRef != null || (i.fpSvgJsRef = ju(a, "fp.svg.js", c)), i.wfDataJsRef != null || (i.wfDataJsRef = ju(a, "wf.data.js", c));
5205
5220
  }
5206
- i.fpSvgJsRef && (i.fpSvgJsRef = pu(i.fpSvgJsRef, Ms)), i.wfDataJsRef && (i.wfDataJsRef = pu(i.wfDataJsRef, Ys));
5221
+ i.fpSvgJsRef && (i.fpSvgJsRef = mu(i.fpSvgJsRef, Ms)), i.wfDataJsRef && (i.wfDataJsRef = mu(i.wfDataJsRef, Ys));
5207
5222
  let l = {};
5208
- for (let [e, t] of Object.entries(i.fpSvgLayerJsRefs)) l[e] = Du(t, e);
5223
+ for (let [e, t] of Object.entries(i.fpSvgLayerJsRefs)) l[e] = Ou(t, e);
5209
5224
  i.fpSvgLayerJsRefs = l;
5210
5225
  let [u, d] = await Promise.all([
5211
- a ? Cu(a, c) : null,
5212
- i.fpSvgJsRef ? Tu(i.fpSvgJsRef, a) : null,
5213
- Eu(i.wfDataJsRef)
5226
+ a ? wu(a, c) : null,
5227
+ i.fpSvgJsRef ? Eu(i.fpSvgJsRef, a) : null,
5228
+ Du(i.wfDataJsRef)
5214
5229
  ]);
5215
5230
  if (u) {
5216
5231
  let { flags: e, legacyDataUrlBase: t, legacyDataVersion: n, fpSvgJsRef: r, wfDataJsRef: a, fpSvgLayerJsRefs: o, ...s } = u;
5217
- e && (Mu(e), Nu(i, e)), Mu(s), Nu(i, s);
5232
+ e && (Nu(e), Pu(i, e)), Nu(s), Pu(i, s);
5218
5233
  }
5219
- if (d && (i.fpSvgJsRef = d.ref, !Object.keys(i.fpSvgLayerJsRefs).length && a && (i.fpSvgLayerJsRefs = Ou(d.payload, a, c))), Nu(i, t), r) {
5234
+ if (d && (i.fpSvgJsRef = d.ref, !Object.keys(i.fpSvgLayerJsRefs).length && a && (i.fpSvgLayerJsRefs = ku(d.payload, a, c))), Pu(i, t), r) {
5220
5235
  let { viewerMode: e, previewMode: t, uiScale: n, ...a } = Zo(oc, r);
5221
- Nu(i, a);
5236
+ Pu(i, a);
5222
5237
  }
5223
5238
  if (n !== void 0 && !i.ignoreQuery) {
5224
5239
  var f;
@@ -5227,86 +5242,86 @@ async function yu(e, t, n, r) {
5227
5242
  consent: e.consent,
5228
5243
  intents: a
5229
5244
  }), c = [...a, ...o];
5230
- c.length && (e.intents = c), t.push(...r.invalidKeys), t.length && vu("loadConfig", "ignoring invalid URL config params:", t), Nu(i, s), Nu(i, e);
5245
+ c.length && (e.intents = c), t.push(...r.invalidKeys), t.length && yu("loadConfig", "ignoring invalid URL config params:", t), Pu(i, s), Pu(i, e);
5231
5246
  }
5232
- return Wl(i, a), await Jl(i, i.ignoreQuery ? void 0 : n), delete i.validateSchema, jc(i), i;
5247
+ return Gl(i, a), await Yl(i, i.ignoreQuery ? void 0 : n), delete i.validateSchema, jc(i), i;
5233
5248
  }
5234
- var bu = 3;
5235
- async function xu(e) {
5249
+ var xu = 3;
5250
+ async function Su(e) {
5236
5251
  let t = e;
5237
5252
  for (let e = 0;; e++) {
5238
- gu(t) && (t = {
5253
+ _u(t) && (t = {
5239
5254
  ...t,
5240
- $ref: tu(t.$ref)
5255
+ $ref: nu(t.$ref)
5241
5256
  });
5242
5257
  let n = await J(t);
5243
- if (!gu(n)) return n;
5244
- if (e >= bu) throw Error(`loadConfig: manifest pointer chain deeper than ${bu} at ${n.$ref}`);
5245
- vu("loadConfig", "manifest is a pointer, following it to", n.$ref), t = { $ref: n.$ref };
5258
+ if (!_u(n)) return n;
5259
+ if (e >= xu) throw Error(`loadConfig: manifest pointer chain deeper than ${xu} at ${n.$ref}`);
5260
+ yu("loadConfig", "manifest is a pointer, following it to", n.$ref), t = { $ref: n.$ref };
5246
5261
  }
5247
5262
  }
5248
- async function Su(e) {
5249
- let t = (e) => tu(e);
5250
- await mu(rc, e, {
5263
+ async function Cu(e) {
5264
+ let t = (e) => nu(e);
5265
+ await hu(rc, e, {
5251
5266
  asset: t,
5252
5267
  ref: t
5253
5268
  });
5254
5269
  }
5255
- async function Cu(e, t) {
5270
+ async function wu(e, t) {
5256
5271
  var n;
5257
- let r = await J(pu(Au(e, "data.js", t), nc));
5258
- return r.__data || vu("loadLegacyDataJs", "no __data global in data.js at", e), Ac((n = r.__data) == null ? {} : n);
5272
+ let r = await J(mu(ju(e, "data.js", t), nc));
5273
+ return r.__data || yu("loadLegacyDataJs", "no __data global in data.js at", e), Ac((n = r.__data) == null ? {} : n);
5259
5274
  }
5260
- var wu = 2e3;
5261
- async function Tu(e, t) {
5275
+ var Tu = 2e3;
5276
+ async function Eu(e, t) {
5262
5277
  let n = e, r = await J(n);
5263
- for (let i = 1; r.__fpPending && !r.__fp; i++) vu("loadLegacyFpSvgJs", "plan is still generating, retry", i), await ju(wu), n = t ? pu(Au(t, "fp.svg.js", String(i)), Ms) : e, r = await J(n, { forceFetch: !0 });
5278
+ for (let i = 1; r.__fpPending && !r.__fp; i++) yu("loadLegacyFpSvgJs", "plan is still generating, retry", i), await Mu(Tu), n = t ? mu(ju(t, "fp.svg.js", String(i)), Ms) : e, r = await J(n, { forceFetch: !0 });
5264
5279
  return {
5265
5280
  payload: r,
5266
5281
  ref: n
5267
5282
  };
5268
5283
  }
5269
- async function Eu(e) {
5284
+ async function Du(e) {
5270
5285
  if (e) try {
5271
5286
  await J(e);
5272
5287
  } catch (e) {
5273
- vu("prefetchWfData", "wf.data.js not loaded, wayfinding stays off", e);
5288
+ yu("prefetchWfData", "wf.data.js not loaded, wayfinding stays off", e);
5274
5289
  }
5275
5290
  }
5276
- function Du(e, t) {
5277
- return pu(e, As, (e) => wl(e, t));
5291
+ function Ou(e, t) {
5292
+ return mu(e, As, (e) => Tl(e, t));
5278
5293
  }
5279
- function Ou(e, t, n) {
5294
+ function ku(e, t, n) {
5280
5295
  var r;
5281
5296
  let i = {};
5282
- for (let a of (r = e.__fpLayers) == null ? [] : r) a.name !== e.__fpDefaultLayer && (i[a.name] = Du(Au(t, `fp.svg.${a.name}.js`, n), a.name));
5297
+ for (let a of (r = e.__fpLayers) == null ? [] : r) a.name !== e.__fpDefaultLayer && (i[a.name] = Ou(ju(t, `fp.svg.${a.name}.js`, n), a.name));
5283
5298
  return i;
5284
5299
  }
5285
- function ku() {
5300
+ function Au() {
5286
5301
  return typeof document > "u" || !document.referrer ? !1 : document.referrer.includes("app.expofp.com") || document.referrer.includes("app-show.expofp.com");
5287
5302
  }
5288
- function Au(e, t, n) {
5303
+ function ju(e, t, n) {
5289
5304
  let r = `${e}${t}`;
5290
5305
  return { $ref: n ? `${r}?v=${n}` : r };
5291
5306
  }
5292
- function ju(e) {
5307
+ function Mu(e) {
5293
5308
  return new Promise((t) => setTimeout(t, e));
5294
5309
  }
5295
- function Mu(e) {
5310
+ function Nu(e) {
5296
5311
  e.allowConsent !== void 0 && (e.consent != null || (e.consent = e.allowConsent ? "granted" : "denied"), delete e.allowConsent);
5297
5312
  }
5298
- function Nu(e, t) {
5313
+ function Pu(e, t) {
5299
5314
  for (let [n, r] of Object.entries(t)) r !== void 0 && (e[n] = r);
5300
5315
  }
5301
5316
  //#endregion
5302
5317
  //#region src/constants.ts
5303
- var Pu = "___visibility", Fu = "data-preview-mode", Iu = "efp-runtime-loader-spinner", Lu = "booths", Ru = "Outdoor", zu = "#ea4236", Bu = "rgba(234, 66, 54, 0.85)", Vu = "#ffffff", Hu = "kiosk", Uu = "setkiosk", Wu = "debug", Gu = "efp-debugMode", Ku = "pathway", qu = 1e3, Ju = "language", Yu = "efp-viewerMode", Xu = "___viewer_mode", Zu = "efp-previewMode", Qu = "___preview_mode", $u = "efp-uiScale", ed = "___ui-scale", td = "--expofp-font-face", nd = "--expofp-booth-main-weight", rd = "--expofp-booth-details-weight", id = "--expofp-exhibitor-main-weight", ad = "--expofp-exhibitor-details-weight", od = "--expofp-booth-special-weight", sd = "efp-compass-permission-granted", cd = new URL(
5318
+ var Fu = "___visibility", Iu = "data-preview-mode", Lu = "efp-runtime-loader-spinner", Ru = "booths", zu = "Outdoor", Bu = "#ea4236", Vu = "rgba(234, 66, 54, 0.85)", Hu = "#ffffff", Uu = "kiosk", Wu = "setkiosk", Gu = "debug", Ku = "efp-debugMode", qu = "pathway", Ju = 1e3, Yu = "language", Xu = "efp-viewerMode", Zu = "___viewer_mode", Qu = "efp-previewMode", $u = "___preview_mode", ed = "efp-uiScale", td = "___ui-scale", nd = "--expofp-font-face", rd = "--expofp-booth-main-weight", id = "--expofp-booth-details-weight", ad = "--expofp-exhibitor-main-weight", od = "--expofp-exhibitor-details-weight", sd = "--expofp-booth-special-weight", cd = "efp-compass-permission-granted", ld = new URL(
5304
5319
  /* @vite-ignore */
5305
5320
  ".",
5306
5321
  import.meta.url
5307
5322
  ).href;
5308
- cd.endsWith("/") || (cd += "/");
5309
- var ld = cd, ud = /* @__PURE__ */ e((/* @__PURE__ */ t(((e, t) => {
5323
+ ld.endsWith("/") || (ld += "/");
5324
+ var ud = ld, dd = /* @__PURE__ */ e((/* @__PURE__ */ t(((e, t) => {
5310
5325
  (function() {
5311
5326
  function e(e, t) {
5312
5327
  document.addEventListener ? e.addEventListener("scroll", t, !1) : e.attachEvent("scroll", t);
@@ -5406,17 +5421,17 @@ var ld = cd, ud = /* @__PURE__ */ e((/* @__PURE__ */ t(((e, t) => {
5406
5421
  });
5407
5422
  }, typeof t == "object" ? t.exports = s : (window.FontFaceObserver = s, window.FontFaceObserver.prototype.load = s.prototype.load);
5408
5423
  })();
5409
- })))(), 1), dd = /* @__PURE__ */ e(r(), 1), fd = window.navigator.userAgent, pd = dd.default.getParser(fd);
5424
+ })))(), 1), fd = /* @__PURE__ */ e(r(), 1), pd = window.navigator.userAgent, md = fd.default.getParser(pd);
5410
5425
  //#endregion
5411
5426
  //#region src/tools/loaders.ts
5412
- async function md(e) {
5427
+ async function hd(e) {
5413
5428
  return await (await fetch(e, { credentials: "same-origin" })).json();
5414
5429
  }
5415
- function hd(e, t) {
5430
+ function gd(e, t) {
5416
5431
  let n = document.createElement("link");
5417
5432
  n.rel = "stylesheet", n.href = e, n.setAttribute("fetchpriority", "high"), t.appendChild(n);
5418
5433
  }
5419
- async function gd(e, t, n) {
5434
+ async function _d(e, t, n) {
5420
5435
  var r;
5421
5436
  n = {
5422
5437
  style: "normal",
@@ -5424,8 +5439,8 @@ async function gd(e, t, n) {
5424
5439
  ...n || {}
5425
5440
  };
5426
5441
  let i = `url("${t}")`;
5427
- if (!window.FontFace) return e.startsWith("Font Awesome") || _d(e, i, n), Promise.resolve();
5428
- e.indexOf(" ") !== -1 && ((r = pd.getEngine()) == null ? void 0 : r.name) === "Gecko" && (e = `'${e}'`);
5442
+ if (!window.FontFace) return e.startsWith("Font Awesome") || vd(e, i, n), Promise.resolve();
5443
+ e.indexOf(" ") !== -1 && ((r = md.getEngine()) == null ? void 0 : r.name) === "Gecko" && (e = `'${e}'`);
5429
5444
  let a;
5430
5445
  try {
5431
5446
  a = new FontFace(e, i, n);
@@ -5434,17 +5449,17 @@ async function gd(e, t, n) {
5434
5449
  }
5435
5450
  return document.fonts.add(a), a.load();
5436
5451
  }
5437
- function _d(e, t, n) {
5452
+ function vd(e, t, n) {
5438
5453
  let r = document.createElement("style");
5439
5454
  r.appendChild(document.createTextNode(`@font-face { font-family: ${e}; font-weight: ${n.weight}; font-style: ${n.style}; src: ${t} format('woff2'); font-display: swap; }`)), document.head.appendChild(r);
5440
5455
  let i = document.createElement("div");
5441
5456
  i.setAttribute("style", `font-family: oswald; font-weight: ${n.weight}; position: fixed; left: -1000px; top: 0; visibility: hidden`), i.innerHTML = "Oswald", document.body.appendChild(i);
5442
5457
  }
5443
- async function vd(e) {
5458
+ async function yd(e) {
5444
5459
  var t;
5445
5460
  let n = getComputedStyle(document.documentElement).getPropertyValue("--expofp-font-face") || ((t = e.match(/--expofp-font-face:\s*([^;]*)/)) == null ? void 0 : t[1]);
5446
5461
  if (!n) return;
5447
- let r = n.replace(/"/g, "").split(", ").map((e) => e.trim()).map((e) => new ud.default(e).load());
5462
+ let r = n.replace(/"/g, "").split(", ").map((e) => e.trim()).map((e) => new dd.default(e).load());
5448
5463
  return Promise.allSettled(r);
5449
5464
  }
5450
5465
  //#endregion
@@ -5459,7 +5474,7 @@ function Y(e) {
5459
5474
  }
5460
5475
  //#endregion
5461
5476
  //#region ../../node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/esm/toPrimitive.js
5462
- function yd(e, t) {
5477
+ function bd(e, t) {
5463
5478
  if (Y(e) != "object" || !e) return e;
5464
5479
  var n = e[Symbol.toPrimitive];
5465
5480
  if (n !== void 0) {
@@ -5471,14 +5486,14 @@ function yd(e, t) {
5471
5486
  }
5472
5487
  //#endregion
5473
5488
  //#region ../../node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/esm/toPropertyKey.js
5474
- function bd(e) {
5475
- var t = yd(e, "string");
5489
+ function xd(e) {
5490
+ var t = bd(e, "string");
5476
5491
  return Y(t) == "symbol" ? t : t + "";
5477
5492
  }
5478
5493
  //#endregion
5479
5494
  //#region ../../node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/esm/defineProperty.js
5480
- function xd(e, t, n) {
5481
- return (t = bd(t)) in e ? Object.defineProperty(e, t, {
5495
+ function Sd(e, t, n) {
5496
+ return (t = xd(t)) in e ? Object.defineProperty(e, t, {
5482
5497
  value: n,
5483
5498
  enumerable: !0,
5484
5499
  configurable: !0,
@@ -5493,7 +5508,7 @@ function X(e) {
5493
5508
  typeof Object.getOwnPropertySymbols == "function" && r.push.apply(r, Object.getOwnPropertySymbols(n).filter(function(e) {
5494
5509
  return Object.getOwnPropertyDescriptor(n, e).enumerable;
5495
5510
  })), r.forEach(function(t) {
5496
- xd(e, t, n[t]);
5511
+ Sd(e, t, n[t]);
5497
5512
  });
5498
5513
  }
5499
5514
  return e;
@@ -5505,55 +5520,55 @@ function Z(e, t) {
5505
5520
  }
5506
5521
  //#endregion
5507
5522
  //#region ../../node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/esm/createClass.js
5508
- function Sd(e, t) {
5523
+ function Cd(e, t) {
5509
5524
  for (var n = 0; n < t.length; n++) {
5510
5525
  var r = t[n];
5511
- r.enumerable = r.enumerable || !1, r.configurable = !0, "value" in r && (r.writable = !0), Object.defineProperty(e, bd(r.key), r);
5526
+ r.enumerable = r.enumerable || !1, r.configurable = !0, "value" in r && (r.writable = !0), Object.defineProperty(e, xd(r.key), r);
5512
5527
  }
5513
5528
  }
5514
5529
  function Q(e, t, n) {
5515
- return t && Sd(e.prototype, t), n && Sd(e, n), Object.defineProperty(e, "prototype", { writable: !1 }), e;
5530
+ return t && Cd(e.prototype, t), n && Cd(e, n), Object.defineProperty(e, "prototype", { writable: !1 }), e;
5516
5531
  }
5517
5532
  //#endregion
5518
5533
  //#region ../../node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js
5519
- function Cd(e) {
5534
+ function wd(e) {
5520
5535
  if (e === void 0) throw ReferenceError("this hasn't been initialised - super() hasn't been called");
5521
5536
  return e;
5522
5537
  }
5523
5538
  //#endregion
5524
5539
  //#region ../../node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js
5525
- function wd(e, t) {
5540
+ function Td(e, t) {
5526
5541
  if (t && (Y(t) == "object" || typeof t == "function")) return t;
5527
5542
  if (t !== void 0) throw TypeError("Derived constructors may only return object or undefined");
5528
- return Cd(e);
5543
+ return wd(e);
5529
5544
  }
5530
5545
  //#endregion
5531
5546
  //#region ../../node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js
5532
- function Td(e) {
5533
- return Td = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function(e) {
5547
+ function Ed(e) {
5548
+ return Ed = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function(e) {
5534
5549
  return e.__proto__ || Object.getPrototypeOf(e);
5535
- }, Td(e);
5550
+ }, Ed(e);
5536
5551
  }
5537
5552
  //#endregion
5538
5553
  //#region ../../node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js
5539
- function Ed(e, t) {
5540
- return Ed = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function(e, t) {
5554
+ function Dd(e, t) {
5555
+ return Dd = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function(e, t) {
5541
5556
  return e.__proto__ = t, e;
5542
- }, Ed(e, t);
5557
+ }, Dd(e, t);
5543
5558
  }
5544
5559
  //#endregion
5545
5560
  //#region ../../node_modules/.pnpm/@babel+runtime@7.29.7/node_modules/@babel/runtime/helpers/esm/inherits.js
5546
- function Dd(e, t) {
5561
+ function Od(e, t) {
5547
5562
  if (typeof t != "function" && t !== null) throw TypeError("Super expression must either be null or a function");
5548
5563
  e.prototype = Object.create(t && t.prototype, { constructor: {
5549
5564
  value: e,
5550
5565
  writable: !0,
5551
5566
  configurable: !0
5552
- } }), Object.defineProperty(e, "prototype", { writable: !1 }), t && Ed(e, t);
5567
+ } }), Object.defineProperty(e, "prototype", { writable: !1 }), t && Dd(e, t);
5553
5568
  }
5554
5569
  //#endregion
5555
5570
  //#region ../../node_modules/.pnpm/i18next@19.9.2/node_modules/i18next/dist/esm/i18next.js
5556
- var Od = {
5571
+ var kd = {
5557
5572
  type: "logger",
5558
5573
  log: function(e) {
5559
5574
  this.output("log", e);
@@ -5577,7 +5592,7 @@ var Od = {
5577
5592
  key: "init",
5578
5593
  value: function(e) {
5579
5594
  var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
5580
- this.prefix = t.prefix || "i18next:", this.logger = e || Od, this.options = t, this.debug = t.debug;
5595
+ this.prefix = t.prefix || "i18next:", this.logger = e || kd, this.options = t, this.debug = t.debug;
5581
5596
  }
5582
5597
  },
5583
5598
  {
@@ -5627,7 +5642,7 @@ var Od = {
5627
5642
  }
5628
5643
  }
5629
5644
  ]), e;
5630
- }())(), kd = function() {
5645
+ }())(), Ad = function() {
5631
5646
  function e() {
5632
5647
  Z(this, e), this.observers = {};
5633
5648
  }
@@ -5668,21 +5683,21 @@ var Od = {
5668
5683
  }
5669
5684
  ]), e;
5670
5685
  }();
5671
- function Ad() {
5686
+ function jd() {
5672
5687
  var e, t, n = new Promise(function(n, r) {
5673
5688
  e = n, t = r;
5674
5689
  });
5675
5690
  return n.resolve = e, n.reject = t, n;
5676
5691
  }
5677
- function jd(e) {
5692
+ function Md(e) {
5678
5693
  return e == null ? "" : "" + e;
5679
5694
  }
5680
- function Md(e, t, n) {
5695
+ function Nd(e, t, n) {
5681
5696
  e.forEach(function(e) {
5682
5697
  t[e] && (n[e] = t[e]);
5683
5698
  });
5684
5699
  }
5685
- function Nd(e, t, n) {
5700
+ function Pd(e, t, n) {
5686
5701
  function r(e) {
5687
5702
  return e && e.indexOf("###") > -1 ? e.replace(/###/g, ".") : e;
5688
5703
  }
@@ -5699,30 +5714,30 @@ function Nd(e, t, n) {
5699
5714
  k: r(a.shift())
5700
5715
  };
5701
5716
  }
5702
- function Pd(e, t, n) {
5703
- var r = Nd(e, t, Object), i = r.obj, a = r.k;
5717
+ function Fd(e, t, n) {
5718
+ var r = Pd(e, t, Object), i = r.obj, a = r.k;
5704
5719
  i[a] = n;
5705
5720
  }
5706
- function Fd(e, t, n, r) {
5707
- var i = Nd(e, t, Object), a = i.obj, o = i.k;
5721
+ function Id(e, t, n, r) {
5722
+ var i = Pd(e, t, Object), a = i.obj, o = i.k;
5708
5723
  a[o] = a[o] || [], r && (a[o] = a[o].concat(n)), r || a[o].push(n);
5709
5724
  }
5710
- function Id(e, t) {
5711
- var n = Nd(e, t), r = n.obj, i = n.k;
5725
+ function Ld(e, t) {
5726
+ var n = Pd(e, t), r = n.obj, i = n.k;
5712
5727
  if (r) return r[i];
5713
5728
  }
5714
- function Ld(e, t, n) {
5715
- var r = Id(e, n);
5716
- return r === void 0 ? Id(t, n) : r;
5717
- }
5718
5729
  function Rd(e, t, n) {
5719
- for (var r in t) r !== "__proto__" && r !== "constructor" && (r in e ? typeof e[r] == "string" || e[r] instanceof String || typeof t[r] == "string" || t[r] instanceof String ? n && (e[r] = t[r]) : Rd(e[r], t[r], n) : e[r] = t[r]);
5730
+ var r = Ld(e, n);
5731
+ return r === void 0 ? Ld(t, n) : r;
5732
+ }
5733
+ function zd(e, t, n) {
5734
+ for (var r in t) r !== "__proto__" && r !== "constructor" && (r in e ? typeof e[r] == "string" || e[r] instanceof String || typeof t[r] == "string" || t[r] instanceof String ? n && (e[r] = t[r]) : zd(e[r], t[r], n) : e[r] = t[r]);
5720
5735
  return e;
5721
5736
  }
5722
- function zd(e) {
5737
+ function Bd(e) {
5723
5738
  return e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g, "\\$&");
5724
5739
  }
5725
- var Bd = {
5740
+ var Vd = {
5726
5741
  "&": "&amp;",
5727
5742
  "<": "&lt;",
5728
5743
  ">": "&gt;",
@@ -5730,19 +5745,19 @@ var Bd = {
5730
5745
  "'": "&#39;",
5731
5746
  "/": "&#x2F;"
5732
5747
  };
5733
- function Vd(e) {
5748
+ function Hd(e) {
5734
5749
  return typeof e == "string" ? e.replace(/[&<>"'\/]/g, function(e) {
5735
- return Bd[e];
5750
+ return Vd[e];
5736
5751
  }) : e;
5737
5752
  }
5738
- var Hd = typeof window < "u" && window.navigator && window.navigator.userAgent && window.navigator.userAgent.indexOf("MSIE") > -1, Ud = function(e) {
5739
- Dd(t, e);
5753
+ var Ud = typeof window < "u" && window.navigator && window.navigator.userAgent && window.navigator.userAgent.indexOf("MSIE") > -1, Wd = function(e) {
5754
+ Od(t, e);
5740
5755
  function t(e) {
5741
5756
  var n, r = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {
5742
5757
  ns: ["translation"],
5743
5758
  defaultNS: "translation"
5744
5759
  };
5745
- return Z(this, t), n = wd(this, Td(t).call(this)), Hd && kd.call(Cd(n)), n.data = e || {}, n.options = r, n.options.keySeparator === void 0 && (n.options.keySeparator = "."), n;
5760
+ return Z(this, t), n = Td(this, Ed(t).call(this)), Ud && Ad.call(wd(n)), n.data = e || {}, n.options = r, n.options.keySeparator === void 0 && (n.options.keySeparator = "."), n;
5746
5761
  }
5747
5762
  return Q(t, [
5748
5763
  {
@@ -5762,7 +5777,7 @@ var Hd = typeof window < "u" && window.navigator && window.navigator.userAgent &
5762
5777
  key: "getResource",
5763
5778
  value: function(e, t, n) {
5764
5779
  var r = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : {}, i = r.keySeparator === void 0 ? this.options.keySeparator : r.keySeparator, a = [e, t];
5765
- return n && typeof n != "string" && (a = a.concat(n)), n && typeof n == "string" && (a = a.concat(i ? n.split(i) : n)), e.indexOf(".") > -1 && (a = e.split(".")), Id(this.data, a);
5780
+ return n && typeof n != "string" && (a = a.concat(n)), n && typeof n == "string" && (a = a.concat(i ? n.split(i) : n)), e.indexOf(".") > -1 && (a = e.split(".")), Ld(this.data, a);
5766
5781
  }
5767
5782
  },
5768
5783
  {
@@ -5771,7 +5786,7 @@ var Hd = typeof window < "u" && window.navigator && window.navigator.userAgent &
5771
5786
  var i = arguments.length > 4 && arguments[4] !== void 0 ? arguments[4] : { silent: !1 }, a = this.options.keySeparator;
5772
5787
  a === void 0 && (a = ".");
5773
5788
  var o = [e, t];
5774
- n && (o = o.concat(a ? n.split(a) : n)), e.indexOf(".") > -1 && (o = e.split("."), r = t, t = o[1]), this.addNamespaces(t), Pd(this.data, o, r), i.silent || this.emit("added", e, t, n, r);
5789
+ n && (o = o.concat(a ? n.split(a) : n)), e.indexOf(".") > -1 && (o = e.split("."), r = t, t = o[1]), this.addNamespaces(t), Fd(this.data, o, r), i.silent || this.emit("added", e, t, n, r);
5775
5790
  }
5776
5791
  },
5777
5792
  {
@@ -5787,8 +5802,8 @@ var Hd = typeof window < "u" && window.navigator && window.navigator.userAgent &
5787
5802
  value: function(e, t, n, r, i) {
5788
5803
  var a = arguments.length > 5 && arguments[5] !== void 0 ? arguments[5] : { silent: !1 }, o = [e, t];
5789
5804
  e.indexOf(".") > -1 && (o = e.split("."), r = n, n = t, t = o[1]), this.addNamespaces(t);
5790
- var s = Id(this.data, o) || {};
5791
- r ? Rd(s, n, i) : s = X({}, s, n), Pd(this.data, o, s), a.silent || this.emit("added", e, t, n);
5805
+ var s = Ld(this.data, o) || {};
5806
+ r ? zd(s, n, i) : s = X({}, s, n), Fd(this.data, o, s), a.silent || this.emit("added", e, t, n);
5792
5807
  }
5793
5808
  },
5794
5809
  {
@@ -5822,7 +5837,7 @@ var Hd = typeof window < "u" && window.navigator && window.navigator.userAgent &
5822
5837
  }
5823
5838
  }
5824
5839
  ]), t;
5825
- }(kd), Wd = {
5840
+ }(Ad), Gd = {
5826
5841
  processors: {},
5827
5842
  addPostProcessor: function(e) {
5828
5843
  this.processors[e.name] = e;
@@ -5833,11 +5848,11 @@ var Hd = typeof window < "u" && window.navigator && window.navigator.userAgent &
5833
5848
  a.processors[e] && (t = a.processors[e].process(t, n, r, i));
5834
5849
  }), t;
5835
5850
  }
5836
- }, Gd = {}, Kd = function(e) {
5837
- Dd(t, e);
5851
+ }, Kd = {}, qd = function(e) {
5852
+ Od(t, e);
5838
5853
  function t(e) {
5839
5854
  var n, r = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
5840
- return Z(this, t), n = wd(this, Td(t).call(this)), Hd && kd.call(Cd(n)), Md([
5855
+ return Z(this, t), n = Td(this, Ed(t).call(this)), Ud && Ad.call(wd(n)), Nd([
5841
5856
  "resourceStore",
5842
5857
  "languageUtils",
5843
5858
  "pluralResolver",
@@ -5845,7 +5860,7 @@ var Hd = typeof window < "u" && window.navigator && window.navigator.userAgent &
5845
5860
  "backendConnector",
5846
5861
  "i18nFormat",
5847
5862
  "utils"
5848
- ], e, Cd(n)), n.options = r, n.options.keySeparator === void 0 && (n.options.keySeparator = "."), n.logger = $.create("translator"), n;
5863
+ ], e, wd(n)), n.options = r, n.options.keySeparator === void 0 && (n.options.keySeparator = "."), n.logger = $.create("translator"), n;
5849
5864
  }
5850
5865
  return Q(t, [
5851
5866
  {
@@ -5958,7 +5973,7 @@ var Hd = typeof window < "u" && window.navigator && window.navigator.userAgent &
5958
5973
  }, n)), n.interpolation && this.interpolator.reset();
5959
5974
  }
5960
5975
  var f = n.postProcess || this.options.postProcess, p = typeof f == "string" ? [f] : f;
5961
- return e != null && p && p.length && n.applyPostProcessor !== !1 && (e = Wd.handle(p, e, t, this.options && this.options.postProcessPassResolved ? X({ i18nResolved: r }, n) : n, this)), e;
5976
+ return e != null && p && p.length && n.applyPostProcessor !== !1 && (e = Gd.handle(p, e, t, this.options && this.options.postProcessPassResolved ? X({ i18nResolved: r }, n) : n, this)), e;
5962
5977
  }
5963
5978
  },
5964
5979
  {
@@ -5973,7 +5988,7 @@ var Hd = typeof window < "u" && window.navigator && window.navigator.userAgent &
5973
5988
  t.options.fallbackNS && (u = u.concat(t.options.fallbackNS));
5974
5989
  var d = n.count !== void 0 && typeof n.count != "string", f = n.context !== void 0 && typeof n.context == "string" && n.context !== "", p = n.lngs ? n.lngs : t.languageUtils.toResolveHierarchy(n.lng || t.language, n.fallbackLng);
5975
5990
  u.forEach(function(e) {
5976
- t.isValidLookup(r) || (s = e, !Gd[`${p[0]}-${e}`] && t.utils && t.utils.hasLoadedNamespace && !t.utils.hasLoadedNamespace(s) && (Gd[`${p[0]}-${e}`] = !0, t.logger.warn(`key "${i}" for languages "${p.join(", ")}" won't get resolved as namespace "${s}" was not yet loaded`, "This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!")), p.forEach(function(i) {
5991
+ t.isValidLookup(r) || (s = e, !Kd[`${p[0]}-${e}`] && t.utils && t.utils.hasLoadedNamespace && !t.utils.hasLoadedNamespace(s) && (Kd[`${p[0]}-${e}`] = !0, t.logger.warn(`key "${i}" for languages "${p.join(", ")}" won't get resolved as namespace "${s}" was not yet loaded`, "This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!")), p.forEach(function(i) {
5977
5992
  if (!t.isValidLookup(r)) {
5978
5993
  o = i;
5979
5994
  var s = l, c = [s];
@@ -6017,11 +6032,11 @@ var Hd = typeof window < "u" && window.navigator && window.navigator.userAgent &
6017
6032
  return !1;
6018
6033
  }
6019
6034
  }]), t;
6020
- }(kd);
6021
- function qd(e) {
6035
+ }(Ad);
6036
+ function Jd(e) {
6022
6037
  return e.charAt(0).toUpperCase() + e.slice(1);
6023
6038
  }
6024
- var Jd = function() {
6039
+ var Yd = function() {
6025
6040
  function e(t) {
6026
6041
  Z(this, e), this.options = t, this.whitelist = this.options.supportedLngs || !1, this.supportedLngs = this.options.supportedLngs || !1, this.logger = $.create("languageUtils");
6027
6042
  }
@@ -6057,7 +6072,7 @@ var Jd = function() {
6057
6072
  ], n = e.split("-");
6058
6073
  return this.options.lowerCaseLng ? n = n.map(function(e) {
6059
6074
  return e.toLowerCase();
6060
- }) : n.length === 2 ? (n[0] = n[0].toLowerCase(), n[1] = n[1].toUpperCase(), t.indexOf(n[1].toLowerCase()) > -1 && (n[1] = qd(n[1].toLowerCase()))) : n.length === 3 && (n[0] = n[0].toLowerCase(), n[1].length === 2 && (n[1] = n[1].toUpperCase()), n[0] !== "sgn" && n[2].length === 2 && (n[2] = n[2].toUpperCase()), t.indexOf(n[1].toLowerCase()) > -1 && (n[1] = qd(n[1].toLowerCase())), t.indexOf(n[2].toLowerCase()) > -1 && (n[2] = qd(n[2].toLowerCase()))), n.join("-");
6075
+ }) : n.length === 2 ? (n[0] = n[0].toLowerCase(), n[1] = n[1].toUpperCase(), t.indexOf(n[1].toLowerCase()) > -1 && (n[1] = Jd(n[1].toLowerCase()))) : n.length === 3 && (n[0] = n[0].toLowerCase(), n[1].length === 2 && (n[1] = n[1].toUpperCase()), n[0] !== "sgn" && n[2].length === 2 && (n[2] = n[2].toUpperCase()), t.indexOf(n[1].toLowerCase()) > -1 && (n[1] = Jd(n[1].toLowerCase())), t.indexOf(n[2].toLowerCase()) > -1 && (n[2] = Jd(n[2].toLowerCase()))), n.join("-");
6061
6076
  }
6062
6077
  return this.options.cleanCode || this.options.lowerCaseLng ? e.toLowerCase() : e;
6063
6078
  }
@@ -6118,7 +6133,7 @@ var Jd = function() {
6118
6133
  }
6119
6134
  }
6120
6135
  ]), e;
6121
- }(), Yd = [
6136
+ }(), Xd = [
6122
6137
  {
6123
6138
  lngs: [
6124
6139
  "ach",
@@ -6359,7 +6374,7 @@ var Jd = function() {
6359
6374
  ],
6360
6375
  fc: 22
6361
6376
  }
6362
- ], Xd = {
6377
+ ], Zd = {
6363
6378
  1: function(e) {
6364
6379
  return Number(e > 1);
6365
6380
  },
@@ -6427,21 +6442,21 @@ var Jd = function() {
6427
6442
  return Number(e == 1 ? 0 : e == 2 ? 1 : (e < 0 || e > 10) && e % 10 == 0 ? 2 : 3);
6428
6443
  }
6429
6444
  };
6430
- function Zd() {
6445
+ function Qd() {
6431
6446
  var e = {};
6432
- return Yd.forEach(function(t) {
6447
+ return Xd.forEach(function(t) {
6433
6448
  t.lngs.forEach(function(n) {
6434
6449
  e[n] = {
6435
6450
  numbers: t.nr,
6436
- plurals: Xd[t.fc]
6451
+ plurals: Zd[t.fc]
6437
6452
  };
6438
6453
  });
6439
6454
  }), e;
6440
6455
  }
6441
- var Qd = function() {
6456
+ var $d = function() {
6442
6457
  function e(t) {
6443
6458
  var n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
6444
- Z(this, e), this.languageUtils = t, this.options = n, this.logger = $.create("pluralResolver"), this.rules = Zd();
6459
+ Z(this, e), this.languageUtils = t, this.options = n, this.logger = $.create("pluralResolver"), this.rules = Qd();
6445
6460
  }
6446
6461
  return Q(e, [
6447
6462
  {
@@ -6496,7 +6511,7 @@ var Qd = function() {
6496
6511
  }
6497
6512
  }
6498
6513
  ]), e;
6499
- }(), $d = function() {
6514
+ }(), ef = function() {
6500
6515
  function e() {
6501
6516
  var t = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
6502
6517
  Z(this, e), this.logger = $.create("interpolator"), this.options = t, this.format = t.interpolation && t.interpolation.format || function(e) {
@@ -6510,7 +6525,7 @@ var Qd = function() {
6510
6525
  var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
6511
6526
  e.interpolation || (e.interpolation = { escapeValue: !0 });
6512
6527
  var t = e.interpolation;
6513
- this.escape = t.escape === void 0 ? Vd : t.escape, this.escapeValue = t.escapeValue === void 0 || t.escapeValue, this.useRawValueToEscape = t.useRawValueToEscape !== void 0 && t.useRawValueToEscape, this.prefix = t.prefix ? zd(t.prefix) : t.prefixEscaped || "{{", this.suffix = t.suffix ? zd(t.suffix) : t.suffixEscaped || "}}", this.formatSeparator = t.formatSeparator ? t.formatSeparator : t.formatSeparator || ",", this.unescapePrefix = t.unescapeSuffix ? "" : t.unescapePrefix || "-", this.unescapeSuffix = this.unescapePrefix ? "" : t.unescapeSuffix || "", this.nestingPrefix = t.nestingPrefix ? zd(t.nestingPrefix) : t.nestingPrefixEscaped || zd("$t("), this.nestingSuffix = t.nestingSuffix ? zd(t.nestingSuffix) : t.nestingSuffixEscaped || zd(")"), this.nestingOptionsSeparator = t.nestingOptionsSeparator ? t.nestingOptionsSeparator : t.nestingOptionsSeparator || ",", this.maxReplaces = t.maxReplaces ? t.maxReplaces : 1e3, this.alwaysFormat = t.alwaysFormat !== void 0 && t.alwaysFormat, this.resetRegExp();
6528
+ this.escape = t.escape === void 0 ? Hd : t.escape, this.escapeValue = t.escapeValue === void 0 || t.escapeValue, this.useRawValueToEscape = t.useRawValueToEscape !== void 0 && t.useRawValueToEscape, this.prefix = t.prefix ? Bd(t.prefix) : t.prefixEscaped || "{{", this.suffix = t.suffix ? Bd(t.suffix) : t.suffixEscaped || "}}", this.formatSeparator = t.formatSeparator ? t.formatSeparator : t.formatSeparator || ",", this.unescapePrefix = t.unescapeSuffix ? "" : t.unescapePrefix || "-", this.unescapeSuffix = this.unescapePrefix ? "" : t.unescapeSuffix || "", this.nestingPrefix = t.nestingPrefix ? Bd(t.nestingPrefix) : t.nestingPrefixEscaped || Bd("$t("), this.nestingSuffix = t.nestingSuffix ? Bd(t.nestingSuffix) : t.nestingSuffixEscaped || Bd(")"), this.nestingOptionsSeparator = t.nestingOptionsSeparator ? t.nestingOptionsSeparator : t.nestingOptionsSeparator || ",", this.maxReplaces = t.maxReplaces ? t.maxReplaces : 1e3, this.alwaysFormat = t.alwaysFormat !== void 0 && t.alwaysFormat, this.resetRegExp();
6514
6529
  }
6515
6530
  },
6516
6531
  {
@@ -6539,11 +6554,11 @@ var Qd = function() {
6539
6554
  }
6540
6555
  var u = function(e) {
6541
6556
  if (e.indexOf(i.formatSeparator) < 0) {
6542
- var a = Ld(t, c, e);
6557
+ var a = Rd(t, c, e);
6543
6558
  return i.alwaysFormat ? i.format(a, void 0, n) : a;
6544
6559
  }
6545
6560
  var o = e.split(i.formatSeparator), s = o.shift().trim(), l = o.join(i.formatSeparator).trim();
6546
- return i.format(Ld(t, c, s), l, n, r);
6561
+ return i.format(Rd(t, c, s), l, n, r);
6547
6562
  };
6548
6563
  this.resetRegExp();
6549
6564
  var d = r && r.missingInterpolationHandler || this.options.missingInterpolationHandler, f = r && r.interpolation && r.interpolation.skipOnVariables || this.options.interpolation.skipOnVariables;
@@ -6566,7 +6581,7 @@ var Qd = function() {
6566
6581
  o = a[0];
6567
6582
  continue;
6568
6583
  } else i.logger.warn(`missed to pass in variable ${a[1]} for interpolating ${e}`), o = "";
6569
- else typeof o != "string" && !i.useRawValueToEscape && (o = jd(o));
6584
+ else typeof o != "string" && !i.useRawValueToEscape && (o = Md(o));
6570
6585
  if (e = e.replace(a[0], t.safeValue(o)), t.regex.lastIndex = 0, s++, s >= i.maxReplaces) break;
6571
6586
  }
6572
6587
  }), e;
@@ -6598,7 +6613,7 @@ var Qd = function() {
6598
6613
  i[1] = u.shift(), c = u, l = !0;
6599
6614
  }
6600
6615
  if (a = t(s.call(this, i[1].trim(), o), o), a && i[0] === e && typeof a != "string") return a;
6601
- typeof a != "string" && (a = jd(a)), a || (this.logger.warn(`missed to resolve ${i[1]} for nesting ${e}`), a = ""), l && (a = c.reduce(function(e, t) {
6616
+ typeof a != "string" && (a = Md(a)), a || (this.logger.warn(`missed to resolve ${i[1]} for nesting ${e}`), a = ""), l && (a = c.reduce(function(e, t) {
6602
6617
  return n.format(e, t, r.lng, r);
6603
6618
  }, a.trim())), e = e.replace(i[0], a), this.regexp.lastIndex = 0;
6604
6619
  }
@@ -6607,14 +6622,14 @@ var Qd = function() {
6607
6622
  }
6608
6623
  ]), e;
6609
6624
  }();
6610
- function ef(e, t) {
6625
+ function tf(e, t) {
6611
6626
  for (var n = e.indexOf(t); n !== -1;) e.splice(n, 1), n = e.indexOf(t);
6612
6627
  }
6613
- var tf = function(e) {
6614
- Dd(t, e);
6628
+ var nf = function(e) {
6629
+ Od(t, e);
6615
6630
  function t(e, n, r) {
6616
6631
  var i, a = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : {};
6617
- return Z(this, t), i = wd(this, Td(t).call(this)), Hd && kd.call(Cd(i)), i.backend = e, i.store = n, i.services = r, i.languageUtils = r.languageUtils, i.options = a, i.logger = $.create("backendConnector"), i.state = {}, i.queue = [], i.backend && i.backend.init && i.backend.init(r, a.backend, a), i;
6632
+ return Z(this, t), i = Td(this, Ed(t).call(this)), Ud && Ad.call(wd(i)), i.backend = e, i.store = n, i.services = r, i.languageUtils = r.languageUtils, i.options = a, i.logger = $.create("backendConnector"), i.state = {}, i.queue = [], i.backend && i.backend.init && i.backend.init(r, a.backend, a), i;
6618
6633
  }
6619
6634
  return Q(t, [
6620
6635
  {
@@ -6647,7 +6662,7 @@ var tf = function(e) {
6647
6662
  t && this.emit("failedLoading", i, a, t), n && this.store.addResourceBundle(i, a, n), this.state[e] = t ? -1 : 2;
6648
6663
  var o = {};
6649
6664
  this.queue.forEach(function(n) {
6650
- Fd(n.loaded, [i], a), ef(n.pending, e), t && n.errors.push(t), n.pending.length === 0 && !n.done && (Object.keys(n.loaded).forEach(function(e) {
6665
+ Id(n.loaded, [i], a), tf(n.pending, e), t && n.errors.push(t), n.pending.length === 0 && !n.done && (Object.keys(n.loaded).forEach(function(e) {
6651
6666
  o[e] || (o[e] = []), n.loaded[e].length && n.loaded[e].forEach(function(t) {
6652
6667
  o[e].indexOf(t) < 0 && o[e].push(t);
6653
6668
  });
@@ -6718,8 +6733,8 @@ var tf = function(e) {
6718
6733
  }
6719
6734
  }
6720
6735
  ]), t;
6721
- }(kd);
6722
- function nf() {
6736
+ }(Ad);
6737
+ function rf() {
6723
6738
  return {
6724
6739
  debug: !1,
6725
6740
  initImmediate: !0,
@@ -6782,16 +6797,16 @@ function nf() {
6782
6797
  }
6783
6798
  };
6784
6799
  }
6785
- function rf(e) {
6800
+ function af(e) {
6786
6801
  return typeof e.ns == "string" && (e.ns = [e.ns]), typeof e.fallbackLng == "string" && (e.fallbackLng = [e.fallbackLng]), typeof e.fallbackNS == "string" && (e.fallbackNS = [e.fallbackNS]), e.whitelist && (e.whitelist && e.whitelist.indexOf("cimode") < 0 && (e.whitelist = e.whitelist.concat(["cimode"])), e.supportedLngs = e.whitelist), e.nonExplicitWhitelist && (e.nonExplicitSupportedLngs = e.nonExplicitWhitelist), e.supportedLngs && e.supportedLngs.indexOf("cimode") < 0 && (e.supportedLngs = e.supportedLngs.concat(["cimode"])), e;
6787
6802
  }
6788
- function af() {}
6789
- var of = new (function(e) {
6790
- Dd(t, e);
6803
+ function of() {}
6804
+ var sf = new (function(e) {
6805
+ Od(t, e);
6791
6806
  function t() {
6792
6807
  var e, n = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, r = arguments.length > 1 ? arguments[1] : void 0;
6793
- if (Z(this, t), e = wd(this, Td(t).call(this)), Hd && kd.call(Cd(e)), e.options = rf(n), e.services = {}, e.logger = $, e.modules = { external: [] }, r && !e.isInitialized && !n.isClone) {
6794
- if (!e.options.initImmediate) return e.init(n, r), wd(e, Cd(e));
6808
+ if (Z(this, t), e = Td(this, Ed(t).call(this)), Ud && Ad.call(wd(e)), e.options = af(n), e.services = {}, e.logger = $, e.modules = { external: [] }, r && !e.isInitialized && !n.isClone) {
6809
+ if (!e.options.initImmediate) return e.init(n, r), Td(e, wd(e));
6795
6810
  setTimeout(function() {
6796
6811
  e.init(n, r);
6797
6812
  }, 0);
@@ -6803,23 +6818,23 @@ var of = new (function(e) {
6803
6818
  key: "init",
6804
6819
  value: function() {
6805
6820
  var e = this, t = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, n = arguments.length > 1 ? arguments[1] : void 0;
6806
- typeof t == "function" && (n = t, t = {}), t.whitelist && !t.supportedLngs && this.logger.deprecate("whitelist", "option \"whitelist\" will be renamed to \"supportedLngs\" in the next major - please make sure to rename this option asap."), t.nonExplicitWhitelist && !t.nonExplicitSupportedLngs && this.logger.deprecate("whitelist", "options \"nonExplicitWhitelist\" will be renamed to \"nonExplicitSupportedLngs\" in the next major - please make sure to rename this option asap."), this.options = X({}, nf(), this.options, rf(t)), this.format = this.options.interpolation.format, n || (n = af);
6821
+ typeof t == "function" && (n = t, t = {}), t.whitelist && !t.supportedLngs && this.logger.deprecate("whitelist", "option \"whitelist\" will be renamed to \"supportedLngs\" in the next major - please make sure to rename this option asap."), t.nonExplicitWhitelist && !t.nonExplicitSupportedLngs && this.logger.deprecate("whitelist", "options \"nonExplicitWhitelist\" will be renamed to \"nonExplicitSupportedLngs\" in the next major - please make sure to rename this option asap."), this.options = X({}, rf(), this.options, af(t)), this.format = this.options.interpolation.format, n || (n = of);
6807
6822
  function r(e) {
6808
6823
  return e ? typeof e == "function" ? new e() : e : null;
6809
6824
  }
6810
6825
  if (!this.options.isClone) {
6811
6826
  this.modules.logger ? $.init(r(this.modules.logger), this.options) : $.init(null, this.options);
6812
- var i = new Jd(this.options);
6813
- this.store = new Ud(this.options.resources, this.options);
6827
+ var i = new Yd(this.options);
6828
+ this.store = new Wd(this.options.resources, this.options);
6814
6829
  var a = this.services;
6815
- a.logger = $, a.resourceStore = this.store, a.languageUtils = i, a.pluralResolver = new Qd(i, {
6830
+ a.logger = $, a.resourceStore = this.store, a.languageUtils = i, a.pluralResolver = new $d(i, {
6816
6831
  prepend: this.options.pluralSeparator,
6817
6832
  compatibilityJSON: this.options.compatibilityJSON,
6818
6833
  simplifyPluralSuffix: this.options.simplifyPluralSuffix
6819
- }), a.interpolator = new $d(this.options), a.utils = { hasLoadedNamespace: this.hasLoadedNamespace.bind(this) }, a.backendConnector = new tf(r(this.modules.backend), a.resourceStore, a, this.options), a.backendConnector.on("*", function(t) {
6834
+ }), a.interpolator = new ef(this.options), a.utils = { hasLoadedNamespace: this.hasLoadedNamespace.bind(this) }, a.backendConnector = new nf(r(this.modules.backend), a.resourceStore, a, this.options), a.backendConnector.on("*", function(t) {
6820
6835
  var n = [...arguments].slice(1);
6821
6836
  e.emit.apply(e, [t].concat(n));
6822
- }), this.modules.languageDetector && (a.languageDetector = r(this.modules.languageDetector), a.languageDetector.init(a, this.options.detection, this.options)), this.modules.i18nFormat && (a.i18nFormat = r(this.modules.i18nFormat), a.i18nFormat.init && a.i18nFormat.init(this)), this.translator = new Kd(this.services, this.options), this.translator.on("*", function(t) {
6837
+ }), this.modules.languageDetector && (a.languageDetector = r(this.modules.languageDetector), a.languageDetector.init(a, this.options.detection, this.options)), this.modules.i18nFormat && (a.i18nFormat = r(this.modules.i18nFormat), a.i18nFormat.init && a.i18nFormat.init(this)), this.translator = new qd(this.services, this.options), this.translator.on("*", function(t) {
6823
6838
  var n = [...arguments].slice(1);
6824
6839
  e.emit.apply(e, [t].concat(n));
6825
6840
  }), this.modules.external.forEach(function(t) {
@@ -6851,7 +6866,7 @@ var of = new (function(e) {
6851
6866
  return (n = e.store)[t].apply(n, arguments), e;
6852
6867
  };
6853
6868
  });
6854
- var s = Ad(), c = function() {
6869
+ var s = jd(), c = function() {
6855
6870
  var t = function(t, r) {
6856
6871
  e.isInitialized && e.logger.warn("init: i18next is already initialized. You should call init just once!"), e.isInitialized = !0, e.options.isClone || e.logger.log("initialized", e.options), e.emit("initialized", e.options), s.resolve(r), n(t, r);
6857
6872
  };
@@ -6864,7 +6879,7 @@ var of = new (function(e) {
6864
6879
  {
6865
6880
  key: "loadResources",
6866
6881
  value: function(e) {
6867
- var t = this, n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : af, r = typeof e == "string" ? e : this.language;
6882
+ var t = this, n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : of, r = typeof e == "string" ? e : this.language;
6868
6883
  if (typeof e == "function" && (n = e), !this.options.resources || this.options.partialBundledLanguages) {
6869
6884
  if (r && r.toLowerCase() === "cimode") return n();
6870
6885
  var i = [], a = function(e) {
@@ -6883,8 +6898,8 @@ var of = new (function(e) {
6883
6898
  {
6884
6899
  key: "reloadResources",
6885
6900
  value: function(e, t, n) {
6886
- var r = Ad();
6887
- return e || (e = this.languages), t || (t = this.options.ns), n || (n = af), this.services.backendConnector.reload(e, t, function(e) {
6901
+ var r = jd();
6902
+ return e || (e = this.languages), t || (t = this.options.ns), n || (n = of), this.services.backendConnector.reload(e, t, function(e) {
6888
6903
  r.resolve(), n(e);
6889
6904
  }), r;
6890
6905
  }
@@ -6894,7 +6909,7 @@ var of = new (function(e) {
6894
6909
  value: function(e) {
6895
6910
  if (!e) throw Error("You are passing an undefined module! Please check the object you are passing to i18next.use()");
6896
6911
  if (!e.type) throw Error("You are passing a wrong module! Please check the object you are passing to i18next.use()");
6897
- return e.type === "backend" && (this.modules.backend = e), (e.type === "logger" || e.log && e.warn && e.error) && (this.modules.logger = e), e.type === "languageDetector" && (this.modules.languageDetector = e), e.type === "i18nFormat" && (this.modules.i18nFormat = e), e.type === "postProcessor" && Wd.addPostProcessor(e), e.type === "3rdParty" && this.modules.external.push(e), this;
6912
+ return e.type === "backend" && (this.modules.backend = e), (e.type === "logger" || e.log && e.warn && e.error) && (this.modules.logger = e), e.type === "languageDetector" && (this.modules.languageDetector = e), e.type === "i18nFormat" && (this.modules.i18nFormat = e), e.type === "postProcessor" && Gd.addPostProcessor(e), e.type === "3rdParty" && this.modules.external.push(e), this;
6898
6913
  }
6899
6914
  },
6900
6915
  {
@@ -6902,7 +6917,7 @@ var of = new (function(e) {
6902
6917
  value: function(e, t) {
6903
6918
  var n = this;
6904
6919
  this.isLanguageChangingTo = e;
6905
- var r = Ad();
6920
+ var r = jd();
6906
6921
  this.emit("languageChanging", e);
6907
6922
  var i = function(e, i) {
6908
6923
  i ? (n.language = i, n.languages = n.services.languageUtils.toResolveHierarchy(i), n.translator.changeLanguage(i), n.isLanguageChangingTo = void 0, n.emit("languageChanged", i), n.logger.log("languageChanged", i)) : n.isLanguageChangingTo = void 0, r.resolve(function() {
@@ -6975,7 +6990,7 @@ var of = new (function(e) {
6975
6990
  {
6976
6991
  key: "loadNamespaces",
6977
6992
  value: function(e, t) {
6978
- var n = this, r = Ad();
6993
+ var n = this, r = jd();
6979
6994
  return this.options.ns ? (typeof e == "string" && (e = [e]), e.forEach(function(e) {
6980
6995
  n.options.ns.indexOf(e) < 0 && n.options.ns.push(e);
6981
6996
  }), this.loadResources(function(e) {
@@ -6986,7 +7001,7 @@ var of = new (function(e) {
6986
7001
  {
6987
7002
  key: "loadLanguages",
6988
7003
  value: function(e, t) {
6989
- var n = Ad();
7004
+ var n = jd();
6990
7005
  typeof e == "string" && (e = [e]);
6991
7006
  var r = this.options.preload || [], i = e.filter(function(e) {
6992
7007
  return r.indexOf(e) < 0;
@@ -7011,21 +7026,21 @@ var of = new (function(e) {
7011
7026
  {
7012
7027
  key: "cloneInstance",
7013
7028
  value: function() {
7014
- var e = this, n = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, r = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : af, i = X({}, this.options, n, { isClone: !0 }), a = new t(i);
7029
+ var e = this, n = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, r = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : of, i = X({}, this.options, n, { isClone: !0 }), a = new t(i);
7015
7030
  return [
7016
7031
  "store",
7017
7032
  "services",
7018
7033
  "language"
7019
7034
  ].forEach(function(t) {
7020
7035
  a[t] = e[t];
7021
- }), a.services = X({}, this.services), a.services.utils = { hasLoadedNamespace: a.hasLoadedNamespace.bind(a) }, a.translator = new Kd(a.services, a.options), a.translator.on("*", function(e) {
7036
+ }), a.services = X({}, this.services), a.services.utils = { hasLoadedNamespace: a.hasLoadedNamespace.bind(a) }, a.translator = new qd(a.services, a.options), a.translator.on("*", function(e) {
7022
7037
  var t = [...arguments].slice(1);
7023
7038
  a.emit.apply(a, [e].concat(t));
7024
7039
  }), a.init(i, r), a.translator.options = a.options, a.translator.backendConnector.services.utils = { hasLoadedNamespace: a.hasLoadedNamespace.bind(a) }, a;
7025
7040
  }
7026
7041
  }
7027
7042
  ]), t;
7028
- }(kd))(), sf = {
7043
+ }(Ad))(), cf = {
7029
7044
  de: "Deutsch",
7030
7045
  en: "English",
7031
7046
  es: "Español",
@@ -7050,47 +7065,47 @@ var of = new (function(e) {
7050
7065
  };
7051
7066
  //#endregion
7052
7067
  //#region src/utils/localStorage.ts
7053
- function cf() {
7068
+ function lf() {
7054
7069
  try {
7055
7070
  return localStorage.setItem("test", "test"), localStorage.removeItem("test"), !0;
7056
7071
  } catch {
7057
7072
  return !1;
7058
7073
  }
7059
7074
  }
7060
- var lf = cf(), uf = "en", df = "efp-locale", ff = "language", pf = i.box(uf), mf = i.array([], { deep: !1 }), hf = (e) => md(`${ld}locales/${e}.json`), gf = () => {
7061
- if (!lf) return null;
7062
- let e = localStorage.getItem(df), t = localStorage.getItem(ff);
7063
- return t && localStorage.removeItem(ff), e || (t && localStorage.setItem(df, t), t);
7064
- }, _f = () => {
7075
+ var uf = lf(), df = "en", ff = "efp-locale", pf = "language", mf = i.box(df), hf = i.array([], { deep: !1 }), gf = (e) => hd(`${ud}locales/${e}.json`), _f = () => {
7076
+ if (!uf) return null;
7077
+ let e = localStorage.getItem(ff), t = localStorage.getItem(pf);
7078
+ return t && localStorage.removeItem(pf), e || (t && localStorage.setItem(ff, t), t);
7079
+ }, vf = () => {
7065
7080
  var e;
7066
- let t = ((e = navigator.languages) == null ? void 0 : e[0]) || navigator.language, n = Object.keys(sf).find((e) => t.startsWith(e));
7067
- return (gf() || c().locale || n || uf).toLowerCase();
7068
- }, vf = () => pf.get(), yf = () => mf, bf = (e) => mf.some((t) => t.id === e), xf = (e, t) => (pf.get(), of.t(e, t)), Sf = (e, t) => (pf.get(), of.exists(e, t) ? of.t(e, t) : e), Cf = async () => {
7069
- mf.replace(Object.entries(sf).sort(([e], [t]) => e.localeCompare(t)).map(([e, t]) => ({
7081
+ let t = ((e = navigator.languages) == null ? void 0 : e[0]) || navigator.language, n = Object.keys(cf).find((e) => t.startsWith(e));
7082
+ return (_f() || c().locale || n || df).toLowerCase();
7083
+ }, yf = () => mf.get(), bf = () => hf, xf = (e) => hf.some((t) => t.id === e), Sf = (e, t) => (mf.get(), sf.t(e, t)), Cf = (e, t) => (mf.get(), sf.exists(e, t) ? sf.t(e, t) : e), wf = async () => {
7084
+ hf.replace(Object.entries(cf).sort(([e], [t]) => e.localeCompare(t)).map(([e, t]) => ({
7070
7085
  id: e,
7071
7086
  name: t,
7072
- entity: { type: Ju }
7087
+ entity: { type: Yu }
7073
7088
  })));
7074
- let e = _f(), t = {};
7075
- if (e !== uf) try {
7076
- t[e] = { translation: await hf(e) };
7089
+ let e = vf(), t = {};
7090
+ if (e !== df) try {
7091
+ t[e] = { translation: await gf(e) };
7077
7092
  } catch (t) {
7078
- console.error(`Unable to load "${e}" localization, falling back to "${uf}".`, t), e = uf;
7093
+ console.error(`Unable to load "${e}" localization, falling back to "${df}".`, t), e = df;
7079
7094
  }
7080
- return pf.set(e), of.init({
7095
+ return mf.set(e), sf.init({
7081
7096
  resources: t,
7082
7097
  lng: e,
7083
7098
  keySeparator: !1,
7084
- saveMissing: e !== uf,
7099
+ saveMissing: e !== df,
7085
7100
  missingKeyHandler: (e, t, n, r) => console.debug(`i18n missing key: '${e[0]}:${t}:${n}', fallback: '${r}'`)
7086
7101
  });
7087
- }, wf = async (e) => {
7102
+ }, Tf = async (e) => {
7088
7103
  let t = e.toLowerCase();
7089
7104
  try {
7090
- t !== uf && !of.hasResourceBundle(t, "translation") && of.addResourceBundle(t, "translation", await hf(t), !0, !0), await of.changeLanguage(t), pf.set(t), lf && localStorage.setItem(df, t);
7105
+ t !== df && !sf.hasResourceBundle(t, "translation") && sf.addResourceBundle(t, "translation", await gf(t), !0, !0), await sf.changeLanguage(t), mf.set(t), uf && localStorage.setItem(ff, t);
7091
7106
  } catch (e) {
7092
7107
  console.error(`Failed to switch language to "${t}":`, e);
7093
7108
  }
7094
- }, Tf = async () => (lf && (localStorage.removeItem(df), localStorage.removeItem(ff)), wf(_f()));
7109
+ }, Ef = async () => (uf && (localStorage.removeItem(ff), localStorage.removeItem(pf)), Tf(vf()));
7095
7110
  //#endregion
7096
- export { Sc as $, Xu as A, Uu as B, od as C, D as Ct, Ju as D, c as Dt, Hu as E, u as Et, Vu as F, yl as G, Yu as H, zu as I, ol as J, bl as K, Fu as L, Ru as M, Ku as N, Qu as O, s as Ot, Bu as P, Ec as Q, Zu as R, id as S, Ne as St, ad as T, O as Tt, Pu as U, $u as V, yu as W, pl as X, hl as Y, Zc as Z, qu as _, Rt as _t, Tf as a, os as at, td as b, ke as bt, Sf as c, Nr as ct, hd as d, bn as dt, Cc as et, vd as f, er as ft, Lu as g, Vn as gt, ld as h, wn as ht, Cf as i, Rs as it, sd as j, ed as k, o as kt, lf as l, si as lt, pd as m, fn as mt, yf as n, oc as nt, wf as o, ts as ot, gd as p, vn as pt, J as q, bf as r, ac as rt, xf as s, zr as st, vf as t, cc as tt, Ed as u, or as ut, Wu as v, M as vt, rd as w, x as wt, nd as x, je as xt, Gu as y, De as yt, Iu as z };
7111
+ export { Sc as $, Zu as A, o as At, Wu as B, sd as C, Ne as Ct, Yu as D, u as Dt, Uu as E, O as Et, Hu as F, bl as G, Xu as H, Bu as I, sl as J, xl as K, Iu as L, zu as M, qu as N, $u as O, c as Ot, Vu as P, Ec as Q, Qu as R, ad as S, je as St, od as T, x as Tt, Fu as U, ed as V, bu as W, ml as X, gl as Y, Zc as Z, Ju as _, Vn as _t, Ef as a, Rs as at, nd as b, De as bt, Cf as c, zr as ct, gd as d, or as dt, Cc as et, yd as f, bn as ft, Ru as g, wn as gt, ud as h, fn as ht, wf as i, ac as it, cd as j, td as k, s as kt, uf as l, Nr as lt, md as m, vn as mt, bf as n, vc as nt, Tf as o, os as ot, _d as p, er as pt, J as q, xf as r, oc as rt, Sf as s, ts as st, yf as t, cc as tt, Dd as u, si as ut, Gu as v, Rt as vt, id as w, D as wt, rd as x, ke as xt, Ku as y, M as yt, Lu as z };