@phila/phila-ui-app-header 0.3.0-beta.9 → 1.0.0-beta.10
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/README.md +7 -7
- package/dist/AppHeader.vue.d.ts +9 -4
- package/dist/AppHeader.vue.d.ts.map +1 -1
- package/dist/components/NavBar/NavbarBrand.vue.d.ts +20 -0
- package/dist/components/NavBar/NavbarBrand.vue.d.ts.map +1 -0
- package/dist/components/NavBar/NavbarBurger.vue.d.ts.map +1 -1
- package/dist/components/NavBar/NavbarLinks.vue.d.ts +1 -1
- package/dist/components/NavBar/NavbarLinks.vue.d.ts.map +1 -1
- package/dist/components/NavBar/NavbarSearch.vue.d.ts +1 -1
- package/dist/components/NavBar/NavbarSearch.vue.d.ts.map +1 -1
- package/dist/components/NavBar/index.vue.d.ts +3 -6
- package/dist/components/NavBar/index.vue.d.ts.map +1 -1
- package/dist/components/TrustedSite.vue.d.ts +10 -2
- package/dist/components/TrustedSite.vue.d.ts.map +1 -1
- package/dist/index.css +1 -1
- package/dist/index.d.ts +15 -7
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -1
- package/dist/index.mjs +519 -490
- package/package.json +6 -6
package/README.md
CHANGED
|
@@ -66,16 +66,16 @@ const branding = {
|
|
|
66
66
|
};
|
|
67
67
|
</script>
|
|
68
68
|
<template>
|
|
69
|
-
<AppHeader
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
:branding="branding"
|
|
74
|
-
:search="MySearchComponent"
|
|
75
|
-
>
|
|
69
|
+
<AppHeader :sticky="true" :show-trusted-site="true" :nav-links="navLinks" :branding="branding">
|
|
70
|
+
<template #mobile-nav>
|
|
71
|
+
<MyMobileMenu />
|
|
72
|
+
</template>
|
|
76
73
|
<template #translation>
|
|
77
74
|
<MyTranslationComponent />
|
|
78
75
|
</template>
|
|
76
|
+
<template #search>
|
|
77
|
+
<MySearchComponent />
|
|
78
|
+
</template>
|
|
79
79
|
</AppHeader>
|
|
80
80
|
</template>
|
|
81
81
|
```
|
package/dist/AppHeader.vue.d.ts
CHANGED
|
@@ -3,7 +3,14 @@ declare function __VLS_template(): {
|
|
|
3
3
|
attrs: Partial<{}>;
|
|
4
4
|
slots: {
|
|
5
5
|
translations?(_: {}): any;
|
|
6
|
+
'navbar-toggle'?(_: {}): any;
|
|
6
7
|
'mobile-nav'?(_: {}): any;
|
|
8
|
+
'navbar-left'?(_: {}): any;
|
|
9
|
+
'navbar-brand'?(_: {}): any;
|
|
10
|
+
'navbar-right'?(_: {}): any;
|
|
11
|
+
'navbar-links'?(_: {}): any;
|
|
12
|
+
'navbar-search'?(_: {}): any;
|
|
13
|
+
'search-panel'?(_: {}): any;
|
|
7
14
|
'navbar-end'?(_: {}): any;
|
|
8
15
|
};
|
|
9
16
|
refs: {};
|
|
@@ -12,11 +19,9 @@ declare function __VLS_template(): {
|
|
|
12
19
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
13
20
|
declare const __VLS_component: import('vue').DefineComponent<AppHeaderProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<AppHeaderProps> & Readonly<{}>, {
|
|
14
21
|
id: string;
|
|
15
|
-
mobileNav: import('vue').Component;
|
|
16
|
-
links: import('./index').NavLink[];
|
|
17
|
-
search: import('vue').Component;
|
|
18
22
|
sticky: boolean;
|
|
19
|
-
navbarBrand: import('./index').
|
|
23
|
+
navbarBrand: import('./index').NavbarBrandProps;
|
|
24
|
+
links: import('./index').NavLink[];
|
|
20
25
|
bannerTitle: string;
|
|
21
26
|
bannerMessage: string;
|
|
22
27
|
showTrustedSite: boolean;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AppHeader.vue.d.ts","sourceRoot":"","sources":["../src/AppHeader.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"AppHeader.vue.d.ts","sourceRoot":"","sources":["../src/AppHeader.vue"],"names":[],"mappings":"AAuEA,OAAO,EAAE,KAAK,cAAc,EAAE,MAAM,SAAS,CAAC;AAiC9C,iBAAS,cAAc;WAoLT,OAAO,IAA6B;;8BAnBhB,GAAG;iCACC,GAAG;8BACN,GAAG;+BACF,GAAG;gCACF,GAAG;gCACH,GAAG;gCACH,GAAG;iCACF,GAAG;gCACJ,GAAG;8BACL,GAAG;;;;EAerC;AAgBD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;;;;;;;;;6EAOnB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAapG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { NavbarBrandProps } from '../../index.ts';
|
|
2
|
+
declare function __VLS_template(): {
|
|
3
|
+
attrs: Partial<{}>;
|
|
4
|
+
slots: {
|
|
5
|
+
'navbar-logo'?(_: {}): any;
|
|
6
|
+
'navbar-brand-link'?(_: {}): any;
|
|
7
|
+
};
|
|
8
|
+
refs: {};
|
|
9
|
+
rootEl: HTMLDivElement;
|
|
10
|
+
};
|
|
11
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
12
|
+
declare const __VLS_component: import('vue').DefineComponent<NavbarBrandProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<NavbarBrandProps> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
13
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
14
|
+
export default _default;
|
|
15
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
16
|
+
new (): {
|
|
17
|
+
$slots: S;
|
|
18
|
+
};
|
|
19
|
+
};
|
|
20
|
+
//# sourceMappingURL=NavbarBrand.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"NavbarBrand.vue.d.ts","sourceRoot":"","sources":["../../../src/components/NavBar/NavbarBrand.vue"],"names":[],"mappings":"AA0BA,OAAO,EAAE,KAAK,gBAAgB,EAAE,MAAM,gBAAgB,CAAC;AAOvD,iBAAS,cAAc;WAwDT,OAAO,IAA6B;;+BAXf,GAAG;qCACG,GAAG;;;;EAe3C;AASD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe,uTAOnB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAQpG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"NavbarBurger.vue.d.ts","sourceRoot":"","sources":["../../../src/components/NavBar/NavbarBurger.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"NavbarBurger.vue.d.ts","sourceRoot":"","sources":["../../../src/components/NavBar/NavbarBurger.vue"],"names":[],"mappings":"AAwCA,OAAO,EAAE,iBAAiB,EAAE,MAAM,aAAa,CAAC;AAoBhD,iBAAS,cAAc;WAiDT,OAAO,IAA6B;;8BAVhB,GAAG;;;;EAepC;AAaD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe,yTAOnB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAQpG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { NavbarLinksProps } from '../..';
|
|
2
|
-
declare const _default: import('vue').DefineComponent<NavbarLinksProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<NavbarLinksProps> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {},
|
|
2
|
+
declare const _default: import('vue').DefineComponent<NavbarLinksProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<NavbarLinksProps> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
3
3
|
export default _default;
|
|
4
4
|
//# sourceMappingURL=NavbarLinks.vue.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"NavbarLinks.vue.d.ts","sourceRoot":"","sources":["../../../src/components/NavBar/NavbarLinks.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"NavbarLinks.vue.d.ts","sourceRoot":"","sources":["../../../src/components/NavBar/NavbarLinks.vue"],"names":[],"mappings":"AAiGA,OAAO,KAAK,EAAE,gBAAgB,EAAW,MAAM,OAAO,CAAC;;AAsMvD,wBAOG"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"NavbarSearch.vue.d.ts","sourceRoot":"","sources":["../../../src/components/NavBar/NavbarSearch.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"NavbarSearch.vue.d.ts","sourceRoot":"","sources":["../../../src/components/NavBar/NavbarSearch.vue"],"names":[],"mappings":"AAkDA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,aAAa,CAAC;AAgBrD,iBAAS,cAAc;WA+ET,OAAO,IAA6B;;gCAVb,GAAG;;;;EAevC;AAcD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe,yTAOnB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAQpG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
|
|
@@ -2,12 +2,9 @@ import { NavBarProps } from '../../index';
|
|
|
2
2
|
declare function __VLS_template(): {
|
|
3
3
|
attrs: Partial<{}>;
|
|
4
4
|
slots: {
|
|
5
|
-
'navbar-
|
|
6
|
-
'
|
|
7
|
-
'navbar-
|
|
8
|
-
'navbar-brand-link'?(_: {}): any;
|
|
9
|
-
'navbar-links'?(_: {}): any;
|
|
10
|
-
'navbar-search'?(_: {}): any;
|
|
5
|
+
'navbar-toggle'?(_: {}): any;
|
|
6
|
+
'navbar-left'?(_: {}): any;
|
|
7
|
+
'navbar-right'?(_: {}): any;
|
|
11
8
|
'navbar-end'?(_: {}): any;
|
|
12
9
|
};
|
|
13
10
|
refs: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.vue.d.ts","sourceRoot":"","sources":["../../../src/components/NavBar/index.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.vue.d.ts","sourceRoot":"","sources":["../../../src/components/NavBar/index.vue"],"names":[],"mappings":"AA8KA,OAAO,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAgC1C,iBAAS,cAAc;WA4DT,OAAO,IAA6B;;iCAdb,GAAG;+BACL,GAAG;gCACF,GAAG;8BACL,GAAG;;;;;;EAgBpC;AAYD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;;;;eASnB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAapG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
|
|
@@ -3,11 +3,19 @@ declare function __VLS_template(): {
|
|
|
3
3
|
slots: {
|
|
4
4
|
translation?(_: {}): any;
|
|
5
5
|
};
|
|
6
|
-
refs: {
|
|
6
|
+
refs: {
|
|
7
|
+
infoToggle: HTMLButtonElement;
|
|
8
|
+
infoToggleMobile: HTMLButtonElement;
|
|
9
|
+
closeInfoToggle: HTMLButtonElement;
|
|
10
|
+
};
|
|
7
11
|
rootEl: any;
|
|
8
12
|
};
|
|
9
13
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
10
|
-
declare const __VLS_component: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {
|
|
14
|
+
declare const __VLS_component: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {
|
|
15
|
+
infoToggle: HTMLButtonElement;
|
|
16
|
+
infoToggleMobile: HTMLButtonElement;
|
|
17
|
+
closeInfoToggle: HTMLButtonElement;
|
|
18
|
+
}, any>;
|
|
11
19
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
12
20
|
export default _default;
|
|
13
21
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TrustedSite.vue.d.ts","sourceRoot":"","sources":["../../src/components/TrustedSite.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"TrustedSite.vue.d.ts","sourceRoot":"","sources":["../../src/components/TrustedSite.vue"],"names":[],"mappings":"AA6LA,iBAAS,cAAc;WAyLT,OAAO,IAA6B;;6BAbhB,GAAG;;;;;;;;EAkBpC;AAsBD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;;;;OAMnB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAEpG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
|
package/dist/index.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
#trusted-site[data-v-
|
|
1
|
+
#trusted-site[data-v-adf7cbee]{width:100%;height:3rem;padding:0 var(--spacing-l);box-sizing:border-box;background-color:var(--ghost-grey-500-ghost-grey)}#trusted-site .content[data-v-adf7cbee]{color:var(--Schemes-On-Surface);font-size:var(--Body-ExtraSmall-font-body-xs-size)}#trusted-site button[data-v-adf7cbee]{--Schemes-Surface-Container-Lowest: transparent;font-size:var(--Body-ExtraSmall-font-body-xs-size)!important}#trusted-site .trusted-toggle[data-v-adf7cbee]{height:100%}#trusted-site-info[data-v-adf7cbee]{background-color:var(--ghost-grey-500-ghost-grey)}#trusted-site-info .circle-icon[data-v-adf7cbee]{border:solid 1px currentColor;border-radius:100%;font-size:var(--scale-250);aspect-ratio:1;display:inline-flex;justify-content:center;align-content:center}#trusted-site-info .info-item:first-child .trusted-icon[data-v-adf7cbee]{color:var(--Schemes-Secondary)}#trusted-site-info .info-item:last-child .trusted-icon[data-v-adf7cbee]{color:var(--Palettes-Success-Success-400)}body:has(.phila-navbar .phila-navbar-item-flyout-active){overflow:hidden}.phila-navbar[data-v-23ed37fb]{display:flex;justify-content:space-between;background-color:var(--union-blue-500-union-blue);column-gap:var(--spacing-3xl);height:5rem;overflow-x:clip;overflow-y:visible}.phila-navbar .phila-navbar-brand[data-v-23ed37fb],.phila-navbar .phila-navbar-list[data-v-23ed37fb],.phila-navbar .phila-navbar-search[data-v-23ed37fb],.phila-navbar .phila-navbar-end[data-v-23ed37fb],.phila-navbar .phila-navbar-item[data-v-23ed37fb],.phila-navbar .phila-navbar-burger[data-v-23ed37fb]{display:flex}[data-v-23ed37fb] a.phila-navbar-link,.phila-navbar a.phila-navbar-link[data-v-23ed37fb]{text-decoration:none;color:var(--Schemes-On-Inverse-Surface-Bright)}[data-v-23ed37fb] .phila-navbar-list,.phila-navbar .phila-navbar-list[data-v-23ed37fb]{list-style:none;padding:0;margin:0;column-gap:var(--spacing-l)}:is([data-v-23ed37fb] .phila-navbar-list,.phila-navbar .phila-navbar-list[data-v-23ed37fb]) .phila-navbar-link-list-item{height:100%;display:flex;align-items:center}:is([data-v-23ed37fb] .phila-navbar-list,.phila-navbar .phila-navbar-list[data-v-23ed37fb]) .phila-navbar-link-list-item .phila-navbar-link{display:flex;align-items:center;height:100%}:is([data-v-23ed37fb] .phila-navbar-list,.phila-navbar .phila-navbar-list[data-v-23ed37fb]) .phila-navbar-link-list-item .phila-navbar-link:hover,:is([data-v-23ed37fb] .phila-navbar-list,.phila-navbar .phila-navbar-list[data-v-23ed37fb]) .phila-navbar-link-list-item .phila-navbar-link:active,:is([data-v-23ed37fb] .phila-navbar-list,.phila-navbar .phila-navbar-list[data-v-23ed37fb]) .phila-navbar-link-list-item .phila-navbar-link.phila-navbar-item-flyout-active{color:var(--union-blue-200-union-blue);background-color:var(--Palettes-Secondary-Secondary-650)}:is([data-v-23ed37fb] .phila-navbar-list,.phila-navbar .phila-navbar-list[data-v-23ed37fb]) .phila-navbar-link-list-item .phila-navbar-link:active,:is([data-v-23ed37fb] .phila-navbar-list,.phila-navbar .phila-navbar-list[data-v-23ed37fb]) .phila-navbar-link-list-item .phila-navbar-link.phila-navbar-item-flyout-active{outline-offset:0!important}:is([data-v-23ed37fb] .phila-navbar-list,.phila-navbar .phila-navbar-list[data-v-23ed37fb]) .phila-navbar-link-list-item .phila-navbar-link:focus{outline:2px solid var(--Focus-Ring-Color);outline-offset:2px}[data-v-23ed37fb] .phila-navbar-burger,.phila-navbar .phila-navbar-burger[data-v-23ed37fb]{flex:0 0 auto;aspect-ratio:1;height:5rem!important;width:5rem!important;align-items:center;justify-content:center;background-color:var(--flyers-orange-450-flyers-orange);border-radius:0!important;font-size:var(--scale-400);color:var(--Schemes-On-Surface);box-shadow:none}:is([data-v-23ed37fb] .phila-navbar-burger,.phila-navbar .phila-navbar-burger[data-v-23ed37fb]).phila-navbar-item-flyout-active{color:var(--Schemes-Primary, #2176d2);background-color:var(--Schemes-Surface-Container-Low)}[data-v-23ed37fb] .phila-navbar-brand,.phila-navbar .phila-navbar-brand[data-v-23ed37fb]{flex:1 1 auto;align-items:center}:is([data-v-23ed37fb] .phila-navbar-brand,.phila-navbar .phila-navbar-brand[data-v-23ed37fb]) a{font-weight:400}:is([data-v-23ed37fb] .phila-navbar-brand,.phila-navbar .phila-navbar-brand[data-v-23ed37fb]) img:hover{opacity:.8}:is([data-v-23ed37fb] .phila-navbar-brand,.phila-navbar .phila-navbar-brand[data-v-23ed37fb]) .phila-navbar-brand-link{margin-left:var(--spacing-xl)}[data-v-23ed37fb] .nav-flyout,.phila-navbar .nav-flyout[data-v-23ed37fb]{position:absolute;top:var(--nav-height);left:0;width:100%;z-index:9999;overflow-y:auto;max-height:calc(100vh - var(--nav-bottom))}[data-v-23ed37fb] .phila-navbar-search,.phila-navbar .phila-navbar-search[data-v-23ed37fb]{flex:0 0 auto;align-items:center}:is([data-v-23ed37fb] .phila-navbar-search,.phila-navbar .phila-navbar-search[data-v-23ed37fb]) button{background-color:var(--Schemes-Primary);box-shadow:none}[data-v-23ed37fb] .phila-navbar-end,.phila-navbar .phila-navbar-end[data-v-23ed37fb]{flex:0 0 auto;align-items:center;padding-right:var(--spacing-l)}.site-wide-alert{display:flex;align-items:center;gap:var(--spacing-m, 1rem);align-self:stretch;background:var(--Schemes-Alert-Container, #ffe9b0)}.alert-content{display:flex;max-width:60rem;padding:var(--spacing-m, 1rem) var(--spacing-l, 1.5rem);align-items:flex-start;gap:var(--spacing-m, 1rem);flex:1 0 0}.phila-navbar-logo[data-v-3011c249]{font-size:1.2rem}.phila-navbar-logo.logo--single-line[data-v-3011c249]{font-size:1.6rem}.tooltip[data-v-7ccd7c7d]{position:relative;display:inline-flex;flex-direction:column;align-items:flex-start;border-radius:var(--border-radius-xs);filter:drop-shadow(0px 1px 2px rgba(0,0,0,.3)) drop-shadow(0px 1px 3px rgba(0,0,0,.15));--tooltip-bg: var(--Schemes-On-Primary);background-color:var(--tooltip-bg);color:var(--Schemes-On-Background)}.tooltip.tooltip--grey[data-v-7ccd7c7d]{--tooltip-bg: var(--Schemes-Surface-Container-Lowest);color:var(--Schemes-On-Surface)}.tooltip.tooltip--plain[data-v-7ccd7c7d]{--tail-height: 10px;padding:var(--spacing-2xs) var(--spacing-xs);justify-content:center}.tooltip.tooltip--rich[data-v-7ccd7c7d]{--tail-height: 12px;padding:var(--spacing-s) var(--spacing-m);width:max-content;min-width:11.25rem;max-width:min(25rem,calc(100vw - 3rem));gap:var(--spacing-xs)}.tooltip .tooltip__tail[data-v-7ccd7c7d]{position:absolute;width:20px;height:var(--tail-height);background-color:var(--tooltip-bg)}.tooltip.tooltip--top-left .tooltip__tail[data-v-7ccd7c7d],.tooltip.tooltip--top-right .tooltip__tail[data-v-7ccd7c7d],.tooltip.tooltip--top-center .tooltip__tail[data-v-7ccd7c7d]{clip-path:polygon(0 0,100% 0,50% 100%);bottom:calc(-1 * var(--tail-height) + 1px)}.tooltip.tooltip--bottom-left .tooltip__tail[data-v-7ccd7c7d],.tooltip.tooltip--bottom-right .tooltip__tail[data-v-7ccd7c7d],.tooltip.tooltip--bottom-center .tooltip__tail[data-v-7ccd7c7d]{clip-path:polygon(50% 0,0 100%,100% 100%);top:calc(-1 * var(--tail-height) + 1px)}.tooltip.tooltip--top-left .tooltip__tail[data-v-7ccd7c7d],.tooltip.tooltip--bottom-left .tooltip__tail[data-v-7ccd7c7d]{left:8px}.tooltip.tooltip--top-right .tooltip__tail[data-v-7ccd7c7d],.tooltip.tooltip--bottom-right .tooltip__tail[data-v-7ccd7c7d]{right:8px}.tooltip.tooltip--top-center .tooltip__tail[data-v-7ccd7c7d],.tooltip.tooltip--bottom-center .tooltip__tail[data-v-7ccd7c7d]{left:50%;transform:translate(-50%)}.tooltip__plain-row[data-v-7ccd7c7d],.tooltip__title-row[data-v-7ccd7c7d]{display:flex;align-items:flex-start;justify-content:space-between;gap:var(--spacing-xs);width:100%}.tooltip__title-row h6[data-v-7ccd7c7d]{flex:1}.tooltip__dismiss[data-v-7ccd7c7d]{margin-left:auto;flex-shrink:0}.tooltip-trigger[data-v-b3f93b8c]{position:relative;display:inline-block}.tooltip-trigger__positioner[data-v-b3f93b8c]{position:absolute;z-index:1000}.tooltip-trigger__positioner.tooltip-trigger__positioner--top-left[data-v-b3f93b8c]{bottom:100%;left:-8px;padding-bottom:var(--positioner-gap);transform:translate(var(--adjust-x, 0px))}.tooltip-trigger__positioner.tooltip-trigger__positioner--top-right[data-v-b3f93b8c]{bottom:100%;right:-8px;padding-bottom:var(--positioner-gap);transform:translate(var(--adjust-x, 0px))}.tooltip-trigger__positioner.tooltip-trigger__positioner--top-center[data-v-b3f93b8c]{bottom:100%;left:50%;transform:translate(calc(-50% + var(--adjust-x, 0px)));padding-bottom:var(--positioner-gap)}.tooltip-trigger__positioner.tooltip-trigger__positioner--bottom-left[data-v-b3f93b8c]{top:100%;left:-8px;padding-top:var(--positioner-gap);transform:translate(var(--adjust-x, 0px))}.tooltip-trigger__positioner.tooltip-trigger__positioner--bottom-right[data-v-b3f93b8c]{top:100%;right:-8px;padding-top:var(--positioner-gap);transform:translate(var(--adjust-x, 0px))}.tooltip-trigger__positioner.tooltip-trigger__positioner--bottom-center[data-v-b3f93b8c]{top:100%;left:50%;transform:translate(calc(-50% + var(--adjust-x, 0px)));padding-top:var(--positioner-gap)}.navbar-info[data-v-c3989251]{display:flex;align-items:center;cursor:pointer}.navbar-info [data-v-c3989251] .navbar-info__trigger.icon-button--standard{color:var(--Schemes-On-Primary)}.navbar-info .navbar-info__group[data-v-c3989251]:not(:hover) .navbar-info__trigger.icon-button--standard{color:#fff}.navbar-info .navbar-info__group[data-v-c3989251]:hover .navbar-info__trigger.icon-button--standard{background:var(--Schemes-Surface-Container)}.navbar-info .navbar-info__group[data-v-c3989251] .navbar-info__trigger.icon-button--standard[aria-pressed=true]{color:#fff;background:transparent}.navbar-info__group[data-v-c3989251]{display:flex;align-items:center}.navbar-info__label[data-v-c3989251]{color:var(--Extended-Colors-link-default);text-decoration:underline;font-weight:400;margin-left:var(--spacing-xs);-webkit-user-select:none;user-select:none}.navbar-info__group:hover .navbar-info__label[data-v-c3989251]{color:var(--Extended-Colors-link-hover);text-decoration-color:var(--Extended-Colors-link-hover)}
|
package/dist/index.d.ts
CHANGED
|
@@ -3,16 +3,24 @@ import { LogoProps } from '@phila/phila-ui-logo';
|
|
|
3
3
|
import { Component } from 'vue';
|
|
4
4
|
export { default as AppHeader } from './AppHeader.vue';
|
|
5
5
|
export { default as NavbarInfo } from './components/NavBar/NavbarInfo.vue';
|
|
6
|
-
export
|
|
7
|
-
|
|
6
|
+
export { default as NavBar } from './components/NavBar/index.vue';
|
|
7
|
+
export { default as NavbarBrand } from './components/NavBar/NavbarBrand.vue';
|
|
8
|
+
export { default as NavbarBrandLogo } from './components/NavBar/NavbarBrandLogo.vue';
|
|
9
|
+
export { default as NavbarBurger } from './components/NavBar/NavbarBurger.vue';
|
|
10
|
+
export { default as NavbarSearch } from './components/NavBar/NavbarSearch.vue';
|
|
11
|
+
export { default as NavbarLinks } from './components/NavBar/NavbarLinks.vue';
|
|
12
|
+
export { default as AlertBanner } from './components/AlertBanner.vue';
|
|
13
|
+
export { default as TrustedSite } from './components/TrustedSite.vue';
|
|
14
|
+
export interface VisibilityProps {
|
|
15
|
+
visibilityGroup?: string;
|
|
8
16
|
}
|
|
9
|
-
export interface NavbarBurgerProps extends
|
|
17
|
+
export interface NavbarBurgerProps extends VisibilityProps {
|
|
10
18
|
mobileNav?: Component;
|
|
11
19
|
}
|
|
12
|
-
export interface NavbarSearchProps extends
|
|
20
|
+
export interface NavbarSearchProps extends VisibilityProps {
|
|
13
21
|
search?: Component;
|
|
14
22
|
}
|
|
15
|
-
export interface NavbarLinksProps extends
|
|
23
|
+
export interface NavbarLinksProps extends VisibilityProps {
|
|
16
24
|
links?: NavLink[];
|
|
17
25
|
}
|
|
18
26
|
export interface BrandingImage {
|
|
@@ -24,7 +32,7 @@ export interface BrandingLink {
|
|
|
24
32
|
text: string;
|
|
25
33
|
href: string;
|
|
26
34
|
}
|
|
27
|
-
export interface
|
|
35
|
+
export interface NavbarBrandProps {
|
|
28
36
|
brandingImage?: BrandingImage;
|
|
29
37
|
brandingLink?: BrandingLink;
|
|
30
38
|
/** Optional overrides for the Logo component. Merged over the defaults (city, stacked, on-primary). */
|
|
@@ -47,7 +55,7 @@ export interface NavbarInfoProps {
|
|
|
47
55
|
export interface NavBarProps extends NavbarBurgerProps, NavbarSearchProps, NavbarLinksProps {
|
|
48
56
|
id: string;
|
|
49
57
|
sticky?: boolean;
|
|
50
|
-
navbarBrand?:
|
|
58
|
+
navbarBrand?: NavbarBrandProps;
|
|
51
59
|
}
|
|
52
60
|
export interface AlertBannerProps {
|
|
53
61
|
bannerTitle?: string;
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAC;AACtD,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAC;AACtD,OAAO,EAAE,OAAO,IAAI,SAAS,EAAE,MAAM,iBAAiB,CAAC;AACvD,OAAO,EAAE,OAAO,IAAI,UAAU,EAAE,MAAM,oCAAoC,CAAC;AAC3E,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,KAAK,CAAC;AAErC,MAAM,WAAW,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAC;AACtD,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAC;AACtD,OAAO,EAAE,OAAO,IAAI,SAAS,EAAE,MAAM,iBAAiB,CAAC;AACvD,OAAO,EAAE,OAAO,IAAI,UAAU,EAAE,MAAM,oCAAoC,CAAC;AAC3E,OAAO,EAAE,OAAO,IAAI,MAAM,EAAE,MAAM,+BAA+B,CAAC;AAClE,OAAO,EAAE,OAAO,IAAI,WAAW,EAAE,MAAM,qCAAqC,CAAC;AAC7E,OAAO,EAAE,OAAO,IAAI,eAAe,EAAE,MAAM,yCAAyC,CAAC;AACrF,OAAO,EAAE,OAAO,IAAI,YAAY,EAAE,MAAM,sCAAsC,CAAC;AAC/E,OAAO,EAAE,OAAO,IAAI,YAAY,EAAE,MAAM,sCAAsC,CAAC;AAC/E,OAAO,EAAE,OAAO,IAAI,WAAW,EAAE,MAAM,qCAAqC,CAAC;AAC7E,OAAO,EAAE,OAAO,IAAI,WAAW,EAAE,MAAM,8BAA8B,CAAC;AACtE,OAAO,EAAE,OAAO,IAAI,WAAW,EAAE,MAAM,8BAA8B,CAAC;AACtE,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,KAAK,CAAC;AAErC,MAAM,WAAW,eAAe;IAC9B,eAAe,CAAC,EAAE,MAAM,CAAC;CAC1B;AAED,MAAM,WAAW,iBAAkB,SAAQ,eAAe;IACxD,SAAS,CAAC,EAAE,SAAS,CAAC;CACvB;AACD,MAAM,WAAW,iBAAkB,SAAQ,eAAe;IACxD,MAAM,CAAC,EAAE,SAAS,CAAC;CACpB;AACD,MAAM,WAAW,gBAAiB,SAAQ,eAAe;IACvD,KAAK,CAAC,EAAE,OAAO,EAAE,CAAC;CACnB;AACD,MAAM,WAAW,aAAa;IAC5B,GAAG,EAAE,MAAM,CAAC;IACZ,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,EAAE,MAAM,CAAC;CACjB;AACD,MAAM,WAAW,YAAY;IAC3B,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;CACd;AACD,MAAM,WAAW,gBAAgB;IAC/B,aAAa,CAAC,EAAE,aAAa,CAAC;IAC9B,YAAY,CAAC,EAAE,YAAY,CAAC;IAC5B,uGAAuG;IACvG,IAAI,CAAC,EAAE,OAAO,CAAC,SAAS,CAAC,CAAC;CAC3B;AAED,MAAM,WAAW,OAAO;IACtB,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;IACb,QAAQ,CAAC,EAAE,OAAO,EAAE,CAAC;IACrB,MAAM,CAAC,EAAE,SAAS,CAAC;CACpB;AAED,MAAM,WAAW,eAAe;IAC9B,uCAAuC;IACvC,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,kGAAkG;IAClG,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,gGAAgG;IAChG,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAED,MAAM,WAAW,WAAY,SAAQ,iBAAiB,EAAE,iBAAiB,EAAE,gBAAgB;IACzF,EAAE,EAAE,MAAM,CAAC;IACX,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,WAAW,CAAC,EAAE,gBAAgB,CAAC;CAChC;AAED,MAAM,WAAW,gBAAgB;IAC/B,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,aAAa,CAAC,EAAE,MAAM,CAAC;CACxB;AAED,MAAM,WAAW,cAAe,SAAQ,SAAS,EAAE,WAAW,EAAE,gBAAgB;IAC9E,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B,YAAY,CAAC,EAAE,SAAS,CAAC;CAC1B"}
|
package/dist/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require('./index.css');const e=require("vue"),p=require("@fortawesome/vue-fontawesome"),d=require("@phila/phila-ui-core"),g=require("@phila/phila-ui-collapse-panel"),R=require("@phila/phila-ui-logo");var U={prefix:"fas",iconName:"magnifying-glass",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"]},P=U,H={prefix:"fas",iconName:"circle-exclamation",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"]},w={prefix:"fas",iconName:"xmark",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"]},j=w,V=w,G={prefix:"fas",iconName:"lock",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"]},$={prefix:"fas",iconName:"caret-up",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"]},S={prefix:"fas",iconName:"caret-down",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"]},q={prefix:"fas",iconName:"building-columns",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"]},Q={prefix:"fas",iconName:"bars",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"]},K={prefix:"fas",iconName:"circle-info",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"]},z=K;const W="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",X={id:"trusted-site",class:"is-flex is-justify-space-between"},Y={class:"trusted-wrap"},Z={class:"hidden-tablet trusted-toggle is-flex is-align-center"},J=["src"],ee=["aria-label","aria-expanded"],te={class:"icon","aria-hidden":"true"},ne={class:"hidden-desktop trusted-toggle is-flex is-align-center"},oe=["aria-label","aria-expanded"],ae={class:"icon","aria-hidden":"true"},le={key:0,class:"trusted-translation is-flex is-align-center"},ie=["hidden"],se={class:"trusted-site-info-content content has-text-body-small is-flex is-justify-space-between"},re={class:"info-item-wrap is-flex"},ce={class:"info-item is-flex is-12-mobile is-align-flex-start is-flex-1 my-4"},de={class:"trusted-icon is-flex is-flex-column has-text-center"},ue={class:"icon circle-icon p-3 mb-2"},me={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"},pe={class:"icon circle-icon p-3 mb-2"},ve={class:"info-content-close mt-4"},he=e.defineComponent({__name:"TrustedSite",setup(n){const t=e.useSlots(),{isCollapsed:l,onClickToggle:o}=d.useCollapse({id:"trusted-site-info",escapeKeyClose:!0}),s=e.computed(()=>l("trusted-site-info"));return(r,a)=>(e.openBlock(),e.createElementBlock(e.Fragment,null,[e.createElementVNode("div",X,[e.createElementVNode("div",Y,[e.createElementVNode("div",Z,[e.createElementVNode("img",{src:e.unref(W),alt:"",class:"icon"},null,8,J),a[4]||(a[4]=e.createElementVNode("div",{class:"content mx-2"},"An official website of the City of Philadelphia government",-1)),e.createElementVNode("button",{class:"phila-button is-extra-small","aria-label":`${s.value?"Close":"Open"} Trusted Site information panel`,"aria-controls":"trusted-site-info","aria-expanded":s.value,onClick:a[0]||(a[0]=(...i)=>e.unref(o)&&e.unref(o)(...i))},[a[3]||(a[3]=e.createTextVNode(" Here's how you know ",-1)),e.createElementVNode("span",te,[e.createVNode(e.unref(p.FontAwesomeIcon),{icon:s.value?e.unref($):e.unref(S)},null,8,["icon"])])],8,ee)]),e.createElementVNode("div",ne,[e.createElementVNode("button",{class:"phila-button is-extra-small","aria-label":`${s.value?"Close":"Open"} Trusted Site information panel`,"aria-controls":"trusted-site-info","aria-expanded":s.value,onClick:a[1]||(a[1]=(...i)=>e.unref(o)&&e.unref(o)(...i))},[a[5]||(a[5]=e.createTextVNode(" An official website ",-1)),e.createElementVNode("span",ae,[e.createVNode(e.unref(p.FontAwesomeIcon),{icon:e.unref(z)},null,8,["icon"])])],8,oe)])]),e.unref(t).translation?(e.openBlock(),e.createElementBlock("div",le,[e.renderSlot(r.$slots,"translation",{},void 0,!0)])):e.createCommentVNode("",!0)]),e.createElementVNode("div",{id:"trusted-site-info",class:"px-6",hidden:!s.value},[e.createElementVNode("div",se,[e.createElementVNode("div",re,[e.createElementVNode("div",ce,[e.createElementVNode("div",de,[e.createElementVNode("span",ue,[e.createVNode(e.unref(p.FontAwesomeIcon),{icon:e.unref(q)},null,8,["icon"])]),a[6]||(a[6]=e.createElementVNode("span",{class:"has-text-bold"},".gov",-1))]),a[7]||(a[7]=e.createElementVNode("div",{class:"trusted-text m-4"},"Only government entities in the U.S. can end in .gov",-1))]),e.createElementVNode("div",me,[e.createElementVNode("div",fe,[e.createElementVNode("div",pe,[e.createVNode(e.unref(p.FontAwesomeIcon),{icon:e.unref(G)},null,8,["icon"])]),a[8]||(a[8]=e.createElementVNode("span",{class:"has-text-bold"},"https://",-1))]),a[9]||(a[9]=e.createElementVNode("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))])]),e.createElementVNode("div",ve,[e.createElementVNode("button",{class:"phila-button phila-button--primary icon-button is-extra-small","aria-label":"Close Trusted Site information panel",onClick:a[2]||(a[2]=(...i)=>e.unref(o)&&e.unref(o)(...i))},[e.createVNode(e.unref(p.FontAwesomeIcon),{icon:e.unref(j)},null,8,["icon"])])])])],8,ie)],64))}}),b=(n,t)=>{const l=n.__vccOpts||n;for(const[o,s]of t)l[o]=s;return l},be=b(he,[["__scopeId","data-v-3fc90bb2"]]),ke=["aria-controls","aria-expanded","aria-label","onClick"],ge={class:"icon"},ye=["id","hidden"],Be=e.defineComponent({__name:"NavbarBurger",props:{mobileNav:{},collapseGroup:{}},setup(n){return(t,l)=>(e.openBlock(),e.createBlock(e.unref(g.CollapsePanel),{id:"mobile-nav",group:n.collapseGroup,"outside-click-close":"","escape-key-close":"","blur-close":"","open-single":""},{toggle:e.withCtx(o=>[e.createElementVNode("button",{class:e.normalizeClass(["phila-navbar-burger phila-button icon-button",{"phila-navbar-item-flyout-active":o.open}]),"aria-controls":o.ariaControls,"aria-expanded":o.open,"aria-label":`${o.open?"Close":"Open"} mobile navigation panel`,onClick:o.onClick},[e.createElementVNode("span",ge,[e.createVNode(e.unref(p.FontAwesomeIcon),{icon:o.open?e.unref(V):e.unref(Q)},null,8,["icon"])])],10,ke)]),default:e.withCtx(o=>[e.createElementVNode("div",{id:o.id,class:"phila-mobile-nav",hidden:!o.open},[e.renderSlot(t.$slots,"mobile-nav",{},()=>[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(n.mobileNav)))])],8,ye)]),_:3},8,["group"]))}}),Ne=["href"],xe=["href","aria-controls","aria-expanded","onKeypress","onTouchend","onClick"],Ce=["id","hidden"],_e={key:0,class:"content nav-flyout has-background-ghost-gray px-6 py-4",tabindex:"-1"},Ee={class:"is-flex is-flex-column is-flex-wrap-wrap",style:{gap:"var(--spacing-4xl)"}},we=["href"],Ve=e.defineComponent({__name:"NavbarLinks",props:{links:{},collapseGroup:{}},setup(n){const t=o=>!!(o.subLinks||o.subNav),l=o=>`main-nav-${o.text.split(" ").join("-").toLowerCase().replace(/[^a-z0-9-]/g,"")}`;return(o,s)=>(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(n.links,(r,a)=>(e.openBlock(),e.createElementBlock(e.Fragment,null,[t(r)?(e.openBlock(),e.createBlock(e.unref(g.CollapsePanel),{id:l(r),key:`collapse-${a}`,group:n.collapseGroup,"outside-click-close":"","escape-key-close":"","blur-close":"","mouse-over-toggle":"","open-single":"",class:"phila-navbar-link-list-item"},{toggle:e.withCtx(i=>[e.createElementVNode("a",{href:r.href,class:e.normalizeClass(["phila-navbar-link px-4",{"phila-navbar-item-flyout-active":i.open}]),"aria-controls":i.ariaControls,"aria-expanded":i.open,tabindex:"0",onKeypress:e.withKeys(i.onClick,["enter"]),onTouchend:i.onClick,onClick:i.onClick},[e.createTextVNode(e.toDisplayString(r.text)+" ",1),e.createVNode(e.unref(p.FontAwesomeIcon),{class:"ml-1",icon:i.open?e.unref($):e.unref(S)},null,8,["icon"])],42,xe)]),default:e.withCtx(i=>[(e.openBlock(),e.createElementBlock("div",{id:i.id,key:r.text,hidden:!i.open},[r.subLinks?(e.openBlock(),e.createElementBlock("div",_e,[e.createElementVNode("ul",Ee,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(r.subLinks,u=>(e.openBlock(),e.createElementBlock("li",{key:u.text,class:"sub-nav-link is-flex is-align-center",style:{width:"150px"}},[e.createElementVNode("a",{href:u.href,class:"has-text-link has-text-weight-medium",tabindex:"0"},e.toDisplayString(u.text),9,we)]))),128))])])):(e.openBlock(),e.createBlock(e.resolveDynamicComponent(r.subNav),{key:1}))],8,Ce))]),_:2},1032,["id","group"])):(e.openBlock(),e.createElementBlock("div",{key:`link-${a}`,class:"phila-navbar-link-list-item"},[e.createElementVNode("a",{href:r.href,class:"phila-navbar-link px-4",tabindex:"0"},e.toDisplayString(r.text),9,Ne)]))],64))),256))}}),$e=e.defineComponent({__name:"NavbarBrandLogo",props:{logo:{},src:{},href:{},altText:{}},setup(n){const t=n,l=e.computed(()=>({variant:"city",layout:"stacked",colorScheme:"on-primary",href:t.href,...t.logo}));return(o,s)=>(e.openBlock(),e.createBlock(e.unref(R.Logo),e.mergeProps(l.value,{class:"phila-navbar-logo"}),null,16))}}),Se=b($e,[["__scopeId","data-v-3011c249"]]),ze={class:"pr-4"},Ae=["aria-controls","aria-expanded","aria-label","onClick"],Le={class:"icon"},Me=["id","hidden"],Te=e.defineComponent({__name:"NavbarSearch",props:{search:{},collapseGroup:{}},setup(n){return(t,l)=>(e.openBlock(),e.createBlock(e.unref(g.CollapsePanel),{id:"navbar-search",group:n.collapseGroup,"outside-click-close":"","escape-key-close":"","blur-close":"","open-single":""},{toggle:e.withCtx(o=>[e.createElementVNode("div",ze,[e.createElementVNode("button",{class:e.normalizeClass(["phila-button phila-button--primary icon-button is-small",{"phila-navbar-item-flyout-active":o.open}]),"aria-controls":o.ariaControls,"aria-expanded":o.open,"aria-label":`${o.open?"Close":"Open"} search panel`,onClick:o.onClick},[e.createElementVNode("span",Le,[e.createVNode(e.unref(p.FontAwesomeIcon),{icon:o.open?e.unref(V):e.unref(P)},null,8,["icon"])])],10,Ae)])]),default:e.withCtx(o=>[e.createElementVNode("div",{id:o.id,class:"nav-flyout is-12",hidden:!o.open},[e.renderSlot(t.$slots,"default",{},()=>[n.search&&o.open?(e.openBlock(),e.createBlock(e.resolveDynamicComponent(n.search),{key:0})):e.createCommentVNode("",!0)])],8,Me)]),_:3},8,["group"]))}}),De={class:"phila-navbar-brand"},Ie={key:0,class:"phila-navbar-item phila-navbar-brand-link hidden-tablet"},Oe={key:0,class:"content"},Fe=["href"],Re={class:"phila-navbar-item phila-navbar-list is-flex is-align-center is-justify-space-between content has-text-label-default hidden-tablet"},Ue={class:"phila-navbar-search"},Pe={key:0,class:"phila-navbar-end"},C="5rem",He=e.defineComponent({__name:"index",props:{id:{},sticky:{type:Boolean},navbarBrand:{},mobileNav:{},collapseGroup:{},search:{},links:{default:()=>[{text:"Home",href:"#"}]}},setup(n){const t=n,{state:l}=d.useCollapse(),o=e.useTemplateRef("navBarElement"),s=e.ref(C),r=e.ref(0),a=d.debounce(()=>{const i=(o.value?.offsetTop||0)+(o.value?.offsetHeight||0),u=typeof window<"u"?window.innerWidth:1024;s.value=!t.sticky||u<1024?i+"px":C,r.value=i},100);return e.watch(()=>l.value,a,{deep:!0,immediate:!0}),e.onMounted(()=>{window.addEventListener("resize",a)}),e.onUnmounted(()=>{window.removeEventListener("resize",a)}),(i,u)=>(e.openBlock(),e.createElementBlock("nav",{ref_key:"navBarElement",ref:o,class:e.normalizeClass(["phila-navbar has-links-on-primary",{"is-sticky-desktop":n.sticky}]),"aria-label":"Main navigation",style:e.normalizeStyle(`--nav-height:${s.value};--nav-bottom:${r.value}px`)},[e.renderSlot(i.$slots,"navbar-burger",{},()=>[n.mobileNav||i.$slots["mobile-nav"]?(e.openBlock(),e.createBlock(Be,{key:0,"mobile-nav":n.mobileNav,"collapse-group":n.id},e.createSlots({_:2},[i.$slots["mobile-nav"]?{name:"mobile-nav",fn:e.withCtx(()=>[e.renderSlot(i.$slots,"mobile-nav",{},void 0,!0)]),key:"0"}:void 0]),1032,["mobile-nav","collapse-group"])):e.createCommentVNode("",!0)],!0),e.createElementVNode("div",De,[e.renderSlot(i.$slots,"navbar-logo",{},()=>[n.navbarBrand?.brandingImage?(e.openBlock(),e.createBlock(Se,e.mergeProps({key:0},n.navbarBrand.brandingImage,{logo:n.navbarBrand?.logo}),null,16,["logo"])):e.createCommentVNode("",!0)],!0),i.$slots["navbar-brand-link"]||n.navbarBrand?.brandingLink?(e.openBlock(),e.createElementBlock("div",Ie,[e.renderSlot(i.$slots,"navbar-brand-link",{},()=>[n.navbarBrand?.brandingLink?(e.openBlock(),e.createElementBlock("div",Oe,[e.createElementVNode("a",{tabindex:"0",href:n.navbarBrand.brandingLink.href,class:"has-text-underline"},e.toDisplayString(n.navbarBrand.brandingLink.text),9,Fe)])):e.createCommentVNode("",!0)],!0)])):e.createCommentVNode("",!0)]),e.createElementVNode("div",Re,[e.renderSlot(i.$slots,"navbar-links",{},()=>[n.links?(e.openBlock(),e.createBlock(Ve,{key:0,links:n.links,"collapse-group":n.id},null,8,["links","collapse-group"])):e.createCommentVNode("",!0)],!0)]),e.createElementVNode("div",Ue,[e.renderSlot(i.$slots,"navbar-search",{},()=>[n.search?(e.openBlock(),e.createBlock(Te,{key:0,search:n.search,"collapse-group":n.id},null,8,["search","collapse-group"])):e.createCommentVNode("",!0)],!0)]),i.$slots["navbar-end"]?(e.openBlock(),e.createElementBlock("div",Pe,[e.renderSlot(i.$slots,"navbar-end",{},void 0,!0)])):e.createCommentVNode("",!0)],6))}}),je=b(He,[["__scopeId","data-v-caf52a6d"]]),Ge={class:"site-wide-alert content"},qe={class:"alert-content"},Qe={class:"content-text"},Ke={class:"title"},We={class:"body"},Xe=e.defineComponent({__name:"AlertBanner",props:{bannerTitle:{},bannerMessage:{}},setup(n){const t=n;return(l,o)=>(e.openBlock(),e.createElementBlock("div",Ge,[e.createElementVNode("div",qe,[e.createVNode(e.unref(d.Icon),{"icon-definition":e.unref(H),size:"small",decorative:!0},null,8,["icon-definition"]),e.createElementVNode("div",Qe,[e.createElementVNode("h6",Ke,e.toDisplayString(t.bannerTitle),1),e.createElementVNode("div",We,e.toDisplayString(t.bannerMessage),1)])])]))}}),Ye=e.defineComponent({__name:"AppHeader",props:{showTrustedSite:{type:Boolean,default:!0},translations:{default:void 0},className:{},id:{default:"main-nav"},sticky:{type:Boolean,default:!0},navbarBrand:{default:void 0},mobileNav:{default:void 0},collapseGroup:{},search:{default:void 0},links:{default:void 0},bannerTitle:{default:void 0},bannerMessage:{default:void 0}},setup(n){return(t,l)=>(e.openBlock(),e.createElementBlock(e.Fragment,null,[n.showTrustedSite?(e.openBlock(),e.createBlock(be,{key:0},{translation:e.withCtx(()=>[e.renderSlot(t.$slots,"translations",{},()=>[n.translations?(e.openBlock(),e.createBlock(e.resolveDynamicComponent(n.translations),{key:0})):e.createCommentVNode("",!0)])]),_:3})):e.createCommentVNode("",!0),e.createVNode(je,{id:n.id,sticky:n.sticky,"mobile-nav":n.mobileNav,links:n.links,"navbar-brand":n.navbarBrand,search:n.search},e.createSlots({_:2},[t.$slots["mobile-nav"]?{name:"mobile-nav",fn:e.withCtx(()=>[e.renderSlot(t.$slots,"mobile-nav")]),key:"0"}:void 0,t.$slots["navbar-end"]?{name:"navbar-end",fn:e.withCtx(()=>[e.renderSlot(t.$slots,"navbar-end")]),key:"1"}:void 0]),1032,["id","sticky","mobile-nav","links","navbar-brand","search"]),n.bannerTitle||n.bannerMessage?(e.openBlock(),e.createBlock(Xe,{key:1,"banner-title":n.bannerTitle,"banner-message":n.bannerMessage},null,8,["banner-title","banner-message"])):e.createCommentVNode("",!0)],64))}}),Ze=["disabled"],_=e.defineComponent({inheritAttrs:!1,__name:"PhlButton",props:{href:{},to:{},target:{},rel:{},disabled:{type:Boolean,default:!1},clickTarget:{},variant:{default:"primary"},size:{default:"medium"},iconOnly:{type:Boolean,default:!1},iconRight:{type:Boolean},text:{},className:{},iconDefinition:{},iconClass:{},src:{},svgRaw:{}},setup(n){const t=n,l=a=>"href"in a&&a.href!==void 0||"to"in a&&a.to!==void 0,o=e.computed(()=>d.cn("phila-button",`phila-button--${t.variant}`,t.size&&`is-${t.size}`,t.iconOnly&&"icon-button",t.iconOnly&&t.variant==="standard"&&"icon-button--standard",t.className)),s=e.computed(()=>l(t)?"to"in t&&t.to!==void 0?{to:t.to,disabled:t.disabled,className:o.value}:{href:t.href,target:t.target,rel:t.rel,disabled:t.disabled,className:o.value}:{}),r=e.computed(()=>({iconDefinition:t.iconDefinition,iconClass:t.iconClass,src:t.src,iconRight:t.iconRight,iconOnly:t.iconOnly,text:t.text,size:t.size}));return(a,i)=>l(t)?(e.openBlock(),e.createBlock(e.unref(d.BaseLink),e.mergeProps({key:0},{...s.value,...a.$attrs},{role:"button"}),{default:e.withCtx(()=>[e.createVNode(e.unref(d.ActionContent),e.normalizeProps(e.guardReactiveProps(r.value)),{default:e.withCtx(()=>[e.renderSlot(a.$slots,"default",{},()=>[e.createTextVNode(e.toDisplayString(t.text),1)])]),_:3},16)]),_:3},16)):(e.openBlock(),e.createElementBlock("button",e.mergeProps({key:1,type:"button",disabled:t.disabled,class:o.value},a.$attrs),[e.createVNode(e.unref(d.ActionContent),e.normalizeProps(e.guardReactiveProps(r.value)),{default:e.withCtx(()=>[e.renderSlot(a.$slots,"default",{},()=>[e.createTextVNode(e.toDisplayString(t.text),1)])]),_:3},16)],16,Ze))}});var E={prefix:"fas",iconName:"xmark",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"]};const Je=["id"],et={key:0,class:"tooltip__tail","aria-hidden":"true"},tt={key:1,class:"tooltip__plain-row has-text-body-small"},nt={key:0,class:"tooltip__title-row"},ot={key:0},at=e.defineComponent({__name:"TooltipBubble",props:{id:{},type:{default:"plain"},color:{default:"default"},tail:{type:Boolean,default:!1},placement:{default:"top-center"},title:{},dismissable:{type:Boolean,default:!1},className:{}},emits:["dismiss"],setup(n){const t=n,l=e.computed(()=>d.cn("tooltip","content","resets-link-colors",`tooltip--${t.type}`,`tooltip--${t.color}`,t.tail&&`tooltip--${t.placement}`,t.className));return(o,s)=>(e.openBlock(),e.createElementBlock("div",{id:n.id,class:e.normalizeClass(l.value),role:"tooltip"},[n.tail?(e.openBlock(),e.createElementBlock("div",et)):e.createCommentVNode("",!0),n.type==="plain"?(e.openBlock(),e.createElementBlock("div",tt,[e.renderSlot(o.$slots,"default",{},void 0,!0),n.dismissable?(e.openBlock(),e.createBlock(e.unref(_),{key:0,class:"tooltip__dismiss",variant:"standard",size:"extra-small","icon-only":!0,"icon-definition":e.unref(E),"aria-label":"Dismiss tooltip",onClick:s[0]||(s[0]=r=>o.$emit("dismiss"))},null,8,["icon-definition"])):e.createCommentVNode("",!0)])):(e.openBlock(),e.createElementBlock(e.Fragment,{key:2},[n.title||n.dismissable?(e.openBlock(),e.createElementBlock("div",nt,[n.title?(e.openBlock(),e.createElementBlock("h6",ot,e.toDisplayString(n.title),1)):e.createCommentVNode("",!0),n.dismissable?(e.openBlock(),e.createBlock(e.unref(_),{key:1,class:"tooltip__dismiss",variant:"standard",size:"extra-small","icon-only":!0,"icon-definition":e.unref(E),"aria-label":"Dismiss tooltip",onClick:s[1]||(s[1]=r=>o.$emit("dismiss"))},null,8,["icon-definition"])):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0),e.renderSlot(o.$slots,"default",{},void 0,!0)],64))],10,Je))}}),A=(n,t)=>{const l=n.__vccOpts||n;for(const[o,s]of t)l[o]=s;return l},lt=A(at,[["__scopeId","data-v-7ccd7c7d"]]),it=e.defineComponent({__name:"Tooltip",props:{trigger:{default:"hover"},type:{default:"plain"},color:{default:"default"},tail:{type:Boolean,default:!1},placement:{default:"auto"},title:{},dismissable:{type:Boolean},className:{}},setup(n,{expose:t}){const l=n,o=e.useId(),s=e.ref(!1),r=e.ref(null),a=e.ref(null),i=e.ref("top-center"),u=e.ref(0),L=()=>{const c=r.value?.getBoundingClientRect();if(!c)return"top-center";const{innerWidth:f,innerHeight:k}=window,h=c.top,I=k-c.bottom,N=a.value?.firstElementChild?.getBoundingClientRect().height??0,O=(N>0?h>=N:h>=I)?"top":"bottom",x=c.left+c.width/2,F=x<f/3?"left":x>f*2/3?"right":"center";return`${O}-${F}`},y=c=>{c.key==="Escape"&&m()},B=c=>{r.value&&!r.value.contains(c.target)&&m()};function M(){const c=a.value?.firstElementChild?.getBoundingClientRect();if(!c)return;const f=8,k=c.right-(window.innerWidth-f),h=f-c.left;k<=0&&h<=0||(u.value=window.innerWidth/2-(c.left+c.width/2))}const v=async()=>{l.placement==="auto"?i.value=L():i.value=l.placement,u.value=0,s.value=!0,document.addEventListener("keydown",y),l.trigger==="click"&&document.addEventListener("click",B),await e.nextTick(),M()},m=()=>{s.value=!1,document.removeEventListener("keydown",y),document.removeEventListener("click",B)},T=()=>{s.value?m():v()};e.onUnmounted(m),t({show:v,hide:m});const D=e.computed(()=>({type:l.type,color:l.color,tail:l.tail,placement:i.value,title:l.title,dismissable:l.dismissable}));return(c,f)=>(e.openBlock(),e.createElementBlock("span",e.mergeProps({ref_key:"wrapperEl",ref:r,class:e.unref(d.cn)("tooltip-trigger",l.className)},n.trigger==="click"?{onClick:T}:{onMouseenter:v,onMouseleave:m,onFocusin:v,onFocusout:m}),[e.renderSlot(c.$slots,"default",{tooltipId:e.unref(o),isOpen:s.value},void 0,!0),e.createElementVNode("span",{ref_key:"positionerEl",ref:a,class:e.normalizeClass(["tooltip-trigger__positioner",`tooltip-trigger__positioner--${i.value}`]),style:e.normalizeStyle({visibility:s.value?"visible":"hidden","--positioner-gap":n.tail?"var(--spacing-l)":"0.5rem","--adjust-x":`${u.value}px`}),onClick:f[0]||(f[0]=e.withModifiers(()=>{},["stop"]))},[e.createVNode(lt,e.mergeProps(D.value,{id:e.unref(o),onDismiss:m}),{default:e.withCtx(()=>[e.renderSlot(c.$slots,"body",{},void 0,!0)]),_:3},16,["id"])],6)],16))}}),st=A(it,[["__scopeId","data-v-b3f93b8c"]]),rt=["disabled"],ct=e.defineComponent({inheritAttrs:!1,__name:"PhlButton",props:{href:{},to:{},target:{},rel:{},disabled:{type:Boolean,default:!1},clickTarget:{},variant:{default:"primary"},size:{default:"medium"},iconOnly:{type:Boolean,default:!1},iconRight:{type:Boolean},text:{},className:{},iconDefinition:{},iconClass:{},src:{},svgRaw:{}},setup(n){const t=n,l=a=>"href"in a&&a.href!==void 0||"to"in a&&a.to!==void 0,o=e.computed(()=>d.cn("phila-button",`phila-button--${t.variant}`,t.size&&`is-${t.size}`,t.iconOnly&&"icon-button",t.iconOnly&&t.variant==="standard"&&"icon-button--standard",t.className)),s=e.computed(()=>l(t)?"to"in t&&t.to!==void 0?{to:t.to,disabled:t.disabled,className:o.value}:{href:t.href,target:t.target,rel:t.rel,disabled:t.disabled,className:o.value}:{}),r=e.computed(()=>({iconDefinition:t.iconDefinition,iconClass:t.iconClass,src:t.src,iconRight:t.iconRight,iconOnly:t.iconOnly,text:t.text,size:t.size}));return(a,i)=>l(t)?(e.openBlock(),e.createBlock(e.unref(d.BaseLink),e.mergeProps({key:0},{...s.value,...a.$attrs},{role:"button"}),{default:e.withCtx(()=>[e.createVNode(e.unref(d.ActionContent),e.normalizeProps(e.guardReactiveProps(r.value)),{default:e.withCtx(()=>[e.renderSlot(a.$slots,"default",{},()=>[e.createTextVNode(e.toDisplayString(t.text),1)])]),_:3},16)]),_:3},16)):(e.openBlock(),e.createElementBlock("button",e.mergeProps({key:1,type:"button",disabled:t.disabled,class:o.value},a.$attrs),[e.createVNode(e.unref(d.ActionContent),e.normalizeProps(e.guardReactiveProps(r.value)),{default:e.withCtx(()=>[e.renderSlot(a.$slots,"default",{},()=>[e.createTextVNode(e.toDisplayString(t.text),1)])]),_:3},16)],16,rt))}}),dt={class:"navbar-info"},ut={class:"navbar-info__group"},mt={key:0,class:"navbar-info__label has-text-body-default hidden-tablet","aria-hidden":"true"},ft={class:"has-text-body-small"},pt=e.defineComponent({__name:"NavbarInfo",props:{infoTitle:{},infoMessage:{},label:{}},setup(n,{expose:t}){const l=e.useTemplateRef("tooltip");return t({show:()=>l.value?.show(),hide:()=>l.value?.hide()}),(o,s)=>(e.openBlock(),e.createElementBlock("div",dt,[e.createVNode(e.unref(st),{ref_key:"tooltip",ref:l,type:"rich",title:n.infoTitle,trigger:"click",dismissable:!0},{default:e.withCtx(({tooltipId:r,isOpen:a})=>[e.createElementVNode("span",ut,[e.createVNode(e.unref(ct),{class:"navbar-info__trigger",variant:"standard",size:"small","icon-only":!0,"icon-definition":e.unref(z),"aria-label":"More information","aria-describedby":r,"aria-pressed":a},null,8,["icon-definition","aria-describedby","aria-pressed"]),n.label?(e.openBlock(),e.createElementBlock("span",mt,e.toDisplayString(n.label),1)):e.createCommentVNode("",!0)])]),body:e.withCtx(()=>[e.renderSlot(o.$slots,"default",{},()=>[e.createElementVNode("div",ft,e.toDisplayString(n.infoMessage),1)],!0)]),_:3},8,["title"])]))}}),vt=b(pt,[["__scopeId","data-v-c3989251"]]);exports.AppHeader=Ye;exports.NavbarInfo=vt;
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require('./index.css');const e=require("vue"),g=require("@fortawesome/vue-fontawesome"),u=require("@phila/phila-ui-core"),Q=require("@phila/phila-ui-logo");var K={prefix:"fas",iconName:"magnifying-glass",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"]},W=K,X={prefix:"fas",iconName:"circle-exclamation",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"]},E={prefix:"fas",iconName:"xmark",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"]},Y=E,w=E,Z={prefix:"fas",iconName:"lock",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"]},S={prefix:"fas",iconName:"caret-up",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"]},z={prefix:"fas",iconName:"caret-down",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"]},J={prefix:"fas",iconName:"building-columns",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"]},ee={prefix:"fas",iconName:"bars",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"]},te={prefix:"fas",iconName:"circle-info",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"]},T=te;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",oe={id:"trusted-site",class:"is-flex is-justify-space-between"},ae={class:"trusted-wrap"},ie={class:"hidden-tablet trusted-toggle is-flex is-align-center"},le=["src"],se=["aria-label","aria-expanded"],re={class:"icon","aria-hidden":"true"},ce={class:"hidden-desktop trusted-toggle is-flex is-align-center"},de=["aria-label","aria-expanded"],ue={class:"icon","aria-hidden":"true"},fe={key:0,class:"trusted-translation is-flex is-align-center"},me=["hidden"],pe={class:"trusted-site-info-content content has-text-body-small is-flex is-justify-space-between"},ve={class:"info-item-wrap is-flex"},be={class:"info-item is-flex is-12-mobile is-align-flex-start is-flex-1 my-4"},he={class:"trusted-icon is-flex is-flex-column has-text-center"},ge={class:"icon circle-icon p-3 mb-2"},ye={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"},Be={class:"icon circle-icon p-3 mb-2"},_e={class:"info-content-close mt-4"},Ne=e.defineComponent({__name:"TrustedSite",setup(n){const t=e.useSlots(),{isVisible:o,setVisibility:a,toggleProps:l}=u.useVisibility({id:"trusted-site-info",escapeKeyHide:!0}),s=e.useTemplateRef("infoToggle"),i=e.useTemplateRef("closeInfoToggle"),p=e.useTemplateRef("infoToggleMobile"),c=e.computed(()=>o());return e.watch(()=>c.value,m=>{m?e.nextTick(()=>{i.value?.focus()}):(s.value?.focus(),p.value?.focus())}),(m,d)=>(e.openBlock(),e.createElementBlock(e.Fragment,null,[e.createElementVNode("div",oe,[e.createElementVNode("div",ae,[e.createElementVNode("div",ie,[e.createElementVNode("img",{src:e.unref(ne),alt:"",class:"icon"},null,8,le),d[2]||(d[2]=e.createElementVNode("div",{class:"content mx-2"},"An official website of the City of Philadelphia government",-1)),e.createElementVNode("button",e.mergeProps({ref_key:"infoToggle",ref:s,class:"phila-button is-extra-small","aria-label":`${c.value?"Close":"Open"} Trusted Site information panel`,"aria-controls":"trusted-site-info","aria-expanded":c.value},e.unref(l)),[d[1]||(d[1]=e.createTextVNode(" Here's how you know ",-1)),e.createElementVNode("span",re,[e.createVNode(e.unref(g.FontAwesomeIcon),{icon:c.value?e.unref(S):e.unref(z)},null,8,["icon"])])],16,se)]),e.createElementVNode("div",ce,[e.createElementVNode("button",e.mergeProps({ref_key:"infoToggleMobile",ref:p,class:"phila-button is-extra-small","aria-label":`${c.value?"Close":"Open"} Trusted Site information panel`,"aria-controls":"trusted-site-info","aria-expanded":c.value},e.unref(l)),[d[3]||(d[3]=e.createTextVNode(" An official website ",-1)),e.createElementVNode("span",ue,[e.createVNode(e.unref(g.FontAwesomeIcon),{icon:e.unref(T)},null,8,["icon"])])],16,de)])]),e.unref(t).translation?(e.openBlock(),e.createElementBlock("div",fe,[e.renderSlot(m.$slots,"translation",{},void 0,!0)])):e.createCommentVNode("",!0)]),e.createElementVNode("div",{id:"trusted-site-info",class:"px-6",hidden:!c.value},[e.createElementVNode("div",pe,[e.createElementVNode("div",ve,[e.createElementVNode("div",be,[e.createElementVNode("div",he,[e.createElementVNode("span",ge,[e.createVNode(e.unref(g.FontAwesomeIcon),{icon:e.unref(J)},null,8,["icon"])]),d[4]||(d[4]=e.createElementVNode("span",{class:"has-text-bold"},".gov",-1))]),d[5]||(d[5]=e.createElementVNode("div",{class:"trusted-text m-4"},"Only government entities in the U.S. can end in .gov",-1))]),e.createElementVNode("div",ye,[e.createElementVNode("div",ke,[e.createElementVNode("div",Be,[e.createVNode(e.unref(g.FontAwesomeIcon),{icon:e.unref(Z)},null,8,["icon"])]),d[6]||(d[6]=e.createElementVNode("span",{class:"has-text-bold"},"https://",-1))]),d[7]||(d[7]=e.createElementVNode("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))])]),e.createElementVNode("div",_e,[e.createElementVNode("button",{ref_key:"closeInfoToggle",ref:i,class:"phila-button phila-button--primary icon-button is-extra-small","aria-label":"Close Trusted Site information panel",onClick:d[0]||(d[0]=r=>e.unref(a)(!1))},[e.createVNode(e.unref(g.FontAwesomeIcon),{icon:e.unref(Y)},null,8,["icon"])],512)])])],8,me)],64))}}),B=(n,t)=>{const o=n.__vccOpts||n;for(const[a,l]of t)o[a]=l;return o},A=B(Ne,[["__scopeId","data-v-adf7cbee"]]),xe={key:0,class:"phila-navbar-end"},$="5rem",$e=e.defineComponent({__name:"index",props:{id:{},sticky:{type:Boolean},navbarBrand:{},mobileNav:{},visibilityGroup:{},search:{},links:{default:()=>[{text:"Home",href:"#"}]}},setup(n){const t=n,{visibilityState:o}=u.useVisibility({group:"app-header"}),a=e.useTemplateRef("navBarElement"),l=e.ref($),s=e.ref(0),i=u.debounce(()=>{const c=(a.value?.offsetTop||0)+(a.value?.offsetHeight||0),m=typeof window<"u"?window.innerWidth:1024;l.value=!t.sticky||m<1024?c+"px":$,s.value=c},100),p=e.computed(()=>o.value?.appHeader);return e.watch(()=>p.value,i,{deep:!0,immediate:!0}),e.onMounted(()=>{window.addEventListener("resize",i)}),e.onUnmounted(()=>{window.removeEventListener("resize",i)}),(c,m)=>(e.openBlock(),e.createElementBlock("nav",{ref_key:"navBarElement",ref:a,class:e.normalizeClass(["phila-navbar has-links-on-primary",{"is-sticky-desktop":n.sticky}]),"aria-label":"Main navigation",style:e.normalizeStyle(`--nav-height:${l.value};--nav-bottom:${s.value}px`)},[e.renderSlot(c.$slots,"navbar-toggle",{},void 0,!0),e.renderSlot(c.$slots,"navbar-left",{},void 0,!0),e.renderSlot(c.$slots,"navbar-right",{},void 0,!0),c.$slots["navbar-end"]?(e.openBlock(),e.createElementBlock("div",xe,[e.renderSlot(c.$slots,"navbar-end",{},void 0,!0)])):e.createCommentVNode("",!0)],6))}}),M=B($e,[["__scopeId","data-v-23ed37fb"]]),Ce={class:"site-wide-alert content"},Ve={class:"alert-content"},Ee={class:"content-text"},we={class:"title"},Se={class:"body"},L=e.defineComponent({__name:"AlertBanner",props:{bannerTitle:{},bannerMessage:{}},setup(n){const t=n;return(o,a)=>(e.openBlock(),e.createElementBlock("div",Ce,[e.createElementVNode("div",Ve,[e.createVNode(e.unref(u.Icon),{"icon-definition":e.unref(X),size:"small",decorative:!0},null,8,["icon-definition"]),e.createElementVNode("div",Ee,[e.createElementVNode("h6",we,e.toDisplayString(t.bannerTitle),1),e.createElementVNode("div",Se,e.toDisplayString(t.bannerMessage),1)])])]))}}),ze={class:"phila-navbar-item phila-navbar-list is-flex is-align-center is-justify-space-between content has-text-label-default hidden-tablet"},Te=["href"],Ae=["id","onMouseenter","onMouseleave"],Me=["href","aria-controls","aria-expanded","data-toggle","onTouchend","onClick"],Le={key:0,class:"content nav-flyout has-background-ghost-gray px-6 py-4",tabindex:"-1"},Pe={class:"is-flex is-flex-column is-flex-wrap-wrap",style:{gap:"var(--spacing-4xl)"}},Ie=["href"],P=e.defineComponent({__name:"NavbarLinks",props:{links:{},visibilityGroup:{}},setup(n){const t=m=>!!(m.subLinks||m.subNav),o=m=>`main-nav-${m.text.split(" ").join("-").toLowerCase().replace(/[^a-z0-9-]/g,"")}`,a=n,{setVisibility:l,create:s,isVisible:i,onMouseEnter:p,onMouseLeave:c}=u.useVisibility({group:a.visibilityGroup,outsideClickHide:!0,escapeKeyHide:!0,mouseOverToggle:!0,blurHide:!0,showSingle:!0});return e.onBeforeMount(()=>{a.links?.forEach(m=>{if(t(m)){const d=o(m);s(d)}})}),(m,d)=>(e.openBlock(),e.createElementBlock("div",ze,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(n.links,(r,y)=>(e.openBlock(),e.createElementBlock(e.Fragment,null,[t(r)?(e.openBlock(),e.createElementBlock("div",{id:`${a.visibilityGroup}-item-${o(r)}`,key:`navbar-link-${y}`,class:"phila-navbar-link-list-item",onMouseenter:v=>e.unref(p)(o(r)),onMouseleave:v=>e.unref(c)(o(r))},[e.createElementVNode("a",{href:r.href,class:e.normalizeClass(["phila-navbar-link px-4",{"phila-navbar-item-flyout-active":e.unref(i)(o(r))}]),"aria-controls":o(r),"aria-expanded":e.unref(i)(o(r)),"data-toggle":`visibility-${o(r)}`,tabindex:"0",onTouchend:v=>e.unref(l)(!e.unref(i)(o(r)),o(r)),onClick:e.withModifiers(v=>e.unref(l)(!e.unref(i)(o(r)),o(r)),["prevent"])},[e.createTextVNode(e.toDisplayString(r.text)+" ",1),e.createVNode(e.unref(g.FontAwesomeIcon),{class:"ml-1",icon:e.unref(i)(o(r))?e.unref(S):e.unref(z)},null,8,["icon"])],42,Me),(e.openBlock(),e.createBlock(e.unref(u.FocusTrap),{id:o(r),key:r.text,"allow-escape":"",hidden:!e.unref(i)(o(r)),onEscape:v=>e.unref(l)(!1,o(r))},{default:e.withCtx(()=>[r.subLinks?(e.openBlock(),e.createElementBlock("div",Le,[e.createElementVNode("ul",Pe,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(r.subLinks,v=>(e.openBlock(),e.createElementBlock("li",{key:v.text,class:"sub-nav-link is-flex is-align-center",style:{width:"150px"}},[e.createElementVNode("a",{href:v.href,class:"has-text-link has-text-weight-medium",tabindex:"0"},e.toDisplayString(v.text),9,Ie)]))),128))])])):(e.openBlock(),e.createBlock(e.resolveDynamicComponent(r.subNav),{key:1}))]),_:2},1032,["id","hidden","onEscape"]))],40,Ae)):(e.openBlock(),e.createElementBlock("div",{key:`link-${y}`,class:"phila-navbar-link-list-item"},[e.createElementVNode("a",{href:r.href,class:"phila-navbar-link px-4",tabindex:"0"},e.toDisplayString(r.text),9,Te)]))],64))),256))]))}}),De={class:"phila-navbar-search is-flex"},He={id:"navbar-search"},Oe={class:"pr-4"},Re=["aria-controls","data-toggle","aria-expanded","aria-label"],Fe={class:"icon"},I=e.defineComponent({__name:"NavbarSearch",props:{search:{},visibilityGroup:{}},setup(n){const t=n,{setVisibility:o,isVisible:a}=u.useVisibility({id:`${t.visibilityGroup}-flyout-navbar-search`,group:t.visibilityGroup,outsideClickHide:!0,escapeKeyHide:!0,blurHide:!0,showSingle:!0});return(l,s)=>(e.openBlock(),e.createElementBlock("div",De,[e.createElementVNode("div",He,[e.createElementVNode("div",Oe,[e.createElementVNode("button",{class:e.normalizeClass(["phila-button phila-button--primary icon-button is-small",{"phila-navbar-item-flyout-active":e.unref(a)()}]),"aria-controls":`${t.visibilityGroup}-flyout-navbar-search`,"data-toggle":`visibility-${t.visibilityGroup}-flyout-navbar-search`,"aria-expanded":e.unref(a)(),"aria-label":`${e.unref(a)()?"Close":"Open"} search panel`,onClick:s[0]||(s[0]=i=>e.unref(o)(!e.unref(a)()))},[e.createElementVNode("span",Fe,[e.createVNode(e.unref(g.FontAwesomeIcon),{icon:e.unref(a)()?e.unref(w):e.unref(W)},null,8,["icon"])])],10,Re)])]),e.createVNode(e.unref(u.FocusTrap),{id:`${t.visibilityGroup}-flyout-navbar-search`,"allow-escape":"",class:"nav-flyout is-12",hidden:!e.unref(a)(),onEscape:s[1]||(s[1]=i=>e.unref(o)(!1,`${t.visibilityGroup}-flyout-navbar-search`))},{default:e.withCtx(()=>[e.renderSlot(l.$slots,"search-panel")]),_:3},8,["id","hidden"])]))}}),Ge=e.defineComponent({__name:"NavbarBrandLogo",props:{logo:{},src:{},href:{},altText:{}},setup(n){const t=n,o=e.computed(()=>({variant:"city",layout:"stacked",colorScheme:"on-primary",href:t.href,...t.logo}));return(a,l)=>(e.openBlock(),e.createBlock(e.unref(Q.Logo),e.mergeProps(o.value,{class:"phila-navbar-logo"}),null,16))}}),D=B(Ge,[["__scopeId","data-v-3011c249"]]),Ue={class:"phila-navbar-brand is-flex"},je={key:0,class:"phila-navbar-item phila-navbar-brand-link hidden-tablet"},qe={key:0,class:"content"},Qe=["href"],H=e.defineComponent({__name:"NavbarBrand",props:{brandingImage:{},brandingLink:{},logo:{}},setup(n){return(t,o)=>(e.openBlock(),e.createElementBlock("div",Ue,[e.renderSlot(t.$slots,"navbar-logo",{},()=>[n.brandingImage?(e.openBlock(),e.createBlock(D,e.mergeProps({key:0},n.brandingImage,{logo:n.logo}),null,16,["logo"])):e.createCommentVNode("",!0)]),t.$slots["navbar-brand-link"]||n.brandingLink?(e.openBlock(),e.createElementBlock("div",je,[e.renderSlot(t.$slots,"navbar-brand-link",{},()=>[n.brandingLink?(e.openBlock(),e.createElementBlock("div",qe,[e.createElementVNode("a",{tabindex:"0",href:n.brandingLink.href,class:"has-text-underline"},e.toDisplayString(n.brandingLink.text),9,Qe)])):e.createCommentVNode("",!0)])])):e.createCommentVNode("",!0)]))}}),Ke={id:"mobile-nav"},We=["aria-controls","aria-expanded","aria-label"],Xe={class:"icon"},Ye=["id","hidden"],O=e.defineComponent({__name:"NavbarBurger",props:{mobileNav:{},visibilityGroup:{}},setup(n){const t=n,{isVisible:o,toggleProps:a}=u.useVisibility({id:"mobile-nav",group:t.visibilityGroup,outsideClickHide:!0,escapeKeyHide:!0,blurHide:!1,showSingle:!0}),l=e.computed(()=>o("mobile-nav"));return(s,i)=>(e.openBlock(),e.createElementBlock("div",Ke,[e.createElementVNode("button",e.mergeProps({class:["phila-navbar-burger phila-button icon-button",{"phila-navbar-item-flyout-active":l.value}],"aria-controls":`navbar-burger-flyout-${t.visibilityGroup}`,"aria-expanded":l.value,"aria-label":`${l.value?"Close":"Open"} mobile navigation panel`},e.unref(a)),[e.createElementVNode("span",Xe,[e.createVNode(e.unref(g.FontAwesomeIcon),{icon:l.value?e.unref(w):e.unref(ee)},null,8,["icon"])])],16,We),e.createElementVNode("div",{id:`navbar-burger-flyout-${t.visibilityGroup}`,class:"phila-mobile-nav",hidden:!l.value},[e.renderSlot(s.$slots,"mobile-nav")],8,Ye)]))}}),Ze=e.defineComponent({__name:"AppHeader",props:{showTrustedSite:{type:Boolean,default:!0},translations:{default:void 0},className:{},id:{default:"main-nav"},sticky:{type:Boolean,default:!0},navbarBrand:{default:void 0},mobileNav:{},visibilityGroup:{},search:{},links:{default:void 0},bannerTitle:{default:void 0},bannerMessage:{default:void 0}},setup(n){return(t,o)=>(e.openBlock(),e.createElementBlock(e.Fragment,null,[n.showTrustedSite?(e.openBlock(),e.createBlock(A,{key:0},{translation:e.withCtx(()=>[e.renderSlot(t.$slots,"translations",{},()=>[n.translations?(e.openBlock(),e.createBlock(e.resolveDynamicComponent(n.translations),{key:0})):e.createCommentVNode("",!0)])]),_:3})):e.createCommentVNode("",!0),e.createVNode(M,{id:n.id,sticky:n.sticky},e.createSlots({"navbar-toggle":e.withCtx(()=>[e.renderSlot(t.$slots,"navbar-toggle",{},()=>[e.createVNode(O,{"visibility-group":n.id},e.createSlots({_:2},[t.$slots["mobile-nav"]?{name:"mobile-nav",fn:e.withCtx(()=>[e.renderSlot(t.$slots,"mobile-nav")]),key:"0"}:void 0]),1032,["visibility-group"])])]),"navbar-left":e.withCtx(()=>[e.renderSlot(t.$slots,"navbar-left",{},()=>[e.renderSlot(t.$slots,"navbar-brand",{},()=>[n.navbarBrand?(e.openBlock(),e.createBlock(H,e.normalizeProps(e.mergeProps({key:0},n.navbarBrand)),null,16)):e.createCommentVNode("",!0)])])]),"navbar-right":e.withCtx(()=>[e.renderSlot(t.$slots,"navbar-right",{},()=>[e.renderSlot(t.$slots,"navbar-links",{},()=>[n.links?(e.openBlock(),e.createBlock(P,{key:0,links:n.links,"visibility-group":n.id},null,8,["links","visibility-group"])):e.createCommentVNode("",!0)]),e.renderSlot(t.$slots,"navbar-search",{},()=>[e.createVNode(I,{"visibility-group":n.id},{"search-panel":e.withCtx(()=>[e.renderSlot(t.$slots,"search-panel")]),_:3},8,["visibility-group"])])])]),_:2},[t.$slots["navbar-end"]?{name:"navbar-end",fn:e.withCtx(()=>[e.renderSlot(t.$slots,"navbar-end")]),key:"0"}:void 0]),1032,["id","sticky"]),n.bannerTitle||n.bannerMessage?(e.openBlock(),e.createBlock(L,{key:1,"banner-title":n.bannerTitle,"banner-message":n.bannerMessage},null,8,["banner-title","banner-message"])):e.createCommentVNode("",!0)],64))}}),Je=["disabled"],C=e.defineComponent({inheritAttrs:!1,__name:"PhlButton",props:{href:{},to:{},target:{},rel:{},disabled:{type:Boolean,default:!1},clickTarget:{},variant:{default:"primary"},size:{default:"medium"},iconOnly:{type:Boolean,default:!1},iconRight:{type:Boolean},text:{},className:{},iconDefinition:{},iconClass:{},src:{},svgRaw:{}},setup(n){const t=n,o=i=>"href"in i&&i.href!==void 0||"to"in i&&i.to!==void 0,a=e.computed(()=>u.cn("phila-button",`phila-button--${t.variant}`,t.size&&`is-${t.size}`,t.iconOnly&&"icon-button",t.iconOnly&&t.variant==="standard"&&"icon-button--standard",t.className)),l=e.computed(()=>o(t)?"to"in t&&t.to!==void 0?{to:t.to,disabled:t.disabled,className:a.value}:{href:t.href,target:t.target,rel:t.rel,disabled:t.disabled,className:a.value}:{}),s=e.computed(()=>({iconDefinition:t.iconDefinition,iconClass:t.iconClass,src:t.src,iconRight:t.iconRight,iconOnly:t.iconOnly,text:t.text,size:t.size}));return(i,p)=>o(t)?(e.openBlock(),e.createBlock(e.unref(u.BaseLink),e.mergeProps({key:0},{...l.value,...i.$attrs},{role:"button"}),{default:e.withCtx(()=>[e.createVNode(e.unref(u.ActionContent),e.normalizeProps(e.guardReactiveProps(s.value)),{default:e.withCtx(()=>[e.renderSlot(i.$slots,"default",{},()=>[e.createTextVNode(e.toDisplayString(t.text),1)])]),_:3},16)]),_:3},16)):(e.openBlock(),e.createElementBlock("button",e.mergeProps({key:1,type:"button",disabled:t.disabled,class:a.value},i.$attrs),[e.createVNode(e.unref(u.ActionContent),e.normalizeProps(e.guardReactiveProps(s.value)),{default:e.withCtx(()=>[e.renderSlot(i.$slots,"default",{},()=>[e.createTextVNode(e.toDisplayString(t.text),1)])]),_:3},16)],16,Je))}});var V={prefix:"fas",iconName:"xmark",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"]};const et=["id"],tt={key:0,class:"tooltip__tail","aria-hidden":"true"},nt={key:1,class:"tooltip__plain-row has-text-body-small"},ot={key:0,class:"tooltip__title-row"},at={key:0},it=e.defineComponent({__name:"TooltipBubble",props:{id:{},type:{default:"plain"},color:{default:"default"},tail:{type:Boolean,default:!1},placement:{default:"top-center"},title:{},dismissable:{type:Boolean,default:!1},className:{}},emits:["dismiss"],setup(n){const t=n,o=e.computed(()=>u.cn("tooltip","content","resets-link-colors",`tooltip--${t.type}`,`tooltip--${t.color}`,t.tail&&`tooltip--${t.placement}`,t.className));return(a,l)=>(e.openBlock(),e.createElementBlock("div",{id:n.id,class:e.normalizeClass(o.value),role:"tooltip"},[n.tail?(e.openBlock(),e.createElementBlock("div",tt)):e.createCommentVNode("",!0),n.type==="plain"?(e.openBlock(),e.createElementBlock("div",nt,[e.renderSlot(a.$slots,"default",{},void 0,!0),n.dismissable?(e.openBlock(),e.createBlock(e.unref(C),{key:0,class:"tooltip__dismiss",variant:"standard",size:"extra-small","icon-only":!0,"icon-definition":e.unref(V),"aria-label":"Dismiss tooltip",onClick:l[0]||(l[0]=s=>a.$emit("dismiss"))},null,8,["icon-definition"])):e.createCommentVNode("",!0)])):(e.openBlock(),e.createElementBlock(e.Fragment,{key:2},[n.title||n.dismissable?(e.openBlock(),e.createElementBlock("div",ot,[n.title?(e.openBlock(),e.createElementBlock("h6",at,e.toDisplayString(n.title),1)):e.createCommentVNode("",!0),n.dismissable?(e.openBlock(),e.createBlock(e.unref(C),{key:1,class:"tooltip__dismiss",variant:"standard",size:"extra-small","icon-only":!0,"icon-definition":e.unref(V),"aria-label":"Dismiss tooltip",onClick:l[1]||(l[1]=s=>a.$emit("dismiss"))},null,8,["icon-definition"])):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0),e.renderSlot(a.$slots,"default",{},void 0,!0)],64))],10,et))}}),R=(n,t)=>{const o=n.__vccOpts||n;for(const[a,l]of t)o[a]=l;return o},lt=R(it,[["__scopeId","data-v-7ccd7c7d"]]),st=e.defineComponent({__name:"Tooltip",props:{trigger:{default:"hover"},type:{default:"plain"},color:{default:"default"},tail:{type:Boolean,default:!1},placement:{default:"auto"},title:{},dismissable:{type:Boolean},className:{}},setup(n,{expose:t}){const o=n,a=e.useId(),l=e.ref(!1),s=e.ref(null),i=e.ref(null),p=e.ref("top-center"),c=e.ref(0),m=()=>{const f=s.value?.getBoundingClientRect();if(!f)return"top-center";const{innerWidth:h,innerHeight:_}=window,k=f.top,U=_-f.bottom,N=i.value?.firstElementChild?.getBoundingClientRect().height??0,j=(N>0?k>=N:k>=U)?"top":"bottom",x=f.left+f.width/2,q=x<h/3?"left":x>h*2/3?"right":"center";return`${j}-${q}`},d=f=>{f.key==="Escape"&&b()},r=f=>{s.value&&!s.value.contains(f.target)&&b()};function y(){const f=i.value?.firstElementChild?.getBoundingClientRect();if(!f)return;const h=8,_=f.right-(window.innerWidth-h),k=h-f.left;_<=0&&k<=0||(c.value=window.innerWidth/2-(f.left+f.width/2))}const v=async()=>{o.placement==="auto"?p.value=m():p.value=o.placement,c.value=0,l.value=!0,document.addEventListener("keydown",d),o.trigger==="click"&&document.addEventListener("click",r),await e.nextTick(),y()},b=()=>{l.value=!1,document.removeEventListener("keydown",d),document.removeEventListener("click",r)},F=()=>{l.value?b():v()};e.onUnmounted(b),t({show:v,hide:b});const G=e.computed(()=>({type:o.type,color:o.color,tail:o.tail,placement:p.value,title:o.title,dismissable:o.dismissable}));return(f,h)=>(e.openBlock(),e.createElementBlock("span",e.mergeProps({ref_key:"wrapperEl",ref:s,class:e.unref(u.cn)("tooltip-trigger",o.className)},n.trigger==="click"?{onClick:F}:{onMouseenter:v,onMouseleave:b,onFocusin:v,onFocusout:b}),[e.renderSlot(f.$slots,"default",{tooltipId:e.unref(a),isOpen:l.value},void 0,!0),e.createElementVNode("span",{ref_key:"positionerEl",ref:i,class:e.normalizeClass(["tooltip-trigger__positioner",`tooltip-trigger__positioner--${p.value}`]),style:e.normalizeStyle({visibility:l.value?"visible":"hidden","--positioner-gap":n.tail?"var(--spacing-l)":"0.5rem","--adjust-x":`${c.value}px`}),onClick:h[0]||(h[0]=e.withModifiers(()=>{},["stop"]))},[e.createVNode(lt,e.mergeProps(G.value,{id:e.unref(a),onDismiss:b}),{default:e.withCtx(()=>[e.renderSlot(f.$slots,"body",{},void 0,!0)]),_:3},16,["id"])],6)],16))}}),rt=R(st,[["__scopeId","data-v-b3f93b8c"]]),ct=["disabled"],dt=e.defineComponent({inheritAttrs:!1,__name:"PhlButton",props:{href:{},to:{},target:{},rel:{},disabled:{type:Boolean,default:!1},clickTarget:{},variant:{default:"primary"},size:{default:"medium"},iconOnly:{type:Boolean,default:!1},iconRight:{type:Boolean},text:{},className:{},iconDefinition:{},iconClass:{},src:{},svgRaw:{}},setup(n){const t=n,o=i=>"href"in i&&i.href!==void 0||"to"in i&&i.to!==void 0,a=e.computed(()=>u.cn("phila-button",`phila-button--${t.variant}`,t.size&&`is-${t.size}`,t.iconOnly&&"icon-button",t.iconOnly&&t.variant==="standard"&&"icon-button--standard",t.className)),l=e.computed(()=>o(t)?"to"in t&&t.to!==void 0?{to:t.to,disabled:t.disabled,className:a.value}:{href:t.href,target:t.target,rel:t.rel,disabled:t.disabled,className:a.value}:{}),s=e.computed(()=>({iconDefinition:t.iconDefinition,iconClass:t.iconClass,src:t.src,iconRight:t.iconRight,iconOnly:t.iconOnly,text:t.text,size:t.size}));return(i,p)=>o(t)?(e.openBlock(),e.createBlock(e.unref(u.BaseLink),e.mergeProps({key:0},{...l.value,...i.$attrs},{role:"button"}),{default:e.withCtx(()=>[e.createVNode(e.unref(u.ActionContent),e.normalizeProps(e.guardReactiveProps(s.value)),{default:e.withCtx(()=>[e.renderSlot(i.$slots,"default",{},()=>[e.createTextVNode(e.toDisplayString(t.text),1)])]),_:3},16)]),_:3},16)):(e.openBlock(),e.createElementBlock("button",e.mergeProps({key:1,type:"button",disabled:t.disabled,class:a.value},i.$attrs),[e.createVNode(e.unref(u.ActionContent),e.normalizeProps(e.guardReactiveProps(s.value)),{default:e.withCtx(()=>[e.renderSlot(i.$slots,"default",{},()=>[e.createTextVNode(e.toDisplayString(t.text),1)])]),_:3},16)],16,ct))}}),ut={class:"navbar-info"},ft={class:"navbar-info__group"},mt={key:0,class:"navbar-info__label has-text-body-default hidden-tablet","aria-hidden":"true"},pt={class:"has-text-body-small"},vt=e.defineComponent({__name:"NavbarInfo",props:{infoTitle:{},infoMessage:{},label:{}},setup(n,{expose:t}){const o=e.useTemplateRef("tooltip");return t({show:()=>o.value?.show(),hide:()=>o.value?.hide()}),(a,l)=>(e.openBlock(),e.createElementBlock("div",ut,[e.createVNode(e.unref(rt),{ref_key:"tooltip",ref:o,type:"rich",title:n.infoTitle,trigger:"click",dismissable:!0},{default:e.withCtx(({tooltipId:s,isOpen:i})=>[e.createElementVNode("span",ft,[e.createVNode(e.unref(dt),{class:"navbar-info__trigger",variant:"standard",size:"small","icon-only":!0,"icon-definition":e.unref(T),"aria-label":"More information","aria-describedby":s,"aria-pressed":i},null,8,["icon-definition","aria-describedby","aria-pressed"]),n.label?(e.openBlock(),e.createElementBlock("span",mt,e.toDisplayString(n.label),1)):e.createCommentVNode("",!0)])]),body:e.withCtx(()=>[e.renderSlot(a.$slots,"default",{},()=>[e.createElementVNode("div",pt,e.toDisplayString(n.infoMessage),1)],!0)]),_:3},8,["title"])]))}}),bt=B(vt,[["__scopeId","data-v-c3989251"]]);exports.AlertBanner=L;exports.AppHeader=Ze;exports.NavBar=M;exports.NavbarBrand=H;exports.NavbarBrandLogo=D;exports.NavbarBurger=O;exports.NavbarInfo=bt;exports.NavbarLinks=P;exports.NavbarSearch=I;exports.TrustedSite=A;
|