@phila/phila-ui-app-header 1.0.0-beta.13 → 1.0.0-beta.15

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.mjs CHANGED
@@ -1,169 +1,140 @@
1
- import { defineComponent as _, useSlots as me, useTemplateRef as E, computed as B, watch as Y, nextTick as Z, createElementBlock as c, openBlock as n, Fragment as T, createElementVNode as s, normalizeClass as S, createCommentVNode as y, unref as i, mergeProps as M, createTextVNode as A, createVNode as p, renderSlot as v, ref as z, onMounted as he, onUnmounted as J, normalizeStyle as ee, toDisplayString as w, onBeforeMount as ge, renderList as Q, createBlock as k, withModifiers as te, withCtx as h, resolveDynamicComponent as ie, createSlots as K, normalizeProps as I, useId as ye, guardReactiveProps as D } from "vue";
2
- import { FontAwesomeIcon as L } from "@fortawesome/vue-fontawesome";
3
- import { useVisibility as H, debounce as _e, Icon as $e, FocusTrap as ae, cn as R, BaseLink as se, ActionContent as P } from "@phila/phila-ui-core";
4
- import { Logo as xe } from "@phila/phila-ui-logo";
5
- import './index.css';var ke = {
6
- prefix: "fas",
7
- iconName: "magnifying-glass",
8
- icon: [512, 512, [128269, "search"], "f002", "M416 208c0 45.9-14.9 88.3-40 122.7L502.6 457.4c12.5 12.5 12.5 32.8 0 45.3s-32.8 12.5-45.3 0L330.7 376C296.3 401.1 253.9 416 208 416 93.1 416 0 322.9 0 208S93.1 0 208 0 416 93.1 416 208zM208 352a144 144 0 1 0 0-288 144 144 0 1 0 0 288z"]
9
- }, we = ke, Be = {
10
- prefix: "fas",
11
- iconName: "circle-exclamation",
12
- icon: [512, 512, ["exclamation-circle"], "f06a", "M256 512a256 256 0 1 1 0-512 256 256 0 1 1 0 512zm0-192a32 32 0 1 0 0 64 32 32 0 1 0 0-64zm0-192c-18.2 0-32.7 15.5-31.4 33.7l7.4 104c.9 12.6 11.4 22.3 23.9 22.3 12.6 0 23-9.7 23.9-22.3l7.4-104c1.3-18.2-13.1-33.7-31.4-33.7z"]
13
- }, ne = {
14
- prefix: "fas",
15
- iconName: "xmark",
16
- icon: [384, 512, [128473, 10005, 10006, 10060, 215, "close", "multiply", "remove", "times"], "f00d", "M55.1 73.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3L147.2 256 9.9 393.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0L192.5 301.3 329.9 438.6c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L237.8 256 375.1 118.6c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L192.5 210.7 55.1 73.4z"]
17
- }, Me = ne, oe = ne, Ce = {
18
- prefix: "fas",
19
- iconName: "lock",
20
- icon: [384, 512, [128274], "f023", "M128 96l0 64 128 0 0-64c0-35.3-28.7-64-64-64s-64 28.7-64 64zM64 160l0-64C64 25.3 121.3-32 192-32S320 25.3 320 96l0 64c35.3 0 64 28.7 64 64l0 224c0 35.3-28.7 64-64 64L64 512c-35.3 0-64-28.7-64-64L0 224c0-35.3 28.7-64 64-64z"]
21
- }, le = {
22
- prefix: "fas",
23
- iconName: "caret-up",
24
- icon: [320, 512, [], "f0d8", "M140.3 135.2c12.6-10.3 31.1-9.5 42.8 2.2l128 128c9.2 9.2 11.9 22.9 6.9 34.9S301.4 320 288.5 320l-256 0c-12.9 0-24.6-7.8-29.6-19.8S.7 274.5 9.9 265.4l128-128 2.4-2.2z"]
25
- }, re = {
26
- prefix: "fas",
27
- iconName: "caret-down",
28
- icon: [320, 512, [], "f0d7", "M140.3 376.8c12.6 10.2 31.1 9.5 42.8-2.2l128-128c9.2-9.2 11.9-22.9 6.9-34.9S301.4 192 288.5 192l-256 0c-12.9 0-24.6 7.8-29.6 19.8S.7 237.5 9.9 246.6l128 128 2.4 2.2z"]
29
- }, Ne = {
30
- prefix: "fas",
31
- iconName: "building-columns",
32
- icon: [512, 512, ["bank", "institution", "museum", "university"], "f19c", "M271.9 20.2c-9.8-5.6-21.9-5.6-31.8 0l-224 128c-12.6 7.2-18.8 22-15.1 36S17.5 208 32 208l32 0 0 208 0 0-51.2 38.4C4.7 460.4 0 469.9 0 480 0 497.7 14.3 512 32 512l448 0c17.7 0 32-14.3 32-32 0-10.1-4.7-19.6-12.8-25.6l-51.2-38.4 0-208 32 0c14.5 0 27.2-9.8 30.9-23.8s-2.5-28.8-15.1-36l-224-128zM400 208l0 208-64 0 0-208 64 0zm-112 0l0 208-64 0 0-208 64 0zm-112 0l0 208-64 0 0-208 64 0zM256 96a32 32 0 1 1 0 64 32 32 0 1 1 0-64z"]
33
- }, Le = {
34
- prefix: "fas",
35
- iconName: "bars",
36
- icon: [448, 512, ["navicon"], "f0c9", "M0 96C0 78.3 14.3 64 32 64l384 0c17.7 0 32 14.3 32 32s-14.3 32-32 32L32 128C14.3 128 0 113.7 0 96zM0 256c0-17.7 14.3-32 32-32l384 0c17.7 0 32 14.3 32 32s-14.3 32-32 32L32 288c-17.7 0-32-14.3-32-32zM448 416c0 17.7-14.3 32-32 32L32 448c-17.7 0-32-14.3-32-32s14.3-32 32-32l384 0c17.7 0 32 14.3 32 32z"]
37
- }, ze = {
38
- prefix: "fas",
39
- iconName: "circle-info",
40
- icon: [512, 512, ["info-circle"], "f05a", "M256 512a256 256 0 1 0 0-512 256 256 0 1 0 0 512zM224 160a32 32 0 1 1 64 0 32 32 0 1 1 -64 0zm-8 64l48 0c13.3 0 24 10.7 24 24l0 88 8 0c13.3 0 24 10.7 24 24s-10.7 24-24 24l-80 0c-13.3 0-24-10.7-24-24s10.7-24 24-24l24 0 0-64-24 0c-13.3 0-24-10.7-24-24s10.7-24 24-24z"]
41
- }, ce = ze;
42
- const Ae = "data:image/svg+xml,%3csvg%20width='16'%20height='11'%20viewBox='0%200%2016%2011'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%3e%3crect%20width='16'%20height='11'%20fill='url(%23pattern0_61022_1867)'/%3e%3cdefs%3e%3cpattern%20id='pattern0_61022_1867'%20patternContentUnits='objectBoundingBox'%20width='1'%20height='1'%3e%3cuse%20xlink:href='%23image0_61022_1867'%20transform='scale(0.0625%200.0909091)'/%3e%3c/pattern%3e%3cimage%20id='image0_61022_1867'%20width='16'%20height='11'%20preserveAspectRatio='none'%20xlink:href='data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAALCAMAAABBPP0LAAAAG1BMVEUdM7EeNLIeM7HgQCDaPh/bPh/bPx/////bPyBEby41AAAAUElEQVQI123MNw4CABDEwD3jC/9/MQ1BQrgeOSkIqYe2o2FZtthXgQLgbHVMZdlsfUQFQnHtjP1+8BUhBDKOqtmfot6ojqPzR7TjdU+f6vkED+IDPhTBcMAAAAAASUVORK5CYII='/%3e%3c/defs%3e%3c/svg%3e", Te = { class: "trusted-wrap" }, Se = { class: "hidden-tablet trusted-toggle is-flex is-align-center" }, Ee = ["src"], Ie = ["aria-label", "aria-expanded"], He = {
43
- class: "icon",
44
- "aria-hidden": "true"
45
- }, Oe = { class: "hidden-desktop trusted-toggle is-flex is-align-center" }, Ge = ["aria-label", "aria-expanded"], De = {
46
- class: "icon",
47
- "aria-hidden": "true"
48
- }, Pe = {
1
+ import { defineComponent as w, useSlots as pe, useTemplateRef as G, computed as A, watch as se, nextTick as Z, createElementBlock as d, openBlock as o, Fragment as z, createElementVNode as c, normalizeClass as O, createCommentVNode as $, unref as a, mergeProps as I, createTextVNode as H, createVNode as g, renderSlot as v, ref as M, onMounted as oe, onUnmounted as le, normalizeStyle as re, toDisplayString as x, onBeforeMount as ge, renderList as K, createBlock as B, withModifiers as F, withCtx as _, resolveDynamicComponent as ce, onBeforeUnmount as he, createSlots as ae, normalizeProps as P, useId as me, guardReactiveProps as Q } from "vue";
2
+ import { IconCaretUp as J, IconCaretDown as ee, IconCircleInfo as de, IconBuildingColumns as ye, IconLock as _e, IconClose as U, IconCircleExclamation as $e, IconMagnifyingGlass as ke, IconBars as xe, IconGlobe as we } from "@phila/phila-ui-core/icons";
3
+ import { useVisibility as V, Icon as N, debounce as Be, FocusTrap as ue, cn as q, BaseLink as ve, ActionContent as W } from "@phila/phila-ui-core";
4
+ import { Logo as Ce } from "@phila/phila-ui-logo";
5
+ import './index.css';const Ae = "data:image/svg+xml,%3csvg%20width='16'%20height='11'%20viewBox='0%200%2016%2011'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%3e%3crect%20width='16'%20height='11'%20fill='url(%23pattern0_61022_1867)'/%3e%3cdefs%3e%3cpattern%20id='pattern0_61022_1867'%20patternContentUnits='objectBoundingBox'%20width='1'%20height='1'%3e%3cuse%20xlink:href='%23image0_61022_1867'%20transform='scale(0.0625%200.0909091)'/%3e%3c/pattern%3e%3cimage%20id='image0_61022_1867'%20width='16'%20height='11'%20preserveAspectRatio='none'%20xlink:href='data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAALCAMAAABBPP0LAAAAG1BMVEUdM7EeNLIeM7HgQCDaPh/bPh/bPx/////bPyBEby41AAAAUElEQVQI123MNw4CABDEwD3jC/9/MQ1BQrgeOSkIqYe2o2FZtthXgQLgbHVMZdlsfUQFQnHtjP1+8BUhBDKOqtmfot6ojqPzR7TjdU+f6vkED+IDPhTBcMAAAAAASUVORK5CYII='/%3e%3c/defs%3e%3c/svg%3e", Me = { class: "trusted-wrap" }, Ie = { class: "hidden-tablet trusted-toggle is-flex is-align-center" }, Te = ["src"], Ne = ["aria-label", "aria-expanded"], Le = { class: "hidden-desktop trusted-toggle is-flex is-align-center" }, Ee = ["aria-label", "aria-expanded"], ze = {
49
6
  key: 0,
50
7
  class: "trusted-translation is-flex is-align-center"
51
- }, Re = ["hidden"], Ve = { class: "trusted-site-info-content content has-text-body-small is-flex is-justify-space-between" }, Ue = { class: "info-item-wrap is-flex" }, je = { class: "info-item is-flex is-12-mobile is-align-flex-start is-flex-1 my-4" }, Fe = { class: "trusted-icon is-flex is-flex-column has-text-center" }, Qe = { class: "icon circle-icon p-3 mb-2" }, Ke = { class: "info-item is-flex is-12-mobile is-align-flex-start is-flex-1 my-4" }, We = { class: "trusted-icon is-flex is-flex-column has-text-center" }, qe = { class: "icon circle-icon p-3 mb-2" }, Xe = { class: "info-content-close mt-4" }, Ye = /* @__PURE__ */ _({
8
+ }, Se = ["hidden"], He = { class: "trusted-site-info-content content has-text-body-small is-flex is-justify-space-between" }, Oe = { class: "info-item-wrap is-flex" }, De = { class: "info-item is-flex is-12-mobile is-align-flex-start is-flex-1 my-4" }, Re = { class: "trusted-icon is-flex is-flex-column has-text-center" }, Ge = { class: "circle-icon p-3 mb-2" }, Pe = { class: "info-item is-flex is-12-mobile is-align-flex-start is-flex-1 my-4" }, Ue = { class: "trusted-icon is-flex is-flex-column has-text-center" }, Ve = { class: "circle-icon p-3 mb-2" }, je = { class: "info-content-close mt-4" }, Ke = /* @__PURE__ */ w({
52
9
  __name: "TrustedSite",
53
10
  props: {
54
11
  compactMobile: { type: Boolean }
55
12
  },
56
13
  setup(t) {
57
- const e = me(), { isVisible: a, setVisibility: o, toggleProps: r } = H({
14
+ const e = pe(), { isVisible: i, setVisibility: n, toggleProps: s } = V({
58
15
  id: "trusted-site-info",
59
16
  escapeKeyHide: !0
60
- }), d = E("infoToggle"), l = E("closeInfoToggle"), $ = E("infoToggleMobile"), f = B(() => a());
61
- return Y(
62
- () => f.value,
63
- (g) => {
64
- g ? Z(() => {
65
- l.value?.focus();
66
- }) : (d.value?.focus(), $.value?.focus());
17
+ }), l = G("infoToggle"), r = G("closeInfoToggle"), k = G("infoToggleMobile"), b = A(() => i());
18
+ return se(
19
+ () => b.value,
20
+ (m) => {
21
+ m ? Z(() => {
22
+ r.value?.focus();
23
+ }) : (l.value?.focus(), k.value?.focus());
67
24
  }
68
- ), (g, b) => (n(), c(T, null, [
69
- s("div", {
25
+ ), (m, p) => (o(), d(z, null, [
26
+ c("div", {
70
27
  id: "trusted-site",
71
- class: S(["is-flex is-justify-space-between", { "is-compact-mobile": t.compactMobile }])
28
+ class: O(["is-flex is-justify-space-between", { "is-compact-mobile": t.compactMobile }])
72
29
  }, [
73
- s("div", Te, [
74
- s("div", Se, [
75
- s("img", {
76
- src: i(Ae),
30
+ c("div", Me, [
31
+ c("div", Ie, [
32
+ c("img", {
33
+ src: a(Ae),
77
34
  alt: "",
78
35
  class: "icon"
79
- }, null, 8, Ee),
80
- b[2] || (b[2] = s("div", { class: "content mx-2" }, "An official website of the City of Philadelphia government", -1)),
81
- s("button", M({
36
+ }, null, 8, Te),
37
+ p[2] || (p[2] = c("div", { class: "content mx-2" }, "An official website of the City of Philadelphia government", -1)),
38
+ c("button", I({
82
39
  ref_key: "infoToggle",
83
- ref: d,
40
+ ref: l,
84
41
  class: "phila-button is-extra-small",
85
- "aria-label": `${f.value ? "Close" : "Open"} Trusted Site information panel`,
42
+ "aria-label": `${b.value ? "Close" : "Open"} Trusted Site information panel`,
86
43
  "aria-controls": "trusted-site-info",
87
- "aria-expanded": f.value
88
- }, i(r)), [
89
- b[1] || (b[1] = A(" Here's how you know ", -1)),
90
- s("span", He, [
91
- p(i(L), {
92
- icon: f.value ? i(le) : i(re)
93
- }, null, 8, ["icon"])
94
- ])
95
- ], 16, Ie)
44
+ "aria-expanded": b.value
45
+ }, a(s)), [
46
+ p[1] || (p[1] = H(" Here's how you know ", -1)),
47
+ g(a(N), {
48
+ icon: b.value ? a(J) : a(ee),
49
+ inline: !0,
50
+ decorative: !0
51
+ }, null, 8, ["icon"])
52
+ ], 16, Ne)
96
53
  ]),
97
- s("div", Oe, [
98
- s("button", M({
54
+ c("div", Le, [
55
+ c("button", I({
99
56
  ref_key: "infoToggleMobile",
100
- ref: $,
57
+ ref: k,
101
58
  class: "phila-button is-extra-small",
102
- "aria-label": `${f.value ? "Close" : "Open"} Trusted Site information panel`,
59
+ "aria-label": `${b.value ? "Close" : "Open"} Trusted Site information panel`,
103
60
  "aria-controls": "trusted-site-info",
104
- "aria-expanded": f.value
105
- }, i(r)), [
106
- b[3] || (b[3] = A(" An official website ", -1)),
107
- s("span", De, [
108
- p(i(L), { icon: i(ce) }, null, 8, ["icon"])
109
- ])
110
- ], 16, Ge)
61
+ "aria-expanded": b.value
62
+ }, a(s)), [
63
+ p[3] || (p[3] = H(" An official website ", -1)),
64
+ g(a(N), {
65
+ icon: a(de),
66
+ size: "extra-small",
67
+ decorative: !0
68
+ }, null, 8, ["icon"])
69
+ ], 16, Ee)
111
70
  ])
112
71
  ]),
113
- i(e).translation ? (n(), c("div", Pe, [
114
- v(g.$slots, "translation", {}, void 0, !0)
115
- ])) : y("", !0)
72
+ a(e).translation ? (o(), d("div", ze, [
73
+ v(m.$slots, "translation", {}, void 0, !0)
74
+ ])) : $("", !0)
116
75
  ], 2),
117
- s("div", {
76
+ c("div", {
118
77
  id: "trusted-site-info",
119
78
  class: "px-6",
120
- hidden: !f.value
79
+ hidden: !b.value
121
80
  }, [
122
- s("div", Ve, [
123
- s("div", Ue, [
124
- s("div", je, [
125
- s("div", Fe, [
126
- s("span", Qe, [
127
- p(i(L), { icon: i(Ne) }, null, 8, ["icon"])
81
+ c("div", He, [
82
+ c("div", Oe, [
83
+ c("div", De, [
84
+ c("div", Re, [
85
+ c("span", Ge, [
86
+ g(a(N), {
87
+ icon: a(ye),
88
+ inline: !0,
89
+ decorative: !0
90
+ }, null, 8, ["icon"])
128
91
  ]),
129
- b[4] || (b[4] = s("span", { class: "has-text-bold" }, ".gov", -1))
92
+ p[4] || (p[4] = c("span", { class: "has-text-bold" }, ".gov", -1))
130
93
  ]),
131
- b[5] || (b[5] = s("div", { class: "trusted-text m-4" }, "Only government entities in the U.S. can end in .gov", -1))
94
+ p[5] || (p[5] = c("div", { class: "trusted-text m-4" }, "Only government entities in the U.S. can end in .gov", -1))
132
95
  ]),
133
- s("div", Ke, [
134
- s("div", We, [
135
- s("div", qe, [
136
- p(i(L), { icon: i(Ce) }, null, 8, ["icon"])
96
+ c("div", Pe, [
97
+ c("div", Ue, [
98
+ c("div", Ve, [
99
+ g(a(N), {
100
+ icon: a(_e),
101
+ inline: !0,
102
+ decorative: !0
103
+ }, null, 8, ["icon"])
137
104
  ]),
138
- b[6] || (b[6] = s("span", { class: "has-text-bold" }, "https://", -1))
105
+ p[6] || (p[6] = c("span", { class: "has-text-bold" }, "https://", -1))
139
106
  ]),
140
- b[7] || (b[7] = s("div", { class: "trusted-text m-4" }, " The https:// in the address bar means your information is encrypted and can not be accessed by anyone else ", -1))
107
+ p[7] || (p[7] = c("div", { class: "trusted-text m-4" }, " The https:// in the address bar means your information is encrypted and can not be accessed by anyone else ", -1))
141
108
  ])
142
109
  ]),
143
- s("div", Xe, [
144
- s("button", {
110
+ c("div", je, [
111
+ c("button", {
145
112
  ref_key: "closeInfoToggle",
146
- ref: l,
113
+ ref: r,
147
114
  class: "phila-button phila-button--primary icon-button is-extra-small",
148
115
  "aria-label": "Close Trusted Site information panel",
149
- onClick: b[0] || (b[0] = (u) => i(o)(!1))
116
+ onClick: p[0] || (p[0] = (u) => a(n)(!1))
150
117
  }, [
151
- p(i(L), { icon: i(Me) }, null, 8, ["icon"])
118
+ g(a(N), {
119
+ icon: a(U),
120
+ size: "extra-small",
121
+ decorative: !0
122
+ }, null, 8, ["icon"])
152
123
  ], 512)
153
124
  ])
154
125
  ])
155
- ], 8, Re)
126
+ ], 8, Se)
156
127
  ], 64));
157
128
  }
158
- }), V = (t, e) => {
159
- const a = t.__vccOpts || t;
160
- for (const [o, r] of e)
161
- a[o] = r;
162
- return a;
163
- }, Ze = /* @__PURE__ */ V(Ye, [["__scopeId", "data-v-7ba68309"]]), Je = {
129
+ }), R = (t, e) => {
130
+ const i = t.__vccOpts || t;
131
+ for (const [n, s] of e)
132
+ i[n] = s;
133
+ return i;
134
+ }, Fe = /* @__PURE__ */ R(Ke, [["__scopeId", "data-v-dee4f05c"]]), Qe = {
164
135
  key: 0,
165
136
  class: "phila-navbar-end"
166
- }, W = "5rem", et = /* @__PURE__ */ _({
137
+ }, ie = "5rem", We = /* @__PURE__ */ w({
167
138
  __name: "index",
168
139
  props: {
169
140
  id: {},
@@ -174,30 +145,30 @@ const Ae = "data:image/svg+xml,%3csvg%20width='16'%20height='11'%20viewBox='0%20
174
145
  links: { default: () => [{ text: "Home", href: "#" }] }
175
146
  },
176
147
  setup(t) {
177
- const e = t, { visibilityState: a } = H({ group: "app-header" }), o = E("navBarElement"), r = z(W), d = z(0), l = _e(() => {
178
- const f = (o.value?.offsetTop || 0) + (o.value?.offsetHeight || 0), g = typeof window < "u" ? window.innerWidth : 1024;
179
- r.value = !e.sticky || g < 1024 ? f + "px" : W, d.value = f;
180
- }, 100), $ = B(() => a.value?.appHeader);
181
- return Y(() => $.value, l, { deep: !0, immediate: !0 }), he(() => {
182
- window.addEventListener("resize", l);
183
- }), J(() => {
184
- window.removeEventListener("resize", l);
185
- }), (f, g) => (n(), c("nav", {
148
+ const e = t, { visibilityState: i } = V({ group: "app-header" }), n = G("navBarElement"), s = M(ie), l = M(0), r = Be(() => {
149
+ const b = (n.value?.offsetTop || 0) + (n.value?.offsetHeight || 0), m = typeof window < "u" ? window.innerWidth : 1024;
150
+ s.value = !e.sticky || m < 1024 ? b + "px" : ie, l.value = b;
151
+ }, 100), k = A(() => i.value?.appHeader);
152
+ return se(() => k.value, r, { deep: !0, immediate: !0 }), oe(() => {
153
+ window.addEventListener("resize", r);
154
+ }), le(() => {
155
+ window.removeEventListener("resize", r);
156
+ }), (b, m) => (o(), d("nav", {
186
157
  ref_key: "navBarElement",
187
- ref: o,
188
- class: S(["phila-navbar has-links-on-primary", { "is-sticky-desktop": t.sticky, "is-compact-mobile": t.compactMobile }]),
158
+ ref: n,
159
+ class: O(["phila-navbar has-links-on-primary", { "is-sticky-desktop": t.sticky, "is-compact-mobile": t.compactMobile }]),
189
160
  "aria-label": "Main navigation",
190
- style: ee(`--nav-height:${r.value};--nav-bottom:${d.value}px`)
161
+ style: re(`--nav-height:${s.value};--nav-bottom:${l.value}px`)
191
162
  }, [
192
- v(f.$slots, "navbar-toggle", {}, void 0, !0),
193
- v(f.$slots, "navbar-left", {}, void 0, !0),
194
- v(f.$slots, "navbar-right", {}, void 0, !0),
195
- f.$slots["navbar-end"] ? (n(), c("div", Je, [
196
- v(f.$slots, "navbar-end", {}, void 0, !0)
197
- ])) : y("", !0)
163
+ v(b.$slots, "navbar-toggle", {}, void 0, !0),
164
+ v(b.$slots, "navbar-left", {}, void 0, !0),
165
+ v(b.$slots, "navbar-right", {}, void 0, !0),
166
+ b.$slots["navbar-end"] ? (o(), d("div", Qe, [
167
+ v(b.$slots, "navbar-end", {}, void 0, !0)
168
+ ])) : $("", !0)
198
169
  ], 6));
199
170
  }
200
- }), tt = /* @__PURE__ */ V(et, [["__scopeId", "data-v-8a07f1df"]]), it = { class: "site-wide-alert content" }, at = { class: "alert-content" }, st = { class: "content-text" }, nt = { class: "title" }, ot = { class: "body" }, lt = /* @__PURE__ */ _({
171
+ }), qe = /* @__PURE__ */ R(We, [["__scopeId", "data-v-8a07f1df"]]), Xe = { class: "site-wide-alert content" }, Ye = { class: "alert-content" }, Ze = { class: "content-text" }, Je = { class: "title" }, et = { class: "body" }, tt = /* @__PURE__ */ w({
201
172
  __name: "AlertBanner",
202
173
  props: {
203
174
  bannerTitle: {},
@@ -205,36 +176,36 @@ const Ae = "data:image/svg+xml,%3csvg%20width='16'%20height='11'%20viewBox='0%20
205
176
  },
206
177
  setup(t) {
207
178
  const e = t;
208
- return (a, o) => (n(), c("div", it, [
209
- s("div", at, [
210
- p(i($e), {
211
- "icon-definition": i(Be),
179
+ return (i, n) => (o(), d("div", Xe, [
180
+ c("div", Ye, [
181
+ g(a(N), {
182
+ icon: a($e),
212
183
  size: "small",
213
184
  decorative: !0
214
- }, null, 8, ["icon-definition"]),
215
- s("div", st, [
216
- s("h6", nt, w(e.bannerTitle), 1),
217
- s("div", ot, w(e.bannerMessage), 1)
185
+ }, null, 8, ["icon"]),
186
+ c("div", Ze, [
187
+ c("h6", Je, x(e.bannerTitle), 1),
188
+ c("div", et, x(e.bannerMessage), 1)
218
189
  ])
219
190
  ])
220
191
  ]));
221
192
  }
222
- }), rt = { class: "phila-navbar-item phila-navbar-list is-flex is-align-center is-justify-space-between content has-text-label-default hidden-tablet" }, ct = ["href"], dt = ["id", "onMouseenter", "onMouseleave"], ut = ["href", "aria-controls", "aria-expanded", "data-toggle", "onTouchend", "onClick"], vt = {
193
+ }), at = /* @__PURE__ */ R(tt, [["__scopeId", "data-v-f391cc47"]]), it = { class: "phila-navbar-item phila-navbar-list is-flex is-align-center is-justify-space-between content has-text-label-default hidden-tablet" }, nt = ["href"], st = ["id", "onMouseenter", "onMouseleave"], ot = ["href", "aria-controls", "aria-expanded", "data-toggle", "onTouchend", "onClick"], lt = {
223
194
  key: 0,
224
195
  class: "content nav-flyout has-background-ghost-gray px-6 py-4",
225
196
  tabindex: "-1"
226
- }, ft = {
197
+ }, rt = {
227
198
  class: "is-flex is-flex-column is-flex-wrap-wrap",
228
199
  style: { gap: "var(--spacing-4xl)" }
229
- }, bt = ["href"], pt = /* @__PURE__ */ _({
200
+ }, ct = ["href"], dt = /* @__PURE__ */ w({
230
201
  __name: "NavbarLinks",
231
202
  props: {
232
203
  links: {},
233
204
  visibilityGroup: {}
234
205
  },
235
206
  setup(t) {
236
- const e = (g) => !!(g.subLinks || g.subNav), a = (g) => `main-nav-${g.text.split(" ").join("-").toLowerCase().replace(/[^a-z0-9-]/g, "")}`, o = t, { setVisibility: r, create: d, isVisible: l, onMouseEnter: $, onMouseLeave: f } = H({
237
- group: o.visibilityGroup,
207
+ const e = (m) => !!(m.subLinks || m.subNav), i = (m) => `main-nav-${m.text.split(" ").join("-").toLowerCase().replace(/[^a-z0-9-]/g, "")}`, n = t, { setVisibility: s, create: l, isVisible: r, onMouseEnter: k, onMouseLeave: b } = V({
208
+ group: n.visibilityGroup,
238
209
  outsideClickHide: !0,
239
210
  escapeKeyHide: !0,
240
211
  mouseOverToggle: !0,
@@ -242,83 +213,85 @@ const Ae = "data:image/svg+xml,%3csvg%20width='16'%20height='11'%20viewBox='0%20
242
213
  showSingle: !0
243
214
  });
244
215
  return ge(() => {
245
- o.links?.forEach((g) => {
246
- if (e(g)) {
247
- const b = a(g);
248
- d(b);
216
+ n.links?.forEach((m) => {
217
+ if (e(m)) {
218
+ const p = i(m);
219
+ l(p);
249
220
  }
250
221
  });
251
- }), (g, b) => (n(), c("div", rt, [
252
- (n(!0), c(T, null, Q(t.links, (u, O) => (n(), c(T, null, [
253
- e(u) ? (n(), c("div", {
254
- id: `${o.visibilityGroup}-item-${a(u)}`,
255
- key: `navbar-link-${O}`,
222
+ }), (m, p) => (o(), d("div", it, [
223
+ (o(!0), d(z, null, K(t.links, (u, E) => (o(), d(z, null, [
224
+ e(u) ? (o(), d("div", {
225
+ id: `${n.visibilityGroup}-item-${i(u)}`,
226
+ key: `navbar-link-${E}`,
256
227
  class: "phila-navbar-link-list-item",
257
- onMouseenter: (x) => i($)(a(u)),
258
- onMouseleave: (x) => i(f)(a(u))
228
+ onMouseenter: (y) => a(k)(i(u)),
229
+ onMouseleave: (y) => a(b)(i(u))
259
230
  }, [
260
- s("a", {
231
+ c("a", {
261
232
  href: u.href,
262
- class: S(["phila-navbar-link px-4", { "phila-navbar-item-flyout-active": i(l)(a(u)) }]),
263
- "aria-controls": a(u),
264
- "aria-expanded": i(l)(a(u)),
265
- "data-toggle": `visibility-${a(u)}`,
233
+ class: O(["phila-navbar-link px-4", { "phila-navbar-item-flyout-active": a(r)(i(u)) }]),
234
+ "aria-controls": i(u),
235
+ "aria-expanded": a(r)(i(u)),
236
+ "data-toggle": `visibility-${i(u)}`,
266
237
  tabindex: "0",
267
- onTouchend: (x) => i(r)(!i(l)(a(u)), a(u)),
268
- onClick: te((x) => i(r)(!i(l)(a(u)), a(u)), ["prevent"])
238
+ onTouchend: (y) => a(s)(!a(r)(i(u)), i(u)),
239
+ onClick: F((y) => a(s)(!a(r)(i(u)), i(u)), ["prevent"])
269
240
  }, [
270
- A(w(u.text) + " ", 1),
271
- p(i(L), {
272
- class: "ml-1",
273
- icon: i(l)(a(u)) ? i(le) : i(re)
241
+ H(x(u.text) + " ", 1),
242
+ g(a(N), {
243
+ icon: a(r)(i(u)) ? a(J) : a(ee),
244
+ inline: !0,
245
+ decorative: !0,
246
+ class: "ml-1"
274
247
  }, null, 8, ["icon"])
275
- ], 42, ut),
276
- (n(), k(i(ae), {
277
- id: a(u),
248
+ ], 42, ot),
249
+ (o(), B(a(ue), {
250
+ id: i(u),
278
251
  key: u.text,
279
252
  "allow-escape": "",
280
- hidden: !i(l)(a(u)),
281
- onEscape: (x) => i(r)(!1, a(u))
253
+ hidden: !a(r)(i(u)),
254
+ onEscape: (y) => a(s)(!1, i(u))
282
255
  }, {
283
- default: h(() => [
284
- u.subLinks ? (n(), c("div", vt, [
285
- s("ul", ft, [
286
- (n(!0), c(T, null, Q(u.subLinks, (x) => (n(), c("li", {
287
- key: x.text,
256
+ default: _(() => [
257
+ u.subLinks ? (o(), d("div", lt, [
258
+ c("ul", rt, [
259
+ (o(!0), d(z, null, K(u.subLinks, (y) => (o(), d("li", {
260
+ key: y.text,
288
261
  class: "sub-nav-link is-flex is-align-center",
289
262
  style: { width: "150px" }
290
263
  }, [
291
- s("a", {
292
- href: x.href,
264
+ c("a", {
265
+ href: y.href,
293
266
  class: "has-text-link has-text-weight-medium",
294
267
  tabindex: "0"
295
- }, w(x.text), 9, bt)
268
+ }, x(y.text), 9, ct)
296
269
  ]))), 128))
297
270
  ])
298
- ])) : (n(), k(ie(u.subNav), { key: 1 }))
271
+ ])) : (o(), B(ce(u.subNav), { key: 1 }))
299
272
  ]),
300
273
  _: 2
301
274
  }, 1032, ["id", "hidden", "onEscape"]))
302
- ], 40, dt)) : (n(), c("div", {
303
- key: `link-${O}`,
275
+ ], 40, st)) : (o(), d("div", {
276
+ key: `link-${E}`,
304
277
  class: "phila-navbar-link-list-item"
305
278
  }, [
306
- s("a", {
279
+ c("a", {
307
280
  href: u.href,
308
281
  class: "phila-navbar-link px-4",
309
282
  tabindex: "0"
310
- }, w(u.text), 9, ct)
283
+ }, x(u.text), 9, nt)
311
284
  ]))
312
285
  ], 64))), 256))
313
286
  ]));
314
287
  }
315
- }), mt = { class: "phila-navbar-search is-flex" }, ht = { id: "navbar-search" }, gt = { class: "pr-4" }, yt = ["aria-controls", "data-toggle", "aria-expanded", "aria-label"], _t = { class: "icon" }, $t = /* @__PURE__ */ _({
288
+ }), ut = { class: "phila-navbar-search is-flex" }, vt = { id: "navbar-search" }, ft = { class: "pr-4" }, bt = ["aria-controls", "data-toggle", "aria-expanded", "aria-label"], pt = /* @__PURE__ */ w({
316
289
  __name: "NavbarSearch",
317
290
  props: {
318
291
  visibilityGroup: {}
319
292
  },
320
293
  setup(t) {
321
- const e = t, { setVisibility: a, isVisible: o } = H({
294
+ const e = t, { setVisibility: i, isVisible: n } = V({
322
295
  id: `${e.visibilityGroup}-flyout-navbar-search`,
323
296
  group: e.visibilityGroup,
324
297
  outsideClickHide: !0,
@@ -326,40 +299,39 @@ const Ae = "data:image/svg+xml,%3csvg%20width='16'%20height='11'%20viewBox='0%20
326
299
  blurHide: !0,
327
300
  showSingle: !0
328
301
  });
329
- return (r, d) => (n(), c("div", mt, [
330
- s("div", ht, [
331
- s("div", gt, [
332
- s("button", {
333
- class: S(["phila-button phila-button--primary icon-button is-small", { "phila-navbar-item-flyout-active": i(o)() }]),
302
+ return (s, l) => (o(), d("div", ut, [
303
+ c("div", vt, [
304
+ c("div", ft, [
305
+ c("button", {
306
+ class: O(["phila-button phila-button--primary icon-button is-small", { "phila-navbar-item-flyout-active": a(n)() }]),
334
307
  "aria-controls": `${e.visibilityGroup}-flyout-navbar-search`,
335
308
  "data-toggle": `visibility-${e.visibilityGroup}-flyout-navbar-search`,
336
- "aria-expanded": i(o)(),
337
- "aria-label": `${i(o)() ? "Close" : "Open"} search panel`,
338
- onClick: d[0] || (d[0] = (l) => i(a)(!i(o)()))
309
+ "aria-expanded": a(n)(),
310
+ "aria-label": `${a(n)() ? "Close" : "Open"} search panel`,
311
+ onClick: l[0] || (l[0] = (r) => a(i)(!a(n)()))
339
312
  }, [
340
- s("span", _t, [
341
- p(i(L), {
342
- icon: i(o)() ? i(oe) : i(we)
343
- }, null, 8, ["icon"])
344
- ])
345
- ], 10, yt)
313
+ g(a(N), {
314
+ icon: a(n)() ? a(U) : a(ke),
315
+ decorative: !0
316
+ }, null, 8, ["icon"])
317
+ ], 10, bt)
346
318
  ])
347
319
  ]),
348
- p(i(ae), {
320
+ g(a(ue), {
349
321
  id: `${e.visibilityGroup}-flyout-navbar-search`,
350
322
  "allow-escape": "",
351
323
  class: "nav-flyout is-12",
352
- hidden: !i(o)(),
353
- onEscape: d[1] || (d[1] = (l) => i(a)(!1, `${e.visibilityGroup}-flyout-navbar-search`))
324
+ hidden: !a(n)(),
325
+ onEscape: l[1] || (l[1] = (r) => a(i)(!1, `${e.visibilityGroup}-flyout-navbar-search`))
354
326
  }, {
355
- default: h(() => [
356
- v(r.$slots, "search-panel")
327
+ default: _(() => [
328
+ v(s.$slots, "search-panel")
357
329
  ]),
358
330
  _: 3
359
331
  }, 8, ["id", "hidden"])
360
332
  ]));
361
333
  }
362
- }), xt = /* @__PURE__ */ _({
334
+ }), gt = /* @__PURE__ */ w({
363
335
  __name: "NavbarBrandLogo",
364
336
  props: {
365
337
  logo: {},
@@ -368,22 +340,22 @@ const Ae = "data:image/svg+xml,%3csvg%20width='16'%20height='11'%20viewBox='0%20
368
340
  altText: {}
369
341
  },
370
342
  setup(t) {
371
- const e = t, a = B(() => ({
343
+ const e = t, i = A(() => ({
372
344
  variant: "city",
373
345
  layout: "stacked",
374
346
  colorScheme: "on-primary",
375
347
  href: e.href,
376
348
  ...e.logo
377
349
  }));
378
- return (o, r) => (n(), k(i(xe), M(a.value, { class: "phila-navbar-logo" }), null, 16));
350
+ return (n, s) => (o(), B(a(Ce), I(i.value, { class: "phila-navbar-logo" }), null, 16));
379
351
  }
380
- }), kt = /* @__PURE__ */ V(xt, [["__scopeId", "data-v-3011c249"]]), wt = { class: "phila-navbar-brand is-flex" }, Bt = {
352
+ }), ht = /* @__PURE__ */ R(gt, [["__scopeId", "data-v-3011c249"]]), mt = { class: "phila-navbar-brand is-flex" }, yt = {
381
353
  key: 0,
382
354
  class: "phila-navbar-item phila-navbar-brand-link hidden-tablet"
383
- }, Mt = {
355
+ }, _t = {
384
356
  key: 0,
385
357
  class: "content"
386
- }, Ct = ["href"], Nt = /* @__PURE__ */ _({
358
+ }, $t = ["href"], kt = /* @__PURE__ */ w({
387
359
  __name: "NavbarBrand",
388
360
  props: {
389
361
  brandingImage: {},
@@ -391,67 +363,204 @@ const Ae = "data:image/svg+xml,%3csvg%20width='16'%20height='11'%20viewBox='0%20
391
363
  logo: {}
392
364
  },
393
365
  setup(t) {
394
- return (e, a) => (n(), c("div", wt, [
366
+ return (e, i) => (o(), d("div", mt, [
395
367
  v(e.$slots, "navbar-logo", {}, () => [
396
- t.brandingImage ? (n(), k(kt, M({ key: 0 }, t.brandingImage, { logo: t.logo }), null, 16, ["logo"])) : y("", !0)
368
+ t.brandingImage ? (o(), B(ht, I({ key: 0 }, t.brandingImage, { logo: t.logo }), null, 16, ["logo"])) : $("", !0)
397
369
  ]),
398
- e.$slots["navbar-brand-link"] || t.brandingLink ? (n(), c("div", Bt, [
370
+ e.$slots["navbar-brand-link"] || t.brandingLink ? (o(), d("div", yt, [
399
371
  v(e.$slots, "navbar-brand-link", {}, () => [
400
- t.brandingLink ? (n(), c("div", Mt, [
401
- s("a", {
372
+ t.brandingLink ? (o(), d("div", _t, [
373
+ c("a", {
402
374
  tabindex: "0",
403
375
  href: t.brandingLink.href,
404
376
  class: "has-text-underline"
405
- }, w(t.brandingLink.text), 9, Ct)
406
- ])) : y("", !0)
377
+ }, x(t.brandingLink.text), 9, $t)
378
+ ])) : $("", !0)
407
379
  ])
408
- ])) : y("", !0)
380
+ ])) : $("", !0)
409
381
  ]));
410
382
  }
411
- }), Lt = ["id"], zt = ["aria-controls", "aria-expanded", "aria-label"], At = { class: "icon" }, Tt = ["id", "hidden"], St = /* @__PURE__ */ _({
383
+ }), xt = ["id"], wt = ["aria-controls", "aria-expanded", "aria-label"], Bt = ["id", "hidden"], Ct = /* @__PURE__ */ w({
412
384
  __name: "NavbarBurger",
413
385
  props: {
414
386
  visibilityGroup: {},
415
387
  id: {}
416
388
  },
417
389
  setup(t) {
418
- const e = t, { isVisible: a, toggleProps: o } = H({
390
+ const e = t, { isVisible: i, toggleProps: n } = V({
419
391
  id: e.id,
420
392
  group: e.visibilityGroup,
421
393
  outsideClickHide: !0,
422
394
  escapeKeyHide: !0,
423
395
  blurHide: !1,
424
396
  showSingle: !0
425
- }), r = B(() => a(e.id));
426
- return (d, l) => (n(), c("div", {
397
+ }), s = A(() => i(e.id));
398
+ return (l, r) => (o(), d("div", {
427
399
  id: e.id
428
400
  }, [
429
- s("button", M({
430
- class: ["phila-navbar-burger phila-button icon-button", { "phila-navbar-item-flyout-active": r.value }],
401
+ c("button", I({
402
+ class: ["phila-navbar-burger phila-button icon-button", { "phila-navbar-item-flyout-active": s.value }],
431
403
  "aria-controls": `navbar-burger-flyout-${e.visibilityGroup}`,
432
- "aria-expanded": r.value,
433
- "aria-label": `${r.value ? "Close" : "Open"} mobile navigation panel`
434
- }, i(o)), [
435
- s("span", At, [
436
- p(i(L), {
437
- icon: r.value ? i(oe) : i(Le)
438
- }, null, 8, ["icon"])
439
- ])
440
- ], 16, zt),
441
- s("div", {
404
+ "aria-expanded": s.value,
405
+ "aria-label": `${s.value ? "Close" : "Open"} mobile navigation panel`
406
+ }, a(n)), [
407
+ g(a(N), {
408
+ icon: s.value ? a(U) : a(xe),
409
+ size: "large",
410
+ decorative: !0
411
+ }, null, 8, ["icon"])
412
+ ], 16, wt),
413
+ c("div", {
442
414
  id: `navbar-burger-flyout-${e.visibilityGroup}`,
443
415
  class: "phila-mobile-nav",
444
- hidden: !r.value
416
+ hidden: !s.value
445
417
  }, [
446
- v(d.$slots, "mobile-nav")
447
- ], 8, Tt)
448
- ], 8, Lt));
418
+ v(l.$slots, "mobile-nav")
419
+ ], 8, Bt)
420
+ ], 8, xt));
421
+ }
422
+ }), At = {
423
+ class: "language-inline hidden-tablet",
424
+ "aria-label": "Language selection"
425
+ }, Mt = { class: "is-flex is-align-center is-gap-4" }, It = ["lang", "onClick"], Tt = { class: "language-globe" }, Nt = ["aria-expanded"], Lt = {
426
+ class: "icon",
427
+ "aria-hidden": "true"
428
+ }, Et = {
429
+ class: "icon",
430
+ "aria-hidden": "true"
431
+ }, zt = ["lang", "aria-checked", "tabindex", "onClick"], St = /* @__PURE__ */ w({
432
+ __name: "LanguageSwitcher",
433
+ props: {
434
+ languages: {},
435
+ locale: {}
436
+ },
437
+ emits: ["update:locale"],
438
+ setup(t, { emit: e }) {
439
+ const i = t, n = e, s = M(!1), l = M(-1), r = M(null), k = M(null), b = M([]), m = A(() => i.languages.slice(0, 3));
440
+ function p() {
441
+ s.value = !0, l.value = Math.max(
442
+ 0,
443
+ i.languages.findIndex((f) => f.code === i.locale)
444
+ ), Z(() => y(l.value));
445
+ }
446
+ function u() {
447
+ s.value ? (s.value = !1, l.value = -1) : p();
448
+ }
449
+ function E() {
450
+ s.value = !1, l.value = -1, k.value?.focus();
451
+ }
452
+ function y(f) {
453
+ b.value[f]?.focus();
454
+ }
455
+ function L(f, S) {
456
+ f && (b.value[S] = f);
457
+ }
458
+ function X(f) {
459
+ n("update:locale", f), E();
460
+ }
461
+ function Y(f) {
462
+ (f.key === "ArrowDown" || f.key === "ArrowUp") && (f.preventDefault(), s.value || p());
463
+ }
464
+ function h(f) {
465
+ switch (f.key) {
466
+ case "Escape":
467
+ f.preventDefault(), E();
468
+ break;
469
+ case "ArrowDown":
470
+ f.preventDefault(), l.value = (l.value + 1) % i.languages.length, y(l.value);
471
+ break;
472
+ case "ArrowUp":
473
+ f.preventDefault(), l.value = (l.value - 1 + i.languages.length) % i.languages.length, y(l.value);
474
+ break;
475
+ case "Home":
476
+ f.preventDefault(), l.value = 0, y(l.value);
477
+ break;
478
+ case "End":
479
+ f.preventDefault(), l.value = i.languages.length - 1, y(l.value);
480
+ break;
481
+ case "Tab":
482
+ E();
483
+ break;
484
+ }
485
+ }
486
+ function T(f) {
487
+ r.value && !r.value.contains(f.target) && (s.value = !1, l.value = -1);
488
+ }
489
+ return oe(() => {
490
+ document.addEventListener("click", T);
491
+ }), he(() => {
492
+ document.removeEventListener("click", T);
493
+ }), (f, S) => (o(), d("div", {
494
+ ref_key: "containerRef",
495
+ ref: r,
496
+ class: "language-switcher is-flex is-align-center is-gap-4"
497
+ }, [
498
+ c("nav", At, [
499
+ c("div", Mt, [
500
+ (o(!0), d(z, null, K(m.value, (C) => (o(), d("button", {
501
+ key: C.code,
502
+ lang: C.lang,
503
+ class: "language-link",
504
+ onClick: (D) => n("update:locale", C.code)
505
+ }, x(C.title), 9, It))), 128))
506
+ ])
507
+ ]),
508
+ c("div", Tt, [
509
+ c("button", {
510
+ ref_key: "toggleRef",
511
+ ref: k,
512
+ class: "language-globe-toggle is-flex is-align-center",
513
+ "aria-label": "Select language",
514
+ "aria-haspopup": "true",
515
+ "aria-expanded": s.value,
516
+ onClick: F(u, ["stop"]),
517
+ onKeydown: Y
518
+ }, [
519
+ c("span", Lt, [
520
+ g(a(N), {
521
+ icon: a(we),
522
+ decorative: "",
523
+ inline: "",
524
+ style: { "font-size": "1em" }
525
+ }, null, 8, ["icon"])
526
+ ]),
527
+ c("span", Et, [
528
+ g(a(N), {
529
+ icon: s.value ? a(J) : a(ee),
530
+ decorative: "",
531
+ inline: "",
532
+ style: { "font-size": "1em" }
533
+ }, null, 8, ["icon"])
534
+ ])
535
+ ], 40, Nt),
536
+ s.value ? (o(), d("div", {
537
+ key: 0,
538
+ class: "language-menu",
539
+ role: "menu",
540
+ onKeydown: h
541
+ }, [
542
+ (o(!0), d(z, null, K(t.languages, (C, D) => (o(), d("button", {
543
+ key: C.code,
544
+ ref_for: !0,
545
+ ref: (j) => L(j, D),
546
+ lang: C.lang,
547
+ role: "menuitemradio",
548
+ "aria-checked": C.code === t.locale,
549
+ tabindex: D === l.value ? 0 : -1,
550
+ class: O(["language-menu-item", { "is-selected": C.code === t.locale }]),
551
+ onClick: F((j) => X(C.code), ["stop"])
552
+ }, x(C.title), 11, zt))), 128))
553
+ ], 32)) : $("", !0)
554
+ ])
555
+ ], 512));
449
556
  }
450
- }), ti = /* @__PURE__ */ _({
557
+ }), Ht = /* @__PURE__ */ R(St, [["__scopeId", "data-v-f91f4b58"]]), na = /* @__PURE__ */ w({
451
558
  __name: "AppHeader",
452
559
  props: {
453
560
  showTrustedSite: { type: Boolean, default: !0 },
454
561
  translations: { default: void 0 },
562
+ languages: { default: void 0 },
563
+ locale: { default: void 0 },
455
564
  className: {},
456
565
  id: { default: "main-nav" },
457
566
  sticky: { type: Boolean, default: !0 },
@@ -462,60 +571,67 @@ const Ae = "data:image/svg+xml,%3csvg%20width='16'%20height='11'%20viewBox='0%20
462
571
  bannerTitle: { default: void 0 },
463
572
  bannerMessage: { default: void 0 }
464
573
  },
465
- setup(t) {
466
- return (e, a) => (n(), c(T, null, [
467
- t.showTrustedSite ? (n(), k(Ze, {
574
+ emits: ["update:locale"],
575
+ setup(t, { emit: e }) {
576
+ const i = e;
577
+ return (n, s) => (o(), d(z, null, [
578
+ t.showTrustedSite ? (o(), B(Fe, {
468
579
  key: 0,
469
580
  "compact-mobile": t.compactMobile
470
581
  }, {
471
- translation: h(() => [
472
- v(e.$slots, "translations", {}, () => [
473
- t.translations ? (n(), k(ie(t.translations), { key: 0 })) : y("", !0)
582
+ translation: _(() => [
583
+ v(n.$slots, "translations", {}, () => [
584
+ t.languages ? (o(), B(Ht, {
585
+ key: 0,
586
+ languages: t.languages,
587
+ locale: t.locale ?? "",
588
+ "onUpdate:locale": s[0] || (s[0] = (l) => i("update:locale", l))
589
+ }, null, 8, ["languages", "locale"])) : t.translations ? (o(), B(ce(t.translations), { key: 1 })) : $("", !0)
474
590
  ])
475
591
  ]),
476
592
  _: 3
477
- }, 8, ["compact-mobile"])) : y("", !0),
478
- p(tt, {
593
+ }, 8, ["compact-mobile"])) : $("", !0),
594
+ g(qe, {
479
595
  id: t.id,
480
596
  sticky: t.sticky,
481
597
  "compact-mobile": t.compactMobile
482
- }, K({
483
- "navbar-toggle": h(() => [
484
- v(e.$slots, "navbar-toggle", {}, () => [
485
- p(St, {
598
+ }, ae({
599
+ "navbar-toggle": _(() => [
600
+ v(n.$slots, "navbar-toggle", {}, () => [
601
+ g(Ct, {
486
602
  id: `mobile-nav-${t.id}`,
487
603
  "visibility-group": t.id
488
- }, K({ _: 2 }, [
489
- e.$slots["mobile-nav"] ? {
604
+ }, ae({ _: 2 }, [
605
+ n.$slots["mobile-nav"] ? {
490
606
  name: "mobile-nav",
491
- fn: h(() => [
492
- v(e.$slots, "mobile-nav")
607
+ fn: _(() => [
608
+ v(n.$slots, "mobile-nav")
493
609
  ]),
494
610
  key: "0"
495
611
  } : void 0
496
612
  ]), 1032, ["id", "visibility-group"])
497
613
  ])
498
614
  ]),
499
- "navbar-left": h(() => [
500
- v(e.$slots, "navbar-left", {}, () => [
501
- v(e.$slots, "navbar-brand", {}, () => [
502
- t.navbarBrand ? (n(), k(Nt, I(M({ key: 0 }, t.navbarBrand)), null, 16)) : y("", !0)
615
+ "navbar-left": _(() => [
616
+ v(n.$slots, "navbar-left", {}, () => [
617
+ v(n.$slots, "navbar-brand", {}, () => [
618
+ t.navbarBrand ? (o(), B(kt, P(I({ key: 0 }, t.navbarBrand)), null, 16)) : $("", !0)
503
619
  ])
504
620
  ])
505
621
  ]),
506
- "navbar-right": h(() => [
507
- v(e.$slots, "navbar-right", {}, () => [
508
- v(e.$slots, "navbar-links", {}, () => [
509
- t.links ? (n(), k(pt, {
622
+ "navbar-right": _(() => [
623
+ v(n.$slots, "navbar-right", {}, () => [
624
+ v(n.$slots, "navbar-links", {}, () => [
625
+ t.links ? (o(), B(dt, {
510
626
  key: 0,
511
627
  links: t.links,
512
628
  "visibility-group": t.id
513
- }, null, 8, ["links", "visibility-group"])) : y("", !0)
629
+ }, null, 8, ["links", "visibility-group"])) : $("", !0)
514
630
  ]),
515
- v(e.$slots, "navbar-search", {}, () => [
516
- p($t, { "visibility-group": t.id }, {
517
- "search-panel": h(() => [
518
- v(e.$slots, "search-panel")
631
+ v(n.$slots, "navbar-search", {}, () => [
632
+ g(pt, { "visibility-group": t.id }, {
633
+ "search-panel": _(() => [
634
+ v(n.$slots, "search-panel")
519
635
  ]),
520
636
  _: 3
521
637
  }, 8, ["visibility-group"])
@@ -524,22 +640,22 @@ const Ae = "data:image/svg+xml,%3csvg%20width='16'%20height='11'%20viewBox='0%20
524
640
  ]),
525
641
  _: 2
526
642
  }, [
527
- e.$slots["navbar-end"] ? {
643
+ n.$slots["navbar-end"] ? {
528
644
  name: "navbar-end",
529
- fn: h(() => [
530
- v(e.$slots, "navbar-end")
645
+ fn: _(() => [
646
+ v(n.$slots, "navbar-end")
531
647
  ]),
532
648
  key: "0"
533
649
  } : void 0
534
650
  ]), 1032, ["id", "sticky", "compact-mobile"]),
535
- t.bannerTitle || t.bannerMessage ? (n(), k(lt, {
651
+ t.bannerTitle || t.bannerMessage ? (o(), B(at, {
536
652
  key: 1,
537
653
  "banner-title": t.bannerTitle,
538
654
  "banner-message": t.bannerMessage
539
- }, null, 8, ["banner-title", "banner-message"])) : y("", !0)
655
+ }, null, 8, ["banner-title", "banner-message"])) : $("", !0)
540
656
  ], 64));
541
657
  }
542
- }), Et = ["disabled"], q = /* @__PURE__ */ _({
658
+ }), Ot = ["disabled"], ne = /* @__PURE__ */ w({
543
659
  inheritAttrs: !1,
544
660
  __name: "PhlButton",
545
661
  props: {
@@ -555,33 +671,31 @@ const Ae = "data:image/svg+xml,%3csvg%20width='16'%20height='11'%20viewBox='0%20
555
671
  iconRight: { type: Boolean },
556
672
  text: {},
557
673
  className: {},
558
- iconDefinition: {},
559
- iconClass: {},
674
+ icon: {},
560
675
  src: {},
561
676
  svgRaw: {}
562
677
  },
563
678
  setup(t) {
564
- const e = t, a = (l) => "href" in l && l.href !== void 0 || "to" in l && l.to !== void 0, o = B(() => R(
679
+ const e = t, i = (r) => "href" in r && r.href !== void 0 || "to" in r && r.to !== void 0, n = A(() => q(
565
680
  "phila-button",
566
681
  `phila-button--${e.variant}`,
567
682
  e.size && `is-${e.size}`,
568
683
  e.iconOnly && "icon-button",
569
684
  e.iconOnly && e.variant === "standard" && "icon-button--standard",
570
685
  e.className
571
- )), r = B(() => a(e) ? "to" in e && e.to !== void 0 ? {
686
+ )), s = A(() => i(e) ? "to" in e && e.to !== void 0 ? {
572
687
  to: e.to,
573
688
  disabled: e.disabled,
574
- className: o.value
689
+ className: n.value
575
690
  } : {
576
691
  href: e.href,
577
692
  target: e.target,
578
693
  rel: e.rel,
579
694
  disabled: e.disabled,
580
- className: o.value
581
- } : {}), d = B(
695
+ className: n.value
696
+ } : {}), l = A(
582
697
  () => ({
583
- iconDefinition: e.iconDefinition,
584
- iconClass: e.iconClass,
698
+ icon: e.icon,
585
699
  src: e.src,
586
700
  iconRight: e.iconRight,
587
701
  iconOnly: e.iconOnly,
@@ -589,51 +703,45 @@ const Ae = "data:image/svg+xml,%3csvg%20width='16'%20height='11'%20viewBox='0%20
589
703
  size: e.size
590
704
  })
591
705
  );
592
- return (l, $) => a(e) ? (n(), k(i(se), M({ key: 0 }, { ...r.value, ...l.$attrs }, { role: "button" }), {
593
- default: h(() => [
594
- p(i(P), I(D(d.value)), {
595
- default: h(() => [
596
- v(l.$slots, "default", {}, () => [
597
- A(w(e.text), 1)
706
+ return (r, k) => i(e) ? (o(), B(a(ve), I({ key: 0 }, { ...s.value, ...r.$attrs }, { role: "button" }), {
707
+ default: _(() => [
708
+ g(a(W), P(Q(l.value)), {
709
+ default: _(() => [
710
+ v(r.$slots, "default", {}, () => [
711
+ H(x(e.text), 1)
598
712
  ])
599
713
  ]),
600
714
  _: 3
601
715
  }, 16)
602
716
  ]),
603
717
  _: 3
604
- }, 16)) : (n(), c("button", M({
718
+ }, 16)) : (o(), d("button", I({
605
719
  key: 1,
606
720
  type: "button",
607
721
  disabled: e.disabled,
608
- class: o.value
609
- }, l.$attrs), [
610
- p(i(P), I(D(d.value)), {
611
- default: h(() => [
612
- v(l.$slots, "default", {}, () => [
613
- A(w(e.text), 1)
722
+ class: n.value
723
+ }, r.$attrs), [
724
+ g(a(W), P(Q(l.value)), {
725
+ default: _(() => [
726
+ v(r.$slots, "default", {}, () => [
727
+ H(x(e.text), 1)
614
728
  ])
615
729
  ]),
616
730
  _: 3
617
731
  }, 16)
618
- ], 16, Et));
732
+ ], 16, Ot));
619
733
  }
620
- });
621
- var X = {
622
- prefix: "fas",
623
- iconName: "xmark",
624
- icon: [384, 512, [128473, 10005, 10006, 10060, 215, "close", "multiply", "remove", "times"], "f00d", "M55.1 73.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3L147.2 256 9.9 393.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0L192.5 301.3 329.9 438.6c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L237.8 256 375.1 118.6c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L192.5 210.7 55.1 73.4z"]
625
- };
626
- const It = ["id"], Ht = {
734
+ }), Dt = ["id"], Rt = {
627
735
  key: 0,
628
736
  class: "tooltip__tail",
629
737
  "aria-hidden": "true"
630
- }, Ot = {
738
+ }, Gt = {
631
739
  key: 1,
632
740
  class: "tooltip__plain-row has-text-body-small"
633
- }, Gt = {
741
+ }, Pt = {
634
742
  key: 0,
635
743
  class: "tooltip__title-row"
636
- }, Dt = { key: 0 }, Pt = /* @__PURE__ */ _({
744
+ }, Ut = { key: 0 }, Vt = /* @__PURE__ */ w({
637
745
  __name: "TooltipBubble",
638
746
  props: {
639
747
  id: {},
@@ -647,8 +755,8 @@ const It = ["id"], Ht = {
647
755
  },
648
756
  emits: ["dismiss"],
649
757
  setup(t) {
650
- const e = t, a = B(
651
- () => R(
758
+ const e = t, i = A(
759
+ () => q(
652
760
  "tooltip",
653
761
  "content",
654
762
  "resets-link-colors",
@@ -658,48 +766,48 @@ const It = ["id"], Ht = {
658
766
  e.className
659
767
  )
660
768
  );
661
- return (o, r) => (n(), c("div", {
769
+ return (n, s) => (o(), d("div", {
662
770
  id: t.id,
663
- class: S(a.value),
771
+ class: O(i.value),
664
772
  role: "tooltip"
665
773
  }, [
666
- t.tail ? (n(), c("div", Ht)) : y("", !0),
667
- t.type === "plain" ? (n(), c("div", Ot, [
668
- v(o.$slots, "default", {}, void 0, !0),
669
- t.dismissable ? (n(), k(i(q), {
774
+ t.tail ? (o(), d("div", Rt)) : $("", !0),
775
+ t.type === "plain" ? (o(), d("div", Gt, [
776
+ v(n.$slots, "default", {}, void 0, !0),
777
+ t.dismissable ? (o(), B(a(ne), {
670
778
  key: 0,
671
779
  class: "tooltip__dismiss",
672
780
  variant: "standard",
673
781
  size: "extra-small",
674
782
  "icon-only": !0,
675
- "icon-definition": i(X),
783
+ icon: a(U),
676
784
  "aria-label": "Dismiss tooltip",
677
- onClick: r[0] || (r[0] = (d) => o.$emit("dismiss"))
678
- }, null, 8, ["icon-definition"])) : y("", !0)
679
- ])) : (n(), c(T, { key: 2 }, [
680
- t.title || t.dismissable ? (n(), c("div", Gt, [
681
- t.title ? (n(), c("h6", Dt, w(t.title), 1)) : y("", !0),
682
- t.dismissable ? (n(), k(i(q), {
785
+ onClick: s[0] || (s[0] = (l) => n.$emit("dismiss"))
786
+ }, null, 8, ["icon"])) : $("", !0)
787
+ ])) : (o(), d(z, { key: 2 }, [
788
+ t.title || t.dismissable ? (o(), d("div", Pt, [
789
+ t.title ? (o(), d("h6", Ut, x(t.title), 1)) : $("", !0),
790
+ t.dismissable ? (o(), B(a(ne), {
683
791
  key: 1,
684
792
  class: "tooltip__dismiss",
685
793
  variant: "standard",
686
794
  size: "extra-small",
687
795
  "icon-only": !0,
688
- "icon-definition": i(X),
796
+ icon: a(U),
689
797
  "aria-label": "Dismiss tooltip",
690
- onClick: r[1] || (r[1] = (d) => o.$emit("dismiss"))
691
- }, null, 8, ["icon-definition"])) : y("", !0)
692
- ])) : y("", !0),
693
- v(o.$slots, "default", {}, void 0, !0)
798
+ onClick: s[1] || (s[1] = (l) => n.$emit("dismiss"))
799
+ }, null, 8, ["icon"])) : $("", !0)
800
+ ])) : $("", !0),
801
+ v(n.$slots, "default", {}, void 0, !0)
694
802
  ], 64))
695
- ], 10, It));
803
+ ], 10, Dt));
696
804
  }
697
- }), de = (t, e) => {
698
- const a = t.__vccOpts || t;
699
- for (const [o, r] of e)
700
- a[o] = r;
701
- return a;
702
- }, Rt = /* @__PURE__ */ de(Pt, [["__scopeId", "data-v-7ccd7c7d"]]), Vt = /* @__PURE__ */ _({
805
+ }), fe = (t, e) => {
806
+ const i = t.__vccOpts || t;
807
+ for (const [n, s] of e)
808
+ i[n] = s;
809
+ return i;
810
+ }, jt = /* @__PURE__ */ fe(Vt, [["__scopeId", "data-v-7af177ec"]]), Kt = /* @__PURE__ */ w({
703
811
  __name: "Tooltip",
704
812
  props: {
705
813
  trigger: { default: "hover" },
@@ -712,75 +820,75 @@ const It = ["id"], Ht = {
712
820
  className: {}
713
821
  },
714
822
  setup(t, { expose: e }) {
715
- const a = t, o = ye(), r = z(!1), d = z(null), l = z(null), $ = z("top-center"), f = z(0), g = () => {
716
- const m = d.value?.getBoundingClientRect();
717
- if (!m) return "top-center";
718
- const { innerWidth: N, innerHeight: U } = window, G = m.top, fe = U - m.bottom, j = l.value?.firstElementChild?.getBoundingClientRect().height ?? 0, be = (j > 0 ? G >= j : G >= fe) ? "top" : "bottom", F = m.left + m.width / 2, pe = F < N / 3 ? "left" : F > N * 2 / 3 ? "right" : "center";
719
- return `${be}-${pe}`;
720
- }, b = (m) => {
721
- m.key === "Escape" && C();
722
- }, u = (m) => {
723
- d.value && !d.value.contains(m.target) && C();
823
+ const i = t, n = me(), s = M(!1), l = M(null), r = M(null), k = M("top-center"), b = M(0), m = () => {
824
+ const h = l.value?.getBoundingClientRect();
825
+ if (!h) return "top-center";
826
+ const { innerWidth: T, innerHeight: f } = window, S = h.top, C = f - h.bottom, D = r.value?.firstElementChild?.getBoundingClientRect().height ?? 0, j = (D > 0 ? S >= D : S >= C) ? "top" : "bottom", te = h.left + h.width / 2, be = te < T / 3 ? "left" : te > T * 2 / 3 ? "right" : "center";
827
+ return `${j}-${be}`;
828
+ }, p = (h) => {
829
+ h.key === "Escape" && L();
830
+ }, u = (h) => {
831
+ l.value && !l.value.contains(h.target) && L();
724
832
  };
725
- function O() {
726
- const m = l.value?.firstElementChild?.getBoundingClientRect();
727
- if (!m) return;
728
- const N = 8, U = m.right - (window.innerWidth - N), G = N - m.left;
729
- U <= 0 && G <= 0 || (f.value = window.innerWidth / 2 - (m.left + m.width / 2));
833
+ function E() {
834
+ const h = r.value?.firstElementChild?.getBoundingClientRect();
835
+ if (!h) return;
836
+ const T = 8, f = h.right - (window.innerWidth - T), S = T - h.left;
837
+ f <= 0 && S <= 0 || (b.value = window.innerWidth / 2 - (h.left + h.width / 2));
730
838
  }
731
- const x = async () => {
732
- a.placement === "auto" ? $.value = g() : $.value = a.placement, f.value = 0, r.value = !0, document.addEventListener("keydown", b), a.trigger === "click" && document.addEventListener("click", u), await Z(), O();
733
- }, C = () => {
734
- r.value = !1, document.removeEventListener("keydown", b), document.removeEventListener("click", u);
735
- }, ue = () => {
736
- r.value ? C() : x();
839
+ const y = async () => {
840
+ i.placement === "auto" ? k.value = m() : k.value = i.placement, b.value = 0, s.value = !0, document.addEventListener("keydown", p), i.trigger === "click" && document.addEventListener("click", u), await Z(), E();
841
+ }, L = () => {
842
+ s.value = !1, document.removeEventListener("keydown", p), document.removeEventListener("click", u);
843
+ }, X = () => {
844
+ s.value ? L() : y();
737
845
  };
738
- J(C), e({ show: x, hide: C });
739
- const ve = B(() => ({
740
- type: a.type,
741
- color: a.color,
742
- tail: a.tail,
743
- placement: $.value,
744
- title: a.title,
745
- dismissable: a.dismissable
846
+ le(L), e({ show: y, hide: L });
847
+ const Y = A(() => ({
848
+ type: i.type,
849
+ color: i.color,
850
+ tail: i.tail,
851
+ placement: k.value,
852
+ title: i.title,
853
+ dismissable: i.dismissable
746
854
  }));
747
- return (m, N) => (n(), c("span", M(
855
+ return (h, T) => (o(), d("span", I(
748
856
  {
749
857
  ref_key: "wrapperEl",
750
- ref: d,
751
- class: i(R)("tooltip-trigger", a.className)
858
+ ref: l,
859
+ class: a(q)("tooltip-trigger", i.className)
752
860
  },
753
- t.trigger === "click" ? { onClick: ue } : { onMouseenter: x, onMouseleave: C, onFocusin: x, onFocusout: C }
861
+ t.trigger === "click" ? { onClick: X } : { onMouseenter: y, onMouseleave: L, onFocusin: y, onFocusout: L }
754
862
  ), [
755
- v(m.$slots, "default", {
756
- tooltipId: i(o),
757
- isOpen: r.value
863
+ v(h.$slots, "default", {
864
+ tooltipId: a(n),
865
+ isOpen: s.value
758
866
  }, void 0, !0),
759
- s("span", {
867
+ c("span", {
760
868
  ref_key: "positionerEl",
761
- ref: l,
762
- class: S(["tooltip-trigger__positioner", `tooltip-trigger__positioner--${$.value}`]),
763
- style: ee({
764
- visibility: r.value ? "visible" : "hidden",
869
+ ref: r,
870
+ class: O(["tooltip-trigger__positioner", `tooltip-trigger__positioner--${k.value}`]),
871
+ style: re({
872
+ visibility: s.value ? "visible" : "hidden",
765
873
  "--positioner-gap": t.tail ? "var(--spacing-l)" : "0.5rem",
766
- "--adjust-x": `${f.value}px`
874
+ "--adjust-x": `${b.value}px`
767
875
  }),
768
- onClick: N[0] || (N[0] = te(() => {
876
+ onClick: T[0] || (T[0] = F(() => {
769
877
  }, ["stop"]))
770
878
  }, [
771
- p(Rt, M(ve.value, {
772
- id: i(o),
773
- onDismiss: C
879
+ g(jt, I(Y.value, {
880
+ id: a(n),
881
+ onDismiss: L
774
882
  }), {
775
- default: h(() => [
776
- v(m.$slots, "body", {}, void 0, !0)
883
+ default: _(() => [
884
+ v(h.$slots, "body", {}, void 0, !0)
777
885
  ]),
778
886
  _: 3
779
887
  }, 16, ["id"])
780
888
  ], 6)
781
889
  ], 16));
782
890
  }
783
- }), Ut = /* @__PURE__ */ de(Vt, [["__scopeId", "data-v-b3f93b8c"]]), jt = ["disabled"], Ft = /* @__PURE__ */ _({
891
+ }), Ft = /* @__PURE__ */ fe(Kt, [["__scopeId", "data-v-b3f93b8c"]]), Qt = ["disabled"], Wt = /* @__PURE__ */ w({
784
892
  inheritAttrs: !1,
785
893
  __name: "PhlButton",
786
894
  props: {
@@ -796,33 +904,31 @@ const It = ["id"], Ht = {
796
904
  iconRight: { type: Boolean },
797
905
  text: {},
798
906
  className: {},
799
- iconDefinition: {},
800
- iconClass: {},
907
+ icon: {},
801
908
  src: {},
802
909
  svgRaw: {}
803
910
  },
804
911
  setup(t) {
805
- const e = t, a = (l) => "href" in l && l.href !== void 0 || "to" in l && l.to !== void 0, o = B(() => R(
912
+ const e = t, i = (r) => "href" in r && r.href !== void 0 || "to" in r && r.to !== void 0, n = A(() => q(
806
913
  "phila-button",
807
914
  `phila-button--${e.variant}`,
808
915
  e.size && `is-${e.size}`,
809
916
  e.iconOnly && "icon-button",
810
917
  e.iconOnly && e.variant === "standard" && "icon-button--standard",
811
918
  e.className
812
- )), r = B(() => a(e) ? "to" in e && e.to !== void 0 ? {
919
+ )), s = A(() => i(e) ? "to" in e && e.to !== void 0 ? {
813
920
  to: e.to,
814
921
  disabled: e.disabled,
815
- className: o.value
922
+ className: n.value
816
923
  } : {
817
924
  href: e.href,
818
925
  target: e.target,
819
926
  rel: e.rel,
820
927
  disabled: e.disabled,
821
- className: o.value
822
- } : {}), d = B(
928
+ className: n.value
929
+ } : {}), l = A(
823
930
  () => ({
824
- iconDefinition: e.iconDefinition,
825
- iconClass: e.iconClass,
931
+ icon: e.icon,
826
932
  src: e.src,
827
933
  iconRight: e.iconRight,
828
934
  iconOnly: e.iconOnly,
@@ -830,39 +936,39 @@ const It = ["id"], Ht = {
830
936
  size: e.size
831
937
  })
832
938
  );
833
- return (l, $) => a(e) ? (n(), k(i(se), M({ key: 0 }, { ...r.value, ...l.$attrs }, { role: "button" }), {
834
- default: h(() => [
835
- p(i(P), I(D(d.value)), {
836
- default: h(() => [
837
- v(l.$slots, "default", {}, () => [
838
- A(w(e.text), 1)
939
+ return (r, k) => i(e) ? (o(), B(a(ve), I({ key: 0 }, { ...s.value, ...r.$attrs }, { role: "button" }), {
940
+ default: _(() => [
941
+ g(a(W), P(Q(l.value)), {
942
+ default: _(() => [
943
+ v(r.$slots, "default", {}, () => [
944
+ H(x(e.text), 1)
839
945
  ])
840
946
  ]),
841
947
  _: 3
842
948
  }, 16)
843
949
  ]),
844
950
  _: 3
845
- }, 16)) : (n(), c("button", M({
951
+ }, 16)) : (o(), d("button", I({
846
952
  key: 1,
847
953
  type: "button",
848
954
  disabled: e.disabled,
849
- class: o.value
850
- }, l.$attrs), [
851
- p(i(P), I(D(d.value)), {
852
- default: h(() => [
853
- v(l.$slots, "default", {}, () => [
854
- A(w(e.text), 1)
955
+ class: n.value
956
+ }, r.$attrs), [
957
+ g(a(W), P(Q(l.value)), {
958
+ default: _(() => [
959
+ v(r.$slots, "default", {}, () => [
960
+ H(x(e.text), 1)
855
961
  ])
856
962
  ]),
857
963
  _: 3
858
964
  }, 16)
859
- ], 16, jt));
965
+ ], 16, Qt));
860
966
  }
861
- }), Qt = { class: "navbar-info" }, Kt = { class: "navbar-info__group" }, Wt = {
967
+ }), qt = { class: "navbar-info" }, Xt = { class: "navbar-info__group" }, Yt = {
862
968
  key: 0,
863
969
  class: "navbar-info__label has-text-body-default hidden-tablet",
864
970
  "aria-hidden": "true"
865
- }, qt = { class: "has-text-body-small" }, Xt = /* @__PURE__ */ _({
971
+ }, Zt = { class: "has-text-body-small" }, Jt = /* @__PURE__ */ w({
866
972
  __name: "NavbarInfo",
867
973
  props: {
868
974
  infoTitle: {},
@@ -870,53 +976,54 @@ const It = ["id"], Ht = {
870
976
  label: {}
871
977
  },
872
978
  setup(t, { expose: e }) {
873
- const a = E("tooltip");
979
+ const i = G("tooltip");
874
980
  return e({
875
- show: () => a.value?.show(),
876
- hide: () => a.value?.hide()
877
- }), (o, r) => (n(), c("div", Qt, [
878
- p(i(Ut), {
981
+ show: () => i.value?.show(),
982
+ hide: () => i.value?.hide()
983
+ }), (n, s) => (o(), d("div", qt, [
984
+ g(a(Ft), {
879
985
  ref_key: "tooltip",
880
- ref: a,
986
+ ref: i,
881
987
  type: "rich",
882
988
  title: t.infoTitle,
883
989
  trigger: "click",
884
990
  dismissable: !0
885
991
  }, {
886
- default: h(({ tooltipId: d, isOpen: l }) => [
887
- s("span", Kt, [
888
- p(i(Ft), {
992
+ default: _(({ tooltipId: l, isOpen: r }) => [
993
+ c("span", Xt, [
994
+ g(a(Wt), {
889
995
  class: "navbar-info__trigger",
890
996
  variant: "standard",
891
997
  size: "small",
892
998
  "icon-only": !0,
893
- "icon-definition": i(ce),
999
+ icon: a(de),
894
1000
  "aria-label": "More information",
895
- "aria-describedby": d,
896
- "aria-pressed": l
897
- }, null, 8, ["icon-definition", "aria-describedby", "aria-pressed"]),
898
- t.label ? (n(), c("span", Wt, w(t.label), 1)) : y("", !0)
1001
+ "aria-describedby": l,
1002
+ "aria-pressed": r
1003
+ }, null, 8, ["icon", "aria-describedby", "aria-pressed"]),
1004
+ t.label ? (o(), d("span", Yt, x(t.label), 1)) : $("", !0)
899
1005
  ])
900
1006
  ]),
901
- body: h(() => [
902
- v(o.$slots, "default", {}, () => [
903
- s("div", qt, w(t.infoMessage), 1)
1007
+ body: _(() => [
1008
+ v(n.$slots, "default", {}, () => [
1009
+ c("div", Zt, x(t.infoMessage), 1)
904
1010
  ], !0)
905
1011
  ]),
906
1012
  _: 3
907
1013
  }, 8, ["title"])
908
1014
  ]));
909
1015
  }
910
- }), ii = /* @__PURE__ */ V(Xt, [["__scopeId", "data-v-c3989251"]]);
1016
+ }), sa = /* @__PURE__ */ R(Jt, [["__scopeId", "data-v-a29fa022"]]);
911
1017
  export {
912
- lt as AlertBanner,
913
- ti as AppHeader,
914
- tt as NavBar,
915
- Nt as NavbarBrand,
916
- kt as NavbarBrandLogo,
917
- St as NavbarBurger,
918
- ii as NavbarInfo,
919
- pt as NavbarLinks,
920
- $t as NavbarSearch,
921
- Ze as TrustedSite
1018
+ at as AlertBanner,
1019
+ na as AppHeader,
1020
+ Ht as LanguageSwitcher,
1021
+ qe as NavBar,
1022
+ kt as NavbarBrand,
1023
+ ht as NavbarBrandLogo,
1024
+ Ct as NavbarBurger,
1025
+ sa as NavbarInfo,
1026
+ dt as NavbarLinks,
1027
+ pt as NavbarSearch,
1028
+ Fe as TrustedSite
922
1029
  };