@egen-civitas/esm-app-shell 2.9.0 → 2.9.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +18 -0
- package/dist/{848b3881142315e7.js → 6e590e5d195a54b4.js} +1 -1
- package/dist/{848b3881142315e7.js.map → 6e590e5d195a54b4.js.map} +1 -1
- package/dist/{2e2ccc5b81ae0b4c.js → 76aef6b4c07d22a7.js} +1 -1
- package/dist/{2e2ccc5b81ae0b4c.js.map → 76aef6b4c07d22a7.js.map} +1 -1
- package/dist/{b7324828bac24446.js.map → 783e0df32ba4f6e0.js.map} +1 -1
- package/dist/aea2f26a0b8c7dca.js +1 -0
- package/dist/aea2f26a0b8c7dca.js.map +1 -0
- package/dist/{685fd90ff07192f2.js → e431e8be524b7253.js} +2 -2
- package/dist/e431e8be524b7253.js.map +1 -0
- package/dist/e7bbded2c2574aaf.js +1 -0
- package/dist/e7bbded2c2574aaf.js.map +1 -0
- package/dist/{egen.4bce63bf907371a3.js → egen.569d8153adbf4ec8.js} +2 -2
- package/dist/{egen.4bce63bf907371a3.js.map → egen.569d8153adbf4ec8.js.map} +1 -1
- package/dist/index.html +1 -1
- package/package.json +5 -5
- package/src/layout-sync.ts +1 -1
- package/dist/449200dce625680d.js +0 -1
- package/dist/449200dce625680d.js.map +0 -1
- package/dist/5b9292f6b1ef4f67.js +0 -1
- package/dist/5b9292f6b1ef4f67.js.map +0 -1
- package/dist/685fd90ff07192f2.js.map +0 -1
- /package/dist/{b7324828bac24446.js → 783e0df32ba4f6e0.js} +0 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,23 @@
|
|
|
1
1
|
# @egen-civitas/esm-app-shell
|
|
2
2
|
|
|
3
|
+
## 2.9.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- 74f778d: Conformité à la TopBar neutre du core (niveaux déclarés par les apps).
|
|
8
|
+
|
|
9
|
+
- `esm-extensions` : nouveau `TOPBAR_SLOT` (`topbar-slot`, seul slot d'extension de la TopBar) et types `TopBarPlacementMeta` / `TopBarRegion` / `TopBarContentRegion` pour la déclaration `meta.topbar` (niveau, rang, région, ordre, before/after). Retrait de `TOPBAR_LEVEL2_NAV_SLOT` et `TOPBAR_NAV_SLOTS` : le slot de navigation est uniquement `TOPBAR_NAV_SLOT` (`topbar-nav-slot`).
|
|
10
|
+
- `esm-styleguide` : `SectionNavPanel` ne lit plus l'ancien slot `topbar-level2-nav`.
|
|
11
|
+
- `esm-framework` : mocks alignés. `esm-app-shell` : documentation du layout-sync sans notion de niveau figé.
|
|
12
|
+
|
|
13
|
+
- Updated dependencies [c5d96c9]
|
|
14
|
+
- Updated dependencies [340f5fe]
|
|
15
|
+
- Updated dependencies [74f778d]
|
|
16
|
+
- @egen-civitas/esm-platform@1.2.0
|
|
17
|
+
- @egen-civitas/esm-framework@4.1.0
|
|
18
|
+
- @egen-civitas/esm-globals@2.2.0
|
|
19
|
+
- @egen-civitas/esm-styleguide@4.1.0
|
|
20
|
+
|
|
3
21
|
## 2.9.0
|
|
4
22
|
|
|
5
23
|
### Minor Changes
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";(self.webpackChunk_egen_civitas_esm_app_shell=self.webpackChunk_egen_civitas_esm_app_shell||[]).push([["1176"],{9755(h,v,a){var s=a(3645),g=a(3693),t=a(7388),e=a(1017),n=document.createElement("div"),l=function(){document.body.appendChild(n)};n.id="egen-svgs-container",n.style.display="none","complete"===document.readyState?l():window.addEventListener("load",l);var w=[],o=!1;function c(h,v){if(!o)return void w.push({id:h,svg:v});var a=new DOMParser().parseFromString(v,"image/svg+xml").querySelector("svg");a&&(a.id=h,n.appendChild(a))}var p=a(2883);a(8783);var i=a(8300),r=a(5565);function d(h,v){document.documentElement.style.setProperty(h,v)}(0,s.defineConfigSchema)("@egen-civitas/esm-styleguide",e.u),(0,s.getConfigStore)("@egen-civitas/esm-styleguide").subscribe(function(h){h.loaded&&h.config&&(d("--brand-01",h.config["Brand color #1"]),d("--brand-02",h.config["Brand color #2"]),d("--brand-03",h.config["Brand color #3"]))}),c("egen-icon-activity",'<svg xmlns="http://www.w3.org/2000/svg"><path d="M6 14.5a.5.5 0 0 1-.46-.31L3.165 8.5H1v-1h2.5a.5.5 0 0 1 .46.31L6 12.64l4.03-10.815a.5.5 0 0 1 .47-.325.5.5 0 0 1 .465.34L12.86 7.5H15v1h-2.5a.5.5 0 0 1-.475-.34L10.5 3.5 6.47 14.175A.5.5 0 0 1 6 14.5"/></svg>'),c("egen-icon-add",'<svg xmlns="http://www.w3.org/2000/svg"><path d="M8.5 7.5V4h-1v3.5H4v1h3.5V12h1V8.5H12v-1z"/></svg>'),c("egen-icon-arrow-down",'<svg xmlns="http://www.w3.org/2000/svg"><path d="M12.295 8.295 8.5 12.085V2h-1v10.085l-3.795-3.79L3 9l5 5 5-5z"/></svg>'),c("egen-icon-arrow-left",'<svg xmlns="http://www.w3.org/2000/svg"><path d="m7 13 .705-.705L3.915 8.5H14v-1H3.915l3.79-3.795L7 3 2 8z"/></svg>'),c("egen-icon-arrow-right",'<svg xmlns="http://www.w3.org/2000/svg"><path d="m9 3-.715.696 3.79 3.804H2v1h10.075l-3.79 3.787L9 13l5-5z"/></svg>'),c("egen-icon-arrow-up",'<svg xmlns="http://www.w3.org/2000/svg"><path d="M8 2 3 7l.705.705L7.5 3.915V14h1V3.915l3.795 3.79L13 7z"/></svg>'),c("egen-icon-calendar-heat-map",'<svg xmlns="http://www.w3.org/2000/svg"><path d="M13 2h-2V1h-1v1H6V1H5v1H3a1 1 0 0 0-1 1v10a1 1 0 0 0 1 1h10a1 1 0 0 0 1-1V3a1 1 0 0 0-1-1M3 3h2v1h1V3h4v1h1V3h2v2H3zm0 3h2.5v3H3zm6.5 7h-3v-3h3zm0-4h-3V6h3zm1 4v-3H13v3z"/></svg>'),c("egen-icon-calendar",'<svg xmlns="http://www.w3.org/2000/svg"><path d="M13 2h-2V1h-1v1H6V1H5v1H3c-.55 0-1 .45-1 1v10c0 .55.45 1 1 1h10c.55 0 1-.45 1-1V3c0-.55-.45-1-1-1m0 11H3V6h10zm0-8H3V3h2v1h1V3h4v1h1V3h2z"/></svg>'),c("egen-icon-caret-down",'<svg xmlns="http://www.w3.org/2000/svg"><path d="m12 6-4 5-4-5z"/></svg>'),c("egen-icon-caret-left",'<svg xmlns="http://www.w3.org/2000/svg"><path d="M10 12 5 8l5-4z"/></svg>'),c("egen-icon-caret-right",'<svg xmlns="http://www.w3.org/2000/svg"><path d="m6 4 5 4-5 4z"/></svg>'),c("egen-icon-caret-up",'<svg xmlns="http://www.w3.org/2000/svg"><path d="m4 10 4-5 4 5z"/></svg>'),c("egen-icon-chart-average",'<svg xmlns="http://www.w3.org/2000/svg"><path d="M11.5 12c-1.8 0-2.515-2.088-3.206-4.107C7.638 5.979 6.96 4 5.5 4a1.72 1.72 0 0 0-1.527 1.16l-.947-.318C3.05 4.767 3.66 3 5.5 3c2.175 0 3.006 2.427 3.74 4.569C9.844 9.333 10.415 11 11.5 11a1.72 1.72 0 0 0 1.527-1.16l.947.318C13.95 10.233 13.34 12 11.5 12"/><path d="M2 14V8.5h1v-1H2V1H1v13a1 1 0 0 0 1 1h13v-1z"/><path d="M5 7.5H4v1h1zM7 7.5H6v1h1zM11 7.5h-1v1h1zM13 7.5h-1v1h1zM15 7.5h-1v1h1z"/></svg>'),c("egen-icon-chart-line",'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32"><path d="m4.67 28 6.39-12 7.3 6.49a2 2 0 0 0 1.7.47 2 2 0 0 0 1.42-1.07L27 10.9l-1.82-.9-5.49 11-7.3-6.49a2 2 0 0 0-1.68-.51 2 2 0 0 0-1.42 1L4 25V2H2v26a2 2 0 0 0 2 2h26v-2Z"/><path d="M0 0h32v32H0z" data-name="<Transparent Rectangle>" style="fill:none"/></svg>'),c("egen-icon-checkmark-filled",'<svg xmlns="http://www.w3.org/2000/svg"><path d="M8 1a7 7 0 1 0 0 14A7 7 0 0 0 8 1m-1 9.795-2.5-2.5.795-.795L7 9.205 10.705 5.5l.798.793z"/></svg>'),c("egen-icon-checkmark-outline",'<svg xmlns="http://www.w3.org/2000/svg"><path d="m7 10.707-2.5-2.5.707-.707L7 9.293 10.793 5.5l.707.707z"/><path d="M8 1a7 7 0 1 0 0 14A7 7 0 0 0 8 1m0 13A6 6 0 1 1 8 2a6 6 0 0 1 0 12"/></svg>'),c("egen-icon-chevron-down",'<svg xmlns="http://www.w3.org/2000/svg"><path d="M8 11 3 6l.7-.7L8 9.6l4.3-4.3.7.7z"/></svg>'),c("egen-icon-chevron-left",'<svg xmlns="http://www.w3.org/2000/svg"><path d="m5 8 5-5 .7.7L6.4 8l4.3 4.3-.7.7z"/></svg>'),c("egen-icon-chevron-right",'<svg xmlns="http://www.w3.org/2000/svg"><path d="m11 8-5 5-.7-.7L9.6 8 5.3 3.7 6 3z"/></svg>'),c("egen-icon-chevron-up",'<svg xmlns="http://www.w3.org/2000/svg"><path d="m8 5 5 5-.7.7L8 6.4l-4.3 4.3L3 10z"/></svg>'),c("egen-icon-close",'<svg xmlns="http://www.w3.org/2000/svg"><path d="m12 4.7-.7-.7L8 7.3 4.7 4l-.7.7L7.3 8 4 11.3l.7.7L8 8.7l3.3 3.3.7-.7L8.7 8z"/></svg>'),c("egen-icon-close-filled",'<svg xmlns="http://www.w3.org/2000/svg"><path d="M8 1C4.1 1 1 4.1 1 8s3.1 7 7 7 7-3.1 7-7-3.1-7-7-7m2.7 10.5L8 8.8l-2.7 2.7-.8-.8L7.2 8 4.5 5.3l.8-.8L8 7.2l2.7-2.7.8.8L8.8 8l2.7 2.7z"/></svg>'),c("egen-icon-close-outline",'<svg xmlns="http://www.w3.org/2000/svg"><path d="M8 1C4.1 1 1 4.1 1 8s3.1 7 7 7 7-3.1 7-7-3.1-7-7-7m0 13c-3.3 0-6-2.7-6-6s2.7-6 6-6 6 2.7 6 6-2.7 6-6 6"/><path d="M10.7 11.5 8 8.8l-2.7 2.7-.8-.8L7.2 8 4.5 5.3l.8-.8L8 7.2l2.7-2.7.8.8L8.8 8l2.7 2.7z"/></svg>'),c("egen-icon-document",'<svg xmlns="http://www.w3.org/2000/svg"><path d="m12.85 4.65-3.5-3.5C9.25 1.05 9.15 1 9 1H4c-.55 0-1 .45-1 1v12c0 .55.45 1 1 1h8c.55 0 1-.45 1-1V5c0-.15-.05-.25-.15-.35M9 2.2 11.8 5H9zM12 14H4V2h4v3c0 .55.45 1 1 1h3z"/><path d="M11 11H5v1h6zM11 8H5v1h6z"/></svg>'),c("egen-icon-document-attachment",'<svg xmlns="http://www.w3.org/2000/svg"><path d="M13 15H5.5a1 1 0 0 1-1-1v-3h1v3H13V3H8.5V2H13a1 1 0 0 1 1 1v11a1 1 0 0 1-1 1"/><path d="M12 5H8.5v1H12zM12 7.5H8v1h4zM12 10H7.5v1H12zM4.5 9.5A2.503 2.503 0 0 1 2 7V1.5h1V7a1.5 1.5 0 0 0 3 0V2.5a.5.5 0 1 0-1 0v5H4v-5a1.5 1.5 0 0 1 3 0V7a2.503 2.503 0 0 1-2.5 2.5"/></svg>'),c("egen-icon-download",'<svg xmlns="http://www.w3.org/2000/svg"><path d="M13 12v2H3v-2H2v2a1 1 0 0 0 1 1h10a1 1 0 0 0 1-1v-2zM13 7l-.705-.705-3.795 3.79V1h-1v9.085l-3.795-3.79L3 7l5 5z"/></svg>'),c("egen-icon-edit",'<svg xmlns="http://www.w3.org/2000/svg"><path d="M15 13H1v1h14zM12.7 4.5c.4-.4.4-1 0-1.4l-1.8-1.8c-.4-.4-1-.4-1.4 0L2 8.8V12h3.2zM10.2 2 12 3.8l-1.5 1.5-1.8-1.8zM3 11V9.2l5-5L9.8 6l-5 5z"/></svg>'),c("egen-icon-event-schedule",'<svg xmlns="http://www.w3.org/2000/svg"><path d="M10.5 15a4 4 0 1 1 0-8 4 4 0 0 1 0 8m0-7a3 3 0 1 0 0 6 3 3 0 0 0 0-6"/><path d="M11.295 12.5 10 11.205V9h1v1.795l1 1z"/><path d="M14 3a1 1 0 0 0-1-1h-2V1h-1v1H6V1H5v1H3a1 1 0 0 0-1 1v10a1 1 0 0 0 1 1h2v-1H3V3h2v1h1V3h4v1h1V3h2v3h1z"/></svg>'),c("egen-icon-events",'<svg xmlns="http://www.w3.org/2000/svg"><path d="M13 7h-1v1h1a1.5 1.5 0 0 1 1.5 1.5v2h1v-2A2.503 2.503 0 0 0 13 7M12 2a1.5 1.5 0 1 1 0 3 1.5 1.5 0 0 1 0-3m0-1a2.5 2.5 0 1 0 0 5 2.5 2.5 0 0 0 0-5M11.5 15h-1v-1A1.5 1.5 0 0 0 9 12.5H7A1.5 1.5 0 0 0 5.5 14v1h-1v-1A2.503 2.503 0 0 1 7 11.5h2a2.503 2.503 0 0 1 2.5 2.5zM8 6.5a1.5 1.5 0 1 1 0 3 1.5 1.5 0 0 1 0-3m0-1a2.5 2.5 0 1 0 0 5 2.5 2.5 0 0 0 0-5M4 7H3A2.503 2.503 0 0 0 .5 9.5v2h1v-2A1.5 1.5 0 0 1 3 8h1zM4 2a1.5 1.5 0 1 1 0 3 1.5 1.5 0 0 1 0-3m0-1a2.5 2.5 0 1 0 0 5 2.5 2.5 0 0 0 0-5"/></svg>'),c("egen-icon-group",'<svg xmlns="http://www.w3.org/2000/svg"><path d="M15.5 15h-1v-1.5A1.5 1.5 0 0 0 13 12h-2a1.5 1.5 0 0 0-1.5 1.5V15h-1v-1.5A2.5 2.5 0 0 1 11 11h2a2.5 2.5 0 0 1 2.5 2.5zM12 6a1.5 1.5 0 1 1 0 3 1.5 1.5 0 0 1 0-3m0-1a2.5 2.5 0 1 0 0 5 2.5 2.5 0 0 0 0-5M7.5 11h-1V9.5A1.5 1.5 0 0 0 5 8H3a1.5 1.5 0 0 0-1.5 1.5V11h-1V9.5A2.5 2.5 0 0 1 3 7h2a2.5 2.5 0 0 1 2.5 2.5zM4 2a1.5 1.5 0 1 1 0 3 1.5 1.5 0 0 1 0-3m0-1a2.5 2.5 0 1 0 0 5 2.5 2.5 0 0 0 0-5"/></svg>'),c("egen-icon-group-access",'<svg xmlns="http://www.w3.org/2000/svg"><path d="M4 9.5H3v-1A1.5 1.5 0 0 1 4.5 7H7v1H4.5a.5.5 0 0 0-.5.5zM6 6.5a2 2 0 1 1 0-4 2 2 0 0 1 0 4m0-3a1 1 0 1 0 0 2 1 1 0 0 0 0-2M10 10a2 2 0 1 1 0-4 2 2 0 0 1 0 4m0-3a1 1 0 1 0 0 2 1 1 0 0 0 0-2M13 13h-1v-1a.5.5 0 0 0-.5-.5h-3a.5.5 0 0 0-.5.5v1H7v-1a1.5 1.5 0 0 1 1.5-1.5h3A1.5 1.5 0 0 1 13 12z"/><path d="M4 15H2a1 1 0 0 1-1-1V2a1 1 0 0 1 1-1h2v1H2v12h2zM14 15h-2v-1h2V2h-2V1h2a1 1 0 0 1 1 1v12a1 1 0 0 1-1 1"/></svg>'),c("egen-icon-information",'<svg xmlns="http://www.w3.org/2000/svg"><path d="M8.5 11V7h-2v1h1v3H6v1h4v-1zM8 4a.75.75 0 1 0 0 1.5A.75.75 0 0 0 8 4"/><path d="M8 15A7 7 0 1 1 8 1a7 7 0 0 1 0 14M8 2a6 6 0 1 0 0 12A6 6 0 0 0 8 2"/></svg>'),c("egen-icon-information-filled",'<svg xmlns="http://www.w3.org/2000/svg"><path d="M8 1a7 7 0 1 0 0 14A7 7 0 0 0 8 1m0 3a.75.75 0 1 1 0 1.5A.75.75 0 0 1 8 4m2 8.063H6v-1.126h1.438V8.063H6.5V6.937h2.063v4H10z"/></svg>'),c("egen-icon-information-square",'<svg xmlns="http://www.w3.org/2000/svg"><path d="M8.5 11V7h-2v1h1v3H6v1h4v-1zM8 4a.75.75 0 1 0 0 1.5A.75.75 0 0 0 8 4"/><path d="M13 14H3a1 1 0 0 1-1-1V3a1 1 0 0 1 1-1h10a1 1 0 0 1 1 1v10a1 1 0 0 1-1 1M3 3v10h10V3z"/></svg>'),c("egen-icon-inventory-management",'<svg xmlns="http://www.w3.org/2000/svg"><path d="M11.5 12h-2v2h2zM15 12h-2v2h2zM11.5 8.5h-2v2h2zM15 8.5h-2v2h2z"/><path d="M8.5 12H2V5h12v2.5h1V5a1 1 0 0 0-1-1h-3V2a1 1 0 0 0-1-1H6a1 1 0 0 0-1 1v2H2a1 1 0 0 0-1 1v7a1 1 0 0 0 1 1h6.5zM6 2h4v2H6z"/></svg>'),c("egen-icon-list-checked",'<svg xmlns="http://www.w3.org/2000/svg"><path d="M15 4H8v1h7zM3 5.295 1.705 4 1 4.705l2 2 4-4L6.295 2zM15 11H8v1h7zM3 12.295 1.705 11 1 11.705l2 2 4-4L6.295 9z"/></svg>'),c("egen-icon-location",'<svg xmlns="http://www.w3.org/2000/svg"><path d="M8 9a2.5 2.5 0 1 1 0-5 2.5 2.5 0 0 1 0 5m0-4a1.5 1.5 0 1 0 0 3 1.5 1.5 0 0 0 0-3"/><path d="m8 15-4.218-4.974-.174-.226A5.44 5.44 0 0 1 2.5 6.5a5.5 5.5 0 1 1 11 0 5.44 5.44 0 0 1-1.107 3.299h-.001s-.15.198-.172.225zM4.406 9.198s.117.154.144.187L8 13.454l3.455-4.075.14-.183A4.45 4.45 0 0 0 12.5 6.5a4.5 4.5 0 1 0-9 0 4.45 4.45 0 0 0 .906 2.698"/></svg>'),c("egen-icon-maximize",'<svg xmlns="http://www.w3.org/2000/svg"><path d="M10 1v1h3.293L9 6.291 9.707 7 14 2.707V6h1V1zM7 9.708 6.296 9 2 13.293V10H1v5h5v-1H2.707z"/></svg>'),c("egen-icon-message-queue",'<svg xmlns="http://www.w3.org/2000/svg"><path d="M14 14H2a1 1 0 0 1-1-1v-2.5h1V13h12v-2.5h1V13a1 1 0 0 1-1 1"/><path d="M12.5 10.5h-9v1h9zM12.5 8h-9v1h9zM12.5 5.5h-9v1h9zM12.5 3h-9v1h9z"/></svg>'),c("egen-icon-money",'<svg xmlns="http://www.w3.org/2000/svg"><path d="M15 11H1v1h14zM15 13H1v1h14zM12 5a1 1 0 1 0 0 2 1 1 0 0 0 0-2M8 8a2 2 0 1 1 0-4 2 2 0 0 1 0 4m0-3a1 1 0 1 0 0 2 1 1 0 0 0 0-2M4 5a1 1 0 1 0 0 2 1 1 0 0 0 0-2"/><path d="M14 10H2a1.003 1.003 0 0 1-1-1V3a1.003 1.003 0 0 1 1-1h12a1.003 1.003 0 0 1 1 1v6a1 1 0 0 1-1 1m0-7H2v6h12z"/></svg>'),c("egen-icon-movement",'<svg xmlns="http://www.w3.org/2000/svg"><path d="m12 10-.705.705 1.79 1.795H5a2 2 0 1 1 0-4h6a3 3 0 0 0 0-6H2.915L4.705.705 4 0 1 3l3 3 .705-.705L2.915 3.5H11a2 2 0 0 1 0 4H5a3 3 0 1 0 0 6h8.085l-1.79 1.795L12 16l3-3z"/></svg>'),c("egen-icon-overflow-menu--horizontal",'<svg xmlns="http://www.w3.org/2000/svg"><path d="M4 9a1 1 0 1 0 0-2 1 1 0 0 0 0 2M8 9a1 1 0 1 0 0-2 1 1 0 0 0 0 2M12 9a1 1 0 1 0 0-2 1 1 0 0 0 0 2"/></svg>'),c("egen-icon-overflow-menu--vertical",'<svg xmlns="http://www.w3.org/2000/svg"><path d="M8 5a1 1 0 1 0 0-2 1 1 0 0 0 0 2M8 9a1 1 0 1 0 0-2 1 1 0 0 0 0 2M8 13a1 1 0 1 0 0-2 1 1 0 0 0 0 2"/></svg>'),c("egen-icon-password",'<svg xmlns="http://www.w3.org/2000/svg"><path d="M10.5 1a4.5 4.5 0 0 0-4.306 5.806L1 12v3h3l5.194-5.194A4.5 4.5 0 1 0 10.5 1m0 8c-.344 0-.687-.051-1.016-.151l-.573-.174-2.015 2.014L6.207 10l-.707.707.69.69-.794.792-.689-.689-.707.707.69.69L3.585 14H2v-1.586L7.325 7.09l-.174-.573A3.5 3.5 0 1 1 10.5 9"/><path d="M11 6a1 1 0 1 0 0-2 1 1 0 0 0 0 2"/></svg>'),c("egen-icon-pedestrian-family",'<svg xmlns="http://www.w3.org/2000/svg"><path d="M10 15H8.5a1 1 0 0 1-1-1v-2.5h1V14H10v-2.5h1v-2a.5.5 0 0 0-.5-.5H6.14l-1-3H2a.5.5 0 0 0-.5.5v3h1V14h2v-3.5h1V14a1 1 0 0 1-1 1h-2a1 1 0 0 1-1-1v-3.5a1 1 0 0 1-1-1v-3A1.5 1.5 0 0 1 2 5h3.14a1 1 0 0 1 .948.684L6.86 8h3.64A1.5 1.5 0 0 1 12 9.5v2a1 1 0 0 1-1 1V14a1 1 0 0 1-1 1M14 15h-1V9.5h1.5v-3A.5.5 0 0 0 14 6h-2V5h2a1.5 1.5 0 0 1 1.5 1.5v3a1 1 0 0 1-1 1H14zM3.5 4.5a2 2 0 1 1 0-4 2 2 0 0 1 0 4m0-3a1 1 0 1 0 0 2 1 1 0 0 0 0-2M12.5 4.5a2 2 0 1 1 0-4 2 2 0 0 1 0 4m0-3a1 1 0 1 0 0 2 1 1 0 0 0 0-2"/><path d="M9.25 7.5a1.75 1.75 0 1 1 0-3.5 1.75 1.75 0 0 1 0 3.5m0-2.5a.75.75 0 1 0 0 1.5.75.75 0 0 0 0-1.5"/></svg>'),c("egen-icon-pen",'<svg xmlns="http://www.w3.org/2000/svg"><path d="M13.654 3.053 15 1.707 14.293 1l-1.346 1.346L12.4 1.8a.967.967 0 0 0-1.4 0l-9 9V14h3.2l9-9a.967.967 0 0 0 0-1.4zM4.8 13H3v-1.8l8.7-8.7 1.8 1.8zM8.293 2 4.5 5.793l.707.707L9 2.707z"/></svg>'),c("egen-icon-printer",'<svg xmlns="http://www.w3.org/2000/svg"><path d="M14 4.5h-1.5v-3h-9v3H2a1 1 0 0 0-1 1v5a1 1 0 0 0 1 1h1.5v3h9v-3H14a1 1 0 0 0 1-1v-5a1 1 0 0 0-1-1m-9.5-2h7v2h-7zm7 11h-7v-5h7zm2.5-3h-1.5v-3h-9v3H2v-5h12z"/></svg>'),c("egen-icon-programs",'<svg xmlns="http://www.w3.org/2000/svg"><path d="M15 15h-1v-1a.5.5 0 0 0-.5-.5h-3a.5.5 0 0 0-.5.5v1H9v-1c0-.827.673-1.5 1.5-1.5h3c.827 0 1.5.673 1.5 1.5zM12 12c-1.103 0-2-.897-2-2s.897-2 2-2 2 .897 2 2-.897 2-2 2m0-3a1.001 1.001 0 0 0 0 2 1.001 1.001 0 0 0 0-2M5 10H4v1h1zM9 10H6v1h3zM5 8H4v1h1zM9 8H6v1h3zM5 6H4v1h1zM9 6H6v1h3z"/><path d="M10.5 2.5H9V2c0-.552-.449-1-1-1H5c-.551 0-1 .448-1 1v.5H2.5c-.551 0-1 .449-1 1V13c0 .552.449 1 1 1H7v-1H2.5V3.5H4v1h5v-1h1.5V7h1V3.5c0-.551-.449-1-1-1M8 3.5H5V2h3z"/></svg>'),c("egen-icon-renew",'<svg xmlns="http://www.w3.org/2000/svg"><path d="M6 5H3.39A5.5 5.5 0 0 1 13.5 8h1A6.5 6.5 0 0 0 3 3.84V2H2v4h4zM10 11h2.61A5.5 5.5 0 0 1 2.5 8h-1A6.5 6.5 0 0 0 13 12.16V14h1v-4h-4z"/></svg>'),c("egen-icon-report",'<svg xmlns="http://www.w3.org/2000/svg"><path d="M9 9H5v1h4zM11 6.5H5v1h6zM7.5 11.5H5v1h2.5z"/><path d="M12.5 2.5H11V2a1 1 0 0 0-1-1H6a1 1 0 0 0-1 1v.5H3.5a1 1 0 0 0-1 1V14a1 1 0 0 0 1 1h9a1 1 0 0 0 1-1V3.5a1 1 0 0 0-1-1M6 2h4v2H6zm6.5 12h-9V3.5H5V5h6V3.5h1.5z"/></svg>'),c("egen-icon-reset",'<svg xmlns="http://www.w3.org/2000/svg"><path fill="#161616" d="M9 14a6 6 0 1 0-6-6v3.1L1.2 9.3l-.7.7 3 3 3-3-.7-.7L4 11.1V8a5 5 0 1 1 5 5z"/></svg>'),c("egen-icon-save",'<svg xmlns="http://www.w3.org/2000/svg"><path fill="#161616" d="m13.855 4.645-2.5-2.5A.5.5 0 0 0 11 2H3a1 1 0 0 0-1 1v10a1 1 0 0 0 1 1h10a1 1 0 0 0 1-1V5a.5.5 0 0 0-.145-.355M6 3h4v2H6zm4 10H6V9h4zm1 0V9a1 1 0 0 0-1-1H6a1 1 0 0 0-1 1v4H3V3h2v2a1 1 0 0 0 1 1h4a1 1 0 0 0 1-1V3.205l2 2V13z"/></svg>'),c("egen-icon-search",'<svg xmlns="http://www.w3.org/2000/svg"><path d="m14.5 13.793-3.776-3.776a5.508 5.508 0 1 0-.707.707l3.776 3.776zM2 6.5a4.5 4.5 0 1 1 9 0 4.5 4.5 0 0 1-9 0"/></svg>'),c("egen-icon-settings",'<svg xmlns="http://www.w3.org/2000/svg"><path d="M13.5 8.38v-.765l.96-.84a1 1 0 0 0 .19-1.275l-1.18-2a1 1 0 0 0-1.185-.45l-1.215.41a6 6 0 0 0-.655-.375l-.255-1.26a1 1 0 0 0-1-.805H6.82a1 1 0 0 0-1 .805l-.255 1.26q-.343.166-.66.375l-1.19-.43a1 1 0 0 0-.32-.03 1 1 0 0 0-.865.5l-1.18 2a1 1 0 0 0 .205 1.255l.945.865v.765l-.945.84A1 1 0 0 0 1.35 10.5l1.18 2a1 1 0 0 0 1.185.45l1.215-.41q.315.21.655.375l.255 1.26a1 1 0 0 0 1 .805H9.2a1 1 0 0 0 1-.805l.255-1.26q.342-.165.66-.375l1.21.41q.155.051.32.05a1 1 0 0 0 .865-.5l1.14-2a1 1 0 0 0-.205-1.255zM12.605 12l-1.715-.58c-.402.34-.86.606-1.355.785L9.18 14H6.82l-.355-1.775a4.7 4.7 0 0 1-1.35-.785l-1.72.56-1.18-2 1.36-1.2a4.5 4.5 0 0 1 0-1.565L2.215 6l1.18-2 1.715.58a4.4 4.4 0 0 1 1.355-.785L6.82 2h2.36l.355 1.775c.49.184.947.45 1.35.785l1.72-.56 1.18 2-1.36 1.2a4.5 4.5 0 0 1 0 1.565L13.785 10z"/><path d="M8 11a3 3 0 1 1 3-3 2.97 2.97 0 0 1-3 3m0-5a1.955 1.955 0 0 0-2 2 1.955 1.955 0 0 0 2 2 1.954 1.954 0 0 0 2-2 1.954 1.954 0 0 0-2-2"/></svg>'),c("egen-icon-shopping-cart",'<svg xmlns="http://www.w3.org/2000/svg"><path d="M5 15a1 1 0 1 0 0-2 1 1 0 0 0 0 2M12 15a1 1 0 1 0 0-2 1 1 0 0 0 0 2M14 3.5H2.91L2.5 1.4A.5.5 0 0 0 2 1H0v1h1.59l1.91 9.6a.5.5 0 0 0 .5.4h9v-1H4.41L4 9h9a.5.5 0 0 0 .5-.39l1-4.5a.5.5 0 0 0-.5-.61M12.6 8H3.81l-.7-3.5h10.265z"/></svg>'),c("egen-icon-shopping-cart--arrow-down",'<svg xmlns="http://www.w3.org/2000/svg"><path d="M5 15a1 1 0 1 0 0-2 1 1 0 0 0 0 2M12 15a1 1 0 1 0 0-2 1 1 0 0 0 0 2M2.49 1.402A.5.5 0 0 0 2 1H0v1h1.59l1.92 9.598A.5.5 0 0 0 4 12h9v-1H4.41l-.4-2H13a.5.5 0 0 0 .488-.392L14.622 3.5h-1.024L12.6 8H3.81z"/><path d="M10.793 3.293 9 5.086V1H8v4.086L6.207 3.293 5.5 4l3 3 3-3z"/></svg>'),c("egen-icon-sticky-note-add",'<svg xmlns="http://www.w3.org/2000/svg"><path d="M11.5 1h-1v2h-2v1h2v2h1V4h2V3h-2z"/><path d="M7.5 2h-4a1.003 1.003 0 0 0-1 1v10a1.003 1.003 0 0 0 1 1h6a.45.45 0 0 0 .35-.15l3.5-3.5a.45.45 0 0 0 .15-.35V7h-1v2h-3a1.003 1.003 0 0 0-1 1v3h-5V3h4zm4.8 8-2.8 2.8V10z"/></svg>'),c("egen-icon-switcher",'<svg xmlns="http://www.w3.org/2000/svg"><path d="M9 2H7v2h2zM4 2H2v2h2zM14 2h-2v2h2zM9 7H7v2h2zM4 7H2v2h2zM14 7h-2v2h2zM9 12H7v2h2zM4 12H2v2h2zM14 12h-2v2h2z"/></svg>'),c("egen-icon-table-of-contents",'<svg xmlns="http://www.w3.org/2000/svg"><path d="M11 3H2v1h9zM11 6H2v1h9zM11 9H2v1h9zM11 12H2v1h9zM14 3h-1v1h1zM14 6h-1v1h1zM14 9h-1v1h1zM14 12h-1v1h1z"/></svg>'),c("egen-icon-table",'<svg xmlns="http://www.w3.org/2000/svg"><path d="M14.5 2.5a1 1 0 0 0-1-1h-11a1 1 0 0 0-1 1v11a1 1 0 0 0 1 1h11a1 1 0 0 0 1-1zm-1 0v2h-11v-2zm0 11h-11v-2h11zm0-3h-11v-2h11zm0-3h-11v-2h11z"/></svg>'),c("egen-icon-time",'<svg xmlns="http://www.w3.org/2000/svg"><path d="M8 15A7 7 0 1 1 8 1a7 7 0 0 1 0 14M8 2a6 6 0 1 0 0 12A6 6 0 0 0 8 2"/><path d="M10.295 11 7.5 8.205V3.5h1v4.29l2.5 2.505z"/></svg>'),c("egen-icon-tools",'<svg xmlns="http://www.w3.org/2000/svg"><path d="M6.05 1a4.9 4.9 0 0 0-2.7.8L6.55 5a1.05 1.05 0 0 1 .1 1.5 1.05 1.05 0 0 1-1.5-.1l-3.3-3.2A4.9 4.9 0 0 0 1 6.05a5.07 5.07 0 0 0 5.05 5.05c.438.002.874-.048 1.3-.15l3.35 3.35a2.51 2.51 0 1 0 3.55-3.55L10.9 7.4q.153-.641.15-1.3a5 5 0 0 0-5-5.1m4 5.05c0 .355-.051.709-.15 1.05l-.15.55.4.4 3.35 3.35a1.44 1.44 0 0 1 .45 1.05 1.36 1.36 0 0 1-.45 1.05 1.45 1.45 0 0 1-2.1 0l-3.35-3.35-.4-.4-.55.15c-.341.099-.695.15-1.05.15A4.14 4.14 0 0 1 3.2 8.9 3.82 3.82 0 0 1 2 6.05c0-.372.051-.742.15-1.1l2.2 2.2a2.07 2.07 0 0 0 2.95.1 2.07 2.07 0 0 0-.1-2.95L5 2.1c.323-.102.66-.153 1-.15A4.14 4.14 0 0 1 8.85 3.1a4.25 4.25 0 0 1 1.2 2.95"/></svg>'),c("egen-icon-translate",'<svg xmlns="http://www.w3.org/2000/svg"><path d="M13.925 14.5H15L12 7h-1.175l-3 7.5H8.9l.8-2h3.425zm-3.825-3 1.31-3.28 1.315 3.28zM9 3.5v-1H5.5V1h-1v1.5H1v1h5.37a7.36 7.36 0 0 1-1.595 3.09A6.8 6.8 0 0 1 3.63 4.5H2.58a8.2 8.2 0 0 0 1.5 2.79A8.4 8.4 0 0 1 1.5 9l.375.93A9.2 9.2 0 0 0 4.765 8a8.5 8.5 0 0 0 2.88 1.92L8 9a7.2 7.2 0 0 1-2.56-1.685A8.8 8.8 0 0 0 7.4 3.5z"/></svg>'),c("egen-icon-trash-can",'<svg xmlns="http://www.w3.org/2000/svg"><path d="M7 6H6v6h1zM10 6H9v6h1z"/><path d="M2 3v1h1v10a1 1 0 0 0 1 1h8a1 1 0 0 0 1-1V4h1V3zm2 11V4h8v10zM10 1H6v1h4z"/></svg>'),c("egen-icon-tree-view--alt",'<svg xmlns="http://www.w3.org/2000/svg"><g clip-path="url(#a)"><path d="M11.5 4.502h3a1 1 0 0 0 1-1v-2a1 1 0 0 0-1-1h-3a1 1 0 0 0-1 1v.5h-5v-.5a1 1 0 0 0-1-1h-3a1 1 0 0 0-1 1v2a1 1 0 0 0 1 1h3a1 1 0 0 0 1-1v-.5h2v10a1 1 0 0 0 1 1h2v.5a1 1 0 0 0 1 1h3a1 1 0 0 0 1-1v-2a1 1 0 0 0-1-1h-3a1 1 0 0 0-1 1v.5h-2v-4.5h2v.5a1 1 0 0 0 1 1h3a1 1 0 0 0 1-1v-2a1 1 0 0 0-1-1h-3a1 1 0 0 0-1 1v.5h-2v-4.5h2v.5a1 1 0 0 0 1 1m0-3h3v2h-3zm-7 2h-3v-2h3zm7 9h3v2h-3zm0-5.5h3v2h-3z"/></g><defs><clipPath id="a"><path fill="#fff" d="M0 0h16v16H0z"/></clipPath></defs></svg>'),c("egen-icon-user-avatar",'<svg xmlns="http://www.w3.org/2000/svg"><path d="M8 4a2.5 2.5 0 1 0 0 5 2.5 2.5 0 0 0 0-5m0 4a1.5 1.5 0 1 1 0-3 1.5 1.5 0 0 1 0 3"/><path d="M8 1a7 7 0 1 0 7 7 7.01 7.01 0 0 0-7-7M5 13.188V12.5A1.5 1.5 0 0 1 6.5 11h3a1.5 1.5 0 0 1 1.5 1.5v.688a5.95 5.95 0 0 1-6 0m6.996-.725A2.5 2.5 0 0 0 9.5 10h-3a2.5 2.5 0 0 0-2.496 2.463 6 6 0 1 1 7.992 0"/></svg>'),c("egen-icon-user-follow",'<svg xmlns="http://www.w3.org/2000/svg"><path d="M16 7h-2V5h-1v2h-2v1h2v2h1V8h2zM6 2a2.5 2.5 0 1 1 0 5 2.5 2.5 0 0 1 0-5m0-1a3.5 3.5 0 1 0 0 7 3.5 3.5 0 0 0 0-7M11 15h-1v-2.5A2.5 2.5 0 0 0 7.5 10h-3A2.5 2.5 0 0 0 2 12.5V15H1v-2.5A3.5 3.5 0 0 1 4.5 9h3a3.5 3.5 0 0 1 3.5 3.5z"/></svg>'),c("egen-icon-user",'<svg xmlns="http://www.w3.org/2000/svg"><path d="M8 2a2.5 2.5 0 1 1 0 5 2.5 2.5 0 0 1 0-5m0-1a3.5 3.5 0 1 0 0 7 3.5 3.5 0 0 0 0-7M13 15h-1v-2.5A2.5 2.5 0 0 0 9.5 10h-3A2.5 2.5 0 0 0 4 12.5V15H3v-2.5A3.5 3.5 0 0 1 6.5 9h3a3.5 3.5 0 0 1 3.5 3.5z"/></svg>'),c("egen-icon-view-off",'<svg xmlns="http://www.w3.org/2000/svg"><path d="m2.62 11.255.715-.71A7 7 0 0 1 1.535 8C2.55 5.465 5.35 3.5 8 3.5a6.2 6.2 0 0 1 2 .36l.775-.78A7.4 7.4 0 0 0 8 2.5 8.35 8.35 0 0 0 .53 7.83a.5.5 0 0 0 0 .34 8 8 0 0 0 2.09 3.085"/><path d="M6 7.865a2 2 0 0 1 1.85-1.85l.905-.91A3 3 0 0 0 5.09 8.77zM15.47 7.83a8.2 8.2 0 0 0-2.87-3.72L15 1.705 14.295 1 1 14.295l.705.705 2.55-2.55A7.65 7.65 0 0 0 8 13.5a8.35 8.35 0 0 0 7.47-5.33.5.5 0 0 0 0-.34M10 8a2 2 0 0 1-3 1.72L9.72 7A2 2 0 0 1 10 8m-2 4.5a6.5 6.5 0 0 1-3-.79l1.27-1.27a3 3 0 0 0 4.175-4.175L11.88 4.83A7.27 7.27 0 0 1 14.465 8C13.45 10.535 10.65 12.5 8 12.5"/></svg>'),c("egen-icon-view",'<svg xmlns="http://www.w3.org/2000/svg"><path d="M15.47 7.83A8.34 8.34 0 0 0 8 2.5 8.35 8.35 0 0 0 .53 7.83a.5.5 0 0 0 0 .34A8.35 8.35 0 0 0 8 13.5a8.35 8.35 0 0 0 7.47-5.33.5.5 0 0 0 0-.34M8 12.5c-2.65 0-5.45-1.965-6.465-4.5C2.55 5.465 5.35 3.5 8 3.5s5.45 1.965 6.465 4.5C13.45 10.535 10.65 12.5 8 12.5"/><path d="M8 5a3 3 0 1 0 0 6 3 3 0 0 0 0-6m0 5a2 2 0 1 1 0-4 2 2 0 0 1 0 4"/></svg>'),c("egen-icon-warning",'<svg xmlns="http://www.w3.org/2000/svg"><path d="M8 1a7 7 0 1 0 0 14A7 7 0 0 0 8 1m0 13A6 6 0 1 1 8 2a6 6 0 0 1 0 12"/><path d="M8.5 4h-1v5.5h1zM8 11a.75.75 0 1 0 0 1.5.75.75 0 0 0 0-1.5"/></svg>'),c("egen-pict-home",'<svg xmlns="http://www.w3.org/2000/svg"><path fill="#CEE6E5" d="M40 16 16 36v28h48V36z"/><path fill="#7BBCB9" d="M35 64V48.5c0-.83.67-1.5 1.5-1.5h7c.83 0 1.5.67 1.5 1.5V64zM22 42h8v8h-8zM50 42h8v8h-8z"/></svg>'),c("egen-pict-payments-desk",'<svg xmlns="http://www.w3.org/2000/svg"><path fill="#CEE6E5" d="M63.28 42.47c0 1.72-5.05 4.13-13.28 4.13-2.01 0-3.93-.15-5.72-.44.03-.16.06-.32.06-.49v-4.7c1.79.27 3.68.42 5.65.42 5.15 0 10.52-1.04 13.28-3v4.09z"/><path fill="#7BBCB9" d="M42.45 45.67c0 1.72-5.03 4.12-13.23 4.12S16 47.39 16 45.67V41.6c2.75 1.96 8.1 2.99 13.23 2.99s10.47-1.03 13.23-2.99v4.07z"/><path fill="#7BBCB9" d="M16 48.69c2.76 1.96 8.1 2.99 13.23 2.99s10.47-1.04 13.23-2.99v4.07c0 1.72-5.03 4.12-13.23 4.12S16 54.48 16 52.76z"/><path fill="#CEE6E5" d="M63.28 28.25c0 1.72-5.05 4.13-13.28 4.13s-13.28-2.41-13.28-4.13v-4.09c2.76 1.96 8.13 3 13.28 3s10.52-1.04 13.28-3z"/><path fill="#CEE6E5" d="M50 17c8.23 0 13.28 2.41 13.28 4.13S58.23 25.26 50 25.26s-13.28-2.41-13.28-4.13S41.77 17 50 17M36.73 31.26c2.76 1.97 8.13 3.01 13.28 3.01s10.52-1.04 13.28-3.01v4.09c0 1.72-5.05 4.13-13.28 4.13-1.97 0-3.93-.16-5.71-.45.03-.15.06-.3.06-.46 0-2.54-3.3-4.31-7.62-5.24v-2.07z"/><path fill="#7BBCB9" d="M29.23 34.47c8.2 0 13.23 2.4 13.23 4.12s-5.03 4.11-13.23 4.11S16 40.3 16 38.58s5.03-4.12 13.23-4.12zM29.23 63.96c-8.19 0-13.23-2.4-13.23-4.12v-4.07c2.75 1.96 8.1 2.99 13.23 2.99s10.47-1.04 13.23-2.99v4.07c0 1.72-5.03 4.12-13.23 4.12"/><path fill="#CEE6E5" d="M50 53.71c-2 0-3.92-.15-5.72-.44.03-.17.07-.34.07-.51v-4.67c1.78.27 3.68.41 5.65.41 5.15 0 10.52-1.04 13.28-3v4.09c0 1.72-5.05 4.13-13.28 4.13z"/></svg>'),c("egen-pict-service-queues",'<svg xmlns="http://www.w3.org/2000/svg"><path fill="#CEE6E5" fill-rule="evenodd" d="M34.824 27.412c.659-.473.879-1.41.784-2.353C35.703 21.133 32.502 18 28.55 18s-7.153 3.133-7.059 7.059c-.094 2.802 1.647 5.26 3.922 6.275C20.11 32.699 16 37.538 16 43.099v11.765h21.961V27.412zM63.06 54.864V43.099c0-5.561-4.11-10.415-9.412-11.765 2.274-1.015 4.016-3.473 3.922-6.275.094-3.926-3.106-7.059-7.06-7.059-3.952 0-7.152 3.133-7.058 7.059-.094.944.11 1.88.784 2.353h-3.137v27.452z" clip-rule="evenodd"/><path fill="#7BBCB9" fill-rule="evenodd" d="M28.55 61.138v-11.52c0-5.806 4.11-10.66 9.647-11.934-2.51-1.09-4.251-3.548-4.251-6.405 0-3.87 3.2-7.004 7.153-7.004s7.153 3.133 7.153 7.004c0 2.857-1.741 5.314-4.251 6.405 5.537 1.29 9.647 6.128 9.647 11.934v11.52" clip-rule="evenodd"/></svg>'),c("egen-pict-stock-management",'<svg xmlns="http://www.w3.org/2000/svg"><path fill="#CEE6E5" d="M40.9 16 16 27.04v36.17h7.79V32.06h33.32v31.15h7.79V26.1z"/><path fill="#7BBCB9" d="M38.28 53h-8.42a.9.9 0 0 0-.9.9v8.42a.9.9 0 0 0 .9.9h8.42a.9.9 0 0 0 .9-.9V53.9a.9.9 0 0 0-.9-.9M50.36 53h-8.42a.9.9 0 0 0-.9.9v8.42a.9.9 0 0 0 .9.9h8.42a.9.9 0 0 0 .9-.9V53.9a.9.9 0 0 0-.9-.9M44.36 41h-8.42a.9.9 0 0 0-.9.9v8.42a.9.9 0 0 0 .9.9h8.42a.9.9 0 0 0 .9-.9V41.9a.9.9 0 0 0-.9-.9"/></svg>'),c("egen-pict-transfer",'<svg xmlns="http://www.w3.org/2000/svg"><path fill="#CEE6E5" d="M58.87 20h-10a1.11 1.11 0 0 0-1.11 1.11v10c0 .613.497 1.11 1.11 1.11h10a1.11 1.11 0 0 0 1.11-1.11v-10A1.11 1.11 0 0 0 58.87 20M31.11 47.76h-10A1.11 1.11 0 0 0 20 48.87v10c0 .613.497 1.11 1.11 1.11h10a1.11 1.11 0 0 0 1.11-1.11v-10a1.11 1.11 0 0 0-1.11-1.11"/><path fill="#7BBCB9" d="M36.426 41.985 32.89 45.52l1.57 1.57 3.536-3.535z"/><path fill="#7BBCB9" fill-rule="evenodd" d="M37.88 35.84v-2.22h8.48v8.47h-2.22v-4.68l-4.42 4.42-1.57-1.57 4.42-4.42z" clip-rule="evenodd"/></svg>'),c("egen-empty-data-illustration",'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 64 64"><g fill="none"><path fill="#F4F4F4" d="M38.133 13.186H21.947a1.39 1.39 0 0 0-1.39 1.391V50.55l-.186.057-3.97 1.216a.743.743 0 0 1-.927-.493L3.664 12.751a.74.74 0 0 1 .492-.926l6.118-1.874 17.738-5.43 6.119-1.873a.74.74 0 0 1 .926.492L38.076 13z"/><path fill="#8D8D8D" d="M41.664 13 38.026 1.117A1.576 1.576 0 0 0 36.056.07l-8.601 2.633-17.737 5.43-8.603 2.634a1.58 1.58 0 0 0-1.046 1.97l12.436 40.616a1.58 1.58 0 0 0 1.969 1.046l5.897-1.805.185-.057v-.194l-.185.057-5.952 1.822a1.393 1.393 0 0 1-1.737-.923L.247 12.682a1.39 1.39 0 0 1 .923-1.738L9.772 8.31 27.51 2.881 36.112.247a1.393 1.393 0 0 1 1.737.923L41.47 13l.057.186h.193l-.057-.185z"/><path fill="#C6C6C6" d="M11.378 11.855a.84.84 0 0 1-.798-.59L9.385 7.361a.835.835 0 0 1 .554-1.042l16.318-4.996a.836.836 0 0 1 1.042.554l1.195 3.902a.836.836 0 0 1-.554 1.043l-16.318 4.995a.8.8 0 0 1-.244.037z"/><circle cx="17.636" cy="2.314" r="1.855" fill="#C6C6C6"/><circle cx="17.636" cy="2.314" r="1.175" fill="#FFF"/><path fill="#F4F4F4" d="M55.893 53.995H24.544a.79.79 0 0 1-.788-.789V15.644a.79.79 0 0 1 .788-.788h31.349a.79.79 0 0 1 .788.788v37.562a.79.79 0 0 1-.788.789"/><path fill="#8D8D8D" d="M41.47 13H21.948a1.58 1.58 0 0 0-1.576 1.577V52.4l.185-.057V14.577a1.39 1.39 0 0 1 1.391-1.39h19.581zm17.02 0H21.947a1.58 1.58 0 0 0-1.576 1.577v42.478c0 .87.706 1.576 1.576 1.577H58.49a1.58 1.58 0 0 0 1.576-1.577V14.577a1.58 1.58 0 0 0-1.576-1.576zm1.39 44.055c0 .768-.622 1.39-1.39 1.392H21.947a1.39 1.39 0 0 1-1.39-1.392V14.577c0-.768.622-1.39 1.39-1.39H58.49c.768 0 1.39.622 1.39 1.39z"/><path fill="#C6C6C6" d="M48.751 17.082H31.686a.836.836 0 0 1-.835-.835v-4.081c0-.46.374-.834.835-.835H48.75c.461 0 .834.374.835.835v4.08a.836.836 0 0 1-.835.836z"/><circle cx="40.218" cy="9.755" r="1.855" fill="#C6C6C6"/><circle cx="40.218" cy="9.755" r="1.13" fill="#FFF"/></g></svg>'),function(){if(!o&&(o=!0,0!==w.length)){for(var h=w.map(function(h){return h.svg}).join(""),v=new DOMParser().parseFromString("<body>".concat(h,"</body>"),"text/html").body.querySelectorAll(":scope > svg"),a=0;a<v.length;a++)v[a].id=w[a].id,n.appendChild(n.ownerDocument.importNode(v[a],!0));w.length=0}}(),(0,g.Ju)({name:"workspace2-close-prompt",moduleName:"@egen-civitas/esm-styleguide",load:(0,t.getSyncLifecycle)(function(h){var v=h.onConfirm,a=h.onCancel,s=h.affectedWorkspaceTitles;return(0,p.jsxs)(p.Fragment,{children:[(0,p.jsx)(i.ModalHeader,{closeModal:a,title:(0,r.V)("closeWorkspaces2PromptTitle")}),(0,p.jsxs)(i.ModalBody,{children:[(0,p.jsx)("p",{children:(0,r.V)("closeWorkspaces2PromptBody")}),(0,p.jsx)("ul",{className:"P0mBO1Xif5+ed74ed2GBqA==",children:s.map(function(h){return(0,p.jsx)("li",{children:h},h)})})]}),(0,p.jsxs)(i.ModalFooter,{children:[(0,p.jsx)(i.Button,{kind:"secondary",onClick:a,children:(0,r.V)("cancel","Cancel")}),(0,p.jsx)(i.Button,{kind:"danger",onClick:v,children:(0,r.V)("discardChanges","Discard changes")})]})]})},{featureName:"workspace2-close-prompt",moduleName:"@egen-civitas/esm-styleguide"})})}}]);
|
|
1
|
+
"use strict";(self.webpackChunk_egen_civitas_esm_app_shell=self.webpackChunk_egen_civitas_esm_app_shell||[]).push([["1176"],{9755(h,v,a){var s=a(3645),g=a(7267),t=a(7388),e=a(1017),n=document.createElement("div"),l=function(){document.body.appendChild(n)};n.id="egen-svgs-container",n.style.display="none","complete"===document.readyState?l():window.addEventListener("load",l);var w=[],o=!1;function c(h,v){if(!o)return void w.push({id:h,svg:v});var a=new DOMParser().parseFromString(v,"image/svg+xml").querySelector("svg");a&&(a.id=h,n.appendChild(a))}var p=a(2883);a(8783);var i=a(8300),r=a(5565);function d(h,v){document.documentElement.style.setProperty(h,v)}(0,s.defineConfigSchema)("@egen-civitas/esm-styleguide",e.u),(0,s.getConfigStore)("@egen-civitas/esm-styleguide").subscribe(function(h){h.loaded&&h.config&&(d("--brand-01",h.config["Brand color #1"]),d("--brand-02",h.config["Brand color #2"]),d("--brand-03",h.config["Brand color #3"]))}),c("egen-icon-activity",'<svg xmlns="http://www.w3.org/2000/svg"><path d="M6 14.5a.5.5 0 0 1-.46-.31L3.165 8.5H1v-1h2.5a.5.5 0 0 1 .46.31L6 12.64l4.03-10.815a.5.5 0 0 1 .47-.325.5.5 0 0 1 .465.34L12.86 7.5H15v1h-2.5a.5.5 0 0 1-.475-.34L10.5 3.5 6.47 14.175A.5.5 0 0 1 6 14.5"/></svg>'),c("egen-icon-add",'<svg xmlns="http://www.w3.org/2000/svg"><path d="M8.5 7.5V4h-1v3.5H4v1h3.5V12h1V8.5H12v-1z"/></svg>'),c("egen-icon-arrow-down",'<svg xmlns="http://www.w3.org/2000/svg"><path d="M12.295 8.295 8.5 12.085V2h-1v10.085l-3.795-3.79L3 9l5 5 5-5z"/></svg>'),c("egen-icon-arrow-left",'<svg xmlns="http://www.w3.org/2000/svg"><path d="m7 13 .705-.705L3.915 8.5H14v-1H3.915l3.79-3.795L7 3 2 8z"/></svg>'),c("egen-icon-arrow-right",'<svg xmlns="http://www.w3.org/2000/svg"><path d="m9 3-.715.696 3.79 3.804H2v1h10.075l-3.79 3.787L9 13l5-5z"/></svg>'),c("egen-icon-arrow-up",'<svg xmlns="http://www.w3.org/2000/svg"><path d="M8 2 3 7l.705.705L7.5 3.915V14h1V3.915l3.795 3.79L13 7z"/></svg>'),c("egen-icon-calendar-heat-map",'<svg xmlns="http://www.w3.org/2000/svg"><path d="M13 2h-2V1h-1v1H6V1H5v1H3a1 1 0 0 0-1 1v10a1 1 0 0 0 1 1h10a1 1 0 0 0 1-1V3a1 1 0 0 0-1-1M3 3h2v1h1V3h4v1h1V3h2v2H3zm0 3h2.5v3H3zm6.5 7h-3v-3h3zm0-4h-3V6h3zm1 4v-3H13v3z"/></svg>'),c("egen-icon-calendar",'<svg xmlns="http://www.w3.org/2000/svg"><path d="M13 2h-2V1h-1v1H6V1H5v1H3c-.55 0-1 .45-1 1v10c0 .55.45 1 1 1h10c.55 0 1-.45 1-1V3c0-.55-.45-1-1-1m0 11H3V6h10zm0-8H3V3h2v1h1V3h4v1h1V3h2z"/></svg>'),c("egen-icon-caret-down",'<svg xmlns="http://www.w3.org/2000/svg"><path d="m12 6-4 5-4-5z"/></svg>'),c("egen-icon-caret-left",'<svg xmlns="http://www.w3.org/2000/svg"><path d="M10 12 5 8l5-4z"/></svg>'),c("egen-icon-caret-right",'<svg xmlns="http://www.w3.org/2000/svg"><path d="m6 4 5 4-5 4z"/></svg>'),c("egen-icon-caret-up",'<svg xmlns="http://www.w3.org/2000/svg"><path d="m4 10 4-5 4 5z"/></svg>'),c("egen-icon-chart-average",'<svg xmlns="http://www.w3.org/2000/svg"><path d="M11.5 12c-1.8 0-2.515-2.088-3.206-4.107C7.638 5.979 6.96 4 5.5 4a1.72 1.72 0 0 0-1.527 1.16l-.947-.318C3.05 4.767 3.66 3 5.5 3c2.175 0 3.006 2.427 3.74 4.569C9.844 9.333 10.415 11 11.5 11a1.72 1.72 0 0 0 1.527-1.16l.947.318C13.95 10.233 13.34 12 11.5 12"/><path d="M2 14V8.5h1v-1H2V1H1v13a1 1 0 0 0 1 1h13v-1z"/><path d="M5 7.5H4v1h1zM7 7.5H6v1h1zM11 7.5h-1v1h1zM13 7.5h-1v1h1zM15 7.5h-1v1h1z"/></svg>'),c("egen-icon-chart-line",'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32"><path d="m4.67 28 6.39-12 7.3 6.49a2 2 0 0 0 1.7.47 2 2 0 0 0 1.42-1.07L27 10.9l-1.82-.9-5.49 11-7.3-6.49a2 2 0 0 0-1.68-.51 2 2 0 0 0-1.42 1L4 25V2H2v26a2 2 0 0 0 2 2h26v-2Z"/><path d="M0 0h32v32H0z" data-name="<Transparent Rectangle>" style="fill:none"/></svg>'),c("egen-icon-checkmark-filled",'<svg xmlns="http://www.w3.org/2000/svg"><path d="M8 1a7 7 0 1 0 0 14A7 7 0 0 0 8 1m-1 9.795-2.5-2.5.795-.795L7 9.205 10.705 5.5l.798.793z"/></svg>'),c("egen-icon-checkmark-outline",'<svg xmlns="http://www.w3.org/2000/svg"><path d="m7 10.707-2.5-2.5.707-.707L7 9.293 10.793 5.5l.707.707z"/><path d="M8 1a7 7 0 1 0 0 14A7 7 0 0 0 8 1m0 13A6 6 0 1 1 8 2a6 6 0 0 1 0 12"/></svg>'),c("egen-icon-chevron-down",'<svg xmlns="http://www.w3.org/2000/svg"><path d="M8 11 3 6l.7-.7L8 9.6l4.3-4.3.7.7z"/></svg>'),c("egen-icon-chevron-left",'<svg xmlns="http://www.w3.org/2000/svg"><path d="m5 8 5-5 .7.7L6.4 8l4.3 4.3-.7.7z"/></svg>'),c("egen-icon-chevron-right",'<svg xmlns="http://www.w3.org/2000/svg"><path d="m11 8-5 5-.7-.7L9.6 8 5.3 3.7 6 3z"/></svg>'),c("egen-icon-chevron-up",'<svg xmlns="http://www.w3.org/2000/svg"><path d="m8 5 5 5-.7.7L8 6.4l-4.3 4.3L3 10z"/></svg>'),c("egen-icon-close",'<svg xmlns="http://www.w3.org/2000/svg"><path d="m12 4.7-.7-.7L8 7.3 4.7 4l-.7.7L7.3 8 4 11.3l.7.7L8 8.7l3.3 3.3.7-.7L8.7 8z"/></svg>'),c("egen-icon-close-filled",'<svg xmlns="http://www.w3.org/2000/svg"><path d="M8 1C4.1 1 1 4.1 1 8s3.1 7 7 7 7-3.1 7-7-3.1-7-7-7m2.7 10.5L8 8.8l-2.7 2.7-.8-.8L7.2 8 4.5 5.3l.8-.8L8 7.2l2.7-2.7.8.8L8.8 8l2.7 2.7z"/></svg>'),c("egen-icon-close-outline",'<svg xmlns="http://www.w3.org/2000/svg"><path d="M8 1C4.1 1 1 4.1 1 8s3.1 7 7 7 7-3.1 7-7-3.1-7-7-7m0 13c-3.3 0-6-2.7-6-6s2.7-6 6-6 6 2.7 6 6-2.7 6-6 6"/><path d="M10.7 11.5 8 8.8l-2.7 2.7-.8-.8L7.2 8 4.5 5.3l.8-.8L8 7.2l2.7-2.7.8.8L8.8 8l2.7 2.7z"/></svg>'),c("egen-icon-document",'<svg xmlns="http://www.w3.org/2000/svg"><path d="m12.85 4.65-3.5-3.5C9.25 1.05 9.15 1 9 1H4c-.55 0-1 .45-1 1v12c0 .55.45 1 1 1h8c.55 0 1-.45 1-1V5c0-.15-.05-.25-.15-.35M9 2.2 11.8 5H9zM12 14H4V2h4v3c0 .55.45 1 1 1h3z"/><path d="M11 11H5v1h6zM11 8H5v1h6z"/></svg>'),c("egen-icon-document-attachment",'<svg xmlns="http://www.w3.org/2000/svg"><path d="M13 15H5.5a1 1 0 0 1-1-1v-3h1v3H13V3H8.5V2H13a1 1 0 0 1 1 1v11a1 1 0 0 1-1 1"/><path d="M12 5H8.5v1H12zM12 7.5H8v1h4zM12 10H7.5v1H12zM4.5 9.5A2.503 2.503 0 0 1 2 7V1.5h1V7a1.5 1.5 0 0 0 3 0V2.5a.5.5 0 1 0-1 0v5H4v-5a1.5 1.5 0 0 1 3 0V7a2.503 2.503 0 0 1-2.5 2.5"/></svg>'),c("egen-icon-download",'<svg xmlns="http://www.w3.org/2000/svg"><path d="M13 12v2H3v-2H2v2a1 1 0 0 0 1 1h10a1 1 0 0 0 1-1v-2zM13 7l-.705-.705-3.795 3.79V1h-1v9.085l-3.795-3.79L3 7l5 5z"/></svg>'),c("egen-icon-edit",'<svg xmlns="http://www.w3.org/2000/svg"><path d="M15 13H1v1h14zM12.7 4.5c.4-.4.4-1 0-1.4l-1.8-1.8c-.4-.4-1-.4-1.4 0L2 8.8V12h3.2zM10.2 2 12 3.8l-1.5 1.5-1.8-1.8zM3 11V9.2l5-5L9.8 6l-5 5z"/></svg>'),c("egen-icon-event-schedule",'<svg xmlns="http://www.w3.org/2000/svg"><path d="M10.5 15a4 4 0 1 1 0-8 4 4 0 0 1 0 8m0-7a3 3 0 1 0 0 6 3 3 0 0 0 0-6"/><path d="M11.295 12.5 10 11.205V9h1v1.795l1 1z"/><path d="M14 3a1 1 0 0 0-1-1h-2V1h-1v1H6V1H5v1H3a1 1 0 0 0-1 1v10a1 1 0 0 0 1 1h2v-1H3V3h2v1h1V3h4v1h1V3h2v3h1z"/></svg>'),c("egen-icon-events",'<svg xmlns="http://www.w3.org/2000/svg"><path d="M13 7h-1v1h1a1.5 1.5 0 0 1 1.5 1.5v2h1v-2A2.503 2.503 0 0 0 13 7M12 2a1.5 1.5 0 1 1 0 3 1.5 1.5 0 0 1 0-3m0-1a2.5 2.5 0 1 0 0 5 2.5 2.5 0 0 0 0-5M11.5 15h-1v-1A1.5 1.5 0 0 0 9 12.5H7A1.5 1.5 0 0 0 5.5 14v1h-1v-1A2.503 2.503 0 0 1 7 11.5h2a2.503 2.503 0 0 1 2.5 2.5zM8 6.5a1.5 1.5 0 1 1 0 3 1.5 1.5 0 0 1 0-3m0-1a2.5 2.5 0 1 0 0 5 2.5 2.5 0 0 0 0-5M4 7H3A2.503 2.503 0 0 0 .5 9.5v2h1v-2A1.5 1.5 0 0 1 3 8h1zM4 2a1.5 1.5 0 1 1 0 3 1.5 1.5 0 0 1 0-3m0-1a2.5 2.5 0 1 0 0 5 2.5 2.5 0 0 0 0-5"/></svg>'),c("egen-icon-group",'<svg xmlns="http://www.w3.org/2000/svg"><path d="M15.5 15h-1v-1.5A1.5 1.5 0 0 0 13 12h-2a1.5 1.5 0 0 0-1.5 1.5V15h-1v-1.5A2.5 2.5 0 0 1 11 11h2a2.5 2.5 0 0 1 2.5 2.5zM12 6a1.5 1.5 0 1 1 0 3 1.5 1.5 0 0 1 0-3m0-1a2.5 2.5 0 1 0 0 5 2.5 2.5 0 0 0 0-5M7.5 11h-1V9.5A1.5 1.5 0 0 0 5 8H3a1.5 1.5 0 0 0-1.5 1.5V11h-1V9.5A2.5 2.5 0 0 1 3 7h2a2.5 2.5 0 0 1 2.5 2.5zM4 2a1.5 1.5 0 1 1 0 3 1.5 1.5 0 0 1 0-3m0-1a2.5 2.5 0 1 0 0 5 2.5 2.5 0 0 0 0-5"/></svg>'),c("egen-icon-group-access",'<svg xmlns="http://www.w3.org/2000/svg"><path d="M4 9.5H3v-1A1.5 1.5 0 0 1 4.5 7H7v1H4.5a.5.5 0 0 0-.5.5zM6 6.5a2 2 0 1 1 0-4 2 2 0 0 1 0 4m0-3a1 1 0 1 0 0 2 1 1 0 0 0 0-2M10 10a2 2 0 1 1 0-4 2 2 0 0 1 0 4m0-3a1 1 0 1 0 0 2 1 1 0 0 0 0-2M13 13h-1v-1a.5.5 0 0 0-.5-.5h-3a.5.5 0 0 0-.5.5v1H7v-1a1.5 1.5 0 0 1 1.5-1.5h3A1.5 1.5 0 0 1 13 12z"/><path d="M4 15H2a1 1 0 0 1-1-1V2a1 1 0 0 1 1-1h2v1H2v12h2zM14 15h-2v-1h2V2h-2V1h2a1 1 0 0 1 1 1v12a1 1 0 0 1-1 1"/></svg>'),c("egen-icon-information",'<svg xmlns="http://www.w3.org/2000/svg"><path d="M8.5 11V7h-2v1h1v3H6v1h4v-1zM8 4a.75.75 0 1 0 0 1.5A.75.75 0 0 0 8 4"/><path d="M8 15A7 7 0 1 1 8 1a7 7 0 0 1 0 14M8 2a6 6 0 1 0 0 12A6 6 0 0 0 8 2"/></svg>'),c("egen-icon-information-filled",'<svg xmlns="http://www.w3.org/2000/svg"><path d="M8 1a7 7 0 1 0 0 14A7 7 0 0 0 8 1m0 3a.75.75 0 1 1 0 1.5A.75.75 0 0 1 8 4m2 8.063H6v-1.126h1.438V8.063H6.5V6.937h2.063v4H10z"/></svg>'),c("egen-icon-information-square",'<svg xmlns="http://www.w3.org/2000/svg"><path d="M8.5 11V7h-2v1h1v3H6v1h4v-1zM8 4a.75.75 0 1 0 0 1.5A.75.75 0 0 0 8 4"/><path d="M13 14H3a1 1 0 0 1-1-1V3a1 1 0 0 1 1-1h10a1 1 0 0 1 1 1v10a1 1 0 0 1-1 1M3 3v10h10V3z"/></svg>'),c("egen-icon-inventory-management",'<svg xmlns="http://www.w3.org/2000/svg"><path d="M11.5 12h-2v2h2zM15 12h-2v2h2zM11.5 8.5h-2v2h2zM15 8.5h-2v2h2z"/><path d="M8.5 12H2V5h12v2.5h1V5a1 1 0 0 0-1-1h-3V2a1 1 0 0 0-1-1H6a1 1 0 0 0-1 1v2H2a1 1 0 0 0-1 1v7a1 1 0 0 0 1 1h6.5zM6 2h4v2H6z"/></svg>'),c("egen-icon-list-checked",'<svg xmlns="http://www.w3.org/2000/svg"><path d="M15 4H8v1h7zM3 5.295 1.705 4 1 4.705l2 2 4-4L6.295 2zM15 11H8v1h7zM3 12.295 1.705 11 1 11.705l2 2 4-4L6.295 9z"/></svg>'),c("egen-icon-location",'<svg xmlns="http://www.w3.org/2000/svg"><path d="M8 9a2.5 2.5 0 1 1 0-5 2.5 2.5 0 0 1 0 5m0-4a1.5 1.5 0 1 0 0 3 1.5 1.5 0 0 0 0-3"/><path d="m8 15-4.218-4.974-.174-.226A5.44 5.44 0 0 1 2.5 6.5a5.5 5.5 0 1 1 11 0 5.44 5.44 0 0 1-1.107 3.299h-.001s-.15.198-.172.225zM4.406 9.198s.117.154.144.187L8 13.454l3.455-4.075.14-.183A4.45 4.45 0 0 0 12.5 6.5a4.5 4.5 0 1 0-9 0 4.45 4.45 0 0 0 .906 2.698"/></svg>'),c("egen-icon-maximize",'<svg xmlns="http://www.w3.org/2000/svg"><path d="M10 1v1h3.293L9 6.291 9.707 7 14 2.707V6h1V1zM7 9.708 6.296 9 2 13.293V10H1v5h5v-1H2.707z"/></svg>'),c("egen-icon-message-queue",'<svg xmlns="http://www.w3.org/2000/svg"><path d="M14 14H2a1 1 0 0 1-1-1v-2.5h1V13h12v-2.5h1V13a1 1 0 0 1-1 1"/><path d="M12.5 10.5h-9v1h9zM12.5 8h-9v1h9zM12.5 5.5h-9v1h9zM12.5 3h-9v1h9z"/></svg>'),c("egen-icon-money",'<svg xmlns="http://www.w3.org/2000/svg"><path d="M15 11H1v1h14zM15 13H1v1h14zM12 5a1 1 0 1 0 0 2 1 1 0 0 0 0-2M8 8a2 2 0 1 1 0-4 2 2 0 0 1 0 4m0-3a1 1 0 1 0 0 2 1 1 0 0 0 0-2M4 5a1 1 0 1 0 0 2 1 1 0 0 0 0-2"/><path d="M14 10H2a1.003 1.003 0 0 1-1-1V3a1.003 1.003 0 0 1 1-1h12a1.003 1.003 0 0 1 1 1v6a1 1 0 0 1-1 1m0-7H2v6h12z"/></svg>'),c("egen-icon-movement",'<svg xmlns="http://www.w3.org/2000/svg"><path d="m12 10-.705.705 1.79 1.795H5a2 2 0 1 1 0-4h6a3 3 0 0 0 0-6H2.915L4.705.705 4 0 1 3l3 3 .705-.705L2.915 3.5H11a2 2 0 0 1 0 4H5a3 3 0 1 0 0 6h8.085l-1.79 1.795L12 16l3-3z"/></svg>'),c("egen-icon-overflow-menu--horizontal",'<svg xmlns="http://www.w3.org/2000/svg"><path d="M4 9a1 1 0 1 0 0-2 1 1 0 0 0 0 2M8 9a1 1 0 1 0 0-2 1 1 0 0 0 0 2M12 9a1 1 0 1 0 0-2 1 1 0 0 0 0 2"/></svg>'),c("egen-icon-overflow-menu--vertical",'<svg xmlns="http://www.w3.org/2000/svg"><path d="M8 5a1 1 0 1 0 0-2 1 1 0 0 0 0 2M8 9a1 1 0 1 0 0-2 1 1 0 0 0 0 2M8 13a1 1 0 1 0 0-2 1 1 0 0 0 0 2"/></svg>'),c("egen-icon-password",'<svg xmlns="http://www.w3.org/2000/svg"><path d="M10.5 1a4.5 4.5 0 0 0-4.306 5.806L1 12v3h3l5.194-5.194A4.5 4.5 0 1 0 10.5 1m0 8c-.344 0-.687-.051-1.016-.151l-.573-.174-2.015 2.014L6.207 10l-.707.707.69.69-.794.792-.689-.689-.707.707.69.69L3.585 14H2v-1.586L7.325 7.09l-.174-.573A3.5 3.5 0 1 1 10.5 9"/><path d="M11 6a1 1 0 1 0 0-2 1 1 0 0 0 0 2"/></svg>'),c("egen-icon-pedestrian-family",'<svg xmlns="http://www.w3.org/2000/svg"><path d="M10 15H8.5a1 1 0 0 1-1-1v-2.5h1V14H10v-2.5h1v-2a.5.5 0 0 0-.5-.5H6.14l-1-3H2a.5.5 0 0 0-.5.5v3h1V14h2v-3.5h1V14a1 1 0 0 1-1 1h-2a1 1 0 0 1-1-1v-3.5a1 1 0 0 1-1-1v-3A1.5 1.5 0 0 1 2 5h3.14a1 1 0 0 1 .948.684L6.86 8h3.64A1.5 1.5 0 0 1 12 9.5v2a1 1 0 0 1-1 1V14a1 1 0 0 1-1 1M14 15h-1V9.5h1.5v-3A.5.5 0 0 0 14 6h-2V5h2a1.5 1.5 0 0 1 1.5 1.5v3a1 1 0 0 1-1 1H14zM3.5 4.5a2 2 0 1 1 0-4 2 2 0 0 1 0 4m0-3a1 1 0 1 0 0 2 1 1 0 0 0 0-2M12.5 4.5a2 2 0 1 1 0-4 2 2 0 0 1 0 4m0-3a1 1 0 1 0 0 2 1 1 0 0 0 0-2"/><path d="M9.25 7.5a1.75 1.75 0 1 1 0-3.5 1.75 1.75 0 0 1 0 3.5m0-2.5a.75.75 0 1 0 0 1.5.75.75 0 0 0 0-1.5"/></svg>'),c("egen-icon-pen",'<svg xmlns="http://www.w3.org/2000/svg"><path d="M13.654 3.053 15 1.707 14.293 1l-1.346 1.346L12.4 1.8a.967.967 0 0 0-1.4 0l-9 9V14h3.2l9-9a.967.967 0 0 0 0-1.4zM4.8 13H3v-1.8l8.7-8.7 1.8 1.8zM8.293 2 4.5 5.793l.707.707L9 2.707z"/></svg>'),c("egen-icon-printer",'<svg xmlns="http://www.w3.org/2000/svg"><path d="M14 4.5h-1.5v-3h-9v3H2a1 1 0 0 0-1 1v5a1 1 0 0 0 1 1h1.5v3h9v-3H14a1 1 0 0 0 1-1v-5a1 1 0 0 0-1-1m-9.5-2h7v2h-7zm7 11h-7v-5h7zm2.5-3h-1.5v-3h-9v3H2v-5h12z"/></svg>'),c("egen-icon-programs",'<svg xmlns="http://www.w3.org/2000/svg"><path d="M15 15h-1v-1a.5.5 0 0 0-.5-.5h-3a.5.5 0 0 0-.5.5v1H9v-1c0-.827.673-1.5 1.5-1.5h3c.827 0 1.5.673 1.5 1.5zM12 12c-1.103 0-2-.897-2-2s.897-2 2-2 2 .897 2 2-.897 2-2 2m0-3a1.001 1.001 0 0 0 0 2 1.001 1.001 0 0 0 0-2M5 10H4v1h1zM9 10H6v1h3zM5 8H4v1h1zM9 8H6v1h3zM5 6H4v1h1zM9 6H6v1h3z"/><path d="M10.5 2.5H9V2c0-.552-.449-1-1-1H5c-.551 0-1 .448-1 1v.5H2.5c-.551 0-1 .449-1 1V13c0 .552.449 1 1 1H7v-1H2.5V3.5H4v1h5v-1h1.5V7h1V3.5c0-.551-.449-1-1-1M8 3.5H5V2h3z"/></svg>'),c("egen-icon-renew",'<svg xmlns="http://www.w3.org/2000/svg"><path d="M6 5H3.39A5.5 5.5 0 0 1 13.5 8h1A6.5 6.5 0 0 0 3 3.84V2H2v4h4zM10 11h2.61A5.5 5.5 0 0 1 2.5 8h-1A6.5 6.5 0 0 0 13 12.16V14h1v-4h-4z"/></svg>'),c("egen-icon-report",'<svg xmlns="http://www.w3.org/2000/svg"><path d="M9 9H5v1h4zM11 6.5H5v1h6zM7.5 11.5H5v1h2.5z"/><path d="M12.5 2.5H11V2a1 1 0 0 0-1-1H6a1 1 0 0 0-1 1v.5H3.5a1 1 0 0 0-1 1V14a1 1 0 0 0 1 1h9a1 1 0 0 0 1-1V3.5a1 1 0 0 0-1-1M6 2h4v2H6zm6.5 12h-9V3.5H5V5h6V3.5h1.5z"/></svg>'),c("egen-icon-reset",'<svg xmlns="http://www.w3.org/2000/svg"><path fill="#161616" d="M9 14a6 6 0 1 0-6-6v3.1L1.2 9.3l-.7.7 3 3 3-3-.7-.7L4 11.1V8a5 5 0 1 1 5 5z"/></svg>'),c("egen-icon-save",'<svg xmlns="http://www.w3.org/2000/svg"><path fill="#161616" d="m13.855 4.645-2.5-2.5A.5.5 0 0 0 11 2H3a1 1 0 0 0-1 1v10a1 1 0 0 0 1 1h10a1 1 0 0 0 1-1V5a.5.5 0 0 0-.145-.355M6 3h4v2H6zm4 10H6V9h4zm1 0V9a1 1 0 0 0-1-1H6a1 1 0 0 0-1 1v4H3V3h2v2a1 1 0 0 0 1 1h4a1 1 0 0 0 1-1V3.205l2 2V13z"/></svg>'),c("egen-icon-search",'<svg xmlns="http://www.w3.org/2000/svg"><path d="m14.5 13.793-3.776-3.776a5.508 5.508 0 1 0-.707.707l3.776 3.776zM2 6.5a4.5 4.5 0 1 1 9 0 4.5 4.5 0 0 1-9 0"/></svg>'),c("egen-icon-settings",'<svg xmlns="http://www.w3.org/2000/svg"><path d="M13.5 8.38v-.765l.96-.84a1 1 0 0 0 .19-1.275l-1.18-2a1 1 0 0 0-1.185-.45l-1.215.41a6 6 0 0 0-.655-.375l-.255-1.26a1 1 0 0 0-1-.805H6.82a1 1 0 0 0-1 .805l-.255 1.26q-.343.166-.66.375l-1.19-.43a1 1 0 0 0-.32-.03 1 1 0 0 0-.865.5l-1.18 2a1 1 0 0 0 .205 1.255l.945.865v.765l-.945.84A1 1 0 0 0 1.35 10.5l1.18 2a1 1 0 0 0 1.185.45l1.215-.41q.315.21.655.375l.255 1.26a1 1 0 0 0 1 .805H9.2a1 1 0 0 0 1-.805l.255-1.26q.342-.165.66-.375l1.21.41q.155.051.32.05a1 1 0 0 0 .865-.5l1.14-2a1 1 0 0 0-.205-1.255zM12.605 12l-1.715-.58c-.402.34-.86.606-1.355.785L9.18 14H6.82l-.355-1.775a4.7 4.7 0 0 1-1.35-.785l-1.72.56-1.18-2 1.36-1.2a4.5 4.5 0 0 1 0-1.565L2.215 6l1.18-2 1.715.58a4.4 4.4 0 0 1 1.355-.785L6.82 2h2.36l.355 1.775c.49.184.947.45 1.35.785l1.72-.56 1.18 2-1.36 1.2a4.5 4.5 0 0 1 0 1.565L13.785 10z"/><path d="M8 11a3 3 0 1 1 3-3 2.97 2.97 0 0 1-3 3m0-5a1.955 1.955 0 0 0-2 2 1.955 1.955 0 0 0 2 2 1.954 1.954 0 0 0 2-2 1.954 1.954 0 0 0-2-2"/></svg>'),c("egen-icon-shopping-cart",'<svg xmlns="http://www.w3.org/2000/svg"><path d="M5 15a1 1 0 1 0 0-2 1 1 0 0 0 0 2M12 15a1 1 0 1 0 0-2 1 1 0 0 0 0 2M14 3.5H2.91L2.5 1.4A.5.5 0 0 0 2 1H0v1h1.59l1.91 9.6a.5.5 0 0 0 .5.4h9v-1H4.41L4 9h9a.5.5 0 0 0 .5-.39l1-4.5a.5.5 0 0 0-.5-.61M12.6 8H3.81l-.7-3.5h10.265z"/></svg>'),c("egen-icon-shopping-cart--arrow-down",'<svg xmlns="http://www.w3.org/2000/svg"><path d="M5 15a1 1 0 1 0 0-2 1 1 0 0 0 0 2M12 15a1 1 0 1 0 0-2 1 1 0 0 0 0 2M2.49 1.402A.5.5 0 0 0 2 1H0v1h1.59l1.92 9.598A.5.5 0 0 0 4 12h9v-1H4.41l-.4-2H13a.5.5 0 0 0 .488-.392L14.622 3.5h-1.024L12.6 8H3.81z"/><path d="M10.793 3.293 9 5.086V1H8v4.086L6.207 3.293 5.5 4l3 3 3-3z"/></svg>'),c("egen-icon-sticky-note-add",'<svg xmlns="http://www.w3.org/2000/svg"><path d="M11.5 1h-1v2h-2v1h2v2h1V4h2V3h-2z"/><path d="M7.5 2h-4a1.003 1.003 0 0 0-1 1v10a1.003 1.003 0 0 0 1 1h6a.45.45 0 0 0 .35-.15l3.5-3.5a.45.45 0 0 0 .15-.35V7h-1v2h-3a1.003 1.003 0 0 0-1 1v3h-5V3h4zm4.8 8-2.8 2.8V10z"/></svg>'),c("egen-icon-switcher",'<svg xmlns="http://www.w3.org/2000/svg"><path d="M9 2H7v2h2zM4 2H2v2h2zM14 2h-2v2h2zM9 7H7v2h2zM4 7H2v2h2zM14 7h-2v2h2zM9 12H7v2h2zM4 12H2v2h2zM14 12h-2v2h2z"/></svg>'),c("egen-icon-table-of-contents",'<svg xmlns="http://www.w3.org/2000/svg"><path d="M11 3H2v1h9zM11 6H2v1h9zM11 9H2v1h9zM11 12H2v1h9zM14 3h-1v1h1zM14 6h-1v1h1zM14 9h-1v1h1zM14 12h-1v1h1z"/></svg>'),c("egen-icon-table",'<svg xmlns="http://www.w3.org/2000/svg"><path d="M14.5 2.5a1 1 0 0 0-1-1h-11a1 1 0 0 0-1 1v11a1 1 0 0 0 1 1h11a1 1 0 0 0 1-1zm-1 0v2h-11v-2zm0 11h-11v-2h11zm0-3h-11v-2h11zm0-3h-11v-2h11z"/></svg>'),c("egen-icon-time",'<svg xmlns="http://www.w3.org/2000/svg"><path d="M8 15A7 7 0 1 1 8 1a7 7 0 0 1 0 14M8 2a6 6 0 1 0 0 12A6 6 0 0 0 8 2"/><path d="M10.295 11 7.5 8.205V3.5h1v4.29l2.5 2.505z"/></svg>'),c("egen-icon-tools",'<svg xmlns="http://www.w3.org/2000/svg"><path d="M6.05 1a4.9 4.9 0 0 0-2.7.8L6.55 5a1.05 1.05 0 0 1 .1 1.5 1.05 1.05 0 0 1-1.5-.1l-3.3-3.2A4.9 4.9 0 0 0 1 6.05a5.07 5.07 0 0 0 5.05 5.05c.438.002.874-.048 1.3-.15l3.35 3.35a2.51 2.51 0 1 0 3.55-3.55L10.9 7.4q.153-.641.15-1.3a5 5 0 0 0-5-5.1m4 5.05c0 .355-.051.709-.15 1.05l-.15.55.4.4 3.35 3.35a1.44 1.44 0 0 1 .45 1.05 1.36 1.36 0 0 1-.45 1.05 1.45 1.45 0 0 1-2.1 0l-3.35-3.35-.4-.4-.55.15c-.341.099-.695.15-1.05.15A4.14 4.14 0 0 1 3.2 8.9 3.82 3.82 0 0 1 2 6.05c0-.372.051-.742.15-1.1l2.2 2.2a2.07 2.07 0 0 0 2.95.1 2.07 2.07 0 0 0-.1-2.95L5 2.1c.323-.102.66-.153 1-.15A4.14 4.14 0 0 1 8.85 3.1a4.25 4.25 0 0 1 1.2 2.95"/></svg>'),c("egen-icon-translate",'<svg xmlns="http://www.w3.org/2000/svg"><path d="M13.925 14.5H15L12 7h-1.175l-3 7.5H8.9l.8-2h3.425zm-3.825-3 1.31-3.28 1.315 3.28zM9 3.5v-1H5.5V1h-1v1.5H1v1h5.37a7.36 7.36 0 0 1-1.595 3.09A6.8 6.8 0 0 1 3.63 4.5H2.58a8.2 8.2 0 0 0 1.5 2.79A8.4 8.4 0 0 1 1.5 9l.375.93A9.2 9.2 0 0 0 4.765 8a8.5 8.5 0 0 0 2.88 1.92L8 9a7.2 7.2 0 0 1-2.56-1.685A8.8 8.8 0 0 0 7.4 3.5z"/></svg>'),c("egen-icon-trash-can",'<svg xmlns="http://www.w3.org/2000/svg"><path d="M7 6H6v6h1zM10 6H9v6h1z"/><path d="M2 3v1h1v10a1 1 0 0 0 1 1h8a1 1 0 0 0 1-1V4h1V3zm2 11V4h8v10zM10 1H6v1h4z"/></svg>'),c("egen-icon-tree-view--alt",'<svg xmlns="http://www.w3.org/2000/svg"><g clip-path="url(#a)"><path d="M11.5 4.502h3a1 1 0 0 0 1-1v-2a1 1 0 0 0-1-1h-3a1 1 0 0 0-1 1v.5h-5v-.5a1 1 0 0 0-1-1h-3a1 1 0 0 0-1 1v2a1 1 0 0 0 1 1h3a1 1 0 0 0 1-1v-.5h2v10a1 1 0 0 0 1 1h2v.5a1 1 0 0 0 1 1h3a1 1 0 0 0 1-1v-2a1 1 0 0 0-1-1h-3a1 1 0 0 0-1 1v.5h-2v-4.5h2v.5a1 1 0 0 0 1 1h3a1 1 0 0 0 1-1v-2a1 1 0 0 0-1-1h-3a1 1 0 0 0-1 1v.5h-2v-4.5h2v.5a1 1 0 0 0 1 1m0-3h3v2h-3zm-7 2h-3v-2h3zm7 9h3v2h-3zm0-5.5h3v2h-3z"/></g><defs><clipPath id="a"><path fill="#fff" d="M0 0h16v16H0z"/></clipPath></defs></svg>'),c("egen-icon-user-avatar",'<svg xmlns="http://www.w3.org/2000/svg"><path d="M8 4a2.5 2.5 0 1 0 0 5 2.5 2.5 0 0 0 0-5m0 4a1.5 1.5 0 1 1 0-3 1.5 1.5 0 0 1 0 3"/><path d="M8 1a7 7 0 1 0 7 7 7.01 7.01 0 0 0-7-7M5 13.188V12.5A1.5 1.5 0 0 1 6.5 11h3a1.5 1.5 0 0 1 1.5 1.5v.688a5.95 5.95 0 0 1-6 0m6.996-.725A2.5 2.5 0 0 0 9.5 10h-3a2.5 2.5 0 0 0-2.496 2.463 6 6 0 1 1 7.992 0"/></svg>'),c("egen-icon-user-follow",'<svg xmlns="http://www.w3.org/2000/svg"><path d="M16 7h-2V5h-1v2h-2v1h2v2h1V8h2zM6 2a2.5 2.5 0 1 1 0 5 2.5 2.5 0 0 1 0-5m0-1a3.5 3.5 0 1 0 0 7 3.5 3.5 0 0 0 0-7M11 15h-1v-2.5A2.5 2.5 0 0 0 7.5 10h-3A2.5 2.5 0 0 0 2 12.5V15H1v-2.5A3.5 3.5 0 0 1 4.5 9h3a3.5 3.5 0 0 1 3.5 3.5z"/></svg>'),c("egen-icon-user",'<svg xmlns="http://www.w3.org/2000/svg"><path d="M8 2a2.5 2.5 0 1 1 0 5 2.5 2.5 0 0 1 0-5m0-1a3.5 3.5 0 1 0 0 7 3.5 3.5 0 0 0 0-7M13 15h-1v-2.5A2.5 2.5 0 0 0 9.5 10h-3A2.5 2.5 0 0 0 4 12.5V15H3v-2.5A3.5 3.5 0 0 1 6.5 9h3a3.5 3.5 0 0 1 3.5 3.5z"/></svg>'),c("egen-icon-view-off",'<svg xmlns="http://www.w3.org/2000/svg"><path d="m2.62 11.255.715-.71A7 7 0 0 1 1.535 8C2.55 5.465 5.35 3.5 8 3.5a6.2 6.2 0 0 1 2 .36l.775-.78A7.4 7.4 0 0 0 8 2.5 8.35 8.35 0 0 0 .53 7.83a.5.5 0 0 0 0 .34 8 8 0 0 0 2.09 3.085"/><path d="M6 7.865a2 2 0 0 1 1.85-1.85l.905-.91A3 3 0 0 0 5.09 8.77zM15.47 7.83a8.2 8.2 0 0 0-2.87-3.72L15 1.705 14.295 1 1 14.295l.705.705 2.55-2.55A7.65 7.65 0 0 0 8 13.5a8.35 8.35 0 0 0 7.47-5.33.5.5 0 0 0 0-.34M10 8a2 2 0 0 1-3 1.72L9.72 7A2 2 0 0 1 10 8m-2 4.5a6.5 6.5 0 0 1-3-.79l1.27-1.27a3 3 0 0 0 4.175-4.175L11.88 4.83A7.27 7.27 0 0 1 14.465 8C13.45 10.535 10.65 12.5 8 12.5"/></svg>'),c("egen-icon-view",'<svg xmlns="http://www.w3.org/2000/svg"><path d="M15.47 7.83A8.34 8.34 0 0 0 8 2.5 8.35 8.35 0 0 0 .53 7.83a.5.5 0 0 0 0 .34A8.35 8.35 0 0 0 8 13.5a8.35 8.35 0 0 0 7.47-5.33.5.5 0 0 0 0-.34M8 12.5c-2.65 0-5.45-1.965-6.465-4.5C2.55 5.465 5.35 3.5 8 3.5s5.45 1.965 6.465 4.5C13.45 10.535 10.65 12.5 8 12.5"/><path d="M8 5a3 3 0 1 0 0 6 3 3 0 0 0 0-6m0 5a2 2 0 1 1 0-4 2 2 0 0 1 0 4"/></svg>'),c("egen-icon-warning",'<svg xmlns="http://www.w3.org/2000/svg"><path d="M8 1a7 7 0 1 0 0 14A7 7 0 0 0 8 1m0 13A6 6 0 1 1 8 2a6 6 0 0 1 0 12"/><path d="M8.5 4h-1v5.5h1zM8 11a.75.75 0 1 0 0 1.5.75.75 0 0 0 0-1.5"/></svg>'),c("egen-pict-home",'<svg xmlns="http://www.w3.org/2000/svg"><path fill="#CEE6E5" d="M40 16 16 36v28h48V36z"/><path fill="#7BBCB9" d="M35 64V48.5c0-.83.67-1.5 1.5-1.5h7c.83 0 1.5.67 1.5 1.5V64zM22 42h8v8h-8zM50 42h8v8h-8z"/></svg>'),c("egen-pict-payments-desk",'<svg xmlns="http://www.w3.org/2000/svg"><path fill="#CEE6E5" d="M63.28 42.47c0 1.72-5.05 4.13-13.28 4.13-2.01 0-3.93-.15-5.72-.44.03-.16.06-.32.06-.49v-4.7c1.79.27 3.68.42 5.65.42 5.15 0 10.52-1.04 13.28-3v4.09z"/><path fill="#7BBCB9" d="M42.45 45.67c0 1.72-5.03 4.12-13.23 4.12S16 47.39 16 45.67V41.6c2.75 1.96 8.1 2.99 13.23 2.99s10.47-1.03 13.23-2.99v4.07z"/><path fill="#7BBCB9" d="M16 48.69c2.76 1.96 8.1 2.99 13.23 2.99s10.47-1.04 13.23-2.99v4.07c0 1.72-5.03 4.12-13.23 4.12S16 54.48 16 52.76z"/><path fill="#CEE6E5" d="M63.28 28.25c0 1.72-5.05 4.13-13.28 4.13s-13.28-2.41-13.28-4.13v-4.09c2.76 1.96 8.13 3 13.28 3s10.52-1.04 13.28-3z"/><path fill="#CEE6E5" d="M50 17c8.23 0 13.28 2.41 13.28 4.13S58.23 25.26 50 25.26s-13.28-2.41-13.28-4.13S41.77 17 50 17M36.73 31.26c2.76 1.97 8.13 3.01 13.28 3.01s10.52-1.04 13.28-3.01v4.09c0 1.72-5.05 4.13-13.28 4.13-1.97 0-3.93-.16-5.71-.45.03-.15.06-.3.06-.46 0-2.54-3.3-4.31-7.62-5.24v-2.07z"/><path fill="#7BBCB9" d="M29.23 34.47c8.2 0 13.23 2.4 13.23 4.12s-5.03 4.11-13.23 4.11S16 40.3 16 38.58s5.03-4.12 13.23-4.12zM29.23 63.96c-8.19 0-13.23-2.4-13.23-4.12v-4.07c2.75 1.96 8.1 2.99 13.23 2.99s10.47-1.04 13.23-2.99v4.07c0 1.72-5.03 4.12-13.23 4.12"/><path fill="#CEE6E5" d="M50 53.71c-2 0-3.92-.15-5.72-.44.03-.17.07-.34.07-.51v-4.67c1.78.27 3.68.41 5.65.41 5.15 0 10.52-1.04 13.28-3v4.09c0 1.72-5.05 4.13-13.28 4.13z"/></svg>'),c("egen-pict-service-queues",'<svg xmlns="http://www.w3.org/2000/svg"><path fill="#CEE6E5" fill-rule="evenodd" d="M34.824 27.412c.659-.473.879-1.41.784-2.353C35.703 21.133 32.502 18 28.55 18s-7.153 3.133-7.059 7.059c-.094 2.802 1.647 5.26 3.922 6.275C20.11 32.699 16 37.538 16 43.099v11.765h21.961V27.412zM63.06 54.864V43.099c0-5.561-4.11-10.415-9.412-11.765 2.274-1.015 4.016-3.473 3.922-6.275.094-3.926-3.106-7.059-7.06-7.059-3.952 0-7.152 3.133-7.058 7.059-.094.944.11 1.88.784 2.353h-3.137v27.452z" clip-rule="evenodd"/><path fill="#7BBCB9" fill-rule="evenodd" d="M28.55 61.138v-11.52c0-5.806 4.11-10.66 9.647-11.934-2.51-1.09-4.251-3.548-4.251-6.405 0-3.87 3.2-7.004 7.153-7.004s7.153 3.133 7.153 7.004c0 2.857-1.741 5.314-4.251 6.405 5.537 1.29 9.647 6.128 9.647 11.934v11.52" clip-rule="evenodd"/></svg>'),c("egen-pict-stock-management",'<svg xmlns="http://www.w3.org/2000/svg"><path fill="#CEE6E5" d="M40.9 16 16 27.04v36.17h7.79V32.06h33.32v31.15h7.79V26.1z"/><path fill="#7BBCB9" d="M38.28 53h-8.42a.9.9 0 0 0-.9.9v8.42a.9.9 0 0 0 .9.9h8.42a.9.9 0 0 0 .9-.9V53.9a.9.9 0 0 0-.9-.9M50.36 53h-8.42a.9.9 0 0 0-.9.9v8.42a.9.9 0 0 0 .9.9h8.42a.9.9 0 0 0 .9-.9V53.9a.9.9 0 0 0-.9-.9M44.36 41h-8.42a.9.9 0 0 0-.9.9v8.42a.9.9 0 0 0 .9.9h8.42a.9.9 0 0 0 .9-.9V41.9a.9.9 0 0 0-.9-.9"/></svg>'),c("egen-pict-transfer",'<svg xmlns="http://www.w3.org/2000/svg"><path fill="#CEE6E5" d="M58.87 20h-10a1.11 1.11 0 0 0-1.11 1.11v10c0 .613.497 1.11 1.11 1.11h10a1.11 1.11 0 0 0 1.11-1.11v-10A1.11 1.11 0 0 0 58.87 20M31.11 47.76h-10A1.11 1.11 0 0 0 20 48.87v10c0 .613.497 1.11 1.11 1.11h10a1.11 1.11 0 0 0 1.11-1.11v-10a1.11 1.11 0 0 0-1.11-1.11"/><path fill="#7BBCB9" d="M36.426 41.985 32.89 45.52l1.57 1.57 3.536-3.535z"/><path fill="#7BBCB9" fill-rule="evenodd" d="M37.88 35.84v-2.22h8.48v8.47h-2.22v-4.68l-4.42 4.42-1.57-1.57 4.42-4.42z" clip-rule="evenodd"/></svg>'),c("egen-empty-data-illustration",'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 64 64"><g fill="none"><path fill="#F4F4F4" d="M38.133 13.186H21.947a1.39 1.39 0 0 0-1.39 1.391V50.55l-.186.057-3.97 1.216a.743.743 0 0 1-.927-.493L3.664 12.751a.74.74 0 0 1 .492-.926l6.118-1.874 17.738-5.43 6.119-1.873a.74.74 0 0 1 .926.492L38.076 13z"/><path fill="#8D8D8D" d="M41.664 13 38.026 1.117A1.576 1.576 0 0 0 36.056.07l-8.601 2.633-17.737 5.43-8.603 2.634a1.58 1.58 0 0 0-1.046 1.97l12.436 40.616a1.58 1.58 0 0 0 1.969 1.046l5.897-1.805.185-.057v-.194l-.185.057-5.952 1.822a1.393 1.393 0 0 1-1.737-.923L.247 12.682a1.39 1.39 0 0 1 .923-1.738L9.772 8.31 27.51 2.881 36.112.247a1.393 1.393 0 0 1 1.737.923L41.47 13l.057.186h.193l-.057-.185z"/><path fill="#C6C6C6" d="M11.378 11.855a.84.84 0 0 1-.798-.59L9.385 7.361a.835.835 0 0 1 .554-1.042l16.318-4.996a.836.836 0 0 1 1.042.554l1.195 3.902a.836.836 0 0 1-.554 1.043l-16.318 4.995a.8.8 0 0 1-.244.037z"/><circle cx="17.636" cy="2.314" r="1.855" fill="#C6C6C6"/><circle cx="17.636" cy="2.314" r="1.175" fill="#FFF"/><path fill="#F4F4F4" d="M55.893 53.995H24.544a.79.79 0 0 1-.788-.789V15.644a.79.79 0 0 1 .788-.788h31.349a.79.79 0 0 1 .788.788v37.562a.79.79 0 0 1-.788.789"/><path fill="#8D8D8D" d="M41.47 13H21.948a1.58 1.58 0 0 0-1.576 1.577V52.4l.185-.057V14.577a1.39 1.39 0 0 1 1.391-1.39h19.581zm17.02 0H21.947a1.58 1.58 0 0 0-1.576 1.577v42.478c0 .87.706 1.576 1.576 1.577H58.49a1.58 1.58 0 0 0 1.576-1.577V14.577a1.58 1.58 0 0 0-1.576-1.576zm1.39 44.055c0 .768-.622 1.39-1.39 1.392H21.947a1.39 1.39 0 0 1-1.39-1.392V14.577c0-.768.622-1.39 1.39-1.39H58.49c.768 0 1.39.622 1.39 1.39z"/><path fill="#C6C6C6" d="M48.751 17.082H31.686a.836.836 0 0 1-.835-.835v-4.081c0-.46.374-.834.835-.835H48.75c.461 0 .834.374.835.835v4.08a.836.836 0 0 1-.835.836z"/><circle cx="40.218" cy="9.755" r="1.855" fill="#C6C6C6"/><circle cx="40.218" cy="9.755" r="1.13" fill="#FFF"/></g></svg>'),function(){if(!o&&(o=!0,0!==w.length)){for(var h=w.map(function(h){return h.svg}).join(""),v=new DOMParser().parseFromString("<body>".concat(h,"</body>"),"text/html").body.querySelectorAll(":scope > svg"),a=0;a<v.length;a++)v[a].id=w[a].id,n.appendChild(n.ownerDocument.importNode(v[a],!0));w.length=0}}(),(0,g.Ju)({name:"workspace2-close-prompt",moduleName:"@egen-civitas/esm-styleguide",load:(0,t.getSyncLifecycle)(function(h){var v=h.onConfirm,a=h.onCancel,s=h.affectedWorkspaceTitles;return(0,p.jsxs)(p.Fragment,{children:[(0,p.jsx)(i.ModalHeader,{closeModal:a,title:(0,r.V)("closeWorkspaces2PromptTitle")}),(0,p.jsxs)(i.ModalBody,{children:[(0,p.jsx)("p",{children:(0,r.V)("closeWorkspaces2PromptBody")}),(0,p.jsx)("ul",{className:"P0mBO1Xif5+ed74ed2GBqA==",children:s.map(function(h){return(0,p.jsx)("li",{children:h},h)})})]}),(0,p.jsxs)(i.ModalFooter,{children:[(0,p.jsx)(i.Button,{kind:"secondary",onClick:a,children:(0,r.V)("cancel","Cancel")}),(0,p.jsx)(i.Button,{kind:"danger",onClick:v,children:(0,r.V)("discardChanges","Discard changes")})]})]})},{featureName:"workspace2-close-prompt",moduleName:"@egen-civitas/esm-styleguide"})})}}]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"
|
|
1
|
+
{"version":3,"file":"6e590e5d195a54b4.js","sources":["webpack://@egen-civitas/esm-app-shell/../../framework/esm-styleguide/dist/svg-utils.js","webpack://@egen-civitas/esm-app-shell/../../framework/esm-styleguide/dist/brand.js","webpack://@egen-civitas/esm-app-shell/../../framework/esm-styleguide/dist/index.js","webpack://@egen-civitas/esm-app-shell/../../framework/esm-styleguide/dist/icons/icon-registration.js","webpack://@egen-civitas/esm-app-shell/../../framework/esm-styleguide/dist/pictograms/pictogram-registration.js","webpack://@egen-civitas/esm-app-shell/../../framework/esm-styleguide/dist/empty-card/empty-card-registration.js","webpack://@egen-civitas/esm-app-shell/../../framework/esm-styleguide/dist/workspaces2/workspace2-close-prompt.modal.js","webpack://@egen-civitas/esm-app-shell/../../framework/esm-styleguide/dist/workspaces2/workspace2-close-prompt.module.scss?a705"],"names":["svgContainer","document","appendContainer","window","queue","flushed","addSvg","htmlId","svgString","svgElement","dom","domParser","DOMParser","setGlobalCSSVariable","name","value","defineConfigSchema","esmStyleGuideSchema","getConfigStore","store","flushSvgs","html","svg","svgs","doc","i","registerModal","getSyncLifecycle","onConfirm","onCancel","affectedWorkspaceTitles","_jsxs","_Fragment","_jsx","ModalHeader","getCoreTranslation","ModalBody","title","ModalFooter","Button"],"mappings":"qLAOUA,EAAeC,SAAS,aAAa,CAAC,OAC1CC,EAAkB,WACpBD,SAAS,IAAI,CAAC,WAAW,CAACD,EAC9B,CACAA,CAAAA,EAAa,EAAE,CAAG,sBAClBA,EAAa,KAAK,CAAC,OAAO,CAAG,OACzBC,AAAwB,aAAxBA,SAAS,UAAU,CACnBC,IAEAC,OAAO,gBAAgB,CAAC,OAAQD,GAEpC,IAAME,EAAQ,EAAE,CACZC,EAAU,GAUH,SAASC,EAAOC,CAAM,CAAEC,CAAS,EACxC,GAAI,CAACH,EAAS,YACVD,EAAM,IAAI,CAAC,CACP,GAAIG,EACJ,IAAKC,CACT,GAMJ,IAAMC,EAAaC,AADPC,AADM,IAAIC,YACA,eAAe,CAACJ,EAAW,iBAC1B,aAAa,CAAC,OACjCC,IACAA,EAAW,EAAE,CAAGF,EAChBP,EAAa,WAAW,CAACS,GAEjC,C,8CC/BI,SAASI,EAAqBC,CAAI,CAAEC,CAAK,EACrCd,SAAS,eAAe,CAAC,KAAK,CAAC,WAAW,CAACa,EAAMC,EACrD,CCNJC,AAAAA,GAAAA,EAAAA,kBAAAA,AAAAA,EAAmB,+BAAgCC,EAAAA,CAAmBA,EDHlEC,AAAAA,GAAAA,EAAAA,cAAAA,AAAAA,EAAe,gCAAgC,SAAS,CAAC,SAACC,CAAK,EACvDA,EAAM,MAAM,EAAIA,EAAM,MAAM,GAC5BN,EAAqB,aAAcM,EAAM,MAAM,CAAC,iBAAiB,EACjEN,EAAqB,aAAcM,EAAM,MAAM,CAAC,iBAAiB,EACjEN,EAAqB,aAAcM,EAAM,MAAM,CAAC,iBAAiB,EAEzE,GE0IAb,EA9EW,qB,sQA8EXA,EA7EW,gB,uGA6EXA,EA5EW,uB,2HA4EXA,EA3EW,uB,uHA2EXA,EA1EW,wB,uHA0EXA,EAzEW,qB,qHAyEXA,EAxEW,8B,uOAwEXA,EAvEW,qB,uMAuEXA,EAtEW,uB,4EAsEXA,EArEW,uB,6EAqEXA,EApEW,wB,2EAoEXA,EAnEW,qB,4EAmEXA,EAlEW,0B,scAkEXA,EAjEW,uB,4UAiEXA,EAhEW,6B,sJAgEXA,EA/DW,8B,oMA+DXA,EA9DW,yB,gGA8DXA,EA7DW,yB,+FA6DXA,EA5DW,0B,gGA4DXA,EA3DW,uB,gGA2DXA,EA1DW,kB,yIA0DXA,EAzDW,yB,mMAyDXA,EAxDW,0B,oQAwDXA,EAvDW,qB,0QAuDXA,EAtDW,gC,mUAsDXA,EArDW,qB,6KAqDXA,EApDW,iB,uMAoDXA,EAnDW,2B,qSAmDXA,EAlDW,mB,oiBAkDXA,EAjDW,kB,icAiDXA,EAhDW,yB,idAgDXA,EA/CW,wB,iNA+CXA,EA9CW,+B,0LA8CXA,EA7CW,+B,mOA6CXA,EA5CW,iC,iQA4CXA,EA3CW,yB,4KA2CXA,EA1CW,qB,qZA0CXA,EAzCW,qB,uJAyCXA,EAxCW,0B,sMAwCXA,EAvCW,kB,kVAuCXA,EAtCW,qB,sOAsCXA,EArCW,sC,+JAqCXA,EApCW,oC,+JAoCXA,EAnCW,qB,sWAmCXA,EAlCW,8B,wpBAkCXA,EAjCW,gB,iPAiCXA,EAhCW,oB,wNAgCXA,EA/BW,qB,ogBA+BXA,EA9BW,kB,iMA8BXA,EA7BW,mB,iRA6BXA,EA5BW,kB,wJA4BXA,EA3BW,iB,4SA2BXA,EA1BW,mB,wKA0BXA,EAzBW,qB,u+BAyBXA,EAxBW,0B,4RAwBXA,EAvBW,sC,4UAuBXA,EAtBW,4B,mRAsBXA,EArBW,qB,0KAqBXA,EApBW,8B,oKAoBXA,EAnBW,kB,uMAmBXA,EAlBW,iB,uLAkBXA,EAjBW,kB,2qBAiBXA,EAhBW,sB,0XAgBXA,EAfW,sB,0KAeXA,EAdW,2B,2iBAcXA,EAbW,wB,mWAaXA,EAZW,wB,+RAYXA,EAVW,iB,gQAUXA,EATW,qB,gnBASXA,EARW,iB,wYAQXA,EAPW,oB,uMC9HXA,EAXgB,iB,qNAWhBA,EAVgB,0B,m2CAUhBA,EATgB,2B,gxBAShBA,EARgB,6B,icAQhBA,EAPgB,qB,miBCRhBA,EAAO,+B,m2DHYXc,AFkCW,WACP,IAAIf,IAGJA,EAAU,GACND,AAAiB,IAAjBA,EAAM,MAAM,GAShB,IAAI,IALEiB,EAAOjB,EAAM,GAAG,CAAC,Y,OAAGkB,EAAAA,GAAG,A,GAAU,IAAI,CAAC,IAGtCC,EAAOC,AADDb,AADM,IAAIC,YACA,eAAe,CAAE,SAAa,OAALS,EAAK,WAAU,aAC7C,IAAI,CAAC,gBAAgB,CAAC,gBAE/BI,EAAI,EAAGA,EAAIF,EAAK,MAAM,CAAEE,IAC5BF,CAAI,CAACE,EAAE,CAAC,EAAE,CAAGrB,CAAK,CAACqB,EAAE,CAAC,EAAE,CACxBzB,EAAa,WAAW,CAACA,EAAa,aAAa,CAAC,UAAU,CAACuB,CAAI,CAACE,EAAE,CAAE,IAE5ErB,CAAAA,EAAM,MAAM,CAAG,EACnB,IEpDAsB,AAAAA,GAAAA,EAAAA,EAAAA,AAAAA,EAAc,CACV,KAAM,0BACN,WAAY,+BACZ,KAAMC,AAAAA,GAAAA,EAAAA,gBAAAA,AAAAA,EIZ6B,Y,IAAGC,EAAAA,EAAAA,SAAS,CAAEC,EAAAA,EAAAA,QAAQ,CAAEC,EAAAA,EAAAA,uBAAuB,CAClF,MAAqBC,AAAAA,GAAAA,EAAAA,IAAAA,AAAAA,EAAMC,EAAAA,QAASA,CAAE,CAClC,SAAU,CACQC,AAAAA,GAAAA,EAAAA,GAAAA,AAAAA,EAAKC,EAAAA,WAAWA,CAAE,CAC5B,WAAYL,EACZ,MAAOM,AAAAA,GAAAA,EAAAA,CAAAA,AAAAA,EAAmB,8BAC9B,GACcJ,AAAAA,GAAAA,EAAAA,IAAAA,AAAAA,EAAMK,EAAAA,SAASA,CAAE,CAC3B,SAAU,CACQH,AAAAA,GAAAA,EAAAA,GAAAA,AAAAA,EAAK,IAAK,CACpB,SAAUE,AAAAA,GAAAA,EAAAA,CAAAA,AAAAA,EAAmB,6BACjC,GACcF,AAAAA,GAAAA,EAAAA,GAAAA,AAAAA,EAAK,KAAM,CACrB,UCnBQ,2BDoBR,SAAUH,EAAwB,GAAG,CAAC,SAACO,CAAK,E,MAAiBJ,AAAAA,GAAAA,EAAAA,GAAAA,AAAAA,EAAK,KAAM,CAChE,SAAUI,CACd,EAAGA,E,EACX,GACH,AACL,GACcN,AAAAA,GAAAA,EAAAA,IAAAA,AAAAA,EAAMO,EAAAA,WAAWA,CAAE,CAC7B,SAAU,CACQL,AAAAA,GAAAA,EAAAA,GAAAA,AAAAA,EAAKM,EAAAA,MAAMA,CAAE,CACvB,KAAM,YACN,QAASV,EACT,SAAUM,AAAAA,GAAAA,EAAAA,CAAAA,AAAAA,EAAmB,SAAU,SAC3C,GACcF,AAAAA,GAAAA,EAAAA,GAAAA,AAAAA,EAAKM,EAAAA,MAAMA,CAAE,CACvB,KAAM,SACN,QAASX,EACT,SAAUO,AAAAA,GAAAA,EAAAA,CAAAA,AAAAA,EAAmB,iBAAkB,kBACnD,GACH,AACL,GACH,AACL,EACJ,EJxBuD,CAC/C,YAAa,0BACb,WAAY,8BAChB,EACJ,E"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";(self.webpackChunk_egen_civitas_esm_app_shell=self.webpackChunk_egen_civitas_esm_app_shell||[]).push([["6680"],{3642(e,t,r){var n=r(8783),o="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},i=n.useState,u=n.useEffect,a=n.useLayoutEffect,l=n.useDebugValue;function c(e){var t=e.getSnapshot;e=e.value;try{var r=t();return!o(e,r)}catch(e){return!0}}var s="u"<typeof window||void 0===window.document||void 0===window.document.createElement?function(e,t){return t()}:function(e,t){var r=t(),n=i({inst:{value:r,getSnapshot:t}}),o=n[0].inst,s=n[1];return a(function(){o.value=r,o.getSnapshot=t,c(o)&&s({inst:o})},[e,r,t]),u(function(){return c(o)&&s({inst:o}),e(function(){c(o)&&s({inst:o})})},[e]),l(r),r};t.useSyncExternalStore=void 0!==n.useSyncExternalStore?n.useSyncExternalStore:s},8597(e,t,r){e.exports=r(3642)},9167(e,t,r){r.d(t,{y:()=>o});let n=e=>{let t,r=new Set,n=(e,n)=>{let o="function"==typeof e?e(t):e;if(!Object.is(o,t)){let e=t;t=(null!=n?n:"object"!=typeof o||null===o)?o:Object.assign({},t,o),r.forEach(r=>r(t,e))}},o=()=>t,i={setState:n,getState:o,getInitialState:()=>u,subscribe:e=>(r.add(e),()=>r.delete(e)),destroy:()=>{console.warn("[DEPRECATED] The `destroy` method will be unsupported in a future version. Instead use unsubscribe function returned by subscribe. Everything will be garbage-collected if store is garbage-collected."),r.clear()}},u=t=e(n,o,i);return i},o=e=>e?n(e):n},715(e,t,r){r.r(t),r.d(t,{useExtensionSlotMeta:()=>e_,useEgenPagination:()=>e1,useConnectivity:()=>eU,createUseStore:()=>h,useBackendConfiguration:()=>eh,useEgenSWR:()=>e7,useOnVisible:()=>eY,useRenderableExtensions:()=>tr,useForceUpdate:()=>eF,useExtensionStore:()=>eD,useSessionContext:()=>td,useBodyScrollLock:()=>eS,useAppContext:()=>el,UserHasAccess:()=>tp,getAsyncExtensionLifecycle:()=>H,getAsyncLifecycle:()=>$,useWorkSessionTypes:()=>tb,ComponentContext:()=>u,ExtensionSlot:()=>C,useConfig:()=>eI,useDebounce:()=>eT,useEgenInfinite:()=>e3,useAssignedExtensions:()=>O,Extension:()=>f,useAbortController:()=>eu,useConnectedExtensions:()=>eA,useExtensionSlotStore:()=>S,usePagination:()=>e9,useSession:()=>to,ConfigurableLink:()=>l,egenComponentDecorator:()=>K,useAssignedExtensionIds:()=>ed,useFeatureFlag:()=>eM,useSessionContextStore:()=>tf,useExtensionInternalStore:()=>ek,useDefineAppContext:()=>en,EgenAppContext:()=>eo,useAttachments:()=>eb,usePaginationInfo:()=>tt,useLocations:()=>eW,useExtensionSlot:()=>E,useStore:()=>v,useOnClickOutside:()=>eH,getLifecycle:()=>G,useStoreWithActions:()=>m,isDesktop:()=>eG,RenderIfValueIsTruthy:()=>ei,getSyncLifecycle:()=>W,useEgenFetchAll:()=>e4,useLayoutType:()=>eK});var n,o=r(8783),i=r.n(o),u=(0,o.createContext)({moduleName:"",featureName:""}),a=r(7774);function l(e){var t=e.to,r=e.templateParams,n=e.onBeforeNavigate,u=e.children,l=function(e,t){if(null==e)return{};var r,n,o,i={};if("u">typeof Reflect&&Reflect.ownKeys){for(o=0,r=Reflect.ownKeys(Object(e));o<r.length;o++)n=r[o],!(t.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n]);return i}if(i=function(e,t){if(null==e)return{};var r,n,o={},i=Object.getOwnPropertyNames(e);for(n=0;n<i.length;n++)r=i[n],!(t.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r]);return o}(e,t),Object.getOwnPropertySymbols)for(o=0,r=Object.getOwnPropertySymbols(e);o<r.length;o++)n=r[o],!(t.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n]);return i}(e,["to","templateParams","onBeforeNavigate","children"]);return(0,o.useEffect)(function(){l.href&&console.warn("ConfigurableLink does not support the href prop. Use the 'to' prop instead. The provided href value is '".concat(l.href,"'")),l.onClick&&console.warn("ConfigurableLink does not support the onClick prop. Use the 'onBeforeNavigate' prop instead. The 'to' prop of the offending link is ".concat(t))},[]),i().createElement("a",function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{},n=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(r).filter(function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable}))),n.forEach(function(t){var n;n=r[t],t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n})}return e}({onClick:function(e){0===e.button&&!e.ctrlKey&&!e.shiftKey&&!e.altKey&&!e.metaKey&&(e.preventDefault(),null==n||n(e),(0,a.oo)({to:t,templateParams:r})),0===e.button&&(e.ctrlKey||e.metaKey)&&(null==n||n(e)),0===e.button&&e.shiftKey&&(null==n||n(e)),1===e.button&&(null==n||n(e))},href:(0,a.JG)(t,r)},l),u)}var c=r(3693);function s(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{},n=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(r).filter(function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable}))),n.forEach(function(t){var n;n=r[t],t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n})}return e}var f=function(e){var t=e.state,r=(e.children,function(e,t){if(null==e)return{};var r,n,o,i={};if("u">typeof Reflect&&Reflect.ownKeys){for(o=0,r=Reflect.ownKeys(Object(e));o<r.length;o++)n=r[o],!(t.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n]);return i}if(i=function(e,t){if(null==e)return{};var r,n,o={},i=Object.getOwnPropertyNames(e);for(n=0;n<i.length;n++)r=i[n],!(t.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r]);return o}(e,t),Object.getOwnPropertySymbols)for(o=0,r=Object.getOwnPropertySymbols(e);o<r.length;o++)n=r[o],!(t.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n]);return i}(e,["state","children"])),n=(0,o.useContext)(u).extension,a=(0,o.useRef)(null),l=(0,o.useRef)(Promise.resolve()),f=(0,o.useCallback)(function(e){(null==n?void 0:n.extensionSlotName)&&n.extensionSlotModuleName&&n.extensionSlotModuleName&&!a.current&&(0,c.wG)(e,n.extensionSlotName,n.extensionSlotModuleName,n.extensionId,void 0,t).then(function(e){a.current=e})},[]);return(0,o.useEffect)(function(){return function(){if(a&&a.current)switch(a.current.getStatus()){case"MOUNTING":a.current.mountPromise.then(function(){var e;(null==(e=a.current)?void 0:e.getStatus())==="MOUNTED"&&a.current.unmount()});break;case"MOUNTED":a.current.unmount();break;case"UPDATING":l.current&&l.current.then(function(){var e;(null==(e=a.current)?void 0:e.getStatus())==="MOUNTED"&&a.current.unmount()})}}},[]),(0,o.useEffect)(function(){a.current&&a.current.update&&"UNMOUNTING"!==a.current.getStatus()&&Promise.all([a.current.mountPromise,l.current]).then(function(){var e;(null==a||null==(e=a.current)?void 0:e.getStatus())==="MOUNTED"&&a.current.update&&(l.current=a.current.update(s({},t)).catch(function(e){var t,r;if((null!=(r=Error)&&"u">typeof Symbol&&r[Symbol.hasInstance]?!r[Symbol.hasInstance](e):!(e instanceof r))||!e.message.includes("minified message #32")||(null==(t=a.current)?void 0:t.getStatus())==="MOUNTED")throw e}))})},[t]),n?i().createElement("div",s({ref:f,"data-extension-id":null==n?void 0:n.extensionId,style:{position:"relative"}},r)):null};function d(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}function y(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{},n=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(r).filter(function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable}))),n.forEach(function(t){var n;n=r[t],t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n})}return e}function b(e,t){if(e){if("string"==typeof e)return d(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if("Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r)return Array.from(r);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return d(e,t)}}function g(e,t){"function"==typeof t&&(t=t(e));var r={},n=!0,o=!1,i=void 0;try{for(var u,a=Object.entries(t)[Symbol.iterator]();!(n=(u=a.next()).done);n=!0)!function(){var t,n=(t=u.value,function(e){if(Array.isArray(e))return e}(t)||function(e){var t,r,n=null==e?null:"u">typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var o=[],i=!0,u=!1;try{for(n=n.call(e);!(i=(t=n.next()).done)&&(o.push(t.value),2!==o.length);i=!0);}catch(e){u=!0,r=e}finally{try{i||null==n.return||n.return()}finally{if(u)throw r}}return o}}(t)||b(t,2)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),o=n[0],i=n[1];r[o]=function(){for(var t=arguments.length,r=Array(t),n=0;n<t;n++)r[n]=arguments[n];e.setState(function(e){return i.apply(void 0,[e].concat(function(e){if(Array.isArray(e))return d(e)}(r)||function(e){if("u">typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(r)||b(r)||function(){throw TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()))})}}()}catch(e){o=!0,i=e}finally{try{n||null==a.return||a.return()}finally{if(o)throw i}}return r}var p=function(){return function(e){return e}};function v(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:p(),r=arguments.length>2?arguments[2]:void 0,n=(0,o.useCallback)(function(t){return e.subscribe(t)},[e]),i=(0,o.useCallback)(function(){return t(e.getState())},[e,t]);return y({},(0,o.useSyncExternalStore)(n,i,i),(0,o.useMemo)(function(){return r?g(e,r):{}},[e,r]))}function m(e,t){return v(e,p(),t)}function h(e){return function(t){var r=(0,o.useCallback)(function(t){return e.subscribe(t)},[]),n=(0,o.useCallback)(function(){return e.getState()},[]);return y({},(0,o.useSyncExternalStore)(r,n,n),(0,o.useMemo)(function(){return t?g(e,t):{}},[t]))}}var S=function(e){return v((0,c.zF)(),function(t){var r;return null==(r=t.slots)?void 0:r[e]})};function O(e){var t,r=S(e);return null!=(t=null==r?void 0:r.assignedExtensions)?t:[]}function E(e,t){var r=(0,o.useContext)(u).moduleName,n=(0,o.useRef)(!0);if(!r)throw Error("ComponentContext has not been provided. This should come from @egen-civitas/esm-react-utils.");return(0,o.useEffect)(function(){(0,c.FY)(r,e,t),n.current=!1},[]),(0,o.useEffect)(function(){n.current||(0,c.ap)(e,t)},[e,t]),{extensions:O(e),extensionSlotName:e,extensionSlotModuleName:r}}function w(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{},n=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(r).filter(function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable}))),n.forEach(function(t){var n;n=r[t],t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n})}return e}function j(e){return e}function C(e){var t,r,n=e.name,a=e.extensionSlotName,l=e.select,c=void 0===l?j:l,s=e.children,d=e.state,y=e.style,b=function(e,t){if(null==e)return{};var r,n,o,i={};if("u">typeof Reflect&&Reflect.ownKeys){for(o=0,r=Reflect.ownKeys(Object(e));o<r.length;o++)n=r[o],!(t.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n]);return i}if(i=function(e,t){if(null==e)return{};var r,n,o={},i=Object.getOwnPropertyNames(e);for(n=0;n<i.length;n++)r=i[n],!(t.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r]);return o}(e,t),Object.getOwnPropertySymbols)for(o=0,r=Object.getOwnPropertySymbols(e);o<r.length;o++)n=r[o],!(t.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n]);return i}(e,["name","extensionSlotName","select","children","state","style"]);if(s&&d)throw Error("Both children and state have been provided. If children are provided, the state must be passed as a prop to the `Extension` component.");var g=null!=n?n:a,p=(0,o.useRef)(null),v=E(g,d),m=v.extensions,h=v.extensionSlotModuleName,S=(0,o.useMemo)(function(){return c(m)},[c,m]),O=(0,o.useMemo)(function(){if("function"==typeof s&&!i().isValidElement(s))return S.map(function(e){return s(e,d)})},[s,S]);return i().createElement("div",w({ref:p,"data-extension-slot-name":g,"data-extension-slot-module-name":h,style:(t=w({},y),r=r={position:"relative"},Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):(function(e){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t.push.apply(t,r)}return t})(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}),t)},b),g&&(null==S?void 0:S.map(function(e,t){var r,n;return i().createElement(u.Provider,{key:e.id,value:{moduleName:h,featureName:"",extension:{extensionId:e.id,extensionSlotName:g,extensionSlotModuleName:h}}},null!=(r=null!=(n=null==O?void 0:O[t])?n:"function"!=typeof s?s:null)?r:i().createElement(f,{state:d}))})))}var I=r(8279),A=r(2879),x=r(3511),P=r(8597),R=r(4555);let U=i().use||(e=>{if("pending"===e.status)throw e;if("fulfilled"===e.status)return e.value;if("rejected"===e.status)throw e.reason;throw e.status="pending",e.then(t=>{e.status="fulfilled",e.value=t},t=>{e.status="rejected",e.reason=t}),e}),N={dedupe:!0},T=R.OBJECT.defineProperty(R.SWRConfig,"defaultValue",{value:R.defaultConfig}),k=(0,R.withArgs)((e,t,r)=>{let{cache:n,compare:i,suspense:u,fallbackData:a,revalidateOnMount:l,revalidateIfStale:c,refreshInterval:s,refreshWhenHidden:f,refreshWhenOffline:d,keepPreviousData:y}=r,[b,g,p,v]=R.SWRGlobalState.get(n),[m,h]=(0,R.serialize)(e),S=(0,o.useRef)(!1),O=(0,o.useRef)(!1),E=(0,o.useRef)(m),w=(0,o.useRef)(t),j=(0,o.useRef)(r),C=()=>j.current.isVisible()&&j.current.isOnline(),[I,A,x,T]=(0,R.createCacheHelper)(n,m),k=(0,o.useRef)({}).current,_=(0,R.isUndefined)(a)?r.fallback[m]:a,D=(e,t)=>{for(let r in k)if("data"===r){if(!i(e[r],t[r])&&(!(0,R.isUndefined)(e[r])||!i($,t[r])))return!1}else if(t[r]!==e[r])return!1;return!0},L=(0,o.useMemo)(()=>{let e=!!m&&!!t&&((0,R.isUndefined)(l)?!j.current.isPaused()&&!u&&(!!(0,R.isUndefined)(c)||c):l),r=t=>{let r=(0,R.mergeObjects)(t);return(delete r._k,e)?{isValidating:!0,isLoading:!0,...r}:r},n=I(),o=T(),i=r(n),a=n===o?i:r(o),s=i;return[()=>{let e=r(I());return D(e,s)?(s.data=e.data,s.isLoading=e.isLoading,s.isValidating=e.isValidating,s.error=e.error,s):(s=e,e)},()=>a]},[n,m]),M=(0,P.useSyncExternalStore)((0,o.useCallback)(e=>x(m,(t,r)=>{D(r,t)||e()}),[n,m]),L[0],L[1]),V=!S.current,F=b[m]&&b[m].length>0,z=M.data,B=(0,R.isUndefined)(z)?_:z,K=M.error,G=(0,o.useRef)(B),$=y?(0,R.isUndefined)(z)?G.current:z:B,W=(!F||!!(0,R.isUndefined)(K))&&(V&&!(0,R.isUndefined)(l)?l:!j.current.isPaused()&&(u?!(0,R.isUndefined)(B)&&c:(0,R.isUndefined)(B)||c)),H=!!(m&&t&&V&&W),Y=(0,R.isUndefined)(M.isValidating)?H:M.isValidating,J=(0,R.isUndefined)(M.isLoading)?H:M.isLoading,q=(0,o.useCallback)(async e=>{let t,n,o=w.current;if(!m||!o||O.current||j.current.isPaused())return!1;let u=!0,a=e||{},l=!p[m]||!a.dedupe,c=()=>R.IS_REACT_LEGACY?!O.current&&m===E.current&&S.current:m===E.current,s={isValidating:!1,isLoading:!1},f=()=>{A(s)},d=()=>{let e=p[m];e&&e[1]===n&&delete p[m]},y={isValidating:!0};(0,R.isUndefined)(I().data)&&(y.isLoading=!0);try{if(l&&(A(y),r.loadingTimeout&&(0,R.isUndefined)(I().data)&&setTimeout(()=>{u&&c()&&j.current.onLoadingSlow(m,r)},r.loadingTimeout),p[m]=[o(h),(0,R.getTimestamp)()]),[t,n]=p[m],t=await t,l&&setTimeout(d,r.dedupingInterval),!p[m]||p[m][1]!==n)return l&&c()&&j.current.onDiscarded(m),!1;s.error=R.UNDEFINED;let e=g[m];if(!(0,R.isUndefined)(e)&&(n<=e[0]||n<=e[1]||0===e[1]))return f(),l&&c()&&j.current.onDiscarded(m),!1;let a=I().data;s.data=i(a,t)?a:t,l&&c()&&j.current.onSuccess(t,m,r)}catch(r){d();let e=j.current,{shouldRetryOnError:t}=e;!e.isPaused()&&(s.error=r,l&&c()&&(e.onError(r,m,e),(!0===t||(0,R.isFunction)(t)&&t(r))&&(!j.current.revalidateOnFocus||!j.current.revalidateOnReconnect||C())&&e.onErrorRetry(r,m,e,e=>{let t=b[m];t&&t[0]&&t[0](R.revalidateEvents.ERROR_REVALIDATE_EVENT,e)},{retryCount:(a.retryCount||0)+1,dedupe:!0})))}return u=!1,f(),!0},[m,n]),X=(0,o.useCallback)((...e)=>(0,R.internalMutate)(n,E.current,...e),[]);if((0,R.useIsomorphicLayoutEffect)(()=>{w.current=t,j.current=r,(0,R.isUndefined)(z)||(G.current=z)}),(0,R.useIsomorphicLayoutEffect)(()=>{if(!m)return;let e=q.bind(R.UNDEFINED,N),t=0,r=(0,R.subscribeCallback)(m,b,(r,n={})=>{if(r==R.revalidateEvents.FOCUS_EVENT){let r=Date.now();j.current.revalidateOnFocus&&r>t&&C()&&(t=r+j.current.focusThrottleInterval,e())}else if(r==R.revalidateEvents.RECONNECT_EVENT)j.current.revalidateOnReconnect&&C()&&e();else if(r==R.revalidateEvents.MUTATE_EVENT)return q();else if(r==R.revalidateEvents.ERROR_REVALIDATE_EVENT)return q(n)});return O.current=!1,E.current=m,S.current=!0,A({_k:h}),W&&((0,R.isUndefined)(B)||R.IS_SERVER?e():(0,R.rAF)(e)),()=>{O.current=!0,r()}},[m]),(0,R.useIsomorphicLayoutEffect)(()=>{let e;function t(){let t=(0,R.isFunction)(s)?s(I().data):s;t&&-1!==e&&(e=setTimeout(r,t))}function r(){!I().error&&(f||j.current.isVisible())&&(d||j.current.isOnline())?q(N).then(t):t()}return t(),()=>{e&&(clearTimeout(e),e=-1)}},[s,f,d,m]),(0,o.useDebugValue)($),u&&(0,R.isUndefined)(B)&&m){if(!R.IS_REACT_LEGACY&&R.IS_SERVER)throw Error("Fallback data is required when using suspense in SSR.");w.current=t,j.current=r,O.current=!1;let e=v[m];if((0,R.isUndefined)(e)||U(X(e)),(0,R.isUndefined)(K)){let e=q(N);(0,R.isUndefined)($)||(e.status="fulfilled",e.value=!0),U(e)}else throw K}return{mutate:X,get data(){return k.data=!0,$},get error(){return k.error=!0,K},get isValidating(){return k.isValidating=!0,Y},get isLoading(){return k.isLoading=!0,J}}});var _=r(70);function D(e){return(D=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function L(e,t){return(L=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function M(e){return e&&"u">typeof Symbol&&e.constructor===Symbol?"symbol":typeof e}function V(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(V=function(){return!!e})()}var F={strictMode:!0,throwErrorsToConsole:!0,disableTranslations:!1},z=new Map,B={errorRetryCount:3,fetcher:_.egenFetch,focusThrottleInterval:18e5,revalidateIfStale:!0,revalidateOnFocus:!1,revalidateOnReconnect:!1,refreshInterval:0,shouldRetryOnError:function(e){var t;if(null!=(t=_.EgenFetchError)&&"u">typeof Symbol&&t[Symbol.hasInstance]?!!t[Symbol.hasInstance](e):e instanceof t){var r=e.response.status;return!!(r>=500)||401===r||403===r||429===r}return!0},provider:function(){return z}};function K(e){if((void 0===e?"undefined":M(e))!=="object"||"string"!=typeof e.featureName||"string"!=typeof e.moduleName)throw Error("Invalid options");var t=Object.assign({},F,e),r=function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{},n=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(r).filter(function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable}))),n.forEach(function(t){var n;n=r[t],t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n})}return e}({},B,t.swrConfig);return function(e){var n,a,l,c;return a=n=function(n){var a;if("function"!=typeof n&&null!==n)throw TypeError("Super expression must either be null or a function");function l(e){var r,n,o;if(!(this instanceof l))throw TypeError("Cannot call a class as a function");return n=l,o=[e],n=D(n),(r=function(e,t){if(t&&("object"===M(t)||"function"==typeof t))return t;if(void 0===e)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(this,V()?Reflect.construct(n,o||[],D(this).constructor):n.apply(this,o))).state={caughtError:null,caughtErrorInfo:null,config:{moduleName:t.moduleName,featureName:t.featureName,extension:e._extensionContext}},r}return l.prototype=Object.create(n&&n.prototype,{constructor:{value:l,writable:!0,configurable:!0}}),n&&L(l,n),a=[{key:"componentDidCatch",value:function(e,r){r&&r.componentStack&&(e.extra=Object.assign(e.extra||{},{componentStack:r.componentStack})),t.throwErrorsToConsole&&setTimeout(function(){throw e}),this.setState({caughtError:e,caughtErrorInfo:r})}},{key:"render",value:function(){if(this.state.caughtError)return i().createElement("div",null,"An error has occurred. Please try reloading the page.");var n=i().createElement(o.Suspense,{fallback:null},i().createElement(T,{value:r},i().createElement(u.Provider,{value:this.state.config},t.disableTranslations?i().createElement(e,this.props):i().createElement(x.I18nextProvider,{i18n:window.i18next,defaultNS:this.state.config.extension?"".concat(this.state.config.moduleName,"___").concat(this.state.config.extension.extensionSlotName,"___").concat(this.state.config.extension.extensionId):this.state.config.moduleName},i().createElement(e,this.props)))));return t.strictMode&&i().StrictMode?i().createElement(i().StrictMode,null,n):n}}],function(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}(l.prototype,a),l}(i().Component),l="displayName",c="EgenReactComponent(".concat(t.featureName,")"),l in a?Object.defineProperty(a,l,{value:c,enumerable:!0,configurable:!0,writable:!0}):a[l]=c,n}}function G(e,t){return(0,A.A)({React:i(),ReactDOMClient:I,rootComponent:K(t)(e)})}function $(e,t){return function(){return e().then(function(e){return G(e.default,t)})}}function W(e,t){return function(){return Promise.resolve(G(e,t))}}var H=$,Y=r(9167),J=r(1442),q=(0,Y.y)()(function(){return{}});(0,J.registerGlobalStore)("egen-app-context",q);var X={};function Z(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:function(e){return e},r=q.getState();return e in r?Object.freeze(Object.assign({},t?t(r[e]):r[e])):null}function Q(e,t){q.setState(function(r){return e in r||(r[e]={}),r[e]=t(r[e]),Object.assign({},r)})}function ee(e){return null===e?null:Object.freeze(Object.assign({},e))}var et=r(8254),er=new Map;function en(e,t){var r=(0,o.useRef)(null!=t?t:{}),n=(0,o.useRef)(function(t){return Q(e,t)}),i=(0,o.useRef)(Symbol());return(0,o.useEffect)(function(){var r=null!=t?t:{},n=i.current;return null===Z(e)?!function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:X;q.setState(function(r){var n,o;if(e in r)throw Error("Attempted to re-register namespace ".concat(e," in the app context. Each namespace must be unregistered before the name can be registered again."));return Object.assign({},r,(n={},o=t===X?{}:t,e in n?Object.defineProperty(n,e,{value:o,enumerable:!0,configurable:!0,writable:!0}):n[e]=o,n))})}(e,r):(console.warn("Namespace ".concat(e," is already registered in the app context. ")+"This is likely a race condition during navigation, but may indicate two components are trying to own the same namespace. Updating the existing context."),Q(e,function(){return r})),er.set(e,n),function(){er.get(e)===n&&(q.setState(function(t){return e in t&&delete t[e],t}),er.delete(e))}},[e]),(0,o.useEffect)(function(){var n=null!=t?t:{};(0,et.b)(r.current,n)||(Q(e,function(){return n}),r.current=n)},[t]),n.current}function eo(e){return en(e.namespace,e.value),null}var ei=function(e){var t=e.children,r=e.value,n=e.fallback;return r?i().createElement(i().Fragment,null,t):n?i().createElement(i().Fragment,null,n):null};function eu(){var e=(0,o.useRef)();return(!e.current||e.current.signal.aborted)&&(e.current=new AbortController),(0,o.useEffect)(function(){var t=e.current;return function(){return null==t?void 0:t.abort()}},[]),e.current}function ea(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}function el(e){var t,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:function(e){return null!=e?e:{}},n=function(e){if(Array.isArray(e))return e}(t=(0,o.useState)(function(){if(!ec(e)){var t=Z(e);if(null!==t)return r?r(t):t}}))||function(e){var t,r,n=null==e?null:"u">typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var o=[],i=!0,u=!1;try{for(n=n.call(e);!(i=(t=n.next()).done)&&(o.push(t.value),2!==o.length);i=!0);}catch(e){u=!0,r=e}finally{try{i||null==n.return||n.return()}finally{if(u)throw r}}return o}}(t)||function(e){if(e){if("string"==typeof e)return ea(e,2);var t=Object.prototype.toString.call(e).slice(8,-1);if("Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t)return Array.from(t);if("Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return ea(e,2)}}(t)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(),i=n[0],u=n[1];return(0,o.useEffect)(function(){if(ec(e))throw Error('The namespace supplied to useAppContext must be a non-empty string, but was "'.concat(e,'".'))},[e]),(0,o.useEffect)(function(){var t,n;return(t=function(e){if(null==e)return void u(void 0);var t=r?r(e):e;u(function(e){return(0,et.b)(e,t)?e:t})})(ee(n=Z(e))),q.subscribe(function(r){var o=e in r?r[e]:null;o!==n&&(n=o,t(ee(o)))})},[e,r]),i}function ec(e){return"string"!=typeof e||0===e.trim().length}var es=r(4809);function ef(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}function ed(e){var t,r=function(e){if(Array.isArray(e))return e}(t=(0,o.useState)([]))||function(e){var t,r,n=null==e?null:"u">typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var o=[],i=!0,u=!1;try{for(n=n.call(e);!(i=(t=n.next()).done)&&(o.push(t.value),2!==o.length);i=!0);}catch(e){u=!0,r=e}finally{try{i||null==n.return||n.return()}finally{if(u)throw r}}return o}}(t)||function(e){if(e){if("string"==typeof e)return ef(e,2);var t=Object.prototype.toString.call(e).slice(8,-1);if("Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t)return Array.from(t);if("Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return ef(e,2)}}(t)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(),n=r[0],i=r[1];return(0,o.useEffect)(function(){return(0,c.zF)().subscribe(function(t){var r,o,u=null!=(r=null==(o=t.slots[e])?void 0:o.assignedExtensions.map(function(e){return e.id}))?r:[];(0,es.A)(u,n)||i(u)})},[]),n}var ey=r(3400);function eb(e,t){var r=k("".concat(ey.Zu,"?entity=").concat(e,"&includeOrphan=").concat(t),_.egenFetch),n=r.data,i=r.error,u=r.mutate,a=r.isLoading,l=r.isValidating;return(0,o.useMemo)(function(){var e;return{isLoading:a,data:null!=(e=null==n?void 0:n.data.results)?e:[],error:i,mutate:u,isValidating:l}},[n,i,a,l,u])}let eg=i().use||(e=>{if("pending"===e.status)throw e;if("fulfilled"===e.status)return e.value;if("rejected"===e.status)throw e.reason;throw e.status="pending",e.then(t=>{e.status="fulfilled",e.value=t},t=>{e.status="rejected",e.reason=t}),e}),ep={dedupe:!0};R.OBJECT.defineProperty(R.SWRConfig,"defaultValue",{value:R.defaultConfig});let ev=(0,R.withArgs)((e,t,r)=>{let{cache:n,compare:i,suspense:u,fallbackData:a,revalidateOnMount:l,revalidateIfStale:c,refreshInterval:s,refreshWhenHidden:f,refreshWhenOffline:d,keepPreviousData:y}=r,[b,g,p,v]=R.SWRGlobalState.get(n),[m,h]=(0,R.serialize)(e),S=(0,o.useRef)(!1),O=(0,o.useRef)(!1),E=(0,o.useRef)(m),w=(0,o.useRef)(t),j=(0,o.useRef)(r),C=()=>j.current.isVisible()&&j.current.isOnline(),[I,A,x,U]=(0,R.createCacheHelper)(n,m),N=(0,o.useRef)({}).current,T=(0,R.isUndefined)(a)?r.fallback[m]:a,k=(e,t)=>{for(let r in N)if("data"===r){if(!i(e[r],t[r])&&(!(0,R.isUndefined)(e[r])||!i(K,t[r])))return!1}else if(t[r]!==e[r])return!1;return!0},_=(0,o.useMemo)(()=>{let e=!!m&&!!t&&((0,R.isUndefined)(l)?!j.current.isPaused()&&!u&&(!!(0,R.isUndefined)(c)||c):l),r=t=>{let r=(0,R.mergeObjects)(t);return(delete r._k,e)?{isValidating:!0,isLoading:!0,...r}:r},n=I(),o=U(),i=r(n),a=n===o?i:r(o),s=i;return[()=>{let e=r(I());return k(e,s)?(s.data=e.data,s.isLoading=e.isLoading,s.isValidating=e.isValidating,s.error=e.error,s):(s=e,e)},()=>a]},[n,m]),D=(0,P.useSyncExternalStore)((0,o.useCallback)(e=>x(m,(t,r)=>{k(r,t)||e()}),[n,m]),_[0],_[1]),L=!S.current,M=b[m]&&b[m].length>0,V=D.data,F=(0,R.isUndefined)(V)?T:V,z=D.error,B=(0,o.useRef)(F),K=y?(0,R.isUndefined)(V)?B.current:V:F,G=(!M||!!(0,R.isUndefined)(z))&&(L&&!(0,R.isUndefined)(l)?l:!j.current.isPaused()&&(u?!(0,R.isUndefined)(F)&&c:(0,R.isUndefined)(F)||c)),$=!!(m&&t&&L&&G),W=(0,R.isUndefined)(D.isValidating)?$:D.isValidating,H=(0,R.isUndefined)(D.isLoading)?$:D.isLoading,Y=(0,o.useCallback)(async e=>{let t,n,o=w.current;if(!m||!o||O.current||j.current.isPaused())return!1;let u=!0,a=e||{},l=!p[m]||!a.dedupe,c=()=>R.IS_REACT_LEGACY?!O.current&&m===E.current&&S.current:m===E.current,s={isValidating:!1,isLoading:!1},f=()=>{A(s)},d=()=>{let e=p[m];e&&e[1]===n&&delete p[m]},y={isValidating:!0};(0,R.isUndefined)(I().data)&&(y.isLoading=!0);try{if(l&&(A(y),r.loadingTimeout&&(0,R.isUndefined)(I().data)&&setTimeout(()=>{u&&c()&&j.current.onLoadingSlow(m,r)},r.loadingTimeout),p[m]=[o(h),(0,R.getTimestamp)()]),[t,n]=p[m],t=await t,l&&setTimeout(d,r.dedupingInterval),!p[m]||p[m][1]!==n)return l&&c()&&j.current.onDiscarded(m),!1;s.error=R.UNDEFINED;let e=g[m];if(!(0,R.isUndefined)(e)&&(n<=e[0]||n<=e[1]||0===e[1]))return f(),l&&c()&&j.current.onDiscarded(m),!1;let a=I().data;s.data=i(a,t)?a:t,l&&c()&&j.current.onSuccess(t,m,r)}catch(r){d();let e=j.current,{shouldRetryOnError:t}=e;!e.isPaused()&&(s.error=r,l&&c()&&(e.onError(r,m,e),(!0===t||(0,R.isFunction)(t)&&t(r))&&(!j.current.revalidateOnFocus||!j.current.revalidateOnReconnect||C())&&e.onErrorRetry(r,m,e,e=>{let t=b[m];t&&t[0]&&t[0](R.revalidateEvents.ERROR_REVALIDATE_EVENT,e)},{retryCount:(a.retryCount||0)+1,dedupe:!0})))}return u=!1,f(),!0},[m,n]),J=(0,o.useCallback)((...e)=>(0,R.internalMutate)(n,E.current,...e),[]);if((0,R.useIsomorphicLayoutEffect)(()=>{w.current=t,j.current=r,(0,R.isUndefined)(V)||(B.current=V)}),(0,R.useIsomorphicLayoutEffect)(()=>{if(!m)return;let e=Y.bind(R.UNDEFINED,ep),t=0,r=(0,R.subscribeCallback)(m,b,(r,n={})=>{if(r==R.revalidateEvents.FOCUS_EVENT){let r=Date.now();j.current.revalidateOnFocus&&r>t&&C()&&(t=r+j.current.focusThrottleInterval,e())}else if(r==R.revalidateEvents.RECONNECT_EVENT)j.current.revalidateOnReconnect&&C()&&e();else if(r==R.revalidateEvents.MUTATE_EVENT)return Y();else if(r==R.revalidateEvents.ERROR_REVALIDATE_EVENT)return Y(n)});return O.current=!1,E.current=m,S.current=!0,A({_k:h}),G&&((0,R.isUndefined)(F)||R.IS_SERVER?e():(0,R.rAF)(e)),()=>{O.current=!0,r()}},[m]),(0,R.useIsomorphicLayoutEffect)(()=>{let e;function t(){let t=(0,R.isFunction)(s)?s(I().data):s;t&&-1!==e&&(e=setTimeout(r,t))}function r(){!I().error&&(f||j.current.isVisible())&&(d||j.current.isOnline())?Y(ep).then(t):t()}return t(),()=>{e&&(clearTimeout(e),e=-1)}},[s,f,d,m]),(0,o.useDebugValue)(K),u&&(0,R.isUndefined)(F)&&m){if(!R.IS_REACT_LEGACY&&R.IS_SERVER)throw Error("Fallback data is required when using suspense in SSR.");w.current=t,j.current=r,O.current=!1;let e=v[m];if((0,R.isUndefined)(e)||eg(J(e)),(0,R.isUndefined)(z)){let e=Y(ep);(0,R.isUndefined)(K)||(e.status="fulfilled",e.value=!0),eg(e)}else throw z}return{mutate:J,get data(){return N.data=!0,K},get error(){return N.error=!0,z},get isValidating(){return N.isValidating=!0,W},get isLoading(){return N.isLoading=!0,H}}}),em=(0,R.withMiddleware)(ev,e=>(t,r,n)=>(n.revalidateOnFocus=!1,n.revalidateIfStale=!1,n.revalidateOnReconnect=!1,e(t,r,n)));function eh(e){var t=em(null!=e?e:"".concat(_.restBaseUrl,"/config"),_.egenFetch);return(0,o.useMemo)(function(){var e;return{backendConfiguration:null==(e=t.data)?void 0:e.data,isLoadingBackendConfiguration:t.isLoading,mutateBackendConfiguration:t.mutate,errorFetchingBackendConfiguration:t.error}},[t])}function eS(e){(0,o.useEffect)(function(){if(e){var t=window.getComputedStyle(document.body).overflow;return document.body.style.overflow="hidden",function(){document.body.style.overflow=t}}},[e])}var eO=r(3645);function eE(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}function ew(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{},n=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(r).filter(function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable}))),n.forEach(function(t){var n;n=r[t],t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n})}return e}function ej(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r,n,o=null==e?null:"u">typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=o){var i=[],u=!0,a=!1;try{for(o=o.call(e);!(u=(r=o.next()).done)&&(i.push(r.value),!t||i.length!==t);u=!0);}catch(e){a=!0,n=e}finally{try{u||null==o.return||o.return()}finally{if(a)throw n}}return i}}(e,t)||function(e,t){if(e){if("string"==typeof e)return eE(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if("Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r)return Array.from(r);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return eE(e,t)}}(e,t)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}var eC={};function eI(e){var t,r=(0,o.useContext)(u),n=r.moduleName,i=r.extension,a=null!=(t=null==e?void 0:e.externalModuleName)?t:n;if(!a&&!i)throw Error('No ComponentContext has been provided. This should come from "egenComponentDecorator".\nUsually this is already applied when using "getAsyncLifecycle" or "getSyncLifecycle".');var l=function(e){var t,r,n,i=(0,o.useMemo)(function(){return(0,eO.getConfigStore)(e)},[e]),u=(r=(t=ej((0,o.useState)(function(){var e=i.getState();return e.loaded&&e.config?e.config:null}),2))[0],n=t[1],(0,o.useEffect)(function(){return null==i?void 0:i.subscribe(function(e){e.loaded&&e.config&&n(e.config)})},[i]),r);if(!u)throw eC[e]||(eC[e]=new Promise(function(e){var t=i.subscribe(function(r){r.loaded&&r.config&&(e(r.config),t())})})),eC[e];return u}(a),c=function(e){var t=(0,o.useMemo)(eO.getExtensionsConfigStore,[]),r=(i=(n=ej((0,o.useState)(e?function(){var r=t.getState(),n=(0,eO.getExtensionConfigFromStore)(r,e.extensionSlotName,e.extensionId);if(n.loaded&&n.config)return n.config}:null),2))[0],u=n[1],(0,o.useEffect)(function(){if(e)return t.subscribe(function(t){var r=(0,eO.getExtensionConfigFromStore)(t,e.extensionSlotName,e.extensionId);r.loaded&&r.config&&!(0,es.A)(r.config,i)&&u(r.config)})},[t,e,i]),i);if(!r&&e){var n,i,u,a="".concat(e.extensionSlotName,"-").concat(e.extensionId);throw!eC[a]&&t&&(eC[a]=new Promise(function(r){var n=t.subscribe(function(t){var o=(0,eO.getExtensionConfigFromStore)(t,e.extensionSlotName,e.extensionId);o.loaded&&o.config&&(r(o.config),n())})})),eC[a]}return r||{}}(i);return(0,o.useMemo)(function(){return(null==e?void 0:e.externalModuleName)&&a===e.externalModuleName?ew({},l):ew({},l,c)},[a,null==e?void 0:e.externalModuleName,l,c])}var eA=O,ex=r(9726),eP=r(2316);function eR(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}function eU(){var e,t=function(e){if(Array.isArray(e))return e}(e=(0,o.useState)((0,eP.s)()))||function(e){var t,r,n=null==e?null:"u">typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var o=[],i=!0,u=!1;try{for(n=n.call(e);!(i=(t=n.next()).done)&&(o.push(t.value),2!==o.length);i=!0);}catch(e){u=!0,r=e}finally{try{i||null==n.return||n.return()}finally{if(u)throw r}}return o}}(e)||function(e){if(e){if("string"==typeof e)return eR(e,2);var t=Object.prototype.toString.call(e).slice(8,-1);if("Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t)return Array.from(t);if("Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return eR(e,2)}}(e)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(),r=t[0],n=t[1];return(0,o.useEffect)(function(){return(0,ex.gj)(function(e){return n(e.online)})},[]),r}function eN(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}function eT(e){var t,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:300,n=function(e){if(Array.isArray(e))return e}(t=(0,o.useState)(e))||function(e){var t,r,n=null==e?null:"u">typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var o=[],i=!0,u=!1;try{for(n=n.call(e);!(i=(t=n.next()).done)&&(o.push(t.value),2!==o.length);i=!0);}catch(e){u=!0,r=e}finally{try{i||null==n.return||n.return()}finally{if(u)throw r}}return o}}(t)||function(e){if(e){if("string"==typeof e)return eN(e,2);var t=Object.prototype.toString.call(e).slice(8,-1);if("Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t)return Array.from(t);if("Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return eN(e,2)}}(t)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(),i=n[0],u=n[1];return(0,o.useEffect)(function(){var t=setTimeout(function(){u(e)},r);return function(){clearTimeout(t)}},[e,r]),i}var ek=h((0,c.a9)());function e_(e){var t=O(e);return(0,o.useMemo)(function(){return Object.fromEntries(t.map(function(e){return[e.name,e.meta]}))},[t])}var eD=h((0,c.zF)()),eL=r(5794);function eM(e){var t,r;return null!=(t=null==(r=v(eL.jX).flags[e])?void 0:r.enabled)&&t}function eV(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}function eF(){var e,t=(function(e){if(Array.isArray(e))return e}(e=(0,o.useState)(0))||function(e){var t,r,n=null==e?null:"u">typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var o=[],i=!0,u=!1;try{for(n=n.call(e);!(i=(t=n.next()).done)&&(o.push(t.value),2!==o.length);i=!0);}catch(e){u=!0,r=e}finally{try{i||null==n.return||n.return()}finally{if(u)throw r}}return o}}(e)||function(e){if(e){if("string"==typeof e)return eV(e,2);var t=Object.prototype.toString.call(e).slice(8,-1);if("Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t)return Array.from(t);if("Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return eV(e,2)}}(e)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}())[1];return(0,o.useCallback)(function(){t(function(e){return e+1})},[])}function ez(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}function eB(){var e="tablet";return document.body.classList.forEach(function(t){switch(t){case"egen-breakpoint-lt-tablet":e="phone";break;case"egen-breakpoint-gt-small-desktop":e="large-desktop";break;case"egen-breakpoint-gt-tablet":e="small-desktop"}}),e}function eK(){var e,t=function(e){if(Array.isArray(e))return e}(e=(0,o.useState)(eB))||function(e){var t,r,n=null==e?null:"u">typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var o=[],i=!0,u=!1;try{for(n=n.call(e);!(i=(t=n.next()).done)&&(o.push(t.value),2!==o.length);i=!0);}catch(e){u=!0,r=e}finally{try{i||null==n.return||n.return()}finally{if(u)throw r}}return o}}(e)||function(e){if(e){if("string"==typeof e)return ez(e,2);var t=Object.prototype.toString.call(e).slice(8,-1);if("Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t)return Array.from(t);if("Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return ez(e,2)}}(e)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(),r=t[0],n=t[1];return(0,o.useEffect)(function(){var e=function(){n(eB())};return window.addEventListener("resize",e),function(){return window.removeEventListener("resize",e)}},[]),r}var eG=function(e){return"small-desktop"===e||"large-desktop"===e};function e$(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}function eW(){var e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=function(e){if(Array.isArray(e))return e}(e=(0,o.useState)([]))||function(e){var t,r,n=null==e?null:"u">typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var o=[],i=!0,u=!1;try{for(n=n.call(e);!(i=(t=n.next()).done)&&(o.push(t.value),2!==o.length);i=!0);}catch(e){u=!0,r=e}finally{try{i||null==n.return||n.return()}finally{if(u)throw r}}return o}}(e)||function(e){if(e){if("string"==typeof e)return e$(e,2);var t=Object.prototype.toString.call(e).slice(8,-1);if("Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t)return Array.from(t);if("Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return e$(e,2)}}(e)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(),i=n[0],u=n[1];return(0,o.useEffect)(function(){var e=(0,ey.Vs)(t,r).subscribe(function(e){u(e)},function(e){console.error(e)});return function(){return e.unsubscribe()}},[t,r]),i}function eH(e){var t=!(arguments.length>1)||void 0===arguments[1]||arguments[1],r=(0,o.useRef)(null);return(0,o.useEffect)(function(){var n=function(n){var o,i;t&&r.current&&n.target&&(o=n.target,null!=(i=Node)&&"u">typeof Symbol&&i[Symbol.hasInstance]?i[Symbol.hasInstance](o):o instanceof i)&&(r.current.contains(n.target)||e(n))};return window.addEventListener("mousedown",n),window.addEventListener("touchstart",n),function(){window.removeEventListener("mousedown",n),window.removeEventListener("touchstart",n)}},[e,t]),r}function eY(e){var t=(0,o.useRef)();return(0,o.useEffect)(function(){var r=new IntersectionObserver(function(t){var r=!0,n=!1,o=void 0;try{for(var i,u=t[Symbol.iterator]();!(r=(i=u.next()).done);r=!0)if(i.value.isIntersecting)return void e()}catch(e){n=!0,o=e}finally{try{r||null==u.return||u.return()}finally{if(n)throw o}}},{threshold:1});return t.current&&r.observe(t.current),function(){t.current&&r.unobserve(t.current)}},[t.current,e]),t}let eJ=i().use||(e=>{if("pending"===e.status)throw e;if("fulfilled"===e.status)return e.value;if("rejected"===e.status)throw e.reason;throw e.status="pending",e.then(t=>{e.status="fulfilled",e.value=t},t=>{e.status="rejected",e.reason=t}),e}),eq={dedupe:!0};R.OBJECT.defineProperty(R.SWRConfig,"defaultValue",{value:R.defaultConfig});let eX=(0,R.withArgs)((e,t,r)=>{let{cache:n,compare:i,suspense:u,fallbackData:a,revalidateOnMount:l,revalidateIfStale:c,refreshInterval:s,refreshWhenHidden:f,refreshWhenOffline:d,keepPreviousData:y}=r,[b,g,p,v]=R.SWRGlobalState.get(n),[m,h]=(0,R.serialize)(e),S=(0,o.useRef)(!1),O=(0,o.useRef)(!1),E=(0,o.useRef)(m),w=(0,o.useRef)(t),j=(0,o.useRef)(r),C=()=>j.current.isVisible()&&j.current.isOnline(),[I,A,x,U]=(0,R.createCacheHelper)(n,m),N=(0,o.useRef)({}).current,T=(0,R.isUndefined)(a)?r.fallback[m]:a,k=(e,t)=>{for(let r in N)if("data"===r){if(!i(e[r],t[r])&&(!(0,R.isUndefined)(e[r])||!i(K,t[r])))return!1}else if(t[r]!==e[r])return!1;return!0},_=(0,o.useMemo)(()=>{let e=!!m&&!!t&&((0,R.isUndefined)(l)?!j.current.isPaused()&&!u&&(!!(0,R.isUndefined)(c)||c):l),r=t=>{let r=(0,R.mergeObjects)(t);return(delete r._k,e)?{isValidating:!0,isLoading:!0,...r}:r},n=I(),o=U(),i=r(n),a=n===o?i:r(o),s=i;return[()=>{let e=r(I());return k(e,s)?(s.data=e.data,s.isLoading=e.isLoading,s.isValidating=e.isValidating,s.error=e.error,s):(s=e,e)},()=>a]},[n,m]),D=(0,P.useSyncExternalStore)((0,o.useCallback)(e=>x(m,(t,r)=>{k(r,t)||e()}),[n,m]),_[0],_[1]),L=!S.current,M=b[m]&&b[m].length>0,V=D.data,F=(0,R.isUndefined)(V)?T:V,z=D.error,B=(0,o.useRef)(F),K=y?(0,R.isUndefined)(V)?B.current:V:F,G=(!M||!!(0,R.isUndefined)(z))&&(L&&!(0,R.isUndefined)(l)?l:!j.current.isPaused()&&(u?!(0,R.isUndefined)(F)&&c:(0,R.isUndefined)(F)||c)),$=!!(m&&t&&L&&G),W=(0,R.isUndefined)(D.isValidating)?$:D.isValidating,H=(0,R.isUndefined)(D.isLoading)?$:D.isLoading,Y=(0,o.useCallback)(async e=>{let t,n,o=w.current;if(!m||!o||O.current||j.current.isPaused())return!1;let u=!0,a=e||{},l=!p[m]||!a.dedupe,c=()=>R.IS_REACT_LEGACY?!O.current&&m===E.current&&S.current:m===E.current,s={isValidating:!1,isLoading:!1},f=()=>{A(s)},d=()=>{let e=p[m];e&&e[1]===n&&delete p[m]},y={isValidating:!0};(0,R.isUndefined)(I().data)&&(y.isLoading=!0);try{if(l&&(A(y),r.loadingTimeout&&(0,R.isUndefined)(I().data)&&setTimeout(()=>{u&&c()&&j.current.onLoadingSlow(m,r)},r.loadingTimeout),p[m]=[o(h),(0,R.getTimestamp)()]),[t,n]=p[m],t=await t,l&&setTimeout(d,r.dedupingInterval),!p[m]||p[m][1]!==n)return l&&c()&&j.current.onDiscarded(m),!1;s.error=R.UNDEFINED;let e=g[m];if(!(0,R.isUndefined)(e)&&(n<=e[0]||n<=e[1]||0===e[1]))return f(),l&&c()&&j.current.onDiscarded(m),!1;let a=I().data;s.data=i(a,t)?a:t,l&&c()&&j.current.onSuccess(t,m,r)}catch(r){d();let e=j.current,{shouldRetryOnError:t}=e;!e.isPaused()&&(s.error=r,l&&c()&&(e.onError(r,m,e),(!0===t||(0,R.isFunction)(t)&&t(r))&&(!j.current.revalidateOnFocus||!j.current.revalidateOnReconnect||C())&&e.onErrorRetry(r,m,e,e=>{let t=b[m];t&&t[0]&&t[0](R.revalidateEvents.ERROR_REVALIDATE_EVENT,e)},{retryCount:(a.retryCount||0)+1,dedupe:!0})))}return u=!1,f(),!0},[m,n]),J=(0,o.useCallback)((...e)=>(0,R.internalMutate)(n,E.current,...e),[]);if((0,R.useIsomorphicLayoutEffect)(()=>{w.current=t,j.current=r,(0,R.isUndefined)(V)||(B.current=V)}),(0,R.useIsomorphicLayoutEffect)(()=>{if(!m)return;let e=Y.bind(R.UNDEFINED,eq),t=0,r=(0,R.subscribeCallback)(m,b,(r,n={})=>{if(r==R.revalidateEvents.FOCUS_EVENT){let r=Date.now();j.current.revalidateOnFocus&&r>t&&C()&&(t=r+j.current.focusThrottleInterval,e())}else if(r==R.revalidateEvents.RECONNECT_EVENT)j.current.revalidateOnReconnect&&C()&&e();else if(r==R.revalidateEvents.MUTATE_EVENT)return Y();else if(r==R.revalidateEvents.ERROR_REVALIDATE_EVENT)return Y(n)});return O.current=!1,E.current=m,S.current=!0,A({_k:h}),G&&((0,R.isUndefined)(F)||R.IS_SERVER?e():(0,R.rAF)(e)),()=>{O.current=!0,r()}},[m]),(0,R.useIsomorphicLayoutEffect)(()=>{let e;function t(){let t=(0,R.isFunction)(s)?s(I().data):s;t&&-1!==e&&(e=setTimeout(r,t))}function r(){!I().error&&(f||j.current.isVisible())&&(d||j.current.isOnline())?Y(eq).then(t):t()}return t(),()=>{e&&(clearTimeout(e),e=-1)}},[s,f,d,m]),(0,o.useDebugValue)(K),u&&(0,R.isUndefined)(F)&&m){if(!R.IS_REACT_LEGACY&&R.IS_SERVER)throw Error("Fallback data is required when using suspense in SSR.");w.current=t,j.current=r,O.current=!1;let e=v[m];if((0,R.isUndefined)(e)||eJ(J(e)),(0,R.isUndefined)(z)){let e=Y(eq);(0,R.isUndefined)(K)||(e.status="fulfilled",e.value=!0),eJ(e)}else throw z}return{mutate:J,get data(){return N.data=!0,K},get error(){return N.error=!0,z},get isValidating(){return N.isValidating=!0,W},get isLoading(){return N.isLoading=!0,H}}}),eZ=Promise.resolve(),eQ=(0,R.withMiddleware)(eX,e=>(t,r,n)=>{let i,u=(0,o.useRef)(!1),{cache:a,initialSize:l=1,revalidateAll:c=!1,persistSize:s=!1,revalidateFirstPage:f=!0,revalidateOnMount:d=!1,parallel:y=!1}=n,[,,,b]=R.SWRGlobalState.get(R.cache);try{(i=(0,R.serialize)(t?t(0,null):null)[0])&&(i=R.INFINITE_PREFIX+i)}catch(e){}let[g,p,v]=(0,R.createCacheHelper)(a,i),m=(0,o.useCallback)(()=>(0,R.isUndefined)(g()._l)?l:g()._l,[a,i,l]);(0,P.useSyncExternalStore)((0,o.useCallback)(e=>i?v(i,()=>{e()}):()=>{},[a,i]),m,m);let h=(0,o.useCallback)(()=>{let e=g()._l;return(0,R.isUndefined)(e)?l:e},[i,l]),S=(0,o.useRef)(h());(0,R.useIsomorphicLayoutEffect)(()=>{if(!u.current){u.current=!0;return}i&&p({_l:s?S.current:h()})},[i,a]);let O=d&&!u.current,E=e(i,async e=>{let o=g()._i,i=g()._r;p({_r:R.UNDEFINED});let u=[],l=h(),[s]=(0,R.createCacheHelper)(a,e),d=s().data,v=[],m=null;for(let e=0;e<l;++e){let[l,s]=(0,R.serialize)(t(e,y?null:m));if(!l)break;let[g,p]=(0,R.createCacheHelper)(a,l),h=g().data,S=c||o||(0,R.isUndefined)(h)||f&&!e&&!(0,R.isUndefined)(d)||O||d&&!(0,R.isUndefined)(d[e])&&!n.compare(d[e],h);if(r&&("function"==typeof i?i(h,s):S)){let t=async()=>{if(l in b){let e=b[l];delete b[l],h=await e}else h=await r(s);p({data:h,_k:s}),u[e]=h};y?v.push(t):await t()}else u[e]=h;y||(m=h)}return y&&await Promise.all(v.map(e=>e())),p({_i:R.UNDEFINED}),u},n),w=(0,o.useCallback)(function(e,t){let r="boolean"==typeof t?{revalidate:t}:t||{},n=!1!==r.revalidate;return i?(n&&((0,R.isUndefined)(e)?p({_i:!0,_r:r.revalidate}):p({_i:!1,_r:r.revalidate})),arguments.length?E.mutate(e,{...r,revalidate:n}):E.mutate()):eZ},[i,a]),j=(0,o.useCallback)(e=>{let r;if(!i)return eZ;let[,n]=(0,R.createCacheHelper)(a,i);if((0,R.isFunction)(e)?r=e(h()):"number"==typeof e&&(r=e),"number"!=typeof r)return eZ;n({_l:r}),S.current=r;let o=[],[u]=(0,R.createCacheHelper)(a,i),l=null;for(let e=0;e<r;++e){let[r]=(0,R.serialize)(t(e,l)),[n]=(0,R.createCacheHelper)(a,r),i=r?n().data:R.UNDEFINED;if((0,R.isUndefined)(i))return w(u().data);o.push(i),l=i}return w(o)},[i,a,w,h]);return{size:h(),setSize:j,mutate:w,get data(){return E.data},get error(){return E.error},get isValidating(){return E.isValidating},get isLoading(){return E.isLoading}}});function e0(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}function e1(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return function(e,t,r){var n,i,u=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},a=r.getPaginatedUrl,l=r.getTotalCount,c=r.getCurrentPageSize,s=r.getData,f=u.immutable,d=u.swrConfig,y=null!=(i=u.fetcher)?i:_.egenFetch,b=function(e){if(Array.isArray(e))return e}(n=(0,o.useState)(1))||function(e){var t,r,n=null==e?null:"u">typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var o=[],i=!0,u=!1;try{for(n=n.call(e);!(i=(t=n.next()).done)&&(o.push(t.value),2!==o.length);i=!0);}catch(e){u=!0,r=e}finally{try{i||null==n.return||n.return()}finally{if(u)throw r}}return o}}(n)||function(e){if(e){if("string"==typeof e)return e0(e,2);var t=Object.prototype.toString.call(e).slice(8,-1);if("Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t)return Array.from(t);if("Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return e0(e,2)}}(n)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(),g=b[0],p=b[1],v=(0,o.useRef)(NaN),m=(0,o.useRef)(NaN),h=(g-1)*t,S=(f?em:k)((0,o.useMemo)(function(){return a(e,t,h)},[e,t,h]),y,d),O=S.data,E=function(e,t){if(null==e)return{};var r,n,o,i={};if("u">typeof Reflect&&Reflect.ownKeys){for(o=0,r=Reflect.ownKeys(Object(e));o<r.length;o++)n=r[o],!(t.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n]);return i}if(i=function(e,t){if(null==e)return{};var r,n,o={},i=Object.getOwnPropertyNames(e);for(n=0;n<i.length;n++)r=i[n],!(t.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r]);return o}(e,t),Object.getOwnPropertySymbols)for(o=0,r=Object.getOwnPropertySymbols(e);o<r.length;o++)n=r[o],!(t.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n]);return i}(S,["data"]);(null==O?void 0:O.data)&&(v.current=l(null==O?void 0:O.data),m.current=c(null==O?void 0:O.data));var w=Math.ceil(v.current/t),j=(0,o.useCallback)(function(e){0<e&&e<=w?p(e):console.warn("Invalid attempt to go to out of bounds page: "+e)},[e,g,w]),C=(0,o.useCallback)(function(){j(g+1)},[e,g,w]),I=(0,o.useCallback)(function(){j(g-1)},[e,g,w]);return function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{},n=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(r).filter(function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable}))),n.forEach(function(t){var n;n=r[t],t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n})}return e}({data:s(null==O?void 0:O.data),totalPages:w,totalCount:v.current,currentPage:g,currentPageSize:m,paginated:w>1,showNextButton:g<w,showPreviousButton:g>1,goTo:j,goToNext:C,goToPrevious:I},E)}(e,t,e2,r)}var e2={getPaginatedUrl:function(e,t,r){if(!e)return null;var n=new URL((0,_.makeUrl)(e.toString()),window.location.toString());return n.searchParams.set("limit",""+t),n.searchParams.set("startIndex",""+r),n.searchParams.set("totalCount","true"),n.toString()},getNextUrl:function(e){var t,r,n=null==e||null==(r=e.links)||null==(t=r.find(function(e){return"next"==e.rel}))?void 0:t.uri;if(!n)return null;var o=new URL(n);return o.host=window.location.host,o.protocol=window.location.protocol,o.toString()},getTotalCount:function(e){var t;return null!=(t=null==e?void 0:e.totalCount)?t:NaN},getCurrentPageSize:function(e){var t,r;return null!=(t=null==e||null==(r=e.results)?void 0:r.length)?t:NaN},getData:function(e){return null==e?void 0:e.results}};function e8(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{},n=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(r).filter(function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable}))),n.forEach(function(t){var n;n=r[t],t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n})}return e}function e3(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return e6(e,e2,t)}function e6(e,t){var r,n,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},u=i.swrInfiniteConfig,a=i.immutable,l=t.getNextUrl,c=t.getTotalCount,s=t.getData,f=null!=(r=i.fetcher)?r:_.egenFetch,d=eQ((0,o.useCallback)(function(r,n){var o;return 0!=r?t.getNextUrl(n.data):null!=(o=null==e?void 0:e.toString())?o:null},[e]),f,e8({},u,a?{revalidateIfStale:!1,revalidateOnFocus:!1,revalidateOnReconnect:!1}:{})),y=d.data,b=(d.size,d.setSize),g=function(e,t){if(null==e)return{};var r,n,o,i={};if("u">typeof Reflect&&Reflect.ownKeys){for(o=0,r=Reflect.ownKeys(Object(e));o<r.length;o++)n=r[o],!(t.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n]);return i}if(i=function(e,t){if(null==e)return{};var r,n,o={},i=Object.getOwnPropertyNames(e);for(n=0;n<i.length;n++)r=i[n],!(t.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r]);return o}(e,t),Object.getOwnPropertySymbols)for(o=0,r=Object.getOwnPropertySymbols(e);o<r.length;o++)n=r[o],!(t.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n]);return i}(d,["data","size","setSize"]),p=l(null==y?void 0:y[y.length-1].data),v=c(null==y||null==(n=y[0])?void 0:n.data);return e8({data:null==y?void 0:y.flatMap(function(e){return s(e.data)}),totalCount:v,hasMore:null!=p,loadMore:function(){var e;b((null!=(e=null==y?void 0:y.length)?e:0)+1)},nextUri:p},g)}function e4(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return function(e,t){var r,n,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},u=e6(e,t,i),a=u.hasMore,l=u.error,c=u.data,s=u.loadMore,f=u.isLoading,d=u.nextUri;return((0,o.useEffect)(function(){a&&!l&&s()},[a,d]),i.partialData)?u:(r=function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{},n=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(r).filter(function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable}))),n.forEach(function(t){var n;n=r[t],t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n})}return e}({},u),n=n={data:a||l?void 0:c,isLoading:f||a},Object.getOwnPropertyDescriptors?Object.defineProperties(r,Object.getOwnPropertyDescriptors(n)):(function(e){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t.push.apply(t,r)}return t})(Object(n)).forEach(function(e){Object.defineProperty(r,e,Object.getOwnPropertyDescriptor(n,e))}),r)}(e,e2,t)}function e7(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=t.abortController,n=t.fetchInit,i=t.url,u=t.swrConfig,a=eu(),l=(0,o.useMemo)(function(){var e,t;return null!=(e=null!=(t=null==n?void 0:n.signal)?t:null==r?void 0:r.signal)?e:a.signal},[null==r?void 0:r.signal,null==n?void 0:n.signal,a.signal]);return k(e,(0,o.useCallback)(function(e){var t,r,o=function(e,t){if(t)return"function"==typeof t?t(e):t;if("string"==typeof e)return e;throw Error("When using useEgenSWR with a key that is not a string, you must provide a url() function that converts the key to a valid url. The key for this hook is ".concat(e,"."))}(e,i);return(0,_.egenFetch)(o,(t=function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{},n=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(r).filter(function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable}))),n.forEach(function(t){var n;n=r[t],t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n})}return e}({},n),r=r={signal:l},Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):(function(e){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t.push.apply(t,r)}return t})(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}),t))},[l,n,i]),u)}function e5(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}function e9(){var e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:10,n=function(e){if(Array.isArray(e))return e}(e=(0,o.useState)(1))||function(e){var t,r,n=null==e?null:"u">typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var o=[],i=!0,u=!1;try{for(n=n.call(e);!(i=(t=n.next()).done)&&(o.push(t.value),2!==o.length);i=!0);}catch(e){u=!0,r=e}finally{try{i||null==n.return||n.return()}finally{if(u)throw r}}return o}}(e)||function(e){if(e){if("string"==typeof e)return e5(e,2);var t=Object.prototype.toString.call(e).slice(8,-1);if("Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t)return Array.from(t);if("Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return e5(e,2)}}(e)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(),i=n[0],u=n[1],a=(0,o.useMemo)(function(){return"number"==typeof r&&r>0?Math.max(1,Math.ceil(t.length/r)):1},[t.length,r]),l=(0,o.useMemo)(function(){var e=(i-1)*r,n=(i+0)*r;return t.slice(e,n)},[t,i,r]),c=(0,o.useCallback)(function(e){u(Math.max(1,Math.min(a,e)))},[u,a]),s=(0,o.useCallback)(function(){i<a&&u(i+1)},[i,a,u]),f=(0,o.useCallback)(function(){i>1&&u(i-1)},[i,u]);return(0,o.useMemo)(function(){return{results:l,totalPages:a,currentPage:i,paginated:t.length>r,showNextButton:i<a,showPreviousButton:i>1,goTo:c,goToNext:s,goToPrevious:f}},[l,a,t.length,r,i,c,s,f])}function te(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}function tt(e,t,r,n){return{pageSizes:(0,o.useMemo)(function(){var r,n=Math.ceil(t/e);return isNaN(n)&&(n=0),((function(e){if(Array.isArray(e))return te(e)})(r=Array(n).keys())||function(e){if("u">typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(r)||function(e){if(e){if("string"==typeof e)return te(e,void 0);var t=Object.prototype.toString.call(e).slice(8,-1);if("Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t)return Array.from(t);if("Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return te(e,void 0)}}(r)||function(){throw TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()).map(function(t){return(t+1)*e})},[e,t]),pageItemsCount:(0,o.useMemo)(function(){return e>t?t:e*r>t?e*(r-1)+n:e*r},[e,t,r,n])}}function tr(e){var t=E(e),r=t.extensions,n=t.extensionSlotModuleName;return e?r.map(function(t){return function(r){var o=r.state;return i().createElement(u.Provider,{value:{moduleName:n,featureName:"",extension:{extensionId:t.id,extensionSlotName:e,extensionSlotModuleName:n}}},i().createElement(f,{state:o}))}}):[]}function tn(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}function to(){var e,t=(0,o.useRef)(),r=function(e){if(Array.isArray(e))return e}(e=(0,o.useState)(null))||function(e){var t,r,n=null==e?null:"u">typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var o=[],i=!0,u=!1;try{for(n=n.call(e);!(i=(t=n.next()).done)&&(o.push(t.value),2!==o.length);i=!0);}catch(e){u=!0,r=e}finally{try{i||null==n.return||n.return()}finally{if(u)throw r}}return o}}(e)||function(e){if(e){if("string"==typeof e)return tn(e,2);var t=Object.prototype.toString.call(e).slice(8,-1);if("Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t)return Array.from(t);if("Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return tn(e,2)}}(e)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(),i=r[0],u=r[1],a=null;if(!i){if(n){var l=(0,_.getSessionStore)().getState();l.loaded&&(a=l.session)}else n=new Promise(function(e){var r=function(r){var n=r.loaded,o=r.session;n&&(e(o),a=o,t.current&&(t.current(),t.current=void 0))};r((0,_.getSessionStore)().getState()),a||(t.current=(0,_.getSessionStore)().subscribe(r))});if(a)u(a);else throw n}(0,o.useEffect)(function(){return t.current||(t.current=(0,_.getSessionStore)().subscribe(function(e){var t=e.loaded,r=e.session;t&&(a=r,u(r))})),function(){t.current&&(t.current(),t.current=void 0)}},[]);var c=i||a;if(!c)if(n)throw console.warn("useSession is in an unexpected state. Attempting to recover."),n;else throw Error("useSession is in an invalid state.");return c}var ti=r(5350),tu=r.n(ti),ta=r(648);function tl(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function tc(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{},n=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(r).filter(function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable}))),n.forEach(function(t){tl(e,t,r[t])})}return e}var ts={setSessionContext:function(e,t){var r;return null==t?{manuallySetSessionUuid:null}:{manuallySetSessionUuid:t.uuid,entityUuid:null==(r=t.entity)?void 0:r.uuid}},mutateSession:function(e){var t=!0,r=!1,n=void 0;try{for(var o,i,u=Object.values(null!=(o=e.mutateSessionCallbacks)?o:{})[Symbol.iterator]();!(t=(i=u.next()).done);t=!0)(0,i.value)()}catch(e){r=!0,n=e}finally{try{t||null==u.return||u.return()}finally{if(r)throw n}}return{}}};function tf(e){var t=(0,o.useId)();return(0,o.useEffect)(function(){var r,n,o=(0,ey.r_)();return e&&o.setState({mutateSessionCallbacks:(r=tc({},o.getState().mutateSessionCallbacks),n=null!=(n=tl({},t,e))?n:{},Object.getOwnPropertyDescriptors?Object.defineProperties(r,Object.getOwnPropertyDescriptors(n)):(function(e){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t.push.apply(t,r)}return t})(Object(n)).forEach(function(e){Object.defineProperty(r,e,Object.getOwnPropertyDescriptor(n,e))}),r)}),function(){if(e){var r=tc({},o.getState().mutateSessionCallbacks);delete r[t],o.setState({mutateSessionCallbacks:r})}}},[t,e]),m((0,ey.r_)(),ts)}function td(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:ey.pJ,r=tf(),n=r.entityUuid,i=r.manuallySetSessionUuid,u=r.setSessionContext,a=e&&n==e?i:null,l="?entity=".concat(e,"&v=").concat(t,"&includeInactive=false"),c="/".concat(a,"?v=").concat(t),s=k(e?"".concat(_.restBaseUrl,"/session").concat(l):null,_.egenFetch),f=s.data,d=s.error,y=s.mutate,b=s.isValidating,g=k(e&&a?"".concat(_.restBaseUrl,"/session").concat(c):null,_.egenFetch),p=g.data,v=g.error,m=g.mutate,h=g.isValidating,S=(0,o.useMemo)(function(){var e;return null!=(e=null==f?void 0:f.data.results.find(function(e){return null===e.stopDatetime}))?e:null},[f]),O=(0,o.useMemo)(function(){return a&&p?p.data:null},[p,a]),E=(0,o.useRef)(null);(0,o.useEffect)(function(){!b&&S&&n===e&&null===i&&u(S),h||(E.current&&O&&E.current.uuid===O.uuid&&!E.current.stopDatetime&&O.stopDatetime&&u(null),E.current=O)},[O,i,S,b,h,n]);var w=(0,o.useCallback)(function(){y(),m()},[y,m]);tf(w);var j=!!(!f||a&&!p),C=!!(a?v:d);return{error:d||v,mutate:w,isValidating:b||h,activeSession:S,currentSession:O,currentSessionIsRetrospective:!!a,isLoading:j&&!C}}function ty(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}function tb(){var e,t=function(e){if(Array.isArray(e))return e}(e=(0,o.useState)([]))||function(e){var t,r,n=null==e?null:"u">typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var o=[],i=!0,u=!1;try{for(n=n.call(e);!(i=(t=n.next()).done)&&(o.push(t.value),2!==o.length);i=!0);}catch(e){u=!0,r=e}finally{try{i||null==n.return||n.return()}finally{if(u)throw r}}return o}}(e)||function(e){if(e){if("string"==typeof e)return ty(e,2);var t=Object.prototype.toString.call(e).slice(8,-1);if("Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t)return Array.from(t);if("Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return ty(e,2)}}(e)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(),r=t[0],n=t[1];return(0,o.useEffect)(function(){var e=(0,ey.Ty)().subscribe(function(e){return n(e)},function(e){return console.error(e)});return function(){return e.unsubscribe()}},[]),r}function tg(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}tu().extend(ta);var tp=function(e){var t,r=e.privilege,n=e.fallback,u=e.children,a=function(e){if(Array.isArray(e))return e}(t=(0,o.useState)(null))||function(e){var t,r,n=null==e?null:"u">typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var o=[],i=!0,u=!1;try{for(n=n.call(e);!(i=(t=n.next()).done)&&(o.push(t.value),2!==o.length);i=!0);}catch(e){u=!0,r=e}finally{try{i||null==n.return||n.return()}finally{if(u)throw r}}return o}}(t)||function(e){if(e){if("string"==typeof e)return tg(e,2);var t=Object.prototype.toString.call(e).slice(8,-1);if("Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t)return Array.from(t);if("Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return tg(e,2)}}(t)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(),l=a[0],c=a[1];return((0,o.useEffect)(function(){var e=(0,_.getCurrentUser)({includeAuthStatus:!1}).subscribe(c);return function(){return e.unsubscribe()}},[]),l&&(0,_.userHasAccess)(r,l))?i().createElement(i().Fragment,null,u):n?i().createElement(i().Fragment,null,n):null}}}]);
|
|
1
|
+
"use strict";(self.webpackChunk_egen_civitas_esm_app_shell=self.webpackChunk_egen_civitas_esm_app_shell||[]).push([["6680"],{3642(e,t,r){var n=r(8783),o="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},i=n.useState,u=n.useEffect,a=n.useLayoutEffect,l=n.useDebugValue;function c(e){var t=e.getSnapshot;e=e.value;try{var r=t();return!o(e,r)}catch(e){return!0}}var s="u"<typeof window||void 0===window.document||void 0===window.document.createElement?function(e,t){return t()}:function(e,t){var r=t(),n=i({inst:{value:r,getSnapshot:t}}),o=n[0].inst,s=n[1];return a(function(){o.value=r,o.getSnapshot=t,c(o)&&s({inst:o})},[e,r,t]),u(function(){return c(o)&&s({inst:o}),e(function(){c(o)&&s({inst:o})})},[e]),l(r),r};t.useSyncExternalStore=void 0!==n.useSyncExternalStore?n.useSyncExternalStore:s},8597(e,t,r){e.exports=r(3642)},9167(e,t,r){r.d(t,{y:()=>o});let n=e=>{let t,r=new Set,n=(e,n)=>{let o="function"==typeof e?e(t):e;if(!Object.is(o,t)){let e=t;t=(null!=n?n:"object"!=typeof o||null===o)?o:Object.assign({},t,o),r.forEach(r=>r(t,e))}},o=()=>t,i={setState:n,getState:o,getInitialState:()=>u,subscribe:e=>(r.add(e),()=>r.delete(e)),destroy:()=>{console.warn("[DEPRECATED] The `destroy` method will be unsupported in a future version. Instead use unsubscribe function returned by subscribe. Everything will be garbage-collected if store is garbage-collected."),r.clear()}},u=t=e(n,o,i);return i},o=e=>e?n(e):n},715(e,t,r){r.r(t),r.d(t,{useExtensionSlotMeta:()=>e_,useEgenPagination:()=>e1,useConnectivity:()=>eU,createUseStore:()=>h,useBackendConfiguration:()=>eh,useEgenSWR:()=>e4,useOnVisible:()=>eY,useRenderableExtensions:()=>tr,useForceUpdate:()=>eF,useExtensionStore:()=>eD,useSessionContext:()=>td,useBodyScrollLock:()=>eS,useAppContext:()=>el,UserHasAccess:()=>tp,getAsyncExtensionLifecycle:()=>H,getAsyncLifecycle:()=>$,useWorkSessionTypes:()=>tb,ComponentContext:()=>u,ExtensionSlot:()=>C,useConfig:()=>eI,useDebounce:()=>eT,useEgenInfinite:()=>e3,useAssignedExtensions:()=>O,Extension:()=>f,useAbortController:()=>eu,useConnectedExtensions:()=>eA,useExtensionSlotStore:()=>S,usePagination:()=>e9,useSession:()=>to,ConfigurableLink:()=>l,egenComponentDecorator:()=>K,useAssignedExtensionIds:()=>ed,useFeatureFlag:()=>eM,useSessionContextStore:()=>tf,useExtensionInternalStore:()=>ek,useDefineAppContext:()=>en,EgenAppContext:()=>eo,useAttachments:()=>eb,usePaginationInfo:()=>tt,useLocations:()=>eW,useExtensionSlot:()=>E,useStore:()=>v,useOnClickOutside:()=>eH,getLifecycle:()=>G,useStoreWithActions:()=>m,isDesktop:()=>eG,RenderIfValueIsTruthy:()=>ei,getSyncLifecycle:()=>W,useEgenFetchAll:()=>e7,useLayoutType:()=>eK});var n,o=r(8783),i=r.n(o),u=(0,o.createContext)({moduleName:"",featureName:""}),a=r(7774);function l(e){var t=e.to,r=e.templateParams,n=e.onBeforeNavigate,u=e.children,l=function(e,t){if(null==e)return{};var r,n,o,i={};if("u">typeof Reflect&&Reflect.ownKeys){for(o=0,r=Reflect.ownKeys(Object(e));o<r.length;o++)n=r[o],!(t.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n]);return i}if(i=function(e,t){if(null==e)return{};var r,n,o={},i=Object.getOwnPropertyNames(e);for(n=0;n<i.length;n++)r=i[n],!(t.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r]);return o}(e,t),Object.getOwnPropertySymbols)for(o=0,r=Object.getOwnPropertySymbols(e);o<r.length;o++)n=r[o],!(t.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n]);return i}(e,["to","templateParams","onBeforeNavigate","children"]);return(0,o.useEffect)(function(){l.href&&console.warn("ConfigurableLink does not support the href prop. Use the 'to' prop instead. The provided href value is '".concat(l.href,"'")),l.onClick&&console.warn("ConfigurableLink does not support the onClick prop. Use the 'onBeforeNavigate' prop instead. The 'to' prop of the offending link is ".concat(t))},[]),i().createElement("a",function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{},n=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(r).filter(function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable}))),n.forEach(function(t){var n;n=r[t],t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n})}return e}({onClick:function(e){0===e.button&&!e.ctrlKey&&!e.shiftKey&&!e.altKey&&!e.metaKey&&(e.preventDefault(),null==n||n(e),(0,a.oo)({to:t,templateParams:r})),0===e.button&&(e.ctrlKey||e.metaKey)&&(null==n||n(e)),0===e.button&&e.shiftKey&&(null==n||n(e)),1===e.button&&(null==n||n(e))},href:(0,a.JG)(t,r)},l),u)}var c=r(7267);function s(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{},n=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(r).filter(function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable}))),n.forEach(function(t){var n;n=r[t],t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n})}return e}var f=function(e){var t=e.state,r=(e.children,function(e,t){if(null==e)return{};var r,n,o,i={};if("u">typeof Reflect&&Reflect.ownKeys){for(o=0,r=Reflect.ownKeys(Object(e));o<r.length;o++)n=r[o],!(t.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n]);return i}if(i=function(e,t){if(null==e)return{};var r,n,o={},i=Object.getOwnPropertyNames(e);for(n=0;n<i.length;n++)r=i[n],!(t.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r]);return o}(e,t),Object.getOwnPropertySymbols)for(o=0,r=Object.getOwnPropertySymbols(e);o<r.length;o++)n=r[o],!(t.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n]);return i}(e,["state","children"])),n=(0,o.useContext)(u).extension,a=(0,o.useRef)(null),l=(0,o.useRef)(Promise.resolve()),f=(0,o.useCallback)(function(e){(null==n?void 0:n.extensionSlotName)&&n.extensionSlotModuleName&&n.extensionSlotModuleName&&!a.current&&(0,c.wG)(e,n.extensionSlotName,n.extensionSlotModuleName,n.extensionId,void 0,t).then(function(e){a.current=e})},[]);return(0,o.useEffect)(function(){return function(){if(a&&a.current)switch(a.current.getStatus()){case"MOUNTING":a.current.mountPromise.then(function(){var e;(null==(e=a.current)?void 0:e.getStatus())==="MOUNTED"&&a.current.unmount()});break;case"MOUNTED":a.current.unmount();break;case"UPDATING":l.current&&l.current.then(function(){var e;(null==(e=a.current)?void 0:e.getStatus())==="MOUNTED"&&a.current.unmount()})}}},[]),(0,o.useEffect)(function(){a.current&&a.current.update&&"UNMOUNTING"!==a.current.getStatus()&&Promise.all([a.current.mountPromise,l.current]).then(function(){var e;(null==a||null==(e=a.current)?void 0:e.getStatus())==="MOUNTED"&&a.current.update&&(l.current=a.current.update(s({},t)).catch(function(e){var t,r;if((null!=(r=Error)&&"u">typeof Symbol&&r[Symbol.hasInstance]?!r[Symbol.hasInstance](e):!(e instanceof r))||!e.message.includes("minified message #32")||(null==(t=a.current)?void 0:t.getStatus())==="MOUNTED")throw e}))})},[t]),n?i().createElement("div",s({ref:f,"data-extension-id":null==n?void 0:n.extensionId,style:{position:"relative"}},r)):null};function d(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}function y(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{},n=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(r).filter(function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable}))),n.forEach(function(t){var n;n=r[t],t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n})}return e}function b(e,t){if(e){if("string"==typeof e)return d(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if("Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r)return Array.from(r);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return d(e,t)}}function g(e,t){"function"==typeof t&&(t=t(e));var r={},n=!0,o=!1,i=void 0;try{for(var u,a=Object.entries(t)[Symbol.iterator]();!(n=(u=a.next()).done);n=!0)!function(){var t,n=(t=u.value,function(e){if(Array.isArray(e))return e}(t)||function(e){var t,r,n=null==e?null:"u">typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var o=[],i=!0,u=!1;try{for(n=n.call(e);!(i=(t=n.next()).done)&&(o.push(t.value),2!==o.length);i=!0);}catch(e){u=!0,r=e}finally{try{i||null==n.return||n.return()}finally{if(u)throw r}}return o}}(t)||b(t,2)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),o=n[0],i=n[1];r[o]=function(){for(var t=arguments.length,r=Array(t),n=0;n<t;n++)r[n]=arguments[n];e.setState(function(e){return i.apply(void 0,[e].concat(function(e){if(Array.isArray(e))return d(e)}(r)||function(e){if("u">typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(r)||b(r)||function(){throw TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()))})}}()}catch(e){o=!0,i=e}finally{try{n||null==a.return||a.return()}finally{if(o)throw i}}return r}var p=function(){return function(e){return e}};function v(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:p(),r=arguments.length>2?arguments[2]:void 0,n=(0,o.useCallback)(function(t){return e.subscribe(t)},[e]),i=(0,o.useCallback)(function(){return t(e.getState())},[e,t]);return y({},(0,o.useSyncExternalStore)(n,i,i),(0,o.useMemo)(function(){return r?g(e,r):{}},[e,r]))}function m(e,t){return v(e,p(),t)}function h(e){return function(t){var r=(0,o.useCallback)(function(t){return e.subscribe(t)},[]),n=(0,o.useCallback)(function(){return e.getState()},[]);return y({},(0,o.useSyncExternalStore)(r,n,n),(0,o.useMemo)(function(){return t?g(e,t):{}},[t]))}}var S=function(e){return v((0,c.zF)(),function(t){var r;return null==(r=t.slots)?void 0:r[e]})};function O(e){var t,r=S(e);return null!=(t=null==r?void 0:r.assignedExtensions)?t:[]}function E(e,t){var r=(0,o.useContext)(u).moduleName,n=(0,o.useRef)(!0);if(!r)throw Error("ComponentContext has not been provided. This should come from @egen-civitas/esm-react-utils.");return(0,o.useEffect)(function(){(0,c.FY)(r,e,t),n.current=!1},[]),(0,o.useEffect)(function(){n.current||(0,c.ap)(e,t)},[e,t]),{extensions:O(e),extensionSlotName:e,extensionSlotModuleName:r}}function w(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{},n=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(r).filter(function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable}))),n.forEach(function(t){var n;n=r[t],t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n})}return e}function j(e){return e}function C(e){var t,r,n=e.name,a=e.extensionSlotName,l=e.select,c=void 0===l?j:l,s=e.children,d=e.state,y=e.style,b=function(e,t){if(null==e)return{};var r,n,o,i={};if("u">typeof Reflect&&Reflect.ownKeys){for(o=0,r=Reflect.ownKeys(Object(e));o<r.length;o++)n=r[o],!(t.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n]);return i}if(i=function(e,t){if(null==e)return{};var r,n,o={},i=Object.getOwnPropertyNames(e);for(n=0;n<i.length;n++)r=i[n],!(t.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r]);return o}(e,t),Object.getOwnPropertySymbols)for(o=0,r=Object.getOwnPropertySymbols(e);o<r.length;o++)n=r[o],!(t.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n]);return i}(e,["name","extensionSlotName","select","children","state","style"]);if(s&&d)throw Error("Both children and state have been provided. If children are provided, the state must be passed as a prop to the `Extension` component.");var g=null!=n?n:a,p=(0,o.useRef)(null),v=E(g,d),m=v.extensions,h=v.extensionSlotModuleName,S=(0,o.useMemo)(function(){return c(m)},[c,m]),O=(0,o.useMemo)(function(){if("function"==typeof s&&!i().isValidElement(s))return S.map(function(e){return s(e,d)})},[s,S]);return i().createElement("div",w({ref:p,"data-extension-slot-name":g,"data-extension-slot-module-name":h,style:(t=w({},y),r=r={position:"relative"},Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):(function(e){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t.push.apply(t,r)}return t})(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}),t)},b),g&&(null==S?void 0:S.map(function(e,t){var r,n;return i().createElement(u.Provider,{key:e.id,value:{moduleName:h,featureName:"",extension:{extensionId:e.id,extensionSlotName:g,extensionSlotModuleName:h}}},null!=(r=null!=(n=null==O?void 0:O[t])?n:"function"!=typeof s?s:null)?r:i().createElement(f,{state:d}))})))}var I=r(8279),A=r(2879),x=r(3511),P=r(8597),R=r(4555);let U=i().use||(e=>{if("pending"===e.status)throw e;if("fulfilled"===e.status)return e.value;if("rejected"===e.status)throw e.reason;throw e.status="pending",e.then(t=>{e.status="fulfilled",e.value=t},t=>{e.status="rejected",e.reason=t}),e}),N={dedupe:!0},T=R.OBJECT.defineProperty(R.SWRConfig,"defaultValue",{value:R.defaultConfig}),k=(0,R.withArgs)((e,t,r)=>{let{cache:n,compare:i,suspense:u,fallbackData:a,revalidateOnMount:l,revalidateIfStale:c,refreshInterval:s,refreshWhenHidden:f,refreshWhenOffline:d,keepPreviousData:y}=r,[b,g,p,v]=R.SWRGlobalState.get(n),[m,h]=(0,R.serialize)(e),S=(0,o.useRef)(!1),O=(0,o.useRef)(!1),E=(0,o.useRef)(m),w=(0,o.useRef)(t),j=(0,o.useRef)(r),C=()=>j.current.isVisible()&&j.current.isOnline(),[I,A,x,T]=(0,R.createCacheHelper)(n,m),k=(0,o.useRef)({}).current,_=(0,R.isUndefined)(a)?r.fallback[m]:a,D=(e,t)=>{for(let r in k)if("data"===r){if(!i(e[r],t[r])&&(!(0,R.isUndefined)(e[r])||!i($,t[r])))return!1}else if(t[r]!==e[r])return!1;return!0},L=(0,o.useMemo)(()=>{let e=!!m&&!!t&&((0,R.isUndefined)(l)?!j.current.isPaused()&&!u&&(!!(0,R.isUndefined)(c)||c):l),r=t=>{let r=(0,R.mergeObjects)(t);return(delete r._k,e)?{isValidating:!0,isLoading:!0,...r}:r},n=I(),o=T(),i=r(n),a=n===o?i:r(o),s=i;return[()=>{let e=r(I());return D(e,s)?(s.data=e.data,s.isLoading=e.isLoading,s.isValidating=e.isValidating,s.error=e.error,s):(s=e,e)},()=>a]},[n,m]),M=(0,P.useSyncExternalStore)((0,o.useCallback)(e=>x(m,(t,r)=>{D(r,t)||e()}),[n,m]),L[0],L[1]),V=!S.current,F=b[m]&&b[m].length>0,z=M.data,B=(0,R.isUndefined)(z)?_:z,K=M.error,G=(0,o.useRef)(B),$=y?(0,R.isUndefined)(z)?G.current:z:B,W=(!F||!!(0,R.isUndefined)(K))&&(V&&!(0,R.isUndefined)(l)?l:!j.current.isPaused()&&(u?!(0,R.isUndefined)(B)&&c:(0,R.isUndefined)(B)||c)),H=!!(m&&t&&V&&W),Y=(0,R.isUndefined)(M.isValidating)?H:M.isValidating,J=(0,R.isUndefined)(M.isLoading)?H:M.isLoading,q=(0,o.useCallback)(async e=>{let t,n,o=w.current;if(!m||!o||O.current||j.current.isPaused())return!1;let u=!0,a=e||{},l=!p[m]||!a.dedupe,c=()=>R.IS_REACT_LEGACY?!O.current&&m===E.current&&S.current:m===E.current,s={isValidating:!1,isLoading:!1},f=()=>{A(s)},d=()=>{let e=p[m];e&&e[1]===n&&delete p[m]},y={isValidating:!0};(0,R.isUndefined)(I().data)&&(y.isLoading=!0);try{if(l&&(A(y),r.loadingTimeout&&(0,R.isUndefined)(I().data)&&setTimeout(()=>{u&&c()&&j.current.onLoadingSlow(m,r)},r.loadingTimeout),p[m]=[o(h),(0,R.getTimestamp)()]),[t,n]=p[m],t=await t,l&&setTimeout(d,r.dedupingInterval),!p[m]||p[m][1]!==n)return l&&c()&&j.current.onDiscarded(m),!1;s.error=R.UNDEFINED;let e=g[m];if(!(0,R.isUndefined)(e)&&(n<=e[0]||n<=e[1]||0===e[1]))return f(),l&&c()&&j.current.onDiscarded(m),!1;let a=I().data;s.data=i(a,t)?a:t,l&&c()&&j.current.onSuccess(t,m,r)}catch(r){d();let e=j.current,{shouldRetryOnError:t}=e;!e.isPaused()&&(s.error=r,l&&c()&&(e.onError(r,m,e),(!0===t||(0,R.isFunction)(t)&&t(r))&&(!j.current.revalidateOnFocus||!j.current.revalidateOnReconnect||C())&&e.onErrorRetry(r,m,e,e=>{let t=b[m];t&&t[0]&&t[0](R.revalidateEvents.ERROR_REVALIDATE_EVENT,e)},{retryCount:(a.retryCount||0)+1,dedupe:!0})))}return u=!1,f(),!0},[m,n]),X=(0,o.useCallback)((...e)=>(0,R.internalMutate)(n,E.current,...e),[]);if((0,R.useIsomorphicLayoutEffect)(()=>{w.current=t,j.current=r,(0,R.isUndefined)(z)||(G.current=z)}),(0,R.useIsomorphicLayoutEffect)(()=>{if(!m)return;let e=q.bind(R.UNDEFINED,N),t=0,r=(0,R.subscribeCallback)(m,b,(r,n={})=>{if(r==R.revalidateEvents.FOCUS_EVENT){let r=Date.now();j.current.revalidateOnFocus&&r>t&&C()&&(t=r+j.current.focusThrottleInterval,e())}else if(r==R.revalidateEvents.RECONNECT_EVENT)j.current.revalidateOnReconnect&&C()&&e();else if(r==R.revalidateEvents.MUTATE_EVENT)return q();else if(r==R.revalidateEvents.ERROR_REVALIDATE_EVENT)return q(n)});return O.current=!1,E.current=m,S.current=!0,A({_k:h}),W&&((0,R.isUndefined)(B)||R.IS_SERVER?e():(0,R.rAF)(e)),()=>{O.current=!0,r()}},[m]),(0,R.useIsomorphicLayoutEffect)(()=>{let e;function t(){let t=(0,R.isFunction)(s)?s(I().data):s;t&&-1!==e&&(e=setTimeout(r,t))}function r(){!I().error&&(f||j.current.isVisible())&&(d||j.current.isOnline())?q(N).then(t):t()}return t(),()=>{e&&(clearTimeout(e),e=-1)}},[s,f,d,m]),(0,o.useDebugValue)($),u&&(0,R.isUndefined)(B)&&m){if(!R.IS_REACT_LEGACY&&R.IS_SERVER)throw Error("Fallback data is required when using suspense in SSR.");w.current=t,j.current=r,O.current=!1;let e=v[m];if((0,R.isUndefined)(e)||U(X(e)),(0,R.isUndefined)(K)){let e=q(N);(0,R.isUndefined)($)||(e.status="fulfilled",e.value=!0),U(e)}else throw K}return{mutate:X,get data(){return k.data=!0,$},get error(){return k.error=!0,K},get isValidating(){return k.isValidating=!0,Y},get isLoading(){return k.isLoading=!0,J}}});var _=r(70);function D(e){return(D=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function L(e,t){return(L=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function M(e){return e&&"u">typeof Symbol&&e.constructor===Symbol?"symbol":typeof e}function V(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(V=function(){return!!e})()}var F={strictMode:!0,throwErrorsToConsole:!0,disableTranslations:!1},z=new Map,B={errorRetryCount:3,fetcher:_.egenFetch,focusThrottleInterval:18e5,revalidateIfStale:!0,revalidateOnFocus:!1,revalidateOnReconnect:!1,refreshInterval:0,shouldRetryOnError:function(e){var t;if(null!=(t=_.EgenFetchError)&&"u">typeof Symbol&&t[Symbol.hasInstance]?!!t[Symbol.hasInstance](e):e instanceof t){var r=e.response.status;return!!(r>=500)||401===r||403===r||429===r}return!0},provider:function(){return z}};function K(e){if((void 0===e?"undefined":M(e))!=="object"||"string"!=typeof e.featureName||"string"!=typeof e.moduleName)throw Error("Invalid options");var t=Object.assign({},F,e),r=function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{},n=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(r).filter(function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable}))),n.forEach(function(t){var n;n=r[t],t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n})}return e}({},B,t.swrConfig);return function(e){var n,a,l,c;return a=n=function(n){var a;if("function"!=typeof n&&null!==n)throw TypeError("Super expression must either be null or a function");function l(e){var r,n,o;if(!(this instanceof l))throw TypeError("Cannot call a class as a function");return n=l,o=[e],n=D(n),(r=function(e,t){if(t&&("object"===M(t)||"function"==typeof t))return t;if(void 0===e)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(this,V()?Reflect.construct(n,o||[],D(this).constructor):n.apply(this,o))).state={caughtError:null,caughtErrorInfo:null,config:{moduleName:t.moduleName,featureName:t.featureName,extension:e._extensionContext}},r}return l.prototype=Object.create(n&&n.prototype,{constructor:{value:l,writable:!0,configurable:!0}}),n&&L(l,n),a=[{key:"componentDidCatch",value:function(e,r){r&&r.componentStack&&(e.extra=Object.assign(e.extra||{},{componentStack:r.componentStack})),t.throwErrorsToConsole&&setTimeout(function(){throw e}),this.setState({caughtError:e,caughtErrorInfo:r})}},{key:"render",value:function(){if(this.state.caughtError)return i().createElement("div",null,"An error has occurred. Please try reloading the page.");var n=i().createElement(o.Suspense,{fallback:null},i().createElement(T,{value:r},i().createElement(u.Provider,{value:this.state.config},t.disableTranslations?i().createElement(e,this.props):i().createElement(x.I18nextProvider,{i18n:window.i18next,defaultNS:this.state.config.extension?"".concat(this.state.config.moduleName,"___").concat(this.state.config.extension.extensionSlotName,"___").concat(this.state.config.extension.extensionId):this.state.config.moduleName},i().createElement(e,this.props)))));return t.strictMode&&i().StrictMode?i().createElement(i().StrictMode,null,n):n}}],function(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}(l.prototype,a),l}(i().Component),l="displayName",c="EgenReactComponent(".concat(t.featureName,")"),l in a?Object.defineProperty(a,l,{value:c,enumerable:!0,configurable:!0,writable:!0}):a[l]=c,n}}function G(e,t){return(0,A.A)({React:i(),ReactDOMClient:I,rootComponent:K(t)(e)})}function $(e,t){return function(){return e().then(function(e){return G(e.default,t)})}}function W(e,t){return function(){return Promise.resolve(G(e,t))}}var H=$,Y=r(9167),J=r(1442),q=(0,Y.y)()(function(){return{}});(0,J.registerGlobalStore)("egen-app-context",q);var X={};function Z(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:function(e){return e},r=q.getState();return e in r?Object.freeze(Object.assign({},t?t(r[e]):r[e])):null}function Q(e,t){q.setState(function(r){return e in r||(r[e]={}),r[e]=t(r[e]),Object.assign({},r)})}function ee(e){return null===e?null:Object.freeze(Object.assign({},e))}var et=r(8254),er=new Map;function en(e,t){var r=(0,o.useRef)(null!=t?t:{}),n=(0,o.useRef)(function(t){return Q(e,t)}),i=(0,o.useRef)(Symbol());return(0,o.useEffect)(function(){var r=null!=t?t:{},n=i.current;return null===Z(e)?!function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:X;q.setState(function(r){var n,o;if(e in r)throw Error("Attempted to re-register namespace ".concat(e," in the app context. Each namespace must be unregistered before the name can be registered again."));return Object.assign({},r,(n={},o=t===X?{}:t,e in n?Object.defineProperty(n,e,{value:o,enumerable:!0,configurable:!0,writable:!0}):n[e]=o,n))})}(e,r):(console.warn("Namespace ".concat(e," is already registered in the app context. ")+"This is likely a race condition during navigation, but may indicate two components are trying to own the same namespace. Updating the existing context."),Q(e,function(){return r})),er.set(e,n),function(){er.get(e)===n&&(q.setState(function(t){return e in t&&delete t[e],t}),er.delete(e))}},[e]),(0,o.useEffect)(function(){var n=null!=t?t:{};(0,et.b)(r.current,n)||(Q(e,function(){return n}),r.current=n)},[t]),n.current}function eo(e){return en(e.namespace,e.value),null}var ei=function(e){var t=e.children,r=e.value,n=e.fallback;return r?i().createElement(i().Fragment,null,t):n?i().createElement(i().Fragment,null,n):null};function eu(){var e=(0,o.useRef)();return(!e.current||e.current.signal.aborted)&&(e.current=new AbortController),(0,o.useEffect)(function(){var t=e.current;return function(){return null==t?void 0:t.abort()}},[]),e.current}function ea(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}function el(e){var t,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:function(e){return null!=e?e:{}},n=function(e){if(Array.isArray(e))return e}(t=(0,o.useState)(function(){if(!ec(e)){var t=Z(e);if(null!==t)return r?r(t):t}}))||function(e){var t,r,n=null==e?null:"u">typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var o=[],i=!0,u=!1;try{for(n=n.call(e);!(i=(t=n.next()).done)&&(o.push(t.value),2!==o.length);i=!0);}catch(e){u=!0,r=e}finally{try{i||null==n.return||n.return()}finally{if(u)throw r}}return o}}(t)||function(e){if(e){if("string"==typeof e)return ea(e,2);var t=Object.prototype.toString.call(e).slice(8,-1);if("Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t)return Array.from(t);if("Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return ea(e,2)}}(t)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(),i=n[0],u=n[1];return(0,o.useEffect)(function(){if(ec(e))throw Error('The namespace supplied to useAppContext must be a non-empty string, but was "'.concat(e,'".'))},[e]),(0,o.useEffect)(function(){var t,n;return(t=function(e){if(null==e)return void u(void 0);var t=r?r(e):e;u(function(e){return(0,et.b)(e,t)?e:t})})(ee(n=Z(e))),q.subscribe(function(r){var o=e in r?r[e]:null;o!==n&&(n=o,t(ee(o)))})},[e,r]),i}function ec(e){return"string"!=typeof e||0===e.trim().length}var es=r(4809);function ef(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}function ed(e){var t,r=function(e){if(Array.isArray(e))return e}(t=(0,o.useState)([]))||function(e){var t,r,n=null==e?null:"u">typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var o=[],i=!0,u=!1;try{for(n=n.call(e);!(i=(t=n.next()).done)&&(o.push(t.value),2!==o.length);i=!0);}catch(e){u=!0,r=e}finally{try{i||null==n.return||n.return()}finally{if(u)throw r}}return o}}(t)||function(e){if(e){if("string"==typeof e)return ef(e,2);var t=Object.prototype.toString.call(e).slice(8,-1);if("Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t)return Array.from(t);if("Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return ef(e,2)}}(t)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(),n=r[0],i=r[1];return(0,o.useEffect)(function(){return(0,c.zF)().subscribe(function(t){var r,o,u=null!=(r=null==(o=t.slots[e])?void 0:o.assignedExtensions.map(function(e){return e.id}))?r:[];(0,es.A)(u,n)||i(u)})},[]),n}var ey=r(3400);function eb(e,t){var r=k("".concat(ey.Zu,"?entity=").concat(e,"&includeOrphan=").concat(t),_.egenFetch),n=r.data,i=r.error,u=r.mutate,a=r.isLoading,l=r.isValidating;return(0,o.useMemo)(function(){var e;return{isLoading:a,data:null!=(e=null==n?void 0:n.data.results)?e:[],error:i,mutate:u,isValidating:l}},[n,i,a,l,u])}let eg=i().use||(e=>{if("pending"===e.status)throw e;if("fulfilled"===e.status)return e.value;if("rejected"===e.status)throw e.reason;throw e.status="pending",e.then(t=>{e.status="fulfilled",e.value=t},t=>{e.status="rejected",e.reason=t}),e}),ep={dedupe:!0};R.OBJECT.defineProperty(R.SWRConfig,"defaultValue",{value:R.defaultConfig});let ev=(0,R.withArgs)((e,t,r)=>{let{cache:n,compare:i,suspense:u,fallbackData:a,revalidateOnMount:l,revalidateIfStale:c,refreshInterval:s,refreshWhenHidden:f,refreshWhenOffline:d,keepPreviousData:y}=r,[b,g,p,v]=R.SWRGlobalState.get(n),[m,h]=(0,R.serialize)(e),S=(0,o.useRef)(!1),O=(0,o.useRef)(!1),E=(0,o.useRef)(m),w=(0,o.useRef)(t),j=(0,o.useRef)(r),C=()=>j.current.isVisible()&&j.current.isOnline(),[I,A,x,U]=(0,R.createCacheHelper)(n,m),N=(0,o.useRef)({}).current,T=(0,R.isUndefined)(a)?r.fallback[m]:a,k=(e,t)=>{for(let r in N)if("data"===r){if(!i(e[r],t[r])&&(!(0,R.isUndefined)(e[r])||!i(K,t[r])))return!1}else if(t[r]!==e[r])return!1;return!0},_=(0,o.useMemo)(()=>{let e=!!m&&!!t&&((0,R.isUndefined)(l)?!j.current.isPaused()&&!u&&(!!(0,R.isUndefined)(c)||c):l),r=t=>{let r=(0,R.mergeObjects)(t);return(delete r._k,e)?{isValidating:!0,isLoading:!0,...r}:r},n=I(),o=U(),i=r(n),a=n===o?i:r(o),s=i;return[()=>{let e=r(I());return k(e,s)?(s.data=e.data,s.isLoading=e.isLoading,s.isValidating=e.isValidating,s.error=e.error,s):(s=e,e)},()=>a]},[n,m]),D=(0,P.useSyncExternalStore)((0,o.useCallback)(e=>x(m,(t,r)=>{k(r,t)||e()}),[n,m]),_[0],_[1]),L=!S.current,M=b[m]&&b[m].length>0,V=D.data,F=(0,R.isUndefined)(V)?T:V,z=D.error,B=(0,o.useRef)(F),K=y?(0,R.isUndefined)(V)?B.current:V:F,G=(!M||!!(0,R.isUndefined)(z))&&(L&&!(0,R.isUndefined)(l)?l:!j.current.isPaused()&&(u?!(0,R.isUndefined)(F)&&c:(0,R.isUndefined)(F)||c)),$=!!(m&&t&&L&&G),W=(0,R.isUndefined)(D.isValidating)?$:D.isValidating,H=(0,R.isUndefined)(D.isLoading)?$:D.isLoading,Y=(0,o.useCallback)(async e=>{let t,n,o=w.current;if(!m||!o||O.current||j.current.isPaused())return!1;let u=!0,a=e||{},l=!p[m]||!a.dedupe,c=()=>R.IS_REACT_LEGACY?!O.current&&m===E.current&&S.current:m===E.current,s={isValidating:!1,isLoading:!1},f=()=>{A(s)},d=()=>{let e=p[m];e&&e[1]===n&&delete p[m]},y={isValidating:!0};(0,R.isUndefined)(I().data)&&(y.isLoading=!0);try{if(l&&(A(y),r.loadingTimeout&&(0,R.isUndefined)(I().data)&&setTimeout(()=>{u&&c()&&j.current.onLoadingSlow(m,r)},r.loadingTimeout),p[m]=[o(h),(0,R.getTimestamp)()]),[t,n]=p[m],t=await t,l&&setTimeout(d,r.dedupingInterval),!p[m]||p[m][1]!==n)return l&&c()&&j.current.onDiscarded(m),!1;s.error=R.UNDEFINED;let e=g[m];if(!(0,R.isUndefined)(e)&&(n<=e[0]||n<=e[1]||0===e[1]))return f(),l&&c()&&j.current.onDiscarded(m),!1;let a=I().data;s.data=i(a,t)?a:t,l&&c()&&j.current.onSuccess(t,m,r)}catch(r){d();let e=j.current,{shouldRetryOnError:t}=e;!e.isPaused()&&(s.error=r,l&&c()&&(e.onError(r,m,e),(!0===t||(0,R.isFunction)(t)&&t(r))&&(!j.current.revalidateOnFocus||!j.current.revalidateOnReconnect||C())&&e.onErrorRetry(r,m,e,e=>{let t=b[m];t&&t[0]&&t[0](R.revalidateEvents.ERROR_REVALIDATE_EVENT,e)},{retryCount:(a.retryCount||0)+1,dedupe:!0})))}return u=!1,f(),!0},[m,n]),J=(0,o.useCallback)((...e)=>(0,R.internalMutate)(n,E.current,...e),[]);if((0,R.useIsomorphicLayoutEffect)(()=>{w.current=t,j.current=r,(0,R.isUndefined)(V)||(B.current=V)}),(0,R.useIsomorphicLayoutEffect)(()=>{if(!m)return;let e=Y.bind(R.UNDEFINED,ep),t=0,r=(0,R.subscribeCallback)(m,b,(r,n={})=>{if(r==R.revalidateEvents.FOCUS_EVENT){let r=Date.now();j.current.revalidateOnFocus&&r>t&&C()&&(t=r+j.current.focusThrottleInterval,e())}else if(r==R.revalidateEvents.RECONNECT_EVENT)j.current.revalidateOnReconnect&&C()&&e();else if(r==R.revalidateEvents.MUTATE_EVENT)return Y();else if(r==R.revalidateEvents.ERROR_REVALIDATE_EVENT)return Y(n)});return O.current=!1,E.current=m,S.current=!0,A({_k:h}),G&&((0,R.isUndefined)(F)||R.IS_SERVER?e():(0,R.rAF)(e)),()=>{O.current=!0,r()}},[m]),(0,R.useIsomorphicLayoutEffect)(()=>{let e;function t(){let t=(0,R.isFunction)(s)?s(I().data):s;t&&-1!==e&&(e=setTimeout(r,t))}function r(){!I().error&&(f||j.current.isVisible())&&(d||j.current.isOnline())?Y(ep).then(t):t()}return t(),()=>{e&&(clearTimeout(e),e=-1)}},[s,f,d,m]),(0,o.useDebugValue)(K),u&&(0,R.isUndefined)(F)&&m){if(!R.IS_REACT_LEGACY&&R.IS_SERVER)throw Error("Fallback data is required when using suspense in SSR.");w.current=t,j.current=r,O.current=!1;let e=v[m];if((0,R.isUndefined)(e)||eg(J(e)),(0,R.isUndefined)(z)){let e=Y(ep);(0,R.isUndefined)(K)||(e.status="fulfilled",e.value=!0),eg(e)}else throw z}return{mutate:J,get data(){return N.data=!0,K},get error(){return N.error=!0,z},get isValidating(){return N.isValidating=!0,W},get isLoading(){return N.isLoading=!0,H}}}),em=(0,R.withMiddleware)(ev,e=>(t,r,n)=>(n.revalidateOnFocus=!1,n.revalidateIfStale=!1,n.revalidateOnReconnect=!1,e(t,r,n)));function eh(e){var t=em(null!=e?e:"".concat(_.restBaseUrl,"/config"),_.egenFetch);return(0,o.useMemo)(function(){var e;return{backendConfiguration:null==(e=t.data)?void 0:e.data,isLoadingBackendConfiguration:t.isLoading,mutateBackendConfiguration:t.mutate,errorFetchingBackendConfiguration:t.error}},[t])}function eS(e){(0,o.useEffect)(function(){if(e){var t=window.getComputedStyle(document.body).overflow;return document.body.style.overflow="hidden",function(){document.body.style.overflow=t}}},[e])}var eO=r(3645);function eE(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}function ew(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{},n=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(r).filter(function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable}))),n.forEach(function(t){var n;n=r[t],t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n})}return e}function ej(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r,n,o=null==e?null:"u">typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=o){var i=[],u=!0,a=!1;try{for(o=o.call(e);!(u=(r=o.next()).done)&&(i.push(r.value),!t||i.length!==t);u=!0);}catch(e){a=!0,n=e}finally{try{u||null==o.return||o.return()}finally{if(a)throw n}}return i}}(e,t)||function(e,t){if(e){if("string"==typeof e)return eE(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if("Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r)return Array.from(r);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return eE(e,t)}}(e,t)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}var eC={};function eI(e){var t,r=(0,o.useContext)(u),n=r.moduleName,i=r.extension,a=null!=(t=null==e?void 0:e.externalModuleName)?t:n;if(!a&&!i)throw Error('No ComponentContext has been provided. This should come from "egenComponentDecorator".\nUsually this is already applied when using "getAsyncLifecycle" or "getSyncLifecycle".');var l=function(e){var t,r,n,i=(0,o.useMemo)(function(){return(0,eO.getConfigStore)(e)},[e]),u=(r=(t=ej((0,o.useState)(function(){var e=i.getState();return e.loaded&&e.config?e.config:null}),2))[0],n=t[1],(0,o.useEffect)(function(){return null==i?void 0:i.subscribe(function(e){e.loaded&&e.config&&n(e.config)})},[i]),r);if(!u)throw eC[e]||(eC[e]=new Promise(function(e){var t=i.subscribe(function(r){r.loaded&&r.config&&(e(r.config),t())})})),eC[e];return u}(a),c=function(e){var t=(0,o.useMemo)(eO.getExtensionsConfigStore,[]),r=(i=(n=ej((0,o.useState)(e?function(){var r=t.getState(),n=(0,eO.getExtensionConfigFromStore)(r,e.extensionSlotName,e.extensionId);if(n.loaded&&n.config)return n.config}:null),2))[0],u=n[1],(0,o.useEffect)(function(){if(e)return t.subscribe(function(t){var r=(0,eO.getExtensionConfigFromStore)(t,e.extensionSlotName,e.extensionId);r.loaded&&r.config&&!(0,es.A)(r.config,i)&&u(r.config)})},[t,e,i]),i);if(!r&&e){var n,i,u,a="".concat(e.extensionSlotName,"-").concat(e.extensionId);throw!eC[a]&&t&&(eC[a]=new Promise(function(r){var n=t.subscribe(function(t){var o=(0,eO.getExtensionConfigFromStore)(t,e.extensionSlotName,e.extensionId);o.loaded&&o.config&&(r(o.config),n())})})),eC[a]}return r||{}}(i);return(0,o.useMemo)(function(){return(null==e?void 0:e.externalModuleName)&&a===e.externalModuleName?ew({},l):ew({},l,c)},[a,null==e?void 0:e.externalModuleName,l,c])}var eA=O,ex=r(9726),eP=r(2316);function eR(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}function eU(){var e,t=function(e){if(Array.isArray(e))return e}(e=(0,o.useState)((0,eP.s)()))||function(e){var t,r,n=null==e?null:"u">typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var o=[],i=!0,u=!1;try{for(n=n.call(e);!(i=(t=n.next()).done)&&(o.push(t.value),2!==o.length);i=!0);}catch(e){u=!0,r=e}finally{try{i||null==n.return||n.return()}finally{if(u)throw r}}return o}}(e)||function(e){if(e){if("string"==typeof e)return eR(e,2);var t=Object.prototype.toString.call(e).slice(8,-1);if("Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t)return Array.from(t);if("Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return eR(e,2)}}(e)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(),r=t[0],n=t[1];return(0,o.useEffect)(function(){return(0,ex.gj)(function(e){return n(e.online)})},[]),r}function eN(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}function eT(e){var t,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:300,n=function(e){if(Array.isArray(e))return e}(t=(0,o.useState)(e))||function(e){var t,r,n=null==e?null:"u">typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var o=[],i=!0,u=!1;try{for(n=n.call(e);!(i=(t=n.next()).done)&&(o.push(t.value),2!==o.length);i=!0);}catch(e){u=!0,r=e}finally{try{i||null==n.return||n.return()}finally{if(u)throw r}}return o}}(t)||function(e){if(e){if("string"==typeof e)return eN(e,2);var t=Object.prototype.toString.call(e).slice(8,-1);if("Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t)return Array.from(t);if("Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return eN(e,2)}}(t)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(),i=n[0],u=n[1];return(0,o.useEffect)(function(){var t=setTimeout(function(){u(e)},r);return function(){clearTimeout(t)}},[e,r]),i}var ek=h((0,c.a9)());function e_(e){var t=O(e);return(0,o.useMemo)(function(){return Object.fromEntries(t.map(function(e){return[e.name,e.meta]}))},[t])}var eD=h((0,c.zF)()),eL=r(5794);function eM(e){var t,r;return null!=(t=null==(r=v(eL.jX).flags[e])?void 0:r.enabled)&&t}function eV(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}function eF(){var e,t=(function(e){if(Array.isArray(e))return e}(e=(0,o.useState)(0))||function(e){var t,r,n=null==e?null:"u">typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var o=[],i=!0,u=!1;try{for(n=n.call(e);!(i=(t=n.next()).done)&&(o.push(t.value),2!==o.length);i=!0);}catch(e){u=!0,r=e}finally{try{i||null==n.return||n.return()}finally{if(u)throw r}}return o}}(e)||function(e){if(e){if("string"==typeof e)return eV(e,2);var t=Object.prototype.toString.call(e).slice(8,-1);if("Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t)return Array.from(t);if("Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return eV(e,2)}}(e)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}())[1];return(0,o.useCallback)(function(){t(function(e){return e+1})},[])}function ez(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}function eB(){var e="tablet";return document.body.classList.forEach(function(t){switch(t){case"egen-breakpoint-lt-tablet":e="phone";break;case"egen-breakpoint-gt-small-desktop":e="large-desktop";break;case"egen-breakpoint-gt-tablet":e="small-desktop"}}),e}function eK(){var e,t=function(e){if(Array.isArray(e))return e}(e=(0,o.useState)(eB))||function(e){var t,r,n=null==e?null:"u">typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var o=[],i=!0,u=!1;try{for(n=n.call(e);!(i=(t=n.next()).done)&&(o.push(t.value),2!==o.length);i=!0);}catch(e){u=!0,r=e}finally{try{i||null==n.return||n.return()}finally{if(u)throw r}}return o}}(e)||function(e){if(e){if("string"==typeof e)return ez(e,2);var t=Object.prototype.toString.call(e).slice(8,-1);if("Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t)return Array.from(t);if("Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return ez(e,2)}}(e)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(),r=t[0],n=t[1];return(0,o.useEffect)(function(){var e=function(){n(eB())};return window.addEventListener("resize",e),function(){return window.removeEventListener("resize",e)}},[]),r}var eG=function(e){return"small-desktop"===e||"large-desktop"===e};function e$(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}function eW(){var e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=function(e){if(Array.isArray(e))return e}(e=(0,o.useState)([]))||function(e){var t,r,n=null==e?null:"u">typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var o=[],i=!0,u=!1;try{for(n=n.call(e);!(i=(t=n.next()).done)&&(o.push(t.value),2!==o.length);i=!0);}catch(e){u=!0,r=e}finally{try{i||null==n.return||n.return()}finally{if(u)throw r}}return o}}(e)||function(e){if(e){if("string"==typeof e)return e$(e,2);var t=Object.prototype.toString.call(e).slice(8,-1);if("Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t)return Array.from(t);if("Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return e$(e,2)}}(e)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(),i=n[0],u=n[1];return(0,o.useEffect)(function(){var e=(0,ey.Vs)(t,r).subscribe(function(e){u(e)},function(e){console.error(e)});return function(){return e.unsubscribe()}},[t,r]),i}function eH(e){var t=!(arguments.length>1)||void 0===arguments[1]||arguments[1],r=(0,o.useRef)(null);return(0,o.useEffect)(function(){var n=function(n){var o,i;t&&r.current&&n.target&&(o=n.target,null!=(i=Node)&&"u">typeof Symbol&&i[Symbol.hasInstance]?i[Symbol.hasInstance](o):o instanceof i)&&(r.current.contains(n.target)||e(n))};return window.addEventListener("mousedown",n),window.addEventListener("touchstart",n),function(){window.removeEventListener("mousedown",n),window.removeEventListener("touchstart",n)}},[e,t]),r}function eY(e){var t=(0,o.useRef)();return(0,o.useEffect)(function(){var r=new IntersectionObserver(function(t){var r=!0,n=!1,o=void 0;try{for(var i,u=t[Symbol.iterator]();!(r=(i=u.next()).done);r=!0)if(i.value.isIntersecting)return void e()}catch(e){n=!0,o=e}finally{try{r||null==u.return||u.return()}finally{if(n)throw o}}},{threshold:1});return t.current&&r.observe(t.current),function(){t.current&&r.unobserve(t.current)}},[t.current,e]),t}let eJ=i().use||(e=>{if("pending"===e.status)throw e;if("fulfilled"===e.status)return e.value;if("rejected"===e.status)throw e.reason;throw e.status="pending",e.then(t=>{e.status="fulfilled",e.value=t},t=>{e.status="rejected",e.reason=t}),e}),eq={dedupe:!0};R.OBJECT.defineProperty(R.SWRConfig,"defaultValue",{value:R.defaultConfig});let eX=(0,R.withArgs)((e,t,r)=>{let{cache:n,compare:i,suspense:u,fallbackData:a,revalidateOnMount:l,revalidateIfStale:c,refreshInterval:s,refreshWhenHidden:f,refreshWhenOffline:d,keepPreviousData:y}=r,[b,g,p,v]=R.SWRGlobalState.get(n),[m,h]=(0,R.serialize)(e),S=(0,o.useRef)(!1),O=(0,o.useRef)(!1),E=(0,o.useRef)(m),w=(0,o.useRef)(t),j=(0,o.useRef)(r),C=()=>j.current.isVisible()&&j.current.isOnline(),[I,A,x,U]=(0,R.createCacheHelper)(n,m),N=(0,o.useRef)({}).current,T=(0,R.isUndefined)(a)?r.fallback[m]:a,k=(e,t)=>{for(let r in N)if("data"===r){if(!i(e[r],t[r])&&(!(0,R.isUndefined)(e[r])||!i(K,t[r])))return!1}else if(t[r]!==e[r])return!1;return!0},_=(0,o.useMemo)(()=>{let e=!!m&&!!t&&((0,R.isUndefined)(l)?!j.current.isPaused()&&!u&&(!!(0,R.isUndefined)(c)||c):l),r=t=>{let r=(0,R.mergeObjects)(t);return(delete r._k,e)?{isValidating:!0,isLoading:!0,...r}:r},n=I(),o=U(),i=r(n),a=n===o?i:r(o),s=i;return[()=>{let e=r(I());return k(e,s)?(s.data=e.data,s.isLoading=e.isLoading,s.isValidating=e.isValidating,s.error=e.error,s):(s=e,e)},()=>a]},[n,m]),D=(0,P.useSyncExternalStore)((0,o.useCallback)(e=>x(m,(t,r)=>{k(r,t)||e()}),[n,m]),_[0],_[1]),L=!S.current,M=b[m]&&b[m].length>0,V=D.data,F=(0,R.isUndefined)(V)?T:V,z=D.error,B=(0,o.useRef)(F),K=y?(0,R.isUndefined)(V)?B.current:V:F,G=(!M||!!(0,R.isUndefined)(z))&&(L&&!(0,R.isUndefined)(l)?l:!j.current.isPaused()&&(u?!(0,R.isUndefined)(F)&&c:(0,R.isUndefined)(F)||c)),$=!!(m&&t&&L&&G),W=(0,R.isUndefined)(D.isValidating)?$:D.isValidating,H=(0,R.isUndefined)(D.isLoading)?$:D.isLoading,Y=(0,o.useCallback)(async e=>{let t,n,o=w.current;if(!m||!o||O.current||j.current.isPaused())return!1;let u=!0,a=e||{},l=!p[m]||!a.dedupe,c=()=>R.IS_REACT_LEGACY?!O.current&&m===E.current&&S.current:m===E.current,s={isValidating:!1,isLoading:!1},f=()=>{A(s)},d=()=>{let e=p[m];e&&e[1]===n&&delete p[m]},y={isValidating:!0};(0,R.isUndefined)(I().data)&&(y.isLoading=!0);try{if(l&&(A(y),r.loadingTimeout&&(0,R.isUndefined)(I().data)&&setTimeout(()=>{u&&c()&&j.current.onLoadingSlow(m,r)},r.loadingTimeout),p[m]=[o(h),(0,R.getTimestamp)()]),[t,n]=p[m],t=await t,l&&setTimeout(d,r.dedupingInterval),!p[m]||p[m][1]!==n)return l&&c()&&j.current.onDiscarded(m),!1;s.error=R.UNDEFINED;let e=g[m];if(!(0,R.isUndefined)(e)&&(n<=e[0]||n<=e[1]||0===e[1]))return f(),l&&c()&&j.current.onDiscarded(m),!1;let a=I().data;s.data=i(a,t)?a:t,l&&c()&&j.current.onSuccess(t,m,r)}catch(r){d();let e=j.current,{shouldRetryOnError:t}=e;!e.isPaused()&&(s.error=r,l&&c()&&(e.onError(r,m,e),(!0===t||(0,R.isFunction)(t)&&t(r))&&(!j.current.revalidateOnFocus||!j.current.revalidateOnReconnect||C())&&e.onErrorRetry(r,m,e,e=>{let t=b[m];t&&t[0]&&t[0](R.revalidateEvents.ERROR_REVALIDATE_EVENT,e)},{retryCount:(a.retryCount||0)+1,dedupe:!0})))}return u=!1,f(),!0},[m,n]),J=(0,o.useCallback)((...e)=>(0,R.internalMutate)(n,E.current,...e),[]);if((0,R.useIsomorphicLayoutEffect)(()=>{w.current=t,j.current=r,(0,R.isUndefined)(V)||(B.current=V)}),(0,R.useIsomorphicLayoutEffect)(()=>{if(!m)return;let e=Y.bind(R.UNDEFINED,eq),t=0,r=(0,R.subscribeCallback)(m,b,(r,n={})=>{if(r==R.revalidateEvents.FOCUS_EVENT){let r=Date.now();j.current.revalidateOnFocus&&r>t&&C()&&(t=r+j.current.focusThrottleInterval,e())}else if(r==R.revalidateEvents.RECONNECT_EVENT)j.current.revalidateOnReconnect&&C()&&e();else if(r==R.revalidateEvents.MUTATE_EVENT)return Y();else if(r==R.revalidateEvents.ERROR_REVALIDATE_EVENT)return Y(n)});return O.current=!1,E.current=m,S.current=!0,A({_k:h}),G&&((0,R.isUndefined)(F)||R.IS_SERVER?e():(0,R.rAF)(e)),()=>{O.current=!0,r()}},[m]),(0,R.useIsomorphicLayoutEffect)(()=>{let e;function t(){let t=(0,R.isFunction)(s)?s(I().data):s;t&&-1!==e&&(e=setTimeout(r,t))}function r(){!I().error&&(f||j.current.isVisible())&&(d||j.current.isOnline())?Y(eq).then(t):t()}return t(),()=>{e&&(clearTimeout(e),e=-1)}},[s,f,d,m]),(0,o.useDebugValue)(K),u&&(0,R.isUndefined)(F)&&m){if(!R.IS_REACT_LEGACY&&R.IS_SERVER)throw Error("Fallback data is required when using suspense in SSR.");w.current=t,j.current=r,O.current=!1;let e=v[m];if((0,R.isUndefined)(e)||eJ(J(e)),(0,R.isUndefined)(z)){let e=Y(eq);(0,R.isUndefined)(K)||(e.status="fulfilled",e.value=!0),eJ(e)}else throw z}return{mutate:J,get data(){return N.data=!0,K},get error(){return N.error=!0,z},get isValidating(){return N.isValidating=!0,W},get isLoading(){return N.isLoading=!0,H}}}),eZ=Promise.resolve(),eQ=(0,R.withMiddleware)(eX,e=>(t,r,n)=>{let i,u=(0,o.useRef)(!1),{cache:a,initialSize:l=1,revalidateAll:c=!1,persistSize:s=!1,revalidateFirstPage:f=!0,revalidateOnMount:d=!1,parallel:y=!1}=n,[,,,b]=R.SWRGlobalState.get(R.cache);try{(i=(0,R.serialize)(t?t(0,null):null)[0])&&(i=R.INFINITE_PREFIX+i)}catch(e){}let[g,p,v]=(0,R.createCacheHelper)(a,i),m=(0,o.useCallback)(()=>(0,R.isUndefined)(g()._l)?l:g()._l,[a,i,l]);(0,P.useSyncExternalStore)((0,o.useCallback)(e=>i?v(i,()=>{e()}):()=>{},[a,i]),m,m);let h=(0,o.useCallback)(()=>{let e=g()._l;return(0,R.isUndefined)(e)?l:e},[i,l]),S=(0,o.useRef)(h());(0,R.useIsomorphicLayoutEffect)(()=>{if(!u.current){u.current=!0;return}i&&p({_l:s?S.current:h()})},[i,a]);let O=d&&!u.current,E=e(i,async e=>{let o=g()._i,i=g()._r;p({_r:R.UNDEFINED});let u=[],l=h(),[s]=(0,R.createCacheHelper)(a,e),d=s().data,v=[],m=null;for(let e=0;e<l;++e){let[l,s]=(0,R.serialize)(t(e,y?null:m));if(!l)break;let[g,p]=(0,R.createCacheHelper)(a,l),h=g().data,S=c||o||(0,R.isUndefined)(h)||f&&!e&&!(0,R.isUndefined)(d)||O||d&&!(0,R.isUndefined)(d[e])&&!n.compare(d[e],h);if(r&&("function"==typeof i?i(h,s):S)){let t=async()=>{if(l in b){let e=b[l];delete b[l],h=await e}else h=await r(s);p({data:h,_k:s}),u[e]=h};y?v.push(t):await t()}else u[e]=h;y||(m=h)}return y&&await Promise.all(v.map(e=>e())),p({_i:R.UNDEFINED}),u},n),w=(0,o.useCallback)(function(e,t){let r="boolean"==typeof t?{revalidate:t}:t||{},n=!1!==r.revalidate;return i?(n&&((0,R.isUndefined)(e)?p({_i:!0,_r:r.revalidate}):p({_i:!1,_r:r.revalidate})),arguments.length?E.mutate(e,{...r,revalidate:n}):E.mutate()):eZ},[i,a]),j=(0,o.useCallback)(e=>{let r;if(!i)return eZ;let[,n]=(0,R.createCacheHelper)(a,i);if((0,R.isFunction)(e)?r=e(h()):"number"==typeof e&&(r=e),"number"!=typeof r)return eZ;n({_l:r}),S.current=r;let o=[],[u]=(0,R.createCacheHelper)(a,i),l=null;for(let e=0;e<r;++e){let[r]=(0,R.serialize)(t(e,l)),[n]=(0,R.createCacheHelper)(a,r),i=r?n().data:R.UNDEFINED;if((0,R.isUndefined)(i))return w(u().data);o.push(i),l=i}return w(o)},[i,a,w,h]);return{size:h(),setSize:j,mutate:w,get data(){return E.data},get error(){return E.error},get isValidating(){return E.isValidating},get isLoading(){return E.isLoading}}});function e0(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}function e1(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return function(e,t,r){var n,i,u=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},a=r.getPaginatedUrl,l=r.getTotalCount,c=r.getCurrentPageSize,s=r.getData,f=u.immutable,d=u.swrConfig,y=null!=(i=u.fetcher)?i:_.egenFetch,b=function(e){if(Array.isArray(e))return e}(n=(0,o.useState)(1))||function(e){var t,r,n=null==e?null:"u">typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var o=[],i=!0,u=!1;try{for(n=n.call(e);!(i=(t=n.next()).done)&&(o.push(t.value),2!==o.length);i=!0);}catch(e){u=!0,r=e}finally{try{i||null==n.return||n.return()}finally{if(u)throw r}}return o}}(n)||function(e){if(e){if("string"==typeof e)return e0(e,2);var t=Object.prototype.toString.call(e).slice(8,-1);if("Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t)return Array.from(t);if("Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return e0(e,2)}}(n)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(),g=b[0],p=b[1],v=(0,o.useRef)(NaN),m=(0,o.useRef)(NaN),h=(g-1)*t,S=(f?em:k)((0,o.useMemo)(function(){return a(e,t,h)},[e,t,h]),y,d),O=S.data,E=function(e,t){if(null==e)return{};var r,n,o,i={};if("u">typeof Reflect&&Reflect.ownKeys){for(o=0,r=Reflect.ownKeys(Object(e));o<r.length;o++)n=r[o],!(t.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n]);return i}if(i=function(e,t){if(null==e)return{};var r,n,o={},i=Object.getOwnPropertyNames(e);for(n=0;n<i.length;n++)r=i[n],!(t.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r]);return o}(e,t),Object.getOwnPropertySymbols)for(o=0,r=Object.getOwnPropertySymbols(e);o<r.length;o++)n=r[o],!(t.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n]);return i}(S,["data"]);(null==O?void 0:O.data)&&(v.current=l(null==O?void 0:O.data),m.current=c(null==O?void 0:O.data));var w=Math.ceil(v.current/t),j=(0,o.useCallback)(function(e){0<e&&e<=w?p(e):console.warn("Invalid attempt to go to out of bounds page: "+e)},[e,g,w]),C=(0,o.useCallback)(function(){j(g+1)},[e,g,w]),I=(0,o.useCallback)(function(){j(g-1)},[e,g,w]);return function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{},n=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(r).filter(function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable}))),n.forEach(function(t){var n;n=r[t],t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n})}return e}({data:s(null==O?void 0:O.data),totalPages:w,totalCount:v.current,currentPage:g,currentPageSize:m,paginated:w>1,showNextButton:g<w,showPreviousButton:g>1,goTo:j,goToNext:C,goToPrevious:I},E)}(e,t,e2,r)}var e2={getPaginatedUrl:function(e,t,r){if(!e)return null;var n=new URL((0,_.makeUrl)(e.toString()),window.location.toString());return n.searchParams.set("limit",""+t),n.searchParams.set("startIndex",""+r),n.searchParams.set("totalCount","true"),n.toString()},getNextUrl:function(e){var t,r,n=null==e||null==(r=e.links)||null==(t=r.find(function(e){return"next"==e.rel}))?void 0:t.uri;if(!n)return null;var o=new URL(n);return o.host=window.location.host,o.protocol=window.location.protocol,o.toString()},getTotalCount:function(e){var t;return null!=(t=null==e?void 0:e.totalCount)?t:NaN},getCurrentPageSize:function(e){var t,r;return null!=(t=null==e||null==(r=e.results)?void 0:r.length)?t:NaN},getData:function(e){return null==e?void 0:e.results}};function e8(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{},n=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(r).filter(function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable}))),n.forEach(function(t){var n;n=r[t],t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n})}return e}function e3(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return e6(e,e2,t)}function e6(e,t){var r,n,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},u=i.swrInfiniteConfig,a=i.immutable,l=t.getNextUrl,c=t.getTotalCount,s=t.getData,f=null!=(r=i.fetcher)?r:_.egenFetch,d=eQ((0,o.useCallback)(function(r,n){var o;return 0!=r?t.getNextUrl(n.data):null!=(o=null==e?void 0:e.toString())?o:null},[e]),f,e8({},u,a?{revalidateIfStale:!1,revalidateOnFocus:!1,revalidateOnReconnect:!1}:{})),y=d.data,b=(d.size,d.setSize),g=function(e,t){if(null==e)return{};var r,n,o,i={};if("u">typeof Reflect&&Reflect.ownKeys){for(o=0,r=Reflect.ownKeys(Object(e));o<r.length;o++)n=r[o],!(t.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n]);return i}if(i=function(e,t){if(null==e)return{};var r,n,o={},i=Object.getOwnPropertyNames(e);for(n=0;n<i.length;n++)r=i[n],!(t.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r]);return o}(e,t),Object.getOwnPropertySymbols)for(o=0,r=Object.getOwnPropertySymbols(e);o<r.length;o++)n=r[o],!(t.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n]);return i}(d,["data","size","setSize"]),p=l(null==y?void 0:y[y.length-1].data),v=c(null==y||null==(n=y[0])?void 0:n.data);return e8({data:null==y?void 0:y.flatMap(function(e){return s(e.data)}),totalCount:v,hasMore:null!=p,loadMore:function(){var e;b((null!=(e=null==y?void 0:y.length)?e:0)+1)},nextUri:p},g)}function e7(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return function(e,t){var r,n,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},u=e6(e,t,i),a=u.hasMore,l=u.error,c=u.data,s=u.loadMore,f=u.isLoading,d=u.nextUri;return((0,o.useEffect)(function(){a&&!l&&s()},[a,d]),i.partialData)?u:(r=function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{},n=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(r).filter(function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable}))),n.forEach(function(t){var n;n=r[t],t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n})}return e}({},u),n=n={data:a||l?void 0:c,isLoading:f||a},Object.getOwnPropertyDescriptors?Object.defineProperties(r,Object.getOwnPropertyDescriptors(n)):(function(e){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t.push.apply(t,r)}return t})(Object(n)).forEach(function(e){Object.defineProperty(r,e,Object.getOwnPropertyDescriptor(n,e))}),r)}(e,e2,t)}function e4(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=t.abortController,n=t.fetchInit,i=t.url,u=t.swrConfig,a=eu(),l=(0,o.useMemo)(function(){var e,t;return null!=(e=null!=(t=null==n?void 0:n.signal)?t:null==r?void 0:r.signal)?e:a.signal},[null==r?void 0:r.signal,null==n?void 0:n.signal,a.signal]);return k(e,(0,o.useCallback)(function(e){var t,r,o=function(e,t){if(t)return"function"==typeof t?t(e):t;if("string"==typeof e)return e;throw Error("When using useEgenSWR with a key that is not a string, you must provide a url() function that converts the key to a valid url. The key for this hook is ".concat(e,"."))}(e,i);return(0,_.egenFetch)(o,(t=function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{},n=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(r).filter(function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable}))),n.forEach(function(t){var n;n=r[t],t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n})}return e}({},n),r=r={signal:l},Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):(function(e){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t.push.apply(t,r)}return t})(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}),t))},[l,n,i]),u)}function e5(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}function e9(){var e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:10,n=function(e){if(Array.isArray(e))return e}(e=(0,o.useState)(1))||function(e){var t,r,n=null==e?null:"u">typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var o=[],i=!0,u=!1;try{for(n=n.call(e);!(i=(t=n.next()).done)&&(o.push(t.value),2!==o.length);i=!0);}catch(e){u=!0,r=e}finally{try{i||null==n.return||n.return()}finally{if(u)throw r}}return o}}(e)||function(e){if(e){if("string"==typeof e)return e5(e,2);var t=Object.prototype.toString.call(e).slice(8,-1);if("Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t)return Array.from(t);if("Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return e5(e,2)}}(e)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(),i=n[0],u=n[1],a=(0,o.useMemo)(function(){return"number"==typeof r&&r>0?Math.max(1,Math.ceil(t.length/r)):1},[t.length,r]),l=(0,o.useMemo)(function(){var e=(i-1)*r,n=(i+0)*r;return t.slice(e,n)},[t,i,r]),c=(0,o.useCallback)(function(e){u(Math.max(1,Math.min(a,e)))},[u,a]),s=(0,o.useCallback)(function(){i<a&&u(i+1)},[i,a,u]),f=(0,o.useCallback)(function(){i>1&&u(i-1)},[i,u]);return(0,o.useMemo)(function(){return{results:l,totalPages:a,currentPage:i,paginated:t.length>r,showNextButton:i<a,showPreviousButton:i>1,goTo:c,goToNext:s,goToPrevious:f}},[l,a,t.length,r,i,c,s,f])}function te(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}function tt(e,t,r,n){return{pageSizes:(0,o.useMemo)(function(){var r,n=Math.ceil(t/e);return isNaN(n)&&(n=0),((function(e){if(Array.isArray(e))return te(e)})(r=Array(n).keys())||function(e){if("u">typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(r)||function(e){if(e){if("string"==typeof e)return te(e,void 0);var t=Object.prototype.toString.call(e).slice(8,-1);if("Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t)return Array.from(t);if("Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return te(e,void 0)}}(r)||function(){throw TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()).map(function(t){return(t+1)*e})},[e,t]),pageItemsCount:(0,o.useMemo)(function(){return e>t?t:e*r>t?e*(r-1)+n:e*r},[e,t,r,n])}}function tr(e){var t=E(e),r=t.extensions,n=t.extensionSlotModuleName;return e?r.map(function(t){return function(r){var o=r.state;return i().createElement(u.Provider,{value:{moduleName:n,featureName:"",extension:{extensionId:t.id,extensionSlotName:e,extensionSlotModuleName:n}}},i().createElement(f,{state:o}))}}):[]}function tn(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}function to(){var e,t=(0,o.useRef)(),r=function(e){if(Array.isArray(e))return e}(e=(0,o.useState)(null))||function(e){var t,r,n=null==e?null:"u">typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var o=[],i=!0,u=!1;try{for(n=n.call(e);!(i=(t=n.next()).done)&&(o.push(t.value),2!==o.length);i=!0);}catch(e){u=!0,r=e}finally{try{i||null==n.return||n.return()}finally{if(u)throw r}}return o}}(e)||function(e){if(e){if("string"==typeof e)return tn(e,2);var t=Object.prototype.toString.call(e).slice(8,-1);if("Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t)return Array.from(t);if("Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return tn(e,2)}}(e)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(),i=r[0],u=r[1],a=null;if(!i){if(n){var l=(0,_.getSessionStore)().getState();l.loaded&&(a=l.session)}else n=new Promise(function(e){var r=function(r){var n=r.loaded,o=r.session;n&&(e(o),a=o,t.current&&(t.current(),t.current=void 0))};r((0,_.getSessionStore)().getState()),a||(t.current=(0,_.getSessionStore)().subscribe(r))});if(a)u(a);else throw n}(0,o.useEffect)(function(){return t.current||(t.current=(0,_.getSessionStore)().subscribe(function(e){var t=e.loaded,r=e.session;t&&(a=r,u(r))})),function(){t.current&&(t.current(),t.current=void 0)}},[]);var c=i||a;if(!c)if(n)throw console.warn("useSession is in an unexpected state. Attempting to recover."),n;else throw Error("useSession is in an invalid state.");return c}var ti=r(5350),tu=r.n(ti),ta=r(648);function tl(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function tc(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{},n=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(r).filter(function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable}))),n.forEach(function(t){tl(e,t,r[t])})}return e}var ts={setSessionContext:function(e,t){var r;return null==t?{manuallySetSessionUuid:null}:{manuallySetSessionUuid:t.uuid,entityUuid:null==(r=t.entity)?void 0:r.uuid}},mutateSession:function(e){var t=!0,r=!1,n=void 0;try{for(var o,i,u=Object.values(null!=(o=e.mutateSessionCallbacks)?o:{})[Symbol.iterator]();!(t=(i=u.next()).done);t=!0)(0,i.value)()}catch(e){r=!0,n=e}finally{try{t||null==u.return||u.return()}finally{if(r)throw n}}return{}}};function tf(e){var t=(0,o.useId)();return(0,o.useEffect)(function(){var r,n,o=(0,ey.r_)();return e&&o.setState({mutateSessionCallbacks:(r=tc({},o.getState().mutateSessionCallbacks),n=null!=(n=tl({},t,e))?n:{},Object.getOwnPropertyDescriptors?Object.defineProperties(r,Object.getOwnPropertyDescriptors(n)):(function(e){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t.push.apply(t,r)}return t})(Object(n)).forEach(function(e){Object.defineProperty(r,e,Object.getOwnPropertyDescriptor(n,e))}),r)}),function(){if(e){var r=tc({},o.getState().mutateSessionCallbacks);delete r[t],o.setState({mutateSessionCallbacks:r})}}},[t,e]),m((0,ey.r_)(),ts)}function td(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:ey.pJ,r=tf(),n=r.entityUuid,i=r.manuallySetSessionUuid,u=r.setSessionContext,a=e&&n==e?i:null,l="?entity=".concat(e,"&v=").concat(t,"&includeInactive=false"),c="/".concat(a,"?v=").concat(t),s=k(e?"".concat(_.restBaseUrl,"/session").concat(l):null,_.egenFetch),f=s.data,d=s.error,y=s.mutate,b=s.isValidating,g=k(e&&a?"".concat(_.restBaseUrl,"/session").concat(c):null,_.egenFetch),p=g.data,v=g.error,m=g.mutate,h=g.isValidating,S=(0,o.useMemo)(function(){var e;return null!=(e=null==f?void 0:f.data.results.find(function(e){return null===e.stopDatetime}))?e:null},[f]),O=(0,o.useMemo)(function(){return a&&p?p.data:null},[p,a]),E=(0,o.useRef)(null);(0,o.useEffect)(function(){!b&&S&&n===e&&null===i&&u(S),h||(E.current&&O&&E.current.uuid===O.uuid&&!E.current.stopDatetime&&O.stopDatetime&&u(null),E.current=O)},[O,i,S,b,h,n]);var w=(0,o.useCallback)(function(){y(),m()},[y,m]);tf(w);var j=!!(!f||a&&!p),C=!!(a?v:d);return{error:d||v,mutate:w,isValidating:b||h,activeSession:S,currentSession:O,currentSessionIsRetrospective:!!a,isLoading:j&&!C}}function ty(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}function tb(){var e,t=function(e){if(Array.isArray(e))return e}(e=(0,o.useState)([]))||function(e){var t,r,n=null==e?null:"u">typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var o=[],i=!0,u=!1;try{for(n=n.call(e);!(i=(t=n.next()).done)&&(o.push(t.value),2!==o.length);i=!0);}catch(e){u=!0,r=e}finally{try{i||null==n.return||n.return()}finally{if(u)throw r}}return o}}(e)||function(e){if(e){if("string"==typeof e)return ty(e,2);var t=Object.prototype.toString.call(e).slice(8,-1);if("Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t)return Array.from(t);if("Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return ty(e,2)}}(e)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(),r=t[0],n=t[1];return(0,o.useEffect)(function(){var e=(0,ey.Ty)().subscribe(function(e){return n(e)},function(e){return console.error(e)});return function(){return e.unsubscribe()}},[]),r}function tg(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}tu().extend(ta);var tp=function(e){var t,r=e.privilege,n=e.fallback,u=e.children,a=function(e){if(Array.isArray(e))return e}(t=(0,o.useState)(null))||function(e){var t,r,n=null==e?null:"u">typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var o=[],i=!0,u=!1;try{for(n=n.call(e);!(i=(t=n.next()).done)&&(o.push(t.value),2!==o.length);i=!0);}catch(e){u=!0,r=e}finally{try{i||null==n.return||n.return()}finally{if(u)throw r}}return o}}(t)||function(e){if(e){if("string"==typeof e)return tg(e,2);var t=Object.prototype.toString.call(e).slice(8,-1);if("Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t)return Array.from(t);if("Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return tg(e,2)}}(t)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(),l=a[0],c=a[1];return((0,o.useEffect)(function(){var e=(0,_.getCurrentUser)({includeAuthStatus:!1}).subscribe(c);return function(){return e.unsubscribe()}},[]),l&&(0,_.userHasAccess)(r,l))?i().createElement(i().Fragment,null,u):n?i().createElement(i().Fragment,null,n):null}}}]);
|