@phila/phila-ui-app-header 0.3.0-beta.6 → 0.3.0-beta.7

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