@phila/phila-ui-app-header 0.3.0-beta.1 → 0.3.0-beta.2

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,223 +1,223 @@
1
- import { defineComponent as p, useSlots as I, computed as U, createElementBlock as u, openBlock as s, Fragment as _, createElementVNode as a, createCommentVNode as f, unref as t, createTextVNode as y, createVNode as v, renderSlot as m, createBlock as c, withCtx as x, resolveDynamicComponent as C, normalizeClass as w, renderList as A, toDisplayString as k, withKeys as D, useTemplateRef as G, ref as N, watch as H, onMounted as O, onUnmounted as j, normalizeStyle as V, normalizeProps as Q, mergeProps as K } from "vue";
2
- import { FontAwesomeIcon as b } from "@fortawesome/vue-fontawesome";
3
- import { useCollapse as L, debounce as F, Icon as R } from "@phila/phila-ui-core";
4
- import { CollapsePanel as $ } from "@phila/phila-ui-collapse-panel";
5
- import { Logo as q } from "@phila/phila-ui-logo";
6
- import './index.css';var W = {
1
+ import { defineComponent as h, useSlots as re, computed as k, createElementBlock as u, openBlock as o, Fragment as N, createElementVNode as s, createCommentVNode as m, unref as n, createTextVNode as _, createVNode as p, renderSlot as f, createBlock as v, withCtx as b, resolveDynamicComponent as S, normalizeClass as z, renderList as j, toDisplayString as g, withKeys as ce, mergeProps as C, useId as de, ref as B, onUnmounted as K, withModifiers as ue, normalizeStyle as W, normalizeProps as A, guardReactiveProps as L, useTemplateRef as fe, watch as ve, onMounted as me, createSlots as be } from "vue";
2
+ import { FontAwesomeIcon as $ } from "@fortawesome/vue-fontawesome";
3
+ import { useCollapse as q, cn as E, BaseLink as Y, ActionContent as T, debounce as pe, Icon as he } from "@phila/phila-ui-core";
4
+ import { CollapsePanel as D } from "@phila/phila-ui-collapse-panel";
5
+ import { Logo as ye } from "@phila/phila-ui-logo";
6
+ import './index.css';var ge = {
7
7
  prefix: "fas",
8
8
  iconName: "magnifying-glass",
9
9
  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"]
10
- }, X = W, Y = {
10
+ }, ke = ge, xe = {
11
11
  prefix: "fas",
12
12
  iconName: "circle-exclamation",
13
13
  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"]
14
- }, z = {
14
+ }, Z = {
15
15
  prefix: "fas",
16
16
  iconName: "xmark",
17
17
  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"]
18
- }, Z = z, S = z, J = {
18
+ }, _e = Z, X = Z, $e = {
19
19
  prefix: "fas",
20
20
  iconName: "lock",
21
21
  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"]
22
- }, T = {
22
+ }, J = {
23
23
  prefix: "fas",
24
24
  iconName: "caret-up",
25
25
  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"]
26
- }, E = {
26
+ }, P = {
27
27
  prefix: "fas",
28
28
  iconName: "caret-down",
29
29
  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"]
30
- }, P = {
30
+ }, Ce = {
31
31
  prefix: "fas",
32
32
  iconName: "building-columns",
33
33
  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"]
34
- }, ee = {
34
+ }, we = {
35
35
  prefix: "fas",
36
36
  iconName: "bars",
37
37
  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"]
38
- }, ae = {
38
+ }, Be = {
39
39
  prefix: "fas",
40
40
  iconName: "circle-info",
41
41
  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"]
42
- }, ne = ae;
43
- const te = "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", ie = {
42
+ }, ee = Be;
43
+ const Ne = "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", ze = {
44
44
  id: "trusted-site",
45
45
  class: "has-background-ghost-gray is-flex is-justify-space-between"
46
- }, se = { class: "trusted-wrap" }, oe = { class: "hidden-tablet trusted-toggle is-flex is-align-center" }, le = ["src"], re = ["aria-label", "aria-expanded"], ce = {
46
+ }, Me = { class: "trusted-wrap" }, Ae = { class: "hidden-tablet trusted-toggle is-flex is-align-center" }, Le = ["src"], Te = ["aria-label", "aria-expanded"], Se = {
47
47
  class: "icon",
48
48
  "aria-hidden": "true"
49
- }, de = { class: "hidden-desktop trusted-toggle is-flex is-align-center" }, ue = ["aria-label", "aria-expanded"], he = {
49
+ }, Ee = { class: "hidden-desktop trusted-toggle is-flex is-align-center" }, Ie = ["aria-label", "aria-expanded"], Oe = {
50
50
  class: "icon",
51
51
  "aria-hidden": "true"
52
- }, fe = {
52
+ }, De = {
53
53
  key: 0,
54
54
  class: "trusted-translation is-flex is-align-center"
55
- }, ve = ["hidden"], me = { class: "trusted-site-info-content content has-text-body-small is-flex is-justify-space-between" }, be = { class: "info-item-wrap is-flex" }, pe = { class: "info-item is-flex is-12-mobile is-align-flex-start is-flex-1 my-4" }, xe = { class: "trusted-icon is-flex is-flex-column has-text-center" }, ge = { 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" }, ye = { class: "trusted-icon is-flex is-flex-column has-text-center" }, _e = { class: "icon circle-icon p-3 mb-2" }, Ce = { class: "info-content-close mt-4" }, we = /* @__PURE__ */ p({
55
+ }, Re = ["hidden"], He = { class: "trusted-site-info-content content has-text-body-small is-flex is-justify-space-between" }, Ue = { class: "info-item-wrap is-flex" }, Ge = { class: "info-item is-flex is-12-mobile is-align-flex-start is-flex-1 my-4" }, je = { class: "trusted-icon is-flex is-flex-column has-text-center" }, Fe = { class: "icon circle-icon p-3 mb-2" }, Ve = { class: "info-item is-flex is-12-mobile is-align-flex-start is-flex-1 my-4" }, Qe = { class: "trusted-icon is-flex is-flex-column has-text-center" }, Ke = { class: "icon circle-icon p-3 mb-2" }, We = { class: "info-content-close mt-4" }, qe = /* @__PURE__ */ h({
56
56
  __name: "TrustedSite",
57
- setup(e) {
58
- const l = I(), { isCollapsed: d, onClickToggle: n } = L({
57
+ setup(t) {
58
+ const e = re(), { isCollapsed: r, onClickToggle: a } = q({
59
59
  id: "trusted-site-info",
60
60
  escapeKeyClose: !0
61
- }), h = U(() => d("trusted-site-info"));
62
- return (r, i) => (s(), u(_, null, [
63
- a("div", ie, [
64
- a("div", se, [
65
- a("div", oe, [
66
- a("img", {
67
- src: t(te),
61
+ }), c = k(() => r("trusted-site-info"));
62
+ return (d, i) => (o(), u(N, null, [
63
+ s("div", ze, [
64
+ s("div", Me, [
65
+ s("div", Ae, [
66
+ s("img", {
67
+ src: n(Ne),
68
68
  alt: "",
69
69
  class: "icon"
70
- }, null, 8, le),
71
- i[4] || (i[4] = a("div", { class: "content mx-2" }, "An official website of the City of Philadelphia government", -1)),
72
- a("button", {
70
+ }, null, 8, Le),
71
+ i[4] || (i[4] = s("div", { class: "content mx-2" }, "An official website of the City of Philadelphia government", -1)),
72
+ s("button", {
73
73
  class: "phila-button is-extra-small",
74
- "aria-label": `${h.value ? "Close" : "Open"} Trusted Site information panel`,
74
+ "aria-label": `${c.value ? "Close" : "Open"} Trusted Site information panel`,
75
75
  "aria-controls": "trusted-site-info",
76
- "aria-expanded": h.value,
76
+ "aria-expanded": c.value,
77
77
  onClick: i[0] || (i[0] = //@ts-ignore
78
- (...o) => t(n) && t(n)(...o))
78
+ (...l) => n(a) && n(a)(...l))
79
79
  }, [
80
- i[3] || (i[3] = y(" Here's how you know ", -1)),
81
- a("span", ce, [
82
- v(t(b), {
83
- icon: h.value ? t(T) : t(E)
80
+ i[3] || (i[3] = _(" Here's how you know ", -1)),
81
+ s("span", Se, [
82
+ p(n($), {
83
+ icon: c.value ? n(J) : n(P)
84
84
  }, null, 8, ["icon"])
85
85
  ])
86
- ], 8, re)
86
+ ], 8, Te)
87
87
  ]),
88
- a("div", de, [
89
- a("button", {
88
+ s("div", Ee, [
89
+ s("button", {
90
90
  class: "phila-button is-extra-small",
91
- "aria-label": `${h.value ? "Close" : "Open"} Trusted Site information panel`,
91
+ "aria-label": `${c.value ? "Close" : "Open"} Trusted Site information panel`,
92
92
  "aria-controls": "trusted-site-info",
93
- "aria-expanded": h.value,
93
+ "aria-expanded": c.value,
94
94
  onClick: i[1] || (i[1] = //@ts-ignore
95
- (...o) => t(n) && t(n)(...o))
95
+ (...l) => n(a) && n(a)(...l))
96
96
  }, [
97
- i[5] || (i[5] = y(" An official website ", -1)),
98
- a("span", he, [
99
- v(t(b), { icon: t(ne) }, null, 8, ["icon"])
97
+ i[5] || (i[5] = _(" An official website ", -1)),
98
+ s("span", Oe, [
99
+ p(n($), { icon: n(ee) }, null, 8, ["icon"])
100
100
  ])
101
- ], 8, ue)
101
+ ], 8, Ie)
102
102
  ])
103
103
  ]),
104
- t(l).translation ? (s(), u("div", fe, [
105
- m(r.$slots, "translation", {}, void 0, !0)
106
- ])) : f("", !0)
104
+ n(e).translation ? (o(), u("div", De, [
105
+ f(d.$slots, "translation", {}, void 0, !0)
106
+ ])) : m("", !0)
107
107
  ]),
108
- a("div", {
108
+ s("div", {
109
109
  id: "trusted-site-info",
110
110
  class: "has-background-secondary px-6",
111
- hidden: !h.value
111
+ hidden: !c.value
112
112
  }, [
113
- a("div", me, [
114
- a("div", be, [
115
- a("div", pe, [
116
- a("div", xe, [
117
- a("div", ge, [
118
- v(t(b), { icon: t(J) }, null, 8, ["icon"])
113
+ s("div", He, [
114
+ s("div", Ue, [
115
+ s("div", Ge, [
116
+ s("div", je, [
117
+ s("div", Fe, [
118
+ p(n($), { icon: n($e) }, null, 8, ["icon"])
119
119
  ]),
120
- i[6] || (i[6] = a("span", { class: "has-text-bold" }, "https://", -1))
120
+ i[6] || (i[6] = s("span", { class: "has-text-bold" }, "https://", -1))
121
121
  ]),
122
- i[7] || (i[7] = a("div", { class: "trusted-text m-4" }, [
123
- y(" The "),
124
- a("strong", null, "https://"),
125
- y(" in the address bar means your information is encrypted and can not be accessed by anyone else ")
122
+ i[7] || (i[7] = s("div", { class: "trusted-text m-4" }, [
123
+ _(" The "),
124
+ s("strong", null, "https://"),
125
+ _(" in the address bar means your information is encrypted and can not be accessed by anyone else ")
126
126
  ], -1))
127
127
  ]),
128
- a("div", ke, [
129
- a("div", ye, [
130
- a("span", _e, [
131
- v(t(b), { icon: t(P) }, null, 8, ["icon"])
128
+ s("div", Ve, [
129
+ s("div", Qe, [
130
+ s("span", Ke, [
131
+ p(n($), { icon: n(Ce) }, null, 8, ["icon"])
132
132
  ]),
133
- i[8] || (i[8] = a("span", { class: "has-text-bold" }, ".gov", -1))
133
+ i[8] || (i[8] = s("span", { class: "has-text-bold" }, ".gov", -1))
134
134
  ]),
135
- i[9] || (i[9] = a("div", { class: "trusted-text m-4" }, "Only government entities in the U.S. can end in .gov", -1))
135
+ i[9] || (i[9] = s("div", { class: "trusted-text m-4" }, "Only government entities in the U.S. can end in .gov", -1))
136
136
  ])
137
137
  ]),
138
- a("div", Ce, [
139
- a("button", {
138
+ s("div", We, [
139
+ s("button", {
140
140
  class: "phila-button phila-button--primary icon-button is-extra-small",
141
141
  "aria-label": "Close Trusted Site information panel",
142
142
  onClick: i[2] || (i[2] = //@ts-ignore
143
- (...o) => t(n) && t(n)(...o))
143
+ (...l) => n(a) && n(a)(...l))
144
144
  }, [
145
- v(t(b), { icon: t(Z) }, null, 8, ["icon"])
145
+ p(n($), { icon: n(_e) }, null, 8, ["icon"])
146
146
  ])
147
147
  ])
148
148
  ])
149
- ], 8, ve)
149
+ ], 8, Re)
150
150
  ], 64));
151
151
  }
152
- }), B = (e, l) => {
153
- const d = e.__vccOpts || e;
154
- for (const [n, h] of l)
155
- d[n] = h;
156
- return d;
157
- }, $e = /* @__PURE__ */ B(we, [["__scopeId", "data-v-117bdb56"]]), Be = ["aria-controls", "aria-expanded", "aria-label", "onClick"], Ae = { class: "icon" }, Ne = ["id", "hidden"], Me = /* @__PURE__ */ p({
152
+ }), I = (t, e) => {
153
+ const r = t.__vccOpts || t;
154
+ for (const [a, c] of e)
155
+ r[a] = c;
156
+ return r;
157
+ }, Ye = /* @__PURE__ */ I(qe, [["__scopeId", "data-v-117bdb56"]]), Ze = ["aria-controls", "aria-expanded", "aria-label", "onClick"], Xe = { class: "icon" }, Je = ["id", "hidden"], Pe = /* @__PURE__ */ h({
158
158
  __name: "NavbarBurger",
159
159
  props: {
160
160
  mobileNav: {},
161
161
  collapseGroup: {}
162
162
  },
163
- setup(e) {
164
- return (l, d) => (s(), c(t($), {
163
+ setup(t) {
164
+ return (e, r) => (o(), v(n(D), {
165
165
  id: "mobile-nav",
166
- group: e.collapseGroup,
166
+ group: t.collapseGroup,
167
167
  "outside-click-close": "",
168
168
  "escape-key-close": "",
169
169
  "blur-close": "",
170
170
  "open-single": ""
171
171
  }, {
172
- toggle: x((n) => [
173
- a("button", {
174
- class: w(["phila-navbar-burger phila-button icon-button", { "phila-navbar-item-flyout-active": n.open }]),
175
- "aria-controls": n.ariaControls,
176
- "aria-expanded": n.open,
177
- "aria-label": `${n.open ? "Close" : "Open"} mobile navigation panel`,
178
- onClick: n.onClick
172
+ toggle: b((a) => [
173
+ s("button", {
174
+ class: z(["phila-navbar-burger phila-button icon-button", { "phila-navbar-item-flyout-active": a.open }]),
175
+ "aria-controls": a.ariaControls,
176
+ "aria-expanded": a.open,
177
+ "aria-label": `${a.open ? "Close" : "Open"} mobile navigation panel`,
178
+ onClick: a.onClick
179
179
  }, [
180
- a("span", Ae, [
181
- v(t(b), {
182
- icon: n.open ? t(S) : t(ee)
180
+ s("span", Xe, [
181
+ p(n($), {
182
+ icon: a.open ? n(X) : n(we)
183
183
  }, null, 8, ["icon"])
184
184
  ])
185
- ], 10, Be)
185
+ ], 10, Ze)
186
186
  ]),
187
- default: x((n) => [
188
- a("div", {
189
- id: n.id,
187
+ default: b((a) => [
188
+ s("div", {
189
+ id: a.id,
190
190
  class: "phila-mobile-nav",
191
- hidden: !n.open
191
+ hidden: !a.open
192
192
  }, [
193
- m(l.$slots, "mobile-nav", {}, () => [
194
- (s(), c(C(e.mobileNav)))
193
+ f(e.$slots, "mobile-nav", {}, () => [
194
+ (o(), v(S(t.mobileNav)))
195
195
  ])
196
- ], 8, Ne)
196
+ ], 8, Je)
197
197
  ]),
198
198
  _: 3
199
199
  }, 8, ["group"]));
200
200
  }
201
- }), Le = ["href"], ze = ["href", "aria-controls", "aria-expanded", "onKeypress", "onTouchend", "onClick"], Se = ["id", "hidden"], Te = {
201
+ }), et = ["href"], tt = ["href", "aria-controls", "aria-expanded", "onKeypress", "onTouchend", "onClick"], at = ["id", "hidden"], it = {
202
202
  key: 0,
203
203
  class: "content nav-flyout has-background-ghost-gray px-6 py-4",
204
204
  tabindex: "-1"
205
- }, Ee = {
205
+ }, nt = {
206
206
  class: "is-flex is-flex-column is-flex-wrap-wrap",
207
207
  style: { gap: "var(--spacing-4xl)" }
208
- }, Ie = ["href"], Ue = /* @__PURE__ */ p({
208
+ }, st = ["href"], ot = /* @__PURE__ */ h({
209
209
  __name: "NavbarLinks",
210
210
  props: {
211
211
  links: {},
212
212
  collapseGroup: {}
213
213
  },
214
- setup(e) {
215
- const l = (n) => !!(n.subLinks || n.subNav), d = (n) => `main-nav-${n.text.split(" ").join("-").toLowerCase().replace(/[^a-z0-9-]/g, "")}`;
216
- return (n, h) => (s(!0), u(_, null, A(e.links, (r, i) => (s(), u(_, null, [
217
- l(r) ? (s(), c(t($), {
218
- id: d(r),
214
+ setup(t) {
215
+ const e = (a) => !!(a.subLinks || a.subNav), r = (a) => `main-nav-${a.text.split(" ").join("-").toLowerCase().replace(/[^a-z0-9-]/g, "")}`;
216
+ return (a, c) => (o(!0), u(N, null, j(t.links, (d, i) => (o(), u(N, null, [
217
+ e(d) ? (o(), v(n(D), {
218
+ id: r(d),
219
219
  key: `collapse-${i}`,
220
- group: e.collapseGroup,
220
+ group: t.collapseGroup,
221
221
  "outside-click-close": "",
222
222
  "escape-key-close": "",
223
223
  "blur-close": "",
@@ -225,127 +225,473 @@ const te = "data:image/svg+xml,%3csvg%20width='16'%20height='11'%20viewBox='0%20
225
225
  "open-single": "",
226
226
  class: "phila-navbar-link-list-item"
227
227
  }, {
228
- toggle: x((o) => [
229
- a("a", {
230
- href: r.href,
231
- class: w(["phila-navbar-link px-4", { "phila-navbar-item-flyout-active": o.open }]),
232
- "aria-controls": o.ariaControls,
233
- "aria-expanded": o.open,
228
+ toggle: b((l) => [
229
+ s("a", {
230
+ href: d.href,
231
+ class: z(["phila-navbar-link px-4", { "phila-navbar-item-flyout-active": l.open }]),
232
+ "aria-controls": l.ariaControls,
233
+ "aria-expanded": l.open,
234
234
  tabindex: "0",
235
- onKeypress: D(o.onClick, ["enter"]),
236
- onTouchend: o.onClick,
237
- onClick: o.onClick
235
+ onKeypress: ce(l.onClick, ["enter"]),
236
+ onTouchend: l.onClick,
237
+ onClick: l.onClick
238
238
  }, [
239
- y(k(r.text) + " ", 1),
240
- v(t(b), {
239
+ _(g(d.text) + " ", 1),
240
+ p(n($), {
241
241
  class: "ml-1",
242
- icon: o.open ? t(T) : t(E)
242
+ icon: l.open ? n(J) : n(P)
243
243
  }, null, 8, ["icon"])
244
- ], 42, ze)
244
+ ], 42, tt)
245
245
  ]),
246
- default: x((o) => [
247
- (s(), u("div", {
248
- id: o.id,
249
- key: r.text,
250
- hidden: !o.open
246
+ default: b((l) => [
247
+ (o(), u("div", {
248
+ id: l.id,
249
+ key: d.text,
250
+ hidden: !l.open
251
251
  }, [
252
- r.subLinks ? (s(), u("div", Te, [
253
- a("ul", Ee, [
254
- (s(!0), u(_, null, A(r.subLinks, (g) => (s(), u("li", {
255
- key: g.text,
252
+ d.subLinks ? (o(), u("div", it, [
253
+ s("ul", nt, [
254
+ (o(!0), u(N, null, j(d.subLinks, (x) => (o(), u("li", {
255
+ key: x.text,
256
256
  class: "sub-nav-link is-flex is-align-center",
257
257
  style: { width: "150px" }
258
258
  }, [
259
- a("a", {
260
- href: g.href,
259
+ s("a", {
260
+ href: x.href,
261
261
  class: "has-text-link has-text-weight-medium",
262
262
  tabindex: "0"
263
- }, k(g.text), 9, Ie)
263
+ }, g(x.text), 9, st)
264
264
  ]))), 128))
265
265
  ])
266
- ])) : (s(), c(C(r.subNav), { key: 1 }))
267
- ], 8, Se))
266
+ ])) : (o(), v(S(d.subNav), { key: 1 }))
267
+ ], 8, at))
268
268
  ]),
269
269
  _: 2
270
- }, 1032, ["id", "group"])) : (s(), u("div", {
270
+ }, 1032, ["id", "group"])) : (o(), u("div", {
271
271
  key: `link-${i}`,
272
272
  class: "phila-navbar-link-list-item"
273
273
  }, [
274
- a("a", {
275
- href: r.href,
274
+ s("a", {
275
+ href: d.href,
276
276
  class: "phila-navbar-link px-4",
277
277
  tabindex: "0"
278
- }, k(r.text), 9, Le)
278
+ }, g(d.text), 9, et)
279
279
  ]))
280
280
  ], 64))), 256));
281
281
  }
282
- }), De = /* @__PURE__ */ p({
282
+ }), lt = /* @__PURE__ */ h({
283
283
  __name: "NavbarBrandLogo",
284
284
  props: {
285
+ logo: {},
285
286
  src: {},
286
- href: { default: "/" },
287
+ href: {},
287
288
  altText: {}
288
289
  },
289
- setup(e) {
290
- const l = e;
291
- return (d, n) => (s(), c(t(q), {
292
- href: l.href,
290
+ setup(t) {
291
+ const e = t, r = k(() => ({
293
292
  variant: "city",
294
293
  layout: "stacked",
295
- "color-scheme": "on-primary",
296
- class: "phila-navbar-logo"
297
- }, null, 8, ["href"]));
294
+ colorScheme: "on-primary",
295
+ href: e.href,
296
+ ...e.logo
297
+ }));
298
+ return (a, c) => (o(), v(n(ye), C(r.value, { class: "phila-navbar-logo" }), null, 16));
298
299
  }
299
- }), Ge = /* @__PURE__ */ B(De, [["__scopeId", "data-v-7dabdf6b"]]), He = { class: "pr-4" }, Oe = ["aria-controls", "aria-expanded", "aria-label", "onClick"], je = { class: "icon" }, Ve = ["id", "hidden"], Qe = /* @__PURE__ */ p({
300
+ }), rt = /* @__PURE__ */ I(lt, [["__scopeId", "data-v-3011c249"]]), ct = { class: "pr-4" }, dt = ["aria-controls", "aria-expanded", "aria-label", "onClick"], ut = { class: "icon" }, ft = ["id", "hidden"], vt = /* @__PURE__ */ h({
300
301
  __name: "NavbarSearch",
301
302
  props: {
302
303
  search: {},
303
304
  collapseGroup: {}
304
305
  },
305
- setup(e) {
306
- return (l, d) => (s(), c(t($), {
306
+ setup(t) {
307
+ return (e, r) => (o(), v(n(D), {
307
308
  id: "navbar-search",
308
- group: e.collapseGroup,
309
+ group: t.collapseGroup,
309
310
  "outside-click-close": "",
310
311
  "escape-key-close": "",
311
312
  "blur-close": "",
312
313
  "open-single": ""
313
314
  }, {
314
- toggle: x((n) => [
315
- a("div", He, [
316
- a("button", {
317
- class: w(["phila-button phila-button--primary icon-button is-small", { "phila-navbar-item-flyout-active": n.open }]),
318
- "aria-controls": n.ariaControls,
319
- "aria-expanded": n.open,
320
- "aria-label": `${n.open ? "Close" : "Open"} search panel`,
321
- onClick: n.onClick
315
+ toggle: b((a) => [
316
+ s("div", ct, [
317
+ s("button", {
318
+ class: z(["phila-button phila-button--primary icon-button is-small", { "phila-navbar-item-flyout-active": a.open }]),
319
+ "aria-controls": a.ariaControls,
320
+ "aria-expanded": a.open,
321
+ "aria-label": `${a.open ? "Close" : "Open"} search panel`,
322
+ onClick: a.onClick
322
323
  }, [
323
- a("span", je, [
324
- v(t(b), {
325
- icon: n.open ? t(S) : t(X)
324
+ s("span", ut, [
325
+ p(n($), {
326
+ icon: a.open ? n(X) : n(ke)
326
327
  }, null, 8, ["icon"])
327
328
  ])
328
- ], 10, Oe)
329
+ ], 10, dt)
329
330
  ])
330
331
  ]),
331
- default: x((n) => [
332
- a("div", {
333
- id: n.id,
332
+ default: b((a) => [
333
+ s("div", {
334
+ id: a.id,
334
335
  class: "nav-flyout is-12",
335
- hidden: !n.open
336
+ hidden: !a.open
336
337
  }, [
337
- m(l.$slots, "default", {}, () => [
338
- e.search && n.open ? (s(), c(C(e.search), { key: 0 })) : f("", !0)
338
+ f(e.$slots, "default", {}, () => [
339
+ t.search && a.open ? (o(), v(S(t.search), { key: 0 })) : m("", !0)
339
340
  ])
340
- ], 8, Ve)
341
+ ], 8, ft)
341
342
  ]),
342
343
  _: 3
343
344
  }, 8, ["group"]));
344
345
  }
345
- }), Ke = { class: "phila-navbar-brand" }, Fe = { class: "phila-navbar-item phila-navbar-brand-link hidden-tablet" }, Re = {
346
+ }), mt = ["disabled"], F = /* @__PURE__ */ h({
347
+ inheritAttrs: !1,
348
+ __name: "PhlButton",
349
+ props: {
350
+ href: {},
351
+ to: {},
352
+ target: {},
353
+ rel: {},
354
+ disabled: { type: Boolean, default: !1 },
355
+ clickTarget: {},
356
+ variant: { default: "primary" },
357
+ size: { default: "medium" },
358
+ iconOnly: { type: Boolean, default: !1 },
359
+ iconRight: { type: Boolean },
360
+ text: {},
361
+ className: {},
362
+ iconDefinition: {},
363
+ iconClass: {},
364
+ src: {},
365
+ svgRaw: {}
366
+ },
367
+ setup(t) {
368
+ const e = t, r = (i) => "href" in i && i.href !== void 0 || "to" in i && i.to !== void 0, a = k(() => E(
369
+ "phila-button",
370
+ `phila-button--${e.variant}`,
371
+ e.size && `is-${e.size}`,
372
+ e.iconOnly && "icon-button",
373
+ e.iconOnly && e.variant === "standard" && "icon-button--standard",
374
+ e.className
375
+ )), c = k(() => r(e) ? "to" in e && e.to !== void 0 ? {
376
+ to: e.to,
377
+ disabled: e.disabled,
378
+ className: a.value
379
+ } : {
380
+ href: e.href,
381
+ target: e.target,
382
+ rel: e.rel,
383
+ disabled: e.disabled,
384
+ className: a.value
385
+ } : {}), d = k(
386
+ () => ({
387
+ iconDefinition: e.iconDefinition,
388
+ iconClass: e.iconClass,
389
+ src: e.src,
390
+ iconRight: e.iconRight,
391
+ iconOnly: e.iconOnly,
392
+ text: e.text,
393
+ size: e.size
394
+ })
395
+ );
396
+ return (i, l) => r(e) ? (o(), v(n(Y), C({ key: 0 }, { ...c.value, ...i.$attrs }, { role: "button" }), {
397
+ default: b(() => [
398
+ p(n(T), A(L(d.value)), {
399
+ default: b(() => [
400
+ f(i.$slots, "default", {}, () => [
401
+ _(g(e.text), 1)
402
+ ])
403
+ ]),
404
+ _: 3
405
+ }, 16)
406
+ ]),
407
+ _: 3
408
+ }, 16)) : (o(), u("button", C({
409
+ key: 1,
410
+ type: "button",
411
+ disabled: e.disabled,
412
+ class: a.value
413
+ }, i.$attrs), [
414
+ p(n(T), A(L(d.value)), {
415
+ default: b(() => [
416
+ f(i.$slots, "default", {}, () => [
417
+ _(g(e.text), 1)
418
+ ])
419
+ ]),
420
+ _: 3
421
+ }, 16)
422
+ ], 16, mt));
423
+ }
424
+ });
425
+ var V = {
426
+ prefix: "fas",
427
+ iconName: "xmark",
428
+ 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"]
429
+ };
430
+ const bt = ["id"], pt = {
431
+ key: 0,
432
+ class: "tooltip__tail",
433
+ "aria-hidden": "true"
434
+ }, ht = {
435
+ key: 1,
436
+ class: "tooltip__plain-row has-text-body-small"
437
+ }, yt = {
438
+ key: 0,
439
+ class: "tooltip__title-row"
440
+ }, gt = { key: 0 }, kt = /* @__PURE__ */ h({
441
+ __name: "TooltipBubble",
442
+ props: {
443
+ id: {},
444
+ type: { default: "plain" },
445
+ color: { default: "default" },
446
+ tail: { type: Boolean, default: !1 },
447
+ placement: { default: "top-center" },
448
+ title: {},
449
+ dismissable: { type: Boolean, default: !1 },
450
+ className: {}
451
+ },
452
+ emits: ["dismiss"],
453
+ setup(t) {
454
+ const e = t, r = k(
455
+ () => E(
456
+ "tooltip",
457
+ "content",
458
+ "resets-link-colors",
459
+ `tooltip--${e.type}`,
460
+ `tooltip--${e.color}`,
461
+ e.tail && `tooltip--${e.placement}`,
462
+ e.className
463
+ )
464
+ );
465
+ return (a, c) => (o(), u("div", {
466
+ id: t.id,
467
+ class: z(r.value),
468
+ role: "tooltip"
469
+ }, [
470
+ t.tail ? (o(), u("div", pt)) : m("", !0),
471
+ t.type === "plain" ? (o(), u("div", ht, [
472
+ f(a.$slots, "default", {}, void 0, !0),
473
+ t.dismissable ? (o(), v(n(F), {
474
+ key: 0,
475
+ class: "tooltip__dismiss",
476
+ variant: "standard",
477
+ size: "extra-small",
478
+ "icon-only": !0,
479
+ "icon-definition": n(V),
480
+ "aria-label": "Dismiss tooltip",
481
+ onClick: c[0] || (c[0] = (d) => a.$emit("dismiss"))
482
+ }, null, 8, ["icon-definition"])) : m("", !0)
483
+ ])) : (o(), u(N, { key: 2 }, [
484
+ t.title || t.dismissable ? (o(), u("div", yt, [
485
+ t.title ? (o(), u("h6", gt, g(t.title), 1)) : m("", !0),
486
+ t.dismissable ? (o(), v(n(F), {
487
+ key: 1,
488
+ class: "tooltip__dismiss",
489
+ variant: "standard",
490
+ size: "extra-small",
491
+ "icon-only": !0,
492
+ "icon-definition": n(V),
493
+ "aria-label": "Dismiss tooltip",
494
+ onClick: c[1] || (c[1] = (d) => a.$emit("dismiss"))
495
+ }, null, 8, ["icon-definition"])) : m("", !0)
496
+ ])) : m("", !0),
497
+ f(a.$slots, "default", {}, void 0, !0)
498
+ ], 64))
499
+ ], 10, bt));
500
+ }
501
+ }), te = (t, e) => {
502
+ const r = t.__vccOpts || t;
503
+ for (const [a, c] of e)
504
+ r[a] = c;
505
+ return r;
506
+ }, xt = /* @__PURE__ */ te(kt, [["__scopeId", "data-v-0155bbdd"]]), _t = /* @__PURE__ */ h({
507
+ __name: "Tooltip",
508
+ props: {
509
+ trigger: { default: "hover" },
510
+ type: { default: "plain" },
511
+ color: { default: "default" },
512
+ tail: { type: Boolean, default: !1 },
513
+ placement: { default: "auto" },
514
+ title: {},
515
+ dismissable: { type: Boolean },
516
+ className: {}
517
+ },
518
+ setup(t) {
519
+ const e = t, r = de(), a = B(!1), c = B(null), d = B(null), i = B("top-center"), l = () => {
520
+ const y = c.value?.getBoundingClientRect();
521
+ if (!y) return "top-center";
522
+ const { innerWidth: M, innerHeight: ne } = window, H = y.top, se = ne - y.bottom, U = d.value?.firstElementChild?.getBoundingClientRect().height ?? 0, oe = (U > 0 ? H >= U : H >= se) ? "top" : "bottom", G = y.left + y.width / 2, le = G < M / 3 ? "left" : G > M * 2 / 3 ? "right" : "center";
523
+ return `${oe}-${le}`;
524
+ }, x = (y) => {
525
+ y.key === "Escape" && w();
526
+ }, R = (y) => {
527
+ c.value && !c.value.contains(y.target) && w();
528
+ }, O = () => {
529
+ e.placement === "auto" ? i.value = l() : i.value = e.placement, a.value = !0, document.addEventListener("keydown", x), e.trigger === "click" && document.addEventListener("click", R);
530
+ }, w = () => {
531
+ a.value = !1, document.removeEventListener("keydown", x), document.removeEventListener("click", R);
532
+ }, ae = () => {
533
+ a.value ? w() : O();
534
+ };
535
+ K(w);
536
+ const ie = k(() => ({
537
+ type: e.type,
538
+ color: e.color,
539
+ tail: e.tail,
540
+ placement: i.value,
541
+ title: e.title,
542
+ dismissable: e.dismissable
543
+ }));
544
+ return (y, M) => (o(), u("span", C(
545
+ {
546
+ ref_key: "wrapperEl",
547
+ ref: c,
548
+ class: n(E)("tooltip-trigger", e.className)
549
+ },
550
+ t.trigger === "click" ? { onClick: ae } : { onMouseenter: O, onMouseleave: w, onFocusin: O, onFocusout: w }
551
+ ), [
552
+ f(y.$slots, "default", { tooltipId: n(r) }, void 0, !0),
553
+ s("span", {
554
+ ref_key: "positionerEl",
555
+ ref: d,
556
+ class: z(["tooltip-trigger__positioner", `tooltip-trigger__positioner--${i.value}`]),
557
+ style: W({
558
+ visibility: a.value ? "visible" : "hidden",
559
+ "--positioner-gap": t.tail ? "var(--spacing-l)" : "0.5rem"
560
+ }),
561
+ onClick: M[0] || (M[0] = ue(() => {
562
+ }, ["stop"]))
563
+ }, [
564
+ p(xt, C(ie.value, {
565
+ id: n(r),
566
+ onDismiss: w
567
+ }), {
568
+ default: b(() => [
569
+ f(y.$slots, "body", {}, void 0, !0)
570
+ ]),
571
+ _: 3
572
+ }, 16, ["id"])
573
+ ], 6)
574
+ ], 16));
575
+ }
576
+ }), $t = /* @__PURE__ */ te(_t, [["__scopeId", "data-v-5dcd06cf"]]), Ct = ["disabled"], wt = /* @__PURE__ */ h({
577
+ inheritAttrs: !1,
578
+ __name: "PhlButton",
579
+ props: {
580
+ href: {},
581
+ to: {},
582
+ target: {},
583
+ rel: {},
584
+ disabled: { type: Boolean, default: !1 },
585
+ clickTarget: {},
586
+ variant: { default: "primary" },
587
+ size: { default: "medium" },
588
+ iconOnly: { type: Boolean, default: !1 },
589
+ iconRight: { type: Boolean },
590
+ text: {},
591
+ className: {},
592
+ iconDefinition: {},
593
+ iconClass: {},
594
+ src: {},
595
+ svgRaw: {}
596
+ },
597
+ setup(t) {
598
+ const e = t, r = (i) => "href" in i && i.href !== void 0 || "to" in i && i.to !== void 0, a = k(() => E(
599
+ "phila-button",
600
+ `phila-button--${e.variant}`,
601
+ e.size && `is-${e.size}`,
602
+ e.iconOnly && "icon-button",
603
+ e.iconOnly && e.variant === "standard" && "icon-button--standard",
604
+ e.className
605
+ )), c = k(() => r(e) ? "to" in e && e.to !== void 0 ? {
606
+ to: e.to,
607
+ disabled: e.disabled,
608
+ className: a.value
609
+ } : {
610
+ href: e.href,
611
+ target: e.target,
612
+ rel: e.rel,
613
+ disabled: e.disabled,
614
+ className: a.value
615
+ } : {}), d = k(
616
+ () => ({
617
+ iconDefinition: e.iconDefinition,
618
+ iconClass: e.iconClass,
619
+ src: e.src,
620
+ iconRight: e.iconRight,
621
+ iconOnly: e.iconOnly,
622
+ text: e.text,
623
+ size: e.size
624
+ })
625
+ );
626
+ return (i, l) => r(e) ? (o(), v(n(Y), C({ key: 0 }, { ...c.value, ...i.$attrs }, { role: "button" }), {
627
+ default: b(() => [
628
+ p(n(T), A(L(d.value)), {
629
+ default: b(() => [
630
+ f(i.$slots, "default", {}, () => [
631
+ _(g(e.text), 1)
632
+ ])
633
+ ]),
634
+ _: 3
635
+ }, 16)
636
+ ]),
637
+ _: 3
638
+ }, 16)) : (o(), u("button", C({
639
+ key: 1,
640
+ type: "button",
641
+ disabled: e.disabled,
642
+ class: a.value
643
+ }, i.$attrs), [
644
+ p(n(T), A(L(d.value)), {
645
+ default: b(() => [
646
+ f(i.$slots, "default", {}, () => [
647
+ _(g(e.text), 1)
648
+ ])
649
+ ]),
650
+ _: 3
651
+ }, 16)
652
+ ], 16, Ct));
653
+ }
654
+ }), Bt = { class: "navbar-info" }, Nt = { class: "has-text-body-small" }, zt = /* @__PURE__ */ h({
655
+ __name: "NavbarInfo",
656
+ props: {
657
+ infoTitle: {},
658
+ infoMessage: {}
659
+ },
660
+ setup(t) {
661
+ return (e, r) => (o(), u("div", Bt, [
662
+ p(n($t), {
663
+ type: "rich",
664
+ title: t.infoTitle,
665
+ trigger: "click",
666
+ dismissable: !0
667
+ }, {
668
+ default: b(({ tooltipId: a }) => [
669
+ p(n(wt), {
670
+ class: "navbar-info__trigger",
671
+ variant: "standard",
672
+ size: "small",
673
+ "icon-only": !0,
674
+ "icon-definition": n(ee),
675
+ "aria-label": "More information",
676
+ "aria-describedby": a
677
+ }, null, 8, ["icon-definition", "aria-describedby"])
678
+ ]),
679
+ body: b(() => [
680
+ f(e.$slots, "default", {}, () => [
681
+ s("div", Nt, g(t.infoMessage), 1)
682
+ ], !0)
683
+ ]),
684
+ _: 3
685
+ }, 8, ["title"])
686
+ ]));
687
+ }
688
+ }), Mt = /* @__PURE__ */ I(zt, [["__scopeId", "data-v-56b79838"]]), At = { class: "phila-navbar-brand" }, Lt = {
689
+ key: 0,
690
+ class: "phila-navbar-item phila-navbar-brand-link hidden-tablet"
691
+ }, Tt = {
346
692
  key: 0,
347
693
  class: "content"
348
- }, qe = ["href"], We = { class: "phila-navbar-item phila-navbar-list is-flex is-align-center is-justify-space-between content has-text-label-default hidden-tablet" }, Xe = { class: "phila-navbar-search" }, M = "5rem", Ye = /* @__PURE__ */ p({
694
+ }, St = ["href"], Et = { class: "phila-navbar-item phila-navbar-list is-flex is-align-center is-justify-space-between content has-text-label-default hidden-tablet" }, It = { class: "phila-navbar-search" }, Q = "5rem", Ot = /* @__PURE__ */ h({
349
695
  __name: "index",
350
696
  props: {
351
697
  id: {},
@@ -354,90 +700,104 @@ const te = "data:image/svg+xml,%3csvg%20width='16'%20height='11'%20viewBox='0%20
354
700
  mobileNav: {},
355
701
  collapseGroup: {},
356
702
  search: {},
357
- links: { default: () => [{ text: "Home", href: "#" }] }
703
+ links: { default: () => [{ text: "Home", href: "#" }] },
704
+ infoTitle: {},
705
+ infoMessage: {}
358
706
  },
359
- setup(e) {
360
- const l = e, { state: d } = L(), n = G("navBarElement"), h = N(M), r = N(0), i = F(() => {
361
- const o = (n.value?.offsetTop || 0) + (n.value?.offsetHeight || 0), g = typeof window < "u" ? window.innerWidth : 1024;
362
- h.value = !l.sticky || g < 1024 ? o + "px" : M, r.value = o;
707
+ setup(t) {
708
+ const e = t, { state: r } = q(), a = fe("navBarElement"), c = B(Q), d = B(0), i = pe(() => {
709
+ const l = (a.value?.offsetTop || 0) + (a.value?.offsetHeight || 0), x = typeof window < "u" ? window.innerWidth : 1024;
710
+ c.value = !e.sticky || x < 1024 ? l + "px" : Q, d.value = l;
363
711
  }, 100);
364
- return H(() => d.value, i, { deep: !0, immediate: !0 }), O(() => {
712
+ return ve(() => r.value, i, { deep: !0, immediate: !0 }), me(() => {
365
713
  window.addEventListener("resize", i);
366
- }), j(() => {
714
+ }), K(() => {
367
715
  window.removeEventListener("resize", i);
368
- }), (o, g) => (s(), u("nav", {
716
+ }), (l, x) => (o(), u("nav", {
369
717
  ref_key: "navBarElement",
370
- ref: n,
371
- class: w(["phila-navbar has-background-primary", { "is-sticky-desktop": e.sticky }]),
718
+ ref: a,
719
+ class: z(["phila-navbar has-background-primary", { "is-sticky-desktop": t.sticky }]),
372
720
  "aria-label": "Main navigation",
373
- style: V(`--nav-height:${h.value};--nav-bottom:${r.value}px`)
721
+ style: W(`--nav-height:${c.value};--nav-bottom:${d.value}px`)
374
722
  }, [
375
- m(o.$slots, "navbar-burger", {}, () => [
376
- e.mobileNav ? (s(), c(Me, {
723
+ f(l.$slots, "navbar-burger", {}, () => [
724
+ t.mobileNav ? (o(), v(Pe, {
377
725
  key: 0,
378
- "mobile-nav": e.mobileNav,
379
- "collapse-group": e.id
380
- }, null, 8, ["mobile-nav", "collapse-group"])) : f("", !0)
726
+ "mobile-nav": t.mobileNav,
727
+ "collapse-group": t.id
728
+ }, null, 8, ["mobile-nav", "collapse-group"])) : m("", !0)
381
729
  ], !0),
382
- a("div", Ke, [
383
- m(o.$slots, "navbar-logo", {}, () => [
384
- e.navbarBrand?.brandingImage ? (s(), c(Ge, Q(K({ key: 0 }, e.navbarBrand.brandingImage)), null, 16)) : f("", !0)
730
+ s("div", At, [
731
+ f(l.$slots, "navbar-logo", {}, () => [
732
+ t.navbarBrand?.brandingImage ? (o(), v(rt, C({ key: 0 }, t.navbarBrand.brandingImage, {
733
+ logo: t.navbarBrand?.logo
734
+ }), null, 16, ["logo"])) : m("", !0)
385
735
  ], !0),
386
- a("div", Fe, [
387
- m(o.$slots, "navbar-brand-link", {}, () => [
388
- e.navbarBrand?.brandingLink ? (s(), u("div", Re, [
389
- a("a", {
736
+ l.$slots["navbar-brand-link"] || t.navbarBrand?.brandingLink ? (o(), u("div", Lt, [
737
+ f(l.$slots, "navbar-brand-link", {}, () => [
738
+ t.navbarBrand?.brandingLink ? (o(), u("div", Tt, [
739
+ s("a", {
390
740
  tabindex: "0",
391
- href: e.navbarBrand.brandingLink.href,
741
+ href: t.navbarBrand.brandingLink.href,
392
742
  class: "has-text-underline"
393
- }, k(e.navbarBrand.brandingLink.text), 9, qe)
394
- ])) : f("", !0)
743
+ }, g(t.navbarBrand.brandingLink.text), 9, St)
744
+ ])) : m("", !0)
395
745
  ], !0)
396
- ])
746
+ ])) : m("", !0),
747
+ t.infoTitle || t.infoMessage || l.$slots["info-body"] ? (o(), v(Mt, {
748
+ key: 1,
749
+ "info-title": t.infoTitle,
750
+ "info-message": t.infoMessage
751
+ }, {
752
+ default: b(() => [
753
+ l.$slots["info-body"] ? f(l.$slots, "info-body", { key: 0 }, void 0, !0) : m("", !0)
754
+ ]),
755
+ _: 3
756
+ }, 8, ["info-title", "info-message"])) : m("", !0)
397
757
  ]),
398
- a("div", We, [
399
- m(o.$slots, "navbar-links", {}, () => [
400
- e.links ? (s(), c(Ue, {
758
+ s("div", Et, [
759
+ f(l.$slots, "navbar-links", {}, () => [
760
+ t.links ? (o(), v(ot, {
401
761
  key: 0,
402
- links: e.links,
403
- "collapse-group": e.id
404
- }, null, 8, ["links", "collapse-group"])) : f("", !0)
762
+ links: t.links,
763
+ "collapse-group": t.id
764
+ }, null, 8, ["links", "collapse-group"])) : m("", !0)
405
765
  ], !0)
406
766
  ]),
407
- a("div", Xe, [
408
- m(o.$slots, "navbar-search", {}, () => [
409
- e.search ? (s(), c(Qe, {
767
+ s("div", It, [
768
+ f(l.$slots, "navbar-search", {}, () => [
769
+ t.search ? (o(), v(vt, {
410
770
  key: 0,
411
- search: e.search,
412
- "collapse-group": e.id
413
- }, null, 8, ["search", "collapse-group"])) : f("", !0)
771
+ search: t.search,
772
+ "collapse-group": t.id
773
+ }, null, 8, ["search", "collapse-group"])) : m("", !0)
414
774
  ], !0)
415
775
  ])
416
776
  ], 6));
417
777
  }
418
- }), Ze = /* @__PURE__ */ B(Ye, [["__scopeId", "data-v-ea2fc313"]]), Je = { class: "site-wide-alert content" }, Pe = { class: "alert-content" }, ea = { class: "content-text" }, aa = { class: "title" }, na = { class: "body" }, ta = /* @__PURE__ */ p({
778
+ }), Dt = /* @__PURE__ */ I(Ot, [["__scopeId", "data-v-554e2ac4"]]), Rt = { class: "site-wide-alert content" }, Ht = { class: "alert-content" }, Ut = { class: "content-text" }, Gt = { class: "title" }, jt = { class: "body" }, Ft = /* @__PURE__ */ h({
419
779
  __name: "AlertBanner",
420
780
  props: {
421
781
  bannerTitle: {},
422
782
  bannerMessage: {}
423
783
  },
424
- setup(e) {
425
- const l = e;
426
- return (d, n) => (s(), u("div", Je, [
427
- a("div", Pe, [
428
- v(t(R), {
429
- iconDefinition: t(Y),
784
+ setup(t) {
785
+ const e = t;
786
+ return (r, a) => (o(), u("div", Rt, [
787
+ s("div", Ht, [
788
+ p(n(he), {
789
+ "icon-definition": n(xe),
430
790
  size: "small",
431
791
  decorative: !0
432
- }, null, 8, ["iconDefinition"]),
433
- a("div", ea, [
434
- a("h6", aa, k(l.bannerTitle), 1),
435
- a("div", na, k(l.bannerMessage), 1)
792
+ }, null, 8, ["icon-definition"]),
793
+ s("div", Ut, [
794
+ s("h6", Gt, g(e.bannerTitle), 1),
795
+ s("div", jt, g(e.bannerMessage), 1)
436
796
  ])
437
797
  ])
438
798
  ]));
439
799
  }
440
- }), ca = /* @__PURE__ */ p({
800
+ }), Yt = /* @__PURE__ */ h({
441
801
  __name: "AppHeader",
442
802
  props: {
443
803
  showTrustedSite: { type: Boolean, default: !0 },
@@ -450,35 +810,47 @@ const te = "data:image/svg+xml,%3csvg%20width='16'%20height='11'%20viewBox='0%20
450
810
  collapseGroup: {},
451
811
  search: { default: void 0 },
452
812
  links: { default: void 0 },
813
+ infoTitle: { default: void 0 },
814
+ infoMessage: { default: void 0 },
453
815
  bannerTitle: { default: void 0 },
454
816
  bannerMessage: { default: void 0 }
455
817
  },
456
- setup(e) {
457
- return (l, d) => (s(), u(_, null, [
458
- e.showTrustedSite ? (s(), c($e, { key: 0 }, {
459
- translation: x(() => [
460
- m(l.$slots, "translations", {}, () => [
461
- e.translations ? (s(), c(C(e.translations), { key: 0 })) : f("", !0)
818
+ setup(t) {
819
+ return (e, r) => (o(), u(N, null, [
820
+ t.showTrustedSite ? (o(), v(Ye, { key: 0 }, {
821
+ translation: b(() => [
822
+ f(e.$slots, "translations", {}, () => [
823
+ t.translations ? (o(), v(S(t.translations), { key: 0 })) : m("", !0)
462
824
  ])
463
825
  ]),
464
826
  _: 3
465
- })) : f("", !0),
466
- v(Ze, {
467
- id: e.id,
468
- sticky: e.sticky,
469
- "mobile-nav": e.mobileNav,
470
- links: e.links,
471
- "navbar-brand": e.navbarBrand,
472
- search: e.search
473
- }, null, 8, ["id", "sticky", "mobile-nav", "links", "navbar-brand", "search"]),
474
- e.bannerTitle || e.bannerMessage ? (s(), c(ta, {
827
+ })) : m("", !0),
828
+ p(Dt, {
829
+ id: t.id,
830
+ sticky: t.sticky,
831
+ "mobile-nav": t.mobileNav,
832
+ links: t.links,
833
+ "navbar-brand": t.navbarBrand,
834
+ search: t.search,
835
+ "info-title": t.infoTitle,
836
+ "info-message": t.infoMessage
837
+ }, be({ _: 2 }, [
838
+ e.$slots["info-body"] ? {
839
+ name: "info-body",
840
+ fn: b(() => [
841
+ f(e.$slots, "info-body")
842
+ ]),
843
+ key: "0"
844
+ } : void 0
845
+ ]), 1032, ["id", "sticky", "mobile-nav", "links", "navbar-brand", "search", "info-title", "info-message"]),
846
+ t.bannerTitle || t.bannerMessage ? (o(), v(Ft, {
475
847
  key: 1,
476
- "banner-title": e.bannerTitle,
477
- "banner-message": e.bannerMessage
478
- }, null, 8, ["banner-title", "banner-message"])) : f("", !0)
848
+ "banner-title": t.bannerTitle,
849
+ "banner-message": t.bannerMessage
850
+ }, null, 8, ["banner-title", "banner-message"])) : m("", !0)
479
851
  ], 64));
480
852
  }
481
853
  });
482
854
  export {
483
- ca as AppHeader
855
+ Yt as AppHeader
484
856
  };