@posiwise/shared-components 0.0.229 → 0.0.231

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,7 +1,7 @@
1
- import * as i1$3 from "@angular/common";
1
+ import * as i1$2 from "@angular/common";
2
2
  import { CommonModule, DOCUMENT, NgIf } from "@angular/common";
3
3
  import * as i0 from "@angular/core";
4
- import { ChangeDetectionStrategy, ChangeDetectorRef, Component, ContentChild, DOCUMENT as DOCUMENT$1, DestroyRef, Directive, EventEmitter, Host, HostBinding, HostListener, Inject, Injectable, InjectionToken, Input, NgModule, Optional, Output, Pipe, SkipSelf, ViewChild, ViewContainerRef, ViewEncapsulation, booleanAttribute, computed, inject, input, isDevMode } from "@angular/core";
4
+ import { ChangeDetectionStrategy, ChangeDetectorRef, Component, ContentChild, DestroyRef, Directive, EventEmitter, Host, HostBinding, HostListener, Inject, Injectable, InjectionToken, Input, NgModule, Optional, Output, Pipe, SkipSelf, ViewChild, ViewContainerRef, ViewEncapsulation, booleanAttribute, computed, inject, input, isDevMode, signal } from "@angular/core";
5
5
  import * as i4$1 from "@angular/forms";
6
6
  import { FormsModule, NG_VALUE_ACCESSOR, ReactiveFormsModule, UntypedFormControl, Validators } from "@angular/forms";
7
7
  import * as i9$1 from "@angular/router";
@@ -9,7 +9,7 @@ import { NavigationEnd, RouterModule } from "@angular/router";
9
9
  import * as i8 from "@posiwise/app-loader";
10
10
  import { AppLoaderModule } from "@posiwise/app-loader";
11
11
  import { CoreTranslocoModule } from "@posiwise/core-transloco";
12
- import * as i1$1 from "@posiwise/directives";
12
+ import * as i1 from "@posiwise/directives";
13
13
  import { DirectivesModule } from "@posiwise/directives";
14
14
  import * as i15 from "@posiwise/pipes";
15
15
  import { PipesModule } from "@posiwise/pipes";
@@ -40,23 +40,21 @@ import * as i2$1 from "primeng/tabs";
40
40
  import { TabsModule } from "primeng/tabs";
41
41
  import * as i10 from "primeng/tooltip";
42
42
  import { TooltipModule } from "primeng/tooltip";
43
- import * as i1$4 from "@ng-bootstrap/ng-bootstrap";
43
+ import * as i1$3 from "@ng-bootstrap/ng-bootstrap";
44
44
  import { NgbModalModule, NgbNavModule, NgbTooltipModule } from "@ng-bootstrap/ng-bootstrap";
45
- import * as i1$2 from "@posiwise/common-services";
45
+ import * as i1$1 from "@posiwise/common-services";
46
46
  import { KNOWLEDGE_EXTENSIONS, KNOWLEDGE_MAX_BYTES, PermissionService } from "@posiwise/common-services";
47
47
  import { ADMIN_ROUTERS, PAGE_SIZE, TAG_ENTITY } from "@posiwise/common-utilities";
48
- import { catchError, debounceTime, distinctUntilChanged, filter, finalize, map, switchMap, take, takeUntil } from "rxjs/operators";
49
- import * as i2$4 from "@jsverse/transloco";
48
+ import { catchError, debounceTime, distinctUntilChanged, filter, finalize, map, switchMap, take, takeUntil, tap } from "rxjs/operators";
49
+ import * as i2$3 from "@jsverse/transloco";
50
50
  import { AppBaseComponent } from "@posiwise/app-base-component";
51
- import * as i2$3 from "@posiwise/app-config-service";
51
+ import * as i2$2 from "@posiwise/app-config-service";
52
52
  import { BehaviorSubject, Subject, of, takeUntil as takeUntil$1 } from "rxjs";
53
53
  import * as i3$1 from "@ngrx/store";
54
54
  import { HelperService } from "@posiwise/helper-service";
55
55
  import { __decorate, __metadata } from "tslib";
56
56
  import { takeUntilDestroyed } from "@angular/core/rxjs-interop";
57
57
  import { StatusCodes } from "http-status-codes";
58
- import * as i2$2 from "@angular/platform-browser";
59
- import * as i1 from "@posiwise/admin-module-utils";
60
58
  import { DragDropModule } from "@angular/cdk/drag-drop";
61
59
  import * as i3 from "@fortawesome/angular-fontawesome";
62
60
  import { FontAwesomeModule } from "@fortawesome/angular-fontawesome";
@@ -128,7 +126,7 @@ var ConfirmDialogComponent = class ConfirmDialogComponent {
128
126
  version: "22.2.3",
129
127
  ngImport: i0,
130
128
  type: ConfirmDialogComponent,
131
- deps: [{ token: i1$4.NgbActiveModal }],
129
+ deps: [{ token: i1$3.NgbActiveModal }],
132
130
  target: i0.ɵɵFactoryTarget.Component
133
131
  });
134
132
  }
@@ -145,7 +143,7 @@ var ConfirmDialogComponent = class ConfirmDialogComponent {
145
143
  styles: [".pw-confirm{position:relative;padding:24px 24px 20px}.pw-confirm__header{display:flex;align-items:center;gap:12px;margin-bottom:16px}.pw-confirm__icon{display:inline-flex;align-items:center;justify-content:center;width:36px;height:36px;border-radius:9999px;font-size:16px;flex-shrink:0}.pw-confirm--info .pw-confirm__icon,.pw-confirm--neutral .pw-confirm__icon{background:#1769e11a;color:var(--first, #1769e1)}.pw-confirm__title{flex:1;margin:0;font-size:16px;font-weight:600;color:var(--titles, #222);line-height:1.3}.pw-confirm__close{flex-shrink:0}.pw-confirm__body{margin-bottom:20px}.pw-confirm__message{margin:0;color:var(--text, #222);font-size:14px;line-height:1.5}.pw-confirm__message ::ng-deep strong{font-weight:600;color:var(--titles, #222)}.pw-confirm__footer{display:flex;justify-content:flex-end;gap:8px}.pw-confirm--destructive{padding:48px 32px 32px;text-align:center}.pw-confirm--destructive .pw-confirm__header{flex-direction:column;align-items:center;gap:24px;margin-bottom:20px}.pw-confirm--destructive .pw-confirm__icon{width:80px;height:80px;font-size:36px;background:transparent;border:4px solid #dc3545;color:#dc3545}.pw-confirm--destructive .pw-confirm__title{flex:none;text-align:center;font-size:24px;font-weight:700;line-height:1.2}.pw-confirm--destructive .pw-confirm__close{display:none}.pw-confirm--destructive .pw-confirm__body{margin-bottom:28px}.pw-confirm--destructive .pw-confirm__message{text-align:center;font-size:16px;line-height:1.5}.pw-confirm--destructive .pw-confirm__footer{justify-content:center;gap:14px;margin-top:0}.pw-confirm--destructive .pw-confirm__footer .btn{min-width:96px;padding:10px 24px;font-weight:600}::ng-deep .pw-confirm-modal .modal-content{border-radius:12px;border:1px solid #e2e5ea;box-shadow:0 10px 30px #1018281f;overflow:hidden}\n"],
146
144
  dependencies: [{
147
145
  kind: "pipe",
148
- type: i2$4.TranslocoPipe,
146
+ type: i2$3.TranslocoPipe,
149
147
  name: "transloco"
150
148
  }]
151
149
  });
@@ -165,7 +163,7 @@ i0.ɵɵngDeclareClassMetadata({
165
163
  styles: [".pw-confirm{position:relative;padding:24px 24px 20px}.pw-confirm__header{display:flex;align-items:center;gap:12px;margin-bottom:16px}.pw-confirm__icon{display:inline-flex;align-items:center;justify-content:center;width:36px;height:36px;border-radius:9999px;font-size:16px;flex-shrink:0}.pw-confirm--info .pw-confirm__icon,.pw-confirm--neutral .pw-confirm__icon{background:#1769e11a;color:var(--first, #1769e1)}.pw-confirm__title{flex:1;margin:0;font-size:16px;font-weight:600;color:var(--titles, #222);line-height:1.3}.pw-confirm__close{flex-shrink:0}.pw-confirm__body{margin-bottom:20px}.pw-confirm__message{margin:0;color:var(--text, #222);font-size:14px;line-height:1.5}.pw-confirm__message ::ng-deep strong{font-weight:600;color:var(--titles, #222)}.pw-confirm__footer{display:flex;justify-content:flex-end;gap:8px}.pw-confirm--destructive{padding:48px 32px 32px;text-align:center}.pw-confirm--destructive .pw-confirm__header{flex-direction:column;align-items:center;gap:24px;margin-bottom:20px}.pw-confirm--destructive .pw-confirm__icon{width:80px;height:80px;font-size:36px;background:transparent;border:4px solid #dc3545;color:#dc3545}.pw-confirm--destructive .pw-confirm__title{flex:none;text-align:center;font-size:24px;font-weight:700;line-height:1.2}.pw-confirm--destructive .pw-confirm__close{display:none}.pw-confirm--destructive .pw-confirm__body{margin-bottom:28px}.pw-confirm--destructive .pw-confirm__message{text-align:center;font-size:16px;line-height:1.5}.pw-confirm--destructive .pw-confirm__footer{justify-content:center;gap:14px;margin-top:0}.pw-confirm--destructive .pw-confirm__footer .btn{min-width:96px;padding:10px 24px;font-weight:600}::ng-deep .pw-confirm-modal .modal-content{border-radius:12px;border:1px solid #e2e5ea;box-shadow:0 10px 30px #1018281f;overflow:hidden}\n"]
166
164
  }]
167
165
  }],
168
- ctorParameters: () => [{ type: i1$4.NgbActiveModal }],
166
+ ctorParameters: () => [{ type: i1$3.NgbActiveModal }],
169
167
  propDecorators: { config: [{ type: Input }] }
170
168
  });
171
169
  var ConfirmDialogService = class ConfirmDialogService {
@@ -197,7 +195,7 @@ var ConfirmDialogService = class ConfirmDialogService {
197
195
  version: "22.2.3",
198
196
  ngImport: i0,
199
197
  type: ConfirmDialogService,
200
- deps: [{ token: i1$4.NgbModal }],
198
+ deps: [{ token: i1$3.NgbModal }],
201
199
  target: i0.ɵɵFactoryTarget.Injectable
202
200
  });
203
201
  }
@@ -220,7 +218,7 @@ i0.ɵɵngDeclareClassMetadata({
220
218
  type: Injectable,
221
219
  args: [{ providedIn: "root" }]
222
220
  }],
223
- ctorParameters: () => [{ type: i1$4.NgbModal }]
221
+ ctorParameters: () => [{ type: i1$3.NgbModal }]
224
222
  });
225
223
  function folderOf(file) {
226
224
  const slash = file.path.lastIndexOf("/");
@@ -323,7 +321,7 @@ var NoDataComponent = class NoDataComponent {
323
321
  styles: ["@charset \"UTF-8\";:root{--first: rgb(23 105 225);--second: rgb(54 194 131);--third: rgb(255 171 0);--text: rgb(34 34 34);--tabs_bg: rgb(23 105 225);--tabs_sub_bg: color-mix(in srgb, var(--first, rgb(23 105 225)) 85%, #000000);--tabs_text: rgb(255 255 255);--titles: rgb(34 34 34);--sidebar_bg: rgb(0, 48, 63);--sidebar_text: rgb(255 255 255);--dashboard_bg: rgb(255 255 255);--public-btn-radius: 24px}.no-data{display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;width:100%;height:100%;border:1px dashed rgb(204,204,204);border-radius:4px;margin:20px 0;padding:10px;background:#fafafa!important;color:oklch(from var(--text) 40% c h)!important}.no-data .message{font-weight:500;font-size:15px;color:#5a6473!important}.no-data.has-content{padding-top:10px;padding-bottom:20px}.no-data .no-data-icon{margin-top:15px;font-size:44px;line-height:1;color:#a8afbc}\n"],
324
322
  dependencies: [{
325
323
  kind: "directive",
326
- type: i1$3.NgClass,
324
+ type: i1$2.NgClass,
327
325
  selector: "[ngClass]",
328
326
  inputs: ["class", "ngClass"]
329
327
  }]
@@ -407,7 +405,7 @@ var RecordsSummaryComponent = class RecordsSummaryComponent {
407
405
  isInline: true,
408
406
  dependencies: [{
409
407
  kind: "pipe",
410
- type: i2$4.TranslocoPipe,
408
+ type: i2$3.TranslocoPipe,
411
409
  name: "transloco"
412
410
  }]
413
411
  });
@@ -538,10 +536,10 @@ var AiKnowledgeComponent = class AiKnowledgeComponent {
538
536
  ngImport: i0,
539
537
  type: AiKnowledgeComponent,
540
538
  deps: [
541
- { token: i1$2.KnowledgeFilesService },
539
+ { token: i1$1.KnowledgeFilesService },
542
540
  { token: ConfirmDialogService },
543
- { token: i1$2.CustomToastService },
544
- { token: i2$4.TranslocoService },
541
+ { token: i1$1.CustomToastService },
542
+ { token: i2$3.TranslocoService },
545
543
  { token: i0.ChangeDetectorRef }
546
544
  ],
547
545
  target: i0.ɵɵFactoryTarget.Component
@@ -801,7 +799,7 @@ var AiKnowledgeComponent = class AiKnowledgeComponent {
801
799
  },
802
800
  {
803
801
  kind: "directive",
804
- type: i1$3.NgClass,
802
+ type: i1$2.NgClass,
805
803
  selector: "[ngClass]",
806
804
  inputs: ["class", "ngClass"]
807
805
  },
@@ -823,7 +821,7 @@ var AiKnowledgeComponent = class AiKnowledgeComponent {
823
821
  },
824
822
  {
825
823
  kind: "pipe",
826
- type: i2$4.TranslocoPipe,
824
+ type: i2$3.TranslocoPipe,
827
825
  name: "transloco"
828
826
  },
829
827
  {
@@ -850,10 +848,10 @@ i0.ɵɵngDeclareClassMetadata({
850
848
  }]
851
849
  }],
852
850
  ctorParameters: () => [
853
- { type: i1$2.KnowledgeFilesService },
851
+ { type: i1$1.KnowledgeFilesService },
854
852
  { type: ConfirmDialogService },
855
- { type: i1$2.CustomToastService },
856
- { type: i2$4.TranslocoService },
853
+ { type: i1$1.CustomToastService },
854
+ { type: i2$3.TranslocoService },
857
855
  { type: i0.ChangeDetectorRef }
858
856
  ],
859
857
  propDecorators: {
@@ -904,7 +902,7 @@ var AuthenticatorComponent = class AuthenticatorComponent extends AppBaseCompone
904
902
  ngImport: i0,
905
903
  type: AuthenticatorComponent,
906
904
  deps: [
907
- { token: i1$2.AuthService },
905
+ { token: i1$1.AuthService },
908
906
  { token: i0.Injector },
909
907
  { token: i0.ChangeDetectorRef }
910
908
  ],
@@ -938,7 +936,7 @@ i0.ɵɵngDeclareClassMetadata({
938
936
  }]
939
937
  }],
940
938
  ctorParameters: () => [
941
- { type: i1$2.AuthService },
939
+ { type: i1$1.AuthService },
942
940
  { type: i0.Injector },
943
941
  { type: i0.ChangeDetectorRef }
944
942
  ]
@@ -1929,7 +1927,7 @@ var PwBrainChatQuickComponent = class PwBrainChatQuickComponent {
1929
1927
  version: "22.2.3",
1930
1928
  ngImport: i0,
1931
1929
  type: PwBrainChatQuickComponent,
1932
- deps: [{ token: i1$2.PermissionService }, {
1930
+ deps: [{ token: i1$1.PermissionService }, {
1933
1931
  token: BRAIN_CHAT_PRODUCT_PROMPTS,
1934
1932
  optional: true
1935
1933
  }],
@@ -1958,7 +1956,7 @@ var PwBrainChatQuickComponent = class PwBrainChatQuickComponent {
1958
1956
  styles: [".pw-brain-chat__welcome{flex:1 1 auto;overflow-y:auto;padding:22px 0 10px;display:flex;flex-direction:column;gap:16px}.pw-brain-chat__hero{width:44px;height:44px;border-radius:12px;display:grid;place-items:center;font-size:22px;color:#fff;background:var(--bc-accent);box-shadow:inset 0 1px #ffffff40}.pw-brain-chat__greet-h{font-size:20px;font-weight:600;letter-spacing:-.02em;margin:12px 0 4px;color:var(--bc-title)}.pw-brain-chat__greet-sub{font-size:14px;color:var(--bc-ink-2);margin:0}.pw-brain-chat__suggest-lab{font-size:11px;text-transform:uppercase;letter-spacing:.11em;color:var(--bc-ink-3);font-weight:600;margin:6px 0 -4px 2px}.pw-brain-chat__prompts{display:flex;flex-direction:column;gap:9px}.pw-brain-chat__prompt{display:flex;align-items:center;gap:11px;width:100%;text-align:left;padding:12px;border-radius:var(--bc-r-md);cursor:pointer;background:var(--bc-panel);border:1px solid var(--bc-line);color:var(--bc-ink);font:inherit;font-size:14px;font-weight:500;transition:border-color .15s var(--bc-ease),background .15s var(--bc-ease)}.pw-brain-chat__prompt:hover{border-color:var(--bc-line-strong);background:var(--bc-surface)}.pw-brain-chat__prompt:focus-visible{outline:2px solid var(--bc-accent);outline-offset:2px}.pw-brain-chat__pic{width:28px;height:28px;border-radius:7px;flex:none;display:grid;place-items:center;background:var(--bc-surface-2);border:1px solid var(--bc-line);color:var(--bc-ink-2)}.pw-brain-chat__pic i{font-size:14px}.pw-brain-chat__prompt-text{flex:1;min-width:0}.pw-brain-chat__arw{margin-left:auto;color:var(--bc-ink-3);font-size:13px}.pw-brain-chat__prompt:hover .pw-brain-chat__arw{color:var(--bc-accent)}.pw-brain-chat__quick{display:flex;gap:7px;margin-bottom:9px;overflow-x:auto;scrollbar-width:none}.pw-brain-chat__quick::-webkit-scrollbar{display:none}.pw-brain-chat__chip{display:inline-flex;align-items:center;gap:6px;white-space:nowrap;flex:none;font:inherit;font-size:12px;font-weight:500;cursor:pointer;padding:6px 11px;border-radius:9999px;background:var(--bc-surface);border:1px solid var(--bc-line);color:var(--bc-ink-2);transition:border-color .15s var(--bc-ease),color .15s var(--bc-ease)}.pw-brain-chat__chip:hover{color:var(--bc-ink);border-color:var(--bc-line-strong)}.pw-brain-chat__chip:focus-visible{outline:2px solid var(--bc-accent);outline-offset:2px}.pw-brain-chat__chip i{font-size:11px;color:var(--bc-ink-3)}.pw-brain-chat__memory{display:inline-flex;align-items:center;gap:8px;align-self:flex-start;padding:7px 11px;border-radius:9999px;background:var(--bc-surface);border:1px solid var(--bc-line);font-size:12px;color:var(--bc-ink-2)}.pw-brain-chat__memory i{color:var(--bc-success);font-size:12px}.pw-brain-chat__memory .lbl{text-transform:uppercase;letter-spacing:.08em;font-size:10px;font-weight:600;color:var(--bc-ink-3)}\n"],
1959
1957
  dependencies: [{
1960
1958
  kind: "directive",
1961
- type: i1$3.NgClass,
1959
+ type: i1$2.NgClass,
1962
1960
  selector: "[ngClass]",
1963
1961
  inputs: ["class", "ngClass"]
1964
1962
  }],
@@ -1989,7 +1987,7 @@ i0.ɵɵngDeclareClassMetadata({
1989
1987
  styles: [".pw-brain-chat__welcome{flex:1 1 auto;overflow-y:auto;padding:22px 0 10px;display:flex;flex-direction:column;gap:16px}.pw-brain-chat__hero{width:44px;height:44px;border-radius:12px;display:grid;place-items:center;font-size:22px;color:#fff;background:var(--bc-accent);box-shadow:inset 0 1px #ffffff40}.pw-brain-chat__greet-h{font-size:20px;font-weight:600;letter-spacing:-.02em;margin:12px 0 4px;color:var(--bc-title)}.pw-brain-chat__greet-sub{font-size:14px;color:var(--bc-ink-2);margin:0}.pw-brain-chat__suggest-lab{font-size:11px;text-transform:uppercase;letter-spacing:.11em;color:var(--bc-ink-3);font-weight:600;margin:6px 0 -4px 2px}.pw-brain-chat__prompts{display:flex;flex-direction:column;gap:9px}.pw-brain-chat__prompt{display:flex;align-items:center;gap:11px;width:100%;text-align:left;padding:12px;border-radius:var(--bc-r-md);cursor:pointer;background:var(--bc-panel);border:1px solid var(--bc-line);color:var(--bc-ink);font:inherit;font-size:14px;font-weight:500;transition:border-color .15s var(--bc-ease),background .15s var(--bc-ease)}.pw-brain-chat__prompt:hover{border-color:var(--bc-line-strong);background:var(--bc-surface)}.pw-brain-chat__prompt:focus-visible{outline:2px solid var(--bc-accent);outline-offset:2px}.pw-brain-chat__pic{width:28px;height:28px;border-radius:7px;flex:none;display:grid;place-items:center;background:var(--bc-surface-2);border:1px solid var(--bc-line);color:var(--bc-ink-2)}.pw-brain-chat__pic i{font-size:14px}.pw-brain-chat__prompt-text{flex:1;min-width:0}.pw-brain-chat__arw{margin-left:auto;color:var(--bc-ink-3);font-size:13px}.pw-brain-chat__prompt:hover .pw-brain-chat__arw{color:var(--bc-accent)}.pw-brain-chat__quick{display:flex;gap:7px;margin-bottom:9px;overflow-x:auto;scrollbar-width:none}.pw-brain-chat__quick::-webkit-scrollbar{display:none}.pw-brain-chat__chip{display:inline-flex;align-items:center;gap:6px;white-space:nowrap;flex:none;font:inherit;font-size:12px;font-weight:500;cursor:pointer;padding:6px 11px;border-radius:9999px;background:var(--bc-surface);border:1px solid var(--bc-line);color:var(--bc-ink-2);transition:border-color .15s var(--bc-ease),color .15s var(--bc-ease)}.pw-brain-chat__chip:hover{color:var(--bc-ink);border-color:var(--bc-line-strong)}.pw-brain-chat__chip:focus-visible{outline:2px solid var(--bc-accent);outline-offset:2px}.pw-brain-chat__chip i{font-size:11px;color:var(--bc-ink-3)}.pw-brain-chat__memory{display:inline-flex;align-items:center;gap:8px;align-self:flex-start;padding:7px 11px;border-radius:9999px;background:var(--bc-surface);border:1px solid var(--bc-line);font-size:12px;color:var(--bc-ink-2)}.pw-brain-chat__memory i{color:var(--bc-success);font-size:12px}.pw-brain-chat__memory .lbl{text-transform:uppercase;letter-spacing:.08em;font-size:10px;font-weight:600;color:var(--bc-ink-3)}\n"]
1990
1988
  }]
1991
1989
  }],
1992
- ctorParameters: () => [{ type: i1$2.PermissionService }, {
1990
+ ctorParameters: () => [{ type: i1$1.PermissionService }, {
1993
1991
  type: void 0,
1994
1992
  decorators: [{ type: Optional }, {
1995
1993
  type: Inject,
@@ -2017,7 +2015,7 @@ var PwBrainChatWelcomeComponent = class PwBrainChatWelcomeComponent {
2017
2015
  version: "22.2.3",
2018
2016
  ngImport: i0,
2019
2017
  type: PwBrainChatWelcomeComponent,
2020
- deps: [{ token: i1$2.PermissionService }, {
2018
+ deps: [{ token: i1$1.PermissionService }, {
2021
2019
  token: BRAIN_CHAT_PRODUCT_PROMPTS,
2022
2020
  optional: true
2023
2021
  }],
@@ -2041,7 +2039,7 @@ var PwBrainChatWelcomeComponent = class PwBrainChatWelcomeComponent {
2041
2039
  styles: [".pw-brain-chat__welcome{flex:1 1 auto;overflow-y:auto;padding:22px 0 10px;display:flex;flex-direction:column;gap:16px}.pw-brain-chat__hero{width:44px;height:44px;border-radius:12px;display:grid;place-items:center;font-size:22px;color:#fff;background:var(--bc-accent);box-shadow:inset 0 1px #ffffff40}.pw-brain-chat__greet-h{font-size:20px;font-weight:600;letter-spacing:-.02em;margin:12px 0 4px;color:var(--bc-title)}.pw-brain-chat__greet-sub{font-size:14px;color:var(--bc-ink-2);margin:0}.pw-brain-chat__suggest-lab{font-size:11px;text-transform:uppercase;letter-spacing:.11em;color:var(--bc-ink-3);font-weight:600;margin:6px 0 -4px 2px}.pw-brain-chat__prompts{display:flex;flex-direction:column;gap:9px}.pw-brain-chat__prompt{display:flex;align-items:center;gap:11px;width:100%;text-align:left;padding:12px;border-radius:var(--bc-r-md);cursor:pointer;background:var(--bc-panel);border:1px solid var(--bc-line);color:var(--bc-ink);font:inherit;font-size:14px;font-weight:500;transition:border-color .15s var(--bc-ease),background .15s var(--bc-ease)}.pw-brain-chat__prompt:hover{border-color:var(--bc-line-strong);background:var(--bc-surface)}.pw-brain-chat__prompt:focus-visible{outline:2px solid var(--bc-accent);outline-offset:2px}.pw-brain-chat__pic{width:28px;height:28px;border-radius:7px;flex:none;display:grid;place-items:center;background:var(--bc-surface-2);border:1px solid var(--bc-line);color:var(--bc-ink-2)}.pw-brain-chat__pic i{font-size:14px}.pw-brain-chat__prompt-text{flex:1;min-width:0}.pw-brain-chat__arw{margin-left:auto;color:var(--bc-ink-3);font-size:13px}.pw-brain-chat__prompt:hover .pw-brain-chat__arw{color:var(--bc-accent)}.pw-brain-chat__quick{display:flex;gap:7px;margin-bottom:9px;overflow-x:auto;scrollbar-width:none}.pw-brain-chat__quick::-webkit-scrollbar{display:none}.pw-brain-chat__chip{display:inline-flex;align-items:center;gap:6px;white-space:nowrap;flex:none;font:inherit;font-size:12px;font-weight:500;cursor:pointer;padding:6px 11px;border-radius:9999px;background:var(--bc-surface);border:1px solid var(--bc-line);color:var(--bc-ink-2);transition:border-color .15s var(--bc-ease),color .15s var(--bc-ease)}.pw-brain-chat__chip:hover{color:var(--bc-ink);border-color:var(--bc-line-strong)}.pw-brain-chat__chip:focus-visible{outline:2px solid var(--bc-accent);outline-offset:2px}.pw-brain-chat__chip i{font-size:11px;color:var(--bc-ink-3)}.pw-brain-chat__memory{display:inline-flex;align-items:center;gap:8px;align-self:flex-start;padding:7px 11px;border-radius:9999px;background:var(--bc-surface);border:1px solid var(--bc-line);font-size:12px;color:var(--bc-ink-2)}.pw-brain-chat__memory i{color:var(--bc-success);font-size:12px}.pw-brain-chat__memory .lbl{text-transform:uppercase;letter-spacing:.08em;font-size:10px;font-weight:600;color:var(--bc-ink-3)}\n"],
2042
2040
  dependencies: [{
2043
2041
  kind: "directive",
2044
- type: i1$3.NgClass,
2042
+ type: i1$2.NgClass,
2045
2043
  selector: "[ngClass]",
2046
2044
  inputs: ["class", "ngClass"]
2047
2045
  }],
@@ -2064,7 +2062,7 @@ i0.ɵɵngDeclareClassMetadata({
2064
2062
  styles: [".pw-brain-chat__welcome{flex:1 1 auto;overflow-y:auto;padding:22px 0 10px;display:flex;flex-direction:column;gap:16px}.pw-brain-chat__hero{width:44px;height:44px;border-radius:12px;display:grid;place-items:center;font-size:22px;color:#fff;background:var(--bc-accent);box-shadow:inset 0 1px #ffffff40}.pw-brain-chat__greet-h{font-size:20px;font-weight:600;letter-spacing:-.02em;margin:12px 0 4px;color:var(--bc-title)}.pw-brain-chat__greet-sub{font-size:14px;color:var(--bc-ink-2);margin:0}.pw-brain-chat__suggest-lab{font-size:11px;text-transform:uppercase;letter-spacing:.11em;color:var(--bc-ink-3);font-weight:600;margin:6px 0 -4px 2px}.pw-brain-chat__prompts{display:flex;flex-direction:column;gap:9px}.pw-brain-chat__prompt{display:flex;align-items:center;gap:11px;width:100%;text-align:left;padding:12px;border-radius:var(--bc-r-md);cursor:pointer;background:var(--bc-panel);border:1px solid var(--bc-line);color:var(--bc-ink);font:inherit;font-size:14px;font-weight:500;transition:border-color .15s var(--bc-ease),background .15s var(--bc-ease)}.pw-brain-chat__prompt:hover{border-color:var(--bc-line-strong);background:var(--bc-surface)}.pw-brain-chat__prompt:focus-visible{outline:2px solid var(--bc-accent);outline-offset:2px}.pw-brain-chat__pic{width:28px;height:28px;border-radius:7px;flex:none;display:grid;place-items:center;background:var(--bc-surface-2);border:1px solid var(--bc-line);color:var(--bc-ink-2)}.pw-brain-chat__pic i{font-size:14px}.pw-brain-chat__prompt-text{flex:1;min-width:0}.pw-brain-chat__arw{margin-left:auto;color:var(--bc-ink-3);font-size:13px}.pw-brain-chat__prompt:hover .pw-brain-chat__arw{color:var(--bc-accent)}.pw-brain-chat__quick{display:flex;gap:7px;margin-bottom:9px;overflow-x:auto;scrollbar-width:none}.pw-brain-chat__quick::-webkit-scrollbar{display:none}.pw-brain-chat__chip{display:inline-flex;align-items:center;gap:6px;white-space:nowrap;flex:none;font:inherit;font-size:12px;font-weight:500;cursor:pointer;padding:6px 11px;border-radius:9999px;background:var(--bc-surface);border:1px solid var(--bc-line);color:var(--bc-ink-2);transition:border-color .15s var(--bc-ease),color .15s var(--bc-ease)}.pw-brain-chat__chip:hover{color:var(--bc-ink);border-color:var(--bc-line-strong)}.pw-brain-chat__chip:focus-visible{outline:2px solid var(--bc-accent);outline-offset:2px}.pw-brain-chat__chip i{font-size:11px;color:var(--bc-ink-3)}.pw-brain-chat__memory{display:inline-flex;align-items:center;gap:8px;align-self:flex-start;padding:7px 11px;border-radius:9999px;background:var(--bc-surface);border:1px solid var(--bc-line);font-size:12px;color:var(--bc-ink-2)}.pw-brain-chat__memory i{color:var(--bc-success);font-size:12px}.pw-brain-chat__memory .lbl{text-transform:uppercase;letter-spacing:.08em;font-size:10px;font-weight:600;color:var(--bc-ink-3)}\n"]
2065
2063
  }]
2066
2064
  }],
2067
- ctorParameters: () => [{ type: i1$2.PermissionService }, {
2065
+ ctorParameters: () => [{ type: i1$1.PermissionService }, {
2068
2066
  type: void 0,
2069
2067
  decorators: [{ type: Optional }, {
2070
2068
  type: Inject,
@@ -2545,7 +2543,7 @@ var PwBrainChatVoiceOverlayComponent = class PwBrainChatVoiceOverlayComponent {
2545
2543
  styles: [".pw-vo{position:absolute;inset:0;z-index:20;display:grid;place-items:center;padding:18px;background:color-mix(in srgb,#12151a 40%,transparent);animation:pw-vo-in .2s ease}.pw-vo__panel{width:100%;max-width:340px;background:var(--bc-panel, #fff);border:1px solid var(--bc-line, #e2e5ea);border-radius:18px;box-shadow:0 20px 50px -18px #1018286b;padding:20px 18px 16px;text-align:center}.pw-vo__head{display:flex;justify-content:center;margin-bottom:2px}.pw-vo__kicker{display:inline-flex;align-items:center;gap:7px;font-size:10.5px;letter-spacing:.12em;text-transform:uppercase;color:var(--bc-ink-3, #7c8696);font-weight:600}.pw-vo__live{width:7px;height:7px;border-radius:50%;background:var(--bc-accent, #1769e1);animation:pw-vo-pulse 1.8s ease-out infinite}.pw-vo__live--err{background:var(--bc-error, #c0392b)}.pw-vo__sonar{position:relative;width:250px;height:250px;margin:8px auto 2px}.pw-vo__dial{position:absolute;inset:0;width:250px;height:250px}.pw-vo__core{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:58px;height:58px;border-radius:50%;background:var(--bc-panel, #fff);border:1px solid var(--bc-line, #e2e5ea);display:grid;place-items:center;box-shadow:0 6px 18px -8px #10182866}.pw-vo__core i{font-size:21px;color:var(--bc-accent, #1769e1)}.pw-vo__core-i--err{color:var(--bc-error, #c0392b)!important}.pw-vo__label{font-size:19px;font-weight:600;letter-spacing:-.01em;line-height:1.25;margin-top:4px;min-height:24px;color:var(--bc-ink, #1a1d21)}.pw-vo__label--err{color:var(--bc-error, #c0392b)}.pw-vo__transcript{font-size:13px;line-height:1.5;color:var(--bc-ink-2, #5a6473);margin:8px auto 0;max-width:300px}.pw-vo__reply{font-size:13px;line-height:1.5;color:var(--bc-ink-2, #5a6473);margin:8px auto 0;max-width:300px;max-height:76px;overflow-y:auto}.pw-vo__actions{margin-top:16px;display:flex;flex-direction:column;align-items:center;gap:8px}.pw-vo__end{display:inline-flex;align-items:center;gap:9px;height:42px;padding:0 24px;border-radius:999px;border:0;cursor:pointer;font-size:14px;font-weight:600;color:var(--bc-panel, #fff);background:var(--bc-ink, #1a1d21);transition:filter .18s ease,transform .12s ease}.pw-vo__end i{font-size:13px}.pw-vo__end:hover{filter:brightness(1.12)}.pw-vo__end:active{transform:scale(.97)}.pw-vo__end--err{background:var(--bc-error, #c0392b);color:#fff}.pw-vo__hint{font-size:11.5px;color:var(--bc-ink-3, #7c8696)}@keyframes pw-vo-in{0%{opacity:0}}@keyframes pw-vo-pulse{0%{box-shadow:0 0 color-mix(in srgb,var(--bc-accent, #1769e1) 55%,transparent)}70%,to{box-shadow:0 0 0 6px transparent}}@media(prefers-reduced-motion:reduce){.pw-vo,.pw-vo__live{animation:none!important}}\n", ".pw-vo__steps{display:flex;align-items:center;justify-content:center;margin:14px auto 4px}.pw-vo__step{display:flex;align-items:center}.pw-vo__dot{position:relative;width:9px;height:9px;border-radius:50%;background:var(--bc-line-strong, #cfd4dc);transition:background .3s ease,transform .3s ease}.pw-vo__seg{width:20px;height:2px;background:var(--bc-line-strong, #cfd4dc);transition:background .3s ease}.pw-vo__seg.is-done,.pw-vo__step.is-done .pw-vo__dot{background:var(--bc-accent, #1769e1)}.pw-vo__step.is-active .pw-vo__dot{background:var(--bc-accent, #1769e1);transform:scale(1.35)}.pw-vo__step.is-active .pw-vo__dot:after{content:\"\";position:absolute;inset:-5px;border-radius:50%;border:1.5px solid var(--bc-accent, #1769e1);opacity:.5;animation:pw-vo-step 1.4s ease-out infinite}.pw-vo__step-cap{font-size:10.5px;letter-spacing:.06em;text-transform:uppercase;color:var(--bc-ink-3, #7c8696);font-weight:600;margin-top:2px}@keyframes pw-vo-step{0%{transform:scale(.55);opacity:.7}to{transform:scale(1.15);opacity:0}}@media(prefers-reduced-motion:reduce){.pw-vo__step.is-active .pw-vo__dot:after{animation:none!important}}\n"],
2546
2544
  dependencies: [{
2547
2545
  kind: "directive",
2548
- type: i1$3.NgClass,
2546
+ type: i1$2.NgClass,
2549
2547
  selector: "[ngClass]",
2550
2548
  inputs: ["class", "ngClass"]
2551
2549
  }]
@@ -2768,7 +2766,7 @@ var SafeMarkdownPipe = class SafeMarkdownPipe {
2768
2766
  version: "22.2.3",
2769
2767
  ngImport: i0,
2770
2768
  type: SafeMarkdownPipe,
2771
- deps: [{ token: i1$2.NavigationIndexService }, { token: i2$3.AppConfigService }],
2769
+ deps: [{ token: i1$1.NavigationIndexService }, { token: i2$2.AppConfigService }],
2772
2770
  target: i0.ɵɵFactoryTarget.Pipe
2773
2771
  });
2774
2772
  }
@@ -2792,7 +2790,7 @@ i0.ɵɵngDeclareClassMetadata({
2792
2790
  type: Pipe,
2793
2791
  args: [{ name: "safeMarkdown" }]
2794
2792
  }],
2795
- ctorParameters: () => [{ type: i1$2.NavigationIndexService }, { type: i2$3.AppConfigService }]
2793
+ ctorParameters: () => [{ type: i1$1.NavigationIndexService }, { type: i2$2.AppConfigService }]
2796
2794
  });
2797
2795
  var PwBrainChatComponent = class PwBrainChatComponent {
2798
2796
  constructor(orchestrator, localStorage, router, cdr, store, dynamicPageCtx, appConfigService, brainSocket, brainVoice, voiceChatService, directUpload, uploadApis) {
@@ -3036,30 +3034,30 @@ var PwBrainChatComponent = class PwBrainChatComponent {
3036
3034
  ngImport: i0,
3037
3035
  type: PwBrainChatComponent,
3038
3036
  deps: [
3039
- { token: i1$2.MCPOrchestratorService },
3040
- { token: i1$2.LocalStorage },
3037
+ { token: i1$1.MCPOrchestratorService },
3038
+ { token: i1$1.LocalStorage },
3041
3039
  { token: i9$1.Router },
3042
3040
  { token: i0.ChangeDetectorRef },
3043
3041
  { token: i3$1.Store },
3044
3042
  { token: DynamicPageContextService },
3045
3043
  {
3046
- token: i2$3.AppConfigService,
3044
+ token: i2$2.AppConfigService,
3047
3045
  optional: true
3048
3046
  },
3049
3047
  {
3050
- token: i1$2.BrainSocketService,
3048
+ token: i1$1.BrainSocketService,
3051
3049
  optional: true
3052
3050
  },
3053
3051
  {
3054
- token: i1$2.BrainVoiceService,
3052
+ token: i1$1.BrainVoiceService,
3055
3053
  optional: true
3056
3054
  },
3057
3055
  {
3058
- token: i1$2.VoiceChatService,
3056
+ token: i1$1.VoiceChatService,
3059
3057
  optional: true
3060
3058
  },
3061
3059
  {
3062
- token: i1$2.DirectUploadService,
3060
+ token: i1$1.DirectUploadService,
3063
3061
  optional: true
3064
3062
  },
3065
3063
  {
@@ -3119,7 +3117,7 @@ var PwBrainChatComponent = class PwBrainChatComponent {
3119
3117
  },
3120
3118
  {
3121
3119
  kind: "directive",
3122
- type: i1$4.NgbTooltip,
3120
+ type: i1$3.NgbTooltip,
3123
3121
  selector: "[ngbTooltip]",
3124
3122
  inputs: [
3125
3123
  "animation",
@@ -3141,7 +3139,7 @@ var PwBrainChatComponent = class PwBrainChatComponent {
3141
3139
  },
3142
3140
  {
3143
3141
  kind: "directive",
3144
- type: i1$3.NgClass,
3142
+ type: i1$2.NgClass,
3145
3143
  selector: "[ngClass]",
3146
3144
  inputs: ["class", "ngClass"]
3147
3145
  },
@@ -3179,7 +3177,7 @@ var PwBrainChatComponent = class PwBrainChatComponent {
3179
3177
  },
3180
3178
  {
3181
3179
  kind: "pipe",
3182
- type: i1$3.DatePipe,
3180
+ type: i1$2.DatePipe,
3183
3181
  name: "date"
3184
3182
  },
3185
3183
  {
@@ -3215,30 +3213,30 @@ i0.ɵɵngDeclareClassMetadata({
3215
3213
  }]
3216
3214
  }],
3217
3215
  ctorParameters: () => [
3218
- { type: i1$2.MCPOrchestratorService },
3219
- { type: i1$2.LocalStorage },
3216
+ { type: i1$1.MCPOrchestratorService },
3217
+ { type: i1$1.LocalStorage },
3220
3218
  { type: i9$1.Router },
3221
3219
  { type: i0.ChangeDetectorRef },
3222
3220
  { type: i3$1.Store },
3223
3221
  { type: DynamicPageContextService },
3224
3222
  {
3225
- type: i2$3.AppConfigService,
3223
+ type: i2$2.AppConfigService,
3226
3224
  decorators: [{ type: Optional }]
3227
3225
  },
3228
3226
  {
3229
- type: i1$2.BrainSocketService,
3227
+ type: i1$1.BrainSocketService,
3230
3228
  decorators: [{ type: Optional }]
3231
3229
  },
3232
3230
  {
3233
- type: i1$2.BrainVoiceService,
3231
+ type: i1$1.BrainVoiceService,
3234
3232
  decorators: [{ type: Optional }]
3235
3233
  },
3236
3234
  {
3237
- type: i1$2.VoiceChatService,
3235
+ type: i1$1.VoiceChatService,
3238
3236
  decorators: [{ type: Optional }]
3239
3237
  },
3240
3238
  {
3241
- type: i1$2.DirectUploadService,
3239
+ type: i1$1.DirectUploadService,
3242
3240
  decorators: [{ type: Optional }]
3243
3241
  },
3244
3242
  {
@@ -3360,11 +3358,11 @@ var ClearBitIconComponent = class ClearBitIconComponent {
3360
3358
  styles: [".company-monogram{display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;font-family:Roboto,sans-serif;font-weight:600;line-height:1;letter-spacing:.2px;text-transform:uppercase;-webkit-user-select:none;user-select:none;vertical-align:middle;overflow:hidden}\n"],
3361
3359
  dependencies: [{
3362
3360
  kind: "directive",
3363
- type: i1$1.LazyImgDirective,
3361
+ type: i1.LazyImgDirective,
3364
3362
  selector: "img"
3365
3363
  }, {
3366
3364
  kind: "directive",
3367
- type: i1$3.NgClass,
3365
+ type: i1$2.NgClass,
3368
3366
  selector: "[ngClass]",
3369
3367
  inputs: ["class", "ngClass"]
3370
3368
  }]
@@ -3684,7 +3682,7 @@ var CollapsibleSidebarComponent = class CollapsibleSidebarComponent {
3684
3682
  { token: i0.ChangeDetectorRef },
3685
3683
  { token: DOCUMENT },
3686
3684
  {
3687
- token: i2$3.AppConfigService,
3685
+ token: i2$2.AppConfigService,
3688
3686
  optional: true
3689
3687
  }
3690
3688
  ],
@@ -3720,7 +3718,7 @@ var CollapsibleSidebarComponent = class CollapsibleSidebarComponent {
3720
3718
  ],
3721
3719
  dependencies: [{
3722
3720
  kind: "pipe",
3723
- type: i2$4.TranslocoPipe,
3721
+ type: i2$3.TranslocoPipe,
3724
3722
  name: "transloco"
3725
3723
  }],
3726
3724
  changeDetection: i0.ChangeDetectionStrategy.OnPush
@@ -3759,7 +3757,7 @@ i0.ɵɵngDeclareClassMetadata({
3759
3757
  }]
3760
3758
  },
3761
3759
  {
3762
- type: i2$3.AppConfigService,
3760
+ type: i2$2.AppConfigService,
3763
3761
  decorators: [{ type: Optional }]
3764
3762
  }
3765
3763
  ],
@@ -4331,19 +4329,19 @@ var CommandPaletteComponent = class CommandPaletteComponent {
4331
4329
  type: CommandPaletteComponent,
4332
4330
  deps: [
4333
4331
  { token: CommandPaletteService },
4334
- { token: i1$2.NavigationIndexService },
4335
- { token: i1$2.DashboardService },
4336
- { token: i1$2.RecentPagesService },
4332
+ { token: i1$1.NavigationIndexService },
4333
+ { token: i1$1.DashboardService },
4334
+ { token: i1$1.RecentPagesService },
4337
4335
  { token: CollapsibleSidebarService },
4338
4336
  { token: i9$1.Router },
4339
- { token: i2$4.TranslocoService },
4337
+ { token: i2$3.TranslocoService },
4340
4338
  { token: i0.ChangeDetectorRef },
4341
4339
  {
4342
- token: i2$3.AppConfigService,
4340
+ token: i2$2.AppConfigService,
4343
4341
  optional: true
4344
4342
  },
4345
4343
  {
4346
- token: i1$2.CustomToastService,
4344
+ token: i1$1.CustomToastService,
4347
4345
  optional: true
4348
4346
  }
4349
4347
  ],
@@ -4374,12 +4372,12 @@ var CommandPaletteComponent = class CommandPaletteComponent {
4374
4372
  styles: [":host{display:inline-flex;align-items:center}.pw-palette-trigger{display:flex;align-items:center;gap:8px;width:220px;max-width:100%;height:34px;padding:0 8px 0 12px;border:1px solid #e2e5ea;border-radius:8px;background:#fff;color:#a8afbc;font-size:13px;text-align:left;transition:border-color .15s ease}.pw-palette-trigger:hover,.pw-palette-trigger:focus-visible{border-color:var(--first, #0d6efd);color:#334155}.pw-palette-trigger-icon{font-size:12px}.pw-palette-trigger-text{flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.pw-palette-kbd{padding:1px 6px;border:1px solid #e2e5ea;border-radius:4px;background:#f5f7fa;color:#a8afbc;font-size:11px;line-height:1.5;white-space:nowrap}.pw-palette{position:fixed;top:12vh;right:auto;bottom:auto;left:50%;z-index:1051;width:min(640px,100vw - 32px);max-width:calc(100vw - 32px);max-height:70vh;margin:0;padding:0;transform:translate(-50%);border:1px solid #e2e5ea;border-radius:12px;background:#fff;box-shadow:0 16px 48px #1018282e;overflow:hidden}.pw-palette[open]{display:flex;flex-direction:column}.pw-palette::backdrop{background:#10182852}.pw-palette-search{display:flex;align-items:center;gap:10px;padding:12px 16px;border-bottom:1px solid #e2e5ea}.pw-palette-search-icon{color:#a8afbc;font-size:14px}.pw-palette-field{flex:1;border:0;background:transparent;color:#334155;font-size:15px}.pw-palette-field::placeholder{color:#a8afbc}.pw-palette-field:focus{outline:none}.pw-palette-results{flex:1;padding:8px 0;overflow-y:auto}.pw-palette-group+.pw-palette-group{margin-top:4px;padding-top:4px;border-top:1px solid #e2e5ea}.pw-palette-group-label{margin:0;padding:6px 16px 4px;color:#a8afbc;font-size:11px;font-weight:600;letter-spacing:.04em;text-transform:uppercase}.pw-palette-row{display:flex;align-items:center;gap:12px;width:100%;min-height:40px;padding:0 16px;border:0;background:transparent;color:#334155;font-size:14px;text-align:left}.pw-palette-row:hover,.pw-palette-row.is-active{background:color-mix(in srgb,var(--first, #0d6efd) 8%,transparent)}.pw-palette-row.is-active{box-shadow:inset 2px 0 0 var(--first, #0d6efd)}.pw-palette-row-icon{flex:0 0 16px;color:#a8afbc;font-size:14px;text-align:center}.pw-palette-row-label{flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.pw-palette-row-prefix{color:#a8afbc}.pw-palette-row-detail{flex:0 1 auto;max-width:45%;overflow:hidden;color:#a8afbc;font-size:12px;text-overflow:ellipsis;white-space:nowrap}.pw-palette-empty{padding:28px 16px;text-align:center}.pw-palette-empty-title{margin:0 0 4px;color:#334155;font-size:14px}.pw-palette-empty-hint{margin:0;color:#a8afbc;font-size:12px}.pw-palette-footer{display:flex;gap:16px;padding:8px 16px;border-top:1px solid #e2e5ea;background:#fbfcfd}.pw-palette-hint{display:flex;align-items:center;gap:6px;color:#a8afbc;font-size:11px}@media(max-width:991px){.pw-palette-trigger{width:34px;padding:0;justify-content:center}.pw-palette-trigger-text,.pw-palette-trigger-kbd{display:none}.pw-palette{top:8vh;max-height:78vh}}\n"],
4375
4373
  dependencies: [{
4376
4374
  kind: "directive",
4377
- type: i1$3.NgClass,
4375
+ type: i1$2.NgClass,
4378
4376
  selector: "[ngClass]",
4379
4377
  inputs: ["class", "ngClass"]
4380
4378
  }, {
4381
4379
  kind: "pipe",
4382
- type: i2$4.TranslocoPipe,
4380
+ type: i2$3.TranslocoPipe,
4383
4381
  name: "transloco"
4384
4382
  }],
4385
4383
  changeDetection: i0.ChangeDetectionStrategy.OnPush
@@ -4403,19 +4401,19 @@ i0.ɵɵngDeclareClassMetadata({
4403
4401
  }],
4404
4402
  ctorParameters: () => [
4405
4403
  { type: CommandPaletteService },
4406
- { type: i1$2.NavigationIndexService },
4407
- { type: i1$2.DashboardService },
4408
- { type: i1$2.RecentPagesService },
4404
+ { type: i1$1.NavigationIndexService },
4405
+ { type: i1$1.DashboardService },
4406
+ { type: i1$1.RecentPagesService },
4409
4407
  { type: CollapsibleSidebarService },
4410
4408
  { type: i9$1.Router },
4411
- { type: i2$4.TranslocoService },
4409
+ { type: i2$3.TranslocoService },
4412
4410
  { type: i0.ChangeDetectorRef },
4413
4411
  {
4414
- type: i2$3.AppConfigService,
4412
+ type: i2$2.AppConfigService,
4415
4413
  decorators: [{ type: Optional }]
4416
4414
  },
4417
4415
  {
4418
- type: i1$2.CustomToastService,
4416
+ type: i1$1.CustomToastService,
4419
4417
  decorators: [{ type: Optional }]
4420
4418
  }
4421
4419
  ],
@@ -4449,20 +4447,18 @@ var PwCookieBannerComponent = class PwCookieBannerComponent {
4449
4447
  this.acceptLabel = null;
4450
4448
  this.privacyLinkLabel = null;
4451
4449
  this.privacyLinkUrl = null;
4452
- this.tosId = null;
4453
4450
  this.privacyFallbackUrl = "/privacy-policy";
4454
4451
  this.cookieKey = DEFAULT_COOKIE_KEY;
4455
4452
  this.cookieTtlDays = DEFAULT_COOKIE_TTL_DAYS;
4456
- this.visible = false;
4457
- this.leaving = false;
4453
+ this.visible = signal(false, ...ngDevMode ? [{ debugName: "visible" }] : /* istanbul ignore next */ []);
4454
+ this.leaving = signal(false, ...ngDevMode ? [{ debugName: "leaving" }] : /* istanbul ignore next */ []);
4458
4455
  this.role = "region";
4459
4456
  }
4460
4457
  ngOnInit() {
4461
- this.visible = !this.hasConsentCookie();
4458
+ this.visible.set(!this.hasConsentCookie());
4462
4459
  }
4463
4460
  get resolvedPrivacyUrl() {
4464
4461
  if (this.privacyLinkUrl) return this.privacyLinkUrl;
4465
- if (this.tosId != null) return `/privacy-and-tos/${this.tosId}`;
4466
4462
  return this.privacyFallbackUrl ?? "/privacy-policy";
4467
4463
  }
4468
4464
  accept() {
@@ -4470,10 +4466,10 @@ var PwCookieBannerComponent = class PwCookieBannerComponent {
4470
4466
  this.animateOut();
4471
4467
  }
4472
4468
  animateOut() {
4473
- this.leaving = true;
4469
+ this.leaving.set(true);
4474
4470
  setTimeout(() => {
4475
- this.visible = false;
4476
- this.leaving = false;
4471
+ this.visible.set(false);
4472
+ this.leaving.set(false);
4477
4473
  }, 220);
4478
4474
  }
4479
4475
  hasConsentCookie() {
@@ -4497,7 +4493,7 @@ var PwCookieBannerComponent = class PwCookieBannerComponent {
4497
4493
  version: "22.2.3",
4498
4494
  ngImport: i0,
4499
4495
  type: PwCookieBannerComponent,
4500
- deps: [{ token: DOCUMENT }, { token: i2$4.TranslocoService }],
4496
+ deps: [{ token: DOCUMENT }, { token: i2$3.TranslocoService }],
4501
4497
  target: i0.ɵɵFactoryTarget.Component
4502
4498
  });
4503
4499
  }
@@ -4514,7 +4510,6 @@ var PwCookieBannerComponent = class PwCookieBannerComponent {
4514
4510
  acceptLabel: "acceptLabel",
4515
4511
  privacyLinkLabel: "privacyLinkLabel",
4516
4512
  privacyLinkUrl: "privacyLinkUrl",
4517
- tosId: "tosId",
4518
4513
  privacyFallbackUrl: "privacyFallbackUrl",
4519
4514
  cookieKey: "cookieKey",
4520
4515
  cookieTtlDays: "cookieTtlDays"
@@ -4524,8 +4519,8 @@ var PwCookieBannerComponent = class PwCookieBannerComponent {
4524
4519
  "attr.aria-label": "this.ariaLabel"
4525
4520
  } },
4526
4521
  ngImport: i0,
4527
- template: "@if (visible) {\n <div\n class=\"pw-cookie-banner\"\n [class.pw-cookie-banner--leaving]=\"leaving\">\n <div class=\"pw-cookie-banner__icon\" aria-hidden=\"true\">\n <i class=\"fas fa-cookie-bite\"></i>\n </div>\n <div class=\"pw-cookie-banner__body\">\n <h3 class=\"pw-cookie-banner__title\">{{ title ?? ('CookieBanner.Title' | transloco) }}</h3>\n <p class=\"pw-cookie-banner__message\">\n {{ message ?? ('CookieBanner.Message' | transloco) }}\n <a\n class=\"pw-cookie-banner__link\"\n [href]=\"resolvedPrivacyUrl\"\n target=\"_blank\"\n rel=\"noopener\">\n {{ privacyLinkLabel ?? ('CookieBanner.PrivacyLink' | transloco) }}\n </a>\n </p>\n </div>\n <div class=\"pw-cookie-banner__actions\">\n <button\n type=\"button\"\n class=\"pw-cookie-banner__accept\"\n (click)=\"accept()\">\n {{ acceptLabel ?? ('CookieBanner.Accept' | transloco) }}\n </button>\n </div>\n </div>\n}\n",
4528
- styles: [":host{position:fixed;bottom:24px;left:24px;z-index:10010;pointer-events:none}@media(max-width:575px){:host{bottom:12px;left:12px;right:12px}}.pw-cookie-banner{pointer-events:auto;display:grid;grid-template-columns:auto 1fr;grid-template-areas:\"icon body\" \"actions actions\";gap:12px 14px;width:380px;max-width:calc(100vw - 48px);padding:18px 18px 16px;background:#fff;border:1px solid #e2e5ea;border-radius:12px;box-shadow:0 12px 40px #0f172a1a,0 2px 8px #0f172a0d;color:#3d4654;animation:pw-cookie-enter .22s cubic-bezier(.16,1,.3,1) both}@media(max-width:575px){.pw-cookie-banner{width:auto;max-width:none;padding:16px;grid-template-columns:auto 1fr;grid-template-areas:\"icon body\" \"actions actions\"}}.pw-cookie-banner--leaving{animation:pw-cookie-leave .2s ease-in both}.pw-cookie-banner__icon{grid-area:icon;display:inline-flex;align-items:center;justify-content:center;width:36px;height:36px;border-radius:10px;background:#f7f8fa;color:var(--first, #1769e1);font-size:18px;flex-shrink:0}.pw-cookie-banner__body{grid-area:body;min-width:0}.pw-cookie-banner__title{margin:0 0 4px;font-size:15px;line-height:1.3;font-weight:600;color:#1a1d21;letter-spacing:-.005em}.pw-cookie-banner__message{margin:0;font-size:13px;line-height:1.55;color:#5a6473}.pw-cookie-banner__link{color:var(--first, #1769e1);text-decoration:none;font-weight:500;white-space:nowrap;margin-left:4px}.pw-cookie-banner__link:hover,.pw-cookie-banner__link:focus-visible{text-decoration:underline;text-underline-offset:2px}.pw-cookie-banner__actions{grid-area:actions;display:flex;justify-content:flex-end;align-items:center;gap:8px;margin-top:4px}.pw-cookie-banner__dismiss{appearance:none;border:0;cursor:pointer;font-family:inherit;font-size:13px;font-weight:500;line-height:1;color:#5a6473;background:transparent;padding:9px 12px;border-radius:8px;transition:color .16s ease-out,background .16s ease-out}.pw-cookie-banner__dismiss:hover{color:#1a1d21;background:#f7f8fa}.pw-cookie-banner__dismiss:focus-visible{outline:2px solid var(--first, #1769e1);outline-offset:2px}.pw-cookie-banner__dismiss:active{transform:translateY(1px)}.pw-cookie-banner__accept{appearance:none;border:0;cursor:pointer;font-family:inherit;font-size:13px;font-weight:500;line-height:1;color:#fff;background:var(--first, #1769e1);padding:9px 18px;border-radius:var(--public-btn-radius);transition:background .16s ease-out,transform .12s ease-out,box-shadow .16s ease-out}.pw-cookie-banner__accept:hover{background:color-mix(in srgb,var(--first, #1769e1) 88%,#000);box-shadow:0 4px 12px #0f172a1f}.pw-cookie-banner__accept:focus-visible{outline:2px solid var(--first, #1769e1);outline-offset:2px}.pw-cookie-banner__accept:active{transform:translateY(1px)}@keyframes pw-cookie-enter{0%{opacity:0;transform:translateY(12px) scale(.98)}to{opacity:1;transform:translateY(0) scale(1)}}@keyframes pw-cookie-leave{0%{opacity:1;transform:translateY(0)}to{opacity:0;transform:translateY(8px)}}@media(prefers-reduced-motion:reduce){.pw-cookie-banner,.pw-cookie-banner--leaving{animation:none}}\n"],
4522
+ template: "@if (visible()) {\n <div\n class=\"pw-cookie-banner\"\n [class.pw-cookie-banner--leaving]=\"leaving()\">\n <div class=\"pw-cookie-banner__icon\" aria-hidden=\"true\">\n <i class=\"fas fa-cookie-bite\"></i>\n </div>\n <div class=\"pw-cookie-banner__body\">\n <h3 class=\"pw-cookie-banner__title\">{{ title ?? ('CookieBanner.Title' | transloco) }}</h3>\n <p class=\"pw-cookie-banner__message\">\n {{ message ?? ('CookieBanner.Message' | transloco) }}\n <a\n class=\"pw-cookie-banner__link\"\n [href]=\"resolvedPrivacyUrl\"\n target=\"_blank\"\n rel=\"noopener\">\n {{ privacyLinkLabel ?? ('CookieBanner.PrivacyLink' | transloco) }}\n </a>\n </p>\n </div>\n <div class=\"pw-cookie-banner__actions\">\n <button\n type=\"button\"\n class=\"pw-cookie-banner__accept\"\n (click)=\"accept()\">\n {{ acceptLabel ?? ('CookieBanner.Accept' | transloco) }}\n </button>\n </div>\n </div>\n}\n",
4523
+ styles: [":host{position:fixed;bottom:24px;left:24px;z-index:10010;pointer-events:none}@media(max-width:575px){:host{bottom:12px;left:12px;right:12px}}.pw-cookie-banner{pointer-events:auto;display:grid;grid-template-columns:auto 1fr;grid-template-areas:\"icon body\" \"actions actions\";gap:12px 14px;width:380px;max-width:calc(100vw - 48px);padding:18px 18px 16px;background:#fff;border:1px solid #e2e5ea;border-radius:12px;box-shadow:0 12px 40px #0f172a1a,0 2px 8px #0f172a0d;color:#3d4654;animation:pw-cookie-enter .22s cubic-bezier(.16,1,.3,1) both}@media(max-width:575px){.pw-cookie-banner{width:auto;max-width:none;padding:16px;grid-template-columns:auto 1fr;grid-template-areas:\"icon body\" \"actions actions\"}}.pw-cookie-banner--leaving{pointer-events:none;animation:pw-cookie-leave .2s ease-in both}.pw-cookie-banner__icon{grid-area:icon;display:inline-flex;align-items:center;justify-content:center;width:36px;height:36px;border-radius:10px;background:#f7f8fa;color:var(--first, #1769e1);font-size:18px;flex-shrink:0}.pw-cookie-banner__body{grid-area:body;min-width:0}.pw-cookie-banner__title{margin:0 0 4px;font-size:15px;line-height:1.3;font-weight:600;color:#1a1d21;letter-spacing:-.005em}.pw-cookie-banner__message{margin:0;font-size:13px;line-height:1.55;color:#5a6473}.pw-cookie-banner__link{color:var(--first, #1769e1);text-decoration:none;font-weight:500;white-space:nowrap;margin-left:4px}.pw-cookie-banner__link:hover,.pw-cookie-banner__link:focus-visible{text-decoration:underline;text-underline-offset:2px}.pw-cookie-banner__actions{grid-area:actions;display:flex;justify-content:flex-end;align-items:center;gap:8px;margin-top:4px}.pw-cookie-banner__dismiss{appearance:none;border:0;cursor:pointer;font-family:inherit;font-size:13px;font-weight:500;line-height:1;color:#5a6473;background:transparent;padding:9px 12px;border-radius:8px;transition:color .16s ease-out,background .16s ease-out}.pw-cookie-banner__dismiss:hover{color:#1a1d21;background:#f7f8fa}.pw-cookie-banner__dismiss:focus-visible{outline:2px solid var(--first, #1769e1);outline-offset:2px}.pw-cookie-banner__dismiss:active{transform:translateY(1px)}.pw-cookie-banner__accept{appearance:none;border:0;cursor:pointer;font-family:inherit;font-size:13px;font-weight:500;line-height:1;color:#fff;background:var(--first, #1769e1);padding:9px 18px;border-radius:var(--public-btn-radius);transition:background .16s ease-out,transform .12s ease-out,box-shadow .16s ease-out}.pw-cookie-banner__accept:hover{background:color-mix(in srgb,var(--first, #1769e1) 88%,#000);box-shadow:0 4px 12px #0f172a1f}.pw-cookie-banner__accept:focus-visible{outline:2px solid var(--first, #1769e1);outline-offset:2px}.pw-cookie-banner__accept:active{transform:translateY(1px)}@keyframes pw-cookie-enter{0%{opacity:0;transform:translateY(12px) scale(.98)}to{opacity:1;transform:translateY(0) scale(1)}}@keyframes pw-cookie-leave{0%{opacity:1;transform:translateY(0)}to{opacity:0;transform:translateY(8px)}}@media(prefers-reduced-motion:reduce){.pw-cookie-banner,.pw-cookie-banner--leaving{animation:none}}\n"],
4529
4524
  dependencies: [
4530
4525
  {
4531
4526
  kind: "ngmodule",
@@ -4537,7 +4532,7 @@ var PwCookieBannerComponent = class PwCookieBannerComponent {
4537
4532
  },
4538
4533
  {
4539
4534
  kind: "pipe",
4540
- type: i2$4.TranslocoPipe,
4535
+ type: i2$3.TranslocoPipe,
4541
4536
  name: "transloco"
4542
4537
  }
4543
4538
  ]
@@ -4555,8 +4550,8 @@ i0.ɵɵngDeclareClassMetadata({
4555
4550
  selector: "pw-cookie-banner",
4556
4551
  standalone: true,
4557
4552
  imports: [CommonModule, CoreTranslocoModule],
4558
- template: "@if (visible) {\n <div\n class=\"pw-cookie-banner\"\n [class.pw-cookie-banner--leaving]=\"leaving\">\n <div class=\"pw-cookie-banner__icon\" aria-hidden=\"true\">\n <i class=\"fas fa-cookie-bite\"></i>\n </div>\n <div class=\"pw-cookie-banner__body\">\n <h3 class=\"pw-cookie-banner__title\">{{ title ?? ('CookieBanner.Title' | transloco) }}</h3>\n <p class=\"pw-cookie-banner__message\">\n {{ message ?? ('CookieBanner.Message' | transloco) }}\n <a\n class=\"pw-cookie-banner__link\"\n [href]=\"resolvedPrivacyUrl\"\n target=\"_blank\"\n rel=\"noopener\">\n {{ privacyLinkLabel ?? ('CookieBanner.PrivacyLink' | transloco) }}\n </a>\n </p>\n </div>\n <div class=\"pw-cookie-banner__actions\">\n <button\n type=\"button\"\n class=\"pw-cookie-banner__accept\"\n (click)=\"accept()\">\n {{ acceptLabel ?? ('CookieBanner.Accept' | transloco) }}\n </button>\n </div>\n </div>\n}\n",
4559
- styles: [":host{position:fixed;bottom:24px;left:24px;z-index:10010;pointer-events:none}@media(max-width:575px){:host{bottom:12px;left:12px;right:12px}}.pw-cookie-banner{pointer-events:auto;display:grid;grid-template-columns:auto 1fr;grid-template-areas:\"icon body\" \"actions actions\";gap:12px 14px;width:380px;max-width:calc(100vw - 48px);padding:18px 18px 16px;background:#fff;border:1px solid #e2e5ea;border-radius:12px;box-shadow:0 12px 40px #0f172a1a,0 2px 8px #0f172a0d;color:#3d4654;animation:pw-cookie-enter .22s cubic-bezier(.16,1,.3,1) both}@media(max-width:575px){.pw-cookie-banner{width:auto;max-width:none;padding:16px;grid-template-columns:auto 1fr;grid-template-areas:\"icon body\" \"actions actions\"}}.pw-cookie-banner--leaving{animation:pw-cookie-leave .2s ease-in both}.pw-cookie-banner__icon{grid-area:icon;display:inline-flex;align-items:center;justify-content:center;width:36px;height:36px;border-radius:10px;background:#f7f8fa;color:var(--first, #1769e1);font-size:18px;flex-shrink:0}.pw-cookie-banner__body{grid-area:body;min-width:0}.pw-cookie-banner__title{margin:0 0 4px;font-size:15px;line-height:1.3;font-weight:600;color:#1a1d21;letter-spacing:-.005em}.pw-cookie-banner__message{margin:0;font-size:13px;line-height:1.55;color:#5a6473}.pw-cookie-banner__link{color:var(--first, #1769e1);text-decoration:none;font-weight:500;white-space:nowrap;margin-left:4px}.pw-cookie-banner__link:hover,.pw-cookie-banner__link:focus-visible{text-decoration:underline;text-underline-offset:2px}.pw-cookie-banner__actions{grid-area:actions;display:flex;justify-content:flex-end;align-items:center;gap:8px;margin-top:4px}.pw-cookie-banner__dismiss{appearance:none;border:0;cursor:pointer;font-family:inherit;font-size:13px;font-weight:500;line-height:1;color:#5a6473;background:transparent;padding:9px 12px;border-radius:8px;transition:color .16s ease-out,background .16s ease-out}.pw-cookie-banner__dismiss:hover{color:#1a1d21;background:#f7f8fa}.pw-cookie-banner__dismiss:focus-visible{outline:2px solid var(--first, #1769e1);outline-offset:2px}.pw-cookie-banner__dismiss:active{transform:translateY(1px)}.pw-cookie-banner__accept{appearance:none;border:0;cursor:pointer;font-family:inherit;font-size:13px;font-weight:500;line-height:1;color:#fff;background:var(--first, #1769e1);padding:9px 18px;border-radius:var(--public-btn-radius);transition:background .16s ease-out,transform .12s ease-out,box-shadow .16s ease-out}.pw-cookie-banner__accept:hover{background:color-mix(in srgb,var(--first, #1769e1) 88%,#000);box-shadow:0 4px 12px #0f172a1f}.pw-cookie-banner__accept:focus-visible{outline:2px solid var(--first, #1769e1);outline-offset:2px}.pw-cookie-banner__accept:active{transform:translateY(1px)}@keyframes pw-cookie-enter{0%{opacity:0;transform:translateY(12px) scale(.98)}to{opacity:1;transform:translateY(0) scale(1)}}@keyframes pw-cookie-leave{0%{opacity:1;transform:translateY(0)}to{opacity:0;transform:translateY(8px)}}@media(prefers-reduced-motion:reduce){.pw-cookie-banner,.pw-cookie-banner--leaving{animation:none}}\n"]
4553
+ template: "@if (visible()) {\n <div\n class=\"pw-cookie-banner\"\n [class.pw-cookie-banner--leaving]=\"leaving()\">\n <div class=\"pw-cookie-banner__icon\" aria-hidden=\"true\">\n <i class=\"fas fa-cookie-bite\"></i>\n </div>\n <div class=\"pw-cookie-banner__body\">\n <h3 class=\"pw-cookie-banner__title\">{{ title ?? ('CookieBanner.Title' | transloco) }}</h3>\n <p class=\"pw-cookie-banner__message\">\n {{ message ?? ('CookieBanner.Message' | transloco) }}\n <a\n class=\"pw-cookie-banner__link\"\n [href]=\"resolvedPrivacyUrl\"\n target=\"_blank\"\n rel=\"noopener\">\n {{ privacyLinkLabel ?? ('CookieBanner.PrivacyLink' | transloco) }}\n </a>\n </p>\n </div>\n <div class=\"pw-cookie-banner__actions\">\n <button\n type=\"button\"\n class=\"pw-cookie-banner__accept\"\n (click)=\"accept()\">\n {{ acceptLabel ?? ('CookieBanner.Accept' | transloco) }}\n </button>\n </div>\n </div>\n}\n",
4554
+ styles: [":host{position:fixed;bottom:24px;left:24px;z-index:10010;pointer-events:none}@media(max-width:575px){:host{bottom:12px;left:12px;right:12px}}.pw-cookie-banner{pointer-events:auto;display:grid;grid-template-columns:auto 1fr;grid-template-areas:\"icon body\" \"actions actions\";gap:12px 14px;width:380px;max-width:calc(100vw - 48px);padding:18px 18px 16px;background:#fff;border:1px solid #e2e5ea;border-radius:12px;box-shadow:0 12px 40px #0f172a1a,0 2px 8px #0f172a0d;color:#3d4654;animation:pw-cookie-enter .22s cubic-bezier(.16,1,.3,1) both}@media(max-width:575px){.pw-cookie-banner{width:auto;max-width:none;padding:16px;grid-template-columns:auto 1fr;grid-template-areas:\"icon body\" \"actions actions\"}}.pw-cookie-banner--leaving{pointer-events:none;animation:pw-cookie-leave .2s ease-in both}.pw-cookie-banner__icon{grid-area:icon;display:inline-flex;align-items:center;justify-content:center;width:36px;height:36px;border-radius:10px;background:#f7f8fa;color:var(--first, #1769e1);font-size:18px;flex-shrink:0}.pw-cookie-banner__body{grid-area:body;min-width:0}.pw-cookie-banner__title{margin:0 0 4px;font-size:15px;line-height:1.3;font-weight:600;color:#1a1d21;letter-spacing:-.005em}.pw-cookie-banner__message{margin:0;font-size:13px;line-height:1.55;color:#5a6473}.pw-cookie-banner__link{color:var(--first, #1769e1);text-decoration:none;font-weight:500;white-space:nowrap;margin-left:4px}.pw-cookie-banner__link:hover,.pw-cookie-banner__link:focus-visible{text-decoration:underline;text-underline-offset:2px}.pw-cookie-banner__actions{grid-area:actions;display:flex;justify-content:flex-end;align-items:center;gap:8px;margin-top:4px}.pw-cookie-banner__dismiss{appearance:none;border:0;cursor:pointer;font-family:inherit;font-size:13px;font-weight:500;line-height:1;color:#5a6473;background:transparent;padding:9px 12px;border-radius:8px;transition:color .16s ease-out,background .16s ease-out}.pw-cookie-banner__dismiss:hover{color:#1a1d21;background:#f7f8fa}.pw-cookie-banner__dismiss:focus-visible{outline:2px solid var(--first, #1769e1);outline-offset:2px}.pw-cookie-banner__dismiss:active{transform:translateY(1px)}.pw-cookie-banner__accept{appearance:none;border:0;cursor:pointer;font-family:inherit;font-size:13px;font-weight:500;line-height:1;color:#fff;background:var(--first, #1769e1);padding:9px 18px;border-radius:var(--public-btn-radius);transition:background .16s ease-out,transform .12s ease-out,box-shadow .16s ease-out}.pw-cookie-banner__accept:hover{background:color-mix(in srgb,var(--first, #1769e1) 88%,#000);box-shadow:0 4px 12px #0f172a1f}.pw-cookie-banner__accept:focus-visible{outline:2px solid var(--first, #1769e1);outline-offset:2px}.pw-cookie-banner__accept:active{transform:translateY(1px)}@keyframes pw-cookie-enter{0%{opacity:0;transform:translateY(12px) scale(.98)}to{opacity:1;transform:translateY(0) scale(1)}}@keyframes pw-cookie-leave{0%{opacity:1;transform:translateY(0)}to{opacity:0;transform:translateY(8px)}}@media(prefers-reduced-motion:reduce){.pw-cookie-banner,.pw-cookie-banner--leaving{animation:none}}\n"]
4560
4555
  }]
4561
4556
  }],
4562
4557
  ctorParameters: () => [{
@@ -4565,14 +4560,13 @@ i0.ɵɵngDeclareClassMetadata({
4565
4560
  type: Inject,
4566
4561
  args: [DOCUMENT]
4567
4562
  }]
4568
- }, { type: i2$4.TranslocoService }],
4563
+ }, { type: i2$3.TranslocoService }],
4569
4564
  propDecorators: {
4570
4565
  title: [{ type: Input }],
4571
4566
  message: [{ type: Input }],
4572
4567
  acceptLabel: [{ type: Input }],
4573
4568
  privacyLinkLabel: [{ type: Input }],
4574
4569
  privacyLinkUrl: [{ type: Input }],
4575
- tosId: [{ type: Input }],
4576
4570
  privacyFallbackUrl: [{ type: Input }],
4577
4571
  cookieKey: [{ type: Input }],
4578
4572
  cookieTtlDays: [{ type: Input }],
@@ -4629,7 +4623,7 @@ var ChartBlockComponent = class ChartBlockComponent {
4629
4623
  styles: [".dyn-chart{border:1px solid var(--line, #e2e5ea);border-radius:8px;padding:16px;min-height:96px;background:var(--surface, #fff)}.dyn-chart__label{color:var(--ink-2, #5a6473);font-size:12px;font-weight:500;margin-bottom:8px}.dyn-chart__state{color:var(--ink-3, #7c8696);font-size:12px}\n"],
4630
4624
  dependencies: [{
4631
4625
  kind: "pipe",
4632
- type: i2$4.TranslocoPipe,
4626
+ type: i2$3.TranslocoPipe,
4633
4627
  name: "transloco"
4634
4628
  }]
4635
4629
  });
@@ -4735,7 +4729,7 @@ var DataTableBlockComponent = class DataTableBlockComponent {
4735
4729
  styles: [".dyn-table{width:100%;border-collapse:collapse;font-variant-numeric:tabular-nums}.dyn-table th,.dyn-table td{border-bottom:1px solid var(--line, #e2e5ea);padding:8px 12px;text-align:left;font-size:14px}.dyn-table th{color:var(--ink-2, #5a6473);font-weight:500}.dyn-table__state{color:var(--ink-3, #7c8696);font-size:12px;padding:12px}\n"],
4736
4730
  dependencies: [{
4737
4731
  kind: "pipe",
4738
- type: i2$4.TranslocoPipe,
4732
+ type: i2$3.TranslocoPipe,
4739
4733
  name: "transloco"
4740
4734
  }]
4741
4735
  });
@@ -4967,7 +4961,7 @@ var StatCardBlockComponent = class StatCardBlockComponent {
4967
4961
  styles: [".dyn-card{border:1px solid var(--line, #e2e5ea);border-radius:8px;padding:16px;background:var(--surface, #fff)}.dyn-card__label{color:var(--ink-2, #5a6473);font-size:12px;font-weight:500}.dyn-card__value{color:var(--ink, #1a1d21);font-size:24px;font-weight:700;font-variant-numeric:tabular-nums}.dyn-card__state{color:var(--ink-3, #7c8696);font-size:12px}\n"],
4968
4962
  dependencies: [{
4969
4963
  kind: "pipe",
4970
- type: i2$4.TranslocoPipe,
4964
+ type: i2$3.TranslocoPipe,
4971
4965
  name: "transloco"
4972
4966
  }]
4973
4967
  });
@@ -5150,9 +5144,9 @@ var PwDynamicPageComponent = class PwDynamicPageComponent {
5150
5144
  deps: [
5151
5145
  { token: i0.Injector },
5152
5146
  { token: i0.ChangeDetectorRef },
5153
- { token: i1$2.FeatureFlagService },
5147
+ { token: i1$1.FeatureFlagService },
5154
5148
  {
5155
- token: i1$2.UserService,
5149
+ token: i1$1.UserService,
5156
5150
  optional: true
5157
5151
  },
5158
5152
  {
@@ -5160,7 +5154,7 @@ var PwDynamicPageComponent = class PwDynamicPageComponent {
5160
5154
  optional: true
5161
5155
  },
5162
5156
  {
5163
- token: i2$3.AppConfigService,
5157
+ token: i2$2.AppConfigService,
5164
5158
  optional: true
5165
5159
  }
5166
5160
  ],
@@ -5203,7 +5197,7 @@ var PwDynamicPageComponent = class PwDynamicPageComponent {
5203
5197
  styles: [".dyn-page{display:grid;grid-template-columns:repeat(12,1fr);gap:16px}:host ::ng-deep .dyn-page>*{grid-column:span 12}.dyn-empty{border:1px solid var(--line, #e2e5ea);border-radius:8px;background:var(--surface, #fff);padding:48px 24px;text-align:center}.dyn-empty__title{color:var(--ink, #1a1d21);font-size:17px;font-weight:700;margin-bottom:4px}.dyn-empty__hint{color:var(--ink-3, #7c8696);font-size:14px;margin:0 auto 16px;max-width:420px}\n"],
5204
5198
  dependencies: [{
5205
5199
  kind: "pipe",
5206
- type: i2$4.TranslocoPipe,
5200
+ type: i2$3.TranslocoPipe,
5207
5201
  name: "transloco"
5208
5202
  }]
5209
5203
  });
@@ -5241,9 +5235,9 @@ i0.ɵɵngDeclareClassMetadata({
5241
5235
  ctorParameters: () => [
5242
5236
  { type: i0.Injector },
5243
5237
  { type: i0.ChangeDetectorRef },
5244
- { type: i1$2.FeatureFlagService },
5238
+ { type: i1$1.FeatureFlagService },
5245
5239
  {
5246
- type: i1$2.UserService,
5240
+ type: i1$1.UserService,
5247
5241
  decorators: [{ type: Optional }]
5248
5242
  },
5249
5243
  {
@@ -5251,7 +5245,7 @@ i0.ɵɵngDeclareClassMetadata({
5251
5245
  decorators: [{ type: Optional }]
5252
5246
  },
5253
5247
  {
5254
- type: i2$3.AppConfigService,
5248
+ type: i2$2.AppConfigService,
5255
5249
  decorators: [{ type: Optional }]
5256
5250
  }
5257
5251
  ],
@@ -5298,7 +5292,7 @@ var HeaderComponent = class HeaderComponent extends AppBaseComponent {
5298
5292
  type: HeaderComponent,
5299
5293
  deps: [
5300
5294
  { token: i0.Injector },
5301
- { token: i1$2.AuthService },
5295
+ { token: i1$1.AuthService },
5302
5296
  { token: i0.ChangeDetectorRef }
5303
5297
  ],
5304
5298
  target: i0.ɵɵFactoryTarget.Component
@@ -5318,11 +5312,11 @@ var HeaderComponent = class HeaderComponent extends AppBaseComponent {
5318
5312
  styles: ["@charset \"UTF-8\";:root{--first: rgb(23 105 225);--second: rgb(54 194 131);--third: rgb(255 171 0);--text: rgb(34 34 34);--tabs_bg: rgb(23 105 225);--tabs_sub_bg: color-mix(in srgb, var(--first, rgb(23 105 225)) 85%, #000000);--tabs_text: rgb(255 255 255);--titles: rgb(34 34 34);--sidebar_bg: rgb(0, 48, 63);--sidebar_text: rgb(255 255 255);--dashboard_bg: rgb(255 255 255);--public-btn-radius: 24px}.pw-bar{position:fixed;top:0;left:0;right:0;z-index:50;padding:0 var(--lp-gutter, clamp(20px, 4vw, 48px));background:color-mix(in srgb,#f7f8fa 80%,transparent);backdrop-filter:saturate(180%) blur(12px);-webkit-backdrop-filter:saturate(180%) blur(12px);border-bottom:1px solid transparent;transition:background-color .2s cubic-bezier(.2,.7,.2,1),border-color .2s cubic-bezier(.2,.7,.2,1)}.pw-bar--solid,.pw-bar:hover{background:#f7f8fa;border-bottom-color:#e2e5ea}.pw-bar__inner{display:grid;grid-template-columns:auto 1fr;align-items:center;gap:32px;max-width:var(--lp-max-w-content, 1200px);margin:0 auto;padding:0;height:56px}.pw-bar__brand{display:inline-flex;align-items:center;text-decoration:none}.pw-bar__brand-logo{height:28px;width:auto;display:block;object-fit:contain}.pw-bar__actions{display:flex;align-items:center;gap:8px;justify-self:end}.pw-bar__login{background:transparent;border:0;padding:8px 16px;font:600 14px/1 Roboto,sans-serif;color:#5a6473;cursor:pointer;transition:color .2s cubic-bezier(.2,.7,.2,1)}.pw-bar__login:hover,.pw-bar__login:focus-visible{color:#1a1d21;outline:none}.pw-bar__cta{display:inline-flex;align-items:center;justify-content:center;height:40px;padding:0 24px;font:600 14px/1 Roboto,sans-serif;color:#fff!important;text-decoration:none;background:var(--first);border:1px solid var(--first);border-radius:var(--public-btn-radius);box-shadow:0 1px #0000000a;transition:transform .2s cubic-bezier(.2,.7,.2,1),box-shadow .2s cubic-bezier(.2,.7,.2,1),background-color .2s cubic-bezier(.2,.7,.2,1),border-color .2s cubic-bezier(.2,.7,.2,1);will-change:transform}.pw-bar__cta:hover,.pw-bar__cta:focus-visible{background:color-mix(in srgb,var(--first) 88%,#000 12%);border-color:color-mix(in srgb,var(--first) 88%,#000 12%);box-shadow:0 10px 24px -12px var(--first);color:#fff!important;outline:none;transform:translateY(-1px)}.pw-bar__toggle{width:40px;height:40px;display:none;place-items:center;background:transparent;border:0;cursor:pointer;padding:0}.pw-bar__toggle span{display:block;width:20px;height:1.5px;background:#1a1d21;margin:3px 0;transition:transform .2s cubic-bezier(.2,.7,.2,1),opacity .2s cubic-bezier(.2,.7,.2,1)}.pw-bar__toggle--open span:nth-child(1){transform:translateY(4.5px) rotate(45deg)}.pw-bar__toggle--open span:nth-child(2){opacity:0}.pw-bar__toggle--open span:nth-child(3){transform:translateY(-4.5px) rotate(-45deg)}@media(max-width:575px){.pw-bar__inner{padding:0 16px;height:60px}.pw-bar__brand-logo{height:24px}.pw-bar__cta{padding:0 16px;height:36px;font-size:13px}.pw-bar__login{padding:8px 10px;font-size:13px}}\n"],
5319
5313
  dependencies: [{
5320
5314
  kind: "directive",
5321
- type: i1$1.LazyImgDirective,
5315
+ type: i1.LazyImgDirective,
5322
5316
  selector: "img"
5323
5317
  }, {
5324
5318
  kind: "pipe",
5325
- type: i2$4.TranslocoPipe,
5319
+ type: i2$3.TranslocoPipe,
5326
5320
  name: "transloco"
5327
5321
  }]
5328
5322
  });
@@ -5344,7 +5338,7 @@ i0.ɵɵngDeclareClassMetadata({
5344
5338
  }],
5345
5339
  ctorParameters: () => [
5346
5340
  { type: i0.Injector },
5347
- { type: i1$2.AuthService },
5341
+ { type: i1$1.AuthService },
5348
5342
  { type: i0.ChangeDetectorRef }
5349
5343
  ],
5350
5344
  propDecorators: { landing: [{ type: Input }] }
@@ -5473,9 +5467,9 @@ var EntityGroupComponent = class EntityGroupComponent extends AppBaseComponent {
5473
5467
  ngImport: i0,
5474
5468
  type: EntityGroupComponent,
5475
5469
  deps: [
5476
- { token: i1$2.GroupService },
5477
- { token: i1$2.SubscriptionService },
5478
- { token: i1$4.NgbModal },
5470
+ { token: i1$1.GroupService },
5471
+ { token: i1$1.SubscriptionService },
5472
+ { token: i1$3.NgbModal },
5479
5473
  { token: i0.Injector },
5480
5474
  { token: i0.ChangeDetectorRef }
5481
5475
  ],
@@ -5534,7 +5528,7 @@ var EntityGroupComponent = class EntityGroupComponent extends AppBaseComponent {
5534
5528
  },
5535
5529
  {
5536
5530
  kind: "directive",
5537
- type: i1$1.RbacAllowDirective,
5531
+ type: i1.RbacAllowDirective,
5538
5532
  selector: "[rbacAllow]",
5539
5533
  inputs: ["rbacAllow"]
5540
5534
  },
@@ -5795,7 +5789,7 @@ var EntityGroupComponent = class EntityGroupComponent extends AppBaseComponent {
5795
5789
  },
5796
5790
  {
5797
5791
  kind: "pipe",
5798
- type: i2$4.TranslocoPipe,
5792
+ type: i2$3.TranslocoPipe,
5799
5793
  name: "transloco"
5800
5794
  }
5801
5795
  ]
@@ -5817,9 +5811,9 @@ i0.ɵɵngDeclareClassMetadata({
5817
5811
  }]
5818
5812
  }],
5819
5813
  ctorParameters: () => [
5820
- { type: i1$2.GroupService },
5821
- { type: i1$2.SubscriptionService },
5822
- { type: i1$4.NgbModal },
5814
+ { type: i1$1.GroupService },
5815
+ { type: i1$1.SubscriptionService },
5816
+ { type: i1$3.NgbModal },
5823
5817
  { type: i0.Injector },
5824
5818
  { type: i0.ChangeDetectorRef }
5825
5819
  ],
@@ -5905,7 +5899,7 @@ var InputContainerComponent = class InputContainerComponent {
5905
5899
  dependencies: [
5906
5900
  {
5907
5901
  kind: "directive",
5908
- type: i1$3.NgClass,
5902
+ type: i1$2.NgClass,
5909
5903
  selector: "[ngClass]",
5910
5904
  inputs: ["class", "ngClass"]
5911
5905
  },
@@ -5945,7 +5939,7 @@ var InputContainerComponent = class InputContainerComponent {
5945
5939
  },
5946
5940
  {
5947
5941
  kind: "pipe",
5948
- type: i2$4.TranslocoPipe,
5942
+ type: i2$3.TranslocoPipe,
5949
5943
  name: "transloco"
5950
5944
  }
5951
5945
  ]
@@ -6147,10 +6141,10 @@ var GroupDefinitionComponent = class GroupDefinitionComponent extends AppBaseCom
6147
6141
  ngImport: i0,
6148
6142
  type: GroupDefinitionComponent,
6149
6143
  deps: [
6150
- { token: i1$2.GroupService },
6144
+ { token: i1$1.GroupService },
6151
6145
  { token: i4$1.UntypedFormBuilder },
6152
- { token: i1$2.SubscriptionService },
6153
- { token: i1$2.DataService },
6146
+ { token: i1$1.SubscriptionService },
6147
+ { token: i1$1.DataService },
6154
6148
  { token: i0.Injector },
6155
6149
  { token: i0.ChangeDetectorRef },
6156
6150
  { token: ConfirmDialogService }
@@ -6211,7 +6205,7 @@ var GroupDefinitionComponent = class GroupDefinitionComponent extends AppBaseCom
6211
6205
  },
6212
6206
  {
6213
6207
  kind: "directive",
6214
- type: i1$1.ButtonBusyDirective,
6208
+ type: i1.ButtonBusyDirective,
6215
6209
  selector: "[buttonBusy]",
6216
6210
  inputs: ["buttonBusy", "busyText"]
6217
6211
  },
@@ -6292,12 +6286,12 @@ var GroupDefinitionComponent = class GroupDefinitionComponent extends AppBaseCom
6292
6286
  },
6293
6287
  {
6294
6288
  kind: "pipe",
6295
- type: i2$4.TranslocoPipe,
6289
+ type: i2$3.TranslocoPipe,
6296
6290
  name: "transloco"
6297
6291
  },
6298
6292
  {
6299
6293
  kind: "pipe",
6300
- type: i1$3.SlicePipe,
6294
+ type: i1$2.SlicePipe,
6301
6295
  name: "slice"
6302
6296
  }
6303
6297
  ]
@@ -6325,10 +6319,10 @@ i0.ɵɵngDeclareClassMetadata({
6325
6319
  }]
6326
6320
  }],
6327
6321
  ctorParameters: () => [
6328
- { type: i1$2.GroupService },
6322
+ { type: i1$1.GroupService },
6329
6323
  { type: i4$1.UntypedFormBuilder },
6330
- { type: i1$2.SubscriptionService },
6331
- { type: i1$2.DataService },
6324
+ { type: i1$1.SubscriptionService },
6325
+ { type: i1$1.DataService },
6332
6326
  { type: i0.Injector },
6333
6327
  { type: i0.ChangeDetectorRef },
6334
6328
  { type: ConfirmDialogService }
@@ -6536,9 +6530,9 @@ var GroupsComponent = class GroupsComponent extends AppBaseComponent {
6536
6530
  type: GroupsComponent,
6537
6531
  deps: [
6538
6532
  { token: i4$1.UntypedFormBuilder },
6539
- { token: i1$2.GroupService },
6540
- { token: i1$2.SubscriptionService },
6541
- { token: i1$2.DataService },
6533
+ { token: i1$1.GroupService },
6534
+ { token: i1$1.SubscriptionService },
6535
+ { token: i1$1.DataService },
6542
6536
  { token: i0.Injector },
6543
6537
  { token: i0.ChangeDetectorRef },
6544
6538
  { token: ConfirmDialogService }
@@ -6618,7 +6612,7 @@ var GroupsComponent = class GroupsComponent extends AppBaseComponent {
6618
6612
  },
6619
6613
  {
6620
6614
  kind: "directive",
6621
- type: i1$1.ButtonBusyDirective,
6615
+ type: i1.ButtonBusyDirective,
6622
6616
  selector: "[buttonBusy]",
6623
6617
  inputs: ["buttonBusy", "busyText"]
6624
6618
  },
@@ -6727,7 +6721,7 @@ var GroupsComponent = class GroupsComponent extends AppBaseComponent {
6727
6721
  },
6728
6722
  {
6729
6723
  kind: "directive",
6730
- type: i1$3.NgClass,
6724
+ type: i1$2.NgClass,
6731
6725
  selector: "[ngClass]",
6732
6726
  inputs: ["class", "ngClass"]
6733
6727
  },
@@ -6766,12 +6760,12 @@ var GroupsComponent = class GroupsComponent extends AppBaseComponent {
6766
6760
  },
6767
6761
  {
6768
6762
  kind: "pipe",
6769
- type: i2$4.TranslocoPipe,
6763
+ type: i2$3.TranslocoPipe,
6770
6764
  name: "transloco"
6771
6765
  },
6772
6766
  {
6773
6767
  kind: "pipe",
6774
- type: i1$3.SlicePipe,
6768
+ type: i1$2.SlicePipe,
6775
6769
  name: "slice"
6776
6770
  }
6777
6771
  ]
@@ -6800,9 +6794,9 @@ i0.ɵɵngDeclareClassMetadata({
6800
6794
  }],
6801
6795
  ctorParameters: () => [
6802
6796
  { type: i4$1.UntypedFormBuilder },
6803
- { type: i1$2.GroupService },
6804
- { type: i1$2.SubscriptionService },
6805
- { type: i1$2.DataService },
6797
+ { type: i1$1.GroupService },
6798
+ { type: i1$1.SubscriptionService },
6799
+ { type: i1$1.DataService },
6806
6800
  { type: i0.Injector },
6807
6801
  { type: i0.ChangeDetectorRef },
6808
6802
  { type: ConfirmDialogService }
@@ -6858,7 +6852,7 @@ var LandingPageFooterBComponent = class LandingPageFooterBComponent extends AppB
6858
6852
  ngImport: i0,
6859
6853
  type: LandingPageFooterBComponent,
6860
6854
  deps: [
6861
- { token: i1$2.AuthService },
6855
+ { token: i1$1.AuthService },
6862
6856
  { token: i0.ChangeDetectorRef },
6863
6857
  { token: i0.Injector }
6864
6858
  ],
@@ -6879,7 +6873,7 @@ var LandingPageFooterBComponent = class LandingPageFooterBComponent extends AppB
6879
6873
  dependencies: [
6880
6874
  {
6881
6875
  kind: "directive",
6882
- type: i1$1.LazyImgDirective,
6876
+ type: i1.LazyImgDirective,
6883
6877
  selector: "img"
6884
6878
  },
6885
6879
  {
@@ -6903,7 +6897,7 @@ var LandingPageFooterBComponent = class LandingPageFooterBComponent extends AppB
6903
6897
  },
6904
6898
  {
6905
6899
  kind: "pipe",
6906
- type: i1$3.DatePipe,
6900
+ type: i1$2.DatePipe,
6907
6901
  name: "date"
6908
6902
  }
6909
6903
  ]
@@ -6925,7 +6919,7 @@ i0.ɵɵngDeclareClassMetadata({
6925
6919
  }]
6926
6920
  }],
6927
6921
  ctorParameters: () => [
6928
- { type: i1$2.AuthService },
6922
+ { type: i1$1.AuthService },
6929
6923
  { type: i0.ChangeDetectorRef },
6930
6924
  { type: i0.Injector }
6931
6925
  ]
@@ -7125,7 +7119,7 @@ var NumberPickerComponent = class NumberPickerComponent {
7125
7119
  version: "22.2.3",
7126
7120
  ngImport: i0,
7127
7121
  type: NumberPickerComponent,
7128
- deps: [{ token: i1$2.NumberPickerService }],
7122
+ deps: [{ token: i1$1.NumberPickerService }],
7129
7123
  target: i0.ɵɵFactoryTarget.Component
7130
7124
  });
7131
7125
  }
@@ -7247,7 +7241,7 @@ i0.ɵɵngDeclareClassMetadata({
7247
7241
  styles: ["input[type=number]::-webkit-inner-spin-button,input[type=number]::-webkit-outer-spin-button{appearance:none;margin:0}.increase:hover,.decrease:hover{-webkit-touch-callout:none;-webkit-user-select:none;user-select:none;cursor:pointer;background-color:#d8d8d8}.increase{border-top-right-radius:3px!important;border-bottom-right-radius:3px!important}.vertical{display:flex;justify-content:center;flex-direction:column;text-align:center;-webkit-touch-callout:none;-webkit-user-select:none;user-select:none;cursor:pointer}.vertical span{line-height:15px}.input-md .vertical span,.input-sm .vertical span{padding:2px 10px}.input-lg .vertical span{padding:4px 10px}.input-xlg .vertical span{padding:7px 10px}.input-md,.input-medium{height:45px}.input-lg,.input-large{height:50px}.input-xlg,.input-xlarge{height:75px}.input-md input,.input-medium input,.input-md span,.input-medium span{font-size:22px}.input-lg input,.input-large input,.input-lg span,.input-large span{font-size:25px}.input-xlg input,.input-xlarge input,.input-xlg span,.input-xlarge span{font-size:38px}\n"]
7248
7242
  }]
7249
7243
  }],
7250
- ctorParameters: () => [{ type: i1$2.NumberPickerService }],
7244
+ ctorParameters: () => [{ type: i1$1.NumberPickerService }],
7251
7245
  propDecorators: {
7252
7246
  min: [{ type: Input }],
7253
7247
  showTooltip: [{ type: Input }],
@@ -7336,7 +7330,7 @@ var OnlineIndicatorComponent = class OnlineIndicatorComponent {
7336
7330
  },
7337
7331
  {
7338
7332
  kind: "pipe",
7339
- type: i2$4.TranslocoPipe,
7333
+ type: i2$3.TranslocoPipe,
7340
7334
  name: "transloco"
7341
7335
  },
7342
7336
  {
@@ -7417,7 +7411,7 @@ var PasswordValidationComponent = class PasswordValidationComponent extends AppB
7417
7411
  type: PasswordValidationComponent,
7418
7412
  deps: [
7419
7413
  { token: i0.Injector },
7420
- { token: i1$4.NgbModal },
7414
+ { token: i1$3.NgbModal },
7421
7415
  { token: i0.ChangeDetectorRef }
7422
7416
  ],
7423
7417
  target: i0.ɵɵFactoryTarget.Component
@@ -7477,13 +7471,13 @@ var PasswordValidationComponent = class PasswordValidationComponent extends AppB
7477
7471
  },
7478
7472
  {
7479
7473
  kind: "directive",
7480
- type: i1$1.ButtonBusyDirective,
7474
+ type: i1.ButtonBusyDirective,
7481
7475
  selector: "[buttonBusy]",
7482
7476
  inputs: ["buttonBusy", "busyText"]
7483
7477
  },
7484
7478
  {
7485
7479
  kind: "pipe",
7486
- type: i2$4.TranslocoPipe,
7480
+ type: i2$3.TranslocoPipe,
7487
7481
  name: "transloco"
7488
7482
  }
7489
7483
  ]
@@ -7506,7 +7500,7 @@ i0.ɵɵngDeclareClassMetadata({
7506
7500
  }],
7507
7501
  ctorParameters: () => [
7508
7502
  { type: i0.Injector },
7509
- { type: i1$4.NgbModal },
7503
+ { type: i1$3.NgbModal },
7510
7504
  { type: i0.ChangeDetectorRef }
7511
7505
  ],
7512
7506
  propDecorators: {
@@ -7633,6 +7627,39 @@ i0.ɵɵngDeclareClassMetadata({
7633
7627
  ctorParameters: () => [{ type: i0.ElementRef }],
7634
7628
  propDecorators: { data: [{ type: Input }] }
7635
7629
  });
7630
+ function toSemanticLists(doc) {
7631
+ doc.querySelectorAll("ol").forEach((list) => {
7632
+ const items = Array.from(list.children).filter((child) => child.tagName === "LI");
7633
+ if (!items.some((item) => item.hasAttribute("data-list"))) return;
7634
+ const root = doc.createDocumentFragment();
7635
+ const open = [];
7636
+ const top = () => open[open.length - 1];
7637
+ items.forEach((item) => {
7638
+ const level = Number(/ql-indent-(\d+)/.exec(item.className)?.[1] ?? 0);
7639
+ const type = item.getAttribute("data-list") === "ordered" ? "ol" : "ul";
7640
+ while ((top()?.level ?? -1) > level) open.pop();
7641
+ if (top()?.level === level && top()?.type !== type) open.pop();
7642
+ let current = top();
7643
+ if (current?.level !== level) {
7644
+ const el = doc.createElement(type);
7645
+ (current?.el.lastElementChild ?? current?.el ?? root).appendChild(el);
7646
+ current = {
7647
+ level,
7648
+ type,
7649
+ el
7650
+ };
7651
+ open.push(current);
7652
+ }
7653
+ item.querySelectorAll(":scope > .ql-ui").forEach((marker) => marker.remove());
7654
+ item.removeAttribute("data-list");
7655
+ item.classList.remove(`ql-indent-${level}`);
7656
+ if (!item.classList.length) item.removeAttribute("class");
7657
+ current.el.appendChild(item);
7658
+ });
7659
+ list.replaceWith(root);
7660
+ });
7661
+ }
7662
+ const TABS = /* @__PURE__ */ new Set(["privacy-policy", "terms-of-service"]);
7636
7663
  var PrivacyAndTosComponent = class PrivacyAndTosComponent extends AppBaseComponent {
7637
7664
  get companyName() {
7638
7665
  return this.appConfig?.company?.name ?? "";
@@ -7640,57 +7667,61 @@ var PrivacyAndTosComponent = class PrivacyAndTosComponent extends AppBaseCompone
7640
7667
  get companyEmail() {
7641
7668
  return this.appConfig?.company?.email ?? "";
7642
7669
  }
7643
- constructor(adminService, injector, document, sanitizer, cdr) {
7670
+ constructor(legalPages, injector, cdr) {
7644
7671
  super(injector);
7645
- this.adminService = adminService;
7646
- this.document = document;
7647
- this.sanitizer = sanitizer;
7672
+ this.legalPages = legalPages;
7648
7673
  this.cdr = cdr;
7649
7674
  this.routers = ADMIN_ROUTERS;
7650
7675
  this.tabId = "privacy-policy";
7651
7676
  this.tocPrivacy = [];
7652
7677
  this.tocTos = [];
7678
+ this.destroyRef = inject(DestroyRef);
7653
7679
  }
7654
7680
  get canEditPolicy() {
7655
7681
  return !!this.privacyServiceId && this.permissionService.isUserSubscriptionSuperAdmin();
7656
7682
  }
7657
7683
  ngOnInit() {
7658
- this.privacyAndTos = this.appConfig?.main_tos_id;
7659
- this.product = this.route.snapshot.queryParamMap.get("product");
7660
- const tabFromQuery = this.route.snapshot.queryParamMap.get("tab");
7661
- if (tabFromQuery === "privacy-policy" || tabFromQuery === "terms-of-service") this.tabId = tabFromQuery;
7662
- this.isLoaded = false;
7663
- this.route.params.subscribe((data) => {
7664
- this.id = data["Id"];
7665
- if (this.id) {
7666
- const id = this.id === "details" ? this.privacyAndTos : this.id;
7667
- this.getTosDetails(Number(id));
7668
- this.isPublic = true;
7669
- } else if (this.productId) this.getSubscribedProduct(this.productId);
7670
- else this.route.params.subscribe((id) => {
7671
- this.tabId = id["data"] ?? "privacy-policy";
7672
- this.getSubscribedProduct();
7673
- this.cdr.markForCheck();
7674
- });
7675
- this.cdr.markForCheck();
7676
- });
7677
- }
7678
- getSubscribedProduct(id) {
7679
- this.userStore().subscribe((user) => {
7680
- this.user = user;
7681
- if (user) this.fetchUserSubscriptions(user.id, id);
7684
+ const snapshot = this.route.snapshot;
7685
+ const tab = snapshot.queryParamMap.get("tab") ?? snapshot.data?.["tab"];
7686
+ this.tabId = TABS.has(tab) ? tab : "privacy-policy";
7687
+ this.isPublic = !!snapshot.data?.["public"];
7688
+ (this.productId || !this.isPublic ? this.productSlug(this.productId ?? PermissionService.selectedProduct?.id) : this.route.params.pipe(map((params) => params["slug"] ?? null))).pipe(tap(() => this.isLoaded = false), switchMap((slug) => this.legalPages.getPolicy(slug).pipe(catchError(() => of(null)))), takeUntilDestroyed(this.destroyRef)).subscribe((policy) => {
7689
+ this.show(policy);
7690
+ this.isLoaded = true;
7682
7691
  this.cdr.markForCheck();
7683
7692
  });
7684
7693
  }
7685
- fetchUserSubscriptions(userId, id) {
7686
- this.userService.getUserSubscriptions(userId).subscribe((response) => {
7687
- this.subscribedSubscriptions = response.subscriptions;
7688
- const productId = id ?? PermissionService.selectedProduct.id;
7689
- const products = this.findRequiredProducts(productId);
7690
- this.productName = products[0]?.name;
7691
- this.getTosDetails(products[0].product_privacy_service_id);
7692
- this.cdr.markForCheck();
7693
- });
7694
+ productSlug(productId) {
7695
+ return this.userStore().pipe(map((user) => user?.id ?? null), distinctUntilChanged(), switchMap((userId) => userId ? this.userService.getUserSubscriptions(userId).pipe(map((response) => this.policyIdOf(response?.subscriptions, productId)), catchError(() => of(null))) : of(null)), switchMap((policyId) => this.legalPages.slugFor(policyId)));
7696
+ }
7697
+ policyIdOf(subscriptions, productId) {
7698
+ return (subscriptions ?? []).flatMap((subscription) => subscription?.products ?? []).find((item) => item?.id === productId)?.product_privacy_service_id ?? null;
7699
+ }
7700
+ show(policy) {
7701
+ this.privacyServiceId = policy?.id;
7702
+ const privacy = this.parse(policy?.privacy, "pp");
7703
+ const tos = this.parse(policy?.tos, "tos");
7704
+ this.tocPrivacy = privacy.toc;
7705
+ this.tocTos = tos.toc;
7706
+ this.data = policy ? {
7707
+ tos_updated_at: policy.tos_updated_at,
7708
+ privacy: privacy.html,
7709
+ tos: tos.html
7710
+ } : {};
7711
+ }
7712
+ parse(html, prefix) {
7713
+ if (!html || typeof DOMParser === "undefined") return {
7714
+ html,
7715
+ toc: []
7716
+ };
7717
+ const doc = new DOMParser().parseFromString(html, "text/html");
7718
+ doc.querySelectorAll("button").forEach((b) => b.remove());
7719
+ toSemanticLists(doc);
7720
+ const toc = this.buildToc(doc, prefix);
7721
+ return {
7722
+ html: doc.body.innerHTML,
7723
+ toc
7724
+ };
7694
7725
  }
7695
7726
  buildToc(doc, prefix) {
7696
7727
  const items = [];
@@ -7704,43 +7735,6 @@ var PrivacyAndTosComponent = class PrivacyAndTosComponent extends AppBaseCompone
7704
7735
  });
7705
7736
  return items;
7706
7737
  }
7707
- findRequiredProducts(productId) {
7708
- const products = [];
7709
- this.subscribedSubscriptions.forEach((subscribe) => {
7710
- const requiredProduct = subscribe?.products.find((x) => x?.id === productId);
7711
- if (requiredProduct) products.push(requiredProduct);
7712
- });
7713
- return products;
7714
- }
7715
- getTosDetails(id) {
7716
- this.privacyServiceId = id;
7717
- this.adminService.getTosDetails(id).subscribe((response) => {
7718
- const parser = new DOMParser();
7719
- let privacyData;
7720
- if (response?.privacy) {
7721
- const privacyDoc = parser.parseFromString(response?.privacy, "text/html");
7722
- privacyDoc.querySelectorAll("button").forEach((b) => b.remove());
7723
- this.tocPrivacy = this.buildToc(privacyDoc, "pp");
7724
- privacyData = this.sanitizer.bypassSecurityTrustHtml(privacyDoc.body.innerHTML);
7725
- }
7726
- let tosData;
7727
- if (response?.tos) {
7728
- const tosDoc = parser.parseFromString(response?.tos, "text/html");
7729
- tosDoc.querySelectorAll("button").forEach((b) => b.remove());
7730
- this.tocTos = this.buildToc(tosDoc, "tos");
7731
- tosData = this.sanitizer.bypassSecurityTrustHtml(tosDoc.body.innerHTML);
7732
- }
7733
- this.data = {
7734
- ...response,
7735
- privacy: privacyData,
7736
- tos: tosData
7737
- };
7738
- this.cdr.markForCheck();
7739
- }).add(() => {
7740
- this.isLoaded = true;
7741
- this.cdr.markForCheck();
7742
- });
7743
- }
7744
7738
  static {
7745
7739
  this.ɵfac = i0.ɵɵngDeclareFactory({
7746
7740
  minVersion: "12.0.0",
@@ -7748,10 +7742,8 @@ var PrivacyAndTosComponent = class PrivacyAndTosComponent extends AppBaseCompone
7748
7742
  ngImport: i0,
7749
7743
  type: PrivacyAndTosComponent,
7750
7744
  deps: [
7751
- { token: i1.AdminService },
7745
+ { token: i1$1.LegalPagesService },
7752
7746
  { token: i0.Injector },
7753
- { token: DOCUMENT$1 },
7754
- { token: i2$2.DomSanitizer },
7755
7747
  { token: i0.ChangeDetectorRef }
7756
7748
  ],
7757
7749
  target: i0.ɵɵFactoryTarget.Component
@@ -7768,7 +7760,7 @@ var PrivacyAndTosComponent = class PrivacyAndTosComponent extends AppBaseCompone
7768
7760
  usesInheritance: true,
7769
7761
  ngImport: i0,
7770
7762
  template: "@if (isPublic) {\n <pw-header [landing]=\"false\"></pw-header>\n}\n\n<div class=\"legal-page\" [class.legal-page--public]=\"isPublic\">\n\n <section class=\"legal-hero\">\n <div class=\"legal-hero__container\">\n @if (!isPublic) {\n <a class=\"legal-hero__back\" (click)=\"back()\" (keydown.enter)=\"back()\" role=\"button\" tabindex=\"0\" aria-label=\"Back\">\n <i class=\"fa fa-chevron-left\" aria-hidden=\"true\"></i>\n <span>Back</span>\n </a>\n }\n <span class=\"legal-hero__eyebrow\">Legal</span>\n <h1 class=\"legal-hero__title\">Privacy &amp; terms</h1>\n <p class=\"legal-hero__subtitle\">\n @if (companyName) {\n Read how {{ companyName }} handles your data and what governs your use of the product.\n } @else {\n Read how we handle your data and what governs your use of the product.\n }\n </p>\n <div class=\"legal-hero__meta\">\n @if (data?.tos_updated_at) {\n <span class=\"legal-hero__pill\">\n <i class=\"fa fa-clock\" aria-hidden=\"true\"></i>\n Last updated {{ data.tos_updated_at | date: 'MMM d, y' }}\n </span>\n }\n @if (!isPublic && canEditPolicy) {\n <a class=\"legal-hero__edit\"\n [routerLink]=\"[routers.tosAndPrivacyDetails + privacyServiceId]\"\n [attr.aria-label]=\"'Button.Edit' | transloco\">\n <i class=\"fa fa-pen\" aria-hidden=\"true\"></i>\n <span>{{ 'Button.Edit' | transloco }}</span>\n </a>\n }\n </div>\n </div>\n </section>\n\n <div class=\"legal-tabs-band\">\n <div class=\"legal-tabs-band__container\">\n <ul ngbNav #nav=\"ngbNav\" [(activeId)]=\"tabId\" class=\"legal-tabs\">\n <li [ngbNavItem]=\"'privacy-policy'\" class=\"legal-tabs__item\">\n <a ngbNavLink class=\"legal-tabs__link\">Privacy policy</a>\n <ng-template ngbNavContent>\n <article class=\"legal-page__card\">\n @if (data?.privacy) {\n <div class=\"ql-container ql-snow legal-page__body\">\n <div class=\"ql-editor\" [innerHTML]=\"data?.privacy\"></div>\n </div>\n } @else {\n <div class=\"legal-page__empty\">\n <i class=\"fa fa-file-lines\" aria-hidden=\"true\"></i>\n <h2>Privacy policy isn't published yet</h2>\n <p>The policy for this product hasn't been written. Check back later.</p>\n </div>\n }\n </article>\n </ng-template>\n </li>\n <li [ngbNavItem]=\"'terms-of-service'\" class=\"legal-tabs__item\">\n <a ngbNavLink class=\"legal-tabs__link\">Terms of service</a>\n <ng-template ngbNavContent>\n <article class=\"legal-page__card\">\n @if (data?.tos) {\n <div class=\"ql-container ql-snow legal-page__body\">\n <div class=\"ql-editor\" [innerHTML]=\"data?.tos\"></div>\n </div>\n } @else {\n <div class=\"legal-page__empty\">\n <i class=\"fa fa-file-lines\" aria-hidden=\"true\"></i>\n <h2>Terms of service aren't published yet</h2>\n <p>The terms for this product haven't been written. Check back later.</p>\n </div>\n }\n </article>\n </ng-template>\n </li>\n </ul>\n </div>\n </div>\n\n <div class=\"legal-body\" [class.legal-body--no-toc]=\"\n (tabId === 'privacy-policy' && !tocPrivacy.length) ||\n (tabId === 'terms-of-service' && !tocTos.length)\n \">\n <div class=\"legal-body__container\">\n\n @if ((tabId === 'privacy-policy' && tocPrivacy.length) || (tabId === 'terms-of-service' && tocTos.length)) {\n <aside class=\"legal-sidebar\" aria-label=\"On this page\">\n <p class=\"legal-sidebar__label\">On this page</p>\n <nav class=\"legal-sidebar__nav\">\n @if (tabId === 'privacy-policy') {\n @for (item of tocPrivacy; track item.id) {\n <a class=\"legal-sidebar__link\" [href]=\"'#' + item.id\">{{ item.text }}</a>\n }\n } @else {\n @for (item of tocTos; track item.id) {\n <a class=\"legal-sidebar__link\" [href]=\"'#' + item.id\">{{ item.text }}</a>\n }\n }\n </nav>\n </aside>\n }\n\n <main class=\"legal-main\">\n <pw-loader [isVisible]=\"!isLoaded\"></pw-loader>\n @if (isLoaded) {\n <div [ngbNavOutlet]=\"nav\"></div>\n }\n\n @if (isLoaded && companyEmail) {\n <section class=\"legal-contact\">\n <span class=\"legal-contact__label\">Questions?</span>\n <h2 class=\"legal-contact__title\">Talk to us about your data.</h2>\n <p class=\"legal-contact__body\">\n If anything here is unclear, or you want to exercise a right under these\n policies, reach out and we'll get back to you.\n </p>\n <a class=\"legal-contact__cta\" [href]=\"'mailto:' + companyEmail\">\n <i class=\"fa fa-envelope\" aria-hidden=\"true\"></i>\n <span>{{ companyEmail }}</span>\n </a>\n </section>\n }\n </main>\n\n </div>\n </div>\n\n</div>\n",
7771
- styles: ["@charset \"UTF-8\";:root{--first: rgb(23 105 225);--second: rgb(54 194 131);--third: rgb(255 171 0);--text: rgb(34 34 34);--tabs_bg: rgb(23 105 225);--tabs_sub_bg: color-mix(in srgb, var(--first, rgb(23 105 225)) 85%, #000000);--tabs_text: rgb(255 255 255);--titles: rgb(34 34 34);--sidebar_bg: rgb(0, 48, 63);--sidebar_text: rgb(255 255 255);--dashboard_bg: rgb(255 255 255);--public-btn-radius: 24px}.legal-page{background:#f7f8fa;min-height:100vh}.legal-page--public{padding-top:64px}.legal-hero{padding:56px 0 32px}.legal-hero__container{max-width:1200px;margin:0 auto;padding:0 clamp(20px,4vw,48px)}.legal-hero__back{display:inline-flex;align-items:center;gap:8px;margin:0 0 24px;padding:6px 14px 6px 10px;font:600 13px/1 Roboto,sans-serif;color:#5a6473;text-decoration:none;cursor:pointer;border:1px solid #e2e5ea;border-radius:9999px;background:#fff;transition:color .15s cubic-bezier(.2,.7,.2,1),border-color .15s cubic-bezier(.2,.7,.2,1)}.legal-hero__back:hover{color:#1a1d21;border-color:#cfd4dc}.legal-hero__back .fa{font-size:11px;color:#7c8696}.legal-hero__eyebrow{display:inline-block;font:600 12px/1 Roboto,sans-serif;text-transform:uppercase;letter-spacing:.12em;color:var(--first);margin-bottom:16px}h1.legal-hero__title{font:700 clamp(36px,4.4vw,52px)/1.1 \"Roboto\",sans-serif;color:#1a1d21!important;margin:0 0 16px;letter-spacing:-.02em}.legal-hero__subtitle{font:400 clamp(16px,1.4vw,19px)/1.5 \"Roboto\",sans-serif;color:#5a6473;margin:0;text-wrap:pretty}.legal-hero__meta{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-top:24px}.legal-hero__pill{display:inline-flex;align-items:center;gap:8px;padding:7px 14px;background:#fff;border:1px solid #e2e5ea;border-radius:9999px;font:500 12px/1 Roboto,sans-serif;color:#5a6473}.legal-hero__pill .fa{font-size:11px;color:#7c8696}.legal-hero__edit{display:inline-flex;align-items:center;gap:8px;padding:7px 14px;font:600 12px/1 Roboto,sans-serif;color:var(--first);text-decoration:none;border:1px solid #cfd4dc;border-radius:9999px;background:#fff;transition:border-color .15s cubic-bezier(.2,.7,.2,1)}.legal-hero__edit:hover{border-color:var(--first)}.legal-tabs-band{border-bottom:1px solid #e2e5ea;background:#f7f8fa}.legal-tabs-band__container{max-width:1200px;margin:0 auto;padding:0 clamp(20px,4vw,48px)}.legal-tabs{display:inline-flex;gap:0;padding:0;margin:0;list-style:none;border-bottom:0}.legal-tabs__item{margin:0;padding:0}.legal-tabs__link{display:inline-flex;align-items:center;padding:14px 4px;margin-right:28px;font:600 14px/1 Roboto,sans-serif;color:#5a6473;text-decoration:none;cursor:pointer;border-bottom:2px solid transparent;transition:color .15s cubic-bezier(.2,.7,.2,1),border-color .15s cubic-bezier(.2,.7,.2,1)}.legal-tabs__link:hover{color:#1a1d21}.legal-tabs__link.active,.legal-tabs__item.active .legal-tabs__link{color:#1a1d21;border-bottom-color:var(--first)}.legal-body{padding:48px 0 96px}.legal-body__container{max-width:1200px;margin:0 auto;padding:0 clamp(20px,4vw,48px);display:grid;grid-template-columns:240px minmax(0,1fr);gap:64px;align-items:start}.legal-body--no-toc .legal-body__container{grid-template-columns:minmax(0,1fr)}.legal-sidebar{position:sticky;top:88px}.legal-sidebar__label{font:600 11px/1 Roboto,sans-serif;text-transform:uppercase;letter-spacing:.12em;color:#7c8696;margin:0 0 14px}.legal-sidebar__nav{display:flex;flex-direction:column;border-left:1px solid #e2e5ea}.legal-sidebar__link{display:block;padding:7px 14px;margin-left:-1px;border-left:2px solid transparent;font:500 13px/1.45 Roboto,sans-serif;color:#5a6473;text-decoration:none;transition:color .15s cubic-bezier(.2,.7,.2,1),border-color .15s cubic-bezier(.2,.7,.2,1)}.legal-sidebar__link:hover{color:#1a1d21}.legal-sidebar__link:target,.legal-sidebar__link.is-active{color:var(--first);border-left-color:var(--first)}.legal-main{min-width:0}.legal-page__card{display:block;background:#fff;border:1px solid #e2e5ea;border-radius:14px;padding:48px;box-shadow:0 1px 2px #0f172a08}.legal-page__body{max-width:70ch}.legal-page__empty{text-align:center;padding:56px 16px;color:#5a6473}.legal-page__empty .fa{font-size:40px;color:#cfd4dc;margin-bottom:20px}.legal-page__empty h2{font:600 20px/1.3 Roboto,sans-serif;color:#1a1d21!important;margin:0 0 8px}.legal-page__empty p{font:400 15px/1.6 Roboto,sans-serif;color:#5a6473;margin:0}.legal-contact{margin-top:32px;padding:36px;background:#fff;border:1px solid #e2e5ea;border-radius:14px;box-shadow:0 1px 2px #0f172a08}.legal-contact__label{display:inline-block;font:600 11px/1 Roboto,sans-serif;text-transform:uppercase;letter-spacing:.12em;color:#7c8696;margin-bottom:10px}h2.legal-contact__title{font:600 22px/1.3 Roboto,sans-serif;color:#1a1d21!important;margin:0 0 10px;letter-spacing:-.005em}.legal-contact__body{font:400 15px/1.65 Roboto,sans-serif;color:#5a6473;margin:0 0 20px;max-width:56ch;text-wrap:pretty}.legal-contact__cta{display:inline-flex;align-items:center;gap:10px;height:44px;padding:0 22px;font:600 14px/1 Roboto,sans-serif;color:#fff!important;text-decoration:none;background:var(--first);border:1px solid var(--first);border-radius:10px;transition:background-color .15s cubic-bezier(.2,.7,.2,1),transform .15s cubic-bezier(.2,.7,.2,1),box-shadow .15s cubic-bezier(.2,.7,.2,1)}.legal-contact__cta:hover{background:color-mix(in srgb,var(--first) 88%,#000 12%);transform:translateY(-1px);box-shadow:0 10px 24px -12px var(--first)}::ng-deep .legal-page__body.ql-container,::ng-deep .legal-page__body .ql-container{max-width:none!important;margin:0;border:0!important;font-family:Roboto,sans-serif;resize:none!important}::ng-deep .legal-page__body .ql-editor{padding:0;max-width:70ch;font:400 16px/1.75 Roboto,sans-serif;color:#5a6473}::ng-deep .legal-page__body .ql-editor h1{font:700 28px/1.25 Roboto,sans-serif;color:#1a1d21;margin:0 0 16px;letter-spacing:-.01em}::ng-deep .legal-page__body .ql-editor h2{font:600 24px/1.3 Roboto,sans-serif;color:#1a1d21;margin:40px 0 12px;letter-spacing:-.005em;scroll-margin-top:88px}::ng-deep .legal-page__body .ql-editor h3{font:600 18px/1.4 Roboto,sans-serif;color:#1a1d21;margin:28px 0 8px}::ng-deep .legal-page__body .ql-editor h4,::ng-deep .legal-page__body .ql-editor h5,::ng-deep .legal-page__body .ql-editor h6{font:600 16px/1.4 Roboto,sans-serif;color:#1a1d21;margin:24px 0 6px}::ng-deep .legal-page__body .ql-editor p{font:400 16px/1.75 Roboto,sans-serif;color:#5a6473;margin:0 0 14px;text-wrap:pretty}::ng-deep .legal-page__body .ql-editor p strong,::ng-deep .legal-page__body .ql-editor strong{font-weight:600;color:#1a1d21}::ng-deep .legal-page__body .ql-editor a{color:var(--first);text-decoration:none;font-weight:500}::ng-deep .legal-page__body .ql-editor a:hover{text-decoration:underline}::ng-deep .legal-page__body .ql-editor ol,::ng-deep .legal-page__body .ql-editor ul{padding-left:24px;margin:8px 0 16px}::ng-deep .legal-page__body .ql-editor ol li,::ng-deep .legal-page__body .ql-editor ul li{font:400 16px/1.75 Roboto,sans-serif;color:#5a6473;margin:6px 0;padding:0}::ng-deep .legal-page__body .ql-editor ol li::marker,::ng-deep .legal-page__body .ql-editor ul li::marker{color:#7c8696;font-weight:500}::ng-deep .legal-page__body .ql-editor blockquote{border-left:3px solid #e2e5ea;padding:4px 0 4px 18px;margin:20px 0;color:#5a6473;font-style:italic}::ng-deep .legal-page__body .ql-editor hr{border:0;border-top:1px solid #e2e5ea;margin:40px 0}@media(max-width:991px){.legal-hero{padding:40px 0 24px}.legal-body{padding:32px 0 64px}.legal-body__container{grid-template-columns:1fr;gap:32px}.legal-sidebar{position:static}.legal-sidebar__nav{display:none}.legal-page__card{padding:32px}.legal-contact{padding:28px}}@media(max-width:575px){.legal-hero{padding:32px 0 20px}h1.legal-hero__title{font-size:30px}.legal-page__card,.legal-contact{padding:22px;border-radius:12px}.legal-contact__title{font-size:19px}.legal-tabs__link{padding:12px 4px;margin-right:20px;font-size:13px}}@media print{.legal-page{background:#fff}.legal-sidebar,.legal-tabs-band,.legal-hero__back,.legal-hero__edit,.legal-contact__cta{display:none!important}.legal-page__card{border:0;padding:0;box-shadow:none}.legal-body__container{grid-template-columns:1fr}}\n"],
7763
+ styles: ["@charset \"UTF-8\";:root{--first: rgb(23 105 225);--second: rgb(54 194 131);--third: rgb(255 171 0);--text: rgb(34 34 34);--tabs_bg: rgb(23 105 225);--tabs_sub_bg: color-mix(in srgb, var(--first, rgb(23 105 225)) 85%, #000000);--tabs_text: rgb(255 255 255);--titles: rgb(34 34 34);--sidebar_bg: rgb(0, 48, 63);--sidebar_text: rgb(255 255 255);--dashboard_bg: rgb(255 255 255);--public-btn-radius: 24px}.legal-page{background:#f7f8fa;min-height:100vh}.legal-page--public{padding-top:64px}.legal-hero{padding:56px 0 32px}.legal-hero__container{max-width:1200px;margin:0 auto;padding:0 clamp(20px,4vw,48px)}.legal-hero__back{display:inline-flex;align-items:center;gap:8px;margin:0 0 24px;padding:6px 14px 6px 10px;font:600 13px/1 Roboto,sans-serif;color:#5a6473;text-decoration:none;cursor:pointer;border:1px solid #e2e5ea;border-radius:9999px;background:#fff;transition:color .15s cubic-bezier(.2,.7,.2,1),border-color .15s cubic-bezier(.2,.7,.2,1)}.legal-hero__back:hover{color:#1a1d21;border-color:#cfd4dc}.legal-hero__back .fa{font-size:11px;color:#7c8696}.legal-hero__eyebrow{display:inline-block;font:600 12px/1 Roboto,sans-serif;text-transform:uppercase;letter-spacing:.12em;color:var(--first);margin-bottom:16px}h1.legal-hero__title{font:700 clamp(36px,4.4vw,52px)/1.1 \"Roboto\",sans-serif;color:#1a1d21!important;margin:0 0 16px;letter-spacing:-.02em}.legal-hero__subtitle{font:400 clamp(16px,1.4vw,19px)/1.5 \"Roboto\",sans-serif;color:#5a6473;margin:0;text-wrap:pretty}.legal-hero__meta{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-top:24px}.legal-hero__pill{display:inline-flex;align-items:center;gap:8px;padding:7px 14px;background:#fff;border:1px solid #e2e5ea;border-radius:9999px;font:500 12px/1 Roboto,sans-serif;color:#5a6473}.legal-hero__pill .fa{font-size:11px;color:#7c8696}.legal-hero__edit{display:inline-flex;align-items:center;gap:8px;padding:7px 14px;font:600 12px/1 Roboto,sans-serif;color:var(--first);text-decoration:none;border:1px solid #cfd4dc;border-radius:9999px;background:#fff;transition:border-color .15s cubic-bezier(.2,.7,.2,1)}.legal-hero__edit:hover{border-color:var(--first)}.legal-tabs-band{border-bottom:1px solid #e2e5ea;background:#f7f8fa}.legal-tabs-band__container{max-width:1200px;margin:0 auto;padding:0 clamp(20px,4vw,48px)}.legal-tabs{display:inline-flex;gap:0;padding:0;margin:0;list-style:none;border-bottom:0}.legal-tabs__item{margin:0;padding:0}.legal-tabs__link{display:inline-flex;align-items:center;padding:14px 4px;margin-right:28px;font:600 14px/1 Roboto,sans-serif;color:#5a6473;text-decoration:none;cursor:pointer;border-bottom:2px solid transparent;transition:color .15s cubic-bezier(.2,.7,.2,1),border-color .15s cubic-bezier(.2,.7,.2,1)}.legal-tabs__link:hover{color:#1a1d21}.legal-tabs__link.active,.legal-tabs__item.active .legal-tabs__link{color:#1a1d21;border-bottom-color:var(--first)}.legal-body{padding:48px 0 96px}.legal-body__container{max-width:1200px;margin:0 auto;padding:0 clamp(20px,4vw,48px);display:grid;grid-template-columns:240px minmax(0,1fr);gap:64px;align-items:start}.legal-body--no-toc .legal-body__container{grid-template-columns:minmax(0,1fr)}.legal-sidebar{position:sticky;top:88px}.legal-sidebar__label{font:600 11px/1 Roboto,sans-serif;text-transform:uppercase;letter-spacing:.12em;color:#7c8696;margin:0 0 14px}.legal-sidebar__nav{display:flex;flex-direction:column;border-left:1px solid #e2e5ea}.legal-sidebar__link{display:block;padding:7px 14px;margin-left:-1px;border-left:2px solid transparent;font:500 13px/1.45 Roboto,sans-serif;color:#5a6473;text-decoration:none;transition:color .15s cubic-bezier(.2,.7,.2,1),border-color .15s cubic-bezier(.2,.7,.2,1)}.legal-sidebar__link:hover{color:#1a1d21}.legal-sidebar__link:target,.legal-sidebar__link.is-active{color:var(--first);border-left-color:var(--first)}.legal-main{min-width:0}.legal-page__card{display:block;background:#fff;border:1px solid #e2e5ea;border-radius:14px;padding:48px;box-shadow:0 1px 2px #0f172a08}.legal-page__body{max-width:70ch}.legal-page__empty{text-align:center;padding:56px 16px;color:#5a6473}.legal-page__empty .fa{font-size:40px;color:#cfd4dc;margin-bottom:20px}.legal-page__empty h2{font:600 20px/1.3 Roboto,sans-serif;color:#1a1d21!important;margin:0 0 8px}.legal-page__empty p{font:400 15px/1.6 Roboto,sans-serif;color:#5a6473;margin:0}.legal-contact{margin-top:32px;padding:36px;background:#fff;border:1px solid #e2e5ea;border-radius:14px;box-shadow:0 1px 2px #0f172a08}.legal-contact__label{display:inline-block;font:600 11px/1 Roboto,sans-serif;text-transform:uppercase;letter-spacing:.12em;color:#7c8696;margin-bottom:10px}h2.legal-contact__title{font:600 22px/1.3 Roboto,sans-serif;color:#1a1d21!important;margin:0 0 10px;letter-spacing:-.005em}.legal-contact__body{font:400 15px/1.65 Roboto,sans-serif;color:#5a6473;margin:0 0 20px;max-width:56ch;text-wrap:pretty}.legal-contact__cta{display:inline-flex;align-items:center;gap:10px;height:44px;padding:0 22px;font:600 14px/1 Roboto,sans-serif;color:#fff!important;text-decoration:none;background:var(--first);border:1px solid var(--first);border-radius:10px;transition:background-color .15s cubic-bezier(.2,.7,.2,1),transform .15s cubic-bezier(.2,.7,.2,1),box-shadow .15s cubic-bezier(.2,.7,.2,1)}.legal-contact__cta:hover{background:color-mix(in srgb,var(--first) 88%,#000 12%);transform:translateY(-1px);box-shadow:0 10px 24px -12px var(--first)}::ng-deep .legal-page__body.ql-container,::ng-deep .legal-page__body .ql-container{max-width:none!important;margin:0;border:0!important;font-family:Roboto,sans-serif;resize:none!important}::ng-deep .legal-page__body .ql-editor{padding:0;max-width:70ch;font:400 16px/1.75 Roboto,sans-serif;color:#5a6473}::ng-deep .legal-page__body .ql-editor h1{font:700 28px/1.25 Roboto,sans-serif;color:#1a1d21;margin:0 0 16px;letter-spacing:-.01em}::ng-deep .legal-page__body .ql-editor h2{font:600 24px/1.3 Roboto,sans-serif;color:#1a1d21;margin:40px 0 12px;letter-spacing:-.005em;scroll-margin-top:88px}::ng-deep .legal-page__body .ql-editor h3{font:600 18px/1.4 Roboto,sans-serif;color:#1a1d21;margin:28px 0 8px}::ng-deep .legal-page__body .ql-editor h4,::ng-deep .legal-page__body .ql-editor h5,::ng-deep .legal-page__body .ql-editor h6{font:600 16px/1.4 Roboto,sans-serif;color:#1a1d21;margin:24px 0 6px}::ng-deep .legal-page__body .ql-editor p{font:400 16px/1.75 Roboto,sans-serif;color:#5a6473;margin:0 0 14px;text-wrap:pretty}::ng-deep .legal-page__body .ql-editor p strong,::ng-deep .legal-page__body .ql-editor strong{font-weight:600;color:#1a1d21}::ng-deep .legal-page__body .ql-editor a{color:var(--first);text-decoration:none;font-weight:500}::ng-deep .legal-page__body .ql-editor a:hover{text-decoration:underline}::ng-deep .legal-page__body .ql-editor ol,::ng-deep .legal-page__body .ql-editor ul{padding-left:24px;margin:8px 0 16px}::ng-deep .legal-page__body .ql-editor ol li,::ng-deep .legal-page__body .ql-editor ul li{font:400 16px/1.75 Roboto,sans-serif;color:#5a6473;margin:6px 0;padding:0}::ng-deep .legal-page__body .ql-editor ol li::marker,::ng-deep .legal-page__body .ql-editor ul li::marker{color:#7c8696;font-weight:500}::ng-deep .legal-page__body .ql-editor blockquote{border-left:3px solid #e2e5ea;padding:4px 0 4px 18px;margin:20px 0;color:#5a6473;font-style:italic}::ng-deep .legal-page__body .ql-editor hr{border:0;border-top:1px solid #e2e5ea;margin:40px 0}@media(max-width:991px){.legal-hero{padding:40px 0 24px}.legal-body{padding:32px 0 64px}.legal-body__container{grid-template-columns:1fr;gap:32px}.legal-sidebar{position:static}.legal-sidebar__nav{display:none}.legal-page__card{padding:32px}.legal-contact{padding:28px}}@media(max-width:575px){.legal-hero{padding:32px 0 20px}h1.legal-hero__title{font-size:30px}.legal-page__card,.legal-contact{padding:22px;border-radius:12px}.legal-contact__title{font-size:19px}.legal-tabs__link{padding:12px 4px;margin-right:20px;font-size:13px}}@media print{.legal-page{background:#fff}.legal-sidebar,.legal-tabs-band,.legal-hero__back,.legal-hero__edit,.legal-contact__cta{display:none!important}.legal-page__card{border:0;padding:0;box-shadow:none}.legal-body__container{grid-template-columns:1fr}}\n", "::ng-deep .legal-page__body .ql-editor ul>li{list-style-type:disc}::ng-deep .legal-page__body .ql-editor ul ul>li{list-style-type:circle}::ng-deep .legal-page__body .ql-editor ol>li{list-style-type:decimal}::ng-deep .legal-page__body .ql-editor ol ol>li{list-style-type:lower-alpha}\n"],
7772
7764
  dependencies: [
7773
7765
  {
7774
7766
  kind: "component",
@@ -7801,12 +7793,12 @@ var PrivacyAndTosComponent = class PrivacyAndTosComponent extends AppBaseCompone
7801
7793
  },
7802
7794
  {
7803
7795
  kind: "directive",
7804
- type: i1$4.NgbNavContent,
7796
+ type: i1$3.NgbNavContent,
7805
7797
  selector: "ng-template[ngbNavContent]"
7806
7798
  },
7807
7799
  {
7808
7800
  kind: "directive",
7809
- type: i1$4.NgbNav,
7801
+ type: i1$3.NgbNav,
7810
7802
  selector: "[ngbNav]",
7811
7803
  inputs: [
7812
7804
  "activeId",
@@ -7826,7 +7818,7 @@ var PrivacyAndTosComponent = class PrivacyAndTosComponent extends AppBaseCompone
7826
7818
  },
7827
7819
  {
7828
7820
  kind: "directive",
7829
- type: i1$4.NgbNavItem,
7821
+ type: i1$3.NgbNavItem,
7830
7822
  selector: "[ngbNavItem]",
7831
7823
  inputs: [
7832
7824
  "destroyOnHide",
@@ -7839,22 +7831,22 @@ var PrivacyAndTosComponent = class PrivacyAndTosComponent extends AppBaseCompone
7839
7831
  },
7840
7832
  {
7841
7833
  kind: "directive",
7842
- type: i1$4.NgbNavItemRole,
7834
+ type: i1$3.NgbNavItemRole,
7843
7835
  selector: "[ngbNavItem]:not(ng-container)"
7844
7836
  },
7845
7837
  {
7846
7838
  kind: "directive",
7847
- type: i1$4.NgbNavLink,
7839
+ type: i1$3.NgbNavLink,
7848
7840
  selector: "a[ngbNavLink]"
7849
7841
  },
7850
7842
  {
7851
7843
  kind: "directive",
7852
- type: i1$4.NgbNavLinkBase,
7844
+ type: i1$3.NgbNavLinkBase,
7853
7845
  selector: "[ngbNavLink]"
7854
7846
  },
7855
7847
  {
7856
7848
  kind: "component",
7857
- type: i1$4.NgbNavOutlet,
7849
+ type: i1$3.NgbNavOutlet,
7858
7850
  selector: "[ngbNavOutlet]",
7859
7851
  inputs: ["paneRole", "ngbNavOutlet"]
7860
7852
  },
@@ -7866,12 +7858,12 @@ var PrivacyAndTosComponent = class PrivacyAndTosComponent extends AppBaseCompone
7866
7858
  },
7867
7859
  {
7868
7860
  kind: "pipe",
7869
- type: i2$4.TranslocoPipe,
7861
+ type: i2$3.TranslocoPipe,
7870
7862
  name: "transloco"
7871
7863
  },
7872
7864
  {
7873
7865
  kind: "pipe",
7874
- type: i1$3.DatePipe,
7866
+ type: i1$2.DatePipe,
7875
7867
  name: "date"
7876
7868
  }
7877
7869
  ]
@@ -7889,75 +7881,16 @@ i0.ɵɵngDeclareClassMetadata({
7889
7881
  selector: "pw-privacy-and-tos",
7890
7882
  standalone: false,
7891
7883
  template: "@if (isPublic) {\n <pw-header [landing]=\"false\"></pw-header>\n}\n\n<div class=\"legal-page\" [class.legal-page--public]=\"isPublic\">\n\n <section class=\"legal-hero\">\n <div class=\"legal-hero__container\">\n @if (!isPublic) {\n <a class=\"legal-hero__back\" (click)=\"back()\" (keydown.enter)=\"back()\" role=\"button\" tabindex=\"0\" aria-label=\"Back\">\n <i class=\"fa fa-chevron-left\" aria-hidden=\"true\"></i>\n <span>Back</span>\n </a>\n }\n <span class=\"legal-hero__eyebrow\">Legal</span>\n <h1 class=\"legal-hero__title\">Privacy &amp; terms</h1>\n <p class=\"legal-hero__subtitle\">\n @if (companyName) {\n Read how {{ companyName }} handles your data and what governs your use of the product.\n } @else {\n Read how we handle your data and what governs your use of the product.\n }\n </p>\n <div class=\"legal-hero__meta\">\n @if (data?.tos_updated_at) {\n <span class=\"legal-hero__pill\">\n <i class=\"fa fa-clock\" aria-hidden=\"true\"></i>\n Last updated {{ data.tos_updated_at | date: 'MMM d, y' }}\n </span>\n }\n @if (!isPublic && canEditPolicy) {\n <a class=\"legal-hero__edit\"\n [routerLink]=\"[routers.tosAndPrivacyDetails + privacyServiceId]\"\n [attr.aria-label]=\"'Button.Edit' | transloco\">\n <i class=\"fa fa-pen\" aria-hidden=\"true\"></i>\n <span>{{ 'Button.Edit' | transloco }}</span>\n </a>\n }\n </div>\n </div>\n </section>\n\n <div class=\"legal-tabs-band\">\n <div class=\"legal-tabs-band__container\">\n <ul ngbNav #nav=\"ngbNav\" [(activeId)]=\"tabId\" class=\"legal-tabs\">\n <li [ngbNavItem]=\"'privacy-policy'\" class=\"legal-tabs__item\">\n <a ngbNavLink class=\"legal-tabs__link\">Privacy policy</a>\n <ng-template ngbNavContent>\n <article class=\"legal-page__card\">\n @if (data?.privacy) {\n <div class=\"ql-container ql-snow legal-page__body\">\n <div class=\"ql-editor\" [innerHTML]=\"data?.privacy\"></div>\n </div>\n } @else {\n <div class=\"legal-page__empty\">\n <i class=\"fa fa-file-lines\" aria-hidden=\"true\"></i>\n <h2>Privacy policy isn't published yet</h2>\n <p>The policy for this product hasn't been written. Check back later.</p>\n </div>\n }\n </article>\n </ng-template>\n </li>\n <li [ngbNavItem]=\"'terms-of-service'\" class=\"legal-tabs__item\">\n <a ngbNavLink class=\"legal-tabs__link\">Terms of service</a>\n <ng-template ngbNavContent>\n <article class=\"legal-page__card\">\n @if (data?.tos) {\n <div class=\"ql-container ql-snow legal-page__body\">\n <div class=\"ql-editor\" [innerHTML]=\"data?.tos\"></div>\n </div>\n } @else {\n <div class=\"legal-page__empty\">\n <i class=\"fa fa-file-lines\" aria-hidden=\"true\"></i>\n <h2>Terms of service aren't published yet</h2>\n <p>The terms for this product haven't been written. Check back later.</p>\n </div>\n }\n </article>\n </ng-template>\n </li>\n </ul>\n </div>\n </div>\n\n <div class=\"legal-body\" [class.legal-body--no-toc]=\"\n (tabId === 'privacy-policy' && !tocPrivacy.length) ||\n (tabId === 'terms-of-service' && !tocTos.length)\n \">\n <div class=\"legal-body__container\">\n\n @if ((tabId === 'privacy-policy' && tocPrivacy.length) || (tabId === 'terms-of-service' && tocTos.length)) {\n <aside class=\"legal-sidebar\" aria-label=\"On this page\">\n <p class=\"legal-sidebar__label\">On this page</p>\n <nav class=\"legal-sidebar__nav\">\n @if (tabId === 'privacy-policy') {\n @for (item of tocPrivacy; track item.id) {\n <a class=\"legal-sidebar__link\" [href]=\"'#' + item.id\">{{ item.text }}</a>\n }\n } @else {\n @for (item of tocTos; track item.id) {\n <a class=\"legal-sidebar__link\" [href]=\"'#' + item.id\">{{ item.text }}</a>\n }\n }\n </nav>\n </aside>\n }\n\n <main class=\"legal-main\">\n <pw-loader [isVisible]=\"!isLoaded\"></pw-loader>\n @if (isLoaded) {\n <div [ngbNavOutlet]=\"nav\"></div>\n }\n\n @if (isLoaded && companyEmail) {\n <section class=\"legal-contact\">\n <span class=\"legal-contact__label\">Questions?</span>\n <h2 class=\"legal-contact__title\">Talk to us about your data.</h2>\n <p class=\"legal-contact__body\">\n If anything here is unclear, or you want to exercise a right under these\n policies, reach out and we'll get back to you.\n </p>\n <a class=\"legal-contact__cta\" [href]=\"'mailto:' + companyEmail\">\n <i class=\"fa fa-envelope\" aria-hidden=\"true\"></i>\n <span>{{ companyEmail }}</span>\n </a>\n </section>\n }\n </main>\n\n </div>\n </div>\n\n</div>\n",
7892
- styles: ["@charset \"UTF-8\";:root{--first: rgb(23 105 225);--second: rgb(54 194 131);--third: rgb(255 171 0);--text: rgb(34 34 34);--tabs_bg: rgb(23 105 225);--tabs_sub_bg: color-mix(in srgb, var(--first, rgb(23 105 225)) 85%, #000000);--tabs_text: rgb(255 255 255);--titles: rgb(34 34 34);--sidebar_bg: rgb(0, 48, 63);--sidebar_text: rgb(255 255 255);--dashboard_bg: rgb(255 255 255);--public-btn-radius: 24px}.legal-page{background:#f7f8fa;min-height:100vh}.legal-page--public{padding-top:64px}.legal-hero{padding:56px 0 32px}.legal-hero__container{max-width:1200px;margin:0 auto;padding:0 clamp(20px,4vw,48px)}.legal-hero__back{display:inline-flex;align-items:center;gap:8px;margin:0 0 24px;padding:6px 14px 6px 10px;font:600 13px/1 Roboto,sans-serif;color:#5a6473;text-decoration:none;cursor:pointer;border:1px solid #e2e5ea;border-radius:9999px;background:#fff;transition:color .15s cubic-bezier(.2,.7,.2,1),border-color .15s cubic-bezier(.2,.7,.2,1)}.legal-hero__back:hover{color:#1a1d21;border-color:#cfd4dc}.legal-hero__back .fa{font-size:11px;color:#7c8696}.legal-hero__eyebrow{display:inline-block;font:600 12px/1 Roboto,sans-serif;text-transform:uppercase;letter-spacing:.12em;color:var(--first);margin-bottom:16px}h1.legal-hero__title{font:700 clamp(36px,4.4vw,52px)/1.1 \"Roboto\",sans-serif;color:#1a1d21!important;margin:0 0 16px;letter-spacing:-.02em}.legal-hero__subtitle{font:400 clamp(16px,1.4vw,19px)/1.5 \"Roboto\",sans-serif;color:#5a6473;margin:0;text-wrap:pretty}.legal-hero__meta{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-top:24px}.legal-hero__pill{display:inline-flex;align-items:center;gap:8px;padding:7px 14px;background:#fff;border:1px solid #e2e5ea;border-radius:9999px;font:500 12px/1 Roboto,sans-serif;color:#5a6473}.legal-hero__pill .fa{font-size:11px;color:#7c8696}.legal-hero__edit{display:inline-flex;align-items:center;gap:8px;padding:7px 14px;font:600 12px/1 Roboto,sans-serif;color:var(--first);text-decoration:none;border:1px solid #cfd4dc;border-radius:9999px;background:#fff;transition:border-color .15s cubic-bezier(.2,.7,.2,1)}.legal-hero__edit:hover{border-color:var(--first)}.legal-tabs-band{border-bottom:1px solid #e2e5ea;background:#f7f8fa}.legal-tabs-band__container{max-width:1200px;margin:0 auto;padding:0 clamp(20px,4vw,48px)}.legal-tabs{display:inline-flex;gap:0;padding:0;margin:0;list-style:none;border-bottom:0}.legal-tabs__item{margin:0;padding:0}.legal-tabs__link{display:inline-flex;align-items:center;padding:14px 4px;margin-right:28px;font:600 14px/1 Roboto,sans-serif;color:#5a6473;text-decoration:none;cursor:pointer;border-bottom:2px solid transparent;transition:color .15s cubic-bezier(.2,.7,.2,1),border-color .15s cubic-bezier(.2,.7,.2,1)}.legal-tabs__link:hover{color:#1a1d21}.legal-tabs__link.active,.legal-tabs__item.active .legal-tabs__link{color:#1a1d21;border-bottom-color:var(--first)}.legal-body{padding:48px 0 96px}.legal-body__container{max-width:1200px;margin:0 auto;padding:0 clamp(20px,4vw,48px);display:grid;grid-template-columns:240px minmax(0,1fr);gap:64px;align-items:start}.legal-body--no-toc .legal-body__container{grid-template-columns:minmax(0,1fr)}.legal-sidebar{position:sticky;top:88px}.legal-sidebar__label{font:600 11px/1 Roboto,sans-serif;text-transform:uppercase;letter-spacing:.12em;color:#7c8696;margin:0 0 14px}.legal-sidebar__nav{display:flex;flex-direction:column;border-left:1px solid #e2e5ea}.legal-sidebar__link{display:block;padding:7px 14px;margin-left:-1px;border-left:2px solid transparent;font:500 13px/1.45 Roboto,sans-serif;color:#5a6473;text-decoration:none;transition:color .15s cubic-bezier(.2,.7,.2,1),border-color .15s cubic-bezier(.2,.7,.2,1)}.legal-sidebar__link:hover{color:#1a1d21}.legal-sidebar__link:target,.legal-sidebar__link.is-active{color:var(--first);border-left-color:var(--first)}.legal-main{min-width:0}.legal-page__card{display:block;background:#fff;border:1px solid #e2e5ea;border-radius:14px;padding:48px;box-shadow:0 1px 2px #0f172a08}.legal-page__body{max-width:70ch}.legal-page__empty{text-align:center;padding:56px 16px;color:#5a6473}.legal-page__empty .fa{font-size:40px;color:#cfd4dc;margin-bottom:20px}.legal-page__empty h2{font:600 20px/1.3 Roboto,sans-serif;color:#1a1d21!important;margin:0 0 8px}.legal-page__empty p{font:400 15px/1.6 Roboto,sans-serif;color:#5a6473;margin:0}.legal-contact{margin-top:32px;padding:36px;background:#fff;border:1px solid #e2e5ea;border-radius:14px;box-shadow:0 1px 2px #0f172a08}.legal-contact__label{display:inline-block;font:600 11px/1 Roboto,sans-serif;text-transform:uppercase;letter-spacing:.12em;color:#7c8696;margin-bottom:10px}h2.legal-contact__title{font:600 22px/1.3 Roboto,sans-serif;color:#1a1d21!important;margin:0 0 10px;letter-spacing:-.005em}.legal-contact__body{font:400 15px/1.65 Roboto,sans-serif;color:#5a6473;margin:0 0 20px;max-width:56ch;text-wrap:pretty}.legal-contact__cta{display:inline-flex;align-items:center;gap:10px;height:44px;padding:0 22px;font:600 14px/1 Roboto,sans-serif;color:#fff!important;text-decoration:none;background:var(--first);border:1px solid var(--first);border-radius:10px;transition:background-color .15s cubic-bezier(.2,.7,.2,1),transform .15s cubic-bezier(.2,.7,.2,1),box-shadow .15s cubic-bezier(.2,.7,.2,1)}.legal-contact__cta:hover{background:color-mix(in srgb,var(--first) 88%,#000 12%);transform:translateY(-1px);box-shadow:0 10px 24px -12px var(--first)}::ng-deep .legal-page__body.ql-container,::ng-deep .legal-page__body .ql-container{max-width:none!important;margin:0;border:0!important;font-family:Roboto,sans-serif;resize:none!important}::ng-deep .legal-page__body .ql-editor{padding:0;max-width:70ch;font:400 16px/1.75 Roboto,sans-serif;color:#5a6473}::ng-deep .legal-page__body .ql-editor h1{font:700 28px/1.25 Roboto,sans-serif;color:#1a1d21;margin:0 0 16px;letter-spacing:-.01em}::ng-deep .legal-page__body .ql-editor h2{font:600 24px/1.3 Roboto,sans-serif;color:#1a1d21;margin:40px 0 12px;letter-spacing:-.005em;scroll-margin-top:88px}::ng-deep .legal-page__body .ql-editor h3{font:600 18px/1.4 Roboto,sans-serif;color:#1a1d21;margin:28px 0 8px}::ng-deep .legal-page__body .ql-editor h4,::ng-deep .legal-page__body .ql-editor h5,::ng-deep .legal-page__body .ql-editor h6{font:600 16px/1.4 Roboto,sans-serif;color:#1a1d21;margin:24px 0 6px}::ng-deep .legal-page__body .ql-editor p{font:400 16px/1.75 Roboto,sans-serif;color:#5a6473;margin:0 0 14px;text-wrap:pretty}::ng-deep .legal-page__body .ql-editor p strong,::ng-deep .legal-page__body .ql-editor strong{font-weight:600;color:#1a1d21}::ng-deep .legal-page__body .ql-editor a{color:var(--first);text-decoration:none;font-weight:500}::ng-deep .legal-page__body .ql-editor a:hover{text-decoration:underline}::ng-deep .legal-page__body .ql-editor ol,::ng-deep .legal-page__body .ql-editor ul{padding-left:24px;margin:8px 0 16px}::ng-deep .legal-page__body .ql-editor ol li,::ng-deep .legal-page__body .ql-editor ul li{font:400 16px/1.75 Roboto,sans-serif;color:#5a6473;margin:6px 0;padding:0}::ng-deep .legal-page__body .ql-editor ol li::marker,::ng-deep .legal-page__body .ql-editor ul li::marker{color:#7c8696;font-weight:500}::ng-deep .legal-page__body .ql-editor blockquote{border-left:3px solid #e2e5ea;padding:4px 0 4px 18px;margin:20px 0;color:#5a6473;font-style:italic}::ng-deep .legal-page__body .ql-editor hr{border:0;border-top:1px solid #e2e5ea;margin:40px 0}@media(max-width:991px){.legal-hero{padding:40px 0 24px}.legal-body{padding:32px 0 64px}.legal-body__container{grid-template-columns:1fr;gap:32px}.legal-sidebar{position:static}.legal-sidebar__nav{display:none}.legal-page__card{padding:32px}.legal-contact{padding:28px}}@media(max-width:575px){.legal-hero{padding:32px 0 20px}h1.legal-hero__title{font-size:30px}.legal-page__card,.legal-contact{padding:22px;border-radius:12px}.legal-contact__title{font-size:19px}.legal-tabs__link{padding:12px 4px;margin-right:20px;font-size:13px}}@media print{.legal-page{background:#fff}.legal-sidebar,.legal-tabs-band,.legal-hero__back,.legal-hero__edit,.legal-contact__cta{display:none!important}.legal-page__card{border:0;padding:0;box-shadow:none}.legal-body__container{grid-template-columns:1fr}}\n"]
7884
+ styles: ["@charset \"UTF-8\";:root{--first: rgb(23 105 225);--second: rgb(54 194 131);--third: rgb(255 171 0);--text: rgb(34 34 34);--tabs_bg: rgb(23 105 225);--tabs_sub_bg: color-mix(in srgb, var(--first, rgb(23 105 225)) 85%, #000000);--tabs_text: rgb(255 255 255);--titles: rgb(34 34 34);--sidebar_bg: rgb(0, 48, 63);--sidebar_text: rgb(255 255 255);--dashboard_bg: rgb(255 255 255);--public-btn-radius: 24px}.legal-page{background:#f7f8fa;min-height:100vh}.legal-page--public{padding-top:64px}.legal-hero{padding:56px 0 32px}.legal-hero__container{max-width:1200px;margin:0 auto;padding:0 clamp(20px,4vw,48px)}.legal-hero__back{display:inline-flex;align-items:center;gap:8px;margin:0 0 24px;padding:6px 14px 6px 10px;font:600 13px/1 Roboto,sans-serif;color:#5a6473;text-decoration:none;cursor:pointer;border:1px solid #e2e5ea;border-radius:9999px;background:#fff;transition:color .15s cubic-bezier(.2,.7,.2,1),border-color .15s cubic-bezier(.2,.7,.2,1)}.legal-hero__back:hover{color:#1a1d21;border-color:#cfd4dc}.legal-hero__back .fa{font-size:11px;color:#7c8696}.legal-hero__eyebrow{display:inline-block;font:600 12px/1 Roboto,sans-serif;text-transform:uppercase;letter-spacing:.12em;color:var(--first);margin-bottom:16px}h1.legal-hero__title{font:700 clamp(36px,4.4vw,52px)/1.1 \"Roboto\",sans-serif;color:#1a1d21!important;margin:0 0 16px;letter-spacing:-.02em}.legal-hero__subtitle{font:400 clamp(16px,1.4vw,19px)/1.5 \"Roboto\",sans-serif;color:#5a6473;margin:0;text-wrap:pretty}.legal-hero__meta{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-top:24px}.legal-hero__pill{display:inline-flex;align-items:center;gap:8px;padding:7px 14px;background:#fff;border:1px solid #e2e5ea;border-radius:9999px;font:500 12px/1 Roboto,sans-serif;color:#5a6473}.legal-hero__pill .fa{font-size:11px;color:#7c8696}.legal-hero__edit{display:inline-flex;align-items:center;gap:8px;padding:7px 14px;font:600 12px/1 Roboto,sans-serif;color:var(--first);text-decoration:none;border:1px solid #cfd4dc;border-radius:9999px;background:#fff;transition:border-color .15s cubic-bezier(.2,.7,.2,1)}.legal-hero__edit:hover{border-color:var(--first)}.legal-tabs-band{border-bottom:1px solid #e2e5ea;background:#f7f8fa}.legal-tabs-band__container{max-width:1200px;margin:0 auto;padding:0 clamp(20px,4vw,48px)}.legal-tabs{display:inline-flex;gap:0;padding:0;margin:0;list-style:none;border-bottom:0}.legal-tabs__item{margin:0;padding:0}.legal-tabs__link{display:inline-flex;align-items:center;padding:14px 4px;margin-right:28px;font:600 14px/1 Roboto,sans-serif;color:#5a6473;text-decoration:none;cursor:pointer;border-bottom:2px solid transparent;transition:color .15s cubic-bezier(.2,.7,.2,1),border-color .15s cubic-bezier(.2,.7,.2,1)}.legal-tabs__link:hover{color:#1a1d21}.legal-tabs__link.active,.legal-tabs__item.active .legal-tabs__link{color:#1a1d21;border-bottom-color:var(--first)}.legal-body{padding:48px 0 96px}.legal-body__container{max-width:1200px;margin:0 auto;padding:0 clamp(20px,4vw,48px);display:grid;grid-template-columns:240px minmax(0,1fr);gap:64px;align-items:start}.legal-body--no-toc .legal-body__container{grid-template-columns:minmax(0,1fr)}.legal-sidebar{position:sticky;top:88px}.legal-sidebar__label{font:600 11px/1 Roboto,sans-serif;text-transform:uppercase;letter-spacing:.12em;color:#7c8696;margin:0 0 14px}.legal-sidebar__nav{display:flex;flex-direction:column;border-left:1px solid #e2e5ea}.legal-sidebar__link{display:block;padding:7px 14px;margin-left:-1px;border-left:2px solid transparent;font:500 13px/1.45 Roboto,sans-serif;color:#5a6473;text-decoration:none;transition:color .15s cubic-bezier(.2,.7,.2,1),border-color .15s cubic-bezier(.2,.7,.2,1)}.legal-sidebar__link:hover{color:#1a1d21}.legal-sidebar__link:target,.legal-sidebar__link.is-active{color:var(--first);border-left-color:var(--first)}.legal-main{min-width:0}.legal-page__card{display:block;background:#fff;border:1px solid #e2e5ea;border-radius:14px;padding:48px;box-shadow:0 1px 2px #0f172a08}.legal-page__body{max-width:70ch}.legal-page__empty{text-align:center;padding:56px 16px;color:#5a6473}.legal-page__empty .fa{font-size:40px;color:#cfd4dc;margin-bottom:20px}.legal-page__empty h2{font:600 20px/1.3 Roboto,sans-serif;color:#1a1d21!important;margin:0 0 8px}.legal-page__empty p{font:400 15px/1.6 Roboto,sans-serif;color:#5a6473;margin:0}.legal-contact{margin-top:32px;padding:36px;background:#fff;border:1px solid #e2e5ea;border-radius:14px;box-shadow:0 1px 2px #0f172a08}.legal-contact__label{display:inline-block;font:600 11px/1 Roboto,sans-serif;text-transform:uppercase;letter-spacing:.12em;color:#7c8696;margin-bottom:10px}h2.legal-contact__title{font:600 22px/1.3 Roboto,sans-serif;color:#1a1d21!important;margin:0 0 10px;letter-spacing:-.005em}.legal-contact__body{font:400 15px/1.65 Roboto,sans-serif;color:#5a6473;margin:0 0 20px;max-width:56ch;text-wrap:pretty}.legal-contact__cta{display:inline-flex;align-items:center;gap:10px;height:44px;padding:0 22px;font:600 14px/1 Roboto,sans-serif;color:#fff!important;text-decoration:none;background:var(--first);border:1px solid var(--first);border-radius:10px;transition:background-color .15s cubic-bezier(.2,.7,.2,1),transform .15s cubic-bezier(.2,.7,.2,1),box-shadow .15s cubic-bezier(.2,.7,.2,1)}.legal-contact__cta:hover{background:color-mix(in srgb,var(--first) 88%,#000 12%);transform:translateY(-1px);box-shadow:0 10px 24px -12px var(--first)}::ng-deep .legal-page__body.ql-container,::ng-deep .legal-page__body .ql-container{max-width:none!important;margin:0;border:0!important;font-family:Roboto,sans-serif;resize:none!important}::ng-deep .legal-page__body .ql-editor{padding:0;max-width:70ch;font:400 16px/1.75 Roboto,sans-serif;color:#5a6473}::ng-deep .legal-page__body .ql-editor h1{font:700 28px/1.25 Roboto,sans-serif;color:#1a1d21;margin:0 0 16px;letter-spacing:-.01em}::ng-deep .legal-page__body .ql-editor h2{font:600 24px/1.3 Roboto,sans-serif;color:#1a1d21;margin:40px 0 12px;letter-spacing:-.005em;scroll-margin-top:88px}::ng-deep .legal-page__body .ql-editor h3{font:600 18px/1.4 Roboto,sans-serif;color:#1a1d21;margin:28px 0 8px}::ng-deep .legal-page__body .ql-editor h4,::ng-deep .legal-page__body .ql-editor h5,::ng-deep .legal-page__body .ql-editor h6{font:600 16px/1.4 Roboto,sans-serif;color:#1a1d21;margin:24px 0 6px}::ng-deep .legal-page__body .ql-editor p{font:400 16px/1.75 Roboto,sans-serif;color:#5a6473;margin:0 0 14px;text-wrap:pretty}::ng-deep .legal-page__body .ql-editor p strong,::ng-deep .legal-page__body .ql-editor strong{font-weight:600;color:#1a1d21}::ng-deep .legal-page__body .ql-editor a{color:var(--first);text-decoration:none;font-weight:500}::ng-deep .legal-page__body .ql-editor a:hover{text-decoration:underline}::ng-deep .legal-page__body .ql-editor ol,::ng-deep .legal-page__body .ql-editor ul{padding-left:24px;margin:8px 0 16px}::ng-deep .legal-page__body .ql-editor ol li,::ng-deep .legal-page__body .ql-editor ul li{font:400 16px/1.75 Roboto,sans-serif;color:#5a6473;margin:6px 0;padding:0}::ng-deep .legal-page__body .ql-editor ol li::marker,::ng-deep .legal-page__body .ql-editor ul li::marker{color:#7c8696;font-weight:500}::ng-deep .legal-page__body .ql-editor blockquote{border-left:3px solid #e2e5ea;padding:4px 0 4px 18px;margin:20px 0;color:#5a6473;font-style:italic}::ng-deep .legal-page__body .ql-editor hr{border:0;border-top:1px solid #e2e5ea;margin:40px 0}@media(max-width:991px){.legal-hero{padding:40px 0 24px}.legal-body{padding:32px 0 64px}.legal-body__container{grid-template-columns:1fr;gap:32px}.legal-sidebar{position:static}.legal-sidebar__nav{display:none}.legal-page__card{padding:32px}.legal-contact{padding:28px}}@media(max-width:575px){.legal-hero{padding:32px 0 20px}h1.legal-hero__title{font-size:30px}.legal-page__card,.legal-contact{padding:22px;border-radius:12px}.legal-contact__title{font-size:19px}.legal-tabs__link{padding:12px 4px;margin-right:20px;font-size:13px}}@media print{.legal-page{background:#fff}.legal-sidebar,.legal-tabs-band,.legal-hero__back,.legal-hero__edit,.legal-contact__cta{display:none!important}.legal-page__card{border:0;padding:0;box-shadow:none}.legal-body__container{grid-template-columns:1fr}}\n", "::ng-deep .legal-page__body .ql-editor ul>li{list-style-type:disc}::ng-deep .legal-page__body .ql-editor ul ul>li{list-style-type:circle}::ng-deep .legal-page__body .ql-editor ol>li{list-style-type:decimal}::ng-deep .legal-page__body .ql-editor ol ol>li{list-style-type:lower-alpha}\n"]
7893
7885
  }]
7894
7886
  }],
7895
7887
  ctorParameters: () => [
7896
- { type: i1.AdminService },
7888
+ { type: i1$1.LegalPagesService },
7897
7889
  { type: i0.Injector },
7898
- {
7899
- type: Document,
7900
- decorators: [{
7901
- type: Inject,
7902
- args: [DOCUMENT$1]
7903
- }]
7904
- },
7905
- { type: i2$2.DomSanitizer },
7906
7890
  { type: i0.ChangeDetectorRef }
7907
7891
  ],
7908
7892
  propDecorators: { productId: [{ type: Input }] }
7909
7893
  });
7910
- var PrivacyPolicyComponent = class PrivacyPolicyComponent {
7911
- constructor(appConfigService, router) {
7912
- this.appConfigService = appConfigService;
7913
- this.router = router;
7914
- }
7915
- ngOnInit() {
7916
- this.appConfigService.appConfig$.pipe(filter((config) => !!config?.["main_tos_id"]), take(1)).subscribe((config) => {
7917
- this.router.navigate(["/privacy-and-tos", config["main_tos_id"]], {
7918
- queryParams: { tab: "privacy-policy" },
7919
- replaceUrl: true
7920
- });
7921
- });
7922
- }
7923
- static {
7924
- this.ɵfac = i0.ɵɵngDeclareFactory({
7925
- minVersion: "12.0.0",
7926
- version: "22.2.3",
7927
- ngImport: i0,
7928
- type: PrivacyPolicyComponent,
7929
- deps: [{ token: i2$3.AppConfigService }, { token: i9$1.Router }],
7930
- target: i0.ɵɵFactoryTarget.Component
7931
- });
7932
- }
7933
- static {
7934
- this.ɵcmp = i0.ɵɵngDeclareComponent({
7935
- minVersion: "14.0.0",
7936
- version: "22.2.3",
7937
- type: PrivacyPolicyComponent,
7938
- isStandalone: false,
7939
- selector: "pw-privacy-policy",
7940
- ngImport: i0,
7941
- template: "",
7942
- isInline: true
7943
- });
7944
- }
7945
- };
7946
- i0.ɵɵngDeclareClassMetadata({
7947
- minVersion: "12.0.0",
7948
- version: "22.2.3",
7949
- ngImport: i0,
7950
- type: PrivacyPolicyComponent,
7951
- decorators: [{
7952
- type: Component,
7953
- args: [{
7954
- selector: "pw-privacy-policy",
7955
- template: "",
7956
- standalone: false
7957
- }]
7958
- }],
7959
- ctorParameters: () => [{ type: i2$3.AppConfigService }, { type: i9$1.Router }]
7960
- });
7961
7894
  var PwTabsComponent = class PwTabsComponent extends AppBaseComponent {
7962
7895
  constructor(injector, cdr) {
7963
7896
  super(injector);
@@ -8353,12 +8286,12 @@ var CompletionBarComponent = class CompletionBarComponent {
8353
8286
  styles: ["@charset \"UTF-8\";:root{--first: rgb(23 105 225);--second: rgb(54 194 131);--third: rgb(255 171 0);--text: rgb(34 34 34);--tabs_bg: rgb(23 105 225);--tabs_sub_bg: color-mix(in srgb, var(--first, rgb(23 105 225)) 85%, #000000);--tabs_text: rgb(255 255 255);--titles: rgb(34 34 34);--sidebar_bg: rgb(0, 48, 63);--sidebar_text: rgb(255 255 255);--dashboard_bg: rgb(255 255 255);--public-btn-radius: 24px}.pw-completion-bar{display:inline-flex;align-items:center;gap:8px;line-height:1}.pw-completion-bar__track{display:inline-flex;align-items:flex-end;gap:2px}.pw-completion-bar__seg{width:4px;height:14px;border-radius:1px;background-color:#e2e5ea;transition:background-color .15s ease-out}.pw-completion-bar__label{font-size:12px;font-weight:500;font-variant-numeric:tabular-nums;color:oklch(from var(--text) 40% c h);min-width:30px}.pw-completion-bar__track.tier-low .pw-completion-bar__seg.is-filled{background-color:#ff586b}.pw-completion-bar__track.tier-mid .pw-completion-bar__seg.is-filled{background-color:#fbab00}.pw-completion-bar__track.tier-high .pw-completion-bar__seg.is-filled{background-color:#45d292}\n"],
8354
8287
  dependencies: [{
8355
8288
  kind: "directive",
8356
- type: i1$3.NgClass,
8289
+ type: i1$2.NgClass,
8357
8290
  selector: "[ngClass]",
8358
8291
  inputs: ["class", "ngClass"]
8359
8292
  }, {
8360
8293
  kind: "directive",
8361
- type: i1$4.NgbTooltip,
8294
+ type: i1$3.NgbTooltip,
8362
8295
  selector: "[ngbTooltip]",
8363
8296
  inputs: [
8364
8297
  "animation",
@@ -8576,13 +8509,13 @@ var OnboardingChecklistComponent = class OnboardingChecklistComponent {
8576
8509
  dependencies: [
8577
8510
  {
8578
8511
  kind: "directive",
8579
- type: i1$3.NgClass,
8512
+ type: i1$2.NgClass,
8580
8513
  selector: "[ngClass]",
8581
8514
  inputs: ["class", "ngClass"]
8582
8515
  },
8583
8516
  {
8584
8517
  kind: "directive",
8585
- type: i1$3.NgTemplateOutlet,
8518
+ type: i1$2.NgTemplateOutlet,
8586
8519
  selector: "[ngTemplateOutlet]",
8587
8520
  inputs: [
8588
8521
  "ngTemplateOutletContext",
@@ -8696,7 +8629,7 @@ var OnboardingChecklistComponent = class OnboardingChecklistComponent {
8696
8629
  },
8697
8630
  {
8698
8631
  kind: "pipe",
8699
- type: i2$4.TranslocoPipe,
8632
+ type: i2$3.TranslocoPipe,
8700
8633
  name: "transloco"
8701
8634
  }
8702
8635
  ],
@@ -8924,57 +8857,6 @@ i0.ɵɵngDeclareClassMetadata({
8924
8857
  }]
8925
8858
  }]
8926
8859
  });
8927
- var TermsConditionsComponent = class TermsConditionsComponent {
8928
- constructor(appConfigService, router) {
8929
- this.appConfigService = appConfigService;
8930
- this.router = router;
8931
- }
8932
- ngOnInit() {
8933
- this.appConfigService.appConfig$.pipe(filter((config) => !!config?.["main_tos_id"]), take(1)).subscribe((config) => {
8934
- this.router.navigate(["/privacy-and-tos", config["main_tos_id"]], {
8935
- queryParams: { tab: "terms-of-service" },
8936
- replaceUrl: true
8937
- });
8938
- });
8939
- }
8940
- static {
8941
- this.ɵfac = i0.ɵɵngDeclareFactory({
8942
- minVersion: "12.0.0",
8943
- version: "22.2.3",
8944
- ngImport: i0,
8945
- type: TermsConditionsComponent,
8946
- deps: [{ token: i2$3.AppConfigService }, { token: i9$1.Router }],
8947
- target: i0.ɵɵFactoryTarget.Component
8948
- });
8949
- }
8950
- static {
8951
- this.ɵcmp = i0.ɵɵngDeclareComponent({
8952
- minVersion: "14.0.0",
8953
- version: "22.2.3",
8954
- type: TermsConditionsComponent,
8955
- isStandalone: false,
8956
- selector: "pw-terms-conditions",
8957
- ngImport: i0,
8958
- template: "",
8959
- isInline: true
8960
- });
8961
- }
8962
- };
8963
- i0.ɵɵngDeclareClassMetadata({
8964
- minVersion: "12.0.0",
8965
- version: "22.2.3",
8966
- ngImport: i0,
8967
- type: TermsConditionsComponent,
8968
- decorators: [{
8969
- type: Component,
8970
- args: [{
8971
- selector: "pw-terms-conditions",
8972
- template: "",
8973
- standalone: false
8974
- }]
8975
- }],
8976
- ctorParameters: () => [{ type: i2$3.AppConfigService }, { type: i9$1.Router }]
8977
- });
8978
8860
  const allModules = [
8979
8861
  NgbTooltipModule,
8980
8862
  TooltipModule,
@@ -9017,8 +8899,6 @@ var SharedComponentsModule = class SharedComponentsModule {
9017
8899
  DateRangePickerComponent,
9018
8900
  PermissionTreeComponent,
9019
8901
  PrivacyAndTosComponent,
9020
- PrivacyPolicyComponent,
9021
- TermsConditionsComponent,
9022
8902
  SplashComponent,
9023
8903
  AuthenticatorComponent,
9024
8904
  ClearBitIconComponent,
@@ -9101,8 +8981,6 @@ var SharedComponentsModule = class SharedComponentsModule {
9101
8981
  i2.NgxDaterangepickerMd,
9102
8982
  PermissionTreeComponent,
9103
8983
  PrivacyAndTosComponent,
9104
- PrivacyPolicyComponent,
9105
- TermsConditionsComponent,
9106
8984
  SplashComponent,
9107
8985
  AuthenticatorComponent,
9108
8986
  ClearBitIconComponent,
@@ -9181,8 +9059,6 @@ i0.ɵɵngDeclareClassMetadata({
9181
9059
  DateRangePickerComponent,
9182
9060
  PermissionTreeComponent,
9183
9061
  PrivacyAndTosComponent,
9184
- PrivacyPolicyComponent,
9185
- TermsConditionsComponent,
9186
9062
  SplashComponent,
9187
9063
  AuthenticatorComponent,
9188
9064
  ClearBitIconComponent,
@@ -9239,8 +9115,6 @@ i0.ɵɵngDeclareClassMetadata({
9239
9115
  allModules,
9240
9116
  PermissionTreeComponent,
9241
9117
  PrivacyAndTosComponent,
9242
- PrivacyPolicyComponent,
9243
- TermsConditionsComponent,
9244
9118
  SplashComponent,
9245
9119
  AuthenticatorComponent,
9246
9120
  ClearBitIconComponent,
@@ -9262,6 +9136,50 @@ i0.ɵɵngDeclareClassMetadata({
9262
9136
  }]
9263
9137
  }]
9264
9138
  });
9139
+ const TITLES = {
9140
+ "privacy-policy": "Privacy Policy",
9141
+ "terms-of-service": "Terms & conditions"
9142
+ };
9143
+ function publicLegalPageRoutes(options = {}) {
9144
+ const page = (path, tab) => ({
9145
+ path,
9146
+ component: PrivacyAndTosComponent,
9147
+ data: {
9148
+ title: options.title ?? TITLES[tab],
9149
+ ...options.description ? { description: options.description } : {},
9150
+ public: true,
9151
+ tab
9152
+ },
9153
+ ...options.canActivate ? { canActivate: options.canActivate } : {}
9154
+ });
9155
+ return [
9156
+ page("privacy-policy", "privacy-policy"),
9157
+ page("privacy-policy/:slug", "privacy-policy"),
9158
+ page("terms-conditions", "terms-of-service"),
9159
+ page("terms-conditions/:slug", "terms-of-service"),
9160
+ {
9161
+ path: "privacy-and-tos",
9162
+ redirectTo: "privacy-policy",
9163
+ pathMatch: "full"
9164
+ },
9165
+ {
9166
+ path: "privacy-and-tos/:Id",
9167
+ redirectTo: "privacy-policy",
9168
+ pathMatch: "full"
9169
+ }
9170
+ ];
9171
+ }
9172
+ function dashboardLegalPageRoutes() {
9173
+ const page = (path, tab) => ({
9174
+ path,
9175
+ component: PrivacyAndTosComponent,
9176
+ data: {
9177
+ title: TITLES[tab],
9178
+ tab
9179
+ }
9180
+ });
9181
+ return [page("privacy-policies", "privacy-policy"), page("terms-of-service", "terms-of-service")];
9182
+ }
9265
9183
  function hasOpenMandatorySteps(status) {
9266
9184
  const progress = status?.progress;
9267
9185
  return status?.status === "ok" && !!progress?.total && progress.done < progress.total;
@@ -9284,7 +9202,7 @@ var CollapsibleSidebarSuperAdminGuard = class CollapsibleSidebarSuperAdminGuard
9284
9202
  version: "22.2.3",
9285
9203
  ngImport: i0,
9286
9204
  type: CollapsibleSidebarSuperAdminGuard,
9287
- deps: [{ token: i1$2.UserService }, { token: i1$2.PermissionService }],
9205
+ deps: [{ token: i1$1.UserService }, { token: i1$1.PermissionService }],
9288
9206
  target: i0.ɵɵFactoryTarget.Injectable
9289
9207
  });
9290
9208
  }
@@ -9307,7 +9225,7 @@ i0.ɵɵngDeclareClassMetadata({
9307
9225
  type: Injectable,
9308
9226
  args: [{ providedIn: "root" }]
9309
9227
  }],
9310
- ctorParameters: () => [{ type: i1$2.UserService }, { type: i1$2.PermissionService }]
9228
+ ctorParameters: () => [{ type: i1$1.UserService }, { type: i1$1.PermissionService }]
9311
9229
  });
9312
9230
  var UiLayoutService = class UiLayoutService {
9313
9231
  constructor(api) {
@@ -9324,7 +9242,7 @@ var UiLayoutService = class UiLayoutService {
9324
9242
  version: "22.2.3",
9325
9243
  ngImport: i0,
9326
9244
  type: UiLayoutService,
9327
- deps: [{ token: i1$2.MainApiHttpService }],
9245
+ deps: [{ token: i1$1.MainApiHttpService }],
9328
9246
  target: i0.ɵɵFactoryTarget.Injectable
9329
9247
  });
9330
9248
  }
@@ -9347,7 +9265,7 @@ i0.ɵɵngDeclareClassMetadata({
9347
9265
  type: Injectable,
9348
9266
  args: [{ providedIn: "root" }]
9349
9267
  }],
9350
- ctorParameters: () => [{ type: i1$2.MainApiHttpService }]
9268
+ ctorParameters: () => [{ type: i1$1.MainApiHttpService }]
9351
9269
  });
9352
9270
  const ICONS = {
9353
9271
  warning: "fa-triangle-exclamation",
@@ -9531,6 +9449,6 @@ i0.ɵɵngDeclareClassMetadata({
9531
9449
  }]
9532
9450
  }
9533
9451
  });
9534
- export { AiKnowledgeComponent, AuthenticatorComponent, BRAIN_CHAT_PRODUCT_PROMPTS, BRAIN_CHAT_UPLOAD_APIS, COMPONENT_REGISTRY, ClearBitIconComponent, CollapsibleSidebarComponent, CollapsibleSidebarKeyboardShortcutDirective, CollapsibleSidebarService, CollapsibleSidebarSuperAdminGuard, CollapsibleSidebarTriggerDirective, ComingSoonComponent, CommandPaletteComponent, CommandPaletteService, CompletionBarComponent, ConfirmDialogComponent, ConfirmDialogService, DateRangePickerComponent, DynamicPageContextService, EntityGroupComponent, GroupDefinitionComponent, GroupsComponent, HeaderComponent, InputContainerComponent, LandingPageFooterBComponent, NoDataComponent, NumberPickerComponent, OnboardingChecklistComponent, OnlineIndicatorComponent, PasswordValidationComponent, PermissionTreeComponent, PrivacyAndTosComponent, PrivacyPolicyComponent, PwBrainChatComponent, PwCookieBannerComponent, PwDynamicPageComponent, PwEditCardComponent, PwNoticeComponent, PwTabsComponent, RecordsSummaryComponent, ResourceSharedComponentsModule, SharedComponentsModule, SplashComponent, TermsConditionsComponent, UI_BUILDER_FLAG, UiLayoutService, hasOpenMandatorySteps, registeredType, registeredTypeNames, visibleProductPrompts };
9452
+ export { AiKnowledgeComponent, AuthenticatorComponent, BRAIN_CHAT_PRODUCT_PROMPTS, BRAIN_CHAT_UPLOAD_APIS, COMPONENT_REGISTRY, ClearBitIconComponent, CollapsibleSidebarComponent, CollapsibleSidebarKeyboardShortcutDirective, CollapsibleSidebarService, CollapsibleSidebarSuperAdminGuard, CollapsibleSidebarTriggerDirective, ComingSoonComponent, CommandPaletteComponent, CommandPaletteService, CompletionBarComponent, ConfirmDialogComponent, ConfirmDialogService, DateRangePickerComponent, DynamicPageContextService, EntityGroupComponent, GroupDefinitionComponent, GroupsComponent, HeaderComponent, InputContainerComponent, LandingPageFooterBComponent, NoDataComponent, NumberPickerComponent, OnboardingChecklistComponent, OnlineIndicatorComponent, PasswordValidationComponent, PermissionTreeComponent, PrivacyAndTosComponent, PwBrainChatComponent, PwCookieBannerComponent, PwDynamicPageComponent, PwEditCardComponent, PwNoticeComponent, PwTabsComponent, RecordsSummaryComponent, ResourceSharedComponentsModule, SharedComponentsModule, SplashComponent, UI_BUILDER_FLAG, UiLayoutService, dashboardLegalPageRoutes, hasOpenMandatorySteps, publicLegalPageRoutes, registeredType, registeredTypeNames, visibleProductPrompts };
9535
9453
 
9536
9454
  //# sourceMappingURL=posiwise-shared-components.mjs.map