@visma-swno/vsn-navigation 1.4.0-beta.3 → 1.4.0-beta.5

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.
@@ -99,40 +99,40 @@ function ve(e) {
99
99
  function ye(e) {
100
100
  window.dispatchEvent(new CustomEvent(ne, { detail: e }));
101
101
  }
102
- var x = "", be, xe, S, Se, Ce, C = new ue();
103
- C.resolve();
104
- var w = 0, we = (e) => (se(((e, t) => _e(Ce, e, t))), x = xe = e.sourceLocale, S = new Set(e.targetLocales), S.add(e.sourceLocale), Se = e.loadLocale, {
105
- getLocale: Te,
106
- setLocale: Ee
107
- }), Te = () => x, Ee = (e) => {
108
- if (e === (be ?? x)) return C.promise;
109
- if (!S || !Se) throw Error("Internal error");
110
- if (!S.has(e)) throw Error("Invalid locale code");
111
- w++;
112
- let t = w;
113
- return be = e, C.settled && (C = new ue()), ye({
102
+ var x = "", S, be, C, xe, Se, w = new ue();
103
+ w.resolve();
104
+ var T = 0, Ce = (e) => (se(((e, t) => _e(Se, e, t))), x = be = e.sourceLocale, C = new Set(e.targetLocales), C.add(e.sourceLocale), xe = e.loadLocale, {
105
+ getLocale: we,
106
+ setLocale: Te
107
+ }), we = () => x, Te = (e) => {
108
+ if (e === (S ?? x)) return w.promise;
109
+ if (!C || !xe) throw Error("Internal error");
110
+ if (!C.has(e)) throw Error("Invalid locale code");
111
+ T++;
112
+ let t = T;
113
+ return S = e, w.settled && (w = new ue()), ye({
114
114
  status: "loading",
115
115
  loadingLocale: e
116
- }), (e === xe ? Promise.resolve({ templates: void 0 }) : Se(e)).then((n) => {
117
- w === t && (x = e, be = void 0, Ce = n.templates, ye({
116
+ }), (e === be ? Promise.resolve({ templates: void 0 }) : xe(e)).then((n) => {
117
+ T === t && (x = e, S = void 0, Se = n.templates, ye({
118
118
  status: "ready",
119
119
  readyLocale: e
120
- }), C.resolve());
120
+ }), w.resolve());
121
121
  }, (n) => {
122
- w === t && (ye({
122
+ T === t && (ye({
123
123
  status: "error",
124
124
  errorLocale: e,
125
125
  errorMessage: n.toString()
126
- }), C.reject(n));
127
- }), C.promise;
128
- }, De = () => {
126
+ }), w.reject(n));
127
+ }), w.promise;
128
+ }, Ee = () => {
129
129
  if (typeof navigator > "u") return !1;
130
130
  let e = navigator.userAgentData?.platform ?? navigator.platform ?? "";
131
131
  return /mac/i.test(e);
132
- }, Oe = (e) => !e.shiftKey && !e.altKey && (De() ? e.metaKey && !e.ctrlKey : e.ctrlKey && !e.metaKey), T = (e) => e.shiftKey || e.altKey || e.ctrlKey || e.metaKey, E = (e) => !T(e), ke = () => v("Choose a service"), Ae = () => v("Search"), je = () => De() ? "Cmd+O" : "CTRL+O", Me = (e) => v(_`Type at least ${e} characters to search`), Ne = () => v("Menu items"), Pe = () => v("Load more"), Fe = () => v("VSN"), D = "menu", Ie = "survicate-sdk", Le = "ui-components-feedback", Re = (e) => `https://survey.survicate.com/workspaces/${e}/web_surveys.js`;
132
+ }, De = (e) => !e.shiftKey && !e.altKey && (Ee() ? e.metaKey && !e.ctrlKey : e.ctrlKey && !e.metaKey), E = (e) => e.shiftKey || e.altKey || e.ctrlKey || e.metaKey, D = (e) => !E(e), Oe = () => v("Choose a service"), ke = () => v("Search"), Ae = () => Ee() ? "Cmd+O" : "CTRL+O", je = (e) => v(_`Type at least ${e} characters to search`), Me = () => v("Menu items"), Ne = () => v("Load more"), Pe = () => v("VSN"), O = "menu", Fe = "survicate-sdk", Ie = "ui-components-feedback", Le = (e) => `https://survey.survicate.com/workspaces/${e}/web_surveys.js`;
133
133
  //#endregion
134
134
  //#region src/shared/icons.ts
135
- function O(e, t = 24, r) {
135
+ function k(e, t = 24, r) {
136
136
  return n`<svg
137
137
  xmlns="http://www.w3.org/2000/svg"
138
138
  width="${t}"
@@ -147,23 +147,23 @@ function O(e, t = 24, r) {
147
147
  class=${r ?? ""}
148
148
  >${e}</svg>`;
149
149
  }
150
- var ze = i``, Be = i`
150
+ var Re = i``, ze = i`
151
151
  <path d="M4 5h16"/>
152
152
  <path d="M4 12h16"/>
153
153
  <path d="M4 19h16"/>
154
- `, Ve = i`
154
+ `, Be = i`
155
155
  <path d="M11.017 2.814a1 1 0 0 1 1.966 0l1.051 5.558a2 2 0 0 0 1.594 1.594l5.558 1.051a1 1 0 0 1 0 1.966l-5.558 1.051a2 2 0 0 0-1.594 1.594l-1.051 5.558a1 1 0 0 1-1.966 0l-1.051-5.558a2 2 0 0 0-1.594-1.594l-5.558-1.051a1 1 0 0 1 0-1.966l5.558-1.051a2 2 0 0 0 1.594-1.594z"/>
156
156
  <path d="M20 2v4"/>
157
157
  <path d="M22 4h-4"/>
158
158
  <circle cx="4" cy="20" r="2"/>
159
- `, He = i`
159
+ `, Ve = i`
160
160
  <path d="M10.268 21a2 2 0 0 0 3.464 0"/>
161
161
  <path d="M3.262 15.326A1 1 0 0 0 4 17h16a1 1 0 0 0 .74-1.673C19.41 13.956 18 12.499 18 8A6 6 0 0 0 6 8c0 4.499-1.411 5.956-2.738 7.326"/>
162
- `, Ue = i`
162
+ `, He = i`
163
163
  <path d="M10.268 21a2 2 0 0 0 3.464 0"/>
164
164
  <path d="M11.68 2.009A6 6 0 0 0 6 8c0 4.499-1.411 5.956-2.738 7.326A1 1 0 0 0 4 17h16a1 1 0 0 0 .74-1.673c-.824-.85-1.678-1.731-2.21-3.348"/>
165
165
  <circle cx="18" cy="5" r="3"/>
166
- `, We = i`
166
+ `, Ue = i`
167
167
  <path d="M15 5.88 14 10h5.83a2 2 0 0 1 1.92 2.56l-2.33 8A2 2 0 0 1 17.5 22H4a2 2 0 0 1-2-2v-8a2 2 0 0 1 2-2h2.76a2 2 0 0 0 1.79-1.11L12 2a3.13 3.13 0 0 1 3 3.88Z"/>
168
168
  <path d="M7 10v12"/>
169
169
  `;
@@ -174,14 +174,14 @@ i`
174
174
  <path d="M6 10H4a2 2 0 0 0-2 2v7a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2V9a2 2 0 0 0-2-2h-2"/>
175
175
  <path d="M6 21V5a2 2 0 0 1 2-2h8a2 2 0 0 1 2 2v16"/>
176
176
  `;
177
- var Ge = i`
177
+ var We = i`
178
178
  <path d="M15 21v-8a1 1 0 0 0-1-1h-4a1 1 0 0 0-1 1v8"/>
179
179
  <path d="M3 10a2 2 0 0 1 .709-1.528l7-6a2 2 0 0 1 2.582 0l7 6A2 2 0 0 1 21 10v9a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z"/>
180
- `, Ke = i`
180
+ `, Ge = i`
181
181
  <circle cx="12" cy="12" r="10"/>
182
182
  <path d="M9.09 9a3 3 0 0 1 5.83 1c0 2-3 3-3 3"/>
183
183
  <path d="M12 17h.01"/>
184
- `, qe = i`
184
+ `, Ke = i`
185
185
  <circle cx="12" cy="8" r="5"/>
186
186
  <path d="M20 21a8 8 0 0 0-16 0"/>
187
187
  `;
@@ -192,11 +192,11 @@ i`
192
192
  <path d="M12 17v5"/>
193
193
  <path d="M9 10.76a2 2 0 0 1-1.11 1.79l-1.78.9A2 2 0 0 0 5 15.24V16a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1v-.76a2 2 0 0 0-1.11-1.79l-1.78-.9A2 2 0 0 1 15 10.76V7a1 1 0 0 1 1-1 2 2 0 0 0 0-4H8a2 2 0 0 0 0 4 1 1 0 0 1 1 1z"/>
194
194
  `;
195
- var Je = i`
195
+ var qe = i`
196
196
  <path d="m16 17 5-5-5-5"/>
197
197
  <path d="M21 12H9"/>
198
198
  <path d="M9 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h4"/>
199
- `, Ye = i`
199
+ `, Je = i`
200
200
  <path d="M21 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h6"/>
201
201
  <path d="m21 3-9 9"/>
202
202
  <path d="M15 3h6v6"/>
@@ -205,17 +205,17 @@ i`
205
205
  <circle cx="12" cy="12" r="10"/>
206
206
  <circle cx="12" cy="12" r="1"/>
207
207
  `;
208
- var Xe = i`
208
+ var Ye = i`
209
209
  <path d="m7 15 5 5 5-5"/>
210
210
  <path d="m7 9 5-5 5 5"/>
211
- `, Ze = i`
211
+ `, Xe = i`
212
212
  <path d="m18 15-6-6-6 6"/>
213
- `, k = i`
213
+ `, A = i`
214
214
  <path d="m6 9 6 6 6-6"/>
215
- `, Qe = i`
215
+ `, Ze = i`
216
216
  <circle cx="11" cy="11" r="8"/>
217
217
  <path d="m21 21-4.3-4.3"/>
218
- `, $e = i`
218
+ `, Qe = i`
219
219
  <circle cx="12" cy="12" r="10"/>
220
220
  <path d="m15 9-6 6"/>
221
221
  <path d="m9 9 6 6"/>
@@ -225,7 +225,7 @@ i`
225
225
  <line x1="12" x2="12" y1="8" y2="12"/>
226
226
  <line x1="12" x2="12.01" y1="16" y2="16"/>
227
227
  `;
228
- var et = i`
228
+ var $e = i`
229
229
  <path d="M12 16h.01"/>
230
230
  <path d="M12 8v4"/>
231
231
  <path d="M15.312 2a2 2 0 0 1 1.414.586l4.688 4.688A2 2 0 0 1 22 8.688v6.624a2 2 0 0 1-.586 1.414l-4.688 4.688a2 2 0 0 1-1.414.586H8.688a2 2 0 0 1-1.414-.586l-4.688-4.688A2 2 0 0 1 2 15.312V8.688a2 2 0 0 1 .586-1.414l4.688-4.688A2 2 0 0 1 8.688 2z"/>
@@ -236,9 +236,9 @@ i`
236
236
  `, i`
237
237
  <path fill-rule="evenodd" clip-rule="evenodd" d="M2.60982 1.03843C2.99778 0.96126 3.39992 1.00087 3.76537 1.15224C4.13082 1.30362 4.44318 1.55996 4.66294 1.88886C4.8827 2.21776 5 2.60444 5 3V4H7V3C7 2.60444 7.1173 2.21776 7.33706 1.88886C7.55682 1.55996 7.86918 1.30362 8.23463 1.15224C8.60009 1.00087 9.00222 0.96126 9.39018 1.03843C9.77814 1.1156 10.1345 1.30608 10.4142 1.58579C10.6939 1.86549 10.8844 2.22186 10.9616 2.60982C11.0387 2.99778 10.9991 3.39992 10.8478 3.76537C10.6964 4.13082 10.44 4.44318 10.1111 4.66294C9.78224 4.8827 9.39556 5 9 5H8V7H9C9.39556 7 9.78224 7.1173 10.1111 7.33706C10.44 7.55682 10.6964 7.86918 10.8478 8.23463C10.9991 8.60009 11.0387 9.00222 10.9616 9.39018C10.8844 9.77814 10.6939 10.1345 10.4142 10.4142C10.1345 10.6939 9.77814 10.8844 9.39018 10.9616C9.00222 11.0387 8.60009 10.9991 8.23463 10.8478C7.86918 10.6964 7.55682 10.44 7.33706 10.1111C7.1173 9.78224 7 9.39556 7 9V8H5V9C5 9.39556 4.8827 9.78224 4.66294 10.1111C4.44318 10.44 4.13082 10.6964 3.76537 10.8478C3.39992 10.9991 2.99778 11.0387 2.60982 10.9616C2.22186 10.8844 1.86549 10.6939 1.58579 10.4142C1.30608 10.1345 1.1156 9.77814 1.03843 9.39018C0.96126 9.00222 1.00087 8.60009 1.15224 8.23463C1.30362 7.86918 1.55996 7.55682 1.88886 7.33706C2.21776 7.1173 2.60444 7 3 7H4V5H3C2.60444 5 2.21776 4.8827 1.88886 4.66294C1.55996 4.44318 1.30362 4.13082 1.15224 3.76537C1.00087 3.39992 0.96126 2.99778 1.03843 2.60982C1.1156 2.22186 1.30608 1.86549 1.58579 1.58579C1.86549 1.30608 2.22186 1.1156 2.60982 1.03843ZM4 4V3C4 2.80222 3.94135 2.60888 3.83147 2.44443C3.72159 2.27998 3.56541 2.15181 3.38268 2.07612C3.19996 2.00043 2.99889 1.98063 2.80491 2.01922C2.61093 2.0578 2.43275 2.15304 2.29289 2.29289C2.15304 2.43275 2.0578 2.61093 2.01922 2.80491C1.98063 2.99889 2.00043 3.19996 2.07612 3.38268C2.15181 3.56541 2.27998 3.72159 2.44443 3.83147C2.60888 3.94135 2.80222 4 3 4H4ZM5 5V7H7V5H5ZM4 8H3C2.80222 8 2.60888 8.05865 2.44443 8.16853C2.27998 8.27841 2.15181 8.43459 2.07612 8.61732C2.00043 8.80004 1.98063 9.00111 2.01922 9.19509C2.0578 9.38907 2.15304 9.56726 2.29289 9.70711C2.43275 9.84696 2.61093 9.9422 2.80491 9.98079C2.99889 10.0194 3.19996 9.99957 3.38268 9.92388C3.56541 9.84819 3.72159 9.72002 3.83147 9.55557C3.94135 9.39112 4 9.19778 4 9V8ZM8 8V9C8 9.19778 8.05865 9.39112 8.16853 9.55557C8.27841 9.72002 8.43459 9.84819 8.61732 9.92388C8.80004 9.99957 9.00111 10.0194 9.19509 9.98079C9.38907 9.9422 9.56726 9.84696 9.70711 9.70711C9.84696 9.56726 9.9422 9.38907 9.98079 9.19509C10.0194 9.00111 9.99957 8.80004 9.92388 8.61732C9.84819 8.43459 9.72002 8.27841 9.55557 8.16853C9.39112 8.05865 9.19778 8 9 8H8ZM8 4H9C9.19778 4 9.39112 3.94135 9.55557 3.83147C9.72002 3.72159 9.84819 3.56541 9.92388 3.38268C9.99957 3.19996 10.0194 2.99889 9.98079 2.80491C9.9422 2.61093 9.84696 2.43275 9.70711 2.29289C9.56726 2.15304 9.38907 2.0578 9.19509 2.01922C9.00111 1.98063 8.80004 2.00043 8.61732 2.07612C8.43459 2.15181 8.27841 2.27998 8.16853 2.44443C8.05865 2.60888 8 2.80222 8 3V4Z"/>
238
238
  `;
239
- var tt = i`
239
+ var et = i`
240
240
  <path d="m9 18 6-6-6-6"/>
241
- `, nt = class extends Event {
241
+ `, tt = class extends Event {
242
242
  constructor(e, t, n, r) {
243
243
  super("context-request", {
244
244
  bubbles: !0,
@@ -248,12 +248,12 @@ var tt = i`
248
248
  };
249
249
  //#endregion
250
250
  //#region node_modules/@lit/context/lib/create-context.js
251
- function rt(e) {
251
+ function nt(e) {
252
252
  return e;
253
253
  }
254
254
  //#endregion
255
255
  //#region node_modules/@lit/context/lib/controllers/context-consumer.js
256
- var it = class {
256
+ var rt = class {
257
257
  constructor(e, t, n, r) {
258
258
  if (this.subscribe = !1, this.provided = !1, this.value = void 0, this.t = (e, t) => {
259
259
  this.unsubscribe && (this.unsubscribe !== t && (this.provided = !1, this.unsubscribe()), this.subscribe || this.unsubscribe()), this.value = e, this.host.requestUpdate(), this.provided && !this.subscribe || (this.provided = !0, this.callback && this.callback(e, t)), this.unsubscribe = t;
@@ -270,9 +270,9 @@ var it = class {
270
270
  this.unsubscribe &&= (this.unsubscribe(), void 0);
271
271
  }
272
272
  dispatchRequest() {
273
- this.host.dispatchEvent(new nt(this.context, this.host, this.t, this.subscribe));
273
+ this.host.dispatchEvent(new tt(this.context, this.host, this.t, this.subscribe));
274
274
  }
275
- }, at = class {
275
+ }, it = class {
276
276
  get value() {
277
277
  return this.o;
278
278
  }
@@ -302,14 +302,14 @@ var it = class {
302
302
  clearCallbacks() {
303
303
  this.subscriptions.clear();
304
304
  }
305
- }, ot = class extends Event {
305
+ }, at = class extends Event {
306
306
  constructor(e, t) {
307
307
  super("context-provider", {
308
308
  bubbles: !0,
309
309
  composed: !0
310
310
  }), this.context = e, this.contextTarget = t;
311
311
  }
312
- }, st = class extends at {
312
+ }, ot = class extends it {
313
313
  constructor(e, t, n) {
314
314
  super(t.context === void 0 ? n : t.initialValue), this.onContextRequest = (e) => {
315
315
  if (e.context !== this.context) return;
@@ -318,7 +318,7 @@ var it = class {
318
318
  }, this.onProviderRequest = (e) => {
319
319
  if (e.context !== this.context || (e.contextTarget ?? e.composedPath()[0]) === this.host) return;
320
320
  let t = /* @__PURE__ */ new Set();
321
- for (let [e, { consumerHost: n }] of this.subscriptions) t.has(e) || (t.add(e), n.dispatchEvent(new nt(this.context, n, e, !0)));
321
+ for (let [e, { consumerHost: n }] of this.subscriptions) t.has(e) || (t.add(e), n.dispatchEvent(new tt(this.context, n, e, !0)));
322
322
  e.stopPropagation();
323
323
  }, this.host = e, t.context === void 0 ? this.context = t : this.context = t.context, this.attachListeners(), this.host.addController?.(this);
324
324
  }
@@ -326,12 +326,12 @@ var it = class {
326
326
  this.host.addEventListener("context-request", this.onContextRequest), this.host.addEventListener("context-provider", this.onProviderRequest);
327
327
  }
328
328
  hostConnected() {
329
- this.host.dispatchEvent(new ot(this.context, this.host));
329
+ this.host.dispatchEvent(new at(this.context, this.host));
330
330
  }
331
331
  };
332
332
  //#endregion
333
333
  //#region node_modules/@lit/context/lib/decorators/provide.js
334
- function ct({ context: e }) {
334
+ function st({ context: e }) {
335
335
  return (t, n) => {
336
336
  let r = /* @__PURE__ */ new WeakMap();
337
337
  if (typeof n == "object") return {
@@ -342,7 +342,7 @@ function ct({ context: e }) {
342
342
  return r.get(this).setValue(e), t.set.call(this, e);
343
343
  },
344
344
  init(t) {
345
- return r.set(this, new st(this, {
345
+ return r.set(this, new ot(this, {
346
346
  context: e,
347
347
  initialValue: t
348
348
  })), t;
@@ -350,7 +350,7 @@ function ct({ context: e }) {
350
350
  };
351
351
  {
352
352
  t.constructor.addInitializer(((t) => {
353
- r.set(t, new st(t, { context: e }));
353
+ r.set(t, new ot(t, { context: e }));
354
354
  }));
355
355
  let i = Object.getOwnPropertyDescriptor(t, n), a;
356
356
  if (i === void 0) {
@@ -381,10 +381,10 @@ function ct({ context: e }) {
381
381
  }
382
382
  //#endregion
383
383
  //#region node_modules/@lit/context/lib/decorators/consume.js
384
- function lt({ context: e, subscribe: t }) {
384
+ function ct({ context: e, subscribe: t }) {
385
385
  return (n, r) => {
386
386
  typeof r == "object" ? r.addInitializer((function() {
387
- new it(this, {
387
+ new rt(this, {
388
388
  context: e,
389
389
  callback: (e) => {
390
390
  n.set.call(this, e);
@@ -392,7 +392,7 @@ function lt({ context: e, subscribe: t }) {
392
392
  subscribe: t
393
393
  });
394
394
  })) : n.constructor.addInitializer(((n) => {
395
- new it(n, {
395
+ new rt(n, {
396
396
  context: e,
397
397
  callback: (e) => {
398
398
  n[r] = e;
@@ -404,20 +404,20 @@ function lt({ context: e, subscribe: t }) {
404
404
  }
405
405
  //#endregion
406
406
  //#region src/shared/types/index.ts
407
- function A(e) {
407
+ function j(e) {
408
408
  return "url" in e;
409
409
  }
410
- function j(e) {
410
+ function M(e) {
411
411
  return "items" in e;
412
412
  }
413
- var ut = class e extends Error {
413
+ var N = class e extends Error {
414
414
  constructor(t) {
415
415
  super(t), this.name = "SearchError", Object.setPrototypeOf(this, e.prototype);
416
416
  }
417
- }, dt = rt("activeId"), ft = rt(Symbol("focus-manager"));
417
+ }, lt = nt("activeId"), ut = nt(Symbol("focus-manager"));
418
418
  //#endregion
419
419
  //#region \0@oxc-project+runtime@0.127.0/helpers/decorate.js
420
- function M(e, t, n, r) {
420
+ function P(e, t, n, r) {
421
421
  var i = arguments.length, a = i < 3 ? t : r === null ? r = Object.getOwnPropertyDescriptor(t, n) : r, o;
422
422
  if (typeof Reflect == "object" && typeof Reflect.decorate == "function") a = Reflect.decorate(e, t, n, r);
423
423
  else for (var s = e.length - 1; s >= 0; s--) (o = e[s]) && (a = (i < 3 ? o(a) : i > 3 ? o(t, n, a) : o(t, n)) || a);
@@ -425,9 +425,9 @@ function M(e, t, n, r) {
425
425
  }
426
426
  //#endregion
427
427
  //#region src/components/vsn-side-bar/vsn-menu/vsn-menu-item.ts
428
- var N, P = class extends e {
428
+ var F, I = class extends e {
429
429
  static {
430
- N = this;
430
+ F = this;
431
431
  }
432
432
  static {
433
433
  this._idCounter = 0;
@@ -461,8 +461,8 @@ var N, P = class extends e {
461
461
  this._showTooltip = !1;
462
462
  }, this._onKeyDown = (e) => {
463
463
  let t = this.tree;
464
- if (t !== void 0 && !(e.defaultPrevented || T(e))) {
465
- if (N.menuShortcuts.includes(e.key) && (e.preventDefault(), e.stopPropagation()), e.key === "ArrowUp") {
464
+ if (t !== void 0 && !(e.defaultPrevented || E(e))) {
465
+ if (F.menuShortcuts.includes(e.key) && (e.preventDefault(), e.stopPropagation()), e.key === "ArrowUp") {
466
466
  this._focusManager?.focusPrev(this);
467
467
  return;
468
468
  }
@@ -470,10 +470,10 @@ var N, P = class extends e {
470
470
  this._focusManager?.focusNext(this);
471
471
  return;
472
472
  }
473
- j(t) ? this.handleKeyForParent(e.key) : this.handleKeyForLeaf(e.key);
473
+ M(t) ? this.handleKeyForParent(e.key) : this.handleKeyForLeaf(e.key);
474
474
  }
475
475
  };
476
- let e = N._idCounter++;
476
+ let e = F._idCounter++;
477
477
  this._tooltipId = `vsn-side-menu-item-tooltip-${e}`, this._childListId = `vsn-side-menu-item-list-${e}`;
478
478
  }
479
479
  focusSelf() {
@@ -481,10 +481,10 @@ var N, P = class extends e {
481
481
  }
482
482
  willUpdate(e) {
483
483
  let t = this.tree;
484
- t !== void 0 && e.has("_currentActiveId") && (this._isActive = this._currentActiveId === t.id, j(t) && (this._isExpanded = this.isActiveNode(t) !== null));
484
+ t !== void 0 && e.has("_currentActiveId") && (this._isActive = this._currentActiveId === t.id, M(t) && (this._isExpanded = this.isActiveNode(t) !== null));
485
485
  }
486
486
  render() {
487
- let e = this.tree !== void 0 && j(this.tree), t = this.tree && j(this.tree) ? this.tree.items : [];
487
+ let e = this.tree !== void 0 && M(this.tree), t = this.tree && M(this.tree) ? this.tree.items : [];
488
488
  return n`
489
489
  ${this.menuItemMarkup()}
490
490
  ${e ? n`
@@ -494,7 +494,7 @@ var N, P = class extends e {
494
494
  `;
495
495
  }
496
496
  menuItemMarkup() {
497
- let e = this.tree !== void 0 && j(this.tree), t = this.tree?.["data-qa-id"], r = {
497
+ let e = this.tree !== void 0 && M(this.tree), t = this.tree?.["data-qa-id"], r = {
498
498
  "ga-side-navigation__item": !0,
499
499
  [`ga-side-navigation__item--level-${this.level}`]: this.level > 1,
500
500
  "ga-side-navigation__item--expanded": this._isExpanded,
@@ -505,7 +505,7 @@ var N, P = class extends e {
505
505
  <div class="ga-tooltip ga-tooltip--right-center w-34 max-w-135">${this.tree?.label}</div>
506
506
  </div>
507
507
  <span class="ga-side-navigation__item-icon">
508
- ${e ? this._isExpanded ? O(k, 16) : O(tt, 16) : ""}
508
+ ${e ? this._isExpanded ? k(A, 16) : k(et, 16) : ""}
509
509
  </span>
510
510
  <div class="ga-side-navigation__item-content">
511
511
  <div class="ga-side-navigation__item-label">${this.tree?.label}</div>
@@ -517,7 +517,7 @@ var N, P = class extends e {
517
517
  @mouseleave=${this._onItemMouseLeave} @keydown=${this._onKeyDown}>${i}
518
518
  </button>` : n`<a class="${d(r)}" aria-describedby="${this._tooltipId}"
519
519
  aria-current=${f(this._isActive ? "page" : void 0)}
520
- href="${this.tree && A(this.tree) ? this.tree.url : ""}" data-qa-id="${f(t)}"
520
+ href="${this.tree && j(this.tree) ? this.tree.url : ""}" data-qa-id="${f(t)}"
521
521
  @click=${this._handleItemClick} @mouseenter=${this._onItemMouseEnter}
522
522
  @mouseleave=${this._onItemMouseLeave} @keydown=${this._onKeyDown}>${i}</a>`;
523
523
  }
@@ -553,7 +553,7 @@ var N, P = class extends e {
553
553
  }
554
554
  isActiveNode(e) {
555
555
  if (e.id === this._currentActiveId) return e;
556
- if (j(e)) for (let t of e.items) {
556
+ if (M(e)) for (let t of e.items) {
557
557
  let e = this.isActiveNode(t);
558
558
  if (e) return e;
559
559
  }
@@ -562,11 +562,11 @@ var N, P = class extends e {
562
562
  _handleItemClick(e) {
563
563
  let t = this.tree;
564
564
  if (t !== void 0) {
565
- if (j(t)) {
565
+ if (M(t)) {
566
566
  this._isExpanded = !this._isExpanded, e.preventDefault(), e.stopPropagation();
567
567
  return;
568
568
  }
569
- e.button !== 0 || T(e) || (e.preventDefault(), e.stopPropagation(), (!this._isActive || this.hasPageTitle) && this.dispatchEvent(new CustomEvent("vsn-menu-item-changed", {
569
+ e.button !== 0 || E(e) || (e.preventDefault(), e.stopPropagation(), (!this._isActive || this.hasPageTitle) && this.dispatchEvent(new CustomEvent("vsn-menu-item-changed", {
570
570
  bubbles: !0,
571
571
  composed: !0,
572
572
  detail: t
@@ -574,13 +574,13 @@ var N, P = class extends e {
574
574
  }
575
575
  }
576
576
  };
577
- M([s({ attribute: !1 })], P.prototype, "tree", void 0), M([s({ type: Number })], P.prototype, "level", void 0), M([lt({
578
- context: dt,
577
+ P([s({ attribute: !1 })], I.prototype, "tree", void 0), P([s({ type: Number })], I.prototype, "level", void 0), P([ct({
578
+ context: lt,
579
579
  subscribe: !0
580
- }), l()], P.prototype, "_currentActiveId", void 0), M([l()], P.prototype, "_isActive", void 0), M([l()], P.prototype, "_isExpanded", void 0), M([l()], P.prototype, "_showTooltip", void 0), M([l()], P.prototype, "_tooltipPos", void 0), M([c(".ga-side-navigation__item-label")], P.prototype, "_labelEl", void 0), M([lt({ context: ft })], P.prototype, "_focusManager", void 0), M([s({ type: Boolean })], P.prototype, "hasPageTitle", void 0), P = N = M([o("vsn-menu-item")], P);
580
+ }), l()], I.prototype, "_currentActiveId", void 0), P([l()], I.prototype, "_isActive", void 0), P([l()], I.prototype, "_isExpanded", void 0), P([l()], I.prototype, "_showTooltip", void 0), P([l()], I.prototype, "_tooltipPos", void 0), P([c(".ga-side-navigation__item-label")], I.prototype, "_labelEl", void 0), P([ct({ context: ut })], I.prototype, "_focusManager", void 0), P([s({ type: Boolean })], I.prototype, "hasPageTitle", void 0), I = F = P([o("vsn-menu-item")], I);
581
581
  //#endregion
582
582
  //#region src/components/vsn-side-bar/vsn-menu/vsn-menu.ts
583
- var F = class extends e {
583
+ var L = class extends e {
584
584
  constructor(...e) {
585
585
  super(...e), this.items = [], this._currentActiveId = "", this.currentItem = "", this.hasPageTitle = !1, this._focusManager = {
586
586
  focusPrev: (e) => {
@@ -618,15 +618,15 @@ var F = class extends e {
618
618
  <vsn-menu-item .tree=${e} .hasPageTitle=${this.hasPageTitle}></vsn-menu-item>`;
619
619
  }
620
620
  };
621
- M([s({ attribute: !1 })], F.prototype, "items", void 0), M([ct({ context: dt }), l()], F.prototype, "_currentActiveId", void 0), M([s()], F.prototype, "currentItem", void 0), M([s({ type: Boolean })], F.prototype, "hasPageTitle", void 0), M([ct({ context: ft })], F.prototype, "_focusManager", void 0), F = M([y(), o("vsn-menu")], F);
621
+ P([s({ attribute: !1 })], L.prototype, "items", void 0), P([st({ context: lt }), l()], L.prototype, "_currentActiveId", void 0), P([s()], L.prototype, "currentItem", void 0), P([s({ type: Boolean })], L.prototype, "hasPageTitle", void 0), P([st({ context: ut })], L.prototype, "_focusManager", void 0), L = P([y(), o("vsn-menu")], L);
622
622
  //#endregion
623
623
  //#region src/components/vsn-side-bar/vsn-menu/vsn-menu-button.ts
624
- var I = class extends e {
624
+ var R = class extends e {
625
625
  constructor(...e) {
626
626
  super(...e), this.label = "", this.closeOnClick = !1, this._onKeydown = (e) => {
627
- e.defaultPrevented || E(e) && (e.key === "Enter" || e.key === " ") && (e.preventDefault(), e.stopPropagation(), e.stopImmediatePropagation(), this.click());
627
+ e.defaultPrevented || D(e) && (e.key === "Enter" || e.key === " ") && (e.preventDefault(), e.stopPropagation(), e.stopImmediatePropagation(), this.click());
628
628
  }, this._onClick = (e) => {
629
- e.defaultPrevented || e.button !== 0 || T(e) || this.closeOnClick && this.dispatchEvent(new CustomEvent("vsn-side-bar-close", {
629
+ e.defaultPrevented || e.button !== 0 || E(e) || this.closeOnClick && this.dispatchEvent(new CustomEvent("vsn-side-bar-close", {
630
630
  bubbles: !0,
631
631
  composed: !0
632
632
  }));
@@ -735,13 +735,13 @@ var I = class extends e {
735
735
  `;
736
736
  }
737
737
  };
738
- M([s()], I.prototype, "label", void 0), M([s({
738
+ P([s()], R.prototype, "label", void 0), P([s({
739
739
  type: Boolean,
740
740
  attribute: "close-on-click"
741
- })], I.prototype, "closeOnClick", void 0), I = M([o("vsn-menu-button")], I);
741
+ })], R.prototype, "closeOnClick", void 0), R = P([o("vsn-menu-button")], R);
742
742
  //#endregion
743
743
  //#region src/components/vsn-side-bar/vsn-menu/vsn-menu-separator.ts
744
- var pt = class extends e {
744
+ var dt = class extends e {
745
745
  static {
746
746
  this.styles = [t`
747
747
  /* flow-root establishes a BFC so the .line's margins stay contained.
@@ -765,15 +765,15 @@ var pt = class extends e {
765
765
  return n`<div class="line"></div>`;
766
766
  }
767
767
  };
768
- pt = M([o("vsn-menu-separator")], pt);
768
+ dt = P([o("vsn-menu-separator")], dt);
769
769
  //#endregion
770
770
  //#region src/components/vsn-side-bar/vsn-footer/vsn-footer.keyboard.ts
771
- var mt = class {
771
+ var ft = class {
772
772
  constructor(e) {
773
773
  this._prevExpanded = !1, this.onUserKeydown = (e) => {
774
- e.defaultPrevented || T(e) || e.key === "Escape" && this.host.expanded && (e.preventDefault(), this.host.expanded = !1);
774
+ e.defaultPrevented || E(e) || e.key === "Escape" && this.host.expanded && (e.preventDefault(), this.host.expanded = !1);
775
775
  }, this.onDropdownKeydown = (e) => {
776
- if (e.defaultPrevented || T(e) || e.key !== "ArrowDown" && e.key !== "ArrowUp") return;
776
+ if (e.defaultPrevented || E(e) || e.key !== "ArrowDown" && e.key !== "ArrowUp") return;
777
777
  e.preventDefault();
778
778
  let t = this.host.querySelector(".ga-side-navigation__footer-dropdown");
779
779
  if (!t) return;
@@ -792,7 +792,7 @@ var mt = class {
792
792
  } else !this.host.expanded && this._prevExpanded && this.host.querySelector(".ga-side-navigation__user")?.focus();
793
793
  this._prevExpanded = this.host.expanded;
794
794
  }
795
- }, ht = class {
795
+ }, pt = class {
796
796
  constructor(e, t, n) {
797
797
  this._onPointerDown = (e) => {
798
798
  let t = e.composedPath();
@@ -809,18 +809,18 @@ var mt = class {
809
809
  hostDisconnected() {
810
810
  document.removeEventListener("pointerdown", this._onPointerDown, !0);
811
811
  }
812
- }, gt = "initials";
813
- function _t(e, t, n, r) {
812
+ }, mt = "initials";
813
+ function ht(e, t, n, r) {
814
814
  if (!t) return;
815
815
  let i = new URLSearchParams({
816
- type: gt,
816
+ type: mt,
817
817
  size: r
818
818
  });
819
819
  return n && i.set("client_id", n), `${e}${t}?${i}`;
820
820
  }
821
821
  //#endregion
822
822
  //#region src/components/controllers/focus-trapping-controller.ts
823
- var L = class {
823
+ var z = class {
824
824
  constructor(e, t, n = void 0) {
825
825
  this._rootElement = null, this._onKeyDown = (e) => {
826
826
  if (e.defaultPrevented || e.key !== "Tab" || e.ctrlKey || e.altKey || e.metaKey || !this._appliesCallback() || this._rootElement == null) return;
@@ -839,31 +839,31 @@ var L = class {
839
839
  hostUpdated() {
840
840
  this._rootElement == null && this._rootSelector && (this._rootElement = this._host.renderRoot.querySelector(this._rootSelector), this._rootElement != null && this._rootElement.addEventListener("keydown", this._onKeyDown));
841
841
  }
842
- }, vt = {
843
- profile: qe,
844
- logout: Je
845
- }, yt = () => ({
842
+ }, gt = {
843
+ profile: Ke,
844
+ logout: qe
845
+ }, _t = () => ({
846
846
  profile: v("My profile"),
847
847
  logout: v("Log out")
848
- }), R = class extends e {
848
+ }), B = class extends e {
849
849
  createRenderRoot() {
850
850
  return this;
851
851
  }
852
852
  get _items() {
853
853
  return [{
854
854
  id: "profile",
855
- label: yt().profile,
855
+ label: _t().profile,
856
856
  url: this.myProfileUrl
857
857
  }, {
858
858
  id: "logout",
859
- label: yt().logout,
859
+ label: _t().logout,
860
860
  url: "/logout"
861
861
  }];
862
862
  }
863
863
  constructor() {
864
- super(), this.expanded = !1, this._avatarFailed = !1, this._keyboard = new mt(this), new ht(this, [".ga-side-navigation__footer-dropdown", ".ga-side-navigation__user"], () => {
864
+ super(), this.expanded = !1, this._avatarFailed = !1, this._keyboard = new ft(this), new pt(this, [".ga-side-navigation__footer-dropdown", ".ga-side-navigation__user"], () => {
865
865
  this.expanded = !1;
866
- }), new L(this, () => this.expanded);
866
+ }), new z(this, () => this.expanded);
867
867
  }
868
868
  willUpdate(e) {
869
869
  (e.has("user") || e.has("profilePictureBaseUrl")) && (this._avatarFailed = !1);
@@ -879,8 +879,8 @@ var L = class {
879
879
 
880
880
  <button
881
881
  type="button"
882
+ aria-label=${v(_`User menu, ${this.user.userName}`)}
882
883
  aria-expanded="${this.expanded}"
883
- aria-haspopup="menu"
884
884
  class="ga-side-navigation__user
885
885
  ${this.expanded ? "ga-side-navigation__user--active" : ""}"
886
886
  @click=${this._toggle}>
@@ -897,7 +897,7 @@ var L = class {
897
897
  </div>
898
898
 
899
899
  <span class="ga-side-navigation__user-action">
900
- ${this.expanded ? O(Ze, 16) : O(Xe, 16)}
900
+ ${this.expanded ? k(Xe, 16) : k(Ye, 16)}
901
901
  </span>
902
902
 
903
903
  </button>
@@ -906,19 +906,22 @@ var L = class {
906
906
  }
907
907
  renderDropdown() {
908
908
  return n`
909
- <div class="ga-side-navigation__footer-dropdown" @keydown=${this._keyboard.onDropdownKeydown}>
909
+ <div class="ga-side-navigation__footer-dropdown"
910
+ role="group"
911
+ aria-label=${v("User menu")}
912
+ @keydown=${this._keyboard.onDropdownKeydown}>
910
913
 
911
914
  ${this._items.map((e) => {
912
915
  let t = n`
913
916
  <span class="ga-side-navigation__footer-dropdown-icon">
914
- ${O(vt[e.id], 16)}
917
+ ${k(gt[e.id], 16)}
915
918
  </span>
916
919
  <span class="ga-side-navigation__footer-dropdown-title">
917
920
  ${e.label}
918
921
  </span>
919
922
  ${e.external ? n`
920
923
  <span class="ga-side-navigation__footer-dropdown-trail">
921
- ${O(Ye, 16)}
924
+ ${k(Je, 16)}
922
925
  </span>
923
926
  ` : r}
924
927
  `;
@@ -958,7 +961,7 @@ var L = class {
958
961
  }));
959
962
  }
960
963
  renderAvatar() {
961
- let e = _t(this.profilePictureBaseUrl, this.user.userId, this.user.clientId, "small");
964
+ let e = ht(this.profilePictureBaseUrl, this.user.userId, this.user.clientId, "small");
962
965
  return e && !this._avatarFailed ? n`<img
963
966
  class="ga-side-navigation__user-avatar"
964
967
  src=${e}
@@ -966,48 +969,54 @@ var L = class {
966
969
  @error=${() => {
967
970
  this._avatarFailed = !0;
968
971
  }}/>` : n`<span class="ga-side-navigation__user-avatar vsn-side-navigation__user-avatar--icon">
969
- ${O(qe, 24)}
972
+ ${k(Ke, 24)}
970
973
  </span>`;
971
974
  }
972
975
  };
973
- M([s({ attribute: !1 })], R.prototype, "user", void 0), M([s()], R.prototype, "profilePictureBaseUrl", void 0), M([s()], R.prototype, "myProfileUrl", void 0), M([s({
976
+ P([s({ attribute: !1 })], B.prototype, "user", void 0), P([s()], B.prototype, "profilePictureBaseUrl", void 0), P([s()], B.prototype, "myProfileUrl", void 0), P([s({
974
977
  type: Boolean,
975
978
  reflect: !0
976
- })], R.prototype, "expanded", void 0), M([l()], R.prototype, "_avatarFailed", void 0), R = M([y(), o("vsn-footer")], R);
979
+ })], B.prototype, "expanded", void 0), P([l()], B.prototype, "_avatarFailed", void 0), B = P([y(), o("vsn-footer")], B);
977
980
  //#endregion
978
981
  //#region src/components/vsn-side-bar/vsn-header/vsn-header.keyboard.ts
979
- var bt = class {
982
+ var vt = class {
980
983
  constructor(e) {
981
984
  this.onSwitcherKeydown = (e) => {
982
- e.defaultPrevented || T(e) || this.host.expanded && e.key === "Escape" && this.host.requestClose() && e.preventDefault();
985
+ e.defaultPrevented || E(e) || this.host.expanded && e.key === "Escape" && this.host.requestClose() && e.preventDefault();
983
986
  }, this.host = e, e.addController(this);
984
987
  }
985
988
  hostConnected() {}
986
- }, z = class extends e {
987
- constructor(...e) {
988
- super(...e), this.items = [], this.loading = !1, this.maxHeight = 0, this._handleKeydown = (e) => {
989
+ }, yt, V = class extends e {
990
+ static {
991
+ yt = this;
992
+ }
993
+ createRenderRoot() {
994
+ return this;
995
+ }
996
+ static {
997
+ this._idCounter = 0;
998
+ }
999
+ constructor() {
1000
+ super(), this.items = [], this.loading = !1, this.maxHeight = 0, this._handleKeydown = (e) => {
989
1001
  if (e.defaultPrevented) return;
990
- if (E(e) && (e.key === "Enter" || e.key === " ")) {
1002
+ if (D(e) && (e.key === "Enter" || e.key === " ")) {
991
1003
  let t = e.target;
992
1004
  t instanceof HTMLElement && t.classList.contains("ga-side-navigation__switcher-dropdown-item") && (e.preventDefault(), t.click());
993
1005
  return;
994
1006
  }
995
- if (T(e) || e.key !== "ArrowDown" && e.key !== "ArrowUp") return;
1007
+ if (E(e) || e.key !== "ArrowDown" && e.key !== "ArrowUp") return;
996
1008
  e.preventDefault();
997
1009
  let t = Array.from(this.querySelectorAll(".ga-side-navigation__switcher-dropdown-item"));
998
1010
  if (t.length === 0) return;
999
1011
  let n = this.getRootNode().activeElement, r = n instanceof HTMLElement ? t.indexOf(n) : -1, i = null;
1000
1012
  e.key === "ArrowUp" && r > 0 ? i = t[r - 1] : e.key === "ArrowDown" && r < t.length - 1 && (i = t[r + 1]), i?.focus();
1001
- };
1002
- }
1003
- createRenderRoot() {
1004
- return this;
1013
+ }, this._headerId = `vsn-switcher-dropdown-header-${yt._idCounter++}`;
1005
1014
  }
1006
1015
  firstUpdated() {
1007
1016
  this.loading || this.querySelector(".ga-side-navigation__switcher-dropdown-item")?.focus();
1008
1017
  }
1009
1018
  _handleItemClick(e, t) {
1010
- T(e) || (e.preventDefault(), this.dispatchEvent(new CustomEvent("item-select", {
1019
+ E(e) || (e.preventDefault(), this.dispatchEvent(new CustomEvent("item-select", {
1011
1020
  detail: { id: t },
1012
1021
  bubbles: !0,
1013
1022
  composed: !0
@@ -1022,28 +1031,26 @@ var bt = class {
1022
1031
  <span class="vsn-spinner"></span>
1023
1032
  </div>
1024
1033
  ` : n`
1025
- <div class="ga-side-navigation__switcher-dropdown ga-scroll"
1026
- role="menu"
1034
+ <nav class="ga-side-navigation__switcher-dropdown ga-scroll"
1027
1035
  style=${`max-height: ${Math.max(0, this.maxHeight)}px`}
1028
- aria-label=${ke()}
1036
+ aria-labelledby=${this._headerId}
1029
1037
  @keydown=${this._handleKeydown}>
1030
- <span class="ga-side-navigation__switcher-dropdown-header">${ke()}</span>
1038
+ <span id=${this._headerId} class="ga-side-navigation__switcher-dropdown-header">${Oe()}</span>
1031
1039
  ${this.items.map((e) => n`
1032
1040
  <a class="ga-side-navigation__switcher-dropdown-item"
1033
1041
  href=${e.url ?? ""}
1034
- role="menuitem"
1035
1042
  @click=${(t) => this._handleItemClick(t, e.id)}>
1036
1043
  <span class="ga-side-navigation__switcher-dropdown-title">${e.label}</span>
1037
1044
  </a>
1038
1045
  `)}
1039
- </div>
1046
+ </nav>
1040
1047
  `;
1041
1048
  }
1042
1049
  };
1043
- M([s({ attribute: !1 })], z.prototype, "items", void 0), M([s({ type: Boolean })], z.prototype, "loading", void 0), M([s({ attribute: !1 })], z.prototype, "maxHeight", void 0), z = M([y(), o("vsn-switcher-menu")], z);
1050
+ P([s({ attribute: !1 })], V.prototype, "items", void 0), P([s({ type: Boolean })], V.prototype, "loading", void 0), P([s({ attribute: !1 })], V.prototype, "maxHeight", void 0), V = yt = P([y(), o("vsn-switcher-menu")], V);
1044
1051
  //#endregion
1045
1052
  //#region src/components/vsn-side-bar/vsn-search/vsn-search.ts
1046
- var B = class extends e {
1053
+ var H = class extends e {
1047
1054
  constructor(...e) {
1048
1055
  super(...e), this.shortcut = "", this.value = "", this.loading = !1, this._scheduleAutoSearch = () => {
1049
1056
  this._cancelDebounce(), this._debounceTimer = window.setTimeout(this._emitSearch, 200);
@@ -1061,7 +1068,7 @@ var B = class extends e {
1061
1068
  composed: !0
1062
1069
  }));
1063
1070
  }, this._handleEscape = (e) => {
1064
- e.defaultPrevented || E(e) && e.key === "Escape" && this.value.length > 0 && (e.preventDefault(), this._emitSearchCleared());
1071
+ e.defaultPrevented || D(e) && e.key === "Escape" && this.value.length > 0 && (e.preventDefault(), this._emitSearchCleared());
1065
1072
  };
1066
1073
  }
1067
1074
  createRenderRoot() {
@@ -1077,17 +1084,17 @@ var B = class extends e {
1077
1084
  aria-label=${v("Search")}
1078
1085
  ?disabled=${!this._canSearch}
1079
1086
  @click=${this._emitSearch}>
1080
- ${O(Qe, 24)}
1087
+ ${k(Ze, 24)}
1081
1088
  </button>
1082
1089
  <input type="search"
1083
- .placeholder=${Ae()}
1090
+ .placeholder=${ke()}
1084
1091
  .value=${this.value}
1085
1092
  @input=${this._handleInput}
1086
1093
  @keydown=${this._handleEnter}/>
1087
1094
  ${this._trailingSlot()}
1088
1095
  </div>
1089
1096
  ${p(e, () => n`
1090
- <div class="vsn-search__helper">${Me(3)}</div>`)}
1097
+ <div class="vsn-search__helper">${je(3)}</div>`)}
1091
1098
  `;
1092
1099
  }
1093
1100
  focus() {
@@ -1109,7 +1116,7 @@ var B = class extends e {
1109
1116
  this._cancelDebounce(), super.disconnectedCallback();
1110
1117
  }
1111
1118
  _handleEnter(e) {
1112
- e.defaultPrevented || E(e) && e.key === "Enter" && this._emitSearch();
1119
+ e.defaultPrevented || D(e) && e.key === "Enter" && this._emitSearch();
1113
1120
  }
1114
1121
  _trailingSlot() {
1115
1122
  let e = this.loading, t = this.value.length > 0, i = !this.loading && this.value.length === 0 && this.shortcut.length > 0;
@@ -1126,7 +1133,7 @@ var B = class extends e {
1126
1133
  return n`
1127
1134
  <button class="vsn-search__clear" aria-label=${v("Clear search")}
1128
1135
  @click=${this._emitSearchCleared}>
1129
- ${O($e, 16)}
1136
+ ${k(Qe, 16)}
1130
1137
  </button>
1131
1138
  `;
1132
1139
  }
@@ -1134,17 +1141,17 @@ var B = class extends e {
1134
1141
  return n`<kbd class="ga-side-navigation__search-shortcut">${this.shortcut}</kbd>`;
1135
1142
  }
1136
1143
  };
1137
- M([s()], B.prototype, "shortcut", void 0), M([s()], B.prototype, "value", void 0), M([s({ type: Boolean })], B.prototype, "loading", void 0), B = M([y(), o("vsn-search")], B);
1144
+ P([s()], H.prototype, "shortcut", void 0), P([s()], H.prototype, "value", void 0), P([s({ type: Boolean })], H.prototype, "loading", void 0), H = P([y(), o("vsn-search")], H);
1138
1145
  //#endregion
1139
1146
  //#region src/components/vsn-side-bar/vsn-header/vsn-header.ts
1140
- var V = class extends e {
1147
+ var U = class extends e {
1141
1148
  createRenderRoot() {
1142
1149
  return this;
1143
1150
  }
1144
1151
  constructor() {
1145
- super(), this.modules = [], this.modulesLoading = !1, this.hasMenu = !1, this.moduleSwitcherMaxHeight = 0, this.searchValue = "", this.searchLoading = !1, this.expanded = !1, this._keyboard = new bt(this), new ht(this, [".ga-side-navigation__switcher-dropdown", ".ga-side-navigation__switcher"], () => {
1152
+ super(), this.modules = [], this.modulesLoading = !1, this.hasMenu = !1, this.moduleSwitcherMaxHeight = 0, this.searchValue = "", this.searchLoading = !1, this.expanded = !1, this._keyboard = new vt(this), new pt(this, [".ga-side-navigation__switcher-dropdown", ".ga-side-navigation__switcher"], () => {
1146
1153
  this.canClose && (this.expanded = !1);
1147
- }), new L(this, () => this.expanded, ".vsn-switcher-anchor");
1154
+ }), new z(this, () => this.expanded, ".vsn-switcher-anchor");
1148
1155
  }
1149
1156
  focus() {
1150
1157
  let e = this.querySelector("vsn-search");
@@ -1161,13 +1168,13 @@ var V = class extends e {
1161
1168
  <div class="vsn-switcher-anchor"
1162
1169
  @keydown=${this._keyboard.onSwitcherKeydown}>
1163
1170
  <button type="button" class="ga-side-navigation__switcher ${this.expanded ? "ga-side-navigation__switcher--active" : ""}"
1171
+ aria-label=${v(_`Service menu, ${e.title}`)}
1164
1172
  aria-expanded="${this.expanded}"
1165
- aria-haspopup="menu"
1166
1173
  @click=${this._toggle}
1167
1174
  title="">
1168
1175
  <span class="ga-side-navigation__switcher-title">${e.title}</span>
1169
1176
  <span class="ga-side-navigation__switcher-action">
1170
- ${this.canClose ? this.expanded ? O(k, 16) : O(Xe, 16) : O(ze, 16)}
1177
+ ${this.canClose ? this.expanded ? k(A, 16) : k(Ye, 16) : k(Re, 16)}
1171
1178
  </span>
1172
1179
  </button>
1173
1180
 
@@ -1182,7 +1189,7 @@ var V = class extends e {
1182
1189
 
1183
1190
  ${p(this.search?.enabled, () => n`
1184
1191
  <vsn-search
1185
- .shortcut=${je()}
1192
+ .shortcut=${Ae()}
1186
1193
  .value=${this.searchValue}
1187
1194
  .loading=${this.searchLoading}>
1188
1195
  </vsn-search>`)}
@@ -1192,7 +1199,7 @@ var V = class extends e {
1192
1199
  get _state() {
1193
1200
  if (this.modulesLoading) return {
1194
1201
  kind: "loading",
1195
- title: this.activeModuleLabel || Fe()
1202
+ title: this.activeModuleLabel || Pe()
1196
1203
  };
1197
1204
  let e = this.modules.find((e) => e.id === this.activeModuleId);
1198
1205
  return e ? {
@@ -1201,7 +1208,7 @@ var V = class extends e {
1201
1208
  available: this.modules.filter((t) => t.id !== e.id)
1202
1209
  } : {
1203
1210
  kind: "no-active",
1204
- title: Fe(),
1211
+ title: Pe(),
1205
1212
  available: this.modules
1206
1213
  };
1207
1214
  }
@@ -1239,16 +1246,16 @@ var V = class extends e {
1239
1246
  }), !0);
1240
1247
  }
1241
1248
  };
1242
- M([s({ attribute: !1 })], V.prototype, "modules", void 0), M([s()], V.prototype, "activeModuleId", void 0), M([s()], V.prototype, "activeModuleLabel", void 0), M([s({ type: Boolean })], V.prototype, "modulesLoading", void 0), M([s({ type: Boolean })], V.prototype, "hasMenu", void 0), M([s({ attribute: !1 })], V.prototype, "moduleSwitcherMaxHeight", void 0), M([s({ attribute: !1 })], V.prototype, "search", void 0), M([s()], V.prototype, "searchValue", void 0), M([s({ type: Boolean })], V.prototype, "searchLoading", void 0), M([s({
1249
+ P([s({ attribute: !1 })], U.prototype, "modules", void 0), P([s()], U.prototype, "activeModuleId", void 0), P([s()], U.prototype, "activeModuleLabel", void 0), P([s({ type: Boolean })], U.prototype, "modulesLoading", void 0), P([s({ type: Boolean })], U.prototype, "hasMenu", void 0), P([s({ attribute: !1 })], U.prototype, "moduleSwitcherMaxHeight", void 0), P([s({ attribute: !1 })], U.prototype, "search", void 0), P([s()], U.prototype, "searchValue", void 0), P([s({ type: Boolean })], U.prototype, "searchLoading", void 0), P([s({
1243
1250
  type: Boolean,
1244
1251
  reflect: !0
1245
- })], V.prototype, "expanded", void 0), V = M([y(), o("vsn-header")], V);
1252
+ })], U.prototype, "expanded", void 0), U = P([y(), o("vsn-header")], U);
1246
1253
  //#endregion
1247
1254
  //#region src/components/vsn-side-bar/vsn-search-results/vsn-search-results.keyboard.ts
1248
- var xt = class {
1255
+ var bt = class {
1249
1256
  constructor(e) {
1250
1257
  this.onResultsKeydown = (e) => {
1251
- if (e.defaultPrevented || T(e) || e.key !== "ArrowDown" && e.key !== "ArrowUp") return;
1258
+ if (e.defaultPrevented || E(e) || e.key !== "ArrowDown" && e.key !== "ArrowUp") return;
1252
1259
  e.preventDefault();
1253
1260
  let t = Array.from(this.host.querySelectorAll(".ga-side-navigation__search-results-item"));
1254
1261
  if (t.length === 0) return;
@@ -1259,9 +1266,9 @@ var xt = class {
1259
1266
  }, this.host = e, e.addController(this);
1260
1267
  }
1261
1268
  hostConnected() {}
1262
- }, St, H = class extends e {
1269
+ }, xt, W = class extends e {
1263
1270
  static {
1264
- St = this;
1271
+ xt = this;
1265
1272
  }
1266
1273
  createRenderRoot() {
1267
1274
  return this;
@@ -1283,7 +1290,7 @@ var xt = class {
1283
1290
  }
1284
1291
  }, this._onItemMouseLeave = () => {
1285
1292
  this._showTooltip = !1;
1286
- }, this._tooltipId = `vsn-search-result-item-tooltip-${St._idCounter++}`;
1293
+ }, this._tooltipId = `vsn-search-result-item-tooltip-${xt._idCounter++}`;
1287
1294
  }
1288
1295
  render() {
1289
1296
  let e = this.item;
@@ -1317,12 +1324,12 @@ var xt = class {
1317
1324
  }));
1318
1325
  }
1319
1326
  };
1320
- M([s({ attribute: !1 })], H.prototype, "item", void 0), M([l()], H.prototype, "_showTooltip", void 0), M([l()], H.prototype, "_tooltipPos", void 0), M([c(".ga-side-navigation__search-results-item-label")], H.prototype, "_labelEl", void 0), H = St = M([o("vsn-search-result-item")], H);
1327
+ P([s({ attribute: !1 })], W.prototype, "item", void 0), P([l()], W.prototype, "_showTooltip", void 0), P([l()], W.prototype, "_tooltipPos", void 0), P([c(".ga-side-navigation__search-results-item-label")], W.prototype, "_labelEl", void 0), W = xt = P([o("vsn-search-result-item")], W);
1321
1328
  //#endregion
1322
1329
  //#region src/components/vsn-side-bar/vsn-search-results/vsn-search-results.ts
1323
- var U = class extends e {
1330
+ var G = class extends e {
1324
1331
  constructor(...e) {
1325
- super(...e), this.loadingMore = !1, this._keyboard = new xt(this);
1332
+ super(...e), this.loadingMore = !1, this._keyboard = new bt(this);
1326
1333
  }
1327
1334
  createRenderRoot() {
1328
1335
  return this;
@@ -1364,7 +1371,7 @@ var U = class extends e {
1364
1371
  class="vsn-search-results__load-more"
1365
1372
  ?disabled=${this.loadingMore}
1366
1373
  @click=${this._onLoadMore}>
1367
- ${Pe()}
1374
+ ${Ne()}
1368
1375
  </button>
1369
1376
  `)}
1370
1377
  </div>
@@ -1377,16 +1384,16 @@ var U = class extends e {
1377
1384
  }));
1378
1385
  }
1379
1386
  };
1380
- M([s({ attribute: !1 })], U.prototype, "results", void 0), M([s()], U.prototype, "errorMessage", void 0), M([s()], U.prototype, "nextCursor", void 0), M([s({ type: Boolean })], U.prototype, "loadingMore", void 0), U = M([y(), o("vsn-search-results")], U);
1387
+ P([s({ attribute: !1 })], G.prototype, "results", void 0), P([s()], G.prototype, "errorMessage", void 0), P([s()], G.prototype, "nextCursor", void 0), P([s({ type: Boolean })], G.prototype, "loadingMore", void 0), G = P([y(), o("vsn-search-results")], G);
1381
1388
  //#endregion
1382
1389
  //#region src/components/vsn-side-bar/vsn-template/vsn-template.ts
1383
- var Ct = [
1390
+ var St = [
1384
1391
  160,
1385
1392
  96,
1386
1393
  144,
1387
1394
  192,
1388
1395
  160
1389
- ], wt = class extends e {
1396
+ ], Ct = class extends e {
1390
1397
  createRenderRoot() {
1391
1398
  return this;
1392
1399
  }
@@ -1396,7 +1403,7 @@ var Ct = [
1396
1403
  role="status"
1397
1404
  aria-busy="true"
1398
1405
  aria-label=${v("Loading results")}>
1399
- ${Ct.map((e) => n`
1406
+ ${St.map((e) => n`
1400
1407
  <div class="vsn-template__row">
1401
1408
  <div class="vsn-template__bar" style="width: ${e}px"></div>
1402
1409
  </div>
@@ -1405,17 +1412,17 @@ var Ct = [
1405
1412
  `;
1406
1413
  }
1407
1414
  };
1408
- wt = M([y(), o("vsn-template")], wt);
1415
+ Ct = P([y(), o("vsn-template")], Ct);
1409
1416
  //#endregion
1410
1417
  //#region src/components/vsn-side-bar/vsn-error-state/vsn-error-state.ts
1411
- var Tt = class extends e {
1418
+ var wt = class extends e {
1412
1419
  createRenderRoot() {
1413
1420
  return this;
1414
1421
  }
1415
1422
  render() {
1416
1423
  return n`
1417
1424
  <div class="vsn-error-state" role="alert" aria-live="assertive">
1418
- <div class="vsn-error-state__icon">${O(et, 24)}</div>
1425
+ <div class="vsn-error-state__icon">${k($e, 24)}</div>
1419
1426
  <div class="vsn-error-state__title">${v("Loading error")}</div>
1420
1427
  <div class="vsn-error-state__message">${v("We're unable to load the menu.")}</div>
1421
1428
  <div class="vsn-error-state__hint">${v("Please check your internet connection and try again.")}</div>
@@ -1424,15 +1431,15 @@ var Tt = class extends e {
1424
1431
  `;
1425
1432
  }
1426
1433
  };
1427
- Tt = M([y(), o("vsn-error-state")], Tt);
1434
+ wt = P([y(), o("vsn-error-state")], wt);
1428
1435
  //#endregion
1429
1436
  //#region src/components/vsn-side-bar/vsn-search-scopes/vsn-search-scopes.ts
1430
- var Et, W = class extends e {
1437
+ var Tt, K = class extends e {
1431
1438
  static {
1432
- Et = this;
1439
+ Tt = this;
1433
1440
  }
1434
1441
  constructor(...e) {
1435
- super(...e), this.scopes = [], this.selectedScopeId = "", this._name = `vsn-search-scope-${++Et._counter}`;
1442
+ super(...e), this.scopes = [], this.selectedScopeId = "", this._name = `vsn-search-scope-${++Tt._counter}`;
1436
1443
  }
1437
1444
  createRenderRoot() {
1438
1445
  return this;
@@ -1470,16 +1477,16 @@ var Et, W = class extends e {
1470
1477
  }));
1471
1478
  }
1472
1479
  };
1473
- M([s({ attribute: !1 })], W.prototype, "scopes", void 0), M([s()], W.prototype, "selectedScopeId", void 0), W = Et = M([y(), o("vsn-search-scopes")], W);
1480
+ P([s({ attribute: !1 })], K.prototype, "scopes", void 0), P([s()], K.prototype, "selectedScopeId", void 0), K = Tt = P([y(), o("vsn-search-scopes")], K);
1474
1481
  //#endregion
1475
1482
  //#region src/shared/lang/locale-codes.ts
1476
- var Dt = "en", Ot = [
1483
+ var Et = "en", Dt = [
1477
1484
  "da",
1478
1485
  "fi",
1479
1486
  "nl",
1480
1487
  "no",
1481
1488
  "sv"
1482
- ], kt = /* @__PURE__ */ m({ templates: () => At }), At = {
1489
+ ], Ot = /* @__PURE__ */ m({ templates: () => kt }), kt = {
1483
1490
  s09a45db408570a7a: "Min profil",
1484
1491
  s119f9875b7d4cdfc: "Har du brug for hjælp? Kontakt support.",
1485
1492
  s1228605ee65ddefa: _`${0} resultat`,
@@ -1491,6 +1498,7 @@ var Dt = "en", Ot = [
1491
1498
  s3fb7db4771812f0c: "Hvis problemet fortsætter, genindlæs siden eller kontakt support.",
1492
1499
  s457d59d649765619: "Gå til hovedindhold",
1493
1500
  s4b0c6b66b4efd7d8: "Vælg en tjeneste",
1501
+ s58a1dace5a9acc5b: _`Tjenestemenu, ${0}`,
1494
1502
  s5be3c6d61cd9182f: "Notifikationer",
1495
1503
  s5d369be551a4dd7a: "Menupunkter",
1496
1504
  s5d929ff1619ac0c9: "Søg",
@@ -1498,11 +1506,13 @@ var Dt = "en", Ot = [
1498
1506
  s60fb9db2c6c14775: "Tjek din internetforbindelse og prøv igen.",
1499
1507
  s6abb1cd87fe0114e: "Hjem",
1500
1508
  s7584ded3d749c75e: "Indlæs mere",
1509
+ s82b383a30bc685e9: "Brugermenu",
1501
1510
  s842e9f4f6fdb5901: "Søgeomfang",
1502
1511
  s8a1cc2725e462c2a: "Send feedback",
1503
1512
  s8d91340b5caa2d5c: "Åbn menu",
1504
1513
  s9094c0cde8fb5058: "Ingen resultater fundet",
1505
1514
  s970de9ba0cf07677: "Søger",
1515
+ s97b95ad19ebb75a9: _`Brugermenu, ${0}`,
1506
1516
  sacde528ad7d2d031: "Vi kan ikke indlæse menuen.",
1507
1517
  sb560e5cd092ef2e5: "Indlæser resultater",
1508
1518
  sb64127e4e4f0b575: "Log ud",
@@ -1513,7 +1523,7 @@ var Dt = "en", Ot = [
1513
1523
  sfbf31f663cef6cc2: "Prøv andre søgeord eller tjek stavningen.",
1514
1524
  s7c510419ea376840: "VSN",
1515
1525
  s38385cd359b17f7a: "Loading modules"
1516
- }, jt = /* @__PURE__ */ m({ templates: () => Mt }), Mt = {
1526
+ }, At = /* @__PURE__ */ m({ templates: () => jt }), jt = {
1517
1527
  s09a45db408570a7a: "Oma profiili",
1518
1528
  s119f9875b7d4cdfc: "Tarvitsetko apua? Ota yhteyttä tukeen.",
1519
1529
  s1228605ee65ddefa: _`${0} tulos`,
@@ -1525,6 +1535,7 @@ var Dt = "en", Ot = [
1525
1535
  s3fb7db4771812f0c: "Jos ongelma jatkuu, lataa sivu uudelleen tai ota yhteyttä tukeen.",
1526
1536
  s457d59d649765619: "Siirry pääsisältöön",
1527
1537
  s4b0c6b66b4efd7d8: "Valitse palvelu",
1538
+ s58a1dace5a9acc5b: _`Palveluvalikko, ${0}`,
1528
1539
  s5be3c6d61cd9182f: "Ilmoitukset",
1529
1540
  s5d369be551a4dd7a: "Valikkokohteet",
1530
1541
  s5d929ff1619ac0c9: "Hae",
@@ -1532,11 +1543,13 @@ var Dt = "en", Ot = [
1532
1543
  s60fb9db2c6c14775: "Tarkista internetyhteytesi ja yritä uudelleen.",
1533
1544
  s6abb1cd87fe0114e: "Etusivu",
1534
1545
  s7584ded3d749c75e: "Lataa lisää",
1546
+ s82b383a30bc685e9: "Käyttäjävalikko",
1535
1547
  s842e9f4f6fdb5901: "Hakuala",
1536
1548
  s8a1cc2725e462c2a: "Lähetä palautetta",
1537
1549
  s8d91340b5caa2d5c: "Avaa valikko",
1538
1550
  s9094c0cde8fb5058: "Tuloksia ei löytynyt",
1539
1551
  s970de9ba0cf07677: "Haetaan",
1552
+ s97b95ad19ebb75a9: _`Käyttäjävalikko, ${0}`,
1540
1553
  sacde528ad7d2d031: "Valikko ei lataudu.",
1541
1554
  sb560e5cd092ef2e5: "Ladataan tuloksia",
1542
1555
  sb64127e4e4f0b575: "Kirjaudu ulos",
@@ -1547,7 +1560,7 @@ var Dt = "en", Ot = [
1547
1560
  sfbf31f663cef6cc2: "Kokeile eri hakusanoja tai tarkista kirjoitusasu.",
1548
1561
  s7c510419ea376840: "VSN",
1549
1562
  s38385cd359b17f7a: "Loading modules"
1550
- }, Nt = /* @__PURE__ */ m({ templates: () => Pt }), Pt = {
1563
+ }, Mt = /* @__PURE__ */ m({ templates: () => Nt }), Nt = {
1551
1564
  s09a45db408570a7a: "Mijn profiel",
1552
1565
  s119f9875b7d4cdfc: "Hulp nodig? Neem contact op met ondersteuning.",
1553
1566
  s1228605ee65ddefa: _`${0} resultaat`,
@@ -1559,6 +1572,7 @@ var Dt = "en", Ot = [
1559
1572
  s3fb7db4771812f0c: "Als het probleem aanhoudt, laad de pagina opnieuw of neem contact op met ondersteuning.",
1560
1573
  s457d59d649765619: "Ga naar hoofdinhoud",
1561
1574
  s4b0c6b66b4efd7d8: "Kies een service",
1575
+ s58a1dace5a9acc5b: _`Servicemenu, ${0}`,
1562
1576
  s5be3c6d61cd9182f: "Meldingen",
1563
1577
  s5d369be551a4dd7a: "Menu-items",
1564
1578
  s5d929ff1619ac0c9: "Zoeken",
@@ -1566,11 +1580,13 @@ var Dt = "en", Ot = [
1566
1580
  s60fb9db2c6c14775: "Controleer uw internetverbinding en probeer het opnieuw.",
1567
1581
  s6abb1cd87fe0114e: "Home",
1568
1582
  s7584ded3d749c75e: "Meer laden",
1583
+ s82b383a30bc685e9: "Gebruikersmenu",
1569
1584
  s842e9f4f6fdb5901: "Zoekbereik",
1570
1585
  s8a1cc2725e462c2a: "Feedback sturen",
1571
1586
  s8d91340b5caa2d5c: "Menu openen",
1572
1587
  s9094c0cde8fb5058: "Geen resultaten gevonden",
1573
1588
  s970de9ba0cf07677: "Zoeken",
1589
+ s97b95ad19ebb75a9: _`Gebruikersmenu, ${0}`,
1574
1590
  sacde528ad7d2d031: "We kunnen het menu niet laden.",
1575
1591
  sb560e5cd092ef2e5: "Resultaten laden",
1576
1592
  sb64127e4e4f0b575: "Uitloggen",
@@ -1581,7 +1597,7 @@ var Dt = "en", Ot = [
1581
1597
  sfbf31f663cef6cc2: "Probeer andere zoekwoorden of controleer de spelling.",
1582
1598
  s7c510419ea376840: "VSN",
1583
1599
  s38385cd359b17f7a: "Loading modules"
1584
- }, Ft = /* @__PURE__ */ m({ templates: () => It }), It = {
1600
+ }, Pt = /* @__PURE__ */ m({ templates: () => Ft }), Ft = {
1585
1601
  s09a45db408570a7a: "Min profil",
1586
1602
  s119f9875b7d4cdfc: "Trenger du hjelp? Kontakt støtte.",
1587
1603
  s1228605ee65ddefa: _`${0} resultat`,
@@ -1593,6 +1609,7 @@ var Dt = "en", Ot = [
1593
1609
  s3fb7db4771812f0c: "Hvis problemet vedvarer, last inn siden på nytt eller kontakt støtte.",
1594
1610
  s457d59d649765619: "Hopp til hovedinnhold",
1595
1611
  s4b0c6b66b4efd7d8: "Velg en tjeneste",
1612
+ s58a1dace5a9acc5b: _`Tjenestemeny, ${0}`,
1596
1613
  s5be3c6d61cd9182f: "Varsler",
1597
1614
  s5d369be551a4dd7a: "Menyelementer",
1598
1615
  s5d929ff1619ac0c9: "Søk",
@@ -1600,11 +1617,13 @@ var Dt = "en", Ot = [
1600
1617
  s60fb9db2c6c14775: "Sjekk internettforbindelsen din og prøv igjen.",
1601
1618
  s6abb1cd87fe0114e: "Hjem",
1602
1619
  s7584ded3d749c75e: "Last inn mer",
1620
+ s82b383a30bc685e9: "Brukermeny",
1603
1621
  s842e9f4f6fdb5901: "Søkeomfang",
1604
1622
  s8a1cc2725e462c2a: "Send tilbakemelding",
1605
1623
  s8d91340b5caa2d5c: "Åpne meny",
1606
1624
  s9094c0cde8fb5058: "Ingen resultater funnet",
1607
1625
  s970de9ba0cf07677: "Søker",
1626
+ s97b95ad19ebb75a9: _`Brukermeny, ${0}`,
1608
1627
  sacde528ad7d2d031: "Vi kan ikke laste menyen.",
1609
1628
  sb560e5cd092ef2e5: "Laster resultater",
1610
1629
  sb64127e4e4f0b575: "Logg ut",
@@ -1615,7 +1634,7 @@ var Dt = "en", Ot = [
1615
1634
  sfbf31f663cef6cc2: "Prøv andre søkeord eller sjekk stavemåten.",
1616
1635
  s7c510419ea376840: "VSN",
1617
1636
  s38385cd359b17f7a: "Loading modules"
1618
- }, Lt = /* @__PURE__ */ m({ templates: () => Rt }), Rt = {
1637
+ }, It = /* @__PURE__ */ m({ templates: () => Lt }), Lt = {
1619
1638
  s09a45db408570a7a: "Min profil",
1620
1639
  s119f9875b7d4cdfc: "Behöver du hjälp? Kontakta support.",
1621
1640
  s1228605ee65ddefa: _`${0} resultat`,
@@ -1627,6 +1646,7 @@ var Dt = "en", Ot = [
1627
1646
  s3fb7db4771812f0c: "Om problemet kvarstår, ladda om sidan eller kontakta support.",
1628
1647
  s457d59d649765619: "Hoppa till huvudinnehåll",
1629
1648
  s4b0c6b66b4efd7d8: "Välj en tjänst",
1649
+ s58a1dace5a9acc5b: _`Tjänstemeny, ${0}`,
1630
1650
  s5be3c6d61cd9182f: "Aviseringar",
1631
1651
  s5d369be551a4dd7a: "Menyalternativ",
1632
1652
  s5d929ff1619ac0c9: "Sök",
@@ -1634,11 +1654,13 @@ var Dt = "en", Ot = [
1634
1654
  s60fb9db2c6c14775: "Kontrollera din internetanslutning och försök igen.",
1635
1655
  s6abb1cd87fe0114e: "Hem",
1636
1656
  s7584ded3d749c75e: "Läs in mer",
1657
+ s82b383a30bc685e9: "Användarmeny",
1637
1658
  s842e9f4f6fdb5901: "Sökområde",
1638
1659
  s8a1cc2725e462c2a: "Skicka feedback",
1639
1660
  s8d91340b5caa2d5c: "Öppna meny",
1640
1661
  s9094c0cde8fb5058: "Inga resultat hittades",
1641
1662
  s970de9ba0cf07677: "Söker",
1663
+ s97b95ad19ebb75a9: _`Användarmeny, ${0}`,
1642
1664
  sacde528ad7d2d031: "Vi kan inte ladda menyn.",
1643
1665
  sb560e5cd092ef2e5: "Laddar resultat",
1644
1666
  sb64127e4e4f0b575: "Logga ut",
@@ -1649,17 +1671,17 @@ var Dt = "en", Ot = [
1649
1671
  sfbf31f663cef6cc2: "Prova andra sökord eller kontrollera stavningen.",
1650
1672
  s7c510419ea376840: "VSN",
1651
1673
  s38385cd359b17f7a: "Loading modules"
1652
- }, zt = {
1653
- da: kt,
1654
- fi: jt,
1655
- nl: Nt,
1656
- no: Ft,
1657
- sv: Lt
1658
- }, { getLocale: Bt, setLocale: Vt } = we({
1659
- sourceLocale: Dt,
1660
- targetLocales: Ot,
1661
- loadLocale: (e) => zt[e] ? Promise.resolve(zt[e]) : Promise.reject(/* @__PURE__ */ Error(`Unknown locale: ${e}`))
1662
- }), Ht = t`
1674
+ }, Rt = {
1675
+ da: Ot,
1676
+ fi: At,
1677
+ nl: Mt,
1678
+ no: Pt,
1679
+ sv: It
1680
+ }, { getLocale: zt, setLocale: Bt } = Ce({
1681
+ sourceLocale: Et,
1682
+ targetLocales: Dt,
1683
+ loadLocale: (e) => Rt[e] ? Promise.resolve(Rt[e]) : Promise.reject(/* @__PURE__ */ Error(`Unknown locale: ${e}`))
1684
+ }), Vt = t`
1663
1685
  @layer components {
1664
1686
  vsn-footer {
1665
1687
  display: block;
@@ -1700,7 +1722,7 @@ var Dt = "en", Ot = [
1700
1722
  justify-content: center;
1701
1723
  }
1702
1724
  }
1703
- `, Ut = t`
1725
+ `, Ht = t`
1704
1726
  @layer components {
1705
1727
  .vsn-switcher-anchor {
1706
1728
  position: relative;
@@ -1714,7 +1736,7 @@ var Dt = "en", Ot = [
1714
1736
  z-index: 10;
1715
1737
  }
1716
1738
  }
1717
- `, Wt = t`
1739
+ `, Ut = t`
1718
1740
  .vsn-search__trigger,
1719
1741
  .vsn-search__clear {
1720
1742
  display: inline-flex;
@@ -1763,7 +1785,7 @@ var Dt = "en", Ot = [
1763
1785
  .ga-side-navigation__search input::placeholder {
1764
1786
  color: var(--ga-color-text-disable-selected);
1765
1787
  }
1766
- `, Gt = t`
1788
+ `, Wt = t`
1767
1789
  .vsn-search-results__empty {
1768
1790
  display: flex;
1769
1791
  flex-direction: column;
@@ -1832,7 +1854,7 @@ var Dt = "en", Ot = [
1832
1854
  cursor: not-allowed;
1833
1855
  opacity: 0.5;
1834
1856
  }
1835
- `, Kt = t`
1857
+ `, Gt = t`
1836
1858
  @layer components {
1837
1859
  vsn-search-scopes {
1838
1860
  display: block;
@@ -1853,7 +1875,7 @@ var Dt = "en", Ot = [
1853
1875
  text-overflow: ellipsis;
1854
1876
  }
1855
1877
  }
1856
- `, qt = t`
1878
+ `, Kt = t`
1857
1879
  .vsn-template__row {
1858
1880
  display: flex;
1859
1881
  flex-direction: column;
@@ -1868,7 +1890,7 @@ var Dt = "en", Ot = [
1868
1890
  background: var(--ga-color-miscellaneous-skeleton-element, #F2F3F5);
1869
1891
  flex-shrink: 0;
1870
1892
  }
1871
- `, Jt = t`
1893
+ `, qt = t`
1872
1894
  .vsn-error-state {
1873
1895
  display: flex;
1874
1896
  flex-direction: column;
@@ -1907,7 +1929,7 @@ var Dt = "en", Ot = [
1907
1929
  font-weight: 400;
1908
1930
  color: var(--ga-color-text-on-disabled);
1909
1931
  }
1910
- `, Yt = t`
1932
+ `, Jt = t`
1911
1933
  .vsn-spinner {
1912
1934
  display: inline-block;
1913
1935
  flex-shrink: 0;
@@ -1927,14 +1949,14 @@ var Dt = "en", Ot = [
1927
1949
  @keyframes vsn-spin {
1928
1950
  to { transform: rotate(360deg); }
1929
1951
  }
1930
- `, Xt = "button:not([disabled]), a[href], [tabindex]:not([tabindex=\"-1\"])", Zt = class {
1952
+ `, Yt = "button:not([disabled]), a[href], [tabindex]:not([tabindex=\"-1\"])", Xt = class {
1931
1953
  constructor(e) {
1932
1954
  this.onKeydown = (e) => {
1933
- if (e.defaultPrevented || T(e) || e.key !== "ArrowDown" && e.key !== "ArrowUp") return;
1955
+ if (e.defaultPrevented || E(e) || e.key !== "ArrowDown" && e.key !== "ArrowUp") return;
1934
1956
  let t = this.host.renderRoot.querySelector("slot[name=\"nav-footer\"]");
1935
1957
  if (!t) return;
1936
1958
  let n = [];
1937
- for (let e of t.assignedElements({ flatten: !0 })) e.matches(Xt) && n.push(e), n.push(...Array.from(e.querySelectorAll(Xt)));
1959
+ for (let e of t.assignedElements({ flatten: !0 })) e.matches(Yt) && n.push(e), n.push(...Array.from(e.querySelectorAll(Yt)));
1938
1960
  if (n.length === 0) return;
1939
1961
  let r = e.composedPath()[0];
1940
1962
  if (!(r instanceof HTMLElement)) return;
@@ -1946,12 +1968,12 @@ var Dt = "en", Ot = [
1946
1968
  }, this.host = e, e.addController(this);
1947
1969
  }
1948
1970
  hostConnected() {}
1949
- }, Qt = t`
1971
+ }, Zt = t`
1950
1972
  .ga-scroll {
1951
1973
  scrollbar-color: var(--ga-color-text-disabled) var(--ga-color-surface-page);
1952
1974
  scrollbar-width: thin;
1953
1975
  }
1954
- `, $t = t`
1976
+ `, Qt = t`
1955
1977
  @layer components {
1956
1978
  .vsn-menu__list {
1957
1979
  list-style: none;
@@ -1975,7 +1997,7 @@ var Dt = "en", Ot = [
1975
1997
  content: var(--tw-content);
1976
1998
  }
1977
1999
  }
1978
- `, en = t`
2000
+ `, $t = t`
1979
2001
  @layer base {
1980
2002
  button:where(.ga-side-navigation__item),
1981
2003
  button:where(.ga-side-navigation__switcher),
@@ -1992,21 +2014,21 @@ var Dt = "en", Ot = [
1992
2014
  color: inherit;
1993
2015
  }
1994
2016
  }
1995
- `, G = class extends e {
2017
+ `, q = class extends e {
1996
2018
  static {
1997
2019
  this.styles = [
1998
2020
  g,
2021
+ Zt,
2022
+ Ht,
1999
2023
  Qt,
2000
- Ut,
2024
+ Vt,
2001
2025
  $t,
2002
- Ht,
2003
- en,
2026
+ Ut,
2004
2027
  Wt,
2005
2028
  Gt,
2006
2029
  Kt,
2007
2030
  qt,
2008
2031
  Jt,
2009
- Yt,
2010
2032
  t`
2011
2033
  :host {
2012
2034
  position: absolute;
@@ -2031,7 +2053,7 @@ var Dt = "en", Ot = [
2031
2053
  };
2032
2054
  }
2033
2055
  constructor() {
2034
- super(), this.modules = [], this.modulesLoading = !1, this.lang = "en", this.error = !1, this.open = !1, this._searchQuery = "", this._searchLoading = !1, this._activeScopeId = D, this._searchLoadingMore = !1, this._moduleSwitcherMaxHeight = 0, this._hasPageTitle = !1, this._navFooterKeyboard = new Zt(this), this._customWidthPerLanguage = { fi: "30em" }, this._onNavigate = (e) => {
2056
+ super(), this.modules = [], this.modulesLoading = !1, this.lang = "en", this.error = !1, this.open = !1, this._searchQuery = "", this._searchLoading = !1, this._activeScopeId = O, this._searchLoadingMore = !1, this._moduleSwitcherMaxHeight = 0, this._hasPageTitle = !1, this._navFooterKeyboard = new Xt(this), this._customWidthPerLanguage = { fi: "30em" }, this._onNavigate = (e) => {
2035
2057
  this._searchQuery = "", this._searchResults = void 0, this.dispatchEvent(new CustomEvent("vsn-side-bar-close", {
2036
2058
  bubbles: !0,
2037
2059
  composed: !0
@@ -2050,24 +2072,24 @@ var Dt = "en", Ot = [
2050
2072
  this._activeScopeId = e.detail.scopeId, this._runSearch(this._searchQuery, this._activeScopeId);
2051
2073
  }, this._resizeObserver = new ResizeObserver((e) => {
2052
2074
  this._observeMenuSize(e);
2053
- }), this._resizeObserver.observe(this), new L(this, () => this.open);
2075
+ }), this._resizeObserver.observe(this), new z(this, () => this.open);
2054
2076
  }
2055
2077
  downLevelTree(e) {
2056
2078
  if (!e) return;
2057
2079
  let t = e[0];
2058
- if (!(!t || !j(t))) return t;
2080
+ if (!(!t || !M(t))) return t;
2059
2081
  }
2060
2082
  _observeMenuSize(e) {
2061
2083
  this._moduleSwitcherMaxHeight = Math.max(0, e[0].contentRect.height - 134);
2062
2084
  }
2063
2085
  willUpdate(e) {
2064
- e.has("lang") && Vt(this.lang).catch(console.error), e.has("open") && e.get("open") && !this.open && this.resetSidebarToInitialState(), e.has("menu") && (this._hasPageTitle = this.menu?.pageTitle !== void 0, e.get("menu")?.items !== this.menu?.items && this._runSearch(this._searchQuery, this._activeScopeId));
2086
+ e.has("lang") && Bt(this.lang).catch(console.error), e.has("open") && e.get("open") && !this.open && this.resetSidebarToInitialState(), e.has("menu") && (this._hasPageTitle = this.menu?.pageTitle !== void 0, e.get("menu")?.items !== this.menu?.items && this._runSearch(this._searchQuery, this._activeScopeId));
2065
2087
  }
2066
2088
  updated(e) {
2067
2089
  e.has("open") && this.open && this._scrollActiveItemIntoView(), e.has("menu") && this.open && this.menu?.currentItem && (e.get("menu")?.currentItem || this._scrollActiveItemIntoView());
2068
2090
  }
2069
2091
  resetSidebarToInitialState() {
2070
- this._searchQuery = "", this._activeScopeId = D, this._clearSearchState(), this.renderRoot.querySelector("vsn-header")?.reset(), this.renderRoot.querySelector("vsn-footer")?.reset();
2092
+ this._searchQuery = "", this._activeScopeId = O, this._clearSearchState(), this.renderRoot.querySelector("vsn-header")?.reset(), this.renderRoot.querySelector("vsn-footer")?.reset();
2071
2093
  }
2072
2094
  render() {
2073
2095
  let e = this._viewMode();
@@ -2115,7 +2137,7 @@ var Dt = "en", Ot = [
2115
2137
  this._runSearch(e.detail.query, this._activeScopeId);
2116
2138
  }
2117
2139
  _onSearchCleared() {
2118
- this._searchQuery = "", this._activeScopeId = D, this._clearSearchState(), this.focusSearch();
2140
+ this._searchQuery = "", this._activeScopeId = O, this._clearSearchState(), this.focusSearch();
2119
2141
  }
2120
2142
  _clearSearchState() {
2121
2143
  this._searchAbort?.abort(), this._searchAbort = void 0, this._searchResults = void 0, this._searchLoading = !1, this._searchLoadingMore = !1, this._searchError = void 0, this._searchNextCursor = void 0;
@@ -2145,7 +2167,7 @@ var Dt = "en", Ot = [
2145
2167
  this._searchResults = t.results, this._searchNextCursor = t.nextCursor, this._searchLoading = !1, this._searchAbort = void 0;
2146
2168
  } catch (e) {
2147
2169
  if (this._searchAbort !== r) return;
2148
- e instanceof ut ? (this._searchError = e.message, this._searchResults = void 0) : console.error("Search function rejected with non-SearchError:", e), this._searchLoading = !1, this._searchAbort = void 0;
2170
+ e instanceof N ? (this._searchError = e.message, this._searchResults = void 0) : console.error("Search function rejected with non-SearchError:", e), this._searchLoading = !1, this._searchAbort = void 0;
2149
2171
  }
2150
2172
  }
2151
2173
  async _loadMore() {
@@ -2165,14 +2187,14 @@ var Dt = "en", Ot = [
2165
2187
  this._searchResults = [...this._searchResults ?? [], ...n.results], this._searchNextCursor = n.nextCursor, this._searchLoadingMore = !1, this._searchAbort = void 0;
2166
2188
  } catch (e) {
2167
2189
  if (this._searchAbort !== t) return;
2168
- e instanceof ut ? (this._searchError = e.message, this._searchResults = void 0, this._searchNextCursor = void 0) : console.error("Load-more function rejected with non-SearchError:", e), this._searchLoadingMore = !1, this._searchAbort = void 0;
2190
+ e instanceof N ? (this._searchError = e.message, this._searchResults = void 0, this._searchNextCursor = void 0) : console.error("Load-more function rejected with non-SearchError:", e), this._searchLoadingMore = !1, this._searchAbort = void 0;
2169
2191
  }
2170
2192
  }
2171
2193
  _filterTree(e) {
2172
2194
  let t = this._menu?.items;
2173
2195
  if (!t?.length || !e) return [];
2174
2196
  let n = e.toLowerCase(), r = [], i = (e, t) => {
2175
- for (let a of e) if (j(a)) i(a.items, [...t, a]);
2197
+ for (let a of e) if (M(a)) i(a.items, [...t, a]);
2176
2198
  else if (a.label.toLowerCase().includes(n) || this.matchInKeywords(a.keywords, n)) {
2177
2199
  let e = t.length > 0 ? [t.map((e) => e.label).join(" › ")] : void 0;
2178
2200
  r.push({
@@ -2234,8 +2256,8 @@ var Dt = "en", Ot = [
2234
2256
  return e.length === 0 ? n`` : n`
2235
2257
  <vsn-search-scopes
2236
2258
  .scopes=${[{
2237
- id: D,
2238
- label: Ne()
2259
+ id: O,
2260
+ label: Me()
2239
2261
  }, ...e.map((e) => ({
2240
2262
  id: e.id,
2241
2263
  label: e.label
@@ -2259,15 +2281,15 @@ var Dt = "en", Ot = [
2259
2281
  `;
2260
2282
  }
2261
2283
  };
2262
- M([s({ attribute: !1 })], G.prototype, "modules", void 0), M([s()], G.prototype, "activeModuleId", void 0), M([s()], G.prototype, "activeModuleLabel", void 0), M([s({ type: Boolean })], G.prototype, "modulesLoading", void 0), M([s()], G.prototype, "lang", void 0), M([s({ attribute: !1 })], G.prototype, "auth", void 0), M([s({ type: Boolean })], G.prototype, "error", void 0), M([s({
2284
+ P([s({ attribute: !1 })], q.prototype, "modules", void 0), P([s()], q.prototype, "activeModuleId", void 0), P([s()], q.prototype, "activeModuleLabel", void 0), P([s({ type: Boolean })], q.prototype, "modulesLoading", void 0), P([s()], q.prototype, "lang", void 0), P([s({ attribute: !1 })], q.prototype, "auth", void 0), P([s({ type: Boolean })], q.prototype, "error", void 0), P([s({
2263
2285
  type: Boolean,
2264
2286
  reflect: !0
2265
- })], G.prototype, "open", void 0), M([s({ attribute: !1 })], G.prototype, "menu", void 0), M([l()], G.prototype, "_searchQuery", void 0), M([l()], G.prototype, "_searchResults", void 0), M([l()], G.prototype, "_searchLoading", void 0), M([l()], G.prototype, "_activeScopeId", void 0), M([l()], G.prototype, "_searchError", void 0), M([l()], G.prototype, "_searchNextCursor", void 0), M([l()], G.prototype, "_searchLoadingMore", void 0), M([l()], G.prototype, "_moduleSwitcherMaxHeight", void 0), M([l()], G.prototype, "_hasPageTitle", void 0), G = M([o("vsn-side-bar")], G);
2287
+ })], q.prototype, "open", void 0), P([s({ attribute: !1 })], q.prototype, "menu", void 0), P([l()], q.prototype, "_searchQuery", void 0), P([l()], q.prototype, "_searchResults", void 0), P([l()], q.prototype, "_searchLoading", void 0), P([l()], q.prototype, "_activeScopeId", void 0), P([l()], q.prototype, "_searchError", void 0), P([l()], q.prototype, "_searchNextCursor", void 0), P([l()], q.prototype, "_searchLoadingMore", void 0), P([l()], q.prototype, "_moduleSwitcherMaxHeight", void 0), P([l()], q.prototype, "_hasPageTitle", void 0), q = P([o("vsn-side-bar")], q);
2266
2288
  //#endregion
2267
2289
  //#region src/components/vsn-top-bar/vsn-breadcrumb-menu-item.ts
2268
- var K, q = class extends e {
2290
+ var en, J = class extends e {
2269
2291
  static {
2270
- K = this;
2292
+ en = this;
2271
2293
  }
2272
2294
  static {
2273
2295
  this._idCounter = 0;
@@ -2287,15 +2309,15 @@ var K, q = class extends e {
2287
2309
  }, this._onItemMouseLeave = () => {
2288
2310
  this._showTooltip = !1;
2289
2311
  }, this._onKeyDown = (e) => {
2290
- e.defaultPrevented || T(e) || (e.key === "Enter" || e.key === " " ? (e.preventDefault(), this._isExpanded = !this._isExpanded) : e.key === "ArrowRight" ? (e.preventDefault(), this._isExpanded = !0) : e.key === "ArrowLeft" && (e.preventDefault(), this._isExpanded = !1));
2312
+ e.defaultPrevented || E(e) || (e.key === "Enter" || e.key === " " ? (e.preventDefault(), this._isExpanded = !this._isExpanded) : e.key === "ArrowRight" ? (e.preventDefault(), this._isExpanded = !0) : e.key === "ArrowLeft" && (e.preventDefault(), this._isExpanded = !1));
2291
2313
  }, this._onClick = (e) => {
2292
2314
  if (e.defaultPrevented) return;
2293
2315
  if (this._isParent()) {
2294
- if (T(e)) return;
2316
+ if (E(e)) return;
2295
2317
  e.preventDefault(), this._isExpanded = !this._isExpanded;
2296
2318
  return;
2297
2319
  }
2298
- if (!this.tree || e.button !== 0 || T(e)) return;
2320
+ if (!this.tree || e.button !== 0 || E(e)) return;
2299
2321
  e.preventDefault();
2300
2322
  let t = [...this.ancestorPath, this.tree];
2301
2323
  this.dispatchEvent(new CustomEvent("vsn-breadcrumb-menu-leaf-select", {
@@ -2303,7 +2325,7 @@ var K, q = class extends e {
2303
2325
  bubbles: !0,
2304
2326
  composed: !0
2305
2327
  }));
2306
- }, this._tooltipId = `vsn-menu-item-tooltip-${K._idCounter++}`, new L(this, () => this._isExpanded);
2328
+ }, this._tooltipId = `vsn-menu-item-tooltip-${en._idCounter++}`, new z(this, () => this._isExpanded);
2307
2329
  }
2308
2330
  createRenderRoot() {
2309
2331
  return this;
@@ -2329,7 +2351,7 @@ var K, q = class extends e {
2329
2351
  <div class="ga-tooltip ga-tooltip--right-start" style="white-space: nowrap">${e}</div>
2330
2352
  </div>
2331
2353
  <span class="ga-side-navigation__item-icon">
2332
- ${this._isParent() ? this._isExpanded ? O(k, 16) : O(tt, 16) : ""}
2354
+ ${this._isParent() ? this._isExpanded ? k(A, 16) : k(et, 16) : ""}
2333
2355
  </span>
2334
2356
  <div class="ga-side-navigation__item-content">
2335
2357
  <div class="ga-side-navigation__item-label">${e}</div>
@@ -2339,7 +2361,7 @@ var K, q = class extends e {
2339
2361
  <div class="${d(t)}" role="button" tabindex="0" aria-expanded=${this._isExpanded} aria-describedby="${this._tooltipId}" @click=${this._onClick} @keydown=${this._onKeyDown}
2340
2362
  @mouseenter=${this._onItemMouseEnter} @mouseleave=${this._onItemMouseLeave}>${r}
2341
2363
  </div>` : n`<a class="${d(t)}" aria-describedby="${this._tooltipId}"
2342
- href="${this.tree && A(this.tree) ? this.tree.url : ""}" @click=${this._onClick}
2364
+ href="${this.tree && j(this.tree) ? this.tree.url : ""}" @click=${this._onClick}
2343
2365
  @mouseenter=${this._onItemMouseEnter} @mouseleave=${this._onItemMouseLeave}>${r}</a>`;
2344
2366
  }
2345
2367
  _menuItem(e, t) {
@@ -2347,19 +2369,19 @@ var K, q = class extends e {
2347
2369
  <vsn-breadcrumb-menu-item .tree=${e} .level=${t} .ancestorPath=${this.tree ? [...this.ancestorPath, this.tree] : this.ancestorPath}></vsn-breadcrumb-menu-item>`;
2348
2370
  }
2349
2371
  _getTreeItems(e) {
2350
- if (e !== void 0 && j(e)) return e.items;
2372
+ if (e !== void 0 && M(e)) return e.items;
2351
2373
  }
2352
2374
  _isParent() {
2353
- if (this.tree && j(this.tree)) return this.tree.items.length > 0;
2375
+ if (this.tree && M(this.tree)) return this.tree.items.length > 0;
2354
2376
  }
2355
2377
  };
2356
- M([s({ attribute: !1 })], q.prototype, "tree", void 0), M([s({ type: Number })], q.prototype, "level", void 0), M([s({ type: Array })], q.prototype, "ancestorPath", void 0), M([l()], q.prototype, "_isExpanded", void 0), M([l()], q.prototype, "_showTooltip", void 0), M([l()], q.prototype, "_tooltipPos", void 0), M([c(".ga-side-navigation__item-label")], q.prototype, "_labelEl", void 0), q = K = M([o("vsn-breadcrumb-menu-item")], q);
2378
+ P([s({ attribute: !1 })], J.prototype, "tree", void 0), P([s({ type: Number })], J.prototype, "level", void 0), P([s({ type: Array })], J.prototype, "ancestorPath", void 0), P([l()], J.prototype, "_isExpanded", void 0), P([l()], J.prototype, "_showTooltip", void 0), P([l()], J.prototype, "_tooltipPos", void 0), P([c(".ga-side-navigation__item-label")], J.prototype, "_labelEl", void 0), J = en = P([o("vsn-breadcrumb-menu-item")], J);
2357
2379
  //#endregion
2358
2380
  //#region src/components/vsn-top-bar/vsn-breadcrumb-menu.ts
2359
2381
  var tn = class extends e {
2360
2382
  constructor() {
2361
2383
  super(), this._handleKeyDown = (e) => {
2362
- if (e.defaultPrevented || T(e)) return;
2384
+ if (e.defaultPrevented || E(e)) return;
2363
2385
  if (e.key === "Escape") {
2364
2386
  e.preventDefault(), this.dispatchEvent(new CustomEvent("vsn-breadcrumb-menu-close", {
2365
2387
  bubbles: !0,
@@ -2376,7 +2398,7 @@ var tn = class extends e {
2376
2398
  if (!t.length) return;
2377
2399
  let n = t.indexOf(e.target);
2378
2400
  n !== -1 && (e.preventDefault(), e.key === "ArrowDown" ? n < t.length - 1 && t[n + 1].focus() : n > 0 && t[n - 1].focus());
2379
- }, new L(this, () => !0);
2401
+ }, new z(this, () => !0);
2380
2402
  }
2381
2403
  createRenderRoot() {
2382
2404
  return this;
@@ -2403,10 +2425,10 @@ var tn = class extends e {
2403
2425
  `;
2404
2426
  }
2405
2427
  };
2406
- M([s({ attribute: !1 })], tn.prototype, "treeList", void 0), tn = M([o("vsn-breadcrumb-menu")], tn);
2428
+ P([s({ attribute: !1 })], tn.prototype, "treeList", void 0), tn = P([o("vsn-breadcrumb-menu")], tn);
2407
2429
  //#endregion
2408
2430
  //#region src/components/vsn-top-bar/vsn-breadcrumbs.ts
2409
- var J = class extends e {
2431
+ var Y = class extends e {
2410
2432
  constructor(...e) {
2411
2433
  super(...e), this.modules = [], this.modulesLoading = !1, this._openPopoverId = null, this._displayMode = "full", this._overflowCount = 0, this._tooltip = null, this._mqDesktop = window.matchMedia("(min-width: 1440px)"), this._mqTablet = window.matchMedia("(min-width: 768px) and (max-width: 1439px)"), this._ro = null, this._lastContainerWidth = 0, this._mounted = !1, this._handleMediaChange = () => {
2412
2434
  this._mqDesktop.matches ? (this._displayMode = "full", this._overflowCount = 0) : this._mqTablet.matches ? (this._displayMode = "overflow", this._overflowCount = 0, this._mounted && this.updateComplete.then(() => this._recalculateOverflow())) : (this._displayMode = "mobile", this._overflowCount = 0);
@@ -2427,8 +2449,8 @@ var J = class extends e {
2427
2449
  static {
2428
2450
  this.styles = [
2429
2451
  g,
2430
- Qt,
2431
- Yt,
2452
+ Zt,
2453
+ Jt,
2432
2454
  t`
2433
2455
  .vsn-bc-modules-loading {
2434
2456
  display: flex;
@@ -2546,7 +2568,7 @@ var J = class extends e {
2546
2568
  _findPath(e, t, n = []) {
2547
2569
  let r = [...n, e];
2548
2570
  if (e.id === t) return r;
2549
- for (let n of j(e) ? e.items : []) {
2571
+ for (let n of M(e) ? e.items : []) {
2550
2572
  let e = this._findPath(n, t, r);
2551
2573
  if (e) return e;
2552
2574
  }
@@ -2665,7 +2687,7 @@ var J = class extends e {
2665
2687
  _handleLeafSelect(e, t) {
2666
2688
  (this.shadowRoot?.getElementById(t))?.hidePopover?.();
2667
2689
  let n = e.detail.path, r = n[n.length - 1];
2668
- r && A(r) && this.dispatchEvent(new CustomEvent("vsn-menu-item-changed", {
2690
+ r && j(r) && this.dispatchEvent(new CustomEvent("vsn-menu-item-changed", {
2669
2691
  detail: r,
2670
2692
  bubbles: !0,
2671
2693
  composed: !0
@@ -2684,7 +2706,7 @@ var J = class extends e {
2684
2706
  </div>`;
2685
2707
  }
2686
2708
  _renderLastItem(e, t, r) {
2687
- return r ? n`${j(e) && e.items.length > 0 ? this._renderBreadcrumbItem(e, t) : this._renderLeafAsAncestor(e)}${this._renderPageTitle(r)}` : this._renderCurrentItem(e);
2709
+ return r ? n`${M(e) && e.items.length > 0 ? this._renderBreadcrumbItem(e, t) : this._renderLeafAsAncestor(e)}${this._renderPageTitle(r)}` : this._renderCurrentItem(e);
2688
2710
  }
2689
2711
  _renderPageTitle(e) {
2690
2712
  return n`
@@ -2706,7 +2728,7 @@ var J = class extends e {
2706
2728
  </div>`;
2707
2729
  }
2708
2730
  _renderBreadcrumbItem(e, t) {
2709
- if (!j(e) || e.items.length === 0) return n``;
2731
+ if (!M(e) || e.items.length === 0) return n``;
2710
2732
  let i = this._popoverItemId(t), a = this._popoverItemTriggerId(t);
2711
2733
  return n`
2712
2734
  <div class="ga-breadcrumb-item ga-breadcrumb-item--link"
@@ -2806,7 +2828,7 @@ var J = class extends e {
2806
2828
  `;
2807
2829
  }
2808
2830
  };
2809
- M([s({ attribute: !1 })], J.prototype, "tree", void 0), M([s({ type: Array })], J.prototype, "modules", void 0), M([s()], J.prototype, "activeModuleId", void 0), M([s({ type: Boolean })], J.prototype, "modulesLoading", void 0), M([l()], J.prototype, "_openPopoverId", void 0), M([l()], J.prototype, "_displayMode", void 0), M([l()], J.prototype, "_overflowCount", void 0), M([l()], J.prototype, "_tooltip", void 0), J = M([y(), o("vsn-breadcrumbs")], J);
2831
+ P([s({ attribute: !1 })], Y.prototype, "tree", void 0), P([s({ type: Array })], Y.prototype, "modules", void 0), P([s()], Y.prototype, "activeModuleId", void 0), P([s({ type: Boolean })], Y.prototype, "modulesLoading", void 0), P([l()], Y.prototype, "_openPopoverId", void 0), P([l()], Y.prototype, "_displayMode", void 0), P([l()], Y.prototype, "_overflowCount", void 0), P([l()], Y.prototype, "_tooltip", void 0), Y = P([y(), o("vsn-breadcrumbs")], Y);
2810
2832
  //#endregion
2811
2833
  //#region src/components/vsn-top-bar/vsn-ai-assistant.ts
2812
2834
  var nn = class extends e {
@@ -2824,31 +2846,55 @@ var nn = class extends e {
2824
2846
  return n`
2825
2847
  <button type="button" class="ga-button ga-button--secondary ga-button--icon-only"
2826
2848
  aria-label=${v("Open AI assistant")} @click=${this._handleClick}>
2827
- <span class="ga-icon">${O(Ve)}</span>
2849
+ <span class="ga-icon">${k(Be)}</span>
2828
2850
  </button>
2829
2851
  `;
2830
2852
  }
2831
2853
  };
2832
- nn = M([y(), o("vsn-ai-assistant")], nn);
2854
+ nn = P([y(), o("vsn-ai-assistant")], nn);
2833
2855
  //#endregion
2834
2856
  //#region src/components/vsn-top-bar/vsn-feedback.ts
2835
- var Y = class extends e {
2857
+ var X = class extends e {
2836
2858
  constructor(...e) {
2837
2859
  super(...e), this._compact = !1, this.feedback = null, this.lang = "en", this._mqMobile = window.matchMedia("(max-width: 767px)"), this._handleMediaChange = () => {
2838
2860
  this._compact = this._mqMobile.matches;
2839
- }, this._traitSet = !1;
2861
+ }, this._traitSet = !1, this._survicateListenerId = null, this._survicateClosedListenerId = null, this._surveyFocusTimer = null, this._surveyFocusCleanupTimer = null, this._observer = null, this._handleDocKeydown = (e) => {
2862
+ if (e.key === "Escape" && document.querySelector("#survicate-box [role=\"dialog\"]")) {
2863
+ let t = window._sva?.closeSurvey;
2864
+ if (!t) return;
2865
+ e.preventDefault(), this._clearFocusListener(), this._stopOutsideClickListener(), t(), this.querySelector("button")?.focus();
2866
+ }
2867
+ }, this._handleOutsideClick = (e) => {
2868
+ if (!document.querySelector("#survicate-box [role=\"dialog\"]")) {
2869
+ this._stopOutsideClickListener();
2870
+ return;
2871
+ }
2872
+ let t = e.target;
2873
+ if (!(t instanceof Node)) return;
2874
+ let n = document.getElementById("survicate-box");
2875
+ if (n && !n.contains(t)) {
2876
+ let n = this.contains(t);
2877
+ n && e.stopPropagation();
2878
+ let r = window._sva?.closeSurvey;
2879
+ if (!r) {
2880
+ this._stopOutsideClickListener();
2881
+ return;
2882
+ }
2883
+ this._clearFocusListener(), this._stopOutsideClickListener(), r(), n || this.querySelector("button")?.focus();
2884
+ }
2885
+ };
2840
2886
  }
2841
2887
  createRenderRoot() {
2842
2888
  return this;
2843
2889
  }
2844
2890
  connectedCallback() {
2845
- super.connectedCallback(), this._mqMobile.addEventListener("change", this._handleMediaChange), this._handleMediaChange();
2891
+ super.connectedCallback(), this._mqMobile.addEventListener("change", this._handleMediaChange), this._handleMediaChange(), document.addEventListener("keydown", this._handleDocKeydown, !0);
2846
2892
  }
2847
2893
  updated(e) {
2848
2894
  if (super.updated(e), e.has("feedback") && this.feedback?.workspaceId && !document.getElementById("survicate-sdk") && !window._sva) {
2849
2895
  window._sva = window._sva ?? {}, window._sva.forcedLanguage = this.lang;
2850
2896
  let e = document.createElement("script");
2851
- e.id = Ie, e.src = Re(this.feedback.workspaceId), e.async = !0, e.onload = () => this._applyVisitorTraits(), e.onerror = () => {
2897
+ e.id = Fe, e.src = Le(this.feedback.workspaceId), e.async = !0, e.onload = () => this._applyVisitorTraits(), e.onerror = () => {
2852
2898
  e.remove(), window._sva = void 0;
2853
2899
  }, document.head.appendChild(e);
2854
2900
  }
@@ -2865,19 +2911,52 @@ var Y = class extends e {
2865
2911
  t && (t({ email: e }), this._traitSet = !0);
2866
2912
  }
2867
2913
  disconnectedCallback() {
2868
- super.disconnectedCallback(), this._mqMobile.removeEventListener("change", this._handleMediaChange), this._traitSet && window._sva?.reset?.();
2914
+ super.disconnectedCallback(), this._mqMobile.removeEventListener("change", this._handleMediaChange), document.removeEventListener("keydown", this._handleDocKeydown, !0), this._clearFocusListener(), this._stopOutsideClickListener(), this._traitSet && window._sva?.reset?.();
2915
+ }
2916
+ _stopOutsideClickListener() {
2917
+ document.removeEventListener("click", this._handleOutsideClick, !0), this._survicateClosedListenerId !== null && (window._sva?.removeEventListener?.(this._survicateClosedListenerId), this._survicateClosedListenerId = null);
2918
+ }
2919
+ _startOutsideClickListener() {
2920
+ this._stopOutsideClickListener(), document.addEventListener("click", this._handleOutsideClick, !0), window._sva?.addEventListener && (this._survicateClosedListenerId = window._sva.addEventListener("survey_closed", () => {
2921
+ this._clearFocusListener(), this._stopOutsideClickListener(), this.querySelector("button")?.focus();
2922
+ }));
2923
+ }
2924
+ _clearFocusListener() {
2925
+ this._survicateListenerId !== null && (window._sva?.removeEventListener?.(this._survicateListenerId), this._survicateListenerId = null), this._surveyFocusTimer !== null && (clearTimeout(this._surveyFocusTimer), this._surveyFocusTimer = null), this._surveyFocusCleanupTimer !== null && (clearTimeout(this._surveyFocusCleanupTimer), this._surveyFocusCleanupTimer = null), this._observer?.disconnect(), this._observer = null;
2926
+ }
2927
+ _focusSurveyDialog() {
2928
+ let e = document.querySelector("#survicate-box [role=\"dialog\"]");
2929
+ e && e.querySelector("button:not([disabled]), [href], input:not([disabled]), textarea:not([disabled]), [tabindex]:not([tabindex=\"-1\"])")?.focus();
2869
2930
  }
2870
2931
  _handleClick() {
2871
- this.dispatchEvent(new CustomEvent("vsn-feedback", {
2932
+ if (this.dispatchEvent(new CustomEvent("vsn-feedback", {
2872
2933
  bubbles: !0,
2873
2934
  composed: !0
2874
- })), this.feedback?.surveyId && (this._applyVisitorTraits(), window._sva?.invokeEvent?.(Le));
2935
+ })), this.feedback?.surveyId) {
2936
+ this._applyVisitorTraits(), this._clearFocusListener(), this._startOutsideClickListener();
2937
+ let e = !1, t = () => {
2938
+ e || (e = !0, this._clearFocusListener(), this._surveyFocusTimer = setTimeout(() => this._focusSurveyDialog(), 100));
2939
+ };
2940
+ window._sva?.addEventListener && (this._survicateListenerId = window._sva.addEventListener("survey_displayed", t)), this._observer = new MutationObserver(() => {
2941
+ document.querySelector("#survicate-box [role=\"dialog\"]") && t();
2942
+ });
2943
+ let n = document.getElementById("survicate-box");
2944
+ n ? this._observer.observe(n, {
2945
+ childList: !0,
2946
+ subtree: !0,
2947
+ attributes: !0,
2948
+ attributeFilter: ["role"]
2949
+ }) : document.body && this._observer.observe(document.body, {
2950
+ childList: !0,
2951
+ subtree: !0
2952
+ }), this._surveyFocusCleanupTimer = setTimeout(() => this._clearFocusListener(), 15e3), window._sva?.invokeEvent?.(Ie);
2953
+ }
2875
2954
  }
2876
2955
  render() {
2877
2956
  return this._compact ? n`
2878
2957
  <button type="button" class="ga-button ga-button--secondary ga-button--icon-only"
2879
2958
  aria-label=${v("Send feedback")} @click=${this._handleClick}>
2880
- <span class="ga-icon">${O(We)}</span>
2959
+ <span class="ga-icon">${k(Ue)}</span>
2881
2960
  </button>
2882
2961
  ` : n`
2883
2962
  <button type="button" class="ga-button ga-button--secondary" aria-label=${v("Send feedback")}
@@ -2887,7 +2966,7 @@ var Y = class extends e {
2887
2966
  `;
2888
2967
  }
2889
2968
  };
2890
- M([l()], Y.prototype, "_compact", void 0), M([s({ attribute: !1 })], Y.prototype, "feedback", void 0), M([s({ attribute: !1 })], Y.prototype, "auth", void 0), M([s()], Y.prototype, "lang", void 0), Y = M([y(), o("vsn-feedback")], Y);
2969
+ P([l()], X.prototype, "_compact", void 0), P([s({ attribute: !1 })], X.prototype, "feedback", void 0), P([s({ attribute: !1 })], X.prototype, "auth", void 0), P([s()], X.prototype, "lang", void 0), X = P([y(), o("vsn-feedback")], X);
2891
2970
  //#endregion
2892
2971
  //#region src/components/vsn-top-bar/vsn-home.ts
2893
2972
  var rn = class extends e {
@@ -2909,12 +2988,12 @@ var rn = class extends e {
2909
2988
  return this.landingPageUrl ? n`
2910
2989
  <a href=${this.landingPageUrl} class="ga-button ga-button--ghost ga-button--icon-only" aria-label=${v("Home")}
2911
2990
  @click=${this._handleClick}>
2912
- <span class="ga-icon">${O(Ge)}</span>
2991
+ <span class="ga-icon">${k(We)}</span>
2913
2992
  </a>
2914
2993
  ` : r;
2915
2994
  }
2916
2995
  };
2917
- M([s({ attribute: "landing-page-url" })], rn.prototype, "landingPageUrl", void 0), rn = M([y(), o("vsn-home")], rn);
2996
+ P([s({ attribute: "landing-page-url" })], rn.prototype, "landingPageUrl", void 0), rn = P([y(), o("vsn-home")], rn);
2918
2997
  //#endregion
2919
2998
  //#region src/components/vsn-top-bar/vsn-menu-toggle.ts
2920
2999
  var an = class extends e {
@@ -2944,17 +3023,17 @@ var an = class extends e {
2944
3023
  @click=${this._handleClick}
2945
3024
  @mouseenter=${this._onActivate}
2946
3025
  @mouseleave=${this._onDeactivate}>
2947
- <span class="ga-icon">${O(Be)}</span>
3026
+ <span class="ga-icon">${k(ze)}</span>
2948
3027
  </button>
2949
3028
  <div id="vsn-menu-toggle-tooltip" role="tooltip"
2950
3029
  style="position: fixed; inset: unset; margin: 0; padding: 0; border: none; background: transparent; overflow: visible; pointer-events: none; z-index: 9999;"
2951
3030
  popover="manual">
2952
- <div class="ga-tooltip ga-tooltip--bottom-start" style="white-space: nowrap">${je()}</div>
3031
+ <div class="ga-tooltip ga-tooltip--bottom-start" style="white-space: nowrap">${Ae()}</div>
2953
3032
  </div>
2954
3033
  `;
2955
3034
  }
2956
3035
  };
2957
- M([c("div[role=\"tooltip\"]", !0)], an.prototype, "_tooltipElement", void 0), an = M([y(), o("vsn-menu-toggle")], an);
3036
+ P([c("div[role=\"tooltip\"]", !0)], an.prototype, "_tooltipElement", void 0), an = P([y(), o("vsn-menu-toggle")], an);
2958
3037
  //#endregion
2959
3038
  //#region src/components/vsn-top-bar/vsn-notifications.ts
2960
3039
  var on = class extends e {
@@ -2972,20 +3051,20 @@ var on = class extends e {
2972
3051
  }));
2973
3052
  }
2974
3053
  render() {
2975
- let e = this.notificationActive ? Ue : He;
3054
+ let e = this.notificationActive ? He : Ve;
2976
3055
  return n`
2977
3056
  <button type="button" class="ga-button ga-button--secondary ga-button--icon-only"
2978
3057
  aria-label=${v("Notifications")} @click=${this._handleClick}>
2979
- <span class="ga-icon">${O(e)}</span>
3058
+ <span class="ga-icon">${k(e)}</span>
2980
3059
  </button>
2981
3060
  `;
2982
3061
  }
2983
3062
  };
2984
- M([s({
3063
+ P([s({
2985
3064
  type: Boolean,
2986
3065
  attribute: "notification-active",
2987
3066
  reflect: !0
2988
- })], on.prototype, "notificationActive", void 0), on = M([y(), o("vsn-notifications")], on);
3067
+ })], on.prototype, "notificationActive", void 0), on = P([y(), o("vsn-notifications")], on);
2989
3068
  //#endregion
2990
3069
  //#region src/components/vsn-top-bar/vsn-help.ts
2991
3070
  function sn(e) {
@@ -2996,7 +3075,7 @@ function sn(e) {
2996
3075
  return !1;
2997
3076
  }
2998
3077
  }
2999
- var X = class extends e {
3078
+ var cn = class extends e {
3000
3079
  createRenderRoot() {
3001
3080
  return this;
3002
3081
  }
@@ -3011,25 +3090,25 @@ var X = class extends e {
3011
3090
  return this.helpUrl && sn(this.helpUrl) ? n`
3012
3091
  <a href=${this.helpUrl} target="_blank" rel="noopener noreferrer" class="ga-button ga-button--secondary ga-button--icon-only"
3013
3092
  aria-label=${v("Help")}>
3014
- <span class="ga-icon">${O(Ke)}</span>
3093
+ <span class="ga-icon">${k(Ge)}</span>
3015
3094
  </a>
3016
3095
  ` : n`
3017
3096
  <button type="button" class="ga-button ga-button--secondary ga-button--icon-only" aria-label=${v("Help")}
3018
3097
  @click=${this._handleClick}>
3019
- <span class="ga-icon">${O(Ke)}</span>
3098
+ <span class="ga-icon">${k(Ge)}</span>
3020
3099
  </button>
3021
3100
  `;
3022
3101
  }
3023
3102
  };
3024
- M([s({ attribute: "help-url" })], X.prototype, "helpUrl", void 0), X = M([y(), o("vsn-help")], X);
3103
+ P([s({ attribute: "help-url" })], cn.prototype, "helpUrl", void 0), cn = P([y(), o("vsn-help")], cn);
3025
3104
  //#endregion
3026
3105
  //#region src/components/vsn-top-bar/vsn-top-bar.ts
3027
3106
  var Z = class extends e {
3028
3107
  constructor() {
3029
- super(), this.modules = [], this.feedback = null, this.showHelp = !1, this.showNotification = !1, this.notificationActive = !1, this.modulesLoading = !1, this.lang = "en", new L(this, () => !0);
3108
+ super(), this.modules = [], this.feedback = null, this.showHelp = !1, this.showNotification = !1, this.notificationActive = !1, this.modulesLoading = !1, this.lang = "en", new z(this, () => !0);
3030
3109
  }
3031
3110
  willUpdate(e) {
3032
- e.has("lang") && Vt(this.lang).catch(console.error);
3111
+ e.has("lang") && Bt(this.lang).catch(console.error);
3033
3112
  }
3034
3113
  focusMenuToggle() {
3035
3114
  this.renderRoot.querySelector("vsn-menu-toggle")?.focus();
@@ -3131,19 +3210,19 @@ var Z = class extends e {
3131
3210
  `;
3132
3211
  }
3133
3212
  };
3134
- M([s({ attribute: !1 })], Z.prototype, "tree", void 0), M([s({ type: Array })], Z.prototype, "modules", void 0), M([s()], Z.prototype, "activeModuleId", void 0), M([s({ attribute: "landing-page-url" })], Z.prototype, "landingPageUrl", void 0), M([s({ attribute: !1 })], Z.prototype, "feedback", void 0), M([s({ attribute: !1 })], Z.prototype, "auth", void 0), M([s({
3213
+ P([s({ attribute: !1 })], Z.prototype, "tree", void 0), P([s({ type: Array })], Z.prototype, "modules", void 0), P([s()], Z.prototype, "activeModuleId", void 0), P([s({ attribute: "landing-page-url" })], Z.prototype, "landingPageUrl", void 0), P([s({ attribute: !1 })], Z.prototype, "feedback", void 0), P([s({ attribute: !1 })], Z.prototype, "auth", void 0), P([s({
3135
3214
  type: Boolean,
3136
3215
  attribute: "show-help"
3137
- })], Z.prototype, "showHelp", void 0), M([s({ attribute: "help-url" })], Z.prototype, "helpUrl", void 0), M([s({
3216
+ })], Z.prototype, "showHelp", void 0), P([s({ attribute: "help-url" })], Z.prototype, "helpUrl", void 0), P([s({
3138
3217
  type: Boolean,
3139
3218
  attribute: "show-notification"
3140
- })], Z.prototype, "showNotification", void 0), M([s({
3219
+ })], Z.prototype, "showNotification", void 0), P([s({
3141
3220
  type: Boolean,
3142
3221
  attribute: "notification-active"
3143
- })], Z.prototype, "notificationActive", void 0), M([s({ type: Boolean })], Z.prototype, "modulesLoading", void 0), M([s()], Z.prototype, "lang", void 0), Z = M([o("vsn-top-bar")], Z);
3222
+ })], Z.prototype, "notificationActive", void 0), P([s({ type: Boolean })], Z.prototype, "modulesLoading", void 0), P([s()], Z.prototype, "lang", void 0), Z = P([o("vsn-top-bar")], Z);
3144
3223
  //#endregion
3145
3224
  //#region src/components/vsn-card.ts
3146
- var cn = class extends e {
3225
+ var ln = class extends e {
3147
3226
  static {
3148
3227
  this.styles = [g, t`
3149
3228
  :host {
@@ -3164,7 +3243,7 @@ var cn = class extends e {
3164
3243
  return n`<slot></slot>`;
3165
3244
  }
3166
3245
  };
3167
- cn = M([o("vsn-card")], cn);
3246
+ ln = P([o("vsn-card")], ln);
3168
3247
  //#endregion
3169
3248
  //#region src/components/vsn-skip-to-main.ts
3170
3249
  var Q = class extends e {
@@ -3232,7 +3311,7 @@ var Q = class extends e {
3232
3311
  t && (t.tabIndex < 0 && t.setAttribute("tabindex", "-1"), t.focus());
3233
3312
  }
3234
3313
  };
3235
- M([s()], Q.prototype, "href", void 0), Q = M([y(), o("vsn-skip-to-main")], Q);
3314
+ P([s()], Q.prototype, "href", void 0), Q = P([y(), o("vsn-skip-to-main")], Q);
3236
3315
  //#endregion
3237
3316
  //#region src/components/vsn-navigation.ts
3238
3317
  var $ = class extends e {
@@ -3255,13 +3334,13 @@ var $ = class extends e {
3255
3334
  detail: t
3256
3335
  }));
3257
3336
  }, this._onShortcut = (e) => {
3258
- e.defaultPrevented || !Oe(e) || e.key.toLowerCase() !== "o" || (e.preventDefault(), this.dispatchEvent(new CustomEvent("vsn-open", {
3337
+ e.defaultPrevented || !De(e) || e.key.toLowerCase() !== "o" || (e.preventDefault(), this.dispatchEvent(new CustomEvent("vsn-open", {
3259
3338
  cancelable: !0,
3260
3339
  bubbles: !0,
3261
3340
  composed: !0
3262
3341
  })) && this._openAndFocusSearch());
3263
3342
  }, this._onEscape = (e) => {
3264
- e.defaultPrevented || this.open && E(e) && e.key === "Escape" && (e.preventDefault(), this.open = !1);
3343
+ e.defaultPrevented || this.open && D(e) && e.key === "Escape" && (e.preventDefault(), this.open = !1);
3265
3344
  };
3266
3345
  }
3267
3346
  _resolveModules() {
@@ -3284,7 +3363,7 @@ var $ = class extends e {
3284
3363
  static {
3285
3364
  this.styles = [
3286
3365
  g,
3287
- Qt,
3366
+ Zt,
3288
3367
  t`
3289
3368
  :host {
3290
3369
  display: flex;
@@ -3400,19 +3479,19 @@ var $ = class extends e {
3400
3479
  `;
3401
3480
  }
3402
3481
  };
3403
- M([s()], $.prototype, "lang", void 0), M([s({ attribute: !1 })], $.prototype, "tree", void 0), M([s({ attribute: !1 })], $.prototype, "modules", void 0), M([s({ attribute: !1 })], $.prototype, "auth", void 0), M([s({ attribute: "landing-page-url" })], $.prototype, "landingPageUrl", void 0), M([s({
3482
+ P([s()], $.prototype, "lang", void 0), P([s({ attribute: !1 })], $.prototype, "tree", void 0), P([s({ attribute: !1 })], $.prototype, "modules", void 0), P([s({ attribute: !1 })], $.prototype, "auth", void 0), P([s({ attribute: "landing-page-url" })], $.prototype, "landingPageUrl", void 0), P([s({
3404
3483
  type: Boolean,
3405
3484
  attribute: "show-help"
3406
- })], $.prototype, "showHelp", void 0), M([s({ attribute: "help-url" })], $.prototype, "helpUrl", void 0), M([s({ attribute: !1 })], $.prototype, "feedback", void 0), M([s({
3485
+ })], $.prototype, "showHelp", void 0), P([s({ attribute: "help-url" })], $.prototype, "helpUrl", void 0), P([s({ attribute: !1 })], $.prototype, "feedback", void 0), P([s({
3407
3486
  type: Boolean,
3408
3487
  attribute: "show-notification"
3409
- })], $.prototype, "showNotification", void 0), M([s({
3488
+ })], $.prototype, "showNotification", void 0), P([s({
3410
3489
  type: Boolean,
3411
3490
  attribute: "notification-active"
3412
- })], $.prototype, "notificationActive", void 0), M([s({
3491
+ })], $.prototype, "notificationActive", void 0), P([s({
3413
3492
  type: Boolean,
3414
3493
  attribute: "open",
3415
3494
  reflect: !0
3416
- })], $.prototype, "open", void 0), M([l()], $.prototype, "_resolvedModules", void 0), M([l()], $.prototype, "_modulesLoading", void 0), $ = M([o("vsn-navigation")], $);
3495
+ })], $.prototype, "open", void 0), P([l()], $.prototype, "_resolvedModules", void 0), P([l()], $.prototype, "_modulesLoading", void 0), $ = P([o("vsn-navigation")], $);
3417
3496
  //#endregion
3418
- export { ut as SearchError, $ as VSNNavigation, Q as VSNSkipToMain, A as isTreeLeaf, j as isTreeParent };
3497
+ export { N as SearchError, $ as VSNNavigation, Q as VSNSkipToMain, j as isTreeLeaf, M as isTreeParent };