@ferrlabs/ui-ng 1.49.0 → 1.50.1

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.
@@ -1,6 +1,6 @@
1
1
  import { DOCUMENT, Location, NgTemplateOutlet } from "@angular/common";
2
2
  import * as i0 from "@angular/core";
3
- import { ChangeDetectionStrategy, Component, DestroyRef, ElementRef, Injectable, InjectionToken, Injector, LOCALE_ID, ViewContainerRef, ViewEncapsulation, afterNextRender, afterRenderEffect, computed, contentChildren, effect, forwardRef, inject, input, linkedSignal, makeEnvironmentProviders, model, output, signal, untracked, viewChild, viewChildren } from "@angular/core";
3
+ import { ChangeDetectionStrategy, Component, DestroyRef, Directive, ElementRef, Injectable, InjectionToken, Injector, LOCALE_ID, ViewContainerRef, ViewEncapsulation, afterNextRender, afterRenderEffect, computed, contentChildren, effect, forwardRef, inject, input, linkedSignal, makeEnvironmentProviders, model, output, signal, untracked, viewChild, viewChildren } from "@angular/core";
4
4
  import * as i1 from "@angular/forms";
5
5
  import { FormsModule, NG_VALUE_ACCESSOR } from "@angular/forms";
6
6
  import * as i1$2 from "@angular/cdk/overlay";
@@ -9621,7 +9621,7 @@ function tierLabel(tier) {
9621
9621
  return tier.charAt(0).toUpperCase() + tier.slice(1);
9622
9622
  }
9623
9623
  let panelCount = 0;
9624
- function nextPanelId() {
9624
+ function nextPanelId$1() {
9625
9625
  panelCount += 1;
9626
9626
  return panelCount;
9627
9627
  }
@@ -9655,7 +9655,7 @@ var AppSwitcherComponent = class AppSwitcherComponent {
9655
9655
  this.trigger = viewChild.required("trigger", ...ngDevMode ? [{ debugName: "trigger" }] : /* istanbul ignore next */ []);
9656
9656
  this.shell = inject(SHELL_CONTEXT, { optional: true });
9657
9657
  this.compact = computed(() => this.collapsed() || (this.shell?.collapsed() ?? false), ...ngDevMode ? [{ debugName: "compact" }] : /* istanbul ignore next */ []);
9658
- this.panelId = `flr-as-list-${nextPanelId()}`;
9658
+ this.panelId = `flr-as-list-${nextPanelId$1()}`;
9659
9659
  this.open = signal(false, ...ngDevMode ? [{ debugName: "open" }] : /* istanbul ignore next */ []);
9660
9660
  this.customizing = signal(false, ...ngDevMode ? [{ debugName: "customizing" }] : /* istanbul ignore next */ []);
9661
9661
  this.visibleItems = computed(() => {
@@ -13435,6 +13435,108 @@ function paged(source, pageSize = 25) {
13435
13435
  setPage: (next) => requested.set(next)
13436
13436
  };
13437
13437
  }
13438
+ const LOCALE_CATALOG = [
13439
+ {
13440
+ code: "en",
13441
+ endonym: "English",
13442
+ language: "Language",
13443
+ suggestion: {
13444
+ label: "Language suggestion",
13445
+ message: "This page is also available in English.",
13446
+ read: "Read in English",
13447
+ stay: "Stay in English"
13448
+ }
13449
+ },
13450
+ {
13451
+ code: "fr",
13452
+ endonym: "Français",
13453
+ language: "Langue",
13454
+ suggestion: {
13455
+ label: "Suggestion de langue",
13456
+ message: "Cette page est aussi disponible en français.",
13457
+ read: "Lire en français",
13458
+ stay: "Rester en français"
13459
+ }
13460
+ },
13461
+ {
13462
+ code: "de",
13463
+ endonym: "Deutsch",
13464
+ language: "Sprache",
13465
+ suggestion: {
13466
+ label: "Sprachvorschlag",
13467
+ message: "Diese Seite ist auch auf Deutsch verfügbar.",
13468
+ read: "Auf Deutsch lesen",
13469
+ stay: "Auf Deutsch bleiben"
13470
+ }
13471
+ },
13472
+ {
13473
+ code: "es",
13474
+ endonym: "Español",
13475
+ language: "Idioma",
13476
+ suggestion: {
13477
+ label: "Sugerencia de idioma",
13478
+ message: "Esta página también está disponible en español.",
13479
+ read: "Leer en español",
13480
+ stay: "Seguir en español"
13481
+ }
13482
+ },
13483
+ {
13484
+ code: "it",
13485
+ endonym: "Italiano",
13486
+ language: "Lingua",
13487
+ suggestion: {
13488
+ label: "Suggerimento lingua",
13489
+ message: "Questa pagina è disponibile anche in italiano.",
13490
+ read: "Leggi in italiano",
13491
+ stay: "Resta in italiano"
13492
+ }
13493
+ },
13494
+ {
13495
+ code: "pt",
13496
+ endonym: "Português",
13497
+ language: "Idioma",
13498
+ suggestion: {
13499
+ label: "Sugestão de idioma",
13500
+ message: "Esta página também está disponível em português.",
13501
+ read: "Ler em português",
13502
+ stay: "Continuar em português"
13503
+ }
13504
+ },
13505
+ {
13506
+ code: "nl",
13507
+ endonym: "Nederlands",
13508
+ language: "Taal",
13509
+ suggestion: {
13510
+ label: "Taalsuggestie",
13511
+ message: "Deze pagina is ook beschikbaar in het Nederlands.",
13512
+ read: "Lees in het Nederlands",
13513
+ stay: "Blijf in het Nederlands"
13514
+ }
13515
+ },
13516
+ {
13517
+ code: "ja",
13518
+ endonym: "日本語",
13519
+ language: "言語",
13520
+ suggestion: {
13521
+ label: "言語の提案",
13522
+ message: "このページは日本語でもご覧いただけます。",
13523
+ read: "日本語で読む",
13524
+ stay: "日本語のまま閲覧する"
13525
+ }
13526
+ }
13527
+ ];
13528
+ const DEFAULT_LOCALE = "en";
13529
+ const ALL_SITE_LOCALES = LOCALE_CATALOG.map((entry) => entry.code);
13530
+ function isSiteLocale(code) {
13531
+ return ALL_SITE_LOCALES.includes(code);
13532
+ }
13533
+ function localeEntry(locale) {
13534
+ return LOCALE_CATALOG.find((entry) => entry.code === locale) ?? LOCALE_CATALOG[0];
13535
+ }
13536
+ function matchSiteLocale(languageTag) {
13537
+ const primary = languageTag?.toLowerCase().split(/[-_]/)[0] ?? "";
13538
+ return isSiteLocale(primary) ? primary : null;
13539
+ }
13438
13540
  const SITE_LOCALES = ["en", "fr"];
13439
13541
  function siteLocales(config) {
13440
13542
  const locales = config.locales;
@@ -13448,7 +13550,11 @@ function provideSiteChrome(config) {
13448
13550
  }]);
13449
13551
  }
13450
13552
  function localeBase(locale) {
13451
- return locale === "fr" ? "/fr" : "";
13553
+ return locale === "en" ? "" : `/${locale}`;
13554
+ }
13555
+ function localePrefix(locales) {
13556
+ const codes = locales.filter((code) => code !== "en");
13557
+ return codes.length > 0 ? new RegExp(`^/(?:${codes.join("|")})(?=[/?#]|$)`) : null;
13452
13558
  }
13453
13559
  function isAbsolute(href) {
13454
13560
  return /^[a-z]+:/i.test(href) || href.startsWith("//") || href.startsWith("#");
@@ -13467,27 +13573,516 @@ function withLocaleBase(locale, href) {
13467
13573
  if (href === "/") return base ? `${base}/` : "/";
13468
13574
  return `${base}${href}`;
13469
13575
  }
13470
- function stripLocalePrefix(path) {
13471
- if (path === "/fr" || path === "/fr/") return "/";
13472
- if (path.startsWith("/fr/")) return path.slice(3);
13473
- return path || "/";
13576
+ function isIgnoredLead(char) {
13577
+ return char <= " " || char === "/" || char === "\\";
13578
+ }
13579
+ function rooted(path) {
13580
+ const cleaned = path.replace(/[\t\n\r]/g, "");
13581
+ let start = 0;
13582
+ while (start < cleaned.length && isIgnoredLead(cleaned[start])) start++;
13583
+ return `/${cleaned.slice(start)}`;
13584
+ }
13585
+ function stripLocalePrefix(path, locales = SITE_LOCALES) {
13586
+ const prefix = localePrefix(locales);
13587
+ let bare = rooted(path);
13588
+ for (let match = prefix?.exec(bare); match; match = prefix?.exec(bare)) bare = rooted(bare.slice(match[0].length));
13589
+ return bare;
13474
13590
  }
13475
- function localeSwitchHref(target, path) {
13476
- const bare = stripLocalePrefix(path);
13591
+ function localeSwitchHref(target, path, locales = SITE_LOCALES) {
13592
+ const bare = stripLocalePrefix(path, locales);
13477
13593
  const base = localeBase(target);
13478
- if (bare === "/" || bare === "") return base ? `${base}/` : "/";
13594
+ const cut = bare.search(/[?#]/);
13595
+ if ((cut === -1 ? bare : bare.slice(0, cut)) === "/") return `${base}${bare}`;
13479
13596
  return withTrailingSlash(`${base}${bare}`);
13480
13597
  }
13481
13598
  function resolveLocale(localeId) {
13482
- return localeId?.toLowerCase().startsWith("fr") ? "fr" : "en";
13599
+ return matchSiteLocale(localeId) ?? "en";
13600
+ }
13601
+ function resolveSiteLocale(config, localeId) {
13602
+ const enabled = siteLocales(config);
13603
+ const locale = resolveLocale(localeId);
13604
+ if (enabled.includes(locale)) return locale;
13605
+ return enabled.includes("en") ? "en" : enabled[0];
13606
+ }
13607
+ function injectSitePath() {
13608
+ const location = inject(Location);
13609
+ const path = signal(location.path() || "/", ...ngDevMode ? [{ debugName: "path" }] : /* istanbul ignore next */ []);
13610
+ const stopListening = location.onUrlChange(() => path.set(location.path() || "/"));
13611
+ inject(DestroyRef).onDestroy(stopListening);
13612
+ return path.asReadonly();
13613
+ }
13614
+ function toLocaleOptions(locales, path) {
13615
+ return locales.map((code) => ({
13616
+ code,
13617
+ endonym: localeEntry(code).endonym,
13618
+ href: localeSwitchHref(code, path, locales)
13619
+ }));
13483
13620
  }
13621
+ var SiteLocaleLinkDirective = class SiteLocaleLinkDirective {
13622
+ constructor() {
13623
+ this.endonym = input.required({
13624
+ ...ngDevMode ? { debugName: "endonym" } : /* istanbul ignore next */ {},
13625
+ alias: "flrSiteLocaleLink"
13626
+ });
13627
+ this.host = inject(ElementRef);
13628
+ }
13629
+ focus() {
13630
+ this.host.nativeElement.focus();
13631
+ }
13632
+ getLabel() {
13633
+ return this.endonym();
13634
+ }
13635
+ static {
13636
+ this.ɵfac = i0.ɵɵngDeclareFactory({
13637
+ minVersion: "12.0.0",
13638
+ version: "22.2.5",
13639
+ ngImport: i0,
13640
+ type: SiteLocaleLinkDirective,
13641
+ deps: [],
13642
+ target: i0.ɵɵFactoryTarget.Directive
13643
+ });
13644
+ }
13645
+ static {
13646
+ this.ɵdir = i0.ɵɵngDeclareDirective({
13647
+ minVersion: "17.1.0",
13648
+ version: "22.2.5",
13649
+ type: SiteLocaleLinkDirective,
13650
+ isStandalone: true,
13651
+ selector: "a[flrSiteLocaleLink]",
13652
+ inputs: { endonym: {
13653
+ classPropertyName: "endonym",
13654
+ publicName: "flrSiteLocaleLink",
13655
+ isSignal: true,
13656
+ isRequired: true,
13657
+ transformFunction: null
13658
+ } },
13659
+ ngImport: i0
13660
+ });
13661
+ }
13662
+ };
13663
+ i0.ɵɵngDeclareClassMetadata({
13664
+ minVersion: "12.0.0",
13665
+ version: "22.2.5",
13666
+ ngImport: i0,
13667
+ type: SiteLocaleLinkDirective,
13668
+ decorators: [{
13669
+ type: Directive,
13670
+ args: [{ selector: "a[flrSiteLocaleLink]" }]
13671
+ }],
13672
+ propDecorators: { endonym: [{
13673
+ type: i0.Input,
13674
+ args: [{
13675
+ isSignal: true,
13676
+ alias: "flrSiteLocaleLink",
13677
+ required: true
13678
+ }]
13679
+ }] }
13680
+ });
13681
+ const POSITIONS = [{
13682
+ originX: "end",
13683
+ originY: "bottom",
13684
+ overlayX: "end",
13685
+ overlayY: "top",
13686
+ offsetY: 6
13687
+ }, {
13688
+ originX: "end",
13689
+ originY: "top",
13690
+ overlayX: "end",
13691
+ overlayY: "bottom",
13692
+ offsetY: -6
13693
+ }];
13694
+ let nextPanelId = 0;
13695
+ var SiteLocalePickerComponent = class SiteLocalePickerComponent {
13696
+ constructor() {
13697
+ this.options = input.required(...ngDevMode ? [{ debugName: "options" }] : /* istanbul ignore next */ []);
13698
+ this.current = input.required(...ngDevMode ? [{ debugName: "current" }] : /* istanbul ignore next */ []);
13699
+ this.label = input.required(...ngDevMode ? [{ debugName: "label" }] : /* istanbul ignore next */ []);
13700
+ this.open = signal(false, ...ngDevMode ? [{ debugName: "open" }] : /* istanbul ignore next */ []);
13701
+ this.positions = POSITIONS;
13702
+ this.panelId = `flr-locale-picker-panel-${nextPanelId++}`;
13703
+ this.document = inject(DOCUMENT);
13704
+ this.injector = inject(Injector);
13705
+ this.trigger = viewChild.required("trigger", ...ngDevMode ? [{ debugName: "trigger" }] : /* istanbul ignore next */ []);
13706
+ this.links = viewChildren(SiteLocaleLinkDirective, ...ngDevMode ? [{ debugName: "links" }] : /* istanbul ignore next */ []);
13707
+ this.currentIndex = computed(() => Math.max(0, this.options().findIndex((option) => option.code === this.current())), ...ngDevMode ? [{ debugName: "currentIndex" }] : /* istanbul ignore next */ []);
13708
+ this.keyManager = new FocusKeyManager(this.links, this.injector).withWrap().withHomeAndEnd().withTypeAhead();
13709
+ }
13710
+ focusCurrent() {
13711
+ afterNextRender(() => this.keyManager.setActiveItem(this.currentIndex()), { injector: this.injector });
13712
+ }
13713
+ onDetach() {
13714
+ this.open.set(false);
13715
+ const active = this.document.activeElement;
13716
+ if (!active || active === this.document.body) this.trigger().nativeElement.focus();
13717
+ }
13718
+ onKeydown(event) {
13719
+ if (event.key === "Tab") {
13720
+ this.open.set(false);
13721
+ return;
13722
+ }
13723
+ this.keyManager.onKeydown(event);
13724
+ }
13725
+ static {
13726
+ this.ɵfac = i0.ɵɵngDeclareFactory({
13727
+ minVersion: "12.0.0",
13728
+ version: "22.2.5",
13729
+ ngImport: i0,
13730
+ type: SiteLocalePickerComponent,
13731
+ deps: [],
13732
+ target: i0.ɵɵFactoryTarget.Component
13733
+ });
13734
+ }
13735
+ static {
13736
+ this.ɵcmp = i0.ɵɵngDeclareComponent({
13737
+ minVersion: "17.0.0",
13738
+ version: "22.2.5",
13739
+ type: SiteLocalePickerComponent,
13740
+ isStandalone: true,
13741
+ selector: "flr-site-locale-picker",
13742
+ inputs: {
13743
+ options: {
13744
+ classPropertyName: "options",
13745
+ publicName: "options",
13746
+ isSignal: true,
13747
+ isRequired: true,
13748
+ transformFunction: null
13749
+ },
13750
+ current: {
13751
+ classPropertyName: "current",
13752
+ publicName: "current",
13753
+ isSignal: true,
13754
+ isRequired: true,
13755
+ transformFunction: null
13756
+ },
13757
+ label: {
13758
+ classPropertyName: "label",
13759
+ publicName: "label",
13760
+ isSignal: true,
13761
+ isRequired: true,
13762
+ transformFunction: null
13763
+ }
13764
+ },
13765
+ viewQueries: [{
13766
+ propertyName: "trigger",
13767
+ first: true,
13768
+ predicate: ["trigger"],
13769
+ descendants: true,
13770
+ isSignal: true
13771
+ }, {
13772
+ propertyName: "links",
13773
+ predicate: SiteLocaleLinkDirective,
13774
+ descendants: true,
13775
+ isSignal: true
13776
+ }],
13777
+ ngImport: i0,
13778
+ template: `
13779
+ <button
13780
+ #trigger
13781
+ cdkOverlayOrigin
13782
+ #origin="cdkOverlayOrigin"
13783
+ type="button"
13784
+ class="flr-locale-picker__trigger"
13785
+ translate="no"
13786
+ [attr.aria-expanded]="open()"
13787
+ [attr.aria-controls]="open() ? panelId : null"
13788
+ (click)="open.set(!open())"
13789
+ >
13790
+ <svg
13791
+ class="flr-locale-picker__icon"
13792
+ viewBox="0 0 16 16"
13793
+ width="14"
13794
+ height="14"
13795
+ fill="none"
13796
+ stroke="currentColor"
13797
+ stroke-width="1.4"
13798
+ stroke-linecap="round"
13799
+ aria-hidden="true"
13800
+ >
13801
+ <circle cx="8" cy="8" r="6.25" />
13802
+ <path
13803
+ d="M1.75 8h12.5M8 1.75c1.8 1.7 2.7 3.8 2.7 6.25S9.8 12.55 8 14.25C6.2 12.55 5.3 10.45 5.3 8S6.2 3.45 8 1.75Z"
13804
+ />
13805
+ </svg>
13806
+ <span class="flr-locale-picker__sr">{{ label() }}: </span><span>{{ current() }}</span>
13807
+ <svg
13808
+ class="flr-locale-picker__chevron"
13809
+ viewBox="0 0 10 10"
13810
+ width="10"
13811
+ height="10"
13812
+ fill="none"
13813
+ stroke="currentColor"
13814
+ stroke-width="1.4"
13815
+ stroke-linecap="round"
13816
+ stroke-linejoin="round"
13817
+ aria-hidden="true"
13818
+ >
13819
+ <path d="m2 3.75 3 3 3-3" />
13820
+ </svg>
13821
+ </button>
13822
+
13823
+ <ng-template
13824
+ cdkConnectedOverlay
13825
+ [cdkConnectedOverlayOrigin]="origin"
13826
+ [cdkConnectedOverlayOpen]="open()"
13827
+ [cdkConnectedOverlayPositions]="positions"
13828
+ [cdkConnectedOverlayHasBackdrop]="true"
13829
+ cdkConnectedOverlayBackdropClass="cdk-overlay-transparent-backdrop"
13830
+ (backdropClick)="open.set(false)"
13831
+ (attach)="focusCurrent()"
13832
+ (detach)="onDetach()"
13833
+ (overlayKeydown)="onKeydown($event)"
13834
+ >
13835
+ <ul class="flr-locale-picker__panel" role="list" translate="no" [id]="panelId">
13836
+ @for (option of options(); track option.code) {
13837
+ <li>
13838
+ <a
13839
+ [flrSiteLocaleLink]="option.endonym"
13840
+ class="flr-locale-picker__option"
13841
+ [class.is-current]="option.code === current()"
13842
+ [href]="option.href"
13843
+ [attr.hreflang]="option.code"
13844
+ [attr.lang]="option.code"
13845
+ [attr.aria-current]="option.code === current() ? 'true' : null"
13846
+ >
13847
+ <span class="flr-locale-picker__endonym" [attr.lang]="option.code">{{
13848
+ option.endonym
13849
+ }}</span>
13850
+ <span class="flr-locale-picker__code">{{ option.code }}</span>
13851
+ <svg
13852
+ class="flr-locale-picker__check"
13853
+ viewBox="0 0 12 12"
13854
+ width="12"
13855
+ height="12"
13856
+ fill="none"
13857
+ stroke="currentColor"
13858
+ stroke-width="1.6"
13859
+ stroke-linecap="round"
13860
+ stroke-linejoin="round"
13861
+ aria-hidden="true"
13862
+ >
13863
+ <path d="m2.5 6.25 2.4 2.4 4.6-5" />
13864
+ </svg>
13865
+ </a>
13866
+ </li>
13867
+ }
13868
+ </ul>
13869
+ </ng-template>
13870
+ `,
13871
+ isInline: true,
13872
+ styles: [".cdk-overlay-container,.cdk-global-overlay-wrapper{pointer-events:none;top:0;left:0;height:100%;width:100%}.cdk-overlay-container{position:fixed;z-index:1000}.cdk-overlay-container:empty{display:none}.cdk-global-overlay-wrapper{display:flex;position:absolute;z-index:1000}.cdk-overlay-pane{position:absolute;pointer-events:auto;box-sizing:border-box;display:flex;max-width:100%;max-height:100%;z-index:1000}.cdk-overlay-backdrop{position:absolute;inset:0;pointer-events:auto;-webkit-tap-highlight-color:transparent;opacity:0;touch-action:manipulation;z-index:1000;transition:opacity .4s cubic-bezier(.25,.8,.25,1)}@media(prefers-reduced-motion){.cdk-overlay-backdrop{transition-duration:1ms}}.cdk-overlay-backdrop-showing{opacity:1}@media(forced-colors:active){.cdk-overlay-backdrop-showing{opacity:.6}}.cdk-overlay-dark-backdrop{background:#00000052}.cdk-overlay-transparent-backdrop{transition:visibility 1ms linear,opacity 1ms linear;visibility:hidden;opacity:1}.cdk-overlay-transparent-backdrop.cdk-overlay-backdrop-showing,.cdk-high-contrast-active .cdk-overlay-transparent-backdrop{opacity:0;visibility:visible}.cdk-overlay-backdrop-noop-animation{transition:none}.cdk-overlay-connected-position-bounding-box{position:absolute;display:flex;flex-direction:column;min-width:1px;min-height:1px;z-index:1000}.cdk-global-scrollblock{position:fixed;width:100%;overflow-y:scroll}.cdk-overlay-popover{background:none;border:none;padding:0;outline:0;overflow:visible;position:fixed;pointer-events:none;white-space:normal;color:inherit;text-decoration:none;width:100%;height:100%;inset:0 auto auto 0}.cdk-overlay-popover::backdrop{display:none}.cdk-overlay-popover .cdk-overlay-backdrop{position:fixed;z-index:auto}\n", "flr-site-locale-picker{display:inline-flex}.flr-locale-picker__sr{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}.flr-locale-picker__trigger{display:inline-flex;align-items:center;gap:7px;padding:6px 10px 6px 12px;border:1px solid var(--color-rule, rgba(30, 41, 59, .14));border-radius:var(--radius-full, 999px);background:transparent;color:var(--color-ink-2, #475569);font-family:var( --font-mono, \"DM Mono\", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace );font-size:11px;letter-spacing:.08em;text-transform:uppercase;cursor:pointer;transition:background .18s,color .18s}.flr-locale-picker__trigger:hover,.flr-locale-picker__trigger[aria-expanded=true]{background:var(--color-paper-2, rgba(30, 41, 59, .04));color:var(--color-ink, #1e293b)}.flr-locale-picker__trigger:focus-visible,.flr-locale-picker__option:focus-visible{outline:2px solid var(--accent, #1e293b);outline-offset:2px}.flr-locale-picker__chevron{transition:transform .18s}.flr-locale-picker__trigger[aria-expanded=true] .flr-locale-picker__chevron{transform:rotate(180deg)}.flr-locale-picker__panel{list-style:none;margin:0;min-width:200px;padding:6px;background:var(--color-card, #ffffff);border:1px solid var(--color-card-rule, rgba(30, 41, 59, .1));border-radius:var(--radius-card, 8px);box-shadow:0 8px 24px #0f172a1f}.flr-locale-picker__option{display:flex;align-items:center;gap:12px;padding:8px 12px;border-radius:var(--radius-control, 4px);color:var(--color-ink-2, #475569);font-size:14px;text-decoration:none;transition:background .14s,color .14s}.flr-locale-picker__option:hover,.flr-locale-picker__option:focus-visible{background:var(--color-paper-2, rgba(30, 41, 59, .04));color:var(--color-ink, #1e293b)}.flr-locale-picker__option.is-current{color:var(--color-ink, #1e293b)}.flr-locale-picker__endonym{flex:1}.flr-locale-picker__code{font-family:var( --font-mono, \"DM Mono\", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace );font-size:11px;letter-spacing:.08em;text-transform:uppercase;color:var(--color-ink-3, #64748b)}.flr-locale-picker__check{width:12px;flex-shrink:0;visibility:hidden}.flr-locale-picker__option.is-current .flr-locale-picker__check{visibility:visible}\n"],
13873
+ dependencies: [
13874
+ {
13875
+ kind: "ngmodule",
13876
+ type: OverlayModule
13877
+ },
13878
+ {
13879
+ kind: "directive",
13880
+ type: i1$2.CdkConnectedOverlay,
13881
+ selector: "[cdk-connected-overlay], [connected-overlay], [cdkConnectedOverlay]",
13882
+ inputs: [
13883
+ "cdkConnectedOverlayOrigin",
13884
+ "cdkConnectedOverlayPositions",
13885
+ "cdkConnectedOverlayPositionStrategy",
13886
+ "cdkConnectedOverlayOffsetX",
13887
+ "cdkConnectedOverlayOffsetY",
13888
+ "cdkConnectedOverlayWidth",
13889
+ "cdkConnectedOverlayHeight",
13890
+ "cdkConnectedOverlayMinWidth",
13891
+ "cdkConnectedOverlayMinHeight",
13892
+ "cdkConnectedOverlayBackdropClass",
13893
+ "cdkConnectedOverlayPanelClass",
13894
+ "cdkConnectedOverlayViewportMargin",
13895
+ "cdkConnectedOverlayScrollStrategy",
13896
+ "cdkConnectedOverlayOpen",
13897
+ "cdkConnectedOverlayDisableClose",
13898
+ "cdkConnectedOverlayTransformOriginOn",
13899
+ "cdkConnectedOverlayHasBackdrop",
13900
+ "cdkConnectedOverlayLockPosition",
13901
+ "cdkConnectedOverlayFlexibleDimensions",
13902
+ "cdkConnectedOverlayGrowAfterOpen",
13903
+ "cdkConnectedOverlayPush",
13904
+ "cdkConnectedOverlayDisposeOnNavigation",
13905
+ "cdkConnectedOverlayUsePopover",
13906
+ "cdkConnectedOverlayMatchWidth",
13907
+ "cdkConnectedOverlay"
13908
+ ],
13909
+ outputs: [
13910
+ "backdropClick",
13911
+ "positionChange",
13912
+ "attach",
13913
+ "detach",
13914
+ "overlayKeydown",
13915
+ "overlayOutsideClick"
13916
+ ],
13917
+ exportAs: ["cdkConnectedOverlay"]
13918
+ },
13919
+ {
13920
+ kind: "directive",
13921
+ type: i1$2.CdkOverlayOrigin,
13922
+ selector: "[cdk-overlay-origin], [overlay-origin], [cdkOverlayOrigin]",
13923
+ exportAs: ["cdkOverlayOrigin"]
13924
+ },
13925
+ {
13926
+ kind: "directive",
13927
+ type: SiteLocaleLinkDirective,
13928
+ selector: "a[flrSiteLocaleLink]",
13929
+ inputs: ["flrSiteLocaleLink"]
13930
+ }
13931
+ ],
13932
+ changeDetection: i0.ChangeDetectionStrategy.OnPush,
13933
+ encapsulation: i0.ViewEncapsulation.None
13934
+ });
13935
+ }
13936
+ };
13937
+ i0.ɵɵngDeclareClassMetadata({
13938
+ minVersion: "12.0.0",
13939
+ version: "22.2.5",
13940
+ ngImport: i0,
13941
+ type: SiteLocalePickerComponent,
13942
+ decorators: [{
13943
+ type: Component,
13944
+ args: [{
13945
+ selector: "flr-site-locale-picker",
13946
+ changeDetection: ChangeDetectionStrategy.OnPush,
13947
+ encapsulation: ViewEncapsulation.None,
13948
+ imports: [OverlayModule, SiteLocaleLinkDirective],
13949
+ template: `
13950
+ <button
13951
+ #trigger
13952
+ cdkOverlayOrigin
13953
+ #origin="cdkOverlayOrigin"
13954
+ type="button"
13955
+ class="flr-locale-picker__trigger"
13956
+ translate="no"
13957
+ [attr.aria-expanded]="open()"
13958
+ [attr.aria-controls]="open() ? panelId : null"
13959
+ (click)="open.set(!open())"
13960
+ >
13961
+ <svg
13962
+ class="flr-locale-picker__icon"
13963
+ viewBox="0 0 16 16"
13964
+ width="14"
13965
+ height="14"
13966
+ fill="none"
13967
+ stroke="currentColor"
13968
+ stroke-width="1.4"
13969
+ stroke-linecap="round"
13970
+ aria-hidden="true"
13971
+ >
13972
+ <circle cx="8" cy="8" r="6.25" />
13973
+ <path
13974
+ d="M1.75 8h12.5M8 1.75c1.8 1.7 2.7 3.8 2.7 6.25S9.8 12.55 8 14.25C6.2 12.55 5.3 10.45 5.3 8S6.2 3.45 8 1.75Z"
13975
+ />
13976
+ </svg>
13977
+ <span class="flr-locale-picker__sr">{{ label() }}: </span><span>{{ current() }}</span>
13978
+ <svg
13979
+ class="flr-locale-picker__chevron"
13980
+ viewBox="0 0 10 10"
13981
+ width="10"
13982
+ height="10"
13983
+ fill="none"
13984
+ stroke="currentColor"
13985
+ stroke-width="1.4"
13986
+ stroke-linecap="round"
13987
+ stroke-linejoin="round"
13988
+ aria-hidden="true"
13989
+ >
13990
+ <path d="m2 3.75 3 3 3-3" />
13991
+ </svg>
13992
+ </button>
13993
+
13994
+ <ng-template
13995
+ cdkConnectedOverlay
13996
+ [cdkConnectedOverlayOrigin]="origin"
13997
+ [cdkConnectedOverlayOpen]="open()"
13998
+ [cdkConnectedOverlayPositions]="positions"
13999
+ [cdkConnectedOverlayHasBackdrop]="true"
14000
+ cdkConnectedOverlayBackdropClass="cdk-overlay-transparent-backdrop"
14001
+ (backdropClick)="open.set(false)"
14002
+ (attach)="focusCurrent()"
14003
+ (detach)="onDetach()"
14004
+ (overlayKeydown)="onKeydown($event)"
14005
+ >
14006
+ <ul class="flr-locale-picker__panel" role="list" translate="no" [id]="panelId">
14007
+ @for (option of options(); track option.code) {
14008
+ <li>
14009
+ <a
14010
+ [flrSiteLocaleLink]="option.endonym"
14011
+ class="flr-locale-picker__option"
14012
+ [class.is-current]="option.code === current()"
14013
+ [href]="option.href"
14014
+ [attr.hreflang]="option.code"
14015
+ [attr.lang]="option.code"
14016
+ [attr.aria-current]="option.code === current() ? 'true' : null"
14017
+ >
14018
+ <span class="flr-locale-picker__endonym" [attr.lang]="option.code">{{
14019
+ option.endonym
14020
+ }}</span>
14021
+ <span class="flr-locale-picker__code">{{ option.code }}</span>
14022
+ <svg
14023
+ class="flr-locale-picker__check"
14024
+ viewBox="0 0 12 12"
14025
+ width="12"
14026
+ height="12"
14027
+ fill="none"
14028
+ stroke="currentColor"
14029
+ stroke-width="1.6"
14030
+ stroke-linecap="round"
14031
+ stroke-linejoin="round"
14032
+ aria-hidden="true"
14033
+ >
14034
+ <path d="m2.5 6.25 2.4 2.4 4.6-5" />
14035
+ </svg>
14036
+ </a>
14037
+ </li>
14038
+ }
14039
+ </ul>
14040
+ </ng-template>
14041
+ `,
14042
+ styles: [".cdk-overlay-container,.cdk-global-overlay-wrapper{pointer-events:none;top:0;left:0;height:100%;width:100%}.cdk-overlay-container{position:fixed;z-index:1000}.cdk-overlay-container:empty{display:none}.cdk-global-overlay-wrapper{display:flex;position:absolute;z-index:1000}.cdk-overlay-pane{position:absolute;pointer-events:auto;box-sizing:border-box;display:flex;max-width:100%;max-height:100%;z-index:1000}.cdk-overlay-backdrop{position:absolute;inset:0;pointer-events:auto;-webkit-tap-highlight-color:transparent;opacity:0;touch-action:manipulation;z-index:1000;transition:opacity .4s cubic-bezier(.25,.8,.25,1)}@media(prefers-reduced-motion){.cdk-overlay-backdrop{transition-duration:1ms}}.cdk-overlay-backdrop-showing{opacity:1}@media(forced-colors:active){.cdk-overlay-backdrop-showing{opacity:.6}}.cdk-overlay-dark-backdrop{background:#00000052}.cdk-overlay-transparent-backdrop{transition:visibility 1ms linear,opacity 1ms linear;visibility:hidden;opacity:1}.cdk-overlay-transparent-backdrop.cdk-overlay-backdrop-showing,.cdk-high-contrast-active .cdk-overlay-transparent-backdrop{opacity:0;visibility:visible}.cdk-overlay-backdrop-noop-animation{transition:none}.cdk-overlay-connected-position-bounding-box{position:absolute;display:flex;flex-direction:column;min-width:1px;min-height:1px;z-index:1000}.cdk-global-scrollblock{position:fixed;width:100%;overflow-y:scroll}.cdk-overlay-popover{background:none;border:none;padding:0;outline:0;overflow:visible;position:fixed;pointer-events:none;white-space:normal;color:inherit;text-decoration:none;width:100%;height:100%;inset:0 auto auto 0}.cdk-overlay-popover::backdrop{display:none}.cdk-overlay-popover .cdk-overlay-backdrop{position:fixed;z-index:auto}\n", "flr-site-locale-picker{display:inline-flex}.flr-locale-picker__sr{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}.flr-locale-picker__trigger{display:inline-flex;align-items:center;gap:7px;padding:6px 10px 6px 12px;border:1px solid var(--color-rule, rgba(30, 41, 59, .14));border-radius:var(--radius-full, 999px);background:transparent;color:var(--color-ink-2, #475569);font-family:var( --font-mono, \"DM Mono\", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace );font-size:11px;letter-spacing:.08em;text-transform:uppercase;cursor:pointer;transition:background .18s,color .18s}.flr-locale-picker__trigger:hover,.flr-locale-picker__trigger[aria-expanded=true]{background:var(--color-paper-2, rgba(30, 41, 59, .04));color:var(--color-ink, #1e293b)}.flr-locale-picker__trigger:focus-visible,.flr-locale-picker__option:focus-visible{outline:2px solid var(--accent, #1e293b);outline-offset:2px}.flr-locale-picker__chevron{transition:transform .18s}.flr-locale-picker__trigger[aria-expanded=true] .flr-locale-picker__chevron{transform:rotate(180deg)}.flr-locale-picker__panel{list-style:none;margin:0;min-width:200px;padding:6px;background:var(--color-card, #ffffff);border:1px solid var(--color-card-rule, rgba(30, 41, 59, .1));border-radius:var(--radius-card, 8px);box-shadow:0 8px 24px #0f172a1f}.flr-locale-picker__option{display:flex;align-items:center;gap:12px;padding:8px 12px;border-radius:var(--radius-control, 4px);color:var(--color-ink-2, #475569);font-size:14px;text-decoration:none;transition:background .14s,color .14s}.flr-locale-picker__option:hover,.flr-locale-picker__option:focus-visible{background:var(--color-paper-2, rgba(30, 41, 59, .04));color:var(--color-ink, #1e293b)}.flr-locale-picker__option.is-current{color:var(--color-ink, #1e293b)}.flr-locale-picker__endonym{flex:1}.flr-locale-picker__code{font-family:var( --font-mono, \"DM Mono\", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace );font-size:11px;letter-spacing:.08em;text-transform:uppercase;color:var(--color-ink-3, #64748b)}.flr-locale-picker__check{width:12px;flex-shrink:0;visibility:hidden}.flr-locale-picker__option.is-current .flr-locale-picker__check{visibility:visible}\n"]
14043
+ }]
14044
+ }],
14045
+ propDecorators: {
14046
+ options: [{
14047
+ type: i0.Input,
14048
+ args: [{
14049
+ isSignal: true,
14050
+ alias: "options",
14051
+ required: true
14052
+ }]
14053
+ }],
14054
+ current: [{
14055
+ type: i0.Input,
14056
+ args: [{
14057
+ isSignal: true,
14058
+ alias: "current",
14059
+ required: true
14060
+ }]
14061
+ }],
14062
+ label: [{
14063
+ type: i0.Input,
14064
+ args: [{
14065
+ isSignal: true,
14066
+ alias: "label",
14067
+ required: true
14068
+ }]
14069
+ }],
14070
+ trigger: [{
14071
+ type: i0.ViewChild,
14072
+ args: ["trigger", { isSignal: true }]
14073
+ }],
14074
+ links: [{
14075
+ type: i0.ViewChildren,
14076
+ args: [i0.forwardRef(() => SiteLocaleLinkDirective), { isSignal: true }]
14077
+ }]
14078
+ }
14079
+ });
13484
14080
  var SiteNavbarComponent = class SiteNavbarComponent {
13485
14081
  constructor() {
13486
14082
  this.chrome = inject(SITE_CHROME);
13487
- this.location = inject(Location);
13488
14083
  this.sanitizer = inject(DomSanitizer);
13489
14084
  this.logo = this.sanitizer.bypassSecurityTrustHtml(isTrustedIconMarkup(this.chrome.logoSvg) ? this.chrome.logoSvg : "");
13490
- this.locale = resolveLocale(inject(LOCALE_ID));
14085
+ this.locale = resolveSiteLocale(this.chrome, inject(LOCALE_ID));
13491
14086
  this.wordmark = this.chrome.wordmark;
13492
14087
  this.wordmarkAccent = this.chrome.wordmarkAccent ?? "";
13493
14088
  this.labels = this.chrome.labels;
@@ -13504,9 +14099,9 @@ var SiteNavbarComponent = class SiteNavbarComponent {
13504
14099
  this.scrolled = signal(false, ...ngDevMode ? [{ debugName: "scrolled" }] : /* istanbul ignore next */ []);
13505
14100
  this.mobileOpen = signal(false, ...ngDevMode ? [{ debugName: "mobileOpen" }] : /* istanbul ignore next */ []);
13506
14101
  this.locales = siteLocales(this.chrome);
13507
- }
13508
- langHref(target) {
13509
- return localeSwitchHref(target, this.location.path() || "/");
14102
+ this.languageLabel = this.labels.language ?? localeEntry(this.locale).language;
14103
+ this.path = injectSitePath();
14104
+ this.localeOptions = computed(() => toLocaleOptions(this.locales, this.path()), ...ngDevMode ? [{ debugName: "localeOptions" }] : /* istanbul ignore next */ []);
13510
14105
  }
13511
14106
  onScroll() {
13512
14107
  this.scrolled.set(typeof window !== "undefined" && window.scrollY > 8);
@@ -13554,16 +14149,11 @@ var SiteNavbarComponent = class SiteNavbarComponent {
13554
14149
  }
13555
14150
 
13556
14151
  @if (locales.length > 1) {
13557
- <div class="nav__lang mono" translate="no">
13558
- @for (option of locales; track option) {
13559
- <a
13560
- [href]="langHref(option)"
13561
- class="nav__lang-opt"
13562
- [class.is-active]="locale === option"
13563
- >{{ option.toUpperCase() }}</a
13564
- >
13565
- }
13566
- </div>
14152
+ <flr-site-locale-picker
14153
+ [options]="localeOptions()"
14154
+ [current]="locale"
14155
+ [label]="languageLabel"
14156
+ />
13567
14157
  }
13568
14158
 
13569
14159
  @if (cta) {
@@ -13602,13 +14192,38 @@ var SiteNavbarComponent = class SiteNavbarComponent {
13602
14192
  >{{ link.label }}
13603
14193
  </a>
13604
14194
  }
14195
+ @if (locales.length > 1) {
14196
+ <p class="nav__mobile-eyebrow mono">{{ languageLabel }}</p>
14197
+ <div class="nav__mobile-langs" translate="no">
14198
+ @for (option of localeOptions(); track option.code) {
14199
+ <a
14200
+ [href]="option.href"
14201
+ class="nav__mobile-lang"
14202
+ [attr.lang]="option.code"
14203
+ [attr.hreflang]="option.code"
14204
+ [attr.aria-current]="option.code === locale ? 'true' : null"
14205
+ >{{ option.endonym }}</a
14206
+ >
14207
+ }
14208
+ </div>
14209
+ }
13605
14210
  </div>
13606
14211
  </div>
13607
14212
  }
13608
14213
  </header>
13609
14214
  `,
13610
14215
  isInline: true,
13611
- styles: [":host{display:block;position:sticky;top:0;z-index:50}.nav{background:#faf8f4a6;-webkit-backdrop-filter:saturate(140%) blur(14px);backdrop-filter:saturate(140%) blur(14px);border-bottom:1px solid transparent;transition:background .2s ease,border-color .2s ease}.nav--scrolled{background:#faf8f4d9;border-bottom-color:var(--color-rule, rgba(30, 41, 59, .14))}.nav__container{max-width:1440px;margin:0 auto;padding:0 40px;display:flex;align-items:center;height:72px;gap:24px}@media(max-width:768px){.nav__container{padding:0 20px}}.nav__brand{display:flex;align-items:center;gap:10px;color:var(--accent, #1e293b);letter-spacing:-.01em;text-decoration:none}.nav__logo{display:inline-flex;line-height:0}.nav__logo ::ng-deep svg{display:block;width:28px;height:28px}.nav__wordmark{font-family:var(--font-display, \"Fraunces\", Georgia, ui-serif, serif);font-weight:900;font-size:22px;letter-spacing:-.02em;color:var(--color-ink, #1e293b)}.nav__wordmark-accent{color:var(--accent, #1e293b)}.nav__desktop{display:flex;align-items:center;gap:28px;margin-left:auto}.nav__link{font-size:12px;letter-spacing:.06em;text-transform:uppercase;color:var(--color-ink-2, #475569);position:relative;padding:6px 0;text-decoration:none}.nav__link:after{content:\"\";position:absolute;left:0;right:0;bottom:-2px;height:1px;background:var(--accent, #1e293b);transform:scaleX(0);transform-origin:left;transition:transform .22s ease}.nav__link:hover:after{transform:scaleX(1)}.nav__lang{display:flex;align-items:center;border:1px solid var(--color-rule, rgba(30, 41, 59, .14));border-radius:var(--radius-full, 999px);overflow:hidden}.nav__lang-opt{font-family:var( --font-mono, \"DM Mono\", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace );font-size:11px;letter-spacing:.08em;text-transform:uppercase;padding:6px 12px;color:var(--color-ink-2, #475569);text-decoration:none;transition:background .18s,color .18s}.nav__lang-opt.is-active{background:var(--color-ink, #1e293b);color:var(--color-paper, #f8fafc)}.nav__cta{display:inline-flex;align-items:center;gap:8px;font-size:12px;letter-spacing:.06em;text-transform:uppercase;padding:10px 16px;border-radius:var(--radius-full, 999px);background:var(--accent, #1e293b);color:#fff;text-decoration:none;transition:transform .18s,opacity .18s}.nav__cta:hover{transform:translateY(-1px);opacity:.92}.nav__toggle{display:none;margin-left:auto;border:1px solid var(--color-rule, rgba(30, 41, 59, .14));border-radius:var(--radius-full, 999px);background:transparent;color:var(--color-ink, #1e293b);padding:8px 14px;font-size:11px;letter-spacing:.08em;text-transform:uppercase;cursor:pointer}@media(max-width:880px){.nav__desktop{display:none}.nav__toggle{display:inline-flex}}.nav__mobile{position:fixed;inset:0;z-index:100;background:var(--color-paper, #f8fafc)}.nav__mobile-bar{justify-content:space-between}.nav__mobile-list{flex-direction:column;align-items:stretch;height:auto;padding-top:40px;padding-bottom:40px;gap:0}.nav__mobile-link{font-family:var(--font-display, \"Fraunces\", Georgia, ui-serif, serif);font-weight:700;font-size:clamp(40px,9vw,72px);letter-spacing:-.03em;line-height:1.04;border-bottom:1px solid var(--color-rule, rgba(30, 41, 59, .14));padding:20px 0;color:var(--color-ink, #1e293b);display:flex;align-items:baseline;gap:16px;text-decoration:none}.nav__mobile-link .mono{font-size:12px;color:var(--color-ink-3, #64748b);letter-spacing:.1em;font-weight:400}\n"],
14216
+ styles: [":host{display:block;position:sticky;top:0;z-index:50}.nav{background:#faf8f4a6;-webkit-backdrop-filter:saturate(140%) blur(14px);backdrop-filter:saturate(140%) blur(14px);border-bottom:1px solid transparent;transition:background .2s ease,border-color .2s ease}.nav--scrolled{background:#faf8f4d9;border-bottom-color:var(--color-rule, rgba(30, 41, 59, .14))}.nav__container{max-width:1440px;margin:0 auto;padding:0 40px;display:flex;align-items:center;height:72px;gap:24px}@media(max-width:768px){.nav__container{padding:0 20px}}.nav__brand{display:flex;align-items:center;gap:10px;color:var(--accent, #1e293b);letter-spacing:-.01em;text-decoration:none}.nav__logo{display:inline-flex;line-height:0}.nav__logo ::ng-deep svg{display:block;width:28px;height:28px}.nav__wordmark{font-family:var(--font-display, \"Fraunces\", Georgia, ui-serif, serif);font-weight:900;font-size:22px;letter-spacing:-.02em;color:var(--color-ink, #1e293b)}.nav__wordmark-accent{color:var(--accent, #1e293b)}.nav__desktop{display:flex;align-items:center;gap:28px;margin-left:auto}.nav__link{font-size:12px;letter-spacing:.06em;text-transform:uppercase;color:var(--color-ink-2, #475569);position:relative;padding:6px 0;text-decoration:none}.nav__link:after{content:\"\";position:absolute;left:0;right:0;bottom:-2px;height:1px;background:var(--accent, #1e293b);transform:scaleX(0);transform-origin:left;transition:transform .22s ease}.nav__link:hover:after{transform:scaleX(1)}.nav__cta{display:inline-flex;align-items:center;gap:8px;font-size:12px;letter-spacing:.06em;text-transform:uppercase;padding:10px 16px;border-radius:var(--radius-full, 999px);background:var(--accent, #1e293b);color:#fff;text-decoration:none;transition:transform .18s,opacity .18s}.nav__cta:hover{transform:translateY(-1px);opacity:.92}.nav__toggle{display:none;margin-left:auto;border:1px solid var(--color-rule, rgba(30, 41, 59, .14));border-radius:var(--radius-full, 999px);background:transparent;color:var(--color-ink, #1e293b);padding:8px 14px;font-size:11px;letter-spacing:.08em;text-transform:uppercase;cursor:pointer}@media(max-width:880px){.nav__desktop{display:none}.nav__toggle{display:inline-flex}}.nav__mobile{position:fixed;inset:0;z-index:100;background:var(--color-paper, #f8fafc)}.nav__mobile-bar{justify-content:space-between}.nav__mobile-list{flex-direction:column;align-items:stretch;height:auto;padding-top:40px;padding-bottom:40px;gap:0}.nav__mobile-link{font-family:var(--font-display, \"Fraunces\", Georgia, ui-serif, serif);font-weight:700;font-size:clamp(40px,9vw,72px);letter-spacing:-.03em;line-height:1.04;border-bottom:1px solid var(--color-rule, rgba(30, 41, 59, .14));padding:20px 0;color:var(--color-ink, #1e293b);display:flex;align-items:baseline;gap:16px;text-decoration:none}.nav__mobile-eyebrow{margin:32px 0 12px;font-size:11px;letter-spacing:.14em;text-transform:uppercase;color:var(--color-ink-3, #64748b)}.nav__mobile-langs{display:flex;flex-wrap:wrap;gap:8px}.nav__mobile-lang{padding:8px 16px;border:1px solid var(--color-rule, rgba(30, 41, 59, .14));border-radius:var(--radius-full, 999px);color:var(--color-ink-2, #475569);font-size:14px;text-decoration:none}.nav__mobile-lang[aria-current=true]{background:var(--color-ink, #1e293b);border-color:var(--color-ink, #1e293b);color:var(--color-paper, #f8fafc)}.nav__mobile-link .mono{font-size:12px;color:var(--color-ink-3, #64748b);letter-spacing:.1em;font-weight:400}\n"],
14217
+ dependencies: [{
14218
+ kind: "component",
14219
+ type: SiteLocalePickerComponent,
14220
+ selector: "flr-site-locale-picker",
14221
+ inputs: [
14222
+ "options",
14223
+ "current",
14224
+ "label"
14225
+ ]
14226
+ }],
13612
14227
  changeDetection: i0.ChangeDetectionStrategy.OnPush
13613
14228
  });
13614
14229
  }
@@ -13623,6 +14238,7 @@ i0.ɵɵngDeclareClassMetadata({
13623
14238
  args: [{
13624
14239
  selector: "flr-site-navbar",
13625
14240
  changeDetection: ChangeDetectionStrategy.OnPush,
14241
+ imports: [SiteLocalePickerComponent],
13626
14242
  host: { "(window:scroll)": "onScroll()" },
13627
14243
  template: `
13628
14244
  <header class="nav" [class.nav--scrolled]="scrolled()">
@@ -13645,16 +14261,11 @@ i0.ɵɵngDeclareClassMetadata({
13645
14261
  }
13646
14262
 
13647
14263
  @if (locales.length > 1) {
13648
- <div class="nav__lang mono" translate="no">
13649
- @for (option of locales; track option) {
13650
- <a
13651
- [href]="langHref(option)"
13652
- class="nav__lang-opt"
13653
- [class.is-active]="locale === option"
13654
- >{{ option.toUpperCase() }}</a
13655
- >
13656
- }
13657
- </div>
14264
+ <flr-site-locale-picker
14265
+ [options]="localeOptions()"
14266
+ [current]="locale"
14267
+ [label]="languageLabel"
14268
+ />
13658
14269
  }
13659
14270
 
13660
14271
  @if (cta) {
@@ -13693,12 +14304,27 @@ i0.ɵɵngDeclareClassMetadata({
13693
14304
  >{{ link.label }}
13694
14305
  </a>
13695
14306
  }
14307
+ @if (locales.length > 1) {
14308
+ <p class="nav__mobile-eyebrow mono">{{ languageLabel }}</p>
14309
+ <div class="nav__mobile-langs" translate="no">
14310
+ @for (option of localeOptions(); track option.code) {
14311
+ <a
14312
+ [href]="option.href"
14313
+ class="nav__mobile-lang"
14314
+ [attr.lang]="option.code"
14315
+ [attr.hreflang]="option.code"
14316
+ [attr.aria-current]="option.code === locale ? 'true' : null"
14317
+ >{{ option.endonym }}</a
14318
+ >
14319
+ }
14320
+ </div>
14321
+ }
13696
14322
  </div>
13697
14323
  </div>
13698
14324
  }
13699
14325
  </header>
13700
14326
  `,
13701
- styles: [":host{display:block;position:sticky;top:0;z-index:50}.nav{background:#faf8f4a6;-webkit-backdrop-filter:saturate(140%) blur(14px);backdrop-filter:saturate(140%) blur(14px);border-bottom:1px solid transparent;transition:background .2s ease,border-color .2s ease}.nav--scrolled{background:#faf8f4d9;border-bottom-color:var(--color-rule, rgba(30, 41, 59, .14))}.nav__container{max-width:1440px;margin:0 auto;padding:0 40px;display:flex;align-items:center;height:72px;gap:24px}@media(max-width:768px){.nav__container{padding:0 20px}}.nav__brand{display:flex;align-items:center;gap:10px;color:var(--accent, #1e293b);letter-spacing:-.01em;text-decoration:none}.nav__logo{display:inline-flex;line-height:0}.nav__logo ::ng-deep svg{display:block;width:28px;height:28px}.nav__wordmark{font-family:var(--font-display, \"Fraunces\", Georgia, ui-serif, serif);font-weight:900;font-size:22px;letter-spacing:-.02em;color:var(--color-ink, #1e293b)}.nav__wordmark-accent{color:var(--accent, #1e293b)}.nav__desktop{display:flex;align-items:center;gap:28px;margin-left:auto}.nav__link{font-size:12px;letter-spacing:.06em;text-transform:uppercase;color:var(--color-ink-2, #475569);position:relative;padding:6px 0;text-decoration:none}.nav__link:after{content:\"\";position:absolute;left:0;right:0;bottom:-2px;height:1px;background:var(--accent, #1e293b);transform:scaleX(0);transform-origin:left;transition:transform .22s ease}.nav__link:hover:after{transform:scaleX(1)}.nav__lang{display:flex;align-items:center;border:1px solid var(--color-rule, rgba(30, 41, 59, .14));border-radius:var(--radius-full, 999px);overflow:hidden}.nav__lang-opt{font-family:var( --font-mono, \"DM Mono\", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace );font-size:11px;letter-spacing:.08em;text-transform:uppercase;padding:6px 12px;color:var(--color-ink-2, #475569);text-decoration:none;transition:background .18s,color .18s}.nav__lang-opt.is-active{background:var(--color-ink, #1e293b);color:var(--color-paper, #f8fafc)}.nav__cta{display:inline-flex;align-items:center;gap:8px;font-size:12px;letter-spacing:.06em;text-transform:uppercase;padding:10px 16px;border-radius:var(--radius-full, 999px);background:var(--accent, #1e293b);color:#fff;text-decoration:none;transition:transform .18s,opacity .18s}.nav__cta:hover{transform:translateY(-1px);opacity:.92}.nav__toggle{display:none;margin-left:auto;border:1px solid var(--color-rule, rgba(30, 41, 59, .14));border-radius:var(--radius-full, 999px);background:transparent;color:var(--color-ink, #1e293b);padding:8px 14px;font-size:11px;letter-spacing:.08em;text-transform:uppercase;cursor:pointer}@media(max-width:880px){.nav__desktop{display:none}.nav__toggle{display:inline-flex}}.nav__mobile{position:fixed;inset:0;z-index:100;background:var(--color-paper, #f8fafc)}.nav__mobile-bar{justify-content:space-between}.nav__mobile-list{flex-direction:column;align-items:stretch;height:auto;padding-top:40px;padding-bottom:40px;gap:0}.nav__mobile-link{font-family:var(--font-display, \"Fraunces\", Georgia, ui-serif, serif);font-weight:700;font-size:clamp(40px,9vw,72px);letter-spacing:-.03em;line-height:1.04;border-bottom:1px solid var(--color-rule, rgba(30, 41, 59, .14));padding:20px 0;color:var(--color-ink, #1e293b);display:flex;align-items:baseline;gap:16px;text-decoration:none}.nav__mobile-link .mono{font-size:12px;color:var(--color-ink-3, #64748b);letter-spacing:.1em;font-weight:400}\n"]
14327
+ styles: [":host{display:block;position:sticky;top:0;z-index:50}.nav{background:#faf8f4a6;-webkit-backdrop-filter:saturate(140%) blur(14px);backdrop-filter:saturate(140%) blur(14px);border-bottom:1px solid transparent;transition:background .2s ease,border-color .2s ease}.nav--scrolled{background:#faf8f4d9;border-bottom-color:var(--color-rule, rgba(30, 41, 59, .14))}.nav__container{max-width:1440px;margin:0 auto;padding:0 40px;display:flex;align-items:center;height:72px;gap:24px}@media(max-width:768px){.nav__container{padding:0 20px}}.nav__brand{display:flex;align-items:center;gap:10px;color:var(--accent, #1e293b);letter-spacing:-.01em;text-decoration:none}.nav__logo{display:inline-flex;line-height:0}.nav__logo ::ng-deep svg{display:block;width:28px;height:28px}.nav__wordmark{font-family:var(--font-display, \"Fraunces\", Georgia, ui-serif, serif);font-weight:900;font-size:22px;letter-spacing:-.02em;color:var(--color-ink, #1e293b)}.nav__wordmark-accent{color:var(--accent, #1e293b)}.nav__desktop{display:flex;align-items:center;gap:28px;margin-left:auto}.nav__link{font-size:12px;letter-spacing:.06em;text-transform:uppercase;color:var(--color-ink-2, #475569);position:relative;padding:6px 0;text-decoration:none}.nav__link:after{content:\"\";position:absolute;left:0;right:0;bottom:-2px;height:1px;background:var(--accent, #1e293b);transform:scaleX(0);transform-origin:left;transition:transform .22s ease}.nav__link:hover:after{transform:scaleX(1)}.nav__cta{display:inline-flex;align-items:center;gap:8px;font-size:12px;letter-spacing:.06em;text-transform:uppercase;padding:10px 16px;border-radius:var(--radius-full, 999px);background:var(--accent, #1e293b);color:#fff;text-decoration:none;transition:transform .18s,opacity .18s}.nav__cta:hover{transform:translateY(-1px);opacity:.92}.nav__toggle{display:none;margin-left:auto;border:1px solid var(--color-rule, rgba(30, 41, 59, .14));border-radius:var(--radius-full, 999px);background:transparent;color:var(--color-ink, #1e293b);padding:8px 14px;font-size:11px;letter-spacing:.08em;text-transform:uppercase;cursor:pointer}@media(max-width:880px){.nav__desktop{display:none}.nav__toggle{display:inline-flex}}.nav__mobile{position:fixed;inset:0;z-index:100;background:var(--color-paper, #f8fafc)}.nav__mobile-bar{justify-content:space-between}.nav__mobile-list{flex-direction:column;align-items:stretch;height:auto;padding-top:40px;padding-bottom:40px;gap:0}.nav__mobile-link{font-family:var(--font-display, \"Fraunces\", Georgia, ui-serif, serif);font-weight:700;font-size:clamp(40px,9vw,72px);letter-spacing:-.03em;line-height:1.04;border-bottom:1px solid var(--color-rule, rgba(30, 41, 59, .14));padding:20px 0;color:var(--color-ink, #1e293b);display:flex;align-items:baseline;gap:16px;text-decoration:none}.nav__mobile-eyebrow{margin:32px 0 12px;font-size:11px;letter-spacing:.14em;text-transform:uppercase;color:var(--color-ink-3, #64748b)}.nav__mobile-langs{display:flex;flex-wrap:wrap;gap:8px}.nav__mobile-lang{padding:8px 16px;border:1px solid var(--color-rule, rgba(30, 41, 59, .14));border-radius:var(--radius-full, 999px);color:var(--color-ink-2, #475569);font-size:14px;text-decoration:none}.nav__mobile-lang[aria-current=true]{background:var(--color-ink, #1e293b);border-color:var(--color-ink, #1e293b);color:var(--color-paper, #f8fafc)}.nav__mobile-link .mono{font-size:12px;color:var(--color-ink-3, #64748b);letter-spacing:.1em;font-weight:400}\n"]
13702
14328
  }]
13703
14329
  }]
13704
14330
  });
@@ -13709,7 +14335,7 @@ var SiteFooterComponent = class SiteFooterComponent {
13709
14335
  this.logo = this.sanitizer.bypassSecurityTrustHtml(isTrustedIconMarkup(this.chrome.logoSvg) ? this.chrome.logoSvg : "");
13710
14336
  this.wordmark = this.chrome.wordmark;
13711
14337
  this.wordmarkAccent = this.chrome.wordmarkAccent ?? "";
13712
- this.locale = resolveLocale(inject(LOCALE_ID));
14338
+ this.locale = resolveSiteLocale(this.chrome, inject(LOCALE_ID));
13713
14339
  this.footer = this.chrome.footer;
13714
14340
  this.columns = this.chrome.footer.columns.map((col) => ({
13715
14341
  title: col.title,
@@ -13852,22 +14478,157 @@ i0.ɵɵngDeclareClassMetadata({
13852
14478
  }]
13853
14479
  }]
13854
14480
  });
14481
+ const DISMISSED_KEY = "flr:locale-banner-dismissed";
14482
+ function suggestedLocale(languages, enabled, current) {
14483
+ for (const language of languages) {
14484
+ const match = matchSiteLocale(language);
14485
+ if (match && enabled.includes(match)) return match === current ? null : match;
14486
+ }
14487
+ return null;
14488
+ }
14489
+ function readDismissed() {
14490
+ try {
14491
+ return localStorage.getItem(DISMISSED_KEY);
14492
+ } catch {
14493
+ return null;
14494
+ }
14495
+ }
14496
+ function writeDismissed(locale) {
14497
+ try {
14498
+ localStorage.setItem(DISMISSED_KEY, locale);
14499
+ } catch {
14500
+ return;
14501
+ }
14502
+ }
14503
+ var SiteLocaleBannerComponent = class SiteLocaleBannerComponent {
14504
+ constructor() {
14505
+ this.path = input.required(...ngDevMode ? [{ debugName: "path" }] : /* istanbul ignore next */ []);
14506
+ this.chrome = inject(SITE_CHROME);
14507
+ this.enabled = siteLocales(this.chrome);
14508
+ this.current = resolveSiteLocale(this.chrome, inject(LOCALE_ID));
14509
+ this.stayLabel = localeEntry(this.current).suggestion.stay;
14510
+ this.suggestion = signal(null, ...ngDevMode ? [{ debugName: "suggestion" }] : /* istanbul ignore next */ []);
14511
+ this.view = computed(() => {
14512
+ const code = this.suggestion();
14513
+ if (!code) return null;
14514
+ return {
14515
+ code,
14516
+ target: localeEntry(code).suggestion,
14517
+ href: localeSwitchHref(code, this.path(), this.enabled)
14518
+ };
14519
+ }, ...ngDevMode ? [{ debugName: "view" }] : /* istanbul ignore next */ []);
14520
+ afterNextRender(() => {
14521
+ const target = suggestedLocale(navigator.languages, this.enabled, this.current);
14522
+ if (target && readDismissed() !== target) this.suggestion.set(target);
14523
+ });
14524
+ }
14525
+ dismiss(code) {
14526
+ writeDismissed(code);
14527
+ this.suggestion.set(null);
14528
+ }
14529
+ static {
14530
+ this.ɵfac = i0.ɵɵngDeclareFactory({
14531
+ minVersion: "12.0.0",
14532
+ version: "22.2.5",
14533
+ ngImport: i0,
14534
+ type: SiteLocaleBannerComponent,
14535
+ deps: [],
14536
+ target: i0.ɵɵFactoryTarget.Component
14537
+ });
14538
+ }
14539
+ static {
14540
+ this.ɵcmp = i0.ɵɵngDeclareComponent({
14541
+ minVersion: "17.0.0",
14542
+ version: "22.2.5",
14543
+ type: SiteLocaleBannerComponent,
14544
+ isStandalone: true,
14545
+ selector: "flr-site-locale-banner",
14546
+ inputs: { path: {
14547
+ classPropertyName: "path",
14548
+ publicName: "path",
14549
+ isSignal: true,
14550
+ isRequired: true,
14551
+ transformFunction: null
14552
+ } },
14553
+ ngImport: i0,
14554
+ template: `
14555
+ @if (view(); as v) {
14556
+ <div class="banner" role="region" [attr.aria-label]="v.target.label" [attr.lang]="v.code">
14557
+ <p class="banner__text">{{ v.target.message }}</p>
14558
+ <a class="banner__action" [href]="v.href" [attr.hreflang]="v.code">{{ v.target.read }}</a>
14559
+ <button
14560
+ type="button"
14561
+ class="banner__dismiss"
14562
+ [attr.lang]="current"
14563
+ (click)="dismiss(v.code)"
14564
+ >
14565
+ {{ stayLabel }}
14566
+ </button>
14567
+ </div>
14568
+ }
14569
+ `,
14570
+ isInline: true,
14571
+ styles: [":host{position:sticky;bottom:0;z-index:60}.banner{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:6px 16px;padding:8px 20px;background:var(--color-paper-2, #f1f5f9);border-top:1px solid var(--color-rule, rgba(30, 41, 59, .14));padding-bottom:max(8px,env(safe-area-inset-bottom,0px));color:var(--color-ink-2, #475569);font-size:13px}.banner__text{margin:0}.banner__action{color:var(--accent, #1e293b);font-weight:600;text-decoration:underline;text-underline-offset:3px}.banner__dismiss{border:0;background:transparent;padding:0;color:var(--color-ink-3, #64748b);font:inherit;cursor:pointer;text-decoration:underline;text-underline-offset:3px}.banner__action:hover,.banner__dismiss:hover{color:var(--color-ink, #1e293b)}.banner__action:focus-visible,.banner__dismiss:focus-visible{outline:2px solid var(--accent, #1e293b);outline-offset:2px}\n"],
14572
+ changeDetection: i0.ChangeDetectionStrategy.OnPush
14573
+ });
14574
+ }
14575
+ };
14576
+ i0.ɵɵngDeclareClassMetadata({
14577
+ minVersion: "12.0.0",
14578
+ version: "22.2.5",
14579
+ ngImport: i0,
14580
+ type: SiteLocaleBannerComponent,
14581
+ decorators: [{
14582
+ type: Component,
14583
+ args: [{
14584
+ selector: "flr-site-locale-banner",
14585
+ changeDetection: ChangeDetectionStrategy.OnPush,
14586
+ template: `
14587
+ @if (view(); as v) {
14588
+ <div class="banner" role="region" [attr.aria-label]="v.target.label" [attr.lang]="v.code">
14589
+ <p class="banner__text">{{ v.target.message }}</p>
14590
+ <a class="banner__action" [href]="v.href" [attr.hreflang]="v.code">{{ v.target.read }}</a>
14591
+ <button
14592
+ type="button"
14593
+ class="banner__dismiss"
14594
+ [attr.lang]="current"
14595
+ (click)="dismiss(v.code)"
14596
+ >
14597
+ {{ stayLabel }}
14598
+ </button>
14599
+ </div>
14600
+ }
14601
+ `,
14602
+ styles: [":host{position:sticky;bottom:0;z-index:60}.banner{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:6px 16px;padding:8px 20px;background:var(--color-paper-2, #f1f5f9);border-top:1px solid var(--color-rule, rgba(30, 41, 59, .14));padding-bottom:max(8px,env(safe-area-inset-bottom,0px));color:var(--color-ink-2, #475569);font-size:13px}.banner__text{margin:0}.banner__action{color:var(--accent, #1e293b);font-weight:600;text-decoration:underline;text-underline-offset:3px}.banner__dismiss{border:0;background:transparent;padding:0;color:var(--color-ink-3, #64748b);font:inherit;cursor:pointer;text-decoration:underline;text-underline-offset:3px}.banner__action:hover,.banner__dismiss:hover{color:var(--color-ink, #1e293b)}.banner__action:focus-visible,.banner__dismiss:focus-visible{outline:2px solid var(--accent, #1e293b);outline-offset:2px}\n"]
14603
+ }]
14604
+ }],
14605
+ ctorParameters: () => [],
14606
+ propDecorators: { path: [{
14607
+ type: i0.Input,
14608
+ args: [{
14609
+ isSignal: true,
14610
+ alias: "path",
14611
+ required: true
14612
+ }]
14613
+ }] }
14614
+ });
13855
14615
  var SiteShellComponent = class SiteShellComponent {
13856
14616
  constructor() {
13857
14617
  this.title = input("", ...ngDevMode ? [{ debugName: "title" }] : /* istanbul ignore next */ []);
13858
14618
  this.description = input("", ...ngDevMode ? [{ debugName: "description" }] : /* istanbul ignore next */ []);
13859
14619
  this.canonical = input(null, ...ngDevMode ? [{ debugName: "canonical" }] : /* istanbul ignore next */ []);
13860
14620
  this.chrome = inject(SITE_CHROME);
13861
- this.location = inject(Location);
13862
14621
  this.titleService = inject(Title);
13863
14622
  this.meta = inject(Meta);
13864
14623
  this.document = inject(DOCUMENT);
13865
- this.locale = resolveLocale(inject(LOCALE_ID));
14624
+ this.locale = resolveSiteLocale(this.chrome, inject(LOCALE_ID));
14625
+ this.hasLocaleChoice = siteLocales(this.chrome).length > 1;
14626
+ this.path = injectSitePath();
13866
14627
  effect(() => {
13867
14628
  const title = this.title();
13868
14629
  const description = this.description();
13869
- const path = this.location.path().split(/[?#]/)[0] || "/";
13870
- const canonical = this.canonical() ?? `${this.chrome.origin}${localeSwitchHref(this.locale, path)}`;
14630
+ const path = this.path().split(/[?#]/)[0] || "/";
14631
+ const canonical = this.canonical() ?? `${this.chrome.origin}${localeSwitchHref(this.locale, path, siteLocales(this.chrome))}`;
13871
14632
  if (title) {
13872
14633
  this.titleService.setTitle(title);
13873
14634
  this.meta.updateTag({
@@ -13905,10 +14666,10 @@ var SiteShellComponent = class SiteShellComponent {
13905
14666
  const locales = siteLocales(this.chrome);
13906
14667
  if (locales.length < 2) return;
13907
14668
  for (const locale of locales) {
13908
- const href = `${this.chrome.origin}${localeSwitchHref(locale, barePath)}`;
14669
+ const href = `${this.chrome.origin}${localeSwitchHref(locale, barePath, locales)}`;
13909
14670
  this.setLink("alternate", href, locale);
13910
14671
  }
13911
- const def = `${this.chrome.origin}${localeSwitchHref("en", barePath)}`;
14672
+ const def = `${this.chrome.origin}${localeSwitchHref("en", barePath, locales)}`;
13912
14673
  this.setLink("alternate", def, "x-default");
13913
14674
  }
13914
14675
  setLink(rel, href, hreflang) {
@@ -13935,7 +14696,7 @@ var SiteShellComponent = class SiteShellComponent {
13935
14696
  }
13936
14697
  static {
13937
14698
  this.ɵcmp = i0.ɵɵngDeclareComponent({
13938
- minVersion: "17.1.0",
14699
+ minVersion: "17.0.0",
13939
14700
  version: "22.2.5",
13940
14701
  type: SiteShellComponent,
13941
14702
  isStandalone: true,
@@ -13968,18 +14729,30 @@ var SiteShellComponent = class SiteShellComponent {
13968
14729
  <flr-site-navbar />
13969
14730
  <main><ng-content /></main>
13970
14731
  <flr-site-footer />
14732
+ @if (hasLocaleChoice) {
14733
+ <flr-site-locale-banner [path]="path()" />
14734
+ }
13971
14735
  `,
13972
14736
  isInline: true,
13973
14737
  styles: [":host{display:flex;flex-direction:column;min-height:100dvh}main{flex:1 0 auto}\n"],
13974
- dependencies: [{
13975
- kind: "component",
13976
- type: SiteNavbarComponent,
13977
- selector: "flr-site-navbar"
13978
- }, {
13979
- kind: "component",
13980
- type: SiteFooterComponent,
13981
- selector: "flr-site-footer"
13982
- }],
14738
+ dependencies: [
14739
+ {
14740
+ kind: "component",
14741
+ type: SiteLocaleBannerComponent,
14742
+ selector: "flr-site-locale-banner",
14743
+ inputs: ["path"]
14744
+ },
14745
+ {
14746
+ kind: "component",
14747
+ type: SiteNavbarComponent,
14748
+ selector: "flr-site-navbar"
14749
+ },
14750
+ {
14751
+ kind: "component",
14752
+ type: SiteFooterComponent,
14753
+ selector: "flr-site-footer"
14754
+ }
14755
+ ],
13983
14756
  changeDetection: i0.ChangeDetectionStrategy.OnPush
13984
14757
  });
13985
14758
  }
@@ -13994,11 +14767,18 @@ i0.ɵɵngDeclareClassMetadata({
13994
14767
  args: [{
13995
14768
  selector: "flr-site-shell",
13996
14769
  changeDetection: ChangeDetectionStrategy.OnPush,
13997
- imports: [SiteNavbarComponent, SiteFooterComponent],
14770
+ imports: [
14771
+ SiteLocaleBannerComponent,
14772
+ SiteNavbarComponent,
14773
+ SiteFooterComponent
14774
+ ],
13998
14775
  template: `
13999
14776
  <flr-site-navbar />
14000
14777
  <main><ng-content /></main>
14001
14778
  <flr-site-footer />
14779
+ @if (hasLocaleChoice) {
14780
+ <flr-site-locale-banner [path]="path()" />
14781
+ }
14002
14782
  `,
14003
14783
  styles: [":host{display:flex;flex-direction:column;min-height:100dvh}main{flex:1 0 auto}\n"]
14004
14784
  }]
@@ -15864,6 +16644,6 @@ i0.ɵɵngDeclareClassMetadata({
15864
16644
  }]
15865
16645
  }
15866
16646
  });
15867
- export { ACCESS_PICKER_LABELS_EN, ACCESS_PICKER_LABELS_FR, AccessPickerComponent, AnnotatedTextareaComponent, AppRailComponent, AppSwitcherComponent, AvatarComponent, BannerComponent, BarChartComponent, BrandDropdownComponent, ButtonComponent, CONTACT_FORM_LABELS_EN, CONTACT_FORM_LABELS_FR, CONTACT_KINDS, CONTACT_PRODUCTS, CardComponent, CardHeaderComponent, CheckboxComponent, ComparisonTableComponent, ContactFormComponent, ContainerComponent, DEFAULT_APPS, DEFAULT_PAGE_SIZE, DEFAULT_PAGINATION_LABELS, DividerComponent, DrawerComponent, EmptyStateComponent, ErrorStateComponent, FieldComponent, InputComponent, LoadingStateComponent, LogoMarkComponent, MenuComponent, MenuItemComponent, MenuLabelComponent, MenuSeparatorComponent, ModalComponent, MultiSelectComponent, PageHeaderComponent, PaginationComponent, ProgressBarComponent, ProjectSwitcherComponent, RadioComponent, RadioGroupComponent, RailToggleComponent, SHELL_CONTEXT, SITE_CHROME, SITE_LOCALES, SearchFieldComponent, SectionComponent, SegmentedComponent, SelectComponent, ShellComponent, SidebarComponent, SidebarItemComponent, SidebarSectionComponent, SiteCardComponent, SiteFooterComponent, SiteNavbarComponent, SiteShellComponent, SiteSwitcherComponent, SkeletonComponent, SpinnerComponent, StatComponent, StatusBarsComponent, SubmitComponent, SwitchComponent, TabComponent, TabsComponent, TagComponent, TextareaComponent, ToastContainerComponent, ToastService, TreeSelectComponent, UserMenuComponent, WAITLIST_FORM_LABELS_EN, WAITLIST_FORM_LABELS_FR, WaitlistFormComponent, accountUrl, brandApps, entitledApps, hiddenAppsFromPreferences, localeBase, localeSwitchHref, marketingUrl, orgCreateUrl, paged, provideSiteChrome, readContactPrefill, readRuntimeEnv, resolveLocale, runtimeUrl, siteLocales, stripLocalePrefix, switcherState, userMenuItems, withHiddenApps, withLocaleBase };
16647
+ export { ACCESS_PICKER_LABELS_EN, ACCESS_PICKER_LABELS_FR, ALL_SITE_LOCALES, AccessPickerComponent, AnnotatedTextareaComponent, AppRailComponent, AppSwitcherComponent, AvatarComponent, BannerComponent, BarChartComponent, BrandDropdownComponent, ButtonComponent, CONTACT_FORM_LABELS_EN, CONTACT_FORM_LABELS_FR, CONTACT_KINDS, CONTACT_PRODUCTS, CardComponent, CardHeaderComponent, CheckboxComponent, ComparisonTableComponent, ContactFormComponent, ContainerComponent, DEFAULT_APPS, DEFAULT_LOCALE, DEFAULT_PAGE_SIZE, DEFAULT_PAGINATION_LABELS, DividerComponent, DrawerComponent, EmptyStateComponent, ErrorStateComponent, FieldComponent, InputComponent, LOCALE_CATALOG, LoadingStateComponent, LogoMarkComponent, MenuComponent, MenuItemComponent, MenuLabelComponent, MenuSeparatorComponent, ModalComponent, MultiSelectComponent, PageHeaderComponent, PaginationComponent, ProgressBarComponent, ProjectSwitcherComponent, RadioComponent, RadioGroupComponent, RailToggleComponent, SHELL_CONTEXT, SITE_CHROME, SITE_LOCALES, SearchFieldComponent, SectionComponent, SegmentedComponent, SelectComponent, ShellComponent, SidebarComponent, SidebarItemComponent, SidebarSectionComponent, SiteCardComponent, SiteFooterComponent, SiteLocaleBannerComponent, SiteLocalePickerComponent, SiteNavbarComponent, SiteShellComponent, SiteSwitcherComponent, SkeletonComponent, SpinnerComponent, StatComponent, StatusBarsComponent, SubmitComponent, SwitchComponent, TabComponent, TabsComponent, TagComponent, TextareaComponent, ToastContainerComponent, ToastService, TreeSelectComponent, UserMenuComponent, WAITLIST_FORM_LABELS_EN, WAITLIST_FORM_LABELS_FR, WaitlistFormComponent, accountUrl, brandApps, entitledApps, hiddenAppsFromPreferences, injectSitePath, isSiteLocale, localeBase, localeEntry, localeSwitchHref, marketingUrl, matchSiteLocale, orgCreateUrl, paged, provideSiteChrome, readContactPrefill, readRuntimeEnv, resolveLocale, resolveSiteLocale, runtimeUrl, siteLocales, stripLocalePrefix, switcherState, toLocaleOptions, userMenuItems, withHiddenApps, withLocaleBase };
15868
16648
 
15869
16649
  //# sourceMappingURL=ferrlabs-ui-ng.mjs.map