From 33ff99b715ee5fabdc20f2a67c556c2d19ba4784 Mon Sep 17 00:00:00 2001 From: codyllord Date: Wed, 14 Oct 2026 23:45:40 +0000 Subject: [PATCH 1/2] fix(services): one-column config page with Live API, Pipeline and Access closed The database service edit page opened with three page-header sections (Live API, Pipeline, Access) laid out as wrapped flex children, so the Live API header sat beside its card and Pipeline beside the Access matrix, and the connection form only began after the matrix. With 313 roles the page was 12,182 px tall before the first config field. New order, single column: health panel, Live API (closed, base URL in the header), the connection config form, then Pipeline (closed) and Access (closed, header reads "N of M roles can reach this service"). Closed sections do not render their body, so the roles x verbs matrix costs nothing until opened. Adds df-disclosure, a shared hairline section with an eyebrow, title, one-line summary and chevron; the whole header is the button (aria-expanded, aria-controls, focus ring, reduced-motion safe). Also replaces three H1 page headers inside the form with section headings. --- .../df-service-details.component.html | 97 +++++++++---------- .../df-service-details.component.scss | 12 +-- .../df-service-details.component.ts | 30 +++++- .../df-disclosure.component.html | 23 +++++ .../df-disclosure.component.scss | 93 ++++++++++++++++++ .../df-disclosure.component.spec.ts | 58 +++++++++++ .../df-disclosure/df-disclosure.component.ts | 47 +++++++++ src/assets/i18n/services/en.json | 6 +- 8 files changed, 303 insertions(+), 63 deletions(-) create mode 100644 src/app/shared/components/df-disclosure/df-disclosure.component.html create mode 100644 src/app/shared/components/df-disclosure/df-disclosure.component.scss create mode 100644 src/app/shared/components/df-disclosure/df-disclosure.component.spec.ts create mode 100644 src/app/shared/components/df-disclosure/df-disclosure.component.ts diff --git a/src/app/adf-services/df-service-details/df-service-details.component.html b/src/app/adf-services/df-service-details/df-service-details.component.html index c7ad8200..11955e18 100644 --- a/src/app/adf-services/df-service-details/df-service-details.component.html +++ b/src/app/adf-services/df-service-details/df-service-details.component.html @@ -495,15 +495,16 @@

[deprecated]="serviceData.deprecated"> - - - - + + [keys]="artifactKeys" (createKey)="onCreateApiKey()"> - - -
- - -

- {{ 'services.pipeline.hint' | transloco }} -

- - -
- - -
- - -

- {{ 'services.access.hint' | transloco }} -

- - -
-
+ Parameters

+ + + +

+ {{ 'services.pipeline.hint' | transloco }} +

+ + +
+ + +

+ {{ 'services.access.hint' | transloco }} +

+ + +
+
+
+
+

+ {{ description }} +

+ +
+ diff --git a/src/app/shared/components/df-disclosure/df-disclosure.component.scss b/src/app/shared/components/df-disclosure/df-disclosure.component.scss new file mode 100644 index 00000000..c9a2c00b --- /dev/null +++ b/src/app/shared/components/df-disclosure/df-disclosure.component.scss @@ -0,0 +1,93 @@ +// df-disclosure: hairline section with a closed-by-default body. +// Structure is the only decoration: one top rule, no card, no shadow. +:host { + display: block; + width: 100%; +} + +.disclosure { + border-top: 1px solid var(--df-border-2); +} + +.disclosure__header { + align-items: center; + background: none; + border: 0; + color: inherit; + cursor: pointer; + display: flex; + font: inherit; + gap: var(--df-space-4); + padding: var(--df-space-4) 0; + text-align: left; + width: 100%; + + &:hover .disclosure__title { + color: var(--df-accent); + } + + &:focus-visible { + outline: 2px solid var(--df-accent); + outline-offset: 2px; + border-radius: 2px; + } +} + +.disclosure__heading { + display: flex; + flex-direction: column; + gap: var(--df-space-1); + min-width: 0; +} + +.disclosure__eyebrow { + color: var(--df-text-muted); + font-size: var(--df-font-size-xs); + font-weight: var(--df-font-weight-medium); + letter-spacing: var(--df-tracking-eyebrow); + text-transform: uppercase; +} + +.disclosure__title { + color: var(--df-text); + font-size: var(--df-font-size-lg); + font-weight: var(--df-font-weight-heading); + letter-spacing: var(--df-tracking-tight); + line-height: var(--df-lh-tight); +} + +.disclosure__summary { + color: var(--df-text-muted); + font-size: var(--df-font-size-sm); + margin-left: auto; + min-width: 0; + overflow: hidden; + text-overflow: ellipsis; + white-space: nowrap; +} + +.disclosure__chevron { + color: var(--df-text-faint); + flex-shrink: 0; + transition: transform 120ms ease; + + .disclosure--open & { + transform: rotate(180deg); + } + + @media (prefers-reduced-motion: reduce) { + transition: none; + } +} + +.disclosure__body { + padding: 0 0 var(--df-space-5); +} + +.disclosure__description { + color: var(--df-text-2); + font-size: var(--df-font-size-sm); + line-height: var(--df-lh-base); + margin: 0 0 var(--df-space-4); + max-width: 68ch; +} diff --git a/src/app/shared/components/df-disclosure/df-disclosure.component.spec.ts b/src/app/shared/components/df-disclosure/df-disclosure.component.spec.ts new file mode 100644 index 00000000..5541e519 --- /dev/null +++ b/src/app/shared/components/df-disclosure/df-disclosure.component.spec.ts @@ -0,0 +1,58 @@ +import { Component } from '@angular/core'; +import { ComponentFixture, TestBed } from '@angular/core/testing'; +import { DfDisclosureComponent } from './df-disclosure.component'; + +@Component({ + standalone: true, + imports: [DfDisclosureComponent], + template: ` + +

heavy content

+
+ `, +}) +class HostComponent { + summary: string | null = '12 of 313 roles'; + opened: boolean | null = null; +} + +describe('DfDisclosureComponent', () => { + let fixture: ComponentFixture; + let el: HTMLElement; + + beforeEach(async () => { + await TestBed.configureTestingModule({ + imports: [HostComponent], + }).compileComponents(); + fixture = TestBed.createComponent(HostComponent); + el = fixture.nativeElement; + fixture.detectChanges(); + }); + + it('starts closed and does not render its body', () => { + expect(el.querySelector('.body')).toBeNull(); + expect( + el.querySelector('.disclosure__header')?.getAttribute('aria-expanded') + ).toBe('false'); + }); + + it('shows the summary while closed', () => { + expect(el.querySelector('.disclosure__summary')?.textContent?.trim()).toBe( + '12 of 313 roles' + ); + }); + + it('opens on click, renders the body and reports the change', () => { + (el.querySelector('.disclosure__header') as HTMLButtonElement).click(); + fixture.detectChanges(); + expect(el.querySelector('.body')).not.toBeNull(); + expect( + el.querySelector('.disclosure__header')?.getAttribute('aria-expanded') + ).toBe('true'); + expect(fixture.componentInstance.opened).toBe(true); + }); +}); diff --git a/src/app/shared/components/df-disclosure/df-disclosure.component.ts b/src/app/shared/components/df-disclosure/df-disclosure.component.ts new file mode 100644 index 00000000..d21b12d9 --- /dev/null +++ b/src/app/shared/components/df-disclosure/df-disclosure.component.ts @@ -0,0 +1,47 @@ +import { NgIf } from '@angular/common'; +import { + ChangeDetectionStrategy, + Component, + EventEmitter, + Input, + Output, +} from '@angular/core'; +import { MatIconModule } from '@angular/material/icon'; + +// df-disclosure: a page section that starts closed. +// +// One hairline row — eyebrow, title, an optional one-line summary — and a +// chevron. The whole row is the button. Content is projected and only +// rendered while open, so a heavy section (a roles x verbs matrix with +// hundreds of rows) costs nothing until someone asks for it. The summary is +// what makes a closed section still useful: pass the one fact a reader wants +// without opening it (a base URL, "12 of 313 roles"). +// +// Presentational only: it owns no copy, so it owns no i18n. Consumers pass +// display-ready strings. Tokens only: light/dark/phosphor for free. +let nextId = 0; + +@Component({ + selector: 'df-disclosure', + standalone: true, + changeDetection: ChangeDetectionStrategy.OnPush, + imports: [NgIf, MatIconModule], + templateUrl: './df-disclosure.component.html', + styleUrls: ['./df-disclosure.component.scss'], +}) +export class DfDisclosureComponent { + @Input() eyebrow?: string; + @Input({ required: true }) title = ''; + @Input() description?: string; + /** One line shown at the right of the header while closed or open. */ + @Input() summary?: string | null; + @Input() open = false; + @Output() openChange = new EventEmitter(); + + readonly panelId = `df-disclosure-${nextId++}`; + + toggle(): void { + this.open = !this.open; + this.openChange.emit(this.open); + } +} diff --git a/src/assets/i18n/services/en.json b/src/assets/i18n/services/en.json index e0275dc7..b0a35f54 100644 --- a/src/assets/i18n/services/en.json +++ b/src/assets/i18n/services/en.json @@ -33,7 +33,8 @@ "options": "Advanced Options", "overview": { "eyebrow": "Live API", - "description": "Your API is live. Copy a request and run it." + "description": "Copy a request and run it.", + "title": "Your API is live" }, "controls": { "serviceType": { @@ -103,7 +104,8 @@ "title": "{{verb}} on {{service}}", "hint": "This is everything the role reaches, not just this service. Grants marked inherited come from a wildcard rule; explicit grants target one service. Edit the role to change what agents and keys under it can touch.", "close": "Close" - } + }, + "summary": "{{granted}} of {{total}} roles can reach this service" }, "pipeline": { "eyebrow": "Pipeline", From 89b1f8bd8c05121d84ee8f5655b6be8b9a94e8a5 Mon Sep 17 00:00:00 2001 From: codyllord Date: Wed, 14 Oct 2026 23:49:16 +0000 Subject: [PATCH 2/2] chore(services): rebuild dist --- dist/2564.96bb51de0b3423bc.js | 1 - dist/2966.b713aec47d3b11ab.js | 1 + dist/assets/i18n/services/en.json | 6 ++++-- dist/index.html | 2 +- dist/{main.a8aea8bd0d10987a.js => main.d8d4e8ba9afa4252.js} | 2 +- ...time.a3b9d0562d04d59d.js => runtime.96cdcc55757dc056.js} | 2 +- 6 files changed, 8 insertions(+), 6 deletions(-) delete mode 100644 dist/2564.96bb51de0b3423bc.js create mode 100644 dist/2966.b713aec47d3b11ab.js rename dist/{main.a8aea8bd0d10987a.js => main.d8d4e8ba9afa4252.js} (99%) rename dist/{runtime.a3b9d0562d04d59d.js => runtime.96cdcc55757dc056.js} (69%) diff --git a/dist/2564.96bb51de0b3423bc.js b/dist/2564.96bb51de0b3423bc.js deleted file mode 100644 index a6a4d210..00000000 --- a/dist/2564.96bb51de0b3423bc.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkdf_admin_interface=self.webpackChunkdf_admin_interface||[]).push([[2564],{42564:(Wn,Le,g)=>{g.r(Le),g.d(Le,{DfMcpRouteShimComponent:()=>Nf});var d=g(18331),ve=g(18724),re=g(21406),m=g(78227),j=g(29167),fe=g(28600),O=g(54688),E=g(453),G=g(91900),X=g(60368),oe=g(96984),D=g(31147),e=g(1843),u=g(68660),w=g(54342),b=g(94093),S=g(98337),H=g(97828),ct=g(33492),Ge=g(28930),z=g(12324),Qn=g(97195),h=g(62633),Pe=g(69069),Z=g(7263),P=g(58497),ee=g(62572),je=g(69099),Ne=g(23135),R=g(52483),Fe=g(14087),we=g(80972),st=g(73475),De=g(56579),Kt=g(89905);let Jt=(()=>{class n{constructor(t,o){this.http=t,this.userDataService=o,this.excludedServices=["logs","log"]}getAbsoluteApiUrl(t){const c=`${window.location.origin}/${(t.startsWith("/")?t.substring(1):t).replace(/^(dreamfactory\/dist\/)?/,"")}`;return console.log(`\u{1f50d} Constructed absolute URL for API request: ${c}`),c}isSelectableFileService(t){return!this.excludedServices.some(o=>t.name.toLowerCase().includes(o)||t.label.toLowerCase().includes(o))}getHeaders(){const t={},o=this.userDataService.token;return o&&(t[st.Zl]=o),console.log("Auth headers:",t),t}getFileServices(){console.log("Getting file services, session token:",this.userDataService.token);const t={resource:[{id:3,name:"files",label:"Local File Storage",type:"local_file"}]};return this.userDataService.token?new Ne.c(o=>{o.next(t);const i=`${window.location.origin}/api/v2/system/service`;console.log(`Loading file services from absolute URL: ${i}`);const c=this.getHeaders();this.http.get(i,{params:{filter:"type=local_file",fields:"id,name,label,type"},headers:c}).pipe((0,z.T)(s=>s&&s.resource&&Array.isArray(s.resource)?(s.resource=s.resource.filter(l=>this.isSelectableFileService(l)),0===s.resource.length?(console.warn("No valid file services found in API response, using defaults"),t):s):(console.warn("Invalid response format from API, using default services"),t)),(0,R.W)(s=>(console.error("Error fetching file services:",s),console.warn("API call failed, using default file services"),new Ne.c(l=>{l.next(t),l.complete()})))).subscribe({next:s=>{JSON.stringify(s)!==JSON.stringify(t)&&o.next(s),o.complete()},error:()=>{o.complete()}})}):(console.warn("No session token available, using hardcoded file services"),new Ne.c(o=>{o.next(t),o.complete()}))}listFiles(t,o=""){if(!t)return console.warn("No service name provided for listFiles, returning empty list"),new Ne.c(p=>{p.next({resource:[]}),p.complete()});const i=o?`api/v2/${t}/${o}`:`api/v2/${t}`;console.log(`Listing files from path: ${i}`);const r=`${window.location.origin}/${i}`;console.log(`Using absolute URL: ${r}`);const s={},l=this.userDataService.token;return l&&(s[st.Zl]=l),this.http.get(r,{headers:s,params:{include_properties:"content_type",fields:"name,path,type,content_type,last_modified,size"}}).pipe((0,Fe.M)(p=>console.log("Files response:",p)),(0,R.W)(p=>{console.error(`Error fetching files from ${r}:`,p);let f="Error loading files. ";return f+=500===p.status?"The server encountered an internal error. This might be a temporary issue.":404===p.status?"The specified folder does not exist.":403===p.status||401===p.status?"You do not have permission to access this location.":"Please check your connection and try again.",console.warn(f),new Ne.c(M=>{M.next({resource:[],error:f}),M.complete()})}))}uploadFile(t,o,i=""){let r;r=i?`api/v2/${t}/${i.replace(/\/$/,"")}/${o.name}`:`api/v2/${t}/${o.name}`;const c=this.getAbsoluteApiUrl(r);console.log(`\u2b50\u2b50\u2b50 UPLOADING FILE ${o.name} (${o.size} bytes), type: ${o.type} \u2b50\u2b50\u2b50`),console.log(`To absolute URL: ${c}`),console.log(`Current document baseURI: ${document.baseURI}`),console.log(`Current window location: ${window.location.href}`),(o.name.endsWith(".pem")||o.name.endsWith(".p8")||o.name.endsWith(".key"))&&console.log("Detected private key file - using standard FormData upload method");const l=new FormData;l.append("files",o);const p=this.getHeaders();return this.http.post(c,l,{headers:p}).pipe((0,Fe.M)(f=>console.log("Upload complete with response:",f)),(0,R.W)(f=>(console.error(`Error uploading file: ${f.status} ${f.statusText}`,f),(0,we.$)(()=>(0,De.cQ)(f)))))}createDirectoryWithPost(t,o,i){const r={resource:[{name:i,type:"folder"}]},s=this.getAbsoluteApiUrl(o?`api/v2/${t}/${o}`:`api/v2/${t}`);console.log(`Creating directory using POST at absolute URL: ${s}`,r);const l=this.getHeaders();return l["X-Http-Method"]="POST",this.http.post(s,r,{headers:l}).pipe((0,Fe.M)(p=>console.log("Create directory response:",p)),(0,R.W)(p=>{throw console.error(`Error creating directory at ${s}:`,p),p}))}getFileContent(t,o){const r=this.getAbsoluteApiUrl(`api/v2/${t}/${o}`);return console.log(`Getting file content from absolute URL: ${r}`),this.http.get(r,{responseType:"blob",headers:this.getHeaders()}).pipe((0,R.W)(c=>{throw console.error(`Error getting file content from ${r}:`,c),c}))}deleteFile(t,o){const r=this.getAbsoluteApiUrl(`api/v2/${t}/${o}`);return console.log(`Deleting file at absolute URL: ${r}`),this.http.delete(r,{headers:this.getHeaders()}).pipe((0,Fe.M)(c=>console.log("Delete response:",c)),(0,R.W)(c=>{throw console.error(`Error deleting file at ${r}:`,c),c}))}createDirectory(t,o,i){const r={resource:[{name:i,type:"folder"}]},s=this.getAbsoluteApiUrl(o?`api/v2/${t}/${o}`:`api/v2/${t}`);return console.log(`Creating directory at absolute URL: ${s}`,r),this.http.post(s,r,{headers:this.getHeaders()}).pipe((0,Fe.M)(l=>console.log("Create directory response:",l)),(0,R.W)(l=>{throw console.error(`Error creating directory at ${s}:`,l),l}))}static{this.\u0275fac=function(o){return new(o||n)(e.KVO(ee.Qq),e.KVO(Kt.T))}}static{this.\u0275prov=e.jDH({token:n,factory:n.\u0275fac,providedIn:"root"})}}return n})();const Zn=["fileUploadInput"];function eo(n,a){1&n&&(e.qex(0),e.j41(1,"span"),e.EFF(2,"Upload Private Key File"),e.k0s(),e.bVm())}function to(n,a){1&n&&(e.qex(0),e.j41(1,"span"),e.EFF(2,"Select File"),e.k0s(),e.bVm())}function no(n,a){if(1&n&&(e.j41(0,"small"),e.EFF(1),e.k0s()),2&n){const t=e.XpG();e.R7$(1),e.SpI(" Allowed file types: ",t.data.allowedExtensions.join(", ")," ")}}function oo(n,a){if(1&n){const t=e.RV6();e.j41(0,"div",10),e.bIt("click",function(){const r=e.eBV(t).$implicit,c=e.XpG(2);return e.Njj(c.selectFileApi(r))}),e.j41(1,"div",11),e.nrm(2,"fa-icon",12),e.k0s(),e.j41(3,"div",13)(4,"div",14),e.EFF(5),e.k0s(),e.j41(6,"div",15),e.EFF(7),e.k0s()()()}if(2&n){const t=a.$implicit,o=e.XpG(2);e.R7$(2),e.Y8G("icon",o.faFolderOpen),e.R7$(3),e.JRh(t.label||t.name),e.R7$(2),e.JRh(t.type)}}function io(n,a){if(1&n&&(e.j41(0,"div",7)(1,"h3"),e.EFF(2,"Select a File Service"),e.k0s(),e.j41(3,"div",8),e.DNE(4,oo,8,3,"div",9),e.k0s()()),2&n){const t=e.XpG();e.R7$(4),e.Y8G("ngForOf",t.data.fileApis)}}function ao(n,a){if(1&n&&(e.j41(0,"span"),e.EFF(1),e.k0s()),2&n){const t=e.XpG(2);e.R7$(1),e.JRh(t.currentPath)}}function ro(n,a){1&n&&(e.j41(0,"div",32)(1,"p"),e.EFF(2," Select a file from the list below. To upload new files, please use the File Manager. "),e.k0s()())}function co(n,a){1&n&&(e.j41(0,"div",33),e.nrm(1,"mat-spinner",34),e.j41(2,"div"),e.EFF(3,"Loading files..."),e.k0s()())}function so(n,a){1&n&&(e.j41(0,"th",46),e.EFF(1,"Name"),e.k0s())}function lo(n,a){if(1&n){const t=e.RV6();e.j41(0,"td",47),e.bIt("click",function(){const r=e.eBV(t).$implicit,c=e.XpG(3);return e.Njj("folder"===r.type?c.openFolder(r):c.selectFile(r))}),e.j41(1,"div",48),e.nrm(2,"fa-icon",19),e.j41(3,"span"),e.EFF(4),e.k0s()()()}if(2&n){const t=a.$implicit,o=e.XpG(3);e.R7$(2),e.Y8G("icon","folder"===t.type?o.faFolderOpen:o.faFile),e.R7$(2),e.JRh(t.name)}}function po(n,a){1&n&&(e.j41(0,"th",46),e.EFF(1,"Type"),e.k0s())}function mo(n,a){if(1&n&&(e.j41(0,"td",49),e.EFF(1),e.k0s()),2&n){const t=a.$implicit;e.R7$(1),e.SpI(" ","folder"===t.type?"Folder":t.contentType||"File"," ")}}function _o(n,a){1&n&&(e.j41(0,"th",46),e.EFF(1,"Actions"),e.k0s())}function go(n,a){if(1&n){const t=e.RV6();e.j41(0,"button",52),e.bIt("click",function(){e.eBV(t);const i=e.XpG().$implicit,r=e.XpG(3);return e.Njj(r.openFolder(i))}),e.j41(1,"mat-icon"),e.EFF(2,"folder_open"),e.k0s()()}}function fo(n,a){if(1&n){const t=e.RV6();e.j41(0,"button",53),e.bIt("click",function(){e.eBV(t);const i=e.XpG().$implicit,r=e.XpG(3);return e.Njj(r.selectFile(i))}),e.j41(1,"mat-icon"),e.EFF(2,"check_circle"),e.k0s()()}if(2&n){const t=e.XpG(4);e.Y8G("disabled",t.data.uploadMode)}}function uo(n,a){if(1&n&&(e.j41(0,"td",49),e.DNE(1,go,3,0,"button",50),e.DNE(2,fo,3,1,"button",51),e.k0s()),2&n){const t=a.$implicit;e.R7$(1),e.Y8G("ngIf","folder"===t.type),e.R7$(1),e.Y8G("ngIf","file"===t.type)}}function ho(n,a){1&n&&e.nrm(0,"tr",54)}function bo(n,a){if(1&n){const t=e.RV6();e.j41(0,"tr",55),e.bIt("click",function(){const r=e.eBV(t).$implicit,c=e.XpG(3);return e.Njj("folder"===r.type?c.openFolder(r):null)}),e.k0s()}if(2&n){const t=a.$implicit,o=e.XpG(3);e.AVh("selected-row",(null==o.selectedFile?null:o.selectedFile.name)===t.name)}}function vo(n,a){if(1&n){const t=e.RV6();e.j41(0,"button",58),e.bIt("click",function(){e.eBV(t);const i=e.XpG(4);return e.Njj(i.triggerFileUpload())}),e.j41(1,"mat-icon"),e.EFF(2,"upload_file"),e.k0s(),e.EFF(3," Upload File Here "),e.k0s()}}function xo(n,a){if(1&n&&(e.j41(0,"div",56)(1,"p"),e.EFF(2,"This directory is empty."),e.k0s(),e.DNE(3,vo,4,0,"button",57),e.k0s()),2&n){const t=e.XpG(3);e.R7$(3),e.Y8G("ngIf",!t.isSelectorOnly)}}function Co(n,a){if(1&n&&(e.j41(0,"div",35)(1,"table",36),e.qex(2,37),e.DNE(3,so,2,0,"th",38),e.DNE(4,lo,5,2,"td",39),e.bVm(),e.qex(5,40),e.DNE(6,po,2,0,"th",38),e.DNE(7,mo,2,1,"td",41),e.bVm(),e.qex(8,42),e.DNE(9,_o,2,0,"th",38),e.DNE(10,uo,3,2,"td",41),e.bVm(),e.DNE(11,ho,1,0,"tr",43),e.DNE(12,bo,1,2,"tr",44),e.k0s(),e.DNE(13,xo,4,1,"div",45),e.k0s()),2&n){const t=e.XpG(2);e.R7$(1),e.Y8G("dataSource",t.files),e.R7$(10),e.Y8G("matHeaderRowDef",t.displayedColumns),e.R7$(1),e.Y8G("matRowDefColumns",t.displayedColumns),e.R7$(1),e.Y8G("ngIf",0===t.files.length)}}function ko(n,a){if(1&n){const t=e.RV6();e.j41(0,"div",59)(1,"h3"),e.EFF(2),e.k0s(),e.j41(3,"button",6),e.bIt("click",function(){e.eBV(t);const i=e.XpG(2);return e.Njj(i.uploadFile())}),e.nrm(4,"fa-icon",19),e.EFF(5," Upload Here "),e.k0s()()}if(2&n){const t=e.XpG(2);e.R7$(2),e.SpI('Upload "',null==t.data.fileToUpload?null:t.data.fileToUpload.name,'" to this location?'),e.R7$(1),e.Y8G("disabled",t.uploadInProgress),e.R7$(1),e.Y8G("icon",t.faUpload)}}function yo(n,a){if(1&n){const t=e.RV6();e.j41(0,"div",16)(1,"div",17)(2,"button",18),e.bIt("click",function(){e.eBV(t);const i=e.XpG();return e.Njj(i.navigateBack())}),e.nrm(3,"fa-icon",19),e.k0s(),e.j41(4,"div",20)(5,"span",21),e.EFF(6),e.k0s(),e.DNE(7,ao,2,1,"span",1),e.k0s()(),e.j41(8,"div",22)(9,"button",23),e.bIt("click",function(){e.eBV(t);const i=e.XpG();return e.Njj(i.showCreateFolderDialog())}),e.j41(10,"span",24),e.EFF(11,"cr"),e.k0s(),e.EFF(12," Create Folder "),e.k0s(),e.j41(13,"button",25),e.bIt("click",function(){e.eBV(t);const i=e.XpG();return e.Njj(i.triggerFileUpload())}),e.j41(14,"span",24),e.EFF(15,"up"),e.k0s(),e.EFF(16," Upload File "),e.k0s(),e.j41(17,"input",26,27),e.bIt("change",function(i){e.eBV(t);const r=e.XpG();return e.Njj(r.handleFileUpload(i))}),e.k0s()(),e.DNE(19,ro,3,0,"div",28),e.DNE(20,co,4,0,"div",29),e.DNE(21,Co,14,4,"div",30),e.DNE(22,ko,6,3,"div",31),e.k0s()}if(2&n){const t=e.XpG();e.R7$(3),e.Y8G("icon",t.faArrowLeft),e.R7$(3),e.JRh(t.selectedFileApi.name),e.R7$(1),e.Y8G("ngIf",t.currentPath),e.R7$(10),e.Y8G("accept",t.data.allowedExtensions.join(",")),e.R7$(2),e.Y8G("ngIf",t.isSelectorOnly),e.R7$(1),e.Y8G("ngIf",t.isLoading),e.R7$(1),e.Y8G("ngIf",!t.isLoading),e.R7$(1),e.Y8G("ngIf",t.data.uploadMode)}}let Mo=(()=>{class n{constructor(t){this.dialogRef=t,this.folderName=""}onCancel(){this.dialogRef.close()}onConfirm(){this.dialogRef.close(this.folderName)}static{this.\u0275fac=function(o){return new(o||n)(e.rXU(h.CP))}}static{this.\u0275cmp=e.VBU({type:n,selectors:[["df-create-folder-dialog"]],standalone:!0,features:[e.aNF],decls:12,vars:2,consts:[["mat-dialog-title",""],["appearance","outline",1,"full-width"],["matInput","","placeholder","Enter folder name",3,"ngModel","ngModelChange"],["align","end"],["mat-button","",3,"click"],["mat-raised-button","","color","primary",3,"disabled","click"]],template:function(o,i){1&o&&(e.j41(0,"h2",0),e.EFF(1,"Create New Folder"),e.k0s(),e.j41(2,"mat-dialog-content")(3,"mat-form-field",1)(4,"mat-label"),e.EFF(5,"Folder Name"),e.k0s(),e.j41(6,"input",2),e.bIt("ngModelChange",function(c){return i.folderName=c}),e.k0s()()(),e.j41(7,"mat-dialog-actions",3)(8,"button",4),e.bIt("click",function(){return i.onCancel()}),e.EFF(9,"Cancel"),e.k0s(),e.j41(10,"button",5),e.bIt("click",function(){return i.onConfirm()}),e.EFF(11," Create "),e.k0s()()),2&o&&(e.R7$(6),e.Y8G("ngModel",i.folderName),e.R7$(4),e.Y8G("disabled",!i.folderName))},dependencies:[h.hM,h.BI,h.Yi,h.E7,u.Hl,u.$z,O.RG,O.rl,O.nJ,E.fS,E.fg,m.YN,m.me,m.BC,m.vS,d.MD],styles:[".full-width[_ngcontent-%COMP%]{width:100%}"]})}}return n})(),lt=class Yt{get isSelectorOnly(){return console.log("isSelectorOnly getter called, data.selectorOnly =",this.data.selectorOnly),!!this.data.selectorOnly}constructor(a,t,o,i,r,c){this.dialogRef=a,this.data=t,this.dialog=o,this.http=i,this.fileApiService=r,this.crudService=c,this.faFolderOpen=b.Uj9,this.faFile=b.A4h,this.faArrowLeft=b.CeG,this.faUpload=b.JmV,this.selectedFileApi=null,this.currentPath="",this.files=[],this.navigationStack=[],this.isLoading=!1,this.uploadInProgress=!1,this.displayedColumns=["name","type","actions"],this.selectedFile=null}ngOnInit(){this.data.uploadMode&&this.data.fileApis.length>0&&this.selectFileApi(this.data.fileApis[0]),console.log("Dialog initialized with data:",{uploadMode:this.data.uploadMode,selectorOnly:this.data.selectorOnly,allowedExtensions:this.data.allowedExtensions,fileApis:this.data.fileApis?.length||0})}selectFileApi(a){this.selectedFileApi=a,this.currentPath="",this.navigationStack=[],this.loadFiles()}loadFiles(){this.selectedFileApi&&(this.isLoading=!0,this.fileApiService.listFiles(this.selectedFileApi.name,this.currentPath).pipe((0,H.s)(this)).subscribe({next:a=>{if(this.isLoading=!1,a.error&&(console.warn("File listing contained error:",a.error),a.error.includes("Internal Server Error")))return console.log("Server error encountered, showing empty directory"),void(this.files=[]);let t=[];Array.isArray(a)?t=a:a.resource&&Array.isArray(a.resource)&&(t=a.resource),this.files=t.map(o=>({name:o.name||(o.path?o.path.split("/").pop():""),path:o.path||((this.currentPath?this.currentPath+"/":"")+o.name).replace("//","/"),type:"folder"===o.type?"folder":"file",contentType:o.content_type||o.contentType,lastModified:o.last_modified||o.lastModified,size:o.size})),console.log("Processed files:",this.files)},error:a=>{console.error("Error loading files:",a),this.files=[];let t="Failed to load files. ";500===a.status?(t+="The server encountered an internal error. Using empty directory view.",console.warn(t)):404===a.status?(t+="The specified folder does not exist.",alert(t)):403===a.status||401===a.status?(t+="You do not have permission to access this location.",alert(t)):(t+="Please check your connection and try again.",alert(t)),this.isLoading=!1}}))}openFolder(a){this.navigationStack.push(this.currentPath),this.currentPath=a.path,this.loadFiles()}navigateBack(){this.navigationStack.length>0?(this.currentPath=this.navigationStack.pop()||"",this.loadFiles()):this.selectedFileApi&&(this.selectedFileApi=null,this.files=[])}selectFile(a){const t="."+a.name.split(".").pop()?.toLowerCase();this.data.allowedExtensions.includes(t)?this.selectedFile=a:alert(`Only ${this.data.allowedExtensions.join(", ")} files are allowed.`)}confirmSelection(){if(!this.selectedFile||!this.selectedFileApi)return;const a=this.selectedFileApi,i={path:"/opt/dreamfactory/storage/app/"+this.selectedFile.path,relativePath:this.selectedFile.path,fileName:this.selectedFile.name,name:this.selectedFile.name,serviceId:a.id,serviceName:a.name};console.log("Selected file with absolute path:",i),this.dialogRef.close(i)}uploadFileDirectly(a){this.selectedFileApi?(this.uploadInProgress=!0,this.performUpload(a,this.currentPath)):alert("Please select a file service first.")}performUpload(a,t){if(!this.selectedFileApi)return void(this.uploadInProgress=!1);this.uploadInProgress=!0;const o=this.selectedFileApi;console.log(`Starting upload of ${a.name} (${a.size} bytes) to ${o.name}/${t}`),this.fileApiService.uploadFile(o.name,a,t).pipe((0,H.s)(this)).subscribe({next:i=>{this.uploadInProgress=!1,console.log("Upload successful:",i);const r=t?`${t}/${a.name}`:a.name;console.log("File uploaded successfully, returning:",{path:"/opt/dreamfactory/storage/app/"+r,relativePath:r,fileName:a.name,name:a.name,serviceId:o.id,serviceName:o.name}),this.loadFiles(),setTimeout(()=>{const l=this.files.find(p=>p.name===a.name);l&&(this.selectedFile=l)},500)},error:i=>{console.error("Error uploading file:",i),this.uploadInProgress=!1;let r="Failed to upload file. ";r+=400===i.status?"Bad request - check if the file type is allowed or if the file is too large.":401===i.status||403===i.status?"Permission denied - you may not have access to upload to this location.":404===i.status?"The specified folder does not exist.":413===i.status?"The file is too large.":500===i.status?i.error?.error?.message||"Server error occurred.":"Please try again.",alert(r)}})}uploadFile(){this.data.fileToUpload&&this.selectedFileApi&&(this.uploadInProgress=!0,this.performUploadAndClose(this.data.fileToUpload,this.currentPath))}performUploadAndClose(a,t){if(!this.selectedFileApi)return void(this.uploadInProgress=!1);this.uploadInProgress=!0;const o=this.selectedFileApi;console.log(`Starting upload of ${a.name} (${a.size} bytes) to ${o.name}/${t}`),this.fileApiService.uploadFile(o.name,a,t).pipe((0,H.s)(this)).subscribe({next:i=>{this.uploadInProgress=!1,console.log("Upload successful:",i);const r=t?`${t}/${a.name}`:a.name,s={path:"/opt/dreamfactory/storage/app/"+r,relativePath:r,fileName:a.name,name:a.name,serviceId:o.id,serviceName:o.name};console.log("File uploaded successfully, returning with absolute path:",s),this.dialogRef.close(s)},error:i=>{console.error("Error uploading file:",i),this.uploadInProgress=!1;let r="Failed to upload file. ";r+=400===i.status?"Bad request - check if the file type is allowed or if the file is too large.":401===i.status||403===i.status?"Permission denied - you may not have access to upload to this location.":404===i.status?"The specified folder does not exist.":413===i.status?"The file is too large.":500===i.status?i.error?.error?.message||"Server error occurred.":"Please try again.",alert(r)}})}triggerFileUpload(){console.log("triggerFileUpload called, isSelectorOnly =",this.isSelectorOnly),this.isSelectorOnly?console.log("Blocked file upload due to selector-only mode"):this.fileUploadInput?(console.log("Clicking file upload input element"),this.fileUploadInput.nativeElement.click()):console.log("File upload input element not found")}showCreateFolderDialog(){console.log("showCreateFolderDialog called, isSelectorOnly =",this.isSelectorOnly),this.isSelectorOnly?console.log("Blocked folder creation due to selector-only mode"):this.dialog.open(Mo,{width:"350px"}).afterClosed().subscribe(t=>{t&&this.selectedFileApi&&this.createFolder(t)})}createFolder(a){this.selectedFileApi&&(this.isLoading=!0,this.fileApiService.createDirectory(this.selectedFileApi.name,this.currentPath,a).pipe((0,H.s)(this)).subscribe({next:()=>{console.log("Folder created successfully"),this.loadFiles()},error:t=>{console.error("Error creating folder:",t),alert("Failed to create folder. Please try again."),this.isLoading=!1}}))}cancel(){this.dialogRef.close()}handleFileUpload(a){const t=a.target;if(t.files&&t.files.length>0){const o=t.files[0];console.log(`File selected: ${o.name}`),console.log(`File size: ${o.size} bytes`),console.log(`File type: ${o.type}`),(o.name.endsWith(".pem")||o.name.endsWith(".p8")||o.name.endsWith(".key"))&&console.log("Handling private key file with special care for Snowflake authentication");const r=new FileReader;r.onload=c=>{const s=c.target?.result;console.log(`File content read successfully, content length: ${s?s.byteLength:0} bytes`);const l="."+o.name.split(".").pop()?.toLowerCase();this.data.allowedExtensions.includes(l)?this.uploadFileDirectly(o):alert(`Only ${this.data.allowedExtensions.join(", ")} files are allowed`)},r.onerror=c=>{console.error("Error reading file:",c),alert("Error reading file content. Please try again with another file.")},r.readAsArrayBuffer(o)}}static{this.\u0275fac=function(t){return new(t||Yt)(e.rXU(h.CP),e.rXU(h.Vh),e.rXU(h.bZ),e.rXU(ee.Qq),e.rXU(Jt),e.rXU(je.h))}}static{this.\u0275cmp=e.VBU({type:Yt,selectors:[["df-file-selector-dialog"]],viewQuery:function(t,o){if(1&t&&e.GBs(Zn,5),2&t){let i;e.mGM(i=e.lsd())&&(o.fileUploadInput=i.first)}},standalone:!0,features:[e.Jv_([{provide:je.h,useFactory:a=>new je.h("api/v2",a),deps:[ee.Qq]}]),e.aNF],decls:12,vars:6,consts:[["mat-dialog-title",""],[4,"ngIf"],["class","file-api-selection",4,"ngIf"],["class","file-browser",4,"ngIf"],["mat-dialog-actions","","align","end"],["mat-button","",3,"click"],["mat-raised-button","","color","primary",3,"disabled","click"],[1,"file-api-selection"],[1,"file-api-grid"],["class","file-api-card",3,"click",4,"ngFor","ngForOf"],[1,"file-api-card",3,"click"],[1,"file-api-icon"],["size","2x",3,"icon"],[1,"file-api-details"],[1,"file-api-name"],[1,"file-api-type"],[1,"file-browser"],[1,"navigation-bar"],["mat-icon-button","","matTooltip","Go back",3,"click"],[3,"icon"],[1,"current-location"],[1,"service-name"],[1,"action-row"],[1,"action-button","create-folder-btn",3,"click"],[1,"button-content"],[1,"action-button","upload-file-btn",3,"click"],["type","file",2,"display","none",3,"accept","change"],["fileUploadInput",""],["class","selector-info",4,"ngIf"],["class","loading-container",4,"ngIf"],["class","file-list",4,"ngIf"],["class","upload-section",4,"ngIf"],[1,"selector-info"],[1,"loading-container"],["diameter","40"],[1,"file-list"],["mat-table","",1,"file-table",3,"dataSource"],["matColumnDef","name"],["mat-header-cell","",4,"matHeaderCellDef"],["mat-cell","",3,"click",4,"matCellDef"],["matColumnDef","type"],["mat-cell","",4,"matCellDef"],["matColumnDef","actions"],["mat-header-row","",4,"matHeaderRowDef"],["mat-row","",3,"selected-row","click",4,"matRowDef","matRowDefColumns"],["class","empty-directory",4,"ngIf"],["mat-header-cell",""],["mat-cell","",3,"click"],[1,"file-name-cell"],["mat-cell",""],["mat-icon-button","","color","primary","matTooltip","Open folder",3,"click",4,"ngIf"],["mat-icon-button","","color","primary","matTooltip","Select file",3,"disabled","click",4,"ngIf"],["mat-icon-button","","color","primary","matTooltip","Open folder",3,"click"],["mat-icon-button","","color","primary","matTooltip","Select file",3,"disabled","click"],["mat-header-row",""],["mat-row","",3,"click"],[1,"empty-directory"],["mat-stroked-button","","color","primary",3,"click",4,"ngIf"],["mat-stroked-button","","color","primary",3,"click"],[1,"upload-section"]],template:function(t,o){1&t&&(e.j41(0,"h2",0),e.DNE(1,eo,3,0,"ng-container",1),e.DNE(2,to,3,0,"ng-container",1),e.DNE(3,no,2,1,"small",1),e.k0s(),e.j41(4,"mat-dialog-content"),e.DNE(5,io,5,1,"div",2),e.DNE(6,yo,23,8,"div",3),e.k0s(),e.j41(7,"div",4)(8,"button",5),e.bIt("click",function(){return o.cancel()}),e.EFF(9,"Cancel"),e.k0s(),e.j41(10,"button",6),e.bIt("click",function(){return o.confirmSelection()}),e.EFF(11," Choose "),e.k0s()()),2&t&&(e.R7$(1),e.Y8G("ngIf",o.data.uploadMode),e.R7$(1),e.Y8G("ngIf",!o.data.uploadMode),e.R7$(1),e.Y8G("ngIf",o.data.allowedExtensions.length>0),e.R7$(2),e.Y8G("ngIf",!o.selectedFileApi),e.R7$(1),e.Y8G("ngIf",o.selectedFileApi),e.R7$(4),e.Y8G("disabled",!o.selectedFile||"folder"===o.selectedFile.type))},dependencies:[d.MD,d.Sq,d.bT,h.hM,h.BI,h.Yi,h.E7,u.Hl,u.$z,u.iY,oe.RI,O.RG,E.fS,G.Ve,Pe.D6,Pe.LG,Z.m_,Z.An,P.tP,P.Zl,P.tL,P.ji,P.cC,P.YV,P.iL,P.KS,P.$R,P.YZ,P.NB,S.uc,S.oV,m.YN,m.X1,w.dX,w.aY],styles:["mat-dialog-content[_ngcontent-%COMP%]{min-height:400px;max-height:600px;overflow-y:auto}h2[_ngcontent-%COMP%]{margin-bottom:0}h2[_ngcontent-%COMP%] small[_ngcontent-%COMP%]{display:block;font-size:1.2rem;font-weight:400;color:var(--df-text-muted);margin-top:4px}.file-api-selection[_ngcontent-%COMP%]{padding:16px 0}.file-api-selection[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{margin-top:0;margin-bottom:16px;font-size:1.6rem;font-weight:600;letter-spacing:-.01em}.file-api-grid[_ngcontent-%COMP%]{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:16px}.file-api-card[_ngcontent-%COMP%]{display:flex;align-items:center;padding:16px;border-radius:var(--df-radius);border:1px solid var(--df-border);cursor:pointer;transition:background-color .2s ease,border-color .2s ease}.file-api-card[_ngcontent-%COMP%]:hover{background-color:var(--df-hover);border-color:var(--df-accent)}.file-api-icon[_ngcontent-%COMP%]{margin-right:16px;color:var(--df-accent)}.file-api-details[_ngcontent-%COMP%] .file-api-name[_ngcontent-%COMP%]{font-weight:500;margin-bottom:4px}.file-api-details[_ngcontent-%COMP%] .file-api-type[_ngcontent-%COMP%]{font-size:1.2rem;color:var(--df-text-muted)}.file-browser[_ngcontent-%COMP%] .navigation-bar[_ngcontent-%COMP%]{display:flex;align-items:center;margin-bottom:16px}.file-browser[_ngcontent-%COMP%] .navigation-bar[_ngcontent-%COMP%] .current-location[_ngcontent-%COMP%]{margin-left:8px}.file-browser[_ngcontent-%COMP%] .navigation-bar[_ngcontent-%COMP%] .current-location[_ngcontent-%COMP%] .service-name[_ngcontent-%COMP%]{font-weight:500;margin-right:8px}.file-browser[_ngcontent-%COMP%] .action-row[_ngcontent-%COMP%]{display:flex;gap:16px;margin-bottom:20px;padding:10px;border:1px dashed var(--df-border);border-radius:var(--df-radius-sm);background-color:var(--df-surface-2)}.file-browser[_ngcontent-%COMP%] .action-row[_ngcontent-%COMP%] .action-button[_ngcontent-%COMP%]{display:flex;align-items:center;border:none;border-radius:var(--df-radius-sm);padding:8px 16px;font-size:1.4rem;font-weight:500;cursor:pointer;transition:all .2s ease}.file-browser[_ngcontent-%COMP%] .action-row[_ngcontent-%COMP%] .action-button[_ngcontent-%COMP%] .button-content[_ngcontent-%COMP%]{display:inline-flex;align-items:center;justify-content:center;width:24px;height:24px;border:1px solid currentColor;border-radius:var(--df-radius-sm);margin-right:8px;font-weight:700;font-size:1.2rem;opacity:.85}.file-browser[_ngcontent-%COMP%] .action-row[_ngcontent-%COMP%] .action-button[_ngcontent-%COMP%]:hover{opacity:.9}.file-browser[_ngcontent-%COMP%] .action-row[_ngcontent-%COMP%] .action-button[_ngcontent-%COMP%]:active{transform:translateY(1px)}.file-browser[_ngcontent-%COMP%] .action-row[_ngcontent-%COMP%] .create-folder-btn[_ngcontent-%COMP%]{background-color:var(--df-accent);color:var(--df-accent-contrast)}.file-browser[_ngcontent-%COMP%] .action-row[_ngcontent-%COMP%] .upload-file-btn[_ngcontent-%COMP%]{background-color:transparent;border:1px solid var(--df-border);color:var(--df-text-2)}.file-browser[_ngcontent-%COMP%] .action-row[_ngcontent-%COMP%] .upload-file-btn[_ngcontent-%COMP%]:hover{background-color:var(--df-hover)}.loading-container[_ngcontent-%COMP%]{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:32px}.loading-container[_ngcontent-%COMP%] div[_ngcontent-%COMP%]{margin-top:16px;color:var(--df-text-muted)}.file-table[_ngcontent-%COMP%]{width:100%}.file-table[_ngcontent-%COMP%] .mat-column-name[_ngcontent-%COMP%]{width:60%}.file-table[_ngcontent-%COMP%] .mat-column-type[_ngcontent-%COMP%]{width:20%}.file-table[_ngcontent-%COMP%] .mat-column-actions[_ngcontent-%COMP%]{width:20%;text-align:right}.file-table[_ngcontent-%COMP%] .file-name-cell[_ngcontent-%COMP%]{display:flex;align-items:center}.file-table[_ngcontent-%COMP%] .file-name-cell[_ngcontent-%COMP%] fa-icon[_ngcontent-%COMP%]{margin-right:8px;color:var(--df-accent)}.file-table[_ngcontent-%COMP%] .selected-row[_ngcontent-%COMP%]{background-color:var(--df-accent-soft)}.empty-directory[_ngcontent-%COMP%]{padding:24px 16px;text-align:center;color:var(--df-text-muted)}.empty-directory[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{margin-bottom:16px;font-style:italic}.empty-directory[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{margin-top:8px}.upload-section[_ngcontent-%COMP%]{margin-top:24px;padding:16px;border-radius:var(--df-radius);border:1px solid var(--df-border-2);background-color:var(--df-surface-2);text-align:center}.upload-section[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{margin-top:0;margin-bottom:16px}"]})}};lt=(0,re.Cg)([(0,H.d)({checkProperties:!0})],lt);var U=g(75066),W=g(16994),N=g(11863);function Oo(n,a){if(1&n&&(e.j41(0,"span",8),e.EFF(1),e.k0s()),2&n){const t=e.XpG(2);e.R7$(1),e.JRh(t.label)}}function Po(n,a){if(1&n&&e.nrm(0,"div",9),2&n){const t=e.XpG(2);e.Y8G("innerHTML",t.description,e.npT)}}function Fo(n,a){if(1&n&&(e.j41(0,"div",5),e.DNE(1,Oo,2,1,"span",6),e.DNE(2,Po,1,1,"div",7),e.k0s()),2&n){const t=e.XpG();e.R7$(1),e.Y8G("ngIf",t.label),e.R7$(1),e.Y8G("ngIf",t.description)}}function wo(n,a){1&n&&(e.j41(0,"div",17),e.EFF(1," No file services configured. Contact your administrator. "),e.k0s())}function Do(n,a){if(1&n){const t=e.RV6();e.j41(0,"div",10)(1,"div",11)(2,"button",12),e.bIt("click",function(){e.eBV(t);const i=e.XpG();return e.Njj(i.openFileSelector())}),e.nrm(3,"fa-icon",13),e.EFF(4," Select File "),e.k0s(),e.j41(5,"button",14),e.bIt("click",function(){e.eBV(t);const i=e.XpG();return e.Njj(i.goToFilesManager())}),e.nrm(6,"fa-icon",13),e.EFF(7," File Manager "),e.k0s()(),e.j41(8,"div",15),e.EFF(9,' You can upload and select files directly with "Select File" or manage files via the "File Manager". '),e.k0s(),e.DNE(10,wo,2,0,"div",16),e.k0s()}if(2&n){const t=e.XpG();e.R7$(3),e.Y8G("icon",t.faFolderOpen),e.R7$(3),e.Y8G("icon",t.faExternalLinkAlt),e.R7$(4),e.Y8G("ngIf",0===t.fileApis.length)}}function To(n,a){if(1&n&&(e.j41(0,"div",31)(1,"strong"),e.EFF(2,"Service:"),e.k0s(),e.EFF(3),e.k0s()),2&n){const t=e.XpG(2);e.R7$(3),e.SpI(" ",t.selectedFile.serviceName," ")}}function So(n,a){if(1&n&&(e.j41(0,"div",32)(1,"span",33),e.EFF(2,"Service Relative Path:"),e.k0s(),e.j41(3,"span",34),e.EFF(4),e.k0s()()),2&n){const t=e.XpG(2);e.R7$(4),e.JRh(t.selectedFile.relativePath)}}function Ro(n,a){if(1&n){const t=e.RV6();e.j41(0,"div",18)(1,"div",19),e.nrm(2,"fa-icon",20),e.j41(3,"div",21)(4,"div",22),e.EFF(5),e.k0s(),e.DNE(6,To,4,1,"div",23),e.j41(7,"div",24)(8,"div",25),e.EFF(9,"Full Absolute Path:"),e.k0s(),e.j41(10,"div",26)(11,"div",27),e.EFF(12),e.k0s()(),e.DNE(13,So,5,1,"div",28),e.k0s()()(),e.j41(14,"div",29)(15,"button",30),e.bIt("click",function(){e.eBV(t);const i=e.XpG();return e.Njj(i.clearSelection())}),e.EFF(16," Clear selection "),e.k0s(),e.j41(17,"button",12),e.bIt("click",function(){e.eBV(t);const i=e.XpG();return e.Njj(i.openFileSelector())}),e.EFF(18," Choose Different "),e.k0s(),e.j41(19,"button",14),e.bIt("click",function(){e.eBV(t);const i=e.XpG();return e.Njj(i.goToFilesManager())}),e.nrm(20,"fa-icon",13),e.EFF(21," File Manager "),e.k0s()()()}if(2&n){const t=e.XpG();e.R7$(2),e.Y8G("icon",t.faFile),e.R7$(3),e.SpI(" ",t.selectedFile.fileName||t.selectedFile.name," "),e.R7$(1),e.Y8G("ngIf","Unknown"!==t.selectedFile.serviceName),e.R7$(6),e.JRh(t.selectedFile.path),e.R7$(1),e.Y8G("ngIf",t.selectedFile.relativePath),e.R7$(7),e.Y8G("icon",t.faExternalLinkAlt)}}let dt=class Vt{constructor(a,t,o,i){this.dialog=a,this.fileApiService=t,this.crudService=o,this.router=i,this.label="Private Key File",this.description="",this.allowedExtensions=[".pem",".p8",".key"],this.initialValue="",this.fileSelected=new e.bkB,this.faFile=b.A4h,this.faFolderOpen=b.Uj9,this.faCheck=b.e68,this.faUpload=b.JmV,this.faExternalLinkAlt=b.AaJ,this.selectedFile=void 0,this.fileApis=[],this.isLoading=!1}ngOnInit(){this.loadFileApis(),this.initialValue&&this.parseInitialValue(),this.ensureFallbackService()}goToFilesManager(){this.router.navigate([W.b.ADMIN_SETTINGS,W.b.FILES])}ensureFallbackService(){0===this.fileApis.length&&(console.log("Creating fallback file service entry"),this.fileApis=[{id:1,name:"files",label:"Local Files",type:"local_file"}])}loadFileApis(){this.isLoading=!0,this.ensureFallbackService(),this.fileApiService.getFileServices().pipe((0,H.s)(this)).subscribe({next:a=>{a&&a.resource&&a.resource.length>0?this.fileApis=a.resource:this.ensureFallbackService(),this.isLoading=!1},error:a=>{console.error("Error loading file APIs:",a),this.ensureFallbackService(),this.isLoading=!1}})}openFileSelector(){this.ensureFallbackService(),console.log("Opening file selector dialog with selectorOnly = false"),this.dialog.open(lt,{width:"800px",data:{fileApis:this.fileApis,allowedExtensions:this.allowedExtensions,selectorOnly:!1}}).afterClosed().subscribe(t=>{t&&(this.selectedFile=t,this.fileSelected.emit(this.selectedFile))})}clearSelection(){this.selectedFile=void 0,this.fileSelected.emit(void 0)}parseInitialValue(a){try{const t=a||this.initialValue;if(t){console.log("Parsing path value:",t);const o=t.split("/"),i=o[o.length-1];this.selectedFile={path:t,fileName:i,name:i,serviceId:0,serviceName:"Unknown"},console.log("Generated selected file:",this.selectedFile)}}catch(t){console.error("Failed to parse path value:",t)}}setPath(a){a&&(console.log("Setting path manually:",a),this.parseInitialValue(a))}static{this.\u0275fac=function(t){return new(t||Vt)(e.rXU(h.bZ),e.rXU(Jt),e.rXU(je.h),e.rXU(N.Ix))}}static{this.\u0275cmp=e.VBU({type:Vt,selectors:[["df-file-selector"]],inputs:{label:"label",description:"description",allowedExtensions:"allowedExtensions",initialValue:"initialValue"},outputs:{fileSelected:"fileSelected"},standalone:!0,features:[e.Jv_([{provide:U.Wi,useValue:"api/v2/system/service"},je.h]),e.aNF],decls:5,vars:3,consts:[[1,"file-selector-container"],["class","file-selector-header",4,"ngIf"],[1,"file-selector-content"],["class","file-selector-empty",4,"ngIf"],["class","file-selector-selected",4,"ngIf"],[1,"file-selector-header"],["class","file-selector-label",4,"ngIf"],["class","file-selector-description",3,"innerHTML",4,"ngIf"],[1,"file-selector-label"],[1,"file-selector-description",3,"innerHTML"],[1,"file-selector-empty"],[1,"file-selector-actions"],["mat-raised-button","","color","primary",1,"select-file-button",3,"click"],[3,"icon"],["mat-button","","color","accent","matTooltip","Upload and manage files in the file manager",1,"manage-files-button",3,"click"],[1,"help-text"],["class","no-apis-message",4,"ngIf"],[1,"no-apis-message"],[1,"file-selector-selected"],[1,"selected-file-info"],[1,"file-icon",3,"icon"],[1,"file-details"],[1,"file-name"],["class","file-service",4,"ngIf"],[1,"file-path-container"],[1,"file-path-header"],[1,"file-path-section"],[1,"file-path-value"],["class","relative-path-section",4,"ngIf"],[1,"file-actions"],[1,"clear-button",3,"click"],[1,"file-service"],[1,"relative-path-section"],[1,"relative-path-label"],[1,"relative-path-value"]],template:function(t,o){1&t&&(e.j41(0,"div",0),e.DNE(1,Fo,3,2,"div",1),e.j41(2,"div",2),e.DNE(3,Do,11,3,"div",3),e.DNE(4,Ro,22,6,"div",4),e.k0s()()),2&t&&(e.R7$(1),e.Y8G("ngIf",o.label||o.description),e.R7$(2),e.Y8G("ngIf",!o.selectedFile),e.R7$(1),e.Y8G("ngIf",o.selectedFile))},dependencies:[d.MD,d.bT,h.hM,u.Hl,u.$z,O.RG,E.fS,G.Ve,m.YN,m.X1,S.uc,S.oV,w.dX,w.aY,Z.m_],styles:[".file-selector-container[_ngcontent-%COMP%]{width:100%;border:1px solid var(--df-border);border-radius:var(--df-radius);padding:16px;margin-bottom:16px}.file-selector-header[_ngcontent-%COMP%]{margin-bottom:16px}.file-selector-label[_ngcontent-%COMP%]{font-size:1.5rem;font-weight:600;letter-spacing:-.01em;margin-right:8px;color:var(--df-text)}.file-selector-description[_ngcontent-%COMP%]{font-size:1.3rem;color:var(--df-text-muted)}.file-selector-description[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{color:var(--df-accent);text-decoration:none}.file-selector-description[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:hover{text-decoration:underline}.file-selector-content[_ngcontent-%COMP%]{width:100%}.file-selector-empty[_ngcontent-%COMP%]{display:flex;flex-direction:column;align-items:center;padding:16px 0}.file-selector-actions[_ngcontent-%COMP%]{display:flex;justify-content:center;margin-bottom:16px}.select-file-button[_ngcontent-%COMP%]{padding:8px 24px;font-size:1.4rem}.select-file-button[_ngcontent-%COMP%] fa-icon[_ngcontent-%COMP%]{margin-right:8px}.file-selector-selected[_ngcontent-%COMP%]{display:flex;justify-content:space-between;align-items:center;padding:12px;background-color:var(--df-surface-2);border:1px solid var(--df-border-2);border-radius:var(--df-radius-sm)}.selected-file-info[_ngcontent-%COMP%]{display:flex;align-items:center;gap:12px}.file-icon[_ngcontent-%COMP%]{font-size:2.4rem;color:var(--df-accent)}.file-details[_ngcontent-%COMP%]{display:flex;flex-direction:column}.file-name[_ngcontent-%COMP%]{color:var(--df-text);font-weight:500;margin-bottom:4px}.file-path-container[_ngcontent-%COMP%]{margin-top:12px;padding:4px;border-radius:var(--df-radius-sm)}.file-path-header[_ngcontent-%COMP%]{font-size:11px;font-weight:600;text-transform:uppercase;letter-spacing:.06em;margin-bottom:6px;color:var(--df-text-muted)}.file-path-section[_ngcontent-%COMP%]{display:flex;margin-bottom:8px;flex-wrap:wrap;padding:12px;background-color:var(--df-surface-2);border-radius:var(--df-radius-sm);border:1px solid var(--df-border)}.file-path-label[_ngcontent-%COMP%]{font-weight:600;margin-right:8px;color:var(--df-text);font-size:1.3rem}.file-path-value[_ngcontent-%COMP%]{font-size:1.3rem;word-break:break-all;flex:1;font-family:SFMono-Regular,Menlo,Consolas,monospace;background-color:var(--df-code-bg);color:var(--df-code-text);padding:4px 8px;border-radius:var(--df-radius-sm);border:1px solid var(--df-border-2)}.file-service[_ngcontent-%COMP%]{font-size:1.2rem;color:var(--df-text-2)}.file-actions[_ngcontent-%COMP%]{display:flex;gap:12px;align-items:center}.clear-button[_ngcontent-%COMP%]{background:none;border:none;color:var(--df-danger);cursor:pointer;font-size:1.3rem;padding:0;font-weight:500}.clear-button[_ngcontent-%COMP%]:hover{text-decoration:underline}.no-apis-message[_ngcontent-%COMP%]{color:var(--df-text-muted);font-style:italic}.relative-path-section[_ngcontent-%COMP%]{display:flex;margin-top:6px;font-size:1.2rem;color:var(--df-text-muted)}.relative-path-label[_ngcontent-%COMP%]{font-weight:600;margin-right:8px}.relative-path-value[_ngcontent-%COMP%]{font-family:SFMono-Regular,Menlo,Consolas,monospace}"]})}};dt=(0,re.Cg)([(0,H.d)({checkProperties:!0})],dt);var Ue=g(19206),q=g(42250);const Io=["fileSelector"];function Eo(n,a){if(1&n&&(e.j41(0,"mat-label"),e.EFF(1),e.k0s()),2&n){const t=e.XpG(2);e.R7$(1),e.JRh(t.schema.label)}}function $o(n,a){if(1&n&&e.nrm(0,"input",8),2&n){const t=e.XpG(2);e.Y8G("formControl",t.control)("type","integer"===t.schema.type?"number":"password"===t.schema.type?"password":"text"),e.BMQ("autocomplete","password"===t.schema.type?"current-password":"off")("aria-label",t.schema.label)}}function Go(n,a){if(1&n&&(e.j41(0,"mat-option",11),e.EFF(1),e.k0s()),2&n){const t=a.$implicit;e.Y8G("value",t.name),e.R7$(1),e.SpI(" ",t.label," ")}}function jo(n,a){if(1&n&&(e.j41(0,"mat-select",9),e.DNE(1,Go,2,2,"mat-option",10),e.k0s()),2&n){const t=e.XpG(2);e.Y8G("multiple","multi_picklist"===t.schema.type)("formControl",t.control),e.R7$(1),e.Y8G("ngForOf",t.schema.values)("ngForTrackBy",t.trackByOptionName)}}function No(n,a){if(1&n&&e.nrm(0,"fa-icon",12),2&n){const t=e.XpG(2);e.Y8G("icon",t.faCircleInfo)("matTooltip",t.schema.description)}}const Ao=function(){return["integer","string","password","text"]},Yo=function(){return["picklist","multi_picklist"]};function Vo(n,a){if(1&n&&(e.j41(0,"mat-form-field",4),e.DNE(1,Eo,2,1,"mat-label",1),e.DNE(2,$o,1,4,"input",5),e.DNE(3,jo,2,4,"mat-select",6),e.DNE(4,No,1,2,"fa-icon",7),e.k0s()),2&n){const t=e.XpG();e.R7$(1),e.Y8G("ngIf",t.showLabel),e.R7$(1),e.Y8G("ngIf",e.lJ4(4,Ao).includes(t.schema.type)),e.R7$(1),e.Y8G("ngIf",e.lJ4(5,Yo).includes(t.schema.type)),e.R7$(1),e.Y8G("ngIf",t.schema.description)}}const Xo=function(){return[".p8",".pem",".key"]};function zo(n,a){if(1&n){const t=e.RV6();e.qex(0),e.j41(1,"df-file-selector",13,14),e.bIt("fileSelected",function(i){e.eBV(t);const r=e.XpG();return e.Njj(r.onFileSelected(i))}),e.k0s(),e.bVm()}if(2&n){const t=e.XpG();e.R7$(1),e.Y8G("label",t.schema.label)("description",t.schema.description||"")("allowedExtensions",e.lJ4(4,Xo))("initialValue",t.control.value)}}function Bo(n,a){if(1&n){const t=e.RV6();e.qex(0),e.j41(1,"input",15,16),e.bIt("change",function(i){e.eBV(t);const r=e.XpG();return e.Njj(r.handleFileInput(i))}),e.k0s(),e.j41(3,"button",17),e.bIt("click",function(){e.eBV(t);const i=e.sdS(2);return e.Njj(i.click())}),e.EFF(4),e.k0s(),e.EFF(5),e.nI1(6,"transloco"),e.bVm()}if(2&n){const t=e.XpG();let o;e.R7$(3),e.Y8G("matTooltip",null!==(o=t.schema.description)&&void 0!==o?o:""),e.R7$(1),e.SpI(" ",t.schema.label," "),e.R7$(1),e.SpI(" ",t.control.value?t.control.value.name:e.bMT(6,3,"noFileSelected")," ")}}function Lo(n,a){if(1&n&&(e.qex(0),e.j41(1,"span"),e.EFF(2),e.k0s(),e.bVm()),2&n){const t=e.XpG(2);e.R7$(2),e.JRh(t.schema.label)}}function Uo(n,a){if(1&n&&(e.j41(0,"mat-slide-toggle",18),e.DNE(1,Lo,3,1,"ng-container",1),e.k0s()),2&n){const t=e.XpG();let o;e.Y8G("formControl",t.control)("matTooltip",null!==(o=t.schema.description)&&void 0!==o?o:""),e.BMQ("aria-label",t.schema.label),e.R7$(1),e.Y8G("ngIf",t.showLabel)}}function qo(n,a){if(1&n&&(e.j41(0,"mat-label"),e.EFF(1),e.k0s()),2&n){const t=e.XpG(2);e.R7$(1),e.JRh(t.schema.label)}}function Ko(n,a){if(1&n&&(e.j41(0,"mat-option",11),e.EFF(1),e.k0s()),2&n){const t=a.$implicit;e.Y8G("value",t),e.R7$(1),e.SpI(" ",t," ")}}function Jo(n,a){if(1&n&&(e.j41(0,"mat-form-field",19),e.DNE(1,qo,2,1,"mat-label",1),e.nrm(2,"input",20),e.j41(3,"mat-autocomplete",null,21),e.DNE(5,Ko,2,2,"mat-option",10),e.nI1(6,"async"),e.k0s()()),2&n){const t=e.sdS(4),o=e.XpG();e.R7$(1),e.Y8G("ngIf",o.showLabel),e.R7$(1),e.Y8G("formControl",o.control)("matAutocomplete",t),e.BMQ("aria-label",o.schema.label),e.R7$(3),e.Y8G("ngForOf",e.bMT(6,6,o.filteredEventList))("ngForTrackBy",o.trackByValue)}}const Ho=function(){return["integer","password","string","string","picklist","multi_picklist","text"]};let qe=class Xt{constructor(a,t,o){this.controlDir=a,this.activedRoute=t,this.themeService=o,this.showLabel=!0,this.faCircleInfo=b.mEO,this.control=new m.MJ,this.pendingFilePath=null,this.eventList=[],this.isDarkMode=this.themeService.darkMode$,a.valueAccessor=this}trackByOptionName(a,t){return t.name}trackByValue(a,t){return t}ngOnInit(){"event_picklist"===this.schema.type&&(this.activedRoute.data.subscribe(a=>{a.systemEvents&&a.systemEvents.resource&&(this.eventList=(0,Qn.$)(a.systemEvents.resource))}),this.filteredEventList=this.control.valueChanges.pipe((0,Ge.Z)(""),(0,z.T)(a=>a&&this.eventList?this.eventList.filter(t=>t.toLowerCase().includes(a.toLowerCase())):[])))}ngDoCheck(){this.controlDir.control instanceof m.MJ&&this.controlDir.control.hasValidator(m.k0.required)&&this.control.addValidators(m.k0.required)}ngAfterViewInit(){"file_certificate_api"===this.schema?.type&&this.fileSelector&&(this.pendingFilePath?(console.log("Applying pending file path after view init:",this.pendingFilePath),this.fileSelector.setPath(this.pendingFilePath),this.pendingFilePath=null):this.control.value&&"string"==typeof this.control.value&&(console.log("Setting file selector path after view init:",this.control.value),this.fileSelector.setPath(this.control.value)))}handleFileInput(a){const t=a.target;t.files&&this.control.setValue(t.files[0])}onFileSelected(a){a?(this.control.setValue(a.path),console.log("File selected in dynamic field:",a)):this.control.setValue(null)}writeValue(a){if(console.log("Dynamic field writeValue:",a,"Schema type:",this.schema?.type),"file_certificate_api"===this.schema?.type&&"string"==typeof a&&a)return console.log("Setting file path value:",a),this.control.setValue(a,{emitEvent:!1}),void(this.fileSelector?(console.log("Setting path on file selector:",a),this.fileSelector.setPath(a)):(console.log("File selector not yet available, storing pending path:",a),this.pendingFilePath=a));this.control.setValue(a,{emitEvent:!1})}registerOnChange(a){this.onChange=a,this.control.valueChanges.subscribe(t=>this.onChange(t))}registerOnTouched(a){this.onTouched=a}setDisabledState(a){a?this.control.disable():this.control.enable()}static{this.\u0275fac=function(t){return new(t||Xt)(e.rXU(m.vO,10),e.rXU(N.nX),e.rXU(Ue.n))}}static{this.\u0275cmp=e.VBU({type:Xt,selectors:[["df-dynamic-field"]],viewQuery:function(t,o){if(1&t&&e.GBs(Io,5),2&t){let i;e.mGM(i=e.lsd())&&(o.fileSelector=i.first)}},inputs:{schema:"schema",showLabel:"showLabel"},standalone:!0,features:[e.aNF],decls:6,vars:6,consts:[["subscriptSizing","dynamic","appearance","outline",4,"ngIf"],[4,"ngIf"],["color","primary",3,"formControl","matTooltip",4,"ngIf"],["subscriptSizing","dynamic",4,"ngIf"],["subscriptSizing","dynamic","appearance","outline"],["matInput","",3,"formControl","type",4,"ngIf"],[3,"multiple","formControl",4,"ngIf"],["class","tool-tip-trigger","matSuffix","",3,"icon","matTooltip",4,"ngIf"],["matInput","",3,"formControl","type"],[3,"multiple","formControl"],[3,"value",4,"ngFor","ngForOf","ngForTrackBy"],[3,"value"],["matSuffix","",1,"tool-tip-trigger",3,"icon","matTooltip"],[3,"label","description","allowedExtensions","initialValue","fileSelected"],["fileSelector",""],["type","file",2,"display","none",3,"change"],["fileInput",""],["mat-flat-button","","color","primary",3,"matTooltip","click"],["color","primary",3,"formControl","matTooltip"],["subscriptSizing","dynamic"],["type","text","matInput","",3,"formControl","matAutocomplete"],["auto","matAutocomplete"]],template:function(t,o){1&t&&(e.j41(0,"div"),e.DNE(1,Vo,5,6,"mat-form-field",0),e.DNE(2,zo,3,5,"ng-container",1),e.DNE(3,Bo,7,5,"ng-container",1),e.DNE(4,Uo,2,4,"mat-slide-toggle",2),e.DNE(5,Jo,7,8,"mat-form-field",3),e.k0s()),2&t&&(e.R7$(1),e.Y8G("ngIf",e.lJ4(5,Ho).includes(o.schema.type)),e.R7$(1),e.Y8G("ngIf","file_certificate_api"===o.schema.type),e.R7$(1),e.Y8G("ngIf","file_certificate"===o.schema.type),e.R7$(1),e.Y8G("ngIf","boolean"===o.schema.type),e.R7$(1),e.Y8G("ngIf","event_picklist"===o.schema.type))},dependencies:[O.RG,O.rl,O.nJ,O.yw,E.fS,E.fg,d.bT,G.Ve,G.VO,q.wT,X.mV,X.sG,m.X1,m.me,m.BC,m.l_,d.pM,u.Hl,u.$z,D.Kj,w.dX,w.aY,S.uc,S.oV,ct.jL,ct.$3,ct.pN,d.Jj,dt],encapsulation:2})}};qe=(0,re.Cg)([(0,H.d)({checkProperties:!0})],qe);var pt,Te=g(93138),Wo=g(1803);function Qo(n,a){if(1&n&&e.nrm(0,"fa-icon",10),2&n){const t=e.XpG(2);e.Y8G("icon",t.faCircleInfo)("matTooltip",t.schema.description)}}function Zo(n,a){if(1&n&&(e.j41(0,"mat-card-header"),e.EFF(1),e.DNE(2,Qo,1,2,"fa-icon",9),e.k0s()),2&n){const t=e.XpG();e.R7$(1),e.JRh(t.schema.label),e.R7$(1),e.Y8G("ngIf",t.schema.description)}}function ei(n,a){if(1&n&&e.nrm(0,"fa-icon",10),2&n){const t=e.XpG(3);e.Y8G("icon",t.faCircleInfo)("matTooltip",t.schema.description)}}function ti(n,a){if(1&n&&(e.j41(0,"th",12),e.EFF(1),e.DNE(2,ei,1,2,"fa-icon",9),e.k0s()),2&n){const t=e.XpG(2);e.R7$(1),e.SpI(" ",t.schema.label,""),e.R7$(1),e.Y8G("ngIf",t.schema.description)}}function ni(n,a){if(1&n&&(e.j41(0,"td",13)(1,"mat-form-field",14),e.nrm(2,"input",15),e.k0s()()),2&n){const t=a.index,o=e.XpG(2);e.R7$(2),e.Y8G("formControl",o.controls[t]),e.BMQ("aria-label",o.schema.label)}}function oi(n,a){if(1&n&&(e.qex(0,11),e.DNE(1,ti,3,2,"th",5),e.DNE(2,ni,3,2,"td",6),e.bVm()),2&n){const t=e.XpG();e.Y8G("matColumnDef",t.schema.name)}}function ii(n,a){if(1&n&&(e.j41(0,"th",12),e.EFF(1),e.k0s()),2&n){const t=e.XpG().$implicit;e.R7$(1),e.SpI(" ",t.label," ")}}function ai(n,a){if(1&n&&e.nrm(0,"df-verb-picker",20),2&n){const t=e.XpG(2).$implicit;e.Y8G("formControlName",t.name)("schema",t)}}function ri(n,a){if(1&n&&e.nrm(0,"df-dynamic-field",21),2&n){const t=e.XpG(2).$implicit;e.Y8G("showLabel",!1)("schema",t)("formControlName",t.name)}}function ci(n,a){if(1&n&&(e.j41(0,"td",13),e.qex(1,17),e.DNE(2,ai,1,2,"df-verb-picker",18),e.DNE(3,ri,1,3,"df-dynamic-field",19),e.bVm(),e.k0s()),2&n){const t=a.index,o=e.XpG().$implicit,i=e.XpG(2);e.R7$(1),e.Y8G("formGroup",i.getFormGroup(t)),e.R7$(1),e.Y8G("ngIf","verb_mask"===o.type),e.R7$(1),e.Y8G("ngIf","verb_mask"!==o.type)}}function si(n,a){1&n&&(e.qex(0,11),e.DNE(1,ii,2,1,"th",5),e.DNE(2,ci,4,3,"td",6),e.bVm()),2&n&&e.Y8G("matColumnDef",a.$implicit.name)}function li(n,a){if(1&n&&e.DNE(0,si,3,1,"ng-container",16),2&n){const t=e.XpG();e.Y8G("ngForOf",t.schemas)}}function di(n,a){if(1&n){const t=e.RV6();e.j41(0,"th",12)(1,"button",22),e.bIt("click",function(){e.eBV(t);const i=e.XpG();return e.Njj(i.add())}),e.nI1(2,"transloco"),e.nrm(3,"fa-icon",23),e.k0s()()}if(2&n){const t=e.XpG();e.R7$(1),e.BMQ("aria-label",e.bMT(2,2,"newEntry")),e.R7$(2),e.Y8G("icon",t.faPlus)}}const pi=function(n){return{id:n}};function mi(n,a){if(1&n){const t=e.RV6();e.j41(0,"td",13)(1,"button",24),e.bIt("click",function(){const r=e.eBV(t).index,c=e.XpG();return e.Njj(c.remove(r))}),e.nI1(2,"transloco"),e.nrm(3,"fa-icon",23),e.k0s()()}if(2&n){const t=a.index,o=e.XpG();e.R7$(1),e.BMQ("aria-label",e.i5U(2,2,"deleteRow",e.eq3(5,pi,t))),e.R7$(2),e.Y8G("icon",o.faTrashCan)}}function _i(n,a){1&n&&e.nrm(0,"tr",25)}function gi(n,a){1&n&&e.nrm(0,"tr",26)}let mt=class zt{static{pt=this}updateDataSource(){this.dataSource=new P.I6(this.fieldArray.controls)}constructor(a,t){this.fb=a,this.themeService=t,this.faPlus=b.QLR,this.faTrashCan=b.sjs,this.faCircleInfo=b.mEO,this.isDarkMode=this.themeService.darkMode$,this._displayedColumns=[]}get controls(){return this.fieldArray.controls}ngOnInit(){this.fieldArray||this.initialize()}get schemas(){return"array"===this.schema.type?this.schema.items:[{name:"key",label:this.schema.object?.key.label,type:this.schema.object?.key.type},{name:"value",label:this.schema.object?.value.label,type:this.schema.object?.value.type}]}get displayedColumns(){if(this._displayedColumnsSchema!==this.schema){this._displayedColumnsSchema=this.schema;const a="array"===this.schema.type?"string"===this.schema.items?[this.schema.name]:this.schemas.map(t=>t.name):["key","value"];a.push("actions"),this._displayedColumns=a}return this._displayedColumns}getFormGroup(a){return this.fieldArray.at(a)}createGroup(a){const t=this.fb.group({});return this.schemas.forEach(o=>{t.addControl(o.name,new m.MJ(a?a[o.name]:o.default))}),a&&t.patchValue(a),t}initialize(){this.fieldArray=this.fb.array([]),this.updateDataSource()}writeValue(a){this.fieldArray||this.initialize(),this.fieldArray.clear({emitEvent:!1}),a&&Array.isArray(a)&&"array"===this.schema.type?a.forEach(t=>this.fieldArray.push("string"===this.schema.items?new m.MJ(t):this.createGroup(t),{emitEvent:!1})):a&&"object"===this.schema.type&&Object.keys(a).forEach(t=>this.fieldArray.push(this.createGroup({key:t,value:a[t]}),{emitEvent:!1})),this.updateDataSource()}registerOnChange(a){this.onChange=a,this.fieldArray.valueChanges.pipe((0,z.T)(t=>"object"===this.schema.type?t.reduce((o,i)=>(o[i.key]=i.value,o),{}):t)).subscribe(t=>{this.onChange(t),this.updateDataSource()})}registerOnTouched(a){this.onTouched=a}setDisabledState(a){a?this.fieldArray.disable():this.fieldArray.enable()}add(){this.fieldArray.push("string"===this.schema.items?new m.MJ(""):this.createGroup())}remove(a){this.fieldArray.removeAt(a)}static{this.\u0275fac=function(t){return new(t||zt)(e.rXU(m.ok),e.rXU(Ue.n))}}static{this.\u0275cmp=e.VBU({type:zt,selectors:[["df-array-field"]],inputs:{schema:"schema"},standalone:!0,features:[e.Jv_([{provide:m.kq,useExisting:(0,e.Rfq)(()=>pt),multi:!0}]),e.aNF],decls:11,vars:6,consts:[[4,"ngIf"],["mat-table","",3,"dataSource"],[3,"matColumnDef",4,"ngIf","ngIfElse"],["dynamic",""],["matColumnDef","actions","stickyEnd",""],["mat-header-cell","",4,"matHeaderCellDef"],["mat-cell","",4,"matCellDef"],["mat-header-row","",4,"matHeaderRowDef"],["mat-row","",4,"matRowDef","matRowDefColumns"],["class","tool-tip-trigger","matSuffix","",3,"icon","matTooltip",4,"ngIf"],["matSuffix","",1,"tool-tip-trigger",3,"icon","matTooltip"],[3,"matColumnDef"],["mat-header-cell",""],["mat-cell",""],["appearance","outline","subscriptSizing","dynamic",1,"full-width"],["matInput","","type","text",3,"formControl"],[3,"matColumnDef",4,"ngFor","ngForOf"],[3,"formGroup"],["type","number","class","full-width",3,"formControlName","schema",4,"ngIf"],["class","full-width",3,"showLabel","schema","formControlName",4,"ngIf"],["type","number",1,"full-width",3,"formControlName","schema"],[1,"full-width",3,"showLabel","schema","formControlName"],["type","button","mat-mini-fab","","color","primary",3,"click"],["size","lg",3,"icon"],["type","button","mat-mini-fab","",1,"remove-btn",3,"click"],["mat-header-row",""],["mat-row",""]],template:function(t,o){if(1&t&&(e.j41(0,"mat-card"),e.DNE(1,Zo,3,2,"mat-card-header",0),e.j41(2,"table",1),e.DNE(3,oi,3,1,"ng-container",2),e.DNE(4,li,1,1,"ng-template",null,3,e.C5r),e.qex(6,4),e.DNE(7,di,4,4,"th",5),e.DNE(8,mi,4,7,"td",6),e.bVm(),e.DNE(9,_i,1,0,"tr",7),e.DNE(10,gi,1,0,"tr",8),e.k0s()()),2&t){const i=e.sdS(5);e.R7$(1),e.Y8G("ngIf","string"!==o.schema.items),e.R7$(1),e.Y8G("dataSource",o.dataSource),e.R7$(1),e.Y8G("ngIf","string"===o.schema.items)("ngIfElse",i),e.R7$(6),e.Y8G("matHeaderRowDef",o.displayedColumns),e.R7$(1),e.Y8G("matRowDefColumns",o.displayedColumns)}},dependencies:[m.X1,m.me,m.BC,m.cb,m.l_,m.j4,m.JD,d.pM,O.RG,O.rl,O.yw,E.fS,E.fg,u.Hl,u.$0,w.dX,w.aY,qe,d.bT,P.tP,P.Zl,P.tL,P.ji,P.cC,P.YV,P.iL,P.KS,P.$R,P.YZ,P.NB,Te.Hu,Te.RN,Te.MM,S.uc,S.oV,D.Kj,Wo.N,G.Ve],styles:[".mat-ripple[_ngcontent-%COMP%]{overflow:hidden;position:relative}.mat-ripple[_ngcontent-%COMP%]:not(:empty){transform:translateZ(0)}.mat-ripple.mat-ripple-unbounded[_ngcontent-%COMP%]{overflow:visible}.mat-ripple-element[_ngcontent-%COMP%]{position:absolute;border-radius:50%;pointer-events:none;transition:opacity,transform 0ms cubic-bezier(0,0,.2,1);transform:scale3d(0,0,0)}.cdk-high-contrast-active[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%]{display:none}.cdk-visually-hidden[_ngcontent-%COMP%]{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;white-space:nowrap;outline:0;-webkit-appearance:none;-moz-appearance:none;left:0}[dir=rtl][_ngcontent-%COMP%] .cdk-visually-hidden[_ngcontent-%COMP%]{left:auto;right:0}.cdk-overlay-container[_ngcontent-%COMP%], .cdk-global-overlay-wrapper[_ngcontent-%COMP%]{pointer-events:none;top:0;left:0;height:100%;width:100%}.cdk-overlay-container[_ngcontent-%COMP%]{position:fixed;z-index:1000}.cdk-overlay-container[_ngcontent-%COMP%]:empty{display:none}.cdk-global-overlay-wrapper[_ngcontent-%COMP%]{display:flex;position:absolute;z-index:1000}.cdk-overlay-pane[_ngcontent-%COMP%]{position:absolute;pointer-events:auto;box-sizing:border-box;z-index:1000;display:flex;max-width:100%;max-height:100%}.cdk-overlay-backdrop[_ngcontent-%COMP%]{position:absolute;inset:0;z-index:1000;pointer-events:auto;-webkit-tap-highlight-color:transparent;transition:opacity .4s cubic-bezier(.25,.8,.25,1);opacity:0}.cdk-overlay-backdrop.cdk-overlay-backdrop-showing[_ngcontent-%COMP%]{opacity:1}.cdk-high-contrast-active[_ngcontent-%COMP%] .cdk-overlay-backdrop.cdk-overlay-backdrop-showing[_ngcontent-%COMP%]{opacity:.6}.cdk-overlay-dark-backdrop[_ngcontent-%COMP%]{background:rgba(0,0,0,.32)}.cdk-overlay-transparent-backdrop[_ngcontent-%COMP%]{transition:visibility 1ms linear,opacity 1ms linear;visibility:hidden;opacity:1}.cdk-overlay-transparent-backdrop.cdk-overlay-backdrop-showing[_ngcontent-%COMP%]{opacity:0;visibility:visible}.cdk-overlay-backdrop-noop-animation[_ngcontent-%COMP%]{transition:none}.cdk-overlay-connected-position-bounding-box[_ngcontent-%COMP%]{position:absolute;z-index:1000;display:flex;flex-direction:column;min-width:1px;min-height:1px}.cdk-global-scrollblock[_ngcontent-%COMP%]{position:fixed;width:100%;overflow-y:scroll}textarea.cdk-textarea-autosize[_ngcontent-%COMP%]{resize:none}textarea.cdk-textarea-autosize-measuring[_ngcontent-%COMP%]{padding:2px 0!important;box-sizing:content-box!important;height:auto!important;overflow:hidden!important}textarea.cdk-textarea-autosize-measuring-firefox[_ngcontent-%COMP%]{padding:2px 0!important;box-sizing:content-box!important;height:0!important}@keyframes _ngcontent-%COMP%_cdk-text-field-autofill-start{}@keyframes _ngcontent-%COMP%_cdk-text-field-autofill-end{}.cdk-text-field-autofill-monitored[_ngcontent-%COMP%]:-webkit-autofill{animation:_ngcontent-%COMP%_cdk-text-field-autofill-start 0s 1ms}.cdk-text-field-autofill-monitored[_ngcontent-%COMP%]:not(:-webkit-autofill){animation:_ngcontent-%COMP%_cdk-text-field-autofill-end 0s 1ms}.mat-focus-indicator[_ngcontent-%COMP%]{position:relative}.mat-focus-indicator[_ngcontent-%COMP%]:before{inset:0;position:absolute;box-sizing:border-box;pointer-events:none;display:var(--mat-focus-indicator-display, none);border:var(--mat-focus-indicator-border-width, 3px) var(--mat-focus-indicator-border-style, solid) var(--mat-focus-indicator-border-color, transparent);border-radius:var(--mat-focus-indicator-border-radius, 4px)}.mat-focus-indicator[_ngcontent-%COMP%]:focus:before{content:\"\"}.cdk-high-contrast-active[_ngcontent-%COMP%]{--mat-focus-indicator-display: block}.mat-mdc-focus-indicator[_ngcontent-%COMP%]{position:relative}.mat-mdc-focus-indicator[_ngcontent-%COMP%]:before{inset:0;position:absolute;box-sizing:border-box;pointer-events:none;display:var(--mat-mdc-focus-indicator-display, none);border:var(--mat-mdc-focus-indicator-border-width, 3px) var(--mat-mdc-focus-indicator-border-style, solid) var(--mat-mdc-focus-indicator-border-color, transparent);border-radius:var(--mat-mdc-focus-indicator-border-radius, 4px)}.mat-mdc-focus-indicator[_ngcontent-%COMP%]:focus:before{content:\"\"}.cdk-high-contrast-active[_ngcontent-%COMP%]{--mat-mdc-focus-indicator-display: block}@font-face{font-family:Inter;src:url(Inter-VariableFont_slnt,wght.1cccc37b0c8d2802.ttf)}.mat-ripple-element[_ngcontent-%COMP%]{background-color:#0000001a}html[_ngcontent-%COMP%]{--mat-option-selected-state-label-text-color: #0f0761;--mat-option-label-text-color: rgba(0, 0, 0, .87);--mat-option-hover-state-layer-color: rgba(0, 0, 0, .04);--mat-option-focus-state-layer-color: rgba(0, 0, 0, .04);--mat-option-selected-state-layer-color: rgba(0, 0, 0, .04)}.mat-accent[_ngcontent-%COMP%]{--mat-option-selected-state-label-text-color: #dd7345}.mat-warn[_ngcontent-%COMP%]{--mat-option-selected-state-label-text-color: #f44336}html[_ngcontent-%COMP%]{--mat-optgroup-label-text-color: rgba(0, 0, 0, .87)}.mat-pseudo-checkbox-full[_ngcontent-%COMP%]{color:#0000008a}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-disabled[_ngcontent-%COMP%]{color:#b0b0b0}.mat-primary[_ngcontent-%COMP%] .mat-pseudo-checkbox-checked.mat-pseudo-checkbox-minimal[_ngcontent-%COMP%]:after, .mat-primary[_ngcontent-%COMP%] .mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-minimal[_ngcontent-%COMP%]:after{color:#0f0761}.mat-primary[_ngcontent-%COMP%] .mat-pseudo-checkbox-checked.mat-pseudo-checkbox-full[_ngcontent-%COMP%], .mat-primary[_ngcontent-%COMP%] .mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-full[_ngcontent-%COMP%]{background:#0f0761}.mat-primary[_ngcontent-%COMP%] .mat-pseudo-checkbox-checked.mat-pseudo-checkbox-full[_ngcontent-%COMP%]:after, .mat-primary[_ngcontent-%COMP%] .mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-full[_ngcontent-%COMP%]:after{color:#fafafa}.mat-pseudo-checkbox-checked.mat-pseudo-checkbox-minimal[_ngcontent-%COMP%]:after, .mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-minimal[_ngcontent-%COMP%]:after{color:#dd7345}.mat-pseudo-checkbox-checked.mat-pseudo-checkbox-full[_ngcontent-%COMP%], .mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-full[_ngcontent-%COMP%]{background:#dd7345}.mat-pseudo-checkbox-checked.mat-pseudo-checkbox-full[_ngcontent-%COMP%]:after, .mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-full[_ngcontent-%COMP%]:after{color:#fafafa}.mat-accent[_ngcontent-%COMP%] .mat-pseudo-checkbox-checked.mat-pseudo-checkbox-minimal[_ngcontent-%COMP%]:after, .mat-accent[_ngcontent-%COMP%] .mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-minimal[_ngcontent-%COMP%]:after{color:#dd7345}.mat-accent[_ngcontent-%COMP%] .mat-pseudo-checkbox-checked.mat-pseudo-checkbox-full[_ngcontent-%COMP%], .mat-accent[_ngcontent-%COMP%] .mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-full[_ngcontent-%COMP%]{background:#dd7345}.mat-accent[_ngcontent-%COMP%] .mat-pseudo-checkbox-checked.mat-pseudo-checkbox-full[_ngcontent-%COMP%]:after, .mat-accent[_ngcontent-%COMP%] .mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-full[_ngcontent-%COMP%]:after{color:#fafafa}.mat-warn[_ngcontent-%COMP%] .mat-pseudo-checkbox-checked.mat-pseudo-checkbox-minimal[_ngcontent-%COMP%]:after, .mat-warn[_ngcontent-%COMP%] .mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-minimal[_ngcontent-%COMP%]:after{color:#f44336}.mat-warn[_ngcontent-%COMP%] .mat-pseudo-checkbox-checked.mat-pseudo-checkbox-full[_ngcontent-%COMP%], .mat-warn[_ngcontent-%COMP%] .mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-full[_ngcontent-%COMP%]{background:#f44336}.mat-warn[_ngcontent-%COMP%] .mat-pseudo-checkbox-checked.mat-pseudo-checkbox-full[_ngcontent-%COMP%]:after, .mat-warn[_ngcontent-%COMP%] .mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-full[_ngcontent-%COMP%]:after{color:#fafafa}.mat-pseudo-checkbox-disabled.mat-pseudo-checkbox-checked.mat-pseudo-checkbox-minimal[_ngcontent-%COMP%]:after, .mat-pseudo-checkbox-disabled.mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-minimal[_ngcontent-%COMP%]:after{color:#b0b0b0}.mat-pseudo-checkbox-disabled.mat-pseudo-checkbox-checked.mat-pseudo-checkbox-full[_ngcontent-%COMP%], .mat-pseudo-checkbox-disabled.mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-full[_ngcontent-%COMP%]{background:#b0b0b0}.mat-app-background[_ngcontent-%COMP%]{background-color:#fafafa;color:#000000de}.mat-elevation-z0[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z0[_ngcontent-%COMP%]{box-shadow:0 0 #0003,0 0 #00000024,0 0 #0000001f}.mat-elevation-z1[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z1[_ngcontent-%COMP%]{box-shadow:0 2px 1px -1px #0003,0 1px 1px #00000024,0 1px 3px #0000001f}.mat-elevation-z2[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z2[_ngcontent-%COMP%]{box-shadow:0 3px 1px -2px #0003,0 2px 2px #00000024,0 1px 5px #0000001f}.mat-elevation-z3[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z3[_ngcontent-%COMP%]{box-shadow:0 3px 3px -2px #0003,0 3px 4px #00000024,0 1px 8px #0000001f}.mat-elevation-z4[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z4[_ngcontent-%COMP%]{box-shadow:0 2px 4px -1px #0003,0 4px 5px #00000024,0 1px 10px #0000001f}.mat-elevation-z5[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z5[_ngcontent-%COMP%]{box-shadow:0 3px 5px -1px #0003,0 5px 8px #00000024,0 1px 14px #0000001f}.mat-elevation-z6[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z6[_ngcontent-%COMP%]{box-shadow:0 3px 5px -1px #0003,0 6px 10px #00000024,0 1px 18px #0000001f}.mat-elevation-z7[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z7[_ngcontent-%COMP%]{box-shadow:0 4px 5px -2px #0003,0 7px 10px 1px #00000024,0 2px 16px 1px #0000001f}.mat-elevation-z8[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z8[_ngcontent-%COMP%]{box-shadow:0 5px 5px -3px #0003,0 8px 10px 1px #00000024,0 3px 14px 2px #0000001f}.mat-elevation-z9[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z9[_ngcontent-%COMP%]{box-shadow:0 5px 6px -3px #0003,0 9px 12px 1px #00000024,0 3px 16px 2px #0000001f}.mat-elevation-z10[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z10[_ngcontent-%COMP%]{box-shadow:0 6px 6px -3px #0003,0 10px 14px 1px #00000024,0 4px 18px 3px #0000001f}.mat-elevation-z11[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z11[_ngcontent-%COMP%]{box-shadow:0 6px 7px -4px #0003,0 11px 15px 1px #00000024,0 4px 20px 3px #0000001f}.mat-elevation-z12[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z12[_ngcontent-%COMP%]{box-shadow:0 7px 8px -4px #0003,0 12px 17px 2px #00000024,0 5px 22px 4px #0000001f}.mat-elevation-z13[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z13[_ngcontent-%COMP%]{box-shadow:0 7px 8px -4px #0003,0 13px 19px 2px #00000024,0 5px 24px 4px #0000001f}.mat-elevation-z14[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z14[_ngcontent-%COMP%]{box-shadow:0 7px 9px -4px #0003,0 14px 21px 2px #00000024,0 5px 26px 4px #0000001f}.mat-elevation-z15[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z15[_ngcontent-%COMP%]{box-shadow:0 8px 9px -5px #0003,0 15px 22px 2px #00000024,0 6px 28px 5px #0000001f}.mat-elevation-z16[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z16[_ngcontent-%COMP%]{box-shadow:0 8px 10px -5px #0003,0 16px 24px 2px #00000024,0 6px 30px 5px #0000001f}.mat-elevation-z17[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z17[_ngcontent-%COMP%]{box-shadow:0 8px 11px -5px #0003,0 17px 26px 2px #00000024,0 6px 32px 5px #0000001f}.mat-elevation-z18[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z18[_ngcontent-%COMP%]{box-shadow:0 9px 11px -5px #0003,0 18px 28px 2px #00000024,0 7px 34px 6px #0000001f}.mat-elevation-z19[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z19[_ngcontent-%COMP%]{box-shadow:0 9px 12px -6px #0003,0 19px 29px 2px #00000024,0 7px 36px 6px #0000001f}.mat-elevation-z20[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z20[_ngcontent-%COMP%]{box-shadow:0 10px 13px -6px #0003,0 20px 31px 3px #00000024,0 8px 38px 7px #0000001f}.mat-elevation-z21[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z21[_ngcontent-%COMP%]{box-shadow:0 10px 13px -6px #0003,0 21px 33px 3px #00000024,0 8px 40px 7px #0000001f}.mat-elevation-z22[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z22[_ngcontent-%COMP%]{box-shadow:0 10px 14px -6px #0003,0 22px 35px 3px #00000024,0 8px 42px 7px #0000001f}.mat-elevation-z23[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z23[_ngcontent-%COMP%]{box-shadow:0 11px 14px -7px #0003,0 23px 36px 3px #00000024,0 9px 44px 8px #0000001f}.mat-elevation-z24[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z24[_ngcontent-%COMP%]{box-shadow:0 11px 15px -7px #0003,0 24px 38px 3px #00000024,0 9px 46px 8px #0000001f}.mat-theme-loaded-marker[_ngcontent-%COMP%]{display:none}html[_ngcontent-%COMP%]{--mat-option-label-text-font: Inter;--mat-option-label-text-line-height: 19px;--mat-option-label-text-size: 13px;--mat-option-label-text-tracking: normal;--mat-option-label-text-weight: 400}html[_ngcontent-%COMP%]{--mat-optgroup-label-text-font: Inter;--mat-optgroup-label-text-line-height: 19px;--mat-optgroup-label-text-size: 13px;--mat-optgroup-label-text-tracking: normal;--mat-optgroup-label-text-weight: 400}.mat-mdc-card[_ngcontent-%COMP%]{--mdc-elevated-card-container-color: white;--mdc-elevated-card-container-elevation: 0px 2px 1px -1px rgba(0, 0, 0, .2), 0px 1px 1px 0px rgba(0, 0, 0, .14), 0px 1px 3px 0px rgba(0, 0, 0, .12);--mdc-outlined-card-container-color: white;--mdc-outlined-card-outline-color: rgba(0, 0, 0, .12);--mdc-outlined-card-container-elevation: 0px 0px 0px 0px rgba(0, 0, 0, .2), 0px 0px 0px 0px rgba(0, 0, 0, .14), 0px 0px 0px 0px rgba(0, 0, 0, .12);--mat-card-subtitle-text-color: rgba(0, 0, 0, .54)}.mat-mdc-card[_ngcontent-%COMP%]{--mat-card-title-text-font: Inter;--mat-card-title-text-line-height: 21px;--mat-card-title-text-size: 16px;--mat-card-title-text-tracking: normal;--mat-card-title-text-weight: 600;--mat-card-subtitle-text-font: Inter;--mat-card-subtitle-text-line-height: 19px;--mat-card-subtitle-text-size: 13px;--mat-card-subtitle-text-tracking: normal;--mat-card-subtitle-text-weight: 500}.mat-mdc-progress-bar[_ngcontent-%COMP%]{--mdc-linear-progress-active-indicator-color: #0f0761;--mdc-linear-progress-track-color: rgba(15, 7, 97, .25)}.mat-mdc-progress-bar[_ngcontent-%COMP%] .mdc-linear-progress__buffer-dots[_ngcontent-%COMP%]{background-color:#0f076140;background-color:var(--mdc-linear-progress-track-color, rgba(15, 7, 97, .25))}@media (forced-colors: active){.mat-mdc-progress-bar[_ngcontent-%COMP%] .mdc-linear-progress__buffer-dots[_ngcontent-%COMP%]{background-color:ButtonBorder}}@media all and (-ms-high-contrast: none),(-ms-high-contrast: active){.mat-mdc-progress-bar[_ngcontent-%COMP%] .mdc-linear-progress__buffer-dots[_ngcontent-%COMP%]{background-color:transparent;background-image:url(\"data:image/svg+xml,%3Csvg version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' enable-background='new 0 0 5 2' xml:space='preserve' viewBox='0 0 5 2' preserveAspectRatio='none slice'%3E%3Ccircle cx='1' cy='1' r='1' fill='rgba(15, 7, 97, 0.25)'/%3E%3C/svg%3E\")}}.mat-mdc-progress-bar[_ngcontent-%COMP%] .mdc-linear-progress__buffer-bar[_ngcontent-%COMP%]{background-color:#0f076140;background-color:var(--mdc-linear-progress-track-color, rgba(15, 7, 97, .25))}.mat-mdc-progress-bar.mat-accent[_ngcontent-%COMP%]{--mdc-linear-progress-active-indicator-color: #dd7345;--mdc-linear-progress-track-color: rgba(221, 115, 69, .25)}.mat-mdc-progress-bar.mat-accent[_ngcontent-%COMP%] .mdc-linear-progress__buffer-dots[_ngcontent-%COMP%]{background-color:#dd734540;background-color:var(--mdc-linear-progress-track-color, rgba(221, 115, 69, .25))}@media (forced-colors: active){.mat-mdc-progress-bar.mat-accent[_ngcontent-%COMP%] .mdc-linear-progress__buffer-dots[_ngcontent-%COMP%]{background-color:ButtonBorder}}@media all and (-ms-high-contrast: none),(-ms-high-contrast: active){.mat-mdc-progress-bar.mat-accent[_ngcontent-%COMP%] .mdc-linear-progress__buffer-dots[_ngcontent-%COMP%]{background-color:transparent;background-image:url(\"data:image/svg+xml,%3Csvg version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' enable-background='new 0 0 5 2' xml:space='preserve' viewBox='0 0 5 2' preserveAspectRatio='none slice'%3E%3Ccircle cx='1' cy='1' r='1' fill='rgba(221, 115, 69, 0.25)'/%3E%3C/svg%3E\")}}.mat-mdc-progress-bar.mat-accent[_ngcontent-%COMP%] .mdc-linear-progress__buffer-bar[_ngcontent-%COMP%]{background-color:#dd734540;background-color:var(--mdc-linear-progress-track-color, rgba(221, 115, 69, .25))}.mat-mdc-progress-bar.mat-warn[_ngcontent-%COMP%]{--mdc-linear-progress-active-indicator-color: #f44336;--mdc-linear-progress-track-color: rgba(244, 67, 54, .25)}@keyframes _ngcontent-%COMP%_mdc-linear-progress-buffering{}.mat-mdc-progress-bar.mat-warn[_ngcontent-%COMP%] .mdc-linear-progress__buffer-dots[_ngcontent-%COMP%]{background-color:#f4433640;background-color:var(--mdc-linear-progress-track-color, rgba(244, 67, 54, .25))}@media (forced-colors: active){.mat-mdc-progress-bar.mat-warn[_ngcontent-%COMP%] .mdc-linear-progress__buffer-dots[_ngcontent-%COMP%]{background-color:ButtonBorder}}@media all and (-ms-high-contrast: none),(-ms-high-contrast: active){.mat-mdc-progress-bar.mat-warn[_ngcontent-%COMP%] .mdc-linear-progress__buffer-dots[_ngcontent-%COMP%]{background-color:transparent;background-image:url(\"data:image/svg+xml,%3Csvg version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' enable-background='new 0 0 5 2' xml:space='preserve' viewBox='0 0 5 2' preserveAspectRatio='none slice'%3E%3Ccircle cx='1' cy='1' r='1' fill='rgba(244, 67, 54, 0.25)'/%3E%3C/svg%3E\")}}.mat-mdc-progress-bar.mat-warn[_ngcontent-%COMP%] .mdc-linear-progress__buffer-bar[_ngcontent-%COMP%]{background-color:#f4433640;background-color:var(--mdc-linear-progress-track-color, rgba(244, 67, 54, .25))}.mat-mdc-tooltip[_ngcontent-%COMP%]{--mdc-plain-tooltip-container-color: #616161;--mdc-plain-tooltip-supporting-text-color: #fff}.mat-mdc-tooltip[_ngcontent-%COMP%]{--mdc-plain-tooltip-supporting-text-font: Inter;--mdc-plain-tooltip-supporting-text-size: 12px;--mdc-plain-tooltip-supporting-text-weight: 400;--mdc-plain-tooltip-supporting-text-tracking: normal}html[_ngcontent-%COMP%]{--mdc-filled-text-field-caret-color: #0f0761;--mdc-filled-text-field-focus-active-indicator-color: #0f0761;--mdc-filled-text-field-focus-label-text-color: rgba(15, 7, 97, .87);--mdc-filled-text-field-container-color: whitesmoke;--mdc-filled-text-field-disabled-container-color: #fafafa;--mdc-filled-text-field-label-text-color: rgba(0, 0, 0, .6);--mdc-filled-text-field-disabled-label-text-color: rgba(0, 0, 0, .38);--mdc-filled-text-field-input-text-color: rgba(0, 0, 0, .87);--mdc-filled-text-field-disabled-input-text-color: rgba(0, 0, 0, .38);--mdc-filled-text-field-input-text-placeholder-color: rgba(0, 0, 0, .6);--mdc-filled-text-field-error-focus-label-text-color: #f44336;--mdc-filled-text-field-error-label-text-color: #f44336;--mdc-filled-text-field-error-caret-color: #f44336;--mdc-filled-text-field-active-indicator-color: rgba(0, 0, 0, .42);--mdc-filled-text-field-disabled-active-indicator-color: rgba(0, 0, 0, .06);--mdc-filled-text-field-hover-active-indicator-color: rgba(0, 0, 0, .87);--mdc-filled-text-field-error-active-indicator-color: #f44336;--mdc-filled-text-field-error-focus-active-indicator-color: #f44336;--mdc-filled-text-field-error-hover-active-indicator-color: #f44336;--mdc-outlined-text-field-caret-color: #0f0761;--mdc-outlined-text-field-focus-outline-color: #0f0761;--mdc-outlined-text-field-focus-label-text-color: rgba(15, 7, 97, .87);--mdc-outlined-text-field-label-text-color: rgba(0, 0, 0, .6);--mdc-outlined-text-field-disabled-label-text-color: rgba(0, 0, 0, .38);--mdc-outlined-text-field-input-text-color: rgba(0, 0, 0, .87);--mdc-outlined-text-field-disabled-input-text-color: rgba(0, 0, 0, .38);--mdc-outlined-text-field-input-text-placeholder-color: rgba(0, 0, 0, .6);--mdc-outlined-text-field-error-caret-color: #f44336;--mdc-outlined-text-field-error-focus-label-text-color: #f44336;--mdc-outlined-text-field-error-label-text-color: #f44336;--mdc-outlined-text-field-outline-color: rgba(0, 0, 0, .38);--mdc-outlined-text-field-disabled-outline-color: rgba(0, 0, 0, .06);--mdc-outlined-text-field-hover-outline-color: rgba(0, 0, 0, .87);--mdc-outlined-text-field-error-focus-outline-color: #f44336;--mdc-outlined-text-field-error-hover-outline-color: #f44336;--mdc-outlined-text-field-error-outline-color: #f44336;--mat-form-field-disabled-input-text-placeholder-color: rgba(0, 0, 0, .38)}.mat-mdc-form-field-error[_ngcontent-%COMP%]{color:var(--mdc-theme-error, #f44336)}.mat-mdc-form-field-subscript-wrapper[_ngcontent-%COMP%], .mat-mdc-form-field-bottom-align[_ngcontent-%COMP%]:before{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--mat-form-field-subscript-text-font);line-height:var(--mat-form-field-subscript-text-line-height);font-size:var(--mat-form-field-subscript-text-size);letter-spacing:var(--mat-form-field-subscript-text-tracking);font-weight:var(--mat-form-field-subscript-text-weight)}.mat-mdc-form-field-focus-overlay[_ngcontent-%COMP%]{background-color:#000000de}.mat-mdc-form-field[_ngcontent-%COMP%]:hover .mat-mdc-form-field-focus-overlay[_ngcontent-%COMP%]{opacity:.04}.mat-mdc-form-field.mat-focused[_ngcontent-%COMP%] .mat-mdc-form-field-focus-overlay[_ngcontent-%COMP%]{opacity:.12}.mat-mdc-form-field-type-mat-native-select[_ngcontent-%COMP%] .mat-mdc-form-field-infix[_ngcontent-%COMP%]:after{color:#0000008a}.mat-mdc-form-field-type-mat-native-select.mat-focused.mat-primary[_ngcontent-%COMP%] .mat-mdc-form-field-infix[_ngcontent-%COMP%]:after{color:#0f0761de}.mat-mdc-form-field-type-mat-native-select.mat-focused.mat-accent[_ngcontent-%COMP%] .mat-mdc-form-field-infix[_ngcontent-%COMP%]:after{color:#dd7345de}.mat-mdc-form-field-type-mat-native-select.mat-focused.mat-warn[_ngcontent-%COMP%] .mat-mdc-form-field-infix[_ngcontent-%COMP%]:after{color:#f44336de}.mat-mdc-form-field-type-mat-native-select.mat-form-field-disabled[_ngcontent-%COMP%] .mat-mdc-form-field-infix[_ngcontent-%COMP%]:after{color:#00000061}.mat-mdc-form-field.mat-accent[_ngcontent-%COMP%]{--mdc-filled-text-field-caret-color: #dd7345;--mdc-filled-text-field-focus-active-indicator-color: #dd7345;--mdc-filled-text-field-focus-label-text-color: rgba(221, 115, 69, .87);--mdc-outlined-text-field-caret-color: #dd7345;--mdc-outlined-text-field-focus-outline-color: #dd7345;--mdc-outlined-text-field-focus-label-text-color: rgba(221, 115, 69, .87)}.mat-mdc-form-field.mat-warn[_ngcontent-%COMP%]{--mdc-filled-text-field-caret-color: #f44336;--mdc-filled-text-field-focus-active-indicator-color: #f44336;--mdc-filled-text-field-focus-label-text-color: rgba(244, 67, 54, .87);--mdc-outlined-text-field-caret-color: #f44336;--mdc-outlined-text-field-focus-outline-color: #f44336;--mdc-outlined-text-field-focus-label-text-color: rgba(244, 67, 54, .87)}.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field[_ngcontent-%COMP%] .mdc-notched-outline__notch[_ngcontent-%COMP%]{border-left:1px solid transparent}[dir=rtl][_ngcontent-%COMP%] .mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field[_ngcontent-%COMP%] .mdc-notched-outline__notch[_ngcontent-%COMP%]{border-left:none;border-right:1px solid transparent}.mat-mdc-form-field-infix[_ngcontent-%COMP%]{min-height:48px}.mat-mdc-text-field-wrapper[_ngcontent-%COMP%] .mat-mdc-form-field-flex[_ngcontent-%COMP%] .mat-mdc-floating-label[_ngcontent-%COMP%]{top:24px}.mat-mdc-text-field-wrapper.mdc-text-field--outlined[_ngcontent-%COMP%] .mdc-notched-outline--upgraded[_ngcontent-%COMP%] .mdc-floating-label--float-above[_ngcontent-%COMP%]{--mat-mdc-form-field-label-transform: translateY( -30.75px) scale(var(--mat-mdc-form-field-floating-label-scale, .75));transform:var(--mat-mdc-form-field-label-transform)}.mat-mdc-text-field-wrapper.mdc-text-field--outlined[_ngcontent-%COMP%] .mat-mdc-form-field-infix[_ngcontent-%COMP%]{padding-top:12px;padding-bottom:12px}.mat-mdc-text-field-wrapper[_ngcontent-%COMP%]:not(.mdc-text-field--outlined) .mat-mdc-form-field-infix[_ngcontent-%COMP%]{padding-top:12px;padding-bottom:12px}.mdc-text-field--no-label[_ngcontent-%COMP%]:not(.mdc-text-field--outlined):not(.mdc-text-field--textarea) .mat-mdc-form-field-infix[_ngcontent-%COMP%]{padding-top:12px;padding-bottom:12px}.mat-mdc-text-field-wrapper[_ngcontent-%COMP%]:not(.mdc-text-field--outlined) .mat-mdc-floating-label[_ngcontent-%COMP%]{display:none}html[_ngcontent-%COMP%]{--mdc-filled-text-field-label-text-font: Inter;--mdc-filled-text-field-label-text-size: 13px;--mdc-filled-text-field-label-text-tracking: normal;--mdc-filled-text-field-label-text-weight: 400;--mdc-outlined-text-field-label-text-font: Inter;--mdc-outlined-text-field-label-text-size: 13px;--mdc-outlined-text-field-label-text-tracking: normal;--mdc-outlined-text-field-label-text-weight: 400;--mat-form-field-container-text-font: Inter;--mat-form-field-container-text-line-height: 19px;--mat-form-field-container-text-size: 13px;--mat-form-field-container-text-tracking: normal;--mat-form-field-container-text-weight: 400;--mat-form-field-outlined-label-text-populated-size: 13px;--mat-form-field-subscript-text-font: Inter;--mat-form-field-subscript-text-line-height: 16px;--mat-form-field-subscript-text-size: 12px;--mat-form-field-subscript-text-tracking: normal;--mat-form-field-subscript-text-weight: 400}html[_ngcontent-%COMP%]{--mat-select-panel-background-color: white;--mat-select-enabled-trigger-text-color: rgba(0, 0, 0, .87);--mat-select-disabled-trigger-text-color: rgba(0, 0, 0, .38);--mat-select-placeholder-text-color: rgba(0, 0, 0, .6);--mat-select-enabled-arrow-color: rgba(0, 0, 0, .54);--mat-select-disabled-arrow-color: rgba(0, 0, 0, .38);--mat-select-focused-arrow-color: rgba(15, 7, 97, .87);--mat-select-invalid-arrow-color: rgba(244, 67, 54, .87)}html[_ngcontent-%COMP%] .mat-mdc-form-field.mat-accent[_ngcontent-%COMP%]{--mat-select-panel-background-color: white;--mat-select-enabled-trigger-text-color: rgba(0, 0, 0, .87);--mat-select-disabled-trigger-text-color: rgba(0, 0, 0, .38);--mat-select-placeholder-text-color: rgba(0, 0, 0, .6);--mat-select-enabled-arrow-color: rgba(0, 0, 0, .54);--mat-select-disabled-arrow-color: rgba(0, 0, 0, .38);--mat-select-focused-arrow-color: rgba(221, 115, 69, .87);--mat-select-invalid-arrow-color: rgba(244, 67, 54, .87)}html[_ngcontent-%COMP%] .mat-mdc-form-field.mat-warn[_ngcontent-%COMP%]{--mat-select-panel-background-color: white;--mat-select-enabled-trigger-text-color: rgba(0, 0, 0, .87);--mat-select-disabled-trigger-text-color: rgba(0, 0, 0, .38);--mat-select-placeholder-text-color: rgba(0, 0, 0, .6);--mat-select-enabled-arrow-color: rgba(0, 0, 0, .54);--mat-select-disabled-arrow-color: rgba(0, 0, 0, .38);--mat-select-focused-arrow-color: rgba(244, 67, 54, .87);--mat-select-invalid-arrow-color: rgba(244, 67, 54, .87)}.mat-form-field-appearance-fill[_ngcontent-%COMP%] .mat-mdc-select-arrow-wrapper[_ngcontent-%COMP%]{transform:none}html[_ngcontent-%COMP%]{--mat-select-trigger-text-font: Inter;--mat-select-trigger-text-line-height: 19px;--mat-select-trigger-text-size: 13px;--mat-select-trigger-text-tracking: normal;--mat-select-trigger-text-weight: 400}html[_ngcontent-%COMP%]{--mat-autocomplete-background-color: white}.mat-mdc-dialog-container[_ngcontent-%COMP%]{--mdc-dialog-container-color: white;--mdc-dialog-subhead-color: rgba(0, 0, 0, .87);--mdc-dialog-supporting-text-color: rgba(0, 0, 0, .6)}.mat-mdc-dialog-container[_ngcontent-%COMP%]{--mdc-dialog-subhead-font: Inter;--mdc-dialog-subhead-line-height: 21px;--mdc-dialog-subhead-size: 16px;--mdc-dialog-subhead-weight: 600;--mdc-dialog-subhead-tracking: normal;--mdc-dialog-supporting-text-font: Inter;--mdc-dialog-supporting-text-line-height: 19px;--mdc-dialog-supporting-text-size: 13px;--mdc-dialog-supporting-text-weight: 400;--mdc-dialog-supporting-text-tracking: normal}.mat-mdc-standard-chip[_ngcontent-%COMP%]{--mdc-chip-disabled-label-text-color: #212121;--mdc-chip-elevated-container-color: #e0e0e0;--mdc-chip-elevated-disabled-container-color: #e0e0e0;--mdc-chip-focus-state-layer-color: black;--mdc-chip-focus-state-layer-opacity: .12;--mdc-chip-label-text-color: #212121;--mdc-chip-with-icon-icon-color: #212121;--mdc-chip-with-icon-disabled-icon-color: #212121;--mdc-chip-with-icon-selected-icon-color: #212121;--mdc-chip-with-trailing-icon-disabled-trailing-icon-color: #212121;--mdc-chip-with-trailing-icon-trailing-icon-color: #212121}.mat-mdc-standard-chip.mat-mdc-chip-selected.mat-primary[_ngcontent-%COMP%], .mat-mdc-standard-chip.mat-mdc-chip-highlighted.mat-primary[_ngcontent-%COMP%]{--mdc-chip-disabled-label-text-color: white;--mdc-chip-elevated-container-color: #0f0761;--mdc-chip-elevated-disabled-container-color: #0f0761;--mdc-chip-focus-state-layer-color: black;--mdc-chip-focus-state-layer-opacity: .12;--mdc-chip-label-text-color: white;--mdc-chip-with-icon-icon-color: white;--mdc-chip-with-icon-disabled-icon-color: white;--mdc-chip-with-icon-selected-icon-color: white;--mdc-chip-with-trailing-icon-disabled-trailing-icon-color: white;--mdc-chip-with-trailing-icon-trailing-icon-color: white}.mat-mdc-standard-chip.mat-mdc-chip-selected.mat-accent[_ngcontent-%COMP%], .mat-mdc-standard-chip.mat-mdc-chip-highlighted.mat-accent[_ngcontent-%COMP%]{--mdc-chip-disabled-label-text-color: white;--mdc-chip-elevated-container-color: #dd7345;--mdc-chip-elevated-disabled-container-color: #dd7345;--mdc-chip-focus-state-layer-color: black;--mdc-chip-focus-state-layer-opacity: .12;--mdc-chip-label-text-color: white;--mdc-chip-with-icon-icon-color: white;--mdc-chip-with-icon-disabled-icon-color: white;--mdc-chip-with-icon-selected-icon-color: white;--mdc-chip-with-trailing-icon-disabled-trailing-icon-color: white;--mdc-chip-with-trailing-icon-trailing-icon-color: white}.mat-mdc-standard-chip.mat-mdc-chip-selected.mat-warn[_ngcontent-%COMP%], .mat-mdc-standard-chip.mat-mdc-chip-highlighted.mat-warn[_ngcontent-%COMP%]{--mdc-chip-disabled-label-text-color: white;--mdc-chip-elevated-container-color: #f44336;--mdc-chip-elevated-disabled-container-color: #f44336;--mdc-chip-focus-state-layer-color: black;--mdc-chip-focus-state-layer-opacity: .12;--mdc-chip-label-text-color: white;--mdc-chip-with-icon-icon-color: white;--mdc-chip-with-icon-disabled-icon-color: white;--mdc-chip-with-icon-selected-icon-color: white;--mdc-chip-with-trailing-icon-disabled-trailing-icon-color: white;--mdc-chip-with-trailing-icon-trailing-icon-color: white}.mat-mdc-chip.mat-mdc-standard-chip[_ngcontent-%COMP%]{--mdc-chip-container-height: 24px}.mat-mdc-standard-chip[_ngcontent-%COMP%]{--mdc-chip-label-text-font: Inter;--mdc-chip-label-text-line-height: 19px;--mdc-chip-label-text-size: 13px;--mdc-chip-label-text-tracking: normal;--mdc-chip-label-text-weight: 400}.mat-mdc-slide-toggle[_ngcontent-%COMP%]{--mdc-switch-selected-focus-state-layer-color: #5c5699;--mdc-switch-selected-handle-color: #5c5699;--mdc-switch-selected-hover-state-layer-color: #5c5699;--mdc-switch-selected-pressed-state-layer-color: #5c5699;--mdc-switch-selected-focus-handle-color: #0f0761;--mdc-switch-selected-hover-handle-color: #0f0761;--mdc-switch-selected-pressed-handle-color: #0f0761;--mdc-switch-selected-focus-track-color: #aaa8ca;--mdc-switch-selected-hover-track-color: #aaa8ca;--mdc-switch-selected-pressed-track-color: #aaa8ca;--mdc-switch-selected-track-color: #aaa8ca;--mdc-switch-disabled-selected-handle-color: #424242;--mdc-switch-disabled-selected-icon-color: #fff;--mdc-switch-disabled-selected-track-color: #424242;--mdc-switch-disabled-unselected-handle-color: #424242;--mdc-switch-disabled-unselected-icon-color: #fff;--mdc-switch-disabled-unselected-track-color: #424242;--mdc-switch-handle-surface-color: var(--mdc-theme-surface, #fff);--mdc-switch-handle-elevation-shadow: 0px 2px 1px -1px rgba(0, 0, 0, .2), 0px 1px 1px 0px rgba(0, 0, 0, .14), 0px 1px 3px 0px rgba(0, 0, 0, .12);--mdc-switch-handle-shadow-color: black;--mdc-switch-disabled-handle-elevation-shadow: 0px 0px 0px 0px rgba(0, 0, 0, .2), 0px 0px 0px 0px rgba(0, 0, 0, .14), 0px 0px 0px 0px rgba(0, 0, 0, .12);--mdc-switch-selected-icon-color: #fff;--mdc-switch-unselected-focus-handle-color: #212121;--mdc-switch-unselected-focus-state-layer-color: #424242;--mdc-switch-unselected-focus-track-color: #e0e0e0;--mdc-switch-unselected-handle-color: #616161;--mdc-switch-unselected-hover-handle-color: #212121;--mdc-switch-unselected-hover-state-layer-color: #424242;--mdc-switch-unselected-hover-track-color: #e0e0e0;--mdc-switch-unselected-icon-color: #fff;--mdc-switch-unselected-pressed-handle-color: #212121;--mdc-switch-unselected-pressed-state-layer-color: #424242;--mdc-switch-unselected-pressed-track-color: #e0e0e0;--mdc-switch-unselected-track-color: #e0e0e0}.mat-mdc-slide-toggle[_ngcontent-%COMP%] .mdc-form-field[_ngcontent-%COMP%]{color:var(--mdc-theme-text-primary-on-background, rgba(0, 0, 0, .87))}.mat-mdc-slide-toggle[_ngcontent-%COMP%] .mdc-switch--disabled[_ngcontent-%COMP%] + label[_ngcontent-%COMP%]{color:#00000061}.mat-mdc-slide-toggle.mat-accent[_ngcontent-%COMP%]{--mdc-switch-selected-focus-state-layer-color: #914b2d;--mdc-switch-selected-handle-color: #914b2d;--mdc-switch-selected-hover-state-layer-color: #914b2d;--mdc-switch-selected-pressed-state-layer-color: #914b2d;--mdc-switch-selected-focus-handle-color: #2b160d;--mdc-switch-selected-hover-handle-color: #2b160d;--mdc-switch-selected-pressed-handle-color: #2b160d;--mdc-switch-selected-focus-track-color: #ff8c5a;--mdc-switch-selected-hover-track-color: #ff8c5a;--mdc-switch-selected-pressed-track-color: #ff8c5a;--mdc-switch-selected-track-color: #ff8c5a}.mat-mdc-slide-toggle.mat-warn[_ngcontent-%COMP%]{--mdc-switch-selected-focus-state-layer-color: #e53935;--mdc-switch-selected-handle-color: #e53935;--mdc-switch-selected-hover-state-layer-color: #e53935;--mdc-switch-selected-pressed-state-layer-color: #e53935;--mdc-switch-selected-focus-handle-color: #b71c1c;--mdc-switch-selected-hover-handle-color: #b71c1c;--mdc-switch-selected-pressed-handle-color: #b71c1c;--mdc-switch-selected-focus-track-color: #e57373;--mdc-switch-selected-hover-track-color: #e57373;--mdc-switch-selected-pressed-track-color: #e57373;--mdc-switch-selected-track-color: #e57373}.mat-mdc-slide-toggle[_ngcontent-%COMP%]{--mdc-switch-state-layer-size: 40px}.mat-mdc-slide-toggle[_ngcontent-%COMP%]{--mat-slide-toggle-label-text-font: Inter;--mat-slide-toggle-label-text-size: 13px;--mat-slide-toggle-label-text-tracking: normal;--mat-slide-toggle-label-text-line-height: 19px;--mat-slide-toggle-label-text-weight: 400}.mat-mdc-slide-toggle[_ngcontent-%COMP%] .mdc-form-field[_ngcontent-%COMP%]{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:Roboto,sans-serif;font-family:var(--mdc-typography-body2-font-family, var(--mdc-typography-font-family, Roboto, sans-serif));font-size:.875rem;font-size:var(--mdc-typography-body2-font-size, .875rem);line-height:1.25rem;line-height:var(--mdc-typography-body2-line-height, 1.25rem);font-weight:400;font-weight:var(--mdc-typography-body2-font-weight, 400);letter-spacing:.0178571429em;letter-spacing:var(--mdc-typography-body2-letter-spacing, .0178571429em);text-decoration:inherit;-webkit-text-decoration:var(--mdc-typography-body2-text-decoration, inherit);text-decoration:var(--mdc-typography-body2-text-decoration, inherit);text-transform:inherit;text-transform:var(--mdc-typography-body2-text-transform, inherit)}.mat-mdc-radio-button[_ngcontent-%COMP%] .mdc-form-field[_ngcontent-%COMP%]{color:var(--mdc-theme-text-primary-on-background, rgba(0, 0, 0, .87))}.mat-mdc-radio-button.mat-primary[_ngcontent-%COMP%]{--mdc-radio-disabled-selected-icon-color: #000;--mdc-radio-disabled-unselected-icon-color: #000;--mdc-radio-unselected-hover-icon-color: #212121;--mdc-radio-unselected-icon-color: rgba(0, 0, 0, .54);--mdc-radio-unselected-pressed-icon-color: rgba(0, 0, 0, .54);--mdc-radio-selected-focus-icon-color: #0f0761;--mdc-radio-selected-hover-icon-color: #0f0761;--mdc-radio-selected-icon-color: #0f0761;--mdc-radio-selected-pressed-icon-color: #0f0761;--mat-radio-ripple-color: #000;--mat-radio-checked-ripple-color: #0f0761;--mat-radio-disabled-label-color: rgba(0, 0, 0, .38)}.mat-mdc-radio-button.mat-accent[_ngcontent-%COMP%]{--mdc-radio-disabled-selected-icon-color: #000;--mdc-radio-disabled-unselected-icon-color: #000;--mdc-radio-unselected-hover-icon-color: #212121;--mdc-radio-unselected-icon-color: rgba(0, 0, 0, .54);--mdc-radio-unselected-pressed-icon-color: rgba(0, 0, 0, .54);--mdc-radio-selected-focus-icon-color: #dd7345;--mdc-radio-selected-hover-icon-color: #dd7345;--mdc-radio-selected-icon-color: #dd7345;--mdc-radio-selected-pressed-icon-color: #dd7345;--mat-radio-ripple-color: #000;--mat-radio-checked-ripple-color: #dd7345;--mat-radio-disabled-label-color: rgba(0, 0, 0, .38)}.mat-mdc-radio-button.mat-warn[_ngcontent-%COMP%]{--mdc-radio-disabled-selected-icon-color: #000;--mdc-radio-disabled-unselected-icon-color: #000;--mdc-radio-unselected-hover-icon-color: #212121;--mdc-radio-unselected-icon-color: rgba(0, 0, 0, .54);--mdc-radio-unselected-pressed-icon-color: rgba(0, 0, 0, .54);--mdc-radio-selected-focus-icon-color: #f44336;--mdc-radio-selected-hover-icon-color: #f44336;--mdc-radio-selected-icon-color: #f44336;--mdc-radio-selected-pressed-icon-color: #f44336;--mat-radio-ripple-color: #000;--mat-radio-checked-ripple-color: #f44336;--mat-radio-disabled-label-color: rgba(0, 0, 0, .38)}.mat-mdc-radio-button[_ngcontent-%COMP%] .mdc-radio[_ngcontent-%COMP%]{--mdc-radio-state-layer-size: 32px}.mat-mdc-radio-touch-target[_ngcontent-%COMP%]{display:none}.mat-mdc-radio-button[_ngcontent-%COMP%] .mdc-form-field[_ngcontent-%COMP%]{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--mdc-typography-body2-font-family, var(--mdc-typography-font-family, Inter));font-size:var(--mdc-typography-body2-font-size, 13px);line-height:var(--mdc-typography-body2-line-height, 19px);font-weight:var(--mdc-typography-body2-font-weight, 400);letter-spacing:var(--mdc-typography-body2-letter-spacing, normal);-webkit-text-decoration:var(--mdc-typography-body2-text-decoration, inherit);text-decoration:var(--mdc-typography-body2-text-decoration, inherit);text-transform:var(--mdc-typography-body2-text-transform, none)}.mat-mdc-slider[_ngcontent-%COMP%]{--mdc-slider-label-container-color: black;--mdc-slider-label-label-text-color: white;--mdc-slider-disabled-handle-color: #000;--mdc-slider-disabled-active-track-color: #000;--mdc-slider-disabled-inactive-track-color: #000;--mdc-slider-with-tick-marks-disabled-container-color: #000;--mat-mdc-slider-value-indicator-opacity: .6}.mat-mdc-slider.mat-primary[_ngcontent-%COMP%]{--mdc-slider-handle-color: #0f0761;--mdc-slider-focus-handle-color: #0f0761;--mdc-slider-hover-handle-color: #0f0761;--mdc-slider-active-track-color: #0f0761;--mdc-slider-inactive-track-color: #0f0761;--mdc-slider-with-tick-marks-active-container-color: #fff;--mdc-slider-with-tick-marks-inactive-container-color: #0f0761;--mat-mdc-slider-ripple-color: #0f0761;--mat-mdc-slider-hover-ripple-color: rgba(15, 7, 97, .05);--mat-mdc-slider-focus-ripple-color: rgba(15, 7, 97, .2)}.mat-mdc-slider.mat-accent[_ngcontent-%COMP%]{--mdc-slider-handle-color: #dd7345;--mdc-slider-focus-handle-color: #dd7345;--mdc-slider-hover-handle-color: #dd7345;--mdc-slider-active-track-color: #dd7345;--mdc-slider-inactive-track-color: #dd7345;--mdc-slider-with-tick-marks-active-container-color: #fff;--mdc-slider-with-tick-marks-inactive-container-color: #dd7345;--mat-mdc-slider-ripple-color: #dd7345;--mat-mdc-slider-hover-ripple-color: rgba(221, 115, 69, .05);--mat-mdc-slider-focus-ripple-color: rgba(221, 115, 69, .2)}.mat-mdc-slider.mat-warn[_ngcontent-%COMP%]{--mdc-slider-handle-color: #f44336;--mdc-slider-focus-handle-color: #f44336;--mdc-slider-hover-handle-color: #f44336;--mdc-slider-active-track-color: #f44336;--mdc-slider-inactive-track-color: #f44336;--mdc-slider-with-tick-marks-active-container-color: #fff;--mdc-slider-with-tick-marks-inactive-container-color: #f44336;--mat-mdc-slider-ripple-color: #f44336;--mat-mdc-slider-hover-ripple-color: rgba(244, 67, 54, .05);--mat-mdc-slider-focus-ripple-color: rgba(244, 67, 54, .2)}.mat-mdc-slider[_ngcontent-%COMP%]{--mdc-slider-label-label-text-font: Inter;--mdc-slider-label-label-text-size: 13px;--mdc-slider-label-label-text-line-height: 19px;--mdc-slider-label-label-text-tracking: normal;--mdc-slider-label-label-text-weight: 500}html[_ngcontent-%COMP%]{--mat-menu-item-label-text-color: rgba(0, 0, 0, .87);--mat-menu-item-icon-color: rgba(0, 0, 0, .87);--mat-menu-item-hover-state-layer-color: rgba(0, 0, 0, .04);--mat-menu-item-focus-state-layer-color: rgba(0, 0, 0, .04);--mat-menu-container-color: white}html[_ngcontent-%COMP%]{--mat-menu-item-label-text-font: Inter;--mat-menu-item-label-text-size: 13px;--mat-menu-item-label-text-tracking: normal;--mat-menu-item-label-text-line-height: 19px;--mat-menu-item-label-text-weight: 400}.mat-mdc-list-base[_ngcontent-%COMP%]{--mdc-list-list-item-label-text-color: rgba(0, 0, 0, .87);--mdc-list-list-item-supporting-text-color: rgba(0, 0, 0, .54);--mdc-list-list-item-leading-icon-color: rgba(0, 0, 0, .38);--mdc-list-list-item-trailing-supporting-text-color: rgba(0, 0, 0, .38);--mdc-list-list-item-trailing-icon-color: rgba(0, 0, 0, .38);--mdc-list-list-item-selected-trailing-icon-color: rgba(0, 0, 0, .38);--mdc-list-list-item-disabled-label-text-color: black;--mdc-list-list-item-disabled-leading-icon-color: black;--mdc-list-list-item-disabled-trailing-icon-color: black;--mdc-list-list-item-hover-label-text-color: rgba(0, 0, 0, .87);--mdc-list-list-item-hover-leading-icon-color: rgba(0, 0, 0, .38);--mdc-list-list-item-hover-trailing-icon-color: rgba(0, 0, 0, .38);--mdc-list-list-item-focus-label-text-color: rgba(0, 0, 0, .87);--mdc-list-list-item-hover-state-layer-color: black;--mdc-list-list-item-hover-state-layer-opacity: .04;--mdc-list-list-item-focus-state-layer-color: black;--mdc-list-list-item-focus-state-layer-opacity: .12}.mdc-list-item__start[_ngcontent-%COMP%], .mdc-list-item__end[_ngcontent-%COMP%]{--mdc-radio-disabled-selected-icon-color: #000;--mdc-radio-disabled-unselected-icon-color: #000;--mdc-radio-unselected-hover-icon-color: #212121;--mdc-radio-unselected-icon-color: rgba(0, 0, 0, .54);--mdc-radio-unselected-pressed-icon-color: rgba(0, 0, 0, .54);--mdc-radio-selected-focus-icon-color: #0f0761;--mdc-radio-selected-hover-icon-color: #0f0761;--mdc-radio-selected-icon-color: #0f0761;--mdc-radio-selected-pressed-icon-color: #0f0761}.mat-accent[_ngcontent-%COMP%] .mdc-list-item__start[_ngcontent-%COMP%], .mat-accent[_ngcontent-%COMP%] .mdc-list-item__end[_ngcontent-%COMP%]{--mdc-radio-disabled-selected-icon-color: #000;--mdc-radio-disabled-unselected-icon-color: #000;--mdc-radio-unselected-hover-icon-color: #212121;--mdc-radio-unselected-icon-color: rgba(0, 0, 0, .54);--mdc-radio-unselected-pressed-icon-color: rgba(0, 0, 0, .54);--mdc-radio-selected-focus-icon-color: #dd7345;--mdc-radio-selected-hover-icon-color: #dd7345;--mdc-radio-selected-icon-color: #dd7345;--mdc-radio-selected-pressed-icon-color: #dd7345}.mat-warn[_ngcontent-%COMP%] .mdc-list-item__start[_ngcontent-%COMP%], .mat-warn[_ngcontent-%COMP%] .mdc-list-item__end[_ngcontent-%COMP%]{--mdc-radio-disabled-selected-icon-color: #000;--mdc-radio-disabled-unselected-icon-color: #000;--mdc-radio-unselected-hover-icon-color: #212121;--mdc-radio-unselected-icon-color: rgba(0, 0, 0, .54);--mdc-radio-unselected-pressed-icon-color: rgba(0, 0, 0, .54);--mdc-radio-selected-focus-icon-color: #f44336;--mdc-radio-selected-hover-icon-color: #f44336;--mdc-radio-selected-icon-color: #f44336;--mdc-radio-selected-pressed-icon-color: #f44336}.mat-mdc-list-option[_ngcontent-%COMP%]{--mdc-checkbox-disabled-selected-icon-color: rgba(0, 0, 0, .38);--mdc-checkbox-disabled-unselected-icon-color: rgba(0, 0, 0, .38);--mdc-checkbox-selected-checkmark-color: #fff;--mdc-checkbox-selected-focus-icon-color: #0f0761;--mdc-checkbox-selected-hover-icon-color: #0f0761;--mdc-checkbox-selected-icon-color: #0f0761;--mdc-checkbox-selected-pressed-icon-color: #0f0761;--mdc-checkbox-unselected-focus-icon-color: #212121;--mdc-checkbox-unselected-hover-icon-color: #212121;--mdc-checkbox-unselected-icon-color: rgba(0, 0, 0, .54);--mdc-checkbox-unselected-pressed-icon-color: rgba(0, 0, 0, .54);--mdc-checkbox-selected-focus-state-layer-color: #0f0761;--mdc-checkbox-selected-hover-state-layer-color: #0f0761;--mdc-checkbox-selected-pressed-state-layer-color: #0f0761;--mdc-checkbox-unselected-focus-state-layer-color: black;--mdc-checkbox-unselected-hover-state-layer-color: black;--mdc-checkbox-unselected-pressed-state-layer-color: black}.mat-mdc-list-option.mat-accent[_ngcontent-%COMP%]{--mdc-checkbox-disabled-selected-icon-color: rgba(0, 0, 0, .38);--mdc-checkbox-disabled-unselected-icon-color: rgba(0, 0, 0, .38);--mdc-checkbox-selected-checkmark-color: #fff;--mdc-checkbox-selected-focus-icon-color: #dd7345;--mdc-checkbox-selected-hover-icon-color: #dd7345;--mdc-checkbox-selected-icon-color: #dd7345;--mdc-checkbox-selected-pressed-icon-color: #dd7345;--mdc-checkbox-unselected-focus-icon-color: #212121;--mdc-checkbox-unselected-hover-icon-color: #212121;--mdc-checkbox-unselected-icon-color: rgba(0, 0, 0, .54);--mdc-checkbox-unselected-pressed-icon-color: rgba(0, 0, 0, .54);--mdc-checkbox-selected-focus-state-layer-color: #dd7345;--mdc-checkbox-selected-hover-state-layer-color: #dd7345;--mdc-checkbox-selected-pressed-state-layer-color: #dd7345;--mdc-checkbox-unselected-focus-state-layer-color: black;--mdc-checkbox-unselected-hover-state-layer-color: black;--mdc-checkbox-unselected-pressed-state-layer-color: black}.mat-mdc-list-option.mat-warn[_ngcontent-%COMP%]{--mdc-checkbox-disabled-selected-icon-color: rgba(0, 0, 0, .38);--mdc-checkbox-disabled-unselected-icon-color: rgba(0, 0, 0, .38);--mdc-checkbox-selected-checkmark-color: #fff;--mdc-checkbox-selected-focus-icon-color: #f44336;--mdc-checkbox-selected-hover-icon-color: #f44336;--mdc-checkbox-selected-icon-color: #f44336;--mdc-checkbox-selected-pressed-icon-color: #f44336;--mdc-checkbox-unselected-focus-icon-color: #212121;--mdc-checkbox-unselected-hover-icon-color: #212121;--mdc-checkbox-unselected-icon-color: rgba(0, 0, 0, .54);--mdc-checkbox-unselected-pressed-icon-color: rgba(0, 0, 0, .54);--mdc-checkbox-selected-focus-state-layer-color: #f44336;--mdc-checkbox-selected-hover-state-layer-color: #f44336;--mdc-checkbox-selected-pressed-state-layer-color: #f44336;--mdc-checkbox-unselected-focus-state-layer-color: black;--mdc-checkbox-unselected-hover-state-layer-color: black;--mdc-checkbox-unselected-pressed-state-layer-color: black}.mat-mdc-list-base.mat-mdc-list-base[_ngcontent-%COMP%] .mdc-list-item--selected[_ngcontent-%COMP%] .mdc-list-item__primary-text[_ngcontent-%COMP%], .mat-mdc-list-base.mat-mdc-list-base[_ngcontent-%COMP%] .mdc-list-item--activated[_ngcontent-%COMP%] .mdc-list-item__primary-text[_ngcontent-%COMP%], .mat-mdc-list-base.mat-mdc-list-base[_ngcontent-%COMP%] .mdc-list-item--selected.mdc-list-item--with-leading-icon[_ngcontent-%COMP%] .mdc-list-item__start[_ngcontent-%COMP%], .mat-mdc-list-base.mat-mdc-list-base[_ngcontent-%COMP%] .mdc-list-item--activated.mdc-list-item--with-leading-icon[_ngcontent-%COMP%] .mdc-list-item__start[_ngcontent-%COMP%]{color:#0f0761}.mat-mdc-list-base[_ngcontent-%COMP%] .mdc-list-item--disabled[_ngcontent-%COMP%] .mdc-list-item__start[_ngcontent-%COMP%], .mat-mdc-list-base[_ngcontent-%COMP%] .mdc-list-item--disabled[_ngcontent-%COMP%] .mdc-list-item__content[_ngcontent-%COMP%], .mat-mdc-list-base[_ngcontent-%COMP%] .mdc-list-item--disabled[_ngcontent-%COMP%] .mdc-list-item__end[_ngcontent-%COMP%]{opacity:1}.mat-mdc-list-base[_ngcontent-%COMP%]{--mdc-list-list-item-one-line-container-height: 40px;--mdc-list-list-item-two-line-container-height: 56px;--mdc-list-list-item-three-line-container-height: 80px}.mat-mdc-list-item.mdc-list-item--with-leading-avatar.mdc-list-item--with-one-line[_ngcontent-%COMP%], .mat-mdc-list-item.mdc-list-item--with-leading-checkbox.mdc-list-item--with-one-line[_ngcontent-%COMP%], .mat-mdc-list-item.mdc-list-item--with-leading-icon.mdc-list-item--with-one-line[_ngcontent-%COMP%]{height:48px}.mat-mdc-list-item.mdc-list-item--with-leading-avatar.mdc-list-item--with-two-lines[_ngcontent-%COMP%], .mat-mdc-list-item.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines[_ngcontent-%COMP%], .mat-mdc-list-item.mdc-list-item--with-leading-icon.mdc-list-item--with-two-lines[_ngcontent-%COMP%]{height:64px}.mat-mdc-list-base[_ngcontent-%COMP%]{--mdc-list-list-item-label-text-font: Inter;--mdc-list-list-item-label-text-line-height: 19px;--mdc-list-list-item-label-text-size: 13px;--mdc-list-list-item-label-text-tracking: normal;--mdc-list-list-item-label-text-weight: 400;--mdc-list-list-item-supporting-text-font: Inter;--mdc-list-list-item-supporting-text-line-height: 19px;--mdc-list-list-item-supporting-text-size: 13px;--mdc-list-list-item-supporting-text-tracking: normal;--mdc-list-list-item-supporting-text-weight: 400;--mdc-list-list-item-trailing-supporting-text-font: Inter;--mdc-list-list-item-trailing-supporting-text-line-height: 16px;--mdc-list-list-item-trailing-supporting-text-size: 12px;--mdc-list-list-item-trailing-supporting-text-tracking: normal;--mdc-list-list-item-trailing-supporting-text-weight: 400}.mdc-list-group__subheader[_ngcontent-%COMP%]{font-size:16px;font-weight:600;line-height:22px;font-family:Inter;letter-spacing:normal}html[_ngcontent-%COMP%]{--mat-paginator-container-text-color: rgba(0, 0, 0, .87);--mat-paginator-container-background-color: white;--mat-paginator-enabled-icon-color: rgba(0, 0, 0, .54);--mat-paginator-disabled-icon-color: rgba(0, 0, 0, .12)}html[_ngcontent-%COMP%]{--mat-paginator-container-size: 48px}.mat-mdc-paginator[_ngcontent-%COMP%] .mat-mdc-form-field-infix[_ngcontent-%COMP%]{min-height:40px}.mat-mdc-paginator[_ngcontent-%COMP%] .mat-mdc-text-field-wrapper[_ngcontent-%COMP%] .mat-mdc-form-field-flex[_ngcontent-%COMP%] .mat-mdc-floating-label[_ngcontent-%COMP%]{top:20px}.mat-mdc-paginator[_ngcontent-%COMP%] .mat-mdc-text-field-wrapper.mdc-text-field--outlined[_ngcontent-%COMP%] .mdc-notched-outline--upgraded[_ngcontent-%COMP%] .mdc-floating-label--float-above[_ngcontent-%COMP%]{--mat-mdc-form-field-label-transform: translateY( -26.75px) scale(var(--mat-mdc-form-field-floating-label-scale, .75));transform:var(--mat-mdc-form-field-label-transform)}.mat-mdc-paginator[_ngcontent-%COMP%] .mat-mdc-text-field-wrapper.mdc-text-field--outlined[_ngcontent-%COMP%] .mat-mdc-form-field-infix[_ngcontent-%COMP%]{padding-top:8px;padding-bottom:8px}.mat-mdc-paginator[_ngcontent-%COMP%] .mat-mdc-text-field-wrapper[_ngcontent-%COMP%]:not(.mdc-text-field--outlined) .mat-mdc-form-field-infix[_ngcontent-%COMP%]{padding-top:8px;padding-bottom:8px}.mat-mdc-paginator[_ngcontent-%COMP%] .mdc-text-field--no-label[_ngcontent-%COMP%]:not(.mdc-text-field--outlined):not(.mdc-text-field--textarea) .mat-mdc-form-field-infix[_ngcontent-%COMP%]{padding-top:8px;padding-bottom:8px}.mat-mdc-paginator[_ngcontent-%COMP%] .mat-mdc-text-field-wrapper[_ngcontent-%COMP%]:not(.mdc-text-field--outlined) .mat-mdc-floating-label[_ngcontent-%COMP%]{display:none}html[_ngcontent-%COMP%]{--mat-paginator-container-text-font: Inter;--mat-paginator-container-text-line-height: 16px;--mat-paginator-container-text-size: 12px;--mat-paginator-container-text-tracking: normal;--mat-paginator-container-text-weight: 400;--mat-paginator-select-trigger-text-size: 12px}.mat-mdc-tab-group[_ngcontent-%COMP%], .mat-mdc-tab-nav-bar[_ngcontent-%COMP%]{--mdc-tab-indicator-active-indicator-color: #0f0761;--mat-tab-header-disabled-ripple-color: rgba(0, 0, 0, .38);--mat-tab-header-pagination-icon-color: #000;--mat-tab-header-inactive-label-text-color: rgba(0, 0, 0, .6);--mat-tab-header-active-label-text-color: #0f0761;--mat-tab-header-active-ripple-color: #0f0761;--mat-tab-header-inactive-ripple-color: #0f0761;--mat-tab-header-inactive-focus-label-text-color: rgba(0, 0, 0, .6);--mat-tab-header-inactive-hover-label-text-color: rgba(0, 0, 0, .6);--mat-tab-header-active-focus-label-text-color: #0f0761;--mat-tab-header-active-hover-label-text-color: #0f0761;--mat-tab-header-active-focus-indicator-color: #0f0761;--mat-tab-header-active-hover-indicator-color: #0f0761}.mat-mdc-tab-group.mat-accent[_ngcontent-%COMP%], .mat-mdc-tab-nav-bar.mat-accent[_ngcontent-%COMP%]{--mdc-tab-indicator-active-indicator-color: #dd7345;--mat-tab-header-disabled-ripple-color: rgba(0, 0, 0, .38);--mat-tab-header-pagination-icon-color: #000;--mat-tab-header-inactive-label-text-color: rgba(0, 0, 0, .6);--mat-tab-header-active-label-text-color: #dd7345;--mat-tab-header-active-ripple-color: #dd7345;--mat-tab-header-inactive-ripple-color: #dd7345;--mat-tab-header-inactive-focus-label-text-color: rgba(0, 0, 0, .6);--mat-tab-header-inactive-hover-label-text-color: rgba(0, 0, 0, .6);--mat-tab-header-active-focus-label-text-color: #dd7345;--mat-tab-header-active-hover-label-text-color: #dd7345;--mat-tab-header-active-focus-indicator-color: #dd7345;--mat-tab-header-active-hover-indicator-color: #dd7345}.mat-mdc-tab-group.mat-warn[_ngcontent-%COMP%], .mat-mdc-tab-nav-bar.mat-warn[_ngcontent-%COMP%]{--mdc-tab-indicator-active-indicator-color: #f44336;--mat-tab-header-disabled-ripple-color: rgba(0, 0, 0, .38);--mat-tab-header-pagination-icon-color: #000;--mat-tab-header-inactive-label-text-color: rgba(0, 0, 0, .6);--mat-tab-header-active-label-text-color: #f44336;--mat-tab-header-active-ripple-color: #f44336;--mat-tab-header-inactive-ripple-color: #f44336;--mat-tab-header-inactive-focus-label-text-color: rgba(0, 0, 0, .6);--mat-tab-header-inactive-hover-label-text-color: rgba(0, 0, 0, .6);--mat-tab-header-active-focus-label-text-color: #f44336;--mat-tab-header-active-hover-label-text-color: #f44336;--mat-tab-header-active-focus-indicator-color: #f44336;--mat-tab-header-active-hover-indicator-color: #f44336}.mat-mdc-tab-group.mat-background-primary[_ngcontent-%COMP%], .mat-mdc-tab-nav-bar.mat-background-primary[_ngcontent-%COMP%]{--mat-tab-header-with-background-background-color: #0f0761;--mat-tab-header-with-background-foreground-color: white}.mat-mdc-tab-group.mat-background-accent[_ngcontent-%COMP%], .mat-mdc-tab-nav-bar.mat-background-accent[_ngcontent-%COMP%]{--mat-tab-header-with-background-background-color: #dd7345;--mat-tab-header-with-background-foreground-color: white}.mat-mdc-tab-group.mat-background-warn[_ngcontent-%COMP%], .mat-mdc-tab-nav-bar.mat-background-warn[_ngcontent-%COMP%]{--mat-tab-header-with-background-background-color: #f44336;--mat-tab-header-with-background-foreground-color: white}.mat-mdc-tab-header[_ngcontent-%COMP%]{--mdc-secondary-navigation-tab-container-height: 40px}.mat-mdc-tab-header[_ngcontent-%COMP%]{--mat-tab-header-label-text-font: Inter;--mat-tab-header-label-text-size: 13px;--mat-tab-header-label-text-tracking: normal;--mat-tab-header-label-text-line-height: 19px;--mat-tab-header-label-text-weight: 500}html[_ngcontent-%COMP%]{--mdc-checkbox-disabled-selected-icon-color: rgba(0, 0, 0, .38);--mdc-checkbox-disabled-unselected-icon-color: rgba(0, 0, 0, .38);--mdc-checkbox-selected-checkmark-color: #fff;--mdc-checkbox-selected-focus-icon-color: #dd7345;--mdc-checkbox-selected-hover-icon-color: #dd7345;--mdc-checkbox-selected-icon-color: #dd7345;--mdc-checkbox-selected-pressed-icon-color: #dd7345;--mdc-checkbox-unselected-focus-icon-color: #212121;--mdc-checkbox-unselected-hover-icon-color: #212121;--mdc-checkbox-unselected-icon-color: rgba(0, 0, 0, .54);--mdc-checkbox-unselected-pressed-icon-color: rgba(0, 0, 0, .54);--mdc-checkbox-selected-focus-state-layer-color: #dd7345;--mdc-checkbox-selected-hover-state-layer-color: #dd7345;--mdc-checkbox-selected-pressed-state-layer-color: #dd7345;--mdc-checkbox-unselected-focus-state-layer-color: black;--mdc-checkbox-unselected-hover-state-layer-color: black;--mdc-checkbox-unselected-pressed-state-layer-color: black}.mat-mdc-checkbox.mat-primary[_ngcontent-%COMP%]{--mdc-checkbox-disabled-selected-icon-color: rgba(0, 0, 0, .38);--mdc-checkbox-disabled-unselected-icon-color: rgba(0, 0, 0, .38);--mdc-checkbox-selected-checkmark-color: #fff;--mdc-checkbox-selected-focus-icon-color: #0f0761;--mdc-checkbox-selected-hover-icon-color: #0f0761;--mdc-checkbox-selected-icon-color: #0f0761;--mdc-checkbox-selected-pressed-icon-color: #0f0761;--mdc-checkbox-unselected-focus-icon-color: #212121;--mdc-checkbox-unselected-hover-icon-color: #212121;--mdc-checkbox-unselected-icon-color: rgba(0, 0, 0, .54);--mdc-checkbox-unselected-pressed-icon-color: rgba(0, 0, 0, .54);--mdc-checkbox-selected-focus-state-layer-color: #0f0761;--mdc-checkbox-selected-hover-state-layer-color: #0f0761;--mdc-checkbox-selected-pressed-state-layer-color: #0f0761;--mdc-checkbox-unselected-focus-state-layer-color: black;--mdc-checkbox-unselected-hover-state-layer-color: black;--mdc-checkbox-unselected-pressed-state-layer-color: black}.mat-mdc-checkbox.mat-warn[_ngcontent-%COMP%]{--mdc-checkbox-disabled-selected-icon-color: rgba(0, 0, 0, .38);--mdc-checkbox-disabled-unselected-icon-color: rgba(0, 0, 0, .38);--mdc-checkbox-selected-checkmark-color: #fff;--mdc-checkbox-selected-focus-icon-color: #f44336;--mdc-checkbox-selected-hover-icon-color: #f44336;--mdc-checkbox-selected-icon-color: #f44336;--mdc-checkbox-selected-pressed-icon-color: #f44336;--mdc-checkbox-unselected-focus-icon-color: #212121;--mdc-checkbox-unselected-hover-icon-color: #212121;--mdc-checkbox-unselected-icon-color: rgba(0, 0, 0, .54);--mdc-checkbox-unselected-pressed-icon-color: rgba(0, 0, 0, .54);--mdc-checkbox-selected-focus-state-layer-color: #f44336;--mdc-checkbox-selected-hover-state-layer-color: #f44336;--mdc-checkbox-selected-pressed-state-layer-color: #f44336;--mdc-checkbox-unselected-focus-state-layer-color: black;--mdc-checkbox-unselected-hover-state-layer-color: black;--mdc-checkbox-unselected-pressed-state-layer-color: black}.mat-mdc-checkbox[_ngcontent-%COMP%] .mdc-form-field[_ngcontent-%COMP%]{color:var(--mdc-theme-text-primary-on-background, rgba(0, 0, 0, .87))}.mat-mdc-checkbox.mat-mdc-checkbox-disabled[_ngcontent-%COMP%] label[_ngcontent-%COMP%]{color:#00000061}html[_ngcontent-%COMP%]{--mdc-checkbox-state-layer-size: 32px}.mat-mdc-checkbox-touch-target[_ngcontent-%COMP%]{display:none}.mat-mdc-checkbox[_ngcontent-%COMP%] .mdc-form-field[_ngcontent-%COMP%]{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--mdc-typography-body2-font-family, var(--mdc-typography-font-family, Inter));font-size:var(--mdc-typography-body2-font-size, 13px);line-height:var(--mdc-typography-body2-line-height, 19px);font-weight:var(--mdc-typography-body2-font-weight, 400);letter-spacing:var(--mdc-typography-body2-letter-spacing, normal);-webkit-text-decoration:var(--mdc-typography-body2-text-decoration, inherit);text-decoration:var(--mdc-typography-body2-text-decoration, inherit);text-transform:var(--mdc-typography-body2-text-transform, none)}.mat-mdc-button.mat-unthemed[_ngcontent-%COMP%]{--mdc-text-button-label-text-color: #000}.mat-mdc-button.mat-primary[_ngcontent-%COMP%]{--mdc-text-button-label-text-color: #0f0761}.mat-mdc-button.mat-accent[_ngcontent-%COMP%]{--mdc-text-button-label-text-color: #dd7345}.mat-mdc-button.mat-warn[_ngcontent-%COMP%]{--mdc-text-button-label-text-color: #f44336}.mat-mdc-button[disabled][disabled][_ngcontent-%COMP%]{--mdc-text-button-disabled-label-text-color: rgba(0, 0, 0, .38);--mdc-text-button-label-text-color: rgba(0, 0, 0, .38)}.mat-mdc-unelevated-button.mat-unthemed[_ngcontent-%COMP%]{--mdc-filled-button-container-color: #fff;--mdc-filled-button-label-text-color: #000}.mat-mdc-unelevated-button.mat-primary[_ngcontent-%COMP%]{--mdc-filled-button-container-color: #0f0761;--mdc-filled-button-label-text-color: #fff}.mat-mdc-unelevated-button.mat-accent[_ngcontent-%COMP%]{--mdc-filled-button-container-color: #dd7345;--mdc-filled-button-label-text-color: #fff}.mat-mdc-unelevated-button.mat-warn[_ngcontent-%COMP%]{--mdc-filled-button-container-color: #f44336;--mdc-filled-button-label-text-color: #fff}.mat-mdc-unelevated-button[disabled][disabled][_ngcontent-%COMP%]{--mdc-filled-button-disabled-container-color: rgba(0, 0, 0, .12);--mdc-filled-button-disabled-label-text-color: rgba(0, 0, 0, .38);--mdc-filled-button-container-color: rgba(0, 0, 0, .12);--mdc-filled-button-label-text-color: rgba(0, 0, 0, .38)}.mat-mdc-raised-button.mat-unthemed[_ngcontent-%COMP%]{--mdc-protected-button-container-color: #fff;--mdc-protected-button-label-text-color: #000}.mat-mdc-raised-button.mat-primary[_ngcontent-%COMP%]{--mdc-protected-button-container-color: #0f0761;--mdc-protected-button-label-text-color: #fff}.mat-mdc-raised-button.mat-accent[_ngcontent-%COMP%]{--mdc-protected-button-container-color: #dd7345;--mdc-protected-button-label-text-color: #fff}.mat-mdc-raised-button.mat-warn[_ngcontent-%COMP%]{--mdc-protected-button-container-color: #f44336;--mdc-protected-button-label-text-color: #fff}.mat-mdc-raised-button[disabled][disabled][_ngcontent-%COMP%]{--mdc-protected-button-disabled-container-color: rgba(0, 0, 0, .12);--mdc-protected-button-disabled-label-text-color: rgba(0, 0, 0, .38);--mdc-protected-button-container-color: rgba(0, 0, 0, .12);--mdc-protected-button-label-text-color: rgba(0, 0, 0, .38);--mdc-protected-button-container-elevation: 0}.mat-mdc-outlined-button[_ngcontent-%COMP%]{--mdc-outlined-button-outline-color: rgba(0, 0, 0, .12)}.mat-mdc-outlined-button.mat-unthemed[_ngcontent-%COMP%]{--mdc-outlined-button-label-text-color: #000}.mat-mdc-outlined-button.mat-primary[_ngcontent-%COMP%]{--mdc-outlined-button-label-text-color: #0f0761}.mat-mdc-outlined-button.mat-accent[_ngcontent-%COMP%]{--mdc-outlined-button-label-text-color: #dd7345}.mat-mdc-outlined-button.mat-warn[_ngcontent-%COMP%]{--mdc-outlined-button-label-text-color: #f44336}.mat-mdc-outlined-button[disabled][disabled][_ngcontent-%COMP%]{--mdc-outlined-button-label-text-color: rgba(0, 0, 0, .38);--mdc-outlined-button-disabled-label-text-color: rgba(0, 0, 0, .38);--mdc-outlined-button-outline-color: rgba(0, 0, 0, .12);--mdc-outlined-button-disabled-outline-color: rgba(0, 0, 0, .12)}.mat-mdc-button[_ngcontent-%COMP%], .mat-mdc-outlined-button[_ngcontent-%COMP%]{--mat-mdc-button-persistent-ripple-color: #000;--mat-mdc-button-ripple-color: rgba(0, 0, 0, .1)}.mat-mdc-button[_ngcontent-%COMP%]:hover .mat-mdc-button-persistent-ripple[_ngcontent-%COMP%]:before, .mat-mdc-outlined-button[_ngcontent-%COMP%]:hover .mat-mdc-button-persistent-ripple[_ngcontent-%COMP%]:before{opacity:.04}.mat-mdc-button.cdk-program-focused[_ngcontent-%COMP%] .mat-mdc-button-persistent-ripple[_ngcontent-%COMP%]:before, .mat-mdc-button.cdk-keyboard-focused[_ngcontent-%COMP%] .mat-mdc-button-persistent-ripple[_ngcontent-%COMP%]:before, .mat-mdc-outlined-button.cdk-program-focused[_ngcontent-%COMP%] .mat-mdc-button-persistent-ripple[_ngcontent-%COMP%]:before, .mat-mdc-outlined-button.cdk-keyboard-focused[_ngcontent-%COMP%] .mat-mdc-button-persistent-ripple[_ngcontent-%COMP%]:before{opacity:.12}.mat-mdc-button[_ngcontent-%COMP%]:active .mat-mdc-button-persistent-ripple[_ngcontent-%COMP%]:before, .mat-mdc-outlined-button[_ngcontent-%COMP%]:active .mat-mdc-button-persistent-ripple[_ngcontent-%COMP%]:before{opacity:.12}.mat-mdc-button.mat-primary[_ngcontent-%COMP%], .mat-mdc-outlined-button.mat-primary[_ngcontent-%COMP%]{--mat-mdc-button-persistent-ripple-color: #0f0761;--mat-mdc-button-ripple-color: rgba(15, 7, 97, .1)}.mat-mdc-button.mat-accent[_ngcontent-%COMP%], .mat-mdc-outlined-button.mat-accent[_ngcontent-%COMP%]{--mat-mdc-button-persistent-ripple-color: #dd7345;--mat-mdc-button-ripple-color: rgba(221, 115, 69, .1)}.mat-mdc-button.mat-warn[_ngcontent-%COMP%], .mat-mdc-outlined-button.mat-warn[_ngcontent-%COMP%]{--mat-mdc-button-persistent-ripple-color: #f44336;--mat-mdc-button-ripple-color: rgba(244, 67, 54, .1)}.mat-mdc-raised-button[_ngcontent-%COMP%], .mat-mdc-unelevated-button[_ngcontent-%COMP%]{--mat-mdc-button-persistent-ripple-color: #000;--mat-mdc-button-ripple-color: rgba(0, 0, 0, .1)}.mat-mdc-raised-button[_ngcontent-%COMP%]:hover .mat-mdc-button-persistent-ripple[_ngcontent-%COMP%]:before, .mat-mdc-unelevated-button[_ngcontent-%COMP%]:hover .mat-mdc-button-persistent-ripple[_ngcontent-%COMP%]:before{opacity:.04}.mat-mdc-raised-button.cdk-program-focused[_ngcontent-%COMP%] .mat-mdc-button-persistent-ripple[_ngcontent-%COMP%]:before, .mat-mdc-raised-button.cdk-keyboard-focused[_ngcontent-%COMP%] .mat-mdc-button-persistent-ripple[_ngcontent-%COMP%]:before, .mat-mdc-unelevated-button.cdk-program-focused[_ngcontent-%COMP%] .mat-mdc-button-persistent-ripple[_ngcontent-%COMP%]:before, .mat-mdc-unelevated-button.cdk-keyboard-focused[_ngcontent-%COMP%] .mat-mdc-button-persistent-ripple[_ngcontent-%COMP%]:before{opacity:.12}.mat-mdc-raised-button[_ngcontent-%COMP%]:active .mat-mdc-button-persistent-ripple[_ngcontent-%COMP%]:before, .mat-mdc-unelevated-button[_ngcontent-%COMP%]:active .mat-mdc-button-persistent-ripple[_ngcontent-%COMP%]:before{opacity:.12}.mat-mdc-raised-button.mat-primary[_ngcontent-%COMP%], .mat-mdc-unelevated-button.mat-primary[_ngcontent-%COMP%], .mat-mdc-raised-button.mat-accent[_ngcontent-%COMP%], .mat-mdc-unelevated-button.mat-accent[_ngcontent-%COMP%], .mat-mdc-raised-button.mat-warn[_ngcontent-%COMP%], .mat-mdc-unelevated-button.mat-warn[_ngcontent-%COMP%]{--mat-mdc-button-persistent-ripple-color: #fff;--mat-mdc-button-ripple-color: rgba(255, 255, 255, .1)}.mat-mdc-button.mat-mdc-button-base[_ngcontent-%COMP%], .mat-mdc-raised-button.mat-mdc-button-base[_ngcontent-%COMP%], .mat-mdc-unelevated-button.mat-mdc-button-base[_ngcontent-%COMP%], .mat-mdc-outlined-button.mat-mdc-button-base[_ngcontent-%COMP%]{height:28px;margin-top:0;margin-bottom:0}.mat-mdc-button.mat-mdc-button-base[_ngcontent-%COMP%] .mdc-button__touch[_ngcontent-%COMP%], .mat-mdc-raised-button.mat-mdc-button-base[_ngcontent-%COMP%] .mdc-button__touch[_ngcontent-%COMP%], .mat-mdc-unelevated-button.mat-mdc-button-base[_ngcontent-%COMP%] .mdc-button__touch[_ngcontent-%COMP%], .mat-mdc-outlined-button.mat-mdc-button-base[_ngcontent-%COMP%] .mdc-button__touch[_ngcontent-%COMP%]{height:100%}.mat-mdc-button.mat-mdc-button-base[_ngcontent-%COMP%] .mat-mdc-button-touch-target[_ngcontent-%COMP%], .mat-mdc-raised-button.mat-mdc-button-base[_ngcontent-%COMP%] .mat-mdc-button-touch-target[_ngcontent-%COMP%], .mat-mdc-unelevated-button.mat-mdc-button-base[_ngcontent-%COMP%] .mat-mdc-button-touch-target[_ngcontent-%COMP%], .mat-mdc-outlined-button.mat-mdc-button-base[_ngcontent-%COMP%] .mat-mdc-button-touch-target[_ngcontent-%COMP%]{display:none}.mdc-button[_ngcontent-%COMP%]{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--mdc-typography-button-font-family, var(--mdc-typography-font-family, Inter));font-size:var(--mdc-typography-button-font-size, 13px);line-height:var(--mdc-typography-button-line-height, 19px);font-weight:var(--mdc-typography-button-font-weight, 500);letter-spacing:var(--mdc-typography-button-letter-spacing, normal);-webkit-text-decoration:var(--mdc-typography-button-text-decoration, none);text-decoration:var(--mdc-typography-button-text-decoration, none);text-transform:var(--mdc-typography-button-text-transform, none)}.mat-mdc-icon-button[_ngcontent-%COMP%]{--mdc-icon-button-icon-color: inherit;--mat-mdc-button-persistent-ripple-color: #000;--mat-mdc-button-ripple-color: rgba(0, 0, 0, .1)}.mat-mdc-icon-button[_ngcontent-%COMP%]:hover .mat-mdc-button-persistent-ripple[_ngcontent-%COMP%]:before{opacity:.04}.mat-mdc-icon-button.cdk-program-focused[_ngcontent-%COMP%] .mat-mdc-button-persistent-ripple[_ngcontent-%COMP%]:before, .mat-mdc-icon-button.cdk-keyboard-focused[_ngcontent-%COMP%] .mat-mdc-button-persistent-ripple[_ngcontent-%COMP%]:before{opacity:.12}.mat-mdc-icon-button[_ngcontent-%COMP%]:active .mat-mdc-button-persistent-ripple[_ngcontent-%COMP%]:before{opacity:.12}.mat-mdc-icon-button.mat-primary[_ngcontent-%COMP%]{--mat-mdc-button-persistent-ripple-color: #6200ee;--mat-mdc-button-ripple-color: rgba(98, 0, 238, .1)}.mat-mdc-icon-button.mat-accent[_ngcontent-%COMP%]{--mat-mdc-button-persistent-ripple-color: #018786;--mat-mdc-button-ripple-color: rgba(1, 135, 134, .1)}.mat-mdc-icon-button.mat-warn[_ngcontent-%COMP%]{--mat-mdc-button-persistent-ripple-color: #b00020;--mat-mdc-button-ripple-color: rgba(176, 0, 32, .1)}.mat-mdc-icon-button.mat-primary[_ngcontent-%COMP%]{--mdc-icon-button-icon-color: #0f0761;--mat-mdc-button-persistent-ripple-color: #0f0761;--mat-mdc-button-ripple-color: rgba(15, 7, 97, .1)}.mat-mdc-icon-button.mat-accent[_ngcontent-%COMP%]{--mdc-icon-button-icon-color: #dd7345;--mat-mdc-button-persistent-ripple-color: #dd7345;--mat-mdc-button-ripple-color: rgba(221, 115, 69, .1)}.mat-mdc-icon-button.mat-warn[_ngcontent-%COMP%]{--mdc-icon-button-icon-color: #f44336;--mat-mdc-button-persistent-ripple-color: #f44336;--mat-mdc-button-ripple-color: rgba(244, 67, 54, .1)}.mat-mdc-icon-button[disabled][disabled][_ngcontent-%COMP%]{--mdc-icon-button-icon-color: rgba(0, 0, 0, .38);--mdc-icon-button-disabled-icon-color: rgba(0, 0, 0, .38)}.mat-mdc-icon-button.mat-mdc-button-base[_ngcontent-%COMP%]{--mdc-icon-button-state-layer-size: 40px;width:var(--mdc-icon-button-state-layer-size);height:var(--mdc-icon-button-state-layer-size);padding:8px}.mat-mdc-icon-button.mat-mdc-button-base[_ngcontent-%COMP%] .mat-mdc-button-touch-target[_ngcontent-%COMP%]{display:none}.mat-mdc-fab[_ngcontent-%COMP%], .mat-mdc-mini-fab[_ngcontent-%COMP%]{--mat-mdc-button-persistent-ripple-color: #000;--mat-mdc-button-ripple-color: rgba(0, 0, 0, .1)}.mat-mdc-fab[_ngcontent-%COMP%]:hover .mat-mdc-button-persistent-ripple[_ngcontent-%COMP%]:before, .mat-mdc-mini-fab[_ngcontent-%COMP%]:hover .mat-mdc-button-persistent-ripple[_ngcontent-%COMP%]:before{opacity:.04}.mat-mdc-fab.cdk-program-focused[_ngcontent-%COMP%] .mat-mdc-button-persistent-ripple[_ngcontent-%COMP%]:before, .mat-mdc-fab.cdk-keyboard-focused[_ngcontent-%COMP%] .mat-mdc-button-persistent-ripple[_ngcontent-%COMP%]:before, .mat-mdc-mini-fab.cdk-program-focused[_ngcontent-%COMP%] .mat-mdc-button-persistent-ripple[_ngcontent-%COMP%]:before, .mat-mdc-mini-fab.cdk-keyboard-focused[_ngcontent-%COMP%] .mat-mdc-button-persistent-ripple[_ngcontent-%COMP%]:before{opacity:.12}.mat-mdc-fab[_ngcontent-%COMP%]:active .mat-mdc-button-persistent-ripple[_ngcontent-%COMP%]:before, .mat-mdc-mini-fab[_ngcontent-%COMP%]:active .mat-mdc-button-persistent-ripple[_ngcontent-%COMP%]:before{opacity:.12}.mat-mdc-fab.mat-primary[_ngcontent-%COMP%], .mat-mdc-mini-fab.mat-primary[_ngcontent-%COMP%], .mat-mdc-fab.mat-accent[_ngcontent-%COMP%], .mat-mdc-mini-fab.mat-accent[_ngcontent-%COMP%], .mat-mdc-fab.mat-warn[_ngcontent-%COMP%], .mat-mdc-mini-fab.mat-warn[_ngcontent-%COMP%]{--mat-mdc-button-persistent-ripple-color: #fff;--mat-mdc-button-ripple-color: rgba(255, 255, 255, .1)}.mat-mdc-fab[disabled][disabled][_ngcontent-%COMP%], .mat-mdc-mini-fab[disabled][disabled][_ngcontent-%COMP%]{--mdc-fab-container-color: rgba(0, 0, 0, .12);--mdc-fab-icon-color: rgba(0, 0, 0, .38);--mat-mdc-fab-color: rgba(0, 0, 0, .38)}.mat-mdc-fab.mat-unthemed[_ngcontent-%COMP%], .mat-mdc-mini-fab.mat-unthemed[_ngcontent-%COMP%]{--mdc-fab-container-color: white;--mdc-fab-icon-color: black;--mat-mdc-fab-color: #000}.mat-mdc-fab.mat-primary[_ngcontent-%COMP%], .mat-mdc-mini-fab.mat-primary[_ngcontent-%COMP%]{--mdc-fab-container-color: #0f0761;--mdc-fab-icon-color: white;--mat-mdc-fab-color: #fff}.mat-mdc-fab.mat-accent[_ngcontent-%COMP%], .mat-mdc-mini-fab.mat-accent[_ngcontent-%COMP%]{--mdc-fab-container-color: #dd7345;--mdc-fab-icon-color: white;--mat-mdc-fab-color: #fff}.mat-mdc-fab.mat-warn[_ngcontent-%COMP%], .mat-mdc-mini-fab.mat-warn[_ngcontent-%COMP%]{--mdc-fab-container-color: #f44336;--mdc-fab-icon-color: white;--mat-mdc-fab-color: #fff}.mdc-fab--extended[_ngcontent-%COMP%]{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--mdc-typography-button-font-family, var(--mdc-typography-font-family, Inter));font-size:var(--mdc-typography-button-font-size, 13px);line-height:var(--mdc-typography-button-line-height, 19px);font-weight:var(--mdc-typography-button-font-weight, 500);letter-spacing:var(--mdc-typography-button-letter-spacing, normal);-webkit-text-decoration:var(--mdc-typography-button-text-decoration, none);text-decoration:var(--mdc-typography-button-text-decoration, none);text-transform:var(--mdc-typography-button-text-transform, none)}.mat-mdc-extended-fab[_ngcontent-%COMP%]{--mdc-extended-fab-label-text-font: Inter;--mdc-extended-fab-label-text-size: 13px;--mdc-extended-fab-label-text-tracking: normal;--mdc-extended-fab-label-text-weight: 500}.mat-mdc-snack-bar-container[_ngcontent-%COMP%]{--mdc-snackbar-container-color: #333333;--mdc-snackbar-supporting-text-color: rgba(255, 255, 255, .87);--mat-snack-bar-button-color: #dd7345}.mat-mdc-snack-bar-container[_ngcontent-%COMP%]{--mdc-snackbar-supporting-text-font: Inter;--mdc-snackbar-supporting-text-line-height: 19px;--mdc-snackbar-supporting-text-size: 13px;--mdc-snackbar-supporting-text-weight: 400}html[_ngcontent-%COMP%]{--mat-table-background-color: white;--mat-table-header-headline-color: rgba(0, 0, 0, .87);--mat-table-row-item-label-text-color: rgba(0, 0, 0, .87);--mat-table-row-item-outline-color: rgba(0, 0, 0, .12)}html[_ngcontent-%COMP%]{--mat-table-header-container-height: 48px;--mat-table-footer-container-height: 44px;--mat-table-row-item-container-height: 44px}html[_ngcontent-%COMP%]{--mat-table-header-headline-font: Inter;--mat-table-header-headline-line-height: 19px;--mat-table-header-headline-size: 13px;--mat-table-header-headline-weight: 500;--mat-table-header-headline-tracking: normal;--mat-table-row-item-label-text-font: Inter;--mat-table-row-item-label-text-line-height: 19px;--mat-table-row-item-label-text-size: 13px;--mat-table-row-item-label-text-weight: 400;--mat-table-row-item-label-text-tracking: normal;--mat-table-footer-supporting-text-font: Inter;--mat-table-footer-supporting-text-line-height: 19px;--mat-table-footer-supporting-text-size: 13px;--mat-table-footer-supporting-text-weight: 400;--mat-table-footer-supporting-text-tracking: normal}.mat-mdc-progress-spinner[_ngcontent-%COMP%]{--mdc-circular-progress-active-indicator-color: #0f0761}.mat-mdc-progress-spinner.mat-accent[_ngcontent-%COMP%]{--mdc-circular-progress-active-indicator-color: #dd7345}.mat-mdc-progress-spinner.mat-warn[_ngcontent-%COMP%]{--mdc-circular-progress-active-indicator-color: #f44336}.mat-badge[_ngcontent-%COMP%]{position:relative}.mat-badge.mat-badge[_ngcontent-%COMP%]{overflow:visible}.mat-badge-content[_ngcontent-%COMP%]{position:absolute;text-align:center;display:inline-block;border-radius:50%;transition:transform .2s ease-in-out;transform:scale(.6);overflow:hidden;white-space:nowrap;text-overflow:ellipsis;pointer-events:none;background-color:var(--mat-badge-background-color);color:var(--mat-badge-text-color);font-family:Roboto,sans-serif;font-family:var(--mat-badge-text-font, Roboto, sans-serif);font-size:12px;font-size:var(--mat-badge-text-size, 12px);font-weight:600;font-weight:var(--mat-badge-text-weight, 600)}.cdk-high-contrast-active[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{outline:solid 1px;border-radius:0}.mat-badge-disabled[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{background-color:var(--mat-badge-disabled-state-background-color);color:var(--mat-badge-disabled-state-text-color)}.mat-badge-hidden[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{display:none}.ng-animate-disabled[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%], .mat-badge-content._mat-animation-noopable[_ngcontent-%COMP%]{transition:none}.mat-badge-content.mat-badge-active[_ngcontent-%COMP%]{transform:none}.mat-badge-small[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{width:16px;height:16px;line-height:16px;font-size:9px;font-size:var(--mat-badge-small-size-text-size, 9px)}.mat-badge-small.mat-badge-above[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{top:-8px}.mat-badge-small.mat-badge-below[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{bottom:-8px}.mat-badge-small.mat-badge-before[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{left:-16px}[dir=rtl][_ngcontent-%COMP%] .mat-badge-small.mat-badge-before[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{left:auto;right:-16px}.mat-badge-small.mat-badge-after[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{right:-16px}[dir=rtl][_ngcontent-%COMP%] .mat-badge-small.mat-badge-after[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{right:auto;left:-16px}.mat-badge-small.mat-badge-overlap.mat-badge-before[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{left:-8px}[dir=rtl][_ngcontent-%COMP%] .mat-badge-small.mat-badge-overlap.mat-badge-before[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{left:auto;right:-8px}.mat-badge-small.mat-badge-overlap.mat-badge-after[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{right:-8px}[dir=rtl][_ngcontent-%COMP%] .mat-badge-small.mat-badge-overlap.mat-badge-after[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{right:auto;left:-8px}.mat-badge-medium[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{width:22px;height:22px;line-height:22px}.mat-badge-medium.mat-badge-above[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{top:-11px}.mat-badge-medium.mat-badge-below[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{bottom:-11px}.mat-badge-medium.mat-badge-before[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{left:-22px}[dir=rtl][_ngcontent-%COMP%] .mat-badge-medium.mat-badge-before[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{left:auto;right:-22px}.mat-badge-medium.mat-badge-after[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{right:-22px}[dir=rtl][_ngcontent-%COMP%] .mat-badge-medium.mat-badge-after[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{right:auto;left:-22px}.mat-badge-medium.mat-badge-overlap.mat-badge-before[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{left:-11px}[dir=rtl][_ngcontent-%COMP%] .mat-badge-medium.mat-badge-overlap.mat-badge-before[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{left:auto;right:-11px}.mat-badge-medium.mat-badge-overlap.mat-badge-after[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{right:-11px}[dir=rtl][_ngcontent-%COMP%] .mat-badge-medium.mat-badge-overlap.mat-badge-after[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{right:auto;left:-11px}.mat-badge-large[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{width:28px;height:28px;line-height:28px;font-size:24px;font-size:var(--mat-badge-large-size-text-size, 24px)}.mat-badge-large.mat-badge-above[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{top:-14px}.mat-badge-large.mat-badge-below[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{bottom:-14px}.mat-badge-large.mat-badge-before[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{left:-28px}[dir=rtl][_ngcontent-%COMP%] .mat-badge-large.mat-badge-before[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{left:auto;right:-28px}.mat-badge-large.mat-badge-after[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{right:-28px}[dir=rtl][_ngcontent-%COMP%] .mat-badge-large.mat-badge-after[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{right:auto;left:-28px}.mat-badge-large.mat-badge-overlap.mat-badge-before[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{left:-14px}[dir=rtl][_ngcontent-%COMP%] .mat-badge-large.mat-badge-overlap.mat-badge-before[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{left:auto;right:-14px}.mat-badge-large.mat-badge-overlap.mat-badge-after[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{right:-14px}[dir=rtl][_ngcontent-%COMP%] .mat-badge-large.mat-badge-overlap.mat-badge-after[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{right:auto;left:-14px}html[_ngcontent-%COMP%]{--mat-badge-background-color: #0f0761;--mat-badge-text-color: white;--mat-badge-disabled-state-background-color: #b9b9b9;--mat-badge-disabled-state-text-color: rgba(0, 0, 0, .38)}.mat-badge-accent[_ngcontent-%COMP%]{--mat-badge-background-color: #dd7345;--mat-badge-text-color: white}.mat-badge-warn[_ngcontent-%COMP%]{--mat-badge-background-color: #f44336;--mat-badge-text-color: white}html[_ngcontent-%COMP%]{--mat-badge-text-font: Inter;--mat-badge-text-size: 12px;--mat-badge-text-weight: 600;--mat-badge-small-size-text-size: 9px;--mat-badge-large-size-text-size: 24px}html[_ngcontent-%COMP%]{--mat-bottom-sheet-container-text-color: rgba(0, 0, 0, .87);--mat-bottom-sheet-container-background-color: white}html[_ngcontent-%COMP%]{--mat-bottom-sheet-container-text-font: Inter;--mat-bottom-sheet-container-text-line-height: 19px;--mat-bottom-sheet-container-text-size: 13px;--mat-bottom-sheet-container-text-tracking: normal;--mat-bottom-sheet-container-text-weight: 400}html[_ngcontent-%COMP%]{--mat-legacy-button-toggle-text-color: rgba(0, 0, 0, .38);--mat-legacy-button-toggle-state-layer-color: rgba(0, 0, 0, .12);--mat-legacy-button-toggle-selected-state-text-color: rgba(0, 0, 0, .54);--mat-legacy-button-toggle-selected-state-background-color: #e0e0e0;--mat-legacy-button-toggle-disabled-state-text-color: rgba(0, 0, 0, .26);--mat-legacy-button-toggle-disabled-state-background-color: #eeeeee;--mat-legacy-button-toggle-disabled-selected-state-background-color: #bdbdbd;--mat-standard-button-toggle-text-color: rgba(0, 0, 0, .87);--mat-standard-button-toggle-background-color: white;--mat-standard-button-toggle-state-layer-color: black;--mat-standard-button-toggle-selected-state-background-color: #e0e0e0;--mat-standard-button-toggle-selected-state-text-color: rgba(0, 0, 0, .87);--mat-standard-button-toggle-disabled-state-text-color: rgba(0, 0, 0, .26);--mat-standard-button-toggle-disabled-state-background-color: white;--mat-standard-button-toggle-disabled-selected-state-text-color: rgba(0, 0, 0, .87);--mat-standard-button-toggle-disabled-selected-state-background-color: #bdbdbd;--mat-standard-button-toggle-divider-color: #e0e0e0}html[_ngcontent-%COMP%]{--mat-standard-button-toggle-height: 40px}html[_ngcontent-%COMP%]{--mat-legacy-button-toggle-text-font: Inter;--mat-standard-button-toggle-text-font: Inter}html[_ngcontent-%COMP%]{--mat-datepicker-calendar-date-selected-state-text-color: white;--mat-datepicker-calendar-date-selected-state-background-color: #0f0761;--mat-datepicker-calendar-date-selected-disabled-state-background-color: rgba(15, 7, 97, .4);--mat-datepicker-calendar-date-today-selected-state-outline-color: white;--mat-datepicker-calendar-date-focus-state-background-color: rgba(15, 7, 97, .3);--mat-datepicker-calendar-date-hover-state-background-color: rgba(15, 7, 97, .3);--mat-datepicker-toggle-active-state-icon-color: #0f0761;--mat-datepicker-calendar-date-in-range-state-background-color: rgba(15, 7, 97, .2);--mat-datepicker-calendar-date-in-comparison-range-state-background-color: rgba(249, 171, 0, .2);--mat-datepicker-calendar-date-in-overlap-range-state-background-color: #a8dab5;--mat-datepicker-calendar-date-in-overlap-range-selected-state-background-color: #46a35e;--mat-datepicker-toggle-icon-color: rgba(0, 0, 0, .54);--mat-datepicker-calendar-body-label-text-color: rgba(0, 0, 0, .54);--mat-datepicker-calendar-period-button-icon-color: rgba(0, 0, 0, .54);--mat-datepicker-calendar-navigation-button-icon-color: rgba(0, 0, 0, .54);--mat-datepicker-calendar-header-divider-color: rgba(0, 0, 0, .12);--mat-datepicker-calendar-header-text-color: rgba(0, 0, 0, .54);--mat-datepicker-calendar-date-today-outline-color: rgba(0, 0, 0, .38);--mat-datepicker-calendar-date-today-disabled-state-outline-color: rgba(0, 0, 0, .18);--mat-datepicker-calendar-date-text-color: rgba(0, 0, 0, .87);--mat-datepicker-calendar-date-outline-color: transparent;--mat-datepicker-calendar-date-disabled-state-text-color: rgba(0, 0, 0, .38);--mat-datepicker-calendar-date-preview-state-outline-color: rgba(0, 0, 0, .24);--mat-datepicker-range-input-separator-color: rgba(0, 0, 0, .87);--mat-datepicker-range-input-disabled-state-separator-color: rgba(0, 0, 0, .38);--mat-datepicker-range-input-disabled-state-text-color: rgba(0, 0, 0, .38);--mat-datepicker-calendar-container-background-color: white;--mat-datepicker-calendar-container-text-color: rgba(0, 0, 0, .87)}.mat-datepicker-content.mat-accent[_ngcontent-%COMP%]{--mat-datepicker-calendar-date-selected-state-text-color: white;--mat-datepicker-calendar-date-selected-state-background-color: #dd7345;--mat-datepicker-calendar-date-selected-disabled-state-background-color: rgba(221, 115, 69, .4);--mat-datepicker-calendar-date-today-selected-state-outline-color: white;--mat-datepicker-calendar-date-focus-state-background-color: rgba(221, 115, 69, .3);--mat-datepicker-calendar-date-hover-state-background-color: rgba(221, 115, 69, .3);--mat-datepicker-calendar-date-in-range-state-background-color: rgba(221, 115, 69, .2);--mat-datepicker-calendar-date-in-comparison-range-state-background-color: rgba(249, 171, 0, .2);--mat-datepicker-calendar-date-in-overlap-range-state-background-color: #a8dab5;--mat-datepicker-calendar-date-in-overlap-range-selected-state-background-color: #46a35e}.mat-datepicker-content.mat-warn[_ngcontent-%COMP%]{--mat-datepicker-calendar-date-selected-state-text-color: white;--mat-datepicker-calendar-date-selected-state-background-color: #f44336;--mat-datepicker-calendar-date-selected-disabled-state-background-color: rgba(244, 67, 54, .4);--mat-datepicker-calendar-date-today-selected-state-outline-color: white;--mat-datepicker-calendar-date-focus-state-background-color: rgba(244, 67, 54, .3);--mat-datepicker-calendar-date-hover-state-background-color: rgba(244, 67, 54, .3);--mat-datepicker-calendar-date-in-range-state-background-color: rgba(244, 67, 54, .2);--mat-datepicker-calendar-date-in-comparison-range-state-background-color: rgba(249, 171, 0, .2);--mat-datepicker-calendar-date-in-overlap-range-state-background-color: #a8dab5;--mat-datepicker-calendar-date-in-overlap-range-selected-state-background-color: #46a35e}.mat-datepicker-toggle-active.mat-accent[_ngcontent-%COMP%]{--mat-datepicker-toggle-active-state-icon-color: #dd7345}.mat-datepicker-toggle-active.mat-warn[_ngcontent-%COMP%]{--mat-datepicker-toggle-active-state-icon-color: #f44336}.mat-calendar-controls[_ngcontent-%COMP%] .mat-mdc-icon-button.mat-mdc-button-base[_ngcontent-%COMP%]{--mdc-icon-button-state-layer-size: 40px;width:var(--mdc-icon-button-state-layer-size);height:var(--mdc-icon-button-state-layer-size);padding:8px}.mat-calendar-controls[_ngcontent-%COMP%] .mat-mdc-icon-button.mat-mdc-button-base[_ngcontent-%COMP%] .mat-mdc-button-touch-target[_ngcontent-%COMP%]{display:none}html[_ngcontent-%COMP%]{--mat-datepicker-calendar-text-font: Inter;--mat-datepicker-calendar-text-size: 13px;--mat-datepicker-calendar-body-label-text-size: 13px;--mat-datepicker-calendar-body-label-text-weight: 500;--mat-datepicker-calendar-period-button-text-size: 13px;--mat-datepicker-calendar-period-button-text-weight: 500;--mat-datepicker-calendar-header-text-size: 11px;--mat-datepicker-calendar-header-text-weight: 400}html[_ngcontent-%COMP%]{--mat-divider-color: rgba(0, 0, 0, .12)}html[_ngcontent-%COMP%]{--mat-expansion-container-background-color: white;--mat-expansion-container-text-color: rgba(0, 0, 0, .87);--mat-expansion-actions-divider-color: rgba(0, 0, 0, .12);--mat-expansion-header-hover-state-layer-color: rgba(0, 0, 0, .04);--mat-expansion-header-focus-state-layer-color: rgba(0, 0, 0, .04);--mat-expansion-header-disabled-state-text-color: rgba(0, 0, 0, .26);--mat-expansion-header-text-color: rgba(0, 0, 0, .87);--mat-expansion-header-description-color: rgba(0, 0, 0, .54);--mat-expansion-header-indicator-color: rgba(0, 0, 0, .54)}html[_ngcontent-%COMP%]{--mat-expansion-header-collapsed-state-height: 40px;--mat-expansion-header-expanded-state-height: 56px}html[_ngcontent-%COMP%]{--mat-expansion-header-text-font: Inter;--mat-expansion-header-text-size: 13px;--mat-expansion-header-text-weight: 500;--mat-expansion-header-text-line-height: inherit;--mat-expansion-header-text-tracking: inherit;--mat-expansion-container-text-font: Inter;--mat-expansion-container-text-line-height: 19px;--mat-expansion-container-text-size: 13px;--mat-expansion-container-text-tracking: normal;--mat-expansion-container-text-weight: 400}html[_ngcontent-%COMP%]{--mat-grid-list-tile-header-primary-text-size: 13px;--mat-grid-list-tile-header-secondary-text-size: 12px;--mat-grid-list-tile-footer-primary-text-size: 13px;--mat-grid-list-tile-footer-secondary-text-size: 12px}html[_ngcontent-%COMP%]{--mat-icon-color: inherit}.mat-icon.mat-primary[_ngcontent-%COMP%]{--mat-icon-color: #0f0761}.mat-icon.mat-accent[_ngcontent-%COMP%]{--mat-icon-color: #dd7345}.mat-icon.mat-warn[_ngcontent-%COMP%]{--mat-icon-color: #f44336}html[_ngcontent-%COMP%]{--mat-sidenav-container-divider-color: rgba(0, 0, 0, .12);--mat-sidenav-container-background-color: white;--mat-sidenav-container-text-color: rgba(0, 0, 0, .87);--mat-sidenav-content-background-color: #fafafa;--mat-sidenav-content-text-color: rgba(0, 0, 0, .87);--mat-sidenav-scrim-color: rgba(0, 0, 0, .6)}html[_ngcontent-%COMP%]{--mat-stepper-header-icon-foreground-color: white;--mat-stepper-header-selected-state-icon-background-color: #0f0761;--mat-stepper-header-selected-state-icon-foreground-color: white;--mat-stepper-header-done-state-icon-background-color: #0f0761;--mat-stepper-header-done-state-icon-foreground-color: white;--mat-stepper-header-edit-state-icon-background-color: #0f0761;--mat-stepper-header-edit-state-icon-foreground-color: white;--mat-stepper-container-color: white;--mat-stepper-line-color: rgba(0, 0, 0, .12);--mat-stepper-header-hover-state-layer-color: rgba(0, 0, 0, .04);--mat-stepper-header-focus-state-layer-color: rgba(0, 0, 0, .04);--mat-stepper-header-label-text-color: rgba(0, 0, 0, .54);--mat-stepper-header-optional-label-text-color: rgba(0, 0, 0, .54);--mat-stepper-header-selected-state-label-text-color: rgba(0, 0, 0, .87);--mat-stepper-header-error-state-label-text-color: #f44336;--mat-stepper-header-icon-background-color: rgba(0, 0, 0, .54);--mat-stepper-header-error-state-icon-foreground-color: #f44336;--mat-stepper-header-error-state-icon-background-color: transparent}html[_ngcontent-%COMP%] .mat-step-header.mat-accent[_ngcontent-%COMP%]{--mat-stepper-header-icon-foreground-color: white;--mat-stepper-header-selected-state-icon-background-color: #dd7345;--mat-stepper-header-selected-state-icon-foreground-color: white;--mat-stepper-header-done-state-icon-background-color: #dd7345;--mat-stepper-header-done-state-icon-foreground-color: white;--mat-stepper-header-edit-state-icon-background-color: #dd7345;--mat-stepper-header-edit-state-icon-foreground-color: white}html[_ngcontent-%COMP%] .mat-step-header.mat-warn[_ngcontent-%COMP%]{--mat-stepper-header-icon-foreground-color: white;--mat-stepper-header-selected-state-icon-background-color: #f44336;--mat-stepper-header-selected-state-icon-foreground-color: white;--mat-stepper-header-done-state-icon-background-color: #f44336;--mat-stepper-header-done-state-icon-foreground-color: white;--mat-stepper-header-edit-state-icon-background-color: #f44336;--mat-stepper-header-edit-state-icon-foreground-color: white}html[_ngcontent-%COMP%]{--mat-stepper-header-height: 64px}html[_ngcontent-%COMP%]{--mat-stepper-container-text-font: Inter;--mat-stepper-header-label-text-font: Inter;--mat-stepper-header-label-text-size: 13px;--mat-stepper-header-label-text-weight: 400;--mat-stepper-header-error-state-label-text-size: 13px;--mat-stepper-header-selected-state-label-text-size: 13px;--mat-stepper-header-selected-state-label-text-weight: 400}.mat-sort-header-arrow[_ngcontent-%COMP%]{color:#757575}html[_ngcontent-%COMP%]{--mat-toolbar-container-background-color: whitesmoke;--mat-toolbar-container-text-color: rgba(0, 0, 0, .87)}.mat-toolbar.mat-primary[_ngcontent-%COMP%]{--mat-toolbar-container-background-color: #0f0761;--mat-toolbar-container-text-color: white}.mat-toolbar.mat-accent[_ngcontent-%COMP%]{--mat-toolbar-container-background-color: #dd7345;--mat-toolbar-container-text-color: white}.mat-toolbar.mat-warn[_ngcontent-%COMP%]{--mat-toolbar-container-background-color: #f44336;--mat-toolbar-container-text-color: white}html[_ngcontent-%COMP%]{--mat-toolbar-standard-height: 56px;--mat-toolbar-mobile-height: 48px}html[_ngcontent-%COMP%]{--mat-toolbar-title-text-font: Inter;--mat-toolbar-title-text-line-height: 21px;--mat-toolbar-title-text-size: 16px;--mat-toolbar-title-text-tracking: normal;--mat-toolbar-title-text-weight: 600}.mat-tree[_ngcontent-%COMP%]{background:white}.mat-tree-node[_ngcontent-%COMP%], .mat-nested-tree-node[_ngcontent-%COMP%]{color:#000000de}.mat-tree-node[_ngcontent-%COMP%]{min-height:40px}.mat-tree[_ngcontent-%COMP%]{font-family:Inter}.mat-tree-node[_ngcontent-%COMP%], .mat-nested-tree-node[_ngcontent-%COMP%]{font-weight:400;font-size:13px}.mat-h1[_ngcontent-%COMP%], .mat-headline-5[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] .mat-h1[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] .mat-headline-5[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{font-size:20px;font-weight:600;line-height:24px;font-family:Inter;letter-spacing:normal;margin:0 0 16px}.mat-h2[_ngcontent-%COMP%], .mat-headline-6[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] .mat-h2[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] .mat-headline-6[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{font-size:16px;font-weight:600;line-height:21px;font-family:Inter;letter-spacing:normal;margin:0 0 16px}.mat-h3[_ngcontent-%COMP%], .mat-subtitle-1[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] .mat-h3[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] .mat-subtitle-1[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{font-size:16px;font-weight:600;line-height:22px;font-family:Inter;letter-spacing:normal;margin:0 0 16px}.mat-h4[_ngcontent-%COMP%], .mat-body-1[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] .mat-h4[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] .mat-body-1[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] h4[_ngcontent-%COMP%]{font-size:13px;font-weight:400;line-height:19px;font-family:Inter;letter-spacing:normal;margin:0 0 16px}.mat-h5[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] .mat-h5[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] h5[_ngcontent-%COMP%]{font:400 10.79px/19px Inter;margin:0 0 12px}.mat-h6[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] .mat-h6[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] h6[_ngcontent-%COMP%]{font:400 8.71px/19px Inter;margin:0 0 12px}.mat-body-strong[_ngcontent-%COMP%], .mat-subtitle-2[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] .mat-body-strong[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] .mat-subtitle-2[_ngcontent-%COMP%]{font-size:13px;font-weight:500;line-height:19px;font-family:Inter;letter-spacing:normal}.mat-body[_ngcontent-%COMP%], .mat-body-2[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] .mat-body[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] .mat-body-2[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%]{font-size:13px;font-weight:400;line-height:19px;font-family:Inter;letter-spacing:normal}.mat-body[_ngcontent-%COMP%] p[_ngcontent-%COMP%], .mat-body-2[_ngcontent-%COMP%] p[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] .mat-body[_ngcontent-%COMP%] p[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] .mat-body-2[_ngcontent-%COMP%] p[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{margin:0 0 12px}.mat-small[_ngcontent-%COMP%], .mat-caption[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] .mat-small[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] .mat-caption[_ngcontent-%COMP%]{font-size:12px;font-weight:400;line-height:16px;font-family:Inter;letter-spacing:normal}.mat-headline-1[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] .mat-headline-1[_ngcontent-%COMP%]{font-size:56px;font-weight:600;line-height:62px;font-family:Inter;letter-spacing:normal;margin:0 0 56px}.mat-headline-2[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] .mat-headline-2[_ngcontent-%COMP%]{font-size:44px;font-weight:600;line-height:50px;font-family:Inter;letter-spacing:normal;margin:0 0 64px}.mat-headline-3[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] .mat-headline-3[_ngcontent-%COMP%]{font-size:36px;font-weight:600;line-height:43px;font-family:Inter;letter-spacing:normal;margin:0 0 64px}.mat-headline-4[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] .mat-headline-4[_ngcontent-%COMP%]{font-size:28px;font-weight:600;line-height:34px;font-family:Inter;letter-spacing:normal;margin:0 0 64px}.mat-ripple-element[_ngcontent-%COMP%]{display:none!important}.mat-mdc-unelevated-button.mat-primary[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%], .mat-mdc-raised-button.mat-primary[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%], .mat-mdc-fab[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%], .mat-mdc-mini-fab[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%]{display:block!important}.mat-toolbar[_ngcontent-%COMP%]{box-shadow:none!important}.shell-brand-logo[_ngcontent-%COMP%]{filter:brightness(0);opacity:.87}.dark-theme[_ngcontent-%COMP%] .shell-brand-logo[_ngcontent-%COMP%]{filter:brightness(0) invert(1);opacity:.9}.mat-column-actions[_ngcontent-%COMP%]{width:50px;padding:0 8px}.mat-column-actions[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{height:30px;width:30px}.mat-mdc-cell[_ngcontent-%COMP%]{padding:8px}.mat-mdc-card[_ngcontent-%COMP%]{overflow-y:auto}.add-btn[_ngcontent-%COMP%]{background-color:#7571a9}"]})}};mt=pt=(0,re.Cg)([(0,H.d)({checkProperties:!0})],mt);var Ht=g(14207),ue=g(86606),L=g(73151),A=g(68686);function fi(n,a){1&n&&(e.qex(0),e.EFF(1,"loading\u2026"),e.bVm())}function ui(n,a){if(1&n&&(e.qex(0),e.EFF(1),e.bVm()),2&n){const t=e.XpG();e.R7$(1),e.SpI(" ",t.connections.length," available ")}}function hi(n,a){1&n&&(e.j41(0,"p",14),e.EFF(1," Click one to use it for this chat service: "),e.k0s())}function bi(n,a){if(1&n&&e.nrm(0,"fa-icon",20),2&n){const t=e.XpG(3);e.Y8G("icon",t.faCircleCheck)}}function vi(n,a){if(1&n){const t=e.RV6();e.j41(0,"li")(1,"button",17),e.bIt("click",function(){const r=e.eBV(t).$implicit,c=e.XpG(2);return e.Njj(c.selectConnection.emit(r.id))}),e.DNE(2,bi,1,1,"fa-icon",18),e.j41(3,"span",19),e.EFF(4),e.k0s()()()}if(2&n){const t=a.$implicit,o=e.XpG(2);e.R7$(1),e.AVh("prereqs__chip--selected",t.id===o.selectedConnectionId),e.R7$(1),e.Y8G("ngIf",t.id===o.selectedConnectionId),e.R7$(2),e.JRh(t.label||t.name)}}function xi(n,a){if(1&n&&(e.j41(0,"ul",15),e.DNE(1,vi,5,4,"li",16),e.k0s()),2&n){const t=e.XpG();e.R7$(1),e.Y8G("ngForOf",t.connections)("ngForTrackBy",t.trackById)}}function Ci(n,a){1&n&&(e.j41(0,"p",21),e.EFF(1," No AI Connections yet. The chat service can't run without one. Use the button above to create one, then come back. "),e.k0s())}function ki(n,a){1&n&&(e.qex(0),e.EFF(1,"loading\u2026"),e.bVm())}function yi(n,a){if(1&n&&(e.qex(0),e.EFF(1),e.bVm()),2&n){const t=e.XpG();e.R7$(1),e.SpI(" ",t.roles.length," available ")}}function Mi(n,a){1&n&&(e.j41(0,"p",14),e.EFF(1," Click one to scope the AI's data access: "),e.k0s())}function Oi(n,a){if(1&n&&e.nrm(0,"fa-icon",20),2&n){const t=e.XpG(3);e.Y8G("icon",t.faCircleCheck)}}const Pi=function(n){return["/api-connections/role-based-access",n,"scope"]};function Fi(n,a){if(1&n){const t=e.RV6();e.j41(0,"li")(1,"button",17),e.bIt("click",function(){const r=e.eBV(t).$implicit,c=e.XpG(2);return e.Njj(c.selectRole.emit(r.id))}),e.DNE(2,Oi,1,1,"fa-icon",18),e.j41(3,"span",19),e.EFF(4),e.k0s()(),e.j41(5,"a",22),e.EFF(6,"what can this role see?"),e.k0s()()}if(2&n){const t=a.$implicit,o=e.XpG(2);e.R7$(1),e.AVh("prereqs__chip--selected",t.id===o.selectedRoleId),e.R7$(1),e.Y8G("ngIf",t.id===o.selectedRoleId),e.R7$(2),e.JRh(t.name),e.R7$(1),e.Y8G("routerLink",e.eq3(5,Pi,t.id))}}function wi(n,a){if(1&n&&(e.j41(0,"ul",15),e.DNE(1,Fi,7,7,"li",16),e.k0s()),2&n){const t=e.XpG();e.R7$(1),e.Y8G("ngForOf",t.roles)("ngForTrackBy",t.trackById)}}function Di(n,a){1&n&&(e.j41(0,"p",21),e.EFF(1," No Roles configured. The AI operates under a Role that limits what data it can access. Create a restricted role and come back. "),e.k0s())}const Ti=function(){return["/ai/connections/create"]},Si=function(){return["/api-connections/role-based-access/create"]};let Ri=(()=>{class n{constructor(){this.http=(0,e.WQX)(ee.Qq),this.selectedConnectionId=null,this.selectedRoleId=null,this.selectConnection=new e.bkB,this.selectRole=new e.bkB,this.loading=!0,this.connections=[],this.roles=[],this.faCheck=b.e68,this.faCircleCheck=b.QRE,this.faCircleExclamation=b.lEd,this.faPlus=b.QLR,this.faRobot=b.UBk,this.faShieldHalved=b.fLc}ngOnInit(){(0,ue.p)({conn:this.http.get(`${A.C}/system/service`,{params:{filter:'type = "ai_connection"',fields:"id,name,label",sort:"name"}}).pipe((0,R.W)(()=>(0,L.of)({resource:[]}))),roles:this.http.get(`${A.C}/system/role`,{params:{fields:"id,name",sort:"name"}}).pipe((0,R.W)(()=>(0,L.of)({resource:[]})))}).subscribe(({conn:t,roles:o})=>{this.connections=t.resource??[],this.roles=o.resource??[],this.loading=!1})}trackById(t,o){return o.id}static{this.\u0275fac=function(o){return new(o||n)}}static{this.\u0275cmp=e.VBU({type:n,selectors:[["df-ai-chat-prereqs"]],inputs:{selectedConnectionId:"selectedConnectionId",selectedRoleId:"selectedRoleId"},outputs:{selectConnection:"selectConnection",selectRole:"selectRole"},standalone:!0,features:[e.aNF],decls:38,vars:34,consts:[[1,"prereqs"],[1,"prereqs__header"],[1,"prereqs__section"],[1,"prereqs__row"],[1,"prereqs__icon",3,"icon"],[1,"prereqs__kind-icon",3,"icon"],[1,"prereqs__title"],[1,"prereqs__count"],[4,"ngIf"],["mat-stroked-button","",1,"prereqs__action",3,"routerLink"],[3,"icon"],["class","prereqs__pick-hint",4,"ngIf"],["class","prereqs__list",4,"ngIf"],["class","prereqs__hint",4,"ngIf"],[1,"prereqs__pick-hint"],[1,"prereqs__list"],[4,"ngFor","ngForOf","ngForTrackBy"],["type","button",1,"prereqs__chip",3,"click"],["class","prereqs__chip-check",3,"icon",4,"ngIf"],[1,"prereqs__name"],[1,"prereqs__chip-check",3,"icon"],[1,"prereqs__hint"],[1,"prereqs__link",3,"routerLink"]],template:function(o,i){1&o&&(e.j41(0,"div",0)(1,"header",1)(2,"h4"),e.EFF(3,"AI Chat setup"),e.k0s(),e.j41(4,"p"),e.EFF(5," An AI Chat service ties an AI Connection (the LLM) to a DreamFactory Role (the data scope). Pick one of each below; your selection writes straight into the form. "),e.k0s()(),e.j41(6,"section",2)(7,"div",3),e.nrm(8,"fa-icon",4)(9,"fa-icon",5),e.j41(10,"span",6),e.EFF(11,"AI Connection"),e.k0s(),e.j41(12,"span",7),e.DNE(13,fi,2,0,"ng-container",8),e.DNE(14,ui,2,1,"ng-container",8),e.k0s(),e.j41(15,"a",9),e.nrm(16,"fa-icon",10),e.j41(17,"span"),e.EFF(18),e.k0s()()(),e.DNE(19,hi,2,0,"p",11),e.DNE(20,xi,2,2,"ul",12),e.DNE(21,Ci,2,0,"p",13),e.k0s(),e.j41(22,"section",2)(23,"div",3),e.nrm(24,"fa-icon",4)(25,"fa-icon",5),e.j41(26,"span",6),e.EFF(27,"AI Role"),e.k0s(),e.j41(28,"span",7),e.DNE(29,ki,2,0,"ng-container",8),e.DNE(30,yi,2,1,"ng-container",8),e.k0s(),e.j41(31,"a",9),e.nrm(32,"fa-icon",10),e.j41(33,"span"),e.EFF(34),e.k0s()()(),e.DNE(35,Mi,2,0,"p",11),e.DNE(36,wi,2,2,"ul",12),e.DNE(37,Di,2,0,"p",13),e.k0s()()),2&o&&(e.R7$(6),e.AVh("prereqs__section--missing",!i.loading&&0===i.connections.length),e.R7$(2),e.AVh("prereqs__icon--ok",i.connections.length)("prereqs__icon--miss",!i.connections.length),e.Y8G("icon",i.connections.length?i.faCheck:i.faCircleExclamation),e.R7$(1),e.Y8G("icon",i.faRobot),e.R7$(4),e.Y8G("ngIf",i.loading),e.R7$(1),e.Y8G("ngIf",!i.loading),e.R7$(1),e.Y8G("routerLink",e.lJ4(32,Ti)),e.R7$(1),e.Y8G("icon",i.faPlus),e.R7$(2),e.JRh(i.connections.length?"Add another":"Create one now"),e.R7$(1),e.Y8G("ngIf",i.connections.length&&null==i.selectedConnectionId),e.R7$(1),e.Y8G("ngIf",i.connections.length),e.R7$(1),e.Y8G("ngIf",!i.loading&&0===i.connections.length),e.R7$(1),e.AVh("prereqs__section--missing",!i.loading&&0===i.roles.length),e.R7$(2),e.AVh("prereqs__icon--ok",i.roles.length)("prereqs__icon--miss",!i.roles.length),e.Y8G("icon",i.roles.length?i.faCheck:i.faCircleExclamation),e.R7$(1),e.Y8G("icon",i.faShieldHalved),e.R7$(4),e.Y8G("ngIf",i.loading),e.R7$(1),e.Y8G("ngIf",!i.loading),e.R7$(1),e.Y8G("routerLink",e.lJ4(33,Si)),e.R7$(1),e.Y8G("icon",i.faPlus),e.R7$(2),e.JRh(i.roles.length?"Add another":"Create one now"),e.R7$(1),e.Y8G("ngIf",i.roles.length&&null==i.selectedRoleId),e.R7$(1),e.Y8G("ngIf",i.roles.length),e.R7$(1),e.Y8G("ngIf",!i.loading&&0===i.roles.length))},dependencies:[d.MD,d.Sq,d.bT,N.Wk,u.Hl,u.It,w.dX,w.aY],styles:["[_nghost-%COMP%]{--prereqs-surface: rgba(0, 0, 0, .03)}.dark-theme[_nghost-%COMP%], .dark-theme [_nghost-%COMP%]{--prereqs-surface: rgba(255, 255, 255, .02)}.prereqs[_ngcontent-%COMP%]{border:1px solid rgba(96,165,250,.3);background:rgba(96,165,250,.05);border-radius:8px;padding:1.5rem 1.75rem;margin:1rem 0;display:flex;flex-direction:column;gap:1.25rem;font-size:16px}.prereqs__header[_ngcontent-%COMP%] h4[_ngcontent-%COMP%]{margin:0 0 .4rem;font-size:19px;font-weight:600}.prereqs__header[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{margin:0;color:var(--df-text-2);font-size:15px;line-height:1.55}.prereqs__section[_ngcontent-%COMP%]{padding:1rem 1.25rem;border-radius:6px;background:var(--prereqs-surface)}.prereqs__section--missing[_ngcontent-%COMP%]{background:rgba(220,53,69,.06);border:1px solid rgba(220,53,69,.25)}.prereqs__row[_ngcontent-%COMP%]{display:flex;align-items:center;gap:.75rem;flex-wrap:wrap}.prereqs__icon[_ngcontent-%COMP%]{font-size:19px}.prereqs__icon--ok[_ngcontent-%COMP%]{color:#4ade80}.prereqs__icon--miss[_ngcontent-%COMP%]{color:#ff6b6b}.prereqs__kind-icon[_ngcontent-%COMP%]{color:var(--df-text-muted);font-size:17px}.prereqs__title[_ngcontent-%COMP%]{font-weight:600;font-size:18px}.prereqs__count[_ngcontent-%COMP%]{font-size:14px;color:var(--df-text-2)}.prereqs__action[_ngcontent-%COMP%]{margin-left:auto;display:inline-flex!important;align-items:center;gap:.4rem;font-size:.8125rem!important;padding:0 .75rem!important;min-height:32px!important}.prereqs__list[_ngcontent-%COMP%]{list-style:none;margin:.625rem 0 0;padding:0;display:flex;flex-wrap:wrap;gap:.5rem .625rem}.prereqs__list[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{display:inline-flex;align-items:center;gap:.5rem}.prereqs__chip[_ngcontent-%COMP%]{display:inline-flex;align-items:center;gap:.5rem;padding:.55rem 1.05rem;background:var(--df-surface-2);border:1px solid var(--df-border);border-radius:999px;font:inherit;font-size:16px;color:inherit;cursor:pointer;transition:border-color .12s ease,background .12s ease}.prereqs__chip[_ngcontent-%COMP%]:hover{border-color:#60a5fa99;background:rgba(96,165,250,.08)}.prereqs__chip--selected[_ngcontent-%COMP%]{border-color:#60a5fa;background:rgba(96,165,250,.18);color:var(--df-text)}.prereqs__chip-check[_ngcontent-%COMP%]{color:#60a5fa}.prereqs__name[_ngcontent-%COMP%]{font-weight:500}.prereqs__pick-hint[_ngcontent-%COMP%]{margin:.625rem 0 0;font-size:14px;color:var(--df-text-2);font-style:italic}.prereqs__link[_ngcontent-%COMP%]{font-size:12px;color:var(--df-text-muted);text-decoration:none}.prereqs__link[_ngcontent-%COMP%]:hover{color:#60a5fa;text-decoration:underline}.prereqs__hint[_ngcontent-%COMP%]{margin:.5rem 0 0;font-size:13px;color:var(--df-text-2);line-height:1.5}.prereqs__hint[_ngcontent-%COMP%] code[_ngcontent-%COMP%]{font-family:SFMono-Regular,Menlo,Consolas,monospace;font-size:12px;padding:.1rem .375rem;border-radius:3px;background:var(--df-surface-2)}.prereqs__hint[_ngcontent-%COMP%] strong[_ngcontent-%COMP%]{color:var(--df-text)}"]})}}return n})();function Ii(n,a){1&n&&e.nrm(0,"mat-spinner",5)}function Ei(n,a){if(1&n&&e.nrm(0,"fa-icon",6),2&n){const t=e.XpG();e.Y8G("icon",t.faPlugCircleCheck)}}function $i(n,a){if(1&n&&(e.j41(0,"p"),e.EFF(1),e.k0s()),2&n){const t=e.XpG(2);e.R7$(1),e.SpI(" ",null==t.result.error?null:t.result.error.message," ")}}function Gi(n,a){if(1&n&&(e.j41(0,"span"),e.EFF(1),e.k0s()),2&n){const t=e.XpG(3);e.R7$(1),e.SpI(", including ",t.firstModelLabel,"")}}function ji(n,a){if(1&n&&(e.j41(0,"p",11),e.EFF(1),e.DNE(2,Gi,2,1,"span",9),e.k0s()),2&n){const t=e.XpG(2);e.R7$(1),e.SpI(" ",t.modelCount," models available "),e.R7$(1),e.Y8G("ngIf",t.firstModelLabel)}}function Ni(n,a){if(1&n&&(e.j41(0,"div",7),e.nrm(1,"fa-icon",6),e.j41(2,"div",8)(3,"strong"),e.EFF(4),e.k0s(),e.DNE(5,$i,2,1,"p",9),e.DNE(6,ji,3,2,"p",10),e.k0s()()),2&n){const t=e.XpG();e.AVh("test-conn__result--ok",t.result.success)("test-conn__result--err",!t.result.success),e.R7$(1),e.Y8G("icon",t.result.success?t.faCheckCircle:t.faCircleXmark),e.R7$(3),e.JRh(t.result.success?"Connection succeeded":"Connection failed"),e.R7$(1),e.Y8G("ngIf",!t.result.success&&(null==t.result.error?null:t.result.error.message)),e.R7$(1),e.Y8G("ngIf",t.result.success&&t.modelCount>0)}}let Ai=(()=>{class n{constructor(){this.serviceId=null,this.http=(0,e.WQX)(ee.Qq),this.loading=!1,this.result=null,this.faPlugCircleCheck=b.e6V,this.faCheckCircle=b.SGM,this.faCircleXmark=b.bnw}get modelCount(){return this.result?.resource?.length??0}get firstModelLabel(){const t=this.result?.resource?.[0];return t?"string"==typeof t?t:t.name||t.id||null:null}run(){const t=this.form.get("config")?.value??{},o=t.provider,i=t.api_key??t.apiKey??null,r="**********"===i?null:i,c=t.base_url??t.baseUrl??null,s=t.organization_id??t.organizationId??null,l=t.extra_headers??t.extraHeaders??null,p=t.timeout??null;if(!o)return void(this.result={success:!1,error:{message:"Pick a provider before testing."}});const M="openai_compatible"===o,v=null!=this.serviceId;if("ollama"!==o&&"openai_compatible"!==o&&!r&&!v)return void(this.result={success:!1,error:{message:o+" requires an API key. Fill in API Key, then test. (Existing connections fall back to the saved key automatically.)"}});if(M&&!c&&!v)return void(this.result={success:!1,error:{message:o+" requires a Base URL (e.g. http://host:8090/v1). Fill in Base URL, then test."}});this.loading=!0,this.result=null;const x={provider:o,api_key:r,base_url:c,organization_id:s,extra_headers:l,timeout:p};this.serviceId&&(x.service_id=this.serviceId),this.http.post("/_internal/ai/test-connection",x).subscribe({next:F=>{this.result=F,this.loading=!1},error:F=>{this.result={success:!1,error:{message:F?.error?.error?.message??F?.error?.message??F?.message??"Network error."}},this.loading=!1}})}static{this.\u0275fac=function(o){return new(o||n)}}static{this.\u0275cmp=e.VBU({type:n,selectors:[["df-ai-test-connection"]],inputs:{form:"form",serviceId:"serviceId"},standalone:!0,features:[e.aNF],decls:7,vars:5,consts:[[1,"test-conn"],["type","button","mat-stroked-button","",1,"test-conn__button",3,"disabled","click"],["diameter","16",4,"ngIf"],[3,"icon",4,"ngIf"],["class","test-conn__result",3,"test-conn__result--ok","test-conn__result--err",4,"ngIf"],["diameter","16"],[3,"icon"],[1,"test-conn__result"],[1,"test-conn__detail"],[4,"ngIf"],["class","test-conn__models",4,"ngIf"],[1,"test-conn__models"]],template:function(o,i){1&o&&(e.j41(0,"div",0)(1,"button",1),e.bIt("click",function(){return i.run()}),e.DNE(2,Ii,1,0,"mat-spinner",2),e.DNE(3,Ei,1,1,"fa-icon",3),e.j41(4,"span"),e.EFF(5),e.k0s()(),e.DNE(6,Ni,7,8,"div",4),e.k0s()),2&o&&(e.R7$(1),e.Y8G("disabled",i.loading),e.R7$(1),e.Y8G("ngIf",i.loading),e.R7$(1),e.Y8G("ngIf",!i.loading),e.R7$(2),e.JRh(i.loading?"Testing\u2026":"Test connection"),e.R7$(1),e.Y8G("ngIf",i.result))},dependencies:[d.MD,d.bT,u.Hl,u.$z,Pe.D6,Pe.LG,w.dX,w.aY],styles:[".test-conn[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:.75rem;margin:1rem 0;font-size:1.4rem}.test-conn__button[_ngcontent-%COMP%]{align-self:flex-start;display:inline-flex!important;align-items:center;gap:.5rem;font-size:1.3rem!important;min-height:38px!important}.test-conn__result[_ngcontent-%COMP%]{display:flex;gap:.75rem;padding:.875rem 1.125rem;border-radius:var(--df-radius-sm);align-items:flex-start;font-size:1.4rem}.test-conn__result--ok[_ngcontent-%COMP%]{background:var(--df-success-soft);border:1px solid var(--df-success-border);color:var(--df-success)}.test-conn__result--err[_ngcontent-%COMP%]{background:var(--df-danger-soft);border:1px solid var(--df-danger-border);color:var(--df-danger)}.test-conn__detail[_ngcontent-%COMP%]{flex:1;color:var(--df-text);display:flex;flex-direction:column;gap:.35rem}.test-conn__detail[_ngcontent-%COMP%] strong[_ngcontent-%COMP%]{font-weight:600;font-size:1.4rem}.test-conn__detail[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{margin:0;color:var(--df-text-2);font-size:1.3rem}.test-conn__models[_ngcontent-%COMP%]{font-size:1.3rem}"]})}}return n})();function Yi(n,a){1&n&&e.nrm(0,"mat-spinner",12)}function Vi(n,a){if(1&n&&e.nrm(0,"fa-icon",5),2&n){const t=e.XpG(2);e.Y8G("icon",t.faArrowsRotate)}}function Xi(n,a){if(1&n){const t=e.RV6();e.j41(0,"button",9),e.bIt("click",function(){e.eBV(t);const i=e.XpG();return e.Njj(i.fetch())}),e.DNE(1,Yi,1,0,"mat-spinner",10),e.DNE(2,Vi,1,1,"fa-icon",11),e.j41(3,"span"),e.EFF(4),e.k0s()()}if(2&n){const t=e.XpG();e.Y8G("disabled",t.loading),e.R7$(1),e.Y8G("ngIf",t.loading),e.R7$(1),e.Y8G("ngIf",!t.loading),e.R7$(2),e.JRh(t.models.length?"Refresh":"Fetch available models")}}function zi(n,a){if(1&n&&(e.j41(0,"div",13),e.nrm(1,"fa-icon",5),e.j41(2,"span"),e.EFF(3),e.k0s()()),2&n){const t=e.XpG();e.R7$(1),e.Y8G("icon",t.faCircleXmark),e.R7$(2),e.JRh(t.error)}}function Bi(n,a){if(1&n&&(e.j41(0,"span",24),e.EFF(1),e.nI1(2,"number"),e.k0s()),2&n){const t=e.XpG().$implicit;e.R7$(1),e.SpI("",e.bMT(2,1,t.context)," ctx")}}function Li(n,a){if(1&n&&(e.j41(0,"mat-option",20)(1,"span",21)(2,"span",22),e.EFF(3),e.k0s(),e.DNE(4,Bi,3,3,"span",23),e.k0s()()),2&n){const t=a.$implicit;e.Y8G("value",t.id),e.R7$(3),e.JRh(t.label),e.R7$(1),e.Y8G("ngIf",t.context)}}function Ui(n,a){if(1&n){const t=e.RV6();e.j41(0,"mat-form-field",17)(1,"mat-label"),e.EFF(2,"Model"),e.k0s(),e.j41(3,"mat-select",18),e.bIt("selectionChange",function(i){e.eBV(t);const r=e.XpG(2);return e.Njj(r.select(i.value))}),e.DNE(4,Li,5,3,"mat-option",19),e.k0s()()}if(2&n){const t=e.XpG(2);e.R7$(3),e.Y8G("value",t.currentValue),e.R7$(1),e.Y8G("ngForOf",t.models)("ngForTrackBy",t.trackModel)}}function qi(n,a){if(1&n&&(e.j41(0,"p",25),e.EFF(1),e.k0s()),2&n){const t=e.XpG(2);e.R7$(1),e.SpI(" ",t.fetchHint," ")}}function Ki(n,a){1&n&&(e.j41(0,"p",25),e.EFF(1,' No models reported by the provider. Switch to "Type custom" if you know the model id. '),e.k0s())}function Ji(n,a){if(1&n&&(e.j41(0,"p",26),e.nrm(1,"fa-icon",27),e.EFF(2," Selected: "),e.j41(3,"code"),e.EFF(4),e.k0s()()),2&n){const t=e.XpG(2);e.R7$(1),e.Y8G("icon",t.faCircleCheck),e.R7$(3),e.JRh(t.currentValue)}}function Hi(n,a){if(1&n&&(e.qex(0),e.DNE(1,Ui,5,3,"mat-form-field",14),e.DNE(2,qi,2,1,"p",15),e.DNE(3,Ki,2,0,"p",15),e.DNE(4,Ji,5,2,"p",16),e.bVm()),2&n){const t=e.XpG();e.R7$(1),e.Y8G("ngIf",t.models.length>0),e.R7$(1),e.Y8G("ngIf",!t.loading&&0===t.models.length&&!t.error&&!t.lastFetched),e.R7$(1),e.Y8G("ngIf",!t.loading&&0===t.models.length&&t.lastFetched),e.R7$(1),e.Y8G("ngIf",t.currentValue)}}function Wi(n,a){if(1&n){const t=e.RV6();e.j41(0,"mat-form-field",28)(1,"mat-label"),e.EFF(2,"Model id"),e.k0s(),e.j41(3,"input",29),e.bIt("input",function(i){e.eBV(t);const r=e.XpG();return e.Njj(r.onCustomInput(i))}),e.k0s()()}if(2&n){const t=e.XpG();e.R7$(3),e.Y8G("value",t.currentValue||"")}}let Qi=(()=>{class n{constructor(){this.serviceId=null,this.http=(0,e.WQX)(ee.Qq),this.loading=!1,this.models=[],this.error=null,this.customMode=!1,this.lastFetched=!1,this.faArrowsRotate=b.$3Z,this.faCircleCheck=b.QRE,this.faCircleXmark=b.bnw,this.faKeyboard=b.Lhe}ngOnInit(){this.currentValue&&(this.customMode=!0)}get currentValue(){return this.form.get("config.defaultModel")?.value??""}get fetchHint(){const t=this.form.get("config.provider")?.value;return t?"openai_compatible"===t||"ollama"===t?'Fill in Base URL (and API Key if your endpoint requires one), then click "Fetch available models".':'Fill in API Key above, then click "Fetch available models".':'Pick a provider above first, then click "Fetch available models".'}select(t){this.form.get("config.defaultModel")?.setValue(t)}onCustomInput(t){const o=t.target.value;this.form.get("config.defaultModel")?.setValue(o)}toggleCustom(){this.customMode=!this.customMode}fetch(){const t=this.form.get("config")?.value??{},o=t.provider;if(!o)return void(this.error="Pick a provider above first.");this.loading=!0,this.error=null;const i=t.api_key??t.apiKey??null,r={provider:o,api_key:"**********"===i?null:i,base_url:t.base_url??t.baseUrl??null,organization_id:t.organization_id??t.organizationId??null,extra_headers:t.extra_headers??t.extraHeaders??null,timeout:t.timeout??null};this.serviceId&&(r.service_id=this.serviceId),this.http.post("/_internal/ai/test-connection",r).subscribe({next:c=>{this.loading=!1,this.lastFetched=!0,c.success?this.models=(c.resource??[]).map(this.normalize):this.error=c.error?.message??"Provider rejected the request."},error:c=>{this.loading=!1,this.lastFetched=!0,this.error=c?.error?.error?.message??c?.error?.message??c?.message??"Network error fetching models."}})}normalize(t){return"string"==typeof t?{id:t,label:t}:{id:t.id??t.name??"unknown",label:t.name??t.id??"unknown",context:t.context_window??null}}trackModel(t,o){return o.id}static{this.\u0275fac=function(o){return new(o||n)}}static{this.\u0275cmp=e.VBU({type:n,selectors:[["df-ai-model-picker"]],inputs:{form:"form",serviceId:"serviceId"},standalone:!0,features:[e.aNF],decls:12,vars:6,consts:[[1,"model-picker"],[1,"model-picker__header"],[1,"model-picker__title"],["type","button","mat-stroked-button","","class","model-picker__refresh",3,"disabled","click",4,"ngIf"],["type","button","mat-button","",1,"model-picker__custom-toggle",3,"click"],[3,"icon"],["class","model-picker__error",4,"ngIf"],[4,"ngIf"],["appearance","outline","subscriptSizing","dynamic","class","model-picker__custom",4,"ngIf"],["type","button","mat-stroked-button","",1,"model-picker__refresh",3,"disabled","click"],["diameter","14",4,"ngIf"],[3,"icon",4,"ngIf"],["diameter","14"],[1,"model-picker__error"],["appearance","outline","subscriptSizing","dynamic","class","model-picker__select",4,"ngIf"],["class","model-picker__hint",4,"ngIf"],["class","model-picker__current",4,"ngIf"],["appearance","outline","subscriptSizing","dynamic",1,"model-picker__select"],[3,"value","selectionChange"],[3,"value",4,"ngFor","ngForOf","ngForTrackBy"],[3,"value"],[1,"model-picker__option"],[1,"model-picker__option-label"],["class","model-picker__option-meta",4,"ngIf"],[1,"model-picker__option-meta"],[1,"model-picker__hint"],[1,"model-picker__current"],[1,"model-picker__current-ok",3,"icon"],["appearance","outline","subscriptSizing","dynamic",1,"model-picker__custom"],["matInput","","placeholder","e.g. claude-sonnet-4-5-20250929",3,"value","input"]],template:function(o,i){1&o&&(e.j41(0,"div",0)(1,"div",1)(2,"span",2),e.EFF(3,"Default Model"),e.k0s(),e.DNE(4,Xi,5,4,"button",3),e.j41(5,"button",4),e.bIt("click",function(){return i.toggleCustom()}),e.nrm(6,"fa-icon",5),e.j41(7,"span"),e.EFF(8),e.k0s()()(),e.DNE(9,zi,4,2,"div",6),e.DNE(10,Hi,5,4,"ng-container",7),e.DNE(11,Wi,4,1,"mat-form-field",8),e.k0s()),2&o&&(e.R7$(4),e.Y8G("ngIf",!i.customMode),e.R7$(2),e.Y8G("icon",i.faKeyboard),e.R7$(2),e.JRh(i.customMode?"Use list":"Type custom"),e.R7$(1),e.Y8G("ngIf",i.error),e.R7$(1),e.Y8G("ngIf",!i.customMode),e.R7$(1),e.Y8G("ngIf",i.customMode))},dependencies:[d.MD,d.Sq,d.bT,d.QX,m.YN,m.X1,u.Hl,u.$z,O.RG,O.rl,O.nJ,E.fS,E.fg,Pe.D6,Pe.LG,G.Ve,G.VO,q.wT,w.dX,w.aY],styles:[".model-picker[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:.875rem;padding:1.25rem 1.5rem;margin:1rem 0;background:var(--df-surface-2);border:1px solid var(--df-border-2);border-radius:var(--df-radius);font-size:1.4rem;color:var(--df-text)}.model-picker__header[_ngcontent-%COMP%]{display:flex;align-items:center;gap:.875rem;flex-wrap:wrap}.model-picker__title[_ngcontent-%COMP%]{font-weight:600;font-size:1.5rem;letter-spacing:-.01em;margin-right:auto}.model-picker__refresh[_ngcontent-%COMP%], .model-picker__custom-toggle[_ngcontent-%COMP%]{display:inline-flex!important;align-items:center;gap:.4rem;font-size:1.3rem!important;padding:0 .875rem!important;min-height:38px!important}.model-picker__select[_ngcontent-%COMP%], .model-picker__custom[_ngcontent-%COMP%]{width:100%}.model-picker__option[_ngcontent-%COMP%]{display:flex;align-items:baseline;gap:.75rem;width:100%}.model-picker__option-label[_ngcontent-%COMP%]{flex:1}.model-picker__option-meta[_ngcontent-%COMP%]{font-size:1.2rem;color:var(--df-text-muted);font-family:SFMono-Regular,Menlo,Consolas,monospace}.model-picker__hint[_ngcontent-%COMP%]{margin:0;font-size:1.3rem;color:var(--df-text-2);font-style:italic;line-height:1.5}.model-picker__error[_ngcontent-%COMP%]{display:flex;align-items:flex-start;gap:.5rem;padding:.625rem .875rem;border-radius:var(--df-radius-sm);background:var(--df-danger-soft);border:1px solid var(--df-danger-border);color:var(--df-danger);font-size:1.3rem}.model-picker__current[_ngcontent-%COMP%]{margin:0;font-size:1.3rem;color:var(--df-text);display:flex;align-items:center;gap:.5rem}.model-picker__current[_ngcontent-%COMP%] code[_ngcontent-%COMP%]{font-family:SFMono-Regular,Menlo,Consolas,monospace;font-size:1.2rem;background:var(--df-surface-2);border:1px solid var(--df-border-2);padding:.2rem .5rem;border-radius:var(--df-radius-sm)}.model-picker__current-ok[_ngcontent-%COMP%]{color:var(--df-success)}"]})}}return n})();var Zi=g(15629);function ea(n,a){if(1&n&&(e.j41(0,"div",14),e.nrm(1,"fa-icon",7),e.j41(2,"span"),e.EFF(3),e.k0s()()),2&n){const t=e.XpG().$implicit,o=e.XpG();e.R7$(1),e.Y8G("icon",o.faTriangleExclamation),e.R7$(2),e.JRh(t("noneWarning"))}}function ta(n,a){if(1&n&&(e.j41(0,"div",15),e.EFF(1),e.k0s()),2&n){const t=e.XpG().$implicit;e.R7$(1),e.SpI(" ",t("loading")," ")}}function na(n,a){if(1&n&&e.nrm(0,"fa-icon",21),2&n){const t=e.XpG(4);e.Y8G("icon",t.faCircleCheck)}}function oa(n,a){if(1&n){const t=e.RV6();e.j41(0,"li")(1,"button",18),e.bIt("click",function(){const r=e.eBV(t).$implicit,c=e.XpG(3);return e.Njj(c.toggle(r.id))}),e.DNE(2,na,1,1,"fa-icon",19),e.j41(3,"span",20),e.EFF(4),e.k0s()()()}if(2&n){const t=a.$implicit,o=e.XpG(3);e.R7$(1),e.AVh("allowed-roles__chip--selected",o.isSelected(t.id)),e.R7$(1),e.Y8G("ngIf",o.isSelected(t.id)),e.R7$(2),e.JRh(t.name)}}function ia(n,a){if(1&n&&(e.j41(0,"ul",16),e.DNE(1,oa,5,4,"li",17),e.k0s()),2&n){const t=e.XpG(2);e.R7$(1),e.Y8G("ngForOf",t.roles)("ngForTrackBy",t.trackById)}}function aa(n,a){if(1&n&&(e.j41(0,"p",22),e.EFF(1),e.k0s()),2&n){const t=e.XpG().$implicit;e.R7$(1),e.SpI(" ",t("empty")," ")}}const ra=function(n){return{role:n}};function ca(n,a){if(1&n&&(e.j41(0,"div",26)(1,"div",27),e.EFF(2),e.k0s(),e.nrm(3,"df-scope-map",28),e.k0s()),2&n){const t=a.$implicit,o=e.XpG(2).$implicit;e.R7$(2),e.SpI(" ",o("reachRole",e.eq3(2,ra,t.name))," "),e.R7$(1),e.Y8G("roleId",t.id)}}function sa(n,a){if(1&n&&(e.j41(0,"section",23)(1,"div",24),e.nrm(2,"fa-icon",7),e.j41(3,"span"),e.EFF(4),e.k0s()(),e.j41(5,"p",8),e.EFF(6),e.k0s(),e.DNE(7,ca,4,4,"div",25),e.k0s()),2&n){const t=e.XpG().$implicit,o=e.XpG();e.R7$(2),e.Y8G("icon",o.faShieldHalved),e.R7$(2),e.JRh(t("reachTitle")),e.R7$(2),e.JRh(t("reachHint")),e.R7$(1),e.Y8G("ngForOf",o.selectedRoles)("ngForTrackBy",o.trackById)}}const la=function(n,a){return{selected:n,available:a}},da=function(){return["/api-connections/role-based-access/create"]};function pa(n,a){if(1&n&&(e.j41(0,"div",1)(1,"div",2),e.nrm(2,"fa-icon",3),e.j41(3,"span",4),e.EFF(4),e.k0s(),e.j41(5,"span",5),e.EFF(6),e.k0s(),e.j41(7,"a",6),e.nrm(8,"fa-icon",7),e.j41(9,"span"),e.EFF(10),e.k0s()()(),e.j41(11,"p",8),e.EFF(12),e.k0s(),e.DNE(13,ea,4,2,"div",9),e.DNE(14,ta,2,1,"div",10),e.DNE(15,ia,2,2,"ul",11),e.DNE(16,aa,2,1,"p",12),e.DNE(17,sa,8,5,"section",13),e.k0s()),2&n){const t=a.$implicit,o=e.XpG();e.R7$(2),e.Y8G("icon",o.faShieldHalved),e.R7$(2),e.JRh(t("title")),e.R7$(2),e.SpI(" ",t("count",e.l_i(12,la,o.selected.length,o.roles.length))," "),e.R7$(1),e.Y8G("routerLink",e.lJ4(15,da)),e.R7$(1),e.Y8G("icon",o.faPlus),e.R7$(2),e.JRh(t("createRole")),e.R7$(2),e.JRh(t("hint")),e.R7$(1),e.Y8G("ngIf",0===o.selected.length&&!o.loading),e.R7$(1),e.Y8G("ngIf",o.loading),e.R7$(1),e.Y8G("ngIf",!o.loading&&o.roles.length>0),e.R7$(1),e.Y8G("ngIf",!o.loading&&0===o.roles.length),e.R7$(1),e.Y8G("ngIf",!o.loading&&o.selectedRoles.length>0)}}let ma=(()=>{class n{constructor(){this.http=(0,e.WQX)(ee.Qq),this.loading=!0,this.roles=[],this.faShieldHalved=b.fLc,this.faCheck=b.e68,this.faCircleCheck=b.QRE,this.faPlus=b.QLR,this.faTriangleExclamation=b.JAe}ngOnInit(){this.http.get(`${A.C}/system/role`,{params:{fields:"id,name,description",sort:"name"}}).subscribe({next:t=>{this.roles=t.resource??[],this.loading=!1},error:()=>{this.loading=!1}})}get selected(){const t=this.form.get("config.allowedRoles")?.value;return this.parse(t)}isSelected(t){return this.selected.includes(t)}get selectedRoles(){const t=this.selected;return this.roles.filter(o=>t.includes(o.id))}toggle(t){const o=this.selected,i=o.includes(t)?o.filter(r=>r!==t):[...o,t];this.form.get("config.allowedRoles")?.setValue(i)}parse(t){if(Array.isArray(t))return t.map(Number).filter(o=>Number.isFinite(o));if("string"==typeof t&&t.trim().length>0)try{const o=JSON.parse(t);if(Array.isArray(o))return o.map(Number).filter(i=>Number.isFinite(i))}catch{return[]}return[]}trackById(t,o){return o.id}static{this.\u0275fac=function(o){return new(o||n)}}static{this.\u0275cmp=e.VBU({type:n,selectors:[["df-ai-allowed-roles"]],inputs:{form:"form"},standalone:!0,features:[e.aNF],decls:1,vars:1,consts:[["class","allowed-roles",4,"transloco","translocoRead"],[1,"allowed-roles"],[1,"allowed-roles__header"],[1,"allowed-roles__icon",3,"icon"],[1,"allowed-roles__title"],[1,"allowed-roles__count"],["mat-stroked-button","",1,"allowed-roles__action",3,"routerLink"],[3,"icon"],[1,"allowed-roles__hint"],["class","allowed-roles__warn",4,"ngIf"],["class","allowed-roles__loading",4,"ngIf"],["class","allowed-roles__list",4,"ngIf"],["class","allowed-roles__empty",4,"ngIf"],["class","allowed-roles__reach",4,"ngIf"],[1,"allowed-roles__warn"],[1,"allowed-roles__loading"],[1,"allowed-roles__list"],[4,"ngFor","ngForOf","ngForTrackBy"],["type","button",1,"allowed-roles__chip",3,"click"],["class","allowed-roles__chip-check",3,"icon",4,"ngIf"],[1,"allowed-roles__name"],[1,"allowed-roles__chip-check",3,"icon"],[1,"allowed-roles__empty"],[1,"allowed-roles__reach"],[1,"allowed-roles__reach-head"],["class","allowed-roles__reach-role",4,"ngFor","ngForOf","ngForTrackBy"],[1,"allowed-roles__reach-role"],[1,"allowed-roles__reach-role-name"],[3,"roleId"]],template:function(o,i){1&o&&e.DNE(0,pa,18,16,"div",0),2&o&&e.Y8G("translocoRead","aiAllowedRoles")},dependencies:[d.MD,d.Sq,d.bT,N.Wk,u.Hl,u.It,w.dX,w.aY,D.Q8,D.bA,Zi.A],styles:[".allowed-roles[_ngcontent-%COMP%]{--roles-warning: #9a5b00;display:flex;flex-direction:column;gap:1rem;padding:1.5rem 1.75rem;margin:1rem 0;background:var(--df-surface-2);border:1px solid var(--df-border-2);border-radius:var(--df-radius);font-size:1.4rem;color:var(--df-text)}.allowed-roles__header[_ngcontent-%COMP%]{display:flex;align-items:center;gap:.75rem;flex-wrap:wrap}.allowed-roles__icon[_ngcontent-%COMP%]{color:var(--df-accent);font-size:1.8rem}.allowed-roles__title[_ngcontent-%COMP%]{font-weight:600;font-size:1.5rem;letter-spacing:-.01em}.allowed-roles__count[_ngcontent-%COMP%]{font-size:1.3rem;color:var(--df-text-muted)}.allowed-roles__action[_ngcontent-%COMP%]{margin-left:auto;display:inline-flex!important;align-items:center;gap:.4rem;font-size:1.3rem!important;padding:0 .875rem!important;min-height:38px!important}.allowed-roles__hint[_ngcontent-%COMP%]{margin:0;font-size:1.3rem;color:var(--df-text-2);line-height:1.55}.allowed-roles__warn[_ngcontent-%COMP%]{display:flex;align-items:flex-start;gap:.625rem;padding:.875rem 1.125rem;background:color-mix(in srgb,var(--df-warning, var(--roles-warning)) 10%,transparent);border:1px solid color-mix(in srgb,var(--df-warning, var(--roles-warning)) 40%,transparent);border-radius:var(--df-radius-sm);color:var(--df-warning, var(--roles-warning));font-size:1.3rem}.allowed-roles__loading[_ngcontent-%COMP%], .allowed-roles__empty[_ngcontent-%COMP%]{color:var(--df-text-muted);font-style:italic;font-size:1.3rem}.allowed-roles__list[_ngcontent-%COMP%]{list-style:none;margin:.25rem 0 0;padding:0;display:flex;flex-wrap:wrap;gap:.625rem .75rem}.allowed-roles__list[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{display:inline-flex;align-items:center;gap:.625rem}.allowed-roles__chip[_ngcontent-%COMP%]{display:inline-flex;align-items:center;gap:.5rem;padding:.5rem 1rem;background:var(--df-surface);border:1px solid var(--df-border);border-radius:var(--df-radius-sm);font:inherit;font-size:1.4rem;color:inherit;cursor:pointer;transition:border-color .12s ease,background .12s ease}.allowed-roles__chip[_ngcontent-%COMP%]:hover{border-color:var(--df-accent);background:var(--df-hover)}.allowed-roles__chip--selected[_ngcontent-%COMP%]{border-color:var(--df-accent);background:var(--df-accent-soft);color:var(--df-text)}.allowed-roles__chip-check[_ngcontent-%COMP%]{color:var(--df-accent)}.allowed-roles__name[_ngcontent-%COMP%]{font-weight:500}.allowed-roles__reach[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:1rem;margin-top:.5rem;padding-top:1.25rem;border-top:1px solid var(--df-border-2)}.allowed-roles__reach-head[_ngcontent-%COMP%]{display:flex;align-items:center;gap:.625rem;font-weight:600;font-size:1.4rem;letter-spacing:-.01em}.allowed-roles__reach-head[_ngcontent-%COMP%] fa-icon[_ngcontent-%COMP%]{color:var(--df-accent);font-size:1.6rem}.allowed-roles__reach-role[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:.625rem}.allowed-roles__reach-role-name[_ngcontent-%COMP%]{font-weight:600;font-size:1.3rem;color:var(--df-text-2)}.dark-theme[_nghost-%COMP%] .allowed-roles[_ngcontent-%COMP%], .dark-theme [_nghost-%COMP%] .allowed-roles[_ngcontent-%COMP%]{--roles-warning: #ffb74d}"]})}}return n})();function _a(n,a){1&n&&(e.j41(0,"div",11),e.EFF(1," Loading MCP servers\u2026 "),e.k0s())}function ga(n,a){if(1&n&&e.nrm(0,"fa-icon",17),2&n){const t=e.XpG(3);e.Y8G("icon",t.faCircleCheck)}}function fa(n,a){if(1&n){const t=e.RV6();e.j41(0,"li")(1,"button",14),e.bIt("click",function(){const r=e.eBV(t).$implicit,c=e.XpG(2);return e.Njj(c.toggle(r.name))}),e.DNE(2,ga,1,1,"fa-icon",15),e.j41(3,"span",16),e.EFF(4),e.k0s()()()}if(2&n){const t=a.$implicit,o=e.XpG(2);e.R7$(1),e.AVh("mcp-servers__chip--selected",o.isSelected(t.name)),e.R7$(1),e.Y8G("ngIf",o.isSelected(t.name)),e.R7$(2),e.JRh(t.label||t.name)}}function ua(n,a){if(1&n&&(e.j41(0,"ul",12),e.DNE(1,fa,5,4,"li",13),e.k0s()),2&n){const t=e.XpG();e.R7$(1),e.Y8G("ngForOf",t.servers)("ngForTrackBy",t.trackByName)}}function ha(n,a){1&n&&(e.j41(0,"p",18),e.EFF(1," No MCP services exist yet. Create one (service type \u201cMCP Server\u201d) and come back. "),e.k0s())}const ba=function(){return["/api-connections/api-types/database"]};let va=(()=>{class n{constructor(){this.http=(0,e.WQX)(ee.Qq),this.loading=!0,this.servers=[],this.faPlug=b.QtJ,this.faCircleCheck=b.QRE,this.faPlus=b.QLR}ngOnInit(){this.http.get(`${A.C}/system/service`,{params:{filter:'type = "mcp"',fields:"id,name,label",sort:"name"}}).subscribe({next:t=>{this.servers=t.resource??[],this.loading=!1},error:()=>{this.loading=!1}})}get selected(){return this.parse(this.form.get("config.mcpServers")?.value)}isSelected(t){return this.selected.includes(t)}toggle(t){const o=this.selected,i=o.includes(t)?o.filter(r=>r!==t):[...o,t];this.form.get("config.mcpServers")?.setValue(i)}parse(t){if(Array.isArray(t))return t.map(String).filter(o=>o.length>0);if("string"==typeof t&&t.trim().length>0)try{const o=JSON.parse(t);if(Array.isArray(o))return o.map(String).filter(i=>i.length>0)}catch{return[]}return[]}trackByName(t,o){return o.name}static{this.\u0275fac=function(o){return new(o||n)}}static{this.\u0275cmp=e.VBU({type:n,selectors:[["df-ai-mcp-servers"]],inputs:{form:"form"},standalone:!0,features:[e.aNF],decls:16,vars:9,consts:[[1,"mcp-servers"],[1,"mcp-servers__header"],[1,"mcp-servers__icon",3,"icon"],[1,"mcp-servers__title"],[1,"mcp-servers__count"],["mat-stroked-button","",1,"mcp-servers__action",3,"routerLink"],[3,"icon"],[1,"mcp-servers__hint"],["class","mcp-servers__loading",4,"ngIf"],["class","mcp-servers__list",4,"ngIf"],["class","mcp-servers__empty",4,"ngIf"],[1,"mcp-servers__loading"],[1,"mcp-servers__list"],[4,"ngFor","ngForOf","ngForTrackBy"],["type","button",1,"mcp-servers__chip",3,"click"],["class","mcp-servers__chip-check",3,"icon",4,"ngIf"],[1,"mcp-servers__name"],[1,"mcp-servers__chip-check",3,"icon"],[1,"mcp-servers__empty"]],template:function(o,i){1&o&&(e.j41(0,"div",0)(1,"div",1),e.nrm(2,"fa-icon",2),e.j41(3,"span",3),e.EFF(4,"MCP Servers"),e.k0s(),e.j41(5,"span",4),e.EFF(6),e.k0s(),e.j41(7,"a",5),e.nrm(8,"fa-icon",6),e.j41(9,"span"),e.EFF(10,"Create MCP service"),e.k0s()()(),e.j41(11,"p",7),e.EFF(12," Pick the MCP servers this chat may call as tools. The AI sees the intersection of these and what the caller's role can access, so a conversation can never reach a server the person talking to it can't. Leave all unselected to allow every MCP server the role grants. "),e.k0s(),e.DNE(13,_a,2,0,"div",8),e.DNE(14,ua,2,2,"ul",9),e.DNE(15,ha,2,0,"p",10),e.k0s()),2&o&&(e.R7$(2),e.Y8G("icon",i.faPlug),e.R7$(4),e.Lme(" ",i.selected.length," selected \xb7 ",i.servers.length," available "),e.R7$(1),e.Y8G("routerLink",e.lJ4(8,ba)),e.R7$(1),e.Y8G("icon",i.faPlus),e.R7$(5),e.Y8G("ngIf",i.loading),e.R7$(1),e.Y8G("ngIf",!i.loading&&i.servers.length>0),e.R7$(1),e.Y8G("ngIf",!i.loading&&0===i.servers.length))},dependencies:[d.MD,d.Sq,d.bT,N.Wk,u.Hl,u.It,w.dX,w.aY],styles:[".mcp-servers[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:1rem;padding:1.5rem 1.75rem;margin:1rem 0;background:var(--df-surface-2);border:1px solid var(--df-border-2);border-radius:var(--df-radius);font-size:1.4rem;color:var(--df-text)}.mcp-servers__header[_ngcontent-%COMP%]{display:flex;align-items:center;gap:.75rem;flex-wrap:wrap}.mcp-servers__icon[_ngcontent-%COMP%]{color:var(--df-accent);font-size:1.8rem}.mcp-servers__title[_ngcontent-%COMP%]{font-weight:600;font-size:1.5rem;letter-spacing:-.01em}.mcp-servers__count[_ngcontent-%COMP%]{font-size:1.3rem;color:var(--df-text-muted)}.mcp-servers__action[_ngcontent-%COMP%]{margin-left:auto;display:inline-flex!important;align-items:center;gap:.4rem;font-size:1.3rem!important;padding:0 .875rem!important;min-height:38px!important}.mcp-servers__hint[_ngcontent-%COMP%]{margin:0;font-size:1.3rem;color:var(--df-text-2);line-height:1.55}.mcp-servers__loading[_ngcontent-%COMP%], .mcp-servers__empty[_ngcontent-%COMP%]{color:var(--df-text-muted);font-style:italic;font-size:1.3rem}.mcp-servers__list[_ngcontent-%COMP%]{list-style:none;margin:.25rem 0 0;padding:0;display:flex;flex-wrap:wrap;gap:.625rem .75rem}.mcp-servers__list[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{display:inline-flex;align-items:center;gap:.625rem}.mcp-servers__chip[_ngcontent-%COMP%]{display:inline-flex;align-items:center;gap:.5rem;padding:.5rem 1rem;background:var(--df-surface);border:1px solid var(--df-border);border-radius:var(--df-radius-sm);font:inherit;font-size:1.4rem;color:inherit;cursor:pointer;transition:border-color .12s ease,background .12s ease}.mcp-servers__chip[_ngcontent-%COMP%]:hover{border-color:var(--df-accent);background:var(--df-hover)}.mcp-servers__chip--selected[_ngcontent-%COMP%]{border-color:var(--df-accent);background:var(--df-accent-soft);color:var(--df-text)}.mcp-servers__chip-check[_ngcontent-%COMP%]{color:var(--df-accent)}.mcp-servers__name[_ngcontent-%COMP%]{font-weight:500}"]})}}return n})();const ie=[{name:"list_services",title:"List Services",description:"List the services configured on this DreamFactory instance."},{name:"get_service",title:"Get Service",description:"Retrieve one service, including its configuration."},{name:"create_service",title:"Create Service",description:"Create a new service (database, file, MCP, etc.)."},{name:"update_service",title:"Update Service",description:"Update an existing service, its label, or its configuration."},{name:"delete_service",title:"Delete Service",description:"Permanently delete a service by ID or name."},{name:"list_service_types",title:"List Service Types",description:"List the service types available on this instance."},{name:"get_service_type_schema",title:"Get Service Type Schema",description:"Return the configuration schema required to create a given service type."},{name:"get_environment",title:"Get Environment",description:"Read platform, license, and server environment information."},{name:"list_roles",title:"List Roles",description:"List the roles that control API access for apps and users."},{name:"create_role",title:"Create Role",description:"Create a role with service and component access rules."},{name:"get_role",title:"Get Role",description:"Retrieve one role with its access rules and lookups."},{name:"update_role",title:"Update Role",description:"Update a role, including its service access rules."},{name:"list_apps",title:"List Apps",description:"List apps (API keys) and the roles they are bound to."},{name:"create_app",title:"Create App",description:"Create an app, generating a new API key bound to a role."},{name:"get_app",title:"Get App",description:"Retrieve one app, including its API key and role."},{name:"list_admins",title:"List Admins",description:"List the administrator accounts on this instance."},{name:"get_access_audit",title:"Get Access Audit",description:"Report last-used / never-used / stale API keys, roles and users from system/access_usage."},{name:"call_system_api",title:"Call System API",description:"Call any /api/v2/system/* or /api/v2/user/* endpoint directly for operations not covered by a dedicated tool."}];function Wt(n){return"system_mcp"===(n??"").toString().trim().toLowerCase()}function Ca(n,a){1&n&&(e.j41(0,"div",9),e.EFF(1," Loading data services\u2026 "),e.k0s())}function ka(n,a){if(1&n&&e.nrm(0,"fa-icon",15),2&n){const t=e.XpG(3);e.Y8G("icon",t.faCircleCheck)}}function ya(n,a){if(1&n){const t=e.RV6();e.j41(0,"li")(1,"button",12),e.bIt("click",function(){const r=e.eBV(t).$implicit,c=e.XpG(2);return e.Njj(c.toggle(r.name))}),e.DNE(2,ka,1,1,"fa-icon",13),e.j41(3,"span",14),e.EFF(4),e.k0s()()()}if(2&n){const t=a.$implicit,o=e.XpG(2);e.R7$(1),e.AVh("data-services__chip--selected",o.isSelected(t.name)),e.R7$(1),e.Y8G("ngIf",o.isSelected(t.name)),e.R7$(2),e.JRh(t.label||t.name)}}function Ma(n,a){if(1&n&&(e.j41(0,"ul",10),e.DNE(1,ya,5,4,"li",11),e.k0s()),2&n){const t=e.XpG();e.R7$(1),e.Y8G("ngForOf",t.services)("ngForTrackBy",t.trackByName)}}function Oa(n,a){1&n&&(e.j41(0,"p",16),e.EFF(1," No database services exist yet. Create one under API Generation & Connections and come back. "),e.k0s())}const Pa=new Set(["Database","Big Data","File","Excel"]);let Fa=(()=>{class n{constructor(){this.http=(0,e.WQX)(ee.Qq),this.loading=!0,this.services=[],this.faDatabase=b.hem,this.faCircleCheck=b.QRE}ngOnInit(){(0,ue.p)({types:this.http.get(`${A.C}/system/service_type`,{params:{fields:"name,group"}}),services:this.http.get(`${A.C}/system/service`,{params:{fields:"id,name,label,type",sort:"name"}})}).subscribe({next:({types:t,services:o})=>{const i=new Set((t.resource??[]).filter(r=>Pa.has(r.group??"")).map(r=>r.name));this.services=(o.resource??[]).filter(r=>i.has(r.type)),this.loading=!1},error:()=>{this.loading=!1}})}get selected(){return this.parse(this.form.get("config.defaultDataServices")?.value)}isSelected(t){return this.selected.includes(t)}toggle(t){const o=this.selected,i=o.includes(t)?o.filter(r=>r!==t):[...o,t];this.form.get("config.defaultDataServices")?.setValue(i)}parse(t){if(Array.isArray(t))return t.map(String).filter(o=>o.length>0);if("string"==typeof t&&t.trim().length>0)try{const o=JSON.parse(t);if(Array.isArray(o))return o.map(String).filter(i=>i.length>0)}catch{return[]}return[]}trackByName(t,o){return o.name}static{this.\u0275fac=function(o){return new(o||n)}}static{this.\u0275cmp=e.VBU({type:n,selectors:[["df-ai-data-services"]],inputs:{form:"form"},standalone:!0,features:[e.aNF],decls:12,vars:6,consts:[[1,"data-services"],[1,"data-services__header"],[1,"data-services__icon",3,"icon"],[1,"data-services__title"],[1,"data-services__count"],[1,"data-services__hint"],["class","data-services__loading",4,"ngIf"],["class","data-services__list",4,"ngIf"],["class","data-services__empty",4,"ngIf"],[1,"data-services__loading"],[1,"data-services__list"],[4,"ngFor","ngForOf","ngForTrackBy"],["type","button",1,"data-services__chip",3,"click"],["class","data-services__chip-check",3,"icon",4,"ngIf"],[1,"data-services__name"],[1,"data-services__chip-check",3,"icon"],[1,"data-services__empty"]],template:function(o,i){1&o&&(e.j41(0,"div",0)(1,"div",1),e.nrm(2,"fa-icon",2),e.j41(3,"span",3),e.EFF(4,"Data Services"),e.k0s(),e.j41(5,"span",4),e.EFF(6),e.k0s()(),e.j41(7,"p",5),e.EFF(8," Pick the databases the AI may query. The AI sees the intersection of these and what the caller's role can read. Leave all unselected to allow every data service the role grants. "),e.k0s(),e.DNE(9,Ca,2,0,"div",6),e.DNE(10,Ma,2,2,"ul",7),e.DNE(11,Oa,2,0,"p",8),e.k0s()),2&o&&(e.R7$(2),e.Y8G("icon",i.faDatabase),e.R7$(4),e.Lme(" ",i.selected.length," selected \xb7 ",i.services.length," available "),e.R7$(3),e.Y8G("ngIf",i.loading),e.R7$(1),e.Y8G("ngIf",!i.loading&&i.services.length>0),e.R7$(1),e.Y8G("ngIf",!i.loading&&0===i.services.length))},dependencies:[d.MD,d.Sq,d.bT,w.dX,w.aY],styles:[".data-services[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:1rem;padding:1.5rem 1.75rem;margin:1rem 0;background:var(--df-surface-2);border:1px solid var(--df-border-2);border-radius:var(--df-radius);font-size:1.4rem;color:var(--df-text)}.data-services__header[_ngcontent-%COMP%]{display:flex;align-items:center;gap:.75rem;flex-wrap:wrap}.data-services__icon[_ngcontent-%COMP%]{color:var(--df-accent);font-size:1.8rem}.data-services__title[_ngcontent-%COMP%]{font-weight:600;font-size:1.5rem;letter-spacing:-.01em}.data-services__count[_ngcontent-%COMP%]{font-size:1.3rem;color:var(--df-text-muted)}.data-services__hint[_ngcontent-%COMP%]{margin:0;font-size:1.3rem;color:var(--df-text-2);line-height:1.55}.data-services__loading[_ngcontent-%COMP%], .data-services__empty[_ngcontent-%COMP%]{color:var(--df-text-muted);font-style:italic;font-size:1.3rem}.data-services__list[_ngcontent-%COMP%]{list-style:none;margin:.25rem 0 0;padding:0;display:flex;flex-wrap:wrap;gap:.625rem .75rem}.data-services__list[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{display:inline-flex;align-items:center;gap:.625rem}.data-services__chip[_ngcontent-%COMP%]{display:inline-flex;align-items:center;gap:.5rem;padding:.5rem 1rem;background:var(--df-surface);border:1px solid var(--df-border);border-radius:var(--df-radius-sm);font:inherit;font-size:1.4rem;color:inherit;cursor:pointer;transition:border-color .12s ease,background .12s ease}.data-services__chip[_ngcontent-%COMP%]:hover{border-color:var(--df-accent);background:var(--df-hover)}.data-services__chip--selected[_ngcontent-%COMP%]{border-color:var(--df-accent);background:var(--df-accent-soft);color:var(--df-text)}.data-services__chip-check[_ngcontent-%COMP%]{color:var(--df-accent)}.data-services__name[_ngcontent-%COMP%]{font-weight:500}"]})}}return n})();var Qt=g(23695),Se=g(58781),xe=g(89115),wa=g(82954),Zt=g(82182),he=g(73907);function Ta(n,a){1&n&&e.nrm(0,"div",18),2&n&&e.xc7("--confetti-index",a.$implicit)}function Sa(n,a){1&n&&e.nrm(0,"div",19),2&n&&e.xc7("--firework-index",a.$implicit)}const Ra=function(){return[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15]},Ia=function(){return[1,2,3,4,5]};function Ea(n,a){1&n&&(e.j41(0,"div",15),e.DNE(1,Ta,1,2,"div",16),e.DNE(2,Sa,1,2,"div",17),e.k0s()),2&n&&(e.R7$(1),e.Y8G("ngForOf",e.lJ4(2,Ra)),e.R7$(1),e.Y8G("ngForOf",e.lJ4(3,Ia)))}function $a(n,a){1&n&&e.nrm(0,"div",29)}function Ga(n,a){if(1&n&&(e.j41(0,"div",20),e.DNE(1,$a,1,0,"div",21),e.j41(2,"div",22),e.nrm(3,"fa-icon",23),e.k0s(),e.j41(4,"div",24)(5,"h4",25),e.EFF(6),e.nI1(7,"transloco"),e.k0s(),e.j41(8,"p",26),e.EFF(9),e.nI1(10,"transloco"),e.k0s(),e.j41(11,"span",27),e.nrm(12,"fa-icon",28),e.EFF(13),e.k0s()()()),2&n){const t=a.$implicit,o=a.index,i=e.XpG();e.AVh("revealed",i.currentStep>=o)("pulse-animation",i.currentStep===o),e.R7$(1),e.Y8G("ngIf",o0),e.R7$(2),e.SpI(" ",e.bMT(8,8,"services.celebration.exploreLater")," "),e.R7$(3),e.SpI(" ",e.bMT(11,10,"services.celebration.autoRedirectTest")," ")}}const Ya=function(n){return{name:n}};let Va=(()=>{class n{constructor(t,o,i){this.dialogRef=t,this.data=o,this.router=i,this.destroy$=new xe.B,this.faCheckCircle=b.SGM,this.faRocket=b.KMJ,this.faShieldAlt=b.imB,this.faKey=b.bMg,this.faBolt=b.zm_,this.faDatabase=b.hem,this.faCopy=b.jPR,this.faCheck=b.e68,this.faFlask=b.rIc,this.faInfoCircle=b.iW_,this.showConfetti=!0,this.currentStep=-1,this.allStepsRevealed=!1,this.countdown=15,this.apiKeyCopied=!1,this.baseUrl=window.location.origin,this.steps=[{icon:b.hem,title:"services.celebration.steps.database.title",description:"services.celebration.steps.database.description",timing:"< 100ms"},{icon:b.zm_,title:"services.celebration.steps.endpoints.title",description:"services.celebration.steps.endpoints.description",timing:"< 50ms"},{icon:b.imB,title:"services.celebration.steps.security.title",description:"services.celebration.steps.security.description",timing:"< 200ms"},{icon:b.bMg,title:"services.celebration.steps.apiKey.title",description:"services.celebration.steps.apiKey.description",timing:"Instant"}],t.disableClose=!0}ngOnInit(){this.revealSteps(),setTimeout(()=>{this.startCountdown()},3e3)}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}revealSteps(){this.steps.forEach((o,i)=>{setTimeout(()=>{this.currentStep=i,i===this.steps.length-1&&(this.allStepsRevealed=!0)},500*(i+1))})}startCountdown(){(function Da(n=0,a=wa.E){return n<0&&(n=0),(0,Zt.O)(n,n,a)})(1e3).pipe((0,he.Q)(this.destroy$)).subscribe(()=>{this.countdown--,0===this.countdown&&this.goToApiDocs()})}goToApiDocs(){this.dialogRef.close(),this.router.navigate(["/api-connections/api-docs",this.data.serviceName])}copyApiKey(){this.data.apiKey&&(navigator.clipboard.writeText(this.data.apiKey),this.apiKeyCopied=!0,setTimeout(()=>{this.apiKeyCopied=!1},2e3))}skipToHome(){this.dialogRef.close(),this.router.navigate(["/home"])}static{this.\u0275fac=function(o){return new(o||n)(e.rXU(h.CP),e.rXU(h.Vh),e.rXU(N.Ix))}}static{this.\u0275cmp=e.VBU({type:n,selectors:[["df-celebration-dialog"]],standalone:!0,features:[e.aNF],decls:21,vars:18,consts:[[1,"celebration-dialog"],["class","celebration-effects",4,"ngIf"],[1,"dialog-content"],[1,"success-header"],[1,"success-icon-wrapper"],[1,"rocket-icon",3,"icon"],[1,"success-circle"],[1,"celebration-title"],[1,"celebration-subtitle"],[1,"steps-container"],[1,"steps-title"],[1,"steps-timeline"],["class","step-item",3,"revealed","pulse-animation",4,"ngFor","ngForOf"],["class","api-connection-section",4,"ngIf"],["class","dialog-actions",4,"ngIf"],[1,"celebration-effects"],["class","confetti",3,"--confetti-index",4,"ngFor","ngForOf"],["class","firework",3,"--firework-index",4,"ngFor","ngForOf"],[1,"confetti"],[1,"firework"],[1,"step-item"],["class","step-connector",4,"ngIf"],[1,"step-icon"],[3,"icon"],[1,"step-content"],[1,"step-title"],[1,"step-description"],[1,"step-timing"],[1,"timing-icon",3,"icon"],[1,"step-connector"],[1,"api-connection-section"],[1,"endpoint-preview"],[1,"endpoint-label"],[1,"endpoint-icon",3,"icon"],[1,"endpoint-display"],[1,"endpoint-hint"],[1,"api-key-subsection"],[1,"api-key-label"],[1,"key-icon",3,"icon"],[1,"api-key-display"],["mat-icon-button","",3,"matTooltip","click"],[1,"usage-hint"],[1,"info-icon",3,"icon"],[1,"dialog-actions"],["mat-raised-button","","color","primary",1,"test-api-button",3,"click"],[1,"button-icon",3,"icon"],["class","countdown",4,"ngIf"],["mat-stroked-button","",1,"explore-later-button",3,"click"],[1,"auto-redirect-note"],[1,"countdown"]],template:function(o,i){1&o&&(e.j41(0,"div",0),e.DNE(1,Ea,3,4,"div",1),e.j41(2,"div",2)(3,"div",3)(4,"div",4),e.nrm(5,"fa-icon",5)(6,"div",6),e.k0s(),e.j41(7,"h1",7),e.EFF(8),e.nI1(9,"transloco"),e.k0s(),e.j41(10,"p",8),e.EFF(11),e.nI1(12,"transloco"),e.k0s()(),e.j41(13,"div",9)(14,"h3",10),e.EFF(15),e.nI1(16,"transloco"),e.k0s(),e.j41(17,"div",11),e.DNE(18,Ga,14,14,"div",12),e.k0s()(),e.DNE(19,ja,29,25,"div",13),e.DNE(20,Aa,12,12,"div",14),e.k0s()()),2&o&&(e.R7$(1),e.Y8G("ngIf",i.showConfetti),e.R7$(2),e.Y8G("@fadeIn",void 0),e.R7$(2),e.Y8G("icon",i.faRocket),e.R7$(3),e.SpI(" ",e.bMT(9,9,"services.celebration.title")," "),e.R7$(3),e.SpI(" ",e.i5U(12,11,"services.celebration.subtitle",e.eq3(16,Ya,i.data.serviceName))," "),e.R7$(4),e.SpI(" ",e.bMT(16,14,"services.celebration.whatHappened")," "),e.R7$(3),e.Y8G("ngForOf",i.steps),e.R7$(1),e.Y8G("ngIf",i.data.apiKey&&i.allStepsRevealed),e.R7$(1),e.Y8G("ngIf",i.allStepsRevealed))},dependencies:[d.MD,d.Sq,d.bT,h.hM,u.Hl,u.$z,u.iY,Z.m_,S.uc,S.oV,D.Q8,D.Kj,w.dX,w.aY],styles:['.celebration-dialog[_ngcontent-%COMP%]{position:relative;padding:0;overflow:hidden;height:100%;display:flex;flex-direction:column;background:var(--df-surface);animation:_ngcontent-%COMP%_subtle-entrance .4s ease-out}@keyframes _ngcontent-%COMP%_subtle-entrance{0%{opacity:0;transform:scale(.95)}to{opacity:1;transform:scale(1)}}.celebration-effects[_ngcontent-%COMP%]{position:absolute;top:0;left:0;width:100%;height:100%;pointer-events:none;overflow:hidden;z-index:1}.confetti[_ngcontent-%COMP%]{position:absolute;width:10px;height:10px;top:-10px;animation:_ngcontent-%COMP%_confetti-fall calc(3s + var(--confetti-index) * .1s) linear infinite;animation-delay:calc(var(--confetti-index) * -.2s)}.confetti[_ngcontent-%COMP%]:before{content:"";position:absolute;width:100%;height:100%;background:linear-gradient(45deg,#7f11e0,#ff4081,#4caf50,#ffc107,#2196f3);background-size:500%;animation:_ngcontent-%COMP%_confetti-rotate 1s linear infinite;border-radius:2px;transform:rotate(calc(var(--confetti-index) * 30deg))}.confetti[_ngcontent-%COMP%]:nth-child(odd){left:calc(var(--confetti-index) * 6.5%)}.confetti[_ngcontent-%COMP%]:nth-child(2n){right:calc(var(--confetti-index) * 6.5%)}@keyframes _ngcontent-%COMP%_confetti-fall{0%{transform:translateY(-10px) rotate(0);opacity:1}to{transform:translateY(550px) rotate(720deg);opacity:0}}@keyframes _ngcontent-%COMP%_confetti-rotate{0%{background-position:0% 50%}to{background-position:100% 50%}}.firework[_ngcontent-%COMP%]{position:absolute;width:4px;height:4px;border-radius:50%;animation:_ngcontent-%COMP%_firework-launch calc(2s + var(--firework-index) * .3s) ease-out infinite;animation-delay:calc(var(--firework-index) * .5s)}.firework[_ngcontent-%COMP%]:nth-child(1){left:20%;background:#7f11e0}.firework[_ngcontent-%COMP%]:nth-child(2){left:40%;background:#ff4081}.firework[_ngcontent-%COMP%]:nth-child(3){left:50%;background:#4caf50}.firework[_ngcontent-%COMP%]:nth-child(4){left:60%;background:#ffc107}.firework[_ngcontent-%COMP%]:nth-child(5){left:80%;background:#2196f3}.firework[_ngcontent-%COMP%]:after{content:"";position:absolute;width:100px;height:100px;border-radius:50%;top:-48px;left:-48px;background:radial-gradient(circle,currentColor 0%,transparent 70%);opacity:0;animation:_ngcontent-%COMP%_firework-explode calc(2s + var(--firework-index) * .3s) ease-out infinite;animation-delay:calc(var(--firework-index) * .5s + .8s)}@keyframes _ngcontent-%COMP%_firework-launch{0%{transform:translateY(100vh) scale(1);opacity:1}40%{transform:translateY(30vh) scale(1);opacity:1}to{transform:translateY(30vh) scale(0);opacity:0}}@keyframes _ngcontent-%COMP%_firework-explode{0%{transform:scale(0);opacity:0}50%{transform:scale(1);opacity:.8}to{transform:scale(1.5);opacity:0}}.dialog-content[_ngcontent-%COMP%]{position:relative;z-index:2;padding:20px;max-width:100%;margin:0 auto;text-align:center;overflow-y:auto;overflow-x:hidden;flex:1;max-height:calc(85vh - 40px)}.dialog-content[_ngcontent-%COMP%]::-webkit-scrollbar{width:6px}.dialog-content[_ngcontent-%COMP%]::-webkit-scrollbar-track{background:var(--df-surface-2)}.dialog-content[_ngcontent-%COMP%]::-webkit-scrollbar-thumb{background:var(--df-border);border-radius:3px}.dialog-content[_ngcontent-%COMP%]::-webkit-scrollbar-thumb:hover{background:var(--df-text-faint)}.success-header[_ngcontent-%COMP%]{text-align:center;margin-bottom:16px;animation:_ngcontent-%COMP%_fadeInDown .6s ease-out}.success-icon-wrapper[_ngcontent-%COMP%]{position:relative;width:64px;height:64px;margin:0 auto 16px}.success-icon-wrapper[_ngcontent-%COMP%] .rocket-icon[_ngcontent-%COMP%]{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);font-size:32px;color:var(--df-accent);z-index:2;animation:_ngcontent-%COMP%_rocket-launch 2s ease-in-out infinite}.success-icon-wrapper[_ngcontent-%COMP%] .success-circle[_ngcontent-%COMP%]{position:absolute;width:100%;height:100%;border-radius:50%;background:var(--df-accent);opacity:.1;animation:_ngcontent-%COMP%_pulse-circle 2s ease-in-out infinite}@keyframes _ngcontent-%COMP%_rocket-launch{0%,to{transform:translate(-50%,-50%) translateY(0)}50%{transform:translate(-50%,-50%) translateY(-5px)}}@keyframes _ngcontent-%COMP%_pulse-circle{0%,to{transform:scale(1);opacity:.1}50%{transform:scale(1.2);opacity:.2}}.celebration-title[_ngcontent-%COMP%]{font-size:2rem;font-weight:650;letter-spacing:-.015em;color:var(--df-text);margin:0 0 6px;animation:_ngcontent-%COMP%_bounce-in .8s ease-out;text-align:center}.celebration-subtitle[_ngcontent-%COMP%]{font-size:1.4rem;color:var(--df-text-2);margin:0;text-align:center}.steps-container[_ngcontent-%COMP%]{margin:12px 0;text-align:left;padding:0 8px}.steps-title[_ngcontent-%COMP%]{font-size:11px;font-weight:600;text-transform:uppercase;letter-spacing:.06em;color:var(--df-text-muted);margin-bottom:12px;text-align:center}.steps-timeline[_ngcontent-%COMP%]{position:relative;padding-left:52px;max-width:450px;margin:0 auto}.step-item[_ngcontent-%COMP%]{position:relative;display:flex;align-items:flex-start;margin-bottom:12px;opacity:0;transform:translate(-20px);transition:all .5s ease-out}.step-item.revealed[_ngcontent-%COMP%]{opacity:1;transform:translate(0)}.step-item.pulse-animation[_ngcontent-%COMP%] .step-icon[_ngcontent-%COMP%]{animation:_ngcontent-%COMP%_icon-pulse .6s ease-out}.step-item[_ngcontent-%COMP%] .step-connector[_ngcontent-%COMP%]{position:absolute;left:-35px;top:36px;width:2px;height:36px;background:var(--df-border)}.step-icon[_ngcontent-%COMP%]{position:absolute;left:-52px;width:36px;height:36px;border-radius:50%;background:var(--df-accent);display:flex;align-items:center;justify-content:center;color:var(--df-accent-contrast);font-size:16px;flex-shrink:0}@keyframes _ngcontent-%COMP%_icon-pulse{0%{transform:scale(1)}50%{transform:scale(1.2)}to{transform:scale(1)}}.step-content[_ngcontent-%COMP%]{margin-left:0;flex:1}.step-title[_ngcontent-%COMP%]{font-size:1.4rem;font-weight:500;color:var(--df-text);margin:0 0 3px}.step-description[_ngcontent-%COMP%]{font-size:1.3rem;color:var(--df-text-2);margin:0 0 6px;line-height:1.4}.step-timing[_ngcontent-%COMP%]{display:inline-flex;align-items:center;gap:4px;font-size:1.2rem;color:var(--df-success);font-weight:500}.step-timing[_ngcontent-%COMP%] .timing-icon[_ngcontent-%COMP%]{font-size:1.2rem}.api-connection-section[_ngcontent-%COMP%]{margin:12px auto;padding:14px;background:var(--df-surface-2);border:1px solid var(--df-border);border-radius:var(--df-radius);animation:_ngcontent-%COMP%_slideUp .5s ease-out;max-width:480px}.endpoint-preview[_ngcontent-%COMP%]{margin-bottom:12px;padding-bottom:10px;border-bottom:1px solid var(--df-border-2)}.endpoint-label[_ngcontent-%COMP%]{font-size:1.4rem;font-weight:500;color:var(--df-text);margin-bottom:10px;display:flex;align-items:center;gap:8px}.endpoint-label[_ngcontent-%COMP%] .endpoint-icon[_ngcontent-%COMP%]{color:var(--df-accent);font-size:16px}.endpoint-display[_ngcontent-%COMP%]{position:relative}.endpoint-display[_ngcontent-%COMP%] code[_ngcontent-%COMP%]{display:block;padding:12px 16px;background:var(--df-code-bg);border:1px solid var(--df-border-2);border-radius:var(--df-radius-sm);font-family:SFMono-Regular,Menlo,Consolas,monospace;font-size:1.3rem;color:var(--df-code-text);overflow-x:auto;margin-bottom:4px}.endpoint-display[_ngcontent-%COMP%] .endpoint-hint[_ngcontent-%COMP%]{font-size:1.1rem;color:var(--df-text-faint);font-style:italic}.api-key-subsection[_ngcontent-%COMP%]{margin-bottom:10px}.api-key-label[_ngcontent-%COMP%]{font-size:1.4rem;font-weight:500;color:var(--df-text);margin-bottom:10px;display:flex;align-items:center;gap:8px}.api-key-label[_ngcontent-%COMP%] .key-icon[_ngcontent-%COMP%]{color:var(--df-accent);font-size:16px}.api-key-display[_ngcontent-%COMP%]{display:flex;align-items:center;gap:8px}.api-key-display[_ngcontent-%COMP%] code[_ngcontent-%COMP%]{flex:1;padding:10px 14px;background:var(--df-code-bg);border:1px solid var(--df-border-2);border-radius:var(--df-radius-sm);font-family:SFMono-Regular,Menlo,Consolas,monospace;font-size:1.3rem;color:var(--df-code-text);overflow-x:auto}.api-key-display[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{transition:all .2s ease}.api-key-display[_ngcontent-%COMP%] button[_ngcontent-%COMP%] fa-icon[_ngcontent-%COMP%]{font-size:16px;color:var(--df-text-2);transition:color .2s ease}.api-key-display[_ngcontent-%COMP%] button[_ngcontent-%COMP%]:hover fa-icon[_ngcontent-%COMP%]{color:var(--df-accent)}.usage-hint[_ngcontent-%COMP%]{display:flex;align-items:flex-start;gap:8px;padding:10px;background:var(--df-accent-soft);border-radius:var(--df-radius-sm);font-size:1.2rem;color:var(--df-text-2);line-height:1.4}.usage-hint[_ngcontent-%COMP%] .info-icon[_ngcontent-%COMP%]{color:var(--df-accent);font-size:14px;margin-top:1px}.dialog-actions[_ngcontent-%COMP%]{text-align:center;margin-top:12px;padding-bottom:8px;animation:_ngcontent-%COMP%_fadeIn .5s ease-out}.test-api-button[_ngcontent-%COMP%]{padding:10px 28px;font-size:1.5rem;font-weight:500;letter-spacing:.3px;margin-bottom:10px;min-width:200px}.test-api-button[_ngcontent-%COMP%] .button-icon[_ngcontent-%COMP%]{margin-right:8px;font-size:18px}.test-api-button[_ngcontent-%COMP%] .countdown[_ngcontent-%COMP%]{margin-left:8px;opacity:.7;font-size:1.4rem}.explore-later-button[_ngcontent-%COMP%]{font-size:1.4rem;color:var(--df-text-2)}.explore-later-button[_ngcontent-%COMP%]:hover{background:var(--df-hover)}.auto-redirect-note[_ngcontent-%COMP%]{margin-top:10px;font-size:1.2rem;color:var(--df-text-faint);text-align:center}@keyframes _ngcontent-%COMP%_fadeInDown{0%{opacity:0;transform:translateY(-20px)}to{opacity:1;transform:translateY(0)}}@keyframes _ngcontent-%COMP%_fadeIn{0%{opacity:0}to{opacity:1}}@keyframes _ngcontent-%COMP%_slideUp{0%{opacity:0;transform:translateY(20px)}to{opacity:1;transform:translateY(0)}}@keyframes _ngcontent-%COMP%_bounce-in{0%{transform:scale(.8);opacity:0}50%{transform:scale(1.05)}to{transform:scale(1);opacity:1}}']})}}return n})();var Ce=g(57588),en=g(39258),tn=g(82444),pe=g(10056);function Xa(n,a){if(1&n){const t=e.RV6();e.j41(0,"div",11)(1,"mat-button-toggle-group",12),e.bIt("click",function(i){return i.stopPropagation()})("change",function(i){e.eBV(t);const r=e.XpG().$implicit,c=e.XpG();return e.Njj(c.onAccessLevelChange(r,i.value))}),e.j41(2,"mat-button-toggle",13)(3,"span",14),e.nrm(4,"fa-icon",15),e.k0s(),e.EFF(5," Read Only "),e.k0s(),e.j41(6,"mat-button-toggle",16)(7,"span",14),e.nrm(8,"fa-icon",15),e.k0s(),e.EFF(9," Read & Write "),e.k0s(),e.j41(10,"mat-button-toggle",17)(11,"span",14),e.nrm(12,"fa-icon",15),e.k0s(),e.EFF(13," Full Access "),e.k0s()()()}if(2&n){const t=e.XpG().$implicit,o=e.XpG();e.R7$(1),e.Y8G("value",t.selected?t.level:null)("disabled",!t.selected),e.R7$(3),e.Y8G("icon",o.faEye),e.R7$(4),e.Y8G("icon",o.faPen),e.R7$(4),e.Y8G("icon",o.faLockOpen)}}function za(n,a){if(1&n){const t=e.RV6();e.j41(0,"mat-card",6),e.bIt("click",function(){const r=e.eBV(t).$implicit,c=e.XpG();return e.Njj(c.toggleCard(r))}),e.j41(1,"div",7)(2,"div",8),e.EFF(3),e.k0s(),e.j41(4,"div",9),e.EFF(5),e.k0s()(),e.DNE(6,Xa,14,5,"div",10),e.k0s()}if(2&n){const t=a.$implicit;e.AVh("selected",t.selected)("read-level",t.selected&&"read"===t.level)("write-level",t.selected&&"write"===t.level)("full-level",t.selected&&"full"===t.level),e.R7$(3),e.JRh(t.label),e.R7$(2),e.JRh(t.description),e.R7$(1),e.Y8G("ngIf","fullAccess"!==t.key)}}let Ba=(()=>{class n{constructor(t,o,i,r,c){this.router=t,this.snackBar=o,this.systemService=i,this.snackbarService=r,this.dialog=c,this.serviceName="",this.serviceId=null,this.isDatabase=!1,this.isFirstTimeUser=!1,this.goBack=new e.bkB,this.faEye=b.pS3,this.faPen=b.hpd,this.faLockOpen=b.pNp,this.securityConfigurations=[],this.accessOptions=[]}ngOnInit(){this.initializeAccessOptions()}initializeAccessOptions(){this.accessOptions=[{key:"fullAccess",label:"Full Access",description:"Grant complete access to all database components",selected:!1,level:"read"},{key:"schemaAccess",label:"Schema Access",description:"Configure access to specific database schemas",selected:!1,level:"read"},{key:"tableAccess",label:"Table Access",description:"Manage access to individual database tables",selected:!1,level:"read"},{key:"storedProcedures",label:"Stored Procedures",description:"Control access to stored procedures",selected:!1,level:"read"},{key:"functions",label:"Functions",description:"Set access levels for database functions",selected:!1,level:"read"}]}toggleCard(t){if("fullAccess"===t.key)t.selected||this.accessOptions.forEach(o=>{"fullAccess"!==o.key&&o.selected&&(o.selected=!1,this.removeSecurityConfiguration(o.key))});else{const o=this.accessOptions.find(i=>"fullAccess"===i.key);o&&o.selected&&(o.selected=!1,this.removeSecurityConfiguration(o.key))}t.selected=!t.selected,t.selected?this.addSecurityConfiguration(t):this.removeSecurityConfiguration(t.key)}addSecurityConfiguration(t){let o="",i="";switch(t.key){case"fullAccess":o="all",i="*";break;case"schemaAccess":o="schema",i="_schema/*";break;case"tableAccess":o="tables",i="_table/*";break;case"storedProcedures":o="procedures",i="_proc/*";break;case"functions":o="functions",i="_func/*"}const r={accessType:o,accessLevel:t.level,component:i};this.securityConfigurations.push(r),console.log("Added security configuration:",r),console.log("All configurations:",this.securityConfigurations)}removeSecurityConfiguration(t){const o=this.securityConfigurations.findIndex(i=>{switch(t){case"fullAccess":return"all"===i.accessType;case"schemaAccess":return"schema"===i.accessType;case"tableAccess":return"tables"===i.accessType;case"storedProcedures":return"procedures"===i.accessType;case"functions":return"functions"===i.accessType;default:return!1}});if(-1!==o){const i=this.securityConfigurations.splice(o,1)[0];console.log("Removed security configuration:",i),console.log("Remaining configurations:",this.securityConfigurations)}}onAccessLevelChange(t,o){t.level=o;const i=this.securityConfigurations.findIndex(r=>{switch(t.key){case"fullAccess":return"all"===r.accessType;case"schemaAccess":return"schema"===r.accessType;case"tableAccess":return"tables"===r.accessType;case"storedProcedures":return"procedures"===r.accessType;case"functions":return"functions"===r.accessType;default:return!1}});-1!==i&&(this.securityConfigurations[i].accessLevel=o,console.log("Updated access level for configuration:",this.securityConfigurations[i]))}handleGoBack(){console.log("Back button clicked"),this.goBack.emit()}isSecurityConfigValid(){if(!this.accessOptions.some(o=>o.selected)||0===this.securityConfigurations.length)return!1;for(const o of this.securityConfigurations){if(!o.accessType||!o.accessLevel||!o.component)return!1;if("all"===o.accessType){if("*"!==o.component)return!1}else if(!o.component.includes("/*"))return!1}return!0}saveSecurityConfig(){if(!this.isSecurityConfigValid())return void this.snackbarService.openSnackBar("Please select at least one access option and ensure all required fields are filled","error");if(!this.serviceId)return void this.snackBar.open("No service ID found. Please try again.","Close",{duration:3e3});const t=this.formatServiceName(this.serviceName),o=`${this.serviceName}_auto_role`,i=this.securityConfigurations.map(c=>({service_id:this.serviceId,component:c.component,verb_mask:this.getAccessLevel(c.accessLevel),requestor_mask:3,filters:[],filter_op:"AND"})),r={resource:[{name:o,description:`Auto-generated role for service ${this.serviceName}`,is_active:!0,role_service_access_by_role_id:i,user_to_app_to_role_by_role_id:[]}]};console.log("Creating role with multiple configurations:",r),this.systemService.post("role",r).pipe((0,R.W)(c=>(0,we.$)(()=>c)),(0,Ce.n)(c=>c?.resource?.[0]?.id?this.systemService.post("app?fields=*&related=role_by_role_id",{resource:[{name:`${this.serviceName}_app`,description:`Auto-generated app for service ${this.serviceName}`,type:"0",role_id:c.resource[0].id,is_active:!0,url:null,storage_service_id:null,storage_container:null,path:null}]}).pipe((0,R.W)(p=>(this.snackBar.open(`Error creating app: ${(0,De.cQ)(p).message}`,"Close",{duration:5e3}),(0,we.$)(()=>p))),(0,z.T)(p=>{if(!p?.resource?.[0])throw new Error("App response missing resource array");const f=p.resource[0];if(!f.apiKey)throw new Error("App response missing apiKey");return{apiKey:f.apiKey,formattedName:t}}),(0,R.W)(p=>(0,we.$)(()=>p))):(0,we.$)(()=>new Error("Invalid role response"))),(0,z.T)(c=>{if(!c?.apiKey)throw new Error("Invalid app response");return{apiKey:c.apiKey,formattedName:t}})).subscribe({next:c=>{navigator.clipboard?navigator.clipboard.writeText(c.apiKey).then(()=>{this.snackbarService.openSnackBar(`API Created with ${this.securityConfigurations.length} security configuration(s) and API Key copied to clipboard`,"success")}).catch(()=>{this.snackbarService.openSnackBar(`API Created with ${this.securityConfigurations.length} security configuration(s), but failed to copy API Key`,"success")}):this.snackbarService.openSnackBar(`API Created with ${this.securityConfigurations.length} security configuration(s), but failed to copy API Key`,"success"),this.isFirstTimeUser&&this.isDatabase?this.dialog.open(Va,{width:"550px",maxWidth:"90vw",maxHeight:"85vh",disableClose:!0,panelClass:"celebration-dialog-container",data:{serviceName:c.formattedName,apiKey:c.apiKey,isFirstTime:!0}}):this.router.navigateByUrl(`/api-connections/api-docs/${c.formattedName}`,{replaceUrl:!0}).then(s=>{s||this.router.navigate(["api-connections","api-docs",c.formattedName],{replaceUrl:!0})})},error:c=>{this.snackbarService.openSnackBar("Error saving security configuration","error")}})}getAccessLevel(t){switch(t){case"read":return 1;case"write":return 7;case"full":return 15;default:return 0}}formatServiceName(t){return t.toLowerCase().replace(/\s+/g,"").replace(/[^a-z0-9_-]/g,"")}static{this.\u0275fac=function(o){return new(o||n)(e.rXU(N.Ix),e.rXU(en.UG),e.rXU(tn.D),e.rXU(pe.L),e.rXU(h.bZ))}}static{this.\u0275cmp=e.VBU({type:n,selectors:[["df-security-config"]],inputs:{serviceName:"serviceName",serviceId:"serviceId",isDatabase:"isDatabase",isFirstTimeUser:"isFirstTimeUser"},outputs:{goBack:"goBack"},standalone:!0,features:[e.aNF],decls:10,vars:2,consts:[[1,"security-config-wrapper"],[1,"security-cards-container"],["class","security-option-card",3,"selected","read-level","write-level","full-level","click",4,"ngFor","ngForOf"],[1,"action-buttons"],["mat-stroked-button","",3,"click"],["mat-flat-button","","color","primary","type","button",3,"disabled","click"],[1,"security-option-card",3,"click"],[1,"card-header"],[1,"card-title"],[1,"card-description"],["class","toggle-container",4,"ngIf"],[1,"toggle-container"],["appearance","legacy",1,"access-toggle-group",3,"value","disabled","click","change"],["value","read",1,"read-toggle"],[1,"toggle-icon"],[3,"icon"],["value","write",1,"write-toggle"],["value","full",1,"full-toggle"]],template:function(o,i){1&o&&(e.j41(0,"div",0)(1,"h3"),e.EFF(2,"Security Configuration"),e.k0s(),e.j41(3,"div",1),e.DNE(4,za,7,11,"mat-card",2),e.k0s(),e.j41(5,"div",3)(6,"button",4),e.bIt("click",function(){return i.handleGoBack()}),e.EFF(7,"Back"),e.k0s(),e.j41(8,"button",5),e.bIt("click",function(){return i.saveSecurityConfig()}),e.EFF(9," Apply Security Configuration "),e.k0s()()()),2&o&&(e.R7$(4),e.Y8G("ngForOf",i.accessOptions),e.R7$(4),e.Y8G("disabled",!i.isSecurityConfigValid()))},dependencies:[d.MD,d.Sq,d.bT,m.YN,Te.Hu,Te.RN,Se.Vg,Se.ec,Se.pc,u.Hl,u.$z,j.g7,Z.m_,w.dX,w.aY],styles:[".security-config-wrapper[_ngcontent-%COMP%]{padding:24px;max-width:1200px;margin:0 auto}.security-config-wrapper[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{margin-bottom:24px;font-size:24px;font-weight:600;color:#1976d2;text-align:center}.security-cards-container[_ngcontent-%COMP%]{display:grid;grid-template-columns:repeat(auto-fit,minmax(320px,1fr));gap:20px;margin-bottom:32px}@media (max-width: 768px){.security-cards-container[_ngcontent-%COMP%]{grid-template-columns:1fr;gap:16px}}@media (min-width: 769px) and (max-width: 1024px){.security-cards-container[_ngcontent-%COMP%]{grid-template-columns:repeat(2,1fr)}}@media (min-width: 1025px){.security-cards-container[_ngcontent-%COMP%]{grid-template-columns:repeat(3,1fr)}}.security-option-card[_ngcontent-%COMP%]{padding:20px;cursor:pointer;border:2px solid #e0e0e0;border-radius:12px;transition:all .3s cubic-bezier(.4,0,.2,1);background:linear-gradient(135deg,#ffffff 0%,#f8f9fa 100%);position:relative;overflow:hidden}.security-option-card[_ngcontent-%COMP%]:hover{transform:translateY(-2px);box-shadow:0 8px 25px #0000001a;border-color:#1976d2}.security-option-card.selected[_ngcontent-%COMP%]{border-color:#1976d2;box-shadow:0 4px 20px #1976d226}.security-option-card.selected.read-level[_ngcontent-%COMP%]{border-color:#2196f3;background:linear-gradient(135deg,#e3f2fd 0%,#bbdefb 100%)}.security-option-card.selected.write-level[_ngcontent-%COMP%]{border-color:#fbc02d;background:linear-gradient(135deg,#fffde7 0%,#fff9c4 100%)}.security-option-card.selected.full-level[_ngcontent-%COMP%]{border-color:#43a047;background:linear-gradient(135deg,#e8f5e9 0%,#c8e6c9 100%)}.security-option-card[_ngcontent-%COMP%] .card-header[_ngcontent-%COMP%]{margin-bottom:16px}.security-option-card[_ngcontent-%COMP%] .card-header[_ngcontent-%COMP%] .card-title[_ngcontent-%COMP%]{font-weight:600;font-size:18px;margin-bottom:8px;color:#333}.security-option-card[_ngcontent-%COMP%] .card-header[_ngcontent-%COMP%] .card-description[_ngcontent-%COMP%]{font-size:14px;color:#666;line-height:1.5}.security-option-card[_ngcontent-%COMP%] .toggle-container[_ngcontent-%COMP%] .access-level-label[_ngcontent-%COMP%]{font-size:12px;font-weight:600;color:#666;margin-bottom:8px;text-transform:uppercase;letter-spacing:.5px}.security-option-card[_ngcontent-%COMP%] .toggle-container[_ngcontent-%COMP%] .access-toggle-group[_ngcontent-%COMP%]{display:flex;flex-wrap:wrap;gap:4px;box-shadow:none}.security-option-card[_ngcontent-%COMP%] .toggle-container[_ngcontent-%COMP%] .access-toggle-group[_ngcontent-%COMP%] .mat-button-toggle-checked[_ngcontent-%COMP%]{color:#666}.security-option-card[_ngcontent-%COMP%] .toggle-container[_ngcontent-%COMP%] .access-toggle-group[_ngcontent-%COMP%] .mat-button-toggle[_ngcontent-%COMP%]{background-color:#eee;font-size:12px;padding:6px 12px;width:100%;border-radius:6px;transition:all .2s ease}@media (max-width: 768px){.security-option-card[_ngcontent-%COMP%] .toggle-container[_ngcontent-%COMP%] .access-toggle-group[_ngcontent-%COMP%] .mat-button-toggle[_ngcontent-%COMP%]{width:150px}}.security-option-card[_ngcontent-%COMP%] .toggle-container[_ngcontent-%COMP%] .access-toggle-group[_ngcontent-%COMP%] .mat-button-toggle.mat-button-toggle-disabled[_ngcontent-%COMP%]{opacity:.5;pointer-events:none;background-color:#f5f5f5;color:#999;border-color:#ddd}.security-option-card[_ngcontent-%COMP%] .toggle-container[_ngcontent-%COMP%] .access-toggle-group[_ngcontent-%COMP%] .mat-button-toggle[_ngcontent-%COMP%] .toggle-icon[_ngcontent-%COMP%]{margin-right:4px;font-size:14px}.security-option-card[_ngcontent-%COMP%] .toggle-container[_ngcontent-%COMP%] .access-toggle-group[_ngcontent-%COMP%] .mat-button-toggle.read-toggle.mat-button-toggle-checked[_ngcontent-%COMP%]{background-color:#2196f3;color:#fff}.security-option-card[_ngcontent-%COMP%] .toggle-container[_ngcontent-%COMP%] .access-toggle-group[_ngcontent-%COMP%] .mat-button-toggle.write-toggle.mat-button-toggle-checked[_ngcontent-%COMP%]{background-color:#fbc02d;color:#fff}.security-option-card[_ngcontent-%COMP%] .toggle-container[_ngcontent-%COMP%] .access-toggle-group[_ngcontent-%COMP%] .mat-button-toggle.full-toggle.mat-button-toggle-checked[_ngcontent-%COMP%]{background-color:#43a047;color:#fff}.action-buttons[_ngcontent-%COMP%]{display:flex;justify-content:flex-end;gap:12px;margin-top:24px;padding-top:16px;border-top:1px solid #e0e0e0}"]})}}return n})();var _t=g(20271),se=g(84246),La=g(83801),nn=g(31933),Ua=g(67261);let gt=class Bt{constructor(a,t,o,i,r){this.dialog=a,this.fileService=t,this.cacheService=o,this.baseService=i,this.themeService=r,this.storageServices=[],this.checked=!1,this.isDarkMode=this.themeService.darkMode$,this.baseService.getAll({additionalParams:[{key:"group",value:"source control,file"}]}).subscribe(c=>{this.storageServices=c.services})}ngOnInit(){this.content.setValue(this.contentText)}fileUpload(a){const t=a.target;t.files&&(0,nn.Sj)(t.files[0]).subscribe(o=>{this.content.setValue(o)})}githubImport(){this.dialog.open(Ua.z).afterClosed().subscribe(t=>{t&&this.content.setValue(window.atob(t.data.content))})}static{this.\u0275fac=function(t){return new(t||Bt)(e.rXU(h.bZ),e.rXU(U.qJ),e.rXU(U.j8),e.rXU(U.qJ),e.rXU(Ue.n))}}static{this.\u0275cmp=e.VBU({type:Bt,selectors:[["df-file-github"]],inputs:{cache:"cache",type:"type",contentText:"contentText",content:"content"},standalone:!0,features:[e.aNF],decls:11,vars:8,consts:[[1,"details-section"],[1,"actions","full-width"],["type","file",2,"display","none",3,"accept","change"],["fileInput",""],["type","button","mat-flat-button","",1,"save-btn",3,"click"],[1,"full-width",3,"formControl","mode"]],template:function(t,o){if(1&t){const i=e.RV6();e.j41(0,"div",0)(1,"div",1)(2,"input",2,3),e.bIt("change",function(c){return o.fileUpload(c)}),e.k0s(),e.j41(4,"button",4),e.bIt("click",function(){e.eBV(i);const c=e.sdS(3);return e.Njj(c.click())}),e.EFF(5),e.nI1(6,"transloco"),e.k0s(),e.j41(7,"button",4),e.bIt("click",function(){return o.githubImport()}),e.EFF(8),e.nI1(9,"transloco"),e.k0s()(),e.nrm(10,"df-ace-editor",5),e.k0s()}2&t&&(e.R7$(5),e.SpI(" ",e.bMT(6,4,"desktopFile")," "),e.R7$(3),e.SpI(" ",e.bMT(9,6,"githubFile")," "),e.R7$(2),e.Y8G("formControl",o.content)("mode",o.type.getRawValue()))},dependencies:[u.Hl,u.$z,D.Kj,O.RG,G.Ve,j.g7,m.YN,m.BC,h.hM,E.fS,Qt.s,m.X1,m.l_],styles:[".actions[_ngcontent-%COMP%]{display:flex;gap:16px}"]})}};gt=(0,re.Cg)([(0,H.d)({checkProperties:!0})],gt);var qa=g(40426),K=g(48444),Re=g(17612),Ka=g(58359),ae=g(87621),ft=g(86953),on=g(83607),ut=g(10165),Ie=g(8275),ht=g(25150),Ja=g(29094);function Ha(n,a){1&n&&e.SdG(0)}const Wa=["*"];let an=(()=>{class n{constructor(t){this._elementRef=t}focus(){this._elementRef.nativeElement.focus()}static{this.\u0275fac=function(o){return new(o||n)(e.rXU(e.aKT))}}static{this.\u0275dir=e.FsC({type:n,selectors:[["","cdkStepHeader",""]],hostAttrs:["role","tab"]})}}return n})(),rn=(()=>{class n{constructor(t){this.template=t}static{this.\u0275fac=function(o){return new(o||n)(e.rXU(e.C4Q))}}static{this.\u0275dir=e.FsC({type:n,selectors:[["","cdkStepLabel",""]]})}}return n})(),Qa=0;const cn=new e.nKC("STEPPER_GLOBAL_OPTIONS");let bt=(()=>{class n{get editable(){return this._editable}set editable(t){this._editable=(0,Ie.he)(t)}get optional(){return this._optional}set optional(t){this._optional=(0,Ie.he)(t)}get completed(){return null==this._completedOverride?this._getDefaultCompleted():this._completedOverride}set completed(t){this._completedOverride=(0,Ie.he)(t)}_getDefaultCompleted(){return this.stepControl?this.stepControl.valid&&this.interacted:this.interacted}get hasError(){return null==this._customError?this._getDefaultError():this._customError}set hasError(t){this._customError=(0,Ie.he)(t)}_getDefaultError(){return this.stepControl&&this.stepControl.invalid&&this.interacted}constructor(t,o){this._stepper=t,this.interacted=!1,this.interactedStream=new e.bkB,this._editable=!0,this._optional=!1,this._completedOverride=null,this._customError=null,this._stepperOptions=o||{},this._displayDefaultIndicatorType=!1!==this._stepperOptions.displayDefaultIndicatorType}select(){this._stepper.selected=this}reset(){this.interacted=!1,null!=this._completedOverride&&(this._completedOverride=!1),null!=this._customError&&(this._customError=!1),this.stepControl&&this.stepControl.reset()}ngOnChanges(){this._stepper._stateChanged()}_markAsInteracted(){this.interacted||(this.interacted=!0,this.interactedStream.emit(this))}_showError(){return this._stepperOptions.showError??null!=this._customError}static{this.\u0275fac=function(o){return new(o||n)(e.rXU((0,e.Rfq)(()=>Ae)),e.rXU(cn,8))}}static{this.\u0275cmp=e.VBU({type:n,selectors:[["cdk-step"]],contentQueries:function(o,i,r){if(1&o&&e.wni(r,rn,5),2&o){let c;e.mGM(c=e.lsd())&&(i.stepLabel=c.first)}},viewQuery:function(o,i){if(1&o&&e.GBs(e.C4Q,7),2&o){let r;e.mGM(r=e.lsd())&&(i.content=r.first)}},inputs:{stepControl:"stepControl",label:"label",errorMessage:"errorMessage",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],state:"state",editable:"editable",optional:"optional",completed:"completed",hasError:"hasError"},outputs:{interactedStream:"interacted"},exportAs:["cdkStep"],features:[e.OA$],ngContentSelectors:Wa,decls:1,vars:0,template:function(o,i){1&o&&(e.NAR(),e.DNE(0,Ha,1,0,"ng-template"))},encapsulation:2,changeDetection:0})}}return n})(),Ae=(()=>{class n{get linear(){return this._linear}set linear(t){this._linear=(0,Ie.he)(t)}get selectedIndex(){return this._selectedIndex}set selectedIndex(t){const o=(0,Ie.OE)(t);this.steps&&this._steps?(this._isValidIndex(o),this.selected?._markAsInteracted(),this._selectedIndex!==o&&!this._anyControlsInvalidOrPending(o)&&(o>=this._selectedIndex||this.steps.toArray()[o].editable)&&this._updateSelectedItemIndex(o)):this._selectedIndex=o}get selected(){return this.steps?this.steps.toArray()[this.selectedIndex]:void 0}set selected(t){this.selectedIndex=t&&this.steps?this.steps.toArray().indexOf(t):-1}get orientation(){return this._orientation}set orientation(t){this._orientation=t,this._keyManager&&this._keyManager.withVerticalOrientation("vertical"===t)}constructor(t,o,i){this._dir=t,this._changeDetectorRef=o,this._elementRef=i,this._destroyed=new xe.B,this.steps=new e.rOR,this._sortedHeaders=new e.rOR,this._linear=!1,this._selectedIndex=0,this.selectionChange=new e.bkB,this.selectedIndexChange=new e.bkB,this._orientation="horizontal",this._groupId=Qa++}ngAfterContentInit(){this._steps.changes.pipe((0,Ge.Z)(this._steps),(0,he.Q)(this._destroyed)).subscribe(t=>{this.steps.reset(t.filter(o=>o._stepper===this)),this.steps.notifyOnChanges()})}ngAfterViewInit(){this._stepHeader.changes.pipe((0,Ge.Z)(this._stepHeader),(0,he.Q)(this._destroyed)).subscribe(t=>{this._sortedHeaders.reset(t.toArray().sort((o,i)=>o._elementRef.nativeElement.compareDocumentPosition(i._elementRef.nativeElement)&Node.DOCUMENT_POSITION_FOLLOWING?-1:1)),this._sortedHeaders.notifyOnChanges()}),this._keyManager=new on.Bu(this._sortedHeaders).withWrap().withHomeAndEnd().withVerticalOrientation("vertical"===this._orientation),(this._dir?this._dir.change:(0,L.of)()).pipe((0,Ge.Z)(this._layoutDirection()),(0,he.Q)(this._destroyed)).subscribe(t=>this._keyManager.withHorizontalOrientation(t)),this._keyManager.updateActiveItem(this._selectedIndex),this.steps.changes.subscribe(()=>{this.selected||(this._selectedIndex=Math.max(this._selectedIndex-1,0))}),this._isValidIndex(this._selectedIndex)||(this._selectedIndex=0)}ngOnDestroy(){this._keyManager?.destroy(),this.steps.destroy(),this._sortedHeaders.destroy(),this._destroyed.next(),this._destroyed.complete()}next(){this.selectedIndex=Math.min(this._selectedIndex+1,this.steps.length-1)}previous(){this.selectedIndex=Math.max(this._selectedIndex-1,0)}reset(){this._updateSelectedItemIndex(0),this.steps.forEach(t=>t.reset()),this._stateChanged()}_getStepLabelId(t){return`cdk-step-label-${this._groupId}-${t}`}_getStepContentId(t){return`cdk-step-content-${this._groupId}-${t}`}_stateChanged(){this._changeDetectorRef.markForCheck()}_getAnimationDirection(t){const o=t-this._selectedIndex;return o<0?"rtl"===this._layoutDirection()?"next":"previous":o>0?"rtl"===this._layoutDirection()?"previous":"next":"current"}_getIndicatorType(t,o="number"){const i=this.steps.toArray()[t],r=this._isCurrentStep(t);return i._displayDefaultIndicatorType?this._getDefaultIndicatorLogic(i,r):this._getGuidelineLogic(i,r,o)}_getDefaultIndicatorLogic(t,o){return t._showError()&&t.hasError&&!o?"error":!t.completed||o?"number":t.editable?"edit":"done"}_getGuidelineLogic(t,o,i="number"){return t._showError()&&t.hasError&&!o?"error":t.completed&&!o?"done":t.completed&&o?i:t.editable&&o?"edit":i}_isCurrentStep(t){return this._selectedIndex===t}_getFocusIndex(){return this._keyManager?this._keyManager.activeItemIndex:this._selectedIndex}_updateSelectedItemIndex(t){const o=this.steps.toArray();this.selectionChange.emit({selectedIndex:t,previouslySelectedIndex:this._selectedIndex,selectedStep:o[t],previouslySelectedStep:o[this._selectedIndex]}),this._containsFocus()?this._keyManager.setActiveItem(t):this._keyManager.updateActiveItem(t),this._selectedIndex=t,this.selectedIndexChange.emit(this._selectedIndex),this._stateChanged()}_onKeydown(t){const o=(0,ht.rp)(t),i=t.keyCode,r=this._keyManager;null==r.activeItemIndex||o||i!==ht.t6&&i!==ht.Fm?r.setFocusOrigin("keyboard").onKeydown(t):(this.selectedIndex=r.activeItemIndex,t.preventDefault())}_anyControlsInvalidOrPending(t){return!!(this._linear&&t>=0)&&this.steps.toArray().slice(0,t).some(o=>{const i=o.stepControl;return(i?i.invalid||i.pending||!o.interacted:!o.completed)&&!o.optional&&!o._completedOverride})}_layoutDirection(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}_containsFocus(){const t=this._elementRef.nativeElement,o=(0,Ja.vc)();return t===o||t.contains(o)}_isValidIndex(t){return t>-1&&(!this.steps||t{class n{constructor(t){this._stepper=t,this.type="submit"}static{this.\u0275fac=function(o){return new(o||n)(e.rXU(Ae))}}static{this.\u0275dir=e.FsC({type:n,selectors:[["button","cdkStepperNext",""]],hostVars:1,hostBindings:function(o,i){1&o&&e.bIt("click",function(){return i._stepper.next()}),2&o&&e.Mr5("type",i.type)},inputs:{type:"type"}})}}return n})(),er=(()=>{class n{constructor(t){this._stepper=t,this.type="button"}static{this.\u0275fac=function(o){return new(o||n)(e.rXU(Ae))}}static{this.\u0275dir=e.FsC({type:n,selectors:[["button","cdkStepperPrevious",""]],hostVars:1,hostBindings:function(o,i){1&o&&e.bIt("click",function(){return i._stepper.previous()}),2&o&&e.Mr5("type",i.type)},inputs:{type:"type"}})}}return n})(),tr=(()=>{class n{static{this.\u0275fac=function(o){return new(o||n)}}static{this.\u0275mod=e.$C({type:n})}static{this.\u0275inj=e.G2t({imports:[ut.jI]})}}return n})();var nr=g(52693),or=g(11224),I=g(89411);function ir(n,a){if(1&n&&e.eu8(0,8),2&n){const t=e.XpG();e.Y8G("ngTemplateOutlet",t.iconOverrides[t.state])("ngTemplateOutletContext",t._getIconContext())}}function ar(n,a){if(1&n&&(e.j41(0,"span",13),e.EFF(1),e.k0s()),2&n){const t=e.XpG(2);e.R7$(1),e.JRh(t._getDefaultTextForState(t.state))}}function rr(n,a){if(1&n&&(e.j41(0,"span",14),e.EFF(1),e.k0s()),2&n){const t=e.XpG(2);e.R7$(1),e.JRh(t._intl.completedLabel)}}function cr(n,a){if(1&n&&(e.j41(0,"span",14),e.EFF(1),e.k0s()),2&n){const t=e.XpG(2);e.R7$(1),e.JRh(t._intl.editableLabel)}}function sr(n,a){if(1&n&&(e.j41(0,"mat-icon",13),e.EFF(1),e.k0s()),2&n){const t=e.XpG(2);e.R7$(1),e.JRh(t._getDefaultTextForState(t.state))}}function lr(n,a){if(1&n&&(e.qex(0,9),e.DNE(1,ar,2,1,"span",10),e.DNE(2,rr,2,1,"span",11),e.DNE(3,cr,2,1,"span",11),e.DNE(4,sr,2,1,"mat-icon",12),e.bVm()),2&n){const t=e.XpG();e.Y8G("ngSwitch",t.state),e.R7$(1),e.Y8G("ngSwitchCase","number"),e.R7$(1),e.Y8G("ngIf","done"===t.state),e.R7$(1),e.Y8G("ngIf","edit"===t.state)}}function dr(n,a){if(1&n&&(e.j41(0,"div",15),e.eu8(1,16),e.k0s()),2&n){const t=e.XpG();e.R7$(1),e.Y8G("ngTemplateOutlet",t._templateLabel().template)}}function pr(n,a){if(1&n&&(e.j41(0,"div",15),e.EFF(1),e.k0s()),2&n){const t=e.XpG();e.R7$(1),e.JRh(t.label)}}function mr(n,a){if(1&n&&(e.j41(0,"div",17),e.EFF(1),e.k0s()),2&n){const t=e.XpG();e.R7$(1),e.JRh(t._intl.optionalLabel)}}function _r(n,a){if(1&n&&(e.j41(0,"div",18),e.EFF(1),e.k0s()),2&n){const t=e.XpG();e.R7$(1),e.JRh(t.errorMessage)}}function gr(n,a){}function fr(n,a){if(1&n&&(e.SdG(0),e.DNE(1,gr,0,0,"ng-template",0)),2&n){const t=e.XpG();e.R7$(1),e.Y8G("cdkPortalOutlet",t._portal)}}const ur=["*"];function hr(n,a){1&n&&e.nrm(0,"div",11)}const sn=function(n,a){return{step:n,i:a}};function br(n,a){if(1&n&&(e.qex(0),e.eu8(1,9),e.DNE(2,hr,1,0,"div",10),e.bVm()),2&n){const t=a.$implicit,o=a.index,i=a.last;e.XpG(2);const r=e.sdS(4);e.R7$(1),e.Y8G("ngTemplateOutlet",r)("ngTemplateOutletContext",e.l_i(3,sn,t,o)),e.R7$(1),e.Y8G("ngIf",!i)}}const ln=function(n){return{animationDuration:n}},dn=function(n,a){return{value:n,params:a}};function vr(n,a){if(1&n){const t=e.RV6();e.j41(0,"div",12),e.bIt("@horizontalStepTransition.done",function(i){e.eBV(t);const r=e.XpG(2);return e.Njj(r._animationDone.next(i))}),e.eu8(1,13),e.k0s()}if(2&n){const t=a.$implicit,o=a.index,i=e.XpG(2);e.AVh("mat-horizontal-stepper-content-inactive",i.selectedIndex!==o),e.Y8G("@horizontalStepTransition",e.l_i(8,dn,i._getAnimationDirection(o),e.eq3(6,ln,i._getAnimationDuration())))("id",i._getStepContentId(o)),e.BMQ("aria-labelledby",i._getStepLabelId(o)),e.R7$(1),e.Y8G("ngTemplateOutlet",t.content)}}function xr(n,a){if(1&n&&(e.j41(0,"div",4)(1,"div",5),e.DNE(2,br,3,6,"ng-container",6),e.k0s(),e.j41(3,"div",7),e.DNE(4,vr,2,11,"div",8),e.k0s()()),2&n){const t=e.XpG();e.R7$(2),e.Y8G("ngForOf",t.steps),e.R7$(2),e.Y8G("ngForOf",t.steps)}}function Cr(n,a){if(1&n){const t=e.RV6();e.j41(0,"div",15),e.eu8(1,9),e.j41(2,"div",16)(3,"div",17),e.bIt("@verticalStepTransition.done",function(i){e.eBV(t);const r=e.XpG(2);return e.Njj(r._animationDone.next(i))}),e.j41(4,"div",18),e.eu8(5,13),e.k0s()()()()}if(2&n){const t=a.$implicit,o=a.index,i=a.last,r=e.XpG(2),c=e.sdS(4);e.R7$(1),e.Y8G("ngTemplateOutlet",c)("ngTemplateOutletContext",e.l_i(10,sn,t,o)),e.R7$(1),e.AVh("mat-stepper-vertical-line",!i),e.R7$(1),e.AVh("mat-vertical-stepper-content-inactive",r.selectedIndex!==o),e.Y8G("@verticalStepTransition",e.l_i(15,dn,r._getAnimationDirection(o),e.eq3(13,ln,r._getAnimationDuration())))("id",r._getStepContentId(o)),e.BMQ("aria-labelledby",r._getStepLabelId(o)),e.R7$(2),e.Y8G("ngTemplateOutlet",t.content)}}function kr(n,a){if(1&n&&(e.qex(0),e.DNE(1,Cr,6,18,"div",14),e.bVm()),2&n){const t=e.XpG();e.R7$(1),e.Y8G("ngForOf",t.steps)}}function yr(n,a){if(1&n){const t=e.RV6();e.j41(0,"mat-step-header",19),e.bIt("click",function(){const r=e.eBV(t).step;return e.Njj(r.select())})("keydown",function(i){e.eBV(t);const r=e.XpG();return e.Njj(r._onKeydown(i))}),e.k0s()}if(2&n){const t=a.step,o=a.i,i=e.XpG();e.AVh("mat-horizontal-stepper-header","horizontal"===i.orientation)("mat-vertical-stepper-header","vertical"===i.orientation),e.Y8G("tabIndex",i._getFocusIndex()===o?0:-1)("id",i._getStepLabelId(o))("index",o)("state",i._getIndicatorType(o,t.state))("label",t.stepLabel||t.label)("selected",i.selectedIndex===o)("active",i._stepIsNavigable(o,t))("optional",t.optional)("errorMessage",t.errorMessage)("iconOverrides",i._iconOverrides)("disableRipple",i.disableRipple||!i._stepIsNavigable(o,t))("color",t.color||i.color),e.BMQ("aria-posinset",o+1)("aria-setsize",i.steps.length)("aria-controls",i._getStepContentId(o))("aria-selected",i.selectedIndex==o)("aria-label",t.ariaLabel||null)("aria-labelledby",!t.ariaLabel&&t.ariaLabelledby?t.ariaLabelledby:null)("aria-disabled",!i._stepIsNavigable(o,t)||null)}}let Ke=(()=>{class n extends rn{static{this.\u0275fac=function(){let t;return function(i){return(t||(t=e.xGo(n)))(i||n)}}()}static{this.\u0275dir=e.FsC({type:n,selectors:[["","matStepLabel",""]],features:[e.Vt3]})}}return n})(),Je=(()=>{class n{constructor(){this.changes=new xe.B,this.optionalLabel="Optional",this.completedLabel="Completed",this.editableLabel="Editable"}static{this.\u0275fac=function(o){return new(o||n)}}static{this.\u0275prov=e.jDH({token:n,factory:n.\u0275fac,providedIn:"root"})}}return n})();const Or={provide:Je,deps:[[new e.Xx1,new e.kdw,Je]],useFactory:function Mr(n){return n||new Je}},Pr=(0,q.Zc)(class extends an{constructor(a){super(a)}},"primary");let pn=(()=>{class n extends Pr{constructor(t,o,i,r){super(i),this._intl=t,this._focusMonitor=o,this._intlSubscription=t.changes.subscribe(()=>r.markForCheck())}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0)}ngOnDestroy(){this._intlSubscription.unsubscribe(),this._focusMonitor.stopMonitoring(this._elementRef)}focus(t,o){t?this._focusMonitor.focusVia(this._elementRef,t,o):this._elementRef.nativeElement.focus(o)}_stringLabel(){return this.label instanceof Ke?null:this.label}_templateLabel(){return this.label instanceof Ke?this.label:null}_getHostElement(){return this._elementRef.nativeElement}_getIconContext(){return{index:this.index,active:this.active,optional:this.optional}}_getDefaultTextForState(t){return"number"==t?`${this.index+1}`:"edit"==t?"create":"error"==t?"warning":t}static{this.\u0275fac=function(o){return new(o||n)(e.rXU(Je),e.rXU(on.FN),e.rXU(e.aKT),e.rXU(e.gRc))}}static{this.\u0275cmp=e.VBU({type:n,selectors:[["mat-step-header"]],hostAttrs:["role","tab",1,"mat-step-header"],inputs:{color:"color",state:"state",label:"label",errorMessage:"errorMessage",iconOverrides:"iconOverrides",index:"index",selected:"selected",active:"active",optional:"optional",disableRipple:"disableRipple"},features:[e.Vt3],decls:10,vars:19,consts:[["matRipple","",1,"mat-step-header-ripple","mat-focus-indicator",3,"matRippleTrigger","matRippleDisabled"],[1,"mat-step-icon-content",3,"ngSwitch"],[3,"ngTemplateOutlet","ngTemplateOutletContext",4,"ngSwitchCase"],[3,"ngSwitch",4,"ngSwitchDefault"],[1,"mat-step-label"],["class","mat-step-text-label",4,"ngIf"],["class","mat-step-optional",4,"ngIf"],["class","mat-step-sub-label-error",4,"ngIf"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],[3,"ngSwitch"],["aria-hidden","true",4,"ngSwitchCase"],["class","cdk-visually-hidden",4,"ngIf"],["aria-hidden","true",4,"ngSwitchDefault"],["aria-hidden","true"],[1,"cdk-visually-hidden"],[1,"mat-step-text-label"],[3,"ngTemplateOutlet"],[1,"mat-step-optional"],[1,"mat-step-sub-label-error"]],template:function(o,i){1&o&&(e.nrm(0,"div",0),e.j41(1,"div")(2,"div",1),e.DNE(3,ir,1,2,"ng-container",2),e.DNE(4,lr,5,4,"ng-container",3),e.k0s()(),e.j41(5,"div",4),e.DNE(6,dr,2,1,"div",5),e.DNE(7,pr,2,1,"div",5),e.DNE(8,mr,2,1,"div",6),e.DNE(9,_r,2,1,"div",7),e.k0s()),2&o&&(e.Y8G("matRippleTrigger",i._getHostElement())("matRippleDisabled",i.disableRipple),e.R7$(1),e.ZvI("mat-step-icon-state-",i.state," mat-step-icon"),e.AVh("mat-step-icon-selected",i.selected),e.R7$(1),e.Y8G("ngSwitch",!(!i.iconOverrides||!i.iconOverrides[i.state])),e.R7$(1),e.Y8G("ngSwitchCase",!0),e.R7$(2),e.AVh("mat-step-label-active",i.active)("mat-step-label-selected",i.selected)("mat-step-label-error","error"==i.state),e.R7$(1),e.Y8G("ngIf",i._templateLabel()),e.R7$(1),e.Y8G("ngIf",i._stringLabel()),e.R7$(1),e.Y8G("ngIf",i.optional&&"error"!=i.state),e.R7$(1),e.Y8G("ngIf","error"==i.state))},dependencies:[d.bT,d.T3,d.ux,d.e1,d.fG,Z.An,q.r6],styles:['.mat-step-header{overflow:hidden;outline:none;cursor:pointer;position:relative;box-sizing:content-box;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-step-header:focus .mat-focus-indicator::before{content:""}.mat-step-header:hover[aria-disabled=true]{cursor:default}.mat-step-header:hover:not([aria-disabled]),.mat-step-header:hover[aria-disabled=false]{background-color:var(--mat-stepper-header-hover-state-layer-color)}.mat-step-header.cdk-keyboard-focused,.mat-step-header.cdk-program-focused{background-color:var(--mat-stepper-header-focus-state-layer-color)}@media(hover: none){.mat-step-header:hover{background:none}}.cdk-high-contrast-active .mat-step-header{outline:solid 1px}.cdk-high-contrast-active .mat-step-header[aria-selected=true] .mat-step-label{text-decoration:underline}.cdk-high-contrast-active .mat-step-header[aria-disabled=true]{outline-color:GrayText}.cdk-high-contrast-active .mat-step-header[aria-disabled=true] .mat-step-label,.cdk-high-contrast-active .mat-step-header[aria-disabled=true] .mat-step-icon,.cdk-high-contrast-active .mat-step-header[aria-disabled=true] .mat-step-optional{color:GrayText}.mat-step-optional{font-size:12px;color:var(--mat-stepper-header-optional-label-text-color)}.mat-step-sub-label-error{font-size:12px;font-weight:normal}.mat-step-icon{border-radius:50%;height:24px;width:24px;flex-shrink:0;position:relative;color:var(--mat-stepper-header-icon-foreground-color);background-color:var(--mat-stepper-header-icon-background-color)}.mat-step-icon-content{position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);display:flex}.mat-step-icon .mat-icon{font-size:16px;height:16px;width:16px}.mat-step-icon-state-error{background-color:var(--mat-stepper-header-error-state-icon-background-color);color:var(--mat-stepper-header-error-state-icon-foreground-color)}.mat-step-icon-state-error .mat-icon{font-size:24px;height:24px;width:24px}.mat-step-label{display:inline-block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:50px;vertical-align:middle;font-family:var(--mat-stepper-header-label-text-font);font-size:var(--mat-stepper-header-label-text-size);font-weight:var(--mat-stepper-header-label-text-weight);color:var(--mat-stepper-header-label-text-color)}.mat-step-label.mat-step-label-active{color:var(--mat-stepper-header-selected-state-label-text-color)}.mat-step-label.mat-step-label-error{color:var(--mat-stepper-header-error-state-label-text-color);font-size:var(--mat-stepper-header-error-state-label-text-size)}.mat-step-label.mat-step-label-selected{font-size:var(--mat-stepper-header-selected-state-label-text-size);font-weight:var(--mat-stepper-header-selected-state-label-text-weight)}.mat-step-text-label{text-overflow:ellipsis;overflow:hidden}.mat-step-header .mat-step-header-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-step-icon-selected{background-color:var(--mat-stepper-header-selected-state-icon-background-color);color:var(--mat-stepper-header-selected-state-icon-foreground-color)}.mat-step-icon-state-done{background-color:var(--mat-stepper-header-done-state-icon-background-color);color:var(--mat-stepper-header-done-state-icon-foreground-color)}.mat-step-icon-state-edit{background-color:var(--mat-stepper-header-edit-state-icon-background-color);color:var(--mat-stepper-header-edit-state-icon-foreground-color)}'],encapsulation:2,changeDetection:0})}}return n})();const gn={horizontalStepTransition:(0,I.hZ)("horizontalStepTransition",[(0,I.wk)("previous",(0,I.iF)({transform:"translate3d(-100%, 0, 0)",visibility:"hidden"})),(0,I.wk)("current",(0,I.iF)({transform:"none",visibility:"inherit"})),(0,I.wk)("next",(0,I.iF)({transform:"translate3d(100%, 0, 0)",visibility:"hidden"})),(0,I.kY)("* => *",(0,I.Os)([(0,I.i0)("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)"),(0,I.P)("@*",(0,I.MA)(),{optional:!0})]),{params:{animationDuration:"500ms"}})]),verticalStepTransition:(0,I.hZ)("verticalStepTransition",[(0,I.wk)("previous",(0,I.iF)({height:"0px",visibility:"hidden"})),(0,I.wk)("next",(0,I.iF)({height:"0px",visibility:"hidden"})),(0,I.wk)("current",(0,I.iF)({height:"*",visibility:"inherit"})),(0,I.kY)("* <=> current",(0,I.Os)([(0,I.i0)("{{animationDuration}} cubic-bezier(0.4, 0.0, 0.2, 1)"),(0,I.P)("@*",(0,I.MA)(),{optional:!0})]),{params:{animationDuration:"225ms"}})])};let fn=(()=>{class n{constructor(t){this.templateRef=t}static{this.\u0275fac=function(o){return new(o||n)(e.rXU(e.C4Q))}}static{this.\u0275dir=e.FsC({type:n,selectors:[["ng-template","matStepperIcon",""]],inputs:{name:["matStepperIcon","name"]}})}}return n})(),Fr=(()=>{class n{constructor(t){this._template=t}static{this.\u0275fac=function(o){return new(o||n)(e.rXU(e.C4Q))}}static{this.\u0275dir=e.FsC({type:n,selectors:[["ng-template","matStepContent",""]]})}}return n})(),un=(()=>{class n extends bt{constructor(t,o,i,r){super(t,r),this._errorStateMatcher=o,this._viewContainerRef=i,this._isSelected=nr.yU.EMPTY,this.stepLabel=void 0}ngAfterContentInit(){this._isSelected=this._stepper.steps.changes.pipe((0,Ce.n)(()=>this._stepper.selectionChange.pipe((0,z.T)(t=>t.selectedStep===this),(0,Ge.Z)(this._stepper.selected===this)))).subscribe(t=>{t&&this._lazyContent&&!this._portal&&(this._portal=new ft.VA(this._lazyContent._template,this._viewContainerRef))})}ngOnDestroy(){this._isSelected.unsubscribe()}isErrorState(t,o){return this._errorStateMatcher.isErrorState(t,o)||!!(t&&t.invalid&&this.interacted)}static{this.\u0275fac=function(o){return new(o||n)(e.rXU((0,e.Rfq)(()=>hn)),e.rXU(q.es,4),e.rXU(e.c1b),e.rXU(cn,8))}}static{this.\u0275cmp=e.VBU({type:n,selectors:[["mat-step"]],contentQueries:function(o,i,r){if(1&o&&(e.wni(r,Ke,5),e.wni(r,Fr,5)),2&o){let c;e.mGM(c=e.lsd())&&(i.stepLabel=c.first),e.mGM(c=e.lsd())&&(i._lazyContent=c.first)}},inputs:{color:"color"},exportAs:["matStep"],features:[e.Jv_([{provide:q.es,useExisting:n},{provide:bt,useExisting:n}]),e.Vt3],ngContentSelectors:ur,decls:1,vars:0,consts:[[3,"cdkPortalOutlet"]],template:function(o,i){1&o&&(e.NAR(),e.DNE(0,fr,2,1,"ng-template"))},dependencies:[ft.I3],encapsulation:2,changeDetection:0})}}return n})(),hn=(()=>{class n extends Ae{get animationDuration(){return this._animationDuration}set animationDuration(t){this._animationDuration=/^\d+$/.test(t)?t+"ms":t}constructor(t,o,i){super(t,o,i),this._stepHeader=void 0,this._steps=void 0,this.steps=new e.rOR,this.animationDone=new e.bkB,this.labelPosition="end",this.headerPosition="top",this._iconOverrides={},this._animationDone=new xe.B,this._animationDuration="";const r=i.nativeElement.nodeName.toLowerCase();this.orientation="mat-vertical-stepper"===r?"vertical":"horizontal"}ngAfterContentInit(){super.ngAfterContentInit(),this._icons.forEach(({name:t,templateRef:o})=>this._iconOverrides[t]=o),this.steps.changes.pipe((0,he.Q)(this._destroyed)).subscribe(()=>{this._stateChanged()}),this._animationDone.pipe((0,or.F)((t,o)=>t.fromState===o.fromState&&t.toState===o.toState),(0,he.Q)(this._destroyed)).subscribe(t=>{"current"===t.toState&&this.animationDone.emit()})}_stepIsNavigable(t,o){return o.completed||this.selectedIndex===t||!this.linear}_getAnimationDuration(){return this.animationDuration?this.animationDuration:"horizontal"===this.orientation?"500ms":"225ms"}static{this.\u0275fac=function(o){return new(o||n)(e.rXU(ut.dS,8),e.rXU(e.gRc),e.rXU(e.aKT))}}static{this.\u0275cmp=e.VBU({type:n,selectors:[["mat-stepper"],["mat-vertical-stepper"],["mat-horizontal-stepper"],["","matStepper",""]],contentQueries:function(o,i,r){if(1&o&&(e.wni(r,un,5),e.wni(r,fn,5)),2&o){let c;e.mGM(c=e.lsd())&&(i._steps=c),e.mGM(c=e.lsd())&&(i._icons=c)}},viewQuery:function(o,i){if(1&o&&e.GBs(pn,5),2&o){let r;e.mGM(r=e.lsd())&&(i._stepHeader=r)}},hostAttrs:["role","tablist","ngSkipHydration",""],hostVars:11,hostBindings:function(o,i){2&o&&(e.BMQ("aria-orientation",i.orientation),e.AVh("mat-stepper-horizontal","horizontal"===i.orientation)("mat-stepper-vertical","vertical"===i.orientation)("mat-stepper-label-position-end","horizontal"===i.orientation&&"end"==i.labelPosition)("mat-stepper-label-position-bottom","horizontal"===i.orientation&&"bottom"==i.labelPosition)("mat-stepper-header-position-bottom","bottom"===i.headerPosition))},inputs:{selectedIndex:"selectedIndex",disableRipple:"disableRipple",color:"color",labelPosition:"labelPosition",headerPosition:"headerPosition",animationDuration:"animationDuration"},outputs:{animationDone:"animationDone"},exportAs:["matStepper","matVerticalStepper","matHorizontalStepper"],features:[e.Jv_([{provide:Ae,useExisting:n}]),e.Vt3],decls:5,vars:3,consts:[[3,"ngSwitch"],["class","mat-horizontal-stepper-wrapper",4,"ngSwitchCase"],[4,"ngSwitchCase"],["stepTemplate",""],[1,"mat-horizontal-stepper-wrapper"],[1,"mat-horizontal-stepper-header-container"],[4,"ngFor","ngForOf"],[1,"mat-horizontal-content-container"],["class","mat-horizontal-stepper-content","role","tabpanel",3,"id","mat-horizontal-stepper-content-inactive",4,"ngFor","ngForOf"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],["class","mat-stepper-horizontal-line",4,"ngIf"],[1,"mat-stepper-horizontal-line"],["role","tabpanel",1,"mat-horizontal-stepper-content",3,"id"],[3,"ngTemplateOutlet"],["class","mat-step",4,"ngFor","ngForOf"],[1,"mat-step"],[1,"mat-vertical-content-container"],["role","tabpanel",1,"mat-vertical-stepper-content",3,"id"],[1,"mat-vertical-content"],[3,"tabIndex","id","index","state","label","selected","active","optional","errorMessage","iconOverrides","disableRipple","color","click","keydown"]],template:function(o,i){1&o&&(e.qex(0,0),e.DNE(1,xr,5,2,"div",1),e.DNE(2,kr,2,1,"ng-container",2),e.bVm(),e.DNE(3,yr,1,23,"ng-template",null,3,e.C5r)),2&o&&(e.Y8G("ngSwitch",i.orientation),e.R7$(1),e.Y8G("ngSwitchCase","horizontal"),e.R7$(1),e.Y8G("ngSwitchCase","vertical"))},dependencies:[d.Sq,d.bT,d.T3,d.ux,d.e1,pn],styles:['.mat-stepper-vertical,.mat-stepper-horizontal{display:block;font-family:var(--mat-stepper-container-text-font);background:var(--mat-stepper-container-color)}.mat-horizontal-stepper-header-container{white-space:nowrap;display:flex;align-items:center}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header-container{align-items:flex-start}.mat-stepper-header-position-bottom .mat-horizontal-stepper-header-container{order:1}.mat-stepper-horizontal-line{border-top-width:1px;border-top-style:solid;flex:auto;height:0;margin:0 -16px;min-width:32px;border-top-color:var(--mat-stepper-line-color)}.mat-stepper-label-position-bottom .mat-stepper-horizontal-line{margin:0;min-width:0;position:relative;top:calc(calc((var(--mat-stepper-header-height) - 24px) / 2) + 12px)}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:first-child)::before,[dir=rtl] .mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:last-child)::before,.mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:last-child)::after,[dir=rtl] .mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:first-child)::after{border-top-width:1px;border-top-style:solid;content:"";display:inline-block;height:0;position:absolute;width:calc(50% - 20px)}.mat-horizontal-stepper-header{display:flex;height:72px;overflow:hidden;align-items:center;padding:0 24px;height:var(--mat-stepper-header-height)}.mat-horizontal-stepper-header .mat-step-icon{margin-right:8px;flex:none}[dir=rtl] .mat-horizontal-stepper-header .mat-step-icon{margin-right:0;margin-left:8px}.mat-horizontal-stepper-header::before,.mat-horizontal-stepper-header::after{border-top-color:var(--mat-stepper-line-color)}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header{padding:calc((var(--mat-stepper-header-height) - 24px) / 2) 24px}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header::before,.mat-stepper-label-position-bottom .mat-horizontal-stepper-header::after{top:calc(calc((var(--mat-stepper-header-height) - 24px) / 2) + 12px)}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header{box-sizing:border-box;flex-direction:column;height:auto}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:last-child)::after,[dir=rtl] .mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:first-child)::after{right:0}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:first-child)::before,[dir=rtl] .mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:last-child)::before{left:0}[dir=rtl] .mat-stepper-label-position-bottom .mat-horizontal-stepper-header:last-child::before,[dir=rtl] .mat-stepper-label-position-bottom .mat-horizontal-stepper-header:first-child::after{display:none}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header .mat-step-icon{margin-right:0;margin-left:0}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header .mat-step-label{padding:16px 0 0 0;text-align:center;width:100%}.mat-vertical-stepper-header{display:flex;align-items:center;height:24px;padding:calc((var(--mat-stepper-header-height) - 24px) / 2) 24px}.mat-vertical-stepper-header .mat-step-icon{margin-right:12px}[dir=rtl] .mat-vertical-stepper-header .mat-step-icon{margin-right:0;margin-left:12px}.mat-horizontal-stepper-wrapper{display:flex;flex-direction:column}.mat-horizontal-stepper-content{outline:0}.mat-horizontal-stepper-content.mat-horizontal-stepper-content-inactive{height:0;overflow:hidden}.mat-horizontal-stepper-content:not(.mat-horizontal-stepper-content-inactive){visibility:inherit !important}.mat-horizontal-content-container{overflow:hidden;padding:0 24px 24px 24px}.cdk-high-contrast-active .mat-horizontal-content-container{outline:solid 1px}.mat-stepper-header-position-bottom .mat-horizontal-content-container{padding:24px 24px 0 24px}.mat-vertical-content-container{margin-left:36px;border:0;position:relative}.cdk-high-contrast-active .mat-vertical-content-container{outline:solid 1px}[dir=rtl] .mat-vertical-content-container{margin-left:0;margin-right:36px}.mat-stepper-vertical-line::before{content:"";position:absolute;left:0;border-left-width:1px;border-left-style:solid;border-left-color:var(--mat-stepper-line-color);top:calc(8px - calc((var(--mat-stepper-header-height) - 24px) / 2));bottom:calc(8px - calc((var(--mat-stepper-header-height) - 24px) / 2))}[dir=rtl] .mat-stepper-vertical-line::before{left:auto;right:0}.mat-vertical-stepper-content{overflow:hidden;outline:0}.mat-vertical-stepper-content:not(.mat-vertical-stepper-content-inactive){visibility:inherit !important}.mat-vertical-content{padding:0 24px 24px 24px}.mat-step:last-child .mat-vertical-content-container{border:none}'],encapsulation:2,data:{animation:[gn.horizontalStepTransition,gn.verticalStepTransition]},changeDetection:0})}}return n})(),wr=(()=>{class n extends Za{static{this.\u0275fac=function(){let t;return function(i){return(t||(t=e.xGo(n)))(i||n)}}()}static{this.\u0275dir=e.FsC({type:n,selectors:[["button","matStepperNext",""]],hostAttrs:[1,"mat-stepper-next"],hostVars:1,hostBindings:function(o,i){2&o&&e.Mr5("type",i.type)},inputs:{type:"type"},features:[e.Vt3]})}}return n})(),Dr=(()=>{class n extends er{static{this.\u0275fac=function(){let t;return function(i){return(t||(t=e.xGo(n)))(i||n)}}()}static{this.\u0275dir=e.FsC({type:n,selectors:[["button","matStepperPrevious",""]],hostAttrs:[1,"mat-stepper-previous"],hostVars:1,hostBindings:function(o,i){2&o&&e.Mr5("type",i.type)},inputs:{type:"type"},features:[e.Vt3]})}}return n})(),Tr=(()=>{class n{static{this.\u0275fac=function(o){return new(o||n)}}static{this.\u0275mod=e.$C({type:n})}static{this.\u0275inj=e.G2t({providers:[Or,q.es],imports:[q.yE,d.MD,ft.jc,tr,Z.m_,q.pZ,q.yE]})}}return n})();var J=g(58001),Sr=g(7967),bn=g(16396),Rr=g(35877);const Ir=["calendlyWidget"];let Er=(()=>{class n{constructor(t,o,i,r){this.userDataService=t,this.systemConfigService=o,this.dfPaywallService=i,this.data=r}ngOnInit(){const o=this.userDataService.userData?.email,i=this.systemConfigService?.environment?.client?.ipAddress;this.dfPaywallService.trackPaywallHit(o,i,this.data.serviceName)}ngAfterViewInit(){window.Calendly.initInlineWidget({url:"https://calendly.com/dreamfactory-platform/unlock-all-features",parentElement:this.calendlyWidget.nativeElement,autoLoad:!1})}static{this.\u0275fac=function(o){return new(o||n)(e.rXU(Kt.T),e.rXU(bn.f),e.rXU(Rr.o),e.rXU(h.Vh))}}static{this.\u0275cmp=e.VBU({type:n,selectors:[["df-paywall-modal"]],viewQuery:function(o,i){if(1&o&&e.GBs(Ir,5),2&o){let r;e.mGM(r=e.lsd())&&(i.calendlyWidget=r.first)}},standalone:!0,features:[e.aNF],decls:39,vars:27,consts:[[1,"app-container",2,"padding","12px 20px"],["mat-dialog-title","",2,"text-align","center"],[1,"paywall-container"],[1,"details-section"],[1,"info-columns"],[1,"info-column"],[3,"innerHTML"],[1,"paywall-contact"],["href","tel:+1 415-993-5877"],["href","mailto:info@dreamfactory.com"],[1,"calendly-inline-widget"],["calendlyWidget",""]],template:function(o,i){1&o&&(e.j41(0,"div",0)(1,"h1",1),e.EFF(2,"Unlock Service"),e.k0s(),e.j41(3,"mat-dialog-content")(4,"div",2)(5,"h2"),e.EFF(6),e.nI1(7,"transloco"),e.k0s(),e.j41(8,"h2"),e.EFF(9),e.nI1(10,"transloco"),e.k0s(),e.j41(11,"div",3)(12,"div",4)(13,"div",5)(14,"h4"),e.EFF(15),e.nI1(16,"transloco"),e.k0s(),e.nrm(17,"p",6),e.nI1(18,"transloco"),e.k0s(),e.j41(19,"div",5)(20,"h4"),e.EFF(21),e.nI1(22,"transloco"),e.k0s(),e.j41(23,"p"),e.EFF(24),e.nI1(25,"transloco"),e.k0s()()()(),e.j41(26,"h2"),e.EFF(27),e.nI1(28,"transloco"),e.k0s()(),e.j41(29,"h3",7)(30,"a",8),e.EFF(31),e.nI1(32,"transloco"),e.k0s(),e.EFF(33," | "),e.j41(34,"a",9),e.EFF(35),e.nI1(36,"transloco"),e.k0s()(),e.nrm(37,"div",10,11),e.k0s()()),2&o&&(e.R7$(6),e.JRh(e.bMT(7,9,"paywall.header")),e.R7$(3),e.JRh(e.bMT(10,11,"paywall.subheader")),e.R7$(6),e.JRh(e.bMT(16,13,"paywall.hostedTrial")),e.R7$(2),e.Y8G("innerHTML",e.bMT(18,15,"paywall.bookTime"),e.npT),e.R7$(4),e.JRh(e.bMT(22,17,"paywall.learnMoreTitle")),e.R7$(3),e.JRh(e.bMT(25,19,"paywall.gain")),e.R7$(3),e.JRh(e.bMT(28,21,"paywall.speakToHuman")),e.R7$(4),e.SpI("",e.bMT(32,23,"phone"),": +1 415-993-5877"),e.R7$(4),e.SpI(" ",e.bMT(36,25,"email"),": info@dreamfactory.com "))},dependencies:[h.hM,h.BI,h.Yi,u.Hl,D.Kj]})}}return n})();var $r=g(81137),vt=g(17189),Gr=g(60875);function jr(n,a){if(1&n&&(e.j41(0,"span",29),e.EFF(1),e.k0s()),2&n){const t=e.XpG().$implicit;e.R7$(1),e.SpI(" \xb7 ",t.role,"")}}function Nr(n,a){if(1&n&&(e.j41(0,"mat-option",27),e.EFF(1),e.DNE(2,jr,2,1,"span",28),e.k0s()),2&n){const t=a.$implicit;e.Y8G("value",t.apiKey),e.R7$(1),e.SpI(" ",t.label,""),e.R7$(1),e.Y8G("ngIf",t.role)}}function Ar(n,a){if(1&n){const t=e.RV6();e.j41(0,"mat-form-field",9)(1,"mat-label"),e.EFF(2),e.k0s(),e.j41(3,"mat-select",10),e.bIt("selectionChange",function(i){e.eBV(t);const r=e.XpG(2);return e.Njj(r.selectedKey=i.value)}),e.DNE(4,Nr,3,3,"mat-option",26),e.k0s()()}if(2&n){const t=e.XpG().$implicit,o=e.XpG();let i;e.R7$(2),e.JRh(t("keyLabel")),e.R7$(1),e.Y8G("value",null!==(i=o.selectedKey)&&void 0!==i?i:o.keyOptions[0].apiKey),e.R7$(1),e.Y8G("ngForOf",o.keyOptions)("ngForTrackBy",o.trackByLabel)}}function Yr(n,a){if(1&n){const t=e.RV6();e.j41(0,"dd",15)(1,"code",16),e.EFF(2),e.k0s(),e.j41(3,"button",17),e.bIt("click",function(){e.eBV(t);const i=e.XpG(2);return e.Njj(i.onCopy("authHeader",i.headerName+": "+i.activeKey))}),e.nrm(4,"fa-icon",18),e.k0s()()}if(2&n){const t=e.XpG().$implicit,o=e.XpG();e.R7$(2),e.Lme("",o.headerName,": ",o.activeKey,""),e.R7$(1),e.Y8G("matTooltip",t("authHeader"===o.copiedBlock?"copied":"copy")),e.BMQ("aria-label",t("copy")),e.R7$(1),e.AVh("is-copied","authHeader"===o.copiedBlock),e.Y8G("icon","authHeader"===o.copiedBlock?o.faCheck:o.faCopy)}}function Vr(n,a){if(1&n){const t=e.RV6();e.j41(0,"dd",30),e.nrm(1,"df-badge",31),e.j41(2,"span",32),e.EFF(3),e.k0s(),e.j41(4,"button",33),e.bIt("click",function(){e.eBV(t);const i=e.XpG(2);return e.Njj(i.createKey.emit())}),e.nrm(5,"fa-icon",18),e.EFF(6),e.k0s()()}if(2&n){const t=e.XpG().$implicit,o=e.XpG();e.R7$(1),e.Y8G("label",t("noKeyBadge")),e.R7$(2),e.JRh(t("noKeyHint")),e.R7$(2),e.Y8G("icon",o.faPlus),e.R7$(1),e.SpI(" ",t("createKey")," ")}}function Xr(n,a){1&n&&e.eu8(0)}function zr(n,a){1&n&&e.eu8(0)}function Br(n,a){1&n&&e.eu8(0)}function Lr(n,a){if(1&n&&(e.EFF(0),e.nrm(1,"df-badge",34)),2&n){const t=e.XpG().$implicit;e.SpI(" ",t("tabs.mcp")," "),e.R7$(1),e.Y8G("dot",!1)}}function Ur(n,a){1&n&&e.eu8(0)}function qr(n,a){if(1&n){const t=e.RV6();e.j41(0,"div",35)(1,"div",36)(2,"span",37),e.EFF(3),e.k0s(),e.j41(4,"button",38),e.bIt("click",function(){const i=e.eBV(t),r=i.id,c=i.code,s=e.XpG(2);return e.Njj(s.onCopy(r,c))}),e.nrm(5,"fa-icon",18),e.EFF(6),e.k0s()(),e.j41(7,"pre",39)(8,"code"),e.EFF(9),e.k0s()()()}if(2&n){const t=a.id,o=a.code,i=a.note,r=e.XpG().$implicit,c=e.XpG();e.R7$(3),e.JRh(i),e.R7$(1),e.AVh("is-copied",c.copiedBlock===t),e.R7$(1),e.Y8G("icon",c.copiedBlock===t?c.faCheck:c.faCopy),e.R7$(1),e.SpI(" ",r(c.copiedBlock===t?"copied":"copy")," "),e.R7$(3),e.JRh(o)}}const Ee=function(n){return{table:n}},Kr=function(n,a){return{id:"curl",code:n,note:a}},Jr=function(n,a){return{id:"javascript",code:n,note:a}},Hr=function(n,a){return{id:"python",code:n,note:a}},Wr=function(n,a){return{id:"mcp",code:n,note:a}};function Qr(n,a){if(1&n){const t=e.RV6();e.j41(0,"section",1)(1,"header",2)(2,"div",3)(3,"span",4),e.EFF(4),e.k0s(),e.j41(5,"h3",5),e.EFF(6),e.k0s(),e.j41(7,"p",6),e.EFF(8),e.k0s()(),e.j41(9,"div",7),e.DNE(10,Ar,5,4,"mat-form-field",8),e.j41(11,"mat-form-field",9)(12,"mat-label"),e.EFF(13),e.k0s(),e.j41(14,"mat-select",10),e.bIt("selectionChange",function(i){e.eBV(t);const r=e.XpG();return e.Njj(r.format=i.value)}),e.j41(15,"mat-option",11),e.EFF(16,"JSON"),e.k0s(),e.j41(17,"mat-option",12),e.EFF(18,"XML"),e.k0s()()()()(),e.j41(19,"dl",13)(20,"div",14)(21,"dt",4),e.EFF(22),e.k0s(),e.j41(23,"dd",15)(24,"code",16),e.EFF(25),e.k0s(),e.j41(26,"button",17),e.bIt("click",function(){e.eBV(t);const i=e.XpG();return e.Njj(i.onCopy("baseUrl",i.resolvedBase))}),e.nrm(27,"fa-icon",18),e.k0s()()(),e.j41(28,"div",14)(29,"dt",4),e.EFF(30),e.k0s(),e.DNE(31,Yr,5,7,"dd",19),e.DNE(32,Vr,7,4,"ng-template",null,20,e.C5r),e.k0s()(),e.j41(34,"mat-tab-group",21)(35,"mat-tab",22),e.DNE(36,Xr,1,0,"ng-container",23),e.k0s(),e.j41(37,"mat-tab",22),e.DNE(38,zr,1,0,"ng-container",23),e.k0s(),e.j41(39,"mat-tab",22),e.DNE(40,Br,1,0,"ng-container",23),e.k0s(),e.j41(41,"mat-tab"),e.DNE(42,Lr,2,2,"ng-template",24),e.DNE(43,Ur,1,0,"ng-container",23),e.k0s()(),e.DNE(44,qr,10,6,"ng-template",null,25,e.C5r),e.k0s()}if(2&n){const t=a.$implicit,o=e.sdS(33),i=e.sdS(45),r=e.XpG();e.R7$(4),e.JRh(t("eyebrow")),e.R7$(2),e.JRh(t("title")),e.R7$(2),e.JRh(t("subtitle")),e.R7$(2),e.Y8G("ngIf",r.hasKey),e.R7$(3),e.JRh(t("formatLabel")),e.R7$(1),e.Y8G("value",r.format),e.R7$(8),e.JRh(t("baseUrlLabel")),e.R7$(3),e.JRh(r.resolvedBase),e.R7$(1),e.Y8G("matTooltip",t("baseUrl"===r.copiedBlock?"copied":"copy")),e.BMQ("aria-label",t("copy")),e.R7$(1),e.AVh("is-copied","baseUrl"===r.copiedBlock),e.Y8G("icon","baseUrl"===r.copiedBlock?r.faCheck:r.faCopy),e.R7$(3),e.JRh(t("authHeaderLabel")),e.R7$(1),e.Y8G("ngIf",r.hasKey)("ngIfElse",o),e.R7$(3),e.Y8G("mat-stretch-tabs",!1),e.R7$(1),e.Y8G("label",t("tabs.curl")),e.R7$(1),e.Y8G("ngTemplateOutlet",i)("ngTemplateOutletContext",e.l_i(32,Kr,r.curlSnippet,r.activeKeyVerified?t("runNote",e.eq3(28,Ee,r.sampleTable)):t("previewNote",e.eq3(30,Ee,r.sampleTable)))),e.R7$(1),e.Y8G("label",t("tabs.javascript")),e.R7$(1),e.Y8G("ngTemplateOutlet",i)("ngTemplateOutletContext",e.l_i(39,Jr,r.javascriptSnippet,r.activeKeyVerified?t("runNote",e.eq3(35,Ee,r.sampleTable)):t("previewNote",e.eq3(37,Ee,r.sampleTable)))),e.R7$(1),e.Y8G("label",t("tabs.python")),e.R7$(1),e.Y8G("ngTemplateOutlet",i)("ngTemplateOutletContext",e.l_i(46,Hr,r.pythonSnippet,r.activeKeyVerified?t("runNote",e.eq3(42,Ee,r.sampleTable)):t("previewNote",e.eq3(44,Ee,r.sampleTable)))),e.R7$(3),e.Y8G("ngTemplateOutlet",i)("ngTemplateOutletContext",e.l_i(49,Wr,r.mcpSnippet,t("mcpNote")))}}let Zr=(()=>{class n{get keyOptions(){return this.keys?.length?this.keys:this.apiKey?[{label:"Default key",apiKey:this.apiKey}]:[]}get hasKey(){return this.keyOptions.length>0}get activeKey(){return this.hasKey?(this.keyOptions.find(o=>o.apiKey===this.selectedKey)??this.keyOptions[0]).apiKey:"YOUR_API_KEY"}get activeKeyVerified(){return!!this.hasKey&&!!(this.keyOptions.find(o=>o.apiKey===this.selectedKey)??this.keyOptions[0]).verified}get resolvedBase(){return(this.baseUrl??"").replace(/\/+$/,"")||`${this.origin}${A.C}/${this.serviceName}`}get endpointUrl(){return`${this.resolvedBase}/_table/${this.sampleTable}?limit=5`}get resolvedMcpUrl(){return(this.mcpUrl??`${this.resolvedBase}/_mcp`).replace(/\/+$/,"")}get acceptHeader(){return"xml"===this.format?"application/xml":"application/json"}get curlSnippet(){return[`curl -X GET '${this.endpointUrl}' \\`,` -H 'Accept: ${this.acceptHeader}' \\`,` -H '${this.headerName}: ${this.activeKey}'`].join("\n")}get javascriptSnippet(){return[`const res = await fetch('${this.endpointUrl}', {`," headers: {",` 'Accept': '${this.acceptHeader}',`,` '${this.headerName}': '${this.activeKey}',`," },","});",`const data = await res.${"xml"===this.format?"text":"json"}();`,"console.log(data);"].join("\n")}get pythonSnippet(){return["import requests","","res = requests.get(",` '${this.endpointUrl}',`," headers={",` 'Accept': '${this.acceptHeader}',`,` '${this.headerName}': '${this.activeKey}',`," },",")",`print(${"xml"===this.format?"res.text":"res.json()"})`].join("\n")}get mcpSnippet(){return["{",' "mcpServers": {',` "dreamfactory-${this.serviceName||"service"}": {`,' "type": "http",',` "url": "${this.resolvedMcpUrl}",`,' "headers": {',` "${this.headerName}": "${this.activeKey}"`," }"," }"," }","}"].join("\n")}onCopy(t,o){this.clipboard.copy(o),this.copiedBlock=t,this.copied.emit(t),this.copyTimer&&clearTimeout(this.copyTimer),this.copyTimer=setTimeout(()=>{this.copiedBlock=null},1600)}trackByLabel(t,o){return o.apiKey}constructor(t){this.clipboard=t,this.serviceName="",this.sampleTable="your_table",this.keys=[],this.createKey=new e.bkB,this.copied=new e.bkB,this.selectedKey=null,this.format="json",this.copiedBlock=null,this.headerName=st.dE,this.faCopy=b.jPR,this.faCheck=b.e68,this.faPlus=b.QLR,this.origin=typeof window<"u"&&window.location?window.location.origin:""}static{this.\u0275fac=function(o){return new(o||n)(e.rXU(Gr.B0))}}static{this.\u0275cmp=e.VBU({type:n,selectors:[["df-artifact-card"]],inputs:{serviceName:"serviceName",baseUrl:"baseUrl",apiKey:"apiKey",sampleTable:"sampleTable",keys:"keys",mcpUrl:"mcpUrl"},outputs:{createKey:"createKey",copied:"copied"},standalone:!0,features:[e.aNF],decls:1,vars:1,consts:[["class","artifact-card",4,"transloco","translocoRead"],[1,"artifact-card"],[1,"artifact-card__head"],[1,"artifact-card__intro"],[1,"df-eyebrow"],[1,"artifact-card__title"],[1,"artifact-card__subtitle"],[1,"artifact-card__switchers"],["appearance","outline","class","artifact-card__field",4,"ngIf"],["appearance","outline",1,"artifact-card__field"],["panelClass","artifact-card__panel",3,"value","selectionChange"],["value","json"],["value","xml"],[1,"artifact-card__meta"],[1,"artifact-card__meta-row"],[1,"artifact-card__meta-val"],[1,"artifact-card__inline"],["type","button","mat-icon-button","",1,"artifact-card__copy",3,"matTooltip","click"],[3,"icon"],["class","artifact-card__meta-val",4,"ngIf","ngIfElse"],["noKey",""],["animationDuration","0ms","disableRipple","",1,"artifact-card__tabs",3,"mat-stretch-tabs"],[3,"label"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],["mat-tab-label",""],["block",""],[3,"value",4,"ngFor","ngForOf","ngForTrackBy"],[3,"value"],["class","artifact-card__opt-role",4,"ngIf"],[1,"artifact-card__opt-role"],[1,"artifact-card__meta-val","artifact-card__nokey"],["variant","neutral",3,"label"],[1,"artifact-card__nokey-hint"],["type","button","mat-button","",1,"artifact-card__nokey-cta",3,"click"],["variant","ai","label","MCP",1,"artifact-card__mcp-badge",3,"dot"],[1,"artifact-card__block"],[1,"artifact-card__code-head"],[1,"artifact-card__note"],["type","button","mat-button","",1,"artifact-card__copy-btn",3,"click"],[1,"artifact-card__code"]],template:function(o,i){1&o&&e.DNE(0,Qr,46,52,"section",0),2&o&&e.Y8G("translocoRead","artifactCard")},dependencies:[d.bT,d.pM,d.T3,D.Q8,D.bA,oe.RI,oe.ES,oe.mq,oe.T8,G.Ve,O.rl,O.nJ,G.VO,q.wT,O.RG,u.Hl,u.$z,u.iY,S.uc,S.oV,w.dX,w.aY,vt.v],styles:["[_nghost-%COMP%]{display:block}.artifact-card[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:var(--df-space-4);padding:var(--df-space-5);background-color:var(--df-surface);border:1px solid var(--df-border);border-radius:var(--df-radius)}.artifact-card__head[_ngcontent-%COMP%]{display:flex;flex-wrap:wrap;align-items:flex-start;justify-content:space-between;gap:var(--df-space-4)}.artifact-card__intro[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:var(--df-space-1);min-width:0}.artifact-card__title[_ngcontent-%COMP%]{margin:0;font-size:var(--df-font-size-lg);font-weight:var(--df-font-weight-heading);line-height:var(--df-lh-tight);color:var(--df-text)}.artifact-card__subtitle[_ngcontent-%COMP%]{margin:0;font-size:var(--df-font-size-sm);color:var(--df-text-muted)}.artifact-card__switchers[_ngcontent-%COMP%]{display:flex;gap:var(--df-space-3);flex-wrap:wrap}.artifact-card__field[_ngcontent-%COMP%]{width:11rem}.artifact-card__field[_ngcontent-%COMP%] .mat-mdc-form-field-subscript-wrapper{display:none}.artifact-card__opt-role[_ngcontent-%COMP%]{color:var(--df-text-muted)}.artifact-card__meta[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:var(--df-space-2);margin:0;padding:var(--df-space-3) var(--df-space-4);background-color:var(--df-surface-2);border:1px solid var(--df-border-2);border-radius:var(--df-radius-sm)}.artifact-card__meta-row[_ngcontent-%COMP%]{display:flex;align-items:center;gap:var(--df-space-3);min-width:0}.artifact-card__meta-row[_ngcontent-%COMP%] dt[_ngcontent-%COMP%]{flex:0 0 5.5rem}.artifact-card__meta-val[_ngcontent-%COMP%]{display:flex;align-items:center;gap:var(--df-space-2);margin:0;min-width:0;flex:1 1 auto}.artifact-card__inline[_ngcontent-%COMP%]{font-family:var(--df-font-mono);font-size:var(--df-font-size-xs);color:var(--df-text-2);overflow-x:auto;white-space:nowrap;padding:var(--df-space-1) 0}.artifact-card__copy[_ngcontent-%COMP%]{flex:0 0 auto;color:var(--df-text-muted);transition:color var(--df-duration-fast) var(--df-ease-standard)}.artifact-card__copy[_ngcontent-%COMP%]:hover{color:var(--df-text)}.artifact-card__copy[_ngcontent-%COMP%] .is-copied[_ngcontent-%COMP%]{color:var(--df-success)}.artifact-card__nokey[_ngcontent-%COMP%]{flex-wrap:wrap}.artifact-card__nokey-hint[_ngcontent-%COMP%]{font-size:var(--df-font-size-xs);color:var(--df-text-muted)}.artifact-card__nokey-cta[_ngcontent-%COMP%]{color:var(--df-accent)}.artifact-card__nokey-cta[_ngcontent-%COMP%] fa-icon[_ngcontent-%COMP%]{margin-right:var(--df-space-1)}.artifact-card__mcp-badge[_ngcontent-%COMP%]{margin-left:var(--df-space-2)}.artifact-card__block[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:var(--df-space-2);padding-top:var(--df-space-3)}.artifact-card__code-head[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:space-between;gap:var(--df-space-3)}.artifact-card__note[_ngcontent-%COMP%]{font-size:var(--df-font-size-xs);color:var(--df-text-muted)}.artifact-card__copy-btn[_ngcontent-%COMP%]{flex:0 0 auto;color:var(--df-text-muted);font-size:var(--df-font-size-xs);transition:color var(--df-duration-fast) var(--df-ease-standard)}.artifact-card__copy-btn[_ngcontent-%COMP%] fa-icon[_ngcontent-%COMP%]{margin-right:var(--df-space-1)}.artifact-card__copy-btn[_ngcontent-%COMP%]:hover{color:var(--df-text)}.artifact-card__copy-btn.is-copied[_ngcontent-%COMP%]{color:var(--df-success)}.artifact-card__code[_ngcontent-%COMP%]{margin:0;padding:var(--df-space-4);background-color:var(--df-code-bg);color:var(--df-code-text);border:1px solid var(--df-border-2);border-radius:var(--df-radius-sm);font-family:var(--df-font-mono);font-size:var(--df-font-size-sm);line-height:var(--df-lh-base);overflow-x:auto}.artifact-card__code[_ngcontent-%COMP%] code[_ngcontent-%COMP%]{font-family:inherit;white-space:pre}"]})}}return n})();var vn=g(61417),xn=g(98443),Ye=g(28067);function ec(n,a){1&n&&(e.j41(0,"div",6),e.nrm(1,"df-skeleton",7),e.k0s()),2&n&&(e.R7$(1),e.Y8G("count",4))}function tc(n,a){if(1&n&&e.nrm(0,"df-empty-state",8),2&n){const t=e.XpG().$implicit;e.Y8G("title",t("emptyTitle"))("description",t("emptyHint"))}}function nc(n,a){if(1&n&&(e.j41(0,"span",14),e.EFF(1),e.k0s()),2&n){const t=a.$implicit;e.R7$(1),e.JRh(t)}}function oc(n,a){if(1&n){const t=e.RV6();e.j41(0,"button",18),e.bIt("click",function(){const r=e.eBV(t).$implicit,c=e.XpG().$implicit,s=e.XpG(3);return e.Njj(s.onCellClick(c,r))}),e.nrm(1,"span",19),e.k0s()}if(2&n){const t=a.$implicit,o=e.XpG().$implicit,i=e.XpG(2).$implicit,r=e.XpG();e.AVh("scope-matrix__cell--full","full"===r.cellState(o,t))("scope-matrix__cell--filtered","filtered"===r.cellState(o,t))("scope-matrix__cell--none","none"===r.cellState(o,t)),e.Y8G("disabled","none"===r.cellState(o,t))("title",i("state."+r.cellState(o,t))),e.BMQ("aria-label",o.roleName+" "+t+": "+i("state."+r.cellState(o,t)))}}function ic(n,a){if(1&n&&(e.j41(0,"div",15)(1,"span",16),e.EFF(2),e.k0s(),e.DNE(3,oc,2,9,"button",17),e.k0s()),2&n){const t=a.$implicit,o=e.XpG(3);e.R7$(1),e.Y8G("title",t.roleName),e.R7$(1),e.JRh(t.roleName),e.R7$(1),e.Y8G("ngForOf",o.verbs)("ngForTrackBy",o.trackByVerb)}}function ac(n,a){if(1&n&&(e.j41(0,"div",9)(1,"div",10)(2,"span",11),e.EFF(3),e.k0s(),e.DNE(4,nc,2,1,"span",12),e.k0s(),e.DNE(5,ic,4,4,"div",13),e.k0s()),2&n){const t=e.XpG().$implicit,o=e.XpG();e.BMQ("aria-label",t("ariaLabel")),e.R7$(3),e.JRh(t("roleHeader")),e.R7$(1),e.Y8G("ngForOf",o.verbs)("ngForTrackBy",o.trackByVerb),e.R7$(1),e.Y8G("ngForOf",o.rows)("ngForTrackBy",o.trackByRoleId)}}function rc(n,a){if(1&n&&(e.j41(0,"div",20)(1,"span",21),e.nrm(2,"span",22),e.EFF(3),e.k0s(),e.j41(4,"span",21),e.nrm(5,"span",23),e.EFF(6),e.k0s(),e.j41(7,"span",21),e.nrm(8,"span",24),e.EFF(9),e.k0s()()),2&n){const t=e.XpG().$implicit;e.R7$(3),e.JRh(t("state.full")),e.R7$(3),e.JRh(t("state.filtered")),e.R7$(3),e.JRh(t("state.none"))}}function cc(n,a){if(1&n&&(e.qex(0),e.j41(1,"section",1),e.DNE(2,ec,2,1,"div",2),e.DNE(3,tc,1,2,"df-empty-state",3),e.DNE(4,ac,6,6,"div",4),e.DNE(5,rc,10,3,"div",5),e.k0s(),e.bVm()),2&n){const t=e.XpG();e.R7$(2),e.Y8G("ngIf",t.loading),e.R7$(1),e.Y8G("ngIf",!t.loading&&0===t.rows.length),e.R7$(1),e.Y8G("ngIf",!t.loading&&t.rows.length>0),e.R7$(1),e.Y8G("ngIf",!t.loading&&t.rows.length>0)}}let sc=(()=>{class n{constructor(t){this.scope=t,this.cellClick=new e.bkB,this.verbs=Ye.e,this.rows=[],this.loading=!1,this.destroy$=new xe.B}ngOnChanges(t){"serviceId"in t&&this.load()}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}onCellClick(t,o){"none"!==t.verbs[o]&&this.cellClick.emit({roleId:t.roleId,verb:o})}trackByRoleId(t,o){return o.roleId}trackByVerb(t,o){return o}load(){const t=this.serviceId;this.rows=[],null!=t&&(this.loading=!0,this.scope.matrixForService(t).pipe((0,he.Q)(this.destroy$)).subscribe(o=>{this.loading=!1,this.rows=o.roles}))}cellState(t,o){return t.verbs[o]}static{this.\u0275fac=function(o){return new(o||n)(e.rXU(Ye.q))}}static{this.\u0275cmp=e.VBU({type:n,selectors:[["df-scope-matrix"]],inputs:{serviceId:"serviceId"},outputs:{cellClick:"cellClick"},standalone:!0,features:[e.OA$,e.aNF],decls:1,vars:1,consts:[[4,"transloco","translocoRead"],["data-testid","df-scope-matrix",1,"scope-matrix"],["class","scope-matrix__loading",4,"ngIf"],["icon","security",3,"title","description",4,"ngIf"],["class","scope-matrix__grid","role","table",4,"ngIf"],["class","scope-matrix__legend","aria-hidden","true",4,"ngIf"],[1,"scope-matrix__loading"],["variant","table-row",3,"count"],["icon","security",3,"title","description"],["role","table",1,"scope-matrix__grid"],["role","row",1,"scope-matrix__row","scope-matrix__row--head"],["role","columnheader",1,"scope-matrix__corner"],["class","scope-matrix__verb","role","columnheader",4,"ngFor","ngForOf","ngForTrackBy"],["class","scope-matrix__row","role","row",4,"ngFor","ngForOf","ngForTrackBy"],["role","columnheader",1,"scope-matrix__verb"],["role","row",1,"scope-matrix__row"],["role","rowheader",1,"scope-matrix__role",3,"title"],["type","button","class","scope-matrix__cell","role","cell",3,"scope-matrix__cell--full","scope-matrix__cell--filtered","scope-matrix__cell--none","disabled","title","click",4,"ngFor","ngForOf","ngForTrackBy"],["type","button","role","cell",1,"scope-matrix__cell",3,"disabled","title","click"],["aria-hidden","true",1,"scope-matrix__dot"],["aria-hidden","true",1,"scope-matrix__legend"],[1,"scope-matrix__legend-item"],[1,"scope-matrix__dot","scope-matrix__dot--full"],[1,"scope-matrix__dot","scope-matrix__dot--filtered"],[1,"scope-matrix__dot","scope-matrix__dot--none"]],template:function(o,i){1&o&&e.DNE(0,cc,6,4,"ng-container",0),2&o&&e.Y8G("translocoRead","scopeMatrix")},dependencies:[d.MD,d.Sq,d.bT,D.Q8,D.bA,vn.M,xn.d],styles:["[_nghost-%COMP%]{display:block}.scope-matrix[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:var(--df-space-4)}.scope-matrix__loading[_ngcontent-%COMP%]{padding:var(--df-space-2) 0}.scope-matrix__grid[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:var(--df-space-1);overflow-x:auto;padding-bottom:var(--df-space-1)}.scope-matrix__row[_ngcontent-%COMP%]{display:grid;grid-template-columns:minmax(12rem,1.4fr) repeat(5,minmax(4.4rem,1fr));align-items:center;gap:var(--df-space-2);min-width:40rem}.scope-matrix__row--head[_ngcontent-%COMP%]{padding-bottom:var(--df-space-1);border-bottom:1px solid var(--df-border-2)}.scope-matrix__corner[_ngcontent-%COMP%]{font-size:var(--df-font-size-xs);font-weight:var(--df-font-weight-heading);color:var(--df-text-muted);text-transform:uppercase;letter-spacing:.04em}.scope-matrix__verb[_ngcontent-%COMP%]{justify-self:center;font-size:var(--df-font-size-xs);font-weight:var(--df-font-weight-heading);color:var(--df-text-2);letter-spacing:.02em}.scope-matrix__role[_ngcontent-%COMP%]{font-size:var(--df-font-size-sm);color:var(--df-text);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.scope-matrix__cell[_ngcontent-%COMP%]{justify-self:center;display:inline-flex;align-items:center;justify-content:center;width:2.8rem;height:2.8rem;padding:0;border:1px solid transparent;border-radius:var(--df-radius-sm);background:transparent;cursor:pointer;transition:background-color .12s ease,border-color .12s ease}.scope-matrix__cell[_ngcontent-%COMP%]:hover:not(:disabled){background:var(--df-hover);border-color:var(--df-border)}.scope-matrix__cell[_ngcontent-%COMP%]:focus-visible{outline:2px solid var(--df-accent);outline-offset:1px}.scope-matrix__cell[_ngcontent-%COMP%]:disabled{cursor:default}.scope-matrix__dot[_ngcontent-%COMP%]{width:1.2rem;height:1.2rem;border-radius:50%;display:inline-block;flex:none;background:var(--df-text-muted);box-shadow:0 0 0 .3rem transparent}.scope-matrix__cell--full[_ngcontent-%COMP%] .scope-matrix__dot[_ngcontent-%COMP%], .scope-matrix__dot--full[_ngcontent-%COMP%]{background:var(--df-success);box-shadow:0 0 0 .3rem var(--df-success-soft)}.scope-matrix__cell--filtered[_ngcontent-%COMP%] .scope-matrix__dot[_ngcontent-%COMP%], .scope-matrix__dot--filtered[_ngcontent-%COMP%]{background:var(--df-warning);box-shadow:0 0 0 .3rem var(--df-warning-soft)}.scope-matrix__cell--none[_ngcontent-%COMP%] .scope-matrix__dot[_ngcontent-%COMP%], .scope-matrix__dot--none[_ngcontent-%COMP%]{background:var(--df-text-faint);box-shadow:none}.scope-matrix__legend[_ngcontent-%COMP%]{display:flex;flex-wrap:wrap;gap:var(--df-space-4);padding-top:var(--df-space-1)}.scope-matrix__legend-item[_ngcontent-%COMP%]{display:inline-flex;align-items:center;gap:var(--df-space-2);font-size:var(--df-font-size-xs);color:var(--df-text-muted)}"]})}}return n})();var lc=g(81663),dc=g(23667),pc=g(43521);function mc(n,a){if(1&n&&(e.qex(0),e.j41(1,"span",13),e.EFF(2),e.nI1(3,"transloco"),e.k0s(),e.nrm(4,"df-error-detail",14),e.bVm()),2&n){const t=e.XpG(4);e.R7$(2),e.JRh(e.bMT(3,2,t.probeError.message)),e.R7$(2),e.Y8G("error",t.probeError)}}function _c(n,a){if(1&n&&(e.j41(0,"li",11)(1,"span",12),e.EFF(2),e.nI1(3,"transloco"),e.DNE(4,mc,5,4,"ng-container",0),e.k0s()()),2&n){const t=e.XpG(3);e.R7$(2),e.SpI(" ",e.bMT(3,2,"services.health.probe.failed")," "),e.R7$(2),e.Y8G("ngIf",t.probeError)}}function gc(n,a){if(1&n&&(e.j41(0,"a",16),e.EFF(1),e.nI1(2,"transloco"),e.nrm(3,"fa-icon",5),e.k0s()),2&n){const t=e.XpG().$implicit,o=e.XpG(3);e.Y8G("routerLink",t.fix),e.R7$(1),e.SpI(" ",e.bMT(2,3,"services.health.fix."+t.id)," "),e.R7$(2),e.Y8G("icon",o.faArrowRight)}}function fc(n,a){if(1&n&&(e.j41(0,"li",11)(1,"span",12),e.EFF(2),e.nI1(3,"transloco"),e.k0s(),e.DNE(4,gc,4,5,"a",15),e.k0s()),2&n){const t=a.$implicit;e.R7$(2),e.JRh(e.bMT(3,2,"services.health.rules."+t.id)),e.R7$(2),e.Y8G("ngIf",t.fix)}}function uc(n,a){if(1&n&&(e.j41(0,"section",3),e.nI1(1,"transloco"),e.j41(2,"header",4),e.nrm(3,"fa-icon",5),e.j41(4,"span",6),e.EFF(5),e.nI1(6,"transloco"),e.k0s(),e.nrm(7,"df-badge",7),e.nI1(8,"transloco"),e.k0s(),e.j41(9,"ul",8),e.DNE(10,_c,5,4,"li",9),e.DNE(11,fc,5,4,"li",10),e.k0s()()),2&n){const t=e.XpG(2);e.AVh("health-panel--danger","danger"===t.level),e.BMQ("aria-label",e.bMT(1,9,"services.health.panelAria")),e.R7$(3),e.Y8G("icon",t.faShieldHalved),e.R7$(2),e.JRh(e.bMT(6,11,"services.health.header")),e.R7$(2),e.Y8G("variant",t.level)("label",e.bMT(8,13,"services.health.level."+t.level)),e.R7$(3),e.Y8G("ngIf","failed"===t.probe),e.R7$(1),e.Y8G("ngForOf",null==t.health?null:t.health.rules)}}function hc(n,a){1&n&&(e.qex(0),e.EFF(1),e.nI1(2,"transloco"),e.bVm()),2&n&&(e.R7$(1),e.JRh(e.bMT(2,1,"services.health.probe.checking")))}function bc(n,a){1&n&&(e.qex(0),e.EFF(1),e.nI1(2,"transloco"),e.bVm()),2&n&&(e.R7$(1),e.JRh(e.bMT(2,1,"services.health.probe.unsupported")))}function vc(n,a){1&n&&(e.qex(0),e.EFF(1),e.nI1(2,"transloco"),e.bVm()),2&n&&(e.R7$(1),e.JRh(e.bMT(2,1,"services.health.probe.ok")))}function xc(n,a){if(1&n&&(e.j41(0,"p",17),e.nrm(1,"fa-icon",5),e.j41(2,"span",18),e.DNE(3,hc,3,3,"ng-container",19),e.DNE(4,bc,3,3,"ng-container",19),e.DNE(5,vc,3,3,"ng-container",20),e.k0s()()),2&n){const t=e.XpG(2);e.AVh("health-panel__ok--muted","ok"!==t.probe),e.R7$(1),e.Y8G("icon","ok"===t.probe?t.faCircleCheck:t.faShieldHalved),e.R7$(1),e.Y8G("ngSwitch",t.probe),e.R7$(1),e.Y8G("ngSwitchCase","checking"),e.R7$(1),e.Y8G("ngSwitchCase","unsupported")}}function Cc(n,a){if(1&n&&(e.qex(0),e.DNE(1,uc,12,15,"section",1),e.DNE(2,xc,6,6,"ng-template",null,2,e.C5r),e.bVm()),2&n){const t=e.sdS(3),o=e.XpG();e.R7$(1),e.Y8G("ngIf",o.hasFindings)("ngIfElse",t)}}let xt=class Lt{constructor(a,t,o){this.healthService=a,this.probeService=t,this.cdr=o,this.serviceName="",this.probe="idle",this.probeError=null,this.faShieldHalved=b.fLc,this.faCircleCheck=b.QRE,this.faArrowRight=b.dmS}ngOnInit(){this.score(),this.runProbe()}ngOnChanges(a){(a.serviceId||a.deprecated)&&this.score(),(a.serviceId||a.serviceName||a.serviceGroup)&&this.runProbe()}get level(){return"failed"===this.probe?"danger":this.health?.level??"success"}get hasFindings(){return"failed"===this.probe||!!this.health?.rules.length}score(){if(!this.serviceId)return void(this.health=void 0);const a=this.serviceId;this.healthService.getContext().pipe((0,H.s)(this)).subscribe(t=>{this.serviceId===a&&(this.health=this.healthService.derive({id:a,name:this.serviceName,deprecated:this.deprecated},t),this.cdr.markForCheck())})}runProbe(){if(!this.serviceId||!this.serviceName)return void(this.probe="idle");const a=this.serviceName;this.probeError=null,this.probeService.probe(a,this.serviceGroup).pipe((0,H.s)(this)).subscribe(t=>{this.serviceName===a&&(this.probe=t.state,this.probeError=t.error??null,this.cdr.markForCheck())})}static{this.\u0275fac=function(t){return new(t||Lt)(e.rXU(dc.d),e.rXU(pc.j),e.rXU(e.gRc))}}static{this.\u0275cmp=e.VBU({type:Lt,selectors:[["df-service-health-panel"]],inputs:{serviceId:"serviceId",serviceName:"serviceName",serviceGroup:"serviceGroup",deprecated:"deprecated"},standalone:!0,features:[e.OA$,e.aNF],decls:1,vars:1,consts:[[4,"ngIf"],["class","health-panel",3,"health-panel--danger",4,"ngIf","ngIfElse"],["clean",""],[1,"health-panel"],[1,"health-panel__head"],["aria-hidden","true",3,"icon"],[1,"df-eyebrow"],[3,"variant","label"],[1,"health-panel__rules"],["class","health-panel__rule",4,"ngIf"],["class","health-panel__rule",4,"ngFor","ngForOf"],[1,"health-panel__rule"],[1,"health-panel__reason"],[1,"health-panel__detail"],[3,"error"],["class","health-panel__fix",3,"routerLink",4,"ngIf"],[1,"health-panel__fix",3,"routerLink"],[1,"health-panel__ok"],[3,"ngSwitch"],[4,"ngSwitchCase"],[4,"ngSwitchDefault"]],template:function(t,o){1&t&&e.DNE(0,Cc,4,2,"ng-container",0),2&t&&e.Y8G("ngIf",o.health||"idle"!==o.probe)},dependencies:[d.bT,d.pM,d.ux,d.e1,d.fG,N.Wk,D.Kj,w.dX,w.aY,vt.v,lc.R],styles:[".health-panel[_ngcontent-%COMP%]{box-sizing:border-box;display:flex;flex-direction:column;gap:var(--df-space-3);padding:var(--df-space-3) var(--df-space-4);border:1px solid var(--df-warning-border);border-radius:var(--df-radius);background:var(--df-warning-soft);color:var(--df-text)}.health-panel[_ngcontent-%COMP%] fa-icon[_ngcontent-%COMP%]{color:var(--df-warning)}.health-panel--danger[_ngcontent-%COMP%]{border-color:var(--df-danger-border);background:var(--df-danger-soft)}.health-panel--danger[_ngcontent-%COMP%] fa-icon[_ngcontent-%COMP%]{color:var(--df-danger)}.health-panel__head[_ngcontent-%COMP%]{display:flex;align-items:center;gap:var(--df-space-2)}.health-panel__rules[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:var(--df-space-2);margin:0;padding:0;list-style:none}.health-panel__rule[_ngcontent-%COMP%]{display:flex;flex-wrap:wrap;align-items:baseline;gap:var(--df-space-2) var(--df-space-3)}.health-panel__reason[_ngcontent-%COMP%]{flex:1 1 20rem}.health-panel__detail[_ngcontent-%COMP%]{display:block;margin-top:var(--df-space-1);font-size:var(--df-font-size-xs);color:var(--df-text-muted);overflow-wrap:anywhere}.health-panel__fix[_ngcontent-%COMP%]{display:inline-flex;align-items:center;gap:var(--df-space-1);color:var(--df-accent);font-weight:var(--df-font-weight-medium);text-decoration:none;white-space:nowrap}.health-panel__fix[_ngcontent-%COMP%] fa-icon[_ngcontent-%COMP%]{color:currentColor}.health-panel__fix[_ngcontent-%COMP%]:hover{text-decoration:underline}.health-panel__fix[_ngcontent-%COMP%]:focus-visible{outline:none;box-shadow:var(--df-focus-ring);border-radius:var(--df-radius-sm, var(--df-radius))}.health-panel__ok[_ngcontent-%COMP%]{display:flex;align-items:center;gap:var(--df-space-2);margin:0;color:var(--df-text-muted)}.health-panel__ok[_ngcontent-%COMP%] fa-icon[_ngcontent-%COMP%]{color:var(--df-success)}.health-panel__ok--muted[_ngcontent-%COMP%] fa-icon[_ngcontent-%COMP%]{color:var(--df-text-muted)}"],changeDetection:0})}};function kc(n,a){1&n&&(e.j41(0,"div",5),e.nrm(1,"df-skeleton",6),e.k0s()),2&n&&(e.R7$(1),e.Y8G("count",5))}function yc(n,a){if(1&n&&e.nrm(0,"df-empty-state",7),2&n){const t=e.XpG().$implicit;e.Y8G("title",t("error.title"))("description",t("error.hint"))}}function Mc(n,a){if(1&n&&(e.j41(0,"a",21)(1,"mat-icon"),e.EFF(2,"add"),e.k0s(),e.EFF(3),e.k0s()),2&n){const t=e.XpG().$implicit,o=e.XpG(2).$implicit;e.Y8G("routerLink",t.addLink),e.R7$(3),e.SpI(" ",o("addPolicy")," ")}}function Oc(n,a){if(1&n&&(e.j41(0,"li",10)(1,"div",11)(2,"span",12)(3,"mat-icon"),e.EFF(4),e.k0s()()(),e.j41(5,"div",13)(6,"div",14)(7,"span",15),e.EFF(8),e.k0s(),e.nrm(9,"df-badge",16),e.k0s(),e.j41(10,"p",17),e.EFF(11),e.k0s(),e.j41(12,"div",18)(13,"a",19),e.EFF(14),e.j41(15,"mat-icon"),e.EFF(16,"chevron_right"),e.k0s()(),e.DNE(17,Mc,4,2,"a",20),e.k0s()()()),2&n){const t=a.$implicit,o=e.XpG(2).$implicit,i=e.XpG();e.AVh("pipeline-strip__node--open",!t.present),e.R7$(2),e.AVh("pipeline-strip__marker--active","active"===t.status)("pipeline-strip__marker--filtered","filtered"===t.status)("pipeline-strip__marker--handler","handler"===t.status),e.R7$(2),e.JRh(t.icon),e.R7$(4),e.JRh(o("nodes."+t.kind+".title")),e.R7$(1),e.Y8G("variant",i.badgeVariant(t))("label",o("status."+t.status)),e.R7$(2),e.SpI(" ",o(t.detailKey,t.detailParams)," "),e.R7$(2),e.Y8G("routerLink",t.link),e.R7$(1),e.SpI(" ",o("view")," "),e.R7$(3),e.Y8G("ngIf",t.addLink)}}function Pc(n,a){if(1&n&&(e.j41(0,"ol",8),e.DNE(1,Oc,18,16,"li",9),e.k0s()),2&n){const t=e.XpG(2);e.R7$(1),e.Y8G("ngForOf",t.nodes)("ngForTrackBy",t.trackByKind)}}function Fc(n,a){if(1&n&&(e.qex(0),e.j41(1,"section",1),e.DNE(2,kc,2,1,"div",2),e.DNE(3,yc,1,2,"df-empty-state",3),e.DNE(4,Pc,2,2,"ol",4),e.k0s(),e.bVm()),2&n){const t=e.XpG();e.R7$(2),e.Y8G("ngIf",t.loading),e.R7$(1),e.Y8G("ngIf",!t.loading&&t.errored),e.R7$(1),e.Y8G("ngIf",!t.loading&&!t.errored&&t.nodes.length>0)}}xt=(0,re.Cg)([(0,H.d)({checkProperties:!0})],xt);const wc={active:"success",filtered:"warning",open:"neutral",handler:"build"};let Dc=(()=>{class n{constructor(t,o,i){this.scope=t,this.limitService=o,this.appService=i,this.nodes=[],this.loading=!1,this.errored=!1,this.destroy$=new xe.B}ngOnChanges(t){("serviceId"in t||"serviceName"in t)&&this.load()}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}badgeVariant(t){return wc[t.status]}trackByKind(t,o){return o.kind}load(){const t=this.serviceId;this.nodes=[],this.errored=!1,null!=t&&(this.loading=!0,(0,ue.p)({matrix:this.scope.matrixForService(t),limits:this.limitService.getAll({limit:0,sort:"name"}).pipe((0,z.T)(o=>o.resource??[]),(0,R.W)(()=>(0,L.of)([]))),apps:this.appService.getAll({limit:0}).pipe((0,z.T)(o=>o.resource??[]),(0,R.W)(()=>(0,L.of)([])))}).pipe((0,he.Q)(this.destroy$)).subscribe({next:({matrix:o,limits:i,apps:r})=>{this.loading=!1,this.nodes=this.buildNodes(t,o.roles,i,r)},error:()=>{this.loading=!1,this.errored=!0}}))}buildNodes(t,o,i,r){const c=o.filter(_=>Ye.e.some(C=>"none"!==_.verbs[C])),s=o.filter(_=>Ye.e.some(C=>"filtered"===_.verbs[C])),l=i.find(_=>_.serviceId===t)??i.find(_=>null==_.serviceId),p=["/",W.b.API_CONNECTIONS,W.b.API_KEYS],f=["/",W.b.API_CONNECTIONS,W.b.ROLE_BASED_ACCESS],M=["/",W.b.API_SECURITY,W.b.RATE_LIMITING];return[{kind:"key",icon:"key",present:r.length>0,status:r.length>0?"active":"open",detailKey:r.length>0?"nodes.key.detail":"nodes.key.empty",detailParams:{count:r.length},link:p,addLink:r.length>0?void 0:[...p,W.b.CREATE]},{kind:"role",icon:"security",present:c.length>0,status:c.length>0?"active":"open",detailKey:c.length>0?"nodes.role.detail":"nodes.role.empty",detailParams:{count:c.length},link:1===c.length?[...f,String(c[0].roleId)]:f,addLink:c.length>0?void 0:[...f,W.b.CREATE]},{kind:"rate",icon:"speed",present:!!l,status:l?"active":"open",detailKey:l?"nodes.rate.detail":"nodes.rate.empty",detailParams:l?{rate:l.rate,period:l.period}:void 0,link:l?[...M,String(l.id)]:M,addLink:l?void 0:[...M,W.b.CREATE]},{kind:"filter",icon:"filter_alt",present:s.length>0,status:s.length>0?"filtered":"open",detailKey:s.length>0?"nodes.filter.detail":"nodes.filter.empty",detailParams:{count:s.length},link:f},{kind:"handler",icon:"bolt",present:!0,status:"handler",detailKey:this.serviceType?"nodes.handler.detail":"nodes.handler.empty",detailParams:this.serviceType?{type:this.serviceType}:void 0,link:this.serviceName?["/",W.b.API_CONNECTIONS,W.b.API_DOCS,this.serviceName]:["/",W.b.API_CONNECTIONS,W.b.API_DOCS]}]}static{this.\u0275fac=function(o){return new(o||n)(e.rXU(Ye.q),e.rXU(U.gu),e.rXU(U.u7))}}static{this.\u0275cmp=e.VBU({type:n,selectors:[["df-pipeline-strip"]],inputs:{serviceId:"serviceId",serviceName:"serviceName",serviceType:"serviceType"},standalone:!0,features:[e.OA$,e.aNF],decls:1,vars:1,consts:[[4,"transloco","translocoRead"],["data-testid","df-pipeline-strip",1,"pipeline-strip"],["class","pipeline-strip__loading",4,"ngIf"],["icon","error_outline",3,"title","description",4,"ngIf"],["class","pipeline-strip__list",4,"ngIf"],[1,"pipeline-strip__loading"],["variant","card",3,"count"],["icon","error_outline",3,"title","description"],[1,"pipeline-strip__list"],["class","pipeline-strip__node",3,"pipeline-strip__node--open",4,"ngFor","ngForOf","ngForTrackBy"],[1,"pipeline-strip__node"],["aria-hidden","true",1,"pipeline-strip__rail"],[1,"pipeline-strip__marker"],[1,"pipeline-strip__card"],[1,"pipeline-strip__head"],[1,"pipeline-strip__name"],[3,"variant","label"],[1,"pipeline-strip__detail"],[1,"pipeline-strip__actions"],[1,"pipeline-strip__link",3,"routerLink"],["class","pipeline-strip__link pipeline-strip__link--add",3,"routerLink",4,"ngIf"],[1,"pipeline-strip__link","pipeline-strip__link--add",3,"routerLink"]],template:function(o,i){1&o&&e.DNE(0,Fc,5,3,"ng-container",0),2&o&&e.Y8G("translocoRead","pipelineStrip")},dependencies:[d.MD,d.Sq,d.bT,N.iI,N.Wk,D.Q8,D.bA,Z.m_,Z.An,vt.v,vn.M,xn.d],styles:['[_nghost-%COMP%]{display:block}.pipeline-strip[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:var(--df-space-4)}.pipeline-strip__loading[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:var(--df-space-3)}.pipeline-strip__list[_ngcontent-%COMP%]{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:var(--df-space-3)}.pipeline-strip__node[_ngcontent-%COMP%]{display:grid;grid-template-columns:3.6rem 1fr;gap:var(--df-space-3);align-items:stretch}.pipeline-strip__rail[_ngcontent-%COMP%]{position:relative;display:flex;justify-content:center;padding-top:var(--df-space-2)}.pipeline-strip__node[_ngcontent-%COMP%]:not(:last-child) .pipeline-strip__rail[_ngcontent-%COMP%]:after{content:"";position:absolute;top:4rem;bottom:calc(var(--df-space-3) * -1);left:50%;width:1px;transform:translate(-50%);background:var(--df-border)}.pipeline-strip__marker[_ngcontent-%COMP%]{position:relative;z-index:1;display:inline-flex;align-items:center;justify-content:center;width:3.2rem;height:3.2rem;flex:none;border-radius:50%;border:1px solid var(--df-border);background:var(--df-surface);color:var(--df-text-muted)}.pipeline-strip__marker[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{width:1.8rem;height:1.8rem;font-size:1.8rem;line-height:1.8rem}.pipeline-strip__marker--active[_ngcontent-%COMP%]{border-color:var(--df-success-border);background:var(--df-success-soft);color:var(--df-success)}.pipeline-strip__marker--filtered[_ngcontent-%COMP%]{border-color:var(--df-warning-border);background:var(--df-warning-soft);color:var(--df-warning)}.pipeline-strip__marker--handler[_ngcontent-%COMP%]{border-color:var(--df-accent);background:var(--df-accent-soft);color:var(--df-accent)}.pipeline-strip__node--open[_ngcontent-%COMP%] .pipeline-strip__marker[_ngcontent-%COMP%]{border-style:dashed;color:var(--df-text-faint)}.pipeline-strip__card[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:var(--df-space-1);padding:var(--df-space-3) var(--df-space-4);border:1px solid var(--df-border);border-radius:var(--df-radius);background:var(--df-surface)}.pipeline-strip__node--open[_ngcontent-%COMP%] .pipeline-strip__card[_ngcontent-%COMP%]{background:var(--df-surface-2);border-style:dashed}.pipeline-strip__head[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:space-between;gap:var(--df-space-2)}.pipeline-strip__name[_ngcontent-%COMP%]{font-size:var(--df-font-size-md);font-weight:var(--df-font-weight-heading);color:var(--df-text)}.pipeline-strip__detail[_ngcontent-%COMP%]{margin:0;font-size:var(--df-font-size-sm);color:var(--df-text-muted)}.pipeline-strip__actions[_ngcontent-%COMP%]{display:flex;flex-wrap:wrap;align-items:center;gap:var(--df-space-4);margin-top:var(--df-space-1)}.pipeline-strip__link[_ngcontent-%COMP%]{display:inline-flex;align-items:center;gap:var(--df-space-1);font-size:var(--df-font-size-sm);font-weight:var(--df-font-weight-medium);color:var(--df-accent);text-decoration:none;cursor:pointer}.pipeline-strip__link[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{width:1.6rem;height:1.6rem;font-size:1.6rem;line-height:1.6rem}.pipeline-strip__link[_ngcontent-%COMP%]:hover{text-decoration:underline}.pipeline-strip__link[_ngcontent-%COMP%]:focus-visible{outline:2px solid var(--df-accent);outline-offset:2px;border-radius:var(--df-radius-sm)}.pipeline-strip__link--add[_ngcontent-%COMP%]{color:var(--df-text-2)}']})}}return n})();const Tc=function(n,a){return{verb:n,service:a}};let Sc=(()=>{class n{constructor(t){this.data=t}static{this.\u0275fac=function(o){return new(o||n)(e.rXU(h.Vh))}}static{this.\u0275cmp=e.VBU({type:n,selectors:[["df-service-role-scope-dialog"]],standalone:!0,features:[e.aNF],decls:22,vars:20,consts:[[1,"scope-role-dialog"],["mat-dialog-title","",1,"scope-role-dialog__head"],[1,"scope-role-dialog__heading"],[1,"scope-role-dialog__eyebrow"],[1,"scope-role-dialog__title"],["mat-icon-button","","mat-dialog-close","",1,"scope-role-dialog__close"],[1,"scope-role-dialog__content"],[1,"scope-role-dialog__hint"],[3,"roleId"],["align","end",1,"scope-role-dialog__actions"],["mat-stroked-button","","mat-dialog-close",""]],template:function(o,i){1&o&&(e.j41(0,"div",0)(1,"header",1)(2,"div",2)(3,"p",3),e.EFF(4),e.nI1(5,"transloco"),e.k0s(),e.j41(6,"h2",4),e.EFF(7),e.nI1(8,"transloco"),e.k0s()(),e.j41(9,"button",5),e.nI1(10,"transloco"),e.j41(11,"mat-icon"),e.EFF(12,"close"),e.k0s()()(),e.j41(13,"mat-dialog-content",6)(14,"p",7),e.EFF(15),e.nI1(16,"transloco"),e.k0s(),e.nrm(17,"df-role-scope",8),e.k0s(),e.j41(18,"mat-dialog-actions",9)(19,"button",10),e.EFF(20),e.nI1(21,"transloco"),e.k0s()()()),2&o&&(e.R7$(4),e.SpI(" ",e.bMT(5,6,"services.access.dialog.eyebrow")," "),e.R7$(3),e.SpI(" ",e.i5U(8,8,"services.access.dialog.title",e.l_i(17,Tc,i.data.verb,i.data.serviceLabel))," "),e.R7$(2),e.BMQ("aria-label",e.bMT(10,11,"services.access.dialog.close")),e.R7$(6),e.SpI(" ",e.bMT(16,13,"services.access.dialog.hint")," "),e.R7$(2),e.Y8G("roleId",i.data.roleId),e.R7$(3),e.SpI(" ",e.bMT(21,15,"services.access.dialog.close")," "))},dependencies:[d.MD,D.Q8,D.Kj,u.Hl,u.$z,u.iY,Z.m_,Z.An,h.hM,h.tx,h.BI,h.Yi,h.E7,Ht.e],styles:[".scope-role-dialog__head[_ngcontent-%COMP%]{display:flex;align-items:flex-start;justify-content:space-between;gap:1.6rem;margin:0}.scope-role-dialog__eyebrow[_ngcontent-%COMP%]{margin:0 0 .2rem;font-size:1.1rem;font-weight:600;letter-spacing:.06em;text-transform:uppercase;color:var(--df-text-muted)}.scope-role-dialog__title[_ngcontent-%COMP%]{margin:0;font-size:1.8rem;line-height:1.3;color:var(--df-text)}.scope-role-dialog__close[_ngcontent-%COMP%]{flex:0 0 auto;color:var(--df-text-muted)}.scope-role-dialog__hint[_ngcontent-%COMP%]{margin:0 0 1.6rem;color:var(--df-text-muted);font-size:1.3rem;line-height:1.5}"]})}}return n})();class _e extends Error{}const Rc=new Set(["-s","--silent","-S","--show-error","-v","--verbose","-i","--include","-f","--fail","-#","--progress-bar","-N","--no-buffer","-g","--globoff","-4","--ipv4","-6","--ipv6","--no-progress-meter"]),Ic=new Set(["-o","--output","-w","--write-out","-D","--dump-header","--trace","--trace-ascii","--stderr"]),Ec=new Set(["-d","--data","--data-raw","--data-ascii","--data-binary","--data-urlencode"]);function Gc(n){if(n.endsWith(";")&&!n.includes(":"))return{name:n.slice(0,-1).trim(),value:""};const a=n.indexOf(":");if(-1===a)return null;const t=n.slice(0,a).trim();return t?{name:t,value:n.slice(a+1).trim()}:null}function Nc(n){const a=encodeURIComponent(n).replace(/%([0-9A-F]{2})/gi,(t,o)=>String.fromCharCode(parseInt(o,16)));return btoa(a)}function He(n){try{return decodeURIComponent(n.replace(/\+/g," "))}catch{return n}}function Yc(n,a){if(1&n&&(e.j41(0,"div",10),e.nrm(1,"fa-icon",11),e.j41(2,"span"),e.EFF(3),e.k0s()()),2&n){const t=e.XpG();e.R7$(1),e.Y8G("icon",t.faTriangleExclamation),e.R7$(2),e.JRh(t.error)}}function Vc(n,a){1&n&&(e.j41(0,"th",26),e.EFF(1),e.nI1(2,"transloco"),e.k0s()),2&n&&(e.R7$(1),e.SpI(" ",e.bMT(2,1,"name")," "))}function Xc(n,a){if(1&n&&(e.j41(0,"td",27),e.EFF(1),e.k0s()),2&n){const t=a.$implicit;e.R7$(1),e.JRh(t.name)}}function zc(n,a){1&n&&(e.j41(0,"th",26),e.EFF(1),e.nI1(2,"transloco"),e.k0s()),2&n&&(e.R7$(1),e.SpI(" ",e.bMT(2,1,"value")," "))}function Bc(n,a){if(1&n&&(e.j41(0,"td",28),e.EFF(1),e.k0s()),2&n){const t=a.$implicit;e.R7$(1),e.SpI(" ",t.value," ")}}function Lc(n,a){1&n&&e.nrm(0,"tr",29)}function Uc(n,a){1&n&&e.nrm(0,"tr",30)}function qc(n,a){if(1&n&&(e.qex(0),e.j41(1,"h3",12),e.EFF(2),e.k0s(),e.j41(3,"table",18),e.qex(4,19),e.DNE(5,Vc,3,3,"th",20),e.DNE(6,Xc,2,1,"td",21),e.bVm(),e.qex(7,22),e.DNE(8,zc,3,3,"th",20),e.DNE(9,Bc,2,1,"td",23),e.bVm(),e.DNE(10,Lc,1,0,"tr",24),e.DNE(11,Uc,1,0,"tr",25),e.k0s(),e.bVm()),2&n){const t=e.XpG(),o=t.caption,i=t.$implicit,r=e.XpG(2);e.R7$(2),e.Lme("",o," (",i.length,")"),e.R7$(1),e.Y8G("dataSource",i),e.R7$(7),e.Y8G("matHeaderRowDef",r.keyValueColumns),e.R7$(1),e.Y8G("matRowDefColumns",r.keyValueColumns)}}function Kc(n,a){1&n&&e.DNE(0,qc,12,5,"ng-container",6),2&n&&e.Y8G("ngIf",a.$implicit.length)}function Jc(n,a){1&n&&e.eu8(0)}function Hc(n,a){1&n&&e.eu8(0)}function Wc(n,a){1&n&&e.eu8(0)}function Qc(n,a){if(1&n&&(e.j41(0,"div",33),e.nrm(1,"fa-icon",11),e.j41(2,"span"),e.EFF(3),e.k0s()()),2&n){const t=a.$implicit,o=e.XpG(3);e.R7$(1),e.Y8G("icon",o.faTriangleExclamation),e.R7$(2),e.JRh(t)}}function Zc(n,a){if(1&n&&(e.j41(0,"div",31),e.DNE(1,Qc,4,2,"div",32),e.k0s()),2&n){const t=e.XpG(2);e.R7$(1),e.Y8G("ngForOf",t.parsed.warnings)}}const Ct=function(n,a){return{$implicit:n,caption:a}};function es(n,a){if(1&n&&(e.qex(0),e.j41(1,"h2",12),e.EFF(2),e.nI1(3,"transloco"),e.k0s(),e.j41(4,"dl",13)(5,"dt"),e.EFF(6),e.nI1(7,"transloco"),e.k0s(),e.j41(8,"dd",14),e.EFF(9),e.k0s(),e.j41(10,"dt"),e.EFF(11),e.nI1(12,"transloco"),e.k0s(),e.j41(13,"dd"),e.EFF(14),e.k0s()(),e.DNE(15,Kc,1,1,"ng-template",null,15,e.C5r),e.DNE(17,Jc,1,0,"ng-container",16),e.nI1(18,"transloco"),e.DNE(19,Hc,1,0,"ng-container",16),e.nI1(20,"transloco"),e.DNE(21,Wc,1,0,"ng-container",16),e.nI1(22,"transloco"),e.DNE(23,Zc,2,1,"div",17),e.bVm()),2&n){const t=e.sdS(16),o=e.XpG();e.R7$(2),e.SpI(" ",e.bMT(3,12,"services.curlImport.preview")," "),e.R7$(4),e.JRh(e.bMT(7,14,"services.curlImport.baseUrl")),e.R7$(3),e.JRh(o.parsed.baseUrl),e.R7$(2),e.JRh(e.bMT(12,16,"services.curlImport.method")),e.R7$(3),e.JRh(o.parsed.method),e.R7$(3),e.Y8G("ngTemplateOutlet",t)("ngTemplateOutletContext",e.l_i(24,Ct,o.parsed.parameters,e.bMT(18,18,"services.curlImport.parameters"))),e.R7$(2),e.Y8G("ngTemplateOutlet",t)("ngTemplateOutletContext",e.l_i(27,Ct,o.parsed.headers,e.bMT(20,20,"services.curlImport.headers"))),e.R7$(2),e.Y8G("ngTemplateOutlet",t)("ngTemplateOutletContext",e.l_i(30,Ct,o.optionEntries,e.bMT(22,22,"services.curlImport.curlOptions"))),e.R7$(2),e.Y8G("ngIf",o.parsed.warnings.length)}}let ts=(()=>{class n{constructor(t){this.dialogRef=t,this.command="",this.parsed=null,this.error="",this.faUpload=b.JmV,this.faTriangleExclamation=b.JAe,this.keyValueColumns=["name","value"]}get optionEntries(){return Object.entries(this.parsed?.options??{}).map(([t,o])=>({name:t,value:o}))}onCommandChange(){if(this.error="",this.parsed=null,this.command.trim())try{this.parsed=function Ac(n){const a=(n??"").trim();if(!a)throw new _e("Enter a cURL command.");const t=function $c(n){const a=[];let t="",o=!1,i=0;for(;i{if(void 0!==y)return y;if(v++,v>=t.length)throw new _e(`Missing value for ${k}.`);return t[v]};for(;v2&&"HXduexAebm".includes(k[1])&&(y=k.slice(0,2),Y=k.slice(2)),!Rc.has(y)){if(Ic.has(y)){x(y,Y);continue}if(Ec.has(y)){c.push(x(y,Y));continue}switch(y){case"-X":case"--request":l=x(y,Y).toUpperCase();break;case"-H":case"--header":{const be=Gc(x(y,Y));be?o.push(be):r.push("Skipped a header that could not be parsed.");break}case"--url":s.push(x(y,Y));break;case"-u":case"--user":p=x(y,Y);break;case"-A":case"--user-agent":o.push({name:"User-Agent",value:x(y,Y)});break;case"-e":case"--referer":o.push({name:"Referer",value:x(y,Y)});break;case"-b":case"--cookie":o.push({name:"Cookie",value:x(y,Y)});break;case"-k":case"--insecure":i.CURLOPT_SSL_VERIFYPEER="0",i.CURLOPT_SSL_VERIFYHOST="0";break;case"-L":case"--location":i.CURLOPT_FOLLOWLOCATION="1";break;case"-x":case"--proxy":i.CURLOPT_PROXY=x(y,Y);break;case"-U":case"--proxy-user":i.CURLOPT_PROXYUSERPWD=x(y,Y);break;case"--connect-timeout":i.CURLOPT_CONNECTTIMEOUT=x(y,Y);break;case"-m":case"--max-time":i.CURLOPT_TIMEOUT=x(y,Y);break;case"--compressed":i.CURLOPT_ENCODING="";break;case"-G":case"--get":f=!0;break;case"-I":case"--head":l=l||"HEAD";break;case"-F":case"--form":M=!0,c.push(x(y,Y));break;default:if(r.push(`Ignored unsupported option "${y}".`),void 0===Y&&!1===t[v+1]?.startsWith("-")){const be=t[v+1];be&&!/^[a-z][a-z0-9+.-]*:\/\//i.test(be)&&v++}}}}if(!s.length)throw new _e("No URL found in the command.");s.length>1&&r.push(`Command contains ${s.length} URLs; only the first was imported.`);const{baseUrl:F,parameters:T}=function jc(n){const a=[],t=n.indexOf("#"),o=-1===t?n:n.slice(0,t),i=o.indexOf("?");if(-1===i)return{baseUrl:o,parameters:a};const r=o.slice(0,i),c=o.slice(i+1);for(const s of c.split("&")){if(!s)continue;const l=s.indexOf("="),p=-1===l?s:s.slice(0,l),f=-1===l?"":s.slice(l+1);a.push({name:He(p),value:He(f)})}return{baseUrl:r,parameters:a}}(s[0]);if(!F)throw new _e("No URL found in the command.");const B=F.match(/^([a-z][a-z0-9+.-]*):(?=\/)/i);if(B){const k=B[1].toLowerCase();"http"!==k&&"https"!==k&&r.push(`The URL uses the "${k}" scheme, not http or https. The service sends requests with that scheme server-side, which can read local files or reach internal hosts. Import only if you trust the source.`)}const _=c.length?c.join("&"):void 0;if(f&&_)for(const k of _.split("&")){if(!k)continue;const y=k.indexOf("=");T.push({name:He(-1===y?k:k.slice(0,y)),value:He(-1===y?"":k.slice(y+1))})}let C=l;return C||(C=_&&!f?"POST":"GET"),M?r.push("Multipart form fields (-F) cannot be stored on an HTTP service and were not imported."):_&&!f&&r.push("The request body was not imported. An HTTP service passes through the body it receives at request time."),p&&(o.some(y=>"authorization"===y.name.toLowerCase())?r.push("Credentials from -u were ignored because the command already sets an Authorization header."):(o.push({name:"Authorization",value:`Basic ${Nc(p)}`}),r.push("Credentials from -u were imported as an Authorization header. Base64 is encoding, not encryption, so they are stored in a recoverable form."))),{baseUrl:F,method:C,parameters:T,headers:o,options:i,body:f?void 0:_,warnings:r}}(this.command)}catch(t){this.error=t instanceof _e?t.message:"Could not parse the cURL command."}}onImport(){this.parsed&&this.dialogRef.close(this.parsed)}static{this.\u0275fac=function(o){return new(o||n)(e.rXU(h.CP))}}static{this.\u0275cmp=e.VBU({type:n,selectors:[["df-curl-import-dialog"]],standalone:!0,features:[e.aNF],decls:22,vars:22,consts:[["mat-dialog-title",""],["mat-dialog-content","",1,"curl-import-content"],[1,"curl-import-hint"],["appearance","outline",1,"full-width"],["matInput","","rows","7","spellcheck","false","data-testid","curl-import-command",3,"placeholder","ngModel","ngModelChange"],["class","curl-import-error","data-testid","curl-import-error",4,"ngIf"],[4,"ngIf"],["mat-dialog-actions",""],["mat-flat-button","","mat-dialog-close","","type","button"],["mat-flat-button","","color","primary","type","button","data-testid","curl-import-submit",3,"disabled","click"],["data-testid","curl-import-error",1,"curl-import-error"],[3,"icon"],[1,"curl-import-section"],[1,"curl-import-summary"],["data-testid","curl-import-base-url"],["keyValueTable",""],[4,"ngTemplateOutlet","ngTemplateOutletContext"],["class","curl-import-warnings","data-testid","curl-import-warnings",4,"ngIf"],["mat-table","",1,"full-width",3,"dataSource"],["matColumnDef","name"],["mat-header-cell","",4,"matHeaderCellDef"],["mat-cell","",4,"matCellDef"],["matColumnDef","value"],["mat-cell","","class","curl-import-value",4,"matCellDef"],["mat-header-row","",4,"matHeaderRowDef"],["mat-row","",4,"matRowDef","matRowDefColumns"],["mat-header-cell",""],["mat-cell",""],["mat-cell","",1,"curl-import-value"],["mat-header-row",""],["mat-row",""],["data-testid","curl-import-warnings",1,"curl-import-warnings"],["class","curl-import-warning",4,"ngFor","ngForOf"],[1,"curl-import-warning"]],template:function(o,i){1&o&&(e.j41(0,"h1",0),e.EFF(1),e.nI1(2,"transloco"),e.k0s(),e.j41(3,"div",1)(4,"p",2),e.EFF(5),e.nI1(6,"transloco"),e.k0s(),e.j41(7,"mat-form-field",3)(8,"mat-label"),e.EFF(9),e.nI1(10,"transloco"),e.k0s(),e.j41(11,"textarea",4),e.bIt("ngModelChange",function(c){return i.command=c})("ngModelChange",function(){return i.onCommandChange()}),e.nI1(12,"transloco"),e.k0s()(),e.DNE(13,Yc,4,2,"div",5),e.DNE(14,es,24,33,"ng-container",6),e.k0s(),e.j41(15,"div",7)(16,"button",8),e.EFF(17),e.nI1(18,"transloco"),e.k0s(),e.j41(19,"button",9),e.bIt("click",function(){return i.onImport()}),e.EFF(20),e.nI1(21,"transloco"),e.k0s()()),2&o&&(e.R7$(1),e.JRh(e.bMT(2,10,"services.curlImport.title")),e.R7$(4),e.SpI(" ",e.bMT(6,12,"services.curlImport.hint")," "),e.R7$(4),e.JRh(e.bMT(10,14,"services.curlImport.commandLabel")),e.R7$(2),e.Y8G("placeholder",e.bMT(12,16,"services.curlImport.placeholder"))("ngModel",i.command),e.R7$(2),e.Y8G("ngIf",i.error),e.R7$(1),e.Y8G("ngIf",i.parsed),e.R7$(3),e.SpI(" ",e.bMT(18,18,"cancel")," "),e.R7$(2),e.Y8G("disabled",!i.parsed),e.R7$(1),e.SpI(" ",e.bMT(21,20,"services.curlImport.import")," "))},dependencies:[d.bT,d.pM,d.T3,m.YN,m.me,m.BC,m.vS,h.hM,h.tx,h.BI,h.Yi,h.E7,u.Hl,u.$z,O.RG,O.rl,O.nJ,E.fS,E.fg,P.tP,P.Zl,P.tL,P.ji,P.cC,P.YV,P.iL,P.KS,P.$R,P.YZ,P.NB,w.dX,w.aY,D.Kj],styles:[".curl-import-content[_ngcontent-%COMP%]{display:flex;flex-direction:column;min-width:34rem;max-width:44rem}.curl-import-hint[_ngcontent-%COMP%]{margin:0 0 1rem;opacity:.75}.full-width[_ngcontent-%COMP%]{width:100%}textarea[matInput][_ngcontent-%COMP%]{font-family:monospace;white-space:pre;overflow-x:auto}.curl-import-section[_ngcontent-%COMP%]{font-size:.95rem;font-weight:600;margin:1rem 0 .5rem}.curl-import-summary[_ngcontent-%COMP%]{display:grid;grid-template-columns:auto 1fr;gap:.25rem 1rem;margin:0}.curl-import-summary[_ngcontent-%COMP%] dt[_ngcontent-%COMP%]{font-weight:600}.curl-import-summary[_ngcontent-%COMP%] dd[_ngcontent-%COMP%]{margin:0;overflow-wrap:anywhere}.curl-import-value[_ngcontent-%COMP%]{overflow-wrap:anywhere}.curl-import-error[_ngcontent-%COMP%], .curl-import-warning[_ngcontent-%COMP%]{display:flex;align-items:flex-start;gap:.5rem;padding:.5rem 0}.curl-import-error[_ngcontent-%COMP%]{color:var(--mdc-theme-error, #b3261e)}.curl-import-warnings[_ngcontent-%COMP%]{margin-top:1rem}"]})}}return n})();var ns=g(68788),os=g(29810);let is=(()=>{class n{constructor(t){this.http=t,this.CACHE_KEY="df_dashboard_stats",this.CACHE_DURATION=3e4,this.REFRESH_INTERVAL=9e5,this.stats$=(0,Zt.O)(0,this.REFRESH_INTERVAL).pipe((0,Ce.n)(()=>this.fetchStats()),(0,os.t)(1))}getDashboardStats(){const t=this.getCachedStats();return t?(0,L.of)(t):this.stats$}fetchStats(){const t=(0,K.Ku)(),o={services:this.http.get("/api/v2/system/service?fields=id,name,type&include_count=true",{context:t}),roles:this.http.get("/api/v2/system/role?fields=id,name&include_count=true",{context:t}),appKeys:this.http.get("/api/v2/system/app?include_count=true",{context:t})};return(0,ue.p)(o).pipe((0,z.T)(i=>this.transformResponses(i)),(0,Fe.M)(i=>this.cacheStats(i)),(0,R.W)(()=>(0,L.of)(this.getSimpleStats())))}transformResponses(t){const{services:o,roles:i,appKeys:r}=t,c=["system","api_docs","files","logs","db","email","user","script","ui","schema","api_doc","file","log","admin","df-admin","dreamfactory","cache","push","pub_sub"].map(v=>v.toLowerCase()),s=["admin","api_docs","file_manager"].map(v=>v.toLowerCase()),l=["administrator","user","admin","sys_admin"].map(v=>v.toLowerCase()),p=(o.resource||[]).filter(v=>!c.includes(v.name.toLowerCase())),f=(r.resource||[]).filter(v=>{const F=!!(v.apiKey||v.api_key||v.apikey);return!s.includes(v.name.toLowerCase())&&F}),M=(i.resource||[]).filter(v=>!l.includes(v.name.toLowerCase()));return{services:{total:p.length},apiKeys:{total:f.length},roles:{total:M.length}}}calculateTrend(t,o){return 0===t?0:Math.round((o-t)/t*100)}getCachedStats(){const t=localStorage.getItem(this.CACHE_KEY);if(!t)return null;try{const{data:o,timestamp:i}=JSON.parse(t);if(Date.now()-i{class n{constructor(){this.http=(0,e.WQX)(ee.Qq)}resolveWorkingKeyAndTable(t,o){var i=this;return(0,ve.A)(function*(r,c,s="your_table"){let l=s;if(!c||"number"!=typeof r)return{apiKey:"",sampleTable:l,keys:[]};try{const p=yield i.introspectTables(c);p[0]&&(l=p[0]);const f=yield i.resolveCandidates(r);if(!f.length)return{apiKey:"",sampleTable:l,keys:[]};const M=window.location.origin,v=[],x=[];for(const T of f){const B={label:T.label,apiKey:T.apiKey},_=(T.grantsAll?p:T.tables.filter(y=>p.includes(y))).slice(0,5),C=(T.writeCapable?2:0)+(T.grantsAll?1:0);let k="";for(const y of _)try{if((yield fetch(`${M}${A.C}/${c}/_table/${encodeURIComponent(y)}?limit=1`,{headers:{"X-DreamFactory-API-Key":T.apiKey},credentials:"omit"})).ok){k=y;break}}catch{}k?v.push({option:{...B,verified:!0},table:k,score:C}):x.push(B)}if(!v.length)return{apiKey:"",sampleTable:l,keys:[]};v.sort((T,B)=>T.score-B.score),l=v[0].table;const F=[...v.map(T=>T.option),...x];return{apiKey:F[0].apiKey,sampleTable:l,keys:F}}catch{return{apiKey:"",sampleTable:l,keys:[]}}}).apply(this,arguments)}resolveCandidates(t){var o=this;return(0,ve.A)(function*(){const i=yield(0,kt._)(o.http.get(`${A.C}/system/role?related=role_service_access_by_role_id&limit=200`,{context:(0,K.Ku)()})),r=new Map;for(const p of i?.resource??[]){if(!1===p?.isActive)continue;let f=!1,M=!1;const v=[];for(const x of p?.roleServiceAccessByRoleId??[]){const F=x?.serviceId;if(F!==t&&null!=F)continue;const B=x?.verbMask??0;if(30&B&&(M=!0),!(1&B))continue;const _=x?.component??"";if(""===_||"*"===_||"_table/*"===_)f=!0;else if(_.startsWith("_table/")){const C=_.slice(7).replace(/\/\*$/,"").replace(/\/$/,"");C&&"*"!==C&&v.push(C)}}(f||v.length)&&r.set(p.id,{tables:v,grantsAll:f,writeCapable:M})}if(!r.size)return[];const c=[...r.keys()],s=yield Promise.all(c.map(p=>(0,kt._)(o.http.get(`${A.C}/system/app?filter=role_id=${p}&fields=*`,{context:(0,K.Ku)()})).catch(()=>({resource:[]})))),l=[];return c.forEach((p,f)=>{const M=r.get(p);if(M)for(const v of s[f]?.resource??[])!1===v?.isActive||!v?.apiKey||l.push({label:v.name||"API key",apiKey:v.apiKey,tables:M.tables,grantsAll:M.grantsAll,writeCapable:M.writeCapable})}),l})()}introspectTables(t){var o=this;return(0,ve.A)(function*(){try{return((yield(0,kt._)(o.http.get(`${A.C}/${t}/_table`,{context:(0,K.Ku)()})))?.resource??[]).map(r=>"string"==typeof r?r:r?.name).filter(r=>!!r)}catch{return[]}})()}static{this.\u0275fac=function(o){return new(o||n)}}static{this.\u0275prov=e.jDH({token:n,factory:n.\u0275fac,providedIn:"root"})}}return n})();var yt;const rs=["stepper"],cs=["functionEditor"],ss=["headersEditor"],ls=["unsavedToolDialog"];function ds(n,a){1&n&&(e.EFF(0),e.nI1(1,"transloco")),2&n&&e.SpI(" ",e.bMT(1,1,"services.controls.serviceType.label"),"")}function ps(n,a){if(1&n){const t=e.RV6();e.j41(0,"label",30)(1,"input",31),e.bIt("input",function(){e.eBV(t),e.XpG();const i=e.sdS(2),r=e.XpG();return e.Njj(r.nextStep(i))}),e.k0s(),e.j41(2,"div",32),e.nrm(3,"span",33),e.j41(4,"div",34),e.nrm(5,"img",35),e.j41(6,"h4"),e.EFF(7),e.k0s()()()()}if(2&n){const t=a.$implicit,o=e.XpG(2);e.R7$(1),e.Y8G("value",t.name),e.R7$(1),e.HbH(t.class),e.R7$(3),e.Y8G("src",o.getBackgroundImage(t.name),e.B4B)("alt",t.label),e.R7$(2),e.SpI(" ",t.label," ")}}function ms(n,a){if(1&n){const t=e.RV6();e.qex(0),e.j41(1,"button",37),e.bIt("click",function(){e.eBV(t);const i=e.XpG().$implicit,r=e.XpG(2);return e.Njj(r.openDialog(i.label||i.name))}),e.EFF(2," Unlock Now "),e.k0s(),e.bVm()}}function _s(n,a){if(1&n){const t=e.RV6();e.j41(0,"label",30)(1,"input",31),e.bIt("input",function(){e.eBV(t),e.XpG();const i=e.sdS(2),r=e.XpG();return e.Njj(r.nextStep(i))}),e.k0s(),e.j41(2,"div",32),e.nrm(3,"span",33),e.j41(4,"div",34),e.nrm(5,"img",35),e.j41(6,"h4",36),e.EFF(7),e.k0s()()(),e.DNE(8,ms,3,0,"ng-container",24),e.k0s()}if(2&n){const t=a.$implicit,o=e.XpG(2);e.R7$(1),e.Y8G("value",t.name),e.BMQ("disabled",!0),e.R7$(1),e.HbH(t.class),e.R7$(3),e.Y8G("src",o.getBackgroundImage(t.name),e.B4B)("alt",t.label),e.R7$(2),e.SpI(" ",t.label," "),e.R7$(1),e.Y8G("ngIf","not-included"===t.class)}}function gs(n,a){1&n&&e.EFF(0,"Service Details")}function fs(n,a){if(1&n&&(e.j41(0,"mat-form-field",38)(1,"mat-label"),e.EFF(2),e.nI1(3,"transloco"),e.k0s(),e.nrm(4,"input",39)(5,"fa-icon",11),e.nI1(6,"transloco"),e.j41(7,"mat-hint"),e.EFF(8),e.nI1(9,"transloco"),e.k0s()()),2&n){const t=e.XpG(2);e.R7$(2),e.JRh(e.bMT(3,4,"services.controls.namespace.label")),e.R7$(3),e.Y8G("icon",t.faCircleInfo)("matTooltip",e.bMT(6,6,"services.controls.namespace.tooltip")),e.R7$(3),e.JRh(e.bMT(9,8,"services.controls.namespace.hint"))}}function us(n,a){if(1&n&&(e.j41(0,"mat-form-field",40)(1,"mat-label"),e.EFF(2),e.nI1(3,"transloco"),e.k0s(),e.nrm(4,"input",41)(5,"fa-icon",11),e.nI1(6,"transloco"),e.k0s()),2&n){const t=e.XpG(2);e.R7$(2),e.JRh(e.bMT(3,3,"services.controls.label.label")),e.R7$(3),e.Y8G("icon",t.faCircleInfo)("matTooltip",e.bMT(6,5,"services.controls.label.tooltip"))}}function hs(n,a){if(1&n&&(e.j41(0,"mat-form-field",42)(1,"mat-label"),e.EFF(2),e.nI1(3,"transloco"),e.k0s(),e.nrm(4,"textarea",43)(5,"fa-icon",11),e.nI1(6,"transloco"),e.k0s()),2&n){const t=e.XpG(2);e.R7$(2),e.JRh(e.bMT(3,3,"services.controls.description.label")),e.R7$(3),e.Y8G("icon",t.faCircleInfo)("matTooltip",e.bMT(6,5,"services.controls.description.tooltip"))}}function bs(n,a){1&n&&(e.j41(0,"mat-slide-toggle",44),e.EFF(1),e.nI1(2,"transloco"),e.k0s()),2&n&&(e.R7$(1),e.JRh(e.bMT(2,1,"active")))}function vs(n,a){1&n&&e.EFF(0,"Service Options")}function xs(n,a){if(1&n&&(e.qex(0),e.nrm(1,"df-script-editor",48),e.bVm()),2&n){const t=e.XpG(6);e.R7$(1),e.Y8G("type",t.getControl("type"))("storageServiceId",t.getConfigControl("storageServiceId"))("storagePath",t.getConfigControl("storagePath"))("content",t.getServiceDocByServiceIdControl("content"))("cache",t.serviceData?t.serviceData.name:"")}}function Cs(n,a){if(1&n&&(e.qex(0),e.DNE(1,xs,2,5,"ng-container",24),e.bVm()),2&n){const t=e.XpG(5);e.R7$(1),e.Y8G("ngIf",t.getConfigControl("storageServiceId"))}}const le=function(){return["file_certificate","file_certificate_api"]};function ks(n,a){if(1&n&&e.nrm(0,"df-dynamic-field",51),2&n){const t=e.XpG(2).$implicit,o=e.XpG(4);e.AVh("dynamic-width",-1===e.lJ4(6,le).indexOf(t.type))("full-width",-1!==e.lJ4(7,le).indexOf(t.type)),e.Y8G("schema",t)("formControl",o.getConfigControl(t.name))}}function ys(n,a){if(1&n&&e.nrm(0,"df-array-field",52),2&n){const t=e.XpG(2).$implicit,o=e.XpG(4);e.Y8G("schema",t)("formControl",o.getConfigControl(t.name))}}const ke=function(){return["integer","password","string","text","picklist","multi_picklist","boolean","file_certificate","file_certificate_api"]};function Ms(n,a){if(1&n&&(e.DNE(0,ks,1,8,"df-dynamic-field",49),e.DNE(1,ys,1,2,"df-array-field",50)),2&n){const t=e.XpG().$implicit;e.Y8G("ngIf",e.lJ4(2,ke).includes(t.type)),e.R7$(1),e.Y8G("ngIf","array"===t.type||"object"===t.type)}}function Os(n,a){if(1&n&&(e.qex(0),e.DNE(1,Cs,2,1,"ng-container",1),e.DNE(2,Ms,2,3,"ng-template",null,47,e.C5r),e.bVm()),2&n){const t=a.$implicit,o=e.sdS(3);e.R7$(1),e.Y8G("ngIf","text"===t.type&&"content"===t.name)("ngIfElse",o)}}function Ps(n,a){if(1&n&&(e.qex(0),e.j41(1,"mat-accordion",15)(2,"div",9),e.DNE(3,Os,4,2,"ng-container",46),e.k0s()(),e.bVm()),2&n){const t=e.XpG(3);e.R7$(3),e.Y8G("ngForOf",t.viewSchema)("ngForTrackBy",t.trackByName)}}function Fs(n,a){if(1&n&&e.nrm(0,"df-dynamic-field",51),2&n){const t=e.XpG().$implicit,o=e.XpG(4);e.AVh("dynamic-width","file_certificate"!==t.type)("full-width","file_certificate"===t.type),e.Y8G("schema",t)("formControl",o.getConfigControl(t.name))}}function ws(n,a){if(1&n&&e.nrm(0,"df-array-field",52),2&n){const t=e.XpG().$implicit,o=e.XpG(4);e.Y8G("schema",t)("formControl",o.getConfigControl(t.name))}}function Ds(n,a){if(1&n&&(e.qex(0),e.DNE(1,Fs,1,6,"df-dynamic-field",49),e.DNE(2,ws,1,2,"df-array-field",50),e.bVm()),2&n){const t=a.$implicit;e.R7$(1),e.Y8G("ngIf",e.lJ4(2,ke).includes(t.type)),e.R7$(1),e.Y8G("ngIf","array"===t.type||"object"===t.type)}}function Ts(n,a){if(1&n&&(e.qex(0),e.nrm(1,"df-script-editor",48),e.bVm()),2&n){const t=e.XpG(7);e.R7$(1),e.Y8G("type",t.getControl("type"))("storageServiceId",t.getConfigControl("storageServiceId"))("storagePath",t.getConfigControl("storagePath"))("content",t.getServiceDocByServiceIdControl("content"))("cache",t.serviceData?t.serviceData.name:"")}}function Ss(n,a){if(1&n&&(e.qex(0),e.DNE(1,Ts,2,5,"ng-container",24),e.bVm()),2&n){const t=e.XpG(6);e.R7$(1),e.Y8G("ngIf",t.getConfigControl("storageServiceId"))}}function Rs(n,a){if(1&n&&e.nrm(0,"df-dynamic-field",51),2&n){const t=e.XpG(2).$implicit,o=e.XpG(5);e.AVh("dynamic-width","file_certificate"!==t.type&&"file_certificate_api"!==t.type)("full-width","file_certificate"===t.type||"file_certificate_api"===t.type),e.Y8G("schema",t)("formControl",o.getConfigControl(t.name))}}function Is(n,a){if(1&n&&e.nrm(0,"df-array-field",52),2&n){const t=e.XpG(2).$implicit,o=e.XpG(5);e.Y8G("schema",t)("formControl",o.getConfigControl(t.name))}}function Es(n,a){if(1&n&&(e.DNE(0,Rs,1,6,"df-dynamic-field",49),e.DNE(1,Is,1,2,"df-array-field",50)),2&n){const t=e.XpG().$implicit;e.Y8G("ngIf",e.lJ4(2,ke).includes(t.type)),e.R7$(1),e.Y8G("ngIf","array"===t.type||"object"===t.type)}}function $s(n,a){if(1&n&&(e.qex(0),e.DNE(1,Ss,2,1,"ng-container",1),e.DNE(2,Es,2,3,"ng-template",null,47,e.C5r),e.bVm()),2&n){const t=a.$implicit,o=e.sdS(3);e.R7$(1),e.Y8G("ngIf","text"===t.type&&"content"===t.name)("ngIfElse",o)}}function Gs(n,a){if(1&n&&(e.j41(0,"div",55)(1,"mat-accordion",15)(2,"mat-expansion-panel",56)(3,"mat-expansion-panel-header"),e.EFF(4),e.nI1(5,"transloco"),e.k0s(),e.j41(6,"div",9),e.DNE(7,$s,4,2,"ng-container",46),e.k0s()()()()),2&n){const t=e.XpG(4);e.R7$(2),e.Y8G("expanded",!1),e.R7$(2),e.SpI(" ",e.bMT(5,4,"services.options")," "),e.R7$(3),e.Y8G("ngForOf",t.advancedFields)("ngForTrackBy",t.trackByName)}}function js(n,a){if(1&n&&(e.qex(0),e.j41(1,"div",53),e.DNE(2,Ds,3,3,"ng-container",46),e.k0s(),e.DNE(3,Gs,8,6,"div",54),e.bVm()),2&n){const t=e.XpG(3);e.R7$(2),e.Y8G("ngForOf",t.basicFields)("ngForTrackBy",t.trackByName),e.R7$(1),e.Y8G("ngIf",t.showAdvancedOptions)}}function Ns(n,a){if(1&n&&(e.qex(0)(1,45),e.DNE(2,Ps,4,2,"ng-container",24),e.DNE(3,js,4,3,"ng-container",24),e.bVm()()),2&n){const t=e.XpG(2);e.R7$(2),e.Y8G("ngIf",!t.isDatabase||!t.hasStandardFields),e.R7$(1),e.Y8G("ngIf",t.isDatabase&&t.hasStandardFields)}}function As(n,a){if(1&n&&(e.j41(0,"div",57),e.nrm(1,"fa-icon",58),e.j41(2,"p",59),e.EFF(3),e.nI1(4,"transloco"),e.k0s()()),2&n){const t=e.XpG(2);e.R7$(1),e.Y8G("icon",t.faCircleInfo),e.R7$(2),e.SpI(" ",e.bMT(4,2,"services.firstTimeGuidance")," ")}}function Ys(n,a){if(1&n){const t=e.RV6();e.j41(0,"button",66),e.bIt("click",function(){e.eBV(t);const i=e.XpG(3);return e.Njj(i.goToSecurityConfig())}),e.EFF(1),e.nI1(2,"transloco"),e.k0s()}if(2&n){const t=e.XpG(3);e.Y8G("disabled",!t.serviceForm.valid),e.R7$(1),e.SpI(" ",e.bMT(2,2,"services.controls.nextSecurityConfig")," ")}}function Vs(n,a){if(1&n){const t=e.RV6();e.j41(0,"button",67),e.bIt("click",function(){e.eBV(t);const i=e.XpG(3);return e.Njj(i.goToSecurityConfig())}),e.EFF(1),e.nI1(2,"transloco"),e.k0s()}if(2&n){const t=e.XpG(3);e.Y8G("disabled",!t.serviceForm.valid),e.R7$(1),e.SpI(" ",e.bMT(2,2,"services.controls.securityConfig")," ")}}function Xs(n,a){1&n&&(e.j41(0,"button",68),e.EFF(1),e.nI1(2,"transloco"),e.k0s()),2&n&&(e.R7$(1),e.SpI(" ",e.bMT(2,1,"services.controls.createAndTest")," "))}function zs(n,a){if(1&n){const t=e.RV6();e.j41(0,"div",60)(1,"button",61),e.bIt("click",function(){e.eBV(t);const i=e.XpG(2);return e.Njj(i.goBack())}),e.EFF(2),e.nI1(3,"transloco"),e.k0s(),e.j41(4,"div",62),e.DNE(5,Ys,3,4,"button",63),e.DNE(6,Vs,3,4,"button",64),e.DNE(7,Xs,3,3,"button",65),e.k0s()()}if(2&n){const t=e.XpG(2);e.R7$(2),e.SpI(" ",e.bMT(3,4,"cancel")," "),e.R7$(3),e.Y8G("ngIf",t.isFirstTimeUser&&t.isDatabase),e.R7$(1),e.Y8G("ngIf",!(t.isFirstTimeUser&&t.isDatabase)),e.R7$(1),e.Y8G("ngIf",!(t.isFirstTimeUser&&t.isDatabase))}}function Bs(n,a){1&n&&e.EFF(0,"Security Configuration")}function Ls(n,a){if(1&n){const t=e.RV6();e.j41(0,"div",9)(1,"df-security-config",69),e.bIt("goBack",function(){e.eBV(t);const i=e.XpG(2);return e.Njj(i.goBack())}),e.k0s()()}if(2&n){const t=e.XpG(2);let o;e.R7$(1),e.Y8G("serviceName",null==(o=t.serviceForm.get("name"))?null:o.value)("serviceId",t.currentServiceId)("isDatabase",t.isDatabase)("isFirstTimeUser",t.isFirstTimeUser)}}function Us(n,a){1&n&&(e.j41(0,"div",9)(1,"p"),e.EFF(2,' Please complete the previous steps and click "Security Config" to configure security settings. '),e.k0s(),e.j41(3,"div",21)(4,"div")(5,"button",23),e.EFF(6," Back "),e.k0s()()()())}function qs(n,a){1&n&&(e.j41(0,"mat-icon"),e.EFF(1,"1"),e.k0s())}function Ks(n,a){1&n&&(e.j41(0,"mat-icon"),e.EFF(1,"2"),e.k0s())}function Js(n,a){1&n&&(e.j41(0,"mat-icon"),e.EFF(1,"3"),e.k0s())}function Hs(n,a){1&n&&(e.j41(0,"mat-icon"),e.EFF(1,"4"),e.k0s())}function Ws(n,a){1&n&&(e.qex(0,70),e.DNE(1,qs,2,0,"mat-icon",71),e.DNE(2,Ks,2,0,"mat-icon",71),e.DNE(3,Js,2,0,"mat-icon",71),e.DNE(4,Hs,2,0,"mat-icon",71),e.bVm()),2&n&&(e.Y8G("ngSwitch",a.index),e.R7$(1),e.Y8G("ngSwitchCase",0),e.R7$(1),e.Y8G("ngSwitchCase",1),e.R7$(1),e.Y8G("ngSwitchCase",2),e.R7$(1),e.Y8G("ngSwitchCase",3))}function Qs(n,a){1&n&&(e.j41(0,"mat-icon"),e.EFF(1,"1"),e.k0s())}function Zs(n,a){1&n&&(e.j41(0,"mat-icon"),e.EFF(1,"2"),e.k0s())}function el(n,a){1&n&&(e.j41(0,"mat-icon"),e.EFF(1,"3"),e.k0s())}function tl(n,a){1&n&&(e.j41(0,"mat-icon"),e.EFF(1,"4"),e.k0s())}function nl(n,a){1&n&&(e.qex(0,70),e.DNE(1,Qs,2,0,"mat-icon",71),e.DNE(2,Zs,2,0,"mat-icon",71),e.DNE(3,el,2,0,"mat-icon",71),e.DNE(4,tl,2,0,"mat-icon",71),e.bVm()),2&n&&(e.Y8G("ngSwitch",a.index),e.R7$(1),e.Y8G("ngSwitchCase",0),e.R7$(1),e.Y8G("ngSwitchCase",1),e.R7$(1),e.Y8G("ngSwitchCase",2),e.R7$(1),e.Y8G("ngSwitchCase",3))}const Mt=function(){return{standalone:!0}};function ol(n,a){if(1&n){const t=e.RV6();e.qex(0),e.j41(1,"mat-stepper",5,6)(3,"mat-step",7),e.DNE(4,ds,2,3,"ng-template",8),e.j41(5,"div",9)(6,"div",10)(7,"h3"),e.EFF(8),e.nI1(9,"transloco"),e.nrm(10,"fa-icon",11),e.nI1(11,"transloco"),e.k0s(),e.j41(12,"div")(13,"button",12),e.EFF(14," Next "),e.k0s()()(),e.j41(15,"mat-form-field",13)(16,"mat-label"),e.EFF(17,"Search service types..."),e.k0s(),e.j41(18,"input",14),e.bIt("ngModelChange",function(i){e.eBV(t);const r=e.XpG();return e.Njj(r.search=i)}),e.k0s()(),e.j41(19,"div",15)(20,"div",16),e.DNE(21,ps,8,6,"label",17),e.DNE(22,_s,9,8,"label",17),e.k0s()(),e.j41(23,"div")(24,"button",12),e.EFF(25," Next "),e.k0s()()()(),e.j41(26,"mat-step"),e.DNE(27,gs,1,0,"ng-template",8),e.nrm(28,"br"),e.j41(29,"div",9),e.DNE(30,fs,10,10,"mat-form-field",18),e.DNE(31,us,7,7,"mat-form-field",19),e.DNE(32,hs,7,7,"mat-form-field",20),e.j41(33,"div",21),e.DNE(34,bs,3,3,"mat-slide-toggle",22),e.j41(35,"div")(36,"button",23),e.EFF(37," Back "),e.k0s(),e.j41(38,"button",12),e.EFF(39," Next "),e.k0s()(),e.nrm(40,"div"),e.k0s()()(),e.j41(41,"mat-step"),e.DNE(42,vs,1,0,"ng-template",8),e.nrm(43,"br"),e.DNE(44,Ns,4,2,"ng-container",24),e.DNE(45,As,5,4,"div",25),e.DNE(46,zs,8,6,"div",26),e.k0s(),e.j41(47,"mat-step"),e.DNE(48,Bs,1,0,"ng-template",8),e.DNE(49,Ls,2,4,"div",27),e.DNE(50,Us,7,0,"div",27),e.k0s(),e.DNE(51,Ws,5,5,"ng-template",28),e.DNE(52,nl,5,5,"ng-template",29),e.k0s(),e.bVm()}if(2&n){const t=e.XpG();let o,i,r;e.R7$(3),e.Y8G("editable",!0),e.R7$(5),e.SpI(" Search for your ",e.bMT(9,22,"services.controls.serviceType.label")," to get started "),e.R7$(2),e.Y8G("icon",t.faCircleInfo)("matTooltip",e.bMT(11,24,"services.controls.serviceType.tooltip")),e.R7$(3),e.Y8G("disabled",""===(null==(o=t.serviceForm.get("type"))?null:o.value)),e.R7$(5),e.Y8G("ngModel",t.search)("ngModelOptions",e.lJ4(26,Mt)),e.R7$(3),e.Y8G("ngForOf",t.filteredServiceTypes)("ngForTrackBy",t.trackByName),e.R7$(1),e.Y8G("ngForOf",t.notIncludedServices)("ngForTrackBy",t.trackByName),e.R7$(2),e.Y8G("disabled",""===(null==(i=t.serviceForm.get("type"))?null:i.value)),e.R7$(6),e.Y8G("ngIf",!t.subscriptionRequired),e.R7$(1),e.Y8G("ngIf",!t.subscriptionRequired),e.R7$(1),e.Y8G("ngIf",!t.subscriptionRequired),e.R7$(2),e.Y8G("ngIf",!t.subscriptionRequired),e.R7$(4),e.Y8G("disabled",""===(null==(r=t.serviceForm.get("type"))?null:r.value)&&""===(null==(r=t.serviceForm.get("description"))?null:r.value)),e.R7$(6),e.Y8G("ngIf",t.viewSchema&&!t.subscriptionRequired),e.R7$(1),e.Y8G("ngIf",t.isFirstTimeUser&&t.isDatabase&&!t.subscriptionRequired),e.R7$(1),e.Y8G("ngIf",!t.subscriptionRequired),e.R7$(3),e.Y8G("ngIf",t.showSecurityConfig),e.R7$(1),e.Y8G("ngIf",!t.showSecurityConfig)}}function il(n,a){if(1&n&&e.nrm(0,"df-service-health-panel",78),2&n){const t=e.XpG(2);e.Y8G("serviceId",t.serviceData.id)("serviceName",t.serviceData.name)("serviceGroup",t.serviceGroup)("deprecated",t.serviceData.deprecated)}}function al(n,a){if(1&n&&(e.j41(0,"section",83),e.nrm(1,"df-page-header",79),e.nI1(2,"transloco"),e.nI1(3,"transloco"),e.nI1(4,"transloco"),e.j41(5,"p",84),e.EFF(6),e.nI1(7,"transloco"),e.k0s(),e.nrm(8,"df-pipeline-strip",85),e.k0s()),2&n){const t=e.XpG(3);e.R7$(1),e.Y8G("eyebrow",e.bMT(2,7,"services.pipeline.eyebrow"))("title",e.bMT(3,9,"services.pipeline.title"))("description",e.bMT(4,11,"services.pipeline.description")),e.R7$(5),e.SpI(" ",e.bMT(7,13,"services.pipeline.hint")," "),e.R7$(2),e.Y8G("serviceId",t.serviceData.id)("serviceName",t.serviceData.name)("serviceType",t.serviceData.type)}}function rl(n,a){if(1&n){const t=e.RV6();e.j41(0,"section",86),e.nrm(1,"df-page-header",79),e.nI1(2,"transloco"),e.nI1(3,"transloco"),e.nI1(4,"transloco"),e.j41(5,"p",87),e.EFF(6),e.nI1(7,"transloco"),e.k0s(),e.j41(8,"df-scope-matrix",88),e.bIt("cellClick",function(i){e.eBV(t);const r=e.XpG(3);return e.Njj(r.onScopeCellClick(i))}),e.k0s()()}if(2&n){const t=e.XpG(3);e.R7$(1),e.Y8G("eyebrow",e.bMT(2,5,"services.access.eyebrow"))("title",e.bMT(3,7,"services.access.title"))("description",e.bMT(4,9,"services.access.description")),e.R7$(5),e.SpI(" ",e.bMT(7,11,"services.access.hint")," "),e.R7$(2),e.Y8G("serviceId",t.serviceData.id)}}function cl(n,a){if(1&n){const t=e.RV6();e.qex(0),e.nrm(1,"df-page-header",79),e.nI1(2,"transloco"),e.nI1(3,"transloco"),e.j41(4,"df-artifact-card",80),e.bIt("createKey",function(){e.eBV(t);const i=e.XpG(2);return e.Njj(i.onCreateApiKey())}),e.k0s(),e.DNE(5,al,9,15,"section",81),e.DNE(6,rl,9,13,"section",82),e.bVm()}if(2&n){const t=e.XpG(2);e.R7$(1),e.Y8G("eyebrow",e.bMT(2,9,"services.overview.eyebrow"))("title",t.serviceData.label||t.serviceData.name)("description",e.bMT(3,11,"services.overview.description")),e.R7$(3),e.Y8G("serviceName",t.serviceData.name)("baseUrl",t.artifactBaseUrl)("sampleTable",t.artifactSampleTable)("keys",t.artifactKeys),e.R7$(1),e.Y8G("ngIf",t.serviceData.id),e.R7$(1),e.Y8G("ngIf",t.serviceData.id)}}function sl(n,a){if(1&n&&(e.j41(0,"mat-option",89),e.EFF(1),e.k0s()),2&n){const t=a.$implicit;e.Y8G("value",t.name),e.R7$(1),e.SpI(" ",t.label," ")}}function ll(n,a){if(1&n&&(e.j41(0,"mat-form-field",38)(1,"mat-label"),e.EFF(2),e.nI1(3,"transloco"),e.k0s(),e.nrm(4,"input",39)(5,"fa-icon",11),e.nI1(6,"transloco"),e.k0s()),2&n){const t=e.XpG(2);e.R7$(2),e.JRh(e.bMT(3,3,"services.controls.namespace.label")),e.R7$(3),e.Y8G("icon",t.faCircleInfo)("matTooltip",e.bMT(6,5,"services.controls.namespace.tooltip"))}}function dl(n,a){if(1&n&&(e.j41(0,"mat-option",89),e.EFF(1),e.k0s()),2&n){const t=a.$implicit;e.Y8G("value",t.id),e.R7$(1),e.SpI(" ",t.label||t.name," ")}}function pl(n,a){if(1&n&&(e.qex(0),e.j41(1,"mat-form-field",90)(2,"mat-label"),e.EFF(3,"Storage Service *"),e.k0s(),e.j41(4,"mat-select",91),e.DNE(5,dl,2,2,"mat-option",74),e.k0s()(),e.bVm()),2&n){const t=e.XpG(2);e.R7$(5),e.Y8G("ngForOf",t.availableFileServices)("ngForTrackBy",t.trackById)}}function ml(n,a){if(1&n&&(e.j41(0,"mat-form-field",92)(1,"mat-label"),e.EFF(2),e.nI1(3,"transloco"),e.k0s(),e.nrm(4,"input",41)(5,"fa-icon",11),e.nI1(6,"transloco"),e.k0s()),2&n){const t=e.XpG(2);e.R7$(2),e.JRh(e.bMT(3,3,"services.controls.label.label")),e.R7$(3),e.Y8G("icon",t.faCircleInfo)("matTooltip",e.bMT(6,5,"services.controls.label.tooltip"))}}function _l(n,a){if(1&n&&(e.j41(0,"mat-form-field",92)(1,"mat-label"),e.EFF(2),e.nI1(3,"transloco"),e.k0s(),e.nrm(4,"textarea",43)(5,"fa-icon",11),e.nI1(6,"transloco"),e.k0s()),2&n){const t=e.XpG(2);e.R7$(2),e.JRh(e.bMT(3,3,"services.controls.description.label")),e.R7$(3),e.Y8G("icon",t.faCircleInfo)("matTooltip",e.bMT(6,5,"services.controls.description.tooltip"))}}function gl(n,a){1&n&&(e.j41(0,"mat-slide-toggle",93)(1,"span"),e.EFF(2),e.nI1(3,"transloco"),e.k0s()()),2&n&&(e.R7$(2),e.JRh(e.bMT(3,1,"active")))}function fl(n,a){if(1&n){const t=e.RV6();e.qex(0),e.j41(1,"button",95),e.bIt("click",function(){e.eBV(t);const i=e.XpG(3);return e.Njj(i.gotoSchema())}),e.EFF(2),e.nI1(3,"transloco"),e.k0s(),e.bVm()}2&n&&(e.R7$(2),e.SpI(" ",e.bMT(3,1,"schema")," "))}function ul(n,a){if(1&n){const t=e.RV6();e.j41(0,"button",95),e.bIt("click",function(){e.eBV(t);const i=e.XpG(3);return e.Njj(i.gotoAPIDocs())}),e.EFF(1),e.nI1(2,"transloco"),e.k0s()}2&n&&(e.R7$(1),e.SpI(" ",e.bMT(2,1,"apiDocs")," "))}function hl(n,a){if(1&n&&(e.qex(0),e.DNE(1,fl,4,3,"ng-container",1),e.DNE(2,ul,3,3,"ng-template",null,94,e.C5r),e.bVm()),2&n){const t=e.sdS(3),o=e.XpG(2);e.R7$(1),e.Y8G("ngIf",o.isDatabase)("ngIfElse",t)}}function bl(n,a){if(1&n){const t=e.RV6();e.j41(0,"div",97)(1,"button",98),e.bIt("click",function(){e.eBV(t);const i=e.XpG(4);return e.Njj(i.openCurlImport())}),e.nrm(2,"fa-icon",99),e.j41(3,"span"),e.EFF(4),e.nI1(5,"transloco"),e.k0s()(),e.j41(6,"span",100),e.EFF(7),e.nI1(8,"transloco"),e.k0s()()}if(2&n){const t=e.XpG(4);e.R7$(2),e.Y8G("icon",t.faFileImport),e.R7$(2),e.JRh(e.bMT(5,3,"services.curlImport.button")),e.R7$(3),e.SpI(" ",e.bMT(8,5,"services.curlImport.buttonHint")," ")}}function vl(n,a){if(1&n&&e.nrm(0,"df-dynamic-field",102),2&n){const t=e.XpG().$implicit,o=e.XpG(4);e.AVh("dynamic-width",-1===e.lJ4(6,le).indexOf(t.type))("full-width",-1!==e.lJ4(7,le).indexOf(t.type)),e.Y8G("schema",t)("formControl",o.getConfigControl(t.name))}}function xl(n,a){if(1&n&&(e.qex(0),e.DNE(1,vl,1,8,"df-dynamic-field",101),e.bVm()),2&n){const t=a.$implicit;e.R7$(1),e.Y8G("ngIf",e.lJ4(1,ke).includes(t.type))}}function Cl(n,a){if(1&n){const t=e.RV6();e.qex(0),e.j41(1,"mat-button-toggle-group",103),e.bIt("ngModelChange",function(i){e.eBV(t);const r=e.XpG(4);return e.Njj(r.serviceDefinitionType=i)})("change",function(){e.eBV(t);const i=e.XpG(4);return e.Njj(i.onServiceDefinitionTypeChange(i.serviceDefinitionType))}),e.j41(2,"mat-button-toggle",104),e.EFF(3,"JSON"),e.k0s(),e.j41(4,"mat-button-toggle",105),e.EFF(5,"YAML"),e.k0s()(),e.bVm()}if(2&n){const t=e.XpG(4);e.R7$(1),e.Y8G("ngModel",t.serviceDefinitionType)("ngModelOptions",e.lJ4(2,Mt))}}function kl(n,a){if(1&n&&(e.qex(0),e.nrm(1,"df-file-github",106),e.bVm()),2&n){const t=e.XpG(4);e.R7$(1),e.Y8G("type",t.getControl("type"))("content",t.getConfigControl("content"))("contentText",t.content)}}function yl(n,a){if(1&n&&(e.qex(0),e.nrm(1,"df-file-github",106),e.bVm()),2&n){const t=e.XpG(4);e.R7$(1),e.Y8G("type",t.getControl("type"))("content",t.getConfigControl("content"))("contentText",t.content)}}function Ml(n,a){if(1&n&&(e.qex(0),e.nrm(1,"df-ace-editor",107),e.bVm()),2&n){const t=e.XpG(4);e.R7$(1),e.Y8G("formControl",t.getConfigControl("content"))("mode",t.serviceDefinitionMode)}}function Ol(n,a){if(1&n&&e.nrm(0,"df-dynamic-field",102),2&n){const t=e.XpG().$implicit,o=e.XpG(4);e.AVh("dynamic-width",-1===e.lJ4(6,le).indexOf(t.type))("full-width",-1!==e.lJ4(7,le).indexOf(t.type)),e.Y8G("schema",t)("formControl",o.getConfigControl(t.name))}}function Pl(n,a){if(1&n&&e.nrm(0,"df-array-field",52),2&n){const t=e.XpG().$implicit,o=e.XpG(4);e.Y8G("schema",t)("formControl",o.getConfigControl(t.name))}}function Fl(n,a){if(1&n&&(e.qex(0),e.DNE(1,Ol,1,8,"df-dynamic-field",101),e.DNE(2,Pl,1,2,"df-array-field",50),e.bVm()),2&n){const t=a.$implicit;e.R7$(1),e.Y8G("ngIf",e.lJ4(2,ke).includes(t.type)),e.R7$(1),e.Y8G("ngIf","array"===t.type||"object"===t.type)}}function wl(n,a){if(1&n&&(e.qex(0),e.DNE(1,bl,9,7,"div",96),e.DNE(2,xl,2,2,"ng-container",46),e.j41(3,"mat-accordion",15)(4,"mat-expansion-panel",56)(5,"mat-expansion-panel-header"),e.EFF(6," Advanced Options "),e.k0s(),e.j41(7,"div",9),e.DNE(8,Cl,6,3,"ng-container",24),e.j41(9,"mat-label",15),e.EFF(10,"Service Definition"),e.k0s(),e.DNE(11,kl,2,3,"ng-container",24),e.DNE(12,yl,2,3,"ng-container",24),e.DNE(13,Ml,2,2,"ng-container",24),e.DNE(14,Fl,3,3,"ng-container",46),e.k0s()()(),e.bVm()),2&n){const t=e.XpG(3);e.R7$(1),e.Y8G("ngIf",t.showCurlImport),e.R7$(1),e.Y8G("ngForOf",t.networkRequiredFields)("ngForTrackBy",t.trackByName),e.R7$(2),e.Y8G("expanded",!1),e.R7$(4),e.Y8G("ngIf","soap"!==t.serviceForm.getRawValue().type),e.R7$(3),e.Y8G("ngIf","rws"===t.serviceForm.getRawValue().type),e.R7$(1),e.Y8G("ngIf","soap"===t.serviceForm.getRawValue().type),e.R7$(1),e.Y8G("ngIf","rest"===t.serviceForm.getRawValue().type||"http"===t.serviceForm.getRawValue().type),e.R7$(1),e.Y8G("ngForOf",t.networkAdvancedFields)("ngForTrackBy",t.trackByName)}}function Dl(n,a){if(1&n&&(e.qex(0),e.nrm(1,"df-script-editor",108),e.bVm()),2&n){const t=e.XpG(4);e.R7$(1),e.Y8G("isScript",t.isScriptService)("type",t.getControl("type"))("storageServiceId",t.getConfigControl("storageServiceId"))("storagePath",t.getConfigControl("storagePath"))("content",t.getConfigControl("content"))("cache",t.serviceData?t.serviceData.name:"")("hideScmActions",!0)}}function Tl(n,a){if(1&n&&e.nrm(0,"df-dynamic-field",102),2&n){const t=e.XpG(2).$implicit,o=e.XpG(4);e.AVh("dynamic-width",-1===e.lJ4(6,le).indexOf(t.type))("full-width",-1!==e.lJ4(7,le).indexOf(t.type)),e.Y8G("schema",t)("formControl",o.getConfigControl(t.name))}}function Sl(n,a){if(1&n&&e.nrm(0,"df-array-field",52),2&n){const t=e.XpG(2).$implicit,o=e.XpG(4);e.Y8G("schema",t)("formControl",o.getConfigControl(t.name))}}function Rl(n,a){if(1&n&&(e.qex(0),e.DNE(1,Tl,1,8,"df-dynamic-field",101),e.DNE(2,Sl,1,2,"df-array-field",50),e.bVm()),2&n){const t=e.XpG().$implicit;e.R7$(1),e.Y8G("ngIf",e.lJ4(2,ke).includes(t.type)),e.R7$(1),e.Y8G("ngIf","array"===t.type||"object"===t.type)}}function Il(n,a){if(1&n&&(e.qex(0),e.DNE(1,Rl,3,3,"ng-container",24),e.bVm()),2&n){const t=a.$implicit;e.R7$(1),e.Y8G("ngIf","content"!==t.name)}}function El(n,a){if(1&n){const t=e.RV6();e.qex(0),e.DNE(1,Dl,2,7,"ng-container",24),e.j41(2,"mat-accordion",15)(3,"mat-expansion-panel",56)(4,"mat-expansion-panel-header"),e.EFF(5," Advanced Options "),e.k0s(),e.j41(6,"div",9)(7,"mat-button-toggle-group",103),e.bIt("ngModelChange",function(i){e.eBV(t);const r=e.XpG(3);return e.Njj(r.serviceDefinitionType=i)})("change",function(){e.eBV(t);const i=e.XpG(3);return e.Njj(i.onServiceDefinitionTypeChange(i.serviceDefinitionType))}),e.j41(8,"mat-button-toggle",104),e.EFF(9,"JSON"),e.k0s(),e.j41(10,"mat-button-toggle",105),e.EFF(11,"YAML"),e.k0s()(),e.j41(12,"mat-label",15),e.EFF(13,"OpenAPI Service Definition (Optional)"),e.k0s(),e.nrm(14,"df-ace-editor",107),e.DNE(15,Il,2,1,"ng-container",46),e.k0s()()(),e.bVm()}if(2&n){const t=e.XpG(3);e.R7$(1),e.Y8G("ngIf",t.getConfigControl("storageServiceId")),e.R7$(2),e.Y8G("expanded",!1),e.R7$(4),e.Y8G("ngModel",t.serviceDefinitionType)("ngModelOptions",e.lJ4(8,Mt)),e.R7$(7),e.Y8G("formControl",t.getServiceDocByServiceIdControl("content"))("mode",t.serviceDefinitionMode),e.R7$(1),e.Y8G("ngForOf",t.viewSchema)("ngForTrackBy",t.trackByName)}}function $l(n,a){if(1&n){const t=e.RV6();e.j41(0,"df-ai-chat-prereqs",113),e.bIt("selectConnection",function(i){e.eBV(t);const r=e.XpG(4);return e.Njj(r.setAiServiceId(i))})("selectRole",function(i){e.eBV(t);const r=e.XpG(4);return e.Njj(r.setAiRoleId(i))}),e.k0s()}if(2&n){const t=e.XpG(4);e.Y8G("selectedConnectionId",t.aiServiceId)("selectedRoleId",t.aiRoleId)}}function Gl(n,a){if(1&n&&e.nrm(0,"df-ai-data-services",114),2&n){const t=e.XpG(4);e.Y8G("form",t.serviceForm)}}function jl(n,a){if(1&n&&e.nrm(0,"df-ai-mcp-servers",114),2&n){const t=e.XpG(4);e.Y8G("form",t.serviceForm)}}function Nl(n,a){if(1&n&&e.nrm(0,"df-ai-test-connection",115),2&n){const t=e.XpG(4);e.Y8G("form",t.serviceForm)("serviceId",t.edit&&t.serviceData?t.serviceData.id:null)}}function Al(n,a){if(1&n&&e.nrm(0,"df-ai-model-picker",115),2&n){const t=e.XpG(4);e.Y8G("form",t.serviceForm)("serviceId",t.edit&&t.serviceData?t.serviceData.id:null)}}function Yl(n,a){if(1&n&&e.nrm(0,"df-ai-allowed-roles",114),2&n){const t=e.XpG(4);e.Y8G("form",t.serviceForm)}}function Vl(n,a){if(1&n){const t=e.RV6();e.qex(0),e.j41(1,"div",116)(2,"input",117,118),e.bIt("change",function(i){e.eBV(t);const r=e.XpG(4);return e.Njj(r.excelUpload(i))}),e.k0s(),e.j41(4,"button",95),e.bIt("click",function(){e.eBV(t);const i=e.sdS(3);return e.Njj(i.click())}),e.EFF(5," Upload Excel "),e.k0s()(),e.nrm(6,"df-ace-editor",107),e.bVm()}if(2&n){const t=e.XpG(4);e.R7$(6),e.Y8G("formControl",t.getConfigControl("excelContent"))("mode",t.excelMode)}}function Xl(n,a){if(1&n&&(e.qex(0),e.nrm(1,"df-script-editor",48),e.bVm()),2&n){const t=e.XpG(7);e.R7$(1),e.Y8G("type",t.getControl("type"))("storageServiceId",t.getConfigControl("storageServiceId"))("storagePath",t.getConfigControl("storagePath"))("content",t.getServiceDocByServiceIdControl("content"))("cache",t.serviceData?t.serviceData.name:"")}}function zl(n,a){if(1&n&&(e.qex(0),e.DNE(1,Xl,2,5,"ng-container",24),e.bVm()),2&n){const t=e.XpG(6);e.R7$(1),e.Y8G("ngIf",t.getConfigControl("storageServiceId"))}}function Bl(n,a){if(1&n&&e.nrm(0,"df-dynamic-field",102),2&n){const t=e.XpG(3).$implicit,o=e.XpG(4);e.AVh("dynamic-width",-1===e.lJ4(6,le).indexOf(t.type))("full-width",-1!==e.lJ4(7,le).indexOf(t.type)),e.Y8G("schema",t)("formControl",o.getConfigControl(t.name))}}function Ll(n,a){if(1&n&&e.nrm(0,"df-array-field",52),2&n){const t=e.XpG(3).$implicit,o=e.XpG(4);e.Y8G("schema",t)("formControl",o.getConfigControl(t.name))}}function Ul(n,a){if(1&n&&(e.DNE(0,Bl,1,8,"df-dynamic-field",101),e.DNE(1,Ll,1,2,"df-array-field",50)),2&n){const t=e.XpG(2).$implicit;e.Y8G("ngIf",e.lJ4(2,ke).includes(t.type)),e.R7$(1),e.Y8G("ngIf","array"===t.type||"object"===t.type)}}function ql(n,a){if(1&n&&(e.qex(0),e.DNE(1,zl,2,1,"ng-container",1),e.DNE(2,Ul,2,3,"ng-template",null,47,e.C5r),e.bVm()),2&n){const t=e.sdS(3),o=e.XpG().$implicit;e.R7$(1),e.Y8G("ngIf","text"===o.type&&"content"===o.name)("ngIfElse",t)}}function Kl(n,a){if(1&n&&(e.qex(0),e.DNE(1,ql,4,2,"ng-container",24),e.bVm()),2&n){const t=a.$implicit,o=e.XpG(4);e.R7$(1),e.Y8G("ngIf",!("ai_chat"===o.serviceForm.getRawValue().type&&("aiServiceId"===t.name||"aiRoleId"===t.name||"mcpServers"===t.name||"defaultDataServices"===t.name)||"ai_connection"===o.serviceForm.getRawValue().type&&("defaultModel"===t.name||"allowedRoles"===t.name)))}}function Jl(n,a){if(1&n&&e.nrm(0,"df-role-scope",119),2&n){const t=e.XpG(4);e.Y8G("roleId",t.aiRoleId)}}function Hl(n,a){if(1&n&&(e.qex(0),e.j41(1,"mat-accordion",15)(2,"mat-expansion-panel",56)(3,"mat-expansion-panel-header"),e.EFF(4),e.nI1(5,"transloco"),e.k0s(),e.j41(6,"div",9),e.DNE(7,$l,1,2,"df-ai-chat-prereqs",109),e.DNE(8,Gl,1,1,"df-ai-data-services",110),e.DNE(9,jl,1,1,"df-ai-mcp-servers",110),e.DNE(10,Nl,1,2,"df-ai-test-connection",111),e.DNE(11,Al,1,2,"df-ai-model-picker",111),e.DNE(12,Yl,1,1,"df-ai-allowed-roles",110),e.DNE(13,Vl,7,2,"ng-container",24),e.DNE(14,Kl,2,1,"ng-container",46),e.DNE(15,Jl,1,1,"df-role-scope",112),e.k0s()()(),e.bVm()),2&n){const t=e.XpG(3);e.R7$(2),e.Y8G("expanded",t.serviceForm.getRawValue().type),e.R7$(2),e.SpI("",e.bMT(5,12,"services.options")," "),e.R7$(3),e.Y8G("ngIf","ai_chat"===t.serviceForm.getRawValue().type),e.R7$(1),e.Y8G("ngIf","ai_chat"===t.serviceForm.getRawValue().type),e.R7$(1),e.Y8G("ngIf","ai_chat"===t.serviceForm.getRawValue().type),e.R7$(1),e.Y8G("ngIf","ai_connection"===t.serviceForm.getRawValue().type),e.R7$(1),e.Y8G("ngIf","ai_connection"===t.serviceForm.getRawValue().type),e.R7$(1),e.Y8G("ngIf","ai_connection"===t.serviceForm.getRawValue().type),e.R7$(1),e.Y8G("ngIf",t.isFile&&"local_file"===t.serviceForm.getRawValue().type),e.R7$(1),e.Y8G("ngForOf",t.viewSchema)("ngForTrackBy",t.trackByName),e.R7$(1),e.Y8G("ngIf","ai_chat"===t.serviceForm.getRawValue().type&&t.aiRoleId)}}function Wl(n,a){if(1&n&&(e.qex(0)(1,45),e.DNE(2,wl,15,10,"ng-container",24),e.DNE(3,El,16,9,"ng-container",24),e.DNE(4,Hl,16,14,"ng-container",24),e.bVm()()),2&n){const t=e.XpG(2);e.R7$(2),e.Y8G("ngIf",t.isNetworkService),e.R7$(1),e.Y8G("ngIf",t.isScriptService),e.R7$(1),e.Y8G("ngIf",!t.isNetworkService&&!t.isScriptService)}}function Ql(n,a){if(1&n){const t=e.RV6();e.j41(0,"tr")(1,"td",125)(2,"mat-slide-toggle",127),e.bIt("change",function(i){const c=e.eBV(t).$implicit,s=e.XpG(3);return e.Njj(s.toggleTool(c.name,i.checked))}),e.k0s()(),e.j41(3,"td")(4,"code"),e.EFF(5),e.k0s()(),e.j41(6,"td"),e.EFF(7),e.k0s()()}if(2&n){const t=a.$implicit,o=e.XpG(3);e.AVh("disabled-row",!o.isToolEnabled(t.name)),e.R7$(2),e.Y8G("checked",o.isToolEnabled(t.name)),e.R7$(3),e.JRh(t.name),e.R7$(2),e.JRh(t.description)}}function Zl(n,a){if(1&n){const t=e.RV6();e.qex(0),e.j41(1,"mat-accordion",15)(2,"mat-expansion-panel",56)(3,"mat-expansion-panel-header"),e.EFF(4," Built-in Tools "),e.k0s(),e.j41(5,"div",120)(6,"mat-accordion",121)(7,"mat-expansion-panel",56)(8,"mat-expansion-panel-header")(9,"mat-panel-title",122)(10,"mat-slide-toggle",123),e.bIt("change",function(i){e.eBV(t);const r=e.XpG(2);return e.Njj(r.toggleAllSystemTools(i.checked))})("click",function(i){return i.stopPropagation()}),e.k0s(),e.j41(11,"span"),e.EFF(12,"System API"),e.k0s()(),e.j41(13,"mat-panel-description"),e.EFF(14),e.k0s()(),e.j41(15,"table",124)(16,"thead")(17,"tr"),e.nrm(18,"th",125),e.j41(19,"th"),e.EFF(20,"Tool Name"),e.k0s(),e.j41(21,"th"),e.EFF(22,"Description"),e.k0s()()(),e.j41(23,"tbody"),e.DNE(24,Ql,8,5,"tr",126),e.k0s()()()()()()(),e.bVm()}if(2&n){const t=e.XpG(2);e.R7$(2),e.Y8G("expanded",!0),e.R7$(5),e.Y8G("expanded",!0),e.R7$(3),e.Y8G("checked",t.isAllSystemToolsEnabled()),e.R7$(4),e.SpI(" System API \xb7 ",t.systemMcpTools.length," tools "),e.R7$(10),e.Y8G("ngForOf",t.systemMcpTools)("ngForTrackBy",t.trackByName)}}function ed(n,a){1&n&&(e.j41(0,"div",9)(1,"p"),e.EFF(2,"Loading services..."),e.k0s()())}function td(n,a){1&n&&(e.j41(0,"div",9)(1,"p"),e.EFF(2,"No database or file services found."),e.k0s()())}function nd(n,a){if(1&n){const t=e.RV6();e.j41(0,"tr")(1,"td",125)(2,"mat-slide-toggle",127),e.bIt("change",function(i){const c=e.eBV(t).$implicit,s=e.XpG(4);return e.Njj(s.toggleTool(c.name,i.checked))}),e.k0s()(),e.j41(3,"td")(4,"code"),e.EFF(5),e.k0s()(),e.j41(6,"td"),e.EFF(7),e.k0s()()}if(2&n){const t=a.$implicit,o=e.XpG(4);e.AVh("disabled-row",!o.isToolEnabled(t.name)),e.R7$(2),e.Y8G("checked",o.isToolEnabled(t.name)),e.R7$(3),e.JRh(t.name),e.R7$(2),e.JRh(t.description)}}function od(n,a){if(1&n&&(e.j41(0,"th")(1,"code"),e.EFF(2),e.k0s()()),2&n){const t=a.$implicit;e.R7$(2),e.JRh(t.name)}}function id(n,a){if(1&n){const t=e.RV6();e.j41(0,"td")(1,"mat-slide-toggle",127),e.bIt("change",function(i){const c=e.eBV(t).$implicit,s=e.XpG().$implicit,l=e.XpG(5);return e.Njj(l.toggleVerbFor(s.name,c.name,i.checked))}),e.k0s()()}if(2&n){const t=a.$implicit,o=e.XpG().$implicit,i=e.XpG(5);e.R7$(1),e.Y8G("checked",i.isVerbEnabledFor(o.name,t.name))}}function ad(n,a){if(1&n){const t=e.RV6();e.j41(0,"tr")(1,"td",125)(2,"mat-slide-toggle",127),e.bIt("change",function(i){const c=e.eBV(t).$implicit,s=e.XpG(5);return e.Njj(s.toggleVerbEverywhere(c.name,i.checked))}),e.k0s()(),e.j41(3,"td")(4,"code"),e.EFF(5),e.k0s()(),e.DNE(6,id,2,1,"td",46),e.k0s()}if(2&n){const t=a.$implicit,o=e.XpG(5);e.AVh("disabled-row",!o.isVerbEnabledAnywhere(t.name)),e.R7$(2),e.Y8G("checked",o.isVerbEnabledAnywhere(t.name)),e.R7$(3),e.JRh(t.name),e.R7$(1),e.Y8G("ngForOf",o.dbServices)("ngForTrackBy",o.trackByName)}}function rd(n,a){if(1&n&&(e.j41(0,"mat-expansion-panel",132)(1,"mat-expansion-panel-header")(2,"mat-panel-title",122)(3,"span"),e.EFF(4,"Database Tools (merged)"),e.k0s()(),e.j41(5,"mat-panel-description"),e.EFF(6),e.k0s()(),e.j41(7,"p",9),e.EFF(8," Each verb is registered once and takes a "),e.j41(9,"code"),e.EFF(10,"service"),e.k0s(),e.EFF(11," argument. Turning a verb off for one database removes that database from the tool's allowed services; turning it off everywhere removes the tool. "),e.k0s(),e.j41(12,"table",124)(13,"thead")(14,"tr"),e.nrm(15,"th",125),e.j41(16,"th"),e.EFF(17,"Tool Name"),e.k0s(),e.DNE(18,od,3,1,"th",46),e.k0s()(),e.j41(19,"tbody"),e.DNE(20,ad,7,6,"tr",126),e.k0s()()()),2&n){const t=e.XpG(4);e.R7$(6),e.Lme(" ",t.mergedDbVerbs.length," tools \xb7 ",t.dbServices.length," databases "),e.R7$(12),e.Y8G("ngForOf",t.dbServices)("ngForTrackBy",t.trackByName),e.R7$(2),e.Y8G("ngForOf",t.mergedDbVerbs)("ngForTrackBy",t.trackByName)}}function cd(n,a){if(1&n){const t=e.RV6();e.j41(0,"tr")(1,"td",125)(2,"mat-slide-toggle",127),e.bIt("change",function(i){const c=e.eBV(t).$implicit,s=e.XpG(5);return e.Njj(s.toggleTool(c.name,i.checked))}),e.k0s()(),e.j41(3,"td")(4,"code"),e.EFF(5),e.k0s()(),e.j41(6,"td"),e.EFF(7),e.k0s()()}if(2&n){const t=a.$implicit,o=e.XpG(5);e.AVh("disabled-row",!o.isToolEnabled(t.name)),e.R7$(2),e.Y8G("checked",o.isToolEnabled(t.name)),e.R7$(3),e.JRh(t.name),e.R7$(2),e.JRh(t.description)}}function sd(n,a){if(1&n){const t=e.RV6();e.j41(0,"mat-expansion-panel",56)(1,"mat-expansion-panel-header")(2,"mat-panel-title",122)(3,"mat-slide-toggle",123),e.bIt("change",function(i){const c=e.eBV(t).$implicit,s=e.XpG(4);return e.Njj(s.toggleService(c,i.checked))})("click",function(i){return i.stopPropagation()}),e.k0s(),e.j41(4,"span"),e.EFF(5),e.k0s()(),e.j41(6,"mat-panel-description"),e.EFF(7),e.k0s()(),e.j41(8,"table",124)(9,"thead")(10,"tr"),e.nrm(11,"th",125),e.j41(12,"th"),e.EFF(13,"Tool Name"),e.k0s(),e.j41(14,"th"),e.EFF(15,"Description"),e.k0s()()(),e.j41(16,"tbody"),e.DNE(17,cd,8,5,"tr",126),e.k0s()()()}if(2&n){const t=a.$implicit,o=e.XpG(4);e.Y8G("expanded",t.expanded),e.R7$(3),e.Y8G("checked",o.isServiceEnabled(t)),e.R7$(2),e.JRh(t.label),e.R7$(2),e.Lme(" ",t.category," \xb7 ",t.tools.length," tools "),e.R7$(10),e.Y8G("ngForOf",t.tools)("ngForTrackBy",o.trackByName)}}function ld(n,a){if(1&n){const t=e.RV6();e.j41(0,"div",120)(1,"mat-accordion",121)(2,"mat-expansion-panel")(3,"mat-expansion-panel-header")(4,"mat-panel-title",122)(5,"mat-slide-toggle",123),e.bIt("change",function(i){e.eBV(t);const r=e.XpG(3);return e.Njj(r.toggleAllGlobalTools(i.checked))})("click",function(i){return i.stopPropagation()}),e.k0s(),e.j41(6,"span"),e.EFF(7,"Global Tools"),e.k0s()(),e.j41(8,"mat-panel-description"),e.EFF(9),e.k0s()(),e.j41(10,"table",124)(11,"thead")(12,"tr"),e.nrm(13,"th",125),e.j41(14,"th"),e.EFF(15,"Tool Name"),e.k0s(),e.j41(16,"th"),e.EFF(17,"Description"),e.k0s()()(),e.j41(18,"tbody"),e.DNE(19,nd,8,5,"tr",129),e.k0s()()(),e.DNE(20,rd,21,6,"mat-expansion-panel",130),e.DNE(21,sd,18,7,"mat-expansion-panel",131),e.k0s()()}if(2&n){const t=e.XpG(3);e.R7$(5),e.Y8G("checked",t.isAllGlobalToolsEnabled()),e.R7$(4),e.SpI(" Cross-service \xb7 ",t.mcpGlobalTools.length," tools "),e.R7$(10),e.Y8G("ngForOf",t.mcpGlobalTools),e.R7$(1),e.Y8G("ngIf",t.isMergedStyle&&t.dbServices.length>0),e.R7$(1),e.Y8G("ngForOf",t.visibleServices)("ngForTrackBy",t.trackByName)}}function dd(n,a){if(1&n&&(e.qex(0),e.j41(1,"mat-accordion",15)(2,"mat-expansion-panel",56)(3,"mat-expansion-panel-header"),e.EFF(4," Built-in Tools "),e.k0s(),e.DNE(5,ed,3,0,"div",27),e.DNE(6,td,3,0,"div",27),e.DNE(7,ld,22,6,"div",128),e.k0s()(),e.bVm()),2&n){const t=e.XpG(2);e.R7$(2),e.Y8G("expanded",!0),e.R7$(3),e.Y8G("ngIf",!t.mcpServicesLoaded),e.R7$(1),e.Y8G("ngIf",t.mcpServicesLoaded&&0===t.mcpServices.length&&0===t.mcpGlobalTools.length),e.R7$(1),e.Y8G("ngIf",t.mcpServicesLoaded)}}function pd(n,a){if(1&n){const t=e.RV6();e.j41(0,"div",139)(1,"button",140),e.bIt("click",function(){e.eBV(t);const i=e.XpG(3);return e.Njj(i.addCustomTool())}),e.nrm(2,"fa-icon",141),e.EFF(3," Add Custom Tool "),e.k0s()()}if(2&n){const t=e.XpG(3);e.R7$(2),e.Y8G("icon",t.faPlus)}}function md(n,a){1&n&&(e.j41(0,"mat-form-field",161)(1,"mat-label"),e.EFF(2,"HTTP Method"),e.k0s(),e.j41(3,"mat-select",162)(4,"mat-option",163),e.EFF(5,"GET"),e.k0s(),e.j41(6,"mat-option",164),e.EFF(7,"POST"),e.k0s(),e.j41(8,"mat-option",165),e.EFF(9,"PUT"),e.k0s(),e.j41(10,"mat-option",166),e.EFF(11,"PATCH"),e.k0s(),e.j41(12,"mat-option",167),e.EFF(13,"DELETE"),e.k0s()()())}function _d(n,a){if(1&n){const t=e.RV6();e.j41(0,"button",172),e.bIt("click",function(){const r=e.eBV(t).$implicit,c=e.XpG(5);return e.Njj(c.insertLookup(r.name,"url"))}),e.EFF(1),e.k0s()}if(2&n){const t=a.$implicit;e.R7$(1),e.SpI(" ",t.name," ")}}function gd(n,a){if(1&n&&(e.j41(0,"mat-form-field",90)(1,"mat-label"),e.EFF(2,"URL"),e.k0s(),e.nrm(3,"input",168),e.j41(4,"button",169),e.nrm(5,"fa-icon",99),e.k0s(),e.j41(6,"mat-menu",null,170),e.DNE(8,_d,2,1,"button",171),e.k0s(),e.j41(9,"mat-hint"),e.EFF(10,"Use {LOOKUP_NAME} for secrets or {param} for path parameters"),e.k0s()()),2&n){const t=e.sdS(7),o=e.XpG(4);e.R7$(4),e.Y8G("matMenuTriggerFor",t)("disabled",0===o.availableLookups.length),e.R7$(1),e.Y8G("icon",o.faPlus),e.R7$(3),e.Y8G("ngForOf",o.availableLookups)("ngForTrackBy",o.trackByName)}}function fd(n,a){1&n&&(e.j41(0,"mat-form-field",193)(1,"mat-label"),e.EFF(2,"Location"),e.k0s(),e.j41(3,"mat-select",194)(4,"mat-option",195),e.EFF(5,"query"),e.k0s(),e.j41(6,"mat-option",196),e.EFF(7,"path"),e.k0s(),e.j41(8,"mat-option",197),e.EFF(9,"body"),e.k0s(),e.j41(10,"mat-option",198),e.EFF(11,"header"),e.k0s()()())}function ud(n,a){if(1&n){const t=e.RV6();e.j41(0,"div",175)(1,"div",176)(2,"span",177),e.EFF(3),e.k0s(),e.j41(4,"button",178),e.bIt("click",function(){const r=e.eBV(t).index,c=e.XpG(5);return e.Njj(c.removeToolParameter(r))}),e.nrm(5,"fa-icon",99),e.k0s()(),e.j41(6,"div",179)(7,"mat-form-field",180)(8,"mat-label"),e.EFF(9,"Name"),e.k0s(),e.nrm(10,"input",181),e.k0s(),e.j41(11,"mat-form-field",182)(12,"mat-label"),e.EFF(13,"Type"),e.k0s(),e.j41(14,"mat-select",183)(15,"mat-option",184),e.EFF(16,"string"),e.k0s(),e.j41(17,"mat-option",185),e.EFF(18,"number"),e.k0s(),e.j41(19,"mat-option",186),e.EFF(20,"integer"),e.k0s(),e.j41(21,"mat-option",187),e.EFF(22,"boolean"),e.k0s()()(),e.DNE(23,fd,12,0,"mat-form-field",188),e.j41(24,"div",189)(25,"mat-checkbox",190),e.EFF(26,"Required"),e.k0s()(),e.j41(27,"mat-form-field",191)(28,"mat-label"),e.EFF(29,"Description"),e.k0s(),e.nrm(30,"input",192),e.k0s()()()}if(2&n){const t=a.index,o=e.XpG(5);let i;e.Y8G("formGroupName",t),e.R7$(3),e.SpI("#",t+1,""),e.R7$(2),e.Y8G("icon",o.faTrashCan),e.R7$(18),e.Y8G("ngIf","api"===(null==(i=o.customToolForm.get("toolType"))?null:i.value))}}function hd(n,a){if(1&n&&(e.j41(0,"div",173),e.DNE(1,ud,31,4,"div",174),e.k0s()),2&n){const t=e.XpG(4);e.R7$(1),e.Y8G("ngForOf",t.customToolParameters.controls)}}function bd(n,a){1&n&&(e.j41(0,"p",199),e.EFF(1," No parameters yet. Add one to define inputs for this tool. "),e.k0s())}function vd(n,a){if(1&n&&(e.j41(0,"mat-option",89),e.EFF(1),e.k0s()),2&n){const t=a.$implicit;e.Y8G("value",t.id),e.R7$(1),e.SpI(" ",t.label||t.name," ")}}function xd(n,a){1&n&&(e.j41(0,"div",146)(1,"mat-form-field",204)(2,"mat-label"),e.EFF(3,"Repository"),e.k0s(),e.nrm(4,"input",205),e.k0s(),e.j41(5,"mat-form-field",204)(6,"mat-label"),e.EFF(7,"Branch / Tag"),e.k0s(),e.nrm(8,"input",206),e.k0s(),e.j41(9,"mat-form-field",204)(10,"mat-label"),e.EFF(11,"File Path"),e.k0s(),e.nrm(12,"input",207),e.k0s()())}function Cd(n,a){if(1&n){const t=e.RV6();e.j41(0,"div",208)(1,"button",209),e.bIt("click",function(){e.eBV(t);const i=e.XpG(5);return e.Njj(i.viewLatestScmContent())}),e.EFF(2," View Latest "),e.k0s()()}}function kd(n,a){if(1&n&&(e.j41(0,"div",200)(1,"mat-expansion-panel",56)(2,"mat-expansion-panel-header")(3,"mat-panel-title"),e.EFF(4,"Link to Repository"),e.k0s()(),e.j41(5,"div",146)(6,"mat-form-field",147)(7,"mat-label"),e.EFF(8,"SCM Service"),e.k0s(),e.j41(9,"mat-select",201)(10,"mat-option",89),e.EFF(11,"None"),e.k0s(),e.DNE(12,vd,2,2,"mat-option",74),e.k0s(),e.j41(13,"mat-hint"),e.EFF(14,"Select a GitHub, GitLab, or Bitbucket service"),e.k0s()()(),e.DNE(15,xd,13,0,"div",202),e.DNE(16,Cd,3,0,"div",203),e.k0s()()),2&n){const t=e.XpG(4);let o,i,r;e.Y8G("formGroup",t.customToolForm),e.R7$(1),e.Y8G("expanded",!(null==(o=t.customToolForm.get("storageServiceId"))||!o.value)),e.R7$(9),e.Y8G("value",null),e.R7$(2),e.Y8G("ngForOf",t.availableScmServices)("ngForTrackBy",t.trackById),e.R7$(3),e.Y8G("ngIf",null==(i=t.customToolForm.get("storageServiceId"))?null:i.value),e.R7$(1),e.Y8G("ngIf",null==(r=t.customToolForm.get("storageServiceId"))?null:r.value)}}function yd(n,a){if(1&n){const t=e.RV6();e.j41(0,"button",172),e.bIt("click",function(){const r=e.eBV(t).$implicit,c=e.XpG(5);return e.Njj(c.insertLookup(r.name,"function"))}),e.EFF(1),e.k0s()}if(2&n){const t=a.$implicit;e.R7$(1),e.SpI(" ",t.name," ")}}function Md(n,a){if(1&n){const t=e.RV6();e.j41(0,"div",210)(1,"div",211)(2,"label",212),e.EFF(3,"Function (JavaScript function body)"),e.k0s(),e.j41(4,"button",213),e.nrm(5,"fa-icon",141),e.EFF(6," Insert Lookup "),e.k0s(),e.j41(7,"mat-menu",null,214),e.DNE(9,yd,2,1,"button",171),e.k0s()(),e.j41(10,"div",215)(11,"df-ace-editor",216,217),e.bIt("valueChange",function(i){e.eBV(t);const r=e.XpG(4);return e.Njj(r.onFunctionChange(i))}),e.k0s()(),e.j41(13,"span",218),e.EFF(14," Write a JavaScript function body. Parameters are available as variables by name. Use "),e.j41(15,"code"),e.EFF(16,"secrets.LOOKUP_NAME"),e.k0s(),e.EFF(17," to reference lookup values. "),e.k0s()()}if(2&n){const t=e.sdS(8),o=e.XpG(4);e.R7$(4),e.Y8G("matMenuTriggerFor",t)("disabled",0===o.availableLookups.length),e.R7$(1),e.Y8G("icon",o.faPlus),e.R7$(4),e.Y8G("ngForOf",o.availableLookups)("ngForTrackBy",o.trackByName),e.R7$(2),e.Y8G("mode",o.functionEditorMode)}}function Od(n,a){if(1&n){const t=e.RV6();e.j41(0,"button",172),e.bIt("click",function(){const r=e.eBV(t).$implicit,c=e.XpG(5);return e.Njj(c.insertLookup(r.name,"headers"))}),e.EFF(1),e.k0s()}if(2&n){const t=a.$implicit;e.R7$(1),e.SpI(" ",t.name," ")}}function Pd(n,a){if(1&n){const t=e.RV6();e.j41(0,"div",210)(1,"div",211)(2,"label",212),e.EFF(3,"Static Headers (JSON)"),e.k0s(),e.j41(4,"button",213),e.nrm(5,"fa-icon",141),e.EFF(6," Insert Lookup "),e.k0s(),e.j41(7,"mat-menu",null,219),e.DNE(9,Od,2,1,"button",171),e.k0s()(),e.j41(10,"div",220)(11,"df-ace-editor",221,222),e.bIt("valueChange",function(i){e.eBV(t);const r=e.XpG(4);return e.Njj(r.onHeadersChange(i))}),e.k0s()()()}if(2&n){const t=e.sdS(8),o=e.XpG(4);e.R7$(4),e.Y8G("matMenuTriggerFor",t)("disabled",0===o.availableLookups.length),e.R7$(1),e.Y8G("icon",o.faPlus),e.R7$(4),e.Y8G("ngForOf",o.availableLookups)("ngForTrackBy",o.trackByName),e.R7$(2),e.Y8G("mode",o.headersEditorMode)}}function Fd(n,a){if(1&n){const t=e.RV6();e.j41(0,"div",142)(1,"h4"),e.EFF(2),e.k0s(),e.j41(3,"mat-button-toggle-group",143)(4,"mat-button-toggle",144),e.EFF(5,"API"),e.k0s(),e.j41(6,"mat-button-toggle",145),e.EFF(7,"Function"),e.k0s()(),e.j41(8,"div",146)(9,"mat-form-field",147)(10,"mat-label"),e.EFF(11,"Tool Name"),e.k0s(),e.nrm(12,"input",148),e.j41(13,"mat-hint"),e.EFF(14,"Letters, numbers, and underscores only"),e.k0s()(),e.DNE(15,md,14,0,"mat-form-field",149),e.k0s(),e.DNE(16,gd,11,5,"mat-form-field",150),e.j41(17,"mat-form-field",90)(18,"mat-label"),e.EFF(19,"Description"),e.k0s(),e.nrm(20,"textarea",151),e.j41(21,"mat-hint"),e.EFF(22,"This description is shown to the LLM"),e.k0s()(),e.j41(23,"div",152)(24,"div",10)(25,"h5"),e.EFF(26,"Parameters"),e.k0s(),e.j41(27,"button",153),e.bIt("click",function(){e.eBV(t);const i=e.XpG(3);return e.Njj(i.addToolParameter())}),e.nrm(28,"fa-icon",141),e.EFF(29," Add Parameter "),e.k0s()(),e.DNE(30,hd,2,1,"div",154),e.DNE(31,bd,2,0,"p",155),e.k0s(),e.DNE(32,kd,17,7,"div",156),e.DNE(33,Md,18,6,"div",157),e.DNE(34,Pd,13,6,"div",157),e.j41(35,"div",158)(36,"button",159),e.bIt("click",function(){e.eBV(t);const i=e.XpG(3);return e.Njj(i.cancelCustomToolEdit())}),e.EFF(37," Cancel "),e.k0s(),e.j41(38,"button",160),e.bIt("click",function(){e.eBV(t);const i=e.XpG(3);return e.Njj(i.saveCustomTool())}),e.EFF(39),e.k0s()()()}if(2&n){const t=e.XpG(3);let o,i,r,c,s;e.Y8G("formGroup",t.customToolForm),e.R7$(2),e.SpI(" ",-1===t.editingToolIndex?"Add Custom Tool":"Edit Custom Tool"," "),e.R7$(13),e.Y8G("ngIf","api"===(null==(o=t.customToolForm.get("toolType"))?null:o.value)),e.R7$(1),e.Y8G("ngIf","api"===(null==(i=t.customToolForm.get("toolType"))?null:i.value)),e.R7$(12),e.Y8G("icon",t.faPlus),e.R7$(2),e.Y8G("ngIf",t.customToolParameters.length>0),e.R7$(1),e.Y8G("ngIf",0===t.customToolParameters.length),e.R7$(1),e.Y8G("ngIf","function"===(null==(r=t.customToolForm.get("toolType"))?null:r.value)&&t.availableScmServices.length>0),e.R7$(1),e.Y8G("ngIf","function"===(null==(c=t.customToolForm.get("toolType"))?null:c.value)),e.R7$(1),e.Y8G("ngIf","api"===(null==(s=t.customToolForm.get("toolType"))?null:s.value)),e.R7$(4),e.Y8G("disabled",t.customToolForm.invalid),e.R7$(1),e.SpI(" ",-1===t.editingToolIndex?"Add":"Update"," ")}}function wd(n,a){if(1&n&&(e.qex(0),e.j41(1,"code"),e.EFF(2),e.k0s(),e.EFF(3),e.bVm()),2&n){const t=e.XpG().$implicit;e.R7$(2),e.JRh(t.httpMethod),e.R7$(1),e.SpI(" ",t.url," ")}}function Dd(n,a){1&n&&(e.j41(0,"em"),e.EFF(1,"Function"),e.k0s())}function Td(n,a){if(1&n&&(e.j41(0,"em"),e.EFF(1),e.k0s()),2&n){const t=e.XpG(2).$implicit;e.R7$(1),e.Lme("SCM: ",t.scmRepository,"/",t.storagePath,"")}}function Sd(n,a){if(1&n&&(e.qex(0),e.DNE(1,Dd,2,0,"em",24),e.DNE(2,Td,2,2,"em",24),e.bVm()),2&n){const t=e.XpG().$implicit;e.R7$(1),e.Y8G("ngIf",!t.storageServiceId),e.R7$(1),e.Y8G("ngIf",t.storageServiceId)}}function Rd(n,a){if(1&n){const t=e.RV6();e.j41(0,"tr")(1,"td",125)(2,"mat-slide-toggle",127),e.bIt("change",function(i){const c=e.eBV(t).index,s=e.XpG(4);return e.Njj(s.toggleCustomTool(c,i.checked))}),e.k0s()(),e.j41(3,"td")(4,"code"),e.EFF(5),e.k0s()(),e.j41(6,"td")(7,"code"),e.EFF(8),e.k0s()(),e.j41(9,"td",224),e.DNE(10,wd,4,2,"ng-container",24),e.DNE(11,Sd,3,2,"ng-container",24),e.k0s(),e.j41(12,"td"),e.EFF(13),e.k0s(),e.j41(14,"td",223)(15,"div",225)(16,"button",226),e.bIt("click",function(){const r=e.eBV(t).index,c=e.XpG(4);return e.Njj(c.editCustomTool(r))}),e.nrm(17,"fa-icon",99),e.k0s(),e.j41(18,"button",227),e.bIt("click",function(){const r=e.eBV(t).index,c=e.XpG(4);return e.Njj(c.deleteCustomTool(r))}),e.nrm(19,"fa-icon",99),e.k0s()()()()}if(2&n){const t=a.$implicit,o=e.XpG(4);e.AVh("disabled-row",!t.enabled),e.R7$(2),e.Y8G("checked",t.enabled),e.R7$(3),e.JRh(t.name),e.R7$(3),e.JRh((t.toolType||"api").toUpperCase()),e.R7$(2),e.Y8G("ngIf","api"===(t.toolType||"api")),e.R7$(1),e.Y8G("ngIf","function"===t.toolType),e.R7$(2),e.JRh(t.description),e.R7$(3),e.Y8G("disabled",null!==o.editingToolIndex),e.R7$(1),e.Y8G("icon",o.faPenToSquare),e.R7$(1),e.Y8G("disabled",null!==o.editingToolIndex),e.R7$(1),e.Y8G("icon",o.faTrashCan)}}function Id(n,a){if(1&n&&(e.j41(0,"table",124)(1,"thead")(2,"tr"),e.nrm(3,"th",125),e.j41(4,"th"),e.EFF(5,"Name"),e.k0s(),e.j41(6,"th"),e.EFF(7,"Type"),e.k0s(),e.j41(8,"th"),e.EFF(9,"Method / URL"),e.k0s(),e.j41(10,"th"),e.EFF(11,"Description"),e.k0s(),e.nrm(12,"th",223),e.k0s()(),e.j41(13,"tbody"),e.DNE(14,Rd,20,12,"tr",129),e.k0s()()),2&n){const t=e.XpG(3);e.R7$(14),e.Y8G("ngForOf",t.customTools)}}function Ed(n,a){1&n&&(e.j41(0,"p",228),e.EFF(1,' No custom tools defined. Click "Add Custom Tool" to create one. '),e.k0s())}function $d(n,a){if(1&n&&(e.qex(0),e.j41(1,"mat-accordion",15)(2,"mat-expansion-panel",56)(3,"mat-expansion-panel-header"),e.EFF(4," Custom Tools "),e.k0s(),e.j41(5,"div",133)(6,"p",134),e.EFF(7," Define custom tools that make HTTP requests to external APIs or execute server-side functions. These tools will be available to MCP clients alongside the built-in DreamFactory tools. "),e.k0s(),e.DNE(8,pd,4,1,"div",135),e.DNE(9,Fd,40,12,"div",136),e.DNE(10,Id,15,1,"table",137),e.DNE(11,Ed,2,0,"p",138),e.k0s()()(),e.bVm()),2&n){const t=e.XpG(2);e.R7$(2),e.Y8G("expanded",t.customTools.length>0),e.R7$(6),e.Y8G("ngIf",null===t.editingToolIndex),e.R7$(1),e.Y8G("ngIf",null!==t.editingToolIndex),e.R7$(1),e.Y8G("ngIf",t.customTools.length>0),e.R7$(1),e.Y8G("ngIf",0===t.customTools.length&&null===t.editingToolIndex)}}function Gd(n,a){if(1&n){const t=e.RV6();e.qex(0),e.j41(1,"button",229),e.bIt("click",function(){e.eBV(t);const i=e.XpG(3);return e.Njj(i.save(!0,!1))}),e.EFF(2),e.nI1(3,"transloco"),e.k0s(),e.j41(4,"button",229),e.bIt("click",function(){e.eBV(t);const i=e.XpG(3);return e.Njj(i.save(!0,!0))}),e.EFF(5),e.nI1(6,"transloco"),e.k0s(),e.bVm()}2&n&&(e.R7$(1),e.Y8G("value",!0),e.R7$(1),e.SpI(" ",e.bMT(3,4,"saveAndClear")," "),e.R7$(2),e.Y8G("value",!0),e.R7$(1),e.SpI(" ",e.bMT(6,6,"saveAndContinue")," "))}function jd(n,a){if(1&n){const t=e.RV6();e.j41(0,"div",60)(1,"button",61),e.bIt("click",function(){e.eBV(t);const i=e.XpG(2);return e.Njj(i.goBack())}),e.EFF(2),e.nI1(3,"transloco"),e.k0s(),e.DNE(4,Gd,7,8,"ng-container",24),e.j41(5,"button",68),e.EFF(6),e.nI1(7,"transloco"),e.k0s()()}if(2&n){const t=e.XpG(2);e.R7$(2),e.SpI(" ",e.bMT(3,3,"cancel")," "),e.R7$(2),e.Y8G("ngIf",t.edit),e.R7$(2),e.SpI(" ",e.bMT(7,5,"save")," ")}}function Nd(n,a){if(1&n){const t=e.RV6();e.DNE(0,il,1,4,"df-service-health-panel",72),e.DNE(1,cl,7,13,"ng-container",24),e.j41(2,"mat-form-field",38)(3,"mat-label"),e.EFF(4),e.nI1(5,"transloco"),e.k0s(),e.j41(6,"mat-select",73),e.bIt("selectionChange",function(i){e.eBV(t);const r=e.XpG();return e.Njj(r.onServiceTypeSelect(r.getServiceTypeLabel(i.value)))}),e.DNE(7,sl,2,2,"mat-option",74),e.k0s(),e.nrm(8,"fa-icon",11),e.nI1(9,"transloco"),e.k0s(),e.DNE(10,ll,7,7,"mat-form-field",18),e.DNE(11,pl,6,2,"ng-container",24),e.DNE(12,ml,7,7,"mat-form-field",75),e.DNE(13,_l,7,7,"mat-form-field",76),e.DNE(14,gl,4,3,"mat-slide-toggle",77),e.j41(15,"div",15),e.DNE(16,hl,4,2,"ng-container",24),e.k0s(),e.DNE(17,Wl,5,3,"ng-container",24),e.DNE(18,Zl,25,6,"ng-container",24),e.DNE(19,dd,8,4,"ng-container",24),e.DNE(20,$d,12,5,"ng-container",24),e.DNE(21,jd,8,7,"div",26)}if(2&n){const t=e.XpG();e.Y8G("ngIf",t.edit&&(null==t.serviceData?null:t.serviceData.id)&&!t.isPlatformService),e.R7$(1),e.Y8G("ngIf",t.edit&&t.isDatabase&&t.serviceData),e.R7$(3),e.JRh(e.bMT(5,18,"services.controls.serviceType.label")),e.R7$(3),e.Y8G("ngForOf",t.serviceTypes)("ngForTrackBy",t.trackByName),e.R7$(1),e.Y8G("icon",t.faCircleInfo)("matTooltip",e.bMT(9,20,"services.controls.serviceType.tooltip")),e.R7$(2),e.Y8G("ngIf",!t.subscriptionRequired),e.R7$(1),e.Y8G("ngIf","excel"===t.serviceForm.getRawValue().type),e.R7$(1),e.Y8G("ngIf",!t.subscriptionRequired),e.R7$(1),e.Y8G("ngIf",!t.subscriptionRequired),e.R7$(1),e.Y8G("ngIf",!t.subscriptionRequired),e.R7$(2),e.Y8G("ngIf",t.edit),e.R7$(1),e.Y8G("ngIf",t.viewSchema&&!t.subscriptionRequired),e.R7$(1),e.Y8G("ngIf",t.isMcp&&t.isSystemMcp&&t.edit),e.R7$(1),e.Y8G("ngIf",t.isMcp&&!t.isSystemMcp&&t.edit),e.R7$(1),e.Y8G("ngIf",t.isMcp&&!t.isSystemMcp&&t.edit),e.R7$(1),e.Y8G("ngIf",!t.subscriptionRequired)}}function Ad(n,a){if(1&n&&e.nrm(0,"df-paywall",230),2&n){const t=e.XpG();e.Y8G("serviceName",t.selectedServiceTypeLable||"Unable to fetch service name")}}function Yd(n,a){if(1&n){const t=e.RV6();e.j41(0,"h1",231),e.EFF(1,"Unsaved custom tool"),e.k0s(),e.j41(2,"div",232),e.EFF(3," You have unsaved changes in the custom tool editor. Saving the service now will discard those changes unless you add/update the tool first. "),e.k0s(),e.j41(4,"div",233)(5,"button",234),e.bIt("click",function(){e.eBV(t);const i=e.XpG();return e.Njj(i.closeUnsavedToolDialog("cancel"))}),e.EFF(6," Keep editing "),e.k0s(),e.j41(7,"button",235),e.bIt("click",function(){e.eBV(t);const i=e.XpG();return e.Njj(i.closeUnsavedToolDialog("discard"))}),e.EFF(8," Discard tool changes "),e.k0s(),e.j41(9,"button",236),e.bIt("click",function(){e.eBV(t);const i=e.XpG();return e.Njj(i.closeUnsavedToolDialog("save"))}),e.EFF(10," Add/Update tool, then save "),e.k0s()()}}let Ot=class Ut{static{yt=this}constructor(a,t,o,i,r,c,s,l,p,f,M,v,x,F,T){this.activatedRoute=a,this.fb=t,this.servicesService=o,this.cacheService=i,this.router=r,this.systemConfigDataService=c,this.http=s,this.dialog=l,this.themeService=p,this.snackbarService=f,this.currentServiceService=M,this.snackBar=v,this.systemService=x,this.analyticsService=F,this.artifactResolver=T,this.edit=!1,this.isDatabase=!1,this.isPlatformService=!1,this.serviceGroup=null,this.isNetworkService=!1,this.isScriptService=!1,this.isFile=!1,this.isAuth=!1,this.isMcp=!1,this.isSystemMcp=!1,this.systemMcpTools=ie,this.faCircleInfo=b.mEO,this.faPenToSquare=b.LFz,this.faTrashCan=b.sjs,this.faPlus=b.QLR,this.faFileImport=b.$MS,this.search="",this.content="",this.showSecurityConfig=!1,this.currentServiceId=null,this.isFirstTimeUser=!1,this.artifactKeys=[],this.artifactSampleTable="your_table",this.availableFileServices=[],this.mcpServices=[],this.mcpServicesLoaded=!1,this.disabledTools=new Set,this.mcpGlobalTools=[{name:"list_apis",title:"List Available APIs",description:"List all available database APIs and their tool prefixes"},{name:"all_get_tables",title:"Get Tables from All Databases",description:"Retrieve tables from all connected database services in one call"},{name:"all_find_table",title:"Find Table Across Databases",description:"Search for a table by name across all connected databases"},{name:"all_get_stored_procedures",title:"Get Stored Procedures from All",description:"Retrieve stored procedures from all connected databases"},{name:"all_get_stored_functions",title:"Get Stored Functions from All",description:"Retrieve stored functions from all connected databases"},{name:"all_get_resources",title:"Get Resources from All",description:"Retrieve all available resources from all connected databases"},{name:"all_list_files",title:"List Files from All Storage",description:"List files from all connected file storage services"},{name:"search",title:"Search (stub)",description:"Stub search implementation for connectors that require it"},{name:"fetch",title:"Fetch (stub)",description:"Stub fetch implementation for connectors that require it"}],this.customTools=[],this.editingToolIndex=null,this.availableLookups=[],this.availableScmServices=[],this.unsavedToolDialogRef=null,this.liveHeadersValue=null,this.liveFunctionValue=null,this.isDarkMode=this.themeService.darkMode$,this.toolStyle="prefixed",this.schemaMemoSrc=null,this.schemaMemoIsDatabase=null,this.schemaMemoIsNetwork=null,this.memoViewSchema=[],this.memoHasStandardFields=!1,this.memoBasicFields=[],this.memoAdvancedFields=[],this.memoNetworkRequiredFields=[],this.memoNetworkAdvancedFields=[],this.trackByName=(_,C)=>C.name,this.trackById=(_,C)=>C.id,this.warnings=[],this.memoServiceTypesSrc=null,this.memoServiceTypesSearch=null,this.memoFilteredServiceTypes=[],this.serviceForm=this.fb.group({type:["",m.k0.required],name:["",m.k0.required],label:[""],description:[""],isActive:[!0],storageServiceId:[null],config:this.fb.group({}),service_doc_by_service_id:this.fb.group({format:[0],content:[""]})}),this.customToolForm=this.fb.group({toolType:["api"],name:["",[m.k0.required,m.k0.pattern(/^[a-zA-Z0-9_]+$/)]],description:["",m.k0.required],httpMethod:["GET"],url:["",m.k0.required],parameters:this.fb.array([]),headers:["{}"],function:[""],enabled:[!0],storageServiceId:[null],scmRepository:[""],scmReference:[""],storagePath:[""]}),this.customToolForm.get("toolType").valueChanges.subscribe(_=>{const C=this.customToolForm.get("url"),k=this.customToolForm.get("function");if("function"===_){C.clearValidators();const y=!!this.customToolForm.get("storageServiceId")?.value;k.setValidators(y?[]:[m.k0.required])}else C.setValidators(m.k0.required),k.clearValidators();C.updateValueAndValidity(),k.updateValueAndValidity()}),this.customToolForm.get("storageServiceId").valueChanges.subscribe(_=>{const C=this.customToolForm.get("function");"function"===this.customToolForm.get("toolType")?.value&&(C.setValidators(_?[]:[m.k0.required]),C.updateValueAndValidity())}),this.activatedRoute.snapshot.paramMap.get("id")&&(this.edit=!0)}ngOnInit(){this.edit||this.analyticsService.getDashboardStats().subscribe(a=>{this.isFirstTimeUser=0===a.services.total}),this.http.get("assets/img/databaseImages.json").subscribe(a=>{this.images=a}),this.http.get(`${A.C}/system/lookup`,{params:{fields:"name",limit:"100"}}).subscribe(a=>{this.availableLookups=a?.resource??[]}),this.systemConfigDataService.environment$.pipe((0,Ce.n)(a=>this.activatedRoute.data.pipe((0,z.T)(t=>({env:a,route:t}))))).subscribe(({env:a,route:t})=>{t.groups&&"Database"===t.groups[0]&&(this.isDatabase=!0),t.groups&&"Remote Service"===t.groups[0]&&(this.isNetworkService=!0),t.groups&&"Script"===t.groups[0]&&(this.isScriptService=!0),t.groups&&"File"===t.groups[0]&&(this.isFile=!0),t.groups&&"LDAP"===t.groups[0]&&(this.isAuth=!0),t.groups&&"MCP"===t.groups[0]&&(this.isMcp=!0),this.serviceGroup=t.groups?.[0]??null,this.isPlatformService=t.system||this.activatedRoute.snapshot.parent?.data?.system||!1;const{data:o,serviceTypes:i,groups:r}=t,c=a.platform?.license;if(this.serviceTypes=i.filter(s=>"python"!==s.name.toLowerCase()),this.notIncludedServices=[],this.snackbarService.setSnackbarLastEle(o&&(o.label||o.name)?o.label?o.label:o.name:"Unknown label",!1),this.edit&&o&&this.snackbarService.setPageLabel(this.router.url,o.label||o.name||String(o.id??"")),this.isDatabase?("SILVER"===c&&this.notIncludedServices.push(...Re.Ky.map(s=>(s.class="not-included",s)).filter(s=>r.includes(s.group))),"OPEN SOURCE"===c&&this.notIncludedServices.push(...Re.F8.map(s=>(s.class="not-included",s)).filter(s=>r.includes(s.group)),...Re.Ky.map(s=>(s.class="not-included",s)).filter(s=>r.includes(s.group)))):("SILVER"===c&&this.serviceTypes.push(...Re.Ky.filter(s=>r.includes(s.group))),"OPEN SOURCE"===c&&this.serviceTypes.push(...Re.F8.filter(s=>r.includes(s.group)),...Re.Ky.filter(s=>r.includes(s.group)))),o?.serviceDocByServiceId)if(this.isNetworkService)o.config.serviceDefinition=o?.serviceDocByServiceId.content,this.getServiceDocByServiceIdControl("content").setValue(o?.serviceDocByServiceId.content);else if(this.isScriptService){o.config||(o.config={});const s=l=>{if(!l)return!1;const p=l.trim();return[/^\s*\{?\s*["']?openapi["']?\s*:/i,/^\s*\{?\s*["']?swagger["']?\s*:/i,/^\s*openapi\s*:/im,/^\s*swagger\s*:/im,/["']paths["']\s*:\s*\{/i,/^\s*paths\s*:/im].some(M=>M.test(p))};o.config.content&&""!==o.config.content.trim()?this.getServiceDocByServiceIdControl("content").setValue(o?.serviceDocByServiceId.content||""):o.serviceDocByServiceId?.content&&(s(o.serviceDocByServiceId.content)?this.getServiceDocByServiceIdControl("content").setValue(o.serviceDocByServiceId.content):(o.config.content=o.serviceDocByServiceId.content,this.getServiceDocByServiceIdControl("content").setValue("")))}else this.getServiceDocByServiceIdControl("content").setValue(o?.serviceDocByServiceId.content);if(this.serviceData=o,this.content=o?this.isScriptService?o.config.content||"":o.config.serviceDefinition||"":"",this.edit){if(this.configSchema=this.getConfigSchema(o.type),this.initializeConfig(""),"excel"===o.type){console.log("Editing Excel service, data:",o),console.log("Config:",o.config),console.log("Storage service ID from config:",o.config?.storageServiceId);const s=o.config?.storageServiceId;this.loadAvailableFileServices(()=>{console.log("File services loaded, now setting form value"),s?(console.log("Setting storageServiceId to:",s),this.serviceForm.patchValue({...o,config:o.config,storageServiceId:s})):(console.log("No storageServiceId found in config"),this.serviceForm.patchValue({...o,config:o.config}))})}else this.serviceForm.patchValue({...o,config:o.config});o?.serviceDocByServiceId&&(this.serviceDefinitionType=""+o?.serviceDocByServiceId.format,this.isNetworkService&&(this.getConfigControl("content")?.setValue(o.serviceDocByServiceId.content),this.content=o.serviceDocByServiceId.content||"")),this.serviceForm.controls.type.disable()}else this.serviceForm.controls.type.valueChanges.subscribe(s=>{this.serviceForm.removeControl("config"),this.configSchema=this.getConfigSchema(s),this.updateServiceTypeFlags(s),this.initializeConfig(s),"excel"===s&&this.loadAvailableFileServices()});this.edit&&"excel"===o?.type&&this.loadAvailableFileServices(),this.edit&&this.isMcp&&(this.isSystemMcp=Wt(o?.type),this.disabledTools=new Set(o?.config?.disabledTools??[]),this.toolStyle="merged"===o?.config?.toolStyle?"merged":"prefixed",this.isSystemMcp?(this.customTools=[],this.mcpServicesLoaded=!0):(this.customTools=(o?.config?.customTools??[]).map(l=>({id:l.id,toolType:l.toolType||"api",name:l.name,description:l.description,httpMethod:l.httpMethod,url:l.url,parameters:l.parameters||[],headers:l.headers||{},function:l.function||"",enabled:!1!==l.enabled&&0!==l.enabled,storageServiceId:l.storageServiceId||null,scmRepository:l.scmRepository||"",scmReference:l.scmReference||"",storagePath:l.storagePath||""})),this.loadMcpServices(),this.getConfigControl("toolStyle")?.valueChanges.subscribe(l=>{this.toolStyle="merged"===l?"merged":"prefixed"}),this.loadAvailableScmServices())),this.edit&&this.isDatabase&&this.serviceData&&this.loadArtifactCardData()}),this.isDatabase&&this.serviceForm.controls.type.valueChanges.subscribe(a=>{this.serviceForm.patchValue({label:a})})}getStorageServiceDisplayName(){console.log("=== getStorageServiceDisplayName called ==="),console.log("this.edit:",this.edit),console.log("this.serviceData:",this.serviceData),console.log("this.availableFileServices:",this.availableFileServices);let a=this.serviceForm.get("storageServiceId")?.value;if(console.log("storageServiceId from form:",a),!a&&this.edit&&this.serviceData?.config?.storageServiceId&&(a=this.serviceData.config.storageServiceId,console.log("storageServiceId from serviceData.config.storageServiceId:",a)),console.log("this.serviceData.config:",this.serviceData?.config),console.log("this.serviceData.config?.storageServiceId:",this.serviceData?.config?.storageServiceId),!a)return console.log("No storageServiceId found, returning default message"),"No storage service selected";const t=this.availableFileServices.find(o=>o.id===a);if(console.log("selectedService found:",t),t){const o=t.label||t.name;return console.log("Returning display name:",o),o}return console.log("Service not found in availableFileServices, returning ID"),`Service ID: ${a}`}loadAvailableFileServices(a){console.log("=== loadAvailableFileServices called ==="),console.log("Current service form type:",this.serviceForm.getRawValue().type),console.log("Available file services before loading:",this.availableFileServices);let t="";const o=localStorage.getItem("df_token")||localStorage.getItem("X-DreamFactory-API-Key")||sessionStorage.getItem("df_token");if(o)t=`X-DreamFactory-API-Key: ${o}`;else{const l=document.cookie.split(";");let p="",f="";for(const M of l){const[v,x]=M.trim().split("=");("df_session_token"===v||"session_token"===v)&&(p=x),("df_api_key"===v||"api_key"===v)&&(f=x)}p?t=`X-DreamFactory-Session-Token: ${p}`:f?t=`X-DreamFactory-API-Key: ${f}`:window.dfAuthToken?t=`X-DreamFactory-API-Key: ${window.dfAuthToken}`:window.dreamFactoryToken&&(t=`X-DreamFactory-API-Key: ${window.dreamFactoryToken}`)}if(!t)return console.warn("No authentication method found, cannot load file services"),this.availableFileServices=[],void(a&&a());const i=`${window.location.origin}/api/v2/system/service`,[r,c]=t.split(": "),s={};r&&c&&(s[r]=c),this.http.get(i,{params:{filter:"type=local_file",fields:"id,name,label,type"},headers:s}).subscribe({next:l=>{l.resource&&Array.isArray(l.resource)?(this.availableFileServices=l.resource,console.log("File services loaded successfully:",this.availableFileServices)):(console.warn("No file services found in response or invalid format"),this.availableFileServices=[]),a&&a()},error:l=>{console.error("Failed to load file services:",l),this.http.get(i,{params:{fields:"id,name,label,type"},headers:s}).subscribe({next:p=>{p.resource&&Array.isArray(p.resource)?(this.availableFileServices=p.resource.filter(M=>M.type&&("local_file"===M.type||"file"===M.type||M.type.includes("file"))),console.log("File services loaded via fallback:",this.availableFileServices)):this.availableFileServices=[],a&&a()},error:p=>{console.error("Fallback also failed:",p),this.availableFileServices=[],a&&a()}})}})}loadMcpServices(){this.mcpServicesLoaded||this.http.get("/api/v2/system/service_type",{params:{fields:"name,group"}}).pipe((0,Ce.n)(a=>{const t=a?.resource??[],o=new Set(t.filter(r=>"Database"===r.group).map(r=>r.name)),i=new Set(t.filter(r=>"File"===r.group).map(r=>r.name));return this.http.get("/api/v2/system/service",{params:{fields:"name,label,type,is_active"}}).pipe((0,z.T)(r=>(r?.resource??[]).filter(s=>!1!==s.isActive&&(o.has(s.type)||i.has(s.type))).map(s=>{const l=o.has(s.type)?"Database":"File",p=this.sanitizeApiName(s.name);return{name:s.name,label:s.label||s.name,type:s.type,category:l,tools:this.buildToolList(p,l),expanded:!1}})))})).subscribe({next:a=>{this.mcpServices=a,this.mcpServicesLoaded=!0},error:a=>{console.error("Failed to load MCP services:",a),this.mcpServicesLoaded=!0}})}buildToolList(a,t){return"Database"===t?[{name:`${a}_get_tables`,title:"List Tables",description:"Get tables available in the database"},{name:`${a}_get_table_schema`,title:"Get Table Schema",description:"Retrieve the schema of a specific table"},{name:`${a}_get_table_data`,title:"Get Table Data",description:"Retrieve table data with filtering, pagination, and sorting"},{name:`${a}_create_records`,title:"Create Records",description:"Create one or more records in a table"},{name:`${a}_update_records`,title:"Update Records",description:"Update (patch) records in a table"},{name:`${a}_delete_records`,title:"Delete Records",description:"Delete records from a table"},{name:`${a}_get_table_fields`,title:"Get Table Fields",description:"Retrieve field definitions for a table"},{name:`${a}_get_table_relationships`,title:"Get Table Relationships",description:"Retrieve relationships definition for a table"},{name:`${a}_get_stored_procedures`,title:"List Stored Procedures",description:"Get stored procedures available in the database"},{name:`${a}_call_stored_procedure`,title:"Call Stored Procedure",description:"Call a stored procedure"},{name:`${a}_get_stored_functions`,title:"List Stored Functions",description:"Get stored functions available in the database"},{name:`${a}_call_stored_function`,title:"Call Stored Function",description:"Call a stored function"},{name:`${a}_get_database_resources`,title:"List Database Resources",description:"Get all resources available in the database service"},{name:`${a}_get_api_spec`,title:"Get API Spec",description:"Get the OpenAPI specification for this database service"},{name:`${a}_get_data_model`,title:"Get Data Model",description:"Get a condensed data model showing all tables and columns"},{name:`${a}_aggregate_data`,title:"Aggregate Data",description:"Compute server-side aggregations (SUM, COUNT, AVG, MIN, MAX)"}]:[{name:`${a}_list_files`,title:"List Files",description:"List files and folders in a path"},{name:`${a}_get_file`,title:"Get File Content",description:"Get the content of a file"},{name:`${a}_create_file`,title:"Create File",description:"Create a new file with the given content"},{name:`${a}_get_file_properties`,title:"Get File Properties",description:"Get properties/metadata of a file or folder"},{name:`${a}_create_folder`,title:"Create Folder",description:"Create a new folder"},{name:`${a}_delete_file`,title:"Delete File or Folder",description:"Delete a file or folder"}]}isToolEnabled(a){return!this.disabledTools.has(a)}toggleTool(a,t){t?this.disabledTools.delete(a):this.disabledTools.add(a)}isAllSystemToolsEnabled(){return this.systemMcpTools.some(a=>!this.disabledTools.has(a.name))}toggleAllSystemTools(a){for(const t of this.systemMcpTools)a?this.disabledTools.delete(t.name):this.disabledTools.add(t.name)}isAllGlobalToolsEnabled(){return this.mcpGlobalTools.some(a=>!this.disabledTools.has(a.name))}toggleAllGlobalTools(a){for(const t of this.mcpGlobalTools)a?this.disabledTools.delete(t.name):this.disabledTools.add(t.name)}get isMergedStyle(){return"merged"===this.toolStyle}get dbServices(){return this.mcpServices.filter(a=>"Database"===a.category)}get visibleServices(){return this.isMergedStyle?this.mcpServices.filter(a=>"Database"!==a.category):this.mcpServices}get mergedDbVerbs(){const a=this.dbServices[0];if(!a)return[];const t=this.sanitizeApiName(a.name)+"_";return a.tools.map(o=>({...o,name:o.name.startsWith(t)?o.name.slice(t.length):o.name}))}verbKey(a,t){return`${this.sanitizeApiName(t)}_${a}`}isVerbEnabledFor(a,t){return!this.disabledTools.has(this.verbKey(a,t))}toggleVerbFor(a,t,o){const i=this.verbKey(a,t);o?this.disabledTools.delete(i):this.disabledTools.add(i)}isVerbEnabledAnywhere(a){return this.dbServices.some(t=>this.isVerbEnabledFor(a,t.name))}toggleVerbEverywhere(a,t){for(const o of this.dbServices)this.toggleVerbFor(a,o.name,t)}isServiceEnabled(a){return a.tools.some(t=>!this.disabledTools.has(t.name))}toggleService(a,t){for(const o of a.tools)t?this.disabledTools.delete(o.name):this.disabledTools.add(o.name)}sanitizeApiName(a){return a.toLowerCase().replace(/[^a-z0-9]/g,"_").replace(/_+/g,"_").replace(/^_|_$/g,"")}get customToolParameters(){return this.customToolForm.get("parameters")}createParameterGroup(a){return this.fb.group({name:[a?.name??"",m.k0.required],type:[a?.type??"string"],in:[a?.in??"query"],required:[a?.required??!1],description:[a?.description??""]})}addCustomTool(){this.editingToolIndex=-1,this.customToolForm.reset({toolType:"api",name:"",description:"",httpMethod:"GET",url:"",headers:"{}",function:"",enabled:!0,storageServiceId:null,scmRepository:"",scmReference:"",storagePath:""}),this.customToolParameters.clear(),this.liveHeadersValue=null,this.liveFunctionValue=null}editCustomTool(a){const t=this.customTools[a];this.editingToolIndex=a;const o=JSON.stringify(t.headers||{},null,2);this.customToolForm.patchValue({toolType:t.toolType||"api",name:t.name,description:t.description,httpMethod:t.httpMethod||"GET",url:t.url||"",headers:o,function:t.function||"",enabled:t.enabled,storageServiceId:t.storageServiceId||null,scmRepository:t.scmRepository||"",scmReference:t.scmReference||"",storagePath:t.storagePath||""}),this.liveHeadersValue=o,this.liveFunctionValue=t.function||"",this.customToolParameters.clear(),(t.parameters||[]).forEach(i=>{this.customToolParameters.push(this.createParameterGroup(i))})}deleteCustomTool(a){this.customTools.splice(a,1)}onHeadersChange(a){this.liveHeadersValue=a}onFunctionChange(a){this.liveFunctionValue=a}insertLookup(a,t){if("function"===t)this.functionEditor?.insertAtCursor(`secrets.${a}`);else if("headers"===t)this.headersEditor?.insertAtCursor(`{${a}}`);else if("url"===t){const o=this.customToolForm.get("url");o&&o.setValue((o.value||"")+`{${a}}`)}}saveCustomTool(){if(this.customToolForm.invalid)return;const a=this.customToolForm.getRawValue(),t=this.liveHeadersValue??a.headers??"{}",o=this.liveFunctionValue??a.function??"";let i={};if("api"===a.toolType&&""!==t.trim())try{i=JSON.parse(t)}catch(c){return void this.snackbarService.openSnackBar(`Invalid JSON in Static Headers: ${c.message}`,"error")}const r={toolType:a.toolType||"api",name:a.name,description:a.description,httpMethod:a.httpMethod,url:a.url,parameters:a.parameters||[],headers:i,function:o,enabled:a.enabled??!0,storageServiceId:a.storageServiceId||null,scmRepository:a.scmRepository||"",scmReference:a.scmReference||"",storagePath:a.storagePath||""};-1===this.editingToolIndex?this.customTools.push(r):null!==this.editingToolIndex&&(r.id=this.customTools[this.editingToolIndex].id,this.customTools[this.editingToolIndex]=r),this.editingToolIndex=null}cancelCustomToolEdit(){this.editingToolIndex=null}hasUnsavedCustomTool(){return null!==this.editingToolIndex&&this.customToolForm.dirty}closeUnsavedToolDialog(a){this.unsavedToolDialogRef?.close(a)}toggleCustomTool(a,t){this.customTools[a].enabled=t}loadAvailableScmServices(){this.http.get("/api/v2",{params:{group:"source control",fields:"id,name,label,type"},context:(0,K.Ku)()}).subscribe({next:a=>{this.availableScmServices=(a?.resource??a?.services??[]).filter(t=>t.id&&t.name)},error:()=>{this.availableScmServices=[]}})}viewLatestScmContent(){const a=this.customToolForm.get("storageServiceId")?.value,t=this.customToolForm.get("scmRepository")?.value,o=this.customToolForm.get("scmReference")?.value||"master",i=this.customToolForm.get("storagePath")?.value;if(!a||!t||!i)return void this.snackbarService.openSnackBar("Service, repository, and path are required to fetch from SCM.","error");const r=this.availableScmServices.find(s=>s.id===a);r?this.http.get(`/api/v2/${r.name}/_repo/${t}`,{params:{branch:o,content:"1",path:i},responseType:"text",context:(0,K.PH)()}).subscribe({next:s=>{this.customToolForm.get("function")?.setValue(s),this.liveFunctionValue=s,this.snackbarService.openSnackBar("Function loaded from repository.","success")},error:s=>{this.snackbarService.openSnackBar(`Failed to fetch from SCM: ${(0,De.cQ)(s).message}`,"error")}}):this.snackbarService.openSnackBar("Selected SCM service not found.","error")}addToolParameter(){this.customToolParameters.push(this.createParameterGroup())}removeToolParameter(a){this.customToolParameters.removeAt(a)}logFormValues(){console.log("Form values:",this.serviceForm.value)}updateServiceTypeFlags(a){this.isNetworkService=!1,this.isScriptService=!1,this.isFile=!1,this.isSystemMcp=Wt(a);const t=this.serviceTypes.find(o=>o.name===a);if(t&&t.group){const o=t.group;"Remote Service"===o?this.isNetworkService=!0:"Script"===o?this.isScriptService=!0:"File"===o&&(this.isFile=!0)}}initializeConfig(a){const t=this.fb.group({});if(this.configSchema&&this.configSchema.length>0){this.configSchema.forEach(i=>{const r=[];i.required&&r.push(m.k0.required),t?.addControl(i.name,new m.MJ(i.default,r))}),this.isFile&&"local_file"===a&&t?.addControl("excelContent",new m.MJ(""));const o=this.configSchema.filter(i=>"content"===i.name)?.[0];if(o){const i=[];o.required&&i.push(m.k0.required),t?.addControl("serviceDefinition",new m.MJ(o.default,i))}this.isNetworkService&&(this.serviceForm.addControl("type",new m.MJ("")),t.addControl("content",new m.MJ("")),this.serviceDefinitionType="0"),this.isScriptService&&(t.get("content")||t.addControl("content",new m.MJ("")),this.serviceDefinitionType="0")}this.serviceForm.setControl("config",t)}get subscriptionRequired(){const a=this.serviceForm.controls.type.value;return"local_email"!==a&&"api_builder"!==a&&"API Builder"!==this.serviceTypes.find(o=>o.name===a)?.group&&a&&0===this.configSchema?.length}get scriptMode(){const a=this.serviceForm.getRawValue().type;return"nodejs"===a?se.Q.NODEJS:"python"===a?se.Q.PYTHON:"python3"===a?se.Q.PYTHON3:"php"===a?se.Q.PHP:se.Q.TEXT}get serviceDefinitionMode(){return"0"===this.serviceDefinitionType?se.Q.JSON:se.Q.YAML}get excelMode(){return se.Q.JSON}get functionEditorMode(){return se.Q.JAVASCRIPT}get headersEditorMode(){return se.Q.JSON}excelUpload(a){const t=this.serviceForm.get("config"),o=a.target;o.files&&t&&t.get("excelContent")&&(0,nn.Sj)(o.files[0]).subscribe(i=>{const r=t.get("excelContent");r&&r.setValue(i)})}getConfigSchema(a){return this.serviceTypes.find(t=>t.name===a)?.configSchema.map(t=>{const o="array"===t.type&&Array.isArray(t.items)?t.items.map(i=>({...i,name:(0,_t.hm)(i.name)})):t.items;return{...t,name:(0,_t.hm)(t.name),items:o}})??[]}syncSchemaViews(){if(this.schemaMemoSrc===(this.configSchema??null)&&this.schemaMemoIsDatabase===this.isDatabase&&this.schemaMemoIsNetwork===this.isNetworkService)return;this.schemaMemoSrc=this.configSchema??null,this.schemaMemoIsDatabase=this.isDatabase,this.schemaMemoIsNetwork=this.isNetworkService;const a=this.configSchema?.filter(r=>!["storageServiceId","storagePath"].includes(r.name))||[];this.memoViewSchema=a;const t=["host","port","database","username","password"],o=a.map(r=>r.name.toLowerCase());this.memoHasStandardFields=this.isDatabase&&t.filter(r=>o.includes(r)).length>=3,this.isDatabase?this.memoHasStandardFields?(this.memoBasicFields=a.filter(r=>t.includes(r.name.toLowerCase())),this.memoAdvancedFields=a.filter(r=>!t.includes(r.name.toLowerCase()))):(this.memoBasicFields=a,this.memoAdvancedFields=[]):(this.memoBasicFields=[],this.memoAdvancedFields=[]);const i=["baseUrl"];this.isNetworkService?(this.memoNetworkRequiredFields=a.filter(r=>i.includes(r.name)),this.memoNetworkAdvancedFields=a.filter(r=>!i.includes(r.name)&&"content"!==r.name)):(this.memoNetworkRequiredFields=[],this.memoNetworkAdvancedFields=[])}get viewSchema(){return this.syncSchemaViews(),this.memoViewSchema}get hasStandardFields(){return this.syncSchemaViews(),this.memoHasStandardFields}get basicFields(){return this.syncSchemaViews(),this.memoBasicFields}get advancedFields(){return this.syncSchemaViews(),this.memoAdvancedFields}get showAdvancedOptions(){return this.isDatabase&&this.hasStandardFields&&this.advancedFields.length>0}get networkRequiredFields(){return this.syncSchemaViews(),this.memoNetworkRequiredFields}get networkAdvancedFields(){return this.syncSchemaViews(),this.memoNetworkAdvancedFields}get showNetworkAdvancedOptions(){return this.isNetworkService}get showCurlImport(){return this.isNetworkService&&this.viewSchema.some(a=>"baseUrl"===a.name)}openCurlImport(){this.dialog.open(ts,{width:"46rem"}).afterClosed().subscribe(a=>{a&&this.applyCurlImport(a)})}static{this.VERB_MASK={GET:1,POST:2,PUT:4,PATCH:8,DELETE:16}}applyCurlImport(a){const t=this.serviceForm.get("config");if(!t)return;const o=(r,c)=>{const s=t.get(r);s&&(s.setValue(c),s.markAsDirty())},i=yt.VERB_MASK[a.method]??0;o("baseUrl",a.baseUrl),o("parameters",a.parameters.map(r=>({name:r.name,value:r.value,exclude:!1,outbound:!0,cacheKey:!1,action:i}))),o("headers",a.headers.map(r=>({name:r.name,value:r.value,passFromClient:!1,action:i}))),Object.keys(a.options).length&&o("options",{...t.get("options")?.value??{},...a.options}),this.serviceForm.markAsDirty()}getConfigControl(a){return this.serviceForm.get(`config.${a}`)}get aiRoleId(){const t=this.serviceForm.get("config.aiRoleId")?.value;return"number"==typeof t?t:null}get aiServiceId(){const t=this.serviceForm.get("config.aiServiceId")?.value;return"number"==typeof t?t:null}setAiServiceId(a){this.serviceForm.get("config.aiServiceId")?.setValue(a)}setAiRoleId(a){this.serviceForm.get("config.aiRoleId")?.setValue(a)}getServiceDocByServiceIdControl(a){return this.serviceForm.get(`service_doc_by_service_id.${a}`)}getServiceDefinitionControl(){return this.serviceForm.get("serviceDefinition")}getControl(a){return this.serviceForm.controls[a]}save(a,t){if(this.hasUnsavedCustomTool()){if(this.unsavedToolDialogRef)return;return this.unsavedToolDialogRef=this.dialog.open(this.unsavedToolDialogTpl,{width:"440px",disableClose:!0}),void this.unsavedToolDialogRef.afterClosed().subscribe(l=>{if(this.unsavedToolDialogRef=null,l&&"cancel"!==l){if("save"===l){if(this.customToolForm.invalid)return void this.snackbarService.openSnackBar("Custom tool has invalid fields. Fix them or discard the edit before saving the service.","error");this.saveCustomTool()}else this.cancelCustomToolEdit();this.customToolForm.markAsPristine(),this.save(a,t)}})}const o=this.serviceForm.getRawValue();if(""===o.type||""===o.name)return void this.serviceForm.markAllAsTouched();this.validateServiceName(o.name)||console.warn(this.warnings);const i=this.formatServiceName(o.name);this.serviceForm.patchValue({name:i});let s,r={snackbarSuccess:"services.createSuccessMsg"},c=null;if(this.isNetworkService)r={...r,fields:"*",related:"service_doc_by_service_id"},o.config?.content&&(c={content:o.config.content,format:this.serviceDefinitionType?Number(this.serviceDefinitionType):0},delete o.config.content);else if(this.isScriptService){r={...r,fields:"*",related:"service_doc_by_service_id"};const l=this.getServiceDocByServiceIdControl("content")?.value;l&&l.trim()&&(c={content:l,format:this.serviceDefinitionType?Number(this.serviceDefinitionType):0})}if(o.service_doc_by_service_id=c,o.type.toLowerCase().includes("saml")?(r={...r,fields:"*",related:"service_doc_by_service_id"},s={...o,is_active:o.isActive,id:this.edit?this.serviceData.id:null,config:{sp_nameIDFormat:o.config.spNameIDFormat,default_role:o.config.defaultRole,sp_x509cert:o.config.spX509cert,sp_privateKey:o.config.spPrivateKey,idp_entityId:o.config.idpEntityId,idp_singleSignOnService_url:o.config.idpSingleSignOnServiceUrl,idp_x509cert:o.config.idpX509cert,relay_state:o.config.relayState}},o.config.appRoleMap&&(s.config.app_role_map=o.config.appRoleMap.map(l=>Object.keys(l).reduce((p,f)=>({...p,[(0,_t.F0)(f)]:l[f]}),{}))),o.config.iconClass&&(s.config.icon_class=o.config.iconClass),delete s.isActive):"excel"===o.type?(s={...o,id:this.edit?this.serviceData.id:null,config:{...o.config||{},storage_service_id:o.storageServiceId}},delete s.storageServiceId):s={...o,id:this.edit?this.serviceData.id:null},this.edit){let l;"excel"===o.type?(l={...this.serviceData,...o,config:{...this.serviceData.config||{},...o.config,storage_service_id:o.storageServiceId},service_doc_by_service_id:o.service_doc_by_service_id?{id:this.serviceData.serviceDocByServiceId?.id,...this.serviceData.serviceDocByServiceId||{},...o.service_doc_by_service_id}:null},delete l.storageServiceId):l={...this.serviceData,...o,config:{...this.serviceData.config||{},...o.config},service_doc_by_service_id:o.service_doc_by_service_id?{id:this.serviceData.serviceDocByServiceId?.id,...this.serviceData.serviceDocByServiceId||{},...o.service_doc_by_service_id}:null},this.isNetworkService&&delete l.config.serviceDefinition,this.isMcp&&(l.config.disabledTools=Array.from(this.disabledTools),l.config.customTools=this.customTools.map(p=>({id:p.id,toolType:p.toolType||"api",name:p.name,description:p.description,httpMethod:p.httpMethod,url:p.url,parameters:p.parameters,headers:p.headers,function:p.function||"",enabled:p.enabled,storageServiceId:p.storageServiceId||null,scmRepository:p.scmRepository||"",scmReference:p.scmReference||"",storagePath:p.storagePath||""})),this.isSystemMcp&&delete l.config.customTools),this.servicesService.update(this.serviceData.id,l,{snackbarSuccess:"services.updateSuccessMsg"}).subscribe(()=>{o.type.toLowerCase().includes("saml")?this.router.navigate(["../"],{relativeTo:this.activatedRoute}):a&&this.cacheService.delete(l.name,{snackbarSuccess:"cache.serviceCacheFlushed"}).subscribe({next:()=>{t||this.router.navigate(["../"],{relativeTo:this.activatedRoute})},error:p=>console.error("Error flushing cache",p)})})}else this.servicesService.create({resource:[s]},r).pipe((0,Ce.n)(l=>this.isDatabase?this.http.get(`${A.C}/${i}/_table`).pipe((0,z.T)(()=>l),(0,R.W)(p=>this.servicesService.delete(l.resource[0].id).pipe((0,qa.Z)(()=>(0,we.$)(()=>new Error("Database connection failed. Please check your connection details.")))))):(0,L.of)(l))).subscribe({next:l=>{if(o.type.toLowerCase().includes("saml"))this.router.navigate(["../"],{relativeTo:this.activatedRoute});else if(this.isDatabase){const p=l?.resource?.[0]?.id;null!=p?this.router.navigate(["../",p],{relativeTo:this.activatedRoute}):this.router.navigate([`/api-connections/api-docs/${i}`])}else if(this.isMcp){const p=l?.resource?.[0]?.id;null!=p?this.router.navigate(["../",p],{relativeTo:this.activatedRoute,queryParams:{created:1}}):this.router.navigate(["../"],{relativeTo:this.activatedRoute})}else this.router.navigate([`/api-connections/api-docs/${i}`])},error:l=>{this.snackbarService.openSnackBar((0,De.cQ)(l).message,"error")}})}validateServiceName(a){return!!/^[a-zA-Z0-9_-]+$/.test(a)||(this.warnings.push("Service name can only contain letters, numbers, underscores, and hyphens."),!1)}formatServiceName(a){return a.toLowerCase().replace(/\s+/g,"").replace(/[^a-z0-9_-]/g,"")}gotoSchema(){const a=this.serviceForm.getRawValue();this.router.navigate([`/admin-settings/schema/${a.name}`])}gotoAPIDocs(){const a=this.serviceForm.getRawValue();this.currentServiceService.setCurrentServiceId(this.serviceData.id);const t=this.formatServiceName(a.name);this.router.navigate([`/api-connections/api-docs/${t}`])}goBack(){this.router.navigate(["../"],{relativeTo:this.activatedRoute})}get artifactBaseUrl(){return`${window.location.origin}${A.C}/${this.serviceData?.name??""}`}onCreateApiKey(){this.router.navigate(["/api-connections/api-keys/create"])}onScopeCellClick(a){this.dialog.open(Sc,{width:"640px",maxWidth:"92vw",autoFocus:!1,data:{roleId:a.roleId,verb:a.verb,serviceLabel:this.serviceData?.label||this.serviceData?.name||""}})}loadArtifactCardData(){var a=this;return(0,ve.A)(function*(){const t=a.serviceData?.name,o=a.serviceData?.id;if(!t||"number"!=typeof o)return void(a.artifactKeys=[]);const i=yield a.artifactResolver.resolveWorkingKeyAndTable(o,t,a.artifactSampleTable);a.artifactSampleTable=i.sampleTable,a.artifactKeys=i.keys})()}getBackgroundImage(a){const t=this.images?.find(o=>o.label==a);return t&&t?t.src:""}get filteredServiceTypes(){if(this.memoServiceTypesSrc!==this.serviceTypes||this.memoServiceTypesSearch!==this.search){this.memoServiceTypesSrc=this.serviceTypes,this.memoServiceTypesSearch=this.search;const a=this.search.toLowerCase();this.memoFilteredServiceTypes=this.serviceTypes.filter(t=>t.label.toLowerCase().includes(a)||t.name.toLowerCase().includes(a))}return this.memoFilteredServiceTypes}nextStep(a){a.next()}openDialog(a){this.dialog.open(Er,{data:{serviceName:a}}).afterClosed().subscribe()}onServiceDefinitionTypeChange(a){this.serviceDefinitionType=a}navigateToRoles(a){a.preventDefault(),this.router.navigate(["/roles"],{queryParams:{tab:"access"}})}goToSecurityConfig(){var a=this;return(0,ve.A)(function*(){try{const t=a.serviceForm.getRawValue(),o=a.formatServiceName(t.name);a.serviceForm.patchValue({name:o});const i={...t,config:{...t.config||{}}};if(a.isNetworkService&&t.config?.content)i.service_doc_by_service_id={content:t.config.content,format:a.serviceDefinitionType?Number(a.serviceDefinitionType):0},delete i.config.content;else if(a.isScriptService){const s=a.getServiceDocByServiceIdControl("content")?.value;s&&s.trim()&&(i.service_doc_by_service_id={content:s,format:a.serviceDefinitionType?Number(a.serviceDefinitionType):0})}else i.service_doc_by_service_id=null;const r=yield a.servicesService.create({resource:[i]},{snackbarSuccess:"services.createSuccessMsg"}).toPromise();if(!r)throw new Error("No response received from service creation");a.currentServiceId=r.resource[0].id,a.snackbarService.openSnackBar("Service created","success"),a.showSecurityConfig=!0,setTimeout(()=>{a.stepper.selectedIndex=a.stepper.steps.length-1})}catch{a.snackbarService.openSnackBar("Error creating service","error")}})()}getServiceTypeLabel(a){const t=this.serviceTypes.find(o=>o.name===a);return t?t.label:a}onServiceTypeSelect(a){this.selectedServiceTypeLable=a||"Unknown. Unable to identify Service Type"}static{this.\u0275fac=function(t){return new(t||Ut)(e.rXU(N.nX),e.rXU(m.ok),e.rXU(U.Z1),e.rXU(U.j8),e.rXU(N.Ix),e.rXU(bn.f),e.rXU(ee.Qq),e.rXU(h.bZ),e.rXU(Ue.n),e.rXU(pe.L),e.rXU(ns.M),e.rXU(en.UG),e.rXU(tn.D),e.rXU(is),e.rXU(as))}}static{this.\u0275cmp=e.VBU({type:Ut,selectors:[["df-service-details"]],viewQuery:function(t,o){if(1&t&&(e.GBs(rs,5),e.GBs(cs,5),e.GBs(ss,5),e.GBs(ls,5)),2&t){let i;e.mGM(i=e.lsd())&&(o.stepper=i.first),e.mGM(i=e.lsd())&&(o.functionEditor=i.first),e.mGM(i=e.lsd())&&(o.headersEditor=i.first),e.mGM(i=e.lsd())&&(o.unsavedToolDialogTpl=i.first)}},standalone:!0,features:[e.aNF],decls:7,vars:4,consts:[[1,"details-section",3,"formGroup","ngSubmit"],[4,"ngIf","ngIfElse"],["notDatabaseEdit",""],[3,"serviceName",4,"ngIf"],["unsavedToolDialog",""],["linear",""],["stepper",""],["errorMessage","Service Type is required.",3,"editable"],["matStepLabel",""],[1,"details-section"],[1,"section-header"],["matSuffix","",1,"tool-tip-trigger",3,"icon","matTooltip"],["mat-button","","matStepperNext","","type","button",1,"cancel-btn",3,"disabled"],["appearance","outline",1,"dynamic-width"],["matInput","","placeholder","SQL, AWS, MongoDB, etc.",3,"ngModel","ngModelOptions","ngModelChange"],[1,"full-width"],[1,"grid-wrapper","grid-col-auto"],["class","radio-card",4,"ngFor","ngForOf","ngForTrackBy"],["subscriptSizing","dynamic","class","dynamic-width","appearance","outline",4,"ngIf"],["appearance","outline","subscriptSizing","dynamic","class","dynamic-width",4,"ngIf"],["appearance","outline","subscriptSizing","dynamic","class","full-width",4,"ngIf"],[1,"action-container"],["color","primary","formControlName","isActive",4,"ngIf"],["mat-button","","matStepperPrevious","","type","button",1,"cancel-btn"],[4,"ngIf"],["class","first-time-guidance",4,"ngIf"],["class","full-width action-bar",4,"ngIf"],["class","details-section",4,"ngIf"],["matStepperIcon","edit"],["matStepperIcon","done"],[1,"radio-card"],["formControlName","type","type","radio",3,"value","input"],[1,"card-content-wrapper"],[1,"check-icon"],[1,"card-content"],[1,"card-icon",3,"src","alt"],[1,"text-center"],["mat-button","",1,"unlock-btn",3,"click"],["subscriptSizing","dynamic","appearance","outline",1,"dynamic-width"],["matInput","","formControlName","name"],["appearance","outline","subscriptSizing","dynamic",1,"dynamic-width"],["matInput","","formControlName","label"],["appearance","outline","subscriptSizing","dynamic",1,"full-width"],["rows","1","matInput","","formControlName","description"],["color","primary","formControlName","isActive"],["formGroupName","config"],[4,"ngFor","ngForOf","ngForTrackBy"],["dynamic",""],[1,"full-width",3,"type","storageServiceId","storagePath","content","cache"],[3,"schema","formControl","dynamic-width","full-width",4,"ngIf"],["class","full-width",3,"schema","formControl",4,"ngIf"],[3,"schema","formControl"],[1,"full-width",3,"schema","formControl"],[1,"details-section","basic-fields-section"],["class","advanced-section",4,"ngIf"],[1,"advanced-section"],[3,"expanded"],[1,"first-time-guidance"],[1,"guidance-icon",3,"icon"],[1,"guidance-text"],[1,"full-width","action-bar"],["mat-flat-button","","type","button",1,"cancel-btn",3,"click"],[1,"button-group"],["mat-flat-button","","class","save-btn","color","primary","type","button",3,"disabled","click",4,"ngIf"],["mat-flat-button","","class","save-btn secondary-btn","type","button",3,"disabled","click",4,"ngIf"],["class","save-btn","mat-flat-button","","color","primary",4,"ngIf"],["mat-flat-button","","color","primary","type","button",1,"save-btn",3,"disabled","click"],["mat-flat-button","","type","button",1,"save-btn","secondary-btn",3,"disabled","click"],["mat-flat-button","","color","primary",1,"save-btn"],[3,"serviceName","serviceId","isDatabase","isFirstTimeUser","goBack"],[3,"ngSwitch"],[4,"ngSwitchCase"],["class","service-health-panel",3,"serviceId","serviceName","serviceGroup","deprecated",4,"ngIf"],["formControlName","type",3,"selectionChange"],[3,"value",4,"ngFor","ngForOf","ngForTrackBy"],["subscriptSizing","dynamic","appearance","outline","class","full-width",4,"ngIf"],["subscriptSizing","dynamic","class","full-width","appearance","outline",4,"ngIf"],["formControlName","isActive","color","primary",4,"ngIf"],[1,"service-health-panel",3,"serviceId","serviceName","serviceGroup","deprecated"],[3,"eyebrow","title","description"],[1,"service-overview-card",3,"serviceName","baseUrl","sampleTable","keys","createKey"],["class","service-pipeline",4,"ngIf"],["class","service-access",4,"ngIf"],[1,"service-pipeline"],[1,"service-pipeline__hint"],[3,"serviceId","serviceName","serviceType"],[1,"service-access"],[1,"service-access__hint"],[3,"serviceId","cellClick"],[3,"value"],["appearance","outline",1,"full-width"],["formControlName","storageServiceId","required",""],["subscriptSizing","dynamic","appearance","outline",1,"full-width"],["formControlName","isActive","color","primary"],["notDatabase",""],["type","button","mat-flat-button","",1,"save-btn",3,"click"],["class","curl-import-action full-width",4,"ngIf"],[1,"curl-import-action","full-width"],["mat-stroked-button","","type","button","color","primary","data-testid","open-curl-import",3,"click"],[3,"icon"],[1,"curl-import-action__hint"],["color","primary",3,"schema","formControl","dynamic-width","full-width",4,"ngIf"],["color","primary",3,"schema","formControl"],["aria-label","Service Definition Type",3,"ngModel","ngModelOptions","ngModelChange","change"],["value","0"],["value","1"],[1,"full-width",3,"type","content","contentText"],[1,"full-width",3,"formControl","mode"],[1,"full-width",3,"isScript","type","storageServiceId","storagePath","content","cache","hideScmActions"],["class","full-width",3,"selectedConnectionId","selectedRoleId","selectConnection","selectRole",4,"ngIf"],["class","full-width",3,"form",4,"ngIf"],["class","full-width",3,"form","serviceId",4,"ngIf"],["class","full-width",3,"roleId",4,"ngIf"],[1,"full-width",3,"selectedConnectionId","selectedRoleId","selectConnection","selectRole"],[1,"full-width",3,"form"],[1,"full-width",3,"form","serviceId"],[1,"actions","full-width"],["type","file",2,"display","none",3,"accept","change"],["fileInput",""],[1,"full-width",3,"roleId"],[1,"mcp-tools-container"],["multi",""],[1,"mcp-service-header"],["color","primary",3,"checked","change","click"],[1,"mcp-services-table","full-width"],[1,"toggle-col"],[3,"disabled-row",4,"ngFor","ngForOf","ngForTrackBy"],["color","primary",3,"checked","change"],["class","mcp-tools-container",4,"ngIf"],[3,"disabled-row",4,"ngFor","ngForOf"],["data-testid","merged-db-tools",4,"ngIf"],[3,"expanded",4,"ngFor","ngForOf","ngForTrackBy"],["data-testid","merged-db-tools"],[1,"custom-tools-container"],[1,"custom-tools-description"],["class","custom-tools-actions",4,"ngIf"],["class","custom-tool-form",3,"formGroup",4,"ngIf"],["class","mcp-services-table full-width",4,"ngIf"],["class","no-tools-message",4,"ngIf"],[1,"custom-tools-actions"],["mat-flat-button","","color","primary",3,"click"],[1,"btn-icon",3,"icon"],[1,"custom-tool-form",3,"formGroup"],["formControlName","toolType",1,"tool-type-toggle"],["value","api"],["value","function"],[1,"form-row"],["appearance","outline",1,"form-field-half"],["matInput","","formControlName","name","placeholder","my_tool_name"],["appearance","outline","class","form-field-quarter",4,"ngIf"],["appearance","outline","class","full-width",4,"ngIf"],["matInput","","formControlName","description","rows","2","placeholder","Describe what this tool does..."],[1,"parameters-section"],["mat-stroked-button","","color","primary","type","button",3,"click"],["class","parameter-cards","formArrayName","parameters",4,"ngIf"],["class","no-parameters-hint",4,"ngIf"],["class","scm-link-section",3,"formGroup",4,"ngIf"],["class","editor-section",4,"ngIf"],[1,"form-actions"],["mat-button","","type","button",3,"click"],["mat-flat-button","","color","primary","type","button",3,"disabled","click"],["appearance","outline",1,"form-field-quarter"],["formControlName","httpMethod"],["value","GET"],["value","POST"],["value","PUT"],["value","PATCH"],["value","DELETE"],["matInput","","formControlName","url","placeholder","https://api.example.com/endpoint/{id}"],["mat-icon-button","","matSuffix","","type","button","matTooltip","Insert Lookup",3,"matMenuTriggerFor","disabled"],["urlLookupMenu","matMenu"],["mat-menu-item","",3,"click",4,"ngFor","ngForOf","ngForTrackBy"],["mat-menu-item","",3,"click"],["formArrayName","parameters",1,"parameter-cards"],["class","parameter-card",3,"formGroupName",4,"ngFor","ngForOf"],[1,"parameter-card",3,"formGroupName"],[1,"parameter-card-header"],[1,"parameter-index"],["mat-icon-button","","color","warn","type","button","matTooltip","Remove parameter",1,"parameter-remove-btn",3,"click"],[1,"parameter-card-fields"],["appearance","outline",1,"param-field","param-field--name"],["matInput","","formControlName","name","placeholder","param_name"],["appearance","outline",1,"param-field","param-field--type"],["formControlName","type"],["value","string"],["value","number"],["value","integer"],["value","boolean"],["appearance","outline","class","param-field param-field--location",4,"ngIf"],[1,"param-field","param-field--required"],["formControlName","required"],["appearance","outline",1,"param-field","param-field--desc"],["matInput","","formControlName","description","placeholder","What this parameter does"],["appearance","outline",1,"param-field","param-field--location"],["formControlName","in"],["value","query"],["value","path"],["value","body"],["value","header"],[1,"no-parameters-hint"],[1,"scm-link-section",3,"formGroup"],["formControlName","storageServiceId"],["class","form-row",4,"ngIf"],["class","scm-actions",4,"ngIf"],["appearance","outline",1,"form-field-third"],["matInput","","formControlName","scmRepository","placeholder","my-repo"],["matInput","","formControlName","scmReference","placeholder","master"],["matInput","","formControlName","storagePath","placeholder","scripts/my-tool.js"],[1,"scm-actions"],["mat-flat-button","","color","primary","type","button",3,"click"],[1,"editor-section"],[1,"editor-label-row"],[1,"editor-label"],["mat-stroked-button","","type","button",3,"matMenuTriggerFor","disabled"],["fnLookupMenu","matMenu"],[1,"editor-wrapper"],["formControlName","function",3,"mode","valueChange"],["functionEditor",""],[1,"editor-hint"],["hdrLookupMenu","matMenu"],[1,"editor-wrapper","editor-wrapper--compact"],["formControlName","headers",3,"mode","valueChange"],["headersEditor",""],[1,"action-col"],[1,"url-cell"],[1,"action-buttons"],["mat-icon-button","","matTooltip","Edit tool",3,"disabled","click"],["mat-icon-button","","color","warn","matTooltip","Delete tool",3,"disabled","click"],[1,"no-tools-message"],["mat-flat-button","","color","primary",1,"save-btn",3,"value","click"],[3,"serviceName"],["mat-dialog-title",""],["mat-dialog-content",""],["mat-dialog-actions","","align","end"],["mat-flat-button","","type","button",3,"click"],["mat-flat-button","","color","warn","type","button",3,"click"],["mat-flat-button","","color","primary","cdkFocusInitial","","type","button",3,"click"]],template:function(t,o){if(1&t&&(e.j41(0,"form",0),e.bIt("ngSubmit",function(){return o.save(!1,!1)}),e.DNE(1,ol,53,27,"ng-container",1),e.DNE(2,Nd,22,22,"ng-template",null,2,e.C5r),e.k0s(),e.DNE(4,Ad,1,1,"df-paywall",3),e.DNE(5,Yd,11,0,"ng-template",null,4,e.C5r)),2&t){const i=e.sdS(3);e.Y8G("formGroup",o.serviceForm),e.R7$(1),e.Y8G("ngIf",o.isDatabase&&!o.edit)("ngIfElse",i),e.R7$(3),e.Y8G("ngIf",o.subscriptionRequired)}},dependencies:[O.RG,O.rl,O.nJ,O.MV,O.yw,E.fS,E.fg,G.Ve,G.VO,q.wT,d.pM,X.mV,X.sG,oe.RI,fe.MY,fe.BS,fe.GK,fe.Z2,fe.WN,fe.Q6,D.Kj,m.X1,m.qT,m.me,m.Fm,m.BC,m.cb,m.YS,m.l_,m.j4,m.JD,m.$R,m.v8,m.YN,m.vS,d.bT,j.g7,j.So,qe,Ht.e,Ri,Ai,Qi,ma,va,Fa,mt,Qt.s,w.dX,w.aY,S.uc,S.oV,u.Hl,u.$z,u.iY,La.S,gt,Ka.C,Tr,un,Ke,hn,wr,Dr,fn,d.MD,d.ux,d.e1,Z.m_,Z.An,Se.Vg,Se.ec,Se.pc,J.Wk,Te.Hu,Sr.w,Ba,ae.Cn,ae.kk,ae.fb,ae.Cp,h.hM,h.BI,h.Yi,h.E7,$r.K,Zr,sc,Dc,xt],styles:[".grid-wrapper[_ngcontent-%COMP%]{display:flex;flex-wrap:wrap;gap:16px}.service-health-panel[_ngcontent-%COMP%]{display:block;margin-bottom:2.4rem}.service-pipeline[_ngcontent-%COMP%], .service-access[_ngcontent-%COMP%]{margin-top:3.2rem;padding-top:3.2rem;border-top:1px solid var(--df-border-2)}.service-pipeline__hint[_ngcontent-%COMP%], .service-access__hint[_ngcontent-%COMP%]{margin:0 0 1.6rem;max-width:68ch;color:var(--df-text-muted);font-size:1.3rem;line-height:1.5}.section-header[_ngcontent-%COMP%] h3[_ngcontent-%COMP%], .basic-fields-section[_ngcontent-%COMP%] .section-title[_ngcontent-%COMP%], .component-selection[_ngcontent-%COMP%] h3[_ngcontent-%COMP%], .security-config-container[_ngcontent-%COMP%] .access-level-section[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{margin:0 0 16px;font-size:1.5rem;font-weight:600;letter-spacing:-.01em;color:var(--df-text)}[_nghost-%COMP%] .mat-horizontal-stepper-header-container{border-bottom:1px solid var(--df-border-2);margin-bottom:8px}[_nghost-%COMP%] .mat-horizontal-stepper-header{height:48px}[_nghost-%COMP%] .mat-horizontal-stepper-header .mat-step-label{font-size:1.2rem;font-weight:600;letter-spacing:.02em;color:var(--df-text-muted)}[_nghost-%COMP%] .mat-horizontal-stepper-header .mat-step-label-selected{color:var(--df-text)}[_nghost-%COMP%] .mat-horizontal-stepper-header .mat-step-icon{height:22px;width:22px;font-size:1.1rem;background-color:var(--df-surface-2);color:var(--df-text-muted);border:1px solid var(--df-border)}[_nghost-%COMP%] .mat-horizontal-stepper-header .mat-step-icon .mat-icon{font-size:1.2rem;height:auto;width:auto;line-height:1}[_nghost-%COMP%] .mat-horizontal-stepper-header .mat-step-icon-selected, [_nghost-%COMP%] .mat-horizontal-stepper-header .mat-step-icon-state-edit{background-color:var(--df-accent)!important;color:var(--df-accent-contrast);border-color:transparent}[_nghost-%COMP%] .mat-stepper-horizontal-line{border-top-color:var(--df-border-2)}label.radio-card[_ngcontent-%COMP%]{cursor:pointer}label.radio-card[_ngcontent-%COMP%] .card-content-wrapper[_ngcontent-%COMP%]{background:var(--df-surface);border-radius:var(--df-radius-sm);max-width:200px;min-height:200px;padding:12px;display:grid;box-shadow:none;border:1px solid var(--df-border);background-size:contain;background-repeat:no-repeat;transition:border-color .15s ease}label.radio-card[_ngcontent-%COMP%] .card-content-wrapper.not-included[_ngcontent-%COMP%]{opacity:.5;cursor:default!important;pointer-events:none!important}label.radio-card[_ngcontent-%COMP%] .check-icon[_ngcontent-%COMP%]{width:20px;height:20px;display:inline-block;border:solid 2px var(--df-border);background-color:var(--df-surface-2);border-radius:50%;position:relative}label.radio-card[_ngcontent-%COMP%] .check-icon[_ngcontent-%COMP%]:before{content:\"\";position:absolute;inset:0;background-image:url(\"data:image/svg+xml,%3Csvg width='12' height='9' viewBox='0 0 12 9' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0.93552 4.58423C0.890286 4.53718 0.854262 4.48209 0.829309 4.42179C0.779553 4.28741 0.779553 4.13965 0.829309 4.00527C0.853759 3.94471 0.889842 3.88952 0.93552 3.84283L1.68941 3.12018C1.73378 3.06821 1.7893 3.02692 1.85185 2.99939C1.91206 2.97215 1.97736 2.95796 2.04345 2.95774C2.11507 2.95635 2.18613 2.97056 2.2517 2.99939C2.31652 3.02822 2.3752 3.06922 2.42456 3.12018L4.69872 5.39851L9.58026 0.516971C9.62828 0.466328 9.68554 0.42533 9.74895 0.396182C9.81468 0.367844 9.88563 0.353653 9.95721 0.354531C10.0244 0.354903 10.0907 0.369582 10.1517 0.397592C10.2128 0.425602 10.2672 0.466298 10.3112 0.516971L11.0651 1.25003C11.1108 1.29672 11.1469 1.35191 11.1713 1.41247C11.2211 1.54686 11.2211 1.69461 11.1713 1.82899C11.1464 1.88929 11.1104 1.94439 11.0651 1.99143L5.06525 7.96007C5.02054 8.0122 4.96514 8.0541 4.90281 8.08294C4.76944 8.13802 4.61967 8.13802 4.4863 8.08294C4.42397 8.0541 4.36857 8.0122 4.32386 7.96007L0.93552 4.58423Z' fill='white'/%3E%3C/svg%3E%0A\");background-repeat:no-repeat;background-size:12px;background-position:center center;transform:scale(1.6);opacity:0}label.radio-card[_ngcontent-%COMP%] input[type=radio][_ngcontent-%COMP%]{appearance:none;-webkit-appearance:none;-moz-appearance:none}label.radio-card[_ngcontent-%COMP%] input[type=radio][_ngcontent-%COMP%]:checked + .card-content-wrapper[_ngcontent-%COMP%]{border-color:var(--df-accent);box-shadow:0 0 0 1px var(--df-accent);opacity:1}label.radio-card[_ngcontent-%COMP%] input[type=radio][_ngcontent-%COMP%]:checked + .card-content-wrapper[_ngcontent-%COMP%] .check-icon[_ngcontent-%COMP%]{transform:scale(1.2);background-color:var(--df-accent);border-color:var(--df-accent)}label.radio-card[_ngcontent-%COMP%] input[type=radio][_ngcontent-%COMP%]:checked + .card-content-wrapper[_ngcontent-%COMP%] .check-icon[_ngcontent-%COMP%]:before{transform:scale(1);opacity:1}label.radio-card[_ngcontent-%COMP%] input[type=radio][_ngcontent-%COMP%]:focus + .card-content-wrapper[_ngcontent-%COMP%] .check-icon[_ngcontent-%COMP%]{box-shadow:0 0 0 4px var(--df-accent-soft);border-color:var(--df-accent)}label.radio-card[_ngcontent-%COMP%] .card-content[_ngcontent-%COMP%]{width:100%;text-align:center}label.radio-card[_ngcontent-%COMP%] .card-content[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{margin-bottom:10px;width:100%;height:110px}label.radio-card[_ngcontent-%COMP%] .card-content[_ngcontent-%COMP%] h4[_ngcontent-%COMP%]{color:var(--df-text)}.details-section[_ngcontent-%COMP%] .section-header[_ngcontent-%COMP%], .details-section[_ngcontent-%COMP%] .action-container[_ngcontent-%COMP%]{display:flex;justify-content:space-between;width:100%}mat-icon[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:center}.calendly-inline-widget[_ngcontent-%COMP%]{height:500px}.unlock-btn[_ngcontent-%COMP%]{position:relative;top:-95px;right:-55px;color:var(--df-danger)}.action-bar[_ngcontent-%COMP%]{display:flex;justify-content:flex-end}.action-bar[_ngcontent-%COMP%] .button-group[_ngcontent-%COMP%]{display:flex;gap:8px}.action-bar[_ngcontent-%COMP%] .secondary-btn[_ngcontent-%COMP%]{background-color:transparent!important;border:1px solid var(--df-accent)!important;color:var(--df-accent)!important} .mat-expansion-panel-header>.mat-expansion-indicator:after{color:unset!important} .mat-mdc-select-arrow{color:unset!important}.dark-theme[_nghost-%COMP%] label.radio-card[_ngcontent-%COMP%] .card-content-wrapper[_ngcontent-%COMP%], .dark-theme [_nghost-%COMP%] label.radio-card[_ngcontent-%COMP%] .card-content-wrapper[_ngcontent-%COMP%]{background:#000;border:1px solid #fff}.dark-theme[_nghost-%COMP%] label.radio-card[_ngcontent-%COMP%] .check-icon[_ngcontent-%COMP%], .dark-theme [_nghost-%COMP%] label.radio-card[_ngcontent-%COMP%] .check-icon[_ngcontent-%COMP%]{border:solid 2px #2d2d2d}.dark-theme[_nghost-%COMP%] label.radio-card[_ngcontent-%COMP%] .card-content[_ngcontent-%COMP%] h4[_ngcontent-%COMP%], .dark-theme [_nghost-%COMP%] label.radio-card[_ngcontent-%COMP%] .card-content[_ngcontent-%COMP%] h4[_ngcontent-%COMP%]{color:#fff}.dark-theme[_nghost-%COMP%] .details-section[_ngcontent-%COMP%] .mat-button-toggle-group button, .dark-theme [_nghost-%COMP%] .details-section[_ngcontent-%COMP%] .mat-button-toggle-group button{background:inherit!important}.dark-theme[_nghost-%COMP%] .details-section[_ngcontent-%COMP%] .mat-button-toggle-group button span, .dark-theme [_nghost-%COMP%] .details-section[_ngcontent-%COMP%] .mat-button-toggle-group button span{color:var(--df-text)!important}.security-config-container[_ngcontent-%COMP%]{padding:24px 0}.security-config-container[_ngcontent-%COMP%] .top-hint[_ngcontent-%COMP%]{margin-bottom:24px;padding:12px 16px;background:var(--df-accent-soft);border-radius:var(--df-radius-sm)}.security-config-container[_ngcontent-%COMP%] .top-hint[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{margin:0;font-size:1.35rem;color:var(--df-text)}.security-config-container[_ngcontent-%COMP%] .top-hint[_ngcontent-%COMP%] .role-link[_ngcontent-%COMP%]{color:var(--df-accent);text-decoration:none;font-weight:500;cursor:pointer}.security-config-container[_ngcontent-%COMP%] .top-hint[_ngcontent-%COMP%] .role-link[_ngcontent-%COMP%]:hover{text-decoration:underline}.security-config-container[_ngcontent-%COMP%] .security-cards-grid[_ngcontent-%COMP%]{display:grid;grid-template-columns:repeat(2,1fr);gap:16px;margin-bottom:32px}@media (max-width: 768px){.security-config-container[_ngcontent-%COMP%] .security-cards-grid[_ngcontent-%COMP%]{grid-template-columns:1fr}}.security-config-container[_ngcontent-%COMP%] .security-option-card[_ngcontent-%COMP%]{position:relative;cursor:pointer;transition:border-color .15s ease-in-out;border-radius:var(--df-radius);background:var(--df-surface);border:1px solid var(--df-border-2);box-shadow:none;overflow:hidden;height:100%;min-height:160px;display:flex;flex-direction:column}.security-config-container[_ngcontent-%COMP%] .security-option-card[_ngcontent-%COMP%]:hover{border-color:var(--df-accent)}.security-config-container[_ngcontent-%COMP%] .security-option-card[_ngcontent-%COMP%] mat-card-content[_ngcontent-%COMP%]{padding:24px;display:flex;flex-direction:column;align-items:center;text-align:center;gap:12px;height:100%;justify-content:center}.security-config-container[_ngcontent-%COMP%] .security-option-card[_ngcontent-%COMP%] h4[_ngcontent-%COMP%]{margin:0;font-size:1.6rem;font-weight:600;letter-spacing:-.01em;color:var(--df-text)}.security-config-container[_ngcontent-%COMP%] .security-option-card[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{margin:0;color:var(--df-text-muted);font-size:1.35rem;line-height:1.5}.security-config-container[_ngcontent-%COMP%] .security-option-card.selected[_ngcontent-%COMP%]{border-color:var(--df-accent);background-color:var(--df-accent-soft)}.security-config-container[_ngcontent-%COMP%] .component-selection[_ngcontent-%COMP%]{margin-top:32px}.security-config-container[_ngcontent-%COMP%] .component-selection[_ngcontent-%COMP%] .search-field[_ngcontent-%COMP%]{width:100%;max-width:400px;margin-bottom:24px}.security-config-container[_ngcontent-%COMP%] .component-selection[_ngcontent-%COMP%] .search-field[_ngcontent-%COMP%] .mat-mdc-form-field-wrapper[_ngcontent-%COMP%]{padding-bottom:0}.security-config-container[_ngcontent-%COMP%] .component-selection[_ngcontent-%COMP%] .components-grid[_ngcontent-%COMP%]{display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:12px;margin-bottom:24px}.security-config-container[_ngcontent-%COMP%] .component-selection[_ngcontent-%COMP%] .component-card[_ngcontent-%COMP%]{border:1px solid var(--df-border-2);border-radius:var(--df-radius-sm);transition:border-color .15s ease-in-out;cursor:pointer;box-shadow:none;background:var(--df-surface)}.security-config-container[_ngcontent-%COMP%] .component-selection[_ngcontent-%COMP%] .component-card[_ngcontent-%COMP%] mat-card-content[_ngcontent-%COMP%]{padding:16px;display:flex;align-items:center;gap:12px}.security-config-container[_ngcontent-%COMP%] .component-selection[_ngcontent-%COMP%] .component-card[_ngcontent-%COMP%] .checkbox-wrapper[_ngcontent-%COMP%]{margin-right:8px}.security-config-container[_ngcontent-%COMP%] .component-selection[_ngcontent-%COMP%] .component-card[_ngcontent-%COMP%]:hover{border-color:var(--df-accent)}.security-config-container[_ngcontent-%COMP%] .component-selection[_ngcontent-%COMP%] .component-card.selected[_ngcontent-%COMP%]{border-color:var(--df-accent);background-color:var(--df-accent-soft)}.security-config-container[_ngcontent-%COMP%] .component-selection[_ngcontent-%COMP%] .access-level-section[_ngcontent-%COMP%]{margin-top:32px;padding:24px;background:var(--df-surface);border-radius:var(--df-radius);border:1px solid var(--df-border-2)}.security-config-container[_ngcontent-%COMP%] .component-selection[_ngcontent-%COMP%] .access-level-section[_ngcontent-%COMP%] .hint-widget[_ngcontent-%COMP%]{margin:0 0 24px;padding:12px 16px;background:var(--df-accent-soft);border-radius:var(--df-radius-sm);display:flex;align-items:center;gap:12px}.security-config-container[_ngcontent-%COMP%] .component-selection[_ngcontent-%COMP%] .access-level-section[_ngcontent-%COMP%] .hint-widget[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{color:var(--df-accent);font-size:20px;width:20px;height:20px}.security-config-container[_ngcontent-%COMP%] .component-selection[_ngcontent-%COMP%] .access-level-section[_ngcontent-%COMP%] .hint-widget[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{margin:0;font-size:1.35rem;color:var(--df-text)}.security-config-container[_ngcontent-%COMP%] .component-selection[_ngcontent-%COMP%] .access-level-section[_ngcontent-%COMP%] .hint-widget[_ngcontent-%COMP%] .role-link[_ngcontent-%COMP%]{color:var(--df-accent);text-decoration:none;font-weight:500;cursor:pointer}.security-config-container[_ngcontent-%COMP%] .component-selection[_ngcontent-%COMP%] .access-level-section[_ngcontent-%COMP%] .hint-widget[_ngcontent-%COMP%] .role-link[_ngcontent-%COMP%]:hover{text-decoration:underline}.security-config-container[_ngcontent-%COMP%] .component-selection[_ngcontent-%COMP%] .access-level-section[_ngcontent-%COMP%] .access-level-controls[_ngcontent-%COMP%] mat-button-toggle-group[_ngcontent-%COMP%]{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;border:none;width:100%}@media (max-width: 768px){.security-config-container[_ngcontent-%COMP%] .component-selection[_ngcontent-%COMP%] .access-level-section[_ngcontent-%COMP%] .access-level-controls[_ngcontent-%COMP%] mat-button-toggle-group[_ngcontent-%COMP%]{grid-template-columns:1fr}}.security-config-container[_ngcontent-%COMP%] .component-selection[_ngcontent-%COMP%] .access-level-section[_ngcontent-%COMP%] .access-level-controls[_ngcontent-%COMP%] .mat-button-toggle[_ngcontent-%COMP%]{background:var(--df-surface);border:1px solid var(--df-border-2);border-radius:var(--df-radius-sm);height:auto;width:100%;transition:border-color .15s ease-in-out}.security-config-container[_ngcontent-%COMP%] .component-selection[_ngcontent-%COMP%] .access-level-section[_ngcontent-%COMP%] .access-level-controls[_ngcontent-%COMP%] .mat-button-toggle[_ngcontent-%COMP%]:hover{border-color:var(--df-accent)}.security-config-container[_ngcontent-%COMP%] .component-selection[_ngcontent-%COMP%] .access-level-section[_ngcontent-%COMP%] .access-level-controls[_ngcontent-%COMP%] .mat-button-toggle[_ngcontent-%COMP%] .toggle-content[_ngcontent-%COMP%]{padding:16px;text-align:center}.security-config-container[_ngcontent-%COMP%] .component-selection[_ngcontent-%COMP%] .access-level-section[_ngcontent-%COMP%] .access-level-controls[_ngcontent-%COMP%] .mat-button-toggle[_ngcontent-%COMP%] .toggle-content[_ngcontent-%COMP%] .toggle-text[_ngcontent-%COMP%] h4[_ngcontent-%COMP%]{margin:0;font-size:1.5rem;font-weight:600;letter-spacing:-.01em;color:var(--df-text)}.security-config-container[_ngcontent-%COMP%] .component-selection[_ngcontent-%COMP%] .access-level-section[_ngcontent-%COMP%] .access-level-controls[_ngcontent-%COMP%] .mat-button-toggle[_ngcontent-%COMP%] .toggle-content[_ngcontent-%COMP%] .toggle-text[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{margin:6px 0 0;font-size:1.3rem;color:var(--df-text-muted)}.security-config-container[_ngcontent-%COMP%] .component-selection[_ngcontent-%COMP%] .access-level-section[_ngcontent-%COMP%] .access-level-controls[_ngcontent-%COMP%] .mat-button-toggle.mat-button-toggle-checked[_ngcontent-%COMP%]{background:var(--df-accent-soft);border-color:var(--df-accent)}.security-config-container[_ngcontent-%COMP%] .component-selection[_ngcontent-%COMP%] .access-level-section[_ngcontent-%COMP%] .access-level-controls[_ngcontent-%COMP%] .mat-button-toggle.mat-button-toggle-checked[_ngcontent-%COMP%] .toggle-text[_ngcontent-%COMP%] h4[_ngcontent-%COMP%]{color:var(--df-accent)}.action-container[_ngcontent-%COMP%]{margin-top:24px;padding-top:16px;border-top:1px solid var(--df-border-2);display:flex;justify-content:space-between;align-items:center}.action-container[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{min-width:120px}.component-selection[_ngcontent-%COMP%] .hint-widget[_ngcontent-%COMP%]{margin:0 0 24px;padding:12px 16px;background:var(--df-accent-soft);border-radius:var(--df-radius-sm)}.component-selection[_ngcontent-%COMP%] .hint-widget[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{margin:0;font-size:1.35rem;color:var(--df-text)}.component-selection[_ngcontent-%COMP%] .hint-widget[_ngcontent-%COMP%] .role-link[_ngcontent-%COMP%]{color:var(--df-accent);text-decoration:none;font-weight:500;cursor:pointer}.component-selection[_ngcontent-%COMP%] .hint-widget[_ngcontent-%COMP%] .role-link[_ngcontent-%COMP%]:hover{text-decoration:underline}.mcp-tools-container[_ngcontent-%COMP%]{padding:12px 0}.mcp-tools-container[_ngcontent-%COMP%] code[_ngcontent-%COMP%]{font-size:1.2rem;padding:3px 8px;background:var(--df-accent-soft);color:var(--df-accent-strong);border-radius:4px;white-space:nowrap;font-weight:500}.mcp-service-header[_ngcontent-%COMP%]{display:flex;align-items:center;gap:12px}.toggle-col[_ngcontent-%COMP%]{width:60px}.disabled-row[_ngcontent-%COMP%]{opacity:.45;transition:opacity .2s ease}.disabled-row[_ngcontent-%COMP%]:hover{opacity:.65}.mcp-services-table[_ngcontent-%COMP%]{width:100%;border-collapse:collapse}.mcp-services-table[_ngcontent-%COMP%] th[_ngcontent-%COMP%], .mcp-services-table[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{text-align:left;padding:12px;border-bottom:1px solid var(--df-border-2)}.mcp-services-table[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{font-weight:600;color:var(--df-text-muted);font-size:11px;text-transform:uppercase;letter-spacing:.06em}.mcp-services-table[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{font-size:1.35rem}.mcp-services-table[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] tr[_ngcontent-%COMP%]{height:44px;transition:background-color .15s ease}.mcp-services-table[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] tr[_ngcontent-%COMP%]:hover{background-color:var(--df-hover)}.custom-tools-container[_ngcontent-%COMP%]{padding:12px 0}.custom-tools-container[_ngcontent-%COMP%] .custom-tools-description[_ngcontent-%COMP%]{color:var(--df-text-muted);font-size:1.35rem;line-height:1.6;margin-bottom:16px}.custom-tools-container[_ngcontent-%COMP%] .custom-tools-actions[_ngcontent-%COMP%]{margin-bottom:16px}.custom-tools-container[_ngcontent-%COMP%] .no-tools-message[_ngcontent-%COMP%]{color:var(--df-text-faint);font-style:italic;padding:24px 16px;text-align:center;border:1px dashed var(--df-border);border-radius:var(--df-radius-sm);background:var(--df-surface-2)}.custom-tools-container[_ngcontent-%COMP%] code[_ngcontent-%COMP%]{font-size:1.2rem;padding:3px 8px;background:var(--df-accent-soft);color:var(--df-accent-strong);border-radius:4px;white-space:nowrap;font-weight:500}.custom-tools-container[_ngcontent-%COMP%] .url-cell[_ngcontent-%COMP%]{max-width:300px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--df-text-muted);font-size:1.3rem}.tool-type-toggle[_ngcontent-%COMP%]{margin-bottom:16px}.tool-type-toggle[_ngcontent-%COMP%] .mat-button-toggle[_ngcontent-%COMP%]{min-width:110px}.custom-tool-form[_ngcontent-%COMP%]{background:var(--df-surface-2);border:1px solid var(--df-border-2);border-radius:var(--df-radius);padding:20px;margin-bottom:16px}.custom-tool-form[_ngcontent-%COMP%] h4[_ngcontent-%COMP%]{margin:0 0 16px;font-weight:600;font-size:1.5rem;letter-spacing:-.01em;color:var(--df-text)}.custom-tool-form[_ngcontent-%COMP%] .form-row[_ngcontent-%COMP%]{display:flex;gap:16px;align-items:flex-start}.custom-tool-form[_ngcontent-%COMP%] .form-field-half[_ngcontent-%COMP%]{flex:1}.custom-tool-form[_ngcontent-%COMP%] .form-field-quarter[_ngcontent-%COMP%]{width:160px;flex-shrink:0}.custom-tool-form[_ngcontent-%COMP%] .form-field-third[_ngcontent-%COMP%]{flex:1;min-width:0}.custom-tool-form[_ngcontent-%COMP%] .scm-link-section[_ngcontent-%COMP%]{margin-bottom:16px}.custom-tool-form[_ngcontent-%COMP%] .scm-actions[_ngcontent-%COMP%]{margin-top:8px;margin-bottom:8px}.custom-tool-form[_ngcontent-%COMP%] .parameters-section[_ngcontent-%COMP%]{margin:20px 0}.custom-tool-form[_ngcontent-%COMP%] .parameters-section[_ngcontent-%COMP%] .section-header[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:space-between;margin-bottom:12px}.custom-tool-form[_ngcontent-%COMP%] .parameters-section[_ngcontent-%COMP%] .section-header[_ngcontent-%COMP%] h5[_ngcontent-%COMP%]{margin:0;font-weight:600;font-size:11px;text-transform:uppercase;letter-spacing:.06em;color:var(--df-text-muted)}.custom-tool-form[_ngcontent-%COMP%] .parameters-section[_ngcontent-%COMP%] .parameter-cards[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:12px}.custom-tool-form[_ngcontent-%COMP%] .parameters-section[_ngcontent-%COMP%] .parameter-card[_ngcontent-%COMP%]{background:var(--df-surface);border:1px solid var(--df-border-2);border-radius:var(--df-radius);padding:16px 20px 8px;transition:border-color .2s ease,box-shadow .2s ease}.custom-tool-form[_ngcontent-%COMP%] .parameters-section[_ngcontent-%COMP%] .parameter-card[_ngcontent-%COMP%]:hover{border-color:var(--df-border)}.custom-tool-form[_ngcontent-%COMP%] .parameters-section[_ngcontent-%COMP%] .parameter-card[_ngcontent-%COMP%]:focus-within{border-color:var(--df-accent);box-shadow:0 0 0 2px var(--df-accent-soft)}.custom-tool-form[_ngcontent-%COMP%] .parameters-section[_ngcontent-%COMP%] .parameter-card-header[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:space-between;margin-bottom:8px}.custom-tool-form[_ngcontent-%COMP%] .parameters-section[_ngcontent-%COMP%] .parameter-card-header[_ngcontent-%COMP%] .parameter-index[_ngcontent-%COMP%]{font-size:1.2rem;font-weight:600;color:var(--df-accent-strong);background:var(--df-accent-soft);padding:2px 8px;border-radius:var(--df-radius-sm);letter-spacing:.03em}.custom-tool-form[_ngcontent-%COMP%] .parameters-section[_ngcontent-%COMP%] .parameter-card-header[_ngcontent-%COMP%] .parameter-remove-btn[_ngcontent-%COMP%]{opacity:.4;transition:opacity .15s ease;transform:scale(.85)}.custom-tool-form[_ngcontent-%COMP%] .parameters-section[_ngcontent-%COMP%] .parameter-card-header[_ngcontent-%COMP%] .parameter-remove-btn[_ngcontent-%COMP%]:hover{opacity:1}.custom-tool-form[_ngcontent-%COMP%] .parameters-section[_ngcontent-%COMP%] .parameter-card-fields[_ngcontent-%COMP%]{display:grid;grid-template-columns:1fr 120px 120px auto;gap:12px;align-items:start}.custom-tool-form[_ngcontent-%COMP%] .parameters-section[_ngcontent-%COMP%] .parameter-card-fields[_ngcontent-%COMP%] .param-field[_ngcontent-%COMP%]{min-width:0}.custom-tool-form[_ngcontent-%COMP%] .parameters-section[_ngcontent-%COMP%] .parameter-card-fields[_ngcontent-%COMP%] .param-field--name[_ngcontent-%COMP%]{grid-column:1}.custom-tool-form[_ngcontent-%COMP%] .parameters-section[_ngcontent-%COMP%] .parameter-card-fields[_ngcontent-%COMP%] .param-field--type[_ngcontent-%COMP%]{grid-column:2}.custom-tool-form[_ngcontent-%COMP%] .parameters-section[_ngcontent-%COMP%] .parameter-card-fields[_ngcontent-%COMP%] .param-field--location[_ngcontent-%COMP%]{grid-column:3}.custom-tool-form[_ngcontent-%COMP%] .parameters-section[_ngcontent-%COMP%] .parameter-card-fields[_ngcontent-%COMP%] .param-field--required[_ngcontent-%COMP%]{grid-column:4;padding-top:12px;white-space:nowrap}.custom-tool-form[_ngcontent-%COMP%] .parameters-section[_ngcontent-%COMP%] .parameter-card-fields[_ngcontent-%COMP%] .param-field--desc[_ngcontent-%COMP%]{grid-column:1/-1}.custom-tool-form[_ngcontent-%COMP%] .parameters-section[_ngcontent-%COMP%] .no-parameters-hint[_ngcontent-%COMP%]{color:var(--df-text-faint);font-size:1.3rem;text-align:center;padding:20px 16px;margin:0;border:1px dashed var(--df-border);border-radius:var(--df-radius-sm)}.custom-tool-form[_ngcontent-%COMP%] .inline-input[_ngcontent-%COMP%]{width:100%;padding:6px 10px;border:1px solid var(--df-border);border-radius:var(--df-radius-sm);font-size:1.3rem;background:var(--df-surface);color:var(--df-text);transition:border-color .2s ease,box-shadow .2s ease}.custom-tool-form[_ngcontent-%COMP%] .inline-input[_ngcontent-%COMP%]:focus{outline:none;border-color:var(--df-accent);box-shadow:0 0 0 2px var(--df-accent-soft)}.custom-tool-form[_ngcontent-%COMP%] .inline-input[_ngcontent-%COMP%]::placeholder{color:var(--df-text-faint)}.custom-tool-form[_ngcontent-%COMP%] .inline-select[_ngcontent-%COMP%]{padding:6px 10px;border:1px solid var(--df-border);border-radius:var(--df-radius-sm);font-size:1.3rem;background:var(--df-surface);color:var(--df-text);cursor:pointer;transition:border-color .2s ease,box-shadow .2s ease}.custom-tool-form[_ngcontent-%COMP%] .inline-select[_ngcontent-%COMP%]:focus{outline:none;border-color:var(--df-accent);box-shadow:0 0 0 2px var(--df-accent-soft)}.custom-tool-form[_ngcontent-%COMP%] .editor-section[_ngcontent-%COMP%]{margin-bottom:16px}.custom-tool-form[_ngcontent-%COMP%] .editor-section[_ngcontent-%COMP%] .editor-label[_ngcontent-%COMP%]{display:block;font-size:1.3rem;font-weight:500;color:var(--df-text-muted);margin-bottom:8px}.custom-tool-form[_ngcontent-%COMP%] .editor-section[_ngcontent-%COMP%] .editor-label-row[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:space-between;margin-bottom:4px}.custom-tool-form[_ngcontent-%COMP%] .editor-section[_ngcontent-%COMP%] .editor-label-row[_ngcontent-%COMP%] .editor-label[_ngcontent-%COMP%]{margin-bottom:0}.custom-tool-form[_ngcontent-%COMP%] .editor-section[_ngcontent-%COMP%] .editor-wrapper[_ngcontent-%COMP%]{border:1px solid var(--df-border);border-radius:var(--df-radius-sm);overflow:hidden;transition:border-color .2s ease,box-shadow .2s ease}.custom-tool-form[_ngcontent-%COMP%] .editor-section[_ngcontent-%COMP%] .editor-wrapper[_ngcontent-%COMP%]:focus-within{border-color:var(--df-accent);box-shadow:0 0 0 2px var(--df-accent-soft)}.custom-tool-form[_ngcontent-%COMP%] .editor-section[_ngcontent-%COMP%] .editor-wrapper[_ngcontent-%COMP%] df-ace-editor[_ngcontent-%COMP%]{display:block;min-height:200px}.custom-tool-form[_ngcontent-%COMP%] .editor-section[_ngcontent-%COMP%] .editor-wrapper[_ngcontent-%COMP%] df-ace-editor[_ngcontent-%COMP%] .editor{min-height:200px;border-radius:var(--df-radius-sm)}.custom-tool-form[_ngcontent-%COMP%] .editor-section[_ngcontent-%COMP%] .editor-wrapper--compact[_ngcontent-%COMP%] df-ace-editor[_ngcontent-%COMP%]{min-height:100px}.custom-tool-form[_ngcontent-%COMP%] .editor-section[_ngcontent-%COMP%] .editor-wrapper--compact[_ngcontent-%COMP%] df-ace-editor[_ngcontent-%COMP%] .editor{min-height:100px}.custom-tool-form[_ngcontent-%COMP%] .editor-section[_ngcontent-%COMP%] .editor-hint[_ngcontent-%COMP%]{display:block;font-size:1.2rem;color:var(--df-text-faint);margin-top:6px;padding-left:2px}.custom-tool-form[_ngcontent-%COMP%] .form-actions[_ngcontent-%COMP%]{display:flex;justify-content:flex-end;gap:12px;margin-top:24px;padding-top:16px;border-top:1px solid var(--df-border-2)}.btn-icon[_ngcontent-%COMP%]{margin-right:6px}.action-col[_ngcontent-%COMP%]{width:100px;white-space:nowrap;text-align:right;padding-right:4px!important}.action-col[_ngcontent-%COMP%] .action-buttons[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:flex-end;gap:2px}.action-col[_ngcontent-%COMP%] .action-buttons[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{opacity:.6;transition:opacity .15s ease}.action-col[_ngcontent-%COMP%] .action-buttons[_ngcontent-%COMP%] button[_ngcontent-%COMP%]:hover{opacity:1}.basic-fields-section[_ngcontent-%COMP%]{margin-bottom:24px}.advanced-section[_ngcontent-%COMP%]{margin-top:24px;margin-bottom:24px}.first-time-guidance[_ngcontent-%COMP%]{display:flex;align-items:center;gap:12px;padding:12px 16px;margin:16px 0;background:var(--df-accent-soft);border-radius:var(--df-radius-sm);border-left:3px solid var(--df-accent)}.first-time-guidance[_ngcontent-%COMP%] .guidance-icon[_ngcontent-%COMP%]{color:var(--df-accent);font-size:18px;flex-shrink:0}.first-time-guidance[_ngcontent-%COMP%] .guidance-text[_ngcontent-%COMP%]{margin:0;color:var(--df-text-2);font-size:1.35rem;line-height:1.5;flex:1}.service-overview-card[_ngcontent-%COMP%]{display:block;margin-bottom:var(--df-space-5)}.curl-import-action[_ngcontent-%COMP%]{display:flex;align-items:center;gap:.75rem;flex-wrap:wrap;margin-bottom:1rem}.curl-import-action[_ngcontent-%COMP%] fa-icon[_ngcontent-%COMP%]{margin-right:.5rem}.curl-import-action__hint[_ngcontent-%COMP%]{font-size:.85rem;opacity:.7}"]})}};Ot=yt=(0,re.Cg)([(0,H.d)({checkProperties:!0})],Ot);var Vd=g(51407);const Cn=[{key:"read",label:"Read data",warn:null,verbs:[{verb:"get_table_data",title:"Get Table Data",description:"Retrieve records from a table with filtering and paging"},{verb:"aggregate_data",title:"Aggregate Data",description:"Compute server-side aggregations (SUM, COUNT, AVG, MIN, MAX)"}]},{key:"schema",label:"Explore schema",warn:null,verbs:[{verb:"get_tables",title:"Get Tables",description:"List tables available in the database"},{verb:"get_table_schema",title:"Get Table Schema",description:"Retrieve schema definition for a table"},{verb:"get_table_fields",title:"Get Table Fields",description:"Retrieve field definitions for a table"},{verb:"get_table_relationships",title:"Get Table Relationships",description:"Retrieve relationships definition for a table"},{verb:"get_database_resources",title:"List Database Resources",description:"Get all resources available in the database service"},{verb:"get_api_spec",title:"Get API Spec",description:"Get the OpenAPI specification for this database service"},{verb:"get_data_model",title:"Get Data Model",description:"Get a condensed data model showing all tables and columns"}]},{key:"write",label:"Write data",warn:"writes",verbs:[{verb:"create_records",title:"Create Records",description:"Insert records into a table"},{verb:"update_records",title:"Update Records",description:"Update (patch) records in a table"},{verb:"delete_records",title:"Delete Records",description:"Delete records from a table"}]},{key:"procs",label:"Procedures & functions",warn:"executes",verbs:[{verb:"get_stored_procedures",title:"List Stored Procedures",description:"Get stored procedures available in the database"},{verb:"call_stored_procedure",title:"Call Stored Procedure",description:"Call a stored procedure"},{verb:"get_stored_functions",title:"List Stored Functions",description:"Get stored functions available in the database"},{verb:"call_stored_function",title:"Call Stored Function",description:"Call a stored function"}]}],kn=[{key:"fread",label:"Read files",warn:null,verbs:[{verb:"list_files",title:"List Files",description:"List files and folders in a path"},{verb:"get_file",title:"Get File",description:"Read the contents of a file"},{verb:"get_file_properties",title:"Get File Properties",description:"Get properties/metadata of a file or folder"}]},{key:"fwrite",label:"Write files",warn:"writes",verbs:[{verb:"create_file",title:"Create File",description:"Create or overwrite a file"},{verb:"create_folder",title:"Create Folder",description:"Create a new folder"},{verb:"delete_file",title:"Delete File or Folder",description:"Delete a file or folder"}]}],ye=[{verb:"discover_services",title:"Discover Services",description:"List the services and operations the calling role can access"},{verb:"request_access",title:"Request Access",description:"Explain how to request wider access"},{verb:"list_apis",title:"List Available APIs",description:"List all available database APIs and their tool prefixes"},{verb:"search",title:"Search",description:"Search records across the exposed services"},{verb:"fetch",title:"Fetch",description:"Fetch one record by id"}],Pt=[{verb:"all_get_tables",title:"Get Tables from All Databases",description:"Retrieve tables from all connected database services in one call"},{verb:"all_find_table",title:"Find Table Across Databases",description:"Search for a table by name across all connected databases"},{verb:"all_get_stored_procedures",title:"Get Stored Procedures from All",description:"Retrieve stored procedures from all connected databases"},{verb:"all_get_stored_functions",title:"Get Stored Functions from All",description:"Retrieve stored functions from all connected databases"},{verb:"all_get_resources",title:"Get Resources from All",description:"Retrieve all available resources from all connected databases"},{verb:"all_list_files",title:"List Files from All Storage",description:"List files from all connected file storage services"}];function Ve(n,a){return Pt.filter(t=>"all_list_files"===t.verb?a>=2:n>=2)}const Me=[{verb:"search_tools",title:"Search Tools",description:"Find tools by capability"},{verb:"describe_tool",title:"Describe Tool",description:"Get one tool\u2019s full schema"},{verb:"call_tool",title:"Call Tool",description:"Invoke a tool by name"},{verb:"fetch_more",title:"Fetch More",description:"Page through a long result"},{verb:"list_tools",title:"List Tools",description:"Page through the full catalog"}];function Xd(n,a){return"Database"===n?"db":"local_file"===a||"File"===n?"file":null}function Oe(n){return"db"===n?Cn:kn}function $(n){return Oe(n).flatMap(a=>a.verbs)}const We=new Set(["write","procs","fwrite"]),Qe=new Set(["create_records","update_records","delete_records","call_stored_procedure","call_stored_function","create_file","create_folder","delete_file"]),Ze=32768,yn=540;function Ft(n){return"on"===n||"always"===n||!0===n?"on":"off"===n||"never"===n||!1===n?"off":"auto"}const zd=["exposed_services","exposedServices","disabled_tools","disabledTools","tool_style","toolStyle","lazy_mode","lazyMode","allow_api_key_auth","allowApiKeyAuth","allow_writes","allowWrites","require_role_access","requireRoleAccess","oauth_client_id","oauthClientId","oauth_client_secret","oauthClientSecret","custom_login_url","customLoginUrl","auto_oauth_service","autoOauthService","redirect_uris","redirectUris","registered_redirect_uris","registeredRedirectUris","custom_tools","customTools"];function te(n,a,t){return void 0!==n[a]?n[a]:n[t]}function wt(n){const a=n??{},t=te(a,"exposed_services","exposedServices"),o=te(a,"disabled_tools","disabledTools"),i=te(a,"tool_style","toolStyle"),r=te(a,"redirect_uris","redirectUris"),c=te(a,"registered_redirect_uris","registeredRedirectUris"),s={};for(const l of Object.keys(a))zd.includes(l)||(s[l]=a[l]);return{exposedServices:Array.isArray(t)?[...t]:[],disabledTools:new Set(Array.isArray(o)?o:[]),toolStyle:"merged"===i?"merged":"prefixed"===i?"prefixed":null,lazyMode:Ft(te(a,"lazy_mode","lazyMode")),allowApiKeyAuth:!!te(a,"allow_api_key_auth","allowApiKeyAuth"),allowWrites:!1!==te(a,"allow_writes","allowWrites"),requireRoleAccess:!!te(a,"require_role_access","requireRoleAccess"),oauthClientId:te(a,"oauth_client_id","oauthClientId")??"",oauthClientSecret:te(a,"oauth_client_secret","oauthClientSecret")??"",customLoginUrl:te(a,"custom_login_url","customLoginUrl")??"",autoOauthService:te(a,"auto_oauth_service","autoOauthService")??null,redirectUris:Array.isArray(r)?[...r]:[],registeredRedirectUris:Array.isArray(c)?[...c]:[],customTools:te(a,"custom_tools","customTools")??[],rest:s}}function Mn(n,a="mcp"){const t={...n.rest,exposedServices:[...n.exposedServices],disabledTools:[...n.disabledTools].sort(),toolStyle:n.toolStyle,lazyMode:Ft(n.lazyMode),allowApiKeyAuth:n.allowApiKeyAuth,allowWrites:!1!==n.allowWrites,requireRoleAccess:!!n.requireRoleAccess,oauthClientId:n.oauthClientId,oauthClientSecret:n.oauthClientSecret,customLoginUrl:n.customLoginUrl||null,autoOauthService:n.autoOauthService,redirectUris:[...n.redirectUris],registeredRedirectUris:[...n.registeredRedirectUris??[]]};return"mcp"===a&&(t.customTools=(n.customTools??[]).map(o=>({id:o.id,toolType:o.toolType||"api",name:o.name,description:o.description,httpMethod:o.httpMethod,url:o.url,parameters:o.parameters,headers:o.headers,function:o.function||"",enabled:o.enabled,storageServiceId:o.storageServiceId||null,scmRepository:o.scmRepository||"",scmReference:o.scmReference||"",storagePath:o.storagePath||""}))),t}function On(n,a){const t=[];for(const o of n){const i=Xd(a[o.type]??"",o.type);i&&t.push({id:o.id,name:o.name,label:o.label||o.name,kind:i,active:o.isActive??o.is_active??!0})}return t}function ne(n,a){return`${n}_${a}`}function Pn(n,a){const t=$(n.kind);return{on:t.filter(o=>!a.has(ne(n.name,o.verb))).length,total:t.length}}function et(n,a,t){const o=a.verbs.filter(i=>!t.has(ne(n.name,i.verb))).length;return 0===o?"off":o===a.verbs.length?"on":"part"}function Dt(n,a){const t=Pn(n,a);if(0===t.on)return{kind:"zero",label:`0 of ${t.total}`};if(t.on===t.total)return{kind:"full",label:"Full"};const o=Oe(n.kind),i=o.filter(c=>We.has(c.key)).every(c=>"off"===et(n,c,a)),r=o.filter(c=>!We.has(c.key)).every(c=>"on"===et(n,c,a));return i&&r?{kind:"ro",label:"Read-only"}:{kind:"custom",label:`Custom ${t.on} of ${t.total}`}}function Tt(n){return Oe(n.kind).filter(a=>We.has(a.key)).flatMap(a=>a.verbs.map(t=>ne(n.name,t.verb)))}function St(n){return $(n.kind).map(a=>ne(n.name,a.verb))}function ce(n,a,t){return!(!1===n.allowWrites&&Qe.has(t)||n.disabledTools.has(ne(a,t)))}function Rt(n,a){return function Bd(n){return!!n&&!1!==n.enabled&&0!==n.enabled}(a)&&(!1!==n.allowWrites||!tt(a))}function tt(n){return!!n&&("function"===(n.toolType||"api")||"GET"!==String(n.httpMethod??"GET").toUpperCase())}const Fn=new Set($("db").map(n=>n.verb)),wn=new Set($("file").map(n=>n.verb));function Xe(n,a,t){const o=a+"_";if(!n.startsWith(o))return!1;const i=n.slice(o.length);return"db"===t?Fn.has(i):"file"===t?wn.has(i):Fn.has(i)||wn.has(i)}function Dn(n,a){return n.exposedServices.map(t=>({name:t,svc:a.find(o=>o.name===t)??null}))}function It(n,a,t){return Dn(n,a).map(o=>o.svc).filter(o=>!!o&&o.active&&(!t||o.kind===t))}function ze(n,a){const t="merged"===n.toolStyle?"merged":"prefixed",o=It(n,a,"db"),i=It(n,a,"file"),r=n.disabledTools,c=V=>$(V.kind).filter(Q=>ce(n,V.name,Q.verb)).length;let s=0;if(o.length)if("merged"===t)for(const V of $("db"))o.some(Q=>ce(n,Q.name,V.verb))&&s++;else s=o.reduce((V,Q)=>V+c(Q),0);let l=0;if(i.length)if("merged"===t)for(const V of $("file"))i.some(Q=>ce(n,Q.name,V.verb))&&l++;else l=i.reduce((V,Q)=>V+c(Q),0);const p=ye.filter(V=>!r.has(V.verb)).length,f=Ve(o.length,i.length).filter(V=>!r.has(V.verb)).length,M=(n.customTools??[]).filter(V=>Rt(n,V)),v=M.length,x=M.filter(tt).length,F=new Set,T=new Set;let B=0,_=0,C=0,k=0;for(const V of!1===n.allowWrites?[]:[...o,...i]){const Q=Oe(V.kind).filter(ge=>We.has(ge.key)).flatMap(ge=>ge.verbs).filter(ge=>ce(n,V.name,ge.verb));Q.length&&(C++,"db"===V.kind?(k++,B+=Q.length,Q.forEach(ge=>F.add(ge.verb))):(_+=Q.length,Q.forEach(ge=>T.add(ge.verb))))}const $e=("merged"===t?F.size:B)+("merged"===t?T.size:_)+x,be=s+l+p+f+v,Hn=Tn(be,n.lazyMode);return{total:be,dbTools:s,dbServices:o.length,fileTools:l,fileServices:i.length,globalTools:p,aggregators:f,customTools:v,writeVerbs:$e,writeCapableCustoms:x,writeReach:C,writeReachDb:k,readOnly:0===$e,tokenEstimate:Hn.tokens,lazyEngaged:Hn.lazy,effectiveStyle:t}}function Et(n,a,t){const o=It(a,t,"db");return{on:o.filter(i=>ce(a,i.name,n)).map(i=>i.name),total:o.length}}function $t(n,a,t){return"merged"===n?t:ne(a,t)}function Tn(n,a,t=yn){const o=n*t,i=Me.length*t,r="on"===a||"auto"===a&&o>Ze;return{count:n,bytes:o,facadeBytes:i,lazy:r,tokens:Sn(r,o,i),source:"estimate"}}function Sn(n,a,t){return Math.round((n?t:a)/4)}function Rn(n){return n>=1e3?`~${(n/1e3).toFixed(1)}k`:`~${n}`}function de(n){return`${(n/1024).toFixed(n<10240?1:0)} KB`}function Gt(n){return{...n,exposedServices:[...n.exposedServices],disabledTools:new Set(n.disabledTools),redirectUris:[...n.redirectUris],customTools:(n.customTools??[]).map(a=>({...a})),rest:{...n.rest}}}function In(n){return JSON.stringify({e:[...n.exposedServices],d:[...n.disabledTools].sort(),s:n.toolStyle,l:n.lazyMode,k:n.allowApiKeyAuth,w:n.allowWrites,rr:n.requireRoleAccess,ci:n.oauthClientId,cs:n.oauthClientSecret,lu:n.customLoginUrl,ao:n.autoOauthService,r:[...n.redirectUris],ct:n.customTools})}class En{constructor(){this.draftName="",this.draftLabel="",this.draftDescription="",this.draftIsActive=!0,this._version=0,this.memoVersion=-1,this.memo={},this._backendServices=[],this.backendLoaded=!1,this.created=!1,this.checklistDismissed=!1,this.copiedUrl=!1,this.copiedClient=!1,this.reconnectBanner=!1,this.createdApiKey=null,this.changes=new xe.B,this.health=null,this.healthChecked=!1,this.serverCatalog=null,this.previewIdentity={},this.reloadServerCatalog=()=>{}}get version(){return this._version}memoFor(){return this.memoVersion!==this._version&&(this.memo={},this.memoVersion=this._version),this.memo}get backendServices(){return this._backendServices}set backendServices(a){this._backendServices=a,this.touch()}setPreviewIdentity(a){this.previewIdentity={...a},this.serverCatalog=null,this.touch(),this.reloadServerCatalog()}setServerCatalog(a){this.serverCatalog=a,this.touch()}init(a,t){this.service=a,this.cfg=wt(t),this.savedCfg=Gt(this.cfg),this.draftName=a.name,this.draftLabel=a.label,this.draftDescription=a.description,this.draftIsActive=a.isActive,this.created=!1,this.checklistDismissed=!1,this.copiedUrl=!1,this.copiedClient=!1,this.reconnectBanner=!1,this.createdApiKey=null,this.touch()}get isSystemMcp(){return"system_mcp"===this.service?.type}touch(){this._version++,this.changes.next()}dirty(){return In(this.cfg)!==In(this.savedCfg)||this.draftName!==this.service.name||this.draftLabel!==this.service.label||this.draftDescription!==this.service.description||this.draftIsActive!==this.service.isActive}connectionAffecting(){return this.draftName!==this.service.name||this.cfg.allowApiKeyAuth!==this.savedCfg.allowApiKeyAuth||this.cfg.allowWrites!==this.savedCfg.allowWrites||this.cfg.toolStyle!==this.savedCfg.toolStyle||this.cfg.oauthClientSecret!==this.savedCfg.oauthClientSecret||JSON.stringify(this.cfg.redirectUris)!==JSON.stringify(this.savedCfg.redirectUris)}markSaved(){this.savedCfg=Gt(this.cfg),this.service.name=this.draftName,this.service.label=this.draftLabel,this.service.description=this.draftDescription,this.service.isActive=this.draftIsActive,this.touch()}discard(){this.cfg=Gt(this.savedCfg),this.draftName=this.service.name,this.draftLabel=this.service.label,this.draftDescription=this.service.description,this.draftIsActive=this.service.isActive,this.touch()}effective(){const a=this.memoFor();return a.effective??=ze(this.cfg,this.backendServices)}savedEffective(){const a=this.memoFor();return a.savedEffective??=ze(this.savedCfg,this.backendServices)}totalTools(){const a=this.memoFor();return a.totalTools??=this.isSystemMcp?ie.filter(t=>!this.cfg.disabledTools.has(t.name)).length:this.effective().total}savedTotalTools(){const a=this.memoFor();return a.savedTotalTools??=this.isSystemMcp?ie.filter(t=>!this.savedCfg.disabledTools.has(t.name)).length:this.savedEffective().total}catalogStats(){const a=this.memoFor();return a.catalogStats??=function qd(n,a,t,o){const i=t?.count&&t.bytes?Math.round(t.bytes/t.count):yn,r=Tn(n,a,i);if(!t||o)return r;if(null===t.count)return{...r,facadeBytes:t.bytes,lazy:!0,tokens:Math.round(t.bytes/4),source:"server"};const c=Me.length*i;return{count:t.count,bytes:t.bytes,facadeBytes:c,lazy:t.lazy,tokens:Sn(t.lazy,t.bytes,c),source:"server"}}(this.totalTools(),this.cfg.lazyMode,this.serverCatalog,this.dirty())}rows(){const a=this.memoFor();return a.rows??=Dn(this.cfg,this.backendServices)}fraction(a){return Pn(a,this.cfg.disabledTools)}access(a){return Dt(a,this.cfg.disabledTools)}orphans(){const a=this.memoFor();return a.orphans??=function Ld(n,a,t=[]){const o=new Set([...ye.map(s=>s.verb),...Pt.map(s=>s.verb),...(n.customTools??[]).map(s=>s?.name).filter(Boolean),...t]),i=new Set(a.map(s=>s.name)),r=n.exposedServices.filter(s=>!i.has(s));return[...n.disabledTools].filter(s=>!(s=>o.has(s)||a.some(l=>Xe(s,l.name,l.kind))||r.some(l=>Xe(s,l)))(s))}(this.cfg,this.backendServices,this.isSystemMcp?ie.map(t=>t.name):[])}kindOf(a){return this._backendServices.find(t=>t.name===a)?.kind}isToolEnabled(a,t){return!this.cfg.disabledTools.has(ne(a,t))}setTool(a,t,o){const i=ne(a,t);o?this.cfg.disabledTools.delete(i):this.cfg.disabledTools.add(i),this.touch()}isBareToolEnabled(a){return!this.cfg.disabledTools.has(a)}setBareTool(a,t){t?this.cfg.disabledTools.delete(a):this.cfg.disabledTools.add(a),this.touch()}setServiceFull(a){St(a).forEach(t=>this.cfg.disabledTools.delete(t)),this.touch()}setServiceReadOnly(a){St(a).forEach(t=>this.cfg.disabledTools.delete(t)),Tt(a).forEach(t=>this.cfg.disabledTools.add(t)),this.touch()}exposeServices(a,t){for(const o of a){this.cfg.exposedServices.includes(o)||this.cfg.exposedServices.push(o);const i=this.backendServices.find(r=>r.name===o);!i||"keep"===t||("ro"===t?this.setServiceReadOnly(i):this.setServiceFull(i))}this.touch()}removeService(a,t=!1){if(this.cfg.exposedServices=this.cfg.exposedServices.filter(o=>o!==a),t){const o=this.kindOf(a);for(const i of[...this.cfg.disabledTools])Xe(i,a,o)&&this.cfg.disabledTools.delete(i)}this.touch()}renameExposedEntry(a,t){this.cfg.exposedServices=this.cfg.exposedServices.map(i=>i===a?t:i);const o=this.kindOf(a);for(const i of[...this.cfg.disabledTools])Xe(i,a,o)&&(this.cfg.disabledTools.delete(i),this.cfg.disabledTools.add(t+i.slice(a.length)));this.touch()}makeReadOnly(){for(const a of this.rows())a.svc&&a.svc.active&&this.setServiceReadOnly(a.svc);for(const a of this.cfg.customTools??[])tt(a)&&(a.enabled=!1);this.touch()}dormantCurationCount(a){const t=this.kindOf(a);let o=0;for(const i of this.cfg.disabledTools)Xe(i,a,t)&&o++;return o}}function Wd(n,a){if(1&n){const t=e.RV6();e.j41(0,"div",37),e.EFF(1," \u26a0 This server serves no tools. Agents can connect but can call nothing. "),e.j41(2,"button",38),e.bIt("click",function(){e.eBV(t);const i=e.XpG();return e.Njj(i.goToTab.emit("tools"))}),e.EFF(3," Expose services in Tools. "),e.k0s()()}}function Qd(n,a){if(1&n){const t=e.RV6();e.j41(0,"div",39)(1,"span"),e.EFF(2," Connection details changed \u2014 clients may need to reconnect. The snippets below are updated. "),e.k0s(),e.j41(3,"button",40),e.bIt("click",function(){e.eBV(t);const i=e.XpG();return e.Njj(i.dismissReconnect())}),e.EFF(4," \xd7 "),e.k0s()()}}function Zd(n,a){if(1&n){const t=e.RV6();e.qex(0),e.j41(1,"span"),e.EFF(2),e.j41(3,"button",23),e.bIt("click",function(){e.eBV(t);const i=e.XpG(2);return e.Njj(i.goToTab.emit("tools"))}),e.EFF(4," refine in Tools \u2192 "),e.k0s()(),e.bVm()}if(2&n){const t=e.XpG(2);e.R7$(2),e.SpI(" ",t.exposedSummary," \u2014 ")}}function ep(n,a){if(1&n){const t=e.RV6();e.j41(0,"span")(1,"button",23),e.bIt("click",function(){e.eBV(t);const i=e.XpG(2);return e.Njj(i.goToTab.emit("tools"))}),e.EFF(2," Expose your first service \u2192 Tools. "),e.k0s(),e.EFF(3," 0 services exposed \u2014 agents get global and custom tools only. "),e.j41(4,"b"),e.EFF(5,"Empty never means every service."),e.k0s()()}}function tp(n,a){if(1&n){const t=e.RV6();e.j41(0,"section",41)(1,"div",42)(2,"h2"),e.EFF(3,"Server created \u2014 3 steps to your first tool call"),e.k0s(),e.j41(4,"button",43),e.bIt("click",function(){e.eBV(t);const i=e.XpG();return e.Njj(i.dismissChecklist())}),e.EFF(5," \xd7 "),e.k0s()(),e.j41(6,"ol",44)(7,"li")(8,"span",45),e.EFF(9),e.k0s(),e.j41(10,"span"),e.EFF(11,"Copy your endpoint URL"),e.k0s()(),e.j41(12,"li")(13,"span",45),e.EFF(14),e.k0s(),e.j41(15,"span"),e.EFF(16,"Add it to a client below"),e.k0s()(),e.j41(17,"li")(18,"span",45),e.EFF(19),e.k0s(),e.DNE(20,Zd,5,1,"ng-container",27),e.DNE(21,ep,6,0,"ng-template",null,46,e.C5r),e.k0s()()()}if(2&n){const t=e.sdS(22),o=e.XpG();e.R7$(7),e.AVh("done",o.store.copiedUrl),e.R7$(2),e.JRh(o.store.copiedUrl?"\u2713":"1"),e.R7$(3),e.AVh("done",o.store.copiedClient),e.R7$(2),e.JRh(o.store.copiedClient?"\u2713":"2"),e.R7$(3),e.AVh("done",o.step3Done),e.R7$(2),e.JRh(o.step3Done?"\u2713":"3"),e.R7$(1),e.Y8G("ngIf",o.step3Done)("ngIfElse",t)}}function np(n,a){1&n&&(e.j41(0,"p",47),e.EFF(1," This client needs a redirect URI \u2014 add Claude's callback below or in Settings. "),e.k0s())}const op=function(){return["/api-connections/api-keys"]};function ip(n,a){1&n&&(e.qex(0),e.j41(1,"p"),e.EFF(2," Any DreamFactory API key whose role grants access to the exposed services can connect. "),e.j41(3,"a",48),e.EFF(4," Manage API keys \u2192 "),e.k0s()(),e.j41(5,"p",21),e.EFF(6," The URL plus any valid key grants access \u2014 treat the pair like a password. "),e.k0s(),e.bVm()),2&n&&(e.R7$(3),e.Y8G("routerLink",e.lJ4(1,op)))}function ap(n,a){if(1&n){const t=e.RV6();e.j41(0,"p"),e.EFF(1," API-key auth is off \u2014 enable it in "),e.j41(2,"button",23),e.bIt("click",function(){e.eBV(t);const i=e.XpG();return e.Njj(i.goToTab.emit("settings"))}),e.EFF(3," Settings \u2192 Authentication"),e.k0s(),e.EFF(4,". "),e.k0s()}}function rp(n,a){if(1&n){const t=e.RV6();e.j41(0,"button",49),e.bIt("click",function(){const r=e.eBV(t).$implicit,c=e.XpG();return e.Njj(c.selectClient(r.id))}),e.EFF(1),e.k0s()}if(2&n){const t=a.$implicit,o=e.XpG();e.AVh("on",o.selectedClient===t.id),e.BMQ("data-testid","mcp-client-chip-"+t.id),e.R7$(1),e.SpI(" ",t.label," ")}}function cp(n,a){if(1&n){const t=e.RV6();e.j41(0,"div",50)(1,"span"),e.EFF(2,"Connect with:"),e.k0s(),e.j41(3,"button",51),e.bIt("click",function(){e.eBV(t);const i=e.XpG();return e.Njj(i.setAuthVariant("oauth"))}),e.EFF(4," OAuth "),e.k0s(),e.j41(5,"button",51),e.bIt("click",function(){e.eBV(t);const i=e.XpG();return e.Njj(i.setAuthVariant("apikey"))}),e.EFF(6," API key "),e.k0s()()}if(2&n){const t=e.XpG();e.R7$(3),e.AVh("on","oauth"===t.authVariant),e.R7$(2),e.AVh("on","apikey"===t.authVariant)}}function sp(n,a){1&n&&(e.j41(0,"p",21),e.EFF(1," Claude connectors sign in with OAuth \u2014 API keys don't apply here. "),e.k0s())}function lp(n,a){if(1&n){const t=e.RV6();e.qex(0),e.j41(1,"h3",13),e.EFF(2,"Claude \u2014 add a custom connector"),e.k0s(),e.j41(3,"ol",52)(4,"li"),e.EFF(5,"Settings \u2192 Connectors \u2192 Add custom connector."),e.k0s(),e.j41(6,"li"),e.EFF(7," Remote MCP server URL: "),e.j41(8,"code",53),e.EFF(9),e.k0s(),e.j41(10,"button",18),e.bIt("click",function(){e.eBV(t);const i=e.XpG();return e.Njj(i.copyForClient(i.mcpUrl,!0))}),e.EFF(11," Copy "),e.k0s()(),e.j41(12,"li"),e.EFF(13," Advanced settings \u2192 paste the OAuth Client ID and Client Secret from above. "),e.j41(14,"button",18),e.bIt("click",function(){e.eBV(t);const i=e.XpG();return e.Njj(i.copyClientId())}),e.EFF(15," Copy ID "),e.k0s(),e.j41(16,"button",18),e.bIt("click",function(){e.eBV(t);const i=e.XpG();return e.Njj(i.copySecret())}),e.EFF(17," Copy secret "),e.k0s()(),e.j41(18,"li"),e.EFF(19," Allow Claude's callback: "),e.j41(20,"code",53),e.EFF(21),e.k0s(),e.j41(22,"button",54),e.bIt("click",function(){e.eBV(t);const i=e.XpG();return e.Njj(i.addClaudeCallback())}),e.EFF(23),e.k0s()(),e.j41(24,"li"),e.EFF(25,"Connect and sign in with DreamFactory."),e.k0s()(),e.DNE(26,sp,2,0,"p",55),e.bVm()}if(2&n){const t=e.XpG();e.R7$(9),e.JRh(t.mcpUrl),e.R7$(12),e.JRh(t.claudeCallback),e.R7$(1),e.Y8G("disabled",t.claudeCallbackAdded),e.R7$(1),e.SpI(" ",t.claudeCallbackAdded?"\u2713 In redirect URIs":"+ Add to redirect URIs"," "),e.R7$(3),e.Y8G("ngIf",t.bothAuthOn)}}function dp(n,a){1&n&&(e.j41(0,"p",21),e.EFF(1," Claude Code opens a browser to sign in with OAuth on first use. "),e.k0s())}function pp(n,a){if(1&n&&e.eu8(0,59),2&n){e.XpG(2);const t=e.sdS(76);e.Y8G("ngTemplateOutlet",t)}}function mp(n,a){if(1&n){const t=e.RV6();e.qex(0),e.j41(1,"h3",13),e.EFF(2,"Claude Code"),e.k0s(),e.j41(3,"p"),e.EFF(4,"Run in your terminal:"),e.k0s(),e.j41(5,"div",56)(6,"pre")(7,"code"),e.EFF(8),e.k0s()(),e.j41(9,"button",57),e.bIt("click",function(){e.eBV(t);const i=e.XpG();return e.Njj(i.copyForClient(i.claudeCodeSnippet))}),e.EFF(10," Copy "),e.k0s()(),e.DNE(11,dp,2,0,"p",55),e.DNE(12,pp,1,1,"ng-container",58),e.bVm()}if(2&n){const t=e.XpG();e.R7$(8),e.JRh(t.claudeCodeSnippet),e.R7$(3),e.Y8G("ngIf",!t.keyMode),e.R7$(1),e.Y8G("ngIf",t.keyMode)}}function _p(n,a){1&n&&(e.j41(0,"p",21),e.EFF(1," Cursor opens a browser to sign in with OAuth on first use. "),e.k0s())}function gp(n,a){if(1&n&&e.eu8(0,59),2&n){e.XpG(2);const t=e.sdS(76);e.Y8G("ngTemplateOutlet",t)}}function fp(n,a){if(1&n){const t=e.RV6();e.qex(0),e.j41(1,"h3",13),e.EFF(2,"Cursor"),e.k0s(),e.j41(3,"p"),e.EFF(4," Add to "),e.j41(5,"code",53),e.EFF(6,".cursor/mcp.json"),e.k0s(),e.EFF(7," (project) or "),e.j41(8,"code",53),e.EFF(9,"~/.cursor/mcp.json"),e.k0s(),e.EFF(10," (global): "),e.k0s(),e.j41(11,"div",56)(12,"pre")(13,"code"),e.EFF(14),e.k0s()(),e.j41(15,"button",57),e.bIt("click",function(){e.eBV(t);const i=e.XpG();return e.Njj(i.copyForClient(i.cursorSnippet))}),e.EFF(16," Copy "),e.k0s()(),e.DNE(17,_p,2,0,"p",55),e.DNE(18,gp,1,1,"ng-container",58),e.bVm()}if(2&n){const t=e.XpG();e.R7$(14),e.JRh(t.cursorSnippet),e.R7$(3),e.Y8G("ngIf",!t.keyMode),e.R7$(1),e.Y8G("ngIf",t.keyMode)}}function up(n,a){1&n&&(e.j41(0,"p",21),e.EFF(1," VS Code opens a browser to sign in with OAuth on first use. "),e.k0s())}function hp(n,a){if(1&n&&e.eu8(0,59),2&n){e.XpG(2);const t=e.sdS(76);e.Y8G("ngTemplateOutlet",t)}}function bp(n,a){if(1&n){const t=e.RV6();e.qex(0),e.j41(1,"h3",13),e.EFF(2,"VS Code"),e.k0s(),e.j41(3,"p"),e.EFF(4,"One-liner:"),e.k0s(),e.j41(5,"div",56)(6,"pre")(7,"code"),e.EFF(8),e.k0s()(),e.j41(9,"button",57),e.bIt("click",function(){e.eBV(t);const i=e.XpG();return e.Njj(i.copyForClient(i.vscodeSnippet))}),e.EFF(10," Copy "),e.k0s()(),e.DNE(11,up,2,0,"p",55),e.DNE(12,hp,1,1,"ng-container",58),e.bVm()}if(2&n){const t=e.XpG();e.R7$(8),e.JRh(t.vscodeSnippet),e.R7$(3),e.Y8G("ngIf",!t.keyMode),e.R7$(1),e.Y8G("ngIf",t.keyMode)}}function vp(n,a){1&n&&(e.j41(0,"p",21),e.EFF(1," ChatGPT connectors sign in with OAuth \u2014 API keys don't apply here. "),e.k0s())}function xp(n,a){if(1&n){const t=e.RV6();e.qex(0),e.j41(1,"h3",13),e.EFF(2,"ChatGPT \u2014 add a connector"),e.k0s(),e.j41(3,"ol",52)(4,"li"),e.EFF(5,"Settings \u2192 Connectors \u2192 Create."),e.k0s(),e.j41(6,"li"),e.EFF(7," MCP server URL: "),e.j41(8,"code",53),e.EFF(9),e.k0s(),e.j41(10,"button",18),e.bIt("click",function(){e.eBV(t);const i=e.XpG();return e.Njj(i.copyForClient(i.mcpUrl,!0))}),e.EFF(11," Copy "),e.k0s()(),e.j41(12,"li"),e.EFF(13," Authentication: OAuth \u2014 ChatGPT discovers the sign-in flow from the server. "),e.k0s(),e.j41(14,"li"),e.EFF(15,"Create, then connect and sign in with DreamFactory."),e.k0s()(),e.DNE(16,vp,2,0,"p",55),e.bVm()}if(2&n){const t=e.XpG();e.R7$(9),e.JRh(t.mcpUrl),e.R7$(7),e.Y8G("ngIf",t.bothAuthOn)}}function Cp(n,a){if(1&n){const t=e.RV6();e.qex(0),e.j41(1,"h3",13),e.EFF(2,"Generic JSON"),e.k0s(),e.j41(3,"p"),e.EFF(4," For any MCP client that reads an "),e.j41(5,"code",53),e.EFF(6,"mcpServers"),e.k0s(),e.EFF(7," block: "),e.k0s(),e.j41(8,"div",56)(9,"pre")(10,"code"),e.EFF(11),e.k0s()(),e.j41(12,"button",57),e.bIt("click",function(){e.eBV(t);const i=e.XpG();return e.Njj(i.copyForClient(i.genericSnippet))}),e.EFF(13," Copy "),e.k0s()(),e.j41(14,"p",21),e.EFF(15," Check reachability: "),e.j41(16,"code",53),e.EFF(17),e.k0s(),e.j41(18,"button",18),e.bIt("click",function(){e.eBV(t);const i=e.XpG();return e.Njj(i.copyForClient(i.genericCurl))}),e.EFF(19," Copy "),e.k0s(),e.EFF(20," \u2014 a 401 challenge here means healthy auth. "),e.k0s(),e.bVm()}if(2&n){const t=e.XpG();e.R7$(11),e.JRh(t.genericSnippet),e.R7$(6),e.JRh(t.genericCurl)}}function kp(n,a){1&n&&(e.j41(0,"p",21),e.EFF(1," Replace YOUR_API_KEY with a DreamFactory API key whose role grants access to the exposed services. "),e.k0s())}function yp(n,a){1&n&&(e.j41(0,"p",61),e.EFF(1," Filled with the API key you just created on the Tools tab \u2014 it is not shown again after you leave this page. "),e.k0s())}function Mp(n,a){if(1&n&&(e.DNE(0,kp,2,0,"p",55),e.DNE(1,yp,2,0,"p",60)),2&n){const t=e.XpG();e.Y8G("ngIf",!t.store.createdApiKey),e.R7$(1),e.Y8G("ngIf",t.store.createdApiKey)}}const Op=function(n){return["/api-connections/api-docs",n]},jt="https://claude.ai/api/mcp/auth_callback",$n="X-DreamFactory-API-Key",Gn=new Set(["claude-code","cursor","vscode","json"]);let wp=(()=>{class n{constructor(t){this.snackbarService=t,this.goToTab=new e.bkB,this.claudeCallback=jt,this.clients=[{id:"claude",label:"Claude"},{id:"claude-code",label:"Claude Code"},{id:"cursor",label:"Cursor"},{id:"vscode",label:"VS Code"},{id:"chatgpt",label:"ChatGPT"},{id:"json",label:"Generic JSON"}],this.probe="pending",this.secretRevealed=!1,this.selectedClient="claude",this.authVariant="oauth",this.autoDismissTimer=null}ngOnInit(){this.restoreClientChoice(),this.runProbe()}ngOnChanges(t){t.mcpUrl&&!t.mcpUrl.firstChange&&(this.probe="pending",this.secretRevealed=!1,this.authVariant="oauth",this.restoreClientChoice(),this.runProbe())}runProbe(){const t=this.mcpUrl;fetch(t,{method:"GET"}).then(o=>{t===this.mcpUrl&&(this.probe=401===o.status||403===o.status?"auth":"open")}).catch(()=>{t===this.mcpUrl&&(this.probe="unknown")})}ngOnDestroy(){this.autoDismissTimer&&clearTimeout(this.autoDismissTimer)}get zeroTools(){return(this.store.isSystemMcp||this.store.backendLoaded)&&0===this.store.totalTools()}get checklistVisible(){return this.store.created&&!this.store.checklistDismissed}get exposedCount(){return this.store.cfg.exposedServices.length}get step3Done(){return this.exposedCount>0}get exposedSummary(){const t=this.exposedCount,o=this.store.effective();return`${t} ${1===t?"service":"services"} exposed (${o.total} tools${o.readOnly?", read-only":""})`}dismissChecklist(){this.store.checklistDismissed=!0,this.store.touch()}maybeAutoDismiss(){!this.checklistVisible||this.autoDismissTimer||this.store.copiedUrl&&this.store.copiedClient&&this.step3Done&&(this.autoDismissTimer=setTimeout(()=>{this.store.checklistDismissed=!0,this.store.touch()},1500))}dismissReconnect(){this.store.reconnectBanner=!1,this.store.touch()}doCopy(t){try{navigator.clipboard?.writeText(t)?.catch(()=>{})}catch{}this.snackbarService.openSnackBar("Copied.","success")}copyEndpointUrl(){this.doCopy(this.mcpUrl),this.store.copiedUrl=!0,this.store.touch(),this.maybeAutoDismiss()}copyForClient(t,o=!1){this.doCopy(t),this.store.copiedClient=!0,o&&(this.store.copiedUrl=!0),this.store.touch(),this.maybeAutoDismiss()}copyClientId(){this.copyForClient(this.store.cfg.oauthClientId)}copySecret(){this.copyForClient(this.store.cfg.oauthClientSecret)}get secretDisplay(){return this.secretRevealed?this.store.cfg.oauthClientSecret||"\u2014":this.store.cfg.oauthClientSecret?"\u2022\u2022\u2022\u2022\u2022\u2022\u2022\u2022\u2022\u2022\u2022\u2022\u2022\u2022\u2022\u2022":"\u2014"}toggleSecret(){this.secretRevealed=!this.secretRevealed}regenerateSecret(){window.confirm("Clients using the old secret will stop connecting. Regenerate?")&&(this.store.cfg.oauthClientSecret=function Fp(){const n=new Uint8Array(32),a=globalThis.crypto;if(a?.getRandomValues)a.getRandomValues(n);else for(let t=0;tt.toString(16).padStart(2,"0")).join("")}(),this.store.touch(),this.snackbarService.openSnackBar("New client secret generated \u2014 save to apply.","success"))}get clientChoiceKey(){return"df-mcp-connect-client."+(this.store.service?.name??"")}restoreClientChoice(){try{const t=localStorage.getItem(this.clientChoiceKey);t&&this.clients.some(o=>o.id===t)&&(this.selectedClient=t)}catch{}}selectClient(t){this.selectedClient=t;try{localStorage.setItem(this.clientChoiceKey,t)}catch{}}get bothAuthOn(){return this.store.cfg.allowApiKeyAuth}get showAuthToggle(){return this.bothAuthOn&&Gn.has(this.selectedClient)}setAuthVariant(t){this.authVariant=t}get keyMode(){return this.bothAuthOn&&"apikey"===this.authVariant&&Gn.has(this.selectedClient)}get serviceName(){return this.store.service?.name??""}get origin(){return this.mcpUrl.replace(/\/mcp\/[^/]*\/?$/,"")}get legacyAlias(){return`${this.origin}/api/v2/${this.serviceName}/_mcp`}get claudeCallbackAdded(){return this.store.cfg.redirectUris.includes(jt)}get needsRedirectPrompt(){return("claude"===this.selectedClient||"chatgpt"===this.selectedClient)&&0===this.store.cfg.redirectUris.length}addClaudeCallback(){this.claudeCallbackAdded||(this.store.cfg.redirectUris.push(jt),this.store.touch(),this.snackbarService.openSnackBar("Added Claude's callback to redirect URIs \u2014 save to apply.","success"))}get apiKeyValue(){return this.store.createdApiKey??"YOUR_API_KEY"}get claudeCodeSnippet(){const t=`claude mcp add --transport http ${this.serviceName} ${this.mcpUrl}`;return this.keyMode?`${t} --header "${$n}: ${this.apiKeyValue}"`:t}serverEntry(t){const o=t?{type:"http",url:this.mcpUrl}:{url:this.mcpUrl};return this.keyMode&&(o.headers={[$n]:this.apiKeyValue}),o}get cursorSnippet(){return JSON.stringify({mcpServers:{[this.serviceName]:this.serverEntry(!1)}},null,2)}get vscodeSnippet(){const t={name:this.serviceName,...this.serverEntry(!0)};return`code --add-mcp '${JSON.stringify(t)}'`}get genericSnippet(){return`${JSON.stringify({mcpServers:{[this.serviceName]:this.serverEntry(!0)}},null,2)}\n// Legacy alias (same server): ${this.legacyAlias}`}get genericCurl(){return`curl -i ${this.mcpUrl}`}static{this.\u0275fac=function(o){return new(o||n)(e.rXU(pe.L))}}static{this.\u0275cmp=e.VBU({type:n,selectors:[["df-mcp-connect"]],inputs:{store:"store",mcpUrl:"mcpUrl"},outputs:{goToTab:"goToTab"},standalone:!0,features:[e.OA$,e.aNF],decls:77,vars:30,consts:[["data-testid","mcp-connect-tab",1,"mcp-connect"],["class","mcp-zero-banner","data-testid","mcp-connect-zero-banner",4,"ngIf"],["class","mcp-reconnect-banner","data-testid","mcp-reconnect-banner",4,"ngIf"],["class","mcp-card mcp-checklist","data-testid","mcp-checklist",4,"ngIf"],["data-testid","mcp-endpoint-card",1,"mcp-card","mcp-endpoint"],[1,"mcp-endpoint-row"],["data-testid","mcp-endpoint-url",1,"mcp-endpoint-url"],["mat-stroked-button","","type","button","data-testid","mcp-endpoint-copy",3,"click"],[1,"mcp-endpoint-sub"],["data-testid","mcp-probe-chip",1,"mcp-chip",3,"matTooltip"],[1,"mcp-section-title"],[1,"mcp-auth-grid"],["data-testid","mcp-oauth-card",1,"mcp-card"],[1,"mcp-card-title"],[1,"mcp-chip","good"],[1,"mcp-cred-row"],[1,"mcp-cred-label"],[1,"mcp-cred-value"],["mat-button","","type","button",3,"click"],["mat-button","","type","button","data-testid","mcp-secret-reveal",3,"click"],["mat-stroked-button","","type","button","data-testid","mcp-secret-regenerate",1,"mcp-regenerate",3,"click"],[1,"mcp-caption"],[1,"mcp-redirects-line"],["type","button",1,"mcp-link",3,"click"],["class","mcp-redirect-prompt","data-testid","mcp-redirect-jump-prompt",4,"ngIf"],["data-testid","mcp-apikey-card",1,"mcp-card"],[1,"mcp-chip"],[4,"ngIf","ngIfElse"],["apiKeyOff",""],[1,"mcp-client-chips"],["type","button","class","mcp-client-chip",3,"on","click",4,"ngFor","ngForOf"],["class","mcp-auth-toggle",4,"ngIf"],["data-testid","mcp-client-panel",1,"mcp-card","mcp-client-panel",3,"ngSwitch"],[4,"ngSwitchCase"],[1,"mcp-connect-footer"],[1,"mcp-link","mcp-docs-link",3,"routerLink"],["keyCaption",""],["data-testid","mcp-connect-zero-banner",1,"mcp-zero-banner"],["type","button","data-testid","mcp-connect-zero-link",1,"mcp-link",3,"click"],["data-testid","mcp-reconnect-banner",1,"mcp-reconnect-banner"],["type","button","aria-label","Dismiss",1,"mcp-x",3,"click"],["data-testid","mcp-checklist",1,"mcp-card","mcp-checklist"],[1,"mcp-checklist-head"],["type","button","data-testid","mcp-checklist-dismiss","aria-label","Dismiss checklist",1,"mcp-x",3,"click"],[1,"mcp-checklist-steps"],[1,"mcp-step-mark"],["exposePrompt",""],["data-testid","mcp-redirect-jump-prompt",1,"mcp-redirect-prompt"],[1,"mcp-link",3,"routerLink"],["type","button",1,"mcp-client-chip",3,"click"],[1,"mcp-auth-toggle"],["type","button",3,"click"],[1,"mcp-steps"],[1,"mcp-inline-code"],["mat-stroked-button","","type","button","data-testid","mcp-add-redirect",3,"disabled","click"],["class","mcp-caption",4,"ngIf"],[1,"mcp-snippet-block"],["mat-stroked-button","","type","button",3,"click"],[3,"ngTemplateOutlet",4,"ngIf"],[3,"ngTemplateOutlet"],["class","mcp-caption","data-testid","mcp-created-key-caption",4,"ngIf"],["data-testid","mcp-created-key-caption",1,"mcp-caption"]],template:function(o,i){if(1&o&&(e.j41(0,"div",0),e.DNE(1,Wd,4,0,"div",1),e.DNE(2,Qd,5,0,"div",2),e.DNE(3,tp,23,11,"section",3),e.j41(4,"section",4)(5,"div",5)(6,"code",6),e.EFF(7),e.k0s(),e.j41(8,"button",7),e.bIt("click",function(){return i.copyEndpointUrl()}),e.EFF(9," Copy "),e.k0s()(),e.j41(10,"div",8)(11,"span"),e.EFF(12,"Streamable HTTP \xb7 MCP 2025-03-26"),e.k0s(),e.j41(13,"span",9),e.EFF(14),e.k0s()()(),e.j41(15,"h2",10),e.EFF(16,"Authentication"),e.k0s(),e.j41(17,"div",11)(18,"section",12)(19,"h3",13),e.EFF(20," OAuth 2.1 "),e.j41(21,"span",14),e.EFF(22,"always on"),e.k0s()(),e.j41(23,"div",15)(24,"span",16),e.EFF(25,"Client ID"),e.k0s(),e.j41(26,"code",17),e.EFF(27),e.k0s(),e.j41(28,"button",18),e.bIt("click",function(){return i.copyClientId()}),e.EFF(29,"Copy"),e.k0s()(),e.j41(30,"div",15)(31,"span",16),e.EFF(32,"Client secret"),e.k0s(),e.j41(33,"code",17),e.EFF(34),e.k0s(),e.j41(35,"button",19),e.bIt("click",function(){return i.toggleSecret()}),e.EFF(36),e.k0s(),e.j41(37,"button",18),e.bIt("click",function(){return i.copySecret()}),e.EFF(38,"Copy"),e.k0s()(),e.j41(39,"button",20),e.bIt("click",function(){return i.regenerateSecret()}),e.EFF(40," Regenerate\u2026 "),e.k0s(),e.j41(41,"p",21),e.EFF(42," These match the URL, Client ID, and Client Secret fields in your client's add-connector dialog. "),e.k0s(),e.j41(43,"p",22),e.EFF(44),e.j41(45,"button",23),e.bIt("click",function(){return i.goToTab.emit("settings")}),e.EFF(46," Manage \u2192 "),e.k0s()(),e.DNE(47,np,2,0,"p",24),e.k0s(),e.j41(48,"section",25)(49,"h3",13),e.EFF(50," API key "),e.j41(51,"span",26),e.EFF(52),e.k0s()(),e.DNE(53,ip,7,2,"ng-container",27),e.DNE(54,ap,5,0,"ng-template",null,28,e.C5r),e.k0s()(),e.j41(56,"h2",10),e.EFF(57,"Connect a client"),e.k0s(),e.j41(58,"div",29),e.DNE(59,rp,2,4,"button",30),e.k0s(),e.DNE(60,cp,7,4,"div",31),e.j41(61,"section",32),e.DNE(62,lp,27,5,"ng-container",33),e.DNE(63,mp,13,3,"ng-container",33),e.DNE(64,fp,19,3,"ng-container",33),e.DNE(65,bp,13,3,"ng-container",33),e.DNE(66,xp,17,2,"ng-container",33),e.DNE(67,Cp,21,2,"ng-container",33),e.k0s(),e.j41(68,"footer",34)(69,"p"),e.EFF(70," Roles further filter tools per caller at runtime \u2014 this page sets the server-wide maximum. "),e.j41(71,"button",23),e.bIt("click",function(){return i.goToTab.emit("tools")}),e.EFF(72," Preview in Tools. "),e.k0s()(),e.j41(73,"a",35),e.EFF(74," \u25b8 Also available: REST endpoint & API Docs "),e.k0s()()(),e.DNE(75,Mp,2,2,"ng-template",null,36,e.C5r)),2&o){const r=e.sdS(55);e.R7$(1),e.Y8G("ngIf",i.zeroTools),e.R7$(1),e.Y8G("ngIf",i.store.reconnectBanner),e.R7$(1),e.Y8G("ngIf",i.checklistVisible),e.R7$(4),e.JRh(i.mcpUrl),e.R7$(6),e.AVh("good","auth"===i.probe),e.Y8G("matTooltip","auth"===i.probe?"The endpoint answered with the expected sign-in challenge.":"open"===i.probe?"The endpoint answered, but not with the expected sign-in challenge.":""),e.R7$(1),e.SpI(" ","auth"===i.probe?"\u2713 Reachable \u2014 auth enforced":"open"===i.probe?"Reachable":"\u2014"," "),e.R7$(13),e.JRh(i.store.cfg.oauthClientId||"\u2014"),e.R7$(7),e.JRh(i.secretDisplay),e.R7$(2),e.SpI(" ",i.secretRevealed?"Hide":"Reveal"," "),e.R7$(8),e.SpI(" Redirect URIs: ",i.store.cfg.redirectUris.length," \xb7 "),e.R7$(3),e.Y8G("ngIf",i.needsRedirectPrompt),e.R7$(4),e.AVh("good",i.store.cfg.allowApiKeyAuth),e.R7$(1),e.SpI(" ",i.store.cfg.allowApiKeyAuth?"on":"off"," "),e.R7$(1),e.Y8G("ngIf",i.store.cfg.allowApiKeyAuth)("ngIfElse",r),e.R7$(6),e.Y8G("ngForOf",i.clients),e.R7$(1),e.Y8G("ngIf",i.showAuthToggle),e.R7$(1),e.Y8G("ngSwitch",i.selectedClient),e.R7$(1),e.Y8G("ngSwitchCase","claude"),e.R7$(1),e.Y8G("ngSwitchCase","claude-code"),e.R7$(1),e.Y8G("ngSwitchCase","cursor"),e.R7$(1),e.Y8G("ngSwitchCase","vscode"),e.R7$(1),e.Y8G("ngSwitchCase","chatgpt"),e.R7$(1),e.Y8G("ngSwitchCase","json"),e.R7$(6),e.Y8G("routerLink",e.eq3(28,Op,i.store.service.name))}},dependencies:[d.MD,d.Sq,d.bT,d.T3,d.ux,d.e1,N.iI,N.Wk,u.Hl,u.$z,S.uc,S.oV],styles:[".mcp-connect[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:14px;max-width:980px}.mcp-card[_ngcontent-%COMP%]{background:var(--df-surface);border:1px solid color-mix(in srgb,var(--df-text) 8%,transparent);border-radius:10px;padding:16px 18px}.mcp-card[_ngcontent-%COMP%] .mcp-card-title[_ngcontent-%COMP%]{display:flex;align-items:center;gap:8px;font-size:14.5px;font-weight:700;margin:0 0 10px}.mcp-section-title[_ngcontent-%COMP%]{font-size:12.5px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;opacity:.6;margin:6px 0 -4px}.mcp-chip[_ngcontent-%COMP%]{display:inline-flex;align-items:center;gap:5px;padding:2px 9px;border-radius:999px;font-size:12px;font-weight:600;border:1px solid color-mix(in srgb,var(--df-text) 14%,transparent);background:color-mix(in srgb,var(--df-text) 2%,transparent);white-space:nowrap}.mcp-chip.good[_ngcontent-%COMP%]{background:var(--df-success-soft);border-color:color-mix(in srgb,var(--df-success) 35%,transparent);color:var(--df-success)}.mcp-chip.warn[_ngcontent-%COMP%]{background:var(--df-warning-soft);border-color:color-mix(in srgb,var(--df-warning) 40%,transparent);color:var(--df-warning)}.mcp-chip.primary[_ngcontent-%COMP%]{background:color-mix(in srgb,var(--df-accent) 10%,transparent);border-color:color-mix(in srgb,var(--df-accent) 38%,transparent);color:var(--df-accent)}.mcp-reconnect-banner[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:space-between;gap:12px;background:var(--df-warning-soft);border:1px solid color-mix(in srgb,var(--df-warning) 40%,transparent);color:var(--df-warning);border-radius:10px;padding:10px 14px;font-size:13.5px;font-weight:500}.mcp-x[_ngcontent-%COMP%]{background:none;border:none;cursor:pointer;font:inherit;font-size:18px;line-height:1;padding:2px 6px;border-radius:6px;color:inherit;opacity:.7}.mcp-x[_ngcontent-%COMP%]:hover{opacity:1;background:color-mix(in srgb,var(--df-text) 5%,transparent)}.mcp-zero-banner[_ngcontent-%COMP%]{background:var(--df-warning-soft);border:1px solid color-mix(in srgb,var(--df-warning) 40%,transparent);color:var(--df-warning);border-radius:10px;padding:10px 14px;font-size:13px;font-weight:600;margin-bottom:14px}.mcp-zero-banner[_ngcontent-%COMP%] .mcp-link[_ngcontent-%COMP%]{font-weight:600}.mcp-checklist[_ngcontent-%COMP%]{border-color:color-mix(in srgb,var(--df-accent) 38%,transparent)}.mcp-checklist[_ngcontent-%COMP%] .mcp-checklist-head[_ngcontent-%COMP%]{display:flex;align-items:flex-start;justify-content:space-between;gap:10px}.mcp-checklist[_ngcontent-%COMP%] .mcp-checklist-head[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{font-size:15px;font-weight:700;margin:0 0 8px}.mcp-checklist[_ngcontent-%COMP%] .mcp-checklist-steps[_ngcontent-%COMP%]{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:7px}.mcp-checklist[_ngcontent-%COMP%] .mcp-checklist-steps[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{display:flex;align-items:flex-start;gap:9px;font-size:13.5px}.mcp-checklist[_ngcontent-%COMP%] .mcp-checklist-steps[_ngcontent-%COMP%] li.done[_ngcontent-%COMP%]{color:var(--df-success)}.mcp-checklist[_ngcontent-%COMP%] .mcp-checklist-steps[_ngcontent-%COMP%] li.done[_ngcontent-%COMP%] .mcp-step-mark[_ngcontent-%COMP%]{background:var(--df-success);border-color:var(--df-success);color:var(--df-accent-contrast)}.mcp-checklist[_ngcontent-%COMP%] .mcp-checklist-steps[_ngcontent-%COMP%] .mcp-step-mark[_ngcontent-%COMP%]{flex:none;box-sizing:border-box;width:18px;height:18px;margin-top:1px;border:1.5px solid color-mix(in srgb,var(--df-accent) 55%,transparent);border-radius:50%;font-size:11px;font-weight:700;line-height:15px;text-align:center}.mcp-endpoint[_ngcontent-%COMP%] .mcp-endpoint-row[_ngcontent-%COMP%]{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.mcp-endpoint[_ngcontent-%COMP%] .mcp-endpoint-url[_ngcontent-%COMP%]{font-size:16px;font-weight:600;background:color-mix(in srgb,var(--df-text) 3.5%,transparent);border:1px solid color-mix(in srgb,var(--df-text) 8%,transparent);border-radius:7px;padding:7px 12px;overflow-x:auto;max-width:100%}.mcp-endpoint[_ngcontent-%COMP%] .mcp-endpoint-sub[_ngcontent-%COMP%]{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-top:9px;font-size:12.5px;opacity:.85}.mcp-auth-grid[_ngcontent-%COMP%]{display:grid;grid-template-columns:1fr 1fr;gap:14px;align-items:start}.mcp-auth-grid[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{font-size:13.5px;margin:0 0 8px}.mcp-cred-row[_ngcontent-%COMP%]{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-bottom:6px;font-size:13px}.mcp-cred-row[_ngcontent-%COMP%] .mcp-cred-label[_ngcontent-%COMP%]{flex:none;width:92px;font-weight:600;opacity:.75}.mcp-cred-row[_ngcontent-%COMP%] .mcp-cred-value[_ngcontent-%COMP%]{background:color-mix(in srgb,var(--df-text) 3.5%,transparent);border:1px solid color-mix(in srgb,var(--df-text) 8%,transparent);border-radius:6px;padding:3px 8px;font-size:12.5px;max-width:240px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mcp-regenerate[_ngcontent-%COMP%]{margin:4px 0 6px}.mcp-caption[_ngcontent-%COMP%]{font-size:12.5px;opacity:.7;margin:8px 0 0}.mcp-redirects-line[_ngcontent-%COMP%]{font-size:13px;margin:10px 0 0}.mcp-redirect-prompt[_ngcontent-%COMP%]{font-size:12.5px;font-weight:600;color:var(--df-warning);margin:6px 0 0}.mcp-client-chips[_ngcontent-%COMP%]{display:flex;gap:8px;flex-wrap:wrap}.mcp-client-chip[_ngcontent-%COMP%]{cursor:pointer;font:inherit;font-size:13px;font-weight:600;padding:6px 14px;border-radius:999px;border:1px solid color-mix(in srgb,var(--df-text) 14%,transparent);background:var(--df-surface)}.mcp-client-chip[_ngcontent-%COMP%]:hover{border-color:color-mix(in srgb,var(--df-accent) 38%,transparent)}.mcp-client-chip.on[_ngcontent-%COMP%]{background:color-mix(in srgb,var(--df-accent) 10%,transparent);border-color:var(--df-accent);color:var(--df-accent)}.mcp-auth-toggle[_ngcontent-%COMP%]{display:flex;align-items:center;gap:6px;font-size:12.5px;font-weight:600;opacity:.9}.mcp-auth-toggle[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{cursor:pointer;font:inherit;font-size:12.5px;font-weight:600;padding:3px 10px;border-radius:999px;border:1px solid color-mix(in srgb,var(--df-text) 14%,transparent);background:var(--df-surface)}.mcp-auth-toggle[_ngcontent-%COMP%] button.on[_ngcontent-%COMP%]{background:color-mix(in srgb,var(--df-accent) 10%,transparent);border-color:var(--df-accent);color:var(--df-accent)}.mcp-client-panel[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{font-size:13.5px;margin:0 0 8px}.mcp-client-panel[_ngcontent-%COMP%] .mcp-steps[_ngcontent-%COMP%]{margin:0;padding-left:20px;display:flex;flex-direction:column;gap:7px;font-size:13.5px}.mcp-inline-code[_ngcontent-%COMP%]{background:color-mix(in srgb,var(--df-text) 3.5%,transparent);border:1px solid color-mix(in srgb,var(--df-text) 8%,transparent);border-radius:6px;padding:2px 7px;font-size:12.5px;word-break:break-all}.mcp-snippet-block[_ngcontent-%COMP%]{display:flex;align-items:flex-start;gap:10px;background:color-mix(in srgb,var(--df-text) 3.5%,transparent);border:1px solid color-mix(in srgb,var(--df-text) 8%,transparent);border-radius:8px;padding:10px 12px;margin:6px 0 8px}.mcp-snippet-block[_ngcontent-%COMP%] pre[_ngcontent-%COMP%]{flex:1;margin:0;overflow-x:auto;font-size:12.5px;line-height:1.55}.mcp-snippet-block[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{flex:none}.mcp-connect-footer[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:6px;padding:4px 2px 8px;font-size:13px;opacity:.9}.mcp-connect-footer[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{margin:0}.mcp-link[_ngcontent-%COMP%]{background:none;border:none;cursor:pointer;font:inherit;font-size:inherit;padding:0;color:var(--df-accent);font-weight:600;text-decoration:none}.mcp-link[_ngcontent-%COMP%]:hover{text-decoration:underline}.mcp-docs-link[_ngcontent-%COMP%]{display:inline-block}@media (max-width: 700px){.mcp-auth-grid[_ngcontent-%COMP%]{grid-template-columns:1fr}.mcp-endpoint[_ngcontent-%COMP%] .mcp-endpoint-url[_ngcontent-%COMP%]{font-size:13.5px}.mcp-cred-row[_ngcontent-%COMP%] .mcp-cred-label[_ngcontent-%COMP%]{width:100%}.mcp-snippet-block[_ngcontent-%COMP%]{flex-direction:column}}"]})}}return n})();function Dp(n,a){if(1&n&&(e.j41(0,"span",30),e.EFF(1),e.k0s()),2&n){const t=e.XpG().$implicit,o=e.XpG(4);e.R7$(1),e.SpI(" saved curation: ",o.dormantCount(t)," tools off ")}}function Tp(n,a){1&n&&(e.j41(0,"span",30),e.EFF(1,"inactive"),e.k0s())}function Sp(n,a){if(1&n){const t=e.RV6();e.j41(0,"div",24),e.bIt("click",function(){const r=e.eBV(t).$implicit,c=e.XpG(4);return e.Njj(c.toggle(r.name))}),e.j41(1,"mat-checkbox",25),e.bIt("click",function(i){return i.stopPropagation()})("change",function(){const r=e.eBV(t).$implicit,c=e.XpG(4);return e.Njj(c.toggle(r.name))}),e.k0s(),e.j41(2,"span",26),e.EFF(3),e.k0s(),e.j41(4,"span",27),e.EFF(5),e.k0s(),e.j41(6,"span",28),e.EFF(7),e.k0s(),e.DNE(8,Dp,2,1,"span",29),e.DNE(9,Tp,2,0,"span",29),e.k0s()}if(2&n){const t=a.$implicit,o=e.XpG(4);e.R7$(1),e.Y8G("checked",o.isSelected(t.name)),e.R7$(2),e.JRh(t.label),e.R7$(2),e.JRh(t.name),e.R7$(2),e.JRh(o.toolDelta(t)),e.R7$(1),e.Y8G("ngIf",o.dormantCount(t)>0),e.R7$(1),e.Y8G("ngIf",!t.active)}}function Rp(n,a){if(1&n){const t=e.RV6();e.j41(0,"div",20)(1,"div",21)(2,"span"),e.EFF(3),e.k0s(),e.j41(4,"mat-checkbox",22),e.bIt("change",function(){e.eBV(t);const i=e.XpG().ngIf,r=e.XpG(2);return e.Njj(r.toggleGroup(i))}),e.EFF(5," Select all databases "),e.k0s()(),e.DNE(6,Sp,10,6,"div",23),e.k0s()}if(2&n){const t=e.XpG().ngIf,o=e.XpG(2);e.R7$(3),e.SpI("Databases (",t.length,")"),e.R7$(1),e.Y8G("checked",o.groupAllSelected(t))("indeterminate",o.groupSomeSelected(t)),e.R7$(2),e.Y8G("ngForOf",t)("ngForTrackBy",o.trackBySvcName)}}function Ip(n,a){if(1&n&&(e.qex(0),e.DNE(1,Rp,7,5,"div",19),e.bVm()),2&n){const t=a.ngIf;e.R7$(1),e.Y8G("ngIf",t.length>0)}}function Ep(n,a){if(1&n&&(e.j41(0,"span",30),e.EFF(1),e.k0s()),2&n){const t=e.XpG().$implicit,o=e.XpG(4);e.R7$(1),e.SpI(" saved curation: ",o.dormantCount(t)," tools off ")}}function $p(n,a){1&n&&(e.j41(0,"span",30),e.EFF(1,"inactive"),e.k0s())}function Gp(n,a){if(1&n){const t=e.RV6();e.j41(0,"div",24),e.bIt("click",function(){const r=e.eBV(t).$implicit,c=e.XpG(4);return e.Njj(c.toggle(r.name))}),e.j41(1,"mat-checkbox",25),e.bIt("click",function(i){return i.stopPropagation()})("change",function(){const r=e.eBV(t).$implicit,c=e.XpG(4);return e.Njj(c.toggle(r.name))}),e.k0s(),e.j41(2,"span",26),e.EFF(3),e.k0s(),e.j41(4,"span",27),e.EFF(5),e.k0s(),e.j41(6,"span",28),e.EFF(7),e.k0s(),e.DNE(8,Ep,2,1,"span",29),e.DNE(9,$p,2,0,"span",29),e.k0s()}if(2&n){const t=a.$implicit,o=e.XpG(4);e.R7$(1),e.Y8G("checked",o.isSelected(t.name)),e.R7$(2),e.JRh(t.label),e.R7$(2),e.JRh(t.name),e.R7$(2),e.JRh(o.toolDelta(t)),e.R7$(1),e.Y8G("ngIf",o.dormantCount(t)>0),e.R7$(1),e.Y8G("ngIf",!t.active)}}function jp(n,a){if(1&n){const t=e.RV6();e.j41(0,"div",20)(1,"div",21)(2,"span"),e.EFF(3),e.k0s(),e.j41(4,"mat-checkbox",22),e.bIt("change",function(){e.eBV(t);const i=e.XpG().ngIf,r=e.XpG(2);return e.Njj(r.toggleGroup(i))}),e.EFF(5," Select all files "),e.k0s()(),e.DNE(6,Gp,10,6,"div",23),e.k0s()}if(2&n){const t=e.XpG().ngIf,o=e.XpG(2);e.R7$(3),e.SpI("File storage (",t.length,")"),e.R7$(1),e.Y8G("checked",o.groupAllSelected(t))("indeterminate",o.groupSomeSelected(t)),e.R7$(2),e.Y8G("ngForOf",t)("ngForTrackBy",o.trackBySvcName)}}function Np(n,a){if(1&n&&(e.qex(0),e.DNE(1,jp,7,5,"div",19),e.bVm()),2&n){const t=a.ngIf;e.R7$(1),e.Y8G("ngIf",t.length>0)}}function Ap(n,a){1&n&&(e.j41(0,"p",31),e.EFF(1," Every service on this instance is already exposed. "),e.k0s())}function Yp(n,a){if(1&n&&(e.qex(0),e.DNE(1,Ip,2,1,"ng-container",17),e.DNE(2,Np,2,1,"ng-container",17),e.DNE(3,Ap,2,0,"p",18),e.bVm()),2&n){const t=e.XpG();e.R7$(1),e.Y8G("ngIf",t.dbCandidates()),e.R7$(1),e.Y8G("ngIf",t.fileCandidates()),e.R7$(1),e.Y8G("ngIf",0===t.dbCandidates().length&&0===t.fileCandidates().length&&!t.q.trim())}}function Vp(n,a){if(1&n&&(e.j41(0,"p",31),e.EFF(1),e.k0s()),2&n){const t=e.XpG();e.R7$(1),e.SpI(" No service matches \u201c",t.q.trim(),"\u201d. Create one under API Generation & Connections. ")}}function jn(n,a,t){const o=new Set;if(t)return o;for(const i of a)n.dormantCurationCount(i)>0&&o.add(i);return o}let Lp=(()=>{class n{constructor(t,o){this.dialogRef=t,this.data=o,this.q="",this.access="ro",this.accessTouched=!1,this.selected=new Set,this.listMemo=new Map,this.trackBySvcName=(i,r)=>r.name}get store(){return this.data.store}memoized(t,o){const i=`${this.store.version}|${this.q}`,r=this.listMemo.get(t);if(r&&r.key===i)return r.value;const c=o();return this.listMemo.set(t,{key:i,value:c}),c}candidates(){return this.memoized("candidates",()=>this.store.backendServices.filter(t=>!this.store.cfg.exposedServices.includes(t.name)))}matches(t){const o=this.q.trim().toLowerCase();return!o||t.name.toLowerCase().includes(o)||t.label.toLowerCase().includes(o)}dbCandidates(){return this.memoized("db",()=>this.candidates().filter(t=>"db"===t.kind&&this.matches(t)))}fileCandidates(){return this.memoized("file",()=>this.candidates().filter(t=>"file"===t.kind&&this.matches(t)))}toolDelta(t){return`+${$(t.kind).length} tools`}dormantCount(t){return this.store.dormantCurationCount(t.name)}isSelected(t){return this.selected.has(t)}toggle(t){this.selected.has(t)?this.selected.delete(t):this.selected.add(t)}markAccessTouched(){this.accessTouched=!0}groupAllSelected(t){return t.length>0&&t.every(o=>this.selected.has(o.name))}groupSomeSelected(t){const o=t.filter(i=>this.selected.has(i.name)).length;return o>0&&o({...a})),rest:{...n.rest}}}(n.cfg),r=jn(n,a,o);for(const c of a){i.exposedServices.includes(c)||i.exposedServices.push(c);const s=n.backendServices.find(l=>l.name===c);!s||r.has(c)||(St(s).forEach(l=>i.disabledTools.delete(l)),"ro"===t&&Tt(s).forEach(l=>i.disabledTools.add(l)))}return ze(i,n.backendServices).total}(this.store,[...this.selected],this.access,this.accessTouched);return`${t} selected \xb7 ${this.accessLabel()} \u2192 server will serve ${i} tools (was ${o})`}emptySearch(){return this.q.trim().length>0&&0===this.dbCandidates().length&&0===this.fileCandidates().length}confirm(){0!==this.selected.size&&this.dialogRef.close({names:[...this.selected],access:this.access,accessTouched:this.accessTouched})}cancel(){this.dialogRef.close()}static{this.\u0275fac=function(o){return new(o||n)(e.rXU(h.CP),e.rXU(h.Vh))}}static{this.\u0275cmp=e.VBU({type:n,selectors:[["df-mcp-picker"]],standalone:!0,features:[e.aNF],decls:27,vars:9,consts:[["data-testid","mcp-picker-dialog",1,"mcp-picker"],[1,"mcp-picker-head"],["mat-icon-button","","type","button","aria-label","Close",3,"click"],["type","search","data-testid","mcp-picker-search","aria-label","Search available services",1,"mcp-picker-search",3,"ngModel","placeholder","ngModelChange"],[1,"mcp-picker-access"],[1,"mcp-picker-access-label"],[3,"ngModel","ngModelChange","change"],["value","ro","data-testid","mcp-picker-access-ro"],["value","rw"],[1,"mcp-picker-body"],[4,"ngIf","ngIfElse"],["noMatch",""],[1,"mcp-picker-foot"],["data-testid","mcp-picker-consequence",1,"mcp-picker-consequence"],[1,"mcp-picker-foot-btns"],["mat-button","","type","button",3,"click"],["mat-flat-button","","color","primary","type","button","data-testid","mcp-picker-confirm",3,"disabled","click"],[4,"ngIf"],["class","mcp-picker-empty",4,"ngIf"],["class","mcp-picker-group",4,"ngIf"],[1,"mcp-picker-group"],[1,"mcp-picker-group-head"],[3,"checked","indeterminate","change"],["class","mcp-picker-row",3,"click",4,"ngFor","ngForOf","ngForTrackBy"],[1,"mcp-picker-row",3,"click"],[3,"checked","click","change"],[1,"mcp-picker-label"],[1,"mcp-chip"],[1,"mcp-picker-delta"],["class","mcp-chip warn",4,"ngIf"],[1,"mcp-chip","warn"],[1,"mcp-picker-empty"]],template:function(o,i){if(1&o&&(e.j41(0,"div",0)(1,"div",1)(2,"h2"),e.EFF(3,"Expose services"),e.k0s(),e.j41(4,"button",2),e.bIt("click",function(){return i.cancel()}),e.EFF(5," \u2715 "),e.k0s()(),e.j41(6,"input",3),e.bIt("ngModelChange",function(c){return i.q=c}),e.k0s(),e.j41(7,"div",4)(8,"span",5),e.EFF(9,"Access for these services:"),e.k0s(),e.j41(10,"mat-radio-group",6),e.bIt("ngModelChange",function(c){return i.access=c})("change",function(){return i.markAccessTouched()}),e.j41(11,"mat-radio-button",7),e.EFF(12," Read-only \u2014 recommended "),e.k0s(),e.j41(13,"mat-radio-button",8),e.EFF(14,"Read & write"),e.k0s()()(),e.j41(15,"div",9),e.DNE(16,Yp,4,3,"ng-container",10),e.DNE(17,Vp,2,1,"ng-template",null,11,e.C5r),e.k0s(),e.j41(19,"div",12)(20,"span",13),e.EFF(21),e.k0s(),e.j41(22,"span",14)(23,"button",15),e.bIt("click",function(){return i.cancel()}),e.EFF(24,"Cancel"),e.k0s(),e.j41(25,"button",16),e.bIt("click",function(){return i.confirm()}),e.EFF(26),e.k0s()()()()),2&o){const r=e.sdS(18);e.R7$(6),e.Mz_("placeholder","Search ",i.candidates().length," available services\u2026"),e.Y8G("ngModel",i.q),e.R7$(4),e.Y8G("ngModel",i.access),e.R7$(6),e.Y8G("ngIf",!i.emptySearch())("ngIfElse",r),e.R7$(5),e.SpI(" ",i.consequenceText()," "),e.R7$(4),e.Y8G("disabled",0===i.selected.size),e.R7$(1),e.Lme(" Expose ",i.selected.size," ",1===i.selected.size?"service":"services"," ")}},dependencies:[d.MD,d.Sq,d.bT,m.YN,m.me,m.BC,m.vS,u.Hl,u.$z,u.iY,j.g7,j.So,h.hM,J.Wk,J.VT,J._g],styles:['@charset "UTF-8";.mcp-picker[_ngcontent-%COMP%]{display:flex;flex-direction:column;font-family:Inter,Helvetica Neue,sans-serif;min-width:320px;max-height:80vh;padding:18px 20px 14px;box-sizing:border-box}.mcp-picker-head[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:space-between}.mcp-picker-head[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{margin:0;font-size:17px;font-weight:700}.mcp-picker-search[_ngcontent-%COMP%]{margin:12px 0 10px;width:100%;box-sizing:border-box;font:inherit;font-size:13.5px;padding:8px 12px;border:1px solid color-mix(in srgb,var(--df-text) 18%,transparent);border-radius:8px}.mcp-picker-search[_ngcontent-%COMP%]:focus{outline:2px solid var(--df-accent);outline-offset:-1px}.mcp-picker-access[_ngcontent-%COMP%]{display:flex;align-items:center;gap:10px;flex-wrap:wrap;font-size:13px;margin-bottom:8px}.mcp-picker-access[_ngcontent-%COMP%] .mcp-picker-access-label[_ngcontent-%COMP%]{font-weight:600}.mcp-picker-access[_ngcontent-%COMP%] mat-radio-group[_ngcontent-%COMP%]{display:inline-flex;gap:4px;flex-wrap:wrap}.mcp-picker-body[_ngcontent-%COMP%]{flex:1;overflow-y:auto;border:1px solid color-mix(in srgb,var(--df-text) 8%,transparent);border-radius:10px;background:var(--df-surface);min-height:160px}.mcp-picker-group-head[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;padding:8px 12px 2px;font-size:11.5px;font-weight:700;letter-spacing:.04em;text-transform:uppercase;opacity:.75}.mcp-picker-row[_ngcontent-%COMP%]{display:flex;align-items:center;gap:8px;flex-wrap:wrap;padding:4px 12px;cursor:pointer;border-top:1px solid color-mix(in srgb,var(--df-text) 4%,transparent)}.mcp-picker-row[_ngcontent-%COMP%]:hover{background:color-mix(in srgb,var(--df-accent) 5%,transparent)}.mcp-picker-row[_ngcontent-%COMP%] .mcp-picker-label[_ngcontent-%COMP%]{font-weight:600;font-size:13.5px}.mcp-picker-row[_ngcontent-%COMP%] .mcp-picker-delta[_ngcontent-%COMP%]{font-size:12px;opacity:.65;font-variant-numeric:tabular-nums}.mcp-picker-empty[_ngcontent-%COMP%]{padding:22px 16px;font-size:13.5px;opacity:.75}.mcp-picker-foot[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;padding-top:12px}.mcp-picker-foot[_ngcontent-%COMP%] .mcp-picker-consequence[_ngcontent-%COMP%]{font-size:13px;font-variant-numeric:tabular-nums;opacity:.85}.mcp-picker-foot[_ngcontent-%COMP%] .mcp-picker-foot-btns[_ngcontent-%COMP%]{display:inline-flex;gap:8px;margin-left:auto}.mcp-chip[_ngcontent-%COMP%]{display:inline-flex;align-items:center;gap:5px;padding:2px 9px;border-radius:999px;font-size:12px;font-weight:600;border:1px solid color-mix(in srgb,var(--df-text) 14%,transparent);background:color-mix(in srgb,var(--df-text) 2%,transparent);white-space:nowrap}.mcp-chip.warn[_ngcontent-%COMP%]{background:var(--df-warning-soft);border-color:color-mix(in srgb,var(--df-warning) 40%,transparent);color:var(--df-warning)}@media (max-width: 700px){.mcp-picker[_ngcontent-%COMP%]{padding:14px 12px 10px;min-width:0}}']})}}return n})();function Up(n,a){if(1&n){const t=e.RV6();e.j41(0,"div",12)(1,"span",13),e.EFF(2,"Catalog:"),e.k0s(),e.j41(3,"mat-radio-group",14),e.bIt("ngModelChange",function(i){e.eBV(t);const r=e.XpG();return e.Njj(r.view=i)}),e.j41(4,"mat-radio-button",15),e.EFF(5,"First response"),e.k0s(),e.j41(6,"mat-radio-button",16),e.EFF(7,"Full catalog"),e.k0s()(),e.j41(8,"p",17),e.EFF(9),e.k0s()()}if(2&n){const t=e.XpG();e.R7$(3),e.Y8G("ngModel",t.view),e.R7$(6),e.SpI(" ",t.lazyFlow," ")}}function qp(n,a){1&n&&(e.j41(0,"p",19),e.EFF(1," None served. "),e.k0s())}function Kp(n,a){if(1&n&&(e.j41(0,"span",23),e.EFF(1),e.k0s()),2&n){const t=e.XpG().$implicit;e.R7$(1),e.JRh(t.meta)}}function Jp(n,a){if(1&n&&(e.j41(0,"div",20)(1,"code"),e.EFF(2),e.k0s(),e.DNE(3,Kp,2,1,"span",21),e.j41(4,"span",22),e.EFF(5),e.k0s()()),2&n){const t=a.$implicit;e.R7$(2),e.JRh(t.name),e.R7$(1),e.Y8G("ngIf",t.meta),e.R7$(1),e.BMQ("title",t.description),e.R7$(1),e.SpI(" ",t.description," ")}}function Hp(n,a){if(1&n&&(e.j41(0,"section",18)(1,"h3"),e.EFF(2),e.k0s(),e.DNE(3,qp,2,0,"p",7),e.DNE(4,Jp,6,4,"div",8),e.k0s()),2&n){const t=a.$implicit,o=e.XpG();e.R7$(2),e.JRh(t.label),e.R7$(1),e.Y8G("ngIf",0===t.items.length),e.R7$(1),e.Y8G("ngForOf",t.items)("ngForTrackBy",o.trackByItemName)}}function Wp(n,a){1&n&&(e.j41(0,"p",19),e.EFF(1," Nothing is excluded \u2014 every catalog tool is served. "),e.k0s())}function Qp(n,a){if(1&n&&(e.j41(0,"div",20)(1,"code"),e.EFF(2),e.k0s(),e.j41(3,"span",24),e.EFF(4),e.k0s()()),2&n){const t=a.$implicit;e.R7$(2),e.JRh(t.name),e.R7$(2),e.JRh(t.reason)}}let Zp=(()=>{class n{constructor(t,o,i){this.dialogRef=t,this.data=o,this.snackbar=i,this.groups=[],this.excluded=[],this.total=0,this.lazyEngaged=!1,this.lazyAuto=!0,this.view="full",this.firstResponseGroups=[{label:`First response \u2014 discovery tools (${Me.length})`,items:this.firstResponseItems()}],this.trackByLabel=(r,c)=>c.label,this.trackByItemName=(r,c)=>c.name,this.trackByExcluded=(r,c)=>`${c.name}|${c.reason}`,this.lazyFlow="Agents call search_tools to find a tool, describe_tool for its schema, then call_tool to run it; fetch_more pages long results."}get store(){return this.data.store}ngOnInit(){this.store.isSystemMcp?this.buildSystem():this.buildMcp(),this.stats=this.store.catalogStats(),this.lazyEngaged=this.stats.lazy,this.lazyAuto="auto"===this.store.cfg.lazyMode,this.lazyEngaged&&(this.view="first")}buildMcp(){const t=this.store,o=t.cfg,i=o.disabledTools,r=t.effective(),c=r.effectiveStyle,s=t.rows(),l=s.filter(_=>!!_.svc),p=l.map(_=>_.svc).filter(_=>_.active&&"db"===_.kind),f=l.map(_=>_.svc).filter(_=>_.active&&"file"===_.kind),M=Ve(p.length,f.length),v=ye.filter(_=>!i.has(_.verb)).map(_=>({name:_.verb,description:_.description}));for(const _ of M)i.has(_.verb)||v.push({name:_.verb,description:_.description});this.groups.push({label:`Global (${v.length})`,items:v});const x=[];if(p.length>0)if("merged"===c){for(const _ of $("db")){const C=Et(_.verb,o,t.backendServices);0!==C.on.length&&x.push({name:_.verb,description:_.description,meta:`service: ${C.on.join(", ")} (${C.on.length} of ${C.total})`})}this.groups.push({label:`Database \u2014 consolidated, service argument (${x.length})`,items:x})}else{for(const _ of p)for(const C of $("db"))ce(o,_.name,C.verb)&&x.push({name:$t("prefixed",_.name,C.verb),description:C.description});this.groups.push({label:`Database (${x.length})`,items:x})}const F=[];if(f.length>0)if("merged"===c){for(const _ of $("file")){const C=f.filter(k=>ce(o,k.name,_.verb)).map(k=>k.name);0!==C.length&&F.push({name:_.verb,description:_.description,meta:`service: ${C.join(", ")} (${C.length} of ${f.length})`})}this.groups.push({label:`File \u2014 consolidated, service argument (${F.length})`,items:F})}else{for(const _ of f)for(const C of $("file"))ce(o,_.name,C.verb)&&F.push({name:ne(_.name,C.verb),description:C.description});this.groups.push({label:`File (${F.length})`,items:F})}const T=(o.customTools??[]).filter(_=>Rt(o,_)).map(_=>({name:_.name??"",description:_.description??""}));T.length>0&&this.groups.push({label:`Custom (${T.length})`,items:T});const B=t.backendServices.filter(_=>!o.exposedServices.includes(_.name));if(B.length>0){const _=B.map(y=>y.name),C=_.slice(0,3).join(", ");this.excluded.push({name:C+(_.length>3?`, +${_.length-3} more`:""),reason:"not exposed"})}if(!1===o.allowWrites){const _=(o.customTools??[]).filter(C=>!1!==C?.enabled&&0!==C?.enabled&&tt(C)).length;this.excluded.push({name:"write & execute tools"+(_?` + ${_} custom`:""),reason:"writes are off for this server"})}for(const _ of l)_.svc.active||this.excluded.push({name:_.name,reason:"service inactive"});for(const _ of s)_.svc||this.excluded.push({name:_.name,reason:"no service with this name exists"});for(const _ of l)if(_.svc.active)for(const C of Oe(_.svc.kind)){const k=et(_.svc,C,i);if("off"===k)this.excluded.push({name:`${_.name} \xb7 ${C.label.toLowerCase()}`,reason:"turned off by you"});else if("part"===k&&("prefixed"===c||"file"===_.svc.kind))for(const y of C.verbs)i.has(ne(_.name,y.verb))&&this.excluded.push({name:ne(_.name,y.verb),reason:"turned off by you"})}if("merged"===c&&p.length>0)for(const _ of $("db"))!1===o.allowWrites&&Qe.has(_.verb)||0===Et(_.verb,o,t.backendServices).on.length&&this.excluded.push({name:_.verb,reason:"turned off in every exposed database"});p.length<2&&this.excluded.push({name:"cross-database aggregators",reason:"served only with two or more databases"});for(const _ of ye)i.has(_.verb)&&this.excluded.push({name:_.verb,reason:"turned off by you"});for(const _ of M)i.has(_.verb)&&this.excluded.push({name:_.verb,reason:"turned off by you"});for(const _ of o.customTools??[])(!1===_?.enabled||0===_?.enabled)&&this.excluded.push({name:_.name??"",reason:"turned off by you"});this.total=r.total}buildSystem(){const o=this.store.cfg.disabledTools,i=ie.filter(r=>!o.has(r.name));this.groups.push({label:`System API (${i.length})`,items:i.map(r=>({name:r.name,description:r.description}))});for(const r of ie)o.has(r.name)&&this.excluded.push({name:r.name,reason:"turned off by you"});this.total=i.length}firstResponseItems(){return Me.map(t=>({name:t.verb,description:t.description}))}visibleGroups(){return this.lazyEngaged&&"first"===this.view?this.firstResponseGroups:this.groups}tokenLabel(){const t="server"===this.stats.source?"":" (estimate)";return`${Rn(this.stats.tokens)} tokens per turn${t}`}lazyLabel(){return this.lazyEngaged?`Lazy loading: engaged (${this.lazyAuto?"auto":"always on"}) \u2014 ${de(this.stats.facadeBytes)} facade instead of ${de(this.stats.bytes)}`:`Lazy loading: not engaged (${de(this.stats.bytes)} of ${de(Ze)})`}copyJson(){const t=this.visibleGroups().flatMap(i=>i.items).map(i=>({name:i.name,description:i.description})),o=JSON.stringify(t,null,2);navigator.clipboard?.writeText(o).catch(()=>{}),this.snackbar.openSnackBar("tools/list JSON copied.","success")}close(){this.dialogRef.close()}static{this.\u0275fac=function(o){return new(o||n)(e.rXU(h.CP),e.rXU(h.Vh),e.rXU(pe.L))}}static{this.\u0275cmp=e.VBU({type:n,selectors:[["df-mcp-preview"]],standalone:!0,features:[e.aNF],decls:19,vars:10,consts:[["data-testid","mcp-preview-drawer",1,"mcp-preview"],[1,"mcp-preview-head"],["mat-icon-button","","type","button","aria-label","Close",3,"click"],["class","mcp-preview-controls",4,"ngIf"],[1,"mcp-preview-body"],["class","mcp-preview-group",4,"ngFor","ngForOf","ngForTrackBy"],["data-testid","mcp-preview-excluded",1,"mcp-preview-group","mcp-preview-excluded"],["class","mcp-preview-none",4,"ngIf"],["class","mcp-preview-item",4,"ngFor","ngForOf","ngForTrackBy"],[1,"mcp-preview-foot"],[1,"mcp-preview-foot-facts"],["mat-stroked-button","","type","button",3,"click"],[1,"mcp-preview-controls"],[1,"mcp-preview-controls-label"],[3,"ngModel","ngModelChange"],["value","first"],["value","full"],["data-testid","mcp-preview-lazy-flow",1,"mcp-preview-flow"],[1,"mcp-preview-group"],[1,"mcp-preview-none"],[1,"mcp-preview-item"],["class","mcp-preview-meta",4,"ngIf"],[1,"mcp-preview-desc"],[1,"mcp-preview-meta"],[1,"mcp-preview-reason"]],template:function(o,i){1&o&&(e.j41(0,"div",0)(1,"div",1)(2,"h2"),e.EFF(3),e.k0s(),e.j41(4,"button",2),e.bIt("click",function(){return i.close()}),e.EFF(5," \u2715 "),e.k0s()(),e.DNE(6,Up,10,2,"div",3),e.j41(7,"div",4),e.DNE(8,Hp,5,4,"section",5),e.j41(9,"section",6)(10,"h3"),e.EFF(11,"Excluded (not served)"),e.k0s(),e.DNE(12,Wp,2,0,"p",7),e.DNE(13,Qp,5,2,"div",8),e.k0s()(),e.j41(14,"div",9)(15,"span",10),e.EFF(16),e.k0s(),e.j41(17,"button",11),e.bIt("click",function(){return i.copyJson()}),e.EFF(18," Copy tools/list JSON "),e.k0s()()()),2&o&&(e.R7$(3),e.SpI("What an agent sees \u2014 as served at /mcp/",i.store.service.name,""),e.R7$(3),e.Y8G("ngIf",i.lazyEngaged),e.R7$(2),e.Y8G("ngForOf",i.visibleGroups())("ngForTrackBy",i.trackByLabel),e.R7$(4),e.Y8G("ngIf",0===i.excluded.length),e.R7$(1),e.Y8G("ngForOf",i.excluded)("ngForTrackBy",i.trackByExcluded),e.R7$(3),e.E5c(" ",i.total," tools \xb7 ",i.tokenLabel()," \xb7 ",i.lazyLabel()," "))},dependencies:[d.MD,d.Sq,d.bT,m.YN,m.BC,m.vS,u.Hl,u.$z,u.iY,h.hM,J.Wk,J.VT,J._g],styles:['@charset "UTF-8";.mcp-preview[_ngcontent-%COMP%]{display:flex;flex-direction:column;height:100%;min-height:0;font-family:Inter,Helvetica Neue,sans-serif;padding:18px 20px 14px;box-sizing:border-box;background:var(--df-surface)}.mcp-preview-head[_ngcontent-%COMP%]{display:flex;align-items:flex-start;justify-content:space-between;gap:10px}.mcp-preview-head[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{margin:0;font-size:15.5px;font-weight:700;line-height:1.35}.mcp-preview-controls[_ngcontent-%COMP%]{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-top:10px;font-size:13px}.mcp-preview-controls[_ngcontent-%COMP%] .mcp-preview-controls-label[_ngcontent-%COMP%]{font-weight:600}.mcp-preview-controls[_ngcontent-%COMP%] .mcp-preview-flow[_ngcontent-%COMP%]{flex-basis:100%;margin:0;opacity:.75}.mcp-preview-body[_ngcontent-%COMP%]{flex:1;overflow-y:auto;margin-top:12px;min-height:0}.mcp-preview-group[_ngcontent-%COMP%]{margin-bottom:18px}.mcp-preview-group[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{font-size:11.5px;font-weight:700;letter-spacing:.05em;text-transform:uppercase;opacity:.7;margin:0 0 6px}.mcp-preview-item[_ngcontent-%COMP%]{display:flex;align-items:baseline;gap:8px;flex-wrap:nowrap;padding:3px 0;font-size:13px;min-width:0}.mcp-preview-item[_ngcontent-%COMP%] code[_ngcontent-%COMP%]{font-size:12.5px;background:color-mix(in srgb,var(--df-text) 3.5%,transparent);border:1px solid color-mix(in srgb,var(--df-text) 8%,transparent);border-radius:6px;padding:1px 7px;flex-shrink:0;white-space:nowrap}.mcp-preview-item[_ngcontent-%COMP%] .mcp-preview-meta[_ngcontent-%COMP%]{font-size:12px;color:var(--df-accent);font-variant-numeric:tabular-nums;flex-shrink:0;white-space:nowrap}.mcp-preview-item[_ngcontent-%COMP%] .mcp-preview-desc[_ngcontent-%COMP%]{font-size:12px;opacity:.65;flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mcp-preview-item[_ngcontent-%COMP%] .mcp-preview-reason[_ngcontent-%COMP%]{font-size:12px;color:var(--df-warning);flex-shrink:0;white-space:nowrap}.mcp-preview-excluded[_ngcontent-%COMP%]{border-top:1px solid color-mix(in srgb,var(--df-text) 8%,transparent);padding-top:12px}.mcp-preview-excluded[_ngcontent-%COMP%] .mcp-preview-item[_ngcontent-%COMP%] code[_ngcontent-%COMP%]{opacity:.75;flex-shrink:1;min-width:0;overflow:hidden;text-overflow:ellipsis}.mcp-preview-none[_ngcontent-%COMP%]{font-size:12.5px;opacity:.6;margin:0}.mcp-preview-foot[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;border-top:1px solid color-mix(in srgb,var(--df-text) 8%,transparent);padding-top:10px}.mcp-preview-foot[_ngcontent-%COMP%] .mcp-preview-foot-facts[_ngcontent-%COMP%]{font-size:12.5px;font-variant-numeric:tabular-nums;opacity:.8}@media (max-width: 700px){.mcp-preview[_ngcontent-%COMP%]{padding:14px 12px 10px}}']})}}return n})();const Nn=1,em=30,tm=31;function nt(n){return n<=0?"none":n&em?"rw":"read"}function nm(n){return"rw"===n?tm:"read"===n?Nn:0}const Nt="_table/",om=/^_table\/([^/*][^/]*)\/\*$/;function Be(n){const a=om.exec(n);return a?a[1]:null}function An(n){return n===Nt||"_table"===n}const ot={level:"none",tables:null,editable:!0,mask:0};function im(n){const a=n.filter(p=>p.verbMask>0),t=a.reduce((p,f)=>p|f.verbMask,0);if(0===a.length)return{...ot};const o=a.some(p=>Array.isArray(p.filters)&&p.filters.length>0),i=a.filter(p=>"*"===p.component),r=a.filter(p=>Be(p.component)),c=a.filter(p=>An(p.component)),s=a.length-i.length-r.length-c.length,l=r.length?r.map(p=>Be(p.component)):null;if(o||s>0||i.length&&r.length)return{level:nt(t),tables:l,editable:!1,mask:t};if(i.length){const p=i.reduce((f,M)=>f|M.verbMask,0);return{level:nt(p),tables:null,editable:!0,mask:p}}if(r.length){const p=r[0].verbMask;return r.some(f=>f.verbMask!==p)?{level:nt(t),tables:l,editable:!1,mask:t}:{level:nt(p),tables:l,editable:!0,mask:p}}return{level:"none",tables:null,editable:!0,mask:t}}function it(n,a){const t={};for(const o of a)t[o]=im(n.filter(i=>i.serviceId===o));return t}function At(n){return n.before!==n.after||"none"!==n.after&&!function am(n,a){return[...n??[]].sort().join("|")===[...a??[]].sort().join("|")}(n.beforeTables,n.tables)}function cm(n){return n.tables?.length?n.tableTotal?`${n.label} (${n.tables.length} of ${n.tableTotal} tables)`:`${n.label} (${n.tables.length} tables)`:n.label}function Yn(n,a){const t={server:"none",read:[],rw:[],deltas:[],listing:!1};for(const o of n){if(o.serviceId===a){t.server="none"===o.before?"grant":"keep";continue}if(!At(o))continue;"none"!==o.after&&o.tables?.length&&(t.listing=!0);const i=cm(o);o.before===o.after?t.deltas.push({label:i,delta:"~tables"}):"none"===o.before?("rw"===o.after?t.rw:t.read).push(i):t.deltas.push("none"===o.after?{label:o.label,delta:"-access"}:{label:i,delta:"rw"===o.after?"+write":"-write"})}return t}const sm={"+write":"+ write on","-write":"\u2212 write on","-access":"\u2212 access on","~tables":"tables on"},Vn=(n,a,t)=>`${n} ${1===n?a:t}`;function Xn(n,a){const t=[],o=r=>{null!=r.id&&t.push({id:r.id,role_id:null})},i=(r,c,s,l)=>{null!=r?.id&&r.verbMask===l||t.push({...null!=r?.id?{id:r.id}:{},service_id:c,component:s,verb_mask:l,requestor_mask:r?.requestorMask??3,filters:[],filter_op:"AND"})};for(const r of n){if(!At(r))continue;const c=a.filter(x=>x.serviceId===r.serviceId),s=c.find(x=>"*"===x.component),l=c.filter(x=>Be(x.component)),p=c.filter(x=>An(x.component));if("none"===r.after){s&&o(s),l.forEach(o),p.forEach(o);continue}const f=nm(r.after);if(!r.tables?.length){i(s,r.serviceId,"*",f),l.forEach(o),p.forEach(o);continue}s&&o(s);const M=new Set(r.tables);for(const x of l)M.has(Be(x.component))||o(x);for(const x of r.tables)i(l.find(T=>Be(T.component)===x),r.serviceId,`_table/${x}/*`,f);const v=p.find(x=>x.component===Nt);p.filter(x=>x!==v).forEach(o),i(v,r.serviceId,Nt,Nn)}return t}function zn(n,a,t,o){const i=n[a]??n[t];return null==i?o:!0===i||1===i||"1"===i||"true"===i}let Bn=(()=>{class n{constructor(t){this.http=t}access(t){return this.http.get("/_internal/ai/mcp-access",{params:{service:String(t),period:"30d"},context:(0,K.Ku)()}).pipe((0,R.W)(()=>(0,L.of)(null)))}roles(){return this.http.get(`${A.C}/system/role`,{params:{fields:"id,name,is_active",related:"role_service_access_by_role_id",limit:"1000"},context:(0,K.Ku)()}).pipe((0,z.T)(t=>(t?.resource??[]).map(o=>({id:o.id,name:o.name,isActive:o.isActive,rows:(o.roleServiceAccessByRoleId??[]).map(i=>({id:i.id,serviceId:i.serviceId,component:i.component,verbMask:i.verbMask??0,requestorMask:i.requestorMask,filters:i.filters??null}))}))),(0,R.W)(()=>(0,L.of)([])))}apps(){return this.http.get(`${A.C}/system/app`,{params:{fields:"id,name,role_id,is_active",limit:"1000"},context:(0,K.Ku)()}).pipe((0,z.T)(t=>(t?.resource??[]).filter(o=>!1!==o.isActive&&null!=o.roleId).map(o=>({id:o.id,name:o.name,roleId:o.roleId}))),(0,R.W)(()=>(0,L.of)([])))}listTables(t){return this.http.get(`${A.C}/${t}/_table`,{params:{as_list:"true"},context:(0,K.Ku)()}).pipe((0,z.T)(o=>Array.isArray(o?.resource)?o.resource:[]),(0,R.W)(()=>(0,L.of)([])))}patchRoleAccess(t,o){return this.http.patch(`${A.C}/system/role/${t}`,{role_service_access_by_role_id:o},{context:(0,K.PH)()})}createRole(t,o,i){return this.http.post(`${A.C}/system/role`,{resource:[{name:t,description:o,is_active:!0,role_service_access_by_role_id:i}]},{params:{fields:"id"},context:(0,K.PH)()}).pipe((0,z.T)(r=>r?.resource?.[0]?.id))}createAppKey(t,o){return this.http.post(`${A.C}/system/app`,{resource:[{name:t,type:0,role_id:o,is_active:!0}]},{params:{fields:"id,api_key"},context:(0,K.PH)()}).pipe((0,z.T)(i=>i?.resource?.[0]?.apiKey??null))}static{this.\u0275fac=function(o){return new(o||n)(e.KVO(ee.Qq))}}static{this.\u0275prov=e.jDH({token:n,factory:n.\u0275fac,providedIn:"root"})}}return n})();function mm(n,a){1&n&&(e.j41(0,"span",1),e.EFF(1," API-key auth is off on this server \u2014 turn it on in Settings \u2192 Authentication before clients use the key. "),e.k0s())}function _m(n,a){if(1&n){const t=e.RV6();e.j41(0,"div",8)(1,"span"),e.EFF(2,"API key created. Copy it now \u2014 it is shown once."),e.k0s(),e.j41(3,"code",9),e.EFF(4),e.k0s(),e.j41(5,"button",10),e.bIt("click",function(){e.eBV(t);const i=e.XpG(2);return e.Njj(i.copyKey())}),e.EFF(6," Copy key "),e.k0s(),e.j41(7,"span",1),e.EFF(8,"The Connect tab\u2019s API-key snippets now use this key."),e.k0s(),e.DNE(9,mm,2,0,"span",5),e.k0s()}if(2&n){const t=e.XpG(2);e.R7$(4),e.JRh(t.apiKey),e.R7$(5),e.Y8G("ngIf",!t.data.store.cfg.allowApiKeyAuth)}}function gm(n,a){1&n&&(e.j41(0,"p",1),e.EFF(1," The API key could not be created; add one under API Keys. "),e.k0s())}function fm(n,a){if(1&n){const t=e.RV6();e.qex(0),e.j41(1,"p",3),e.EFF(2),e.k0s(),e.DNE(3,_m,10,2,"div",4),e.DNE(4,gm,2,0,"p",5),e.j41(5,"div",6)(6,"button",7),e.bIt("click",function(){e.eBV(t);const i=e.XpG();return e.Njj(i.dialogRef.close(!0))}),e.EFF(7," Done "),e.k0s()(),e.bVm()}if(2&n){const t=e.XpG();e.R7$(2),e.SpI(" Role ",t.name," created and granted this MCP server. "),e.R7$(1),e.Y8G("ngIf",t.apiKey),e.R7$(1),e.Y8G("ngIf",!t.apiKey)}}function um(n,a){if(1&n&&(e.j41(0,"mat-option",25),e.EFF(1),e.k0s()),2&n){const t=a.$implicit;e.Y8G("value",t.id),e.R7$(1),e.JRh(t.name)}}function hm(n,a){if(1&n){const t=e.RV6();e.j41(0,"mat-form-field",22)(1,"mat-label"),e.EFF(2,"Role"),e.k0s(),e.j41(3,"mat-select",23),e.bIt("selectionChange",function(i){e.eBV(t);const r=e.XpG(2);return e.Njj(r.onRolePicked(i.value))}),e.DNE(4,um,2,2,"mat-option",24),e.k0s()()}if(2&n){const t=e.XpG(2);e.R7$(3),e.Y8G("value",t.roleId),e.R7$(1),e.Y8G("ngForOf",t.addableRoles)}}function bm(n,a){if(1&n){const t=e.RV6();e.j41(0,"mat-form-field",22)(1,"mat-label"),e.EFF(2,"Role name"),e.k0s(),e.j41(3,"input",26),e.bIt("ngModelChange",function(i){e.eBV(t);const r=e.XpG(2);return e.Njj(r.name=i)}),e.k0s()()}if(2&n){const t=e.XpG(2);e.R7$(3),e.Y8G("ngModel",t.name)}}function vm(n,a){if(1&n){const t=e.RV6();e.j41(0,"mat-checkbox",27),e.bIt("ngModelChange",function(i){e.eBV(t);const r=e.XpG(2);return e.Njj(r.createKey=i)}),e.EFF(1," Also create an API key "),e.k0s()}if(2&n){const t=e.XpG(2);e.Y8G("ngModel",t.createKey)}}const xm=function(n,a){return[n,a]};function Cm(n,a){if(1&n){const t=e.RV6();e.j41(0,"span",28)(1,"code"),e.EFF(2),e.k0s(),e.j41(3,"a",29),e.bIt("click",function(){e.eBV(t);const i=e.XpG(2);return e.Njj(i.dialogRef.close())}),e.EFF(4,"Role page \u2197"),e.k0s()()}if(2&n){const t=e.XpG(2);e.R7$(2),e.JRh(t.data.role.name),e.R7$(1),e.Y8G("routerLink",e.l_i(2,xm,t.roleRoute,t.data.role.id))}}function km(n,a){if(1&n){const t=e.RV6();e.j41(0,"input",30),e.bIt("ngModelChange",function(i){e.eBV(t);const r=e.XpG(2);return e.Njj(r.filter=i)}),e.k0s()}if(2&n){const t=e.XpG(2);e.Y8G("ngModel",t.filter)}}function ym(n,a){1&n&&(e.j41(0,"p",1),e.EFF(1," Nothing is exposed yet; the role will only be granted the MCP server. "),e.k0s())}function Mm(n,a){1&n&&(e.j41(0,"p",31),e.EFF(1," Writes are blocked on this server \u2014 Read and write is unavailable. "),e.k0s())}function Om(n,a){1&n&&(e.j41(0,"span",41),e.EFF(1," limited on the role page "),e.k0s())}function Pm(n,a){1&n&&(e.j41(0,"span",41),e.EFF(1," pick a role first "),e.k0s())}function Fm(n,a){if(1&n){const t=e.RV6();e.j41(0,"button",46),e.bIt("click",function(){e.eBV(t);const i=e.XpG(2).$implicit,r=e.XpG(4);return e.Njj(r.toggleExpanded(i))}),e.EFF(1),e.k0s()}if(2&n){const t=e.XpG(2).$implicit,o=e.XpG(4);e.BMQ("aria-expanded",o.expanded.has(t.id)),e.R7$(1),e.Lme(" ",o.expanded.has(t.id)?"\u25be":"\u25b8"," ",o.limitLabel(t)," ")}}function wm(n,a){if(1&n){const t=e.RV6();e.j41(0,"button",47),e.bIt("click",function(){const r=e.eBV(t).$implicit,c=e.XpG(2).$implicit,s=e.XpG(4);return e.Njj(s.setLevel(c,r))}),e.EFF(1),e.k0s()}if(2&n){const t=a.$implicit,o=e.XpG(2).$implicit,i=e.XpG(4);e.AVh("on",i.levels[o.id]===t),e.Y8G("disabled","rw"===t&&!i.data.allowWrites)("matTooltip","rw"!==t||i.data.allowWrites?"":"Writes are blocked on this server"),e.BMQ("aria-checked",i.levels[o.id]===t)("data-level",t),e.R7$(1),e.SpI(" ",i.levelText[t]," ")}}function Dm(n,a){if(1&n&&(e.j41(0,"div",42),e.DNE(1,Fm,2,3,"button",43),e.j41(2,"div",44),e.DNE(3,wm,2,7,"button",45),e.k0s()()),2&n){const t=e.XpG().$implicit,o=e.XpG(4);e.R7$(1),e.Y8G("ngIf",o.canLimit(t)),e.R7$(1),e.BMQ("aria-label",t.svc.label),e.R7$(1),e.Y8G("ngForOf",o.levelsList)}}function Tm(n,a){1&n&&(e.j41(0,"p",1),e.EFF(1," Loading tables\u2026 "),e.k0s())}function Sm(n,a){1&n&&(e.j41(0,"p",1),e.EFF(1," No tables found (or the admin cannot list them). "),e.k0s())}function Rm(n,a){if(1&n){const t=e.RV6();e.j41(0,"input",52),e.bIt("ngModelChange",function(i){e.eBV(t);const r=e.XpG(3).$implicit,c=e.XpG(4);return e.Njj(c.tableFilter[r.id]=i)}),e.k0s()}if(2&n){const t=e.XpG(3).$implicit,o=e.XpG(4);e.Y8G("ngModel",o.tableFilter[t.id])("name","tf_"+t.svc.name)}}function Im(n,a){if(1&n){const t=e.RV6();e.j41(0,"mat-checkbox",53),e.bIt("change",function(){const r=e.eBV(t).$implicit,c=e.XpG(3).$implicit,s=e.XpG(4);return e.Njj(s.toggleTable(c,r))}),e.EFF(1),e.k0s()}if(2&n){const t=a.$implicit,o=e.XpG(3).$implicit,i=e.XpG(4);e.Y8G("checked",i.ticked(o,t)),e.BMQ("data-table",t),e.R7$(1),e.SpI(" ",t," ")}}function Em(n,a){if(1&n&&(e.qex(0),e.DNE(1,Sm,2,0,"p",5),e.DNE(2,Rm,1,2,"input",49),e.j41(3,"div",50),e.DNE(4,Im,2,3,"mat-checkbox",51),e.k0s(),e.j41(5,"p",1),e.EFF(6),e.k0s(),e.bVm()),2&n){const t=a.ngIf,o=e.XpG(2).$implicit,i=e.XpG(4);e.R7$(1),e.Y8G("ngIf",0===t.length),e.R7$(1),e.Y8G("ngIf",t.length>12),e.R7$(2),e.Y8G("ngForOf",i.visibleTables(o)),e.R7$(2),e.SpI(" ",0===i.tickedCount(o)?"Nothing ticked: whole service.":i.limitLabel(o)," ")}}function $m(n,a){if(1&n&&(e.j41(0,"div",48),e.DNE(1,Tm,2,0,"p",5),e.DNE(2,Em,7,4,"ng-container",2),e.k0s()),2&n){const t=e.XpG().$implicit,o=e.XpG(4);e.BMQ("data-tables-for",t.svc.name),e.R7$(1),e.Y8G("ngIf",o.loadingTables.has(t.svc.name)),e.R7$(1),e.Y8G("ngIf",o.tablesOf(t))}}function Gm(n,a){if(1&n&&(e.qex(0),e.j41(1,"div",36)(2,"div",37)(3,"span"),e.EFF(4),e.k0s(),e.j41(5,"code"),e.EFF(6),e.k0s()(),e.DNE(7,Om,2,0,"span",38),e.DNE(8,Pm,2,0,"span",38),e.DNE(9,Dm,4,3,"div",39),e.k0s(),e.DNE(10,$m,3,3,"div",40),e.bVm()),2&n){const t=a.$implicit,o=e.XpG(4);e.R7$(1),e.BMQ("data-backend",t.svc.name),e.R7$(3),e.JRh(t.svc.label),e.R7$(2),e.JRh(t.svc.name),e.R7$(1),e.Y8G("ngIf",!t.spec.editable),e.R7$(1),e.Y8G("ngIf",t.spec.editable&&"add"===o.mode&&!o.roleId),e.R7$(1),e.Y8G("ngIf",!o.locked(t)),e.R7$(1),e.Y8G("ngIf",o.canLimit(t)&&o.expanded.has(t.id))}}function jm(n,a){if(1&n){const t=e.RV6();e.j41(0,"div",33)(1,"div",34)(2,"span"),e.EFF(3),e.k0s(),e.j41(4,"button",35),e.bIt("click",function(){e.eBV(t);const i=e.XpG().$implicit,r=e.XpG(2);return e.Njj(r.readOnAll(i.kind))}),e.EFF(5," Read on all "),e.k0s()(),e.DNE(6,Gm,11,7,"ng-container",17),e.k0s()}if(2&n){const t=e.XpG().$implicit,o=e.XpG(2);e.R7$(3),e.JRh(t.label),e.R7$(1),e.Y8G("disabled","add"===o.mode&&!o.roleId),e.R7$(2),e.Y8G("ngForOf",t.rows)("ngForTrackBy",o.trackByRow)}}function Nm(n,a){if(1&n&&(e.qex(0),e.DNE(1,jm,7,4,"div",32),e.bVm()),2&n){const t=a.$implicit;e.R7$(1),e.Y8G("ngIf",t.rows.length>0)}}function Am(n,a){if(1&n&&(e.j41(0,"p",54),e.EFF(1),e.k0s()),2&n){const t=e.XpG(2);e.R7$(1),e.JRh(t.error)}}function Ym(n,a){1&n&&(e.j41(0,"span",1),e.EFF(1," This changes what the role can do everywhere, not only through MCP. "),e.k0s())}function Vm(n,a){if(1&n){const t=e.RV6();e.qex(0),e.j41(1,"div",11),e.DNE(2,hm,5,2,"mat-form-field",12),e.DNE(3,bm,4,1,"mat-form-field",12),e.DNE(4,vm,2,1,"mat-checkbox",13),e.DNE(5,Cm,5,5,"span",14),e.DNE(6,km,1,1,"input",15),e.k0s(),e.DNE(7,ym,2,0,"p",5),e.DNE(8,Mm,2,0,"p",16),e.DNE(9,Nm,2,1,"ng-container",17),e.j41(10,"p",18),e.EFF(11),e.k0s(),e.DNE(12,Am,2,1,"p",19),e.j41(13,"div",6),e.DNE(14,Ym,2,0,"span",5),e.j41(15,"button",20),e.bIt("click",function(){e.eBV(t);const i=e.XpG();return e.Njj(i.dialogRef.close())}),e.EFF(16," Cancel "),e.k0s(),e.j41(17,"button",21),e.bIt("click",function(){e.eBV(t);const i=e.XpG();return e.Njj(i.save())}),e.EFF(18),e.k0s()(),e.bVm()}if(2&n){const t=e.XpG();e.R7$(2),e.Y8G("ngIf","add"===t.mode),e.R7$(1),e.Y8G("ngIf","create"===t.mode),e.R7$(1),e.Y8G("ngIf","create"===t.mode),e.R7$(1),e.Y8G("ngIf","edit"===t.mode&&t.data.role),e.R7$(1),e.Y8G("ngIf",t.showFilter),e.R7$(1),e.Y8G("ngIf",0===t.data.backends.length),e.R7$(1),e.Y8G("ngIf",!t.data.allowWrites),e.R7$(1),e.Y8G("ngForOf",t.groups)("ngForTrackBy",t.trackByKind),e.R7$(2),e.SpI(" ",t.summaryText," "),e.R7$(1),e.Y8G("ngIf",t.error),e.R7$(2),e.Y8G("ngIf",t.touchesApis),e.R7$(3),e.Y8G("disabled",!t.canSave),e.R7$(1),e.SpI(" ",t.saving?"Saving\u2026":"create"===t.mode?"Create role":"Save"," ")}}const Ln="/api-connections/role-based-access";let Xm=(()=>{class n{constructor(t,o,i){this.dialogRef=t,this.data=o,this.api=i,this.levelsList=["none","read","rw"],this.levelText={none:"No access",read:"Read",rw:"Read and write"},this.roleRoute=Ln,this.roleId=null,this.name="",this.createKey=!1,this.levels={},this.tables={},this.expanded=new Set,this.tableFilter={},this.tableCache={},this.loadingTables=new Set,this.filter="",this.saving=!1,this.error="",this.done=!1,this.apiKey=null,this.trackByKind=(r,c)=>c.kind,this.trackByRow=(r,c)=>c.id,this.mode=o.mode,this.serviceId=o.store.service.id,this.serviceLabel=o.store.service.label||o.store.service.name;for(const r of o.backends)this.levels[r.id]="none";"edit"===o.mode&&o.role&&(this.roleId=o.role.id,this.seed(o.role)),"create"===o.mode&&(this.name=function pm(n){const a=n.toLowerCase().replace(/[^a-z0-9]+/g,"_").replace(/^_|_$/g,"");return a?`${a}_access`:"mcp_access"}(this.serviceLabel))}get title(){return"create"===this.mode?`Create a role for ${this.serviceLabel}`:"add"===this.mode?`Add a role to ${this.serviceLabel}`:`Edit access to ${this.serviceLabel}`}get hint(){return"edit"===this.mode?"Per exposed service. No access removes the role\u2019s row for that service.":"The role is granted this MCP server. Pick what else it may reach \u2014 No access is the default."}ids(){return[this.serviceId,...this.data.backends.map(t=>t.id)]}seed(t){const o=it(t.rows,this.ids());this.tables={};for(const i of this.data.backends){const r=i.id;this.levels[r]=o[r]?.level??"none",o[r]?.tables?.length&&(this.tables[r]=[...o[r].tables])}}get addableRoles(){return this.data.roles.filter(t=>!1!==t.isActive&&!this.data.grantedIds.has(t.id))}get currentRole(){return this.data.role??this.data.roles.find(t=>t.id===this.roleId)}currentSpecs(){return it(this.currentRole?.rows??[],this.ids())}onRolePicked(t){this.roleId=t;const o=this.currentRole;o&&this.seed(o)}get showFilter(){return this.data.backends.length>6}rowsOf(t){const o=this.currentSpecs(),i=this.filter.trim().toLowerCase();return this.data.backends.filter(r=>r.kind===t).filter(r=>!i||r.label.toLowerCase().includes(i)||r.name.toLowerCase().includes(i)).map(r=>({svc:r,id:r.id,spec:o[r.id]??ot}))}get groups(){return[{kind:"db",label:"Databases",rows:this.rowsOf("db")},{kind:"file",label:"File stores",rows:this.rowsOf("file")}]}locked(t){return"add"===this.mode&&!this.roleId||!t.spec.editable}setLevel(t,o){this.locked(t)||"rw"===o&&!this.data.allowWrites||(this.levels[t.id]=o,"none"===o&&(delete this.tables[t.id],this.expanded.delete(t.id)))}readOnAll(t){for(const o of this.rowsOf(t))!this.locked(o)&&"none"===this.levels[o.id]&&(this.levels[o.id]="read")}canLimit(t){return"db"===t.svc.kind&&!this.locked(t)&&"none"!==(this.levels[t.id]??"none")}toggleExpanded(t){if(this.expanded.delete(t.id))return;this.expanded.add(t.id);const o=t.svc.name;this.tableCache[o]||this.loadingTables.has(o)||(this.loadingTables.add(o),this.api.listTables(o).subscribe(i=>{this.tableCache[o]=i,this.loadingTables.delete(o)}))}tablesOf(t){return this.tableCache[t.svc.name]??null}visibleTables(t){const o=this.tablesOf(t)??[],i=(this.tableFilter[t.id]??"").trim().toLowerCase();return i?o.filter(r=>r.toLowerCase().includes(i)):o}ticked(t,o){return(this.tables[t.id]??[]).includes(o)}toggleTable(t,o){const i=this.tables[t.id]??[];this.tables[t.id]=i.includes(o)?i.filter(r=>r!==o):[...i,o]}tickedCount(t){return(this.tables[t.id]??[]).length}limitLabel(t){const o=this.tickedCount(t);if(0===o)return"Limit to tables";const i=this.tablesOf(t);return i?`${o} of ${i.length} tables`:`${o} ${1===o?"table":"tables"}`}get changes(){return function rm(n){const a=[],t=n.specs[n.serverId]??ot;t.editable&&a.push({serviceId:n.serverId,label:n.serverLabel,before:t.level,after:"none"===t.level?"read":t.level});for(const o of n.backends){const i=n.specs[o.id]??ot;if(!i.editable)continue;const r=n.tables?.[o.id],c=n.tableTotals?.[o.id];a.push({serviceId:o.id,label:o.label,before:i.level,after:n.levels[o.id]??"none",...i.tables?.length?{beforeTables:i.tables}:{},...r?.length?{tables:r}:{},...null!=c?{tableTotal:c}:{}})}return a}({serverId:this.serviceId,serverLabel:this.serviceLabel,backends:this.data.backends.map(t=>({id:t.id,label:t.label})),specs:this.currentSpecs(),levels:this.levels,tables:this.tables,tableTotals:Object.fromEntries(this.data.backends.filter(t=>this.tableCache[t.name]).map(t=>[t.id,this.tableCache[t.name].length]))})}get summaryText(){return function lm(n,a){const t=[];return"create"===a.mode&&t.push(`Creates role ${a.roleName||"\u2026"}`),"grant"===n.server&&t.push("grants this MCP server"),"edit"===a.mode?(n.read.forEach(o=>t.push(`+ read on ${o}`)),n.rw.forEach(o=>t.push(`+ read and write on ${o}`))):(n.read.length&&t.push(`read on ${Vn(n.read.length,"API","APIs")}`),n.rw.length&&t.push(`read and write on ${Vn(n.rw.length,"API","APIs")}`)),n.deltas.forEach(o=>t.push(`${sm[o.delta]} ${o.label}`)),n.listing&&t.push("plus table listing (GET _table/) on limited APIs"),"create"===a.mode&&a.createKey&&t.push("creates an API key"),t.length?t.join(", "):"No changes yet."}(Yn(this.changes,this.serviceId),{mode:this.mode,roleName:this.name.trim(),createKey:this.createKey})}get touchesApis(){const t=Yn(this.changes,this.serviceId);return t.read.length+t.rw.length+t.deltas.length>0}get canSave(){return!(this.saving||"add"===this.mode&&!this.roleId)&&("create"===this.mode?!!this.name.trim():this.changes.some(At))}save(){if(!this.canSave)return;this.saving=!0,this.error="";const t=Xn(this.changes,this.currentRole?.rows??[]),o=this.name.trim();("create"===this.mode?this.api.createRole(o,`Created from the ${this.serviceLabel} MCP page`,t).pipe((0,Ce.n)(r=>this.createKey?this.api.createAppKey(`${o}_app`,r).pipe((0,R.W)(()=>(0,L.of)(null))):(0,L.of)(null))):this.api.patchRoleAccess(this.roleId,t)).subscribe({next:r=>{this.saving=!1,"create"===this.mode&&this.createKey?(this.apiKey=r??null,this.apiKey&&(this.data.store.createdApiKey=this.apiKey),this.done=!0):this.dialogRef.close(!0)},error:r=>{this.saving=!1,this.error=(0,De.cQ)(r).message}})}copyKey(){this.apiKey&&navigator.clipboard?.writeText(this.apiKey).catch(()=>{})}static{this.\u0275fac=function(o){return new(o||n)(e.rXU(h.CP),e.rXU(h.Vh),e.rXU(Bn))}}static{this.\u0275cmp=e.VBU({type:n,selectors:[["df-mcp-access-editor"]],standalone:!0,features:[e.aNF],decls:7,vars:5,consts:[["data-testid","mcp-access-editor",1,"mcp-acc-editor"],[1,"mcp-acc-hint"],[4,"ngIf"],[1,"mcp-acc-created"],["class","mcp-acc-keybox",4,"ngIf"],["class","mcp-acc-hint",4,"ngIf"],[1,"mcp-acc-actions"],["mat-flat-button","","color","primary","type","button",3,"click"],[1,"mcp-acc-keybox"],["data-testid","mcp-access-key"],["mat-stroked-button","","type","button",3,"click"],[1,"mcp-acc-top"],["appearance","outline","subscriptSizing","dynamic",4,"ngIf"],["color","primary","name","createKey","data-testid","mcp-access-createkey",3,"ngModel","ngModelChange",4,"ngIf"],["class","mcp-acc-role",4,"ngIf"],["type","search","class","mcp-acc-filter","name","filter","placeholder","Filter services\u2026","aria-label","Filter services",3,"ngModel","ngModelChange",4,"ngIf"],["class","mcp-acc-warn",4,"ngIf"],[4,"ngFor","ngForOf","ngForTrackBy"],["data-testid","mcp-access-summary",1,"mcp-acc-summary"],["class","mcp-acc-error",4,"ngIf"],["mat-button","","type","button",3,"click"],["mat-flat-button","","color","primary","type","button","data-testid","mcp-access-save",3,"disabled","click"],["appearance","outline","subscriptSizing","dynamic"],["data-testid","mcp-access-role",3,"value","selectionChange"],[3,"value",4,"ngFor","ngForOf"],[3,"value"],["matInput","","name","name","data-testid","mcp-access-name",3,"ngModel","ngModelChange"],["color","primary","name","createKey","data-testid","mcp-access-createkey",3,"ngModel","ngModelChange"],[1,"mcp-acc-role"],[3,"routerLink","click"],["type","search","name","filter","placeholder","Filter services\u2026","aria-label","Filter services",1,"mcp-acc-filter",3,"ngModel","ngModelChange"],[1,"mcp-acc-warn"],["class","mcp-acc-group",4,"ngIf"],[1,"mcp-acc-group"],[1,"mcp-acc-group-hd"],["mat-button","","type","button",3,"disabled","click"],[1,"mcp-acc-row"],[1,"mcp-acc-name"],["class","mcp-acc-why",4,"ngIf"],["class","mcp-acc-ctl",4,"ngIf"],["class","mcp-acc-tables",4,"ngIf"],[1,"mcp-acc-why"],[1,"mcp-acc-ctl"],["type","button","class","mcp-linklike","data-testid","mcp-limit-tables",3,"click",4,"ngIf"],["role","radiogroup",1,"mcp-acc-seg"],["type","button","role","radio","class","mcp-acc-opt",3,"on","disabled","matTooltip","click",4,"ngFor","ngForOf"],["type","button","data-testid","mcp-limit-tables",1,"mcp-linklike",3,"click"],["type","button","role","radio",1,"mcp-acc-opt",3,"disabled","matTooltip","click"],[1,"mcp-acc-tables"],["type","search","class","mcp-acc-filter","placeholder","Filter tables\u2026","aria-label","Filter tables",3,"ngModel","name","ngModelChange",4,"ngIf"],[1,"mcp-acc-tlist"],["color","primary",3,"checked","change",4,"ngFor","ngForOf"],["type","search","placeholder","Filter tables\u2026","aria-label","Filter tables",1,"mcp-acc-filter",3,"ngModel","name","ngModelChange"],["color","primary",3,"checked","change"],[1,"mcp-acc-error"]],template:function(o,i){1&o&&(e.j41(0,"div",0)(1,"h2"),e.EFF(2),e.k0s(),e.j41(3,"p",1),e.EFF(4),e.k0s(),e.DNE(5,fm,8,3,"ng-container",2),e.DNE(6,Vm,19,14,"ng-container",2),e.k0s()),2&o&&(e.BMQ("data-mode",i.mode),e.R7$(2),e.JRh(i.title),e.R7$(2),e.JRh(i.hint),e.R7$(1),e.Y8G("ngIf",i.done),e.R7$(1),e.Y8G("ngIf",!i.done))},dependencies:[d.MD,d.Sq,d.bT,m.YN,m.me,m.BC,m.vS,u.Hl,u.$z,j.g7,j.So,h.hM,O.RG,O.rl,O.nJ,E.fS,E.fg,G.Ve,G.VO,q.wT,S.uc,S.oV,N.Wk],styles:[".mcp-acc-editor[_ngcontent-%COMP%]{padding:18px 20px 14px;font-family:Inter,Helvetica Neue,sans-serif;font-size:13px}.mcp-acc-editor[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{margin:0 0 4px;font-size:16px;font-weight:700}.mcp-acc-hint[_ngcontent-%COMP%]{font-size:12.5px;opacity:.75;margin:0 0 10px}.mcp-acc-warn[_ngcontent-%COMP%]{font-size:12.5px;background:var(--df-warning-soft);border:1px solid color-mix(in srgb,var(--df-warning) 40%,transparent);border-radius:8px;padding:6px 10px;margin:0 0 10px}.mcp-acc-top[_ngcontent-%COMP%]{display:flex;flex-wrap:wrap;align-items:center;gap:12px;margin-bottom:10px}.mcp-acc-role[_ngcontent-%COMP%]{display:inline-flex;gap:10px;align-items:center}.mcp-acc-role[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{color:var(--df-accent);font-weight:600;text-decoration:none}.mcp-acc-filter[_ngcontent-%COMP%]{padding:6px 10px;border:1px solid color-mix(in srgb,var(--df-text) 20%,transparent);border-radius:6px;font:inherit;min-width:200px}.mcp-acc-group[_ngcontent-%COMP%]{border:1px solid color-mix(in srgb,var(--df-text) 8%,transparent);border-radius:10px;margin-bottom:10px;padding:4px 12px 8px}.mcp-acc-group-hd[_ngcontent-%COMP%]{display:flex;justify-content:space-between;align-items:center;font-size:11.5px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;opacity:.8}.mcp-acc-row[_ngcontent-%COMP%]{display:flex;flex-wrap:wrap;align-items:center;gap:8px 12px;padding:6px 0;border-top:1px solid color-mix(in srgb,var(--df-text) 5%,transparent)}.mcp-acc-name[_ngcontent-%COMP%]{flex:1 1 180px;display:flex;gap:8px;align-items:baseline;min-width:0}.mcp-acc-name[_ngcontent-%COMP%] code[_ngcontent-%COMP%]{font-size:11.5px;opacity:.65}.mcp-acc-why[_ngcontent-%COMP%]{font-size:12px;opacity:.7;font-style:italic}.mcp-acc-ctl[_ngcontent-%COMP%]{display:flex;align-items:center;gap:10px}.mcp-acc-seg[_ngcontent-%COMP%]{display:inline-flex;border:1px solid color-mix(in srgb,var(--df-text) 18%,transparent);border-radius:8px;overflow:hidden}.mcp-acc-opt[_ngcontent-%COMP%]{border:0;background:var(--df-surface);padding:4px 10px;font:inherit;font-size:12px;cursor:pointer;white-space:nowrap}.mcp-acc-opt[_ngcontent-%COMP%] + .mcp-acc-opt[_ngcontent-%COMP%]{border-left:1px solid color-mix(in srgb,var(--df-text) 12%,transparent)}.mcp-acc-opt.on[_ngcontent-%COMP%]{background:color-mix(in srgb,var(--df-accent) 14%,transparent);color:var(--df-accent);font-weight:700}.mcp-acc-opt[_ngcontent-%COMP%]:disabled{cursor:not-allowed;opacity:.45}.mcp-linklike[_ngcontent-%COMP%]{background:none;border:0;padding:0;font:inherit;font-size:12px;color:var(--df-accent);cursor:pointer}.mcp-acc-tables[_ngcontent-%COMP%]{padding:4px 0 8px 14px}.mcp-acc-tlist[_ngcontent-%COMP%]{display:grid;grid-template-columns:repeat(auto-fill,minmax(160px,1fr));max-height:220px;overflow:auto}.mcp-acc-summary[_ngcontent-%COMP%]{background:color-mix(in srgb,var(--df-accent) 7%,transparent);border-radius:8px;padding:8px 12px;margin:6px 0 4px}.mcp-acc-error[_ngcontent-%COMP%]{color:var(--df-danger);margin:4px 0}.mcp-acc-created[_ngcontent-%COMP%]{font-weight:600}.mcp-acc-keybox[_ngcontent-%COMP%]{display:flex;flex-direction:column;align-items:flex-start;gap:8px;background:var(--df-warning-soft);border:1px solid color-mix(in srgb,var(--df-warning) 40%,transparent);border-radius:8px;padding:10px 12px}.mcp-acc-keybox[_ngcontent-%COMP%] code[_ngcontent-%COMP%]{word-break:break-all;-webkit-user-select:all;user-select:all}.mcp-acc-actions[_ngcontent-%COMP%]{display:flex;justify-content:flex-end;align-items:center;flex-wrap:wrap;gap:8px;margin-top:12px}.mcp-acc-actions[_ngcontent-%COMP%] .mcp-acc-hint[_ngcontent-%COMP%]{margin:0 auto 0 0}"]})}}return n})();function zm(n,a){1&n&&(e.j41(0,"p",9),e.EFF(1," \u26a0 Require role access is off: any logged-in user can connect. Roles below only limit what data calls may touch. "),e.k0s())}function Bm(n,a){1&n&&(e.j41(0,"p",2),e.EFF(1,"Loading roles\u2026"),e.k0s())}function Lm(n,a){1&n&&(e.j41(0,"p",2),e.EFF(1," Request counts unavailable; roles shown from their grants. "),e.k0s())}function Um(n,a){if(1&n){const t=e.RV6();e.j41(0,"button",20),e.bIt("click",function(){e.eBV(t);const i=e.XpG().$implicit,r=e.XpG(3);return e.Njj(r.open("edit",i))}),e.EFF(1," Edit "),e.k0s()}}function qm(n,a){if(1&n&&(e.j41(0,"span"),e.EFF(1),e.nI1(2,"slice"),e.k0s()),2&n){const t=e.XpG().$implicit;e.R7$(1),e.SpI("last seen ",e.brH(2,1,t.lastSeen,0,16),"")}}function Km(n,a){if(1&n&&(e.j41(0,"span",21),e.EFF(1),e.k0s()),2&n){const t=e.XpG().$implicit;e.Y8G("matTooltip","API key (app) bound to this role"),e.R7$(1),e.SpI("\u{1f511} ",t.keyName,"")}}const Un=function(n,a){return[n,a]};function Jm(n,a){if(1&n&&(e.j41(0,"li",13)(1,"div",14)(2,"a",15),e.EFF(3),e.k0s(),e.j41(4,"span",16),e.EFF(5,"granted"),e.k0s(),e.DNE(6,Um,2,0,"button",17),e.k0s(),e.j41(7,"div",18)(8,"span"),e.EFF(9),e.k0s(),e.j41(10,"span"),e.EFF(11),e.k0s(),e.DNE(12,qm,3,5,"span",5),e.DNE(13,Km,2,2,"span",19),e.k0s()()),2&n){const t=a.$implicit,o=e.XpG(3);e.BMQ("data-role",t.name),e.R7$(2),e.Y8G("routerLink",e.l_i(11,Un,o.roleRoute,t.roleId)),e.R7$(1),e.JRh(t.name),e.R7$(3),e.Y8G("ngIf",t.exists),e.R7$(3),e.Lme("",t.requests," ",1===t.requests?"request":"requests",""),e.R7$(1),e.AVh("mcp-access-denied",t.denied>0),e.R7$(1),e.SpI("",t.denied," denied"),e.R7$(1),e.Y8G("ngIf",t.lastSeen),e.R7$(1),e.Y8G("ngIf",t.keyName)}}function Hm(n,a){if(1&n&&(e.j41(0,"ul",11),e.DNE(1,Jm,14,14,"li",12),e.k0s()),2&n){const t=e.XpG(2);e.R7$(1),e.Y8G("ngForOf",t.granted)("ngForTrackBy",t.trackByRole)}}function Wm(n,a){if(1&n&&(e.j41(0,"p",2),e.EFF(1),e.k0s()),2&n){const t=e.XpG(2);e.R7$(1),e.SpI(" ",t.requireRoleAccess?"No role can connect yet. Add a role or create one.":"No role holds a grant on this server."," ")}}function Qm(n,a){if(1&n&&(e.j41(0,"a",15),e.EFF(1),e.k0s()),2&n){const t=e.XpG().$implicit,o=e.XpG(3);e.Y8G("routerLink",e.l_i(2,Un,o.roleRoute,t.roleId)),e.R7$(1),e.JRh(t.name)}}function Zm(n,a){if(1&n&&(e.j41(0,"span",28),e.EFF(1),e.k0s()),2&n){const t=e.XpG().$implicit;e.R7$(1),e.SpI("",t.name," (deleted)")}}function e_(n,a){if(1&n){const t=e.RV6();e.j41(0,"button",29),e.bIt("click",function(){e.eBV(t);const i=e.XpG().$implicit,r=e.XpG(3);return e.Njj(r.grant(i))}),e.EFF(1," Grant "),e.k0s()}if(2&n){const t=e.XpG().$implicit,o=e.XpG(3);e.Y8G("disabled",o.granting===t.roleId)}}function t_(n,a){if(1&n&&(e.j41(0,"span"),e.EFF(1),e.nI1(2,"slice"),e.k0s()),2&n){const t=e.XpG().$implicit;e.R7$(1),e.SpI("last seen ",e.brH(2,1,t.lastSeen,0,16),"")}}function n_(n,a){if(1&n&&(e.j41(0,"li",24)(1,"div",14),e.DNE(2,Qm,2,5,"a",25),e.DNE(3,Zm,2,1,"span",26),e.DNE(4,e_,2,1,"button",27),e.k0s(),e.j41(5,"div",18)(6,"span"),e.EFF(7),e.k0s(),e.j41(8,"span"),e.EFF(9),e.k0s(),e.DNE(10,t_,3,5,"span",5),e.k0s()()),2&n){const t=a.$implicit;e.BMQ("data-role",t.name),e.R7$(2),e.Y8G("ngIf",t.exists),e.R7$(1),e.Y8G("ngIf",!t.exists),e.R7$(1),e.Y8G("ngIf",t.exists),e.R7$(3),e.Lme("",t.requests," ",1===t.requests?"request":"requests",""),e.R7$(1),e.AVh("mcp-access-denied",t.denied>0),e.R7$(1),e.SpI("",t.denied," denied"),e.R7$(1),e.Y8G("ngIf",t.lastSeen)}}function o_(n,a){if(1&n&&(e.qex(0),e.j41(1,"h3",22),e.EFF(2,"Seen in the last 30 days without a grant"),e.k0s(),e.j41(3,"ul",11),e.DNE(4,n_,11,10,"li",23),e.k0s(),e.bVm()),2&n){const t=e.XpG(2);e.R7$(4),e.Y8G("ngForOf",t.seen)("ngForTrackBy",t.trackByRole)}}function i_(n,a){if(1&n&&(e.qex(0),e.DNE(1,Lm,2,0,"p",4),e.DNE(2,Hm,2,2,"ul",10),e.DNE(3,Wm,2,1,"p",4),e.DNE(4,o_,5,2,"ng-container",5),e.bVm()),2&n){const t=e.XpG();e.R7$(1),e.Y8G("ngIf",!t.access),e.R7$(1),e.Y8G("ngIf",t.granted.length>0),e.R7$(1),e.Y8G("ngIf",0===t.granted.length),e.R7$(1),e.Y8G("ngIf",t.seen.length>0)}}let r_=(()=>{class n{constructor(t,o,i){this.api=t,this.dialog=o,this.snackbar=i,this.roleRoute=Ln,this.loading=!1,this.access=null,this.roles=[],this.apps=[],this.rows=[],this.granting=null,this.trackByRole=(r,c)=>c.roleId}ngOnChanges(t){t.store&&this.load()}load(){const t=this.store?.service?.id;null!=t&&(this.loading=!0,(0,ue.p)({access:this.api.access(t),roles:this.api.roles(),apps:this.api.apps()}).subscribe(({access:o,roles:i,apps:r})=>{this.access=o,this.roles=i,this.apps=r,this.rows=function a_(n,a,t,o){const i=c=>o.find(s=>s.roleId===c)?.name??null,r=new Map;for(const c of a?.roles??[])r.set(c.role_id,{roleId:c.role_id,name:c.name,granted:!!c.granted,requests:c.requests??0,denied:c.denied??0,lastSeen:c.last_seen??null,keyName:i(c.role_id),exists:t.some(s=>s.id===c.role_id)});for(const c of t)r.has(c.id)||"none"!==it(c.rows,[n])[n].level&&r.set(c.id,{roleId:c.id,name:c.name,granted:!0,requests:0,denied:0,lastSeen:null,keyName:i(c.id),exists:!0});return[...r.values()].sort((c,s)=>c.granted===s.granted?s.requests-c.requests:c.granted?-1:1)}(t,o,i,r),this.loading=!1}))}get granted(){return this.rows.filter(t=>t.granted)}get seen(){return this.rows.filter(t=>!t.granted)}get requireRoleAccess(){return this.access?.require_role_access??zn(this.store.cfg.rest,"require_role_access","requireRoleAccess",!1)}get allowWrites(){return zn(this.store.cfg.rest,"allow_writes","allowWrites",!0)}backends(){return this.store.rows().map(t=>t.svc).filter(t=>!!t&&null!=t.id)}grant(t){const o=this.roles.find(r=>r.id===t.roleId);if(!o)return;const i=function dm(n,a){return"none"!==it(a,[n])[n].level?[]:Xn([{serviceId:n,label:"",before:"none",after:"read"}],a)}(this.store.service.id,o.rows);if(0===i.length)return this.load();this.granting=t.roleId,this.api.patchRoleAccess(o.id,i).subscribe({next:()=>{this.granting=null,this.snackbar.openSnackBar(`${t.name} can now connect to this server.`,"success"),this.load()},error:r=>{this.granting=null,this.snackbar.openSnackBar((0,De.cQ)(r).message,"error")}})}open(t,o){const i={store:this.store,mode:t,backends:this.backends(),allowWrites:this.allowWrites,roles:this.roles,role:o?this.roles.find(r=>r.id===o.roleId):void 0,grantedIds:new Set(this.granted.map(r=>r.roleId))};this.dialog.open(Xm,{data:i,width:"720px",maxWidth:"95vw",disableClose:!0}).afterClosed().subscribe(r=>{r&&(this.store.touch(),this.load())})}static{this.\u0275fac=function(o){return new(o||n)(e.rXU(Bn),e.rXU(h.bZ),e.rXU(pe.L))}}static{this.\u0275cmp=e.VBU({type:n,selectors:[["df-mcp-access"]],inputs:{store:"store"},standalone:!0,features:[e.OA$,e.aNF],decls:13,vars:3,consts:[["data-testid","mcp-access",1,"mcp-access"],[1,"mcp-rail-title"],[1,"mcp-access-note"],["class","mcp-access-warn","data-testid","mcp-access-open",4,"ngIf"],["class","mcp-access-note",4,"ngIf"],[4,"ngIf"],[1,"mcp-access-actions"],["mat-stroked-button","","type","button","data-testid","mcp-access-add",3,"click"],["mat-flat-button","","color","primary","type","button","data-testid","mcp-access-create",3,"click"],["data-testid","mcp-access-open",1,"mcp-access-warn"],["class","mcp-access-list",4,"ngIf"],[1,"mcp-access-list"],["data-testid","mcp-access-granted",4,"ngFor","ngForOf","ngForTrackBy"],["data-testid","mcp-access-granted"],[1,"mcp-access-line"],[1,"mcp-access-name",3,"routerLink"],[1,"mcp-chip","good"],["type","button","class","mcp-linklike","data-testid","mcp-access-edit",3,"click",4,"ngIf"],[1,"mcp-access-stats"],[3,"matTooltip",4,"ngIf"],["type","button","data-testid","mcp-access-edit",1,"mcp-linklike",3,"click"],[3,"matTooltip"],[1,"mcp-access-sub"],["data-testid","mcp-access-seen",4,"ngFor","ngForOf","ngForTrackBy"],["data-testid","mcp-access-seen"],["class","mcp-access-name",3,"routerLink",4,"ngIf"],["class","mcp-access-name","matTooltip","This role no longer exists",4,"ngIf"],["mat-stroked-button","","type","button","class","mcp-access-grant","data-testid","mcp-access-grant",3,"disabled","click",4,"ngIf"],["matTooltip","This role no longer exists",1,"mcp-access-name"],["mat-stroked-button","","type","button","data-testid","mcp-access-grant",1,"mcp-access-grant",3,"disabled","click"]],template:function(o,i){1&o&&(e.j41(0,"section",0)(1,"h2",1),e.EFF(2,"Access"),e.k0s(),e.j41(3,"p",2),e.EFF(4," Roles filter further per caller \u2014 a role also needs access to each exposed service it should reach. "),e.k0s(),e.DNE(5,zm,2,0,"p",3),e.DNE(6,Bm,2,0,"p",4),e.DNE(7,i_,5,4,"ng-container",5),e.j41(8,"div",6)(9,"button",7),e.bIt("click",function(){return i.open("add")}),e.EFF(10," Add existing role "),e.k0s(),e.j41(11,"button",8),e.bIt("click",function(){return i.open("create")}),e.EFF(12," Create role "),e.k0s()()()),2&o&&(e.R7$(5),e.Y8G("ngIf",!i.requireRoleAccess),e.R7$(1),e.Y8G("ngIf",i.loading),e.R7$(1),e.Y8G("ngIf",!i.loading))},dependencies:[d.MD,d.Sq,d.bT,d.P9,u.Hl,u.$z,h.hM,S.uc,S.oV,N.Wk],styles:['@charset "UTF-8";.mcp-access[_ngcontent-%COMP%]{border-top:1px solid color-mix(in srgb,var(--df-text) 8%,transparent);padding-top:10px;margin-top:8px;font-size:12.5px}.mcp-rail-title[_ngcontent-%COMP%]{font-size:11.5px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;opacity:.7;margin:0 0 6px}.mcp-access-note[_ngcontent-%COMP%]{opacity:.75;margin:0 0 8px}.mcp-access-warn[_ngcontent-%COMP%]{background:var(--df-warning-soft);border:1px solid color-mix(in srgb,var(--df-warning) 40%,transparent);border-radius:8px;padding:6px 8px;margin:0 0 8px}.mcp-access-sub[_ngcontent-%COMP%]{font-size:12px;font-weight:700;margin:10px 0 4px}.mcp-access-list[_ngcontent-%COMP%]{list-style:none;padding:0;margin:0 0 8px}.mcp-access-list[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{padding:5px 0;border-bottom:1px solid color-mix(in srgb,var(--df-text) 5%,transparent)}.mcp-access-line[_ngcontent-%COMP%]{display:flex;align-items:center;gap:6px}.mcp-access-name[_ngcontent-%COMP%]{font-weight:600;color:inherit;text-decoration:none;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;margin-right:auto}.mcp-access-name[_ngcontent-%COMP%]:hover{text-decoration:underline}.mcp-access-stats[_ngcontent-%COMP%]{display:flex;flex-wrap:wrap;gap:2px 10px;font-size:11.5px;opacity:.75;font-variant-numeric:tabular-nums}.mcp-access-denied[_ngcontent-%COMP%]{color:var(--df-danger);opacity:1}.mcp-access-actions[_ngcontent-%COMP%]{display:flex;flex-wrap:wrap;gap:6px}.mcp-linklike[_ngcontent-%COMP%]{background:none;border:0;padding:0;font:inherit;color:var(--df-accent);font-weight:600;cursor:pointer}.mcp-chip[_ngcontent-%COMP%]{display:inline-flex;align-items:center;padding:1px 7px;border-radius:999px;font-size:11px;font-weight:600;border:1px solid color-mix(in srgb,var(--df-text) 14%,transparent);white-space:nowrap}.mcp-chip.good[_ngcontent-%COMP%]{background:var(--df-success-soft);border-color:color-mix(in srgb,var(--df-success) 35%,transparent);color:var(--df-success)}']})}}return n})();function c_(n,a){1&n&&(e.j41(0,"mat-error"),e.EFF(1," A name is required. "),e.k0s())}function s_(n,a){1&n&&(e.j41(0,"mat-error"),e.EFF(1," Letters, numbers and underscores only. "),e.k0s())}function l_(n,a){if(1&n&&(e.j41(0,"mat-error"),e.EFF(1),e.k0s()),2&n){const t=e.XpG();e.R7$(1),e.SpI(" A tool named ",t.form.controls.name.value," already exists. Choose another name. ")}}function d_(n,a){if(1&n&&(e.j41(0,"mat-option",23),e.EFF(1),e.k0s()),2&n){const t=a.$implicit;e.Y8G("value",t),e.R7$(1),e.JRh(t)}}function p_(n,a){1&n&&(e.j41(0,"mat-error"),e.EFF(1," A URL is required for an API tool. "),e.k0s())}function m_(n,a){1&n&&(e.j41(0,"mat-error"),e.EFF(1," Not valid JSON. "),e.k0s())}function __(n,a){1&n&&(e.j41(0,"mat-error"),e.EFF(1," Not valid JSON. "),e.k0s())}function g_(n,a){if(1&n&&(e.qex(0),e.j41(1,"div",15)(2,"mat-form-field",16)(3,"mat-label"),e.EFF(4,"Method"),e.k0s(),e.j41(5,"mat-select",17),e.DNE(6,d_,2,2,"mat-option",18),e.k0s()(),e.j41(7,"mat-form-field",19)(8,"mat-label"),e.EFF(9,"URL"),e.k0s(),e.nrm(10,"input",20),e.DNE(11,p_,2,0,"mat-error",9),e.k0s()(),e.j41(12,"mat-form-field",7)(13,"mat-label"),e.EFF(14,"Parameters (JSON, optional)"),e.k0s(),e.nrm(15,"textarea",21),e.DNE(16,m_,2,0,"mat-error",9),e.k0s(),e.j41(17,"mat-form-field",7)(18,"mat-label"),e.EFF(19,"Headers (JSON, optional)"),e.k0s(),e.nrm(20,"textarea",22),e.DNE(21,__,2,0,"mat-error",9),e.k0s(),e.bVm()),2&n){const t=e.XpG();e.R7$(6),e.Y8G("ngForOf",t.methods),e.R7$(5),e.Y8G("ngIf",t.form.controls.url.hasError("required")),e.R7$(5),e.Y8G("ngIf",t.form.controls.parameters.hasError("json")),e.R7$(5),e.Y8G("ngIf",t.form.controls.headers.hasError("json"))}}function f_(n,a){1&n&&(e.j41(0,"mat-error"),e.EFF(1," Function code is required for a function tool. "),e.k0s())}function u_(n,a){if(1&n&&(e.j41(0,"mat-form-field",7)(1,"mat-label"),e.EFF(2,"Function code"),e.k0s(),e.nrm(3,"textarea",24),e.DNE(4,f_,2,0,"mat-error",9),e.k0s()),2&n){const t=e.XpG();e.R7$(4),e.Y8G("ngIf",t.form.controls.functionCode.hasError("required"))}}let qn=(()=>{class n{constructor(t,o,i){this.dialogRef=t,this.data=o,this.fb=i,this.methods=["GET","POST","PUT","PATCH","DELETE"],this.takenNames=new Set}ngOnInit(){const t=this.data.tool;this.takenNames=function h_(n,a){const t=new Set;ye.forEach(i=>t.add(i.verb)),Pt.forEach(i=>t.add(i.verb));const o=n.effective().effectiveStyle;for(const i of n.rows())if(i.svc)for(const r of $(i.svc.kind))t.add($t(o,i.svc.name,r.verb));for(const i of n.cfg.customTools??[])i?.name&&i.name!==a&&t.add(i.name);return t}(this.data.store,t?.name),this.form=this.fb.group({toolType:[t?.toolType||"api"],name:[t?.name??"",[m.k0.required,m.k0.pattern(/^[a-zA-Z0-9_]+$/),o=>this.takenNames.has(o.value)?{collision:!0}:null]],description:[t?.description??""],httpMethod:[t?.httpMethod||"GET"],url:[t?.url??""],parameters:[this.toJsonText(t?.parameters)],headers:[this.toJsonText(t?.headers)],functionCode:[t?.function??""]}),this.dialogRef.keydownEvents().subscribe(o=>{"Escape"===o.key&&this.attemptDismiss()}),this.dialogRef.backdropClick().subscribe(()=>this.attemptDismiss())}attemptDismiss(){(!this.form.dirty||window.confirm("Discard this custom tool? Your unsaved edits will be lost."))&&this.dialogRef.close()}toJsonText(t){if(null==t||""===t)return"";if("string"==typeof t)return t;try{return JSON.stringify(t,null,2)}catch{return""}}parseJson(t){const o=(t??"").trim();if(!o)return null;try{return JSON.parse(o)}catch{return}}save(){const t=this.form.value,o="api"===t.toolType;this.form.controls.url.setErrors(o&&!(t.url??"").trim()?{required:!0}:null),this.form.controls.functionCode.setErrors(o||(t.functionCode??"").trim()?null:{required:!0});let i=null,r=null;if(o&&(i=this.parseJson(t.parameters),r=this.parseJson(t.headers),this.form.controls.parameters.setErrors(void 0===i?{json:!0}:null),this.form.controls.headers.setErrors(void 0===r?{json:!0}:null)),this.form.markAllAsTouched(),this.form.invalid)return;const c=this.data.tool??{};this.dialogRef.close({...c,toolType:t.toolType,name:t.name,description:t.description??"",httpMethod:o?t.httpMethod:c.httpMethod??"GET",url:o?t.url:c.url??"",parameters:o?i:c.parameters??null,headers:o?r:c.headers??null,function:o?c.function??"":t.functionCode,enabled:!1!==c.enabled&&0!==c.enabled})}static{this.\u0275fac=function(o){return new(o||n)(e.rXU(h.CP),e.rXU(h.Vh),e.rXU(m.ok))}}static{this.\u0275cmp=e.VBU({type:n,selectors:[["df-mcp-custom-tool-dialog"]],standalone:!0,features:[e.aNF],decls:30,vars:8,consts:[["data-testid","mcp-custom-dialog",1,"mcp-ct-dialog"],[3,"formGroup","ngSubmit"],[1,"mcp-ct-type"],[1,"mcp-ct-type-label"],["formControlName","toolType"],["value","api"],["value","function"],["appearance","outline",1,"mcp-ct-field"],["matInput","","formControlName","name","data-testid","mcp-custom-name"],[4,"ngIf"],["matInput","","formControlName","description"],["appearance","outline","class","mcp-ct-field",4,"ngIf"],[1,"mcp-ct-actions"],["mat-button","","type","button",3,"click"],["mat-flat-button","","color","primary","type","submit","data-testid","mcp-custom-save"],[1,"mcp-ct-api-row"],["appearance","outline",1,"mcp-ct-method"],["formControlName","httpMethod"],[3,"value",4,"ngFor","ngForOf"],["appearance","outline",1,"mcp-ct-url"],["matInput","","formControlName","url","placeholder","https://\u2026"],["matInput","","formControlName","parameters","rows","3"],["matInput","","formControlName","headers","rows","3"],[3,"value"],["matInput","","formControlName","functionCode","rows","8"]],template:function(o,i){1&o&&(e.j41(0,"div",0)(1,"h2"),e.EFF(2),e.k0s(),e.j41(3,"form",1),e.bIt("ngSubmit",function(){return i.save()}),e.j41(4,"div",2)(5,"span",3),e.EFF(6,"Tool type:"),e.k0s(),e.j41(7,"mat-radio-group",4)(8,"mat-radio-button",5),e.EFF(9,"API endpoint"),e.k0s(),e.j41(10,"mat-radio-button",6),e.EFF(11,"Server-side function"),e.k0s()()(),e.j41(12,"mat-form-field",7)(13,"mat-label"),e.EFF(14,"Name"),e.k0s(),e.nrm(15,"input",8),e.DNE(16,c_,2,0,"mat-error",9),e.DNE(17,s_,2,0,"mat-error",9),e.DNE(18,l_,2,1,"mat-error",9),e.k0s(),e.j41(19,"mat-form-field",7)(20,"mat-label"),e.EFF(21,"Description"),e.k0s(),e.nrm(22,"input",10),e.k0s(),e.DNE(23,g_,22,4,"ng-container",9),e.DNE(24,u_,5,1,"mat-form-field",11),e.j41(25,"div",12)(26,"button",13),e.bIt("click",function(){return i.dialogRef.close()}),e.EFF(27," Cancel "),e.k0s(),e.j41(28,"button",14),e.EFF(29),e.k0s()()()()),2&o&&(e.R7$(2),e.JRh(i.data.tool?"Edit custom tool":"Add custom tool"),e.R7$(1),e.Y8G("formGroup",i.form),e.R7$(13),e.Y8G("ngIf",i.form.controls.name.hasError("required")),e.R7$(1),e.Y8G("ngIf",i.form.controls.name.hasError("pattern")),e.R7$(1),e.Y8G("ngIf",i.form.controls.name.hasError("collision")),e.R7$(5),e.Y8G("ngIf","api"===i.form.controls.toolType.value),e.R7$(1),e.Y8G("ngIf","function"===i.form.controls.toolType.value),e.R7$(5),e.SpI(" ",i.data.tool?"Save tool":"Add tool"," "))},dependencies:[d.MD,d.Sq,d.bT,m.X1,m.qT,m.me,m.BC,m.cb,m.j4,m.JD,u.Hl,u.$z,h.hM,O.RG,O.rl,O.nJ,O.TL,E.fS,E.fg,J.Wk,J.VT,J._g,G.Ve,G.VO,q.wT],styles:[".mcp-ct-dialog[_ngcontent-%COMP%]{padding:18px 20px 14px;font-family:Inter,Helvetica Neue,sans-serif;min-width:320px;max-width:520px}h2[_ngcontent-%COMP%]{margin:0 0 12px;font-size:16px;font-weight:700}.mcp-ct-type[_ngcontent-%COMP%]{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-bottom:12px;font-size:13px}.mcp-ct-type-label[_ngcontent-%COMP%]{font-weight:600}.mcp-ct-field[_ngcontent-%COMP%]{width:100%}.mcp-ct-api-row[_ngcontent-%COMP%]{display:flex;gap:10px;flex-wrap:wrap}.mcp-ct-method[_ngcontent-%COMP%]{width:130px}.mcp-ct-url[_ngcontent-%COMP%]{flex:1;min-width:180px}.mcp-ct-actions[_ngcontent-%COMP%]{display:flex;justify-content:flex-end;gap:8px;margin-top:4px}"]})}}return n})(),b_=(()=>{class n{constructor(t,o){this.dialogRef=t,this.data=o,this.clear=!1}get title(){return 1===this.data.names.length?`Remove ${this.data.names[0]} from this server?`:`Remove ${this.data.names.length} services from this server?`}static{this.\u0275fac=function(o){return new(o||n)(e.rXU(h.CP),e.rXU(h.Vh))}}static{this.\u0275cmp=e.VBU({type:n,selectors:[["df-mcp-remove-dialog"]],standalone:!0,features:[e.aNF],decls:15,vars:7,consts:[[1,"mcp-remove-dialog"],[1,"mcp-remove-choices",3,"ngModel","ngModelChange"],[3,"value"],[1,"mcp-remove-note"],[1,"mcp-remove-actions"],["mat-button","","type","button",3,"click"],["mat-flat-button","","color","warn","type","button","data-testid","mcp-remove-confirm",3,"click"]],template:function(o,i){1&o&&(e.j41(0,"div",0)(1,"h2"),e.EFF(2),e.k0s(),e.j41(3,"mat-radio-group",1),e.bIt("ngModelChange",function(c){return i.clear=c}),e.j41(4,"mat-radio-button",2),e.EFF(5),e.k0s(),e.j41(6,"mat-radio-button",2),e.EFF(7),e.k0s()(),e.j41(8,"p",3),e.EFF(9),e.k0s(),e.j41(10,"div",4)(11,"button",5),e.bIt("click",function(){return i.dialogRef.close()}),e.EFF(12," Cancel "),e.k0s(),e.j41(13,"button",6),e.bIt("click",function(){return i.dialogRef.close({clear:i.clear})}),e.EFF(14," Remove from server "),e.k0s()()()),2&o&&(e.R7$(2),e.JRh(i.title),e.R7$(1),e.Y8G("ngModel",i.clear),e.R7$(1),e.Y8G("value",!1),e.R7$(1),e.SpI(" ",1===i.data.names.length?"Keep its tool curation (recommended)":"Keep their tool curation (recommended)"," "),e.R7$(1),e.Y8G("value",!0),e.R7$(1),e.SpI(" ",1===i.data.names.length?"Also clear its saved tool settings":"Also clear their saved tool settings"," "),e.R7$(2),e.SpI(" Kept curation restores automatically if you expose ",1===i.data.names.length?"the service":"a service"," again. "))},dependencies:[d.MD,m.YN,m.BC,m.vS,u.Hl,u.$z,h.hM,J.Wk,J.VT,J._g],styles:[".mcp-remove-dialog[_ngcontent-%COMP%]{padding:18px 20px 14px;font-family:Inter,Helvetica Neue,sans-serif;max-width:420px}h2[_ngcontent-%COMP%]{margin:0 0 10px;font-size:16px;font-weight:700}.mcp-remove-choices[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:2px}.mcp-remove-note[_ngcontent-%COMP%]{font-size:12.5px;opacity:.7;margin:8px 0 0}.mcp-remove-actions[_ngcontent-%COMP%]{display:flex;justify-content:flex-end;gap:8px;margin-top:14px}"]})}}return n})();function v_(n,a){if(1&n&&(e.j41(0,"mat-option",9),e.EFF(1),e.k0s()),2&n){const t=a.$implicit;e.Y8G("value",t.name),e.R7$(1),e.Lme(" ",t.label," (",t.name,") ")}}function x_(n,a){if(1&n&&(e.j41(0,"p",10),e.EFF(1),e.k0s()),2&n){const t=e.XpG();e.R7$(1),e.LHq(" Point this entry at ",t.newName," and rename its ",t.keyCount()," saved tool settings (",t.data.oldName,"_* \u2192 ",t.newName,"_*)? ")}}let C_=(()=>{class n{constructor(t,o){this.dialogRef=t,this.data=o,this.newName=void 0}candidates(){return this.data.store.backendServices.filter(t=>!this.data.store.cfg.exposedServices.includes(t.name))}keyCount(){return this.data.store.dormantCurationCount(this.data.oldName)}static{this.\u0275fac=function(o){return new(o||n)(e.rXU(h.CP),e.rXU(h.Vh))}}static{this.\u0275cmp=e.VBU({type:n,selectors:[["df-mcp-rename-dialog"]],standalone:!0,features:[e.aNF],decls:16,vars:5,consts:[[1,"mcp-rename-dialog"],[1,"mcp-rename-intro"],["appearance","outline",1,"mcp-rename-field"],["data-testid","mcp-rename-select",3,"ngModel","ngModelChange"],[3,"value",4,"ngFor","ngForOf"],["class","mcp-rename-preview",4,"ngIf"],[1,"mcp-rename-actions"],["mat-button","","type","button",3,"click"],["mat-flat-button","","color","primary","type","button","data-testid","mcp-rename-confirm",3,"disabled","click"],[3,"value"],[1,"mcp-rename-preview"]],template:function(o,i){1&o&&(e.j41(0,"div",0)(1,"h2"),e.EFF(2,"Point this entry at its renamed service"),e.k0s(),e.j41(3,"p",1),e.EFF(4),e.k0s(),e.j41(5,"mat-form-field",2)(6,"mat-label"),e.EFF(7,"Renamed to"),e.k0s(),e.j41(8,"mat-select",3),e.bIt("ngModelChange",function(c){return i.newName=c}),e.DNE(9,v_,2,3,"mat-option",4),e.k0s()(),e.DNE(10,x_,2,4,"p",5),e.j41(11,"div",6)(12,"button",7),e.bIt("click",function(){return i.dialogRef.close()}),e.EFF(13," Cancel "),e.k0s(),e.j41(14,"button",8),e.bIt("click",function(){return i.dialogRef.close(i.newName)}),e.EFF(15," Rename entry "),e.k0s()()()),2&o&&(e.R7$(4),e.SpI(" \u201c",i.data.oldName,"\u201d no longer exists on this instance. Pick the service it was renamed to. "),e.R7$(4),e.Y8G("ngModel",i.newName),e.R7$(1),e.Y8G("ngForOf",i.candidates()),e.R7$(1),e.Y8G("ngIf",i.newName),e.R7$(4),e.Y8G("disabled",!i.newName))},dependencies:[d.MD,d.Sq,d.bT,m.YN,m.BC,m.vS,u.Hl,u.$z,h.hM,O.RG,O.rl,O.nJ,G.Ve,G.VO,q.wT],styles:[".mcp-rename-dialog[_ngcontent-%COMP%]{padding:18px 20px 14px;font-family:Inter,Helvetica Neue,sans-serif;max-width:440px}h2[_ngcontent-%COMP%]{margin:0 0 8px;font-size:16px;font-weight:700}.mcp-rename-intro[_ngcontent-%COMP%]{font-size:13px;opacity:.8;margin:0 0 12px}.mcp-rename-field[_ngcontent-%COMP%]{width:100%}.mcp-rename-preview[_ngcontent-%COMP%]{font-size:13px;background:var(--df-warning-soft);border:1px solid color-mix(in srgb,var(--df-warning) 40%,transparent);border-radius:8px;padding:8px 12px;margin:0 0 4px}.mcp-rename-actions[_ngcontent-%COMP%]{display:flex;justify-content:flex-end;gap:8px;margin-top:12px}"]})}}return n})();function k_(n,a){1&n&&(e.j41(0,"div",3),e.EFF(1,"Loading services\u2026"),e.k0s())}function y_(n,a){1&n&&(e.j41(0,"div",24),e.EFF(1," \u26a0 This server serves no tools. Agents can connect but can call nothing. "),e.k0s())}function M_(n,a){1&n&&(e.j41(0,"span",35),e.EFF(1,"\u26a0 writes"),e.k0s())}function O_(n,a){if(1&n){const t=e.RV6();e.j41(0,"div",38)(1,"mat-checkbox",39),e.bIt("change",function(i){const c=e.eBV(t).$implicit,s=e.XpG(5);return e.Njj(s.setBareChecked(c.name,i.checked))}),e.j41(2,"code"),e.EFF(3),e.k0s()(),e.j41(4,"span",40),e.EFF(5),e.k0s()()}if(2&n){const t=a.$implicit,o=e.XpG(5);e.R7$(1),e.Y8G("checked",o.bareEnabled(t.name)),e.R7$(2),e.JRh(t.name),e.R7$(2),e.JRh(t.description)}}function P_(n,a){if(1&n&&(e.j41(0,"div",36),e.DNE(1,O_,6,3,"div",37),e.k0s()),2&n){const t=e.XpG().$implicit;e.R7$(1),e.Y8G("ngForOf",t.tools)}}function F_(n,a){if(1&n){const t=e.RV6();e.j41(0,"div",28)(1,"div",29)(2,"mat-checkbox",30),e.bIt("change",function(){const r=e.eBV(t).$implicit,c=e.XpG(3);return e.Njj(c.sysToggleGroup(r))}),e.EFF(3),e.k0s(),e.DNE(4,M_,2,0,"span",31),e.j41(5,"span",32),e.EFF(6),e.k0s()(),e.j41(7,"button",33),e.bIt("click",function(){const r=e.eBV(t).$implicit,c=e.XpG(3);return e.Njj(c.toggleToolsList(r.key))}),e.EFF(8),e.k0s(),e.DNE(9,P_,2,1,"div",34),e.k0s()}if(2&n){const t=a.$implicit,o=e.XpG(3);e.R7$(2),e.Y8G("checked","on"===o.sysGroupState(t))("indeterminate","part"===o.sysGroupState(t)),e.R7$(1),e.SpI(" ",t.label," "),e.R7$(1),e.Y8G("ngIf",t.warn),e.R7$(2),e.Lme(" ",o.sysGroupOn(t)," of ",t.tools.length," on "),e.R7$(2),e.Lme(" ",o.isToolsListOpen(t.key)?"\u25be":"\u25b8"," Individual tools (",t.tools.length,") "),e.R7$(1),e.Y8G("ngIf",o.isToolsListOpen(t.key))}}function w_(n,a){if(1&n&&(e.qex(0),e.j41(1,"div",25)(2,"h2"),e.EFF(3),e.k0s()(),e.j41(4,"div",26),e.DNE(5,F_,10,9,"div",27),e.k0s(),e.bVm()),2&n){const t=e.XpG(2);e.R7$(3),e.Lme(" System API tools (",t.sysEnabledCount()," of ",t.sysTotal(),") "),e.R7$(2),e.Y8G("ngForOf",t.systemGroups)}}function D_(n,a){if(1&n){const t=e.RV6();e.j41(0,"div",62)(1,"p"),e.EFF(2),e.k0s(),e.j41(3,"div",63)(4,"button",64),e.bIt("click",function(){const r=e.eBV(t).$implicit,c=e.XpG(4);return e.Njj(c.removeServices([r.name],!0))}),e.EFF(5," Remove from server "),e.k0s(),e.j41(6,"button",64),e.bIt("click",function(){const r=e.eBV(t).$implicit,c=e.XpG(4);return e.Njj(c.renameOrphan(r.name))}),e.EFF(7," It was renamed\u2026 "),e.k0s()()()}if(2&n){const t=a.$implicit,o=e.XpG(4);e.BMQ("data-testid","mcp-orphan-row-"+t.name),e.R7$(2),e.JRh(o.orphanText(t.name))}}function T_(n,a){if(1&n&&(e.j41(0,"section",59)(1,"h2",60),e.EFF(2),e.k0s(),e.DNE(3,D_,8,2,"div",61),e.k0s()),2&n){const t=e.XpG(3);e.R7$(2),e.SpI(" \u26a0 Needs attention (",t.orphanRows().length,") "),e.R7$(1),e.Y8G("ngForOf",t.orphanRows())("ngForTrackBy",t.trackByName)}}function S_(n,a){if(1&n){const t=e.RV6();e.j41(0,"div",65)(1,"p"),e.EFF(2),e.j41(3,"b"),e.EFF(4,"empty never means every service."),e.k0s()(),e.j41(5,"button",64),e.bIt("click",function(){e.eBV(t);const i=e.XpG(3);return e.Njj(i.openPicker())}),e.EFF(6," Expose services "),e.k0s()()}if(2&n){const t=e.XpG(3);e.R7$(2),e.SpI(" No services exposed. Agents get the ",t.eff().globalTools," global tools and any custom tools \u2014 ")}}function R_(n,a){if(1&n){const t=e.RV6();e.j41(0,"div",66)(1,"input",67),e.bIt("ngModelChange",function(i){e.eBV(t);const r=e.XpG(3);return e.Njj(r.filterText=i)}),e.k0s(),e.j41(2,"button",68),e.bIt("click",function(){e.eBV(t);const i=e.XpG(3);return e.Njj(i.setFilterKind("db"))}),e.EFF(3),e.k0s(),e.j41(4,"button",68),e.bIt("click",function(){e.eBV(t);const i=e.XpG(3);return e.Njj(i.setFilterKind("file"))}),e.EFF(5),e.k0s(),e.j41(6,"button",69),e.bIt("click",function(){e.eBV(t);const i=e.XpG(3);return e.Njj(i.filterModified=!i.filterModified)}),e.EFF(7," Modified only "),e.k0s()()}if(2&n){const t=e.XpG(3);e.R7$(1),e.Y8G("ngModel",t.filterText),e.R7$(1),e.AVh("primary","db"===t.filterKind),e.R7$(1),e.SpI(" Databases ",t.rowCountOf("db")," "),e.R7$(1),e.AVh("primary","file"===t.filterKind),e.R7$(1),e.SpI(" Files ",t.rowCountOf("file")," "),e.R7$(1),e.AVh("primary",t.filterModified)}}const at=function(n){return[n]};function I_(n,a){if(1&n){const t=e.RV6();e.j41(0,"div",108)(1,"span",109),e.EFF(2),e.k0s(),e.j41(3,"button",105),e.bIt("click",function(){const r=e.eBV(t).$implicit,c=e.XpG(3).$implicit,s=e.XpG(4);return e.Njj(s.toggleColumn(c.svc.kind,[r]))}),e.nrm(4,"i"),e.k0s()()}if(2&n){const t=a.$implicit,o=e.XpG(3).$implicit,i=e.XpG(4);e.R7$(2),e.JRh(t.verb),e.R7$(1),e.Y8G("matTooltip",i.columnTip(o.svc.kind,t.verb,e.eq3(5,at,t))),e.BMQ("data-state",i.columnState(o.svc.kind,e.eq3(7,at,t)))("aria-checked","on"===i.columnState(o.svc.kind,e.eq3(9,at,t)))("aria-label",i.columnTip(o.svc.kind,t.verb,e.eq3(11,at,t)))}}function E_(n,a){if(1&n){const t=e.RV6();e.j41(0,"div",103)(1,"div",104)(2,"span"),e.EFF(3),e.k0s(),e.j41(4,"button",105),e.bIt("click",function(){const r=e.eBV(t).$implicit,c=e.XpG(2).$implicit,s=e.XpG(4);return e.Njj(s.toggleColumn(c.svc.kind,r.verbs))}),e.nrm(5,"i"),e.k0s()(),e.j41(6,"div",106),e.DNE(7,I_,5,13,"div",107),e.k0s()()}if(2&n){const t=a.$implicit,o=e.XpG(2).$implicit,i=e.XpG(4);e.AVh("write",!!t.warn),e.R7$(3),e.JRh(i.shortGroupLabel(t)),e.R7$(1),e.Y8G("matTooltip",i.columnTip(o.svc.kind,t.label,t.verbs)),e.BMQ("data-state",i.columnState(o.svc.kind,t.verbs))("aria-checked","on"===i.columnState(o.svc.kind,t.verbs))("aria-label",i.columnTip(o.svc.kind,t.label,t.verbs)),e.R7$(3),e.Y8G("ngForOf",t.verbs)}}function $_(n,a){if(1&n&&(e.j41(0,"div",98)(1,"div",99)(2,"span",100),e.EFF(3),e.k0s(),e.j41(4,"span",101),e.EFF(5,"Click a cell to turn one tool off. The switches change a whole column or group."),e.k0s()(),e.j41(6,"div",102),e.DNE(7,E_,8,8,"div",88),e.k0s(),e.nrm(8,"span",89),e.k0s()),2&n){const t=e.XpG().$implicit,o=e.XpG(4);e.BMQ("data-testid","mcp-grid-head-"+t.svc.kind),e.R7$(3),e.JRh(o.kindTitle(t.svc.kind)),e.R7$(4),e.Y8G("ngForOf",o.groupsForKind(t.svc.kind))}}function G_(n,a){if(1&n){const t=e.RV6();e.j41(0,"mat-checkbox",110),e.bIt("change",function(){e.eBV(t);const i=e.XpG().$implicit,r=e.XpG(4);return e.Njj(r.toggleSelected(i.name))})("click",function(i){return i.stopPropagation()}),e.k0s()}if(2&n){const t=e.XpG().$implicit,o=e.XpG(4);e.Y8G("checked",o.isSelected(t.name))}}function j_(n,a){1&n&&(e.j41(0,"span",111),e.EFF(1," Service inactive \u2014 tools not served "),e.k0s())}function N_(n,a){if(1&n){const t=e.RV6();e.j41(0,"button",113),e.bIt("click",function(){const r=e.eBV(t).$implicit,c=e.XpG(2).$implicit,s=e.XpG(4);return e.Njj(s.toggleCell(c.svc,r.verb))}),e.nrm(1,"i"),e.k0s()}if(2&n){const t=a.$implicit,o=e.XpG(2).$implicit,i=e.XpG(4);e.AVh("write",i.isWriteVerb(t.verb)),e.Y8G("matTooltip",i.cellTip(o.svc,t.verb)),e.BMQ("data-state",i.cellState(o.svc,t.verb))("data-testid","mcp-cell-"+o.name+"-"+t.verb)("aria-pressed",i.toolEnabled(o.svc,t.verb))("aria-label",i.cellTip(o.svc,t.verb))}}function A_(n,a){if(1&n&&(e.j41(0,"div",103)(1,"div",106),e.DNE(2,N_,2,7,"button",112),e.k0s()()),2&n){const t=a.$implicit;e.AVh("write",!!t.warn),e.R7$(2),e.Y8G("ngForOf",t.verbs)}}function Y_(n,a){if(1&n&&(e.j41(0,"button",114),e.EFF(1," Copy this selection to\u2026 "),e.k0s()),2&n){e.XpG();const t=e.sdS(45);e.Y8G("matMenuTriggerFor",t)}}function V_(n,a){if(1&n){const t=e.RV6();e.j41(0,"button",86),e.bIt("click",function(){const r=e.eBV(t).$implicit,c=e.XpG().$implicit,s=e.XpG(4);return e.Njj(s.copySelectionTo(c.svc,r))}),e.EFF(1),e.k0s()}if(2&n){const t=a.$implicit;e.R7$(1),e.Lme(" ",t.label," (",t.name,") ")}}function X_(n,a){if(1&n&&(e.j41(0,"p",120),e.EFF(1),e.k0s()),2&n){const t=e.XpG(6);e.R7$(1),e.SpI(" ",t.allOffLine," ")}}function z_(n,a){if(1&n&&(e.j41(0,"p",121),e.EFF(1),e.k0s()),2&n){const t=e.XpG(2).$implicit,o=e.XpG(4);e.R7$(1),e.SpI(" ",o.mergedCaption(t.svc)," ")}}function B_(n,a){1&n&&(e.j41(0,"span",35),e.EFF(1,"\u26a0 writes"),e.k0s())}function L_(n,a){1&n&&(e.j41(0,"span",35),e.EFF(1,"\u26a0 executes"),e.k0s())}function U_(n,a){if(1&n){const t=e.RV6();e.j41(0,"div",29)(1,"mat-checkbox",30),e.bIt("change",function(){const r=e.eBV(t).$implicit,c=e.XpG(2).$implicit,s=e.XpG(4);return e.Njj(s.toggleGroup(c.svc,r))}),e.EFF(2),e.k0s(),e.DNE(3,B_,2,0,"span",31),e.DNE(4,L_,2,0,"span",31),e.j41(5,"span",32),e.EFF(6),e.k0s()()}if(2&n){const t=a.$implicit,o=e.XpG(2).$implicit,i=e.XpG(4);e.R7$(1),e.Y8G("checked","on"===i.groupStateOf(o.svc,t))("indeterminate","part"===i.groupStateOf(o.svc,t)),e.R7$(1),e.SpI(" ",t.label," "),e.R7$(1),e.Y8G("ngIf","writes"===t.warn),e.R7$(1),e.Y8G("ngIf","executes"===t.warn),e.R7$(2),e.Lme(" ",i.groupOnCount(o.svc,t)," of ",t.verbs.length," on ")}}function q_(n,a){if(1&n){const t=e.RV6();e.j41(0,"div",38)(1,"mat-checkbox",39),e.bIt("change",function(i){const c=e.eBV(t).$implicit,s=e.XpG(4).$implicit,l=e.XpG(4);return e.Njj(l.setToolChecked(s.svc,c.verb,i.checked))}),e.j41(2,"code"),e.EFF(3),e.k0s()(),e.j41(4,"span",40),e.EFF(5),e.k0s()()}if(2&n){const t=a.$implicit,o=e.XpG(4).$implicit,i=e.XpG(4);e.R7$(1),e.Y8G("checked",i.toolEnabled(o.svc,t.verb)),e.R7$(2),e.JRh(i.emittedName(o.svc,t.verb)),e.R7$(2),e.JRh(t.description)}}function K_(n,a){if(1&n&&(e.qex(0),e.DNE(1,q_,6,3,"div",37),e.bVm()),2&n){const t=a.$implicit;e.R7$(1),e.Y8G("ngForOf",t.verbs)}}function J_(n,a){if(1&n&&(e.j41(0,"div",36),e.DNE(1,K_,2,1,"ng-container",15),e.k0s()),2&n){const t=e.XpG(2).$implicit,o=e.XpG(4);e.R7$(1),e.Y8G("ngForOf",o.groupsFor(t.svc))}}function H_(n,a){if(1&n){const t=e.RV6();e.j41(0,"button",86),e.bIt("click",function(){const r=e.eBV(t).$implicit,c=e.XpG(3).$implicit,s=e.XpG(4);return e.Njj(s.copySelectionTo(c.svc,r))}),e.EFF(1),e.k0s()}if(2&n){const t=a.$implicit;e.R7$(1),e.Lme(" ",t.label," (",t.name,") ")}}function W_(n,a){if(1&n){const t=e.RV6();e.qex(0),e.j41(1,"button",122),e.EFF(2," Copy this selection to\u2026 "),e.k0s(),e.j41(3,"mat-menu",null,123),e.DNE(5,H_,2,2,"button",95),e.j41(6,"button",86),e.bIt("click",function(){e.eBV(t);const i=e.XpG(2).$implicit,r=e.XpG(4);return e.Njj(r.copySelectionTo(i.svc,null))}),e.EFF(7," All exposed databases "),e.k0s()(),e.bVm()}if(2&n){const t=e.sdS(4),o=e.XpG(2).$implicit,i=e.XpG(4);e.R7$(1),e.Y8G("matMenuTriggerFor",t),e.R7$(4),e.Y8G("ngForOf",i.copyTargets(o.svc))("ngForTrackBy",i.trackBySvcName)}}function Q_(n,a){if(1&n){const t=e.RV6();e.j41(0,"div",115),e.DNE(1,X_,2,1,"p",116),e.DNE(2,z_,2,1,"p",117),e.DNE(3,U_,7,7,"div",118),e.j41(4,"button",33),e.bIt("click",function(){e.eBV(t);const i=e.XpG().$implicit,r=e.XpG(4);return e.Njj(r.toggleToolsList(i.name))}),e.EFF(5),e.k0s(),e.DNE(6,J_,2,1,"div",34),e.j41(7,"div",119)(8,"button",64),e.bIt("click",function(){e.eBV(t);const i=e.XpG().$implicit,r=e.XpG(4);return e.Njj(r.setFull(i.svc))}),e.EFF(9),e.k0s(),e.DNE(10,W_,8,3,"ng-container",2),e.k0s()()}if(2&n){const t=e.XpG().$implicit,o=e.XpG(4);e.R7$(1),e.Y8G("ngIf","zero"===o.accessKind(t.svc)),e.R7$(1),e.Y8G("ngIf",o.showMergedCaption(t.svc)),e.R7$(1),e.Y8G("ngForOf",o.groupsFor(t.svc)),e.R7$(2),e.Lme(" ",o.isToolsListOpen(t.name)?"\u25be":"\u25b8"," Individual tools (",o.verbCount(t.svc),") "),e.R7$(1),e.Y8G("ngIf",o.isToolsListOpen(t.name)),e.R7$(3),e.SpI(" Reset to all ",o.verbCount(t.svc)," "),e.R7$(1),e.Y8G("ngIf","db"===t.svc.kind&&o.copyTargets(t.svc).length>0)}}function Z_(n,a){if(1&n){const t=e.RV6();e.qex(0),e.DNE(1,$_,9,3,"div",73),e.j41(2,"div",74)(3,"div",75)(4,"div",76),e.DNE(5,G_,1,1,"mat-checkbox",77),e.j41(6,"button",78),e.bIt("click",function(){const r=e.eBV(t).$implicit,c=e.XpG(4);return e.Njj(c.toggleExpand(r.name))}),e.j41(7,"span",79),e.EFF(8),e.k0s(),e.j41(9,"span",80),e.EFF(10),e.k0s(),e.j41(11,"span",81),e.EFF(12),e.k0s(),e.j41(13,"span",82),e.EFF(14),e.k0s()(),e.DNE(15,j_,2,0,"span",83),e.j41(16,"button",84),e.bIt("click",function(i){return i.stopPropagation()}),e.EFF(17),e.k0s(),e.j41(18,"mat-menu",null,85)(20,"button",86),e.bIt("click",function(){const r=e.eBV(t).$implicit,c=e.XpG(4);return e.Njj(c.setFull(r.svc))}),e.EFF(21," Full access "),e.k0s(),e.j41(22,"button",86),e.bIt("click",function(){const r=e.eBV(t).$implicit,c=e.XpG(4);return e.Njj(c.setReadOnly(r.svc))}),e.EFF(23," Read-only "),e.k0s(),e.j41(24,"button",86),e.bIt("click",function(){const r=e.eBV(t).$implicit,c=e.XpG(4);return e.Njj(c.expanded.add(r.name))}),e.EFF(25," Choose tools\u2026 "),e.k0s()(),e.j41(26,"span",52),e.EFF(27),e.k0s()(),e.j41(28,"div",87),e.DNE(29,A_,3,3,"div",88),e.k0s(),e.j41(30,"span",89)(31,"button",90),e.bIt("click",function(i){return i.stopPropagation()}),e.EFF(32," \u22ee "),e.k0s(),e.j41(33,"mat-menu",null,91)(35,"button",86),e.bIt("click",function(){const r=e.eBV(t).$implicit,c=e.XpG(4);return e.Njj(c.expanded.add(r.name))}),e.EFF(36," Edit tools "),e.k0s(),e.j41(37,"button",86),e.bIt("click",function(){const r=e.eBV(t).$implicit,c=e.XpG(4);return e.Njj(c.setFull(r.svc))}),e.EFF(38," Full access "),e.k0s(),e.j41(39,"button",86),e.bIt("click",function(){const r=e.eBV(t).$implicit,c=e.XpG(4);return e.Njj(c.setReadOnly(r.svc))}),e.EFF(40," Read-only "),e.k0s(),e.DNE(41,Y_,2,1,"button",92),e.j41(42,"button",93),e.bIt("click",function(){const r=e.eBV(t).$implicit,c=e.XpG(4);return e.Njj(c.removeServices([r.name]))}),e.EFF(43," Remove from server "),e.k0s()(),e.j41(44,"mat-menu",null,94),e.DNE(46,V_,2,2,"button",95),e.j41(47,"button",86),e.bIt("click",function(){const r=e.eBV(t).$implicit,c=e.XpG(4);return e.Njj(c.copySelectionTo(r.svc,null))}),e.EFF(48," All exposed databases "),e.k0s()(),e.j41(49,"button",96),e.bIt("click",function(){const r=e.eBV(t).$implicit,c=e.XpG(4);return e.Njj(c.toggleExpand(r.name))}),e.EFF(50),e.k0s()()(),e.DNE(51,Q_,11,8,"div",97),e.k0s(),e.bVm()}if(2&n){const t=a.$implicit,o=a.index,i=e.sdS(19),r=e.sdS(34),c=e.XpG(4);e.R7$(1),e.Y8G("ngIf",c.startsKind(o)),e.R7$(1),e.AVh("inactive",!t.svc.active),e.BMQ("data-testid","mcp-svc-row-"+t.name),e.R7$(3),e.Y8G("ngIf",c.showFilter()),e.R7$(3),e.JRh(c.typeIcon(t.svc.kind)),e.R7$(2),e.JRh(t.svc.label),e.R7$(2),e.JRh(t.name),e.R7$(2),e.JRh(c.typeBadge(t.svc.kind)),e.R7$(1),e.Y8G("ngIf",!t.svc.active),e.R7$(1),e.AVh("good","ro"===c.accessKind(t.svc))("primary","custom"===c.accessKind(t.svc))("warn","zero"===c.accessKind(t.svc)),e.Y8G("matMenuTriggerFor",i),e.BMQ("data-testid","mcp-svc-access-"+t.name),e.R7$(1),e.SpI(" ",c.accessDisplay(t.svc)," "),e.R7$(9),e.BMQ("data-testid","mcp-svc-fraction-"+t.name),e.R7$(1),e.SpI(" ",c.fractionText(t.svc)," "),e.R7$(1),e.BMQ("aria-label","Tools of "+t.name),e.R7$(1),e.Y8G("ngForOf",c.groupsFor(t.svc)),e.R7$(2),e.Y8G("matMenuTriggerFor",r),e.BMQ("data-testid","mcp-svc-menu-"+t.name),e.R7$(10),e.Y8G("ngIf","db"===t.svc.kind&&c.copyTargets(t.svc).length>0),e.R7$(5),e.Y8G("ngForOf",c.copyTargets(t.svc))("ngForTrackBy",c.trackBySvcName),e.R7$(3),e.BMQ("aria-expanded",c.isExpanded(t.name)),e.R7$(1),e.SpI(" ",c.isExpanded(t.name)?"\u25be":"\u25b8"," "),e.R7$(1),e.Y8G("ngIf",c.isExpanded(t.name))}}function eg(n,a){1&n&&(e.j41(0,"p",124),e.EFF(1," No exposed service matches the current filter. "),e.k0s())}function tg(n,a){if(1&n&&(e.j41(0,"div",70),e.DNE(1,Z_,52,31,"ng-container",71),e.DNE(2,eg,2,0,"p",72),e.k0s()),2&n){const t=e.XpG(3);e.R7$(1),e.Y8G("ngForOf",t.gridRows())("ngForTrackBy",t.trackByName),e.R7$(1),e.Y8G("ngIf",0===t.visibleRows().length)}}function ng(n,a){1&n&&(e.j41(0,"span"),e.nrm(1,"i",129),e.EFF(2,"blocked: writes are off for this server"),e.k0s())}function og(n,a){if(1&n&&(e.j41(0,"div",125)(1,"span"),e.nrm(2,"i",126),e.EFF(3,"served, reads"),e.k0s(),e.j41(4,"span"),e.nrm(5,"i",127),e.EFF(6,"served, writes or executes"),e.k0s(),e.j41(7,"span"),e.nrm(8,"i",128),e.EFF(9,"turned off"),e.k0s(),e.DNE(10,ng,3,0,"span",2),e.k0s()),2&n){const t=e.XpG(3);e.R7$(10),e.Y8G("ngIf",!1===t.store.cfg.allowWrites)}}function ig(n,a){if(1&n&&(e.j41(0,"button",134),e.EFF(1," Copy curation from\u2026 "),e.k0s()),2&n){e.XpG();const t=e.sdS(9);e.Y8G("matMenuTriggerFor",t)}}function ag(n,a){if(1&n){const t=e.RV6();e.j41(0,"button",86),e.bIt("click",function(){const r=e.eBV(t).$implicit,c=e.XpG(4);return e.Njj(c.bulkCopyFrom(r))}),e.EFF(1),e.k0s()}if(2&n){const t=a.$implicit;e.R7$(1),e.Lme(" ",t.label," (",t.name,") ")}}function rg(n,a){if(1&n){const t=e.RV6();e.j41(0,"div",130)(1,"span"),e.EFF(2),e.k0s(),e.j41(3,"button",64),e.bIt("click",function(){e.eBV(t);const i=e.XpG(3);return e.Njj(i.bulkReadOnly())}),e.EFF(4," Read-only "),e.k0s(),e.j41(5,"button",64),e.bIt("click",function(){e.eBV(t);const i=e.XpG(3);return e.Njj(i.bulkFull())}),e.EFF(6," Full access "),e.k0s(),e.DNE(7,ig,2,1,"button",131),e.j41(8,"mat-menu",null,132),e.DNE(10,ag,2,2,"button",95),e.k0s(),e.j41(11,"button",64),e.bIt("click",function(){e.eBV(t);const i=e.XpG(3);return e.Njj(i.bulkRemove())}),e.EFF(12," Remove from server "),e.k0s(),e.j41(13,"button",133),e.bIt("click",function(){e.eBV(t);const i=e.XpG(3);return e.Njj(i.clearSelection())}),e.EFF(14," Clear "),e.k0s()()}if(2&n){const t=e.XpG(3);e.R7$(2),e.SpI("",t.selected.size," selected"),e.R7$(5),e.Y8G("ngIf",t.bulkCopyShown()),e.R7$(3),e.Y8G("ngForOf",t.bulkCopySources())("ngForTrackBy",t.trackBySvcName)}}function cg(n,a){1&n&&(e.j41(0,"span",81),e.EFF(1,"Cross-database aggregators"),e.k0s())}function sg(n,a){if(1&n){const t=e.RV6();e.j41(0,"div",38)(1,"mat-checkbox",39),e.bIt("change",function(i){const c=e.eBV(t).$implicit,s=e.XpG(4);return e.Njj(s.setBareChecked(c.tool.verb,i.checked))}),e.j41(2,"code"),e.EFF(3),e.k0s()(),e.DNE(4,cg,2,0,"span",136),e.j41(5,"span",40),e.EFF(6),e.k0s()()}if(2&n){const t=a.$implicit,o=e.XpG(4);e.R7$(1),e.Y8G("checked",o.bareEnabled(t.tool.verb)),e.R7$(2),e.JRh(t.tool.verb),e.R7$(1),e.Y8G("ngIf",t.aggregator),e.R7$(2),e.JRh(t.tool.description)}}function lg(n,a){if(1&n&&(e.j41(0,"div",36),e.DNE(1,sg,7,4,"div",135),e.k0s()),2&n){const t=e.XpG(3);e.R7$(1),e.Y8G("ngForOf",t.globalToolList())("ngForTrackBy",t.trackByToolVerb)}}function dg(n,a){if(1&n){const t=e.RV6();e.j41(0,"div",139)(1,"mat-slide-toggle",140),e.bIt("change",function(i){const c=e.eBV(t).$implicit,s=e.XpG(4);return e.Njj(s.setCustomEnabled(c,i.checked))}),e.k0s(),e.j41(2,"code"),e.EFF(3),e.k0s(),e.j41(4,"span",81),e.EFF(5),e.k0s(),e.j41(6,"span",40),e.EFF(7),e.k0s(),e.j41(8,"span",141)(9,"button",133),e.bIt("click",function(){const r=e.eBV(t).$implicit,c=e.XpG(4);return e.Njj(c.editCustomTool(r))}),e.EFF(10," Edit "),e.k0s(),e.j41(11,"button",133),e.bIt("click",function(){const r=e.eBV(t).$implicit,c=e.XpG(4);return e.Njj(c.deleteCustomTool(r))}),e.EFF(12," Delete "),e.k0s()()()}if(2&n){const t=a.$implicit,o=e.XpG(4);e.R7$(1),e.Y8G("checked",o.customEnabled(t)),e.BMQ("aria-label","Enable "+t.name),e.R7$(2),e.JRh(t.name),e.R7$(2),e.JRh("function"===t.toolType?"Function":"API"),e.R7$(2),e.JRh(o.customSummary(t))}}function pg(n,a){if(1&n&&(e.j41(0,"div",137),e.DNE(1,dg,13,5,"div",138),e.k0s()),2&n){const t=e.XpG(3);e.R7$(1),e.Y8G("ngForOf",t.customTools())}}function mg(n,a){1&n&&(e.j41(0,"p",142),e.EFF(1," No custom tools. Add an API endpoint or server-side function agents can call alongside the catalog above. "),e.k0s())}function _g(n,a){if(1&n){const t=e.RV6();e.DNE(0,T_,4,3,"section",41),e.j41(1,"div",25)(2,"h2"),e.EFF(3),e.k0s(),e.j41(4,"button",42),e.bIt("click",function(){e.eBV(t);const i=e.XpG(2);return e.Njj(i.openPicker())}),e.EFF(5," + Expose services\u2026 "),e.k0s()(),e.DNE(6,S_,7,1,"div",43),e.DNE(7,R_,8,9,"div",44),e.DNE(8,tg,3,3,"div",45),e.DNE(9,og,11,1,"div",46),e.DNE(10,rg,15,4,"div",47),e.j41(11,"section",48)(12,"button",49),e.bIt("click",function(){e.eBV(t);const i=e.XpG(2);return e.Njj(i.globalsOpen=!i.globalsOpen)}),e.j41(13,"span",50),e.EFF(14,"Global tools"),e.k0s(),e.j41(15,"span",51),e.EFF(16,"Work across the services exposed above."),e.k0s(),e.j41(17,"span",52),e.EFF(18),e.k0s(),e.j41(19,"span",53),e.EFF(20),e.k0s()(),e.DNE(21,lg,2,2,"div",34),e.k0s(),e.j41(22,"section",54)(23,"div",55)(24,"span",50),e.EFF(25),e.k0s(),e.j41(26,"button",56),e.bIt("click",function(){e.eBV(t);const i=e.XpG(2);return e.Njj(i.addCustomTool())}),e.EFF(27," + Add custom tool "),e.k0s()(),e.DNE(28,pg,2,1,"div",57),e.DNE(29,mg,2,0,"p",58),e.k0s()}if(2&n){const t=e.XpG(2);e.Y8G("ngIf",t.orphanRows().length>0),e.R7$(3),e.Lme(" Exposed services (",t.serviceRows().length," of ",t.store.backendServices.length,") "),e.R7$(3),e.Y8G("ngIf",0===t.store.cfg.exposedServices.length),e.R7$(1),e.Y8G("ngIf",t.showFilter()),e.R7$(1),e.Y8G("ngIf",t.serviceRows().length>0),e.R7$(1),e.Y8G("ngIf",t.serviceRows().length>0),e.R7$(1),e.Y8G("ngIf",t.selected.size>0),e.R7$(8),e.JRh(t.globalFractionText()),e.R7$(2),e.JRh(t.globalsOpen?"\u25be":"\u25b8"),e.R7$(1),e.Y8G("ngIf",t.globalsOpen),e.R7$(4),e.SpI("Custom tools (",t.customTools().length,")"),e.R7$(3),e.Y8G("ngIf",t.customTools().length>0),e.R7$(1),e.Y8G("ngIf",0===t.customTools().length)}}function gg(n,a){if(1&n&&(e.j41(0,"span",143),e.EFF(1),e.k0s()),2&n){const t=e.XpG(2);e.R7$(1),e.SpI(" \xb7 ",t.serverCountNote()," ")}}function fg(n,a){1&n&&(e.qex(0),e.EFF(1,"(estimate)"),e.bVm())}function ug(n,a){if(1&n&&(e.j41(0,"li"),e.EFF(1),e.k0s()),2&n){const t=a.$implicit;e.R7$(1),e.JRh(t)}}function hg(n,a){1&n&&(e.qex(0),e.j41(1,"span",144),e.EFF(2,"Read-only \u2713"),e.k0s(),e.j41(3,"span",145),e.EFF(4,"writes are off for this server (Settings) \u2014 write tools are not served"),e.k0s(),e.bVm())}function bg(n,a){1&n&&(e.qex(0),e.j41(1,"span",146),e.EFF(2,"Read-only \u2713"),e.k0s(),e.j41(3,"span",145),e.EFF(4,"zero write or execute tools enabled"),e.k0s(),e.bVm())}function vg(n,a){if(1&n&&e.DNE(0,bg,5,0,"ng-container",7),2&n){e.XpG();const t=e.sdS(25),o=e.XpG();e.Y8G("ngIf",o.railReadOnly())("ngIfElse",t)}}function xg(n,a){if(1&n){const t=e.RV6();e.j41(0,"span",145),e.EFF(1),e.k0s(),e.j41(2,"button",147),e.bIt("click",function(){e.eBV(t);const i=e.XpG(2);return e.Njj(i.makeReadOnly())}),e.EFF(3," Make read-only "),e.k0s()}if(2&n){const t=e.XpG(2);e.R7$(1),e.Lme(" ",t.railWriteActive()," write ",1===t.railWriteActive()?"tool":"tools"," active ")}}function Cg(n,a){if(1&n&&(e.j41(0,"p",148),e.EFF(1),e.j41(2,"span",149),e.EFF(3,"[Why?]"),e.k0s()()),2&n){const t=e.XpG(2);e.R7$(1),e.SpI(" ",t.servingLine()," "),e.R7$(1),e.Y8G("matTooltip",t.lazyWhyTooltip)}}function kg(n,a){if(1&n&&(e.j41(0,"li")(1,"code"),e.EFF(2),e.k0s(),e.EFF(3),e.k0s()),2&n){const t=a.$implicit;e.R7$(2),e.JRh(t.verb),e.R7$(1),e.Lme(" \u2192 ",t.on," of ",t.total," ")}}function yg(n,a){if(1&n&&(e.j41(0,"ul"),e.DNE(1,kg,4,3,"li",71),e.k0s()),2&n){const t=e.XpG(3);e.R7$(1),e.Y8G("ngForOf",t.reachList())("ngForTrackBy",t.trackByVerb)}}function Mg(n,a){if(1&n){const t=e.RV6();e.j41(0,"div",150)(1,"button",33),e.bIt("click",function(){e.eBV(t);const i=e.XpG(2);return e.Njj(i.railReachOpen=!i.railReachOpen)}),e.EFF(2),e.k0s(),e.DNE(3,yg,2,2,"ul",2),e.k0s()}if(2&n){const t=e.XpG(2);e.R7$(2),e.SpI(" ",t.railReachOpen?"\u25be":"\u25b8"," Per-tool reach "),e.R7$(1),e.Y8G("ngIf",t.railReachOpen)}}function Og(n,a){if(1&n){const t=e.RV6();e.qex(0),e.DNE(1,y_,2,0,"div",4),e.j41(2,"div",5)(3,"div",6),e.DNE(4,w_,6,3,"ng-container",7),e.DNE(5,_g,30,14,"ng-template",null,8,e.C5r),e.k0s(),e.j41(7,"aside",9)(8,"h2",10),e.EFF(9,"What an agent gets"),e.k0s(),e.j41(10,"p",11)(11,"b"),e.EFF(12),e.k0s(),e.EFF(13," callable tools "),e.DNE(14,gg,2,1,"span",12),e.k0s(),e.j41(15,"p",13),e.EFF(16),e.DNE(17,fg,2,0,"ng-container",2),e.k0s(),e.j41(18,"ul",14),e.DNE(19,ug,2,1,"li",15),e.k0s(),e.j41(20,"div",16),e.DNE(21,hg,5,0,"ng-container",7),e.DNE(22,vg,1,2,"ng-template",null,17,e.C5r),e.DNE(24,xg,4,2,"ng-template",null,18,e.C5r),e.k0s(),e.DNE(26,Cg,4,2,"p",19),e.j41(27,"button",20),e.bIt("click",function(){e.eBV(t);const i=e.XpG();return e.Njj(i.openPreview())}),e.EFF(28," Preview what an agent sees "),e.k0s(),e.j41(29,"button",21),e.bIt("click",function(){e.eBV(t);const i=e.XpG();return e.Njj(i.copyToolList())}),e.EFF(30," \u25b8 Copy tool list "),e.k0s(),e.DNE(31,Mg,4,2,"div",22),e.nrm(32,"df-mcp-access",23),e.k0s()(),e.bVm()}if(2&n){const t=e.sdS(6),o=e.sdS(23),i=e.XpG();e.R7$(1),e.Y8G("ngIf",0===i.railTotal()),e.R7$(3),e.Y8G("ngIf",i.store.isSystemMcp)("ngIfElse",t),e.R7$(8),e.JRh(i.railTotal()),e.R7$(2),e.Y8G("ngIf",i.serverCountNote()),e.R7$(2),e.SpI(" ",i.sizeLine()," "),e.R7$(1),e.Y8G("ngIf","estimate"===i.stats().source),e.R7$(2),e.Y8G("ngForOf",i.railBreakdown()),e.R7$(2),e.Y8G("ngIf",i.writesOff())("ngIfElse",o),e.R7$(5),e.Y8G("ngIf",i.servingLine()),e.R7$(5),e.Y8G("ngIf",i.showReach()),e.R7$(1),e.Y8G("store",i.store)}}function Kn(n){return/^(get_|list_)/.test(n.name)}let Pg=(()=>{class n{ngOnChanges(t){t.store&&this.localMemo.clear(),t.store&&!t.store.firstChange&&(this.expanded.clear(),this.toolsListOpen.clear(),this.selected.clear(),this.globalsOpen=!1,this.railReachOpen=!1,this.filterText="",this.filterKind="all",this.filterModified=!1)}memoized(t,o,i){const r=this.localMemo.get(t);if(r&&r.key===o)return r.value;const c=i();return this.localMemo.set(t,{key:o,value:c}),c}constructor(t,o){this.dialog=t,this.snackbar=o,this.loading=!1,this.localMemo=new Map,this.trackByName=(i,r)=>r.name,this.trackBySvcName=(i,r)=>r.name,this.trackByToolVerb=(i,r)=>r.tool.verb,this.trackByVerb=(i,r)=>r.verb,this.allOffLine="Agents see this service but can call nothing. Enable tools or remove it.",this.lazyWhyTooltip=`When the tool list exceeds ${de(Ze)} (~8k tokens), agents first receive ${Me.length} discovery tools instead of the full catalog: search_tools \u2192 describe_tool \u2192 call_tool, with fetch_more for long results. Every tool stays callable by name.`,this.expanded=new Set,this.toolsListOpen=new Set,this.globalsOpen=!1,this.customsOpen=!0,this.railReachOpen=!1,this.filterText="",this.filterKind="all",this.filterModified=!1,this.selected=new Set,this.systemGroups=[{key:"sysread",label:"Read system",warn:!1,tools:ie.filter(Kn)},{key:"sysmod",label:"Modify system",warn:!0,tools:ie.filter(i=>!Kn(i))}]}eff(){return this.store.effective()}railTotal(){return this.store.isSystemMcp?this.sysEnabledCount():this.eff().total}railReadOnly(){return this.store.isSystemMcp?0===this.sysModifyOn():this.eff().readOnly}writesOff(){return!this.store.isSystemMcp&&!1===this.store.cfg.allowWrites}stats(){return this.store.catalogStats()}sizeLine(){const t=this.stats(),o=t.lazy?`${de(t.facadeBytes)} facade instead of ${de(t.bytes)}`:de(t.bytes);return`${Rn(t.tokens)} tokens per turn \xb7 ${o}`}serverCountNote(){const t=this.stats();return"server"!==t.source||null===t.count||t.count===this.railTotal()?null:`Server reports ${t.count}`}railWriteActive(){return this.store.isSystemMcp?this.sysModifyOn():this.eff().writeVerbs}serviceRows(){return this.memoized("serviceRows",String(this.store.version),()=>this.store.rows().filter(t=>!!t.svc))}orphanRows(){return this.memoized("orphanRows",String(this.store.version),()=>this.store.rows().filter(t=>!t.svc))}showFilter(){return this.serviceRows().length>8}rowCountOf(t){return this.serviceRows().filter(o=>o.svc.kind===t).length}isModified(t){return this.store.dormantCurationCount(t)>0}visibleRows(){return this.memoized("visibleRows",`${this.store.version}|${this.filterText}|${this.filterKind}|${this.filterModified}`,()=>{let o=this.serviceRows();if(!this.showFilter())return o;const i=this.filterText.trim().toLowerCase();return i&&(o=o.filter(r=>r.name.toLowerCase().includes(i)||r.svc.label.toLowerCase().includes(i))),"all"!==this.filterKind&&(o=o.filter(r=>r.svc.kind===this.filterKind)),this.filterModified&&(o=o.filter(r=>this.isModified(r.name))),o})}setFilterKind(t){this.filterKind=this.filterKind===t?"all":t}typeIcon(t){return"db"===t?"\u26c1":"\u{1f5c2}"}typeBadge(t){return"db"===t?"Database":"Files"}isExpanded(t){return this.expanded.has(t)}toggleExpand(t){this.expanded.has(t)?this.expanded.delete(t):this.expanded.add(t)}isToolsListOpen(t){return this.toolsListOpen.has(t)}toggleToolsList(t){this.toolsListOpen.has(t)?this.toolsListOpen.delete(t):this.toolsListOpen.add(t)}accessKind(t){return this.store.access(t).kind}accessDisplay(t){const o=this.store.access(t),i=this.store.fraction(t);switch(o.kind){case"full":return"Full";case"ro":return"Read-only";case"zero":return`0 of ${i.total} \u26a0`;default:return`Custom \u25d0 ${i.on} of ${i.total}`}}fractionText(t){const o=this.store.fraction(t);return`${o.on} of ${o.total}`}setFull(t){this.store.setServiceFull(t)}setReadOnly(t){this.store.setServiceReadOnly(t)}gridRows(){return this.memoized("gridRows",`${this.store.version}|${this.filterText}|${this.filterKind}|${this.filterModified}`,()=>{const o=this.visibleRows();return[...o.filter(i=>"db"===i.svc.kind),...o.filter(i=>"db"!==i.svc.kind)]})}startsKind(t){const o=this.gridRows();return 0===t||o[t-1].svc.kind!==o[t].svc.kind}groupsForKind(t){return Oe(t)}kindTitle(t){return"db"===t?"Databases":"File storage"}shortGroupLabel(t){return{read:"Read",schema:"Schema",write:"Write",procs:"Procs",fread:"Read",fwrite:"Write"}[t.key]??t.label}isWriteVerb(t){return Qe.has(t)}cellState(t,o){return this.store.isToolEnabled(t.name,o)?!1===this.store.cfg.allowWrites&&Qe.has(o)?"writes-off":"on":"off"}cellTip(t,o){const i=this.cellState(t,o),r="on"===i?"served":"off"===i?"turned off":"blocked: writes are off for this server";return`${this.emittedName(t,o)} (${t.name}): ${r}. Click to turn ${this.store.isToolEnabled(t.name,o)?"off":"on"}.`}toggleCell(t,o){this.store.setTool(t.name,o,!this.store.isToolEnabled(t.name,o))}exposedOfKind(t){return this.serviceRows().filter(o=>o.svc.kind===t).map(o=>o.svc)}columnState(t,o){let i=0,r=0;for(const c of this.exposedOfKind(t))for(const s of o)r++,this.store.isToolEnabled(c.name,s.verb)&&i++;return 0===r||0===i?"off":i===r?"on":"mixed"}toggleColumn(t,o){const i="on"!==this.columnState(t,o);for(const r of this.exposedOfKind(t))for(const c of o)this.store.setTool(r.name,c.verb,i)}columnTip(t,o,i){const r=this.exposedOfKind(t).length,c=`${r} exposed ${"db"===t?"database":"file service"}${1===r?"":"s"}`;return"on"===this.columnState(t,i)?`Turn ${o} off in all ${c}`:`Turn ${o} on in all ${c}`}groupsFor(t){return Oe(t.kind)}groupStateOf(t,o){return et(t,o,this.store.cfg.disabledTools)}groupOnCount(t,o){return o.verbs.filter(i=>this.store.isToolEnabled(t.name,i.verb)).length}toggleGroup(t,o){const i="on"!==this.groupStateOf(t,o);for(const r of o.verbs)this.store.setTool(t.name,r.verb,i)}toolEnabled(t,o){return this.store.isToolEnabled(t.name,o)}setToolChecked(t,o,i){this.store.setTool(t.name,o,i)}emittedName(t,o){return $t(this.eff().effectiveStyle,t.name,o)}verbCount(t){return $(t.kind).length}mergedCaption(t){return`Tools are shared across your ${"db"===t.kind?"databases":"file services"}. Turning one off here removes ${t.name} from that tool's allowed services; turning it off in every ${"db"===t.kind?"database":"file service"} removes the tool.`}showMergedCaption(t){return"merged"===this.store.cfg.toolStyle}copyTargets(t){return this.memoized(`copyTargets:${t.name}`,String(this.store.version),()=>this.serviceRows().map(o=>o.svc).filter(o=>"db"===o.kind&&o.name!==t.name))}copySelectionTo(t,o){const i=o?[o]:this.copyTargets(t);if(0!==i.length){for(const c of i)for(const s of $("db"))this.store.setTool(c.name,s.verb,this.store.isToolEnabled(t.name,s.verb));this.snackbar.openSnackBar(`Copied ${t.name}'s tool selection to ${o?o.name:"all exposed databases"}.`,"success")}}removeServices(t,o=!1){0!==t.length&&this.dialog.open(b_,{data:{names:t,orphan:o},maxWidth:"95vw"}).afterClosed().subscribe(i=>{if(!i)return;for(const s of t)this.store.removeService(s,i.clear);t.forEach(s=>this.selected.delete(s));const r=1===t.length?t[0]:`${t.length} services`;this.snackbar.openSnackBar(i.clear?`Removed ${r} and cleared the saved tool settings.`:1===t.length?`Removed ${r} \u2014 its tool selection is kept and restores if you expose it again.`:`Removed ${r} \u2014 their tool selections are kept and restore if you expose them again.`,"success")})}orphanText(t){return`'${t}' no longer exists on this instance (renamed or deleted). Its ${this.store.dormantCurationCount(t)} saved tool settings are kept.`}renameOrphan(t){this.dialog.open(C_,{data:{store:this.store,oldName:t},maxWidth:"95vw"}).afterClosed().subscribe(o=>{o&&(this.store.renameExposedEntry(t,o),this.snackbar.openSnackBar(`Pointed the entry at ${o} and renamed its saved tool settings.`,"success"))})}openPicker(){this.dialog.open(Lp,{data:{store:this.store},width:"680px",maxWidth:"95vw"}).afterClosed().subscribe(t=>{!t||0===t.names.length||(function Bp(n,a){const t=jn(n,a.names,a.accessTouched),o=a.names.filter(i=>!t.has(i));o.length&&n.exposeServices(o,a.access),t.size&&n.exposeServices([...t],"keep")}(this.store,t),this.snackbar.openSnackBar(`Exposed ${t.names.length} ${1===t.names.length?"service":"services"}.`,"success"))})}isSelected(t){return this.selected.has(t)}toggleSelected(t){this.selected.has(t)?this.selected.delete(t):this.selected.add(t)}selectedServices(){return this.serviceRows().filter(t=>this.selected.has(t.name)).map(t=>t.svc)}bulkReadOnly(){this.selectedServices().forEach(t=>this.store.setServiceReadOnly(t))}bulkFull(){this.selectedServices().forEach(t=>this.store.setServiceFull(t))}bulkCopySources(){return this.memoized("bulkCopySources",String(this.store.version),()=>this.serviceRows().map(t=>t.svc).filter(t=>"db"===t.kind))}bulkCopyShown(){return this.selectedServices().some(t=>"db"===t.kind)&&this.bulkCopySources().length>0}bulkCopyFrom(t){const o=this.selectedServices().filter(i=>"db"===i.kind&&i.name!==t.name);if(0!==o.length){for(const i of o)for(const r of $("db"))this.store.setTool(i.name,r.verb,this.store.isToolEnabled(t.name,r.verb));this.snackbar.openSnackBar(`Copied ${t.name}'s tool selection to ${o.length} selected ${1===o.length?"database":"databases"}.`,"success")}}bulkRemove(){this.removeServices([...this.selected])}clearSelection(){this.selected.clear()}aggregatorsShown(){const t=this.eff();return Ve(t.dbServices,t.fileServices).length>0}globalToolList(){return this.memoized("globalToolList",String(this.store.version),()=>{const t=ye.map(i=>({tool:i,aggregator:!1})),o=this.eff();for(const i of Ve(o.dbServices,o.fileServices))t.push({tool:i,aggregator:!0});return t})}globalFractionText(){const t=this.globalToolList();return`${t.filter(i=>this.store.isBareToolEnabled(i.tool.verb)).length} of ${t.length}`}bareEnabled(t){return this.store.isBareToolEnabled(t)}setBareChecked(t,o){this.store.setBareTool(t,o)}customTools(){return this.store.cfg.customTools??[]}customEnabled(t){return!1!==t?.enabled&&0!==t?.enabled}setCustomEnabled(t,o){t.enabled=o,this.store.touch()}customSummary(t){return"function"===t?.toolType?t?.description||"Server-side function":`${t?.httpMethod||"GET"} ${t?.url||""}`.trim()}addCustomTool(){this.dialog.open(qn,{data:{store:this.store},width:"560px",maxWidth:"95vw",disableClose:!0}).afterClosed().subscribe(t=>{t&&(this.store.cfg.customTools=[...this.customTools(),t],this.store.touch())})}editCustomTool(t){this.dialog.open(qn,{data:{store:this.store,tool:t},width:"560px",maxWidth:"95vw",disableClose:!0}).afterClosed().subscribe(o=>{if(!o)return;const i=this.customTools().indexOf(t);i>=0&&(this.store.cfg.customTools=[...this.customTools().slice(0,i),o,...this.customTools().slice(i+1)],this.store.touch())})}deleteCustomTool(t){window.confirm(`Delete custom tool "${t?.name}"?`)&&(this.store.cfg.customTools=this.customTools().filter(i=>i!==t),this.store.touch())}railBreakdown(){if(this.store.isSystemMcp)return[`${this.sysGroupOn(this.systemGroups[0])} read system`,`${this.sysGroupOn(this.systemGroups[1])} modify system`];const t=this.eff(),o=[];if(t.dbServices>0&&o.push(`${t.dbTools} database (${"merged"===t.effectiveStyle?"shared set \u2014 ":""}write reaches ${t.writeReachDb} of ${t.dbServices} ${1===t.dbServices?"database":"databases"})`),t.fileServices>0){const i=$("file").length;o.push(`${t.fileTools} file (${t.fileServices} ${1===t.fileServices?"service":"services"}${t.fileTools===t.fileServices*i?` \xd7 ${i}`:""})`)}return o.push(`${t.globalTools} global`),t.aggregators>0&&o.push(`${t.aggregators} cross-database aggregators`),t.customTools>0&&o.push(`${t.customTools} custom`),o}servingLine(){const t=this.stats();if(!t.lazy)return null;const o=Me.length;return"auto"===this.store.cfg.lazyMode?`Delivered on demand (auto): the catalog (${de(t.bytes)}) exceeds ${de(Ze)}, so clients first see ${o} discovery tools.`:`Delivered on demand (always on): clients first see ${o} discovery tools.`}makeReadOnly(){if(this.store.isSystemMcp){const r=this.systemGroups[1].tools.filter(s=>this.store.isBareToolEnabled(s.name));if(!window.confirm(`Turn off all ${r.length} write and execute tools? You can undo until you save.`))return;return void r.forEach(s=>this.store.setBareTool(s.name,!1))}const t=this.eff();window.confirm(`Turn off all ${t.writeVerbs} write and execute tools across ${t.writeReach} ${1===t.writeReach?"service":"services"}${t.writeCapableCustoms>0?` and ${t.writeCapableCustoms} custom ${1===t.writeCapableCustoms?"tool":"tools"}`:""}? You can undo until you save.`)&&this.store.makeReadOnly()}servedToolNames(){if(this.store.isSystemMcp)return ie.filter(l=>this.store.isBareToolEnabled(l.name)).map(l=>l.name);const t=this.store.cfg.disabledTools,o=this.eff().effectiveStyle,i=this.serviceRows().map(l=>l.svc).filter(l=>l.active),r=i.filter(l=>"db"===l.kind),c=i.filter(l=>"file"===l.kind),s=[];for(const l of ye)t.has(l.verb)||s.push(l.verb);for(const l of Ve(r.length,c.length))t.has(l.verb)||s.push(l.verb);if("merged"===o)for(const l of $("db"))r.some(p=>ce(this.store.cfg,p.name,l.verb))&&s.push(l.verb);else for(const l of r)for(const p of $("db"))ce(this.store.cfg,l.name,p.verb)&&s.push(ne(l.name,p.verb));for(const l of c)for(const p of $("file"))ce(this.store.cfg,l.name,p.verb)&&s.push(ne(l.name,p.verb));for(const l of this.store.cfg.customTools??[])Rt(this.store.cfg,l)&&l?.name&&s.push(l.name);return s}copyToolList(){const t=this.servedToolNames();navigator.clipboard?.writeText(t.join("\n")).catch(()=>{}),this.snackbar.openSnackBar(`Copied ${t.length} tool ${1===t.length?"name":"names"}.`,"success")}showReach(){return!this.store.isSystemMcp&&"merged"===this.eff().effectiveStyle&&this.eff().dbServices>0}reachList(){return this.memoized("reachList",String(this.store.version),()=>$("db").map(t=>{const o=Et(t.verb,this.store.cfg,this.store.backendServices);return{verb:t.verb,on:o.on.length,total:o.total}}))}openPreview(){this.dialog.open(Zp,{data:{store:this.store},position:{top:"0",right:"0"},height:"100vh",width:"560px",maxWidth:"95vw",panelClass:"mcp-preview-pane"})}sysEnabledCount(){return ie.filter(t=>this.store.isBareToolEnabled(t.name)).length}sysTotal(){return ie.length}sysGroupOn(t){return t.tools.filter(o=>this.store.isBareToolEnabled(o.name)).length}sysGroupState(t){const o=this.sysGroupOn(t);return 0===o?"off":o===t.tools.length?"on":"part"}sysToggleGroup(t){const o="on"!==this.sysGroupState(t);t.tools.forEach(i=>this.store.setBareTool(i.name,o))}sysModifyOn(){return this.sysGroupOn(this.systemGroups[1])}static{this.\u0275fac=function(o){return new(o||n)(e.rXU(h.bZ),e.rXU(pe.L))}}static{this.\u0275cmp=e.VBU({type:n,selectors:[["df-mcp-tools"]],inputs:{store:"store",loading:"loading"},standalone:!0,features:[e.OA$,e.aNF],decls:3,vars:2,consts:[["data-testid","mcp-tools-tab",1,"mcp-tools"],["class","mcp-tools-loading",4,"ngIf"],[4,"ngIf"],[1,"mcp-tools-loading"],["class","mcp-tools-warnbanner",4,"ngIf"],[1,"mcp-tools-layout"],[1,"mcp-tools-main"],[4,"ngIf","ngIfElse"],["mcpMain",""],["data-testid","mcp-rail",1,"mcp-rail"],[1,"mcp-rail-title"],["data-testid","mcp-rail-total",1,"mcp-rail-total"],["class","mcp-rail-note","data-testid","mcp-server-count",4,"ngIf"],["data-testid","mcp-rail-size",1,"mcp-rail-note"],[1,"mcp-rail-breakdown"],[4,"ngFor","ngForOf"],["data-testid","mcp-rail-readonly",1,"mcp-rail-ro"],["curated",""],["writesActive",""],["class","mcp-rail-serving",4,"ngIf"],["mat-flat-button","","color","primary","type","button","data-testid","mcp-preview-btn",1,"mcp-rail-preview-btn",3,"click"],["type","button","data-testid","mcp-copy-toollist",1,"mcp-linklike",3,"click"],["class","mcp-rail-reach",4,"ngIf"],[3,"store"],[1,"mcp-tools-warnbanner"],[1,"mcp-section-head"],[1,"mcp-card"],["class","mcp-sys-group",4,"ngFor","ngForOf"],[1,"mcp-sys-group"],[1,"mcp-group-row"],[3,"checked","indeterminate","change"],["class","mcp-warn-tag",4,"ngIf"],[1,"mcp-group-count"],["type","button",1,"mcp-linklike",3,"click"],["class","mcp-tool-list",4,"ngIf"],[1,"mcp-warn-tag"],[1,"mcp-tool-list"],["class","mcp-tool-row",4,"ngFor","ngForOf"],[1,"mcp-tool-row"],[3,"checked","change"],[1,"mcp-tool-desc"],["class","mcp-orphans",4,"ngIf"],["mat-flat-button","","color","primary","type","button","data-testid","mcp-expose-btn",3,"click"],["class","mcp-card mcp-empty",4,"ngIf"],["class","mcp-filter-strip",4,"ngIf"],["class","mcp-card mcp-rows",4,"ngIf"],["class","mcp-legend",4,"ngIf"],["class","mcp-bulk-bar","data-testid","mcp-bulk-bar",4,"ngIf"],["data-testid","mcp-global-section",1,"mcp-card","mcp-peer-section"],["type","button",1,"mcp-peer-head",3,"click"],[1,"mcp-peer-title"],[1,"mcp-peer-caption"],[1,"mcp-fraction"],[1,"mcp-row-caret"],["data-testid","mcp-custom-section",1,"mcp-card","mcp-peer-section"],[1,"mcp-peer-head"],["mat-stroked-button","","type","button","data-testid","mcp-custom-add",3,"click"],["class","mcp-custom-list",4,"ngIf"],["class","mcp-tool-desc mcp-custom-empty",4,"ngIf"],[1,"mcp-orphans"],[1,"mcp-orphans-title"],["class","mcp-card mcp-orphan-row",4,"ngFor","ngForOf","ngForTrackBy"],[1,"mcp-card","mcp-orphan-row"],[1,"mcp-orphan-actions"],["mat-stroked-button","","type","button",3,"click"],[1,"mcp-card","mcp-empty"],[1,"mcp-filter-strip"],["type","search","data-testid","mcp-filter-input","placeholder","Filter exposed services\u2026","aria-label","Filter exposed services",1,"mcp-filter-input",3,"ngModel","ngModelChange"],["type","button",1,"mcp-chip","mcp-chip-btn",3,"click"],["type","button","data-testid","mcp-filter-modified",1,"mcp-chip","mcp-chip-btn",3,"click"],[1,"mcp-card","mcp-rows"],[4,"ngFor","ngForOf","ngForTrackBy"],["class","mcp-rows-nomatch",4,"ngIf"],["class","mcp-grid-head",4,"ngIf"],[1,"mcp-row"],[1,"mcp-row-head"],[1,"mcp-row-left"],["class","mcp-row-bulk",3,"checked","change","click",4,"ngIf"],["type","button",1,"mcp-row-main",3,"click"],["aria-hidden","true",1,"mcp-row-icon"],[1,"mcp-row-label"],[1,"mcp-chip"],[1,"mcp-chip","mcp-type-badge"],["class","mcp-chip warn",4,"ngIf"],["type","button",1,"mcp-chip","mcp-chip-btn","mcp-access-chip",3,"matMenuTriggerFor","click"],["accessMenu","matMenu"],["mat-menu-item","","type","button",3,"click"],["role","group",1,"mcp-cells"],["class","mcp-cellgroup",3,"write",4,"ngFor","ngForOf"],[1,"mcp-row-tail"],["mat-icon-button","","type","button","aria-label","Service actions",1,"mcp-row-menu-btn",3,"matMenuTriggerFor","click"],["rowMenu","matMenu"],["mat-menu-item","","type","button",3,"matMenuTriggerFor",4,"ngIf"],["mat-menu-item","","type","button",1,"mcp-menu-danger",3,"click"],["copyMenu","matMenu"],["mat-menu-item","","type","button",3,"click",4,"ngFor","ngForOf","ngForTrackBy"],["type","button",1,"mcp-row-caret",3,"click"],["class","mcp-drill",4,"ngIf"],[1,"mcp-grid-head"],[1,"mcp-grid-head-left"],[1,"mcp-grid-head-title"],[1,"mcp-grid-head-hint"],[1,"mcp-cells"],[1,"mcp-cellgroup"],[1,"mcp-cellgroup-label"],["type","button","role","switch",1,"mcp-sw",3,"matTooltip","click"],[1,"mcp-cellgroup-cols"],["class","mcp-colhead",4,"ngFor","ngForOf"],[1,"mcp-colhead"],[1,"mcp-colhead-name"],[1,"mcp-row-bulk",3,"checked","change","click"],[1,"mcp-chip","warn"],["type","button","class","mcp-cell",3,"write","matTooltip","click",4,"ngFor","ngForOf"],["type","button",1,"mcp-cell",3,"matTooltip","click"],["mat-menu-item","","type","button",3,"matMenuTriggerFor"],[1,"mcp-drill"],["class","mcp-drill-alloff",4,"ngIf"],["class","mcp-drill-caption",4,"ngIf"],["class","mcp-group-row",4,"ngFor","ngForOf"],[1,"mcp-drill-foot"],[1,"mcp-drill-alloff"],[1,"mcp-drill-caption"],["mat-stroked-button","","type","button",3,"matMenuTriggerFor"],["copyMenuFoot","matMenu"],[1,"mcp-rows-nomatch"],[1,"mcp-legend"],["data-state","on",1,"mcp-cell-dot"],["data-state","on",1,"mcp-cell-dot","write"],["data-state","off",1,"mcp-cell-dot"],["data-state","writes-off",1,"mcp-cell-dot"],["data-testid","mcp-bulk-bar",1,"mcp-bulk-bar"],["mat-stroked-button","","type","button","data-testid","mcp-bulk-copyfrom",3,"matMenuTriggerFor",4,"ngIf"],["bulkCopyMenu","matMenu"],["mat-button","","type","button",3,"click"],["mat-stroked-button","","type","button","data-testid","mcp-bulk-copyfrom",3,"matMenuTriggerFor"],["class","mcp-tool-row",4,"ngFor","ngForOf","ngForTrackBy"],["class","mcp-chip",4,"ngIf"],[1,"mcp-custom-list"],["class","mcp-custom-row",4,"ngFor","ngForOf"],[1,"mcp-custom-row"],["color","primary",3,"checked","change"],[1,"mcp-custom-actions"],[1,"mcp-tool-desc","mcp-custom-empty"],["data-testid","mcp-server-count",1,"mcp-rail-note"],["data-testid","mcp-writes-off",1,"mcp-chip","good"],[1,"mcp-rail-note"],[1,"mcp-chip","good"],["mat-stroked-button","","type","button","data-testid","mcp-make-readonly",3,"click"],[1,"mcp-rail-serving"],["tabindex","0","data-testid","mcp-lazy-why","aria-label","Why tools are delivered on demand",1,"mcp-info",3,"matTooltip"],[1,"mcp-rail-reach"]],template:function(o,i){1&o&&(e.j41(0,"div",0),e.DNE(1,k_,2,0,"div",1),e.DNE(2,Og,33,13,"ng-container",2),e.k0s()),2&o&&(e.R7$(1),e.Y8G("ngIf",i.loading),e.R7$(1),e.Y8G("ngIf",!i.loading))},dependencies:[d.MD,d.Sq,d.bT,m.YN,m.me,m.BC,m.vS,u.Hl,u.$z,u.iY,j.g7,j.So,h.hM,ae.Cn,ae.kk,ae.fb,ae.Cp,X.mV,X.sG,S.uc,S.oV,r_],styles:['@charset "UTF-8";.mcp-tools[_ngcontent-%COMP%]{font-family:Inter,Helvetica Neue,sans-serif}.mcp-tools-loading[_ngcontent-%COMP%]{padding:32px 0;font-size:13.5px;opacity:.65}.mcp-tools-warnbanner[_ngcontent-%COMP%]{background:var(--df-warning-soft);border:1px solid color-mix(in srgb,var(--df-warning) 40%,transparent);color:var(--df-warning);border-radius:10px;padding:10px 14px;font-size:13px;font-weight:600;margin-bottom:14px}.mcp-tools-layout[_ngcontent-%COMP%]{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:22px;align-items:start}.mcp-tools-main[_ngcontent-%COMP%]{min-width:0}@media (max-width: 1119px){.mcp-tools-layout[_ngcontent-%COMP%]{grid-template-columns:1fr}}.mcp-card[_ngcontent-%COMP%]{background:var(--df-surface);border:1px solid color-mix(in srgb,var(--df-text) 8%,transparent);border-radius:10px;margin-bottom:14px}.mcp-section-head[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin:4px 0 10px}.mcp-section-head[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{font-size:12px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;opacity:.75;margin:0}.mcp-empty[_ngcontent-%COMP%]{padding:18px 16px}.mcp-empty[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{margin:0 0 10px;font-size:13.5px}.mcp-orphans[_ngcontent-%COMP%]{margin-bottom:16px}.mcp-orphans[_ngcontent-%COMP%] .mcp-orphans-title[_ngcontent-%COMP%]{font-size:12px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:var(--df-warning);margin:0 0 8px}.mcp-orphan-row[_ngcontent-%COMP%]{border-color:color-mix(in srgb,var(--df-warning) 40%,transparent);background:var(--df-warning-soft);padding:12px 16px}.mcp-orphan-row[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{margin:0 0 10px;font-size:13.5px}.mcp-orphan-row[_ngcontent-%COMP%] .mcp-orphan-actions[_ngcontent-%COMP%]{display:flex;gap:8px;flex-wrap:wrap}.mcp-filter-strip[_ngcontent-%COMP%]{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-bottom:10px}.mcp-filter-strip[_ngcontent-%COMP%] .mcp-filter-input[_ngcontent-%COMP%]{font:inherit;font-size:13px;padding:7px 12px;border:1px solid color-mix(in srgb,var(--df-text) 18%,transparent);border-radius:8px;min-width:200px;flex:1;max-width:320px}.mcp-filter-strip[_ngcontent-%COMP%] .mcp-filter-input[_ngcontent-%COMP%]:focus{outline:2px solid var(--df-accent);outline-offset:-1px}.mcp-rows[_ngcontent-%COMP%]{overflow:visible}.mcp-row[_ngcontent-%COMP%]{border-top:1px solid color-mix(in srgb,var(--df-text) 6%,transparent);padding:6px 12px}.mcp-row[_ngcontent-%COMP%]:first-child{border-top:none}.mcp-row.inactive[_ngcontent-%COMP%] .mcp-row-head[_ngcontent-%COMP%]{opacity:.55}.mcp-row-head[_ngcontent-%COMP%]{display:flex;align-items:center;gap:8px;flex-wrap:nowrap}.mcp-row-main[_ngcontent-%COMP%]{display:inline-flex;align-items:center;gap:8px;flex-wrap:wrap;background:none;border:none;padding:4px 0;cursor:pointer;font:inherit;text-align:left;min-width:0}.mcp-row-main[_ngcontent-%COMP%] .mcp-row-icon[_ngcontent-%COMP%]{font-size:15px;opacity:.7}.mcp-row-main[_ngcontent-%COMP%] .mcp-row-label[_ngcontent-%COMP%]{font-weight:600;font-size:13.5px}.mcp-type-badge[_ngcontent-%COMP%]{opacity:.8}.mcp-fraction[_ngcontent-%COMP%]{font-size:13px;font-variant-numeric:tabular-nums;font-weight:600;white-space:nowrap}.mcp-access-chip[_ngcontent-%COMP%]{cursor:pointer}.mcp-rows[_ngcontent-%COMP%] .mcp-type-badge[_ngcontent-%COMP%]{display:none}.mcp-row-left[_ngcontent-%COMP%]{display:flex;align-items:center;gap:4px 8px;flex-wrap:wrap;flex:1 1 0;min-width:0}.mcp-cells[_ngcontent-%COMP%]{display:flex;gap:8px;flex:none}.mcp-cellgroup[_ngcontent-%COMP%]{display:flex;flex-direction:column;align-items:center}.mcp-cellgroup[_ngcontent-%COMP%] + .mcp-cellgroup[_ngcontent-%COMP%]{border-left:1px solid var(--df-border-2);padding-left:8px;margin-left:-1px}.mcp-cellgroup-cols[_ngcontent-%COMP%]{display:flex}.mcp-row-tail[_ngcontent-%COMP%]{width:76px;flex:none;display:inline-flex;align-items:center;justify-content:flex-end}.mcp-cell[_ngcontent-%COMP%]{width:26px;height:26px;padding:0;display:inline-flex;align-items:center;justify-content:center;border:1px solid transparent;border-radius:var(--df-radius-sm, 4px);background:transparent;cursor:pointer}.mcp-cell[_ngcontent-%COMP%]:hover{background:var(--df-hover);border-color:var(--df-border)}.mcp-cell[_ngcontent-%COMP%]:focus-visible{outline:2px solid var(--df-accent);outline-offset:1px}.mcp-cell[_ngcontent-%COMP%] i[_ngcontent-%COMP%], .mcp-cell-dot[_ngcontent-%COMP%]{display:inline-block;width:12px;height:12px;border-radius:3px;box-sizing:border-box;background:var(--df-success)}.mcp-cell.write[_ngcontent-%COMP%] i[_ngcontent-%COMP%], .mcp-cell-dot.write[_ngcontent-%COMP%]{background:var(--df-warning)}.mcp-cell[data-state=off][_ngcontent-%COMP%] i[_ngcontent-%COMP%], .mcp-cell-dot[data-state=off][_ngcontent-%COMP%]{background:transparent;border:1.5px solid var(--df-text-faint)}.mcp-cell[data-state=writes-off][_ngcontent-%COMP%] i[_ngcontent-%COMP%], .mcp-cell-dot[data-state=writes-off][_ngcontent-%COMP%]{background:repeating-linear-gradient(45deg,var(--df-border) 0 2px,transparent 2px 4px);border:1px solid var(--df-border)}.mcp-grid-head[_ngcontent-%COMP%]{display:flex;align-items:flex-end;gap:8px;padding:10px 12px 6px;border-bottom:1px solid var(--df-border);background:var(--df-surface-2)}.mcp-row[_ngcontent-%COMP%] + .mcp-grid-head[_ngcontent-%COMP%]{border-top:1px solid var(--df-border)}.mcp-grid-head-left[_ngcontent-%COMP%]{flex:1 1 0;min-width:0;display:flex;flex-direction:column;gap:2px;align-self:flex-end;padding-bottom:4px}.mcp-grid-head-left[_ngcontent-%COMP%] .mcp-grid-head-title[_ngcontent-%COMP%]{font-weight:600;font-size:13px}.mcp-grid-head-left[_ngcontent-%COMP%] .mcp-grid-head-hint[_ngcontent-%COMP%]{font-size:12px;color:var(--df-text-muted)}.mcp-cellgroup-label[_ngcontent-%COMP%]{display:flex;flex-direction:column;align-items:center;gap:3px;margin-bottom:6px;font-size:10.5px;font-weight:600;letter-spacing:.04em;text-transform:uppercase;color:var(--df-text-muted);white-space:nowrap}.write[_ngcontent-%COMP%] > .mcp-cellgroup-label[_ngcontent-%COMP%]{color:var(--df-warning)}.mcp-colhead[_ngcontent-%COMP%]{width:26px;display:flex;flex-direction:column;align-items:center;justify-content:flex-end;gap:5px;height:172px}.mcp-colhead[_ngcontent-%COMP%] .mcp-colhead-name[_ngcontent-%COMP%]{writing-mode:vertical-rl;transform:rotate(180deg);font-family:monospace;font-size:11px;color:var(--df-text-2);white-space:nowrap}.mcp-sw[_ngcontent-%COMP%]{position:relative;flex:none;width:18px;height:10px;padding:0;border:1px solid var(--df-border);border-radius:999px;background:var(--df-surface-2);cursor:pointer}.mcp-sw[_ngcontent-%COMP%] i[_ngcontent-%COMP%]{position:absolute;top:1px;left:1px;width:6px;height:6px;border-radius:50%;background:var(--df-text-faint);transition:left .12s ease}.mcp-sw[data-state=on][_ngcontent-%COMP%]{background:var(--df-accent);border-color:var(--df-accent)}.mcp-sw[data-state=on][_ngcontent-%COMP%] i[_ngcontent-%COMP%]{left:9px;background:var(--df-accent-contrast)}.mcp-sw[data-state=mixed][_ngcontent-%COMP%]{background:linear-gradient(90deg,var(--df-accent) 50%,var(--df-surface-2) 50%);border-color:var(--df-accent)}.mcp-sw[data-state=mixed][_ngcontent-%COMP%] i[_ngcontent-%COMP%]{left:5px;background:var(--df-accent-contrast)}.mcp-sw[_ngcontent-%COMP%]:hover{box-shadow:0 0 0 3px var(--df-accent-soft)}.mcp-sw[_ngcontent-%COMP%]:focus-visible{outline:2px solid var(--df-accent);outline-offset:1px}.mcp-legend[_ngcontent-%COMP%]{display:flex;flex-wrap:wrap;gap:16px;margin:8px 2px 0;font-size:12px;color:var(--df-text-muted)}.mcp-legend[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{display:inline-flex;align-items:center;gap:6px}.mcp-row-menu-btn[_ngcontent-%COMP%]{font-size:16px;line-height:1}.mcp-row-caret[_ngcontent-%COMP%]{background:none;border:none;cursor:pointer;font:inherit;font-size:13px;opacity:.7;padding:4px 6px}.mcp-menu-danger[_ngcontent-%COMP%]{color:var(--df-danger)}.mcp-drill[_ngcontent-%COMP%]{padding:4px 8px 10px 30px}.mcp-drill[_ngcontent-%COMP%] .mcp-drill-alloff[_ngcontent-%COMP%]{font-size:13px;font-weight:600;color:var(--df-warning);background:var(--df-warning-soft);border:1px solid color-mix(in srgb,var(--df-warning) 40%,transparent);border-radius:8px;padding:7px 11px;margin:4px 0 8px}.mcp-drill[_ngcontent-%COMP%] .mcp-drill-caption[_ngcontent-%COMP%]{font-size:12.5px;opacity:.7;margin:4px 0 8px}.mcp-group-row[_ngcontent-%COMP%]{display:flex;align-items:center;gap:8px;flex-wrap:wrap;padding:1px 0}.mcp-group-row[_ngcontent-%COMP%] .mcp-group-count[_ngcontent-%COMP%]{font-size:12px;opacity:.6;font-variant-numeric:tabular-nums}.mcp-warn-tag[_ngcontent-%COMP%]{font-size:11.5px;font-weight:700;color:var(--df-warning)}.mcp-linklike[_ngcontent-%COMP%]{background:none;border:none;cursor:pointer;font:inherit;font-size:13px;font-weight:600;color:var(--df-accent);padding:6px 0 2px;text-align:left}.mcp-tool-list[_ngcontent-%COMP%]{padding:2px 0 4px 8px}.mcp-tool-row[_ngcontent-%COMP%]{display:flex;align-items:baseline;gap:8px;flex-wrap:wrap;padding:1px 0}.mcp-tool-row[_ngcontent-%COMP%] code[_ngcontent-%COMP%]{font-size:12.5px}.mcp-tool-desc[_ngcontent-%COMP%]{font-size:12px;opacity:.6}.mcp-drill-foot[_ngcontent-%COMP%]{display:flex;gap:8px;flex-wrap:wrap;padding-top:8px}.mcp-rows-nomatch[_ngcontent-%COMP%]{padding:14px 16px;font-size:13px;opacity:.65;margin:0}.mcp-bulk-bar[_ngcontent-%COMP%]{display:flex;align-items:center;gap:8px;flex-wrap:wrap;background:color-mix(in srgb,var(--df-accent) 8%,transparent);border:1px solid color-mix(in srgb,var(--df-accent) 35%,transparent);border-radius:10px;padding:8px 14px;margin-bottom:14px;font-size:13px;font-weight:600}.mcp-peer-section[_ngcontent-%COMP%]{padding:10px 14px}.mcp-peer-head[_ngcontent-%COMP%]{display:flex;align-items:center;gap:10px;flex-wrap:wrap;width:100%;background:none;border:none;padding:2px 0;font:inherit;text-align:left}.mcp-peer-head[_ngcontent-%COMP%] .mcp-peer-title[_ngcontent-%COMP%]{font-weight:700;font-size:13.5px}.mcp-peer-head[_ngcontent-%COMP%] .mcp-peer-caption[_ngcontent-%COMP%]{font-size:12px;opacity:.6}.mcp-peer-head[_ngcontent-%COMP%] .mcp-fraction[_ngcontent-%COMP%]{margin-left:auto}button.mcp-peer-head[_ngcontent-%COMP%]{cursor:pointer}.mcp-custom-list[_ngcontent-%COMP%]{margin-top:6px}.mcp-custom-row[_ngcontent-%COMP%]{display:flex;align-items:center;gap:10px;flex-wrap:wrap;border-top:1px solid color-mix(in srgb,var(--df-text) 6%,transparent);padding:5px 0}.mcp-custom-row[_ngcontent-%COMP%] code[_ngcontent-%COMP%]{font-size:12.5px;font-weight:600}.mcp-custom-row[_ngcontent-%COMP%] .mcp-custom-actions[_ngcontent-%COMP%]{margin-left:auto;display:inline-flex;gap:2px}.mcp-custom-empty[_ngcontent-%COMP%]{margin:8px 0 2px}.mcp-sys-group[_ngcontent-%COMP%]{padding:10px 14px;border-top:1px solid color-mix(in srgb,var(--df-text) 6%,transparent)}.mcp-sys-group[_ngcontent-%COMP%]:first-child{border-top:none}.mcp-rail[_ngcontent-%COMP%]{background:var(--df-surface);border:1px solid color-mix(in srgb,var(--df-text) 8%,transparent);border-radius:10px;padding:14px 16px;position:sticky;top:12px}@media (max-width: 1119px){.mcp-rail[_ngcontent-%COMP%]{position:static}}.mcp-rail-title[_ngcontent-%COMP%]{font-size:11.5px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;opacity:.7;margin:0 0 6px}.mcp-rail-total[_ngcontent-%COMP%]{font-size:15px;margin:0 0 6px}.mcp-rail-total[_ngcontent-%COMP%] b[_ngcontent-%COMP%]{font-size:22px;font-variant-numeric:tabular-nums}.mcp-rail-breakdown[_ngcontent-%COMP%]{list-style:none;padding:0;margin:0 0 12px;font-size:12.5px;opacity:.85}.mcp-rail-breakdown[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{padding:1px 0}.mcp-rail-ro[_ngcontent-%COMP%]{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-bottom:12px}.mcp-rail-ro[_ngcontent-%COMP%] .mcp-rail-note[_ngcontent-%COMP%]{font-size:12.5px}.mcp-rail-serving[_ngcontent-%COMP%]{font-size:12px;opacity:.75;background:color-mix(in srgb,var(--df-text) 3%,transparent);border-radius:8px;padding:8px 10px;margin:0 0 12px}.mcp-rail-serving[_ngcontent-%COMP%] .mcp-info[_ngcontent-%COMP%]{cursor:help;font-weight:600;color:var(--df-accent);white-space:nowrap}.mcp-rail-preview-btn[_ngcontent-%COMP%]{width:100%;margin-bottom:12px}.mcp-rail-reach[_ngcontent-%COMP%]{margin-bottom:8px}.mcp-rail-reach[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{list-style:none;padding:2px 0 0 14px;margin:0;font-size:12px;font-variant-numeric:tabular-nums}.mcp-rail-reach[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] code[_ngcontent-%COMP%]{font-size:11.5px}.mcp-chip[_ngcontent-%COMP%]{display:inline-flex;align-items:center;gap:5px;padding:2px 9px;border-radius:999px;font-size:12px;font-weight:600;border:1px solid color-mix(in srgb,var(--df-text) 14%,transparent);background:color-mix(in srgb,var(--df-text) 2%,transparent);white-space:nowrap}.mcp-chip.good[_ngcontent-%COMP%]{background:var(--df-success-soft);border-color:color-mix(in srgb,var(--df-success) 35%,transparent);color:var(--df-success)}.mcp-chip.warn[_ngcontent-%COMP%]{background:var(--df-warning-soft);border-color:color-mix(in srgb,var(--df-warning) 40%,transparent);color:var(--df-warning)}.mcp-chip.primary[_ngcontent-%COMP%]{background:color-mix(in srgb,var(--df-accent) 10%,transparent);border-color:color-mix(in srgb,var(--df-accent) 38%,transparent);color:var(--df-accent)}.mcp-chip-btn[_ngcontent-%COMP%]{cursor:pointer;font:inherit;font-size:12px;font-weight:600}@media (max-width: 1100px){.mcp-row-head[_ngcontent-%COMP%]{flex-wrap:wrap;row-gap:4px}.mcp-drill[_ngcontent-%COMP%]{padding-left:12px}.mcp-grid-head[_ngcontent-%COMP%]{display:none}.mcp-row-tail[_ngcontent-%COMP%]{width:auto}}']})}}return n})();function Fg(n,a){if(1&n&&(e.j41(0,"span",9),e.EFF(1),e.k0s()),2&n){const t=a.ngIf;e.R7$(1),e.SpI(" \u2014 from \u201c",t,"\u201d? ")}}function wg(n,a){if(1&n){const t=e.RV6();e.j41(0,"li")(1,"mat-checkbox",7),e.bIt("change",function(i){const c=e.eBV(t).$implicit,s=e.XpG();return e.Njj(s.toggle(c,i.checked))}),e.j41(2,"code"),e.EFF(3),e.k0s(),e.DNE(4,Fg,2,1,"span",8),e.k0s()()}if(2&n){const t=a.$implicit,o=e.XpG();e.R7$(1),e.Y8G("checked",o.checked[t]),e.BMQ("data-testid","mcp-orphan-"+t),e.R7$(2),e.JRh(t),e.R7$(1),e.Y8G("ngIf",o.originOf(t))}}const Dg=[...Cn,...kn].flatMap(n=>n.verbs.map(a=>a.verb)).sort((n,a)=>a.length-n.length);let Sg=(()=>{class n{constructor(t,o){this.dialogRef=t,this.data=o,this.checked={};for(const i of o.keys)this.checked[i]=!0}toggle(t,o){this.checked[t]=o}get selected(){return this.data.keys.filter(t=>this.checked[t])}originOf(t){return function Tg(n){for(const a of Dg)if(n.endsWith("_"+a)&&n.length>a.length+1)return n.slice(0,n.length-a.length-1);return null}(t)}deleteSelected(){this.dialogRef.close(this.selected)}static{this.\u0275fac=function(o){return new(o||n)(e.rXU(h.CP),e.rXU(h.Vh))}}static{this.\u0275cmp=e.VBU({type:n,selectors:[["df-mcp-housekeeping-dialog"]],standalone:!0,features:[e.aNF],decls:12,vars:2,consts:[["data-testid","mcp-housekeeping-dialog",1,"mcp-hk-dialog"],[1,"mcp-hk-note"],[1,"mcp-hk-list"],[4,"ngFor","ngForOf"],[1,"mcp-hk-actions"],["mat-button","","type","button",3,"click"],["mat-flat-button","","color","warn","type","button","data-testid","mcp-housekeeping-delete",3,"disabled","click"],[3,"checked","change"],["class","mcp-hk-origin",4,"ngIf"],[1,"mcp-hk-origin"]],template:function(o,i){1&o&&(e.j41(0,"div",0)(1,"h2"),e.EFF(2,"Review & clean up"),e.k0s(),e.j41(3,"p",1),e.EFF(4," These saved tool settings reference services that no longer exist. Checked entries are deleted; unchecked entries are kept. "),e.k0s(),e.j41(5,"ul",2),e.DNE(6,wg,5,4,"li",3),e.k0s(),e.j41(7,"div",4)(8,"button",5),e.bIt("click",function(){return i.dialogRef.close()}),e.EFF(9," Cancel "),e.k0s(),e.j41(10,"button",6),e.bIt("click",function(){return i.deleteSelected()}),e.EFF(11," Delete selected "),e.k0s()()()),2&o&&(e.R7$(6),e.Y8G("ngForOf",i.data.keys),e.R7$(4),e.Y8G("disabled",0===i.selected.length))},dependencies:[d.MD,d.Sq,d.bT,u.Hl,u.$z,j.g7,j.So,h.hM],styles:[".mcp-hk-dialog[_ngcontent-%COMP%]{padding:18px 20px 14px;font-family:Inter,Helvetica Neue,sans-serif;max-width:460px}h2[_ngcontent-%COMP%]{margin:0 0 8px;font-size:16px;font-weight:700}.mcp-hk-note[_ngcontent-%COMP%]{font-size:13px;opacity:.75;margin:0 0 10px}.mcp-hk-list[_ngcontent-%COMP%]{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;max-height:320px;overflow-y:auto}.mcp-hk-list[_ngcontent-%COMP%] code[_ngcontent-%COMP%]{font-size:12.5px;background:color-mix(in srgb,var(--df-text) 3.5%,transparent);border:1px solid color-mix(in srgb,var(--df-text) 8%,transparent);border-radius:5px;padding:1px 6px;word-break:break-all}.mcp-hk-origin[_ngcontent-%COMP%]{font-size:12px;opacity:.6;margin-left:4px}.mcp-hk-actions[_ngcontent-%COMP%]{display:flex;justify-content:flex-end;gap:8px;margin-top:14px}"]})}}return n})();function Rg(n,a){if(1&n&&(e.j41(0,"p",44),e.EFF(1),e.k0s()),2&n){const t=e.XpG();e.R7$(1),e.SpI(" Renaming changes your endpoint URL to \u2026/mcp/",t.store.draftName,". Connected clients will break until they update. ")}}function Ig(n,a){1&n&&(e.j41(0,"p",45),e.EFF(1," This server is inactive \u2014 the endpoint refuses connections. "),e.k0s())}function Eg(n,a){if(1&n){const t=e.RV6();e.j41(0,"li")(1,"code"),e.EFF(2),e.k0s(),e.j41(3,"button",46),e.bIt("click",function(){const r=e.eBV(t).index,c=e.XpG();return e.Njj(c.removeRedirect(r))}),e.EFF(4," \xd7 "),e.k0s()()}if(2&n){const t=a.$implicit;e.R7$(2),e.JRh(t),e.R7$(1),e.BMQ("aria-label","Remove "+t)}}function $g(n,a){1&n&&(e.j41(0,"li",47),e.EFF(1," No redirect URIs yet \u2014 OAuth clients that need a callback can't connect until theirs is added. "),e.k0s())}function Gg(n,a){if(1&n&&(e.j41(0,"mat-option",20),e.EFF(1),e.k0s()),2&n){const t=e.XpG();e.Y8G("value",t.store.cfg.autoOauthService),e.R7$(1),e.SpI(" ",t.store.cfg.autoOauthService," (not found on this instance) ")}}function jg(n,a){if(1&n&&(e.j41(0,"mat-option",20),e.EFF(1),e.k0s()),2&n){const t=a.$implicit;e.Y8G("value",t.name),e.R7$(1),e.Lme(" ",t.label," (",t.name,") ")}}function Ng(n,a){1&n&&(e.qex(0),e.EFF(1," Only users and API keys whose role is granted access to this MCP service can connect. Admins always can. "),e.bVm())}function Ag(n,a){1&n&&e.EFF(0," Anyone who can sign in to DreamFactory can connect; their role still decides what they can reach. ")}function Yg(n,a){1&n&&(e.j41(0,"span",54),e.EFF(1," Matches the recommended default. "),e.k0s())}function Vg(n,a){1&n&&(e.j41(0,"span",54),e.EFF(1," Server default (per-service names). "),e.k0s())}function Xg(n,a){1&n&&(e.j41(0,"p",55),e.EFF(1," Style changes rename emitted tools \u2014 preview before saving. Clients may need to reconnect. Your tool selections are preserved \u2014 they apply per service in both modes. "),e.k0s())}function zg(n,a){if(1&n){const t=e.RV6();e.qex(0),e.j41(1,"h3",10),e.EFF(2,"Tool naming"),e.k0s(),e.j41(3,"mat-radio-group",48),e.bIt("change",function(i){e.eBV(t);const r=e.XpG();return e.Njj(r.onToolStyleChange(i))}),e.j41(4,"mat-radio-button",49)(5,"span",50),e.EFF(6," Consolidated (merged) \u2014 one tool per verb with a service argument. Recommended. "),e.k0s(),e.DNE(7,Yg,2,0,"span",51),e.k0s(),e.j41(8,"mat-radio-button",52)(9,"span",50),e.EFF(10," Per-service names (prefixed) \u2014 legacy compatibility for clients pinned to names like crm_get_tables. "),e.k0s(),e.DNE(11,Vg,2,0,"span",51),e.k0s()(),e.DNE(12,Xg,2,0,"p",53),e.bVm()}if(2&n){const t=e.XpG();e.R7$(3),e.Y8G("value",t.toolStyleValue),e.R7$(4),e.Y8G("ngIf","merged"===t.store.cfg.toolStyle),e.R7$(4),e.Y8G("ngIf",null===t.store.cfg.toolStyle),e.R7$(1),e.Y8G("ngIf",t.styleChanged)}}function Bg(n,a){1&n&&(e.qex(0),e.EFF(1," Write tools you leave on can create, update and delete records and files and call procedures, subject to the caller's role. "),e.bVm())}function Lg(n,a){1&n&&e.EFF(0," Read-only server: write tools and custom tools that write are never offered, whatever the per-tool settings. Clients must reconnect to pick up a change. ")}function Ug(n,a){if(1&n){const t=e.RV6();e.qex(0),e.j41(1,"h3",10),e.EFF(2,"Writes"),e.k0s(),e.j41(3,"mat-slide-toggle",56),e.bIt("change",function(i){e.eBV(t);const r=e.XpG();return e.Njj(r.setAllowWrites(i))}),e.EFF(4," Allow writes "),e.k0s(),e.j41(5,"p",23),e.DNE(6,Bg,2,0,"ng-container",26),e.DNE(7,Lg,1,0,"ng-template",null,57,e.C5r),e.k0s(),e.bVm()}if(2&n){const t=e.sdS(8),o=e.XpG();e.R7$(3),e.Y8G("checked",o.store.cfg.allowWrites),e.R7$(2),e.AVh("warn",!o.store.cfg.allowWrites),e.R7$(1),e.Y8G("ngIf",o.store.cfg.allowWrites)("ngIfElse",t)}}function qg(n,a){if(1&n){const t=e.RV6();e.qex(0),e.j41(1,"p",45),e.EFF(2),e.k0s(),e.j41(3,"button",58),e.bIt("click",function(){e.eBV(t);const i=e.XpG();return e.Njj(i.openHousekeeping())}),e.EFF(4," Review & clean up "),e.k0s(),e.bVm()}if(2&n){const t=e.XpG();e.R7$(2),e.Lme(" ",t.orphanCount," saved tool ",1===t.orphanCount?"setting references":"settings reference"," services that no longer exist. Nothing is removed automatically \u2014 review before deleting. ")}}function Kg(n,a){1&n&&(e.j41(0,"p",23),e.EFF(1,"No orphaned tool settings."),e.k0s())}let Wg=(()=>{class n{ngOnChanges(t){t.store&&!t.store.firstChange&&(this.newRedirectUri="")}constructor(t,o,i,r,c){this.serviceTypeService=t,this.servicesService=o,this.cacheService=i,this.snackbarService=r,this.dialog=c,this.requestDelete=new e.bkB,this.oauthServices=[],this.oauthLoaded=!1,this.newRedirectUri="",this.flushingCache=!1}ngOnInit(){this.loadOauthServices()}loadOauthServices(){(0,ue.p)({types:this.serviceTypeService.getAll({fields:"name,group",limit:1e3}),services:this.servicesService.getAll({limit:1e3,fields:"id,name,label,type",sort:"name"})}).subscribe({next:({types:t,services:o})=>{const i=new Set((t?.resource??[]).filter(r=>"OAuth"===r.group).map(r=>r.name));this.oauthServices=(o?.resource??[]).filter(r=>i.has(r.type)).map(r=>({name:r.name,label:r.label||r.name})),this.oauthLoaded=!0},error:()=>{this.oauthLoaded=!0}})}get renamePending(){return this.store.draftName!==this.store.service.name}setName(t){this.store.draftName=t,this.store.touch()}setLabel(t){this.store.draftLabel=t,this.store.touch()}setDescription(t){this.store.draftDescription=t,this.store.touch()}setActive(t){this.store.draftIsActive=t.checked,this.store.touch()}addRedirect(){const t=this.newRedirectUri.trim();if(t){if(this.store.cfg.redirectUris.includes(t))return void this.snackbarService.openSnackBar("That redirect URI is already listed.","warning");this.store.cfg.redirectUris.push(t),this.newRedirectUri="",this.store.touch()}}removeRedirect(t){this.store.cfg.redirectUris.splice(t,1),this.store.touch()}setLoginUrl(t){this.store.cfg.customLoginUrl=t,this.store.touch()}setAutoOauth(t){this.store.cfg.autoOauthService=t,this.store.touch()}get missingAutoOauth(){const t=this.store.cfg.autoOauthService;return!!t&&this.oauthLoaded&&!this.oauthServices.some(o=>o.name===t)}setAllowApiKey(t){this.store.cfg.allowApiKeyAuth=t.checked,this.store.touch()}setRequireRoleAccess(t){this.store.cfg.requireRoleAccess=t.checked,this.store.touch()}setAllowWrites(t){this.store.cfg.allowWrites=t.checked,this.store.touch()}regenerateSecret(){window.confirm("Clients using the old secret will stop connecting. Regenerate?")&&(this.store.cfg.oauthClientSecret=function Hg(){const n=new Uint8Array(32),a=globalThis.crypto;if(a?.getRandomValues)a.getRandomValues(n);else for(let t=0;tt.toString(16).padStart(2,"0")).join("")}(),this.store.touch(),this.snackbarService.openSnackBar("New client secret generated \u2014 save to apply.","success"))}get toolStyleValue(){return"merged"===this.store.cfg.toolStyle?"merged":"prefixed"}onToolStyleChange(t){this.store.cfg.toolStyle="merged"===t.value?"merged":"prefixed",this.store.touch()}get styleChanged(){return this.store.cfg.toolStyle!==this.store.savedCfg.toolStyle}get lazyValue(){return Ft(this.store.cfg.lazyMode)}setLazy(t){this.store.cfg.lazyMode=t,this.store.touch()}get scopeToolsOn(){const t=this.store.cfg.rest??{},o=t.scope_tools??t.scopeTools;return null==o||!!o}get orphanCount(){return this.store.backendLoaded?this.store.orphans().length:0}openHousekeeping(){const t=this.store.orphans();t.length&&this.dialog.open(Sg,{data:{keys:t},width:"480px"}).afterClosed().subscribe(o=>{if(o&&0!==o.length){for(const i of o)this.store.cfg.disabledTools.delete(i);this.store.touch(),this.snackbarService.openSnackBar(`Removed ${o.length} saved tool setting${1===o.length?"":"s"} \u2014 save to apply.`,"success")}})}flushCache(){this.flushingCache||(this.flushingCache=!0,this.cacheService.delete(this.store.service.name).subscribe({next:()=>{this.flushingCache=!1,this.snackbarService.openSnackBar("Cache flushed.","success")},error:()=>{this.flushingCache=!1,this.snackbarService.openSnackBar("Cache flush failed.","error")}}))}get fullConfigJson(){const t=Mn(this.store.cfg,this.store.service.type);return t.oauthClientSecret&&(t.oauthClientSecret="\u2022\u2022\u2022\u2022\u2022\u2022\u2022\u2022"),JSON.stringify(t,null,2)}static{this.\u0275fac=function(o){return new(o||n)(e.rXU(U.zs),e.rXU(U.Z1),e.rXU(U.j8),e.rXU(pe.L),e.rXU(h.bZ))}}static{this.\u0275cmp=e.VBU({type:n,selectors:[["df-mcp-settings"]],inputs:{store:"store"},outputs:{requestDelete:"requestDelete"},standalone:!0,features:[e.OA$,e.aNF],decls:110,vars:28,consts:[["data-testid","mcp-settings-tab",1,"mcp-settings"],[1,"mcp-card"],[1,"mcp-card-title"],["appearance","outline",1,"mcp-field"],["matInput","","data-testid","mcp-set-name",3,"ngModel","ngModelChange"],["class","mcp-inline-warning","data-testid","mcp-rename-warning",4,"ngIf"],["matInput","","data-testid","mcp-set-label",3,"ngModel","ngModelChange"],["matInput","","rows","3","data-testid","mcp-set-description",3,"ngModel","ngModelChange"],["color","primary","data-testid","mcp-set-active",3,"checked","change"],["class","mcp-hint warn",4,"ngIf"],[1,"mcp-sub-title"],["data-testid","mcp-redirect-list",1,"mcp-redirect-list"],[4,"ngFor","ngForOf"],["class","mcp-redirect-empty",4,"ngIf"],[1,"mcp-redirect-addrow"],["appearance","outline",1,"mcp-field","grow"],["matInput","","placeholder","https://client.example.com/callback","data-testid","mcp-redirect-add",3,"ngModel","ngModelChange","keyup.enter"],["mat-stroked-button","","type","button","data-testid","mcp-redirect-add-btn",3,"click"],["matInput","","placeholder","https://login.example.com","data-testid","mcp-login-url",3,"ngModel","ngModelChange"],["data-testid","mcp-auto-oauth",3,"value","selectionChange"],[3,"value"],[3,"value",4,"ngIf"],[3,"value",4,"ngFor","ngForOf"],[1,"mcp-hint"],["color","primary","data-testid","mcp-apikey-toggle",3,"checked","change"],["color","primary","data-testid","mcp-require-role-toggle",3,"checked","change"],[4,"ngIf","ngIfElse"],["anyUser",""],[1,"mcp-regenerate-row"],["mat-stroked-button","","type","button","data-testid","mcp-regenerate-secret",3,"click"],[4,"ngIf"],["data-testid","mcp-lazy-select",3,"value","selectionChange"],["value","auto"],["value","on"],["value","off"],["data-testid","mcp-scope-line",1,"mcp-scope-line"],["data-testid","mcp-housekeeping",1,"mcp-card"],["noOrphans",""],[1,"mcp-flush-row"],["mat-stroked-button","","type","button","data-testid","mcp-flush-cache",3,"disabled","click"],["data-testid","mcp-fullconfig",1,"mcp-fullconfig"],[1,"mcp-card","mcp-danger"],[1,"mcp-danger-copy"],["mat-flat-button","","color","warn","type","button","data-testid","mcp-delete-server",3,"click"],["data-testid","mcp-rename-warning",1,"mcp-inline-warning"],[1,"mcp-hint","warn"],["type","button",1,"mcp-x",3,"click"],[1,"mcp-redirect-empty"],[1,"mcp-toolstyle",3,"value","change"],["value","merged","data-testid","mcp-toolstyle-merged"],[1,"mcp-radio-label"],["class","mcp-radio-note",4,"ngIf"],["value","prefixed","data-testid","mcp-toolstyle-prefixed"],["class","mcp-hint warn","data-testid","mcp-toolstyle-note",4,"ngIf"],[1,"mcp-radio-note"],["data-testid","mcp-toolstyle-note",1,"mcp-hint","warn"],["color","primary","data-testid","mcp-allow-writes-toggle",3,"checked","change"],["readOnlyServer",""],["mat-stroked-button","","type","button","data-testid","mcp-housekeeping-review",3,"click"]],template:function(o,i){if(1&o&&(e.j41(0,"div",0)(1,"section",1)(2,"h2",2),e.EFF(3,"Identity"),e.k0s(),e.j41(4,"mat-form-field",3)(5,"mat-label"),e.EFF(6,"Name (namespace)"),e.k0s(),e.j41(7,"input",4),e.bIt("ngModelChange",function(c){return i.setName(c)}),e.k0s()(),e.DNE(8,Rg,2,1,"p",5),e.j41(9,"mat-form-field",3)(10,"mat-label"),e.EFF(11,"Label"),e.k0s(),e.j41(12,"input",6),e.bIt("ngModelChange",function(c){return i.setLabel(c)}),e.k0s()(),e.j41(13,"mat-form-field",3)(14,"mat-label"),e.EFF(15,"Description"),e.k0s(),e.j41(16,"textarea",7),e.bIt("ngModelChange",function(c){return i.setDescription(c)}),e.k0s()(),e.j41(17,"mat-slide-toggle",8),e.bIt("change",function(c){return i.setActive(c)}),e.EFF(18," Active "),e.k0s(),e.DNE(19,Ig,2,0,"p",9),e.k0s(),e.j41(20,"section",1)(21,"h2",2),e.EFF(22,"Authentication"),e.k0s(),e.j41(23,"h3",10),e.EFF(24,"Redirect URIs"),e.k0s(),e.j41(25,"ul",11),e.DNE(26,Eg,5,2,"li",12),e.DNE(27,$g,2,0,"li",13),e.k0s(),e.j41(28,"div",14)(29,"mat-form-field",15)(30,"mat-label"),e.EFF(31,"Add redirect URI"),e.k0s(),e.j41(32,"input",16),e.bIt("ngModelChange",function(c){return i.newRedirectUri=c})("keyup.enter",function(){return i.addRedirect()}),e.k0s()(),e.j41(33,"button",17),e.bIt("click",function(){return i.addRedirect()}),e.EFF(34," Add "),e.k0s()(),e.j41(35,"mat-form-field",3)(36,"mat-label"),e.EFF(37,"Custom login URL"),e.k0s(),e.j41(38,"input",18),e.bIt("ngModelChange",function(c){return i.setLoginUrl(c)}),e.k0s()(),e.j41(39,"mat-form-field",3)(40,"mat-label"),e.EFF(41,"Auto OAuth service"),e.k0s(),e.j41(42,"mat-select",19),e.bIt("selectionChange",function(c){return i.setAutoOauth(c.value)}),e.j41(43,"mat-option",20),e.EFF(44,"None"),e.k0s(),e.DNE(45,Gg,2,2,"mat-option",21),e.DNE(46,jg,2,3,"mat-option",22),e.k0s()(),e.j41(47,"p",23),e.EFF(48," Sign-ins are sent straight to this OAuth provider instead of the DreamFactory login form. "),e.k0s(),e.j41(49,"mat-slide-toggle",24),e.bIt("change",function(c){return i.setAllowApiKey(c)}),e.EFF(50," Allow API-key authentication "),e.k0s(),e.j41(51,"p",23),e.EFF(52," Anyone with the URL and a valid API key connects without a login prompt. The key's role decides which tools it can use. "),e.k0s(),e.j41(53,"mat-slide-toggle",25),e.bIt("change",function(c){return i.setRequireRoleAccess(c)}),e.EFF(54," Require role access "),e.k0s(),e.j41(55,"p",23),e.DNE(56,Ng,2,0,"ng-container",26),e.DNE(57,Ag,1,0,"ng-template",null,27,e.C5r),e.k0s(),e.j41(59,"div",28)(60,"button",29),e.bIt("click",function(){return i.regenerateSecret()}),e.EFF(61," Regenerate client secret\u2026 "),e.k0s(),e.j41(62,"span",23),e.EFF(63," Clients using the old secret will stop connecting. "),e.k0s()()(),e.j41(64,"section",1)(65,"h2",2),e.EFF(66,"Serving"),e.k0s(),e.DNE(67,zg,13,4,"ng-container",30),e.DNE(68,Ug,9,5,"ng-container",30),e.j41(69,"h3",10),e.EFF(70,"Catalog delivery"),e.k0s(),e.j41(71,"mat-form-field",3)(72,"mat-label"),e.EFF(73,"Catalog delivery"),e.k0s(),e.j41(74,"mat-select",31),e.bIt("selectionChange",function(c){return i.setLazy(c.value)}),e.j41(75,"mat-option",32),e.EFF(76,"Auto \u2014 recommended"),e.k0s(),e.j41(77,"mat-option",33),e.EFF(78,"Always on-demand"),e.k0s(),e.j41(79,"mat-option",34),e.EFF(80,"Never"),e.k0s()()(),e.j41(81,"p",23),e.EFF(82," When the tool list exceeds 32 KB (~8k tokens), agents first receive five discovery tools instead of the full catalog. "),e.k0s(),e.j41(83,"p",35),e.EFF(84),e.k0s()(),e.j41(85,"section",36)(86,"h2",2),e.EFF(87,"Housekeeping"),e.k0s(),e.DNE(88,qg,5,2,"ng-container",26),e.DNE(89,Kg,2,0,"ng-template",null,37,e.C5r),e.j41(91,"div",38)(92,"button",39),e.bIt("click",function(){return i.flushCache()}),e.EFF(93," Flush cache now "),e.k0s(),e.j41(94,"span",23),e.EFF(95," Saves flush the cache automatically \u2014 this one is for support. "),e.k0s()()(),e.j41(96,"section",1)(97,"h2",2),e.EFF(98,"Full configuration"),e.k0s(),e.j41(99,"p",23),e.EFF(100," The stored config, read-only \u2014 what the audit sees is what you see. "),e.k0s(),e.j41(101,"pre",40),e.EFF(102),e.k0s()(),e.j41(103,"section",41)(104,"h2",2),e.EFF(105,"Danger zone"),e.k0s(),e.j41(106,"p",42),e.EFF(107," Delete this MCP server. Clients lose access immediately. "),e.k0s(),e.j41(108,"button",43),e.bIt("click",function(){return i.requestDelete.emit()}),e.EFF(109," Delete server\u2026 "),e.k0s()()()),2&o){const r=e.sdS(58),c=e.sdS(90);e.R7$(7),e.Y8G("ngModel",i.store.draftName),e.R7$(1),e.Y8G("ngIf",i.renamePending),e.R7$(4),e.Y8G("ngModel",i.store.draftLabel),e.R7$(4),e.Y8G("ngModel",i.store.draftDescription),e.R7$(1),e.Y8G("checked",i.store.draftIsActive),e.R7$(2),e.Y8G("ngIf",!i.store.draftIsActive),e.R7$(7),e.Y8G("ngForOf",i.store.cfg.redirectUris),e.R7$(1),e.Y8G("ngIf",0===i.store.cfg.redirectUris.length),e.R7$(5),e.Y8G("ngModel",i.newRedirectUri),e.R7$(6),e.Y8G("ngModel",i.store.cfg.customLoginUrl),e.R7$(4),e.Y8G("value",i.store.cfg.autoOauthService),e.R7$(1),e.Y8G("value",null),e.R7$(2),e.Y8G("ngIf",i.missingAutoOauth),e.R7$(1),e.Y8G("ngForOf",i.oauthServices),e.R7$(3),e.Y8G("checked",i.store.cfg.allowApiKeyAuth),e.R7$(4),e.Y8G("checked",i.store.cfg.requireRoleAccess),e.R7$(2),e.AVh("warn",!i.store.cfg.requireRoleAccess),e.R7$(1),e.Y8G("ngIf",i.store.cfg.requireRoleAccess)("ngIfElse",r),e.R7$(11),e.Y8G("ngIf",!i.store.isSystemMcp),e.R7$(1),e.Y8G("ngIf",!i.store.isSystemMcp),e.R7$(6),e.Y8G("value",i.lazyValue),e.R7$(10),e.SpI(" Scope tools to caller's role: ",i.scopeToolsOn?"on":"off"," \u2014 set by MCP_SCOPE_TOOLS on the server. "),e.R7$(4),e.Y8G("ngIf",i.orphanCount>0)("ngIfElse",c),e.R7$(4),e.Y8G("disabled",i.flushingCache),e.R7$(10),e.JRh(i.fullConfigJson)}},dependencies:[d.MD,d.Sq,d.bT,m.YN,m.me,m.BC,m.vS,u.Hl,u.$z,h.hM,O.RG,O.rl,O.nJ,E.fS,E.fg,J.Wk,J.VT,J._g,G.Ve,G.VO,q.wT,X.mV,X.sG,S.uc],styles:[".mcp-settings[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:14px;max-width:760px}.mcp-card[_ngcontent-%COMP%]{background:var(--df-surface);border:1px solid color-mix(in srgb,var(--df-text) 8%,transparent);border-radius:10px;padding:16px 18px}.mcp-card[_ngcontent-%COMP%] .mcp-card-title[_ngcontent-%COMP%]{display:flex;align-items:center;gap:8px;font-size:14.5px;font-weight:700;margin:0 0 12px}.mcp-sub-title[_ngcontent-%COMP%]{font-size:12.5px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;opacity:.6;margin:14px 0 8px}.mcp-sub-title[_ngcontent-%COMP%]:first-of-type{margin-top:0}.mcp-field[_ngcontent-%COMP%]{display:block;width:100%}.mcp-hint[_ngcontent-%COMP%]{font-size:12.5px;opacity:.7;margin:2px 0 12px}.mcp-hint.warn[_ngcontent-%COMP%]{color:var(--df-warning);opacity:1;font-weight:500}.mcp-inline-warning[_ngcontent-%COMP%]{background:var(--df-warning-soft);border:1px solid color-mix(in srgb,var(--df-warning) 40%,transparent);color:var(--df-warning);border-radius:8px;padding:8px 12px;font-size:13px;font-weight:500;margin:-6px 0 14px}.mcp-redirect-list[_ngcontent-%COMP%]{list-style:none;margin:0 0 8px;padding:0;display:flex;flex-direction:column;gap:6px}.mcp-redirect-list[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{display:flex;align-items:center;gap:8px}.mcp-redirect-list[_ngcontent-%COMP%] code[_ngcontent-%COMP%]{font-size:12.5px;background:color-mix(in srgb,var(--df-text) 3.5%,transparent);border:1px solid color-mix(in srgb,var(--df-text) 8%,transparent);border-radius:6px;padding:3px 8px;word-break:break-all}.mcp-redirect-list[_ngcontent-%COMP%] .mcp-redirect-empty[_ngcontent-%COMP%]{font-size:12.5px;opacity:.7}.mcp-x[_ngcontent-%COMP%]{background:none;border:none;cursor:pointer;font:inherit;font-size:17px;line-height:1;padding:2px 6px;border-radius:6px;color:inherit;opacity:.6}.mcp-x[_ngcontent-%COMP%]:hover{opacity:1;background:color-mix(in srgb,var(--df-text) 5%,transparent)}.mcp-redirect-addrow[_ngcontent-%COMP%]{display:flex;align-items:flex-start;gap:10px}.mcp-redirect-addrow[_ngcontent-%COMP%] .grow[_ngcontent-%COMP%]{flex:1}.mcp-redirect-addrow[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{margin-top:6px}.mcp-regenerate-row[_ngcontent-%COMP%]{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-top:4px}.mcp-regenerate-row[_ngcontent-%COMP%] .mcp-hint[_ngcontent-%COMP%]{margin:0}.mcp-toolstyle[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:8px;margin-bottom:4px}.mcp-toolstyle[_ngcontent-%COMP%] .mcp-radio-label[_ngcontent-%COMP%]{display:block;font-size:13.5px;white-space:normal;line-height:1.45}.mcp-toolstyle[_ngcontent-%COMP%] .mcp-radio-note[_ngcontent-%COMP%]{display:block;font-size:12px;font-weight:600;color:var(--df-accent);margin-top:2px}.mcp-scope-line[_ngcontent-%COMP%]{font-size:13px;opacity:.8;margin:4px 0 0}.mcp-flush-row[_ngcontent-%COMP%]{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-top:14px}.mcp-flush-row[_ngcontent-%COMP%] .mcp-hint[_ngcontent-%COMP%]{margin:0}.mcp-fullconfig[_ngcontent-%COMP%]{margin:0;background:color-mix(in srgb,var(--df-text) 3.5%,transparent);border:1px solid color-mix(in srgb,var(--df-text) 8%,transparent);border-radius:8px;padding:12px 14px;font-size:12px;line-height:1.55;overflow:auto;max-height:420px}.mcp-danger[_ngcontent-%COMP%]{background:var(--df-danger-soft);border-color:color-mix(in srgb,var(--df-danger) 35%,transparent)}.mcp-danger[_ngcontent-%COMP%] .mcp-danger-copy[_ngcontent-%COMP%]{font-size:13.5px;margin:0 0 10px}@media (max-width: 700px){.mcp-card[_ngcontent-%COMP%]{padding:14px}.mcp-redirect-addrow[_ngcontent-%COMP%]{flex-direction:column;align-items:stretch}.mcp-redirect-addrow[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{margin-top:0}}"]})}}return n})(),Qg=(()=>{class n{constructor(t){this.http=t}health(){return this.http.get("/_internal/ai/mcp-health",{context:(0,K.Ku)()}).pipe((0,R.W)(()=>(0,L.of)(null)))}catalog(t,o){if(null==o.roleId&&null==o.appId)return this.http.post(`${A.C}/${t}/rpc`,{jsonrpc:"2.0",id:1,method:"tools/list",params:{}},{context:(0,K.Ku)()}).pipe((0,z.T)(r=>function Ud(n){if(!n.length)return null;const a=JSON.stringify({tools:n}).length,t=new Set(Me.map(i=>i.verb)),o=n.some(i=>t.has(i.name));return{count:o?null:n.length,bytes:a,lazy:o}}(r?.result?.tools??[])),(0,R.W)(()=>(0,L.of)(null)));const i={service:t};return null!=o.appId?i.app_id=String(o.appId):i.role_id=String(o.roleId),this.http.get("/_internal/ai/mcp-catalog",{params:i,context:(0,K.Ku)()}).pipe((0,z.T)(r=>"number"==typeof r?.count&&"number"==typeof r?.bytes?{count:r.count,bytes:r.bytes,lazy:"lazy"===r.lazy}:null),(0,R.W)(()=>(0,L.of)(null)))}static{this.\u0275fac=function(o){return new(o||n)(e.KVO(ee.Qq))}}static{this.\u0275prov=e.jDH({token:n,factory:n.\u0275fac,providedIn:"root"})}}return n})();function Zg(n,a){1&n&&(e.j41(0,"span",21),e.EFF(1," \u26a0 Serves no tools "),e.k0s())}function ef(n,a){if(1&n&&(e.j41(0,"span",22),e.EFF(1),e.k0s()),2&n){const t=e.XpG(2);e.AVh("good","ok"===t.healthLevel)("warn","warn"===t.healthLevel)("bad","error"===t.healthLevel),e.Y8G("matTooltip",t.healthText),e.R7$(1),e.SpI(" ",t.healthChip," ")}}function tf(n,a){1&n&&(e.j41(0,"span",23),e.EFF(1," Health unavailable "),e.k0s())}function nf(n,a){if(1&n){const t=e.RV6();e.j41(0,"div",24)(1,"code",25),e.EFF(2),e.k0s(),e.j41(3,"button",26),e.bIt("click",function(){e.eBV(t);const i=e.XpG(2);return e.Njj(i.copyUrl())}),e.EFF(4," Copy "),e.k0s(),e.j41(5,"span",27),e.EFF(6),e.k0s()()}if(2&n){const t=e.XpG(2);e.R7$(2),e.JRh(t.mcpUrl),e.R7$(4),e.SpI(" OAuth 2.1",t.store.cfg.allowApiKeyAuth?" \xb7 API key":""," \xb7 Streamable HTTP ")}}function of(n,a){if(1&n&&(e.qex(0),e.j41(1,"strong"),e.EFF(2,"MCP sign-in redirects to APP_URL."),e.k0s(),e.EFF(3," APP_URL is "),e.j41(4,"code"),e.EFF(5),e.k0s(),e.EFF(6," but this page is open at "),e.j41(7,"code"),e.EFF(8),e.k0s(),e.EFF(9,", so clients must connect through APP_URL (the endpoint shown here already uses it). If clients cannot reach that address, set APP_URL to the one they use and run "),e.j41(10,"code"),e.EFF(11,"php artisan config:clear"),e.k0s(),e.EFF(12,". "),e.bVm()),2&n){const t=e.XpG().ngIf;e.R7$(5),e.JRh(t.appUrl),e.R7$(3),e.JRh(t.seen)}}function af(n,a){if(1&n&&(e.j41(0,"strong"),e.EFF(1,"APP_URL is not set."),e.k0s(),e.EFF(2," MCP sign-in redirects to APP_URL, so set it to the address clients use (for example "),e.j41(3,"code"),e.EFF(4),e.k0s(),e.EFF(5,") and run "),e.j41(6,"code"),e.EFF(7,"php artisan config:clear"),e.k0s(),e.EFF(8,". ")),2&n){const t=e.XpG().ngIf;e.R7$(4),e.JRh(t.seen)}}function rf(n,a){if(1&n&&(e.j41(0,"df-alert",28),e.DNE(1,of,13,2,"ng-container",29),e.DNE(2,af,9,1,"ng-template",null,30,e.C5r),e.k0s()),2&n){const t=a.ngIf,o=e.sdS(3);e.Y8G("showAlert",!0)("dismissible",!1),e.R7$(1),e.Y8G("ngIf",t.appUrl)("ngIfElse",o)}}function cf(n,a){if(1&n&&(e.j41(0,"df-alert",31),e.EFF(1),e.k0s()),2&n){const t=a.ngIf;e.Y8G("alertType",t.level)("showAlert",!0)("dismissible",!1),e.R7$(1),e.SpI(" ",t.text," ")}}function sf(n,a){if(1&n){const t=e.RV6();e.j41(0,"df-mcp-connect",32),e.bIt("goToTab",function(i){e.eBV(t);const r=e.XpG(2);return e.Njj(r.setTab(i))}),e.k0s()}if(2&n){const t=e.XpG(2);e.Y8G("store",t.store)("mcpUrl",t.mcpUrl)}}function lf(n,a){if(1&n&&e.nrm(0,"df-mcp-tools",33),2&n){const t=e.XpG(2);e.Y8G("store",t.store)("loading",t.loading)}}function df(n,a){if(1&n){const t=e.RV6();e.j41(0,"df-mcp-settings",34),e.bIt("requestDelete",function(){e.eBV(t);const i=e.XpG(2);return e.Njj(i.deleteServer())}),e.k0s()}if(2&n){const t=e.XpG(2);e.Y8G("store",t.store)}}function pf(n,a){if(1&n&&(e.qex(0),e.EFF(1," \xb7 "),e.j41(2,"b"),e.EFF(3),e.k0s(),e.bVm()),2&n){const t=e.XpG(3);e.R7$(3),e.Lme("",t.store.savedTotalTools()," \u2192 ",t.store.totalTools()," tools")}}function mf(n,a){if(1&n){const t=e.RV6();e.j41(0,"div",35)(1,"div",36)(2,"span"),e.EFF(3," Unsaved changes "),e.DNE(4,pf,4,2,"ng-container",37),e.k0s(),e.j41(5,"button",38),e.bIt("click",function(){e.eBV(t);const i=e.XpG(2);return e.Njj(i.discard())}),e.EFF(6," Discard "),e.k0s(),e.j41(7,"button",39),e.bIt("click",function(){e.eBV(t);const i=e.XpG(2);return e.Njj(i.save())}),e.EFF(8),e.k0s()()()}if(2&n){const t=e.XpG(2);e.R7$(4),e.Y8G("ngIf",t.store.savedTotalTools()!==t.store.totalTools()),e.R7$(3),e.Y8G("disabled",t.saving),e.R7$(1),e.SpI(" ",t.saving?"Saving\u2026":"Save"," ")}}function _f(n,a){if(1&n){const t=e.RV6();e.j41(0,"div",1)(1,"header",2)(2,"div",3)(3,"span",4),e.EFF(4),e.k0s(),e.j41(5,"button",5),e.bIt("click",function(){e.eBV(t);const i=e.XpG();return e.Njj(i.setTab("tools"))}),e.EFF(6),e.k0s(),e.DNE(7,Zg,2,0,"span",6),e.DNE(8,ef,2,8,"span",7),e.DNE(9,tf,2,0,"span",8),e.k0s(),e.DNE(10,nf,7,2,"div",9),e.DNE(11,rf,4,4,"df-alert",10),e.DNE(12,cf,2,4,"df-alert",11),e.j41(13,"nav",12)(14,"a",13),e.bIt("click",function(){e.eBV(t);const i=e.XpG();return e.Njj(i.setTab("connect"))}),e.EFF(15," Connect "),e.k0s(),e.j41(16,"a",14),e.bIt("click",function(){e.eBV(t);const i=e.XpG();return e.Njj(i.setTab("tools"))}),e.EFF(17),e.k0s(),e.j41(18,"a",15),e.bIt("click",function(){e.eBV(t);const i=e.XpG();return e.Njj(i.setTab("settings"))}),e.EFF(19," Settings "),e.k0s()()(),e.j41(20,"mat-tab-nav-panel",null,16),e.DNE(22,sf,1,2,"df-mcp-connect",17),e.DNE(23,lf,1,2,"df-mcp-tools",18),e.DNE(24,df,1,1,"df-mcp-settings",19),e.k0s(),e.DNE(25,mf,9,3,"div",20),e.k0s()}if(2&n){const t=e.sdS(21),o=e.XpG();e.R7$(3),e.AVh("good",o.store.service.isActive)("warn",!o.store.service.isActive),e.R7$(1),e.SpI(" ",o.store.service.isActive?"\u25cf Active":"Inactive \u2014 endpoint refuses connections"," "),e.R7$(2),e.SpI(" ",o.store.totalTools()," tools live "),e.R7$(1),e.Y8G("ngIf",0===o.store.totalTools()),e.R7$(1),e.Y8G("ngIf",o.healthLevel),e.R7$(1),e.Y8G("ngIf",!o.store.health&&o.store.healthChecked),e.R7$(1),e.Y8G("ngIf","connect"!==o.tab),e.R7$(1),e.Y8G("ngIf",o.appUrlIssue),e.R7$(1),e.Y8G("ngIf",o.otherHealthIssue),e.R7$(1),e.Y8G("tabPanel",t),e.R7$(1),e.Y8G("active","connect"===o.tab),e.R7$(2),e.Y8G("active","tools"===o.tab),e.R7$(1),e.SpI(" Tools \xb7 ",o.store.totalTools()," "),e.R7$(1),e.Y8G("active","settings"===o.tab),e.R7$(4),e.Y8G("ngIf","connect"===o.tab),e.R7$(1),e.Y8G("ngIf","tools"===o.tab),e.R7$(1),e.Y8G("ngIf","settings"===o.tab),e.R7$(1),e.Y8G("ngIf",o.store.dirty())}}let rt=class qt{constructor(a,t,o,i,r,c,s){this.activatedRoute=a,this.router=t,this.servicesService=o,this.serviceTypeService=i,this.cacheService=r,this.snackbarService=c,this.mcpApi=s,this.store=new En,this.tab="connect",this.loading=!0,this.saving=!1}ngOnInit(){this.routeSub=this.activatedRoute.data.subscribe(()=>this.initFromRoute())}initFromRoute(){const a=this.activatedRoute.snapshot.data.data,t=this.activatedRoute.snapshot.queryParamMap,o="system_mcp"===a?.type?"system_mcp":"mcp";this.sub?.unsubscribe(),this.store=new En,this.sub=this.store.changes.subscribe(()=>{}),this.store.init({id:a?.id,name:a?.name??"",label:a?.label||a?.name||"",description:a?.description??"",isActive:a?.isActive??!0,type:o,raw:a},a?.config??{}),this.store.created="1"===t.get("created"),this.saving=!1,this.tab="connect";const i=t.get("tab");i&&["connect","tools","settings"].includes(i)&&(this.tab=i),this.snackbarService.setPageLabel(this.router.url,this.store.service.label||this.store.service.name),this.loading=!0,this.loadBackendServices();const r=this.store;r.reloadServerCatalog=()=>this.loadServerCatalog(r),this.loadServerCatalog(r),this.mcpApi.health().subscribe(c=>{this.store===r&&(r.health=c,r.healthChecked=!0,r.touch())})}loadServerCatalog(a){const t=a.previewIdentity;this.mcpApi.catalog(a.service.name,t).subscribe(o=>{this.store!==a||a.previewIdentity!==t||a.setServerCatalog(o)})}ngOnDestroy(){this.sub?.unsubscribe(),this.routeSub?.unsubscribe()}loadBackendServices(){(0,ue.p)({types:this.serviceTypeService.getAll({fields:"name,group",limit:1e3}),services:this.servicesService.getAll({limit:1e3,fields:"id,name,label,type,is_active",sort:"name"})}).subscribe({next:({types:a,services:t})=>{const o={};for(const i of a?.resource??[])o[i.name]=i.group;this.store.backendServices=On(t?.resource??[],o),this.store.backendLoaded=!0,this.loading=!1,this.store.touch()},error:()=>{this.store.backendLoaded=!0,this.loading=!1,this.store.touch()}})}get mcpUrl(){return`${function Hd(n){const a=n?.checks?.find(t=>"app_url"===t.id)?.details?.app_url;return"string"==typeof a&&a?a.replace(/\/+$/,""):null}(this.store.health)??window.location.origin}/mcp/${this.store.service.name}`}get appUrlIssue(){const a=this.store.health?.checks?.find(o=>"app_url"===o.id&&"ok"!==(o.status||"").toLowerCase());if(!a)return null;const t=a.details??{};return{appUrl:"string"==typeof t.app_url?t.app_url:"",seen:t.forwarded_origin||t.request_origin||window.location.origin}}get otherHealthIssue(){const a=this.store.health?.checks?.find(t=>"app_url"!==t.id&&"ok"!==(t.status||"").toLowerCase());return a?{level:"error"===(a.status||"").toLowerCase()?"error":"warning",text:a.message??""}:null}get healthLevel(){return this.store.health?function Kd(n){const a=(n.status||"").toLowerCase();return"ok"===a||"healthy"===a||"pass"===a?"ok":"warn"===a||"warning"===a||"degraded"===a?"warn":"error"}(this.store.health):null}get healthText(){const a=this.store.health;return a?function Jd(n){return(n.checks??[]).find(t=>"ok"!==(t.status||"").toLowerCase()&&t.message)?.message??""}(a)||("ok"===this.healthLevel?"MCP health: all checks pass":"MCP health: check failed"):""}get healthChip(){const a=this.healthLevel;return"ok"===a?"\u25cf Healthy":"\u26a0 "+("app_url"===this.store.health?.checks?.find(i=>"ok"!==(i.status||"").toLowerCase())?.id?"APP_URL mismatch":"warn"===a?"Health warning":"Health error")}copyUrl(){navigator.clipboard?.writeText(this.mcpUrl).catch(()=>{}),this.store.copiedUrl=!0,this.snackbarService.openSnackBar("Endpoint URL copied.","success")}setTab(a){this.tab=a}canDeactivate(){return!this.store?.service||!this.store.dirty()||window.confirm("You have unsaved changes. Leave this page and discard them?")}save(){if(this.saving||!this.store.dirty())return;const a=this.store,t=a.savedTotalTools(),o=a.draftName!==a.service.name,i=a.connectionAffecting();if(o&&!window.confirm(`Renaming changes your endpoint URL to \u2026/mcp/${a.draftName}. Connected clients will break until they update. Rename?`))return;this.saving=!0;const r={...a.service.raw,id:a.service.id,name:a.draftName,label:a.draftLabel,description:a.draftDescription,isActive:a.draftIsActive,type:a.service.type,config:Mn(a.cfg,a.service.type)};delete r.serviceDocByServiceId,this.servicesService.update(a.service.id,r).subscribe({next:()=>{this.saving=!1,a.markSaved(),this.cacheService.delete(a.service.name).subscribe({next:()=>{},error:()=>{}}),this.loadServerCatalog(a);const c=a.totalTools();0===c?this.snackbarService.openSnackBar("Saved \u2014 this server serves no tools. Agents can connect but can call nothing.","warning"):this.snackbarService.openSnackBar(c!==t?`Saved \u2014 ${c} tools live (was ${t}).`:"Saved.","success"),i&&(a.reconnectBanner=!0),a.touch()},error:c=>{this.saving=!1,this.snackbarService.openSnackBar(c?.error?.error?.message??"Save failed.","error")}})}discard(){this.store.discard()}deleteServer(){const a=this.store;window.prompt(`Delete this MCP server? Clients lose access immediately.\nType the server name (${a.service.name}) to confirm:`)===a.service.name&&this.servicesService.delete(a.service.id).subscribe({next:()=>{this.snackbarService.openSnackBar("Server deleted.","success"),this.router.navigate(["../"],{relativeTo:this.activatedRoute})},error:()=>this.snackbarService.openSnackBar("Delete failed.","error")})}static{this.\u0275fac=function(t){return new(t||qt)(e.rXU(N.nX),e.rXU(N.Ix),e.rXU(U.Z1),e.rXU(U.zs),e.rXU(U.j8),e.rXU(pe.L),e.rXU(Qg))}}static{this.\u0275cmp=e.VBU({type:qt,selectors:[["df-mcp-details"]],standalone:!0,features:[e.aNF],decls:1,vars:1,consts:[["class","mcp-page",4,"ngIf"],[1,"mcp-page"],[1,"mcp-head"],[1,"mcp-head-row"],[1,"mcp-chip"],["type","button","matTooltip","Open the Tools tab",1,"mcp-chip","primary","mcp-chip-btn",3,"click"],["class","mcp-chip warn",4,"ngIf"],["class","mcp-chip","tabindex","0","data-testid","mcp-health-chip",3,"good","warn","bad","matTooltip",4,"ngIf"],["class","mcp-chip","matTooltip","/_internal/ai/mcp-health did not answer.","data-testid","mcp-health-chip",4,"ngIf"],["class","mcp-head-url",4,"ngIf"],["class","mcp-head-alert","alertType","warning","data-testid","mcp-health-message",3,"showAlert","dismissible",4,"ngIf"],["class","mcp-head-alert","data-testid","mcp-health-issue",3,"alertType","showAlert","dismissible",4,"ngIf"],["mat-tab-nav-bar","","mat-stretch-tabs","false","mat-align-tabs","start",1,"mcp-tabs",3,"tabPanel"],["mat-tab-link","","data-testid","mcp-tab-connect",3,"active","click"],["mat-tab-link","","data-testid","mcp-tab-tools",3,"active","click"],["mat-tab-link","","data-testid","mcp-tab-settings",3,"active","click"],["mcpTabPanel",""],[3,"store","mcpUrl","goToTab",4,"ngIf"],[3,"store","loading",4,"ngIf"],[3,"store","requestDelete",4,"ngIf"],["class","mcp-dirty-bar","data-testid","mcp-dirty-bar",4,"ngIf"],[1,"mcp-chip","warn"],["tabindex","0","data-testid","mcp-health-chip",1,"mcp-chip",3,"matTooltip"],["matTooltip","/_internal/ai/mcp-health did not answer.","data-testid","mcp-health-chip",1,"mcp-chip"],[1,"mcp-head-url"],["data-testid","mcp-endpoint-url"],["mat-stroked-button","","type","button","data-testid","mcp-copy-url",3,"click"],[1,"mcp-head-auth"],["alertType","warning","data-testid","mcp-health-message",1,"mcp-head-alert",3,"showAlert","dismissible"],[4,"ngIf","ngIfElse"],["noAppUrl",""],["data-testid","mcp-health-issue",1,"mcp-head-alert",3,"alertType","showAlert","dismissible"],[3,"store","mcpUrl","goToTab"],[3,"store","loading"],[3,"store","requestDelete"],["data-testid","mcp-dirty-bar",1,"mcp-dirty-bar"],[1,"mcp-dirty-inner"],[4,"ngIf"],["mat-button","","type","button","data-testid","mcp-discard",1,"mcp-dirty-discard",3,"click"],["mat-flat-button","","type","button","data-testid","mcp-save",1,"mcp-dirty-save",3,"disabled","click"]],template:function(t,o){1&t&&e.DNE(0,_f,26,21,"div",0),2&t&&e.Y8G("ngIf",o.store.service)},dependencies:[d.MD,d.bT,u.Hl,u.$z,Z.m_,S.uc,S.oV,oe.RI,oe.Bu,oe.hQ,oe.Ql,Vd.W,wp,Pg,Wg],styles:[".mcp-page[_ngcontent-%COMP%]{position:relative;padding-bottom:72px}.mcp-head[_ngcontent-%COMP%]{margin-bottom:4px}.mcp-head[_ngcontent-%COMP%] .mcp-head-row[_ngcontent-%COMP%]{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.mcp-head[_ngcontent-%COMP%] .mcp-head-row[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{font-size:21px;font-weight:700;margin:0}.mcp-head[_ngcontent-%COMP%] .mcp-head-url[_ngcontent-%COMP%]{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-top:8px}.mcp-head[_ngcontent-%COMP%] .mcp-head-url[_ngcontent-%COMP%] code[_ngcontent-%COMP%]{font-size:13px;background:color-mix(in srgb,var(--df-text) 3.5%,transparent);border:1px solid color-mix(in srgb,var(--df-text) 8%,transparent);border-radius:7px;padding:4px 10px;overflow-x:auto;max-width:100%}.mcp-head[_ngcontent-%COMP%] .mcp-head-url[_ngcontent-%COMP%] .mcp-head-auth[_ngcontent-%COMP%]{font-size:12.5px;opacity:.65}.mcp-tabs[_ngcontent-%COMP%]{margin:16px 0 20px;border-bottom:1px solid var(--df-border)}.mcp-tabs[_ngcontent-%COMP%] .mat-mdc-tab-link[_ngcontent-%COMP%]{min-width:120px;font-size:14px;font-weight:600;letter-spacing:normal;border-radius:var(--df-radius-sm, 6px) var(--df-radius-sm, 6px) 0 0}.mcp-tabs[_ngcontent-%COMP%] .mat-mdc-tab-link[_ngcontent-%COMP%]:hover{background:var(--df-hover)}.mcp-tabs[_ngcontent-%COMP%] .mat-mdc-tab-link.mdc-tab--active[_ngcontent-%COMP%]{background:var(--df-accent-soft)}.mcp-head-alert[_ngcontent-%COMP%]{display:block;margin-top:10px}.mcp-head-alert[_ngcontent-%COMP%] code[_ngcontent-%COMP%]{font-size:12.5px;padding:0 4px;border-radius:4px;background:var(--df-surface-2)}.mcp-chip[_ngcontent-%COMP%]{display:inline-flex;align-items:center;gap:5px;padding:2px 9px;border-radius:999px;font-size:12px;font-weight:600;border:1px solid color-mix(in srgb,var(--df-text) 14%,transparent);background:color-mix(in srgb,var(--df-text) 2%,transparent);white-space:nowrap}.mcp-chip.good[_ngcontent-%COMP%]{background:var(--df-success-soft);border-color:color-mix(in srgb,var(--df-success) 35%,transparent);color:var(--df-success)}.mcp-chip.warn[_ngcontent-%COMP%]{background:var(--df-warning-soft);border-color:color-mix(in srgb,var(--df-warning) 40%,transparent);color:var(--df-warning)}.mcp-chip.bad[_ngcontent-%COMP%]{background:var(--df-danger-soft);border-color:color-mix(in srgb,var(--df-danger) 40%,transparent);color:var(--df-danger)}.mcp-chip.primary[_ngcontent-%COMP%]{background:color-mix(in srgb,var(--df-accent) 10%,transparent);border-color:color-mix(in srgb,var(--df-accent) 38%,transparent);color:var(--df-accent)}.mcp-chip-btn[_ngcontent-%COMP%]{cursor:pointer;font:inherit;font-size:12px;font-weight:600}.mcp-dirty-bar[_ngcontent-%COMP%]{position:fixed;left:0;right:0;bottom:0;z-index:30;display:flex;justify-content:center;padding:0 16px 14px;pointer-events:none}.mcp-dirty-bar[_ngcontent-%COMP%] .mcp-dirty-inner[_ngcontent-%COMP%]{pointer-events:auto;display:flex;align-items:center;gap:14px;background:var(--df-accent-strong);color:var(--df-accent-contrast);border-radius:12px;padding:8px 12px 8px 18px;box-shadow:0 6px 24px color-mix(in srgb,var(--df-text) 25%,transparent);font-size:13.5px;flex-wrap:wrap}.mcp-dirty-bar[_ngcontent-%COMP%] .mcp-dirty-discard[_ngcontent-%COMP%]{color:var(--df-accent-soft)}.mcp-dirty-bar[_ngcontent-%COMP%] .mcp-dirty-save[_ngcontent-%COMP%]{background:var(--df-surface);color:var(--df-accent-strong)}@media (max-width: 700px){.mcp-head[_ngcontent-%COMP%] .mcp-head-row[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{font-size:18px}}"]})}};function gf(n,a){if(1&n&&(e.j41(0,"p",30),e.EFF(1),e.k0s()),2&n){const t=e.XpG();e.R7$(1),e.SpI(" A service named ",t.name," already exists. ")}}function ff(n,a){1&n&&(e.j41(0,"p",30),e.EFF(1," Name is required. "),e.k0s())}function uf(n,a){if(1&n){const t=e.RV6();e.j41(0,"button",31),e.bIt("click",function(){e.eBV(t);const i=e.XpG();return e.Njj(i.showDescription=!0)}),e.EFF(1," + Add description "),e.k0s()}}function hf(n,a){if(1&n){const t=e.RV6();e.j41(0,"div",11)(1,"label",32),e.EFF(2,"Description"),e.k0s(),e.j41(3,"textarea",33),e.bIt("input",function(i){e.eBV(t);const r=e.XpG();return e.Njj(r.onDescriptionInput(i))}),e.k0s()()}if(2&n){const t=e.XpG();e.R7$(3),e.Y8G("value",t.description)}}function bf(n,a){if(1&n){const t=e.RV6();e.j41(0,"button",59),e.bIt("click",function(){const r=e.eBV(t).$implicit,c=e.XpG(2);return e.Njj(c.pickClone(r))}),e.EFF(1),e.j41(2,"span",60),e.EFF(3),e.k0s()()}if(2&n){const t=a.$implicit;e.R7$(1),e.SpI(" ",t.label,"\xa0"),e.R7$(2),e.SpI("(",t.name,")")}}function vf(n,a){1&n&&(e.j41(0,"button",61),e.EFF(1," No other MCP servers yet "),e.k0s())}function xf(n,a){if(1&n&&(e.j41(0,"span",62),e.EFF(1),e.k0s()),2&n){const t=e.XpG(2);e.R7$(1),e.SpI(" Cloned from ",t.cloneSource," ")}}function Cf(n,a){1&n&&(e.j41(0,"p",63),e.EFF(1,"Loading services\u2026"),e.k0s())}function kf(n,a){1&n&&(e.j41(0,"p",63),e.EFF(1," No database or file services yet. Create one under API Generation & Connections. "),e.k0s())}function yf(n,a){if(1&n&&(e.j41(0,"p",63),e.EFF(1),e.k0s()),2&n){const t=e.XpG(2);e.R7$(1),e.SpI(" No service matches '",t.q,"'. Create one under API Generation & Connections. ")}}function Mf(n,a){if(1&n){const t=e.RV6();e.j41(0,"div",68)(1,"mat-checkbox",69),e.bIt("change",function(){const r=e.eBV(t).$implicit,c=e.XpG(3);return e.Njj(c.toggle(r.name))}),e.j41(2,"span",70),e.EFF(3),e.k0s()(),e.j41(4,"span",71),e.EFF(5),e.k0s(),e.j41(6,"span",72),e.EFF(7),e.k0s()()}if(2&n){const t=a.$implicit,o=e.XpG(3);e.R7$(1),e.Y8G("checked",o.isSelected(t.name)),e.BMQ("data-testid","mcp-create-svc-"+t.name),e.R7$(2),e.JRh(t.label),e.R7$(2),e.JRh(t.name),e.R7$(2),e.JRh(o.toolDelta(t))}}function Of(n,a){if(1&n){const t=e.RV6();e.j41(0,"div",64)(1,"div",65)(2,"span"),e.EFF(3),e.k0s(),e.j41(4,"mat-checkbox",66),e.bIt("change",function(){e.eBV(t);const i=e.XpG(2);return e.Njj(i.toggleGroup(i.dbFiltered()))}),e.EFF(5," Select all "),e.k0s()(),e.DNE(6,Mf,8,5,"div",67),e.k0s()}if(2&n){const t=e.XpG(2);e.R7$(3),e.SpI("Databases (",t.dbAll().length,")"),e.R7$(1),e.Y8G("checked",t.groupAllSelected(t.dbFiltered()))("indeterminate",t.groupSomeSelected(t.dbFiltered())),e.R7$(2),e.Y8G("ngForOf",t.dbFiltered())}}function Pf(n,a){if(1&n){const t=e.RV6();e.j41(0,"div",68)(1,"mat-checkbox",69),e.bIt("change",function(){const r=e.eBV(t).$implicit,c=e.XpG(3);return e.Njj(c.toggle(r.name))}),e.j41(2,"span",70),e.EFF(3),e.k0s()(),e.j41(4,"span",71),e.EFF(5),e.k0s(),e.j41(6,"span",72),e.EFF(7),e.k0s()()}if(2&n){const t=a.$implicit,o=e.XpG(3);e.R7$(1),e.Y8G("checked",o.isSelected(t.name)),e.BMQ("data-testid","mcp-create-svc-"+t.name),e.R7$(2),e.JRh(t.label),e.R7$(2),e.JRh(t.name),e.R7$(2),e.JRh(o.toolDelta(t))}}function Ff(n,a){if(1&n){const t=e.RV6();e.j41(0,"div",64)(1,"div",65)(2,"span"),e.EFF(3),e.k0s(),e.j41(4,"mat-checkbox",66),e.bIt("change",function(){e.eBV(t);const i=e.XpG(2);return e.Njj(i.toggleGroup(i.fileFiltered()))}),e.EFF(5," Select all "),e.k0s()(),e.DNE(6,Pf,8,5,"div",67),e.k0s()}if(2&n){const t=e.XpG(2);e.R7$(3),e.SpI("File storage (",t.fileAll().length,")"),e.R7$(1),e.Y8G("checked",t.groupAllSelected(t.fileFiltered()))("indeterminate",t.groupSomeSelected(t.fileFiltered())),e.R7$(2),e.Y8G("ngForOf",t.fileFiltered())}}function wf(n,a){1&n&&(e.j41(0,"p",73),e.EFF(1," Nothing selected \u2014 agents get global tools only. "),e.k0s())}function Df(n,a){if(1&n&&(e.j41(0,"span",71),e.EFF(1),e.k0s()),2&n){const t=e.XpG().$implicit;e.R7$(1),e.SpI(" ","db"===t.svc.kind?"Database":"File storage"," ")}}function Tf(n,a){1&n&&(e.j41(0,"span",79),e.EFF(1,"Not on this instance"),e.k0s())}function Sf(n,a){if(1&n&&(e.j41(0,"span",71),e.EFF(1),e.k0s()),2&n){const t=e.XpG().$implicit,o=e.XpG(2);e.AVh("good","ro"===o.accessKindFor(t)),e.R7$(1),e.SpI(" ",o.accessLabelFor(t)," ")}}function Rf(n,a){if(1&n){const t=e.RV6();e.j41(0,"li")(1,"span",74),e.EFF(2),e.k0s(),e.DNE(3,Df,2,1,"span",75),e.DNE(4,Tf,2,0,"span",76),e.DNE(5,Sf,2,3,"span",77),e.j41(6,"button",78),e.bIt("click",function(){const r=e.eBV(t).$implicit,c=e.XpG(2);return e.Njj(c.toggle(r.name))}),e.EFF(7," \u2715 "),e.k0s()()}if(2&n){const t=a.$implicit;e.R7$(2),e.JRh((null==t.svc?null:t.svc.label)||t.name),e.R7$(1),e.Y8G("ngIf",t.svc),e.R7$(1),e.Y8G("ngIf",!t.svc),e.R7$(1),e.Y8G("ngIf",t.svc)}}function If(n,a){if(1&n){const t=e.RV6();e.j41(0,"section",34)(1,"div",35)(2,"h2"),e.EFF(3,"Expose services"),e.k0s()(),e.j41(4,"div",36)(5,"button",37),e.bIt("click",function(){e.eBV(t);const i=e.XpG();return e.Njj(i.presetAllDb())}),e.EFF(6," All databases (read-only) "),e.k0s(),e.j41(7,"button",38),e.bIt("click",function(){e.eBV(t);const i=e.XpG();return e.Njj(i.presetChoose())}),e.EFF(8," Choose services "),e.k0s(),e.j41(9,"button",39),e.EFF(10," Clone another MCP server\u2026 "),e.k0s(),e.j41(11,"mat-menu",null,40),e.DNE(13,bf,4,2,"button",41),e.DNE(14,vf,2,0,"button",42),e.k0s(),e.DNE(15,xf,2,1,"span",43),e.k0s(),e.j41(16,"div",44)(17,"span",45),e.EFF(18,"Access for these services:"),e.k0s(),e.j41(19,"div",46)(20,"button",47),e.bIt("click",function(){e.eBV(t);const i=e.XpG();return e.Njj(i.setAccess("ro"))}),e.EFF(21," Read-only \u2014 recommended "),e.k0s(),e.j41(22,"button",48),e.bIt("click",function(){e.eBV(t);const i=e.XpG();return e.Njj(i.setAccess("rw"))}),e.EFF(23," Read & write "),e.k0s()()(),e.j41(24,"div",49)(25,"div",50)(26,"input",51),e.bIt("ngModelChange",function(i){e.eBV(t);const r=e.XpG();return e.Njj(r.q=i)}),e.k0s(),e.DNE(27,Cf,2,0,"p",52),e.DNE(28,kf,2,0,"p",52),e.DNE(29,yf,2,1,"p",52),e.DNE(30,Of,7,4,"div",53),e.DNE(31,Ff,7,4,"div",53),e.k0s(),e.j41(32,"aside",54)(33,"div",55),e.EFF(34),e.k0s(),e.DNE(35,wf,2,0,"p",56),e.j41(36,"ul",57),e.DNE(37,Rf,8,4,"li",58),e.k0s()()()()}if(2&n){const t=e.sdS(12),o=e.XpG();e.R7$(5),e.AVh("primary","alldb"===o.preset),e.R7$(2),e.AVh("primary","choose"===o.preset),e.R7$(2),e.AVh("primary","clone"===o.preset),e.Y8G("matMenuTriggerFor",t),e.R7$(4),e.Y8G("ngForOf",o.mcpSiblings),e.R7$(1),e.Y8G("ngIf",0===o.mcpSiblings.length),e.R7$(1),e.Y8G("ngIf",o.cloneApplied),e.R7$(5),e.AVh("on","ro"===o.access),e.BMQ("aria-checked","ro"===o.access),e.R7$(2),e.AVh("on","rw"===o.access),e.BMQ("aria-checked","rw"===o.access),e.R7$(4),e.Y8G("placeholder","Search "+o.backendServices.length+" services\u2026")("ngModel",o.q),e.R7$(1),e.Y8G("ngIf",!o.instanceLoaded),e.R7$(1),e.Y8G("ngIf",o.instanceLoaded&&0===o.backendServices.length),e.R7$(1),e.Y8G("ngIf",o.emptySearch()),e.R7$(1),e.Y8G("ngIf",o.dbAll().length>0&&o.dbFiltered().length>0),e.R7$(1),e.Y8G("ngIf",o.fileAll().length>0&&o.fileFiltered().length>0),e.R7$(3),e.SpI("Selected (",o.selected.size,")"),e.R7$(1),e.Y8G("ngIf",0===o.selected.size),e.R7$(2),e.Y8G("ngForOf",o.selectedList())}}function Ef(n,a){1&n&&(e.j41(0,"b"),e.EFF(1," Empty never means every service."),e.k0s())}rt=(0,re.Cg)([(0,H.d)({checkProperties:!0})],rt);let Jn=(()=>{class n{canDeactivate(){return!(!this.createdOk&&(this.name||0!==this.selected.size))||window.confirm("Leave without creating the server? Your entries will be discarded.")}constructor(t,o,i,r,c){this.activatedRoute=t,this.router=o,this.servicesService=i,this.serviceTypeService=r,this.snackbarService=c,this.createdOk=!1,this.serverType="mcp",this.name="",this.label="",this.labelTouched=!1,this.nameBlurred=!1,this.description="",this.showDescription=!1,this.preset="choose",this.access="ro",this.selected=new Set,this.q="",this.cloneApplied=!1,this.cloneSource="",this.clonedDisabled=new Set,this.accessTouchedAfterClone=!1,this.toolStyle="merged",this.backendServices=[],this.existingNames=new Set,this.mcpSiblings=[],this.instanceLoaded=!1,this.saving=!1}ngOnInit(){this.loadInstance()}loadInstance(){(0,ue.p)({types:this.serviceTypeService.getAll({fields:"name,group",limit:1e3}),services:this.servicesService.getAll({limit:1e3,fields:"id,name,label,type,is_active",sort:"name"})}).subscribe({next:({types:t,services:o})=>{const i={};for(const c of t?.resource??[])i[c.name]=c.group;const r=o?.resource??[];this.backendServices=On(r,i),this.existingNames=new Set(r.map(c=>c.name).filter(Boolean)),this.mcpSiblings=r.filter(c=>"mcp"===c.type).map(c=>({id:c.id,name:c.name,label:c.label||c.name})),this.instanceLoaded=!0},error:()=>{this.instanceLoaded=!0}})}setType(t){this.serverType=t}onNameInput(t){const o=t.target;this.name=o.value.toLowerCase().replace(/\s+/g,"").replace(/[^a-z0-9_-]/g,""),o.value=this.name,this.labelTouched||(this.label=this.labelSuggestion())}onLabelInput(t){const o=t.target;this.label=o.value,this.labelTouched=o.value.length>0,this.labelTouched||(this.label=this.labelSuggestion())}onDescriptionInput(t){this.description=t.target.value}labelSuggestion(){return this.name.split(/[_-]+/).filter(Boolean).map(t=>t.charAt(0).toUpperCase()+t.slice(1)).join(" ")}get urlPreview(){return`${window.location.origin}/mcp/${this.name||"\u2026"}`}nameTaken(){return""!==this.name&&this.existingNames.has(this.name)}matches(t){const o=this.q.trim().toLowerCase();return!o||t.name.toLowerCase().includes(o)||t.label.toLowerCase().includes(o)}dbAll(){return this.backendServices.filter(t=>"db"===t.kind)}fileAll(){return this.backendServices.filter(t=>"file"===t.kind)}dbFiltered(){return this.dbAll().filter(t=>this.matches(t))}fileFiltered(){return this.fileAll().filter(t=>this.matches(t))}emptySearch(){return this.q.trim().length>0&&0===this.dbFiltered().length&&0===this.fileFiltered().length}toolDelta(t){return`+${$(t.kind).length} tools`}isSelected(t){return this.selected.has(t)}toggle(t){this.selected.has(t)?this.selected.delete(t):this.selected.add(t),"alldb"===this.preset&&(this.preset="choose")}groupAllSelected(t){return t.length>0&&t.every(o=>this.selected.has(o.name))}groupSomeSelected(t){const o=t.filter(i=>this.selected.has(i.name)).length;return o>0&&o({name:t,svc:this.backendServices.find(o=>o.name===t)??null}))}accessLabelFor(t){if(!t.svc)return"";const o=Dt(t.svc,this.compiledDisabledTools());return"full"===o.kind?"Full access":o.label}accessKindFor(t){return t.svc?Dt(t.svc,this.compiledDisabledTools()).kind:""}presetAllDb(){this.selected=new Set(this.dbAll().map(t=>t.name)),this.access="ro",this.cloneApplied=!1,this.preset="alldb"}presetChoose(){this.cloneApplied=!1,this.preset="choose"}pickClone(t){this.servicesService.get(t.id).subscribe({next:o=>{const i=wt(o?.config);this.selected=new Set(i.exposedServices),this.clonedDisabled=new Set(i.disabledTools),this.toolStyle=i.toolStyle??"prefixed",this.cloneApplied=!0,this.cloneSource=t.label||t.name,this.accessTouchedAfterClone=!1,this.preset="clone"},error:()=>this.snackbarService.openSnackBar(`Could not load ${t.name}'s configuration.`,"error")})}setAccess(t){this.access=t,this.accessTouchedAfterClone=!0}compiledDisabledTools(){if("system_mcp"===this.serverType)return new Set;if(this.cloneApplied&&!this.accessTouchedAfterClone)return new Set(this.clonedDisabled);if("ro"===this.access){const t=new Set;for(const o of this.selected){const i=this.backendServices.find(r=>r.name===o);i&&Tt(i).forEach(r=>t.add(r))}return t}return new Set}draftConfig(){const t=wt({});return t.exposedServices=[...this.selected],t.disabledTools=this.compiledDisabledTools(),t.toolStyle=this.toolStyle,t.lazyMode="auto",t.allowApiKeyAuth=!1,t}breakdown(){return ze(this.draftConfig(),this.backendServices)}consequenceMain(){if("system_mcp"===this.serverType)return`Agents will get the ${ie.length} System API admin tools.`;const t=this.breakdown();if(0===this.selected.size)return`Agents will get global tools only (${t.globalTools}) \u2014 no data access.`;const o=[];t.dbServices>0&&o.push("merged"===t.effectiveStyle?`${t.dbTools} database (shared)`:`${t.dbTools} database`),t.fileServices>0&&o.push(`${t.fileTools} file`),o.push(`${t.globalTools} global`);let i=`Agents will get ${t.total} tools: ${o.join(" \xb7 ")}.`;return t.readOnly&&(i+=" Write tools are off."),i}showEmptyBold(){return"mcp"===this.serverType&&0===this.selected.size}canSubmit(){return!this.saving&&this.name.length>0&&!this.nameTaken()}submit(){if(!this.canSubmit())return;this.saving=!0;const t="mcp"===this.serverType?{exposedServices:[...this.selected],disabledTools:[...this.compiledDisabledTools()].sort(),toolStyle:this.toolStyle,lazyMode:"auto",allowApiKeyAuth:!1,allowWrites:!0,requireRoleAccess:!0}:{requireRoleAccess:!0};this.servicesService.create({resource:[{name:this.name,label:this.label||this.name,description:this.description,isActive:!0,type:this.serverType,config:t}]}).subscribe({next:o=>{this.saving=!1,this.createdOk=!0;const i=o?.resource?.[0]?.id;null!=i?this.router.navigate(["../",i],{relativeTo:this.activatedRoute,queryParams:{created:1}}):this.router.navigate(["../"],{relativeTo:this.activatedRoute})},error:o=>{this.saving=!1,this.snackbarService.openSnackBar(o?.error?.error?.message??"Create failed.","error")}})}cancel(){this.router.navigate(["../"],{relativeTo:this.activatedRoute})}static{this.\u0275fac=function(o){return new(o||n)(e.rXU(N.nX),e.rXU(N.Ix),e.rXU(U.Z1),e.rXU(U.zs),e.rXU(pe.L))}}static{this.\u0275cmp=e.VBU({type:n,selectors:[["df-mcp-create"]],standalone:!0,features:[e.aNF],decls:53,vars:18,consts:[["data-testid","mcp-create-page",1,"mcp-create"],[1,"mcp-create-head"],[1,"mcp-create-tagline"],["role","radiogroup","aria-label","Server type",1,"mcp-create-types"],["type","button","role","radio","data-testid","mcp-create-type-mcp",1,"mcp-type-card",3,"click"],["aria-hidden","true",1,"mcp-type-dot"],[1,"mcp-type-body"],[1,"mcp-type-title"],[1,"mcp-type-desc"],["type","button","role","radio","data-testid","mcp-create-type-system",1,"mcp-type-card",3,"click"],[1,"mcp-card","mcp-create-card"],[1,"mcp-field"],["for","mcp-create-name-input"],[1,"req"],["id","mcp-create-name-input","type","text","autocomplete","off","spellcheck","false","placeholder","warehouse","data-testid","mcp-create-name",1,"mcp-input",3,"value","input","blur"],["data-testid","mcp-create-url-preview",1,"mcp-url-preview"],[1,"mcp-url-mono"],[1,"mcp-url-note"],["class","mcp-field-error",4,"ngIf"],["for","mcp-create-label-input"],["id","mcp-create-label-input","type","text","autocomplete","off",1,"mcp-input",3,"value","input"],["type","button","class","mcp-linklike",3,"click",4,"ngIf"],["class","mcp-field",4,"ngIf"],["class","mcp-create-expose",4,"ngIf"],["data-testid","mcp-create-consequence",1,"mcp-create-consequence"],[4,"ngIf"],[1,"mcp-create-auth"],[1,"mcp-create-actions"],["mat-stroked-button","","type","button",3,"click"],["mat-flat-button","","color","primary","type","button","data-testid","mcp-create-submit",3,"disabled","click"],[1,"mcp-field-error"],["type","button",1,"mcp-linklike",3,"click"],["for","mcp-create-desc-input"],["id","mcp-create-desc-input","rows","3",1,"mcp-input","mcp-textarea",3,"value","input"],[1,"mcp-create-expose"],[1,"mcp-section-head"],[1,"mcp-preset-row"],["type","button","data-testid","mcp-create-preset-alldb",1,"mcp-chip","mcp-chip-btn",3,"click"],["type","button",1,"mcp-chip","mcp-chip-btn",3,"click"],["type","button",1,"mcp-chip","mcp-chip-btn",3,"matMenuTriggerFor"],["cloneMenu","matMenu"],["mat-menu-item","",3,"click",4,"ngFor","ngForOf"],["mat-menu-item","","disabled","",4,"ngIf"],["class","mcp-chip good",4,"ngIf"],[1,"mcp-access-row"],[1,"mcp-access-label"],["role","radiogroup","aria-label","Access for these services",1,"mcp-seg"],["type","button","role","radio","data-testid","mcp-create-access-ro",1,"mcp-seg-btn",3,"click"],["type","button","role","radio","data-testid","mcp-create-access-rw",1,"mcp-seg-btn",3,"click"],[1,"mcp-create-pickgrid"],[1,"mcp-card","mcp-pick-card"],["type","search","data-testid","mcp-create-search",1,"mcp-input","mcp-pick-search",3,"placeholder","ngModel","ngModelChange"],["class","mcp-pick-note",4,"ngIf"],["class","mcp-pick-group",4,"ngIf"],[1,"mcp-pick-side"],[1,"mcp-side-head"],["class","mcp-side-none",4,"ngIf"],[1,"mcp-side-list"],[4,"ngFor","ngForOf"],["mat-menu-item","",3,"click"],[1,"mcp-menu-name"],["mat-menu-item","","disabled",""],[1,"mcp-chip","good"],[1,"mcp-pick-note"],[1,"mcp-pick-group"],[1,"mcp-pick-grouphead"],[3,"checked","indeterminate","change"],["class","mcp-pick-row",4,"ngFor","ngForOf"],[1,"mcp-pick-row"],[3,"checked","change"],[1,"mcp-pick-label"],[1,"mcp-chip"],[1,"mcp-pick-delta"],[1,"mcp-side-none"],[1,"mcp-side-label"],["class","mcp-chip",4,"ngIf"],["class","mcp-chip warn",4,"ngIf"],["class","mcp-chip",3,"good",4,"ngIf"],["type","button","matTooltip","Remove from selection","aria-label","Remove from selection",1,"mcp-side-remove",3,"click"],[1,"mcp-chip","warn"]],template:function(o,i){1&o&&(e.j41(0,"div",0)(1,"header",1)(2,"h1"),e.EFF(3,"New MCP server"),e.k0s(),e.j41(4,"p",2),e.EFF(5," Choose what agents may reach. Naming, catalog size, and auth are handled automatically. "),e.k0s()(),e.j41(6,"div",3)(7,"button",4),e.bIt("click",function(){return i.setType("mcp")}),e.nrm(8,"span",5),e.j41(9,"span",6)(10,"span",7),e.EFF(11,"MCP server"),e.k0s(),e.j41(12,"span",8),e.EFF(13,"Expose your data services to AI agents."),e.k0s()()(),e.j41(14,"button",9),e.bIt("click",function(){return i.setType("system_mcp")}),e.nrm(15,"span",5),e.j41(16,"span",6)(17,"span",7),e.EFF(18,"System API MCP server"),e.k0s(),e.j41(19,"span",8),e.EFF(20,"Expose the DreamFactory admin API itself."),e.k0s()()()(),e.j41(21,"section",10)(22,"div",11)(23,"label",12),e.EFF(24,"Name "),e.j41(25,"span",13),e.EFF(26,"*"),e.k0s()(),e.j41(27,"input",14),e.bIt("input",function(c){return i.onNameInput(c)})("blur",function(){return i.nameBlurred=!0}),e.k0s(),e.j41(28,"p",15)(29,"span",16),e.EFF(30),e.k0s(),e.EFF(31," "),e.j41(32,"span",17),e.EFF(33,"\u2014 the name is the URL"),e.k0s()(),e.DNE(34,gf,2,1,"p",18),e.DNE(35,ff,2,0,"p",18),e.k0s(),e.j41(36,"div",11)(37,"label",19),e.EFF(38,"Label"),e.k0s(),e.j41(39,"input",20),e.bIt("input",function(c){return i.onLabelInput(c)}),e.k0s()(),e.DNE(40,uf,2,0,"button",21),e.DNE(41,hf,4,1,"div",22),e.k0s(),e.DNE(42,If,38,26,"section",23),e.j41(43,"p",24),e.EFF(44),e.DNE(45,Ef,2,0,"b",25),e.k0s(),e.j41(46,"p",26),e.EFF(47," Secured with OAuth 2.1, configured automatically. Connection details appear after you create the server. "),e.k0s(),e.j41(48,"div",27)(49,"button",28),e.bIt("click",function(){return i.cancel()}),e.EFF(50,"Cancel"),e.k0s(),e.j41(51,"button",29),e.bIt("click",function(){return i.submit()}),e.EFF(52),e.k0s()()()),2&o&&(e.R7$(7),e.AVh("on","mcp"===i.serverType),e.BMQ("aria-checked","mcp"===i.serverType),e.R7$(7),e.AVh("on","system_mcp"===i.serverType),e.BMQ("aria-checked","system_mcp"===i.serverType),e.R7$(13),e.Y8G("value",i.name),e.R7$(3),e.SpI("\u2192 ",i.urlPreview,""),e.R7$(4),e.Y8G("ngIf",i.nameTaken()),e.R7$(1),e.Y8G("ngIf",i.nameBlurred&&""===i.name),e.R7$(4),e.Y8G("value",i.label),e.R7$(1),e.Y8G("ngIf",!i.showDescription),e.R7$(1),e.Y8G("ngIf",i.showDescription),e.R7$(1),e.Y8G("ngIf","mcp"===i.serverType),e.R7$(2),e.SpI(" ",i.consequenceMain(),""),e.R7$(1),e.Y8G("ngIf",i.showEmptyBold()),e.R7$(6),e.Y8G("disabled",!i.canSubmit()),e.R7$(1),e.SpI(" ",i.saving?"Creating\u2026":"Create server"," "))},dependencies:[d.MD,d.Sq,d.bT,m.YN,m.me,m.BC,m.vS,u.Hl,u.$z,j.g7,j.So,ae.Cn,ae.kk,ae.fb,ae.Cp,S.uc,S.oV],styles:['@charset "UTF-8";.mcp-create[_ngcontent-%COMP%]{font-family:Inter,Helvetica Neue,sans-serif;max-width:980px;padding:0 0 40px}.mcp-create-head[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{font-size:21px;font-weight:700;margin:0 0 4px}.mcp-create-head[_ngcontent-%COMP%] .mcp-create-tagline[_ngcontent-%COMP%]{font-size:13.5px;opacity:.65;margin:0 0 18px;max-width:560px}.mcp-create-types[_ngcontent-%COMP%]{display:flex;gap:12px;flex-wrap:wrap;margin-bottom:16px}.mcp-create-types[_ngcontent-%COMP%] .mcp-type-card[_ngcontent-%COMP%]{flex:1 1 260px;display:flex;align-items:flex-start;gap:10px;text-align:left;background:var(--df-surface);border:1px solid color-mix(in srgb,var(--df-text) 8%,transparent);border-radius:10px;padding:14px 16px;cursor:pointer;font:inherit}.mcp-create-types[_ngcontent-%COMP%] .mcp-type-card.on[_ngcontent-%COMP%]{border-color:var(--df-accent);box-shadow:inset 0 0 0 1px var(--df-accent);background:color-mix(in srgb,var(--df-accent) 4%,transparent)}.mcp-create-types[_ngcontent-%COMP%] .mcp-type-card[_ngcontent-%COMP%] .mcp-type-dot[_ngcontent-%COMP%]{flex:none;margin-top:2px;width:16px;height:16px;border-radius:50%;border:2px solid color-mix(in srgb,var(--df-text) 30%,transparent);background:var(--df-surface)}.mcp-create-types[_ngcontent-%COMP%] .mcp-type-card.on[_ngcontent-%COMP%] .mcp-type-dot[_ngcontent-%COMP%]{border-color:var(--df-accent);box-shadow:inset 0 0 0 3.5px var(--df-surface);background:var(--df-accent)}.mcp-create-types[_ngcontent-%COMP%] .mcp-type-card[_ngcontent-%COMP%] .mcp-type-body[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:2px}.mcp-create-types[_ngcontent-%COMP%] .mcp-type-card[_ngcontent-%COMP%] .mcp-type-title[_ngcontent-%COMP%]{font-size:14px;font-weight:700}.mcp-create-types[_ngcontent-%COMP%] .mcp-type-card[_ngcontent-%COMP%] .mcp-type-desc[_ngcontent-%COMP%]{font-size:12.5px;opacity:.65}.mcp-card[_ngcontent-%COMP%]{background:var(--df-surface);border:1px solid color-mix(in srgb,var(--df-text) 8%,transparent);border-radius:10px;margin-bottom:14px}.mcp-create-card[_ngcontent-%COMP%]{padding:16px}.mcp-field[_ngcontent-%COMP%]{margin-bottom:14px}.mcp-field[_ngcontent-%COMP%] label[_ngcontent-%COMP%]{display:block;font-size:12.5px;font-weight:600;margin-bottom:4px}.mcp-field[_ngcontent-%COMP%] .req[_ngcontent-%COMP%]{color:var(--df-danger)}.mcp-field[_ngcontent-%COMP%]:last-child{margin-bottom:0}.mcp-input[_ngcontent-%COMP%]{font:inherit;font-size:13.5px;padding:8px 12px;border:1px solid color-mix(in srgb,var(--df-text) 18%,transparent);border-radius:8px;background:var(--df-surface);width:100%;max-width:420px;box-sizing:border-box}.mcp-input[_ngcontent-%COMP%]:focus{outline:2px solid color-mix(in srgb,var(--df-accent) 35%,transparent);outline-offset:0}.mcp-textarea[_ngcontent-%COMP%]{max-width:640px;resize:vertical}.mcp-url-preview[_ngcontent-%COMP%]{margin:6px 0 0;font-size:12.5px}.mcp-url-preview[_ngcontent-%COMP%] .mcp-url-mono[_ngcontent-%COMP%]{font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;color:var(--df-accent);word-break:break-all}.mcp-url-preview[_ngcontent-%COMP%] .mcp-url-note[_ngcontent-%COMP%]{opacity:.6}.mcp-field-error[_ngcontent-%COMP%]{margin:6px 0 0;font-size:12.5px;font-weight:600;color:var(--df-danger)}.mcp-linklike[_ngcontent-%COMP%]{background:none;border:none;padding:0;font:inherit;font-size:13px;font-weight:600;color:var(--df-accent);cursor:pointer}.mcp-section-head[_ngcontent-%COMP%]{margin:18px 0 10px}.mcp-section-head[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{font-size:12px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;opacity:.75;margin:0}.mcp-chip[_ngcontent-%COMP%]{display:inline-flex;align-items:center;gap:5px;padding:2px 9px;border-radius:999px;font-size:12px;font-weight:600;border:1px solid color-mix(in srgb,var(--df-text) 14%,transparent);background:color-mix(in srgb,var(--df-text) 2%,transparent);white-space:nowrap}.mcp-chip.good[_ngcontent-%COMP%]{background:var(--df-success-soft);border-color:color-mix(in srgb,var(--df-success) 35%,transparent);color:var(--df-success)}.mcp-chip.warn[_ngcontent-%COMP%]{background:var(--df-warning-soft);border-color:color-mix(in srgb,var(--df-warning) 40%,transparent);color:var(--df-warning)}.mcp-chip.primary[_ngcontent-%COMP%]{background:color-mix(in srgb,var(--df-accent) 10%,transparent);border-color:color-mix(in srgb,var(--df-accent) 38%,transparent);color:var(--df-accent)}.mcp-chip-btn[_ngcontent-%COMP%]{cursor:pointer;font:inherit;font-size:12px;font-weight:600}.mcp-preset-row[_ngcontent-%COMP%]{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-bottom:12px}.mcp-menu-name[_ngcontent-%COMP%]{opacity:.55;font-size:12px}.mcp-access-row[_ngcontent-%COMP%]{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-bottom:12px}.mcp-access-row[_ngcontent-%COMP%] .mcp-access-label[_ngcontent-%COMP%]{font-size:13px;font-weight:600}.mcp-seg[_ngcontent-%COMP%]{display:inline-flex;border:1px solid color-mix(in srgb,var(--df-text) 18%,transparent);border-radius:8px;overflow:hidden}.mcp-seg[_ngcontent-%COMP%] .mcp-seg-btn[_ngcontent-%COMP%]{font:inherit;font-size:13px;font-weight:600;padding:7px 14px;background:var(--df-surface);border:none;cursor:pointer;opacity:.75}.mcp-seg[_ngcontent-%COMP%] .mcp-seg-btn[_ngcontent-%COMP%] + .mcp-seg-btn[_ngcontent-%COMP%]{border-left:1px solid color-mix(in srgb,var(--df-text) 12%,transparent)}.mcp-seg[_ngcontent-%COMP%] .mcp-seg-btn.on[_ngcontent-%COMP%]{background:color-mix(in srgb,var(--df-accent) 12%,transparent);color:var(--df-accent);opacity:1}.mcp-create-pickgrid[_ngcontent-%COMP%]{display:grid;grid-template-columns:minmax(0,1fr) 280px;gap:16px;align-items:start}.mcp-pick-card[_ngcontent-%COMP%]{padding:12px 14px;margin-bottom:0}.mcp-pick-search[_ngcontent-%COMP%]{max-width:none}.mcp-pick-note[_ngcontent-%COMP%]{font-size:13px;opacity:.65;margin:12px 2px 2px}.mcp-pick-group[_ngcontent-%COMP%]{margin-top:14px}.mcp-pick-grouphead[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;font-size:11.5px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;opacity:.8;border-bottom:1px solid color-mix(in srgb,var(--df-text) 6%,transparent);padding-bottom:2px;margin-bottom:4px}.mcp-pick-row[_ngcontent-%COMP%]{display:flex;align-items:center;gap:8px;flex-wrap:wrap;padding:2px 0}.mcp-pick-row[_ngcontent-%COMP%] .mcp-pick-label[_ngcontent-%COMP%]{font-size:13.5px;font-weight:600}.mcp-pick-row[_ngcontent-%COMP%] .mcp-pick-delta[_ngcontent-%COMP%]{margin-left:auto;font-size:12px;opacity:.6;white-space:nowrap}.mcp-pick-side[_ngcontent-%COMP%]{background:var(--df-surface);border:1px solid color-mix(in srgb,var(--df-text) 8%,transparent);border-radius:10px;padding:12px 14px}.mcp-pick-side[_ngcontent-%COMP%] .mcp-side-head[_ngcontent-%COMP%]{font-size:11.5px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;opacity:.8;margin-bottom:6px}.mcp-pick-side[_ngcontent-%COMP%] .mcp-side-none[_ngcontent-%COMP%]{font-size:13px;opacity:.65;margin:4px 0 0}.mcp-pick-side[_ngcontent-%COMP%] .mcp-side-list[_ngcontent-%COMP%]{list-style:none;margin:0;padding:0}.mcp-pick-side[_ngcontent-%COMP%] .mcp-side-list[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{display:flex;align-items:center;gap:6px;flex-wrap:wrap;padding:5px 0;border-bottom:1px solid color-mix(in srgb,var(--df-text) 5%,transparent)}.mcp-pick-side[_ngcontent-%COMP%] .mcp-side-list[_ngcontent-%COMP%] li[_ngcontent-%COMP%]:last-child{border-bottom:none}.mcp-pick-side[_ngcontent-%COMP%] .mcp-side-label[_ngcontent-%COMP%]{font-size:13px;font-weight:600}.mcp-pick-side[_ngcontent-%COMP%] .mcp-side-remove[_ngcontent-%COMP%]{margin-left:auto;background:none;border:none;cursor:pointer;font-size:13px;line-height:1;opacity:.45;padding:2px 4px}.mcp-pick-side[_ngcontent-%COMP%] .mcp-side-remove[_ngcontent-%COMP%]:hover{opacity:.9}.mcp-create-consequence[_ngcontent-%COMP%]{background:color-mix(in srgb,var(--df-accent) 7%,transparent);border:1px solid color-mix(in srgb,var(--df-accent) 25%,transparent);border-radius:10px;padding:10px 14px;font-size:13.5px;margin:16px 0}.mcp-create-auth[_ngcontent-%COMP%]{font-size:13px;opacity:.7;margin:0 0 18px}.mcp-create-actions[_ngcontent-%COMP%]{display:flex;justify-content:flex-end;gap:10px;flex-wrap:wrap}@media (max-width: 860px){.mcp-create-pickgrid[_ngcontent-%COMP%]{grid-template-columns:1fr}}@media (max-width: 700px){.mcp-create-head[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{font-size:18px}.mcp-input[_ngcontent-%COMP%], .mcp-textarea[_ngcontent-%COMP%]{max-width:none}.mcp-create-actions[_ngcontent-%COMP%]{justify-content:stretch}.mcp-create-actions[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{flex:1 1 auto}}']})}}return n})();function $f(n,a){1&n&&e.nrm(0,"df-mcp-details")}function Gf(n,a){1&n&&e.nrm(0,"df-mcp-create")}function jf(n,a){1&n&&e.nrm(0,"df-service-details")}let Nf=(()=>{class n{constructor(t){this.activatedRoute=t,this.mode="generic"}canDeactivate(){return"mcp-edit"===this.mode?this.details?.canDeactivate()??!0:"mcp-create"!==this.mode||(this.create?.canDeactivate()??!0)}ngOnInit(){this.routeSub=this.activatedRoute.data.subscribe(()=>this.computeMode())}ngOnDestroy(){this.routeSub?.unsubscribe()}computeMode(){const t=this.activatedRoute.snapshot,o=t.data.data;if("mcp"===o?.type||"system_mcp"===o?.type)return void(this.mode="mcp-edit");const i=!t.paramMap.get("id");this.mode=i&&(t.data.groups||t.parent?.data?.groups||[]).includes("MCP")?"mcp-create":"generic"}static{this.\u0275fac=function(o){return new(o||n)(e.rXU(N.nX))}}static{this.\u0275cmp=e.VBU({type:n,selectors:[["df-mcp-route-shim"]],viewQuery:function(o,i){if(1&o&&(e.GBs(rt,5),e.GBs(Jn,5)),2&o){let r;e.mGM(r=e.lsd())&&(i.details=r.first),e.mGM(r=e.lsd())&&(i.create=r.first)}},standalone:!0,features:[e.aNF],decls:3,vars:3,consts:[[4,"ngIf"]],template:function(o,i){1&o&&(e.DNE(0,$f,1,0,"df-mcp-details",0),e.DNE(1,Gf,1,0,"df-mcp-create",0),e.DNE(2,jf,1,0,"df-service-details",0)),2&o&&(e.Y8G("ngIf","mcp-edit"===i.mode),e.R7$(1),e.Y8G("ngIf","mcp-create"===i.mode),e.R7$(1),e.Y8G("ngIf","generic"===i.mode))},dependencies:[d.MD,d.bT,Ot,rt,Jn],encapsulation:2})}}return n})()},51407:(Wn,Le,g)=>{g.d(Le,{W:()=>G});var d=g(1843),ve=g(18331),re=g(68660),m=g(54342),j=g(94093);function fe(X,oe){if(1&X){const D=d.RV6();d.j41(0,"button",5),d.bIt("click",function(){d.eBV(D);const u=d.XpG(2);return d.Njj(u.dismissAlert())}),d.j41(1,"fa-icon",6),d.EFF(2),d.k0s()()}if(2&X){const D=d.XpG(2);d.R7$(1),d.Y8G("icon",D.faXmark),d.R7$(1),d.JRh("alerts.close")}}function O(X,oe){if(1&X&&(d.j41(0,"div",1),d.nrm(1,"fa-icon",2),d.j41(2,"span",3),d.SdG(3),d.k0s(),d.DNE(4,fe,3,2,"button",4),d.k0s()),2&X){const D=d.XpG();d.HbH(D.alertType),d.R7$(1),d.Y8G("icon",D.icon),d.R7$(3),d.Y8G("ngIf",D.dismissible)}}const E=["*"];let G=(()=>{class X{constructor(){this.alertType="success",this.showAlert=!1,this.dismissible=!0,this.alertClosed=new d.bkB,this.faXmark=j.Jyw}dismissAlert(){this.alertClosed.emit()}get icon(){switch(this.alertType){case"success":return j.SGM;case"error":return j.rfe;case"warning":return j.tUE;default:return j.iW_}}static{this.\u0275fac=function(e){return new(e||X)}}static{this.\u0275cmp=d.VBU({type:X,selectors:[["df-alert"]],inputs:{alertType:"alertType",showAlert:"showAlert",dismissible:"dismissible"},outputs:{alertClosed:"alertClosed"},standalone:!0,features:[d.aNF],ngContentSelectors:E,decls:1,vars:1,consts:[["class","alert-container",3,"class",4,"ngIf"],[1,"alert-container"],["aria-hidden","true",1,"alert-icon",3,"icon"],["role","alert",1,"alert-message"],["mat-icon-button","","class","dismiss-alert",3,"click",4,"ngIf"],["mat-icon-button","",1,"dismiss-alert",3,"click"],[3,"icon"]],template:function(e,u){1&e&&(d.NAR(),d.DNE(0,O,5,4,"div",0)),2&e&&d.Y8G("ngIf",u.showAlert)},dependencies:[ve.bT,re.Hl,re.iY,m.dX,m.aY],styles:[".alert-container[_ngcontent-%COMP%]{display:flex;flex-direction:row;align-items:center;justify-content:space-between;background-color:var(--df-surface);color:var(--df-text);border:1px solid var(--df-border);border-radius:var(--df-radius-sm);font-size:1.4rem}.alert-container[_ngcontent-%COMP%] .alert-message[_ngcontent-%COMP%]{flex:1;padding:8px}.alert-container[_ngcontent-%COMP%] .alert-icon[_ngcontent-%COMP%]{padding:0 10px}.alert-container.success[_ngcontent-%COMP%]{border-color:var(--df-success-border)}.alert-container.success[_ngcontent-%COMP%] .alert-icon[_ngcontent-%COMP%]{color:var(--df-success)}.alert-container.error[_ngcontent-%COMP%]{border-color:var(--df-danger-border)}.alert-container.error[_ngcontent-%COMP%] .alert-icon[_ngcontent-%COMP%]{color:var(--df-danger)}.alert-container.warning[_ngcontent-%COMP%]{border-color:var(--df-warning, var(--df-danger-border))}.alert-container.warning[_ngcontent-%COMP%] .alert-icon[_ngcontent-%COMP%]{color:var(--df-warning, var(--df-danger))}.alert-container.info[_ngcontent-%COMP%] .alert-icon[_ngcontent-%COMP%]{color:var(--df-accent)}"]})}}return X})()}}]); \ No newline at end of file diff --git a/dist/2966.b713aec47d3b11ab.js b/dist/2966.b713aec47d3b11ab.js new file mode 100644 index 00000000..6ff342d9 --- /dev/null +++ b/dist/2966.b713aec47d3b11ab.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkdf_admin_interface=self.webpackChunkdf_admin_interface||[]).push([[2966],{52966:(Wn,Le,g)=>{g.r(Le),g.d(Le,{DfMcpRouteShimComponent:()=>zf});var d=g(18331),ve=g(18724),ae=g(21406),e=g(1843),m=g(78227),L=g(29167),fe=g(28600),O=g(54688),$=g(453),D=g(91900),ce=g(60368),A=g(96984),R=g(31147),u=g(68660),w=g(54342),b=g(94093),S=g(98337),W=g(97828),ct=g(33492),je=g(28930),X=g(12324),Qn=g(97195),h=g(62633),Pe=g(69069),U=g(7263),P=g(58497),ee=g(62572),Ne=g(69099),Ae=g(23135),I=g(52483),Fe=g(14087),we=g(80972),st=g(73475),De=g(56579),Jt=g(89905);let Kt=(()=>{class n{constructor(t,o){this.http=t,this.userDataService=o,this.excludedServices=["logs","log"]}getAbsoluteApiUrl(t){const c=`${window.location.origin}/${(t.startsWith("/")?t.substring(1):t).replace(/^(dreamfactory\/dist\/)?/,"")}`;return console.log(`\u{1f50d} Constructed absolute URL for API request: ${c}`),c}isSelectableFileService(t){return!this.excludedServices.some(o=>t.name.toLowerCase().includes(o)||t.label.toLowerCase().includes(o))}getHeaders(){const t={},o=this.userDataService.token;return o&&(t[st.Zl]=o),console.log("Auth headers:",t),t}getFileServices(){console.log("Getting file services, session token:",this.userDataService.token);const t={resource:[{id:3,name:"files",label:"Local File Storage",type:"local_file"}]};return this.userDataService.token?new Ae.c(o=>{o.next(t);const i=`${window.location.origin}/api/v2/system/service`;console.log(`Loading file services from absolute URL: ${i}`);const c=this.getHeaders();this.http.get(i,{params:{filter:"type=local_file",fields:"id,name,label,type"},headers:c}).pipe((0,X.T)(s=>s&&s.resource&&Array.isArray(s.resource)?(s.resource=s.resource.filter(l=>this.isSelectableFileService(l)),0===s.resource.length?(console.warn("No valid file services found in API response, using defaults"),t):s):(console.warn("Invalid response format from API, using default services"),t)),(0,I.W)(s=>(console.error("Error fetching file services:",s),console.warn("API call failed, using default file services"),new Ae.c(l=>{l.next(t),l.complete()})))).subscribe({next:s=>{JSON.stringify(s)!==JSON.stringify(t)&&o.next(s),o.complete()},error:()=>{o.complete()}})}):(console.warn("No session token available, using hardcoded file services"),new Ae.c(o=>{o.next(t),o.complete()}))}listFiles(t,o=""){if(!t)return console.warn("No service name provided for listFiles, returning empty list"),new Ae.c(p=>{p.next({resource:[]}),p.complete()});const i=o?`api/v2/${t}/${o}`:`api/v2/${t}`;console.log(`Listing files from path: ${i}`);const r=`${window.location.origin}/${i}`;console.log(`Using absolute URL: ${r}`);const s={},l=this.userDataService.token;return l&&(s[st.Zl]=l),this.http.get(r,{headers:s,params:{include_properties:"content_type",fields:"name,path,type,content_type,last_modified,size"}}).pipe((0,Fe.M)(p=>console.log("Files response:",p)),(0,I.W)(p=>{console.error(`Error fetching files from ${r}:`,p);let f="Error loading files. ";return f+=500===p.status?"The server encountered an internal error. This might be a temporary issue.":404===p.status?"The specified folder does not exist.":403===p.status||401===p.status?"You do not have permission to access this location.":"Please check your connection and try again.",console.warn(f),new Ae.c(M=>{M.next({resource:[],error:f}),M.complete()})}))}uploadFile(t,o,i=""){let r;r=i?`api/v2/${t}/${i.replace(/\/$/,"")}/${o.name}`:`api/v2/${t}/${o.name}`;const c=this.getAbsoluteApiUrl(r);console.log(`\u2b50\u2b50\u2b50 UPLOADING FILE ${o.name} (${o.size} bytes), type: ${o.type} \u2b50\u2b50\u2b50`),console.log(`To absolute URL: ${c}`),console.log(`Current document baseURI: ${document.baseURI}`),console.log(`Current window location: ${window.location.href}`),(o.name.endsWith(".pem")||o.name.endsWith(".p8")||o.name.endsWith(".key"))&&console.log("Detected private key file - using standard FormData upload method");const l=new FormData;l.append("files",o);const p=this.getHeaders();return this.http.post(c,l,{headers:p}).pipe((0,Fe.M)(f=>console.log("Upload complete with response:",f)),(0,I.W)(f=>(console.error(`Error uploading file: ${f.status} ${f.statusText}`,f),(0,we.$)(()=>(0,De.cQ)(f)))))}createDirectoryWithPost(t,o,i){const r={resource:[{name:i,type:"folder"}]},s=this.getAbsoluteApiUrl(o?`api/v2/${t}/${o}`:`api/v2/${t}`);console.log(`Creating directory using POST at absolute URL: ${s}`,r);const l=this.getHeaders();return l["X-Http-Method"]="POST",this.http.post(s,r,{headers:l}).pipe((0,Fe.M)(p=>console.log("Create directory response:",p)),(0,I.W)(p=>{throw console.error(`Error creating directory at ${s}:`,p),p}))}getFileContent(t,o){const r=this.getAbsoluteApiUrl(`api/v2/${t}/${o}`);return console.log(`Getting file content from absolute URL: ${r}`),this.http.get(r,{responseType:"blob",headers:this.getHeaders()}).pipe((0,I.W)(c=>{throw console.error(`Error getting file content from ${r}:`,c),c}))}deleteFile(t,o){const r=this.getAbsoluteApiUrl(`api/v2/${t}/${o}`);return console.log(`Deleting file at absolute URL: ${r}`),this.http.delete(r,{headers:this.getHeaders()}).pipe((0,Fe.M)(c=>console.log("Delete response:",c)),(0,I.W)(c=>{throw console.error(`Error deleting file at ${r}:`,c),c}))}createDirectory(t,o,i){const r={resource:[{name:i,type:"folder"}]},s=this.getAbsoluteApiUrl(o?`api/v2/${t}/${o}`:`api/v2/${t}`);return console.log(`Creating directory at absolute URL: ${s}`,r),this.http.post(s,r,{headers:this.getHeaders()}).pipe((0,Fe.M)(l=>console.log("Create directory response:",l)),(0,I.W)(l=>{throw console.error(`Error creating directory at ${s}:`,l),l}))}static{this.\u0275fac=function(o){return new(o||n)(e.KVO(ee.Qq),e.KVO(Jt.T))}}static{this.\u0275prov=e.jDH({token:n,factory:n.\u0275fac,providedIn:"root"})}}return n})();const Zn=["fileUploadInput"];function eo(n,a){1&n&&(e.qex(0),e.j41(1,"span"),e.EFF(2,"Upload Private Key File"),e.k0s(),e.bVm())}function to(n,a){1&n&&(e.qex(0),e.j41(1,"span"),e.EFF(2,"Select File"),e.k0s(),e.bVm())}function no(n,a){if(1&n&&(e.j41(0,"small"),e.EFF(1),e.k0s()),2&n){const t=e.XpG();e.R7$(1),e.SpI(" Allowed file types: ",t.data.allowedExtensions.join(", ")," ")}}function oo(n,a){if(1&n){const t=e.RV6();e.j41(0,"div",10),e.bIt("click",function(){const r=e.eBV(t).$implicit,c=e.XpG(2);return e.Njj(c.selectFileApi(r))}),e.j41(1,"div",11),e.nrm(2,"fa-icon",12),e.k0s(),e.j41(3,"div",13)(4,"div",14),e.EFF(5),e.k0s(),e.j41(6,"div",15),e.EFF(7),e.k0s()()()}if(2&n){const t=a.$implicit,o=e.XpG(2);e.R7$(2),e.Y8G("icon",o.faFolderOpen),e.R7$(3),e.JRh(t.label||t.name),e.R7$(2),e.JRh(t.type)}}function io(n,a){if(1&n&&(e.j41(0,"div",7)(1,"h3"),e.EFF(2,"Select a File Service"),e.k0s(),e.j41(3,"div",8),e.DNE(4,oo,8,3,"div",9),e.k0s()()),2&n){const t=e.XpG();e.R7$(4),e.Y8G("ngForOf",t.data.fileApis)}}function ao(n,a){if(1&n&&(e.j41(0,"span"),e.EFF(1),e.k0s()),2&n){const t=e.XpG(2);e.R7$(1),e.JRh(t.currentPath)}}function ro(n,a){1&n&&(e.j41(0,"div",32)(1,"p"),e.EFF(2," Select a file from the list below. To upload new files, please use the File Manager. "),e.k0s()())}function co(n,a){1&n&&(e.j41(0,"div",33),e.nrm(1,"mat-spinner",34),e.j41(2,"div"),e.EFF(3,"Loading files..."),e.k0s()())}function so(n,a){1&n&&(e.j41(0,"th",46),e.EFF(1,"Name"),e.k0s())}function lo(n,a){if(1&n){const t=e.RV6();e.j41(0,"td",47),e.bIt("click",function(){const r=e.eBV(t).$implicit,c=e.XpG(3);return e.Njj("folder"===r.type?c.openFolder(r):c.selectFile(r))}),e.j41(1,"div",48),e.nrm(2,"fa-icon",19),e.j41(3,"span"),e.EFF(4),e.k0s()()()}if(2&n){const t=a.$implicit,o=e.XpG(3);e.R7$(2),e.Y8G("icon","folder"===t.type?o.faFolderOpen:o.faFile),e.R7$(2),e.JRh(t.name)}}function po(n,a){1&n&&(e.j41(0,"th",46),e.EFF(1,"Type"),e.k0s())}function mo(n,a){if(1&n&&(e.j41(0,"td",49),e.EFF(1),e.k0s()),2&n){const t=a.$implicit;e.R7$(1),e.SpI(" ","folder"===t.type?"Folder":t.contentType||"File"," ")}}function _o(n,a){1&n&&(e.j41(0,"th",46),e.EFF(1,"Actions"),e.k0s())}function go(n,a){if(1&n){const t=e.RV6();e.j41(0,"button",52),e.bIt("click",function(){e.eBV(t);const i=e.XpG().$implicit,r=e.XpG(3);return e.Njj(r.openFolder(i))}),e.j41(1,"mat-icon"),e.EFF(2,"folder_open"),e.k0s()()}}function fo(n,a){if(1&n){const t=e.RV6();e.j41(0,"button",53),e.bIt("click",function(){e.eBV(t);const i=e.XpG().$implicit,r=e.XpG(3);return e.Njj(r.selectFile(i))}),e.j41(1,"mat-icon"),e.EFF(2,"check_circle"),e.k0s()()}if(2&n){const t=e.XpG(4);e.Y8G("disabled",t.data.uploadMode)}}function uo(n,a){if(1&n&&(e.j41(0,"td",49),e.DNE(1,go,3,0,"button",50),e.DNE(2,fo,3,1,"button",51),e.k0s()),2&n){const t=a.$implicit;e.R7$(1),e.Y8G("ngIf","folder"===t.type),e.R7$(1),e.Y8G("ngIf","file"===t.type)}}function ho(n,a){1&n&&e.nrm(0,"tr",54)}function bo(n,a){if(1&n){const t=e.RV6();e.j41(0,"tr",55),e.bIt("click",function(){const r=e.eBV(t).$implicit,c=e.XpG(3);return e.Njj("folder"===r.type?c.openFolder(r):null)}),e.k0s()}if(2&n){const t=a.$implicit,o=e.XpG(3);e.AVh("selected-row",(null==o.selectedFile?null:o.selectedFile.name)===t.name)}}function vo(n,a){if(1&n){const t=e.RV6();e.j41(0,"button",58),e.bIt("click",function(){e.eBV(t);const i=e.XpG(4);return e.Njj(i.triggerFileUpload())}),e.j41(1,"mat-icon"),e.EFF(2,"upload_file"),e.k0s(),e.EFF(3," Upload File Here "),e.k0s()}}function xo(n,a){if(1&n&&(e.j41(0,"div",56)(1,"p"),e.EFF(2,"This directory is empty."),e.k0s(),e.DNE(3,vo,4,0,"button",57),e.k0s()),2&n){const t=e.XpG(3);e.R7$(3),e.Y8G("ngIf",!t.isSelectorOnly)}}function Co(n,a){if(1&n&&(e.j41(0,"div",35)(1,"table",36),e.qex(2,37),e.DNE(3,so,2,0,"th",38),e.DNE(4,lo,5,2,"td",39),e.bVm(),e.qex(5,40),e.DNE(6,po,2,0,"th",38),e.DNE(7,mo,2,1,"td",41),e.bVm(),e.qex(8,42),e.DNE(9,_o,2,0,"th",38),e.DNE(10,uo,3,2,"td",41),e.bVm(),e.DNE(11,ho,1,0,"tr",43),e.DNE(12,bo,1,2,"tr",44),e.k0s(),e.DNE(13,xo,4,1,"div",45),e.k0s()),2&n){const t=e.XpG(2);e.R7$(1),e.Y8G("dataSource",t.files),e.R7$(10),e.Y8G("matHeaderRowDef",t.displayedColumns),e.R7$(1),e.Y8G("matRowDefColumns",t.displayedColumns),e.R7$(1),e.Y8G("ngIf",0===t.files.length)}}function ko(n,a){if(1&n){const t=e.RV6();e.j41(0,"div",59)(1,"h3"),e.EFF(2),e.k0s(),e.j41(3,"button",6),e.bIt("click",function(){e.eBV(t);const i=e.XpG(2);return e.Njj(i.uploadFile())}),e.nrm(4,"fa-icon",19),e.EFF(5," Upload Here "),e.k0s()()}if(2&n){const t=e.XpG(2);e.R7$(2),e.SpI('Upload "',null==t.data.fileToUpload?null:t.data.fileToUpload.name,'" to this location?'),e.R7$(1),e.Y8G("disabled",t.uploadInProgress),e.R7$(1),e.Y8G("icon",t.faUpload)}}function yo(n,a){if(1&n){const t=e.RV6();e.j41(0,"div",16)(1,"div",17)(2,"button",18),e.bIt("click",function(){e.eBV(t);const i=e.XpG();return e.Njj(i.navigateBack())}),e.nrm(3,"fa-icon",19),e.k0s(),e.j41(4,"div",20)(5,"span",21),e.EFF(6),e.k0s(),e.DNE(7,ao,2,1,"span",1),e.k0s()(),e.j41(8,"div",22)(9,"button",23),e.bIt("click",function(){e.eBV(t);const i=e.XpG();return e.Njj(i.showCreateFolderDialog())}),e.j41(10,"span",24),e.EFF(11,"cr"),e.k0s(),e.EFF(12," Create Folder "),e.k0s(),e.j41(13,"button",25),e.bIt("click",function(){e.eBV(t);const i=e.XpG();return e.Njj(i.triggerFileUpload())}),e.j41(14,"span",24),e.EFF(15,"up"),e.k0s(),e.EFF(16," Upload File "),e.k0s(),e.j41(17,"input",26,27),e.bIt("change",function(i){e.eBV(t);const r=e.XpG();return e.Njj(r.handleFileUpload(i))}),e.k0s()(),e.DNE(19,ro,3,0,"div",28),e.DNE(20,co,4,0,"div",29),e.DNE(21,Co,14,4,"div",30),e.DNE(22,ko,6,3,"div",31),e.k0s()}if(2&n){const t=e.XpG();e.R7$(3),e.Y8G("icon",t.faArrowLeft),e.R7$(3),e.JRh(t.selectedFileApi.name),e.R7$(1),e.Y8G("ngIf",t.currentPath),e.R7$(10),e.Y8G("accept",t.data.allowedExtensions.join(",")),e.R7$(2),e.Y8G("ngIf",t.isSelectorOnly),e.R7$(1),e.Y8G("ngIf",t.isLoading),e.R7$(1),e.Y8G("ngIf",!t.isLoading),e.R7$(1),e.Y8G("ngIf",t.data.uploadMode)}}let Mo=(()=>{class n{constructor(t){this.dialogRef=t,this.folderName=""}onCancel(){this.dialogRef.close()}onConfirm(){this.dialogRef.close(this.folderName)}static{this.\u0275fac=function(o){return new(o||n)(e.rXU(h.CP))}}static{this.\u0275cmp=e.VBU({type:n,selectors:[["df-create-folder-dialog"]],standalone:!0,features:[e.aNF],decls:12,vars:2,consts:[["mat-dialog-title",""],["appearance","outline",1,"full-width"],["matInput","","placeholder","Enter folder name",3,"ngModel","ngModelChange"],["align","end"],["mat-button","",3,"click"],["mat-raised-button","","color","primary",3,"disabled","click"]],template:function(o,i){1&o&&(e.j41(0,"h2",0),e.EFF(1,"Create New Folder"),e.k0s(),e.j41(2,"mat-dialog-content")(3,"mat-form-field",1)(4,"mat-label"),e.EFF(5,"Folder Name"),e.k0s(),e.j41(6,"input",2),e.bIt("ngModelChange",function(c){return i.folderName=c}),e.k0s()()(),e.j41(7,"mat-dialog-actions",3)(8,"button",4),e.bIt("click",function(){return i.onCancel()}),e.EFF(9,"Cancel"),e.k0s(),e.j41(10,"button",5),e.bIt("click",function(){return i.onConfirm()}),e.EFF(11," Create "),e.k0s()()),2&o&&(e.R7$(6),e.Y8G("ngModel",i.folderName),e.R7$(4),e.Y8G("disabled",!i.folderName))},dependencies:[h.hM,h.BI,h.Yi,h.E7,u.Hl,u.$z,O.RG,O.rl,O.nJ,$.fS,$.fg,m.YN,m.me,m.BC,m.vS,d.MD],styles:[".full-width[_ngcontent-%COMP%]{width:100%}"]})}}return n})(),lt=class Yt{get isSelectorOnly(){return console.log("isSelectorOnly getter called, data.selectorOnly =",this.data.selectorOnly),!!this.data.selectorOnly}constructor(a,t,o,i,r,c){this.dialogRef=a,this.data=t,this.dialog=o,this.http=i,this.fileApiService=r,this.crudService=c,this.faFolderOpen=b.Uj9,this.faFile=b.A4h,this.faArrowLeft=b.CeG,this.faUpload=b.JmV,this.selectedFileApi=null,this.currentPath="",this.files=[],this.navigationStack=[],this.isLoading=!1,this.uploadInProgress=!1,this.displayedColumns=["name","type","actions"],this.selectedFile=null}ngOnInit(){this.data.uploadMode&&this.data.fileApis.length>0&&this.selectFileApi(this.data.fileApis[0]),console.log("Dialog initialized with data:",{uploadMode:this.data.uploadMode,selectorOnly:this.data.selectorOnly,allowedExtensions:this.data.allowedExtensions,fileApis:this.data.fileApis?.length||0})}selectFileApi(a){this.selectedFileApi=a,this.currentPath="",this.navigationStack=[],this.loadFiles()}loadFiles(){this.selectedFileApi&&(this.isLoading=!0,this.fileApiService.listFiles(this.selectedFileApi.name,this.currentPath).pipe((0,W.s)(this)).subscribe({next:a=>{if(this.isLoading=!1,a.error&&(console.warn("File listing contained error:",a.error),a.error.includes("Internal Server Error")))return console.log("Server error encountered, showing empty directory"),void(this.files=[]);let t=[];Array.isArray(a)?t=a:a.resource&&Array.isArray(a.resource)&&(t=a.resource),this.files=t.map(o=>({name:o.name||(o.path?o.path.split("/").pop():""),path:o.path||((this.currentPath?this.currentPath+"/":"")+o.name).replace("//","/"),type:"folder"===o.type?"folder":"file",contentType:o.content_type||o.contentType,lastModified:o.last_modified||o.lastModified,size:o.size})),console.log("Processed files:",this.files)},error:a=>{console.error("Error loading files:",a),this.files=[];let t="Failed to load files. ";500===a.status?(t+="The server encountered an internal error. Using empty directory view.",console.warn(t)):404===a.status?(t+="The specified folder does not exist.",alert(t)):403===a.status||401===a.status?(t+="You do not have permission to access this location.",alert(t)):(t+="Please check your connection and try again.",alert(t)),this.isLoading=!1}}))}openFolder(a){this.navigationStack.push(this.currentPath),this.currentPath=a.path,this.loadFiles()}navigateBack(){this.navigationStack.length>0?(this.currentPath=this.navigationStack.pop()||"",this.loadFiles()):this.selectedFileApi&&(this.selectedFileApi=null,this.files=[])}selectFile(a){const t="."+a.name.split(".").pop()?.toLowerCase();this.data.allowedExtensions.includes(t)?this.selectedFile=a:alert(`Only ${this.data.allowedExtensions.join(", ")} files are allowed.`)}confirmSelection(){if(!this.selectedFile||!this.selectedFileApi)return;const a=this.selectedFileApi,i={path:"/opt/dreamfactory/storage/app/"+this.selectedFile.path,relativePath:this.selectedFile.path,fileName:this.selectedFile.name,name:this.selectedFile.name,serviceId:a.id,serviceName:a.name};console.log("Selected file with absolute path:",i),this.dialogRef.close(i)}uploadFileDirectly(a){this.selectedFileApi?(this.uploadInProgress=!0,this.performUpload(a,this.currentPath)):alert("Please select a file service first.")}performUpload(a,t){if(!this.selectedFileApi)return void(this.uploadInProgress=!1);this.uploadInProgress=!0;const o=this.selectedFileApi;console.log(`Starting upload of ${a.name} (${a.size} bytes) to ${o.name}/${t}`),this.fileApiService.uploadFile(o.name,a,t).pipe((0,W.s)(this)).subscribe({next:i=>{this.uploadInProgress=!1,console.log("Upload successful:",i);const r=t?`${t}/${a.name}`:a.name;console.log("File uploaded successfully, returning:",{path:"/opt/dreamfactory/storage/app/"+r,relativePath:r,fileName:a.name,name:a.name,serviceId:o.id,serviceName:o.name}),this.loadFiles(),setTimeout(()=>{const l=this.files.find(p=>p.name===a.name);l&&(this.selectedFile=l)},500)},error:i=>{console.error("Error uploading file:",i),this.uploadInProgress=!1;let r="Failed to upload file. ";r+=400===i.status?"Bad request - check if the file type is allowed or if the file is too large.":401===i.status||403===i.status?"Permission denied - you may not have access to upload to this location.":404===i.status?"The specified folder does not exist.":413===i.status?"The file is too large.":500===i.status?i.error?.error?.message||"Server error occurred.":"Please try again.",alert(r)}})}uploadFile(){this.data.fileToUpload&&this.selectedFileApi&&(this.uploadInProgress=!0,this.performUploadAndClose(this.data.fileToUpload,this.currentPath))}performUploadAndClose(a,t){if(!this.selectedFileApi)return void(this.uploadInProgress=!1);this.uploadInProgress=!0;const o=this.selectedFileApi;console.log(`Starting upload of ${a.name} (${a.size} bytes) to ${o.name}/${t}`),this.fileApiService.uploadFile(o.name,a,t).pipe((0,W.s)(this)).subscribe({next:i=>{this.uploadInProgress=!1,console.log("Upload successful:",i);const r=t?`${t}/${a.name}`:a.name,s={path:"/opt/dreamfactory/storage/app/"+r,relativePath:r,fileName:a.name,name:a.name,serviceId:o.id,serviceName:o.name};console.log("File uploaded successfully, returning with absolute path:",s),this.dialogRef.close(s)},error:i=>{console.error("Error uploading file:",i),this.uploadInProgress=!1;let r="Failed to upload file. ";r+=400===i.status?"Bad request - check if the file type is allowed or if the file is too large.":401===i.status||403===i.status?"Permission denied - you may not have access to upload to this location.":404===i.status?"The specified folder does not exist.":413===i.status?"The file is too large.":500===i.status?i.error?.error?.message||"Server error occurred.":"Please try again.",alert(r)}})}triggerFileUpload(){console.log("triggerFileUpload called, isSelectorOnly =",this.isSelectorOnly),this.isSelectorOnly?console.log("Blocked file upload due to selector-only mode"):this.fileUploadInput?(console.log("Clicking file upload input element"),this.fileUploadInput.nativeElement.click()):console.log("File upload input element not found")}showCreateFolderDialog(){console.log("showCreateFolderDialog called, isSelectorOnly =",this.isSelectorOnly),this.isSelectorOnly?console.log("Blocked folder creation due to selector-only mode"):this.dialog.open(Mo,{width:"350px"}).afterClosed().subscribe(t=>{t&&this.selectedFileApi&&this.createFolder(t)})}createFolder(a){this.selectedFileApi&&(this.isLoading=!0,this.fileApiService.createDirectory(this.selectedFileApi.name,this.currentPath,a).pipe((0,W.s)(this)).subscribe({next:()=>{console.log("Folder created successfully"),this.loadFiles()},error:t=>{console.error("Error creating folder:",t),alert("Failed to create folder. Please try again."),this.isLoading=!1}}))}cancel(){this.dialogRef.close()}handleFileUpload(a){const t=a.target;if(t.files&&t.files.length>0){const o=t.files[0];console.log(`File selected: ${o.name}`),console.log(`File size: ${o.size} bytes`),console.log(`File type: ${o.type}`),(o.name.endsWith(".pem")||o.name.endsWith(".p8")||o.name.endsWith(".key"))&&console.log("Handling private key file with special care for Snowflake authentication");const r=new FileReader;r.onload=c=>{const s=c.target?.result;console.log(`File content read successfully, content length: ${s?s.byteLength:0} bytes`);const l="."+o.name.split(".").pop()?.toLowerCase();this.data.allowedExtensions.includes(l)?this.uploadFileDirectly(o):alert(`Only ${this.data.allowedExtensions.join(", ")} files are allowed`)},r.onerror=c=>{console.error("Error reading file:",c),alert("Error reading file content. Please try again with another file.")},r.readAsArrayBuffer(o)}}static{this.\u0275fac=function(t){return new(t||Yt)(e.rXU(h.CP),e.rXU(h.Vh),e.rXU(h.bZ),e.rXU(ee.Qq),e.rXU(Kt),e.rXU(Ne.h))}}static{this.\u0275cmp=e.VBU({type:Yt,selectors:[["df-file-selector-dialog"]],viewQuery:function(t,o){if(1&t&&e.GBs(Zn,5),2&t){let i;e.mGM(i=e.lsd())&&(o.fileUploadInput=i.first)}},standalone:!0,features:[e.Jv_([{provide:Ne.h,useFactory:a=>new Ne.h("api/v2",a),deps:[ee.Qq]}]),e.aNF],decls:12,vars:6,consts:[["mat-dialog-title",""],[4,"ngIf"],["class","file-api-selection",4,"ngIf"],["class","file-browser",4,"ngIf"],["mat-dialog-actions","","align","end"],["mat-button","",3,"click"],["mat-raised-button","","color","primary",3,"disabled","click"],[1,"file-api-selection"],[1,"file-api-grid"],["class","file-api-card",3,"click",4,"ngFor","ngForOf"],[1,"file-api-card",3,"click"],[1,"file-api-icon"],["size","2x",3,"icon"],[1,"file-api-details"],[1,"file-api-name"],[1,"file-api-type"],[1,"file-browser"],[1,"navigation-bar"],["mat-icon-button","","matTooltip","Go back",3,"click"],[3,"icon"],[1,"current-location"],[1,"service-name"],[1,"action-row"],[1,"action-button","create-folder-btn",3,"click"],[1,"button-content"],[1,"action-button","upload-file-btn",3,"click"],["type","file",2,"display","none",3,"accept","change"],["fileUploadInput",""],["class","selector-info",4,"ngIf"],["class","loading-container",4,"ngIf"],["class","file-list",4,"ngIf"],["class","upload-section",4,"ngIf"],[1,"selector-info"],[1,"loading-container"],["diameter","40"],[1,"file-list"],["mat-table","",1,"file-table",3,"dataSource"],["matColumnDef","name"],["mat-header-cell","",4,"matHeaderCellDef"],["mat-cell","",3,"click",4,"matCellDef"],["matColumnDef","type"],["mat-cell","",4,"matCellDef"],["matColumnDef","actions"],["mat-header-row","",4,"matHeaderRowDef"],["mat-row","",3,"selected-row","click",4,"matRowDef","matRowDefColumns"],["class","empty-directory",4,"ngIf"],["mat-header-cell",""],["mat-cell","",3,"click"],[1,"file-name-cell"],["mat-cell",""],["mat-icon-button","","color","primary","matTooltip","Open folder",3,"click",4,"ngIf"],["mat-icon-button","","color","primary","matTooltip","Select file",3,"disabled","click",4,"ngIf"],["mat-icon-button","","color","primary","matTooltip","Open folder",3,"click"],["mat-icon-button","","color","primary","matTooltip","Select file",3,"disabled","click"],["mat-header-row",""],["mat-row","",3,"click"],[1,"empty-directory"],["mat-stroked-button","","color","primary",3,"click",4,"ngIf"],["mat-stroked-button","","color","primary",3,"click"],[1,"upload-section"]],template:function(t,o){1&t&&(e.j41(0,"h2",0),e.DNE(1,eo,3,0,"ng-container",1),e.DNE(2,to,3,0,"ng-container",1),e.DNE(3,no,2,1,"small",1),e.k0s(),e.j41(4,"mat-dialog-content"),e.DNE(5,io,5,1,"div",2),e.DNE(6,yo,23,8,"div",3),e.k0s(),e.j41(7,"div",4)(8,"button",5),e.bIt("click",function(){return o.cancel()}),e.EFF(9,"Cancel"),e.k0s(),e.j41(10,"button",6),e.bIt("click",function(){return o.confirmSelection()}),e.EFF(11," Choose "),e.k0s()()),2&t&&(e.R7$(1),e.Y8G("ngIf",o.data.uploadMode),e.R7$(1),e.Y8G("ngIf",!o.data.uploadMode),e.R7$(1),e.Y8G("ngIf",o.data.allowedExtensions.length>0),e.R7$(2),e.Y8G("ngIf",!o.selectedFileApi),e.R7$(1),e.Y8G("ngIf",o.selectedFileApi),e.R7$(4),e.Y8G("disabled",!o.selectedFile||"folder"===o.selectedFile.type))},dependencies:[d.MD,d.Sq,d.bT,h.hM,h.BI,h.Yi,h.E7,u.Hl,u.$z,u.iY,A.RI,O.RG,$.fS,D.Ve,Pe.D6,Pe.LG,U.m_,U.An,P.tP,P.Zl,P.tL,P.ji,P.cC,P.YV,P.iL,P.KS,P.$R,P.YZ,P.NB,S.uc,S.oV,m.YN,m.X1,w.dX,w.aY],styles:["mat-dialog-content[_ngcontent-%COMP%]{min-height:400px;max-height:600px;overflow-y:auto}h2[_ngcontent-%COMP%]{margin-bottom:0}h2[_ngcontent-%COMP%] small[_ngcontent-%COMP%]{display:block;font-size:1.2rem;font-weight:400;color:var(--df-text-muted);margin-top:4px}.file-api-selection[_ngcontent-%COMP%]{padding:16px 0}.file-api-selection[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{margin-top:0;margin-bottom:16px;font-size:1.6rem;font-weight:600;letter-spacing:-.01em}.file-api-grid[_ngcontent-%COMP%]{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:16px}.file-api-card[_ngcontent-%COMP%]{display:flex;align-items:center;padding:16px;border-radius:var(--df-radius);border:1px solid var(--df-border);cursor:pointer;transition:background-color .2s ease,border-color .2s ease}.file-api-card[_ngcontent-%COMP%]:hover{background-color:var(--df-hover);border-color:var(--df-accent)}.file-api-icon[_ngcontent-%COMP%]{margin-right:16px;color:var(--df-accent)}.file-api-details[_ngcontent-%COMP%] .file-api-name[_ngcontent-%COMP%]{font-weight:500;margin-bottom:4px}.file-api-details[_ngcontent-%COMP%] .file-api-type[_ngcontent-%COMP%]{font-size:1.2rem;color:var(--df-text-muted)}.file-browser[_ngcontent-%COMP%] .navigation-bar[_ngcontent-%COMP%]{display:flex;align-items:center;margin-bottom:16px}.file-browser[_ngcontent-%COMP%] .navigation-bar[_ngcontent-%COMP%] .current-location[_ngcontent-%COMP%]{margin-left:8px}.file-browser[_ngcontent-%COMP%] .navigation-bar[_ngcontent-%COMP%] .current-location[_ngcontent-%COMP%] .service-name[_ngcontent-%COMP%]{font-weight:500;margin-right:8px}.file-browser[_ngcontent-%COMP%] .action-row[_ngcontent-%COMP%]{display:flex;gap:16px;margin-bottom:20px;padding:10px;border:1px dashed var(--df-border);border-radius:var(--df-radius-sm);background-color:var(--df-surface-2)}.file-browser[_ngcontent-%COMP%] .action-row[_ngcontent-%COMP%] .action-button[_ngcontent-%COMP%]{display:flex;align-items:center;border:none;border-radius:var(--df-radius-sm);padding:8px 16px;font-size:1.4rem;font-weight:500;cursor:pointer;transition:all .2s ease}.file-browser[_ngcontent-%COMP%] .action-row[_ngcontent-%COMP%] .action-button[_ngcontent-%COMP%] .button-content[_ngcontent-%COMP%]{display:inline-flex;align-items:center;justify-content:center;width:24px;height:24px;border:1px solid currentColor;border-radius:var(--df-radius-sm);margin-right:8px;font-weight:700;font-size:1.2rem;opacity:.85}.file-browser[_ngcontent-%COMP%] .action-row[_ngcontent-%COMP%] .action-button[_ngcontent-%COMP%]:hover{opacity:.9}.file-browser[_ngcontent-%COMP%] .action-row[_ngcontent-%COMP%] .action-button[_ngcontent-%COMP%]:active{transform:translateY(1px)}.file-browser[_ngcontent-%COMP%] .action-row[_ngcontent-%COMP%] .create-folder-btn[_ngcontent-%COMP%]{background-color:var(--df-accent);color:var(--df-accent-contrast)}.file-browser[_ngcontent-%COMP%] .action-row[_ngcontent-%COMP%] .upload-file-btn[_ngcontent-%COMP%]{background-color:transparent;border:1px solid var(--df-border);color:var(--df-text-2)}.file-browser[_ngcontent-%COMP%] .action-row[_ngcontent-%COMP%] .upload-file-btn[_ngcontent-%COMP%]:hover{background-color:var(--df-hover)}.loading-container[_ngcontent-%COMP%]{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:32px}.loading-container[_ngcontent-%COMP%] div[_ngcontent-%COMP%]{margin-top:16px;color:var(--df-text-muted)}.file-table[_ngcontent-%COMP%]{width:100%}.file-table[_ngcontent-%COMP%] .mat-column-name[_ngcontent-%COMP%]{width:60%}.file-table[_ngcontent-%COMP%] .mat-column-type[_ngcontent-%COMP%]{width:20%}.file-table[_ngcontent-%COMP%] .mat-column-actions[_ngcontent-%COMP%]{width:20%;text-align:right}.file-table[_ngcontent-%COMP%] .file-name-cell[_ngcontent-%COMP%]{display:flex;align-items:center}.file-table[_ngcontent-%COMP%] .file-name-cell[_ngcontent-%COMP%] fa-icon[_ngcontent-%COMP%]{margin-right:8px;color:var(--df-accent)}.file-table[_ngcontent-%COMP%] .selected-row[_ngcontent-%COMP%]{background-color:var(--df-accent-soft)}.empty-directory[_ngcontent-%COMP%]{padding:24px 16px;text-align:center;color:var(--df-text-muted)}.empty-directory[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{margin-bottom:16px;font-style:italic}.empty-directory[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{margin-top:8px}.upload-section[_ngcontent-%COMP%]{margin-top:24px;padding:16px;border-radius:var(--df-radius);border:1px solid var(--df-border-2);background-color:var(--df-surface-2);text-align:center}.upload-section[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{margin-top:0;margin-bottom:16px}"]})}};lt=(0,ae.Cg)([(0,W.d)({checkProperties:!0})],lt);var q=g(75066),Q=g(16994),j=g(11863);function Oo(n,a){if(1&n&&(e.j41(0,"span",8),e.EFF(1),e.k0s()),2&n){const t=e.XpG(2);e.R7$(1),e.JRh(t.label)}}function Po(n,a){if(1&n&&e.nrm(0,"div",9),2&n){const t=e.XpG(2);e.Y8G("innerHTML",t.description,e.npT)}}function Fo(n,a){if(1&n&&(e.j41(0,"div",5),e.DNE(1,Oo,2,1,"span",6),e.DNE(2,Po,1,1,"div",7),e.k0s()),2&n){const t=e.XpG();e.R7$(1),e.Y8G("ngIf",t.label),e.R7$(1),e.Y8G("ngIf",t.description)}}function wo(n,a){1&n&&(e.j41(0,"div",17),e.EFF(1," No file services configured. Contact your administrator. "),e.k0s())}function Do(n,a){if(1&n){const t=e.RV6();e.j41(0,"div",10)(1,"div",11)(2,"button",12),e.bIt("click",function(){e.eBV(t);const i=e.XpG();return e.Njj(i.openFileSelector())}),e.nrm(3,"fa-icon",13),e.EFF(4," Select File "),e.k0s(),e.j41(5,"button",14),e.bIt("click",function(){e.eBV(t);const i=e.XpG();return e.Njj(i.goToFilesManager())}),e.nrm(6,"fa-icon",13),e.EFF(7," File Manager "),e.k0s()(),e.j41(8,"div",15),e.EFF(9,' You can upload and select files directly with "Select File" or manage files via the "File Manager". '),e.k0s(),e.DNE(10,wo,2,0,"div",16),e.k0s()}if(2&n){const t=e.XpG();e.R7$(3),e.Y8G("icon",t.faFolderOpen),e.R7$(3),e.Y8G("icon",t.faExternalLinkAlt),e.R7$(4),e.Y8G("ngIf",0===t.fileApis.length)}}function To(n,a){if(1&n&&(e.j41(0,"div",31)(1,"strong"),e.EFF(2,"Service:"),e.k0s(),e.EFF(3),e.k0s()),2&n){const t=e.XpG(2);e.R7$(3),e.SpI(" ",t.selectedFile.serviceName," ")}}function So(n,a){if(1&n&&(e.j41(0,"div",32)(1,"span",33),e.EFF(2,"Service Relative Path:"),e.k0s(),e.j41(3,"span",34),e.EFF(4),e.k0s()()),2&n){const t=e.XpG(2);e.R7$(4),e.JRh(t.selectedFile.relativePath)}}function Ro(n,a){if(1&n){const t=e.RV6();e.j41(0,"div",18)(1,"div",19),e.nrm(2,"fa-icon",20),e.j41(3,"div",21)(4,"div",22),e.EFF(5),e.k0s(),e.DNE(6,To,4,1,"div",23),e.j41(7,"div",24)(8,"div",25),e.EFF(9,"Full Absolute Path:"),e.k0s(),e.j41(10,"div",26)(11,"div",27),e.EFF(12),e.k0s()(),e.DNE(13,So,5,1,"div",28),e.k0s()()(),e.j41(14,"div",29)(15,"button",30),e.bIt("click",function(){e.eBV(t);const i=e.XpG();return e.Njj(i.clearSelection())}),e.EFF(16," Clear selection "),e.k0s(),e.j41(17,"button",12),e.bIt("click",function(){e.eBV(t);const i=e.XpG();return e.Njj(i.openFileSelector())}),e.EFF(18," Choose Different "),e.k0s(),e.j41(19,"button",14),e.bIt("click",function(){e.eBV(t);const i=e.XpG();return e.Njj(i.goToFilesManager())}),e.nrm(20,"fa-icon",13),e.EFF(21," File Manager "),e.k0s()()()}if(2&n){const t=e.XpG();e.R7$(2),e.Y8G("icon",t.faFile),e.R7$(3),e.SpI(" ",t.selectedFile.fileName||t.selectedFile.name," "),e.R7$(1),e.Y8G("ngIf","Unknown"!==t.selectedFile.serviceName),e.R7$(6),e.JRh(t.selectedFile.path),e.R7$(1),e.Y8G("ngIf",t.selectedFile.relativePath),e.R7$(7),e.Y8G("icon",t.faExternalLinkAlt)}}let dt=class Vt{constructor(a,t,o,i){this.dialog=a,this.fileApiService=t,this.crudService=o,this.router=i,this.label="Private Key File",this.description="",this.allowedExtensions=[".pem",".p8",".key"],this.initialValue="",this.fileSelected=new e.bkB,this.faFile=b.A4h,this.faFolderOpen=b.Uj9,this.faCheck=b.e68,this.faUpload=b.JmV,this.faExternalLinkAlt=b.AaJ,this.selectedFile=void 0,this.fileApis=[],this.isLoading=!1}ngOnInit(){this.loadFileApis(),this.initialValue&&this.parseInitialValue(),this.ensureFallbackService()}goToFilesManager(){this.router.navigate([Q.b.ADMIN_SETTINGS,Q.b.FILES])}ensureFallbackService(){0===this.fileApis.length&&(console.log("Creating fallback file service entry"),this.fileApis=[{id:1,name:"files",label:"Local Files",type:"local_file"}])}loadFileApis(){this.isLoading=!0,this.ensureFallbackService(),this.fileApiService.getFileServices().pipe((0,W.s)(this)).subscribe({next:a=>{a&&a.resource&&a.resource.length>0?this.fileApis=a.resource:this.ensureFallbackService(),this.isLoading=!1},error:a=>{console.error("Error loading file APIs:",a),this.ensureFallbackService(),this.isLoading=!1}})}openFileSelector(){this.ensureFallbackService(),console.log("Opening file selector dialog with selectorOnly = false"),this.dialog.open(lt,{width:"800px",data:{fileApis:this.fileApis,allowedExtensions:this.allowedExtensions,selectorOnly:!1}}).afterClosed().subscribe(t=>{t&&(this.selectedFile=t,this.fileSelected.emit(this.selectedFile))})}clearSelection(){this.selectedFile=void 0,this.fileSelected.emit(void 0)}parseInitialValue(a){try{const t=a||this.initialValue;if(t){console.log("Parsing path value:",t);const o=t.split("/"),i=o[o.length-1];this.selectedFile={path:t,fileName:i,name:i,serviceId:0,serviceName:"Unknown"},console.log("Generated selected file:",this.selectedFile)}}catch(t){console.error("Failed to parse path value:",t)}}setPath(a){a&&(console.log("Setting path manually:",a),this.parseInitialValue(a))}static{this.\u0275fac=function(t){return new(t||Vt)(e.rXU(h.bZ),e.rXU(Kt),e.rXU(Ne.h),e.rXU(j.Ix))}}static{this.\u0275cmp=e.VBU({type:Vt,selectors:[["df-file-selector"]],inputs:{label:"label",description:"description",allowedExtensions:"allowedExtensions",initialValue:"initialValue"},outputs:{fileSelected:"fileSelected"},standalone:!0,features:[e.Jv_([{provide:q.Wi,useValue:"api/v2/system/service"},Ne.h]),e.aNF],decls:5,vars:3,consts:[[1,"file-selector-container"],["class","file-selector-header",4,"ngIf"],[1,"file-selector-content"],["class","file-selector-empty",4,"ngIf"],["class","file-selector-selected",4,"ngIf"],[1,"file-selector-header"],["class","file-selector-label",4,"ngIf"],["class","file-selector-description",3,"innerHTML",4,"ngIf"],[1,"file-selector-label"],[1,"file-selector-description",3,"innerHTML"],[1,"file-selector-empty"],[1,"file-selector-actions"],["mat-raised-button","","color","primary",1,"select-file-button",3,"click"],[3,"icon"],["mat-button","","color","accent","matTooltip","Upload and manage files in the file manager",1,"manage-files-button",3,"click"],[1,"help-text"],["class","no-apis-message",4,"ngIf"],[1,"no-apis-message"],[1,"file-selector-selected"],[1,"selected-file-info"],[1,"file-icon",3,"icon"],[1,"file-details"],[1,"file-name"],["class","file-service",4,"ngIf"],[1,"file-path-container"],[1,"file-path-header"],[1,"file-path-section"],[1,"file-path-value"],["class","relative-path-section",4,"ngIf"],[1,"file-actions"],[1,"clear-button",3,"click"],[1,"file-service"],[1,"relative-path-section"],[1,"relative-path-label"],[1,"relative-path-value"]],template:function(t,o){1&t&&(e.j41(0,"div",0),e.DNE(1,Fo,3,2,"div",1),e.j41(2,"div",2),e.DNE(3,Do,11,3,"div",3),e.DNE(4,Ro,22,6,"div",4),e.k0s()()),2&t&&(e.R7$(1),e.Y8G("ngIf",o.label||o.description),e.R7$(2),e.Y8G("ngIf",!o.selectedFile),e.R7$(1),e.Y8G("ngIf",o.selectedFile))},dependencies:[d.MD,d.bT,h.hM,u.Hl,u.$z,O.RG,$.fS,D.Ve,m.YN,m.X1,S.uc,S.oV,w.dX,w.aY,U.m_],styles:[".file-selector-container[_ngcontent-%COMP%]{width:100%;border:1px solid var(--df-border);border-radius:var(--df-radius);padding:16px;margin-bottom:16px}.file-selector-header[_ngcontent-%COMP%]{margin-bottom:16px}.file-selector-label[_ngcontent-%COMP%]{font-size:1.5rem;font-weight:600;letter-spacing:-.01em;margin-right:8px;color:var(--df-text)}.file-selector-description[_ngcontent-%COMP%]{font-size:1.3rem;color:var(--df-text-muted)}.file-selector-description[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{color:var(--df-accent);text-decoration:none}.file-selector-description[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:hover{text-decoration:underline}.file-selector-content[_ngcontent-%COMP%]{width:100%}.file-selector-empty[_ngcontent-%COMP%]{display:flex;flex-direction:column;align-items:center;padding:16px 0}.file-selector-actions[_ngcontent-%COMP%]{display:flex;justify-content:center;margin-bottom:16px}.select-file-button[_ngcontent-%COMP%]{padding:8px 24px;font-size:1.4rem}.select-file-button[_ngcontent-%COMP%] fa-icon[_ngcontent-%COMP%]{margin-right:8px}.file-selector-selected[_ngcontent-%COMP%]{display:flex;justify-content:space-between;align-items:center;padding:12px;background-color:var(--df-surface-2);border:1px solid var(--df-border-2);border-radius:var(--df-radius-sm)}.selected-file-info[_ngcontent-%COMP%]{display:flex;align-items:center;gap:12px}.file-icon[_ngcontent-%COMP%]{font-size:2.4rem;color:var(--df-accent)}.file-details[_ngcontent-%COMP%]{display:flex;flex-direction:column}.file-name[_ngcontent-%COMP%]{color:var(--df-text);font-weight:500;margin-bottom:4px}.file-path-container[_ngcontent-%COMP%]{margin-top:12px;padding:4px;border-radius:var(--df-radius-sm)}.file-path-header[_ngcontent-%COMP%]{font-size:11px;font-weight:600;text-transform:uppercase;letter-spacing:.06em;margin-bottom:6px;color:var(--df-text-muted)}.file-path-section[_ngcontent-%COMP%]{display:flex;margin-bottom:8px;flex-wrap:wrap;padding:12px;background-color:var(--df-surface-2);border-radius:var(--df-radius-sm);border:1px solid var(--df-border)}.file-path-label[_ngcontent-%COMP%]{font-weight:600;margin-right:8px;color:var(--df-text);font-size:1.3rem}.file-path-value[_ngcontent-%COMP%]{font-size:1.3rem;word-break:break-all;flex:1;font-family:SFMono-Regular,Menlo,Consolas,monospace;background-color:var(--df-code-bg);color:var(--df-code-text);padding:4px 8px;border-radius:var(--df-radius-sm);border:1px solid var(--df-border-2)}.file-service[_ngcontent-%COMP%]{font-size:1.2rem;color:var(--df-text-2)}.file-actions[_ngcontent-%COMP%]{display:flex;gap:12px;align-items:center}.clear-button[_ngcontent-%COMP%]{background:none;border:none;color:var(--df-danger);cursor:pointer;font-size:1.3rem;padding:0;font-weight:500}.clear-button[_ngcontent-%COMP%]:hover{text-decoration:underline}.no-apis-message[_ngcontent-%COMP%]{color:var(--df-text-muted);font-style:italic}.relative-path-section[_ngcontent-%COMP%]{display:flex;margin-top:6px;font-size:1.2rem;color:var(--df-text-muted)}.relative-path-label[_ngcontent-%COMP%]{font-weight:600;margin-right:8px}.relative-path-value[_ngcontent-%COMP%]{font-family:SFMono-Regular,Menlo,Consolas,monospace}"]})}};dt=(0,ae.Cg)([(0,W.d)({checkProperties:!0})],dt);var Ue=g(19206),J=g(42250);const Io=["fileSelector"];function Eo(n,a){if(1&n&&(e.j41(0,"mat-label"),e.EFF(1),e.k0s()),2&n){const t=e.XpG(2);e.R7$(1),e.JRh(t.schema.label)}}function $o(n,a){if(1&n&&e.nrm(0,"input",8),2&n){const t=e.XpG(2);e.Y8G("formControl",t.control)("type","integer"===t.schema.type?"number":"password"===t.schema.type?"password":"text"),e.BMQ("autocomplete","password"===t.schema.type?"current-password":"off")("aria-label",t.schema.label)}}function Go(n,a){if(1&n&&(e.j41(0,"mat-option",11),e.EFF(1),e.k0s()),2&n){const t=a.$implicit;e.Y8G("value",t.name),e.R7$(1),e.SpI(" ",t.label," ")}}function jo(n,a){if(1&n&&(e.j41(0,"mat-select",9),e.DNE(1,Go,2,2,"mat-option",10),e.k0s()),2&n){const t=e.XpG(2);e.Y8G("multiple","multi_picklist"===t.schema.type)("formControl",t.control),e.R7$(1),e.Y8G("ngForOf",t.schema.values)("ngForTrackBy",t.trackByOptionName)}}function No(n,a){if(1&n&&e.nrm(0,"fa-icon",12),2&n){const t=e.XpG(2);e.Y8G("icon",t.faCircleInfo)("matTooltip",t.schema.description)}}const Ao=function(){return["integer","string","password","text"]},Yo=function(){return["picklist","multi_picklist"]};function Vo(n,a){if(1&n&&(e.j41(0,"mat-form-field",4),e.DNE(1,Eo,2,1,"mat-label",1),e.DNE(2,$o,1,4,"input",5),e.DNE(3,jo,2,4,"mat-select",6),e.DNE(4,No,1,2,"fa-icon",7),e.k0s()),2&n){const t=e.XpG();e.R7$(1),e.Y8G("ngIf",t.showLabel),e.R7$(1),e.Y8G("ngIf",e.lJ4(4,Ao).includes(t.schema.type)),e.R7$(1),e.Y8G("ngIf",e.lJ4(5,Yo).includes(t.schema.type)),e.R7$(1),e.Y8G("ngIf",t.schema.description)}}const Xo=function(){return[".p8",".pem",".key"]};function zo(n,a){if(1&n){const t=e.RV6();e.qex(0),e.j41(1,"df-file-selector",13,14),e.bIt("fileSelected",function(i){e.eBV(t);const r=e.XpG();return e.Njj(r.onFileSelected(i))}),e.k0s(),e.bVm()}if(2&n){const t=e.XpG();e.R7$(1),e.Y8G("label",t.schema.label)("description",t.schema.description||"")("allowedExtensions",e.lJ4(4,Xo))("initialValue",t.control.value)}}function Bo(n,a){if(1&n){const t=e.RV6();e.qex(0),e.j41(1,"input",15,16),e.bIt("change",function(i){e.eBV(t);const r=e.XpG();return e.Njj(r.handleFileInput(i))}),e.k0s(),e.j41(3,"button",17),e.bIt("click",function(){e.eBV(t);const i=e.sdS(2);return e.Njj(i.click())}),e.EFF(4),e.k0s(),e.EFF(5),e.nI1(6,"transloco"),e.bVm()}if(2&n){const t=e.XpG();let o;e.R7$(3),e.Y8G("matTooltip",null!==(o=t.schema.description)&&void 0!==o?o:""),e.R7$(1),e.SpI(" ",t.schema.label," "),e.R7$(1),e.SpI(" ",t.control.value?t.control.value.name:e.bMT(6,3,"noFileSelected")," ")}}function Lo(n,a){if(1&n&&(e.qex(0),e.j41(1,"span"),e.EFF(2),e.k0s(),e.bVm()),2&n){const t=e.XpG(2);e.R7$(2),e.JRh(t.schema.label)}}function Uo(n,a){if(1&n&&(e.j41(0,"mat-slide-toggle",18),e.DNE(1,Lo,3,1,"ng-container",1),e.k0s()),2&n){const t=e.XpG();let o;e.Y8G("formControl",t.control)("matTooltip",null!==(o=t.schema.description)&&void 0!==o?o:""),e.BMQ("aria-label",t.schema.label),e.R7$(1),e.Y8G("ngIf",t.showLabel)}}function qo(n,a){if(1&n&&(e.j41(0,"mat-label"),e.EFF(1),e.k0s()),2&n){const t=e.XpG(2);e.R7$(1),e.JRh(t.schema.label)}}function Jo(n,a){if(1&n&&(e.j41(0,"mat-option",11),e.EFF(1),e.k0s()),2&n){const t=a.$implicit;e.Y8G("value",t),e.R7$(1),e.SpI(" ",t," ")}}function Ko(n,a){if(1&n&&(e.j41(0,"mat-form-field",19),e.DNE(1,qo,2,1,"mat-label",1),e.nrm(2,"input",20),e.j41(3,"mat-autocomplete",null,21),e.DNE(5,Jo,2,2,"mat-option",10),e.nI1(6,"async"),e.k0s()()),2&n){const t=e.sdS(4),o=e.XpG();e.R7$(1),e.Y8G("ngIf",o.showLabel),e.R7$(1),e.Y8G("formControl",o.control)("matAutocomplete",t),e.BMQ("aria-label",o.schema.label),e.R7$(3),e.Y8G("ngForOf",e.bMT(6,6,o.filteredEventList))("ngForTrackBy",o.trackByValue)}}const Ho=function(){return["integer","password","string","string","picklist","multi_picklist","text"]};let qe=class Xt{constructor(a,t,o){this.controlDir=a,this.activedRoute=t,this.themeService=o,this.showLabel=!0,this.faCircleInfo=b.mEO,this.control=new m.MJ,this.pendingFilePath=null,this.eventList=[],this.isDarkMode=this.themeService.darkMode$,a.valueAccessor=this}trackByOptionName(a,t){return t.name}trackByValue(a,t){return t}ngOnInit(){"event_picklist"===this.schema.type&&(this.activedRoute.data.subscribe(a=>{a.systemEvents&&a.systemEvents.resource&&(this.eventList=(0,Qn.$)(a.systemEvents.resource))}),this.filteredEventList=this.control.valueChanges.pipe((0,je.Z)(""),(0,X.T)(a=>a&&this.eventList?this.eventList.filter(t=>t.toLowerCase().includes(a.toLowerCase())):[])))}ngDoCheck(){this.controlDir.control instanceof m.MJ&&this.controlDir.control.hasValidator(m.k0.required)&&this.control.addValidators(m.k0.required)}ngAfterViewInit(){"file_certificate_api"===this.schema?.type&&this.fileSelector&&(this.pendingFilePath?(console.log("Applying pending file path after view init:",this.pendingFilePath),this.fileSelector.setPath(this.pendingFilePath),this.pendingFilePath=null):this.control.value&&"string"==typeof this.control.value&&(console.log("Setting file selector path after view init:",this.control.value),this.fileSelector.setPath(this.control.value)))}handleFileInput(a){const t=a.target;t.files&&this.control.setValue(t.files[0])}onFileSelected(a){a?(this.control.setValue(a.path),console.log("File selected in dynamic field:",a)):this.control.setValue(null)}writeValue(a){if(console.log("Dynamic field writeValue:",a,"Schema type:",this.schema?.type),"file_certificate_api"===this.schema?.type&&"string"==typeof a&&a)return console.log("Setting file path value:",a),this.control.setValue(a,{emitEvent:!1}),void(this.fileSelector?(console.log("Setting path on file selector:",a),this.fileSelector.setPath(a)):(console.log("File selector not yet available, storing pending path:",a),this.pendingFilePath=a));this.control.setValue(a,{emitEvent:!1})}registerOnChange(a){this.onChange=a,this.control.valueChanges.subscribe(t=>this.onChange(t))}registerOnTouched(a){this.onTouched=a}setDisabledState(a){a?this.control.disable():this.control.enable()}static{this.\u0275fac=function(t){return new(t||Xt)(e.rXU(m.vO,10),e.rXU(j.nX),e.rXU(Ue.n))}}static{this.\u0275cmp=e.VBU({type:Xt,selectors:[["df-dynamic-field"]],viewQuery:function(t,o){if(1&t&&e.GBs(Io,5),2&t){let i;e.mGM(i=e.lsd())&&(o.fileSelector=i.first)}},inputs:{schema:"schema",showLabel:"showLabel"},standalone:!0,features:[e.aNF],decls:6,vars:6,consts:[["subscriptSizing","dynamic","appearance","outline",4,"ngIf"],[4,"ngIf"],["color","primary",3,"formControl","matTooltip",4,"ngIf"],["subscriptSizing","dynamic",4,"ngIf"],["subscriptSizing","dynamic","appearance","outline"],["matInput","",3,"formControl","type",4,"ngIf"],[3,"multiple","formControl",4,"ngIf"],["class","tool-tip-trigger","matSuffix","",3,"icon","matTooltip",4,"ngIf"],["matInput","",3,"formControl","type"],[3,"multiple","formControl"],[3,"value",4,"ngFor","ngForOf","ngForTrackBy"],[3,"value"],["matSuffix","",1,"tool-tip-trigger",3,"icon","matTooltip"],[3,"label","description","allowedExtensions","initialValue","fileSelected"],["fileSelector",""],["type","file",2,"display","none",3,"change"],["fileInput",""],["mat-flat-button","","color","primary",3,"matTooltip","click"],["color","primary",3,"formControl","matTooltip"],["subscriptSizing","dynamic"],["type","text","matInput","",3,"formControl","matAutocomplete"],["auto","matAutocomplete"]],template:function(t,o){1&t&&(e.j41(0,"div"),e.DNE(1,Vo,5,6,"mat-form-field",0),e.DNE(2,zo,3,5,"ng-container",1),e.DNE(3,Bo,7,5,"ng-container",1),e.DNE(4,Uo,2,4,"mat-slide-toggle",2),e.DNE(5,Ko,7,8,"mat-form-field",3),e.k0s()),2&t&&(e.R7$(1),e.Y8G("ngIf",e.lJ4(5,Ho).includes(o.schema.type)),e.R7$(1),e.Y8G("ngIf","file_certificate_api"===o.schema.type),e.R7$(1),e.Y8G("ngIf","file_certificate"===o.schema.type),e.R7$(1),e.Y8G("ngIf","boolean"===o.schema.type),e.R7$(1),e.Y8G("ngIf","event_picklist"===o.schema.type))},dependencies:[O.RG,O.rl,O.nJ,O.yw,$.fS,$.fg,d.bT,D.Ve,D.VO,J.wT,ce.mV,ce.sG,m.X1,m.me,m.BC,m.l_,d.pM,u.Hl,u.$z,R.Kj,w.dX,w.aY,S.uc,S.oV,ct.jL,ct.$3,ct.pN,d.Jj,dt],encapsulation:2})}};qe=(0,ae.Cg)([(0,W.d)({checkProperties:!0})],qe);var pt,Te=g(93138),Wo=g(1803);function Qo(n,a){if(1&n&&e.nrm(0,"fa-icon",10),2&n){const t=e.XpG(2);e.Y8G("icon",t.faCircleInfo)("matTooltip",t.schema.description)}}function Zo(n,a){if(1&n&&(e.j41(0,"mat-card-header"),e.EFF(1),e.DNE(2,Qo,1,2,"fa-icon",9),e.k0s()),2&n){const t=e.XpG();e.R7$(1),e.JRh(t.schema.label),e.R7$(1),e.Y8G("ngIf",t.schema.description)}}function ei(n,a){if(1&n&&e.nrm(0,"fa-icon",10),2&n){const t=e.XpG(3);e.Y8G("icon",t.faCircleInfo)("matTooltip",t.schema.description)}}function ti(n,a){if(1&n&&(e.j41(0,"th",12),e.EFF(1),e.DNE(2,ei,1,2,"fa-icon",9),e.k0s()),2&n){const t=e.XpG(2);e.R7$(1),e.SpI(" ",t.schema.label,""),e.R7$(1),e.Y8G("ngIf",t.schema.description)}}function ni(n,a){if(1&n&&(e.j41(0,"td",13)(1,"mat-form-field",14),e.nrm(2,"input",15),e.k0s()()),2&n){const t=a.index,o=e.XpG(2);e.R7$(2),e.Y8G("formControl",o.controls[t]),e.BMQ("aria-label",o.schema.label)}}function oi(n,a){if(1&n&&(e.qex(0,11),e.DNE(1,ti,3,2,"th",5),e.DNE(2,ni,3,2,"td",6),e.bVm()),2&n){const t=e.XpG();e.Y8G("matColumnDef",t.schema.name)}}function ii(n,a){if(1&n&&(e.j41(0,"th",12),e.EFF(1),e.k0s()),2&n){const t=e.XpG().$implicit;e.R7$(1),e.SpI(" ",t.label," ")}}function ai(n,a){if(1&n&&e.nrm(0,"df-verb-picker",20),2&n){const t=e.XpG(2).$implicit;e.Y8G("formControlName",t.name)("schema",t)}}function ri(n,a){if(1&n&&e.nrm(0,"df-dynamic-field",21),2&n){const t=e.XpG(2).$implicit;e.Y8G("showLabel",!1)("schema",t)("formControlName",t.name)}}function ci(n,a){if(1&n&&(e.j41(0,"td",13),e.qex(1,17),e.DNE(2,ai,1,2,"df-verb-picker",18),e.DNE(3,ri,1,3,"df-dynamic-field",19),e.bVm(),e.k0s()),2&n){const t=a.index,o=e.XpG().$implicit,i=e.XpG(2);e.R7$(1),e.Y8G("formGroup",i.getFormGroup(t)),e.R7$(1),e.Y8G("ngIf","verb_mask"===o.type),e.R7$(1),e.Y8G("ngIf","verb_mask"!==o.type)}}function si(n,a){1&n&&(e.qex(0,11),e.DNE(1,ii,2,1,"th",5),e.DNE(2,ci,4,3,"td",6),e.bVm()),2&n&&e.Y8G("matColumnDef",a.$implicit.name)}function li(n,a){if(1&n&&e.DNE(0,si,3,1,"ng-container",16),2&n){const t=e.XpG();e.Y8G("ngForOf",t.schemas)}}function di(n,a){if(1&n){const t=e.RV6();e.j41(0,"th",12)(1,"button",22),e.bIt("click",function(){e.eBV(t);const i=e.XpG();return e.Njj(i.add())}),e.nI1(2,"transloco"),e.nrm(3,"fa-icon",23),e.k0s()()}if(2&n){const t=e.XpG();e.R7$(1),e.BMQ("aria-label",e.bMT(2,2,"newEntry")),e.R7$(2),e.Y8G("icon",t.faPlus)}}const pi=function(n){return{id:n}};function mi(n,a){if(1&n){const t=e.RV6();e.j41(0,"td",13)(1,"button",24),e.bIt("click",function(){const r=e.eBV(t).index,c=e.XpG();return e.Njj(c.remove(r))}),e.nI1(2,"transloco"),e.nrm(3,"fa-icon",23),e.k0s()()}if(2&n){const t=a.index,o=e.XpG();e.R7$(1),e.BMQ("aria-label",e.i5U(2,2,"deleteRow",e.eq3(5,pi,t))),e.R7$(2),e.Y8G("icon",o.faTrashCan)}}function _i(n,a){1&n&&e.nrm(0,"tr",25)}function gi(n,a){1&n&&e.nrm(0,"tr",26)}let mt=class zt{static{pt=this}updateDataSource(){this.dataSource=new P.I6(this.fieldArray.controls)}constructor(a,t){this.fb=a,this.themeService=t,this.faPlus=b.QLR,this.faTrashCan=b.sjs,this.faCircleInfo=b.mEO,this.isDarkMode=this.themeService.darkMode$,this._displayedColumns=[]}get controls(){return this.fieldArray.controls}ngOnInit(){this.fieldArray||this.initialize()}get schemas(){return"array"===this.schema.type?this.schema.items:[{name:"key",label:this.schema.object?.key.label,type:this.schema.object?.key.type},{name:"value",label:this.schema.object?.value.label,type:this.schema.object?.value.type}]}get displayedColumns(){if(this._displayedColumnsSchema!==this.schema){this._displayedColumnsSchema=this.schema;const a="array"===this.schema.type?"string"===this.schema.items?[this.schema.name]:this.schemas.map(t=>t.name):["key","value"];a.push("actions"),this._displayedColumns=a}return this._displayedColumns}getFormGroup(a){return this.fieldArray.at(a)}createGroup(a){const t=this.fb.group({});return this.schemas.forEach(o=>{t.addControl(o.name,new m.MJ(a?a[o.name]:o.default))}),a&&t.patchValue(a),t}initialize(){this.fieldArray=this.fb.array([]),this.updateDataSource()}writeValue(a){this.fieldArray||this.initialize(),this.fieldArray.clear({emitEvent:!1}),a&&Array.isArray(a)&&"array"===this.schema.type?a.forEach(t=>this.fieldArray.push("string"===this.schema.items?new m.MJ(t):this.createGroup(t),{emitEvent:!1})):a&&"object"===this.schema.type&&Object.keys(a).forEach(t=>this.fieldArray.push(this.createGroup({key:t,value:a[t]}),{emitEvent:!1})),this.updateDataSource()}registerOnChange(a){this.onChange=a,this.fieldArray.valueChanges.pipe((0,X.T)(t=>"object"===this.schema.type?t.reduce((o,i)=>(o[i.key]=i.value,o),{}):t)).subscribe(t=>{this.onChange(t),this.updateDataSource()})}registerOnTouched(a){this.onTouched=a}setDisabledState(a){a?this.fieldArray.disable():this.fieldArray.enable()}add(){this.fieldArray.push("string"===this.schema.items?new m.MJ(""):this.createGroup())}remove(a){this.fieldArray.removeAt(a)}static{this.\u0275fac=function(t){return new(t||zt)(e.rXU(m.ok),e.rXU(Ue.n))}}static{this.\u0275cmp=e.VBU({type:zt,selectors:[["df-array-field"]],inputs:{schema:"schema"},standalone:!0,features:[e.Jv_([{provide:m.kq,useExisting:(0,e.Rfq)(()=>pt),multi:!0}]),e.aNF],decls:11,vars:6,consts:[[4,"ngIf"],["mat-table","",3,"dataSource"],[3,"matColumnDef",4,"ngIf","ngIfElse"],["dynamic",""],["matColumnDef","actions","stickyEnd",""],["mat-header-cell","",4,"matHeaderCellDef"],["mat-cell","",4,"matCellDef"],["mat-header-row","",4,"matHeaderRowDef"],["mat-row","",4,"matRowDef","matRowDefColumns"],["class","tool-tip-trigger","matSuffix","",3,"icon","matTooltip",4,"ngIf"],["matSuffix","",1,"tool-tip-trigger",3,"icon","matTooltip"],[3,"matColumnDef"],["mat-header-cell",""],["mat-cell",""],["appearance","outline","subscriptSizing","dynamic",1,"full-width"],["matInput","","type","text",3,"formControl"],[3,"matColumnDef",4,"ngFor","ngForOf"],[3,"formGroup"],["type","number","class","full-width",3,"formControlName","schema",4,"ngIf"],["class","full-width",3,"showLabel","schema","formControlName",4,"ngIf"],["type","number",1,"full-width",3,"formControlName","schema"],[1,"full-width",3,"showLabel","schema","formControlName"],["type","button","mat-mini-fab","","color","primary",3,"click"],["size","lg",3,"icon"],["type","button","mat-mini-fab","",1,"remove-btn",3,"click"],["mat-header-row",""],["mat-row",""]],template:function(t,o){if(1&t&&(e.j41(0,"mat-card"),e.DNE(1,Zo,3,2,"mat-card-header",0),e.j41(2,"table",1),e.DNE(3,oi,3,1,"ng-container",2),e.DNE(4,li,1,1,"ng-template",null,3,e.C5r),e.qex(6,4),e.DNE(7,di,4,4,"th",5),e.DNE(8,mi,4,7,"td",6),e.bVm(),e.DNE(9,_i,1,0,"tr",7),e.DNE(10,gi,1,0,"tr",8),e.k0s()()),2&t){const i=e.sdS(5);e.R7$(1),e.Y8G("ngIf","string"!==o.schema.items),e.R7$(1),e.Y8G("dataSource",o.dataSource),e.R7$(1),e.Y8G("ngIf","string"===o.schema.items)("ngIfElse",i),e.R7$(6),e.Y8G("matHeaderRowDef",o.displayedColumns),e.R7$(1),e.Y8G("matRowDefColumns",o.displayedColumns)}},dependencies:[m.X1,m.me,m.BC,m.cb,m.l_,m.j4,m.JD,d.pM,O.RG,O.rl,O.yw,$.fS,$.fg,u.Hl,u.$0,w.dX,w.aY,qe,d.bT,P.tP,P.Zl,P.tL,P.ji,P.cC,P.YV,P.iL,P.KS,P.$R,P.YZ,P.NB,Te.Hu,Te.RN,Te.MM,S.uc,S.oV,R.Kj,Wo.N,D.Ve],styles:[".mat-ripple[_ngcontent-%COMP%]{overflow:hidden;position:relative}.mat-ripple[_ngcontent-%COMP%]:not(:empty){transform:translateZ(0)}.mat-ripple.mat-ripple-unbounded[_ngcontent-%COMP%]{overflow:visible}.mat-ripple-element[_ngcontent-%COMP%]{position:absolute;border-radius:50%;pointer-events:none;transition:opacity,transform 0ms cubic-bezier(0,0,.2,1);transform:scale3d(0,0,0)}.cdk-high-contrast-active[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%]{display:none}.cdk-visually-hidden[_ngcontent-%COMP%]{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;white-space:nowrap;outline:0;-webkit-appearance:none;-moz-appearance:none;left:0}[dir=rtl][_ngcontent-%COMP%] .cdk-visually-hidden[_ngcontent-%COMP%]{left:auto;right:0}.cdk-overlay-container[_ngcontent-%COMP%], .cdk-global-overlay-wrapper[_ngcontent-%COMP%]{pointer-events:none;top:0;left:0;height:100%;width:100%}.cdk-overlay-container[_ngcontent-%COMP%]{position:fixed;z-index:1000}.cdk-overlay-container[_ngcontent-%COMP%]:empty{display:none}.cdk-global-overlay-wrapper[_ngcontent-%COMP%]{display:flex;position:absolute;z-index:1000}.cdk-overlay-pane[_ngcontent-%COMP%]{position:absolute;pointer-events:auto;box-sizing:border-box;z-index:1000;display:flex;max-width:100%;max-height:100%}.cdk-overlay-backdrop[_ngcontent-%COMP%]{position:absolute;inset:0;z-index:1000;pointer-events:auto;-webkit-tap-highlight-color:transparent;transition:opacity .4s cubic-bezier(.25,.8,.25,1);opacity:0}.cdk-overlay-backdrop.cdk-overlay-backdrop-showing[_ngcontent-%COMP%]{opacity:1}.cdk-high-contrast-active[_ngcontent-%COMP%] .cdk-overlay-backdrop.cdk-overlay-backdrop-showing[_ngcontent-%COMP%]{opacity:.6}.cdk-overlay-dark-backdrop[_ngcontent-%COMP%]{background:rgba(0,0,0,.32)}.cdk-overlay-transparent-backdrop[_ngcontent-%COMP%]{transition:visibility 1ms linear,opacity 1ms linear;visibility:hidden;opacity:1}.cdk-overlay-transparent-backdrop.cdk-overlay-backdrop-showing[_ngcontent-%COMP%]{opacity:0;visibility:visible}.cdk-overlay-backdrop-noop-animation[_ngcontent-%COMP%]{transition:none}.cdk-overlay-connected-position-bounding-box[_ngcontent-%COMP%]{position:absolute;z-index:1000;display:flex;flex-direction:column;min-width:1px;min-height:1px}.cdk-global-scrollblock[_ngcontent-%COMP%]{position:fixed;width:100%;overflow-y:scroll}textarea.cdk-textarea-autosize[_ngcontent-%COMP%]{resize:none}textarea.cdk-textarea-autosize-measuring[_ngcontent-%COMP%]{padding:2px 0!important;box-sizing:content-box!important;height:auto!important;overflow:hidden!important}textarea.cdk-textarea-autosize-measuring-firefox[_ngcontent-%COMP%]{padding:2px 0!important;box-sizing:content-box!important;height:0!important}@keyframes _ngcontent-%COMP%_cdk-text-field-autofill-start{}@keyframes _ngcontent-%COMP%_cdk-text-field-autofill-end{}.cdk-text-field-autofill-monitored[_ngcontent-%COMP%]:-webkit-autofill{animation:_ngcontent-%COMP%_cdk-text-field-autofill-start 0s 1ms}.cdk-text-field-autofill-monitored[_ngcontent-%COMP%]:not(:-webkit-autofill){animation:_ngcontent-%COMP%_cdk-text-field-autofill-end 0s 1ms}.mat-focus-indicator[_ngcontent-%COMP%]{position:relative}.mat-focus-indicator[_ngcontent-%COMP%]:before{inset:0;position:absolute;box-sizing:border-box;pointer-events:none;display:var(--mat-focus-indicator-display, none);border:var(--mat-focus-indicator-border-width, 3px) var(--mat-focus-indicator-border-style, solid) var(--mat-focus-indicator-border-color, transparent);border-radius:var(--mat-focus-indicator-border-radius, 4px)}.mat-focus-indicator[_ngcontent-%COMP%]:focus:before{content:\"\"}.cdk-high-contrast-active[_ngcontent-%COMP%]{--mat-focus-indicator-display: block}.mat-mdc-focus-indicator[_ngcontent-%COMP%]{position:relative}.mat-mdc-focus-indicator[_ngcontent-%COMP%]:before{inset:0;position:absolute;box-sizing:border-box;pointer-events:none;display:var(--mat-mdc-focus-indicator-display, none);border:var(--mat-mdc-focus-indicator-border-width, 3px) var(--mat-mdc-focus-indicator-border-style, solid) var(--mat-mdc-focus-indicator-border-color, transparent);border-radius:var(--mat-mdc-focus-indicator-border-radius, 4px)}.mat-mdc-focus-indicator[_ngcontent-%COMP%]:focus:before{content:\"\"}.cdk-high-contrast-active[_ngcontent-%COMP%]{--mat-mdc-focus-indicator-display: block}@font-face{font-family:Inter;src:url(Inter-VariableFont_slnt,wght.1cccc37b0c8d2802.ttf)}.mat-ripple-element[_ngcontent-%COMP%]{background-color:#0000001a}html[_ngcontent-%COMP%]{--mat-option-selected-state-label-text-color: #0f0761;--mat-option-label-text-color: rgba(0, 0, 0, .87);--mat-option-hover-state-layer-color: rgba(0, 0, 0, .04);--mat-option-focus-state-layer-color: rgba(0, 0, 0, .04);--mat-option-selected-state-layer-color: rgba(0, 0, 0, .04)}.mat-accent[_ngcontent-%COMP%]{--mat-option-selected-state-label-text-color: #dd7345}.mat-warn[_ngcontent-%COMP%]{--mat-option-selected-state-label-text-color: #f44336}html[_ngcontent-%COMP%]{--mat-optgroup-label-text-color: rgba(0, 0, 0, .87)}.mat-pseudo-checkbox-full[_ngcontent-%COMP%]{color:#0000008a}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-disabled[_ngcontent-%COMP%]{color:#b0b0b0}.mat-primary[_ngcontent-%COMP%] .mat-pseudo-checkbox-checked.mat-pseudo-checkbox-minimal[_ngcontent-%COMP%]:after, .mat-primary[_ngcontent-%COMP%] .mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-minimal[_ngcontent-%COMP%]:after{color:#0f0761}.mat-primary[_ngcontent-%COMP%] .mat-pseudo-checkbox-checked.mat-pseudo-checkbox-full[_ngcontent-%COMP%], .mat-primary[_ngcontent-%COMP%] .mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-full[_ngcontent-%COMP%]{background:#0f0761}.mat-primary[_ngcontent-%COMP%] .mat-pseudo-checkbox-checked.mat-pseudo-checkbox-full[_ngcontent-%COMP%]:after, .mat-primary[_ngcontent-%COMP%] .mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-full[_ngcontent-%COMP%]:after{color:#fafafa}.mat-pseudo-checkbox-checked.mat-pseudo-checkbox-minimal[_ngcontent-%COMP%]:after, .mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-minimal[_ngcontent-%COMP%]:after{color:#dd7345}.mat-pseudo-checkbox-checked.mat-pseudo-checkbox-full[_ngcontent-%COMP%], .mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-full[_ngcontent-%COMP%]{background:#dd7345}.mat-pseudo-checkbox-checked.mat-pseudo-checkbox-full[_ngcontent-%COMP%]:after, .mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-full[_ngcontent-%COMP%]:after{color:#fafafa}.mat-accent[_ngcontent-%COMP%] .mat-pseudo-checkbox-checked.mat-pseudo-checkbox-minimal[_ngcontent-%COMP%]:after, .mat-accent[_ngcontent-%COMP%] .mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-minimal[_ngcontent-%COMP%]:after{color:#dd7345}.mat-accent[_ngcontent-%COMP%] .mat-pseudo-checkbox-checked.mat-pseudo-checkbox-full[_ngcontent-%COMP%], .mat-accent[_ngcontent-%COMP%] .mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-full[_ngcontent-%COMP%]{background:#dd7345}.mat-accent[_ngcontent-%COMP%] .mat-pseudo-checkbox-checked.mat-pseudo-checkbox-full[_ngcontent-%COMP%]:after, .mat-accent[_ngcontent-%COMP%] .mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-full[_ngcontent-%COMP%]:after{color:#fafafa}.mat-warn[_ngcontent-%COMP%] .mat-pseudo-checkbox-checked.mat-pseudo-checkbox-minimal[_ngcontent-%COMP%]:after, .mat-warn[_ngcontent-%COMP%] .mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-minimal[_ngcontent-%COMP%]:after{color:#f44336}.mat-warn[_ngcontent-%COMP%] .mat-pseudo-checkbox-checked.mat-pseudo-checkbox-full[_ngcontent-%COMP%], .mat-warn[_ngcontent-%COMP%] .mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-full[_ngcontent-%COMP%]{background:#f44336}.mat-warn[_ngcontent-%COMP%] .mat-pseudo-checkbox-checked.mat-pseudo-checkbox-full[_ngcontent-%COMP%]:after, .mat-warn[_ngcontent-%COMP%] .mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-full[_ngcontent-%COMP%]:after{color:#fafafa}.mat-pseudo-checkbox-disabled.mat-pseudo-checkbox-checked.mat-pseudo-checkbox-minimal[_ngcontent-%COMP%]:after, .mat-pseudo-checkbox-disabled.mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-minimal[_ngcontent-%COMP%]:after{color:#b0b0b0}.mat-pseudo-checkbox-disabled.mat-pseudo-checkbox-checked.mat-pseudo-checkbox-full[_ngcontent-%COMP%], .mat-pseudo-checkbox-disabled.mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-full[_ngcontent-%COMP%]{background:#b0b0b0}.mat-app-background[_ngcontent-%COMP%]{background-color:#fafafa;color:#000000de}.mat-elevation-z0[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z0[_ngcontent-%COMP%]{box-shadow:0 0 #0003,0 0 #00000024,0 0 #0000001f}.mat-elevation-z1[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z1[_ngcontent-%COMP%]{box-shadow:0 2px 1px -1px #0003,0 1px 1px #00000024,0 1px 3px #0000001f}.mat-elevation-z2[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z2[_ngcontent-%COMP%]{box-shadow:0 3px 1px -2px #0003,0 2px 2px #00000024,0 1px 5px #0000001f}.mat-elevation-z3[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z3[_ngcontent-%COMP%]{box-shadow:0 3px 3px -2px #0003,0 3px 4px #00000024,0 1px 8px #0000001f}.mat-elevation-z4[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z4[_ngcontent-%COMP%]{box-shadow:0 2px 4px -1px #0003,0 4px 5px #00000024,0 1px 10px #0000001f}.mat-elevation-z5[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z5[_ngcontent-%COMP%]{box-shadow:0 3px 5px -1px #0003,0 5px 8px #00000024,0 1px 14px #0000001f}.mat-elevation-z6[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z6[_ngcontent-%COMP%]{box-shadow:0 3px 5px -1px #0003,0 6px 10px #00000024,0 1px 18px #0000001f}.mat-elevation-z7[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z7[_ngcontent-%COMP%]{box-shadow:0 4px 5px -2px #0003,0 7px 10px 1px #00000024,0 2px 16px 1px #0000001f}.mat-elevation-z8[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z8[_ngcontent-%COMP%]{box-shadow:0 5px 5px -3px #0003,0 8px 10px 1px #00000024,0 3px 14px 2px #0000001f}.mat-elevation-z9[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z9[_ngcontent-%COMP%]{box-shadow:0 5px 6px -3px #0003,0 9px 12px 1px #00000024,0 3px 16px 2px #0000001f}.mat-elevation-z10[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z10[_ngcontent-%COMP%]{box-shadow:0 6px 6px -3px #0003,0 10px 14px 1px #00000024,0 4px 18px 3px #0000001f}.mat-elevation-z11[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z11[_ngcontent-%COMP%]{box-shadow:0 6px 7px -4px #0003,0 11px 15px 1px #00000024,0 4px 20px 3px #0000001f}.mat-elevation-z12[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z12[_ngcontent-%COMP%]{box-shadow:0 7px 8px -4px #0003,0 12px 17px 2px #00000024,0 5px 22px 4px #0000001f}.mat-elevation-z13[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z13[_ngcontent-%COMP%]{box-shadow:0 7px 8px -4px #0003,0 13px 19px 2px #00000024,0 5px 24px 4px #0000001f}.mat-elevation-z14[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z14[_ngcontent-%COMP%]{box-shadow:0 7px 9px -4px #0003,0 14px 21px 2px #00000024,0 5px 26px 4px #0000001f}.mat-elevation-z15[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z15[_ngcontent-%COMP%]{box-shadow:0 8px 9px -5px #0003,0 15px 22px 2px #00000024,0 6px 28px 5px #0000001f}.mat-elevation-z16[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z16[_ngcontent-%COMP%]{box-shadow:0 8px 10px -5px #0003,0 16px 24px 2px #00000024,0 6px 30px 5px #0000001f}.mat-elevation-z17[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z17[_ngcontent-%COMP%]{box-shadow:0 8px 11px -5px #0003,0 17px 26px 2px #00000024,0 6px 32px 5px #0000001f}.mat-elevation-z18[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z18[_ngcontent-%COMP%]{box-shadow:0 9px 11px -5px #0003,0 18px 28px 2px #00000024,0 7px 34px 6px #0000001f}.mat-elevation-z19[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z19[_ngcontent-%COMP%]{box-shadow:0 9px 12px -6px #0003,0 19px 29px 2px #00000024,0 7px 36px 6px #0000001f}.mat-elevation-z20[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z20[_ngcontent-%COMP%]{box-shadow:0 10px 13px -6px #0003,0 20px 31px 3px #00000024,0 8px 38px 7px #0000001f}.mat-elevation-z21[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z21[_ngcontent-%COMP%]{box-shadow:0 10px 13px -6px #0003,0 21px 33px 3px #00000024,0 8px 40px 7px #0000001f}.mat-elevation-z22[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z22[_ngcontent-%COMP%]{box-shadow:0 10px 14px -6px #0003,0 22px 35px 3px #00000024,0 8px 42px 7px #0000001f}.mat-elevation-z23[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z23[_ngcontent-%COMP%]{box-shadow:0 11px 14px -7px #0003,0 23px 36px 3px #00000024,0 9px 44px 8px #0000001f}.mat-elevation-z24[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z24[_ngcontent-%COMP%]{box-shadow:0 11px 15px -7px #0003,0 24px 38px 3px #00000024,0 9px 46px 8px #0000001f}.mat-theme-loaded-marker[_ngcontent-%COMP%]{display:none}html[_ngcontent-%COMP%]{--mat-option-label-text-font: Inter;--mat-option-label-text-line-height: 19px;--mat-option-label-text-size: 13px;--mat-option-label-text-tracking: normal;--mat-option-label-text-weight: 400}html[_ngcontent-%COMP%]{--mat-optgroup-label-text-font: Inter;--mat-optgroup-label-text-line-height: 19px;--mat-optgroup-label-text-size: 13px;--mat-optgroup-label-text-tracking: normal;--mat-optgroup-label-text-weight: 400}.mat-mdc-card[_ngcontent-%COMP%]{--mdc-elevated-card-container-color: white;--mdc-elevated-card-container-elevation: 0px 2px 1px -1px rgba(0, 0, 0, .2), 0px 1px 1px 0px rgba(0, 0, 0, .14), 0px 1px 3px 0px rgba(0, 0, 0, .12);--mdc-outlined-card-container-color: white;--mdc-outlined-card-outline-color: rgba(0, 0, 0, .12);--mdc-outlined-card-container-elevation: 0px 0px 0px 0px rgba(0, 0, 0, .2), 0px 0px 0px 0px rgba(0, 0, 0, .14), 0px 0px 0px 0px rgba(0, 0, 0, .12);--mat-card-subtitle-text-color: rgba(0, 0, 0, .54)}.mat-mdc-card[_ngcontent-%COMP%]{--mat-card-title-text-font: Inter;--mat-card-title-text-line-height: 21px;--mat-card-title-text-size: 16px;--mat-card-title-text-tracking: normal;--mat-card-title-text-weight: 600;--mat-card-subtitle-text-font: Inter;--mat-card-subtitle-text-line-height: 19px;--mat-card-subtitle-text-size: 13px;--mat-card-subtitle-text-tracking: normal;--mat-card-subtitle-text-weight: 500}.mat-mdc-progress-bar[_ngcontent-%COMP%]{--mdc-linear-progress-active-indicator-color: #0f0761;--mdc-linear-progress-track-color: rgba(15, 7, 97, .25)}.mat-mdc-progress-bar[_ngcontent-%COMP%] .mdc-linear-progress__buffer-dots[_ngcontent-%COMP%]{background-color:#0f076140;background-color:var(--mdc-linear-progress-track-color, rgba(15, 7, 97, .25))}@media (forced-colors: active){.mat-mdc-progress-bar[_ngcontent-%COMP%] .mdc-linear-progress__buffer-dots[_ngcontent-%COMP%]{background-color:ButtonBorder}}@media all and (-ms-high-contrast: none),(-ms-high-contrast: active){.mat-mdc-progress-bar[_ngcontent-%COMP%] .mdc-linear-progress__buffer-dots[_ngcontent-%COMP%]{background-color:transparent;background-image:url(\"data:image/svg+xml,%3Csvg version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' enable-background='new 0 0 5 2' xml:space='preserve' viewBox='0 0 5 2' preserveAspectRatio='none slice'%3E%3Ccircle cx='1' cy='1' r='1' fill='rgba(15, 7, 97, 0.25)'/%3E%3C/svg%3E\")}}.mat-mdc-progress-bar[_ngcontent-%COMP%] .mdc-linear-progress__buffer-bar[_ngcontent-%COMP%]{background-color:#0f076140;background-color:var(--mdc-linear-progress-track-color, rgba(15, 7, 97, .25))}.mat-mdc-progress-bar.mat-accent[_ngcontent-%COMP%]{--mdc-linear-progress-active-indicator-color: #dd7345;--mdc-linear-progress-track-color: rgba(221, 115, 69, .25)}.mat-mdc-progress-bar.mat-accent[_ngcontent-%COMP%] .mdc-linear-progress__buffer-dots[_ngcontent-%COMP%]{background-color:#dd734540;background-color:var(--mdc-linear-progress-track-color, rgba(221, 115, 69, .25))}@media (forced-colors: active){.mat-mdc-progress-bar.mat-accent[_ngcontent-%COMP%] .mdc-linear-progress__buffer-dots[_ngcontent-%COMP%]{background-color:ButtonBorder}}@media all and (-ms-high-contrast: none),(-ms-high-contrast: active){.mat-mdc-progress-bar.mat-accent[_ngcontent-%COMP%] .mdc-linear-progress__buffer-dots[_ngcontent-%COMP%]{background-color:transparent;background-image:url(\"data:image/svg+xml,%3Csvg version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' enable-background='new 0 0 5 2' xml:space='preserve' viewBox='0 0 5 2' preserveAspectRatio='none slice'%3E%3Ccircle cx='1' cy='1' r='1' fill='rgba(221, 115, 69, 0.25)'/%3E%3C/svg%3E\")}}.mat-mdc-progress-bar.mat-accent[_ngcontent-%COMP%] .mdc-linear-progress__buffer-bar[_ngcontent-%COMP%]{background-color:#dd734540;background-color:var(--mdc-linear-progress-track-color, rgba(221, 115, 69, .25))}.mat-mdc-progress-bar.mat-warn[_ngcontent-%COMP%]{--mdc-linear-progress-active-indicator-color: #f44336;--mdc-linear-progress-track-color: rgba(244, 67, 54, .25)}@keyframes _ngcontent-%COMP%_mdc-linear-progress-buffering{}.mat-mdc-progress-bar.mat-warn[_ngcontent-%COMP%] .mdc-linear-progress__buffer-dots[_ngcontent-%COMP%]{background-color:#f4433640;background-color:var(--mdc-linear-progress-track-color, rgba(244, 67, 54, .25))}@media (forced-colors: active){.mat-mdc-progress-bar.mat-warn[_ngcontent-%COMP%] .mdc-linear-progress__buffer-dots[_ngcontent-%COMP%]{background-color:ButtonBorder}}@media all and (-ms-high-contrast: none),(-ms-high-contrast: active){.mat-mdc-progress-bar.mat-warn[_ngcontent-%COMP%] .mdc-linear-progress__buffer-dots[_ngcontent-%COMP%]{background-color:transparent;background-image:url(\"data:image/svg+xml,%3Csvg version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' enable-background='new 0 0 5 2' xml:space='preserve' viewBox='0 0 5 2' preserveAspectRatio='none slice'%3E%3Ccircle cx='1' cy='1' r='1' fill='rgba(244, 67, 54, 0.25)'/%3E%3C/svg%3E\")}}.mat-mdc-progress-bar.mat-warn[_ngcontent-%COMP%] .mdc-linear-progress__buffer-bar[_ngcontent-%COMP%]{background-color:#f4433640;background-color:var(--mdc-linear-progress-track-color, rgba(244, 67, 54, .25))}.mat-mdc-tooltip[_ngcontent-%COMP%]{--mdc-plain-tooltip-container-color: #616161;--mdc-plain-tooltip-supporting-text-color: #fff}.mat-mdc-tooltip[_ngcontent-%COMP%]{--mdc-plain-tooltip-supporting-text-font: Inter;--mdc-plain-tooltip-supporting-text-size: 12px;--mdc-plain-tooltip-supporting-text-weight: 400;--mdc-plain-tooltip-supporting-text-tracking: normal}html[_ngcontent-%COMP%]{--mdc-filled-text-field-caret-color: #0f0761;--mdc-filled-text-field-focus-active-indicator-color: #0f0761;--mdc-filled-text-field-focus-label-text-color: rgba(15, 7, 97, .87);--mdc-filled-text-field-container-color: whitesmoke;--mdc-filled-text-field-disabled-container-color: #fafafa;--mdc-filled-text-field-label-text-color: rgba(0, 0, 0, .6);--mdc-filled-text-field-disabled-label-text-color: rgba(0, 0, 0, .38);--mdc-filled-text-field-input-text-color: rgba(0, 0, 0, .87);--mdc-filled-text-field-disabled-input-text-color: rgba(0, 0, 0, .38);--mdc-filled-text-field-input-text-placeholder-color: rgba(0, 0, 0, .6);--mdc-filled-text-field-error-focus-label-text-color: #f44336;--mdc-filled-text-field-error-label-text-color: #f44336;--mdc-filled-text-field-error-caret-color: #f44336;--mdc-filled-text-field-active-indicator-color: rgba(0, 0, 0, .42);--mdc-filled-text-field-disabled-active-indicator-color: rgba(0, 0, 0, .06);--mdc-filled-text-field-hover-active-indicator-color: rgba(0, 0, 0, .87);--mdc-filled-text-field-error-active-indicator-color: #f44336;--mdc-filled-text-field-error-focus-active-indicator-color: #f44336;--mdc-filled-text-field-error-hover-active-indicator-color: #f44336;--mdc-outlined-text-field-caret-color: #0f0761;--mdc-outlined-text-field-focus-outline-color: #0f0761;--mdc-outlined-text-field-focus-label-text-color: rgba(15, 7, 97, .87);--mdc-outlined-text-field-label-text-color: rgba(0, 0, 0, .6);--mdc-outlined-text-field-disabled-label-text-color: rgba(0, 0, 0, .38);--mdc-outlined-text-field-input-text-color: rgba(0, 0, 0, .87);--mdc-outlined-text-field-disabled-input-text-color: rgba(0, 0, 0, .38);--mdc-outlined-text-field-input-text-placeholder-color: rgba(0, 0, 0, .6);--mdc-outlined-text-field-error-caret-color: #f44336;--mdc-outlined-text-field-error-focus-label-text-color: #f44336;--mdc-outlined-text-field-error-label-text-color: #f44336;--mdc-outlined-text-field-outline-color: rgba(0, 0, 0, .38);--mdc-outlined-text-field-disabled-outline-color: rgba(0, 0, 0, .06);--mdc-outlined-text-field-hover-outline-color: rgba(0, 0, 0, .87);--mdc-outlined-text-field-error-focus-outline-color: #f44336;--mdc-outlined-text-field-error-hover-outline-color: #f44336;--mdc-outlined-text-field-error-outline-color: #f44336;--mat-form-field-disabled-input-text-placeholder-color: rgba(0, 0, 0, .38)}.mat-mdc-form-field-error[_ngcontent-%COMP%]{color:var(--mdc-theme-error, #f44336)}.mat-mdc-form-field-subscript-wrapper[_ngcontent-%COMP%], .mat-mdc-form-field-bottom-align[_ngcontent-%COMP%]:before{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--mat-form-field-subscript-text-font);line-height:var(--mat-form-field-subscript-text-line-height);font-size:var(--mat-form-field-subscript-text-size);letter-spacing:var(--mat-form-field-subscript-text-tracking);font-weight:var(--mat-form-field-subscript-text-weight)}.mat-mdc-form-field-focus-overlay[_ngcontent-%COMP%]{background-color:#000000de}.mat-mdc-form-field[_ngcontent-%COMP%]:hover .mat-mdc-form-field-focus-overlay[_ngcontent-%COMP%]{opacity:.04}.mat-mdc-form-field.mat-focused[_ngcontent-%COMP%] .mat-mdc-form-field-focus-overlay[_ngcontent-%COMP%]{opacity:.12}.mat-mdc-form-field-type-mat-native-select[_ngcontent-%COMP%] .mat-mdc-form-field-infix[_ngcontent-%COMP%]:after{color:#0000008a}.mat-mdc-form-field-type-mat-native-select.mat-focused.mat-primary[_ngcontent-%COMP%] .mat-mdc-form-field-infix[_ngcontent-%COMP%]:after{color:#0f0761de}.mat-mdc-form-field-type-mat-native-select.mat-focused.mat-accent[_ngcontent-%COMP%] .mat-mdc-form-field-infix[_ngcontent-%COMP%]:after{color:#dd7345de}.mat-mdc-form-field-type-mat-native-select.mat-focused.mat-warn[_ngcontent-%COMP%] .mat-mdc-form-field-infix[_ngcontent-%COMP%]:after{color:#f44336de}.mat-mdc-form-field-type-mat-native-select.mat-form-field-disabled[_ngcontent-%COMP%] .mat-mdc-form-field-infix[_ngcontent-%COMP%]:after{color:#00000061}.mat-mdc-form-field.mat-accent[_ngcontent-%COMP%]{--mdc-filled-text-field-caret-color: #dd7345;--mdc-filled-text-field-focus-active-indicator-color: #dd7345;--mdc-filled-text-field-focus-label-text-color: rgba(221, 115, 69, .87);--mdc-outlined-text-field-caret-color: #dd7345;--mdc-outlined-text-field-focus-outline-color: #dd7345;--mdc-outlined-text-field-focus-label-text-color: rgba(221, 115, 69, .87)}.mat-mdc-form-field.mat-warn[_ngcontent-%COMP%]{--mdc-filled-text-field-caret-color: #f44336;--mdc-filled-text-field-focus-active-indicator-color: #f44336;--mdc-filled-text-field-focus-label-text-color: rgba(244, 67, 54, .87);--mdc-outlined-text-field-caret-color: #f44336;--mdc-outlined-text-field-focus-outline-color: #f44336;--mdc-outlined-text-field-focus-label-text-color: rgba(244, 67, 54, .87)}.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field[_ngcontent-%COMP%] .mdc-notched-outline__notch[_ngcontent-%COMP%]{border-left:1px solid transparent}[dir=rtl][_ngcontent-%COMP%] .mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field[_ngcontent-%COMP%] .mdc-notched-outline__notch[_ngcontent-%COMP%]{border-left:none;border-right:1px solid transparent}.mat-mdc-form-field-infix[_ngcontent-%COMP%]{min-height:48px}.mat-mdc-text-field-wrapper[_ngcontent-%COMP%] .mat-mdc-form-field-flex[_ngcontent-%COMP%] .mat-mdc-floating-label[_ngcontent-%COMP%]{top:24px}.mat-mdc-text-field-wrapper.mdc-text-field--outlined[_ngcontent-%COMP%] .mdc-notched-outline--upgraded[_ngcontent-%COMP%] .mdc-floating-label--float-above[_ngcontent-%COMP%]{--mat-mdc-form-field-label-transform: translateY( -30.75px) scale(var(--mat-mdc-form-field-floating-label-scale, .75));transform:var(--mat-mdc-form-field-label-transform)}.mat-mdc-text-field-wrapper.mdc-text-field--outlined[_ngcontent-%COMP%] .mat-mdc-form-field-infix[_ngcontent-%COMP%]{padding-top:12px;padding-bottom:12px}.mat-mdc-text-field-wrapper[_ngcontent-%COMP%]:not(.mdc-text-field--outlined) .mat-mdc-form-field-infix[_ngcontent-%COMP%]{padding-top:12px;padding-bottom:12px}.mdc-text-field--no-label[_ngcontent-%COMP%]:not(.mdc-text-field--outlined):not(.mdc-text-field--textarea) .mat-mdc-form-field-infix[_ngcontent-%COMP%]{padding-top:12px;padding-bottom:12px}.mat-mdc-text-field-wrapper[_ngcontent-%COMP%]:not(.mdc-text-field--outlined) .mat-mdc-floating-label[_ngcontent-%COMP%]{display:none}html[_ngcontent-%COMP%]{--mdc-filled-text-field-label-text-font: Inter;--mdc-filled-text-field-label-text-size: 13px;--mdc-filled-text-field-label-text-tracking: normal;--mdc-filled-text-field-label-text-weight: 400;--mdc-outlined-text-field-label-text-font: Inter;--mdc-outlined-text-field-label-text-size: 13px;--mdc-outlined-text-field-label-text-tracking: normal;--mdc-outlined-text-field-label-text-weight: 400;--mat-form-field-container-text-font: Inter;--mat-form-field-container-text-line-height: 19px;--mat-form-field-container-text-size: 13px;--mat-form-field-container-text-tracking: normal;--mat-form-field-container-text-weight: 400;--mat-form-field-outlined-label-text-populated-size: 13px;--mat-form-field-subscript-text-font: Inter;--mat-form-field-subscript-text-line-height: 16px;--mat-form-field-subscript-text-size: 12px;--mat-form-field-subscript-text-tracking: normal;--mat-form-field-subscript-text-weight: 400}html[_ngcontent-%COMP%]{--mat-select-panel-background-color: white;--mat-select-enabled-trigger-text-color: rgba(0, 0, 0, .87);--mat-select-disabled-trigger-text-color: rgba(0, 0, 0, .38);--mat-select-placeholder-text-color: rgba(0, 0, 0, .6);--mat-select-enabled-arrow-color: rgba(0, 0, 0, .54);--mat-select-disabled-arrow-color: rgba(0, 0, 0, .38);--mat-select-focused-arrow-color: rgba(15, 7, 97, .87);--mat-select-invalid-arrow-color: rgba(244, 67, 54, .87)}html[_ngcontent-%COMP%] .mat-mdc-form-field.mat-accent[_ngcontent-%COMP%]{--mat-select-panel-background-color: white;--mat-select-enabled-trigger-text-color: rgba(0, 0, 0, .87);--mat-select-disabled-trigger-text-color: rgba(0, 0, 0, .38);--mat-select-placeholder-text-color: rgba(0, 0, 0, .6);--mat-select-enabled-arrow-color: rgba(0, 0, 0, .54);--mat-select-disabled-arrow-color: rgba(0, 0, 0, .38);--mat-select-focused-arrow-color: rgba(221, 115, 69, .87);--mat-select-invalid-arrow-color: rgba(244, 67, 54, .87)}html[_ngcontent-%COMP%] .mat-mdc-form-field.mat-warn[_ngcontent-%COMP%]{--mat-select-panel-background-color: white;--mat-select-enabled-trigger-text-color: rgba(0, 0, 0, .87);--mat-select-disabled-trigger-text-color: rgba(0, 0, 0, .38);--mat-select-placeholder-text-color: rgba(0, 0, 0, .6);--mat-select-enabled-arrow-color: rgba(0, 0, 0, .54);--mat-select-disabled-arrow-color: rgba(0, 0, 0, .38);--mat-select-focused-arrow-color: rgba(244, 67, 54, .87);--mat-select-invalid-arrow-color: rgba(244, 67, 54, .87)}.mat-form-field-appearance-fill[_ngcontent-%COMP%] .mat-mdc-select-arrow-wrapper[_ngcontent-%COMP%]{transform:none}html[_ngcontent-%COMP%]{--mat-select-trigger-text-font: Inter;--mat-select-trigger-text-line-height: 19px;--mat-select-trigger-text-size: 13px;--mat-select-trigger-text-tracking: normal;--mat-select-trigger-text-weight: 400}html[_ngcontent-%COMP%]{--mat-autocomplete-background-color: white}.mat-mdc-dialog-container[_ngcontent-%COMP%]{--mdc-dialog-container-color: white;--mdc-dialog-subhead-color: rgba(0, 0, 0, .87);--mdc-dialog-supporting-text-color: rgba(0, 0, 0, .6)}.mat-mdc-dialog-container[_ngcontent-%COMP%]{--mdc-dialog-subhead-font: Inter;--mdc-dialog-subhead-line-height: 21px;--mdc-dialog-subhead-size: 16px;--mdc-dialog-subhead-weight: 600;--mdc-dialog-subhead-tracking: normal;--mdc-dialog-supporting-text-font: Inter;--mdc-dialog-supporting-text-line-height: 19px;--mdc-dialog-supporting-text-size: 13px;--mdc-dialog-supporting-text-weight: 400;--mdc-dialog-supporting-text-tracking: normal}.mat-mdc-standard-chip[_ngcontent-%COMP%]{--mdc-chip-disabled-label-text-color: #212121;--mdc-chip-elevated-container-color: #e0e0e0;--mdc-chip-elevated-disabled-container-color: #e0e0e0;--mdc-chip-focus-state-layer-color: black;--mdc-chip-focus-state-layer-opacity: .12;--mdc-chip-label-text-color: #212121;--mdc-chip-with-icon-icon-color: #212121;--mdc-chip-with-icon-disabled-icon-color: #212121;--mdc-chip-with-icon-selected-icon-color: #212121;--mdc-chip-with-trailing-icon-disabled-trailing-icon-color: #212121;--mdc-chip-with-trailing-icon-trailing-icon-color: #212121}.mat-mdc-standard-chip.mat-mdc-chip-selected.mat-primary[_ngcontent-%COMP%], .mat-mdc-standard-chip.mat-mdc-chip-highlighted.mat-primary[_ngcontent-%COMP%]{--mdc-chip-disabled-label-text-color: white;--mdc-chip-elevated-container-color: #0f0761;--mdc-chip-elevated-disabled-container-color: #0f0761;--mdc-chip-focus-state-layer-color: black;--mdc-chip-focus-state-layer-opacity: .12;--mdc-chip-label-text-color: white;--mdc-chip-with-icon-icon-color: white;--mdc-chip-with-icon-disabled-icon-color: white;--mdc-chip-with-icon-selected-icon-color: white;--mdc-chip-with-trailing-icon-disabled-trailing-icon-color: white;--mdc-chip-with-trailing-icon-trailing-icon-color: white}.mat-mdc-standard-chip.mat-mdc-chip-selected.mat-accent[_ngcontent-%COMP%], .mat-mdc-standard-chip.mat-mdc-chip-highlighted.mat-accent[_ngcontent-%COMP%]{--mdc-chip-disabled-label-text-color: white;--mdc-chip-elevated-container-color: #dd7345;--mdc-chip-elevated-disabled-container-color: #dd7345;--mdc-chip-focus-state-layer-color: black;--mdc-chip-focus-state-layer-opacity: .12;--mdc-chip-label-text-color: white;--mdc-chip-with-icon-icon-color: white;--mdc-chip-with-icon-disabled-icon-color: white;--mdc-chip-with-icon-selected-icon-color: white;--mdc-chip-with-trailing-icon-disabled-trailing-icon-color: white;--mdc-chip-with-trailing-icon-trailing-icon-color: white}.mat-mdc-standard-chip.mat-mdc-chip-selected.mat-warn[_ngcontent-%COMP%], .mat-mdc-standard-chip.mat-mdc-chip-highlighted.mat-warn[_ngcontent-%COMP%]{--mdc-chip-disabled-label-text-color: white;--mdc-chip-elevated-container-color: #f44336;--mdc-chip-elevated-disabled-container-color: #f44336;--mdc-chip-focus-state-layer-color: black;--mdc-chip-focus-state-layer-opacity: .12;--mdc-chip-label-text-color: white;--mdc-chip-with-icon-icon-color: white;--mdc-chip-with-icon-disabled-icon-color: white;--mdc-chip-with-icon-selected-icon-color: white;--mdc-chip-with-trailing-icon-disabled-trailing-icon-color: white;--mdc-chip-with-trailing-icon-trailing-icon-color: white}.mat-mdc-chip.mat-mdc-standard-chip[_ngcontent-%COMP%]{--mdc-chip-container-height: 24px}.mat-mdc-standard-chip[_ngcontent-%COMP%]{--mdc-chip-label-text-font: Inter;--mdc-chip-label-text-line-height: 19px;--mdc-chip-label-text-size: 13px;--mdc-chip-label-text-tracking: normal;--mdc-chip-label-text-weight: 400}.mat-mdc-slide-toggle[_ngcontent-%COMP%]{--mdc-switch-selected-focus-state-layer-color: #5c5699;--mdc-switch-selected-handle-color: #5c5699;--mdc-switch-selected-hover-state-layer-color: #5c5699;--mdc-switch-selected-pressed-state-layer-color: #5c5699;--mdc-switch-selected-focus-handle-color: #0f0761;--mdc-switch-selected-hover-handle-color: #0f0761;--mdc-switch-selected-pressed-handle-color: #0f0761;--mdc-switch-selected-focus-track-color: #aaa8ca;--mdc-switch-selected-hover-track-color: #aaa8ca;--mdc-switch-selected-pressed-track-color: #aaa8ca;--mdc-switch-selected-track-color: #aaa8ca;--mdc-switch-disabled-selected-handle-color: #424242;--mdc-switch-disabled-selected-icon-color: #fff;--mdc-switch-disabled-selected-track-color: #424242;--mdc-switch-disabled-unselected-handle-color: #424242;--mdc-switch-disabled-unselected-icon-color: #fff;--mdc-switch-disabled-unselected-track-color: #424242;--mdc-switch-handle-surface-color: var(--mdc-theme-surface, #fff);--mdc-switch-handle-elevation-shadow: 0px 2px 1px -1px rgba(0, 0, 0, .2), 0px 1px 1px 0px rgba(0, 0, 0, .14), 0px 1px 3px 0px rgba(0, 0, 0, .12);--mdc-switch-handle-shadow-color: black;--mdc-switch-disabled-handle-elevation-shadow: 0px 0px 0px 0px rgba(0, 0, 0, .2), 0px 0px 0px 0px rgba(0, 0, 0, .14), 0px 0px 0px 0px rgba(0, 0, 0, .12);--mdc-switch-selected-icon-color: #fff;--mdc-switch-unselected-focus-handle-color: #212121;--mdc-switch-unselected-focus-state-layer-color: #424242;--mdc-switch-unselected-focus-track-color: #e0e0e0;--mdc-switch-unselected-handle-color: #616161;--mdc-switch-unselected-hover-handle-color: #212121;--mdc-switch-unselected-hover-state-layer-color: #424242;--mdc-switch-unselected-hover-track-color: #e0e0e0;--mdc-switch-unselected-icon-color: #fff;--mdc-switch-unselected-pressed-handle-color: #212121;--mdc-switch-unselected-pressed-state-layer-color: #424242;--mdc-switch-unselected-pressed-track-color: #e0e0e0;--mdc-switch-unselected-track-color: #e0e0e0}.mat-mdc-slide-toggle[_ngcontent-%COMP%] .mdc-form-field[_ngcontent-%COMP%]{color:var(--mdc-theme-text-primary-on-background, rgba(0, 0, 0, .87))}.mat-mdc-slide-toggle[_ngcontent-%COMP%] .mdc-switch--disabled[_ngcontent-%COMP%] + label[_ngcontent-%COMP%]{color:#00000061}.mat-mdc-slide-toggle.mat-accent[_ngcontent-%COMP%]{--mdc-switch-selected-focus-state-layer-color: #914b2d;--mdc-switch-selected-handle-color: #914b2d;--mdc-switch-selected-hover-state-layer-color: #914b2d;--mdc-switch-selected-pressed-state-layer-color: #914b2d;--mdc-switch-selected-focus-handle-color: #2b160d;--mdc-switch-selected-hover-handle-color: #2b160d;--mdc-switch-selected-pressed-handle-color: #2b160d;--mdc-switch-selected-focus-track-color: #ff8c5a;--mdc-switch-selected-hover-track-color: #ff8c5a;--mdc-switch-selected-pressed-track-color: #ff8c5a;--mdc-switch-selected-track-color: #ff8c5a}.mat-mdc-slide-toggle.mat-warn[_ngcontent-%COMP%]{--mdc-switch-selected-focus-state-layer-color: #e53935;--mdc-switch-selected-handle-color: #e53935;--mdc-switch-selected-hover-state-layer-color: #e53935;--mdc-switch-selected-pressed-state-layer-color: #e53935;--mdc-switch-selected-focus-handle-color: #b71c1c;--mdc-switch-selected-hover-handle-color: #b71c1c;--mdc-switch-selected-pressed-handle-color: #b71c1c;--mdc-switch-selected-focus-track-color: #e57373;--mdc-switch-selected-hover-track-color: #e57373;--mdc-switch-selected-pressed-track-color: #e57373;--mdc-switch-selected-track-color: #e57373}.mat-mdc-slide-toggle[_ngcontent-%COMP%]{--mdc-switch-state-layer-size: 40px}.mat-mdc-slide-toggle[_ngcontent-%COMP%]{--mat-slide-toggle-label-text-font: Inter;--mat-slide-toggle-label-text-size: 13px;--mat-slide-toggle-label-text-tracking: normal;--mat-slide-toggle-label-text-line-height: 19px;--mat-slide-toggle-label-text-weight: 400}.mat-mdc-slide-toggle[_ngcontent-%COMP%] .mdc-form-field[_ngcontent-%COMP%]{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:Roboto,sans-serif;font-family:var(--mdc-typography-body2-font-family, var(--mdc-typography-font-family, Roboto, sans-serif));font-size:.875rem;font-size:var(--mdc-typography-body2-font-size, .875rem);line-height:1.25rem;line-height:var(--mdc-typography-body2-line-height, 1.25rem);font-weight:400;font-weight:var(--mdc-typography-body2-font-weight, 400);letter-spacing:.0178571429em;letter-spacing:var(--mdc-typography-body2-letter-spacing, .0178571429em);text-decoration:inherit;-webkit-text-decoration:var(--mdc-typography-body2-text-decoration, inherit);text-decoration:var(--mdc-typography-body2-text-decoration, inherit);text-transform:inherit;text-transform:var(--mdc-typography-body2-text-transform, inherit)}.mat-mdc-radio-button[_ngcontent-%COMP%] .mdc-form-field[_ngcontent-%COMP%]{color:var(--mdc-theme-text-primary-on-background, rgba(0, 0, 0, .87))}.mat-mdc-radio-button.mat-primary[_ngcontent-%COMP%]{--mdc-radio-disabled-selected-icon-color: #000;--mdc-radio-disabled-unselected-icon-color: #000;--mdc-radio-unselected-hover-icon-color: #212121;--mdc-radio-unselected-icon-color: rgba(0, 0, 0, .54);--mdc-radio-unselected-pressed-icon-color: rgba(0, 0, 0, .54);--mdc-radio-selected-focus-icon-color: #0f0761;--mdc-radio-selected-hover-icon-color: #0f0761;--mdc-radio-selected-icon-color: #0f0761;--mdc-radio-selected-pressed-icon-color: #0f0761;--mat-radio-ripple-color: #000;--mat-radio-checked-ripple-color: #0f0761;--mat-radio-disabled-label-color: rgba(0, 0, 0, .38)}.mat-mdc-radio-button.mat-accent[_ngcontent-%COMP%]{--mdc-radio-disabled-selected-icon-color: #000;--mdc-radio-disabled-unselected-icon-color: #000;--mdc-radio-unselected-hover-icon-color: #212121;--mdc-radio-unselected-icon-color: rgba(0, 0, 0, .54);--mdc-radio-unselected-pressed-icon-color: rgba(0, 0, 0, .54);--mdc-radio-selected-focus-icon-color: #dd7345;--mdc-radio-selected-hover-icon-color: #dd7345;--mdc-radio-selected-icon-color: #dd7345;--mdc-radio-selected-pressed-icon-color: #dd7345;--mat-radio-ripple-color: #000;--mat-radio-checked-ripple-color: #dd7345;--mat-radio-disabled-label-color: rgba(0, 0, 0, .38)}.mat-mdc-radio-button.mat-warn[_ngcontent-%COMP%]{--mdc-radio-disabled-selected-icon-color: #000;--mdc-radio-disabled-unselected-icon-color: #000;--mdc-radio-unselected-hover-icon-color: #212121;--mdc-radio-unselected-icon-color: rgba(0, 0, 0, .54);--mdc-radio-unselected-pressed-icon-color: rgba(0, 0, 0, .54);--mdc-radio-selected-focus-icon-color: #f44336;--mdc-radio-selected-hover-icon-color: #f44336;--mdc-radio-selected-icon-color: #f44336;--mdc-radio-selected-pressed-icon-color: #f44336;--mat-radio-ripple-color: #000;--mat-radio-checked-ripple-color: #f44336;--mat-radio-disabled-label-color: rgba(0, 0, 0, .38)}.mat-mdc-radio-button[_ngcontent-%COMP%] .mdc-radio[_ngcontent-%COMP%]{--mdc-radio-state-layer-size: 32px}.mat-mdc-radio-touch-target[_ngcontent-%COMP%]{display:none}.mat-mdc-radio-button[_ngcontent-%COMP%] .mdc-form-field[_ngcontent-%COMP%]{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--mdc-typography-body2-font-family, var(--mdc-typography-font-family, Inter));font-size:var(--mdc-typography-body2-font-size, 13px);line-height:var(--mdc-typography-body2-line-height, 19px);font-weight:var(--mdc-typography-body2-font-weight, 400);letter-spacing:var(--mdc-typography-body2-letter-spacing, normal);-webkit-text-decoration:var(--mdc-typography-body2-text-decoration, inherit);text-decoration:var(--mdc-typography-body2-text-decoration, inherit);text-transform:var(--mdc-typography-body2-text-transform, none)}.mat-mdc-slider[_ngcontent-%COMP%]{--mdc-slider-label-container-color: black;--mdc-slider-label-label-text-color: white;--mdc-slider-disabled-handle-color: #000;--mdc-slider-disabled-active-track-color: #000;--mdc-slider-disabled-inactive-track-color: #000;--mdc-slider-with-tick-marks-disabled-container-color: #000;--mat-mdc-slider-value-indicator-opacity: .6}.mat-mdc-slider.mat-primary[_ngcontent-%COMP%]{--mdc-slider-handle-color: #0f0761;--mdc-slider-focus-handle-color: #0f0761;--mdc-slider-hover-handle-color: #0f0761;--mdc-slider-active-track-color: #0f0761;--mdc-slider-inactive-track-color: #0f0761;--mdc-slider-with-tick-marks-active-container-color: #fff;--mdc-slider-with-tick-marks-inactive-container-color: #0f0761;--mat-mdc-slider-ripple-color: #0f0761;--mat-mdc-slider-hover-ripple-color: rgba(15, 7, 97, .05);--mat-mdc-slider-focus-ripple-color: rgba(15, 7, 97, .2)}.mat-mdc-slider.mat-accent[_ngcontent-%COMP%]{--mdc-slider-handle-color: #dd7345;--mdc-slider-focus-handle-color: #dd7345;--mdc-slider-hover-handle-color: #dd7345;--mdc-slider-active-track-color: #dd7345;--mdc-slider-inactive-track-color: #dd7345;--mdc-slider-with-tick-marks-active-container-color: #fff;--mdc-slider-with-tick-marks-inactive-container-color: #dd7345;--mat-mdc-slider-ripple-color: #dd7345;--mat-mdc-slider-hover-ripple-color: rgba(221, 115, 69, .05);--mat-mdc-slider-focus-ripple-color: rgba(221, 115, 69, .2)}.mat-mdc-slider.mat-warn[_ngcontent-%COMP%]{--mdc-slider-handle-color: #f44336;--mdc-slider-focus-handle-color: #f44336;--mdc-slider-hover-handle-color: #f44336;--mdc-slider-active-track-color: #f44336;--mdc-slider-inactive-track-color: #f44336;--mdc-slider-with-tick-marks-active-container-color: #fff;--mdc-slider-with-tick-marks-inactive-container-color: #f44336;--mat-mdc-slider-ripple-color: #f44336;--mat-mdc-slider-hover-ripple-color: rgba(244, 67, 54, .05);--mat-mdc-slider-focus-ripple-color: rgba(244, 67, 54, .2)}.mat-mdc-slider[_ngcontent-%COMP%]{--mdc-slider-label-label-text-font: Inter;--mdc-slider-label-label-text-size: 13px;--mdc-slider-label-label-text-line-height: 19px;--mdc-slider-label-label-text-tracking: normal;--mdc-slider-label-label-text-weight: 500}html[_ngcontent-%COMP%]{--mat-menu-item-label-text-color: rgba(0, 0, 0, .87);--mat-menu-item-icon-color: rgba(0, 0, 0, .87);--mat-menu-item-hover-state-layer-color: rgba(0, 0, 0, .04);--mat-menu-item-focus-state-layer-color: rgba(0, 0, 0, .04);--mat-menu-container-color: white}html[_ngcontent-%COMP%]{--mat-menu-item-label-text-font: Inter;--mat-menu-item-label-text-size: 13px;--mat-menu-item-label-text-tracking: normal;--mat-menu-item-label-text-line-height: 19px;--mat-menu-item-label-text-weight: 400}.mat-mdc-list-base[_ngcontent-%COMP%]{--mdc-list-list-item-label-text-color: rgba(0, 0, 0, .87);--mdc-list-list-item-supporting-text-color: rgba(0, 0, 0, .54);--mdc-list-list-item-leading-icon-color: rgba(0, 0, 0, .38);--mdc-list-list-item-trailing-supporting-text-color: rgba(0, 0, 0, .38);--mdc-list-list-item-trailing-icon-color: rgba(0, 0, 0, .38);--mdc-list-list-item-selected-trailing-icon-color: rgba(0, 0, 0, .38);--mdc-list-list-item-disabled-label-text-color: black;--mdc-list-list-item-disabled-leading-icon-color: black;--mdc-list-list-item-disabled-trailing-icon-color: black;--mdc-list-list-item-hover-label-text-color: rgba(0, 0, 0, .87);--mdc-list-list-item-hover-leading-icon-color: rgba(0, 0, 0, .38);--mdc-list-list-item-hover-trailing-icon-color: rgba(0, 0, 0, .38);--mdc-list-list-item-focus-label-text-color: rgba(0, 0, 0, .87);--mdc-list-list-item-hover-state-layer-color: black;--mdc-list-list-item-hover-state-layer-opacity: .04;--mdc-list-list-item-focus-state-layer-color: black;--mdc-list-list-item-focus-state-layer-opacity: .12}.mdc-list-item__start[_ngcontent-%COMP%], .mdc-list-item__end[_ngcontent-%COMP%]{--mdc-radio-disabled-selected-icon-color: #000;--mdc-radio-disabled-unselected-icon-color: #000;--mdc-radio-unselected-hover-icon-color: #212121;--mdc-radio-unselected-icon-color: rgba(0, 0, 0, .54);--mdc-radio-unselected-pressed-icon-color: rgba(0, 0, 0, .54);--mdc-radio-selected-focus-icon-color: #0f0761;--mdc-radio-selected-hover-icon-color: #0f0761;--mdc-radio-selected-icon-color: #0f0761;--mdc-radio-selected-pressed-icon-color: #0f0761}.mat-accent[_ngcontent-%COMP%] .mdc-list-item__start[_ngcontent-%COMP%], .mat-accent[_ngcontent-%COMP%] .mdc-list-item__end[_ngcontent-%COMP%]{--mdc-radio-disabled-selected-icon-color: #000;--mdc-radio-disabled-unselected-icon-color: #000;--mdc-radio-unselected-hover-icon-color: #212121;--mdc-radio-unselected-icon-color: rgba(0, 0, 0, .54);--mdc-radio-unselected-pressed-icon-color: rgba(0, 0, 0, .54);--mdc-radio-selected-focus-icon-color: #dd7345;--mdc-radio-selected-hover-icon-color: #dd7345;--mdc-radio-selected-icon-color: #dd7345;--mdc-radio-selected-pressed-icon-color: #dd7345}.mat-warn[_ngcontent-%COMP%] .mdc-list-item__start[_ngcontent-%COMP%], .mat-warn[_ngcontent-%COMP%] .mdc-list-item__end[_ngcontent-%COMP%]{--mdc-radio-disabled-selected-icon-color: #000;--mdc-radio-disabled-unselected-icon-color: #000;--mdc-radio-unselected-hover-icon-color: #212121;--mdc-radio-unselected-icon-color: rgba(0, 0, 0, .54);--mdc-radio-unselected-pressed-icon-color: rgba(0, 0, 0, .54);--mdc-radio-selected-focus-icon-color: #f44336;--mdc-radio-selected-hover-icon-color: #f44336;--mdc-radio-selected-icon-color: #f44336;--mdc-radio-selected-pressed-icon-color: #f44336}.mat-mdc-list-option[_ngcontent-%COMP%]{--mdc-checkbox-disabled-selected-icon-color: rgba(0, 0, 0, .38);--mdc-checkbox-disabled-unselected-icon-color: rgba(0, 0, 0, .38);--mdc-checkbox-selected-checkmark-color: #fff;--mdc-checkbox-selected-focus-icon-color: #0f0761;--mdc-checkbox-selected-hover-icon-color: #0f0761;--mdc-checkbox-selected-icon-color: #0f0761;--mdc-checkbox-selected-pressed-icon-color: #0f0761;--mdc-checkbox-unselected-focus-icon-color: #212121;--mdc-checkbox-unselected-hover-icon-color: #212121;--mdc-checkbox-unselected-icon-color: rgba(0, 0, 0, .54);--mdc-checkbox-unselected-pressed-icon-color: rgba(0, 0, 0, .54);--mdc-checkbox-selected-focus-state-layer-color: #0f0761;--mdc-checkbox-selected-hover-state-layer-color: #0f0761;--mdc-checkbox-selected-pressed-state-layer-color: #0f0761;--mdc-checkbox-unselected-focus-state-layer-color: black;--mdc-checkbox-unselected-hover-state-layer-color: black;--mdc-checkbox-unselected-pressed-state-layer-color: black}.mat-mdc-list-option.mat-accent[_ngcontent-%COMP%]{--mdc-checkbox-disabled-selected-icon-color: rgba(0, 0, 0, .38);--mdc-checkbox-disabled-unselected-icon-color: rgba(0, 0, 0, .38);--mdc-checkbox-selected-checkmark-color: #fff;--mdc-checkbox-selected-focus-icon-color: #dd7345;--mdc-checkbox-selected-hover-icon-color: #dd7345;--mdc-checkbox-selected-icon-color: #dd7345;--mdc-checkbox-selected-pressed-icon-color: #dd7345;--mdc-checkbox-unselected-focus-icon-color: #212121;--mdc-checkbox-unselected-hover-icon-color: #212121;--mdc-checkbox-unselected-icon-color: rgba(0, 0, 0, .54);--mdc-checkbox-unselected-pressed-icon-color: rgba(0, 0, 0, .54);--mdc-checkbox-selected-focus-state-layer-color: #dd7345;--mdc-checkbox-selected-hover-state-layer-color: #dd7345;--mdc-checkbox-selected-pressed-state-layer-color: #dd7345;--mdc-checkbox-unselected-focus-state-layer-color: black;--mdc-checkbox-unselected-hover-state-layer-color: black;--mdc-checkbox-unselected-pressed-state-layer-color: black}.mat-mdc-list-option.mat-warn[_ngcontent-%COMP%]{--mdc-checkbox-disabled-selected-icon-color: rgba(0, 0, 0, .38);--mdc-checkbox-disabled-unselected-icon-color: rgba(0, 0, 0, .38);--mdc-checkbox-selected-checkmark-color: #fff;--mdc-checkbox-selected-focus-icon-color: #f44336;--mdc-checkbox-selected-hover-icon-color: #f44336;--mdc-checkbox-selected-icon-color: #f44336;--mdc-checkbox-selected-pressed-icon-color: #f44336;--mdc-checkbox-unselected-focus-icon-color: #212121;--mdc-checkbox-unselected-hover-icon-color: #212121;--mdc-checkbox-unselected-icon-color: rgba(0, 0, 0, .54);--mdc-checkbox-unselected-pressed-icon-color: rgba(0, 0, 0, .54);--mdc-checkbox-selected-focus-state-layer-color: #f44336;--mdc-checkbox-selected-hover-state-layer-color: #f44336;--mdc-checkbox-selected-pressed-state-layer-color: #f44336;--mdc-checkbox-unselected-focus-state-layer-color: black;--mdc-checkbox-unselected-hover-state-layer-color: black;--mdc-checkbox-unselected-pressed-state-layer-color: black}.mat-mdc-list-base.mat-mdc-list-base[_ngcontent-%COMP%] .mdc-list-item--selected[_ngcontent-%COMP%] .mdc-list-item__primary-text[_ngcontent-%COMP%], .mat-mdc-list-base.mat-mdc-list-base[_ngcontent-%COMP%] .mdc-list-item--activated[_ngcontent-%COMP%] .mdc-list-item__primary-text[_ngcontent-%COMP%], .mat-mdc-list-base.mat-mdc-list-base[_ngcontent-%COMP%] .mdc-list-item--selected.mdc-list-item--with-leading-icon[_ngcontent-%COMP%] .mdc-list-item__start[_ngcontent-%COMP%], .mat-mdc-list-base.mat-mdc-list-base[_ngcontent-%COMP%] .mdc-list-item--activated.mdc-list-item--with-leading-icon[_ngcontent-%COMP%] .mdc-list-item__start[_ngcontent-%COMP%]{color:#0f0761}.mat-mdc-list-base[_ngcontent-%COMP%] .mdc-list-item--disabled[_ngcontent-%COMP%] .mdc-list-item__start[_ngcontent-%COMP%], .mat-mdc-list-base[_ngcontent-%COMP%] .mdc-list-item--disabled[_ngcontent-%COMP%] .mdc-list-item__content[_ngcontent-%COMP%], .mat-mdc-list-base[_ngcontent-%COMP%] .mdc-list-item--disabled[_ngcontent-%COMP%] .mdc-list-item__end[_ngcontent-%COMP%]{opacity:1}.mat-mdc-list-base[_ngcontent-%COMP%]{--mdc-list-list-item-one-line-container-height: 40px;--mdc-list-list-item-two-line-container-height: 56px;--mdc-list-list-item-three-line-container-height: 80px}.mat-mdc-list-item.mdc-list-item--with-leading-avatar.mdc-list-item--with-one-line[_ngcontent-%COMP%], .mat-mdc-list-item.mdc-list-item--with-leading-checkbox.mdc-list-item--with-one-line[_ngcontent-%COMP%], .mat-mdc-list-item.mdc-list-item--with-leading-icon.mdc-list-item--with-one-line[_ngcontent-%COMP%]{height:48px}.mat-mdc-list-item.mdc-list-item--with-leading-avatar.mdc-list-item--with-two-lines[_ngcontent-%COMP%], .mat-mdc-list-item.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines[_ngcontent-%COMP%], .mat-mdc-list-item.mdc-list-item--with-leading-icon.mdc-list-item--with-two-lines[_ngcontent-%COMP%]{height:64px}.mat-mdc-list-base[_ngcontent-%COMP%]{--mdc-list-list-item-label-text-font: Inter;--mdc-list-list-item-label-text-line-height: 19px;--mdc-list-list-item-label-text-size: 13px;--mdc-list-list-item-label-text-tracking: normal;--mdc-list-list-item-label-text-weight: 400;--mdc-list-list-item-supporting-text-font: Inter;--mdc-list-list-item-supporting-text-line-height: 19px;--mdc-list-list-item-supporting-text-size: 13px;--mdc-list-list-item-supporting-text-tracking: normal;--mdc-list-list-item-supporting-text-weight: 400;--mdc-list-list-item-trailing-supporting-text-font: Inter;--mdc-list-list-item-trailing-supporting-text-line-height: 16px;--mdc-list-list-item-trailing-supporting-text-size: 12px;--mdc-list-list-item-trailing-supporting-text-tracking: normal;--mdc-list-list-item-trailing-supporting-text-weight: 400}.mdc-list-group__subheader[_ngcontent-%COMP%]{font-size:16px;font-weight:600;line-height:22px;font-family:Inter;letter-spacing:normal}html[_ngcontent-%COMP%]{--mat-paginator-container-text-color: rgba(0, 0, 0, .87);--mat-paginator-container-background-color: white;--mat-paginator-enabled-icon-color: rgba(0, 0, 0, .54);--mat-paginator-disabled-icon-color: rgba(0, 0, 0, .12)}html[_ngcontent-%COMP%]{--mat-paginator-container-size: 48px}.mat-mdc-paginator[_ngcontent-%COMP%] .mat-mdc-form-field-infix[_ngcontent-%COMP%]{min-height:40px}.mat-mdc-paginator[_ngcontent-%COMP%] .mat-mdc-text-field-wrapper[_ngcontent-%COMP%] .mat-mdc-form-field-flex[_ngcontent-%COMP%] .mat-mdc-floating-label[_ngcontent-%COMP%]{top:20px}.mat-mdc-paginator[_ngcontent-%COMP%] .mat-mdc-text-field-wrapper.mdc-text-field--outlined[_ngcontent-%COMP%] .mdc-notched-outline--upgraded[_ngcontent-%COMP%] .mdc-floating-label--float-above[_ngcontent-%COMP%]{--mat-mdc-form-field-label-transform: translateY( -26.75px) scale(var(--mat-mdc-form-field-floating-label-scale, .75));transform:var(--mat-mdc-form-field-label-transform)}.mat-mdc-paginator[_ngcontent-%COMP%] .mat-mdc-text-field-wrapper.mdc-text-field--outlined[_ngcontent-%COMP%] .mat-mdc-form-field-infix[_ngcontent-%COMP%]{padding-top:8px;padding-bottom:8px}.mat-mdc-paginator[_ngcontent-%COMP%] .mat-mdc-text-field-wrapper[_ngcontent-%COMP%]:not(.mdc-text-field--outlined) .mat-mdc-form-field-infix[_ngcontent-%COMP%]{padding-top:8px;padding-bottom:8px}.mat-mdc-paginator[_ngcontent-%COMP%] .mdc-text-field--no-label[_ngcontent-%COMP%]:not(.mdc-text-field--outlined):not(.mdc-text-field--textarea) .mat-mdc-form-field-infix[_ngcontent-%COMP%]{padding-top:8px;padding-bottom:8px}.mat-mdc-paginator[_ngcontent-%COMP%] .mat-mdc-text-field-wrapper[_ngcontent-%COMP%]:not(.mdc-text-field--outlined) .mat-mdc-floating-label[_ngcontent-%COMP%]{display:none}html[_ngcontent-%COMP%]{--mat-paginator-container-text-font: Inter;--mat-paginator-container-text-line-height: 16px;--mat-paginator-container-text-size: 12px;--mat-paginator-container-text-tracking: normal;--mat-paginator-container-text-weight: 400;--mat-paginator-select-trigger-text-size: 12px}.mat-mdc-tab-group[_ngcontent-%COMP%], .mat-mdc-tab-nav-bar[_ngcontent-%COMP%]{--mdc-tab-indicator-active-indicator-color: #0f0761;--mat-tab-header-disabled-ripple-color: rgba(0, 0, 0, .38);--mat-tab-header-pagination-icon-color: #000;--mat-tab-header-inactive-label-text-color: rgba(0, 0, 0, .6);--mat-tab-header-active-label-text-color: #0f0761;--mat-tab-header-active-ripple-color: #0f0761;--mat-tab-header-inactive-ripple-color: #0f0761;--mat-tab-header-inactive-focus-label-text-color: rgba(0, 0, 0, .6);--mat-tab-header-inactive-hover-label-text-color: rgba(0, 0, 0, .6);--mat-tab-header-active-focus-label-text-color: #0f0761;--mat-tab-header-active-hover-label-text-color: #0f0761;--mat-tab-header-active-focus-indicator-color: #0f0761;--mat-tab-header-active-hover-indicator-color: #0f0761}.mat-mdc-tab-group.mat-accent[_ngcontent-%COMP%], .mat-mdc-tab-nav-bar.mat-accent[_ngcontent-%COMP%]{--mdc-tab-indicator-active-indicator-color: #dd7345;--mat-tab-header-disabled-ripple-color: rgba(0, 0, 0, .38);--mat-tab-header-pagination-icon-color: #000;--mat-tab-header-inactive-label-text-color: rgba(0, 0, 0, .6);--mat-tab-header-active-label-text-color: #dd7345;--mat-tab-header-active-ripple-color: #dd7345;--mat-tab-header-inactive-ripple-color: #dd7345;--mat-tab-header-inactive-focus-label-text-color: rgba(0, 0, 0, .6);--mat-tab-header-inactive-hover-label-text-color: rgba(0, 0, 0, .6);--mat-tab-header-active-focus-label-text-color: #dd7345;--mat-tab-header-active-hover-label-text-color: #dd7345;--mat-tab-header-active-focus-indicator-color: #dd7345;--mat-tab-header-active-hover-indicator-color: #dd7345}.mat-mdc-tab-group.mat-warn[_ngcontent-%COMP%], .mat-mdc-tab-nav-bar.mat-warn[_ngcontent-%COMP%]{--mdc-tab-indicator-active-indicator-color: #f44336;--mat-tab-header-disabled-ripple-color: rgba(0, 0, 0, .38);--mat-tab-header-pagination-icon-color: #000;--mat-tab-header-inactive-label-text-color: rgba(0, 0, 0, .6);--mat-tab-header-active-label-text-color: #f44336;--mat-tab-header-active-ripple-color: #f44336;--mat-tab-header-inactive-ripple-color: #f44336;--mat-tab-header-inactive-focus-label-text-color: rgba(0, 0, 0, .6);--mat-tab-header-inactive-hover-label-text-color: rgba(0, 0, 0, .6);--mat-tab-header-active-focus-label-text-color: #f44336;--mat-tab-header-active-hover-label-text-color: #f44336;--mat-tab-header-active-focus-indicator-color: #f44336;--mat-tab-header-active-hover-indicator-color: #f44336}.mat-mdc-tab-group.mat-background-primary[_ngcontent-%COMP%], .mat-mdc-tab-nav-bar.mat-background-primary[_ngcontent-%COMP%]{--mat-tab-header-with-background-background-color: #0f0761;--mat-tab-header-with-background-foreground-color: white}.mat-mdc-tab-group.mat-background-accent[_ngcontent-%COMP%], .mat-mdc-tab-nav-bar.mat-background-accent[_ngcontent-%COMP%]{--mat-tab-header-with-background-background-color: #dd7345;--mat-tab-header-with-background-foreground-color: white}.mat-mdc-tab-group.mat-background-warn[_ngcontent-%COMP%], .mat-mdc-tab-nav-bar.mat-background-warn[_ngcontent-%COMP%]{--mat-tab-header-with-background-background-color: #f44336;--mat-tab-header-with-background-foreground-color: white}.mat-mdc-tab-header[_ngcontent-%COMP%]{--mdc-secondary-navigation-tab-container-height: 40px}.mat-mdc-tab-header[_ngcontent-%COMP%]{--mat-tab-header-label-text-font: Inter;--mat-tab-header-label-text-size: 13px;--mat-tab-header-label-text-tracking: normal;--mat-tab-header-label-text-line-height: 19px;--mat-tab-header-label-text-weight: 500}html[_ngcontent-%COMP%]{--mdc-checkbox-disabled-selected-icon-color: rgba(0, 0, 0, .38);--mdc-checkbox-disabled-unselected-icon-color: rgba(0, 0, 0, .38);--mdc-checkbox-selected-checkmark-color: #fff;--mdc-checkbox-selected-focus-icon-color: #dd7345;--mdc-checkbox-selected-hover-icon-color: #dd7345;--mdc-checkbox-selected-icon-color: #dd7345;--mdc-checkbox-selected-pressed-icon-color: #dd7345;--mdc-checkbox-unselected-focus-icon-color: #212121;--mdc-checkbox-unselected-hover-icon-color: #212121;--mdc-checkbox-unselected-icon-color: rgba(0, 0, 0, .54);--mdc-checkbox-unselected-pressed-icon-color: rgba(0, 0, 0, .54);--mdc-checkbox-selected-focus-state-layer-color: #dd7345;--mdc-checkbox-selected-hover-state-layer-color: #dd7345;--mdc-checkbox-selected-pressed-state-layer-color: #dd7345;--mdc-checkbox-unselected-focus-state-layer-color: black;--mdc-checkbox-unselected-hover-state-layer-color: black;--mdc-checkbox-unselected-pressed-state-layer-color: black}.mat-mdc-checkbox.mat-primary[_ngcontent-%COMP%]{--mdc-checkbox-disabled-selected-icon-color: rgba(0, 0, 0, .38);--mdc-checkbox-disabled-unselected-icon-color: rgba(0, 0, 0, .38);--mdc-checkbox-selected-checkmark-color: #fff;--mdc-checkbox-selected-focus-icon-color: #0f0761;--mdc-checkbox-selected-hover-icon-color: #0f0761;--mdc-checkbox-selected-icon-color: #0f0761;--mdc-checkbox-selected-pressed-icon-color: #0f0761;--mdc-checkbox-unselected-focus-icon-color: #212121;--mdc-checkbox-unselected-hover-icon-color: #212121;--mdc-checkbox-unselected-icon-color: rgba(0, 0, 0, .54);--mdc-checkbox-unselected-pressed-icon-color: rgba(0, 0, 0, .54);--mdc-checkbox-selected-focus-state-layer-color: #0f0761;--mdc-checkbox-selected-hover-state-layer-color: #0f0761;--mdc-checkbox-selected-pressed-state-layer-color: #0f0761;--mdc-checkbox-unselected-focus-state-layer-color: black;--mdc-checkbox-unselected-hover-state-layer-color: black;--mdc-checkbox-unselected-pressed-state-layer-color: black}.mat-mdc-checkbox.mat-warn[_ngcontent-%COMP%]{--mdc-checkbox-disabled-selected-icon-color: rgba(0, 0, 0, .38);--mdc-checkbox-disabled-unselected-icon-color: rgba(0, 0, 0, .38);--mdc-checkbox-selected-checkmark-color: #fff;--mdc-checkbox-selected-focus-icon-color: #f44336;--mdc-checkbox-selected-hover-icon-color: #f44336;--mdc-checkbox-selected-icon-color: #f44336;--mdc-checkbox-selected-pressed-icon-color: #f44336;--mdc-checkbox-unselected-focus-icon-color: #212121;--mdc-checkbox-unselected-hover-icon-color: #212121;--mdc-checkbox-unselected-icon-color: rgba(0, 0, 0, .54);--mdc-checkbox-unselected-pressed-icon-color: rgba(0, 0, 0, .54);--mdc-checkbox-selected-focus-state-layer-color: #f44336;--mdc-checkbox-selected-hover-state-layer-color: #f44336;--mdc-checkbox-selected-pressed-state-layer-color: #f44336;--mdc-checkbox-unselected-focus-state-layer-color: black;--mdc-checkbox-unselected-hover-state-layer-color: black;--mdc-checkbox-unselected-pressed-state-layer-color: black}.mat-mdc-checkbox[_ngcontent-%COMP%] .mdc-form-field[_ngcontent-%COMP%]{color:var(--mdc-theme-text-primary-on-background, rgba(0, 0, 0, .87))}.mat-mdc-checkbox.mat-mdc-checkbox-disabled[_ngcontent-%COMP%] label[_ngcontent-%COMP%]{color:#00000061}html[_ngcontent-%COMP%]{--mdc-checkbox-state-layer-size: 32px}.mat-mdc-checkbox-touch-target[_ngcontent-%COMP%]{display:none}.mat-mdc-checkbox[_ngcontent-%COMP%] .mdc-form-field[_ngcontent-%COMP%]{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--mdc-typography-body2-font-family, var(--mdc-typography-font-family, Inter));font-size:var(--mdc-typography-body2-font-size, 13px);line-height:var(--mdc-typography-body2-line-height, 19px);font-weight:var(--mdc-typography-body2-font-weight, 400);letter-spacing:var(--mdc-typography-body2-letter-spacing, normal);-webkit-text-decoration:var(--mdc-typography-body2-text-decoration, inherit);text-decoration:var(--mdc-typography-body2-text-decoration, inherit);text-transform:var(--mdc-typography-body2-text-transform, none)}.mat-mdc-button.mat-unthemed[_ngcontent-%COMP%]{--mdc-text-button-label-text-color: #000}.mat-mdc-button.mat-primary[_ngcontent-%COMP%]{--mdc-text-button-label-text-color: #0f0761}.mat-mdc-button.mat-accent[_ngcontent-%COMP%]{--mdc-text-button-label-text-color: #dd7345}.mat-mdc-button.mat-warn[_ngcontent-%COMP%]{--mdc-text-button-label-text-color: #f44336}.mat-mdc-button[disabled][disabled][_ngcontent-%COMP%]{--mdc-text-button-disabled-label-text-color: rgba(0, 0, 0, .38);--mdc-text-button-label-text-color: rgba(0, 0, 0, .38)}.mat-mdc-unelevated-button.mat-unthemed[_ngcontent-%COMP%]{--mdc-filled-button-container-color: #fff;--mdc-filled-button-label-text-color: #000}.mat-mdc-unelevated-button.mat-primary[_ngcontent-%COMP%]{--mdc-filled-button-container-color: #0f0761;--mdc-filled-button-label-text-color: #fff}.mat-mdc-unelevated-button.mat-accent[_ngcontent-%COMP%]{--mdc-filled-button-container-color: #dd7345;--mdc-filled-button-label-text-color: #fff}.mat-mdc-unelevated-button.mat-warn[_ngcontent-%COMP%]{--mdc-filled-button-container-color: #f44336;--mdc-filled-button-label-text-color: #fff}.mat-mdc-unelevated-button[disabled][disabled][_ngcontent-%COMP%]{--mdc-filled-button-disabled-container-color: rgba(0, 0, 0, .12);--mdc-filled-button-disabled-label-text-color: rgba(0, 0, 0, .38);--mdc-filled-button-container-color: rgba(0, 0, 0, .12);--mdc-filled-button-label-text-color: rgba(0, 0, 0, .38)}.mat-mdc-raised-button.mat-unthemed[_ngcontent-%COMP%]{--mdc-protected-button-container-color: #fff;--mdc-protected-button-label-text-color: #000}.mat-mdc-raised-button.mat-primary[_ngcontent-%COMP%]{--mdc-protected-button-container-color: #0f0761;--mdc-protected-button-label-text-color: #fff}.mat-mdc-raised-button.mat-accent[_ngcontent-%COMP%]{--mdc-protected-button-container-color: #dd7345;--mdc-protected-button-label-text-color: #fff}.mat-mdc-raised-button.mat-warn[_ngcontent-%COMP%]{--mdc-protected-button-container-color: #f44336;--mdc-protected-button-label-text-color: #fff}.mat-mdc-raised-button[disabled][disabled][_ngcontent-%COMP%]{--mdc-protected-button-disabled-container-color: rgba(0, 0, 0, .12);--mdc-protected-button-disabled-label-text-color: rgba(0, 0, 0, .38);--mdc-protected-button-container-color: rgba(0, 0, 0, .12);--mdc-protected-button-label-text-color: rgba(0, 0, 0, .38);--mdc-protected-button-container-elevation: 0}.mat-mdc-outlined-button[_ngcontent-%COMP%]{--mdc-outlined-button-outline-color: rgba(0, 0, 0, .12)}.mat-mdc-outlined-button.mat-unthemed[_ngcontent-%COMP%]{--mdc-outlined-button-label-text-color: #000}.mat-mdc-outlined-button.mat-primary[_ngcontent-%COMP%]{--mdc-outlined-button-label-text-color: #0f0761}.mat-mdc-outlined-button.mat-accent[_ngcontent-%COMP%]{--mdc-outlined-button-label-text-color: #dd7345}.mat-mdc-outlined-button.mat-warn[_ngcontent-%COMP%]{--mdc-outlined-button-label-text-color: #f44336}.mat-mdc-outlined-button[disabled][disabled][_ngcontent-%COMP%]{--mdc-outlined-button-label-text-color: rgba(0, 0, 0, .38);--mdc-outlined-button-disabled-label-text-color: rgba(0, 0, 0, .38);--mdc-outlined-button-outline-color: rgba(0, 0, 0, .12);--mdc-outlined-button-disabled-outline-color: rgba(0, 0, 0, .12)}.mat-mdc-button[_ngcontent-%COMP%], .mat-mdc-outlined-button[_ngcontent-%COMP%]{--mat-mdc-button-persistent-ripple-color: #000;--mat-mdc-button-ripple-color: rgba(0, 0, 0, .1)}.mat-mdc-button[_ngcontent-%COMP%]:hover .mat-mdc-button-persistent-ripple[_ngcontent-%COMP%]:before, .mat-mdc-outlined-button[_ngcontent-%COMP%]:hover .mat-mdc-button-persistent-ripple[_ngcontent-%COMP%]:before{opacity:.04}.mat-mdc-button.cdk-program-focused[_ngcontent-%COMP%] .mat-mdc-button-persistent-ripple[_ngcontent-%COMP%]:before, .mat-mdc-button.cdk-keyboard-focused[_ngcontent-%COMP%] .mat-mdc-button-persistent-ripple[_ngcontent-%COMP%]:before, .mat-mdc-outlined-button.cdk-program-focused[_ngcontent-%COMP%] .mat-mdc-button-persistent-ripple[_ngcontent-%COMP%]:before, .mat-mdc-outlined-button.cdk-keyboard-focused[_ngcontent-%COMP%] .mat-mdc-button-persistent-ripple[_ngcontent-%COMP%]:before{opacity:.12}.mat-mdc-button[_ngcontent-%COMP%]:active .mat-mdc-button-persistent-ripple[_ngcontent-%COMP%]:before, .mat-mdc-outlined-button[_ngcontent-%COMP%]:active .mat-mdc-button-persistent-ripple[_ngcontent-%COMP%]:before{opacity:.12}.mat-mdc-button.mat-primary[_ngcontent-%COMP%], .mat-mdc-outlined-button.mat-primary[_ngcontent-%COMP%]{--mat-mdc-button-persistent-ripple-color: #0f0761;--mat-mdc-button-ripple-color: rgba(15, 7, 97, .1)}.mat-mdc-button.mat-accent[_ngcontent-%COMP%], .mat-mdc-outlined-button.mat-accent[_ngcontent-%COMP%]{--mat-mdc-button-persistent-ripple-color: #dd7345;--mat-mdc-button-ripple-color: rgba(221, 115, 69, .1)}.mat-mdc-button.mat-warn[_ngcontent-%COMP%], .mat-mdc-outlined-button.mat-warn[_ngcontent-%COMP%]{--mat-mdc-button-persistent-ripple-color: #f44336;--mat-mdc-button-ripple-color: rgba(244, 67, 54, .1)}.mat-mdc-raised-button[_ngcontent-%COMP%], .mat-mdc-unelevated-button[_ngcontent-%COMP%]{--mat-mdc-button-persistent-ripple-color: #000;--mat-mdc-button-ripple-color: rgba(0, 0, 0, .1)}.mat-mdc-raised-button[_ngcontent-%COMP%]:hover .mat-mdc-button-persistent-ripple[_ngcontent-%COMP%]:before, .mat-mdc-unelevated-button[_ngcontent-%COMP%]:hover .mat-mdc-button-persistent-ripple[_ngcontent-%COMP%]:before{opacity:.04}.mat-mdc-raised-button.cdk-program-focused[_ngcontent-%COMP%] .mat-mdc-button-persistent-ripple[_ngcontent-%COMP%]:before, .mat-mdc-raised-button.cdk-keyboard-focused[_ngcontent-%COMP%] .mat-mdc-button-persistent-ripple[_ngcontent-%COMP%]:before, .mat-mdc-unelevated-button.cdk-program-focused[_ngcontent-%COMP%] .mat-mdc-button-persistent-ripple[_ngcontent-%COMP%]:before, .mat-mdc-unelevated-button.cdk-keyboard-focused[_ngcontent-%COMP%] .mat-mdc-button-persistent-ripple[_ngcontent-%COMP%]:before{opacity:.12}.mat-mdc-raised-button[_ngcontent-%COMP%]:active .mat-mdc-button-persistent-ripple[_ngcontent-%COMP%]:before, .mat-mdc-unelevated-button[_ngcontent-%COMP%]:active .mat-mdc-button-persistent-ripple[_ngcontent-%COMP%]:before{opacity:.12}.mat-mdc-raised-button.mat-primary[_ngcontent-%COMP%], .mat-mdc-unelevated-button.mat-primary[_ngcontent-%COMP%], .mat-mdc-raised-button.mat-accent[_ngcontent-%COMP%], .mat-mdc-unelevated-button.mat-accent[_ngcontent-%COMP%], .mat-mdc-raised-button.mat-warn[_ngcontent-%COMP%], .mat-mdc-unelevated-button.mat-warn[_ngcontent-%COMP%]{--mat-mdc-button-persistent-ripple-color: #fff;--mat-mdc-button-ripple-color: rgba(255, 255, 255, .1)}.mat-mdc-button.mat-mdc-button-base[_ngcontent-%COMP%], .mat-mdc-raised-button.mat-mdc-button-base[_ngcontent-%COMP%], .mat-mdc-unelevated-button.mat-mdc-button-base[_ngcontent-%COMP%], .mat-mdc-outlined-button.mat-mdc-button-base[_ngcontent-%COMP%]{height:28px;margin-top:0;margin-bottom:0}.mat-mdc-button.mat-mdc-button-base[_ngcontent-%COMP%] .mdc-button__touch[_ngcontent-%COMP%], .mat-mdc-raised-button.mat-mdc-button-base[_ngcontent-%COMP%] .mdc-button__touch[_ngcontent-%COMP%], .mat-mdc-unelevated-button.mat-mdc-button-base[_ngcontent-%COMP%] .mdc-button__touch[_ngcontent-%COMP%], .mat-mdc-outlined-button.mat-mdc-button-base[_ngcontent-%COMP%] .mdc-button__touch[_ngcontent-%COMP%]{height:100%}.mat-mdc-button.mat-mdc-button-base[_ngcontent-%COMP%] .mat-mdc-button-touch-target[_ngcontent-%COMP%], .mat-mdc-raised-button.mat-mdc-button-base[_ngcontent-%COMP%] .mat-mdc-button-touch-target[_ngcontent-%COMP%], .mat-mdc-unelevated-button.mat-mdc-button-base[_ngcontent-%COMP%] .mat-mdc-button-touch-target[_ngcontent-%COMP%], .mat-mdc-outlined-button.mat-mdc-button-base[_ngcontent-%COMP%] .mat-mdc-button-touch-target[_ngcontent-%COMP%]{display:none}.mdc-button[_ngcontent-%COMP%]{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--mdc-typography-button-font-family, var(--mdc-typography-font-family, Inter));font-size:var(--mdc-typography-button-font-size, 13px);line-height:var(--mdc-typography-button-line-height, 19px);font-weight:var(--mdc-typography-button-font-weight, 500);letter-spacing:var(--mdc-typography-button-letter-spacing, normal);-webkit-text-decoration:var(--mdc-typography-button-text-decoration, none);text-decoration:var(--mdc-typography-button-text-decoration, none);text-transform:var(--mdc-typography-button-text-transform, none)}.mat-mdc-icon-button[_ngcontent-%COMP%]{--mdc-icon-button-icon-color: inherit;--mat-mdc-button-persistent-ripple-color: #000;--mat-mdc-button-ripple-color: rgba(0, 0, 0, .1)}.mat-mdc-icon-button[_ngcontent-%COMP%]:hover .mat-mdc-button-persistent-ripple[_ngcontent-%COMP%]:before{opacity:.04}.mat-mdc-icon-button.cdk-program-focused[_ngcontent-%COMP%] .mat-mdc-button-persistent-ripple[_ngcontent-%COMP%]:before, .mat-mdc-icon-button.cdk-keyboard-focused[_ngcontent-%COMP%] .mat-mdc-button-persistent-ripple[_ngcontent-%COMP%]:before{opacity:.12}.mat-mdc-icon-button[_ngcontent-%COMP%]:active .mat-mdc-button-persistent-ripple[_ngcontent-%COMP%]:before{opacity:.12}.mat-mdc-icon-button.mat-primary[_ngcontent-%COMP%]{--mat-mdc-button-persistent-ripple-color: #6200ee;--mat-mdc-button-ripple-color: rgba(98, 0, 238, .1)}.mat-mdc-icon-button.mat-accent[_ngcontent-%COMP%]{--mat-mdc-button-persistent-ripple-color: #018786;--mat-mdc-button-ripple-color: rgba(1, 135, 134, .1)}.mat-mdc-icon-button.mat-warn[_ngcontent-%COMP%]{--mat-mdc-button-persistent-ripple-color: #b00020;--mat-mdc-button-ripple-color: rgba(176, 0, 32, .1)}.mat-mdc-icon-button.mat-primary[_ngcontent-%COMP%]{--mdc-icon-button-icon-color: #0f0761;--mat-mdc-button-persistent-ripple-color: #0f0761;--mat-mdc-button-ripple-color: rgba(15, 7, 97, .1)}.mat-mdc-icon-button.mat-accent[_ngcontent-%COMP%]{--mdc-icon-button-icon-color: #dd7345;--mat-mdc-button-persistent-ripple-color: #dd7345;--mat-mdc-button-ripple-color: rgba(221, 115, 69, .1)}.mat-mdc-icon-button.mat-warn[_ngcontent-%COMP%]{--mdc-icon-button-icon-color: #f44336;--mat-mdc-button-persistent-ripple-color: #f44336;--mat-mdc-button-ripple-color: rgba(244, 67, 54, .1)}.mat-mdc-icon-button[disabled][disabled][_ngcontent-%COMP%]{--mdc-icon-button-icon-color: rgba(0, 0, 0, .38);--mdc-icon-button-disabled-icon-color: rgba(0, 0, 0, .38)}.mat-mdc-icon-button.mat-mdc-button-base[_ngcontent-%COMP%]{--mdc-icon-button-state-layer-size: 40px;width:var(--mdc-icon-button-state-layer-size);height:var(--mdc-icon-button-state-layer-size);padding:8px}.mat-mdc-icon-button.mat-mdc-button-base[_ngcontent-%COMP%] .mat-mdc-button-touch-target[_ngcontent-%COMP%]{display:none}.mat-mdc-fab[_ngcontent-%COMP%], .mat-mdc-mini-fab[_ngcontent-%COMP%]{--mat-mdc-button-persistent-ripple-color: #000;--mat-mdc-button-ripple-color: rgba(0, 0, 0, .1)}.mat-mdc-fab[_ngcontent-%COMP%]:hover .mat-mdc-button-persistent-ripple[_ngcontent-%COMP%]:before, .mat-mdc-mini-fab[_ngcontent-%COMP%]:hover .mat-mdc-button-persistent-ripple[_ngcontent-%COMP%]:before{opacity:.04}.mat-mdc-fab.cdk-program-focused[_ngcontent-%COMP%] .mat-mdc-button-persistent-ripple[_ngcontent-%COMP%]:before, .mat-mdc-fab.cdk-keyboard-focused[_ngcontent-%COMP%] .mat-mdc-button-persistent-ripple[_ngcontent-%COMP%]:before, .mat-mdc-mini-fab.cdk-program-focused[_ngcontent-%COMP%] .mat-mdc-button-persistent-ripple[_ngcontent-%COMP%]:before, .mat-mdc-mini-fab.cdk-keyboard-focused[_ngcontent-%COMP%] .mat-mdc-button-persistent-ripple[_ngcontent-%COMP%]:before{opacity:.12}.mat-mdc-fab[_ngcontent-%COMP%]:active .mat-mdc-button-persistent-ripple[_ngcontent-%COMP%]:before, .mat-mdc-mini-fab[_ngcontent-%COMP%]:active .mat-mdc-button-persistent-ripple[_ngcontent-%COMP%]:before{opacity:.12}.mat-mdc-fab.mat-primary[_ngcontent-%COMP%], .mat-mdc-mini-fab.mat-primary[_ngcontent-%COMP%], .mat-mdc-fab.mat-accent[_ngcontent-%COMP%], .mat-mdc-mini-fab.mat-accent[_ngcontent-%COMP%], .mat-mdc-fab.mat-warn[_ngcontent-%COMP%], .mat-mdc-mini-fab.mat-warn[_ngcontent-%COMP%]{--mat-mdc-button-persistent-ripple-color: #fff;--mat-mdc-button-ripple-color: rgba(255, 255, 255, .1)}.mat-mdc-fab[disabled][disabled][_ngcontent-%COMP%], .mat-mdc-mini-fab[disabled][disabled][_ngcontent-%COMP%]{--mdc-fab-container-color: rgba(0, 0, 0, .12);--mdc-fab-icon-color: rgba(0, 0, 0, .38);--mat-mdc-fab-color: rgba(0, 0, 0, .38)}.mat-mdc-fab.mat-unthemed[_ngcontent-%COMP%], .mat-mdc-mini-fab.mat-unthemed[_ngcontent-%COMP%]{--mdc-fab-container-color: white;--mdc-fab-icon-color: black;--mat-mdc-fab-color: #000}.mat-mdc-fab.mat-primary[_ngcontent-%COMP%], .mat-mdc-mini-fab.mat-primary[_ngcontent-%COMP%]{--mdc-fab-container-color: #0f0761;--mdc-fab-icon-color: white;--mat-mdc-fab-color: #fff}.mat-mdc-fab.mat-accent[_ngcontent-%COMP%], .mat-mdc-mini-fab.mat-accent[_ngcontent-%COMP%]{--mdc-fab-container-color: #dd7345;--mdc-fab-icon-color: white;--mat-mdc-fab-color: #fff}.mat-mdc-fab.mat-warn[_ngcontent-%COMP%], .mat-mdc-mini-fab.mat-warn[_ngcontent-%COMP%]{--mdc-fab-container-color: #f44336;--mdc-fab-icon-color: white;--mat-mdc-fab-color: #fff}.mdc-fab--extended[_ngcontent-%COMP%]{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--mdc-typography-button-font-family, var(--mdc-typography-font-family, Inter));font-size:var(--mdc-typography-button-font-size, 13px);line-height:var(--mdc-typography-button-line-height, 19px);font-weight:var(--mdc-typography-button-font-weight, 500);letter-spacing:var(--mdc-typography-button-letter-spacing, normal);-webkit-text-decoration:var(--mdc-typography-button-text-decoration, none);text-decoration:var(--mdc-typography-button-text-decoration, none);text-transform:var(--mdc-typography-button-text-transform, none)}.mat-mdc-extended-fab[_ngcontent-%COMP%]{--mdc-extended-fab-label-text-font: Inter;--mdc-extended-fab-label-text-size: 13px;--mdc-extended-fab-label-text-tracking: normal;--mdc-extended-fab-label-text-weight: 500}.mat-mdc-snack-bar-container[_ngcontent-%COMP%]{--mdc-snackbar-container-color: #333333;--mdc-snackbar-supporting-text-color: rgba(255, 255, 255, .87);--mat-snack-bar-button-color: #dd7345}.mat-mdc-snack-bar-container[_ngcontent-%COMP%]{--mdc-snackbar-supporting-text-font: Inter;--mdc-snackbar-supporting-text-line-height: 19px;--mdc-snackbar-supporting-text-size: 13px;--mdc-snackbar-supporting-text-weight: 400}html[_ngcontent-%COMP%]{--mat-table-background-color: white;--mat-table-header-headline-color: rgba(0, 0, 0, .87);--mat-table-row-item-label-text-color: rgba(0, 0, 0, .87);--mat-table-row-item-outline-color: rgba(0, 0, 0, .12)}html[_ngcontent-%COMP%]{--mat-table-header-container-height: 48px;--mat-table-footer-container-height: 44px;--mat-table-row-item-container-height: 44px}html[_ngcontent-%COMP%]{--mat-table-header-headline-font: Inter;--mat-table-header-headline-line-height: 19px;--mat-table-header-headline-size: 13px;--mat-table-header-headline-weight: 500;--mat-table-header-headline-tracking: normal;--mat-table-row-item-label-text-font: Inter;--mat-table-row-item-label-text-line-height: 19px;--mat-table-row-item-label-text-size: 13px;--mat-table-row-item-label-text-weight: 400;--mat-table-row-item-label-text-tracking: normal;--mat-table-footer-supporting-text-font: Inter;--mat-table-footer-supporting-text-line-height: 19px;--mat-table-footer-supporting-text-size: 13px;--mat-table-footer-supporting-text-weight: 400;--mat-table-footer-supporting-text-tracking: normal}.mat-mdc-progress-spinner[_ngcontent-%COMP%]{--mdc-circular-progress-active-indicator-color: #0f0761}.mat-mdc-progress-spinner.mat-accent[_ngcontent-%COMP%]{--mdc-circular-progress-active-indicator-color: #dd7345}.mat-mdc-progress-spinner.mat-warn[_ngcontent-%COMP%]{--mdc-circular-progress-active-indicator-color: #f44336}.mat-badge[_ngcontent-%COMP%]{position:relative}.mat-badge.mat-badge[_ngcontent-%COMP%]{overflow:visible}.mat-badge-content[_ngcontent-%COMP%]{position:absolute;text-align:center;display:inline-block;border-radius:50%;transition:transform .2s ease-in-out;transform:scale(.6);overflow:hidden;white-space:nowrap;text-overflow:ellipsis;pointer-events:none;background-color:var(--mat-badge-background-color);color:var(--mat-badge-text-color);font-family:Roboto,sans-serif;font-family:var(--mat-badge-text-font, Roboto, sans-serif);font-size:12px;font-size:var(--mat-badge-text-size, 12px);font-weight:600;font-weight:var(--mat-badge-text-weight, 600)}.cdk-high-contrast-active[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{outline:solid 1px;border-radius:0}.mat-badge-disabled[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{background-color:var(--mat-badge-disabled-state-background-color);color:var(--mat-badge-disabled-state-text-color)}.mat-badge-hidden[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{display:none}.ng-animate-disabled[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%], .mat-badge-content._mat-animation-noopable[_ngcontent-%COMP%]{transition:none}.mat-badge-content.mat-badge-active[_ngcontent-%COMP%]{transform:none}.mat-badge-small[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{width:16px;height:16px;line-height:16px;font-size:9px;font-size:var(--mat-badge-small-size-text-size, 9px)}.mat-badge-small.mat-badge-above[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{top:-8px}.mat-badge-small.mat-badge-below[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{bottom:-8px}.mat-badge-small.mat-badge-before[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{left:-16px}[dir=rtl][_ngcontent-%COMP%] .mat-badge-small.mat-badge-before[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{left:auto;right:-16px}.mat-badge-small.mat-badge-after[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{right:-16px}[dir=rtl][_ngcontent-%COMP%] .mat-badge-small.mat-badge-after[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{right:auto;left:-16px}.mat-badge-small.mat-badge-overlap.mat-badge-before[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{left:-8px}[dir=rtl][_ngcontent-%COMP%] .mat-badge-small.mat-badge-overlap.mat-badge-before[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{left:auto;right:-8px}.mat-badge-small.mat-badge-overlap.mat-badge-after[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{right:-8px}[dir=rtl][_ngcontent-%COMP%] .mat-badge-small.mat-badge-overlap.mat-badge-after[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{right:auto;left:-8px}.mat-badge-medium[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{width:22px;height:22px;line-height:22px}.mat-badge-medium.mat-badge-above[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{top:-11px}.mat-badge-medium.mat-badge-below[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{bottom:-11px}.mat-badge-medium.mat-badge-before[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{left:-22px}[dir=rtl][_ngcontent-%COMP%] .mat-badge-medium.mat-badge-before[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{left:auto;right:-22px}.mat-badge-medium.mat-badge-after[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{right:-22px}[dir=rtl][_ngcontent-%COMP%] .mat-badge-medium.mat-badge-after[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{right:auto;left:-22px}.mat-badge-medium.mat-badge-overlap.mat-badge-before[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{left:-11px}[dir=rtl][_ngcontent-%COMP%] .mat-badge-medium.mat-badge-overlap.mat-badge-before[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{left:auto;right:-11px}.mat-badge-medium.mat-badge-overlap.mat-badge-after[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{right:-11px}[dir=rtl][_ngcontent-%COMP%] .mat-badge-medium.mat-badge-overlap.mat-badge-after[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{right:auto;left:-11px}.mat-badge-large[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{width:28px;height:28px;line-height:28px;font-size:24px;font-size:var(--mat-badge-large-size-text-size, 24px)}.mat-badge-large.mat-badge-above[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{top:-14px}.mat-badge-large.mat-badge-below[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{bottom:-14px}.mat-badge-large.mat-badge-before[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{left:-28px}[dir=rtl][_ngcontent-%COMP%] .mat-badge-large.mat-badge-before[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{left:auto;right:-28px}.mat-badge-large.mat-badge-after[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{right:-28px}[dir=rtl][_ngcontent-%COMP%] .mat-badge-large.mat-badge-after[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{right:auto;left:-28px}.mat-badge-large.mat-badge-overlap.mat-badge-before[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{left:-14px}[dir=rtl][_ngcontent-%COMP%] .mat-badge-large.mat-badge-overlap.mat-badge-before[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{left:auto;right:-14px}.mat-badge-large.mat-badge-overlap.mat-badge-after[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{right:-14px}[dir=rtl][_ngcontent-%COMP%] .mat-badge-large.mat-badge-overlap.mat-badge-after[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{right:auto;left:-14px}html[_ngcontent-%COMP%]{--mat-badge-background-color: #0f0761;--mat-badge-text-color: white;--mat-badge-disabled-state-background-color: #b9b9b9;--mat-badge-disabled-state-text-color: rgba(0, 0, 0, .38)}.mat-badge-accent[_ngcontent-%COMP%]{--mat-badge-background-color: #dd7345;--mat-badge-text-color: white}.mat-badge-warn[_ngcontent-%COMP%]{--mat-badge-background-color: #f44336;--mat-badge-text-color: white}html[_ngcontent-%COMP%]{--mat-badge-text-font: Inter;--mat-badge-text-size: 12px;--mat-badge-text-weight: 600;--mat-badge-small-size-text-size: 9px;--mat-badge-large-size-text-size: 24px}html[_ngcontent-%COMP%]{--mat-bottom-sheet-container-text-color: rgba(0, 0, 0, .87);--mat-bottom-sheet-container-background-color: white}html[_ngcontent-%COMP%]{--mat-bottom-sheet-container-text-font: Inter;--mat-bottom-sheet-container-text-line-height: 19px;--mat-bottom-sheet-container-text-size: 13px;--mat-bottom-sheet-container-text-tracking: normal;--mat-bottom-sheet-container-text-weight: 400}html[_ngcontent-%COMP%]{--mat-legacy-button-toggle-text-color: rgba(0, 0, 0, .38);--mat-legacy-button-toggle-state-layer-color: rgba(0, 0, 0, .12);--mat-legacy-button-toggle-selected-state-text-color: rgba(0, 0, 0, .54);--mat-legacy-button-toggle-selected-state-background-color: #e0e0e0;--mat-legacy-button-toggle-disabled-state-text-color: rgba(0, 0, 0, .26);--mat-legacy-button-toggle-disabled-state-background-color: #eeeeee;--mat-legacy-button-toggle-disabled-selected-state-background-color: #bdbdbd;--mat-standard-button-toggle-text-color: rgba(0, 0, 0, .87);--mat-standard-button-toggle-background-color: white;--mat-standard-button-toggle-state-layer-color: black;--mat-standard-button-toggle-selected-state-background-color: #e0e0e0;--mat-standard-button-toggle-selected-state-text-color: rgba(0, 0, 0, .87);--mat-standard-button-toggle-disabled-state-text-color: rgba(0, 0, 0, .26);--mat-standard-button-toggle-disabled-state-background-color: white;--mat-standard-button-toggle-disabled-selected-state-text-color: rgba(0, 0, 0, .87);--mat-standard-button-toggle-disabled-selected-state-background-color: #bdbdbd;--mat-standard-button-toggle-divider-color: #e0e0e0}html[_ngcontent-%COMP%]{--mat-standard-button-toggle-height: 40px}html[_ngcontent-%COMP%]{--mat-legacy-button-toggle-text-font: Inter;--mat-standard-button-toggle-text-font: Inter}html[_ngcontent-%COMP%]{--mat-datepicker-calendar-date-selected-state-text-color: white;--mat-datepicker-calendar-date-selected-state-background-color: #0f0761;--mat-datepicker-calendar-date-selected-disabled-state-background-color: rgba(15, 7, 97, .4);--mat-datepicker-calendar-date-today-selected-state-outline-color: white;--mat-datepicker-calendar-date-focus-state-background-color: rgba(15, 7, 97, .3);--mat-datepicker-calendar-date-hover-state-background-color: rgba(15, 7, 97, .3);--mat-datepicker-toggle-active-state-icon-color: #0f0761;--mat-datepicker-calendar-date-in-range-state-background-color: rgba(15, 7, 97, .2);--mat-datepicker-calendar-date-in-comparison-range-state-background-color: rgba(249, 171, 0, .2);--mat-datepicker-calendar-date-in-overlap-range-state-background-color: #a8dab5;--mat-datepicker-calendar-date-in-overlap-range-selected-state-background-color: #46a35e;--mat-datepicker-toggle-icon-color: rgba(0, 0, 0, .54);--mat-datepicker-calendar-body-label-text-color: rgba(0, 0, 0, .54);--mat-datepicker-calendar-period-button-icon-color: rgba(0, 0, 0, .54);--mat-datepicker-calendar-navigation-button-icon-color: rgba(0, 0, 0, .54);--mat-datepicker-calendar-header-divider-color: rgba(0, 0, 0, .12);--mat-datepicker-calendar-header-text-color: rgba(0, 0, 0, .54);--mat-datepicker-calendar-date-today-outline-color: rgba(0, 0, 0, .38);--mat-datepicker-calendar-date-today-disabled-state-outline-color: rgba(0, 0, 0, .18);--mat-datepicker-calendar-date-text-color: rgba(0, 0, 0, .87);--mat-datepicker-calendar-date-outline-color: transparent;--mat-datepicker-calendar-date-disabled-state-text-color: rgba(0, 0, 0, .38);--mat-datepicker-calendar-date-preview-state-outline-color: rgba(0, 0, 0, .24);--mat-datepicker-range-input-separator-color: rgba(0, 0, 0, .87);--mat-datepicker-range-input-disabled-state-separator-color: rgba(0, 0, 0, .38);--mat-datepicker-range-input-disabled-state-text-color: rgba(0, 0, 0, .38);--mat-datepicker-calendar-container-background-color: white;--mat-datepicker-calendar-container-text-color: rgba(0, 0, 0, .87)}.mat-datepicker-content.mat-accent[_ngcontent-%COMP%]{--mat-datepicker-calendar-date-selected-state-text-color: white;--mat-datepicker-calendar-date-selected-state-background-color: #dd7345;--mat-datepicker-calendar-date-selected-disabled-state-background-color: rgba(221, 115, 69, .4);--mat-datepicker-calendar-date-today-selected-state-outline-color: white;--mat-datepicker-calendar-date-focus-state-background-color: rgba(221, 115, 69, .3);--mat-datepicker-calendar-date-hover-state-background-color: rgba(221, 115, 69, .3);--mat-datepicker-calendar-date-in-range-state-background-color: rgba(221, 115, 69, .2);--mat-datepicker-calendar-date-in-comparison-range-state-background-color: rgba(249, 171, 0, .2);--mat-datepicker-calendar-date-in-overlap-range-state-background-color: #a8dab5;--mat-datepicker-calendar-date-in-overlap-range-selected-state-background-color: #46a35e}.mat-datepicker-content.mat-warn[_ngcontent-%COMP%]{--mat-datepicker-calendar-date-selected-state-text-color: white;--mat-datepicker-calendar-date-selected-state-background-color: #f44336;--mat-datepicker-calendar-date-selected-disabled-state-background-color: rgba(244, 67, 54, .4);--mat-datepicker-calendar-date-today-selected-state-outline-color: white;--mat-datepicker-calendar-date-focus-state-background-color: rgba(244, 67, 54, .3);--mat-datepicker-calendar-date-hover-state-background-color: rgba(244, 67, 54, .3);--mat-datepicker-calendar-date-in-range-state-background-color: rgba(244, 67, 54, .2);--mat-datepicker-calendar-date-in-comparison-range-state-background-color: rgba(249, 171, 0, .2);--mat-datepicker-calendar-date-in-overlap-range-state-background-color: #a8dab5;--mat-datepicker-calendar-date-in-overlap-range-selected-state-background-color: #46a35e}.mat-datepicker-toggle-active.mat-accent[_ngcontent-%COMP%]{--mat-datepicker-toggle-active-state-icon-color: #dd7345}.mat-datepicker-toggle-active.mat-warn[_ngcontent-%COMP%]{--mat-datepicker-toggle-active-state-icon-color: #f44336}.mat-calendar-controls[_ngcontent-%COMP%] .mat-mdc-icon-button.mat-mdc-button-base[_ngcontent-%COMP%]{--mdc-icon-button-state-layer-size: 40px;width:var(--mdc-icon-button-state-layer-size);height:var(--mdc-icon-button-state-layer-size);padding:8px}.mat-calendar-controls[_ngcontent-%COMP%] .mat-mdc-icon-button.mat-mdc-button-base[_ngcontent-%COMP%] .mat-mdc-button-touch-target[_ngcontent-%COMP%]{display:none}html[_ngcontent-%COMP%]{--mat-datepicker-calendar-text-font: Inter;--mat-datepicker-calendar-text-size: 13px;--mat-datepicker-calendar-body-label-text-size: 13px;--mat-datepicker-calendar-body-label-text-weight: 500;--mat-datepicker-calendar-period-button-text-size: 13px;--mat-datepicker-calendar-period-button-text-weight: 500;--mat-datepicker-calendar-header-text-size: 11px;--mat-datepicker-calendar-header-text-weight: 400}html[_ngcontent-%COMP%]{--mat-divider-color: rgba(0, 0, 0, .12)}html[_ngcontent-%COMP%]{--mat-expansion-container-background-color: white;--mat-expansion-container-text-color: rgba(0, 0, 0, .87);--mat-expansion-actions-divider-color: rgba(0, 0, 0, .12);--mat-expansion-header-hover-state-layer-color: rgba(0, 0, 0, .04);--mat-expansion-header-focus-state-layer-color: rgba(0, 0, 0, .04);--mat-expansion-header-disabled-state-text-color: rgba(0, 0, 0, .26);--mat-expansion-header-text-color: rgba(0, 0, 0, .87);--mat-expansion-header-description-color: rgba(0, 0, 0, .54);--mat-expansion-header-indicator-color: rgba(0, 0, 0, .54)}html[_ngcontent-%COMP%]{--mat-expansion-header-collapsed-state-height: 40px;--mat-expansion-header-expanded-state-height: 56px}html[_ngcontent-%COMP%]{--mat-expansion-header-text-font: Inter;--mat-expansion-header-text-size: 13px;--mat-expansion-header-text-weight: 500;--mat-expansion-header-text-line-height: inherit;--mat-expansion-header-text-tracking: inherit;--mat-expansion-container-text-font: Inter;--mat-expansion-container-text-line-height: 19px;--mat-expansion-container-text-size: 13px;--mat-expansion-container-text-tracking: normal;--mat-expansion-container-text-weight: 400}html[_ngcontent-%COMP%]{--mat-grid-list-tile-header-primary-text-size: 13px;--mat-grid-list-tile-header-secondary-text-size: 12px;--mat-grid-list-tile-footer-primary-text-size: 13px;--mat-grid-list-tile-footer-secondary-text-size: 12px}html[_ngcontent-%COMP%]{--mat-icon-color: inherit}.mat-icon.mat-primary[_ngcontent-%COMP%]{--mat-icon-color: #0f0761}.mat-icon.mat-accent[_ngcontent-%COMP%]{--mat-icon-color: #dd7345}.mat-icon.mat-warn[_ngcontent-%COMP%]{--mat-icon-color: #f44336}html[_ngcontent-%COMP%]{--mat-sidenav-container-divider-color: rgba(0, 0, 0, .12);--mat-sidenav-container-background-color: white;--mat-sidenav-container-text-color: rgba(0, 0, 0, .87);--mat-sidenav-content-background-color: #fafafa;--mat-sidenav-content-text-color: rgba(0, 0, 0, .87);--mat-sidenav-scrim-color: rgba(0, 0, 0, .6)}html[_ngcontent-%COMP%]{--mat-stepper-header-icon-foreground-color: white;--mat-stepper-header-selected-state-icon-background-color: #0f0761;--mat-stepper-header-selected-state-icon-foreground-color: white;--mat-stepper-header-done-state-icon-background-color: #0f0761;--mat-stepper-header-done-state-icon-foreground-color: white;--mat-stepper-header-edit-state-icon-background-color: #0f0761;--mat-stepper-header-edit-state-icon-foreground-color: white;--mat-stepper-container-color: white;--mat-stepper-line-color: rgba(0, 0, 0, .12);--mat-stepper-header-hover-state-layer-color: rgba(0, 0, 0, .04);--mat-stepper-header-focus-state-layer-color: rgba(0, 0, 0, .04);--mat-stepper-header-label-text-color: rgba(0, 0, 0, .54);--mat-stepper-header-optional-label-text-color: rgba(0, 0, 0, .54);--mat-stepper-header-selected-state-label-text-color: rgba(0, 0, 0, .87);--mat-stepper-header-error-state-label-text-color: #f44336;--mat-stepper-header-icon-background-color: rgba(0, 0, 0, .54);--mat-stepper-header-error-state-icon-foreground-color: #f44336;--mat-stepper-header-error-state-icon-background-color: transparent}html[_ngcontent-%COMP%] .mat-step-header.mat-accent[_ngcontent-%COMP%]{--mat-stepper-header-icon-foreground-color: white;--mat-stepper-header-selected-state-icon-background-color: #dd7345;--mat-stepper-header-selected-state-icon-foreground-color: white;--mat-stepper-header-done-state-icon-background-color: #dd7345;--mat-stepper-header-done-state-icon-foreground-color: white;--mat-stepper-header-edit-state-icon-background-color: #dd7345;--mat-stepper-header-edit-state-icon-foreground-color: white}html[_ngcontent-%COMP%] .mat-step-header.mat-warn[_ngcontent-%COMP%]{--mat-stepper-header-icon-foreground-color: white;--mat-stepper-header-selected-state-icon-background-color: #f44336;--mat-stepper-header-selected-state-icon-foreground-color: white;--mat-stepper-header-done-state-icon-background-color: #f44336;--mat-stepper-header-done-state-icon-foreground-color: white;--mat-stepper-header-edit-state-icon-background-color: #f44336;--mat-stepper-header-edit-state-icon-foreground-color: white}html[_ngcontent-%COMP%]{--mat-stepper-header-height: 64px}html[_ngcontent-%COMP%]{--mat-stepper-container-text-font: Inter;--mat-stepper-header-label-text-font: Inter;--mat-stepper-header-label-text-size: 13px;--mat-stepper-header-label-text-weight: 400;--mat-stepper-header-error-state-label-text-size: 13px;--mat-stepper-header-selected-state-label-text-size: 13px;--mat-stepper-header-selected-state-label-text-weight: 400}.mat-sort-header-arrow[_ngcontent-%COMP%]{color:#757575}html[_ngcontent-%COMP%]{--mat-toolbar-container-background-color: whitesmoke;--mat-toolbar-container-text-color: rgba(0, 0, 0, .87)}.mat-toolbar.mat-primary[_ngcontent-%COMP%]{--mat-toolbar-container-background-color: #0f0761;--mat-toolbar-container-text-color: white}.mat-toolbar.mat-accent[_ngcontent-%COMP%]{--mat-toolbar-container-background-color: #dd7345;--mat-toolbar-container-text-color: white}.mat-toolbar.mat-warn[_ngcontent-%COMP%]{--mat-toolbar-container-background-color: #f44336;--mat-toolbar-container-text-color: white}html[_ngcontent-%COMP%]{--mat-toolbar-standard-height: 56px;--mat-toolbar-mobile-height: 48px}html[_ngcontent-%COMP%]{--mat-toolbar-title-text-font: Inter;--mat-toolbar-title-text-line-height: 21px;--mat-toolbar-title-text-size: 16px;--mat-toolbar-title-text-tracking: normal;--mat-toolbar-title-text-weight: 600}.mat-tree[_ngcontent-%COMP%]{background:white}.mat-tree-node[_ngcontent-%COMP%], .mat-nested-tree-node[_ngcontent-%COMP%]{color:#000000de}.mat-tree-node[_ngcontent-%COMP%]{min-height:40px}.mat-tree[_ngcontent-%COMP%]{font-family:Inter}.mat-tree-node[_ngcontent-%COMP%], .mat-nested-tree-node[_ngcontent-%COMP%]{font-weight:400;font-size:13px}.mat-h1[_ngcontent-%COMP%], .mat-headline-5[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] .mat-h1[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] .mat-headline-5[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{font-size:20px;font-weight:600;line-height:24px;font-family:Inter;letter-spacing:normal;margin:0 0 16px}.mat-h2[_ngcontent-%COMP%], .mat-headline-6[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] .mat-h2[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] .mat-headline-6[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{font-size:16px;font-weight:600;line-height:21px;font-family:Inter;letter-spacing:normal;margin:0 0 16px}.mat-h3[_ngcontent-%COMP%], .mat-subtitle-1[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] .mat-h3[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] .mat-subtitle-1[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{font-size:16px;font-weight:600;line-height:22px;font-family:Inter;letter-spacing:normal;margin:0 0 16px}.mat-h4[_ngcontent-%COMP%], .mat-body-1[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] .mat-h4[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] .mat-body-1[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] h4[_ngcontent-%COMP%]{font-size:13px;font-weight:400;line-height:19px;font-family:Inter;letter-spacing:normal;margin:0 0 16px}.mat-h5[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] .mat-h5[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] h5[_ngcontent-%COMP%]{font:400 10.79px/19px Inter;margin:0 0 12px}.mat-h6[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] .mat-h6[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] h6[_ngcontent-%COMP%]{font:400 8.71px/19px Inter;margin:0 0 12px}.mat-body-strong[_ngcontent-%COMP%], .mat-subtitle-2[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] .mat-body-strong[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] .mat-subtitle-2[_ngcontent-%COMP%]{font-size:13px;font-weight:500;line-height:19px;font-family:Inter;letter-spacing:normal}.mat-body[_ngcontent-%COMP%], .mat-body-2[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] .mat-body[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] .mat-body-2[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%]{font-size:13px;font-weight:400;line-height:19px;font-family:Inter;letter-spacing:normal}.mat-body[_ngcontent-%COMP%] p[_ngcontent-%COMP%], .mat-body-2[_ngcontent-%COMP%] p[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] .mat-body[_ngcontent-%COMP%] p[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] .mat-body-2[_ngcontent-%COMP%] p[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{margin:0 0 12px}.mat-small[_ngcontent-%COMP%], .mat-caption[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] .mat-small[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] .mat-caption[_ngcontent-%COMP%]{font-size:12px;font-weight:400;line-height:16px;font-family:Inter;letter-spacing:normal}.mat-headline-1[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] .mat-headline-1[_ngcontent-%COMP%]{font-size:56px;font-weight:600;line-height:62px;font-family:Inter;letter-spacing:normal;margin:0 0 56px}.mat-headline-2[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] .mat-headline-2[_ngcontent-%COMP%]{font-size:44px;font-weight:600;line-height:50px;font-family:Inter;letter-spacing:normal;margin:0 0 64px}.mat-headline-3[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] .mat-headline-3[_ngcontent-%COMP%]{font-size:36px;font-weight:600;line-height:43px;font-family:Inter;letter-spacing:normal;margin:0 0 64px}.mat-headline-4[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] .mat-headline-4[_ngcontent-%COMP%]{font-size:28px;font-weight:600;line-height:34px;font-family:Inter;letter-spacing:normal;margin:0 0 64px}.mat-ripple-element[_ngcontent-%COMP%]{display:none!important}.mat-mdc-unelevated-button.mat-primary[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%], .mat-mdc-raised-button.mat-primary[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%], .mat-mdc-fab[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%], .mat-mdc-mini-fab[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%]{display:block!important}.mat-toolbar[_ngcontent-%COMP%]{box-shadow:none!important}.shell-brand-logo[_ngcontent-%COMP%]{filter:brightness(0);opacity:.87}.dark-theme[_ngcontent-%COMP%] .shell-brand-logo[_ngcontent-%COMP%]{filter:brightness(0) invert(1);opacity:.9}.mat-column-actions[_ngcontent-%COMP%]{width:50px;padding:0 8px}.mat-column-actions[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{height:30px;width:30px}.mat-mdc-cell[_ngcontent-%COMP%]{padding:8px}.mat-mdc-card[_ngcontent-%COMP%]{overflow-y:auto}.add-btn[_ngcontent-%COMP%]{background-color:#7571a9}"]})}};mt=pt=(0,ae.Cg)([(0,W.d)({checkProperties:!0})],mt);var Ht=g(14207),ue=g(86606),B=g(73151),N=g(68686);function fi(n,a){1&n&&(e.qex(0),e.EFF(1,"loading\u2026"),e.bVm())}function ui(n,a){if(1&n&&(e.qex(0),e.EFF(1),e.bVm()),2&n){const t=e.XpG();e.R7$(1),e.SpI(" ",t.connections.length," available ")}}function hi(n,a){1&n&&(e.j41(0,"p",14),e.EFF(1," Click one to use it for this chat service: "),e.k0s())}function bi(n,a){if(1&n&&e.nrm(0,"fa-icon",20),2&n){const t=e.XpG(3);e.Y8G("icon",t.faCircleCheck)}}function vi(n,a){if(1&n){const t=e.RV6();e.j41(0,"li")(1,"button",17),e.bIt("click",function(){const r=e.eBV(t).$implicit,c=e.XpG(2);return e.Njj(c.selectConnection.emit(r.id))}),e.DNE(2,bi,1,1,"fa-icon",18),e.j41(3,"span",19),e.EFF(4),e.k0s()()()}if(2&n){const t=a.$implicit,o=e.XpG(2);e.R7$(1),e.AVh("prereqs__chip--selected",t.id===o.selectedConnectionId),e.R7$(1),e.Y8G("ngIf",t.id===o.selectedConnectionId),e.R7$(2),e.JRh(t.label||t.name)}}function xi(n,a){if(1&n&&(e.j41(0,"ul",15),e.DNE(1,vi,5,4,"li",16),e.k0s()),2&n){const t=e.XpG();e.R7$(1),e.Y8G("ngForOf",t.connections)("ngForTrackBy",t.trackById)}}function Ci(n,a){1&n&&(e.j41(0,"p",21),e.EFF(1," No AI Connections yet. The chat service can't run without one. Use the button above to create one, then come back. "),e.k0s())}function ki(n,a){1&n&&(e.qex(0),e.EFF(1,"loading\u2026"),e.bVm())}function yi(n,a){if(1&n&&(e.qex(0),e.EFF(1),e.bVm()),2&n){const t=e.XpG();e.R7$(1),e.SpI(" ",t.roles.length," available ")}}function Mi(n,a){1&n&&(e.j41(0,"p",14),e.EFF(1," Click one to scope the AI's data access: "),e.k0s())}function Oi(n,a){if(1&n&&e.nrm(0,"fa-icon",20),2&n){const t=e.XpG(3);e.Y8G("icon",t.faCircleCheck)}}const Pi=function(n){return["/api-connections/role-based-access",n,"scope"]};function Fi(n,a){if(1&n){const t=e.RV6();e.j41(0,"li")(1,"button",17),e.bIt("click",function(){const r=e.eBV(t).$implicit,c=e.XpG(2);return e.Njj(c.selectRole.emit(r.id))}),e.DNE(2,Oi,1,1,"fa-icon",18),e.j41(3,"span",19),e.EFF(4),e.k0s()(),e.j41(5,"a",22),e.EFF(6,"what can this role see?"),e.k0s()()}if(2&n){const t=a.$implicit,o=e.XpG(2);e.R7$(1),e.AVh("prereqs__chip--selected",t.id===o.selectedRoleId),e.R7$(1),e.Y8G("ngIf",t.id===o.selectedRoleId),e.R7$(2),e.JRh(t.name),e.R7$(1),e.Y8G("routerLink",e.eq3(5,Pi,t.id))}}function wi(n,a){if(1&n&&(e.j41(0,"ul",15),e.DNE(1,Fi,7,7,"li",16),e.k0s()),2&n){const t=e.XpG();e.R7$(1),e.Y8G("ngForOf",t.roles)("ngForTrackBy",t.trackById)}}function Di(n,a){1&n&&(e.j41(0,"p",21),e.EFF(1," No Roles configured. The AI operates under a Role that limits what data it can access. Create a restricted role and come back. "),e.k0s())}const Ti=function(){return["/ai/connections/create"]},Si=function(){return["/api-connections/role-based-access/create"]};let Ri=(()=>{class n{constructor(){this.http=(0,e.WQX)(ee.Qq),this.selectedConnectionId=null,this.selectedRoleId=null,this.selectConnection=new e.bkB,this.selectRole=new e.bkB,this.loading=!0,this.connections=[],this.roles=[],this.faCheck=b.e68,this.faCircleCheck=b.QRE,this.faCircleExclamation=b.lEd,this.faPlus=b.QLR,this.faRobot=b.UBk,this.faShieldHalved=b.fLc}ngOnInit(){(0,ue.p)({conn:this.http.get(`${N.C}/system/service`,{params:{filter:'type = "ai_connection"',fields:"id,name,label",sort:"name"}}).pipe((0,I.W)(()=>(0,B.of)({resource:[]}))),roles:this.http.get(`${N.C}/system/role`,{params:{fields:"id,name",sort:"name"}}).pipe((0,I.W)(()=>(0,B.of)({resource:[]})))}).subscribe(({conn:t,roles:o})=>{this.connections=t.resource??[],this.roles=o.resource??[],this.loading=!1})}trackById(t,o){return o.id}static{this.\u0275fac=function(o){return new(o||n)}}static{this.\u0275cmp=e.VBU({type:n,selectors:[["df-ai-chat-prereqs"]],inputs:{selectedConnectionId:"selectedConnectionId",selectedRoleId:"selectedRoleId"},outputs:{selectConnection:"selectConnection",selectRole:"selectRole"},standalone:!0,features:[e.aNF],decls:38,vars:34,consts:[[1,"prereqs"],[1,"prereqs__header"],[1,"prereqs__section"],[1,"prereqs__row"],[1,"prereqs__icon",3,"icon"],[1,"prereqs__kind-icon",3,"icon"],[1,"prereqs__title"],[1,"prereqs__count"],[4,"ngIf"],["mat-stroked-button","",1,"prereqs__action",3,"routerLink"],[3,"icon"],["class","prereqs__pick-hint",4,"ngIf"],["class","prereqs__list",4,"ngIf"],["class","prereqs__hint",4,"ngIf"],[1,"prereqs__pick-hint"],[1,"prereqs__list"],[4,"ngFor","ngForOf","ngForTrackBy"],["type","button",1,"prereqs__chip",3,"click"],["class","prereqs__chip-check",3,"icon",4,"ngIf"],[1,"prereqs__name"],[1,"prereqs__chip-check",3,"icon"],[1,"prereqs__hint"],[1,"prereqs__link",3,"routerLink"]],template:function(o,i){1&o&&(e.j41(0,"div",0)(1,"header",1)(2,"h4"),e.EFF(3,"AI Chat setup"),e.k0s(),e.j41(4,"p"),e.EFF(5," An AI Chat service ties an AI Connection (the LLM) to a DreamFactory Role (the data scope). Pick one of each below; your selection writes straight into the form. "),e.k0s()(),e.j41(6,"section",2)(7,"div",3),e.nrm(8,"fa-icon",4)(9,"fa-icon",5),e.j41(10,"span",6),e.EFF(11,"AI Connection"),e.k0s(),e.j41(12,"span",7),e.DNE(13,fi,2,0,"ng-container",8),e.DNE(14,ui,2,1,"ng-container",8),e.k0s(),e.j41(15,"a",9),e.nrm(16,"fa-icon",10),e.j41(17,"span"),e.EFF(18),e.k0s()()(),e.DNE(19,hi,2,0,"p",11),e.DNE(20,xi,2,2,"ul",12),e.DNE(21,Ci,2,0,"p",13),e.k0s(),e.j41(22,"section",2)(23,"div",3),e.nrm(24,"fa-icon",4)(25,"fa-icon",5),e.j41(26,"span",6),e.EFF(27,"AI Role"),e.k0s(),e.j41(28,"span",7),e.DNE(29,ki,2,0,"ng-container",8),e.DNE(30,yi,2,1,"ng-container",8),e.k0s(),e.j41(31,"a",9),e.nrm(32,"fa-icon",10),e.j41(33,"span"),e.EFF(34),e.k0s()()(),e.DNE(35,Mi,2,0,"p",11),e.DNE(36,wi,2,2,"ul",12),e.DNE(37,Di,2,0,"p",13),e.k0s()()),2&o&&(e.R7$(6),e.AVh("prereqs__section--missing",!i.loading&&0===i.connections.length),e.R7$(2),e.AVh("prereqs__icon--ok",i.connections.length)("prereqs__icon--miss",!i.connections.length),e.Y8G("icon",i.connections.length?i.faCheck:i.faCircleExclamation),e.R7$(1),e.Y8G("icon",i.faRobot),e.R7$(4),e.Y8G("ngIf",i.loading),e.R7$(1),e.Y8G("ngIf",!i.loading),e.R7$(1),e.Y8G("routerLink",e.lJ4(32,Ti)),e.R7$(1),e.Y8G("icon",i.faPlus),e.R7$(2),e.JRh(i.connections.length?"Add another":"Create one now"),e.R7$(1),e.Y8G("ngIf",i.connections.length&&null==i.selectedConnectionId),e.R7$(1),e.Y8G("ngIf",i.connections.length),e.R7$(1),e.Y8G("ngIf",!i.loading&&0===i.connections.length),e.R7$(1),e.AVh("prereqs__section--missing",!i.loading&&0===i.roles.length),e.R7$(2),e.AVh("prereqs__icon--ok",i.roles.length)("prereqs__icon--miss",!i.roles.length),e.Y8G("icon",i.roles.length?i.faCheck:i.faCircleExclamation),e.R7$(1),e.Y8G("icon",i.faShieldHalved),e.R7$(4),e.Y8G("ngIf",i.loading),e.R7$(1),e.Y8G("ngIf",!i.loading),e.R7$(1),e.Y8G("routerLink",e.lJ4(33,Si)),e.R7$(1),e.Y8G("icon",i.faPlus),e.R7$(2),e.JRh(i.roles.length?"Add another":"Create one now"),e.R7$(1),e.Y8G("ngIf",i.roles.length&&null==i.selectedRoleId),e.R7$(1),e.Y8G("ngIf",i.roles.length),e.R7$(1),e.Y8G("ngIf",!i.loading&&0===i.roles.length))},dependencies:[d.MD,d.Sq,d.bT,j.Wk,u.Hl,u.It,w.dX,w.aY],styles:["[_nghost-%COMP%]{--prereqs-surface: rgba(0, 0, 0, .03)}.dark-theme[_nghost-%COMP%], .dark-theme [_nghost-%COMP%]{--prereqs-surface: rgba(255, 255, 255, .02)}.prereqs[_ngcontent-%COMP%]{border:1px solid rgba(96,165,250,.3);background:rgba(96,165,250,.05);border-radius:8px;padding:1.5rem 1.75rem;margin:1rem 0;display:flex;flex-direction:column;gap:1.25rem;font-size:16px}.prereqs__header[_ngcontent-%COMP%] h4[_ngcontent-%COMP%]{margin:0 0 .4rem;font-size:19px;font-weight:600}.prereqs__header[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{margin:0;color:var(--df-text-2);font-size:15px;line-height:1.55}.prereqs__section[_ngcontent-%COMP%]{padding:1rem 1.25rem;border-radius:6px;background:var(--prereqs-surface)}.prereqs__section--missing[_ngcontent-%COMP%]{background:rgba(220,53,69,.06);border:1px solid rgba(220,53,69,.25)}.prereqs__row[_ngcontent-%COMP%]{display:flex;align-items:center;gap:.75rem;flex-wrap:wrap}.prereqs__icon[_ngcontent-%COMP%]{font-size:19px}.prereqs__icon--ok[_ngcontent-%COMP%]{color:#4ade80}.prereqs__icon--miss[_ngcontent-%COMP%]{color:#ff6b6b}.prereqs__kind-icon[_ngcontent-%COMP%]{color:var(--df-text-muted);font-size:17px}.prereqs__title[_ngcontent-%COMP%]{font-weight:600;font-size:18px}.prereqs__count[_ngcontent-%COMP%]{font-size:14px;color:var(--df-text-2)}.prereqs__action[_ngcontent-%COMP%]{margin-left:auto;display:inline-flex!important;align-items:center;gap:.4rem;font-size:.8125rem!important;padding:0 .75rem!important;min-height:32px!important}.prereqs__list[_ngcontent-%COMP%]{list-style:none;margin:.625rem 0 0;padding:0;display:flex;flex-wrap:wrap;gap:.5rem .625rem}.prereqs__list[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{display:inline-flex;align-items:center;gap:.5rem}.prereqs__chip[_ngcontent-%COMP%]{display:inline-flex;align-items:center;gap:.5rem;padding:.55rem 1.05rem;background:var(--df-surface-2);border:1px solid var(--df-border);border-radius:999px;font:inherit;font-size:16px;color:inherit;cursor:pointer;transition:border-color .12s ease,background .12s ease}.prereqs__chip[_ngcontent-%COMP%]:hover{border-color:#60a5fa99;background:rgba(96,165,250,.08)}.prereqs__chip--selected[_ngcontent-%COMP%]{border-color:#60a5fa;background:rgba(96,165,250,.18);color:var(--df-text)}.prereqs__chip-check[_ngcontent-%COMP%]{color:#60a5fa}.prereqs__name[_ngcontent-%COMP%]{font-weight:500}.prereqs__pick-hint[_ngcontent-%COMP%]{margin:.625rem 0 0;font-size:14px;color:var(--df-text-2);font-style:italic}.prereqs__link[_ngcontent-%COMP%]{font-size:12px;color:var(--df-text-muted);text-decoration:none}.prereqs__link[_ngcontent-%COMP%]:hover{color:#60a5fa;text-decoration:underline}.prereqs__hint[_ngcontent-%COMP%]{margin:.5rem 0 0;font-size:13px;color:var(--df-text-2);line-height:1.5}.prereqs__hint[_ngcontent-%COMP%] code[_ngcontent-%COMP%]{font-family:SFMono-Regular,Menlo,Consolas,monospace;font-size:12px;padding:.1rem .375rem;border-radius:3px;background:var(--df-surface-2)}.prereqs__hint[_ngcontent-%COMP%] strong[_ngcontent-%COMP%]{color:var(--df-text)}"]})}}return n})();function Ii(n,a){1&n&&e.nrm(0,"mat-spinner",5)}function Ei(n,a){if(1&n&&e.nrm(0,"fa-icon",6),2&n){const t=e.XpG();e.Y8G("icon",t.faPlugCircleCheck)}}function $i(n,a){if(1&n&&(e.j41(0,"p"),e.EFF(1),e.k0s()),2&n){const t=e.XpG(2);e.R7$(1),e.SpI(" ",null==t.result.error?null:t.result.error.message," ")}}function Gi(n,a){if(1&n&&(e.j41(0,"span"),e.EFF(1),e.k0s()),2&n){const t=e.XpG(3);e.R7$(1),e.SpI(", including ",t.firstModelLabel,"")}}function ji(n,a){if(1&n&&(e.j41(0,"p",11),e.EFF(1),e.DNE(2,Gi,2,1,"span",9),e.k0s()),2&n){const t=e.XpG(2);e.R7$(1),e.SpI(" ",t.modelCount," models available "),e.R7$(1),e.Y8G("ngIf",t.firstModelLabel)}}function Ni(n,a){if(1&n&&(e.j41(0,"div",7),e.nrm(1,"fa-icon",6),e.j41(2,"div",8)(3,"strong"),e.EFF(4),e.k0s(),e.DNE(5,$i,2,1,"p",9),e.DNE(6,ji,3,2,"p",10),e.k0s()()),2&n){const t=e.XpG();e.AVh("test-conn__result--ok",t.result.success)("test-conn__result--err",!t.result.success),e.R7$(1),e.Y8G("icon",t.result.success?t.faCheckCircle:t.faCircleXmark),e.R7$(3),e.JRh(t.result.success?"Connection succeeded":"Connection failed"),e.R7$(1),e.Y8G("ngIf",!t.result.success&&(null==t.result.error?null:t.result.error.message)),e.R7$(1),e.Y8G("ngIf",t.result.success&&t.modelCount>0)}}let Ai=(()=>{class n{constructor(){this.serviceId=null,this.http=(0,e.WQX)(ee.Qq),this.loading=!1,this.result=null,this.faPlugCircleCheck=b.e6V,this.faCheckCircle=b.SGM,this.faCircleXmark=b.bnw}get modelCount(){return this.result?.resource?.length??0}get firstModelLabel(){const t=this.result?.resource?.[0];return t?"string"==typeof t?t:t.name||t.id||null:null}run(){const t=this.form.get("config")?.value??{},o=t.provider,i=t.api_key??t.apiKey??null,r="**********"===i?null:i,c=t.base_url??t.baseUrl??null,s=t.organization_id??t.organizationId??null,l=t.extra_headers??t.extraHeaders??null,p=t.timeout??null;if(!o)return void(this.result={success:!1,error:{message:"Pick a provider before testing."}});const M="openai_compatible"===o,v=null!=this.serviceId;if("ollama"!==o&&"openai_compatible"!==o&&!r&&!v)return void(this.result={success:!1,error:{message:o+" requires an API key. Fill in API Key, then test. (Existing connections fall back to the saved key automatically.)"}});if(M&&!c&&!v)return void(this.result={success:!1,error:{message:o+" requires a Base URL (e.g. http://host:8090/v1). Fill in Base URL, then test."}});this.loading=!0,this.result=null;const x={provider:o,api_key:r,base_url:c,organization_id:s,extra_headers:l,timeout:p};this.serviceId&&(x.service_id=this.serviceId),this.http.post("/_internal/ai/test-connection",x).subscribe({next:F=>{this.result=F,this.loading=!1},error:F=>{this.result={success:!1,error:{message:F?.error?.error?.message??F?.error?.message??F?.message??"Network error."}},this.loading=!1}})}static{this.\u0275fac=function(o){return new(o||n)}}static{this.\u0275cmp=e.VBU({type:n,selectors:[["df-ai-test-connection"]],inputs:{form:"form",serviceId:"serviceId"},standalone:!0,features:[e.aNF],decls:7,vars:5,consts:[[1,"test-conn"],["type","button","mat-stroked-button","",1,"test-conn__button",3,"disabled","click"],["diameter","16",4,"ngIf"],[3,"icon",4,"ngIf"],["class","test-conn__result",3,"test-conn__result--ok","test-conn__result--err",4,"ngIf"],["diameter","16"],[3,"icon"],[1,"test-conn__result"],[1,"test-conn__detail"],[4,"ngIf"],["class","test-conn__models",4,"ngIf"],[1,"test-conn__models"]],template:function(o,i){1&o&&(e.j41(0,"div",0)(1,"button",1),e.bIt("click",function(){return i.run()}),e.DNE(2,Ii,1,0,"mat-spinner",2),e.DNE(3,Ei,1,1,"fa-icon",3),e.j41(4,"span"),e.EFF(5),e.k0s()(),e.DNE(6,Ni,7,8,"div",4),e.k0s()),2&o&&(e.R7$(1),e.Y8G("disabled",i.loading),e.R7$(1),e.Y8G("ngIf",i.loading),e.R7$(1),e.Y8G("ngIf",!i.loading),e.R7$(2),e.JRh(i.loading?"Testing\u2026":"Test connection"),e.R7$(1),e.Y8G("ngIf",i.result))},dependencies:[d.MD,d.bT,u.Hl,u.$z,Pe.D6,Pe.LG,w.dX,w.aY],styles:[".test-conn[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:.75rem;margin:1rem 0;font-size:1.4rem}.test-conn__button[_ngcontent-%COMP%]{align-self:flex-start;display:inline-flex!important;align-items:center;gap:.5rem;font-size:1.3rem!important;min-height:38px!important}.test-conn__result[_ngcontent-%COMP%]{display:flex;gap:.75rem;padding:.875rem 1.125rem;border-radius:var(--df-radius-sm);align-items:flex-start;font-size:1.4rem}.test-conn__result--ok[_ngcontent-%COMP%]{background:var(--df-success-soft);border:1px solid var(--df-success-border);color:var(--df-success)}.test-conn__result--err[_ngcontent-%COMP%]{background:var(--df-danger-soft);border:1px solid var(--df-danger-border);color:var(--df-danger)}.test-conn__detail[_ngcontent-%COMP%]{flex:1;color:var(--df-text);display:flex;flex-direction:column;gap:.35rem}.test-conn__detail[_ngcontent-%COMP%] strong[_ngcontent-%COMP%]{font-weight:600;font-size:1.4rem}.test-conn__detail[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{margin:0;color:var(--df-text-2);font-size:1.3rem}.test-conn__models[_ngcontent-%COMP%]{font-size:1.3rem}"]})}}return n})();function Yi(n,a){1&n&&e.nrm(0,"mat-spinner",12)}function Vi(n,a){if(1&n&&e.nrm(0,"fa-icon",5),2&n){const t=e.XpG(2);e.Y8G("icon",t.faArrowsRotate)}}function Xi(n,a){if(1&n){const t=e.RV6();e.j41(0,"button",9),e.bIt("click",function(){e.eBV(t);const i=e.XpG();return e.Njj(i.fetch())}),e.DNE(1,Yi,1,0,"mat-spinner",10),e.DNE(2,Vi,1,1,"fa-icon",11),e.j41(3,"span"),e.EFF(4),e.k0s()()}if(2&n){const t=e.XpG();e.Y8G("disabled",t.loading),e.R7$(1),e.Y8G("ngIf",t.loading),e.R7$(1),e.Y8G("ngIf",!t.loading),e.R7$(2),e.JRh(t.models.length?"Refresh":"Fetch available models")}}function zi(n,a){if(1&n&&(e.j41(0,"div",13),e.nrm(1,"fa-icon",5),e.j41(2,"span"),e.EFF(3),e.k0s()()),2&n){const t=e.XpG();e.R7$(1),e.Y8G("icon",t.faCircleXmark),e.R7$(2),e.JRh(t.error)}}function Bi(n,a){if(1&n&&(e.j41(0,"span",24),e.EFF(1),e.nI1(2,"number"),e.k0s()),2&n){const t=e.XpG().$implicit;e.R7$(1),e.SpI("",e.bMT(2,1,t.context)," ctx")}}function Li(n,a){if(1&n&&(e.j41(0,"mat-option",20)(1,"span",21)(2,"span",22),e.EFF(3),e.k0s(),e.DNE(4,Bi,3,3,"span",23),e.k0s()()),2&n){const t=a.$implicit;e.Y8G("value",t.id),e.R7$(3),e.JRh(t.label),e.R7$(1),e.Y8G("ngIf",t.context)}}function Ui(n,a){if(1&n){const t=e.RV6();e.j41(0,"mat-form-field",17)(1,"mat-label"),e.EFF(2,"Model"),e.k0s(),e.j41(3,"mat-select",18),e.bIt("selectionChange",function(i){e.eBV(t);const r=e.XpG(2);return e.Njj(r.select(i.value))}),e.DNE(4,Li,5,3,"mat-option",19),e.k0s()()}if(2&n){const t=e.XpG(2);e.R7$(3),e.Y8G("value",t.currentValue),e.R7$(1),e.Y8G("ngForOf",t.models)("ngForTrackBy",t.trackModel)}}function qi(n,a){if(1&n&&(e.j41(0,"p",25),e.EFF(1),e.k0s()),2&n){const t=e.XpG(2);e.R7$(1),e.SpI(" ",t.fetchHint," ")}}function Ji(n,a){1&n&&(e.j41(0,"p",25),e.EFF(1,' No models reported by the provider. Switch to "Type custom" if you know the model id. '),e.k0s())}function Ki(n,a){if(1&n&&(e.j41(0,"p",26),e.nrm(1,"fa-icon",27),e.EFF(2," Selected: "),e.j41(3,"code"),e.EFF(4),e.k0s()()),2&n){const t=e.XpG(2);e.R7$(1),e.Y8G("icon",t.faCircleCheck),e.R7$(3),e.JRh(t.currentValue)}}function Hi(n,a){if(1&n&&(e.qex(0),e.DNE(1,Ui,5,3,"mat-form-field",14),e.DNE(2,qi,2,1,"p",15),e.DNE(3,Ji,2,0,"p",15),e.DNE(4,Ki,5,2,"p",16),e.bVm()),2&n){const t=e.XpG();e.R7$(1),e.Y8G("ngIf",t.models.length>0),e.R7$(1),e.Y8G("ngIf",!t.loading&&0===t.models.length&&!t.error&&!t.lastFetched),e.R7$(1),e.Y8G("ngIf",!t.loading&&0===t.models.length&&t.lastFetched),e.R7$(1),e.Y8G("ngIf",t.currentValue)}}function Wi(n,a){if(1&n){const t=e.RV6();e.j41(0,"mat-form-field",28)(1,"mat-label"),e.EFF(2,"Model id"),e.k0s(),e.j41(3,"input",29),e.bIt("input",function(i){e.eBV(t);const r=e.XpG();return e.Njj(r.onCustomInput(i))}),e.k0s()()}if(2&n){const t=e.XpG();e.R7$(3),e.Y8G("value",t.currentValue||"")}}let Qi=(()=>{class n{constructor(){this.serviceId=null,this.http=(0,e.WQX)(ee.Qq),this.loading=!1,this.models=[],this.error=null,this.customMode=!1,this.lastFetched=!1,this.faArrowsRotate=b.$3Z,this.faCircleCheck=b.QRE,this.faCircleXmark=b.bnw,this.faKeyboard=b.Lhe}ngOnInit(){this.currentValue&&(this.customMode=!0)}get currentValue(){return this.form.get("config.defaultModel")?.value??""}get fetchHint(){const t=this.form.get("config.provider")?.value;return t?"openai_compatible"===t||"ollama"===t?'Fill in Base URL (and API Key if your endpoint requires one), then click "Fetch available models".':'Fill in API Key above, then click "Fetch available models".':'Pick a provider above first, then click "Fetch available models".'}select(t){this.form.get("config.defaultModel")?.setValue(t)}onCustomInput(t){const o=t.target.value;this.form.get("config.defaultModel")?.setValue(o)}toggleCustom(){this.customMode=!this.customMode}fetch(){const t=this.form.get("config")?.value??{},o=t.provider;if(!o)return void(this.error="Pick a provider above first.");this.loading=!0,this.error=null;const i=t.api_key??t.apiKey??null,r={provider:o,api_key:"**********"===i?null:i,base_url:t.base_url??t.baseUrl??null,organization_id:t.organization_id??t.organizationId??null,extra_headers:t.extra_headers??t.extraHeaders??null,timeout:t.timeout??null};this.serviceId&&(r.service_id=this.serviceId),this.http.post("/_internal/ai/test-connection",r).subscribe({next:c=>{this.loading=!1,this.lastFetched=!0,c.success?this.models=(c.resource??[]).map(this.normalize):this.error=c.error?.message??"Provider rejected the request."},error:c=>{this.loading=!1,this.lastFetched=!0,this.error=c?.error?.error?.message??c?.error?.message??c?.message??"Network error fetching models."}})}normalize(t){return"string"==typeof t?{id:t,label:t}:{id:t.id??t.name??"unknown",label:t.name??t.id??"unknown",context:t.context_window??null}}trackModel(t,o){return o.id}static{this.\u0275fac=function(o){return new(o||n)}}static{this.\u0275cmp=e.VBU({type:n,selectors:[["df-ai-model-picker"]],inputs:{form:"form",serviceId:"serviceId"},standalone:!0,features:[e.aNF],decls:12,vars:6,consts:[[1,"model-picker"],[1,"model-picker__header"],[1,"model-picker__title"],["type","button","mat-stroked-button","","class","model-picker__refresh",3,"disabled","click",4,"ngIf"],["type","button","mat-button","",1,"model-picker__custom-toggle",3,"click"],[3,"icon"],["class","model-picker__error",4,"ngIf"],[4,"ngIf"],["appearance","outline","subscriptSizing","dynamic","class","model-picker__custom",4,"ngIf"],["type","button","mat-stroked-button","",1,"model-picker__refresh",3,"disabled","click"],["diameter","14",4,"ngIf"],[3,"icon",4,"ngIf"],["diameter","14"],[1,"model-picker__error"],["appearance","outline","subscriptSizing","dynamic","class","model-picker__select",4,"ngIf"],["class","model-picker__hint",4,"ngIf"],["class","model-picker__current",4,"ngIf"],["appearance","outline","subscriptSizing","dynamic",1,"model-picker__select"],[3,"value","selectionChange"],[3,"value",4,"ngFor","ngForOf","ngForTrackBy"],[3,"value"],[1,"model-picker__option"],[1,"model-picker__option-label"],["class","model-picker__option-meta",4,"ngIf"],[1,"model-picker__option-meta"],[1,"model-picker__hint"],[1,"model-picker__current"],[1,"model-picker__current-ok",3,"icon"],["appearance","outline","subscriptSizing","dynamic",1,"model-picker__custom"],["matInput","","placeholder","e.g. claude-sonnet-4-5-20250929",3,"value","input"]],template:function(o,i){1&o&&(e.j41(0,"div",0)(1,"div",1)(2,"span",2),e.EFF(3,"Default Model"),e.k0s(),e.DNE(4,Xi,5,4,"button",3),e.j41(5,"button",4),e.bIt("click",function(){return i.toggleCustom()}),e.nrm(6,"fa-icon",5),e.j41(7,"span"),e.EFF(8),e.k0s()()(),e.DNE(9,zi,4,2,"div",6),e.DNE(10,Hi,5,4,"ng-container",7),e.DNE(11,Wi,4,1,"mat-form-field",8),e.k0s()),2&o&&(e.R7$(4),e.Y8G("ngIf",!i.customMode),e.R7$(2),e.Y8G("icon",i.faKeyboard),e.R7$(2),e.JRh(i.customMode?"Use list":"Type custom"),e.R7$(1),e.Y8G("ngIf",i.error),e.R7$(1),e.Y8G("ngIf",!i.customMode),e.R7$(1),e.Y8G("ngIf",i.customMode))},dependencies:[d.MD,d.Sq,d.bT,d.QX,m.YN,m.X1,u.Hl,u.$z,O.RG,O.rl,O.nJ,$.fS,$.fg,Pe.D6,Pe.LG,D.Ve,D.VO,J.wT,w.dX,w.aY],styles:[".model-picker[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:.875rem;padding:1.25rem 1.5rem;margin:1rem 0;background:var(--df-surface-2);border:1px solid var(--df-border-2);border-radius:var(--df-radius);font-size:1.4rem;color:var(--df-text)}.model-picker__header[_ngcontent-%COMP%]{display:flex;align-items:center;gap:.875rem;flex-wrap:wrap}.model-picker__title[_ngcontent-%COMP%]{font-weight:600;font-size:1.5rem;letter-spacing:-.01em;margin-right:auto}.model-picker__refresh[_ngcontent-%COMP%], .model-picker__custom-toggle[_ngcontent-%COMP%]{display:inline-flex!important;align-items:center;gap:.4rem;font-size:1.3rem!important;padding:0 .875rem!important;min-height:38px!important}.model-picker__select[_ngcontent-%COMP%], .model-picker__custom[_ngcontent-%COMP%]{width:100%}.model-picker__option[_ngcontent-%COMP%]{display:flex;align-items:baseline;gap:.75rem;width:100%}.model-picker__option-label[_ngcontent-%COMP%]{flex:1}.model-picker__option-meta[_ngcontent-%COMP%]{font-size:1.2rem;color:var(--df-text-muted);font-family:SFMono-Regular,Menlo,Consolas,monospace}.model-picker__hint[_ngcontent-%COMP%]{margin:0;font-size:1.3rem;color:var(--df-text-2);font-style:italic;line-height:1.5}.model-picker__error[_ngcontent-%COMP%]{display:flex;align-items:flex-start;gap:.5rem;padding:.625rem .875rem;border-radius:var(--df-radius-sm);background:var(--df-danger-soft);border:1px solid var(--df-danger-border);color:var(--df-danger);font-size:1.3rem}.model-picker__current[_ngcontent-%COMP%]{margin:0;font-size:1.3rem;color:var(--df-text);display:flex;align-items:center;gap:.5rem}.model-picker__current[_ngcontent-%COMP%] code[_ngcontent-%COMP%]{font-family:SFMono-Regular,Menlo,Consolas,monospace;font-size:1.2rem;background:var(--df-surface-2);border:1px solid var(--df-border-2);padding:.2rem .5rem;border-radius:var(--df-radius-sm)}.model-picker__current-ok[_ngcontent-%COMP%]{color:var(--df-success)}"]})}}return n})();var Zi=g(15629);function ea(n,a){if(1&n&&(e.j41(0,"div",14),e.nrm(1,"fa-icon",7),e.j41(2,"span"),e.EFF(3),e.k0s()()),2&n){const t=e.XpG().$implicit,o=e.XpG();e.R7$(1),e.Y8G("icon",o.faTriangleExclamation),e.R7$(2),e.JRh(t("noneWarning"))}}function ta(n,a){if(1&n&&(e.j41(0,"div",15),e.EFF(1),e.k0s()),2&n){const t=e.XpG().$implicit;e.R7$(1),e.SpI(" ",t("loading")," ")}}function na(n,a){if(1&n&&e.nrm(0,"fa-icon",21),2&n){const t=e.XpG(4);e.Y8G("icon",t.faCircleCheck)}}function oa(n,a){if(1&n){const t=e.RV6();e.j41(0,"li")(1,"button",18),e.bIt("click",function(){const r=e.eBV(t).$implicit,c=e.XpG(3);return e.Njj(c.toggle(r.id))}),e.DNE(2,na,1,1,"fa-icon",19),e.j41(3,"span",20),e.EFF(4),e.k0s()()()}if(2&n){const t=a.$implicit,o=e.XpG(3);e.R7$(1),e.AVh("allowed-roles__chip--selected",o.isSelected(t.id)),e.R7$(1),e.Y8G("ngIf",o.isSelected(t.id)),e.R7$(2),e.JRh(t.name)}}function ia(n,a){if(1&n&&(e.j41(0,"ul",16),e.DNE(1,oa,5,4,"li",17),e.k0s()),2&n){const t=e.XpG(2);e.R7$(1),e.Y8G("ngForOf",t.roles)("ngForTrackBy",t.trackById)}}function aa(n,a){if(1&n&&(e.j41(0,"p",22),e.EFF(1),e.k0s()),2&n){const t=e.XpG().$implicit;e.R7$(1),e.SpI(" ",t("empty")," ")}}const ra=function(n){return{role:n}};function ca(n,a){if(1&n&&(e.j41(0,"div",26)(1,"div",27),e.EFF(2),e.k0s(),e.nrm(3,"df-scope-map",28),e.k0s()),2&n){const t=a.$implicit,o=e.XpG(2).$implicit;e.R7$(2),e.SpI(" ",o("reachRole",e.eq3(2,ra,t.name))," "),e.R7$(1),e.Y8G("roleId",t.id)}}function sa(n,a){if(1&n&&(e.j41(0,"section",23)(1,"div",24),e.nrm(2,"fa-icon",7),e.j41(3,"span"),e.EFF(4),e.k0s()(),e.j41(5,"p",8),e.EFF(6),e.k0s(),e.DNE(7,ca,4,4,"div",25),e.k0s()),2&n){const t=e.XpG().$implicit,o=e.XpG();e.R7$(2),e.Y8G("icon",o.faShieldHalved),e.R7$(2),e.JRh(t("reachTitle")),e.R7$(2),e.JRh(t("reachHint")),e.R7$(1),e.Y8G("ngForOf",o.selectedRoles)("ngForTrackBy",o.trackById)}}const la=function(n,a){return{selected:n,available:a}},da=function(){return["/api-connections/role-based-access/create"]};function pa(n,a){if(1&n&&(e.j41(0,"div",1)(1,"div",2),e.nrm(2,"fa-icon",3),e.j41(3,"span",4),e.EFF(4),e.k0s(),e.j41(5,"span",5),e.EFF(6),e.k0s(),e.j41(7,"a",6),e.nrm(8,"fa-icon",7),e.j41(9,"span"),e.EFF(10),e.k0s()()(),e.j41(11,"p",8),e.EFF(12),e.k0s(),e.DNE(13,ea,4,2,"div",9),e.DNE(14,ta,2,1,"div",10),e.DNE(15,ia,2,2,"ul",11),e.DNE(16,aa,2,1,"p",12),e.DNE(17,sa,8,5,"section",13),e.k0s()),2&n){const t=a.$implicit,o=e.XpG();e.R7$(2),e.Y8G("icon",o.faShieldHalved),e.R7$(2),e.JRh(t("title")),e.R7$(2),e.SpI(" ",t("count",e.l_i(12,la,o.selected.length,o.roles.length))," "),e.R7$(1),e.Y8G("routerLink",e.lJ4(15,da)),e.R7$(1),e.Y8G("icon",o.faPlus),e.R7$(2),e.JRh(t("createRole")),e.R7$(2),e.JRh(t("hint")),e.R7$(1),e.Y8G("ngIf",0===o.selected.length&&!o.loading),e.R7$(1),e.Y8G("ngIf",o.loading),e.R7$(1),e.Y8G("ngIf",!o.loading&&o.roles.length>0),e.R7$(1),e.Y8G("ngIf",!o.loading&&0===o.roles.length),e.R7$(1),e.Y8G("ngIf",!o.loading&&o.selectedRoles.length>0)}}let ma=(()=>{class n{constructor(){this.http=(0,e.WQX)(ee.Qq),this.loading=!0,this.roles=[],this.faShieldHalved=b.fLc,this.faCheck=b.e68,this.faCircleCheck=b.QRE,this.faPlus=b.QLR,this.faTriangleExclamation=b.JAe}ngOnInit(){this.http.get(`${N.C}/system/role`,{params:{fields:"id,name,description",sort:"name"}}).subscribe({next:t=>{this.roles=t.resource??[],this.loading=!1},error:()=>{this.loading=!1}})}get selected(){const t=this.form.get("config.allowedRoles")?.value;return this.parse(t)}isSelected(t){return this.selected.includes(t)}get selectedRoles(){const t=this.selected;return this.roles.filter(o=>t.includes(o.id))}toggle(t){const o=this.selected,i=o.includes(t)?o.filter(r=>r!==t):[...o,t];this.form.get("config.allowedRoles")?.setValue(i)}parse(t){if(Array.isArray(t))return t.map(Number).filter(o=>Number.isFinite(o));if("string"==typeof t&&t.trim().length>0)try{const o=JSON.parse(t);if(Array.isArray(o))return o.map(Number).filter(i=>Number.isFinite(i))}catch{return[]}return[]}trackById(t,o){return o.id}static{this.\u0275fac=function(o){return new(o||n)}}static{this.\u0275cmp=e.VBU({type:n,selectors:[["df-ai-allowed-roles"]],inputs:{form:"form"},standalone:!0,features:[e.aNF],decls:1,vars:1,consts:[["class","allowed-roles",4,"transloco","translocoRead"],[1,"allowed-roles"],[1,"allowed-roles__header"],[1,"allowed-roles__icon",3,"icon"],[1,"allowed-roles__title"],[1,"allowed-roles__count"],["mat-stroked-button","",1,"allowed-roles__action",3,"routerLink"],[3,"icon"],[1,"allowed-roles__hint"],["class","allowed-roles__warn",4,"ngIf"],["class","allowed-roles__loading",4,"ngIf"],["class","allowed-roles__list",4,"ngIf"],["class","allowed-roles__empty",4,"ngIf"],["class","allowed-roles__reach",4,"ngIf"],[1,"allowed-roles__warn"],[1,"allowed-roles__loading"],[1,"allowed-roles__list"],[4,"ngFor","ngForOf","ngForTrackBy"],["type","button",1,"allowed-roles__chip",3,"click"],["class","allowed-roles__chip-check",3,"icon",4,"ngIf"],[1,"allowed-roles__name"],[1,"allowed-roles__chip-check",3,"icon"],[1,"allowed-roles__empty"],[1,"allowed-roles__reach"],[1,"allowed-roles__reach-head"],["class","allowed-roles__reach-role",4,"ngFor","ngForOf","ngForTrackBy"],[1,"allowed-roles__reach-role"],[1,"allowed-roles__reach-role-name"],[3,"roleId"]],template:function(o,i){1&o&&e.DNE(0,pa,18,16,"div",0),2&o&&e.Y8G("translocoRead","aiAllowedRoles")},dependencies:[d.MD,d.Sq,d.bT,j.Wk,u.Hl,u.It,w.dX,w.aY,R.Q8,R.bA,Zi.A],styles:[".allowed-roles[_ngcontent-%COMP%]{--roles-warning: #9a5b00;display:flex;flex-direction:column;gap:1rem;padding:1.5rem 1.75rem;margin:1rem 0;background:var(--df-surface-2);border:1px solid var(--df-border-2);border-radius:var(--df-radius);font-size:1.4rem;color:var(--df-text)}.allowed-roles__header[_ngcontent-%COMP%]{display:flex;align-items:center;gap:.75rem;flex-wrap:wrap}.allowed-roles__icon[_ngcontent-%COMP%]{color:var(--df-accent);font-size:1.8rem}.allowed-roles__title[_ngcontent-%COMP%]{font-weight:600;font-size:1.5rem;letter-spacing:-.01em}.allowed-roles__count[_ngcontent-%COMP%]{font-size:1.3rem;color:var(--df-text-muted)}.allowed-roles__action[_ngcontent-%COMP%]{margin-left:auto;display:inline-flex!important;align-items:center;gap:.4rem;font-size:1.3rem!important;padding:0 .875rem!important;min-height:38px!important}.allowed-roles__hint[_ngcontent-%COMP%]{margin:0;font-size:1.3rem;color:var(--df-text-2);line-height:1.55}.allowed-roles__warn[_ngcontent-%COMP%]{display:flex;align-items:flex-start;gap:.625rem;padding:.875rem 1.125rem;background:color-mix(in srgb,var(--df-warning, var(--roles-warning)) 10%,transparent);border:1px solid color-mix(in srgb,var(--df-warning, var(--roles-warning)) 40%,transparent);border-radius:var(--df-radius-sm);color:var(--df-warning, var(--roles-warning));font-size:1.3rem}.allowed-roles__loading[_ngcontent-%COMP%], .allowed-roles__empty[_ngcontent-%COMP%]{color:var(--df-text-muted);font-style:italic;font-size:1.3rem}.allowed-roles__list[_ngcontent-%COMP%]{list-style:none;margin:.25rem 0 0;padding:0;display:flex;flex-wrap:wrap;gap:.625rem .75rem}.allowed-roles__list[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{display:inline-flex;align-items:center;gap:.625rem}.allowed-roles__chip[_ngcontent-%COMP%]{display:inline-flex;align-items:center;gap:.5rem;padding:.5rem 1rem;background:var(--df-surface);border:1px solid var(--df-border);border-radius:var(--df-radius-sm);font:inherit;font-size:1.4rem;color:inherit;cursor:pointer;transition:border-color .12s ease,background .12s ease}.allowed-roles__chip[_ngcontent-%COMP%]:hover{border-color:var(--df-accent);background:var(--df-hover)}.allowed-roles__chip--selected[_ngcontent-%COMP%]{border-color:var(--df-accent);background:var(--df-accent-soft);color:var(--df-text)}.allowed-roles__chip-check[_ngcontent-%COMP%]{color:var(--df-accent)}.allowed-roles__name[_ngcontent-%COMP%]{font-weight:500}.allowed-roles__reach[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:1rem;margin-top:.5rem;padding-top:1.25rem;border-top:1px solid var(--df-border-2)}.allowed-roles__reach-head[_ngcontent-%COMP%]{display:flex;align-items:center;gap:.625rem;font-weight:600;font-size:1.4rem;letter-spacing:-.01em}.allowed-roles__reach-head[_ngcontent-%COMP%] fa-icon[_ngcontent-%COMP%]{color:var(--df-accent);font-size:1.6rem}.allowed-roles__reach-role[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:.625rem}.allowed-roles__reach-role-name[_ngcontent-%COMP%]{font-weight:600;font-size:1.3rem;color:var(--df-text-2)}.dark-theme[_nghost-%COMP%] .allowed-roles[_ngcontent-%COMP%], .dark-theme [_nghost-%COMP%] .allowed-roles[_ngcontent-%COMP%]{--roles-warning: #ffb74d}"]})}}return n})();function _a(n,a){1&n&&(e.j41(0,"div",11),e.EFF(1," Loading MCP servers\u2026 "),e.k0s())}function ga(n,a){if(1&n&&e.nrm(0,"fa-icon",17),2&n){const t=e.XpG(3);e.Y8G("icon",t.faCircleCheck)}}function fa(n,a){if(1&n){const t=e.RV6();e.j41(0,"li")(1,"button",14),e.bIt("click",function(){const r=e.eBV(t).$implicit,c=e.XpG(2);return e.Njj(c.toggle(r.name))}),e.DNE(2,ga,1,1,"fa-icon",15),e.j41(3,"span",16),e.EFF(4),e.k0s()()()}if(2&n){const t=a.$implicit,o=e.XpG(2);e.R7$(1),e.AVh("mcp-servers__chip--selected",o.isSelected(t.name)),e.R7$(1),e.Y8G("ngIf",o.isSelected(t.name)),e.R7$(2),e.JRh(t.label||t.name)}}function ua(n,a){if(1&n&&(e.j41(0,"ul",12),e.DNE(1,fa,5,4,"li",13),e.k0s()),2&n){const t=e.XpG();e.R7$(1),e.Y8G("ngForOf",t.servers)("ngForTrackBy",t.trackByName)}}function ha(n,a){1&n&&(e.j41(0,"p",18),e.EFF(1," No MCP services exist yet. Create one (service type \u201cMCP Server\u201d) and come back. "),e.k0s())}const ba=function(){return["/api-connections/api-types/database"]};let va=(()=>{class n{constructor(){this.http=(0,e.WQX)(ee.Qq),this.loading=!0,this.servers=[],this.faPlug=b.QtJ,this.faCircleCheck=b.QRE,this.faPlus=b.QLR}ngOnInit(){this.http.get(`${N.C}/system/service`,{params:{filter:'type = "mcp"',fields:"id,name,label",sort:"name"}}).subscribe({next:t=>{this.servers=t.resource??[],this.loading=!1},error:()=>{this.loading=!1}})}get selected(){return this.parse(this.form.get("config.mcpServers")?.value)}isSelected(t){return this.selected.includes(t)}toggle(t){const o=this.selected,i=o.includes(t)?o.filter(r=>r!==t):[...o,t];this.form.get("config.mcpServers")?.setValue(i)}parse(t){if(Array.isArray(t))return t.map(String).filter(o=>o.length>0);if("string"==typeof t&&t.trim().length>0)try{const o=JSON.parse(t);if(Array.isArray(o))return o.map(String).filter(i=>i.length>0)}catch{return[]}return[]}trackByName(t,o){return o.name}static{this.\u0275fac=function(o){return new(o||n)}}static{this.\u0275cmp=e.VBU({type:n,selectors:[["df-ai-mcp-servers"]],inputs:{form:"form"},standalone:!0,features:[e.aNF],decls:16,vars:9,consts:[[1,"mcp-servers"],[1,"mcp-servers__header"],[1,"mcp-servers__icon",3,"icon"],[1,"mcp-servers__title"],[1,"mcp-servers__count"],["mat-stroked-button","",1,"mcp-servers__action",3,"routerLink"],[3,"icon"],[1,"mcp-servers__hint"],["class","mcp-servers__loading",4,"ngIf"],["class","mcp-servers__list",4,"ngIf"],["class","mcp-servers__empty",4,"ngIf"],[1,"mcp-servers__loading"],[1,"mcp-servers__list"],[4,"ngFor","ngForOf","ngForTrackBy"],["type","button",1,"mcp-servers__chip",3,"click"],["class","mcp-servers__chip-check",3,"icon",4,"ngIf"],[1,"mcp-servers__name"],[1,"mcp-servers__chip-check",3,"icon"],[1,"mcp-servers__empty"]],template:function(o,i){1&o&&(e.j41(0,"div",0)(1,"div",1),e.nrm(2,"fa-icon",2),e.j41(3,"span",3),e.EFF(4,"MCP Servers"),e.k0s(),e.j41(5,"span",4),e.EFF(6),e.k0s(),e.j41(7,"a",5),e.nrm(8,"fa-icon",6),e.j41(9,"span"),e.EFF(10,"Create MCP service"),e.k0s()()(),e.j41(11,"p",7),e.EFF(12," Pick the MCP servers this chat may call as tools. The AI sees the intersection of these and what the caller's role can access, so a conversation can never reach a server the person talking to it can't. Leave all unselected to allow every MCP server the role grants. "),e.k0s(),e.DNE(13,_a,2,0,"div",8),e.DNE(14,ua,2,2,"ul",9),e.DNE(15,ha,2,0,"p",10),e.k0s()),2&o&&(e.R7$(2),e.Y8G("icon",i.faPlug),e.R7$(4),e.Lme(" ",i.selected.length," selected \xb7 ",i.servers.length," available "),e.R7$(1),e.Y8G("routerLink",e.lJ4(8,ba)),e.R7$(1),e.Y8G("icon",i.faPlus),e.R7$(5),e.Y8G("ngIf",i.loading),e.R7$(1),e.Y8G("ngIf",!i.loading&&i.servers.length>0),e.R7$(1),e.Y8G("ngIf",!i.loading&&0===i.servers.length))},dependencies:[d.MD,d.Sq,d.bT,j.Wk,u.Hl,u.It,w.dX,w.aY],styles:[".mcp-servers[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:1rem;padding:1.5rem 1.75rem;margin:1rem 0;background:var(--df-surface-2);border:1px solid var(--df-border-2);border-radius:var(--df-radius);font-size:1.4rem;color:var(--df-text)}.mcp-servers__header[_ngcontent-%COMP%]{display:flex;align-items:center;gap:.75rem;flex-wrap:wrap}.mcp-servers__icon[_ngcontent-%COMP%]{color:var(--df-accent);font-size:1.8rem}.mcp-servers__title[_ngcontent-%COMP%]{font-weight:600;font-size:1.5rem;letter-spacing:-.01em}.mcp-servers__count[_ngcontent-%COMP%]{font-size:1.3rem;color:var(--df-text-muted)}.mcp-servers__action[_ngcontent-%COMP%]{margin-left:auto;display:inline-flex!important;align-items:center;gap:.4rem;font-size:1.3rem!important;padding:0 .875rem!important;min-height:38px!important}.mcp-servers__hint[_ngcontent-%COMP%]{margin:0;font-size:1.3rem;color:var(--df-text-2);line-height:1.55}.mcp-servers__loading[_ngcontent-%COMP%], .mcp-servers__empty[_ngcontent-%COMP%]{color:var(--df-text-muted);font-style:italic;font-size:1.3rem}.mcp-servers__list[_ngcontent-%COMP%]{list-style:none;margin:.25rem 0 0;padding:0;display:flex;flex-wrap:wrap;gap:.625rem .75rem}.mcp-servers__list[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{display:inline-flex;align-items:center;gap:.625rem}.mcp-servers__chip[_ngcontent-%COMP%]{display:inline-flex;align-items:center;gap:.5rem;padding:.5rem 1rem;background:var(--df-surface);border:1px solid var(--df-border);border-radius:var(--df-radius-sm);font:inherit;font-size:1.4rem;color:inherit;cursor:pointer;transition:border-color .12s ease,background .12s ease}.mcp-servers__chip[_ngcontent-%COMP%]:hover{border-color:var(--df-accent);background:var(--df-hover)}.mcp-servers__chip--selected[_ngcontent-%COMP%]{border-color:var(--df-accent);background:var(--df-accent-soft);color:var(--df-text)}.mcp-servers__chip-check[_ngcontent-%COMP%]{color:var(--df-accent)}.mcp-servers__name[_ngcontent-%COMP%]{font-weight:500}"]})}}return n})();const oe=[{name:"list_services",title:"List Services",description:"List the services configured on this DreamFactory instance."},{name:"get_service",title:"Get Service",description:"Retrieve one service, including its configuration."},{name:"create_service",title:"Create Service",description:"Create a new service (database, file, MCP, etc.)."},{name:"update_service",title:"Update Service",description:"Update an existing service, its label, or its configuration."},{name:"delete_service",title:"Delete Service",description:"Permanently delete a service by ID or name."},{name:"list_service_types",title:"List Service Types",description:"List the service types available on this instance."},{name:"get_service_type_schema",title:"Get Service Type Schema",description:"Return the configuration schema required to create a given service type."},{name:"get_environment",title:"Get Environment",description:"Read platform, license, and server environment information."},{name:"list_roles",title:"List Roles",description:"List the roles that control API access for apps and users."},{name:"create_role",title:"Create Role",description:"Create a role with service and component access rules."},{name:"get_role",title:"Get Role",description:"Retrieve one role with its access rules and lookups."},{name:"update_role",title:"Update Role",description:"Update a role, including its service access rules."},{name:"list_apps",title:"List Apps",description:"List apps (API keys) and the roles they are bound to."},{name:"create_app",title:"Create App",description:"Create an app, generating a new API key bound to a role."},{name:"get_app",title:"Get App",description:"Retrieve one app, including its API key and role."},{name:"list_admins",title:"List Admins",description:"List the administrator accounts on this instance."},{name:"get_access_audit",title:"Get Access Audit",description:"Report last-used / never-used / stale API keys, roles and users from system/access_usage."},{name:"call_system_api",title:"Call System API",description:"Call any /api/v2/system/* or /api/v2/user/* endpoint directly for operations not covered by a dedicated tool."}];function Wt(n){return"system_mcp"===(n??"").toString().trim().toLowerCase()}function Ca(n,a){1&n&&(e.j41(0,"div",9),e.EFF(1," Loading data services\u2026 "),e.k0s())}function ka(n,a){if(1&n&&e.nrm(0,"fa-icon",15),2&n){const t=e.XpG(3);e.Y8G("icon",t.faCircleCheck)}}function ya(n,a){if(1&n){const t=e.RV6();e.j41(0,"li")(1,"button",12),e.bIt("click",function(){const r=e.eBV(t).$implicit,c=e.XpG(2);return e.Njj(c.toggle(r.name))}),e.DNE(2,ka,1,1,"fa-icon",13),e.j41(3,"span",14),e.EFF(4),e.k0s()()()}if(2&n){const t=a.$implicit,o=e.XpG(2);e.R7$(1),e.AVh("data-services__chip--selected",o.isSelected(t.name)),e.R7$(1),e.Y8G("ngIf",o.isSelected(t.name)),e.R7$(2),e.JRh(t.label||t.name)}}function Ma(n,a){if(1&n&&(e.j41(0,"ul",10),e.DNE(1,ya,5,4,"li",11),e.k0s()),2&n){const t=e.XpG();e.R7$(1),e.Y8G("ngForOf",t.services)("ngForTrackBy",t.trackByName)}}function Oa(n,a){1&n&&(e.j41(0,"p",16),e.EFF(1," No database services exist yet. Create one under API Generation & Connections and come back. "),e.k0s())}const Pa=new Set(["Database","Big Data","File","Excel"]);let Fa=(()=>{class n{constructor(){this.http=(0,e.WQX)(ee.Qq),this.loading=!0,this.services=[],this.faDatabase=b.hem,this.faCircleCheck=b.QRE}ngOnInit(){(0,ue.p)({types:this.http.get(`${N.C}/system/service_type`,{params:{fields:"name,group"}}),services:this.http.get(`${N.C}/system/service`,{params:{fields:"id,name,label,type",sort:"name"}})}).subscribe({next:({types:t,services:o})=>{const i=new Set((t.resource??[]).filter(r=>Pa.has(r.group??"")).map(r=>r.name));this.services=(o.resource??[]).filter(r=>i.has(r.type)),this.loading=!1},error:()=>{this.loading=!1}})}get selected(){return this.parse(this.form.get("config.defaultDataServices")?.value)}isSelected(t){return this.selected.includes(t)}toggle(t){const o=this.selected,i=o.includes(t)?o.filter(r=>r!==t):[...o,t];this.form.get("config.defaultDataServices")?.setValue(i)}parse(t){if(Array.isArray(t))return t.map(String).filter(o=>o.length>0);if("string"==typeof t&&t.trim().length>0)try{const o=JSON.parse(t);if(Array.isArray(o))return o.map(String).filter(i=>i.length>0)}catch{return[]}return[]}trackByName(t,o){return o.name}static{this.\u0275fac=function(o){return new(o||n)}}static{this.\u0275cmp=e.VBU({type:n,selectors:[["df-ai-data-services"]],inputs:{form:"form"},standalone:!0,features:[e.aNF],decls:12,vars:6,consts:[[1,"data-services"],[1,"data-services__header"],[1,"data-services__icon",3,"icon"],[1,"data-services__title"],[1,"data-services__count"],[1,"data-services__hint"],["class","data-services__loading",4,"ngIf"],["class","data-services__list",4,"ngIf"],["class","data-services__empty",4,"ngIf"],[1,"data-services__loading"],[1,"data-services__list"],[4,"ngFor","ngForOf","ngForTrackBy"],["type","button",1,"data-services__chip",3,"click"],["class","data-services__chip-check",3,"icon",4,"ngIf"],[1,"data-services__name"],[1,"data-services__chip-check",3,"icon"],[1,"data-services__empty"]],template:function(o,i){1&o&&(e.j41(0,"div",0)(1,"div",1),e.nrm(2,"fa-icon",2),e.j41(3,"span",3),e.EFF(4,"Data Services"),e.k0s(),e.j41(5,"span",4),e.EFF(6),e.k0s()(),e.j41(7,"p",5),e.EFF(8," Pick the databases the AI may query. The AI sees the intersection of these and what the caller's role can read. Leave all unselected to allow every data service the role grants. "),e.k0s(),e.DNE(9,Ca,2,0,"div",6),e.DNE(10,Ma,2,2,"ul",7),e.DNE(11,Oa,2,0,"p",8),e.k0s()),2&o&&(e.R7$(2),e.Y8G("icon",i.faDatabase),e.R7$(4),e.Lme(" ",i.selected.length," selected \xb7 ",i.services.length," available "),e.R7$(3),e.Y8G("ngIf",i.loading),e.R7$(1),e.Y8G("ngIf",!i.loading&&i.services.length>0),e.R7$(1),e.Y8G("ngIf",!i.loading&&0===i.services.length))},dependencies:[d.MD,d.Sq,d.bT,w.dX,w.aY],styles:[".data-services[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:1rem;padding:1.5rem 1.75rem;margin:1rem 0;background:var(--df-surface-2);border:1px solid var(--df-border-2);border-radius:var(--df-radius);font-size:1.4rem;color:var(--df-text)}.data-services__header[_ngcontent-%COMP%]{display:flex;align-items:center;gap:.75rem;flex-wrap:wrap}.data-services__icon[_ngcontent-%COMP%]{color:var(--df-accent);font-size:1.8rem}.data-services__title[_ngcontent-%COMP%]{font-weight:600;font-size:1.5rem;letter-spacing:-.01em}.data-services__count[_ngcontent-%COMP%]{font-size:1.3rem;color:var(--df-text-muted)}.data-services__hint[_ngcontent-%COMP%]{margin:0;font-size:1.3rem;color:var(--df-text-2);line-height:1.55}.data-services__loading[_ngcontent-%COMP%], .data-services__empty[_ngcontent-%COMP%]{color:var(--df-text-muted);font-style:italic;font-size:1.3rem}.data-services__list[_ngcontent-%COMP%]{list-style:none;margin:.25rem 0 0;padding:0;display:flex;flex-wrap:wrap;gap:.625rem .75rem}.data-services__list[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{display:inline-flex;align-items:center;gap:.625rem}.data-services__chip[_ngcontent-%COMP%]{display:inline-flex;align-items:center;gap:.5rem;padding:.5rem 1rem;background:var(--df-surface);border:1px solid var(--df-border);border-radius:var(--df-radius-sm);font:inherit;font-size:1.4rem;color:inherit;cursor:pointer;transition:border-color .12s ease,background .12s ease}.data-services__chip[_ngcontent-%COMP%]:hover{border-color:var(--df-accent);background:var(--df-hover)}.data-services__chip--selected[_ngcontent-%COMP%]{border-color:var(--df-accent);background:var(--df-accent-soft);color:var(--df-text)}.data-services__chip-check[_ngcontent-%COMP%]{color:var(--df-accent)}.data-services__name[_ngcontent-%COMP%]{font-weight:500}"]})}}return n})();var Qt=g(23695),Se=g(58781),xe=g(89115),wa=g(82954),Zt=g(82182),he=g(73907);function Ta(n,a){1&n&&e.nrm(0,"div",18),2&n&&e.xc7("--confetti-index",a.$implicit)}function Sa(n,a){1&n&&e.nrm(0,"div",19),2&n&&e.xc7("--firework-index",a.$implicit)}const Ra=function(){return[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15]},Ia=function(){return[1,2,3,4,5]};function Ea(n,a){1&n&&(e.j41(0,"div",15),e.DNE(1,Ta,1,2,"div",16),e.DNE(2,Sa,1,2,"div",17),e.k0s()),2&n&&(e.R7$(1),e.Y8G("ngForOf",e.lJ4(2,Ra)),e.R7$(1),e.Y8G("ngForOf",e.lJ4(3,Ia)))}function $a(n,a){1&n&&e.nrm(0,"div",29)}function Ga(n,a){if(1&n&&(e.j41(0,"div",20),e.DNE(1,$a,1,0,"div",21),e.j41(2,"div",22),e.nrm(3,"fa-icon",23),e.k0s(),e.j41(4,"div",24)(5,"h4",25),e.EFF(6),e.nI1(7,"transloco"),e.k0s(),e.j41(8,"p",26),e.EFF(9),e.nI1(10,"transloco"),e.k0s(),e.j41(11,"span",27),e.nrm(12,"fa-icon",28),e.EFF(13),e.k0s()()()),2&n){const t=a.$implicit,o=a.index,i=e.XpG();e.AVh("revealed",i.currentStep>=o)("pulse-animation",i.currentStep===o),e.R7$(1),e.Y8G("ngIf",o0),e.R7$(2),e.SpI(" ",e.bMT(8,8,"services.celebration.exploreLater")," "),e.R7$(3),e.SpI(" ",e.bMT(11,10,"services.celebration.autoRedirectTest")," ")}}const Ya=function(n){return{name:n}};let Va=(()=>{class n{constructor(t,o,i){this.dialogRef=t,this.data=o,this.router=i,this.destroy$=new xe.B,this.faCheckCircle=b.SGM,this.faRocket=b.KMJ,this.faShieldAlt=b.imB,this.faKey=b.bMg,this.faBolt=b.zm_,this.faDatabase=b.hem,this.faCopy=b.jPR,this.faCheck=b.e68,this.faFlask=b.rIc,this.faInfoCircle=b.iW_,this.showConfetti=!0,this.currentStep=-1,this.allStepsRevealed=!1,this.countdown=15,this.apiKeyCopied=!1,this.baseUrl=window.location.origin,this.steps=[{icon:b.hem,title:"services.celebration.steps.database.title",description:"services.celebration.steps.database.description",timing:"< 100ms"},{icon:b.zm_,title:"services.celebration.steps.endpoints.title",description:"services.celebration.steps.endpoints.description",timing:"< 50ms"},{icon:b.imB,title:"services.celebration.steps.security.title",description:"services.celebration.steps.security.description",timing:"< 200ms"},{icon:b.bMg,title:"services.celebration.steps.apiKey.title",description:"services.celebration.steps.apiKey.description",timing:"Instant"}],t.disableClose=!0}ngOnInit(){this.revealSteps(),setTimeout(()=>{this.startCountdown()},3e3)}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}revealSteps(){this.steps.forEach((o,i)=>{setTimeout(()=>{this.currentStep=i,i===this.steps.length-1&&(this.allStepsRevealed=!0)},500*(i+1))})}startCountdown(){(function Da(n=0,a=wa.E){return n<0&&(n=0),(0,Zt.O)(n,n,a)})(1e3).pipe((0,he.Q)(this.destroy$)).subscribe(()=>{this.countdown--,0===this.countdown&&this.goToApiDocs()})}goToApiDocs(){this.dialogRef.close(),this.router.navigate(["/api-connections/api-docs",this.data.serviceName])}copyApiKey(){this.data.apiKey&&(navigator.clipboard.writeText(this.data.apiKey),this.apiKeyCopied=!0,setTimeout(()=>{this.apiKeyCopied=!1},2e3))}skipToHome(){this.dialogRef.close(),this.router.navigate(["/home"])}static{this.\u0275fac=function(o){return new(o||n)(e.rXU(h.CP),e.rXU(h.Vh),e.rXU(j.Ix))}}static{this.\u0275cmp=e.VBU({type:n,selectors:[["df-celebration-dialog"]],standalone:!0,features:[e.aNF],decls:21,vars:18,consts:[[1,"celebration-dialog"],["class","celebration-effects",4,"ngIf"],[1,"dialog-content"],[1,"success-header"],[1,"success-icon-wrapper"],[1,"rocket-icon",3,"icon"],[1,"success-circle"],[1,"celebration-title"],[1,"celebration-subtitle"],[1,"steps-container"],[1,"steps-title"],[1,"steps-timeline"],["class","step-item",3,"revealed","pulse-animation",4,"ngFor","ngForOf"],["class","api-connection-section",4,"ngIf"],["class","dialog-actions",4,"ngIf"],[1,"celebration-effects"],["class","confetti",3,"--confetti-index",4,"ngFor","ngForOf"],["class","firework",3,"--firework-index",4,"ngFor","ngForOf"],[1,"confetti"],[1,"firework"],[1,"step-item"],["class","step-connector",4,"ngIf"],[1,"step-icon"],[3,"icon"],[1,"step-content"],[1,"step-title"],[1,"step-description"],[1,"step-timing"],[1,"timing-icon",3,"icon"],[1,"step-connector"],[1,"api-connection-section"],[1,"endpoint-preview"],[1,"endpoint-label"],[1,"endpoint-icon",3,"icon"],[1,"endpoint-display"],[1,"endpoint-hint"],[1,"api-key-subsection"],[1,"api-key-label"],[1,"key-icon",3,"icon"],[1,"api-key-display"],["mat-icon-button","",3,"matTooltip","click"],[1,"usage-hint"],[1,"info-icon",3,"icon"],[1,"dialog-actions"],["mat-raised-button","","color","primary",1,"test-api-button",3,"click"],[1,"button-icon",3,"icon"],["class","countdown",4,"ngIf"],["mat-stroked-button","",1,"explore-later-button",3,"click"],[1,"auto-redirect-note"],[1,"countdown"]],template:function(o,i){1&o&&(e.j41(0,"div",0),e.DNE(1,Ea,3,4,"div",1),e.j41(2,"div",2)(3,"div",3)(4,"div",4),e.nrm(5,"fa-icon",5)(6,"div",6),e.k0s(),e.j41(7,"h1",7),e.EFF(8),e.nI1(9,"transloco"),e.k0s(),e.j41(10,"p",8),e.EFF(11),e.nI1(12,"transloco"),e.k0s()(),e.j41(13,"div",9)(14,"h3",10),e.EFF(15),e.nI1(16,"transloco"),e.k0s(),e.j41(17,"div",11),e.DNE(18,Ga,14,14,"div",12),e.k0s()(),e.DNE(19,ja,29,25,"div",13),e.DNE(20,Aa,12,12,"div",14),e.k0s()()),2&o&&(e.R7$(1),e.Y8G("ngIf",i.showConfetti),e.R7$(2),e.Y8G("@fadeIn",void 0),e.R7$(2),e.Y8G("icon",i.faRocket),e.R7$(3),e.SpI(" ",e.bMT(9,9,"services.celebration.title")," "),e.R7$(3),e.SpI(" ",e.i5U(12,11,"services.celebration.subtitle",e.eq3(16,Ya,i.data.serviceName))," "),e.R7$(4),e.SpI(" ",e.bMT(16,14,"services.celebration.whatHappened")," "),e.R7$(3),e.Y8G("ngForOf",i.steps),e.R7$(1),e.Y8G("ngIf",i.data.apiKey&&i.allStepsRevealed),e.R7$(1),e.Y8G("ngIf",i.allStepsRevealed))},dependencies:[d.MD,d.Sq,d.bT,h.hM,u.Hl,u.$z,u.iY,U.m_,S.uc,S.oV,R.Q8,R.Kj,w.dX,w.aY],styles:['.celebration-dialog[_ngcontent-%COMP%]{position:relative;padding:0;overflow:hidden;height:100%;display:flex;flex-direction:column;background:var(--df-surface);animation:_ngcontent-%COMP%_subtle-entrance .4s ease-out}@keyframes _ngcontent-%COMP%_subtle-entrance{0%{opacity:0;transform:scale(.95)}to{opacity:1;transform:scale(1)}}.celebration-effects[_ngcontent-%COMP%]{position:absolute;top:0;left:0;width:100%;height:100%;pointer-events:none;overflow:hidden;z-index:1}.confetti[_ngcontent-%COMP%]{position:absolute;width:10px;height:10px;top:-10px;animation:_ngcontent-%COMP%_confetti-fall calc(3s + var(--confetti-index) * .1s) linear infinite;animation-delay:calc(var(--confetti-index) * -.2s)}.confetti[_ngcontent-%COMP%]:before{content:"";position:absolute;width:100%;height:100%;background:linear-gradient(45deg,#7f11e0,#ff4081,#4caf50,#ffc107,#2196f3);background-size:500%;animation:_ngcontent-%COMP%_confetti-rotate 1s linear infinite;border-radius:2px;transform:rotate(calc(var(--confetti-index) * 30deg))}.confetti[_ngcontent-%COMP%]:nth-child(odd){left:calc(var(--confetti-index) * 6.5%)}.confetti[_ngcontent-%COMP%]:nth-child(2n){right:calc(var(--confetti-index) * 6.5%)}@keyframes _ngcontent-%COMP%_confetti-fall{0%{transform:translateY(-10px) rotate(0);opacity:1}to{transform:translateY(550px) rotate(720deg);opacity:0}}@keyframes _ngcontent-%COMP%_confetti-rotate{0%{background-position:0% 50%}to{background-position:100% 50%}}.firework[_ngcontent-%COMP%]{position:absolute;width:4px;height:4px;border-radius:50%;animation:_ngcontent-%COMP%_firework-launch calc(2s + var(--firework-index) * .3s) ease-out infinite;animation-delay:calc(var(--firework-index) * .5s)}.firework[_ngcontent-%COMP%]:nth-child(1){left:20%;background:#7f11e0}.firework[_ngcontent-%COMP%]:nth-child(2){left:40%;background:#ff4081}.firework[_ngcontent-%COMP%]:nth-child(3){left:50%;background:#4caf50}.firework[_ngcontent-%COMP%]:nth-child(4){left:60%;background:#ffc107}.firework[_ngcontent-%COMP%]:nth-child(5){left:80%;background:#2196f3}.firework[_ngcontent-%COMP%]:after{content:"";position:absolute;width:100px;height:100px;border-radius:50%;top:-48px;left:-48px;background:radial-gradient(circle,currentColor 0%,transparent 70%);opacity:0;animation:_ngcontent-%COMP%_firework-explode calc(2s + var(--firework-index) * .3s) ease-out infinite;animation-delay:calc(var(--firework-index) * .5s + .8s)}@keyframes _ngcontent-%COMP%_firework-launch{0%{transform:translateY(100vh) scale(1);opacity:1}40%{transform:translateY(30vh) scale(1);opacity:1}to{transform:translateY(30vh) scale(0);opacity:0}}@keyframes _ngcontent-%COMP%_firework-explode{0%{transform:scale(0);opacity:0}50%{transform:scale(1);opacity:.8}to{transform:scale(1.5);opacity:0}}.dialog-content[_ngcontent-%COMP%]{position:relative;z-index:2;padding:20px;max-width:100%;margin:0 auto;text-align:center;overflow-y:auto;overflow-x:hidden;flex:1;max-height:calc(85vh - 40px)}.dialog-content[_ngcontent-%COMP%]::-webkit-scrollbar{width:6px}.dialog-content[_ngcontent-%COMP%]::-webkit-scrollbar-track{background:var(--df-surface-2)}.dialog-content[_ngcontent-%COMP%]::-webkit-scrollbar-thumb{background:var(--df-border);border-radius:3px}.dialog-content[_ngcontent-%COMP%]::-webkit-scrollbar-thumb:hover{background:var(--df-text-faint)}.success-header[_ngcontent-%COMP%]{text-align:center;margin-bottom:16px;animation:_ngcontent-%COMP%_fadeInDown .6s ease-out}.success-icon-wrapper[_ngcontent-%COMP%]{position:relative;width:64px;height:64px;margin:0 auto 16px}.success-icon-wrapper[_ngcontent-%COMP%] .rocket-icon[_ngcontent-%COMP%]{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);font-size:32px;color:var(--df-accent);z-index:2;animation:_ngcontent-%COMP%_rocket-launch 2s ease-in-out infinite}.success-icon-wrapper[_ngcontent-%COMP%] .success-circle[_ngcontent-%COMP%]{position:absolute;width:100%;height:100%;border-radius:50%;background:var(--df-accent);opacity:.1;animation:_ngcontent-%COMP%_pulse-circle 2s ease-in-out infinite}@keyframes _ngcontent-%COMP%_rocket-launch{0%,to{transform:translate(-50%,-50%) translateY(0)}50%{transform:translate(-50%,-50%) translateY(-5px)}}@keyframes _ngcontent-%COMP%_pulse-circle{0%,to{transform:scale(1);opacity:.1}50%{transform:scale(1.2);opacity:.2}}.celebration-title[_ngcontent-%COMP%]{font-size:2rem;font-weight:650;letter-spacing:-.015em;color:var(--df-text);margin:0 0 6px;animation:_ngcontent-%COMP%_bounce-in .8s ease-out;text-align:center}.celebration-subtitle[_ngcontent-%COMP%]{font-size:1.4rem;color:var(--df-text-2);margin:0;text-align:center}.steps-container[_ngcontent-%COMP%]{margin:12px 0;text-align:left;padding:0 8px}.steps-title[_ngcontent-%COMP%]{font-size:11px;font-weight:600;text-transform:uppercase;letter-spacing:.06em;color:var(--df-text-muted);margin-bottom:12px;text-align:center}.steps-timeline[_ngcontent-%COMP%]{position:relative;padding-left:52px;max-width:450px;margin:0 auto}.step-item[_ngcontent-%COMP%]{position:relative;display:flex;align-items:flex-start;margin-bottom:12px;opacity:0;transform:translate(-20px);transition:all .5s ease-out}.step-item.revealed[_ngcontent-%COMP%]{opacity:1;transform:translate(0)}.step-item.pulse-animation[_ngcontent-%COMP%] .step-icon[_ngcontent-%COMP%]{animation:_ngcontent-%COMP%_icon-pulse .6s ease-out}.step-item[_ngcontent-%COMP%] .step-connector[_ngcontent-%COMP%]{position:absolute;left:-35px;top:36px;width:2px;height:36px;background:var(--df-border)}.step-icon[_ngcontent-%COMP%]{position:absolute;left:-52px;width:36px;height:36px;border-radius:50%;background:var(--df-accent);display:flex;align-items:center;justify-content:center;color:var(--df-accent-contrast);font-size:16px;flex-shrink:0}@keyframes _ngcontent-%COMP%_icon-pulse{0%{transform:scale(1)}50%{transform:scale(1.2)}to{transform:scale(1)}}.step-content[_ngcontent-%COMP%]{margin-left:0;flex:1}.step-title[_ngcontent-%COMP%]{font-size:1.4rem;font-weight:500;color:var(--df-text);margin:0 0 3px}.step-description[_ngcontent-%COMP%]{font-size:1.3rem;color:var(--df-text-2);margin:0 0 6px;line-height:1.4}.step-timing[_ngcontent-%COMP%]{display:inline-flex;align-items:center;gap:4px;font-size:1.2rem;color:var(--df-success);font-weight:500}.step-timing[_ngcontent-%COMP%] .timing-icon[_ngcontent-%COMP%]{font-size:1.2rem}.api-connection-section[_ngcontent-%COMP%]{margin:12px auto;padding:14px;background:var(--df-surface-2);border:1px solid var(--df-border);border-radius:var(--df-radius);animation:_ngcontent-%COMP%_slideUp .5s ease-out;max-width:480px}.endpoint-preview[_ngcontent-%COMP%]{margin-bottom:12px;padding-bottom:10px;border-bottom:1px solid var(--df-border-2)}.endpoint-label[_ngcontent-%COMP%]{font-size:1.4rem;font-weight:500;color:var(--df-text);margin-bottom:10px;display:flex;align-items:center;gap:8px}.endpoint-label[_ngcontent-%COMP%] .endpoint-icon[_ngcontent-%COMP%]{color:var(--df-accent);font-size:16px}.endpoint-display[_ngcontent-%COMP%]{position:relative}.endpoint-display[_ngcontent-%COMP%] code[_ngcontent-%COMP%]{display:block;padding:12px 16px;background:var(--df-code-bg);border:1px solid var(--df-border-2);border-radius:var(--df-radius-sm);font-family:SFMono-Regular,Menlo,Consolas,monospace;font-size:1.3rem;color:var(--df-code-text);overflow-x:auto;margin-bottom:4px}.endpoint-display[_ngcontent-%COMP%] .endpoint-hint[_ngcontent-%COMP%]{font-size:1.1rem;color:var(--df-text-faint);font-style:italic}.api-key-subsection[_ngcontent-%COMP%]{margin-bottom:10px}.api-key-label[_ngcontent-%COMP%]{font-size:1.4rem;font-weight:500;color:var(--df-text);margin-bottom:10px;display:flex;align-items:center;gap:8px}.api-key-label[_ngcontent-%COMP%] .key-icon[_ngcontent-%COMP%]{color:var(--df-accent);font-size:16px}.api-key-display[_ngcontent-%COMP%]{display:flex;align-items:center;gap:8px}.api-key-display[_ngcontent-%COMP%] code[_ngcontent-%COMP%]{flex:1;padding:10px 14px;background:var(--df-code-bg);border:1px solid var(--df-border-2);border-radius:var(--df-radius-sm);font-family:SFMono-Regular,Menlo,Consolas,monospace;font-size:1.3rem;color:var(--df-code-text);overflow-x:auto}.api-key-display[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{transition:all .2s ease}.api-key-display[_ngcontent-%COMP%] button[_ngcontent-%COMP%] fa-icon[_ngcontent-%COMP%]{font-size:16px;color:var(--df-text-2);transition:color .2s ease}.api-key-display[_ngcontent-%COMP%] button[_ngcontent-%COMP%]:hover fa-icon[_ngcontent-%COMP%]{color:var(--df-accent)}.usage-hint[_ngcontent-%COMP%]{display:flex;align-items:flex-start;gap:8px;padding:10px;background:var(--df-accent-soft);border-radius:var(--df-radius-sm);font-size:1.2rem;color:var(--df-text-2);line-height:1.4}.usage-hint[_ngcontent-%COMP%] .info-icon[_ngcontent-%COMP%]{color:var(--df-accent);font-size:14px;margin-top:1px}.dialog-actions[_ngcontent-%COMP%]{text-align:center;margin-top:12px;padding-bottom:8px;animation:_ngcontent-%COMP%_fadeIn .5s ease-out}.test-api-button[_ngcontent-%COMP%]{padding:10px 28px;font-size:1.5rem;font-weight:500;letter-spacing:.3px;margin-bottom:10px;min-width:200px}.test-api-button[_ngcontent-%COMP%] .button-icon[_ngcontent-%COMP%]{margin-right:8px;font-size:18px}.test-api-button[_ngcontent-%COMP%] .countdown[_ngcontent-%COMP%]{margin-left:8px;opacity:.7;font-size:1.4rem}.explore-later-button[_ngcontent-%COMP%]{font-size:1.4rem;color:var(--df-text-2)}.explore-later-button[_ngcontent-%COMP%]:hover{background:var(--df-hover)}.auto-redirect-note[_ngcontent-%COMP%]{margin-top:10px;font-size:1.2rem;color:var(--df-text-faint);text-align:center}@keyframes _ngcontent-%COMP%_fadeInDown{0%{opacity:0;transform:translateY(-20px)}to{opacity:1;transform:translateY(0)}}@keyframes _ngcontent-%COMP%_fadeIn{0%{opacity:0}to{opacity:1}}@keyframes _ngcontent-%COMP%_slideUp{0%{opacity:0;transform:translateY(20px)}to{opacity:1;transform:translateY(0)}}@keyframes _ngcontent-%COMP%_bounce-in{0%{transform:scale(.8);opacity:0}50%{transform:scale(1.05)}to{transform:scale(1);opacity:1}}']})}}return n})();var Ce=g(57588),en=g(39258),tn=g(82444),pe=g(10056);function Xa(n,a){if(1&n){const t=e.RV6();e.j41(0,"div",11)(1,"mat-button-toggle-group",12),e.bIt("click",function(i){return i.stopPropagation()})("change",function(i){e.eBV(t);const r=e.XpG().$implicit,c=e.XpG();return e.Njj(c.onAccessLevelChange(r,i.value))}),e.j41(2,"mat-button-toggle",13)(3,"span",14),e.nrm(4,"fa-icon",15),e.k0s(),e.EFF(5," Read Only "),e.k0s(),e.j41(6,"mat-button-toggle",16)(7,"span",14),e.nrm(8,"fa-icon",15),e.k0s(),e.EFF(9," Read & Write "),e.k0s(),e.j41(10,"mat-button-toggle",17)(11,"span",14),e.nrm(12,"fa-icon",15),e.k0s(),e.EFF(13," Full Access "),e.k0s()()()}if(2&n){const t=e.XpG().$implicit,o=e.XpG();e.R7$(1),e.Y8G("value",t.selected?t.level:null)("disabled",!t.selected),e.R7$(3),e.Y8G("icon",o.faEye),e.R7$(4),e.Y8G("icon",o.faPen),e.R7$(4),e.Y8G("icon",o.faLockOpen)}}function za(n,a){if(1&n){const t=e.RV6();e.j41(0,"mat-card",6),e.bIt("click",function(){const r=e.eBV(t).$implicit,c=e.XpG();return e.Njj(c.toggleCard(r))}),e.j41(1,"div",7)(2,"div",8),e.EFF(3),e.k0s(),e.j41(4,"div",9),e.EFF(5),e.k0s()(),e.DNE(6,Xa,14,5,"div",10),e.k0s()}if(2&n){const t=a.$implicit;e.AVh("selected",t.selected)("read-level",t.selected&&"read"===t.level)("write-level",t.selected&&"write"===t.level)("full-level",t.selected&&"full"===t.level),e.R7$(3),e.JRh(t.label),e.R7$(2),e.JRh(t.description),e.R7$(1),e.Y8G("ngIf","fullAccess"!==t.key)}}let Ba=(()=>{class n{constructor(t,o,i,r,c){this.router=t,this.snackBar=o,this.systemService=i,this.snackbarService=r,this.dialog=c,this.serviceName="",this.serviceId=null,this.isDatabase=!1,this.isFirstTimeUser=!1,this.goBack=new e.bkB,this.faEye=b.pS3,this.faPen=b.hpd,this.faLockOpen=b.pNp,this.securityConfigurations=[],this.accessOptions=[]}ngOnInit(){this.initializeAccessOptions()}initializeAccessOptions(){this.accessOptions=[{key:"fullAccess",label:"Full Access",description:"Grant complete access to all database components",selected:!1,level:"read"},{key:"schemaAccess",label:"Schema Access",description:"Configure access to specific database schemas",selected:!1,level:"read"},{key:"tableAccess",label:"Table Access",description:"Manage access to individual database tables",selected:!1,level:"read"},{key:"storedProcedures",label:"Stored Procedures",description:"Control access to stored procedures",selected:!1,level:"read"},{key:"functions",label:"Functions",description:"Set access levels for database functions",selected:!1,level:"read"}]}toggleCard(t){if("fullAccess"===t.key)t.selected||this.accessOptions.forEach(o=>{"fullAccess"!==o.key&&o.selected&&(o.selected=!1,this.removeSecurityConfiguration(o.key))});else{const o=this.accessOptions.find(i=>"fullAccess"===i.key);o&&o.selected&&(o.selected=!1,this.removeSecurityConfiguration(o.key))}t.selected=!t.selected,t.selected?this.addSecurityConfiguration(t):this.removeSecurityConfiguration(t.key)}addSecurityConfiguration(t){let o="",i="";switch(t.key){case"fullAccess":o="all",i="*";break;case"schemaAccess":o="schema",i="_schema/*";break;case"tableAccess":o="tables",i="_table/*";break;case"storedProcedures":o="procedures",i="_proc/*";break;case"functions":o="functions",i="_func/*"}const r={accessType:o,accessLevel:t.level,component:i};this.securityConfigurations.push(r),console.log("Added security configuration:",r),console.log("All configurations:",this.securityConfigurations)}removeSecurityConfiguration(t){const o=this.securityConfigurations.findIndex(i=>{switch(t){case"fullAccess":return"all"===i.accessType;case"schemaAccess":return"schema"===i.accessType;case"tableAccess":return"tables"===i.accessType;case"storedProcedures":return"procedures"===i.accessType;case"functions":return"functions"===i.accessType;default:return!1}});if(-1!==o){const i=this.securityConfigurations.splice(o,1)[0];console.log("Removed security configuration:",i),console.log("Remaining configurations:",this.securityConfigurations)}}onAccessLevelChange(t,o){t.level=o;const i=this.securityConfigurations.findIndex(r=>{switch(t.key){case"fullAccess":return"all"===r.accessType;case"schemaAccess":return"schema"===r.accessType;case"tableAccess":return"tables"===r.accessType;case"storedProcedures":return"procedures"===r.accessType;case"functions":return"functions"===r.accessType;default:return!1}});-1!==i&&(this.securityConfigurations[i].accessLevel=o,console.log("Updated access level for configuration:",this.securityConfigurations[i]))}handleGoBack(){console.log("Back button clicked"),this.goBack.emit()}isSecurityConfigValid(){if(!this.accessOptions.some(o=>o.selected)||0===this.securityConfigurations.length)return!1;for(const o of this.securityConfigurations){if(!o.accessType||!o.accessLevel||!o.component)return!1;if("all"===o.accessType){if("*"!==o.component)return!1}else if(!o.component.includes("/*"))return!1}return!0}saveSecurityConfig(){if(!this.isSecurityConfigValid())return void this.snackbarService.openSnackBar("Please select at least one access option and ensure all required fields are filled","error");if(!this.serviceId)return void this.snackBar.open("No service ID found. Please try again.","Close",{duration:3e3});const t=this.formatServiceName(this.serviceName),o=`${this.serviceName}_auto_role`,i=this.securityConfigurations.map(c=>({service_id:this.serviceId,component:c.component,verb_mask:this.getAccessLevel(c.accessLevel),requestor_mask:3,filters:[],filter_op:"AND"})),r={resource:[{name:o,description:`Auto-generated role for service ${this.serviceName}`,is_active:!0,role_service_access_by_role_id:i,user_to_app_to_role_by_role_id:[]}]};console.log("Creating role with multiple configurations:",r),this.systemService.post("role",r).pipe((0,I.W)(c=>(0,we.$)(()=>c)),(0,Ce.n)(c=>c?.resource?.[0]?.id?this.systemService.post("app?fields=*&related=role_by_role_id",{resource:[{name:`${this.serviceName}_app`,description:`Auto-generated app for service ${this.serviceName}`,type:"0",role_id:c.resource[0].id,is_active:!0,url:null,storage_service_id:null,storage_container:null,path:null}]}).pipe((0,I.W)(p=>(this.snackBar.open(`Error creating app: ${(0,De.cQ)(p).message}`,"Close",{duration:5e3}),(0,we.$)(()=>p))),(0,X.T)(p=>{if(!p?.resource?.[0])throw new Error("App response missing resource array");const f=p.resource[0];if(!f.apiKey)throw new Error("App response missing apiKey");return{apiKey:f.apiKey,formattedName:t}}),(0,I.W)(p=>(0,we.$)(()=>p))):(0,we.$)(()=>new Error("Invalid role response"))),(0,X.T)(c=>{if(!c?.apiKey)throw new Error("Invalid app response");return{apiKey:c.apiKey,formattedName:t}})).subscribe({next:c=>{navigator.clipboard?navigator.clipboard.writeText(c.apiKey).then(()=>{this.snackbarService.openSnackBar(`API Created with ${this.securityConfigurations.length} security configuration(s) and API Key copied to clipboard`,"success")}).catch(()=>{this.snackbarService.openSnackBar(`API Created with ${this.securityConfigurations.length} security configuration(s), but failed to copy API Key`,"success")}):this.snackbarService.openSnackBar(`API Created with ${this.securityConfigurations.length} security configuration(s), but failed to copy API Key`,"success"),this.isFirstTimeUser&&this.isDatabase?this.dialog.open(Va,{width:"550px",maxWidth:"90vw",maxHeight:"85vh",disableClose:!0,panelClass:"celebration-dialog-container",data:{serviceName:c.formattedName,apiKey:c.apiKey,isFirstTime:!0}}):this.router.navigateByUrl(`/api-connections/api-docs/${c.formattedName}`,{replaceUrl:!0}).then(s=>{s||this.router.navigate(["api-connections","api-docs",c.formattedName],{replaceUrl:!0})})},error:c=>{this.snackbarService.openSnackBar("Error saving security configuration","error")}})}getAccessLevel(t){switch(t){case"read":return 1;case"write":return 7;case"full":return 15;default:return 0}}formatServiceName(t){return t.toLowerCase().replace(/\s+/g,"").replace(/[^a-z0-9_-]/g,"")}static{this.\u0275fac=function(o){return new(o||n)(e.rXU(j.Ix),e.rXU(en.UG),e.rXU(tn.D),e.rXU(pe.L),e.rXU(h.bZ))}}static{this.\u0275cmp=e.VBU({type:n,selectors:[["df-security-config"]],inputs:{serviceName:"serviceName",serviceId:"serviceId",isDatabase:"isDatabase",isFirstTimeUser:"isFirstTimeUser"},outputs:{goBack:"goBack"},standalone:!0,features:[e.aNF],decls:10,vars:2,consts:[[1,"security-config-wrapper"],[1,"security-cards-container"],["class","security-option-card",3,"selected","read-level","write-level","full-level","click",4,"ngFor","ngForOf"],[1,"action-buttons"],["mat-stroked-button","",3,"click"],["mat-flat-button","","color","primary","type","button",3,"disabled","click"],[1,"security-option-card",3,"click"],[1,"card-header"],[1,"card-title"],[1,"card-description"],["class","toggle-container",4,"ngIf"],[1,"toggle-container"],["appearance","legacy",1,"access-toggle-group",3,"value","disabled","click","change"],["value","read",1,"read-toggle"],[1,"toggle-icon"],[3,"icon"],["value","write",1,"write-toggle"],["value","full",1,"full-toggle"]],template:function(o,i){1&o&&(e.j41(0,"div",0)(1,"h3"),e.EFF(2,"Security Configuration"),e.k0s(),e.j41(3,"div",1),e.DNE(4,za,7,11,"mat-card",2),e.k0s(),e.j41(5,"div",3)(6,"button",4),e.bIt("click",function(){return i.handleGoBack()}),e.EFF(7,"Back"),e.k0s(),e.j41(8,"button",5),e.bIt("click",function(){return i.saveSecurityConfig()}),e.EFF(9," Apply Security Configuration "),e.k0s()()()),2&o&&(e.R7$(4),e.Y8G("ngForOf",i.accessOptions),e.R7$(4),e.Y8G("disabled",!i.isSecurityConfigValid()))},dependencies:[d.MD,d.Sq,d.bT,m.YN,Te.Hu,Te.RN,Se.Vg,Se.ec,Se.pc,u.Hl,u.$z,L.g7,U.m_,w.dX,w.aY],styles:[".security-config-wrapper[_ngcontent-%COMP%]{padding:24px;max-width:1200px;margin:0 auto}.security-config-wrapper[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{margin-bottom:24px;font-size:24px;font-weight:600;color:#1976d2;text-align:center}.security-cards-container[_ngcontent-%COMP%]{display:grid;grid-template-columns:repeat(auto-fit,minmax(320px,1fr));gap:20px;margin-bottom:32px}@media (max-width: 768px){.security-cards-container[_ngcontent-%COMP%]{grid-template-columns:1fr;gap:16px}}@media (min-width: 769px) and (max-width: 1024px){.security-cards-container[_ngcontent-%COMP%]{grid-template-columns:repeat(2,1fr)}}@media (min-width: 1025px){.security-cards-container[_ngcontent-%COMP%]{grid-template-columns:repeat(3,1fr)}}.security-option-card[_ngcontent-%COMP%]{padding:20px;cursor:pointer;border:2px solid #e0e0e0;border-radius:12px;transition:all .3s cubic-bezier(.4,0,.2,1);background:linear-gradient(135deg,#ffffff 0%,#f8f9fa 100%);position:relative;overflow:hidden}.security-option-card[_ngcontent-%COMP%]:hover{transform:translateY(-2px);box-shadow:0 8px 25px #0000001a;border-color:#1976d2}.security-option-card.selected[_ngcontent-%COMP%]{border-color:#1976d2;box-shadow:0 4px 20px #1976d226}.security-option-card.selected.read-level[_ngcontent-%COMP%]{border-color:#2196f3;background:linear-gradient(135deg,#e3f2fd 0%,#bbdefb 100%)}.security-option-card.selected.write-level[_ngcontent-%COMP%]{border-color:#fbc02d;background:linear-gradient(135deg,#fffde7 0%,#fff9c4 100%)}.security-option-card.selected.full-level[_ngcontent-%COMP%]{border-color:#43a047;background:linear-gradient(135deg,#e8f5e9 0%,#c8e6c9 100%)}.security-option-card[_ngcontent-%COMP%] .card-header[_ngcontent-%COMP%]{margin-bottom:16px}.security-option-card[_ngcontent-%COMP%] .card-header[_ngcontent-%COMP%] .card-title[_ngcontent-%COMP%]{font-weight:600;font-size:18px;margin-bottom:8px;color:#333}.security-option-card[_ngcontent-%COMP%] .card-header[_ngcontent-%COMP%] .card-description[_ngcontent-%COMP%]{font-size:14px;color:#666;line-height:1.5}.security-option-card[_ngcontent-%COMP%] .toggle-container[_ngcontent-%COMP%] .access-level-label[_ngcontent-%COMP%]{font-size:12px;font-weight:600;color:#666;margin-bottom:8px;text-transform:uppercase;letter-spacing:.5px}.security-option-card[_ngcontent-%COMP%] .toggle-container[_ngcontent-%COMP%] .access-toggle-group[_ngcontent-%COMP%]{display:flex;flex-wrap:wrap;gap:4px;box-shadow:none}.security-option-card[_ngcontent-%COMP%] .toggle-container[_ngcontent-%COMP%] .access-toggle-group[_ngcontent-%COMP%] .mat-button-toggle-checked[_ngcontent-%COMP%]{color:#666}.security-option-card[_ngcontent-%COMP%] .toggle-container[_ngcontent-%COMP%] .access-toggle-group[_ngcontent-%COMP%] .mat-button-toggle[_ngcontent-%COMP%]{background-color:#eee;font-size:12px;padding:6px 12px;width:100%;border-radius:6px;transition:all .2s ease}@media (max-width: 768px){.security-option-card[_ngcontent-%COMP%] .toggle-container[_ngcontent-%COMP%] .access-toggle-group[_ngcontent-%COMP%] .mat-button-toggle[_ngcontent-%COMP%]{width:150px}}.security-option-card[_ngcontent-%COMP%] .toggle-container[_ngcontent-%COMP%] .access-toggle-group[_ngcontent-%COMP%] .mat-button-toggle.mat-button-toggle-disabled[_ngcontent-%COMP%]{opacity:.5;pointer-events:none;background-color:#f5f5f5;color:#999;border-color:#ddd}.security-option-card[_ngcontent-%COMP%] .toggle-container[_ngcontent-%COMP%] .access-toggle-group[_ngcontent-%COMP%] .mat-button-toggle[_ngcontent-%COMP%] .toggle-icon[_ngcontent-%COMP%]{margin-right:4px;font-size:14px}.security-option-card[_ngcontent-%COMP%] .toggle-container[_ngcontent-%COMP%] .access-toggle-group[_ngcontent-%COMP%] .mat-button-toggle.read-toggle.mat-button-toggle-checked[_ngcontent-%COMP%]{background-color:#2196f3;color:#fff}.security-option-card[_ngcontent-%COMP%] .toggle-container[_ngcontent-%COMP%] .access-toggle-group[_ngcontent-%COMP%] .mat-button-toggle.write-toggle.mat-button-toggle-checked[_ngcontent-%COMP%]{background-color:#fbc02d;color:#fff}.security-option-card[_ngcontent-%COMP%] .toggle-container[_ngcontent-%COMP%] .access-toggle-group[_ngcontent-%COMP%] .mat-button-toggle.full-toggle.mat-button-toggle-checked[_ngcontent-%COMP%]{background-color:#43a047;color:#fff}.action-buttons[_ngcontent-%COMP%]{display:flex;justify-content:flex-end;gap:12px;margin-top:24px;padding-top:16px;border-top:1px solid #e0e0e0}"]})}}return n})();var _t=g(20271),se=g(84246),La=g(83801),nn=g(31933),Ua=g(67261);let gt=class Bt{constructor(a,t,o,i,r){this.dialog=a,this.fileService=t,this.cacheService=o,this.baseService=i,this.themeService=r,this.storageServices=[],this.checked=!1,this.isDarkMode=this.themeService.darkMode$,this.baseService.getAll({additionalParams:[{key:"group",value:"source control,file"}]}).subscribe(c=>{this.storageServices=c.services})}ngOnInit(){this.content.setValue(this.contentText)}fileUpload(a){const t=a.target;t.files&&(0,nn.Sj)(t.files[0]).subscribe(o=>{this.content.setValue(o)})}githubImport(){this.dialog.open(Ua.z).afterClosed().subscribe(t=>{t&&this.content.setValue(window.atob(t.data.content))})}static{this.\u0275fac=function(t){return new(t||Bt)(e.rXU(h.bZ),e.rXU(q.qJ),e.rXU(q.j8),e.rXU(q.qJ),e.rXU(Ue.n))}}static{this.\u0275cmp=e.VBU({type:Bt,selectors:[["df-file-github"]],inputs:{cache:"cache",type:"type",contentText:"contentText",content:"content"},standalone:!0,features:[e.aNF],decls:11,vars:8,consts:[[1,"details-section"],[1,"actions","full-width"],["type","file",2,"display","none",3,"accept","change"],["fileInput",""],["type","button","mat-flat-button","",1,"save-btn",3,"click"],[1,"full-width",3,"formControl","mode"]],template:function(t,o){if(1&t){const i=e.RV6();e.j41(0,"div",0)(1,"div",1)(2,"input",2,3),e.bIt("change",function(c){return o.fileUpload(c)}),e.k0s(),e.j41(4,"button",4),e.bIt("click",function(){e.eBV(i);const c=e.sdS(3);return e.Njj(c.click())}),e.EFF(5),e.nI1(6,"transloco"),e.k0s(),e.j41(7,"button",4),e.bIt("click",function(){return o.githubImport()}),e.EFF(8),e.nI1(9,"transloco"),e.k0s()(),e.nrm(10,"df-ace-editor",5),e.k0s()}2&t&&(e.R7$(5),e.SpI(" ",e.bMT(6,4,"desktopFile")," "),e.R7$(3),e.SpI(" ",e.bMT(9,6,"githubFile")," "),e.R7$(2),e.Y8G("formControl",o.content)("mode",o.type.getRawValue()))},dependencies:[u.Hl,u.$z,R.Kj,O.RG,D.Ve,L.g7,m.YN,m.BC,h.hM,$.fS,Qt.s,m.X1,m.l_],styles:[".actions[_ngcontent-%COMP%]{display:flex;gap:16px}"]})}};gt=(0,ae.Cg)([(0,W.d)({checkProperties:!0})],gt);var qa=g(40426),K=g(48444),Re=g(17612),Ja=g(58359),ie=g(87621),ft=g(86953),on=g(83607),ut=g(10165),Ie=g(8275),ht=g(25150),Ka=g(29094);function Ha(n,a){1&n&&e.SdG(0)}const Wa=["*"];let an=(()=>{class n{constructor(t){this._elementRef=t}focus(){this._elementRef.nativeElement.focus()}static{this.\u0275fac=function(o){return new(o||n)(e.rXU(e.aKT))}}static{this.\u0275dir=e.FsC({type:n,selectors:[["","cdkStepHeader",""]],hostAttrs:["role","tab"]})}}return n})(),rn=(()=>{class n{constructor(t){this.template=t}static{this.\u0275fac=function(o){return new(o||n)(e.rXU(e.C4Q))}}static{this.\u0275dir=e.FsC({type:n,selectors:[["","cdkStepLabel",""]]})}}return n})(),Qa=0;const cn=new e.nKC("STEPPER_GLOBAL_OPTIONS");let bt=(()=>{class n{get editable(){return this._editable}set editable(t){this._editable=(0,Ie.he)(t)}get optional(){return this._optional}set optional(t){this._optional=(0,Ie.he)(t)}get completed(){return null==this._completedOverride?this._getDefaultCompleted():this._completedOverride}set completed(t){this._completedOverride=(0,Ie.he)(t)}_getDefaultCompleted(){return this.stepControl?this.stepControl.valid&&this.interacted:this.interacted}get hasError(){return null==this._customError?this._getDefaultError():this._customError}set hasError(t){this._customError=(0,Ie.he)(t)}_getDefaultError(){return this.stepControl&&this.stepControl.invalid&&this.interacted}constructor(t,o){this._stepper=t,this.interacted=!1,this.interactedStream=new e.bkB,this._editable=!0,this._optional=!1,this._completedOverride=null,this._customError=null,this._stepperOptions=o||{},this._displayDefaultIndicatorType=!1!==this._stepperOptions.displayDefaultIndicatorType}select(){this._stepper.selected=this}reset(){this.interacted=!1,null!=this._completedOverride&&(this._completedOverride=!1),null!=this._customError&&(this._customError=!1),this.stepControl&&this.stepControl.reset()}ngOnChanges(){this._stepper._stateChanged()}_markAsInteracted(){this.interacted||(this.interacted=!0,this.interactedStream.emit(this))}_showError(){return this._stepperOptions.showError??null!=this._customError}static{this.\u0275fac=function(o){return new(o||n)(e.rXU((0,e.Rfq)(()=>Ye)),e.rXU(cn,8))}}static{this.\u0275cmp=e.VBU({type:n,selectors:[["cdk-step"]],contentQueries:function(o,i,r){if(1&o&&e.wni(r,rn,5),2&o){let c;e.mGM(c=e.lsd())&&(i.stepLabel=c.first)}},viewQuery:function(o,i){if(1&o&&e.GBs(e.C4Q,7),2&o){let r;e.mGM(r=e.lsd())&&(i.content=r.first)}},inputs:{stepControl:"stepControl",label:"label",errorMessage:"errorMessage",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],state:"state",editable:"editable",optional:"optional",completed:"completed",hasError:"hasError"},outputs:{interactedStream:"interacted"},exportAs:["cdkStep"],features:[e.OA$],ngContentSelectors:Wa,decls:1,vars:0,template:function(o,i){1&o&&(e.NAR(),e.DNE(0,Ha,1,0,"ng-template"))},encapsulation:2,changeDetection:0})}}return n})(),Ye=(()=>{class n{get linear(){return this._linear}set linear(t){this._linear=(0,Ie.he)(t)}get selectedIndex(){return this._selectedIndex}set selectedIndex(t){const o=(0,Ie.OE)(t);this.steps&&this._steps?(this._isValidIndex(o),this.selected?._markAsInteracted(),this._selectedIndex!==o&&!this._anyControlsInvalidOrPending(o)&&(o>=this._selectedIndex||this.steps.toArray()[o].editable)&&this._updateSelectedItemIndex(o)):this._selectedIndex=o}get selected(){return this.steps?this.steps.toArray()[this.selectedIndex]:void 0}set selected(t){this.selectedIndex=t&&this.steps?this.steps.toArray().indexOf(t):-1}get orientation(){return this._orientation}set orientation(t){this._orientation=t,this._keyManager&&this._keyManager.withVerticalOrientation("vertical"===t)}constructor(t,o,i){this._dir=t,this._changeDetectorRef=o,this._elementRef=i,this._destroyed=new xe.B,this.steps=new e.rOR,this._sortedHeaders=new e.rOR,this._linear=!1,this._selectedIndex=0,this.selectionChange=new e.bkB,this.selectedIndexChange=new e.bkB,this._orientation="horizontal",this._groupId=Qa++}ngAfterContentInit(){this._steps.changes.pipe((0,je.Z)(this._steps),(0,he.Q)(this._destroyed)).subscribe(t=>{this.steps.reset(t.filter(o=>o._stepper===this)),this.steps.notifyOnChanges()})}ngAfterViewInit(){this._stepHeader.changes.pipe((0,je.Z)(this._stepHeader),(0,he.Q)(this._destroyed)).subscribe(t=>{this._sortedHeaders.reset(t.toArray().sort((o,i)=>o._elementRef.nativeElement.compareDocumentPosition(i._elementRef.nativeElement)&Node.DOCUMENT_POSITION_FOLLOWING?-1:1)),this._sortedHeaders.notifyOnChanges()}),this._keyManager=new on.Bu(this._sortedHeaders).withWrap().withHomeAndEnd().withVerticalOrientation("vertical"===this._orientation),(this._dir?this._dir.change:(0,B.of)()).pipe((0,je.Z)(this._layoutDirection()),(0,he.Q)(this._destroyed)).subscribe(t=>this._keyManager.withHorizontalOrientation(t)),this._keyManager.updateActiveItem(this._selectedIndex),this.steps.changes.subscribe(()=>{this.selected||(this._selectedIndex=Math.max(this._selectedIndex-1,0))}),this._isValidIndex(this._selectedIndex)||(this._selectedIndex=0)}ngOnDestroy(){this._keyManager?.destroy(),this.steps.destroy(),this._sortedHeaders.destroy(),this._destroyed.next(),this._destroyed.complete()}next(){this.selectedIndex=Math.min(this._selectedIndex+1,this.steps.length-1)}previous(){this.selectedIndex=Math.max(this._selectedIndex-1,0)}reset(){this._updateSelectedItemIndex(0),this.steps.forEach(t=>t.reset()),this._stateChanged()}_getStepLabelId(t){return`cdk-step-label-${this._groupId}-${t}`}_getStepContentId(t){return`cdk-step-content-${this._groupId}-${t}`}_stateChanged(){this._changeDetectorRef.markForCheck()}_getAnimationDirection(t){const o=t-this._selectedIndex;return o<0?"rtl"===this._layoutDirection()?"next":"previous":o>0?"rtl"===this._layoutDirection()?"previous":"next":"current"}_getIndicatorType(t,o="number"){const i=this.steps.toArray()[t],r=this._isCurrentStep(t);return i._displayDefaultIndicatorType?this._getDefaultIndicatorLogic(i,r):this._getGuidelineLogic(i,r,o)}_getDefaultIndicatorLogic(t,o){return t._showError()&&t.hasError&&!o?"error":!t.completed||o?"number":t.editable?"edit":"done"}_getGuidelineLogic(t,o,i="number"){return t._showError()&&t.hasError&&!o?"error":t.completed&&!o?"done":t.completed&&o?i:t.editable&&o?"edit":i}_isCurrentStep(t){return this._selectedIndex===t}_getFocusIndex(){return this._keyManager?this._keyManager.activeItemIndex:this._selectedIndex}_updateSelectedItemIndex(t){const o=this.steps.toArray();this.selectionChange.emit({selectedIndex:t,previouslySelectedIndex:this._selectedIndex,selectedStep:o[t],previouslySelectedStep:o[this._selectedIndex]}),this._containsFocus()?this._keyManager.setActiveItem(t):this._keyManager.updateActiveItem(t),this._selectedIndex=t,this.selectedIndexChange.emit(this._selectedIndex),this._stateChanged()}_onKeydown(t){const o=(0,ht.rp)(t),i=t.keyCode,r=this._keyManager;null==r.activeItemIndex||o||i!==ht.t6&&i!==ht.Fm?r.setFocusOrigin("keyboard").onKeydown(t):(this.selectedIndex=r.activeItemIndex,t.preventDefault())}_anyControlsInvalidOrPending(t){return!!(this._linear&&t>=0)&&this.steps.toArray().slice(0,t).some(o=>{const i=o.stepControl;return(i?i.invalid||i.pending||!o.interacted:!o.completed)&&!o.optional&&!o._completedOverride})}_layoutDirection(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}_containsFocus(){const t=this._elementRef.nativeElement,o=(0,Ka.vc)();return t===o||t.contains(o)}_isValidIndex(t){return t>-1&&(!this.steps||t{class n{constructor(t){this._stepper=t,this.type="submit"}static{this.\u0275fac=function(o){return new(o||n)(e.rXU(Ye))}}static{this.\u0275dir=e.FsC({type:n,selectors:[["button","cdkStepperNext",""]],hostVars:1,hostBindings:function(o,i){1&o&&e.bIt("click",function(){return i._stepper.next()}),2&o&&e.Mr5("type",i.type)},inputs:{type:"type"}})}}return n})(),er=(()=>{class n{constructor(t){this._stepper=t,this.type="button"}static{this.\u0275fac=function(o){return new(o||n)(e.rXU(Ye))}}static{this.\u0275dir=e.FsC({type:n,selectors:[["button","cdkStepperPrevious",""]],hostVars:1,hostBindings:function(o,i){1&o&&e.bIt("click",function(){return i._stepper.previous()}),2&o&&e.Mr5("type",i.type)},inputs:{type:"type"}})}}return n})(),tr=(()=>{class n{static{this.\u0275fac=function(o){return new(o||n)}}static{this.\u0275mod=e.$C({type:n})}static{this.\u0275inj=e.G2t({imports:[ut.jI]})}}return n})();var nr=g(52693),or=g(11224),E=g(89411);function ir(n,a){if(1&n&&e.eu8(0,8),2&n){const t=e.XpG();e.Y8G("ngTemplateOutlet",t.iconOverrides[t.state])("ngTemplateOutletContext",t._getIconContext())}}function ar(n,a){if(1&n&&(e.j41(0,"span",13),e.EFF(1),e.k0s()),2&n){const t=e.XpG(2);e.R7$(1),e.JRh(t._getDefaultTextForState(t.state))}}function rr(n,a){if(1&n&&(e.j41(0,"span",14),e.EFF(1),e.k0s()),2&n){const t=e.XpG(2);e.R7$(1),e.JRh(t._intl.completedLabel)}}function cr(n,a){if(1&n&&(e.j41(0,"span",14),e.EFF(1),e.k0s()),2&n){const t=e.XpG(2);e.R7$(1),e.JRh(t._intl.editableLabel)}}function sr(n,a){if(1&n&&(e.j41(0,"mat-icon",13),e.EFF(1),e.k0s()),2&n){const t=e.XpG(2);e.R7$(1),e.JRh(t._getDefaultTextForState(t.state))}}function lr(n,a){if(1&n&&(e.qex(0,9),e.DNE(1,ar,2,1,"span",10),e.DNE(2,rr,2,1,"span",11),e.DNE(3,cr,2,1,"span",11),e.DNE(4,sr,2,1,"mat-icon",12),e.bVm()),2&n){const t=e.XpG();e.Y8G("ngSwitch",t.state),e.R7$(1),e.Y8G("ngSwitchCase","number"),e.R7$(1),e.Y8G("ngIf","done"===t.state),e.R7$(1),e.Y8G("ngIf","edit"===t.state)}}function dr(n,a){if(1&n&&(e.j41(0,"div",15),e.eu8(1,16),e.k0s()),2&n){const t=e.XpG();e.R7$(1),e.Y8G("ngTemplateOutlet",t._templateLabel().template)}}function pr(n,a){if(1&n&&(e.j41(0,"div",15),e.EFF(1),e.k0s()),2&n){const t=e.XpG();e.R7$(1),e.JRh(t.label)}}function mr(n,a){if(1&n&&(e.j41(0,"div",17),e.EFF(1),e.k0s()),2&n){const t=e.XpG();e.R7$(1),e.JRh(t._intl.optionalLabel)}}function _r(n,a){if(1&n&&(e.j41(0,"div",18),e.EFF(1),e.k0s()),2&n){const t=e.XpG();e.R7$(1),e.JRh(t.errorMessage)}}function gr(n,a){}function fr(n,a){if(1&n&&(e.SdG(0),e.DNE(1,gr,0,0,"ng-template",0)),2&n){const t=e.XpG();e.R7$(1),e.Y8G("cdkPortalOutlet",t._portal)}}const ur=["*"];function hr(n,a){1&n&&e.nrm(0,"div",11)}const sn=function(n,a){return{step:n,i:a}};function br(n,a){if(1&n&&(e.qex(0),e.eu8(1,9),e.DNE(2,hr,1,0,"div",10),e.bVm()),2&n){const t=a.$implicit,o=a.index,i=a.last;e.XpG(2);const r=e.sdS(4);e.R7$(1),e.Y8G("ngTemplateOutlet",r)("ngTemplateOutletContext",e.l_i(3,sn,t,o)),e.R7$(1),e.Y8G("ngIf",!i)}}const ln=function(n){return{animationDuration:n}},dn=function(n,a){return{value:n,params:a}};function vr(n,a){if(1&n){const t=e.RV6();e.j41(0,"div",12),e.bIt("@horizontalStepTransition.done",function(i){e.eBV(t);const r=e.XpG(2);return e.Njj(r._animationDone.next(i))}),e.eu8(1,13),e.k0s()}if(2&n){const t=a.$implicit,o=a.index,i=e.XpG(2);e.AVh("mat-horizontal-stepper-content-inactive",i.selectedIndex!==o),e.Y8G("@horizontalStepTransition",e.l_i(8,dn,i._getAnimationDirection(o),e.eq3(6,ln,i._getAnimationDuration())))("id",i._getStepContentId(o)),e.BMQ("aria-labelledby",i._getStepLabelId(o)),e.R7$(1),e.Y8G("ngTemplateOutlet",t.content)}}function xr(n,a){if(1&n&&(e.j41(0,"div",4)(1,"div",5),e.DNE(2,br,3,6,"ng-container",6),e.k0s(),e.j41(3,"div",7),e.DNE(4,vr,2,11,"div",8),e.k0s()()),2&n){const t=e.XpG();e.R7$(2),e.Y8G("ngForOf",t.steps),e.R7$(2),e.Y8G("ngForOf",t.steps)}}function Cr(n,a){if(1&n){const t=e.RV6();e.j41(0,"div",15),e.eu8(1,9),e.j41(2,"div",16)(3,"div",17),e.bIt("@verticalStepTransition.done",function(i){e.eBV(t);const r=e.XpG(2);return e.Njj(r._animationDone.next(i))}),e.j41(4,"div",18),e.eu8(5,13),e.k0s()()()()}if(2&n){const t=a.$implicit,o=a.index,i=a.last,r=e.XpG(2),c=e.sdS(4);e.R7$(1),e.Y8G("ngTemplateOutlet",c)("ngTemplateOutletContext",e.l_i(10,sn,t,o)),e.R7$(1),e.AVh("mat-stepper-vertical-line",!i),e.R7$(1),e.AVh("mat-vertical-stepper-content-inactive",r.selectedIndex!==o),e.Y8G("@verticalStepTransition",e.l_i(15,dn,r._getAnimationDirection(o),e.eq3(13,ln,r._getAnimationDuration())))("id",r._getStepContentId(o)),e.BMQ("aria-labelledby",r._getStepLabelId(o)),e.R7$(2),e.Y8G("ngTemplateOutlet",t.content)}}function kr(n,a){if(1&n&&(e.qex(0),e.DNE(1,Cr,6,18,"div",14),e.bVm()),2&n){const t=e.XpG();e.R7$(1),e.Y8G("ngForOf",t.steps)}}function yr(n,a){if(1&n){const t=e.RV6();e.j41(0,"mat-step-header",19),e.bIt("click",function(){const r=e.eBV(t).step;return e.Njj(r.select())})("keydown",function(i){e.eBV(t);const r=e.XpG();return e.Njj(r._onKeydown(i))}),e.k0s()}if(2&n){const t=a.step,o=a.i,i=e.XpG();e.AVh("mat-horizontal-stepper-header","horizontal"===i.orientation)("mat-vertical-stepper-header","vertical"===i.orientation),e.Y8G("tabIndex",i._getFocusIndex()===o?0:-1)("id",i._getStepLabelId(o))("index",o)("state",i._getIndicatorType(o,t.state))("label",t.stepLabel||t.label)("selected",i.selectedIndex===o)("active",i._stepIsNavigable(o,t))("optional",t.optional)("errorMessage",t.errorMessage)("iconOverrides",i._iconOverrides)("disableRipple",i.disableRipple||!i._stepIsNavigable(o,t))("color",t.color||i.color),e.BMQ("aria-posinset",o+1)("aria-setsize",i.steps.length)("aria-controls",i._getStepContentId(o))("aria-selected",i.selectedIndex==o)("aria-label",t.ariaLabel||null)("aria-labelledby",!t.ariaLabel&&t.ariaLabelledby?t.ariaLabelledby:null)("aria-disabled",!i._stepIsNavigable(o,t)||null)}}let Je=(()=>{class n extends rn{static{this.\u0275fac=function(){let t;return function(i){return(t||(t=e.xGo(n)))(i||n)}}()}static{this.\u0275dir=e.FsC({type:n,selectors:[["","matStepLabel",""]],features:[e.Vt3]})}}return n})(),Ke=(()=>{class n{constructor(){this.changes=new xe.B,this.optionalLabel="Optional",this.completedLabel="Completed",this.editableLabel="Editable"}static{this.\u0275fac=function(o){return new(o||n)}}static{this.\u0275prov=e.jDH({token:n,factory:n.\u0275fac,providedIn:"root"})}}return n})();const Or={provide:Ke,deps:[[new e.Xx1,new e.kdw,Ke]],useFactory:function Mr(n){return n||new Ke}},Pr=(0,J.Zc)(class extends an{constructor(a){super(a)}},"primary");let pn=(()=>{class n extends Pr{constructor(t,o,i,r){super(i),this._intl=t,this._focusMonitor=o,this._intlSubscription=t.changes.subscribe(()=>r.markForCheck())}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0)}ngOnDestroy(){this._intlSubscription.unsubscribe(),this._focusMonitor.stopMonitoring(this._elementRef)}focus(t,o){t?this._focusMonitor.focusVia(this._elementRef,t,o):this._elementRef.nativeElement.focus(o)}_stringLabel(){return this.label instanceof Je?null:this.label}_templateLabel(){return this.label instanceof Je?this.label:null}_getHostElement(){return this._elementRef.nativeElement}_getIconContext(){return{index:this.index,active:this.active,optional:this.optional}}_getDefaultTextForState(t){return"number"==t?`${this.index+1}`:"edit"==t?"create":"error"==t?"warning":t}static{this.\u0275fac=function(o){return new(o||n)(e.rXU(Ke),e.rXU(on.FN),e.rXU(e.aKT),e.rXU(e.gRc))}}static{this.\u0275cmp=e.VBU({type:n,selectors:[["mat-step-header"]],hostAttrs:["role","tab",1,"mat-step-header"],inputs:{color:"color",state:"state",label:"label",errorMessage:"errorMessage",iconOverrides:"iconOverrides",index:"index",selected:"selected",active:"active",optional:"optional",disableRipple:"disableRipple"},features:[e.Vt3],decls:10,vars:19,consts:[["matRipple","",1,"mat-step-header-ripple","mat-focus-indicator",3,"matRippleTrigger","matRippleDisabled"],[1,"mat-step-icon-content",3,"ngSwitch"],[3,"ngTemplateOutlet","ngTemplateOutletContext",4,"ngSwitchCase"],[3,"ngSwitch",4,"ngSwitchDefault"],[1,"mat-step-label"],["class","mat-step-text-label",4,"ngIf"],["class","mat-step-optional",4,"ngIf"],["class","mat-step-sub-label-error",4,"ngIf"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],[3,"ngSwitch"],["aria-hidden","true",4,"ngSwitchCase"],["class","cdk-visually-hidden",4,"ngIf"],["aria-hidden","true",4,"ngSwitchDefault"],["aria-hidden","true"],[1,"cdk-visually-hidden"],[1,"mat-step-text-label"],[3,"ngTemplateOutlet"],[1,"mat-step-optional"],[1,"mat-step-sub-label-error"]],template:function(o,i){1&o&&(e.nrm(0,"div",0),e.j41(1,"div")(2,"div",1),e.DNE(3,ir,1,2,"ng-container",2),e.DNE(4,lr,5,4,"ng-container",3),e.k0s()(),e.j41(5,"div",4),e.DNE(6,dr,2,1,"div",5),e.DNE(7,pr,2,1,"div",5),e.DNE(8,mr,2,1,"div",6),e.DNE(9,_r,2,1,"div",7),e.k0s()),2&o&&(e.Y8G("matRippleTrigger",i._getHostElement())("matRippleDisabled",i.disableRipple),e.R7$(1),e.ZvI("mat-step-icon-state-",i.state," mat-step-icon"),e.AVh("mat-step-icon-selected",i.selected),e.R7$(1),e.Y8G("ngSwitch",!(!i.iconOverrides||!i.iconOverrides[i.state])),e.R7$(1),e.Y8G("ngSwitchCase",!0),e.R7$(2),e.AVh("mat-step-label-active",i.active)("mat-step-label-selected",i.selected)("mat-step-label-error","error"==i.state),e.R7$(1),e.Y8G("ngIf",i._templateLabel()),e.R7$(1),e.Y8G("ngIf",i._stringLabel()),e.R7$(1),e.Y8G("ngIf",i.optional&&"error"!=i.state),e.R7$(1),e.Y8G("ngIf","error"==i.state))},dependencies:[d.bT,d.T3,d.ux,d.e1,d.fG,U.An,J.r6],styles:['.mat-step-header{overflow:hidden;outline:none;cursor:pointer;position:relative;box-sizing:content-box;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-step-header:focus .mat-focus-indicator::before{content:""}.mat-step-header:hover[aria-disabled=true]{cursor:default}.mat-step-header:hover:not([aria-disabled]),.mat-step-header:hover[aria-disabled=false]{background-color:var(--mat-stepper-header-hover-state-layer-color)}.mat-step-header.cdk-keyboard-focused,.mat-step-header.cdk-program-focused{background-color:var(--mat-stepper-header-focus-state-layer-color)}@media(hover: none){.mat-step-header:hover{background:none}}.cdk-high-contrast-active .mat-step-header{outline:solid 1px}.cdk-high-contrast-active .mat-step-header[aria-selected=true] .mat-step-label{text-decoration:underline}.cdk-high-contrast-active .mat-step-header[aria-disabled=true]{outline-color:GrayText}.cdk-high-contrast-active .mat-step-header[aria-disabled=true] .mat-step-label,.cdk-high-contrast-active .mat-step-header[aria-disabled=true] .mat-step-icon,.cdk-high-contrast-active .mat-step-header[aria-disabled=true] .mat-step-optional{color:GrayText}.mat-step-optional{font-size:12px;color:var(--mat-stepper-header-optional-label-text-color)}.mat-step-sub-label-error{font-size:12px;font-weight:normal}.mat-step-icon{border-radius:50%;height:24px;width:24px;flex-shrink:0;position:relative;color:var(--mat-stepper-header-icon-foreground-color);background-color:var(--mat-stepper-header-icon-background-color)}.mat-step-icon-content{position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);display:flex}.mat-step-icon .mat-icon{font-size:16px;height:16px;width:16px}.mat-step-icon-state-error{background-color:var(--mat-stepper-header-error-state-icon-background-color);color:var(--mat-stepper-header-error-state-icon-foreground-color)}.mat-step-icon-state-error .mat-icon{font-size:24px;height:24px;width:24px}.mat-step-label{display:inline-block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:50px;vertical-align:middle;font-family:var(--mat-stepper-header-label-text-font);font-size:var(--mat-stepper-header-label-text-size);font-weight:var(--mat-stepper-header-label-text-weight);color:var(--mat-stepper-header-label-text-color)}.mat-step-label.mat-step-label-active{color:var(--mat-stepper-header-selected-state-label-text-color)}.mat-step-label.mat-step-label-error{color:var(--mat-stepper-header-error-state-label-text-color);font-size:var(--mat-stepper-header-error-state-label-text-size)}.mat-step-label.mat-step-label-selected{font-size:var(--mat-stepper-header-selected-state-label-text-size);font-weight:var(--mat-stepper-header-selected-state-label-text-weight)}.mat-step-text-label{text-overflow:ellipsis;overflow:hidden}.mat-step-header .mat-step-header-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-step-icon-selected{background-color:var(--mat-stepper-header-selected-state-icon-background-color);color:var(--mat-stepper-header-selected-state-icon-foreground-color)}.mat-step-icon-state-done{background-color:var(--mat-stepper-header-done-state-icon-background-color);color:var(--mat-stepper-header-done-state-icon-foreground-color)}.mat-step-icon-state-edit{background-color:var(--mat-stepper-header-edit-state-icon-background-color);color:var(--mat-stepper-header-edit-state-icon-foreground-color)}'],encapsulation:2,changeDetection:0})}}return n})();const gn={horizontalStepTransition:(0,E.hZ)("horizontalStepTransition",[(0,E.wk)("previous",(0,E.iF)({transform:"translate3d(-100%, 0, 0)",visibility:"hidden"})),(0,E.wk)("current",(0,E.iF)({transform:"none",visibility:"inherit"})),(0,E.wk)("next",(0,E.iF)({transform:"translate3d(100%, 0, 0)",visibility:"hidden"})),(0,E.kY)("* => *",(0,E.Os)([(0,E.i0)("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)"),(0,E.P)("@*",(0,E.MA)(),{optional:!0})]),{params:{animationDuration:"500ms"}})]),verticalStepTransition:(0,E.hZ)("verticalStepTransition",[(0,E.wk)("previous",(0,E.iF)({height:"0px",visibility:"hidden"})),(0,E.wk)("next",(0,E.iF)({height:"0px",visibility:"hidden"})),(0,E.wk)("current",(0,E.iF)({height:"*",visibility:"inherit"})),(0,E.kY)("* <=> current",(0,E.Os)([(0,E.i0)("{{animationDuration}} cubic-bezier(0.4, 0.0, 0.2, 1)"),(0,E.P)("@*",(0,E.MA)(),{optional:!0})]),{params:{animationDuration:"225ms"}})])};let fn=(()=>{class n{constructor(t){this.templateRef=t}static{this.\u0275fac=function(o){return new(o||n)(e.rXU(e.C4Q))}}static{this.\u0275dir=e.FsC({type:n,selectors:[["ng-template","matStepperIcon",""]],inputs:{name:["matStepperIcon","name"]}})}}return n})(),Fr=(()=>{class n{constructor(t){this._template=t}static{this.\u0275fac=function(o){return new(o||n)(e.rXU(e.C4Q))}}static{this.\u0275dir=e.FsC({type:n,selectors:[["ng-template","matStepContent",""]]})}}return n})(),un=(()=>{class n extends bt{constructor(t,o,i,r){super(t,r),this._errorStateMatcher=o,this._viewContainerRef=i,this._isSelected=nr.yU.EMPTY,this.stepLabel=void 0}ngAfterContentInit(){this._isSelected=this._stepper.steps.changes.pipe((0,Ce.n)(()=>this._stepper.selectionChange.pipe((0,X.T)(t=>t.selectedStep===this),(0,je.Z)(this._stepper.selected===this)))).subscribe(t=>{t&&this._lazyContent&&!this._portal&&(this._portal=new ft.VA(this._lazyContent._template,this._viewContainerRef))})}ngOnDestroy(){this._isSelected.unsubscribe()}isErrorState(t,o){return this._errorStateMatcher.isErrorState(t,o)||!!(t&&t.invalid&&this.interacted)}static{this.\u0275fac=function(o){return new(o||n)(e.rXU((0,e.Rfq)(()=>hn)),e.rXU(J.es,4),e.rXU(e.c1b),e.rXU(cn,8))}}static{this.\u0275cmp=e.VBU({type:n,selectors:[["mat-step"]],contentQueries:function(o,i,r){if(1&o&&(e.wni(r,Je,5),e.wni(r,Fr,5)),2&o){let c;e.mGM(c=e.lsd())&&(i.stepLabel=c.first),e.mGM(c=e.lsd())&&(i._lazyContent=c.first)}},inputs:{color:"color"},exportAs:["matStep"],features:[e.Jv_([{provide:J.es,useExisting:n},{provide:bt,useExisting:n}]),e.Vt3],ngContentSelectors:ur,decls:1,vars:0,consts:[[3,"cdkPortalOutlet"]],template:function(o,i){1&o&&(e.NAR(),e.DNE(0,fr,2,1,"ng-template"))},dependencies:[ft.I3],encapsulation:2,changeDetection:0})}}return n})(),hn=(()=>{class n extends Ye{get animationDuration(){return this._animationDuration}set animationDuration(t){this._animationDuration=/^\d+$/.test(t)?t+"ms":t}constructor(t,o,i){super(t,o,i),this._stepHeader=void 0,this._steps=void 0,this.steps=new e.rOR,this.animationDone=new e.bkB,this.labelPosition="end",this.headerPosition="top",this._iconOverrides={},this._animationDone=new xe.B,this._animationDuration="";const r=i.nativeElement.nodeName.toLowerCase();this.orientation="mat-vertical-stepper"===r?"vertical":"horizontal"}ngAfterContentInit(){super.ngAfterContentInit(),this._icons.forEach(({name:t,templateRef:o})=>this._iconOverrides[t]=o),this.steps.changes.pipe((0,he.Q)(this._destroyed)).subscribe(()=>{this._stateChanged()}),this._animationDone.pipe((0,or.F)((t,o)=>t.fromState===o.fromState&&t.toState===o.toState),(0,he.Q)(this._destroyed)).subscribe(t=>{"current"===t.toState&&this.animationDone.emit()})}_stepIsNavigable(t,o){return o.completed||this.selectedIndex===t||!this.linear}_getAnimationDuration(){return this.animationDuration?this.animationDuration:"horizontal"===this.orientation?"500ms":"225ms"}static{this.\u0275fac=function(o){return new(o||n)(e.rXU(ut.dS,8),e.rXU(e.gRc),e.rXU(e.aKT))}}static{this.\u0275cmp=e.VBU({type:n,selectors:[["mat-stepper"],["mat-vertical-stepper"],["mat-horizontal-stepper"],["","matStepper",""]],contentQueries:function(o,i,r){if(1&o&&(e.wni(r,un,5),e.wni(r,fn,5)),2&o){let c;e.mGM(c=e.lsd())&&(i._steps=c),e.mGM(c=e.lsd())&&(i._icons=c)}},viewQuery:function(o,i){if(1&o&&e.GBs(pn,5),2&o){let r;e.mGM(r=e.lsd())&&(i._stepHeader=r)}},hostAttrs:["role","tablist","ngSkipHydration",""],hostVars:11,hostBindings:function(o,i){2&o&&(e.BMQ("aria-orientation",i.orientation),e.AVh("mat-stepper-horizontal","horizontal"===i.orientation)("mat-stepper-vertical","vertical"===i.orientation)("mat-stepper-label-position-end","horizontal"===i.orientation&&"end"==i.labelPosition)("mat-stepper-label-position-bottom","horizontal"===i.orientation&&"bottom"==i.labelPosition)("mat-stepper-header-position-bottom","bottom"===i.headerPosition))},inputs:{selectedIndex:"selectedIndex",disableRipple:"disableRipple",color:"color",labelPosition:"labelPosition",headerPosition:"headerPosition",animationDuration:"animationDuration"},outputs:{animationDone:"animationDone"},exportAs:["matStepper","matVerticalStepper","matHorizontalStepper"],features:[e.Jv_([{provide:Ye,useExisting:n}]),e.Vt3],decls:5,vars:3,consts:[[3,"ngSwitch"],["class","mat-horizontal-stepper-wrapper",4,"ngSwitchCase"],[4,"ngSwitchCase"],["stepTemplate",""],[1,"mat-horizontal-stepper-wrapper"],[1,"mat-horizontal-stepper-header-container"],[4,"ngFor","ngForOf"],[1,"mat-horizontal-content-container"],["class","mat-horizontal-stepper-content","role","tabpanel",3,"id","mat-horizontal-stepper-content-inactive",4,"ngFor","ngForOf"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],["class","mat-stepper-horizontal-line",4,"ngIf"],[1,"mat-stepper-horizontal-line"],["role","tabpanel",1,"mat-horizontal-stepper-content",3,"id"],[3,"ngTemplateOutlet"],["class","mat-step",4,"ngFor","ngForOf"],[1,"mat-step"],[1,"mat-vertical-content-container"],["role","tabpanel",1,"mat-vertical-stepper-content",3,"id"],[1,"mat-vertical-content"],[3,"tabIndex","id","index","state","label","selected","active","optional","errorMessage","iconOverrides","disableRipple","color","click","keydown"]],template:function(o,i){1&o&&(e.qex(0,0),e.DNE(1,xr,5,2,"div",1),e.DNE(2,kr,2,1,"ng-container",2),e.bVm(),e.DNE(3,yr,1,23,"ng-template",null,3,e.C5r)),2&o&&(e.Y8G("ngSwitch",i.orientation),e.R7$(1),e.Y8G("ngSwitchCase","horizontal"),e.R7$(1),e.Y8G("ngSwitchCase","vertical"))},dependencies:[d.Sq,d.bT,d.T3,d.ux,d.e1,pn],styles:['.mat-stepper-vertical,.mat-stepper-horizontal{display:block;font-family:var(--mat-stepper-container-text-font);background:var(--mat-stepper-container-color)}.mat-horizontal-stepper-header-container{white-space:nowrap;display:flex;align-items:center}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header-container{align-items:flex-start}.mat-stepper-header-position-bottom .mat-horizontal-stepper-header-container{order:1}.mat-stepper-horizontal-line{border-top-width:1px;border-top-style:solid;flex:auto;height:0;margin:0 -16px;min-width:32px;border-top-color:var(--mat-stepper-line-color)}.mat-stepper-label-position-bottom .mat-stepper-horizontal-line{margin:0;min-width:0;position:relative;top:calc(calc((var(--mat-stepper-header-height) - 24px) / 2) + 12px)}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:first-child)::before,[dir=rtl] .mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:last-child)::before,.mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:last-child)::after,[dir=rtl] .mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:first-child)::after{border-top-width:1px;border-top-style:solid;content:"";display:inline-block;height:0;position:absolute;width:calc(50% - 20px)}.mat-horizontal-stepper-header{display:flex;height:72px;overflow:hidden;align-items:center;padding:0 24px;height:var(--mat-stepper-header-height)}.mat-horizontal-stepper-header .mat-step-icon{margin-right:8px;flex:none}[dir=rtl] .mat-horizontal-stepper-header .mat-step-icon{margin-right:0;margin-left:8px}.mat-horizontal-stepper-header::before,.mat-horizontal-stepper-header::after{border-top-color:var(--mat-stepper-line-color)}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header{padding:calc((var(--mat-stepper-header-height) - 24px) / 2) 24px}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header::before,.mat-stepper-label-position-bottom .mat-horizontal-stepper-header::after{top:calc(calc((var(--mat-stepper-header-height) - 24px) / 2) + 12px)}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header{box-sizing:border-box;flex-direction:column;height:auto}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:last-child)::after,[dir=rtl] .mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:first-child)::after{right:0}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:first-child)::before,[dir=rtl] .mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:last-child)::before{left:0}[dir=rtl] .mat-stepper-label-position-bottom .mat-horizontal-stepper-header:last-child::before,[dir=rtl] .mat-stepper-label-position-bottom .mat-horizontal-stepper-header:first-child::after{display:none}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header .mat-step-icon{margin-right:0;margin-left:0}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header .mat-step-label{padding:16px 0 0 0;text-align:center;width:100%}.mat-vertical-stepper-header{display:flex;align-items:center;height:24px;padding:calc((var(--mat-stepper-header-height) - 24px) / 2) 24px}.mat-vertical-stepper-header .mat-step-icon{margin-right:12px}[dir=rtl] .mat-vertical-stepper-header .mat-step-icon{margin-right:0;margin-left:12px}.mat-horizontal-stepper-wrapper{display:flex;flex-direction:column}.mat-horizontal-stepper-content{outline:0}.mat-horizontal-stepper-content.mat-horizontal-stepper-content-inactive{height:0;overflow:hidden}.mat-horizontal-stepper-content:not(.mat-horizontal-stepper-content-inactive){visibility:inherit !important}.mat-horizontal-content-container{overflow:hidden;padding:0 24px 24px 24px}.cdk-high-contrast-active .mat-horizontal-content-container{outline:solid 1px}.mat-stepper-header-position-bottom .mat-horizontal-content-container{padding:24px 24px 0 24px}.mat-vertical-content-container{margin-left:36px;border:0;position:relative}.cdk-high-contrast-active .mat-vertical-content-container{outline:solid 1px}[dir=rtl] .mat-vertical-content-container{margin-left:0;margin-right:36px}.mat-stepper-vertical-line::before{content:"";position:absolute;left:0;border-left-width:1px;border-left-style:solid;border-left-color:var(--mat-stepper-line-color);top:calc(8px - calc((var(--mat-stepper-header-height) - 24px) / 2));bottom:calc(8px - calc((var(--mat-stepper-header-height) - 24px) / 2))}[dir=rtl] .mat-stepper-vertical-line::before{left:auto;right:0}.mat-vertical-stepper-content{overflow:hidden;outline:0}.mat-vertical-stepper-content:not(.mat-vertical-stepper-content-inactive){visibility:inherit !important}.mat-vertical-content{padding:0 24px 24px 24px}.mat-step:last-child .mat-vertical-content-container{border:none}'],encapsulation:2,data:{animation:[gn.horizontalStepTransition,gn.verticalStepTransition]},changeDetection:0})}}return n})(),wr=(()=>{class n extends Za{static{this.\u0275fac=function(){let t;return function(i){return(t||(t=e.xGo(n)))(i||n)}}()}static{this.\u0275dir=e.FsC({type:n,selectors:[["button","matStepperNext",""]],hostAttrs:[1,"mat-stepper-next"],hostVars:1,hostBindings:function(o,i){2&o&&e.Mr5("type",i.type)},inputs:{type:"type"},features:[e.Vt3]})}}return n})(),Dr=(()=>{class n extends er{static{this.\u0275fac=function(){let t;return function(i){return(t||(t=e.xGo(n)))(i||n)}}()}static{this.\u0275dir=e.FsC({type:n,selectors:[["button","matStepperPrevious",""]],hostAttrs:[1,"mat-stepper-previous"],hostVars:1,hostBindings:function(o,i){2&o&&e.Mr5("type",i.type)},inputs:{type:"type"},features:[e.Vt3]})}}return n})(),Tr=(()=>{class n{static{this.\u0275fac=function(o){return new(o||n)}}static{this.\u0275mod=e.$C({type:n})}static{this.\u0275inj=e.G2t({providers:[Or,J.es],imports:[J.yE,d.MD,ft.jc,tr,U.m_,J.pZ,J.yE]})}}return n})();var H=g(58001),Sr=g(7967),bn=g(16396),Rr=g(35877);const Ir=["calendlyWidget"];let Er=(()=>{class n{constructor(t,o,i,r){this.userDataService=t,this.systemConfigService=o,this.dfPaywallService=i,this.data=r}ngOnInit(){const o=this.userDataService.userData?.email,i=this.systemConfigService?.environment?.client?.ipAddress;this.dfPaywallService.trackPaywallHit(o,i,this.data.serviceName)}ngAfterViewInit(){window.Calendly.initInlineWidget({url:"https://calendly.com/dreamfactory-platform/unlock-all-features",parentElement:this.calendlyWidget.nativeElement,autoLoad:!1})}static{this.\u0275fac=function(o){return new(o||n)(e.rXU(Jt.T),e.rXU(bn.f),e.rXU(Rr.o),e.rXU(h.Vh))}}static{this.\u0275cmp=e.VBU({type:n,selectors:[["df-paywall-modal"]],viewQuery:function(o,i){if(1&o&&e.GBs(Ir,5),2&o){let r;e.mGM(r=e.lsd())&&(i.calendlyWidget=r.first)}},standalone:!0,features:[e.aNF],decls:39,vars:27,consts:[[1,"app-container",2,"padding","12px 20px"],["mat-dialog-title","",2,"text-align","center"],[1,"paywall-container"],[1,"details-section"],[1,"info-columns"],[1,"info-column"],[3,"innerHTML"],[1,"paywall-contact"],["href","tel:+1 415-993-5877"],["href","mailto:info@dreamfactory.com"],[1,"calendly-inline-widget"],["calendlyWidget",""]],template:function(o,i){1&o&&(e.j41(0,"div",0)(1,"h1",1),e.EFF(2,"Unlock Service"),e.k0s(),e.j41(3,"mat-dialog-content")(4,"div",2)(5,"h2"),e.EFF(6),e.nI1(7,"transloco"),e.k0s(),e.j41(8,"h2"),e.EFF(9),e.nI1(10,"transloco"),e.k0s(),e.j41(11,"div",3)(12,"div",4)(13,"div",5)(14,"h4"),e.EFF(15),e.nI1(16,"transloco"),e.k0s(),e.nrm(17,"p",6),e.nI1(18,"transloco"),e.k0s(),e.j41(19,"div",5)(20,"h4"),e.EFF(21),e.nI1(22,"transloco"),e.k0s(),e.j41(23,"p"),e.EFF(24),e.nI1(25,"transloco"),e.k0s()()()(),e.j41(26,"h2"),e.EFF(27),e.nI1(28,"transloco"),e.k0s()(),e.j41(29,"h3",7)(30,"a",8),e.EFF(31),e.nI1(32,"transloco"),e.k0s(),e.EFF(33," | "),e.j41(34,"a",9),e.EFF(35),e.nI1(36,"transloco"),e.k0s()(),e.nrm(37,"div",10,11),e.k0s()()),2&o&&(e.R7$(6),e.JRh(e.bMT(7,9,"paywall.header")),e.R7$(3),e.JRh(e.bMT(10,11,"paywall.subheader")),e.R7$(6),e.JRh(e.bMT(16,13,"paywall.hostedTrial")),e.R7$(2),e.Y8G("innerHTML",e.bMT(18,15,"paywall.bookTime"),e.npT),e.R7$(4),e.JRh(e.bMT(22,17,"paywall.learnMoreTitle")),e.R7$(3),e.JRh(e.bMT(25,19,"paywall.gain")),e.R7$(3),e.JRh(e.bMT(28,21,"paywall.speakToHuman")),e.R7$(4),e.SpI("",e.bMT(32,23,"phone"),": +1 415-993-5877"),e.R7$(4),e.SpI(" ",e.bMT(36,25,"email"),": info@dreamfactory.com "))},dependencies:[h.hM,h.BI,h.Yi,u.Hl,R.Kj]})}}return n})();function $r(n,a){if(1&n&&(e.j41(0,"span",8),e.EFF(1),e.k0s()),2&n){const t=e.XpG();e.R7$(1),e.JRh(t.eyebrow)}}function Gr(n,a){if(1&n&&(e.j41(0,"span",9),e.EFF(1),e.k0s()),2&n){const t=e.XpG();e.R7$(1),e.JRh(t.summary)}}function jr(n,a){if(1&n&&(e.j41(0,"p",12),e.EFF(1),e.k0s()),2&n){const t=e.XpG(2);e.R7$(1),e.SpI(" ",t.description," ")}}function Nr(n,a){if(1&n&&(e.j41(0,"div",10),e.DNE(1,jr,2,1,"p",11),e.SdG(2),e.k0s()),2&n){const t=e.XpG();e.Y8G("id",t.panelId),e.R7$(1),e.Y8G("ngIf",t.description)}}const Ar=["*"];let Yr=0,Vr=(()=>{class n{constructor(){this.title="",this.open=!1,this.openChange=new e.bkB,this.panelId="df-disclosure-"+Yr++}toggle(){this.open=!this.open,this.openChange.emit(this.open)}static{this.\u0275fac=function(o){return new(o||n)}}static{this.\u0275cmp=e.VBU({type:n,selectors:[["df-disclosure"]],inputs:{eyebrow:"eyebrow",title:"title",description:"description",summary:"summary",open:"open"},outputs:{openChange:"openChange"},standalone:!0,features:[e.aNF],ngContentSelectors:Ar,decls:10,vars:8,consts:[[1,"disclosure"],["type","button",1,"disclosure__header",3,"click"],[1,"disclosure__heading"],["class","disclosure__eyebrow",4,"ngIf"],[1,"disclosure__title"],["class","disclosure__summary",4,"ngIf"],["aria-hidden","true",1,"disclosure__chevron"],["class","disclosure__body",3,"id",4,"ngIf"],[1,"disclosure__eyebrow"],[1,"disclosure__summary"],[1,"disclosure__body",3,"id"],["class","disclosure__description",4,"ngIf"],[1,"disclosure__description"]],template:function(o,i){1&o&&(e.NAR(),e.j41(0,"section",0)(1,"button",1),e.bIt("click",function(){return i.toggle()}),e.j41(2,"span",2),e.DNE(3,$r,2,1,"span",3),e.j41(4,"span",4),e.EFF(5),e.k0s()(),e.DNE(6,Gr,2,1,"span",5),e.j41(7,"mat-icon",6),e.EFF(8,"expand_more"),e.k0s()(),e.DNE(9,Nr,3,2,"div",7),e.k0s()),2&o&&(e.AVh("disclosure--open",i.open),e.R7$(1),e.BMQ("aria-expanded",i.open)("aria-controls",i.panelId),e.R7$(2),e.Y8G("ngIf",i.eyebrow),e.R7$(2),e.JRh(i.title),e.R7$(1),e.Y8G("ngIf",i.summary),e.R7$(3),e.Y8G("ngIf",i.open))},dependencies:[d.bT,U.m_,U.An],styles:["[_nghost-%COMP%]{display:block;width:100%}.disclosure[_ngcontent-%COMP%]{border-top:1px solid var(--df-border-2)}.disclosure__header[_ngcontent-%COMP%]{align-items:center;background:none;border:0;color:inherit;cursor:pointer;display:flex;font:inherit;gap:var(--df-space-4);padding:var(--df-space-4) 0;text-align:left;width:100%}.disclosure__header[_ngcontent-%COMP%]:hover .disclosure__title[_ngcontent-%COMP%]{color:var(--df-accent)}.disclosure__header[_ngcontent-%COMP%]:focus-visible{outline:2px solid var(--df-accent);outline-offset:2px;border-radius:2px}.disclosure__heading[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:var(--df-space-1);min-width:0}.disclosure__eyebrow[_ngcontent-%COMP%]{color:var(--df-text-muted);font-size:var(--df-font-size-xs);font-weight:var(--df-font-weight-medium);letter-spacing:var(--df-tracking-eyebrow);text-transform:uppercase}.disclosure__title[_ngcontent-%COMP%]{color:var(--df-text);font-size:var(--df-font-size-lg);font-weight:var(--df-font-weight-heading);letter-spacing:var(--df-tracking-tight);line-height:var(--df-lh-tight)}.disclosure__summary[_ngcontent-%COMP%]{color:var(--df-text-muted);font-size:var(--df-font-size-sm);margin-left:auto;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.disclosure__chevron[_ngcontent-%COMP%]{color:var(--df-text-faint);flex-shrink:0;transition:transform .12s ease}.disclosure--open[_ngcontent-%COMP%] .disclosure__chevron[_ngcontent-%COMP%]{transform:rotate(180deg)}@media (prefers-reduced-motion: reduce){.disclosure__chevron[_ngcontent-%COMP%]{transition:none}}.disclosure__body[_ngcontent-%COMP%]{padding:0 0 var(--df-space-5)}.disclosure__description[_ngcontent-%COMP%]{color:var(--df-text-2);font-size:var(--df-font-size-sm);line-height:var(--df-lh-base);margin:0 0 var(--df-space-4);max-width:68ch}"],changeDetection:0})}}return n})();var vt=g(17189),Xr=g(60875);function zr(n,a){if(1&n&&(e.j41(0,"span",29),e.EFF(1),e.k0s()),2&n){const t=e.XpG().$implicit;e.R7$(1),e.SpI(" \xb7 ",t.role,"")}}function Br(n,a){if(1&n&&(e.j41(0,"mat-option",27),e.EFF(1),e.DNE(2,zr,2,1,"span",28),e.k0s()),2&n){const t=a.$implicit;e.Y8G("value",t.apiKey),e.R7$(1),e.SpI(" ",t.label,""),e.R7$(1),e.Y8G("ngIf",t.role)}}function Lr(n,a){if(1&n){const t=e.RV6();e.j41(0,"mat-form-field",9)(1,"mat-label"),e.EFF(2),e.k0s(),e.j41(3,"mat-select",10),e.bIt("selectionChange",function(i){e.eBV(t);const r=e.XpG(2);return e.Njj(r.selectedKey=i.value)}),e.DNE(4,Br,3,3,"mat-option",26),e.k0s()()}if(2&n){const t=e.XpG().$implicit,o=e.XpG();let i;e.R7$(2),e.JRh(t("keyLabel")),e.R7$(1),e.Y8G("value",null!==(i=o.selectedKey)&&void 0!==i?i:o.keyOptions[0].apiKey),e.R7$(1),e.Y8G("ngForOf",o.keyOptions)("ngForTrackBy",o.trackByLabel)}}function Ur(n,a){if(1&n){const t=e.RV6();e.j41(0,"dd",15)(1,"code",16),e.EFF(2),e.k0s(),e.j41(3,"button",17),e.bIt("click",function(){e.eBV(t);const i=e.XpG(2);return e.Njj(i.onCopy("authHeader",i.headerName+": "+i.activeKey))}),e.nrm(4,"fa-icon",18),e.k0s()()}if(2&n){const t=e.XpG().$implicit,o=e.XpG();e.R7$(2),e.Lme("",o.headerName,": ",o.activeKey,""),e.R7$(1),e.Y8G("matTooltip",t("authHeader"===o.copiedBlock?"copied":"copy")),e.BMQ("aria-label",t("copy")),e.R7$(1),e.AVh("is-copied","authHeader"===o.copiedBlock),e.Y8G("icon","authHeader"===o.copiedBlock?o.faCheck:o.faCopy)}}function qr(n,a){if(1&n){const t=e.RV6();e.j41(0,"dd",30),e.nrm(1,"df-badge",31),e.j41(2,"span",32),e.EFF(3),e.k0s(),e.j41(4,"button",33),e.bIt("click",function(){e.eBV(t);const i=e.XpG(2);return e.Njj(i.createKey.emit())}),e.nrm(5,"fa-icon",18),e.EFF(6),e.k0s()()}if(2&n){const t=e.XpG().$implicit,o=e.XpG();e.R7$(1),e.Y8G("label",t("noKeyBadge")),e.R7$(2),e.JRh(t("noKeyHint")),e.R7$(2),e.Y8G("icon",o.faPlus),e.R7$(1),e.SpI(" ",t("createKey")," ")}}function Jr(n,a){1&n&&e.eu8(0)}function Kr(n,a){1&n&&e.eu8(0)}function Hr(n,a){1&n&&e.eu8(0)}function Wr(n,a){if(1&n&&(e.EFF(0),e.nrm(1,"df-badge",34)),2&n){const t=e.XpG().$implicit;e.SpI(" ",t("tabs.mcp")," "),e.R7$(1),e.Y8G("dot",!1)}}function Qr(n,a){1&n&&e.eu8(0)}function Zr(n,a){if(1&n){const t=e.RV6();e.j41(0,"div",35)(1,"div",36)(2,"span",37),e.EFF(3),e.k0s(),e.j41(4,"button",38),e.bIt("click",function(){const i=e.eBV(t),r=i.id,c=i.code,s=e.XpG(2);return e.Njj(s.onCopy(r,c))}),e.nrm(5,"fa-icon",18),e.EFF(6),e.k0s()(),e.j41(7,"pre",39)(8,"code"),e.EFF(9),e.k0s()()()}if(2&n){const t=a.id,o=a.code,i=a.note,r=e.XpG().$implicit,c=e.XpG();e.R7$(3),e.JRh(i),e.R7$(1),e.AVh("is-copied",c.copiedBlock===t),e.R7$(1),e.Y8G("icon",c.copiedBlock===t?c.faCheck:c.faCopy),e.R7$(1),e.SpI(" ",r(c.copiedBlock===t?"copied":"copy")," "),e.R7$(3),e.JRh(o)}}const Ee=function(n){return{table:n}},ec=function(n,a){return{id:"curl",code:n,note:a}},tc=function(n,a){return{id:"javascript",code:n,note:a}},nc=function(n,a){return{id:"python",code:n,note:a}},oc=function(n,a){return{id:"mcp",code:n,note:a}};function ic(n,a){if(1&n){const t=e.RV6();e.j41(0,"section",1)(1,"header",2)(2,"div",3)(3,"span",4),e.EFF(4),e.k0s(),e.j41(5,"h3",5),e.EFF(6),e.k0s(),e.j41(7,"p",6),e.EFF(8),e.k0s()(),e.j41(9,"div",7),e.DNE(10,Lr,5,4,"mat-form-field",8),e.j41(11,"mat-form-field",9)(12,"mat-label"),e.EFF(13),e.k0s(),e.j41(14,"mat-select",10),e.bIt("selectionChange",function(i){e.eBV(t);const r=e.XpG();return e.Njj(r.format=i.value)}),e.j41(15,"mat-option",11),e.EFF(16,"JSON"),e.k0s(),e.j41(17,"mat-option",12),e.EFF(18,"XML"),e.k0s()()()()(),e.j41(19,"dl",13)(20,"div",14)(21,"dt",4),e.EFF(22),e.k0s(),e.j41(23,"dd",15)(24,"code",16),e.EFF(25),e.k0s(),e.j41(26,"button",17),e.bIt("click",function(){e.eBV(t);const i=e.XpG();return e.Njj(i.onCopy("baseUrl",i.resolvedBase))}),e.nrm(27,"fa-icon",18),e.k0s()()(),e.j41(28,"div",14)(29,"dt",4),e.EFF(30),e.k0s(),e.DNE(31,Ur,5,7,"dd",19),e.DNE(32,qr,7,4,"ng-template",null,20,e.C5r),e.k0s()(),e.j41(34,"mat-tab-group",21)(35,"mat-tab",22),e.DNE(36,Jr,1,0,"ng-container",23),e.k0s(),e.j41(37,"mat-tab",22),e.DNE(38,Kr,1,0,"ng-container",23),e.k0s(),e.j41(39,"mat-tab",22),e.DNE(40,Hr,1,0,"ng-container",23),e.k0s(),e.j41(41,"mat-tab"),e.DNE(42,Wr,2,2,"ng-template",24),e.DNE(43,Qr,1,0,"ng-container",23),e.k0s()(),e.DNE(44,Zr,10,6,"ng-template",null,25,e.C5r),e.k0s()}if(2&n){const t=a.$implicit,o=e.sdS(33),i=e.sdS(45),r=e.XpG();e.R7$(4),e.JRh(t("eyebrow")),e.R7$(2),e.JRh(t("title")),e.R7$(2),e.JRh(t("subtitle")),e.R7$(2),e.Y8G("ngIf",r.hasKey),e.R7$(3),e.JRh(t("formatLabel")),e.R7$(1),e.Y8G("value",r.format),e.R7$(8),e.JRh(t("baseUrlLabel")),e.R7$(3),e.JRh(r.resolvedBase),e.R7$(1),e.Y8G("matTooltip",t("baseUrl"===r.copiedBlock?"copied":"copy")),e.BMQ("aria-label",t("copy")),e.R7$(1),e.AVh("is-copied","baseUrl"===r.copiedBlock),e.Y8G("icon","baseUrl"===r.copiedBlock?r.faCheck:r.faCopy),e.R7$(3),e.JRh(t("authHeaderLabel")),e.R7$(1),e.Y8G("ngIf",r.hasKey)("ngIfElse",o),e.R7$(3),e.Y8G("mat-stretch-tabs",!1),e.R7$(1),e.Y8G("label",t("tabs.curl")),e.R7$(1),e.Y8G("ngTemplateOutlet",i)("ngTemplateOutletContext",e.l_i(32,ec,r.curlSnippet,r.activeKeyVerified?t("runNote",e.eq3(28,Ee,r.sampleTable)):t("previewNote",e.eq3(30,Ee,r.sampleTable)))),e.R7$(1),e.Y8G("label",t("tabs.javascript")),e.R7$(1),e.Y8G("ngTemplateOutlet",i)("ngTemplateOutletContext",e.l_i(39,tc,r.javascriptSnippet,r.activeKeyVerified?t("runNote",e.eq3(35,Ee,r.sampleTable)):t("previewNote",e.eq3(37,Ee,r.sampleTable)))),e.R7$(1),e.Y8G("label",t("tabs.python")),e.R7$(1),e.Y8G("ngTemplateOutlet",i)("ngTemplateOutletContext",e.l_i(46,nc,r.pythonSnippet,r.activeKeyVerified?t("runNote",e.eq3(42,Ee,r.sampleTable)):t("previewNote",e.eq3(44,Ee,r.sampleTable)))),e.R7$(3),e.Y8G("ngTemplateOutlet",i)("ngTemplateOutletContext",e.l_i(49,oc,r.mcpSnippet,t("mcpNote")))}}let ac=(()=>{class n{get keyOptions(){return this.keys?.length?this.keys:this.apiKey?[{label:"Default key",apiKey:this.apiKey}]:[]}get hasKey(){return this.keyOptions.length>0}get activeKey(){return this.hasKey?(this.keyOptions.find(o=>o.apiKey===this.selectedKey)??this.keyOptions[0]).apiKey:"YOUR_API_KEY"}get activeKeyVerified(){return!!this.hasKey&&!!(this.keyOptions.find(o=>o.apiKey===this.selectedKey)??this.keyOptions[0]).verified}get resolvedBase(){return(this.baseUrl??"").replace(/\/+$/,"")||`${this.origin}${N.C}/${this.serviceName}`}get endpointUrl(){return`${this.resolvedBase}/_table/${this.sampleTable}?limit=5`}get resolvedMcpUrl(){return(this.mcpUrl??`${this.resolvedBase}/_mcp`).replace(/\/+$/,"")}get acceptHeader(){return"xml"===this.format?"application/xml":"application/json"}get curlSnippet(){return[`curl -X GET '${this.endpointUrl}' \\`,` -H 'Accept: ${this.acceptHeader}' \\`,` -H '${this.headerName}: ${this.activeKey}'`].join("\n")}get javascriptSnippet(){return[`const res = await fetch('${this.endpointUrl}', {`," headers: {",` 'Accept': '${this.acceptHeader}',`,` '${this.headerName}': '${this.activeKey}',`," },","});",`const data = await res.${"xml"===this.format?"text":"json"}();`,"console.log(data);"].join("\n")}get pythonSnippet(){return["import requests","","res = requests.get(",` '${this.endpointUrl}',`," headers={",` 'Accept': '${this.acceptHeader}',`,` '${this.headerName}': '${this.activeKey}',`," },",")",`print(${"xml"===this.format?"res.text":"res.json()"})`].join("\n")}get mcpSnippet(){return["{",' "mcpServers": {',` "dreamfactory-${this.serviceName||"service"}": {`,' "type": "http",',` "url": "${this.resolvedMcpUrl}",`,' "headers": {',` "${this.headerName}": "${this.activeKey}"`," }"," }"," }","}"].join("\n")}onCopy(t,o){this.clipboard.copy(o),this.copiedBlock=t,this.copied.emit(t),this.copyTimer&&clearTimeout(this.copyTimer),this.copyTimer=setTimeout(()=>{this.copiedBlock=null},1600)}trackByLabel(t,o){return o.apiKey}constructor(t){this.clipboard=t,this.serviceName="",this.sampleTable="your_table",this.keys=[],this.createKey=new e.bkB,this.copied=new e.bkB,this.selectedKey=null,this.format="json",this.copiedBlock=null,this.headerName=st.dE,this.faCopy=b.jPR,this.faCheck=b.e68,this.faPlus=b.QLR,this.origin=typeof window<"u"&&window.location?window.location.origin:""}static{this.\u0275fac=function(o){return new(o||n)(e.rXU(Xr.B0))}}static{this.\u0275cmp=e.VBU({type:n,selectors:[["df-artifact-card"]],inputs:{serviceName:"serviceName",baseUrl:"baseUrl",apiKey:"apiKey",sampleTable:"sampleTable",keys:"keys",mcpUrl:"mcpUrl"},outputs:{createKey:"createKey",copied:"copied"},standalone:!0,features:[e.aNF],decls:1,vars:1,consts:[["class","artifact-card",4,"transloco","translocoRead"],[1,"artifact-card"],[1,"artifact-card__head"],[1,"artifact-card__intro"],[1,"df-eyebrow"],[1,"artifact-card__title"],[1,"artifact-card__subtitle"],[1,"artifact-card__switchers"],["appearance","outline","class","artifact-card__field",4,"ngIf"],["appearance","outline",1,"artifact-card__field"],["panelClass","artifact-card__panel",3,"value","selectionChange"],["value","json"],["value","xml"],[1,"artifact-card__meta"],[1,"artifact-card__meta-row"],[1,"artifact-card__meta-val"],[1,"artifact-card__inline"],["type","button","mat-icon-button","",1,"artifact-card__copy",3,"matTooltip","click"],[3,"icon"],["class","artifact-card__meta-val",4,"ngIf","ngIfElse"],["noKey",""],["animationDuration","0ms","disableRipple","",1,"artifact-card__tabs",3,"mat-stretch-tabs"],[3,"label"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],["mat-tab-label",""],["block",""],[3,"value",4,"ngFor","ngForOf","ngForTrackBy"],[3,"value"],["class","artifact-card__opt-role",4,"ngIf"],[1,"artifact-card__opt-role"],[1,"artifact-card__meta-val","artifact-card__nokey"],["variant","neutral",3,"label"],[1,"artifact-card__nokey-hint"],["type","button","mat-button","",1,"artifact-card__nokey-cta",3,"click"],["variant","ai","label","MCP",1,"artifact-card__mcp-badge",3,"dot"],[1,"artifact-card__block"],[1,"artifact-card__code-head"],[1,"artifact-card__note"],["type","button","mat-button","",1,"artifact-card__copy-btn",3,"click"],[1,"artifact-card__code"]],template:function(o,i){1&o&&e.DNE(0,ic,46,52,"section",0),2&o&&e.Y8G("translocoRead","artifactCard")},dependencies:[d.bT,d.pM,d.T3,R.Q8,R.bA,A.RI,A.ES,A.mq,A.T8,D.Ve,O.rl,O.nJ,D.VO,J.wT,O.RG,u.Hl,u.$z,u.iY,S.uc,S.oV,w.dX,w.aY,vt.v],styles:["[_nghost-%COMP%]{display:block}.artifact-card[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:var(--df-space-4);padding:var(--df-space-5);background-color:var(--df-surface);border:1px solid var(--df-border);border-radius:var(--df-radius)}.artifact-card__head[_ngcontent-%COMP%]{display:flex;flex-wrap:wrap;align-items:flex-start;justify-content:space-between;gap:var(--df-space-4)}.artifact-card__intro[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:var(--df-space-1);min-width:0}.artifact-card__title[_ngcontent-%COMP%]{margin:0;font-size:var(--df-font-size-lg);font-weight:var(--df-font-weight-heading);line-height:var(--df-lh-tight);color:var(--df-text)}.artifact-card__subtitle[_ngcontent-%COMP%]{margin:0;font-size:var(--df-font-size-sm);color:var(--df-text-muted)}.artifact-card__switchers[_ngcontent-%COMP%]{display:flex;gap:var(--df-space-3);flex-wrap:wrap}.artifact-card__field[_ngcontent-%COMP%]{width:11rem}.artifact-card__field[_ngcontent-%COMP%] .mat-mdc-form-field-subscript-wrapper{display:none}.artifact-card__opt-role[_ngcontent-%COMP%]{color:var(--df-text-muted)}.artifact-card__meta[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:var(--df-space-2);margin:0;padding:var(--df-space-3) var(--df-space-4);background-color:var(--df-surface-2);border:1px solid var(--df-border-2);border-radius:var(--df-radius-sm)}.artifact-card__meta-row[_ngcontent-%COMP%]{display:flex;align-items:center;gap:var(--df-space-3);min-width:0}.artifact-card__meta-row[_ngcontent-%COMP%] dt[_ngcontent-%COMP%]{flex:0 0 5.5rem}.artifact-card__meta-val[_ngcontent-%COMP%]{display:flex;align-items:center;gap:var(--df-space-2);margin:0;min-width:0;flex:1 1 auto}.artifact-card__inline[_ngcontent-%COMP%]{font-family:var(--df-font-mono);font-size:var(--df-font-size-xs);color:var(--df-text-2);overflow-x:auto;white-space:nowrap;padding:var(--df-space-1) 0}.artifact-card__copy[_ngcontent-%COMP%]{flex:0 0 auto;color:var(--df-text-muted);transition:color var(--df-duration-fast) var(--df-ease-standard)}.artifact-card__copy[_ngcontent-%COMP%]:hover{color:var(--df-text)}.artifact-card__copy[_ngcontent-%COMP%] .is-copied[_ngcontent-%COMP%]{color:var(--df-success)}.artifact-card__nokey[_ngcontent-%COMP%]{flex-wrap:wrap}.artifact-card__nokey-hint[_ngcontent-%COMP%]{font-size:var(--df-font-size-xs);color:var(--df-text-muted)}.artifact-card__nokey-cta[_ngcontent-%COMP%]{color:var(--df-accent)}.artifact-card__nokey-cta[_ngcontent-%COMP%] fa-icon[_ngcontent-%COMP%]{margin-right:var(--df-space-1)}.artifact-card__mcp-badge[_ngcontent-%COMP%]{margin-left:var(--df-space-2)}.artifact-card__block[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:var(--df-space-2);padding-top:var(--df-space-3)}.artifact-card__code-head[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:space-between;gap:var(--df-space-3)}.artifact-card__note[_ngcontent-%COMP%]{font-size:var(--df-font-size-xs);color:var(--df-text-muted)}.artifact-card__copy-btn[_ngcontent-%COMP%]{flex:0 0 auto;color:var(--df-text-muted);font-size:var(--df-font-size-xs);transition:color var(--df-duration-fast) var(--df-ease-standard)}.artifact-card__copy-btn[_ngcontent-%COMP%] fa-icon[_ngcontent-%COMP%]{margin-right:var(--df-space-1)}.artifact-card__copy-btn[_ngcontent-%COMP%]:hover{color:var(--df-text)}.artifact-card__copy-btn.is-copied[_ngcontent-%COMP%]{color:var(--df-success)}.artifact-card__code[_ngcontent-%COMP%]{margin:0;padding:var(--df-space-4);background-color:var(--df-code-bg);color:var(--df-code-text);border:1px solid var(--df-border-2);border-radius:var(--df-radius-sm);font-family:var(--df-font-mono);font-size:var(--df-font-size-sm);line-height:var(--df-lh-base);overflow-x:auto}.artifact-card__code[_ngcontent-%COMP%] code[_ngcontent-%COMP%]{font-family:inherit;white-space:pre}"]})}}return n})();var vn=g(61417),xn=g(98443),$e=g(28067);function rc(n,a){1&n&&(e.j41(0,"div",6),e.nrm(1,"df-skeleton",7),e.k0s()),2&n&&(e.R7$(1),e.Y8G("count",4))}function cc(n,a){if(1&n&&e.nrm(0,"df-empty-state",8),2&n){const t=e.XpG().$implicit;e.Y8G("title",t("emptyTitle"))("description",t("emptyHint"))}}function sc(n,a){if(1&n&&(e.j41(0,"span",14),e.EFF(1),e.k0s()),2&n){const t=a.$implicit;e.R7$(1),e.JRh(t)}}function lc(n,a){if(1&n){const t=e.RV6();e.j41(0,"button",18),e.bIt("click",function(){const r=e.eBV(t).$implicit,c=e.XpG().$implicit,s=e.XpG(3);return e.Njj(s.onCellClick(c,r))}),e.nrm(1,"span",19),e.k0s()}if(2&n){const t=a.$implicit,o=e.XpG().$implicit,i=e.XpG(2).$implicit,r=e.XpG();e.AVh("scope-matrix__cell--full","full"===r.cellState(o,t))("scope-matrix__cell--filtered","filtered"===r.cellState(o,t))("scope-matrix__cell--none","none"===r.cellState(o,t)),e.Y8G("disabled","none"===r.cellState(o,t))("title",i("state."+r.cellState(o,t))),e.BMQ("aria-label",o.roleName+" "+t+": "+i("state."+r.cellState(o,t)))}}function dc(n,a){if(1&n&&(e.j41(0,"div",15)(1,"span",16),e.EFF(2),e.k0s(),e.DNE(3,lc,2,9,"button",17),e.k0s()),2&n){const t=a.$implicit,o=e.XpG(3);e.R7$(1),e.Y8G("title",t.roleName),e.R7$(1),e.JRh(t.roleName),e.R7$(1),e.Y8G("ngForOf",o.verbs)("ngForTrackBy",o.trackByVerb)}}function pc(n,a){if(1&n&&(e.j41(0,"div",9)(1,"div",10)(2,"span",11),e.EFF(3),e.k0s(),e.DNE(4,sc,2,1,"span",12),e.k0s(),e.DNE(5,dc,4,4,"div",13),e.k0s()),2&n){const t=e.XpG().$implicit,o=e.XpG();e.BMQ("aria-label",t("ariaLabel")),e.R7$(3),e.JRh(t("roleHeader")),e.R7$(1),e.Y8G("ngForOf",o.verbs)("ngForTrackBy",o.trackByVerb),e.R7$(1),e.Y8G("ngForOf",o.rows)("ngForTrackBy",o.trackByRoleId)}}function mc(n,a){if(1&n&&(e.j41(0,"div",20)(1,"span",21),e.nrm(2,"span",22),e.EFF(3),e.k0s(),e.j41(4,"span",21),e.nrm(5,"span",23),e.EFF(6),e.k0s(),e.j41(7,"span",21),e.nrm(8,"span",24),e.EFF(9),e.k0s()()),2&n){const t=e.XpG().$implicit;e.R7$(3),e.JRh(t("state.full")),e.R7$(3),e.JRh(t("state.filtered")),e.R7$(3),e.JRh(t("state.none"))}}function _c(n,a){if(1&n&&(e.qex(0),e.j41(1,"section",1),e.DNE(2,rc,2,1,"div",2),e.DNE(3,cc,1,2,"df-empty-state",3),e.DNE(4,pc,6,6,"div",4),e.DNE(5,mc,10,3,"div",5),e.k0s(),e.bVm()),2&n){const t=e.XpG();e.R7$(2),e.Y8G("ngIf",t.loading),e.R7$(1),e.Y8G("ngIf",!t.loading&&0===t.rows.length),e.R7$(1),e.Y8G("ngIf",!t.loading&&t.rows.length>0),e.R7$(1),e.Y8G("ngIf",!t.loading&&t.rows.length>0)}}let gc=(()=>{class n{constructor(t){this.scope=t,this.cellClick=new e.bkB,this.verbs=$e.e,this.rows=[],this.loading=!1,this.destroy$=new xe.B}ngOnChanges(t){"serviceId"in t&&this.load()}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}onCellClick(t,o){"none"!==t.verbs[o]&&this.cellClick.emit({roleId:t.roleId,verb:o})}trackByRoleId(t,o){return o.roleId}trackByVerb(t,o){return o}load(){const t=this.serviceId;this.rows=[],null!=t&&(this.loading=!0,this.scope.matrixForService(t).pipe((0,he.Q)(this.destroy$)).subscribe(o=>{this.loading=!1,this.rows=o.roles}))}cellState(t,o){return t.verbs[o]}static{this.\u0275fac=function(o){return new(o||n)(e.rXU($e.q))}}static{this.\u0275cmp=e.VBU({type:n,selectors:[["df-scope-matrix"]],inputs:{serviceId:"serviceId"},outputs:{cellClick:"cellClick"},standalone:!0,features:[e.OA$,e.aNF],decls:1,vars:1,consts:[[4,"transloco","translocoRead"],["data-testid","df-scope-matrix",1,"scope-matrix"],["class","scope-matrix__loading",4,"ngIf"],["icon","security",3,"title","description",4,"ngIf"],["class","scope-matrix__grid","role","table",4,"ngIf"],["class","scope-matrix__legend","aria-hidden","true",4,"ngIf"],[1,"scope-matrix__loading"],["variant","table-row",3,"count"],["icon","security",3,"title","description"],["role","table",1,"scope-matrix__grid"],["role","row",1,"scope-matrix__row","scope-matrix__row--head"],["role","columnheader",1,"scope-matrix__corner"],["class","scope-matrix__verb","role","columnheader",4,"ngFor","ngForOf","ngForTrackBy"],["class","scope-matrix__row","role","row",4,"ngFor","ngForOf","ngForTrackBy"],["role","columnheader",1,"scope-matrix__verb"],["role","row",1,"scope-matrix__row"],["role","rowheader",1,"scope-matrix__role",3,"title"],["type","button","class","scope-matrix__cell","role","cell",3,"scope-matrix__cell--full","scope-matrix__cell--filtered","scope-matrix__cell--none","disabled","title","click",4,"ngFor","ngForOf","ngForTrackBy"],["type","button","role","cell",1,"scope-matrix__cell",3,"disabled","title","click"],["aria-hidden","true",1,"scope-matrix__dot"],["aria-hidden","true",1,"scope-matrix__legend"],[1,"scope-matrix__legend-item"],[1,"scope-matrix__dot","scope-matrix__dot--full"],[1,"scope-matrix__dot","scope-matrix__dot--filtered"],[1,"scope-matrix__dot","scope-matrix__dot--none"]],template:function(o,i){1&o&&e.DNE(0,_c,6,4,"ng-container",0),2&o&&e.Y8G("translocoRead","scopeMatrix")},dependencies:[d.MD,d.Sq,d.bT,R.Q8,R.bA,vn.M,xn.d],styles:["[_nghost-%COMP%]{display:block}.scope-matrix[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:var(--df-space-4)}.scope-matrix__loading[_ngcontent-%COMP%]{padding:var(--df-space-2) 0}.scope-matrix__grid[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:var(--df-space-1);overflow-x:auto;padding-bottom:var(--df-space-1)}.scope-matrix__row[_ngcontent-%COMP%]{display:grid;grid-template-columns:minmax(12rem,1.4fr) repeat(5,minmax(4.4rem,1fr));align-items:center;gap:var(--df-space-2);min-width:40rem}.scope-matrix__row--head[_ngcontent-%COMP%]{padding-bottom:var(--df-space-1);border-bottom:1px solid var(--df-border-2)}.scope-matrix__corner[_ngcontent-%COMP%]{font-size:var(--df-font-size-xs);font-weight:var(--df-font-weight-heading);color:var(--df-text-muted);text-transform:uppercase;letter-spacing:.04em}.scope-matrix__verb[_ngcontent-%COMP%]{justify-self:center;font-size:var(--df-font-size-xs);font-weight:var(--df-font-weight-heading);color:var(--df-text-2);letter-spacing:.02em}.scope-matrix__role[_ngcontent-%COMP%]{font-size:var(--df-font-size-sm);color:var(--df-text);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.scope-matrix__cell[_ngcontent-%COMP%]{justify-self:center;display:inline-flex;align-items:center;justify-content:center;width:2.8rem;height:2.8rem;padding:0;border:1px solid transparent;border-radius:var(--df-radius-sm);background:transparent;cursor:pointer;transition:background-color .12s ease,border-color .12s ease}.scope-matrix__cell[_ngcontent-%COMP%]:hover:not(:disabled){background:var(--df-hover);border-color:var(--df-border)}.scope-matrix__cell[_ngcontent-%COMP%]:focus-visible{outline:2px solid var(--df-accent);outline-offset:1px}.scope-matrix__cell[_ngcontent-%COMP%]:disabled{cursor:default}.scope-matrix__dot[_ngcontent-%COMP%]{width:1.2rem;height:1.2rem;border-radius:50%;display:inline-block;flex:none;background:var(--df-text-muted);box-shadow:0 0 0 .3rem transparent}.scope-matrix__cell--full[_ngcontent-%COMP%] .scope-matrix__dot[_ngcontent-%COMP%], .scope-matrix__dot--full[_ngcontent-%COMP%]{background:var(--df-success);box-shadow:0 0 0 .3rem var(--df-success-soft)}.scope-matrix__cell--filtered[_ngcontent-%COMP%] .scope-matrix__dot[_ngcontent-%COMP%], .scope-matrix__dot--filtered[_ngcontent-%COMP%]{background:var(--df-warning);box-shadow:0 0 0 .3rem var(--df-warning-soft)}.scope-matrix__cell--none[_ngcontent-%COMP%] .scope-matrix__dot[_ngcontent-%COMP%], .scope-matrix__dot--none[_ngcontent-%COMP%]{background:var(--df-text-faint);box-shadow:none}.scope-matrix__legend[_ngcontent-%COMP%]{display:flex;flex-wrap:wrap;gap:var(--df-space-4);padding-top:var(--df-space-1)}.scope-matrix__legend-item[_ngcontent-%COMP%]{display:inline-flex;align-items:center;gap:var(--df-space-2);font-size:var(--df-font-size-xs);color:var(--df-text-muted)}"]})}}return n})();var fc=g(81663),uc=g(23667),hc=g(43521);function bc(n,a){if(1&n&&(e.qex(0),e.j41(1,"span",13),e.EFF(2),e.nI1(3,"transloco"),e.k0s(),e.nrm(4,"df-error-detail",14),e.bVm()),2&n){const t=e.XpG(4);e.R7$(2),e.JRh(e.bMT(3,2,t.probeError.message)),e.R7$(2),e.Y8G("error",t.probeError)}}function vc(n,a){if(1&n&&(e.j41(0,"li",11)(1,"span",12),e.EFF(2),e.nI1(3,"transloco"),e.DNE(4,bc,5,4,"ng-container",0),e.k0s()()),2&n){const t=e.XpG(3);e.R7$(2),e.SpI(" ",e.bMT(3,2,"services.health.probe.failed")," "),e.R7$(2),e.Y8G("ngIf",t.probeError)}}function xc(n,a){if(1&n&&(e.j41(0,"a",16),e.EFF(1),e.nI1(2,"transloco"),e.nrm(3,"fa-icon",5),e.k0s()),2&n){const t=e.XpG().$implicit,o=e.XpG(3);e.Y8G("routerLink",t.fix),e.R7$(1),e.SpI(" ",e.bMT(2,3,"services.health.fix."+t.id)," "),e.R7$(2),e.Y8G("icon",o.faArrowRight)}}function Cc(n,a){if(1&n&&(e.j41(0,"li",11)(1,"span",12),e.EFF(2),e.nI1(3,"transloco"),e.k0s(),e.DNE(4,xc,4,5,"a",15),e.k0s()),2&n){const t=a.$implicit;e.R7$(2),e.JRh(e.bMT(3,2,"services.health.rules."+t.id)),e.R7$(2),e.Y8G("ngIf",t.fix)}}function kc(n,a){if(1&n&&(e.j41(0,"section",3),e.nI1(1,"transloco"),e.j41(2,"header",4),e.nrm(3,"fa-icon",5),e.j41(4,"span",6),e.EFF(5),e.nI1(6,"transloco"),e.k0s(),e.nrm(7,"df-badge",7),e.nI1(8,"transloco"),e.k0s(),e.j41(9,"ul",8),e.DNE(10,vc,5,4,"li",9),e.DNE(11,Cc,5,4,"li",10),e.k0s()()),2&n){const t=e.XpG(2);e.AVh("health-panel--danger","danger"===t.level),e.BMQ("aria-label",e.bMT(1,9,"services.health.panelAria")),e.R7$(3),e.Y8G("icon",t.faShieldHalved),e.R7$(2),e.JRh(e.bMT(6,11,"services.health.header")),e.R7$(2),e.Y8G("variant",t.level)("label",e.bMT(8,13,"services.health.level."+t.level)),e.R7$(3),e.Y8G("ngIf","failed"===t.probe),e.R7$(1),e.Y8G("ngForOf",null==t.health?null:t.health.rules)}}function yc(n,a){1&n&&(e.qex(0),e.EFF(1),e.nI1(2,"transloco"),e.bVm()),2&n&&(e.R7$(1),e.JRh(e.bMT(2,1,"services.health.probe.checking")))}function Mc(n,a){1&n&&(e.qex(0),e.EFF(1),e.nI1(2,"transloco"),e.bVm()),2&n&&(e.R7$(1),e.JRh(e.bMT(2,1,"services.health.probe.unsupported")))}function Oc(n,a){1&n&&(e.qex(0),e.EFF(1),e.nI1(2,"transloco"),e.bVm()),2&n&&(e.R7$(1),e.JRh(e.bMT(2,1,"services.health.probe.ok")))}function Pc(n,a){if(1&n&&(e.j41(0,"p",17),e.nrm(1,"fa-icon",5),e.j41(2,"span",18),e.DNE(3,yc,3,3,"ng-container",19),e.DNE(4,Mc,3,3,"ng-container",19),e.DNE(5,Oc,3,3,"ng-container",20),e.k0s()()),2&n){const t=e.XpG(2);e.AVh("health-panel__ok--muted","ok"!==t.probe),e.R7$(1),e.Y8G("icon","ok"===t.probe?t.faCircleCheck:t.faShieldHalved),e.R7$(1),e.Y8G("ngSwitch",t.probe),e.R7$(1),e.Y8G("ngSwitchCase","checking"),e.R7$(1),e.Y8G("ngSwitchCase","unsupported")}}function Fc(n,a){if(1&n&&(e.qex(0),e.DNE(1,kc,12,15,"section",1),e.DNE(2,Pc,6,6,"ng-template",null,2,e.C5r),e.bVm()),2&n){const t=e.sdS(3),o=e.XpG();e.R7$(1),e.Y8G("ngIf",o.hasFindings)("ngIfElse",t)}}let xt=class Lt{constructor(a,t,o){this.healthService=a,this.probeService=t,this.cdr=o,this.serviceName="",this.probe="idle",this.probeError=null,this.faShieldHalved=b.fLc,this.faCircleCheck=b.QRE,this.faArrowRight=b.dmS}ngOnInit(){this.score(),this.runProbe()}ngOnChanges(a){(a.serviceId||a.deprecated)&&this.score(),(a.serviceId||a.serviceName||a.serviceGroup)&&this.runProbe()}get level(){return"failed"===this.probe?"danger":this.health?.level??"success"}get hasFindings(){return"failed"===this.probe||!!this.health?.rules.length}score(){if(!this.serviceId)return void(this.health=void 0);const a=this.serviceId;this.healthService.getContext().pipe((0,W.s)(this)).subscribe(t=>{this.serviceId===a&&(this.health=this.healthService.derive({id:a,name:this.serviceName,deprecated:this.deprecated},t),this.cdr.markForCheck())})}runProbe(){if(!this.serviceId||!this.serviceName)return void(this.probe="idle");const a=this.serviceName;this.probeError=null,this.probeService.probe(a,this.serviceGroup).pipe((0,W.s)(this)).subscribe(t=>{this.serviceName===a&&(this.probe=t.state,this.probeError=t.error??null,this.cdr.markForCheck())})}static{this.\u0275fac=function(t){return new(t||Lt)(e.rXU(uc.d),e.rXU(hc.j),e.rXU(e.gRc))}}static{this.\u0275cmp=e.VBU({type:Lt,selectors:[["df-service-health-panel"]],inputs:{serviceId:"serviceId",serviceName:"serviceName",serviceGroup:"serviceGroup",deprecated:"deprecated"},standalone:!0,features:[e.OA$,e.aNF],decls:1,vars:1,consts:[[4,"ngIf"],["class","health-panel",3,"health-panel--danger",4,"ngIf","ngIfElse"],["clean",""],[1,"health-panel"],[1,"health-panel__head"],["aria-hidden","true",3,"icon"],[1,"df-eyebrow"],[3,"variant","label"],[1,"health-panel__rules"],["class","health-panel__rule",4,"ngIf"],["class","health-panel__rule",4,"ngFor","ngForOf"],[1,"health-panel__rule"],[1,"health-panel__reason"],[1,"health-panel__detail"],[3,"error"],["class","health-panel__fix",3,"routerLink",4,"ngIf"],[1,"health-panel__fix",3,"routerLink"],[1,"health-panel__ok"],[3,"ngSwitch"],[4,"ngSwitchCase"],[4,"ngSwitchDefault"]],template:function(t,o){1&t&&e.DNE(0,Fc,4,2,"ng-container",0),2&t&&e.Y8G("ngIf",o.health||"idle"!==o.probe)},dependencies:[d.bT,d.pM,d.ux,d.e1,d.fG,j.Wk,R.Kj,w.dX,w.aY,vt.v,fc.R],styles:[".health-panel[_ngcontent-%COMP%]{box-sizing:border-box;display:flex;flex-direction:column;gap:var(--df-space-3);padding:var(--df-space-3) var(--df-space-4);border:1px solid var(--df-warning-border);border-radius:var(--df-radius);background:var(--df-warning-soft);color:var(--df-text)}.health-panel[_ngcontent-%COMP%] fa-icon[_ngcontent-%COMP%]{color:var(--df-warning)}.health-panel--danger[_ngcontent-%COMP%]{border-color:var(--df-danger-border);background:var(--df-danger-soft)}.health-panel--danger[_ngcontent-%COMP%] fa-icon[_ngcontent-%COMP%]{color:var(--df-danger)}.health-panel__head[_ngcontent-%COMP%]{display:flex;align-items:center;gap:var(--df-space-2)}.health-panel__rules[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:var(--df-space-2);margin:0;padding:0;list-style:none}.health-panel__rule[_ngcontent-%COMP%]{display:flex;flex-wrap:wrap;align-items:baseline;gap:var(--df-space-2) var(--df-space-3)}.health-panel__reason[_ngcontent-%COMP%]{flex:1 1 20rem}.health-panel__detail[_ngcontent-%COMP%]{display:block;margin-top:var(--df-space-1);font-size:var(--df-font-size-xs);color:var(--df-text-muted);overflow-wrap:anywhere}.health-panel__fix[_ngcontent-%COMP%]{display:inline-flex;align-items:center;gap:var(--df-space-1);color:var(--df-accent);font-weight:var(--df-font-weight-medium);text-decoration:none;white-space:nowrap}.health-panel__fix[_ngcontent-%COMP%] fa-icon[_ngcontent-%COMP%]{color:currentColor}.health-panel__fix[_ngcontent-%COMP%]:hover{text-decoration:underline}.health-panel__fix[_ngcontent-%COMP%]:focus-visible{outline:none;box-shadow:var(--df-focus-ring);border-radius:var(--df-radius-sm, var(--df-radius))}.health-panel__ok[_ngcontent-%COMP%]{display:flex;align-items:center;gap:var(--df-space-2);margin:0;color:var(--df-text-muted)}.health-panel__ok[_ngcontent-%COMP%] fa-icon[_ngcontent-%COMP%]{color:var(--df-success)}.health-panel__ok--muted[_ngcontent-%COMP%] fa-icon[_ngcontent-%COMP%]{color:var(--df-text-muted)}"],changeDetection:0})}};function wc(n,a){1&n&&(e.j41(0,"div",5),e.nrm(1,"df-skeleton",6),e.k0s()),2&n&&(e.R7$(1),e.Y8G("count",5))}function Dc(n,a){if(1&n&&e.nrm(0,"df-empty-state",7),2&n){const t=e.XpG().$implicit;e.Y8G("title",t("error.title"))("description",t("error.hint"))}}function Tc(n,a){if(1&n&&(e.j41(0,"a",21)(1,"mat-icon"),e.EFF(2,"add"),e.k0s(),e.EFF(3),e.k0s()),2&n){const t=e.XpG().$implicit,o=e.XpG(2).$implicit;e.Y8G("routerLink",t.addLink),e.R7$(3),e.SpI(" ",o("addPolicy")," ")}}function Sc(n,a){if(1&n&&(e.j41(0,"li",10)(1,"div",11)(2,"span",12)(3,"mat-icon"),e.EFF(4),e.k0s()()(),e.j41(5,"div",13)(6,"div",14)(7,"span",15),e.EFF(8),e.k0s(),e.nrm(9,"df-badge",16),e.k0s(),e.j41(10,"p",17),e.EFF(11),e.k0s(),e.j41(12,"div",18)(13,"a",19),e.EFF(14),e.j41(15,"mat-icon"),e.EFF(16,"chevron_right"),e.k0s()(),e.DNE(17,Tc,4,2,"a",20),e.k0s()()()),2&n){const t=a.$implicit,o=e.XpG(2).$implicit,i=e.XpG();e.AVh("pipeline-strip__node--open",!t.present),e.R7$(2),e.AVh("pipeline-strip__marker--active","active"===t.status)("pipeline-strip__marker--filtered","filtered"===t.status)("pipeline-strip__marker--handler","handler"===t.status),e.R7$(2),e.JRh(t.icon),e.R7$(4),e.JRh(o("nodes."+t.kind+".title")),e.R7$(1),e.Y8G("variant",i.badgeVariant(t))("label",o("status."+t.status)),e.R7$(2),e.SpI(" ",o(t.detailKey,t.detailParams)," "),e.R7$(2),e.Y8G("routerLink",t.link),e.R7$(1),e.SpI(" ",o("view")," "),e.R7$(3),e.Y8G("ngIf",t.addLink)}}function Rc(n,a){if(1&n&&(e.j41(0,"ol",8),e.DNE(1,Sc,18,16,"li",9),e.k0s()),2&n){const t=e.XpG(2);e.R7$(1),e.Y8G("ngForOf",t.nodes)("ngForTrackBy",t.trackByKind)}}function Ic(n,a){if(1&n&&(e.qex(0),e.j41(1,"section",1),e.DNE(2,wc,2,1,"div",2),e.DNE(3,Dc,1,2,"df-empty-state",3),e.DNE(4,Rc,2,2,"ol",4),e.k0s(),e.bVm()),2&n){const t=e.XpG();e.R7$(2),e.Y8G("ngIf",t.loading),e.R7$(1),e.Y8G("ngIf",!t.loading&&t.errored),e.R7$(1),e.Y8G("ngIf",!t.loading&&!t.errored&&t.nodes.length>0)}}xt=(0,ae.Cg)([(0,W.d)({checkProperties:!0})],xt);const Ec={active:"success",filtered:"warning",open:"neutral",handler:"build"};let $c=(()=>{class n{constructor(t,o,i){this.scope=t,this.limitService=o,this.appService=i,this.nodes=[],this.loading=!1,this.errored=!1,this.destroy$=new xe.B}ngOnChanges(t){("serviceId"in t||"serviceName"in t)&&this.load()}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}badgeVariant(t){return Ec[t.status]}trackByKind(t,o){return o.kind}load(){const t=this.serviceId;this.nodes=[],this.errored=!1,null!=t&&(this.loading=!0,(0,ue.p)({matrix:this.scope.matrixForService(t),limits:this.limitService.getAll({limit:0,sort:"name"}).pipe((0,X.T)(o=>o.resource??[]),(0,I.W)(()=>(0,B.of)([]))),apps:this.appService.getAll({limit:0}).pipe((0,X.T)(o=>o.resource??[]),(0,I.W)(()=>(0,B.of)([])))}).pipe((0,he.Q)(this.destroy$)).subscribe({next:({matrix:o,limits:i,apps:r})=>{this.loading=!1,this.nodes=this.buildNodes(t,o.roles,i,r)},error:()=>{this.loading=!1,this.errored=!0}}))}buildNodes(t,o,i,r){const c=o.filter(_=>$e.e.some(C=>"none"!==_.verbs[C])),s=o.filter(_=>$e.e.some(C=>"filtered"===_.verbs[C])),l=i.find(_=>_.serviceId===t)??i.find(_=>null==_.serviceId),p=["/",Q.b.API_CONNECTIONS,Q.b.API_KEYS],f=["/",Q.b.API_CONNECTIONS,Q.b.ROLE_BASED_ACCESS],M=["/",Q.b.API_SECURITY,Q.b.RATE_LIMITING];return[{kind:"key",icon:"key",present:r.length>0,status:r.length>0?"active":"open",detailKey:r.length>0?"nodes.key.detail":"nodes.key.empty",detailParams:{count:r.length},link:p,addLink:r.length>0?void 0:[...p,Q.b.CREATE]},{kind:"role",icon:"security",present:c.length>0,status:c.length>0?"active":"open",detailKey:c.length>0?"nodes.role.detail":"nodes.role.empty",detailParams:{count:c.length},link:1===c.length?[...f,String(c[0].roleId)]:f,addLink:c.length>0?void 0:[...f,Q.b.CREATE]},{kind:"rate",icon:"speed",present:!!l,status:l?"active":"open",detailKey:l?"nodes.rate.detail":"nodes.rate.empty",detailParams:l?{rate:l.rate,period:l.period}:void 0,link:l?[...M,String(l.id)]:M,addLink:l?void 0:[...M,Q.b.CREATE]},{kind:"filter",icon:"filter_alt",present:s.length>0,status:s.length>0?"filtered":"open",detailKey:s.length>0?"nodes.filter.detail":"nodes.filter.empty",detailParams:{count:s.length},link:f},{kind:"handler",icon:"bolt",present:!0,status:"handler",detailKey:this.serviceType?"nodes.handler.detail":"nodes.handler.empty",detailParams:this.serviceType?{type:this.serviceType}:void 0,link:this.serviceName?["/",Q.b.API_CONNECTIONS,Q.b.API_DOCS,this.serviceName]:["/",Q.b.API_CONNECTIONS,Q.b.API_DOCS]}]}static{this.\u0275fac=function(o){return new(o||n)(e.rXU($e.q),e.rXU(q.gu),e.rXU(q.u7))}}static{this.\u0275cmp=e.VBU({type:n,selectors:[["df-pipeline-strip"]],inputs:{serviceId:"serviceId",serviceName:"serviceName",serviceType:"serviceType"},standalone:!0,features:[e.OA$,e.aNF],decls:1,vars:1,consts:[[4,"transloco","translocoRead"],["data-testid","df-pipeline-strip",1,"pipeline-strip"],["class","pipeline-strip__loading",4,"ngIf"],["icon","error_outline",3,"title","description",4,"ngIf"],["class","pipeline-strip__list",4,"ngIf"],[1,"pipeline-strip__loading"],["variant","card",3,"count"],["icon","error_outline",3,"title","description"],[1,"pipeline-strip__list"],["class","pipeline-strip__node",3,"pipeline-strip__node--open",4,"ngFor","ngForOf","ngForTrackBy"],[1,"pipeline-strip__node"],["aria-hidden","true",1,"pipeline-strip__rail"],[1,"pipeline-strip__marker"],[1,"pipeline-strip__card"],[1,"pipeline-strip__head"],[1,"pipeline-strip__name"],[3,"variant","label"],[1,"pipeline-strip__detail"],[1,"pipeline-strip__actions"],[1,"pipeline-strip__link",3,"routerLink"],["class","pipeline-strip__link pipeline-strip__link--add",3,"routerLink",4,"ngIf"],[1,"pipeline-strip__link","pipeline-strip__link--add",3,"routerLink"]],template:function(o,i){1&o&&e.DNE(0,Ic,5,3,"ng-container",0),2&o&&e.Y8G("translocoRead","pipelineStrip")},dependencies:[d.MD,d.Sq,d.bT,j.iI,j.Wk,R.Q8,R.bA,U.m_,U.An,vt.v,vn.M,xn.d],styles:['[_nghost-%COMP%]{display:block}.pipeline-strip[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:var(--df-space-4)}.pipeline-strip__loading[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:var(--df-space-3)}.pipeline-strip__list[_ngcontent-%COMP%]{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:var(--df-space-3)}.pipeline-strip__node[_ngcontent-%COMP%]{display:grid;grid-template-columns:3.6rem 1fr;gap:var(--df-space-3);align-items:stretch}.pipeline-strip__rail[_ngcontent-%COMP%]{position:relative;display:flex;justify-content:center;padding-top:var(--df-space-2)}.pipeline-strip__node[_ngcontent-%COMP%]:not(:last-child) .pipeline-strip__rail[_ngcontent-%COMP%]:after{content:"";position:absolute;top:4rem;bottom:calc(var(--df-space-3) * -1);left:50%;width:1px;transform:translate(-50%);background:var(--df-border)}.pipeline-strip__marker[_ngcontent-%COMP%]{position:relative;z-index:1;display:inline-flex;align-items:center;justify-content:center;width:3.2rem;height:3.2rem;flex:none;border-radius:50%;border:1px solid var(--df-border);background:var(--df-surface);color:var(--df-text-muted)}.pipeline-strip__marker[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{width:1.8rem;height:1.8rem;font-size:1.8rem;line-height:1.8rem}.pipeline-strip__marker--active[_ngcontent-%COMP%]{border-color:var(--df-success-border);background:var(--df-success-soft);color:var(--df-success)}.pipeline-strip__marker--filtered[_ngcontent-%COMP%]{border-color:var(--df-warning-border);background:var(--df-warning-soft);color:var(--df-warning)}.pipeline-strip__marker--handler[_ngcontent-%COMP%]{border-color:var(--df-accent);background:var(--df-accent-soft);color:var(--df-accent)}.pipeline-strip__node--open[_ngcontent-%COMP%] .pipeline-strip__marker[_ngcontent-%COMP%]{border-style:dashed;color:var(--df-text-faint)}.pipeline-strip__card[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:var(--df-space-1);padding:var(--df-space-3) var(--df-space-4);border:1px solid var(--df-border);border-radius:var(--df-radius);background:var(--df-surface)}.pipeline-strip__node--open[_ngcontent-%COMP%] .pipeline-strip__card[_ngcontent-%COMP%]{background:var(--df-surface-2);border-style:dashed}.pipeline-strip__head[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:space-between;gap:var(--df-space-2)}.pipeline-strip__name[_ngcontent-%COMP%]{font-size:var(--df-font-size-md);font-weight:var(--df-font-weight-heading);color:var(--df-text)}.pipeline-strip__detail[_ngcontent-%COMP%]{margin:0;font-size:var(--df-font-size-sm);color:var(--df-text-muted)}.pipeline-strip__actions[_ngcontent-%COMP%]{display:flex;flex-wrap:wrap;align-items:center;gap:var(--df-space-4);margin-top:var(--df-space-1)}.pipeline-strip__link[_ngcontent-%COMP%]{display:inline-flex;align-items:center;gap:var(--df-space-1);font-size:var(--df-font-size-sm);font-weight:var(--df-font-weight-medium);color:var(--df-accent);text-decoration:none;cursor:pointer}.pipeline-strip__link[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{width:1.6rem;height:1.6rem;font-size:1.6rem;line-height:1.6rem}.pipeline-strip__link[_ngcontent-%COMP%]:hover{text-decoration:underline}.pipeline-strip__link[_ngcontent-%COMP%]:focus-visible{outline:2px solid var(--df-accent);outline-offset:2px;border-radius:var(--df-radius-sm)}.pipeline-strip__link--add[_ngcontent-%COMP%]{color:var(--df-text-2)}']})}}return n})();const Gc=function(n,a){return{verb:n,service:a}};let jc=(()=>{class n{constructor(t){this.data=t}static{this.\u0275fac=function(o){return new(o||n)(e.rXU(h.Vh))}}static{this.\u0275cmp=e.VBU({type:n,selectors:[["df-service-role-scope-dialog"]],standalone:!0,features:[e.aNF],decls:22,vars:20,consts:[[1,"scope-role-dialog"],["mat-dialog-title","",1,"scope-role-dialog__head"],[1,"scope-role-dialog__heading"],[1,"scope-role-dialog__eyebrow"],[1,"scope-role-dialog__title"],["mat-icon-button","","mat-dialog-close","",1,"scope-role-dialog__close"],[1,"scope-role-dialog__content"],[1,"scope-role-dialog__hint"],[3,"roleId"],["align","end",1,"scope-role-dialog__actions"],["mat-stroked-button","","mat-dialog-close",""]],template:function(o,i){1&o&&(e.j41(0,"div",0)(1,"header",1)(2,"div",2)(3,"p",3),e.EFF(4),e.nI1(5,"transloco"),e.k0s(),e.j41(6,"h2",4),e.EFF(7),e.nI1(8,"transloco"),e.k0s()(),e.j41(9,"button",5),e.nI1(10,"transloco"),e.j41(11,"mat-icon"),e.EFF(12,"close"),e.k0s()()(),e.j41(13,"mat-dialog-content",6)(14,"p",7),e.EFF(15),e.nI1(16,"transloco"),e.k0s(),e.nrm(17,"df-role-scope",8),e.k0s(),e.j41(18,"mat-dialog-actions",9)(19,"button",10),e.EFF(20),e.nI1(21,"transloco"),e.k0s()()()),2&o&&(e.R7$(4),e.SpI(" ",e.bMT(5,6,"services.access.dialog.eyebrow")," "),e.R7$(3),e.SpI(" ",e.i5U(8,8,"services.access.dialog.title",e.l_i(17,Gc,i.data.verb,i.data.serviceLabel))," "),e.R7$(2),e.BMQ("aria-label",e.bMT(10,11,"services.access.dialog.close")),e.R7$(6),e.SpI(" ",e.bMT(16,13,"services.access.dialog.hint")," "),e.R7$(2),e.Y8G("roleId",i.data.roleId),e.R7$(3),e.SpI(" ",e.bMT(21,15,"services.access.dialog.close")," "))},dependencies:[d.MD,R.Q8,R.Kj,u.Hl,u.$z,u.iY,U.m_,U.An,h.hM,h.tx,h.BI,h.Yi,h.E7,Ht.e],styles:[".scope-role-dialog__head[_ngcontent-%COMP%]{display:flex;align-items:flex-start;justify-content:space-between;gap:1.6rem;margin:0}.scope-role-dialog__eyebrow[_ngcontent-%COMP%]{margin:0 0 .2rem;font-size:1.1rem;font-weight:600;letter-spacing:.06em;text-transform:uppercase;color:var(--df-text-muted)}.scope-role-dialog__title[_ngcontent-%COMP%]{margin:0;font-size:1.8rem;line-height:1.3;color:var(--df-text)}.scope-role-dialog__close[_ngcontent-%COMP%]{flex:0 0 auto;color:var(--df-text-muted)}.scope-role-dialog__hint[_ngcontent-%COMP%]{margin:0 0 1.6rem;color:var(--df-text-muted);font-size:1.3rem;line-height:1.5}"]})}}return n})();class _e extends Error{}const Nc=new Set(["-s","--silent","-S","--show-error","-v","--verbose","-i","--include","-f","--fail","-#","--progress-bar","-N","--no-buffer","-g","--globoff","-4","--ipv4","-6","--ipv6","--no-progress-meter"]),Ac=new Set(["-o","--output","-w","--write-out","-D","--dump-header","--trace","--trace-ascii","--stderr"]),Yc=new Set(["-d","--data","--data-raw","--data-ascii","--data-binary","--data-urlencode"]);function Xc(n){if(n.endsWith(";")&&!n.includes(":"))return{name:n.slice(0,-1).trim(),value:""};const a=n.indexOf(":");if(-1===a)return null;const t=n.slice(0,a).trim();return t?{name:t,value:n.slice(a+1).trim()}:null}function Bc(n){const a=encodeURIComponent(n).replace(/%([0-9A-F]{2})/gi,(t,o)=>String.fromCharCode(parseInt(o,16)));return btoa(a)}function He(n){try{return decodeURIComponent(n.replace(/\+/g," "))}catch{return n}}function Uc(n,a){if(1&n&&(e.j41(0,"div",10),e.nrm(1,"fa-icon",11),e.j41(2,"span"),e.EFF(3),e.k0s()()),2&n){const t=e.XpG();e.R7$(1),e.Y8G("icon",t.faTriangleExclamation),e.R7$(2),e.JRh(t.error)}}function qc(n,a){1&n&&(e.j41(0,"th",26),e.EFF(1),e.nI1(2,"transloco"),e.k0s()),2&n&&(e.R7$(1),e.SpI(" ",e.bMT(2,1,"name")," "))}function Jc(n,a){if(1&n&&(e.j41(0,"td",27),e.EFF(1),e.k0s()),2&n){const t=a.$implicit;e.R7$(1),e.JRh(t.name)}}function Kc(n,a){1&n&&(e.j41(0,"th",26),e.EFF(1),e.nI1(2,"transloco"),e.k0s()),2&n&&(e.R7$(1),e.SpI(" ",e.bMT(2,1,"value")," "))}function Hc(n,a){if(1&n&&(e.j41(0,"td",28),e.EFF(1),e.k0s()),2&n){const t=a.$implicit;e.R7$(1),e.SpI(" ",t.value," ")}}function Wc(n,a){1&n&&e.nrm(0,"tr",29)}function Qc(n,a){1&n&&e.nrm(0,"tr",30)}function Zc(n,a){if(1&n&&(e.qex(0),e.j41(1,"h3",12),e.EFF(2),e.k0s(),e.j41(3,"table",18),e.qex(4,19),e.DNE(5,qc,3,3,"th",20),e.DNE(6,Jc,2,1,"td",21),e.bVm(),e.qex(7,22),e.DNE(8,Kc,3,3,"th",20),e.DNE(9,Hc,2,1,"td",23),e.bVm(),e.DNE(10,Wc,1,0,"tr",24),e.DNE(11,Qc,1,0,"tr",25),e.k0s(),e.bVm()),2&n){const t=e.XpG(),o=t.caption,i=t.$implicit,r=e.XpG(2);e.R7$(2),e.Lme("",o," (",i.length,")"),e.R7$(1),e.Y8G("dataSource",i),e.R7$(7),e.Y8G("matHeaderRowDef",r.keyValueColumns),e.R7$(1),e.Y8G("matRowDefColumns",r.keyValueColumns)}}function es(n,a){1&n&&e.DNE(0,Zc,12,5,"ng-container",6),2&n&&e.Y8G("ngIf",a.$implicit.length)}function ts(n,a){1&n&&e.eu8(0)}function ns(n,a){1&n&&e.eu8(0)}function os(n,a){1&n&&e.eu8(0)}function is(n,a){if(1&n&&(e.j41(0,"div",33),e.nrm(1,"fa-icon",11),e.j41(2,"span"),e.EFF(3),e.k0s()()),2&n){const t=a.$implicit,o=e.XpG(3);e.R7$(1),e.Y8G("icon",o.faTriangleExclamation),e.R7$(2),e.JRh(t)}}function as(n,a){if(1&n&&(e.j41(0,"div",31),e.DNE(1,is,4,2,"div",32),e.k0s()),2&n){const t=e.XpG(2);e.R7$(1),e.Y8G("ngForOf",t.parsed.warnings)}}const Ct=function(n,a){return{$implicit:n,caption:a}};function rs(n,a){if(1&n&&(e.qex(0),e.j41(1,"h2",12),e.EFF(2),e.nI1(3,"transloco"),e.k0s(),e.j41(4,"dl",13)(5,"dt"),e.EFF(6),e.nI1(7,"transloco"),e.k0s(),e.j41(8,"dd",14),e.EFF(9),e.k0s(),e.j41(10,"dt"),e.EFF(11),e.nI1(12,"transloco"),e.k0s(),e.j41(13,"dd"),e.EFF(14),e.k0s()(),e.DNE(15,es,1,1,"ng-template",null,15,e.C5r),e.DNE(17,ts,1,0,"ng-container",16),e.nI1(18,"transloco"),e.DNE(19,ns,1,0,"ng-container",16),e.nI1(20,"transloco"),e.DNE(21,os,1,0,"ng-container",16),e.nI1(22,"transloco"),e.DNE(23,as,2,1,"div",17),e.bVm()),2&n){const t=e.sdS(16),o=e.XpG();e.R7$(2),e.SpI(" ",e.bMT(3,12,"services.curlImport.preview")," "),e.R7$(4),e.JRh(e.bMT(7,14,"services.curlImport.baseUrl")),e.R7$(3),e.JRh(o.parsed.baseUrl),e.R7$(2),e.JRh(e.bMT(12,16,"services.curlImport.method")),e.R7$(3),e.JRh(o.parsed.method),e.R7$(3),e.Y8G("ngTemplateOutlet",t)("ngTemplateOutletContext",e.l_i(24,Ct,o.parsed.parameters,e.bMT(18,18,"services.curlImport.parameters"))),e.R7$(2),e.Y8G("ngTemplateOutlet",t)("ngTemplateOutletContext",e.l_i(27,Ct,o.parsed.headers,e.bMT(20,20,"services.curlImport.headers"))),e.R7$(2),e.Y8G("ngTemplateOutlet",t)("ngTemplateOutletContext",e.l_i(30,Ct,o.optionEntries,e.bMT(22,22,"services.curlImport.curlOptions"))),e.R7$(2),e.Y8G("ngIf",o.parsed.warnings.length)}}let cs=(()=>{class n{constructor(t){this.dialogRef=t,this.command="",this.parsed=null,this.error="",this.faUpload=b.JmV,this.faTriangleExclamation=b.JAe,this.keyValueColumns=["name","value"]}get optionEntries(){return Object.entries(this.parsed?.options??{}).map(([t,o])=>({name:t,value:o}))}onCommandChange(){if(this.error="",this.parsed=null,this.command.trim())try{this.parsed=function Lc(n){const a=(n??"").trim();if(!a)throw new _e("Enter a cURL command.");const t=function Vc(n){const a=[];let t="",o=!1,i=0;for(;i{if(void 0!==y)return y;if(v++,v>=t.length)throw new _e(`Missing value for ${k}.`);return t[v]};for(;v2&&"HXduexAebm".includes(k[1])&&(y=k.slice(0,2),Y=k.slice(2)),!Nc.has(y)){if(Ac.has(y)){x(y,Y);continue}if(Yc.has(y)){c.push(x(y,Y));continue}switch(y){case"-X":case"--request":l=x(y,Y).toUpperCase();break;case"-H":case"--header":{const be=Xc(x(y,Y));be?o.push(be):r.push("Skipped a header that could not be parsed.");break}case"--url":s.push(x(y,Y));break;case"-u":case"--user":p=x(y,Y);break;case"-A":case"--user-agent":o.push({name:"User-Agent",value:x(y,Y)});break;case"-e":case"--referer":o.push({name:"Referer",value:x(y,Y)});break;case"-b":case"--cookie":o.push({name:"Cookie",value:x(y,Y)});break;case"-k":case"--insecure":i.CURLOPT_SSL_VERIFYPEER="0",i.CURLOPT_SSL_VERIFYHOST="0";break;case"-L":case"--location":i.CURLOPT_FOLLOWLOCATION="1";break;case"-x":case"--proxy":i.CURLOPT_PROXY=x(y,Y);break;case"-U":case"--proxy-user":i.CURLOPT_PROXYUSERPWD=x(y,Y);break;case"--connect-timeout":i.CURLOPT_CONNECTTIMEOUT=x(y,Y);break;case"-m":case"--max-time":i.CURLOPT_TIMEOUT=x(y,Y);break;case"--compressed":i.CURLOPT_ENCODING="";break;case"-G":case"--get":f=!0;break;case"-I":case"--head":l=l||"HEAD";break;case"-F":case"--form":M=!0,c.push(x(y,Y));break;default:if(r.push(`Ignored unsupported option "${y}".`),void 0===Y&&!1===t[v+1]?.startsWith("-")){const be=t[v+1];be&&!/^[a-z][a-z0-9+.-]*:\/\//i.test(be)&&v++}}}}if(!s.length)throw new _e("No URL found in the command.");s.length>1&&r.push(`Command contains ${s.length} URLs; only the first was imported.`);const{baseUrl:F,parameters:T}=function zc(n){const a=[],t=n.indexOf("#"),o=-1===t?n:n.slice(0,t),i=o.indexOf("?");if(-1===i)return{baseUrl:o,parameters:a};const r=o.slice(0,i),c=o.slice(i+1);for(const s of c.split("&")){if(!s)continue;const l=s.indexOf("="),p=-1===l?s:s.slice(0,l),f=-1===l?"":s.slice(l+1);a.push({name:He(p),value:He(f)})}return{baseUrl:r,parameters:a}}(s[0]);if(!F)throw new _e("No URL found in the command.");const z=F.match(/^([a-z][a-z0-9+.-]*):(?=\/)/i);if(z){const k=z[1].toLowerCase();"http"!==k&&"https"!==k&&r.push(`The URL uses the "${k}" scheme, not http or https. The service sends requests with that scheme server-side, which can read local files or reach internal hosts. Import only if you trust the source.`)}const _=c.length?c.join("&"):void 0;if(f&&_)for(const k of _.split("&")){if(!k)continue;const y=k.indexOf("=");T.push({name:He(-1===y?k:k.slice(0,y)),value:He(-1===y?"":k.slice(y+1))})}let C=l;return C||(C=_&&!f?"POST":"GET"),M?r.push("Multipart form fields (-F) cannot be stored on an HTTP service and were not imported."):_&&!f&&r.push("The request body was not imported. An HTTP service passes through the body it receives at request time."),p&&(o.some(y=>"authorization"===y.name.toLowerCase())?r.push("Credentials from -u were ignored because the command already sets an Authorization header."):(o.push({name:"Authorization",value:`Basic ${Bc(p)}`}),r.push("Credentials from -u were imported as an Authorization header. Base64 is encoding, not encryption, so they are stored in a recoverable form."))),{baseUrl:F,method:C,parameters:T,headers:o,options:i,body:f?void 0:_,warnings:r}}(this.command)}catch(t){this.error=t instanceof _e?t.message:"Could not parse the cURL command."}}onImport(){this.parsed&&this.dialogRef.close(this.parsed)}static{this.\u0275fac=function(o){return new(o||n)(e.rXU(h.CP))}}static{this.\u0275cmp=e.VBU({type:n,selectors:[["df-curl-import-dialog"]],standalone:!0,features:[e.aNF],decls:22,vars:22,consts:[["mat-dialog-title",""],["mat-dialog-content","",1,"curl-import-content"],[1,"curl-import-hint"],["appearance","outline",1,"full-width"],["matInput","","rows","7","spellcheck","false","data-testid","curl-import-command",3,"placeholder","ngModel","ngModelChange"],["class","curl-import-error","data-testid","curl-import-error",4,"ngIf"],[4,"ngIf"],["mat-dialog-actions",""],["mat-flat-button","","mat-dialog-close","","type","button"],["mat-flat-button","","color","primary","type","button","data-testid","curl-import-submit",3,"disabled","click"],["data-testid","curl-import-error",1,"curl-import-error"],[3,"icon"],[1,"curl-import-section"],[1,"curl-import-summary"],["data-testid","curl-import-base-url"],["keyValueTable",""],[4,"ngTemplateOutlet","ngTemplateOutletContext"],["class","curl-import-warnings","data-testid","curl-import-warnings",4,"ngIf"],["mat-table","",1,"full-width",3,"dataSource"],["matColumnDef","name"],["mat-header-cell","",4,"matHeaderCellDef"],["mat-cell","",4,"matCellDef"],["matColumnDef","value"],["mat-cell","","class","curl-import-value",4,"matCellDef"],["mat-header-row","",4,"matHeaderRowDef"],["mat-row","",4,"matRowDef","matRowDefColumns"],["mat-header-cell",""],["mat-cell",""],["mat-cell","",1,"curl-import-value"],["mat-header-row",""],["mat-row",""],["data-testid","curl-import-warnings",1,"curl-import-warnings"],["class","curl-import-warning",4,"ngFor","ngForOf"],[1,"curl-import-warning"]],template:function(o,i){1&o&&(e.j41(0,"h1",0),e.EFF(1),e.nI1(2,"transloco"),e.k0s(),e.j41(3,"div",1)(4,"p",2),e.EFF(5),e.nI1(6,"transloco"),e.k0s(),e.j41(7,"mat-form-field",3)(8,"mat-label"),e.EFF(9),e.nI1(10,"transloco"),e.k0s(),e.j41(11,"textarea",4),e.bIt("ngModelChange",function(c){return i.command=c})("ngModelChange",function(){return i.onCommandChange()}),e.nI1(12,"transloco"),e.k0s()(),e.DNE(13,Uc,4,2,"div",5),e.DNE(14,rs,24,33,"ng-container",6),e.k0s(),e.j41(15,"div",7)(16,"button",8),e.EFF(17),e.nI1(18,"transloco"),e.k0s(),e.j41(19,"button",9),e.bIt("click",function(){return i.onImport()}),e.EFF(20),e.nI1(21,"transloco"),e.k0s()()),2&o&&(e.R7$(1),e.JRh(e.bMT(2,10,"services.curlImport.title")),e.R7$(4),e.SpI(" ",e.bMT(6,12,"services.curlImport.hint")," "),e.R7$(4),e.JRh(e.bMT(10,14,"services.curlImport.commandLabel")),e.R7$(2),e.Y8G("placeholder",e.bMT(12,16,"services.curlImport.placeholder"))("ngModel",i.command),e.R7$(2),e.Y8G("ngIf",i.error),e.R7$(1),e.Y8G("ngIf",i.parsed),e.R7$(3),e.SpI(" ",e.bMT(18,18,"cancel")," "),e.R7$(2),e.Y8G("disabled",!i.parsed),e.R7$(1),e.SpI(" ",e.bMT(21,20,"services.curlImport.import")," "))},dependencies:[d.bT,d.pM,d.T3,m.YN,m.me,m.BC,m.vS,h.hM,h.tx,h.BI,h.Yi,h.E7,u.Hl,u.$z,O.RG,O.rl,O.nJ,$.fS,$.fg,P.tP,P.Zl,P.tL,P.ji,P.cC,P.YV,P.iL,P.KS,P.$R,P.YZ,P.NB,w.dX,w.aY,R.Kj],styles:[".curl-import-content[_ngcontent-%COMP%]{display:flex;flex-direction:column;min-width:34rem;max-width:44rem}.curl-import-hint[_ngcontent-%COMP%]{margin:0 0 1rem;opacity:.75}.full-width[_ngcontent-%COMP%]{width:100%}textarea[matInput][_ngcontent-%COMP%]{font-family:monospace;white-space:pre;overflow-x:auto}.curl-import-section[_ngcontent-%COMP%]{font-size:.95rem;font-weight:600;margin:1rem 0 .5rem}.curl-import-summary[_ngcontent-%COMP%]{display:grid;grid-template-columns:auto 1fr;gap:.25rem 1rem;margin:0}.curl-import-summary[_ngcontent-%COMP%] dt[_ngcontent-%COMP%]{font-weight:600}.curl-import-summary[_ngcontent-%COMP%] dd[_ngcontent-%COMP%]{margin:0;overflow-wrap:anywhere}.curl-import-value[_ngcontent-%COMP%]{overflow-wrap:anywhere}.curl-import-error[_ngcontent-%COMP%], .curl-import-warning[_ngcontent-%COMP%]{display:flex;align-items:flex-start;gap:.5rem;padding:.5rem 0}.curl-import-error[_ngcontent-%COMP%]{color:var(--mdc-theme-error, #b3261e)}.curl-import-warnings[_ngcontent-%COMP%]{margin-top:1rem}"]})}}return n})();var ss=g(68788),ls=g(29810);let ds=(()=>{class n{constructor(t){this.http=t,this.CACHE_KEY="df_dashboard_stats",this.CACHE_DURATION=3e4,this.REFRESH_INTERVAL=9e5,this.stats$=(0,Zt.O)(0,this.REFRESH_INTERVAL).pipe((0,Ce.n)(()=>this.fetchStats()),(0,ls.t)(1))}getDashboardStats(){const t=this.getCachedStats();return t?(0,B.of)(t):this.stats$}fetchStats(){const t=(0,K.Ku)(),o={services:this.http.get("/api/v2/system/service?fields=id,name,type&include_count=true",{context:t}),roles:this.http.get("/api/v2/system/role?fields=id,name&include_count=true",{context:t}),appKeys:this.http.get("/api/v2/system/app?include_count=true",{context:t})};return(0,ue.p)(o).pipe((0,X.T)(i=>this.transformResponses(i)),(0,Fe.M)(i=>this.cacheStats(i)),(0,I.W)(()=>(0,B.of)(this.getSimpleStats())))}transformResponses(t){const{services:o,roles:i,appKeys:r}=t,c=["system","api_docs","files","logs","db","email","user","script","ui","schema","api_doc","file","log","admin","df-admin","dreamfactory","cache","push","pub_sub"].map(v=>v.toLowerCase()),s=["admin","api_docs","file_manager"].map(v=>v.toLowerCase()),l=["administrator","user","admin","sys_admin"].map(v=>v.toLowerCase()),p=(o.resource||[]).filter(v=>!c.includes(v.name.toLowerCase())),f=(r.resource||[]).filter(v=>{const F=!!(v.apiKey||v.api_key||v.apikey);return!s.includes(v.name.toLowerCase())&&F}),M=(i.resource||[]).filter(v=>!l.includes(v.name.toLowerCase()));return{services:{total:p.length},apiKeys:{total:f.length},roles:{total:M.length}}}calculateTrend(t,o){return 0===t?0:Math.round((o-t)/t*100)}getCachedStats(){const t=localStorage.getItem(this.CACHE_KEY);if(!t)return null;try{const{data:o,timestamp:i}=JSON.parse(t);if(Date.now()-i{class n{constructor(){this.http=(0,e.WQX)(ee.Qq)}resolveWorkingKeyAndTable(t,o){var i=this;return(0,ve.A)(function*(r,c,s="your_table"){let l=s;if(!c||"number"!=typeof r)return{apiKey:"",sampleTable:l,keys:[]};try{const p=yield i.introspectTables(c);p[0]&&(l=p[0]);const f=yield i.resolveCandidates(r);if(!f.length)return{apiKey:"",sampleTable:l,keys:[]};const M=window.location.origin,v=[],x=[];for(const T of f){const z={label:T.label,apiKey:T.apiKey},_=(T.grantsAll?p:T.tables.filter(y=>p.includes(y))).slice(0,5),C=(T.writeCapable?2:0)+(T.grantsAll?1:0);let k="";for(const y of _)try{if((yield fetch(`${M}${N.C}/${c}/_table/${encodeURIComponent(y)}?limit=1`,{headers:{"X-DreamFactory-API-Key":T.apiKey},credentials:"omit"})).ok){k=y;break}}catch{}k?v.push({option:{...z,verified:!0},table:k,score:C}):x.push(z)}if(!v.length)return{apiKey:"",sampleTable:l,keys:[]};v.sort((T,z)=>T.score-z.score),l=v[0].table;const F=[...v.map(T=>T.option),...x];return{apiKey:F[0].apiKey,sampleTable:l,keys:F}}catch{return{apiKey:"",sampleTable:l,keys:[]}}}).apply(this,arguments)}resolveCandidates(t){var o=this;return(0,ve.A)(function*(){const i=yield(0,kt._)(o.http.get(`${N.C}/system/role?related=role_service_access_by_role_id&limit=200`,{context:(0,K.Ku)()})),r=new Map;for(const p of i?.resource??[]){if(!1===p?.isActive)continue;let f=!1,M=!1;const v=[];for(const x of p?.roleServiceAccessByRoleId??[]){const F=x?.serviceId;if(F!==t&&null!=F)continue;const z=x?.verbMask??0;if(30&z&&(M=!0),!(1&z))continue;const _=x?.component??"";if(""===_||"*"===_||"_table/*"===_)f=!0;else if(_.startsWith("_table/")){const C=_.slice(7).replace(/\/\*$/,"").replace(/\/$/,"");C&&"*"!==C&&v.push(C)}}(f||v.length)&&r.set(p.id,{tables:v,grantsAll:f,writeCapable:M})}if(!r.size)return[];const c=[...r.keys()],s=yield Promise.all(c.map(p=>(0,kt._)(o.http.get(`${N.C}/system/app?filter=role_id=${p}&fields=*`,{context:(0,K.Ku)()})).catch(()=>({resource:[]})))),l=[];return c.forEach((p,f)=>{const M=r.get(p);if(M)for(const v of s[f]?.resource??[])!1===v?.isActive||!v?.apiKey||l.push({label:v.name||"API key",apiKey:v.apiKey,tables:M.tables,grantsAll:M.grantsAll,writeCapable:M.writeCapable})}),l})()}introspectTables(t){var o=this;return(0,ve.A)(function*(){try{return((yield(0,kt._)(o.http.get(`${N.C}/${t}/_table`,{context:(0,K.Ku)()})))?.resource??[]).map(r=>"string"==typeof r?r:r?.name).filter(r=>!!r)}catch{return[]}})()}static{this.\u0275fac=function(o){return new(o||n)}}static{this.\u0275prov=e.jDH({token:n,factory:n.\u0275fac,providedIn:"root"})}}return n})();var yt;const ms=["stepper"],_s=["functionEditor"],gs=["headersEditor"],fs=["unsavedToolDialog"];function us(n,a){1&n&&(e.EFF(0),e.nI1(1,"transloco")),2&n&&e.SpI(" ",e.bMT(1,1,"services.controls.serviceType.label"),"")}function hs(n,a){if(1&n){const t=e.RV6();e.j41(0,"label",30)(1,"input",31),e.bIt("input",function(){e.eBV(t),e.XpG();const i=e.sdS(2),r=e.XpG();return e.Njj(r.nextStep(i))}),e.k0s(),e.j41(2,"div",32),e.nrm(3,"span",33),e.j41(4,"div",34),e.nrm(5,"img",35),e.j41(6,"h4"),e.EFF(7),e.k0s()()()()}if(2&n){const t=a.$implicit,o=e.XpG(2);e.R7$(1),e.Y8G("value",t.name),e.R7$(1),e.HbH(t.class),e.R7$(3),e.Y8G("src",o.getBackgroundImage(t.name),e.B4B)("alt",t.label),e.R7$(2),e.SpI(" ",t.label," ")}}function bs(n,a){if(1&n){const t=e.RV6();e.qex(0),e.j41(1,"button",37),e.bIt("click",function(){e.eBV(t);const i=e.XpG().$implicit,r=e.XpG(2);return e.Njj(r.openDialog(i.label||i.name))}),e.EFF(2," Unlock Now "),e.k0s(),e.bVm()}}function vs(n,a){if(1&n){const t=e.RV6();e.j41(0,"label",30)(1,"input",31),e.bIt("input",function(){e.eBV(t),e.XpG();const i=e.sdS(2),r=e.XpG();return e.Njj(r.nextStep(i))}),e.k0s(),e.j41(2,"div",32),e.nrm(3,"span",33),e.j41(4,"div",34),e.nrm(5,"img",35),e.j41(6,"h4",36),e.EFF(7),e.k0s()()(),e.DNE(8,bs,3,0,"ng-container",24),e.k0s()}if(2&n){const t=a.$implicit,o=e.XpG(2);e.R7$(1),e.Y8G("value",t.name),e.BMQ("disabled",!0),e.R7$(1),e.HbH(t.class),e.R7$(3),e.Y8G("src",o.getBackgroundImage(t.name),e.B4B)("alt",t.label),e.R7$(2),e.SpI(" ",t.label," "),e.R7$(1),e.Y8G("ngIf","not-included"===t.class)}}function xs(n,a){1&n&&e.EFF(0,"Service Details")}function Cs(n,a){if(1&n&&(e.j41(0,"mat-form-field",38)(1,"mat-label"),e.EFF(2),e.nI1(3,"transloco"),e.k0s(),e.nrm(4,"input",39)(5,"fa-icon",11),e.nI1(6,"transloco"),e.j41(7,"mat-hint"),e.EFF(8),e.nI1(9,"transloco"),e.k0s()()),2&n){const t=e.XpG(2);e.R7$(2),e.JRh(e.bMT(3,4,"services.controls.namespace.label")),e.R7$(3),e.Y8G("icon",t.faCircleInfo)("matTooltip",e.bMT(6,6,"services.controls.namespace.tooltip")),e.R7$(3),e.JRh(e.bMT(9,8,"services.controls.namespace.hint"))}}function ks(n,a){if(1&n&&(e.j41(0,"mat-form-field",40)(1,"mat-label"),e.EFF(2),e.nI1(3,"transloco"),e.k0s(),e.nrm(4,"input",41)(5,"fa-icon",11),e.nI1(6,"transloco"),e.k0s()),2&n){const t=e.XpG(2);e.R7$(2),e.JRh(e.bMT(3,3,"services.controls.label.label")),e.R7$(3),e.Y8G("icon",t.faCircleInfo)("matTooltip",e.bMT(6,5,"services.controls.label.tooltip"))}}function ys(n,a){if(1&n&&(e.j41(0,"mat-form-field",42)(1,"mat-label"),e.EFF(2),e.nI1(3,"transloco"),e.k0s(),e.nrm(4,"textarea",43)(5,"fa-icon",11),e.nI1(6,"transloco"),e.k0s()),2&n){const t=e.XpG(2);e.R7$(2),e.JRh(e.bMT(3,3,"services.controls.description.label")),e.R7$(3),e.Y8G("icon",t.faCircleInfo)("matTooltip",e.bMT(6,5,"services.controls.description.tooltip"))}}function Ms(n,a){1&n&&(e.j41(0,"mat-slide-toggle",44),e.EFF(1),e.nI1(2,"transloco"),e.k0s()),2&n&&(e.R7$(1),e.JRh(e.bMT(2,1,"active")))}function Os(n,a){1&n&&e.EFF(0,"Service Options")}function Ps(n,a){if(1&n&&(e.qex(0),e.nrm(1,"df-script-editor",48),e.bVm()),2&n){const t=e.XpG(6);e.R7$(1),e.Y8G("type",t.getControl("type"))("storageServiceId",t.getConfigControl("storageServiceId"))("storagePath",t.getConfigControl("storagePath"))("content",t.getServiceDocByServiceIdControl("content"))("cache",t.serviceData?t.serviceData.name:"")}}function Fs(n,a){if(1&n&&(e.qex(0),e.DNE(1,Ps,2,5,"ng-container",24),e.bVm()),2&n){const t=e.XpG(5);e.R7$(1),e.Y8G("ngIf",t.getConfigControl("storageServiceId"))}}const le=function(){return["file_certificate","file_certificate_api"]};function ws(n,a){if(1&n&&e.nrm(0,"df-dynamic-field",51),2&n){const t=e.XpG(2).$implicit,o=e.XpG(4);e.AVh("dynamic-width",-1===e.lJ4(6,le).indexOf(t.type))("full-width",-1!==e.lJ4(7,le).indexOf(t.type)),e.Y8G("schema",t)("formControl",o.getConfigControl(t.name))}}function Ds(n,a){if(1&n&&e.nrm(0,"df-array-field",52),2&n){const t=e.XpG(2).$implicit,o=e.XpG(4);e.Y8G("schema",t)("formControl",o.getConfigControl(t.name))}}const ke=function(){return["integer","password","string","text","picklist","multi_picklist","boolean","file_certificate","file_certificate_api"]};function Ts(n,a){if(1&n&&(e.DNE(0,ws,1,8,"df-dynamic-field",49),e.DNE(1,Ds,1,2,"df-array-field",50)),2&n){const t=e.XpG().$implicit;e.Y8G("ngIf",e.lJ4(2,ke).includes(t.type)),e.R7$(1),e.Y8G("ngIf","array"===t.type||"object"===t.type)}}function Ss(n,a){if(1&n&&(e.qex(0),e.DNE(1,Fs,2,1,"ng-container",1),e.DNE(2,Ts,2,3,"ng-template",null,47,e.C5r),e.bVm()),2&n){const t=a.$implicit,o=e.sdS(3);e.R7$(1),e.Y8G("ngIf","text"===t.type&&"content"===t.name)("ngIfElse",o)}}function Rs(n,a){if(1&n&&(e.qex(0),e.j41(1,"mat-accordion",15)(2,"div",9),e.DNE(3,Ss,4,2,"ng-container",46),e.k0s()(),e.bVm()),2&n){const t=e.XpG(3);e.R7$(3),e.Y8G("ngForOf",t.viewSchema)("ngForTrackBy",t.trackByName)}}function Is(n,a){if(1&n&&e.nrm(0,"df-dynamic-field",51),2&n){const t=e.XpG().$implicit,o=e.XpG(4);e.AVh("dynamic-width","file_certificate"!==t.type)("full-width","file_certificate"===t.type),e.Y8G("schema",t)("formControl",o.getConfigControl(t.name))}}function Es(n,a){if(1&n&&e.nrm(0,"df-array-field",52),2&n){const t=e.XpG().$implicit,o=e.XpG(4);e.Y8G("schema",t)("formControl",o.getConfigControl(t.name))}}function $s(n,a){if(1&n&&(e.qex(0),e.DNE(1,Is,1,6,"df-dynamic-field",49),e.DNE(2,Es,1,2,"df-array-field",50),e.bVm()),2&n){const t=a.$implicit;e.R7$(1),e.Y8G("ngIf",e.lJ4(2,ke).includes(t.type)),e.R7$(1),e.Y8G("ngIf","array"===t.type||"object"===t.type)}}function Gs(n,a){if(1&n&&(e.qex(0),e.nrm(1,"df-script-editor",48),e.bVm()),2&n){const t=e.XpG(7);e.R7$(1),e.Y8G("type",t.getControl("type"))("storageServiceId",t.getConfigControl("storageServiceId"))("storagePath",t.getConfigControl("storagePath"))("content",t.getServiceDocByServiceIdControl("content"))("cache",t.serviceData?t.serviceData.name:"")}}function js(n,a){if(1&n&&(e.qex(0),e.DNE(1,Gs,2,5,"ng-container",24),e.bVm()),2&n){const t=e.XpG(6);e.R7$(1),e.Y8G("ngIf",t.getConfigControl("storageServiceId"))}}function Ns(n,a){if(1&n&&e.nrm(0,"df-dynamic-field",51),2&n){const t=e.XpG(2).$implicit,o=e.XpG(5);e.AVh("dynamic-width","file_certificate"!==t.type&&"file_certificate_api"!==t.type)("full-width","file_certificate"===t.type||"file_certificate_api"===t.type),e.Y8G("schema",t)("formControl",o.getConfigControl(t.name))}}function As(n,a){if(1&n&&e.nrm(0,"df-array-field",52),2&n){const t=e.XpG(2).$implicit,o=e.XpG(5);e.Y8G("schema",t)("formControl",o.getConfigControl(t.name))}}function Ys(n,a){if(1&n&&(e.DNE(0,Ns,1,6,"df-dynamic-field",49),e.DNE(1,As,1,2,"df-array-field",50)),2&n){const t=e.XpG().$implicit;e.Y8G("ngIf",e.lJ4(2,ke).includes(t.type)),e.R7$(1),e.Y8G("ngIf","array"===t.type||"object"===t.type)}}function Vs(n,a){if(1&n&&(e.qex(0),e.DNE(1,js,2,1,"ng-container",1),e.DNE(2,Ys,2,3,"ng-template",null,47,e.C5r),e.bVm()),2&n){const t=a.$implicit,o=e.sdS(3);e.R7$(1),e.Y8G("ngIf","text"===t.type&&"content"===t.name)("ngIfElse",o)}}function Xs(n,a){if(1&n&&(e.j41(0,"div",55)(1,"mat-accordion",15)(2,"mat-expansion-panel",56)(3,"mat-expansion-panel-header"),e.EFF(4),e.nI1(5,"transloco"),e.k0s(),e.j41(6,"div",9),e.DNE(7,Vs,4,2,"ng-container",46),e.k0s()()()()),2&n){const t=e.XpG(4);e.R7$(2),e.Y8G("expanded",!1),e.R7$(2),e.SpI(" ",e.bMT(5,4,"services.options")," "),e.R7$(3),e.Y8G("ngForOf",t.advancedFields)("ngForTrackBy",t.trackByName)}}function zs(n,a){if(1&n&&(e.qex(0),e.j41(1,"div",53),e.DNE(2,$s,3,3,"ng-container",46),e.k0s(),e.DNE(3,Xs,8,6,"div",54),e.bVm()),2&n){const t=e.XpG(3);e.R7$(2),e.Y8G("ngForOf",t.basicFields)("ngForTrackBy",t.trackByName),e.R7$(1),e.Y8G("ngIf",t.showAdvancedOptions)}}function Bs(n,a){if(1&n&&(e.qex(0)(1,45),e.DNE(2,Rs,4,2,"ng-container",24),e.DNE(3,zs,4,3,"ng-container",24),e.bVm()()),2&n){const t=e.XpG(2);e.R7$(2),e.Y8G("ngIf",!t.isDatabase||!t.hasStandardFields),e.R7$(1),e.Y8G("ngIf",t.isDatabase&&t.hasStandardFields)}}function Ls(n,a){if(1&n&&(e.j41(0,"div",57),e.nrm(1,"fa-icon",58),e.j41(2,"p",59),e.EFF(3),e.nI1(4,"transloco"),e.k0s()()),2&n){const t=e.XpG(2);e.R7$(1),e.Y8G("icon",t.faCircleInfo),e.R7$(2),e.SpI(" ",e.bMT(4,2,"services.firstTimeGuidance")," ")}}function Us(n,a){if(1&n){const t=e.RV6();e.j41(0,"button",66),e.bIt("click",function(){e.eBV(t);const i=e.XpG(3);return e.Njj(i.goToSecurityConfig())}),e.EFF(1),e.nI1(2,"transloco"),e.k0s()}if(2&n){const t=e.XpG(3);e.Y8G("disabled",!t.serviceForm.valid),e.R7$(1),e.SpI(" ",e.bMT(2,2,"services.controls.nextSecurityConfig")," ")}}function qs(n,a){if(1&n){const t=e.RV6();e.j41(0,"button",67),e.bIt("click",function(){e.eBV(t);const i=e.XpG(3);return e.Njj(i.goToSecurityConfig())}),e.EFF(1),e.nI1(2,"transloco"),e.k0s()}if(2&n){const t=e.XpG(3);e.Y8G("disabled",!t.serviceForm.valid),e.R7$(1),e.SpI(" ",e.bMT(2,2,"services.controls.securityConfig")," ")}}function Js(n,a){1&n&&(e.j41(0,"button",68),e.EFF(1),e.nI1(2,"transloco"),e.k0s()),2&n&&(e.R7$(1),e.SpI(" ",e.bMT(2,1,"services.controls.createAndTest")," "))}function Ks(n,a){if(1&n){const t=e.RV6();e.j41(0,"div",60)(1,"button",61),e.bIt("click",function(){e.eBV(t);const i=e.XpG(2);return e.Njj(i.goBack())}),e.EFF(2),e.nI1(3,"transloco"),e.k0s(),e.j41(4,"div",62),e.DNE(5,Us,3,4,"button",63),e.DNE(6,qs,3,4,"button",64),e.DNE(7,Js,3,3,"button",65),e.k0s()()}if(2&n){const t=e.XpG(2);e.R7$(2),e.SpI(" ",e.bMT(3,4,"cancel")," "),e.R7$(3),e.Y8G("ngIf",t.isFirstTimeUser&&t.isDatabase),e.R7$(1),e.Y8G("ngIf",!(t.isFirstTimeUser&&t.isDatabase)),e.R7$(1),e.Y8G("ngIf",!(t.isFirstTimeUser&&t.isDatabase))}}function Hs(n,a){1&n&&e.EFF(0,"Security Configuration")}function Ws(n,a){if(1&n){const t=e.RV6();e.j41(0,"div",9)(1,"df-security-config",69),e.bIt("goBack",function(){e.eBV(t);const i=e.XpG(2);return e.Njj(i.goBack())}),e.k0s()()}if(2&n){const t=e.XpG(2);let o;e.R7$(1),e.Y8G("serviceName",null==(o=t.serviceForm.get("name"))?null:o.value)("serviceId",t.currentServiceId)("isDatabase",t.isDatabase)("isFirstTimeUser",t.isFirstTimeUser)}}function Qs(n,a){1&n&&(e.j41(0,"div",9)(1,"p"),e.EFF(2,' Please complete the previous steps and click "Security Config" to configure security settings. '),e.k0s(),e.j41(3,"div",21)(4,"div")(5,"button",23),e.EFF(6," Back "),e.k0s()()()())}function Zs(n,a){1&n&&(e.j41(0,"mat-icon"),e.EFF(1,"1"),e.k0s())}function el(n,a){1&n&&(e.j41(0,"mat-icon"),e.EFF(1,"2"),e.k0s())}function tl(n,a){1&n&&(e.j41(0,"mat-icon"),e.EFF(1,"3"),e.k0s())}function nl(n,a){1&n&&(e.j41(0,"mat-icon"),e.EFF(1,"4"),e.k0s())}function ol(n,a){1&n&&(e.qex(0,70),e.DNE(1,Zs,2,0,"mat-icon",71),e.DNE(2,el,2,0,"mat-icon",71),e.DNE(3,tl,2,0,"mat-icon",71),e.DNE(4,nl,2,0,"mat-icon",71),e.bVm()),2&n&&(e.Y8G("ngSwitch",a.index),e.R7$(1),e.Y8G("ngSwitchCase",0),e.R7$(1),e.Y8G("ngSwitchCase",1),e.R7$(1),e.Y8G("ngSwitchCase",2),e.R7$(1),e.Y8G("ngSwitchCase",3))}function il(n,a){1&n&&(e.j41(0,"mat-icon"),e.EFF(1,"1"),e.k0s())}function al(n,a){1&n&&(e.j41(0,"mat-icon"),e.EFF(1,"2"),e.k0s())}function rl(n,a){1&n&&(e.j41(0,"mat-icon"),e.EFF(1,"3"),e.k0s())}function cl(n,a){1&n&&(e.j41(0,"mat-icon"),e.EFF(1,"4"),e.k0s())}function sl(n,a){1&n&&(e.qex(0,70),e.DNE(1,il,2,0,"mat-icon",71),e.DNE(2,al,2,0,"mat-icon",71),e.DNE(3,rl,2,0,"mat-icon",71),e.DNE(4,cl,2,0,"mat-icon",71),e.bVm()),2&n&&(e.Y8G("ngSwitch",a.index),e.R7$(1),e.Y8G("ngSwitchCase",0),e.R7$(1),e.Y8G("ngSwitchCase",1),e.R7$(1),e.Y8G("ngSwitchCase",2),e.R7$(1),e.Y8G("ngSwitchCase",3))}const Mt=function(){return{standalone:!0}};function ll(n,a){if(1&n){const t=e.RV6();e.qex(0),e.j41(1,"mat-stepper",5,6)(3,"mat-step",7),e.DNE(4,us,2,3,"ng-template",8),e.j41(5,"div",9)(6,"div",10)(7,"h3"),e.EFF(8),e.nI1(9,"transloco"),e.nrm(10,"fa-icon",11),e.nI1(11,"transloco"),e.k0s(),e.j41(12,"div")(13,"button",12),e.EFF(14," Next "),e.k0s()()(),e.j41(15,"mat-form-field",13)(16,"mat-label"),e.EFF(17,"Search service types..."),e.k0s(),e.j41(18,"input",14),e.bIt("ngModelChange",function(i){e.eBV(t);const r=e.XpG();return e.Njj(r.search=i)}),e.k0s()(),e.j41(19,"div",15)(20,"div",16),e.DNE(21,hs,8,6,"label",17),e.DNE(22,vs,9,8,"label",17),e.k0s()(),e.j41(23,"div")(24,"button",12),e.EFF(25," Next "),e.k0s()()()(),e.j41(26,"mat-step"),e.DNE(27,xs,1,0,"ng-template",8),e.nrm(28,"br"),e.j41(29,"div",9),e.DNE(30,Cs,10,10,"mat-form-field",18),e.DNE(31,ks,7,7,"mat-form-field",19),e.DNE(32,ys,7,7,"mat-form-field",20),e.j41(33,"div",21),e.DNE(34,Ms,3,3,"mat-slide-toggle",22),e.j41(35,"div")(36,"button",23),e.EFF(37," Back "),e.k0s(),e.j41(38,"button",12),e.EFF(39," Next "),e.k0s()(),e.nrm(40,"div"),e.k0s()()(),e.j41(41,"mat-step"),e.DNE(42,Os,1,0,"ng-template",8),e.nrm(43,"br"),e.DNE(44,Bs,4,2,"ng-container",24),e.DNE(45,Ls,5,4,"div",25),e.DNE(46,Ks,8,6,"div",26),e.k0s(),e.j41(47,"mat-step"),e.DNE(48,Hs,1,0,"ng-template",8),e.DNE(49,Ws,2,4,"div",27),e.DNE(50,Qs,7,0,"div",27),e.k0s(),e.DNE(51,ol,5,5,"ng-template",28),e.DNE(52,sl,5,5,"ng-template",29),e.k0s(),e.bVm()}if(2&n){const t=e.XpG();let o,i,r;e.R7$(3),e.Y8G("editable",!0),e.R7$(5),e.SpI(" Search for your ",e.bMT(9,22,"services.controls.serviceType.label")," to get started "),e.R7$(2),e.Y8G("icon",t.faCircleInfo)("matTooltip",e.bMT(11,24,"services.controls.serviceType.tooltip")),e.R7$(3),e.Y8G("disabled",""===(null==(o=t.serviceForm.get("type"))?null:o.value)),e.R7$(5),e.Y8G("ngModel",t.search)("ngModelOptions",e.lJ4(26,Mt)),e.R7$(3),e.Y8G("ngForOf",t.filteredServiceTypes)("ngForTrackBy",t.trackByName),e.R7$(1),e.Y8G("ngForOf",t.notIncludedServices)("ngForTrackBy",t.trackByName),e.R7$(2),e.Y8G("disabled",""===(null==(i=t.serviceForm.get("type"))?null:i.value)),e.R7$(6),e.Y8G("ngIf",!t.subscriptionRequired),e.R7$(1),e.Y8G("ngIf",!t.subscriptionRequired),e.R7$(1),e.Y8G("ngIf",!t.subscriptionRequired),e.R7$(2),e.Y8G("ngIf",!t.subscriptionRequired),e.R7$(4),e.Y8G("disabled",""===(null==(r=t.serviceForm.get("type"))?null:r.value)&&""===(null==(r=t.serviceForm.get("description"))?null:r.value)),e.R7$(6),e.Y8G("ngIf",t.viewSchema&&!t.subscriptionRequired),e.R7$(1),e.Y8G("ngIf",t.isFirstTimeUser&&t.isDatabase&&!t.subscriptionRequired),e.R7$(1),e.Y8G("ngIf",!t.subscriptionRequired),e.R7$(3),e.Y8G("ngIf",t.showSecurityConfig),e.R7$(1),e.Y8G("ngIf",!t.showSecurityConfig)}}function dl(n,a){if(1&n&&e.nrm(0,"df-service-health-panel",79),2&n){const t=e.XpG(2);e.Y8G("serviceId",t.serviceData.id)("serviceName",t.serviceData.name)("serviceGroup",t.serviceGroup)("deprecated",t.serviceData.deprecated)}}function pl(n,a){if(1&n){const t=e.RV6();e.j41(0,"df-disclosure",80),e.nI1(1,"transloco"),e.nI1(2,"transloco"),e.nI1(3,"transloco"),e.j41(4,"df-artifact-card",81),e.bIt("createKey",function(){e.eBV(t);const i=e.XpG(2);return e.Njj(i.onCreateApiKey())}),e.k0s()()}if(2&n){const t=e.XpG(2);e.Y8G("eyebrow",e.bMT(1,8,"services.overview.eyebrow"))("title",e.bMT(2,10,"services.overview.title"))("description",e.bMT(3,12,"services.overview.description"))("summary",t.artifactBaseUrl),e.R7$(4),e.Y8G("serviceName",t.serviceData.name)("baseUrl",t.artifactBaseUrl)("sampleTable",t.artifactSampleTable)("keys",t.artifactKeys)}}function ml(n,a){if(1&n&&(e.j41(0,"mat-option",82),e.EFF(1),e.k0s()),2&n){const t=a.$implicit;e.Y8G("value",t.name),e.R7$(1),e.SpI(" ",t.label," ")}}function _l(n,a){if(1&n&&(e.j41(0,"mat-form-field",38)(1,"mat-label"),e.EFF(2),e.nI1(3,"transloco"),e.k0s(),e.nrm(4,"input",39)(5,"fa-icon",11),e.nI1(6,"transloco"),e.k0s()),2&n){const t=e.XpG(2);e.R7$(2),e.JRh(e.bMT(3,3,"services.controls.namespace.label")),e.R7$(3),e.Y8G("icon",t.faCircleInfo)("matTooltip",e.bMT(6,5,"services.controls.namespace.tooltip"))}}function gl(n,a){if(1&n&&(e.j41(0,"mat-option",82),e.EFF(1),e.k0s()),2&n){const t=a.$implicit;e.Y8G("value",t.id),e.R7$(1),e.SpI(" ",t.label||t.name," ")}}function fl(n,a){if(1&n&&(e.qex(0),e.j41(1,"mat-form-field",83)(2,"mat-label"),e.EFF(3,"Storage Service *"),e.k0s(),e.j41(4,"mat-select",84),e.DNE(5,gl,2,2,"mat-option",75),e.k0s()(),e.bVm()),2&n){const t=e.XpG(2);e.R7$(5),e.Y8G("ngForOf",t.availableFileServices)("ngForTrackBy",t.trackById)}}function ul(n,a){if(1&n&&(e.j41(0,"mat-form-field",85)(1,"mat-label"),e.EFF(2),e.nI1(3,"transloco"),e.k0s(),e.nrm(4,"input",41)(5,"fa-icon",11),e.nI1(6,"transloco"),e.k0s()),2&n){const t=e.XpG(2);e.R7$(2),e.JRh(e.bMT(3,3,"services.controls.label.label")),e.R7$(3),e.Y8G("icon",t.faCircleInfo)("matTooltip",e.bMT(6,5,"services.controls.label.tooltip"))}}function hl(n,a){if(1&n&&(e.j41(0,"mat-form-field",85)(1,"mat-label"),e.EFF(2),e.nI1(3,"transloco"),e.k0s(),e.nrm(4,"textarea",43)(5,"fa-icon",11),e.nI1(6,"transloco"),e.k0s()),2&n){const t=e.XpG(2);e.R7$(2),e.JRh(e.bMT(3,3,"services.controls.description.label")),e.R7$(3),e.Y8G("icon",t.faCircleInfo)("matTooltip",e.bMT(6,5,"services.controls.description.tooltip"))}}function bl(n,a){1&n&&(e.j41(0,"mat-slide-toggle",86)(1,"span"),e.EFF(2),e.nI1(3,"transloco"),e.k0s()()),2&n&&(e.R7$(2),e.JRh(e.bMT(3,1,"active")))}function vl(n,a){if(1&n){const t=e.RV6();e.qex(0),e.j41(1,"button",88),e.bIt("click",function(){e.eBV(t);const i=e.XpG(3);return e.Njj(i.gotoSchema())}),e.EFF(2),e.nI1(3,"transloco"),e.k0s(),e.bVm()}2&n&&(e.R7$(2),e.SpI(" ",e.bMT(3,1,"schema")," "))}function xl(n,a){if(1&n){const t=e.RV6();e.j41(0,"button",88),e.bIt("click",function(){e.eBV(t);const i=e.XpG(3);return e.Njj(i.gotoAPIDocs())}),e.EFF(1),e.nI1(2,"transloco"),e.k0s()}2&n&&(e.R7$(1),e.SpI(" ",e.bMT(2,1,"apiDocs")," "))}function Cl(n,a){if(1&n&&(e.qex(0),e.DNE(1,vl,4,3,"ng-container",1),e.DNE(2,xl,3,3,"ng-template",null,87,e.C5r),e.bVm()),2&n){const t=e.sdS(3),o=e.XpG(2);e.R7$(1),e.Y8G("ngIf",o.isDatabase)("ngIfElse",t)}}function kl(n,a){if(1&n){const t=e.RV6();e.j41(0,"div",90)(1,"button",91),e.bIt("click",function(){e.eBV(t);const i=e.XpG(4);return e.Njj(i.openCurlImport())}),e.nrm(2,"fa-icon",92),e.j41(3,"span"),e.EFF(4),e.nI1(5,"transloco"),e.k0s()(),e.j41(6,"span",93),e.EFF(7),e.nI1(8,"transloco"),e.k0s()()}if(2&n){const t=e.XpG(4);e.R7$(2),e.Y8G("icon",t.faFileImport),e.R7$(2),e.JRh(e.bMT(5,3,"services.curlImport.button")),e.R7$(3),e.SpI(" ",e.bMT(8,5,"services.curlImport.buttonHint")," ")}}function yl(n,a){if(1&n&&e.nrm(0,"df-dynamic-field",95),2&n){const t=e.XpG().$implicit,o=e.XpG(4);e.AVh("dynamic-width",-1===e.lJ4(6,le).indexOf(t.type))("full-width",-1!==e.lJ4(7,le).indexOf(t.type)),e.Y8G("schema",t)("formControl",o.getConfigControl(t.name))}}function Ml(n,a){if(1&n&&(e.qex(0),e.DNE(1,yl,1,8,"df-dynamic-field",94),e.bVm()),2&n){const t=a.$implicit;e.R7$(1),e.Y8G("ngIf",e.lJ4(1,ke).includes(t.type))}}function Ol(n,a){if(1&n){const t=e.RV6();e.qex(0),e.j41(1,"mat-button-toggle-group",96),e.bIt("ngModelChange",function(i){e.eBV(t);const r=e.XpG(4);return e.Njj(r.serviceDefinitionType=i)})("change",function(){e.eBV(t);const i=e.XpG(4);return e.Njj(i.onServiceDefinitionTypeChange(i.serviceDefinitionType))}),e.j41(2,"mat-button-toggle",97),e.EFF(3,"JSON"),e.k0s(),e.j41(4,"mat-button-toggle",98),e.EFF(5,"YAML"),e.k0s()(),e.bVm()}if(2&n){const t=e.XpG(4);e.R7$(1),e.Y8G("ngModel",t.serviceDefinitionType)("ngModelOptions",e.lJ4(2,Mt))}}function Pl(n,a){if(1&n&&(e.qex(0),e.nrm(1,"df-file-github",99),e.bVm()),2&n){const t=e.XpG(4);e.R7$(1),e.Y8G("type",t.getControl("type"))("content",t.getConfigControl("content"))("contentText",t.content)}}function Fl(n,a){if(1&n&&(e.qex(0),e.nrm(1,"df-file-github",99),e.bVm()),2&n){const t=e.XpG(4);e.R7$(1),e.Y8G("type",t.getControl("type"))("content",t.getConfigControl("content"))("contentText",t.content)}}function wl(n,a){if(1&n&&(e.qex(0),e.nrm(1,"df-ace-editor",100),e.bVm()),2&n){const t=e.XpG(4);e.R7$(1),e.Y8G("formControl",t.getConfigControl("content"))("mode",t.serviceDefinitionMode)}}function Dl(n,a){if(1&n&&e.nrm(0,"df-dynamic-field",95),2&n){const t=e.XpG().$implicit,o=e.XpG(4);e.AVh("dynamic-width",-1===e.lJ4(6,le).indexOf(t.type))("full-width",-1!==e.lJ4(7,le).indexOf(t.type)),e.Y8G("schema",t)("formControl",o.getConfigControl(t.name))}}function Tl(n,a){if(1&n&&e.nrm(0,"df-array-field",52),2&n){const t=e.XpG().$implicit,o=e.XpG(4);e.Y8G("schema",t)("formControl",o.getConfigControl(t.name))}}function Sl(n,a){if(1&n&&(e.qex(0),e.DNE(1,Dl,1,8,"df-dynamic-field",94),e.DNE(2,Tl,1,2,"df-array-field",50),e.bVm()),2&n){const t=a.$implicit;e.R7$(1),e.Y8G("ngIf",e.lJ4(2,ke).includes(t.type)),e.R7$(1),e.Y8G("ngIf","array"===t.type||"object"===t.type)}}function Rl(n,a){if(1&n&&(e.qex(0),e.DNE(1,kl,9,7,"div",89),e.DNE(2,Ml,2,2,"ng-container",46),e.j41(3,"mat-accordion",15)(4,"mat-expansion-panel",56)(5,"mat-expansion-panel-header"),e.EFF(6," Advanced Options "),e.k0s(),e.j41(7,"div",9),e.DNE(8,Ol,6,3,"ng-container",24),e.j41(9,"mat-label",15),e.EFF(10,"Service Definition"),e.k0s(),e.DNE(11,Pl,2,3,"ng-container",24),e.DNE(12,Fl,2,3,"ng-container",24),e.DNE(13,wl,2,2,"ng-container",24),e.DNE(14,Sl,3,3,"ng-container",46),e.k0s()()(),e.bVm()),2&n){const t=e.XpG(3);e.R7$(1),e.Y8G("ngIf",t.showCurlImport),e.R7$(1),e.Y8G("ngForOf",t.networkRequiredFields)("ngForTrackBy",t.trackByName),e.R7$(2),e.Y8G("expanded",!1),e.R7$(4),e.Y8G("ngIf","soap"!==t.serviceForm.getRawValue().type),e.R7$(3),e.Y8G("ngIf","rws"===t.serviceForm.getRawValue().type),e.R7$(1),e.Y8G("ngIf","soap"===t.serviceForm.getRawValue().type),e.R7$(1),e.Y8G("ngIf","rest"===t.serviceForm.getRawValue().type||"http"===t.serviceForm.getRawValue().type),e.R7$(1),e.Y8G("ngForOf",t.networkAdvancedFields)("ngForTrackBy",t.trackByName)}}function Il(n,a){if(1&n&&(e.qex(0),e.nrm(1,"df-script-editor",101),e.bVm()),2&n){const t=e.XpG(4);e.R7$(1),e.Y8G("isScript",t.isScriptService)("type",t.getControl("type"))("storageServiceId",t.getConfigControl("storageServiceId"))("storagePath",t.getConfigControl("storagePath"))("content",t.getConfigControl("content"))("cache",t.serviceData?t.serviceData.name:"")("hideScmActions",!0)}}function El(n,a){if(1&n&&e.nrm(0,"df-dynamic-field",95),2&n){const t=e.XpG(2).$implicit,o=e.XpG(4);e.AVh("dynamic-width",-1===e.lJ4(6,le).indexOf(t.type))("full-width",-1!==e.lJ4(7,le).indexOf(t.type)),e.Y8G("schema",t)("formControl",o.getConfigControl(t.name))}}function $l(n,a){if(1&n&&e.nrm(0,"df-array-field",52),2&n){const t=e.XpG(2).$implicit,o=e.XpG(4);e.Y8G("schema",t)("formControl",o.getConfigControl(t.name))}}function Gl(n,a){if(1&n&&(e.qex(0),e.DNE(1,El,1,8,"df-dynamic-field",94),e.DNE(2,$l,1,2,"df-array-field",50),e.bVm()),2&n){const t=e.XpG().$implicit;e.R7$(1),e.Y8G("ngIf",e.lJ4(2,ke).includes(t.type)),e.R7$(1),e.Y8G("ngIf","array"===t.type||"object"===t.type)}}function jl(n,a){if(1&n&&(e.qex(0),e.DNE(1,Gl,3,3,"ng-container",24),e.bVm()),2&n){const t=a.$implicit;e.R7$(1),e.Y8G("ngIf","content"!==t.name)}}function Nl(n,a){if(1&n){const t=e.RV6();e.qex(0),e.DNE(1,Il,2,7,"ng-container",24),e.j41(2,"mat-accordion",15)(3,"mat-expansion-panel",56)(4,"mat-expansion-panel-header"),e.EFF(5," Advanced Options "),e.k0s(),e.j41(6,"div",9)(7,"mat-button-toggle-group",96),e.bIt("ngModelChange",function(i){e.eBV(t);const r=e.XpG(3);return e.Njj(r.serviceDefinitionType=i)})("change",function(){e.eBV(t);const i=e.XpG(3);return e.Njj(i.onServiceDefinitionTypeChange(i.serviceDefinitionType))}),e.j41(8,"mat-button-toggle",97),e.EFF(9,"JSON"),e.k0s(),e.j41(10,"mat-button-toggle",98),e.EFF(11,"YAML"),e.k0s()(),e.j41(12,"mat-label",15),e.EFF(13,"OpenAPI Service Definition (Optional)"),e.k0s(),e.nrm(14,"df-ace-editor",100),e.DNE(15,jl,2,1,"ng-container",46),e.k0s()()(),e.bVm()}if(2&n){const t=e.XpG(3);e.R7$(1),e.Y8G("ngIf",t.getConfigControl("storageServiceId")),e.R7$(2),e.Y8G("expanded",!1),e.R7$(4),e.Y8G("ngModel",t.serviceDefinitionType)("ngModelOptions",e.lJ4(8,Mt)),e.R7$(7),e.Y8G("formControl",t.getServiceDocByServiceIdControl("content"))("mode",t.serviceDefinitionMode),e.R7$(1),e.Y8G("ngForOf",t.viewSchema)("ngForTrackBy",t.trackByName)}}function Al(n,a){if(1&n){const t=e.RV6();e.j41(0,"df-ai-chat-prereqs",106),e.bIt("selectConnection",function(i){e.eBV(t);const r=e.XpG(4);return e.Njj(r.setAiServiceId(i))})("selectRole",function(i){e.eBV(t);const r=e.XpG(4);return e.Njj(r.setAiRoleId(i))}),e.k0s()}if(2&n){const t=e.XpG(4);e.Y8G("selectedConnectionId",t.aiServiceId)("selectedRoleId",t.aiRoleId)}}function Yl(n,a){if(1&n&&e.nrm(0,"df-ai-data-services",107),2&n){const t=e.XpG(4);e.Y8G("form",t.serviceForm)}}function Vl(n,a){if(1&n&&e.nrm(0,"df-ai-mcp-servers",107),2&n){const t=e.XpG(4);e.Y8G("form",t.serviceForm)}}function Xl(n,a){if(1&n&&e.nrm(0,"df-ai-test-connection",108),2&n){const t=e.XpG(4);e.Y8G("form",t.serviceForm)("serviceId",t.edit&&t.serviceData?t.serviceData.id:null)}}function zl(n,a){if(1&n&&e.nrm(0,"df-ai-model-picker",108),2&n){const t=e.XpG(4);e.Y8G("form",t.serviceForm)("serviceId",t.edit&&t.serviceData?t.serviceData.id:null)}}function Bl(n,a){if(1&n&&e.nrm(0,"df-ai-allowed-roles",107),2&n){const t=e.XpG(4);e.Y8G("form",t.serviceForm)}}function Ll(n,a){if(1&n){const t=e.RV6();e.qex(0),e.j41(1,"div",109)(2,"input",110,111),e.bIt("change",function(i){e.eBV(t);const r=e.XpG(4);return e.Njj(r.excelUpload(i))}),e.k0s(),e.j41(4,"button",88),e.bIt("click",function(){e.eBV(t);const i=e.sdS(3);return e.Njj(i.click())}),e.EFF(5," Upload Excel "),e.k0s()(),e.nrm(6,"df-ace-editor",100),e.bVm()}if(2&n){const t=e.XpG(4);e.R7$(6),e.Y8G("formControl",t.getConfigControl("excelContent"))("mode",t.excelMode)}}function Ul(n,a){if(1&n&&(e.qex(0),e.nrm(1,"df-script-editor",48),e.bVm()),2&n){const t=e.XpG(7);e.R7$(1),e.Y8G("type",t.getControl("type"))("storageServiceId",t.getConfigControl("storageServiceId"))("storagePath",t.getConfigControl("storagePath"))("content",t.getServiceDocByServiceIdControl("content"))("cache",t.serviceData?t.serviceData.name:"")}}function ql(n,a){if(1&n&&(e.qex(0),e.DNE(1,Ul,2,5,"ng-container",24),e.bVm()),2&n){const t=e.XpG(6);e.R7$(1),e.Y8G("ngIf",t.getConfigControl("storageServiceId"))}}function Jl(n,a){if(1&n&&e.nrm(0,"df-dynamic-field",95),2&n){const t=e.XpG(3).$implicit,o=e.XpG(4);e.AVh("dynamic-width",-1===e.lJ4(6,le).indexOf(t.type))("full-width",-1!==e.lJ4(7,le).indexOf(t.type)),e.Y8G("schema",t)("formControl",o.getConfigControl(t.name))}}function Kl(n,a){if(1&n&&e.nrm(0,"df-array-field",52),2&n){const t=e.XpG(3).$implicit,o=e.XpG(4);e.Y8G("schema",t)("formControl",o.getConfigControl(t.name))}}function Hl(n,a){if(1&n&&(e.DNE(0,Jl,1,8,"df-dynamic-field",94),e.DNE(1,Kl,1,2,"df-array-field",50)),2&n){const t=e.XpG(2).$implicit;e.Y8G("ngIf",e.lJ4(2,ke).includes(t.type)),e.R7$(1),e.Y8G("ngIf","array"===t.type||"object"===t.type)}}function Wl(n,a){if(1&n&&(e.qex(0),e.DNE(1,ql,2,1,"ng-container",1),e.DNE(2,Hl,2,3,"ng-template",null,47,e.C5r),e.bVm()),2&n){const t=e.sdS(3),o=e.XpG().$implicit;e.R7$(1),e.Y8G("ngIf","text"===o.type&&"content"===o.name)("ngIfElse",t)}}function Ql(n,a){if(1&n&&(e.qex(0),e.DNE(1,Wl,4,2,"ng-container",24),e.bVm()),2&n){const t=a.$implicit,o=e.XpG(4);e.R7$(1),e.Y8G("ngIf",!("ai_chat"===o.serviceForm.getRawValue().type&&("aiServiceId"===t.name||"aiRoleId"===t.name||"mcpServers"===t.name||"defaultDataServices"===t.name)||"ai_connection"===o.serviceForm.getRawValue().type&&("defaultModel"===t.name||"allowedRoles"===t.name)))}}function Zl(n,a){if(1&n&&e.nrm(0,"df-role-scope",112),2&n){const t=e.XpG(4);e.Y8G("roleId",t.aiRoleId)}}function ed(n,a){if(1&n&&(e.qex(0),e.j41(1,"mat-accordion",15)(2,"mat-expansion-panel",56)(3,"mat-expansion-panel-header"),e.EFF(4),e.nI1(5,"transloco"),e.k0s(),e.j41(6,"div",9),e.DNE(7,Al,1,2,"df-ai-chat-prereqs",102),e.DNE(8,Yl,1,1,"df-ai-data-services",103),e.DNE(9,Vl,1,1,"df-ai-mcp-servers",103),e.DNE(10,Xl,1,2,"df-ai-test-connection",104),e.DNE(11,zl,1,2,"df-ai-model-picker",104),e.DNE(12,Bl,1,1,"df-ai-allowed-roles",103),e.DNE(13,Ll,7,2,"ng-container",24),e.DNE(14,Ql,2,1,"ng-container",46),e.DNE(15,Zl,1,1,"df-role-scope",105),e.k0s()()(),e.bVm()),2&n){const t=e.XpG(3);e.R7$(2),e.Y8G("expanded",t.serviceForm.getRawValue().type),e.R7$(2),e.SpI("",e.bMT(5,12,"services.options")," "),e.R7$(3),e.Y8G("ngIf","ai_chat"===t.serviceForm.getRawValue().type),e.R7$(1),e.Y8G("ngIf","ai_chat"===t.serviceForm.getRawValue().type),e.R7$(1),e.Y8G("ngIf","ai_chat"===t.serviceForm.getRawValue().type),e.R7$(1),e.Y8G("ngIf","ai_connection"===t.serviceForm.getRawValue().type),e.R7$(1),e.Y8G("ngIf","ai_connection"===t.serviceForm.getRawValue().type),e.R7$(1),e.Y8G("ngIf","ai_connection"===t.serviceForm.getRawValue().type),e.R7$(1),e.Y8G("ngIf",t.isFile&&"local_file"===t.serviceForm.getRawValue().type),e.R7$(1),e.Y8G("ngForOf",t.viewSchema)("ngForTrackBy",t.trackByName),e.R7$(1),e.Y8G("ngIf","ai_chat"===t.serviceForm.getRawValue().type&&t.aiRoleId)}}function td(n,a){if(1&n&&(e.qex(0)(1,45),e.DNE(2,Rl,15,10,"ng-container",24),e.DNE(3,Nl,16,9,"ng-container",24),e.DNE(4,ed,16,14,"ng-container",24),e.bVm()()),2&n){const t=e.XpG(2);e.R7$(2),e.Y8G("ngIf",t.isNetworkService),e.R7$(1),e.Y8G("ngIf",t.isScriptService),e.R7$(1),e.Y8G("ngIf",!t.isNetworkService&&!t.isScriptService)}}function nd(n,a){if(1&n){const t=e.RV6();e.j41(0,"tr")(1,"td",118)(2,"mat-slide-toggle",120),e.bIt("change",function(i){const c=e.eBV(t).$implicit,s=e.XpG(3);return e.Njj(s.toggleTool(c.name,i.checked))}),e.k0s()(),e.j41(3,"td")(4,"code"),e.EFF(5),e.k0s()(),e.j41(6,"td"),e.EFF(7),e.k0s()()}if(2&n){const t=a.$implicit,o=e.XpG(3);e.AVh("disabled-row",!o.isToolEnabled(t.name)),e.R7$(2),e.Y8G("checked",o.isToolEnabled(t.name)),e.R7$(3),e.JRh(t.name),e.R7$(2),e.JRh(t.description)}}function od(n,a){if(1&n){const t=e.RV6();e.qex(0),e.j41(1,"mat-accordion",15)(2,"mat-expansion-panel",56)(3,"mat-expansion-panel-header"),e.EFF(4," Built-in Tools "),e.k0s(),e.j41(5,"div",113)(6,"mat-accordion",114)(7,"mat-expansion-panel",56)(8,"mat-expansion-panel-header")(9,"mat-panel-title",115)(10,"mat-slide-toggle",116),e.bIt("change",function(i){e.eBV(t);const r=e.XpG(2);return e.Njj(r.toggleAllSystemTools(i.checked))})("click",function(i){return i.stopPropagation()}),e.k0s(),e.j41(11,"span"),e.EFF(12,"System API"),e.k0s()(),e.j41(13,"mat-panel-description"),e.EFF(14),e.k0s()(),e.j41(15,"table",117)(16,"thead")(17,"tr"),e.nrm(18,"th",118),e.j41(19,"th"),e.EFF(20,"Tool Name"),e.k0s(),e.j41(21,"th"),e.EFF(22,"Description"),e.k0s()()(),e.j41(23,"tbody"),e.DNE(24,nd,8,5,"tr",119),e.k0s()()()()()()(),e.bVm()}if(2&n){const t=e.XpG(2);e.R7$(2),e.Y8G("expanded",!0),e.R7$(5),e.Y8G("expanded",!0),e.R7$(3),e.Y8G("checked",t.isAllSystemToolsEnabled()),e.R7$(4),e.SpI(" System API \xb7 ",t.systemMcpTools.length," tools "),e.R7$(10),e.Y8G("ngForOf",t.systemMcpTools)("ngForTrackBy",t.trackByName)}}function id(n,a){1&n&&(e.j41(0,"div",9)(1,"p"),e.EFF(2,"Loading services..."),e.k0s()())}function ad(n,a){1&n&&(e.j41(0,"div",9)(1,"p"),e.EFF(2,"No database or file services found."),e.k0s()())}function rd(n,a){if(1&n){const t=e.RV6();e.j41(0,"tr")(1,"td",118)(2,"mat-slide-toggle",120),e.bIt("change",function(i){const c=e.eBV(t).$implicit,s=e.XpG(4);return e.Njj(s.toggleTool(c.name,i.checked))}),e.k0s()(),e.j41(3,"td")(4,"code"),e.EFF(5),e.k0s()(),e.j41(6,"td"),e.EFF(7),e.k0s()()}if(2&n){const t=a.$implicit,o=e.XpG(4);e.AVh("disabled-row",!o.isToolEnabled(t.name)),e.R7$(2),e.Y8G("checked",o.isToolEnabled(t.name)),e.R7$(3),e.JRh(t.name),e.R7$(2),e.JRh(t.description)}}function cd(n,a){if(1&n&&(e.j41(0,"th")(1,"code"),e.EFF(2),e.k0s()()),2&n){const t=a.$implicit;e.R7$(2),e.JRh(t.name)}}function sd(n,a){if(1&n){const t=e.RV6();e.j41(0,"td")(1,"mat-slide-toggle",120),e.bIt("change",function(i){const c=e.eBV(t).$implicit,s=e.XpG().$implicit,l=e.XpG(5);return e.Njj(l.toggleVerbFor(s.name,c.name,i.checked))}),e.k0s()()}if(2&n){const t=a.$implicit,o=e.XpG().$implicit,i=e.XpG(5);e.R7$(1),e.Y8G("checked",i.isVerbEnabledFor(o.name,t.name))}}function ld(n,a){if(1&n){const t=e.RV6();e.j41(0,"tr")(1,"td",118)(2,"mat-slide-toggle",120),e.bIt("change",function(i){const c=e.eBV(t).$implicit,s=e.XpG(5);return e.Njj(s.toggleVerbEverywhere(c.name,i.checked))}),e.k0s()(),e.j41(3,"td")(4,"code"),e.EFF(5),e.k0s()(),e.DNE(6,sd,2,1,"td",46),e.k0s()}if(2&n){const t=a.$implicit,o=e.XpG(5);e.AVh("disabled-row",!o.isVerbEnabledAnywhere(t.name)),e.R7$(2),e.Y8G("checked",o.isVerbEnabledAnywhere(t.name)),e.R7$(3),e.JRh(t.name),e.R7$(1),e.Y8G("ngForOf",o.dbServices)("ngForTrackBy",o.trackByName)}}function dd(n,a){if(1&n&&(e.j41(0,"mat-expansion-panel",125)(1,"mat-expansion-panel-header")(2,"mat-panel-title",115)(3,"span"),e.EFF(4,"Database Tools (merged)"),e.k0s()(),e.j41(5,"mat-panel-description"),e.EFF(6),e.k0s()(),e.j41(7,"p",9),e.EFF(8," Each verb is registered once and takes a "),e.j41(9,"code"),e.EFF(10,"service"),e.k0s(),e.EFF(11," argument. Turning a verb off for one database removes that database from the tool's allowed services; turning it off everywhere removes the tool. "),e.k0s(),e.j41(12,"table",117)(13,"thead")(14,"tr"),e.nrm(15,"th",118),e.j41(16,"th"),e.EFF(17,"Tool Name"),e.k0s(),e.DNE(18,cd,3,1,"th",46),e.k0s()(),e.j41(19,"tbody"),e.DNE(20,ld,7,6,"tr",119),e.k0s()()()),2&n){const t=e.XpG(4);e.R7$(6),e.Lme(" ",t.mergedDbVerbs.length," tools \xb7 ",t.dbServices.length," databases "),e.R7$(12),e.Y8G("ngForOf",t.dbServices)("ngForTrackBy",t.trackByName),e.R7$(2),e.Y8G("ngForOf",t.mergedDbVerbs)("ngForTrackBy",t.trackByName)}}function pd(n,a){if(1&n){const t=e.RV6();e.j41(0,"tr")(1,"td",118)(2,"mat-slide-toggle",120),e.bIt("change",function(i){const c=e.eBV(t).$implicit,s=e.XpG(5);return e.Njj(s.toggleTool(c.name,i.checked))}),e.k0s()(),e.j41(3,"td")(4,"code"),e.EFF(5),e.k0s()(),e.j41(6,"td"),e.EFF(7),e.k0s()()}if(2&n){const t=a.$implicit,o=e.XpG(5);e.AVh("disabled-row",!o.isToolEnabled(t.name)),e.R7$(2),e.Y8G("checked",o.isToolEnabled(t.name)),e.R7$(3),e.JRh(t.name),e.R7$(2),e.JRh(t.description)}}function md(n,a){if(1&n){const t=e.RV6();e.j41(0,"mat-expansion-panel",56)(1,"mat-expansion-panel-header")(2,"mat-panel-title",115)(3,"mat-slide-toggle",116),e.bIt("change",function(i){const c=e.eBV(t).$implicit,s=e.XpG(4);return e.Njj(s.toggleService(c,i.checked))})("click",function(i){return i.stopPropagation()}),e.k0s(),e.j41(4,"span"),e.EFF(5),e.k0s()(),e.j41(6,"mat-panel-description"),e.EFF(7),e.k0s()(),e.j41(8,"table",117)(9,"thead")(10,"tr"),e.nrm(11,"th",118),e.j41(12,"th"),e.EFF(13,"Tool Name"),e.k0s(),e.j41(14,"th"),e.EFF(15,"Description"),e.k0s()()(),e.j41(16,"tbody"),e.DNE(17,pd,8,5,"tr",119),e.k0s()()()}if(2&n){const t=a.$implicit,o=e.XpG(4);e.Y8G("expanded",t.expanded),e.R7$(3),e.Y8G("checked",o.isServiceEnabled(t)),e.R7$(2),e.JRh(t.label),e.R7$(2),e.Lme(" ",t.category," \xb7 ",t.tools.length," tools "),e.R7$(10),e.Y8G("ngForOf",t.tools)("ngForTrackBy",o.trackByName)}}function _d(n,a){if(1&n){const t=e.RV6();e.j41(0,"div",113)(1,"mat-accordion",114)(2,"mat-expansion-panel")(3,"mat-expansion-panel-header")(4,"mat-panel-title",115)(5,"mat-slide-toggle",116),e.bIt("change",function(i){e.eBV(t);const r=e.XpG(3);return e.Njj(r.toggleAllGlobalTools(i.checked))})("click",function(i){return i.stopPropagation()}),e.k0s(),e.j41(6,"span"),e.EFF(7,"Global Tools"),e.k0s()(),e.j41(8,"mat-panel-description"),e.EFF(9),e.k0s()(),e.j41(10,"table",117)(11,"thead")(12,"tr"),e.nrm(13,"th",118),e.j41(14,"th"),e.EFF(15,"Tool Name"),e.k0s(),e.j41(16,"th"),e.EFF(17,"Description"),e.k0s()()(),e.j41(18,"tbody"),e.DNE(19,rd,8,5,"tr",122),e.k0s()()(),e.DNE(20,dd,21,6,"mat-expansion-panel",123),e.DNE(21,md,18,7,"mat-expansion-panel",124),e.k0s()()}if(2&n){const t=e.XpG(3);e.R7$(5),e.Y8G("checked",t.isAllGlobalToolsEnabled()),e.R7$(4),e.SpI(" Cross-service \xb7 ",t.mcpGlobalTools.length," tools "),e.R7$(10),e.Y8G("ngForOf",t.mcpGlobalTools),e.R7$(1),e.Y8G("ngIf",t.isMergedStyle&&t.dbServices.length>0),e.R7$(1),e.Y8G("ngForOf",t.visibleServices)("ngForTrackBy",t.trackByName)}}function gd(n,a){if(1&n&&(e.qex(0),e.j41(1,"mat-accordion",15)(2,"mat-expansion-panel",56)(3,"mat-expansion-panel-header"),e.EFF(4," Built-in Tools "),e.k0s(),e.DNE(5,id,3,0,"div",27),e.DNE(6,ad,3,0,"div",27),e.DNE(7,_d,22,6,"div",121),e.k0s()(),e.bVm()),2&n){const t=e.XpG(2);e.R7$(2),e.Y8G("expanded",!0),e.R7$(3),e.Y8G("ngIf",!t.mcpServicesLoaded),e.R7$(1),e.Y8G("ngIf",t.mcpServicesLoaded&&0===t.mcpServices.length&&0===t.mcpGlobalTools.length),e.R7$(1),e.Y8G("ngIf",t.mcpServicesLoaded)}}function fd(n,a){if(1&n){const t=e.RV6();e.j41(0,"div",132)(1,"button",133),e.bIt("click",function(){e.eBV(t);const i=e.XpG(3);return e.Njj(i.addCustomTool())}),e.nrm(2,"fa-icon",134),e.EFF(3," Add Custom Tool "),e.k0s()()}if(2&n){const t=e.XpG(3);e.R7$(2),e.Y8G("icon",t.faPlus)}}function ud(n,a){1&n&&(e.j41(0,"mat-form-field",154)(1,"mat-label"),e.EFF(2,"HTTP Method"),e.k0s(),e.j41(3,"mat-select",155)(4,"mat-option",156),e.EFF(5,"GET"),e.k0s(),e.j41(6,"mat-option",157),e.EFF(7,"POST"),e.k0s(),e.j41(8,"mat-option",158),e.EFF(9,"PUT"),e.k0s(),e.j41(10,"mat-option",159),e.EFF(11,"PATCH"),e.k0s(),e.j41(12,"mat-option",160),e.EFF(13,"DELETE"),e.k0s()()())}function hd(n,a){if(1&n){const t=e.RV6();e.j41(0,"button",165),e.bIt("click",function(){const r=e.eBV(t).$implicit,c=e.XpG(5);return e.Njj(c.insertLookup(r.name,"url"))}),e.EFF(1),e.k0s()}if(2&n){const t=a.$implicit;e.R7$(1),e.SpI(" ",t.name," ")}}function bd(n,a){if(1&n&&(e.j41(0,"mat-form-field",83)(1,"mat-label"),e.EFF(2,"URL"),e.k0s(),e.nrm(3,"input",161),e.j41(4,"button",162),e.nrm(5,"fa-icon",92),e.k0s(),e.j41(6,"mat-menu",null,163),e.DNE(8,hd,2,1,"button",164),e.k0s(),e.j41(9,"mat-hint"),e.EFF(10,"Use {LOOKUP_NAME} for secrets or {param} for path parameters"),e.k0s()()),2&n){const t=e.sdS(7),o=e.XpG(4);e.R7$(4),e.Y8G("matMenuTriggerFor",t)("disabled",0===o.availableLookups.length),e.R7$(1),e.Y8G("icon",o.faPlus),e.R7$(3),e.Y8G("ngForOf",o.availableLookups)("ngForTrackBy",o.trackByName)}}function vd(n,a){1&n&&(e.j41(0,"mat-form-field",186)(1,"mat-label"),e.EFF(2,"Location"),e.k0s(),e.j41(3,"mat-select",187)(4,"mat-option",188),e.EFF(5,"query"),e.k0s(),e.j41(6,"mat-option",189),e.EFF(7,"path"),e.k0s(),e.j41(8,"mat-option",190),e.EFF(9,"body"),e.k0s(),e.j41(10,"mat-option",191),e.EFF(11,"header"),e.k0s()()())}function xd(n,a){if(1&n){const t=e.RV6();e.j41(0,"div",168)(1,"div",169)(2,"span",170),e.EFF(3),e.k0s(),e.j41(4,"button",171),e.bIt("click",function(){const r=e.eBV(t).index,c=e.XpG(5);return e.Njj(c.removeToolParameter(r))}),e.nrm(5,"fa-icon",92),e.k0s()(),e.j41(6,"div",172)(7,"mat-form-field",173)(8,"mat-label"),e.EFF(9,"Name"),e.k0s(),e.nrm(10,"input",174),e.k0s(),e.j41(11,"mat-form-field",175)(12,"mat-label"),e.EFF(13,"Type"),e.k0s(),e.j41(14,"mat-select",176)(15,"mat-option",177),e.EFF(16,"string"),e.k0s(),e.j41(17,"mat-option",178),e.EFF(18,"number"),e.k0s(),e.j41(19,"mat-option",179),e.EFF(20,"integer"),e.k0s(),e.j41(21,"mat-option",180),e.EFF(22,"boolean"),e.k0s()()(),e.DNE(23,vd,12,0,"mat-form-field",181),e.j41(24,"div",182)(25,"mat-checkbox",183),e.EFF(26,"Required"),e.k0s()(),e.j41(27,"mat-form-field",184)(28,"mat-label"),e.EFF(29,"Description"),e.k0s(),e.nrm(30,"input",185),e.k0s()()()}if(2&n){const t=a.index,o=e.XpG(5);let i;e.Y8G("formGroupName",t),e.R7$(3),e.SpI("#",t+1,""),e.R7$(2),e.Y8G("icon",o.faTrashCan),e.R7$(18),e.Y8G("ngIf","api"===(null==(i=o.customToolForm.get("toolType"))?null:i.value))}}function Cd(n,a){if(1&n&&(e.j41(0,"div",166),e.DNE(1,xd,31,4,"div",167),e.k0s()),2&n){const t=e.XpG(4);e.R7$(1),e.Y8G("ngForOf",t.customToolParameters.controls)}}function kd(n,a){1&n&&(e.j41(0,"p",192),e.EFF(1," No parameters yet. Add one to define inputs for this tool. "),e.k0s())}function yd(n,a){if(1&n&&(e.j41(0,"mat-option",82),e.EFF(1),e.k0s()),2&n){const t=a.$implicit;e.Y8G("value",t.id),e.R7$(1),e.SpI(" ",t.label||t.name," ")}}function Md(n,a){1&n&&(e.j41(0,"div",139)(1,"mat-form-field",197)(2,"mat-label"),e.EFF(3,"Repository"),e.k0s(),e.nrm(4,"input",198),e.k0s(),e.j41(5,"mat-form-field",197)(6,"mat-label"),e.EFF(7,"Branch / Tag"),e.k0s(),e.nrm(8,"input",199),e.k0s(),e.j41(9,"mat-form-field",197)(10,"mat-label"),e.EFF(11,"File Path"),e.k0s(),e.nrm(12,"input",200),e.k0s()())}function Od(n,a){if(1&n){const t=e.RV6();e.j41(0,"div",201)(1,"button",202),e.bIt("click",function(){e.eBV(t);const i=e.XpG(5);return e.Njj(i.viewLatestScmContent())}),e.EFF(2," View Latest "),e.k0s()()}}function Pd(n,a){if(1&n&&(e.j41(0,"div",193)(1,"mat-expansion-panel",56)(2,"mat-expansion-panel-header")(3,"mat-panel-title"),e.EFF(4,"Link to Repository"),e.k0s()(),e.j41(5,"div",139)(6,"mat-form-field",140)(7,"mat-label"),e.EFF(8,"SCM Service"),e.k0s(),e.j41(9,"mat-select",194)(10,"mat-option",82),e.EFF(11,"None"),e.k0s(),e.DNE(12,yd,2,2,"mat-option",75),e.k0s(),e.j41(13,"mat-hint"),e.EFF(14,"Select a GitHub, GitLab, or Bitbucket service"),e.k0s()()(),e.DNE(15,Md,13,0,"div",195),e.DNE(16,Od,3,0,"div",196),e.k0s()()),2&n){const t=e.XpG(4);let o,i,r;e.Y8G("formGroup",t.customToolForm),e.R7$(1),e.Y8G("expanded",!(null==(o=t.customToolForm.get("storageServiceId"))||!o.value)),e.R7$(9),e.Y8G("value",null),e.R7$(2),e.Y8G("ngForOf",t.availableScmServices)("ngForTrackBy",t.trackById),e.R7$(3),e.Y8G("ngIf",null==(i=t.customToolForm.get("storageServiceId"))?null:i.value),e.R7$(1),e.Y8G("ngIf",null==(r=t.customToolForm.get("storageServiceId"))?null:r.value)}}function Fd(n,a){if(1&n){const t=e.RV6();e.j41(0,"button",165),e.bIt("click",function(){const r=e.eBV(t).$implicit,c=e.XpG(5);return e.Njj(c.insertLookup(r.name,"function"))}),e.EFF(1),e.k0s()}if(2&n){const t=a.$implicit;e.R7$(1),e.SpI(" ",t.name," ")}}function wd(n,a){if(1&n){const t=e.RV6();e.j41(0,"div",203)(1,"div",204)(2,"label",205),e.EFF(3,"Function (JavaScript function body)"),e.k0s(),e.j41(4,"button",206),e.nrm(5,"fa-icon",134),e.EFF(6," Insert Lookup "),e.k0s(),e.j41(7,"mat-menu",null,207),e.DNE(9,Fd,2,1,"button",164),e.k0s()(),e.j41(10,"div",208)(11,"df-ace-editor",209,210),e.bIt("valueChange",function(i){e.eBV(t);const r=e.XpG(4);return e.Njj(r.onFunctionChange(i))}),e.k0s()(),e.j41(13,"span",211),e.EFF(14," Write a JavaScript function body. Parameters are available as variables by name. Use "),e.j41(15,"code"),e.EFF(16,"secrets.LOOKUP_NAME"),e.k0s(),e.EFF(17," to reference lookup values. "),e.k0s()()}if(2&n){const t=e.sdS(8),o=e.XpG(4);e.R7$(4),e.Y8G("matMenuTriggerFor",t)("disabled",0===o.availableLookups.length),e.R7$(1),e.Y8G("icon",o.faPlus),e.R7$(4),e.Y8G("ngForOf",o.availableLookups)("ngForTrackBy",o.trackByName),e.R7$(2),e.Y8G("mode",o.functionEditorMode)}}function Dd(n,a){if(1&n){const t=e.RV6();e.j41(0,"button",165),e.bIt("click",function(){const r=e.eBV(t).$implicit,c=e.XpG(5);return e.Njj(c.insertLookup(r.name,"headers"))}),e.EFF(1),e.k0s()}if(2&n){const t=a.$implicit;e.R7$(1),e.SpI(" ",t.name," ")}}function Td(n,a){if(1&n){const t=e.RV6();e.j41(0,"div",203)(1,"div",204)(2,"label",205),e.EFF(3,"Static Headers (JSON)"),e.k0s(),e.j41(4,"button",206),e.nrm(5,"fa-icon",134),e.EFF(6," Insert Lookup "),e.k0s(),e.j41(7,"mat-menu",null,212),e.DNE(9,Dd,2,1,"button",164),e.k0s()(),e.j41(10,"div",213)(11,"df-ace-editor",214,215),e.bIt("valueChange",function(i){e.eBV(t);const r=e.XpG(4);return e.Njj(r.onHeadersChange(i))}),e.k0s()()()}if(2&n){const t=e.sdS(8),o=e.XpG(4);e.R7$(4),e.Y8G("matMenuTriggerFor",t)("disabled",0===o.availableLookups.length),e.R7$(1),e.Y8G("icon",o.faPlus),e.R7$(4),e.Y8G("ngForOf",o.availableLookups)("ngForTrackBy",o.trackByName),e.R7$(2),e.Y8G("mode",o.headersEditorMode)}}function Sd(n,a){if(1&n){const t=e.RV6();e.j41(0,"div",135)(1,"h4"),e.EFF(2),e.k0s(),e.j41(3,"mat-button-toggle-group",136)(4,"mat-button-toggle",137),e.EFF(5,"API"),e.k0s(),e.j41(6,"mat-button-toggle",138),e.EFF(7,"Function"),e.k0s()(),e.j41(8,"div",139)(9,"mat-form-field",140)(10,"mat-label"),e.EFF(11,"Tool Name"),e.k0s(),e.nrm(12,"input",141),e.j41(13,"mat-hint"),e.EFF(14,"Letters, numbers, and underscores only"),e.k0s()(),e.DNE(15,ud,14,0,"mat-form-field",142),e.k0s(),e.DNE(16,bd,11,5,"mat-form-field",143),e.j41(17,"mat-form-field",83)(18,"mat-label"),e.EFF(19,"Description"),e.k0s(),e.nrm(20,"textarea",144),e.j41(21,"mat-hint"),e.EFF(22,"This description is shown to the LLM"),e.k0s()(),e.j41(23,"div",145)(24,"div",10)(25,"h5"),e.EFF(26,"Parameters"),e.k0s(),e.j41(27,"button",146),e.bIt("click",function(){e.eBV(t);const i=e.XpG(3);return e.Njj(i.addToolParameter())}),e.nrm(28,"fa-icon",134),e.EFF(29," Add Parameter "),e.k0s()(),e.DNE(30,Cd,2,1,"div",147),e.DNE(31,kd,2,0,"p",148),e.k0s(),e.DNE(32,Pd,17,7,"div",149),e.DNE(33,wd,18,6,"div",150),e.DNE(34,Td,13,6,"div",150),e.j41(35,"div",151)(36,"button",152),e.bIt("click",function(){e.eBV(t);const i=e.XpG(3);return e.Njj(i.cancelCustomToolEdit())}),e.EFF(37," Cancel "),e.k0s(),e.j41(38,"button",153),e.bIt("click",function(){e.eBV(t);const i=e.XpG(3);return e.Njj(i.saveCustomTool())}),e.EFF(39),e.k0s()()()}if(2&n){const t=e.XpG(3);let o,i,r,c,s;e.Y8G("formGroup",t.customToolForm),e.R7$(2),e.SpI(" ",-1===t.editingToolIndex?"Add Custom Tool":"Edit Custom Tool"," "),e.R7$(13),e.Y8G("ngIf","api"===(null==(o=t.customToolForm.get("toolType"))?null:o.value)),e.R7$(1),e.Y8G("ngIf","api"===(null==(i=t.customToolForm.get("toolType"))?null:i.value)),e.R7$(12),e.Y8G("icon",t.faPlus),e.R7$(2),e.Y8G("ngIf",t.customToolParameters.length>0),e.R7$(1),e.Y8G("ngIf",0===t.customToolParameters.length),e.R7$(1),e.Y8G("ngIf","function"===(null==(r=t.customToolForm.get("toolType"))?null:r.value)&&t.availableScmServices.length>0),e.R7$(1),e.Y8G("ngIf","function"===(null==(c=t.customToolForm.get("toolType"))?null:c.value)),e.R7$(1),e.Y8G("ngIf","api"===(null==(s=t.customToolForm.get("toolType"))?null:s.value)),e.R7$(4),e.Y8G("disabled",t.customToolForm.invalid),e.R7$(1),e.SpI(" ",-1===t.editingToolIndex?"Add":"Update"," ")}}function Rd(n,a){if(1&n&&(e.qex(0),e.j41(1,"code"),e.EFF(2),e.k0s(),e.EFF(3),e.bVm()),2&n){const t=e.XpG().$implicit;e.R7$(2),e.JRh(t.httpMethod),e.R7$(1),e.SpI(" ",t.url," ")}}function Id(n,a){1&n&&(e.j41(0,"em"),e.EFF(1,"Function"),e.k0s())}function Ed(n,a){if(1&n&&(e.j41(0,"em"),e.EFF(1),e.k0s()),2&n){const t=e.XpG(2).$implicit;e.R7$(1),e.Lme("SCM: ",t.scmRepository,"/",t.storagePath,"")}}function $d(n,a){if(1&n&&(e.qex(0),e.DNE(1,Id,2,0,"em",24),e.DNE(2,Ed,2,2,"em",24),e.bVm()),2&n){const t=e.XpG().$implicit;e.R7$(1),e.Y8G("ngIf",!t.storageServiceId),e.R7$(1),e.Y8G("ngIf",t.storageServiceId)}}function Gd(n,a){if(1&n){const t=e.RV6();e.j41(0,"tr")(1,"td",118)(2,"mat-slide-toggle",120),e.bIt("change",function(i){const c=e.eBV(t).index,s=e.XpG(4);return e.Njj(s.toggleCustomTool(c,i.checked))}),e.k0s()(),e.j41(3,"td")(4,"code"),e.EFF(5),e.k0s()(),e.j41(6,"td")(7,"code"),e.EFF(8),e.k0s()(),e.j41(9,"td",217),e.DNE(10,Rd,4,2,"ng-container",24),e.DNE(11,$d,3,2,"ng-container",24),e.k0s(),e.j41(12,"td"),e.EFF(13),e.k0s(),e.j41(14,"td",216)(15,"div",218)(16,"button",219),e.bIt("click",function(){const r=e.eBV(t).index,c=e.XpG(4);return e.Njj(c.editCustomTool(r))}),e.nrm(17,"fa-icon",92),e.k0s(),e.j41(18,"button",220),e.bIt("click",function(){const r=e.eBV(t).index,c=e.XpG(4);return e.Njj(c.deleteCustomTool(r))}),e.nrm(19,"fa-icon",92),e.k0s()()()()}if(2&n){const t=a.$implicit,o=e.XpG(4);e.AVh("disabled-row",!t.enabled),e.R7$(2),e.Y8G("checked",t.enabled),e.R7$(3),e.JRh(t.name),e.R7$(3),e.JRh((t.toolType||"api").toUpperCase()),e.R7$(2),e.Y8G("ngIf","api"===(t.toolType||"api")),e.R7$(1),e.Y8G("ngIf","function"===t.toolType),e.R7$(2),e.JRh(t.description),e.R7$(3),e.Y8G("disabled",null!==o.editingToolIndex),e.R7$(1),e.Y8G("icon",o.faPenToSquare),e.R7$(1),e.Y8G("disabled",null!==o.editingToolIndex),e.R7$(1),e.Y8G("icon",o.faTrashCan)}}function jd(n,a){if(1&n&&(e.j41(0,"table",117)(1,"thead")(2,"tr"),e.nrm(3,"th",118),e.j41(4,"th"),e.EFF(5,"Name"),e.k0s(),e.j41(6,"th"),e.EFF(7,"Type"),e.k0s(),e.j41(8,"th"),e.EFF(9,"Method / URL"),e.k0s(),e.j41(10,"th"),e.EFF(11,"Description"),e.k0s(),e.nrm(12,"th",216),e.k0s()(),e.j41(13,"tbody"),e.DNE(14,Gd,20,12,"tr",122),e.k0s()()),2&n){const t=e.XpG(3);e.R7$(14),e.Y8G("ngForOf",t.customTools)}}function Nd(n,a){1&n&&(e.j41(0,"p",221),e.EFF(1,' No custom tools defined. Click "Add Custom Tool" to create one. '),e.k0s())}function Ad(n,a){if(1&n&&(e.qex(0),e.j41(1,"mat-accordion",15)(2,"mat-expansion-panel",56)(3,"mat-expansion-panel-header"),e.EFF(4," Custom Tools "),e.k0s(),e.j41(5,"div",126)(6,"p",127),e.EFF(7," Define custom tools that make HTTP requests to external APIs or execute server-side functions. These tools will be available to MCP clients alongside the built-in DreamFactory tools. "),e.k0s(),e.DNE(8,fd,4,1,"div",128),e.DNE(9,Sd,40,12,"div",129),e.DNE(10,jd,15,1,"table",130),e.DNE(11,Nd,2,0,"p",131),e.k0s()()(),e.bVm()),2&n){const t=e.XpG(2);e.R7$(2),e.Y8G("expanded",t.customTools.length>0),e.R7$(6),e.Y8G("ngIf",null===t.editingToolIndex),e.R7$(1),e.Y8G("ngIf",null!==t.editingToolIndex),e.R7$(1),e.Y8G("ngIf",t.customTools.length>0),e.R7$(1),e.Y8G("ngIf",0===t.customTools.length&&null===t.editingToolIndex)}}function Yd(n,a){if(1&n){const t=e.RV6();e.qex(0),e.j41(1,"df-disclosure",222),e.nI1(2,"transloco"),e.nI1(3,"transloco"),e.nI1(4,"transloco"),e.j41(5,"p",223),e.EFF(6),e.nI1(7,"transloco"),e.k0s(),e.nrm(8,"df-pipeline-strip",224),e.k0s(),e.j41(9,"df-disclosure",80),e.nI1(10,"transloco"),e.nI1(11,"transloco"),e.nI1(12,"transloco"),e.j41(13,"p",223),e.EFF(14),e.nI1(15,"transloco"),e.k0s(),e.j41(16,"df-scope-matrix",225),e.bIt("cellClick",function(i){e.eBV(t);const r=e.XpG(2);return e.Njj(r.onScopeCellClick(i))}),e.k0s()(),e.bVm()}if(2&n){const t=e.XpG(2);e.R7$(1),e.Y8G("eyebrow",e.bMT(2,13,"services.pipeline.eyebrow"))("title",e.bMT(3,15,"services.pipeline.title"))("description",e.bMT(4,17,"services.pipeline.description")),e.R7$(5),e.SpI(" ",e.bMT(7,19,"services.pipeline.hint")," "),e.R7$(2),e.Y8G("serviceId",t.serviceData.id)("serviceName",t.serviceData.name)("serviceType",t.serviceData.type),e.R7$(1),e.Y8G("eyebrow",e.bMT(10,21,"services.access.eyebrow"))("title",e.bMT(11,23,"services.access.title"))("description",e.bMT(12,25,"services.access.description"))("summary",t.accessSummary),e.R7$(5),e.SpI(" ",e.bMT(15,27,"services.access.hint")," "),e.R7$(2),e.Y8G("serviceId",t.serviceData.id)}}function Vd(n,a){if(1&n){const t=e.RV6();e.qex(0),e.j41(1,"button",226),e.bIt("click",function(){e.eBV(t);const i=e.XpG(3);return e.Njj(i.save(!0,!1))}),e.EFF(2),e.nI1(3,"transloco"),e.k0s(),e.j41(4,"button",226),e.bIt("click",function(){e.eBV(t);const i=e.XpG(3);return e.Njj(i.save(!0,!0))}),e.EFF(5),e.nI1(6,"transloco"),e.k0s(),e.bVm()}2&n&&(e.R7$(1),e.Y8G("value",!0),e.R7$(1),e.SpI(" ",e.bMT(3,4,"saveAndClear")," "),e.R7$(2),e.Y8G("value",!0),e.R7$(1),e.SpI(" ",e.bMT(6,6,"saveAndContinue")," "))}function Xd(n,a){if(1&n){const t=e.RV6();e.j41(0,"div",60)(1,"button",61),e.bIt("click",function(){e.eBV(t);const i=e.XpG(2);return e.Njj(i.goBack())}),e.EFF(2),e.nI1(3,"transloco"),e.k0s(),e.DNE(4,Vd,7,8,"ng-container",24),e.j41(5,"button",68),e.EFF(6),e.nI1(7,"transloco"),e.k0s()()}if(2&n){const t=e.XpG(2);e.R7$(2),e.SpI(" ",e.bMT(3,3,"cancel")," "),e.R7$(2),e.Y8G("ngIf",t.edit),e.R7$(2),e.SpI(" ",e.bMT(7,5,"save")," ")}}function zd(n,a){if(1&n){const t=e.RV6();e.DNE(0,dl,1,4,"df-service-health-panel",72),e.DNE(1,pl,5,14,"df-disclosure",73),e.j41(2,"mat-form-field",38)(3,"mat-label"),e.EFF(4),e.nI1(5,"transloco"),e.k0s(),e.j41(6,"mat-select",74),e.bIt("selectionChange",function(i){e.eBV(t);const r=e.XpG();return e.Njj(r.onServiceTypeSelect(r.getServiceTypeLabel(i.value)))}),e.DNE(7,ml,2,2,"mat-option",75),e.k0s(),e.nrm(8,"fa-icon",11),e.nI1(9,"transloco"),e.k0s(),e.DNE(10,_l,7,7,"mat-form-field",18),e.DNE(11,fl,6,2,"ng-container",24),e.DNE(12,ul,7,7,"mat-form-field",76),e.DNE(13,hl,7,7,"mat-form-field",77),e.DNE(14,bl,4,3,"mat-slide-toggle",78),e.j41(15,"div",15),e.DNE(16,Cl,4,2,"ng-container",24),e.k0s(),e.DNE(17,td,5,3,"ng-container",24),e.DNE(18,od,25,6,"ng-container",24),e.DNE(19,gd,8,4,"ng-container",24),e.DNE(20,Ad,12,5,"ng-container",24),e.DNE(21,Yd,17,29,"ng-container",24),e.DNE(22,Xd,8,7,"div",26)}if(2&n){const t=e.XpG();e.Y8G("ngIf",t.edit&&(null==t.serviceData?null:t.serviceData.id)&&!t.isPlatformService),e.R7$(1),e.Y8G("ngIf",t.edit&&t.isDatabase&&t.serviceData),e.R7$(3),e.JRh(e.bMT(5,19,"services.controls.serviceType.label")),e.R7$(3),e.Y8G("ngForOf",t.serviceTypes)("ngForTrackBy",t.trackByName),e.R7$(1),e.Y8G("icon",t.faCircleInfo)("matTooltip",e.bMT(9,21,"services.controls.serviceType.tooltip")),e.R7$(2),e.Y8G("ngIf",!t.subscriptionRequired),e.R7$(1),e.Y8G("ngIf","excel"===t.serviceForm.getRawValue().type),e.R7$(1),e.Y8G("ngIf",!t.subscriptionRequired),e.R7$(1),e.Y8G("ngIf",!t.subscriptionRequired),e.R7$(1),e.Y8G("ngIf",!t.subscriptionRequired),e.R7$(2),e.Y8G("ngIf",t.edit),e.R7$(1),e.Y8G("ngIf",t.viewSchema&&!t.subscriptionRequired),e.R7$(1),e.Y8G("ngIf",t.isMcp&&t.isSystemMcp&&t.edit),e.R7$(1),e.Y8G("ngIf",t.isMcp&&!t.isSystemMcp&&t.edit),e.R7$(1),e.Y8G("ngIf",t.isMcp&&!t.isSystemMcp&&t.edit),e.R7$(1),e.Y8G("ngIf",t.edit&&t.isDatabase&&(null==t.serviceData?null:t.serviceData.id)),e.R7$(1),e.Y8G("ngIf",!t.subscriptionRequired)}}function Bd(n,a){if(1&n&&e.nrm(0,"df-paywall",227),2&n){const t=e.XpG();e.Y8G("serviceName",t.selectedServiceTypeLable||"Unable to fetch service name")}}function Ld(n,a){if(1&n){const t=e.RV6();e.j41(0,"h1",228),e.EFF(1,"Unsaved custom tool"),e.k0s(),e.j41(2,"div",229),e.EFF(3," You have unsaved changes in the custom tool editor. Saving the service now will discard those changes unless you add/update the tool first. "),e.k0s(),e.j41(4,"div",230)(5,"button",231),e.bIt("click",function(){e.eBV(t);const i=e.XpG();return e.Njj(i.closeUnsavedToolDialog("cancel"))}),e.EFF(6," Keep editing "),e.k0s(),e.j41(7,"button",232),e.bIt("click",function(){e.eBV(t);const i=e.XpG();return e.Njj(i.closeUnsavedToolDialog("discard"))}),e.EFF(8," Discard tool changes "),e.k0s(),e.j41(9,"button",233),e.bIt("click",function(){e.eBV(t);const i=e.XpG();return e.Njj(i.closeUnsavedToolDialog("save"))}),e.EFF(10," Add/Update tool, then save "),e.k0s()()}}let Ot=class Ut{static{yt=this}constructor(a,t,o,i,r,c,s,l,p,f,M,v,x,F,T){this.activatedRoute=a,this.fb=t,this.servicesService=o,this.cacheService=i,this.router=r,this.systemConfigDataService=c,this.http=s,this.dialog=l,this.themeService=p,this.snackbarService=f,this.currentServiceService=M,this.snackBar=v,this.systemService=x,this.analyticsService=F,this.artifactResolver=T,this.edit=!1,this.isDatabase=!1,this.accessSummary=null,this.scope=(0,e.WQX)($e.q),this.transloco=(0,e.WQX)(R.JO),this.isPlatformService=!1,this.serviceGroup=null,this.isNetworkService=!1,this.isScriptService=!1,this.isFile=!1,this.isAuth=!1,this.isMcp=!1,this.isSystemMcp=!1,this.systemMcpTools=oe,this.faCircleInfo=b.mEO,this.faPenToSquare=b.LFz,this.faTrashCan=b.sjs,this.faPlus=b.QLR,this.faFileImport=b.$MS,this.search="",this.content="",this.showSecurityConfig=!1,this.currentServiceId=null,this.isFirstTimeUser=!1,this.artifactKeys=[],this.artifactSampleTable="your_table",this.availableFileServices=[],this.mcpServices=[],this.mcpServicesLoaded=!1,this.disabledTools=new Set,this.mcpGlobalTools=[{name:"list_apis",title:"List Available APIs",description:"List all available database APIs and their tool prefixes"},{name:"all_get_tables",title:"Get Tables from All Databases",description:"Retrieve tables from all connected database services in one call"},{name:"all_find_table",title:"Find Table Across Databases",description:"Search for a table by name across all connected databases"},{name:"all_get_stored_procedures",title:"Get Stored Procedures from All",description:"Retrieve stored procedures from all connected databases"},{name:"all_get_stored_functions",title:"Get Stored Functions from All",description:"Retrieve stored functions from all connected databases"},{name:"all_get_resources",title:"Get Resources from All",description:"Retrieve all available resources from all connected databases"},{name:"all_list_files",title:"List Files from All Storage",description:"List files from all connected file storage services"},{name:"search",title:"Search (stub)",description:"Stub search implementation for connectors that require it"},{name:"fetch",title:"Fetch (stub)",description:"Stub fetch implementation for connectors that require it"}],this.customTools=[],this.editingToolIndex=null,this.availableLookups=[],this.availableScmServices=[],this.unsavedToolDialogRef=null,this.liveHeadersValue=null,this.liveFunctionValue=null,this.isDarkMode=this.themeService.darkMode$,this.toolStyle="prefixed",this.schemaMemoSrc=null,this.schemaMemoIsDatabase=null,this.schemaMemoIsNetwork=null,this.memoViewSchema=[],this.memoHasStandardFields=!1,this.memoBasicFields=[],this.memoAdvancedFields=[],this.memoNetworkRequiredFields=[],this.memoNetworkAdvancedFields=[],this.trackByName=(_,C)=>C.name,this.trackById=(_,C)=>C.id,this.warnings=[],this.memoServiceTypesSrc=null,this.memoServiceTypesSearch=null,this.memoFilteredServiceTypes=[],this.serviceForm=this.fb.group({type:["",m.k0.required],name:["",m.k0.required],label:[""],description:[""],isActive:[!0],storageServiceId:[null],config:this.fb.group({}),service_doc_by_service_id:this.fb.group({format:[0],content:[""]})}),this.customToolForm=this.fb.group({toolType:["api"],name:["",[m.k0.required,m.k0.pattern(/^[a-zA-Z0-9_]+$/)]],description:["",m.k0.required],httpMethod:["GET"],url:["",m.k0.required],parameters:this.fb.array([]),headers:["{}"],function:[""],enabled:[!0],storageServiceId:[null],scmRepository:[""],scmReference:[""],storagePath:[""]}),this.customToolForm.get("toolType").valueChanges.subscribe(_=>{const C=this.customToolForm.get("url"),k=this.customToolForm.get("function");if("function"===_){C.clearValidators();const y=!!this.customToolForm.get("storageServiceId")?.value;k.setValidators(y?[]:[m.k0.required])}else C.setValidators(m.k0.required),k.clearValidators();C.updateValueAndValidity(),k.updateValueAndValidity()}),this.customToolForm.get("storageServiceId").valueChanges.subscribe(_=>{const C=this.customToolForm.get("function");"function"===this.customToolForm.get("toolType")?.value&&(C.setValidators(_?[]:[m.k0.required]),C.updateValueAndValidity())}),this.activatedRoute.snapshot.paramMap.get("id")&&(this.edit=!0)}ngOnInit(){this.edit||this.analyticsService.getDashboardStats().subscribe(a=>{this.isFirstTimeUser=0===a.services.total}),this.http.get("assets/img/databaseImages.json").subscribe(a=>{this.images=a}),this.http.get(`${N.C}/system/lookup`,{params:{fields:"name",limit:"100"}}).subscribe(a=>{this.availableLookups=a?.resource??[]}),this.systemConfigDataService.environment$.pipe((0,Ce.n)(a=>this.activatedRoute.data.pipe((0,X.T)(t=>({env:a,route:t}))))).subscribe(({env:a,route:t})=>{t.groups&&"Database"===t.groups[0]&&(this.isDatabase=!0),t.groups&&"Remote Service"===t.groups[0]&&(this.isNetworkService=!0),t.groups&&"Script"===t.groups[0]&&(this.isScriptService=!0),t.groups&&"File"===t.groups[0]&&(this.isFile=!0),t.groups&&"LDAP"===t.groups[0]&&(this.isAuth=!0),t.groups&&"MCP"===t.groups[0]&&(this.isMcp=!0),this.serviceGroup=t.groups?.[0]??null,this.isPlatformService=t.system||this.activatedRoute.snapshot.parent?.data?.system||!1;const{data:o,serviceTypes:i,groups:r}=t,c=a.platform?.license;if(this.serviceTypes=i.filter(s=>"python"!==s.name.toLowerCase()),this.notIncludedServices=[],this.snackbarService.setSnackbarLastEle(o&&(o.label||o.name)?o.label?o.label:o.name:"Unknown label",!1),this.edit&&o&&this.snackbarService.setPageLabel(this.router.url,o.label||o.name||String(o.id??"")),this.isDatabase?("SILVER"===c&&this.notIncludedServices.push(...Re.Ky.map(s=>(s.class="not-included",s)).filter(s=>r.includes(s.group))),"OPEN SOURCE"===c&&this.notIncludedServices.push(...Re.F8.map(s=>(s.class="not-included",s)).filter(s=>r.includes(s.group)),...Re.Ky.map(s=>(s.class="not-included",s)).filter(s=>r.includes(s.group)))):("SILVER"===c&&this.serviceTypes.push(...Re.Ky.filter(s=>r.includes(s.group))),"OPEN SOURCE"===c&&this.serviceTypes.push(...Re.F8.filter(s=>r.includes(s.group)),...Re.Ky.filter(s=>r.includes(s.group)))),o?.serviceDocByServiceId)if(this.isNetworkService)o.config.serviceDefinition=o?.serviceDocByServiceId.content,this.getServiceDocByServiceIdControl("content").setValue(o?.serviceDocByServiceId.content);else if(this.isScriptService){o.config||(o.config={});const s=l=>{if(!l)return!1;const p=l.trim();return[/^\s*\{?\s*["']?openapi["']?\s*:/i,/^\s*\{?\s*["']?swagger["']?\s*:/i,/^\s*openapi\s*:/im,/^\s*swagger\s*:/im,/["']paths["']\s*:\s*\{/i,/^\s*paths\s*:/im].some(M=>M.test(p))};o.config.content&&""!==o.config.content.trim()?this.getServiceDocByServiceIdControl("content").setValue(o?.serviceDocByServiceId.content||""):o.serviceDocByServiceId?.content&&(s(o.serviceDocByServiceId.content)?this.getServiceDocByServiceIdControl("content").setValue(o.serviceDocByServiceId.content):(o.config.content=o.serviceDocByServiceId.content,this.getServiceDocByServiceIdControl("content").setValue("")))}else this.getServiceDocByServiceIdControl("content").setValue(o?.serviceDocByServiceId.content);if(this.serviceData=o,this.loadAccessSummary(),this.content=o?this.isScriptService?o.config.content||"":o.config.serviceDefinition||"":"",this.edit){if(this.configSchema=this.getConfigSchema(o.type),this.initializeConfig(""),"excel"===o.type){console.log("Editing Excel service, data:",o),console.log("Config:",o.config),console.log("Storage service ID from config:",o.config?.storageServiceId);const s=o.config?.storageServiceId;this.loadAvailableFileServices(()=>{console.log("File services loaded, now setting form value"),s?(console.log("Setting storageServiceId to:",s),this.serviceForm.patchValue({...o,config:o.config,storageServiceId:s})):(console.log("No storageServiceId found in config"),this.serviceForm.patchValue({...o,config:o.config}))})}else this.serviceForm.patchValue({...o,config:o.config});o?.serviceDocByServiceId&&(this.serviceDefinitionType=""+o?.serviceDocByServiceId.format,this.isNetworkService&&(this.getConfigControl("content")?.setValue(o.serviceDocByServiceId.content),this.content=o.serviceDocByServiceId.content||"")),this.serviceForm.controls.type.disable()}else this.serviceForm.controls.type.valueChanges.subscribe(s=>{this.serviceForm.removeControl("config"),this.configSchema=this.getConfigSchema(s),this.updateServiceTypeFlags(s),this.initializeConfig(s),"excel"===s&&this.loadAvailableFileServices()});this.edit&&"excel"===o?.type&&this.loadAvailableFileServices(),this.edit&&this.isMcp&&(this.isSystemMcp=Wt(o?.type),this.disabledTools=new Set(o?.config?.disabledTools??[]),this.toolStyle="merged"===o?.config?.toolStyle?"merged":"prefixed",this.isSystemMcp?(this.customTools=[],this.mcpServicesLoaded=!0):(this.customTools=(o?.config?.customTools??[]).map(l=>({id:l.id,toolType:l.toolType||"api",name:l.name,description:l.description,httpMethod:l.httpMethod,url:l.url,parameters:l.parameters||[],headers:l.headers||{},function:l.function||"",enabled:!1!==l.enabled&&0!==l.enabled,storageServiceId:l.storageServiceId||null,scmRepository:l.scmRepository||"",scmReference:l.scmReference||"",storagePath:l.storagePath||""})),this.loadMcpServices(),this.getConfigControl("toolStyle")?.valueChanges.subscribe(l=>{this.toolStyle="merged"===l?"merged":"prefixed"}),this.loadAvailableScmServices())),this.edit&&this.isDatabase&&this.serviceData&&this.loadArtifactCardData()}),this.isDatabase&&this.serviceForm.controls.type.valueChanges.subscribe(a=>{this.serviceForm.patchValue({label:a})})}getStorageServiceDisplayName(){console.log("=== getStorageServiceDisplayName called ==="),console.log("this.edit:",this.edit),console.log("this.serviceData:",this.serviceData),console.log("this.availableFileServices:",this.availableFileServices);let a=this.serviceForm.get("storageServiceId")?.value;if(console.log("storageServiceId from form:",a),!a&&this.edit&&this.serviceData?.config?.storageServiceId&&(a=this.serviceData.config.storageServiceId,console.log("storageServiceId from serviceData.config.storageServiceId:",a)),console.log("this.serviceData.config:",this.serviceData?.config),console.log("this.serviceData.config?.storageServiceId:",this.serviceData?.config?.storageServiceId),!a)return console.log("No storageServiceId found, returning default message"),"No storage service selected";const t=this.availableFileServices.find(o=>o.id===a);if(console.log("selectedService found:",t),t){const o=t.label||t.name;return console.log("Returning display name:",o),o}return console.log("Service not found in availableFileServices, returning ID"),`Service ID: ${a}`}loadAvailableFileServices(a){console.log("=== loadAvailableFileServices called ==="),console.log("Current service form type:",this.serviceForm.getRawValue().type),console.log("Available file services before loading:",this.availableFileServices);let t="";const o=localStorage.getItem("df_token")||localStorage.getItem("X-DreamFactory-API-Key")||sessionStorage.getItem("df_token");if(o)t=`X-DreamFactory-API-Key: ${o}`;else{const l=document.cookie.split(";");let p="",f="";for(const M of l){const[v,x]=M.trim().split("=");("df_session_token"===v||"session_token"===v)&&(p=x),("df_api_key"===v||"api_key"===v)&&(f=x)}p?t=`X-DreamFactory-Session-Token: ${p}`:f?t=`X-DreamFactory-API-Key: ${f}`:window.dfAuthToken?t=`X-DreamFactory-API-Key: ${window.dfAuthToken}`:window.dreamFactoryToken&&(t=`X-DreamFactory-API-Key: ${window.dreamFactoryToken}`)}if(!t)return console.warn("No authentication method found, cannot load file services"),this.availableFileServices=[],void(a&&a());const i=`${window.location.origin}/api/v2/system/service`,[r,c]=t.split(": "),s={};r&&c&&(s[r]=c),this.http.get(i,{params:{filter:"type=local_file",fields:"id,name,label,type"},headers:s}).subscribe({next:l=>{l.resource&&Array.isArray(l.resource)?(this.availableFileServices=l.resource,console.log("File services loaded successfully:",this.availableFileServices)):(console.warn("No file services found in response or invalid format"),this.availableFileServices=[]),a&&a()},error:l=>{console.error("Failed to load file services:",l),this.http.get(i,{params:{fields:"id,name,label,type"},headers:s}).subscribe({next:p=>{p.resource&&Array.isArray(p.resource)?(this.availableFileServices=p.resource.filter(M=>M.type&&("local_file"===M.type||"file"===M.type||M.type.includes("file"))),console.log("File services loaded via fallback:",this.availableFileServices)):this.availableFileServices=[],a&&a()},error:p=>{console.error("Fallback also failed:",p),this.availableFileServices=[],a&&a()}})}})}loadMcpServices(){this.mcpServicesLoaded||this.http.get("/api/v2/system/service_type",{params:{fields:"name,group"}}).pipe((0,Ce.n)(a=>{const t=a?.resource??[],o=new Set(t.filter(r=>"Database"===r.group).map(r=>r.name)),i=new Set(t.filter(r=>"File"===r.group).map(r=>r.name));return this.http.get("/api/v2/system/service",{params:{fields:"name,label,type,is_active"}}).pipe((0,X.T)(r=>(r?.resource??[]).filter(s=>!1!==s.isActive&&(o.has(s.type)||i.has(s.type))).map(s=>{const l=o.has(s.type)?"Database":"File",p=this.sanitizeApiName(s.name);return{name:s.name,label:s.label||s.name,type:s.type,category:l,tools:this.buildToolList(p,l),expanded:!1}})))})).subscribe({next:a=>{this.mcpServices=a,this.mcpServicesLoaded=!0},error:a=>{console.error("Failed to load MCP services:",a),this.mcpServicesLoaded=!0}})}buildToolList(a,t){return"Database"===t?[{name:`${a}_get_tables`,title:"List Tables",description:"Get tables available in the database"},{name:`${a}_get_table_schema`,title:"Get Table Schema",description:"Retrieve the schema of a specific table"},{name:`${a}_get_table_data`,title:"Get Table Data",description:"Retrieve table data with filtering, pagination, and sorting"},{name:`${a}_create_records`,title:"Create Records",description:"Create one or more records in a table"},{name:`${a}_update_records`,title:"Update Records",description:"Update (patch) records in a table"},{name:`${a}_delete_records`,title:"Delete Records",description:"Delete records from a table"},{name:`${a}_get_table_fields`,title:"Get Table Fields",description:"Retrieve field definitions for a table"},{name:`${a}_get_table_relationships`,title:"Get Table Relationships",description:"Retrieve relationships definition for a table"},{name:`${a}_get_stored_procedures`,title:"List Stored Procedures",description:"Get stored procedures available in the database"},{name:`${a}_call_stored_procedure`,title:"Call Stored Procedure",description:"Call a stored procedure"},{name:`${a}_get_stored_functions`,title:"List Stored Functions",description:"Get stored functions available in the database"},{name:`${a}_call_stored_function`,title:"Call Stored Function",description:"Call a stored function"},{name:`${a}_get_database_resources`,title:"List Database Resources",description:"Get all resources available in the database service"},{name:`${a}_get_api_spec`,title:"Get API Spec",description:"Get the OpenAPI specification for this database service"},{name:`${a}_get_data_model`,title:"Get Data Model",description:"Get a condensed data model showing all tables and columns"},{name:`${a}_aggregate_data`,title:"Aggregate Data",description:"Compute server-side aggregations (SUM, COUNT, AVG, MIN, MAX)"}]:[{name:`${a}_list_files`,title:"List Files",description:"List files and folders in a path"},{name:`${a}_get_file`,title:"Get File Content",description:"Get the content of a file"},{name:`${a}_create_file`,title:"Create File",description:"Create a new file with the given content"},{name:`${a}_get_file_properties`,title:"Get File Properties",description:"Get properties/metadata of a file or folder"},{name:`${a}_create_folder`,title:"Create Folder",description:"Create a new folder"},{name:`${a}_delete_file`,title:"Delete File or Folder",description:"Delete a file or folder"}]}isToolEnabled(a){return!this.disabledTools.has(a)}toggleTool(a,t){t?this.disabledTools.delete(a):this.disabledTools.add(a)}isAllSystemToolsEnabled(){return this.systemMcpTools.some(a=>!this.disabledTools.has(a.name))}toggleAllSystemTools(a){for(const t of this.systemMcpTools)a?this.disabledTools.delete(t.name):this.disabledTools.add(t.name)}isAllGlobalToolsEnabled(){return this.mcpGlobalTools.some(a=>!this.disabledTools.has(a.name))}toggleAllGlobalTools(a){for(const t of this.mcpGlobalTools)a?this.disabledTools.delete(t.name):this.disabledTools.add(t.name)}get isMergedStyle(){return"merged"===this.toolStyle}get dbServices(){return this.mcpServices.filter(a=>"Database"===a.category)}get visibleServices(){return this.isMergedStyle?this.mcpServices.filter(a=>"Database"!==a.category):this.mcpServices}get mergedDbVerbs(){const a=this.dbServices[0];if(!a)return[];const t=this.sanitizeApiName(a.name)+"_";return a.tools.map(o=>({...o,name:o.name.startsWith(t)?o.name.slice(t.length):o.name}))}verbKey(a,t){return`${this.sanitizeApiName(t)}_${a}`}isVerbEnabledFor(a,t){return!this.disabledTools.has(this.verbKey(a,t))}toggleVerbFor(a,t,o){const i=this.verbKey(a,t);o?this.disabledTools.delete(i):this.disabledTools.add(i)}isVerbEnabledAnywhere(a){return this.dbServices.some(t=>this.isVerbEnabledFor(a,t.name))}toggleVerbEverywhere(a,t){for(const o of this.dbServices)this.toggleVerbFor(a,o.name,t)}isServiceEnabled(a){return a.tools.some(t=>!this.disabledTools.has(t.name))}toggleService(a,t){for(const o of a.tools)t?this.disabledTools.delete(o.name):this.disabledTools.add(o.name)}sanitizeApiName(a){return a.toLowerCase().replace(/[^a-z0-9]/g,"_").replace(/_+/g,"_").replace(/^_|_$/g,"")}get customToolParameters(){return this.customToolForm.get("parameters")}createParameterGroup(a){return this.fb.group({name:[a?.name??"",m.k0.required],type:[a?.type??"string"],in:[a?.in??"query"],required:[a?.required??!1],description:[a?.description??""]})}addCustomTool(){this.editingToolIndex=-1,this.customToolForm.reset({toolType:"api",name:"",description:"",httpMethod:"GET",url:"",headers:"{}",function:"",enabled:!0,storageServiceId:null,scmRepository:"",scmReference:"",storagePath:""}),this.customToolParameters.clear(),this.liveHeadersValue=null,this.liveFunctionValue=null}editCustomTool(a){const t=this.customTools[a];this.editingToolIndex=a;const o=JSON.stringify(t.headers||{},null,2);this.customToolForm.patchValue({toolType:t.toolType||"api",name:t.name,description:t.description,httpMethod:t.httpMethod||"GET",url:t.url||"",headers:o,function:t.function||"",enabled:t.enabled,storageServiceId:t.storageServiceId||null,scmRepository:t.scmRepository||"",scmReference:t.scmReference||"",storagePath:t.storagePath||""}),this.liveHeadersValue=o,this.liveFunctionValue=t.function||"",this.customToolParameters.clear(),(t.parameters||[]).forEach(i=>{this.customToolParameters.push(this.createParameterGroup(i))})}deleteCustomTool(a){this.customTools.splice(a,1)}onHeadersChange(a){this.liveHeadersValue=a}onFunctionChange(a){this.liveFunctionValue=a}insertLookup(a,t){if("function"===t)this.functionEditor?.insertAtCursor(`secrets.${a}`);else if("headers"===t)this.headersEditor?.insertAtCursor(`{${a}}`);else if("url"===t){const o=this.customToolForm.get("url");o&&o.setValue((o.value||"")+`{${a}}`)}}saveCustomTool(){if(this.customToolForm.invalid)return;const a=this.customToolForm.getRawValue(),t=this.liveHeadersValue??a.headers??"{}",o=this.liveFunctionValue??a.function??"";let i={};if("api"===a.toolType&&""!==t.trim())try{i=JSON.parse(t)}catch(c){return void this.snackbarService.openSnackBar(`Invalid JSON in Static Headers: ${c.message}`,"error")}const r={toolType:a.toolType||"api",name:a.name,description:a.description,httpMethod:a.httpMethod,url:a.url,parameters:a.parameters||[],headers:i,function:o,enabled:a.enabled??!0,storageServiceId:a.storageServiceId||null,scmRepository:a.scmRepository||"",scmReference:a.scmReference||"",storagePath:a.storagePath||""};-1===this.editingToolIndex?this.customTools.push(r):null!==this.editingToolIndex&&(r.id=this.customTools[this.editingToolIndex].id,this.customTools[this.editingToolIndex]=r),this.editingToolIndex=null}cancelCustomToolEdit(){this.editingToolIndex=null}hasUnsavedCustomTool(){return null!==this.editingToolIndex&&this.customToolForm.dirty}closeUnsavedToolDialog(a){this.unsavedToolDialogRef?.close(a)}toggleCustomTool(a,t){this.customTools[a].enabled=t}loadAvailableScmServices(){this.http.get("/api/v2",{params:{group:"source control",fields:"id,name,label,type"},context:(0,K.Ku)()}).subscribe({next:a=>{this.availableScmServices=(a?.resource??a?.services??[]).filter(t=>t.id&&t.name)},error:()=>{this.availableScmServices=[]}})}viewLatestScmContent(){const a=this.customToolForm.get("storageServiceId")?.value,t=this.customToolForm.get("scmRepository")?.value,o=this.customToolForm.get("scmReference")?.value||"master",i=this.customToolForm.get("storagePath")?.value;if(!a||!t||!i)return void this.snackbarService.openSnackBar("Service, repository, and path are required to fetch from SCM.","error");const r=this.availableScmServices.find(s=>s.id===a);r?this.http.get(`/api/v2/${r.name}/_repo/${t}`,{params:{branch:o,content:"1",path:i},responseType:"text",context:(0,K.PH)()}).subscribe({next:s=>{this.customToolForm.get("function")?.setValue(s),this.liveFunctionValue=s,this.snackbarService.openSnackBar("Function loaded from repository.","success")},error:s=>{this.snackbarService.openSnackBar(`Failed to fetch from SCM: ${(0,De.cQ)(s).message}`,"error")}}):this.snackbarService.openSnackBar("Selected SCM service not found.","error")}addToolParameter(){this.customToolParameters.push(this.createParameterGroup())}removeToolParameter(a){this.customToolParameters.removeAt(a)}logFormValues(){console.log("Form values:",this.serviceForm.value)}updateServiceTypeFlags(a){this.isNetworkService=!1,this.isScriptService=!1,this.isFile=!1,this.isSystemMcp=Wt(a);const t=this.serviceTypes.find(o=>o.name===a);if(t&&t.group){const o=t.group;"Remote Service"===o?this.isNetworkService=!0:"Script"===o?this.isScriptService=!0:"File"===o&&(this.isFile=!0)}}initializeConfig(a){const t=this.fb.group({});if(this.configSchema&&this.configSchema.length>0){this.configSchema.forEach(i=>{const r=[];i.required&&r.push(m.k0.required),t?.addControl(i.name,new m.MJ(i.default,r))}),this.isFile&&"local_file"===a&&t?.addControl("excelContent",new m.MJ(""));const o=this.configSchema.filter(i=>"content"===i.name)?.[0];if(o){const i=[];o.required&&i.push(m.k0.required),t?.addControl("serviceDefinition",new m.MJ(o.default,i))}this.isNetworkService&&(this.serviceForm.addControl("type",new m.MJ("")),t.addControl("content",new m.MJ("")),this.serviceDefinitionType="0"),this.isScriptService&&(t.get("content")||t.addControl("content",new m.MJ("")),this.serviceDefinitionType="0")}this.serviceForm.setControl("config",t)}get subscriptionRequired(){const a=this.serviceForm.controls.type.value;return"local_email"!==a&&"api_builder"!==a&&"API Builder"!==this.serviceTypes.find(o=>o.name===a)?.group&&a&&0===this.configSchema?.length}get scriptMode(){const a=this.serviceForm.getRawValue().type;return"nodejs"===a?se.Q.NODEJS:"python"===a?se.Q.PYTHON:"python3"===a?se.Q.PYTHON3:"php"===a?se.Q.PHP:se.Q.TEXT}get serviceDefinitionMode(){return"0"===this.serviceDefinitionType?se.Q.JSON:se.Q.YAML}get excelMode(){return se.Q.JSON}get functionEditorMode(){return se.Q.JAVASCRIPT}get headersEditorMode(){return se.Q.JSON}excelUpload(a){const t=this.serviceForm.get("config"),o=a.target;o.files&&t&&t.get("excelContent")&&(0,nn.Sj)(o.files[0]).subscribe(i=>{const r=t.get("excelContent");r&&r.setValue(i)})}getConfigSchema(a){return this.serviceTypes.find(t=>t.name===a)?.configSchema.map(t=>{const o="array"===t.type&&Array.isArray(t.items)?t.items.map(i=>({...i,name:(0,_t.hm)(i.name)})):t.items;return{...t,name:(0,_t.hm)(t.name),items:o}})??[]}syncSchemaViews(){if(this.schemaMemoSrc===(this.configSchema??null)&&this.schemaMemoIsDatabase===this.isDatabase&&this.schemaMemoIsNetwork===this.isNetworkService)return;this.schemaMemoSrc=this.configSchema??null,this.schemaMemoIsDatabase=this.isDatabase,this.schemaMemoIsNetwork=this.isNetworkService;const a=this.configSchema?.filter(r=>!["storageServiceId","storagePath"].includes(r.name))||[];this.memoViewSchema=a;const t=["host","port","database","username","password"],o=a.map(r=>r.name.toLowerCase());this.memoHasStandardFields=this.isDatabase&&t.filter(r=>o.includes(r)).length>=3,this.isDatabase?this.memoHasStandardFields?(this.memoBasicFields=a.filter(r=>t.includes(r.name.toLowerCase())),this.memoAdvancedFields=a.filter(r=>!t.includes(r.name.toLowerCase()))):(this.memoBasicFields=a,this.memoAdvancedFields=[]):(this.memoBasicFields=[],this.memoAdvancedFields=[]);const i=["baseUrl"];this.isNetworkService?(this.memoNetworkRequiredFields=a.filter(r=>i.includes(r.name)),this.memoNetworkAdvancedFields=a.filter(r=>!i.includes(r.name)&&"content"!==r.name)):(this.memoNetworkRequiredFields=[],this.memoNetworkAdvancedFields=[])}get viewSchema(){return this.syncSchemaViews(),this.memoViewSchema}get hasStandardFields(){return this.syncSchemaViews(),this.memoHasStandardFields}get basicFields(){return this.syncSchemaViews(),this.memoBasicFields}get advancedFields(){return this.syncSchemaViews(),this.memoAdvancedFields}get showAdvancedOptions(){return this.isDatabase&&this.hasStandardFields&&this.advancedFields.length>0}get networkRequiredFields(){return this.syncSchemaViews(),this.memoNetworkRequiredFields}get networkAdvancedFields(){return this.syncSchemaViews(),this.memoNetworkAdvancedFields}get showNetworkAdvancedOptions(){return this.isNetworkService}get showCurlImport(){return this.isNetworkService&&this.viewSchema.some(a=>"baseUrl"===a.name)}openCurlImport(){this.dialog.open(cs,{width:"46rem"}).afterClosed().subscribe(a=>{a&&this.applyCurlImport(a)})}static{this.VERB_MASK={GET:1,POST:2,PUT:4,PATCH:8,DELETE:16}}applyCurlImport(a){const t=this.serviceForm.get("config");if(!t)return;const o=(r,c)=>{const s=t.get(r);s&&(s.setValue(c),s.markAsDirty())},i=yt.VERB_MASK[a.method]??0;o("baseUrl",a.baseUrl),o("parameters",a.parameters.map(r=>({name:r.name,value:r.value,exclude:!1,outbound:!0,cacheKey:!1,action:i}))),o("headers",a.headers.map(r=>({name:r.name,value:r.value,passFromClient:!1,action:i}))),Object.keys(a.options).length&&o("options",{...t.get("options")?.value??{},...a.options}),this.serviceForm.markAsDirty()}getConfigControl(a){return this.serviceForm.get(`config.${a}`)}get aiRoleId(){const t=this.serviceForm.get("config.aiRoleId")?.value;return"number"==typeof t?t:null}get aiServiceId(){const t=this.serviceForm.get("config.aiServiceId")?.value;return"number"==typeof t?t:null}setAiServiceId(a){this.serviceForm.get("config.aiServiceId")?.setValue(a)}setAiRoleId(a){this.serviceForm.get("config.aiRoleId")?.setValue(a)}getServiceDocByServiceIdControl(a){return this.serviceForm.get(`service_doc_by_service_id.${a}`)}getServiceDefinitionControl(){return this.serviceForm.get("serviceDefinition")}getControl(a){return this.serviceForm.controls[a]}save(a,t){if(this.hasUnsavedCustomTool()){if(this.unsavedToolDialogRef)return;return this.unsavedToolDialogRef=this.dialog.open(this.unsavedToolDialogTpl,{width:"440px",disableClose:!0}),void this.unsavedToolDialogRef.afterClosed().subscribe(l=>{if(this.unsavedToolDialogRef=null,l&&"cancel"!==l){if("save"===l){if(this.customToolForm.invalid)return void this.snackbarService.openSnackBar("Custom tool has invalid fields. Fix them or discard the edit before saving the service.","error");this.saveCustomTool()}else this.cancelCustomToolEdit();this.customToolForm.markAsPristine(),this.save(a,t)}})}const o=this.serviceForm.getRawValue();if(""===o.type||""===o.name)return void this.serviceForm.markAllAsTouched();this.validateServiceName(o.name)||console.warn(this.warnings);const i=this.formatServiceName(o.name);this.serviceForm.patchValue({name:i});let s,r={snackbarSuccess:"services.createSuccessMsg"},c=null;if(this.isNetworkService)r={...r,fields:"*",related:"service_doc_by_service_id"},o.config?.content&&(c={content:o.config.content,format:this.serviceDefinitionType?Number(this.serviceDefinitionType):0},delete o.config.content);else if(this.isScriptService){r={...r,fields:"*",related:"service_doc_by_service_id"};const l=this.getServiceDocByServiceIdControl("content")?.value;l&&l.trim()&&(c={content:l,format:this.serviceDefinitionType?Number(this.serviceDefinitionType):0})}if(o.service_doc_by_service_id=c,o.type.toLowerCase().includes("saml")?(r={...r,fields:"*",related:"service_doc_by_service_id"},s={...o,is_active:o.isActive,id:this.edit?this.serviceData.id:null,config:{sp_nameIDFormat:o.config.spNameIDFormat,default_role:o.config.defaultRole,sp_x509cert:o.config.spX509cert,sp_privateKey:o.config.spPrivateKey,idp_entityId:o.config.idpEntityId,idp_singleSignOnService_url:o.config.idpSingleSignOnServiceUrl,idp_x509cert:o.config.idpX509cert,relay_state:o.config.relayState}},o.config.appRoleMap&&(s.config.app_role_map=o.config.appRoleMap.map(l=>Object.keys(l).reduce((p,f)=>({...p,[(0,_t.F0)(f)]:l[f]}),{}))),o.config.iconClass&&(s.config.icon_class=o.config.iconClass),delete s.isActive):"excel"===o.type?(s={...o,id:this.edit?this.serviceData.id:null,config:{...o.config||{},storage_service_id:o.storageServiceId}},delete s.storageServiceId):s={...o,id:this.edit?this.serviceData.id:null},this.edit){let l;"excel"===o.type?(l={...this.serviceData,...o,config:{...this.serviceData.config||{},...o.config,storage_service_id:o.storageServiceId},service_doc_by_service_id:o.service_doc_by_service_id?{id:this.serviceData.serviceDocByServiceId?.id,...this.serviceData.serviceDocByServiceId||{},...o.service_doc_by_service_id}:null},delete l.storageServiceId):l={...this.serviceData,...o,config:{...this.serviceData.config||{},...o.config},service_doc_by_service_id:o.service_doc_by_service_id?{id:this.serviceData.serviceDocByServiceId?.id,...this.serviceData.serviceDocByServiceId||{},...o.service_doc_by_service_id}:null},this.isNetworkService&&delete l.config.serviceDefinition,this.isMcp&&(l.config.disabledTools=Array.from(this.disabledTools),l.config.customTools=this.customTools.map(p=>({id:p.id,toolType:p.toolType||"api",name:p.name,description:p.description,httpMethod:p.httpMethod,url:p.url,parameters:p.parameters,headers:p.headers,function:p.function||"",enabled:p.enabled,storageServiceId:p.storageServiceId||null,scmRepository:p.scmRepository||"",scmReference:p.scmReference||"",storagePath:p.storagePath||""})),this.isSystemMcp&&delete l.config.customTools),this.servicesService.update(this.serviceData.id,l,{snackbarSuccess:"services.updateSuccessMsg"}).subscribe(()=>{o.type.toLowerCase().includes("saml")?this.router.navigate(["../"],{relativeTo:this.activatedRoute}):a&&this.cacheService.delete(l.name,{snackbarSuccess:"cache.serviceCacheFlushed"}).subscribe({next:()=>{t||this.router.navigate(["../"],{relativeTo:this.activatedRoute})},error:p=>console.error("Error flushing cache",p)})})}else this.servicesService.create({resource:[s]},r).pipe((0,Ce.n)(l=>this.isDatabase?this.http.get(`${N.C}/${i}/_table`).pipe((0,X.T)(()=>l),(0,I.W)(p=>this.servicesService.delete(l.resource[0].id).pipe((0,qa.Z)(()=>(0,we.$)(()=>new Error("Database connection failed. Please check your connection details.")))))):(0,B.of)(l))).subscribe({next:l=>{if(o.type.toLowerCase().includes("saml"))this.router.navigate(["../"],{relativeTo:this.activatedRoute});else if(this.isDatabase){const p=l?.resource?.[0]?.id;null!=p?this.router.navigate(["../",p],{relativeTo:this.activatedRoute}):this.router.navigate([`/api-connections/api-docs/${i}`])}else if(this.isMcp){const p=l?.resource?.[0]?.id;null!=p?this.router.navigate(["../",p],{relativeTo:this.activatedRoute,queryParams:{created:1}}):this.router.navigate(["../"],{relativeTo:this.activatedRoute})}else this.router.navigate([`/api-connections/api-docs/${i}`])},error:l=>{this.snackbarService.openSnackBar((0,De.cQ)(l).message,"error")}})}validateServiceName(a){return!!/^[a-zA-Z0-9_-]+$/.test(a)||(this.warnings.push("Service name can only contain letters, numbers, underscores, and hyphens."),!1)}formatServiceName(a){return a.toLowerCase().replace(/\s+/g,"").replace(/[^a-z0-9_-]/g,"")}gotoSchema(){const a=this.serviceForm.getRawValue();this.router.navigate([`/admin-settings/schema/${a.name}`])}gotoAPIDocs(){const a=this.serviceForm.getRawValue();this.currentServiceService.setCurrentServiceId(this.serviceData.id);const t=this.formatServiceName(a.name);this.router.navigate([`/api-connections/api-docs/${t}`])}goBack(){this.router.navigate(["../"],{relativeTo:this.activatedRoute})}get artifactBaseUrl(){return`${window.location.origin}${N.C}/${this.serviceData?.name??""}`}onCreateApiKey(){this.router.navigate(["/api-connections/api-keys/create"])}loadAccessSummary(){this.accessSummary=null;const a=this.serviceData?.id;!this.edit||!this.isDatabase||!a||this.scope.matrixForService(a).subscribe(t=>{const o=t.roles.filter(i=>Object.values(i.verbs).some(r=>"none"!==r)).length;this.accessSummary=this.transloco.translate("services.access.summary",{granted:o,total:t.roles.length})})}onScopeCellClick(a){this.dialog.open(jc,{width:"640px",maxWidth:"92vw",autoFocus:!1,data:{roleId:a.roleId,verb:a.verb,serviceLabel:this.serviceData?.label||this.serviceData?.name||""}})}loadArtifactCardData(){var a=this;return(0,ve.A)(function*(){const t=a.serviceData?.name,o=a.serviceData?.id;if(!t||"number"!=typeof o)return void(a.artifactKeys=[]);const i=yield a.artifactResolver.resolveWorkingKeyAndTable(o,t,a.artifactSampleTable);a.artifactSampleTable=i.sampleTable,a.artifactKeys=i.keys})()}getBackgroundImage(a){const t=this.images?.find(o=>o.label==a);return t&&t?t.src:""}get filteredServiceTypes(){if(this.memoServiceTypesSrc!==this.serviceTypes||this.memoServiceTypesSearch!==this.search){this.memoServiceTypesSrc=this.serviceTypes,this.memoServiceTypesSearch=this.search;const a=this.search.toLowerCase();this.memoFilteredServiceTypes=this.serviceTypes.filter(t=>t.label.toLowerCase().includes(a)||t.name.toLowerCase().includes(a))}return this.memoFilteredServiceTypes}nextStep(a){a.next()}openDialog(a){this.dialog.open(Er,{data:{serviceName:a}}).afterClosed().subscribe()}onServiceDefinitionTypeChange(a){this.serviceDefinitionType=a}navigateToRoles(a){a.preventDefault(),this.router.navigate(["/roles"],{queryParams:{tab:"access"}})}goToSecurityConfig(){var a=this;return(0,ve.A)(function*(){try{const t=a.serviceForm.getRawValue(),o=a.formatServiceName(t.name);a.serviceForm.patchValue({name:o});const i={...t,config:{...t.config||{}}};if(a.isNetworkService&&t.config?.content)i.service_doc_by_service_id={content:t.config.content,format:a.serviceDefinitionType?Number(a.serviceDefinitionType):0},delete i.config.content;else if(a.isScriptService){const s=a.getServiceDocByServiceIdControl("content")?.value;s&&s.trim()&&(i.service_doc_by_service_id={content:s,format:a.serviceDefinitionType?Number(a.serviceDefinitionType):0})}else i.service_doc_by_service_id=null;const r=yield a.servicesService.create({resource:[i]},{snackbarSuccess:"services.createSuccessMsg"}).toPromise();if(!r)throw new Error("No response received from service creation");a.currentServiceId=r.resource[0].id,a.snackbarService.openSnackBar("Service created","success"),a.showSecurityConfig=!0,setTimeout(()=>{a.stepper.selectedIndex=a.stepper.steps.length-1})}catch{a.snackbarService.openSnackBar("Error creating service","error")}})()}getServiceTypeLabel(a){const t=this.serviceTypes.find(o=>o.name===a);return t?t.label:a}onServiceTypeSelect(a){this.selectedServiceTypeLable=a||"Unknown. Unable to identify Service Type"}static{this.\u0275fac=function(t){return new(t||Ut)(e.rXU(j.nX),e.rXU(m.ok),e.rXU(q.Z1),e.rXU(q.j8),e.rXU(j.Ix),e.rXU(bn.f),e.rXU(ee.Qq),e.rXU(h.bZ),e.rXU(Ue.n),e.rXU(pe.L),e.rXU(ss.M),e.rXU(en.UG),e.rXU(tn.D),e.rXU(ds),e.rXU(ps))}}static{this.\u0275cmp=e.VBU({type:Ut,selectors:[["df-service-details"]],viewQuery:function(t,o){if(1&t&&(e.GBs(ms,5),e.GBs(_s,5),e.GBs(gs,5),e.GBs(fs,5)),2&t){let i;e.mGM(i=e.lsd())&&(o.stepper=i.first),e.mGM(i=e.lsd())&&(o.functionEditor=i.first),e.mGM(i=e.lsd())&&(o.headersEditor=i.first),e.mGM(i=e.lsd())&&(o.unsavedToolDialogTpl=i.first)}},standalone:!0,features:[e.aNF],decls:7,vars:4,consts:[[1,"details-section",3,"formGroup","ngSubmit"],[4,"ngIf","ngIfElse"],["notDatabaseEdit",""],[3,"serviceName",4,"ngIf"],["unsavedToolDialog",""],["linear",""],["stepper",""],["errorMessage","Service Type is required.",3,"editable"],["matStepLabel",""],[1,"details-section"],[1,"section-header"],["matSuffix","",1,"tool-tip-trigger",3,"icon","matTooltip"],["mat-button","","matStepperNext","","type","button",1,"cancel-btn",3,"disabled"],["appearance","outline",1,"dynamic-width"],["matInput","","placeholder","SQL, AWS, MongoDB, etc.",3,"ngModel","ngModelOptions","ngModelChange"],[1,"full-width"],[1,"grid-wrapper","grid-col-auto"],["class","radio-card",4,"ngFor","ngForOf","ngForTrackBy"],["subscriptSizing","dynamic","class","dynamic-width","appearance","outline",4,"ngIf"],["appearance","outline","subscriptSizing","dynamic","class","dynamic-width",4,"ngIf"],["appearance","outline","subscriptSizing","dynamic","class","full-width",4,"ngIf"],[1,"action-container"],["color","primary","formControlName","isActive",4,"ngIf"],["mat-button","","matStepperPrevious","","type","button",1,"cancel-btn"],[4,"ngIf"],["class","first-time-guidance",4,"ngIf"],["class","full-width action-bar",4,"ngIf"],["class","details-section",4,"ngIf"],["matStepperIcon","edit"],["matStepperIcon","done"],[1,"radio-card"],["formControlName","type","type","radio",3,"value","input"],[1,"card-content-wrapper"],[1,"check-icon"],[1,"card-content"],[1,"card-icon",3,"src","alt"],[1,"text-center"],["mat-button","",1,"unlock-btn",3,"click"],["subscriptSizing","dynamic","appearance","outline",1,"dynamic-width"],["matInput","","formControlName","name"],["appearance","outline","subscriptSizing","dynamic",1,"dynamic-width"],["matInput","","formControlName","label"],["appearance","outline","subscriptSizing","dynamic",1,"full-width"],["rows","1","matInput","","formControlName","description"],["color","primary","formControlName","isActive"],["formGroupName","config"],[4,"ngFor","ngForOf","ngForTrackBy"],["dynamic",""],[1,"full-width",3,"type","storageServiceId","storagePath","content","cache"],[3,"schema","formControl","dynamic-width","full-width",4,"ngIf"],["class","full-width",3,"schema","formControl",4,"ngIf"],[3,"schema","formControl"],[1,"full-width",3,"schema","formControl"],[1,"details-section","basic-fields-section"],["class","advanced-section",4,"ngIf"],[1,"advanced-section"],[3,"expanded"],[1,"first-time-guidance"],[1,"guidance-icon",3,"icon"],[1,"guidance-text"],[1,"full-width","action-bar"],["mat-flat-button","","type","button",1,"cancel-btn",3,"click"],[1,"button-group"],["mat-flat-button","","class","save-btn","color","primary","type","button",3,"disabled","click",4,"ngIf"],["mat-flat-button","","class","save-btn secondary-btn","type","button",3,"disabled","click",4,"ngIf"],["class","save-btn","mat-flat-button","","color","primary",4,"ngIf"],["mat-flat-button","","color","primary","type","button",1,"save-btn",3,"disabled","click"],["mat-flat-button","","type","button",1,"save-btn","secondary-btn",3,"disabled","click"],["mat-flat-button","","color","primary",1,"save-btn"],[3,"serviceName","serviceId","isDatabase","isFirstTimeUser","goBack"],[3,"ngSwitch"],[4,"ngSwitchCase"],["class","service-health-panel",3,"serviceId","serviceName","serviceGroup","deprecated",4,"ngIf"],["class","service-section",3,"eyebrow","title","description","summary",4,"ngIf"],["formControlName","type",3,"selectionChange"],[3,"value",4,"ngFor","ngForOf","ngForTrackBy"],["subscriptSizing","dynamic","appearance","outline","class","full-width",4,"ngIf"],["subscriptSizing","dynamic","class","full-width","appearance","outline",4,"ngIf"],["formControlName","isActive","color","primary",4,"ngIf"],[1,"service-health-panel",3,"serviceId","serviceName","serviceGroup","deprecated"],[1,"service-section",3,"eyebrow","title","description","summary"],[1,"service-overview-card",3,"serviceName","baseUrl","sampleTable","keys","createKey"],[3,"value"],["appearance","outline",1,"full-width"],["formControlName","storageServiceId","required",""],["subscriptSizing","dynamic","appearance","outline",1,"full-width"],["formControlName","isActive","color","primary"],["notDatabase",""],["type","button","mat-flat-button","",1,"save-btn",3,"click"],["class","curl-import-action full-width",4,"ngIf"],[1,"curl-import-action","full-width"],["mat-stroked-button","","type","button","color","primary","data-testid","open-curl-import",3,"click"],[3,"icon"],[1,"curl-import-action__hint"],["color","primary",3,"schema","formControl","dynamic-width","full-width",4,"ngIf"],["color","primary",3,"schema","formControl"],["aria-label","Service Definition Type",3,"ngModel","ngModelOptions","ngModelChange","change"],["value","0"],["value","1"],[1,"full-width",3,"type","content","contentText"],[1,"full-width",3,"formControl","mode"],[1,"full-width",3,"isScript","type","storageServiceId","storagePath","content","cache","hideScmActions"],["class","full-width",3,"selectedConnectionId","selectedRoleId","selectConnection","selectRole",4,"ngIf"],["class","full-width",3,"form",4,"ngIf"],["class","full-width",3,"form","serviceId",4,"ngIf"],["class","full-width",3,"roleId",4,"ngIf"],[1,"full-width",3,"selectedConnectionId","selectedRoleId","selectConnection","selectRole"],[1,"full-width",3,"form"],[1,"full-width",3,"form","serviceId"],[1,"actions","full-width"],["type","file",2,"display","none",3,"accept","change"],["fileInput",""],[1,"full-width",3,"roleId"],[1,"mcp-tools-container"],["multi",""],[1,"mcp-service-header"],["color","primary",3,"checked","change","click"],[1,"mcp-services-table","full-width"],[1,"toggle-col"],[3,"disabled-row",4,"ngFor","ngForOf","ngForTrackBy"],["color","primary",3,"checked","change"],["class","mcp-tools-container",4,"ngIf"],[3,"disabled-row",4,"ngFor","ngForOf"],["data-testid","merged-db-tools",4,"ngIf"],[3,"expanded",4,"ngFor","ngForOf","ngForTrackBy"],["data-testid","merged-db-tools"],[1,"custom-tools-container"],[1,"custom-tools-description"],["class","custom-tools-actions",4,"ngIf"],["class","custom-tool-form",3,"formGroup",4,"ngIf"],["class","mcp-services-table full-width",4,"ngIf"],["class","no-tools-message",4,"ngIf"],[1,"custom-tools-actions"],["mat-flat-button","","color","primary",3,"click"],[1,"btn-icon",3,"icon"],[1,"custom-tool-form",3,"formGroup"],["formControlName","toolType",1,"tool-type-toggle"],["value","api"],["value","function"],[1,"form-row"],["appearance","outline",1,"form-field-half"],["matInput","","formControlName","name","placeholder","my_tool_name"],["appearance","outline","class","form-field-quarter",4,"ngIf"],["appearance","outline","class","full-width",4,"ngIf"],["matInput","","formControlName","description","rows","2","placeholder","Describe what this tool does..."],[1,"parameters-section"],["mat-stroked-button","","color","primary","type","button",3,"click"],["class","parameter-cards","formArrayName","parameters",4,"ngIf"],["class","no-parameters-hint",4,"ngIf"],["class","scm-link-section",3,"formGroup",4,"ngIf"],["class","editor-section",4,"ngIf"],[1,"form-actions"],["mat-button","","type","button",3,"click"],["mat-flat-button","","color","primary","type","button",3,"disabled","click"],["appearance","outline",1,"form-field-quarter"],["formControlName","httpMethod"],["value","GET"],["value","POST"],["value","PUT"],["value","PATCH"],["value","DELETE"],["matInput","","formControlName","url","placeholder","https://api.example.com/endpoint/{id}"],["mat-icon-button","","matSuffix","","type","button","matTooltip","Insert Lookup",3,"matMenuTriggerFor","disabled"],["urlLookupMenu","matMenu"],["mat-menu-item","",3,"click",4,"ngFor","ngForOf","ngForTrackBy"],["mat-menu-item","",3,"click"],["formArrayName","parameters",1,"parameter-cards"],["class","parameter-card",3,"formGroupName",4,"ngFor","ngForOf"],[1,"parameter-card",3,"formGroupName"],[1,"parameter-card-header"],[1,"parameter-index"],["mat-icon-button","","color","warn","type","button","matTooltip","Remove parameter",1,"parameter-remove-btn",3,"click"],[1,"parameter-card-fields"],["appearance","outline",1,"param-field","param-field--name"],["matInput","","formControlName","name","placeholder","param_name"],["appearance","outline",1,"param-field","param-field--type"],["formControlName","type"],["value","string"],["value","number"],["value","integer"],["value","boolean"],["appearance","outline","class","param-field param-field--location",4,"ngIf"],[1,"param-field","param-field--required"],["formControlName","required"],["appearance","outline",1,"param-field","param-field--desc"],["matInput","","formControlName","description","placeholder","What this parameter does"],["appearance","outline",1,"param-field","param-field--location"],["formControlName","in"],["value","query"],["value","path"],["value","body"],["value","header"],[1,"no-parameters-hint"],[1,"scm-link-section",3,"formGroup"],["formControlName","storageServiceId"],["class","form-row",4,"ngIf"],["class","scm-actions",4,"ngIf"],["appearance","outline",1,"form-field-third"],["matInput","","formControlName","scmRepository","placeholder","my-repo"],["matInput","","formControlName","scmReference","placeholder","master"],["matInput","","formControlName","storagePath","placeholder","scripts/my-tool.js"],[1,"scm-actions"],["mat-flat-button","","color","primary","type","button",3,"click"],[1,"editor-section"],[1,"editor-label-row"],[1,"editor-label"],["mat-stroked-button","","type","button",3,"matMenuTriggerFor","disabled"],["fnLookupMenu","matMenu"],[1,"editor-wrapper"],["formControlName","function",3,"mode","valueChange"],["functionEditor",""],[1,"editor-hint"],["hdrLookupMenu","matMenu"],[1,"editor-wrapper","editor-wrapper--compact"],["formControlName","headers",3,"mode","valueChange"],["headersEditor",""],[1,"action-col"],[1,"url-cell"],[1,"action-buttons"],["mat-icon-button","","matTooltip","Edit tool",3,"disabled","click"],["mat-icon-button","","color","warn","matTooltip","Delete tool",3,"disabled","click"],[1,"no-tools-message"],[1,"service-section",3,"eyebrow","title","description"],[1,"service-section__hint"],[3,"serviceId","serviceName","serviceType"],[3,"serviceId","cellClick"],["mat-flat-button","","color","primary",1,"save-btn",3,"value","click"],[3,"serviceName"],["mat-dialog-title",""],["mat-dialog-content",""],["mat-dialog-actions","","align","end"],["mat-flat-button","","type","button",3,"click"],["mat-flat-button","","color","warn","type","button",3,"click"],["mat-flat-button","","color","primary","cdkFocusInitial","","type","button",3,"click"]],template:function(t,o){if(1&t&&(e.j41(0,"form",0),e.bIt("ngSubmit",function(){return o.save(!1,!1)}),e.DNE(1,ll,53,27,"ng-container",1),e.DNE(2,zd,23,23,"ng-template",null,2,e.C5r),e.k0s(),e.DNE(4,Bd,1,1,"df-paywall",3),e.DNE(5,Ld,11,0,"ng-template",null,4,e.C5r)),2&t){const i=e.sdS(3);e.Y8G("formGroup",o.serviceForm),e.R7$(1),e.Y8G("ngIf",o.isDatabase&&!o.edit)("ngIfElse",i),e.R7$(3),e.Y8G("ngIf",o.subscriptionRequired)}},dependencies:[O.RG,O.rl,O.nJ,O.MV,O.yw,$.fS,$.fg,D.Ve,D.VO,J.wT,d.pM,ce.mV,ce.sG,A.RI,fe.MY,fe.BS,fe.GK,fe.Z2,fe.WN,fe.Q6,R.Kj,m.X1,m.qT,m.me,m.Fm,m.BC,m.cb,m.YS,m.l_,m.j4,m.JD,m.$R,m.v8,m.YN,m.vS,d.bT,L.g7,L.So,qe,Ht.e,Ri,Ai,Qi,ma,va,Fa,mt,Qt.s,w.dX,w.aY,S.uc,S.oV,u.Hl,u.$z,u.iY,La.S,gt,Ja.C,Tr,un,Je,hn,wr,Dr,fn,d.MD,d.ux,d.e1,U.m_,U.An,Se.Vg,Se.ec,Se.pc,H.Wk,Te.Hu,Sr.w,Ba,ie.Cn,ie.kk,ie.fb,ie.Cp,h.hM,h.BI,h.Yi,h.E7,Vr,ac,gc,$c,xt],styles:[".grid-wrapper[_ngcontent-%COMP%]{display:flex;flex-wrap:wrap;gap:16px}.service-health-panel[_ngcontent-%COMP%]{display:block;margin-bottom:2.4rem}.service-section[_ngcontent-%COMP%]{margin-top:var(--df-space-5)}.service-section__hint[_ngcontent-%COMP%]{margin:0 0 1.6rem;max-width:68ch;color:var(--df-text-muted);font-size:1.3rem;line-height:1.5}.section-header[_ngcontent-%COMP%] h3[_ngcontent-%COMP%], .basic-fields-section[_ngcontent-%COMP%] .section-title[_ngcontent-%COMP%], .component-selection[_ngcontent-%COMP%] h3[_ngcontent-%COMP%], .security-config-container[_ngcontent-%COMP%] .access-level-section[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{margin:0 0 16px;font-size:1.5rem;font-weight:600;letter-spacing:-.01em;color:var(--df-text)}[_nghost-%COMP%] .mat-horizontal-stepper-header-container{border-bottom:1px solid var(--df-border-2);margin-bottom:8px}[_nghost-%COMP%] .mat-horizontal-stepper-header{height:48px}[_nghost-%COMP%] .mat-horizontal-stepper-header .mat-step-label{font-size:1.2rem;font-weight:600;letter-spacing:.02em;color:var(--df-text-muted)}[_nghost-%COMP%] .mat-horizontal-stepper-header .mat-step-label-selected{color:var(--df-text)}[_nghost-%COMP%] .mat-horizontal-stepper-header .mat-step-icon{height:22px;width:22px;font-size:1.1rem;background-color:var(--df-surface-2);color:var(--df-text-muted);border:1px solid var(--df-border)}[_nghost-%COMP%] .mat-horizontal-stepper-header .mat-step-icon .mat-icon{font-size:1.2rem;height:auto;width:auto;line-height:1}[_nghost-%COMP%] .mat-horizontal-stepper-header .mat-step-icon-selected, [_nghost-%COMP%] .mat-horizontal-stepper-header .mat-step-icon-state-edit{background-color:var(--df-accent)!important;color:var(--df-accent-contrast);border-color:transparent}[_nghost-%COMP%] .mat-stepper-horizontal-line{border-top-color:var(--df-border-2)}label.radio-card[_ngcontent-%COMP%]{cursor:pointer}label.radio-card[_ngcontent-%COMP%] .card-content-wrapper[_ngcontent-%COMP%]{background:var(--df-surface);border-radius:var(--df-radius-sm);max-width:200px;min-height:200px;padding:12px;display:grid;box-shadow:none;border:1px solid var(--df-border);background-size:contain;background-repeat:no-repeat;transition:border-color .15s ease}label.radio-card[_ngcontent-%COMP%] .card-content-wrapper.not-included[_ngcontent-%COMP%]{opacity:.5;cursor:default!important;pointer-events:none!important}label.radio-card[_ngcontent-%COMP%] .check-icon[_ngcontent-%COMP%]{width:20px;height:20px;display:inline-block;border:solid 2px var(--df-border);background-color:var(--df-surface-2);border-radius:50%;position:relative}label.radio-card[_ngcontent-%COMP%] .check-icon[_ngcontent-%COMP%]:before{content:\"\";position:absolute;inset:0;background-image:url(\"data:image/svg+xml,%3Csvg width='12' height='9' viewBox='0 0 12 9' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0.93552 4.58423C0.890286 4.53718 0.854262 4.48209 0.829309 4.42179C0.779553 4.28741 0.779553 4.13965 0.829309 4.00527C0.853759 3.94471 0.889842 3.88952 0.93552 3.84283L1.68941 3.12018C1.73378 3.06821 1.7893 3.02692 1.85185 2.99939C1.91206 2.97215 1.97736 2.95796 2.04345 2.95774C2.11507 2.95635 2.18613 2.97056 2.2517 2.99939C2.31652 3.02822 2.3752 3.06922 2.42456 3.12018L4.69872 5.39851L9.58026 0.516971C9.62828 0.466328 9.68554 0.42533 9.74895 0.396182C9.81468 0.367844 9.88563 0.353653 9.95721 0.354531C10.0244 0.354903 10.0907 0.369582 10.1517 0.397592C10.2128 0.425602 10.2672 0.466298 10.3112 0.516971L11.0651 1.25003C11.1108 1.29672 11.1469 1.35191 11.1713 1.41247C11.2211 1.54686 11.2211 1.69461 11.1713 1.82899C11.1464 1.88929 11.1104 1.94439 11.0651 1.99143L5.06525 7.96007C5.02054 8.0122 4.96514 8.0541 4.90281 8.08294C4.76944 8.13802 4.61967 8.13802 4.4863 8.08294C4.42397 8.0541 4.36857 8.0122 4.32386 7.96007L0.93552 4.58423Z' fill='white'/%3E%3C/svg%3E%0A\");background-repeat:no-repeat;background-size:12px;background-position:center center;transform:scale(1.6);opacity:0}label.radio-card[_ngcontent-%COMP%] input[type=radio][_ngcontent-%COMP%]{appearance:none;-webkit-appearance:none;-moz-appearance:none}label.radio-card[_ngcontent-%COMP%] input[type=radio][_ngcontent-%COMP%]:checked + .card-content-wrapper[_ngcontent-%COMP%]{border-color:var(--df-accent);box-shadow:0 0 0 1px var(--df-accent);opacity:1}label.radio-card[_ngcontent-%COMP%] input[type=radio][_ngcontent-%COMP%]:checked + .card-content-wrapper[_ngcontent-%COMP%] .check-icon[_ngcontent-%COMP%]{transform:scale(1.2);background-color:var(--df-accent);border-color:var(--df-accent)}label.radio-card[_ngcontent-%COMP%] input[type=radio][_ngcontent-%COMP%]:checked + .card-content-wrapper[_ngcontent-%COMP%] .check-icon[_ngcontent-%COMP%]:before{transform:scale(1);opacity:1}label.radio-card[_ngcontent-%COMP%] input[type=radio][_ngcontent-%COMP%]:focus + .card-content-wrapper[_ngcontent-%COMP%] .check-icon[_ngcontent-%COMP%]{box-shadow:0 0 0 4px var(--df-accent-soft);border-color:var(--df-accent)}label.radio-card[_ngcontent-%COMP%] .card-content[_ngcontent-%COMP%]{width:100%;text-align:center}label.radio-card[_ngcontent-%COMP%] .card-content[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{margin-bottom:10px;width:100%;height:110px}label.radio-card[_ngcontent-%COMP%] .card-content[_ngcontent-%COMP%] h4[_ngcontent-%COMP%]{color:var(--df-text)}.details-section[_ngcontent-%COMP%] .section-header[_ngcontent-%COMP%], .details-section[_ngcontent-%COMP%] .action-container[_ngcontent-%COMP%]{display:flex;justify-content:space-between;width:100%}mat-icon[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:center}.calendly-inline-widget[_ngcontent-%COMP%]{height:500px}.unlock-btn[_ngcontent-%COMP%]{position:relative;top:-95px;right:-55px;color:var(--df-danger)}.action-bar[_ngcontent-%COMP%]{display:flex;justify-content:flex-end}.action-bar[_ngcontent-%COMP%] .button-group[_ngcontent-%COMP%]{display:flex;gap:8px}.action-bar[_ngcontent-%COMP%] .secondary-btn[_ngcontent-%COMP%]{background-color:transparent!important;border:1px solid var(--df-accent)!important;color:var(--df-accent)!important} .mat-expansion-panel-header>.mat-expansion-indicator:after{color:unset!important} .mat-mdc-select-arrow{color:unset!important}.dark-theme[_nghost-%COMP%] label.radio-card[_ngcontent-%COMP%] .card-content-wrapper[_ngcontent-%COMP%], .dark-theme [_nghost-%COMP%] label.radio-card[_ngcontent-%COMP%] .card-content-wrapper[_ngcontent-%COMP%]{background:#000;border:1px solid #fff}.dark-theme[_nghost-%COMP%] label.radio-card[_ngcontent-%COMP%] .check-icon[_ngcontent-%COMP%], .dark-theme [_nghost-%COMP%] label.radio-card[_ngcontent-%COMP%] .check-icon[_ngcontent-%COMP%]{border:solid 2px #2d2d2d}.dark-theme[_nghost-%COMP%] label.radio-card[_ngcontent-%COMP%] .card-content[_ngcontent-%COMP%] h4[_ngcontent-%COMP%], .dark-theme [_nghost-%COMP%] label.radio-card[_ngcontent-%COMP%] .card-content[_ngcontent-%COMP%] h4[_ngcontent-%COMP%]{color:#fff}.dark-theme[_nghost-%COMP%] .details-section[_ngcontent-%COMP%] .mat-button-toggle-group button, .dark-theme [_nghost-%COMP%] .details-section[_ngcontent-%COMP%] .mat-button-toggle-group button{background:inherit!important}.dark-theme[_nghost-%COMP%] .details-section[_ngcontent-%COMP%] .mat-button-toggle-group button span, .dark-theme [_nghost-%COMP%] .details-section[_ngcontent-%COMP%] .mat-button-toggle-group button span{color:var(--df-text)!important}.security-config-container[_ngcontent-%COMP%]{padding:24px 0}.security-config-container[_ngcontent-%COMP%] .top-hint[_ngcontent-%COMP%]{margin-bottom:24px;padding:12px 16px;background:var(--df-accent-soft);border-radius:var(--df-radius-sm)}.security-config-container[_ngcontent-%COMP%] .top-hint[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{margin:0;font-size:1.35rem;color:var(--df-text)}.security-config-container[_ngcontent-%COMP%] .top-hint[_ngcontent-%COMP%] .role-link[_ngcontent-%COMP%]{color:var(--df-accent);text-decoration:none;font-weight:500;cursor:pointer}.security-config-container[_ngcontent-%COMP%] .top-hint[_ngcontent-%COMP%] .role-link[_ngcontent-%COMP%]:hover{text-decoration:underline}.security-config-container[_ngcontent-%COMP%] .security-cards-grid[_ngcontent-%COMP%]{display:grid;grid-template-columns:repeat(2,1fr);gap:16px;margin-bottom:32px}@media (max-width: 768px){.security-config-container[_ngcontent-%COMP%] .security-cards-grid[_ngcontent-%COMP%]{grid-template-columns:1fr}}.security-config-container[_ngcontent-%COMP%] .security-option-card[_ngcontent-%COMP%]{position:relative;cursor:pointer;transition:border-color .15s ease-in-out;border-radius:var(--df-radius);background:var(--df-surface);border:1px solid var(--df-border-2);box-shadow:none;overflow:hidden;height:100%;min-height:160px;display:flex;flex-direction:column}.security-config-container[_ngcontent-%COMP%] .security-option-card[_ngcontent-%COMP%]:hover{border-color:var(--df-accent)}.security-config-container[_ngcontent-%COMP%] .security-option-card[_ngcontent-%COMP%] mat-card-content[_ngcontent-%COMP%]{padding:24px;display:flex;flex-direction:column;align-items:center;text-align:center;gap:12px;height:100%;justify-content:center}.security-config-container[_ngcontent-%COMP%] .security-option-card[_ngcontent-%COMP%] h4[_ngcontent-%COMP%]{margin:0;font-size:1.6rem;font-weight:600;letter-spacing:-.01em;color:var(--df-text)}.security-config-container[_ngcontent-%COMP%] .security-option-card[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{margin:0;color:var(--df-text-muted);font-size:1.35rem;line-height:1.5}.security-config-container[_ngcontent-%COMP%] .security-option-card.selected[_ngcontent-%COMP%]{border-color:var(--df-accent);background-color:var(--df-accent-soft)}.security-config-container[_ngcontent-%COMP%] .component-selection[_ngcontent-%COMP%]{margin-top:32px}.security-config-container[_ngcontent-%COMP%] .component-selection[_ngcontent-%COMP%] .search-field[_ngcontent-%COMP%]{width:100%;max-width:400px;margin-bottom:24px}.security-config-container[_ngcontent-%COMP%] .component-selection[_ngcontent-%COMP%] .search-field[_ngcontent-%COMP%] .mat-mdc-form-field-wrapper[_ngcontent-%COMP%]{padding-bottom:0}.security-config-container[_ngcontent-%COMP%] .component-selection[_ngcontent-%COMP%] .components-grid[_ngcontent-%COMP%]{display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:12px;margin-bottom:24px}.security-config-container[_ngcontent-%COMP%] .component-selection[_ngcontent-%COMP%] .component-card[_ngcontent-%COMP%]{border:1px solid var(--df-border-2);border-radius:var(--df-radius-sm);transition:border-color .15s ease-in-out;cursor:pointer;box-shadow:none;background:var(--df-surface)}.security-config-container[_ngcontent-%COMP%] .component-selection[_ngcontent-%COMP%] .component-card[_ngcontent-%COMP%] mat-card-content[_ngcontent-%COMP%]{padding:16px;display:flex;align-items:center;gap:12px}.security-config-container[_ngcontent-%COMP%] .component-selection[_ngcontent-%COMP%] .component-card[_ngcontent-%COMP%] .checkbox-wrapper[_ngcontent-%COMP%]{margin-right:8px}.security-config-container[_ngcontent-%COMP%] .component-selection[_ngcontent-%COMP%] .component-card[_ngcontent-%COMP%]:hover{border-color:var(--df-accent)}.security-config-container[_ngcontent-%COMP%] .component-selection[_ngcontent-%COMP%] .component-card.selected[_ngcontent-%COMP%]{border-color:var(--df-accent);background-color:var(--df-accent-soft)}.security-config-container[_ngcontent-%COMP%] .component-selection[_ngcontent-%COMP%] .access-level-section[_ngcontent-%COMP%]{margin-top:32px;padding:24px;background:var(--df-surface);border-radius:var(--df-radius);border:1px solid var(--df-border-2)}.security-config-container[_ngcontent-%COMP%] .component-selection[_ngcontent-%COMP%] .access-level-section[_ngcontent-%COMP%] .hint-widget[_ngcontent-%COMP%]{margin:0 0 24px;padding:12px 16px;background:var(--df-accent-soft);border-radius:var(--df-radius-sm);display:flex;align-items:center;gap:12px}.security-config-container[_ngcontent-%COMP%] .component-selection[_ngcontent-%COMP%] .access-level-section[_ngcontent-%COMP%] .hint-widget[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{color:var(--df-accent);font-size:20px;width:20px;height:20px}.security-config-container[_ngcontent-%COMP%] .component-selection[_ngcontent-%COMP%] .access-level-section[_ngcontent-%COMP%] .hint-widget[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{margin:0;font-size:1.35rem;color:var(--df-text)}.security-config-container[_ngcontent-%COMP%] .component-selection[_ngcontent-%COMP%] .access-level-section[_ngcontent-%COMP%] .hint-widget[_ngcontent-%COMP%] .role-link[_ngcontent-%COMP%]{color:var(--df-accent);text-decoration:none;font-weight:500;cursor:pointer}.security-config-container[_ngcontent-%COMP%] .component-selection[_ngcontent-%COMP%] .access-level-section[_ngcontent-%COMP%] .hint-widget[_ngcontent-%COMP%] .role-link[_ngcontent-%COMP%]:hover{text-decoration:underline}.security-config-container[_ngcontent-%COMP%] .component-selection[_ngcontent-%COMP%] .access-level-section[_ngcontent-%COMP%] .access-level-controls[_ngcontent-%COMP%] mat-button-toggle-group[_ngcontent-%COMP%]{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;border:none;width:100%}@media (max-width: 768px){.security-config-container[_ngcontent-%COMP%] .component-selection[_ngcontent-%COMP%] .access-level-section[_ngcontent-%COMP%] .access-level-controls[_ngcontent-%COMP%] mat-button-toggle-group[_ngcontent-%COMP%]{grid-template-columns:1fr}}.security-config-container[_ngcontent-%COMP%] .component-selection[_ngcontent-%COMP%] .access-level-section[_ngcontent-%COMP%] .access-level-controls[_ngcontent-%COMP%] .mat-button-toggle[_ngcontent-%COMP%]{background:var(--df-surface);border:1px solid var(--df-border-2);border-radius:var(--df-radius-sm);height:auto;width:100%;transition:border-color .15s ease-in-out}.security-config-container[_ngcontent-%COMP%] .component-selection[_ngcontent-%COMP%] .access-level-section[_ngcontent-%COMP%] .access-level-controls[_ngcontent-%COMP%] .mat-button-toggle[_ngcontent-%COMP%]:hover{border-color:var(--df-accent)}.security-config-container[_ngcontent-%COMP%] .component-selection[_ngcontent-%COMP%] .access-level-section[_ngcontent-%COMP%] .access-level-controls[_ngcontent-%COMP%] .mat-button-toggle[_ngcontent-%COMP%] .toggle-content[_ngcontent-%COMP%]{padding:16px;text-align:center}.security-config-container[_ngcontent-%COMP%] .component-selection[_ngcontent-%COMP%] .access-level-section[_ngcontent-%COMP%] .access-level-controls[_ngcontent-%COMP%] .mat-button-toggle[_ngcontent-%COMP%] .toggle-content[_ngcontent-%COMP%] .toggle-text[_ngcontent-%COMP%] h4[_ngcontent-%COMP%]{margin:0;font-size:1.5rem;font-weight:600;letter-spacing:-.01em;color:var(--df-text)}.security-config-container[_ngcontent-%COMP%] .component-selection[_ngcontent-%COMP%] .access-level-section[_ngcontent-%COMP%] .access-level-controls[_ngcontent-%COMP%] .mat-button-toggle[_ngcontent-%COMP%] .toggle-content[_ngcontent-%COMP%] .toggle-text[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{margin:6px 0 0;font-size:1.3rem;color:var(--df-text-muted)}.security-config-container[_ngcontent-%COMP%] .component-selection[_ngcontent-%COMP%] .access-level-section[_ngcontent-%COMP%] .access-level-controls[_ngcontent-%COMP%] .mat-button-toggle.mat-button-toggle-checked[_ngcontent-%COMP%]{background:var(--df-accent-soft);border-color:var(--df-accent)}.security-config-container[_ngcontent-%COMP%] .component-selection[_ngcontent-%COMP%] .access-level-section[_ngcontent-%COMP%] .access-level-controls[_ngcontent-%COMP%] .mat-button-toggle.mat-button-toggle-checked[_ngcontent-%COMP%] .toggle-text[_ngcontent-%COMP%] h4[_ngcontent-%COMP%]{color:var(--df-accent)}.action-container[_ngcontent-%COMP%]{margin-top:24px;padding-top:16px;border-top:1px solid var(--df-border-2);display:flex;justify-content:space-between;align-items:center}.action-container[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{min-width:120px}.component-selection[_ngcontent-%COMP%] .hint-widget[_ngcontent-%COMP%]{margin:0 0 24px;padding:12px 16px;background:var(--df-accent-soft);border-radius:var(--df-radius-sm)}.component-selection[_ngcontent-%COMP%] .hint-widget[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{margin:0;font-size:1.35rem;color:var(--df-text)}.component-selection[_ngcontent-%COMP%] .hint-widget[_ngcontent-%COMP%] .role-link[_ngcontent-%COMP%]{color:var(--df-accent);text-decoration:none;font-weight:500;cursor:pointer}.component-selection[_ngcontent-%COMP%] .hint-widget[_ngcontent-%COMP%] .role-link[_ngcontent-%COMP%]:hover{text-decoration:underline}.mcp-tools-container[_ngcontent-%COMP%]{padding:12px 0}.mcp-tools-container[_ngcontent-%COMP%] code[_ngcontent-%COMP%]{font-size:1.2rem;padding:3px 8px;background:var(--df-accent-soft);color:var(--df-accent-strong);border-radius:4px;white-space:nowrap;font-weight:500}.mcp-service-header[_ngcontent-%COMP%]{display:flex;align-items:center;gap:12px}.toggle-col[_ngcontent-%COMP%]{width:60px}.disabled-row[_ngcontent-%COMP%]{opacity:.45;transition:opacity .2s ease}.disabled-row[_ngcontent-%COMP%]:hover{opacity:.65}.mcp-services-table[_ngcontent-%COMP%]{width:100%;border-collapse:collapse}.mcp-services-table[_ngcontent-%COMP%] th[_ngcontent-%COMP%], .mcp-services-table[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{text-align:left;padding:12px;border-bottom:1px solid var(--df-border-2)}.mcp-services-table[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{font-weight:600;color:var(--df-text-muted);font-size:11px;text-transform:uppercase;letter-spacing:.06em}.mcp-services-table[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{font-size:1.35rem}.mcp-services-table[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] tr[_ngcontent-%COMP%]{height:44px;transition:background-color .15s ease}.mcp-services-table[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] tr[_ngcontent-%COMP%]:hover{background-color:var(--df-hover)}.custom-tools-container[_ngcontent-%COMP%]{padding:12px 0}.custom-tools-container[_ngcontent-%COMP%] .custom-tools-description[_ngcontent-%COMP%]{color:var(--df-text-muted);font-size:1.35rem;line-height:1.6;margin-bottom:16px}.custom-tools-container[_ngcontent-%COMP%] .custom-tools-actions[_ngcontent-%COMP%]{margin-bottom:16px}.custom-tools-container[_ngcontent-%COMP%] .no-tools-message[_ngcontent-%COMP%]{color:var(--df-text-faint);font-style:italic;padding:24px 16px;text-align:center;border:1px dashed var(--df-border);border-radius:var(--df-radius-sm);background:var(--df-surface-2)}.custom-tools-container[_ngcontent-%COMP%] code[_ngcontent-%COMP%]{font-size:1.2rem;padding:3px 8px;background:var(--df-accent-soft);color:var(--df-accent-strong);border-radius:4px;white-space:nowrap;font-weight:500}.custom-tools-container[_ngcontent-%COMP%] .url-cell[_ngcontent-%COMP%]{max-width:300px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--df-text-muted);font-size:1.3rem}.tool-type-toggle[_ngcontent-%COMP%]{margin-bottom:16px}.tool-type-toggle[_ngcontent-%COMP%] .mat-button-toggle[_ngcontent-%COMP%]{min-width:110px}.custom-tool-form[_ngcontent-%COMP%]{background:var(--df-surface-2);border:1px solid var(--df-border-2);border-radius:var(--df-radius);padding:20px;margin-bottom:16px}.custom-tool-form[_ngcontent-%COMP%] h4[_ngcontent-%COMP%]{margin:0 0 16px;font-weight:600;font-size:1.5rem;letter-spacing:-.01em;color:var(--df-text)}.custom-tool-form[_ngcontent-%COMP%] .form-row[_ngcontent-%COMP%]{display:flex;gap:16px;align-items:flex-start}.custom-tool-form[_ngcontent-%COMP%] .form-field-half[_ngcontent-%COMP%]{flex:1}.custom-tool-form[_ngcontent-%COMP%] .form-field-quarter[_ngcontent-%COMP%]{width:160px;flex-shrink:0}.custom-tool-form[_ngcontent-%COMP%] .form-field-third[_ngcontent-%COMP%]{flex:1;min-width:0}.custom-tool-form[_ngcontent-%COMP%] .scm-link-section[_ngcontent-%COMP%]{margin-bottom:16px}.custom-tool-form[_ngcontent-%COMP%] .scm-actions[_ngcontent-%COMP%]{margin-top:8px;margin-bottom:8px}.custom-tool-form[_ngcontent-%COMP%] .parameters-section[_ngcontent-%COMP%]{margin:20px 0}.custom-tool-form[_ngcontent-%COMP%] .parameters-section[_ngcontent-%COMP%] .section-header[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:space-between;margin-bottom:12px}.custom-tool-form[_ngcontent-%COMP%] .parameters-section[_ngcontent-%COMP%] .section-header[_ngcontent-%COMP%] h5[_ngcontent-%COMP%]{margin:0;font-weight:600;font-size:11px;text-transform:uppercase;letter-spacing:.06em;color:var(--df-text-muted)}.custom-tool-form[_ngcontent-%COMP%] .parameters-section[_ngcontent-%COMP%] .parameter-cards[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:12px}.custom-tool-form[_ngcontent-%COMP%] .parameters-section[_ngcontent-%COMP%] .parameter-card[_ngcontent-%COMP%]{background:var(--df-surface);border:1px solid var(--df-border-2);border-radius:var(--df-radius);padding:16px 20px 8px;transition:border-color .2s ease,box-shadow .2s ease}.custom-tool-form[_ngcontent-%COMP%] .parameters-section[_ngcontent-%COMP%] .parameter-card[_ngcontent-%COMP%]:hover{border-color:var(--df-border)}.custom-tool-form[_ngcontent-%COMP%] .parameters-section[_ngcontent-%COMP%] .parameter-card[_ngcontent-%COMP%]:focus-within{border-color:var(--df-accent);box-shadow:0 0 0 2px var(--df-accent-soft)}.custom-tool-form[_ngcontent-%COMP%] .parameters-section[_ngcontent-%COMP%] .parameter-card-header[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:space-between;margin-bottom:8px}.custom-tool-form[_ngcontent-%COMP%] .parameters-section[_ngcontent-%COMP%] .parameter-card-header[_ngcontent-%COMP%] .parameter-index[_ngcontent-%COMP%]{font-size:1.2rem;font-weight:600;color:var(--df-accent-strong);background:var(--df-accent-soft);padding:2px 8px;border-radius:var(--df-radius-sm);letter-spacing:.03em}.custom-tool-form[_ngcontent-%COMP%] .parameters-section[_ngcontent-%COMP%] .parameter-card-header[_ngcontent-%COMP%] .parameter-remove-btn[_ngcontent-%COMP%]{opacity:.4;transition:opacity .15s ease;transform:scale(.85)}.custom-tool-form[_ngcontent-%COMP%] .parameters-section[_ngcontent-%COMP%] .parameter-card-header[_ngcontent-%COMP%] .parameter-remove-btn[_ngcontent-%COMP%]:hover{opacity:1}.custom-tool-form[_ngcontent-%COMP%] .parameters-section[_ngcontent-%COMP%] .parameter-card-fields[_ngcontent-%COMP%]{display:grid;grid-template-columns:1fr 120px 120px auto;gap:12px;align-items:start}.custom-tool-form[_ngcontent-%COMP%] .parameters-section[_ngcontent-%COMP%] .parameter-card-fields[_ngcontent-%COMP%] .param-field[_ngcontent-%COMP%]{min-width:0}.custom-tool-form[_ngcontent-%COMP%] .parameters-section[_ngcontent-%COMP%] .parameter-card-fields[_ngcontent-%COMP%] .param-field--name[_ngcontent-%COMP%]{grid-column:1}.custom-tool-form[_ngcontent-%COMP%] .parameters-section[_ngcontent-%COMP%] .parameter-card-fields[_ngcontent-%COMP%] .param-field--type[_ngcontent-%COMP%]{grid-column:2}.custom-tool-form[_ngcontent-%COMP%] .parameters-section[_ngcontent-%COMP%] .parameter-card-fields[_ngcontent-%COMP%] .param-field--location[_ngcontent-%COMP%]{grid-column:3}.custom-tool-form[_ngcontent-%COMP%] .parameters-section[_ngcontent-%COMP%] .parameter-card-fields[_ngcontent-%COMP%] .param-field--required[_ngcontent-%COMP%]{grid-column:4;padding-top:12px;white-space:nowrap}.custom-tool-form[_ngcontent-%COMP%] .parameters-section[_ngcontent-%COMP%] .parameter-card-fields[_ngcontent-%COMP%] .param-field--desc[_ngcontent-%COMP%]{grid-column:1/-1}.custom-tool-form[_ngcontent-%COMP%] .parameters-section[_ngcontent-%COMP%] .no-parameters-hint[_ngcontent-%COMP%]{color:var(--df-text-faint);font-size:1.3rem;text-align:center;padding:20px 16px;margin:0;border:1px dashed var(--df-border);border-radius:var(--df-radius-sm)}.custom-tool-form[_ngcontent-%COMP%] .inline-input[_ngcontent-%COMP%]{width:100%;padding:6px 10px;border:1px solid var(--df-border);border-radius:var(--df-radius-sm);font-size:1.3rem;background:var(--df-surface);color:var(--df-text);transition:border-color .2s ease,box-shadow .2s ease}.custom-tool-form[_ngcontent-%COMP%] .inline-input[_ngcontent-%COMP%]:focus{outline:none;border-color:var(--df-accent);box-shadow:0 0 0 2px var(--df-accent-soft)}.custom-tool-form[_ngcontent-%COMP%] .inline-input[_ngcontent-%COMP%]::placeholder{color:var(--df-text-faint)}.custom-tool-form[_ngcontent-%COMP%] .inline-select[_ngcontent-%COMP%]{padding:6px 10px;border:1px solid var(--df-border);border-radius:var(--df-radius-sm);font-size:1.3rem;background:var(--df-surface);color:var(--df-text);cursor:pointer;transition:border-color .2s ease,box-shadow .2s ease}.custom-tool-form[_ngcontent-%COMP%] .inline-select[_ngcontent-%COMP%]:focus{outline:none;border-color:var(--df-accent);box-shadow:0 0 0 2px var(--df-accent-soft)}.custom-tool-form[_ngcontent-%COMP%] .editor-section[_ngcontent-%COMP%]{margin-bottom:16px}.custom-tool-form[_ngcontent-%COMP%] .editor-section[_ngcontent-%COMP%] .editor-label[_ngcontent-%COMP%]{display:block;font-size:1.3rem;font-weight:500;color:var(--df-text-muted);margin-bottom:8px}.custom-tool-form[_ngcontent-%COMP%] .editor-section[_ngcontent-%COMP%] .editor-label-row[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:space-between;margin-bottom:4px}.custom-tool-form[_ngcontent-%COMP%] .editor-section[_ngcontent-%COMP%] .editor-label-row[_ngcontent-%COMP%] .editor-label[_ngcontent-%COMP%]{margin-bottom:0}.custom-tool-form[_ngcontent-%COMP%] .editor-section[_ngcontent-%COMP%] .editor-wrapper[_ngcontent-%COMP%]{border:1px solid var(--df-border);border-radius:var(--df-radius-sm);overflow:hidden;transition:border-color .2s ease,box-shadow .2s ease}.custom-tool-form[_ngcontent-%COMP%] .editor-section[_ngcontent-%COMP%] .editor-wrapper[_ngcontent-%COMP%]:focus-within{border-color:var(--df-accent);box-shadow:0 0 0 2px var(--df-accent-soft)}.custom-tool-form[_ngcontent-%COMP%] .editor-section[_ngcontent-%COMP%] .editor-wrapper[_ngcontent-%COMP%] df-ace-editor[_ngcontent-%COMP%]{display:block;min-height:200px}.custom-tool-form[_ngcontent-%COMP%] .editor-section[_ngcontent-%COMP%] .editor-wrapper[_ngcontent-%COMP%] df-ace-editor[_ngcontent-%COMP%] .editor{min-height:200px;border-radius:var(--df-radius-sm)}.custom-tool-form[_ngcontent-%COMP%] .editor-section[_ngcontent-%COMP%] .editor-wrapper--compact[_ngcontent-%COMP%] df-ace-editor[_ngcontent-%COMP%]{min-height:100px}.custom-tool-form[_ngcontent-%COMP%] .editor-section[_ngcontent-%COMP%] .editor-wrapper--compact[_ngcontent-%COMP%] df-ace-editor[_ngcontent-%COMP%] .editor{min-height:100px}.custom-tool-form[_ngcontent-%COMP%] .editor-section[_ngcontent-%COMP%] .editor-hint[_ngcontent-%COMP%]{display:block;font-size:1.2rem;color:var(--df-text-faint);margin-top:6px;padding-left:2px}.custom-tool-form[_ngcontent-%COMP%] .form-actions[_ngcontent-%COMP%]{display:flex;justify-content:flex-end;gap:12px;margin-top:24px;padding-top:16px;border-top:1px solid var(--df-border-2)}.btn-icon[_ngcontent-%COMP%]{margin-right:6px}.action-col[_ngcontent-%COMP%]{width:100px;white-space:nowrap;text-align:right;padding-right:4px!important}.action-col[_ngcontent-%COMP%] .action-buttons[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:flex-end;gap:2px}.action-col[_ngcontent-%COMP%] .action-buttons[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{opacity:.6;transition:opacity .15s ease}.action-col[_ngcontent-%COMP%] .action-buttons[_ngcontent-%COMP%] button[_ngcontent-%COMP%]:hover{opacity:1}.basic-fields-section[_ngcontent-%COMP%]{margin-bottom:24px}.advanced-section[_ngcontent-%COMP%]{margin-top:24px;margin-bottom:24px}.first-time-guidance[_ngcontent-%COMP%]{display:flex;align-items:center;gap:12px;padding:12px 16px;margin:16px 0;background:var(--df-accent-soft);border-radius:var(--df-radius-sm);border-left:3px solid var(--df-accent)}.first-time-guidance[_ngcontent-%COMP%] .guidance-icon[_ngcontent-%COMP%]{color:var(--df-accent);font-size:18px;flex-shrink:0}.first-time-guidance[_ngcontent-%COMP%] .guidance-text[_ngcontent-%COMP%]{margin:0;color:var(--df-text-2);font-size:1.35rem;line-height:1.5;flex:1}.service-overview-card[_ngcontent-%COMP%]{display:block;margin-bottom:var(--df-space-5)}.curl-import-action[_ngcontent-%COMP%]{display:flex;align-items:center;gap:.75rem;flex-wrap:wrap;margin-bottom:1rem}.curl-import-action[_ngcontent-%COMP%] fa-icon[_ngcontent-%COMP%]{margin-right:.5rem}.curl-import-action__hint[_ngcontent-%COMP%]{font-size:.85rem;opacity:.7}"]})}};Ot=yt=(0,ae.Cg)([(0,W.d)({checkProperties:!0})],Ot);var Ud=g(51407);const Cn=[{key:"read",label:"Read data",warn:null,verbs:[{verb:"get_table_data",title:"Get Table Data",description:"Retrieve records from a table with filtering and paging"},{verb:"aggregate_data",title:"Aggregate Data",description:"Compute server-side aggregations (SUM, COUNT, AVG, MIN, MAX)"}]},{key:"schema",label:"Explore schema",warn:null,verbs:[{verb:"get_tables",title:"Get Tables",description:"List tables available in the database"},{verb:"get_table_schema",title:"Get Table Schema",description:"Retrieve schema definition for a table"},{verb:"get_table_fields",title:"Get Table Fields",description:"Retrieve field definitions for a table"},{verb:"get_table_relationships",title:"Get Table Relationships",description:"Retrieve relationships definition for a table"},{verb:"get_database_resources",title:"List Database Resources",description:"Get all resources available in the database service"},{verb:"get_api_spec",title:"Get API Spec",description:"Get the OpenAPI specification for this database service"},{verb:"get_data_model",title:"Get Data Model",description:"Get a condensed data model showing all tables and columns"}]},{key:"write",label:"Write data",warn:"writes",verbs:[{verb:"create_records",title:"Create Records",description:"Insert records into a table"},{verb:"update_records",title:"Update Records",description:"Update (patch) records in a table"},{verb:"delete_records",title:"Delete Records",description:"Delete records from a table"}]},{key:"procs",label:"Procedures & functions",warn:"executes",verbs:[{verb:"get_stored_procedures",title:"List Stored Procedures",description:"Get stored procedures available in the database"},{verb:"call_stored_procedure",title:"Call Stored Procedure",description:"Call a stored procedure"},{verb:"get_stored_functions",title:"List Stored Functions",description:"Get stored functions available in the database"},{verb:"call_stored_function",title:"Call Stored Function",description:"Call a stored function"}]}],kn=[{key:"fread",label:"Read files",warn:null,verbs:[{verb:"list_files",title:"List Files",description:"List files and folders in a path"},{verb:"get_file",title:"Get File",description:"Read the contents of a file"},{verb:"get_file_properties",title:"Get File Properties",description:"Get properties/metadata of a file or folder"}]},{key:"fwrite",label:"Write files",warn:"writes",verbs:[{verb:"create_file",title:"Create File",description:"Create or overwrite a file"},{verb:"create_folder",title:"Create Folder",description:"Create a new folder"},{verb:"delete_file",title:"Delete File or Folder",description:"Delete a file or folder"}]}],ye=[{verb:"discover_services",title:"Discover Services",description:"List the services and operations the calling role can access"},{verb:"request_access",title:"Request Access",description:"Explain how to request wider access"},{verb:"list_apis",title:"List Available APIs",description:"List all available database APIs and their tool prefixes"},{verb:"search",title:"Search",description:"Search records across the exposed services"},{verb:"fetch",title:"Fetch",description:"Fetch one record by id"}],Pt=[{verb:"all_get_tables",title:"Get Tables from All Databases",description:"Retrieve tables from all connected database services in one call"},{verb:"all_find_table",title:"Find Table Across Databases",description:"Search for a table by name across all connected databases"},{verb:"all_get_stored_procedures",title:"Get Stored Procedures from All",description:"Retrieve stored procedures from all connected databases"},{verb:"all_get_stored_functions",title:"Get Stored Functions from All",description:"Retrieve stored functions from all connected databases"},{verb:"all_get_resources",title:"Get Resources from All",description:"Retrieve all available resources from all connected databases"},{verb:"all_list_files",title:"List Files from All Storage",description:"List files from all connected file storage services"}];function Ve(n,a){return Pt.filter(t=>"all_list_files"===t.verb?a>=2:n>=2)}const Me=[{verb:"search_tools",title:"Search Tools",description:"Find tools by capability"},{verb:"describe_tool",title:"Describe Tool",description:"Get one tool\u2019s full schema"},{verb:"call_tool",title:"Call Tool",description:"Invoke a tool by name"},{verb:"fetch_more",title:"Fetch More",description:"Page through a long result"},{verb:"list_tools",title:"List Tools",description:"Page through the full catalog"}];function qd(n,a){return"Database"===n?"db":"local_file"===a||"File"===n?"file":null}function Oe(n){return"db"===n?Cn:kn}function G(n){return Oe(n).flatMap(a=>a.verbs)}const We=new Set(["write","procs","fwrite"]),Qe=new Set(["create_records","update_records","delete_records","call_stored_procedure","call_stored_function","create_file","create_folder","delete_file"]),Ze=32768,yn=540;function Ft(n){return"on"===n||"always"===n||!0===n?"on":"off"===n||"never"===n||!1===n?"off":"auto"}const Jd=["exposed_services","exposedServices","disabled_tools","disabledTools","tool_style","toolStyle","lazy_mode","lazyMode","allow_api_key_auth","allowApiKeyAuth","allow_writes","allowWrites","require_role_access","requireRoleAccess","oauth_client_id","oauthClientId","oauth_client_secret","oauthClientSecret","custom_login_url","customLoginUrl","auto_oauth_service","autoOauthService","redirect_uris","redirectUris","registered_redirect_uris","registeredRedirectUris","custom_tools","customTools"];function te(n,a,t){return void 0!==n[a]?n[a]:n[t]}function wt(n){const a=n??{},t=te(a,"exposed_services","exposedServices"),o=te(a,"disabled_tools","disabledTools"),i=te(a,"tool_style","toolStyle"),r=te(a,"redirect_uris","redirectUris"),c=te(a,"registered_redirect_uris","registeredRedirectUris"),s={};for(const l of Object.keys(a))Jd.includes(l)||(s[l]=a[l]);return{exposedServices:Array.isArray(t)?[...t]:[],disabledTools:new Set(Array.isArray(o)?o:[]),toolStyle:"merged"===i?"merged":"prefixed"===i?"prefixed":null,lazyMode:Ft(te(a,"lazy_mode","lazyMode")),allowApiKeyAuth:!!te(a,"allow_api_key_auth","allowApiKeyAuth"),allowWrites:!1!==te(a,"allow_writes","allowWrites"),requireRoleAccess:!!te(a,"require_role_access","requireRoleAccess"),oauthClientId:te(a,"oauth_client_id","oauthClientId")??"",oauthClientSecret:te(a,"oauth_client_secret","oauthClientSecret")??"",customLoginUrl:te(a,"custom_login_url","customLoginUrl")??"",autoOauthService:te(a,"auto_oauth_service","autoOauthService")??null,redirectUris:Array.isArray(r)?[...r]:[],registeredRedirectUris:Array.isArray(c)?[...c]:[],customTools:te(a,"custom_tools","customTools")??[],rest:s}}function Mn(n,a="mcp"){const t={...n.rest,exposedServices:[...n.exposedServices],disabledTools:[...n.disabledTools].sort(),toolStyle:n.toolStyle,lazyMode:Ft(n.lazyMode),allowApiKeyAuth:n.allowApiKeyAuth,allowWrites:!1!==n.allowWrites,requireRoleAccess:!!n.requireRoleAccess,oauthClientId:n.oauthClientId,oauthClientSecret:n.oauthClientSecret,customLoginUrl:n.customLoginUrl||null,autoOauthService:n.autoOauthService,redirectUris:[...n.redirectUris],registeredRedirectUris:[...n.registeredRedirectUris??[]]};return"mcp"===a&&(t.customTools=(n.customTools??[]).map(o=>({id:o.id,toolType:o.toolType||"api",name:o.name,description:o.description,httpMethod:o.httpMethod,url:o.url,parameters:o.parameters,headers:o.headers,function:o.function||"",enabled:o.enabled,storageServiceId:o.storageServiceId||null,scmRepository:o.scmRepository||"",scmReference:o.scmReference||"",storagePath:o.storagePath||""}))),t}function On(n,a){const t=[];for(const o of n){const i=qd(a[o.type]??"",o.type);i&&t.push({id:o.id,name:o.name,label:o.label||o.name,kind:i,active:o.isActive??o.is_active??!0})}return t}function ne(n,a){return`${n}_${a}`}function Pn(n,a){const t=G(n.kind);return{on:t.filter(o=>!a.has(ne(n.name,o.verb))).length,total:t.length}}function et(n,a,t){const o=a.verbs.filter(i=>!t.has(ne(n.name,i.verb))).length;return 0===o?"off":o===a.verbs.length?"on":"part"}function Dt(n,a){const t=Pn(n,a);if(0===t.on)return{kind:"zero",label:`0 of ${t.total}`};if(t.on===t.total)return{kind:"full",label:"Full"};const o=Oe(n.kind),i=o.filter(c=>We.has(c.key)).every(c=>"off"===et(n,c,a)),r=o.filter(c=>!We.has(c.key)).every(c=>"on"===et(n,c,a));return i&&r?{kind:"ro",label:"Read-only"}:{kind:"custom",label:`Custom ${t.on} of ${t.total}`}}function Tt(n){return Oe(n.kind).filter(a=>We.has(a.key)).flatMap(a=>a.verbs.map(t=>ne(n.name,t.verb)))}function St(n){return G(n.kind).map(a=>ne(n.name,a.verb))}function re(n,a,t){return!(!1===n.allowWrites&&Qe.has(t)||n.disabledTools.has(ne(a,t)))}function Rt(n,a){return function Kd(n){return!!n&&!1!==n.enabled&&0!==n.enabled}(a)&&(!1!==n.allowWrites||!tt(a))}function tt(n){return!!n&&("function"===(n.toolType||"api")||"GET"!==String(n.httpMethod??"GET").toUpperCase())}const Fn=new Set(G("db").map(n=>n.verb)),wn=new Set(G("file").map(n=>n.verb));function Xe(n,a,t){const o=a+"_";if(!n.startsWith(o))return!1;const i=n.slice(o.length);return"db"===t?Fn.has(i):"file"===t?wn.has(i):Fn.has(i)||wn.has(i)}function Dn(n,a){return n.exposedServices.map(t=>({name:t,svc:a.find(o=>o.name===t)??null}))}function It(n,a,t){return Dn(n,a).map(o=>o.svc).filter(o=>!!o&&o.active&&(!t||o.kind===t))}function ze(n,a){const t="merged"===n.toolStyle?"merged":"prefixed",o=It(n,a,"db"),i=It(n,a,"file"),r=n.disabledTools,c=V=>G(V.kind).filter(Z=>re(n,V.name,Z.verb)).length;let s=0;if(o.length)if("merged"===t)for(const V of G("db"))o.some(Z=>re(n,Z.name,V.verb))&&s++;else s=o.reduce((V,Z)=>V+c(Z),0);let l=0;if(i.length)if("merged"===t)for(const V of G("file"))i.some(Z=>re(n,Z.name,V.verb))&&l++;else l=i.reduce((V,Z)=>V+c(Z),0);const p=ye.filter(V=>!r.has(V.verb)).length,f=Ve(o.length,i.length).filter(V=>!r.has(V.verb)).length,M=(n.customTools??[]).filter(V=>Rt(n,V)),v=M.length,x=M.filter(tt).length,F=new Set,T=new Set;let z=0,_=0,C=0,k=0;for(const V of!1===n.allowWrites?[]:[...o,...i]){const Z=Oe(V.kind).filter(ge=>We.has(ge.key)).flatMap(ge=>ge.verbs).filter(ge=>re(n,V.name,ge.verb));Z.length&&(C++,"db"===V.kind?(k++,z+=Z.length,Z.forEach(ge=>F.add(ge.verb))):(_+=Z.length,Z.forEach(ge=>T.add(ge.verb))))}const Ge=("merged"===t?F.size:z)+("merged"===t?T.size:_)+x,be=s+l+p+f+v,Hn=Tn(be,n.lazyMode);return{total:be,dbTools:s,dbServices:o.length,fileTools:l,fileServices:i.length,globalTools:p,aggregators:f,customTools:v,writeVerbs:Ge,writeCapableCustoms:x,writeReach:C,writeReachDb:k,readOnly:0===Ge,tokenEstimate:Hn.tokens,lazyEngaged:Hn.lazy,effectiveStyle:t}}function Et(n,a,t){const o=It(a,t,"db");return{on:o.filter(i=>re(a,i.name,n)).map(i=>i.name),total:o.length}}function $t(n,a,t){return"merged"===n?t:ne(a,t)}function Tn(n,a,t=yn){const o=n*t,i=Me.length*t,r="on"===a||"auto"===a&&o>Ze;return{count:n,bytes:o,facadeBytes:i,lazy:r,tokens:Sn(r,o,i),source:"estimate"}}function Sn(n,a,t){return Math.round((n?t:a)/4)}function Rn(n){return n>=1e3?`~${(n/1e3).toFixed(1)}k`:`~${n}`}function de(n){return`${(n/1024).toFixed(n<10240?1:0)} KB`}function Gt(n){return{...n,exposedServices:[...n.exposedServices],disabledTools:new Set(n.disabledTools),redirectUris:[...n.redirectUris],customTools:(n.customTools??[]).map(a=>({...a})),rest:{...n.rest}}}function In(n){return JSON.stringify({e:[...n.exposedServices],d:[...n.disabledTools].sort(),s:n.toolStyle,l:n.lazyMode,k:n.allowApiKeyAuth,w:n.allowWrites,rr:n.requireRoleAccess,ci:n.oauthClientId,cs:n.oauthClientSecret,lu:n.customLoginUrl,ao:n.autoOauthService,r:[...n.redirectUris],ct:n.customTools})}class En{constructor(){this.draftName="",this.draftLabel="",this.draftDescription="",this.draftIsActive=!0,this._version=0,this.memoVersion=-1,this.memo={},this._backendServices=[],this.backendLoaded=!1,this.created=!1,this.checklistDismissed=!1,this.copiedUrl=!1,this.copiedClient=!1,this.reconnectBanner=!1,this.createdApiKey=null,this.changes=new xe.B,this.health=null,this.healthChecked=!1,this.serverCatalog=null,this.previewIdentity={},this.reloadServerCatalog=()=>{}}get version(){return this._version}memoFor(){return this.memoVersion!==this._version&&(this.memo={},this.memoVersion=this._version),this.memo}get backendServices(){return this._backendServices}set backendServices(a){this._backendServices=a,this.touch()}setPreviewIdentity(a){this.previewIdentity={...a},this.serverCatalog=null,this.touch(),this.reloadServerCatalog()}setServerCatalog(a){this.serverCatalog=a,this.touch()}init(a,t){this.service=a,this.cfg=wt(t),this.savedCfg=Gt(this.cfg),this.draftName=a.name,this.draftLabel=a.label,this.draftDescription=a.description,this.draftIsActive=a.isActive,this.created=!1,this.checklistDismissed=!1,this.copiedUrl=!1,this.copiedClient=!1,this.reconnectBanner=!1,this.createdApiKey=null,this.touch()}get isSystemMcp(){return"system_mcp"===this.service?.type}touch(){this._version++,this.changes.next()}dirty(){return In(this.cfg)!==In(this.savedCfg)||this.draftName!==this.service.name||this.draftLabel!==this.service.label||this.draftDescription!==this.service.description||this.draftIsActive!==this.service.isActive}connectionAffecting(){return this.draftName!==this.service.name||this.cfg.allowApiKeyAuth!==this.savedCfg.allowApiKeyAuth||this.cfg.allowWrites!==this.savedCfg.allowWrites||this.cfg.toolStyle!==this.savedCfg.toolStyle||this.cfg.oauthClientSecret!==this.savedCfg.oauthClientSecret||JSON.stringify(this.cfg.redirectUris)!==JSON.stringify(this.savedCfg.redirectUris)}markSaved(){this.savedCfg=Gt(this.cfg),this.service.name=this.draftName,this.service.label=this.draftLabel,this.service.description=this.draftDescription,this.service.isActive=this.draftIsActive,this.touch()}discard(){this.cfg=Gt(this.savedCfg),this.draftName=this.service.name,this.draftLabel=this.service.label,this.draftDescription=this.service.description,this.draftIsActive=this.service.isActive,this.touch()}effective(){const a=this.memoFor();return a.effective??=ze(this.cfg,this.backendServices)}savedEffective(){const a=this.memoFor();return a.savedEffective??=ze(this.savedCfg,this.backendServices)}totalTools(){const a=this.memoFor();return a.totalTools??=this.isSystemMcp?oe.filter(t=>!this.cfg.disabledTools.has(t.name)).length:this.effective().total}savedTotalTools(){const a=this.memoFor();return a.savedTotalTools??=this.isSystemMcp?oe.filter(t=>!this.savedCfg.disabledTools.has(t.name)).length:this.savedEffective().total}catalogStats(){const a=this.memoFor();return a.catalogStats??=function Qd(n,a,t,o){const i=t?.count&&t.bytes?Math.round(t.bytes/t.count):yn,r=Tn(n,a,i);if(!t||o)return r;if(null===t.count)return{...r,facadeBytes:t.bytes,lazy:!0,tokens:Math.round(t.bytes/4),source:"server"};const c=Me.length*i;return{count:t.count,bytes:t.bytes,facadeBytes:c,lazy:t.lazy,tokens:Sn(t.lazy,t.bytes,c),source:"server"}}(this.totalTools(),this.cfg.lazyMode,this.serverCatalog,this.dirty())}rows(){const a=this.memoFor();return a.rows??=Dn(this.cfg,this.backendServices)}fraction(a){return Pn(a,this.cfg.disabledTools)}access(a){return Dt(a,this.cfg.disabledTools)}orphans(){const a=this.memoFor();return a.orphans??=function Hd(n,a,t=[]){const o=new Set([...ye.map(s=>s.verb),...Pt.map(s=>s.verb),...(n.customTools??[]).map(s=>s?.name).filter(Boolean),...t]),i=new Set(a.map(s=>s.name)),r=n.exposedServices.filter(s=>!i.has(s));return[...n.disabledTools].filter(s=>!(s=>o.has(s)||a.some(l=>Xe(s,l.name,l.kind))||r.some(l=>Xe(s,l)))(s))}(this.cfg,this.backendServices,this.isSystemMcp?oe.map(t=>t.name):[])}kindOf(a){return this._backendServices.find(t=>t.name===a)?.kind}isToolEnabled(a,t){return!this.cfg.disabledTools.has(ne(a,t))}setTool(a,t,o){const i=ne(a,t);o?this.cfg.disabledTools.delete(i):this.cfg.disabledTools.add(i),this.touch()}isBareToolEnabled(a){return!this.cfg.disabledTools.has(a)}setBareTool(a,t){t?this.cfg.disabledTools.delete(a):this.cfg.disabledTools.add(a),this.touch()}setServiceFull(a){St(a).forEach(t=>this.cfg.disabledTools.delete(t)),this.touch()}setServiceReadOnly(a){St(a).forEach(t=>this.cfg.disabledTools.delete(t)),Tt(a).forEach(t=>this.cfg.disabledTools.add(t)),this.touch()}exposeServices(a,t){for(const o of a){this.cfg.exposedServices.includes(o)||this.cfg.exposedServices.push(o);const i=this.backendServices.find(r=>r.name===o);!i||"keep"===t||("ro"===t?this.setServiceReadOnly(i):this.setServiceFull(i))}this.touch()}removeService(a,t=!1){if(this.cfg.exposedServices=this.cfg.exposedServices.filter(o=>o!==a),t){const o=this.kindOf(a);for(const i of[...this.cfg.disabledTools])Xe(i,a,o)&&this.cfg.disabledTools.delete(i)}this.touch()}renameExposedEntry(a,t){this.cfg.exposedServices=this.cfg.exposedServices.map(i=>i===a?t:i);const o=this.kindOf(a);for(const i of[...this.cfg.disabledTools])Xe(i,a,o)&&(this.cfg.disabledTools.delete(i),this.cfg.disabledTools.add(t+i.slice(a.length)));this.touch()}makeReadOnly(){for(const a of this.rows())a.svc&&a.svc.active&&this.setServiceReadOnly(a.svc);for(const a of this.cfg.customTools??[])tt(a)&&(a.enabled=!1);this.touch()}dormantCurationCount(a){const t=this.kindOf(a);let o=0;for(const i of this.cfg.disabledTools)Xe(i,a,t)&&o++;return o}}function np(n,a){if(1&n){const t=e.RV6();e.j41(0,"div",37),e.EFF(1," \u26a0 This server serves no tools. Agents can connect but can call nothing. "),e.j41(2,"button",38),e.bIt("click",function(){e.eBV(t);const i=e.XpG();return e.Njj(i.goToTab.emit("tools"))}),e.EFF(3," Expose services in Tools. "),e.k0s()()}}function op(n,a){if(1&n){const t=e.RV6();e.j41(0,"div",39)(1,"span"),e.EFF(2," Connection details changed \u2014 clients may need to reconnect. The snippets below are updated. "),e.k0s(),e.j41(3,"button",40),e.bIt("click",function(){e.eBV(t);const i=e.XpG();return e.Njj(i.dismissReconnect())}),e.EFF(4," \xd7 "),e.k0s()()}}function ip(n,a){if(1&n){const t=e.RV6();e.qex(0),e.j41(1,"span"),e.EFF(2),e.j41(3,"button",23),e.bIt("click",function(){e.eBV(t);const i=e.XpG(2);return e.Njj(i.goToTab.emit("tools"))}),e.EFF(4," refine in Tools \u2192 "),e.k0s()(),e.bVm()}if(2&n){const t=e.XpG(2);e.R7$(2),e.SpI(" ",t.exposedSummary," \u2014 ")}}function ap(n,a){if(1&n){const t=e.RV6();e.j41(0,"span")(1,"button",23),e.bIt("click",function(){e.eBV(t);const i=e.XpG(2);return e.Njj(i.goToTab.emit("tools"))}),e.EFF(2," Expose your first service \u2192 Tools. "),e.k0s(),e.EFF(3," 0 services exposed \u2014 agents get global and custom tools only. "),e.j41(4,"b"),e.EFF(5,"Empty never means every service."),e.k0s()()}}function rp(n,a){if(1&n){const t=e.RV6();e.j41(0,"section",41)(1,"div",42)(2,"h2"),e.EFF(3,"Server created \u2014 3 steps to your first tool call"),e.k0s(),e.j41(4,"button",43),e.bIt("click",function(){e.eBV(t);const i=e.XpG();return e.Njj(i.dismissChecklist())}),e.EFF(5," \xd7 "),e.k0s()(),e.j41(6,"ol",44)(7,"li")(8,"span",45),e.EFF(9),e.k0s(),e.j41(10,"span"),e.EFF(11,"Copy your endpoint URL"),e.k0s()(),e.j41(12,"li")(13,"span",45),e.EFF(14),e.k0s(),e.j41(15,"span"),e.EFF(16,"Add it to a client below"),e.k0s()(),e.j41(17,"li")(18,"span",45),e.EFF(19),e.k0s(),e.DNE(20,ip,5,1,"ng-container",27),e.DNE(21,ap,6,0,"ng-template",null,46,e.C5r),e.k0s()()()}if(2&n){const t=e.sdS(22),o=e.XpG();e.R7$(7),e.AVh("done",o.store.copiedUrl),e.R7$(2),e.JRh(o.store.copiedUrl?"\u2713":"1"),e.R7$(3),e.AVh("done",o.store.copiedClient),e.R7$(2),e.JRh(o.store.copiedClient?"\u2713":"2"),e.R7$(3),e.AVh("done",o.step3Done),e.R7$(2),e.JRh(o.step3Done?"\u2713":"3"),e.R7$(1),e.Y8G("ngIf",o.step3Done)("ngIfElse",t)}}function cp(n,a){1&n&&(e.j41(0,"p",47),e.EFF(1," This client needs a redirect URI \u2014 add Claude's callback below or in Settings. "),e.k0s())}const sp=function(){return["/api-connections/api-keys"]};function lp(n,a){1&n&&(e.qex(0),e.j41(1,"p"),e.EFF(2," Any DreamFactory API key whose role grants access to the exposed services can connect. "),e.j41(3,"a",48),e.EFF(4," Manage API keys \u2192 "),e.k0s()(),e.j41(5,"p",21),e.EFF(6," The URL plus any valid key grants access \u2014 treat the pair like a password. "),e.k0s(),e.bVm()),2&n&&(e.R7$(3),e.Y8G("routerLink",e.lJ4(1,sp)))}function dp(n,a){if(1&n){const t=e.RV6();e.j41(0,"p"),e.EFF(1," API-key auth is off \u2014 enable it in "),e.j41(2,"button",23),e.bIt("click",function(){e.eBV(t);const i=e.XpG();return e.Njj(i.goToTab.emit("settings"))}),e.EFF(3," Settings \u2192 Authentication"),e.k0s(),e.EFF(4,". "),e.k0s()}}function pp(n,a){if(1&n){const t=e.RV6();e.j41(0,"button",49),e.bIt("click",function(){const r=e.eBV(t).$implicit,c=e.XpG();return e.Njj(c.selectClient(r.id))}),e.EFF(1),e.k0s()}if(2&n){const t=a.$implicit,o=e.XpG();e.AVh("on",o.selectedClient===t.id),e.BMQ("data-testid","mcp-client-chip-"+t.id),e.R7$(1),e.SpI(" ",t.label," ")}}function mp(n,a){if(1&n){const t=e.RV6();e.j41(0,"div",50)(1,"span"),e.EFF(2,"Connect with:"),e.k0s(),e.j41(3,"button",51),e.bIt("click",function(){e.eBV(t);const i=e.XpG();return e.Njj(i.setAuthVariant("oauth"))}),e.EFF(4," OAuth "),e.k0s(),e.j41(5,"button",51),e.bIt("click",function(){e.eBV(t);const i=e.XpG();return e.Njj(i.setAuthVariant("apikey"))}),e.EFF(6," API key "),e.k0s()()}if(2&n){const t=e.XpG();e.R7$(3),e.AVh("on","oauth"===t.authVariant),e.R7$(2),e.AVh("on","apikey"===t.authVariant)}}function _p(n,a){1&n&&(e.j41(0,"p",21),e.EFF(1," Claude connectors sign in with OAuth \u2014 API keys don't apply here. "),e.k0s())}function gp(n,a){if(1&n){const t=e.RV6();e.qex(0),e.j41(1,"h3",13),e.EFF(2,"Claude \u2014 add a custom connector"),e.k0s(),e.j41(3,"ol",52)(4,"li"),e.EFF(5,"Settings \u2192 Connectors \u2192 Add custom connector."),e.k0s(),e.j41(6,"li"),e.EFF(7," Remote MCP server URL: "),e.j41(8,"code",53),e.EFF(9),e.k0s(),e.j41(10,"button",18),e.bIt("click",function(){e.eBV(t);const i=e.XpG();return e.Njj(i.copyForClient(i.mcpUrl,!0))}),e.EFF(11," Copy "),e.k0s()(),e.j41(12,"li"),e.EFF(13," Advanced settings \u2192 paste the OAuth Client ID and Client Secret from above. "),e.j41(14,"button",18),e.bIt("click",function(){e.eBV(t);const i=e.XpG();return e.Njj(i.copyClientId())}),e.EFF(15," Copy ID "),e.k0s(),e.j41(16,"button",18),e.bIt("click",function(){e.eBV(t);const i=e.XpG();return e.Njj(i.copySecret())}),e.EFF(17," Copy secret "),e.k0s()(),e.j41(18,"li"),e.EFF(19," Allow Claude's callback: "),e.j41(20,"code",53),e.EFF(21),e.k0s(),e.j41(22,"button",54),e.bIt("click",function(){e.eBV(t);const i=e.XpG();return e.Njj(i.addClaudeCallback())}),e.EFF(23),e.k0s()(),e.j41(24,"li"),e.EFF(25,"Connect and sign in with DreamFactory."),e.k0s()(),e.DNE(26,_p,2,0,"p",55),e.bVm()}if(2&n){const t=e.XpG();e.R7$(9),e.JRh(t.mcpUrl),e.R7$(12),e.JRh(t.claudeCallback),e.R7$(1),e.Y8G("disabled",t.claudeCallbackAdded),e.R7$(1),e.SpI(" ",t.claudeCallbackAdded?"\u2713 In redirect URIs":"+ Add to redirect URIs"," "),e.R7$(3),e.Y8G("ngIf",t.bothAuthOn)}}function fp(n,a){1&n&&(e.j41(0,"p",21),e.EFF(1," Claude Code opens a browser to sign in with OAuth on first use. "),e.k0s())}function up(n,a){if(1&n&&e.eu8(0,59),2&n){e.XpG(2);const t=e.sdS(76);e.Y8G("ngTemplateOutlet",t)}}function hp(n,a){if(1&n){const t=e.RV6();e.qex(0),e.j41(1,"h3",13),e.EFF(2,"Claude Code"),e.k0s(),e.j41(3,"p"),e.EFF(4,"Run in your terminal:"),e.k0s(),e.j41(5,"div",56)(6,"pre")(7,"code"),e.EFF(8),e.k0s()(),e.j41(9,"button",57),e.bIt("click",function(){e.eBV(t);const i=e.XpG();return e.Njj(i.copyForClient(i.claudeCodeSnippet))}),e.EFF(10," Copy "),e.k0s()(),e.DNE(11,fp,2,0,"p",55),e.DNE(12,up,1,1,"ng-container",58),e.bVm()}if(2&n){const t=e.XpG();e.R7$(8),e.JRh(t.claudeCodeSnippet),e.R7$(3),e.Y8G("ngIf",!t.keyMode),e.R7$(1),e.Y8G("ngIf",t.keyMode)}}function bp(n,a){1&n&&(e.j41(0,"p",21),e.EFF(1," Cursor opens a browser to sign in with OAuth on first use. "),e.k0s())}function vp(n,a){if(1&n&&e.eu8(0,59),2&n){e.XpG(2);const t=e.sdS(76);e.Y8G("ngTemplateOutlet",t)}}function xp(n,a){if(1&n){const t=e.RV6();e.qex(0),e.j41(1,"h3",13),e.EFF(2,"Cursor"),e.k0s(),e.j41(3,"p"),e.EFF(4," Add to "),e.j41(5,"code",53),e.EFF(6,".cursor/mcp.json"),e.k0s(),e.EFF(7," (project) or "),e.j41(8,"code",53),e.EFF(9,"~/.cursor/mcp.json"),e.k0s(),e.EFF(10," (global): "),e.k0s(),e.j41(11,"div",56)(12,"pre")(13,"code"),e.EFF(14),e.k0s()(),e.j41(15,"button",57),e.bIt("click",function(){e.eBV(t);const i=e.XpG();return e.Njj(i.copyForClient(i.cursorSnippet))}),e.EFF(16," Copy "),e.k0s()(),e.DNE(17,bp,2,0,"p",55),e.DNE(18,vp,1,1,"ng-container",58),e.bVm()}if(2&n){const t=e.XpG();e.R7$(14),e.JRh(t.cursorSnippet),e.R7$(3),e.Y8G("ngIf",!t.keyMode),e.R7$(1),e.Y8G("ngIf",t.keyMode)}}function Cp(n,a){1&n&&(e.j41(0,"p",21),e.EFF(1," VS Code opens a browser to sign in with OAuth on first use. "),e.k0s())}function kp(n,a){if(1&n&&e.eu8(0,59),2&n){e.XpG(2);const t=e.sdS(76);e.Y8G("ngTemplateOutlet",t)}}function yp(n,a){if(1&n){const t=e.RV6();e.qex(0),e.j41(1,"h3",13),e.EFF(2,"VS Code"),e.k0s(),e.j41(3,"p"),e.EFF(4,"One-liner:"),e.k0s(),e.j41(5,"div",56)(6,"pre")(7,"code"),e.EFF(8),e.k0s()(),e.j41(9,"button",57),e.bIt("click",function(){e.eBV(t);const i=e.XpG();return e.Njj(i.copyForClient(i.vscodeSnippet))}),e.EFF(10," Copy "),e.k0s()(),e.DNE(11,Cp,2,0,"p",55),e.DNE(12,kp,1,1,"ng-container",58),e.bVm()}if(2&n){const t=e.XpG();e.R7$(8),e.JRh(t.vscodeSnippet),e.R7$(3),e.Y8G("ngIf",!t.keyMode),e.R7$(1),e.Y8G("ngIf",t.keyMode)}}function Mp(n,a){1&n&&(e.j41(0,"p",21),e.EFF(1," ChatGPT connectors sign in with OAuth \u2014 API keys don't apply here. "),e.k0s())}function Op(n,a){if(1&n){const t=e.RV6();e.qex(0),e.j41(1,"h3",13),e.EFF(2,"ChatGPT \u2014 add a connector"),e.k0s(),e.j41(3,"ol",52)(4,"li"),e.EFF(5,"Settings \u2192 Connectors \u2192 Create."),e.k0s(),e.j41(6,"li"),e.EFF(7," MCP server URL: "),e.j41(8,"code",53),e.EFF(9),e.k0s(),e.j41(10,"button",18),e.bIt("click",function(){e.eBV(t);const i=e.XpG();return e.Njj(i.copyForClient(i.mcpUrl,!0))}),e.EFF(11," Copy "),e.k0s()(),e.j41(12,"li"),e.EFF(13," Authentication: OAuth \u2014 ChatGPT discovers the sign-in flow from the server. "),e.k0s(),e.j41(14,"li"),e.EFF(15,"Create, then connect and sign in with DreamFactory."),e.k0s()(),e.DNE(16,Mp,2,0,"p",55),e.bVm()}if(2&n){const t=e.XpG();e.R7$(9),e.JRh(t.mcpUrl),e.R7$(7),e.Y8G("ngIf",t.bothAuthOn)}}function Pp(n,a){if(1&n){const t=e.RV6();e.qex(0),e.j41(1,"h3",13),e.EFF(2,"Generic JSON"),e.k0s(),e.j41(3,"p"),e.EFF(4," For any MCP client that reads an "),e.j41(5,"code",53),e.EFF(6,"mcpServers"),e.k0s(),e.EFF(7," block: "),e.k0s(),e.j41(8,"div",56)(9,"pre")(10,"code"),e.EFF(11),e.k0s()(),e.j41(12,"button",57),e.bIt("click",function(){e.eBV(t);const i=e.XpG();return e.Njj(i.copyForClient(i.genericSnippet))}),e.EFF(13," Copy "),e.k0s()(),e.j41(14,"p",21),e.EFF(15," Check reachability: "),e.j41(16,"code",53),e.EFF(17),e.k0s(),e.j41(18,"button",18),e.bIt("click",function(){e.eBV(t);const i=e.XpG();return e.Njj(i.copyForClient(i.genericCurl))}),e.EFF(19," Copy "),e.k0s(),e.EFF(20," \u2014 a 401 challenge here means healthy auth. "),e.k0s(),e.bVm()}if(2&n){const t=e.XpG();e.R7$(11),e.JRh(t.genericSnippet),e.R7$(6),e.JRh(t.genericCurl)}}function Fp(n,a){1&n&&(e.j41(0,"p",21),e.EFF(1," Replace YOUR_API_KEY with a DreamFactory API key whose role grants access to the exposed services. "),e.k0s())}function wp(n,a){1&n&&(e.j41(0,"p",61),e.EFF(1," Filled with the API key you just created on the Tools tab \u2014 it is not shown again after you leave this page. "),e.k0s())}function Dp(n,a){if(1&n&&(e.DNE(0,Fp,2,0,"p",55),e.DNE(1,wp,2,0,"p",60)),2&n){const t=e.XpG();e.Y8G("ngIf",!t.store.createdApiKey),e.R7$(1),e.Y8G("ngIf",t.store.createdApiKey)}}const Tp=function(n){return["/api-connections/api-docs",n]},jt="https://claude.ai/api/mcp/auth_callback",$n="X-DreamFactory-API-Key",Gn=new Set(["claude-code","cursor","vscode","json"]);let Ip=(()=>{class n{constructor(t){this.snackbarService=t,this.goToTab=new e.bkB,this.claudeCallback=jt,this.clients=[{id:"claude",label:"Claude"},{id:"claude-code",label:"Claude Code"},{id:"cursor",label:"Cursor"},{id:"vscode",label:"VS Code"},{id:"chatgpt",label:"ChatGPT"},{id:"json",label:"Generic JSON"}],this.probe="pending",this.secretRevealed=!1,this.selectedClient="claude",this.authVariant="oauth",this.autoDismissTimer=null}ngOnInit(){this.restoreClientChoice(),this.runProbe()}ngOnChanges(t){t.mcpUrl&&!t.mcpUrl.firstChange&&(this.probe="pending",this.secretRevealed=!1,this.authVariant="oauth",this.restoreClientChoice(),this.runProbe())}runProbe(){const t=this.mcpUrl;fetch(t,{method:"GET"}).then(o=>{t===this.mcpUrl&&(this.probe=401===o.status||403===o.status?"auth":"open")}).catch(()=>{t===this.mcpUrl&&(this.probe="unknown")})}ngOnDestroy(){this.autoDismissTimer&&clearTimeout(this.autoDismissTimer)}get zeroTools(){return(this.store.isSystemMcp||this.store.backendLoaded)&&0===this.store.totalTools()}get checklistVisible(){return this.store.created&&!this.store.checklistDismissed}get exposedCount(){return this.store.cfg.exposedServices.length}get step3Done(){return this.exposedCount>0}get exposedSummary(){const t=this.exposedCount,o=this.store.effective();return`${t} ${1===t?"service":"services"} exposed (${o.total} tools${o.readOnly?", read-only":""})`}dismissChecklist(){this.store.checklistDismissed=!0,this.store.touch()}maybeAutoDismiss(){!this.checklistVisible||this.autoDismissTimer||this.store.copiedUrl&&this.store.copiedClient&&this.step3Done&&(this.autoDismissTimer=setTimeout(()=>{this.store.checklistDismissed=!0,this.store.touch()},1500))}dismissReconnect(){this.store.reconnectBanner=!1,this.store.touch()}doCopy(t){try{navigator.clipboard?.writeText(t)?.catch(()=>{})}catch{}this.snackbarService.openSnackBar("Copied.","success")}copyEndpointUrl(){this.doCopy(this.mcpUrl),this.store.copiedUrl=!0,this.store.touch(),this.maybeAutoDismiss()}copyForClient(t,o=!1){this.doCopy(t),this.store.copiedClient=!0,o&&(this.store.copiedUrl=!0),this.store.touch(),this.maybeAutoDismiss()}copyClientId(){this.copyForClient(this.store.cfg.oauthClientId)}copySecret(){this.copyForClient(this.store.cfg.oauthClientSecret)}get secretDisplay(){return this.secretRevealed?this.store.cfg.oauthClientSecret||"\u2014":this.store.cfg.oauthClientSecret?"\u2022\u2022\u2022\u2022\u2022\u2022\u2022\u2022\u2022\u2022\u2022\u2022\u2022\u2022\u2022\u2022":"\u2014"}toggleSecret(){this.secretRevealed=!this.secretRevealed}regenerateSecret(){window.confirm("Clients using the old secret will stop connecting. Regenerate?")&&(this.store.cfg.oauthClientSecret=function Rp(){const n=new Uint8Array(32),a=globalThis.crypto;if(a?.getRandomValues)a.getRandomValues(n);else for(let t=0;tt.toString(16).padStart(2,"0")).join("")}(),this.store.touch(),this.snackbarService.openSnackBar("New client secret generated \u2014 save to apply.","success"))}get clientChoiceKey(){return"df-mcp-connect-client."+(this.store.service?.name??"")}restoreClientChoice(){try{const t=localStorage.getItem(this.clientChoiceKey);t&&this.clients.some(o=>o.id===t)&&(this.selectedClient=t)}catch{}}selectClient(t){this.selectedClient=t;try{localStorage.setItem(this.clientChoiceKey,t)}catch{}}get bothAuthOn(){return this.store.cfg.allowApiKeyAuth}get showAuthToggle(){return this.bothAuthOn&&Gn.has(this.selectedClient)}setAuthVariant(t){this.authVariant=t}get keyMode(){return this.bothAuthOn&&"apikey"===this.authVariant&&Gn.has(this.selectedClient)}get serviceName(){return this.store.service?.name??""}get origin(){return this.mcpUrl.replace(/\/mcp\/[^/]*\/?$/,"")}get legacyAlias(){return`${this.origin}/api/v2/${this.serviceName}/_mcp`}get claudeCallbackAdded(){return this.store.cfg.redirectUris.includes(jt)}get needsRedirectPrompt(){return("claude"===this.selectedClient||"chatgpt"===this.selectedClient)&&0===this.store.cfg.redirectUris.length}addClaudeCallback(){this.claudeCallbackAdded||(this.store.cfg.redirectUris.push(jt),this.store.touch(),this.snackbarService.openSnackBar("Added Claude's callback to redirect URIs \u2014 save to apply.","success"))}get apiKeyValue(){return this.store.createdApiKey??"YOUR_API_KEY"}get claudeCodeSnippet(){const t=`claude mcp add --transport http ${this.serviceName} ${this.mcpUrl}`;return this.keyMode?`${t} --header "${$n}: ${this.apiKeyValue}"`:t}serverEntry(t){const o=t?{type:"http",url:this.mcpUrl}:{url:this.mcpUrl};return this.keyMode&&(o.headers={[$n]:this.apiKeyValue}),o}get cursorSnippet(){return JSON.stringify({mcpServers:{[this.serviceName]:this.serverEntry(!1)}},null,2)}get vscodeSnippet(){const t={name:this.serviceName,...this.serverEntry(!0)};return`code --add-mcp '${JSON.stringify(t)}'`}get genericSnippet(){return`${JSON.stringify({mcpServers:{[this.serviceName]:this.serverEntry(!0)}},null,2)}\n// Legacy alias (same server): ${this.legacyAlias}`}get genericCurl(){return`curl -i ${this.mcpUrl}`}static{this.\u0275fac=function(o){return new(o||n)(e.rXU(pe.L))}}static{this.\u0275cmp=e.VBU({type:n,selectors:[["df-mcp-connect"]],inputs:{store:"store",mcpUrl:"mcpUrl"},outputs:{goToTab:"goToTab"},standalone:!0,features:[e.OA$,e.aNF],decls:77,vars:30,consts:[["data-testid","mcp-connect-tab",1,"mcp-connect"],["class","mcp-zero-banner","data-testid","mcp-connect-zero-banner",4,"ngIf"],["class","mcp-reconnect-banner","data-testid","mcp-reconnect-banner",4,"ngIf"],["class","mcp-card mcp-checklist","data-testid","mcp-checklist",4,"ngIf"],["data-testid","mcp-endpoint-card",1,"mcp-card","mcp-endpoint"],[1,"mcp-endpoint-row"],["data-testid","mcp-endpoint-url",1,"mcp-endpoint-url"],["mat-stroked-button","","type","button","data-testid","mcp-endpoint-copy",3,"click"],[1,"mcp-endpoint-sub"],["data-testid","mcp-probe-chip",1,"mcp-chip",3,"matTooltip"],[1,"mcp-section-title"],[1,"mcp-auth-grid"],["data-testid","mcp-oauth-card",1,"mcp-card"],[1,"mcp-card-title"],[1,"mcp-chip","good"],[1,"mcp-cred-row"],[1,"mcp-cred-label"],[1,"mcp-cred-value"],["mat-button","","type","button",3,"click"],["mat-button","","type","button","data-testid","mcp-secret-reveal",3,"click"],["mat-stroked-button","","type","button","data-testid","mcp-secret-regenerate",1,"mcp-regenerate",3,"click"],[1,"mcp-caption"],[1,"mcp-redirects-line"],["type","button",1,"mcp-link",3,"click"],["class","mcp-redirect-prompt","data-testid","mcp-redirect-jump-prompt",4,"ngIf"],["data-testid","mcp-apikey-card",1,"mcp-card"],[1,"mcp-chip"],[4,"ngIf","ngIfElse"],["apiKeyOff",""],[1,"mcp-client-chips"],["type","button","class","mcp-client-chip",3,"on","click",4,"ngFor","ngForOf"],["class","mcp-auth-toggle",4,"ngIf"],["data-testid","mcp-client-panel",1,"mcp-card","mcp-client-panel",3,"ngSwitch"],[4,"ngSwitchCase"],[1,"mcp-connect-footer"],[1,"mcp-link","mcp-docs-link",3,"routerLink"],["keyCaption",""],["data-testid","mcp-connect-zero-banner",1,"mcp-zero-banner"],["type","button","data-testid","mcp-connect-zero-link",1,"mcp-link",3,"click"],["data-testid","mcp-reconnect-banner",1,"mcp-reconnect-banner"],["type","button","aria-label","Dismiss",1,"mcp-x",3,"click"],["data-testid","mcp-checklist",1,"mcp-card","mcp-checklist"],[1,"mcp-checklist-head"],["type","button","data-testid","mcp-checklist-dismiss","aria-label","Dismiss checklist",1,"mcp-x",3,"click"],[1,"mcp-checklist-steps"],[1,"mcp-step-mark"],["exposePrompt",""],["data-testid","mcp-redirect-jump-prompt",1,"mcp-redirect-prompt"],[1,"mcp-link",3,"routerLink"],["type","button",1,"mcp-client-chip",3,"click"],[1,"mcp-auth-toggle"],["type","button",3,"click"],[1,"mcp-steps"],[1,"mcp-inline-code"],["mat-stroked-button","","type","button","data-testid","mcp-add-redirect",3,"disabled","click"],["class","mcp-caption",4,"ngIf"],[1,"mcp-snippet-block"],["mat-stroked-button","","type","button",3,"click"],[3,"ngTemplateOutlet",4,"ngIf"],[3,"ngTemplateOutlet"],["class","mcp-caption","data-testid","mcp-created-key-caption",4,"ngIf"],["data-testid","mcp-created-key-caption",1,"mcp-caption"]],template:function(o,i){if(1&o&&(e.j41(0,"div",0),e.DNE(1,np,4,0,"div",1),e.DNE(2,op,5,0,"div",2),e.DNE(3,rp,23,11,"section",3),e.j41(4,"section",4)(5,"div",5)(6,"code",6),e.EFF(7),e.k0s(),e.j41(8,"button",7),e.bIt("click",function(){return i.copyEndpointUrl()}),e.EFF(9," Copy "),e.k0s()(),e.j41(10,"div",8)(11,"span"),e.EFF(12,"Streamable HTTP \xb7 MCP 2025-03-26"),e.k0s(),e.j41(13,"span",9),e.EFF(14),e.k0s()()(),e.j41(15,"h2",10),e.EFF(16,"Authentication"),e.k0s(),e.j41(17,"div",11)(18,"section",12)(19,"h3",13),e.EFF(20," OAuth 2.1 "),e.j41(21,"span",14),e.EFF(22,"always on"),e.k0s()(),e.j41(23,"div",15)(24,"span",16),e.EFF(25,"Client ID"),e.k0s(),e.j41(26,"code",17),e.EFF(27),e.k0s(),e.j41(28,"button",18),e.bIt("click",function(){return i.copyClientId()}),e.EFF(29,"Copy"),e.k0s()(),e.j41(30,"div",15)(31,"span",16),e.EFF(32,"Client secret"),e.k0s(),e.j41(33,"code",17),e.EFF(34),e.k0s(),e.j41(35,"button",19),e.bIt("click",function(){return i.toggleSecret()}),e.EFF(36),e.k0s(),e.j41(37,"button",18),e.bIt("click",function(){return i.copySecret()}),e.EFF(38,"Copy"),e.k0s()(),e.j41(39,"button",20),e.bIt("click",function(){return i.regenerateSecret()}),e.EFF(40," Regenerate\u2026 "),e.k0s(),e.j41(41,"p",21),e.EFF(42," These match the URL, Client ID, and Client Secret fields in your client's add-connector dialog. "),e.k0s(),e.j41(43,"p",22),e.EFF(44),e.j41(45,"button",23),e.bIt("click",function(){return i.goToTab.emit("settings")}),e.EFF(46," Manage \u2192 "),e.k0s()(),e.DNE(47,cp,2,0,"p",24),e.k0s(),e.j41(48,"section",25)(49,"h3",13),e.EFF(50," API key "),e.j41(51,"span",26),e.EFF(52),e.k0s()(),e.DNE(53,lp,7,2,"ng-container",27),e.DNE(54,dp,5,0,"ng-template",null,28,e.C5r),e.k0s()(),e.j41(56,"h2",10),e.EFF(57,"Connect a client"),e.k0s(),e.j41(58,"div",29),e.DNE(59,pp,2,4,"button",30),e.k0s(),e.DNE(60,mp,7,4,"div",31),e.j41(61,"section",32),e.DNE(62,gp,27,5,"ng-container",33),e.DNE(63,hp,13,3,"ng-container",33),e.DNE(64,xp,19,3,"ng-container",33),e.DNE(65,yp,13,3,"ng-container",33),e.DNE(66,Op,17,2,"ng-container",33),e.DNE(67,Pp,21,2,"ng-container",33),e.k0s(),e.j41(68,"footer",34)(69,"p"),e.EFF(70," Roles further filter tools per caller at runtime \u2014 this page sets the server-wide maximum. "),e.j41(71,"button",23),e.bIt("click",function(){return i.goToTab.emit("tools")}),e.EFF(72," Preview in Tools. "),e.k0s()(),e.j41(73,"a",35),e.EFF(74," \u25b8 Also available: REST endpoint & API Docs "),e.k0s()()(),e.DNE(75,Dp,2,2,"ng-template",null,36,e.C5r)),2&o){const r=e.sdS(55);e.R7$(1),e.Y8G("ngIf",i.zeroTools),e.R7$(1),e.Y8G("ngIf",i.store.reconnectBanner),e.R7$(1),e.Y8G("ngIf",i.checklistVisible),e.R7$(4),e.JRh(i.mcpUrl),e.R7$(6),e.AVh("good","auth"===i.probe),e.Y8G("matTooltip","auth"===i.probe?"The endpoint answered with the expected sign-in challenge.":"open"===i.probe?"The endpoint answered, but not with the expected sign-in challenge.":""),e.R7$(1),e.SpI(" ","auth"===i.probe?"\u2713 Reachable \u2014 auth enforced":"open"===i.probe?"Reachable":"\u2014"," "),e.R7$(13),e.JRh(i.store.cfg.oauthClientId||"\u2014"),e.R7$(7),e.JRh(i.secretDisplay),e.R7$(2),e.SpI(" ",i.secretRevealed?"Hide":"Reveal"," "),e.R7$(8),e.SpI(" Redirect URIs: ",i.store.cfg.redirectUris.length," \xb7 "),e.R7$(3),e.Y8G("ngIf",i.needsRedirectPrompt),e.R7$(4),e.AVh("good",i.store.cfg.allowApiKeyAuth),e.R7$(1),e.SpI(" ",i.store.cfg.allowApiKeyAuth?"on":"off"," "),e.R7$(1),e.Y8G("ngIf",i.store.cfg.allowApiKeyAuth)("ngIfElse",r),e.R7$(6),e.Y8G("ngForOf",i.clients),e.R7$(1),e.Y8G("ngIf",i.showAuthToggle),e.R7$(1),e.Y8G("ngSwitch",i.selectedClient),e.R7$(1),e.Y8G("ngSwitchCase","claude"),e.R7$(1),e.Y8G("ngSwitchCase","claude-code"),e.R7$(1),e.Y8G("ngSwitchCase","cursor"),e.R7$(1),e.Y8G("ngSwitchCase","vscode"),e.R7$(1),e.Y8G("ngSwitchCase","chatgpt"),e.R7$(1),e.Y8G("ngSwitchCase","json"),e.R7$(6),e.Y8G("routerLink",e.eq3(28,Tp,i.store.service.name))}},dependencies:[d.MD,d.Sq,d.bT,d.T3,d.ux,d.e1,j.iI,j.Wk,u.Hl,u.$z,S.uc,S.oV],styles:[".mcp-connect[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:14px;max-width:980px}.mcp-card[_ngcontent-%COMP%]{background:var(--df-surface);border:1px solid color-mix(in srgb,var(--df-text) 8%,transparent);border-radius:10px;padding:16px 18px}.mcp-card[_ngcontent-%COMP%] .mcp-card-title[_ngcontent-%COMP%]{display:flex;align-items:center;gap:8px;font-size:14.5px;font-weight:700;margin:0 0 10px}.mcp-section-title[_ngcontent-%COMP%]{font-size:12.5px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;opacity:.6;margin:6px 0 -4px}.mcp-chip[_ngcontent-%COMP%]{display:inline-flex;align-items:center;gap:5px;padding:2px 9px;border-radius:999px;font-size:12px;font-weight:600;border:1px solid color-mix(in srgb,var(--df-text) 14%,transparent);background:color-mix(in srgb,var(--df-text) 2%,transparent);white-space:nowrap}.mcp-chip.good[_ngcontent-%COMP%]{background:var(--df-success-soft);border-color:color-mix(in srgb,var(--df-success) 35%,transparent);color:var(--df-success)}.mcp-chip.warn[_ngcontent-%COMP%]{background:var(--df-warning-soft);border-color:color-mix(in srgb,var(--df-warning) 40%,transparent);color:var(--df-warning)}.mcp-chip.primary[_ngcontent-%COMP%]{background:color-mix(in srgb,var(--df-accent) 10%,transparent);border-color:color-mix(in srgb,var(--df-accent) 38%,transparent);color:var(--df-accent)}.mcp-reconnect-banner[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:space-between;gap:12px;background:var(--df-warning-soft);border:1px solid color-mix(in srgb,var(--df-warning) 40%,transparent);color:var(--df-warning);border-radius:10px;padding:10px 14px;font-size:13.5px;font-weight:500}.mcp-x[_ngcontent-%COMP%]{background:none;border:none;cursor:pointer;font:inherit;font-size:18px;line-height:1;padding:2px 6px;border-radius:6px;color:inherit;opacity:.7}.mcp-x[_ngcontent-%COMP%]:hover{opacity:1;background:color-mix(in srgb,var(--df-text) 5%,transparent)}.mcp-zero-banner[_ngcontent-%COMP%]{background:var(--df-warning-soft);border:1px solid color-mix(in srgb,var(--df-warning) 40%,transparent);color:var(--df-warning);border-radius:10px;padding:10px 14px;font-size:13px;font-weight:600;margin-bottom:14px}.mcp-zero-banner[_ngcontent-%COMP%] .mcp-link[_ngcontent-%COMP%]{font-weight:600}.mcp-checklist[_ngcontent-%COMP%]{border-color:color-mix(in srgb,var(--df-accent) 38%,transparent)}.mcp-checklist[_ngcontent-%COMP%] .mcp-checklist-head[_ngcontent-%COMP%]{display:flex;align-items:flex-start;justify-content:space-between;gap:10px}.mcp-checklist[_ngcontent-%COMP%] .mcp-checklist-head[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{font-size:15px;font-weight:700;margin:0 0 8px}.mcp-checklist[_ngcontent-%COMP%] .mcp-checklist-steps[_ngcontent-%COMP%]{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:7px}.mcp-checklist[_ngcontent-%COMP%] .mcp-checklist-steps[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{display:flex;align-items:flex-start;gap:9px;font-size:13.5px}.mcp-checklist[_ngcontent-%COMP%] .mcp-checklist-steps[_ngcontent-%COMP%] li.done[_ngcontent-%COMP%]{color:var(--df-success)}.mcp-checklist[_ngcontent-%COMP%] .mcp-checklist-steps[_ngcontent-%COMP%] li.done[_ngcontent-%COMP%] .mcp-step-mark[_ngcontent-%COMP%]{background:var(--df-success);border-color:var(--df-success);color:var(--df-accent-contrast)}.mcp-checklist[_ngcontent-%COMP%] .mcp-checklist-steps[_ngcontent-%COMP%] .mcp-step-mark[_ngcontent-%COMP%]{flex:none;box-sizing:border-box;width:18px;height:18px;margin-top:1px;border:1.5px solid color-mix(in srgb,var(--df-accent) 55%,transparent);border-radius:50%;font-size:11px;font-weight:700;line-height:15px;text-align:center}.mcp-endpoint[_ngcontent-%COMP%] .mcp-endpoint-row[_ngcontent-%COMP%]{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.mcp-endpoint[_ngcontent-%COMP%] .mcp-endpoint-url[_ngcontent-%COMP%]{font-size:16px;font-weight:600;background:color-mix(in srgb,var(--df-text) 3.5%,transparent);border:1px solid color-mix(in srgb,var(--df-text) 8%,transparent);border-radius:7px;padding:7px 12px;overflow-x:auto;max-width:100%}.mcp-endpoint[_ngcontent-%COMP%] .mcp-endpoint-sub[_ngcontent-%COMP%]{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-top:9px;font-size:12.5px;opacity:.85}.mcp-auth-grid[_ngcontent-%COMP%]{display:grid;grid-template-columns:1fr 1fr;gap:14px;align-items:start}.mcp-auth-grid[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{font-size:13.5px;margin:0 0 8px}.mcp-cred-row[_ngcontent-%COMP%]{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-bottom:6px;font-size:13px}.mcp-cred-row[_ngcontent-%COMP%] .mcp-cred-label[_ngcontent-%COMP%]{flex:none;width:92px;font-weight:600;opacity:.75}.mcp-cred-row[_ngcontent-%COMP%] .mcp-cred-value[_ngcontent-%COMP%]{background:color-mix(in srgb,var(--df-text) 3.5%,transparent);border:1px solid color-mix(in srgb,var(--df-text) 8%,transparent);border-radius:6px;padding:3px 8px;font-size:12.5px;max-width:240px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mcp-regenerate[_ngcontent-%COMP%]{margin:4px 0 6px}.mcp-caption[_ngcontent-%COMP%]{font-size:12.5px;opacity:.7;margin:8px 0 0}.mcp-redirects-line[_ngcontent-%COMP%]{font-size:13px;margin:10px 0 0}.mcp-redirect-prompt[_ngcontent-%COMP%]{font-size:12.5px;font-weight:600;color:var(--df-warning);margin:6px 0 0}.mcp-client-chips[_ngcontent-%COMP%]{display:flex;gap:8px;flex-wrap:wrap}.mcp-client-chip[_ngcontent-%COMP%]{cursor:pointer;font:inherit;font-size:13px;font-weight:600;padding:6px 14px;border-radius:999px;border:1px solid color-mix(in srgb,var(--df-text) 14%,transparent);background:var(--df-surface)}.mcp-client-chip[_ngcontent-%COMP%]:hover{border-color:color-mix(in srgb,var(--df-accent) 38%,transparent)}.mcp-client-chip.on[_ngcontent-%COMP%]{background:color-mix(in srgb,var(--df-accent) 10%,transparent);border-color:var(--df-accent);color:var(--df-accent)}.mcp-auth-toggle[_ngcontent-%COMP%]{display:flex;align-items:center;gap:6px;font-size:12.5px;font-weight:600;opacity:.9}.mcp-auth-toggle[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{cursor:pointer;font:inherit;font-size:12.5px;font-weight:600;padding:3px 10px;border-radius:999px;border:1px solid color-mix(in srgb,var(--df-text) 14%,transparent);background:var(--df-surface)}.mcp-auth-toggle[_ngcontent-%COMP%] button.on[_ngcontent-%COMP%]{background:color-mix(in srgb,var(--df-accent) 10%,transparent);border-color:var(--df-accent);color:var(--df-accent)}.mcp-client-panel[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{font-size:13.5px;margin:0 0 8px}.mcp-client-panel[_ngcontent-%COMP%] .mcp-steps[_ngcontent-%COMP%]{margin:0;padding-left:20px;display:flex;flex-direction:column;gap:7px;font-size:13.5px}.mcp-inline-code[_ngcontent-%COMP%]{background:color-mix(in srgb,var(--df-text) 3.5%,transparent);border:1px solid color-mix(in srgb,var(--df-text) 8%,transparent);border-radius:6px;padding:2px 7px;font-size:12.5px;word-break:break-all}.mcp-snippet-block[_ngcontent-%COMP%]{display:flex;align-items:flex-start;gap:10px;background:color-mix(in srgb,var(--df-text) 3.5%,transparent);border:1px solid color-mix(in srgb,var(--df-text) 8%,transparent);border-radius:8px;padding:10px 12px;margin:6px 0 8px}.mcp-snippet-block[_ngcontent-%COMP%] pre[_ngcontent-%COMP%]{flex:1;margin:0;overflow-x:auto;font-size:12.5px;line-height:1.55}.mcp-snippet-block[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{flex:none}.mcp-connect-footer[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:6px;padding:4px 2px 8px;font-size:13px;opacity:.9}.mcp-connect-footer[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{margin:0}.mcp-link[_ngcontent-%COMP%]{background:none;border:none;cursor:pointer;font:inherit;font-size:inherit;padding:0;color:var(--df-accent);font-weight:600;text-decoration:none}.mcp-link[_ngcontent-%COMP%]:hover{text-decoration:underline}.mcp-docs-link[_ngcontent-%COMP%]{display:inline-block}@media (max-width: 700px){.mcp-auth-grid[_ngcontent-%COMP%]{grid-template-columns:1fr}.mcp-endpoint[_ngcontent-%COMP%] .mcp-endpoint-url[_ngcontent-%COMP%]{font-size:13.5px}.mcp-cred-row[_ngcontent-%COMP%] .mcp-cred-label[_ngcontent-%COMP%]{width:100%}.mcp-snippet-block[_ngcontent-%COMP%]{flex-direction:column}}"]})}}return n})();function Ep(n,a){if(1&n&&(e.j41(0,"span",30),e.EFF(1),e.k0s()),2&n){const t=e.XpG().$implicit,o=e.XpG(4);e.R7$(1),e.SpI(" saved curation: ",o.dormantCount(t)," tools off ")}}function $p(n,a){1&n&&(e.j41(0,"span",30),e.EFF(1,"inactive"),e.k0s())}function Gp(n,a){if(1&n){const t=e.RV6();e.j41(0,"div",24),e.bIt("click",function(){const r=e.eBV(t).$implicit,c=e.XpG(4);return e.Njj(c.toggle(r.name))}),e.j41(1,"mat-checkbox",25),e.bIt("click",function(i){return i.stopPropagation()})("change",function(){const r=e.eBV(t).$implicit,c=e.XpG(4);return e.Njj(c.toggle(r.name))}),e.k0s(),e.j41(2,"span",26),e.EFF(3),e.k0s(),e.j41(4,"span",27),e.EFF(5),e.k0s(),e.j41(6,"span",28),e.EFF(7),e.k0s(),e.DNE(8,Ep,2,1,"span",29),e.DNE(9,$p,2,0,"span",29),e.k0s()}if(2&n){const t=a.$implicit,o=e.XpG(4);e.R7$(1),e.Y8G("checked",o.isSelected(t.name)),e.R7$(2),e.JRh(t.label),e.R7$(2),e.JRh(t.name),e.R7$(2),e.JRh(o.toolDelta(t)),e.R7$(1),e.Y8G("ngIf",o.dormantCount(t)>0),e.R7$(1),e.Y8G("ngIf",!t.active)}}function jp(n,a){if(1&n){const t=e.RV6();e.j41(0,"div",20)(1,"div",21)(2,"span"),e.EFF(3),e.k0s(),e.j41(4,"mat-checkbox",22),e.bIt("change",function(){e.eBV(t);const i=e.XpG().ngIf,r=e.XpG(2);return e.Njj(r.toggleGroup(i))}),e.EFF(5," Select all databases "),e.k0s()(),e.DNE(6,Gp,10,6,"div",23),e.k0s()}if(2&n){const t=e.XpG().ngIf,o=e.XpG(2);e.R7$(3),e.SpI("Databases (",t.length,")"),e.R7$(1),e.Y8G("checked",o.groupAllSelected(t))("indeterminate",o.groupSomeSelected(t)),e.R7$(2),e.Y8G("ngForOf",t)("ngForTrackBy",o.trackBySvcName)}}function Np(n,a){if(1&n&&(e.qex(0),e.DNE(1,jp,7,5,"div",19),e.bVm()),2&n){const t=a.ngIf;e.R7$(1),e.Y8G("ngIf",t.length>0)}}function Ap(n,a){if(1&n&&(e.j41(0,"span",30),e.EFF(1),e.k0s()),2&n){const t=e.XpG().$implicit,o=e.XpG(4);e.R7$(1),e.SpI(" saved curation: ",o.dormantCount(t)," tools off ")}}function Yp(n,a){1&n&&(e.j41(0,"span",30),e.EFF(1,"inactive"),e.k0s())}function Vp(n,a){if(1&n){const t=e.RV6();e.j41(0,"div",24),e.bIt("click",function(){const r=e.eBV(t).$implicit,c=e.XpG(4);return e.Njj(c.toggle(r.name))}),e.j41(1,"mat-checkbox",25),e.bIt("click",function(i){return i.stopPropagation()})("change",function(){const r=e.eBV(t).$implicit,c=e.XpG(4);return e.Njj(c.toggle(r.name))}),e.k0s(),e.j41(2,"span",26),e.EFF(3),e.k0s(),e.j41(4,"span",27),e.EFF(5),e.k0s(),e.j41(6,"span",28),e.EFF(7),e.k0s(),e.DNE(8,Ap,2,1,"span",29),e.DNE(9,Yp,2,0,"span",29),e.k0s()}if(2&n){const t=a.$implicit,o=e.XpG(4);e.R7$(1),e.Y8G("checked",o.isSelected(t.name)),e.R7$(2),e.JRh(t.label),e.R7$(2),e.JRh(t.name),e.R7$(2),e.JRh(o.toolDelta(t)),e.R7$(1),e.Y8G("ngIf",o.dormantCount(t)>0),e.R7$(1),e.Y8G("ngIf",!t.active)}}function Xp(n,a){if(1&n){const t=e.RV6();e.j41(0,"div",20)(1,"div",21)(2,"span"),e.EFF(3),e.k0s(),e.j41(4,"mat-checkbox",22),e.bIt("change",function(){e.eBV(t);const i=e.XpG().ngIf,r=e.XpG(2);return e.Njj(r.toggleGroup(i))}),e.EFF(5," Select all files "),e.k0s()(),e.DNE(6,Vp,10,6,"div",23),e.k0s()}if(2&n){const t=e.XpG().ngIf,o=e.XpG(2);e.R7$(3),e.SpI("File storage (",t.length,")"),e.R7$(1),e.Y8G("checked",o.groupAllSelected(t))("indeterminate",o.groupSomeSelected(t)),e.R7$(2),e.Y8G("ngForOf",t)("ngForTrackBy",o.trackBySvcName)}}function zp(n,a){if(1&n&&(e.qex(0),e.DNE(1,Xp,7,5,"div",19),e.bVm()),2&n){const t=a.ngIf;e.R7$(1),e.Y8G("ngIf",t.length>0)}}function Bp(n,a){1&n&&(e.j41(0,"p",31),e.EFF(1," Every service on this instance is already exposed. "),e.k0s())}function Lp(n,a){if(1&n&&(e.qex(0),e.DNE(1,Np,2,1,"ng-container",17),e.DNE(2,zp,2,1,"ng-container",17),e.DNE(3,Bp,2,0,"p",18),e.bVm()),2&n){const t=e.XpG();e.R7$(1),e.Y8G("ngIf",t.dbCandidates()),e.R7$(1),e.Y8G("ngIf",t.fileCandidates()),e.R7$(1),e.Y8G("ngIf",0===t.dbCandidates().length&&0===t.fileCandidates().length&&!t.q.trim())}}function Up(n,a){if(1&n&&(e.j41(0,"p",31),e.EFF(1),e.k0s()),2&n){const t=e.XpG();e.R7$(1),e.SpI(" No service matches \u201c",t.q.trim(),"\u201d. Create one under API Generation & Connections. ")}}function jn(n,a,t){const o=new Set;if(t)return o;for(const i of a)n.dormantCurationCount(i)>0&&o.add(i);return o}let Hp=(()=>{class n{constructor(t,o){this.dialogRef=t,this.data=o,this.q="",this.access="ro",this.accessTouched=!1,this.selected=new Set,this.listMemo=new Map,this.trackBySvcName=(i,r)=>r.name}get store(){return this.data.store}memoized(t,o){const i=`${this.store.version}|${this.q}`,r=this.listMemo.get(t);if(r&&r.key===i)return r.value;const c=o();return this.listMemo.set(t,{key:i,value:c}),c}candidates(){return this.memoized("candidates",()=>this.store.backendServices.filter(t=>!this.store.cfg.exposedServices.includes(t.name)))}matches(t){const o=this.q.trim().toLowerCase();return!o||t.name.toLowerCase().includes(o)||t.label.toLowerCase().includes(o)}dbCandidates(){return this.memoized("db",()=>this.candidates().filter(t=>"db"===t.kind&&this.matches(t)))}fileCandidates(){return this.memoized("file",()=>this.candidates().filter(t=>"file"===t.kind&&this.matches(t)))}toolDelta(t){return`+${G(t.kind).length} tools`}dormantCount(t){return this.store.dormantCurationCount(t.name)}isSelected(t){return this.selected.has(t)}toggle(t){this.selected.has(t)?this.selected.delete(t):this.selected.add(t)}markAccessTouched(){this.accessTouched=!0}groupAllSelected(t){return t.length>0&&t.every(o=>this.selected.has(o.name))}groupSomeSelected(t){const o=t.filter(i=>this.selected.has(i.name)).length;return o>0&&o({...a})),rest:{...n.rest}}}(n.cfg),r=jn(n,a,o);for(const c of a){i.exposedServices.includes(c)||i.exposedServices.push(c);const s=n.backendServices.find(l=>l.name===c);!s||r.has(c)||(St(s).forEach(l=>i.disabledTools.delete(l)),"ro"===t&&Tt(s).forEach(l=>i.disabledTools.add(l)))}return ze(i,n.backendServices).total}(this.store,[...this.selected],this.access,this.accessTouched);return`${t} selected \xb7 ${this.accessLabel()} \u2192 server will serve ${i} tools (was ${o})`}emptySearch(){return this.q.trim().length>0&&0===this.dbCandidates().length&&0===this.fileCandidates().length}confirm(){0!==this.selected.size&&this.dialogRef.close({names:[...this.selected],access:this.access,accessTouched:this.accessTouched})}cancel(){this.dialogRef.close()}static{this.\u0275fac=function(o){return new(o||n)(e.rXU(h.CP),e.rXU(h.Vh))}}static{this.\u0275cmp=e.VBU({type:n,selectors:[["df-mcp-picker"]],standalone:!0,features:[e.aNF],decls:27,vars:9,consts:[["data-testid","mcp-picker-dialog",1,"mcp-picker"],[1,"mcp-picker-head"],["mat-icon-button","","type","button","aria-label","Close",3,"click"],["type","search","data-testid","mcp-picker-search","aria-label","Search available services",1,"mcp-picker-search",3,"ngModel","placeholder","ngModelChange"],[1,"mcp-picker-access"],[1,"mcp-picker-access-label"],[3,"ngModel","ngModelChange","change"],["value","ro","data-testid","mcp-picker-access-ro"],["value","rw"],[1,"mcp-picker-body"],[4,"ngIf","ngIfElse"],["noMatch",""],[1,"mcp-picker-foot"],["data-testid","mcp-picker-consequence",1,"mcp-picker-consequence"],[1,"mcp-picker-foot-btns"],["mat-button","","type","button",3,"click"],["mat-flat-button","","color","primary","type","button","data-testid","mcp-picker-confirm",3,"disabled","click"],[4,"ngIf"],["class","mcp-picker-empty",4,"ngIf"],["class","mcp-picker-group",4,"ngIf"],[1,"mcp-picker-group"],[1,"mcp-picker-group-head"],[3,"checked","indeterminate","change"],["class","mcp-picker-row",3,"click",4,"ngFor","ngForOf","ngForTrackBy"],[1,"mcp-picker-row",3,"click"],[3,"checked","click","change"],[1,"mcp-picker-label"],[1,"mcp-chip"],[1,"mcp-picker-delta"],["class","mcp-chip warn",4,"ngIf"],[1,"mcp-chip","warn"],[1,"mcp-picker-empty"]],template:function(o,i){if(1&o&&(e.j41(0,"div",0)(1,"div",1)(2,"h2"),e.EFF(3,"Expose services"),e.k0s(),e.j41(4,"button",2),e.bIt("click",function(){return i.cancel()}),e.EFF(5," \u2715 "),e.k0s()(),e.j41(6,"input",3),e.bIt("ngModelChange",function(c){return i.q=c}),e.k0s(),e.j41(7,"div",4)(8,"span",5),e.EFF(9,"Access for these services:"),e.k0s(),e.j41(10,"mat-radio-group",6),e.bIt("ngModelChange",function(c){return i.access=c})("change",function(){return i.markAccessTouched()}),e.j41(11,"mat-radio-button",7),e.EFF(12," Read-only \u2014 recommended "),e.k0s(),e.j41(13,"mat-radio-button",8),e.EFF(14,"Read & write"),e.k0s()()(),e.j41(15,"div",9),e.DNE(16,Lp,4,3,"ng-container",10),e.DNE(17,Up,2,1,"ng-template",null,11,e.C5r),e.k0s(),e.j41(19,"div",12)(20,"span",13),e.EFF(21),e.k0s(),e.j41(22,"span",14)(23,"button",15),e.bIt("click",function(){return i.cancel()}),e.EFF(24,"Cancel"),e.k0s(),e.j41(25,"button",16),e.bIt("click",function(){return i.confirm()}),e.EFF(26),e.k0s()()()()),2&o){const r=e.sdS(18);e.R7$(6),e.Mz_("placeholder","Search ",i.candidates().length," available services\u2026"),e.Y8G("ngModel",i.q),e.R7$(4),e.Y8G("ngModel",i.access),e.R7$(6),e.Y8G("ngIf",!i.emptySearch())("ngIfElse",r),e.R7$(5),e.SpI(" ",i.consequenceText()," "),e.R7$(4),e.Y8G("disabled",0===i.selected.size),e.R7$(1),e.Lme(" Expose ",i.selected.size," ",1===i.selected.size?"service":"services"," ")}},dependencies:[d.MD,d.Sq,d.bT,m.YN,m.me,m.BC,m.vS,u.Hl,u.$z,u.iY,L.g7,L.So,h.hM,H.Wk,H.VT,H._g],styles:['@charset "UTF-8";.mcp-picker[_ngcontent-%COMP%]{display:flex;flex-direction:column;font-family:Inter,Helvetica Neue,sans-serif;min-width:320px;max-height:80vh;padding:18px 20px 14px;box-sizing:border-box}.mcp-picker-head[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:space-between}.mcp-picker-head[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{margin:0;font-size:17px;font-weight:700}.mcp-picker-search[_ngcontent-%COMP%]{margin:12px 0 10px;width:100%;box-sizing:border-box;font:inherit;font-size:13.5px;padding:8px 12px;border:1px solid color-mix(in srgb,var(--df-text) 18%,transparent);border-radius:8px}.mcp-picker-search[_ngcontent-%COMP%]:focus{outline:2px solid var(--df-accent);outline-offset:-1px}.mcp-picker-access[_ngcontent-%COMP%]{display:flex;align-items:center;gap:10px;flex-wrap:wrap;font-size:13px;margin-bottom:8px}.mcp-picker-access[_ngcontent-%COMP%] .mcp-picker-access-label[_ngcontent-%COMP%]{font-weight:600}.mcp-picker-access[_ngcontent-%COMP%] mat-radio-group[_ngcontent-%COMP%]{display:inline-flex;gap:4px;flex-wrap:wrap}.mcp-picker-body[_ngcontent-%COMP%]{flex:1;overflow-y:auto;border:1px solid color-mix(in srgb,var(--df-text) 8%,transparent);border-radius:10px;background:var(--df-surface);min-height:160px}.mcp-picker-group-head[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;padding:8px 12px 2px;font-size:11.5px;font-weight:700;letter-spacing:.04em;text-transform:uppercase;opacity:.75}.mcp-picker-row[_ngcontent-%COMP%]{display:flex;align-items:center;gap:8px;flex-wrap:wrap;padding:4px 12px;cursor:pointer;border-top:1px solid color-mix(in srgb,var(--df-text) 4%,transparent)}.mcp-picker-row[_ngcontent-%COMP%]:hover{background:color-mix(in srgb,var(--df-accent) 5%,transparent)}.mcp-picker-row[_ngcontent-%COMP%] .mcp-picker-label[_ngcontent-%COMP%]{font-weight:600;font-size:13.5px}.mcp-picker-row[_ngcontent-%COMP%] .mcp-picker-delta[_ngcontent-%COMP%]{font-size:12px;opacity:.65;font-variant-numeric:tabular-nums}.mcp-picker-empty[_ngcontent-%COMP%]{padding:22px 16px;font-size:13.5px;opacity:.75}.mcp-picker-foot[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;padding-top:12px}.mcp-picker-foot[_ngcontent-%COMP%] .mcp-picker-consequence[_ngcontent-%COMP%]{font-size:13px;font-variant-numeric:tabular-nums;opacity:.85}.mcp-picker-foot[_ngcontent-%COMP%] .mcp-picker-foot-btns[_ngcontent-%COMP%]{display:inline-flex;gap:8px;margin-left:auto}.mcp-chip[_ngcontent-%COMP%]{display:inline-flex;align-items:center;gap:5px;padding:2px 9px;border-radius:999px;font-size:12px;font-weight:600;border:1px solid color-mix(in srgb,var(--df-text) 14%,transparent);background:color-mix(in srgb,var(--df-text) 2%,transparent);white-space:nowrap}.mcp-chip.warn[_ngcontent-%COMP%]{background:var(--df-warning-soft);border-color:color-mix(in srgb,var(--df-warning) 40%,transparent);color:var(--df-warning)}@media (max-width: 700px){.mcp-picker[_ngcontent-%COMP%]{padding:14px 12px 10px;min-width:0}}']})}}return n})();function Wp(n,a){if(1&n){const t=e.RV6();e.j41(0,"div",12)(1,"span",13),e.EFF(2,"Catalog:"),e.k0s(),e.j41(3,"mat-radio-group",14),e.bIt("ngModelChange",function(i){e.eBV(t);const r=e.XpG();return e.Njj(r.view=i)}),e.j41(4,"mat-radio-button",15),e.EFF(5,"First response"),e.k0s(),e.j41(6,"mat-radio-button",16),e.EFF(7,"Full catalog"),e.k0s()(),e.j41(8,"p",17),e.EFF(9),e.k0s()()}if(2&n){const t=e.XpG();e.R7$(3),e.Y8G("ngModel",t.view),e.R7$(6),e.SpI(" ",t.lazyFlow," ")}}function Qp(n,a){1&n&&(e.j41(0,"p",19),e.EFF(1," None served. "),e.k0s())}function Zp(n,a){if(1&n&&(e.j41(0,"span",23),e.EFF(1),e.k0s()),2&n){const t=e.XpG().$implicit;e.R7$(1),e.JRh(t.meta)}}function em(n,a){if(1&n&&(e.j41(0,"div",20)(1,"code"),e.EFF(2),e.k0s(),e.DNE(3,Zp,2,1,"span",21),e.j41(4,"span",22),e.EFF(5),e.k0s()()),2&n){const t=a.$implicit;e.R7$(2),e.JRh(t.name),e.R7$(1),e.Y8G("ngIf",t.meta),e.R7$(1),e.BMQ("title",t.description),e.R7$(1),e.SpI(" ",t.description," ")}}function tm(n,a){if(1&n&&(e.j41(0,"section",18)(1,"h3"),e.EFF(2),e.k0s(),e.DNE(3,Qp,2,0,"p",7),e.DNE(4,em,6,4,"div",8),e.k0s()),2&n){const t=a.$implicit,o=e.XpG();e.R7$(2),e.JRh(t.label),e.R7$(1),e.Y8G("ngIf",0===t.items.length),e.R7$(1),e.Y8G("ngForOf",t.items)("ngForTrackBy",o.trackByItemName)}}function nm(n,a){1&n&&(e.j41(0,"p",19),e.EFF(1," Nothing is excluded \u2014 every catalog tool is served. "),e.k0s())}function om(n,a){if(1&n&&(e.j41(0,"div",20)(1,"code"),e.EFF(2),e.k0s(),e.j41(3,"span",24),e.EFF(4),e.k0s()()),2&n){const t=a.$implicit;e.R7$(2),e.JRh(t.name),e.R7$(2),e.JRh(t.reason)}}let im=(()=>{class n{constructor(t,o,i){this.dialogRef=t,this.data=o,this.snackbar=i,this.groups=[],this.excluded=[],this.total=0,this.lazyEngaged=!1,this.lazyAuto=!0,this.view="full",this.firstResponseGroups=[{label:`First response \u2014 discovery tools (${Me.length})`,items:this.firstResponseItems()}],this.trackByLabel=(r,c)=>c.label,this.trackByItemName=(r,c)=>c.name,this.trackByExcluded=(r,c)=>`${c.name}|${c.reason}`,this.lazyFlow="Agents call search_tools to find a tool, describe_tool for its schema, then call_tool to run it; fetch_more pages long results."}get store(){return this.data.store}ngOnInit(){this.store.isSystemMcp?this.buildSystem():this.buildMcp(),this.stats=this.store.catalogStats(),this.lazyEngaged=this.stats.lazy,this.lazyAuto="auto"===this.store.cfg.lazyMode,this.lazyEngaged&&(this.view="first")}buildMcp(){const t=this.store,o=t.cfg,i=o.disabledTools,r=t.effective(),c=r.effectiveStyle,s=t.rows(),l=s.filter(_=>!!_.svc),p=l.map(_=>_.svc).filter(_=>_.active&&"db"===_.kind),f=l.map(_=>_.svc).filter(_=>_.active&&"file"===_.kind),M=Ve(p.length,f.length),v=ye.filter(_=>!i.has(_.verb)).map(_=>({name:_.verb,description:_.description}));for(const _ of M)i.has(_.verb)||v.push({name:_.verb,description:_.description});this.groups.push({label:`Global (${v.length})`,items:v});const x=[];if(p.length>0)if("merged"===c){for(const _ of G("db")){const C=Et(_.verb,o,t.backendServices);0!==C.on.length&&x.push({name:_.verb,description:_.description,meta:`service: ${C.on.join(", ")} (${C.on.length} of ${C.total})`})}this.groups.push({label:`Database \u2014 consolidated, service argument (${x.length})`,items:x})}else{for(const _ of p)for(const C of G("db"))re(o,_.name,C.verb)&&x.push({name:$t("prefixed",_.name,C.verb),description:C.description});this.groups.push({label:`Database (${x.length})`,items:x})}const F=[];if(f.length>0)if("merged"===c){for(const _ of G("file")){const C=f.filter(k=>re(o,k.name,_.verb)).map(k=>k.name);0!==C.length&&F.push({name:_.verb,description:_.description,meta:`service: ${C.join(", ")} (${C.length} of ${f.length})`})}this.groups.push({label:`File \u2014 consolidated, service argument (${F.length})`,items:F})}else{for(const _ of f)for(const C of G("file"))re(o,_.name,C.verb)&&F.push({name:ne(_.name,C.verb),description:C.description});this.groups.push({label:`File (${F.length})`,items:F})}const T=(o.customTools??[]).filter(_=>Rt(o,_)).map(_=>({name:_.name??"",description:_.description??""}));T.length>0&&this.groups.push({label:`Custom (${T.length})`,items:T});const z=t.backendServices.filter(_=>!o.exposedServices.includes(_.name));if(z.length>0){const _=z.map(y=>y.name),C=_.slice(0,3).join(", ");this.excluded.push({name:C+(_.length>3?`, +${_.length-3} more`:""),reason:"not exposed"})}if(!1===o.allowWrites){const _=(o.customTools??[]).filter(C=>!1!==C?.enabled&&0!==C?.enabled&&tt(C)).length;this.excluded.push({name:"write & execute tools"+(_?` + ${_} custom`:""),reason:"writes are off for this server"})}for(const _ of l)_.svc.active||this.excluded.push({name:_.name,reason:"service inactive"});for(const _ of s)_.svc||this.excluded.push({name:_.name,reason:"no service with this name exists"});for(const _ of l)if(_.svc.active)for(const C of Oe(_.svc.kind)){const k=et(_.svc,C,i);if("off"===k)this.excluded.push({name:`${_.name} \xb7 ${C.label.toLowerCase()}`,reason:"turned off by you"});else if("part"===k&&("prefixed"===c||"file"===_.svc.kind))for(const y of C.verbs)i.has(ne(_.name,y.verb))&&this.excluded.push({name:ne(_.name,y.verb),reason:"turned off by you"})}if("merged"===c&&p.length>0)for(const _ of G("db"))!1===o.allowWrites&&Qe.has(_.verb)||0===Et(_.verb,o,t.backendServices).on.length&&this.excluded.push({name:_.verb,reason:"turned off in every exposed database"});p.length<2&&this.excluded.push({name:"cross-database aggregators",reason:"served only with two or more databases"});for(const _ of ye)i.has(_.verb)&&this.excluded.push({name:_.verb,reason:"turned off by you"});for(const _ of M)i.has(_.verb)&&this.excluded.push({name:_.verb,reason:"turned off by you"});for(const _ of o.customTools??[])(!1===_?.enabled||0===_?.enabled)&&this.excluded.push({name:_.name??"",reason:"turned off by you"});this.total=r.total}buildSystem(){const o=this.store.cfg.disabledTools,i=oe.filter(r=>!o.has(r.name));this.groups.push({label:`System API (${i.length})`,items:i.map(r=>({name:r.name,description:r.description}))});for(const r of oe)o.has(r.name)&&this.excluded.push({name:r.name,reason:"turned off by you"});this.total=i.length}firstResponseItems(){return Me.map(t=>({name:t.verb,description:t.description}))}visibleGroups(){return this.lazyEngaged&&"first"===this.view?this.firstResponseGroups:this.groups}tokenLabel(){const t="server"===this.stats.source?"":" (estimate)";return`${Rn(this.stats.tokens)} tokens per turn${t}`}lazyLabel(){return this.lazyEngaged?`Lazy loading: engaged (${this.lazyAuto?"auto":"always on"}) \u2014 ${de(this.stats.facadeBytes)} facade instead of ${de(this.stats.bytes)}`:`Lazy loading: not engaged (${de(this.stats.bytes)} of ${de(Ze)})`}copyJson(){const t=this.visibleGroups().flatMap(i=>i.items).map(i=>({name:i.name,description:i.description})),o=JSON.stringify(t,null,2);navigator.clipboard?.writeText(o).catch(()=>{}),this.snackbar.openSnackBar("tools/list JSON copied.","success")}close(){this.dialogRef.close()}static{this.\u0275fac=function(o){return new(o||n)(e.rXU(h.CP),e.rXU(h.Vh),e.rXU(pe.L))}}static{this.\u0275cmp=e.VBU({type:n,selectors:[["df-mcp-preview"]],standalone:!0,features:[e.aNF],decls:19,vars:10,consts:[["data-testid","mcp-preview-drawer",1,"mcp-preview"],[1,"mcp-preview-head"],["mat-icon-button","","type","button","aria-label","Close",3,"click"],["class","mcp-preview-controls",4,"ngIf"],[1,"mcp-preview-body"],["class","mcp-preview-group",4,"ngFor","ngForOf","ngForTrackBy"],["data-testid","mcp-preview-excluded",1,"mcp-preview-group","mcp-preview-excluded"],["class","mcp-preview-none",4,"ngIf"],["class","mcp-preview-item",4,"ngFor","ngForOf","ngForTrackBy"],[1,"mcp-preview-foot"],[1,"mcp-preview-foot-facts"],["mat-stroked-button","","type","button",3,"click"],[1,"mcp-preview-controls"],[1,"mcp-preview-controls-label"],[3,"ngModel","ngModelChange"],["value","first"],["value","full"],["data-testid","mcp-preview-lazy-flow",1,"mcp-preview-flow"],[1,"mcp-preview-group"],[1,"mcp-preview-none"],[1,"mcp-preview-item"],["class","mcp-preview-meta",4,"ngIf"],[1,"mcp-preview-desc"],[1,"mcp-preview-meta"],[1,"mcp-preview-reason"]],template:function(o,i){1&o&&(e.j41(0,"div",0)(1,"div",1)(2,"h2"),e.EFF(3),e.k0s(),e.j41(4,"button",2),e.bIt("click",function(){return i.close()}),e.EFF(5," \u2715 "),e.k0s()(),e.DNE(6,Wp,10,2,"div",3),e.j41(7,"div",4),e.DNE(8,tm,5,4,"section",5),e.j41(9,"section",6)(10,"h3"),e.EFF(11,"Excluded (not served)"),e.k0s(),e.DNE(12,nm,2,0,"p",7),e.DNE(13,om,5,2,"div",8),e.k0s()(),e.j41(14,"div",9)(15,"span",10),e.EFF(16),e.k0s(),e.j41(17,"button",11),e.bIt("click",function(){return i.copyJson()}),e.EFF(18," Copy tools/list JSON "),e.k0s()()()),2&o&&(e.R7$(3),e.SpI("What an agent sees \u2014 as served at /mcp/",i.store.service.name,""),e.R7$(3),e.Y8G("ngIf",i.lazyEngaged),e.R7$(2),e.Y8G("ngForOf",i.visibleGroups())("ngForTrackBy",i.trackByLabel),e.R7$(4),e.Y8G("ngIf",0===i.excluded.length),e.R7$(1),e.Y8G("ngForOf",i.excluded)("ngForTrackBy",i.trackByExcluded),e.R7$(3),e.E5c(" ",i.total," tools \xb7 ",i.tokenLabel()," \xb7 ",i.lazyLabel()," "))},dependencies:[d.MD,d.Sq,d.bT,m.YN,m.BC,m.vS,u.Hl,u.$z,u.iY,h.hM,H.Wk,H.VT,H._g],styles:['@charset "UTF-8";.mcp-preview[_ngcontent-%COMP%]{display:flex;flex-direction:column;height:100%;min-height:0;font-family:Inter,Helvetica Neue,sans-serif;padding:18px 20px 14px;box-sizing:border-box;background:var(--df-surface)}.mcp-preview-head[_ngcontent-%COMP%]{display:flex;align-items:flex-start;justify-content:space-between;gap:10px}.mcp-preview-head[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{margin:0;font-size:15.5px;font-weight:700;line-height:1.35}.mcp-preview-controls[_ngcontent-%COMP%]{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-top:10px;font-size:13px}.mcp-preview-controls[_ngcontent-%COMP%] .mcp-preview-controls-label[_ngcontent-%COMP%]{font-weight:600}.mcp-preview-controls[_ngcontent-%COMP%] .mcp-preview-flow[_ngcontent-%COMP%]{flex-basis:100%;margin:0;opacity:.75}.mcp-preview-body[_ngcontent-%COMP%]{flex:1;overflow-y:auto;margin-top:12px;min-height:0}.mcp-preview-group[_ngcontent-%COMP%]{margin-bottom:18px}.mcp-preview-group[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{font-size:11.5px;font-weight:700;letter-spacing:.05em;text-transform:uppercase;opacity:.7;margin:0 0 6px}.mcp-preview-item[_ngcontent-%COMP%]{display:flex;align-items:baseline;gap:8px;flex-wrap:nowrap;padding:3px 0;font-size:13px;min-width:0}.mcp-preview-item[_ngcontent-%COMP%] code[_ngcontent-%COMP%]{font-size:12.5px;background:color-mix(in srgb,var(--df-text) 3.5%,transparent);border:1px solid color-mix(in srgb,var(--df-text) 8%,transparent);border-radius:6px;padding:1px 7px;flex-shrink:0;white-space:nowrap}.mcp-preview-item[_ngcontent-%COMP%] .mcp-preview-meta[_ngcontent-%COMP%]{font-size:12px;color:var(--df-accent);font-variant-numeric:tabular-nums;flex-shrink:0;white-space:nowrap}.mcp-preview-item[_ngcontent-%COMP%] .mcp-preview-desc[_ngcontent-%COMP%]{font-size:12px;opacity:.65;flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mcp-preview-item[_ngcontent-%COMP%] .mcp-preview-reason[_ngcontent-%COMP%]{font-size:12px;color:var(--df-warning);flex-shrink:0;white-space:nowrap}.mcp-preview-excluded[_ngcontent-%COMP%]{border-top:1px solid color-mix(in srgb,var(--df-text) 8%,transparent);padding-top:12px}.mcp-preview-excluded[_ngcontent-%COMP%] .mcp-preview-item[_ngcontent-%COMP%] code[_ngcontent-%COMP%]{opacity:.75;flex-shrink:1;min-width:0;overflow:hidden;text-overflow:ellipsis}.mcp-preview-none[_ngcontent-%COMP%]{font-size:12.5px;opacity:.6;margin:0}.mcp-preview-foot[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;border-top:1px solid color-mix(in srgb,var(--df-text) 8%,transparent);padding-top:10px}.mcp-preview-foot[_ngcontent-%COMP%] .mcp-preview-foot-facts[_ngcontent-%COMP%]{font-size:12.5px;font-variant-numeric:tabular-nums;opacity:.8}@media (max-width: 700px){.mcp-preview[_ngcontent-%COMP%]{padding:14px 12px 10px}}']})}}return n})();const Nn=1,am=30,rm=31;function nt(n){return n<=0?"none":n&am?"rw":"read"}function cm(n){return"rw"===n?rm:"read"===n?Nn:0}const Nt="_table/",sm=/^_table\/([^/*][^/]*)\/\*$/;function Be(n){const a=sm.exec(n);return a?a[1]:null}function An(n){return n===Nt||"_table"===n}const ot={level:"none",tables:null,editable:!0,mask:0};function lm(n){const a=n.filter(p=>p.verbMask>0),t=a.reduce((p,f)=>p|f.verbMask,0);if(0===a.length)return{...ot};const o=a.some(p=>Array.isArray(p.filters)&&p.filters.length>0),i=a.filter(p=>"*"===p.component),r=a.filter(p=>Be(p.component)),c=a.filter(p=>An(p.component)),s=a.length-i.length-r.length-c.length,l=r.length?r.map(p=>Be(p.component)):null;if(o||s>0||i.length&&r.length)return{level:nt(t),tables:l,editable:!1,mask:t};if(i.length){const p=i.reduce((f,M)=>f|M.verbMask,0);return{level:nt(p),tables:null,editable:!0,mask:p}}if(r.length){const p=r[0].verbMask;return r.some(f=>f.verbMask!==p)?{level:nt(t),tables:l,editable:!1,mask:t}:{level:nt(p),tables:l,editable:!0,mask:p}}return{level:"none",tables:null,editable:!0,mask:t}}function it(n,a){const t={};for(const o of a)t[o]=lm(n.filter(i=>i.serviceId===o));return t}function At(n){return n.before!==n.after||"none"!==n.after&&!function dm(n,a){return[...n??[]].sort().join("|")===[...a??[]].sort().join("|")}(n.beforeTables,n.tables)}function mm(n){return n.tables?.length?n.tableTotal?`${n.label} (${n.tables.length} of ${n.tableTotal} tables)`:`${n.label} (${n.tables.length} tables)`:n.label}function Yn(n,a){const t={server:"none",read:[],rw:[],deltas:[],listing:!1};for(const o of n){if(o.serviceId===a){t.server="none"===o.before?"grant":"keep";continue}if(!At(o))continue;"none"!==o.after&&o.tables?.length&&(t.listing=!0);const i=mm(o);o.before===o.after?t.deltas.push({label:i,delta:"~tables"}):"none"===o.before?("rw"===o.after?t.rw:t.read).push(i):t.deltas.push("none"===o.after?{label:o.label,delta:"-access"}:{label:i,delta:"rw"===o.after?"+write":"-write"})}return t}const _m={"+write":"+ write on","-write":"\u2212 write on","-access":"\u2212 access on","~tables":"tables on"},Vn=(n,a,t)=>`${n} ${1===n?a:t}`;function Xn(n,a){const t=[],o=r=>{null!=r.id&&t.push({id:r.id,role_id:null})},i=(r,c,s,l)=>{null!=r?.id&&r.verbMask===l||t.push({...null!=r?.id?{id:r.id}:{},service_id:c,component:s,verb_mask:l,requestor_mask:r?.requestorMask??3,filters:[],filter_op:"AND"})};for(const r of n){if(!At(r))continue;const c=a.filter(x=>x.serviceId===r.serviceId),s=c.find(x=>"*"===x.component),l=c.filter(x=>Be(x.component)),p=c.filter(x=>An(x.component));if("none"===r.after){s&&o(s),l.forEach(o),p.forEach(o);continue}const f=cm(r.after);if(!r.tables?.length){i(s,r.serviceId,"*",f),l.forEach(o),p.forEach(o);continue}s&&o(s);const M=new Set(r.tables);for(const x of l)M.has(Be(x.component))||o(x);for(const x of r.tables)i(l.find(T=>Be(T.component)===x),r.serviceId,`_table/${x}/*`,f);const v=p.find(x=>x.component===Nt);p.filter(x=>x!==v).forEach(o),i(v,r.serviceId,Nt,Nn)}return t}function zn(n,a,t,o){const i=n[a]??n[t];return null==i?o:!0===i||1===i||"1"===i||"true"===i}let Bn=(()=>{class n{constructor(t){this.http=t}access(t){return this.http.get("/_internal/ai/mcp-access",{params:{service:String(t),period:"30d"},context:(0,K.Ku)()}).pipe((0,I.W)(()=>(0,B.of)(null)))}roles(){return this.http.get(`${N.C}/system/role`,{params:{fields:"id,name,is_active",related:"role_service_access_by_role_id",limit:"1000"},context:(0,K.Ku)()}).pipe((0,X.T)(t=>(t?.resource??[]).map(o=>({id:o.id,name:o.name,isActive:o.isActive,rows:(o.roleServiceAccessByRoleId??[]).map(i=>({id:i.id,serviceId:i.serviceId,component:i.component,verbMask:i.verbMask??0,requestorMask:i.requestorMask,filters:i.filters??null}))}))),(0,I.W)(()=>(0,B.of)([])))}apps(){return this.http.get(`${N.C}/system/app`,{params:{fields:"id,name,role_id,is_active",limit:"1000"},context:(0,K.Ku)()}).pipe((0,X.T)(t=>(t?.resource??[]).filter(o=>!1!==o.isActive&&null!=o.roleId).map(o=>({id:o.id,name:o.name,roleId:o.roleId}))),(0,I.W)(()=>(0,B.of)([])))}listTables(t){return this.http.get(`${N.C}/${t}/_table`,{params:{as_list:"true"},context:(0,K.Ku)()}).pipe((0,X.T)(o=>Array.isArray(o?.resource)?o.resource:[]),(0,I.W)(()=>(0,B.of)([])))}patchRoleAccess(t,o){return this.http.patch(`${N.C}/system/role/${t}`,{role_service_access_by_role_id:o},{context:(0,K.PH)()})}createRole(t,o,i){return this.http.post(`${N.C}/system/role`,{resource:[{name:t,description:o,is_active:!0,role_service_access_by_role_id:i}]},{params:{fields:"id"},context:(0,K.PH)()}).pipe((0,X.T)(r=>r?.resource?.[0]?.id))}createAppKey(t,o){return this.http.post(`${N.C}/system/app`,{resource:[{name:t,type:0,role_id:o,is_active:!0}]},{params:{fields:"id,api_key"},context:(0,K.PH)()}).pipe((0,X.T)(i=>i?.resource?.[0]?.apiKey??null))}static{this.\u0275fac=function(o){return new(o||n)(e.KVO(ee.Qq))}}static{this.\u0275prov=e.jDH({token:n,factory:n.\u0275fac,providedIn:"root"})}}return n})();function hm(n,a){1&n&&(e.j41(0,"span",1),e.EFF(1," API-key auth is off on this server \u2014 turn it on in Settings \u2192 Authentication before clients use the key. "),e.k0s())}function bm(n,a){if(1&n){const t=e.RV6();e.j41(0,"div",8)(1,"span"),e.EFF(2,"API key created. Copy it now \u2014 it is shown once."),e.k0s(),e.j41(3,"code",9),e.EFF(4),e.k0s(),e.j41(5,"button",10),e.bIt("click",function(){e.eBV(t);const i=e.XpG(2);return e.Njj(i.copyKey())}),e.EFF(6," Copy key "),e.k0s(),e.j41(7,"span",1),e.EFF(8,"The Connect tab\u2019s API-key snippets now use this key."),e.k0s(),e.DNE(9,hm,2,0,"span",5),e.k0s()}if(2&n){const t=e.XpG(2);e.R7$(4),e.JRh(t.apiKey),e.R7$(5),e.Y8G("ngIf",!t.data.store.cfg.allowApiKeyAuth)}}function vm(n,a){1&n&&(e.j41(0,"p",1),e.EFF(1," The API key could not be created; add one under API Keys. "),e.k0s())}function xm(n,a){if(1&n){const t=e.RV6();e.qex(0),e.j41(1,"p",3),e.EFF(2),e.k0s(),e.DNE(3,bm,10,2,"div",4),e.DNE(4,vm,2,0,"p",5),e.j41(5,"div",6)(6,"button",7),e.bIt("click",function(){e.eBV(t);const i=e.XpG();return e.Njj(i.dialogRef.close(!0))}),e.EFF(7," Done "),e.k0s()(),e.bVm()}if(2&n){const t=e.XpG();e.R7$(2),e.SpI(" Role ",t.name," created and granted this MCP server. "),e.R7$(1),e.Y8G("ngIf",t.apiKey),e.R7$(1),e.Y8G("ngIf",!t.apiKey)}}function Cm(n,a){if(1&n&&(e.j41(0,"mat-option",25),e.EFF(1),e.k0s()),2&n){const t=a.$implicit;e.Y8G("value",t.id),e.R7$(1),e.JRh(t.name)}}function km(n,a){if(1&n){const t=e.RV6();e.j41(0,"mat-form-field",22)(1,"mat-label"),e.EFF(2,"Role"),e.k0s(),e.j41(3,"mat-select",23),e.bIt("selectionChange",function(i){e.eBV(t);const r=e.XpG(2);return e.Njj(r.onRolePicked(i.value))}),e.DNE(4,Cm,2,2,"mat-option",24),e.k0s()()}if(2&n){const t=e.XpG(2);e.R7$(3),e.Y8G("value",t.roleId),e.R7$(1),e.Y8G("ngForOf",t.addableRoles)}}function ym(n,a){if(1&n){const t=e.RV6();e.j41(0,"mat-form-field",22)(1,"mat-label"),e.EFF(2,"Role name"),e.k0s(),e.j41(3,"input",26),e.bIt("ngModelChange",function(i){e.eBV(t);const r=e.XpG(2);return e.Njj(r.name=i)}),e.k0s()()}if(2&n){const t=e.XpG(2);e.R7$(3),e.Y8G("ngModel",t.name)}}function Mm(n,a){if(1&n){const t=e.RV6();e.j41(0,"mat-checkbox",27),e.bIt("ngModelChange",function(i){e.eBV(t);const r=e.XpG(2);return e.Njj(r.createKey=i)}),e.EFF(1," Also create an API key "),e.k0s()}if(2&n){const t=e.XpG(2);e.Y8G("ngModel",t.createKey)}}const Om=function(n,a){return[n,a]};function Pm(n,a){if(1&n){const t=e.RV6();e.j41(0,"span",28)(1,"code"),e.EFF(2),e.k0s(),e.j41(3,"a",29),e.bIt("click",function(){e.eBV(t);const i=e.XpG(2);return e.Njj(i.dialogRef.close())}),e.EFF(4,"Role page \u2197"),e.k0s()()}if(2&n){const t=e.XpG(2);e.R7$(2),e.JRh(t.data.role.name),e.R7$(1),e.Y8G("routerLink",e.l_i(2,Om,t.roleRoute,t.data.role.id))}}function Fm(n,a){if(1&n){const t=e.RV6();e.j41(0,"input",30),e.bIt("ngModelChange",function(i){e.eBV(t);const r=e.XpG(2);return e.Njj(r.filter=i)}),e.k0s()}if(2&n){const t=e.XpG(2);e.Y8G("ngModel",t.filter)}}function wm(n,a){1&n&&(e.j41(0,"p",1),e.EFF(1," Nothing is exposed yet; the role will only be granted the MCP server. "),e.k0s())}function Dm(n,a){1&n&&(e.j41(0,"p",31),e.EFF(1," Writes are blocked on this server \u2014 Read and write is unavailable. "),e.k0s())}function Tm(n,a){1&n&&(e.j41(0,"span",41),e.EFF(1," limited on the role page "),e.k0s())}function Sm(n,a){1&n&&(e.j41(0,"span",41),e.EFF(1," pick a role first "),e.k0s())}function Rm(n,a){if(1&n){const t=e.RV6();e.j41(0,"button",46),e.bIt("click",function(){e.eBV(t);const i=e.XpG(2).$implicit,r=e.XpG(4);return e.Njj(r.toggleExpanded(i))}),e.EFF(1),e.k0s()}if(2&n){const t=e.XpG(2).$implicit,o=e.XpG(4);e.BMQ("aria-expanded",o.expanded.has(t.id)),e.R7$(1),e.Lme(" ",o.expanded.has(t.id)?"\u25be":"\u25b8"," ",o.limitLabel(t)," ")}}function Im(n,a){if(1&n){const t=e.RV6();e.j41(0,"button",47),e.bIt("click",function(){const r=e.eBV(t).$implicit,c=e.XpG(2).$implicit,s=e.XpG(4);return e.Njj(s.setLevel(c,r))}),e.EFF(1),e.k0s()}if(2&n){const t=a.$implicit,o=e.XpG(2).$implicit,i=e.XpG(4);e.AVh("on",i.levels[o.id]===t),e.Y8G("disabled","rw"===t&&!i.data.allowWrites)("matTooltip","rw"!==t||i.data.allowWrites?"":"Writes are blocked on this server"),e.BMQ("aria-checked",i.levels[o.id]===t)("data-level",t),e.R7$(1),e.SpI(" ",i.levelText[t]," ")}}function Em(n,a){if(1&n&&(e.j41(0,"div",42),e.DNE(1,Rm,2,3,"button",43),e.j41(2,"div",44),e.DNE(3,Im,2,7,"button",45),e.k0s()()),2&n){const t=e.XpG().$implicit,o=e.XpG(4);e.R7$(1),e.Y8G("ngIf",o.canLimit(t)),e.R7$(1),e.BMQ("aria-label",t.svc.label),e.R7$(1),e.Y8G("ngForOf",o.levelsList)}}function $m(n,a){1&n&&(e.j41(0,"p",1),e.EFF(1," Loading tables\u2026 "),e.k0s())}function Gm(n,a){1&n&&(e.j41(0,"p",1),e.EFF(1," No tables found (or the admin cannot list them). "),e.k0s())}function jm(n,a){if(1&n){const t=e.RV6();e.j41(0,"input",52),e.bIt("ngModelChange",function(i){e.eBV(t);const r=e.XpG(3).$implicit,c=e.XpG(4);return e.Njj(c.tableFilter[r.id]=i)}),e.k0s()}if(2&n){const t=e.XpG(3).$implicit,o=e.XpG(4);e.Y8G("ngModel",o.tableFilter[t.id])("name","tf_"+t.svc.name)}}function Nm(n,a){if(1&n){const t=e.RV6();e.j41(0,"mat-checkbox",53),e.bIt("change",function(){const r=e.eBV(t).$implicit,c=e.XpG(3).$implicit,s=e.XpG(4);return e.Njj(s.toggleTable(c,r))}),e.EFF(1),e.k0s()}if(2&n){const t=a.$implicit,o=e.XpG(3).$implicit,i=e.XpG(4);e.Y8G("checked",i.ticked(o,t)),e.BMQ("data-table",t),e.R7$(1),e.SpI(" ",t," ")}}function Am(n,a){if(1&n&&(e.qex(0),e.DNE(1,Gm,2,0,"p",5),e.DNE(2,jm,1,2,"input",49),e.j41(3,"div",50),e.DNE(4,Nm,2,3,"mat-checkbox",51),e.k0s(),e.j41(5,"p",1),e.EFF(6),e.k0s(),e.bVm()),2&n){const t=a.ngIf,o=e.XpG(2).$implicit,i=e.XpG(4);e.R7$(1),e.Y8G("ngIf",0===t.length),e.R7$(1),e.Y8G("ngIf",t.length>12),e.R7$(2),e.Y8G("ngForOf",i.visibleTables(o)),e.R7$(2),e.SpI(" ",0===i.tickedCount(o)?"Nothing ticked: whole service.":i.limitLabel(o)," ")}}function Ym(n,a){if(1&n&&(e.j41(0,"div",48),e.DNE(1,$m,2,0,"p",5),e.DNE(2,Am,7,4,"ng-container",2),e.k0s()),2&n){const t=e.XpG().$implicit,o=e.XpG(4);e.BMQ("data-tables-for",t.svc.name),e.R7$(1),e.Y8G("ngIf",o.loadingTables.has(t.svc.name)),e.R7$(1),e.Y8G("ngIf",o.tablesOf(t))}}function Vm(n,a){if(1&n&&(e.qex(0),e.j41(1,"div",36)(2,"div",37)(3,"span"),e.EFF(4),e.k0s(),e.j41(5,"code"),e.EFF(6),e.k0s()(),e.DNE(7,Tm,2,0,"span",38),e.DNE(8,Sm,2,0,"span",38),e.DNE(9,Em,4,3,"div",39),e.k0s(),e.DNE(10,Ym,3,3,"div",40),e.bVm()),2&n){const t=a.$implicit,o=e.XpG(4);e.R7$(1),e.BMQ("data-backend",t.svc.name),e.R7$(3),e.JRh(t.svc.label),e.R7$(2),e.JRh(t.svc.name),e.R7$(1),e.Y8G("ngIf",!t.spec.editable),e.R7$(1),e.Y8G("ngIf",t.spec.editable&&"add"===o.mode&&!o.roleId),e.R7$(1),e.Y8G("ngIf",!o.locked(t)),e.R7$(1),e.Y8G("ngIf",o.canLimit(t)&&o.expanded.has(t.id))}}function Xm(n,a){if(1&n){const t=e.RV6();e.j41(0,"div",33)(1,"div",34)(2,"span"),e.EFF(3),e.k0s(),e.j41(4,"button",35),e.bIt("click",function(){e.eBV(t);const i=e.XpG().$implicit,r=e.XpG(2);return e.Njj(r.readOnAll(i.kind))}),e.EFF(5," Read on all "),e.k0s()(),e.DNE(6,Vm,11,7,"ng-container",17),e.k0s()}if(2&n){const t=e.XpG().$implicit,o=e.XpG(2);e.R7$(3),e.JRh(t.label),e.R7$(1),e.Y8G("disabled","add"===o.mode&&!o.roleId),e.R7$(2),e.Y8G("ngForOf",t.rows)("ngForTrackBy",o.trackByRow)}}function zm(n,a){if(1&n&&(e.qex(0),e.DNE(1,Xm,7,4,"div",32),e.bVm()),2&n){const t=a.$implicit;e.R7$(1),e.Y8G("ngIf",t.rows.length>0)}}function Bm(n,a){if(1&n&&(e.j41(0,"p",54),e.EFF(1),e.k0s()),2&n){const t=e.XpG(2);e.R7$(1),e.JRh(t.error)}}function Lm(n,a){1&n&&(e.j41(0,"span",1),e.EFF(1," This changes what the role can do everywhere, not only through MCP. "),e.k0s())}function Um(n,a){if(1&n){const t=e.RV6();e.qex(0),e.j41(1,"div",11),e.DNE(2,km,5,2,"mat-form-field",12),e.DNE(3,ym,4,1,"mat-form-field",12),e.DNE(4,Mm,2,1,"mat-checkbox",13),e.DNE(5,Pm,5,5,"span",14),e.DNE(6,Fm,1,1,"input",15),e.k0s(),e.DNE(7,wm,2,0,"p",5),e.DNE(8,Dm,2,0,"p",16),e.DNE(9,zm,2,1,"ng-container",17),e.j41(10,"p",18),e.EFF(11),e.k0s(),e.DNE(12,Bm,2,1,"p",19),e.j41(13,"div",6),e.DNE(14,Lm,2,0,"span",5),e.j41(15,"button",20),e.bIt("click",function(){e.eBV(t);const i=e.XpG();return e.Njj(i.dialogRef.close())}),e.EFF(16," Cancel "),e.k0s(),e.j41(17,"button",21),e.bIt("click",function(){e.eBV(t);const i=e.XpG();return e.Njj(i.save())}),e.EFF(18),e.k0s()(),e.bVm()}if(2&n){const t=e.XpG();e.R7$(2),e.Y8G("ngIf","add"===t.mode),e.R7$(1),e.Y8G("ngIf","create"===t.mode),e.R7$(1),e.Y8G("ngIf","create"===t.mode),e.R7$(1),e.Y8G("ngIf","edit"===t.mode&&t.data.role),e.R7$(1),e.Y8G("ngIf",t.showFilter),e.R7$(1),e.Y8G("ngIf",0===t.data.backends.length),e.R7$(1),e.Y8G("ngIf",!t.data.allowWrites),e.R7$(1),e.Y8G("ngForOf",t.groups)("ngForTrackBy",t.trackByKind),e.R7$(2),e.SpI(" ",t.summaryText," "),e.R7$(1),e.Y8G("ngIf",t.error),e.R7$(2),e.Y8G("ngIf",t.touchesApis),e.R7$(3),e.Y8G("disabled",!t.canSave),e.R7$(1),e.SpI(" ",t.saving?"Saving\u2026":"create"===t.mode?"Create role":"Save"," ")}}const Ln="/api-connections/role-based-access";let qm=(()=>{class n{constructor(t,o,i){this.dialogRef=t,this.data=o,this.api=i,this.levelsList=["none","read","rw"],this.levelText={none:"No access",read:"Read",rw:"Read and write"},this.roleRoute=Ln,this.roleId=null,this.name="",this.createKey=!1,this.levels={},this.tables={},this.expanded=new Set,this.tableFilter={},this.tableCache={},this.loadingTables=new Set,this.filter="",this.saving=!1,this.error="",this.done=!1,this.apiKey=null,this.trackByKind=(r,c)=>c.kind,this.trackByRow=(r,c)=>c.id,this.mode=o.mode,this.serviceId=o.store.service.id,this.serviceLabel=o.store.service.label||o.store.service.name;for(const r of o.backends)this.levels[r.id]="none";"edit"===o.mode&&o.role&&(this.roleId=o.role.id,this.seed(o.role)),"create"===o.mode&&(this.name=function um(n){const a=n.toLowerCase().replace(/[^a-z0-9]+/g,"_").replace(/^_|_$/g,"");return a?`${a}_access`:"mcp_access"}(this.serviceLabel))}get title(){return"create"===this.mode?`Create a role for ${this.serviceLabel}`:"add"===this.mode?`Add a role to ${this.serviceLabel}`:`Edit access to ${this.serviceLabel}`}get hint(){return"edit"===this.mode?"Per exposed service. No access removes the role\u2019s row for that service.":"The role is granted this MCP server. Pick what else it may reach \u2014 No access is the default."}ids(){return[this.serviceId,...this.data.backends.map(t=>t.id)]}seed(t){const o=it(t.rows,this.ids());this.tables={};for(const i of this.data.backends){const r=i.id;this.levels[r]=o[r]?.level??"none",o[r]?.tables?.length&&(this.tables[r]=[...o[r].tables])}}get addableRoles(){return this.data.roles.filter(t=>!1!==t.isActive&&!this.data.grantedIds.has(t.id))}get currentRole(){return this.data.role??this.data.roles.find(t=>t.id===this.roleId)}currentSpecs(){return it(this.currentRole?.rows??[],this.ids())}onRolePicked(t){this.roleId=t;const o=this.currentRole;o&&this.seed(o)}get showFilter(){return this.data.backends.length>6}rowsOf(t){const o=this.currentSpecs(),i=this.filter.trim().toLowerCase();return this.data.backends.filter(r=>r.kind===t).filter(r=>!i||r.label.toLowerCase().includes(i)||r.name.toLowerCase().includes(i)).map(r=>({svc:r,id:r.id,spec:o[r.id]??ot}))}get groups(){return[{kind:"db",label:"Databases",rows:this.rowsOf("db")},{kind:"file",label:"File stores",rows:this.rowsOf("file")}]}locked(t){return"add"===this.mode&&!this.roleId||!t.spec.editable}setLevel(t,o){this.locked(t)||"rw"===o&&!this.data.allowWrites||(this.levels[t.id]=o,"none"===o&&(delete this.tables[t.id],this.expanded.delete(t.id)))}readOnAll(t){for(const o of this.rowsOf(t))!this.locked(o)&&"none"===this.levels[o.id]&&(this.levels[o.id]="read")}canLimit(t){return"db"===t.svc.kind&&!this.locked(t)&&"none"!==(this.levels[t.id]??"none")}toggleExpanded(t){if(this.expanded.delete(t.id))return;this.expanded.add(t.id);const o=t.svc.name;this.tableCache[o]||this.loadingTables.has(o)||(this.loadingTables.add(o),this.api.listTables(o).subscribe(i=>{this.tableCache[o]=i,this.loadingTables.delete(o)}))}tablesOf(t){return this.tableCache[t.svc.name]??null}visibleTables(t){const o=this.tablesOf(t)??[],i=(this.tableFilter[t.id]??"").trim().toLowerCase();return i?o.filter(r=>r.toLowerCase().includes(i)):o}ticked(t,o){return(this.tables[t.id]??[]).includes(o)}toggleTable(t,o){const i=this.tables[t.id]??[];this.tables[t.id]=i.includes(o)?i.filter(r=>r!==o):[...i,o]}tickedCount(t){return(this.tables[t.id]??[]).length}limitLabel(t){const o=this.tickedCount(t);if(0===o)return"Limit to tables";const i=this.tablesOf(t);return i?`${o} of ${i.length} tables`:`${o} ${1===o?"table":"tables"}`}get changes(){return function pm(n){const a=[],t=n.specs[n.serverId]??ot;t.editable&&a.push({serviceId:n.serverId,label:n.serverLabel,before:t.level,after:"none"===t.level?"read":t.level});for(const o of n.backends){const i=n.specs[o.id]??ot;if(!i.editable)continue;const r=n.tables?.[o.id],c=n.tableTotals?.[o.id];a.push({serviceId:o.id,label:o.label,before:i.level,after:n.levels[o.id]??"none",...i.tables?.length?{beforeTables:i.tables}:{},...r?.length?{tables:r}:{},...null!=c?{tableTotal:c}:{}})}return a}({serverId:this.serviceId,serverLabel:this.serviceLabel,backends:this.data.backends.map(t=>({id:t.id,label:t.label})),specs:this.currentSpecs(),levels:this.levels,tables:this.tables,tableTotals:Object.fromEntries(this.data.backends.filter(t=>this.tableCache[t.name]).map(t=>[t.id,this.tableCache[t.name].length]))})}get summaryText(){return function gm(n,a){const t=[];return"create"===a.mode&&t.push(`Creates role ${a.roleName||"\u2026"}`),"grant"===n.server&&t.push("grants this MCP server"),"edit"===a.mode?(n.read.forEach(o=>t.push(`+ read on ${o}`)),n.rw.forEach(o=>t.push(`+ read and write on ${o}`))):(n.read.length&&t.push(`read on ${Vn(n.read.length,"API","APIs")}`),n.rw.length&&t.push(`read and write on ${Vn(n.rw.length,"API","APIs")}`)),n.deltas.forEach(o=>t.push(`${_m[o.delta]} ${o.label}`)),n.listing&&t.push("plus table listing (GET _table/) on limited APIs"),"create"===a.mode&&a.createKey&&t.push("creates an API key"),t.length?t.join(", "):"No changes yet."}(Yn(this.changes,this.serviceId),{mode:this.mode,roleName:this.name.trim(),createKey:this.createKey})}get touchesApis(){const t=Yn(this.changes,this.serviceId);return t.read.length+t.rw.length+t.deltas.length>0}get canSave(){return!(this.saving||"add"===this.mode&&!this.roleId)&&("create"===this.mode?!!this.name.trim():this.changes.some(At))}save(){if(!this.canSave)return;this.saving=!0,this.error="";const t=Xn(this.changes,this.currentRole?.rows??[]),o=this.name.trim();("create"===this.mode?this.api.createRole(o,`Created from the ${this.serviceLabel} MCP page`,t).pipe((0,Ce.n)(r=>this.createKey?this.api.createAppKey(`${o}_app`,r).pipe((0,I.W)(()=>(0,B.of)(null))):(0,B.of)(null))):this.api.patchRoleAccess(this.roleId,t)).subscribe({next:r=>{this.saving=!1,"create"===this.mode&&this.createKey?(this.apiKey=r??null,this.apiKey&&(this.data.store.createdApiKey=this.apiKey),this.done=!0):this.dialogRef.close(!0)},error:r=>{this.saving=!1,this.error=(0,De.cQ)(r).message}})}copyKey(){this.apiKey&&navigator.clipboard?.writeText(this.apiKey).catch(()=>{})}static{this.\u0275fac=function(o){return new(o||n)(e.rXU(h.CP),e.rXU(h.Vh),e.rXU(Bn))}}static{this.\u0275cmp=e.VBU({type:n,selectors:[["df-mcp-access-editor"]],standalone:!0,features:[e.aNF],decls:7,vars:5,consts:[["data-testid","mcp-access-editor",1,"mcp-acc-editor"],[1,"mcp-acc-hint"],[4,"ngIf"],[1,"mcp-acc-created"],["class","mcp-acc-keybox",4,"ngIf"],["class","mcp-acc-hint",4,"ngIf"],[1,"mcp-acc-actions"],["mat-flat-button","","color","primary","type","button",3,"click"],[1,"mcp-acc-keybox"],["data-testid","mcp-access-key"],["mat-stroked-button","","type","button",3,"click"],[1,"mcp-acc-top"],["appearance","outline","subscriptSizing","dynamic",4,"ngIf"],["color","primary","name","createKey","data-testid","mcp-access-createkey",3,"ngModel","ngModelChange",4,"ngIf"],["class","mcp-acc-role",4,"ngIf"],["type","search","class","mcp-acc-filter","name","filter","placeholder","Filter services\u2026","aria-label","Filter services",3,"ngModel","ngModelChange",4,"ngIf"],["class","mcp-acc-warn",4,"ngIf"],[4,"ngFor","ngForOf","ngForTrackBy"],["data-testid","mcp-access-summary",1,"mcp-acc-summary"],["class","mcp-acc-error",4,"ngIf"],["mat-button","","type","button",3,"click"],["mat-flat-button","","color","primary","type","button","data-testid","mcp-access-save",3,"disabled","click"],["appearance","outline","subscriptSizing","dynamic"],["data-testid","mcp-access-role",3,"value","selectionChange"],[3,"value",4,"ngFor","ngForOf"],[3,"value"],["matInput","","name","name","data-testid","mcp-access-name",3,"ngModel","ngModelChange"],["color","primary","name","createKey","data-testid","mcp-access-createkey",3,"ngModel","ngModelChange"],[1,"mcp-acc-role"],[3,"routerLink","click"],["type","search","name","filter","placeholder","Filter services\u2026","aria-label","Filter services",1,"mcp-acc-filter",3,"ngModel","ngModelChange"],[1,"mcp-acc-warn"],["class","mcp-acc-group",4,"ngIf"],[1,"mcp-acc-group"],[1,"mcp-acc-group-hd"],["mat-button","","type","button",3,"disabled","click"],[1,"mcp-acc-row"],[1,"mcp-acc-name"],["class","mcp-acc-why",4,"ngIf"],["class","mcp-acc-ctl",4,"ngIf"],["class","mcp-acc-tables",4,"ngIf"],[1,"mcp-acc-why"],[1,"mcp-acc-ctl"],["type","button","class","mcp-linklike","data-testid","mcp-limit-tables",3,"click",4,"ngIf"],["role","radiogroup",1,"mcp-acc-seg"],["type","button","role","radio","class","mcp-acc-opt",3,"on","disabled","matTooltip","click",4,"ngFor","ngForOf"],["type","button","data-testid","mcp-limit-tables",1,"mcp-linklike",3,"click"],["type","button","role","radio",1,"mcp-acc-opt",3,"disabled","matTooltip","click"],[1,"mcp-acc-tables"],["type","search","class","mcp-acc-filter","placeholder","Filter tables\u2026","aria-label","Filter tables",3,"ngModel","name","ngModelChange",4,"ngIf"],[1,"mcp-acc-tlist"],["color","primary",3,"checked","change",4,"ngFor","ngForOf"],["type","search","placeholder","Filter tables\u2026","aria-label","Filter tables",1,"mcp-acc-filter",3,"ngModel","name","ngModelChange"],["color","primary",3,"checked","change"],[1,"mcp-acc-error"]],template:function(o,i){1&o&&(e.j41(0,"div",0)(1,"h2"),e.EFF(2),e.k0s(),e.j41(3,"p",1),e.EFF(4),e.k0s(),e.DNE(5,xm,8,3,"ng-container",2),e.DNE(6,Um,19,14,"ng-container",2),e.k0s()),2&o&&(e.BMQ("data-mode",i.mode),e.R7$(2),e.JRh(i.title),e.R7$(2),e.JRh(i.hint),e.R7$(1),e.Y8G("ngIf",i.done),e.R7$(1),e.Y8G("ngIf",!i.done))},dependencies:[d.MD,d.Sq,d.bT,m.YN,m.me,m.BC,m.vS,u.Hl,u.$z,L.g7,L.So,h.hM,O.RG,O.rl,O.nJ,$.fS,$.fg,D.Ve,D.VO,J.wT,S.uc,S.oV,j.Wk],styles:[".mcp-acc-editor[_ngcontent-%COMP%]{padding:18px 20px 14px;font-family:Inter,Helvetica Neue,sans-serif;font-size:13px}.mcp-acc-editor[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{margin:0 0 4px;font-size:16px;font-weight:700}.mcp-acc-hint[_ngcontent-%COMP%]{font-size:12.5px;opacity:.75;margin:0 0 10px}.mcp-acc-warn[_ngcontent-%COMP%]{font-size:12.5px;background:var(--df-warning-soft);border:1px solid color-mix(in srgb,var(--df-warning) 40%,transparent);border-radius:8px;padding:6px 10px;margin:0 0 10px}.mcp-acc-top[_ngcontent-%COMP%]{display:flex;flex-wrap:wrap;align-items:center;gap:12px;margin-bottom:10px}.mcp-acc-role[_ngcontent-%COMP%]{display:inline-flex;gap:10px;align-items:center}.mcp-acc-role[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{color:var(--df-accent);font-weight:600;text-decoration:none}.mcp-acc-filter[_ngcontent-%COMP%]{padding:6px 10px;border:1px solid color-mix(in srgb,var(--df-text) 20%,transparent);border-radius:6px;font:inherit;min-width:200px}.mcp-acc-group[_ngcontent-%COMP%]{border:1px solid color-mix(in srgb,var(--df-text) 8%,transparent);border-radius:10px;margin-bottom:10px;padding:4px 12px 8px}.mcp-acc-group-hd[_ngcontent-%COMP%]{display:flex;justify-content:space-between;align-items:center;font-size:11.5px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;opacity:.8}.mcp-acc-row[_ngcontent-%COMP%]{display:flex;flex-wrap:wrap;align-items:center;gap:8px 12px;padding:6px 0;border-top:1px solid color-mix(in srgb,var(--df-text) 5%,transparent)}.mcp-acc-name[_ngcontent-%COMP%]{flex:1 1 180px;display:flex;gap:8px;align-items:baseline;min-width:0}.mcp-acc-name[_ngcontent-%COMP%] code[_ngcontent-%COMP%]{font-size:11.5px;opacity:.65}.mcp-acc-why[_ngcontent-%COMP%]{font-size:12px;opacity:.7;font-style:italic}.mcp-acc-ctl[_ngcontent-%COMP%]{display:flex;align-items:center;gap:10px}.mcp-acc-seg[_ngcontent-%COMP%]{display:inline-flex;border:1px solid color-mix(in srgb,var(--df-text) 18%,transparent);border-radius:8px;overflow:hidden}.mcp-acc-opt[_ngcontent-%COMP%]{border:0;background:var(--df-surface);padding:4px 10px;font:inherit;font-size:12px;cursor:pointer;white-space:nowrap}.mcp-acc-opt[_ngcontent-%COMP%] + .mcp-acc-opt[_ngcontent-%COMP%]{border-left:1px solid color-mix(in srgb,var(--df-text) 12%,transparent)}.mcp-acc-opt.on[_ngcontent-%COMP%]{background:color-mix(in srgb,var(--df-accent) 14%,transparent);color:var(--df-accent);font-weight:700}.mcp-acc-opt[_ngcontent-%COMP%]:disabled{cursor:not-allowed;opacity:.45}.mcp-linklike[_ngcontent-%COMP%]{background:none;border:0;padding:0;font:inherit;font-size:12px;color:var(--df-accent);cursor:pointer}.mcp-acc-tables[_ngcontent-%COMP%]{padding:4px 0 8px 14px}.mcp-acc-tlist[_ngcontent-%COMP%]{display:grid;grid-template-columns:repeat(auto-fill,minmax(160px,1fr));max-height:220px;overflow:auto}.mcp-acc-summary[_ngcontent-%COMP%]{background:color-mix(in srgb,var(--df-accent) 7%,transparent);border-radius:8px;padding:8px 12px;margin:6px 0 4px}.mcp-acc-error[_ngcontent-%COMP%]{color:var(--df-danger);margin:4px 0}.mcp-acc-created[_ngcontent-%COMP%]{font-weight:600}.mcp-acc-keybox[_ngcontent-%COMP%]{display:flex;flex-direction:column;align-items:flex-start;gap:8px;background:var(--df-warning-soft);border:1px solid color-mix(in srgb,var(--df-warning) 40%,transparent);border-radius:8px;padding:10px 12px}.mcp-acc-keybox[_ngcontent-%COMP%] code[_ngcontent-%COMP%]{word-break:break-all;-webkit-user-select:all;user-select:all}.mcp-acc-actions[_ngcontent-%COMP%]{display:flex;justify-content:flex-end;align-items:center;flex-wrap:wrap;gap:8px;margin-top:12px}.mcp-acc-actions[_ngcontent-%COMP%] .mcp-acc-hint[_ngcontent-%COMP%]{margin:0 auto 0 0}"]})}}return n})();function Jm(n,a){1&n&&(e.j41(0,"p",9),e.EFF(1," \u26a0 Require role access is off: any logged-in user can connect. Roles below only limit what data calls may touch. "),e.k0s())}function Km(n,a){1&n&&(e.j41(0,"p",2),e.EFF(1,"Loading roles\u2026"),e.k0s())}function Hm(n,a){1&n&&(e.j41(0,"p",2),e.EFF(1," Request counts unavailable; roles shown from their grants. "),e.k0s())}function Wm(n,a){if(1&n){const t=e.RV6();e.j41(0,"button",20),e.bIt("click",function(){e.eBV(t);const i=e.XpG().$implicit,r=e.XpG(3);return e.Njj(r.open("edit",i))}),e.EFF(1," Edit "),e.k0s()}}function Qm(n,a){if(1&n&&(e.j41(0,"span"),e.EFF(1),e.nI1(2,"slice"),e.k0s()),2&n){const t=e.XpG().$implicit;e.R7$(1),e.SpI("last seen ",e.brH(2,1,t.lastSeen,0,16),"")}}function Zm(n,a){if(1&n&&(e.j41(0,"span",21),e.EFF(1),e.k0s()),2&n){const t=e.XpG().$implicit;e.Y8G("matTooltip","API key (app) bound to this role"),e.R7$(1),e.SpI("\u{1f511} ",t.keyName,"")}}const Un=function(n,a){return[n,a]};function e_(n,a){if(1&n&&(e.j41(0,"li",13)(1,"div",14)(2,"a",15),e.EFF(3),e.k0s(),e.j41(4,"span",16),e.EFF(5,"granted"),e.k0s(),e.DNE(6,Wm,2,0,"button",17),e.k0s(),e.j41(7,"div",18)(8,"span"),e.EFF(9),e.k0s(),e.j41(10,"span"),e.EFF(11),e.k0s(),e.DNE(12,Qm,3,5,"span",5),e.DNE(13,Zm,2,2,"span",19),e.k0s()()),2&n){const t=a.$implicit,o=e.XpG(3);e.BMQ("data-role",t.name),e.R7$(2),e.Y8G("routerLink",e.l_i(11,Un,o.roleRoute,t.roleId)),e.R7$(1),e.JRh(t.name),e.R7$(3),e.Y8G("ngIf",t.exists),e.R7$(3),e.Lme("",t.requests," ",1===t.requests?"request":"requests",""),e.R7$(1),e.AVh("mcp-access-denied",t.denied>0),e.R7$(1),e.SpI("",t.denied," denied"),e.R7$(1),e.Y8G("ngIf",t.lastSeen),e.R7$(1),e.Y8G("ngIf",t.keyName)}}function t_(n,a){if(1&n&&(e.j41(0,"ul",11),e.DNE(1,e_,14,14,"li",12),e.k0s()),2&n){const t=e.XpG(2);e.R7$(1),e.Y8G("ngForOf",t.granted)("ngForTrackBy",t.trackByRole)}}function n_(n,a){if(1&n&&(e.j41(0,"p",2),e.EFF(1),e.k0s()),2&n){const t=e.XpG(2);e.R7$(1),e.SpI(" ",t.requireRoleAccess?"No role can connect yet. Add a role or create one.":"No role holds a grant on this server."," ")}}function o_(n,a){if(1&n&&(e.j41(0,"a",15),e.EFF(1),e.k0s()),2&n){const t=e.XpG().$implicit,o=e.XpG(3);e.Y8G("routerLink",e.l_i(2,Un,o.roleRoute,t.roleId)),e.R7$(1),e.JRh(t.name)}}function i_(n,a){if(1&n&&(e.j41(0,"span",28),e.EFF(1),e.k0s()),2&n){const t=e.XpG().$implicit;e.R7$(1),e.SpI("",t.name," (deleted)")}}function a_(n,a){if(1&n){const t=e.RV6();e.j41(0,"button",29),e.bIt("click",function(){e.eBV(t);const i=e.XpG().$implicit,r=e.XpG(3);return e.Njj(r.grant(i))}),e.EFF(1," Grant "),e.k0s()}if(2&n){const t=e.XpG().$implicit,o=e.XpG(3);e.Y8G("disabled",o.granting===t.roleId)}}function r_(n,a){if(1&n&&(e.j41(0,"span"),e.EFF(1),e.nI1(2,"slice"),e.k0s()),2&n){const t=e.XpG().$implicit;e.R7$(1),e.SpI("last seen ",e.brH(2,1,t.lastSeen,0,16),"")}}function c_(n,a){if(1&n&&(e.j41(0,"li",24)(1,"div",14),e.DNE(2,o_,2,5,"a",25),e.DNE(3,i_,2,1,"span",26),e.DNE(4,a_,2,1,"button",27),e.k0s(),e.j41(5,"div",18)(6,"span"),e.EFF(7),e.k0s(),e.j41(8,"span"),e.EFF(9),e.k0s(),e.DNE(10,r_,3,5,"span",5),e.k0s()()),2&n){const t=a.$implicit;e.BMQ("data-role",t.name),e.R7$(2),e.Y8G("ngIf",t.exists),e.R7$(1),e.Y8G("ngIf",!t.exists),e.R7$(1),e.Y8G("ngIf",t.exists),e.R7$(3),e.Lme("",t.requests," ",1===t.requests?"request":"requests",""),e.R7$(1),e.AVh("mcp-access-denied",t.denied>0),e.R7$(1),e.SpI("",t.denied," denied"),e.R7$(1),e.Y8G("ngIf",t.lastSeen)}}function s_(n,a){if(1&n&&(e.qex(0),e.j41(1,"h3",22),e.EFF(2,"Seen in the last 30 days without a grant"),e.k0s(),e.j41(3,"ul",11),e.DNE(4,c_,11,10,"li",23),e.k0s(),e.bVm()),2&n){const t=e.XpG(2);e.R7$(4),e.Y8G("ngForOf",t.seen)("ngForTrackBy",t.trackByRole)}}function l_(n,a){if(1&n&&(e.qex(0),e.DNE(1,Hm,2,0,"p",4),e.DNE(2,t_,2,2,"ul",10),e.DNE(3,n_,2,1,"p",4),e.DNE(4,s_,5,2,"ng-container",5),e.bVm()),2&n){const t=e.XpG();e.R7$(1),e.Y8G("ngIf",!t.access),e.R7$(1),e.Y8G("ngIf",t.granted.length>0),e.R7$(1),e.Y8G("ngIf",0===t.granted.length),e.R7$(1),e.Y8G("ngIf",t.seen.length>0)}}let p_=(()=>{class n{constructor(t,o,i){this.api=t,this.dialog=o,this.snackbar=i,this.roleRoute=Ln,this.loading=!1,this.access=null,this.roles=[],this.apps=[],this.rows=[],this.granting=null,this.trackByRole=(r,c)=>c.roleId}ngOnChanges(t){t.store&&this.load()}load(){const t=this.store?.service?.id;null!=t&&(this.loading=!0,(0,ue.p)({access:this.api.access(t),roles:this.api.roles(),apps:this.api.apps()}).subscribe(({access:o,roles:i,apps:r})=>{this.access=o,this.roles=i,this.apps=r,this.rows=function d_(n,a,t,o){const i=c=>o.find(s=>s.roleId===c)?.name??null,r=new Map;for(const c of a?.roles??[])r.set(c.role_id,{roleId:c.role_id,name:c.name,granted:!!c.granted,requests:c.requests??0,denied:c.denied??0,lastSeen:c.last_seen??null,keyName:i(c.role_id),exists:t.some(s=>s.id===c.role_id)});for(const c of t)r.has(c.id)||"none"!==it(c.rows,[n])[n].level&&r.set(c.id,{roleId:c.id,name:c.name,granted:!0,requests:0,denied:0,lastSeen:null,keyName:i(c.id),exists:!0});return[...r.values()].sort((c,s)=>c.granted===s.granted?s.requests-c.requests:c.granted?-1:1)}(t,o,i,r),this.loading=!1}))}get granted(){return this.rows.filter(t=>t.granted)}get seen(){return this.rows.filter(t=>!t.granted)}get requireRoleAccess(){return this.access?.require_role_access??zn(this.store.cfg.rest,"require_role_access","requireRoleAccess",!1)}get allowWrites(){return zn(this.store.cfg.rest,"allow_writes","allowWrites",!0)}backends(){return this.store.rows().map(t=>t.svc).filter(t=>!!t&&null!=t.id)}grant(t){const o=this.roles.find(r=>r.id===t.roleId);if(!o)return;const i=function fm(n,a){return"none"!==it(a,[n])[n].level?[]:Xn([{serviceId:n,label:"",before:"none",after:"read"}],a)}(this.store.service.id,o.rows);if(0===i.length)return this.load();this.granting=t.roleId,this.api.patchRoleAccess(o.id,i).subscribe({next:()=>{this.granting=null,this.snackbar.openSnackBar(`${t.name} can now connect to this server.`,"success"),this.load()},error:r=>{this.granting=null,this.snackbar.openSnackBar((0,De.cQ)(r).message,"error")}})}open(t,o){const i={store:this.store,mode:t,backends:this.backends(),allowWrites:this.allowWrites,roles:this.roles,role:o?this.roles.find(r=>r.id===o.roleId):void 0,grantedIds:new Set(this.granted.map(r=>r.roleId))};this.dialog.open(qm,{data:i,width:"720px",maxWidth:"95vw",disableClose:!0}).afterClosed().subscribe(r=>{r&&(this.store.touch(),this.load())})}static{this.\u0275fac=function(o){return new(o||n)(e.rXU(Bn),e.rXU(h.bZ),e.rXU(pe.L))}}static{this.\u0275cmp=e.VBU({type:n,selectors:[["df-mcp-access"]],inputs:{store:"store"},standalone:!0,features:[e.OA$,e.aNF],decls:13,vars:3,consts:[["data-testid","mcp-access",1,"mcp-access"],[1,"mcp-rail-title"],[1,"mcp-access-note"],["class","mcp-access-warn","data-testid","mcp-access-open",4,"ngIf"],["class","mcp-access-note",4,"ngIf"],[4,"ngIf"],[1,"mcp-access-actions"],["mat-stroked-button","","type","button","data-testid","mcp-access-add",3,"click"],["mat-flat-button","","color","primary","type","button","data-testid","mcp-access-create",3,"click"],["data-testid","mcp-access-open",1,"mcp-access-warn"],["class","mcp-access-list",4,"ngIf"],[1,"mcp-access-list"],["data-testid","mcp-access-granted",4,"ngFor","ngForOf","ngForTrackBy"],["data-testid","mcp-access-granted"],[1,"mcp-access-line"],[1,"mcp-access-name",3,"routerLink"],[1,"mcp-chip","good"],["type","button","class","mcp-linklike","data-testid","mcp-access-edit",3,"click",4,"ngIf"],[1,"mcp-access-stats"],[3,"matTooltip",4,"ngIf"],["type","button","data-testid","mcp-access-edit",1,"mcp-linklike",3,"click"],[3,"matTooltip"],[1,"mcp-access-sub"],["data-testid","mcp-access-seen",4,"ngFor","ngForOf","ngForTrackBy"],["data-testid","mcp-access-seen"],["class","mcp-access-name",3,"routerLink",4,"ngIf"],["class","mcp-access-name","matTooltip","This role no longer exists",4,"ngIf"],["mat-stroked-button","","type","button","class","mcp-access-grant","data-testid","mcp-access-grant",3,"disabled","click",4,"ngIf"],["matTooltip","This role no longer exists",1,"mcp-access-name"],["mat-stroked-button","","type","button","data-testid","mcp-access-grant",1,"mcp-access-grant",3,"disabled","click"]],template:function(o,i){1&o&&(e.j41(0,"section",0)(1,"h2",1),e.EFF(2,"Access"),e.k0s(),e.j41(3,"p",2),e.EFF(4," Roles filter further per caller \u2014 a role also needs access to each exposed service it should reach. "),e.k0s(),e.DNE(5,Jm,2,0,"p",3),e.DNE(6,Km,2,0,"p",4),e.DNE(7,l_,5,4,"ng-container",5),e.j41(8,"div",6)(9,"button",7),e.bIt("click",function(){return i.open("add")}),e.EFF(10," Add existing role "),e.k0s(),e.j41(11,"button",8),e.bIt("click",function(){return i.open("create")}),e.EFF(12," Create role "),e.k0s()()()),2&o&&(e.R7$(5),e.Y8G("ngIf",!i.requireRoleAccess),e.R7$(1),e.Y8G("ngIf",i.loading),e.R7$(1),e.Y8G("ngIf",!i.loading))},dependencies:[d.MD,d.Sq,d.bT,d.P9,u.Hl,u.$z,h.hM,S.uc,S.oV,j.Wk],styles:['@charset "UTF-8";.mcp-access[_ngcontent-%COMP%]{border-top:1px solid color-mix(in srgb,var(--df-text) 8%,transparent);padding-top:10px;margin-top:8px;font-size:12.5px}.mcp-rail-title[_ngcontent-%COMP%]{font-size:11.5px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;opacity:.7;margin:0 0 6px}.mcp-access-note[_ngcontent-%COMP%]{opacity:.75;margin:0 0 8px}.mcp-access-warn[_ngcontent-%COMP%]{background:var(--df-warning-soft);border:1px solid color-mix(in srgb,var(--df-warning) 40%,transparent);border-radius:8px;padding:6px 8px;margin:0 0 8px}.mcp-access-sub[_ngcontent-%COMP%]{font-size:12px;font-weight:700;margin:10px 0 4px}.mcp-access-list[_ngcontent-%COMP%]{list-style:none;padding:0;margin:0 0 8px}.mcp-access-list[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{padding:5px 0;border-bottom:1px solid color-mix(in srgb,var(--df-text) 5%,transparent)}.mcp-access-line[_ngcontent-%COMP%]{display:flex;align-items:center;gap:6px}.mcp-access-name[_ngcontent-%COMP%]{font-weight:600;color:inherit;text-decoration:none;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;margin-right:auto}.mcp-access-name[_ngcontent-%COMP%]:hover{text-decoration:underline}.mcp-access-stats[_ngcontent-%COMP%]{display:flex;flex-wrap:wrap;gap:2px 10px;font-size:11.5px;opacity:.75;font-variant-numeric:tabular-nums}.mcp-access-denied[_ngcontent-%COMP%]{color:var(--df-danger);opacity:1}.mcp-access-actions[_ngcontent-%COMP%]{display:flex;flex-wrap:wrap;gap:6px}.mcp-linklike[_ngcontent-%COMP%]{background:none;border:0;padding:0;font:inherit;color:var(--df-accent);font-weight:600;cursor:pointer}.mcp-chip[_ngcontent-%COMP%]{display:inline-flex;align-items:center;padding:1px 7px;border-radius:999px;font-size:11px;font-weight:600;border:1px solid color-mix(in srgb,var(--df-text) 14%,transparent);white-space:nowrap}.mcp-chip.good[_ngcontent-%COMP%]{background:var(--df-success-soft);border-color:color-mix(in srgb,var(--df-success) 35%,transparent);color:var(--df-success)}']})}}return n})();function m_(n,a){1&n&&(e.j41(0,"mat-error"),e.EFF(1," A name is required. "),e.k0s())}function __(n,a){1&n&&(e.j41(0,"mat-error"),e.EFF(1," Letters, numbers and underscores only. "),e.k0s())}function g_(n,a){if(1&n&&(e.j41(0,"mat-error"),e.EFF(1),e.k0s()),2&n){const t=e.XpG();e.R7$(1),e.SpI(" A tool named ",t.form.controls.name.value," already exists. Choose another name. ")}}function f_(n,a){if(1&n&&(e.j41(0,"mat-option",23),e.EFF(1),e.k0s()),2&n){const t=a.$implicit;e.Y8G("value",t),e.R7$(1),e.JRh(t)}}function u_(n,a){1&n&&(e.j41(0,"mat-error"),e.EFF(1," A URL is required for an API tool. "),e.k0s())}function h_(n,a){1&n&&(e.j41(0,"mat-error"),e.EFF(1," Not valid JSON. "),e.k0s())}function b_(n,a){1&n&&(e.j41(0,"mat-error"),e.EFF(1," Not valid JSON. "),e.k0s())}function v_(n,a){if(1&n&&(e.qex(0),e.j41(1,"div",15)(2,"mat-form-field",16)(3,"mat-label"),e.EFF(4,"Method"),e.k0s(),e.j41(5,"mat-select",17),e.DNE(6,f_,2,2,"mat-option",18),e.k0s()(),e.j41(7,"mat-form-field",19)(8,"mat-label"),e.EFF(9,"URL"),e.k0s(),e.nrm(10,"input",20),e.DNE(11,u_,2,0,"mat-error",9),e.k0s()(),e.j41(12,"mat-form-field",7)(13,"mat-label"),e.EFF(14,"Parameters (JSON, optional)"),e.k0s(),e.nrm(15,"textarea",21),e.DNE(16,h_,2,0,"mat-error",9),e.k0s(),e.j41(17,"mat-form-field",7)(18,"mat-label"),e.EFF(19,"Headers (JSON, optional)"),e.k0s(),e.nrm(20,"textarea",22),e.DNE(21,b_,2,0,"mat-error",9),e.k0s(),e.bVm()),2&n){const t=e.XpG();e.R7$(6),e.Y8G("ngForOf",t.methods),e.R7$(5),e.Y8G("ngIf",t.form.controls.url.hasError("required")),e.R7$(5),e.Y8G("ngIf",t.form.controls.parameters.hasError("json")),e.R7$(5),e.Y8G("ngIf",t.form.controls.headers.hasError("json"))}}function x_(n,a){1&n&&(e.j41(0,"mat-error"),e.EFF(1," Function code is required for a function tool. "),e.k0s())}function C_(n,a){if(1&n&&(e.j41(0,"mat-form-field",7)(1,"mat-label"),e.EFF(2,"Function code"),e.k0s(),e.nrm(3,"textarea",24),e.DNE(4,x_,2,0,"mat-error",9),e.k0s()),2&n){const t=e.XpG();e.R7$(4),e.Y8G("ngIf",t.form.controls.functionCode.hasError("required"))}}let qn=(()=>{class n{constructor(t,o,i){this.dialogRef=t,this.data=o,this.fb=i,this.methods=["GET","POST","PUT","PATCH","DELETE"],this.takenNames=new Set}ngOnInit(){const t=this.data.tool;this.takenNames=function k_(n,a){const t=new Set;ye.forEach(i=>t.add(i.verb)),Pt.forEach(i=>t.add(i.verb));const o=n.effective().effectiveStyle;for(const i of n.rows())if(i.svc)for(const r of G(i.svc.kind))t.add($t(o,i.svc.name,r.verb));for(const i of n.cfg.customTools??[])i?.name&&i.name!==a&&t.add(i.name);return t}(this.data.store,t?.name),this.form=this.fb.group({toolType:[t?.toolType||"api"],name:[t?.name??"",[m.k0.required,m.k0.pattern(/^[a-zA-Z0-9_]+$/),o=>this.takenNames.has(o.value)?{collision:!0}:null]],description:[t?.description??""],httpMethod:[t?.httpMethod||"GET"],url:[t?.url??""],parameters:[this.toJsonText(t?.parameters)],headers:[this.toJsonText(t?.headers)],functionCode:[t?.function??""]}),this.dialogRef.keydownEvents().subscribe(o=>{"Escape"===o.key&&this.attemptDismiss()}),this.dialogRef.backdropClick().subscribe(()=>this.attemptDismiss())}attemptDismiss(){(!this.form.dirty||window.confirm("Discard this custom tool? Your unsaved edits will be lost."))&&this.dialogRef.close()}toJsonText(t){if(null==t||""===t)return"";if("string"==typeof t)return t;try{return JSON.stringify(t,null,2)}catch{return""}}parseJson(t){const o=(t??"").trim();if(!o)return null;try{return JSON.parse(o)}catch{return}}save(){const t=this.form.value,o="api"===t.toolType;this.form.controls.url.setErrors(o&&!(t.url??"").trim()?{required:!0}:null),this.form.controls.functionCode.setErrors(o||(t.functionCode??"").trim()?null:{required:!0});let i=null,r=null;if(o&&(i=this.parseJson(t.parameters),r=this.parseJson(t.headers),this.form.controls.parameters.setErrors(void 0===i?{json:!0}:null),this.form.controls.headers.setErrors(void 0===r?{json:!0}:null)),this.form.markAllAsTouched(),this.form.invalid)return;const c=this.data.tool??{};this.dialogRef.close({...c,toolType:t.toolType,name:t.name,description:t.description??"",httpMethod:o?t.httpMethod:c.httpMethod??"GET",url:o?t.url:c.url??"",parameters:o?i:c.parameters??null,headers:o?r:c.headers??null,function:o?c.function??"":t.functionCode,enabled:!1!==c.enabled&&0!==c.enabled})}static{this.\u0275fac=function(o){return new(o||n)(e.rXU(h.CP),e.rXU(h.Vh),e.rXU(m.ok))}}static{this.\u0275cmp=e.VBU({type:n,selectors:[["df-mcp-custom-tool-dialog"]],standalone:!0,features:[e.aNF],decls:30,vars:8,consts:[["data-testid","mcp-custom-dialog",1,"mcp-ct-dialog"],[3,"formGroup","ngSubmit"],[1,"mcp-ct-type"],[1,"mcp-ct-type-label"],["formControlName","toolType"],["value","api"],["value","function"],["appearance","outline",1,"mcp-ct-field"],["matInput","","formControlName","name","data-testid","mcp-custom-name"],[4,"ngIf"],["matInput","","formControlName","description"],["appearance","outline","class","mcp-ct-field",4,"ngIf"],[1,"mcp-ct-actions"],["mat-button","","type","button",3,"click"],["mat-flat-button","","color","primary","type","submit","data-testid","mcp-custom-save"],[1,"mcp-ct-api-row"],["appearance","outline",1,"mcp-ct-method"],["formControlName","httpMethod"],[3,"value",4,"ngFor","ngForOf"],["appearance","outline",1,"mcp-ct-url"],["matInput","","formControlName","url","placeholder","https://\u2026"],["matInput","","formControlName","parameters","rows","3"],["matInput","","formControlName","headers","rows","3"],[3,"value"],["matInput","","formControlName","functionCode","rows","8"]],template:function(o,i){1&o&&(e.j41(0,"div",0)(1,"h2"),e.EFF(2),e.k0s(),e.j41(3,"form",1),e.bIt("ngSubmit",function(){return i.save()}),e.j41(4,"div",2)(5,"span",3),e.EFF(6,"Tool type:"),e.k0s(),e.j41(7,"mat-radio-group",4)(8,"mat-radio-button",5),e.EFF(9,"API endpoint"),e.k0s(),e.j41(10,"mat-radio-button",6),e.EFF(11,"Server-side function"),e.k0s()()(),e.j41(12,"mat-form-field",7)(13,"mat-label"),e.EFF(14,"Name"),e.k0s(),e.nrm(15,"input",8),e.DNE(16,m_,2,0,"mat-error",9),e.DNE(17,__,2,0,"mat-error",9),e.DNE(18,g_,2,1,"mat-error",9),e.k0s(),e.j41(19,"mat-form-field",7)(20,"mat-label"),e.EFF(21,"Description"),e.k0s(),e.nrm(22,"input",10),e.k0s(),e.DNE(23,v_,22,4,"ng-container",9),e.DNE(24,C_,5,1,"mat-form-field",11),e.j41(25,"div",12)(26,"button",13),e.bIt("click",function(){return i.dialogRef.close()}),e.EFF(27," Cancel "),e.k0s(),e.j41(28,"button",14),e.EFF(29),e.k0s()()()()),2&o&&(e.R7$(2),e.JRh(i.data.tool?"Edit custom tool":"Add custom tool"),e.R7$(1),e.Y8G("formGroup",i.form),e.R7$(13),e.Y8G("ngIf",i.form.controls.name.hasError("required")),e.R7$(1),e.Y8G("ngIf",i.form.controls.name.hasError("pattern")),e.R7$(1),e.Y8G("ngIf",i.form.controls.name.hasError("collision")),e.R7$(5),e.Y8G("ngIf","api"===i.form.controls.toolType.value),e.R7$(1),e.Y8G("ngIf","function"===i.form.controls.toolType.value),e.R7$(5),e.SpI(" ",i.data.tool?"Save tool":"Add tool"," "))},dependencies:[d.MD,d.Sq,d.bT,m.X1,m.qT,m.me,m.BC,m.cb,m.j4,m.JD,u.Hl,u.$z,h.hM,O.RG,O.rl,O.nJ,O.TL,$.fS,$.fg,H.Wk,H.VT,H._g,D.Ve,D.VO,J.wT],styles:[".mcp-ct-dialog[_ngcontent-%COMP%]{padding:18px 20px 14px;font-family:Inter,Helvetica Neue,sans-serif;min-width:320px;max-width:520px}h2[_ngcontent-%COMP%]{margin:0 0 12px;font-size:16px;font-weight:700}.mcp-ct-type[_ngcontent-%COMP%]{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-bottom:12px;font-size:13px}.mcp-ct-type-label[_ngcontent-%COMP%]{font-weight:600}.mcp-ct-field[_ngcontent-%COMP%]{width:100%}.mcp-ct-api-row[_ngcontent-%COMP%]{display:flex;gap:10px;flex-wrap:wrap}.mcp-ct-method[_ngcontent-%COMP%]{width:130px}.mcp-ct-url[_ngcontent-%COMP%]{flex:1;min-width:180px}.mcp-ct-actions[_ngcontent-%COMP%]{display:flex;justify-content:flex-end;gap:8px;margin-top:4px}"]})}}return n})(),y_=(()=>{class n{constructor(t,o){this.dialogRef=t,this.data=o,this.clear=!1}get title(){return 1===this.data.names.length?`Remove ${this.data.names[0]} from this server?`:`Remove ${this.data.names.length} services from this server?`}static{this.\u0275fac=function(o){return new(o||n)(e.rXU(h.CP),e.rXU(h.Vh))}}static{this.\u0275cmp=e.VBU({type:n,selectors:[["df-mcp-remove-dialog"]],standalone:!0,features:[e.aNF],decls:15,vars:7,consts:[[1,"mcp-remove-dialog"],[1,"mcp-remove-choices",3,"ngModel","ngModelChange"],[3,"value"],[1,"mcp-remove-note"],[1,"mcp-remove-actions"],["mat-button","","type","button",3,"click"],["mat-flat-button","","color","warn","type","button","data-testid","mcp-remove-confirm",3,"click"]],template:function(o,i){1&o&&(e.j41(0,"div",0)(1,"h2"),e.EFF(2),e.k0s(),e.j41(3,"mat-radio-group",1),e.bIt("ngModelChange",function(c){return i.clear=c}),e.j41(4,"mat-radio-button",2),e.EFF(5),e.k0s(),e.j41(6,"mat-radio-button",2),e.EFF(7),e.k0s()(),e.j41(8,"p",3),e.EFF(9),e.k0s(),e.j41(10,"div",4)(11,"button",5),e.bIt("click",function(){return i.dialogRef.close()}),e.EFF(12," Cancel "),e.k0s(),e.j41(13,"button",6),e.bIt("click",function(){return i.dialogRef.close({clear:i.clear})}),e.EFF(14," Remove from server "),e.k0s()()()),2&o&&(e.R7$(2),e.JRh(i.title),e.R7$(1),e.Y8G("ngModel",i.clear),e.R7$(1),e.Y8G("value",!1),e.R7$(1),e.SpI(" ",1===i.data.names.length?"Keep its tool curation (recommended)":"Keep their tool curation (recommended)"," "),e.R7$(1),e.Y8G("value",!0),e.R7$(1),e.SpI(" ",1===i.data.names.length?"Also clear its saved tool settings":"Also clear their saved tool settings"," "),e.R7$(2),e.SpI(" Kept curation restores automatically if you expose ",1===i.data.names.length?"the service":"a service"," again. "))},dependencies:[d.MD,m.YN,m.BC,m.vS,u.Hl,u.$z,h.hM,H.Wk,H.VT,H._g],styles:[".mcp-remove-dialog[_ngcontent-%COMP%]{padding:18px 20px 14px;font-family:Inter,Helvetica Neue,sans-serif;max-width:420px}h2[_ngcontent-%COMP%]{margin:0 0 10px;font-size:16px;font-weight:700}.mcp-remove-choices[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:2px}.mcp-remove-note[_ngcontent-%COMP%]{font-size:12.5px;opacity:.7;margin:8px 0 0}.mcp-remove-actions[_ngcontent-%COMP%]{display:flex;justify-content:flex-end;gap:8px;margin-top:14px}"]})}}return n})();function M_(n,a){if(1&n&&(e.j41(0,"mat-option",9),e.EFF(1),e.k0s()),2&n){const t=a.$implicit;e.Y8G("value",t.name),e.R7$(1),e.Lme(" ",t.label," (",t.name,") ")}}function O_(n,a){if(1&n&&(e.j41(0,"p",10),e.EFF(1),e.k0s()),2&n){const t=e.XpG();e.R7$(1),e.LHq(" Point this entry at ",t.newName," and rename its ",t.keyCount()," saved tool settings (",t.data.oldName,"_* \u2192 ",t.newName,"_*)? ")}}let P_=(()=>{class n{constructor(t,o){this.dialogRef=t,this.data=o,this.newName=void 0}candidates(){return this.data.store.backendServices.filter(t=>!this.data.store.cfg.exposedServices.includes(t.name))}keyCount(){return this.data.store.dormantCurationCount(this.data.oldName)}static{this.\u0275fac=function(o){return new(o||n)(e.rXU(h.CP),e.rXU(h.Vh))}}static{this.\u0275cmp=e.VBU({type:n,selectors:[["df-mcp-rename-dialog"]],standalone:!0,features:[e.aNF],decls:16,vars:5,consts:[[1,"mcp-rename-dialog"],[1,"mcp-rename-intro"],["appearance","outline",1,"mcp-rename-field"],["data-testid","mcp-rename-select",3,"ngModel","ngModelChange"],[3,"value",4,"ngFor","ngForOf"],["class","mcp-rename-preview",4,"ngIf"],[1,"mcp-rename-actions"],["mat-button","","type","button",3,"click"],["mat-flat-button","","color","primary","type","button","data-testid","mcp-rename-confirm",3,"disabled","click"],[3,"value"],[1,"mcp-rename-preview"]],template:function(o,i){1&o&&(e.j41(0,"div",0)(1,"h2"),e.EFF(2,"Point this entry at its renamed service"),e.k0s(),e.j41(3,"p",1),e.EFF(4),e.k0s(),e.j41(5,"mat-form-field",2)(6,"mat-label"),e.EFF(7,"Renamed to"),e.k0s(),e.j41(8,"mat-select",3),e.bIt("ngModelChange",function(c){return i.newName=c}),e.DNE(9,M_,2,3,"mat-option",4),e.k0s()(),e.DNE(10,O_,2,4,"p",5),e.j41(11,"div",6)(12,"button",7),e.bIt("click",function(){return i.dialogRef.close()}),e.EFF(13," Cancel "),e.k0s(),e.j41(14,"button",8),e.bIt("click",function(){return i.dialogRef.close(i.newName)}),e.EFF(15," Rename entry "),e.k0s()()()),2&o&&(e.R7$(4),e.SpI(" \u201c",i.data.oldName,"\u201d no longer exists on this instance. Pick the service it was renamed to. "),e.R7$(4),e.Y8G("ngModel",i.newName),e.R7$(1),e.Y8G("ngForOf",i.candidates()),e.R7$(1),e.Y8G("ngIf",i.newName),e.R7$(4),e.Y8G("disabled",!i.newName))},dependencies:[d.MD,d.Sq,d.bT,m.YN,m.BC,m.vS,u.Hl,u.$z,h.hM,O.RG,O.rl,O.nJ,D.Ve,D.VO,J.wT],styles:[".mcp-rename-dialog[_ngcontent-%COMP%]{padding:18px 20px 14px;font-family:Inter,Helvetica Neue,sans-serif;max-width:440px}h2[_ngcontent-%COMP%]{margin:0 0 8px;font-size:16px;font-weight:700}.mcp-rename-intro[_ngcontent-%COMP%]{font-size:13px;opacity:.8;margin:0 0 12px}.mcp-rename-field[_ngcontent-%COMP%]{width:100%}.mcp-rename-preview[_ngcontent-%COMP%]{font-size:13px;background:var(--df-warning-soft);border:1px solid color-mix(in srgb,var(--df-warning) 40%,transparent);border-radius:8px;padding:8px 12px;margin:0 0 4px}.mcp-rename-actions[_ngcontent-%COMP%]{display:flex;justify-content:flex-end;gap:8px;margin-top:12px}"]})}}return n})();function F_(n,a){1&n&&(e.j41(0,"div",3),e.EFF(1,"Loading services\u2026"),e.k0s())}function w_(n,a){1&n&&(e.j41(0,"div",24),e.EFF(1," \u26a0 This server serves no tools. Agents can connect but can call nothing. "),e.k0s())}function D_(n,a){1&n&&(e.j41(0,"span",35),e.EFF(1,"\u26a0 writes"),e.k0s())}function T_(n,a){if(1&n){const t=e.RV6();e.j41(0,"div",38)(1,"mat-checkbox",39),e.bIt("change",function(i){const c=e.eBV(t).$implicit,s=e.XpG(5);return e.Njj(s.setBareChecked(c.name,i.checked))}),e.j41(2,"code"),e.EFF(3),e.k0s()(),e.j41(4,"span",40),e.EFF(5),e.k0s()()}if(2&n){const t=a.$implicit,o=e.XpG(5);e.R7$(1),e.Y8G("checked",o.bareEnabled(t.name)),e.R7$(2),e.JRh(t.name),e.R7$(2),e.JRh(t.description)}}function S_(n,a){if(1&n&&(e.j41(0,"div",36),e.DNE(1,T_,6,3,"div",37),e.k0s()),2&n){const t=e.XpG().$implicit;e.R7$(1),e.Y8G("ngForOf",t.tools)}}function R_(n,a){if(1&n){const t=e.RV6();e.j41(0,"div",28)(1,"div",29)(2,"mat-checkbox",30),e.bIt("change",function(){const r=e.eBV(t).$implicit,c=e.XpG(3);return e.Njj(c.sysToggleGroup(r))}),e.EFF(3),e.k0s(),e.DNE(4,D_,2,0,"span",31),e.j41(5,"span",32),e.EFF(6),e.k0s()(),e.j41(7,"button",33),e.bIt("click",function(){const r=e.eBV(t).$implicit,c=e.XpG(3);return e.Njj(c.toggleToolsList(r.key))}),e.EFF(8),e.k0s(),e.DNE(9,S_,2,1,"div",34),e.k0s()}if(2&n){const t=a.$implicit,o=e.XpG(3);e.R7$(2),e.Y8G("checked","on"===o.sysGroupState(t))("indeterminate","part"===o.sysGroupState(t)),e.R7$(1),e.SpI(" ",t.label," "),e.R7$(1),e.Y8G("ngIf",t.warn),e.R7$(2),e.Lme(" ",o.sysGroupOn(t)," of ",t.tools.length," on "),e.R7$(2),e.Lme(" ",o.isToolsListOpen(t.key)?"\u25be":"\u25b8"," Individual tools (",t.tools.length,") "),e.R7$(1),e.Y8G("ngIf",o.isToolsListOpen(t.key))}}function I_(n,a){if(1&n&&(e.qex(0),e.j41(1,"div",25)(2,"h2"),e.EFF(3),e.k0s()(),e.j41(4,"div",26),e.DNE(5,R_,10,9,"div",27),e.k0s(),e.bVm()),2&n){const t=e.XpG(2);e.R7$(3),e.Lme(" System API tools (",t.sysEnabledCount()," of ",t.sysTotal(),") "),e.R7$(2),e.Y8G("ngForOf",t.systemGroups)}}function E_(n,a){if(1&n){const t=e.RV6();e.j41(0,"div",62)(1,"p"),e.EFF(2),e.k0s(),e.j41(3,"div",63)(4,"button",64),e.bIt("click",function(){const r=e.eBV(t).$implicit,c=e.XpG(4);return e.Njj(c.removeServices([r.name],!0))}),e.EFF(5," Remove from server "),e.k0s(),e.j41(6,"button",64),e.bIt("click",function(){const r=e.eBV(t).$implicit,c=e.XpG(4);return e.Njj(c.renameOrphan(r.name))}),e.EFF(7," It was renamed\u2026 "),e.k0s()()()}if(2&n){const t=a.$implicit,o=e.XpG(4);e.BMQ("data-testid","mcp-orphan-row-"+t.name),e.R7$(2),e.JRh(o.orphanText(t.name))}}function $_(n,a){if(1&n&&(e.j41(0,"section",59)(1,"h2",60),e.EFF(2),e.k0s(),e.DNE(3,E_,8,2,"div",61),e.k0s()),2&n){const t=e.XpG(3);e.R7$(2),e.SpI(" \u26a0 Needs attention (",t.orphanRows().length,") "),e.R7$(1),e.Y8G("ngForOf",t.orphanRows())("ngForTrackBy",t.trackByName)}}function G_(n,a){if(1&n){const t=e.RV6();e.j41(0,"div",65)(1,"p"),e.EFF(2),e.j41(3,"b"),e.EFF(4,"empty never means every service."),e.k0s()(),e.j41(5,"button",64),e.bIt("click",function(){e.eBV(t);const i=e.XpG(3);return e.Njj(i.openPicker())}),e.EFF(6," Expose services "),e.k0s()()}if(2&n){const t=e.XpG(3);e.R7$(2),e.SpI(" No services exposed. Agents get the ",t.eff().globalTools," global tools and any custom tools \u2014 ")}}function j_(n,a){if(1&n){const t=e.RV6();e.j41(0,"div",66)(1,"input",67),e.bIt("ngModelChange",function(i){e.eBV(t);const r=e.XpG(3);return e.Njj(r.filterText=i)}),e.k0s(),e.j41(2,"button",68),e.bIt("click",function(){e.eBV(t);const i=e.XpG(3);return e.Njj(i.setFilterKind("db"))}),e.EFF(3),e.k0s(),e.j41(4,"button",68),e.bIt("click",function(){e.eBV(t);const i=e.XpG(3);return e.Njj(i.setFilterKind("file"))}),e.EFF(5),e.k0s(),e.j41(6,"button",69),e.bIt("click",function(){e.eBV(t);const i=e.XpG(3);return e.Njj(i.filterModified=!i.filterModified)}),e.EFF(7," Modified only "),e.k0s()()}if(2&n){const t=e.XpG(3);e.R7$(1),e.Y8G("ngModel",t.filterText),e.R7$(1),e.AVh("primary","db"===t.filterKind),e.R7$(1),e.SpI(" Databases ",t.rowCountOf("db")," "),e.R7$(1),e.AVh("primary","file"===t.filterKind),e.R7$(1),e.SpI(" Files ",t.rowCountOf("file")," "),e.R7$(1),e.AVh("primary",t.filterModified)}}const at=function(n){return[n]};function N_(n,a){if(1&n){const t=e.RV6();e.j41(0,"div",108)(1,"span",109),e.EFF(2),e.k0s(),e.j41(3,"button",105),e.bIt("click",function(){const r=e.eBV(t).$implicit,c=e.XpG(3).$implicit,s=e.XpG(4);return e.Njj(s.toggleColumn(c.svc.kind,[r]))}),e.nrm(4,"i"),e.k0s()()}if(2&n){const t=a.$implicit,o=e.XpG(3).$implicit,i=e.XpG(4);e.R7$(2),e.JRh(t.verb),e.R7$(1),e.Y8G("matTooltip",i.columnTip(o.svc.kind,t.verb,e.eq3(5,at,t))),e.BMQ("data-state",i.columnState(o.svc.kind,e.eq3(7,at,t)))("aria-checked","on"===i.columnState(o.svc.kind,e.eq3(9,at,t)))("aria-label",i.columnTip(o.svc.kind,t.verb,e.eq3(11,at,t)))}}function A_(n,a){if(1&n){const t=e.RV6();e.j41(0,"div",103)(1,"div",104)(2,"span"),e.EFF(3),e.k0s(),e.j41(4,"button",105),e.bIt("click",function(){const r=e.eBV(t).$implicit,c=e.XpG(2).$implicit,s=e.XpG(4);return e.Njj(s.toggleColumn(c.svc.kind,r.verbs))}),e.nrm(5,"i"),e.k0s()(),e.j41(6,"div",106),e.DNE(7,N_,5,13,"div",107),e.k0s()()}if(2&n){const t=a.$implicit,o=e.XpG(2).$implicit,i=e.XpG(4);e.AVh("write",!!t.warn),e.R7$(3),e.JRh(i.shortGroupLabel(t)),e.R7$(1),e.Y8G("matTooltip",i.columnTip(o.svc.kind,t.label,t.verbs)),e.BMQ("data-state",i.columnState(o.svc.kind,t.verbs))("aria-checked","on"===i.columnState(o.svc.kind,t.verbs))("aria-label",i.columnTip(o.svc.kind,t.label,t.verbs)),e.R7$(3),e.Y8G("ngForOf",t.verbs)}}function Y_(n,a){if(1&n&&(e.j41(0,"div",98)(1,"div",99)(2,"span",100),e.EFF(3),e.k0s(),e.j41(4,"span",101),e.EFF(5,"Click a cell to turn one tool off. The switches change a whole column or group."),e.k0s()(),e.j41(6,"div",102),e.DNE(7,A_,8,8,"div",88),e.k0s(),e.nrm(8,"span",89),e.k0s()),2&n){const t=e.XpG().$implicit,o=e.XpG(4);e.BMQ("data-testid","mcp-grid-head-"+t.svc.kind),e.R7$(3),e.JRh(o.kindTitle(t.svc.kind)),e.R7$(4),e.Y8G("ngForOf",o.groupsForKind(t.svc.kind))}}function V_(n,a){if(1&n){const t=e.RV6();e.j41(0,"mat-checkbox",110),e.bIt("change",function(){e.eBV(t);const i=e.XpG().$implicit,r=e.XpG(4);return e.Njj(r.toggleSelected(i.name))})("click",function(i){return i.stopPropagation()}),e.k0s()}if(2&n){const t=e.XpG().$implicit,o=e.XpG(4);e.Y8G("checked",o.isSelected(t.name))}}function X_(n,a){1&n&&(e.j41(0,"span",111),e.EFF(1," Service inactive \u2014 tools not served "),e.k0s())}function z_(n,a){if(1&n){const t=e.RV6();e.j41(0,"button",113),e.bIt("click",function(){const r=e.eBV(t).$implicit,c=e.XpG(2).$implicit,s=e.XpG(4);return e.Njj(s.toggleCell(c.svc,r.verb))}),e.nrm(1,"i"),e.k0s()}if(2&n){const t=a.$implicit,o=e.XpG(2).$implicit,i=e.XpG(4);e.AVh("write",i.isWriteVerb(t.verb)),e.Y8G("matTooltip",i.cellTip(o.svc,t.verb)),e.BMQ("data-state",i.cellState(o.svc,t.verb))("data-testid","mcp-cell-"+o.name+"-"+t.verb)("aria-pressed",i.toolEnabled(o.svc,t.verb))("aria-label",i.cellTip(o.svc,t.verb))}}function B_(n,a){if(1&n&&(e.j41(0,"div",103)(1,"div",106),e.DNE(2,z_,2,7,"button",112),e.k0s()()),2&n){const t=a.$implicit;e.AVh("write",!!t.warn),e.R7$(2),e.Y8G("ngForOf",t.verbs)}}function L_(n,a){if(1&n&&(e.j41(0,"button",114),e.EFF(1," Copy this selection to\u2026 "),e.k0s()),2&n){e.XpG();const t=e.sdS(45);e.Y8G("matMenuTriggerFor",t)}}function U_(n,a){if(1&n){const t=e.RV6();e.j41(0,"button",86),e.bIt("click",function(){const r=e.eBV(t).$implicit,c=e.XpG().$implicit,s=e.XpG(4);return e.Njj(s.copySelectionTo(c.svc,r))}),e.EFF(1),e.k0s()}if(2&n){const t=a.$implicit;e.R7$(1),e.Lme(" ",t.label," (",t.name,") ")}}function q_(n,a){if(1&n&&(e.j41(0,"p",120),e.EFF(1),e.k0s()),2&n){const t=e.XpG(6);e.R7$(1),e.SpI(" ",t.allOffLine," ")}}function J_(n,a){if(1&n&&(e.j41(0,"p",121),e.EFF(1),e.k0s()),2&n){const t=e.XpG(2).$implicit,o=e.XpG(4);e.R7$(1),e.SpI(" ",o.mergedCaption(t.svc)," ")}}function K_(n,a){1&n&&(e.j41(0,"span",35),e.EFF(1,"\u26a0 writes"),e.k0s())}function H_(n,a){1&n&&(e.j41(0,"span",35),e.EFF(1,"\u26a0 executes"),e.k0s())}function W_(n,a){if(1&n){const t=e.RV6();e.j41(0,"div",29)(1,"mat-checkbox",30),e.bIt("change",function(){const r=e.eBV(t).$implicit,c=e.XpG(2).$implicit,s=e.XpG(4);return e.Njj(s.toggleGroup(c.svc,r))}),e.EFF(2),e.k0s(),e.DNE(3,K_,2,0,"span",31),e.DNE(4,H_,2,0,"span",31),e.j41(5,"span",32),e.EFF(6),e.k0s()()}if(2&n){const t=a.$implicit,o=e.XpG(2).$implicit,i=e.XpG(4);e.R7$(1),e.Y8G("checked","on"===i.groupStateOf(o.svc,t))("indeterminate","part"===i.groupStateOf(o.svc,t)),e.R7$(1),e.SpI(" ",t.label," "),e.R7$(1),e.Y8G("ngIf","writes"===t.warn),e.R7$(1),e.Y8G("ngIf","executes"===t.warn),e.R7$(2),e.Lme(" ",i.groupOnCount(o.svc,t)," of ",t.verbs.length," on ")}}function Q_(n,a){if(1&n){const t=e.RV6();e.j41(0,"div",38)(1,"mat-checkbox",39),e.bIt("change",function(i){const c=e.eBV(t).$implicit,s=e.XpG(4).$implicit,l=e.XpG(4);return e.Njj(l.setToolChecked(s.svc,c.verb,i.checked))}),e.j41(2,"code"),e.EFF(3),e.k0s()(),e.j41(4,"span",40),e.EFF(5),e.k0s()()}if(2&n){const t=a.$implicit,o=e.XpG(4).$implicit,i=e.XpG(4);e.R7$(1),e.Y8G("checked",i.toolEnabled(o.svc,t.verb)),e.R7$(2),e.JRh(i.emittedName(o.svc,t.verb)),e.R7$(2),e.JRh(t.description)}}function Z_(n,a){if(1&n&&(e.qex(0),e.DNE(1,Q_,6,3,"div",37),e.bVm()),2&n){const t=a.$implicit;e.R7$(1),e.Y8G("ngForOf",t.verbs)}}function eg(n,a){if(1&n&&(e.j41(0,"div",36),e.DNE(1,Z_,2,1,"ng-container",15),e.k0s()),2&n){const t=e.XpG(2).$implicit,o=e.XpG(4);e.R7$(1),e.Y8G("ngForOf",o.groupsFor(t.svc))}}function tg(n,a){if(1&n){const t=e.RV6();e.j41(0,"button",86),e.bIt("click",function(){const r=e.eBV(t).$implicit,c=e.XpG(3).$implicit,s=e.XpG(4);return e.Njj(s.copySelectionTo(c.svc,r))}),e.EFF(1),e.k0s()}if(2&n){const t=a.$implicit;e.R7$(1),e.Lme(" ",t.label," (",t.name,") ")}}function ng(n,a){if(1&n){const t=e.RV6();e.qex(0),e.j41(1,"button",122),e.EFF(2," Copy this selection to\u2026 "),e.k0s(),e.j41(3,"mat-menu",null,123),e.DNE(5,tg,2,2,"button",95),e.j41(6,"button",86),e.bIt("click",function(){e.eBV(t);const i=e.XpG(2).$implicit,r=e.XpG(4);return e.Njj(r.copySelectionTo(i.svc,null))}),e.EFF(7," All exposed databases "),e.k0s()(),e.bVm()}if(2&n){const t=e.sdS(4),o=e.XpG(2).$implicit,i=e.XpG(4);e.R7$(1),e.Y8G("matMenuTriggerFor",t),e.R7$(4),e.Y8G("ngForOf",i.copyTargets(o.svc))("ngForTrackBy",i.trackBySvcName)}}function og(n,a){if(1&n){const t=e.RV6();e.j41(0,"div",115),e.DNE(1,q_,2,1,"p",116),e.DNE(2,J_,2,1,"p",117),e.DNE(3,W_,7,7,"div",118),e.j41(4,"button",33),e.bIt("click",function(){e.eBV(t);const i=e.XpG().$implicit,r=e.XpG(4);return e.Njj(r.toggleToolsList(i.name))}),e.EFF(5),e.k0s(),e.DNE(6,eg,2,1,"div",34),e.j41(7,"div",119)(8,"button",64),e.bIt("click",function(){e.eBV(t);const i=e.XpG().$implicit,r=e.XpG(4);return e.Njj(r.setFull(i.svc))}),e.EFF(9),e.k0s(),e.DNE(10,ng,8,3,"ng-container",2),e.k0s()()}if(2&n){const t=e.XpG().$implicit,o=e.XpG(4);e.R7$(1),e.Y8G("ngIf","zero"===o.accessKind(t.svc)),e.R7$(1),e.Y8G("ngIf",o.showMergedCaption(t.svc)),e.R7$(1),e.Y8G("ngForOf",o.groupsFor(t.svc)),e.R7$(2),e.Lme(" ",o.isToolsListOpen(t.name)?"\u25be":"\u25b8"," Individual tools (",o.verbCount(t.svc),") "),e.R7$(1),e.Y8G("ngIf",o.isToolsListOpen(t.name)),e.R7$(3),e.SpI(" Reset to all ",o.verbCount(t.svc)," "),e.R7$(1),e.Y8G("ngIf","db"===t.svc.kind&&o.copyTargets(t.svc).length>0)}}function ig(n,a){if(1&n){const t=e.RV6();e.qex(0),e.DNE(1,Y_,9,3,"div",73),e.j41(2,"div",74)(3,"div",75)(4,"div",76),e.DNE(5,V_,1,1,"mat-checkbox",77),e.j41(6,"button",78),e.bIt("click",function(){const r=e.eBV(t).$implicit,c=e.XpG(4);return e.Njj(c.toggleExpand(r.name))}),e.j41(7,"span",79),e.EFF(8),e.k0s(),e.j41(9,"span",80),e.EFF(10),e.k0s(),e.j41(11,"span",81),e.EFF(12),e.k0s(),e.j41(13,"span",82),e.EFF(14),e.k0s()(),e.DNE(15,X_,2,0,"span",83),e.j41(16,"button",84),e.bIt("click",function(i){return i.stopPropagation()}),e.EFF(17),e.k0s(),e.j41(18,"mat-menu",null,85)(20,"button",86),e.bIt("click",function(){const r=e.eBV(t).$implicit,c=e.XpG(4);return e.Njj(c.setFull(r.svc))}),e.EFF(21," Full access "),e.k0s(),e.j41(22,"button",86),e.bIt("click",function(){const r=e.eBV(t).$implicit,c=e.XpG(4);return e.Njj(c.setReadOnly(r.svc))}),e.EFF(23," Read-only "),e.k0s(),e.j41(24,"button",86),e.bIt("click",function(){const r=e.eBV(t).$implicit,c=e.XpG(4);return e.Njj(c.expanded.add(r.name))}),e.EFF(25," Choose tools\u2026 "),e.k0s()(),e.j41(26,"span",52),e.EFF(27),e.k0s()(),e.j41(28,"div",87),e.DNE(29,B_,3,3,"div",88),e.k0s(),e.j41(30,"span",89)(31,"button",90),e.bIt("click",function(i){return i.stopPropagation()}),e.EFF(32," \u22ee "),e.k0s(),e.j41(33,"mat-menu",null,91)(35,"button",86),e.bIt("click",function(){const r=e.eBV(t).$implicit,c=e.XpG(4);return e.Njj(c.expanded.add(r.name))}),e.EFF(36," Edit tools "),e.k0s(),e.j41(37,"button",86),e.bIt("click",function(){const r=e.eBV(t).$implicit,c=e.XpG(4);return e.Njj(c.setFull(r.svc))}),e.EFF(38," Full access "),e.k0s(),e.j41(39,"button",86),e.bIt("click",function(){const r=e.eBV(t).$implicit,c=e.XpG(4);return e.Njj(c.setReadOnly(r.svc))}),e.EFF(40," Read-only "),e.k0s(),e.DNE(41,L_,2,1,"button",92),e.j41(42,"button",93),e.bIt("click",function(){const r=e.eBV(t).$implicit,c=e.XpG(4);return e.Njj(c.removeServices([r.name]))}),e.EFF(43," Remove from server "),e.k0s()(),e.j41(44,"mat-menu",null,94),e.DNE(46,U_,2,2,"button",95),e.j41(47,"button",86),e.bIt("click",function(){const r=e.eBV(t).$implicit,c=e.XpG(4);return e.Njj(c.copySelectionTo(r.svc,null))}),e.EFF(48," All exposed databases "),e.k0s()(),e.j41(49,"button",96),e.bIt("click",function(){const r=e.eBV(t).$implicit,c=e.XpG(4);return e.Njj(c.toggleExpand(r.name))}),e.EFF(50),e.k0s()()(),e.DNE(51,og,11,8,"div",97),e.k0s(),e.bVm()}if(2&n){const t=a.$implicit,o=a.index,i=e.sdS(19),r=e.sdS(34),c=e.XpG(4);e.R7$(1),e.Y8G("ngIf",c.startsKind(o)),e.R7$(1),e.AVh("inactive",!t.svc.active),e.BMQ("data-testid","mcp-svc-row-"+t.name),e.R7$(3),e.Y8G("ngIf",c.showFilter()),e.R7$(3),e.JRh(c.typeIcon(t.svc.kind)),e.R7$(2),e.JRh(t.svc.label),e.R7$(2),e.JRh(t.name),e.R7$(2),e.JRh(c.typeBadge(t.svc.kind)),e.R7$(1),e.Y8G("ngIf",!t.svc.active),e.R7$(1),e.AVh("good","ro"===c.accessKind(t.svc))("primary","custom"===c.accessKind(t.svc))("warn","zero"===c.accessKind(t.svc)),e.Y8G("matMenuTriggerFor",i),e.BMQ("data-testid","mcp-svc-access-"+t.name),e.R7$(1),e.SpI(" ",c.accessDisplay(t.svc)," "),e.R7$(9),e.BMQ("data-testid","mcp-svc-fraction-"+t.name),e.R7$(1),e.SpI(" ",c.fractionText(t.svc)," "),e.R7$(1),e.BMQ("aria-label","Tools of "+t.name),e.R7$(1),e.Y8G("ngForOf",c.groupsFor(t.svc)),e.R7$(2),e.Y8G("matMenuTriggerFor",r),e.BMQ("data-testid","mcp-svc-menu-"+t.name),e.R7$(10),e.Y8G("ngIf","db"===t.svc.kind&&c.copyTargets(t.svc).length>0),e.R7$(5),e.Y8G("ngForOf",c.copyTargets(t.svc))("ngForTrackBy",c.trackBySvcName),e.R7$(3),e.BMQ("aria-expanded",c.isExpanded(t.name)),e.R7$(1),e.SpI(" ",c.isExpanded(t.name)?"\u25be":"\u25b8"," "),e.R7$(1),e.Y8G("ngIf",c.isExpanded(t.name))}}function ag(n,a){1&n&&(e.j41(0,"p",124),e.EFF(1," No exposed service matches the current filter. "),e.k0s())}function rg(n,a){if(1&n&&(e.j41(0,"div",70),e.DNE(1,ig,52,31,"ng-container",71),e.DNE(2,ag,2,0,"p",72),e.k0s()),2&n){const t=e.XpG(3);e.R7$(1),e.Y8G("ngForOf",t.gridRows())("ngForTrackBy",t.trackByName),e.R7$(1),e.Y8G("ngIf",0===t.visibleRows().length)}}function cg(n,a){1&n&&(e.j41(0,"span"),e.nrm(1,"i",129),e.EFF(2,"blocked: writes are off for this server"),e.k0s())}function sg(n,a){if(1&n&&(e.j41(0,"div",125)(1,"span"),e.nrm(2,"i",126),e.EFF(3,"served, reads"),e.k0s(),e.j41(4,"span"),e.nrm(5,"i",127),e.EFF(6,"served, writes or executes"),e.k0s(),e.j41(7,"span"),e.nrm(8,"i",128),e.EFF(9,"turned off"),e.k0s(),e.DNE(10,cg,3,0,"span",2),e.k0s()),2&n){const t=e.XpG(3);e.R7$(10),e.Y8G("ngIf",!1===t.store.cfg.allowWrites)}}function lg(n,a){if(1&n&&(e.j41(0,"button",134),e.EFF(1," Copy curation from\u2026 "),e.k0s()),2&n){e.XpG();const t=e.sdS(9);e.Y8G("matMenuTriggerFor",t)}}function dg(n,a){if(1&n){const t=e.RV6();e.j41(0,"button",86),e.bIt("click",function(){const r=e.eBV(t).$implicit,c=e.XpG(4);return e.Njj(c.bulkCopyFrom(r))}),e.EFF(1),e.k0s()}if(2&n){const t=a.$implicit;e.R7$(1),e.Lme(" ",t.label," (",t.name,") ")}}function pg(n,a){if(1&n){const t=e.RV6();e.j41(0,"div",130)(1,"span"),e.EFF(2),e.k0s(),e.j41(3,"button",64),e.bIt("click",function(){e.eBV(t);const i=e.XpG(3);return e.Njj(i.bulkReadOnly())}),e.EFF(4," Read-only "),e.k0s(),e.j41(5,"button",64),e.bIt("click",function(){e.eBV(t);const i=e.XpG(3);return e.Njj(i.bulkFull())}),e.EFF(6," Full access "),e.k0s(),e.DNE(7,lg,2,1,"button",131),e.j41(8,"mat-menu",null,132),e.DNE(10,dg,2,2,"button",95),e.k0s(),e.j41(11,"button",64),e.bIt("click",function(){e.eBV(t);const i=e.XpG(3);return e.Njj(i.bulkRemove())}),e.EFF(12," Remove from server "),e.k0s(),e.j41(13,"button",133),e.bIt("click",function(){e.eBV(t);const i=e.XpG(3);return e.Njj(i.clearSelection())}),e.EFF(14," Clear "),e.k0s()()}if(2&n){const t=e.XpG(3);e.R7$(2),e.SpI("",t.selected.size," selected"),e.R7$(5),e.Y8G("ngIf",t.bulkCopyShown()),e.R7$(3),e.Y8G("ngForOf",t.bulkCopySources())("ngForTrackBy",t.trackBySvcName)}}function mg(n,a){1&n&&(e.j41(0,"span",81),e.EFF(1,"Cross-database aggregators"),e.k0s())}function _g(n,a){if(1&n){const t=e.RV6();e.j41(0,"div",38)(1,"mat-checkbox",39),e.bIt("change",function(i){const c=e.eBV(t).$implicit,s=e.XpG(4);return e.Njj(s.setBareChecked(c.tool.verb,i.checked))}),e.j41(2,"code"),e.EFF(3),e.k0s()(),e.DNE(4,mg,2,0,"span",136),e.j41(5,"span",40),e.EFF(6),e.k0s()()}if(2&n){const t=a.$implicit,o=e.XpG(4);e.R7$(1),e.Y8G("checked",o.bareEnabled(t.tool.verb)),e.R7$(2),e.JRh(t.tool.verb),e.R7$(1),e.Y8G("ngIf",t.aggregator),e.R7$(2),e.JRh(t.tool.description)}}function gg(n,a){if(1&n&&(e.j41(0,"div",36),e.DNE(1,_g,7,4,"div",135),e.k0s()),2&n){const t=e.XpG(3);e.R7$(1),e.Y8G("ngForOf",t.globalToolList())("ngForTrackBy",t.trackByToolVerb)}}function fg(n,a){if(1&n){const t=e.RV6();e.j41(0,"div",139)(1,"mat-slide-toggle",140),e.bIt("change",function(i){const c=e.eBV(t).$implicit,s=e.XpG(4);return e.Njj(s.setCustomEnabled(c,i.checked))}),e.k0s(),e.j41(2,"code"),e.EFF(3),e.k0s(),e.j41(4,"span",81),e.EFF(5),e.k0s(),e.j41(6,"span",40),e.EFF(7),e.k0s(),e.j41(8,"span",141)(9,"button",133),e.bIt("click",function(){const r=e.eBV(t).$implicit,c=e.XpG(4);return e.Njj(c.editCustomTool(r))}),e.EFF(10," Edit "),e.k0s(),e.j41(11,"button",133),e.bIt("click",function(){const r=e.eBV(t).$implicit,c=e.XpG(4);return e.Njj(c.deleteCustomTool(r))}),e.EFF(12," Delete "),e.k0s()()()}if(2&n){const t=a.$implicit,o=e.XpG(4);e.R7$(1),e.Y8G("checked",o.customEnabled(t)),e.BMQ("aria-label","Enable "+t.name),e.R7$(2),e.JRh(t.name),e.R7$(2),e.JRh("function"===t.toolType?"Function":"API"),e.R7$(2),e.JRh(o.customSummary(t))}}function ug(n,a){if(1&n&&(e.j41(0,"div",137),e.DNE(1,fg,13,5,"div",138),e.k0s()),2&n){const t=e.XpG(3);e.R7$(1),e.Y8G("ngForOf",t.customTools())}}function hg(n,a){1&n&&(e.j41(0,"p",142),e.EFF(1," No custom tools. Add an API endpoint or server-side function agents can call alongside the catalog above. "),e.k0s())}function bg(n,a){if(1&n){const t=e.RV6();e.DNE(0,$_,4,3,"section",41),e.j41(1,"div",25)(2,"h2"),e.EFF(3),e.k0s(),e.j41(4,"button",42),e.bIt("click",function(){e.eBV(t);const i=e.XpG(2);return e.Njj(i.openPicker())}),e.EFF(5," + Expose services\u2026 "),e.k0s()(),e.DNE(6,G_,7,1,"div",43),e.DNE(7,j_,8,9,"div",44),e.DNE(8,rg,3,3,"div",45),e.DNE(9,sg,11,1,"div",46),e.DNE(10,pg,15,4,"div",47),e.j41(11,"section",48)(12,"button",49),e.bIt("click",function(){e.eBV(t);const i=e.XpG(2);return e.Njj(i.globalsOpen=!i.globalsOpen)}),e.j41(13,"span",50),e.EFF(14,"Global tools"),e.k0s(),e.j41(15,"span",51),e.EFF(16,"Work across the services exposed above."),e.k0s(),e.j41(17,"span",52),e.EFF(18),e.k0s(),e.j41(19,"span",53),e.EFF(20),e.k0s()(),e.DNE(21,gg,2,2,"div",34),e.k0s(),e.j41(22,"section",54)(23,"div",55)(24,"span",50),e.EFF(25),e.k0s(),e.j41(26,"button",56),e.bIt("click",function(){e.eBV(t);const i=e.XpG(2);return e.Njj(i.addCustomTool())}),e.EFF(27," + Add custom tool "),e.k0s()(),e.DNE(28,ug,2,1,"div",57),e.DNE(29,hg,2,0,"p",58),e.k0s()}if(2&n){const t=e.XpG(2);e.Y8G("ngIf",t.orphanRows().length>0),e.R7$(3),e.Lme(" Exposed services (",t.serviceRows().length," of ",t.store.backendServices.length,") "),e.R7$(3),e.Y8G("ngIf",0===t.store.cfg.exposedServices.length),e.R7$(1),e.Y8G("ngIf",t.showFilter()),e.R7$(1),e.Y8G("ngIf",t.serviceRows().length>0),e.R7$(1),e.Y8G("ngIf",t.serviceRows().length>0),e.R7$(1),e.Y8G("ngIf",t.selected.size>0),e.R7$(8),e.JRh(t.globalFractionText()),e.R7$(2),e.JRh(t.globalsOpen?"\u25be":"\u25b8"),e.R7$(1),e.Y8G("ngIf",t.globalsOpen),e.R7$(4),e.SpI("Custom tools (",t.customTools().length,")"),e.R7$(3),e.Y8G("ngIf",t.customTools().length>0),e.R7$(1),e.Y8G("ngIf",0===t.customTools().length)}}function vg(n,a){if(1&n&&(e.j41(0,"span",143),e.EFF(1),e.k0s()),2&n){const t=e.XpG(2);e.R7$(1),e.SpI(" \xb7 ",t.serverCountNote()," ")}}function xg(n,a){1&n&&(e.qex(0),e.EFF(1,"(estimate)"),e.bVm())}function Cg(n,a){if(1&n&&(e.j41(0,"li"),e.EFF(1),e.k0s()),2&n){const t=a.$implicit;e.R7$(1),e.JRh(t)}}function kg(n,a){1&n&&(e.qex(0),e.j41(1,"span",144),e.EFF(2,"Read-only \u2713"),e.k0s(),e.j41(3,"span",145),e.EFF(4,"writes are off for this server (Settings) \u2014 write tools are not served"),e.k0s(),e.bVm())}function yg(n,a){1&n&&(e.qex(0),e.j41(1,"span",146),e.EFF(2,"Read-only \u2713"),e.k0s(),e.j41(3,"span",145),e.EFF(4,"zero write or execute tools enabled"),e.k0s(),e.bVm())}function Mg(n,a){if(1&n&&e.DNE(0,yg,5,0,"ng-container",7),2&n){e.XpG();const t=e.sdS(25),o=e.XpG();e.Y8G("ngIf",o.railReadOnly())("ngIfElse",t)}}function Og(n,a){if(1&n){const t=e.RV6();e.j41(0,"span",145),e.EFF(1),e.k0s(),e.j41(2,"button",147),e.bIt("click",function(){e.eBV(t);const i=e.XpG(2);return e.Njj(i.makeReadOnly())}),e.EFF(3," Make read-only "),e.k0s()}if(2&n){const t=e.XpG(2);e.R7$(1),e.Lme(" ",t.railWriteActive()," write ",1===t.railWriteActive()?"tool":"tools"," active ")}}function Pg(n,a){if(1&n&&(e.j41(0,"p",148),e.EFF(1),e.j41(2,"span",149),e.EFF(3,"[Why?]"),e.k0s()()),2&n){const t=e.XpG(2);e.R7$(1),e.SpI(" ",t.servingLine()," "),e.R7$(1),e.Y8G("matTooltip",t.lazyWhyTooltip)}}function Fg(n,a){if(1&n&&(e.j41(0,"li")(1,"code"),e.EFF(2),e.k0s(),e.EFF(3),e.k0s()),2&n){const t=a.$implicit;e.R7$(2),e.JRh(t.verb),e.R7$(1),e.Lme(" \u2192 ",t.on," of ",t.total," ")}}function wg(n,a){if(1&n&&(e.j41(0,"ul"),e.DNE(1,Fg,4,3,"li",71),e.k0s()),2&n){const t=e.XpG(3);e.R7$(1),e.Y8G("ngForOf",t.reachList())("ngForTrackBy",t.trackByVerb)}}function Dg(n,a){if(1&n){const t=e.RV6();e.j41(0,"div",150)(1,"button",33),e.bIt("click",function(){e.eBV(t);const i=e.XpG(2);return e.Njj(i.railReachOpen=!i.railReachOpen)}),e.EFF(2),e.k0s(),e.DNE(3,wg,2,2,"ul",2),e.k0s()}if(2&n){const t=e.XpG(2);e.R7$(2),e.SpI(" ",t.railReachOpen?"\u25be":"\u25b8"," Per-tool reach "),e.R7$(1),e.Y8G("ngIf",t.railReachOpen)}}function Tg(n,a){if(1&n){const t=e.RV6();e.qex(0),e.DNE(1,w_,2,0,"div",4),e.j41(2,"div",5)(3,"div",6),e.DNE(4,I_,6,3,"ng-container",7),e.DNE(5,bg,30,14,"ng-template",null,8,e.C5r),e.k0s(),e.j41(7,"aside",9)(8,"h2",10),e.EFF(9,"What an agent gets"),e.k0s(),e.j41(10,"p",11)(11,"b"),e.EFF(12),e.k0s(),e.EFF(13," callable tools "),e.DNE(14,vg,2,1,"span",12),e.k0s(),e.j41(15,"p",13),e.EFF(16),e.DNE(17,xg,2,0,"ng-container",2),e.k0s(),e.j41(18,"ul",14),e.DNE(19,Cg,2,1,"li",15),e.k0s(),e.j41(20,"div",16),e.DNE(21,kg,5,0,"ng-container",7),e.DNE(22,Mg,1,2,"ng-template",null,17,e.C5r),e.DNE(24,Og,4,2,"ng-template",null,18,e.C5r),e.k0s(),e.DNE(26,Pg,4,2,"p",19),e.j41(27,"button",20),e.bIt("click",function(){e.eBV(t);const i=e.XpG();return e.Njj(i.openPreview())}),e.EFF(28," Preview what an agent sees "),e.k0s(),e.j41(29,"button",21),e.bIt("click",function(){e.eBV(t);const i=e.XpG();return e.Njj(i.copyToolList())}),e.EFF(30," \u25b8 Copy tool list "),e.k0s(),e.DNE(31,Dg,4,2,"div",22),e.nrm(32,"df-mcp-access",23),e.k0s()(),e.bVm()}if(2&n){const t=e.sdS(6),o=e.sdS(23),i=e.XpG();e.R7$(1),e.Y8G("ngIf",0===i.railTotal()),e.R7$(3),e.Y8G("ngIf",i.store.isSystemMcp)("ngIfElse",t),e.R7$(8),e.JRh(i.railTotal()),e.R7$(2),e.Y8G("ngIf",i.serverCountNote()),e.R7$(2),e.SpI(" ",i.sizeLine()," "),e.R7$(1),e.Y8G("ngIf","estimate"===i.stats().source),e.R7$(2),e.Y8G("ngForOf",i.railBreakdown()),e.R7$(2),e.Y8G("ngIf",i.writesOff())("ngIfElse",o),e.R7$(5),e.Y8G("ngIf",i.servingLine()),e.R7$(5),e.Y8G("ngIf",i.showReach()),e.R7$(1),e.Y8G("store",i.store)}}function Jn(n){return/^(get_|list_)/.test(n.name)}let Sg=(()=>{class n{ngOnChanges(t){t.store&&this.localMemo.clear(),t.store&&!t.store.firstChange&&(this.expanded.clear(),this.toolsListOpen.clear(),this.selected.clear(),this.globalsOpen=!1,this.railReachOpen=!1,this.filterText="",this.filterKind="all",this.filterModified=!1)}memoized(t,o,i){const r=this.localMemo.get(t);if(r&&r.key===o)return r.value;const c=i();return this.localMemo.set(t,{key:o,value:c}),c}constructor(t,o){this.dialog=t,this.snackbar=o,this.loading=!1,this.localMemo=new Map,this.trackByName=(i,r)=>r.name,this.trackBySvcName=(i,r)=>r.name,this.trackByToolVerb=(i,r)=>r.tool.verb,this.trackByVerb=(i,r)=>r.verb,this.allOffLine="Agents see this service but can call nothing. Enable tools or remove it.",this.lazyWhyTooltip=`When the tool list exceeds ${de(Ze)} (~8k tokens), agents first receive ${Me.length} discovery tools instead of the full catalog: search_tools \u2192 describe_tool \u2192 call_tool, with fetch_more for long results. Every tool stays callable by name.`,this.expanded=new Set,this.toolsListOpen=new Set,this.globalsOpen=!1,this.customsOpen=!0,this.railReachOpen=!1,this.filterText="",this.filterKind="all",this.filterModified=!1,this.selected=new Set,this.systemGroups=[{key:"sysread",label:"Read system",warn:!1,tools:oe.filter(Jn)},{key:"sysmod",label:"Modify system",warn:!0,tools:oe.filter(i=>!Jn(i))}]}eff(){return this.store.effective()}railTotal(){return this.store.isSystemMcp?this.sysEnabledCount():this.eff().total}railReadOnly(){return this.store.isSystemMcp?0===this.sysModifyOn():this.eff().readOnly}writesOff(){return!this.store.isSystemMcp&&!1===this.store.cfg.allowWrites}stats(){return this.store.catalogStats()}sizeLine(){const t=this.stats(),o=t.lazy?`${de(t.facadeBytes)} facade instead of ${de(t.bytes)}`:de(t.bytes);return`${Rn(t.tokens)} tokens per turn \xb7 ${o}`}serverCountNote(){const t=this.stats();return"server"!==t.source||null===t.count||t.count===this.railTotal()?null:`Server reports ${t.count}`}railWriteActive(){return this.store.isSystemMcp?this.sysModifyOn():this.eff().writeVerbs}serviceRows(){return this.memoized("serviceRows",String(this.store.version),()=>this.store.rows().filter(t=>!!t.svc))}orphanRows(){return this.memoized("orphanRows",String(this.store.version),()=>this.store.rows().filter(t=>!t.svc))}showFilter(){return this.serviceRows().length>8}rowCountOf(t){return this.serviceRows().filter(o=>o.svc.kind===t).length}isModified(t){return this.store.dormantCurationCount(t)>0}visibleRows(){return this.memoized("visibleRows",`${this.store.version}|${this.filterText}|${this.filterKind}|${this.filterModified}`,()=>{let o=this.serviceRows();if(!this.showFilter())return o;const i=this.filterText.trim().toLowerCase();return i&&(o=o.filter(r=>r.name.toLowerCase().includes(i)||r.svc.label.toLowerCase().includes(i))),"all"!==this.filterKind&&(o=o.filter(r=>r.svc.kind===this.filterKind)),this.filterModified&&(o=o.filter(r=>this.isModified(r.name))),o})}setFilterKind(t){this.filterKind=this.filterKind===t?"all":t}typeIcon(t){return"db"===t?"\u26c1":"\u{1f5c2}"}typeBadge(t){return"db"===t?"Database":"Files"}isExpanded(t){return this.expanded.has(t)}toggleExpand(t){this.expanded.has(t)?this.expanded.delete(t):this.expanded.add(t)}isToolsListOpen(t){return this.toolsListOpen.has(t)}toggleToolsList(t){this.toolsListOpen.has(t)?this.toolsListOpen.delete(t):this.toolsListOpen.add(t)}accessKind(t){return this.store.access(t).kind}accessDisplay(t){const o=this.store.access(t),i=this.store.fraction(t);switch(o.kind){case"full":return"Full";case"ro":return"Read-only";case"zero":return`0 of ${i.total} \u26a0`;default:return`Custom \u25d0 ${i.on} of ${i.total}`}}fractionText(t){const o=this.store.fraction(t);return`${o.on} of ${o.total}`}setFull(t){this.store.setServiceFull(t)}setReadOnly(t){this.store.setServiceReadOnly(t)}gridRows(){return this.memoized("gridRows",`${this.store.version}|${this.filterText}|${this.filterKind}|${this.filterModified}`,()=>{const o=this.visibleRows();return[...o.filter(i=>"db"===i.svc.kind),...o.filter(i=>"db"!==i.svc.kind)]})}startsKind(t){const o=this.gridRows();return 0===t||o[t-1].svc.kind!==o[t].svc.kind}groupsForKind(t){return Oe(t)}kindTitle(t){return"db"===t?"Databases":"File storage"}shortGroupLabel(t){return{read:"Read",schema:"Schema",write:"Write",procs:"Procs",fread:"Read",fwrite:"Write"}[t.key]??t.label}isWriteVerb(t){return Qe.has(t)}cellState(t,o){return this.store.isToolEnabled(t.name,o)?!1===this.store.cfg.allowWrites&&Qe.has(o)?"writes-off":"on":"off"}cellTip(t,o){const i=this.cellState(t,o),r="on"===i?"served":"off"===i?"turned off":"blocked: writes are off for this server";return`${this.emittedName(t,o)} (${t.name}): ${r}. Click to turn ${this.store.isToolEnabled(t.name,o)?"off":"on"}.`}toggleCell(t,o){this.store.setTool(t.name,o,!this.store.isToolEnabled(t.name,o))}exposedOfKind(t){return this.serviceRows().filter(o=>o.svc.kind===t).map(o=>o.svc)}columnState(t,o){let i=0,r=0;for(const c of this.exposedOfKind(t))for(const s of o)r++,this.store.isToolEnabled(c.name,s.verb)&&i++;return 0===r||0===i?"off":i===r?"on":"mixed"}toggleColumn(t,o){const i="on"!==this.columnState(t,o);for(const r of this.exposedOfKind(t))for(const c of o)this.store.setTool(r.name,c.verb,i)}columnTip(t,o,i){const r=this.exposedOfKind(t).length,c=`${r} exposed ${"db"===t?"database":"file service"}${1===r?"":"s"}`;return"on"===this.columnState(t,i)?`Turn ${o} off in all ${c}`:`Turn ${o} on in all ${c}`}groupsFor(t){return Oe(t.kind)}groupStateOf(t,o){return et(t,o,this.store.cfg.disabledTools)}groupOnCount(t,o){return o.verbs.filter(i=>this.store.isToolEnabled(t.name,i.verb)).length}toggleGroup(t,o){const i="on"!==this.groupStateOf(t,o);for(const r of o.verbs)this.store.setTool(t.name,r.verb,i)}toolEnabled(t,o){return this.store.isToolEnabled(t.name,o)}setToolChecked(t,o,i){this.store.setTool(t.name,o,i)}emittedName(t,o){return $t(this.eff().effectiveStyle,t.name,o)}verbCount(t){return G(t.kind).length}mergedCaption(t){return`Tools are shared across your ${"db"===t.kind?"databases":"file services"}. Turning one off here removes ${t.name} from that tool's allowed services; turning it off in every ${"db"===t.kind?"database":"file service"} removes the tool.`}showMergedCaption(t){return"merged"===this.store.cfg.toolStyle}copyTargets(t){return this.memoized(`copyTargets:${t.name}`,String(this.store.version),()=>this.serviceRows().map(o=>o.svc).filter(o=>"db"===o.kind&&o.name!==t.name))}copySelectionTo(t,o){const i=o?[o]:this.copyTargets(t);if(0!==i.length){for(const c of i)for(const s of G("db"))this.store.setTool(c.name,s.verb,this.store.isToolEnabled(t.name,s.verb));this.snackbar.openSnackBar(`Copied ${t.name}'s tool selection to ${o?o.name:"all exposed databases"}.`,"success")}}removeServices(t,o=!1){0!==t.length&&this.dialog.open(y_,{data:{names:t,orphan:o},maxWidth:"95vw"}).afterClosed().subscribe(i=>{if(!i)return;for(const s of t)this.store.removeService(s,i.clear);t.forEach(s=>this.selected.delete(s));const r=1===t.length?t[0]:`${t.length} services`;this.snackbar.openSnackBar(i.clear?`Removed ${r} and cleared the saved tool settings.`:1===t.length?`Removed ${r} \u2014 its tool selection is kept and restores if you expose it again.`:`Removed ${r} \u2014 their tool selections are kept and restore if you expose them again.`,"success")})}orphanText(t){return`'${t}' no longer exists on this instance (renamed or deleted). Its ${this.store.dormantCurationCount(t)} saved tool settings are kept.`}renameOrphan(t){this.dialog.open(P_,{data:{store:this.store,oldName:t},maxWidth:"95vw"}).afterClosed().subscribe(o=>{o&&(this.store.renameExposedEntry(t,o),this.snackbar.openSnackBar(`Pointed the entry at ${o} and renamed its saved tool settings.`,"success"))})}openPicker(){this.dialog.open(Hp,{data:{store:this.store},width:"680px",maxWidth:"95vw"}).afterClosed().subscribe(t=>{!t||0===t.names.length||(function Kp(n,a){const t=jn(n,a.names,a.accessTouched),o=a.names.filter(i=>!t.has(i));o.length&&n.exposeServices(o,a.access),t.size&&n.exposeServices([...t],"keep")}(this.store,t),this.snackbar.openSnackBar(`Exposed ${t.names.length} ${1===t.names.length?"service":"services"}.`,"success"))})}isSelected(t){return this.selected.has(t)}toggleSelected(t){this.selected.has(t)?this.selected.delete(t):this.selected.add(t)}selectedServices(){return this.serviceRows().filter(t=>this.selected.has(t.name)).map(t=>t.svc)}bulkReadOnly(){this.selectedServices().forEach(t=>this.store.setServiceReadOnly(t))}bulkFull(){this.selectedServices().forEach(t=>this.store.setServiceFull(t))}bulkCopySources(){return this.memoized("bulkCopySources",String(this.store.version),()=>this.serviceRows().map(t=>t.svc).filter(t=>"db"===t.kind))}bulkCopyShown(){return this.selectedServices().some(t=>"db"===t.kind)&&this.bulkCopySources().length>0}bulkCopyFrom(t){const o=this.selectedServices().filter(i=>"db"===i.kind&&i.name!==t.name);if(0!==o.length){for(const i of o)for(const r of G("db"))this.store.setTool(i.name,r.verb,this.store.isToolEnabled(t.name,r.verb));this.snackbar.openSnackBar(`Copied ${t.name}'s tool selection to ${o.length} selected ${1===o.length?"database":"databases"}.`,"success")}}bulkRemove(){this.removeServices([...this.selected])}clearSelection(){this.selected.clear()}aggregatorsShown(){const t=this.eff();return Ve(t.dbServices,t.fileServices).length>0}globalToolList(){return this.memoized("globalToolList",String(this.store.version),()=>{const t=ye.map(i=>({tool:i,aggregator:!1})),o=this.eff();for(const i of Ve(o.dbServices,o.fileServices))t.push({tool:i,aggregator:!0});return t})}globalFractionText(){const t=this.globalToolList();return`${t.filter(i=>this.store.isBareToolEnabled(i.tool.verb)).length} of ${t.length}`}bareEnabled(t){return this.store.isBareToolEnabled(t)}setBareChecked(t,o){this.store.setBareTool(t,o)}customTools(){return this.store.cfg.customTools??[]}customEnabled(t){return!1!==t?.enabled&&0!==t?.enabled}setCustomEnabled(t,o){t.enabled=o,this.store.touch()}customSummary(t){return"function"===t?.toolType?t?.description||"Server-side function":`${t?.httpMethod||"GET"} ${t?.url||""}`.trim()}addCustomTool(){this.dialog.open(qn,{data:{store:this.store},width:"560px",maxWidth:"95vw",disableClose:!0}).afterClosed().subscribe(t=>{t&&(this.store.cfg.customTools=[...this.customTools(),t],this.store.touch())})}editCustomTool(t){this.dialog.open(qn,{data:{store:this.store,tool:t},width:"560px",maxWidth:"95vw",disableClose:!0}).afterClosed().subscribe(o=>{if(!o)return;const i=this.customTools().indexOf(t);i>=0&&(this.store.cfg.customTools=[...this.customTools().slice(0,i),o,...this.customTools().slice(i+1)],this.store.touch())})}deleteCustomTool(t){window.confirm(`Delete custom tool "${t?.name}"?`)&&(this.store.cfg.customTools=this.customTools().filter(i=>i!==t),this.store.touch())}railBreakdown(){if(this.store.isSystemMcp)return[`${this.sysGroupOn(this.systemGroups[0])} read system`,`${this.sysGroupOn(this.systemGroups[1])} modify system`];const t=this.eff(),o=[];if(t.dbServices>0&&o.push(`${t.dbTools} database (${"merged"===t.effectiveStyle?"shared set \u2014 ":""}write reaches ${t.writeReachDb} of ${t.dbServices} ${1===t.dbServices?"database":"databases"})`),t.fileServices>0){const i=G("file").length;o.push(`${t.fileTools} file (${t.fileServices} ${1===t.fileServices?"service":"services"}${t.fileTools===t.fileServices*i?` \xd7 ${i}`:""})`)}return o.push(`${t.globalTools} global`),t.aggregators>0&&o.push(`${t.aggregators} cross-database aggregators`),t.customTools>0&&o.push(`${t.customTools} custom`),o}servingLine(){const t=this.stats();if(!t.lazy)return null;const o=Me.length;return"auto"===this.store.cfg.lazyMode?`Delivered on demand (auto): the catalog (${de(t.bytes)}) exceeds ${de(Ze)}, so clients first see ${o} discovery tools.`:`Delivered on demand (always on): clients first see ${o} discovery tools.`}makeReadOnly(){if(this.store.isSystemMcp){const r=this.systemGroups[1].tools.filter(s=>this.store.isBareToolEnabled(s.name));if(!window.confirm(`Turn off all ${r.length} write and execute tools? You can undo until you save.`))return;return void r.forEach(s=>this.store.setBareTool(s.name,!1))}const t=this.eff();window.confirm(`Turn off all ${t.writeVerbs} write and execute tools across ${t.writeReach} ${1===t.writeReach?"service":"services"}${t.writeCapableCustoms>0?` and ${t.writeCapableCustoms} custom ${1===t.writeCapableCustoms?"tool":"tools"}`:""}? You can undo until you save.`)&&this.store.makeReadOnly()}servedToolNames(){if(this.store.isSystemMcp)return oe.filter(l=>this.store.isBareToolEnabled(l.name)).map(l=>l.name);const t=this.store.cfg.disabledTools,o=this.eff().effectiveStyle,i=this.serviceRows().map(l=>l.svc).filter(l=>l.active),r=i.filter(l=>"db"===l.kind),c=i.filter(l=>"file"===l.kind),s=[];for(const l of ye)t.has(l.verb)||s.push(l.verb);for(const l of Ve(r.length,c.length))t.has(l.verb)||s.push(l.verb);if("merged"===o)for(const l of G("db"))r.some(p=>re(this.store.cfg,p.name,l.verb))&&s.push(l.verb);else for(const l of r)for(const p of G("db"))re(this.store.cfg,l.name,p.verb)&&s.push(ne(l.name,p.verb));for(const l of c)for(const p of G("file"))re(this.store.cfg,l.name,p.verb)&&s.push(ne(l.name,p.verb));for(const l of this.store.cfg.customTools??[])Rt(this.store.cfg,l)&&l?.name&&s.push(l.name);return s}copyToolList(){const t=this.servedToolNames();navigator.clipboard?.writeText(t.join("\n")).catch(()=>{}),this.snackbar.openSnackBar(`Copied ${t.length} tool ${1===t.length?"name":"names"}.`,"success")}showReach(){return!this.store.isSystemMcp&&"merged"===this.eff().effectiveStyle&&this.eff().dbServices>0}reachList(){return this.memoized("reachList",String(this.store.version),()=>G("db").map(t=>{const o=Et(t.verb,this.store.cfg,this.store.backendServices);return{verb:t.verb,on:o.on.length,total:o.total}}))}openPreview(){this.dialog.open(im,{data:{store:this.store},position:{top:"0",right:"0"},height:"100vh",width:"560px",maxWidth:"95vw",panelClass:"mcp-preview-pane"})}sysEnabledCount(){return oe.filter(t=>this.store.isBareToolEnabled(t.name)).length}sysTotal(){return oe.length}sysGroupOn(t){return t.tools.filter(o=>this.store.isBareToolEnabled(o.name)).length}sysGroupState(t){const o=this.sysGroupOn(t);return 0===o?"off":o===t.tools.length?"on":"part"}sysToggleGroup(t){const o="on"!==this.sysGroupState(t);t.tools.forEach(i=>this.store.setBareTool(i.name,o))}sysModifyOn(){return this.sysGroupOn(this.systemGroups[1])}static{this.\u0275fac=function(o){return new(o||n)(e.rXU(h.bZ),e.rXU(pe.L))}}static{this.\u0275cmp=e.VBU({type:n,selectors:[["df-mcp-tools"]],inputs:{store:"store",loading:"loading"},standalone:!0,features:[e.OA$,e.aNF],decls:3,vars:2,consts:[["data-testid","mcp-tools-tab",1,"mcp-tools"],["class","mcp-tools-loading",4,"ngIf"],[4,"ngIf"],[1,"mcp-tools-loading"],["class","mcp-tools-warnbanner",4,"ngIf"],[1,"mcp-tools-layout"],[1,"mcp-tools-main"],[4,"ngIf","ngIfElse"],["mcpMain",""],["data-testid","mcp-rail",1,"mcp-rail"],[1,"mcp-rail-title"],["data-testid","mcp-rail-total",1,"mcp-rail-total"],["class","mcp-rail-note","data-testid","mcp-server-count",4,"ngIf"],["data-testid","mcp-rail-size",1,"mcp-rail-note"],[1,"mcp-rail-breakdown"],[4,"ngFor","ngForOf"],["data-testid","mcp-rail-readonly",1,"mcp-rail-ro"],["curated",""],["writesActive",""],["class","mcp-rail-serving",4,"ngIf"],["mat-flat-button","","color","primary","type","button","data-testid","mcp-preview-btn",1,"mcp-rail-preview-btn",3,"click"],["type","button","data-testid","mcp-copy-toollist",1,"mcp-linklike",3,"click"],["class","mcp-rail-reach",4,"ngIf"],[3,"store"],[1,"mcp-tools-warnbanner"],[1,"mcp-section-head"],[1,"mcp-card"],["class","mcp-sys-group",4,"ngFor","ngForOf"],[1,"mcp-sys-group"],[1,"mcp-group-row"],[3,"checked","indeterminate","change"],["class","mcp-warn-tag",4,"ngIf"],[1,"mcp-group-count"],["type","button",1,"mcp-linklike",3,"click"],["class","mcp-tool-list",4,"ngIf"],[1,"mcp-warn-tag"],[1,"mcp-tool-list"],["class","mcp-tool-row",4,"ngFor","ngForOf"],[1,"mcp-tool-row"],[3,"checked","change"],[1,"mcp-tool-desc"],["class","mcp-orphans",4,"ngIf"],["mat-flat-button","","color","primary","type","button","data-testid","mcp-expose-btn",3,"click"],["class","mcp-card mcp-empty",4,"ngIf"],["class","mcp-filter-strip",4,"ngIf"],["class","mcp-card mcp-rows",4,"ngIf"],["class","mcp-legend",4,"ngIf"],["class","mcp-bulk-bar","data-testid","mcp-bulk-bar",4,"ngIf"],["data-testid","mcp-global-section",1,"mcp-card","mcp-peer-section"],["type","button",1,"mcp-peer-head",3,"click"],[1,"mcp-peer-title"],[1,"mcp-peer-caption"],[1,"mcp-fraction"],[1,"mcp-row-caret"],["data-testid","mcp-custom-section",1,"mcp-card","mcp-peer-section"],[1,"mcp-peer-head"],["mat-stroked-button","","type","button","data-testid","mcp-custom-add",3,"click"],["class","mcp-custom-list",4,"ngIf"],["class","mcp-tool-desc mcp-custom-empty",4,"ngIf"],[1,"mcp-orphans"],[1,"mcp-orphans-title"],["class","mcp-card mcp-orphan-row",4,"ngFor","ngForOf","ngForTrackBy"],[1,"mcp-card","mcp-orphan-row"],[1,"mcp-orphan-actions"],["mat-stroked-button","","type","button",3,"click"],[1,"mcp-card","mcp-empty"],[1,"mcp-filter-strip"],["type","search","data-testid","mcp-filter-input","placeholder","Filter exposed services\u2026","aria-label","Filter exposed services",1,"mcp-filter-input",3,"ngModel","ngModelChange"],["type","button",1,"mcp-chip","mcp-chip-btn",3,"click"],["type","button","data-testid","mcp-filter-modified",1,"mcp-chip","mcp-chip-btn",3,"click"],[1,"mcp-card","mcp-rows"],[4,"ngFor","ngForOf","ngForTrackBy"],["class","mcp-rows-nomatch",4,"ngIf"],["class","mcp-grid-head",4,"ngIf"],[1,"mcp-row"],[1,"mcp-row-head"],[1,"mcp-row-left"],["class","mcp-row-bulk",3,"checked","change","click",4,"ngIf"],["type","button",1,"mcp-row-main",3,"click"],["aria-hidden","true",1,"mcp-row-icon"],[1,"mcp-row-label"],[1,"mcp-chip"],[1,"mcp-chip","mcp-type-badge"],["class","mcp-chip warn",4,"ngIf"],["type","button",1,"mcp-chip","mcp-chip-btn","mcp-access-chip",3,"matMenuTriggerFor","click"],["accessMenu","matMenu"],["mat-menu-item","","type","button",3,"click"],["role","group",1,"mcp-cells"],["class","mcp-cellgroup",3,"write",4,"ngFor","ngForOf"],[1,"mcp-row-tail"],["mat-icon-button","","type","button","aria-label","Service actions",1,"mcp-row-menu-btn",3,"matMenuTriggerFor","click"],["rowMenu","matMenu"],["mat-menu-item","","type","button",3,"matMenuTriggerFor",4,"ngIf"],["mat-menu-item","","type","button",1,"mcp-menu-danger",3,"click"],["copyMenu","matMenu"],["mat-menu-item","","type","button",3,"click",4,"ngFor","ngForOf","ngForTrackBy"],["type","button",1,"mcp-row-caret",3,"click"],["class","mcp-drill",4,"ngIf"],[1,"mcp-grid-head"],[1,"mcp-grid-head-left"],[1,"mcp-grid-head-title"],[1,"mcp-grid-head-hint"],[1,"mcp-cells"],[1,"mcp-cellgroup"],[1,"mcp-cellgroup-label"],["type","button","role","switch",1,"mcp-sw",3,"matTooltip","click"],[1,"mcp-cellgroup-cols"],["class","mcp-colhead",4,"ngFor","ngForOf"],[1,"mcp-colhead"],[1,"mcp-colhead-name"],[1,"mcp-row-bulk",3,"checked","change","click"],[1,"mcp-chip","warn"],["type","button","class","mcp-cell",3,"write","matTooltip","click",4,"ngFor","ngForOf"],["type","button",1,"mcp-cell",3,"matTooltip","click"],["mat-menu-item","","type","button",3,"matMenuTriggerFor"],[1,"mcp-drill"],["class","mcp-drill-alloff",4,"ngIf"],["class","mcp-drill-caption",4,"ngIf"],["class","mcp-group-row",4,"ngFor","ngForOf"],[1,"mcp-drill-foot"],[1,"mcp-drill-alloff"],[1,"mcp-drill-caption"],["mat-stroked-button","","type","button",3,"matMenuTriggerFor"],["copyMenuFoot","matMenu"],[1,"mcp-rows-nomatch"],[1,"mcp-legend"],["data-state","on",1,"mcp-cell-dot"],["data-state","on",1,"mcp-cell-dot","write"],["data-state","off",1,"mcp-cell-dot"],["data-state","writes-off",1,"mcp-cell-dot"],["data-testid","mcp-bulk-bar",1,"mcp-bulk-bar"],["mat-stroked-button","","type","button","data-testid","mcp-bulk-copyfrom",3,"matMenuTriggerFor",4,"ngIf"],["bulkCopyMenu","matMenu"],["mat-button","","type","button",3,"click"],["mat-stroked-button","","type","button","data-testid","mcp-bulk-copyfrom",3,"matMenuTriggerFor"],["class","mcp-tool-row",4,"ngFor","ngForOf","ngForTrackBy"],["class","mcp-chip",4,"ngIf"],[1,"mcp-custom-list"],["class","mcp-custom-row",4,"ngFor","ngForOf"],[1,"mcp-custom-row"],["color","primary",3,"checked","change"],[1,"mcp-custom-actions"],[1,"mcp-tool-desc","mcp-custom-empty"],["data-testid","mcp-server-count",1,"mcp-rail-note"],["data-testid","mcp-writes-off",1,"mcp-chip","good"],[1,"mcp-rail-note"],[1,"mcp-chip","good"],["mat-stroked-button","","type","button","data-testid","mcp-make-readonly",3,"click"],[1,"mcp-rail-serving"],["tabindex","0","data-testid","mcp-lazy-why","aria-label","Why tools are delivered on demand",1,"mcp-info",3,"matTooltip"],[1,"mcp-rail-reach"]],template:function(o,i){1&o&&(e.j41(0,"div",0),e.DNE(1,F_,2,0,"div",1),e.DNE(2,Tg,33,13,"ng-container",2),e.k0s()),2&o&&(e.R7$(1),e.Y8G("ngIf",i.loading),e.R7$(1),e.Y8G("ngIf",!i.loading))},dependencies:[d.MD,d.Sq,d.bT,m.YN,m.me,m.BC,m.vS,u.Hl,u.$z,u.iY,L.g7,L.So,h.hM,ie.Cn,ie.kk,ie.fb,ie.Cp,ce.mV,ce.sG,S.uc,S.oV,p_],styles:['@charset "UTF-8";.mcp-tools[_ngcontent-%COMP%]{font-family:Inter,Helvetica Neue,sans-serif}.mcp-tools-loading[_ngcontent-%COMP%]{padding:32px 0;font-size:13.5px;opacity:.65}.mcp-tools-warnbanner[_ngcontent-%COMP%]{background:var(--df-warning-soft);border:1px solid color-mix(in srgb,var(--df-warning) 40%,transparent);color:var(--df-warning);border-radius:10px;padding:10px 14px;font-size:13px;font-weight:600;margin-bottom:14px}.mcp-tools-layout[_ngcontent-%COMP%]{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:22px;align-items:start}.mcp-tools-main[_ngcontent-%COMP%]{min-width:0}@media (max-width: 1119px){.mcp-tools-layout[_ngcontent-%COMP%]{grid-template-columns:1fr}}.mcp-card[_ngcontent-%COMP%]{background:var(--df-surface);border:1px solid color-mix(in srgb,var(--df-text) 8%,transparent);border-radius:10px;margin-bottom:14px}.mcp-section-head[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin:4px 0 10px}.mcp-section-head[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{font-size:12px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;opacity:.75;margin:0}.mcp-empty[_ngcontent-%COMP%]{padding:18px 16px}.mcp-empty[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{margin:0 0 10px;font-size:13.5px}.mcp-orphans[_ngcontent-%COMP%]{margin-bottom:16px}.mcp-orphans[_ngcontent-%COMP%] .mcp-orphans-title[_ngcontent-%COMP%]{font-size:12px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:var(--df-warning);margin:0 0 8px}.mcp-orphan-row[_ngcontent-%COMP%]{border-color:color-mix(in srgb,var(--df-warning) 40%,transparent);background:var(--df-warning-soft);padding:12px 16px}.mcp-orphan-row[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{margin:0 0 10px;font-size:13.5px}.mcp-orphan-row[_ngcontent-%COMP%] .mcp-orphan-actions[_ngcontent-%COMP%]{display:flex;gap:8px;flex-wrap:wrap}.mcp-filter-strip[_ngcontent-%COMP%]{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-bottom:10px}.mcp-filter-strip[_ngcontent-%COMP%] .mcp-filter-input[_ngcontent-%COMP%]{font:inherit;font-size:13px;padding:7px 12px;border:1px solid color-mix(in srgb,var(--df-text) 18%,transparent);border-radius:8px;min-width:200px;flex:1;max-width:320px}.mcp-filter-strip[_ngcontent-%COMP%] .mcp-filter-input[_ngcontent-%COMP%]:focus{outline:2px solid var(--df-accent);outline-offset:-1px}.mcp-rows[_ngcontent-%COMP%]{overflow:visible}.mcp-row[_ngcontent-%COMP%]{border-top:1px solid color-mix(in srgb,var(--df-text) 6%,transparent);padding:6px 12px}.mcp-row[_ngcontent-%COMP%]:first-child{border-top:none}.mcp-row.inactive[_ngcontent-%COMP%] .mcp-row-head[_ngcontent-%COMP%]{opacity:.55}.mcp-row-head[_ngcontent-%COMP%]{display:flex;align-items:center;gap:8px;flex-wrap:nowrap}.mcp-row-main[_ngcontent-%COMP%]{display:inline-flex;align-items:center;gap:8px;flex-wrap:wrap;background:none;border:none;padding:4px 0;cursor:pointer;font:inherit;text-align:left;min-width:0}.mcp-row-main[_ngcontent-%COMP%] .mcp-row-icon[_ngcontent-%COMP%]{font-size:15px;opacity:.7}.mcp-row-main[_ngcontent-%COMP%] .mcp-row-label[_ngcontent-%COMP%]{font-weight:600;font-size:13.5px}.mcp-type-badge[_ngcontent-%COMP%]{opacity:.8}.mcp-fraction[_ngcontent-%COMP%]{font-size:13px;font-variant-numeric:tabular-nums;font-weight:600;white-space:nowrap}.mcp-access-chip[_ngcontent-%COMP%]{cursor:pointer}.mcp-rows[_ngcontent-%COMP%] .mcp-type-badge[_ngcontent-%COMP%]{display:none}.mcp-row-left[_ngcontent-%COMP%]{display:flex;align-items:center;gap:4px 8px;flex-wrap:wrap;flex:1 1 0;min-width:0}.mcp-cells[_ngcontent-%COMP%]{display:flex;gap:8px;flex:none}.mcp-cellgroup[_ngcontent-%COMP%]{display:flex;flex-direction:column;align-items:center}.mcp-cellgroup[_ngcontent-%COMP%] + .mcp-cellgroup[_ngcontent-%COMP%]{border-left:1px solid var(--df-border-2);padding-left:8px;margin-left:-1px}.mcp-cellgroup-cols[_ngcontent-%COMP%]{display:flex}.mcp-row-tail[_ngcontent-%COMP%]{width:76px;flex:none;display:inline-flex;align-items:center;justify-content:flex-end}.mcp-cell[_ngcontent-%COMP%]{width:26px;height:26px;padding:0;display:inline-flex;align-items:center;justify-content:center;border:1px solid transparent;border-radius:var(--df-radius-sm, 4px);background:transparent;cursor:pointer}.mcp-cell[_ngcontent-%COMP%]:hover{background:var(--df-hover);border-color:var(--df-border)}.mcp-cell[_ngcontent-%COMP%]:focus-visible{outline:2px solid var(--df-accent);outline-offset:1px}.mcp-cell[_ngcontent-%COMP%] i[_ngcontent-%COMP%], .mcp-cell-dot[_ngcontent-%COMP%]{display:inline-block;width:12px;height:12px;border-radius:3px;box-sizing:border-box;background:var(--df-success)}.mcp-cell.write[_ngcontent-%COMP%] i[_ngcontent-%COMP%], .mcp-cell-dot.write[_ngcontent-%COMP%]{background:var(--df-warning)}.mcp-cell[data-state=off][_ngcontent-%COMP%] i[_ngcontent-%COMP%], .mcp-cell-dot[data-state=off][_ngcontent-%COMP%]{background:transparent;border:1.5px solid var(--df-text-faint)}.mcp-cell[data-state=writes-off][_ngcontent-%COMP%] i[_ngcontent-%COMP%], .mcp-cell-dot[data-state=writes-off][_ngcontent-%COMP%]{background:repeating-linear-gradient(45deg,var(--df-border) 0 2px,transparent 2px 4px);border:1px solid var(--df-border)}.mcp-grid-head[_ngcontent-%COMP%]{display:flex;align-items:flex-end;gap:8px;padding:10px 12px 6px;border-bottom:1px solid var(--df-border);background:var(--df-surface-2)}.mcp-row[_ngcontent-%COMP%] + .mcp-grid-head[_ngcontent-%COMP%]{border-top:1px solid var(--df-border)}.mcp-grid-head-left[_ngcontent-%COMP%]{flex:1 1 0;min-width:0;display:flex;flex-direction:column;gap:2px;align-self:flex-end;padding-bottom:4px}.mcp-grid-head-left[_ngcontent-%COMP%] .mcp-grid-head-title[_ngcontent-%COMP%]{font-weight:600;font-size:13px}.mcp-grid-head-left[_ngcontent-%COMP%] .mcp-grid-head-hint[_ngcontent-%COMP%]{font-size:12px;color:var(--df-text-muted)}.mcp-cellgroup-label[_ngcontent-%COMP%]{display:flex;flex-direction:column;align-items:center;gap:3px;margin-bottom:6px;font-size:10.5px;font-weight:600;letter-spacing:.04em;text-transform:uppercase;color:var(--df-text-muted);white-space:nowrap}.write[_ngcontent-%COMP%] > .mcp-cellgroup-label[_ngcontent-%COMP%]{color:var(--df-warning)}.mcp-colhead[_ngcontent-%COMP%]{width:26px;display:flex;flex-direction:column;align-items:center;justify-content:flex-end;gap:5px;height:172px}.mcp-colhead[_ngcontent-%COMP%] .mcp-colhead-name[_ngcontent-%COMP%]{writing-mode:vertical-rl;transform:rotate(180deg);font-family:monospace;font-size:11px;color:var(--df-text-2);white-space:nowrap}.mcp-sw[_ngcontent-%COMP%]{position:relative;flex:none;width:18px;height:10px;padding:0;border:1px solid var(--df-border);border-radius:999px;background:var(--df-surface-2);cursor:pointer}.mcp-sw[_ngcontent-%COMP%] i[_ngcontent-%COMP%]{position:absolute;top:1px;left:1px;width:6px;height:6px;border-radius:50%;background:var(--df-text-faint);transition:left .12s ease}.mcp-sw[data-state=on][_ngcontent-%COMP%]{background:var(--df-accent);border-color:var(--df-accent)}.mcp-sw[data-state=on][_ngcontent-%COMP%] i[_ngcontent-%COMP%]{left:9px;background:var(--df-accent-contrast)}.mcp-sw[data-state=mixed][_ngcontent-%COMP%]{background:linear-gradient(90deg,var(--df-accent) 50%,var(--df-surface-2) 50%);border-color:var(--df-accent)}.mcp-sw[data-state=mixed][_ngcontent-%COMP%] i[_ngcontent-%COMP%]{left:5px;background:var(--df-accent-contrast)}.mcp-sw[_ngcontent-%COMP%]:hover{box-shadow:0 0 0 3px var(--df-accent-soft)}.mcp-sw[_ngcontent-%COMP%]:focus-visible{outline:2px solid var(--df-accent);outline-offset:1px}.mcp-legend[_ngcontent-%COMP%]{display:flex;flex-wrap:wrap;gap:16px;margin:8px 2px 0;font-size:12px;color:var(--df-text-muted)}.mcp-legend[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{display:inline-flex;align-items:center;gap:6px}.mcp-row-menu-btn[_ngcontent-%COMP%]{font-size:16px;line-height:1}.mcp-row-caret[_ngcontent-%COMP%]{background:none;border:none;cursor:pointer;font:inherit;font-size:13px;opacity:.7;padding:4px 6px}.mcp-menu-danger[_ngcontent-%COMP%]{color:var(--df-danger)}.mcp-drill[_ngcontent-%COMP%]{padding:4px 8px 10px 30px}.mcp-drill[_ngcontent-%COMP%] .mcp-drill-alloff[_ngcontent-%COMP%]{font-size:13px;font-weight:600;color:var(--df-warning);background:var(--df-warning-soft);border:1px solid color-mix(in srgb,var(--df-warning) 40%,transparent);border-radius:8px;padding:7px 11px;margin:4px 0 8px}.mcp-drill[_ngcontent-%COMP%] .mcp-drill-caption[_ngcontent-%COMP%]{font-size:12.5px;opacity:.7;margin:4px 0 8px}.mcp-group-row[_ngcontent-%COMP%]{display:flex;align-items:center;gap:8px;flex-wrap:wrap;padding:1px 0}.mcp-group-row[_ngcontent-%COMP%] .mcp-group-count[_ngcontent-%COMP%]{font-size:12px;opacity:.6;font-variant-numeric:tabular-nums}.mcp-warn-tag[_ngcontent-%COMP%]{font-size:11.5px;font-weight:700;color:var(--df-warning)}.mcp-linklike[_ngcontent-%COMP%]{background:none;border:none;cursor:pointer;font:inherit;font-size:13px;font-weight:600;color:var(--df-accent);padding:6px 0 2px;text-align:left}.mcp-tool-list[_ngcontent-%COMP%]{padding:2px 0 4px 8px}.mcp-tool-row[_ngcontent-%COMP%]{display:flex;align-items:baseline;gap:8px;flex-wrap:wrap;padding:1px 0}.mcp-tool-row[_ngcontent-%COMP%] code[_ngcontent-%COMP%]{font-size:12.5px}.mcp-tool-desc[_ngcontent-%COMP%]{font-size:12px;opacity:.6}.mcp-drill-foot[_ngcontent-%COMP%]{display:flex;gap:8px;flex-wrap:wrap;padding-top:8px}.mcp-rows-nomatch[_ngcontent-%COMP%]{padding:14px 16px;font-size:13px;opacity:.65;margin:0}.mcp-bulk-bar[_ngcontent-%COMP%]{display:flex;align-items:center;gap:8px;flex-wrap:wrap;background:color-mix(in srgb,var(--df-accent) 8%,transparent);border:1px solid color-mix(in srgb,var(--df-accent) 35%,transparent);border-radius:10px;padding:8px 14px;margin-bottom:14px;font-size:13px;font-weight:600}.mcp-peer-section[_ngcontent-%COMP%]{padding:10px 14px}.mcp-peer-head[_ngcontent-%COMP%]{display:flex;align-items:center;gap:10px;flex-wrap:wrap;width:100%;background:none;border:none;padding:2px 0;font:inherit;text-align:left}.mcp-peer-head[_ngcontent-%COMP%] .mcp-peer-title[_ngcontent-%COMP%]{font-weight:700;font-size:13.5px}.mcp-peer-head[_ngcontent-%COMP%] .mcp-peer-caption[_ngcontent-%COMP%]{font-size:12px;opacity:.6}.mcp-peer-head[_ngcontent-%COMP%] .mcp-fraction[_ngcontent-%COMP%]{margin-left:auto}button.mcp-peer-head[_ngcontent-%COMP%]{cursor:pointer}.mcp-custom-list[_ngcontent-%COMP%]{margin-top:6px}.mcp-custom-row[_ngcontent-%COMP%]{display:flex;align-items:center;gap:10px;flex-wrap:wrap;border-top:1px solid color-mix(in srgb,var(--df-text) 6%,transparent);padding:5px 0}.mcp-custom-row[_ngcontent-%COMP%] code[_ngcontent-%COMP%]{font-size:12.5px;font-weight:600}.mcp-custom-row[_ngcontent-%COMP%] .mcp-custom-actions[_ngcontent-%COMP%]{margin-left:auto;display:inline-flex;gap:2px}.mcp-custom-empty[_ngcontent-%COMP%]{margin:8px 0 2px}.mcp-sys-group[_ngcontent-%COMP%]{padding:10px 14px;border-top:1px solid color-mix(in srgb,var(--df-text) 6%,transparent)}.mcp-sys-group[_ngcontent-%COMP%]:first-child{border-top:none}.mcp-rail[_ngcontent-%COMP%]{background:var(--df-surface);border:1px solid color-mix(in srgb,var(--df-text) 8%,transparent);border-radius:10px;padding:14px 16px;position:sticky;top:12px}@media (max-width: 1119px){.mcp-rail[_ngcontent-%COMP%]{position:static}}.mcp-rail-title[_ngcontent-%COMP%]{font-size:11.5px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;opacity:.7;margin:0 0 6px}.mcp-rail-total[_ngcontent-%COMP%]{font-size:15px;margin:0 0 6px}.mcp-rail-total[_ngcontent-%COMP%] b[_ngcontent-%COMP%]{font-size:22px;font-variant-numeric:tabular-nums}.mcp-rail-breakdown[_ngcontent-%COMP%]{list-style:none;padding:0;margin:0 0 12px;font-size:12.5px;opacity:.85}.mcp-rail-breakdown[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{padding:1px 0}.mcp-rail-ro[_ngcontent-%COMP%]{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-bottom:12px}.mcp-rail-ro[_ngcontent-%COMP%] .mcp-rail-note[_ngcontent-%COMP%]{font-size:12.5px}.mcp-rail-serving[_ngcontent-%COMP%]{font-size:12px;opacity:.75;background:color-mix(in srgb,var(--df-text) 3%,transparent);border-radius:8px;padding:8px 10px;margin:0 0 12px}.mcp-rail-serving[_ngcontent-%COMP%] .mcp-info[_ngcontent-%COMP%]{cursor:help;font-weight:600;color:var(--df-accent);white-space:nowrap}.mcp-rail-preview-btn[_ngcontent-%COMP%]{width:100%;margin-bottom:12px}.mcp-rail-reach[_ngcontent-%COMP%]{margin-bottom:8px}.mcp-rail-reach[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{list-style:none;padding:2px 0 0 14px;margin:0;font-size:12px;font-variant-numeric:tabular-nums}.mcp-rail-reach[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] code[_ngcontent-%COMP%]{font-size:11.5px}.mcp-chip[_ngcontent-%COMP%]{display:inline-flex;align-items:center;gap:5px;padding:2px 9px;border-radius:999px;font-size:12px;font-weight:600;border:1px solid color-mix(in srgb,var(--df-text) 14%,transparent);background:color-mix(in srgb,var(--df-text) 2%,transparent);white-space:nowrap}.mcp-chip.good[_ngcontent-%COMP%]{background:var(--df-success-soft);border-color:color-mix(in srgb,var(--df-success) 35%,transparent);color:var(--df-success)}.mcp-chip.warn[_ngcontent-%COMP%]{background:var(--df-warning-soft);border-color:color-mix(in srgb,var(--df-warning) 40%,transparent);color:var(--df-warning)}.mcp-chip.primary[_ngcontent-%COMP%]{background:color-mix(in srgb,var(--df-accent) 10%,transparent);border-color:color-mix(in srgb,var(--df-accent) 38%,transparent);color:var(--df-accent)}.mcp-chip-btn[_ngcontent-%COMP%]{cursor:pointer;font:inherit;font-size:12px;font-weight:600}@media (max-width: 1100px){.mcp-row-head[_ngcontent-%COMP%]{flex-wrap:wrap;row-gap:4px}.mcp-drill[_ngcontent-%COMP%]{padding-left:12px}.mcp-grid-head[_ngcontent-%COMP%]{display:none}.mcp-row-tail[_ngcontent-%COMP%]{width:auto}}']})}}return n})();function Rg(n,a){if(1&n&&(e.j41(0,"span",9),e.EFF(1),e.k0s()),2&n){const t=a.ngIf;e.R7$(1),e.SpI(" \u2014 from \u201c",t,"\u201d? ")}}function Ig(n,a){if(1&n){const t=e.RV6();e.j41(0,"li")(1,"mat-checkbox",7),e.bIt("change",function(i){const c=e.eBV(t).$implicit,s=e.XpG();return e.Njj(s.toggle(c,i.checked))}),e.j41(2,"code"),e.EFF(3),e.k0s(),e.DNE(4,Rg,2,1,"span",8),e.k0s()()}if(2&n){const t=a.$implicit,o=e.XpG();e.R7$(1),e.Y8G("checked",o.checked[t]),e.BMQ("data-testid","mcp-orphan-"+t),e.R7$(2),e.JRh(t),e.R7$(1),e.Y8G("ngIf",o.originOf(t))}}const Eg=[...Cn,...kn].flatMap(n=>n.verbs.map(a=>a.verb)).sort((n,a)=>a.length-n.length);let Gg=(()=>{class n{constructor(t,o){this.dialogRef=t,this.data=o,this.checked={};for(const i of o.keys)this.checked[i]=!0}toggle(t,o){this.checked[t]=o}get selected(){return this.data.keys.filter(t=>this.checked[t])}originOf(t){return function $g(n){for(const a of Eg)if(n.endsWith("_"+a)&&n.length>a.length+1)return n.slice(0,n.length-a.length-1);return null}(t)}deleteSelected(){this.dialogRef.close(this.selected)}static{this.\u0275fac=function(o){return new(o||n)(e.rXU(h.CP),e.rXU(h.Vh))}}static{this.\u0275cmp=e.VBU({type:n,selectors:[["df-mcp-housekeeping-dialog"]],standalone:!0,features:[e.aNF],decls:12,vars:2,consts:[["data-testid","mcp-housekeeping-dialog",1,"mcp-hk-dialog"],[1,"mcp-hk-note"],[1,"mcp-hk-list"],[4,"ngFor","ngForOf"],[1,"mcp-hk-actions"],["mat-button","","type","button",3,"click"],["mat-flat-button","","color","warn","type","button","data-testid","mcp-housekeeping-delete",3,"disabled","click"],[3,"checked","change"],["class","mcp-hk-origin",4,"ngIf"],[1,"mcp-hk-origin"]],template:function(o,i){1&o&&(e.j41(0,"div",0)(1,"h2"),e.EFF(2,"Review & clean up"),e.k0s(),e.j41(3,"p",1),e.EFF(4," These saved tool settings reference services that no longer exist. Checked entries are deleted; unchecked entries are kept. "),e.k0s(),e.j41(5,"ul",2),e.DNE(6,Ig,5,4,"li",3),e.k0s(),e.j41(7,"div",4)(8,"button",5),e.bIt("click",function(){return i.dialogRef.close()}),e.EFF(9," Cancel "),e.k0s(),e.j41(10,"button",6),e.bIt("click",function(){return i.deleteSelected()}),e.EFF(11," Delete selected "),e.k0s()()()),2&o&&(e.R7$(6),e.Y8G("ngForOf",i.data.keys),e.R7$(4),e.Y8G("disabled",0===i.selected.length))},dependencies:[d.MD,d.Sq,d.bT,u.Hl,u.$z,L.g7,L.So,h.hM],styles:[".mcp-hk-dialog[_ngcontent-%COMP%]{padding:18px 20px 14px;font-family:Inter,Helvetica Neue,sans-serif;max-width:460px}h2[_ngcontent-%COMP%]{margin:0 0 8px;font-size:16px;font-weight:700}.mcp-hk-note[_ngcontent-%COMP%]{font-size:13px;opacity:.75;margin:0 0 10px}.mcp-hk-list[_ngcontent-%COMP%]{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;max-height:320px;overflow-y:auto}.mcp-hk-list[_ngcontent-%COMP%] code[_ngcontent-%COMP%]{font-size:12.5px;background:color-mix(in srgb,var(--df-text) 3.5%,transparent);border:1px solid color-mix(in srgb,var(--df-text) 8%,transparent);border-radius:5px;padding:1px 6px;word-break:break-all}.mcp-hk-origin[_ngcontent-%COMP%]{font-size:12px;opacity:.6;margin-left:4px}.mcp-hk-actions[_ngcontent-%COMP%]{display:flex;justify-content:flex-end;gap:8px;margin-top:14px}"]})}}return n})();function jg(n,a){if(1&n&&(e.j41(0,"p",44),e.EFF(1),e.k0s()),2&n){const t=e.XpG();e.R7$(1),e.SpI(" Renaming changes your endpoint URL to \u2026/mcp/",t.store.draftName,". Connected clients will break until they update. ")}}function Ng(n,a){1&n&&(e.j41(0,"p",45),e.EFF(1," This server is inactive \u2014 the endpoint refuses connections. "),e.k0s())}function Ag(n,a){if(1&n){const t=e.RV6();e.j41(0,"li")(1,"code"),e.EFF(2),e.k0s(),e.j41(3,"button",46),e.bIt("click",function(){const r=e.eBV(t).index,c=e.XpG();return e.Njj(c.removeRedirect(r))}),e.EFF(4," \xd7 "),e.k0s()()}if(2&n){const t=a.$implicit;e.R7$(2),e.JRh(t),e.R7$(1),e.BMQ("aria-label","Remove "+t)}}function Yg(n,a){1&n&&(e.j41(0,"li",47),e.EFF(1," No redirect URIs yet \u2014 OAuth clients that need a callback can't connect until theirs is added. "),e.k0s())}function Vg(n,a){if(1&n&&(e.j41(0,"mat-option",20),e.EFF(1),e.k0s()),2&n){const t=e.XpG();e.Y8G("value",t.store.cfg.autoOauthService),e.R7$(1),e.SpI(" ",t.store.cfg.autoOauthService," (not found on this instance) ")}}function Xg(n,a){if(1&n&&(e.j41(0,"mat-option",20),e.EFF(1),e.k0s()),2&n){const t=a.$implicit;e.Y8G("value",t.name),e.R7$(1),e.Lme(" ",t.label," (",t.name,") ")}}function zg(n,a){1&n&&(e.qex(0),e.EFF(1," Only users and API keys whose role is granted access to this MCP service can connect. Admins always can. "),e.bVm())}function Bg(n,a){1&n&&e.EFF(0," Anyone who can sign in to DreamFactory can connect; their role still decides what they can reach. ")}function Lg(n,a){1&n&&(e.j41(0,"span",54),e.EFF(1," Matches the recommended default. "),e.k0s())}function Ug(n,a){1&n&&(e.j41(0,"span",54),e.EFF(1," Server default (per-service names). "),e.k0s())}function qg(n,a){1&n&&(e.j41(0,"p",55),e.EFF(1," Style changes rename emitted tools \u2014 preview before saving. Clients may need to reconnect. Your tool selections are preserved \u2014 they apply per service in both modes. "),e.k0s())}function Jg(n,a){if(1&n){const t=e.RV6();e.qex(0),e.j41(1,"h3",10),e.EFF(2,"Tool naming"),e.k0s(),e.j41(3,"mat-radio-group",48),e.bIt("change",function(i){e.eBV(t);const r=e.XpG();return e.Njj(r.onToolStyleChange(i))}),e.j41(4,"mat-radio-button",49)(5,"span",50),e.EFF(6," Consolidated (merged) \u2014 one tool per verb with a service argument. Recommended. "),e.k0s(),e.DNE(7,Lg,2,0,"span",51),e.k0s(),e.j41(8,"mat-radio-button",52)(9,"span",50),e.EFF(10," Per-service names (prefixed) \u2014 legacy compatibility for clients pinned to names like crm_get_tables. "),e.k0s(),e.DNE(11,Ug,2,0,"span",51),e.k0s()(),e.DNE(12,qg,2,0,"p",53),e.bVm()}if(2&n){const t=e.XpG();e.R7$(3),e.Y8G("value",t.toolStyleValue),e.R7$(4),e.Y8G("ngIf","merged"===t.store.cfg.toolStyle),e.R7$(4),e.Y8G("ngIf",null===t.store.cfg.toolStyle),e.R7$(1),e.Y8G("ngIf",t.styleChanged)}}function Kg(n,a){1&n&&(e.qex(0),e.EFF(1," Write tools you leave on can create, update and delete records and files and call procedures, subject to the caller's role. "),e.bVm())}function Hg(n,a){1&n&&e.EFF(0," Read-only server: write tools and custom tools that write are never offered, whatever the per-tool settings. Clients must reconnect to pick up a change. ")}function Wg(n,a){if(1&n){const t=e.RV6();e.qex(0),e.j41(1,"h3",10),e.EFF(2,"Writes"),e.k0s(),e.j41(3,"mat-slide-toggle",56),e.bIt("change",function(i){e.eBV(t);const r=e.XpG();return e.Njj(r.setAllowWrites(i))}),e.EFF(4," Allow writes "),e.k0s(),e.j41(5,"p",23),e.DNE(6,Kg,2,0,"ng-container",26),e.DNE(7,Hg,1,0,"ng-template",null,57,e.C5r),e.k0s(),e.bVm()}if(2&n){const t=e.sdS(8),o=e.XpG();e.R7$(3),e.Y8G("checked",o.store.cfg.allowWrites),e.R7$(2),e.AVh("warn",!o.store.cfg.allowWrites),e.R7$(1),e.Y8G("ngIf",o.store.cfg.allowWrites)("ngIfElse",t)}}function Qg(n,a){if(1&n){const t=e.RV6();e.qex(0),e.j41(1,"p",45),e.EFF(2),e.k0s(),e.j41(3,"button",58),e.bIt("click",function(){e.eBV(t);const i=e.XpG();return e.Njj(i.openHousekeeping())}),e.EFF(4," Review & clean up "),e.k0s(),e.bVm()}if(2&n){const t=e.XpG();e.R7$(2),e.Lme(" ",t.orphanCount," saved tool ",1===t.orphanCount?"setting references":"settings reference"," services that no longer exist. Nothing is removed automatically \u2014 review before deleting. ")}}function Zg(n,a){1&n&&(e.j41(0,"p",23),e.EFF(1,"No orphaned tool settings."),e.k0s())}let nf=(()=>{class n{ngOnChanges(t){t.store&&!t.store.firstChange&&(this.newRedirectUri="")}constructor(t,o,i,r,c){this.serviceTypeService=t,this.servicesService=o,this.cacheService=i,this.snackbarService=r,this.dialog=c,this.requestDelete=new e.bkB,this.oauthServices=[],this.oauthLoaded=!1,this.newRedirectUri="",this.flushingCache=!1}ngOnInit(){this.loadOauthServices()}loadOauthServices(){(0,ue.p)({types:this.serviceTypeService.getAll({fields:"name,group",limit:1e3}),services:this.servicesService.getAll({limit:1e3,fields:"id,name,label,type",sort:"name"})}).subscribe({next:({types:t,services:o})=>{const i=new Set((t?.resource??[]).filter(r=>"OAuth"===r.group).map(r=>r.name));this.oauthServices=(o?.resource??[]).filter(r=>i.has(r.type)).map(r=>({name:r.name,label:r.label||r.name})),this.oauthLoaded=!0},error:()=>{this.oauthLoaded=!0}})}get renamePending(){return this.store.draftName!==this.store.service.name}setName(t){this.store.draftName=t,this.store.touch()}setLabel(t){this.store.draftLabel=t,this.store.touch()}setDescription(t){this.store.draftDescription=t,this.store.touch()}setActive(t){this.store.draftIsActive=t.checked,this.store.touch()}addRedirect(){const t=this.newRedirectUri.trim();if(t){if(this.store.cfg.redirectUris.includes(t))return void this.snackbarService.openSnackBar("That redirect URI is already listed.","warning");this.store.cfg.redirectUris.push(t),this.newRedirectUri="",this.store.touch()}}removeRedirect(t){this.store.cfg.redirectUris.splice(t,1),this.store.touch()}setLoginUrl(t){this.store.cfg.customLoginUrl=t,this.store.touch()}setAutoOauth(t){this.store.cfg.autoOauthService=t,this.store.touch()}get missingAutoOauth(){const t=this.store.cfg.autoOauthService;return!!t&&this.oauthLoaded&&!this.oauthServices.some(o=>o.name===t)}setAllowApiKey(t){this.store.cfg.allowApiKeyAuth=t.checked,this.store.touch()}setRequireRoleAccess(t){this.store.cfg.requireRoleAccess=t.checked,this.store.touch()}setAllowWrites(t){this.store.cfg.allowWrites=t.checked,this.store.touch()}regenerateSecret(){window.confirm("Clients using the old secret will stop connecting. Regenerate?")&&(this.store.cfg.oauthClientSecret=function tf(){const n=new Uint8Array(32),a=globalThis.crypto;if(a?.getRandomValues)a.getRandomValues(n);else for(let t=0;tt.toString(16).padStart(2,"0")).join("")}(),this.store.touch(),this.snackbarService.openSnackBar("New client secret generated \u2014 save to apply.","success"))}get toolStyleValue(){return"merged"===this.store.cfg.toolStyle?"merged":"prefixed"}onToolStyleChange(t){this.store.cfg.toolStyle="merged"===t.value?"merged":"prefixed",this.store.touch()}get styleChanged(){return this.store.cfg.toolStyle!==this.store.savedCfg.toolStyle}get lazyValue(){return Ft(this.store.cfg.lazyMode)}setLazy(t){this.store.cfg.lazyMode=t,this.store.touch()}get scopeToolsOn(){const t=this.store.cfg.rest??{},o=t.scope_tools??t.scopeTools;return null==o||!!o}get orphanCount(){return this.store.backendLoaded?this.store.orphans().length:0}openHousekeeping(){const t=this.store.orphans();t.length&&this.dialog.open(Gg,{data:{keys:t},width:"480px"}).afterClosed().subscribe(o=>{if(o&&0!==o.length){for(const i of o)this.store.cfg.disabledTools.delete(i);this.store.touch(),this.snackbarService.openSnackBar(`Removed ${o.length} saved tool setting${1===o.length?"":"s"} \u2014 save to apply.`,"success")}})}flushCache(){this.flushingCache||(this.flushingCache=!0,this.cacheService.delete(this.store.service.name).subscribe({next:()=>{this.flushingCache=!1,this.snackbarService.openSnackBar("Cache flushed.","success")},error:()=>{this.flushingCache=!1,this.snackbarService.openSnackBar("Cache flush failed.","error")}}))}get fullConfigJson(){const t=Mn(this.store.cfg,this.store.service.type);return t.oauthClientSecret&&(t.oauthClientSecret="\u2022\u2022\u2022\u2022\u2022\u2022\u2022\u2022"),JSON.stringify(t,null,2)}static{this.\u0275fac=function(o){return new(o||n)(e.rXU(q.zs),e.rXU(q.Z1),e.rXU(q.j8),e.rXU(pe.L),e.rXU(h.bZ))}}static{this.\u0275cmp=e.VBU({type:n,selectors:[["df-mcp-settings"]],inputs:{store:"store"},outputs:{requestDelete:"requestDelete"},standalone:!0,features:[e.OA$,e.aNF],decls:110,vars:28,consts:[["data-testid","mcp-settings-tab",1,"mcp-settings"],[1,"mcp-card"],[1,"mcp-card-title"],["appearance","outline",1,"mcp-field"],["matInput","","data-testid","mcp-set-name",3,"ngModel","ngModelChange"],["class","mcp-inline-warning","data-testid","mcp-rename-warning",4,"ngIf"],["matInput","","data-testid","mcp-set-label",3,"ngModel","ngModelChange"],["matInput","","rows","3","data-testid","mcp-set-description",3,"ngModel","ngModelChange"],["color","primary","data-testid","mcp-set-active",3,"checked","change"],["class","mcp-hint warn",4,"ngIf"],[1,"mcp-sub-title"],["data-testid","mcp-redirect-list",1,"mcp-redirect-list"],[4,"ngFor","ngForOf"],["class","mcp-redirect-empty",4,"ngIf"],[1,"mcp-redirect-addrow"],["appearance","outline",1,"mcp-field","grow"],["matInput","","placeholder","https://client.example.com/callback","data-testid","mcp-redirect-add",3,"ngModel","ngModelChange","keyup.enter"],["mat-stroked-button","","type","button","data-testid","mcp-redirect-add-btn",3,"click"],["matInput","","placeholder","https://login.example.com","data-testid","mcp-login-url",3,"ngModel","ngModelChange"],["data-testid","mcp-auto-oauth",3,"value","selectionChange"],[3,"value"],[3,"value",4,"ngIf"],[3,"value",4,"ngFor","ngForOf"],[1,"mcp-hint"],["color","primary","data-testid","mcp-apikey-toggle",3,"checked","change"],["color","primary","data-testid","mcp-require-role-toggle",3,"checked","change"],[4,"ngIf","ngIfElse"],["anyUser",""],[1,"mcp-regenerate-row"],["mat-stroked-button","","type","button","data-testid","mcp-regenerate-secret",3,"click"],[4,"ngIf"],["data-testid","mcp-lazy-select",3,"value","selectionChange"],["value","auto"],["value","on"],["value","off"],["data-testid","mcp-scope-line",1,"mcp-scope-line"],["data-testid","mcp-housekeeping",1,"mcp-card"],["noOrphans",""],[1,"mcp-flush-row"],["mat-stroked-button","","type","button","data-testid","mcp-flush-cache",3,"disabled","click"],["data-testid","mcp-fullconfig",1,"mcp-fullconfig"],[1,"mcp-card","mcp-danger"],[1,"mcp-danger-copy"],["mat-flat-button","","color","warn","type","button","data-testid","mcp-delete-server",3,"click"],["data-testid","mcp-rename-warning",1,"mcp-inline-warning"],[1,"mcp-hint","warn"],["type","button",1,"mcp-x",3,"click"],[1,"mcp-redirect-empty"],[1,"mcp-toolstyle",3,"value","change"],["value","merged","data-testid","mcp-toolstyle-merged"],[1,"mcp-radio-label"],["class","mcp-radio-note",4,"ngIf"],["value","prefixed","data-testid","mcp-toolstyle-prefixed"],["class","mcp-hint warn","data-testid","mcp-toolstyle-note",4,"ngIf"],[1,"mcp-radio-note"],["data-testid","mcp-toolstyle-note",1,"mcp-hint","warn"],["color","primary","data-testid","mcp-allow-writes-toggle",3,"checked","change"],["readOnlyServer",""],["mat-stroked-button","","type","button","data-testid","mcp-housekeeping-review",3,"click"]],template:function(o,i){if(1&o&&(e.j41(0,"div",0)(1,"section",1)(2,"h2",2),e.EFF(3,"Identity"),e.k0s(),e.j41(4,"mat-form-field",3)(5,"mat-label"),e.EFF(6,"Name (namespace)"),e.k0s(),e.j41(7,"input",4),e.bIt("ngModelChange",function(c){return i.setName(c)}),e.k0s()(),e.DNE(8,jg,2,1,"p",5),e.j41(9,"mat-form-field",3)(10,"mat-label"),e.EFF(11,"Label"),e.k0s(),e.j41(12,"input",6),e.bIt("ngModelChange",function(c){return i.setLabel(c)}),e.k0s()(),e.j41(13,"mat-form-field",3)(14,"mat-label"),e.EFF(15,"Description"),e.k0s(),e.j41(16,"textarea",7),e.bIt("ngModelChange",function(c){return i.setDescription(c)}),e.k0s()(),e.j41(17,"mat-slide-toggle",8),e.bIt("change",function(c){return i.setActive(c)}),e.EFF(18," Active "),e.k0s(),e.DNE(19,Ng,2,0,"p",9),e.k0s(),e.j41(20,"section",1)(21,"h2",2),e.EFF(22,"Authentication"),e.k0s(),e.j41(23,"h3",10),e.EFF(24,"Redirect URIs"),e.k0s(),e.j41(25,"ul",11),e.DNE(26,Ag,5,2,"li",12),e.DNE(27,Yg,2,0,"li",13),e.k0s(),e.j41(28,"div",14)(29,"mat-form-field",15)(30,"mat-label"),e.EFF(31,"Add redirect URI"),e.k0s(),e.j41(32,"input",16),e.bIt("ngModelChange",function(c){return i.newRedirectUri=c})("keyup.enter",function(){return i.addRedirect()}),e.k0s()(),e.j41(33,"button",17),e.bIt("click",function(){return i.addRedirect()}),e.EFF(34," Add "),e.k0s()(),e.j41(35,"mat-form-field",3)(36,"mat-label"),e.EFF(37,"Custom login URL"),e.k0s(),e.j41(38,"input",18),e.bIt("ngModelChange",function(c){return i.setLoginUrl(c)}),e.k0s()(),e.j41(39,"mat-form-field",3)(40,"mat-label"),e.EFF(41,"Auto OAuth service"),e.k0s(),e.j41(42,"mat-select",19),e.bIt("selectionChange",function(c){return i.setAutoOauth(c.value)}),e.j41(43,"mat-option",20),e.EFF(44,"None"),e.k0s(),e.DNE(45,Vg,2,2,"mat-option",21),e.DNE(46,Xg,2,3,"mat-option",22),e.k0s()(),e.j41(47,"p",23),e.EFF(48," Sign-ins are sent straight to this OAuth provider instead of the DreamFactory login form. "),e.k0s(),e.j41(49,"mat-slide-toggle",24),e.bIt("change",function(c){return i.setAllowApiKey(c)}),e.EFF(50," Allow API-key authentication "),e.k0s(),e.j41(51,"p",23),e.EFF(52," Anyone with the URL and a valid API key connects without a login prompt. The key's role decides which tools it can use. "),e.k0s(),e.j41(53,"mat-slide-toggle",25),e.bIt("change",function(c){return i.setRequireRoleAccess(c)}),e.EFF(54," Require role access "),e.k0s(),e.j41(55,"p",23),e.DNE(56,zg,2,0,"ng-container",26),e.DNE(57,Bg,1,0,"ng-template",null,27,e.C5r),e.k0s(),e.j41(59,"div",28)(60,"button",29),e.bIt("click",function(){return i.regenerateSecret()}),e.EFF(61," Regenerate client secret\u2026 "),e.k0s(),e.j41(62,"span",23),e.EFF(63," Clients using the old secret will stop connecting. "),e.k0s()()(),e.j41(64,"section",1)(65,"h2",2),e.EFF(66,"Serving"),e.k0s(),e.DNE(67,Jg,13,4,"ng-container",30),e.DNE(68,Wg,9,5,"ng-container",30),e.j41(69,"h3",10),e.EFF(70,"Catalog delivery"),e.k0s(),e.j41(71,"mat-form-field",3)(72,"mat-label"),e.EFF(73,"Catalog delivery"),e.k0s(),e.j41(74,"mat-select",31),e.bIt("selectionChange",function(c){return i.setLazy(c.value)}),e.j41(75,"mat-option",32),e.EFF(76,"Auto \u2014 recommended"),e.k0s(),e.j41(77,"mat-option",33),e.EFF(78,"Always on-demand"),e.k0s(),e.j41(79,"mat-option",34),e.EFF(80,"Never"),e.k0s()()(),e.j41(81,"p",23),e.EFF(82," When the tool list exceeds 32 KB (~8k tokens), agents first receive five discovery tools instead of the full catalog. "),e.k0s(),e.j41(83,"p",35),e.EFF(84),e.k0s()(),e.j41(85,"section",36)(86,"h2",2),e.EFF(87,"Housekeeping"),e.k0s(),e.DNE(88,Qg,5,2,"ng-container",26),e.DNE(89,Zg,2,0,"ng-template",null,37,e.C5r),e.j41(91,"div",38)(92,"button",39),e.bIt("click",function(){return i.flushCache()}),e.EFF(93," Flush cache now "),e.k0s(),e.j41(94,"span",23),e.EFF(95," Saves flush the cache automatically \u2014 this one is for support. "),e.k0s()()(),e.j41(96,"section",1)(97,"h2",2),e.EFF(98,"Full configuration"),e.k0s(),e.j41(99,"p",23),e.EFF(100," The stored config, read-only \u2014 what the audit sees is what you see. "),e.k0s(),e.j41(101,"pre",40),e.EFF(102),e.k0s()(),e.j41(103,"section",41)(104,"h2",2),e.EFF(105,"Danger zone"),e.k0s(),e.j41(106,"p",42),e.EFF(107," Delete this MCP server. Clients lose access immediately. "),e.k0s(),e.j41(108,"button",43),e.bIt("click",function(){return i.requestDelete.emit()}),e.EFF(109," Delete server\u2026 "),e.k0s()()()),2&o){const r=e.sdS(58),c=e.sdS(90);e.R7$(7),e.Y8G("ngModel",i.store.draftName),e.R7$(1),e.Y8G("ngIf",i.renamePending),e.R7$(4),e.Y8G("ngModel",i.store.draftLabel),e.R7$(4),e.Y8G("ngModel",i.store.draftDescription),e.R7$(1),e.Y8G("checked",i.store.draftIsActive),e.R7$(2),e.Y8G("ngIf",!i.store.draftIsActive),e.R7$(7),e.Y8G("ngForOf",i.store.cfg.redirectUris),e.R7$(1),e.Y8G("ngIf",0===i.store.cfg.redirectUris.length),e.R7$(5),e.Y8G("ngModel",i.newRedirectUri),e.R7$(6),e.Y8G("ngModel",i.store.cfg.customLoginUrl),e.R7$(4),e.Y8G("value",i.store.cfg.autoOauthService),e.R7$(1),e.Y8G("value",null),e.R7$(2),e.Y8G("ngIf",i.missingAutoOauth),e.R7$(1),e.Y8G("ngForOf",i.oauthServices),e.R7$(3),e.Y8G("checked",i.store.cfg.allowApiKeyAuth),e.R7$(4),e.Y8G("checked",i.store.cfg.requireRoleAccess),e.R7$(2),e.AVh("warn",!i.store.cfg.requireRoleAccess),e.R7$(1),e.Y8G("ngIf",i.store.cfg.requireRoleAccess)("ngIfElse",r),e.R7$(11),e.Y8G("ngIf",!i.store.isSystemMcp),e.R7$(1),e.Y8G("ngIf",!i.store.isSystemMcp),e.R7$(6),e.Y8G("value",i.lazyValue),e.R7$(10),e.SpI(" Scope tools to caller's role: ",i.scopeToolsOn?"on":"off"," \u2014 set by MCP_SCOPE_TOOLS on the server. "),e.R7$(4),e.Y8G("ngIf",i.orphanCount>0)("ngIfElse",c),e.R7$(4),e.Y8G("disabled",i.flushingCache),e.R7$(10),e.JRh(i.fullConfigJson)}},dependencies:[d.MD,d.Sq,d.bT,m.YN,m.me,m.BC,m.vS,u.Hl,u.$z,h.hM,O.RG,O.rl,O.nJ,$.fS,$.fg,H.Wk,H.VT,H._g,D.Ve,D.VO,J.wT,ce.mV,ce.sG,S.uc],styles:[".mcp-settings[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:14px;max-width:760px}.mcp-card[_ngcontent-%COMP%]{background:var(--df-surface);border:1px solid color-mix(in srgb,var(--df-text) 8%,transparent);border-radius:10px;padding:16px 18px}.mcp-card[_ngcontent-%COMP%] .mcp-card-title[_ngcontent-%COMP%]{display:flex;align-items:center;gap:8px;font-size:14.5px;font-weight:700;margin:0 0 12px}.mcp-sub-title[_ngcontent-%COMP%]{font-size:12.5px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;opacity:.6;margin:14px 0 8px}.mcp-sub-title[_ngcontent-%COMP%]:first-of-type{margin-top:0}.mcp-field[_ngcontent-%COMP%]{display:block;width:100%}.mcp-hint[_ngcontent-%COMP%]{font-size:12.5px;opacity:.7;margin:2px 0 12px}.mcp-hint.warn[_ngcontent-%COMP%]{color:var(--df-warning);opacity:1;font-weight:500}.mcp-inline-warning[_ngcontent-%COMP%]{background:var(--df-warning-soft);border:1px solid color-mix(in srgb,var(--df-warning) 40%,transparent);color:var(--df-warning);border-radius:8px;padding:8px 12px;font-size:13px;font-weight:500;margin:-6px 0 14px}.mcp-redirect-list[_ngcontent-%COMP%]{list-style:none;margin:0 0 8px;padding:0;display:flex;flex-direction:column;gap:6px}.mcp-redirect-list[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{display:flex;align-items:center;gap:8px}.mcp-redirect-list[_ngcontent-%COMP%] code[_ngcontent-%COMP%]{font-size:12.5px;background:color-mix(in srgb,var(--df-text) 3.5%,transparent);border:1px solid color-mix(in srgb,var(--df-text) 8%,transparent);border-radius:6px;padding:3px 8px;word-break:break-all}.mcp-redirect-list[_ngcontent-%COMP%] .mcp-redirect-empty[_ngcontent-%COMP%]{font-size:12.5px;opacity:.7}.mcp-x[_ngcontent-%COMP%]{background:none;border:none;cursor:pointer;font:inherit;font-size:17px;line-height:1;padding:2px 6px;border-radius:6px;color:inherit;opacity:.6}.mcp-x[_ngcontent-%COMP%]:hover{opacity:1;background:color-mix(in srgb,var(--df-text) 5%,transparent)}.mcp-redirect-addrow[_ngcontent-%COMP%]{display:flex;align-items:flex-start;gap:10px}.mcp-redirect-addrow[_ngcontent-%COMP%] .grow[_ngcontent-%COMP%]{flex:1}.mcp-redirect-addrow[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{margin-top:6px}.mcp-regenerate-row[_ngcontent-%COMP%]{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-top:4px}.mcp-regenerate-row[_ngcontent-%COMP%] .mcp-hint[_ngcontent-%COMP%]{margin:0}.mcp-toolstyle[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:8px;margin-bottom:4px}.mcp-toolstyle[_ngcontent-%COMP%] .mcp-radio-label[_ngcontent-%COMP%]{display:block;font-size:13.5px;white-space:normal;line-height:1.45}.mcp-toolstyle[_ngcontent-%COMP%] .mcp-radio-note[_ngcontent-%COMP%]{display:block;font-size:12px;font-weight:600;color:var(--df-accent);margin-top:2px}.mcp-scope-line[_ngcontent-%COMP%]{font-size:13px;opacity:.8;margin:4px 0 0}.mcp-flush-row[_ngcontent-%COMP%]{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-top:14px}.mcp-flush-row[_ngcontent-%COMP%] .mcp-hint[_ngcontent-%COMP%]{margin:0}.mcp-fullconfig[_ngcontent-%COMP%]{margin:0;background:color-mix(in srgb,var(--df-text) 3.5%,transparent);border:1px solid color-mix(in srgb,var(--df-text) 8%,transparent);border-radius:8px;padding:12px 14px;font-size:12px;line-height:1.55;overflow:auto;max-height:420px}.mcp-danger[_ngcontent-%COMP%]{background:var(--df-danger-soft);border-color:color-mix(in srgb,var(--df-danger) 35%,transparent)}.mcp-danger[_ngcontent-%COMP%] .mcp-danger-copy[_ngcontent-%COMP%]{font-size:13.5px;margin:0 0 10px}@media (max-width: 700px){.mcp-card[_ngcontent-%COMP%]{padding:14px}.mcp-redirect-addrow[_ngcontent-%COMP%]{flex-direction:column;align-items:stretch}.mcp-redirect-addrow[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{margin-top:0}}"]})}}return n})(),of=(()=>{class n{constructor(t){this.http=t}health(){return this.http.get("/_internal/ai/mcp-health",{context:(0,K.Ku)()}).pipe((0,I.W)(()=>(0,B.of)(null)))}catalog(t,o){if(null==o.roleId&&null==o.appId)return this.http.post(`${N.C}/${t}/rpc`,{jsonrpc:"2.0",id:1,method:"tools/list",params:{}},{context:(0,K.Ku)()}).pipe((0,X.T)(r=>function Wd(n){if(!n.length)return null;const a=JSON.stringify({tools:n}).length,t=new Set(Me.map(i=>i.verb)),o=n.some(i=>t.has(i.name));return{count:o?null:n.length,bytes:a,lazy:o}}(r?.result?.tools??[])),(0,I.W)(()=>(0,B.of)(null)));const i={service:t};return null!=o.appId?i.app_id=String(o.appId):i.role_id=String(o.roleId),this.http.get("/_internal/ai/mcp-catalog",{params:i,context:(0,K.Ku)()}).pipe((0,X.T)(r=>"number"==typeof r?.count&&"number"==typeof r?.bytes?{count:r.count,bytes:r.bytes,lazy:"lazy"===r.lazy}:null),(0,I.W)(()=>(0,B.of)(null)))}static{this.\u0275fac=function(o){return new(o||n)(e.KVO(ee.Qq))}}static{this.\u0275prov=e.jDH({token:n,factory:n.\u0275fac,providedIn:"root"})}}return n})();function af(n,a){1&n&&(e.j41(0,"span",21),e.EFF(1," \u26a0 Serves no tools "),e.k0s())}function rf(n,a){if(1&n&&(e.j41(0,"span",22),e.EFF(1),e.k0s()),2&n){const t=e.XpG(2);e.AVh("good","ok"===t.healthLevel)("warn","warn"===t.healthLevel)("bad","error"===t.healthLevel),e.Y8G("matTooltip",t.healthText),e.R7$(1),e.SpI(" ",t.healthChip," ")}}function cf(n,a){1&n&&(e.j41(0,"span",23),e.EFF(1," Health unavailable "),e.k0s())}function sf(n,a){if(1&n){const t=e.RV6();e.j41(0,"div",24)(1,"code",25),e.EFF(2),e.k0s(),e.j41(3,"button",26),e.bIt("click",function(){e.eBV(t);const i=e.XpG(2);return e.Njj(i.copyUrl())}),e.EFF(4," Copy "),e.k0s(),e.j41(5,"span",27),e.EFF(6),e.k0s()()}if(2&n){const t=e.XpG(2);e.R7$(2),e.JRh(t.mcpUrl),e.R7$(4),e.SpI(" OAuth 2.1",t.store.cfg.allowApiKeyAuth?" \xb7 API key":""," \xb7 Streamable HTTP ")}}function lf(n,a){if(1&n&&(e.qex(0),e.j41(1,"strong"),e.EFF(2,"MCP sign-in redirects to APP_URL."),e.k0s(),e.EFF(3," APP_URL is "),e.j41(4,"code"),e.EFF(5),e.k0s(),e.EFF(6," but this page is open at "),e.j41(7,"code"),e.EFF(8),e.k0s(),e.EFF(9,", so clients must connect through APP_URL (the endpoint shown here already uses it). If clients cannot reach that address, set APP_URL to the one they use and run "),e.j41(10,"code"),e.EFF(11,"php artisan config:clear"),e.k0s(),e.EFF(12,". "),e.bVm()),2&n){const t=e.XpG().ngIf;e.R7$(5),e.JRh(t.appUrl),e.R7$(3),e.JRh(t.seen)}}function df(n,a){if(1&n&&(e.j41(0,"strong"),e.EFF(1,"APP_URL is not set."),e.k0s(),e.EFF(2," MCP sign-in redirects to APP_URL, so set it to the address clients use (for example "),e.j41(3,"code"),e.EFF(4),e.k0s(),e.EFF(5,") and run "),e.j41(6,"code"),e.EFF(7,"php artisan config:clear"),e.k0s(),e.EFF(8,". ")),2&n){const t=e.XpG().ngIf;e.R7$(4),e.JRh(t.seen)}}function pf(n,a){if(1&n&&(e.j41(0,"df-alert",28),e.DNE(1,lf,13,2,"ng-container",29),e.DNE(2,df,9,1,"ng-template",null,30,e.C5r),e.k0s()),2&n){const t=a.ngIf,o=e.sdS(3);e.Y8G("showAlert",!0)("dismissible",!1),e.R7$(1),e.Y8G("ngIf",t.appUrl)("ngIfElse",o)}}function mf(n,a){if(1&n&&(e.j41(0,"df-alert",31),e.EFF(1),e.k0s()),2&n){const t=a.ngIf;e.Y8G("alertType",t.level)("showAlert",!0)("dismissible",!1),e.R7$(1),e.SpI(" ",t.text," ")}}function _f(n,a){if(1&n){const t=e.RV6();e.j41(0,"df-mcp-connect",32),e.bIt("goToTab",function(i){e.eBV(t);const r=e.XpG(2);return e.Njj(r.setTab(i))}),e.k0s()}if(2&n){const t=e.XpG(2);e.Y8G("store",t.store)("mcpUrl",t.mcpUrl)}}function gf(n,a){if(1&n&&e.nrm(0,"df-mcp-tools",33),2&n){const t=e.XpG(2);e.Y8G("store",t.store)("loading",t.loading)}}function ff(n,a){if(1&n){const t=e.RV6();e.j41(0,"df-mcp-settings",34),e.bIt("requestDelete",function(){e.eBV(t);const i=e.XpG(2);return e.Njj(i.deleteServer())}),e.k0s()}if(2&n){const t=e.XpG(2);e.Y8G("store",t.store)}}function uf(n,a){if(1&n&&(e.qex(0),e.EFF(1," \xb7 "),e.j41(2,"b"),e.EFF(3),e.k0s(),e.bVm()),2&n){const t=e.XpG(3);e.R7$(3),e.Lme("",t.store.savedTotalTools()," \u2192 ",t.store.totalTools()," tools")}}function hf(n,a){if(1&n){const t=e.RV6();e.j41(0,"div",35)(1,"div",36)(2,"span"),e.EFF(3," Unsaved changes "),e.DNE(4,uf,4,2,"ng-container",37),e.k0s(),e.j41(5,"button",38),e.bIt("click",function(){e.eBV(t);const i=e.XpG(2);return e.Njj(i.discard())}),e.EFF(6," Discard "),e.k0s(),e.j41(7,"button",39),e.bIt("click",function(){e.eBV(t);const i=e.XpG(2);return e.Njj(i.save())}),e.EFF(8),e.k0s()()()}if(2&n){const t=e.XpG(2);e.R7$(4),e.Y8G("ngIf",t.store.savedTotalTools()!==t.store.totalTools()),e.R7$(3),e.Y8G("disabled",t.saving),e.R7$(1),e.SpI(" ",t.saving?"Saving\u2026":"Save"," ")}}function bf(n,a){if(1&n){const t=e.RV6();e.j41(0,"div",1)(1,"header",2)(2,"div",3)(3,"span",4),e.EFF(4),e.k0s(),e.j41(5,"button",5),e.bIt("click",function(){e.eBV(t);const i=e.XpG();return e.Njj(i.setTab("tools"))}),e.EFF(6),e.k0s(),e.DNE(7,af,2,0,"span",6),e.DNE(8,rf,2,8,"span",7),e.DNE(9,cf,2,0,"span",8),e.k0s(),e.DNE(10,sf,7,2,"div",9),e.DNE(11,pf,4,4,"df-alert",10),e.DNE(12,mf,2,4,"df-alert",11),e.j41(13,"nav",12)(14,"a",13),e.bIt("click",function(){e.eBV(t);const i=e.XpG();return e.Njj(i.setTab("connect"))}),e.EFF(15," Connect "),e.k0s(),e.j41(16,"a",14),e.bIt("click",function(){e.eBV(t);const i=e.XpG();return e.Njj(i.setTab("tools"))}),e.EFF(17),e.k0s(),e.j41(18,"a",15),e.bIt("click",function(){e.eBV(t);const i=e.XpG();return e.Njj(i.setTab("settings"))}),e.EFF(19," Settings "),e.k0s()()(),e.j41(20,"mat-tab-nav-panel",null,16),e.DNE(22,_f,1,2,"df-mcp-connect",17),e.DNE(23,gf,1,2,"df-mcp-tools",18),e.DNE(24,ff,1,1,"df-mcp-settings",19),e.k0s(),e.DNE(25,hf,9,3,"div",20),e.k0s()}if(2&n){const t=e.sdS(21),o=e.XpG();e.R7$(3),e.AVh("good",o.store.service.isActive)("warn",!o.store.service.isActive),e.R7$(1),e.SpI(" ",o.store.service.isActive?"\u25cf Active":"Inactive \u2014 endpoint refuses connections"," "),e.R7$(2),e.SpI(" ",o.store.totalTools()," tools live "),e.R7$(1),e.Y8G("ngIf",0===o.store.totalTools()),e.R7$(1),e.Y8G("ngIf",o.healthLevel),e.R7$(1),e.Y8G("ngIf",!o.store.health&&o.store.healthChecked),e.R7$(1),e.Y8G("ngIf","connect"!==o.tab),e.R7$(1),e.Y8G("ngIf",o.appUrlIssue),e.R7$(1),e.Y8G("ngIf",o.otherHealthIssue),e.R7$(1),e.Y8G("tabPanel",t),e.R7$(1),e.Y8G("active","connect"===o.tab),e.R7$(2),e.Y8G("active","tools"===o.tab),e.R7$(1),e.SpI(" Tools \xb7 ",o.store.totalTools()," "),e.R7$(1),e.Y8G("active","settings"===o.tab),e.R7$(4),e.Y8G("ngIf","connect"===o.tab),e.R7$(1),e.Y8G("ngIf","tools"===o.tab),e.R7$(1),e.Y8G("ngIf","settings"===o.tab),e.R7$(1),e.Y8G("ngIf",o.store.dirty())}}let rt=class qt{constructor(a,t,o,i,r,c,s){this.activatedRoute=a,this.router=t,this.servicesService=o,this.serviceTypeService=i,this.cacheService=r,this.snackbarService=c,this.mcpApi=s,this.store=new En,this.tab="connect",this.loading=!0,this.saving=!1}ngOnInit(){this.routeSub=this.activatedRoute.data.subscribe(()=>this.initFromRoute())}initFromRoute(){const a=this.activatedRoute.snapshot.data.data,t=this.activatedRoute.snapshot.queryParamMap,o="system_mcp"===a?.type?"system_mcp":"mcp";this.sub?.unsubscribe(),this.store=new En,this.sub=this.store.changes.subscribe(()=>{}),this.store.init({id:a?.id,name:a?.name??"",label:a?.label||a?.name||"",description:a?.description??"",isActive:a?.isActive??!0,type:o,raw:a},a?.config??{}),this.store.created="1"===t.get("created"),this.saving=!1,this.tab="connect";const i=t.get("tab");i&&["connect","tools","settings"].includes(i)&&(this.tab=i),this.snackbarService.setPageLabel(this.router.url,this.store.service.label||this.store.service.name),this.loading=!0,this.loadBackendServices();const r=this.store;r.reloadServerCatalog=()=>this.loadServerCatalog(r),this.loadServerCatalog(r),this.mcpApi.health().subscribe(c=>{this.store===r&&(r.health=c,r.healthChecked=!0,r.touch())})}loadServerCatalog(a){const t=a.previewIdentity;this.mcpApi.catalog(a.service.name,t).subscribe(o=>{this.store!==a||a.previewIdentity!==t||a.setServerCatalog(o)})}ngOnDestroy(){this.sub?.unsubscribe(),this.routeSub?.unsubscribe()}loadBackendServices(){(0,ue.p)({types:this.serviceTypeService.getAll({fields:"name,group",limit:1e3}),services:this.servicesService.getAll({limit:1e3,fields:"id,name,label,type,is_active",sort:"name"})}).subscribe({next:({types:a,services:t})=>{const o={};for(const i of a?.resource??[])o[i.name]=i.group;this.store.backendServices=On(t?.resource??[],o),this.store.backendLoaded=!0,this.loading=!1,this.store.touch()},error:()=>{this.store.backendLoaded=!0,this.loading=!1,this.store.touch()}})}get mcpUrl(){return`${function tp(n){const a=n?.checks?.find(t=>"app_url"===t.id)?.details?.app_url;return"string"==typeof a&&a?a.replace(/\/+$/,""):null}(this.store.health)??window.location.origin}/mcp/${this.store.service.name}`}get appUrlIssue(){const a=this.store.health?.checks?.find(o=>"app_url"===o.id&&"ok"!==(o.status||"").toLowerCase());if(!a)return null;const t=a.details??{};return{appUrl:"string"==typeof t.app_url?t.app_url:"",seen:t.forwarded_origin||t.request_origin||window.location.origin}}get otherHealthIssue(){const a=this.store.health?.checks?.find(t=>"app_url"!==t.id&&"ok"!==(t.status||"").toLowerCase());return a?{level:"error"===(a.status||"").toLowerCase()?"error":"warning",text:a.message??""}:null}get healthLevel(){return this.store.health?function Zd(n){const a=(n.status||"").toLowerCase();return"ok"===a||"healthy"===a||"pass"===a?"ok":"warn"===a||"warning"===a||"degraded"===a?"warn":"error"}(this.store.health):null}get healthText(){const a=this.store.health;return a?function ep(n){return(n.checks??[]).find(t=>"ok"!==(t.status||"").toLowerCase()&&t.message)?.message??""}(a)||("ok"===this.healthLevel?"MCP health: all checks pass":"MCP health: check failed"):""}get healthChip(){const a=this.healthLevel;return"ok"===a?"\u25cf Healthy":"\u26a0 "+("app_url"===this.store.health?.checks?.find(i=>"ok"!==(i.status||"").toLowerCase())?.id?"APP_URL mismatch":"warn"===a?"Health warning":"Health error")}copyUrl(){navigator.clipboard?.writeText(this.mcpUrl).catch(()=>{}),this.store.copiedUrl=!0,this.snackbarService.openSnackBar("Endpoint URL copied.","success")}setTab(a){this.tab=a}canDeactivate(){return!this.store?.service||!this.store.dirty()||window.confirm("You have unsaved changes. Leave this page and discard them?")}save(){if(this.saving||!this.store.dirty())return;const a=this.store,t=a.savedTotalTools(),o=a.draftName!==a.service.name,i=a.connectionAffecting();if(o&&!window.confirm(`Renaming changes your endpoint URL to \u2026/mcp/${a.draftName}. Connected clients will break until they update. Rename?`))return;this.saving=!0;const r={...a.service.raw,id:a.service.id,name:a.draftName,label:a.draftLabel,description:a.draftDescription,isActive:a.draftIsActive,type:a.service.type,config:Mn(a.cfg,a.service.type)};delete r.serviceDocByServiceId,this.servicesService.update(a.service.id,r).subscribe({next:()=>{this.saving=!1,a.markSaved(),this.cacheService.delete(a.service.name).subscribe({next:()=>{},error:()=>{}}),this.loadServerCatalog(a);const c=a.totalTools();0===c?this.snackbarService.openSnackBar("Saved \u2014 this server serves no tools. Agents can connect but can call nothing.","warning"):this.snackbarService.openSnackBar(c!==t?`Saved \u2014 ${c} tools live (was ${t}).`:"Saved.","success"),i&&(a.reconnectBanner=!0),a.touch()},error:c=>{this.saving=!1,this.snackbarService.openSnackBar(c?.error?.error?.message??"Save failed.","error")}})}discard(){this.store.discard()}deleteServer(){const a=this.store;window.prompt(`Delete this MCP server? Clients lose access immediately.\nType the server name (${a.service.name}) to confirm:`)===a.service.name&&this.servicesService.delete(a.service.id).subscribe({next:()=>{this.snackbarService.openSnackBar("Server deleted.","success"),this.router.navigate(["../"],{relativeTo:this.activatedRoute})},error:()=>this.snackbarService.openSnackBar("Delete failed.","error")})}static{this.\u0275fac=function(t){return new(t||qt)(e.rXU(j.nX),e.rXU(j.Ix),e.rXU(q.Z1),e.rXU(q.zs),e.rXU(q.j8),e.rXU(pe.L),e.rXU(of))}}static{this.\u0275cmp=e.VBU({type:qt,selectors:[["df-mcp-details"]],standalone:!0,features:[e.aNF],decls:1,vars:1,consts:[["class","mcp-page",4,"ngIf"],[1,"mcp-page"],[1,"mcp-head"],[1,"mcp-head-row"],[1,"mcp-chip"],["type","button","matTooltip","Open the Tools tab",1,"mcp-chip","primary","mcp-chip-btn",3,"click"],["class","mcp-chip warn",4,"ngIf"],["class","mcp-chip","tabindex","0","data-testid","mcp-health-chip",3,"good","warn","bad","matTooltip",4,"ngIf"],["class","mcp-chip","matTooltip","/_internal/ai/mcp-health did not answer.","data-testid","mcp-health-chip",4,"ngIf"],["class","mcp-head-url",4,"ngIf"],["class","mcp-head-alert","alertType","warning","data-testid","mcp-health-message",3,"showAlert","dismissible",4,"ngIf"],["class","mcp-head-alert","data-testid","mcp-health-issue",3,"alertType","showAlert","dismissible",4,"ngIf"],["mat-tab-nav-bar","","mat-stretch-tabs","false","mat-align-tabs","start",1,"mcp-tabs",3,"tabPanel"],["mat-tab-link","","data-testid","mcp-tab-connect",3,"active","click"],["mat-tab-link","","data-testid","mcp-tab-tools",3,"active","click"],["mat-tab-link","","data-testid","mcp-tab-settings",3,"active","click"],["mcpTabPanel",""],[3,"store","mcpUrl","goToTab",4,"ngIf"],[3,"store","loading",4,"ngIf"],[3,"store","requestDelete",4,"ngIf"],["class","mcp-dirty-bar","data-testid","mcp-dirty-bar",4,"ngIf"],[1,"mcp-chip","warn"],["tabindex","0","data-testid","mcp-health-chip",1,"mcp-chip",3,"matTooltip"],["matTooltip","/_internal/ai/mcp-health did not answer.","data-testid","mcp-health-chip",1,"mcp-chip"],[1,"mcp-head-url"],["data-testid","mcp-endpoint-url"],["mat-stroked-button","","type","button","data-testid","mcp-copy-url",3,"click"],[1,"mcp-head-auth"],["alertType","warning","data-testid","mcp-health-message",1,"mcp-head-alert",3,"showAlert","dismissible"],[4,"ngIf","ngIfElse"],["noAppUrl",""],["data-testid","mcp-health-issue",1,"mcp-head-alert",3,"alertType","showAlert","dismissible"],[3,"store","mcpUrl","goToTab"],[3,"store","loading"],[3,"store","requestDelete"],["data-testid","mcp-dirty-bar",1,"mcp-dirty-bar"],[1,"mcp-dirty-inner"],[4,"ngIf"],["mat-button","","type","button","data-testid","mcp-discard",1,"mcp-dirty-discard",3,"click"],["mat-flat-button","","type","button","data-testid","mcp-save",1,"mcp-dirty-save",3,"disabled","click"]],template:function(t,o){1&t&&e.DNE(0,bf,26,21,"div",0),2&t&&e.Y8G("ngIf",o.store.service)},dependencies:[d.MD,d.bT,u.Hl,u.$z,U.m_,S.uc,S.oV,A.RI,A.Bu,A.hQ,A.Ql,Ud.W,Ip,Sg,nf],styles:[".mcp-page[_ngcontent-%COMP%]{position:relative;padding-bottom:72px}.mcp-head[_ngcontent-%COMP%]{margin-bottom:4px}.mcp-head[_ngcontent-%COMP%] .mcp-head-row[_ngcontent-%COMP%]{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.mcp-head[_ngcontent-%COMP%] .mcp-head-row[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{font-size:21px;font-weight:700;margin:0}.mcp-head[_ngcontent-%COMP%] .mcp-head-url[_ngcontent-%COMP%]{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-top:8px}.mcp-head[_ngcontent-%COMP%] .mcp-head-url[_ngcontent-%COMP%] code[_ngcontent-%COMP%]{font-size:13px;background:color-mix(in srgb,var(--df-text) 3.5%,transparent);border:1px solid color-mix(in srgb,var(--df-text) 8%,transparent);border-radius:7px;padding:4px 10px;overflow-x:auto;max-width:100%}.mcp-head[_ngcontent-%COMP%] .mcp-head-url[_ngcontent-%COMP%] .mcp-head-auth[_ngcontent-%COMP%]{font-size:12.5px;opacity:.65}.mcp-tabs[_ngcontent-%COMP%]{margin:16px 0 20px;border-bottom:1px solid var(--df-border)}.mcp-tabs[_ngcontent-%COMP%] .mat-mdc-tab-link[_ngcontent-%COMP%]{min-width:120px;font-size:14px;font-weight:600;letter-spacing:normal;border-radius:var(--df-radius-sm, 6px) var(--df-radius-sm, 6px) 0 0}.mcp-tabs[_ngcontent-%COMP%] .mat-mdc-tab-link[_ngcontent-%COMP%]:hover{background:var(--df-hover)}.mcp-tabs[_ngcontent-%COMP%] .mat-mdc-tab-link.mdc-tab--active[_ngcontent-%COMP%]{background:var(--df-accent-soft)}.mcp-head-alert[_ngcontent-%COMP%]{display:block;margin-top:10px}.mcp-head-alert[_ngcontent-%COMP%] code[_ngcontent-%COMP%]{font-size:12.5px;padding:0 4px;border-radius:4px;background:var(--df-surface-2)}.mcp-chip[_ngcontent-%COMP%]{display:inline-flex;align-items:center;gap:5px;padding:2px 9px;border-radius:999px;font-size:12px;font-weight:600;border:1px solid color-mix(in srgb,var(--df-text) 14%,transparent);background:color-mix(in srgb,var(--df-text) 2%,transparent);white-space:nowrap}.mcp-chip.good[_ngcontent-%COMP%]{background:var(--df-success-soft);border-color:color-mix(in srgb,var(--df-success) 35%,transparent);color:var(--df-success)}.mcp-chip.warn[_ngcontent-%COMP%]{background:var(--df-warning-soft);border-color:color-mix(in srgb,var(--df-warning) 40%,transparent);color:var(--df-warning)}.mcp-chip.bad[_ngcontent-%COMP%]{background:var(--df-danger-soft);border-color:color-mix(in srgb,var(--df-danger) 40%,transparent);color:var(--df-danger)}.mcp-chip.primary[_ngcontent-%COMP%]{background:color-mix(in srgb,var(--df-accent) 10%,transparent);border-color:color-mix(in srgb,var(--df-accent) 38%,transparent);color:var(--df-accent)}.mcp-chip-btn[_ngcontent-%COMP%]{cursor:pointer;font:inherit;font-size:12px;font-weight:600}.mcp-dirty-bar[_ngcontent-%COMP%]{position:fixed;left:0;right:0;bottom:0;z-index:30;display:flex;justify-content:center;padding:0 16px 14px;pointer-events:none}.mcp-dirty-bar[_ngcontent-%COMP%] .mcp-dirty-inner[_ngcontent-%COMP%]{pointer-events:auto;display:flex;align-items:center;gap:14px;background:var(--df-accent-strong);color:var(--df-accent-contrast);border-radius:12px;padding:8px 12px 8px 18px;box-shadow:0 6px 24px color-mix(in srgb,var(--df-text) 25%,transparent);font-size:13.5px;flex-wrap:wrap}.mcp-dirty-bar[_ngcontent-%COMP%] .mcp-dirty-discard[_ngcontent-%COMP%]{color:var(--df-accent-soft)}.mcp-dirty-bar[_ngcontent-%COMP%] .mcp-dirty-save[_ngcontent-%COMP%]{background:var(--df-surface);color:var(--df-accent-strong)}@media (max-width: 700px){.mcp-head[_ngcontent-%COMP%] .mcp-head-row[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{font-size:18px}}"]})}};function vf(n,a){if(1&n&&(e.j41(0,"p",30),e.EFF(1),e.k0s()),2&n){const t=e.XpG();e.R7$(1),e.SpI(" A service named ",t.name," already exists. ")}}function xf(n,a){1&n&&(e.j41(0,"p",30),e.EFF(1," Name is required. "),e.k0s())}function Cf(n,a){if(1&n){const t=e.RV6();e.j41(0,"button",31),e.bIt("click",function(){e.eBV(t);const i=e.XpG();return e.Njj(i.showDescription=!0)}),e.EFF(1," + Add description "),e.k0s()}}function kf(n,a){if(1&n){const t=e.RV6();e.j41(0,"div",11)(1,"label",32),e.EFF(2,"Description"),e.k0s(),e.j41(3,"textarea",33),e.bIt("input",function(i){e.eBV(t);const r=e.XpG();return e.Njj(r.onDescriptionInput(i))}),e.k0s()()}if(2&n){const t=e.XpG();e.R7$(3),e.Y8G("value",t.description)}}function yf(n,a){if(1&n){const t=e.RV6();e.j41(0,"button",59),e.bIt("click",function(){const r=e.eBV(t).$implicit,c=e.XpG(2);return e.Njj(c.pickClone(r))}),e.EFF(1),e.j41(2,"span",60),e.EFF(3),e.k0s()()}if(2&n){const t=a.$implicit;e.R7$(1),e.SpI(" ",t.label,"\xa0"),e.R7$(2),e.SpI("(",t.name,")")}}function Mf(n,a){1&n&&(e.j41(0,"button",61),e.EFF(1," No other MCP servers yet "),e.k0s())}function Of(n,a){if(1&n&&(e.j41(0,"span",62),e.EFF(1),e.k0s()),2&n){const t=e.XpG(2);e.R7$(1),e.SpI(" Cloned from ",t.cloneSource," ")}}function Pf(n,a){1&n&&(e.j41(0,"p",63),e.EFF(1,"Loading services\u2026"),e.k0s())}function Ff(n,a){1&n&&(e.j41(0,"p",63),e.EFF(1," No database or file services yet. Create one under API Generation & Connections. "),e.k0s())}function wf(n,a){if(1&n&&(e.j41(0,"p",63),e.EFF(1),e.k0s()),2&n){const t=e.XpG(2);e.R7$(1),e.SpI(" No service matches '",t.q,"'. Create one under API Generation & Connections. ")}}function Df(n,a){if(1&n){const t=e.RV6();e.j41(0,"div",68)(1,"mat-checkbox",69),e.bIt("change",function(){const r=e.eBV(t).$implicit,c=e.XpG(3);return e.Njj(c.toggle(r.name))}),e.j41(2,"span",70),e.EFF(3),e.k0s()(),e.j41(4,"span",71),e.EFF(5),e.k0s(),e.j41(6,"span",72),e.EFF(7),e.k0s()()}if(2&n){const t=a.$implicit,o=e.XpG(3);e.R7$(1),e.Y8G("checked",o.isSelected(t.name)),e.BMQ("data-testid","mcp-create-svc-"+t.name),e.R7$(2),e.JRh(t.label),e.R7$(2),e.JRh(t.name),e.R7$(2),e.JRh(o.toolDelta(t))}}function Tf(n,a){if(1&n){const t=e.RV6();e.j41(0,"div",64)(1,"div",65)(2,"span"),e.EFF(3),e.k0s(),e.j41(4,"mat-checkbox",66),e.bIt("change",function(){e.eBV(t);const i=e.XpG(2);return e.Njj(i.toggleGroup(i.dbFiltered()))}),e.EFF(5," Select all "),e.k0s()(),e.DNE(6,Df,8,5,"div",67),e.k0s()}if(2&n){const t=e.XpG(2);e.R7$(3),e.SpI("Databases (",t.dbAll().length,")"),e.R7$(1),e.Y8G("checked",t.groupAllSelected(t.dbFiltered()))("indeterminate",t.groupSomeSelected(t.dbFiltered())),e.R7$(2),e.Y8G("ngForOf",t.dbFiltered())}}function Sf(n,a){if(1&n){const t=e.RV6();e.j41(0,"div",68)(1,"mat-checkbox",69),e.bIt("change",function(){const r=e.eBV(t).$implicit,c=e.XpG(3);return e.Njj(c.toggle(r.name))}),e.j41(2,"span",70),e.EFF(3),e.k0s()(),e.j41(4,"span",71),e.EFF(5),e.k0s(),e.j41(6,"span",72),e.EFF(7),e.k0s()()}if(2&n){const t=a.$implicit,o=e.XpG(3);e.R7$(1),e.Y8G("checked",o.isSelected(t.name)),e.BMQ("data-testid","mcp-create-svc-"+t.name),e.R7$(2),e.JRh(t.label),e.R7$(2),e.JRh(t.name),e.R7$(2),e.JRh(o.toolDelta(t))}}function Rf(n,a){if(1&n){const t=e.RV6();e.j41(0,"div",64)(1,"div",65)(2,"span"),e.EFF(3),e.k0s(),e.j41(4,"mat-checkbox",66),e.bIt("change",function(){e.eBV(t);const i=e.XpG(2);return e.Njj(i.toggleGroup(i.fileFiltered()))}),e.EFF(5," Select all "),e.k0s()(),e.DNE(6,Sf,8,5,"div",67),e.k0s()}if(2&n){const t=e.XpG(2);e.R7$(3),e.SpI("File storage (",t.fileAll().length,")"),e.R7$(1),e.Y8G("checked",t.groupAllSelected(t.fileFiltered()))("indeterminate",t.groupSomeSelected(t.fileFiltered())),e.R7$(2),e.Y8G("ngForOf",t.fileFiltered())}}function If(n,a){1&n&&(e.j41(0,"p",73),e.EFF(1," Nothing selected \u2014 agents get global tools only. "),e.k0s())}function Ef(n,a){if(1&n&&(e.j41(0,"span",71),e.EFF(1),e.k0s()),2&n){const t=e.XpG().$implicit;e.R7$(1),e.SpI(" ","db"===t.svc.kind?"Database":"File storage"," ")}}function $f(n,a){1&n&&(e.j41(0,"span",79),e.EFF(1,"Not on this instance"),e.k0s())}function Gf(n,a){if(1&n&&(e.j41(0,"span",71),e.EFF(1),e.k0s()),2&n){const t=e.XpG().$implicit,o=e.XpG(2);e.AVh("good","ro"===o.accessKindFor(t)),e.R7$(1),e.SpI(" ",o.accessLabelFor(t)," ")}}function jf(n,a){if(1&n){const t=e.RV6();e.j41(0,"li")(1,"span",74),e.EFF(2),e.k0s(),e.DNE(3,Ef,2,1,"span",75),e.DNE(4,$f,2,0,"span",76),e.DNE(5,Gf,2,3,"span",77),e.j41(6,"button",78),e.bIt("click",function(){const r=e.eBV(t).$implicit,c=e.XpG(2);return e.Njj(c.toggle(r.name))}),e.EFF(7," \u2715 "),e.k0s()()}if(2&n){const t=a.$implicit;e.R7$(2),e.JRh((null==t.svc?null:t.svc.label)||t.name),e.R7$(1),e.Y8G("ngIf",t.svc),e.R7$(1),e.Y8G("ngIf",!t.svc),e.R7$(1),e.Y8G("ngIf",t.svc)}}function Nf(n,a){if(1&n){const t=e.RV6();e.j41(0,"section",34)(1,"div",35)(2,"h2"),e.EFF(3,"Expose services"),e.k0s()(),e.j41(4,"div",36)(5,"button",37),e.bIt("click",function(){e.eBV(t);const i=e.XpG();return e.Njj(i.presetAllDb())}),e.EFF(6," All databases (read-only) "),e.k0s(),e.j41(7,"button",38),e.bIt("click",function(){e.eBV(t);const i=e.XpG();return e.Njj(i.presetChoose())}),e.EFF(8," Choose services "),e.k0s(),e.j41(9,"button",39),e.EFF(10," Clone another MCP server\u2026 "),e.k0s(),e.j41(11,"mat-menu",null,40),e.DNE(13,yf,4,2,"button",41),e.DNE(14,Mf,2,0,"button",42),e.k0s(),e.DNE(15,Of,2,1,"span",43),e.k0s(),e.j41(16,"div",44)(17,"span",45),e.EFF(18,"Access for these services:"),e.k0s(),e.j41(19,"div",46)(20,"button",47),e.bIt("click",function(){e.eBV(t);const i=e.XpG();return e.Njj(i.setAccess("ro"))}),e.EFF(21," Read-only \u2014 recommended "),e.k0s(),e.j41(22,"button",48),e.bIt("click",function(){e.eBV(t);const i=e.XpG();return e.Njj(i.setAccess("rw"))}),e.EFF(23," Read & write "),e.k0s()()(),e.j41(24,"div",49)(25,"div",50)(26,"input",51),e.bIt("ngModelChange",function(i){e.eBV(t);const r=e.XpG();return e.Njj(r.q=i)}),e.k0s(),e.DNE(27,Pf,2,0,"p",52),e.DNE(28,Ff,2,0,"p",52),e.DNE(29,wf,2,1,"p",52),e.DNE(30,Tf,7,4,"div",53),e.DNE(31,Rf,7,4,"div",53),e.k0s(),e.j41(32,"aside",54)(33,"div",55),e.EFF(34),e.k0s(),e.DNE(35,If,2,0,"p",56),e.j41(36,"ul",57),e.DNE(37,jf,8,4,"li",58),e.k0s()()()()}if(2&n){const t=e.sdS(12),o=e.XpG();e.R7$(5),e.AVh("primary","alldb"===o.preset),e.R7$(2),e.AVh("primary","choose"===o.preset),e.R7$(2),e.AVh("primary","clone"===o.preset),e.Y8G("matMenuTriggerFor",t),e.R7$(4),e.Y8G("ngForOf",o.mcpSiblings),e.R7$(1),e.Y8G("ngIf",0===o.mcpSiblings.length),e.R7$(1),e.Y8G("ngIf",o.cloneApplied),e.R7$(5),e.AVh("on","ro"===o.access),e.BMQ("aria-checked","ro"===o.access),e.R7$(2),e.AVh("on","rw"===o.access),e.BMQ("aria-checked","rw"===o.access),e.R7$(4),e.Y8G("placeholder","Search "+o.backendServices.length+" services\u2026")("ngModel",o.q),e.R7$(1),e.Y8G("ngIf",!o.instanceLoaded),e.R7$(1),e.Y8G("ngIf",o.instanceLoaded&&0===o.backendServices.length),e.R7$(1),e.Y8G("ngIf",o.emptySearch()),e.R7$(1),e.Y8G("ngIf",o.dbAll().length>0&&o.dbFiltered().length>0),e.R7$(1),e.Y8G("ngIf",o.fileAll().length>0&&o.fileFiltered().length>0),e.R7$(3),e.SpI("Selected (",o.selected.size,")"),e.R7$(1),e.Y8G("ngIf",0===o.selected.size),e.R7$(2),e.Y8G("ngForOf",o.selectedList())}}function Af(n,a){1&n&&(e.j41(0,"b"),e.EFF(1," Empty never means every service."),e.k0s())}rt=(0,ae.Cg)([(0,W.d)({checkProperties:!0})],rt);let Kn=(()=>{class n{canDeactivate(){return!(!this.createdOk&&(this.name||0!==this.selected.size))||window.confirm("Leave without creating the server? Your entries will be discarded.")}constructor(t,o,i,r,c){this.activatedRoute=t,this.router=o,this.servicesService=i,this.serviceTypeService=r,this.snackbarService=c,this.createdOk=!1,this.serverType="mcp",this.name="",this.label="",this.labelTouched=!1,this.nameBlurred=!1,this.description="",this.showDescription=!1,this.preset="choose",this.access="ro",this.selected=new Set,this.q="",this.cloneApplied=!1,this.cloneSource="",this.clonedDisabled=new Set,this.accessTouchedAfterClone=!1,this.toolStyle="merged",this.backendServices=[],this.existingNames=new Set,this.mcpSiblings=[],this.instanceLoaded=!1,this.saving=!1}ngOnInit(){this.loadInstance()}loadInstance(){(0,ue.p)({types:this.serviceTypeService.getAll({fields:"name,group",limit:1e3}),services:this.servicesService.getAll({limit:1e3,fields:"id,name,label,type,is_active",sort:"name"})}).subscribe({next:({types:t,services:o})=>{const i={};for(const c of t?.resource??[])i[c.name]=c.group;const r=o?.resource??[];this.backendServices=On(r,i),this.existingNames=new Set(r.map(c=>c.name).filter(Boolean)),this.mcpSiblings=r.filter(c=>"mcp"===c.type).map(c=>({id:c.id,name:c.name,label:c.label||c.name})),this.instanceLoaded=!0},error:()=>{this.instanceLoaded=!0}})}setType(t){this.serverType=t}onNameInput(t){const o=t.target;this.name=o.value.toLowerCase().replace(/\s+/g,"").replace(/[^a-z0-9_-]/g,""),o.value=this.name,this.labelTouched||(this.label=this.labelSuggestion())}onLabelInput(t){const o=t.target;this.label=o.value,this.labelTouched=o.value.length>0,this.labelTouched||(this.label=this.labelSuggestion())}onDescriptionInput(t){this.description=t.target.value}labelSuggestion(){return this.name.split(/[_-]+/).filter(Boolean).map(t=>t.charAt(0).toUpperCase()+t.slice(1)).join(" ")}get urlPreview(){return`${window.location.origin}/mcp/${this.name||"\u2026"}`}nameTaken(){return""!==this.name&&this.existingNames.has(this.name)}matches(t){const o=this.q.trim().toLowerCase();return!o||t.name.toLowerCase().includes(o)||t.label.toLowerCase().includes(o)}dbAll(){return this.backendServices.filter(t=>"db"===t.kind)}fileAll(){return this.backendServices.filter(t=>"file"===t.kind)}dbFiltered(){return this.dbAll().filter(t=>this.matches(t))}fileFiltered(){return this.fileAll().filter(t=>this.matches(t))}emptySearch(){return this.q.trim().length>0&&0===this.dbFiltered().length&&0===this.fileFiltered().length}toolDelta(t){return`+${G(t.kind).length} tools`}isSelected(t){return this.selected.has(t)}toggle(t){this.selected.has(t)?this.selected.delete(t):this.selected.add(t),"alldb"===this.preset&&(this.preset="choose")}groupAllSelected(t){return t.length>0&&t.every(o=>this.selected.has(o.name))}groupSomeSelected(t){const o=t.filter(i=>this.selected.has(i.name)).length;return o>0&&o({name:t,svc:this.backendServices.find(o=>o.name===t)??null}))}accessLabelFor(t){if(!t.svc)return"";const o=Dt(t.svc,this.compiledDisabledTools());return"full"===o.kind?"Full access":o.label}accessKindFor(t){return t.svc?Dt(t.svc,this.compiledDisabledTools()).kind:""}presetAllDb(){this.selected=new Set(this.dbAll().map(t=>t.name)),this.access="ro",this.cloneApplied=!1,this.preset="alldb"}presetChoose(){this.cloneApplied=!1,this.preset="choose"}pickClone(t){this.servicesService.get(t.id).subscribe({next:o=>{const i=wt(o?.config);this.selected=new Set(i.exposedServices),this.clonedDisabled=new Set(i.disabledTools),this.toolStyle=i.toolStyle??"prefixed",this.cloneApplied=!0,this.cloneSource=t.label||t.name,this.accessTouchedAfterClone=!1,this.preset="clone"},error:()=>this.snackbarService.openSnackBar(`Could not load ${t.name}'s configuration.`,"error")})}setAccess(t){this.access=t,this.accessTouchedAfterClone=!0}compiledDisabledTools(){if("system_mcp"===this.serverType)return new Set;if(this.cloneApplied&&!this.accessTouchedAfterClone)return new Set(this.clonedDisabled);if("ro"===this.access){const t=new Set;for(const o of this.selected){const i=this.backendServices.find(r=>r.name===o);i&&Tt(i).forEach(r=>t.add(r))}return t}return new Set}draftConfig(){const t=wt({});return t.exposedServices=[...this.selected],t.disabledTools=this.compiledDisabledTools(),t.toolStyle=this.toolStyle,t.lazyMode="auto",t.allowApiKeyAuth=!1,t}breakdown(){return ze(this.draftConfig(),this.backendServices)}consequenceMain(){if("system_mcp"===this.serverType)return`Agents will get the ${oe.length} System API admin tools.`;const t=this.breakdown();if(0===this.selected.size)return`Agents will get global tools only (${t.globalTools}) \u2014 no data access.`;const o=[];t.dbServices>0&&o.push("merged"===t.effectiveStyle?`${t.dbTools} database (shared)`:`${t.dbTools} database`),t.fileServices>0&&o.push(`${t.fileTools} file`),o.push(`${t.globalTools} global`);let i=`Agents will get ${t.total} tools: ${o.join(" \xb7 ")}.`;return t.readOnly&&(i+=" Write tools are off."),i}showEmptyBold(){return"mcp"===this.serverType&&0===this.selected.size}canSubmit(){return!this.saving&&this.name.length>0&&!this.nameTaken()}submit(){if(!this.canSubmit())return;this.saving=!0;const t="mcp"===this.serverType?{exposedServices:[...this.selected],disabledTools:[...this.compiledDisabledTools()].sort(),toolStyle:this.toolStyle,lazyMode:"auto",allowApiKeyAuth:!1,allowWrites:!0,requireRoleAccess:!0}:{requireRoleAccess:!0};this.servicesService.create({resource:[{name:this.name,label:this.label||this.name,description:this.description,isActive:!0,type:this.serverType,config:t}]}).subscribe({next:o=>{this.saving=!1,this.createdOk=!0;const i=o?.resource?.[0]?.id;null!=i?this.router.navigate(["../",i],{relativeTo:this.activatedRoute,queryParams:{created:1}}):this.router.navigate(["../"],{relativeTo:this.activatedRoute})},error:o=>{this.saving=!1,this.snackbarService.openSnackBar(o?.error?.error?.message??"Create failed.","error")}})}cancel(){this.router.navigate(["../"],{relativeTo:this.activatedRoute})}static{this.\u0275fac=function(o){return new(o||n)(e.rXU(j.nX),e.rXU(j.Ix),e.rXU(q.Z1),e.rXU(q.zs),e.rXU(pe.L))}}static{this.\u0275cmp=e.VBU({type:n,selectors:[["df-mcp-create"]],standalone:!0,features:[e.aNF],decls:53,vars:18,consts:[["data-testid","mcp-create-page",1,"mcp-create"],[1,"mcp-create-head"],[1,"mcp-create-tagline"],["role","radiogroup","aria-label","Server type",1,"mcp-create-types"],["type","button","role","radio","data-testid","mcp-create-type-mcp",1,"mcp-type-card",3,"click"],["aria-hidden","true",1,"mcp-type-dot"],[1,"mcp-type-body"],[1,"mcp-type-title"],[1,"mcp-type-desc"],["type","button","role","radio","data-testid","mcp-create-type-system",1,"mcp-type-card",3,"click"],[1,"mcp-card","mcp-create-card"],[1,"mcp-field"],["for","mcp-create-name-input"],[1,"req"],["id","mcp-create-name-input","type","text","autocomplete","off","spellcheck","false","placeholder","warehouse","data-testid","mcp-create-name",1,"mcp-input",3,"value","input","blur"],["data-testid","mcp-create-url-preview",1,"mcp-url-preview"],[1,"mcp-url-mono"],[1,"mcp-url-note"],["class","mcp-field-error",4,"ngIf"],["for","mcp-create-label-input"],["id","mcp-create-label-input","type","text","autocomplete","off",1,"mcp-input",3,"value","input"],["type","button","class","mcp-linklike",3,"click",4,"ngIf"],["class","mcp-field",4,"ngIf"],["class","mcp-create-expose",4,"ngIf"],["data-testid","mcp-create-consequence",1,"mcp-create-consequence"],[4,"ngIf"],[1,"mcp-create-auth"],[1,"mcp-create-actions"],["mat-stroked-button","","type","button",3,"click"],["mat-flat-button","","color","primary","type","button","data-testid","mcp-create-submit",3,"disabled","click"],[1,"mcp-field-error"],["type","button",1,"mcp-linklike",3,"click"],["for","mcp-create-desc-input"],["id","mcp-create-desc-input","rows","3",1,"mcp-input","mcp-textarea",3,"value","input"],[1,"mcp-create-expose"],[1,"mcp-section-head"],[1,"mcp-preset-row"],["type","button","data-testid","mcp-create-preset-alldb",1,"mcp-chip","mcp-chip-btn",3,"click"],["type","button",1,"mcp-chip","mcp-chip-btn",3,"click"],["type","button",1,"mcp-chip","mcp-chip-btn",3,"matMenuTriggerFor"],["cloneMenu","matMenu"],["mat-menu-item","",3,"click",4,"ngFor","ngForOf"],["mat-menu-item","","disabled","",4,"ngIf"],["class","mcp-chip good",4,"ngIf"],[1,"mcp-access-row"],[1,"mcp-access-label"],["role","radiogroup","aria-label","Access for these services",1,"mcp-seg"],["type","button","role","radio","data-testid","mcp-create-access-ro",1,"mcp-seg-btn",3,"click"],["type","button","role","radio","data-testid","mcp-create-access-rw",1,"mcp-seg-btn",3,"click"],[1,"mcp-create-pickgrid"],[1,"mcp-card","mcp-pick-card"],["type","search","data-testid","mcp-create-search",1,"mcp-input","mcp-pick-search",3,"placeholder","ngModel","ngModelChange"],["class","mcp-pick-note",4,"ngIf"],["class","mcp-pick-group",4,"ngIf"],[1,"mcp-pick-side"],[1,"mcp-side-head"],["class","mcp-side-none",4,"ngIf"],[1,"mcp-side-list"],[4,"ngFor","ngForOf"],["mat-menu-item","",3,"click"],[1,"mcp-menu-name"],["mat-menu-item","","disabled",""],[1,"mcp-chip","good"],[1,"mcp-pick-note"],[1,"mcp-pick-group"],[1,"mcp-pick-grouphead"],[3,"checked","indeterminate","change"],["class","mcp-pick-row",4,"ngFor","ngForOf"],[1,"mcp-pick-row"],[3,"checked","change"],[1,"mcp-pick-label"],[1,"mcp-chip"],[1,"mcp-pick-delta"],[1,"mcp-side-none"],[1,"mcp-side-label"],["class","mcp-chip",4,"ngIf"],["class","mcp-chip warn",4,"ngIf"],["class","mcp-chip",3,"good",4,"ngIf"],["type","button","matTooltip","Remove from selection","aria-label","Remove from selection",1,"mcp-side-remove",3,"click"],[1,"mcp-chip","warn"]],template:function(o,i){1&o&&(e.j41(0,"div",0)(1,"header",1)(2,"h1"),e.EFF(3,"New MCP server"),e.k0s(),e.j41(4,"p",2),e.EFF(5," Choose what agents may reach. Naming, catalog size, and auth are handled automatically. "),e.k0s()(),e.j41(6,"div",3)(7,"button",4),e.bIt("click",function(){return i.setType("mcp")}),e.nrm(8,"span",5),e.j41(9,"span",6)(10,"span",7),e.EFF(11,"MCP server"),e.k0s(),e.j41(12,"span",8),e.EFF(13,"Expose your data services to AI agents."),e.k0s()()(),e.j41(14,"button",9),e.bIt("click",function(){return i.setType("system_mcp")}),e.nrm(15,"span",5),e.j41(16,"span",6)(17,"span",7),e.EFF(18,"System API MCP server"),e.k0s(),e.j41(19,"span",8),e.EFF(20,"Expose the DreamFactory admin API itself."),e.k0s()()()(),e.j41(21,"section",10)(22,"div",11)(23,"label",12),e.EFF(24,"Name "),e.j41(25,"span",13),e.EFF(26,"*"),e.k0s()(),e.j41(27,"input",14),e.bIt("input",function(c){return i.onNameInput(c)})("blur",function(){return i.nameBlurred=!0}),e.k0s(),e.j41(28,"p",15)(29,"span",16),e.EFF(30),e.k0s(),e.EFF(31," "),e.j41(32,"span",17),e.EFF(33,"\u2014 the name is the URL"),e.k0s()(),e.DNE(34,vf,2,1,"p",18),e.DNE(35,xf,2,0,"p",18),e.k0s(),e.j41(36,"div",11)(37,"label",19),e.EFF(38,"Label"),e.k0s(),e.j41(39,"input",20),e.bIt("input",function(c){return i.onLabelInput(c)}),e.k0s()(),e.DNE(40,Cf,2,0,"button",21),e.DNE(41,kf,4,1,"div",22),e.k0s(),e.DNE(42,Nf,38,26,"section",23),e.j41(43,"p",24),e.EFF(44),e.DNE(45,Af,2,0,"b",25),e.k0s(),e.j41(46,"p",26),e.EFF(47," Secured with OAuth 2.1, configured automatically. Connection details appear after you create the server. "),e.k0s(),e.j41(48,"div",27)(49,"button",28),e.bIt("click",function(){return i.cancel()}),e.EFF(50,"Cancel"),e.k0s(),e.j41(51,"button",29),e.bIt("click",function(){return i.submit()}),e.EFF(52),e.k0s()()()),2&o&&(e.R7$(7),e.AVh("on","mcp"===i.serverType),e.BMQ("aria-checked","mcp"===i.serverType),e.R7$(7),e.AVh("on","system_mcp"===i.serverType),e.BMQ("aria-checked","system_mcp"===i.serverType),e.R7$(13),e.Y8G("value",i.name),e.R7$(3),e.SpI("\u2192 ",i.urlPreview,""),e.R7$(4),e.Y8G("ngIf",i.nameTaken()),e.R7$(1),e.Y8G("ngIf",i.nameBlurred&&""===i.name),e.R7$(4),e.Y8G("value",i.label),e.R7$(1),e.Y8G("ngIf",!i.showDescription),e.R7$(1),e.Y8G("ngIf",i.showDescription),e.R7$(1),e.Y8G("ngIf","mcp"===i.serverType),e.R7$(2),e.SpI(" ",i.consequenceMain(),""),e.R7$(1),e.Y8G("ngIf",i.showEmptyBold()),e.R7$(6),e.Y8G("disabled",!i.canSubmit()),e.R7$(1),e.SpI(" ",i.saving?"Creating\u2026":"Create server"," "))},dependencies:[d.MD,d.Sq,d.bT,m.YN,m.me,m.BC,m.vS,u.Hl,u.$z,L.g7,L.So,ie.Cn,ie.kk,ie.fb,ie.Cp,S.uc,S.oV],styles:['@charset "UTF-8";.mcp-create[_ngcontent-%COMP%]{font-family:Inter,Helvetica Neue,sans-serif;max-width:980px;padding:0 0 40px}.mcp-create-head[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{font-size:21px;font-weight:700;margin:0 0 4px}.mcp-create-head[_ngcontent-%COMP%] .mcp-create-tagline[_ngcontent-%COMP%]{font-size:13.5px;opacity:.65;margin:0 0 18px;max-width:560px}.mcp-create-types[_ngcontent-%COMP%]{display:flex;gap:12px;flex-wrap:wrap;margin-bottom:16px}.mcp-create-types[_ngcontent-%COMP%] .mcp-type-card[_ngcontent-%COMP%]{flex:1 1 260px;display:flex;align-items:flex-start;gap:10px;text-align:left;background:var(--df-surface);border:1px solid color-mix(in srgb,var(--df-text) 8%,transparent);border-radius:10px;padding:14px 16px;cursor:pointer;font:inherit}.mcp-create-types[_ngcontent-%COMP%] .mcp-type-card.on[_ngcontent-%COMP%]{border-color:var(--df-accent);box-shadow:inset 0 0 0 1px var(--df-accent);background:color-mix(in srgb,var(--df-accent) 4%,transparent)}.mcp-create-types[_ngcontent-%COMP%] .mcp-type-card[_ngcontent-%COMP%] .mcp-type-dot[_ngcontent-%COMP%]{flex:none;margin-top:2px;width:16px;height:16px;border-radius:50%;border:2px solid color-mix(in srgb,var(--df-text) 30%,transparent);background:var(--df-surface)}.mcp-create-types[_ngcontent-%COMP%] .mcp-type-card.on[_ngcontent-%COMP%] .mcp-type-dot[_ngcontent-%COMP%]{border-color:var(--df-accent);box-shadow:inset 0 0 0 3.5px var(--df-surface);background:var(--df-accent)}.mcp-create-types[_ngcontent-%COMP%] .mcp-type-card[_ngcontent-%COMP%] .mcp-type-body[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:2px}.mcp-create-types[_ngcontent-%COMP%] .mcp-type-card[_ngcontent-%COMP%] .mcp-type-title[_ngcontent-%COMP%]{font-size:14px;font-weight:700}.mcp-create-types[_ngcontent-%COMP%] .mcp-type-card[_ngcontent-%COMP%] .mcp-type-desc[_ngcontent-%COMP%]{font-size:12.5px;opacity:.65}.mcp-card[_ngcontent-%COMP%]{background:var(--df-surface);border:1px solid color-mix(in srgb,var(--df-text) 8%,transparent);border-radius:10px;margin-bottom:14px}.mcp-create-card[_ngcontent-%COMP%]{padding:16px}.mcp-field[_ngcontent-%COMP%]{margin-bottom:14px}.mcp-field[_ngcontent-%COMP%] label[_ngcontent-%COMP%]{display:block;font-size:12.5px;font-weight:600;margin-bottom:4px}.mcp-field[_ngcontent-%COMP%] .req[_ngcontent-%COMP%]{color:var(--df-danger)}.mcp-field[_ngcontent-%COMP%]:last-child{margin-bottom:0}.mcp-input[_ngcontent-%COMP%]{font:inherit;font-size:13.5px;padding:8px 12px;border:1px solid color-mix(in srgb,var(--df-text) 18%,transparent);border-radius:8px;background:var(--df-surface);width:100%;max-width:420px;box-sizing:border-box}.mcp-input[_ngcontent-%COMP%]:focus{outline:2px solid color-mix(in srgb,var(--df-accent) 35%,transparent);outline-offset:0}.mcp-textarea[_ngcontent-%COMP%]{max-width:640px;resize:vertical}.mcp-url-preview[_ngcontent-%COMP%]{margin:6px 0 0;font-size:12.5px}.mcp-url-preview[_ngcontent-%COMP%] .mcp-url-mono[_ngcontent-%COMP%]{font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;color:var(--df-accent);word-break:break-all}.mcp-url-preview[_ngcontent-%COMP%] .mcp-url-note[_ngcontent-%COMP%]{opacity:.6}.mcp-field-error[_ngcontent-%COMP%]{margin:6px 0 0;font-size:12.5px;font-weight:600;color:var(--df-danger)}.mcp-linklike[_ngcontent-%COMP%]{background:none;border:none;padding:0;font:inherit;font-size:13px;font-weight:600;color:var(--df-accent);cursor:pointer}.mcp-section-head[_ngcontent-%COMP%]{margin:18px 0 10px}.mcp-section-head[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{font-size:12px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;opacity:.75;margin:0}.mcp-chip[_ngcontent-%COMP%]{display:inline-flex;align-items:center;gap:5px;padding:2px 9px;border-radius:999px;font-size:12px;font-weight:600;border:1px solid color-mix(in srgb,var(--df-text) 14%,transparent);background:color-mix(in srgb,var(--df-text) 2%,transparent);white-space:nowrap}.mcp-chip.good[_ngcontent-%COMP%]{background:var(--df-success-soft);border-color:color-mix(in srgb,var(--df-success) 35%,transparent);color:var(--df-success)}.mcp-chip.warn[_ngcontent-%COMP%]{background:var(--df-warning-soft);border-color:color-mix(in srgb,var(--df-warning) 40%,transparent);color:var(--df-warning)}.mcp-chip.primary[_ngcontent-%COMP%]{background:color-mix(in srgb,var(--df-accent) 10%,transparent);border-color:color-mix(in srgb,var(--df-accent) 38%,transparent);color:var(--df-accent)}.mcp-chip-btn[_ngcontent-%COMP%]{cursor:pointer;font:inherit;font-size:12px;font-weight:600}.mcp-preset-row[_ngcontent-%COMP%]{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-bottom:12px}.mcp-menu-name[_ngcontent-%COMP%]{opacity:.55;font-size:12px}.mcp-access-row[_ngcontent-%COMP%]{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-bottom:12px}.mcp-access-row[_ngcontent-%COMP%] .mcp-access-label[_ngcontent-%COMP%]{font-size:13px;font-weight:600}.mcp-seg[_ngcontent-%COMP%]{display:inline-flex;border:1px solid color-mix(in srgb,var(--df-text) 18%,transparent);border-radius:8px;overflow:hidden}.mcp-seg[_ngcontent-%COMP%] .mcp-seg-btn[_ngcontent-%COMP%]{font:inherit;font-size:13px;font-weight:600;padding:7px 14px;background:var(--df-surface);border:none;cursor:pointer;opacity:.75}.mcp-seg[_ngcontent-%COMP%] .mcp-seg-btn[_ngcontent-%COMP%] + .mcp-seg-btn[_ngcontent-%COMP%]{border-left:1px solid color-mix(in srgb,var(--df-text) 12%,transparent)}.mcp-seg[_ngcontent-%COMP%] .mcp-seg-btn.on[_ngcontent-%COMP%]{background:color-mix(in srgb,var(--df-accent) 12%,transparent);color:var(--df-accent);opacity:1}.mcp-create-pickgrid[_ngcontent-%COMP%]{display:grid;grid-template-columns:minmax(0,1fr) 280px;gap:16px;align-items:start}.mcp-pick-card[_ngcontent-%COMP%]{padding:12px 14px;margin-bottom:0}.mcp-pick-search[_ngcontent-%COMP%]{max-width:none}.mcp-pick-note[_ngcontent-%COMP%]{font-size:13px;opacity:.65;margin:12px 2px 2px}.mcp-pick-group[_ngcontent-%COMP%]{margin-top:14px}.mcp-pick-grouphead[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;font-size:11.5px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;opacity:.8;border-bottom:1px solid color-mix(in srgb,var(--df-text) 6%,transparent);padding-bottom:2px;margin-bottom:4px}.mcp-pick-row[_ngcontent-%COMP%]{display:flex;align-items:center;gap:8px;flex-wrap:wrap;padding:2px 0}.mcp-pick-row[_ngcontent-%COMP%] .mcp-pick-label[_ngcontent-%COMP%]{font-size:13.5px;font-weight:600}.mcp-pick-row[_ngcontent-%COMP%] .mcp-pick-delta[_ngcontent-%COMP%]{margin-left:auto;font-size:12px;opacity:.6;white-space:nowrap}.mcp-pick-side[_ngcontent-%COMP%]{background:var(--df-surface);border:1px solid color-mix(in srgb,var(--df-text) 8%,transparent);border-radius:10px;padding:12px 14px}.mcp-pick-side[_ngcontent-%COMP%] .mcp-side-head[_ngcontent-%COMP%]{font-size:11.5px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;opacity:.8;margin-bottom:6px}.mcp-pick-side[_ngcontent-%COMP%] .mcp-side-none[_ngcontent-%COMP%]{font-size:13px;opacity:.65;margin:4px 0 0}.mcp-pick-side[_ngcontent-%COMP%] .mcp-side-list[_ngcontent-%COMP%]{list-style:none;margin:0;padding:0}.mcp-pick-side[_ngcontent-%COMP%] .mcp-side-list[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{display:flex;align-items:center;gap:6px;flex-wrap:wrap;padding:5px 0;border-bottom:1px solid color-mix(in srgb,var(--df-text) 5%,transparent)}.mcp-pick-side[_ngcontent-%COMP%] .mcp-side-list[_ngcontent-%COMP%] li[_ngcontent-%COMP%]:last-child{border-bottom:none}.mcp-pick-side[_ngcontent-%COMP%] .mcp-side-label[_ngcontent-%COMP%]{font-size:13px;font-weight:600}.mcp-pick-side[_ngcontent-%COMP%] .mcp-side-remove[_ngcontent-%COMP%]{margin-left:auto;background:none;border:none;cursor:pointer;font-size:13px;line-height:1;opacity:.45;padding:2px 4px}.mcp-pick-side[_ngcontent-%COMP%] .mcp-side-remove[_ngcontent-%COMP%]:hover{opacity:.9}.mcp-create-consequence[_ngcontent-%COMP%]{background:color-mix(in srgb,var(--df-accent) 7%,transparent);border:1px solid color-mix(in srgb,var(--df-accent) 25%,transparent);border-radius:10px;padding:10px 14px;font-size:13.5px;margin:16px 0}.mcp-create-auth[_ngcontent-%COMP%]{font-size:13px;opacity:.7;margin:0 0 18px}.mcp-create-actions[_ngcontent-%COMP%]{display:flex;justify-content:flex-end;gap:10px;flex-wrap:wrap}@media (max-width: 860px){.mcp-create-pickgrid[_ngcontent-%COMP%]{grid-template-columns:1fr}}@media (max-width: 700px){.mcp-create-head[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{font-size:18px}.mcp-input[_ngcontent-%COMP%], .mcp-textarea[_ngcontent-%COMP%]{max-width:none}.mcp-create-actions[_ngcontent-%COMP%]{justify-content:stretch}.mcp-create-actions[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{flex:1 1 auto}}']})}}return n})();function Yf(n,a){1&n&&e.nrm(0,"df-mcp-details")}function Vf(n,a){1&n&&e.nrm(0,"df-mcp-create")}function Xf(n,a){1&n&&e.nrm(0,"df-service-details")}let zf=(()=>{class n{constructor(t){this.activatedRoute=t,this.mode="generic"}canDeactivate(){return"mcp-edit"===this.mode?this.details?.canDeactivate()??!0:"mcp-create"!==this.mode||(this.create?.canDeactivate()??!0)}ngOnInit(){this.routeSub=this.activatedRoute.data.subscribe(()=>this.computeMode())}ngOnDestroy(){this.routeSub?.unsubscribe()}computeMode(){const t=this.activatedRoute.snapshot,o=t.data.data;if("mcp"===o?.type||"system_mcp"===o?.type)return void(this.mode="mcp-edit");const i=!t.paramMap.get("id");this.mode=i&&(t.data.groups||t.parent?.data?.groups||[]).includes("MCP")?"mcp-create":"generic"}static{this.\u0275fac=function(o){return new(o||n)(e.rXU(j.nX))}}static{this.\u0275cmp=e.VBU({type:n,selectors:[["df-mcp-route-shim"]],viewQuery:function(o,i){if(1&o&&(e.GBs(rt,5),e.GBs(Kn,5)),2&o){let r;e.mGM(r=e.lsd())&&(i.details=r.first),e.mGM(r=e.lsd())&&(i.create=r.first)}},standalone:!0,features:[e.aNF],decls:3,vars:3,consts:[[4,"ngIf"]],template:function(o,i){1&o&&(e.DNE(0,Yf,1,0,"df-mcp-details",0),e.DNE(1,Vf,1,0,"df-mcp-create",0),e.DNE(2,Xf,1,0,"df-service-details",0)),2&o&&(e.Y8G("ngIf","mcp-edit"===i.mode),e.R7$(1),e.Y8G("ngIf","mcp-create"===i.mode),e.R7$(1),e.Y8G("ngIf","generic"===i.mode))},dependencies:[d.MD,d.bT,Ot,rt,Kn],encapsulation:2})}}return n})()},51407:(Wn,Le,g)=>{g.d(Le,{W:()=>$});var d=g(1843),ve=g(18331),ae=g(68660),e=g(54342),m=g(94093);function L(D,ce){if(1&D){const A=d.RV6();d.j41(0,"button",5),d.bIt("click",function(){d.eBV(A);const u=d.XpG(2);return d.Njj(u.dismissAlert())}),d.j41(1,"fa-icon",6),d.EFF(2),d.k0s()()}if(2&D){const A=d.XpG(2);d.R7$(1),d.Y8G("icon",A.faXmark),d.R7$(1),d.JRh("alerts.close")}}function fe(D,ce){if(1&D&&(d.j41(0,"div",1),d.nrm(1,"fa-icon",2),d.j41(2,"span",3),d.SdG(3),d.k0s(),d.DNE(4,L,3,2,"button",4),d.k0s()),2&D){const A=d.XpG();d.HbH(A.alertType),d.R7$(1),d.Y8G("icon",A.icon),d.R7$(3),d.Y8G("ngIf",A.dismissible)}}const O=["*"];let $=(()=>{class D{constructor(){this.alertType="success",this.showAlert=!1,this.dismissible=!0,this.alertClosed=new d.bkB,this.faXmark=m.Jyw}dismissAlert(){this.alertClosed.emit()}get icon(){switch(this.alertType){case"success":return m.SGM;case"error":return m.rfe;case"warning":return m.tUE;default:return m.iW_}}static{this.\u0275fac=function(R){return new(R||D)}}static{this.\u0275cmp=d.VBU({type:D,selectors:[["df-alert"]],inputs:{alertType:"alertType",showAlert:"showAlert",dismissible:"dismissible"},outputs:{alertClosed:"alertClosed"},standalone:!0,features:[d.aNF],ngContentSelectors:O,decls:1,vars:1,consts:[["class","alert-container",3,"class",4,"ngIf"],[1,"alert-container"],["aria-hidden","true",1,"alert-icon",3,"icon"],["role","alert",1,"alert-message"],["mat-icon-button","","class","dismiss-alert",3,"click",4,"ngIf"],["mat-icon-button","",1,"dismiss-alert",3,"click"],[3,"icon"]],template:function(R,u){1&R&&(d.NAR(),d.DNE(0,fe,5,4,"div",0)),2&R&&d.Y8G("ngIf",u.showAlert)},dependencies:[ve.bT,ae.Hl,ae.iY,e.dX,e.aY],styles:[".alert-container[_ngcontent-%COMP%]{display:flex;flex-direction:row;align-items:center;justify-content:space-between;background-color:var(--df-surface);color:var(--df-text);border:1px solid var(--df-border);border-radius:var(--df-radius-sm);font-size:1.4rem}.alert-container[_ngcontent-%COMP%] .alert-message[_ngcontent-%COMP%]{flex:1;padding:8px}.alert-container[_ngcontent-%COMP%] .alert-icon[_ngcontent-%COMP%]{padding:0 10px}.alert-container.success[_ngcontent-%COMP%]{border-color:var(--df-success-border)}.alert-container.success[_ngcontent-%COMP%] .alert-icon[_ngcontent-%COMP%]{color:var(--df-success)}.alert-container.error[_ngcontent-%COMP%]{border-color:var(--df-danger-border)}.alert-container.error[_ngcontent-%COMP%] .alert-icon[_ngcontent-%COMP%]{color:var(--df-danger)}.alert-container.warning[_ngcontent-%COMP%]{border-color:var(--df-warning, var(--df-danger-border))}.alert-container.warning[_ngcontent-%COMP%] .alert-icon[_ngcontent-%COMP%]{color:var(--df-warning, var(--df-danger))}.alert-container.info[_ngcontent-%COMP%] .alert-icon[_ngcontent-%COMP%]{color:var(--df-accent)}"]})}}return D})()}}]); \ No newline at end of file diff --git a/dist/assets/i18n/services/en.json b/dist/assets/i18n/services/en.json index e0275dc7..b0a35f54 100644 --- a/dist/assets/i18n/services/en.json +++ b/dist/assets/i18n/services/en.json @@ -33,7 +33,8 @@ "options": "Advanced Options", "overview": { "eyebrow": "Live API", - "description": "Your API is live. Copy a request and run it." + "description": "Copy a request and run it.", + "title": "Your API is live" }, "controls": { "serviceType": { @@ -103,7 +104,8 @@ "title": "{{verb}} on {{service}}", "hint": "This is everything the role reaches, not just this service. Grants marked inherited come from a wildcard rule; explicit grants target one service. Edit the role to change what agents and keys under it can touch.", "close": "Close" - } + }, + "summary": "{{granted}} of {{total}} roles can reach this service" }, "pipeline": { "eyebrow": "Pipeline", diff --git a/dist/index.html b/dist/index.html index da308df0..17fb9716 100644 --- a/dist/index.html +++ b/dist/index.html @@ -10,5 +10,5 @@ - + diff --git a/dist/main.a8aea8bd0d10987a.js b/dist/main.d8d4e8ba9afa4252.js similarity index 99% rename from dist/main.a8aea8bd0d10987a.js rename to dist/main.d8d4e8ba9afa4252.js index 901c8f6c..d3f91580 100644 --- a/dist/main.a8aea8bd0d10987a.js +++ b/dist/main.d8d4e8ba9afa4252.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdf_admin_interface=self.webpackChunkdf_admin_interface||[]).push([[8792],{59189:(Ce,Lt,r)=>{r.d(Lt,{c:()=>o});const o={dfAdminApiKey:"6498a8ad1beb9d84d63035c5d1120c007fad6de706734db9689f8996707e0f7d",dfApiDocsApiKey:"36fda24fe5588fa4285ac6c6c2fdfbdb6b6bc9834699774c9bf777f706d05a88",dfFileManagerApiKey:"b5cb82af7b5d4130f36149f90aa2746782e59a872ac70454ac188743cb55b0ba",intercomWidget:!0,intercomAppId:"ymvqkyiw"}},63338:(Ce,Lt,r)=>{r.d(Lt,{H:()=>ot});var o=r(85390),y=r(73151),b=r(12324),T=r(52483),k=r(57588),G=r(14087),P=r(75066),Z=r(1843);r(69099);let ot=(()=>{class q{constructor(M){this.lookupService=M,this.configSubject=new o.t({intercomWidget:!0}),this.config$=this.configSubject.asObservable(),this.INTERCOM_KEY="intercom_widget_enabled",this.loadConfig()}loadConfig(){this.getConfig().subscribe(M=>{this.configSubject.next(M)})}getConfig(){return this.lookupService.getAll({filter:`name="${this.INTERCOM_KEY}"`,errorHandling:"silent"}).pipe((0,b.T)(M=>{const a=M?.resource?.[0],pt={intercomWidget:!a||"true"===a.value,intercomAppId:"ymvqkyiw"};return this.configSubject.next(pt),pt}),(0,T.W)(()=>{const M={intercomWidget:!0,intercomAppId:"ymvqkyiw"};return this.configSubject.next(M),(0,y.of)(M)}))}updateConfig(M){const a=M.intercomWidget?"true":"false";return this.lookupService.getAll({filter:`name="${this.INTERCOM_KEY}"`,errorHandling:"silent"}).pipe((0,b.T)(pt=>pt?.resource?.[0]),(0,T.W)(()=>(0,y.of)(null)),(0,k.n)(pt=>pt?this.lookupService.patch(pt.id,{value:a}).pipe((0,G.M)(()=>{this.configSubject.next(M)})):this.lookupService.create({resource:[{name:this.INTERCOM_KEY,value:a,private:!1}]}).pipe((0,G.M)(()=>{this.configSubject.next(M)}))),(0,T.W)(pt=>{throw console.error("Failed to update Intercom config:",pt),pt}))}get currentConfig(){return this.configSubject.value}get isIntercomEnabled(){return this.configSubject.value.intercomWidget??!0}static{this.\u0275fac=function(a){return new(a||q)(Z.KVO(P.mr))}}static{this.\u0275prov=Z.jDH({token:q,factory:q.\u0275fac,providedIn:"root"})}}return q})()},90168:(Ce,Lt,r)=>{r.d(Lt,{H:()=>G});var o=r(68686),y=r(73475),b=r(1843),T=r(62572),k=r(89905);let G=(()=>{class P{constructor(N,ot){this.http=N,this.userDataService=ot}get url(){return this.userDataService.userData?.isSysAdmin?o.t.ADMIN_PROFILE:o.t.USER_PROFILE}getProfile(){return this.http.get(this.url,{headers:y.NE})}saveProfile(N){return this.http.put(this.url,N,{headers:y.NE})}static{this.\u0275fac=function(ot){return new(ot||P)(b.KVO(T.Qq),b.KVO(k.T))}}static{this.\u0275prov=b.jDH({token:P,factory:P.\u0275fac})}}return P})()},95373:(Ce,Lt,r)=>{r.d(Lt,{g:()=>M});var o=r(12324),y=r(52483),b=r(80972),T=r(73151),k=r(56579),G=r(68686),P=r(73475),Z=r(16994),N=r(1843),ot=r(62572),q=r(11863),K=r(89905);let M=(()=>{class a{constructor(j,J,bt){this.http=j,this.router=J,this.userDataService=bt}register(j){return this.http.post(G.t.REGISTER,j,P.Jm)}login(j){return this.http.post(G.t.USER_SESSION,j,{headers:P.NE}).pipe((0,o.T)(J=>(this.userDataService.userData=J,J)),(0,y.W)(J=>this.http.post(G.t.ADMIN_SESSION,j,{}).pipe((0,o.T)(bt=>(this.userDataService.userData=bt,bt)),(0,y.W)(bt=>{const Gt=(0,k.cQ)(J),te=(0,k.cQ)(bt),$=["errors.network","errors.http4xx","errors.http5xx","errors.unknown"],lt=V=>!$.includes(V.message);return(0,b.$)(()=>lt(Gt)||!lt(te)?Gt:te)}))))}checkSession(){return this.userDataService.token?this.loginWithToken().pipe((0,o.T)(()=>!0),(0,y.W)(()=>(this.userDataService.clearToken(),(0,T.of)(!1)))):(0,T.of)(!1)}loginWithToken(j){return this.http.get(G.t.USER_SESSION,{headers:{...P.NE,Authorization:j?`Bearer ${j}`:""}}).pipe((0,o.T)(J=>(this.userDataService.userData=J,J)))}oauthLogin(j,J,bt){return this.http.post(G.t.USER_SESSION,{headers:P.NE,params:{oauth_callback:!0,oauth_token:j,code:J,state:bt}}).pipe((0,o.T)(Gt=>(this.userDataService.userData=Gt,Gt)))}logout(j=[Z.b.AUTH,Z.b.LOGIN]){this.http.delete(this.userDataService.userData?.isSysAdmin?G.t.ADMIN_SESSION:G.t.USER_SESSION).subscribe(()=>{this.userDataService.clearToken(),this.userDataService.userData=null,this.router.navigate(j)})}static{this.\u0275fac=function(J){return new(J||a)(N.KVO(ot.Qq),N.KVO(q.Ix),N.KVO(K.T))}}static{this.\u0275prov=N.jDH({token:a,factory:a.\u0275fac,providedIn:"root"})}}return a})()},86506:(Ce,Lt,r)=>{r.d(Lt,{p:()=>Z});var o=r(14087),y=r(52483),b=r(68686),T=r(73475),k=r(1843),G=r(62572),P=r(89905);let Z=(()=>{class N{constructor(q,K){this.http=q,this.userDataService=K}resetPassword(q,K=!1){return this.http.post(K?b.t.ADMIN_PASSWORD:b.t.USER_PASSWORD,q,T.Jm)}updatePassword(q){let K=!1;return this.userDataService.userData$.subscribe(a=>{K=!!a?.isSysAdmin}),this.http.post(K?b.t.ADMIN_PASSWORD:b.t.USER_PASSWORD,q,{headers:T.NE,params:{login:!0,reset:!1}}).pipe((0,o.M)({next:a=>{this.userDataService.token=a.sessionToken}}))}requestPasswordReset(q,K=!1){return this.http.post(b.t.USER_PASSWORD,q,K?T.Jm:T.kt).pipe((0,y.W)(()=>this.http.post(b.t.ADMIN_PASSWORD,q,K?T.Jm:T.kt)))}static{this.\u0275fac=function(K){return new(K||N)(k.KVO(G.Qq),k.KVO(P.T))}}static{this.\u0275prov=k.jDH({token:N,factory:N.\u0275fac,providedIn:"root"})}}return N})()},81663:(Ce,Lt,r)=>{r.d(Lt,{R:()=>M});var o=r(18331),y=r(68660),b=r(54342),T=r(94093),k=r(31147),G=r(56579),P=r(1843);function Z(a,pt){if(1&a&&(P.qex(0),P.EFF(1),P.bVm()),2&a){const j=P.XpG();P.R7$(1),P.SpI(", code ",j.error.code,"")}}function N(a,pt){if(1&a&&(P.qex(0),P.j41(1,"dt"),P.EFF(2),P.nI1(3,"transloco"),P.k0s(),P.j41(4,"dd"),P.EFF(5),P.k0s(),P.bVm()),2&a){const j=P.XpG();P.R7$(2),P.JRh(P.bMT(3,3,"errors.request")),P.R7$(3),P.Lme("",j.error.method," ",j.error.url,"")}}function ot(a,pt){if(1&a&&(P.j41(0,"span"),P.EFF(1),P.k0s()),2&a){const j=P.XpG().$implicit;P.R7$(1),P.SpI("",j.field,": ")}}function q(a,pt){if(1&a&&(P.j41(0,"li"),P.DNE(1,ot,2,1,"span",2),P.EFF(2),P.nI1(3,"transloco"),P.k0s()),2&a){const j=pt.$implicit;P.R7$(1),P.Y8G("ngIf",j.field),P.R7$(1),P.SpI("",P.bMT(3,2,j.message)," ")}}function K(a,pt){if(1&a&&(P.j41(0,"ul",7),P.DNE(1,q,4,4,"li",8),P.k0s()),2&a){const j=P.XpG();P.R7$(1),P.Y8G("ngForOf",j.error.fields)}}let M=(()=>{class a{constructor(){this.expanded=!1,this.faCopy=T.jPR,this.faCheck=T.e68,this.copied=!1}get rawBody(){return(0,G.zH)(this.error)}copyForSupport(){navigator.clipboard.writeText((0,G.kJ)(this.error)).then(()=>{this.copied=!0,setTimeout(()=>this.copied=!1,2e3)})}static{this.\u0275fac=function(J){return new(J||a)}}static{this.\u0275cmp=P.VBU({type:a,selectors:[["df-error-detail"]],inputs:{error:"error",expanded:"expanded"},standalone:!0,features:[P.aNF],decls:25,vars:21,consts:[[1,"error-detail",3,"open"],[1,"error-detail-grid"],[4,"ngIf"],["class","error-detail-fields",4,"ngIf"],[1,"error-detail-raw"],["mat-stroked-button","","type","button",1,"copy-btn",3,"click"],[3,"icon"],[1,"error-detail-fields"],[4,"ngFor","ngForOf"]],template:function(J,bt){1&J&&(P.j41(0,"details",0)(1,"summary"),P.EFF(2),P.nI1(3,"transloco"),P.k0s(),P.j41(4,"dl",1)(5,"dt"),P.EFF(6),P.nI1(7,"transloco"),P.k0s(),P.j41(8,"dd"),P.EFF(9),P.k0s(),P.j41(10,"dt"),P.EFF(11),P.nI1(12,"transloco"),P.k0s(),P.j41(13,"dd"),P.EFF(14),P.DNE(15,Z,2,1,"ng-container",2),P.EFF(16,") "),P.k0s(),P.DNE(17,N,6,5,"ng-container",2),P.k0s(),P.DNE(18,K,2,1,"ul",3),P.j41(19,"pre",4),P.EFF(20),P.k0s(),P.j41(21,"button",5),P.bIt("click",function(){return bt.copyForSupport()}),P.nrm(22,"fa-icon",6),P.EFF(23),P.nI1(24,"transloco"),P.k0s()()),2&J&&(P.Y8G("open",bt.expanded),P.R7$(2),P.JRh(P.bMT(3,13,"errors.details")),P.R7$(4),P.JRh(P.bMT(7,15,"errors.timestamp")),P.R7$(3),P.JRh(bt.error.timestamp),P.R7$(2),P.JRh(P.bMT(12,17,"errors.status")),P.R7$(3),P.Lme(" ",bt.error.status," (",bt.error.kind,""),P.R7$(1),P.Y8G("ngIf",bt.error.code),P.R7$(2),P.Y8G("ngIf",bt.error.url),P.R7$(1),P.Y8G("ngIf",bt.error.fields.length),P.R7$(2),P.JRh(bt.rawBody),P.R7$(2),P.Y8G("icon",bt.copied?bt.faCheck:bt.faCopy),P.R7$(1),P.SpI(" ",P.bMT(24,19,bt.copied?"errors.copied":"errors.copyForSupport")," "))},dependencies:[o.bT,o.pM,y.Hl,y.$z,b.dX,b.aY,k.Kj],styles:[".error-detail[_ngcontent-%COMP%]{font-size:1.3rem;color:var(--df-text-2)}.error-detail[_ngcontent-%COMP%] summary[_ngcontent-%COMP%]{cursor:pointer;-webkit-user-select:none;user-select:none;font-size:11px;font-weight:600;text-transform:uppercase;letter-spacing:.06em;color:var(--df-text-muted)}.error-detail[_ngcontent-%COMP%] summary[_ngcontent-%COMP%]:hover{color:var(--df-text)}.error-detail[_ngcontent-%COMP%] .error-detail-grid[_ngcontent-%COMP%]{display:grid;grid-template-columns:max-content 1fr;gap:4px 12px;margin:8px 0}.error-detail[_ngcontent-%COMP%] .error-detail-grid[_ngcontent-%COMP%] dt[_ngcontent-%COMP%]{color:var(--df-text-muted)}.error-detail[_ngcontent-%COMP%] .error-detail-grid[_ngcontent-%COMP%] dd[_ngcontent-%COMP%]{margin:0;color:var(--df-text);word-break:break-all}.error-detail[_ngcontent-%COMP%] .error-detail-fields[_ngcontent-%COMP%]{margin:8px 0;padding-left:20px;color:var(--df-text)}.error-detail[_ngcontent-%COMP%] .error-detail-raw[_ngcontent-%COMP%]{max-height:200px;overflow:auto;margin:8px 0;padding:8px 12px;border:1px solid var(--df-border);border-radius:var(--df-radius-sm);background-color:var(--df-code-bg);color:var(--df-code-text);font-size:1.2rem;font-family:SFMono-Regular,Menlo,Consolas,monospace;white-space:pre-wrap;word-break:break-all}.error-detail[_ngcontent-%COMP%] .copy-btn[_ngcontent-%COMP%] fa-icon[_ngcontent-%COMP%]{margin-right:6px}"]})}}return a})()},73475:(Ce,Lt,r)=>{r.d(Lt,{Jm:()=>k,NE:()=>T,Zl:()=>o,dE:()=>y,kt:()=>G,wV:()=>b});const o="X-DreamFactory-Session-Token",y="X-DreamFactory-API-Key",b="X-DreamFactory-License-Key",T={"show-loading":""},k={headers:T,params:{login:!1}},G={headers:T,params:{reset:!0}}},54749:(Ce,Lt,r)=>{r.d(Lt,{H:()=>y});var o=r(16994);const y={[o.b.API_BUILDER]:["API Builder"],[o.b.DATABASE]:["Database","Big Data"],[o.b.SCRIPTING]:["Script"],[o.b.NETWORK]:["Remote Service"],[o.b.FILE]:["File","Excel"],[o.b.UTILITY]:["Cache","Email","Notification","Log","Source Control","IoT"],[o.b.AUTHENTICATION]:["LDAP","SSO","OAuth"],[o.b.LOGS]:["Log"],[o.b.AI]:["MCP","AI","AI Chat"],[o.b.AI_CONNECTIONS]:["AI"],[o.b.AI_CHAT_SERVICES]:["AI Chat"],[o.b.AI_MCP]:["MCP"]}},17612:(Ce,Lt,r)=>{r.d(Lt,{F8:()=>o,Ky:()=>y,oA:()=>b});const o=[{name:"ai_connection",label:"AI Connection",description:"Connect to AI/LLM providers (Anthropic, OpenAI, xAI, Ollama, custom OpenAI-compatible endpoints).",group:"AI",configSchema:[]},{name:"ai_chat",label:"AI Chat",description:"Chat with your DreamFactory data using AI and MCP tools.",group:"AI Chat",configSchema:[]},{name:"agents",label:"Agents",description:"AI agent identity and governed access.",group:"Agents",configSchema:[]},{name:"adldap",label:"Active Directory",description:"A service for supporting Active Directory integration",group:"LDAP",configSchema:[]},{name:"ldap",label:"Standard LDAP",description:"A service for supporting Open LDAP integration",group:"LDAP",configSchema:[]},{name:"oidc",label:"OpenID Connect",description:"OpenID Connect service supporting SSO.",group:"OAuth",configSchema:[]},{name:"oauth_azure_ad",label:"Azure Active Directory OAuth",description:"OAuth service for supporting Azure Active Directory authentication and API access.",group:"OAuth",configSchema:[]},{name:"saml",label:"SAML 2.0",description:"SAML 2.0 service supporting SSO.",group:"SSO",configSchema:[]},{name:"okta_saml",label:"Okta SAML",description:"Okta service supporting SSO.",group:"SSO",configSchema:[]},{name:"auth0_sso",label:"Auth0 SSO",description:"Auth0 service supporting SSO.",group:"SSO",configSchema:[]},{name:"ibmdb2",label:"IBM DB2",description:"Database service supporting IBM DB2 SQL connections.",group:"Database",configSchema:[]},{name:"informix",label:"IBM Informix",description:"Database service supporting IBM Informix SQL connections.",group:"Database",configSchema:[]},{name:"oracle",label:"Oracle",description:"Database service supporting SQL connections.",group:"Database",configSchema:[]},{name:"salesforce_db",label:"Salesforce",description:"Database service with SOAP and/or OAuth authentication support for Salesforce connections.",group:"Database",configSchema:[]},{name:"soap",label:"SOAP Service",description:"SOAP service supporting SOAP 1.1 and 1.2 protocols.",group:"Remote Service",configSchema:[]},{name:"excel",label:"Excel Service",description:"Service to manage XLS, XLSX, CSV files with storage service integration.",group:"Excel",configSchema:[]},{name:"sqlanywhere",label:"SAP SQL Anywhere",description:"Database service supporting SAP SQL Anywhere connections.",group:"Database",configSchema:[]},{name:"sqlsrv",label:"SQL Server",description:"Database service supporting SQL Server connections.",group:"Database",configSchema:[]},{name:"memsql",label:"MemSQL",description:"Database service supporting MemSQL connections.",group:"Database",configSchema:[]},{name:"apns",label:"Apple Push Notification",description:"Apple Push Notification Service Provider.",group:"Notification",configSchema:[]},{name:"gcm",label:"GCM Push Notification",description:"GCM Push Notification Service Provider.",group:"Notification",configSchema:[]},{name:"mysql",label:"MySQL",description:"Database service supporting MySLQ connections.",group:"Database",configSchema:[]},{name:"mariadb",label:"MariaDB",description:"Database service supporting MariaDB connections.",group:"Database",configSchema:[]},{name:"nodejs",label:"Node.js",description:"Service that allows client-callable scripts utilizing the system scripting.",group:"Script",configSchema:[]},{name:"php",label:"PHP",description:"Service that allows client-callable scripts utilizing the system scripting.",group:"Script",configSchema:[]},{name:"python3",label:"Python3",description:"Service that allows client-callable scripts utilizing the system scripting.",group:"Script",configSchema:[]},{name:"mongodb",label:"MongoDB",description:"Database service for MongoDB connections.",group:"Database",configSchema:[]},{name:"gridfs",label:"GridFS",description:"GridFS File Storage services.",group:"File",configSchema:[]}],y=[{name:"logstash",label:"Logstash",description:"Logstash service.",group:"Log",configSchema:[]},{name:"snowflake",label:"Snowflake",description:"Database service supporting Snowflake connections.",group:"Database",configSchema:[]},{name:"apache_hive",label:"Apache Hive",description:"The Apache Hive data warehouse software facilitates reading, writing, and managing large datasets residing in distributed storage using SQL",group:"Big Data",configSchema:[]},{name:"databricks",label:"Databricks",description:"The Databricks data intelligence platform simplifies data engineering, analytics, and AI workloads by providing scalable compute and SQL-based access to large datasets in a unified environment.",group:"Big Data",configSchema:[]},{name:"dremio",label:"Dremio",description:"The Dremio data lakehouse platform enables fast querying, data exploration, and analytics on large datasets across various storage systems using SQL.",group:"Big Data",configSchema:[]},{name:"hadoop_hdfs",label:"Hadoop HDFS",description:"Hadoop Distributed File System",group:"File",configSchema:[]},{name:"hana",label:"SAP HANA",description:"SAP HANA service.",group:"Big Data",configSchema:[]}],b='(name in ("system","files","logs","db","email","user")) and (created_by_id is null)'},75066:(Ce,Lt,r)=>{r.d(Lt,{F8:()=>V,Hd:()=>q,J4:()=>P,Jc:()=>M,K:()=>pt,LR:()=>$t,Lm:()=>J,NO:()=>$,O5:()=>te,Wi:()=>G,Yh:()=>N,Z$:()=>Gt,Z1:()=>a,gu:()=>j,h1:()=>bt,ir:()=>Z,j8:()=>lt,mr:()=>mt,qJ:()=>rt,u7:()=>ot,zs:()=>K});var o=r(1843),y=r(69099),b=r(68686),T=r(62572);const k=de=>({providedIn:"root",factory:()=>new y.h(de,(0,o.WQX)(T.Qq))}),G=new o.nKC("URL_TOKEN"),P=new o.nKC("GITHUB_REPO_SERVICE_TOKEN",k(b.t.GITHUB_REPO)),Z=new o.nKC("ADMIN_SERVICE_TOKEN",k(b.t.SYSTEM_ADMIN)),N=new o.nKC("USER_SERVICE_TOKEN",k(b.t.SYSTEM_USER)),ot=new o.nKC("APP_SERVICE_TOKEN",k(b.t.APP)),q=new o.nKC("API_DOCS_SERVICE_TOKEN",k(b.t.API_DOCS)),K=new o.nKC("SERVICE_TYPE_SERVICE_TOKEN",k(b.t.SERVICE_TYPE)),M=new o.nKC("REPORT_SERVICE_TOKEN",k(b.t.SERVICE_REPORT)),a=new o.nKC("SERVICES_SERVICE_TOKEN",k(b.t.SYSTEM_SERVICE)),pt=new o.nKC("SCHEDULER_SERVICE_TOKEN",k(b.t.SCHEDULER)),j=new o.nKC("LIMIT_SERVICE_TOKEN",k(b.t.LIMITS)),J=new o.nKC("LIMIT_CACHE_SERVICE_TOKEN",k(b.t.LIMIT_CACHE)),bt=new o.nKC("ROLE_SERVICE_TOKEN",k(b.t.ROLES)),Gt=new o.nKC("CONFIG_CORS_SERVICE_TOKEN",k(b.t.SYSTEM_CORS)),te=new o.nKC("EVENTS_SERVICE_TOKEN",k(b.t.SYSTEM_EVENT)),$=new o.nKC("EVENT_SCRIPT_SERVICE_TOKEN",k(b.t.EVENT_SCRIPT)),lt=new o.nKC("CACHE_SERVICE_TOKEN",k(b.t.SYSTEM_CACHE)),V=new o.nKC("EMAIL_TEMPLATES_SERVICE_TOKEN",k(b.t.EMAIL_TEMPLATES)),mt=new o.nKC("LOOKUP_KEYS_SERVICE_TOKEN",k(b.t.LOOKUP_KEYS)),rt=new o.nKC("BASE_SERVICE_TOKEN",k(b.C)),$t=new o.nKC("FILE_SERVICE_TOKEN",k(b.t.FILES))},68686:(Ce,Lt,r)=>{r.d(Lt,{C:()=>o,t:()=>y});const o="/api/v2";var y=function(b){return b.GITHUB_REPO="https://api.github.com/repos",b.SUBSCRIPTION_DATA="https://updates.dreamfactory.com/check",b.CALENDLY="https://assets.calendly.com/assets/external/widget.js",b.SYSTEM="/api/v2/system",b.ENVIRONMENT="/api/v2/system/environment",b.USER_SESSION="/api/v2/user/session",b.ADMIN_SESSION="/api/v2/system/admin/session",b.USER_PASSWORD="/api/v2/user/password",b.ADMIN_PASSWORD="/api/v2/system/admin/password",b.REGISTER="/api/v2/user/register",b.APP="/api/v2/system/app",b.API_DOCS="/api/v2/api_docs",b.ADMIN_PROFILE="/api/v2/system/admin/profile",b.USER_PROFILE="/api/v2/user/profile",b.SYSTEM_ADMIN="/api/v2/system/admin",b.ROLES="/api/v2/system/role",b.LIMITS="/api/v2/system/limit",b.LIMIT_CACHE="/api/v2/system/limit_cache",b.SYSTEM_SERVICE="/api/v2/system/service",b.SERVICE_TYPE="/api/v2/system/service_type",b.SYSTEM_USER="/api/v2/system/user",b.SERVICE_REPORT="/api/v2/system/service_report",b.SYSTEM_CORS="/api/v2/system/cors",b.SYSTEM_EVENT="/api/v2/system/event",b.EVENT_SCRIPT="/api/v2/system/event_script",b.SCRIPT_TYPE="/api/v2/system/script_type",b.SCHEDULER="/api/v2/system/scheduler",b.SYSTEM_CACHE="/api/v2/system/cache",b.CONFIG_PACKAGE="/api/v2/system/config_package",b.EMAIL_TEMPLATES="/api/v2/system/email_template",b.LOOKUP_KEYS="/api/v2/system/lookup",b.FILES="/api/v2/files",b.LOGS="/api/v2/logs",b.SCHEMA_CONTRACT="/api/v2/system/schema_contract",b.ACCESS_USAGE="/api/v2/system/access_usage",b}(y||{})},69099:(Ce,Lt,r)=>{r.d(Lt,{h:()=>Z});var o=r(62572),y=r(31933),b=r(57588),T=r(12324),k=r(75066),G=r(48444),P=r(1843);let Z=(()=>{class N{constructor(q,K){this.url=q,this.http=K}getAll(q){return this.http.get(this.url,this.getOptions({limit:0,offset:0,includeCount:!0,...q}))}get(q,K){return this.http.get(`${this.url}/${q}`,this.getOptions({...K}))}getFileContent(q,K,M){let a=new o.Lr;return K&&M&&(a=a.set("Authorization","Basic "+btoa(`${K}:${M}`))),this.http.get(`${this.url}/${q}`,{headers:a})}getEventScripts(){return this.http.get("/api/v2/system/event_script",this.getOptions({limit:0,offset:0,includeCount:!0}))}getReleases(){return this.http.get("https://api.github.com/repos/dreamfactorysoftware/df-admin-interface/releases")}create(q,K,M){return this.http.post(`${this.url}${M?`/${M}`:""}`,q,this.getOptions({...K}))}update(q,K,M){return this.http.put(`${this.url}/${q}`,K,this.getOptions({...M}))}legacyDelete(q,K){const{headers:M,params:a,context:pt}=this.getOptions({...K});return this.http.post(`${this.url}/${q}`,null,{headers:{...M,"X-Http-Method":"DELETE"},params:a,context:pt})}delete(q,K){const M=Array.isArray(q)?`${this.url}?ids=${q.join(",")}`:q?`${this.url}/${q}`:`${this.url}`;return this.http.delete(M,this.getOptions({...K}))}patch(q,K,M){return this.http.patch(`${this.url}/${q}`,K,this.getOptions({...M}))}importList(q,K){return(0,y.Sj)(q).pipe((0,b.n)(M=>this.http.post(this.url,M,this.getOptions({contentType:q.type,...K}))))}uploadFile(q,K,M){const a=new FormData;return Object.keys(K).forEach((pt,j)=>a.append("files",K[j])),this.http.post(`${this.url}/${q}`,a,this.getOptions({...M}))}downloadJson(q,K){return this.http.get(`${this.url}${q?`/${q}`:""}`,{...this.getOptions({...K})}).pipe((0,T.T)(a=>JSON.stringify(a)))}downloadFile(q,K){return this.http.get(`${this.url}${q?`/${q}`:""}`,{responseType:"blob",...this.getOptions({...K})})}getOptions(q){const K={},M={};let a=new o._y;return!1!==q.includeCacheControl&&(K["Cache-Control"]="no-cache, private"),!1!==q.showSpinner&&(K["show-loading"]=""),q.snackbarSuccess&&(a=a.set(G.Cc,q.snackbarSuccess)),q.errorHandling&&(a=a.set(G.Fb,q.errorHandling)),q.contentType&&(K["Content-type"]=q.contentType),q.additionalHeaders&&q.additionalHeaders.forEach(pt=>{K[pt.key]=pt.value}),q.filter&&(M.filter=q.filter),q.sort&&(M.sort=q.sort),q.fields&&(M.fields=q.fields),q.related&&(M.related=q.related),void 0!==q.limit&&(M.limit=q.limit),void 0!==q.offset&&(M.offset=q.offset),void 0!==q.includeCount&&(M.include_count=q.includeCount),q.refresh&&(M.refresh=q.refresh),q.additionalParams&&q.additionalParams.forEach(pt=>{M[pt.key]=pt.value}),{headers:K,params:M,context:a}}static{this.\u0275fac=function(K){return new(K||N)(P.KVO(k.Wi),P.KVO(o.Qq))}}static{this.\u0275prov=P.jDH({token:N,factory:N.\u0275fac})}}return N})()},8818:(Ce,Lt,r)=>{r.d(Lt,{R:()=>T});var o=r(89369),y=r(12324),b=r(1843);let T=(()=>{class k{constructor(P){this.breakpointObserver=P}get isSmallScreen(){return this.breakpointObserver.observe([o.Rp.XSmall,o.Rp.Small]).pipe((0,y.T)(P=>P.matches))}get isXSmallScreen(){return this.breakpointObserver.observe([o.Rp.XSmall]).pipe((0,y.T)(P=>P.matches))}static{this.\u0275fac=function(Z){return new(Z||k)(b.KVO(o.QP))}}static{this.\u0275prov=b.jDH({token:k,factory:k.\u0275fac,providedIn:"root"})}}return k})()},51317:(Ce,Lt,r)=>{r.d(Lt,{S:()=>k});var o=r(11863),y=r(85390),b=r(98474),T=r(1843);let k=(()=>{class G{constructor(Z){this.errorSubject=new y.t(null),this.error$=this.errorSubject.asObservable(),this.hasErrorSubject=new y.t(!1),this.hasError$=this.hasErrorSubject.asObservable(),Z.events.pipe((0,b.p)(N=>N instanceof o.Z)).subscribe(()=>{const N=Z.getCurrentNavigation()?.extras?.state;N&&N.appError||this.errorSubject.value&&(this.error=null)})}get error(){return this.errorSubject.value}set error(Z){this.errorSubject.next(Z),this.hasError=!!Z}set hasError(Z){this.hasErrorSubject.next(Z)}static{this.\u0275fac=function(N){return new(N||G)(T.KVO(o.Ix))}}static{this.\u0275prov=T.jDH({token:G,factory:G.\u0275fac,providedIn:"root"})}}return G})()},65329:(Ce,Lt,r)=>{r.d(Lt,{H:()=>M});var o=r(68686),y=r(73475),b=r(85390),T=r(12324),k=r(14087),G=r(52483),P=r(80972),Z=r(20271),N=r(56579),ot=r(48444),q=r(1843),K=r(62572);let M=(()=>{class a{get currentLicenseCheck(){return this.licenseCheckSubject.value}constructor(j){this.httpClient=j,this.licenseCheckSubject=new b.t(null),this.licenseCheck$=this.licenseCheckSubject.asObservable()}check(j){return this.httpClient.get(o.t.SUBSCRIPTION_DATA,{headers:{[y.wV]:j},context:(0,ot.Ku)()}).pipe((0,T.T)(J=>(0,Z.qC)(J)),(0,k.M)(J=>this.licenseCheckSubject.next(J)),(0,G.W)(J=>{const bt=(0,Z.qC)(J.error);return this.licenseCheckSubject.next(bt),(0,P.$)(()=>(0,N.cQ)(J))}))}static{this.\u0275fac=function(J){return new(J||a)(q.KVO(K.Qq))}}static{this.\u0275prov=q.jDH({token:a,factory:a.\u0275fac,providedIn:"root"})}}return a})()},35877:(Ce,Lt,r)=>{r.d(Lt,{o:()=>ot});var o=r(57588),y=r(52483),b=r(73151),T=r(12324),k=r(56579),G=r(1843),P=r(16396),Z=r(51317),N=r(62572);let ot=(()=>{class q{isFeatureLocked(M,a){return"GOLD"!=a&&("SILVER"==a?this.silverLockedFeatures.some(pt=>M.includes(pt)):this.openSourceLockedFeatures.some(pt=>M.includes(pt)))}constructor(M,a,pt){this.systemConfigDataService=M,this.errorService=a,this.http=pt,this.openSourceLockedFeatures=["event-scripts","rate-limiting","scheduler","reporting"],this.silverLockedFeatures=["rate-limiting","scheduler","reporting"]}activatePaywall(M){if(M){const a=Array.isArray(M)?M:[M];return this.systemConfigDataService.system$.pipe((0,o.n)(pt=>0===pt.resource.length?this.systemConfigDataService.fetchSystemData().pipe((0,y.W)(j=>(this.errorService.error=(0,k.cQ)(j),(0,b.of)(null)))):(0,b.of)(pt)),(0,T.T)(pt=>!!pt&&!pt.resource.some(j=>a.includes(j.name))))}return(0,b.of)(!1)}trackPaywallHit(M="Unknown. Unable to fetch email",a="Unknown. Unable to fetch IP address",pt="Service name is not specified"){this.http.post("https://updates.dreamfactory.com/api/paywall",{email:M,ip_address:a,service_name:pt}).subscribe({next:()=>{},error:j=>{console.error("Paywall tracking failed:",j)}})}static{this.\u0275fac=function(a){return new(a||q)(G.KVO(P.f),G.KVO(Z.S),G.KVO(N.Qq))}}static{this.\u0275prov=G.jDH({token:q,factory:q.\u0275fac,providedIn:"root"})}}return q})()},10056:(Ce,Lt,r)=>{r.d(Lt,{L:()=>pt});var o=r(68660),y=r(39258),b=r(54342),T=r(94093),k=r(31147),G=r(18331),P=r(62633),Z=r(81663),N=r(1843);let ot=(()=>{class j{constructor(bt){this.data=bt}static{this.\u0275fac=function(Gt){return new(Gt||j)(N.rXU(P.Vh))}}static{this.\u0275cmp=N.VBU({type:j,selectors:[["df-error-detail-dialog"]],standalone:!0,features:[N.aNF],decls:9,vars:8,consts:[["mat-dialog-title",""],[3,"error","expanded"],["align","end"],["mat-button","","mat-dialog-close","","type","button",1,"cancel-btn"]],template:function(Gt,te){1&Gt&&(N.j41(0,"h2",0),N.EFF(1),N.nI1(2,"transloco"),N.k0s(),N.j41(3,"mat-dialog-content"),N.nrm(4,"df-error-detail",1),N.k0s(),N.j41(5,"mat-dialog-actions",2)(6,"button",3),N.EFF(7),N.nI1(8,"transloco"),N.k0s()()),2&Gt&&(N.R7$(1),N.JRh(N.bMT(2,4,te.data.error.message)),N.R7$(3),N.Y8G("error",te.data.error)("expanded",!0),N.R7$(3),N.SpI(" ",N.bMT(8,6,"close")," "))},dependencies:[P.hM,P.tx,P.BI,P.Yi,P.E7,o.Hl,o.$z,k.Kj,Z.R],styles:["[_nghost-%COMP%]{display:block;background:var(--df-surface);color:var(--df-text);--mdc-dialog-subhead-color: var(--df-text);--mdc-dialog-supporting-text-color: var(--df-text-2)}mat-dialog-actions[_ngcontent-%COMP%], [mat-dialog-actions][_ngcontent-%COMP%]{border-top:1px solid var(--df-border-2)}"]})}}return j})();function q(j,J){if(1&j){const bt=N.RV6();N.j41(0,"button",6),N.bIt("click",function(){N.eBV(bt);const te=N.XpG();return N.Njj(te.openDetails())}),N.EFF(1),N.nI1(2,"transloco"),N.k0s()}2&j&&(N.R7$(1),N.SpI(" ",N.bMT(2,1,"errors.details")," "))}let K=(()=>{class j{constructor(bt,Gt,te){this.snackBarRef=bt,this.dialog=Gt,this.data=te,this.faXmark=T.Jyw,this.alertType="success",this.error=null,this.message=te.message,this.alertType=te.alertType,this.error=te.error??null}openDetails(){this.dialog.open(ot,{data:{error:this.error},maxWidth:"640px"}),this.snackBarRef.dismiss()}get icon(){switch(this.alertType){case"success":return T.SGM;case"error":return T.rfe;case"warning":return T.tUE;default:return T.iW_}}onAction(){this.snackBarRef.dismissWithAction()}static{this.\u0275fac=function(Gt){return new(Gt||j)(N.rXU(y.TQ),N.rXU(P.bZ),N.rXU(y.ht))}}static{this.\u0275cmp=N.VBU({type:j,selectors:[["df-snackbar"]],standalone:!0,features:[N.aNF],decls:8,vars:8,consts:[[1,"alert-container"],["aria-hidden","true",1,"alert-icon",3,"icon"],["role","alert",1,"alert-message"],["mat-button","","type","button",3,"click",4,"ngIf"],["mat-icon-button","",3,"click"],[3,"icon"],["mat-button","","type","button",3,"click"]],template:function(Gt,te){1&Gt&&(N.j41(0,"div",0),N.nrm(1,"fa-icon",1),N.j41(2,"span",2),N.EFF(3),N.nI1(4,"transloco"),N.k0s(),N.DNE(5,q,3,3,"button",3),N.j41(6,"button",4),N.bIt("click",function(){return te.onAction()}),N.nrm(7,"fa-icon",5),N.k0s()()),2&Gt&&(N.HbH(te.alertType),N.R7$(1),N.Y8G("icon",te.icon),N.R7$(2),N.JRh(N.bMT(4,6,te.message)),N.R7$(2),N.Y8G("ngIf",te.error),N.R7$(2),N.Y8G("icon",te.faXmark))},dependencies:[o.Hl,o.$z,o.iY,b.dX,b.aY,k.Kj,G.bT,P.hM],styles:[".alert-container[_ngcontent-%COMP%]{display:flex;flex-direction:row;align-items:center;gap:var(--df-space-2);padding:var(--df-space-2) var(--df-space-3);background-color:var(--df-surface);color:var(--df-text);border:1px solid var(--df-border);border-radius:var(--df-radius);box-shadow:var(--df-shadow-overlay, none);font-size:var(--df-font-size-sm, 1.3rem);animation:_ngcontent-%COMP%_df-toast-in var(--df-duration-fast, .12s) var(--df-ease-standard, ease)}.alert-container[_ngcontent-%COMP%] .alert-message[_ngcontent-%COMP%]{flex:1;padding:var(--df-space-1) 0}.alert-container[_ngcontent-%COMP%] .alert-icon[_ngcontent-%COMP%]{padding:0 var(--df-space-1)}.alert-container.success[_ngcontent-%COMP%]{border-color:var(--df-success-border)}.alert-container.success[_ngcontent-%COMP%] .alert-icon[_ngcontent-%COMP%]{color:var(--df-success)}.alert-container.error[_ngcontent-%COMP%]{border-color:var(--df-danger-border)}.alert-container.error[_ngcontent-%COMP%] .alert-icon[_ngcontent-%COMP%]{color:var(--df-danger)}.alert-container.warning[_ngcontent-%COMP%]{border-color:var(--df-warning-border, var(--df-warning, var(--df-danger-border)))}.alert-container.warning[_ngcontent-%COMP%] .alert-icon[_ngcontent-%COMP%]{color:var(--df-warning, var(--df-danger))}.alert-container.info[_ngcontent-%COMP%] .alert-icon[_ngcontent-%COMP%]{color:var(--df-accent)}@keyframes _ngcontent-%COMP%_df-toast-in{0%{opacity:0;transform:scale(.98)}to{opacity:1;transform:scale(1)}}@media (prefers-reduced-motion: reduce){.alert-container[_ngcontent-%COMP%]{animation:none}}"]})}}return j})();var M=r(85390);let pt=(()=>{class j{constructor(bt){this.snackBar=bt,this.snackbarLastEle$=new M.t(""),this.isEditPage$=new M.t(!1),this.pageLabel$=new M.t(null),this.lastErrorToast=null}setPageLabel(bt,Gt){this.pageLabel$.next({url:bt,label:Gt})}openError(bt){const Gt=`${bt.status}|${bt.url??""}|${bt.message}`,te=Date.now();this.lastErrorToast&&this.lastErrorToast.key===Gt&&te-this.lastErrorToast.at<3e3||(this.lastErrorToast={key:Gt,at:te},this.snackBar.openFromComponent(K,{duration:8e3,horizontalPosition:"left",verticalPosition:"bottom",data:{message:bt.message,alertType:"error",error:bt}}))}setSnackbarLastEle(bt,Gt){this.snackbarLastEle$.next(bt),this.isEditPage$.next(Gt)}openSnackBar(bt,Gt){this.snackBar.openFromComponent(K,{duration:5e3,horizontalPosition:"left",verticalPosition:"bottom",data:{message:bt,alertType:Gt}})}static{this.\u0275fac=function(Gt){return new(Gt||j)(N.KVO(y.UG))}}static{this.\u0275prov=N.jDH({token:j,factory:j.\u0275fac,providedIn:"root"})}}return j})()},16396:(Ce,Lt,r)=>{r.d(Lt,{f:()=>a});var o=r(85390),y=r(14087),b=r(62220),T=r(80972),k=r(73151),G=r(52483),P=r(68686),Z=r(73475),N=r(56579),ot=r(48444),q=r(2983),K=r(1843),M=r(62572);let a=(()=>{class pt{constructor(J){this.http=J,this.environmentSubject=new o.t({authentication:{allowOpenRegistration:!1,openRegEmailServiceId:0,allowForeverSessions:!1,loginAttribute:"email",adldap:[],oauth:[],saml:[]},server:{host:"",machine:"",release:"",serverOs:"",version:""}}),this.environment$=this.environmentSubject.asObservable(),this.systemSubject=new o.t({resource:[]}),this.system$=this.systemSubject.asObservable()}get environment(){return this.environmentSubject.value}set environment(J){this.environmentSubject.next(J)}get system(){return this.systemSubject.value}set system(J){this.systemSubject.next(J)}fetchEnvironmentData(){return this.http.get(P.t.ENVIRONMENT,{headers:Z.NE}).pipe((0,y.M)(J=>this.environment=J),(0,b.L)({count:1,delay:J=>(0,q.IM)(J)?(0,T.$)(()=>J):(0,k.of)(0)}),(0,G.W)(J=>(0,T.$)(()=>(0,N.cQ)(J))))}fetchSystemData(){return this.http.get(P.t.SYSTEM,{headers:Z.NE,context:(0,ot.Ku)()}).pipe((0,y.M)(J=>{this.system=J}))}static{this.\u0275fac=function(bt){return new(bt||pt)(K.KVO(M.Qq))}}static{this.\u0275prov=K.jDH({token:pt,factory:pt.\u0275fac,providedIn:"root"})}}return pt})()},19206:(Ce,Lt,r)=>{r.d(Lt,{n:()=>b});var o=r(85390),y=r(1843);let b=(()=>{class T{constructor(){this.darkMode$=new o.t(!1),this.phosphor$=new o.t(!1),this.currentTableRowNum$=new o.t(10),this.loadInitialTheme()}setThemeMode(G){this.darkMode$.next(G),localStorage.setItem("isDarkMode",JSON.stringify(G)),this.applyBodyClass()}setPhosphorMode(G){this.phosphor$.next(G),localStorage.setItem("isPhosphor",JSON.stringify(G)),this.applyBodyClass()}setCurrentTableRowNum(G){this.currentTableRowNum$.next(G)}loadInitialTheme(){const G=localStorage.getItem("isDarkMode");G&&this.darkMode$.next(JSON.parse(G));const P=localStorage.getItem("isPhosphor");P&&this.phosphor$.next(JSON.parse(P)),this.applyBodyClass()}applyBodyClass(){const G=this.phosphor$.value;document.body.classList.toggle("phosphor-theme",G),document.body.classList.toggle("dark-theme",this.darkMode$.value||G)}static{this.\u0275fac=function(P){return new(P||T)}}static{this.\u0275prov=y.jDH({token:T,factory:T.\u0275fac,providedIn:"root"})}}return T})()},35083:(Ce,Lt,r)=>{r.d(Lt,{K:()=>K});var o=r(85390),y=r(12324),b=r(11224),T=r(29810),k=r(57588),G=r(73151),P=r(82182),Z=r(71398),N=r(2983),ot=r(1843),q=r(16396);let K=(()=>{class M{constructor(pt){this.systemConfigService=pt,this.lockSubject=new o.t(null),this.lock$=this.lockSubject.asObservable(),this.expired$=this.lock$.pipe((0,y.T)(j=>null!==j),(0,b.F)()),this.trial$=this.systemConfigService.environment$.pipe((0,y.T)(j=>(0,N.G0)(j)),(0,b.F)((j,J)=>j?.status===J?.status&&j?.trialId===J?.trialId&&j?.expiresAt===J?.expiresAt&&j?.secondsRemaining===J?.secondsRemaining),(0,T.t)({bufferSize:1,refCount:!0})),this.remaining$=this.trial$.pipe((0,k.n)(j=>{if(!j?.expiresAt)return(0,G.of)(null);const J=Date.parse(j.expiresAt);if(!Number.isFinite(J))return(0,G.of)(null);const bt=J-1e3*j.secondsRemaining,Gt=Number.isFinite(bt)?bt-this.now():0,te=j.warnDays??Z.Gq,$=j.criticalDays??Z.r4;return(0,P.O)(0,1e3).pipe((0,y.T)(()=>{const lt=Math.floor((J-(this.now()+Gt))/1e3);return(0,N.Vj)(lt,te,$)}))}),(0,T.t)({bufferSize:1,refCount:!0})),this.trial$.subscribe(j=>{const J=(0,N.s8)(j);J?this.markLocked(J.reason,J.context):"active"===j?.status&&this.isLocked&&this.clearLock()})}get trial(){return(0,N.G0)(this.systemConfigService.environment)}get lock(){return this.lockSubject.value}get isLocked(){return null!==this.lockSubject.value}markLocked(pt,j={}){const J=this.lockSubject.value,bt=this.trial,Gt={...J?.reason===pt?J.context:{},...j,reason:pt,contact_email:j.contact_email??J?.context.contact_email??bt?.contactEmail??Z.nC,demo_url:j.demo_url??J?.context.demo_url??bt?.demoUrl??Z.ds,portal_url:j.portal_url??J?.context.portal_url??bt?.portalUrl??Z.C2};void 0===Gt.expired_at&&"TRIAL_EXPIRED"===pt&&(Gt.expired_at=bt?.expiresAt??null),void 0===Gt.trial_id&&(Gt.trial_id=bt?.trialId??null),this.lockSubject.next({reason:pt,context:Gt})}clearLock(){null!==this.lockSubject.value&&this.lockSubject.next(null)}daysRemaining(pt){return(0,N.a4)(pt)}hoursRemaining(pt){return(0,N.IY)(pt)}severity(pt,j=this.trial){return(0,N.kd)(pt,j?.warnDays??Z.Gq,j?.criticalDays??Z.r4)}now(){return Date.now()}static{this.\u0275fac=function(j){return new(j||M)(ot.KVO(q.f))}}static{this.\u0275prov=ot.jDH({token:M,factory:M.\u0275fac,providedIn:"root"})}}return M})()},89905:(Ce,Lt,r)=>{r.d(Lt,{T:()=>N});var o=r(85390),y=r(57588),b=r(12324),T=r(73151),k=r(75066),G=r(73475),P=r(1843);r(69099);let N=(()=>{class ot{constructor(K){this.roleService=K,this.isLoggedInSubject=new o.t(!1),this.isLoggedIn$=this.isLoggedInSubject.asObservable(),this.userDataSubject=new o.t(null),this.userData$=this.userDataSubject.asObservable(),this.restrictedAccessSubject=new o.t([]),this.restrictedAccess$=this.restrictedAccessSubject.asObservable(),this.TOKEN_KEY="session_token",this.userData$.pipe((0,y.n)(M=>M&&M.isSysAdmin&&!M.isRootAdmin&&M.roleId?this.roleService.get(M.roleId,{related:"role_service_access_by_role_id",additionalParams:[{key:"accessible_tabs",value:!0}],additionalHeaders:[{key:G.Zl,value:M.sessionToken}]}).pipe((0,b.T)(a=>a.accessibleTabs??[])):(0,T.of)([]))).subscribe(M=>this.restrictedAccessSubject.next(M))}clearToken(){document.cookie=`${this.TOKEN_KEY}=; expires=Thu, 01 Jan 1970 00:00:00 UTC; path=/`,this.isLoggedIn=!1}get userData(){return this.userDataSubject.value}set userData(K){this.userDataSubject.next(K),K&&(this.token=K.sessionToken,this.isLoggedIn=!0)}get isLoggedIn(){return this.isLoggedInSubject.value}set isLoggedIn(K){this.isLoggedInSubject.next(K),K||(this.userData=null)}get token(){const K=`${this.TOKEN_KEY}=`,a=decodeURIComponent(document.cookie).split(";");for(let pt=0;pt{r.d(Lt,{l:()=>G});var o=r(18724),y=r(1843),b=r(89905),T=r(16396),k=r(63338);let G=(()=>{class P{constructor(N,ot,q){this.dfUserDataService=N,this.dfSystemConfigDataService=ot,this.dfIntercomConfigService=q,this.intercomLoaded=!1}initializeIntercom(){var N=this;return(0,o.A)(function*(){const ot=N.dfIntercomConfigService.currentConfig;if((ot.intercomWidget??1)&&!N.intercomLoaded)try{const M=(yield r.e(583).then(r.t.bind(r,90583,23))).default,a=N.dfUserDataService.userData,pt=N.dfSystemConfigDataService.environment;a?(M({app_id:ot.intercomAppId||"ymvqkyiw",user_id:a.id?.toString()||a.sessionId,name:a.name||`${a.firstName||""} ${a.lastName||""}`.trim(),email:a.email,created_at:a.lastLoginDate?Math.floor(new Date(a.lastLoginDate).getTime()/1e3):void 0,is_sys_admin:a.isSysAdmin,is_root_admin:a.isRootAdmin,role_id:a.roleId,instance_url:window.location.origin,license_key:pt.platform?.licenseKey||"N/A",DreamFactoryTier:pt.platform?.license||"N/A","DreamFactory version":pt.platform?.version||"N/A",plan:pt.platform?.license||"N/A",is_hosted:pt.platform?.isHosted||!1,is_trial:pt.platform?.isTrial||!1}),N.intercomLoaded=!0):(M({app_id:ot.intercomAppId||"ymvqkyiw"}),N.intercomLoaded=!0)}catch(K){console.error("Failed to initialize Intercom:",K)}})()}hideIntercom(){window.Intercom&&this.intercomLoaded&&window.Intercom("hide")}showIntercom(){window.Intercom&&this.intercomLoaded&&window.Intercom("show")}shutdownIntercom(){window.Intercom&&this.intercomLoaded&&(window.Intercom("shutdown"),this.intercomLoaded=!1)}updateUser(N){if(!(this.dfIntercomConfigService.currentConfig.intercomWidget??1)||!window.Intercom||!this.intercomLoaded)return;const K=this.dfSystemConfigDataService.environment;N&&window.Intercom("update",{user_id:N.id?.toString()||N.sessionId,name:N.name||`${N.firstName||""} ${N.lastName||""}`.trim(),email:N.email,created_at:N.lastLoginDate?Math.floor(new Date(N.lastLoginDate).getTime()/1e3):void 0,is_sys_admin:N.isSysAdmin,is_root_admin:N.isRootAdmin,role_id:N.roleId,instance_url:window.location.origin,license_key:K.platform?.licenseKey||"N/A",DreamFactoryTier:K.platform?.license||"N/A","DreamFactory version":K.platform?.version||"N/A",plan:K.platform?.license||"N/A",is_hosted:K.platform?.isHosted||!1,is_trial:K.platform?.isTrial||!1})}static{this.\u0275fac=function(ot){return new(ot||P)(y.KVO(b.T),y.KVO(T.f),y.KVO(k.H))}}static{this.\u0275prov=y.jDH({token:P,factory:P.\u0275fac,providedIn:"root"})}}return P})()},16994:(Ce,Lt,r)=>{r.d(Lt,{b:()=>o});var o=function(y){return y.IMPORT="import",y.EDIT="edit",y.CREATE="create",y.VIEW="view",y.AUTH="auth",y.LOGIN="login",y.RESET_PASSWORD="reset-password",y.FORGOT_PASSWORD="forgot-password",y.REGISTER="register",y.USER_INVITE="user-invite",y.REGISTER_CONFIRM="register-confirm",y.PROFILE="profile",y.HOME="home",y.WELCOME="welcome",y.QUICKSTART="quickstart",y.RESOURCES="resources",y.DOWNLOAD="download",y.AI="ai",y.AI_SETUP="setup",y.AI_CONNECTIONS="connections",y.AI_CHAT_SERVICES="chat-services",y.AI_CHAT_UI="chat",y.AI_USAGE="usage",y.AI_MCP="mcp",y.API_CONNECTIONS="api-connections",y.API_TYPES="api-types",y.API_BUILDER="api-builder",y.ALERTS="alerts",y.AGENTS="agents",y.DATABASE="database",y.SCRIPTING="scripting",y.NETWORK="network",y.FILE="file",y.UTILITY="utility",y.ROLE_BASED_ACCESS="role-based-access",y.API_KEYS="api-keys",y.SCRIPTS="scripts",y.EVENT_SCRIPTS="event-scripts",y.API_DOCS="api-docs",y.DATA_EXPLORER="data-explorer",y.API_SECURITY="api-security",y.RATE_LIMITING="rate-limiting",y.AUTHENTICATION="authentication",y.SYSTEM_SETTINGS="system-settings",y.CONFIG="config",y.SCHEDULER="scheduler",y.LOGS="logs",y.FILE_LOGS="file-logs",y.REPORTING="reporting",y.DF_PLATFORM_APIS="df-platform-apis",y.ADMIN_SETTINGS="admin-settings",y.ADMINS="admins",y.SCHEMA="schema",y.SCHEMA_CONTRACTS="schema-contracts",y.USERS="users",y.FILES="files",y.LAUNCHPAD="launchpad",y.DATA="data",y.PACKAGES="package-manager",y.SYSTEM_INFO="system-info",y.CORS="cors",y.CACHE="cache",y.CONFIG_PACKAGE="config-package",y.EMAIL_TEMPLATES="email-templates",y.GLOBAL_LOOKUP_KEYS="global-lookup-keys",y.INTERCOM="intercom",y.TABLES="tables",y.RELATIONSHIPS="relationships",y.FIELDS="fields",y.ERROR="error",y.LICENSE_EXPIRED="license-expired",y.TRIAL_EXPIRED="trial-expired",y}(o||{})},71398:(Ce,Lt,r)=>{r.d(Lt,{C2:()=>b,Gq:()=>T,L5:()=>G,Zv:()=>P,ds:()=>y,nC:()=>o,r4:()=>k});const o="sales@dreamfactory.com",y="https://www.dreamfactory.com/demo",b="https://portal.dreamfactory.com",T=7,k=3,G=["TRIAL_EXPIRED","TRIAL_REVOKED","TRIAL_TOKEN_INVALID"],P=[402,403]},56579:(Ce,Lt,r)=>{r.d(Lt,{WO:()=>$,Y6:()=>y,aI:()=>te,cQ:()=>M,kJ:()=>j,zH:()=>pt});var o=r(62572);function y(lt){return!!lt&&"object"==typeof lt&&!0===lt.__appError}const b=/Duplicate entry '[^']+' for key '[^']*user_email_unique'/,T=/SQLSTATE|Duplicate entry|ORA-\d|constraint/i;function k(lt){return b.test(lt)?"alerts.duplicateEmail":T.test(lt)?"errors.databaseConstraint":lt}const G=/\b(host(?:name)?|server|data\s*source|dbname|database|user(?:\s*(?:name|id))?|uid|password|pwd|port)(\s*=\s*)[^;,\s"']+/gi,P=/\buser\s+'[^']*'@'[^']*'/gi,Z=/\bfor\s+user\s+'[^']*'/gi;function K(lt,V){switch(lt){case 401:return"auth";case 403:return"forbidden";case 404:return"not-found";case 422:return"validation";case 400:return V?"validation":"unknown";default:return lt>=500?"server":"unknown"}}function M(lt,V){if(y(lt))return lt;const mt=(new Date).toISOString();if(!(lt instanceof o.yz))return{__appError:!0,kind:"client",status:0,message:lt instanceof Error?lt.message||"errors.unknown":"string"==typeof lt&<?lt:"errors.unknown",fields:[],url:V?.url,method:V?.method,timestamp:mt,raw:lt};const rt=V?.url??lt.url??void 0,$t=V?.method;if(0===lt.status||lt.error instanceof ProgressEvent)return{__appError:!0,kind:"network",status:0,message:"errors.network",fields:[],url:rt,method:$t,timestamp:mt,raw:lt.error??lt.message};const de=lt.error;let Le,Ge,ye,_e=null,Xe=[];const Ve=!!de&&"object"==typeof de&&"string"==typeof de.text&&de.error instanceof Error;if(de&&"object"==typeof de&&!Ve){ye=de;const Oe=de.error;if(Oe&&"object"==typeof Oe&&"string"==typeof Oe.message){const Qe=Oe;_e=k(Qe.message),null!=Qe.code&&(Le=String(Qe.code)),Qe.context&&"object"==typeof Qe.context&&!Array.isArray(Qe.context)&&(Ge=Qe.context),Xe=function ot(lt){const V=[];if(!lt||"object"!=typeof lt)return V;const mt=lt;for(const rt of["resource","error"]){const $t=mt[rt];if(Array.isArray($t))for(const de of $t)"string"==typeof de&&de?V.push({field:null,message:k(de)}):de&&"object"==typeof de&&"string"==typeof de.message&&V.push({field:null,message:k(de.message)})}return V}(Qe.context)}else"string"==typeof de.message&&(_e=k(de.message))}return _e||(_e=function q(lt){return lt>=500?"errors.http5xx":lt>=400?"errors.http4xx":"errors.unknown"}(lt.status)),{__appError:!0,kind:K(lt.status,Xe.length>0),status:lt.status,message:_e,fields:Xe,code:Le,context:Ge,url:rt,method:$t,timestamp:mt,raw:de??lt.message,error:ye}}function a(lt,V=4096){let mt;if(lt instanceof Error)mt=`${lt.name}: ${lt.message}`;else if("string"==typeof lt)mt=lt;else try{mt=JSON.stringify(lt,null,2)??String(lt)}catch{mt=String(lt)}return mt.length>V&&(mt=`${mt.slice(0,V)}\n... [truncated]`),mt}function pt(lt){return a(lt.raw)}function j(lt){const V=["DreamFactory Admin Interface error report",`Time: ${lt.timestamp}`,`Status: ${lt.status}${lt.code?` (code ${lt.code})`:""} [${lt.kind}]`];return(lt.method||lt.url)&&V.push(`Request: ${[lt.method,lt.url].filter(Boolean).join(" ")}`),V.push(`Message: ${lt.message}`),lt.fields.length&&(V.push("Field errors:"),lt.fields.forEach(mt=>V.push(` - ${mt.field?`${mt.field}: `:""}${mt.message}`))),V.push(`Raw: ${function N(lt){return lt.replace(G,(V,mt,rt)=>`${mt}${rt}***`).replace(P,"user '***'@'***'").replace(Z,"for user '***'")}(a(lt.raw))}`),V.join("\n")}function Gt(lt,V,mt){if(V){const $t=function bt(lt){return lt.replace(/_([a-z])/g,(V,mt)=>mt.toUpperCase())}(V),de=lt.find(_e=>_e===V||_e===$t);if(de)return de}const rt=mt.toLowerCase();return lt.find($t=>$t.length>2&&(rt.includes($t.toLowerCase())||rt.includes(function J(lt){return lt.replace(/[A-Z]/g,V=>`_${V.toLowerCase()}`)}($t))))??null}function te(lt,V){const mt=[],rt=Object.keys(lt.controls);for(const{field:$t,message:de}of V.fields){const _e=Gt(rt,$t,de),Le=_e?lt.get(_e):null;Le?(Le.setErrors({...Le.errors,server:de}),Le.markAsTouched()):mt.push(de)}return mt}function $(lt){return{resource:[],meta:{count:0},__error:M(lt)}}},20271:(Ce,Lt,r)=>{r.d(Lt,{F0:()=>T,SM:()=>k,hm:()=>o,qC:()=>b});const o=G=>G.replace(/([-_]\w)/g,P=>P[1].toUpperCase()),y=new Set(["execution_plan","executionPlan","response_mapping","responseMapping","headers"]);function b(G){if(Array.isArray(G))return G.map(P=>b(P));if("object"==typeof G&&null!==G){const P={};for(const Z in G)if(Object.prototype.hasOwnProperty.call(G,Z)){const N=G[Z];P[o(Z)]=y.has(Z)?N:b(N)}return P}return G}const T=G=>"idpSingleSignOnServiceUrl"===G||"idp_singleSignOnService_url"===G?"idp_singleSignOnService_url":"idpEntityId"===G||"idp_entityId"===G?"idp_entityId":"spNameIDFormat"===G||"sp_nameIDFormat"===G?"sp_nameIDFormat":"spPrivateKey"===G||"sp_privateKey"===G?"sp_privateKey":G.replace(/([a-z0-9]|(?=[A-Z]))([A-Z])/g,"$1_$2").toLowerCase();function k(G){if(Array.isArray(G))return G.map(P=>k(P));if("object"==typeof G&&null!==G){const P={};for(const Z in G)if(Object.prototype.hasOwnProperty.call(G,Z)){const N=G[Z];"requestBody"===Z?P[Z]=N:y.has(Z)?P[T(Z)]=N:P[T(Z)]=k(N)}return P}return G}},31933:(Ce,Lt,r)=>{r.d(Lt,{Sj:()=>y,ik:()=>b,o6:()=>T});var o=r(89115);function y(P){const Z=new o.B,N=new FileReader;return N.onload=()=>{Z.next(N.result),Z.complete()},N.onerror=ot=>{Z.error(ot)},N.readAsText(P,"UTF-8"),Z.asObservable()}function b(P,Z,N){T(new Blob([P],{type:G(N)}),Z)}function T(P,Z){const N=window.URL.createObjectURL(P);(function k(P,Z){const N=document.createElement("a");N.download=Z,N.href=P,N.click()})(N,Z),window.URL.revokeObjectURL(N)}function G(P){switch(P){case"json":return"application/json";case"xml":return"application/xml";case"csv":return"text/csv";default:return P}}},88236:(Ce,Lt,r)=>{r.d(Lt,{J:()=>o});const o=y=>b=>{switch(y){case"user":return`(first_name like "%${b}%") or (last_name like "%${b}%") or (name like "%${b}%") or (email like "%${b}%")`;case"apiDocs":return`(name like "%${b}%") or (label like "%${b}%") or (description like "%${b}%")`;case"apps":case"emailTemplates":case"roles":return`(name like "%${b}%") or (description like "%${b}%")`;case"serviceReports":return`(service_id like ${b}) or (service_name like "%${b}%") or (user_email like "%${b}%") or (action like "%${b}%") or (request_verb like "%${b}%")`;case"limits":return`(name like "%${b}%")`;case"services":return`(name like "%${b}%") or (label like "%${b}%") or (description like "%${b}%") or (type like "%${b}%")`;case"eventScripts":return`(name like "%${b}%") or (type like "%${b}%")`;default:return""}}},48444:(Ce,Lt,r)=>{r.d(Lt,{Cc:()=>b,Fb:()=>y,Ku:()=>T,PH:()=>k});var o=r(62572);const y=new o.rx(()=>"default"),b=new o.rx(()=>null);function T(G=new o._y){return G.set(y,"silent")}function k(G=new o._y){return G.set(y,"toast-off")}},2983:(Ce,Lt,r)=>{r.d(Lt,{G0:()=>P,IM:()=>Z,IY:()=>K,Vj:()=>M,a4:()=>q,kd:()=>ot,s8:()=>N});var o=r(62572),y=r(71398),b=r(56579);const T=86400,k=3600;function P(a){return a?.platform?.trial??a?.trial??null}function Z(a){let pt,j,J;if((0,b.Y6)(a))pt=a.status,j=a.raw,J=a.context;else if(a instanceof o.yz)pt=a.status,j=a.error;else{if(!a||"object"!=typeof a)return null;j=a}const bt=j&&"object"==typeof j?j.error:void 0;if(bt&&"object"==typeof bt&&(void 0===J&&(J=bt.context),void 0===pt)){const $=Number(bt.status_code??bt.code);pt=Number.isFinite($)?$:void 0}if(void 0===pt||!y.Zv.includes(pt)||!J||"object"!=typeof J)return null;const Gt=J.reason;return function G(a){return"string"==typeof a&&y.L5.includes(a)}(Gt)?{reason:Gt,context:J}:null}function N(a){if(!a)return null;switch(a.status){case"expired":return{reason:"TRIAL_EXPIRED",context:{reason:"TRIAL_EXPIRED",trial_id:a.trialId,expired_at:a.expiresAt,contact_email:a.contactEmail,demo_url:a.demoUrl,portal_url:a.portalUrl}};case"revoked":return{reason:"TRIAL_REVOKED",context:{reason:"TRIAL_REVOKED",trial_id:a.trialId,contact_email:a.contactEmail,demo_url:a.demoUrl,portal_url:a.portalUrl}};case"invalid":case"missing":return{reason:"TRIAL_TOKEN_INVALID",context:{reason:"TRIAL_TOKEN_INVALID",detail:"missing"===a.status?"missing_token":void 0,trial_id:a.trialId,contact_email:a.contactEmail,demo_url:a.demoUrl,portal_url:a.portalUrl}};default:return null}}function ot(a,pt,j){const J=Math.ceil(Math.max(0,a)/T);return J<=j?"critical":J<=pt?"warning":"info"}function q(a){return Math.floor(Math.max(0,a)/T)}function K(a){return Math.floor(Math.max(0,a)%T/k)}function M(a,pt,j){const J=Math.max(0,Math.floor(a));return{totalSeconds:J,days:q(J),hours:K(J),minutes:Math.floor(J%k/60),seconds:J%60,severity:ot(J,pt,j)}}},12346:(Ce,Lt,r)=>{function o(P){let Z;try{Z=new URL(P)}catch{return!1}return"http:"===Z.protocol||"https:"===Z.protocol}r.d(Lt,{LE:()=>G,U8:()=>o,bS:()=>y,c4:()=>T,pl:()=>b});const y="df_auth_redirect_url";function b(){const P=window.location.hash.indexOf("?"),Z=-1!==P?window.location.hash.substring(P+1):window.location.search.substring(1);return new URLSearchParams(Z)}function T(){localStorage.removeItem(y);const Z=b().get("redirect");Z?sessionStorage.setItem(y,Z):sessionStorage.removeItem(y)}function G(P){const Z=sessionStorage.getItem(y);if(Z){if(sessionStorage.removeItem(y),!function k(P){if(!o(P))return!1;try{return new URL(P).origin===window.location.origin}catch{return!1}}(Z))return window.location.href="/",!0;if(P){const N=Z.includes("?")?"&":"?";window.location.href=`${Z}${N}session_token=${P}`}else window.location.href=Z;return!0}return!1}},36279:(Ce,Lt,r)=>{var o=r(18724),y=r(21406),b=r(18331),T=r(11863),k=r(68660),G=r(28600),P=r(85784),Z=r(87621),N=r(74312),ot=r(83545),q=r(54342),K=r(94093),M=r(16994),a=r(1843),pt=r(95373),j=r(57588),J=r(12324),bt=r(73151),Gt=r(89905),te=r(12346);const $=(f,d)=>{const l=(0,a.WQX)(pt.g),m=(0,a.WQX)(Gt.T),L=(0,a.WQX)(T.Ix);return m.isLoggedIn$.pipe((0,j.n)(R=>R?(0,te.LE)(m.token)?(0,bt.of)(!1):(0,bt.of)(!0):l.checkSession().pipe((0,J.T)(ht=>ht?!(0,te.LE)(m.token):L.createUrlTree([M.b.AUTH],{queryParams:d.url&&"/"!==d.url?{returnUrl:d.url}:void 0})))))};var V=r(52483),mt=r(56579),rt=r(75066);const $t=f=>()=>(0,a.WQX)(rt.u7).getAll({related:"role_by_role_id",fields:"*",limit:f,sort:"name"}).pipe((0,V.W)(l=>(0,bt.of)((0,mt.WO)(l)))),_e=f=>()=>(0,a.WQX)(rt.Yh).getAll({limit:f,sort:"name"}).pipe((0,V.W)(l=>(0,bt.of)((0,mt.WO)(l)))),Ge=f=>d=>{const l=(0,a.WQX)(rt.ir),m=(0,a.WQX)(rt.h1),L=d.paramMap.get("id");return L?l.get(L,{related:"user_to_app_to_role_by_user_id,lookup_by_user_id"}).pipe((0,j.n)(R=>R.userToAppToRoleByUserId.length>0?m.get(R.userToAppToRoleByUserId[0].roleId,{related:"lookup_by_role_id",additionalParams:[{key:"accessible_tabs",value:!0}]}).pipe((0,J.T)(ht=>(R.role=ht,R))):(0,bt.of)(R))):l.getAll({limit:f,sort:"name"}).pipe((0,V.W)(R=>(0,bt.of)((0,mt.WO)(R))))},ye=f=>()=>(0,a.WQX)(rt.h1).getAll({related:"lookup_by_role_id",limit:f,sort:"name"}).pipe((0,V.W)(l=>(0,bt.of)((0,mt.WO)(l))));var Ve=r(35877);const Oe=f=>d=>{const l=(0,a.WQX)(Ve.o),m=(0,a.WQX)(rt.gu);return l.activatePaywall("limit").pipe((0,j.n)(L=>{if(L)return(0,bt.of)("paywall");{const R=d.paramMap.get("id");return R?m.get(R):m.getAll({limit:f,sort:"name",related:"limit_cache_by_limit_id"}).pipe((0,V.W)(ht=>(0,bt.of)((0,mt.WO)(ht))))}}))};var be=r(90168),Me=r(86506);const Kt=f=>{const d=(0,a.WQX)(rt.Z$),l=f.paramMap.get("id");return l?d.get(l):d.getAll({includeCount:!0}).pipe((0,V.W)(m=>(0,bt.of)((0,mt.WO)(m))))},Nt=f=>{const d=(0,a.WQX)(Ve.o),l=(0,a.WQX)(rt.K);return d.activatePaywall("scheduler").pipe((0,j.n)(m=>{if(m)return(0,bt.of)("paywall");{const L=f.paramMap.get("id");return L?l.get(L,{related:"task_log_by_task_id"}):l.getAll({related:"task_log_by_task_id,service_by_service_id"}).pipe((0,V.W)(R=>(0,bt.of)((0,mt.WO)(R))))}}))},gt=f=>{const d=f.paramMap.get("name")??"",l=f.paramMap.get("id")??"";return(0,a.WQX)(rt.qJ).get(`${d}/_schema/${l}/_field`,{})};var oe=r(86606),Qt=r(17612);const Et=(f,d)=>l=>{const m=(0,a.WQX)(rt.zs),L=(0,a.WQX)(rt.Z1),R=l.data.system||l.parent?.data?.system||!1,ht=l.data.groups||l.parent?.data?.groups;if(ht){const Pt=ht.map(Ft=>m.getAll({fields:"name",additionalParams:[{key:"group",value:Ft}]}));return(0,oe.p)(Pt).pipe((0,J.T)(Ft=>Ft.map(qt=>qt.resource).flat()),(0,j.n)(Ft=>L.getAll({limit:f,sort:"name",filter:`${R?`${Qt.oA} and `:""}(type in ("${Ft.map(qt=>qt.name).join('","')}"))${d?` and ${d}`:""}`}).pipe((0,J.T)(qt=>({...qt,serviceTypes:Ft})))),(0,V.W)(Ft=>(0,bt.of)((0,mt.WO)(Ft))))}return L.getAll({limit:f,sort:"name",filter:`${R?Qt.oA:""}${d||""}`}).pipe((0,J.T)(Pt=>({...Pt})),(0,V.W)(Pt=>(0,bt.of)((0,mt.WO)(Pt))))},Ee=f=>{const d=(0,a.WQX)(rt.zs),l=f.data.groups||f.parent?.data?.groups;if(l){const m=l.map(L=>d.getAll({additionalParams:[{key:"group",value:L}]}));return(0,oe.p)(m).pipe((0,J.T)(L=>L.map(R=>R.resource).flat()))}return d.getAll().pipe((0,J.T)(m=>m.resource))},ce=f=>!f?.canDeactivate||f.canDeactivate(),je=[{path:"",loadComponent:()=>Promise.all([r.e(1900),r.e(8337),r.e(8497),r.e(3756),r.e(3956),r.e(2076),r.e(8859)]).then(r.bind(r,88859)).then(f=>f.DfManageServicesComponent)},{path:M.b.CREATE,loadComponent:()=>Promise.all([r.e(1900),r.e(8337),r.e(8497),r.e(7263),r.e(3138),r.e(9167),r.e(6984),r.e(3492),r.e(3695),r.e(8001),r.e(2967),r.e(8781),r.e(5629),r.e(7418),r.e(4207),r.e(2076),r.e(2564)]).then(r.bind(r,42564)).then(f=>f.DfMcpRouteShimComponent),resolve:{serviceTypes:Ee},canDeactivate:[ce]},{path:":id",loadComponent:()=>Promise.all([r.e(1900),r.e(8337),r.e(8497),r.e(7263),r.e(3138),r.e(9167),r.e(6984),r.e(3492),r.e(3695),r.e(8001),r.e(2967),r.e(8781),r.e(5629),r.e(7418),r.e(4207),r.e(2076),r.e(2564)]).then(r.bind(r,42564)).then(f=>f.DfMcpRouteShimComponent),resolve:{data:f=>{const d=(0,a.WQX)(rt.Z1),l=f.paramMap.get("id");if(l)return d.get(l,{related:"service_doc_by_service_id"})},serviceTypes:Ee},canDeactivate:[ce]}],Ht=[{path:"",loadComponent:()=>Promise.all([r.e(1900),r.e(8337),r.e(7263),r.e(3138),r.e(9167),r.e(6984),r.e(3492),r.e(1524)]).then(r.bind(r,1524)).then(f=>f.DfApiBuilderComponent)},{path:M.b.CREATE,loadComponent:()=>Promise.all([r.e(1900),r.e(8337),r.e(7263),r.e(3138),r.e(9167),r.e(6984),r.e(3492),r.e(1524)]).then(r.bind(r,1524)).then(f=>f.DfApiBuilderComponent)}],ne=[{path:"",loadComponent:()=>Promise.all([r.e(1900),r.e(7263),r.e(2967),r.e(2076),r.e(9675)]).then(r.bind(r,19675)).then(f=>f.DfWelcomePageComponent)}];var at=r(31147),zt=r(16396);const kt=[{path:"",redirectTo:M.b.LOGIN,pathMatch:"full"},{path:M.b.LOGIN,loadComponent:()=>Promise.all([r.e(1900),r.e(3138),r.e(9106)]).then(r.bind(r,59106)).then(f=>f.DfLoginComponent),canActivate:[()=>{const f=(0,a.WQX)(T.Ix),d=(0,a.WQX)(pt.g),m=(0,te.pl)().get("session_token");return!m||d.loginWithToken(m).pipe((0,J.T)(()=>(f.navigate([M.b.HOME]),!1)),(0,V.W)(()=>(f.navigate([M.b.AUTH]),(0,bt.of)(!0))))},f=>{const d=(0,a.WQX)(T.Ix),l=(0,a.WQX)(pt.g),m=f.queryParams.code,L=f.queryParams.state,R=f.queryParams.oauth_token;return!(m&&L||R)||l.oauthLogin(R,m,L).pipe((0,J.T)(()=>(d.navigate([]),!1)),(0,V.W)(()=>(d.navigate([M.b.AUTH]),(0,bt.of)(!0))))}]},{path:M.b.REGISTER,loadComponent:()=>Promise.all([r.e(3138),r.e(796)]).then(r.bind(r,90796)).then(f=>f.DfRegisterComponent),canActivate:[()=>{const f=(0,a.WQX)(zt.f),d=(0,a.WQX)(T.Ix);return f.environment$.pipe((0,J.T)(l=>!!l.authentication.allowOpenRegistration||(d.navigate([M.b.AUTH]),!1)))}]},{path:M.b.FORGOT_PASSWORD,loadComponent:()=>Promise.all([r.e(3138),r.e(2262)]).then(r.bind(r,82262)).then(f=>f.DfForgotPasswordComponent)},{path:M.b.RESET_PASSWORD,loadComponent:()=>Promise.all([r.e(3138),r.e(7252)]).then(r.bind(r,17252)).then(f=>f.DfPasswordResetComponent),data:{type:"reset"}},{path:M.b.USER_INVITE,loadComponent:()=>Promise.all([r.e(3138),r.e(7252)]).then(r.bind(r,17252)).then(f=>f.DfPasswordResetComponent),data:{type:"invite"}},{path:M.b.REGISTER_CONFIRM,loadComponent:()=>Promise.all([r.e(3138),r.e(7252)]).then(r.bind(r,17252)).then(f=>f.DfPasswordResetComponent),data:{type:"register"}}];var tt=r(31933);const X=f=>{const d=f.data.type;return(0,a.WQX)(rt.qJ).get(d).pipe((0,V.W)(m=>(0,bt.of)((0,mt.WO)(m))))},ft=f=>{const d=f.paramMap.get("entity")??"";return(0,a.WQX)(rt.qJ).get(`${f.data.type}/${d}`).pipe((0,V.W)(L=>(0,bt.of)((0,mt.WO)(L))))},on=()=>(0,a.WQX)(rt.O5).getAll({additionalParams:[{key:"as_list",value:!0}]});var hn=r(65329),fe=r(89371),cn=r(2983);const me=f=>{const d=(0,a.WQX)(hn.H),l=(0,a.WQX)(T.Ix),m=(0,a.WQX)(zt.f),L=d.currentLicenseCheck;if(L){if("true"===L.disableUi&&f?.routeConfig?.path!==M.b.LICENSE_EXPIRED)return(0,bt.of)(l.createUrlTree([M.b.LICENSE_EXPIRED]));if("true"===L.disableUi&&f?.routeConfig?.path===M.b.LICENSE_EXPIRED)return(0,bt.of)(!0);if("true"!==L.disableUi&&f?.routeConfig?.path===M.b.LICENSE_EXPIRED)return(0,bt.of)(l.createUrlTree([M.b.HOME]))}return m.environment$.pipe((0,fe.s)(1),(0,j.n)(R=>R.platform?.license?(0,bt.of)(R):m.fetchEnvironmentData()),(0,j.n)(R=>(0,cn.G0)(R)?(0,bt.of)(f?.routeConfig?.path!==M.b.LICENSE_EXPIRED||l.createUrlTree([M.b.HOME])):"OPEN SOURCE"===R.platform?.license?(0,bt.of)(!0):void 0!==R.platform?.licenseKey?L?(0,bt.of)(!0):d.check(`${R.platform.licenseKey}`).pipe((0,J.T)(ht=>"true"===ht.disableUi&&f?.routeConfig?.path!==M.b.LICENSE_EXPIRED?l.createUrlTree([M.b.LICENSE_EXPIRED]):"true"===ht.disableUi&&f?.routeConfig?.path===M.b.LICENSE_EXPIRED||f?.routeConfig?.path!==M.b.LICENSE_EXPIRED||l.createUrlTree([M.b.HOME])),(0,V.W)(ht=>(0,bt.of)("true"!==d.currentLicenseCheck?.disableUi||f?.routeConfig?.path===M.b.LICENSE_EXPIRED||l.createUrlTree([M.b.LICENSE_EXPIRED])))):(0,bt.of)(!1)))},jt=(f,d)=>{const l=(0,a.WQX)(hn.H),m=(0,a.WQX)(T.Ix);return"true"!==l.currentLicenseCheck?.disableUi||d.url.includes(M.b.LICENSE_EXPIRED)?(0,bt.of)(!0):(0,bt.of)(m.createUrlTree([M.b.LICENSE_EXPIRED]))};var Dt=r(35083);const dt=(f,d)=>{const l=(0,a.WQX)(Dt.K),m=(0,a.WQX)(T.Ix),L=f?.routeConfig?.path===M.b.TRIAL_EXPIRED||(d?.url??"").includes(M.b.TRIAL_EXPIRED);return l.isLocked?!!L||m.createUrlTree([M.b.TRIAL_EXPIRED]):!L||m.createUrlTree([M.b.HOME])};var Rt=r(51317);const ze=f=>d=>{const l=(0,a.WQX)(Ve.o),m=(0,a.WQX)(T.Ix);return l.activatePaywall(f).pipe((0,J.T)(L=>!L||m.createUrlTree(["../"],{relativeTo:d})))};var Zt=r(98474),U=r(54749);const A=[{path:"",pathMatch:"full",redirectTo:M.b.HOME},{path:M.b.ERROR,loadComponent:()=>r.e(8747).then(r.bind(r,48747)).then(f=>f.DfErrorComponent),canActivate:[()=>{const f=(0,a.WQX)(Rt.S),d=(0,a.WQX)(T.Ix),l=d.getCurrentNavigation()?.extras?.state?.appError??(typeof history<"u"?history.state?.appError:null);return f.hasError$.pipe((0,J.T)(m=>!(!m&&!(0,mt.Y6)(l))||d.createUrlTree(["/"])))}]},{path:M.b.AUTH,children:kt,canActivate:[dt,()=>{const f=(0,a.WQX)(pt.g),d=(0,a.WQX)(Gt.T),l=(0,a.WQX)(T.Ix);return(0,te.c4)(),d.isLoggedIn$.pipe((0,j.n)(m=>m?(0,te.LE)(d.token)?(0,bt.of)(!1):(0,bt.of)(l.createUrlTree([M.b.HOME])):f.checkSession().pipe((0,J.T)(L=>!L||!(0,te.LE)(d.token)&&l.createUrlTree([M.b.HOME])))))}],providers:[(0,at.bF)("userManagement")]},{path:M.b.HOME,children:ne,canActivate:[dt,$,me,jt],providers:[(0,at.bF)("home")]},{path:M.b.LICENSE_EXPIRED,loadComponent:()=>r.e(4461).then(r.bind(r,74461)).then(f=>f.DfLicenseExpiredComponent),canActivate:[dt,me]},{path:M.b.TRIAL_EXPIRED,loadComponent:()=>r.e(7251).then(r.bind(r,47251)).then(f=>f.DfTrialExpiredComponent),canActivate:[dt]},{path:M.b.API_BUILDER,redirectTo:`/${M.b.API_CONNECTIONS}/${M.b.API_TYPES}/${M.b.API_BUILDER}`,pathMatch:"full",data:{navLinkPath:`/${M.b.API_CONNECTIONS}/${M.b.API_TYPES}/${M.b.API_BUILDER}`}},{path:M.b.ALERTS,loadComponent:()=>Promise.all([r.e(1900),r.e(8337),r.e(7263),r.e(3138),r.e(9167),r.e(7741)]).then(r.bind(r,97741)).then(f=>f.DfAlertsComponent),canActivate:[$]},{path:M.b.AGENTS,loadComponent:()=>Promise.all([r.e(1900),r.e(8337),r.e(7263),r.e(3138),r.e(2967),r.e(5629),r.e(2076),r.e(2661)]).then(r.bind(r,42661)).then(f=>f.DfAgentsComponent),canActivate:[$]},{path:M.b.API_CONNECTIONS,children:[{path:"",loadComponent:()=>Promise.all([r.e(7263),r.e(5969),r.e(4673)]).then(r.bind(r,34673)).then(f=>f.DfApiConnectionsOverviewComponent)},{path:M.b.API_TYPES,children:[{path:"",loadComponent:()=>Promise.all([r.e(7263),r.e(5969),r.e(3101)]).then(r.bind(r,63101)).then(f=>f.DfApiTypesOverviewComponent)},{path:M.b.API_BUILDER,children:Ht,data:{groups:U.H[M.b.API_BUILDER]}},{path:M.b.DATABASE,children:je,data:{groups:U.H[M.b.DATABASE]}},{path:M.b.SCRIPTING,children:je,data:{groups:U.H[M.b.SCRIPTING]}},{path:M.b.NETWORK,children:je,data:{groups:U.H[M.b.NETWORK]}},{path:M.b.FILE,children:je,data:{groups:U.H[M.b.FILE]}},{path:M.b.UTILITY,children:je,data:{groups:U.H[M.b.UTILITY]},resolve:{systemEvents:on}}],providers:[(0,at.bF)("services"),(0,at.bF)("scripts")]},{path:M.b.ROLE_BASED_ACCESS,children:[{path:"",loadComponent:()=>Promise.all([r.e(1900),r.e(8337),r.e(8497),r.e(3756),r.e(3956),r.e(2076),r.e(399)]).then(r.bind(r,80399)).then(f=>f.DfManageRolesComponent),resolve:{data:ye()}},{path:"create",loadComponent:()=>Promise.all([r.e(1900),r.e(8497),r.e(8781),r.e(1643)]).then(r.bind(r,61643)).then(f=>f.DfRoleDetailsComponent),resolve:{services:Et(0)},data:{type:"create"}},{path:":id",loadComponent:()=>Promise.all([r.e(1900),r.e(8497),r.e(8781),r.e(1643)]).then(r.bind(r,61643)).then(f=>f.DfRoleDetailsComponent),resolve:{data:f=>{const d=(0,a.WQX)(rt.h1),l=f.paramMap.get("id");if(l)return d.get(l,{related:"role_service_access_by_role_id,lookup_by_role_id",additionalParams:[{key:"accessible_tabs",value:!0}]})},services:Et(0)},data:{type:"edit"}},{path:":id/scope",loadComponent:()=>Promise.all([r.e(4207),r.e(8816)]).then(r.bind(r,12818)).then(f=>f.DfRoleScopePageComponent)}],providers:[(0,at.bF)("roles")]},{path:M.b.API_KEYS,children:[{path:"",loadComponent:()=>Promise.all([r.e(1900),r.e(8337),r.e(8497),r.e(3756),r.e(7263),r.e(3956),r.e(2076),r.e(7058)]).then(r.bind(r,67058)).then(f=>f.DfManageAppsTableComponent),resolve:{data:$t(0)}},{path:M.b.CREATE,loadComponent:()=>Promise.all([r.e(1900),r.e(8337),r.e(7263),r.e(3138),r.e(3492),r.e(8001),r.e(2967),r.e(5629),r.e(2076),r.e(3307)]).then(r.bind(r,63307)).then(f=>f.DfAppDetailsComponent),resolve:{roles:ye(0)}},{path:":id",loadComponent:()=>Promise.all([r.e(1900),r.e(8337),r.e(7263),r.e(3138),r.e(3492),r.e(8001),r.e(2967),r.e(5629),r.e(2076),r.e(3307)]).then(r.bind(r,63307)).then(f=>f.DfAppDetailsComponent),resolve:{roles:ye(0),appData:f=>{const d=f.paramMap.get("id")??0;return(0,a.WQX)(rt.u7).get(d,{related:"role_by_role_id",fields:"*"})}}}],providers:[(0,at.bF)("apps")]},{path:M.b.EVENT_SCRIPTS,children:[{path:"",loadComponent:()=>Promise.all([r.e(1900),r.e(8337),r.e(8497),r.e(3756),r.e(3956),r.e(2076),r.e(7888)]).then(r.bind(r,47888)).then(f=>f.DfManageScriptsComponent),resolve:{data:()=>{const f=(0,a.WQX)(Ve.o),d=(0,a.WQX)(rt.NO);return f.activatePaywall(["script_Type","event_script"]).pipe((0,j.n)(l=>l?(0,bt.of)("paywall"):d.getAll().pipe((0,V.W)(m=>(0,bt.of)((0,mt.WO)(m))))))}}},{path:M.b.CREATE,loadComponent:()=>Promise.all([r.e(1900),r.e(8337),r.e(8497),r.e(7263),r.e(9167),r.e(3492),r.e(3695),r.e(7418),r.e(3751)]).then(r.bind(r,53751)).then(f=>f.DfScriptDetailsComponent),resolve:{data:()=>(0,a.WQX)(rt.O5).getAll({additionalParams:[{key:"services_only",value:!0}],limit:0,includeCount:!1})},data:{type:"create"},canActivate:[ze(["script_Type","event_script"])]},{path:":name",loadComponent:()=>Promise.all([r.e(1900),r.e(8337),r.e(8497),r.e(7263),r.e(9167),r.e(3492),r.e(3695),r.e(7418),r.e(3751)]).then(r.bind(r,53751)).then(f=>f.DfScriptDetailsComponent),resolve:{data:f=>{const d=f.paramMap.get("name")??"";return(0,a.WQX)(rt.NO).get(d)}},data:{type:"edit"},canActivate:[ze(["script_Type","event_script"])]}],providers:[(0,at.bF)("scripts")]},{path:M.b.API_DOCS,children:[{path:"",loadComponent:()=>Promise.all([r.e(1900),r.e(8337),r.e(8497),r.e(3756),r.e(3956),r.e(986)]).then(r.bind(r,30986)).then(f=>f.DfApiDocsTableComponent),resolve:{data:Et(0,'(type not like "%swagger%")'),serviceTypes:Ee}},{path:":name",loadComponent:()=>Promise.all([r.e(1900),r.e(8337),r.e(7263),r.e(6984),r.e(8781),r.e(2076),r.e(3533)]).then(r.bind(r,63533)).then(f=>f.DfApiDocsComponent),resolve:{data:f=>{const d=f.paramMap.get("name");return(0,a.WQX)(rt.Hd).get(d)}},runGuardsAndResolvers:"paramsChange"}],providers:[(0,at.bF)("apiDocs")]},{path:M.b.DATA_EXPLORER,loadComponent:()=>Promise.all([r.e(1900),r.e(8337),r.e(8497),r.e(3756),r.e(7263),r.e(9167),r.e(2317),r.e(5036)]).then(r.bind(r,75036)).then(f=>f.DfDataExplorerComponent),providers:[(0,at.bF)("dataExplorer")]}],canActivate:[dt,$,me,jt]},{path:M.b.API_SECURITY,children:[{path:"",loadComponent:()=>Promise.all([r.e(7263),r.e(5969),r.e(4705)]).then(r.bind(r,14705)).then(f=>f.DfSecurityOverviewComponent)},{path:M.b.AUTHENTICATION,children:je,data:{groups:U.H[M.b.AUTHENTICATION]},providers:[(0,at.bF)("services")]},{path:M.b.RATE_LIMITING,children:[{path:"",loadComponent:()=>Promise.all([r.e(1900),r.e(8337),r.e(8497),r.e(3756),r.e(3956),r.e(2076),r.e(7067)]).then(r.bind(r,47067)).then(f=>f.DfManageLimitsComponent),resolve:{data:Oe()}},{path:M.b.CREATE,loadComponent:()=>Promise.all([r.e(1900),r.e(8337),r.e(2076),r.e(3451)]).then(r.bind(r,23451)).then(f=>f.DfLimitDetailsComponent),resolve:{data:Oe(),users:_e(0),roles:ye(0),services:Et(0)},data:{type:"create"},canActivate:[ze("limit")]},{path:":id",loadComponent:()=>Promise.all([r.e(1900),r.e(8337),r.e(2076),r.e(3451)]).then(r.bind(r,23451)).then(f=>f.DfLimitDetailsComponent),resolve:{data:Oe(),users:_e(0),roles:ye(0),services:Et(0)},data:{type:"edit"},canActivate:[ze("limit")]}],providers:[(0,at.bF)("limits")]},{path:M.b.ROLE_BASED_ACCESS,redirectTo:`/${M.b.API_CONNECTIONS}/${M.b.ROLE_BASED_ACCESS}`,pathMatch:"full",data:{navLinkPath:`/${M.b.API_CONNECTIONS}/${M.b.ROLE_BASED_ACCESS}`,navLabelPath:`/${M.b.API_SECURITY}/${M.b.ROLE_BASED_ACCESS}`}},{path:M.b.API_KEYS,redirectTo:`/${M.b.API_CONNECTIONS}/${M.b.API_KEYS}`,pathMatch:"full",data:{navLinkPath:`/${M.b.API_CONNECTIONS}/${M.b.API_KEYS}`,navLabelPath:`/${M.b.API_SECURITY}/${M.b.API_KEYS}`}}],canActivate:[dt,$,me,jt]},{path:M.b.SYSTEM_SETTINGS,children:[{path:"",loadComponent:()=>Promise.all([r.e(7263),r.e(5969),r.e(3828)]).then(r.bind(r,53828)).then(f=>f.DfSystemOverviewComponent)},{path:M.b.CONFIG,children:[{path:M.b.SYSTEM_INFO,loadComponent:()=>r.e(3685).then(r.bind(r,3685)).then(f=>f.DfSystemInfoComponent),providers:[(0,at.bF)("systemInfo")],resolve:{data:()=>(0,bt.of)(null)}},{path:M.b.CORS,children:[{path:"",loadComponent:()=>Promise.all([r.e(1900),r.e(8337),r.e(8497),r.e(3756),r.e(3956),r.e(2430)]).then(r.bind(r,2430)).then(f=>f.DfManageCorsTableComponent),resolve:{data:Kt}},{path:M.b.CREATE,loadComponent:()=>Promise.all([r.e(1900),r.e(8337),r.e(9167),r.e(2076),r.e(6377)]).then(r.bind(r,96377)).then(f=>f.DfCorsConfigDetailsComponent),data:{type:"create"}},{path:":id",loadComponent:()=>Promise.all([r.e(1900),r.e(8337),r.e(9167),r.e(2076),r.e(6377)]).then(r.bind(r,96377)).then(f=>f.DfCorsConfigDetailsComponent),resolve:{data:Kt},data:{type:"edit"}}],providers:[(0,at.bF)("cors")]},{path:M.b.CACHE,loadComponent:()=>Promise.all([r.e(1900),r.e(8337),r.e(8497),r.e(3756),r.e(3956),r.e(4588)]).then(r.bind(r,24588)).then(f=>f.DfCacheComponent),resolve:{data:()=>(0,a.WQX)(rt.j8).getAll({fields:"*"}).pipe((0,V.W)(d=>(0,bt.of)((0,mt.WO)(d))))},providers:[(0,at.bF)("cache")]},{path:M.b.CONFIG_PACKAGE,loadComponent:()=>Promise.all([r.e(3138),r.e(9167),r.e(3645)]).then(r.bind(r,73645)).then(f=>f.DfConfigPackageComponent)},{path:M.b.EMAIL_TEMPLATES,children:[{path:"",loadComponent:()=>Promise.all([r.e(1900),r.e(8337),r.e(8497),r.e(3756),r.e(3956),r.e(4255)]).then(r.bind(r,94255)).then(f=>f.DfEmailTemplatesComponent),resolve:{data:()=>(0,a.WQX)(rt.F8).getAll({}).pipe((0,V.W)(d=>(0,bt.of)((0,mt.WO)(d))))}},{path:M.b.CREATE,loadComponent:()=>Promise.all([r.e(1900),r.e(5453)]).then(r.bind(r,35453)).then(f=>f.DfEmailTemplateDetailsComponent),data:{type:"create"}},{path:":id",loadComponent:()=>Promise.all([r.e(1900),r.e(5453)]).then(r.bind(r,35453)).then(f=>f.DfEmailTemplateDetailsComponent),resolve:{data:f=>{const d=f.paramMap.get("id")??0;return(0,a.WQX)(rt.F8).get(d,{fields:"*"})}},data:{type:"edit"}}],providers:[(0,at.bF)("emailTemplates")]},{path:M.b.GLOBAL_LOOKUP_KEYS,loadComponent:()=>Promise.all([r.e(8497),r.e(9841)]).then(r.bind(r,89841)).then(f=>f.DfGlobalLookupKeysComponent),resolve:{data:()=>(0,a.WQX)(rt.mr).getAll()}},{path:M.b.INTERCOM,loadComponent:()=>r.e(6214).then(r.bind(r,86214)).then(f=>f.DfIntercomConfigComponent)}]},{path:M.b.SCHEDULER,children:[{path:"",loadComponent:()=>Promise.all([r.e(1900),r.e(8337),r.e(8497),r.e(3756),r.e(3956),r.e(2076),r.e(6242)]).then(r.bind(r,36242)).then(f=>f.DfManageSchedulerComponent),resolve:{data:Nt}},{path:M.b.CREATE,loadComponent:()=>Promise.all([r.e(1900),r.e(8337),r.e(6984),r.e(3695),r.e(2076),r.e(5372)]).then(r.bind(r,95372)).then(f=>f.DfSchedulerDetailsComponent),resolve:{data:Et(0)},canActivate:[ze("scheduler")]},{path:":id",loadComponent:()=>Promise.all([r.e(1900),r.e(8337),r.e(6984),r.e(3695),r.e(2076),r.e(5372)]).then(r.bind(r,95372)).then(f=>f.DfSchedulerDetailsComponent),resolve:{data:Et(0),schedulerObject:Nt},canActivate:[ze("scheduler")]}],providers:[(0,at.bF)("scheduler")]},{path:M.b.FILE_LOGS,redirectTo:`/${M.b.ADMIN_SETTINGS}/${M.b.LOGS}`,pathMatch:"full",data:{navLinkPath:`/${M.b.ADMIN_SETTINGS}/${M.b.LOGS}`,navLabelPath:`/${M.b.SYSTEM_SETTINGS}/${M.b.FILE_LOGS}`}},{path:M.b.LOGS,children:je,data:{groups:U.H[M.b.LOGS]},resolve:{systemEvents:on},providers:[(0,at.bF)("services")]},{path:M.b.REPORTING,loadComponent:()=>Promise.all([r.e(1900),r.e(8337),r.e(8497),r.e(3756),r.e(3956),r.e(2076),r.e(485)]).then(r.bind(r,40485)).then(f=>f.DfManageServiceReportComponent),resolve:{data:()=>{const f=(0,a.WQX)(Ve.o),d=(0,a.WQX)(rt.Jc);return f.activatePaywall("service_report").pipe((0,j.n)(l=>l?(0,bt.of)("paywall"):d.getAll().pipe((0,V.W)(m=>(0,bt.of)((0,mt.WO)(m))))))}}},{path:M.b.DF_PLATFORM_APIS,children:je,data:{system:!0},providers:[(0,at.bF)("services")]}],canActivate:[dt,$,me,jt]},{path:M.b.ADMIN_SETTINGS,children:[{path:"",loadComponent:()=>Promise.all([r.e(7263),r.e(5969),r.e(214)]).then(r.bind(r,214)).then(f=>f.DfAdminSettingsOverviewComponent)},{path:M.b.ADMINS,children:[{path:"",loadComponent:()=>Promise.all([r.e(1900),r.e(8337),r.e(8497),r.e(3756),r.e(3956),r.e(2076),r.e(3649)]).then(r.bind(r,63649)).then(f=>f.DfManageAdminsComponent),resolve:{data:Ge()}},{path:M.b.CREATE,loadComponent:()=>Promise.all([r.e(8497),r.e(9167),r.e(3492),r.e(8001),r.e(5201),r.e(7303)]).then(r.bind(r,87303)).then(f=>f.DfAdminDetailsComponent),data:{type:"create"}},{path:":id",loadComponent:()=>Promise.all([r.e(8497),r.e(9167),r.e(3492),r.e(8001),r.e(5201),r.e(7303)]).then(r.bind(r,87303)).then(f=>f.DfAdminDetailsComponent),resolve:{data:Ge()},data:{type:"edit"}}],providers:[(0,at.bF)("admins"),(0,at.bF)("userManagement")],canActivate:[()=>{const f=(0,a.WQX)(Gt.T),d=(0,a.WQX)(T.Ix);return f.userData$.pipe((0,Zt.p)(l=>null!==l),(0,fe.s)(1),(0,J.T)(l=>!!l.isRootAdmin||d.createUrlTree([M.b.HOME])))}]},{path:M.b.SCHEMA,children:[{path:"",loadComponent:()=>Promise.all([r.e(1900),r.e(8337),r.e(8497),r.e(3756),r.e(3956),r.e(8272)]).then(r.bind(r,68272)).then(f=>f.DfManageDatabasesTableComponent),resolve:{data:Et()}},{path:":name",children:[{path:"",loadComponent:()=>Promise.all([r.e(1900),r.e(8337),r.e(8497),r.e(3756),r.e(3956),r.e(8328)]).then(r.bind(r,98328)).then(f=>f.DfManageTablesTableComponent),resolve:{data:f=>{const d=f.paramMap.get("name");return(0,a.WQX)(rt.qJ).get(`${d}/_schema`,{fields:["name","label"].join(",")}).pipe((0,V.W)(l=>(0,bt.of)((0,mt.WO)(l))))}}},{path:M.b.CREATE,children:[{path:"",loadComponent:()=>Promise.all([r.e(1900),r.e(8337),r.e(8497),r.e(3756),r.e(3956),r.e(6984),r.e(3695),r.e(8221)]).then(r.bind(r,88221)).then(f=>f.DfTableDetailsComponent),data:{type:"create"}},{path:":fieldName",loadComponent:()=>Promise.all([r.e(1900),r.e(8337),r.e(8497),r.e(8001),r.e(2076),r.e(2066)]).then(r.bind(r,42066)).then(f=>f.DfFieldDetailsComponent),data:{type:"edit"}}]},{path:":id",children:[{path:"",loadComponent:()=>Promise.all([r.e(1900),r.e(8337),r.e(8497),r.e(3756),r.e(3956),r.e(6984),r.e(3695),r.e(8221)]).then(r.bind(r,88221)).then(f=>f.DfTableDetailsComponent),resolve:{data:f=>{const d=f.paramMap.get("name")??"",l=f.paramMap.get("id")??"";return(0,a.WQX)(rt.qJ).get(`${d}/_schema/${l}?refresh=true`,{})}},data:{type:"edit"}},{path:M.b.FIELDS,children:[{path:"",redirectTo:M.b.CREATE,pathMatch:"full"},{path:M.b.CREATE,loadComponent:()=>Promise.all([r.e(1900),r.e(8337),r.e(8497),r.e(8001),r.e(2076),r.e(2066)]).then(r.bind(r,42066)).then(f=>f.DfFieldDetailsComponent),data:{type:"create"}},{path:":fieldName",loadComponent:()=>Promise.all([r.e(1900),r.e(8337),r.e(8497),r.e(8001),r.e(2076),r.e(2066)]).then(r.bind(r,42066)).then(f=>f.DfFieldDetailsComponent),data:{type:"edit"}}]},{path:M.b.RELATIONSHIPS,children:[{path:"",redirectTo:M.b.CREATE,pathMatch:"full"},{path:M.b.CREATE,loadComponent:()=>Promise.all([r.e(1900),r.e(3392)]).then(r.bind(r,23392)).then(f=>f.DfRelationshipDetailsComponent),resolve:{fields:gt,services:Et(0)},data:{type:"create"}},{path:":relName",loadComponent:()=>Promise.all([r.e(1900),r.e(3392)]).then(r.bind(r,23392)).then(f=>f.DfRelationshipDetailsComponent),resolve:{data:f=>{const d=f.paramMap.get("name")??"",l=f.paramMap.get("id")??"",m=f.paramMap.get("relName")??"";return(0,a.WQX)(rt.qJ).get(`${d}/_schema/${l}/_related/${m}`,{})},fields:gt,services:Et(0)},data:{type:"edit"}}]}]}]}],providers:[(0,at.bF)("schema")],data:{groups:["Database"],system:!1}},{path:M.b.SCHEMA_CONTRACTS,loadComponent:()=>Promise.all([r.e(1900),r.e(8337),r.e(8497),r.e(7263),r.e(3138),r.e(6984),r.e(2317),r.e(1068)]).then(r.bind(r,71068)).then(f=>f.DfManageSchemaContractsComponent),data:{groups:["Database"],system:!1}},{path:M.b.USERS,children:[{path:"",loadComponent:()=>Promise.all([r.e(1900),r.e(8337),r.e(8497),r.e(3756),r.e(3956),r.e(2076),r.e(5624)]).then(r.bind(r,35624)).then(f=>f.DfManageUsersComponent),resolve:{data:_e()}},{path:M.b.CREATE,loadComponent:()=>Promise.all([r.e(8497),r.e(9167),r.e(3492),r.e(8001),r.e(5201),r.e(5469)]).then(r.bind(r,25469)).then(f=>f.DfUserDetailsComponent),data:{type:"create"},resolve:{apps:$t(0),roles:ye(0)}},{path:":id",loadComponent:()=>Promise.all([r.e(8497),r.e(9167),r.e(3492),r.e(8001),r.e(5201),r.e(5469)]).then(r.bind(r,25469)).then(f=>f.DfUserDetailsComponent),resolve:{data:f=>{const d=(0,a.WQX)(rt.Yh),l=f.paramMap.get("id");if(l)return d.get(l,{related:"lookup_by_user_id,user_to_app_to_role_by_user_id"})},apps:$t(0),roles:ye(0)},data:{type:"edit"}}],providers:[(0,at.bF)("users"),(0,at.bF)("roles"),(0,at.bF)("userManagement")]},{path:M.b.FILES,data:{type:"files"},children:[{path:"",pathMatch:"full",loadComponent:()=>Promise.all([r.e(1900),r.e(8337),r.e(8497),r.e(3756),r.e(3956),r.e(6968)]).then(r.bind(r,16968)).then(f=>f.DfFilesComponent),resolve:{data:X}},{path:":entity",loadComponent:()=>Promise.all([r.e(1900),r.e(8337),r.e(8497),r.e(3756),r.e(3956),r.e(6968)]).then(r.bind(r,16968)).then(f=>f.DfFilesComponent),resolve:{data:ft}}],providers:[(0,at.bF)("files")]},{path:M.b.LOGS,data:{type:"logs"},children:[{path:"",pathMatch:"full",loadComponent:()=>Promise.all([r.e(1900),r.e(8337),r.e(8497),r.e(3756),r.e(3956),r.e(6968)]).then(r.bind(r,16968)).then(f=>f.DfFilesComponent),resolve:{data:X}},{path:`${M.b.VIEW}/:entity`,loadComponent:()=>Promise.all([r.e(3695),r.e(3678)]).then(r.bind(r,63678)).then(f=>f.DfLogViewerComponent),resolve:{data:f=>{const d=f.paramMap.get("entity")??"";return(0,a.WQX)(rt.qJ).downloadFile(`${f.data.type}/${d}`).pipe((0,j.n)(L=>(0,tt.Sj)(L)))}}},{path:":entity",loadComponent:()=>Promise.all([r.e(1900),r.e(8337),r.e(8497),r.e(3756),r.e(3956),r.e(6968)]).then(r.bind(r,16968)).then(f=>f.DfFilesComponent),resolve:{data:ft}}],providers:[(0,at.bF)("files")]}],canActivate:[dt,$,me,jt]},{path:M.b.AI,children:[{path:"",loadComponent:()=>Promise.all([r.e(7263),r.e(5969),r.e(6557)]).then(r.bind(r,6557)).then(f=>f.DfAiSetupComponent)},{path:M.b.AI_SETUP,loadComponent:()=>Promise.all([r.e(7263),r.e(5969),r.e(6557)]).then(r.bind(r,6557)).then(f=>f.DfAiSetupComponent)},{path:M.b.AI_CONNECTIONS,children:je,data:{groups:U.H[M.b.AI_CONNECTIONS]}},{path:M.b.AI_USAGE,loadComponent:()=>Promise.all([r.e(1900),r.e(8337),r.e(3138),r.e(8781),r.e(2317),r.e(2076),r.e(669)]).then(r.bind(r,30669)).then(f=>f.DfAiUsageComponent)},{path:M.b.AI_CHAT_UI,children:[{path:"",loadComponent:()=>Promise.all([r.e(1900),r.e(7263),r.e(2967),r.e(2076),r.e(7129)]).then(r.bind(r,27129)).then(f=>f.DfAiChatComponent)},{path:":sessionId",loadComponent:()=>Promise.all([r.e(1900),r.e(7263),r.e(2967),r.e(2076),r.e(7129)]).then(r.bind(r,27129)).then(f=>f.DfAiChatComponent)}]},{path:M.b.AI_MCP,children:je,data:{groups:U.H[M.b.AI_MCP]}},{path:M.b.AI_CHAT_SERVICES,children:je,data:{groups:U.H[M.b.AI_CHAT_SERVICES]}}],canActivate:[dt,$,me,jt],providers:[(0,at.bF)("services")]},{path:M.b.PROFILE,loadComponent:()=>Promise.all([r.e(6984),r.e(870)]).then(r.bind(r,70870)).then(f=>f.DfProfileComponent),resolve:{data:()=>(0,a.WQX)(be.H).getProfile()},canActivate:[dt,$,me,jt],providers:[be.H,Me.p,(0,at.bF)("userManagement")]}],xt=[M.b.CREATE,M.b.IMPORT,M.b.EDIT,M.b.AUTH,M.b.AI_SETUP,M.b.PROFILE,M.b.VIEW,M.b.ERROR,M.b.LICENSE_EXPIRED,M.b.TRIAL_EXPIRED],Jt=["home","ai","admin-settings","api-connections","api-security","system-settings","api-builder","agents","alerts"];function Fe(f,d=""){return f.filter(l=>l.path&&!l.path.includes(":")&&!xt.includes(l.path)).map(l=>{const m={...l.data?.navLinkPath?{linkPath:l.data.navLinkPath}:{},...l.data?.navLabelPath?{labelPath:l.data.navLabelPath}:{}},L=""===d?Ze(l):"";if(l.children){const R=Fe(l.children,`${d}/${l.path}`);return{path:`${d}/${l.path}`,...m,subRoutes:R.length?R:void 0,route:l.path,icon:L}}return{path:`${d}/${l.path}`,...m,route:l.path,icon:L}})}const Ze=f=>Jt.includes(f.path)?`assets/img/nav/${f?.path}.svg`:"";function xn(f,d){const l=[M.b.SYSTEM_INFO,M.b.AI,M.b.AI_SETUP,M.b.AI_CONNECTIONS,M.b.AI_CHAT_SERVICES,M.b.AI_CHAT_UI,M.b.AI_USAGE,M.b.AI_MCP];return d?.forEach(m=>{switch(m){case"apps":l.push(M.b.API_KEYS);break;case"users":l.push(M.b.USERS);break;case"roles":l.push(M.b.ROLE_BASED_ACCESS);break;case"services":l.push(M.b.DATABASE,M.b.SCRIPTING,M.b.NETWORK,M.b.FILE,M.b.UTILITY,M.b.AUTHENTICATION,M.b.DF_PLATFORM_APIS);break;case"apidocs":l.push(M.b.API_DOCS,M.b.DATA_EXPLORER);break;case"schema/data":l.push(M.b.SCHEMA);break;case"files":l.push(M.b.FILES,M.b.FILE_LOGS);break;case"scripts":l.push(M.b.EVENT_SCRIPTS);break;case"config":l.push(M.b.CORS,M.b.CACHE,M.b.CONFIG_PACKAGE,M.b.EMAIL_TEMPLATES,M.b.GLOBAL_LOOKUP_KEYS,M.b.INTERCOM);break;case"limits":l.push(M.b.RATE_LIMITING);break;case"scheduler":l.push(M.b.SCHEDULER)}}),f.filter(m=>m.subRoutes?(m.subRoutes=xn(m.subRoutes,d),m.subRoutes.length):l.includes(m.route))}const Ie=["name","label","email","username"],Nn=["data","appData"];var I=r(45318),_t=r(11224),Q=r(62633),Mt=r(78227),Wt=r(54688),se=r(453),De=r(97828),ve=r(85390),Ye=r(14087),tn=r(88236);r(69099);let ln=class N5{constructor(d,l,m,L,R,ht,Pt,Ft,qt){this.adminService=d,this.userService=l,this.servicesService=m,this.serviceTypeService=L,this.roleService=R,this.appService=ht,this.eventScriptService=Pt,this.limitService=Ft,this.emailTemplatesService=qt,this.resultsSubject=new ve.t([]),this.results$=this.resultsSubject.asObservable(),this.recentsSubject=new ve.t([]),this.recents$=this.recentsSubject.asObservable(),this.results$.subscribe(Ae=>{Ae.length&&this.recentsSubject.next(Ae)})}search(d){const l=[];return this.resultsSubject.next(l),(0,oe.p)({admins:this.adminService.getAll({limit:0,includeCount:!1,filter:(0,tn.J)("user")(d),errorHandling:"silent"}).pipe((0,V.W)(()=>(0,bt.of)(null)),(0,Ye.M)(m=>{m&&m.resource&&m.resource.length&&(l.push({path:`${M.b.ADMIN_SETTINGS}/${M.b.ADMINS}`,items:m.resource.map(L=>({label:L.name,segment:L.id}))}),this.resultsSubject.next(l))})),users:this.userService.getAll({limit:0,includeCount:!1,filter:(0,tn.J)("user")(d),errorHandling:"silent"}).pipe((0,V.W)(()=>(0,bt.of)(null)),(0,Ye.M)(m=>{m&&m.resource&&m.resource.length&&(l.push({path:`${M.b.ADMIN_SETTINGS}/${M.b.USERS}`,items:m.resource.map(L=>({label:L.name,segment:L.id}))}),this.resultsSubject.next(l))})),services:(0,oe.p)({services:this.servicesService.getAll({limit:0,includeCount:!1,filter:(0,tn.J)("services")(d),errorHandling:"silent"}),serviceTypes:this.serviceTypeService.getAll({errorHandling:"silent"})}).pipe((0,V.W)(()=>(0,bt.of)(null)),(0,Ye.M)(m=>{if(m&&m.serviceTypes){const L=m.services.resource.reduce((Ft,qt)=>(Ft[qt.type]||(Ft[qt.type]=[]),Ft[qt.type].push(qt),Ft),{}),R={};m.serviceTypes.resource.forEach(Ft=>{const qt=this.getServiceRoute(Ft.group);qt&&(R[Ft.name]=qt)});const ht={};for(const[Ft,qt]of Object.entries(L)){const Ae=R[Ft];ht[Ae]||(ht[Ae]=[]),ht[Ae].push(...qt)}Object.entries(ht).map(([Ft,qt])=>({route:Ft,services:qt})).filter(Ft=>Ft.services.length>0&&"undefined"!==Ft.route).forEach(Ft=>l.push({path:Ft.route,items:Ft.services.map(qt=>({label:qt.name,segment:qt.id}))})),m.services.resource.length&&l.push({path:`${M.b.API_CONNECTIONS}/${M.b.API_DOCS}`,items:m.services.resource.map(Ft=>({label:Ft.name,segment:Ft.name}))}),m.serviceTypes.resource.filter(Ft=>Ft.name.includes(d.toLowerCase())).forEach(Ft=>{const qt=this.getServiceRoute(Ft.group);qt&&l.push({path:qt,items:[{label:Ft.label,segment:M.b.CREATE}]})}),this.resultsSubject.next(l)}})),roles:this.roleService.getAll({limit:0,includeCount:!1,filter:(0,tn.J)("roles")(d),errorHandling:"silent"}).pipe((0,V.W)(()=>(0,bt.of)(null)),(0,Ye.M)(m=>{m&&m.resource&&m.resource.length&&(l.push({path:`${M.b.API_CONNECTIONS}/${M.b.ROLE_BASED_ACCESS}`,items:m.resource.map(L=>({label:L.name,segment:L.id}))}),this.resultsSubject.next(l))})),apps:this.appService.getAll({limit:0,includeCount:!1,filter:(0,tn.J)("apps")(d),errorHandling:"silent"}).pipe((0,V.W)(()=>(0,bt.of)(null)),(0,Ye.M)(m=>{m&&m.resource&&m.resource.length&&(l.push({path:`${M.b.API_CONNECTIONS}/${M.b.API_KEYS}`,items:m.resource.map(L=>({label:L.name,segment:L.id}))}),this.resultsSubject.next(l))})),eventScripts:this.eventScriptService.getAll({limit:0,includeCount:!1,filter:(0,tn.J)("eventScripts")(d),errorHandling:"silent"}).pipe((0,V.W)(()=>(0,bt.of)(null)),(0,Ye.M)(m=>{m&&m.resource&&m.resource.length&&(l.push({path:`${M.b.API_CONNECTIONS}/${M.b.EVENT_SCRIPTS}`,items:m.resource.map(L=>({label:L.name,segment:L.name}))}),this.resultsSubject.next(l))})),limits:this.limitService.getAll({limit:0,includeCount:!1,filter:(0,tn.J)("limits")(d),errorHandling:"silent"}).pipe((0,V.W)(()=>(0,bt.of)(null)),(0,Ye.M)(m=>{m&&m.resource&&m.resource.length&&(l.push({path:`${M.b.API_SECURITY}/${M.b.RATE_LIMITING}`,items:m.resource.map(L=>({label:L.name,segment:L.id}))}),this.resultsSubject.next(l))})),emailTemplates:this.emailTemplatesService.getAll({limit:0,includeCount:!1,filter:(0,tn.J)("emailTemplates")(d),errorHandling:"silent"}).pipe((0,V.W)(()=>(0,bt.of)(null)),(0,Ye.M)(m=>{m&&m.resource&&m.resource.length&&(l.push({path:`${M.b.SYSTEM_SETTINGS}/${M.b.CONFIG}/${M.b.EMAIL_TEMPLATES}`,items:m.resource.map(L=>({label:L.name,segment:L.id}))}),this.resultsSubject.next(l))}))})}getServiceRoute(d){const l=`${M.b.API_CONNECTIONS}/${M.b.API_TYPES}`;return[{route:`${l}/${M.b.DATABASE}`,types:U.H[M.b.DATABASE]},{route:`${l}/${M.b.SCRIPTING}`,types:U.H[M.b.SCRIPTING]},{route:`${l}/${M.b.NETWORK}`,types:U.H[M.b.NETWORK]},{route:`${l}/${M.b.FILE}`,types:U.H[M.b.FILE]},{route:`${l}/${M.b.UTILITY}`,types:U.H[M.b.UTILITY]},{route:`${M.b.API_SECURITY}/${M.b.AUTHENTICATION}`,types:U.H[M.b.AUTHENTICATION]},{route:`${M.b.SYSTEM_SETTINGS}/${M.b.LOGS}`,types:U.H[M.b.LOGS]}].find(L=>L.types.includes(d))?.route}static{this.\u0275fac=function(l){return new(l||N5)(a.KVO(rt.ir),a.KVO(rt.Yh),a.KVO(rt.Z1),a.KVO(rt.zs),a.KVO(rt.h1),a.KVO(rt.u7),a.KVO(rt.NO),a.KVO(rt.gu),a.KVO(rt.F8))}}static{this.\u0275prov=a.jDH({token:N5,factory:N5.\u0275fac,providedIn:"root"})}};ln=(0,y.Cg)([(0,De.d)({checkProperties:!0})],ln);var Dn=r(8818),Fn=r(19206);function Mn(f,d){1&f&&a.nrm(0,"ng-component")}const In=function(f){return{resultArray:f}};function li(f,d){if(1&f&&(a.qex(0),a.DNE(1,Mn,1,0,"ng-component",10),a.nI1(2,"async"),a.bVm()),2&f){const l=a.XpG(),m=a.sdS(13);a.R7$(1),a.Y8G("ngTemplateOutlet",m)("ngTemplateOutletContext",a.eq3(4,In,a.bMT(2,2,l.results$)))}}function yi(f,d){1&f&&a.nrm(0,"ng-component")}function Bn(f,d){if(1&f&&(a.DNE(0,yi,1,0,"ng-component",10),a.nI1(1,"async")),2&f){const l=a.XpG(),m=a.sdS(13);a.Y8G("ngTemplateOutlet",m)("ngTemplateOutletContext",a.eq3(4,In,a.bMT(1,2,l.recents$)))}}function Jn(f,d){if(1&f&&a.nrm(0,"fa-icon",16),2&f){const l=a.XpG(4);a.Y8G("icon",l.faPlus)}}function Mi(f,d){if(1&f){const l=a.RV6();a.j41(0,"li")(1,"button",14),a.bIt("click",function(){const R=a.eBV(l).$implicit,ht=a.XpG().$implicit,Pt=a.XpG(2);return a.Njj(Pt.navigate(ht.path+"/"+R.segment))}),a.DNE(2,Jn,1,1,"fa-icon",15),a.EFF(3),a.k0s()()}if(2&f){const l=d.$implicit;a.R7$(2),a.Y8G("ngIf","create"===l.segment),a.R7$(1),a.SpI(" ",l.label," ")}}function pi(f,d){if(1&f&&(a.j41(0,"ul",12)(1,"li"),a.EFF(2),a.nI1(3,"transloco"),a.j41(4,"ul"),a.DNE(5,Mi,4,2,"li",13),a.k0s()()()),2&f){const l=d.$implicit,m=a.XpG(2);a.R7$(2),a.SpI(" ",a.bMT(3,3,m.getTranslationKey(l.path))," "),a.R7$(3),a.Y8G("ngForOf",l.items)("ngForTrackBy",m.trackByItemSegment)}}function Fi(f,d){if(1&f&&a.DNE(0,pi,6,5,"ul",11),2&f){const l=d.resultArray,m=a.XpG();a.Y8G("ngForOf",l)("ngForTrackBy",m.trackByResultPath)}}let oi=class Zb{constructor(d,l,m,L,R){this.dialogRef=d,this.searchService=l,this.router=m,this.breakpointService=L,this.themeService=R,this.search=new Mt.MJ,this.results$=this.searchService.results$,this.recents$=this.searchService.recents$,this.smallScreen$=this.breakpointService.isSmallScreen,this.faPlus=K.QLR,this.isDarkMode=this.themeService.darkMode$}getTranslationKey(d){return`nav.${d.replaceAll("/",".")}.nav`}ngOnInit(){this.search.valueChanges.pipe((0,I.B)(2e3),(0,_t.F)(),(0,j.n)(d=>this.searchService.search(d))).subscribe()}trackByResultPath(d,l){return l.path}trackByItemSegment(d,l){return l.segment??l.label??""}navigate(d){this.router.navigate([d]),this.dialogRef.close()}static{this.\u0275fac=function(l){return new(l||Zb)(a.rXU(Q.CP),a.rXU(ln),a.rXU(T.Ix),a.rXU(Dn.R),a.rXU(Fn.n))}}static{this.\u0275cmp=a.VBU({type:Zb,selectors:[["df-search-dialog"]],standalone:!0,features:[a.aNF],decls:18,vars:13,consts:[[1,"search-dialog"],["mat-dialog-title","",1,"search-bar"],["appearance","outline","subscriptSizing","dynamic",1,"search-input"],["matInput","",3,"formControl"],["mat-dialog-content","",1,"search-container"],[4,"ngIf","ngIfElse"],["recent",""],["results",""],["mat-dialog-actions","",1,"search-action"],["mat-button","",1,"close-btn",3,"mat-dialog-close"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],["class","result-groups",4,"ngFor","ngForOf","ngForTrackBy"],[1,"result-groups"],[4,"ngFor","ngForOf","ngForTrackBy"],["color","primary","mat-stroked-button","",1,"result-item",3,"click"],[3,"icon",4,"ngIf"],[3,"icon"]],template:function(l,m){if(1&l&&(a.j41(0,"div",0)(1,"div",1)(2,"mat-form-field",2)(3,"mat-label"),a.EFF(4),a.nI1(5,"transloco"),a.k0s(),a.nrm(6,"input",3),a.k0s()(),a.j41(7,"div",4),a.nI1(8,"async"),a.DNE(9,li,3,6,"ng-container",5),a.DNE(10,Bn,2,6,"ng-template",null,6,a.C5r),a.DNE(12,Fi,1,2,"ng-template",null,7,a.C5r),a.k0s(),a.j41(14,"div",8)(15,"button",9),a.EFF(16),a.nI1(17,"transloco"),a.k0s()()()),2&l){const L=a.sdS(11);a.R7$(4),a.JRh(a.bMT(5,7,"search")),a.R7$(2),a.Y8G("formControl",m.search),a.R7$(1),a.AVh("small",a.bMT(8,9,m.smallScreen$)),a.R7$(2),a.Y8G("ngIf",m.search.value)("ngIfElse",L),a.R7$(7),a.SpI(" ",a.bMT(17,11,"close")," ")}},dependencies:[Q.hM,Q.tx,Q.BI,Q.Yi,Q.E7,at.Kj,Wt.RG,Wt.rl,Wt.nJ,se.fS,se.fg,k.Hl,k.$z,Mt.X1,Mt.me,Mt.BC,Mt.l_,b.pM,T.iI,T.we,b.Jj,b.bT,b.T3,q.dX,q.aY],styles:["[_nghost-%COMP%]{display:block;background:var(--df-surface);color:var(--df-text);--mdc-dialog-subhead-color: var(--df-text);--mdc-dialog-supporting-text-color: var(--df-text-2)}mat-dialog-actions[_ngcontent-%COMP%], [mat-dialog-actions][_ngcontent-%COMP%]{border-top:1px solid var(--df-border-2)}.search-dialog[_ngcontent-%COMP%]{padding-top:20px}.search-bar[_ngcontent-%COMP%]{min-width:275px}.search-container[_ngcontent-%COMP%]{max-height:500px;min-width:425px;overflow:auto}.search-container.small[_ngcontent-%COMP%]{min-width:300px}.search-container[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{list-style-type:none;padding-left:0}.result-groups[_ngcontent-%COMP%] > li[_ngcontent-%COMP%]{font-size:11px;font-weight:600;text-transform:uppercase;letter-spacing:.06em;color:var(--df-text-muted)}.result-groups[_ngcontent-%COMP%] > li[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{margin-top:4px;font-size:1.4rem;font-weight:400;text-transform:none;letter-spacing:normal}.result-item[_ngcontent-%COMP%]{width:100%;justify-content:left;margin:2px 0}"]})}};oi=(0,y.Cg)([(0,De.d)({checkProperties:!0})],oi);var Ti=r(60368);let Mo=(()=>{class f{constructor(){this.isDarkMode$=new ve.t(!0),this.themeService=(0,a.WQX)(Fn.n),this.transloco=(0,a.WQX)(at.JO)}toggle(){this.isDarkMode$.subscribe(l=>{this.themeService.setThemeMode(!l)}),this.isDarkMode$.next(!this.isDarkMode$.value)}togglePhosphor(){const l=!this.themeService.phosphor$.value;this.themeService.setPhosphorMode(l),l&&this.playBootSequence()}playBootSequence(){if(typeof document>"u"||document.querySelector(".phosphor-boot"))return;const l=typeof window<"u"&&window.matchMedia&&window.matchMedia("(prefers-reduced-motion: reduce)").matches,m=this.transloco.translate("phosphor.boot"),L=m&&"phosphor.boot"!==m?m:"SHALL WE PLAY A GAME?",R=document.createElement("div");R.className="phosphor-boot";const ht=document.createElement("div");ht.className="phosphor-boot__scanline";const Pt=document.createElement("div");Pt.className="phosphor-boot__line",Pt.textContent=L,Pt.style.setProperty("--boot-w",`${L.length}ch`),l||(Pt.style.animation=`phosphor-boot-type 0.9s steps(${L.length}, end) 0.4s forwards, phosphor-boot-caret 0.6s step-end 0.4s 4`),R.appendChild(ht),R.appendChild(Pt),document.body.appendChild(R);let Ft=!1;const qt=()=>Ae(),Ae=()=>{Ft||(Ft=!0,window.removeEventListener("click",qt,!0),window.removeEventListener("keydown",qt,!0),R.classList.add("phosphor-boot--out"),window.setTimeout(()=>R.remove(),320))},$e=()=>{Ft||(window.addEventListener("click",qt,!0),window.addEventListener("keydown",qt,!0))};"function"==typeof window.requestAnimationFrame?window.requestAnimationFrame($e):window.setTimeout($e,0),window.setTimeout(Ae,l?450:1500)}static{this.\u0275fac=function(m){return new(m||f)}}static{this.\u0275cmp=a.VBU({type:f,selectors:[["df-theme-toggle"]],standalone:!0,features:[a.aNF],decls:4,vars:3,consts:[["color","primary",3,"checked","change"],["type","button","title","Phosphor mode","aria-label","Toggle phosphor mode",1,"phosphor-toggle",3,"click"]],template:function(m,L){1&m&&(a.j41(0,"mat-slide-toggle",0),a.bIt("change",function(){return L.toggle()}),a.nI1(1,"async"),a.k0s(),a.j41(2,"button",1),a.bIt("click",function(){return L.togglePhosphor()}),a.EFF(3," >_\n"),a.k0s()),2&m&&a.Y8G("checked",a.bMT(1,1,L.isDarkMode$))},dependencies:[Ti.mV,Ti.sG,b.Jj],styles:["[_nghost-%COMP%]{display:inline-flex;align-items:center;gap:4px}.phosphor-toggle[_ngcontent-%COMP%]{font-family:SFMono-Regular,Menlo,Consolas,monospace;font-size:12px;font-weight:700;line-height:1;min-width:30px;height:30px;padding:0 6px;border-radius:6px;border:1px solid transparent;background:transparent;color:var(--df-text-muted);cursor:pointer}.phosphor-toggle[_ngcontent-%COMP%]:hover{border-color:var(--df-border);color:var(--df-text)}.phosphor-theme[_nghost-%COMP%] .phosphor-toggle[_ngcontent-%COMP%], .phosphor-theme [_nghost-%COMP%] .phosphor-toggle[_ngcontent-%COMP%]{color:#3f6;border-color:#3f66;text-shadow:0 0 5px rgba(51,255,102,.5)}"]})}}return f})();var si=r(10056),Zc=r(3819),dc=r(86953),kr=r(83607),uo=r(62572),Jo=r(68686);const uc="df.commandPalette.recents",Jc=["action","service","role","key","mcp","doc"],Oi={action:"commandPalette.groups.actions",service:"commandPalette.groups.services",role:"commandPalette.groups.roles",key:"commandPalette.groups.keys",mcp:"commandPalette.groups.mcp",doc:"commandPalette.groups.docs"};let mc=(()=>{class f{constructor(){this.http=(0,a.WQX)(uo.Qq),this.objects$=new ve.t([]),this.loaded=!1,this.verbs=[{id:"verb.new-service",kind:"action",label:"New service",sublabel:"Connect a datasource",path:`/${M.b.API_CONNECTIONS}/${M.b.API_TYPES}/${M.b.DATABASE}/${M.b.CREATE}`,keywords:"create add api database connection datasource generate"},{id:"verb.new-role",kind:"action",label:"New role",sublabel:"Scope access for a caller",path:`/${M.b.API_CONNECTIONS}/${M.b.ROLE_BASED_ACCESS}/${M.b.CREATE}`,keywords:"create add rbac permission scope access"},{id:"verb.new-key",kind:"action",label:"New API key",sublabel:"Mint a caller credential",path:`/${M.b.API_CONNECTIONS}/${M.b.API_KEYS}/${M.b.CREATE}`,keywords:"create add app token credential apikey"},{id:"verb.expose-mcp",kind:"action",label:"Expose as MCP",sublabel:"Serve a service to agents",path:`/${M.b.AI}/${M.b.AI_MCP}`,keywords:"mcp tool agent model context protocol ai"},{id:"verb.view-logs",kind:"action",label:"View logs",sublabel:"System log stream",path:`/${M.b.SYSTEM_SETTINGS}/${M.b.LOGS}`,keywords:"log debug trace error output"},{id:"verb.new-limit",kind:"action",label:"New rate limit",sublabel:"Cap requests on a path",path:`/${M.b.API_SECURITY}/${M.b.RATE_LIMITING}/${M.b.CREATE}`,keywords:"create add throttle 429 limit quota"},{id:"verb.new-script",kind:"action",label:"New event script",sublabel:"Hook a request lifecycle event",path:`/${M.b.API_CONNECTIONS}/${M.b.EVENT_SCRIPTS}/${M.b.CREATE}`,keywords:"create add hook lifecycle php python nodejs"}],this.jumps=[{id:"jump.home",kind:"doc",label:"Home",path:`/${M.b.HOME}`,keywords:"dashboard start overview"},{id:"jump.api-connections",kind:"doc",label:"API Connections",path:`/${M.b.API_CONNECTIONS}`,keywords:"services build database"},{id:"jump.api-docs",kind:"doc",label:"API Docs",path:`/${M.b.API_CONNECTIONS}/${M.b.API_DOCS}`,keywords:"swagger openapi try reference"},{id:"jump.roles",kind:"doc",label:"Roles",path:`/${M.b.API_CONNECTIONS}/${M.b.ROLE_BASED_ACCESS}`,keywords:"rbac access permission scope"},{id:"jump.keys",kind:"doc",label:"API Keys",path:`/${M.b.API_CONNECTIONS}/${M.b.API_KEYS}`,keywords:"apps tokens credentials"},{id:"jump.rate-limiting",kind:"doc",label:"Rate Limiting",path:`/${M.b.API_SECURITY}/${M.b.RATE_LIMITING}`,keywords:"throttle quota 429 security"},{id:"jump.ai",kind:"doc",label:"AI Gateway",path:`/${M.b.AI}`,keywords:"llm model agent chat"},{id:"jump.ai-usage",kind:"doc",label:"AI Usage",path:`/${M.b.AI}/${M.b.AI_USAGE}`,keywords:"cost spend tokens metering"},{id:"jump.event-scripts",kind:"doc",label:"Event Scripts",path:`/${M.b.API_CONNECTIONS}/${M.b.EVENT_SCRIPTS}`,keywords:"hooks lifecycle scripting"},{id:"jump.scheduler",kind:"doc",label:"Scheduler",path:`/${M.b.SYSTEM_SETTINGS}/${M.b.SCHEDULER}`,keywords:"cron task job schedule"},{id:"jump.logs",kind:"doc",label:"Logs",path:`/${M.b.SYSTEM_SETTINGS}/${M.b.LOGS}`,keywords:"debug trace output"},{id:"jump.admins",kind:"doc",label:"Admins",path:`/${M.b.ADMIN_SETTINGS}/${M.b.ADMINS}`,keywords:"administrators team users"},{id:"jump.users",kind:"doc",label:"Users",path:`/${M.b.ADMIN_SETTINGS}/${M.b.USERS}`,keywords:"accounts people"}]}refresh(){return(0,oe.p)({services:this.http.get(`${Jo.C}/system/service`,{params:{fields:"id,name,label,type",sort:"name",limit:"500"}}).pipe((0,V.W)(()=>(0,bt.of)({resource:[]}))),roles:this.http.get(`${Jo.C}/system/role`,{params:{fields:"id,name,description",sort:"name",limit:"500"}}).pipe((0,V.W)(()=>(0,bt.of)({resource:[]}))),apps:this.http.get(`${Jo.C}/system/app`,{params:{fields:"id,name,description",sort:"name",limit:"500"}}).pipe((0,V.W)(()=>(0,bt.of)({resource:[]})))}).pipe((0,J.T)(({services:l,roles:m,apps:L})=>{const R=[];for(const ht of l.resource??[])R.push({id:`service.${ht.id}`,kind:"mcp"===ht.type?"mcp":"service",label:ht.label||ht.name,sublabel:ht.type,path:`/${M.b.API_CONNECTIONS}/${M.b.API_DOCS}/${ht.name}`,keywords:`${ht.name} ${ht.type}`});for(const ht of m.resource??[])R.push({id:`role.${ht.id}`,kind:"role",label:ht.name,sublabel:ht.description||void 0,path:`/${M.b.API_CONNECTIONS}/${M.b.ROLE_BASED_ACCESS}/${ht.id}`,keywords:"role rbac access"});for(const ht of L.resource??[])R.push({id:`key.${ht.id}`,kind:"key",label:ht.name,sublabel:ht.description||void 0,path:`/${M.b.API_CONNECTIONS}/${M.b.API_KEYS}/${ht.id}`,keywords:"api key app token credential"});return R}),(0,Ye.M)(l=>{this.objects$.next(l),this.loaded=!0}))}all(){return[...this.verbs,...this.objects$.value,...this.jumps]}query(l){const m=l.trim().toLowerCase();if(!m)return[];const L=this.all().map(ht=>({item:ht,score:this.score(m,ht)})).filter(ht=>ht.score>0).sort((ht,Pt)=>Pt.score-ht.score),R=new Map;for(const{item:ht}of L){const Pt=R.get(ht.kind)??[];Pt.length<8&&(Pt.push(ht),R.set(ht.kind,Pt))}return Jc.filter(ht=>R.has(ht)).map(ht=>({kind:ht,labelKey:Oi[ht],items:R.get(ht)}))}emptyState(l){const m=[],L=this.getRecents();L.length&&m.push({kind:"doc",labelKey:"commandPalette.groups.recent",items:L});const R=this.suggestFor(l);return R.length&&m.push({kind:"action",labelKey:"commandPalette.groups.suggested",items:R}),m}suggestFor(l){const m=ht=>this.verbs.find(Pt=>Pt.id===ht),L=ht=>this.jumps.find(Pt=>Pt.id===ht);let R;return R=l.includes(M.b.API_KEYS)?[m("verb.new-key"),L("jump.roles"),m("verb.new-role")]:l.includes(M.b.ROLE_BASED_ACCESS)?[m("verb.new-role"),m("verb.new-key"),L("jump.ai")]:l.includes(M.b.AI)?[m("verb.expose-mcp"),L("jump.ai-usage"),L("jump.roles")]:l.includes(M.b.RATE_LIMITING)?[m("verb.new-limit"),L("jump.roles"),m("verb.view-logs")]:l.includes(M.b.API_DOCS)?[m("verb.new-key"),m("verb.new-role"),L("jump.ai")]:[m("verb.new-service"),m("verb.new-key"),L("jump.ai")],R.filter(ht=>!!ht)}score(l,m){const L=m.label.toLowerCase(),R=`${L} ${m.keywords??""}`.toLowerCase();if(L.startsWith(l))return 1e3-L.length;if(L.includes(l))return 700-L.indexOf(l);let ht=0,Pt=0,Ft=0,qt=0;for(let Ae=0;Ae0?(Ft++,Pt+=8+2*Ft):(Ft=0,Pt+=0===mn||" "===R[mn-1]?6:2),ht=mn+1}return qt===l.length?Math.max(1,Pt):0}getRecents(){try{const l=localStorage.getItem(uc);if(!l)return[];const m=JSON.parse(l);return Array.isArray(m)?m:[]}catch{return[]}}pushRecent(l){try{const m=[l,...this.getRecents().filter(L=>L.id!==l.id)].slice(0,6);localStorage.setItem(uc,JSON.stringify(m))}catch{}}get isLoaded(){return this.loaded}static{this.\u0275fac=function(m){return new(m||f)}}static{this.\u0275prov=a.jDH({token:f,factory:f.\u0275fac,providedIn:"root"})}}return f})();const Bo=["searchInput"],Vo=["list"];function Ec(f,d){if(1&f&&(a.j41(0,"span",22),a.EFF(1),a.k0s()),2&f){const l=a.XpG().$implicit;a.R7$(1),a.JRh(l.sublabel)}}function Bc(f,d){if(1&f){const l=a.RV6();a.j41(0,"button",16),a.bIt("click",function(){const R=a.eBV(l).$implicit,ht=a.XpG(3);return a.Njj(ht.run(R))}),a.nrm(1,"fa-icon",17),a.j41(2,"span",18)(3,"span",19),a.EFF(4),a.k0s(),a.DNE(5,Ec,2,1,"span",20),a.k0s(),a.nrm(6,"fa-icon",21),a.k0s()}if(2&f){const l=d.$implicit,m=a.XpG(3);a.AVh("active",m.isActive(l)),a.BMQ("aria-selected",m.isActive(l)),a.R7$(1),a.HbH("palette-option__icon--"+l.kind),a.Y8G("icon",m.icon(l.kind)),a.R7$(3),a.JRh(l.label),a.R7$(1),a.Y8G("ngIf",l.sublabel),a.R7$(1),a.Y8G("icon",m.faArrowRight)}}function Ji(f,d){if(1&f&&(a.j41(0,"div",13)(1,"div",14),a.EFF(2),a.nI1(3,"transloco"),a.k0s(),a.DNE(4,Bc,7,9,"button",15),a.k0s()),2&f){const l=d.$implicit,m=a.XpG(2);a.R7$(2),a.JRh(a.bMT(3,3,l.labelKey)),a.R7$(2),a.Y8G("ngForOf",l.items)("ngForTrackBy",m.trackByItem)}}function fc(f,d){if(1&f&&(a.qex(0),a.DNE(1,Ji,5,5,"div",12),a.bVm()),2&f){const l=a.XpG();a.R7$(1),a.Y8G("ngForOf",l.groups)("ngForTrackBy",l.trackByGroup)}}function Uo(f,d){1&f&&(a.j41(0,"div",23),a.EFF(1),a.nI1(2,"transloco"),a.k0s()),2&f&&(a.R7$(1),a.SpI(" ",a.bMT(2,1,"commandPalette.noResults")," "))}let Lo=class Jb{constructor(){this.registry=(0,a.WQX)(mc),this.router=(0,a.WQX)(T.Ix),this.currentUrl="/",this.search=new Mt.MJ("",{nonNullable:!0}),this.groups=[],this.flat=[],this.emptyState=!0,this.faMagnifyingGlass=K.$UM,this.faArrowRight=K.dmS,this.kindIcon={action:K.zm_,service:K.hem,role:K.CN3,key:K.bMg,mcp:K.QtJ,doc:K.LBj},this.trackByGroup=(d,l)=>l.kind+l.labelKey,this.trackByItem=(d,l)=>l.id}ngOnInit(){this.render(this.registry.emptyState(this.currentUrl),!0),this.registry.refresh().pipe((0,De.s)(this)).subscribe(()=>{this.emptyState?this.render(this.registry.emptyState(this.currentUrl),!0):this.render(this.registry.query(this.search.value),!1)}),this.search.valueChanges.pipe((0,I.B)(90),(0,De.s)(this)).subscribe(d=>{const l=d.trim();l?this.render(this.registry.query(l),!1):this.render(this.registry.emptyState(this.currentUrl),!0)}),queueMicrotask(()=>this.searchInput?.nativeElement.focus())}render(d,l){this.groups=d,this.emptyState=l,this.flat=d.flatMap(m=>m.items),this.keyManager=new kr.l3(this.flat).withWrap(),this.flat.length&&this.keyManager.setActiveItem(0)}icon(d){return this.kindIcon[d]}isActive(d){return this.keyManager?.activeItem===d}onKeydown(d){switch(d.key){case"ArrowDown":case"ArrowUp":this.keyManager.onKeydown(d),this.scrollActiveIntoView();break;case"Enter":d.preventDefault(),this.keyManager.activeItem&&this.run(this.keyManager.activeItem);break;case"Escape":d.preventDefault(),this.close()}}run(d){this.registry.pushRecent(d),this.router.navigateByUrl(d.path),this.close()}close(){this.overlayRef?.dispose()}scrollActiveIntoView(){queueMicrotask(()=>{this.list?.nativeElement.querySelector(".palette-option.active")?.scrollIntoView({block:"nearest"})})}static{this.\u0275fac=function(l){return new(l||Jb)}}static{this.\u0275cmp=a.VBU({type:Jb,selectors:[["df-command-palette"]],viewQuery:function(l,m){if(1&l&&(a.GBs(Bo,7),a.GBs(Vo,5)),2&l){let L;a.mGM(L=a.lsd())&&(m.searchInput=L.first),a.mGM(L=a.lsd())&&(m.list=L.first)}},standalone:!0,features:[a.aNF],decls:26,vars:13,consts:[[1,"palette",3,"keydown"],[1,"palette-search"],[1,"palette-search__icon",3,"icon"],["type","text","autocomplete","off","spellcheck","false",1,"palette-search__input",3,"formControl"],["searchInput",""],[1,"palette-search__hint"],["role","listbox",1,"palette-list"],["list",""],[4,"ngIf","ngIfElse"],["noResults",""],[1,"palette-foot"],[1,"palette-foot__group"],["class","palette-group",4,"ngFor","ngForOf","ngForTrackBy"],[1,"palette-group"],[1,"palette-group__label"],["type","button","role","option","class","palette-option",3,"active","click",4,"ngFor","ngForOf","ngForTrackBy"],["type","button","role","option",1,"palette-option",3,"click"],[1,"palette-option__icon",3,"icon"],[1,"palette-option__text"],[1,"palette-option__label"],["class","palette-option__sub",4,"ngIf"],[1,"palette-option__go",3,"icon"],[1,"palette-option__sub"],[1,"palette-none"]],template:function(l,m){if(1&l&&(a.j41(0,"div",0),a.bIt("keydown",function(R){return m.onKeydown(R)}),a.j41(1,"div",1),a.nrm(2,"fa-icon",2)(3,"input",3,4),a.nI1(5,"transloco"),a.j41(6,"kbd",5),a.EFF(7,"esc"),a.k0s()(),a.j41(8,"div",6,7),a.DNE(10,fc,2,2,"ng-container",8),a.DNE(11,Uo,3,3,"ng-template",null,9,a.C5r),a.k0s(),a.j41(13,"div",10)(14,"span",11)(15,"kbd"),a.EFF(16,"\u2191"),a.k0s(),a.j41(17,"kbd"),a.EFF(18,"\u2193"),a.k0s(),a.EFF(19),a.nI1(20,"transloco"),a.k0s(),a.j41(21,"span",11)(22,"kbd"),a.EFF(23,"\u21b5"),a.k0s(),a.EFF(24),a.nI1(25,"transloco"),a.k0s()()()),2&l){const L=a.sdS(12);a.R7$(2),a.Y8G("icon",m.faMagnifyingGlass),a.R7$(1),a.Y8G("formControl",m.search),a.BMQ("placeholder",a.bMT(5,7,"commandPalette.placeholder")),a.R7$(7),a.Y8G("ngIf",m.groups.length)("ngIfElse",L),a.R7$(9),a.SpI(" ",a.bMT(20,9,"commandPalette.foot.navigate")," "),a.R7$(5),a.SpI(" ",a.bMT(25,11,"commandPalette.foot.select")," ")}},dependencies:[Mt.X1,Mt.me,Mt.BC,Mt.l_,b.pM,b.bT,at.Kj,q.dX,q.aY],styles:["[_nghost-%COMP%]{display:block;width:min(92vw,600px);animation:_ngcontent-%COMP%_palette-in var(--df-duration-fast) var(--df-ease-emphasized);transform-origin:top center}@keyframes _ngcontent-%COMP%_palette-in{0%{opacity:0;transform:translateY(-4px) scale(.98)}to{opacity:1;transform:translateY(0) scale(1)}}.palette[_ngcontent-%COMP%]{display:flex;flex-direction:column;max-height:min(70vh,560px);background:var(--df-surface);color:var(--df-text);border:1px solid var(--df-border);border-radius:var(--df-radius);box-shadow:var(--df-shadow-overlay);overflow:hidden}.palette-search[_ngcontent-%COMP%]{display:flex;align-items:center;gap:var(--df-space-3);padding:0 var(--df-space-4);height:52px;border-bottom:1px solid var(--df-border-2);flex:0 0 auto}.palette-search__icon[_ngcontent-%COMP%]{color:var(--df-text-muted);font-size:var(--df-font-size-md)}.palette-search__input[_ngcontent-%COMP%]{flex:1 1 auto;border:0;outline:0;background:transparent;color:var(--df-text);font-size:var(--df-font-size-lg);line-height:var(--df-lh-base)}.palette-search__input[_ngcontent-%COMP%]::placeholder{color:var(--df-text-muted)}.palette-search__hint[_ngcontent-%COMP%]{color:var(--df-text-muted)}.palette-list[_ngcontent-%COMP%]{flex:1 1 auto;overflow-y:auto;padding:var(--df-space-2)}.palette-group[_ngcontent-%COMP%] + .palette-group[_ngcontent-%COMP%]{margin-top:var(--df-space-2)}.palette-group__label[_ngcontent-%COMP%]{padding:var(--df-space-2) var(--df-space-3) var(--df-space-1);font-size:var(--df-font-size-xs);font-weight:var(--df-font-weight-heading);text-transform:uppercase;letter-spacing:var(--df-tracking-eyebrow);color:var(--df-text-muted)}.palette-option[_ngcontent-%COMP%]{display:flex;align-items:center;gap:var(--df-space-3);width:100%;padding:var(--df-space-2) var(--df-space-3);border:0;border-radius:var(--df-radius-sm);background:transparent;color:var(--df-text);text-align:left;cursor:pointer;transition:background var(--df-duration-fast) var(--df-ease-standard)}.palette-option[_ngcontent-%COMP%]:hover{background:var(--df-hover)}.palette-option.active[_ngcontent-%COMP%]{background:var(--df-accent-soft)}.palette-option__icon[_ngcontent-%COMP%]{flex:0 0 auto;width:22px;height:22px;display:flex;align-items:center;justify-content:center;border-radius:var(--df-radius-sm);font-size:var(--df-font-size-xs);color:var(--df-text-2);background:var(--df-surface-2)}.palette-option__icon--action[_ngcontent-%COMP%]{color:var(--df-tint-build-fg);background:var(--df-tint-build-bg)}.palette-option__icon--service[_ngcontent-%COMP%]{color:var(--df-tint-data-fg);background:var(--df-tint-data-bg)}.palette-option__icon--role[_ngcontent-%COMP%]{color:var(--df-tint-security-fg);background:var(--df-tint-security-bg)}.palette-option__icon--key[_ngcontent-%COMP%]{color:var(--df-tint-system-fg);background:var(--df-tint-system-bg)}.palette-option__icon--mcp[_ngcontent-%COMP%]{color:var(--df-tint-ai-fg);background:var(--df-tint-ai-bg)}.palette-option__icon--doc[_ngcontent-%COMP%]{color:var(--df-tint-docs-fg);background:var(--df-tint-docs-bg)}.palette-option__text[_ngcontent-%COMP%]{flex:1 1 auto;min-width:0;display:flex;flex-direction:column;line-height:var(--df-lh-tight)}.palette-option__label[_ngcontent-%COMP%]{font-size:var(--df-font-size-sm);color:var(--df-text);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.palette-option__sub[_ngcontent-%COMP%]{margin-top:2px;font-size:var(--df-font-size-xs);color:var(--df-text-muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.palette-option__go[_ngcontent-%COMP%]{flex:0 0 auto;font-size:var(--df-font-size-xs);color:var(--df-text-muted);opacity:0;transition:opacity var(--df-duration-fast) var(--df-ease-standard)}.palette-option.active[_ngcontent-%COMP%] .palette-option__go[_ngcontent-%COMP%]{opacity:1}.palette-none[_ngcontent-%COMP%]{padding:var(--df-space-6) var(--df-space-4);text-align:center;font-size:var(--df-font-size-sm);color:var(--df-text-muted)}.palette-foot[_ngcontent-%COMP%]{display:flex;gap:var(--df-space-5);align-items:center;padding:var(--df-space-2) var(--df-space-4);border-top:1px solid var(--df-border-2);flex:0 0 auto;font-size:var(--df-font-size-xs);color:var(--df-text-muted)}.palette-foot__group[_ngcontent-%COMP%]{display:inline-flex;align-items:center;gap:var(--df-space-2)}kbd[_ngcontent-%COMP%]{display:inline-flex;align-items:center;justify-content:center;min-width:18px;height:18px;padding:0 var(--df-space-1);border:1px solid var(--df-border);border-radius:var(--df-radius-sm);background:var(--df-surface-2);color:var(--df-text-2);font-family:var(--df-font-mono);font-size:var(--df-font-size-xs);line-height:1}"]})}};Lo=(0,y.Cg)([(0,De.d)()],Lo);let Ii=(()=>{class f{constructor(){this.overlay=(0,a.WQX)(Zc.hJ),this.router=(0,a.WQX)(T.Ix)}toggle(){this.ref?this.close():this.open()}open(){if(this.ref)return;const l=this.overlay.position().global().centerHorizontally().top("12vh"),m=this.overlay.create({positionStrategy:l,scrollStrategy:this.overlay.scrollStrategies.block(),hasBackdrop:!0,panelClass:"df-palette-panel",disposeOnNavigation:!0});this.ref=m;const L=new dc.A8(Lo),R=m.attach(L);R.instance.overlayRef=m,R.instance.currentUrl=this.router.url,m.backdropClick().subscribe(()=>this.close()),m.detachments().subscribe(()=>{this.ref=void 0})}close(){this.ref?.dispose(),this.ref=void 0}static{this.\u0275fac=function(m){return new(m||f)}}static{this.\u0275prov=a.jDH({token:f,factory:f.\u0275fac,providedIn:"root"})}}return f})();function En(f,d){1&f&&a.nrm(0,"ng-component")}function di(f,d){if(1&f&&(a.qex(0),a.j41(1,"a",30),a.DNE(2,En,1,0,"ng-component",31),a.k0s(),a.bVm()),2&f){const l=a.XpG().$implicit,m=a.sdS(5);a.R7$(1),a.Y8G("routerLink",l.path),a.R7$(1),a.Y8G("ngTemplateOutlet",m)}}function ei(f,d){1&f&&a.nrm(0,"ng-component")}function Eo(f,d){if(1&f&&(a.j41(0,"span",32),a.DNE(1,ei,1,0,"ng-component",31),a.k0s()),2&f){a.XpG();const l=a.sdS(5);a.R7$(1),a.Y8G("ngTemplateOutlet",l)}}function ci(f,d){if(1&f&&(a.qex(0),a.j41(1,"span"),a.EFF(2),a.nI1(3,"transloco"),a.k0s(),a.bVm()),2&f){const l=a.XpG(2).$implicit;a.R7$(2),a.JRh(a.bMT(3,1,l.translationKey))}}function Wi(f,d){if(1&f&&(a.j41(0,"span"),a.EFF(1),a.k0s()),2&f){const l=a.XpG(2).$implicit;a.R7$(1),a.JRh(l.label)}}function Do(f,d){if(1&f&&(a.DNE(0,ci,4,3,"ng-container",26),a.DNE(1,Wi,2,1,"ng-template",null,33,a.C5r)),2&f){const l=a.sdS(2),m=a.XpG().$implicit;a.Y8G("ngIf",m.translationKey)("ngIfElse",l)}}function Oo(f,d){1&f&&(a.j41(0,"span",34),a.EFF(1,"/"),a.k0s())}function mo(f,d){if(1&f&&(a.qex(0),a.DNE(1,di,3,2,"ng-container",26),a.DNE(2,Eo,2,1,"ng-template",null,27,a.C5r),a.DNE(4,Do,3,2,"ng-template",null,28,a.C5r),a.DNE(6,Oo,2,0,"span",29),a.bVm()),2&f){const l=d.$implicit,m=d.index,L=a.sdS(3),R=a.XpG(2);a.R7$(1),a.Y8G("ngIf",l.path)("ngIfElse",L),a.R7$(5),a.Y8G("ngIf",m!==R.breadCrumbs.length-1)}}function qo(f,d){if(1&f){const l=a.RV6();a.j41(0,"button",24),a.bIt("click",function(){const R=a.eBV(l).$implicit,ht=a.XpG(3);return a.Njj(ht.handleLanguageChange(R))}),a.EFF(1),a.nI1(2,"transloco"),a.k0s()}if(2&f){const l=d.$implicit;a.R7$(1),a.SpI(" ",a.bMT(2,1,"languages."+l)," ")}}function qn(f,d){if(1&f&&(a.qex(0),a.j41(1,"button",35),a.nI1(2,"transloco"),a.nrm(3,"fa-icon",21),a.k0s(),a.j41(4,"mat-menu",null,36),a.DNE(6,qo,3,3,"button",37),a.k0s(),a.bVm()),2&f){const l=a.sdS(5),m=a.XpG(2);a.R7$(1),a.Y8G("matMenuTriggerFor",l),a.BMQ("aria-label",a.bMT(2,4,"language")),a.R7$(2),a.Y8G("icon",m.faLanguage),a.R7$(3),a.Y8G("ngForOf",m.availableLanguages)}}function We(f,d){1&f&&(a.j41(0,"div",38)(1,"span"),a.EFF(2),a.nI1(3,"transloco"),a.nI1(4,"transloco"),a.k0s()()),2&f&&(a.R7$(2),a.Lme("",a.bMT(3,2,"licenseExpired.header")," ",a.bMT(4,4,"licenseExpired.subHeader"),""))}function Cn(f,d){if(1&f){const l=a.RV6();a.qex(0),a.j41(1,"mat-toolbar",9)(2,"div",10)(3,"button",11),a.bIt("click",function(){a.eBV(l),a.XpG();const L=a.sdS(7);return a.Njj(L.toggle())}),a.nI1(4,"transloco"),a.nrm(5,"fa-icon",12),a.k0s()(),a.j41(6,"nav",13),a.DNE(7,mo,7,3,"ng-container",14),a.k0s(),a.nrm(8,"span",15),a.j41(9,"button",16),a.bIt("click",function(){a.eBV(l);const L=a.XpG();return a.Njj(L.handleSearchClick())}),a.nrm(10,"fa-icon",17),a.j41(11,"span",18),a.EFF(12,"Search"),a.k0s(),a.j41(13,"span",19),a.EFF(14,"Ctrl K"),a.k0s()(),a.DNE(15,qn,7,6,"ng-container",1),a.nrm(16,"df-theme-toggle"),a.j41(17,"button",20),a.nrm(18,"fa-icon",21),a.EFF(19),a.nI1(20,"async"),a.k0s(),a.j41(21,"mat-menu",null,22)(23,"button",23),a.EFF(24),a.nI1(25,"transloco"),a.k0s(),a.j41(26,"button",24),a.bIt("click",function(){a.eBV(l);const L=a.XpG();return a.Njj(L.logout())}),a.EFF(27),a.nI1(28,"transloco"),a.k0s()()(),a.DNE(29,We,5,6,"div",25),a.nI1(30,"async"),a.nI1(31,"async"),a.nI1(32,"async"),a.bVm()}if(2&f){const l=a.sdS(22),m=a.XpG();let L,R;a.R7$(3),a.BMQ("aria-label",a.bMT(4,11,"toggleNav")),a.R7$(2),a.Y8G("icon",m.faBars),a.R7$(2),a.Y8G("ngForOf",m.breadCrumbs),a.R7$(3),a.Y8G("icon",m.faMagnifyingGlass),a.R7$(5),a.Y8G("ngIf",m.availableLanguages.length>1),a.R7$(2),a.Y8G("matMenuTriggerFor",l),a.R7$(1),a.Y8G("icon",m.faUser),a.R7$(1),a.SpI(" ",null==(L=a.bMT(20,13,m.userData$))?null:L.name," "),a.R7$(5),a.SpI(" ",a.bMT(25,15,"nav.profile.header")," "),a.R7$(3),a.SpI(" ",a.bMT(28,17,"nav.logout.header")," "),a.R7$(2),a.Y8G("ngIf",("Expired"===(null==(R=a.bMT(30,19,m.licenseCheck$))?null:R.msg)||"Unknown"===(null==(R=a.bMT(31,21,m.licenseCheck$))?null:R.msg))&&null===a.bMT(32,23,m.trial$))}}function Hn(f,d){1&f&&(a.qex(0),a.j41(1,"div",39)(2,"div",40)(3,"div",41),a.nrm(4,"img",42),a.j41(5,"h3"),a.EFF(6,"Self Hosted"),a.k0s()(),a.j41(7,"div",41),a.nrm(8,"img",43),a.j41(9,"h3"),a.EFF(10," Database & Network"),a.nrm(11,"br"),a.EFF(12," API Generation "),a.k0s()(),a.j41(13,"div",41),a.nrm(14,"img",44),a.j41(15,"h3"),a.EFF(16,"API Security"),a.k0s()(),a.j41(17,"div",41),a.nrm(18,"img",45),a.j41(19,"h3"),a.EFF(20,"API Scripting"),a.k0s()()()(),a.bVm())}function Si(f,d){if(1&f&&(a.j41(0,"div",53),a.EFF(1),a.nI1(2,"transloco"),a.k0s()),2&f){const l=a.XpG().$implicit;a.R7$(1),a.SpI(" ",a.bMT(2,1,l.label)," ")}}function Bi(f,d){1&f&&a.eu8(0)}const gi=function(f){return{$implicit:f}};function So(f,d){if(1&f&&(a.qex(0),a.DNE(1,Si,3,3,"div",51),a.DNE(2,Bi,1,0,"ng-container",52),a.bVm()),2&f){const l=d.$implicit;a.XpG(2);const m=a.sdS(23);a.R7$(1),a.Y8G("ngIf",l.label),a.R7$(1),a.Y8G("ngTemplateOutlet",m)("ngTemplateOutletContext",a.eq3(3,gi,l.items))}}function Vn(f,d){if(1&f&&(a.qex(0),a.j41(1,"div",46)(2,"a",47),a.nrm(3,"img",48),a.k0s()(),a.j41(4,"mat-nav-list",49),a.DNE(5,So,3,5,"ng-container",50),a.k0s(),a.bVm()),2&f){const l=a.XpG();a.R7$(5),a.Y8G("ngForOf",l.navGroups)("ngForTrackBy",l.trackByGroupLabel)}}function Ni(f,d){if(1&f&&(a.qex(0),a.EFF(1),a.bVm()),2&f){const l=a.XpG(3);a.R7$(1),a.SpI(" ",l.pageLabelOverride," ")}}function jo(f,d){if(1&f&&(a.qex(0),a.EFF(1),a.nI1(2,"transloco"),a.bVm()),2&f){const l=a.XpG(4);a.R7$(1),a.SpI(" ",a.bMT(2,1,l.currentCrumb.translationKey)," ")}}function bn(f,d){if(1&f&&a.EFF(0),2&f){const l=a.XpG(4);a.JRh(l.currentCrumb.label)}}function qi(f,d){if(1&f&&(a.DNE(0,jo,3,3,"ng-container",26),a.DNE(1,bn,1,1,"ng-template",null,58,a.C5r)),2&f){const l=a.sdS(2),m=a.XpG(3);a.Y8G("ngIf",m.currentCrumb.translationKey)("ngIfElse",l)}}function to(f,d){if(1&f&&(a.j41(0,"div",55)(1,"h1",56),a.DNE(2,Ni,2,1,"ng-container",26),a.DNE(3,qi,3,2,"ng-template",null,57,a.C5r),a.k0s()()),2&f){const l=a.sdS(4),m=a.XpG(2);a.R7$(2),a.Y8G("ngIf",m.pageLabelOverride)("ngIfElse",l)}}function zi(f,d){if(1&f&&(a.qex(0),a.DNE(1,to,5,2,"div",54),a.nI1(2,"async"),a.bVm()),2&f){const l=a.XpG();a.R7$(1),a.Y8G("ngIf",!1===a.bMT(2,1,l.hasError$)&&l.currentCrumb)}}function $n(f,d){if(1&f&&(a.qex(0),a.nrm(1,"img",64),a.bVm()),2&f){const l=a.XpG(2).$implicit;a.R7$(1),a.Y8G("src",l.icon,a.B4B)("alt",l.path)}}function zo(f,d){if(1&f){const l=a.RV6();a.j41(0,"div",61)(1,"a",62),a.bIt("click",function(){a.eBV(l);const L=a.XpG().$implicit,R=a.XpG(2);return a.Njj(R.handleNavClick(L))}),a.j41(2,"span",63),a.DNE(3,$n,2,2,"ng-container",1),a.EFF(4),a.nI1(5,"transloco"),a.k0s()()()}if(2&f){const l=a.XpG().$implicit,m=a.XpG(2);a.R7$(1),a.AVh("active",m.isActive(l))("commercial-feature",m.isFeatureLocked(l.path,m.licenseType))("ai-nav-item","/ai"===l.path),a.Y8G("routerLink",m.navLink(l)),a.BMQ("data-testid",m.navTestId(l.path)),a.R7$(2),a.Y8G("ngIf",null==l?null:l.icon),a.R7$(1),a.SpI(" ",a.bMT(5,10,m.navLabel(l.labelPath||l.path))," ")}}function fo(f,d){if(1&f&&(a.qex(0),a.nrm(1,"img",64),a.bVm()),2&f){const l=a.XpG(2).$implicit;a.R7$(1),a.Y8G("src",l.icon,a.B4B)("alt",l.path)}}function ho(f,d){1&f&&a.eu8(0)}function Ho(f,d){if(1&f){const l=a.RV6();a.j41(0,"mat-expansion-panel",65)(1,"mat-expansion-panel-header",66),a.bIt("click",function(){a.eBV(l);const L=a.XpG().$implicit,R=a.XpG(2);return a.Njj(R.handleNavClick(L))}),a.j41(2,"span",63),a.DNE(3,fo,2,2,"ng-container",1),a.EFF(4),a.nI1(5,"transloco"),a.k0s()(),a.j41(6,"mat-nav-list"),a.DNE(7,ho,1,0,"ng-container",52),a.k0s()()}if(2&f){const l=a.XpG().$implicit,m=a.XpG(2),L=a.sdS(23);a.AVh("mat-elevation-z0",!0),a.Y8G("expanded",m.isActive(l)),a.R7$(1),a.BMQ("data-testid",m.navGroupTestId(l.path)),a.R7$(2),a.Y8G("ngIf",null==l?null:l.icon),a.R7$(1),a.SpI("",a.bMT(5,8,m.navLabel(l.labelPath||l.path))," "),a.R7$(3),a.Y8G("ngTemplateOutlet",L)("ngTemplateOutletContext",a.eq3(10,gi,l.subRoutes))}}function Vi(f,d){if(1&f&&(a.qex(0),a.DNE(1,zo,6,12,"div",59),a.DNE(2,Ho,8,12,"ng-template",null,60,a.C5r),a.bVm()),2&f){const l=d.$implicit,m=a.sdS(3);a.R7$(1),a.Y8G("ngIf",!l.subRoutes)("ngIfElse",m)}}function Po(f,d){if(1&f&&a.DNE(0,Vi,4,2,"ng-container",50),2&f){const l=d.$implicit,m=a.XpG();a.Y8G("ngForOf",l)("ngForTrackBy",m.trackByNavPath)}}const Pi=["*"];let eo=class qb{constructor(d,l,m,L,R,ht,Pt,Ft,qt,Ae,$e,mn,Pn,dn,wn){this.breakpointService=d,this.userDataService=l,this.authService=m,this.router=L,this.errorService=R,this.licenseCheckService=ht,this.dialog=Pt,this.transloco=Ft,this.themeService=qt,this.searchService=Ae,this.snackbarService=$e,this.paywallService=mn,this.systemConfigDataService=Pn,this.commandPalette=dn,this.trialService=wn,this.isSmallScreen=this.breakpointService.isSmallScreen,this.isLoggedIn$=this.userDataService.isLoggedIn$,this.userData$=this.userDataService.userData$,this.faAngleDown=K.tdl,this.faBars=K.ckx,this.hasError$=this.errorService.hasError$,this.nav=[],this.navGroups=[],this.licenseCheck$=this.licenseCheckService.licenseCheck$,this.trial$=this.trialService.trial$,this.faMagnifyingGlass=K.$UM,this.faUser=K.X46,this.faLanguage=K.mh,this.search=new Mt.MJ,this.results$=this.searchService.results$,this.smallScreen$=this.breakpointService.isSmallScreen,this.faPlus=K.QLR,this.faRefresh=K.Vpu,this.licenseType="OPEN SOURCE",this.isDarkMode=this.themeService.darkMode$,this.trackByGroupLabel=(ri,fi)=>`${ri}-${fi.label}`,this.navLabelCache=new Map,this._breadCrumbs=[],this.trackByNavPath=(ri,fi)=>fi.path}ngOnInit(){this.userData$.pipe((0,j.n)(d=>d?.isRootAdmin||d?.isSysAdmin&&!(d.roleId&&d?.id&&d?.role_id)?(0,bt.of)(null):d?.isSysAdmin&&(d.roleId||d?.id||d?.role_id)?this.userDataService.restrictedAccess$:(0,bt.of)(d?.roleId||d?.id||d?.role_id?["apps","users","roles","services","apidocs","schema/data","files","scripts","systemInfo","limits","scheduler"]:[]))).subscribe(d=>{this.nav=d?xn(Fe(A),d):Fe(A),this.navGroups=this.buildNavGroups(this.nav)}),this.search.valueChanges.pipe((0,I.B)(1e3),(0,_t.F)(),(0,j.n)(d=>this.searchService.search(d))).subscribe(()=>{this.dialog.open(oi,{position:{top:"60px"}})}),this.systemConfigDataService.environment$.pipe((0,J.T)(d=>d.platform?.license??"OPEN SOURCE")).subscribe(d=>this.licenseType=d)}buildNavGroups(d){const l=[{child:M.b.API_BUILDER,parent:M.b.API_CONNECTIONS},{child:M.b.AGENTS,parent:M.b.AI},{child:M.b.ALERTS,parent:M.b.SYSTEM_SETTINGS}];for(const Ft of l){const qt=d.findIndex($e=>$e.route===Ft.child),Ae=d.find($e=>$e.route===Ft.parent);-1!==qt&&Ae&&(d[qt].icon="",Ae.subRoutes=[...Ae.subRoutes??[],d[qt]],d.splice(qt,1))}const m=d.find(Ft=>Ft.route===M.b.ADMIN_SETTINGS);m?.subRoutes&&(m.subRoutes=m.subRoutes.filter(Ft=>Ft.path!==`/${M.b.ADMIN_SETTINGS}/${M.b.LOGS}`));const L=new Map(d.map(Ft=>[Ft.route,Ft])),R=new Set,ht=Ft=>Ft.map(qt=>L.get(qt)).filter(qt=>!!qt&&(R.add(qt),!0));return[{label:"",items:ht([M.b.HOME])},{label:"nav.pillars.build",items:ht([M.b.API_CONNECTIONS])},{label:"nav.pillars.secureManage",items:ht([M.b.API_SECURITY])},{label:"nav.pillars.aiGateway",items:ht([M.b.AI])},{label:"nav.pillars.system",items:ht([M.b.SYSTEM_SETTINGS,M.b.ADMIN_SETTINGS])},{label:"",items:d.filter(Ft=>!R.has(Ft))}].filter(Ft=>Ft.items.length)}get currentCrumb(){const d=this.breadCrumbs;return d.length?d[d.length-1]:void 0}get pageLabelOverride(){const d=this.currentCrumb;if(!d||d.translationKey)return;const l=this.snackbarService.pageLabel$.value;return l&&l.url===this.router.url?l.label:void 0}logout(){this.authService.logout()}isActive(d){const l=d.linkPath??d.path,m=this.router.url.split("?")[0].split("#")[0];return m===l||m.startsWith(l+"/")}navLabel(d){let l=this.navLabelCache.get(d);return void 0===l&&(l=`nav.${d.replace("/","").split("/").join(".")}.nav`,this.navLabelCache.set(d,l)),l}navLink(d){return d.linkPath??d.path}get breadCrumbs(){return this._breadCrumbsUrl!==this.router.url&&(this._breadCrumbsUrl=this.router.url,this._breadCrumbs=function ee(f,d){const l=[],m=decodeURIComponent(d).split("?")[0].split("#")[0].replace(/\/$/,"").split("/").filter(R=>R);return function L(R,ht=[],Pt=[],Ft=0){if(Ft===m.length)return!0;let qt=!1;for(const Ae of R){const $e=Ae.path,mn=$e.startsWith(":"),Pn=mn?m[Ft]:$e,dn=[...ht,Pn];if(Ae.path===m[Ft]||mn)if(qt=!0,Ae.children&&Ae.children.some(wn=>""===wn.path&&wn.redirectTo)){if(L(Ae.children,dn,[...Pt,$e],Ft+1))return!0}else{const wn=mn?$e.slice(1):$e,ri=[...Pt,wn].join(".").replace(/\//g,"."),fi={label:Pn};if(Ft!==m.length-1&&(fi.path=dn.join("/")),mn||(fi.translationKey=`nav.${ri}.header`),l.push(fi),L(Ae.children||[],dn,[...Pt,wn],Ft+1))return!0}}return!qt&&(l.push({label:m[Ft],path:[...ht,m[Ft]].join("/")}),L(R,[...ht,m[Ft]],Pt,Ft+1))}(f),l.length>0&&l[l.length-1].path&&delete l[l.length-1].path,l}(A,this.router.url),this.nameLastCrumb(this._breadCrumbs)),this._breadCrumbs}nameLastCrumb(d){const l=d[d.length-1];if(!l||l.translationKey)return;let m=this.router.routerState.snapshot.root;for(;m.firstChild;)m=m.firstChild;if(!Object.values(m.params??{}).includes(l.label))return;const L=function Qn(f){if(!f)return;const d=[...Nn.map(l=>f[l]),...Object.entries(f).filter(([l])=>!Nn.includes(l)).map(([,l])=>l)];for(const l of d)if(l&&"object"==typeof l&&!Array.isArray(l))for(const m of Ie){const L=l[m];if("string"==typeof L&&L.trim())return L}}(m.data);L&&(l.label=L)}handleNavClick(d){this.errorService.error=null;const l=this.navLink(d);this.router.url!==l&&this.router.navigate([l])}navTestId(d){return`nav-${this.normalizePath(d)}`}navGroupTestId(d){return`nav-group-${this.normalizePath(d)}`}normalizePath(d){return d.replace(/^\/+/,"").replace(/\//g,"-")||"root"}handleSearchClick(){this.commandPalette.toggle()}handleLanguageChange(d){this.transloco.setActiveLang(d),localStorage.setItem("language",d)}onSubmit(){this.searchService.search(this.search.value).subscribe(()=>{this.dialog.open(oi,{position:{top:"60px"}})})}get activeLanguage(){return this.transloco.getActiveLang()}get availableLanguages(){return this.transloco.getAvailableLangs()}isFeatureLocked(d,l){return this.paywallService.isFeatureLocked(d,l)}static{this.\u0275fac=function(l){return new(l||qb)(a.rXU(Dn.R),a.rXU(Gt.T),a.rXU(pt.g),a.rXU(T.Ix),a.rXU(Rt.S),a.rXU(hn.H),a.rXU(Q.bZ),a.rXU(at.JO),a.rXU(Fn.n),a.rXU(ln),a.rXU(si.L),a.rXU(Ve.o),a.rXU(zt.f),a.rXU(Ii),a.rXU(Dt.K))}}static{this.\u0275cmp=a.VBU({type:qb,selectors:[["df-side-nav"]],standalone:!0,features:[a.aNF],ngContentSelectors:Pi,decls:24,vars:33,consts:[[1,"app-container"],[4,"ngIf"],["autosize","",1,"sidenav-container"],[1,"sidenav",3,"disableClose","opened","mode"],["sideNav",""],[1,"sidenav-content"],[1,"content-wrapper"],[1,"main"],["navList",""],[1,"tool-bar"],[1,"button-wrapper"],["mat-icon-button","",1,"toggle-icon",3,"click"],[1,"toggle-icon",3,"icon"],["aria-label","Breadcrumb",1,"topbar-breadcrumbs"],[4,"ngFor","ngForOf"],[1,"spacer"],["type","button","aria-label","Search",1,"cmdk-btn",3,"click"],[1,"cmdk-icon",3,"icon"],[1,"cmdk-label"],[1,"cmdk-kbd"],["mat-button","",1,"profile-icon",3,"matMenuTriggerFor"],[3,"icon"],["profileMenu","matMenu"],["mat-menu-item","","routerLink","profile"],["mat-menu-item","",3,"click"],["class","license-expired",4,"ngIf"],[4,"ngIf","ngIfElse"],["currentTop",""],["topCrumbLabel",""],["class","breadcrumb-sep",4,"ngIf"],[1,"breadcrumb-link",3,"routerLink"],[4,"ngTemplateOutlet"],[1,"breadcrumb-current"],["topLabel",""],[1,"breadcrumb-sep"],["mat-icon-button","",3,"matMenuTriggerFor"],["langMenu","matMenu"],["mat-menu-item","",3,"click",4,"ngFor","ngForOf"],[1,"license-expired"],[1,"login-side-container"],[1,"image-container"],[1,"image-wrapper"],["src","assets/img/Server-Stack.gif","alt","Self Hosted"],["src","assets/img/API.gif","alt","API Generation"],["src","assets/img/Browser.gif","alt","Api Security"],["src","assets/img/Tools.gif","alt","API Scripting"],[1,"shell-brand"],["routerLink","/","aria-label","Home",1,"shell-brand-link"],["src","assets/img/logo.png","alt","DreamFactory",1,"shell-brand-logo"],[1,"shell-nav"],[4,"ngFor","ngForOf","ngForTrackBy"],["class","shell-group-label",4,"ngIf"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],[1,"shell-group-label"],["class","banner",4,"ngIf"],[1,"banner"],[1,"page-header"],["crumbTitle",""],["pageTitleLabel",""],["mat-list-item","",4,"ngIf","ngIfElse"],["subRoutes",""],["mat-list-item",""],["mat-flat-button","",1,"nav-item",3,"routerLink","click"],[1,"nav-item"],[3,"src","alt"],[1,"expansion-panel",3,"expanded"],[1,"parent-route",3,"click"]],template:function(l,m){1&l&&(a.NAR(),a.j41(0,"div",0),a.nI1(1,"async"),a.nI1(2,"async"),a.DNE(3,Cn,33,25,"ng-container",1),a.nI1(4,"async"),a.j41(5,"mat-sidenav-container",2)(6,"mat-sidenav",3,4),a.nI1(8,"async"),a.nI1(9,"async"),a.nI1(10,"async"),a.DNE(11,Hn,21,0,"ng-container",1),a.nI1(12,"async"),a.DNE(13,Vn,6,2,"ng-container",1),a.nI1(14,"async"),a.k0s(),a.j41(15,"mat-sidenav-content",5)(16,"div",6),a.DNE(17,zi,3,3,"ng-container",1),a.nI1(18,"async"),a.j41(19,"div",7),a.nI1(20,"async"),a.SdG(21),a.k0s()()()()(),a.DNE(22,Po,1,2,"ng-template",null,8,a.C5r)),2&l&&(a.AVh("small",a.bMT(1,13,m.isSmallScreen))("logged-in",a.bMT(2,15,m.isLoggedIn$)),a.R7$(3),a.Y8G("ngIf",a.bMT(4,17,m.isLoggedIn$)),a.R7$(3),a.Y8G("disableClose",!1===a.bMT(8,19,m.isSmallScreen))("opened",!1===a.bMT(9,21,m.isSmallScreen))("mode",a.bMT(10,23,m.isSmallScreen)?"over":"side"),a.R7$(5),a.Y8G("ngIf",!1===a.bMT(12,25,m.isLoggedIn$)),a.R7$(2),a.Y8G("ngIf",a.bMT(14,27,m.isLoggedIn$)),a.R7$(4),a.Y8G("ngIf",a.bMT(18,29,m.isLoggedIn$)),a.R7$(2),a.AVh("no-error",!1===a.bMT(20,31,m.hasError$)))},dependencies:[N.vg,N.LG,N.US,N.El,P.Fg,P._L,q.dX,q.aY,ot.s5,ot.KQ,k.Hl,k.It,k.$z,k.iY,G.MY,G.GK,G.Z2,T.iI,T.Wk,T.we,Z.Cn,Z.kk,Z.fb,Z.Cp,at.Kj,b.Jj,b.bT,b.pM,b.T3,Q.hM,b.MD,Wt.RG,Mo,Mt.X1,se.fS],styles:[".mat-ripple[_ngcontent-%COMP%]{overflow:hidden;position:relative}.mat-ripple[_ngcontent-%COMP%]:not(:empty){transform:translateZ(0)}.mat-ripple.mat-ripple-unbounded[_ngcontent-%COMP%]{overflow:visible}.mat-ripple-element[_ngcontent-%COMP%]{position:absolute;border-radius:50%;pointer-events:none;transition:opacity,transform 0ms cubic-bezier(0,0,.2,1);transform:scale3d(0,0,0)}.cdk-high-contrast-active[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%]{display:none}.cdk-visually-hidden[_ngcontent-%COMP%]{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;white-space:nowrap;outline:0;-webkit-appearance:none;-moz-appearance:none;left:0}[dir=rtl][_ngcontent-%COMP%] .cdk-visually-hidden[_ngcontent-%COMP%]{left:auto;right:0}.cdk-overlay-container[_ngcontent-%COMP%], .cdk-global-overlay-wrapper[_ngcontent-%COMP%]{pointer-events:none;top:0;left:0;height:100%;width:100%}.cdk-overlay-container[_ngcontent-%COMP%]{position:fixed;z-index:1000}.cdk-overlay-container[_ngcontent-%COMP%]:empty{display:none}.cdk-global-overlay-wrapper[_ngcontent-%COMP%]{display:flex;position:absolute;z-index:1000}.cdk-overlay-pane[_ngcontent-%COMP%]{position:absolute;pointer-events:auto;box-sizing:border-box;z-index:1000;display:flex;max-width:100%;max-height:100%}.cdk-overlay-backdrop[_ngcontent-%COMP%]{position:absolute;inset:0;z-index:1000;pointer-events:auto;-webkit-tap-highlight-color:transparent;transition:opacity .4s cubic-bezier(.25,.8,.25,1);opacity:0}.cdk-overlay-backdrop.cdk-overlay-backdrop-showing[_ngcontent-%COMP%]{opacity:1}.cdk-high-contrast-active[_ngcontent-%COMP%] .cdk-overlay-backdrop.cdk-overlay-backdrop-showing[_ngcontent-%COMP%]{opacity:.6}.cdk-overlay-dark-backdrop[_ngcontent-%COMP%]{background:rgba(0,0,0,.32)}.cdk-overlay-transparent-backdrop[_ngcontent-%COMP%]{transition:visibility 1ms linear,opacity 1ms linear;visibility:hidden;opacity:1}.cdk-overlay-transparent-backdrop.cdk-overlay-backdrop-showing[_ngcontent-%COMP%]{opacity:0;visibility:visible}.cdk-overlay-backdrop-noop-animation[_ngcontent-%COMP%]{transition:none}.cdk-overlay-connected-position-bounding-box[_ngcontent-%COMP%]{position:absolute;z-index:1000;display:flex;flex-direction:column;min-width:1px;min-height:1px}.cdk-global-scrollblock[_ngcontent-%COMP%]{position:fixed;width:100%;overflow-y:scroll}textarea.cdk-textarea-autosize[_ngcontent-%COMP%]{resize:none}textarea.cdk-textarea-autosize-measuring[_ngcontent-%COMP%]{padding:2px 0!important;box-sizing:content-box!important;height:auto!important;overflow:hidden!important}textarea.cdk-textarea-autosize-measuring-firefox[_ngcontent-%COMP%]{padding:2px 0!important;box-sizing:content-box!important;height:0!important}@keyframes _ngcontent-%COMP%_cdk-text-field-autofill-start{}@keyframes _ngcontent-%COMP%_cdk-text-field-autofill-end{}.cdk-text-field-autofill-monitored[_ngcontent-%COMP%]:-webkit-autofill{animation:_ngcontent-%COMP%_cdk-text-field-autofill-start 0s 1ms}.cdk-text-field-autofill-monitored[_ngcontent-%COMP%]:not(:-webkit-autofill){animation:_ngcontent-%COMP%_cdk-text-field-autofill-end 0s 1ms}.mat-focus-indicator[_ngcontent-%COMP%]{position:relative}.mat-focus-indicator[_ngcontent-%COMP%]:before{inset:0;position:absolute;box-sizing:border-box;pointer-events:none;display:var(--mat-focus-indicator-display, none);border:var(--mat-focus-indicator-border-width, 3px) var(--mat-focus-indicator-border-style, solid) var(--mat-focus-indicator-border-color, transparent);border-radius:var(--mat-focus-indicator-border-radius, 4px)}.mat-focus-indicator[_ngcontent-%COMP%]:focus:before{content:\"\"}.cdk-high-contrast-active[_ngcontent-%COMP%]{--mat-focus-indicator-display: block}.mat-mdc-focus-indicator[_ngcontent-%COMP%]{position:relative}.mat-mdc-focus-indicator[_ngcontent-%COMP%]:before{inset:0;position:absolute;box-sizing:border-box;pointer-events:none;display:var(--mat-mdc-focus-indicator-display, none);border:var(--mat-mdc-focus-indicator-border-width, 3px) var(--mat-mdc-focus-indicator-border-style, solid) var(--mat-mdc-focus-indicator-border-color, transparent);border-radius:var(--mat-mdc-focus-indicator-border-radius, 4px)}.mat-mdc-focus-indicator[_ngcontent-%COMP%]:focus:before{content:\"\"}.cdk-high-contrast-active[_ngcontent-%COMP%]{--mat-mdc-focus-indicator-display: block}@font-face{font-family:Inter;src:url(Inter-VariableFont_slnt,wght.1cccc37b0c8d2802.ttf)}.mat-ripple-element[_ngcontent-%COMP%]{background-color:#0000001a}html[_ngcontent-%COMP%]{--mat-option-selected-state-label-text-color: #0f0761;--mat-option-label-text-color: rgba(0, 0, 0, .87);--mat-option-hover-state-layer-color: rgba(0, 0, 0, .04);--mat-option-focus-state-layer-color: rgba(0, 0, 0, .04);--mat-option-selected-state-layer-color: rgba(0, 0, 0, .04)}.mat-accent[_ngcontent-%COMP%]{--mat-option-selected-state-label-text-color: #dd7345}.mat-warn[_ngcontent-%COMP%]{--mat-option-selected-state-label-text-color: #f44336}html[_ngcontent-%COMP%]{--mat-optgroup-label-text-color: rgba(0, 0, 0, .87)}.mat-pseudo-checkbox-full[_ngcontent-%COMP%]{color:#0000008a}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-disabled[_ngcontent-%COMP%]{color:#b0b0b0}.mat-primary[_ngcontent-%COMP%] .mat-pseudo-checkbox-checked.mat-pseudo-checkbox-minimal[_ngcontent-%COMP%]:after, .mat-primary[_ngcontent-%COMP%] .mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-minimal[_ngcontent-%COMP%]:after{color:#0f0761}.mat-primary[_ngcontent-%COMP%] .mat-pseudo-checkbox-checked.mat-pseudo-checkbox-full[_ngcontent-%COMP%], .mat-primary[_ngcontent-%COMP%] .mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-full[_ngcontent-%COMP%]{background:#0f0761}.mat-primary[_ngcontent-%COMP%] .mat-pseudo-checkbox-checked.mat-pseudo-checkbox-full[_ngcontent-%COMP%]:after, .mat-primary[_ngcontent-%COMP%] .mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-full[_ngcontent-%COMP%]:after{color:#fafafa}.mat-pseudo-checkbox-checked.mat-pseudo-checkbox-minimal[_ngcontent-%COMP%]:after, .mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-minimal[_ngcontent-%COMP%]:after{color:#dd7345}.mat-pseudo-checkbox-checked.mat-pseudo-checkbox-full[_ngcontent-%COMP%], .mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-full[_ngcontent-%COMP%]{background:#dd7345}.mat-pseudo-checkbox-checked.mat-pseudo-checkbox-full[_ngcontent-%COMP%]:after, .mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-full[_ngcontent-%COMP%]:after{color:#fafafa}.mat-accent[_ngcontent-%COMP%] .mat-pseudo-checkbox-checked.mat-pseudo-checkbox-minimal[_ngcontent-%COMP%]:after, .mat-accent[_ngcontent-%COMP%] .mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-minimal[_ngcontent-%COMP%]:after{color:#dd7345}.mat-accent[_ngcontent-%COMP%] .mat-pseudo-checkbox-checked.mat-pseudo-checkbox-full[_ngcontent-%COMP%], .mat-accent[_ngcontent-%COMP%] .mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-full[_ngcontent-%COMP%]{background:#dd7345}.mat-accent[_ngcontent-%COMP%] .mat-pseudo-checkbox-checked.mat-pseudo-checkbox-full[_ngcontent-%COMP%]:after, .mat-accent[_ngcontent-%COMP%] .mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-full[_ngcontent-%COMP%]:after{color:#fafafa}.mat-warn[_ngcontent-%COMP%] .mat-pseudo-checkbox-checked.mat-pseudo-checkbox-minimal[_ngcontent-%COMP%]:after, .mat-warn[_ngcontent-%COMP%] .mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-minimal[_ngcontent-%COMP%]:after{color:#f44336}.mat-warn[_ngcontent-%COMP%] .mat-pseudo-checkbox-checked.mat-pseudo-checkbox-full[_ngcontent-%COMP%], .mat-warn[_ngcontent-%COMP%] .mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-full[_ngcontent-%COMP%]{background:#f44336}.mat-warn[_ngcontent-%COMP%] .mat-pseudo-checkbox-checked.mat-pseudo-checkbox-full[_ngcontent-%COMP%]:after, .mat-warn[_ngcontent-%COMP%] .mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-full[_ngcontent-%COMP%]:after{color:#fafafa}.mat-pseudo-checkbox-disabled.mat-pseudo-checkbox-checked.mat-pseudo-checkbox-minimal[_ngcontent-%COMP%]:after, .mat-pseudo-checkbox-disabled.mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-minimal[_ngcontent-%COMP%]:after{color:#b0b0b0}.mat-pseudo-checkbox-disabled.mat-pseudo-checkbox-checked.mat-pseudo-checkbox-full[_ngcontent-%COMP%], .mat-pseudo-checkbox-disabled.mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-full[_ngcontent-%COMP%]{background:#b0b0b0}.mat-app-background[_ngcontent-%COMP%]{background-color:#fafafa;color:#000000de}.mat-elevation-z0[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z0[_ngcontent-%COMP%]{box-shadow:0 0 #0003,0 0 #00000024,0 0 #0000001f}.mat-elevation-z1[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z1[_ngcontent-%COMP%]{box-shadow:0 2px 1px -1px #0003,0 1px 1px #00000024,0 1px 3px #0000001f}.mat-elevation-z2[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z2[_ngcontent-%COMP%]{box-shadow:0 3px 1px -2px #0003,0 2px 2px #00000024,0 1px 5px #0000001f}.mat-elevation-z3[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z3[_ngcontent-%COMP%]{box-shadow:0 3px 3px -2px #0003,0 3px 4px #00000024,0 1px 8px #0000001f}.mat-elevation-z4[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z4[_ngcontent-%COMP%]{box-shadow:0 2px 4px -1px #0003,0 4px 5px #00000024,0 1px 10px #0000001f}.mat-elevation-z5[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z5[_ngcontent-%COMP%]{box-shadow:0 3px 5px -1px #0003,0 5px 8px #00000024,0 1px 14px #0000001f}.mat-elevation-z6[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z6[_ngcontent-%COMP%]{box-shadow:0 3px 5px -1px #0003,0 6px 10px #00000024,0 1px 18px #0000001f}.mat-elevation-z7[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z7[_ngcontent-%COMP%]{box-shadow:0 4px 5px -2px #0003,0 7px 10px 1px #00000024,0 2px 16px 1px #0000001f}.mat-elevation-z8[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z8[_ngcontent-%COMP%]{box-shadow:0 5px 5px -3px #0003,0 8px 10px 1px #00000024,0 3px 14px 2px #0000001f}.mat-elevation-z9[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z9[_ngcontent-%COMP%]{box-shadow:0 5px 6px -3px #0003,0 9px 12px 1px #00000024,0 3px 16px 2px #0000001f}.mat-elevation-z10[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z10[_ngcontent-%COMP%]{box-shadow:0 6px 6px -3px #0003,0 10px 14px 1px #00000024,0 4px 18px 3px #0000001f}.mat-elevation-z11[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z11[_ngcontent-%COMP%]{box-shadow:0 6px 7px -4px #0003,0 11px 15px 1px #00000024,0 4px 20px 3px #0000001f}.mat-elevation-z12[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z12[_ngcontent-%COMP%]{box-shadow:0 7px 8px -4px #0003,0 12px 17px 2px #00000024,0 5px 22px 4px #0000001f}.mat-elevation-z13[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z13[_ngcontent-%COMP%]{box-shadow:0 7px 8px -4px #0003,0 13px 19px 2px #00000024,0 5px 24px 4px #0000001f}.mat-elevation-z14[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z14[_ngcontent-%COMP%]{box-shadow:0 7px 9px -4px #0003,0 14px 21px 2px #00000024,0 5px 26px 4px #0000001f}.mat-elevation-z15[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z15[_ngcontent-%COMP%]{box-shadow:0 8px 9px -5px #0003,0 15px 22px 2px #00000024,0 6px 28px 5px #0000001f}.mat-elevation-z16[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z16[_ngcontent-%COMP%]{box-shadow:0 8px 10px -5px #0003,0 16px 24px 2px #00000024,0 6px 30px 5px #0000001f}.mat-elevation-z17[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z17[_ngcontent-%COMP%]{box-shadow:0 8px 11px -5px #0003,0 17px 26px 2px #00000024,0 6px 32px 5px #0000001f}.mat-elevation-z18[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z18[_ngcontent-%COMP%]{box-shadow:0 9px 11px -5px #0003,0 18px 28px 2px #00000024,0 7px 34px 6px #0000001f}.mat-elevation-z19[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z19[_ngcontent-%COMP%]{box-shadow:0 9px 12px -6px #0003,0 19px 29px 2px #00000024,0 7px 36px 6px #0000001f}.mat-elevation-z20[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z20[_ngcontent-%COMP%]{box-shadow:0 10px 13px -6px #0003,0 20px 31px 3px #00000024,0 8px 38px 7px #0000001f}.mat-elevation-z21[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z21[_ngcontent-%COMP%]{box-shadow:0 10px 13px -6px #0003,0 21px 33px 3px #00000024,0 8px 40px 7px #0000001f}.mat-elevation-z22[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z22[_ngcontent-%COMP%]{box-shadow:0 10px 14px -6px #0003,0 22px 35px 3px #00000024,0 8px 42px 7px #0000001f}.mat-elevation-z23[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z23[_ngcontent-%COMP%]{box-shadow:0 11px 14px -7px #0003,0 23px 36px 3px #00000024,0 9px 44px 8px #0000001f}.mat-elevation-z24[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z24[_ngcontent-%COMP%]{box-shadow:0 11px 15px -7px #0003,0 24px 38px 3px #00000024,0 9px 46px 8px #0000001f}.mat-theme-loaded-marker[_ngcontent-%COMP%]{display:none}html[_ngcontent-%COMP%]{--mat-option-label-text-font: Inter;--mat-option-label-text-line-height: 19px;--mat-option-label-text-size: 13px;--mat-option-label-text-tracking: normal;--mat-option-label-text-weight: 400}html[_ngcontent-%COMP%]{--mat-optgroup-label-text-font: Inter;--mat-optgroup-label-text-line-height: 19px;--mat-optgroup-label-text-size: 13px;--mat-optgroup-label-text-tracking: normal;--mat-optgroup-label-text-weight: 400}.mat-mdc-card[_ngcontent-%COMP%]{--mdc-elevated-card-container-color: white;--mdc-elevated-card-container-elevation: 0px 2px 1px -1px rgba(0, 0, 0, .2), 0px 1px 1px 0px rgba(0, 0, 0, .14), 0px 1px 3px 0px rgba(0, 0, 0, .12);--mdc-outlined-card-container-color: white;--mdc-outlined-card-outline-color: rgba(0, 0, 0, .12);--mdc-outlined-card-container-elevation: 0px 0px 0px 0px rgba(0, 0, 0, .2), 0px 0px 0px 0px rgba(0, 0, 0, .14), 0px 0px 0px 0px rgba(0, 0, 0, .12);--mat-card-subtitle-text-color: rgba(0, 0, 0, .54)}.mat-mdc-card[_ngcontent-%COMP%]{--mat-card-title-text-font: Inter;--mat-card-title-text-line-height: 21px;--mat-card-title-text-size: 16px;--mat-card-title-text-tracking: normal;--mat-card-title-text-weight: 600;--mat-card-subtitle-text-font: Inter;--mat-card-subtitle-text-line-height: 19px;--mat-card-subtitle-text-size: 13px;--mat-card-subtitle-text-tracking: normal;--mat-card-subtitle-text-weight: 500}.mat-mdc-progress-bar[_ngcontent-%COMP%]{--mdc-linear-progress-active-indicator-color: #0f0761;--mdc-linear-progress-track-color: rgba(15, 7, 97, .25)}.mat-mdc-progress-bar[_ngcontent-%COMP%] .mdc-linear-progress__buffer-dots[_ngcontent-%COMP%]{background-color:#0f076140;background-color:var(--mdc-linear-progress-track-color, rgba(15, 7, 97, .25))}@media (forced-colors: active){.mat-mdc-progress-bar[_ngcontent-%COMP%] .mdc-linear-progress__buffer-dots[_ngcontent-%COMP%]{background-color:ButtonBorder}}@media all and (-ms-high-contrast: none),(-ms-high-contrast: active){.mat-mdc-progress-bar[_ngcontent-%COMP%] .mdc-linear-progress__buffer-dots[_ngcontent-%COMP%]{background-color:transparent;background-image:url(\"data:image/svg+xml,%3Csvg version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' enable-background='new 0 0 5 2' xml:space='preserve' viewBox='0 0 5 2' preserveAspectRatio='none slice'%3E%3Ccircle cx='1' cy='1' r='1' fill='rgba(15, 7, 97, 0.25)'/%3E%3C/svg%3E\")}}.mat-mdc-progress-bar[_ngcontent-%COMP%] .mdc-linear-progress__buffer-bar[_ngcontent-%COMP%]{background-color:#0f076140;background-color:var(--mdc-linear-progress-track-color, rgba(15, 7, 97, .25))}.mat-mdc-progress-bar.mat-accent[_ngcontent-%COMP%]{--mdc-linear-progress-active-indicator-color: #dd7345;--mdc-linear-progress-track-color: rgba(221, 115, 69, .25)}.mat-mdc-progress-bar.mat-accent[_ngcontent-%COMP%] .mdc-linear-progress__buffer-dots[_ngcontent-%COMP%]{background-color:#dd734540;background-color:var(--mdc-linear-progress-track-color, rgba(221, 115, 69, .25))}@media (forced-colors: active){.mat-mdc-progress-bar.mat-accent[_ngcontent-%COMP%] .mdc-linear-progress__buffer-dots[_ngcontent-%COMP%]{background-color:ButtonBorder}}@media all and (-ms-high-contrast: none),(-ms-high-contrast: active){.mat-mdc-progress-bar.mat-accent[_ngcontent-%COMP%] .mdc-linear-progress__buffer-dots[_ngcontent-%COMP%]{background-color:transparent;background-image:url(\"data:image/svg+xml,%3Csvg version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' enable-background='new 0 0 5 2' xml:space='preserve' viewBox='0 0 5 2' preserveAspectRatio='none slice'%3E%3Ccircle cx='1' cy='1' r='1' fill='rgba(221, 115, 69, 0.25)'/%3E%3C/svg%3E\")}}.mat-mdc-progress-bar.mat-accent[_ngcontent-%COMP%] .mdc-linear-progress__buffer-bar[_ngcontent-%COMP%]{background-color:#dd734540;background-color:var(--mdc-linear-progress-track-color, rgba(221, 115, 69, .25))}.mat-mdc-progress-bar.mat-warn[_ngcontent-%COMP%]{--mdc-linear-progress-active-indicator-color: #f44336;--mdc-linear-progress-track-color: rgba(244, 67, 54, .25)}@keyframes _ngcontent-%COMP%_mdc-linear-progress-buffering{}.mat-mdc-progress-bar.mat-warn[_ngcontent-%COMP%] .mdc-linear-progress__buffer-dots[_ngcontent-%COMP%]{background-color:#f4433640;background-color:var(--mdc-linear-progress-track-color, rgba(244, 67, 54, .25))}@media (forced-colors: active){.mat-mdc-progress-bar.mat-warn[_ngcontent-%COMP%] .mdc-linear-progress__buffer-dots[_ngcontent-%COMP%]{background-color:ButtonBorder}}@media all and (-ms-high-contrast: none),(-ms-high-contrast: active){.mat-mdc-progress-bar.mat-warn[_ngcontent-%COMP%] .mdc-linear-progress__buffer-dots[_ngcontent-%COMP%]{background-color:transparent;background-image:url(\"data:image/svg+xml,%3Csvg version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' enable-background='new 0 0 5 2' xml:space='preserve' viewBox='0 0 5 2' preserveAspectRatio='none slice'%3E%3Ccircle cx='1' cy='1' r='1' fill='rgba(244, 67, 54, 0.25)'/%3E%3C/svg%3E\")}}.mat-mdc-progress-bar.mat-warn[_ngcontent-%COMP%] .mdc-linear-progress__buffer-bar[_ngcontent-%COMP%]{background-color:#f4433640;background-color:var(--mdc-linear-progress-track-color, rgba(244, 67, 54, .25))}.mat-mdc-tooltip[_ngcontent-%COMP%]{--mdc-plain-tooltip-container-color: #616161;--mdc-plain-tooltip-supporting-text-color: #fff}.mat-mdc-tooltip[_ngcontent-%COMP%]{--mdc-plain-tooltip-supporting-text-font: Inter;--mdc-plain-tooltip-supporting-text-size: 12px;--mdc-plain-tooltip-supporting-text-weight: 400;--mdc-plain-tooltip-supporting-text-tracking: normal}html[_ngcontent-%COMP%]{--mdc-filled-text-field-caret-color: #0f0761;--mdc-filled-text-field-focus-active-indicator-color: #0f0761;--mdc-filled-text-field-focus-label-text-color: rgba(15, 7, 97, .87);--mdc-filled-text-field-container-color: whitesmoke;--mdc-filled-text-field-disabled-container-color: #fafafa;--mdc-filled-text-field-label-text-color: rgba(0, 0, 0, .6);--mdc-filled-text-field-disabled-label-text-color: rgba(0, 0, 0, .38);--mdc-filled-text-field-input-text-color: rgba(0, 0, 0, .87);--mdc-filled-text-field-disabled-input-text-color: rgba(0, 0, 0, .38);--mdc-filled-text-field-input-text-placeholder-color: rgba(0, 0, 0, .6);--mdc-filled-text-field-error-focus-label-text-color: #f44336;--mdc-filled-text-field-error-label-text-color: #f44336;--mdc-filled-text-field-error-caret-color: #f44336;--mdc-filled-text-field-active-indicator-color: rgba(0, 0, 0, .42);--mdc-filled-text-field-disabled-active-indicator-color: rgba(0, 0, 0, .06);--mdc-filled-text-field-hover-active-indicator-color: rgba(0, 0, 0, .87);--mdc-filled-text-field-error-active-indicator-color: #f44336;--mdc-filled-text-field-error-focus-active-indicator-color: #f44336;--mdc-filled-text-field-error-hover-active-indicator-color: #f44336;--mdc-outlined-text-field-caret-color: #0f0761;--mdc-outlined-text-field-focus-outline-color: #0f0761;--mdc-outlined-text-field-focus-label-text-color: rgba(15, 7, 97, .87);--mdc-outlined-text-field-label-text-color: rgba(0, 0, 0, .6);--mdc-outlined-text-field-disabled-label-text-color: rgba(0, 0, 0, .38);--mdc-outlined-text-field-input-text-color: rgba(0, 0, 0, .87);--mdc-outlined-text-field-disabled-input-text-color: rgba(0, 0, 0, .38);--mdc-outlined-text-field-input-text-placeholder-color: rgba(0, 0, 0, .6);--mdc-outlined-text-field-error-caret-color: #f44336;--mdc-outlined-text-field-error-focus-label-text-color: #f44336;--mdc-outlined-text-field-error-label-text-color: #f44336;--mdc-outlined-text-field-outline-color: rgba(0, 0, 0, .38);--mdc-outlined-text-field-disabled-outline-color: rgba(0, 0, 0, .06);--mdc-outlined-text-field-hover-outline-color: rgba(0, 0, 0, .87);--mdc-outlined-text-field-error-focus-outline-color: #f44336;--mdc-outlined-text-field-error-hover-outline-color: #f44336;--mdc-outlined-text-field-error-outline-color: #f44336;--mat-form-field-disabled-input-text-placeholder-color: rgba(0, 0, 0, .38)}.mat-mdc-form-field-error[_ngcontent-%COMP%]{color:var(--mdc-theme-error, #f44336)}.mat-mdc-form-field-subscript-wrapper[_ngcontent-%COMP%], .mat-mdc-form-field-bottom-align[_ngcontent-%COMP%]:before{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--mat-form-field-subscript-text-font);line-height:var(--mat-form-field-subscript-text-line-height);font-size:var(--mat-form-field-subscript-text-size);letter-spacing:var(--mat-form-field-subscript-text-tracking);font-weight:var(--mat-form-field-subscript-text-weight)}.mat-mdc-form-field-focus-overlay[_ngcontent-%COMP%]{background-color:#000000de}.mat-mdc-form-field[_ngcontent-%COMP%]:hover .mat-mdc-form-field-focus-overlay[_ngcontent-%COMP%]{opacity:.04}.mat-mdc-form-field.mat-focused[_ngcontent-%COMP%] .mat-mdc-form-field-focus-overlay[_ngcontent-%COMP%]{opacity:.12}.mat-mdc-form-field-type-mat-native-select[_ngcontent-%COMP%] .mat-mdc-form-field-infix[_ngcontent-%COMP%]:after{color:#0000008a}.mat-mdc-form-field-type-mat-native-select.mat-focused.mat-primary[_ngcontent-%COMP%] .mat-mdc-form-field-infix[_ngcontent-%COMP%]:after{color:#0f0761de}.mat-mdc-form-field-type-mat-native-select.mat-focused.mat-accent[_ngcontent-%COMP%] .mat-mdc-form-field-infix[_ngcontent-%COMP%]:after{color:#dd7345de}.mat-mdc-form-field-type-mat-native-select.mat-focused.mat-warn[_ngcontent-%COMP%] .mat-mdc-form-field-infix[_ngcontent-%COMP%]:after{color:#f44336de}.mat-mdc-form-field-type-mat-native-select.mat-form-field-disabled[_ngcontent-%COMP%] .mat-mdc-form-field-infix[_ngcontent-%COMP%]:after{color:#00000061}.mat-mdc-form-field.mat-accent[_ngcontent-%COMP%]{--mdc-filled-text-field-caret-color: #dd7345;--mdc-filled-text-field-focus-active-indicator-color: #dd7345;--mdc-filled-text-field-focus-label-text-color: rgba(221, 115, 69, .87);--mdc-outlined-text-field-caret-color: #dd7345;--mdc-outlined-text-field-focus-outline-color: #dd7345;--mdc-outlined-text-field-focus-label-text-color: rgba(221, 115, 69, .87)}.mat-mdc-form-field.mat-warn[_ngcontent-%COMP%]{--mdc-filled-text-field-caret-color: #f44336;--mdc-filled-text-field-focus-active-indicator-color: #f44336;--mdc-filled-text-field-focus-label-text-color: rgba(244, 67, 54, .87);--mdc-outlined-text-field-caret-color: #f44336;--mdc-outlined-text-field-focus-outline-color: #f44336;--mdc-outlined-text-field-focus-label-text-color: rgba(244, 67, 54, .87)}.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field[_ngcontent-%COMP%] .mdc-notched-outline__notch[_ngcontent-%COMP%]{border-left:1px solid transparent}[dir=rtl][_ngcontent-%COMP%] .mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field[_ngcontent-%COMP%] .mdc-notched-outline__notch[_ngcontent-%COMP%]{border-left:none;border-right:1px solid transparent}.mat-mdc-form-field-infix[_ngcontent-%COMP%]{min-height:48px}.mat-mdc-text-field-wrapper[_ngcontent-%COMP%] .mat-mdc-form-field-flex[_ngcontent-%COMP%] .mat-mdc-floating-label[_ngcontent-%COMP%]{top:24px}.mat-mdc-text-field-wrapper.mdc-text-field--outlined[_ngcontent-%COMP%] .mdc-notched-outline--upgraded[_ngcontent-%COMP%] .mdc-floating-label--float-above[_ngcontent-%COMP%]{--mat-mdc-form-field-label-transform: translateY( -30.75px) scale(var(--mat-mdc-form-field-floating-label-scale, .75));transform:var(--mat-mdc-form-field-label-transform)}.mat-mdc-text-field-wrapper.mdc-text-field--outlined[_ngcontent-%COMP%] .mat-mdc-form-field-infix[_ngcontent-%COMP%]{padding-top:12px;padding-bottom:12px}.mat-mdc-text-field-wrapper[_ngcontent-%COMP%]:not(.mdc-text-field--outlined) .mat-mdc-form-field-infix[_ngcontent-%COMP%]{padding-top:12px;padding-bottom:12px}.mdc-text-field--no-label[_ngcontent-%COMP%]:not(.mdc-text-field--outlined):not(.mdc-text-field--textarea) .mat-mdc-form-field-infix[_ngcontent-%COMP%]{padding-top:12px;padding-bottom:12px}.mat-mdc-text-field-wrapper[_ngcontent-%COMP%]:not(.mdc-text-field--outlined) .mat-mdc-floating-label[_ngcontent-%COMP%]{display:none}html[_ngcontent-%COMP%]{--mdc-filled-text-field-label-text-font: Inter;--mdc-filled-text-field-label-text-size: 13px;--mdc-filled-text-field-label-text-tracking: normal;--mdc-filled-text-field-label-text-weight: 400;--mdc-outlined-text-field-label-text-font: Inter;--mdc-outlined-text-field-label-text-size: 13px;--mdc-outlined-text-field-label-text-tracking: normal;--mdc-outlined-text-field-label-text-weight: 400;--mat-form-field-container-text-font: Inter;--mat-form-field-container-text-line-height: 19px;--mat-form-field-container-text-size: 13px;--mat-form-field-container-text-tracking: normal;--mat-form-field-container-text-weight: 400;--mat-form-field-outlined-label-text-populated-size: 13px;--mat-form-field-subscript-text-font: Inter;--mat-form-field-subscript-text-line-height: 16px;--mat-form-field-subscript-text-size: 12px;--mat-form-field-subscript-text-tracking: normal;--mat-form-field-subscript-text-weight: 400}html[_ngcontent-%COMP%]{--mat-select-panel-background-color: white;--mat-select-enabled-trigger-text-color: rgba(0, 0, 0, .87);--mat-select-disabled-trigger-text-color: rgba(0, 0, 0, .38);--mat-select-placeholder-text-color: rgba(0, 0, 0, .6);--mat-select-enabled-arrow-color: rgba(0, 0, 0, .54);--mat-select-disabled-arrow-color: rgba(0, 0, 0, .38);--mat-select-focused-arrow-color: rgba(15, 7, 97, .87);--mat-select-invalid-arrow-color: rgba(244, 67, 54, .87)}html[_ngcontent-%COMP%] .mat-mdc-form-field.mat-accent[_ngcontent-%COMP%]{--mat-select-panel-background-color: white;--mat-select-enabled-trigger-text-color: rgba(0, 0, 0, .87);--mat-select-disabled-trigger-text-color: rgba(0, 0, 0, .38);--mat-select-placeholder-text-color: rgba(0, 0, 0, .6);--mat-select-enabled-arrow-color: rgba(0, 0, 0, .54);--mat-select-disabled-arrow-color: rgba(0, 0, 0, .38);--mat-select-focused-arrow-color: rgba(221, 115, 69, .87);--mat-select-invalid-arrow-color: rgba(244, 67, 54, .87)}html[_ngcontent-%COMP%] .mat-mdc-form-field.mat-warn[_ngcontent-%COMP%]{--mat-select-panel-background-color: white;--mat-select-enabled-trigger-text-color: rgba(0, 0, 0, .87);--mat-select-disabled-trigger-text-color: rgba(0, 0, 0, .38);--mat-select-placeholder-text-color: rgba(0, 0, 0, .6);--mat-select-enabled-arrow-color: rgba(0, 0, 0, .54);--mat-select-disabled-arrow-color: rgba(0, 0, 0, .38);--mat-select-focused-arrow-color: rgba(244, 67, 54, .87);--mat-select-invalid-arrow-color: rgba(244, 67, 54, .87)}.mat-form-field-appearance-fill[_ngcontent-%COMP%] .mat-mdc-select-arrow-wrapper[_ngcontent-%COMP%]{transform:none}html[_ngcontent-%COMP%]{--mat-select-trigger-text-font: Inter;--mat-select-trigger-text-line-height: 19px;--mat-select-trigger-text-size: 13px;--mat-select-trigger-text-tracking: normal;--mat-select-trigger-text-weight: 400}html[_ngcontent-%COMP%]{--mat-autocomplete-background-color: white}.mat-mdc-dialog-container[_ngcontent-%COMP%]{--mdc-dialog-container-color: white;--mdc-dialog-subhead-color: rgba(0, 0, 0, .87);--mdc-dialog-supporting-text-color: rgba(0, 0, 0, .6)}.mat-mdc-dialog-container[_ngcontent-%COMP%]{--mdc-dialog-subhead-font: Inter;--mdc-dialog-subhead-line-height: 21px;--mdc-dialog-subhead-size: 16px;--mdc-dialog-subhead-weight: 600;--mdc-dialog-subhead-tracking: normal;--mdc-dialog-supporting-text-font: Inter;--mdc-dialog-supporting-text-line-height: 19px;--mdc-dialog-supporting-text-size: 13px;--mdc-dialog-supporting-text-weight: 400;--mdc-dialog-supporting-text-tracking: normal}.mat-mdc-standard-chip[_ngcontent-%COMP%]{--mdc-chip-disabled-label-text-color: #212121;--mdc-chip-elevated-container-color: #e0e0e0;--mdc-chip-elevated-disabled-container-color: #e0e0e0;--mdc-chip-focus-state-layer-color: black;--mdc-chip-focus-state-layer-opacity: .12;--mdc-chip-label-text-color: #212121;--mdc-chip-with-icon-icon-color: #212121;--mdc-chip-with-icon-disabled-icon-color: #212121;--mdc-chip-with-icon-selected-icon-color: #212121;--mdc-chip-with-trailing-icon-disabled-trailing-icon-color: #212121;--mdc-chip-with-trailing-icon-trailing-icon-color: #212121}.mat-mdc-standard-chip.mat-mdc-chip-selected.mat-primary[_ngcontent-%COMP%], .mat-mdc-standard-chip.mat-mdc-chip-highlighted.mat-primary[_ngcontent-%COMP%]{--mdc-chip-disabled-label-text-color: white;--mdc-chip-elevated-container-color: #0f0761;--mdc-chip-elevated-disabled-container-color: #0f0761;--mdc-chip-focus-state-layer-color: black;--mdc-chip-focus-state-layer-opacity: .12;--mdc-chip-label-text-color: white;--mdc-chip-with-icon-icon-color: white;--mdc-chip-with-icon-disabled-icon-color: white;--mdc-chip-with-icon-selected-icon-color: white;--mdc-chip-with-trailing-icon-disabled-trailing-icon-color: white;--mdc-chip-with-trailing-icon-trailing-icon-color: white}.mat-mdc-standard-chip.mat-mdc-chip-selected.mat-accent[_ngcontent-%COMP%], .mat-mdc-standard-chip.mat-mdc-chip-highlighted.mat-accent[_ngcontent-%COMP%]{--mdc-chip-disabled-label-text-color: white;--mdc-chip-elevated-container-color: #dd7345;--mdc-chip-elevated-disabled-container-color: #dd7345;--mdc-chip-focus-state-layer-color: black;--mdc-chip-focus-state-layer-opacity: .12;--mdc-chip-label-text-color: white;--mdc-chip-with-icon-icon-color: white;--mdc-chip-with-icon-disabled-icon-color: white;--mdc-chip-with-icon-selected-icon-color: white;--mdc-chip-with-trailing-icon-disabled-trailing-icon-color: white;--mdc-chip-with-trailing-icon-trailing-icon-color: white}.mat-mdc-standard-chip.mat-mdc-chip-selected.mat-warn[_ngcontent-%COMP%], .mat-mdc-standard-chip.mat-mdc-chip-highlighted.mat-warn[_ngcontent-%COMP%]{--mdc-chip-disabled-label-text-color: white;--mdc-chip-elevated-container-color: #f44336;--mdc-chip-elevated-disabled-container-color: #f44336;--mdc-chip-focus-state-layer-color: black;--mdc-chip-focus-state-layer-opacity: .12;--mdc-chip-label-text-color: white;--mdc-chip-with-icon-icon-color: white;--mdc-chip-with-icon-disabled-icon-color: white;--mdc-chip-with-icon-selected-icon-color: white;--mdc-chip-with-trailing-icon-disabled-trailing-icon-color: white;--mdc-chip-with-trailing-icon-trailing-icon-color: white}.mat-mdc-chip.mat-mdc-standard-chip[_ngcontent-%COMP%]{--mdc-chip-container-height: 24px}.mat-mdc-standard-chip[_ngcontent-%COMP%]{--mdc-chip-label-text-font: Inter;--mdc-chip-label-text-line-height: 19px;--mdc-chip-label-text-size: 13px;--mdc-chip-label-text-tracking: normal;--mdc-chip-label-text-weight: 400}.mat-mdc-slide-toggle[_ngcontent-%COMP%]{--mdc-switch-selected-focus-state-layer-color: #5c5699;--mdc-switch-selected-handle-color: #5c5699;--mdc-switch-selected-hover-state-layer-color: #5c5699;--mdc-switch-selected-pressed-state-layer-color: #5c5699;--mdc-switch-selected-focus-handle-color: #0f0761;--mdc-switch-selected-hover-handle-color: #0f0761;--mdc-switch-selected-pressed-handle-color: #0f0761;--mdc-switch-selected-focus-track-color: #aaa8ca;--mdc-switch-selected-hover-track-color: #aaa8ca;--mdc-switch-selected-pressed-track-color: #aaa8ca;--mdc-switch-selected-track-color: #aaa8ca;--mdc-switch-disabled-selected-handle-color: #424242;--mdc-switch-disabled-selected-icon-color: #fff;--mdc-switch-disabled-selected-track-color: #424242;--mdc-switch-disabled-unselected-handle-color: #424242;--mdc-switch-disabled-unselected-icon-color: #fff;--mdc-switch-disabled-unselected-track-color: #424242;--mdc-switch-handle-surface-color: var(--mdc-theme-surface, #fff);--mdc-switch-handle-elevation-shadow: 0px 2px 1px -1px rgba(0, 0, 0, .2), 0px 1px 1px 0px rgba(0, 0, 0, .14), 0px 1px 3px 0px rgba(0, 0, 0, .12);--mdc-switch-handle-shadow-color: black;--mdc-switch-disabled-handle-elevation-shadow: 0px 0px 0px 0px rgba(0, 0, 0, .2), 0px 0px 0px 0px rgba(0, 0, 0, .14), 0px 0px 0px 0px rgba(0, 0, 0, .12);--mdc-switch-selected-icon-color: #fff;--mdc-switch-unselected-focus-handle-color: #212121;--mdc-switch-unselected-focus-state-layer-color: #424242;--mdc-switch-unselected-focus-track-color: #e0e0e0;--mdc-switch-unselected-handle-color: #616161;--mdc-switch-unselected-hover-handle-color: #212121;--mdc-switch-unselected-hover-state-layer-color: #424242;--mdc-switch-unselected-hover-track-color: #e0e0e0;--mdc-switch-unselected-icon-color: #fff;--mdc-switch-unselected-pressed-handle-color: #212121;--mdc-switch-unselected-pressed-state-layer-color: #424242;--mdc-switch-unselected-pressed-track-color: #e0e0e0;--mdc-switch-unselected-track-color: #e0e0e0}.mat-mdc-slide-toggle[_ngcontent-%COMP%] .mdc-form-field[_ngcontent-%COMP%]{color:var(--mdc-theme-text-primary-on-background, rgba(0, 0, 0, .87))}.mat-mdc-slide-toggle[_ngcontent-%COMP%] .mdc-switch--disabled[_ngcontent-%COMP%] + label[_ngcontent-%COMP%]{color:#00000061}.mat-mdc-slide-toggle.mat-accent[_ngcontent-%COMP%]{--mdc-switch-selected-focus-state-layer-color: #914b2d;--mdc-switch-selected-handle-color: #914b2d;--mdc-switch-selected-hover-state-layer-color: #914b2d;--mdc-switch-selected-pressed-state-layer-color: #914b2d;--mdc-switch-selected-focus-handle-color: #2b160d;--mdc-switch-selected-hover-handle-color: #2b160d;--mdc-switch-selected-pressed-handle-color: #2b160d;--mdc-switch-selected-focus-track-color: #ff8c5a;--mdc-switch-selected-hover-track-color: #ff8c5a;--mdc-switch-selected-pressed-track-color: #ff8c5a;--mdc-switch-selected-track-color: #ff8c5a}.mat-mdc-slide-toggle.mat-warn[_ngcontent-%COMP%]{--mdc-switch-selected-focus-state-layer-color: #e53935;--mdc-switch-selected-handle-color: #e53935;--mdc-switch-selected-hover-state-layer-color: #e53935;--mdc-switch-selected-pressed-state-layer-color: #e53935;--mdc-switch-selected-focus-handle-color: #b71c1c;--mdc-switch-selected-hover-handle-color: #b71c1c;--mdc-switch-selected-pressed-handle-color: #b71c1c;--mdc-switch-selected-focus-track-color: #e57373;--mdc-switch-selected-hover-track-color: #e57373;--mdc-switch-selected-pressed-track-color: #e57373;--mdc-switch-selected-track-color: #e57373}.mat-mdc-slide-toggle[_ngcontent-%COMP%]{--mdc-switch-state-layer-size: 40px}.mat-mdc-slide-toggle[_ngcontent-%COMP%]{--mat-slide-toggle-label-text-font: Inter;--mat-slide-toggle-label-text-size: 13px;--mat-slide-toggle-label-text-tracking: normal;--mat-slide-toggle-label-text-line-height: 19px;--mat-slide-toggle-label-text-weight: 400}.mat-mdc-slide-toggle[_ngcontent-%COMP%] .mdc-form-field[_ngcontent-%COMP%]{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:Roboto,sans-serif;font-family:var(--mdc-typography-body2-font-family, var(--mdc-typography-font-family, Roboto, sans-serif));font-size:.875rem;font-size:var(--mdc-typography-body2-font-size, .875rem);line-height:1.25rem;line-height:var(--mdc-typography-body2-line-height, 1.25rem);font-weight:400;font-weight:var(--mdc-typography-body2-font-weight, 400);letter-spacing:.0178571429em;letter-spacing:var(--mdc-typography-body2-letter-spacing, .0178571429em);text-decoration:inherit;-webkit-text-decoration:var(--mdc-typography-body2-text-decoration, inherit);text-decoration:var(--mdc-typography-body2-text-decoration, inherit);text-transform:inherit;text-transform:var(--mdc-typography-body2-text-transform, inherit)}.mat-mdc-radio-button[_ngcontent-%COMP%] .mdc-form-field[_ngcontent-%COMP%]{color:var(--mdc-theme-text-primary-on-background, rgba(0, 0, 0, .87))}.mat-mdc-radio-button.mat-primary[_ngcontent-%COMP%]{--mdc-radio-disabled-selected-icon-color: #000;--mdc-radio-disabled-unselected-icon-color: #000;--mdc-radio-unselected-hover-icon-color: #212121;--mdc-radio-unselected-icon-color: rgba(0, 0, 0, .54);--mdc-radio-unselected-pressed-icon-color: rgba(0, 0, 0, .54);--mdc-radio-selected-focus-icon-color: #0f0761;--mdc-radio-selected-hover-icon-color: #0f0761;--mdc-radio-selected-icon-color: #0f0761;--mdc-radio-selected-pressed-icon-color: #0f0761;--mat-radio-ripple-color: #000;--mat-radio-checked-ripple-color: #0f0761;--mat-radio-disabled-label-color: rgba(0, 0, 0, .38)}.mat-mdc-radio-button.mat-accent[_ngcontent-%COMP%]{--mdc-radio-disabled-selected-icon-color: #000;--mdc-radio-disabled-unselected-icon-color: #000;--mdc-radio-unselected-hover-icon-color: #212121;--mdc-radio-unselected-icon-color: rgba(0, 0, 0, .54);--mdc-radio-unselected-pressed-icon-color: rgba(0, 0, 0, .54);--mdc-radio-selected-focus-icon-color: #dd7345;--mdc-radio-selected-hover-icon-color: #dd7345;--mdc-radio-selected-icon-color: #dd7345;--mdc-radio-selected-pressed-icon-color: #dd7345;--mat-radio-ripple-color: #000;--mat-radio-checked-ripple-color: #dd7345;--mat-radio-disabled-label-color: rgba(0, 0, 0, .38)}.mat-mdc-radio-button.mat-warn[_ngcontent-%COMP%]{--mdc-radio-disabled-selected-icon-color: #000;--mdc-radio-disabled-unselected-icon-color: #000;--mdc-radio-unselected-hover-icon-color: #212121;--mdc-radio-unselected-icon-color: rgba(0, 0, 0, .54);--mdc-radio-unselected-pressed-icon-color: rgba(0, 0, 0, .54);--mdc-radio-selected-focus-icon-color: #f44336;--mdc-radio-selected-hover-icon-color: #f44336;--mdc-radio-selected-icon-color: #f44336;--mdc-radio-selected-pressed-icon-color: #f44336;--mat-radio-ripple-color: #000;--mat-radio-checked-ripple-color: #f44336;--mat-radio-disabled-label-color: rgba(0, 0, 0, .38)}.mat-mdc-radio-button[_ngcontent-%COMP%] .mdc-radio[_ngcontent-%COMP%]{--mdc-radio-state-layer-size: 32px}.mat-mdc-radio-touch-target[_ngcontent-%COMP%]{display:none}.mat-mdc-radio-button[_ngcontent-%COMP%] .mdc-form-field[_ngcontent-%COMP%]{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--mdc-typography-body2-font-family, var(--mdc-typography-font-family, Inter));font-size:var(--mdc-typography-body2-font-size, 13px);line-height:var(--mdc-typography-body2-line-height, 19px);font-weight:var(--mdc-typography-body2-font-weight, 400);letter-spacing:var(--mdc-typography-body2-letter-spacing, normal);-webkit-text-decoration:var(--mdc-typography-body2-text-decoration, inherit);text-decoration:var(--mdc-typography-body2-text-decoration, inherit);text-transform:var(--mdc-typography-body2-text-transform, none)}.mat-mdc-slider[_ngcontent-%COMP%]{--mdc-slider-label-container-color: black;--mdc-slider-label-label-text-color: white;--mdc-slider-disabled-handle-color: #000;--mdc-slider-disabled-active-track-color: #000;--mdc-slider-disabled-inactive-track-color: #000;--mdc-slider-with-tick-marks-disabled-container-color: #000;--mat-mdc-slider-value-indicator-opacity: .6}.mat-mdc-slider.mat-primary[_ngcontent-%COMP%]{--mdc-slider-handle-color: #0f0761;--mdc-slider-focus-handle-color: #0f0761;--mdc-slider-hover-handle-color: #0f0761;--mdc-slider-active-track-color: #0f0761;--mdc-slider-inactive-track-color: #0f0761;--mdc-slider-with-tick-marks-active-container-color: #fff;--mdc-slider-with-tick-marks-inactive-container-color: #0f0761;--mat-mdc-slider-ripple-color: #0f0761;--mat-mdc-slider-hover-ripple-color: rgba(15, 7, 97, .05);--mat-mdc-slider-focus-ripple-color: rgba(15, 7, 97, .2)}.mat-mdc-slider.mat-accent[_ngcontent-%COMP%]{--mdc-slider-handle-color: #dd7345;--mdc-slider-focus-handle-color: #dd7345;--mdc-slider-hover-handle-color: #dd7345;--mdc-slider-active-track-color: #dd7345;--mdc-slider-inactive-track-color: #dd7345;--mdc-slider-with-tick-marks-active-container-color: #fff;--mdc-slider-with-tick-marks-inactive-container-color: #dd7345;--mat-mdc-slider-ripple-color: #dd7345;--mat-mdc-slider-hover-ripple-color: rgba(221, 115, 69, .05);--mat-mdc-slider-focus-ripple-color: rgba(221, 115, 69, .2)}.mat-mdc-slider.mat-warn[_ngcontent-%COMP%]{--mdc-slider-handle-color: #f44336;--mdc-slider-focus-handle-color: #f44336;--mdc-slider-hover-handle-color: #f44336;--mdc-slider-active-track-color: #f44336;--mdc-slider-inactive-track-color: #f44336;--mdc-slider-with-tick-marks-active-container-color: #fff;--mdc-slider-with-tick-marks-inactive-container-color: #f44336;--mat-mdc-slider-ripple-color: #f44336;--mat-mdc-slider-hover-ripple-color: rgba(244, 67, 54, .05);--mat-mdc-slider-focus-ripple-color: rgba(244, 67, 54, .2)}.mat-mdc-slider[_ngcontent-%COMP%]{--mdc-slider-label-label-text-font: Inter;--mdc-slider-label-label-text-size: 13px;--mdc-slider-label-label-text-line-height: 19px;--mdc-slider-label-label-text-tracking: normal;--mdc-slider-label-label-text-weight: 500}html[_ngcontent-%COMP%]{--mat-menu-item-label-text-color: rgba(0, 0, 0, .87);--mat-menu-item-icon-color: rgba(0, 0, 0, .87);--mat-menu-item-hover-state-layer-color: rgba(0, 0, 0, .04);--mat-menu-item-focus-state-layer-color: rgba(0, 0, 0, .04);--mat-menu-container-color: white}html[_ngcontent-%COMP%]{--mat-menu-item-label-text-font: Inter;--mat-menu-item-label-text-size: 13px;--mat-menu-item-label-text-tracking: normal;--mat-menu-item-label-text-line-height: 19px;--mat-menu-item-label-text-weight: 400}.mat-mdc-list-base[_ngcontent-%COMP%]{--mdc-list-list-item-label-text-color: rgba(0, 0, 0, .87);--mdc-list-list-item-supporting-text-color: rgba(0, 0, 0, .54);--mdc-list-list-item-leading-icon-color: rgba(0, 0, 0, .38);--mdc-list-list-item-trailing-supporting-text-color: rgba(0, 0, 0, .38);--mdc-list-list-item-trailing-icon-color: rgba(0, 0, 0, .38);--mdc-list-list-item-selected-trailing-icon-color: rgba(0, 0, 0, .38);--mdc-list-list-item-disabled-label-text-color: black;--mdc-list-list-item-disabled-leading-icon-color: black;--mdc-list-list-item-disabled-trailing-icon-color: black;--mdc-list-list-item-hover-label-text-color: rgba(0, 0, 0, .87);--mdc-list-list-item-hover-leading-icon-color: rgba(0, 0, 0, .38);--mdc-list-list-item-hover-trailing-icon-color: rgba(0, 0, 0, .38);--mdc-list-list-item-focus-label-text-color: rgba(0, 0, 0, .87);--mdc-list-list-item-hover-state-layer-color: black;--mdc-list-list-item-hover-state-layer-opacity: .04;--mdc-list-list-item-focus-state-layer-color: black;--mdc-list-list-item-focus-state-layer-opacity: .12}.mdc-list-item__start[_ngcontent-%COMP%], .mdc-list-item__end[_ngcontent-%COMP%]{--mdc-radio-disabled-selected-icon-color: #000;--mdc-radio-disabled-unselected-icon-color: #000;--mdc-radio-unselected-hover-icon-color: #212121;--mdc-radio-unselected-icon-color: rgba(0, 0, 0, .54);--mdc-radio-unselected-pressed-icon-color: rgba(0, 0, 0, .54);--mdc-radio-selected-focus-icon-color: #0f0761;--mdc-radio-selected-hover-icon-color: #0f0761;--mdc-radio-selected-icon-color: #0f0761;--mdc-radio-selected-pressed-icon-color: #0f0761}.mat-accent[_ngcontent-%COMP%] .mdc-list-item__start[_ngcontent-%COMP%], .mat-accent[_ngcontent-%COMP%] .mdc-list-item__end[_ngcontent-%COMP%]{--mdc-radio-disabled-selected-icon-color: #000;--mdc-radio-disabled-unselected-icon-color: #000;--mdc-radio-unselected-hover-icon-color: #212121;--mdc-radio-unselected-icon-color: rgba(0, 0, 0, .54);--mdc-radio-unselected-pressed-icon-color: rgba(0, 0, 0, .54);--mdc-radio-selected-focus-icon-color: #dd7345;--mdc-radio-selected-hover-icon-color: #dd7345;--mdc-radio-selected-icon-color: #dd7345;--mdc-radio-selected-pressed-icon-color: #dd7345}.mat-warn[_ngcontent-%COMP%] .mdc-list-item__start[_ngcontent-%COMP%], .mat-warn[_ngcontent-%COMP%] .mdc-list-item__end[_ngcontent-%COMP%]{--mdc-radio-disabled-selected-icon-color: #000;--mdc-radio-disabled-unselected-icon-color: #000;--mdc-radio-unselected-hover-icon-color: #212121;--mdc-radio-unselected-icon-color: rgba(0, 0, 0, .54);--mdc-radio-unselected-pressed-icon-color: rgba(0, 0, 0, .54);--mdc-radio-selected-focus-icon-color: #f44336;--mdc-radio-selected-hover-icon-color: #f44336;--mdc-radio-selected-icon-color: #f44336;--mdc-radio-selected-pressed-icon-color: #f44336}.mat-mdc-list-option[_ngcontent-%COMP%]{--mdc-checkbox-disabled-selected-icon-color: rgba(0, 0, 0, .38);--mdc-checkbox-disabled-unselected-icon-color: rgba(0, 0, 0, .38);--mdc-checkbox-selected-checkmark-color: #fff;--mdc-checkbox-selected-focus-icon-color: #0f0761;--mdc-checkbox-selected-hover-icon-color: #0f0761;--mdc-checkbox-selected-icon-color: #0f0761;--mdc-checkbox-selected-pressed-icon-color: #0f0761;--mdc-checkbox-unselected-focus-icon-color: #212121;--mdc-checkbox-unselected-hover-icon-color: #212121;--mdc-checkbox-unselected-icon-color: rgba(0, 0, 0, .54);--mdc-checkbox-unselected-pressed-icon-color: rgba(0, 0, 0, .54);--mdc-checkbox-selected-focus-state-layer-color: #0f0761;--mdc-checkbox-selected-hover-state-layer-color: #0f0761;--mdc-checkbox-selected-pressed-state-layer-color: #0f0761;--mdc-checkbox-unselected-focus-state-layer-color: black;--mdc-checkbox-unselected-hover-state-layer-color: black;--mdc-checkbox-unselected-pressed-state-layer-color: black}.mat-mdc-list-option.mat-accent[_ngcontent-%COMP%]{--mdc-checkbox-disabled-selected-icon-color: rgba(0, 0, 0, .38);--mdc-checkbox-disabled-unselected-icon-color: rgba(0, 0, 0, .38);--mdc-checkbox-selected-checkmark-color: #fff;--mdc-checkbox-selected-focus-icon-color: #dd7345;--mdc-checkbox-selected-hover-icon-color: #dd7345;--mdc-checkbox-selected-icon-color: #dd7345;--mdc-checkbox-selected-pressed-icon-color: #dd7345;--mdc-checkbox-unselected-focus-icon-color: #212121;--mdc-checkbox-unselected-hover-icon-color: #212121;--mdc-checkbox-unselected-icon-color: rgba(0, 0, 0, .54);--mdc-checkbox-unselected-pressed-icon-color: rgba(0, 0, 0, .54);--mdc-checkbox-selected-focus-state-layer-color: #dd7345;--mdc-checkbox-selected-hover-state-layer-color: #dd7345;--mdc-checkbox-selected-pressed-state-layer-color: #dd7345;--mdc-checkbox-unselected-focus-state-layer-color: black;--mdc-checkbox-unselected-hover-state-layer-color: black;--mdc-checkbox-unselected-pressed-state-layer-color: black}.mat-mdc-list-option.mat-warn[_ngcontent-%COMP%]{--mdc-checkbox-disabled-selected-icon-color: rgba(0, 0, 0, .38);--mdc-checkbox-disabled-unselected-icon-color: rgba(0, 0, 0, .38);--mdc-checkbox-selected-checkmark-color: #fff;--mdc-checkbox-selected-focus-icon-color: #f44336;--mdc-checkbox-selected-hover-icon-color: #f44336;--mdc-checkbox-selected-icon-color: #f44336;--mdc-checkbox-selected-pressed-icon-color: #f44336;--mdc-checkbox-unselected-focus-icon-color: #212121;--mdc-checkbox-unselected-hover-icon-color: #212121;--mdc-checkbox-unselected-icon-color: rgba(0, 0, 0, .54);--mdc-checkbox-unselected-pressed-icon-color: rgba(0, 0, 0, .54);--mdc-checkbox-selected-focus-state-layer-color: #f44336;--mdc-checkbox-selected-hover-state-layer-color: #f44336;--mdc-checkbox-selected-pressed-state-layer-color: #f44336;--mdc-checkbox-unselected-focus-state-layer-color: black;--mdc-checkbox-unselected-hover-state-layer-color: black;--mdc-checkbox-unselected-pressed-state-layer-color: black}.mat-mdc-list-base.mat-mdc-list-base[_ngcontent-%COMP%] .mdc-list-item--selected[_ngcontent-%COMP%] .mdc-list-item__primary-text[_ngcontent-%COMP%], .mat-mdc-list-base.mat-mdc-list-base[_ngcontent-%COMP%] .mdc-list-item--activated[_ngcontent-%COMP%] .mdc-list-item__primary-text[_ngcontent-%COMP%], .mat-mdc-list-base.mat-mdc-list-base[_ngcontent-%COMP%] .mdc-list-item--selected.mdc-list-item--with-leading-icon[_ngcontent-%COMP%] .mdc-list-item__start[_ngcontent-%COMP%], .mat-mdc-list-base.mat-mdc-list-base[_ngcontent-%COMP%] .mdc-list-item--activated.mdc-list-item--with-leading-icon[_ngcontent-%COMP%] .mdc-list-item__start[_ngcontent-%COMP%]{color:#0f0761}.mat-mdc-list-base[_ngcontent-%COMP%] .mdc-list-item--disabled[_ngcontent-%COMP%] .mdc-list-item__start[_ngcontent-%COMP%], .mat-mdc-list-base[_ngcontent-%COMP%] .mdc-list-item--disabled[_ngcontent-%COMP%] .mdc-list-item__content[_ngcontent-%COMP%], .mat-mdc-list-base[_ngcontent-%COMP%] .mdc-list-item--disabled[_ngcontent-%COMP%] .mdc-list-item__end[_ngcontent-%COMP%]{opacity:1}.mat-mdc-list-base[_ngcontent-%COMP%]{--mdc-list-list-item-one-line-container-height: 40px;--mdc-list-list-item-two-line-container-height: 56px;--mdc-list-list-item-three-line-container-height: 80px}.mat-mdc-list-item.mdc-list-item--with-leading-avatar.mdc-list-item--with-one-line[_ngcontent-%COMP%], .mat-mdc-list-item.mdc-list-item--with-leading-checkbox.mdc-list-item--with-one-line[_ngcontent-%COMP%], .mat-mdc-list-item.mdc-list-item--with-leading-icon.mdc-list-item--with-one-line[_ngcontent-%COMP%]{height:48px}.mat-mdc-list-item.mdc-list-item--with-leading-avatar.mdc-list-item--with-two-lines[_ngcontent-%COMP%], .mat-mdc-list-item.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines[_ngcontent-%COMP%], .mat-mdc-list-item.mdc-list-item--with-leading-icon.mdc-list-item--with-two-lines[_ngcontent-%COMP%]{height:64px}.mat-mdc-list-base[_ngcontent-%COMP%]{--mdc-list-list-item-label-text-font: Inter;--mdc-list-list-item-label-text-line-height: 19px;--mdc-list-list-item-label-text-size: 13px;--mdc-list-list-item-label-text-tracking: normal;--mdc-list-list-item-label-text-weight: 400;--mdc-list-list-item-supporting-text-font: Inter;--mdc-list-list-item-supporting-text-line-height: 19px;--mdc-list-list-item-supporting-text-size: 13px;--mdc-list-list-item-supporting-text-tracking: normal;--mdc-list-list-item-supporting-text-weight: 400;--mdc-list-list-item-trailing-supporting-text-font: Inter;--mdc-list-list-item-trailing-supporting-text-line-height: 16px;--mdc-list-list-item-trailing-supporting-text-size: 12px;--mdc-list-list-item-trailing-supporting-text-tracking: normal;--mdc-list-list-item-trailing-supporting-text-weight: 400}.mdc-list-group__subheader[_ngcontent-%COMP%]{font-size:16px;font-weight:600;line-height:22px;font-family:Inter;letter-spacing:normal}html[_ngcontent-%COMP%]{--mat-paginator-container-text-color: rgba(0, 0, 0, .87);--mat-paginator-container-background-color: white;--mat-paginator-enabled-icon-color: rgba(0, 0, 0, .54);--mat-paginator-disabled-icon-color: rgba(0, 0, 0, .12)}html[_ngcontent-%COMP%]{--mat-paginator-container-size: 48px}.mat-mdc-paginator[_ngcontent-%COMP%] .mat-mdc-form-field-infix[_ngcontent-%COMP%]{min-height:40px}.mat-mdc-paginator[_ngcontent-%COMP%] .mat-mdc-text-field-wrapper[_ngcontent-%COMP%] .mat-mdc-form-field-flex[_ngcontent-%COMP%] .mat-mdc-floating-label[_ngcontent-%COMP%]{top:20px}.mat-mdc-paginator[_ngcontent-%COMP%] .mat-mdc-text-field-wrapper.mdc-text-field--outlined[_ngcontent-%COMP%] .mdc-notched-outline--upgraded[_ngcontent-%COMP%] .mdc-floating-label--float-above[_ngcontent-%COMP%]{--mat-mdc-form-field-label-transform: translateY( -26.75px) scale(var(--mat-mdc-form-field-floating-label-scale, .75));transform:var(--mat-mdc-form-field-label-transform)}.mat-mdc-paginator[_ngcontent-%COMP%] .mat-mdc-text-field-wrapper.mdc-text-field--outlined[_ngcontent-%COMP%] .mat-mdc-form-field-infix[_ngcontent-%COMP%]{padding-top:8px;padding-bottom:8px}.mat-mdc-paginator[_ngcontent-%COMP%] .mat-mdc-text-field-wrapper[_ngcontent-%COMP%]:not(.mdc-text-field--outlined) .mat-mdc-form-field-infix[_ngcontent-%COMP%]{padding-top:8px;padding-bottom:8px}.mat-mdc-paginator[_ngcontent-%COMP%] .mdc-text-field--no-label[_ngcontent-%COMP%]:not(.mdc-text-field--outlined):not(.mdc-text-field--textarea) .mat-mdc-form-field-infix[_ngcontent-%COMP%]{padding-top:8px;padding-bottom:8px}.mat-mdc-paginator[_ngcontent-%COMP%] .mat-mdc-text-field-wrapper[_ngcontent-%COMP%]:not(.mdc-text-field--outlined) .mat-mdc-floating-label[_ngcontent-%COMP%]{display:none}html[_ngcontent-%COMP%]{--mat-paginator-container-text-font: Inter;--mat-paginator-container-text-line-height: 16px;--mat-paginator-container-text-size: 12px;--mat-paginator-container-text-tracking: normal;--mat-paginator-container-text-weight: 400;--mat-paginator-select-trigger-text-size: 12px}.mat-mdc-tab-group[_ngcontent-%COMP%], .mat-mdc-tab-nav-bar[_ngcontent-%COMP%]{--mdc-tab-indicator-active-indicator-color: #0f0761;--mat-tab-header-disabled-ripple-color: rgba(0, 0, 0, .38);--mat-tab-header-pagination-icon-color: #000;--mat-tab-header-inactive-label-text-color: rgba(0, 0, 0, .6);--mat-tab-header-active-label-text-color: #0f0761;--mat-tab-header-active-ripple-color: #0f0761;--mat-tab-header-inactive-ripple-color: #0f0761;--mat-tab-header-inactive-focus-label-text-color: rgba(0, 0, 0, .6);--mat-tab-header-inactive-hover-label-text-color: rgba(0, 0, 0, .6);--mat-tab-header-active-focus-label-text-color: #0f0761;--mat-tab-header-active-hover-label-text-color: #0f0761;--mat-tab-header-active-focus-indicator-color: #0f0761;--mat-tab-header-active-hover-indicator-color: #0f0761}.mat-mdc-tab-group.mat-accent[_ngcontent-%COMP%], .mat-mdc-tab-nav-bar.mat-accent[_ngcontent-%COMP%]{--mdc-tab-indicator-active-indicator-color: #dd7345;--mat-tab-header-disabled-ripple-color: rgba(0, 0, 0, .38);--mat-tab-header-pagination-icon-color: #000;--mat-tab-header-inactive-label-text-color: rgba(0, 0, 0, .6);--mat-tab-header-active-label-text-color: #dd7345;--mat-tab-header-active-ripple-color: #dd7345;--mat-tab-header-inactive-ripple-color: #dd7345;--mat-tab-header-inactive-focus-label-text-color: rgba(0, 0, 0, .6);--mat-tab-header-inactive-hover-label-text-color: rgba(0, 0, 0, .6);--mat-tab-header-active-focus-label-text-color: #dd7345;--mat-tab-header-active-hover-label-text-color: #dd7345;--mat-tab-header-active-focus-indicator-color: #dd7345;--mat-tab-header-active-hover-indicator-color: #dd7345}.mat-mdc-tab-group.mat-warn[_ngcontent-%COMP%], .mat-mdc-tab-nav-bar.mat-warn[_ngcontent-%COMP%]{--mdc-tab-indicator-active-indicator-color: #f44336;--mat-tab-header-disabled-ripple-color: rgba(0, 0, 0, .38);--mat-tab-header-pagination-icon-color: #000;--mat-tab-header-inactive-label-text-color: rgba(0, 0, 0, .6);--mat-tab-header-active-label-text-color: #f44336;--mat-tab-header-active-ripple-color: #f44336;--mat-tab-header-inactive-ripple-color: #f44336;--mat-tab-header-inactive-focus-label-text-color: rgba(0, 0, 0, .6);--mat-tab-header-inactive-hover-label-text-color: rgba(0, 0, 0, .6);--mat-tab-header-active-focus-label-text-color: #f44336;--mat-tab-header-active-hover-label-text-color: #f44336;--mat-tab-header-active-focus-indicator-color: #f44336;--mat-tab-header-active-hover-indicator-color: #f44336}.mat-mdc-tab-group.mat-background-primary[_ngcontent-%COMP%], .mat-mdc-tab-nav-bar.mat-background-primary[_ngcontent-%COMP%]{--mat-tab-header-with-background-background-color: #0f0761;--mat-tab-header-with-background-foreground-color: white}.mat-mdc-tab-group.mat-background-accent[_ngcontent-%COMP%], .mat-mdc-tab-nav-bar.mat-background-accent[_ngcontent-%COMP%]{--mat-tab-header-with-background-background-color: #dd7345;--mat-tab-header-with-background-foreground-color: white}.mat-mdc-tab-group.mat-background-warn[_ngcontent-%COMP%], .mat-mdc-tab-nav-bar.mat-background-warn[_ngcontent-%COMP%]{--mat-tab-header-with-background-background-color: #f44336;--mat-tab-header-with-background-foreground-color: white}.mat-mdc-tab-header[_ngcontent-%COMP%]{--mdc-secondary-navigation-tab-container-height: 40px}.mat-mdc-tab-header[_ngcontent-%COMP%]{--mat-tab-header-label-text-font: Inter;--mat-tab-header-label-text-size: 13px;--mat-tab-header-label-text-tracking: normal;--mat-tab-header-label-text-line-height: 19px;--mat-tab-header-label-text-weight: 500}html[_ngcontent-%COMP%]{--mdc-checkbox-disabled-selected-icon-color: rgba(0, 0, 0, .38);--mdc-checkbox-disabled-unselected-icon-color: rgba(0, 0, 0, .38);--mdc-checkbox-selected-checkmark-color: #fff;--mdc-checkbox-selected-focus-icon-color: #dd7345;--mdc-checkbox-selected-hover-icon-color: #dd7345;--mdc-checkbox-selected-icon-color: #dd7345;--mdc-checkbox-selected-pressed-icon-color: #dd7345;--mdc-checkbox-unselected-focus-icon-color: #212121;--mdc-checkbox-unselected-hover-icon-color: #212121;--mdc-checkbox-unselected-icon-color: rgba(0, 0, 0, .54);--mdc-checkbox-unselected-pressed-icon-color: rgba(0, 0, 0, .54);--mdc-checkbox-selected-focus-state-layer-color: #dd7345;--mdc-checkbox-selected-hover-state-layer-color: #dd7345;--mdc-checkbox-selected-pressed-state-layer-color: #dd7345;--mdc-checkbox-unselected-focus-state-layer-color: black;--mdc-checkbox-unselected-hover-state-layer-color: black;--mdc-checkbox-unselected-pressed-state-layer-color: black}.mat-mdc-checkbox.mat-primary[_ngcontent-%COMP%]{--mdc-checkbox-disabled-selected-icon-color: rgba(0, 0, 0, .38);--mdc-checkbox-disabled-unselected-icon-color: rgba(0, 0, 0, .38);--mdc-checkbox-selected-checkmark-color: #fff;--mdc-checkbox-selected-focus-icon-color: #0f0761;--mdc-checkbox-selected-hover-icon-color: #0f0761;--mdc-checkbox-selected-icon-color: #0f0761;--mdc-checkbox-selected-pressed-icon-color: #0f0761;--mdc-checkbox-unselected-focus-icon-color: #212121;--mdc-checkbox-unselected-hover-icon-color: #212121;--mdc-checkbox-unselected-icon-color: rgba(0, 0, 0, .54);--mdc-checkbox-unselected-pressed-icon-color: rgba(0, 0, 0, .54);--mdc-checkbox-selected-focus-state-layer-color: #0f0761;--mdc-checkbox-selected-hover-state-layer-color: #0f0761;--mdc-checkbox-selected-pressed-state-layer-color: #0f0761;--mdc-checkbox-unselected-focus-state-layer-color: black;--mdc-checkbox-unselected-hover-state-layer-color: black;--mdc-checkbox-unselected-pressed-state-layer-color: black}.mat-mdc-checkbox.mat-warn[_ngcontent-%COMP%]{--mdc-checkbox-disabled-selected-icon-color: rgba(0, 0, 0, .38);--mdc-checkbox-disabled-unselected-icon-color: rgba(0, 0, 0, .38);--mdc-checkbox-selected-checkmark-color: #fff;--mdc-checkbox-selected-focus-icon-color: #f44336;--mdc-checkbox-selected-hover-icon-color: #f44336;--mdc-checkbox-selected-icon-color: #f44336;--mdc-checkbox-selected-pressed-icon-color: #f44336;--mdc-checkbox-unselected-focus-icon-color: #212121;--mdc-checkbox-unselected-hover-icon-color: #212121;--mdc-checkbox-unselected-icon-color: rgba(0, 0, 0, .54);--mdc-checkbox-unselected-pressed-icon-color: rgba(0, 0, 0, .54);--mdc-checkbox-selected-focus-state-layer-color: #f44336;--mdc-checkbox-selected-hover-state-layer-color: #f44336;--mdc-checkbox-selected-pressed-state-layer-color: #f44336;--mdc-checkbox-unselected-focus-state-layer-color: black;--mdc-checkbox-unselected-hover-state-layer-color: black;--mdc-checkbox-unselected-pressed-state-layer-color: black}.mat-mdc-checkbox[_ngcontent-%COMP%] .mdc-form-field[_ngcontent-%COMP%]{color:var(--mdc-theme-text-primary-on-background, rgba(0, 0, 0, .87))}.mat-mdc-checkbox.mat-mdc-checkbox-disabled[_ngcontent-%COMP%] label[_ngcontent-%COMP%]{color:#00000061}html[_ngcontent-%COMP%]{--mdc-checkbox-state-layer-size: 32px}.mat-mdc-checkbox-touch-target[_ngcontent-%COMP%]{display:none}.mat-mdc-checkbox[_ngcontent-%COMP%] .mdc-form-field[_ngcontent-%COMP%]{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--mdc-typography-body2-font-family, var(--mdc-typography-font-family, Inter));font-size:var(--mdc-typography-body2-font-size, 13px);line-height:var(--mdc-typography-body2-line-height, 19px);font-weight:var(--mdc-typography-body2-font-weight, 400);letter-spacing:var(--mdc-typography-body2-letter-spacing, normal);-webkit-text-decoration:var(--mdc-typography-body2-text-decoration, inherit);text-decoration:var(--mdc-typography-body2-text-decoration, inherit);text-transform:var(--mdc-typography-body2-text-transform, none)}.mat-mdc-button.mat-unthemed[_ngcontent-%COMP%]{--mdc-text-button-label-text-color: #000}.mat-mdc-button.mat-primary[_ngcontent-%COMP%]{--mdc-text-button-label-text-color: #0f0761}.mat-mdc-button.mat-accent[_ngcontent-%COMP%]{--mdc-text-button-label-text-color: #dd7345}.mat-mdc-button.mat-warn[_ngcontent-%COMP%]{--mdc-text-button-label-text-color: #f44336}.mat-mdc-button[disabled][disabled][_ngcontent-%COMP%]{--mdc-text-button-disabled-label-text-color: rgba(0, 0, 0, .38);--mdc-text-button-label-text-color: rgba(0, 0, 0, .38)}.mat-mdc-unelevated-button.mat-unthemed[_ngcontent-%COMP%]{--mdc-filled-button-container-color: #fff;--mdc-filled-button-label-text-color: #000}.mat-mdc-unelevated-button.mat-primary[_ngcontent-%COMP%]{--mdc-filled-button-container-color: #0f0761;--mdc-filled-button-label-text-color: #fff}.mat-mdc-unelevated-button.mat-accent[_ngcontent-%COMP%]{--mdc-filled-button-container-color: #dd7345;--mdc-filled-button-label-text-color: #fff}.mat-mdc-unelevated-button.mat-warn[_ngcontent-%COMP%]{--mdc-filled-button-container-color: #f44336;--mdc-filled-button-label-text-color: #fff}.mat-mdc-unelevated-button[disabled][disabled][_ngcontent-%COMP%]{--mdc-filled-button-disabled-container-color: rgba(0, 0, 0, .12);--mdc-filled-button-disabled-label-text-color: rgba(0, 0, 0, .38);--mdc-filled-button-container-color: rgba(0, 0, 0, .12);--mdc-filled-button-label-text-color: rgba(0, 0, 0, .38)}.mat-mdc-raised-button.mat-unthemed[_ngcontent-%COMP%]{--mdc-protected-button-container-color: #fff;--mdc-protected-button-label-text-color: #000}.mat-mdc-raised-button.mat-primary[_ngcontent-%COMP%]{--mdc-protected-button-container-color: #0f0761;--mdc-protected-button-label-text-color: #fff}.mat-mdc-raised-button.mat-accent[_ngcontent-%COMP%]{--mdc-protected-button-container-color: #dd7345;--mdc-protected-button-label-text-color: #fff}.mat-mdc-raised-button.mat-warn[_ngcontent-%COMP%]{--mdc-protected-button-container-color: #f44336;--mdc-protected-button-label-text-color: #fff}.mat-mdc-raised-button[disabled][disabled][_ngcontent-%COMP%]{--mdc-protected-button-disabled-container-color: rgba(0, 0, 0, .12);--mdc-protected-button-disabled-label-text-color: rgba(0, 0, 0, .38);--mdc-protected-button-container-color: rgba(0, 0, 0, .12);--mdc-protected-button-label-text-color: rgba(0, 0, 0, .38);--mdc-protected-button-container-elevation: 0}.mat-mdc-outlined-button[_ngcontent-%COMP%]{--mdc-outlined-button-outline-color: rgba(0, 0, 0, .12)}.mat-mdc-outlined-button.mat-unthemed[_ngcontent-%COMP%]{--mdc-outlined-button-label-text-color: #000}.mat-mdc-outlined-button.mat-primary[_ngcontent-%COMP%]{--mdc-outlined-button-label-text-color: #0f0761}.mat-mdc-outlined-button.mat-accent[_ngcontent-%COMP%]{--mdc-outlined-button-label-text-color: #dd7345}.mat-mdc-outlined-button.mat-warn[_ngcontent-%COMP%]{--mdc-outlined-button-label-text-color: #f44336}.mat-mdc-outlined-button[disabled][disabled][_ngcontent-%COMP%]{--mdc-outlined-button-label-text-color: rgba(0, 0, 0, .38);--mdc-outlined-button-disabled-label-text-color: rgba(0, 0, 0, .38);--mdc-outlined-button-outline-color: rgba(0, 0, 0, .12);--mdc-outlined-button-disabled-outline-color: rgba(0, 0, 0, .12)}.mat-mdc-button[_ngcontent-%COMP%], .mat-mdc-outlined-button[_ngcontent-%COMP%]{--mat-mdc-button-persistent-ripple-color: #000;--mat-mdc-button-ripple-color: rgba(0, 0, 0, .1)}.mat-mdc-button[_ngcontent-%COMP%]:hover .mat-mdc-button-persistent-ripple[_ngcontent-%COMP%]:before, .mat-mdc-outlined-button[_ngcontent-%COMP%]:hover .mat-mdc-button-persistent-ripple[_ngcontent-%COMP%]:before{opacity:.04}.mat-mdc-button.cdk-program-focused[_ngcontent-%COMP%] .mat-mdc-button-persistent-ripple[_ngcontent-%COMP%]:before, .mat-mdc-button.cdk-keyboard-focused[_ngcontent-%COMP%] .mat-mdc-button-persistent-ripple[_ngcontent-%COMP%]:before, .mat-mdc-outlined-button.cdk-program-focused[_ngcontent-%COMP%] .mat-mdc-button-persistent-ripple[_ngcontent-%COMP%]:before, .mat-mdc-outlined-button.cdk-keyboard-focused[_ngcontent-%COMP%] .mat-mdc-button-persistent-ripple[_ngcontent-%COMP%]:before{opacity:.12}.mat-mdc-button[_ngcontent-%COMP%]:active .mat-mdc-button-persistent-ripple[_ngcontent-%COMP%]:before, .mat-mdc-outlined-button[_ngcontent-%COMP%]:active .mat-mdc-button-persistent-ripple[_ngcontent-%COMP%]:before{opacity:.12}.mat-mdc-button.mat-primary[_ngcontent-%COMP%], .mat-mdc-outlined-button.mat-primary[_ngcontent-%COMP%]{--mat-mdc-button-persistent-ripple-color: #0f0761;--mat-mdc-button-ripple-color: rgba(15, 7, 97, .1)}.mat-mdc-button.mat-accent[_ngcontent-%COMP%], .mat-mdc-outlined-button.mat-accent[_ngcontent-%COMP%]{--mat-mdc-button-persistent-ripple-color: #dd7345;--mat-mdc-button-ripple-color: rgba(221, 115, 69, .1)}.mat-mdc-button.mat-warn[_ngcontent-%COMP%], .mat-mdc-outlined-button.mat-warn[_ngcontent-%COMP%]{--mat-mdc-button-persistent-ripple-color: #f44336;--mat-mdc-button-ripple-color: rgba(244, 67, 54, .1)}.mat-mdc-raised-button[_ngcontent-%COMP%], .mat-mdc-unelevated-button[_ngcontent-%COMP%]{--mat-mdc-button-persistent-ripple-color: #000;--mat-mdc-button-ripple-color: rgba(0, 0, 0, .1)}.mat-mdc-raised-button[_ngcontent-%COMP%]:hover .mat-mdc-button-persistent-ripple[_ngcontent-%COMP%]:before, .mat-mdc-unelevated-button[_ngcontent-%COMP%]:hover .mat-mdc-button-persistent-ripple[_ngcontent-%COMP%]:before{opacity:.04}.mat-mdc-raised-button.cdk-program-focused[_ngcontent-%COMP%] .mat-mdc-button-persistent-ripple[_ngcontent-%COMP%]:before, .mat-mdc-raised-button.cdk-keyboard-focused[_ngcontent-%COMP%] .mat-mdc-button-persistent-ripple[_ngcontent-%COMP%]:before, .mat-mdc-unelevated-button.cdk-program-focused[_ngcontent-%COMP%] .mat-mdc-button-persistent-ripple[_ngcontent-%COMP%]:before, .mat-mdc-unelevated-button.cdk-keyboard-focused[_ngcontent-%COMP%] .mat-mdc-button-persistent-ripple[_ngcontent-%COMP%]:before{opacity:.12}.mat-mdc-raised-button[_ngcontent-%COMP%]:active .mat-mdc-button-persistent-ripple[_ngcontent-%COMP%]:before, .mat-mdc-unelevated-button[_ngcontent-%COMP%]:active .mat-mdc-button-persistent-ripple[_ngcontent-%COMP%]:before{opacity:.12}.mat-mdc-raised-button.mat-primary[_ngcontent-%COMP%], .mat-mdc-unelevated-button.mat-primary[_ngcontent-%COMP%], .mat-mdc-raised-button.mat-accent[_ngcontent-%COMP%], .mat-mdc-unelevated-button.mat-accent[_ngcontent-%COMP%], .mat-mdc-raised-button.mat-warn[_ngcontent-%COMP%], .mat-mdc-unelevated-button.mat-warn[_ngcontent-%COMP%]{--mat-mdc-button-persistent-ripple-color: #fff;--mat-mdc-button-ripple-color: rgba(255, 255, 255, .1)}.mat-mdc-button.mat-mdc-button-base[_ngcontent-%COMP%], .mat-mdc-raised-button.mat-mdc-button-base[_ngcontent-%COMP%], .mat-mdc-unelevated-button.mat-mdc-button-base[_ngcontent-%COMP%], .mat-mdc-outlined-button.mat-mdc-button-base[_ngcontent-%COMP%]{height:28px;margin-top:0;margin-bottom:0}.mat-mdc-button.mat-mdc-button-base[_ngcontent-%COMP%] .mdc-button__touch[_ngcontent-%COMP%], .mat-mdc-raised-button.mat-mdc-button-base[_ngcontent-%COMP%] .mdc-button__touch[_ngcontent-%COMP%], .mat-mdc-unelevated-button.mat-mdc-button-base[_ngcontent-%COMP%] .mdc-button__touch[_ngcontent-%COMP%], .mat-mdc-outlined-button.mat-mdc-button-base[_ngcontent-%COMP%] .mdc-button__touch[_ngcontent-%COMP%]{height:100%}.mat-mdc-button.mat-mdc-button-base[_ngcontent-%COMP%] .mat-mdc-button-touch-target[_ngcontent-%COMP%], .mat-mdc-raised-button.mat-mdc-button-base[_ngcontent-%COMP%] .mat-mdc-button-touch-target[_ngcontent-%COMP%], .mat-mdc-unelevated-button.mat-mdc-button-base[_ngcontent-%COMP%] .mat-mdc-button-touch-target[_ngcontent-%COMP%], .mat-mdc-outlined-button.mat-mdc-button-base[_ngcontent-%COMP%] .mat-mdc-button-touch-target[_ngcontent-%COMP%]{display:none}.mdc-button[_ngcontent-%COMP%]{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--mdc-typography-button-font-family, var(--mdc-typography-font-family, Inter));font-size:var(--mdc-typography-button-font-size, 13px);line-height:var(--mdc-typography-button-line-height, 19px);font-weight:var(--mdc-typography-button-font-weight, 500);letter-spacing:var(--mdc-typography-button-letter-spacing, normal);-webkit-text-decoration:var(--mdc-typography-button-text-decoration, none);text-decoration:var(--mdc-typography-button-text-decoration, none);text-transform:var(--mdc-typography-button-text-transform, none)}.mat-mdc-icon-button[_ngcontent-%COMP%]{--mdc-icon-button-icon-color: inherit;--mat-mdc-button-persistent-ripple-color: #000;--mat-mdc-button-ripple-color: rgba(0, 0, 0, .1)}.mat-mdc-icon-button[_ngcontent-%COMP%]:hover .mat-mdc-button-persistent-ripple[_ngcontent-%COMP%]:before{opacity:.04}.mat-mdc-icon-button.cdk-program-focused[_ngcontent-%COMP%] .mat-mdc-button-persistent-ripple[_ngcontent-%COMP%]:before, .mat-mdc-icon-button.cdk-keyboard-focused[_ngcontent-%COMP%] .mat-mdc-button-persistent-ripple[_ngcontent-%COMP%]:before{opacity:.12}.mat-mdc-icon-button[_ngcontent-%COMP%]:active .mat-mdc-button-persistent-ripple[_ngcontent-%COMP%]:before{opacity:.12}.mat-mdc-icon-button.mat-primary[_ngcontent-%COMP%]{--mat-mdc-button-persistent-ripple-color: #6200ee;--mat-mdc-button-ripple-color: rgba(98, 0, 238, .1)}.mat-mdc-icon-button.mat-accent[_ngcontent-%COMP%]{--mat-mdc-button-persistent-ripple-color: #018786;--mat-mdc-button-ripple-color: rgba(1, 135, 134, .1)}.mat-mdc-icon-button.mat-warn[_ngcontent-%COMP%]{--mat-mdc-button-persistent-ripple-color: #b00020;--mat-mdc-button-ripple-color: rgba(176, 0, 32, .1)}.mat-mdc-icon-button.mat-primary[_ngcontent-%COMP%]{--mdc-icon-button-icon-color: #0f0761;--mat-mdc-button-persistent-ripple-color: #0f0761;--mat-mdc-button-ripple-color: rgba(15, 7, 97, .1)}.mat-mdc-icon-button.mat-accent[_ngcontent-%COMP%]{--mdc-icon-button-icon-color: #dd7345;--mat-mdc-button-persistent-ripple-color: #dd7345;--mat-mdc-button-ripple-color: rgba(221, 115, 69, .1)}.mat-mdc-icon-button.mat-warn[_ngcontent-%COMP%]{--mdc-icon-button-icon-color: #f44336;--mat-mdc-button-persistent-ripple-color: #f44336;--mat-mdc-button-ripple-color: rgba(244, 67, 54, .1)}.mat-mdc-icon-button[disabled][disabled][_ngcontent-%COMP%]{--mdc-icon-button-icon-color: rgba(0, 0, 0, .38);--mdc-icon-button-disabled-icon-color: rgba(0, 0, 0, .38)}.mat-mdc-icon-button.mat-mdc-button-base[_ngcontent-%COMP%]{--mdc-icon-button-state-layer-size: 40px;width:var(--mdc-icon-button-state-layer-size);height:var(--mdc-icon-button-state-layer-size);padding:8px}.mat-mdc-icon-button.mat-mdc-button-base[_ngcontent-%COMP%] .mat-mdc-button-touch-target[_ngcontent-%COMP%]{display:none}.mat-mdc-fab[_ngcontent-%COMP%], .mat-mdc-mini-fab[_ngcontent-%COMP%]{--mat-mdc-button-persistent-ripple-color: #000;--mat-mdc-button-ripple-color: rgba(0, 0, 0, .1)}.mat-mdc-fab[_ngcontent-%COMP%]:hover .mat-mdc-button-persistent-ripple[_ngcontent-%COMP%]:before, .mat-mdc-mini-fab[_ngcontent-%COMP%]:hover .mat-mdc-button-persistent-ripple[_ngcontent-%COMP%]:before{opacity:.04}.mat-mdc-fab.cdk-program-focused[_ngcontent-%COMP%] .mat-mdc-button-persistent-ripple[_ngcontent-%COMP%]:before, .mat-mdc-fab.cdk-keyboard-focused[_ngcontent-%COMP%] .mat-mdc-button-persistent-ripple[_ngcontent-%COMP%]:before, .mat-mdc-mini-fab.cdk-program-focused[_ngcontent-%COMP%] .mat-mdc-button-persistent-ripple[_ngcontent-%COMP%]:before, .mat-mdc-mini-fab.cdk-keyboard-focused[_ngcontent-%COMP%] .mat-mdc-button-persistent-ripple[_ngcontent-%COMP%]:before{opacity:.12}.mat-mdc-fab[_ngcontent-%COMP%]:active .mat-mdc-button-persistent-ripple[_ngcontent-%COMP%]:before, .mat-mdc-mini-fab[_ngcontent-%COMP%]:active .mat-mdc-button-persistent-ripple[_ngcontent-%COMP%]:before{opacity:.12}.mat-mdc-fab.mat-primary[_ngcontent-%COMP%], .mat-mdc-mini-fab.mat-primary[_ngcontent-%COMP%], .mat-mdc-fab.mat-accent[_ngcontent-%COMP%], .mat-mdc-mini-fab.mat-accent[_ngcontent-%COMP%], .mat-mdc-fab.mat-warn[_ngcontent-%COMP%], .mat-mdc-mini-fab.mat-warn[_ngcontent-%COMP%]{--mat-mdc-button-persistent-ripple-color: #fff;--mat-mdc-button-ripple-color: rgba(255, 255, 255, .1)}.mat-mdc-fab[disabled][disabled][_ngcontent-%COMP%], .mat-mdc-mini-fab[disabled][disabled][_ngcontent-%COMP%]{--mdc-fab-container-color: rgba(0, 0, 0, .12);--mdc-fab-icon-color: rgba(0, 0, 0, .38);--mat-mdc-fab-color: rgba(0, 0, 0, .38)}.mat-mdc-fab.mat-unthemed[_ngcontent-%COMP%], .mat-mdc-mini-fab.mat-unthemed[_ngcontent-%COMP%]{--mdc-fab-container-color: white;--mdc-fab-icon-color: black;--mat-mdc-fab-color: #000}.mat-mdc-fab.mat-primary[_ngcontent-%COMP%], .mat-mdc-mini-fab.mat-primary[_ngcontent-%COMP%]{--mdc-fab-container-color: #0f0761;--mdc-fab-icon-color: white;--mat-mdc-fab-color: #fff}.mat-mdc-fab.mat-accent[_ngcontent-%COMP%], .mat-mdc-mini-fab.mat-accent[_ngcontent-%COMP%]{--mdc-fab-container-color: #dd7345;--mdc-fab-icon-color: white;--mat-mdc-fab-color: #fff}.mat-mdc-fab.mat-warn[_ngcontent-%COMP%], .mat-mdc-mini-fab.mat-warn[_ngcontent-%COMP%]{--mdc-fab-container-color: #f44336;--mdc-fab-icon-color: white;--mat-mdc-fab-color: #fff}.mdc-fab--extended[_ngcontent-%COMP%]{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--mdc-typography-button-font-family, var(--mdc-typography-font-family, Inter));font-size:var(--mdc-typography-button-font-size, 13px);line-height:var(--mdc-typography-button-line-height, 19px);font-weight:var(--mdc-typography-button-font-weight, 500);letter-spacing:var(--mdc-typography-button-letter-spacing, normal);-webkit-text-decoration:var(--mdc-typography-button-text-decoration, none);text-decoration:var(--mdc-typography-button-text-decoration, none);text-transform:var(--mdc-typography-button-text-transform, none)}.mat-mdc-extended-fab[_ngcontent-%COMP%]{--mdc-extended-fab-label-text-font: Inter;--mdc-extended-fab-label-text-size: 13px;--mdc-extended-fab-label-text-tracking: normal;--mdc-extended-fab-label-text-weight: 500}.mat-mdc-snack-bar-container[_ngcontent-%COMP%]{--mdc-snackbar-container-color: #333333;--mdc-snackbar-supporting-text-color: rgba(255, 255, 255, .87);--mat-snack-bar-button-color: #dd7345}.mat-mdc-snack-bar-container[_ngcontent-%COMP%]{--mdc-snackbar-supporting-text-font: Inter;--mdc-snackbar-supporting-text-line-height: 19px;--mdc-snackbar-supporting-text-size: 13px;--mdc-snackbar-supporting-text-weight: 400}html[_ngcontent-%COMP%]{--mat-table-background-color: white;--mat-table-header-headline-color: rgba(0, 0, 0, .87);--mat-table-row-item-label-text-color: rgba(0, 0, 0, .87);--mat-table-row-item-outline-color: rgba(0, 0, 0, .12)}html[_ngcontent-%COMP%]{--mat-table-header-container-height: 48px;--mat-table-footer-container-height: 44px;--mat-table-row-item-container-height: 44px}html[_ngcontent-%COMP%]{--mat-table-header-headline-font: Inter;--mat-table-header-headline-line-height: 19px;--mat-table-header-headline-size: 13px;--mat-table-header-headline-weight: 500;--mat-table-header-headline-tracking: normal;--mat-table-row-item-label-text-font: Inter;--mat-table-row-item-label-text-line-height: 19px;--mat-table-row-item-label-text-size: 13px;--mat-table-row-item-label-text-weight: 400;--mat-table-row-item-label-text-tracking: normal;--mat-table-footer-supporting-text-font: Inter;--mat-table-footer-supporting-text-line-height: 19px;--mat-table-footer-supporting-text-size: 13px;--mat-table-footer-supporting-text-weight: 400;--mat-table-footer-supporting-text-tracking: normal}.mat-mdc-progress-spinner[_ngcontent-%COMP%]{--mdc-circular-progress-active-indicator-color: #0f0761}.mat-mdc-progress-spinner.mat-accent[_ngcontent-%COMP%]{--mdc-circular-progress-active-indicator-color: #dd7345}.mat-mdc-progress-spinner.mat-warn[_ngcontent-%COMP%]{--mdc-circular-progress-active-indicator-color: #f44336}.mat-badge[_ngcontent-%COMP%]{position:relative}.mat-badge.mat-badge[_ngcontent-%COMP%]{overflow:visible}.mat-badge-content[_ngcontent-%COMP%]{position:absolute;text-align:center;display:inline-block;border-radius:50%;transition:transform .2s ease-in-out;transform:scale(.6);overflow:hidden;white-space:nowrap;text-overflow:ellipsis;pointer-events:none;background-color:var(--mat-badge-background-color);color:var(--mat-badge-text-color);font-family:Roboto,sans-serif;font-family:var(--mat-badge-text-font, Roboto, sans-serif);font-size:12px;font-size:var(--mat-badge-text-size, 12px);font-weight:600;font-weight:var(--mat-badge-text-weight, 600)}.cdk-high-contrast-active[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{outline:solid 1px;border-radius:0}.mat-badge-disabled[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{background-color:var(--mat-badge-disabled-state-background-color);color:var(--mat-badge-disabled-state-text-color)}.mat-badge-hidden[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{display:none}.ng-animate-disabled[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%], .mat-badge-content._mat-animation-noopable[_ngcontent-%COMP%]{transition:none}.mat-badge-content.mat-badge-active[_ngcontent-%COMP%]{transform:none}.mat-badge-small[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{width:16px;height:16px;line-height:16px;font-size:9px;font-size:var(--mat-badge-small-size-text-size, 9px)}.mat-badge-small.mat-badge-above[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{top:-8px}.mat-badge-small.mat-badge-below[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{bottom:-8px}.mat-badge-small.mat-badge-before[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{left:-16px}[dir=rtl][_ngcontent-%COMP%] .mat-badge-small.mat-badge-before[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{left:auto;right:-16px}.mat-badge-small.mat-badge-after[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{right:-16px}[dir=rtl][_ngcontent-%COMP%] .mat-badge-small.mat-badge-after[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{right:auto;left:-16px}.mat-badge-small.mat-badge-overlap.mat-badge-before[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{left:-8px}[dir=rtl][_ngcontent-%COMP%] .mat-badge-small.mat-badge-overlap.mat-badge-before[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{left:auto;right:-8px}.mat-badge-small.mat-badge-overlap.mat-badge-after[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{right:-8px}[dir=rtl][_ngcontent-%COMP%] .mat-badge-small.mat-badge-overlap.mat-badge-after[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{right:auto;left:-8px}.mat-badge-medium[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{width:22px;height:22px;line-height:22px}.mat-badge-medium.mat-badge-above[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{top:-11px}.mat-badge-medium.mat-badge-below[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{bottom:-11px}.mat-badge-medium.mat-badge-before[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{left:-22px}[dir=rtl][_ngcontent-%COMP%] .mat-badge-medium.mat-badge-before[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{left:auto;right:-22px}.mat-badge-medium.mat-badge-after[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{right:-22px}[dir=rtl][_ngcontent-%COMP%] .mat-badge-medium.mat-badge-after[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{right:auto;left:-22px}.mat-badge-medium.mat-badge-overlap.mat-badge-before[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{left:-11px}[dir=rtl][_ngcontent-%COMP%] .mat-badge-medium.mat-badge-overlap.mat-badge-before[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{left:auto;right:-11px}.mat-badge-medium.mat-badge-overlap.mat-badge-after[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{right:-11px}[dir=rtl][_ngcontent-%COMP%] .mat-badge-medium.mat-badge-overlap.mat-badge-after[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{right:auto;left:-11px}.mat-badge-large[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{width:28px;height:28px;line-height:28px;font-size:24px;font-size:var(--mat-badge-large-size-text-size, 24px)}.mat-badge-large.mat-badge-above[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{top:-14px}.mat-badge-large.mat-badge-below[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{bottom:-14px}.mat-badge-large.mat-badge-before[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{left:-28px}[dir=rtl][_ngcontent-%COMP%] .mat-badge-large.mat-badge-before[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{left:auto;right:-28px}.mat-badge-large.mat-badge-after[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{right:-28px}[dir=rtl][_ngcontent-%COMP%] .mat-badge-large.mat-badge-after[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{right:auto;left:-28px}.mat-badge-large.mat-badge-overlap.mat-badge-before[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{left:-14px}[dir=rtl][_ngcontent-%COMP%] .mat-badge-large.mat-badge-overlap.mat-badge-before[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{left:auto;right:-14px}.mat-badge-large.mat-badge-overlap.mat-badge-after[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{right:-14px}[dir=rtl][_ngcontent-%COMP%] .mat-badge-large.mat-badge-overlap.mat-badge-after[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{right:auto;left:-14px}html[_ngcontent-%COMP%]{--mat-badge-background-color: #0f0761;--mat-badge-text-color: white;--mat-badge-disabled-state-background-color: #b9b9b9;--mat-badge-disabled-state-text-color: rgba(0, 0, 0, .38)}.mat-badge-accent[_ngcontent-%COMP%]{--mat-badge-background-color: #dd7345;--mat-badge-text-color: white}.mat-badge-warn[_ngcontent-%COMP%]{--mat-badge-background-color: #f44336;--mat-badge-text-color: white}html[_ngcontent-%COMP%]{--mat-badge-text-font: Inter;--mat-badge-text-size: 12px;--mat-badge-text-weight: 600;--mat-badge-small-size-text-size: 9px;--mat-badge-large-size-text-size: 24px}html[_ngcontent-%COMP%]{--mat-bottom-sheet-container-text-color: rgba(0, 0, 0, .87);--mat-bottom-sheet-container-background-color: white}html[_ngcontent-%COMP%]{--mat-bottom-sheet-container-text-font: Inter;--mat-bottom-sheet-container-text-line-height: 19px;--mat-bottom-sheet-container-text-size: 13px;--mat-bottom-sheet-container-text-tracking: normal;--mat-bottom-sheet-container-text-weight: 400}html[_ngcontent-%COMP%]{--mat-legacy-button-toggle-text-color: rgba(0, 0, 0, .38);--mat-legacy-button-toggle-state-layer-color: rgba(0, 0, 0, .12);--mat-legacy-button-toggle-selected-state-text-color: rgba(0, 0, 0, .54);--mat-legacy-button-toggle-selected-state-background-color: #e0e0e0;--mat-legacy-button-toggle-disabled-state-text-color: rgba(0, 0, 0, .26);--mat-legacy-button-toggle-disabled-state-background-color: #eeeeee;--mat-legacy-button-toggle-disabled-selected-state-background-color: #bdbdbd;--mat-standard-button-toggle-text-color: rgba(0, 0, 0, .87);--mat-standard-button-toggle-background-color: white;--mat-standard-button-toggle-state-layer-color: black;--mat-standard-button-toggle-selected-state-background-color: #e0e0e0;--mat-standard-button-toggle-selected-state-text-color: rgba(0, 0, 0, .87);--mat-standard-button-toggle-disabled-state-text-color: rgba(0, 0, 0, .26);--mat-standard-button-toggle-disabled-state-background-color: white;--mat-standard-button-toggle-disabled-selected-state-text-color: rgba(0, 0, 0, .87);--mat-standard-button-toggle-disabled-selected-state-background-color: #bdbdbd;--mat-standard-button-toggle-divider-color: #e0e0e0}html[_ngcontent-%COMP%]{--mat-standard-button-toggle-height: 40px}html[_ngcontent-%COMP%]{--mat-legacy-button-toggle-text-font: Inter;--mat-standard-button-toggle-text-font: Inter}html[_ngcontent-%COMP%]{--mat-datepicker-calendar-date-selected-state-text-color: white;--mat-datepicker-calendar-date-selected-state-background-color: #0f0761;--mat-datepicker-calendar-date-selected-disabled-state-background-color: rgba(15, 7, 97, .4);--mat-datepicker-calendar-date-today-selected-state-outline-color: white;--mat-datepicker-calendar-date-focus-state-background-color: rgba(15, 7, 97, .3);--mat-datepicker-calendar-date-hover-state-background-color: rgba(15, 7, 97, .3);--mat-datepicker-toggle-active-state-icon-color: #0f0761;--mat-datepicker-calendar-date-in-range-state-background-color: rgba(15, 7, 97, .2);--mat-datepicker-calendar-date-in-comparison-range-state-background-color: rgba(249, 171, 0, .2);--mat-datepicker-calendar-date-in-overlap-range-state-background-color: #a8dab5;--mat-datepicker-calendar-date-in-overlap-range-selected-state-background-color: #46a35e;--mat-datepicker-toggle-icon-color: rgba(0, 0, 0, .54);--mat-datepicker-calendar-body-label-text-color: rgba(0, 0, 0, .54);--mat-datepicker-calendar-period-button-icon-color: rgba(0, 0, 0, .54);--mat-datepicker-calendar-navigation-button-icon-color: rgba(0, 0, 0, .54);--mat-datepicker-calendar-header-divider-color: rgba(0, 0, 0, .12);--mat-datepicker-calendar-header-text-color: rgba(0, 0, 0, .54);--mat-datepicker-calendar-date-today-outline-color: rgba(0, 0, 0, .38);--mat-datepicker-calendar-date-today-disabled-state-outline-color: rgba(0, 0, 0, .18);--mat-datepicker-calendar-date-text-color: rgba(0, 0, 0, .87);--mat-datepicker-calendar-date-outline-color: transparent;--mat-datepicker-calendar-date-disabled-state-text-color: rgba(0, 0, 0, .38);--mat-datepicker-calendar-date-preview-state-outline-color: rgba(0, 0, 0, .24);--mat-datepicker-range-input-separator-color: rgba(0, 0, 0, .87);--mat-datepicker-range-input-disabled-state-separator-color: rgba(0, 0, 0, .38);--mat-datepicker-range-input-disabled-state-text-color: rgba(0, 0, 0, .38);--mat-datepicker-calendar-container-background-color: white;--mat-datepicker-calendar-container-text-color: rgba(0, 0, 0, .87)}.mat-datepicker-content.mat-accent[_ngcontent-%COMP%]{--mat-datepicker-calendar-date-selected-state-text-color: white;--mat-datepicker-calendar-date-selected-state-background-color: #dd7345;--mat-datepicker-calendar-date-selected-disabled-state-background-color: rgba(221, 115, 69, .4);--mat-datepicker-calendar-date-today-selected-state-outline-color: white;--mat-datepicker-calendar-date-focus-state-background-color: rgba(221, 115, 69, .3);--mat-datepicker-calendar-date-hover-state-background-color: rgba(221, 115, 69, .3);--mat-datepicker-calendar-date-in-range-state-background-color: rgba(221, 115, 69, .2);--mat-datepicker-calendar-date-in-comparison-range-state-background-color: rgba(249, 171, 0, .2);--mat-datepicker-calendar-date-in-overlap-range-state-background-color: #a8dab5;--mat-datepicker-calendar-date-in-overlap-range-selected-state-background-color: #46a35e}.mat-datepicker-content.mat-warn[_ngcontent-%COMP%]{--mat-datepicker-calendar-date-selected-state-text-color: white;--mat-datepicker-calendar-date-selected-state-background-color: #f44336;--mat-datepicker-calendar-date-selected-disabled-state-background-color: rgba(244, 67, 54, .4);--mat-datepicker-calendar-date-today-selected-state-outline-color: white;--mat-datepicker-calendar-date-focus-state-background-color: rgba(244, 67, 54, .3);--mat-datepicker-calendar-date-hover-state-background-color: rgba(244, 67, 54, .3);--mat-datepicker-calendar-date-in-range-state-background-color: rgba(244, 67, 54, .2);--mat-datepicker-calendar-date-in-comparison-range-state-background-color: rgba(249, 171, 0, .2);--mat-datepicker-calendar-date-in-overlap-range-state-background-color: #a8dab5;--mat-datepicker-calendar-date-in-overlap-range-selected-state-background-color: #46a35e}.mat-datepicker-toggle-active.mat-accent[_ngcontent-%COMP%]{--mat-datepicker-toggle-active-state-icon-color: #dd7345}.mat-datepicker-toggle-active.mat-warn[_ngcontent-%COMP%]{--mat-datepicker-toggle-active-state-icon-color: #f44336}.mat-calendar-controls[_ngcontent-%COMP%] .mat-mdc-icon-button.mat-mdc-button-base[_ngcontent-%COMP%]{--mdc-icon-button-state-layer-size: 40px;width:var(--mdc-icon-button-state-layer-size);height:var(--mdc-icon-button-state-layer-size);padding:8px}.mat-calendar-controls[_ngcontent-%COMP%] .mat-mdc-icon-button.mat-mdc-button-base[_ngcontent-%COMP%] .mat-mdc-button-touch-target[_ngcontent-%COMP%]{display:none}html[_ngcontent-%COMP%]{--mat-datepicker-calendar-text-font: Inter;--mat-datepicker-calendar-text-size: 13px;--mat-datepicker-calendar-body-label-text-size: 13px;--mat-datepicker-calendar-body-label-text-weight: 500;--mat-datepicker-calendar-period-button-text-size: 13px;--mat-datepicker-calendar-period-button-text-weight: 500;--mat-datepicker-calendar-header-text-size: 11px;--mat-datepicker-calendar-header-text-weight: 400}html[_ngcontent-%COMP%]{--mat-divider-color: rgba(0, 0, 0, .12)}html[_ngcontent-%COMP%]{--mat-expansion-container-background-color: white;--mat-expansion-container-text-color: rgba(0, 0, 0, .87);--mat-expansion-actions-divider-color: rgba(0, 0, 0, .12);--mat-expansion-header-hover-state-layer-color: rgba(0, 0, 0, .04);--mat-expansion-header-focus-state-layer-color: rgba(0, 0, 0, .04);--mat-expansion-header-disabled-state-text-color: rgba(0, 0, 0, .26);--mat-expansion-header-text-color: rgba(0, 0, 0, .87);--mat-expansion-header-description-color: rgba(0, 0, 0, .54);--mat-expansion-header-indicator-color: rgba(0, 0, 0, .54)}html[_ngcontent-%COMP%]{--mat-expansion-header-collapsed-state-height: 40px;--mat-expansion-header-expanded-state-height: 56px}html[_ngcontent-%COMP%]{--mat-expansion-header-text-font: Inter;--mat-expansion-header-text-size: 13px;--mat-expansion-header-text-weight: 500;--mat-expansion-header-text-line-height: inherit;--mat-expansion-header-text-tracking: inherit;--mat-expansion-container-text-font: Inter;--mat-expansion-container-text-line-height: 19px;--mat-expansion-container-text-size: 13px;--mat-expansion-container-text-tracking: normal;--mat-expansion-container-text-weight: 400}html[_ngcontent-%COMP%]{--mat-grid-list-tile-header-primary-text-size: 13px;--mat-grid-list-tile-header-secondary-text-size: 12px;--mat-grid-list-tile-footer-primary-text-size: 13px;--mat-grid-list-tile-footer-secondary-text-size: 12px}html[_ngcontent-%COMP%]{--mat-icon-color: inherit}.mat-icon.mat-primary[_ngcontent-%COMP%]{--mat-icon-color: #0f0761}.mat-icon.mat-accent[_ngcontent-%COMP%]{--mat-icon-color: #dd7345}.mat-icon.mat-warn[_ngcontent-%COMP%]{--mat-icon-color: #f44336}html[_ngcontent-%COMP%]{--mat-sidenav-container-divider-color: rgba(0, 0, 0, .12);--mat-sidenav-container-background-color: white;--mat-sidenav-container-text-color: rgba(0, 0, 0, .87);--mat-sidenav-content-background-color: #fafafa;--mat-sidenav-content-text-color: rgba(0, 0, 0, .87);--mat-sidenav-scrim-color: rgba(0, 0, 0, .6)}html[_ngcontent-%COMP%]{--mat-stepper-header-icon-foreground-color: white;--mat-stepper-header-selected-state-icon-background-color: #0f0761;--mat-stepper-header-selected-state-icon-foreground-color: white;--mat-stepper-header-done-state-icon-background-color: #0f0761;--mat-stepper-header-done-state-icon-foreground-color: white;--mat-stepper-header-edit-state-icon-background-color: #0f0761;--mat-stepper-header-edit-state-icon-foreground-color: white;--mat-stepper-container-color: white;--mat-stepper-line-color: rgba(0, 0, 0, .12);--mat-stepper-header-hover-state-layer-color: rgba(0, 0, 0, .04);--mat-stepper-header-focus-state-layer-color: rgba(0, 0, 0, .04);--mat-stepper-header-label-text-color: rgba(0, 0, 0, .54);--mat-stepper-header-optional-label-text-color: rgba(0, 0, 0, .54);--mat-stepper-header-selected-state-label-text-color: rgba(0, 0, 0, .87);--mat-stepper-header-error-state-label-text-color: #f44336;--mat-stepper-header-icon-background-color: rgba(0, 0, 0, .54);--mat-stepper-header-error-state-icon-foreground-color: #f44336;--mat-stepper-header-error-state-icon-background-color: transparent}html[_ngcontent-%COMP%] .mat-step-header.mat-accent[_ngcontent-%COMP%]{--mat-stepper-header-icon-foreground-color: white;--mat-stepper-header-selected-state-icon-background-color: #dd7345;--mat-stepper-header-selected-state-icon-foreground-color: white;--mat-stepper-header-done-state-icon-background-color: #dd7345;--mat-stepper-header-done-state-icon-foreground-color: white;--mat-stepper-header-edit-state-icon-background-color: #dd7345;--mat-stepper-header-edit-state-icon-foreground-color: white}html[_ngcontent-%COMP%] .mat-step-header.mat-warn[_ngcontent-%COMP%]{--mat-stepper-header-icon-foreground-color: white;--mat-stepper-header-selected-state-icon-background-color: #f44336;--mat-stepper-header-selected-state-icon-foreground-color: white;--mat-stepper-header-done-state-icon-background-color: #f44336;--mat-stepper-header-done-state-icon-foreground-color: white;--mat-stepper-header-edit-state-icon-background-color: #f44336;--mat-stepper-header-edit-state-icon-foreground-color: white}html[_ngcontent-%COMP%]{--mat-stepper-header-height: 64px}html[_ngcontent-%COMP%]{--mat-stepper-container-text-font: Inter;--mat-stepper-header-label-text-font: Inter;--mat-stepper-header-label-text-size: 13px;--mat-stepper-header-label-text-weight: 400;--mat-stepper-header-error-state-label-text-size: 13px;--mat-stepper-header-selected-state-label-text-size: 13px;--mat-stepper-header-selected-state-label-text-weight: 400}.mat-sort-header-arrow[_ngcontent-%COMP%]{color:#757575}html[_ngcontent-%COMP%]{--mat-toolbar-container-background-color: whitesmoke;--mat-toolbar-container-text-color: rgba(0, 0, 0, .87)}.mat-toolbar.mat-primary[_ngcontent-%COMP%]{--mat-toolbar-container-background-color: #0f0761;--mat-toolbar-container-text-color: white}.mat-toolbar.mat-accent[_ngcontent-%COMP%]{--mat-toolbar-container-background-color: #dd7345;--mat-toolbar-container-text-color: white}.mat-toolbar.mat-warn[_ngcontent-%COMP%]{--mat-toolbar-container-background-color: #f44336;--mat-toolbar-container-text-color: white}html[_ngcontent-%COMP%]{--mat-toolbar-standard-height: 56px;--mat-toolbar-mobile-height: 48px}html[_ngcontent-%COMP%]{--mat-toolbar-title-text-font: Inter;--mat-toolbar-title-text-line-height: 21px;--mat-toolbar-title-text-size: 16px;--mat-toolbar-title-text-tracking: normal;--mat-toolbar-title-text-weight: 600}.mat-tree[_ngcontent-%COMP%]{background:white}.mat-tree-node[_ngcontent-%COMP%], .mat-nested-tree-node[_ngcontent-%COMP%]{color:#000000de}.mat-tree-node[_ngcontent-%COMP%]{min-height:40px}.mat-tree[_ngcontent-%COMP%]{font-family:Inter}.mat-tree-node[_ngcontent-%COMP%], .mat-nested-tree-node[_ngcontent-%COMP%]{font-weight:400;font-size:13px}.mat-h1[_ngcontent-%COMP%], .mat-headline-5[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] .mat-h1[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] .mat-headline-5[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{font-size:20px;font-weight:600;line-height:24px;font-family:Inter;letter-spacing:normal;margin:0 0 16px}.mat-h2[_ngcontent-%COMP%], .mat-headline-6[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] .mat-h2[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] .mat-headline-6[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{font-size:16px;font-weight:600;line-height:21px;font-family:Inter;letter-spacing:normal;margin:0 0 16px}.mat-h3[_ngcontent-%COMP%], .mat-subtitle-1[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] .mat-h3[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] .mat-subtitle-1[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{font-size:16px;font-weight:600;line-height:22px;font-family:Inter;letter-spacing:normal;margin:0 0 16px}.mat-h4[_ngcontent-%COMP%], .mat-body-1[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] .mat-h4[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] .mat-body-1[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] h4[_ngcontent-%COMP%]{font-size:13px;font-weight:400;line-height:19px;font-family:Inter;letter-spacing:normal;margin:0 0 16px}.mat-h5[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] .mat-h5[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] h5[_ngcontent-%COMP%]{font:400 10.79px/19px Inter;margin:0 0 12px}.mat-h6[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] .mat-h6[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] h6[_ngcontent-%COMP%]{font:400 8.71px/19px Inter;margin:0 0 12px}.mat-body-strong[_ngcontent-%COMP%], .mat-subtitle-2[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] .mat-body-strong[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] .mat-subtitle-2[_ngcontent-%COMP%]{font-size:13px;font-weight:500;line-height:19px;font-family:Inter;letter-spacing:normal}.mat-body[_ngcontent-%COMP%], .mat-body-2[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] .mat-body[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] .mat-body-2[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%]{font-size:13px;font-weight:400;line-height:19px;font-family:Inter;letter-spacing:normal}.mat-body[_ngcontent-%COMP%] p[_ngcontent-%COMP%], .mat-body-2[_ngcontent-%COMP%] p[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] .mat-body[_ngcontent-%COMP%] p[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] .mat-body-2[_ngcontent-%COMP%] p[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{margin:0 0 12px}.mat-small[_ngcontent-%COMP%], .mat-caption[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] .mat-small[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] .mat-caption[_ngcontent-%COMP%]{font-size:12px;font-weight:400;line-height:16px;font-family:Inter;letter-spacing:normal}.mat-headline-1[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] .mat-headline-1[_ngcontent-%COMP%]{font-size:56px;font-weight:600;line-height:62px;font-family:Inter;letter-spacing:normal;margin:0 0 56px}.mat-headline-2[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] .mat-headline-2[_ngcontent-%COMP%]{font-size:44px;font-weight:600;line-height:50px;font-family:Inter;letter-spacing:normal;margin:0 0 64px}.mat-headline-3[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] .mat-headline-3[_ngcontent-%COMP%]{font-size:36px;font-weight:600;line-height:43px;font-family:Inter;letter-spacing:normal;margin:0 0 64px}.mat-headline-4[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] .mat-headline-4[_ngcontent-%COMP%]{font-size:28px;font-weight:600;line-height:34px;font-family:Inter;letter-spacing:normal;margin:0 0 64px}.mat-ripple-element[_ngcontent-%COMP%]{display:none!important}.mat-mdc-unelevated-button.mat-primary[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%], .mat-mdc-raised-button.mat-primary[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%], .mat-mdc-fab[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%], .mat-mdc-mini-fab[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%]{display:block!important}.mat-toolbar[_ngcontent-%COMP%]{box-shadow:none!important}.shell-brand-logo[_ngcontent-%COMP%]{filter:brightness(0);opacity:.87}.dark-theme[_ngcontent-%COMP%] .shell-brand-logo[_ngcontent-%COMP%]{filter:brightness(0) invert(1);opacity:.9}.app-container[_ngcontent-%COMP%]{height:calc(100% - var(--df-trial-banner-height, 0px));width:100%;display:flex;flex-direction:column}.mat-toolbar.tool-bar[_ngcontent-%COMP%]{background-color:var(--df-surface);border-bottom:1px solid var(--df-border-2);padding:0 12px 0 6px;height:52px;min-height:52px;display:flex;align-items:center;gap:10px;font-size:1.3rem}.mat-toolbar.tool-bar[_ngcontent-%COMP%] .button-wrapper[_ngcontent-%COMP%]{display:flex;align-items:center}.mat-toolbar.tool-bar[_ngcontent-%COMP%] .toggle-icon[_ngcontent-%COMP%]{color:var(--df-text-muted);font-size:1.4rem}.topbar-breadcrumbs[_ngcontent-%COMP%]{display:flex;align-items:center;gap:8px;min-width:0;overflow:hidden;white-space:nowrap;font-size:1.3rem}.topbar-breadcrumbs[_ngcontent-%COMP%] .breadcrumb-link[_ngcontent-%COMP%]{color:var(--df-text-muted);text-decoration:none;border-radius:4px}.topbar-breadcrumbs[_ngcontent-%COMP%] .breadcrumb-link[_ngcontent-%COMP%]:hover{color:var(--df-text)}.topbar-breadcrumbs[_ngcontent-%COMP%] .breadcrumb-current[_ngcontent-%COMP%]{color:var(--df-text);font-weight:600}.topbar-breadcrumbs[_ngcontent-%COMP%] .breadcrumb-sep[_ngcontent-%COMP%]{color:var(--df-text-faint);-webkit-user-select:none;user-select:none}.cmdk-btn[_ngcontent-%COMP%]{display:flex;align-items:center;gap:8px;height:32px;min-width:200px;padding:0 10px;border:1px solid var(--df-border);border-radius:var(--df-radius-sm);background-color:var(--df-surface-2);color:var(--df-text-muted)!important;font-family:inherit;font-size:1.25rem;cursor:pointer;transition:border-color .15s ease,color .15s ease}.cmdk-btn[_ngcontent-%COMP%]:hover, .cmdk-btn[_ngcontent-%COMP%]:focus-visible{border-color:var(--df-accent);color:var(--df-text-2)!important}.cmdk-btn[_ngcontent-%COMP%] .cmdk-icon[_ngcontent-%COMP%]{font-size:1.2rem}.cmdk-btn[_ngcontent-%COMP%] .cmdk-label[_ngcontent-%COMP%]{flex:1 1 auto;text-align:left}.cmdk-btn[_ngcontent-%COMP%] .cmdk-kbd[_ngcontent-%COMP%]{font-size:1rem;line-height:1;padding:3px 5px;border:1px solid var(--df-border);border-radius:4px;background-color:var(--df-surface);color:var(--df-text-faint)!important;letter-spacing:.03em}.profile-icon[_ngcontent-%COMP%]{color:var(--df-text-2)}.app-container.small[_ngcontent-%COMP%] .mat-toolbar[_ngcontent-%COMP%]{gap:6px;height:52px;min-height:52px;overflow:hidden;padding:0 8px}.app-container.small[_ngcontent-%COMP%] .mat-toolbar[_ngcontent-%COMP%] .button-wrapper[_ngcontent-%COMP%]{min-width:0}.app-container.small[_ngcontent-%COMP%] .mat-toolbar[_ngcontent-%COMP%] .topbar-breadcrumbs[_ngcontent-%COMP%]{display:none}.app-container.small[_ngcontent-%COMP%] .mat-toolbar[_ngcontent-%COMP%] .cmdk-btn[_ngcontent-%COMP%]{min-width:0}.app-container.small[_ngcontent-%COMP%] .mat-toolbar[_ngcontent-%COMP%] .cmdk-btn[_ngcontent-%COMP%] .cmdk-label[_ngcontent-%COMP%], .app-container.small[_ngcontent-%COMP%] .mat-toolbar[_ngcontent-%COMP%] .cmdk-btn[_ngcontent-%COMP%] .cmdk-kbd[_ngcontent-%COMP%]{display:none}.app-container.small[_ngcontent-%COMP%] .mat-toolbar[_ngcontent-%COMP%] .spacer[_ngcontent-%COMP%]{flex:1 1 auto;min-width:0}.app-container.small[_ngcontent-%COMP%] .mat-toolbar[_ngcontent-%COMP%] .profile-icon[_ngcontent-%COMP%]{flex:0 0 40px;min-width:40px;overflow:hidden;padding:0 8px}.app-container.small[_ngcontent-%COMP%] .mat-toolbar[_ngcontent-%COMP%] .profile-icon[_ngcontent-%COMP%] .mdc-button__label{align-items:center;display:flex;overflow:hidden;width:20px}.sidenav-container[_ngcontent-%COMP%]{background-color:var(--df-bg);flex:1 1 auto}.sidenav-container[_ngcontent-%COMP%] .sidenav[_ngcontent-%COMP%]{background-color:#0f0761;min-width:40%;border:none;border-right:1px solid var(--df-shell-border);transition:min-width .2s ease-out;max-width:450px}.sidenav-container[_ngcontent-%COMP%] .sidenav[_ngcontent-%COMP%] .login-side-container[_ngcontent-%COMP%]{display:flex;flex-direction:column;justify-content:center;height:100%}.sidenav-container[_ngcontent-%COMP%] .sidenav[_ngcontent-%COMP%] .login-side-container[_ngcontent-%COMP%] .image-container[_ngcontent-%COMP%]{display:flex;justify-content:center;align-items:center;flex-wrap:wrap;text-align:center;gap:8px;width:100%}.sidenav-container[_ngcontent-%COMP%] .sidenav[_ngcontent-%COMP%] .login-side-container[_ngcontent-%COMP%] .image-container[_ngcontent-%COMP%] .image-wrapper[_ngcontent-%COMP%]{width:calc(40% - 8px);padding:10px}.sidenav-container[_ngcontent-%COMP%] .sidenav[_ngcontent-%COMP%] .login-side-container[_ngcontent-%COMP%] .image-container[_ngcontent-%COMP%] .image-wrapper[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:60%;height:auto}.sidenav-container[_ngcontent-%COMP%] .sidenav[_ngcontent-%COMP%] .login-side-container[_ngcontent-%COMP%] .image-container[_ngcontent-%COMP%] .image-wrapper[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{color:#fff}.small[_ngcontent-%COMP%] .sidenav-container[_ngcontent-%COMP%] .sidenav[_ngcontent-%COMP%]{min-width:0}.logged-in[_ngcontent-%COMP%] .sidenav-container[_ngcontent-%COMP%] .sidenav[_ngcontent-%COMP%]{background-color:var(--df-shell-bg);width:248px;min-width:248px;max-width:248px}.logged-in.small[_ngcontent-%COMP%] .sidenav-container[_ngcontent-%COMP%] .sidenav[_ngcontent-%COMP%]{width:272px;min-width:272px;max-width:272px}.sidenav-container[_ngcontent-%COMP%] .sidenav[_ngcontent-%COMP%] .shell-brand[_ngcontent-%COMP%]{display:flex;align-items:center;height:52px;padding:0 18px;border-bottom:1px solid var(--df-shell-border)}.sidenav-container[_ngcontent-%COMP%] .sidenav[_ngcontent-%COMP%] .shell-brand[_ngcontent-%COMP%] .shell-brand-link[_ngcontent-%COMP%]{display:flex;align-items:center}.sidenav-container[_ngcontent-%COMP%] .sidenav[_ngcontent-%COMP%] .shell-brand[_ngcontent-%COMP%] .shell-brand-logo[_ngcontent-%COMP%]{height:20px;width:auto;display:block}.phosphor-theme[_nghost-%COMP%] .sidenav-container[_ngcontent-%COMP%] .sidenav[_ngcontent-%COMP%] .shell-brand[_ngcontent-%COMP%] .shell-brand-logo[_ngcontent-%COMP%], .phosphor-theme [_nghost-%COMP%] .sidenav-container[_ngcontent-%COMP%] .sidenav[_ngcontent-%COMP%] .shell-brand[_ngcontent-%COMP%] .shell-brand-logo[_ngcontent-%COMP%]{height:13px;filter:brightness(0) invert(1) sepia(1) saturate(4) hue-rotate(70deg) brightness(1.1);image-rendering:pixelated;transform:scale(1.5);transform-origin:left center}.sidenav-container[_ngcontent-%COMP%] .sidenav[_ngcontent-%COMP%] .shell-nav[_ngcontent-%COMP%]{padding:8px 0 16px}.sidenav-container[_ngcontent-%COMP%] .sidenav[_ngcontent-%COMP%] .shell-group-label[_ngcontent-%COMP%]{padding:18px 18px 6px;font-size:1.05rem;font-weight:600;letter-spacing:.09em;text-transform:uppercase;color:var(--df-shell-text-muted);-webkit-user-select:none;user-select:none}.sidenav-container[_ngcontent-%COMP%] .sidenav[_ngcontent-%COMP%] .parent-route[_ngcontent-%COMP%]{font-size:1.35rem;font-weight:500;height:36px;margin:1px 10px;padding:0 8px;gap:4px;border-radius:var(--df-radius-sm);background:transparent!important;color:var(--df-shell-text-2)}.sidenav-container[_ngcontent-%COMP%] .sidenav[_ngcontent-%COMP%] .parent-route[_ngcontent-%COMP%]:hover{background:var(--df-shell-hover)!important}.sidenav-container[_ngcontent-%COMP%] .sidenav[_ngcontent-%COMP%] .expansion-panel[_ngcontent-%COMP%], .sidenav-container[_ngcontent-%COMP%] .sidenav[_ngcontent-%COMP%] .mat-expansion-panel{background:transparent!important;color:var(--df-shell-text-2)}.sidenav-container[_ngcontent-%COMP%] .sidenav[_ngcontent-%COMP%] .mat-expansion-panel-body{padding:2px 0 4px 10px!important;margin-left:20px;border-left:1px solid var(--df-shell-border);background:transparent!important}.sidenav-container[_ngcontent-%COMP%] .sidenav[_ngcontent-%COMP%] .mat-expansion-indicator:after{color:var(--df-shell-text-muted)}.sidenav-container[_ngcontent-%COMP%] .sidenav[_ngcontent-%COMP%] .nav-item[_ngcontent-%COMP%]{height:34px;width:100%;font-size:1.35rem;font-weight:500;border-radius:var(--df-radius-sm);justify-content:flex-start;display:flex;align-items:center;gap:10px;color:var(--df-shell-text-2)!important;letter-spacing:0}.sidenav-container[_ngcontent-%COMP%] .sidenav[_ngcontent-%COMP%] .nav-item[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:17px;height:17px;filter:brightness(0);opacity:.72}.dark-theme[_nghost-%COMP%] .sidenav-container[_ngcontent-%COMP%] .sidenav[_ngcontent-%COMP%] .nav-item[_ngcontent-%COMP%] img[_ngcontent-%COMP%], .dark-theme [_nghost-%COMP%] .sidenav-container[_ngcontent-%COMP%] .sidenav[_ngcontent-%COMP%] .nav-item[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{filter:brightness(0) invert(1)}.phosphor-theme[_nghost-%COMP%] .sidenav-container[_ngcontent-%COMP%] .sidenav[_ngcontent-%COMP%] .nav-item[_ngcontent-%COMP%] img[_ngcontent-%COMP%], .phosphor-theme [_nghost-%COMP%] .sidenav-container[_ngcontent-%COMP%] .sidenav[_ngcontent-%COMP%] .nav-item[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{filter:brightness(0) invert(1) sepia(1) saturate(4) hue-rotate(70deg) brightness(1.1);width:10px;height:10px;image-rendering:pixelated;transform:scale(1.6);transform-origin:center}.sidenav-container[_ngcontent-%COMP%] .sidenav[_ngcontent-%COMP%] .nav-item[_ngcontent-%COMP%] .mat-mdc-button-touch-target{background-color:transparent}.sidenav-container[_ngcontent-%COMP%] .sidenav[_ngcontent-%COMP%] a.nav-item[_ngcontent-%COMP%]{background-color:transparent;margin:1px 10px;width:calc(100% - 20px);padding:0 8px}.sidenav-container[_ngcontent-%COMP%] .sidenav[_ngcontent-%COMP%] a.nav-item[_ngcontent-%COMP%]:hover{background-color:var(--df-shell-hover)}.sidenav-container[_ngcontent-%COMP%] .sidenav[_ngcontent-%COMP%] a.nav-item.active[_ngcontent-%COMP%]{background-color:var(--df-shell-active-bg)!important;color:var(--df-shell-text)!important;box-shadow:inset 2px 0 0 var(--df-shell-accent)}.sidenav-container[_ngcontent-%COMP%] .sidenav[_ngcontent-%COMP%] a.nav-item.active[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{opacity:1}.sidenav-container[_ngcontent-%COMP%] .sidenav[_ngcontent-%COMP%] a.nav-item.active[_ngcontent-%COMP%] .mat-mdc-button-touch-target{background-color:transparent!important}.sidenav-container[_ngcontent-%COMP%] .sidenav[_ngcontent-%COMP%] a.nav-item.commercial-feature[_ngcontent-%COMP%]{opacity:.7;position:relative}.sidenav-container[_ngcontent-%COMP%] .sidenav[_ngcontent-%COMP%] a.nav-item.commercial-feature[_ngcontent-%COMP%]:after{content:\"\";background-image:url(lock-icon.c8ce090d45cbe9bb.svg);background-size:contain;background-repeat:no-repeat;filter:brightness(0);width:13px;height:13px;position:absolute;right:10px;top:50%;transform:translateY(-50%);opacity:.55}.dark-theme[_nghost-%COMP%] .sidenav-container[_ngcontent-%COMP%] .sidenav[_ngcontent-%COMP%] a.nav-item.commercial-feature[_ngcontent-%COMP%]:after, .dark-theme [_nghost-%COMP%] .sidenav-container[_ngcontent-%COMP%] .sidenav[_ngcontent-%COMP%] a.nav-item.commercial-feature[_ngcontent-%COMP%]:after{filter:brightness(0) invert(1)}.sidenav-container[_ngcontent-%COMP%] .sidenav[_ngcontent-%COMP%] a.nav-item.commercial-feature[_ngcontent-%COMP%]:hover{opacity:1}.sidenav-container[_ngcontent-%COMP%] .sidenav[_ngcontent-%COMP%] a.nav-item.commercial-feature[_ngcontent-%COMP%]:hover:after{opacity:.8}.sidenav-container[_ngcontent-%COMP%] .sidenav-content[_ngcontent-%COMP%]{display:flex;flex-direction:column;height:100%;padding:0;background:var(--df-bg)}.sidenav-container[_ngcontent-%COMP%] .sidenav-content[_ngcontent-%COMP%] .content-wrapper[_ngcontent-%COMP%]{height:100%;box-sizing:border-box;display:flex;flex-direction:column;padding:20px 28px 28px;background-color:transparent;border:none}.sidenav-container[_ngcontent-%COMP%] .sidenav-content[_ngcontent-%COMP%] .banner[_ngcontent-%COMP%]{flex-shrink:0;width:100%;padding:2px 2px 16px;background-color:transparent}.sidenav-container[_ngcontent-%COMP%] .sidenav-content[_ngcontent-%COMP%] .banner[_ngcontent-%COMP%] .page-header[_ngcontent-%COMP%]{margin:0;padding:0;font-size:2.2rem;font-weight:650;letter-spacing:-.02em;line-height:1.2;color:var(--df-text)}.sidenav-container[_ngcontent-%COMP%] .sidenav-content[_ngcontent-%COMP%] .main[_ngcontent-%COMP%]{flex-grow:1}.logged-in[_ngcontent-%COMP%] .sidenav-container[_ngcontent-%COMP%] .sidenav-content[_ngcontent-%COMP%] .main.no-error[_ngcontent-%COMP%]{margin-top:0;padding:20px 24px;background-color:var(--df-surface);border:1px solid var(--df-border-2);border-radius:var(--df-radius)}.logged-in.small[_ngcontent-%COMP%] .sidenav-container[_ngcontent-%COMP%] .sidenav-content[_ngcontent-%COMP%] .main.no-error[_ngcontent-%COMP%]{margin:0;padding:16px}.small[_ngcontent-%COMP%] .mat-expansion-panel-header{padding:0 8px} .mat-expansion-panel-body{overflow-x:auto}.license-expired[_ngcontent-%COMP%]{display:flex;flex-direction:column;background-color:#e53935;color:#fff;border-radius:0;justify-content:center;align-items:center;font-size:16px;padding:16px}.breadcrumb-link[_ngcontent-%COMP%]{color:inherit;text-decoration:none}"]})}};function tc(f,d){if(1&f){const l=a.RV6();a.qex(0),a.j41(1,"div",1)(2,"div",2)(3,"span",3),a.EFF(4),a.nI1(5,"transloco"),a.k0s(),a.j41(6,"button",4),a.bIt("click",function(){a.eBV(l);const L=a.XpG();return a.Njj(L.openCalendly())}),a.EFF(7),a.nI1(8,"transloco"),a.k0s()()(),a.nrm(9,"div",5),a.bVm()}2&f&&(a.R7$(4),a.SpI(" ",a.bMT(5,2,"engagementBanner.message")," "),a.R7$(3),a.SpI(" ",a.bMT(8,4,"engagementBanner.ctaButton")," "))}eo=(0,y.Cg)([(0,De.d)({checkProperties:!0})],eo);let On=class tv{constructor(d){this.systemConfigService=d,this.showBanner=!1,this.calendlyUrl="https://calendly.com/dreamfactory-platform/expert-consultation-lab-setup"}ngOnInit(){this.systemConfigService.environment$.pipe((0,De.s)(this)).subscribe(d=>{const l=d.platform?.license?.toUpperCase(),m=d.platform?.isTrial??!1,L=null!==(0,cn.G0)(d);this.showBanner=("OPEN SOURCE"===l||m)&&!L})}openCalendly(){window.open(this.calendlyUrl,"_blank")}static{this.\u0275fac=function(l){return new(l||tv)(a.rXU(zt.f))}}static{this.\u0275cmp=a.VBU({type:tv,selectors:[["df-engagement-banner"]],standalone:!0,features:[a.aNF],decls:1,vars:1,consts:[[4,"ngIf"],[1,"engagement-banner"],[1,"banner-content"],[1,"banner-text"],[1,"cta-button",3,"click"],[1,"banner-spacer"]],template:function(l,m){1&l&&a.DNE(0,tc,10,6,"ng-container",0),2&l&&a.Y8G("ngIf",m.showBanner)},dependencies:[b.MD,b.bT,at.Q8,at.Kj],styles:[".engagement-banner[_ngcontent-%COMP%]{background-color:var(--df-surface);background-image:linear-gradient(var(--df-accent-soft),var(--df-accent-soft));color:var(--df-text);border-bottom:1px solid var(--df-border);padding:12px 20px;font-family:inherit;position:fixed;top:0;left:0;right:0;z-index:1100}.engagement-banner[_ngcontent-%COMP%] .banner-content[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:center;gap:15px;max-width:1200px;margin:0 auto;position:relative}.engagement-banner[_ngcontent-%COMP%] .banner-text[_ngcontent-%COMP%]{color:var(--df-text);font-size:1.4rem;font-weight:500;line-height:1.4}.engagement-banner[_ngcontent-%COMP%] .cta-button[_ngcontent-%COMP%]{background-color:var(--df-accent);color:var(--df-accent-contrast);border:none;padding:8px 20px;border-radius:var(--df-radius-sm);font-size:1.4rem;font-weight:600;cursor:pointer;transition:background-color .2s ease;white-space:nowrap}.engagement-banner[_ngcontent-%COMP%] .cta-button[_ngcontent-%COMP%]:hover{background-color:var(--df-accent-strong)}.engagement-banner[_ngcontent-%COMP%] .cta-button[_ngcontent-%COMP%]:focus{outline:2px solid var(--df-accent);outline-offset:2px}.banner-spacer[_ngcontent-%COMP%]{height:56px}@media (max-width: 768px){.banner-spacer[_ngcontent-%COMP%]{height:72px}.engagement-banner[_ngcontent-%COMP%]{padding:10px 15px}.engagement-banner[_ngcontent-%COMP%] .banner-content[_ngcontent-%COMP%]{flex-direction:column;gap:10px;padding-right:40px}.engagement-banner[_ngcontent-%COMP%] .banner-text[_ngcontent-%COMP%]{font-size:1.3rem;text-align:center}.engagement-banner[_ngcontent-%COMP%] .cta-button[_ngcontent-%COMP%]{padding:8px 16px;font-size:1.3rem}}"]})}};On=(0,y.Cg)([(0,De.d)({checkProperties:!0})],On);var hc=r(63884),ki=r(28930),ko=r(17434),ui=r(71398);const Dc=["bannerEl"],Ao=function(f,d,l,m){return{days:f,daysUnit:d,hours:l,hoursUnit:m}};function $o(f,d){if(1&f&&(a.qex(0),a.j41(1,"div",1,2)(3,"div",3)(4,"span",4)(5,"strong",5),a.EFF(6),a.nI1(7,"transloco"),a.k0s(),a.j41(8,"span",6),a.EFF(9),a.nI1(10,"transloco"),a.nI1(11,"transloco"),a.nI1(12,"transloco"),a.k0s(),a.j41(13,"span",7),a.EFF(14," \xb7 "),a.k0s(),a.j41(15,"span",8),a.nI1(16,"transloco"),a.EFF(17),a.nI1(18,"transloco"),a.k0s()(),a.j41(19,"span",9)(20,"a",10),a.EFF(21),a.nI1(22,"transloco"),a.k0s(),a.j41(23,"a",11),a.EFF(24),a.nI1(25,"transloco"),a.k0s()()()(),a.bVm()),2&f){const l=d.ngIf;a.R7$(1),a.AVh("trial-banner--info","info"===l.remaining.severity)("trial-banner--warning","warning"===l.remaining.severity)("trial-banner--critical","critical"===l.remaining.severity)("trial-banner--row","row"===l.layout)("trial-banner--stack","stack"===l.layout),a.BMQ("data-severity",l.remaining.severity)("data-layout",l.layout),a.R7$(5),a.JRh(a.bMT(7,20,"trial.banner.label")),a.R7$(3),a.SpI(" ",a.i5U(10,22,"trial.banner.remaining",a.ziG(37,Ao,l.remaining.days,a.bMT(11,25,l.daysUnitKey),l.remaining.hours,a.bMT(12,27,l.hoursUnitKey)))," "),a.R7$(6),a.Y8G("title",a.bMT(16,29,"trial.banner.needMoreTime")),a.R7$(2),a.JRh(a.bMT(18,31,"trial.banner.needMoreTimeShort")),a.R7$(3),a.Y8G("href",l.contactHref,a.B4B),a.R7$(1),a.SpI(" ",a.bMT(22,33,"trial.banner.contactSales")," "),a.R7$(2),a.Y8G("href",l.demoUrl,a.B4B),a.R7$(1),a.SpI(" ",a.bMT(25,35,"trial.banner.bookDemo")," ")}}const bi="--df-trial-banner-height";let xi=(()=>{class f{set bannerRef(l){this.detach(),l&&this.attach(l.nativeElement)}constructor(l,m,L){this.trialService=l,this.document=m,this.zone=L,this.publishedHeight=0,this.layout$=(0,hc.R)(this.document.defaultView,"resize").pipe((0,ki.Z)(null),(0,J.T)(()=>function mi(f){return f>=960?"row":"stack"}(this.viewportWidth())),(0,_t.F)()),this.vm$=(0,ko.z)([this.trialService.trial$,this.trialService.remaining$,this.trialService.expired$,this.layout$]).pipe((0,J.T)(([R,ht,Pt,Ft])=>{if(!R||Pt||"active"!==R.status||!ht)return null;const qt=R.contactEmail||ui.nC;return{trial:R,remaining:ht,contactEmail:qt,contactHref:`mailto:${qt}`,demoUrl:R.demoUrl||ui.ds,daysUnitKey:1===ht.days?"trial.units.day":"trial.units.days",hoursUnitKey:1===ht.hours?"trial.units.hour":"trial.units.hours",layout:Ft}})),this.bannerEl=null,this.resizeObserver=null,this.fallbackResize=null}ngOnDestroy(){this.detach()}viewportWidth(){return this.document.defaultView?.innerWidth||this.document.documentElement.clientWidth||0}attach(l){this.bannerEl=l;const m=this.document.defaultView,L=m&&m.ResizeObserver;L?this.zone.runOutsideAngular(()=>{this.resizeObserver=new L(()=>this.syncHeight()),this.resizeObserver.observe(l)}):m&&(this.fallbackResize=()=>this.syncHeight(),m.addEventListener("resize",this.fallbackResize)),this.syncHeight()}detach(){this.resizeObserver?.disconnect(),this.resizeObserver=null,this.fallbackResize&&(this.document.defaultView?.removeEventListener("resize",this.fallbackResize),this.fallbackResize=null),this.bannerEl=null,this.publishHeight(0)}syncHeight(){this.bannerEl&&this.publishHeight(this.bannerEl.getBoundingClientRect().height)}publishHeight(l){const m=this.document.documentElement;m&&(l>0?m.style.setProperty(bi,`${l}px`):m.style.removeProperty(bi),this.publishedHeight=l)}static{this.\u0275fac=function(m){return new(m||f)(a.rXU(Dt.K),a.rXU(b.qQ),a.rXU(a.SKi))}}static{this.\u0275cmp=a.VBU({type:f,selectors:[["df-trial-banner"]],viewQuery:function(m,L){if(1&m&&a.GBs(Dc,5),2&m){let R;a.mGM(R=a.lsd())&&(L.bannerRef=R.first)}},standalone:!0,features:[a.aNF],decls:2,vars:3,consts:[[4,"ngIf"],["data-testid","trial-banner","role","status","aria-live","polite",1,"trial-banner"],["bannerEl",""],[1,"banner-content"],[1,"banner-text"],[1,"banner-label"],["data-testid","trial-countdown",1,"banner-countdown"],["aria-hidden","true",1,"banner-sep"],["data-testid","trial-help",1,"banner-help",3,"title"],[1,"banner-actions"],["data-testid","trial-contact-cta",1,"cta-button","cta-button--primary",3,"href"],["data-testid","trial-demo-cta","target","_blank","rel","noopener",1,"cta-button","cta-button--secondary",3,"href"]],template:function(m,L){1&m&&(a.DNE(0,$o,26,42,"ng-container",0),a.nI1(1,"async")),2&m&&a.Y8G("ngIf",a.bMT(1,1,L.vm$))},dependencies:[b.bT,b.Jj,at.Q8,at.Kj],styles:["[_nghost-%COMP%]{display:block;position:sticky;top:0;z-index:900}.trial-banner[_ngcontent-%COMP%]{--trial-tone: var(--df-accent);--trial-tone-strong: var(--df-accent-strong);--trial-tone-soft: var(--df-accent-soft);--trial-tone-border: var(--df-border);background-color:var(--df-surface);background-image:linear-gradient(var(--trial-tone-soft),var(--trial-tone-soft));color:var(--df-text);border-bottom:1px solid var(--trial-tone-border);padding:6px 16px;font-family:inherit;box-sizing:border-box}.trial-banner--warning[_ngcontent-%COMP%]{--trial-tone: var(--df-warning);--trial-tone-strong: var(--df-warning);--trial-tone-soft: var(--df-warning-soft);--trial-tone-border: var(--df-warning-border)}.trial-banner--critical[_ngcontent-%COMP%]{--trial-tone: var(--df-danger);--trial-tone-strong: var(--df-danger);--trial-tone-soft: var(--df-danger-soft);--trial-tone-border: var(--df-danger-border)}.trial-banner[_ngcontent-%COMP%] .banner-content[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:6px 16px;max-width:1200px;margin:0 auto;min-height:26px}.trial-banner[_ngcontent-%COMP%] .banner-text[_ngcontent-%COMP%]{display:inline-flex;align-items:center;flex-wrap:wrap;gap:4px 8px;min-width:0;color:var(--df-text);font-size:1.3rem;font-weight:500;line-height:1.3}.trial-banner[_ngcontent-%COMP%] .banner-label[_ngcontent-%COMP%]{display:inline-flex;align-items:center;padding:2px 8px;border-radius:999px;background-color:var(--trial-tone);color:var(--df-accent-contrast);font-size:1.05rem;font-weight:600;line-height:1.4;letter-spacing:.04em;text-transform:uppercase;white-space:nowrap}.trial-banner[_ngcontent-%COMP%] .banner-countdown[_ngcontent-%COMP%]{font-weight:600;font-variant-numeric:tabular-nums;white-space:nowrap}.trial-banner[_ngcontent-%COMP%] .banner-sep[_ngcontent-%COMP%]{color:var(--df-text-muted)}.trial-banner[_ngcontent-%COMP%] .banner-help[_ngcontent-%COMP%]{color:var(--df-text-2)}.trial-banner[_ngcontent-%COMP%] .banner-actions[_ngcontent-%COMP%]{display:inline-flex;gap:6px;flex-shrink:0}.trial-banner[_ngcontent-%COMP%] .cta-button[_ngcontent-%COMP%]{display:inline-flex;align-items:center;min-height:24px;box-sizing:border-box;text-decoration:none;border:1px solid transparent;padding:2px 10px;border-radius:var(--df-radius-sm);font-size:1.2rem;font-weight:600;line-height:1.4;cursor:pointer;white-space:nowrap;transition:background-color var(--df-duration-fast, .12s) ease,border-color var(--df-duration-fast, .12s) ease}.trial-banner[_ngcontent-%COMP%] .cta-button[_ngcontent-%COMP%]:focus-visible{outline:2px solid var(--trial-tone);outline-offset:2px}.trial-banner[_ngcontent-%COMP%] .cta-button--primary[_ngcontent-%COMP%]{background-color:var(--trial-tone);color:var(--df-accent-contrast)}.trial-banner[_ngcontent-%COMP%] .cta-button--primary[_ngcontent-%COMP%]:hover{background-color:var(--trial-tone-strong);filter:brightness(.95)}.trial-banner[_ngcontent-%COMP%] .cta-button--secondary[_ngcontent-%COMP%]{background-color:transparent;color:var(--df-text);border-color:var(--df-border)}.trial-banner[_ngcontent-%COMP%] .cta-button--secondary[_ngcontent-%COMP%]:hover{background-color:var(--df-hover);border-color:var(--trial-tone)}.trial-banner--stack[_ngcontent-%COMP%]{padding:8px 12px}.trial-banner--stack[_ngcontent-%COMP%] .banner-content[_ngcontent-%COMP%]{flex-direction:column;gap:8px}.trial-banner--stack[_ngcontent-%COMP%] .banner-text[_ngcontent-%COMP%]{justify-content:center;text-align:center}@media (max-width: 599px){.trial-banner--stack[_ngcontent-%COMP%] .banner-sep[_ngcontent-%COMP%], .trial-banner--stack[_ngcontent-%COMP%] .banner-help[_ngcontent-%COMP%]{display:none}}"]})}}return f})(),co=(()=>{class f{constructor(){this.activeCounter=0,this.active$=new ve.t(!1)}get active(){return this.active$.asObservable()}set active(l){const m=this.activeCounter>0;l?this.activeCounter++:this.activeCounter=Math.max(this.activeCounter-1,0);const L=this.activeCounter>0;m!==L&&queueMicrotask(()=>{this.active$.value!==L&&this.active$.next(L)})}static{this.\u0275fac=function(m){return new(m||f)}}static{this.\u0275prov=a.jDH({token:f,factory:f.\u0275fac,providedIn:"root"})}}return f})(),Ui=(()=>{class f{constructor(l,m){this.dfAuthService=l,this.dfUserDataService=m}loginWithJwt(l){return this.dfAuthService.loginWithToken(l).pipe((0,Ye.M)(m=>this.dfUserDataService.userData=m))}setCurrentUser(l){this.dfUserDataService.userData=l}getCurrentUser(){return this.dfUserDataService.userData}isAuthenticated(){return this.dfUserDataService.isLoggedIn}isLoggedIn(){return this.isAuthenticated()}logout(){this.dfAuthService.logout()}static{this.\u0275fac=function(m){return new(m||f)(a.KVO(pt.g),a.KVO(Gt.T))}}static{this.\u0275prov=a.jDH({token:f,factory:f.\u0275fac,providedIn:"root"})}}return f})(),To=(()=>{class f{constructor(){this.logs=[]}log(l){const L=`${(new Date).toISOString()}: ${l}`;console.log(L),this.logs.push(L)}getLogs(){return this.logs}clearLogs(){this.logs=[]}static{this.\u0275fac=function(m){return new(m||f)}}static{this.\u0275prov=a.jDH({token:f,factory:f.\u0275fac,providedIn:"root"})}}return f})();var ji=r(67679);function Wo(f,d){1&f&&(a.qex(0),a.nrm(1,"router-outlet"),a.bVm())}function gc(f,d){1&f&&(a.j41(0,"df-side-nav"),a.nrm(1,"router-outlet"),a.k0s())}function Ar(f,d){1&f&&(a.j41(0,"div",3),a.nrm(1,"div",4)(2,"img",5),a.k0s())}let Oc=class ev{constructor(d,l,m,L,R,ht,Pt,Ft,qt,Ae){this.loadingSpinnerService=d,this.licenseCheckService=l,this.trialService=m,this.authService=L,this.router=R,this.route=ht,this.loggingService=Pt,this.intercomService=Ft,this.dfUserDataService=qt,this.commandPalette=Ae,this.title="df-admin-interface",this.activeSpinner$=this.loadingSpinnerService.active,this.licenseCheck$=this.licenseCheckService.licenseCheck$,this.trialLocked$=this.trialService.expired$}onGlobalKeydown(d){if((d.metaKey||d.ctrlKey)&&"k"===d.key.toLowerCase()){if(!this.authService.isAuthenticated())return;d.preventDefault(),this.commandPalette.toggle()}}ngOnInit(){this.loggingService.log("AppComponent initialized"),this.handleAuthentication(),this.watchRouteLoading(),this.initializeIntercom(),this.dfUserDataService.userData$.pipe((0,De.s)(this)).subscribe(d=>{d?this.intercomService.updateUser(d):this.intercomService.shutdownIntercom()}),this.licenseCheck$.pipe((0,De.s)(this)).subscribe(d=>{"true"===d?.disableUi&&(this.router.url.includes(M.b.LICENSE_EXPIRED)||this.router.navigate([M.b.LICENSE_EXPIRED]))}),this.trialLocked$.pipe((0,De.s)(this)).subscribe(d=>{d&&!this.router.url.includes(M.b.TRIAL_EXPIRED)&&this.router.navigate([M.b.TRIAL_EXPIRED])})}watchRouteLoading(){this.router.events.pipe((0,Zt.p)(d=>d instanceof T.Z||d instanceof T.wF||d instanceof T.j5||d instanceof T.L6),(0,De.s)(this)).subscribe(d=>{this.loadingSpinnerService.active=d instanceof T.Z})}handleAuthentication(){this.loggingService.log("Handling authentication");const d=window.location.href;this.loggingService.log(`Full URL: ${d}`);const l=d.match(/[?&]jwt=([^&#]*)/),m=l?l[1]:null,L=d.match(/[?&]error=([^&#]*)/),R=L?decodeURIComponent(L[1]):null,ht=d.match(/[?&]session_token=([^&#]*)/),Pt=ht?ht[1]:null;if(R)return this.loggingService.log(`OAuth error found: ${R}`),void this.router.navigate(["/auth/login"],{state:{loginError:R}});m?(this.loggingService.log(`JWT found in URL: ${m.substring(0,20)}...`),this.authService.loginWithJwt(m).subscribe(Ft=>{this.loggingService.log("Login successful for user: "+(Ft.session_token||Ft.sessionToken?"Authenticated":"Unknown")),window.location.href="/dreamfactory/dist/#/home"},Ft=>{this.loggingService.log(`Login failed: ${JSON.stringify(Ft)}`),window.location.href="/dreamfactory/dist/#/auth/login"})):Pt?(this.loggingService.log("Session token found in URL"),this.authService.loginWithJwt(Pt).subscribe(Ft=>{this.loggingService.log("OAuth login successful: "+(Ft.session_token||Ft.sessionToken?"Authenticated":"Unknown")),window.location.href="/#/home"},Ft=>{this.loggingService.log(`OAuth login failed: ${JSON.stringify(Ft)}`),window.location.href="/#/auth/login"})):(this.loggingService.log("No JWT or session token found in URL"),this.authService.isAuthenticated()?(this.loggingService.log("User is already logged in"),window.location.href="/dreamfactory/dist/#/home"):this.loggingService.log("User not logged in, redirecting to login page"))}initializeIntercom(){var d=this;return(0,o.A)(function*(){try{setTimeout((0,o.A)(function*(){yield d.intercomService.initializeIntercom()}),2e3)}catch(l){d.loggingService.log(`Failed to initialize Intercom: ${l}`)}})()}someMethod(){this.authService.isAuthenticated()}static{this.\u0275fac=function(l){return new(l||ev)(a.rXU(co),a.rXU(hn.H),a.rXU(Dt.K),a.rXU(Ui),a.rXU(T.Ix),a.rXU(T.nX),a.rXU(To),a.rXU(ji.l),a.rXU(Gt.T),a.rXU(Ii))}}static{this.\u0275cmp=a.VBU({type:ev,selectors:[["df-root"]],hostBindings:function(l,m){1&l&&a.bIt("keydown",function(R){return m.onGlobalKeydown(R)},!1,a.EBC)},standalone:!0,features:[a.aNF],decls:9,vars:9,consts:[[4,"ngIf","ngIfElse"],["enabled",""],["class","spinner-container",4,"ngIf"],[1,"spinner-container"],[1,"backdrop"],["src","assets/img/df-cog.svg","alt","spinner","width","200",1,"spinner"]],template:function(l,m){if(1&l&&(a.nrm(0,"df-trial-banner")(1,"df-engagement-banner"),a.DNE(2,Wo,2,0,"ng-container",0),a.nI1(3,"async"),a.nI1(4,"async"),a.DNE(5,gc,2,0,"ng-template",null,1,a.C5r),a.DNE(7,Ar,3,0,"div",2),a.nI1(8,"async")),2&l){const L=a.sdS(6);let R;a.R7$(2),a.Y8G("ngIf","true"===(null==(R=a.bMT(3,3,m.licenseCheck$))?null:R.disableUi)||a.bMT(4,5,m.trialLocked$))("ngIfElse",L),a.R7$(5),a.Y8G("ngIf",a.bMT(8,7,m.activeSpinner$))}},dependencies:[eo,On,xi,T.n3,b.bT,b.Jj],styles:[".mat-ripple[_ngcontent-%COMP%]{overflow:hidden;position:relative}.mat-ripple[_ngcontent-%COMP%]:not(:empty){transform:translateZ(0)}.mat-ripple.mat-ripple-unbounded[_ngcontent-%COMP%]{overflow:visible}.mat-ripple-element[_ngcontent-%COMP%]{position:absolute;border-radius:50%;pointer-events:none;transition:opacity,transform 0ms cubic-bezier(0,0,.2,1);transform:scale3d(0,0,0)}.cdk-high-contrast-active[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%]{display:none}.cdk-visually-hidden[_ngcontent-%COMP%]{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;white-space:nowrap;outline:0;-webkit-appearance:none;-moz-appearance:none;left:0}[dir=rtl][_ngcontent-%COMP%] .cdk-visually-hidden[_ngcontent-%COMP%]{left:auto;right:0}.cdk-overlay-container[_ngcontent-%COMP%], .cdk-global-overlay-wrapper[_ngcontent-%COMP%]{pointer-events:none;top:0;left:0;height:100%;width:100%}.cdk-overlay-container[_ngcontent-%COMP%]{position:fixed;z-index:1000}.cdk-overlay-container[_ngcontent-%COMP%]:empty{display:none}.cdk-global-overlay-wrapper[_ngcontent-%COMP%]{display:flex;position:absolute;z-index:1000}.cdk-overlay-pane[_ngcontent-%COMP%]{position:absolute;pointer-events:auto;box-sizing:border-box;z-index:1000;display:flex;max-width:100%;max-height:100%}.cdk-overlay-backdrop[_ngcontent-%COMP%]{position:absolute;inset:0;z-index:1000;pointer-events:auto;-webkit-tap-highlight-color:transparent;transition:opacity .4s cubic-bezier(.25,.8,.25,1);opacity:0}.cdk-overlay-backdrop.cdk-overlay-backdrop-showing[_ngcontent-%COMP%]{opacity:1}.cdk-high-contrast-active[_ngcontent-%COMP%] .cdk-overlay-backdrop.cdk-overlay-backdrop-showing[_ngcontent-%COMP%]{opacity:.6}.cdk-overlay-dark-backdrop[_ngcontent-%COMP%]{background:rgba(0,0,0,.32)}.cdk-overlay-transparent-backdrop[_ngcontent-%COMP%]{transition:visibility 1ms linear,opacity 1ms linear;visibility:hidden;opacity:1}.cdk-overlay-transparent-backdrop.cdk-overlay-backdrop-showing[_ngcontent-%COMP%]{opacity:0;visibility:visible}.cdk-overlay-backdrop-noop-animation[_ngcontent-%COMP%]{transition:none}.cdk-overlay-connected-position-bounding-box[_ngcontent-%COMP%]{position:absolute;z-index:1000;display:flex;flex-direction:column;min-width:1px;min-height:1px}.cdk-global-scrollblock[_ngcontent-%COMP%]{position:fixed;width:100%;overflow-y:scroll}textarea.cdk-textarea-autosize[_ngcontent-%COMP%]{resize:none}textarea.cdk-textarea-autosize-measuring[_ngcontent-%COMP%]{padding:2px 0!important;box-sizing:content-box!important;height:auto!important;overflow:hidden!important}textarea.cdk-textarea-autosize-measuring-firefox[_ngcontent-%COMP%]{padding:2px 0!important;box-sizing:content-box!important;height:0!important}@keyframes _ngcontent-%COMP%_cdk-text-field-autofill-start{}@keyframes _ngcontent-%COMP%_cdk-text-field-autofill-end{}.cdk-text-field-autofill-monitored[_ngcontent-%COMP%]:-webkit-autofill{animation:_ngcontent-%COMP%_cdk-text-field-autofill-start 0s 1ms}.cdk-text-field-autofill-monitored[_ngcontent-%COMP%]:not(:-webkit-autofill){animation:_ngcontent-%COMP%_cdk-text-field-autofill-end 0s 1ms}.mat-focus-indicator[_ngcontent-%COMP%]{position:relative}.mat-focus-indicator[_ngcontent-%COMP%]:before{inset:0;position:absolute;box-sizing:border-box;pointer-events:none;display:var(--mat-focus-indicator-display, none);border:var(--mat-focus-indicator-border-width, 3px) var(--mat-focus-indicator-border-style, solid) var(--mat-focus-indicator-border-color, transparent);border-radius:var(--mat-focus-indicator-border-radius, 4px)}.mat-focus-indicator[_ngcontent-%COMP%]:focus:before{content:\"\"}.cdk-high-contrast-active[_ngcontent-%COMP%]{--mat-focus-indicator-display: block}.mat-mdc-focus-indicator[_ngcontent-%COMP%]{position:relative}.mat-mdc-focus-indicator[_ngcontent-%COMP%]:before{inset:0;position:absolute;box-sizing:border-box;pointer-events:none;display:var(--mat-mdc-focus-indicator-display, none);border:var(--mat-mdc-focus-indicator-border-width, 3px) var(--mat-mdc-focus-indicator-border-style, solid) var(--mat-mdc-focus-indicator-border-color, transparent);border-radius:var(--mat-mdc-focus-indicator-border-radius, 4px)}.mat-mdc-focus-indicator[_ngcontent-%COMP%]:focus:before{content:\"\"}.cdk-high-contrast-active[_ngcontent-%COMP%]{--mat-mdc-focus-indicator-display: block}@font-face{font-family:Inter;src:url(Inter-VariableFont_slnt,wght.1cccc37b0c8d2802.ttf)}.mat-ripple-element[_ngcontent-%COMP%]{background-color:#0000001a}html[_ngcontent-%COMP%]{--mat-option-selected-state-label-text-color: #0f0761;--mat-option-label-text-color: rgba(0, 0, 0, .87);--mat-option-hover-state-layer-color: rgba(0, 0, 0, .04);--mat-option-focus-state-layer-color: rgba(0, 0, 0, .04);--mat-option-selected-state-layer-color: rgba(0, 0, 0, .04)}.mat-accent[_ngcontent-%COMP%]{--mat-option-selected-state-label-text-color: #dd7345}.mat-warn[_ngcontent-%COMP%]{--mat-option-selected-state-label-text-color: #f44336}html[_ngcontent-%COMP%]{--mat-optgroup-label-text-color: rgba(0, 0, 0, .87)}.mat-pseudo-checkbox-full[_ngcontent-%COMP%]{color:#0000008a}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-disabled[_ngcontent-%COMP%]{color:#b0b0b0}.mat-primary[_ngcontent-%COMP%] .mat-pseudo-checkbox-checked.mat-pseudo-checkbox-minimal[_ngcontent-%COMP%]:after, .mat-primary[_ngcontent-%COMP%] .mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-minimal[_ngcontent-%COMP%]:after{color:#0f0761}.mat-primary[_ngcontent-%COMP%] .mat-pseudo-checkbox-checked.mat-pseudo-checkbox-full[_ngcontent-%COMP%], .mat-primary[_ngcontent-%COMP%] .mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-full[_ngcontent-%COMP%]{background:#0f0761}.mat-primary[_ngcontent-%COMP%] .mat-pseudo-checkbox-checked.mat-pseudo-checkbox-full[_ngcontent-%COMP%]:after, .mat-primary[_ngcontent-%COMP%] .mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-full[_ngcontent-%COMP%]:after{color:#fafafa}.mat-pseudo-checkbox-checked.mat-pseudo-checkbox-minimal[_ngcontent-%COMP%]:after, .mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-minimal[_ngcontent-%COMP%]:after{color:#dd7345}.mat-pseudo-checkbox-checked.mat-pseudo-checkbox-full[_ngcontent-%COMP%], .mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-full[_ngcontent-%COMP%]{background:#dd7345}.mat-pseudo-checkbox-checked.mat-pseudo-checkbox-full[_ngcontent-%COMP%]:after, .mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-full[_ngcontent-%COMP%]:after{color:#fafafa}.mat-accent[_ngcontent-%COMP%] .mat-pseudo-checkbox-checked.mat-pseudo-checkbox-minimal[_ngcontent-%COMP%]:after, .mat-accent[_ngcontent-%COMP%] .mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-minimal[_ngcontent-%COMP%]:after{color:#dd7345}.mat-accent[_ngcontent-%COMP%] .mat-pseudo-checkbox-checked.mat-pseudo-checkbox-full[_ngcontent-%COMP%], .mat-accent[_ngcontent-%COMP%] .mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-full[_ngcontent-%COMP%]{background:#dd7345}.mat-accent[_ngcontent-%COMP%] .mat-pseudo-checkbox-checked.mat-pseudo-checkbox-full[_ngcontent-%COMP%]:after, .mat-accent[_ngcontent-%COMP%] .mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-full[_ngcontent-%COMP%]:after{color:#fafafa}.mat-warn[_ngcontent-%COMP%] .mat-pseudo-checkbox-checked.mat-pseudo-checkbox-minimal[_ngcontent-%COMP%]:after, .mat-warn[_ngcontent-%COMP%] .mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-minimal[_ngcontent-%COMP%]:after{color:#f44336}.mat-warn[_ngcontent-%COMP%] .mat-pseudo-checkbox-checked.mat-pseudo-checkbox-full[_ngcontent-%COMP%], .mat-warn[_ngcontent-%COMP%] .mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-full[_ngcontent-%COMP%]{background:#f44336}.mat-warn[_ngcontent-%COMP%] .mat-pseudo-checkbox-checked.mat-pseudo-checkbox-full[_ngcontent-%COMP%]:after, .mat-warn[_ngcontent-%COMP%] .mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-full[_ngcontent-%COMP%]:after{color:#fafafa}.mat-pseudo-checkbox-disabled.mat-pseudo-checkbox-checked.mat-pseudo-checkbox-minimal[_ngcontent-%COMP%]:after, .mat-pseudo-checkbox-disabled.mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-minimal[_ngcontent-%COMP%]:after{color:#b0b0b0}.mat-pseudo-checkbox-disabled.mat-pseudo-checkbox-checked.mat-pseudo-checkbox-full[_ngcontent-%COMP%], .mat-pseudo-checkbox-disabled.mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-full[_ngcontent-%COMP%]{background:#b0b0b0}.mat-app-background[_ngcontent-%COMP%]{background-color:#fafafa;color:#000000de}.mat-elevation-z0[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z0[_ngcontent-%COMP%]{box-shadow:0 0 #0003,0 0 #00000024,0 0 #0000001f}.mat-elevation-z1[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z1[_ngcontent-%COMP%]{box-shadow:0 2px 1px -1px #0003,0 1px 1px #00000024,0 1px 3px #0000001f}.mat-elevation-z2[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z2[_ngcontent-%COMP%]{box-shadow:0 3px 1px -2px #0003,0 2px 2px #00000024,0 1px 5px #0000001f}.mat-elevation-z3[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z3[_ngcontent-%COMP%]{box-shadow:0 3px 3px -2px #0003,0 3px 4px #00000024,0 1px 8px #0000001f}.mat-elevation-z4[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z4[_ngcontent-%COMP%]{box-shadow:0 2px 4px -1px #0003,0 4px 5px #00000024,0 1px 10px #0000001f}.mat-elevation-z5[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z5[_ngcontent-%COMP%]{box-shadow:0 3px 5px -1px #0003,0 5px 8px #00000024,0 1px 14px #0000001f}.mat-elevation-z6[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z6[_ngcontent-%COMP%]{box-shadow:0 3px 5px -1px #0003,0 6px 10px #00000024,0 1px 18px #0000001f}.mat-elevation-z7[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z7[_ngcontent-%COMP%]{box-shadow:0 4px 5px -2px #0003,0 7px 10px 1px #00000024,0 2px 16px 1px #0000001f}.mat-elevation-z8[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z8[_ngcontent-%COMP%]{box-shadow:0 5px 5px -3px #0003,0 8px 10px 1px #00000024,0 3px 14px 2px #0000001f}.mat-elevation-z9[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z9[_ngcontent-%COMP%]{box-shadow:0 5px 6px -3px #0003,0 9px 12px 1px #00000024,0 3px 16px 2px #0000001f}.mat-elevation-z10[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z10[_ngcontent-%COMP%]{box-shadow:0 6px 6px -3px #0003,0 10px 14px 1px #00000024,0 4px 18px 3px #0000001f}.mat-elevation-z11[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z11[_ngcontent-%COMP%]{box-shadow:0 6px 7px -4px #0003,0 11px 15px 1px #00000024,0 4px 20px 3px #0000001f}.mat-elevation-z12[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z12[_ngcontent-%COMP%]{box-shadow:0 7px 8px -4px #0003,0 12px 17px 2px #00000024,0 5px 22px 4px #0000001f}.mat-elevation-z13[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z13[_ngcontent-%COMP%]{box-shadow:0 7px 8px -4px #0003,0 13px 19px 2px #00000024,0 5px 24px 4px #0000001f}.mat-elevation-z14[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z14[_ngcontent-%COMP%]{box-shadow:0 7px 9px -4px #0003,0 14px 21px 2px #00000024,0 5px 26px 4px #0000001f}.mat-elevation-z15[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z15[_ngcontent-%COMP%]{box-shadow:0 8px 9px -5px #0003,0 15px 22px 2px #00000024,0 6px 28px 5px #0000001f}.mat-elevation-z16[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z16[_ngcontent-%COMP%]{box-shadow:0 8px 10px -5px #0003,0 16px 24px 2px #00000024,0 6px 30px 5px #0000001f}.mat-elevation-z17[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z17[_ngcontent-%COMP%]{box-shadow:0 8px 11px -5px #0003,0 17px 26px 2px #00000024,0 6px 32px 5px #0000001f}.mat-elevation-z18[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z18[_ngcontent-%COMP%]{box-shadow:0 9px 11px -5px #0003,0 18px 28px 2px #00000024,0 7px 34px 6px #0000001f}.mat-elevation-z19[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z19[_ngcontent-%COMP%]{box-shadow:0 9px 12px -6px #0003,0 19px 29px 2px #00000024,0 7px 36px 6px #0000001f}.mat-elevation-z20[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z20[_ngcontent-%COMP%]{box-shadow:0 10px 13px -6px #0003,0 20px 31px 3px #00000024,0 8px 38px 7px #0000001f}.mat-elevation-z21[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z21[_ngcontent-%COMP%]{box-shadow:0 10px 13px -6px #0003,0 21px 33px 3px #00000024,0 8px 40px 7px #0000001f}.mat-elevation-z22[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z22[_ngcontent-%COMP%]{box-shadow:0 10px 14px -6px #0003,0 22px 35px 3px #00000024,0 8px 42px 7px #0000001f}.mat-elevation-z23[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z23[_ngcontent-%COMP%]{box-shadow:0 11px 14px -7px #0003,0 23px 36px 3px #00000024,0 9px 44px 8px #0000001f}.mat-elevation-z24[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z24[_ngcontent-%COMP%]{box-shadow:0 11px 15px -7px #0003,0 24px 38px 3px #00000024,0 9px 46px 8px #0000001f}.mat-theme-loaded-marker[_ngcontent-%COMP%]{display:none}html[_ngcontent-%COMP%]{--mat-option-label-text-font: Inter;--mat-option-label-text-line-height: 19px;--mat-option-label-text-size: 13px;--mat-option-label-text-tracking: normal;--mat-option-label-text-weight: 400}html[_ngcontent-%COMP%]{--mat-optgroup-label-text-font: Inter;--mat-optgroup-label-text-line-height: 19px;--mat-optgroup-label-text-size: 13px;--mat-optgroup-label-text-tracking: normal;--mat-optgroup-label-text-weight: 400}.mat-mdc-card[_ngcontent-%COMP%]{--mdc-elevated-card-container-color: white;--mdc-elevated-card-container-elevation: 0px 2px 1px -1px rgba(0, 0, 0, .2), 0px 1px 1px 0px rgba(0, 0, 0, .14), 0px 1px 3px 0px rgba(0, 0, 0, .12);--mdc-outlined-card-container-color: white;--mdc-outlined-card-outline-color: rgba(0, 0, 0, .12);--mdc-outlined-card-container-elevation: 0px 0px 0px 0px rgba(0, 0, 0, .2), 0px 0px 0px 0px rgba(0, 0, 0, .14), 0px 0px 0px 0px rgba(0, 0, 0, .12);--mat-card-subtitle-text-color: rgba(0, 0, 0, .54)}.mat-mdc-card[_ngcontent-%COMP%]{--mat-card-title-text-font: Inter;--mat-card-title-text-line-height: 21px;--mat-card-title-text-size: 16px;--mat-card-title-text-tracking: normal;--mat-card-title-text-weight: 600;--mat-card-subtitle-text-font: Inter;--mat-card-subtitle-text-line-height: 19px;--mat-card-subtitle-text-size: 13px;--mat-card-subtitle-text-tracking: normal;--mat-card-subtitle-text-weight: 500}.mat-mdc-progress-bar[_ngcontent-%COMP%]{--mdc-linear-progress-active-indicator-color: #0f0761;--mdc-linear-progress-track-color: rgba(15, 7, 97, .25)}.mat-mdc-progress-bar[_ngcontent-%COMP%] .mdc-linear-progress__buffer-dots[_ngcontent-%COMP%]{background-color:#0f076140;background-color:var(--mdc-linear-progress-track-color, rgba(15, 7, 97, .25))}@media (forced-colors: active){.mat-mdc-progress-bar[_ngcontent-%COMP%] .mdc-linear-progress__buffer-dots[_ngcontent-%COMP%]{background-color:ButtonBorder}}@media all and (-ms-high-contrast: none),(-ms-high-contrast: active){.mat-mdc-progress-bar[_ngcontent-%COMP%] .mdc-linear-progress__buffer-dots[_ngcontent-%COMP%]{background-color:transparent;background-image:url(\"data:image/svg+xml,%3Csvg version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' enable-background='new 0 0 5 2' xml:space='preserve' viewBox='0 0 5 2' preserveAspectRatio='none slice'%3E%3Ccircle cx='1' cy='1' r='1' fill='rgba(15, 7, 97, 0.25)'/%3E%3C/svg%3E\")}}.mat-mdc-progress-bar[_ngcontent-%COMP%] .mdc-linear-progress__buffer-bar[_ngcontent-%COMP%]{background-color:#0f076140;background-color:var(--mdc-linear-progress-track-color, rgba(15, 7, 97, .25))}.mat-mdc-progress-bar.mat-accent[_ngcontent-%COMP%]{--mdc-linear-progress-active-indicator-color: #dd7345;--mdc-linear-progress-track-color: rgba(221, 115, 69, .25)}.mat-mdc-progress-bar.mat-accent[_ngcontent-%COMP%] .mdc-linear-progress__buffer-dots[_ngcontent-%COMP%]{background-color:#dd734540;background-color:var(--mdc-linear-progress-track-color, rgba(221, 115, 69, .25))}@media (forced-colors: active){.mat-mdc-progress-bar.mat-accent[_ngcontent-%COMP%] .mdc-linear-progress__buffer-dots[_ngcontent-%COMP%]{background-color:ButtonBorder}}@media all and (-ms-high-contrast: none),(-ms-high-contrast: active){.mat-mdc-progress-bar.mat-accent[_ngcontent-%COMP%] .mdc-linear-progress__buffer-dots[_ngcontent-%COMP%]{background-color:transparent;background-image:url(\"data:image/svg+xml,%3Csvg version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' enable-background='new 0 0 5 2' xml:space='preserve' viewBox='0 0 5 2' preserveAspectRatio='none slice'%3E%3Ccircle cx='1' cy='1' r='1' fill='rgba(221, 115, 69, 0.25)'/%3E%3C/svg%3E\")}}.mat-mdc-progress-bar.mat-accent[_ngcontent-%COMP%] .mdc-linear-progress__buffer-bar[_ngcontent-%COMP%]{background-color:#dd734540;background-color:var(--mdc-linear-progress-track-color, rgba(221, 115, 69, .25))}.mat-mdc-progress-bar.mat-warn[_ngcontent-%COMP%]{--mdc-linear-progress-active-indicator-color: #f44336;--mdc-linear-progress-track-color: rgba(244, 67, 54, .25)}@keyframes _ngcontent-%COMP%_mdc-linear-progress-buffering{}.mat-mdc-progress-bar.mat-warn[_ngcontent-%COMP%] .mdc-linear-progress__buffer-dots[_ngcontent-%COMP%]{background-color:#f4433640;background-color:var(--mdc-linear-progress-track-color, rgba(244, 67, 54, .25))}@media (forced-colors: active){.mat-mdc-progress-bar.mat-warn[_ngcontent-%COMP%] .mdc-linear-progress__buffer-dots[_ngcontent-%COMP%]{background-color:ButtonBorder}}@media all and (-ms-high-contrast: none),(-ms-high-contrast: active){.mat-mdc-progress-bar.mat-warn[_ngcontent-%COMP%] .mdc-linear-progress__buffer-dots[_ngcontent-%COMP%]{background-color:transparent;background-image:url(\"data:image/svg+xml,%3Csvg version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' enable-background='new 0 0 5 2' xml:space='preserve' viewBox='0 0 5 2' preserveAspectRatio='none slice'%3E%3Ccircle cx='1' cy='1' r='1' fill='rgba(244, 67, 54, 0.25)'/%3E%3C/svg%3E\")}}.mat-mdc-progress-bar.mat-warn[_ngcontent-%COMP%] .mdc-linear-progress__buffer-bar[_ngcontent-%COMP%]{background-color:#f4433640;background-color:var(--mdc-linear-progress-track-color, rgba(244, 67, 54, .25))}.mat-mdc-tooltip[_ngcontent-%COMP%]{--mdc-plain-tooltip-container-color: #616161;--mdc-plain-tooltip-supporting-text-color: #fff}.mat-mdc-tooltip[_ngcontent-%COMP%]{--mdc-plain-tooltip-supporting-text-font: Inter;--mdc-plain-tooltip-supporting-text-size: 12px;--mdc-plain-tooltip-supporting-text-weight: 400;--mdc-plain-tooltip-supporting-text-tracking: normal}html[_ngcontent-%COMP%]{--mdc-filled-text-field-caret-color: #0f0761;--mdc-filled-text-field-focus-active-indicator-color: #0f0761;--mdc-filled-text-field-focus-label-text-color: rgba(15, 7, 97, .87);--mdc-filled-text-field-container-color: whitesmoke;--mdc-filled-text-field-disabled-container-color: #fafafa;--mdc-filled-text-field-label-text-color: rgba(0, 0, 0, .6);--mdc-filled-text-field-disabled-label-text-color: rgba(0, 0, 0, .38);--mdc-filled-text-field-input-text-color: rgba(0, 0, 0, .87);--mdc-filled-text-field-disabled-input-text-color: rgba(0, 0, 0, .38);--mdc-filled-text-field-input-text-placeholder-color: rgba(0, 0, 0, .6);--mdc-filled-text-field-error-focus-label-text-color: #f44336;--mdc-filled-text-field-error-label-text-color: #f44336;--mdc-filled-text-field-error-caret-color: #f44336;--mdc-filled-text-field-active-indicator-color: rgba(0, 0, 0, .42);--mdc-filled-text-field-disabled-active-indicator-color: rgba(0, 0, 0, .06);--mdc-filled-text-field-hover-active-indicator-color: rgba(0, 0, 0, .87);--mdc-filled-text-field-error-active-indicator-color: #f44336;--mdc-filled-text-field-error-focus-active-indicator-color: #f44336;--mdc-filled-text-field-error-hover-active-indicator-color: #f44336;--mdc-outlined-text-field-caret-color: #0f0761;--mdc-outlined-text-field-focus-outline-color: #0f0761;--mdc-outlined-text-field-focus-label-text-color: rgba(15, 7, 97, .87);--mdc-outlined-text-field-label-text-color: rgba(0, 0, 0, .6);--mdc-outlined-text-field-disabled-label-text-color: rgba(0, 0, 0, .38);--mdc-outlined-text-field-input-text-color: rgba(0, 0, 0, .87);--mdc-outlined-text-field-disabled-input-text-color: rgba(0, 0, 0, .38);--mdc-outlined-text-field-input-text-placeholder-color: rgba(0, 0, 0, .6);--mdc-outlined-text-field-error-caret-color: #f44336;--mdc-outlined-text-field-error-focus-label-text-color: #f44336;--mdc-outlined-text-field-error-label-text-color: #f44336;--mdc-outlined-text-field-outline-color: rgba(0, 0, 0, .38);--mdc-outlined-text-field-disabled-outline-color: rgba(0, 0, 0, .06);--mdc-outlined-text-field-hover-outline-color: rgba(0, 0, 0, .87);--mdc-outlined-text-field-error-focus-outline-color: #f44336;--mdc-outlined-text-field-error-hover-outline-color: #f44336;--mdc-outlined-text-field-error-outline-color: #f44336;--mat-form-field-disabled-input-text-placeholder-color: rgba(0, 0, 0, .38)}.mat-mdc-form-field-error[_ngcontent-%COMP%]{color:var(--mdc-theme-error, #f44336)}.mat-mdc-form-field-subscript-wrapper[_ngcontent-%COMP%], .mat-mdc-form-field-bottom-align[_ngcontent-%COMP%]:before{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--mat-form-field-subscript-text-font);line-height:var(--mat-form-field-subscript-text-line-height);font-size:var(--mat-form-field-subscript-text-size);letter-spacing:var(--mat-form-field-subscript-text-tracking);font-weight:var(--mat-form-field-subscript-text-weight)}.mat-mdc-form-field-focus-overlay[_ngcontent-%COMP%]{background-color:#000000de}.mat-mdc-form-field[_ngcontent-%COMP%]:hover .mat-mdc-form-field-focus-overlay[_ngcontent-%COMP%]{opacity:.04}.mat-mdc-form-field.mat-focused[_ngcontent-%COMP%] .mat-mdc-form-field-focus-overlay[_ngcontent-%COMP%]{opacity:.12}.mat-mdc-form-field-type-mat-native-select[_ngcontent-%COMP%] .mat-mdc-form-field-infix[_ngcontent-%COMP%]:after{color:#0000008a}.mat-mdc-form-field-type-mat-native-select.mat-focused.mat-primary[_ngcontent-%COMP%] .mat-mdc-form-field-infix[_ngcontent-%COMP%]:after{color:#0f0761de}.mat-mdc-form-field-type-mat-native-select.mat-focused.mat-accent[_ngcontent-%COMP%] .mat-mdc-form-field-infix[_ngcontent-%COMP%]:after{color:#dd7345de}.mat-mdc-form-field-type-mat-native-select.mat-focused.mat-warn[_ngcontent-%COMP%] .mat-mdc-form-field-infix[_ngcontent-%COMP%]:after{color:#f44336de}.mat-mdc-form-field-type-mat-native-select.mat-form-field-disabled[_ngcontent-%COMP%] .mat-mdc-form-field-infix[_ngcontent-%COMP%]:after{color:#00000061}.mat-mdc-form-field.mat-accent[_ngcontent-%COMP%]{--mdc-filled-text-field-caret-color: #dd7345;--mdc-filled-text-field-focus-active-indicator-color: #dd7345;--mdc-filled-text-field-focus-label-text-color: rgba(221, 115, 69, .87);--mdc-outlined-text-field-caret-color: #dd7345;--mdc-outlined-text-field-focus-outline-color: #dd7345;--mdc-outlined-text-field-focus-label-text-color: rgba(221, 115, 69, .87)}.mat-mdc-form-field.mat-warn[_ngcontent-%COMP%]{--mdc-filled-text-field-caret-color: #f44336;--mdc-filled-text-field-focus-active-indicator-color: #f44336;--mdc-filled-text-field-focus-label-text-color: rgba(244, 67, 54, .87);--mdc-outlined-text-field-caret-color: #f44336;--mdc-outlined-text-field-focus-outline-color: #f44336;--mdc-outlined-text-field-focus-label-text-color: rgba(244, 67, 54, .87)}.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field[_ngcontent-%COMP%] .mdc-notched-outline__notch[_ngcontent-%COMP%]{border-left:1px solid transparent}[dir=rtl][_ngcontent-%COMP%] .mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field[_ngcontent-%COMP%] .mdc-notched-outline__notch[_ngcontent-%COMP%]{border-left:none;border-right:1px solid transparent}.mat-mdc-form-field-infix[_ngcontent-%COMP%]{min-height:48px}.mat-mdc-text-field-wrapper[_ngcontent-%COMP%] .mat-mdc-form-field-flex[_ngcontent-%COMP%] .mat-mdc-floating-label[_ngcontent-%COMP%]{top:24px}.mat-mdc-text-field-wrapper.mdc-text-field--outlined[_ngcontent-%COMP%] .mdc-notched-outline--upgraded[_ngcontent-%COMP%] .mdc-floating-label--float-above[_ngcontent-%COMP%]{--mat-mdc-form-field-label-transform: translateY( -30.75px) scale(var(--mat-mdc-form-field-floating-label-scale, .75));transform:var(--mat-mdc-form-field-label-transform)}.mat-mdc-text-field-wrapper.mdc-text-field--outlined[_ngcontent-%COMP%] .mat-mdc-form-field-infix[_ngcontent-%COMP%]{padding-top:12px;padding-bottom:12px}.mat-mdc-text-field-wrapper[_ngcontent-%COMP%]:not(.mdc-text-field--outlined) .mat-mdc-form-field-infix[_ngcontent-%COMP%]{padding-top:12px;padding-bottom:12px}.mdc-text-field--no-label[_ngcontent-%COMP%]:not(.mdc-text-field--outlined):not(.mdc-text-field--textarea) .mat-mdc-form-field-infix[_ngcontent-%COMP%]{padding-top:12px;padding-bottom:12px}.mat-mdc-text-field-wrapper[_ngcontent-%COMP%]:not(.mdc-text-field--outlined) .mat-mdc-floating-label[_ngcontent-%COMP%]{display:none}html[_ngcontent-%COMP%]{--mdc-filled-text-field-label-text-font: Inter;--mdc-filled-text-field-label-text-size: 13px;--mdc-filled-text-field-label-text-tracking: normal;--mdc-filled-text-field-label-text-weight: 400;--mdc-outlined-text-field-label-text-font: Inter;--mdc-outlined-text-field-label-text-size: 13px;--mdc-outlined-text-field-label-text-tracking: normal;--mdc-outlined-text-field-label-text-weight: 400;--mat-form-field-container-text-font: Inter;--mat-form-field-container-text-line-height: 19px;--mat-form-field-container-text-size: 13px;--mat-form-field-container-text-tracking: normal;--mat-form-field-container-text-weight: 400;--mat-form-field-outlined-label-text-populated-size: 13px;--mat-form-field-subscript-text-font: Inter;--mat-form-field-subscript-text-line-height: 16px;--mat-form-field-subscript-text-size: 12px;--mat-form-field-subscript-text-tracking: normal;--mat-form-field-subscript-text-weight: 400}html[_ngcontent-%COMP%]{--mat-select-panel-background-color: white;--mat-select-enabled-trigger-text-color: rgba(0, 0, 0, .87);--mat-select-disabled-trigger-text-color: rgba(0, 0, 0, .38);--mat-select-placeholder-text-color: rgba(0, 0, 0, .6);--mat-select-enabled-arrow-color: rgba(0, 0, 0, .54);--mat-select-disabled-arrow-color: rgba(0, 0, 0, .38);--mat-select-focused-arrow-color: rgba(15, 7, 97, .87);--mat-select-invalid-arrow-color: rgba(244, 67, 54, .87)}html[_ngcontent-%COMP%] .mat-mdc-form-field.mat-accent[_ngcontent-%COMP%]{--mat-select-panel-background-color: white;--mat-select-enabled-trigger-text-color: rgba(0, 0, 0, .87);--mat-select-disabled-trigger-text-color: rgba(0, 0, 0, .38);--mat-select-placeholder-text-color: rgba(0, 0, 0, .6);--mat-select-enabled-arrow-color: rgba(0, 0, 0, .54);--mat-select-disabled-arrow-color: rgba(0, 0, 0, .38);--mat-select-focused-arrow-color: rgba(221, 115, 69, .87);--mat-select-invalid-arrow-color: rgba(244, 67, 54, .87)}html[_ngcontent-%COMP%] .mat-mdc-form-field.mat-warn[_ngcontent-%COMP%]{--mat-select-panel-background-color: white;--mat-select-enabled-trigger-text-color: rgba(0, 0, 0, .87);--mat-select-disabled-trigger-text-color: rgba(0, 0, 0, .38);--mat-select-placeholder-text-color: rgba(0, 0, 0, .6);--mat-select-enabled-arrow-color: rgba(0, 0, 0, .54);--mat-select-disabled-arrow-color: rgba(0, 0, 0, .38);--mat-select-focused-arrow-color: rgba(244, 67, 54, .87);--mat-select-invalid-arrow-color: rgba(244, 67, 54, .87)}.mat-form-field-appearance-fill[_ngcontent-%COMP%] .mat-mdc-select-arrow-wrapper[_ngcontent-%COMP%]{transform:none}html[_ngcontent-%COMP%]{--mat-select-trigger-text-font: Inter;--mat-select-trigger-text-line-height: 19px;--mat-select-trigger-text-size: 13px;--mat-select-trigger-text-tracking: normal;--mat-select-trigger-text-weight: 400}html[_ngcontent-%COMP%]{--mat-autocomplete-background-color: white}.mat-mdc-dialog-container[_ngcontent-%COMP%]{--mdc-dialog-container-color: white;--mdc-dialog-subhead-color: rgba(0, 0, 0, .87);--mdc-dialog-supporting-text-color: rgba(0, 0, 0, .6)}.mat-mdc-dialog-container[_ngcontent-%COMP%]{--mdc-dialog-subhead-font: Inter;--mdc-dialog-subhead-line-height: 21px;--mdc-dialog-subhead-size: 16px;--mdc-dialog-subhead-weight: 600;--mdc-dialog-subhead-tracking: normal;--mdc-dialog-supporting-text-font: Inter;--mdc-dialog-supporting-text-line-height: 19px;--mdc-dialog-supporting-text-size: 13px;--mdc-dialog-supporting-text-weight: 400;--mdc-dialog-supporting-text-tracking: normal}.mat-mdc-standard-chip[_ngcontent-%COMP%]{--mdc-chip-disabled-label-text-color: #212121;--mdc-chip-elevated-container-color: #e0e0e0;--mdc-chip-elevated-disabled-container-color: #e0e0e0;--mdc-chip-focus-state-layer-color: black;--mdc-chip-focus-state-layer-opacity: .12;--mdc-chip-label-text-color: #212121;--mdc-chip-with-icon-icon-color: #212121;--mdc-chip-with-icon-disabled-icon-color: #212121;--mdc-chip-with-icon-selected-icon-color: #212121;--mdc-chip-with-trailing-icon-disabled-trailing-icon-color: #212121;--mdc-chip-with-trailing-icon-trailing-icon-color: #212121}.mat-mdc-standard-chip.mat-mdc-chip-selected.mat-primary[_ngcontent-%COMP%], .mat-mdc-standard-chip.mat-mdc-chip-highlighted.mat-primary[_ngcontent-%COMP%]{--mdc-chip-disabled-label-text-color: white;--mdc-chip-elevated-container-color: #0f0761;--mdc-chip-elevated-disabled-container-color: #0f0761;--mdc-chip-focus-state-layer-color: black;--mdc-chip-focus-state-layer-opacity: .12;--mdc-chip-label-text-color: white;--mdc-chip-with-icon-icon-color: white;--mdc-chip-with-icon-disabled-icon-color: white;--mdc-chip-with-icon-selected-icon-color: white;--mdc-chip-with-trailing-icon-disabled-trailing-icon-color: white;--mdc-chip-with-trailing-icon-trailing-icon-color: white}.mat-mdc-standard-chip.mat-mdc-chip-selected.mat-accent[_ngcontent-%COMP%], .mat-mdc-standard-chip.mat-mdc-chip-highlighted.mat-accent[_ngcontent-%COMP%]{--mdc-chip-disabled-label-text-color: white;--mdc-chip-elevated-container-color: #dd7345;--mdc-chip-elevated-disabled-container-color: #dd7345;--mdc-chip-focus-state-layer-color: black;--mdc-chip-focus-state-layer-opacity: .12;--mdc-chip-label-text-color: white;--mdc-chip-with-icon-icon-color: white;--mdc-chip-with-icon-disabled-icon-color: white;--mdc-chip-with-icon-selected-icon-color: white;--mdc-chip-with-trailing-icon-disabled-trailing-icon-color: white;--mdc-chip-with-trailing-icon-trailing-icon-color: white}.mat-mdc-standard-chip.mat-mdc-chip-selected.mat-warn[_ngcontent-%COMP%], .mat-mdc-standard-chip.mat-mdc-chip-highlighted.mat-warn[_ngcontent-%COMP%]{--mdc-chip-disabled-label-text-color: white;--mdc-chip-elevated-container-color: #f44336;--mdc-chip-elevated-disabled-container-color: #f44336;--mdc-chip-focus-state-layer-color: black;--mdc-chip-focus-state-layer-opacity: .12;--mdc-chip-label-text-color: white;--mdc-chip-with-icon-icon-color: white;--mdc-chip-with-icon-disabled-icon-color: white;--mdc-chip-with-icon-selected-icon-color: white;--mdc-chip-with-trailing-icon-disabled-trailing-icon-color: white;--mdc-chip-with-trailing-icon-trailing-icon-color: white}.mat-mdc-chip.mat-mdc-standard-chip[_ngcontent-%COMP%]{--mdc-chip-container-height: 24px}.mat-mdc-standard-chip[_ngcontent-%COMP%]{--mdc-chip-label-text-font: Inter;--mdc-chip-label-text-line-height: 19px;--mdc-chip-label-text-size: 13px;--mdc-chip-label-text-tracking: normal;--mdc-chip-label-text-weight: 400}.mat-mdc-slide-toggle[_ngcontent-%COMP%]{--mdc-switch-selected-focus-state-layer-color: #5c5699;--mdc-switch-selected-handle-color: #5c5699;--mdc-switch-selected-hover-state-layer-color: #5c5699;--mdc-switch-selected-pressed-state-layer-color: #5c5699;--mdc-switch-selected-focus-handle-color: #0f0761;--mdc-switch-selected-hover-handle-color: #0f0761;--mdc-switch-selected-pressed-handle-color: #0f0761;--mdc-switch-selected-focus-track-color: #aaa8ca;--mdc-switch-selected-hover-track-color: #aaa8ca;--mdc-switch-selected-pressed-track-color: #aaa8ca;--mdc-switch-selected-track-color: #aaa8ca;--mdc-switch-disabled-selected-handle-color: #424242;--mdc-switch-disabled-selected-icon-color: #fff;--mdc-switch-disabled-selected-track-color: #424242;--mdc-switch-disabled-unselected-handle-color: #424242;--mdc-switch-disabled-unselected-icon-color: #fff;--mdc-switch-disabled-unselected-track-color: #424242;--mdc-switch-handle-surface-color: var(--mdc-theme-surface, #fff);--mdc-switch-handle-elevation-shadow: 0px 2px 1px -1px rgba(0, 0, 0, .2), 0px 1px 1px 0px rgba(0, 0, 0, .14), 0px 1px 3px 0px rgba(0, 0, 0, .12);--mdc-switch-handle-shadow-color: black;--mdc-switch-disabled-handle-elevation-shadow: 0px 0px 0px 0px rgba(0, 0, 0, .2), 0px 0px 0px 0px rgba(0, 0, 0, .14), 0px 0px 0px 0px rgba(0, 0, 0, .12);--mdc-switch-selected-icon-color: #fff;--mdc-switch-unselected-focus-handle-color: #212121;--mdc-switch-unselected-focus-state-layer-color: #424242;--mdc-switch-unselected-focus-track-color: #e0e0e0;--mdc-switch-unselected-handle-color: #616161;--mdc-switch-unselected-hover-handle-color: #212121;--mdc-switch-unselected-hover-state-layer-color: #424242;--mdc-switch-unselected-hover-track-color: #e0e0e0;--mdc-switch-unselected-icon-color: #fff;--mdc-switch-unselected-pressed-handle-color: #212121;--mdc-switch-unselected-pressed-state-layer-color: #424242;--mdc-switch-unselected-pressed-track-color: #e0e0e0;--mdc-switch-unselected-track-color: #e0e0e0}.mat-mdc-slide-toggle[_ngcontent-%COMP%] .mdc-form-field[_ngcontent-%COMP%]{color:var(--mdc-theme-text-primary-on-background, rgba(0, 0, 0, .87))}.mat-mdc-slide-toggle[_ngcontent-%COMP%] .mdc-switch--disabled[_ngcontent-%COMP%] + label[_ngcontent-%COMP%]{color:#00000061}.mat-mdc-slide-toggle.mat-accent[_ngcontent-%COMP%]{--mdc-switch-selected-focus-state-layer-color: #914b2d;--mdc-switch-selected-handle-color: #914b2d;--mdc-switch-selected-hover-state-layer-color: #914b2d;--mdc-switch-selected-pressed-state-layer-color: #914b2d;--mdc-switch-selected-focus-handle-color: #2b160d;--mdc-switch-selected-hover-handle-color: #2b160d;--mdc-switch-selected-pressed-handle-color: #2b160d;--mdc-switch-selected-focus-track-color: #ff8c5a;--mdc-switch-selected-hover-track-color: #ff8c5a;--mdc-switch-selected-pressed-track-color: #ff8c5a;--mdc-switch-selected-track-color: #ff8c5a}.mat-mdc-slide-toggle.mat-warn[_ngcontent-%COMP%]{--mdc-switch-selected-focus-state-layer-color: #e53935;--mdc-switch-selected-handle-color: #e53935;--mdc-switch-selected-hover-state-layer-color: #e53935;--mdc-switch-selected-pressed-state-layer-color: #e53935;--mdc-switch-selected-focus-handle-color: #b71c1c;--mdc-switch-selected-hover-handle-color: #b71c1c;--mdc-switch-selected-pressed-handle-color: #b71c1c;--mdc-switch-selected-focus-track-color: #e57373;--mdc-switch-selected-hover-track-color: #e57373;--mdc-switch-selected-pressed-track-color: #e57373;--mdc-switch-selected-track-color: #e57373}.mat-mdc-slide-toggle[_ngcontent-%COMP%]{--mdc-switch-state-layer-size: 40px}.mat-mdc-slide-toggle[_ngcontent-%COMP%]{--mat-slide-toggle-label-text-font: Inter;--mat-slide-toggle-label-text-size: 13px;--mat-slide-toggle-label-text-tracking: normal;--mat-slide-toggle-label-text-line-height: 19px;--mat-slide-toggle-label-text-weight: 400}.mat-mdc-slide-toggle[_ngcontent-%COMP%] .mdc-form-field[_ngcontent-%COMP%]{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:Roboto,sans-serif;font-family:var(--mdc-typography-body2-font-family, var(--mdc-typography-font-family, Roboto, sans-serif));font-size:.875rem;font-size:var(--mdc-typography-body2-font-size, .875rem);line-height:1.25rem;line-height:var(--mdc-typography-body2-line-height, 1.25rem);font-weight:400;font-weight:var(--mdc-typography-body2-font-weight, 400);letter-spacing:.0178571429em;letter-spacing:var(--mdc-typography-body2-letter-spacing, .0178571429em);text-decoration:inherit;-webkit-text-decoration:var(--mdc-typography-body2-text-decoration, inherit);text-decoration:var(--mdc-typography-body2-text-decoration, inherit);text-transform:inherit;text-transform:var(--mdc-typography-body2-text-transform, inherit)}.mat-mdc-radio-button[_ngcontent-%COMP%] .mdc-form-field[_ngcontent-%COMP%]{color:var(--mdc-theme-text-primary-on-background, rgba(0, 0, 0, .87))}.mat-mdc-radio-button.mat-primary[_ngcontent-%COMP%]{--mdc-radio-disabled-selected-icon-color: #000;--mdc-radio-disabled-unselected-icon-color: #000;--mdc-radio-unselected-hover-icon-color: #212121;--mdc-radio-unselected-icon-color: rgba(0, 0, 0, .54);--mdc-radio-unselected-pressed-icon-color: rgba(0, 0, 0, .54);--mdc-radio-selected-focus-icon-color: #0f0761;--mdc-radio-selected-hover-icon-color: #0f0761;--mdc-radio-selected-icon-color: #0f0761;--mdc-radio-selected-pressed-icon-color: #0f0761;--mat-radio-ripple-color: #000;--mat-radio-checked-ripple-color: #0f0761;--mat-radio-disabled-label-color: rgba(0, 0, 0, .38)}.mat-mdc-radio-button.mat-accent[_ngcontent-%COMP%]{--mdc-radio-disabled-selected-icon-color: #000;--mdc-radio-disabled-unselected-icon-color: #000;--mdc-radio-unselected-hover-icon-color: #212121;--mdc-radio-unselected-icon-color: rgba(0, 0, 0, .54);--mdc-radio-unselected-pressed-icon-color: rgba(0, 0, 0, .54);--mdc-radio-selected-focus-icon-color: #dd7345;--mdc-radio-selected-hover-icon-color: #dd7345;--mdc-radio-selected-icon-color: #dd7345;--mdc-radio-selected-pressed-icon-color: #dd7345;--mat-radio-ripple-color: #000;--mat-radio-checked-ripple-color: #dd7345;--mat-radio-disabled-label-color: rgba(0, 0, 0, .38)}.mat-mdc-radio-button.mat-warn[_ngcontent-%COMP%]{--mdc-radio-disabled-selected-icon-color: #000;--mdc-radio-disabled-unselected-icon-color: #000;--mdc-radio-unselected-hover-icon-color: #212121;--mdc-radio-unselected-icon-color: rgba(0, 0, 0, .54);--mdc-radio-unselected-pressed-icon-color: rgba(0, 0, 0, .54);--mdc-radio-selected-focus-icon-color: #f44336;--mdc-radio-selected-hover-icon-color: #f44336;--mdc-radio-selected-icon-color: #f44336;--mdc-radio-selected-pressed-icon-color: #f44336;--mat-radio-ripple-color: #000;--mat-radio-checked-ripple-color: #f44336;--mat-radio-disabled-label-color: rgba(0, 0, 0, .38)}.mat-mdc-radio-button[_ngcontent-%COMP%] .mdc-radio[_ngcontent-%COMP%]{--mdc-radio-state-layer-size: 32px}.mat-mdc-radio-touch-target[_ngcontent-%COMP%]{display:none}.mat-mdc-radio-button[_ngcontent-%COMP%] .mdc-form-field[_ngcontent-%COMP%]{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--mdc-typography-body2-font-family, var(--mdc-typography-font-family, Inter));font-size:var(--mdc-typography-body2-font-size, 13px);line-height:var(--mdc-typography-body2-line-height, 19px);font-weight:var(--mdc-typography-body2-font-weight, 400);letter-spacing:var(--mdc-typography-body2-letter-spacing, normal);-webkit-text-decoration:var(--mdc-typography-body2-text-decoration, inherit);text-decoration:var(--mdc-typography-body2-text-decoration, inherit);text-transform:var(--mdc-typography-body2-text-transform, none)}.mat-mdc-slider[_ngcontent-%COMP%]{--mdc-slider-label-container-color: black;--mdc-slider-label-label-text-color: white;--mdc-slider-disabled-handle-color: #000;--mdc-slider-disabled-active-track-color: #000;--mdc-slider-disabled-inactive-track-color: #000;--mdc-slider-with-tick-marks-disabled-container-color: #000;--mat-mdc-slider-value-indicator-opacity: .6}.mat-mdc-slider.mat-primary[_ngcontent-%COMP%]{--mdc-slider-handle-color: #0f0761;--mdc-slider-focus-handle-color: #0f0761;--mdc-slider-hover-handle-color: #0f0761;--mdc-slider-active-track-color: #0f0761;--mdc-slider-inactive-track-color: #0f0761;--mdc-slider-with-tick-marks-active-container-color: #fff;--mdc-slider-with-tick-marks-inactive-container-color: #0f0761;--mat-mdc-slider-ripple-color: #0f0761;--mat-mdc-slider-hover-ripple-color: rgba(15, 7, 97, .05);--mat-mdc-slider-focus-ripple-color: rgba(15, 7, 97, .2)}.mat-mdc-slider.mat-accent[_ngcontent-%COMP%]{--mdc-slider-handle-color: #dd7345;--mdc-slider-focus-handle-color: #dd7345;--mdc-slider-hover-handle-color: #dd7345;--mdc-slider-active-track-color: #dd7345;--mdc-slider-inactive-track-color: #dd7345;--mdc-slider-with-tick-marks-active-container-color: #fff;--mdc-slider-with-tick-marks-inactive-container-color: #dd7345;--mat-mdc-slider-ripple-color: #dd7345;--mat-mdc-slider-hover-ripple-color: rgba(221, 115, 69, .05);--mat-mdc-slider-focus-ripple-color: rgba(221, 115, 69, .2)}.mat-mdc-slider.mat-warn[_ngcontent-%COMP%]{--mdc-slider-handle-color: #f44336;--mdc-slider-focus-handle-color: #f44336;--mdc-slider-hover-handle-color: #f44336;--mdc-slider-active-track-color: #f44336;--mdc-slider-inactive-track-color: #f44336;--mdc-slider-with-tick-marks-active-container-color: #fff;--mdc-slider-with-tick-marks-inactive-container-color: #f44336;--mat-mdc-slider-ripple-color: #f44336;--mat-mdc-slider-hover-ripple-color: rgba(244, 67, 54, .05);--mat-mdc-slider-focus-ripple-color: rgba(244, 67, 54, .2)}.mat-mdc-slider[_ngcontent-%COMP%]{--mdc-slider-label-label-text-font: Inter;--mdc-slider-label-label-text-size: 13px;--mdc-slider-label-label-text-line-height: 19px;--mdc-slider-label-label-text-tracking: normal;--mdc-slider-label-label-text-weight: 500}html[_ngcontent-%COMP%]{--mat-menu-item-label-text-color: rgba(0, 0, 0, .87);--mat-menu-item-icon-color: rgba(0, 0, 0, .87);--mat-menu-item-hover-state-layer-color: rgba(0, 0, 0, .04);--mat-menu-item-focus-state-layer-color: rgba(0, 0, 0, .04);--mat-menu-container-color: white}html[_ngcontent-%COMP%]{--mat-menu-item-label-text-font: Inter;--mat-menu-item-label-text-size: 13px;--mat-menu-item-label-text-tracking: normal;--mat-menu-item-label-text-line-height: 19px;--mat-menu-item-label-text-weight: 400}.mat-mdc-list-base[_ngcontent-%COMP%]{--mdc-list-list-item-label-text-color: rgba(0, 0, 0, .87);--mdc-list-list-item-supporting-text-color: rgba(0, 0, 0, .54);--mdc-list-list-item-leading-icon-color: rgba(0, 0, 0, .38);--mdc-list-list-item-trailing-supporting-text-color: rgba(0, 0, 0, .38);--mdc-list-list-item-trailing-icon-color: rgba(0, 0, 0, .38);--mdc-list-list-item-selected-trailing-icon-color: rgba(0, 0, 0, .38);--mdc-list-list-item-disabled-label-text-color: black;--mdc-list-list-item-disabled-leading-icon-color: black;--mdc-list-list-item-disabled-trailing-icon-color: black;--mdc-list-list-item-hover-label-text-color: rgba(0, 0, 0, .87);--mdc-list-list-item-hover-leading-icon-color: rgba(0, 0, 0, .38);--mdc-list-list-item-hover-trailing-icon-color: rgba(0, 0, 0, .38);--mdc-list-list-item-focus-label-text-color: rgba(0, 0, 0, .87);--mdc-list-list-item-hover-state-layer-color: black;--mdc-list-list-item-hover-state-layer-opacity: .04;--mdc-list-list-item-focus-state-layer-color: black;--mdc-list-list-item-focus-state-layer-opacity: .12}.mdc-list-item__start[_ngcontent-%COMP%], .mdc-list-item__end[_ngcontent-%COMP%]{--mdc-radio-disabled-selected-icon-color: #000;--mdc-radio-disabled-unselected-icon-color: #000;--mdc-radio-unselected-hover-icon-color: #212121;--mdc-radio-unselected-icon-color: rgba(0, 0, 0, .54);--mdc-radio-unselected-pressed-icon-color: rgba(0, 0, 0, .54);--mdc-radio-selected-focus-icon-color: #0f0761;--mdc-radio-selected-hover-icon-color: #0f0761;--mdc-radio-selected-icon-color: #0f0761;--mdc-radio-selected-pressed-icon-color: #0f0761}.mat-accent[_ngcontent-%COMP%] .mdc-list-item__start[_ngcontent-%COMP%], .mat-accent[_ngcontent-%COMP%] .mdc-list-item__end[_ngcontent-%COMP%]{--mdc-radio-disabled-selected-icon-color: #000;--mdc-radio-disabled-unselected-icon-color: #000;--mdc-radio-unselected-hover-icon-color: #212121;--mdc-radio-unselected-icon-color: rgba(0, 0, 0, .54);--mdc-radio-unselected-pressed-icon-color: rgba(0, 0, 0, .54);--mdc-radio-selected-focus-icon-color: #dd7345;--mdc-radio-selected-hover-icon-color: #dd7345;--mdc-radio-selected-icon-color: #dd7345;--mdc-radio-selected-pressed-icon-color: #dd7345}.mat-warn[_ngcontent-%COMP%] .mdc-list-item__start[_ngcontent-%COMP%], .mat-warn[_ngcontent-%COMP%] .mdc-list-item__end[_ngcontent-%COMP%]{--mdc-radio-disabled-selected-icon-color: #000;--mdc-radio-disabled-unselected-icon-color: #000;--mdc-radio-unselected-hover-icon-color: #212121;--mdc-radio-unselected-icon-color: rgba(0, 0, 0, .54);--mdc-radio-unselected-pressed-icon-color: rgba(0, 0, 0, .54);--mdc-radio-selected-focus-icon-color: #f44336;--mdc-radio-selected-hover-icon-color: #f44336;--mdc-radio-selected-icon-color: #f44336;--mdc-radio-selected-pressed-icon-color: #f44336}.mat-mdc-list-option[_ngcontent-%COMP%]{--mdc-checkbox-disabled-selected-icon-color: rgba(0, 0, 0, .38);--mdc-checkbox-disabled-unselected-icon-color: rgba(0, 0, 0, .38);--mdc-checkbox-selected-checkmark-color: #fff;--mdc-checkbox-selected-focus-icon-color: #0f0761;--mdc-checkbox-selected-hover-icon-color: #0f0761;--mdc-checkbox-selected-icon-color: #0f0761;--mdc-checkbox-selected-pressed-icon-color: #0f0761;--mdc-checkbox-unselected-focus-icon-color: #212121;--mdc-checkbox-unselected-hover-icon-color: #212121;--mdc-checkbox-unselected-icon-color: rgba(0, 0, 0, .54);--mdc-checkbox-unselected-pressed-icon-color: rgba(0, 0, 0, .54);--mdc-checkbox-selected-focus-state-layer-color: #0f0761;--mdc-checkbox-selected-hover-state-layer-color: #0f0761;--mdc-checkbox-selected-pressed-state-layer-color: #0f0761;--mdc-checkbox-unselected-focus-state-layer-color: black;--mdc-checkbox-unselected-hover-state-layer-color: black;--mdc-checkbox-unselected-pressed-state-layer-color: black}.mat-mdc-list-option.mat-accent[_ngcontent-%COMP%]{--mdc-checkbox-disabled-selected-icon-color: rgba(0, 0, 0, .38);--mdc-checkbox-disabled-unselected-icon-color: rgba(0, 0, 0, .38);--mdc-checkbox-selected-checkmark-color: #fff;--mdc-checkbox-selected-focus-icon-color: #dd7345;--mdc-checkbox-selected-hover-icon-color: #dd7345;--mdc-checkbox-selected-icon-color: #dd7345;--mdc-checkbox-selected-pressed-icon-color: #dd7345;--mdc-checkbox-unselected-focus-icon-color: #212121;--mdc-checkbox-unselected-hover-icon-color: #212121;--mdc-checkbox-unselected-icon-color: rgba(0, 0, 0, .54);--mdc-checkbox-unselected-pressed-icon-color: rgba(0, 0, 0, .54);--mdc-checkbox-selected-focus-state-layer-color: #dd7345;--mdc-checkbox-selected-hover-state-layer-color: #dd7345;--mdc-checkbox-selected-pressed-state-layer-color: #dd7345;--mdc-checkbox-unselected-focus-state-layer-color: black;--mdc-checkbox-unselected-hover-state-layer-color: black;--mdc-checkbox-unselected-pressed-state-layer-color: black}.mat-mdc-list-option.mat-warn[_ngcontent-%COMP%]{--mdc-checkbox-disabled-selected-icon-color: rgba(0, 0, 0, .38);--mdc-checkbox-disabled-unselected-icon-color: rgba(0, 0, 0, .38);--mdc-checkbox-selected-checkmark-color: #fff;--mdc-checkbox-selected-focus-icon-color: #f44336;--mdc-checkbox-selected-hover-icon-color: #f44336;--mdc-checkbox-selected-icon-color: #f44336;--mdc-checkbox-selected-pressed-icon-color: #f44336;--mdc-checkbox-unselected-focus-icon-color: #212121;--mdc-checkbox-unselected-hover-icon-color: #212121;--mdc-checkbox-unselected-icon-color: rgba(0, 0, 0, .54);--mdc-checkbox-unselected-pressed-icon-color: rgba(0, 0, 0, .54);--mdc-checkbox-selected-focus-state-layer-color: #f44336;--mdc-checkbox-selected-hover-state-layer-color: #f44336;--mdc-checkbox-selected-pressed-state-layer-color: #f44336;--mdc-checkbox-unselected-focus-state-layer-color: black;--mdc-checkbox-unselected-hover-state-layer-color: black;--mdc-checkbox-unselected-pressed-state-layer-color: black}.mat-mdc-list-base.mat-mdc-list-base[_ngcontent-%COMP%] .mdc-list-item--selected[_ngcontent-%COMP%] .mdc-list-item__primary-text[_ngcontent-%COMP%], .mat-mdc-list-base.mat-mdc-list-base[_ngcontent-%COMP%] .mdc-list-item--activated[_ngcontent-%COMP%] .mdc-list-item__primary-text[_ngcontent-%COMP%], .mat-mdc-list-base.mat-mdc-list-base[_ngcontent-%COMP%] .mdc-list-item--selected.mdc-list-item--with-leading-icon[_ngcontent-%COMP%] .mdc-list-item__start[_ngcontent-%COMP%], .mat-mdc-list-base.mat-mdc-list-base[_ngcontent-%COMP%] .mdc-list-item--activated.mdc-list-item--with-leading-icon[_ngcontent-%COMP%] .mdc-list-item__start[_ngcontent-%COMP%]{color:#0f0761}.mat-mdc-list-base[_ngcontent-%COMP%] .mdc-list-item--disabled[_ngcontent-%COMP%] .mdc-list-item__start[_ngcontent-%COMP%], .mat-mdc-list-base[_ngcontent-%COMP%] .mdc-list-item--disabled[_ngcontent-%COMP%] .mdc-list-item__content[_ngcontent-%COMP%], .mat-mdc-list-base[_ngcontent-%COMP%] .mdc-list-item--disabled[_ngcontent-%COMP%] .mdc-list-item__end[_ngcontent-%COMP%]{opacity:1}.mat-mdc-list-base[_ngcontent-%COMP%]{--mdc-list-list-item-one-line-container-height: 40px;--mdc-list-list-item-two-line-container-height: 56px;--mdc-list-list-item-three-line-container-height: 80px}.mat-mdc-list-item.mdc-list-item--with-leading-avatar.mdc-list-item--with-one-line[_ngcontent-%COMP%], .mat-mdc-list-item.mdc-list-item--with-leading-checkbox.mdc-list-item--with-one-line[_ngcontent-%COMP%], .mat-mdc-list-item.mdc-list-item--with-leading-icon.mdc-list-item--with-one-line[_ngcontent-%COMP%]{height:48px}.mat-mdc-list-item.mdc-list-item--with-leading-avatar.mdc-list-item--with-two-lines[_ngcontent-%COMP%], .mat-mdc-list-item.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines[_ngcontent-%COMP%], .mat-mdc-list-item.mdc-list-item--with-leading-icon.mdc-list-item--with-two-lines[_ngcontent-%COMP%]{height:64px}.mat-mdc-list-base[_ngcontent-%COMP%]{--mdc-list-list-item-label-text-font: Inter;--mdc-list-list-item-label-text-line-height: 19px;--mdc-list-list-item-label-text-size: 13px;--mdc-list-list-item-label-text-tracking: normal;--mdc-list-list-item-label-text-weight: 400;--mdc-list-list-item-supporting-text-font: Inter;--mdc-list-list-item-supporting-text-line-height: 19px;--mdc-list-list-item-supporting-text-size: 13px;--mdc-list-list-item-supporting-text-tracking: normal;--mdc-list-list-item-supporting-text-weight: 400;--mdc-list-list-item-trailing-supporting-text-font: Inter;--mdc-list-list-item-trailing-supporting-text-line-height: 16px;--mdc-list-list-item-trailing-supporting-text-size: 12px;--mdc-list-list-item-trailing-supporting-text-tracking: normal;--mdc-list-list-item-trailing-supporting-text-weight: 400}.mdc-list-group__subheader[_ngcontent-%COMP%]{font-size:16px;font-weight:600;line-height:22px;font-family:Inter;letter-spacing:normal}html[_ngcontent-%COMP%]{--mat-paginator-container-text-color: rgba(0, 0, 0, .87);--mat-paginator-container-background-color: white;--mat-paginator-enabled-icon-color: rgba(0, 0, 0, .54);--mat-paginator-disabled-icon-color: rgba(0, 0, 0, .12)}html[_ngcontent-%COMP%]{--mat-paginator-container-size: 48px}.mat-mdc-paginator[_ngcontent-%COMP%] .mat-mdc-form-field-infix[_ngcontent-%COMP%]{min-height:40px}.mat-mdc-paginator[_ngcontent-%COMP%] .mat-mdc-text-field-wrapper[_ngcontent-%COMP%] .mat-mdc-form-field-flex[_ngcontent-%COMP%] .mat-mdc-floating-label[_ngcontent-%COMP%]{top:20px}.mat-mdc-paginator[_ngcontent-%COMP%] .mat-mdc-text-field-wrapper.mdc-text-field--outlined[_ngcontent-%COMP%] .mdc-notched-outline--upgraded[_ngcontent-%COMP%] .mdc-floating-label--float-above[_ngcontent-%COMP%]{--mat-mdc-form-field-label-transform: translateY( -26.75px) scale(var(--mat-mdc-form-field-floating-label-scale, .75));transform:var(--mat-mdc-form-field-label-transform)}.mat-mdc-paginator[_ngcontent-%COMP%] .mat-mdc-text-field-wrapper.mdc-text-field--outlined[_ngcontent-%COMP%] .mat-mdc-form-field-infix[_ngcontent-%COMP%]{padding-top:8px;padding-bottom:8px}.mat-mdc-paginator[_ngcontent-%COMP%] .mat-mdc-text-field-wrapper[_ngcontent-%COMP%]:not(.mdc-text-field--outlined) .mat-mdc-form-field-infix[_ngcontent-%COMP%]{padding-top:8px;padding-bottom:8px}.mat-mdc-paginator[_ngcontent-%COMP%] .mdc-text-field--no-label[_ngcontent-%COMP%]:not(.mdc-text-field--outlined):not(.mdc-text-field--textarea) .mat-mdc-form-field-infix[_ngcontent-%COMP%]{padding-top:8px;padding-bottom:8px}.mat-mdc-paginator[_ngcontent-%COMP%] .mat-mdc-text-field-wrapper[_ngcontent-%COMP%]:not(.mdc-text-field--outlined) .mat-mdc-floating-label[_ngcontent-%COMP%]{display:none}html[_ngcontent-%COMP%]{--mat-paginator-container-text-font: Inter;--mat-paginator-container-text-line-height: 16px;--mat-paginator-container-text-size: 12px;--mat-paginator-container-text-tracking: normal;--mat-paginator-container-text-weight: 400;--mat-paginator-select-trigger-text-size: 12px}.mat-mdc-tab-group[_ngcontent-%COMP%], .mat-mdc-tab-nav-bar[_ngcontent-%COMP%]{--mdc-tab-indicator-active-indicator-color: #0f0761;--mat-tab-header-disabled-ripple-color: rgba(0, 0, 0, .38);--mat-tab-header-pagination-icon-color: #000;--mat-tab-header-inactive-label-text-color: rgba(0, 0, 0, .6);--mat-tab-header-active-label-text-color: #0f0761;--mat-tab-header-active-ripple-color: #0f0761;--mat-tab-header-inactive-ripple-color: #0f0761;--mat-tab-header-inactive-focus-label-text-color: rgba(0, 0, 0, .6);--mat-tab-header-inactive-hover-label-text-color: rgba(0, 0, 0, .6);--mat-tab-header-active-focus-label-text-color: #0f0761;--mat-tab-header-active-hover-label-text-color: #0f0761;--mat-tab-header-active-focus-indicator-color: #0f0761;--mat-tab-header-active-hover-indicator-color: #0f0761}.mat-mdc-tab-group.mat-accent[_ngcontent-%COMP%], .mat-mdc-tab-nav-bar.mat-accent[_ngcontent-%COMP%]{--mdc-tab-indicator-active-indicator-color: #dd7345;--mat-tab-header-disabled-ripple-color: rgba(0, 0, 0, .38);--mat-tab-header-pagination-icon-color: #000;--mat-tab-header-inactive-label-text-color: rgba(0, 0, 0, .6);--mat-tab-header-active-label-text-color: #dd7345;--mat-tab-header-active-ripple-color: #dd7345;--mat-tab-header-inactive-ripple-color: #dd7345;--mat-tab-header-inactive-focus-label-text-color: rgba(0, 0, 0, .6);--mat-tab-header-inactive-hover-label-text-color: rgba(0, 0, 0, .6);--mat-tab-header-active-focus-label-text-color: #dd7345;--mat-tab-header-active-hover-label-text-color: #dd7345;--mat-tab-header-active-focus-indicator-color: #dd7345;--mat-tab-header-active-hover-indicator-color: #dd7345}.mat-mdc-tab-group.mat-warn[_ngcontent-%COMP%], .mat-mdc-tab-nav-bar.mat-warn[_ngcontent-%COMP%]{--mdc-tab-indicator-active-indicator-color: #f44336;--mat-tab-header-disabled-ripple-color: rgba(0, 0, 0, .38);--mat-tab-header-pagination-icon-color: #000;--mat-tab-header-inactive-label-text-color: rgba(0, 0, 0, .6);--mat-tab-header-active-label-text-color: #f44336;--mat-tab-header-active-ripple-color: #f44336;--mat-tab-header-inactive-ripple-color: #f44336;--mat-tab-header-inactive-focus-label-text-color: rgba(0, 0, 0, .6);--mat-tab-header-inactive-hover-label-text-color: rgba(0, 0, 0, .6);--mat-tab-header-active-focus-label-text-color: #f44336;--mat-tab-header-active-hover-label-text-color: #f44336;--mat-tab-header-active-focus-indicator-color: #f44336;--mat-tab-header-active-hover-indicator-color: #f44336}.mat-mdc-tab-group.mat-background-primary[_ngcontent-%COMP%], .mat-mdc-tab-nav-bar.mat-background-primary[_ngcontent-%COMP%]{--mat-tab-header-with-background-background-color: #0f0761;--mat-tab-header-with-background-foreground-color: white}.mat-mdc-tab-group.mat-background-accent[_ngcontent-%COMP%], .mat-mdc-tab-nav-bar.mat-background-accent[_ngcontent-%COMP%]{--mat-tab-header-with-background-background-color: #dd7345;--mat-tab-header-with-background-foreground-color: white}.mat-mdc-tab-group.mat-background-warn[_ngcontent-%COMP%], .mat-mdc-tab-nav-bar.mat-background-warn[_ngcontent-%COMP%]{--mat-tab-header-with-background-background-color: #f44336;--mat-tab-header-with-background-foreground-color: white}.mat-mdc-tab-header[_ngcontent-%COMP%]{--mdc-secondary-navigation-tab-container-height: 40px}.mat-mdc-tab-header[_ngcontent-%COMP%]{--mat-tab-header-label-text-font: Inter;--mat-tab-header-label-text-size: 13px;--mat-tab-header-label-text-tracking: normal;--mat-tab-header-label-text-line-height: 19px;--mat-tab-header-label-text-weight: 500}html[_ngcontent-%COMP%]{--mdc-checkbox-disabled-selected-icon-color: rgba(0, 0, 0, .38);--mdc-checkbox-disabled-unselected-icon-color: rgba(0, 0, 0, .38);--mdc-checkbox-selected-checkmark-color: #fff;--mdc-checkbox-selected-focus-icon-color: #dd7345;--mdc-checkbox-selected-hover-icon-color: #dd7345;--mdc-checkbox-selected-icon-color: #dd7345;--mdc-checkbox-selected-pressed-icon-color: #dd7345;--mdc-checkbox-unselected-focus-icon-color: #212121;--mdc-checkbox-unselected-hover-icon-color: #212121;--mdc-checkbox-unselected-icon-color: rgba(0, 0, 0, .54);--mdc-checkbox-unselected-pressed-icon-color: rgba(0, 0, 0, .54);--mdc-checkbox-selected-focus-state-layer-color: #dd7345;--mdc-checkbox-selected-hover-state-layer-color: #dd7345;--mdc-checkbox-selected-pressed-state-layer-color: #dd7345;--mdc-checkbox-unselected-focus-state-layer-color: black;--mdc-checkbox-unselected-hover-state-layer-color: black;--mdc-checkbox-unselected-pressed-state-layer-color: black}.mat-mdc-checkbox.mat-primary[_ngcontent-%COMP%]{--mdc-checkbox-disabled-selected-icon-color: rgba(0, 0, 0, .38);--mdc-checkbox-disabled-unselected-icon-color: rgba(0, 0, 0, .38);--mdc-checkbox-selected-checkmark-color: #fff;--mdc-checkbox-selected-focus-icon-color: #0f0761;--mdc-checkbox-selected-hover-icon-color: #0f0761;--mdc-checkbox-selected-icon-color: #0f0761;--mdc-checkbox-selected-pressed-icon-color: #0f0761;--mdc-checkbox-unselected-focus-icon-color: #212121;--mdc-checkbox-unselected-hover-icon-color: #212121;--mdc-checkbox-unselected-icon-color: rgba(0, 0, 0, .54);--mdc-checkbox-unselected-pressed-icon-color: rgba(0, 0, 0, .54);--mdc-checkbox-selected-focus-state-layer-color: #0f0761;--mdc-checkbox-selected-hover-state-layer-color: #0f0761;--mdc-checkbox-selected-pressed-state-layer-color: #0f0761;--mdc-checkbox-unselected-focus-state-layer-color: black;--mdc-checkbox-unselected-hover-state-layer-color: black;--mdc-checkbox-unselected-pressed-state-layer-color: black}.mat-mdc-checkbox.mat-warn[_ngcontent-%COMP%]{--mdc-checkbox-disabled-selected-icon-color: rgba(0, 0, 0, .38);--mdc-checkbox-disabled-unselected-icon-color: rgba(0, 0, 0, .38);--mdc-checkbox-selected-checkmark-color: #fff;--mdc-checkbox-selected-focus-icon-color: #f44336;--mdc-checkbox-selected-hover-icon-color: #f44336;--mdc-checkbox-selected-icon-color: #f44336;--mdc-checkbox-selected-pressed-icon-color: #f44336;--mdc-checkbox-unselected-focus-icon-color: #212121;--mdc-checkbox-unselected-hover-icon-color: #212121;--mdc-checkbox-unselected-icon-color: rgba(0, 0, 0, .54);--mdc-checkbox-unselected-pressed-icon-color: rgba(0, 0, 0, .54);--mdc-checkbox-selected-focus-state-layer-color: #f44336;--mdc-checkbox-selected-hover-state-layer-color: #f44336;--mdc-checkbox-selected-pressed-state-layer-color: #f44336;--mdc-checkbox-unselected-focus-state-layer-color: black;--mdc-checkbox-unselected-hover-state-layer-color: black;--mdc-checkbox-unselected-pressed-state-layer-color: black}.mat-mdc-checkbox[_ngcontent-%COMP%] .mdc-form-field[_ngcontent-%COMP%]{color:var(--mdc-theme-text-primary-on-background, rgba(0, 0, 0, .87))}.mat-mdc-checkbox.mat-mdc-checkbox-disabled[_ngcontent-%COMP%] label[_ngcontent-%COMP%]{color:#00000061}html[_ngcontent-%COMP%]{--mdc-checkbox-state-layer-size: 32px}.mat-mdc-checkbox-touch-target[_ngcontent-%COMP%]{display:none}.mat-mdc-checkbox[_ngcontent-%COMP%] .mdc-form-field[_ngcontent-%COMP%]{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--mdc-typography-body2-font-family, var(--mdc-typography-font-family, Inter));font-size:var(--mdc-typography-body2-font-size, 13px);line-height:var(--mdc-typography-body2-line-height, 19px);font-weight:var(--mdc-typography-body2-font-weight, 400);letter-spacing:var(--mdc-typography-body2-letter-spacing, normal);-webkit-text-decoration:var(--mdc-typography-body2-text-decoration, inherit);text-decoration:var(--mdc-typography-body2-text-decoration, inherit);text-transform:var(--mdc-typography-body2-text-transform, none)}.mat-mdc-button.mat-unthemed[_ngcontent-%COMP%]{--mdc-text-button-label-text-color: #000}.mat-mdc-button.mat-primary[_ngcontent-%COMP%]{--mdc-text-button-label-text-color: #0f0761}.mat-mdc-button.mat-accent[_ngcontent-%COMP%]{--mdc-text-button-label-text-color: #dd7345}.mat-mdc-button.mat-warn[_ngcontent-%COMP%]{--mdc-text-button-label-text-color: #f44336}.mat-mdc-button[disabled][disabled][_ngcontent-%COMP%]{--mdc-text-button-disabled-label-text-color: rgba(0, 0, 0, .38);--mdc-text-button-label-text-color: rgba(0, 0, 0, .38)}.mat-mdc-unelevated-button.mat-unthemed[_ngcontent-%COMP%]{--mdc-filled-button-container-color: #fff;--mdc-filled-button-label-text-color: #000}.mat-mdc-unelevated-button.mat-primary[_ngcontent-%COMP%]{--mdc-filled-button-container-color: #0f0761;--mdc-filled-button-label-text-color: #fff}.mat-mdc-unelevated-button.mat-accent[_ngcontent-%COMP%]{--mdc-filled-button-container-color: #dd7345;--mdc-filled-button-label-text-color: #fff}.mat-mdc-unelevated-button.mat-warn[_ngcontent-%COMP%]{--mdc-filled-button-container-color: #f44336;--mdc-filled-button-label-text-color: #fff}.mat-mdc-unelevated-button[disabled][disabled][_ngcontent-%COMP%]{--mdc-filled-button-disabled-container-color: rgba(0, 0, 0, .12);--mdc-filled-button-disabled-label-text-color: rgba(0, 0, 0, .38);--mdc-filled-button-container-color: rgba(0, 0, 0, .12);--mdc-filled-button-label-text-color: rgba(0, 0, 0, .38)}.mat-mdc-raised-button.mat-unthemed[_ngcontent-%COMP%]{--mdc-protected-button-container-color: #fff;--mdc-protected-button-label-text-color: #000}.mat-mdc-raised-button.mat-primary[_ngcontent-%COMP%]{--mdc-protected-button-container-color: #0f0761;--mdc-protected-button-label-text-color: #fff}.mat-mdc-raised-button.mat-accent[_ngcontent-%COMP%]{--mdc-protected-button-container-color: #dd7345;--mdc-protected-button-label-text-color: #fff}.mat-mdc-raised-button.mat-warn[_ngcontent-%COMP%]{--mdc-protected-button-container-color: #f44336;--mdc-protected-button-label-text-color: #fff}.mat-mdc-raised-button[disabled][disabled][_ngcontent-%COMP%]{--mdc-protected-button-disabled-container-color: rgba(0, 0, 0, .12);--mdc-protected-button-disabled-label-text-color: rgba(0, 0, 0, .38);--mdc-protected-button-container-color: rgba(0, 0, 0, .12);--mdc-protected-button-label-text-color: rgba(0, 0, 0, .38);--mdc-protected-button-container-elevation: 0}.mat-mdc-outlined-button[_ngcontent-%COMP%]{--mdc-outlined-button-outline-color: rgba(0, 0, 0, .12)}.mat-mdc-outlined-button.mat-unthemed[_ngcontent-%COMP%]{--mdc-outlined-button-label-text-color: #000}.mat-mdc-outlined-button.mat-primary[_ngcontent-%COMP%]{--mdc-outlined-button-label-text-color: #0f0761}.mat-mdc-outlined-button.mat-accent[_ngcontent-%COMP%]{--mdc-outlined-button-label-text-color: #dd7345}.mat-mdc-outlined-button.mat-warn[_ngcontent-%COMP%]{--mdc-outlined-button-label-text-color: #f44336}.mat-mdc-outlined-button[disabled][disabled][_ngcontent-%COMP%]{--mdc-outlined-button-label-text-color: rgba(0, 0, 0, .38);--mdc-outlined-button-disabled-label-text-color: rgba(0, 0, 0, .38);--mdc-outlined-button-outline-color: rgba(0, 0, 0, .12);--mdc-outlined-button-disabled-outline-color: rgba(0, 0, 0, .12)}.mat-mdc-button[_ngcontent-%COMP%], .mat-mdc-outlined-button[_ngcontent-%COMP%]{--mat-mdc-button-persistent-ripple-color: #000;--mat-mdc-button-ripple-color: rgba(0, 0, 0, .1)}.mat-mdc-button[_ngcontent-%COMP%]:hover .mat-mdc-button-persistent-ripple[_ngcontent-%COMP%]:before, .mat-mdc-outlined-button[_ngcontent-%COMP%]:hover .mat-mdc-button-persistent-ripple[_ngcontent-%COMP%]:before{opacity:.04}.mat-mdc-button.cdk-program-focused[_ngcontent-%COMP%] .mat-mdc-button-persistent-ripple[_ngcontent-%COMP%]:before, .mat-mdc-button.cdk-keyboard-focused[_ngcontent-%COMP%] .mat-mdc-button-persistent-ripple[_ngcontent-%COMP%]:before, .mat-mdc-outlined-button.cdk-program-focused[_ngcontent-%COMP%] .mat-mdc-button-persistent-ripple[_ngcontent-%COMP%]:before, .mat-mdc-outlined-button.cdk-keyboard-focused[_ngcontent-%COMP%] .mat-mdc-button-persistent-ripple[_ngcontent-%COMP%]:before{opacity:.12}.mat-mdc-button[_ngcontent-%COMP%]:active .mat-mdc-button-persistent-ripple[_ngcontent-%COMP%]:before, .mat-mdc-outlined-button[_ngcontent-%COMP%]:active .mat-mdc-button-persistent-ripple[_ngcontent-%COMP%]:before{opacity:.12}.mat-mdc-button.mat-primary[_ngcontent-%COMP%], .mat-mdc-outlined-button.mat-primary[_ngcontent-%COMP%]{--mat-mdc-button-persistent-ripple-color: #0f0761;--mat-mdc-button-ripple-color: rgba(15, 7, 97, .1)}.mat-mdc-button.mat-accent[_ngcontent-%COMP%], .mat-mdc-outlined-button.mat-accent[_ngcontent-%COMP%]{--mat-mdc-button-persistent-ripple-color: #dd7345;--mat-mdc-button-ripple-color: rgba(221, 115, 69, .1)}.mat-mdc-button.mat-warn[_ngcontent-%COMP%], .mat-mdc-outlined-button.mat-warn[_ngcontent-%COMP%]{--mat-mdc-button-persistent-ripple-color: #f44336;--mat-mdc-button-ripple-color: rgba(244, 67, 54, .1)}.mat-mdc-raised-button[_ngcontent-%COMP%], .mat-mdc-unelevated-button[_ngcontent-%COMP%]{--mat-mdc-button-persistent-ripple-color: #000;--mat-mdc-button-ripple-color: rgba(0, 0, 0, .1)}.mat-mdc-raised-button[_ngcontent-%COMP%]:hover .mat-mdc-button-persistent-ripple[_ngcontent-%COMP%]:before, .mat-mdc-unelevated-button[_ngcontent-%COMP%]:hover .mat-mdc-button-persistent-ripple[_ngcontent-%COMP%]:before{opacity:.04}.mat-mdc-raised-button.cdk-program-focused[_ngcontent-%COMP%] .mat-mdc-button-persistent-ripple[_ngcontent-%COMP%]:before, .mat-mdc-raised-button.cdk-keyboard-focused[_ngcontent-%COMP%] .mat-mdc-button-persistent-ripple[_ngcontent-%COMP%]:before, .mat-mdc-unelevated-button.cdk-program-focused[_ngcontent-%COMP%] .mat-mdc-button-persistent-ripple[_ngcontent-%COMP%]:before, .mat-mdc-unelevated-button.cdk-keyboard-focused[_ngcontent-%COMP%] .mat-mdc-button-persistent-ripple[_ngcontent-%COMP%]:before{opacity:.12}.mat-mdc-raised-button[_ngcontent-%COMP%]:active .mat-mdc-button-persistent-ripple[_ngcontent-%COMP%]:before, .mat-mdc-unelevated-button[_ngcontent-%COMP%]:active .mat-mdc-button-persistent-ripple[_ngcontent-%COMP%]:before{opacity:.12}.mat-mdc-raised-button.mat-primary[_ngcontent-%COMP%], .mat-mdc-unelevated-button.mat-primary[_ngcontent-%COMP%], .mat-mdc-raised-button.mat-accent[_ngcontent-%COMP%], .mat-mdc-unelevated-button.mat-accent[_ngcontent-%COMP%], .mat-mdc-raised-button.mat-warn[_ngcontent-%COMP%], .mat-mdc-unelevated-button.mat-warn[_ngcontent-%COMP%]{--mat-mdc-button-persistent-ripple-color: #fff;--mat-mdc-button-ripple-color: rgba(255, 255, 255, .1)}.mat-mdc-button.mat-mdc-button-base[_ngcontent-%COMP%], .mat-mdc-raised-button.mat-mdc-button-base[_ngcontent-%COMP%], .mat-mdc-unelevated-button.mat-mdc-button-base[_ngcontent-%COMP%], .mat-mdc-outlined-button.mat-mdc-button-base[_ngcontent-%COMP%]{height:28px;margin-top:0;margin-bottom:0}.mat-mdc-button.mat-mdc-button-base[_ngcontent-%COMP%] .mdc-button__touch[_ngcontent-%COMP%], .mat-mdc-raised-button.mat-mdc-button-base[_ngcontent-%COMP%] .mdc-button__touch[_ngcontent-%COMP%], .mat-mdc-unelevated-button.mat-mdc-button-base[_ngcontent-%COMP%] .mdc-button__touch[_ngcontent-%COMP%], .mat-mdc-outlined-button.mat-mdc-button-base[_ngcontent-%COMP%] .mdc-button__touch[_ngcontent-%COMP%]{height:100%}.mat-mdc-button.mat-mdc-button-base[_ngcontent-%COMP%] .mat-mdc-button-touch-target[_ngcontent-%COMP%], .mat-mdc-raised-button.mat-mdc-button-base[_ngcontent-%COMP%] .mat-mdc-button-touch-target[_ngcontent-%COMP%], .mat-mdc-unelevated-button.mat-mdc-button-base[_ngcontent-%COMP%] .mat-mdc-button-touch-target[_ngcontent-%COMP%], .mat-mdc-outlined-button.mat-mdc-button-base[_ngcontent-%COMP%] .mat-mdc-button-touch-target[_ngcontent-%COMP%]{display:none}.mdc-button[_ngcontent-%COMP%]{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--mdc-typography-button-font-family, var(--mdc-typography-font-family, Inter));font-size:var(--mdc-typography-button-font-size, 13px);line-height:var(--mdc-typography-button-line-height, 19px);font-weight:var(--mdc-typography-button-font-weight, 500);letter-spacing:var(--mdc-typography-button-letter-spacing, normal);-webkit-text-decoration:var(--mdc-typography-button-text-decoration, none);text-decoration:var(--mdc-typography-button-text-decoration, none);text-transform:var(--mdc-typography-button-text-transform, none)}.mat-mdc-icon-button[_ngcontent-%COMP%]{--mdc-icon-button-icon-color: inherit;--mat-mdc-button-persistent-ripple-color: #000;--mat-mdc-button-ripple-color: rgba(0, 0, 0, .1)}.mat-mdc-icon-button[_ngcontent-%COMP%]:hover .mat-mdc-button-persistent-ripple[_ngcontent-%COMP%]:before{opacity:.04}.mat-mdc-icon-button.cdk-program-focused[_ngcontent-%COMP%] .mat-mdc-button-persistent-ripple[_ngcontent-%COMP%]:before, .mat-mdc-icon-button.cdk-keyboard-focused[_ngcontent-%COMP%] .mat-mdc-button-persistent-ripple[_ngcontent-%COMP%]:before{opacity:.12}.mat-mdc-icon-button[_ngcontent-%COMP%]:active .mat-mdc-button-persistent-ripple[_ngcontent-%COMP%]:before{opacity:.12}.mat-mdc-icon-button.mat-primary[_ngcontent-%COMP%]{--mat-mdc-button-persistent-ripple-color: #6200ee;--mat-mdc-button-ripple-color: rgba(98, 0, 238, .1)}.mat-mdc-icon-button.mat-accent[_ngcontent-%COMP%]{--mat-mdc-button-persistent-ripple-color: #018786;--mat-mdc-button-ripple-color: rgba(1, 135, 134, .1)}.mat-mdc-icon-button.mat-warn[_ngcontent-%COMP%]{--mat-mdc-button-persistent-ripple-color: #b00020;--mat-mdc-button-ripple-color: rgba(176, 0, 32, .1)}.mat-mdc-icon-button.mat-primary[_ngcontent-%COMP%]{--mdc-icon-button-icon-color: #0f0761;--mat-mdc-button-persistent-ripple-color: #0f0761;--mat-mdc-button-ripple-color: rgba(15, 7, 97, .1)}.mat-mdc-icon-button.mat-accent[_ngcontent-%COMP%]{--mdc-icon-button-icon-color: #dd7345;--mat-mdc-button-persistent-ripple-color: #dd7345;--mat-mdc-button-ripple-color: rgba(221, 115, 69, .1)}.mat-mdc-icon-button.mat-warn[_ngcontent-%COMP%]{--mdc-icon-button-icon-color: #f44336;--mat-mdc-button-persistent-ripple-color: #f44336;--mat-mdc-button-ripple-color: rgba(244, 67, 54, .1)}.mat-mdc-icon-button[disabled][disabled][_ngcontent-%COMP%]{--mdc-icon-button-icon-color: rgba(0, 0, 0, .38);--mdc-icon-button-disabled-icon-color: rgba(0, 0, 0, .38)}.mat-mdc-icon-button.mat-mdc-button-base[_ngcontent-%COMP%]{--mdc-icon-button-state-layer-size: 40px;width:var(--mdc-icon-button-state-layer-size);height:var(--mdc-icon-button-state-layer-size);padding:8px}.mat-mdc-icon-button.mat-mdc-button-base[_ngcontent-%COMP%] .mat-mdc-button-touch-target[_ngcontent-%COMP%]{display:none}.mat-mdc-fab[_ngcontent-%COMP%], .mat-mdc-mini-fab[_ngcontent-%COMP%]{--mat-mdc-button-persistent-ripple-color: #000;--mat-mdc-button-ripple-color: rgba(0, 0, 0, .1)}.mat-mdc-fab[_ngcontent-%COMP%]:hover .mat-mdc-button-persistent-ripple[_ngcontent-%COMP%]:before, .mat-mdc-mini-fab[_ngcontent-%COMP%]:hover .mat-mdc-button-persistent-ripple[_ngcontent-%COMP%]:before{opacity:.04}.mat-mdc-fab.cdk-program-focused[_ngcontent-%COMP%] .mat-mdc-button-persistent-ripple[_ngcontent-%COMP%]:before, .mat-mdc-fab.cdk-keyboard-focused[_ngcontent-%COMP%] .mat-mdc-button-persistent-ripple[_ngcontent-%COMP%]:before, .mat-mdc-mini-fab.cdk-program-focused[_ngcontent-%COMP%] .mat-mdc-button-persistent-ripple[_ngcontent-%COMP%]:before, .mat-mdc-mini-fab.cdk-keyboard-focused[_ngcontent-%COMP%] .mat-mdc-button-persistent-ripple[_ngcontent-%COMP%]:before{opacity:.12}.mat-mdc-fab[_ngcontent-%COMP%]:active .mat-mdc-button-persistent-ripple[_ngcontent-%COMP%]:before, .mat-mdc-mini-fab[_ngcontent-%COMP%]:active .mat-mdc-button-persistent-ripple[_ngcontent-%COMP%]:before{opacity:.12}.mat-mdc-fab.mat-primary[_ngcontent-%COMP%], .mat-mdc-mini-fab.mat-primary[_ngcontent-%COMP%], .mat-mdc-fab.mat-accent[_ngcontent-%COMP%], .mat-mdc-mini-fab.mat-accent[_ngcontent-%COMP%], .mat-mdc-fab.mat-warn[_ngcontent-%COMP%], .mat-mdc-mini-fab.mat-warn[_ngcontent-%COMP%]{--mat-mdc-button-persistent-ripple-color: #fff;--mat-mdc-button-ripple-color: rgba(255, 255, 255, .1)}.mat-mdc-fab[disabled][disabled][_ngcontent-%COMP%], .mat-mdc-mini-fab[disabled][disabled][_ngcontent-%COMP%]{--mdc-fab-container-color: rgba(0, 0, 0, .12);--mdc-fab-icon-color: rgba(0, 0, 0, .38);--mat-mdc-fab-color: rgba(0, 0, 0, .38)}.mat-mdc-fab.mat-unthemed[_ngcontent-%COMP%], .mat-mdc-mini-fab.mat-unthemed[_ngcontent-%COMP%]{--mdc-fab-container-color: white;--mdc-fab-icon-color: black;--mat-mdc-fab-color: #000}.mat-mdc-fab.mat-primary[_ngcontent-%COMP%], .mat-mdc-mini-fab.mat-primary[_ngcontent-%COMP%]{--mdc-fab-container-color: #0f0761;--mdc-fab-icon-color: white;--mat-mdc-fab-color: #fff}.mat-mdc-fab.mat-accent[_ngcontent-%COMP%], .mat-mdc-mini-fab.mat-accent[_ngcontent-%COMP%]{--mdc-fab-container-color: #dd7345;--mdc-fab-icon-color: white;--mat-mdc-fab-color: #fff}.mat-mdc-fab.mat-warn[_ngcontent-%COMP%], .mat-mdc-mini-fab.mat-warn[_ngcontent-%COMP%]{--mdc-fab-container-color: #f44336;--mdc-fab-icon-color: white;--mat-mdc-fab-color: #fff}.mdc-fab--extended[_ngcontent-%COMP%]{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--mdc-typography-button-font-family, var(--mdc-typography-font-family, Inter));font-size:var(--mdc-typography-button-font-size, 13px);line-height:var(--mdc-typography-button-line-height, 19px);font-weight:var(--mdc-typography-button-font-weight, 500);letter-spacing:var(--mdc-typography-button-letter-spacing, normal);-webkit-text-decoration:var(--mdc-typography-button-text-decoration, none);text-decoration:var(--mdc-typography-button-text-decoration, none);text-transform:var(--mdc-typography-button-text-transform, none)}.mat-mdc-extended-fab[_ngcontent-%COMP%]{--mdc-extended-fab-label-text-font: Inter;--mdc-extended-fab-label-text-size: 13px;--mdc-extended-fab-label-text-tracking: normal;--mdc-extended-fab-label-text-weight: 500}.mat-mdc-snack-bar-container[_ngcontent-%COMP%]{--mdc-snackbar-container-color: #333333;--mdc-snackbar-supporting-text-color: rgba(255, 255, 255, .87);--mat-snack-bar-button-color: #dd7345}.mat-mdc-snack-bar-container[_ngcontent-%COMP%]{--mdc-snackbar-supporting-text-font: Inter;--mdc-snackbar-supporting-text-line-height: 19px;--mdc-snackbar-supporting-text-size: 13px;--mdc-snackbar-supporting-text-weight: 400}html[_ngcontent-%COMP%]{--mat-table-background-color: white;--mat-table-header-headline-color: rgba(0, 0, 0, .87);--mat-table-row-item-label-text-color: rgba(0, 0, 0, .87);--mat-table-row-item-outline-color: rgba(0, 0, 0, .12)}html[_ngcontent-%COMP%]{--mat-table-header-container-height: 48px;--mat-table-footer-container-height: 44px;--mat-table-row-item-container-height: 44px}html[_ngcontent-%COMP%]{--mat-table-header-headline-font: Inter;--mat-table-header-headline-line-height: 19px;--mat-table-header-headline-size: 13px;--mat-table-header-headline-weight: 500;--mat-table-header-headline-tracking: normal;--mat-table-row-item-label-text-font: Inter;--mat-table-row-item-label-text-line-height: 19px;--mat-table-row-item-label-text-size: 13px;--mat-table-row-item-label-text-weight: 400;--mat-table-row-item-label-text-tracking: normal;--mat-table-footer-supporting-text-font: Inter;--mat-table-footer-supporting-text-line-height: 19px;--mat-table-footer-supporting-text-size: 13px;--mat-table-footer-supporting-text-weight: 400;--mat-table-footer-supporting-text-tracking: normal}.mat-mdc-progress-spinner[_ngcontent-%COMP%]{--mdc-circular-progress-active-indicator-color: #0f0761}.mat-mdc-progress-spinner.mat-accent[_ngcontent-%COMP%]{--mdc-circular-progress-active-indicator-color: #dd7345}.mat-mdc-progress-spinner.mat-warn[_ngcontent-%COMP%]{--mdc-circular-progress-active-indicator-color: #f44336}.mat-badge[_ngcontent-%COMP%]{position:relative}.mat-badge.mat-badge[_ngcontent-%COMP%]{overflow:visible}.mat-badge-content[_ngcontent-%COMP%]{position:absolute;text-align:center;display:inline-block;border-radius:50%;transition:transform .2s ease-in-out;transform:scale(.6);overflow:hidden;white-space:nowrap;text-overflow:ellipsis;pointer-events:none;background-color:var(--mat-badge-background-color);color:var(--mat-badge-text-color);font-family:Roboto,sans-serif;font-family:var(--mat-badge-text-font, Roboto, sans-serif);font-size:12px;font-size:var(--mat-badge-text-size, 12px);font-weight:600;font-weight:var(--mat-badge-text-weight, 600)}.cdk-high-contrast-active[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{outline:solid 1px;border-radius:0}.mat-badge-disabled[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{background-color:var(--mat-badge-disabled-state-background-color);color:var(--mat-badge-disabled-state-text-color)}.mat-badge-hidden[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{display:none}.ng-animate-disabled[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%], .mat-badge-content._mat-animation-noopable[_ngcontent-%COMP%]{transition:none}.mat-badge-content.mat-badge-active[_ngcontent-%COMP%]{transform:none}.mat-badge-small[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{width:16px;height:16px;line-height:16px;font-size:9px;font-size:var(--mat-badge-small-size-text-size, 9px)}.mat-badge-small.mat-badge-above[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{top:-8px}.mat-badge-small.mat-badge-below[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{bottom:-8px}.mat-badge-small.mat-badge-before[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{left:-16px}[dir=rtl][_ngcontent-%COMP%] .mat-badge-small.mat-badge-before[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{left:auto;right:-16px}.mat-badge-small.mat-badge-after[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{right:-16px}[dir=rtl][_ngcontent-%COMP%] .mat-badge-small.mat-badge-after[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{right:auto;left:-16px}.mat-badge-small.mat-badge-overlap.mat-badge-before[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{left:-8px}[dir=rtl][_ngcontent-%COMP%] .mat-badge-small.mat-badge-overlap.mat-badge-before[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{left:auto;right:-8px}.mat-badge-small.mat-badge-overlap.mat-badge-after[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{right:-8px}[dir=rtl][_ngcontent-%COMP%] .mat-badge-small.mat-badge-overlap.mat-badge-after[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{right:auto;left:-8px}.mat-badge-medium[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{width:22px;height:22px;line-height:22px}.mat-badge-medium.mat-badge-above[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{top:-11px}.mat-badge-medium.mat-badge-below[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{bottom:-11px}.mat-badge-medium.mat-badge-before[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{left:-22px}[dir=rtl][_ngcontent-%COMP%] .mat-badge-medium.mat-badge-before[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{left:auto;right:-22px}.mat-badge-medium.mat-badge-after[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{right:-22px}[dir=rtl][_ngcontent-%COMP%] .mat-badge-medium.mat-badge-after[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{right:auto;left:-22px}.mat-badge-medium.mat-badge-overlap.mat-badge-before[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{left:-11px}[dir=rtl][_ngcontent-%COMP%] .mat-badge-medium.mat-badge-overlap.mat-badge-before[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{left:auto;right:-11px}.mat-badge-medium.mat-badge-overlap.mat-badge-after[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{right:-11px}[dir=rtl][_ngcontent-%COMP%] .mat-badge-medium.mat-badge-overlap.mat-badge-after[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{right:auto;left:-11px}.mat-badge-large[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{width:28px;height:28px;line-height:28px;font-size:24px;font-size:var(--mat-badge-large-size-text-size, 24px)}.mat-badge-large.mat-badge-above[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{top:-14px}.mat-badge-large.mat-badge-below[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{bottom:-14px}.mat-badge-large.mat-badge-before[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{left:-28px}[dir=rtl][_ngcontent-%COMP%] .mat-badge-large.mat-badge-before[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{left:auto;right:-28px}.mat-badge-large.mat-badge-after[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{right:-28px}[dir=rtl][_ngcontent-%COMP%] .mat-badge-large.mat-badge-after[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{right:auto;left:-28px}.mat-badge-large.mat-badge-overlap.mat-badge-before[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{left:-14px}[dir=rtl][_ngcontent-%COMP%] .mat-badge-large.mat-badge-overlap.mat-badge-before[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{left:auto;right:-14px}.mat-badge-large.mat-badge-overlap.mat-badge-after[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{right:-14px}[dir=rtl][_ngcontent-%COMP%] .mat-badge-large.mat-badge-overlap.mat-badge-after[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{right:auto;left:-14px}html[_ngcontent-%COMP%]{--mat-badge-background-color: #0f0761;--mat-badge-text-color: white;--mat-badge-disabled-state-background-color: #b9b9b9;--mat-badge-disabled-state-text-color: rgba(0, 0, 0, .38)}.mat-badge-accent[_ngcontent-%COMP%]{--mat-badge-background-color: #dd7345;--mat-badge-text-color: white}.mat-badge-warn[_ngcontent-%COMP%]{--mat-badge-background-color: #f44336;--mat-badge-text-color: white}html[_ngcontent-%COMP%]{--mat-badge-text-font: Inter;--mat-badge-text-size: 12px;--mat-badge-text-weight: 600;--mat-badge-small-size-text-size: 9px;--mat-badge-large-size-text-size: 24px}html[_ngcontent-%COMP%]{--mat-bottom-sheet-container-text-color: rgba(0, 0, 0, .87);--mat-bottom-sheet-container-background-color: white}html[_ngcontent-%COMP%]{--mat-bottom-sheet-container-text-font: Inter;--mat-bottom-sheet-container-text-line-height: 19px;--mat-bottom-sheet-container-text-size: 13px;--mat-bottom-sheet-container-text-tracking: normal;--mat-bottom-sheet-container-text-weight: 400}html[_ngcontent-%COMP%]{--mat-legacy-button-toggle-text-color: rgba(0, 0, 0, .38);--mat-legacy-button-toggle-state-layer-color: rgba(0, 0, 0, .12);--mat-legacy-button-toggle-selected-state-text-color: rgba(0, 0, 0, .54);--mat-legacy-button-toggle-selected-state-background-color: #e0e0e0;--mat-legacy-button-toggle-disabled-state-text-color: rgba(0, 0, 0, .26);--mat-legacy-button-toggle-disabled-state-background-color: #eeeeee;--mat-legacy-button-toggle-disabled-selected-state-background-color: #bdbdbd;--mat-standard-button-toggle-text-color: rgba(0, 0, 0, .87);--mat-standard-button-toggle-background-color: white;--mat-standard-button-toggle-state-layer-color: black;--mat-standard-button-toggle-selected-state-background-color: #e0e0e0;--mat-standard-button-toggle-selected-state-text-color: rgba(0, 0, 0, .87);--mat-standard-button-toggle-disabled-state-text-color: rgba(0, 0, 0, .26);--mat-standard-button-toggle-disabled-state-background-color: white;--mat-standard-button-toggle-disabled-selected-state-text-color: rgba(0, 0, 0, .87);--mat-standard-button-toggle-disabled-selected-state-background-color: #bdbdbd;--mat-standard-button-toggle-divider-color: #e0e0e0}html[_ngcontent-%COMP%]{--mat-standard-button-toggle-height: 40px}html[_ngcontent-%COMP%]{--mat-legacy-button-toggle-text-font: Inter;--mat-standard-button-toggle-text-font: Inter}html[_ngcontent-%COMP%]{--mat-datepicker-calendar-date-selected-state-text-color: white;--mat-datepicker-calendar-date-selected-state-background-color: #0f0761;--mat-datepicker-calendar-date-selected-disabled-state-background-color: rgba(15, 7, 97, .4);--mat-datepicker-calendar-date-today-selected-state-outline-color: white;--mat-datepicker-calendar-date-focus-state-background-color: rgba(15, 7, 97, .3);--mat-datepicker-calendar-date-hover-state-background-color: rgba(15, 7, 97, .3);--mat-datepicker-toggle-active-state-icon-color: #0f0761;--mat-datepicker-calendar-date-in-range-state-background-color: rgba(15, 7, 97, .2);--mat-datepicker-calendar-date-in-comparison-range-state-background-color: rgba(249, 171, 0, .2);--mat-datepicker-calendar-date-in-overlap-range-state-background-color: #a8dab5;--mat-datepicker-calendar-date-in-overlap-range-selected-state-background-color: #46a35e;--mat-datepicker-toggle-icon-color: rgba(0, 0, 0, .54);--mat-datepicker-calendar-body-label-text-color: rgba(0, 0, 0, .54);--mat-datepicker-calendar-period-button-icon-color: rgba(0, 0, 0, .54);--mat-datepicker-calendar-navigation-button-icon-color: rgba(0, 0, 0, .54);--mat-datepicker-calendar-header-divider-color: rgba(0, 0, 0, .12);--mat-datepicker-calendar-header-text-color: rgba(0, 0, 0, .54);--mat-datepicker-calendar-date-today-outline-color: rgba(0, 0, 0, .38);--mat-datepicker-calendar-date-today-disabled-state-outline-color: rgba(0, 0, 0, .18);--mat-datepicker-calendar-date-text-color: rgba(0, 0, 0, .87);--mat-datepicker-calendar-date-outline-color: transparent;--mat-datepicker-calendar-date-disabled-state-text-color: rgba(0, 0, 0, .38);--mat-datepicker-calendar-date-preview-state-outline-color: rgba(0, 0, 0, .24);--mat-datepicker-range-input-separator-color: rgba(0, 0, 0, .87);--mat-datepicker-range-input-disabled-state-separator-color: rgba(0, 0, 0, .38);--mat-datepicker-range-input-disabled-state-text-color: rgba(0, 0, 0, .38);--mat-datepicker-calendar-container-background-color: white;--mat-datepicker-calendar-container-text-color: rgba(0, 0, 0, .87)}.mat-datepicker-content.mat-accent[_ngcontent-%COMP%]{--mat-datepicker-calendar-date-selected-state-text-color: white;--mat-datepicker-calendar-date-selected-state-background-color: #dd7345;--mat-datepicker-calendar-date-selected-disabled-state-background-color: rgba(221, 115, 69, .4);--mat-datepicker-calendar-date-today-selected-state-outline-color: white;--mat-datepicker-calendar-date-focus-state-background-color: rgba(221, 115, 69, .3);--mat-datepicker-calendar-date-hover-state-background-color: rgba(221, 115, 69, .3);--mat-datepicker-calendar-date-in-range-state-background-color: rgba(221, 115, 69, .2);--mat-datepicker-calendar-date-in-comparison-range-state-background-color: rgba(249, 171, 0, .2);--mat-datepicker-calendar-date-in-overlap-range-state-background-color: #a8dab5;--mat-datepicker-calendar-date-in-overlap-range-selected-state-background-color: #46a35e}.mat-datepicker-content.mat-warn[_ngcontent-%COMP%]{--mat-datepicker-calendar-date-selected-state-text-color: white;--mat-datepicker-calendar-date-selected-state-background-color: #f44336;--mat-datepicker-calendar-date-selected-disabled-state-background-color: rgba(244, 67, 54, .4);--mat-datepicker-calendar-date-today-selected-state-outline-color: white;--mat-datepicker-calendar-date-focus-state-background-color: rgba(244, 67, 54, .3);--mat-datepicker-calendar-date-hover-state-background-color: rgba(244, 67, 54, .3);--mat-datepicker-calendar-date-in-range-state-background-color: rgba(244, 67, 54, .2);--mat-datepicker-calendar-date-in-comparison-range-state-background-color: rgba(249, 171, 0, .2);--mat-datepicker-calendar-date-in-overlap-range-state-background-color: #a8dab5;--mat-datepicker-calendar-date-in-overlap-range-selected-state-background-color: #46a35e}.mat-datepicker-toggle-active.mat-accent[_ngcontent-%COMP%]{--mat-datepicker-toggle-active-state-icon-color: #dd7345}.mat-datepicker-toggle-active.mat-warn[_ngcontent-%COMP%]{--mat-datepicker-toggle-active-state-icon-color: #f44336}.mat-calendar-controls[_ngcontent-%COMP%] .mat-mdc-icon-button.mat-mdc-button-base[_ngcontent-%COMP%]{--mdc-icon-button-state-layer-size: 40px;width:var(--mdc-icon-button-state-layer-size);height:var(--mdc-icon-button-state-layer-size);padding:8px}.mat-calendar-controls[_ngcontent-%COMP%] .mat-mdc-icon-button.mat-mdc-button-base[_ngcontent-%COMP%] .mat-mdc-button-touch-target[_ngcontent-%COMP%]{display:none}html[_ngcontent-%COMP%]{--mat-datepicker-calendar-text-font: Inter;--mat-datepicker-calendar-text-size: 13px;--mat-datepicker-calendar-body-label-text-size: 13px;--mat-datepicker-calendar-body-label-text-weight: 500;--mat-datepicker-calendar-period-button-text-size: 13px;--mat-datepicker-calendar-period-button-text-weight: 500;--mat-datepicker-calendar-header-text-size: 11px;--mat-datepicker-calendar-header-text-weight: 400}html[_ngcontent-%COMP%]{--mat-divider-color: rgba(0, 0, 0, .12)}html[_ngcontent-%COMP%]{--mat-expansion-container-background-color: white;--mat-expansion-container-text-color: rgba(0, 0, 0, .87);--mat-expansion-actions-divider-color: rgba(0, 0, 0, .12);--mat-expansion-header-hover-state-layer-color: rgba(0, 0, 0, .04);--mat-expansion-header-focus-state-layer-color: rgba(0, 0, 0, .04);--mat-expansion-header-disabled-state-text-color: rgba(0, 0, 0, .26);--mat-expansion-header-text-color: rgba(0, 0, 0, .87);--mat-expansion-header-description-color: rgba(0, 0, 0, .54);--mat-expansion-header-indicator-color: rgba(0, 0, 0, .54)}html[_ngcontent-%COMP%]{--mat-expansion-header-collapsed-state-height: 40px;--mat-expansion-header-expanded-state-height: 56px}html[_ngcontent-%COMP%]{--mat-expansion-header-text-font: Inter;--mat-expansion-header-text-size: 13px;--mat-expansion-header-text-weight: 500;--mat-expansion-header-text-line-height: inherit;--mat-expansion-header-text-tracking: inherit;--mat-expansion-container-text-font: Inter;--mat-expansion-container-text-line-height: 19px;--mat-expansion-container-text-size: 13px;--mat-expansion-container-text-tracking: normal;--mat-expansion-container-text-weight: 400}html[_ngcontent-%COMP%]{--mat-grid-list-tile-header-primary-text-size: 13px;--mat-grid-list-tile-header-secondary-text-size: 12px;--mat-grid-list-tile-footer-primary-text-size: 13px;--mat-grid-list-tile-footer-secondary-text-size: 12px}html[_ngcontent-%COMP%]{--mat-icon-color: inherit}.mat-icon.mat-primary[_ngcontent-%COMP%]{--mat-icon-color: #0f0761}.mat-icon.mat-accent[_ngcontent-%COMP%]{--mat-icon-color: #dd7345}.mat-icon.mat-warn[_ngcontent-%COMP%]{--mat-icon-color: #f44336}html[_ngcontent-%COMP%]{--mat-sidenav-container-divider-color: rgba(0, 0, 0, .12);--mat-sidenav-container-background-color: white;--mat-sidenav-container-text-color: rgba(0, 0, 0, .87);--mat-sidenav-content-background-color: #fafafa;--mat-sidenav-content-text-color: rgba(0, 0, 0, .87);--mat-sidenav-scrim-color: rgba(0, 0, 0, .6)}html[_ngcontent-%COMP%]{--mat-stepper-header-icon-foreground-color: white;--mat-stepper-header-selected-state-icon-background-color: #0f0761;--mat-stepper-header-selected-state-icon-foreground-color: white;--mat-stepper-header-done-state-icon-background-color: #0f0761;--mat-stepper-header-done-state-icon-foreground-color: white;--mat-stepper-header-edit-state-icon-background-color: #0f0761;--mat-stepper-header-edit-state-icon-foreground-color: white;--mat-stepper-container-color: white;--mat-stepper-line-color: rgba(0, 0, 0, .12);--mat-stepper-header-hover-state-layer-color: rgba(0, 0, 0, .04);--mat-stepper-header-focus-state-layer-color: rgba(0, 0, 0, .04);--mat-stepper-header-label-text-color: rgba(0, 0, 0, .54);--mat-stepper-header-optional-label-text-color: rgba(0, 0, 0, .54);--mat-stepper-header-selected-state-label-text-color: rgba(0, 0, 0, .87);--mat-stepper-header-error-state-label-text-color: #f44336;--mat-stepper-header-icon-background-color: rgba(0, 0, 0, .54);--mat-stepper-header-error-state-icon-foreground-color: #f44336;--mat-stepper-header-error-state-icon-background-color: transparent}html[_ngcontent-%COMP%] .mat-step-header.mat-accent[_ngcontent-%COMP%]{--mat-stepper-header-icon-foreground-color: white;--mat-stepper-header-selected-state-icon-background-color: #dd7345;--mat-stepper-header-selected-state-icon-foreground-color: white;--mat-stepper-header-done-state-icon-background-color: #dd7345;--mat-stepper-header-done-state-icon-foreground-color: white;--mat-stepper-header-edit-state-icon-background-color: #dd7345;--mat-stepper-header-edit-state-icon-foreground-color: white}html[_ngcontent-%COMP%] .mat-step-header.mat-warn[_ngcontent-%COMP%]{--mat-stepper-header-icon-foreground-color: white;--mat-stepper-header-selected-state-icon-background-color: #f44336;--mat-stepper-header-selected-state-icon-foreground-color: white;--mat-stepper-header-done-state-icon-background-color: #f44336;--mat-stepper-header-done-state-icon-foreground-color: white;--mat-stepper-header-edit-state-icon-background-color: #f44336;--mat-stepper-header-edit-state-icon-foreground-color: white}html[_ngcontent-%COMP%]{--mat-stepper-header-height: 64px}html[_ngcontent-%COMP%]{--mat-stepper-container-text-font: Inter;--mat-stepper-header-label-text-font: Inter;--mat-stepper-header-label-text-size: 13px;--mat-stepper-header-label-text-weight: 400;--mat-stepper-header-error-state-label-text-size: 13px;--mat-stepper-header-selected-state-label-text-size: 13px;--mat-stepper-header-selected-state-label-text-weight: 400}.mat-sort-header-arrow[_ngcontent-%COMP%]{color:#757575}html[_ngcontent-%COMP%]{--mat-toolbar-container-background-color: whitesmoke;--mat-toolbar-container-text-color: rgba(0, 0, 0, .87)}.mat-toolbar.mat-primary[_ngcontent-%COMP%]{--mat-toolbar-container-background-color: #0f0761;--mat-toolbar-container-text-color: white}.mat-toolbar.mat-accent[_ngcontent-%COMP%]{--mat-toolbar-container-background-color: #dd7345;--mat-toolbar-container-text-color: white}.mat-toolbar.mat-warn[_ngcontent-%COMP%]{--mat-toolbar-container-background-color: #f44336;--mat-toolbar-container-text-color: white}html[_ngcontent-%COMP%]{--mat-toolbar-standard-height: 56px;--mat-toolbar-mobile-height: 48px}html[_ngcontent-%COMP%]{--mat-toolbar-title-text-font: Inter;--mat-toolbar-title-text-line-height: 21px;--mat-toolbar-title-text-size: 16px;--mat-toolbar-title-text-tracking: normal;--mat-toolbar-title-text-weight: 600}.mat-tree[_ngcontent-%COMP%]{background:white}.mat-tree-node[_ngcontent-%COMP%], .mat-nested-tree-node[_ngcontent-%COMP%]{color:#000000de}.mat-tree-node[_ngcontent-%COMP%]{min-height:40px}.mat-tree[_ngcontent-%COMP%]{font-family:Inter}.mat-tree-node[_ngcontent-%COMP%], .mat-nested-tree-node[_ngcontent-%COMP%]{font-weight:400;font-size:13px}.mat-h1[_ngcontent-%COMP%], .mat-headline-5[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] .mat-h1[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] .mat-headline-5[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{font-size:20px;font-weight:600;line-height:24px;font-family:Inter;letter-spacing:normal;margin:0 0 16px}.mat-h2[_ngcontent-%COMP%], .mat-headline-6[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] .mat-h2[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] .mat-headline-6[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{font-size:16px;font-weight:600;line-height:21px;font-family:Inter;letter-spacing:normal;margin:0 0 16px}.mat-h3[_ngcontent-%COMP%], .mat-subtitle-1[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] .mat-h3[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] .mat-subtitle-1[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{font-size:16px;font-weight:600;line-height:22px;font-family:Inter;letter-spacing:normal;margin:0 0 16px}.mat-h4[_ngcontent-%COMP%], .mat-body-1[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] .mat-h4[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] .mat-body-1[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] h4[_ngcontent-%COMP%]{font-size:13px;font-weight:400;line-height:19px;font-family:Inter;letter-spacing:normal;margin:0 0 16px}.mat-h5[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] .mat-h5[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] h5[_ngcontent-%COMP%]{font:400 10.79px/19px Inter;margin:0 0 12px}.mat-h6[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] .mat-h6[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] h6[_ngcontent-%COMP%]{font:400 8.71px/19px Inter;margin:0 0 12px}.mat-body-strong[_ngcontent-%COMP%], .mat-subtitle-2[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] .mat-body-strong[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] .mat-subtitle-2[_ngcontent-%COMP%]{font-size:13px;font-weight:500;line-height:19px;font-family:Inter;letter-spacing:normal}.mat-body[_ngcontent-%COMP%], .mat-body-2[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] .mat-body[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] .mat-body-2[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%]{font-size:13px;font-weight:400;line-height:19px;font-family:Inter;letter-spacing:normal}.mat-body[_ngcontent-%COMP%] p[_ngcontent-%COMP%], .mat-body-2[_ngcontent-%COMP%] p[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] .mat-body[_ngcontent-%COMP%] p[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] .mat-body-2[_ngcontent-%COMP%] p[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{margin:0 0 12px}.mat-small[_ngcontent-%COMP%], .mat-caption[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] .mat-small[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] .mat-caption[_ngcontent-%COMP%]{font-size:12px;font-weight:400;line-height:16px;font-family:Inter;letter-spacing:normal}.mat-headline-1[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] .mat-headline-1[_ngcontent-%COMP%]{font-size:56px;font-weight:600;line-height:62px;font-family:Inter;letter-spacing:normal;margin:0 0 56px}.mat-headline-2[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] .mat-headline-2[_ngcontent-%COMP%]{font-size:44px;font-weight:600;line-height:50px;font-family:Inter;letter-spacing:normal;margin:0 0 64px}.mat-headline-3[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] .mat-headline-3[_ngcontent-%COMP%]{font-size:36px;font-weight:600;line-height:43px;font-family:Inter;letter-spacing:normal;margin:0 0 64px}.mat-headline-4[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] .mat-headline-4[_ngcontent-%COMP%]{font-size:28px;font-weight:600;line-height:34px;font-family:Inter;letter-spacing:normal;margin:0 0 64px}.mat-ripple-element[_ngcontent-%COMP%]{display:none!important}.mat-mdc-unelevated-button.mat-primary[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%], .mat-mdc-raised-button.mat-primary[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%], .mat-mdc-fab[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%], .mat-mdc-mini-fab[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%]{display:block!important}.mat-toolbar[_ngcontent-%COMP%]{box-shadow:none!important}.shell-brand-logo[_ngcontent-%COMP%]{filter:brightness(0);opacity:.87}.dark-theme[_ngcontent-%COMP%] .shell-brand-logo[_ngcontent-%COMP%]{filter:brightness(0) invert(1);opacity:.9}.spinner-container[_ngcontent-%COMP%]{position:absolute;top:0;left:0;display:flex;align-items:center;justify-content:center;z-index:1001;width:100%;height:100%;pointer-events:none}.spinner-container[_ngcontent-%COMP%] .backdrop[_ngcontent-%COMP%]{position:absolute;inset:0;background-color:#7571a9;opacity:.3;pointer-events:none}.spinner-container[_ngcontent-%COMP%] .spinner[_ngcontent-%COMP%]{position:absolute;animation:_ngcontent-%COMP%_spin 5s linear infinite;transform-origin:center center}@keyframes _ngcontent-%COMP%_spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}"]})}};Oc=(0,y.Cg)([(0,De.d)({checkProperties:!0})],Oc);var Sc=r(71499),S=r(89411);function w(f){return new a.wOt(3e3,!1)}function po(f){switch(f.length){case 0:return new S.sf;case 1:return f[0];default:return new S.ui(f)}}function Cr(f,d,l=new Map,m=new Map){const L=[],R=[];let ht=-1,Pt=null;if(d.forEach(Ft=>{const qt=Ft.get("offset"),Ae=qt==ht,$e=Ae&&Pt||new Map;Ft.forEach((mn,Pn)=>{let dn=Pn,wn=mn;if("offset"!==Pn)switch(dn=f.normalizePropertyName(dn,L),wn){case S.FX:wn=l.get(Pn);break;case S.kp:wn=m.get(Pn);break;default:wn=f.normalizeStyleValue(Pn,dn,wn,L)}$e.set(dn,wn)}),Ae||R.push($e),Pt=$e,ht=qt}),L.length)throw function er(f){return new a.wOt(3502,!1)}();return R}function or(f,d,l,m){switch(d){case"start":f.onStart(()=>m(l&&Jr(l,"start",f)));break;case"done":f.onDone(()=>m(l&&Jr(l,"done",f)));break;case"destroy":f.onDestroy(()=>m(l&&Jr(l,"destroy",f)))}}function Jr(f,d,l){const R=Ic(f.element,f.triggerName,f.fromState,f.toState,d||f.phaseName,l.totalTime??f.totalTime,!!l.disabled),ht=f._data;return null!=ht&&(R._data=ht),R}function Ic(f,d,l,m,L="",R=0,ht){return{element:f,triggerName:d,fromState:l,toState:m,phaseName:L,totalTime:R,disabled:!!ht}}function $i(f,d,l){let m=f.get(d);return m||f.set(d,m=l),m}function Fr(f){const d=f.indexOf(":");return[f.substring(1,d),f.slice(d+1)]}const Br=(()=>typeof document>"u"?null:document.documentElement)();function jc(f){const d=f.parentNode||f.host||null;return d===Br?null:d}let Ko=null,bs=!1;function W(f,d){for(;d;){if(d===f)return!0;d=jc(d)}return!1}function E(f,d,l){if(l)return Array.from(f.querySelectorAll(d));const m=f.querySelector(d);return m?[m]:[]}let At=(()=>{class f{validateStyleProperty(l){return function Hc(f){Ko||(Ko=function v(){return typeof document<"u"?document.body:null}()||{},bs=!!Ko.style&&"WebkitAppearance"in Ko.style);let d=!0;return Ko.style&&!function Vr(f){return"ebkit"==f.substring(1,6)}(f)&&(d=f in Ko.style,!d&&bs&&(d="Webkit"+f.charAt(0).toUpperCase()+f.slice(1)in Ko.style)),d}(l)}matchesElement(l,m){return!1}containsElement(l,m){return W(l,m)}getParentElement(l){return jc(l)}query(l,m,L){return E(l,m,L)}computeStyle(l,m,L){return L||""}animate(l,m,L,R,ht,Pt=[],Ft){return new S.sf(L,R)}static{this.\u0275fac=function(m){return new(m||f)}}static{this.\u0275prov=a.jDH({token:f,factory:f.\u0275fac})}}return f})(),he=(()=>{class f{static{this.NOOP=new At}}return f})();const Pe=1e3,ti="ng-enter",Un="ng-leave",Sn="ng-trigger",Zn=".ng-trigger",ii="ng-animating",vi=".ng-animating";function ai(f){if("number"==typeof f)return f;const d=f.match(/^(-?[\.\d]+)(m?s)/);return!d||d.length<2?0:Ki(parseFloat(d[1]),d[2])}function Ki(f,d){return"s"===d?f*Pe:f}function go(f,d,l){return f.hasOwnProperty("duration")?f:function Gi(f,d,l){let L,R=0,ht="";if("string"==typeof f){const Pt=f.match(/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i);if(null===Pt)return d.push(w()),{duration:0,delay:0,easing:""};L=Ki(parseFloat(Pt[1]),Pt[2]);const Ft=Pt[3];null!=Ft&&(R=Ki(parseFloat(Ft),Pt[4]));const qt=Pt[5];qt&&(ht=qt)}else L=f;if(!l){let Pt=!1,Ft=d.length;L<0&&(d.push(function it(){return new a.wOt(3100,!1)}()),Pt=!0),R<0&&(d.push(function Bt(){return new a.wOt(3101,!1)}()),Pt=!0),Pt&&d.splice(Ft,0,w())}return{duration:L,delay:R,easing:ht}}(f,d,l)}function no(f,d={}){return Object.keys(f).forEach(l=>{d[l]=f[l]}),d}function Ai(f){const d=new Map;return Object.keys(f).forEach(l=>{d.set(l,f[l])}),d}function Wn(f,d=new Map,l){if(l)for(let[m,L]of l)d.set(m,L);for(let[m,L]of f)d.set(m,L);return d}function io(f,d,l){d.forEach((m,L)=>{const R=Ue(L);l&&!l.has(L)&&l.set(L,f.style[R]),f.style[R]=m})}function Go(f,d){d.forEach((l,m)=>{const L=Ue(m);f.style[L]=""})}function D(f){return Array.isArray(f)?1==f.length?f[0]:(0,S.K2)(f):f}const ct=new RegExp("{{\\s*(.+?)\\s*}}","g");function ut(f){let d=[];if("string"==typeof f){let l;for(;l=ct.exec(f);)d.push(l[1]);ct.lastIndex=0}return d}function St(f,d,l){const m=f.toString(),L=m.replace(ct,(R,ht)=>{let Pt=d[ht];return null==Pt&&(l.push(function zn(f){return new a.wOt(3003,!1)}()),Pt=""),Pt.toString()});return L==m?f:L}function ie(f){const d=[];let l=f.next();for(;!l.done;)d.push(l.value),l=f.next();return d}const we=/-+([a-z0-9])/g;function Ue(f){return f.replace(we,(...d)=>d[1].toUpperCase())}function kn(f,d,l){switch(d.type){case 7:return f.visitTrigger(d,l);case 0:return f.visitState(d,l);case 1:return f.visitTransition(d,l);case 2:return f.visitSequence(d,l);case 3:return f.visitGroup(d,l);case 4:return f.visitAnimate(d,l);case 5:return f.visitKeyframes(d,l);case 6:return f.visitStyle(d,l);case 8:return f.visitReference(d,l);case 9:return f.visitAnimateChild(d,l);case 10:return f.visitAnimateRef(d,l);case 11:return f.visitQuery(d,l);case 12:return f.visitStagger(d,l);default:throw function wi(f){return new a.wOt(3004,!1)}()}}function Kn(f,d){return window.getComputedStyle(f)[d]}const so="*";function Rc(f,d){const l=[];return"string"==typeof f?f.split(/\s*,\s*/).forEach(m=>function xc(f,d,l){if(":"==f[0]){const Ft=function cr(f,d){switch(f){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(l,m)=>parseFloat(m)>parseFloat(l);case":decrement":return(l,m)=>parseFloat(m) *"}}(f,l);if("function"==typeof Ft)return void d.push(Ft);f=Ft}const m=f.match(/^(\*|[-\w]+)\s*()\s*(\*|[-\w]+)$/);if(null==m||m.length<4)return l.push(function Pc(f){return new a.wOt(3015,!1)}()),d;const L=m[1],R=m[2],ht=m[3];d.push(Bs(L,ht));"<"==R[0]&&!(L==so&&ht==so)&&d.push(Bs(ht,L))}(m,l,d)):l.push(f),l}const $c=new Set(["true","1"]),Ur=new Set(["false","0"]);function Bs(f,d){const l=$c.has(f)||Ur.has(f),m=$c.has(d)||Ur.has(d);return(L,R)=>{let ht=f==so||f==L,Pt=d==so||d==R;return!ht&&l&&"boolean"==typeof L&&(ht=L?$c.has(f):Ur.has(f)),!Pt&&m&&"boolean"==typeof R&&(Pt=R?$c.has(d):Ur.has(d)),ht&&Pt}}const Us=new RegExp("s*:selfs*,?","g");function Re(f,d,l,m){return new vs(f).build(d,l,m)}class vs{constructor(d){this._driver=d}build(d,l,m){const L=new _s(l);return this._resetContextStyleTimingState(L),kn(this,D(d),L)}_resetContextStyleTimingState(d){d.currentQuerySelector="",d.collectedStyles=new Map,d.collectedStyles.set("",new Map),d.currentTime=0}visitTrigger(d,l){let m=l.queryCount=0,L=l.depCount=0;const R=[],ht=[];return"@"==d.name.charAt(0)&&l.errors.push(function Vc(){return new a.wOt(3006,!1)}()),d.definitions.forEach(Pt=>{if(this._resetContextStyleTimingState(l),0==Pt.type){const Ft=Pt,qt=Ft.name;qt.toString().split(/\s*,\s*/).forEach(Ae=>{Ft.name=Ae,R.push(this.visitState(Ft,l))}),Ft.name=qt}else if(1==Pt.type){const Ft=this.visitTransition(Pt,l);m+=Ft.queryCount,L+=Ft.depCount,ht.push(Ft)}else l.errors.push(function ps(){return new a.wOt(3007,!1)}())}),{type:7,name:d.name,states:R,transitions:ht,queryCount:m,depCount:L,options:null}}visitState(d,l){const m=this.visitStyle(d.styles,l),L=d.options&&d.options.params||null;if(m.containsDynamicStyles){const R=new Set,ht=L||{};m.styles.forEach(Pt=>{Pt instanceof Map&&Pt.forEach(Ft=>{ut(Ft).forEach(qt=>{ht.hasOwnProperty(qt)||R.add(qt)})})}),R.size&&(ie(R.values()),l.errors.push(function gs(f,d){return new a.wOt(3008,!1)}()))}return{type:0,name:d.name,style:m,options:L?{params:L}:null}}visitTransition(d,l){l.queryCount=0,l.depCount=0;const m=kn(this,D(d.animation),l);return{type:1,matchers:Rc(d.expr,l.errors),animation:m,queryCount:l.queryCount,depCount:l.depCount,options:ic(d.options)}}visitSequence(d,l){return{type:2,steps:d.steps.map(m=>kn(this,m,l)),options:ic(d.options)}}visitGroup(d,l){const m=l.currentTime;let L=0;const R=d.steps.map(ht=>{l.currentTime=m;const Pt=kn(this,ht,l);return L=Math.max(L,l.currentTime),Pt});return l.currentTime=L,{type:3,steps:R,options:ic(d.options)}}visitAnimate(d,l){const m=function Cc(f,d){if(f.hasOwnProperty("duration"))return f;if("number"==typeof f)return Hr(go(f,d).duration,0,"");const l=f;if(l.split(/\s+/).some(R=>"{"==R.charAt(0)&&"{"==R.charAt(1))){const R=Hr(0,0,"");return R.dynamic=!0,R.strValue=l,R}const L=go(l,d);return Hr(L.duration,L.delay,L.easing)}(d.timings,l.errors);l.currentAnimateTimings=m;let L,R=d.styles?d.styles:(0,S.iF)({});if(5==R.type)L=this.visitKeyframes(R,l);else{let ht=d.styles,Pt=!1;if(!ht){Pt=!0;const qt={};m.easing&&(qt.easing=m.easing),ht=(0,S.iF)(qt)}l.currentTime+=m.duration+m.delay;const Ft=this.visitStyle(ht,l);Ft.isEmptyStep=Pt,L=Ft}return l.currentAnimateTimings=null,{type:4,timings:m,style:L,options:null}}visitStyle(d,l){const m=this._makeStyleAst(d,l);return this._validateStyleAst(m,l),m}_makeStyleAst(d,l){const m=[],L=Array.isArray(d.styles)?d.styles:[d.styles];for(let Pt of L)"string"==typeof Pt?Pt===S.kp?m.push(Pt):l.errors.push(new a.wOt(3002,!1)):m.push(Ai(Pt));let R=!1,ht=null;return m.forEach(Pt=>{if(Pt instanceof Map&&(Pt.has("easing")&&(ht=Pt.get("easing"),Pt.delete("easing")),!R))for(let Ft of Pt.values())if(Ft.toString().indexOf("{{")>=0){R=!0;break}}),{type:6,styles:m,easing:ht,offset:d.offset,containsDynamicStyles:R,options:null}}_validateStyleAst(d,l){const m=l.currentAnimateTimings;let L=l.currentTime,R=l.currentTime;m&&R>0&&(R-=m.duration+m.delay),d.styles.forEach(ht=>{"string"!=typeof ht&&ht.forEach((Pt,Ft)=>{const qt=l.collectedStyles.get(l.currentQuerySelector),Ae=qt.get(Ft);let $e=!0;Ae&&(R!=L&&R>=Ae.startTime&&L<=Ae.endTime&&(l.errors.push(function qc(f,d,l,m,L){return new a.wOt(3010,!1)}()),$e=!1),R=Ae.startTime),$e&&qt.set(Ft,{startTime:R,endTime:L}),l.options&&function et(f,d,l){const m=d.params||{},L=ut(f);L.length&&L.forEach(R=>{m.hasOwnProperty(R)||l.push(function en(f){return new a.wOt(3001,!1)}())})}(Pt,l.options,l.errors)})})}visitKeyframes(d,l){const m={type:5,styles:[],options:null};if(!l.currentAnimateTimings)return l.errors.push(function Tr(){return new a.wOt(3011,!1)}()),m;let R=0;const ht=[];let Pt=!1,Ft=!1,qt=0;const Ae=d.steps.map(fi=>{const oo=this._makeStyleAst(fi,l);let No=null!=oo.offset?oo.offset:function jr(f){if("string"==typeof f)return null;let d=null;if(Array.isArray(f))f.forEach(l=>{if(l instanceof Map&&l.has("offset")){const m=l;d=parseFloat(m.get("offset")),m.delete("offset")}});else if(f instanceof Map&&f.has("offset")){const l=f;d=parseFloat(l.get("offset")),l.delete("offset")}return d}(oo.styles),ao=0;return null!=No&&(R++,ao=oo.offset=No),Ft=Ft||ao<0||ao>1,Pt=Pt||ao0&&R<$e?l.errors.push(function nc(){return new a.wOt(3202,!1)}()):0==R&&(mn=1/($e-1));const Pn=$e-1,dn=l.currentTime,wn=l.currentAnimateTimings,ri=wn.duration;return Ae.forEach((fi,oo)=>{const No=mn>0?oo==Pn?1:mn*oo:ht[oo],ao=No*ri;l.currentTime=dn+wn.delay+ao,wn.duration=ao,this._validateStyleAst(fi,l),fi.offset=No,m.styles.push(fi)}),m}visitReference(d,l){return{type:8,animation:kn(this,D(d.animation),l),options:ic(d.options)}}visitAnimateChild(d,l){return l.depCount++,{type:9,options:ic(d.options)}}visitAnimateRef(d,l){return{type:10,animation:this.visitReference(d.animation,l),options:ic(d.options)}}visitQuery(d,l){const m=l.currentQuerySelector,L=d.options||{};l.queryCount++,l.currentQuery=d;const[R,ht]=function js(f){const d=!!f.split(/\s*,\s*/).find(l=>":self"==l);return d&&(f=f.replace(Us,"")),f=f.replace(/@\*/g,Zn).replace(/@\w+/g,l=>Zn+"-"+l.slice(1)).replace(/:animating/g,vi),[f,d]}(d.selector);l.currentQuerySelector=m.length?m+" "+R:R,$i(l.collectedStyles,l.currentQuerySelector,new Map);const Pt=kn(this,D(d.animation),l);return l.currentQuery=null,l.currentQuerySelector=m,{type:11,selector:R,limit:L.limit||0,optional:!!L.optional,includeSelf:ht,animation:Pt,originalSelector:d.selector,options:ic(d.options)}}visitStagger(d,l){l.currentQuery||l.errors.push(function Ri(){return new a.wOt(3013,!1)}());const m="full"===d.timings?{duration:0,delay:0,easing:"full"}:go(d.timings,l.errors,!0);return{type:12,animation:kn(this,D(d.animation),l),timings:m,options:null}}}class _s{constructor(d){this.errors=d,this.queryCount=0,this.depCount=0,this.currentTransition=null,this.currentQuery=null,this.currentQuerySelector=null,this.currentAnimateTimings=null,this.currentTime=0,this.collectedStyles=new Map,this.options=null,this.unsupportedCSSPropertiesFound=new Set}}function ic(f){return f?(f=no(f)).params&&(f.params=function Yi(f){return f?no(f):null}(f.params)):f={},f}function Hr(f,d,l){return{duration:f,delay:d,easing:l}}function $r(f,d,l,m,L,R,ht=null,Pt=!1){return{type:1,element:f,keyframes:d,preStyleProps:l,postStyleProps:m,duration:L,delay:R,totalTime:L+R,easing:ht,subTimeline:Pt}}class Hs{constructor(){this._map=new Map}get(d){return this._map.get(d)||[]}append(d,l){let m=this._map.get(d);m||this._map.set(d,m=[]),m.push(...l)}has(d){return this._map.has(d)}clear(){this._map.clear()}}const Wc=new RegExp(":enter","g"),g=new RegExp(":leave","g");function x(f,d,l,m,L,R=new Map,ht=new Map,Pt,Ft,qt=[]){return(new h).buildKeyframes(f,d,l,m,L,R,ht,Pt,Ft,qt)}class h{buildKeyframes(d,l,m,L,R,ht,Pt,Ft,qt,Ae=[]){qt=qt||new Hs;const $e=new z(d,l,qt,L,R,Ae,[]);$e.options=Ft;const mn=Ft.delay?ai(Ft.delay):0;$e.currentTimeline.delayNextStep(mn),$e.currentTimeline.setStyles([ht],null,$e.errors,Ft),kn(this,m,$e);const Pn=$e.timelines.filter(dn=>dn.containsAnimation());if(Pn.length&&Pt.size){let dn;for(let wn=Pn.length-1;wn>=0;wn--){const ri=Pn[wn];if(ri.element===l){dn=ri;break}}dn&&!dn.allowOnlyTimelineStyles()&&dn.setStyles([Pt],null,$e.errors,Ft)}return Pn.length?Pn.map(dn=>dn.buildKeyframes()):[$r(l,[],[],[],0,mn,"",!1)]}visitTrigger(d,l){}visitState(d,l){}visitTransition(d,l){}visitAnimateChild(d,l){const m=l.subInstructions.get(l.element);if(m){const L=l.createSubContext(d.options),R=l.currentTimeline.currentTime,ht=this._visitSubInstructions(m,L,L.options);R!=ht&&l.transformIntoNewTimeline(ht)}l.previousNode=d}visitAnimateRef(d,l){const m=l.createSubContext(d.options);m.transformIntoNewTimeline(),this._applyAnimationRefDelays([d.options,d.animation.options],l,m),this.visitReference(d.animation,m),l.transformIntoNewTimeline(m.currentTimeline.currentTime),l.previousNode=d}_applyAnimationRefDelays(d,l,m){for(const L of d){const R=L?.delay;if(R){const ht="number"==typeof R?R:ai(St(R,L?.params??{},l.errors));m.delayNextStep(ht)}}}_visitSubInstructions(d,l,m){let R=l.currentTimeline.currentTime;const ht=null!=m.duration?ai(m.duration):null,Pt=null!=m.delay?ai(m.delay):null;return 0!==ht&&d.forEach(Ft=>{const qt=l.appendInstructionToTimeline(Ft,ht,Pt);R=Math.max(R,qt.duration+qt.delay)}),R}visitReference(d,l){l.updateOptions(d.options,!0),kn(this,d.animation,l),l.previousNode=d}visitSequence(d,l){const m=l.subContextCount;let L=l;const R=d.options;if(R&&(R.params||R.delay)&&(L=l.createSubContext(R),L.transformIntoNewTimeline(),null!=R.delay)){6==L.previousNode.type&&(L.currentTimeline.snapshotCurrentStyles(),L.previousNode=C);const ht=ai(R.delay);L.delayNextStep(ht)}d.steps.length&&(d.steps.forEach(ht=>kn(this,ht,L)),L.currentTimeline.applyStylesToKeyframe(),L.subContextCount>m&&L.transformIntoNewTimeline()),l.previousNode=d}visitGroup(d,l){const m=[];let L=l.currentTimeline.currentTime;const R=d.options&&d.options.delay?ai(d.options.delay):0;d.steps.forEach(ht=>{const Pt=l.createSubContext(d.options);R&&Pt.delayNextStep(R),kn(this,ht,Pt),L=Math.max(L,Pt.currentTimeline.currentTime),m.push(Pt.currentTimeline)}),m.forEach(ht=>l.currentTimeline.mergeTimelineCollectedStyles(ht)),l.transformIntoNewTimeline(L),l.previousNode=d}_visitTiming(d,l){if(d.dynamic){const m=d.strValue;return go(l.params?St(m,l.params,l.errors):m,l.errors)}return{duration:d.duration,delay:d.delay,easing:d.easing}}visitAnimate(d,l){const m=l.currentAnimateTimings=this._visitTiming(d.timings,l),L=l.currentTimeline;m.delay&&(l.incrementTime(m.delay),L.snapshotCurrentStyles());const R=d.style;5==R.type?this.visitKeyframes(R,l):(l.incrementTime(m.duration),this.visitStyle(R,l),L.applyStylesToKeyframe()),l.currentAnimateTimings=null,l.previousNode=d}visitStyle(d,l){const m=l.currentTimeline,L=l.currentAnimateTimings;!L&&m.hasCurrentStyleProperties()&&m.forwardFrame();const R=L&&L.easing||d.easing;d.isEmptyStep?m.applyEmptyStep(R):m.setStyles(d.styles,R,l.errors,l.options),l.previousNode=d}visitKeyframes(d,l){const m=l.currentAnimateTimings,L=l.currentTimeline.duration,R=m.duration,Pt=l.createSubContext().currentTimeline;Pt.easing=m.easing,d.styles.forEach(Ft=>{Pt.forwardTime((Ft.offset||0)*R),Pt.setStyles(Ft.styles,Ft.easing,l.errors,l.options),Pt.applyStylesToKeyframe()}),l.currentTimeline.mergeTimelineCollectedStyles(Pt),l.transformIntoNewTimeline(L+R),l.previousNode=d}visitQuery(d,l){const m=l.currentTimeline.currentTime,L=d.options||{},R=L.delay?ai(L.delay):0;R&&(6===l.previousNode.type||0==m&&l.currentTimeline.hasCurrentStyleProperties())&&(l.currentTimeline.snapshotCurrentStyles(),l.previousNode=C);let ht=m;const Pt=l.invokeQuery(d.selector,d.originalSelector,d.limit,d.includeSelf,!!L.optional,l.errors);l.currentQueryTotal=Pt.length;let Ft=null;Pt.forEach((qt,Ae)=>{l.currentQueryIndex=Ae;const $e=l.createSubContext(d.options,qt);R&&$e.delayNextStep(R),qt===l.element&&(Ft=$e.currentTimeline),kn(this,d.animation,$e),$e.currentTimeline.applyStylesToKeyframe(),ht=Math.max(ht,$e.currentTimeline.currentTime)}),l.currentQueryIndex=0,l.currentQueryTotal=0,l.transformIntoNewTimeline(ht),Ft&&(l.currentTimeline.mergeTimelineCollectedStyles(Ft),l.currentTimeline.snapshotCurrentStyles()),l.previousNode=d}visitStagger(d,l){const m=l.parentContext,L=l.currentTimeline,R=d.timings,ht=Math.abs(R.duration),Pt=ht*(l.currentQueryTotal-1);let Ft=ht*l.currentQueryIndex;switch(R.duration<0?"reverse":R.easing){case"reverse":Ft=Pt-Ft;break;case"full":Ft=m.currentStaggerTime}const Ae=l.currentTimeline;Ft&&Ae.delayNextStep(Ft);const $e=Ae.currentTime;kn(this,d.animation,l),l.previousNode=d,m.currentStaggerTime=L.currentTime-$e+(L.startTime-m.currentTimeline.startTime)}}const C={};class z{constructor(d,l,m,L,R,ht,Pt,Ft){this._driver=d,this.element=l,this.subInstructions=m,this._enterClassName=L,this._leaveClassName=R,this.errors=ht,this.timelines=Pt,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=C,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=Ft||new nt(this._driver,l,0),Pt.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(d,l){if(!d)return;const m=d;let L=this.options;null!=m.duration&&(L.duration=ai(m.duration)),null!=m.delay&&(L.delay=ai(m.delay));const R=m.params;if(R){let ht=L.params;ht||(ht=this.options.params={}),Object.keys(R).forEach(Pt=>{(!l||!ht.hasOwnProperty(Pt))&&(ht[Pt]=St(R[Pt],ht,this.errors))})}}_copyOptions(){const d={};if(this.options){const l=this.options.params;if(l){const m=d.params={};Object.keys(l).forEach(L=>{m[L]=l[L]})}}return d}createSubContext(d=null,l,m){const L=l||this.element,R=new z(this._driver,L,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(L,m||0));return R.previousNode=this.previousNode,R.currentAnimateTimings=this.currentAnimateTimings,R.options=this._copyOptions(),R.updateOptions(d),R.currentQueryIndex=this.currentQueryIndex,R.currentQueryTotal=this.currentQueryTotal,R.parentContext=this,this.subContextCount++,R}transformIntoNewTimeline(d){return this.previousNode=C,this.currentTimeline=this.currentTimeline.fork(this.element,d),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(d,l,m){const L={duration:l??d.duration,delay:this.currentTimeline.currentTime+(m??0)+d.delay,easing:""},R=new It(this._driver,d.element,d.keyframes,d.preStyleProps,d.postStyleProps,L,d.stretchStartingKeyframe);return this.timelines.push(R),L}incrementTime(d){this.currentTimeline.forwardTime(this.currentTimeline.duration+d)}delayNextStep(d){d>0&&this.currentTimeline.delayNextStep(d)}invokeQuery(d,l,m,L,R,ht){let Pt=[];if(L&&Pt.push(this.element),d.length>0){d=(d=d.replace(Wc,"."+this._enterClassName)).replace(g,"."+this._leaveClassName);let qt=this._driver.query(this.element,d,1!=m);0!==m&&(qt=m<0?qt.slice(qt.length+m,qt.length):qt.slice(0,m)),Pt.push(...qt)}return!R&&0==Pt.length&&ht.push(function zc(f){return new a.wOt(3014,!1)}()),Pt}}class nt{constructor(d,l,m,L){this._driver=d,this.element=l,this.startTime=m,this._elementTimelineStylesLookup=L,this.duration=0,this.easing=null,this._previousKeyframe=new Map,this._currentKeyframe=new Map,this._keyframes=new Map,this._styleSummary=new Map,this._localTimelineStyles=new Map,this._pendingStyles=new Map,this._backFill=new Map,this._currentEmptyStepKeyframe=null,this._elementTimelineStylesLookup||(this._elementTimelineStylesLookup=new Map),this._globalTimelineStyles=this._elementTimelineStylesLookup.get(l),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(l,this._localTimelineStyles)),this._loadKeyframe()}containsAnimation(){switch(this._keyframes.size){case 0:return!1;case 1:return this.hasCurrentStyleProperties();default:return!0}}hasCurrentStyleProperties(){return this._currentKeyframe.size>0}get currentTime(){return this.startTime+this.duration}delayNextStep(d){const l=1===this._keyframes.size&&this._pendingStyles.size;this.duration||l?(this.forwardTime(this.currentTime+d),l&&this.snapshotCurrentStyles()):this.startTime+=d}fork(d,l){return this.applyStylesToKeyframe(),new nt(this._driver,d,l||this.currentTime,this._elementTimelineStylesLookup)}_loadKeyframe(){this._currentKeyframe&&(this._previousKeyframe=this._currentKeyframe),this._currentKeyframe=this._keyframes.get(this.duration),this._currentKeyframe||(this._currentKeyframe=new Map,this._keyframes.set(this.duration,this._currentKeyframe))}forwardFrame(){this.duration+=1,this._loadKeyframe()}forwardTime(d){this.applyStylesToKeyframe(),this.duration=d,this._loadKeyframe()}_updateStyle(d,l){this._localTimelineStyles.set(d,l),this._globalTimelineStyles.set(d,l),this._styleSummary.set(d,{time:this.currentTime,value:l})}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(d){d&&this._previousKeyframe.set("easing",d);for(let[l,m]of this._globalTimelineStyles)this._backFill.set(l,m||S.kp),this._currentKeyframe.set(l,S.kp);this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(d,l,m,L){l&&this._previousKeyframe.set("easing",l);const R=L&&L.params||{},ht=function pe(f,d){const l=new Map;let m;return f.forEach(L=>{if("*"===L){m=m||d.keys();for(let R of m)l.set(R,S.kp)}else Wn(L,l)}),l}(d,this._globalTimelineStyles);for(let[Pt,Ft]of ht){const qt=St(Ft,R,m);this._pendingStyles.set(Pt,qt),this._localTimelineStyles.has(Pt)||this._backFill.set(Pt,this._globalTimelineStyles.get(Pt)??S.kp),this._updateStyle(Pt,qt)}}applyStylesToKeyframe(){0!=this._pendingStyles.size&&(this._pendingStyles.forEach((d,l)=>{this._currentKeyframe.set(l,d)}),this._pendingStyles.clear(),this._localTimelineStyles.forEach((d,l)=>{this._currentKeyframe.has(l)||this._currentKeyframe.set(l,d)}))}snapshotCurrentStyles(){for(let[d,l]of this._localTimelineStyles)this._pendingStyles.set(d,l),this._updateStyle(d,l)}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){const d=[];for(let l in this._currentKeyframe)d.push(l);return d}mergeTimelineCollectedStyles(d){d._styleSummary.forEach((l,m)=>{const L=this._styleSummary.get(m);(!L||l.time>L.time)&&this._updateStyle(m,l.value)})}buildKeyframes(){this.applyStylesToKeyframe();const d=new Set,l=new Set,m=1===this._keyframes.size&&0===this.duration;let L=[];this._keyframes.forEach((Pt,Ft)=>{const qt=Wn(Pt,new Map,this._backFill);qt.forEach((Ae,$e)=>{Ae===S.FX?d.add($e):Ae===S.kp&&l.add($e)}),m||qt.set("offset",Ft/this.duration),L.push(qt)});const R=d.size?ie(d.values()):[],ht=l.size?ie(l.values()):[];if(m){const Pt=L[0],Ft=new Map(Pt);Pt.set("offset",0),Ft.set("offset",1),L=[Pt,Ft]}return $r(this.element,L,R,ht,this.duration,this.startTime,this.easing,!1)}}class It extends nt{constructor(d,l,m,L,R,ht,Pt=!1){super(d,l,ht.delay),this.keyframes=m,this.preStyleProps=L,this.postStyleProps=R,this._stretchStartingKeyframe=Pt,this.timings={duration:ht.duration,delay:ht.delay,easing:ht.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let d=this.keyframes,{delay:l,duration:m,easing:L}=this.timings;if(this._stretchStartingKeyframe&&l){const R=[],ht=m+l,Pt=l/ht,Ft=Wn(d[0]);Ft.set("offset",0),R.push(Ft);const qt=Wn(d[0]);qt.set("offset",ge(Pt)),R.push(qt);const Ae=d.length-1;for(let $e=1;$e<=Ae;$e++){let mn=Wn(d[$e]);const Pn=mn.get("offset");mn.set("offset",ge((l+Pn*m)/ht)),R.push(mn)}m=ht,l=0,L="",d=R}return $r(this.element,d,this.preStyleProps,this.postStyleProps,m,l,L,!0)}}function ge(f,d=3){const l=Math.pow(10,d-1);return Math.round(f*l)/l}class An{}const Xn=new Set(["width","height","minWidth","minHeight","maxWidth","maxHeight","left","top","bottom","right","fontSize","outlineWidth","outlineOffset","paddingTop","paddingLeft","paddingBottom","paddingRight","marginTop","marginLeft","marginBottom","marginRight","borderRadius","borderWidth","borderTopWidth","borderLeftWidth","borderRightWidth","borderBottomWidth","textIndent","perspective"]);class yc extends An{normalizePropertyName(d,l){return Ue(d)}normalizeStyleValue(d,l,m,L){let R="";const ht=m.toString().trim();if(Xn.has(l)&&0!==m&&"0"!==m)if("number"==typeof m)R="px";else{const Pt=m.match(/^[+-]?[\d\.]+([a-z]*)$/);Pt&&0==Pt[1].length&&L.push(function ec(f,d){return new a.wOt(3005,!1)}())}return ht+R}}function rr(f,d,l,m,L,R,ht,Pt,Ft,qt,Ae,$e,mn){return{type:0,element:f,triggerName:d,isRemovalTransition:L,fromState:l,fromStyles:R,toState:m,toStyles:ht,timelines:Pt,queriedElements:Ft,preStyleProps:qt,postStyleProps:Ae,totalTime:$e,errors:mn}}const Kc={};class Gc{constructor(d,l,m){this._triggerName=d,this.ast=l,this._stateStyles=m}match(d,l,m,L){return function Qa(f,d,l,m,L){return f.some(R=>R(d,l,m,L))}(this.ast.matchers,d,l,m,L)}buildStyles(d,l,m){let L=this._stateStyles.get("*");return void 0!==d&&(L=this._stateStyles.get(d?.toString())||L),L?L.buildStyles(l,m):new Map}build(d,l,m,L,R,ht,Pt,Ft,qt,Ae){const $e=[],mn=this.ast.options&&this.ast.options.params||Kc,dn=this.buildStyles(m,Pt&&Pt.params||Kc,$e),wn=Ft&&Ft.params||Kc,ri=this.buildStyles(L,wn,$e),fi=new Set,oo=new Map,No=new Map,ao="void"===L,Er={params:Wl(wn,mn),delay:this.ast.options?.delay},Xo=Ae?[]:x(d,l,this.ast.animation,R,ht,dn,ri,Er,qt,$e);let Ro=0;if(Xo.forEach(ar=>{Ro=Math.max(ar.duration+ar.delay,Ro)}),$e.length)return rr(l,this._triggerName,m,L,ao,dn,ri,[],[],oo,No,Ro,$e);Xo.forEach(ar=>{const cc=ar.element,h2=$i(oo,cc,new Set);ar.preStyleProps.forEach(lr=>h2.add(lr));const ls=$i(No,cc,new Set);ar.postStyleProps.forEach(lr=>ls.add(lr)),cc!==l&&fi.add(cc)});const oc=ie(fi.values());return rr(l,this._triggerName,m,L,ao,dn,ri,Xo,oc,oo,No,Ro)}}function Wl(f,d){const l=no(d);for(const m in f)f.hasOwnProperty(m)&&null!=f[m]&&(l[m]=f[m]);return l}class Io{constructor(d,l,m){this.styles=d,this.defaultParams=l,this.normalizer=m}buildStyles(d,l){const m=new Map,L=no(this.defaultParams);return Object.keys(d).forEach(R=>{const ht=d[R];null!==ht&&(L[R]=ht)}),this.styles.styles.forEach(R=>{"string"!=typeof R&&R.forEach((ht,Pt)=>{ht&&(ht=St(ht,L,l));const Ft=this.normalizer.normalizePropertyName(Pt,l);ht=this.normalizer.normalizeStyleValue(Pt,Ft,ht,l),m.set(Pt,ht)})}),m}}class Ei{constructor(d,l,m){this.name=d,this.ast=l,this._normalizer=m,this.transitionFactories=[],this.states=new Map,l.states.forEach(L=>{this.states.set(L.name,new Io(L.style,L.options&&L.options.params||{},m))}),o2(this.states,"true","1"),o2(this.states,"false","0"),l.transitions.forEach(L=>{this.transitionFactories.push(new Gc(d,L,this.states))}),this.fallbackTransition=function n2(f,d,l){return new Gc(f,{type:1,animation:{type:2,steps:[],options:null},matchers:[(ht,Pt)=>!0],options:null,queryCount:0,depCount:0},d)}(d,this.states)}get containsQueries(){return this.ast.queryCount>0}matchTransition(d,l,m,L){return this.transitionFactories.find(ht=>ht.match(d,l,m,L))||null}matchStyles(d,l,m){return this.fallbackTransition.buildStyles(d,l,m)}}function o2(f,d,l){f.has(d)?f.has(l)||f.set(l,f.get(d)):f.has(l)&&f.set(d,f.get(l))}const c2=new Hs;class Kl{constructor(d,l,m){this.bodyNode=d,this._driver=l,this._normalizer=m,this._animations=new Map,this._playersById=new Map,this.players=[]}register(d,l){const m=[],R=Re(this._driver,l,m,[]);if(m.length)throw function nr(f){return new a.wOt(3503,!1)}();this._animations.set(d,R)}_buildPlayer(d,l,m){const L=d.element,R=Cr(this._normalizer,d.keyframes,l,m);return this._driver.animate(L,R,d.duration,d.delay,d.easing,[],!0)}create(d,l,m={}){const L=[],R=this._animations.get(d);let ht;const Pt=new Map;if(R?(ht=x(this._driver,l,R,ti,Un,new Map,new Map,m,c2,L),ht.forEach(Ae=>{const $e=$i(Pt,Ae.element,new Map);Ae.postStyleProps.forEach(mn=>$e.set(mn,null))})):(L.push(function bc(){return new a.wOt(3300,!1)}()),ht=[]),L.length)throw function Uc(f){return new a.wOt(3504,!1)}();Pt.forEach((Ae,$e)=>{Ae.forEach((mn,Pn)=>{Ae.set(Pn,this._driver.computeStyle($e,Pn,S.kp))})});const qt=po(ht.map(Ae=>{const $e=Pt.get(Ae.element);return this._buildPlayer(Ae,new Map,$e)}));return this._playersById.set(d,qt),qt.onDestroy(()=>this.destroy(d)),this.players.push(qt),qt}destroy(d){const l=this._getPlayer(d);l.destroy(),this._playersById.delete(d);const m=this.players.indexOf(l);m>=0&&this.players.splice(m,1)}_getPlayer(d){const l=this._playersById.get(d);if(!l)throw function ir(f){return new a.wOt(3301,!1)}();return l}listen(d,l,m,L){const R=Ic(l,"","","");return or(this._getPlayer(d),m,R,L),()=>{}}command(d,l,m,L){if("register"==m)return void this.register(d,L[0]);if("create"==m)return void this.create(d,l,L[0]||{});const R=this._getPlayer(d);switch(m){case"play":R.play();break;case"pause":R.pause();break;case"reset":R.reset();break;case"restart":R.restart();break;case"finish":R.finish();break;case"init":R.init();break;case"setPosition":R.setPosition(parseFloat(L[0]));break;case"destroy":this.destroy(d)}}}const Za="ng-animate-queued",es="ng-animate-disabled",Ws=[],xs={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},ns={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},Mc="__ng_removed";class Ks{get params(){return this.options.params}constructor(d,l=""){this.namespaceId=l;const m=d&&d.hasOwnProperty("value");if(this.value=function Sd(f){return f??null}(m?d.value:d),m){const R=no(d);delete R.value,this.options=R}else this.options={};this.options.params||(this.options.params={})}absorbOptions(d){const l=d.params;if(l){const m=this.options.params;Object.keys(l).forEach(L=>{null==m[L]&&(m[L]=l[L])})}}}const Cs="void",wr=new Ks(Cs);class ys{constructor(d,l,m){this.id=d,this.hostElement=l,this._engine=m,this.players=[],this._triggers=new Map,this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+d,_o(l,this._hostClassName)}listen(d,l,m,L){if(!this._triggers.has(l))throw function br(f,d){return new a.wOt(3302,!1)}();if(null==m||0==m.length)throw function vr(f){return new a.wOt(3303,!1)}();if(!function Xl(f){return"start"==f||"done"==f}(m))throw function Rr(f,d){return new a.wOt(3400,!1)}();const R=$i(this._elementListeners,d,[]),ht={name:l,phase:m,callback:L};R.push(ht);const Pt=$i(this._engine.statesByElement,d,new Map);return Pt.has(l)||(_o(d,Sn),_o(d,Sn+"-"+l),Pt.set(l,wr)),()=>{this._engine.afterFlush(()=>{const Ft=R.indexOf(ht);Ft>=0&&R.splice(Ft,1),this._triggers.has(l)||Pt.delete(l)})}}register(d,l){return!this._triggers.has(d)&&(this._triggers.set(d,l),!0)}_getTrigger(d){const l=this._triggers.get(d);if(!l)throw function Ac(f){return new a.wOt(3401,!1)}();return l}trigger(d,l,m,L=!0){const R=this._getTrigger(l),ht=new a2(this.id,l,d);let Pt=this._engine.statesByElement.get(d);Pt||(_o(d,Sn),_o(d,Sn+"-"+l),this._engine.statesByElement.set(d,Pt=new Map));let Ft=Pt.get(l);const qt=new Ks(m,this.id);if(!(m&&m.hasOwnProperty("value"))&&Ft&&qt.absorbOptions(Ft.options),Pt.set(l,qt),Ft||(Ft=wr),qt.value!==Cs&&Ft.value===qt.value){if(!function Zl(f,d){const l=Object.keys(f),m=Object.keys(d);if(l.length!=m.length)return!1;for(let L=0;L{Go(d,ri),io(d,fi)})}return}const mn=$i(this._engine.playersByElement,d,[]);mn.forEach(wn=>{wn.namespaceId==this.id&&wn.triggerName==l&&wn.queued&&wn.destroy()});let Pn=R.matchTransition(Ft.value,qt.value,d,qt.params),dn=!1;if(!Pn){if(!L)return;Pn=R.fallbackTransition,dn=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:d,triggerName:l,transition:Pn,fromState:Ft,toState:qt,player:ht,isFallbackTransition:dn}),dn||(_o(d,Za),ht.onStart(()=>{is(d,Za)})),ht.onDone(()=>{let wn=this.players.indexOf(ht);wn>=0&&this.players.splice(wn,1);const ri=this._engine.playersByElement.get(d);if(ri){let fi=ri.indexOf(ht);fi>=0&&ri.splice(fi,1)}}),this.players.push(ht),mn.push(ht),ht}deregister(d){this._triggers.delete(d),this._engine.statesByElement.forEach(l=>l.delete(d)),this._elementListeners.forEach((l,m)=>{this._elementListeners.set(m,l.filter(L=>L.name!=d))})}clearElementCache(d){this._engine.statesByElement.delete(d),this._elementListeners.delete(d);const l=this._engine.playersByElement.get(d);l&&(l.forEach(m=>m.destroy()),this._engine.playersByElement.delete(d))}_signalRemovalForInnerTriggers(d,l){const m=this._engine.driver.query(d,Zn,!0);m.forEach(L=>{if(L[Mc])return;const R=this._engine.fetchNamespacesByElement(L);R.size?R.forEach(ht=>ht.triggerLeaveAnimation(L,l,!1,!0)):this.clearElementCache(L)}),this._engine.afterFlushAnimationsDone(()=>m.forEach(L=>this.clearElementCache(L)))}triggerLeaveAnimation(d,l,m,L){const R=this._engine.statesByElement.get(d),ht=new Map;if(R){const Pt=[];if(R.forEach((Ft,qt)=>{if(ht.set(qt,Ft.value),this._triggers.has(qt)){const Ae=this.trigger(d,qt,Cs,L);Ae&&Pt.push(Ae)}}),Pt.length)return this._engine.markElementAsRemoved(this.id,d,!0,l,ht),m&&po(Pt).onDone(()=>this._engine.processLeaveNode(d)),!0}return!1}prepareLeaveAnimationListeners(d){const l=this._elementListeners.get(d),m=this._engine.statesByElement.get(d);if(l&&m){const L=new Set;l.forEach(R=>{const ht=R.name;if(L.has(ht))return;L.add(ht);const Ft=this._triggers.get(ht).fallbackTransition,qt=m.get(ht)||wr,Ae=new Ks(Cs),$e=new a2(this.id,ht,d);this._engine.totalQueuedPlayers++,this._queue.push({element:d,triggerName:ht,transition:Ft,fromState:qt,toState:Ae,player:$e,isFallbackTransition:!0})})}}removeNode(d,l){const m=this._engine;if(d.childElementCount&&this._signalRemovalForInnerTriggers(d,l),this.triggerLeaveAnimation(d,l,!0))return;let L=!1;if(m.totalAnimations){const R=m.players.length?m.playersByQueriedElement.get(d):[];if(R&&R.length)L=!0;else{let ht=d;for(;ht=ht.parentNode;)if(m.statesByElement.get(ht)){L=!0;break}}}if(this.prepareLeaveAnimationListeners(d),L)m.markElementAsRemoved(this.id,d,!1,l);else{const R=d[Mc];(!R||R===xs)&&(m.afterFlush(()=>this.clearElementCache(d)),m.destroyInnerAnimations(d),m._onRemovalComplete(d,l))}}insertNode(d,l){_o(d,this._hostClassName)}drainQueuedTransitions(d){const l=[];return this._queue.forEach(m=>{const L=m.player;if(L.destroyed)return;const R=m.element,ht=this._elementListeners.get(R);ht&&ht.forEach(Pt=>{if(Pt.name==m.triggerName){const Ft=Ic(R,m.triggerName,m.fromState.value,m.toState.value);Ft._data=d,or(m.player,Pt.phase,Ft,Pt.callback)}}),L.markedForDestroy?this._engine.afterFlush(()=>{L.destroy()}):l.push(m)}),this._queue=[],l.sort((m,L)=>{const R=m.transition.ast.depCount,ht=L.transition.ast.depCount;return 0==R||0==ht?R-ht:this._engine.driver.containsElement(m.element,L.element)?1:-1})}destroy(d){this.players.forEach(l=>l.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,d)}}class s2{_onRemovalComplete(d,l){this.onRemovalComplete(d,l)}constructor(d,l,m){this.bodyNode=d,this.driver=l,this._normalizer=m,this.players=[],this.newHostElements=new Map,this.playersByElement=new Map,this.playersByQueriedElement=new Map,this.statesByElement=new Map,this.disabledNodes=new Set,this.totalAnimations=0,this.totalQueuedPlayers=0,this._namespaceLookup={},this._namespaceList=[],this._flushFns=[],this._whenQuietFns=[],this.namespacesByHostElement=new Map,this.collectedEnterElements=[],this.collectedLeaveElements=[],this.onRemovalComplete=(L,R)=>{}}get queuedPlayers(){const d=[];return this._namespaceList.forEach(l=>{l.players.forEach(m=>{m.queued&&d.push(m)})}),d}createNamespace(d,l){const m=new ys(d,l,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,l)?this._balanceNamespaceList(m,l):(this.newHostElements.set(l,m),this.collectEnterElement(l)),this._namespaceLookup[d]=m}_balanceNamespaceList(d,l){const m=this._namespaceList,L=this.namespacesByHostElement;if(m.length-1>=0){let ht=!1,Pt=this.driver.getParentElement(l);for(;Pt;){const Ft=L.get(Pt);if(Ft){const qt=m.indexOf(Ft);m.splice(qt+1,0,d),ht=!0;break}Pt=this.driver.getParentElement(Pt)}ht||m.unshift(d)}else m.push(d);return L.set(l,d),d}register(d,l){let m=this._namespaceLookup[d];return m||(m=this.createNamespace(d,l)),m}registerTrigger(d,l,m){let L=this._namespaceLookup[d];L&&L.register(l,m)&&this.totalAnimations++}destroy(d,l){d&&(this.afterFlush(()=>{}),this.afterFlushAnimationsDone(()=>{const m=this._fetchNamespace(d);this.namespacesByHostElement.delete(m.hostElement);const L=this._namespaceList.indexOf(m);L>=0&&this._namespaceList.splice(L,1),m.destroy(l),delete this._namespaceLookup[d]}))}_fetchNamespace(d){return this._namespaceLookup[d]}fetchNamespacesByElement(d){const l=new Set,m=this.statesByElement.get(d);if(m)for(let L of m.values())if(L.namespaceId){const R=this._fetchNamespace(L.namespaceId);R&&l.add(R)}return l}trigger(d,l,m,L){if(Xs(l)){const R=this._fetchNamespace(d);if(R)return R.trigger(l,m,L),!0}return!1}insertNode(d,l,m,L){if(!Xs(l))return;const R=l[Mc];if(R&&R.setForRemoval){R.setForRemoval=!1,R.setForMove=!0;const ht=this.collectedLeaveElements.indexOf(l);ht>=0&&this.collectedLeaveElements.splice(ht,1)}if(d){const ht=this._fetchNamespace(d);ht&&ht.insertNode(l,m)}L&&this.collectEnterElement(l)}collectEnterElement(d){this.collectedEnterElements.push(d)}markElementAsDisabled(d,l){l?this.disabledNodes.has(d)||(this.disabledNodes.add(d),_o(d,es)):this.disabledNodes.has(d)&&(this.disabledNodes.delete(d),is(d,es))}removeNode(d,l,m){if(Xs(l)){const L=d?this._fetchNamespace(d):null;L?L.removeNode(l,m):this.markElementAsRemoved(d,l,!1,m);const R=this.namespacesByHostElement.get(l);R&&R.id!==d&&R.removeNode(l,m)}else this._onRemovalComplete(l,m)}markElementAsRemoved(d,l,m,L,R){this.collectedLeaveElements.push(l),l[Mc]={namespaceId:d,setForRemoval:L,hasAnimation:m,removedBeforeQueried:!1,previousTriggersValues:R}}listen(d,l,m,L,R){return Xs(l)?this._fetchNamespace(d).listen(l,m,L,R):()=>{}}_buildInstruction(d,l,m,L,R){return d.transition.build(this.driver,d.element,d.fromState.value,d.toState.value,m,L,d.fromState.options,d.toState.options,l,R)}destroyInnerAnimations(d){let l=this.driver.query(d,Zn,!0);l.forEach(m=>this.destroyActiveAnimationsForElement(m)),0!=this.playersByQueriedElement.size&&(l=this.driver.query(d,vi,!0),l.forEach(m=>this.finishActiveQueriedAnimationOnElement(m)))}destroyActiveAnimationsForElement(d){const l=this.playersByElement.get(d);l&&l.forEach(m=>{m.queued?m.markedForDestroy=!0:m.destroy()})}finishActiveQueriedAnimationOnElement(d){const l=this.playersByQueriedElement.get(d);l&&l.forEach(m=>m.finish())}whenRenderingDone(){return new Promise(d=>{if(this.players.length)return po(this.players).onDone(()=>d());d()})}processLeaveNode(d){const l=d[Mc];if(l&&l.setForRemoval){if(d[Mc]=xs,l.namespaceId){this.destroyInnerAnimations(d);const m=this._fetchNamespace(l.namespaceId);m&&m.clearElementCache(d)}this._onRemovalComplete(d,l.setForRemoval)}d.classList?.contains(es)&&this.markElementAsDisabled(d,!1),this.driver.query(d,".ng-animate-disabled",!0).forEach(m=>{this.markElementAsDisabled(m,!1)})}flush(d=-1){let l=[];if(this.newHostElements.size&&(this.newHostElements.forEach((m,L)=>this._balanceNamespaceList(m,L)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let m=0;mm()),this._flushFns=[],this._whenQuietFns.length){const m=this._whenQuietFns;this._whenQuietFns=[],l.length?po(l).onDone(()=>{m.forEach(L=>L())}):m.forEach(L=>L())}}reportError(d){throw function _r(f){return new a.wOt(3402,!1)}()}_flushAnimations(d,l){const m=new Hs,L=[],R=new Map,ht=[],Pt=new Map,Ft=new Map,qt=new Map,Ae=new Set;this.disabledNodes.forEach(fn=>{Ae.add(fn);const Ln=this.driver.query(fn,".ng-animate-queued",!0);for(let yn=0;yn{const yn=ti+wn++;dn.set(Ln,yn),fn.forEach(Yn=>_o(Yn,yn))});const ri=[],fi=new Set,oo=new Set;for(let fn=0;fnfi.add(Yn)):oo.add(Ln))}const No=new Map,ao=Ys(mn,Array.from(fi));ao.forEach((fn,Ln)=>{const yn=Un+wn++;No.set(Ln,yn),fn.forEach(Yn=>_o(Yn,yn))}),d.push(()=>{Pn.forEach((fn,Ln)=>{const yn=dn.get(Ln);fn.forEach(Yn=>is(Yn,yn))}),ao.forEach((fn,Ln)=>{const yn=No.get(Ln);fn.forEach(Yn=>is(Yn,yn))}),ri.forEach(fn=>{this.processLeaveNode(fn)})});const Er=[],Xo=[];for(let fn=this._namespaceList.length-1;fn>=0;fn--)this._namespaceList[fn].drainQueuedTransitions(l).forEach(yn=>{const Yn=yn.player,Zi=yn.element;if(Er.push(Yn),this.collectedEnterElements.length){const Co=Zi[Mc];if(Co&&Co.setForMove){if(Co.previousTriggersValues&&Co.previousTriggersValues.has(yn.triggerName)){const Fc=Co.previousTriggersValues.get(yn.triggerName),rc=this.statesByElement.get(yn.element);if(rc&&rc.has(yn.triggerName)){const ia=rc.get(yn.triggerName);ia.value=Fc,rc.set(yn.triggerName,ia)}}return void Yn.destroy()}}const dr=!$e||!this.driver.containsElement($e,Zi),Yo=No.get(Zi),Dr=dn.get(Zi),Di=this._buildInstruction(yn,m,Dr,Yo,dr);if(Di.errors&&Di.errors.length)return void Xo.push(Di);if(dr)return Yn.onStart(()=>Go(Zi,Di.fromStyles)),Yn.onDestroy(()=>io(Zi,Di.toStyles)),void L.push(Yn);if(yn.isFallbackTransition)return Yn.onStart(()=>Go(Zi,Di.fromStyles)),Yn.onDestroy(()=>io(Zi,Di.toStyles)),void L.push(Yn);const p2=[];Di.timelines.forEach(Co=>{Co.stretchStartingKeyframe=!0,this.disabledNodes.has(Co.element)||p2.push(Co)}),Di.timelines=p2,m.append(Zi,Di.timelines),ht.push({instruction:Di,player:Yn,element:Zi}),Di.queriedElements.forEach(Co=>$i(Pt,Co,[]).push(Yn)),Di.preStyleProps.forEach((Co,Fc)=>{if(Co.size){let rc=Ft.get(Fc);rc||Ft.set(Fc,rc=new Set),Co.forEach((ia,oa)=>rc.add(oa))}}),Di.postStyleProps.forEach((Co,Fc)=>{let rc=qt.get(Fc);rc||qt.set(Fc,rc=new Set),Co.forEach((ia,oa)=>rc.add(oa))})});if(Xo.length){const fn=[];Xo.forEach(Ln=>{fn.push(function vc(f,d){return new a.wOt(3505,!1)}())}),Er.forEach(Ln=>Ln.destroy()),this.reportError(fn)}const Ro=new Map,oc=new Map;ht.forEach(fn=>{const Ln=fn.element;m.has(Ln)&&(oc.set(Ln,Ln),this._beforeAnimationBuild(fn.player.namespaceId,fn.instruction,Ro))}),L.forEach(fn=>{const Ln=fn.element;this._getPreviousPlayers(Ln,!1,fn.namespaceId,fn.triggerName,null).forEach(Yn=>{$i(Ro,Ln,[]).push(Yn),Yn.destroy()})});const ar=ri.filter(fn=>qa(fn,Ft,qt)),cc=new Map;Ql(cc,this.driver,oo,qt,S.kp).forEach(fn=>{qa(fn,Ft,qt)&&ar.push(fn)});const ls=new Map;Pn.forEach((fn,Ln)=>{Ql(ls,this.driver,new Set(fn),Ft,S.FX)}),ar.forEach(fn=>{const Ln=cc.get(fn),yn=ls.get(fn);cc.set(fn,new Map([...Ln?.entries()??[],...yn?.entries()??[]]))});const lr=[],Ss=[],na={};ht.forEach(fn=>{const{element:Ln,player:yn,instruction:Yn}=fn;if(m.has(Ln)){if(Ae.has(Ln))return yn.onDestroy(()=>io(Ln,Yn.toStyles)),yn.disabled=!0,yn.overrideTotalTime(Yn.totalTime),void L.push(yn);let Zi=na;if(oc.size>1){let Yo=Ln;const Dr=[];for(;Yo=Yo.parentNode;){const Di=oc.get(Yo);if(Di){Zi=Di;break}Dr.push(Yo)}Dr.forEach(Di=>oc.set(Di,Zi))}const dr=this._buildAnimation(yn.namespaceId,Yn,Ro,R,ls,cc);if(yn.setRealPlayer(dr),Zi===na)lr.push(yn);else{const Yo=this.playersByElement.get(Zi);Yo&&Yo.length&&(yn.parentPlayer=po(Yo)),L.push(yn)}}else Go(Ln,Yn.fromStyles),yn.onDestroy(()=>io(Ln,Yn.toStyles)),Ss.push(yn),Ae.has(Ln)&&L.push(yn)}),Ss.forEach(fn=>{const Ln=R.get(fn.element);if(Ln&&Ln.length){const yn=po(Ln);fn.setRealPlayer(yn)}}),L.forEach(fn=>{fn.parentPlayer?fn.syncPlayerEvents(fn.parentPlayer):fn.destroy()});for(let fn=0;fn!dr.destroyed);Zi.length?Ms(this,Ln,Zi):this.processLeaveNode(Ln)}return ri.length=0,lr.forEach(fn=>{this.players.push(fn),fn.onDone(()=>{fn.destroy();const Ln=this.players.indexOf(fn);this.players.splice(Ln,1)}),fn.play()}),lr}afterFlush(d){this._flushFns.push(d)}afterFlushAnimationsDone(d){this._whenQuietFns.push(d)}_getPreviousPlayers(d,l,m,L,R){let ht=[];if(l){const Pt=this.playersByQueriedElement.get(d);Pt&&(ht=Pt)}else{const Pt=this.playersByElement.get(d);if(Pt){const Ft=!R||R==Cs;Pt.forEach(qt=>{qt.queued||!Ft&&qt.triggerName!=L||ht.push(qt)})}}return(m||L)&&(ht=ht.filter(Pt=>!(m&&m!=Pt.namespaceId||L&&L!=Pt.triggerName))),ht}_beforeAnimationBuild(d,l,m){const R=l.element,ht=l.isRemovalTransition?void 0:d,Pt=l.isRemovalTransition?void 0:l.triggerName;for(const Ft of l.timelines){const qt=Ft.element,Ae=qt!==R,$e=$i(m,qt,[]);this._getPreviousPlayers(qt,Ae,ht,Pt,l.toState).forEach(Pn=>{const dn=Pn.getRealPlayer();dn.beforeDestroy&&dn.beforeDestroy(),Pn.destroy(),$e.push(Pn)})}Go(R,l.fromStyles)}_buildAnimation(d,l,m,L,R,ht){const Pt=l.triggerName,Ft=l.element,qt=[],Ae=new Set,$e=new Set,mn=l.timelines.map(dn=>{const wn=dn.element;Ae.add(wn);const ri=wn[Mc];if(ri&&ri.removedBeforeQueried)return new S.sf(dn.duration,dn.delay);const fi=wn!==Ft,oo=function Ja(f){const d=[];return ws(f,d),d}((m.get(wn)||Ws).map(Ro=>Ro.getRealPlayer())).filter(Ro=>!!Ro.element&&Ro.element===wn),No=R.get(wn),ao=ht.get(wn),Er=Cr(this._normalizer,dn.keyframes,No,ao),Xo=this._buildPlayer(dn,Er,oo);if(dn.subTimeline&&L&&$e.add(wn),fi){const Ro=new a2(d,Pt,wn);Ro.setRealPlayer(Xo),qt.push(Ro)}return Xo});qt.forEach(dn=>{$i(this.playersByQueriedElement,dn.element,[]).push(dn),dn.onDone(()=>function Gs(f,d,l){let m=f.get(d);if(m){if(m.length){const L=m.indexOf(l);m.splice(L,1)}0==m.length&&f.delete(d)}return m}(this.playersByQueriedElement,dn.element,dn))}),Ae.forEach(dn=>_o(dn,ii));const Pn=po(mn);return Pn.onDestroy(()=>{Ae.forEach(dn=>is(dn,ii)),io(Ft,l.toStyles)}),$e.forEach(dn=>{$i(L,dn,[]).push(Pn)}),Pn}_buildPlayer(d,l,m){return l.length>0?this.driver.animate(d.element,l,d.duration,d.delay,d.easing,m):new S.sf(d.duration,d.delay)}}class a2{constructor(d,l,m){this.namespaceId=d,this.triggerName=l,this.element=m,this._player=new S.sf,this._containsRealPlayer=!1,this._queuedCallbacks=new Map,this.destroyed=!1,this.parentPlayer=null,this.markedForDestroy=!1,this.disabled=!1,this.queued=!0,this.totalTime=0}setRealPlayer(d){this._containsRealPlayer||(this._player=d,this._queuedCallbacks.forEach((l,m)=>{l.forEach(L=>or(d,m,void 0,L))}),this._queuedCallbacks.clear(),this._containsRealPlayer=!0,this.overrideTotalTime(d.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(d){this.totalTime=d}syncPlayerEvents(d){const l=this._player;l.triggerCallback&&d.onStart(()=>l.triggerCallback("start")),d.onDone(()=>this.finish()),d.onDestroy(()=>this.destroy())}_queueEvent(d,l){$i(this._queuedCallbacks,d,[]).push(l)}onDone(d){this.queued&&this._queueEvent("done",d),this._player.onDone(d)}onStart(d){this.queued&&this._queueEvent("start",d),this._player.onStart(d)}onDestroy(d){this.queued&&this._queueEvent("destroy",d),this._player.onDestroy(d)}init(){this._player.init()}hasStarted(){return!this.queued&&this._player.hasStarted()}play(){!this.queued&&this._player.play()}pause(){!this.queued&&this._player.pause()}restart(){!this.queued&&this._player.restart()}finish(){this._player.finish()}destroy(){this.destroyed=!0,this._player.destroy()}reset(){!this.queued&&this._player.reset()}setPosition(d){this.queued||this._player.setPosition(d)}getPosition(){return this.queued?0:this._player.getPosition()}triggerCallback(d){const l=this._player;l.triggerCallback&&l.triggerCallback(d)}}function Xs(f){return f&&1===f.nodeType}function Yl(f,d){const l=f.style.display;return f.style.display=d??"none",l}function Ql(f,d,l,m,L){const R=[];l.forEach(Ft=>R.push(Yl(Ft)));const ht=[];m.forEach((Ft,qt)=>{const Ae=new Map;Ft.forEach($e=>{const mn=d.computeStyle(qt,$e,L);Ae.set($e,mn),(!mn||0==mn.length)&&(qt[Mc]=ns,ht.push(qt))}),f.set(qt,Ae)});let Pt=0;return l.forEach(Ft=>Yl(Ft,R[Pt++])),ht}function Ys(f,d){const l=new Map;if(f.forEach(Pt=>l.set(Pt,[])),0==d.length)return l;const L=new Set(d),R=new Map;function ht(Pt){if(!Pt)return 1;let Ft=R.get(Pt);if(Ft)return Ft;const qt=Pt.parentNode;return Ft=l.has(qt)?qt:L.has(qt)?1:ht(qt),R.set(Pt,Ft),Ft}return d.forEach(Pt=>{const Ft=ht(Pt);1!==Ft&&l.get(Ft).push(Pt)}),l}function _o(f,d){f.classList?.add(d)}function is(f,d){f.classList?.remove(d)}function Ms(f,d,l){po(l).onDone(()=>f.processLeaveNode(d))}function ws(f,d){for(let l=0;lL.add(R)):d.set(f,m),l.delete(f),!0}class os{constructor(d,l,m){this.bodyNode=d,this._driver=l,this._normalizer=m,this._triggerCache={},this.onRemovalComplete=(L,R)=>{},this._transitionEngine=new s2(d,l,m),this._timelineEngine=new Kl(d,l,m),this._transitionEngine.onRemovalComplete=(L,R)=>this.onRemovalComplete(L,R)}registerTrigger(d,l,m,L,R){const ht=d+"-"+L;let Pt=this._triggerCache[ht];if(!Pt){const Ft=[],Ae=Re(this._driver,R,Ft,[]);if(Ft.length)throw function Nr(f,d){return new a.wOt(3404,!1)}();Pt=function yr(f,d,l){return new Ei(f,d,l)}(L,Ae,this._normalizer),this._triggerCache[ht]=Pt}this._transitionEngine.registerTrigger(l,L,Pt)}register(d,l){this._transitionEngine.register(d,l)}destroy(d,l){this._transitionEngine.destroy(d,l)}onInsert(d,l,m,L){this._transitionEngine.insertNode(d,l,m,L)}onRemove(d,l,m){this._transitionEngine.removeNode(d,l,m)}disableAnimations(d,l){this._transitionEngine.markElementAsDisabled(d,l)}process(d,l,m,L){if("@"==m.charAt(0)){const[R,ht]=Fr(m);this._timelineEngine.command(R,l,ht,L)}else this._transitionEngine.trigger(d,l,m,L)}listen(d,l,m,L,R){if("@"==m.charAt(0)){const[ht,Pt]=Fr(m);return this._timelineEngine.listen(ht,l,Pt,R)}return this._transitionEngine.listen(d,l,m,L,R)}flush(d=-1){this._transitionEngine.flush(d)}get players(){return[...this._transitionEngine.players,...this._timelineEngine.players]}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}afterFlushAnimationsDone(d){this._transitionEngine.afterFlushAnimationsDone(d)}}let Xc=(()=>{class f{static{this.initialStylesByElement=new WeakMap}constructor(l,m,L){this._element=l,this._startStyles=m,this._endStyles=L,this._state=0;let R=f.initialStylesByElement.get(l);R||f.initialStylesByElement.set(l,R=new Map),this._initialStyles=R}start(){this._state<1&&(this._startStyles&&io(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(io(this._element,this._initialStyles),this._endStyles&&(io(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(f.initialStylesByElement.delete(this._element),this._startStyles&&(Go(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(Go(this._element,this._endStyles),this._endStyles=null),io(this._element,this._initialStyles),this._state=3)}}return f})();function t1(f){let d=null;return f.forEach((l,m)=>{(function Qs(f){return"display"===f||"position"===f})(m)&&(d=d||new Map,d.set(m,l))}),d}class Zs{constructor(d,l,m,L){this.element=d,this.keyframes=l,this.options=m,this._specialStyles=L,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._initialized=!1,this._finished=!1,this._started=!1,this._destroyed=!1,this._originalOnDoneFns=[],this._originalOnStartFns=[],this.time=0,this.parentPlayer=null,this.currentSnapshot=new Map,this._duration=m.duration,this._delay=m.delay||0,this.time=this._duration+this._delay}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(d=>d()),this._onDoneFns=[])}init(){this._buildPlayer(),this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return;this._initialized=!0;const d=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,d,this.options),this._finalKeyframe=d.length?d[d.length-1]:new Map;const l=()=>this._onFinish();this.domPlayer.addEventListener("finish",l),this.onDestroy(()=>{this.domPlayer.removeEventListener("finish",l)})}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}_convertKeyframesToObject(d){const l=[];return d.forEach(m=>{l.push(Object.fromEntries(m))}),l}_triggerWebAnimation(d,l,m){return d.animate(this._convertKeyframesToObject(l),m)}onStart(d){this._originalOnStartFns.push(d),this._onStartFns.push(d)}onDone(d){this._originalOnDoneFns.push(d),this._onDoneFns.push(d)}onDestroy(d){this._onDestroyFns.push(d)}play(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach(d=>d()),this._onStartFns=[],this._started=!0,this._specialStyles&&this._specialStyles.start()),this.domPlayer.play()}pause(){this.init(),this.domPlayer.pause()}finish(){this.init(),this._specialStyles&&this._specialStyles.finish(),this._onFinish(),this.domPlayer.finish()}reset(){this._resetDomPlayerState(),this._destroyed=!1,this._finished=!1,this._started=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}_resetDomPlayerState(){this.domPlayer&&this.domPlayer.cancel()}restart(){this.reset(),this.play()}hasStarted(){return this._started}destroy(){this._destroyed||(this._destroyed=!0,this._resetDomPlayerState(),this._onFinish(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach(d=>d()),this._onDestroyFns=[])}setPosition(d){void 0===this.domPlayer&&this.init(),this.domPlayer.currentTime=d*this.time}getPosition(){return+(this.domPlayer.currentTime??0)/this.time}get totalTime(){return this._delay+this._duration}beforeDestroy(){const d=new Map;this.hasStarted()&&this._finalKeyframe.forEach((m,L)=>{"offset"!==L&&d.set(L,this._finished?m:Kn(this.element,L))}),this.currentSnapshot=d}triggerCallback(d){const l="start"===d?this._onStartFns:this._onDoneFns;l.forEach(m=>m()),l.length=0}}class Ls{validateStyleProperty(d){return!0}validateAnimatableStyleProperty(d){return!0}matchesElement(d,l){return!1}containsElement(d,l){return W(d,l)}getParentElement(d){return jc(d)}query(d,l,m){return E(d,l,m)}computeStyle(d,l,m){return window.getComputedStyle(d)[l]}animate(d,l,m,L,R,ht=[]){const Ft={duration:m,delay:L,fill:0==L?"both":"forwards"};R&&(Ft.easing=R);const qt=new Map,Ae=ht.filter(Pn=>Pn instanceof Zs);(function nn(f,d){return 0===f||0===d})(m,L)&&Ae.forEach(Pn=>{Pn.currentSnapshot.forEach((dn,wn)=>qt.set(wn,dn))});let $e=function Ci(f){return f.length?f[0]instanceof Map?f:f.map(d=>Ai(d)):[]}(l).map(Pn=>Wn(Pn));$e=function vn(f,d,l){if(l.size&&d.length){let m=d[0],L=[];if(l.forEach((R,ht)=>{m.has(ht)||L.push(ht),m.set(ht,R)}),L.length)for(let R=1;Rht.set(Pt,Kn(f,Pt)))}}return d}(d,$e,qt);const mn=function Jl(f,d){let l=null,m=null;return Array.isArray(d)&&d.length?(l=t1(d[0]),d.length>1&&(m=t1(d[d.length-1]))):d instanceof Map&&(l=t1(d)),l||m?new Xc(f,l,m):null}(d,$e);return new Zs(d,$e,Ft,mn)}}let Js=(()=>{class f extends S.S6{constructor(l,m){super(),this._nextAnimationId=0,this._renderer=l.createRenderer(m.body,{id:"0",encapsulation:a.gXe.None,styles:[],data:{animation:[]}})}build(l){const m=this._nextAnimationId.toString();this._nextAnimationId++;const L=Array.isArray(l)?(0,S.K2)(l):l;return qs(this._renderer,null,m,"register",[L]),new e1(m,this._renderer)}static{this.\u0275fac=function(m){return new(m||f)(a.KVO(a._9s),a.KVO(b.qQ))}}static{this.\u0275prov=a.jDH({token:f,factory:f.\u0275fac})}}return f})();class e1 extends S.Ro{constructor(d,l){super(),this._id=d,this._renderer=l}create(d,l){return new ql(this._id,d,l||{},this._renderer)}}class ql{constructor(d,l,m,L){this.id=d,this.element=l,this._renderer=L,this.parentPlayer=null,this._started=!1,this.totalTime=0,this._command("create",m)}_listen(d,l){return this._renderer.listen(this.element,`@@${this.id}:${d}`,l)}_command(d,...l){return qs(this._renderer,this.element,this.id,d,l)}onDone(d){this._listen("done",d)}onStart(d){this._listen("start",d)}onDestroy(d){this._listen("destroy",d)}init(){this._command("init")}hasStarted(){return this._started}play(){this._command("play"),this._started=!0}pause(){this._command("pause")}restart(){this._command("restart")}finish(){this._command("finish")}destroy(){this._command("destroy")}reset(){this._command("reset"),this._started=!1}setPosition(d){this._command("setPosition",d)}getPosition(){return this._renderer.engine.players[+this.id]?.getPosition()??0}}function qs(f,d,l,m,L){return f.setProperty(d,`@@${l}:${m}`,L)}const n1="@.disabled";let o1=(()=>{class f{constructor(l,m,L){this.delegate=l,this.engine=m,this._zone=L,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,m.onRemovalComplete=(R,ht)=>{const Pt=ht?.parentNode(R);Pt&&ht.removeChild(Pt,R)}}createRenderer(l,m){const R=this.delegate.createRenderer(l,m);if(!(l&&m&&m.data&&m.data.animation)){let Ae=this._rendererCache.get(R);return Ae||(Ae=new l2("",R,this.engine,()=>this._rendererCache.delete(R)),this._rendererCache.set(R,Ae)),Ae}const ht=m.id,Pt=m.id+"-"+this._currentId;this._currentId++,this.engine.register(Pt,l);const Ft=Ae=>{Array.isArray(Ae)?Ae.forEach(Ft):this.engine.registerTrigger(ht,Pt,l,Ae.name,Ae)};return m.data.animation.forEach(Ft),new ta(this,Pt,R,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){queueMicrotask(()=>{this._microtaskId++})}scheduleListenerCallback(l,m,L){l>=0&&lm(L)):(0==this._animationCallbacksBuffer.length&&queueMicrotask(()=>{this._zone.run(()=>{this._animationCallbacksBuffer.forEach(R=>{const[ht,Pt]=R;ht(Pt)}),this._animationCallbacksBuffer=[]})}),this._animationCallbacksBuffer.push([m,L]))}end(){this._cdRecurDepth--,0==this._cdRecurDepth&&this._zone.runOutsideAngular(()=>{this._scheduleCountTask(),this.engine.flush(this._microtaskId)}),this.delegate.end&&this.delegate.end()}whenRenderingDone(){return this.engine.whenRenderingDone()}static{this.\u0275fac=function(m){return new(m||f)(a.KVO(a._9s),a.KVO(os),a.KVO(a.SKi))}}static{this.\u0275prov=a.jDH({token:f,factory:f.\u0275fac})}}return f})();class l2{constructor(d,l,m,L){this.namespaceId=d,this.delegate=l,this.engine=m,this._onDestroy=L}get data(){return this.delegate.data}destroyNode(d){this.delegate.destroyNode?.(d)}destroy(){this.engine.destroy(this.namespaceId,this.delegate),this.engine.afterFlushAnimationsDone(()=>{queueMicrotask(()=>{this.delegate.destroy()})}),this._onDestroy?.()}createElement(d,l){return this.delegate.createElement(d,l)}createComment(d){return this.delegate.createComment(d)}createText(d){return this.delegate.createText(d)}appendChild(d,l){this.delegate.appendChild(d,l),this.engine.onInsert(this.namespaceId,l,d,!1)}insertBefore(d,l,m,L=!0){this.delegate.insertBefore(d,l,m),this.engine.onInsert(this.namespaceId,l,d,L)}removeChild(d,l,m){this.engine.onRemove(this.namespaceId,l,this.delegate)}selectRootElement(d,l){return this.delegate.selectRootElement(d,l)}parentNode(d){return this.delegate.parentNode(d)}nextSibling(d){return this.delegate.nextSibling(d)}setAttribute(d,l,m,L){this.delegate.setAttribute(d,l,m,L)}removeAttribute(d,l,m){this.delegate.removeAttribute(d,l,m)}addClass(d,l){this.delegate.addClass(d,l)}removeClass(d,l){this.delegate.removeClass(d,l)}setStyle(d,l,m,L){this.delegate.setStyle(d,l,m,L)}removeStyle(d,l,m){this.delegate.removeStyle(d,l,m)}setProperty(d,l,m){"@"==l.charAt(0)&&l==n1?this.disableAnimations(d,!!m):this.delegate.setProperty(d,l,m)}setValue(d,l){this.delegate.setValue(d,l)}listen(d,l,m){return this.delegate.listen(d,l,m)}disableAnimations(d,l){this.engine.disableAnimations(d,l)}}class ta extends l2{constructor(d,l,m,L,R){super(l,m,L,R),this.factory=d,this.namespaceId=l}setProperty(d,l,m){"@"==l.charAt(0)?"."==l.charAt(1)&&l==n1?this.disableAnimations(d,m=void 0===m||!!m):this.engine.process(this.namespaceId,d,l.slice(1),m):this.delegate.setProperty(d,l,m)}listen(d,l,m){if("@"==l.charAt(0)){const L=function Lr(f){switch(f){case"body":return document.body;case"document":return document;case"window":return window;default:return f}}(d);let R=l.slice(1),ht="";return"@"!=R.charAt(0)&&([R,ht]=function t0(f){const d=f.indexOf(".");return[f.substring(0,d),f.slice(d+1)]}(R)),this.engine.listen(this.namespaceId,L,R,ht,Pt=>{this.factory.scheduleListenerCallback(Pt._data||-1,m,Pt)})}return this.delegate.listen(d,l,m)}}const u2=[{provide:S.S6,useClass:Js},{provide:An,useFactory:function c1(){return new yc}},{provide:os,useClass:(()=>{class f extends os{constructor(l,m,L,R){super(l.body,m,L)}ngOnDestroy(){this.flush()}static{this.\u0275fac=function(m){return new(m||f)(a.KVO(b.qQ),a.KVO(he),a.KVO(An),a.KVO(a.o8S))}}static{this.\u0275prov=a.jDH({token:f,factory:f.\u0275fac})}}return f})()},{provide:a._9s,useFactory:function Ds(f,d,l){return new o1(f,d,l)},deps:[Sc.B7,os,a.SKi]}],xo=[{provide:he,useFactory:()=>new Ls},{provide:a.bc$,useValue:"BrowserAnimations"},...u2];let r1=(()=>{class f{constructor(l,m){this.licenseCheckService=l,this.systemConfigDataService=m}initializeLicenseCheck(){return this.systemConfigDataService.environment$.pipe((0,fe.s)(1),(0,j.n)(l=>(0,cn.G0)(l)?(0,bt.of)(!0):l.platform?.license&&"OPEN SOURCE"!==l.platform?.license&&l.platform?.licenseKey&&!this.licenseCheckService.currentLicenseCheck?this.licenseCheckService.check(l.platform.licenseKey).pipe((0,J.T)(()=>!0),(0,V.W)(()=>(0,bt.of)(!0))):(0,bt.of)(!0)))}static{this.\u0275fac=function(m){return new(m||f)(a.KVO(hn.H),a.KVO(zt.f))}}static{this.\u0275prov=a.jDH({token:f,factory:f.\u0275fac,providedIn:"root"})}}return f})(),cs=(()=>{class f{static{this.RELOAD_KEY="df-chunk-reload-at"}static{this.RELOAD_WINDOW_MS=1e4}handleError(l){if(this.isChunkLoadError(l)&&this.canReload())return sessionStorage.setItem(f.RELOAD_KEY,String(Date.now())),void window.location.reload();console.error(l)}isChunkLoadError(l){const m=l,L=m?.name??"",R=m?.message??String(l);return/ChunkLoadError/i.test(L)||/Loading (?:CSS )?chunk [\w-]+ failed/i.test(R)}canReload(){const l=Number(sessionStorage.getItem(f.RELOAD_KEY)??"0");return Date.now()-l>f.RELOAD_WINDOW_MS}static{this.\u0275fac=function(m){return new(m||f)}}static{this.\u0275prov=a.jDH({token:f,factory:f.\u0275fac})}}return f})();var rs=r(59189),Wr=r(73475),s1=r(91974),c0=r(20271);let s0=(()=>{class f{constructor(){this.http=(0,a.WQX)(uo.Qq)}getTranslation(l){const m=(0,a.naY)()?"":"/dreamfactory/dist";return this.http.get(`${m}/assets/i18n/${l}.json`)}static{this.\u0275fac=function(m){return new(m||f)}}static{this.\u0275prov=a.jDH({token:f,factory:f.\u0275fac,providedIn:"root"})}}return f})();var Kr=r(80972),a0=r(61550),l0=r(40426),f2=r(48444),as=r(39258);const a1=[{code:"en",altCodes:["en-US"]}];(0,Sc.B8)(Oc,{providers:[(0,a.oKB)(Sc.Bb,as._T),{provide:a.zcH,useClass:cs},{provide:a.hnV,useFactory:function u0(f,d){return()=>f.fetchEnvironmentData().pipe((0,V.W)(l=>{const m=(0,cn.IM)(l);return m?(d.markLocked(m.reason,m.context),(0,bt.of)(null)):d.isLocked?(0,bt.of)(null):(0,Kr.$)(()=>l)}))},deps:[zt.f,Dt.K],multi:!0},{provide:a.hnV,useFactory:function Os(f){return()=>f.initializeLicenseCheck()},deps:[r1],multi:!0},function ea(){return[...xo]}(),(0,uo.$R)((0,uo.b$)([(f,d)=>{const l=f.url.includes("/api_docs"),m=/\/system\/event(\?|$|\/)/.test(f.url),L=/\/api_builder\/test(\?|$|\/)/.test(f.url),R=/^\/api\/v2\/[^/]+\/session(\/\d+)?(\?|$)/.test(f.url)&&!/^\/api\/v2\/user\/session/.test(f.url),ht=l||m||L||R;return!f.url.startsWith("/api")||f.body instanceof FormData?d(f):d(f.clone({body:l?f.body:(0,c0.SM)(f.body)})).pipe((0,J.T)(Ft=>Ft instanceof uo.cS&&Ft.headers.get("Content-Type")?.includes("application/json")?ht?Ft:Ft.clone({body:(0,c0.qC)(Ft.body)}):Ft))},(f,d)=>{if(f.headers.has("show-loading")){const l=(0,a.WQX)(co);return l.active=!0,d(f=f.clone({headers:f.headers.delete("show-loading")})).pipe((0,s1.j)(()=>{l.active=!1}))}return d(f)},(f,d)=>{if(f.url.startsWith("/api")||f.url.startsWith("/_internal")){f=f.clone({setHeaders:{[Wr.dE]:rs.c.dfAdminApiKey}});const m=(0,a.WQX)(Gt.T).token;m&&(f=f.clone({setHeaders:{[Wr.Zl]:m}}))}return d(f)},(f,d)=>{const l=f.context.get(f2.Cc),m=f.context.get(f2.Fb),L=f.url.startsWith("/api")||f.url.startsWith("/_internal"),R=(0,a.WQX)(T.Ix),ht=(0,a.WQX)(Gt.T),Pt=(0,a.WQX)(si.L),Ft=(0,a.WQX)(Dt.K);return d(f).pipe((0,Ye.M)(qt=>{l&&qt instanceof uo.cS&&Pt.openSnackBar(l,"success")}),(0,V.W)(qt=>{if(!L)return(0,Kr.$)(()=>qt);const Ae=(0,cn.IM)(qt);if(Ae){Ft.markLocked(Ae.reason,Ae.context);const mn="silent"===m?qt:(0,mt.cQ)(qt,{url:f.url,method:f.method});return R.url.includes(M.b.TRIAL_EXPIRED)?(0,Kr.$)(()=>mn):(0,a0.H)(R.navigate([M.b.TRIAL_EXPIRED])).pipe((0,l0.Z)(()=>(0,Kr.$)(()=>mn)))}if("silent"===m)return(0,Kr.$)(()=>qt);const $e=(0,mt.cQ)(qt,{url:f.url,method:f.method});if("auth"===$e.kind){if(!R.url.startsWith(`/${M.b.AUTH}`)){ht.clearToken();const mn=R.url;return(0,a0.H)(R.navigate([M.b.AUTH,M.b.LOGIN],{queryParams:mn&&"/"!==mn?{returnUrl:mn}:void 0})).pipe((0,l0.Z)(()=>(0,Kr.$)(()=>$e)))}return(0,Kr.$)(()=>$e)}return"validation"!==$e.kind&&"toast-off"!==m&&Pt.openError($e),(0,Kr.$)(()=>$e)}))}])),(0,T.lh)(A,(0,T.GB)()),(0,at.$o)({config:{availableLangs:a1.map(f=>f.code),defaultLang:function Qi(){const f=localStorage.getItem("language")||navigator.language;if(f){const d=a1.find(l=>l.code.toLowerCase()===f.toLowerCase()||l.altCodes.map(m=>m.toLowerCase()).includes(f.toLowerCase()));if(d)return d.code}return"en"}(),reRenderOnLangChange:!0,prodMode:!(0,a.naY)()},loader:s0})]}).catch(f=>console.error(f))},85390:(Ce,Lt,r)=>{r.d(Lt,{t:()=>y});var o=r(89115);class y extends o.B{constructor(T){super(),this._value=T}get value(){return this.getValue()}_subscribe(T){const k=super._subscribe(T);return!k.closed&&T.next(this._value),k}getValue(){const{hasError:T,thrownError:k,_value:G}=this;if(T)throw k;return this._throwIfClosed(),G}next(T){super.next(this._value=T)}}},23135:(Ce,Lt,r)=>{r.d(Lt,{c:()=>Z});var o=r(13665),y=r(52693),b=r(25288),T=r(39521),k=r(16868),G=r(81989),P=r(26644);let Z=(()=>{class K{constructor(a){a&&(this._subscribe=a)}lift(a){const pt=new K;return pt.source=this,pt.operator=a,pt}subscribe(a,pt,j){const J=function q(K){return K&&K instanceof o.vU||function ot(K){return K&&(0,G.T)(K.next)&&(0,G.T)(K.error)&&(0,G.T)(K.complete)}(K)&&(0,y.Uv)(K)}(a)?a:new o.Ms(a,pt,j);return(0,P.Y)(()=>{const{operator:bt,source:Gt}=this;J.add(bt?bt.call(J,Gt):Gt?this._subscribe(J):this._trySubscribe(J))}),J}_trySubscribe(a){try{return this._subscribe(a)}catch(pt){a.error(pt)}}forEach(a,pt){return new(pt=N(pt))((j,J)=>{const bt=new o.Ms({next:Gt=>{try{a(Gt)}catch(te){J(te),bt.unsubscribe()}},error:J,complete:j});this.subscribe(bt)})}_subscribe(a){var pt;return null===(pt=this.source)||void 0===pt?void 0:pt.subscribe(a)}[b.s](){return this}pipe(...a){return(0,T.m)(a)(this)}toPromise(a){return new(a=N(a))((pt,j)=>{let J;this.subscribe(bt=>J=bt,bt=>j(bt),()=>pt(J))})}}return K.create=M=>new K(M),K})();function N(K){var M;return null!==(M=K??k.$.Promise)&&void 0!==M?M:Promise}},89115:(Ce,Lt,r)=>{r.d(Lt,{B:()=>P});var o=r(23135),y=r(52693);const T=(0,r(15471).L)(N=>function(){N(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var k=r(7450),G=r(26644);let P=(()=>{class N extends o.c{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(q){const K=new Z(this,this);return K.operator=q,K}_throwIfClosed(){if(this.closed)throw new T}next(q){(0,G.Y)(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(const K of this.currentObservers)K.next(q)}})}error(q){(0,G.Y)(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=q;const{observers:K}=this;for(;K.length;)K.shift().error(q)}})}complete(){(0,G.Y)(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;const{observers:q}=this;for(;q.length;)q.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var q;return(null===(q=this.observers)||void 0===q?void 0:q.length)>0}_trySubscribe(q){return this._throwIfClosed(),super._trySubscribe(q)}_subscribe(q){return this._throwIfClosed(),this._checkFinalizedStatuses(q),this._innerSubscribe(q)}_innerSubscribe(q){const{hasError:K,isStopped:M,observers:a}=this;return K||M?y.Kn:(this.currentObservers=null,a.push(q),new y.yU(()=>{this.currentObservers=null,(0,k.o)(a,q)}))}_checkFinalizedStatuses(q){const{hasError:K,thrownError:M,isStopped:a}=this;K?q.error(M):a&&q.complete()}asObservable(){const q=new o.c;return q.source=this,q}}return N.create=(ot,q)=>new Z(ot,q),N})();class Z extends P{constructor(ot,q){super(),this.destination=ot,this.source=q}next(ot){var q,K;null===(K=null===(q=this.destination)||void 0===q?void 0:q.next)||void 0===K||K.call(q,ot)}error(ot){var q,K;null===(K=null===(q=this.destination)||void 0===q?void 0:q.error)||void 0===K||K.call(q,ot)}complete(){var ot,q;null===(q=null===(ot=this.destination)||void 0===ot?void 0:ot.complete)||void 0===q||q.call(ot)}_subscribe(ot){var q,K;return null!==(K=null===(q=this.source)||void 0===q?void 0:q.subscribe(ot))&&void 0!==K?K:y.Kn}}},13665:(Ce,Lt,r)=>{r.d(Lt,{Ms:()=>j,vU:()=>K});var o=r(81989),y=r(52693),b=r(16868),T=r(43248),k=r(17529);const G=N("C",void 0,void 0);function N($,lt,V){return{kind:$,value:lt,error:V}}var ot=r(70228),q=r(26644);class K extends y.yU{constructor(lt){super(),this.isStopped=!1,lt?(this.destination=lt,(0,y.Uv)(lt)&<.add(this)):this.destination=te}static create(lt,V,mt){return new j(lt,V,mt)}next(lt){this.isStopped?Gt(function Z($){return N("N",$,void 0)}(lt),this):this._next(lt)}error(lt){this.isStopped?Gt(function P($){return N("E",void 0,$)}(lt),this):(this.isStopped=!0,this._error(lt))}complete(){this.isStopped?Gt(G,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(lt){this.destination.next(lt)}_error(lt){try{this.destination.error(lt)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}}const M=Function.prototype.bind;function a($,lt){return M.call($,lt)}class pt{constructor(lt){this.partialObserver=lt}next(lt){const{partialObserver:V}=this;if(V.next)try{V.next(lt)}catch(mt){J(mt)}}error(lt){const{partialObserver:V}=this;if(V.error)try{V.error(lt)}catch(mt){J(mt)}else J(lt)}complete(){const{partialObserver:lt}=this;if(lt.complete)try{lt.complete()}catch(V){J(V)}}}class j extends K{constructor(lt,V,mt){let rt;if(super(),(0,o.T)(lt)||!lt)rt={next:lt??void 0,error:V??void 0,complete:mt??void 0};else{let $t;this&&b.$.useDeprecatedNextContext?($t=Object.create(lt),$t.unsubscribe=()=>this.unsubscribe(),rt={next:lt.next&&a(lt.next,$t),error:lt.error&&a(lt.error,$t),complete:lt.complete&&a(lt.complete,$t)}):rt=lt}this.destination=new pt(rt)}}function J($){b.$.useDeprecatedSynchronousErrorHandling?(0,q.l)($):(0,T.m)($)}function Gt($,lt){const{onStoppedNotification:V}=b.$;V&&ot.f.setTimeout(()=>V($,lt))}const te={closed:!0,next:k.l,error:function bt($){throw $},complete:k.l}},52693:(Ce,Lt,r)=>{r.d(Lt,{Kn:()=>G,yU:()=>k,Uv:()=>P});var o=r(81989);const b=(0,r(15471).L)(N=>function(q){N(this),this.message=q?`${q.length} errors occurred during unsubscription:\n${q.map((K,M)=>`${M+1}) ${K.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=q});var T=r(7450);class k{constructor(ot){this.initialTeardown=ot,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let ot;if(!this.closed){this.closed=!0;const{_parentage:q}=this;if(q)if(this._parentage=null,Array.isArray(q))for(const a of q)a.remove(this);else q.remove(this);const{initialTeardown:K}=this;if((0,o.T)(K))try{K()}catch(a){ot=a instanceof b?a.errors:[a]}const{_finalizers:M}=this;if(M){this._finalizers=null;for(const a of M)try{Z(a)}catch(pt){ot=ot??[],pt instanceof b?ot=[...ot,...pt.errors]:ot.push(pt)}}if(ot)throw new b(ot)}}add(ot){var q;if(ot&&ot!==this)if(this.closed)Z(ot);else{if(ot instanceof k){if(ot.closed||ot._hasParent(this))return;ot._addParent(this)}(this._finalizers=null!==(q=this._finalizers)&&void 0!==q?q:[]).push(ot)}}_hasParent(ot){const{_parentage:q}=this;return q===ot||Array.isArray(q)&&q.includes(ot)}_addParent(ot){const{_parentage:q}=this;this._parentage=Array.isArray(q)?(q.push(ot),q):q?[q,ot]:ot}_removeParent(ot){const{_parentage:q}=this;q===ot?this._parentage=null:Array.isArray(q)&&(0,T.o)(q,ot)}remove(ot){const{_finalizers:q}=this;q&&(0,T.o)(q,ot),ot instanceof k&&ot._removeParent(this)}}k.EMPTY=(()=>{const N=new k;return N.closed=!0,N})();const G=k.EMPTY;function P(N){return N instanceof k||N&&"closed"in N&&(0,o.T)(N.remove)&&(0,o.T)(N.add)&&(0,o.T)(N.unsubscribe)}function Z(N){(0,o.T)(N)?N():N.unsubscribe()}},16868:(Ce,Lt,r)=>{r.d(Lt,{$:()=>o});const o={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1}},3979:(Ce,Lt,r)=>{r.d(Lt,{G:()=>G});var o=r(23135),y=r(52693),b=r(7700),T=r(37018),k=r(33280);class G extends o.c{constructor(Z,N){super(),this.source=Z,this.subjectFactory=N,this._subject=null,this._refCount=0,this._connection=null,(0,k.S)(Z)&&(this.lift=Z.lift)}_subscribe(Z){return this.getSubject().subscribe(Z)}getSubject(){const Z=this._subject;return(!Z||Z.isStopped)&&(this._subject=this.subjectFactory()),this._subject}_teardown(){this._refCount=0;const{_connection:Z}=this;this._subject=this._connection=null,Z?.unsubscribe()}connect(){let Z=this._connection;if(!Z){Z=this._connection=new y.yU;const N=this.getSubject();Z.add(this.source.subscribe((0,T._)(N,void 0,()=>{this._teardown(),N.complete()},ot=>{this._teardown(),N.error(ot)},()=>this._teardown()))),Z.closed&&(this._connection=null,Z=y.yU.EMPTY)}return Z}refCount(){return(0,b.B)()(this)}}},17434:(Ce,Lt,r)=>{r.d(Lt,{z:()=>ot});var o=r(23135),y=r(5267),b=r(61550),T=r(75239),k=r(42152),G=r(69624),P=r(36366),Z=r(37018),N=r(64159);function ot(...M){const a=(0,G.lI)(M),pt=(0,G.ms)(M),{args:j,keys:J}=(0,y.D)(M);if(0===j.length)return(0,b.H)([],a);const bt=new o.c(function q(M,a,pt=T.D){return j=>{K(a,()=>{const{length:J}=M,bt=new Array(J);let Gt=J,te=J;for(let $=0;${const lt=(0,b.H)(M[$],a);let V=!1;lt.subscribe((0,Z._)(j,mt=>{bt[$]=mt,V||(V=!0,te--),te||j.next(pt(bt.slice()))},()=>{--Gt||j.complete()}))},j)},j)}}(j,a,J?Gt=>(0,P.e)(J,Gt):T.D));return pt?bt.pipe((0,k.I)(pt)):bt}function K(M,a,pt){M?(0,N.N)(pt,M,a):a()}},81171:(Ce,Lt,r)=>{r.d(Lt,{x:()=>k});var o=r(32659),b=r(69624),T=r(61550);function k(...G){return function y(){return(0,o.U)(1)}()((0,T.H)(G,(0,b.lI)(G)))}},19424:(Ce,Lt,r)=>{r.d(Lt,{v:()=>b});var o=r(23135),y=r(86896);function b(T){return new o.c(k=>{(0,y.Tg)(T()).subscribe(k)})}},33697:(Ce,Lt,r)=>{r.d(Lt,{w:()=>y});const y=new(r(23135).c)(k=>k.complete())},86606:(Ce,Lt,r)=>{r.d(Lt,{p:()=>Z});var o=r(23135),y=r(5267),b=r(86896),T=r(69624),k=r(37018),G=r(42152),P=r(36366);function Z(...N){const ot=(0,T.ms)(N),{args:q,keys:K}=(0,y.D)(N),M=new o.c(a=>{const{length:pt}=q;if(!pt)return void a.complete();const j=new Array(pt);let J=pt,bt=pt;for(let Gt=0;Gt{te||(te=!0,bt--),j[Gt]=$},()=>J--,void 0,()=>{(!J||!te)&&(bt||a.next(K?(0,P.e)(K,j):j),a.complete())}))}});return ot?M.pipe((0,G.I)(ot)):M}},61550:(Ce,Lt,r)=>{r.d(Lt,{H:()=>mt});var o=r(86896),y=r(64159),b=r(33280),T=r(37018);function k(rt,$t=0){return(0,b.N)((de,_e)=>{de.subscribe((0,T._)(_e,Le=>(0,y.N)(_e,rt,()=>_e.next(Le),$t),()=>(0,y.N)(_e,rt,()=>_e.complete(),$t),Le=>(0,y.N)(_e,rt,()=>_e.error(Le),$t)))})}function G(rt,$t=0){return(0,b.N)((de,_e)=>{_e.add(rt.schedule(()=>de.subscribe(_e),$t))})}var N=r(23135),q=r(40599),K=r(81989);function a(rt,$t){if(!rt)throw new Error("Iterable cannot be null");return new N.c(de=>{(0,y.N)(de,$t,()=>{const _e=rt[Symbol.asyncIterator]();(0,y.N)(de,$t,()=>{_e.next().then(Le=>{Le.done?de.complete():de.next(Le.value)})},0,!0)})})}var pt=r(93073),j=r(41724),J=r(48787),bt=r(1751),Gt=r(8595),te=r(2421),$=r(36762);function mt(rt,$t){return $t?function V(rt,$t){if(null!=rt){if((0,pt.l)(rt))return function P(rt,$t){return(0,o.Tg)(rt).pipe(G($t),k($t))}(rt,$t);if((0,J.X)(rt))return function ot(rt,$t){return new N.c(de=>{let _e=0;return $t.schedule(function(){_e===rt.length?de.complete():(de.next(rt[_e++]),de.closed||this.schedule())})})}(rt,$t);if((0,j.y)(rt))return function Z(rt,$t){return(0,o.Tg)(rt).pipe(G($t),k($t))}(rt,$t);if((0,Gt.T)(rt))return a(rt,$t);if((0,bt.x)(rt))return function M(rt,$t){return new N.c(de=>{let _e;return(0,y.N)(de,$t,()=>{_e=rt[q.l](),(0,y.N)(de,$t,()=>{let Le,Ge;try{({value:Le,done:Ge}=_e.next())}catch(Xe){return void de.error(Xe)}Ge?de.complete():de.next(Le)},0,!0)}),()=>(0,K.T)(_e?.return)&&_e.return()})}(rt,$t);if((0,$.U)(rt))return function lt(rt,$t){return a((0,$.C)(rt),$t)}(rt,$t)}throw(0,te.L)(rt)}(rt,$t):(0,o.Tg)(rt)}},63884:(Ce,Lt,r)=>{r.d(Lt,{R:()=>ot});var o=r(86896),y=r(23135),b=r(40426),T=r(48787),k=r(81989),G=r(42152);const P=["addListener","removeListener"],Z=["addEventListener","removeEventListener"],N=["on","off"];function ot(pt,j,J,bt){if((0,k.T)(J)&&(bt=J,J=void 0),bt)return ot(pt,j,J).pipe((0,G.I)(bt));const[Gt,te]=function a(pt){return(0,k.T)(pt.addEventListener)&&(0,k.T)(pt.removeEventListener)}(pt)?Z.map($=>lt=>pt[$](j,lt,J)):function K(pt){return(0,k.T)(pt.addListener)&&(0,k.T)(pt.removeListener)}(pt)?P.map(q(pt,j)):function M(pt){return(0,k.T)(pt.on)&&(0,k.T)(pt.off)}(pt)?N.map(q(pt,j)):[];if(!Gt&&(0,T.X)(pt))return(0,b.Z)($=>ot($,j,J))((0,o.Tg)(pt));if(!Gt)throw new TypeError("Invalid event target");return new y.c($=>{const lt=(...V)=>$.next(1te(lt)})}function q(pt,j){return J=>bt=>pt[J](j,bt)}},86896:(Ce,Lt,r)=>{r.d(Lt,{Tg:()=>M});var o=r(21406),y=r(48787),b=r(41724),T=r(23135),k=r(93073),G=r(8595),P=r(2421),Z=r(1751),N=r(36762),ot=r(81989),q=r(43248),K=r(25288);function M($){if($ instanceof T.c)return $;if(null!=$){if((0,k.l)($))return function a($){return new T.c(lt=>{const V=$[K.s]();if((0,ot.T)(V.subscribe))return V.subscribe(lt);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}($);if((0,y.X)($))return function pt($){return new T.c(lt=>{for(let V=0;V<$.length&&!lt.closed;V++)lt.next($[V]);lt.complete()})}($);if((0,b.y)($))return function j($){return new T.c(lt=>{$.then(V=>{lt.closed||(lt.next(V),lt.complete())},V=>lt.error(V)).then(null,q.m)})}($);if((0,G.T)($))return bt($);if((0,Z.x)($))return function J($){return new T.c(lt=>{for(const V of $)if(lt.next(V),lt.closed)return;lt.complete()})}($);if((0,N.U)($))return function Gt($){return bt((0,N.C)($))}($)}throw(0,P.L)($)}function bt($){return new T.c(lt=>{(function te($,lt){var V,mt,rt,$t;return(0,o.sH)(this,void 0,void 0,function*(){try{for(V=(0,o.xN)($);!(mt=yield V.next()).done;)if(lt.next(mt.value),lt.closed)return}catch(de){rt={error:de}}finally{try{mt&&!mt.done&&($t=V.return)&&(yield $t.call(V))}finally{if(rt)throw rt.error}}lt.complete()})})($,lt).catch(V=>lt.error(V))})}},85012:(Ce,Lt,r)=>{r.d(Lt,{h:()=>G});var o=r(32659),y=r(86896),b=r(33697),T=r(69624),k=r(61550);function G(...P){const Z=(0,T.lI)(P),N=(0,T.R0)(P,1/0),ot=P;return ot.length?1===ot.length?(0,y.Tg)(ot[0]):(0,o.U)(N)((0,k.H)(ot,Z)):b.w}},73151:(Ce,Lt,r)=>{r.d(Lt,{of:()=>b});var o=r(69624),y=r(61550);function b(...T){const k=(0,o.lI)(T);return(0,y.H)(T,k)}},80972:(Ce,Lt,r)=>{r.d(Lt,{$:()=>b});var o=r(23135),y=r(81989);function b(T,k){const G=(0,y.T)(T)?T:()=>T,P=Z=>Z.error(G());return new o.c(k?Z=>k.schedule(P,0,Z):P)}},82182:(Ce,Lt,r)=>{r.d(Lt,{O:()=>k});var o=r(23135),y=r(82954),b=r(73440);function k(G=0,P,Z=y.b){let N=-1;return null!=P&&((0,b.m)(P)?Z=P:N=P),new o.c(ot=>{let q=function T(G){return G instanceof Date&&!isNaN(G)}(G)?+G-Z.now():G;q<0&&(q=0);let K=0;return Z.schedule(function(){ot.closed||(ot.next(K++),0<=N?this.schedule(void 0,N):ot.complete())},q)})}},37018:(Ce,Lt,r)=>{r.d(Lt,{_:()=>y});var o=r(13665);function y(T,k,G,P,Z){return new b(T,k,G,P,Z)}class b extends o.vU{constructor(k,G,P,Z,N,ot){super(k),this.onFinalize=N,this.shouldUnsubscribe=ot,this._next=G?function(q){try{G(q)}catch(K){k.error(K)}}:super._next,this._error=Z?function(q){try{Z(q)}catch(K){k.error(K)}finally{this.unsubscribe()}}:super._error,this._complete=P?function(){try{P()}catch(q){k.error(q)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var k;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){const{closed:G}=this;super.unsubscribe(),!G&&(null===(k=this.onFinalize)||void 0===k||k.call(this))}}}},52483:(Ce,Lt,r)=>{r.d(Lt,{W:()=>T});var o=r(86896),y=r(37018),b=r(33280);function T(k){return(0,b.N)((G,P)=>{let ot,Z=null,N=!1;Z=G.subscribe((0,y._)(P,void 0,void 0,q=>{ot=(0,o.Tg)(k(q,T(k)(G))),Z?(Z.unsubscribe(),Z=null,ot.subscribe(P)):N=!0})),N&&(Z.unsubscribe(),Z=null,ot.subscribe(P))})}},90940:(Ce,Lt,r)=>{r.d(Lt,{H:()=>b});var o=r(40426),y=r(81989);function b(T,k){return(0,y.T)(k)?(0,o.Z)(T,k,1):(0,o.Z)(T,1)}},45318:(Ce,Lt,r)=>{r.d(Lt,{B:()=>T});var o=r(82954),y=r(33280),b=r(37018);function T(k,G=o.E){return(0,y.N)((P,Z)=>{let N=null,ot=null,q=null;const K=()=>{if(N){N.unsubscribe(),N=null;const a=ot;ot=null,Z.next(a)}};function M(){const a=q+k,pt=G.now();if(pt{ot=a,q=G.now(),N||(N=G.schedule(M,k),Z.add(N))},()=>{K(),Z.complete()},void 0,()=>{ot=N=null}))})}},99752:(Ce,Lt,r)=>{r.d(Lt,{c:()=>M});var o=r(82954),y=r(81171),b=r(89371),T=r(33280),k=r(37018),G=r(17529),Z=r(45221),N=r(40426),ot=r(86896);function q(a,pt){return pt?j=>(0,y.x)(pt.pipe((0,b.s)(1),function P(){return(0,T.N)((a,pt)=>{a.subscribe((0,k._)(pt,G.l))})}()),j.pipe(q(a))):(0,N.Z)((j,J)=>(0,ot.Tg)(a(j,J)).pipe((0,b.s)(1),(0,Z.u)(j)))}var K=r(82182);function M(a,pt=o.E){const j=(0,K.O)(a,pt);return q(()=>j)}},11224:(Ce,Lt,r)=>{r.d(Lt,{F:()=>T});var o=r(75239),y=r(33280),b=r(37018);function T(G,P=o.D){return G=G??k,(0,y.N)((Z,N)=>{let ot,q=!0;Z.subscribe((0,b._)(N,K=>{const M=P(K);(q||!G(ot,M))&&(q=!1,ot=M,N.next(K))}))})}function k(G,P){return G===P}},98474:(Ce,Lt,r)=>{r.d(Lt,{p:()=>b});var o=r(33280),y=r(37018);function b(T,k){return(0,o.N)((G,P)=>{let Z=0;G.subscribe((0,y._)(P,N=>T.call(k,N,Z++)&&P.next(N)))})}},91974:(Ce,Lt,r)=>{r.d(Lt,{j:()=>y});var o=r(33280);function y(b){return(0,o.N)((T,k)=>{try{T.subscribe(k)}finally{k.add(b)}})}},12324:(Ce,Lt,r)=>{r.d(Lt,{T:()=>b});var o=r(33280),y=r(37018);function b(T,k){return(0,o.N)((G,P)=>{let Z=0;G.subscribe((0,y._)(P,N=>{P.next(T.call(k,N,Z++))}))})}},45221:(Ce,Lt,r)=>{r.d(Lt,{u:()=>y});var o=r(12324);function y(b){return(0,o.T)(()=>b)}},32659:(Ce,Lt,r)=>{r.d(Lt,{U:()=>b});var o=r(40426),y=r(75239);function b(T=1/0){return(0,o.Z)(y.D,T)}},49154:(Ce,Lt,r)=>{r.d(Lt,{h:()=>T});var o=r(86896),y=r(64159),b=r(37018);function T(k,G,P,Z,N,ot,q,K){const M=[];let a=0,pt=0,j=!1;const J=()=>{j&&!M.length&&!a&&G.complete()},bt=te=>a{ot&&G.next(te),a++;let $=!1;(0,o.Tg)(P(te,pt++)).subscribe((0,b._)(G,lt=>{N?.(lt),ot?bt(lt):G.next(lt)},()=>{$=!0},void 0,()=>{if($)try{for(a--;M.length&&aGt(lt)):Gt(lt)}J()}catch(lt){G.error(lt)}}))};return k.subscribe((0,b._)(G,bt,()=>{j=!0,J()})),()=>{K?.()}}},40426:(Ce,Lt,r)=>{r.d(Lt,{Z:()=>G});var o=r(12324),y=r(86896),b=r(33280),T=r(49154),k=r(81989);function G(P,Z,N=1/0){return(0,k.T)(Z)?G((ot,q)=>(0,o.T)((K,M)=>Z(ot,K,q,M))((0,y.Tg)(P(ot,q))),N):("number"==typeof Z&&(N=Z),(0,b.N)((ot,q)=>(0,T.h)(ot,q,P,N)))}},7700:(Ce,Lt,r)=>{r.d(Lt,{B:()=>b});var o=r(33280),y=r(37018);function b(){return(0,o.N)((T,k)=>{let G=null;T._refCount++;const P=(0,y._)(k,void 0,void 0,void 0,()=>{if(!T||T._refCount<=0||0<--T._refCount)return void(G=null);const Z=T._connection,N=G;G=null,Z&&(!N||Z===N)&&Z.unsubscribe(),k.unsubscribe()});T.subscribe(P),P.closed||(G=T.connect())})}},62220:(Ce,Lt,r)=>{r.d(Lt,{L:()=>G});var o=r(33280),y=r(37018),b=r(75239),T=r(82182),k=r(86896);function G(P=1/0){let Z;Z=P&&"object"==typeof P?P:{count:P};const{count:N=1/0,delay:ot,resetOnSuccess:q=!1}=Z;return N<=0?b.D:(0,o.N)((K,M)=>{let pt,a=0;const j=()=>{let J=!1;pt=K.subscribe((0,y._)(M,bt=>{q&&(a=0),M.next(bt)},void 0,bt=>{if(a++{pt?(pt.unsubscribe(),pt=null,j()):J=!0};if(null!=ot){const te="number"==typeof ot?(0,T.O)(ot):(0,k.Tg)(ot(bt,a)),$=(0,y._)(M,()=>{$.unsubscribe(),Gt()},()=>{M.complete()});te.subscribe($)}else Gt()}else M.error(bt)})),J&&(pt.unsubscribe(),pt=null,j())};j()})}},22135:(Ce,Lt,r)=>{r.d(Lt,{S:()=>y});var o=r(37018);function y(b,T,k,G,P){return(Z,N)=>{let ot=k,q=T,K=0;Z.subscribe((0,o._)(N,M=>{const a=K++;q=ot?b(q,M,a):(ot=!0,M),G&&N.next(q)},P&&(()=>{ot&&N.next(q),N.complete()})))}}},31161:(Ce,Lt,r)=>{r.d(Lt,{u:()=>k});var o=r(86896),y=r(89115),b=r(13665),T=r(33280);function k(P={}){const{connector:Z=(()=>new y.B),resetOnError:N=!0,resetOnComplete:ot=!0,resetOnRefCountZero:q=!0}=P;return K=>{let M,a,pt,j=0,J=!1,bt=!1;const Gt=()=>{a?.unsubscribe(),a=void 0},te=()=>{Gt(),M=pt=void 0,J=bt=!1},$=()=>{const lt=M;te(),lt?.unsubscribe()};return(0,T.N)((lt,V)=>{j++,!bt&&!J&&Gt();const mt=pt=pt??Z();V.add(()=>{j--,0===j&&!bt&&!J&&(a=G($,q))}),mt.subscribe(V),!M&&j>0&&(M=new b.Ms({next:rt=>mt.next(rt),error:rt=>{bt=!0,Gt(),a=G(te,N,rt),mt.error(rt)},complete:()=>{J=!0,Gt(),a=G(te,ot),mt.complete()}}),(0,o.Tg)(lt).subscribe(M))})(K)}}function G(P,Z,...N){if(!0===Z)return void P();if(!1===Z)return;const ot=new b.Ms({next:()=>{ot.unsubscribe(),P()}});return(0,o.Tg)(Z(...N)).subscribe(ot)}},29810:(Ce,Lt,r)=>{r.d(Lt,{t:()=>k});var o=r(89115),y=r(19351);class b extends o.B{constructor(P=1/0,Z=1/0,N=y.U){super(),this._bufferSize=P,this._windowTime=Z,this._timestampProvider=N,this._buffer=[],this._infiniteTimeWindow=!0,this._infiniteTimeWindow=Z===1/0,this._bufferSize=Math.max(1,P),this._windowTime=Math.max(1,Z)}next(P){const{isStopped:Z,_buffer:N,_infiniteTimeWindow:ot,_timestampProvider:q,_windowTime:K}=this;Z||(N.push(P),!ot&&N.push(q.now()+K)),this._trimBuffer(),super.next(P)}_subscribe(P){this._throwIfClosed(),this._trimBuffer();const Z=this._innerSubscribe(P),{_infiniteTimeWindow:N,_buffer:ot}=this,q=ot.slice();for(let K=0;Knew b(N,P,Z),resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:ot})}},16483:(Ce,Lt,r)=>{r.d(Lt,{i:()=>y});var o=r(98474);function y(b){return(0,o.p)((T,k)=>b<=k)}},28930:(Ce,Lt,r)=>{r.d(Lt,{Z:()=>T});var o=r(81171),y=r(69624),b=r(33280);function T(...k){const G=(0,y.lI)(k);return(0,b.N)((P,Z)=>{(G?(0,o.x)(k,P,G):(0,o.x)(k,P)).subscribe(Z)})}},57588:(Ce,Lt,r)=>{r.d(Lt,{n:()=>T});var o=r(86896),y=r(33280),b=r(37018);function T(k,G){return(0,y.N)((P,Z)=>{let N=null,ot=0,q=!1;const K=()=>q&&!N&&Z.complete();P.subscribe((0,b._)(Z,M=>{N?.unsubscribe();let a=0;const pt=ot++;(0,o.Tg)(k(M,pt)).subscribe(N=(0,b._)(Z,j=>Z.next(G?G(M,j,pt,a++):j),()=>{N=null,K()}))},()=>{q=!0,K()}))})}},89371:(Ce,Lt,r)=>{r.d(Lt,{s:()=>T});var o=r(33697),y=r(33280),b=r(37018);function T(k){return k<=0?()=>o.w:(0,y.N)((G,P)=>{let Z=0;G.subscribe((0,b._)(P,N=>{++Z<=k&&(P.next(N),k<=Z&&P.complete())}))})}},73907:(Ce,Lt,r)=>{r.d(Lt,{Q:()=>k});var o=r(33280),y=r(37018),b=r(86896),T=r(17529);function k(G){return(0,o.N)((P,Z)=>{(0,b.Tg)(G).subscribe((0,y._)(Z,()=>Z.complete(),T.l)),!Z.closed&&P.subscribe(Z)})}},14087:(Ce,Lt,r)=>{r.d(Lt,{M:()=>k});var o=r(81989),y=r(33280),b=r(37018),T=r(75239);function k(G,P,Z){const N=(0,o.T)(G)||P||Z?{next:G,error:P,complete:Z}:G;return N?(0,y.N)((ot,q)=>{var K;null===(K=N.subscribe)||void 0===K||K.call(N);let M=!0;ot.subscribe((0,b._)(q,a=>{var pt;null===(pt=N.next)||void 0===pt||pt.call(N,a),q.next(a)},()=>{var a;M=!1,null===(a=N.complete)||void 0===a||a.call(N),q.complete()},a=>{var pt;M=!1,null===(pt=N.error)||void 0===pt||pt.call(N,a),q.error(a)},()=>{var a,pt;M&&(null===(a=N.unsubscribe)||void 0===a||a.call(N)),null===(pt=N.finalize)||void 0===pt||pt.call(N)}))}):T.D}},84330:(Ce,Lt,r)=>{r.d(Lt,{R:()=>k});var o=r(52693);class y extends o.yU{constructor(P,Z){super()}schedule(P,Z=0){return this}}const b={setInterval(G,P,...Z){const{delegate:N}=b;return N?.setInterval?N.setInterval(G,P,...Z):setInterval(G,P,...Z)},clearInterval(G){const{delegate:P}=b;return(P?.clearInterval||clearInterval)(G)},delegate:void 0};var T=r(7450);class k extends y{constructor(P,Z){super(P,Z),this.scheduler=P,this.work=Z,this.pending=!1}schedule(P,Z=0){var N;if(this.closed)return this;this.state=P;const ot=this.id,q=this.scheduler;return null!=ot&&(this.id=this.recycleAsyncId(q,ot,Z)),this.pending=!0,this.delay=Z,this.id=null!==(N=this.id)&&void 0!==N?N:this.requestAsyncId(q,this.id,Z),this}requestAsyncId(P,Z,N=0){return b.setInterval(P.flush.bind(P,this),N)}recycleAsyncId(P,Z,N=0){if(null!=N&&this.delay===N&&!1===this.pending)return Z;null!=Z&&b.clearInterval(Z)}execute(P,Z){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const N=this._execute(P,Z);if(N)return N;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(P,Z){let ot,N=!1;try{this.work(P)}catch(q){N=!0,ot=q||new Error("Scheduled action threw falsy error")}if(N)return this.unsubscribe(),ot}unsubscribe(){if(!this.closed){const{id:P,scheduler:Z}=this,{actions:N}=Z;this.work=this.state=this.scheduler=null,this.pending=!1,(0,T.o)(N,this),null!=P&&(this.id=this.recycleAsyncId(Z,P,null)),this.delay=null,super.unsubscribe()}}}},84993:(Ce,Lt,r)=>{r.d(Lt,{q:()=>b});var o=r(19351);class y{constructor(k,G=y.now){this.schedulerActionCtor=k,this.now=G}schedule(k,G=0,P){return new this.schedulerActionCtor(this,k).schedule(P,G)}}y.now=o.U.now;class b extends y{constructor(k,G=y.now){super(k,G),this.actions=[],this._active=!1}flush(k){const{actions:G}=this;if(this._active)return void G.push(k);let P;this._active=!0;do{if(P=k.execute(k.state,k.delay))break}while(k=G.shift());if(this._active=!1,P){for(;k=G.shift();)k.unsubscribe();throw P}}}},96897:(Ce,Lt,r)=>{r.d(Lt,{$:()=>a});var o=r(84330);let b,y=1;const T={};function k(j){return j in T&&(delete T[j],!0)}const G={setImmediate(j){const J=y++;return T[J]=!0,b||(b=Promise.resolve()),b.then(()=>k(J)&&j()),J},clearImmediate(j){k(j)}},{setImmediate:Z,clearImmediate:N}=G,ot={setImmediate(...j){const{delegate:J}=ot;return(J?.setImmediate||Z)(...j)},clearImmediate(j){const{delegate:J}=ot;return(J?.clearImmediate||N)(j)},delegate:void 0};var K=r(84993);const a=new class M extends K.q{flush(J){this._active=!0;const bt=this._scheduled;this._scheduled=void 0;const{actions:Gt}=this;let te;J=J||Gt.shift();do{if(te=J.execute(J.state,J.delay))break}while((J=Gt[0])&&J.id===bt&&Gt.shift());if(this._active=!1,te){for(;(J=Gt[0])&&J.id===bt&&Gt.shift();)J.unsubscribe();throw te}}}(class q extends o.R{constructor(J,bt){super(J,bt),this.scheduler=J,this.work=bt}requestAsyncId(J,bt,Gt=0){return null!==Gt&&Gt>0?super.requestAsyncId(J,bt,Gt):(J.actions.push(this),J._scheduled||(J._scheduled=ot.setImmediate(J.flush.bind(J,void 0))))}recycleAsyncId(J,bt,Gt=0){var te;if(null!=Gt?Gt>0:this.delay>0)return super.recycleAsyncId(J,bt,Gt);const{actions:$}=J;null!=bt&&(null===(te=$[$.length-1])||void 0===te?void 0:te.id)!==bt&&(ot.clearImmediate(bt),J._scheduled===bt&&(J._scheduled=void 0))}})},82954:(Ce,Lt,r)=>{r.d(Lt,{E:()=>b,b:()=>T});var o=r(84330);const b=new(r(84993).q)(o.R),T=b},19351:(Ce,Lt,r)=>{r.d(Lt,{U:()=>o});const o={now:()=>(o.delegate||Date).now(),delegate:void 0}},70228:(Ce,Lt,r)=>{r.d(Lt,{f:()=>o});const o={setTimeout(y,b,...T){const{delegate:k}=o;return k?.setTimeout?k.setTimeout(y,b,...T):setTimeout(y,b,...T)},clearTimeout(y){const{delegate:b}=o;return(b?.clearTimeout||clearTimeout)(y)},delegate:void 0}},40599:(Ce,Lt,r)=>{r.d(Lt,{l:()=>y});const y=function o(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}()},25288:(Ce,Lt,r)=>{r.d(Lt,{s:()=>o});const o="function"==typeof Symbol&&Symbol.observable||"@@observable"},90308:(Ce,Lt,r)=>{r.d(Lt,{G:()=>y});const y=(0,r(15471).L)(b=>function(){b(this),this.name="EmptyError",this.message="no elements in sequence"})},69624:(Ce,Lt,r)=>{r.d(Lt,{R0:()=>G,lI:()=>k,ms:()=>T});var o=r(81989),y=r(73440);function b(P){return P[P.length-1]}function T(P){return(0,o.T)(b(P))?P.pop():void 0}function k(P){return(0,y.m)(b(P))?P.pop():void 0}function G(P,Z){return"number"==typeof b(P)?P.pop():Z}},5267:(Ce,Lt,r)=>{r.d(Lt,{D:()=>k});const{isArray:o}=Array,{getPrototypeOf:y,prototype:b,keys:T}=Object;function k(P){if(1===P.length){const Z=P[0];if(o(Z))return{args:Z,keys:null};if(function G(P){return P&&"object"==typeof P&&y(P)===b}(Z)){const N=T(Z);return{args:N.map(ot=>Z[ot]),keys:N}}}return{args:P,keys:null}}},7450:(Ce,Lt,r)=>{function o(y,b){if(y){const T=y.indexOf(b);0<=T&&y.splice(T,1)}}r.d(Lt,{o:()=>o})},15471:(Ce,Lt,r)=>{function o(y){const T=y(k=>{Error.call(k),k.stack=(new Error).stack});return T.prototype=Object.create(Error.prototype),T.prototype.constructor=T,T}r.d(Lt,{L:()=>o})},36366:(Ce,Lt,r)=>{function o(y,b){return y.reduce((T,k,G)=>(T[k]=b[G],T),{})}r.d(Lt,{e:()=>o})},26644:(Ce,Lt,r)=>{r.d(Lt,{Y:()=>b,l:()=>T});var o=r(16868);let y=null;function b(k){if(o.$.useDeprecatedSynchronousErrorHandling){const G=!y;if(G&&(y={errorThrown:!1,error:null}),k(),G){const{errorThrown:P,error:Z}=y;if(y=null,P)throw Z}}else k()}function T(k){o.$.useDeprecatedSynchronousErrorHandling&&y&&(y.errorThrown=!0,y.error=k)}},64159:(Ce,Lt,r)=>{function o(y,b,T,k=0,G=!1){const P=b.schedule(function(){T(),G?y.add(this.schedule(null,k)):this.unsubscribe()},k);if(y.add(P),!G)return P}r.d(Lt,{N:()=>o})},75239:(Ce,Lt,r)=>{function o(y){return y}r.d(Lt,{D:()=>o})},48787:(Ce,Lt,r)=>{r.d(Lt,{X:()=>o});const o=y=>y&&"number"==typeof y.length&&"function"!=typeof y},8595:(Ce,Lt,r)=>{r.d(Lt,{T:()=>y});var o=r(81989);function y(b){return Symbol.asyncIterator&&(0,o.T)(b?.[Symbol.asyncIterator])}},81989:(Ce,Lt,r)=>{function o(y){return"function"==typeof y}r.d(Lt,{T:()=>o})},93073:(Ce,Lt,r)=>{r.d(Lt,{l:()=>b});var o=r(25288),y=r(81989);function b(T){return(0,y.T)(T[o.s])}},1751:(Ce,Lt,r)=>{r.d(Lt,{x:()=>b});var o=r(40599),y=r(81989);function b(T){return(0,y.T)(T?.[o.l])}},1396:(Ce,Lt,r)=>{r.d(Lt,{A:()=>b});var o=r(23135),y=r(81989);function b(T){return!!T&&(T instanceof o.c||(0,y.T)(T.lift)&&(0,y.T)(T.subscribe))}},41724:(Ce,Lt,r)=>{r.d(Lt,{y:()=>y});var o=r(81989);function y(b){return(0,o.T)(b?.then)}},36762:(Ce,Lt,r)=>{r.d(Lt,{C:()=>b,U:()=>T});var o=r(21406),y=r(81989);function b(k){return(0,o.AQ)(this,arguments,function*(){const P=k.getReader();try{for(;;){const{value:Z,done:N}=yield(0,o.N3)(P.read());if(N)return yield(0,o.N3)(void 0);yield yield(0,o.N3)(Z)}}finally{P.releaseLock()}})}function T(k){return(0,y.T)(k?.getReader)}},73440:(Ce,Lt,r)=>{r.d(Lt,{m:()=>y});var o=r(81989);function y(b){return b&&(0,o.T)(b.schedule)}},33280:(Ce,Lt,r)=>{r.d(Lt,{N:()=>b,S:()=>y});var o=r(81989);function y(T){return(0,o.T)(T?.lift)}function b(T){return k=>{if(y(k))return k.lift(function(G){try{return T(G,this)}catch(P){this.error(P)}});throw new TypeError("Unable to lift unknown Observable type")}}},42152:(Ce,Lt,r)=>{r.d(Lt,{I:()=>T});var o=r(12324);const{isArray:y}=Array;function T(k){return(0,o.T)(G=>function b(k,G){return y(G)?k(...G):k(G)}(k,G))}},17529:(Ce,Lt,r)=>{function o(){}r.d(Lt,{l:()=>o})},39521:(Ce,Lt,r)=>{r.d(Lt,{F:()=>y,m:()=>b});var o=r(75239);function y(...T){return b(T)}function b(T){return 0===T.length?o.D:1===T.length?T[0]:function(G){return T.reduce((P,Z)=>Z(P),G)}}},43248:(Ce,Lt,r)=>{r.d(Lt,{m:()=>b});var o=r(16868),y=r(70228);function b(T){y.f.setTimeout(()=>{const{onUnhandledError:k}=o.$;if(!k)throw T;k(T)})}},2421:(Ce,Lt,r)=>{function o(y){return new TypeError(`You provided ${null!==y&&"object"==typeof y?"an invalid object":`'${y}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}r.d(Lt,{L:()=>o})},89411:(Ce,Lt,r)=>{r.d(Lt,{FX:()=>Gt,K2:()=>P,MA:()=>M,Os:()=>G,P:()=>pt,Ro:()=>y,S6:()=>o,hZ:()=>T,i0:()=>k,i7:()=>ot,iF:()=>Z,kY:()=>q,kp:()=>b,sf:()=>J,ui:()=>bt,wk:()=>N});class o{}class y{}const b="*";function T(te,$){return{type:7,name:te,definitions:$,options:{}}}function k(te,$=null){return{type:4,styles:$,timings:te}}function G(te,$=null){return{type:3,steps:te,options:$}}function P(te,$=null){return{type:2,steps:te,options:$}}function Z(te){return{type:6,styles:te,offset:null}}function N(te,$,lt){return{type:0,name:te,styles:$,options:lt}}function ot(te){return{type:5,steps:te}}function q(te,$,lt=null){return{type:1,expr:te,animation:$,options:lt}}function M(te=null){return{type:9,options:te}}function pt(te,$,lt=null){return{type:11,selector:te,animation:$,options:lt}}class J{constructor($=0,lt=0){this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._originalOnDoneFns=[],this._originalOnStartFns=[],this._started=!1,this._destroyed=!1,this._finished=!1,this._position=0,this.parentPlayer=null,this.totalTime=$+lt}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach($=>$()),this._onDoneFns=[])}onStart($){this._originalOnStartFns.push($),this._onStartFns.push($)}onDone($){this._originalOnDoneFns.push($),this._onDoneFns.push($)}onDestroy($){this._onDestroyFns.push($)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){queueMicrotask(()=>this._onFinish())}_onStart(){this._onStartFns.forEach($=>$()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach($=>$()),this._onDestroyFns=[])}reset(){this._started=!1,this._finished=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}setPosition($){this._position=this.totalTime?$*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback($){const lt="start"==$?this._onStartFns:this._onDoneFns;lt.forEach(V=>V()),lt.length=0}}class bt{constructor($){this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=$;let lt=0,V=0,mt=0;const rt=this.players.length;0==rt?queueMicrotask(()=>this._onFinish()):this.players.forEach($t=>{$t.onDone(()=>{++lt==rt&&this._onFinish()}),$t.onDestroy(()=>{++V==rt&&this._onDestroy()}),$t.onStart(()=>{++mt==rt&&this._onStart()})}),this.totalTime=this.players.reduce(($t,de)=>Math.max($t,de.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach($=>$()),this._onDoneFns=[])}init(){this.players.forEach($=>$.init())}onStart($){this._onStartFns.push($)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach($=>$()),this._onStartFns=[])}onDone($){this._onDoneFns.push($)}onDestroy($){this._onDestroyFns.push($)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach($=>$.play())}pause(){this.players.forEach($=>$.pause())}restart(){this.players.forEach($=>$.restart())}finish(){this._onFinish(),this.players.forEach($=>$.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach($=>$.destroy()),this._onDestroyFns.forEach($=>$()),this._onDestroyFns=[])}reset(){this.players.forEach($=>$.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition($){const lt=$*this.totalTime;this.players.forEach(V=>{const mt=V.totalTime?Math.min(1,lt/V.totalTime):1;V.setPosition(mt)})}getPosition(){const $=this.players.reduce((lt,V)=>null===lt||V.totalTime>lt.totalTime?V:lt,null);return null!=$?$.getPosition():0}beforeDestroy(){this.players.forEach($=>{$.beforeDestroy&&$.beforeDestroy()})}triggerCallback($){const lt="start"==$?this._onStartFns:this._onDoneFns;lt.forEach(V=>V()),lt.length=0}}const Gt="!"},83607:(Ce,Lt,r)=>{r.d(Lt,{Ae:()=>lt,Ai:()=>ft,Au:()=>ye,Bu:()=>Ve,FN:()=>Ke,GX:()=>Vt,Pd:()=>me,Q_:()=>cn,Z7:()=>Qe,_G:()=>je,l3:()=>Xe,px:()=>$,vR:()=>on,vr:()=>_e,w6:()=>Ht});var o=r(18331),y=r(1843),b=r(29094),T=r(89115),k=r(52693),G=r(85390),P=r(73151),Z=r(25150),N=r(14087),ot=r(45318),q=r(98474),K=r(12324),M=r(89371),a=r(16483),pt=r(11224),j=r(73907),J=r(8275),bt=r(59332),Gt=r(89369);const te=" ";function $(jt,Dt,dt){const Rt=V(jt,Dt);Rt.some(ae=>ae.trim()==dt.trim())||(Rt.push(dt.trim()),jt.setAttribute(Dt,Rt.join(te)))}function lt(jt,Dt,dt){const ae=V(jt,Dt).filter(ze=>ze!=dt.trim());ae.length?jt.setAttribute(Dt,ae.join(te)):jt.removeAttribute(Dt)}function V(jt,Dt){return(jt.getAttribute(Dt)||"").match(/\S+/g)||[]}const rt="cdk-describedby-message",$t="cdk-describedby-host";let de=0,_e=(()=>{class jt{constructor(dt,Rt){this._platform=Rt,this._messageRegistry=new Map,this._messagesContainer=null,this._id=""+de++,this._document=dt,this._id=(0,y.WQX)(y.sZ2)+"-"+de++}describe(dt,Rt,ae){if(!this._canBeDescribed(dt,Rt))return;const ze=Le(Rt,ae);"string"!=typeof Rt?(Ge(Rt,this._id),this._messageRegistry.set(ze,{messageElement:Rt,referenceCount:0})):this._messageRegistry.has(ze)||this._createMessageElement(Rt,ae),this._isElementDescribedByMessage(dt,ze)||this._addMessageReference(dt,ze)}removeDescription(dt,Rt,ae){if(!Rt||!this._isElementNode(dt))return;const ze=Le(Rt,ae);if(this._isElementDescribedByMessage(dt,ze)&&this._removeMessageReference(dt,ze),"string"==typeof Rt){const Zt=this._messageRegistry.get(ze);Zt&&0===Zt.referenceCount&&this._deleteMessageElement(ze)}0===this._messagesContainer?.childNodes.length&&(this._messagesContainer.remove(),this._messagesContainer=null)}ngOnDestroy(){const dt=this._document.querySelectorAll(`[${$t}="${this._id}"]`);for(let Rt=0;Rt0!=ae.indexOf(rt));dt.setAttribute("aria-describedby",Rt.join(" "))}_addMessageReference(dt,Rt){const ae=this._messageRegistry.get(Rt);$(dt,"aria-describedby",ae.messageElement.id),dt.setAttribute($t,this._id),ae.referenceCount++}_removeMessageReference(dt,Rt){const ae=this._messageRegistry.get(Rt);ae.referenceCount--,lt(dt,"aria-describedby",ae.messageElement.id),dt.removeAttribute($t)}_isElementDescribedByMessage(dt,Rt){const ae=V(dt,"aria-describedby"),ze=this._messageRegistry.get(Rt),Zt=ze&&ze.messageElement.id;return!!Zt&&-1!=ae.indexOf(Zt)}_canBeDescribed(dt,Rt){if(!this._isElementNode(dt))return!1;if(Rt&&"object"==typeof Rt)return!0;const ae=null==Rt?"":`${Rt}`.trim(),ze=dt.getAttribute("aria-label");return!(!ae||ze&&ze.trim()===ae)}_isElementNode(dt){return dt.nodeType===this._document.ELEMENT_NODE}static{this.\u0275fac=function(Rt){return new(Rt||jt)(y.KVO(o.qQ),y.KVO(b.OD))}}static{this.\u0275prov=y.jDH({token:jt,factory:jt.\u0275fac,providedIn:"root"})}}return jt})();function Le(jt,Dt){return"string"==typeof jt?`${Dt||""}/${jt}`:jt}function Ge(jt,Dt){jt.id||(jt.id=`${rt}-${Dt}-${de++}`)}class Xe{constructor(Dt){this._items=Dt,this._activeItemIndex=-1,this._activeItem=null,this._wrap=!1,this._letterKeyStream=new T.B,this._typeaheadSubscription=k.yU.EMPTY,this._vertical=!0,this._allowedModifierKeys=[],this._homeAndEnd=!1,this._pageUpAndDown={enabled:!1,delta:10},this._skipPredicateFn=dt=>dt.disabled,this._pressedLetters=[],this.tabOut=new T.B,this.change=new T.B,Dt instanceof y.rOR&&(this._itemChangesSubscription=Dt.changes.subscribe(dt=>{if(this._activeItem){const ae=dt.toArray().indexOf(this._activeItem);ae>-1&&ae!==this._activeItemIndex&&(this._activeItemIndex=ae)}}))}skipPredicate(Dt){return this._skipPredicateFn=Dt,this}withWrap(Dt=!0){return this._wrap=Dt,this}withVerticalOrientation(Dt=!0){return this._vertical=Dt,this}withHorizontalOrientation(Dt){return this._horizontal=Dt,this}withAllowedModifierKeys(Dt){return this._allowedModifierKeys=Dt,this}withTypeAhead(Dt=200){return this._typeaheadSubscription.unsubscribe(),this._typeaheadSubscription=this._letterKeyStream.pipe((0,N.M)(dt=>this._pressedLetters.push(dt)),(0,ot.B)(Dt),(0,q.p)(()=>this._pressedLetters.length>0),(0,K.T)(()=>this._pressedLetters.join(""))).subscribe(dt=>{const Rt=this._getItemsArray();for(let ae=1;ae!Dt[ze]||this._allowedModifierKeys.indexOf(ze)>-1);switch(dt){case Z.wn:return void this.tabOut.next();case Z.n6:if(this._vertical&&ae){this.setNextItemActive();break}return;case Z.i7:if(this._vertical&&ae){this.setPreviousItemActive();break}return;case Z.LE:if(this._horizontal&&ae){"rtl"===this._horizontal?this.setPreviousItemActive():this.setNextItemActive();break}return;case Z.UQ:if(this._horizontal&&ae){"rtl"===this._horizontal?this.setNextItemActive():this.setPreviousItemActive();break}return;case Z.yZ:if(this._homeAndEnd&&ae){this.setFirstItemActive();break}return;case Z.Kp:if(this._homeAndEnd&&ae){this.setLastItemActive();break}return;case Z.w_:if(this._pageUpAndDown.enabled&&ae){const ze=this._activeItemIndex-this._pageUpAndDown.delta;this._setActiveItemByIndex(ze>0?ze:0,1);break}return;case Z.dB:if(this._pageUpAndDown.enabled&&ae){const ze=this._activeItemIndex+this._pageUpAndDown.delta,Zt=this._getItemsArray().length;this._setActiveItemByIndex(ze=Z.A&&dt<=Z.Z||dt>=Z.f2&&dt<=Z.bn)&&this._letterKeyStream.next(String.fromCharCode(dt))))}this._pressedLetters=[],Dt.preventDefault()}get activeItemIndex(){return this._activeItemIndex}get activeItem(){return this._activeItem}isTyping(){return this._pressedLetters.length>0}setFirstItemActive(){this._setActiveItemByIndex(0,1)}setLastItemActive(){this._setActiveItemByIndex(this._items.length-1,-1)}setNextItemActive(){this._activeItemIndex<0?this.setFirstItemActive():this._setActiveItemByDelta(1)}setPreviousItemActive(){this._activeItemIndex<0&&this._wrap?this.setLastItemActive():this._setActiveItemByDelta(-1)}updateActiveItem(Dt){const dt=this._getItemsArray(),Rt="number"==typeof Dt?Dt:dt.indexOf(Dt);this._activeItem=dt[Rt]??null,this._activeItemIndex=Rt}destroy(){this._typeaheadSubscription.unsubscribe(),this._itemChangesSubscription?.unsubscribe(),this._letterKeyStream.complete(),this.tabOut.complete(),this.change.complete(),this._pressedLetters=[]}_setActiveItemByDelta(Dt){this._wrap?this._setActiveInWrapMode(Dt):this._setActiveInDefaultMode(Dt)}_setActiveInWrapMode(Dt){const dt=this._getItemsArray();for(let Rt=1;Rt<=dt.length;Rt++){const ae=(this._activeItemIndex+Dt*Rt+dt.length)%dt.length;if(!this._skipPredicateFn(dt[ae]))return void this.setActiveItem(ae)}}_setActiveInDefaultMode(Dt){this._setActiveItemByIndex(this._activeItemIndex+Dt,Dt)}_setActiveItemByIndex(Dt,dt){const Rt=this._getItemsArray();if(Rt[Dt]){for(;this._skipPredicateFn(Rt[Dt]);)if(!Rt[Dt+=dt])return;this.setActiveItem(Dt)}}_getItemsArray(){return this._items instanceof y.rOR?this._items.toArray():this._items}}class ye extends Xe{setActiveItem(Dt){this.activeItem&&this.activeItem.setInactiveStyles(),super.setActiveItem(Dt),this.activeItem&&this.activeItem.setActiveStyles()}}class Ve extends Xe{constructor(){super(...arguments),this._origin="program"}setFocusOrigin(Dt){return this._origin=Dt,this}setActiveItem(Dt){super.setActiveItem(Dt),this.activeItem&&this.activeItem.focus(this._origin)}}let Qe=(()=>{class jt{constructor(dt){this._platform=dt}isDisabled(dt){return dt.hasAttribute("disabled")}isVisible(dt){return function Me(jt){return!!(jt.offsetWidth||jt.offsetHeight||"function"==typeof jt.getClientRects&&jt.getClientRects().length)}(dt)&&"visible"===getComputedStyle(dt).visibility}isTabbable(dt){if(!this._platform.isBrowser)return!1;const Rt=function be(jt){try{return jt.frameElement}catch{return null}}(function gt(jt){return jt.ownerDocument&&jt.ownerDocument.defaultView||window}(dt));if(Rt&&(-1===Ne(Rt)||!this.isVisible(Rt)))return!1;let ae=dt.nodeName.toLowerCase(),ze=Ne(dt);return dt.hasAttribute("contenteditable")?-1!==ze:!("iframe"===ae||"object"===ae||this._platform.WEBKIT&&this._platform.IOS&&!function ke(jt){let Dt=jt.nodeName.toLowerCase(),dt="input"===Dt&&jt.type;return"text"===dt||"password"===dt||"select"===Dt||"textarea"===Dt}(dt))&&("audio"===ae?!!dt.hasAttribute("controls")&&-1!==ze:"video"===ae?-1!==ze&&(null!==ze||this._platform.FIREFOX||dt.hasAttribute("controls")):dt.tabIndex>=0)}isFocusable(dt,Rt){return function un(jt){return!function Kt(jt){return function Tt(jt){return"input"==jt.nodeName.toLowerCase()}(jt)&&"hidden"==jt.type}(jt)&&(function yt(jt){let Dt=jt.nodeName.toLowerCase();return"input"===Dt||"select"===Dt||"button"===Dt||"textarea"===Dt}(jt)||function Nt(jt){return function Yt(jt){return"a"==jt.nodeName.toLowerCase()}(jt)&&jt.hasAttribute("href")}(jt)||jt.hasAttribute("contenteditable")||Ut(jt))}(dt)&&!this.isDisabled(dt)&&(Rt?.ignoreVisibility||this.isVisible(dt))}static{this.\u0275fac=function(Rt){return new(Rt||jt)(y.KVO(b.OD))}}static{this.\u0275prov=y.jDH({token:jt,factory:jt.\u0275fac,providedIn:"root"})}}return jt})();function Ut(jt){if(!jt.hasAttribute("tabindex")||void 0===jt.tabIndex)return!1;let Dt=jt.getAttribute("tabindex");return!(!Dt||isNaN(parseInt(Dt,10)))}function Ne(jt){if(!Ut(jt))return null;const Dt=parseInt(jt.getAttribute("tabindex")||"",10);return isNaN(Dt)?-1:Dt}class le{get enabled(){return this._enabled}set enabled(Dt){this._enabled=Dt,this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(Dt,this._startAnchor),this._toggleAnchorTabIndex(Dt,this._endAnchor))}constructor(Dt,dt,Rt,ae,ze=!1){this._element=Dt,this._checker=dt,this._ngZone=Rt,this._document=ae,this._hasAttached=!1,this.startAnchorListener=()=>this.focusLastTabbableElement(),this.endAnchorListener=()=>this.focusFirstTabbableElement(),this._enabled=!0,ze||this.attachAnchors()}destroy(){const Dt=this._startAnchor,dt=this._endAnchor;Dt&&(Dt.removeEventListener("focus",this.startAnchorListener),Dt.remove()),dt&&(dt.removeEventListener("focus",this.endAnchorListener),dt.remove()),this._startAnchor=this._endAnchor=null,this._hasAttached=!1}attachAnchors(){return!!this._hasAttached||(this._ngZone.runOutsideAngular(()=>{this._startAnchor||(this._startAnchor=this._createAnchor(),this._startAnchor.addEventListener("focus",this.startAnchorListener)),this._endAnchor||(this._endAnchor=this._createAnchor(),this._endAnchor.addEventListener("focus",this.endAnchorListener))}),this._element.parentNode&&(this._element.parentNode.insertBefore(this._startAnchor,this._element),this._element.parentNode.insertBefore(this._endAnchor,this._element.nextSibling),this._hasAttached=!0),this._hasAttached)}focusInitialElementWhenReady(Dt){return new Promise(dt=>{this._executeOnStable(()=>dt(this.focusInitialElement(Dt)))})}focusFirstTabbableElementWhenReady(Dt){return new Promise(dt=>{this._executeOnStable(()=>dt(this.focusFirstTabbableElement(Dt)))})}focusLastTabbableElementWhenReady(Dt){return new Promise(dt=>{this._executeOnStable(()=>dt(this.focusLastTabbableElement(Dt)))})}_getRegionBoundary(Dt){const dt=this._element.querySelectorAll(`[cdk-focus-region-${Dt}], [cdkFocusRegion${Dt}], [cdk-focus-${Dt}]`);return"start"==Dt?dt.length?dt[0]:this._getFirstTabbableElement(this._element):dt.length?dt[dt.length-1]:this._getLastTabbableElement(this._element)}focusInitialElement(Dt){const dt=this._element.querySelector("[cdk-focus-initial], [cdkFocusInitial]");if(dt){if(!this._checker.isFocusable(dt)){const Rt=this._getFirstTabbableElement(dt);return Rt?.focus(Dt),!!Rt}return dt.focus(Dt),!0}return this.focusFirstTabbableElement(Dt)}focusFirstTabbableElement(Dt){const dt=this._getRegionBoundary("start");return dt&&dt.focus(Dt),!!dt}focusLastTabbableElement(Dt){const dt=this._getRegionBoundary("end");return dt&&dt.focus(Dt),!!dt}hasAttached(){return this._hasAttached}_getFirstTabbableElement(Dt){if(this._checker.isFocusable(Dt)&&this._checker.isTabbable(Dt))return Dt;const dt=Dt.children;for(let Rt=0;Rt=0;Rt--){const ae=dt[Rt].nodeType===this._document.ELEMENT_NODE?this._getLastTabbableElement(dt[Rt]):null;if(ae)return ae}return null}_createAnchor(){const Dt=this._document.createElement("div");return this._toggleAnchorTabIndex(this._enabled,Dt),Dt.classList.add("cdk-visually-hidden"),Dt.classList.add("cdk-focus-trap-anchor"),Dt.setAttribute("aria-hidden","true"),Dt}_toggleAnchorTabIndex(Dt,dt){Dt?dt.setAttribute("tabindex","0"):dt.removeAttribute("tabindex")}toggleAnchors(Dt){this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(Dt,this._startAnchor),this._toggleAnchorTabIndex(Dt,this._endAnchor))}_executeOnStable(Dt){this._ngZone.isStable?Dt():this._ngZone.onStable.pipe((0,M.s)(1)).subscribe(Dt)}}let Vt=(()=>{class jt{constructor(dt,Rt,ae){this._checker=dt,this._ngZone=Rt,this._document=ae}create(dt,Rt=!1){return new le(dt,this._checker,this._ngZone,this._document,Rt)}static{this.\u0275fac=function(Rt){return new(Rt||jt)(y.KVO(Qe),y.KVO(y.SKi),y.KVO(o.qQ))}}static{this.\u0275prov=y.jDH({token:jt,factory:jt.\u0275fac,providedIn:"root"})}}return jt})();function je(jt){return 0===jt.buttons||0===jt.detail}function Ht(jt){const Dt=jt.touches&&jt.touches[0]||jt.changedTouches&&jt.changedTouches[0];return!(!Dt||-1!==Dt.identifier||null!=Dt.radiusX&&1!==Dt.radiusX||null!=Dt.radiusY&&1!==Dt.radiusY)}const ne=new y.nKC("cdk-input-modality-detector-options"),at={ignoreKeys:[Z.A$,Z.W3,Z.eg,Z.Ge,Z.FX]},st=(0,b.BQ)({passive:!0,capture:!0});let zt=(()=>{class jt{get mostRecentModality(){return this._modality.value}constructor(dt,Rt,ae,ze){this._platform=dt,this._mostRecentTarget=null,this._modality=new G.t(null),this._lastTouchMs=0,this._onKeydown=Zt=>{this._options?.ignoreKeys?.some(Ct=>Ct===Zt.keyCode)||(this._modality.next("keyboard"),this._mostRecentTarget=(0,b.Fb)(Zt))},this._onMousedown=Zt=>{Date.now()-this._lastTouchMs<650||(this._modality.next(je(Zt)?"keyboard":"mouse"),this._mostRecentTarget=(0,b.Fb)(Zt))},this._onTouchstart=Zt=>{Ht(Zt)?this._modality.next("keyboard"):(this._lastTouchMs=Date.now(),this._modality.next("touch"),this._mostRecentTarget=(0,b.Fb)(Zt))},this._options={...at,...ze},this.modalityDetected=this._modality.pipe((0,a.i)(1)),this.modalityChanged=this.modalityDetected.pipe((0,pt.F)()),dt.isBrowser&&Rt.runOutsideAngular(()=>{ae.addEventListener("keydown",this._onKeydown,st),ae.addEventListener("mousedown",this._onMousedown,st),ae.addEventListener("touchstart",this._onTouchstart,st)})}ngOnDestroy(){this._modality.complete(),this._platform.isBrowser&&(document.removeEventListener("keydown",this._onKeydown,st),document.removeEventListener("mousedown",this._onMousedown,st),document.removeEventListener("touchstart",this._onTouchstart,st))}static{this.\u0275fac=function(Rt){return new(Rt||jt)(y.KVO(b.OD),y.KVO(y.SKi),y.KVO(o.qQ),y.KVO(ne,8))}}static{this.\u0275prov=y.jDH({token:jt,factory:jt.\u0275fac,providedIn:"root"})}}return jt})();const vt=new y.nKC("liveAnnouncerElement",{providedIn:"root",factory:function kt(){return null}}),tt=new y.nKC("LIVE_ANNOUNCER_DEFAULT_OPTIONS");let X=0,ft=(()=>{class jt{constructor(dt,Rt,ae,ze){this._ngZone=Rt,this._defaultOptions=ze,this._document=ae,this._liveElement=dt||this._createLiveElement()}announce(dt,...Rt){const ae=this._defaultOptions;let ze,Zt;return 1===Rt.length&&"number"==typeof Rt[0]?Zt=Rt[0]:[ze,Zt]=Rt,this.clear(),clearTimeout(this._previousTimeout),ze||(ze=ae&&ae.politeness?ae.politeness:"polite"),null==Zt&&ae&&(Zt=ae.duration),this._liveElement.setAttribute("aria-live",ze),this._liveElement.id&&this._exposeAnnouncerToModals(this._liveElement.id),this._ngZone.runOutsideAngular(()=>(this._currentPromise||(this._currentPromise=new Promise(Ct=>this._currentResolve=Ct)),clearTimeout(this._previousTimeout),this._previousTimeout=setTimeout(()=>{this._liveElement.textContent=dt,"number"==typeof Zt&&(this._previousTimeout=setTimeout(()=>this.clear(),Zt)),this._currentResolve(),this._currentPromise=this._currentResolve=void 0},100),this._currentPromise))}clear(){this._liveElement&&(this._liveElement.textContent="")}ngOnDestroy(){clearTimeout(this._previousTimeout),this._liveElement?.remove(),this._liveElement=null,this._currentResolve?.(),this._currentPromise=this._currentResolve=void 0}_createLiveElement(){const dt="cdk-live-announcer-element",Rt=this._document.getElementsByClassName(dt),ae=this._document.createElement("div");for(let ze=0;ze .cdk-overlay-container [aria-modal="true"]');for(let ae=0;ae{class jt{constructor(dt,Rt,ae,ze,Zt){this._ngZone=dt,this._platform=Rt,this._inputModalityDetector=ae,this._origin=null,this._windowFocused=!1,this._originFromTouchInteraction=!1,this._elementInfo=new Map,this._monitoredElementCount=0,this._rootNodeFocusListenerCount=new Map,this._windowFocusListener=()=>{this._windowFocused=!0,this._windowFocusTimeoutId=window.setTimeout(()=>this._windowFocused=!1)},this._stopInputModalityDetector=new T.B,this._rootNodeFocusAndBlurListener=Ct=>{for(let A=(0,b.Fb)(Ct);A;A=A.parentElement)"focus"===Ct.type?this._onFocus(Ct,A):this._onBlur(Ct,A)},this._document=ze,this._detectionMode=Zt?.detectionMode||0}monitor(dt,Rt=!1){const ae=(0,J.i8)(dt);if(!this._platform.isBrowser||1!==ae.nodeType)return(0,P.of)();const ze=(0,b.KT)(ae)||this._getDocument(),Zt=this._elementInfo.get(ae);if(Zt)return Rt&&(Zt.checkChildren=!0),Zt.subject;const Ct={checkChildren:Rt,subject:new T.B,rootNode:ze};return this._elementInfo.set(ae,Ct),this._registerGlobalListeners(Ct),Ct.subject}stopMonitoring(dt){const Rt=(0,J.i8)(dt),ae=this._elementInfo.get(Rt);ae&&(ae.subject.complete(),this._setClasses(Rt),this._elementInfo.delete(Rt),this._removeGlobalListeners(ae))}focusVia(dt,Rt,ae){const ze=(0,J.i8)(dt);ze===this._getDocument().activeElement?this._getClosestElementsInfo(ze).forEach(([Ct,U])=>this._originChanged(Ct,Rt,U)):(this._setOrigin(Rt),"function"==typeof ze.focus&&ze.focus(ae))}ngOnDestroy(){this._elementInfo.forEach((dt,Rt)=>this.stopMonitoring(Rt))}_getDocument(){return this._document||document}_getWindow(){return this._getDocument().defaultView||window}_getFocusOrigin(dt){return this._origin?this._originFromTouchInteraction?this._shouldBeAttributedToTouch(dt)?"touch":"program":this._origin:this._windowFocused&&this._lastFocusOrigin?this._lastFocusOrigin:dt&&this._isLastInteractionFromInputLabel(dt)?"mouse":"program"}_shouldBeAttributedToTouch(dt){return 1===this._detectionMode||!!dt?.contains(this._inputModalityDetector._mostRecentTarget)}_setClasses(dt,Rt){dt.classList.toggle("cdk-focused",!!Rt),dt.classList.toggle("cdk-touch-focused","touch"===Rt),dt.classList.toggle("cdk-keyboard-focused","keyboard"===Rt),dt.classList.toggle("cdk-mouse-focused","mouse"===Rt),dt.classList.toggle("cdk-program-focused","program"===Rt)}_setOrigin(dt,Rt=!1){this._ngZone.runOutsideAngular(()=>{this._origin=dt,this._originFromTouchInteraction="touch"===dt&&Rt,0===this._detectionMode&&(clearTimeout(this._originTimeoutId),this._originTimeoutId=setTimeout(()=>this._origin=null,this._originFromTouchInteraction?650:1))})}_onFocus(dt,Rt){const ae=this._elementInfo.get(Rt),ze=(0,b.Fb)(dt);!ae||!ae.checkChildren&&Rt!==ze||this._originChanged(Rt,this._getFocusOrigin(ze),ae)}_onBlur(dt,Rt){const ae=this._elementInfo.get(Rt);!ae||ae.checkChildren&&dt.relatedTarget instanceof Node&&Rt.contains(dt.relatedTarget)||(this._setClasses(Rt),this._emitOrigin(ae,null))}_emitOrigin(dt,Rt){dt.subject.observers.length&&this._ngZone.run(()=>dt.subject.next(Rt))}_registerGlobalListeners(dt){if(!this._platform.isBrowser)return;const Rt=dt.rootNode,ae=this._rootNodeFocusListenerCount.get(Rt)||0;ae||this._ngZone.runOutsideAngular(()=>{Rt.addEventListener("focus",this._rootNodeFocusAndBlurListener,Te),Rt.addEventListener("blur",this._rootNodeFocusAndBlurListener,Te)}),this._rootNodeFocusListenerCount.set(Rt,ae+1),1==++this._monitoredElementCount&&(this._ngZone.runOutsideAngular(()=>{this._getWindow().addEventListener("focus",this._windowFocusListener)}),this._inputModalityDetector.modalityDetected.pipe((0,j.Q)(this._stopInputModalityDetector)).subscribe(ze=>{this._setOrigin(ze,!0)}))}_removeGlobalListeners(dt){const Rt=dt.rootNode;if(this._rootNodeFocusListenerCount.has(Rt)){const ae=this._rootNodeFocusListenerCount.get(Rt);ae>1?this._rootNodeFocusListenerCount.set(Rt,ae-1):(Rt.removeEventListener("focus",this._rootNodeFocusAndBlurListener,Te),Rt.removeEventListener("blur",this._rootNodeFocusAndBlurListener,Te),this._rootNodeFocusListenerCount.delete(Rt))}--this._monitoredElementCount||(this._getWindow().removeEventListener("focus",this._windowFocusListener),this._stopInputModalityDetector.next(),clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._originTimeoutId))}_originChanged(dt,Rt,ae){this._setClasses(dt,Rt),this._emitOrigin(ae,Rt),this._lastFocusOrigin=Rt}_getClosestElementsInfo(dt){const Rt=[];return this._elementInfo.forEach((ae,ze)=>{(ze===dt||ae.checkChildren&&ze.contains(dt))&&Rt.push([ze,ae])}),Rt}_isLastInteractionFromInputLabel(dt){const{_mostRecentTarget:Rt,mostRecentModality:ae}=this._inputModalityDetector;if("mouse"!==ae||!Rt||Rt===dt||"INPUT"!==dt.nodeName&&"TEXTAREA"!==dt.nodeName||dt.disabled)return!1;const ze=dt.labels;if(ze)for(let Zt=0;Zt{class jt{constructor(dt,Rt){this._elementRef=dt,this._focusMonitor=Rt,this._focusOrigin=null,this.cdkFocusChange=new y.bkB}get focusOrigin(){return this._focusOrigin}ngAfterViewInit(){const dt=this._elementRef.nativeElement;this._monitorSubscription=this._focusMonitor.monitor(dt,1===dt.nodeType&&dt.hasAttribute("cdkMonitorSubtreeFocus")).subscribe(Rt=>{this._focusOrigin=Rt,this.cdkFocusChange.emit(Rt)})}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._monitorSubscription&&this._monitorSubscription.unsubscribe()}static{this.\u0275fac=function(Rt){return new(Rt||jt)(y.rXU(y.aKT),y.rXU(Ke))}}static{this.\u0275dir=y.FsC({type:jt,selectors:[["","cdkMonitorElementFocus",""],["","cdkMonitorSubtreeFocus",""]],outputs:{cdkFocusChange:"cdkFocusChange"},exportAs:["cdkMonitorFocus"]})}}return jt})();const _n="cdk-high-contrast-black-on-white",hn="cdk-high-contrast-white-on-black",fe="cdk-high-contrast-active";let cn=(()=>{class jt{constructor(dt,Rt){this._platform=dt,this._document=Rt,this._breakpointSubscription=(0,y.WQX)(Gt.QP).observe("(forced-colors: active)").subscribe(()=>{this._hasCheckedHighContrastMode&&(this._hasCheckedHighContrastMode=!1,this._applyBodyHighContrastModeCssClasses())})}getHighContrastMode(){if(!this._platform.isBrowser)return 0;const dt=this._document.createElement("div");dt.style.backgroundColor="rgb(1,2,3)",dt.style.position="absolute",this._document.body.appendChild(dt);const Rt=this._document.defaultView||window,ae=Rt&&Rt.getComputedStyle?Rt.getComputedStyle(dt):null,ze=(ae&&ae.backgroundColor||"").replace(/ /g,"");switch(dt.remove(),ze){case"rgb(0,0,0)":case"rgb(45,50,54)":case"rgb(32,32,32)":return 2;case"rgb(255,255,255)":case"rgb(255,250,239)":return 1}return 0}ngOnDestroy(){this._breakpointSubscription.unsubscribe()}_applyBodyHighContrastModeCssClasses(){if(!this._hasCheckedHighContrastMode&&this._platform.isBrowser&&this._document.body){const dt=this._document.body.classList;dt.remove(fe,_n,hn),this._hasCheckedHighContrastMode=!0;const Rt=this.getHighContrastMode();1===Rt?dt.add(fe,_n):2===Rt&&dt.add(fe,hn)}}static{this.\u0275fac=function(Rt){return new(Rt||jt)(y.KVO(b.OD),y.KVO(o.qQ))}}static{this.\u0275prov=y.jDH({token:jt,factory:jt.\u0275fac,providedIn:"root"})}}return jt})(),me=(()=>{class jt{constructor(dt){dt._applyBodyHighContrastModeCssClasses()}static{this.\u0275fac=function(Rt){return new(Rt||jt)(y.KVO(cn))}}static{this.\u0275mod=y.$C({type:jt})}static{this.\u0275inj=y.G2t({imports:[bt.w5]})}}return jt})()},10165:(Ce,Lt,r)=>{r.d(Lt,{dS:()=>P,jI:()=>N});var o=r(1843),y=r(18331);const b=new o.nKC("cdk-dir-doc",{providedIn:"root",factory:function T(){return(0,o.WQX)(y.qQ)}}),k=/^(ar|ckb|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*[-_](Adlm|Arab|Hebr|Nkoo|Rohg|Thaa))(?!.*[-_](Latn|Cyrl)($|-|_))($|-|_)/i;let P=(()=>{class ot{constructor(K){this.value="ltr",this.change=new o.bkB,K&&(this.value=function G(ot){const q=ot?.toLowerCase()||"";return"auto"===q&&typeof navigator<"u"&&navigator?.language?k.test(navigator.language)?"rtl":"ltr":"rtl"===q?"rtl":"ltr"}((K.body?K.body.dir:null)||(K.documentElement?K.documentElement.dir:null)||"ltr"))}ngOnDestroy(){this.change.complete()}static{this.\u0275fac=function(M){return new(M||ot)(o.KVO(b,8))}}static{this.\u0275prov=o.jDH({token:ot,factory:ot.\u0275fac,providedIn:"root"})}}return ot})(),N=(()=>{class ot{static{this.\u0275fac=function(M){return new(M||ot)}}static{this.\u0275mod=o.$C({type:ot})}static{this.\u0275inj=o.G2t({})}}return ot})()},8275:(Ce,Lt,r)=>{r.d(Lt,{FG:()=>k,OE:()=>b,a1:()=>G,cc:()=>Z,he:()=>y,i8:()=>P,o1:()=>T});var o=r(1843);function y(N){return null!=N&&"false"!=`${N}`}function b(N,ot=0){return T(N)?Number(N):ot}function T(N){return!isNaN(parseFloat(N))&&!isNaN(Number(N))}function k(N){return Array.isArray(N)?N:[N]}function G(N){return null==N?"":"string"==typeof N?N:`${N}px`}function P(N){return N instanceof o.aKT?N.nativeElement:N}function Z(N,ot=/\s+/){const q=[];if(null!=N){const K=Array.isArray(N)?N:`${N}`.split(ot);for(const M of K){const a=`${M}`.trim();a&&q.push(a)}}return q}},81538:(Ce,Lt,r)=>{r.d(Lt,{CB:()=>q,DQ:()=>ot,qS:()=>G,sL:()=>a,xn:()=>N,y4:()=>P,zP:()=>M});var o=r(3979),T=(r(1396),r(73151),r(89115)),k=r(1843);class G{}function P(pt){return pt&&"function"==typeof pt.connect&&!(pt instanceof o.G)}class N{applyChanges(j,J,bt,Gt,te){j.forEachOperation(($,lt,V)=>{let mt,rt;if(null==$.previousIndex){const $t=bt($,lt,V);mt=J.createEmbeddedView($t.templateRef,$t.context,$t.index),rt=1}else null==V?(J.remove(lt),rt=3):(mt=J.get(lt),J.move(mt,V),rt=2);te&&te({context:mt?.context,operation:rt,record:$})})}detach(){}}class ot{constructor(){this.viewCacheSize=20,this._viewCache=[]}applyChanges(j,J,bt,Gt,te){j.forEachOperation(($,lt,V)=>{let mt,rt;null==$.previousIndex?(mt=this._insertView(()=>bt($,lt,V),V,J,Gt($)),rt=mt?1:0):null==V?(this._detachAndCacheView(lt,J),rt=3):(mt=this._moveView(lt,V,J,Gt($)),rt=2),te&&te({context:mt?.context,operation:rt,record:$})})}detach(){for(const j of this._viewCache)j.destroy();this._viewCache=[]}_insertView(j,J,bt,Gt){const te=this._insertViewFromCache(J,bt);if(te)return void(te.context.$implicit=Gt);const $=j();return bt.createEmbeddedView($.templateRef,$.context,$.index)}_detachAndCacheView(j,J){const bt=J.detach(j);this._maybeCacheView(bt,J)}_moveView(j,J,bt,Gt){const te=bt.get(j);return bt.move(te,J),te.context.$implicit=Gt,te}_maybeCacheView(j,J){if(this._viewCache.lengththis._markSelected(te)):this._markSelected(J[0]),this._selectedToEmit.length=0)}select(...j){this._verifyValueAssignment(j),j.forEach(bt=>this._markSelected(bt));const J=this._hasQueuedChanges();return this._emitChangeEvent(),J}deselect(...j){this._verifyValueAssignment(j),j.forEach(bt=>this._unmarkSelected(bt));const J=this._hasQueuedChanges();return this._emitChangeEvent(),J}setSelection(...j){this._verifyValueAssignment(j);const J=this.selected,bt=new Set(j);j.forEach(te=>this._markSelected(te)),J.filter(te=>!bt.has(te)).forEach(te=>this._unmarkSelected(te));const Gt=this._hasQueuedChanges();return this._emitChangeEvent(),Gt}toggle(j){return this.isSelected(j)?this.deselect(j):this.select(j)}clear(j=!0){this._unmarkAll();const J=this._hasQueuedChanges();return j&&this._emitChangeEvent(),J}isSelected(j){return this._selection.has(this._getConcreteValue(j))}isEmpty(){return 0===this._selection.size}hasValue(){return!this.isEmpty()}sort(j){this._multiple&&this.selected&&this._selected.sort(j)}isMultipleSelection(){return this._multiple}_emitChangeEvent(){this._selected=null,(this._selectedToEmit.length||this._deselectedToEmit.length)&&(this.changed.next({source:this,added:this._selectedToEmit,removed:this._deselectedToEmit}),this._deselectedToEmit=[],this._selectedToEmit=[])}_markSelected(j){j=this._getConcreteValue(j),this.isSelected(j)||(this._multiple||this._unmarkAll(),this.isSelected(j)||this._selection.add(j),this._emitChanges&&this._selectedToEmit.push(j))}_unmarkSelected(j){j=this._getConcreteValue(j),this.isSelected(j)&&(this._selection.delete(j),this._emitChanges&&this._deselectedToEmit.push(j))}_unmarkAll(){this.isEmpty()||this._selection.forEach(j=>this._unmarkSelected(j))}_verifyValueAssignment(j){}_hasQueuedChanges(){return!(!this._deselectedToEmit.length&&!this._selectedToEmit.length)}_getConcreteValue(j){if(this.compareWith){for(let J of this._selection)if(this.compareWith(j,J))return J;return j}return j}}let M=(()=>{class pt{constructor(){this._listeners=[]}notify(J,bt){for(let Gt of this._listeners)Gt(J,bt)}listen(J){return this._listeners.push(J),()=>{this._listeners=this._listeners.filter(bt=>J!==bt)}}ngOnDestroy(){this._listeners=[]}static{this.\u0275fac=function(bt){return new(bt||pt)}}static{this.\u0275prov=k.jDH({token:pt,factory:pt.\u0275fac,providedIn:"root"})}}return pt})();const a=new k.nKC("_ViewRepeater")},25150:(Ce,Lt,r)=>{r.d(Lt,{A:()=>Kt,A$:()=>Z,FX:()=>G,Fm:()=>k,G_:()=>y,Ge:()=>tt,Kp:()=>pt,LE:()=>Gt,SJ:()=>mt,UQ:()=>J,W3:()=>P,Z:()=>kt,_f:()=>q,bn:()=>Oe,dB:()=>a,eg:()=>Fi,f2:()=>rt,i7:()=>bt,n6:()=>te,rp:()=>oi,t6:()=>K,w_:()=>M,wn:()=>b,yZ:()=>j});const y=8,b=9,k=13,G=16,P=17,Z=18,q=27,K=32,M=33,a=34,pt=35,j=36,J=37,bt=38,Gt=39,te=40,mt=46,rt=48,Oe=57,Kt=65,kt=90,tt=91,Fi=224;function oi(Ti,...Mo){return Mo.length?Mo.some(si=>Ti[si]):Ti.altKey||Ti.shiftKey||Ti.ctrlKey||Ti.metaKey}},89369:(Ce,Lt,r)=>{r.d(Lt,{QP:()=>te,Rp:()=>lt});var o=r(1843),y=r(8275),b=r(89115),T=r(17434),k=r(81171),G=r(23135),P=r(89371),Z=r(16483),N=r(45318),ot=r(12324),q=r(28930),K=r(73907),M=r(29094);const pt=new Set;let j,J=(()=>{class V{constructor(rt,$t){this._platform=rt,this._nonce=$t,this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):Gt}matchMedia(rt){return(this._platform.WEBKIT||this._platform.BLINK)&&function bt(V,mt){if(!pt.has(V))try{j||(j=document.createElement("style"),mt&&(j.nonce=mt),j.setAttribute("type","text/css"),document.head.appendChild(j)),j.sheet&&(j.sheet.insertRule(`@media ${V} {body{ }}`,0),pt.add(V))}catch(rt){console.error(rt)}}(rt,this._nonce),this._matchMedia(rt)}static{this.\u0275fac=function($t){return new($t||V)(o.KVO(M.OD),o.KVO(o.BIS,8))}}static{this.\u0275prov=o.jDH({token:V,factory:V.\u0275fac,providedIn:"root"})}}return V})();function Gt(V){return{matches:"all"===V||""===V,media:V,addListener:()=>{},removeListener:()=>{}}}let te=(()=>{class V{constructor(rt,$t){this._mediaMatcher=rt,this._zone=$t,this._queries=new Map,this._destroySubject=new b.B}ngOnDestroy(){this._destroySubject.next(),this._destroySubject.complete()}isMatched(rt){return $((0,y.FG)(rt)).some(de=>this._registerQuery(de).mql.matches)}observe(rt){const de=$((0,y.FG)(rt)).map(Le=>this._registerQuery(Le).observable);let _e=(0,T.z)(de);return _e=(0,k.x)(_e.pipe((0,P.s)(1)),_e.pipe((0,Z.i)(1),(0,N.B)(0))),_e.pipe((0,ot.T)(Le=>{const Ge={matches:!1,breakpoints:{}};return Le.forEach(({matches:Xe,query:ye})=>{Ge.matches=Ge.matches||Xe,Ge.breakpoints[ye]=Xe}),Ge}))}_registerQuery(rt){if(this._queries.has(rt))return this._queries.get(rt);const $t=this._mediaMatcher.matchMedia(rt),_e={observable:new G.c(Le=>{const Ge=Xe=>this._zone.run(()=>Le.next(Xe));return $t.addListener(Ge),()=>{$t.removeListener(Ge)}}).pipe((0,q.Z)($t),(0,ot.T)(({matches:Le})=>({query:rt,matches:Le})),(0,K.Q)(this._destroySubject)),mql:$t};return this._queries.set(rt,_e),_e}static{this.\u0275fac=function($t){return new($t||V)(o.KVO(J),o.KVO(o.SKi))}}static{this.\u0275prov=o.jDH({token:V,factory:V.\u0275fac,providedIn:"root"})}}return V})();function $(V){return V.map(mt=>mt.split(",")).reduce((mt,rt)=>mt.concat(rt)).map(mt=>mt.trim())}const lt={XSmall:"(max-width: 599.98px)",Small:"(min-width: 600px) and (max-width: 959.98px)",Medium:"(min-width: 960px) and (max-width: 1279.98px)",Large:"(min-width: 1280px) and (max-width: 1919.98px)",XLarge:"(min-width: 1920px)",Handset:"(max-width: 599.98px) and (orientation: portrait), (max-width: 959.98px) and (orientation: landscape)",Tablet:"(min-width: 600px) and (max-width: 839.98px) and (orientation: portrait), (min-width: 960px) and (max-width: 1279.98px) and (orientation: landscape)",Web:"(min-width: 840px) and (orientation: portrait), (min-width: 1280px) and (orientation: landscape)",HandsetPortrait:"(max-width: 599.98px) and (orientation: portrait)",TabletPortrait:"(min-width: 600px) and (max-width: 839.98px) and (orientation: portrait)",WebPortrait:"(min-width: 840px) and (orientation: portrait)",HandsetLandscape:"(max-width: 959.98px) and (orientation: landscape)",TabletLandscape:"(min-width: 960px) and (max-width: 1279.98px) and (orientation: landscape)",WebLandscape:"(min-width: 1280px) and (orientation: landscape)"}},59332:(Ce,Lt,r)=>{r.d(Lt,{Wv:()=>Z,w5:()=>N});var o=r(8275),y=r(1843),b=r(23135),T=r(89115),k=r(45318);let G=(()=>{class ot{create(K){return typeof MutationObserver>"u"?null:new MutationObserver(K)}static{this.\u0275fac=function(M){return new(M||ot)}}static{this.\u0275prov=y.jDH({token:ot,factory:ot.\u0275fac,providedIn:"root"})}}return ot})(),P=(()=>{class ot{constructor(K){this._mutationObserverFactory=K,this._observedElements=new Map}ngOnDestroy(){this._observedElements.forEach((K,M)=>this._cleanupObserver(M))}observe(K){const M=(0,o.i8)(K);return new b.c(a=>{const j=this._observeElement(M).subscribe(a);return()=>{j.unsubscribe(),this._unobserveElement(M)}})}_observeElement(K){if(this._observedElements.has(K))this._observedElements.get(K).count++;else{const M=new T.B,a=this._mutationObserverFactory.create(pt=>M.next(pt));a&&a.observe(K,{characterData:!0,childList:!0,subtree:!0}),this._observedElements.set(K,{observer:a,stream:M,count:1})}return this._observedElements.get(K).stream}_unobserveElement(K){this._observedElements.has(K)&&(this._observedElements.get(K).count--,this._observedElements.get(K).count||this._cleanupObserver(K))}_cleanupObserver(K){if(this._observedElements.has(K)){const{observer:M,stream:a}=this._observedElements.get(K);M&&M.disconnect(),a.complete(),this._observedElements.delete(K)}}static{this.\u0275fac=function(M){return new(M||ot)(y.KVO(G))}}static{this.\u0275prov=y.jDH({token:ot,factory:ot.\u0275fac,providedIn:"root"})}}return ot})(),Z=(()=>{class ot{get disabled(){return this._disabled}set disabled(K){this._disabled=(0,o.he)(K),this._disabled?this._unsubscribe():this._subscribe()}get debounce(){return this._debounce}set debounce(K){this._debounce=(0,o.OE)(K),this._subscribe()}constructor(K,M,a){this._contentObserver=K,this._elementRef=M,this._ngZone=a,this.event=new y.bkB,this._disabled=!1,this._currentSubscription=null}ngAfterContentInit(){!this._currentSubscription&&!this.disabled&&this._subscribe()}ngOnDestroy(){this._unsubscribe()}_subscribe(){this._unsubscribe();const K=this._contentObserver.observe(this._elementRef);this._ngZone.runOutsideAngular(()=>{this._currentSubscription=(this.debounce?K.pipe((0,k.B)(this.debounce)):K).subscribe(this.event)})}_unsubscribe(){this._currentSubscription?.unsubscribe()}static{this.\u0275fac=function(M){return new(M||ot)(y.rXU(P),y.rXU(y.aKT),y.rXU(y.SKi))}}static{this.\u0275dir=y.FsC({type:ot,selectors:[["","cdkObserveContent",""]],inputs:{disabled:["cdkObserveContentDisabled","disabled"],debounce:"debounce"},outputs:{event:"cdkObserveContent"},exportAs:["cdkObserveContent"]})}}return ot})(),N=(()=>{class ot{static{this.\u0275fac=function(M){return new(M||ot)}}static{this.\u0275mod=y.$C({type:ot})}static{this.\u0275inj=y.G2t({providers:[G]})}}return ot})()},3819:(Ce,Lt,r)=>{r.d(Lt,{WB:()=>Ee,$Q:()=>re,hJ:()=>oe,rR:()=>de,Sf:()=>be,z_:()=>Ht,yY:()=>Me});var o=r(18144),y=r(18331),b=r(1843),T=r(8275),k=r(29094),G=r(98474),P=r(89371),Z=r(73907),N=r(33280),ot=r(37018),K=r(10165),M=r(86953),a=r(89115),pt=r(52693),j=r(85012),J=r(25150);const bt=(0,k.CZ)();class Gt{constructor(H,st){this._viewportRuler=H,this._previousHTMLStyles={top:"",left:""},this._isEnabled=!1,this._document=st}attach(){}enable(){if(this._canBeEnabled()){const H=this._document.documentElement;this._previousScrollPosition=this._viewportRuler.getViewportScrollPosition(),this._previousHTMLStyles.left=H.style.left||"",this._previousHTMLStyles.top=H.style.top||"",H.style.left=(0,T.a1)(-this._previousScrollPosition.left),H.style.top=(0,T.a1)(-this._previousScrollPosition.top),H.classList.add("cdk-global-scrollblock"),this._isEnabled=!0}}disable(){if(this._isEnabled){const H=this._document.documentElement,zt=H.style,vt=this._document.body.style,kt=zt.scrollBehavior||"",tt=vt.scrollBehavior||"";this._isEnabled=!1,zt.left=this._previousHTMLStyles.left,zt.top=this._previousHTMLStyles.top,H.classList.remove("cdk-global-scrollblock"),bt&&(zt.scrollBehavior=vt.scrollBehavior="auto"),window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top),bt&&(zt.scrollBehavior=kt,vt.scrollBehavior=tt)}}_canBeEnabled(){if(this._document.documentElement.classList.contains("cdk-global-scrollblock")||this._isEnabled)return!1;const st=this._document.body,zt=this._viewportRuler.getViewportSize();return st.scrollHeight>zt.height||st.scrollWidth>zt.width}}class ${constructor(H,st,zt,vt){this._scrollDispatcher=H,this._ngZone=st,this._viewportRuler=zt,this._config=vt,this._scrollSubscription=null,this._detach=()=>{this.disable(),this._overlayRef.hasAttached()&&this._ngZone.run(()=>this._overlayRef.detach())}}attach(H){this._overlayRef=H}enable(){if(this._scrollSubscription)return;const H=this._scrollDispatcher.scrolled(0).pipe((0,G.p)(st=>!st||!this._overlayRef.overlayElement.contains(st.getElementRef().nativeElement)));this._config&&this._config.threshold&&this._config.threshold>1?(this._initialScrollPosition=this._viewportRuler.getViewportScrollPosition().top,this._scrollSubscription=H.subscribe(()=>{const st=this._viewportRuler.getViewportScrollPosition().top;Math.abs(st-this._initialScrollPosition)>this._config.threshold?this._detach():this._overlayRef.updatePosition()})):this._scrollSubscription=H.subscribe(this._detach)}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}}class lt{enable(){}disable(){}attach(){}}function V(at,H){return H.some(st=>at.bottomst.bottom||at.rightst.right)}function mt(at,H){return H.some(st=>at.topst.bottom||at.leftst.right)}class rt{constructor(H,st,zt,vt){this._scrollDispatcher=H,this._viewportRuler=st,this._ngZone=zt,this._config=vt,this._scrollSubscription=null}attach(H){this._overlayRef=H}enable(){this._scrollSubscription||(this._scrollSubscription=this._scrollDispatcher.scrolled(this._config?this._config.scrollThrottle:0).subscribe(()=>{if(this._overlayRef.updatePosition(),this._config&&this._config.autoClose){const st=this._overlayRef.overlayElement.getBoundingClientRect(),{width:zt,height:vt}=this._viewportRuler.getViewportSize();V(st,[{width:zt,height:vt,bottom:vt,right:zt,top:0,left:0}])&&(this.disable(),this._ngZone.run(()=>this._overlayRef.detach()))}}))}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}}let $t=(()=>{class at{constructor(st,zt,vt,kt){this._scrollDispatcher=st,this._viewportRuler=zt,this._ngZone=vt,this.noop=()=>new lt,this.close=tt=>new $(this._scrollDispatcher,this._ngZone,this._viewportRuler,tt),this.block=()=>new Gt(this._viewportRuler,this._document),this.reposition=tt=>new rt(this._scrollDispatcher,this._viewportRuler,this._ngZone,tt),this._document=kt}static{this.\u0275fac=function(zt){return new(zt||at)(b.KVO(o.R),b.KVO(o.Xj),b.KVO(b.SKi),b.KVO(y.qQ))}}static{this.\u0275prov=b.jDH({token:at,factory:at.\u0275fac,providedIn:"root"})}}return at})();class de{constructor(H){if(this.scrollStrategy=new lt,this.panelClass="",this.hasBackdrop=!1,this.backdropClass="cdk-overlay-dark-backdrop",this.disposeOnNavigation=!1,H){const st=Object.keys(H);for(const zt of st)void 0!==H[zt]&&(this[zt]=H[zt])}}}class Ge{constructor(H,st){this.connectionPair=H,this.scrollableViewProperties=st}}let Ve=(()=>{class at{constructor(st){this._attachedOverlays=[],this._document=st}ngOnDestroy(){this.detach()}add(st){this.remove(st),this._attachedOverlays.push(st)}remove(st){const zt=this._attachedOverlays.indexOf(st);zt>-1&&this._attachedOverlays.splice(zt,1),0===this._attachedOverlays.length&&this.detach()}static{this.\u0275fac=function(zt){return new(zt||at)(b.KVO(y.qQ))}}static{this.\u0275prov=b.jDH({token:at,factory:at.\u0275fac,providedIn:"root"})}}return at})(),Oe=(()=>{class at extends Ve{constructor(st,zt){super(st),this._ngZone=zt,this._keydownListener=vt=>{const kt=this._attachedOverlays;for(let tt=kt.length-1;tt>-1;tt--)if(kt[tt]._keydownEvents.observers.length>0){const X=kt[tt]._keydownEvents;this._ngZone?this._ngZone.run(()=>X.next(vt)):X.next(vt);break}}}add(st){super.add(st),this._isAttached||(this._ngZone?this._ngZone.runOutsideAngular(()=>this._document.body.addEventListener("keydown",this._keydownListener)):this._document.body.addEventListener("keydown",this._keydownListener),this._isAttached=!0)}detach(){this._isAttached&&(this._document.body.removeEventListener("keydown",this._keydownListener),this._isAttached=!1)}static{this.\u0275fac=function(zt){return new(zt||at)(b.KVO(y.qQ),b.KVO(b.SKi,8))}}static{this.\u0275prov=b.jDH({token:at,factory:at.\u0275fac,providedIn:"root"})}}return at})(),Qe=(()=>{class at extends Ve{constructor(st,zt,vt){super(st),this._platform=zt,this._ngZone=vt,this._cursorStyleIsSet=!1,this._pointerDownListener=kt=>{this._pointerDownEventTarget=(0,k.Fb)(kt)},this._clickListener=kt=>{const tt=(0,k.Fb)(kt),X="click"===kt.type&&this._pointerDownEventTarget?this._pointerDownEventTarget:tt;this._pointerDownEventTarget=null;const ft=this._attachedOverlays.slice();for(let Ot=ft.length-1;Ot>-1;Ot--){const xe=ft[Ot];if(xe._outsidePointerEvents.observers.length<1||!xe.hasAttached())continue;if(xe.overlayElement.contains(tt)||xe.overlayElement.contains(X))break;const Te=xe._outsidePointerEvents;this._ngZone?this._ngZone.run(()=>Te.next(kt)):Te.next(kt)}}}add(st){if(super.add(st),!this._isAttached){const zt=this._document.body;this._ngZone?this._ngZone.runOutsideAngular(()=>this._addEventListeners(zt)):this._addEventListeners(zt),this._platform.IOS&&!this._cursorStyleIsSet&&(this._cursorOriginalValue=zt.style.cursor,zt.style.cursor="pointer",this._cursorStyleIsSet=!0),this._isAttached=!0}}detach(){if(this._isAttached){const st=this._document.body;st.removeEventListener("pointerdown",this._pointerDownListener,!0),st.removeEventListener("click",this._clickListener,!0),st.removeEventListener("auxclick",this._clickListener,!0),st.removeEventListener("contextmenu",this._clickListener,!0),this._platform.IOS&&this._cursorStyleIsSet&&(st.style.cursor=this._cursorOriginalValue,this._cursorStyleIsSet=!1),this._isAttached=!1}}_addEventListeners(st){st.addEventListener("pointerdown",this._pointerDownListener,!0),st.addEventListener("click",this._clickListener,!0),st.addEventListener("auxclick",this._clickListener,!0),st.addEventListener("contextmenu",this._clickListener,!0)}static{this.\u0275fac=function(zt){return new(zt||at)(b.KVO(y.qQ),b.KVO(k.OD),b.KVO(b.SKi,8))}}static{this.\u0275prov=b.jDH({token:at,factory:at.\u0275fac,providedIn:"root"})}}return at})(),be=(()=>{class at{constructor(st,zt){this._platform=zt,this._document=st}ngOnDestroy(){this._containerElement?.remove()}getContainerElement(){return this._containerElement||this._createContainer(),this._containerElement}_createContainer(){const st="cdk-overlay-container";if(this._platform.isBrowser||(0,k.v8)()){const vt=this._document.querySelectorAll(`.${st}[platform="server"], .${st}[platform="test"]`);for(let kt=0;ktthis._backdropClick.next(Te),this._backdropTransitionendHandler=Te=>{this._disposeBackdrop(Te.target)},this._keydownEvents=new a.B,this._outsidePointerEvents=new a.B,vt.scrollStrategy&&(this._scrollStrategy=vt.scrollStrategy,this._scrollStrategy.attach(this)),this._positionStrategy=vt.positionStrategy}get overlayElement(){return this._pane}get backdropElement(){return this._backdropElement}get hostElement(){return this._host}attach(H){!this._host.parentElement&&this._previousHostParent&&this._previousHostParent.appendChild(this._host);const st=this._portalOutlet.attach(H);return this._positionStrategy&&this._positionStrategy.attach(this),this._updateStackingOrder(),this._updateElementSize(),this._updateElementDirection(),this._scrollStrategy&&this._scrollStrategy.enable(),this._ngZone.onStable.pipe((0,P.s)(1)).subscribe(()=>{this.hasAttached()&&this.updatePosition()}),this._togglePointerEvents(!0),this._config.hasBackdrop&&this._attachBackdrop(),this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!0),this._attachments.next(),this._keyboardDispatcher.add(this),this._config.disposeOnNavigation&&(this._locationChanges=this._location.subscribe(()=>this.dispose())),this._outsideClickDispatcher.add(this),"function"==typeof st?.onDestroy&&st.onDestroy(()=>{this.hasAttached()&&this._ngZone.runOutsideAngular(()=>Promise.resolve().then(()=>this.detach()))}),st}detach(){if(!this.hasAttached())return;this.detachBackdrop(),this._togglePointerEvents(!1),this._positionStrategy&&this._positionStrategy.detach&&this._positionStrategy.detach(),this._scrollStrategy&&this._scrollStrategy.disable();const H=this._portalOutlet.detach();return this._detachments.next(),this._keyboardDispatcher.remove(this),this._detachContentWhenStable(),this._locationChanges.unsubscribe(),this._outsideClickDispatcher.remove(this),H}dispose(){const H=this.hasAttached();this._positionStrategy&&this._positionStrategy.dispose(),this._disposeScrollStrategy(),this._disposeBackdrop(this._backdropElement),this._locationChanges.unsubscribe(),this._keyboardDispatcher.remove(this),this._portalOutlet.dispose(),this._attachments.complete(),this._backdropClick.complete(),this._keydownEvents.complete(),this._outsidePointerEvents.complete(),this._outsideClickDispatcher.remove(this),this._host?.remove(),this._previousHostParent=this._pane=this._host=null,H&&this._detachments.next(),this._detachments.complete()}hasAttached(){return this._portalOutlet.hasAttached()}backdropClick(){return this._backdropClick}attachments(){return this._attachments}detachments(){return this._detachments}keydownEvents(){return this._keydownEvents}outsidePointerEvents(){return this._outsidePointerEvents}getConfig(){return this._config}updatePosition(){this._positionStrategy&&this._positionStrategy.apply()}updatePositionStrategy(H){H!==this._positionStrategy&&(this._positionStrategy&&this._positionStrategy.dispose(),this._positionStrategy=H,this.hasAttached()&&(H.attach(this),this.updatePosition()))}updateSize(H){this._config={...this._config,...H},this._updateElementSize()}setDirection(H){this._config={...this._config,direction:H},this._updateElementDirection()}addPanelClass(H){this._pane&&this._toggleClasses(this._pane,H,!0)}removePanelClass(H){this._pane&&this._toggleClasses(this._pane,H,!1)}getDirection(){const H=this._config.direction;return H?"string"==typeof H?H:H.value:"ltr"}updateScrollStrategy(H){H!==this._scrollStrategy&&(this._disposeScrollStrategy(),this._scrollStrategy=H,this.hasAttached()&&(H.attach(this),H.enable()))}_updateElementDirection(){this._host.setAttribute("dir",this.getDirection())}_updateElementSize(){if(!this._pane)return;const H=this._pane.style;H.width=(0,T.a1)(this._config.width),H.height=(0,T.a1)(this._config.height),H.minWidth=(0,T.a1)(this._config.minWidth),H.minHeight=(0,T.a1)(this._config.minHeight),H.maxWidth=(0,T.a1)(this._config.maxWidth),H.maxHeight=(0,T.a1)(this._config.maxHeight)}_togglePointerEvents(H){this._pane.style.pointerEvents=H?"":"none"}_attachBackdrop(){const H="cdk-overlay-backdrop-showing";this._backdropElement=this._document.createElement("div"),this._backdropElement.classList.add("cdk-overlay-backdrop"),this._animationsDisabled&&this._backdropElement.classList.add("cdk-overlay-backdrop-noop-animation"),this._config.backdropClass&&this._toggleClasses(this._backdropElement,this._config.backdropClass,!0),this._host.parentElement.insertBefore(this._backdropElement,this._host),this._backdropElement.addEventListener("click",this._backdropClickHandler),!this._animationsDisabled&&typeof requestAnimationFrame<"u"?this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>{this._backdropElement&&this._backdropElement.classList.add(H)})}):this._backdropElement.classList.add(H)}_updateStackingOrder(){this._host.nextSibling&&this._host.parentNode.appendChild(this._host)}detachBackdrop(){const H=this._backdropElement;if(H){if(this._animationsDisabled)return void this._disposeBackdrop(H);H.classList.remove("cdk-overlay-backdrop-showing"),this._ngZone.runOutsideAngular(()=>{H.addEventListener("transitionend",this._backdropTransitionendHandler)}),H.style.pointerEvents="none",this._backdropTimeout=this._ngZone.runOutsideAngular(()=>setTimeout(()=>{this._disposeBackdrop(H)},500))}}_toggleClasses(H,st,zt){const vt=(0,T.FG)(st||[]).filter(kt=>!!kt);vt.length&&(zt?H.classList.add(...vt):H.classList.remove(...vt))}_detachContentWhenStable(){this._ngZone.runOutsideAngular(()=>{const H=this._ngZone.onStable.pipe((0,Z.Q)((0,j.h)(this._attachments,this._detachments))).subscribe(()=>{(!this._pane||!this._host||0===this._pane.children.length)&&(this._pane&&this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!1),this._host&&this._host.parentElement&&(this._previousHostParent=this._host.parentElement,this._host.remove()),H.unsubscribe())})})}_disposeScrollStrategy(){const H=this._scrollStrategy;H&&(H.disable(),H.detach&&H.detach())}_disposeBackdrop(H){H&&(H.removeEventListener("click",this._backdropClickHandler),H.removeEventListener("transitionend",this._backdropTransitionendHandler),H.remove(),this._backdropElement===H&&(this._backdropElement=null)),this._backdropTimeout&&(clearTimeout(this._backdropTimeout),this._backdropTimeout=void 0)}}const yt="cdk-overlay-connected-position-bounding-box",Kt=/([A-Za-z%]+)$/;class Nt{get positions(){return this._preferredPositions}constructor(H,st,zt,vt,kt){this._viewportRuler=st,this._document=zt,this._platform=vt,this._overlayContainer=kt,this._lastBoundingBoxSize={width:0,height:0},this._isPushed=!1,this._canPush=!0,this._growAfterOpen=!1,this._hasFlexibleDimensions=!0,this._positionLocked=!1,this._viewportMargin=0,this._scrollables=[],this._preferredPositions=[],this._positionChanges=new a.B,this._resizeSubscription=pt.yU.EMPTY,this._offsetX=0,this._offsetY=0,this._appliedPanelClasses=[],this.positionChanges=this._positionChanges,this.setOrigin(H)}attach(H){this._validatePositions(),H.hostElement.classList.add(yt),this._overlayRef=H,this._boundingBox=H.hostElement,this._pane=H.overlayElement,this._isDisposed=!1,this._isInitialRender=!0,this._lastPosition=null,this._resizeSubscription.unsubscribe(),this._resizeSubscription=this._viewportRuler.change().subscribe(()=>{this._isInitialRender=!0,this.apply()})}apply(){if(this._isDisposed||!this._platform.isBrowser)return;if(!this._isInitialRender&&this._positionLocked&&this._lastPosition)return void this.reapplyLastPosition();this._clearPanelClasses(),this._resetOverlayElementStyles(),this._resetBoundingBoxStyles(),this._viewportRect=this._getNarrowedViewportRect(),this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._containerRect=this._overlayContainer.getContainerElement().getBoundingClientRect();const H=this._originRect,st=this._overlayRect,zt=this._viewportRect,vt=this._containerRect,kt=[];let tt;for(let X of this._preferredPositions){let ft=this._getOriginPoint(H,vt,X),Ot=this._getOverlayPoint(ft,st,X),xe=this._getOverlayFit(Ot,st,zt,X);if(xe.isCompletelyWithinViewport)return this._isPushed=!1,void this._applyPosition(X,ft);this._canFitWithFlexibleDimensions(xe,Ot,zt)?kt.push({position:X,origin:ft,overlayRect:st,boundingBoxRect:this._calculateBoundingBoxRect(ft,X)}):(!tt||tt.overlayFit.visibleAreaft&&(ft=xe,X=Ot)}return this._isPushed=!1,void this._applyPosition(X.position,X.origin)}if(this._canPush)return this._isPushed=!0,void this._applyPosition(tt.position,tt.originPoint);this._applyPosition(tt.position,tt.originPoint)}detach(){this._clearPanelClasses(),this._lastPosition=null,this._previousPushAmount=null,this._resizeSubscription.unsubscribe()}dispose(){this._isDisposed||(this._boundingBox&&Tt(this._boundingBox.style,{top:"",left:"",right:"",bottom:"",height:"",width:"",alignItems:"",justifyContent:""}),this._pane&&this._resetOverlayElementStyles(),this._overlayRef&&this._overlayRef.hostElement.classList.remove(yt),this.detach(),this._positionChanges.complete(),this._overlayRef=this._boundingBox=null,this._isDisposed=!0)}reapplyLastPosition(){if(this._isDisposed||!this._platform.isBrowser)return;const H=this._lastPosition;if(H){this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._viewportRect=this._getNarrowedViewportRect(),this._containerRect=this._overlayContainer.getContainerElement().getBoundingClientRect();const st=this._getOriginPoint(this._originRect,this._containerRect,H);this._applyPosition(H,st)}else this.apply()}withScrollableContainers(H){return this._scrollables=H,this}withPositions(H){return this._preferredPositions=H,-1===H.indexOf(this._lastPosition)&&(this._lastPosition=null),this._validatePositions(),this}withViewportMargin(H){return this._viewportMargin=H,this}withFlexibleDimensions(H=!0){return this._hasFlexibleDimensions=H,this}withGrowAfterOpen(H=!0){return this._growAfterOpen=H,this}withPush(H=!0){return this._canPush=H,this}withLockedPosition(H=!0){return this._positionLocked=H,this}setOrigin(H){return this._origin=H,this}withDefaultOffsetX(H){return this._offsetX=H,this}withDefaultOffsetY(H){return this._offsetY=H,this}withTransformOriginOn(H){return this._transformOriginSelector=H,this}_getOriginPoint(H,st,zt){let vt,kt;if("center"==zt.originX)vt=H.left+H.width/2;else{const tt=this._isRtl()?H.right:H.left,X=this._isRtl()?H.left:H.right;vt="start"==zt.originX?tt:X}return st.left<0&&(vt-=st.left),kt="center"==zt.originY?H.top+H.height/2:"top"==zt.originY?H.top:H.bottom,st.top<0&&(kt-=st.top),{x:vt,y:kt}}_getOverlayPoint(H,st,zt){let vt,kt;return vt="center"==zt.overlayX?-st.width/2:"start"===zt.overlayX?this._isRtl()?-st.width:0:this._isRtl()?0:-st.width,kt="center"==zt.overlayY?-st.height/2:"top"==zt.overlayY?0:-st.height,{x:H.x+vt,y:H.y+kt}}_getOverlayFit(H,st,zt,vt){const kt=Ut(st);let{x:tt,y:X}=H,ft=this._getOffset(vt,"x"),Ot=this._getOffset(vt,"y");ft&&(tt+=ft),Ot&&(X+=Ot);let Ke=0-X,on=X+kt.height-zt.height,_n=this._subtractOverflows(kt.width,0-tt,tt+kt.width-zt.width),hn=this._subtractOverflows(kt.height,Ke,on),fe=_n*hn;return{visibleArea:fe,isCompletelyWithinViewport:kt.width*kt.height===fe,fitsInViewportVertically:hn===kt.height,fitsInViewportHorizontally:_n==kt.width}}_canFitWithFlexibleDimensions(H,st,zt){if(this._hasFlexibleDimensions){const vt=zt.bottom-st.y,kt=zt.right-st.x,tt=Yt(this._overlayRef.getConfig().minHeight),X=Yt(this._overlayRef.getConfig().minWidth);return(H.fitsInViewportVertically||null!=tt&&tt<=vt)&&(H.fitsInViewportHorizontally||null!=X&&X<=kt)}return!1}_pushOverlayOnScreen(H,st,zt){if(this._previousPushAmount&&this._positionLocked)return{x:H.x+this._previousPushAmount.x,y:H.y+this._previousPushAmount.y};const vt=Ut(st),kt=this._viewportRect,tt=Math.max(H.x+vt.width-kt.width,0),X=Math.max(H.y+vt.height-kt.height,0),ft=Math.max(kt.top-zt.top-H.y,0),Ot=Math.max(kt.left-zt.left-H.x,0);let xe=0,Te=0;return xe=vt.width<=kt.width?Ot||-tt:H.x_n&&!this._isInitialRender&&!this._growAfterOpen&&(tt=H.y-_n/2)}if("end"===st.overlayX&&!vt||"start"===st.overlayX&&vt)Ke=zt.width-H.x+this._viewportMargin,xe=H.x-this._viewportMargin;else if("start"===st.overlayX&&!vt||"end"===st.overlayX&&vt)Te=H.x,xe=zt.right-H.x;else{const on=Math.min(zt.right-H.x+zt.left,H.x),_n=this._lastBoundingBoxSize.width;xe=2*on,Te=H.x-on,xe>_n&&!this._isInitialRender&&!this._growAfterOpen&&(Te=H.x-_n/2)}return{top:tt,left:Te,bottom:X,right:Ke,width:xe,height:kt}}_setBoundingBoxStyles(H,st){const zt=this._calculateBoundingBoxRect(H,st);!this._isInitialRender&&!this._growAfterOpen&&(zt.height=Math.min(zt.height,this._lastBoundingBoxSize.height),zt.width=Math.min(zt.width,this._lastBoundingBoxSize.width));const vt={};if(this._hasExactPosition())vt.top=vt.left="0",vt.bottom=vt.right=vt.maxHeight=vt.maxWidth="",vt.width=vt.height="100%";else{const kt=this._overlayRef.getConfig().maxHeight,tt=this._overlayRef.getConfig().maxWidth;vt.height=(0,T.a1)(zt.height),vt.top=(0,T.a1)(zt.top),vt.bottom=(0,T.a1)(zt.bottom),vt.width=(0,T.a1)(zt.width),vt.left=(0,T.a1)(zt.left),vt.right=(0,T.a1)(zt.right),vt.alignItems="center"===st.overlayX?"center":"end"===st.overlayX?"flex-end":"flex-start",vt.justifyContent="center"===st.overlayY?"center":"bottom"===st.overlayY?"flex-end":"flex-start",kt&&(vt.maxHeight=(0,T.a1)(kt)),tt&&(vt.maxWidth=(0,T.a1)(tt))}this._lastBoundingBoxSize=zt,Tt(this._boundingBox.style,vt)}_resetBoundingBoxStyles(){Tt(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})}_resetOverlayElementStyles(){Tt(this._pane.style,{top:"",left:"",bottom:"",right:"",position:"",transform:""})}_setOverlayElementStyles(H,st){const zt={},vt=this._hasExactPosition(),kt=this._hasFlexibleDimensions,tt=this._overlayRef.getConfig();if(vt){const xe=this._viewportRuler.getViewportScrollPosition();Tt(zt,this._getExactOverlayY(st,H,xe)),Tt(zt,this._getExactOverlayX(st,H,xe))}else zt.position="static";let X="",ft=this._getOffset(st,"x"),Ot=this._getOffset(st,"y");ft&&(X+=`translateX(${ft}px) `),Ot&&(X+=`translateY(${Ot}px)`),zt.transform=X.trim(),tt.maxHeight&&(vt?zt.maxHeight=(0,T.a1)(tt.maxHeight):kt&&(zt.maxHeight="")),tt.maxWidth&&(vt?zt.maxWidth=(0,T.a1)(tt.maxWidth):kt&&(zt.maxWidth="")),Tt(this._pane.style,zt)}_getExactOverlayY(H,st,zt){let vt={top:"",bottom:""},kt=this._getOverlayPoint(st,this._overlayRect,H);return this._isPushed&&(kt=this._pushOverlayOnScreen(kt,this._overlayRect,zt)),"bottom"===H.overlayY?vt.bottom=this._document.documentElement.clientHeight-(kt.y+this._overlayRect.height)+"px":vt.top=(0,T.a1)(kt.y),vt}_getExactOverlayX(H,st,zt){let tt,vt={left:"",right:""},kt=this._getOverlayPoint(st,this._overlayRect,H);return this._isPushed&&(kt=this._pushOverlayOnScreen(kt,this._overlayRect,zt)),tt=this._isRtl()?"end"===H.overlayX?"left":"right":"end"===H.overlayX?"right":"left","right"===tt?vt.right=this._document.documentElement.clientWidth-(kt.x+this._overlayRect.width)+"px":vt.left=(0,T.a1)(kt.x),vt}_getScrollVisibility(){const H=this._getOriginRect(),st=this._pane.getBoundingClientRect(),zt=this._scrollables.map(vt=>vt.getElementRef().nativeElement.getBoundingClientRect());return{isOriginClipped:mt(H,zt),isOriginOutsideView:V(H,zt),isOverlayClipped:mt(st,zt),isOverlayOutsideView:V(st,zt)}}_subtractOverflows(H,...st){return st.reduce((zt,vt)=>zt-Math.max(vt,0),H)}_getNarrowedViewportRect(){const H=this._document.documentElement.clientWidth,st=this._document.documentElement.clientHeight,zt=this._viewportRuler.getViewportScrollPosition();return{top:zt.top+this._viewportMargin,left:zt.left+this._viewportMargin,right:zt.left+H-this._viewportMargin,bottom:zt.top+st-this._viewportMargin,width:H-2*this._viewportMargin,height:st-2*this._viewportMargin}}_isRtl(){return"rtl"===this._overlayRef.getDirection()}_hasExactPosition(){return!this._hasFlexibleDimensions||this._isPushed}_getOffset(H,st){return"x"===st?null==H.offsetX?this._offsetX:H.offsetX:null==H.offsetY?this._offsetY:H.offsetY}_validatePositions(){}_addPanelClasses(H){this._pane&&(0,T.FG)(H).forEach(st=>{""!==st&&-1===this._appliedPanelClasses.indexOf(st)&&(this._appliedPanelClasses.push(st),this._pane.classList.add(st))})}_clearPanelClasses(){this._pane&&(this._appliedPanelClasses.forEach(H=>{this._pane.classList.remove(H)}),this._appliedPanelClasses=[])}_getOriginRect(){const H=this._origin;if(H instanceof b.aKT)return H.nativeElement.getBoundingClientRect();if(H instanceof Element)return H.getBoundingClientRect();const st=H.width||0,zt=H.height||0;return{top:H.y,bottom:H.y+zt,left:H.x,right:H.x+st,height:zt,width:st}}}function Tt(at,H){for(let st in H)H.hasOwnProperty(st)&&(at[st]=H[st]);return at}function Yt(at){if("number"!=typeof at&&null!=at){const[H,st]=at.split(Kt);return st&&"px"!==st?null:parseFloat(H)}return at||null}function Ut(at){return{top:Math.floor(at.top),right:Math.floor(at.right),bottom:Math.floor(at.bottom),left:Math.floor(at.left),width:Math.floor(at.width),height:Math.floor(at.height)}}const un="cdk-global-overlay-wrapper";class gt{constructor(){this._cssPosition="static",this._topOffset="",this._bottomOffset="",this._alignItems="",this._xPosition="",this._xOffset="",this._width="",this._height="",this._isDisposed=!1}attach(H){const st=H.getConfig();this._overlayRef=H,this._width&&!st.width&&H.updateSize({width:this._width}),this._height&&!st.height&&H.updateSize({height:this._height}),H.hostElement.classList.add(un),this._isDisposed=!1}top(H=""){return this._bottomOffset="",this._topOffset=H,this._alignItems="flex-start",this}left(H=""){return this._xOffset=H,this._xPosition="left",this}bottom(H=""){return this._topOffset="",this._bottomOffset=H,this._alignItems="flex-end",this}right(H=""){return this._xOffset=H,this._xPosition="right",this}start(H=""){return this._xOffset=H,this._xPosition="start",this}end(H=""){return this._xOffset=H,this._xPosition="end",this}width(H=""){return this._overlayRef?this._overlayRef.updateSize({width:H}):this._width=H,this}height(H=""){return this._overlayRef?this._overlayRef.updateSize({height:H}):this._height=H,this}centerHorizontally(H=""){return this.left(H),this._xPosition="center",this}centerVertically(H=""){return this.top(H),this._alignItems="center",this}apply(){if(!this._overlayRef||!this._overlayRef.hasAttached())return;const H=this._overlayRef.overlayElement.style,st=this._overlayRef.hostElement.style,zt=this._overlayRef.getConfig(),{width:vt,height:kt,maxWidth:tt,maxHeight:X}=zt,ft=!("100%"!==vt&&"100vw"!==vt||tt&&"100%"!==tt&&"100vw"!==tt),Ot=!("100%"!==kt&&"100vh"!==kt||X&&"100%"!==X&&"100vh"!==X),xe=this._xPosition,Te=this._xOffset,Ke="rtl"===this._overlayRef.getConfig().direction;let on="",_n="",hn="";ft?hn="flex-start":"center"===xe?(hn="center",Ke?_n=Te:on=Te):Ke?"left"===xe||"end"===xe?(hn="flex-end",on=Te):("right"===xe||"start"===xe)&&(hn="flex-start",_n=Te):"left"===xe||"start"===xe?(hn="flex-start",on=Te):("right"===xe||"end"===xe)&&(hn="flex-end",_n=Te),H.position=this._cssPosition,H.marginLeft=ft?"0":on,H.marginTop=Ot?"0":this._topOffset,H.marginBottom=this._bottomOffset,H.marginRight=ft?"0":_n,st.justifyContent=hn,st.alignItems=Ot?"flex-start":this._alignItems}dispose(){if(this._isDisposed||!this._overlayRef)return;const H=this._overlayRef.overlayElement.style,st=this._overlayRef.hostElement,zt=st.style;st.classList.remove(un),zt.justifyContent=zt.alignItems=H.marginTop=H.marginBottom=H.marginLeft=H.marginRight=H.position="",this._overlayRef=null,this._isDisposed=!0}}let le=(()=>{class at{constructor(st,zt,vt,kt){this._viewportRuler=st,this._document=zt,this._platform=vt,this._overlayContainer=kt}global(){return new gt}flexibleConnectedTo(st){return new Nt(st,this._viewportRuler,this._document,this._platform,this._overlayContainer)}static{this.\u0275fac=function(zt){return new(zt||at)(b.KVO(o.Xj),b.KVO(y.qQ),b.KVO(k.OD),b.KVO(be))}}static{this.\u0275prov=b.jDH({token:at,factory:at.\u0275fac,providedIn:"root"})}}return at})(),Vt=0,oe=(()=>{class at{constructor(st,zt,vt,kt,tt,X,ft,Ot,xe,Te,Ke,on){this.scrollStrategies=st,this._overlayContainer=zt,this._componentFactoryResolver=vt,this._positionBuilder=kt,this._keyboardDispatcher=tt,this._injector=X,this._ngZone=ft,this._document=Ot,this._directionality=xe,this._location=Te,this._outsideClickDispatcher=Ke,this._animationsModuleType=on}create(st){const zt=this._createHostElement(),vt=this._createPaneElement(zt),kt=this._createPortalOutlet(vt),tt=new de(st);return tt.direction=tt.direction||this._directionality.value,new Me(kt,zt,vt,tt,this._ngZone,this._keyboardDispatcher,this._document,this._location,this._outsideClickDispatcher,"NoopAnimations"===this._animationsModuleType)}position(){return this._positionBuilder}_createPaneElement(st){const zt=this._document.createElement("div");return zt.id="cdk-overlay-"+Vt++,zt.classList.add("cdk-overlay-pane"),st.appendChild(zt),zt}_createHostElement(){const st=this._document.createElement("div");return this._overlayContainer.getContainerElement().appendChild(st),st}_createPortalOutlet(st){return this._appRef||(this._appRef=this._injector.get(b.o8S)),new M.aI(st,this._componentFactoryResolver,this._appRef,this._injector,this._document)}static{this.\u0275fac=function(zt){return new(zt||at)(b.KVO($t),b.KVO(be),b.KVO(b.OM3),b.KVO(le),b.KVO(Oe),b.KVO(b.zZn),b.KVO(b.SKi),b.KVO(y.qQ),b.KVO(K.dS),b.KVO(y.aZ),b.KVO(Qe),b.KVO(b.bc$,8))}}static{this.\u0275prov=b.jDH({token:at,factory:at.\u0275fac,providedIn:"root"})}}return at})();const Qt=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom"},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"}],Et=new b.nKC("cdk-connected-overlay-scroll-strategy");let re=(()=>{class at{constructor(st){this.elementRef=st}static{this.\u0275fac=function(zt){return new(zt||at)(b.rXU(b.aKT))}}static{this.\u0275dir=b.FsC({type:at,selectors:[["","cdk-overlay-origin",""],["","overlay-origin",""],["","cdkOverlayOrigin",""]],exportAs:["cdkOverlayOrigin"],standalone:!0})}}return at})(),Ee=(()=>{class at{get offsetX(){return this._offsetX}set offsetX(st){this._offsetX=st,this._position&&this._updatePositionStrategy(this._position)}get offsetY(){return this._offsetY}set offsetY(st){this._offsetY=st,this._position&&this._updatePositionStrategy(this._position)}get hasBackdrop(){return this._hasBackdrop}set hasBackdrop(st){this._hasBackdrop=(0,T.he)(st)}get lockPosition(){return this._lockPosition}set lockPosition(st){this._lockPosition=(0,T.he)(st)}get flexibleDimensions(){return this._flexibleDimensions}set flexibleDimensions(st){this._flexibleDimensions=(0,T.he)(st)}get growAfterOpen(){return this._growAfterOpen}set growAfterOpen(st){this._growAfterOpen=(0,T.he)(st)}get push(){return this._push}set push(st){this._push=(0,T.he)(st)}constructor(st,zt,vt,kt,tt){this._overlay=st,this._dir=tt,this._hasBackdrop=!1,this._lockPosition=!1,this._growAfterOpen=!1,this._flexibleDimensions=!1,this._push=!1,this._backdropSubscription=pt.yU.EMPTY,this._attachSubscription=pt.yU.EMPTY,this._detachSubscription=pt.yU.EMPTY,this._positionSubscription=pt.yU.EMPTY,this.viewportMargin=0,this.open=!1,this.disableClose=!1,this.backdropClick=new b.bkB,this.positionChange=new b.bkB,this.attach=new b.bkB,this.detach=new b.bkB,this.overlayKeydown=new b.bkB,this.overlayOutsideClick=new b.bkB,this._templatePortal=new M.VA(zt,vt),this._scrollStrategyFactory=kt,this.scrollStrategy=this._scrollStrategyFactory()}get overlayRef(){return this._overlayRef}get dir(){return this._dir?this._dir.value:"ltr"}ngOnDestroy(){this._attachSubscription.unsubscribe(),this._detachSubscription.unsubscribe(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this._overlayRef&&this._overlayRef.dispose()}ngOnChanges(st){this._position&&(this._updatePositionStrategy(this._position),this._overlayRef.updateSize({width:this.width,minWidth:this.minWidth,height:this.height,minHeight:this.minHeight}),st.origin&&this.open&&this._position.apply()),st.open&&(this.open?this._attachOverlay():this._detachOverlay())}_createOverlay(){(!this.positions||!this.positions.length)&&(this.positions=Qt);const st=this._overlayRef=this._overlay.create(this._buildConfig());this._attachSubscription=st.attachments().subscribe(()=>this.attach.emit()),this._detachSubscription=st.detachments().subscribe(()=>this.detach.emit()),st.keydownEvents().subscribe(zt=>{this.overlayKeydown.next(zt),zt.keyCode===J._f&&!this.disableClose&&!(0,J.rp)(zt)&&(zt.preventDefault(),this._detachOverlay())}),this._overlayRef.outsidePointerEvents().subscribe(zt=>{this.overlayOutsideClick.next(zt)})}_buildConfig(){const st=this._position=this.positionStrategy||this._createPositionStrategy(),zt=new de({direction:this._dir,positionStrategy:st,scrollStrategy:this.scrollStrategy,hasBackdrop:this.hasBackdrop});return(this.width||0===this.width)&&(zt.width=this.width),(this.height||0===this.height)&&(zt.height=this.height),(this.minWidth||0===this.minWidth)&&(zt.minWidth=this.minWidth),(this.minHeight||0===this.minHeight)&&(zt.minHeight=this.minHeight),this.backdropClass&&(zt.backdropClass=this.backdropClass),this.panelClass&&(zt.panelClass=this.panelClass),zt}_updatePositionStrategy(st){const zt=this.positions.map(vt=>({originX:vt.originX,originY:vt.originY,overlayX:vt.overlayX,overlayY:vt.overlayY,offsetX:vt.offsetX||this.offsetX,offsetY:vt.offsetY||this.offsetY,panelClass:vt.panelClass||void 0}));return st.setOrigin(this._getFlexibleConnectedPositionStrategyOrigin()).withPositions(zt).withFlexibleDimensions(this.flexibleDimensions).withPush(this.push).withGrowAfterOpen(this.growAfterOpen).withViewportMargin(this.viewportMargin).withLockedPosition(this.lockPosition).withTransformOriginOn(this.transformOriginSelector)}_createPositionStrategy(){const st=this._overlay.position().flexibleConnectedTo(this._getFlexibleConnectedPositionStrategyOrigin());return this._updatePositionStrategy(st),st}_getFlexibleConnectedPositionStrategyOrigin(){return this.origin instanceof re?this.origin.elementRef:this.origin}_attachOverlay(){this._overlayRef?this._overlayRef.getConfig().hasBackdrop=this.hasBackdrop:this._createOverlay(),this._overlayRef.hasAttached()||this._overlayRef.attach(this._templatePortal),this.hasBackdrop?this._backdropSubscription=this._overlayRef.backdropClick().subscribe(st=>{this.backdropClick.emit(st)}):this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this.positionChange.observers.length>0&&(this._positionSubscription=this._position.positionChanges.pipe(function q(at,H=!1){return(0,N.N)((st,zt)=>{let vt=0;st.subscribe((0,ot._)(zt,kt=>{const tt=at(kt,vt++);(tt||H)&&zt.next(kt),!tt&&zt.complete()}))})}(()=>this.positionChange.observers.length>0)).subscribe(st=>{this.positionChange.emit(st),0===this.positionChange.observers.length&&this._positionSubscription.unsubscribe()}))}_detachOverlay(){this._overlayRef&&this._overlayRef.detach(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe()}static{this.\u0275fac=function(zt){return new(zt||at)(b.rXU(oe),b.rXU(b.C4Q),b.rXU(b.c1b),b.rXU(Et),b.rXU(K.dS,8))}}static{this.\u0275dir=b.FsC({type:at,selectors:[["","cdk-connected-overlay",""],["","connected-overlay",""],["","cdkConnectedOverlay",""]],inputs:{origin:["cdkConnectedOverlayOrigin","origin"],positions:["cdkConnectedOverlayPositions","positions"],positionStrategy:["cdkConnectedOverlayPositionStrategy","positionStrategy"],offsetX:["cdkConnectedOverlayOffsetX","offsetX"],offsetY:["cdkConnectedOverlayOffsetY","offsetY"],width:["cdkConnectedOverlayWidth","width"],height:["cdkConnectedOverlayHeight","height"],minWidth:["cdkConnectedOverlayMinWidth","minWidth"],minHeight:["cdkConnectedOverlayMinHeight","minHeight"],backdropClass:["cdkConnectedOverlayBackdropClass","backdropClass"],panelClass:["cdkConnectedOverlayPanelClass","panelClass"],viewportMargin:["cdkConnectedOverlayViewportMargin","viewportMargin"],scrollStrategy:["cdkConnectedOverlayScrollStrategy","scrollStrategy"],open:["cdkConnectedOverlayOpen","open"],disableClose:["cdkConnectedOverlayDisableClose","disableClose"],transformOriginSelector:["cdkConnectedOverlayTransformOriginOn","transformOriginSelector"],hasBackdrop:["cdkConnectedOverlayHasBackdrop","hasBackdrop"],lockPosition:["cdkConnectedOverlayLockPosition","lockPosition"],flexibleDimensions:["cdkConnectedOverlayFlexibleDimensions","flexibleDimensions"],growAfterOpen:["cdkConnectedOverlayGrowAfterOpen","growAfterOpen"],push:["cdkConnectedOverlayPush","push"]},outputs:{backdropClick:"backdropClick",positionChange:"positionChange",attach:"attach",detach:"detach",overlayKeydown:"overlayKeydown",overlayOutsideClick:"overlayOutsideClick"},exportAs:["cdkConnectedOverlay"],standalone:!0,features:[b.OA$]})}}return at})();const je={provide:Et,deps:[oe],useFactory:function ce(at){return()=>at.scrollStrategies.reposition()}};let Ht=(()=>{class at{static{this.\u0275fac=function(zt){return new(zt||at)}}static{this.\u0275mod=b.$C({type:at})}static{this.\u0275inj=b.G2t({providers:[oe,je],imports:[K.jI,M.jc,o.E9,o.E9]})}}return at})()},29094:(Ce,Lt,r)=>{r.d(Lt,{BD:()=>pt,BQ:()=>q,CZ:()=>a,Fb:()=>te,KT:()=>bt,MU:()=>Z,OD:()=>T,v8:()=>$,vc:()=>Gt});var o=r(1843),y=r(18331);let b;try{b=typeof Intl<"u"&&Intl.v8BreakIterator}catch{b=!1}let G,T=(()=>{class lt{constructor(mt){this._platformId=mt,this.isBrowser=this._platformId?(0,y.UE)(this._platformId):"object"==typeof document&&!!document,this.EDGE=this.isBrowser&&/(edge)/i.test(navigator.userAgent),this.TRIDENT=this.isBrowser&&/(msie|trident)/i.test(navigator.userAgent),this.BLINK=this.isBrowser&&!(!window.chrome&&!b)&&typeof CSS<"u"&&!this.EDGE&&!this.TRIDENT,this.WEBKIT=this.isBrowser&&/AppleWebKit/i.test(navigator.userAgent)&&!this.BLINK&&!this.EDGE&&!this.TRIDENT,this.IOS=this.isBrowser&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&!("MSStream"in window),this.FIREFOX=this.isBrowser&&/(firefox|minefield)/i.test(navigator.userAgent),this.ANDROID=this.isBrowser&&/android/i.test(navigator.userAgent)&&!this.TRIDENT,this.SAFARI=this.isBrowser&&/safari/i.test(navigator.userAgent)&&this.WEBKIT}static{this.\u0275fac=function(rt){return new(rt||lt)(o.KVO(o.Agw))}}static{this.\u0275prov=o.jDH({token:lt,factory:lt.\u0275fac,providedIn:"root"})}}return lt})();const P=["color","button","checkbox","date","datetime-local","email","file","hidden","image","month","number","password","radio","range","reset","search","submit","tel","text","time","url","week"];function Z(){if(G)return G;if("object"!=typeof document||!document)return G=new Set(P),G;let lt=document.createElement("input");return G=new Set(P.filter(V=>(lt.setAttribute("type",V),lt.type===V))),G}let N,K,M,j;function q(lt){return function ot(){if(null==N&&typeof window<"u")try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>N=!0}))}finally{N=N||!1}return N}()?lt:!!lt.capture}function a(){if(null==M){if("object"!=typeof document||!document||"function"!=typeof Element||!Element)return M=!1,M;if("scrollBehavior"in document.documentElement.style)M=!0;else{const lt=Element.prototype.scrollTo;M=!!lt&&!/\{\s*\[native code\]\s*\}/.test(lt.toString())}}return M}function pt(){if("object"!=typeof document||!document)return 0;if(null==K){const lt=document.createElement("div"),V=lt.style;lt.dir="rtl",V.width="1px",V.overflow="auto",V.visibility="hidden",V.pointerEvents="none",V.position="absolute";const mt=document.createElement("div"),rt=mt.style;rt.width="2px",rt.height="1px",lt.appendChild(mt),document.body.appendChild(lt),K=0,0===lt.scrollLeft&&(lt.scrollLeft=1,K=0===lt.scrollLeft?1:2),lt.remove()}return K}function bt(lt){if(function J(){if(null==j){const lt=typeof document<"u"?document.head:null;j=!(!lt||!lt.createShadowRoot&&!lt.attachShadow)}return j}()){const V=lt.getRootNode?lt.getRootNode():null;if(typeof ShadowRoot<"u"&&ShadowRoot&&V instanceof ShadowRoot)return V}return null}function Gt(){let lt=typeof document<"u"&&document?document.activeElement:null;for(;lt&<.shadowRoot;){const V=lt.shadowRoot.activeElement;if(V===lt)break;lt=V}return lt}function te(lt){return lt.composedPath?lt.composedPath()[0]:lt.target}function $(){return typeof __karma__<"u"&&!!__karma__||typeof jasmine<"u"&&!!jasmine||typeof jest<"u"&&!!jest||typeof Mocha<"u"&&!!Mocha}},86953:(Ce,Lt,r)=>{r.d(Lt,{A8:()=>ot,I3:()=>Gt,VA:()=>q,aI:()=>pt,bV:()=>J,jc:()=>$,lb:()=>M});var o=r(1843),y=r(18331);class N{attach(mt){return this._attachedHost=mt,mt.attach(this)}detach(){let mt=this._attachedHost;null!=mt&&(this._attachedHost=null,mt.detach())}get isAttached(){return null!=this._attachedHost}setAttachedHost(mt){this._attachedHost=mt}}class ot extends N{constructor(mt,rt,$t,de,_e){super(),this.component=mt,this.viewContainerRef=rt,this.injector=$t,this.componentFactoryResolver=de,this.projectableNodes=_e}}class q extends N{constructor(mt,rt,$t,de){super(),this.templateRef=mt,this.viewContainerRef=rt,this.context=$t,this.injector=de}get origin(){return this.templateRef.elementRef}attach(mt,rt=this.context){return this.context=rt,super.attach(mt)}detach(){return this.context=void 0,super.detach()}}class K extends N{constructor(mt){super(),this.element=mt instanceof o.aKT?mt.nativeElement:mt}}class M{constructor(){this._isDisposed=!1,this.attachDomPortal=null}hasAttached(){return!!this._attachedPortal}attach(mt){return mt instanceof ot?(this._attachedPortal=mt,this.attachComponentPortal(mt)):mt instanceof q?(this._attachedPortal=mt,this.attachTemplatePortal(mt)):this.attachDomPortal&&mt instanceof K?(this._attachedPortal=mt,this.attachDomPortal(mt)):void 0}detach(){this._attachedPortal&&(this._attachedPortal.setAttachedHost(null),this._attachedPortal=null),this._invokeDisposeFn()}dispose(){this.hasAttached()&&this.detach(),this._invokeDisposeFn(),this._isDisposed=!0}setDisposeFn(mt){this._disposeFn=mt}_invokeDisposeFn(){this._disposeFn&&(this._disposeFn(),this._disposeFn=null)}}class pt extends M{constructor(mt,rt,$t,de,_e){super(),this.outletElement=mt,this._componentFactoryResolver=rt,this._appRef=$t,this._defaultInjector=de,this.attachDomPortal=Le=>{const Ge=Le.element,Xe=this._document.createComment("dom-portal");Ge.parentNode.insertBefore(Xe,Ge),this.outletElement.appendChild(Ge),this._attachedPortal=Le,super.setDisposeFn(()=>{Xe.parentNode&&Xe.parentNode.replaceChild(Ge,Xe)})},this._document=_e}attachComponentPortal(mt){const $t=(mt.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(mt.component);let de;return mt.viewContainerRef?(de=mt.viewContainerRef.createComponent($t,mt.viewContainerRef.length,mt.injector||mt.viewContainerRef.injector,mt.projectableNodes||void 0),this.setDisposeFn(()=>de.destroy())):(de=$t.create(mt.injector||this._defaultInjector||o.zZn.NULL),this._appRef.attachView(de.hostView),this.setDisposeFn(()=>{this._appRef.viewCount>0&&this._appRef.detachView(de.hostView),de.destroy()})),this.outletElement.appendChild(this._getComponentRootNode(de)),this._attachedPortal=mt,de}attachTemplatePortal(mt){let rt=mt.viewContainerRef,$t=rt.createEmbeddedView(mt.templateRef,mt.context,{injector:mt.injector});return $t.rootNodes.forEach(de=>this.outletElement.appendChild(de)),$t.detectChanges(),this.setDisposeFn(()=>{let de=rt.indexOf($t);-1!==de&&rt.remove(de)}),this._attachedPortal=mt,$t}dispose(){super.dispose(),this.outletElement.remove()}_getComponentRootNode(mt){return mt.hostView.rootNodes[0]}}let J=(()=>{class V extends q{constructor(rt,$t){super(rt,$t)}static{this.\u0275fac=function($t){return new($t||V)(o.rXU(o.C4Q),o.rXU(o.c1b))}}static{this.\u0275dir=o.FsC({type:V,selectors:[["","cdkPortal",""]],exportAs:["cdkPortal"],features:[o.Vt3]})}}return V})(),Gt=(()=>{class V extends M{constructor(rt,$t,de){super(),this._componentFactoryResolver=rt,this._viewContainerRef=$t,this._isInitialized=!1,this.attached=new o.bkB,this.attachDomPortal=_e=>{const Le=_e.element,Ge=this._document.createComment("dom-portal");_e.setAttachedHost(this),Le.parentNode.insertBefore(Ge,Le),this._getRootNode().appendChild(Le),this._attachedPortal=_e,super.setDisposeFn(()=>{Ge.parentNode&&Ge.parentNode.replaceChild(Le,Ge)})},this._document=de}get portal(){return this._attachedPortal}set portal(rt){this.hasAttached()&&!rt&&!this._isInitialized||(this.hasAttached()&&super.detach(),rt&&super.attach(rt),this._attachedPortal=rt||null)}get attachedRef(){return this._attachedRef}ngOnInit(){this._isInitialized=!0}ngOnDestroy(){super.dispose(),this._attachedRef=this._attachedPortal=null}attachComponentPortal(rt){rt.setAttachedHost(this);const $t=null!=rt.viewContainerRef?rt.viewContainerRef:this._viewContainerRef,_e=(rt.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(rt.component),Le=$t.createComponent(_e,$t.length,rt.injector||$t.injector,rt.projectableNodes||void 0);return $t!==this._viewContainerRef&&this._getRootNode().appendChild(Le.hostView.rootNodes[0]),super.setDisposeFn(()=>Le.destroy()),this._attachedPortal=rt,this._attachedRef=Le,this.attached.emit(Le),Le}attachTemplatePortal(rt){rt.setAttachedHost(this);const $t=this._viewContainerRef.createEmbeddedView(rt.templateRef,rt.context,{injector:rt.injector});return super.setDisposeFn(()=>this._viewContainerRef.clear()),this._attachedPortal=rt,this._attachedRef=$t,this.attached.emit($t),$t}_getRootNode(){const rt=this._viewContainerRef.element.nativeElement;return rt.nodeType===rt.ELEMENT_NODE?rt:rt.parentNode}static{this.\u0275fac=function($t){return new($t||V)(o.rXU(o.OM3),o.rXU(o.c1b),o.rXU(y.qQ))}}static{this.\u0275dir=o.FsC({type:V,selectors:[["","cdkPortalOutlet",""]],inputs:{portal:["cdkPortalOutlet","portal"]},outputs:{attached:"attached"},exportAs:["cdkPortalOutlet"],features:[o.Vt3]})}}return V})(),$=(()=>{class V{static{this.\u0275fac=function($t){return new($t||V)}}static{this.\u0275mod=o.$C({type:V})}static{this.\u0275inj=o.G2t({})}}return V})()},18144:(Ce,Lt,r)=>{r.d(Lt,{uv:()=>be,Gj:()=>le,R:()=>Qe,E9:()=>Vt,Xj:()=>yt});var o=r(8275),y=r(1843),b=r(89115),T=r(73151),k=r(23135),G=r(63884),P=r(84330),Z=r(52693);const N={schedule(oe){let Qt=requestAnimationFrame,Et=cancelAnimationFrame;const{delegate:re}=N;re&&(Qt=re.requestAnimationFrame,Et=re.cancelAnimationFrame);const Ee=Qt(ce=>{Et=void 0,oe(ce)});return new Z.yU(()=>Et?.(Ee))},requestAnimationFrame(...oe){const{delegate:Qt}=N;return(Qt?.requestAnimationFrame||requestAnimationFrame)(...oe)},cancelAnimationFrame(...oe){const{delegate:Qt}=N;return(Qt?.cancelAnimationFrame||cancelAnimationFrame)(...oe)},delegate:void 0};var q=r(84993);new class K extends q.q{flush(Qt){let Et;this._active=!0,Qt?Et=Qt.id:(Et=this._scheduled,this._scheduled=void 0);const{actions:re}=this;let Ee;Qt=Qt||re.shift();do{if(Ee=Qt.execute(Qt.state,Qt.delay))break}while((Qt=re[0])&&Qt.id===Et&&re.shift());if(this._active=!1,Ee){for(;(Qt=re[0])&&Qt.id===Et&&re.shift();)Qt.unsubscribe();throw Ee}}}(class ot extends P.R{constructor(Qt,Et){super(Qt,Et),this.scheduler=Qt,this.work=Et}requestAsyncId(Qt,Et,re=0){return null!==re&&re>0?super.requestAsyncId(Qt,Et,re):(Qt.actions.push(this),Qt._scheduled||(Qt._scheduled=N.requestAnimationFrame(()=>Qt.flush(void 0))))}recycleAsyncId(Qt,Et,re=0){var Ee;if(null!=re?re>0:this.delay>0)return super.recycleAsyncId(Qt,Et,re);const{actions:ce}=Qt;null!=Et&&Et===Qt._scheduled&&(null===(Ee=ce[ce.length-1])||void 0===Ee?void 0:Ee.id)!==Et&&(N.cancelAnimationFrame(Et),Qt._scheduled=void 0)}});r(96897);var j=r(82954),J=r(33280),bt=r(86896),Gt=r(37018),$=r(82182);function lt(oe,Qt=j.E){return function te(oe){return(0,J.N)((Qt,Et)=>{let re=!1,Ee=null,ce=null,je=!1;const Ht=()=>{if(ce?.unsubscribe(),ce=null,re){re=!1;const at=Ee;Ee=null,Et.next(at)}je&&Et.complete()},ne=()=>{ce=null,je&&Et.complete()};Qt.subscribe((0,Gt._)(Et,at=>{re=!0,Ee=at,ce||(0,bt.Tg)(oe(at)).subscribe(ce=(0,Gt._)(Et,Ht,ne))},()=>{je=!0,(!re||!ce||ce.closed)&&Et.complete()}))})}(()=>(0,$.O)(oe,Qt))}var V=r(98474),mt=r(73907),rt=r(29094),$t=r(18331),de=r(10165);let Qe=(()=>{class oe{constructor(Et,re,Ee){this._ngZone=Et,this._platform=re,this._scrolled=new b.B,this._globalSubscription=null,this._scrolledCount=0,this.scrollContainers=new Map,this._document=Ee}register(Et){this.scrollContainers.has(Et)||this.scrollContainers.set(Et,Et.elementScrolled().subscribe(()=>this._scrolled.next(Et)))}deregister(Et){const re=this.scrollContainers.get(Et);re&&(re.unsubscribe(),this.scrollContainers.delete(Et))}scrolled(Et=20){return this._platform.isBrowser?new k.c(re=>{this._globalSubscription||this._addGlobalListener();const Ee=Et>0?this._scrolled.pipe(lt(Et)).subscribe(re):this._scrolled.subscribe(re);return this._scrolledCount++,()=>{Ee.unsubscribe(),this._scrolledCount--,this._scrolledCount||this._removeGlobalListener()}}):(0,T.of)()}ngOnDestroy(){this._removeGlobalListener(),this.scrollContainers.forEach((Et,re)=>this.deregister(re)),this._scrolled.complete()}ancestorScrolled(Et,re){const Ee=this.getAncestorScrollContainers(Et);return this.scrolled(re).pipe((0,V.p)(ce=>!ce||Ee.indexOf(ce)>-1))}getAncestorScrollContainers(Et){const re=[];return this.scrollContainers.forEach((Ee,ce)=>{this._scrollableContainsElement(ce,Et)&&re.push(ce)}),re}_getWindow(){return this._document.defaultView||window}_scrollableContainsElement(Et,re){let Ee=(0,o.i8)(re),ce=Et.getElementRef().nativeElement;do{if(Ee==ce)return!0}while(Ee=Ee.parentElement);return!1}_addGlobalListener(){this._globalSubscription=this._ngZone.runOutsideAngular(()=>{const Et=this._getWindow();return(0,G.R)(Et.document,"scroll").subscribe(()=>this._scrolled.next())})}_removeGlobalListener(){this._globalSubscription&&(this._globalSubscription.unsubscribe(),this._globalSubscription=null)}static{this.\u0275fac=function(re){return new(re||oe)(y.KVO(y.SKi),y.KVO(rt.OD),y.KVO($t.qQ,8))}}static{this.\u0275prov=y.jDH({token:oe,factory:oe.\u0275fac,providedIn:"root"})}}return oe})(),be=(()=>{class oe{constructor(Et,re,Ee,ce){this.elementRef=Et,this.scrollDispatcher=re,this.ngZone=Ee,this.dir=ce,this._destroyed=new b.B,this._elementScrolled=new k.c(je=>this.ngZone.runOutsideAngular(()=>(0,G.R)(this.elementRef.nativeElement,"scroll").pipe((0,mt.Q)(this._destroyed)).subscribe(je)))}ngOnInit(){this.scrollDispatcher.register(this)}ngOnDestroy(){this.scrollDispatcher.deregister(this),this._destroyed.next(),this._destroyed.complete()}elementScrolled(){return this._elementScrolled}getElementRef(){return this.elementRef}scrollTo(Et){const re=this.elementRef.nativeElement,Ee=this.dir&&"rtl"==this.dir.value;null==Et.left&&(Et.left=Ee?Et.end:Et.start),null==Et.right&&(Et.right=Ee?Et.start:Et.end),null!=Et.bottom&&(Et.top=re.scrollHeight-re.clientHeight-Et.bottom),Ee&&0!=(0,rt.BD)()?(null!=Et.left&&(Et.right=re.scrollWidth-re.clientWidth-Et.left),2==(0,rt.BD)()?Et.left=Et.right:1==(0,rt.BD)()&&(Et.left=Et.right?-Et.right:Et.right)):null!=Et.right&&(Et.left=re.scrollWidth-re.clientWidth-Et.right),this._applyScrollToOptions(Et)}_applyScrollToOptions(Et){const re=this.elementRef.nativeElement;(0,rt.CZ)()?re.scrollTo(Et):(null!=Et.top&&(re.scrollTop=Et.top),null!=Et.left&&(re.scrollLeft=Et.left))}measureScrollOffset(Et){const re="left",ce=this.elementRef.nativeElement;if("top"==Et)return ce.scrollTop;if("bottom"==Et)return ce.scrollHeight-ce.clientHeight-ce.scrollTop;const je=this.dir&&"rtl"==this.dir.value;return"start"==Et?Et=je?"right":re:"end"==Et&&(Et=je?re:"right"),je&&2==(0,rt.BD)()?Et==re?ce.scrollWidth-ce.clientWidth-ce.scrollLeft:ce.scrollLeft:je&&1==(0,rt.BD)()?Et==re?ce.scrollLeft+ce.scrollWidth-ce.clientWidth:-ce.scrollLeft:Et==re?ce.scrollLeft:ce.scrollWidth-ce.clientWidth-ce.scrollLeft}static{this.\u0275fac=function(re){return new(re||oe)(y.rXU(y.aKT),y.rXU(Qe),y.rXU(y.SKi),y.rXU(de.dS,8))}}static{this.\u0275dir=y.FsC({type:oe,selectors:[["","cdk-scrollable",""],["","cdkScrollable",""]],standalone:!0})}}return oe})(),yt=(()=>{class oe{constructor(Et,re,Ee){this._platform=Et,this._change=new b.B,this._changeListener=ce=>{this._change.next(ce)},this._document=Ee,re.runOutsideAngular(()=>{if(Et.isBrowser){const ce=this._getWindow();ce.addEventListener("resize",this._changeListener),ce.addEventListener("orientationchange",this._changeListener)}this.change().subscribe(()=>this._viewportSize=null)})}ngOnDestroy(){if(this._platform.isBrowser){const Et=this._getWindow();Et.removeEventListener("resize",this._changeListener),Et.removeEventListener("orientationchange",this._changeListener)}this._change.complete()}getViewportSize(){this._viewportSize||this._updateViewportSize();const Et={width:this._viewportSize.width,height:this._viewportSize.height};return this._platform.isBrowser||(this._viewportSize=null),Et}getViewportRect(){const Et=this.getViewportScrollPosition(),{width:re,height:Ee}=this.getViewportSize();return{top:Et.top,left:Et.left,bottom:Et.top+Ee,right:Et.left+re,height:Ee,width:re}}getViewportScrollPosition(){if(!this._platform.isBrowser)return{top:0,left:0};const Et=this._document,re=this._getWindow(),Ee=Et.documentElement,ce=Ee.getBoundingClientRect();return{top:-ce.top||Et.body.scrollTop||re.scrollY||Ee.scrollTop||0,left:-ce.left||Et.body.scrollLeft||re.scrollX||Ee.scrollLeft||0}}change(Et=20){return Et>0?this._change.pipe(lt(Et)):this._change}_getWindow(){return this._document.defaultView||window}_updateViewportSize(){const Et=this._getWindow();this._viewportSize=this._platform.isBrowser?{width:Et.innerWidth,height:Et.innerHeight}:{width:0,height:0}}static{this.\u0275fac=function(re){return new(re||oe)(y.KVO(rt.OD),y.KVO(y.SKi),y.KVO($t.qQ,8))}}static{this.\u0275prov=y.jDH({token:oe,factory:oe.\u0275fac,providedIn:"root"})}}return oe})(),le=(()=>{class oe{static{this.\u0275fac=function(re){return new(re||oe)}}static{this.\u0275mod=y.$C({type:oe})}static{this.\u0275inj=y.G2t({})}}return oe})(),Vt=(()=>{class oe{static{this.\u0275fac=function(re){return new(re||oe)}}static{this.\u0275mod=y.$C({type:oe})}static{this.\u0275inj=y.G2t({imports:[de.jI,le,de.jI,le]})}}return oe})()},18331:(Ce,Lt,r)=>{r.d(Lt,{AJ:()=>Vn,GH:()=>Ji,Jj:()=>Bc,MD:()=>So,N0:()=>Po,P9:()=>Bi,Pc:()=>Lo,QT:()=>b,QX:()=>qn,Sm:()=>pt,Sq:()=>Jn,T3:()=>wo,TG:()=>Do,UE:()=>qi,VF:()=>k,Vy:()=>to,Xr:()=>fo,YU:()=>In,ZD:()=>T,_b:()=>Dn,aZ:()=>J,bT:()=>Fi,e1:()=>Zc,fG:()=>dc,fw:()=>j,hb:()=>M,hj:()=>Z,oe:()=>Cn,pM:()=>Jn,qQ:()=>G,ux:()=>si,vh:()=>ei});var o=r(1843);let y=null;function b(){return y}function T(v){y||(y=v)}class k{}const G=new o.nKC("DocumentToken");let P=(()=>{class v{historyGo(E){throw new Error("Not implemented")}static{this.\u0275fac=function(F){return new(F||v)}}static{this.\u0275prov=o.jDH({token:v,factory:function(){return(0,o.WQX)(N)},providedIn:"platform"})}}return v})();const Z=new o.nKC("Location Initialized");let N=(()=>{class v extends P{constructor(){super(),this._doc=(0,o.WQX)(G),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return b().getBaseHref(this._doc)}onPopState(E){const F=b().getGlobalEventTarget(this._doc,"window");return F.addEventListener("popstate",E,!1),()=>F.removeEventListener("popstate",E)}onHashChange(E){const F=b().getGlobalEventTarget(this._doc,"window");return F.addEventListener("hashchange",E,!1),()=>F.removeEventListener("hashchange",E)}get href(){return this._location.href}get protocol(){return this._location.protocol}get hostname(){return this._location.hostname}get port(){return this._location.port}get pathname(){return this._location.pathname}get search(){return this._location.search}get hash(){return this._location.hash}set pathname(E){this._location.pathname=E}pushState(E,F,At){this._history.pushState(E,F,At)}replaceState(E,F,At){this._history.replaceState(E,F,At)}forward(){this._history.forward()}back(){this._history.back()}historyGo(E=0){this._history.go(E)}getState(){return this._history.state}static{this.\u0275fac=function(F){return new(F||v)}}static{this.\u0275prov=o.jDH({token:v,factory:function(){return new v},providedIn:"platform"})}}return v})();function ot(v,W){if(0==v.length)return W;if(0==W.length)return v;let E=0;return v.endsWith("/")&&E++,W.startsWith("/")&&E++,2==E?v+W.substring(1):1==E?v+W:v+"/"+W}function q(v){const W=v.match(/#|\?|$/),E=W&&W.index||v.length;return v.slice(0,E-("/"===v[E-1]?1:0))+v.slice(E)}function K(v){return v&&"?"!==v[0]?"?"+v:v}let M=(()=>{class v{historyGo(E){throw new Error("Not implemented")}static{this.\u0275fac=function(F){return new(F||v)}}static{this.\u0275prov=o.jDH({token:v,factory:function(){return(0,o.WQX)(pt)},providedIn:"root"})}}return v})();const a=new o.nKC("appBaseHref");let pt=(()=>{class v extends M{constructor(E,F){super(),this._platformLocation=E,this._removeListenerFns=[],this._baseHref=F??this._platformLocation.getBaseHrefFromDOM()??(0,o.WQX)(G).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(E){this._removeListenerFns.push(this._platformLocation.onPopState(E),this._platformLocation.onHashChange(E))}getBaseHref(){return this._baseHref}prepareExternalUrl(E){return ot(this._baseHref,E)}path(E=!1){const F=this._platformLocation.pathname+K(this._platformLocation.search),At=this._platformLocation.hash;return At&&E?`${F}${At}`:F}pushState(E,F,At,he){const Pe=this.prepareExternalUrl(At+K(he));this._platformLocation.pushState(E,F,Pe)}replaceState(E,F,At,he){const Pe=this.prepareExternalUrl(At+K(he));this._platformLocation.replaceState(E,F,Pe)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(E=0){this._platformLocation.historyGo?.(E)}static{this.\u0275fac=function(F){return new(F||v)(o.KVO(P),o.KVO(a,8))}}static{this.\u0275prov=o.jDH({token:v,factory:v.\u0275fac,providedIn:"root"})}}return v})(),j=(()=>{class v extends M{constructor(E,F){super(),this._platformLocation=E,this._baseHref="",this._removeListenerFns=[],null!=F&&(this._baseHref=F)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(E){this._removeListenerFns.push(this._platformLocation.onPopState(E),this._platformLocation.onHashChange(E))}getBaseHref(){return this._baseHref}path(E=!1){let F=this._platformLocation.hash;return null==F&&(F="#"),F.length>0?F.substring(1):F}prepareExternalUrl(E){const F=ot(this._baseHref,E);return F.length>0?"#"+F:F}pushState(E,F,At,he){let Pe=this.prepareExternalUrl(At+K(he));0==Pe.length&&(Pe=this._platformLocation.pathname),this._platformLocation.pushState(E,F,Pe)}replaceState(E,F,At,he){let Pe=this.prepareExternalUrl(At+K(he));0==Pe.length&&(Pe=this._platformLocation.pathname),this._platformLocation.replaceState(E,F,Pe)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(E=0){this._platformLocation.historyGo?.(E)}static{this.\u0275fac=function(F){return new(F||v)(o.KVO(P),o.KVO(a,8))}}static{this.\u0275prov=o.jDH({token:v,factory:v.\u0275fac})}}return v})(),J=(()=>{class v{constructor(E){this._subject=new o.bkB,this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=E;const F=this._locationStrategy.getBaseHref();this._basePath=function $(v){if(new RegExp("^(https?:)?//").test(v)){const[,E]=v.split(/\/\/[^\/]+/);return E}return v}(q(te(F))),this._locationStrategy.onPopState(At=>{this._subject.emit({url:this.path(!0),pop:!0,state:At.state,type:At.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(E=!1){return this.normalize(this._locationStrategy.path(E))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(E,F=""){return this.path()==this.normalize(E+K(F))}normalize(E){return v.stripTrailingSlash(function Gt(v,W){if(!v||!W.startsWith(v))return W;const E=W.substring(v.length);return""===E||["/",";","?","#"].includes(E[0])?E:W}(this._basePath,te(E)))}prepareExternalUrl(E){return E&&"/"!==E[0]&&(E="/"+E),this._locationStrategy.prepareExternalUrl(E)}go(E,F="",At=null){this._locationStrategy.pushState(At,"",E,F),this._notifyUrlChangeListeners(this.prepareExternalUrl(E+K(F)),At)}replaceState(E,F="",At=null){this._locationStrategy.replaceState(At,"",E,F),this._notifyUrlChangeListeners(this.prepareExternalUrl(E+K(F)),At)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(E=0){this._locationStrategy.historyGo?.(E)}onUrlChange(E){return this._urlChangeListeners.push(E),this._urlChangeSubscription||(this._urlChangeSubscription=this.subscribe(F=>{this._notifyUrlChangeListeners(F.url,F.state)})),()=>{const F=this._urlChangeListeners.indexOf(E);this._urlChangeListeners.splice(F,1),0===this._urlChangeListeners.length&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(E="",F){this._urlChangeListeners.forEach(At=>At(E,F))}subscribe(E,F,At){return this._subject.subscribe({next:E,error:F,complete:At})}static{this.normalizeQueryParams=K}static{this.joinWithSlash=ot}static{this.stripTrailingSlash=q}static{this.\u0275fac=function(F){return new(F||v)(o.KVO(M))}}static{this.\u0275prov=o.jDH({token:v,factory:function(){return function bt(){return new J((0,o.KVO)(M))}()},providedIn:"root"})}}return v})();function te(v){return v.replace(/\/index.html$/,"")}const lt={ADP:[void 0,void 0,0],AFN:[void 0,"\u060b",0],ALL:[void 0,void 0,0],AMD:[void 0,"\u058f",2],AOA:[void 0,"Kz"],ARS:[void 0,"$"],AUD:["A$","$"],AZN:[void 0,"\u20bc"],BAM:[void 0,"KM"],BBD:[void 0,"$"],BDT:[void 0,"\u09f3"],BHD:[void 0,void 0,3],BIF:[void 0,void 0,0],BMD:[void 0,"$"],BND:[void 0,"$"],BOB:[void 0,"Bs"],BRL:["R$"],BSD:[void 0,"$"],BWP:[void 0,"P"],BYN:[void 0,void 0,2],BYR:[void 0,void 0,0],BZD:[void 0,"$"],CAD:["CA$","$",2],CHF:[void 0,void 0,2],CLF:[void 0,void 0,4],CLP:[void 0,"$",0],CNY:["CN\xa5","\xa5"],COP:[void 0,"$",2],CRC:[void 0,"\u20a1",2],CUC:[void 0,"$"],CUP:[void 0,"$"],CZK:[void 0,"K\u010d",2],DJF:[void 0,void 0,0],DKK:[void 0,"kr",2],DOP:[void 0,"$"],EGP:[void 0,"E\xa3"],ESP:[void 0,"\u20a7",0],EUR:["\u20ac"],FJD:[void 0,"$"],FKP:[void 0,"\xa3"],GBP:["\xa3"],GEL:[void 0,"\u20be"],GHS:[void 0,"GH\u20b5"],GIP:[void 0,"\xa3"],GNF:[void 0,"FG",0],GTQ:[void 0,"Q"],GYD:[void 0,"$",2],HKD:["HK$","$"],HNL:[void 0,"L"],HRK:[void 0,"kn"],HUF:[void 0,"Ft",2],IDR:[void 0,"Rp",2],ILS:["\u20aa"],INR:["\u20b9"],IQD:[void 0,void 0,0],IRR:[void 0,void 0,0],ISK:[void 0,"kr",0],ITL:[void 0,void 0,0],JMD:[void 0,"$"],JOD:[void 0,void 0,3],JPY:["\xa5",void 0,0],KHR:[void 0,"\u17db"],KMF:[void 0,"CF",0],KPW:[void 0,"\u20a9",0],KRW:["\u20a9",void 0,0],KWD:[void 0,void 0,3],KYD:[void 0,"$"],KZT:[void 0,"\u20b8"],LAK:[void 0,"\u20ad",0],LBP:[void 0,"L\xa3",0],LKR:[void 0,"Rs"],LRD:[void 0,"$"],LTL:[void 0,"Lt"],LUF:[void 0,void 0,0],LVL:[void 0,"Ls"],LYD:[void 0,void 0,3],MGA:[void 0,"Ar",0],MGF:[void 0,void 0,0],MMK:[void 0,"K",0],MNT:[void 0,"\u20ae",2],MRO:[void 0,void 0,0],MUR:[void 0,"Rs",2],MXN:["MX$","$"],MYR:[void 0,"RM"],NAD:[void 0,"$"],NGN:[void 0,"\u20a6"],NIO:[void 0,"C$"],NOK:[void 0,"kr",2],NPR:[void 0,"Rs"],NZD:["NZ$","$"],OMR:[void 0,void 0,3],PHP:["\u20b1"],PKR:[void 0,"Rs",2],PLN:[void 0,"z\u0142"],PYG:[void 0,"\u20b2",0],RON:[void 0,"lei"],RSD:[void 0,void 0,0],RUB:[void 0,"\u20bd"],RWF:[void 0,"RF",0],SBD:[void 0,"$"],SEK:[void 0,"kr",2],SGD:[void 0,"$"],SHP:[void 0,"\xa3"],SLE:[void 0,void 0,2],SLL:[void 0,void 0,0],SOS:[void 0,void 0,0],SRD:[void 0,"$"],SSP:[void 0,"\xa3"],STD:[void 0,void 0,0],STN:[void 0,"Db"],SYP:[void 0,"\xa3",0],THB:[void 0,"\u0e3f"],TMM:[void 0,void 0,0],TND:[void 0,void 0,3],TOP:[void 0,"T$"],TRL:[void 0,void 0,0],TRY:[void 0,"\u20ba"],TTD:[void 0,"$"],TWD:["NT$","$",2],TZS:[void 0,void 0,2],UAH:[void 0,"\u20b4"],UGX:[void 0,void 0,0],USD:["$"],UYI:[void 0,void 0,0],UYU:[void 0,"$"],UYW:[void 0,void 0,4],UZS:[void 0,void 0,2],VEF:[void 0,"Bs",2],VND:["\u20ab",void 0,0],VUV:[void 0,void 0,0],XAF:["FCFA",void 0,0],XCD:["EC$","$"],XOF:["F\u202fCFA",void 0,0],XPF:["CFPF",void 0,0],XXX:["\xa4"],YER:[void 0,void 0,0],ZAR:[void 0,"R"],ZMK:[void 0,void 0,0],ZMW:[void 0,"ZK"],ZWD:[void 0,void 0,0]};var V=function(v){return v[v.Decimal=0]="Decimal",v[v.Percent=1]="Percent",v[v.Currency=2]="Currency",v[v.Scientific=3]="Scientific",v}(V||{}),rt=function(v){return v[v.Format=0]="Format",v[v.Standalone=1]="Standalone",v}(rt||{}),$t=function(v){return v[v.Narrow=0]="Narrow",v[v.Abbreviated=1]="Abbreviated",v[v.Wide=2]="Wide",v[v.Short=3]="Short",v}($t||{}),de=function(v){return v[v.Short=0]="Short",v[v.Medium=1]="Medium",v[v.Long=2]="Long",v[v.Full=3]="Full",v}(de||{}),_e=function(v){return v[v.Decimal=0]="Decimal",v[v.Group=1]="Group",v[v.List=2]="List",v[v.PercentSign=3]="PercentSign",v[v.PlusSign=4]="PlusSign",v[v.MinusSign=5]="MinusSign",v[v.Exponential=6]="Exponential",v[v.SuperscriptingExponent=7]="SuperscriptingExponent",v[v.PerMille=8]="PerMille",v[v.Infinity=9]="Infinity",v[v.NaN=10]="NaN",v[v.TimeSeparator=11]="TimeSeparator",v[v.CurrencyDecimal=12]="CurrencyDecimal",v[v.CurrencyGroup=13]="CurrencyGroup",v}(_e||{});function Me(v,W){return Qt((0,o.H5H)(v)[o.KH2.DateFormat],W)}function yt(v,W){return Qt((0,o.H5H)(v)[o.KH2.TimeFormat],W)}function Kt(v,W){return Qt((0,o.H5H)(v)[o.KH2.DateTimeFormat],W)}function Nt(v,W){const E=(0,o.H5H)(v),F=E[o.KH2.NumberSymbols][W];if(typeof F>"u"){if(W===_e.CurrencyDecimal)return E[o.KH2.NumberSymbols][_e.Decimal];if(W===_e.CurrencyGroup)return E[o.KH2.NumberSymbols][_e.Group]}return F}function Tt(v,W){return(0,o.H5H)(v)[o.KH2.NumberFormats][W]}function gt(v){if(!v[o.KH2.ExtraData])throw new Error(`Missing extra locale data for the locale "${v[o.KH2.LocaleId]}". Use "registerLocaleData" to load new data. See the "I18n guide" on angular.io to know more.`)}function Qt(v,W){for(let E=W;E>-1;E--)if(typeof v[E]<"u")return v[E];throw new Error("Locale data API: locale data undefined")}function Et(v){const[W,E]=v.split(":");return{hours:+W,minutes:+E}}const je=/^(\d{4,})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,Ht={},ne=/((?:[^BEGHLMOSWYZabcdhmswyz']+)|(?:'(?:[^']|'')*')|(?:G{1,5}|y{1,4}|Y{1,4}|M{1,5}|L{1,5}|w{1,2}|W{1}|d{1,2}|E{1,6}|c{1,6}|a{1,5}|b{1,5}|B{1,5}|h{1,2}|H{1,2}|m{1,2}|s{1,2}|S{1,3}|z{1,4}|Z{1,5}|O{1,4}))([\s\S]*)/;var at=function(v){return v[v.Short=0]="Short",v[v.ShortGMT=1]="ShortGMT",v[v.Long=2]="Long",v[v.Extended=3]="Extended",v}(at||{}),H=function(v){return v[v.FullYear=0]="FullYear",v[v.Month=1]="Month",v[v.Date=2]="Date",v[v.Hours=3]="Hours",v[v.Minutes=4]="Minutes",v[v.Seconds=5]="Seconds",v[v.FractionalSeconds=6]="FractionalSeconds",v[v.Day=7]="Day",v}(H||{}),st=function(v){return v[v.DayPeriods=0]="DayPeriods",v[v.Days=1]="Days",v[v.Months=2]="Months",v[v.Eras=3]="Eras",v}(st||{});function zt(v,W,E,F){let At=function Zt(v){if(U(v))return v;if("number"==typeof v&&!isNaN(v))return new Date(v);if("string"==typeof v){if(v=v.trim(),/^(\d{4}(-\d{1,2}(-\d{1,2})?)?)$/.test(v)){const[At,he=1,Pe=1]=v.split("-").map(sn=>+sn);return vt(At,he-1,Pe)}const E=parseFloat(v);if(!isNaN(v-E))return new Date(E);let F;if(F=v.match(je))return function Ct(v){const W=new Date(0);let E=0,F=0;const At=v[8]?W.setUTCFullYear:W.setFullYear,he=v[8]?W.setUTCHours:W.setHours;v[9]&&(E=Number(v[9]+v[10]),F=Number(v[9]+v[11])),At.call(W,Number(v[1]),Number(v[2])-1,Number(v[3]));const Pe=Number(v[4]||0)-E,sn=Number(v[5]||0)-F,ni=Number(v[6]||0),ti=Math.floor(1e3*parseFloat("0."+(v[7]||0)));return he.call(W,Pe,sn,ni,ti),W}(F)}const W=new Date(v);if(!U(W))throw new Error(`Unable to convert "${v}" into a date`);return W}(v);W=kt(E,W)||W;let sn,Pe=[];for(;W;){if(sn=ne.exec(W),!sn){Pe.push(W);break}{Pe=Pe.concat(sn.slice(1));const Un=Pe.pop();if(!Un)break;W=Un}}let ni=At.getTimezoneOffset();F&&(ni=Rt(F,ni),At=function ze(v,W,E){const F=E?-1:1,At=v.getTimezoneOffset();return function ae(v,W){return(v=new Date(v.getTime())).setMinutes(v.getMinutes()+W),v}(v,F*(Rt(W,At)-At))}(At,F,!0));let ti="";return Pe.forEach(Un=>{const Sn=function dt(v){if(Dt[v])return Dt[v];let W;switch(v){case"G":case"GG":case"GGG":W=Te(st.Eras,$t.Abbreviated);break;case"GGGG":W=Te(st.Eras,$t.Wide);break;case"GGGGG":W=Te(st.Eras,$t.Narrow);break;case"y":W=Ot(H.FullYear,1,0,!1,!0);break;case"yy":W=Ot(H.FullYear,2,0,!0,!0);break;case"yyy":W=Ot(H.FullYear,3,0,!1,!0);break;case"yyyy":W=Ot(H.FullYear,4,0,!1,!0);break;case"Y":W=jt(1);break;case"YY":W=jt(2,!0);break;case"YYY":W=jt(3);break;case"YYYY":W=jt(4);break;case"M":case"L":W=Ot(H.Month,1,1);break;case"MM":case"LL":W=Ot(H.Month,2,1);break;case"MMM":W=Te(st.Months,$t.Abbreviated);break;case"MMMM":W=Te(st.Months,$t.Wide);break;case"MMMMM":W=Te(st.Months,$t.Narrow);break;case"LLL":W=Te(st.Months,$t.Abbreviated,rt.Standalone);break;case"LLLL":W=Te(st.Months,$t.Wide,rt.Standalone);break;case"LLLLL":W=Te(st.Months,$t.Narrow,rt.Standalone);break;case"w":W=me(1);break;case"ww":W=me(2);break;case"W":W=me(1,!0);break;case"d":W=Ot(H.Date,1);break;case"dd":W=Ot(H.Date,2);break;case"c":case"cc":W=Ot(H.Day,1);break;case"ccc":W=Te(st.Days,$t.Abbreviated,rt.Standalone);break;case"cccc":W=Te(st.Days,$t.Wide,rt.Standalone);break;case"ccccc":W=Te(st.Days,$t.Narrow,rt.Standalone);break;case"cccccc":W=Te(st.Days,$t.Short,rt.Standalone);break;case"E":case"EE":case"EEE":W=Te(st.Days,$t.Abbreviated);break;case"EEEE":W=Te(st.Days,$t.Wide);break;case"EEEEE":W=Te(st.Days,$t.Narrow);break;case"EEEEEE":W=Te(st.Days,$t.Short);break;case"a":case"aa":case"aaa":W=Te(st.DayPeriods,$t.Abbreviated);break;case"aaaa":W=Te(st.DayPeriods,$t.Wide);break;case"aaaaa":W=Te(st.DayPeriods,$t.Narrow);break;case"b":case"bb":case"bbb":W=Te(st.DayPeriods,$t.Abbreviated,rt.Standalone,!0);break;case"bbbb":W=Te(st.DayPeriods,$t.Wide,rt.Standalone,!0);break;case"bbbbb":W=Te(st.DayPeriods,$t.Narrow,rt.Standalone,!0);break;case"B":case"BB":case"BBB":W=Te(st.DayPeriods,$t.Abbreviated,rt.Format,!0);break;case"BBBB":W=Te(st.DayPeriods,$t.Wide,rt.Format,!0);break;case"BBBBB":W=Te(st.DayPeriods,$t.Narrow,rt.Format,!0);break;case"h":W=Ot(H.Hours,1,-12);break;case"hh":W=Ot(H.Hours,2,-12);break;case"H":W=Ot(H.Hours,1);break;case"HH":W=Ot(H.Hours,2);break;case"m":W=Ot(H.Minutes,1);break;case"mm":W=Ot(H.Minutes,2);break;case"s":W=Ot(H.Seconds,1);break;case"ss":W=Ot(H.Seconds,2);break;case"S":W=Ot(H.FractionalSeconds,1);break;case"SS":W=Ot(H.FractionalSeconds,2);break;case"SSS":W=Ot(H.FractionalSeconds,3);break;case"Z":case"ZZ":case"ZZZ":W=on(at.Short);break;case"ZZZZZ":W=on(at.Extended);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":W=on(at.ShortGMT);break;case"OOOO":case"ZZZZ":case"zzzz":W=on(at.Long);break;default:return null}return Dt[v]=W,W}(Un);ti+=Sn?Sn(At,E,ni):"''"===Un?"'":Un.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),ti}function vt(v,W,E){const F=new Date(0);return F.setFullYear(v,W,E),F.setHours(0,0,0),F}function kt(v,W){const E=function Ge(v){return(0,o.H5H)(v)[o.KH2.LocaleId]}(v);if(Ht[E]=Ht[E]||{},Ht[E][W])return Ht[E][W];let F="";switch(W){case"shortDate":F=Me(v,de.Short);break;case"mediumDate":F=Me(v,de.Medium);break;case"longDate":F=Me(v,de.Long);break;case"fullDate":F=Me(v,de.Full);break;case"shortTime":F=yt(v,de.Short);break;case"mediumTime":F=yt(v,de.Medium);break;case"longTime":F=yt(v,de.Long);break;case"fullTime":F=yt(v,de.Full);break;case"short":const At=kt(v,"shortTime"),he=kt(v,"shortDate");F=tt(Kt(v,de.Short),[At,he]);break;case"medium":const Pe=kt(v,"mediumTime"),sn=kt(v,"mediumDate");F=tt(Kt(v,de.Medium),[Pe,sn]);break;case"long":const ni=kt(v,"longTime"),ti=kt(v,"longDate");F=tt(Kt(v,de.Long),[ni,ti]);break;case"full":const Un=kt(v,"fullTime"),Sn=kt(v,"fullDate");F=tt(Kt(v,de.Full),[Un,Sn])}return F&&(Ht[E][W]=F),F}function tt(v,W){return W&&(v=v.replace(/\{([^}]+)}/g,function(E,F){return null!=W&&F in W?W[F]:E})),v}function X(v,W,E="-",F,At){let he="";(v<0||At&&v<=0)&&(At?v=1-v:(v=-v,he=E));let Pe=String(v);for(;Pe.length0||sn>-E)&&(sn+=E),v===H.Hours)0===sn&&-12===E&&(sn=12);else if(v===H.FractionalSeconds)return function ft(v,W){return X(v,3).substring(0,W)}(sn,W);const ni=Nt(Pe,_e.MinusSign);return X(sn,W,ni,F,At)}}function Te(v,W,E=rt.Format,F=!1){return function(At,he){return function Ke(v,W,E,F,At,he){switch(E){case st.Months:return function Ve(v,W,E){const F=(0,o.H5H)(v),he=Qt([F[o.KH2.MonthsFormat],F[o.KH2.MonthsStandalone]],W);return Qt(he,E)}(W,At,F)[v.getMonth()];case st.Days:return function ye(v,W,E){const F=(0,o.H5H)(v),he=Qt([F[o.KH2.DaysFormat],F[o.KH2.DaysStandalone]],W);return Qt(he,E)}(W,At,F)[v.getDay()];case st.DayPeriods:const Pe=v.getHours(),sn=v.getMinutes();if(he){const ti=function le(v){const W=(0,o.H5H)(v);return gt(W),(W[o.KH2.ExtraData][2]||[]).map(F=>"string"==typeof F?Et(F):[Et(F[0]),Et(F[1])])}(W),Un=function Vt(v,W,E){const F=(0,o.H5H)(v);gt(F);const he=Qt([F[o.KH2.ExtraData][0],F[o.KH2.ExtraData][1]],W)||[];return Qt(he,E)||[]}(W,At,F),Sn=ti.findIndex(Zn=>{if(Array.isArray(Zn)){const[ii,vi]=Zn,ai=Pe>=ii.hours&&sn>=ii.minutes,Ki=Pe0?Math.floor(At/60):Math.ceil(At/60);switch(v){case at.Short:return(At>=0?"+":"")+X(Pe,2,he)+X(Math.abs(At%60),2,he);case at.ShortGMT:return"GMT"+(At>=0?"+":"")+X(Pe,1,he);case at.Long:return"GMT"+(At>=0?"+":"")+X(Pe,2,he)+":"+X(Math.abs(At%60),2,he);case at.Extended:return 0===F?"Z":(At>=0?"+":"")+X(Pe,2,he)+":"+X(Math.abs(At%60),2,he);default:throw new Error(`Unknown zone width "${v}"`)}}}const _n=0,hn=4;function cn(v){return vt(v.getFullYear(),v.getMonth(),v.getDate()+(hn-v.getDay()))}function me(v,W=!1){return function(E,F){let At;if(W){const he=new Date(E.getFullYear(),E.getMonth(),1).getDay()-1,Pe=E.getDate();At=1+Math.floor((Pe+he)/7)}else{const he=cn(E),Pe=function fe(v){const W=vt(v,_n,1).getDay();return vt(v,0,1+(W<=hn?hn:hn+7)-W)}(he.getFullYear()),sn=he.getTime()-Pe.getTime();At=1+Math.round(sn/6048e5)}return X(At,v,Nt(F,_e.MinusSign))}}function jt(v,W=!1){return function(E,F){return X(cn(E).getFullYear(),v,Nt(F,_e.MinusSign),W)}}const Dt={};function Rt(v,W){v=v.replace(/:/g,"");const E=Date.parse("Jan 01, 1970 00:00:00 "+v)/6e4;return isNaN(E)?W:E}function U(v){return v instanceof Date&&!isNaN(v.valueOf())}const A=/^(\d+)?\.((\d+)(-(\d+))?)?$/,xt=22,Jt=".",Fe="0",Ze=";",xn=",",Ie="#";function ee(v,W,E,F,At,he,Pe=!1){let sn="",ni=!1;if(isFinite(v)){let ti=function se(v){let F,At,he,Pe,sn,W=Math.abs(v)+"",E=0;for((At=W.indexOf(Jt))>-1&&(W=W.replace(Jt,"")),(he=W.search(/e/i))>0?(At<0&&(At=he),At+=+W.slice(he+1),W=W.substring(0,he)):At<0&&(At=W.length),he=0;W.charAt(he)===Fe;he++);if(he===(sn=W.length))F=[0],At=1;else{for(sn--;W.charAt(sn)===Fe;)sn--;for(At-=he,F=[],Pe=0;he<=sn;he++,Pe++)F[Pe]=Number(W.charAt(he))}return At>xt&&(F=F.splice(0,xt-1),E=At-1,At=1),{digits:F,exponent:E,integerLen:At}}(v);Pe&&(ti=function Wt(v){if(0===v.digits[0])return v;const W=v.digits.length-v.integerLen;return v.exponent?v.exponent+=2:(0===W?v.digits.push(0,0):1===W&&v.digits.push(0),v.integerLen+=2),v}(ti));let Un=W.minInt,Sn=W.minFrac,Zn=W.maxFrac;if(he){const Gi=he.match(A);if(null===Gi)throw new Error(`${he} is not a valid digit info`);const no=Gi[1],Ai=Gi[3],Ci=Gi[5];null!=no&&(Un=ve(no)),null!=Ai&&(Sn=ve(Ai)),null!=Ci?Zn=ve(Ci):null!=Ai&&Sn>Zn&&(Zn=Sn)}!function De(v,W,E){if(W>E)throw new Error(`The minimum number of digits after fraction (${W}) is higher than the maximum (${E}).`);let F=v.digits,At=F.length-v.integerLen;const he=Math.min(Math.max(W,At),E);let Pe=he+v.integerLen,sn=F[Pe];if(Pe>0){F.splice(Math.max(v.integerLen,Pe));for(let Sn=Pe;Sn=5)if(Pe-1<0){for(let Sn=0;Sn>Pe;Sn--)F.unshift(0),v.integerLen++;F.unshift(1),v.integerLen++}else F[Pe-1]++;for(;At=ti?vi.pop():ni=!1),Zn>=10?1:0},0);Un&&(F.unshift(Un),v.integerLen++)}(ti,Sn,Zn);let ii=ti.digits,vi=ti.integerLen;const ai=ti.exponent;let Ki=[];for(ni=ii.every(Gi=>!Gi);vi0?Ki=ii.splice(vi,ii.length):(Ki=ii,ii=[0]);const go=[];for(ii.length>=W.lgSize&&go.unshift(ii.splice(-W.lgSize,ii.length).join(""));ii.length>W.gSize;)go.unshift(ii.splice(-W.gSize,ii.length).join(""));ii.length&&go.unshift(ii.join("")),sn=go.join(Nt(E,F)),Ki.length&&(sn+=Nt(E,At)+Ki.join("")),ai&&(sn+=Nt(E,_e.Exponential)+"+"+ai)}else sn=Nt(E,_e.Infinity);return sn=v<0&&!ni?W.negPre+sn+W.negSuf:W.posPre+sn+W.posSuf,sn}function Mt(v,W="-"){const E={minInt:1,minFrac:0,maxFrac:0,posPre:"",posSuf:"",negPre:"",negSuf:"",gSize:0,lgSize:0},F=v.split(Ze),At=F[0],he=F[1],Pe=-1!==At.indexOf(Jt)?At.split(Jt):[At.substring(0,At.lastIndexOf(Fe)+1),At.substring(At.lastIndexOf(Fe)+1)],sn=Pe[0],ni=Pe[1]||"";E.posPre=sn.substring(0,sn.indexOf(Ie));for(let Un=0;Un{class v{constructor(E,F,At,he){this._iterableDiffers=E,this._keyValueDiffers=F,this._ngEl=At,this._renderer=he,this.initialClasses=Mn,this.stateMap=new Map}set klass(E){this.initialClasses=null!=E?E.trim().split(Fn):Mn}set ngClass(E){this.rawClass="string"==typeof E?E.trim().split(Fn):E}ngDoCheck(){for(const F of this.initialClasses)this._updateState(F,!0);const E=this.rawClass;if(Array.isArray(E)||E instanceof Set)for(const F of E)this._updateState(F,!0);else if(null!=E)for(const F of Object.keys(E))this._updateState(F,!!E[F]);this._applyStateDiff()}_updateState(E,F){const At=this.stateMap.get(E);void 0!==At?(At.enabled!==F&&(At.changed=!0,At.enabled=F),At.touched=!0):this.stateMap.set(E,{enabled:F,changed:!0,touched:!0})}_applyStateDiff(){for(const E of this.stateMap){const F=E[0],At=E[1];At.changed?(this._toggleClass(F,At.enabled),At.changed=!1):At.touched||(At.enabled&&this._toggleClass(F,!1),this.stateMap.delete(F)),At.touched=!1}}_toggleClass(E,F){(E=E.trim()).length>0&&E.split(Fn).forEach(At=>{F?this._renderer.addClass(this._ngEl.nativeElement,At):this._renderer.removeClass(this._ngEl.nativeElement,At)})}static{this.\u0275fac=function(F){return new(F||v)(o.rXU(o._q3),o.rXU(o.MKu),o.rXU(o.aKT),o.rXU(o.sFG))}}static{this.\u0275dir=o.FsC({type:v,selectors:[["","ngClass",""]],inputs:{klass:["class","klass"],ngClass:"ngClass"},standalone:!0})}}return v})();class Bn{constructor(W,E,F,At){this.$implicit=W,this.ngForOf=E,this.index=F,this.count=At}get first(){return 0===this.index}get last(){return this.index===this.count-1}get even(){return this.index%2==0}get odd(){return!this.even}}let Jn=(()=>{class v{set ngForOf(E){this._ngForOf=E,this._ngForOfDirty=!0}set ngForTrackBy(E){this._trackByFn=E}get ngForTrackBy(){return this._trackByFn}constructor(E,F,At){this._viewContainer=E,this._template=F,this._differs=At,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForTemplate(E){E&&(this._template=E)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const E=this._ngForOf;!this._differ&&E&&(this._differ=this._differs.find(E).create(this.ngForTrackBy))}if(this._differ){const E=this._differ.diff(this._ngForOf);E&&this._applyChanges(E)}}_applyChanges(E){const F=this._viewContainer;E.forEachOperation((At,he,Pe)=>{if(null==At.previousIndex)F.createEmbeddedView(this._template,new Bn(At.item,this._ngForOf,-1,-1),null===Pe?void 0:Pe);else if(null==Pe)F.remove(null===he?void 0:he);else if(null!==he){const sn=F.get(he);F.move(sn,Pe),Mi(sn,At)}});for(let At=0,he=F.length;At{Mi(F.get(At.currentIndex),At)})}static ngTemplateContextGuard(E,F){return!0}static{this.\u0275fac=function(F){return new(F||v)(o.rXU(o.c1b),o.rXU(o.C4Q),o.rXU(o._q3))}}static{this.\u0275dir=o.FsC({type:v,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"},standalone:!0})}}return v})();function Mi(v,W){v.context.$implicit=W.item}let Fi=(()=>{class v{constructor(E,F){this._viewContainer=E,this._context=new oi,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=F}set ngIf(E){this._context.$implicit=this._context.ngIf=E,this._updateView()}set ngIfThen(E){Ti("ngIfThen",E),this._thenTemplateRef=E,this._thenViewRef=null,this._updateView()}set ngIfElse(E){Ti("ngIfElse",E),this._elseTemplateRef=E,this._elseViewRef=null,this._updateView()}_updateView(){this._context.$implicit?this._thenViewRef||(this._viewContainer.clear(),this._elseViewRef=null,this._thenTemplateRef&&(this._thenViewRef=this._viewContainer.createEmbeddedView(this._thenTemplateRef,this._context))):this._elseViewRef||(this._viewContainer.clear(),this._thenViewRef=null,this._elseTemplateRef&&(this._elseViewRef=this._viewContainer.createEmbeddedView(this._elseTemplateRef,this._context)))}static ngTemplateContextGuard(E,F){return!0}static{this.\u0275fac=function(F){return new(F||v)(o.rXU(o.c1b),o.rXU(o.C4Q))}}static{this.\u0275dir=o.FsC({type:v,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0})}}return v})();class oi{constructor(){this.$implicit=null,this.ngIf=null}}function Ti(v,W){if(W&&!W.createEmbeddedView)throw new Error(`${v} must be a TemplateRef, but received '${(0,o.Tbb)(W)}'.`)}class Mo{constructor(W,E){this._viewContainerRef=W,this._templateRef=E,this._created=!1}create(){this._created=!0,this._viewContainerRef.createEmbeddedView(this._templateRef)}destroy(){this._created=!1,this._viewContainerRef.clear()}enforceState(W){W&&!this._created?this.create():!W&&this._created&&this.destroy()}}let si=(()=>{class v{constructor(){this._defaultViews=[],this._defaultUsed=!1,this._caseCount=0,this._lastCaseCheckIndex=0,this._lastCasesMatched=!1}set ngSwitch(E){this._ngSwitch=E,0===this._caseCount&&this._updateDefaultCases(!0)}_addCase(){return this._caseCount++}_addDefault(E){this._defaultViews.push(E)}_matchCase(E){const F=E==this._ngSwitch;return this._lastCasesMatched=this._lastCasesMatched||F,this._lastCaseCheckIndex++,this._lastCaseCheckIndex===this._caseCount&&(this._updateDefaultCases(!this._lastCasesMatched),this._lastCaseCheckIndex=0,this._lastCasesMatched=!1),F}_updateDefaultCases(E){if(this._defaultViews.length>0&&E!==this._defaultUsed){this._defaultUsed=E;for(const F of this._defaultViews)F.enforceState(E)}}static{this.\u0275fac=function(F){return new(F||v)}}static{this.\u0275dir=o.FsC({type:v,selectors:[["","ngSwitch",""]],inputs:{ngSwitch:"ngSwitch"},standalone:!0})}}return v})(),Zc=(()=>{class v{constructor(E,F,At){this.ngSwitch=At,At._addCase(),this._view=new Mo(E,F)}ngDoCheck(){this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase))}static{this.\u0275fac=function(F){return new(F||v)(o.rXU(o.c1b),o.rXU(o.C4Q),o.rXU(si,9))}}static{this.\u0275dir=o.FsC({type:v,selectors:[["","ngSwitchCase",""]],inputs:{ngSwitchCase:"ngSwitchCase"},standalone:!0})}}return v})(),dc=(()=>{class v{constructor(E,F,At){At._addDefault(new Mo(E,F))}static{this.\u0275fac=function(F){return new(F||v)(o.rXU(o.c1b),o.rXU(o.C4Q),o.rXU(si,9))}}static{this.\u0275dir=o.FsC({type:v,selectors:[["","ngSwitchDefault",""]],standalone:!0})}}return v})(),wo=(()=>{class v{constructor(E){this._viewContainerRef=E,this._viewRef=null,this.ngTemplateOutletContext=null,this.ngTemplateOutlet=null,this.ngTemplateOutletInjector=null}ngOnChanges(E){if(E.ngTemplateOutlet||E.ngTemplateOutletInjector){const F=this._viewContainerRef;if(this._viewRef&&F.remove(F.indexOf(this._viewRef)),this.ngTemplateOutlet){const{ngTemplateOutlet:At,ngTemplateOutletContext:he,ngTemplateOutletInjector:Pe}=this;this._viewRef=F.createEmbeddedView(At,he,Pe?{injector:Pe}:void 0)}else this._viewRef=null}else this._viewRef&&E.ngTemplateOutletContext&&this.ngTemplateOutletContext&&(this._viewRef.context=this.ngTemplateOutletContext)}static{this.\u0275fac=function(F){return new(F||v)(o.rXU(o.c1b))}}static{this.\u0275dir=o.FsC({type:v,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},standalone:!0,features:[o.OA$]})}}return v})();function Oi(v,W){return new o.wOt(2100,!1)}class mc{createSubscription(W,E){return(0,o.O8t)(()=>W.subscribe({next:E,error:F=>{throw F}}))}dispose(W){(0,o.O8t)(()=>W.unsubscribe())}}class Bo{createSubscription(W,E){return W.then(E,F=>{throw F})}dispose(W){}}const Vo=new Bo,Ec=new mc;let Bc=(()=>{class v{constructor(E){this._latestValue=null,this._subscription=null,this._obj=null,this._strategy=null,this._ref=E}ngOnDestroy(){this._subscription&&this._dispose(),this._ref=null}transform(E){return this._obj?E!==this._obj?(this._dispose(),this.transform(E)):this._latestValue:(E&&this._subscribe(E),this._latestValue)}_subscribe(E){this._obj=E,this._strategy=this._selectStrategy(E),this._subscription=this._strategy.createSubscription(E,F=>this._updateLatestValue(E,F))}_selectStrategy(E){if((0,o.jNT)(E))return Vo;if((0,o.zjR)(E))return Ec;throw Oi()}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}_updateLatestValue(E,F){E===this._obj&&(this._latestValue=F,this._ref.markForCheck())}static{this.\u0275fac=function(F){return new(F||v)(o.rXU(o.gRc,16))}}static{this.\u0275pipe=o.EJ8({name:"async",type:v,pure:!1,standalone:!0})}}return v})(),Ji=(()=>{class v{transform(E){if(null==E)return null;if("string"!=typeof E)throw Oi();return E.toLowerCase()}static{this.\u0275fac=function(F){return new(F||v)}}static{this.\u0275pipe=o.EJ8({name:"lowercase",type:v,pure:!0,standalone:!0})}}return v})(),Lo=(()=>{class v{transform(E){if(null==E)return null;if("string"!=typeof E)throw Oi();return E.toUpperCase()}static{this.\u0275fac=function(F){return new(F||v)}}static{this.\u0275pipe=o.EJ8({name:"uppercase",type:v,pure:!0,standalone:!0})}}return v})();const En=new o.nKC("DATE_PIPE_DEFAULT_TIMEZONE"),di=new o.nKC("DATE_PIPE_DEFAULT_OPTIONS");let ei=(()=>{class v{constructor(E,F,At){this.locale=E,this.defaultTimezone=F,this.defaultOptions=At}transform(E,F,At,he){if(null==E||""===E||E!=E)return null;try{return zt(E,F??this.defaultOptions?.dateFormat??"mediumDate",he||this.locale,At??this.defaultOptions?.timezone??this.defaultTimezone??void 0)}catch(Pe){throw Oi()}}static{this.\u0275fac=function(F){return new(F||v)(o.rXU(o.xe9,16),o.rXU(En,24),o.rXU(di,24))}}static{this.\u0275pipe=o.EJ8({name:"date",type:v,pure:!0,standalone:!0})}}return v})(),Do=(()=>{class v{transform(E){return JSON.stringify(E,null,2)}static{this.\u0275fac=function(F){return new(F||v)}}static{this.\u0275pipe=o.EJ8({name:"json",type:v,pure:!1,standalone:!0})}}return v})(),qn=(()=>{class v{constructor(E){this._locale=E}transform(E,F,At){if(!Hn(E))return null;At=At||this._locale;try{return function Q(v,W,E){return ee(v,Mt(Tt(W,V.Decimal),Nt(W,_e.MinusSign)),W,_e.Group,_e.Decimal,E)}(Si(E),At,F)}catch(he){throw Oi()}}static{this.\u0275fac=function(F){return new(F||v)(o.rXU(o.xe9,16))}}static{this.\u0275pipe=o.EJ8({name:"number",type:v,pure:!0,standalone:!0})}}return v})(),Cn=(()=>{class v{constructor(E,F="USD"){this._locale=E,this._defaultCurrencyCode=F}transform(E,F=this._defaultCurrencyCode,At="symbol",he,Pe){if(!Hn(E))return null;Pe=Pe||this._locale,"boolean"==typeof At&&(At=At?"symbol":"code");let sn=F||this._defaultCurrencyCode;"code"!==At&&(sn="symbol"===At||"symbol-narrow"===At?function re(v,W,E="en"){const F=function ke(v){return(0,o.H5H)(v)[o.KH2.Currencies]}(E)[v]||lt[v]||[],At=F[1];return"narrow"===W&&"string"==typeof At?At:F[0]||v}(sn,"symbol"===At?"wide":"narrow",Pe):At);try{return function I(v,W,E,F,At){const Pe=Mt(Tt(W,V.Currency),Nt(W,_e.MinusSign));return Pe.minFrac=function ce(v){let W;const E=lt[v];return E&&(W=E[2]),"number"==typeof W?W:2}(F),Pe.maxFrac=Pe.minFrac,ee(v,Pe,W,_e.CurrencyGroup,_e.CurrencyDecimal,At).replace("\xa4",E).replace("\xa4","").trim()}(Si(E),Pe,sn,F,he)}catch(ni){throw Oi()}}static{this.\u0275fac=function(F){return new(F||v)(o.rXU(o.xe9,16),o.rXU(o.Ocv,16))}}static{this.\u0275pipe=o.EJ8({name:"currency",type:v,pure:!0,standalone:!0})}}return v})();function Hn(v){return!(null==v||""===v||v!=v)}function Si(v){if("string"==typeof v&&!isNaN(Number(v)-parseFloat(v)))return Number(v);if("number"!=typeof v)throw new Error(`${v} is not a number`);return v}let Bi=(()=>{class v{transform(E,F,At){if(null==E)return null;if(!this.supports(E))throw Oi();return E.slice(F,At)}supports(E){return"string"==typeof E||Array.isArray(E)}static{this.\u0275fac=function(F){return new(F||v)}}static{this.\u0275pipe=o.EJ8({name:"slice",type:v,pure:!1,standalone:!0})}}return v})(),So=(()=>{class v{static{this.\u0275fac=function(F){return new(F||v)}}static{this.\u0275mod=o.$C({type:v})}static{this.\u0275inj=o.G2t({})}}return v})();const Vn="browser",Ni="server";function qi(v){return v===Vn}function to(v){return v===Ni}let fo=(()=>{class v{static{this.\u0275prov=(0,o.jDH)({token:v,providedIn:"root",factory:()=>new ho((0,o.KVO)(G),window)})}}return v})();class ho{constructor(W,E){this.document=W,this.window=E,this.offset=()=>[0,0]}setOffset(W){this.offset=Array.isArray(W)?()=>W:W}getScrollPosition(){return this.supportsScrolling()?[this.window.pageXOffset,this.window.pageYOffset]:[0,0]}scrollToPosition(W){this.supportsScrolling()&&this.window.scrollTo(W[0],W[1])}scrollToAnchor(W){if(!this.supportsScrolling())return;const E=function Ho(v,W){const E=v.getElementById(W)||v.getElementsByName(W)[0];if(E)return E;if("function"==typeof v.createTreeWalker&&v.body&&"function"==typeof v.body.attachShadow){const F=v.createTreeWalker(v.body,NodeFilter.SHOW_ELEMENT);let At=F.currentNode;for(;At;){const he=At.shadowRoot;if(he){const Pe=he.getElementById(W)||he.querySelector(`[name="${W}"]`);if(Pe)return Pe}At=F.nextNode()}}return null}(this.document,W);E&&(this.scrollToElement(E),E.focus())}setHistoryScrollRestoration(W){this.supportsScrolling()&&(this.window.history.scrollRestoration=W)}scrollToElement(W){const E=W.getBoundingClientRect(),F=E.left+this.window.pageXOffset,At=E.top+this.window.pageYOffset,he=this.offset();this.window.scrollTo(F-he[0],At-he[1])}supportsScrolling(){try{return!!this.window&&!!this.window.scrollTo&&"pageXOffset"in this.window}catch{return!1}}}class Po{}},62572:(Ce,Lt,r)=>{r.d(Lt,{$R:()=>me,JV:()=>K,Lr:()=>M,Nl:()=>$,Qq:()=>be,_y:()=>V,b$:()=>jt,cS:()=>Ve,rx:()=>lt,yz:()=>Oe});var o=r(1843),y=r(73151),b=r(61550),T=r(23135),k=r(90940),G=r(98474),P=r(12324),Z=r(91974),N=r(57588),ot=r(18331);class q{}class K{}class M{constructor(I){this.normalizedNames=new Map,this.lazyUpdate=null,I?"string"==typeof I?this.lazyInit=()=>{this.headers=new Map,I.split("\n").forEach(_t=>{const Q=_t.indexOf(":");if(Q>0){const Mt=_t.slice(0,Q),Wt=Mt.toLowerCase(),se=_t.slice(Q+1).trim();this.maybeSetNormalizedName(Mt,Wt),this.headers.has(Wt)?this.headers.get(Wt).push(se):this.headers.set(Wt,[se])}})}:typeof Headers<"u"&&I instanceof Headers?(this.headers=new Map,I.forEach((_t,Q)=>{this.setHeaderEntries(Q,_t)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(I).forEach(([_t,Q])=>{this.setHeaderEntries(_t,Q)})}:this.headers=new Map}has(I){return this.init(),this.headers.has(I.toLowerCase())}get(I){this.init();const _t=this.headers.get(I.toLowerCase());return _t&&_t.length>0?_t[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(I){return this.init(),this.headers.get(I.toLowerCase())||null}append(I,_t){return this.clone({name:I,value:_t,op:"a"})}set(I,_t){return this.clone({name:I,value:_t,op:"s"})}delete(I,_t){return this.clone({name:I,value:_t,op:"d"})}maybeSetNormalizedName(I,_t){this.normalizedNames.has(_t)||this.normalizedNames.set(_t,I)}init(){this.lazyInit&&(this.lazyInit instanceof M?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(I=>this.applyUpdate(I)),this.lazyUpdate=null))}copyFrom(I){I.init(),Array.from(I.headers.keys()).forEach(_t=>{this.headers.set(_t,I.headers.get(_t)),this.normalizedNames.set(_t,I.normalizedNames.get(_t))})}clone(I){const _t=new M;return _t.lazyInit=this.lazyInit&&this.lazyInit instanceof M?this.lazyInit:this,_t.lazyUpdate=(this.lazyUpdate||[]).concat([I]),_t}applyUpdate(I){const _t=I.name.toLowerCase();switch(I.op){case"a":case"s":let Q=I.value;if("string"==typeof Q&&(Q=[Q]),0===Q.length)return;this.maybeSetNormalizedName(I.name,_t);const Mt=("a"===I.op?this.headers.get(_t):void 0)||[];Mt.push(...Q),this.headers.set(_t,Mt);break;case"d":const Wt=I.value;if(Wt){let se=this.headers.get(_t);if(!se)return;se=se.filter(De=>-1===Wt.indexOf(De)),0===se.length?(this.headers.delete(_t),this.normalizedNames.delete(_t)):this.headers.set(_t,se)}else this.headers.delete(_t),this.normalizedNames.delete(_t)}}setHeaderEntries(I,_t){const Q=(Array.isArray(_t)?_t:[_t]).map(Wt=>Wt.toString()),Mt=I.toLowerCase();this.headers.set(Mt,Q),this.maybeSetNormalizedName(I,Mt)}forEach(I){this.init(),Array.from(this.normalizedNames.keys()).forEach(_t=>I(this.normalizedNames.get(_t),this.headers.get(_t)))}}class pt{encodeKey(I){return Gt(I)}encodeValue(I){return Gt(I)}decodeKey(I){return decodeURIComponent(I)}decodeValue(I){return decodeURIComponent(I)}}const J=/%(\d[a-f0-9])/gi,bt={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function Gt(ee){return encodeURIComponent(ee).replace(J,(I,_t)=>bt[_t]??I)}function te(ee){return`${ee}`}class ${constructor(I={}){if(this.updates=null,this.cloneFrom=null,this.encoder=I.encoder||new pt,I.fromString){if(I.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function j(ee,I){const _t=new Map;return ee.length>0&&ee.replace(/^\?/,"").split("&").forEach(Mt=>{const Wt=Mt.indexOf("="),[se,De]=-1==Wt?[I.decodeKey(Mt),""]:[I.decodeKey(Mt.slice(0,Wt)),I.decodeValue(Mt.slice(Wt+1))],ve=_t.get(se)||[];ve.push(De),_t.set(se,ve)}),_t}(I.fromString,this.encoder)}else I.fromObject?(this.map=new Map,Object.keys(I.fromObject).forEach(_t=>{const Q=I.fromObject[_t],Mt=Array.isArray(Q)?Q.map(te):[te(Q)];this.map.set(_t,Mt)})):this.map=null}has(I){return this.init(),this.map.has(I)}get(I){this.init();const _t=this.map.get(I);return _t?_t[0]:null}getAll(I){return this.init(),this.map.get(I)||null}keys(){return this.init(),Array.from(this.map.keys())}append(I,_t){return this.clone({param:I,value:_t,op:"a"})}appendAll(I){const _t=[];return Object.keys(I).forEach(Q=>{const Mt=I[Q];Array.isArray(Mt)?Mt.forEach(Wt=>{_t.push({param:Q,value:Wt,op:"a"})}):_t.push({param:Q,value:Mt,op:"a"})}),this.clone(_t)}set(I,_t){return this.clone({param:I,value:_t,op:"s"})}delete(I,_t){return this.clone({param:I,value:_t,op:"d"})}toString(){return this.init(),this.keys().map(I=>{const _t=this.encoder.encodeKey(I);return this.map.get(I).map(Q=>_t+"="+this.encoder.encodeValue(Q)).join("&")}).filter(I=>""!==I).join("&")}clone(I){const _t=new $({encoder:this.encoder});return _t.cloneFrom=this.cloneFrom||this,_t.updates=(this.updates||[]).concat(I),_t}init(){null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(I=>this.map.set(I,this.cloneFrom.map.get(I))),this.updates.forEach(I=>{switch(I.op){case"a":case"s":const _t=("a"===I.op?this.map.get(I.param):void 0)||[];_t.push(te(I.value)),this.map.set(I.param,_t);break;case"d":if(void 0===I.value){this.map.delete(I.param);break}{let Q=this.map.get(I.param)||[];const Mt=Q.indexOf(te(I.value));-1!==Mt&&Q.splice(Mt,1),Q.length>0?this.map.set(I.param,Q):this.map.delete(I.param)}}}),this.cloneFrom=this.updates=null)}}class lt{constructor(I){this.defaultValue=I}}class V{constructor(){this.map=new Map}set(I,_t){return this.map.set(I,_t),this}get(I){return this.map.has(I)||this.map.set(I,I.defaultValue()),this.map.get(I)}delete(I){return this.map.delete(I),this}has(I){return this.map.has(I)}keys(){return this.map.keys()}}function rt(ee){return typeof ArrayBuffer<"u"&&ee instanceof ArrayBuffer}function $t(ee){return typeof Blob<"u"&&ee instanceof Blob}function de(ee){return typeof FormData<"u"&&ee instanceof FormData}class Le{constructor(I,_t,Q,Mt){let Wt;if(this.url=_t,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=I.toUpperCase(),function mt(ee){switch(ee){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||Mt?(this.body=void 0!==Q?Q:null,Wt=Mt):Wt=Q,Wt&&(this.reportProgress=!!Wt.reportProgress,this.withCredentials=!!Wt.withCredentials,Wt.responseType&&(this.responseType=Wt.responseType),Wt.headers&&(this.headers=Wt.headers),Wt.context&&(this.context=Wt.context),Wt.params&&(this.params=Wt.params)),this.headers||(this.headers=new M),this.context||(this.context=new V),this.params){const se=this.params.toString();if(0===se.length)this.urlWithParams=_t;else{const De=_t.indexOf("?");this.urlWithParams=_t+(-1===De?"?":De<_t.length-1?"&":"")+se}}else this.params=new $,this.urlWithParams=_t}serializeBody(){return null===this.body?null:rt(this.body)||$t(this.body)||de(this.body)||function _e(ee){return typeof URLSearchParams<"u"&&ee instanceof URLSearchParams}(this.body)||"string"==typeof this.body?this.body:this.body instanceof $?this.body.toString():"object"==typeof this.body||"boolean"==typeof this.body||Array.isArray(this.body)?JSON.stringify(this.body):this.body.toString()}detectContentTypeHeader(){return null===this.body||de(this.body)?null:$t(this.body)?this.body.type||null:rt(this.body)?null:"string"==typeof this.body?"text/plain":this.body instanceof $?"application/x-www-form-urlencoded;charset=UTF-8":"object"==typeof this.body||"number"==typeof this.body||"boolean"==typeof this.body?"application/json":null}clone(I={}){const _t=I.method||this.method,Q=I.url||this.url,Mt=I.responseType||this.responseType,Wt=void 0!==I.body?I.body:this.body,se=void 0!==I.withCredentials?I.withCredentials:this.withCredentials,De=void 0!==I.reportProgress?I.reportProgress:this.reportProgress;let ve=I.headers||this.headers,Ye=I.params||this.params;const tn=I.context??this.context;return void 0!==I.setHeaders&&(ve=Object.keys(I.setHeaders).reduce((rn,ln)=>rn.set(ln,I.setHeaders[ln]),ve)),I.setParams&&(Ye=Object.keys(I.setParams).reduce((rn,ln)=>rn.set(ln,I.setParams[ln]),Ye)),new Le(_t,Q,Wt,{params:Ye,headers:ve,context:tn,reportProgress:De,responseType:Mt,withCredentials:se})}}var Ge=function(ee){return ee[ee.Sent=0]="Sent",ee[ee.UploadProgress=1]="UploadProgress",ee[ee.ResponseHeader=2]="ResponseHeader",ee[ee.DownloadProgress=3]="DownloadProgress",ee[ee.Response=4]="Response",ee[ee.User=5]="User",ee}(Ge||{});class Xe{constructor(I,_t=200,Q="OK"){this.headers=I.headers||new M,this.status=void 0!==I.status?I.status:_t,this.statusText=I.statusText||Q,this.url=I.url||null,this.ok=this.status>=200&&this.status<300}}class ye extends Xe{constructor(I={}){super(I),this.type=Ge.ResponseHeader}clone(I={}){return new ye({headers:I.headers||this.headers,status:void 0!==I.status?I.status:this.status,statusText:I.statusText||this.statusText,url:I.url||this.url||void 0})}}class Ve extends Xe{constructor(I={}){super(I),this.type=Ge.Response,this.body=void 0!==I.body?I.body:null}clone(I={}){return new Ve({body:void 0!==I.body?I.body:this.body,headers:I.headers||this.headers,status:void 0!==I.status?I.status:this.status,statusText:I.statusText||this.statusText,url:I.url||this.url||void 0})}}class Oe extends Xe{constructor(I){super(I,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.message=this.status>=200&&this.status<300?`Http failure during parsing for ${I.url||"(unknown url)"}`:`Http failure response for ${I.url||"(unknown url)"}: ${I.status} ${I.statusText}`,this.error=I.error||null}}function Qe(ee,I){return{body:I,headers:ee.headers,context:ee.context,observe:ee.observe,params:ee.params,reportProgress:ee.reportProgress,responseType:ee.responseType,withCredentials:ee.withCredentials}}let be=(()=>{class ee{constructor(_t){this.handler=_t}request(_t,Q,Mt={}){let Wt;if(_t instanceof Le)Wt=_t;else{let ve,Ye;ve=Mt.headers instanceof M?Mt.headers:new M(Mt.headers),Mt.params&&(Ye=Mt.params instanceof $?Mt.params:new $({fromObject:Mt.params})),Wt=new Le(_t,Q,void 0!==Mt.body?Mt.body:null,{headers:ve,context:Mt.context,params:Ye,reportProgress:Mt.reportProgress,responseType:Mt.responseType||"json",withCredentials:Mt.withCredentials})}const se=(0,y.of)(Wt).pipe((0,k.H)(ve=>this.handler.handle(ve)));if(_t instanceof Le||"events"===Mt.observe)return se;const De=se.pipe((0,G.p)(ve=>ve instanceof Ve));switch(Mt.observe||"body"){case"body":switch(Wt.responseType){case"arraybuffer":return De.pipe((0,P.T)(ve=>{if(null!==ve.body&&!(ve.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return ve.body}));case"blob":return De.pipe((0,P.T)(ve=>{if(null!==ve.body&&!(ve.body instanceof Blob))throw new Error("Response is not a Blob.");return ve.body}));case"text":return De.pipe((0,P.T)(ve=>{if(null!==ve.body&&"string"!=typeof ve.body)throw new Error("Response is not a string.");return ve.body}));default:return De.pipe((0,P.T)(ve=>ve.body))}case"response":return De;default:throw new Error(`Unreachable: unhandled observe type ${Mt.observe}}`)}}delete(_t,Q={}){return this.request("DELETE",_t,Q)}get(_t,Q={}){return this.request("GET",_t,Q)}head(_t,Q={}){return this.request("HEAD",_t,Q)}jsonp(_t,Q){return this.request("JSONP",_t,{params:(new $).append(Q,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(_t,Q={}){return this.request("OPTIONS",_t,Q)}patch(_t,Q,Mt={}){return this.request("PATCH",_t,Qe(Mt,Q))}post(_t,Q,Mt={}){return this.request("POST",_t,Qe(Mt,Q))}put(_t,Q,Mt={}){return this.request("PUT",_t,Qe(Mt,Q))}static{this.\u0275fac=function(Q){return new(Q||ee)(o.KVO(q))}}static{this.\u0275prov=o.jDH({token:ee,factory:ee.\u0275fac})}}return ee})();function Ne(ee,I){return I(ee)}const le=new o.nKC(""),Vt=new o.nKC("");let Qt=(()=>{class ee extends q{constructor(_t,Q){super(),this.backend=_t,this.injector=Q,this.chain=null,this.pendingTasks=(0,o.WQX)(o.$K3)}handle(_t){if(null===this.chain){const Mt=Array.from(new Set([...this.injector.get(le),...this.injector.get(Vt,[])]));this.chain=Mt.reduceRight((Wt,se)=>function un(ee,I,_t){return(Q,Mt)=>_t.runInContext(()=>I(Q,Wt=>ee(Wt,Mt)))}(Wt,se,this.injector),Ne)}const Q=this.pendingTasks.add();return this.chain(_t,Mt=>this.backend.handle(Mt)).pipe((0,Z.j)(()=>this.pendingTasks.remove(Q)))}static{this.\u0275fac=function(Q){return new(Q||ee)(o.KVO(K),o.KVO(o.uvJ))}}static{this.\u0275prov=o.jDH({token:ee,factory:ee.\u0275fac})}}return ee})();const vt=/^\)\]\}',?\n/;let tt=(()=>{class ee{constructor(_t){this.xhrFactory=_t}handle(_t){if("JSONP"===_t.method)throw new o.wOt(-2800,!1);const Q=this.xhrFactory;return(Q.\u0275loadImpl?(0,b.H)(Q.\u0275loadImpl()):(0,y.of)(null)).pipe((0,N.n)(()=>new T.c(Wt=>{const se=Q.build();if(se.open(_t.method,_t.urlWithParams),_t.withCredentials&&(se.withCredentials=!0),_t.headers.forEach((Mn,In)=>se.setRequestHeader(Mn,In.join(","))),_t.headers.has("Accept")||se.setRequestHeader("Accept","application/json, text/plain, */*"),!_t.headers.has("Content-Type")){const Mn=_t.detectContentTypeHeader();null!==Mn&&se.setRequestHeader("Content-Type",Mn)}if(_t.responseType){const Mn=_t.responseType.toLowerCase();se.responseType="json"!==Mn?Mn:"text"}const De=_t.serializeBody();let ve=null;const Ye=()=>{if(null!==ve)return ve;const Mn=se.statusText||"OK",In=new M(se.getAllResponseHeaders()),li=function kt(ee){return"responseURL"in ee&&ee.responseURL?ee.responseURL:/^X-Request-URL:/m.test(ee.getAllResponseHeaders())?ee.getResponseHeader("X-Request-URL"):null}(se)||_t.url;return ve=new ye({headers:In,status:se.status,statusText:Mn,url:li}),ve},tn=()=>{let{headers:Mn,status:In,statusText:li,url:yi}=Ye(),Bn=null;204!==In&&(Bn=typeof se.response>"u"?se.responseText:se.response),0===In&&(In=Bn?200:0);let Jn=In>=200&&In<300;if("json"===_t.responseType&&"string"==typeof Bn){const Mi=Bn;Bn=Bn.replace(vt,"");try{Bn=""!==Bn?JSON.parse(Bn):null}catch(pi){Bn=Mi,Jn&&(Jn=!1,Bn={error:pi,text:Bn})}}Jn?(Wt.next(new Ve({body:Bn,headers:Mn,status:In,statusText:li,url:yi||void 0})),Wt.complete()):Wt.error(new Oe({error:Bn,headers:Mn,status:In,statusText:li,url:yi||void 0}))},rn=Mn=>{const{url:In}=Ye(),li=new Oe({error:Mn,status:se.status||0,statusText:se.statusText||"Unknown Error",url:In||void 0});Wt.error(li)};let ln=!1;const Dn=Mn=>{ln||(Wt.next(Ye()),ln=!0);let In={type:Ge.DownloadProgress,loaded:Mn.loaded};Mn.lengthComputable&&(In.total=Mn.total),"text"===_t.responseType&&se.responseText&&(In.partialText=se.responseText),Wt.next(In)},Fn=Mn=>{let In={type:Ge.UploadProgress,loaded:Mn.loaded};Mn.lengthComputable&&(In.total=Mn.total),Wt.next(In)};return se.addEventListener("load",tn),se.addEventListener("error",rn),se.addEventListener("timeout",rn),se.addEventListener("abort",rn),_t.reportProgress&&(se.addEventListener("progress",Dn),null!==De&&se.upload&&se.upload.addEventListener("progress",Fn)),se.send(De),Wt.next({type:Ge.Sent}),()=>{se.removeEventListener("error",rn),se.removeEventListener("abort",rn),se.removeEventListener("load",tn),se.removeEventListener("timeout",rn),_t.reportProgress&&(se.removeEventListener("progress",Dn),null!==De&&se.upload&&se.upload.removeEventListener("progress",Fn)),se.readyState!==se.DONE&&se.abort()}})))}static{this.\u0275fac=function(Q){return new(Q||ee)(o.KVO(ot.N0))}}static{this.\u0275prov=o.jDH({token:ee,factory:ee.\u0275fac})}}return ee})();const X=new o.nKC("XSRF_ENABLED"),Ot=new o.nKC("XSRF_COOKIE_NAME",{providedIn:"root",factory:()=>"XSRF-TOKEN"}),Te=new o.nKC("XSRF_HEADER_NAME",{providedIn:"root",factory:()=>"X-XSRF-TOKEN"});class Ke{}let on=(()=>{class ee{constructor(_t,Q,Mt){this.doc=_t,this.platform=Q,this.cookieName=Mt,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if("server"===this.platform)return null;const _t=this.doc.cookie||"";return _t!==this.lastCookieString&&(this.parseCount++,this.lastToken=(0,ot._b)(_t,this.cookieName),this.lastCookieString=_t),this.lastToken}static{this.\u0275fac=function(Q){return new(Q||ee)(o.KVO(ot.qQ),o.KVO(o.Agw),o.KVO(Ot))}}static{this.\u0275prov=o.jDH({token:ee,factory:ee.\u0275fac})}}return ee})();function _n(ee,I){const _t=ee.url.toLowerCase();if(!(0,o.WQX)(X)||"GET"===ee.method||"HEAD"===ee.method||_t.startsWith("http://")||_t.startsWith("https://"))return I(ee);const Q=(0,o.WQX)(Ke).getToken(),Mt=(0,o.WQX)(Te);return null!=Q&&!ee.headers.has(Mt)&&(ee=ee.clone({headers:ee.headers.set(Mt,Q)})),I(ee)}var fe=function(ee){return ee[ee.Interceptors=0]="Interceptors",ee[ee.LegacyInterceptors=1]="LegacyInterceptors",ee[ee.CustomXsrfConfiguration=2]="CustomXsrfConfiguration",ee[ee.NoXsrfProtection=3]="NoXsrfProtection",ee[ee.JsonpSupport=4]="JsonpSupport",ee[ee.RequestsMadeViaParent=5]="RequestsMadeViaParent",ee[ee.Fetch=6]="Fetch",ee}(fe||{});function me(...ee){const I=[be,tt,Qt,{provide:q,useExisting:Qt},{provide:K,useExisting:tt},{provide:le,useValue:_n,multi:!0},{provide:X,useValue:!0},{provide:Ke,useClass:on}];for(const _t of ee)I.push(..._t.\u0275providers);return(0,o.EmA)(I)}function jt(ee){return function cn(ee,I){return{\u0275kind:ee,\u0275providers:I}}(fe.Interceptors,ee.map(I=>({provide:le,useValue:I,multi:!0})))}},1843:(Ce,Lt,r)=>{r.d(Lt,{$C:()=>Ji,$GK:()=>at,$K3:()=>Vf,$MX:()=>k2,AVh:()=>l4,Aen:()=>hr,Af3:()=>E1,Agw:()=>Y0,B4B:()=>F0,BIS:()=>Ih,BMQ:()=>N3,C4Q:()=>ja,C5r:()=>wf,Co$:()=>zm,DNE:()=>W3,E5c:()=>b4,EBC:()=>i8,EFF:()=>ku,EJ8:()=>Ii,EmA:()=>T2,FS9:()=>e4,FsC:()=>Lo,G2t:()=>Vt,GBs:()=>G4,GFd:()=>H8,H3F:()=>Bf,H5H:()=>w4,H8p:()=>$0,HJs:()=>Vb,HbH:()=>Du,Hbi:()=>Pb,JRh:()=>p4,JZv:()=>tt,Jv_:()=>Sm,KH2:()=>Ra,KVO:()=>Ze,Kam:()=>q3,Kcf:()=>g6,L39:()=>Ka,LHq:()=>v4,LfX:()=>Qt,Lme:()=>g4,MKu:()=>jl,Mr5:()=>xl,Mz_:()=>R1,NAR:()=>t4,NEm:()=>ud,NYb:()=>ib,Njj:()=>js,O8t:()=>he,OA$:()=>Sn,OM3:()=>y1,Ocv:()=>Ug,Ol2:()=>km,PLl:()=>T6,QTQ:()=>h8,Ql9:()=>Hg,QuC:()=>Eo,R7$:()=>K2,RV6:()=>ru,Rfq:()=>pt,RxE:()=>W6,SKi:()=>yo,SdG:()=>fu,SpI:()=>B1,TL$:()=>uh,TL3:()=>lb,Tbb:()=>K,UyX:()=>bh,VBU:()=>Bo,Vns:()=>ms,Vt3:()=>A3,WHO:()=>Qf,WPN:()=>ks,WQX:()=>Ie,XpG:()=>mu,Xx1:()=>oc,Y8G:()=>ll,YHP:()=>rn,Z63:()=>g1,ZF7:()=>ua,ZvI:()=>Bu,_9s:()=>w1,_q3:()=>Cd,aKT:()=>M1,aNF:()=>Am,abz:()=>D1,bIt:()=>J3,bMT:()=>qm,bVm:()=>ml,bc$:()=>Q0,bkB:()=>Or,brH:()=>ef,c1b:()=>X1,cWb:()=>gh,czy:()=>d1,e01:()=>Zf,e5t:()=>vh,eBV:()=>vs,eq3:()=>V4,eu8:()=>Y3,gRc:()=>pb,gXe:()=>se,giA:()=>Jf,h9k:()=>y6,hnV:()=>J1,i5U:()=>tf,iLQ:()=>dd,ii3:()=>nf,j41:()=>dl,jDH:()=>gt,jNT:()=>Z3,joV:()=>c2,k0s:()=>N1,kS0:()=>r1,kdw:()=>cc,lJ4:()=>Um,lNU:()=>te,l_i:()=>jm,lsd:()=>Cf,mGM:()=>_f,mq5:()=>L4,n$t:()=>B0,nI1:()=>Qm,nKC:()=>Ot,naY:()=>l5,npT:()=>M6,nrm:()=>G3,o8S:()=>Wa,oKB:()=>D6,osQ:()=>b6,plB:()=>X4,qSk:()=>n2,qex:()=>ul,rOR:()=>K1,rXU:()=>xa,rcV:()=>Gr,sFG:()=>$6,sMw:()=>Hm,sZ2:()=>X0,sdS:()=>cu,uvJ:()=>Yc,w6W:()=>X9,wOt:()=>$,wni:()=>xf,xGo:()=>n0,xc7:()=>gl,xe9:()=>Nl,xtB:()=>sc,yjJ:()=>n4,zZn:()=>mr,zcH:()=>ds,ziG:()=>$m,zjR:()=>su,zvX:()=>M4});var o=r(89115),y=r(52693),b=r(23135),T=r(85012),k=r(85390),G=r(73151),P=r(31161),Z=r(57588),N=r(11224);function ot(t){for(let e in t)if(t[e]===ot)return e;throw Error("Could not find renamed property on target object.")}function q(t,e){for(const n in e)e.hasOwnProperty(n)&&!t.hasOwnProperty(n)&&(t[n]=e[n])}function K(t){if("string"==typeof t)return t;if(Array.isArray(t))return"["+t.map(K).join(", ")+"]";if(null==t)return""+t;if(t.overriddenName)return`${t.overriddenName}`;if(t.name)return`${t.name}`;const e=t.toString();if(null==e)return""+e;const n=e.indexOf("\n");return-1===n?e:e.substring(0,n)}function M(t,e){return null==t||""===t?null===e?"":e:null==e||""===e?t:t+" "+e}const a=ot({__forward_ref__:ot});function pt(t){return t.__forward_ref__=pt,t.toString=function(){return K(this())},t}function j(t){return J(t)?t():t}function J(t){return"function"==typeof t&&t.hasOwnProperty(a)&&t.__forward_ref__===pt}function bt(t){return t&&!!t.\u0275providers}const te="https://g.co/ng/security#xss";class $ extends Error{constructor(e,n){super(function lt(t,e){return`NG0${Math.abs(t)}${e?": "+e:""}`}(e,n)),this.code=e}}function V(t){return"string"==typeof t?t:null==t?"":String(t)}function _e(t,e){throw new $(-201,!1)}function Yt(t,e){null==t&&function Ut(t,e,n,i){throw new Error(`ASSERTION ERROR: ${t}`+(null==i?"":` [Expected=> ${n} ${i} ${e} <=Actual]`))}(e,t,null,"!=")}function gt(t){return{token:t.token,providedIn:t.providedIn||null,factory:t.factory,value:void 0}}function Vt(t){return{providers:t.providers||[],imports:t.imports||[]}}function oe(t){return Et(t,ce)||Et(t,Ht)}function Qt(t){return null!==oe(t)}function Et(t,e){return t.hasOwnProperty(e)?t[e]:null}function Ee(t){return t&&(t.hasOwnProperty(je)||t.hasOwnProperty(ne))?t[je]:null}const ce=ot({\u0275prov:ot}),je=ot({\u0275inj:ot}),Ht=ot({ngInjectableDef:ot}),ne=ot({ngInjectorDef:ot});var at=function(t){return t[t.Default=0]="Default",t[t.Host=1]="Host",t[t.Self=2]="Self",t[t.SkipSelf=4]="SkipSelf",t[t.Optional=8]="Optional",t}(at||{});let H;function st(){return H}function zt(t){const e=H;return H=t,e}function vt(t,e,n){const i=oe(t);return i&&"root"==i.providedIn?void 0===i.value?i.value=i.factory():i.value:n&at.Optional?null:void 0!==e?e:void _e(K(t))}const tt=globalThis;class Ot{constructor(e,n){this._desc=e,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,"number"==typeof n?this.__NG_ELEMENT_ID__=n:void 0!==n&&(this.\u0275prov=gt({token:this,providedIn:n.providedIn||"root",factory:n.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}}const dt={},Rt="__NG_DI_FLAG__",ae="ngTempTokenPath",Zt=/\n/gm,U="__source";let A;function Jt(t){const e=A;return A=t,e}function Fe(t,e=at.Default){if(void 0===A)throw new $(-203,!1);return null===A?vt(t,void 0,e):A.get(t,e&at.Optional?null:void 0,e)}function Ze(t,e=at.Default){return(st()||Fe)(j(t),e)}function Ie(t,e=at.Default){return Ze(t,Nn(e))}function Nn(t){return typeof t>"u"||"number"==typeof t?t:0|(t.optional&&8)|(t.host&&1)|(t.self&&2)|(t.skipSelf&&4)}function Qn(t){const e=[];for(let n=0;ne){u=s-1;break}}}for(;ss?"":c[wt+1].toLowerCase();const ue=8&i?Xt:null;if(ue&&-1!==In(ue,O,0)||2&i&&O!==Xt){if(si(i))return!1;u=!0}}}}else{if(!u&&!si(i)&&!si(_))return!1;if(u&&si(_))continue;u=!1,i=_|1&i}}return si(i)||u}function si(t){return 0==(1&t)}function Zc(t,e,n,i){if(null===e)return-1;let c=0;if(i||!n){let s=!1;for(;c-1)for(n++;n0?'="'+p+'"':"")+"]"}else 8&i?c+="."+u:4&i&&(c+=" "+u);else""!==c&&!si(u)&&(e+=wo(s,c),c=""),i=u,s=s||!si(i);n++}return""!==c&&(e+=wo(s,c)),e}function Bo(t){return Mt(()=>{const e=Wi(t),n={...e,decls:t.decls,vars:t.vars,template:t.template,consts:t.consts||null,ngContentSelectors:t.ngContentSelectors,onPush:t.changeDetection===Wt.OnPush,directiveDefs:null,pipeDefs:null,dependencies:e.standalone&&t.dependencies||null,getStandaloneInjector:null,signals:t.signals??!1,data:t.data||{},encapsulation:t.encapsulation||se.Emulated,styles:t.styles||ve,_:null,schemas:t.schemas||null,tView:null,id:""};Do(n);const i=t.dependencies;return n.directiveDefs=Oo(i,!1),n.pipeDefs=Oo(i,!0),n.id=function qo(t){let e=0;const n=[t.selectors,t.ngContentSelectors,t.hostVars,t.hostAttrs,t.consts,t.vars,t.decls,t.encapsulation,t.standalone,t.signals,t.exportAs,JSON.stringify(t.inputs),JSON.stringify(t.outputs),Object.getOwnPropertyNames(t.type.prototype),!!t.contentQueries,!!t.viewQuery].join("|");for(const c of n)e=Math.imul(31,e)+c.charCodeAt(0)<<0;return e+=2147483648,"c"+e}(n),n})}function Ec(t){return En(t)||di(t)}function Bc(t){return null!==t}function Ji(t){return Mt(()=>({type:t.type,bootstrap:t.bootstrap||ve,declarations:t.declarations||ve,imports:t.imports||ve,exports:t.exports||ve,transitiveCompileScopes:null,schemas:t.schemas||null,id:t.id||null}))}function Uo(t,e){if(null==t)return De;const n={};for(const i in t)if(t.hasOwnProperty(i)){let c=t[i],s=c;Array.isArray(c)&&(s=c[1],c=c[0]),n[c]=i,e&&(e[c]=s)}return n}function Lo(t){return Mt(()=>{const e=Wi(t);return Do(e),e})}function Ii(t){return{type:t.type,name:t.name,factory:null,pure:!1!==t.pure,standalone:!0===t.standalone,onDestroy:t.type.prototype.ngOnDestroy||null}}function En(t){return t[Ye]||null}function di(t){return t[tn]||null}function ei(t){return t[rn]||null}function Eo(t){const e=En(t)||di(t)||ei(t);return null!==e&&e.standalone}function ci(t,e){const n=t[ln]||null;if(!n&&!0===e)throw new Error(`Type ${K(t)} does not have '\u0275mod' property.`);return n}function Wi(t){const e={};return{type:t.type,providersResolver:null,factory:null,hostBindings:t.hostBindings||null,hostVars:t.hostVars||0,hostAttrs:t.hostAttrs||null,contentQueries:t.contentQueries||null,declaredInputs:e,inputTransforms:null,inputConfig:t.inputs||De,exportAs:t.exportAs||null,standalone:!0===t.standalone,signals:!0===t.signals,selectors:t.selectors||ve,viewQuery:t.viewQuery||null,features:t.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:Uo(t.inputs,e),outputs:Uo(t.outputs)}}function Do(t){t.features?.forEach(e=>e(t))}function Oo(t,e){if(!t)return null;const n=e?ei:Ec;return()=>("function"==typeof t?t():t).map(i=>n(i)).filter(Bc)}const qn=0,We=1,Cn=2,Hn=3,Si=4,Bi=5,gi=6,So=7,Vn=8,Ni=9,jo=10,bn=11,qi=12,to=13,zi=14,$n=15,zo=16,fo=17,ho=18,Ho=19,Vi=20,Po=21,Pi=22,eo=23,tc=24,On=25,ki=1,ko=2,ui=7,Ao=9,bi=11;function mi(t){return Array.isArray(t)&&"object"==typeof t[ki]}function xi(t){return Array.isArray(t)&&!0===t[ki]}function co(t){return 0!=(4&t.flags)}function Ui(t){return t.componentOffset>-1}function To(t){return 1==(1&t.flags)}function ji(t){return!!t.template}function Wo(t){return 0!=(512&t[Cn])}function nc(t,e){return t.hasOwnProperty(Dn)?t[Dn]:null}let Li=null,kc=!1;function Hi(t){const e=Li;return Li=t,e}const Nr={version:0,dirty:!1,producerNode:void 0,producerLastReadVersion:void 0,producerIndexOfThis:void 0,nextProducerIndex:0,liveConsumerNode:void 0,liveConsumerIndexOfThis:void 0,consumerAllowSignalWrites:!1,consumerIsAlwaysLive:!1,producerMustRecompute:()=>!1,producerRecomputeValue:()=>{},consumerMarkedDirty:()=>{}};function nr(t){if(!vc(t)||t.dirty){if(!t.producerMustRecompute(t)&&!Rr(t))return void(t.dirty=!1);t.producerRecomputeValue(t),t.dirty=!1}}function ir(t){t.dirty=!0,function bc(t){if(void 0===t.liveConsumerNode)return;const e=kc;kc=!0;try{for(const n of t.liveConsumerNode)n.dirty||ir(n)}finally{kc=e}}(t),t.consumerMarkedDirty?.(t)}function br(t){return t&&(t.nextProducerIndex=0),Hi(t)}function vr(t,e){if(Hi(e),t&&void 0!==t.producerNode&&void 0!==t.producerIndexOfThis&&void 0!==t.producerLastReadVersion){if(vc(t))for(let n=t.nextProducerIndex;nt.nextProducerIndex;)t.producerNode.pop(),t.producerLastReadVersion.pop(),t.producerIndexOfThis.pop()}}function Rr(t){Tc(t);for(let e=0;e0}function Tc(t){t.producerNode??=[],t.producerIndexOfThis??=[],t.producerLastReadVersion??=[]}let Br=null;function he(t){const e=Hi(null);try{return t()}finally{Hi(e)}}const sn=()=>{},ni=(()=>({...Nr,consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!1,consumerMarkedDirty:t=>{t.schedule(t.ref)},hasRun:!1,cleanupFn:sn}))();class Un{constructor(e,n,i){this.previousValue=e,this.currentValue=n,this.firstChange=i}isFirstChange(){return this.firstChange}}function Sn(){return Zn}function Zn(t){return t.type.prototype.ngOnChanges&&(t.setInput=vi),ii}function ii(){const t=Ki(this),e=t?.current;if(e){const n=t.previous;if(n===De)t.previous=e;else for(let i in e)n[i]=e[i];t.current=null,this.ngOnChanges(e)}}function vi(t,e,n,i){const c=this.declaredInputs[n],s=Ki(t)||function go(t,e){return t[ai]=e}(t,{previous:De,current:null}),u=s.current||(s.current={}),p=s.previous,_=p[c];u[c]=new Un(_&&_.currentValue,e,p===De),t[i]=e}Sn.ngInherit=!0;const ai="__ngSimpleChanges__";function Ki(t){return t[ai]||null}const Ai=function(t,e,n){},Ci="svg";function Wn(t){for(;Array.isArray(t);)t=t[qn];return t}function Go(t,e){return Wn(e[t])}function D(t,e){return Wn(e[t.index])}function ct(t,e){return t.data[e]}function ut(t,e){return t[e]}function St(t,e){const n=e[t];return mi(n)?n:n[qn]}function an(t,e){return null==e?null:t[e]}function nn(t){t[fo]=0}function vn(t){1024&t[Cn]||(t[Cn]|=1024,Kn(t,1))}function kn(t){1024&t[Cn]&&(t[Cn]&=-1025,Kn(t,-1))}function Kn(t,e){let n=t[Hn];if(null===n)return;n[Bi]+=e;let i=n;for(n=n[Hn];null!==n&&(1===e&&1===i[Bi]||-1===e&&0===i[Bi]);)n[Bi]+=e,i=n,n=n[Hn]}function Xi(t,e){if(256==(256&t[Cn]))throw new $(911,!1);null===t[Po]&&(t[Po]=[]),t[Po].push(e)}const pn={lFrame:rr(null),bindingsEnabled:!0,skipHydrationRootTNode:null};function xc(){return pn.bindingsEnabled}function cr(){return null!==pn.skipHydrationRootTNode}function Re(){return pn.lFrame.lView}function Gn(){return pn.lFrame.tView}function vs(t){return pn.lFrame.contextLView=t,t[Vn]}function js(t){return pn.lFrame.contextLView=null,t}function Yi(){let t=_s();for(;null!==t&&64===t.type;)t=t.parent;return t}function _s(){return pn.lFrame.currentTNode}function Cc(t,e){const n=pn.lFrame;n.currentTNode=t,n.isParent=e}function ic(){return pn.lFrame.isParent}function Hr(){pn.lFrame.isParent=!1}function vo(){const t=pn.lFrame;let e=t.bindingRootIndex;return-1===e&&(e=t.bindingRootIndex=t.tView.bindingStartIndex),e}function Wc(){return pn.lFrame.bindingIndex}function g(){return pn.lFrame.bindingIndex++}function x(t){const e=pn.lFrame,n=e.bindingIndex;return e.bindingIndex=e.bindingIndex+t,n}function z(t,e){const n=pn.lFrame;n.bindingIndex=n.bindingRootIndex=t,It(e)}function It(t){pn.lFrame.currentDirectiveIndex=t}function ge(t){const e=pn.lFrame.currentDirectiveIndex;return-1===e?null:t[e]}function pe(){return pn.lFrame.currentQueryIndex}function Je(t){pn.lFrame.currentQueryIndex=t}function An(t){const e=t[We];return 2===e.type?e.declTNode:1===e.type?t[gi]:null}function _i(t,e,n){if(n&at.SkipSelf){let c=e,s=t;for(;!(c=c.parent,null!==c||n&at.Host||(c=An(s),null===c||(s=s[zi],10&c.type))););if(null===c)return!1;e=c,t=s}const i=pn.lFrame=yc();return i.currentTNode=e,i.lView=t,!0}function Xn(t){const e=yc(),n=t[We];pn.lFrame=e,e.currentTNode=n.firstChild,e.lView=t,e.tView=n,e.contextLView=t,e.bindingIndex=n.bindingStartIndex,e.inI18n=!1}function yc(){const t=pn.lFrame,e=null===t?null:t.child;return null===e?rr(t):e}function rr(t){const e={currentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:-1,contextLView:null,elementDepthCount:0,currentNamespace:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:t,child:null,inI18n:!1};return null!==t&&(t.child=e),e}function Kc(){const t=pn.lFrame;return pn.lFrame=t.parent,t.currentTNode=null,t.lView=null,t}const Gc=Kc;function sr(){const t=Kc();t.isParent=!0,t.tView=null,t.selectedIndex=-1,t.contextLView=null,t.elementDepthCount=0,t.currentDirectiveIndex=-1,t.currentNamespace=null,t.bindingRootIndex=-1,t.bindingIndex=-1,t.currentQueryIndex=0}function Io(){return pn.lFrame.selectedIndex}function yr(t){pn.lFrame.selectedIndex=t}function Ei(){const t=pn.lFrame;return ct(t.tView,t.selectedIndex)}function n2(){pn.lFrame.currentNamespace=Ci}function c2(){!function Kl(){pn.lFrame.currentNamespace=null}()}let r2=!0;function es(){return r2}function Mr(t){r2=t}function $s(t,e){for(let n=e.directiveStart,i=e.directiveEnd;n=i)break}else e[_]<0&&(t[fo]+=65536),(p>13>16&&(3&t[Cn])===e&&(t[Cn]+=8192,Ks(p,s)):Ks(p,s)}const wr=-1;class ys{constructor(e,n,i){this.factory=e,this.resolving=!1,this.canSeeViewProviders=n,this.injectImpl=i}}function Ys(t){return t!==wr}function _o(t){return 32767&t}function Ms(t,e){let n=function is(t){return t>>16}(t),i=e;for(;n>0;)i=i[zi],n--;return i}let Ja=!0;function ws(t){const e=Ja;return Ja=t,e}const qa=255,os=5;let Jl=0;const Xc={};function Qs(t,e){const n=Ls(t,e);if(-1!==n)return n;const i=e[We];i.firstCreatePass&&(t.injectorIndex=e.length,Zs(i.data,t),Zs(e,null),Zs(i.blueprint,null));const c=Js(t,e),s=t.injectorIndex;if(Ys(c)){const u=_o(c),p=Ms(c,e),_=p[We].data;for(let O=0;O<8;O++)e[s+O]=p[u+O]|_[u+O]}return e[s+8]=c,s}function Zs(t,e){t.push(0,0,0,0,0,0,0,0,e)}function Ls(t,e){return-1===t.injectorIndex||t.parent&&t.parent.injectorIndex===t.injectorIndex||null===e[t.injectorIndex+8]?-1:t.injectorIndex}function Js(t,e){if(t.parent&&-1!==t.parent.injectorIndex)return t.parent.injectorIndex;let n=0,i=null,c=e;for(;null!==c;){if(i=o0(c),null===i)return wr;if(n++,c=c[zi],-1!==i.injectorIndex)return i.injectorIndex|n<<16}return wr}function e1(t,e,n){!function t1(t,e,n){let i;"string"==typeof n?i=n.charCodeAt(0)||0:n.hasOwnProperty(Fn)&&(i=n[Fn]),null==i&&(i=n[Fn]=Jl++);const c=i&qa;e.data[t+(c>>os)]|=1<=0?e&qa:e0:e}(n);if("function"==typeof s){if(!_i(e,t,i))return i&at.Host?qs(c,0,i):Es(e,n,i,c);try{let u;if(u=s(i),null!=u||i&at.Optional)return u;_e()}finally{Gc()}}else if("number"==typeof s){let u=null,p=Ls(t,e),_=wr,O=i&at.Host?e[$n][gi]:null;for((-1===p||i&at.SkipSelf)&&(_=-1===p?Js(t,e):e[p+8],_!==wr&&c1(i,!1)?(u=e[We],p=_o(_),e=Ms(_,e)):p=-1);-1!==p;){const Y=e[We];if(d2(s,p,Y.data)){const wt=l2(p,e,n,u,i,O);if(wt!==Xc)return wt}_=e[p+8],_!==wr&&c1(i,e[We].data[p+8]===O)&&d2(s,p,e)?(u=Y,p=_o(_),e=Ms(_,e)):p=-1}}return c}function l2(t,e,n,i,c,s){const u=e[We],p=u.data[t+8],Y=ta(p,u,n,null==i?Ui(p)&&Ja:i!=u&&0!=(3&p.type),c&at.Host&&s===p);return null!==Y?Lr(e,u,Y,p):Xc}function ta(t,e,n,i,c){const s=t.providerIndexes,u=e.data,p=1048575&s,_=t.directiveStart,Y=s>>20,Xt=c?p+Y:t.directiveEnd;for(let ue=i?p:p+Y;ue=_&&Se.type===n)return ue}if(c){const ue=u[_];if(ue&&ji(ue)&&ue.type===n)return _}return null}function Lr(t,e,n,i){let c=t[n];const s=e.data;if(function s2(t){return t instanceof ys}(c)){const u=c;u.resolving&&function rt(t,e){const n=e?`. Dependency path: ${e.join(" > ")} > ${t}`:"";throw new $(-200,`Circular dependency in DI detected for ${t}${n}`)}(function mt(t){return"function"==typeof t?t.name||t.toString():"object"==typeof t&&null!=t&&"function"==typeof t.type?t.type.name||t.type.toString():V(t)}(s[n]));const p=ws(u.canSeeViewProviders);u.resolving=!0;const O=u.injectImpl?zt(u.injectImpl):null;_i(t,i,at.Default);try{c=t[n]=u.factory(void 0,s,t,i),e.firstCreatePass&&n>=i.directiveStart&&function Gl(t,e,n){const{ngOnChanges:i,ngOnInit:c,ngDoCheck:s}=e.type.prototype;if(i){const u=Zn(e);(n.preOrderHooks??=[]).push(t,u),(n.preOrderCheckHooks??=[]).push(t,u)}c&&(n.preOrderHooks??=[]).push(0-t,c),s&&((n.preOrderHooks??=[]).push(t,s),(n.preOrderCheckHooks??=[]).push(t,s))}(n,s[n],e)}finally{null!==O&&zt(O),ws(p),u.resolving=!1,Gc()}}return c}function d2(t,e,n){return!!(n[e+(t>>os)]&1<{const e=t.prototype.constructor,n=e[Dn]||ea(e),i=Object.prototype;let c=Object.getPrototypeOf(t.prototype).constructor;for(;c&&c!==i;){const s=c[Dn]||ea(c);if(s&&s!==n)return s;c=Object.getPrototypeOf(c)}return s=>new s})}function ea(t){return J(t)?()=>{const e=ea(j(t));return e&&e()}:nc(t)}function o0(t){const e=t[We],n=e.type;return 2===n?e.declTNode:1===n?t[gi]:null}function r1(t){return function ql(t,e){if("class"===e)return t.classes;if("style"===e)return t.styles;const n=t.attrs;if(n){const i=n.length;let c=0;for(;c{const i=function s1(t){return function(...n){if(t){const i=t(...n);for(const c in i)this[c]=i[c]}}}(e);function c(...s){if(this instanceof c)return i.apply(this,s),this;const u=new c(...s);return p.annotation=u,p;function p(_,O,Y){const wt=_.hasOwnProperty(rs)?_[rs]:Object.defineProperty(_,rs,{value:[]})[rs];for(;wt.length<=Y;)wt.push(null);return(wt[Y]=wt[Y]||[]).push(u),_}}return n&&(c.prototype=Object.create(n.prototype)),c.prototype.ngMetadataName=t,c.annotationCls=c,c})}function l(t,e){t.forEach(n=>Array.isArray(n)?l(n,e):e(n))}function m(t,e,n){e>=t.length?t.push(n):t.splice(e,0,n)}function L(t,e){return e>=t.length-1?t.pop():t.splice(e,1)[0]}function R(t,e){const n=[];for(let i=0;i=0?t[1|i]=n:(i=~i,function Ft(t,e,n,i){let c=t.length;if(c==e)t.push(n,i);else if(1===c)t.push(i,t[0]),t[0]=n;else{for(c--,t.push(t[c-1],t[c]);c>e;)t[c]=t[c-2],c--;t[e]=n,t[e+1]=i}}(t,i,e,n)),i}function $e(t,e){const n=mn(t,e);if(n>=0)return t[1|n]}function mn(t,e){return function dn(t,e,n){let i=0,c=t.length>>n;for(;c!==i;){const s=i+(c-i>>1),u=t[s<e?c=s:i=s+1}return~(c<|^->||--!>|)/g,U5="\u200b$1\u200b";const p0=new Map;let Vd=0;function Ud(t){return p0.get(t)||null}class W5{get lView(){return Ud(this.lViewId)}constructor(e,n,i){this.lViewId=e,this.nodeIndex=n,this.native=i}}function sc(t){let e=ra(t);if(e){if(mi(e)){const n=e;let i,c,s;if($d(t)){if(i=function y2(t,e){const n=t[We].components;if(n)for(let i=0;i=0){const p=Wn(s[u]),_=g0(s,u,p);Qo(p,_),e=_;break}}}}return e||null}function g0(t,e,n){return new W5(t[Ho],e,n)}const C2="__ngContext__";function Qo(t,e){mi(e)?(t[C2]=e[Ho],function H5(t){p0.set(t[Ho],t)}(e)):t[C2]=e}function ra(t){const e=t[C2];return"number"==typeof e?Ud(e):e||null}function $d(t){return t&&t.constructor&&t.constructor.\u0275cmp}function b0(t,e){const n=t[We];for(let i=On;ie.replace(Fd,U5))}(e))}function L2(t,e,n){return t.createElement(e,n)}function qd(t,e){const n=t[Ao],i=n.indexOf(e);kn(e),n.splice(i,1)}function E2(t,e){if(t.length<=bi)return;const n=bi+e,i=t[n];if(i){const c=i[zo];null!==c&&c!==t&&qd(c,i),e>0&&(t[n-1][Si]=i[Si]);const s=L(t,bi+e);!function q5(t,e){p1(t,e,e[bn],2,null,null),e[qn]=null,e[gi]=null}(i[We],i);const u=s[ho];null!==u&&u.detachView(s[We]),i[Hn]=null,i[Si]=null,i[Cn]&=-129}return i}function _0(t,e){if(!(256&e[Cn])){const n=e[bn];e[eo]&&Ac(e[eo]),e[tc]&&Ac(e[tc]),n.destroyNode&&p1(t,e,n,3,null,null),function eh(t){let e=t[qi];if(!e)return x0(t[We],t);for(;e;){let n=null;if(mi(e))n=e[qi];else{const i=e[bi];i&&(n=i)}if(!n){for(;e&&!e[Si]&&e!==t;)mi(e)&&x0(e[We],e),e=e[Hn];null===e&&(e=t),mi(e)&&x0(e[We],e),n=e&&e[Si]}e=n}}(e)}}function x0(t,e){if(!(256&e[Cn])){e[Cn]&=-129,e[Cn]|=256,function oh(t,e){let n;if(null!=t&&null!=(n=t.destroyHooks))for(let i=0;i=0?i[u]():i[-u].unsubscribe(),s+=2}else n[s].call(i[n[s+1]]);null!==i&&(e[So]=null);const c=e[Po];if(null!==c){e[Po]=null;for(let s=0;s-1){const{encapsulation:s}=t.data[i.directiveStart+c];if(s===se.None||s===se.Emulated)return null}return D(i,n)}}(t,e.parent,n)}function zs(t,e,n,i,c){t.insertBefore(e,n,i,c)}function M0(t,e,n){t.appendChild(e,n)}function t6(t,e,n,i,c){null!==i?zs(t,e,n,i,c):M0(t,e,n)}function D2(t,e){return t.parentNode(e)}function i6(t,e,n){return o6(t,e,n)}let L0,S2,la,z2,o6=function w0(t,e,n){return 40&t.type?D(t,n):null};function f1(t,e,n,i){const c=C0(t,i,e),s=e[bn],p=i6(i.parent||e[gi],i,e);if(null!=c)if(Array.isArray(n))for(let _=0;_t,createScript:t=>t,createScriptURL:t=>t})}catch{}return S2}()?.createHTML(t)||t}function uh(t){la=t}function da(){if(void 0!==la)return la;if(typeof document<"u")return document;throw new $(210,!1)}function P2(){if(void 0===z2&&(z2=null,tt.trustedTypes))try{z2=tt.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:t=>t,createScript:t=>t,createScriptURL:t=>t})}catch{}return z2}function u6(t){return P2()?.createHTML(t)||t}function f6(t){return P2()?.createScriptURL(t)||t}class Ps{constructor(e){this.changingThisBreaksApplicationSecurity=e}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${te})`}}class mh extends Ps{getTypeName(){return"HTML"}}class h6 extends Ps{getTypeName(){return"Style"}}class fh extends Ps{getTypeName(){return"Script"}}class hh extends Ps{getTypeName(){return"URL"}}class p6 extends Ps{getTypeName(){return"ResourceURL"}}function Gr(t){return t instanceof Ps?t.changingThisBreaksApplicationSecurity:t}function ua(t,e){const n=function ph(t){return t instanceof Ps&&t.getTypeName()||null}(t);if(null!=n&&n!==e){if("ResourceURL"===n&&"URL"===e)return!0;throw new Error(`Required a safe ${e}, got a ${n} (see ${te})`)}return n===e}function g6(t){return new mh(t)}function gh(t){return new h6(t)}function bh(t){return new fh(t)}function b6(t){return new hh(t)}function vh(t){return new p6(t)}class _h{constructor(e){this.inertDocumentHelper=e}getInertBodyElement(e){e=""+e;try{const n=(new window.DOMParser).parseFromString(aa(e),"text/html").body;return null===n?this.inertDocumentHelper.getInertBodyElement(e):(n.removeChild(n.firstChild),n)}catch{return null}}}class z0{constructor(e){this.defaultDoc=e,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(e){const n=this.inertDocument.createElement("template");return n.innerHTML=aa(e),n}}const Ch=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function k2(t){return(t=String(t)).match(Ch)?t:"unsafe:"+t}function ur(t){const e={};for(const n of t.split(","))e[n]=!0;return e}function ma(...t){const e={};for(const n of t)for(const i in n)n.hasOwnProperty(i)&&(e[i]=!0);return e}const P0=ur("area,br,col,hr,img,wbr"),_6=ur("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),k0=ur("rp,rt"),A0=ma(P0,ma(_6,ur("address,article,aside,blockquote,caption,center,del,details,dialog,dir,div,dl,figure,figcaption,footer,h1,h2,h3,h4,h5,h6,header,hgroup,hr,ins,main,map,menu,nav,ol,pre,section,summary,table,ul")),ma(k0,ur("a,abbr,acronym,audio,b,bdi,bdo,big,br,cite,code,del,dfn,em,font,i,img,ins,kbd,label,map,mark,picture,q,ruby,rp,rt,s,samp,small,source,span,strike,strong,sub,sup,time,track,tt,u,var,video")),ma(k0,_6)),T0=ur("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),I0=ma(T0,ur("abbr,accesskey,align,alt,autoplay,axis,bgcolor,border,cellpadding,cellspacing,class,clear,color,cols,colspan,compact,controls,coords,datetime,default,dir,download,face,headers,height,hidden,hreflang,hspace,ismap,itemscope,itemprop,kind,label,lang,language,loop,media,muted,nohref,nowrap,open,preload,rel,rev,role,rows,rowspan,rules,scope,scrolling,shape,size,sizes,span,srclang,srcset,start,summary,tabindex,target,title,translate,type,usemap,valign,value,vspace,width"),ur("aria-activedescendant,aria-atomic,aria-autocomplete,aria-busy,aria-checked,aria-colcount,aria-colindex,aria-colspan,aria-controls,aria-current,aria-describedby,aria-details,aria-disabled,aria-dropeffect,aria-errormessage,aria-expanded,aria-flowto,aria-grabbed,aria-haspopup,aria-hidden,aria-invalid,aria-keyshortcuts,aria-label,aria-labelledby,aria-level,aria-live,aria-modal,aria-multiline,aria-multiselectable,aria-orientation,aria-owns,aria-placeholder,aria-posinset,aria-pressed,aria-readonly,aria-relevant,aria-required,aria-roledescription,aria-rowcount,aria-rowindex,aria-rowspan,aria-selected,aria-setsize,aria-sort,aria-valuemax,aria-valuemin,aria-valuenow,aria-valuetext")),yh=ur("script,style,template");class Mh{constructor(){this.sanitizedSomething=!1,this.buf=[]}sanitizeChildren(e){let n=e.firstChild,i=!0;for(;n;)if(n.nodeType===Node.ELEMENT_NODE?i=this.startElement(n):n.nodeType===Node.TEXT_NODE?this.chars(n.nodeValue):this.sanitizedSomething=!0,i&&n.firstChild)n=n.firstChild;else for(;n;){n.nodeType===Node.ELEMENT_NODE&&this.endElement(n);let c=this.checkClobberedElement(n,n.nextSibling);if(c){n=c;break}n=this.checkClobberedElement(n,n.parentNode)}return this.buf.join("")}startElement(e){const n=e.nodeName.toLowerCase();if(!A0.hasOwnProperty(n))return this.sanitizedSomething=!0,!yh.hasOwnProperty(n);this.buf.push("<"),this.buf.push(n);const i=e.attributes;for(let c=0;c"),!0}endElement(e){const n=e.nodeName.toLowerCase();A0.hasOwnProperty(n)&&!P0.hasOwnProperty(n)&&(this.buf.push(""))}chars(e){this.buf.push(C6(e))}checkClobberedElement(e,n){if(n&&(e.compareDocumentPosition(n)&Node.DOCUMENT_POSITION_CONTAINED_BY)===Node.DOCUMENT_POSITION_CONTAINED_BY)throw new Error(`Failed to sanitize html because the element is clobbered: ${e.outerHTML}`);return n}}const wh=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,x6=/([^\#-~ |!])/g;function C6(t){return t.replace(/&/g,"&").replace(wh,function(e){return"&#"+(1024*(e.charCodeAt(0)-55296)+(e.charCodeAt(1)-56320)+65536)+";"}).replace(x6,function(e){return"&#"+e.charCodeAt(0)+";"}).replace(//g,">")}let A2;function y6(t,e){let n=null;try{A2=A2||function v6(t){const e=new z0(t);return function xh(){try{return!!(new window.DOMParser).parseFromString(aa(""),"text/html")}catch{return!1}}()?new _h(e):e}(t);let i=e?String(e):"";n=A2.getInertBodyElement(i);let c=5,s=i;do{if(0===c)throw new Error("Failed to sanitize html because the input is unstable");c--,i=s,s=n.innerHTML,n=A2.getInertBodyElement(i)}while(i!==s);return aa((new Mh).sanitizeChildren(N0(n)||n))}finally{if(n){const i=N0(n)||n;for(;i.firstChild;)i.removeChild(i.firstChild)}}}function N0(t){return"content"in t&&function R0(t){return t.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===t.nodeName}(t)?t.content:null}var ks=function(t){return t[t.NONE=0]="NONE",t[t.HTML=1]="HTML",t[t.STYLE=2]="STYLE",t[t.SCRIPT=3]="SCRIPT",t[t.URL=4]="URL",t[t.RESOURCE_URL=5]="RESOURCE_URL",t}(ks||{});function M6(t){const e=fa();return e?u6(e.sanitize(ks.HTML,t)||""):ua(t,"HTML")?u6(Gr(t)):y6(da(),V(t))}function F0(t){const e=fa();return e?e.sanitize(ks.URL,t)||"":ua(t,"URL")?Gr(t):k2(V(t))}function w6(t){const e=fa();if(e)return f6(e.sanitize(ks.RESOURCE_URL,t)||"");if(ua(t,"ResourceURL"))return f6(Gr(t));throw new $(904,!1)}function B0(t,e,n){return function Oh(t,e){return"src"===e&&("embed"===t||"frame"===t||"iframe"===t||"media"===t||"script"===t)||"href"===e&&("base"===t||"link"===t)?w6:F0}(e,n)(t)}function fa(){const t=Re();return t&&t[jo].sanitizer}const g1=new Ot("ENVIRONMENT_INITIALIZER"),V0=new Ot("INJECTOR",-1),E6=new Ot("INJECTOR_DEF_TYPES");class U0{get(e,n=dt){if(n===dt){const i=new Error(`NullInjectorError: No provider for ${K(e)}!`);throw i.name="NullInjectorError",i}return n}}function T2(t){return{\u0275providers:t}}function D6(...t){return{\u0275providers:I2(0,t),\u0275fromNgModule:!0}}function I2(t,...e){const n=[],i=new Set;let c;const s=u=>{n.push(u)};return l(e,u=>{const p=u;b1(p,s,[],i)&&(c||=[],c.push(p))}),void 0!==c&&O6(c,s),n}function O6(t,e){for(let n=0;n{e(s,i)})}}function b1(t,e,n,i){if(!(t=j(t)))return!1;let c=null,s=Ee(t);const u=!s&&En(t);if(s||u){if(u&&!u.standalone)return!1;c=t}else{const _=t.ngModule;if(s=Ee(_),!s)return!1;c=_}const p=i.has(c);if(u){if(p)return!1;if(i.add(c),u.dependencies){const _="function"==typeof u.dependencies?u.dependencies():u.dependencies;for(const O of _)b1(O,e,n,i)}}else{if(!s)return!1;{if(null!=s.imports&&!p){let O;i.add(c);try{l(s.imports,Y=>{b1(Y,e,n,i)&&(O||=[],O.push(Y))})}finally{}void 0!==O&&O6(O,e)}if(!p){const O=nc(c)||(()=>new c);e({provide:c,useFactory:O,deps:ve},c),e({provide:E6,useValue:c,multi:!0},c),e({provide:g1,useValue:()=>Ze(c),multi:!0},c)}const _=s.providers;if(null!=_&&!p){const O=t;j0(_,Y=>{e(Y,O)})}}}return c!==t&&void 0!==t.providers}function j0(t,e){for(let n of t)bt(n)&&(n=n.\u0275providers),Array.isArray(n)?j0(n,e):e(n)}const Sh=ot({provide:String,useValue:ot});function H0(t){return null!==t&&"object"==typeof t&&Sh in t}function As(t){return"function"==typeof t}const $0=new Ot("Set Injector scope."),R2={},zh={};let W0;function F2(){return void 0===W0&&(W0=new U0),W0}class Yc{}class ha extends Yc{get destroyed(){return this._destroyed}constructor(e,n,i,c){super(),this.parent=n,this.source=i,this.scopes=c,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,G0(e,u=>this.processProvider(u)),this.records.set(V0,Ts(void 0,this)),c.has("environment")&&this.records.set(Yc,Ts(void 0,this));const s=this.records.get($0);null!=s&&"string"==typeof s.value&&this.scopes.add(s.value),this.injectorDefTypes=new Set(this.get(E6.multi,ve,at.Self))}destroy(){this.assertNotDestroyed(),this._destroyed=!0;try{for(const n of this._ngOnDestroyHooks)n.ngOnDestroy();const e=this._onDestroyHooks;this._onDestroyHooks=[];for(const n of e)n()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear()}}onDestroy(e){return this.assertNotDestroyed(),this._onDestroyHooks.push(e),()=>this.removeOnDestroy(e)}runInContext(e){this.assertNotDestroyed();const n=Jt(this),i=zt(void 0);try{return e()}finally{Jt(n),zt(i)}}get(e,n=dt,i=at.Default){if(this.assertNotDestroyed(),e.hasOwnProperty(Mn))return e[Mn](this);i=Nn(i);const s=Jt(this),u=zt(void 0);try{if(!(i&at.SkipSelf)){let _=this.records.get(e);if(void 0===_){const O=function A6(t){return"function"==typeof t||"object"==typeof t&&t instanceof Ot}(e)&&oe(e);_=O&&this.injectableDefInScope(O)?Ts(K0(e),R2):null,this.records.set(e,_)}if(null!=_)return this.hydrate(e,_)}return(i&at.Self?F2():this.parent).get(e,n=i&at.Optional&&n===dt?null:n)}catch(p){if("NullInjectorError"===p.name){if((p[ae]=p[ae]||[]).unshift(K(e)),s)throw p;return function _t(t,e,n,i){const c=t[ae];throw e[U]&&c.unshift(e[U]),t.message=function Q(t,e,n,i=null){t=t&&"\n"===t.charAt(0)&&"\u0275"==t.charAt(1)?t.slice(2):t;let c=K(e);if(Array.isArray(e))c=e.map(K).join(" -> ");else if("object"==typeof e){let s=[];for(let u in e)if(e.hasOwnProperty(u)){let p=e[u];s.push(u+":"+("string"==typeof p?JSON.stringify(p):K(p)))}c=`{${s.join(", ")}}`}return`${n}${i?"("+i+")":""}[${c}]: ${t.replace(Zt,"\n ")}`}("\n"+t.message,c,n,i),t.ngTokenPath=c,t[ae]=null,t}(p,e,"R3InjectorError",this.source)}throw p}finally{zt(u),Jt(s)}}resolveInjectorInitializers(){const e=Jt(this),n=zt(void 0);try{const c=this.get(g1.multi,ve,at.Self);for(const s of c)s()}finally{Jt(e),zt(n)}}toString(){const e=[],n=this.records;for(const i of n.keys())e.push(K(i));return`R3Injector[${e.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new $(205,!1)}processProvider(e){let n=As(e=j(e))?e:j(e&&e.provide);const i=function Ph(t){return H0(t)?Ts(void 0,t.useValue):Ts(k6(t),R2)}(e);if(As(e)||!0!==e.multi)this.records.get(n);else{let c=this.records.get(n);c||(c=Ts(void 0,R2,!0),c.factory=()=>Qn(c.multi),this.records.set(n,c)),n=e,c.multi.push(e)}this.records.set(n,i)}hydrate(e,n){return n.value===R2&&(n.value=zh,n.value=n.factory()),"object"==typeof n.value&&n.value&&function Ah(t){return null!==t&&"object"==typeof t&&"function"==typeof t.ngOnDestroy}(n.value)&&this._ngOnDestroyHooks.add(n.value),n.value}injectableDefInScope(e){if(!e.providedIn)return!1;const n=j(e.providedIn);return"string"==typeof n?"any"===n||this.scopes.has(n):this.injectorDefTypes.has(n)}removeOnDestroy(e){const n=this._onDestroyHooks.indexOf(e);-1!==n&&this._onDestroyHooks.splice(n,1)}}function K0(t){const e=oe(t),n=null!==e?e.factory:nc(t);if(null!==n)return n;if(t instanceof Ot)throw new $(204,!1);if(t instanceof Function)return function P6(t){const e=t.length;if(e>0)throw R(e,"?"),new $(204,!1);const n=function re(t){return t&&(t[ce]||t[Ht])||null}(t);return null!==n?()=>n.factory(t):()=>new t}(t);throw new $(204,!1)}function k6(t,e,n){let i;if(As(t)){const c=j(t);return nc(c)||K0(c)}if(H0(t))i=()=>j(t.useValue);else if(function z6(t){return!(!t||!t.useFactory)}(t))i=()=>t.useFactory(...Qn(t.deps||[]));else if(function S6(t){return!(!t||!t.useExisting)}(t))i=()=>Ze(j(t.useExisting));else{const c=j(t&&(t.useClass||t.provide));if(!function kh(t){return!!t.deps}(t))return nc(c)||K0(c);i=()=>new c(...Qn(t.deps))}return i}function Ts(t,e,n=!1){return{factory:t,value:e,multi:n?[]:void 0}}function G0(t,e){for(const n of t)Array.isArray(n)?G0(n,e):n&&bt(n)?G0(n.\u0275providers,e):e(n)}const X0=new Ot("AppId",{providedIn:"root",factory:()=>Th}),Th="ng",T6=new Ot("Platform Initializer"),Y0=new Ot("Platform ID",{providedIn:"platform",factory:()=>"unknown"}),Q0=new Ot("AnimationModuleType"),Ih=new Ot("CSP nonce",{providedIn:"root",factory:()=>da().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});let N6=(t,e,n)=>null;function i3(t,e,n=!1){return N6(t,e,n)}class jh{}class V6{}class $h{resolveComponentFactory(e){throw function U6(t){const e=Error(`No component factory found for ${K(t)}.`);return e.ngComponent=t,e}(e)}}let y1=(()=>{class t{static{this.NULL=new $h}}return t})();function H6(){return ba(Yi(),Re())}function ba(t,e){return new M1(D(t,e))}let M1=(()=>{class t{constructor(n){this.nativeElement=n}static{this.__NG_ELEMENT_ID__=H6}}return t})();function Wh(t){return t instanceof M1?t.nativeElement:t}class w1{}let $6=(()=>{class t{constructor(){this.destroyNode=null}static{this.__NG_ELEMENT_ID__=()=>function Kh(){const t=Re(),n=St(Yi().index,t);return(mi(n)?n:t)[bn]}()}}return t})(),Gh=(()=>{class t{static{this.\u0275prov=gt({token:t,providedIn:"root",factory:()=>null})}}return t})();class W6{constructor(e){this.full=e,this.major=e.split(".")[0],this.minor=e.split(".")[1],this.patch=e.split(".").slice(2).join(".")}}const Xh=new W6("16.2.12"),L1={};function E1(t){if(!st()&&!function xt(){return A}())throw new $(-203,!1)}function c3(t,e=null,n=null,i){const c=Q6(t,e,n,i);return c.resolveInjectorInitializers(),c}function Q6(t,e=null,n=null,i,c=new Set){const s=[n||ve,D6(t)];return i=i||("object"==typeof t?void 0:K(t)),new ha(s,e||F2(),i||null,c)}let mr=(()=>{class t{static{this.THROW_IF_NOT_FOUND=dt}static{this.NULL=new U0}static create(n,i){if(Array.isArray(n))return c3({name:""},i,n,"");{const c=n.name??"";return c3({name:c},n.parent,n.providers,c)}}static{this.\u0275prov=gt({token:t,providedIn:"any",factory:()=>Ze(V0)})}static{this.__NG_ELEMENT_ID__=-1}}return t})();function s3(t){return t.ngOriginalError}class ds{constructor(){this._console=console}handleError(e){const n=this._findOriginalError(e);this._console.error("ERROR",e),n&&this._console.error("ORIGINAL ERROR",n)}_findOriginalError(e){let n=e&&s3(e);for(;n&&s3(n);)n=s3(n);return n||null}}let D1=(()=>{class t{static{this.__NG_ELEMENT_ID__=e7}static{this.__NG_ENV_ID__=n=>n}}return t})();class t7 extends D1{constructor(e){super(),this._lView=e}onDestroy(e){return Xi(this._lView,e),()=>function _c(t,e){if(null===t[Po])return;const n=t[Po].indexOf(e);-1!==n&&t[Po].splice(n,1)}(this._lView,e)}}function e7(){return new t7(Re())}function a3(t){return e=>{setTimeout(t,void 0,e)}}const Or=class n7 extends o.B{constructor(e=!1){super(),this.__isAsync=e}emit(e){super.next(e)}subscribe(e,n,i){let c=e,s=n||(()=>null),u=i;if(e&&"object"==typeof e){const _=e;c=_.next?.bind(_),s=_.error?.bind(_),u=_.complete?.bind(_)}this.__isAsync&&(s=a3(s),c&&(c=a3(c)),u&&(u=a3(u)));const p=super.subscribe({next:c,error:s,complete:u});return e instanceof y.yU&&e.add(p),p}};function l3(...t){}class yo{constructor({enableLongStackTrace:e=!1,shouldCoalesceEventChangeDetection:n=!1,shouldCoalesceRunChangeDetection:i=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new Or(!1),this.onMicrotaskEmpty=new Or(!1),this.onStable=new Or(!1),this.onError=new Or(!1),typeof Zone>"u")throw new $(908,!1);Zone.assertZonePatched();const c=this;c._nesting=0,c._outer=c._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(c._inner=c._inner.fork(new Zone.TaskTrackingZoneSpec)),e&&Zone.longStackTraceZoneSpec&&(c._inner=c._inner.fork(Zone.longStackTraceZoneSpec)),c.shouldCoalesceEventChangeDetection=!i&&n,c.shouldCoalesceRunChangeDetection=i,c.lastRequestAnimationFrameId=-1,c.nativeRequestAnimationFrame=function i7(){const t="function"==typeof tt.requestAnimationFrame;let e=tt[t?"requestAnimationFrame":"setTimeout"],n=tt[t?"cancelAnimationFrame":"clearTimeout"];if(typeof Zone<"u"&&e&&n){const i=e[Zone.__symbol__("OriginalDelegate")];i&&(e=i);const c=n[Zone.__symbol__("OriginalDelegate")];c&&(n=c)}return{nativeRequestAnimationFrame:e,nativeCancelAnimationFrame:n}}().nativeRequestAnimationFrame,function o7(t){const e=()=>{!function J6(t){t.isCheckStableRunning||-1!==t.lastRequestAnimationFrameId||(t.lastRequestAnimationFrameId=t.nativeRequestAnimationFrame.call(tt,()=>{t.fakeTopEventTask||(t.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{t.lastRequestAnimationFrameId=-1,u3(t),t.isCheckStableRunning=!0,d3(t),t.isCheckStableRunning=!1},void 0,()=>{},()=>{})),t.fakeTopEventTask.invoke()}),u3(t))}(t)};t._inner=t._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(n,i,c,s,u,p)=>{if(function c7(t){return!(!Array.isArray(t)||1!==t.length)&&!0===t[0].data?.__ignore_ng_zone__}(p))return n.invokeTask(c,s,u,p);try{return q6(t),n.invokeTask(c,s,u,p)}finally{(t.shouldCoalesceEventChangeDetection&&"eventTask"===s.type||t.shouldCoalesceRunChangeDetection)&&e(),t8(t)}},onInvoke:(n,i,c,s,u,p,_)=>{try{return q6(t),n.invoke(c,s,u,p,_)}finally{t.shouldCoalesceRunChangeDetection&&e(),t8(t)}},onHasTask:(n,i,c,s)=>{n.hasTask(c,s),i===c&&("microTask"==s.change?(t._hasPendingMicrotasks=s.microTask,u3(t),d3(t)):"macroTask"==s.change&&(t.hasPendingMacrotasks=s.macroTask))},onHandleError:(n,i,c,s)=>(n.handleError(c,s),t.runOutsideAngular(()=>t.onError.emit(s)),!1)})}(c)}static isInAngularZone(){return typeof Zone<"u"&&!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!yo.isInAngularZone())throw new $(909,!1)}static assertNotInAngularZone(){if(yo.isInAngularZone())throw new $(909,!1)}run(e,n,i){return this._inner.run(e,n,i)}runTask(e,n,i,c){const s=this._inner,u=s.scheduleEventTask("NgZoneEvent: "+c,e,Z6,l3,l3);try{return s.runTask(u,n,i)}finally{s.cancelTask(u)}}runGuarded(e,n,i){return this._inner.runGuarded(e,n,i)}runOutsideAngular(e){return this._outer.run(e)}}const Z6={};function d3(t){if(0==t._nesting&&!t.hasPendingMicrotasks&&!t.isStable)try{t._nesting++,t.onMicrotaskEmpty.emit(null)}finally{if(t._nesting--,!t.hasPendingMicrotasks)try{t.runOutsideAngular(()=>t.onStable.emit(null))}finally{t.isStable=!0}}}function u3(t){t.hasPendingMicrotasks=!!(t._hasPendingMicrotasks||(t.shouldCoalesceEventChangeDetection||t.shouldCoalesceRunChangeDetection)&&-1!==t.lastRequestAnimationFrameId)}function q6(t){t._nesting++,t.isStable&&(t.isStable=!1,t.onUnstable.emit(null))}function t8(t){t._nesting--,d3(t)}const n8=new Ot("",{providedIn:"root",factory:m3});function m3(){const t=Ie(yo);let e=!0;const n=new b.c(c=>{e=t.isStable&&!t.hasPendingMacrotasks&&!t.hasPendingMicrotasks,t.runOutsideAngular(()=>{c.next(e),c.complete()})}),i=new b.c(c=>{let s;t.runOutsideAngular(()=>{s=t.onStable.subscribe(()=>{yo.assertNotInAngularZone(),queueMicrotask(()=>{!e&&!t.hasPendingMacrotasks&&!t.hasPendingMicrotasks&&(e=!0,c.next(!0))})})});const u=t.onUnstable.subscribe(()=>{yo.assertInAngularZone(),e&&(e=!1,t.runOutsideAngular(()=>{c.next(!1)}))});return()=>{s.unsubscribe(),u.unsubscribe()}});return(0,T.h)(n,i.pipe((0,P.u)()))}function i8(t){return t.ownerDocument}function fr(t){return t instanceof Function?t():t}let p3=(()=>{class t{constructor(){this.renderDepth=0,this.handler=null}begin(){this.handler?.validateBegin(),this.renderDepth++}end(){this.renderDepth--,0===this.renderDepth&&this.handler?.execute()}ngOnDestroy(){this.handler?.destroy(),this.handler=null}static{this.\u0275prov=gt({token:t,providedIn:"root",factory:()=>new t})}}return t})();function O1(t){for(;t;){t[Cn]|=64;const e=u1(t);if(Wo(t)&&!e)return t;t=e}return null}const c8=new Ot("",{providedIn:"root",factory:()=>!1});let z1=null;function d8(t,e){return t[e]??m8()}function u8(t,e){const n=m8();n.producerNode?.length&&(t[e]=z1,n.lView=t,z1=v3())}const f7={...Nr,consumerIsAlwaysLive:!0,consumerMarkedDirty:t=>{O1(t.lView)},lView:null};function v3(){return Object.create(f7)}function m8(){return z1??=v3(),z1}const Rn={};function K2(t){f8(Gn(),Re(),Io()+t,!1)}function f8(t,e,n,i){if(!i)if(3==(3&e[Cn])){const s=t.preOrderCheckHooks;null!==s&&Ws(e,s,n)}else{const s=t.preOrderHooks;null!==s&&xs(e,s,0,n)}yr(n)}function xa(t,e=at.Default){const n=Re();return null===n?Ze(t,e):n1(Yi(),n,j(t),e)}function h8(){throw new Error("invalid")}function G2(t,e,n,i,c,s,u,p,_,O,Y){const wt=e.blueprint.slice();return wt[qn]=c,wt[Cn]=140|i,(null!==O||t&&2048&t[Cn])&&(wt[Cn]|=2048),nn(wt),wt[Hn]=wt[zi]=t,wt[Vn]=n,wt[jo]=u||t&&t[jo],wt[bn]=p||t&&t[bn],wt[Ni]=_||t&&t[Ni]||null,wt[gi]=s,wt[Ho]=function j5(){return Vd++}(),wt[Pi]=Y,wt[Vi]=O,wt[$n]=2==e.type?t[$n]:wt,wt}function Ca(t,e,n,i,c){let s=t.data[e];if(null===s)s=function _3(t,e,n,i,c){const s=_s(),u=ic(),_=t.data[e]=function x7(t,e,n,i,c,s){let u=e?e.injectorIndex:-1,p=0;return cr()&&(p|=128),{type:n,index:i,insertBeforeIndex:null,injectorIndex:u,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,propertyBindings:null,flags:p,providerIndexes:0,value:c,attrs:s,mergedAttrs:null,localNames:null,initialInputs:void 0,inputs:null,outputs:null,tView:null,next:null,prev:null,projectionNext:null,child:null,parent:e,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}(0,u?s:s&&s.parent,n,e,i,c);return null===t.firstChild&&(t.firstChild=_),null!==s&&(u?null==s.child&&null!==_.parent&&(s.child=_):null===s.next&&(s.next=_,_.prev=s)),_}(t,e,n,i,c),function h(){return pn.lFrame.inI18n}()&&(s.flags|=32);else if(64&s.type){s.type=n,s.value=i,s.attrs=c;const u=function jr(){const t=pn.lFrame,e=t.currentTNode;return t.isParent?e:e.parent}();s.injectorIndex=null===u?-1:u.injectorIndex}return Cc(s,!0),s}function ya(t,e,n,i){if(0===n)return-1;const c=e.length;for(let s=0;sOn&&f8(t,e,On,!1),Ai(p?2:0,c);const O=p?s:null,Y=br(O);try{null!==O&&(O.dirty=!1),n(i,c)}finally{vr(O,Y)}}finally{p&&null===e[eo]&&u8(e,eo),yr(u),Ai(p?3:1,c)}}function x3(t,e,n){if(co(e)){const i=Hi(null);try{const s=e.directiveEnd;for(let u=e.directiveStart;unull;function M3(t,e,n,i){for(let c in t)if(t.hasOwnProperty(c)){n=null===n?{}:n;const s=t[c];null===i?_8(n,e,c,s):i.hasOwnProperty(c)&&_8(n,e,i[c],s)}return n}function _8(t,e,n,i){t.hasOwnProperty(n)?t[n].push(e,i):t[n]=[e,i]}function ac(t,e,n,i,c,s,u,p){const _=D(e,n);let Y,O=e.inputs;!p&&null!=O&&(Y=O[i])?(J2(t,n,Y,i,c),Ui(e)&&function M7(t,e){const n=St(e,t);16&n[Cn]||(n[Cn]|=64)}(n,e.index)):3&e.type&&(i=function y7(t){return"class"===t?"className":"for"===t?"htmlFor":"formaction"===t?"formAction":"innerHtml"===t?"innerHTML":"readonly"===t?"readOnly":"tabindex"===t?"tabIndex":t}(i),c=null!=u?u(c,e.value||"",i):c,s.setProperty(_,i,c))}function Y2(t,e,n,i){if(xc()){const c=null===i?null:{"":-1},s=function D7(t,e){const n=t.directiveRegistry;let i=null,c=null;if(n)for(let s=0;s0;){const n=t[--e];if("number"==typeof n&&n<0)return n}return 0})(u)!=p&&u.push(p),u.push(n,i,s)}}(t,e,i,ya(t,n,c.hostVars,Rn),c)}function Sr(t,e,n,i,c,s){const u=D(t,e);!function E3(t,e,n,i,c,s,u){if(null==s)t.removeAttribute(e,c,n);else{const p=null==u?V(s):u(s,i||"",c);t.setAttribute(e,c,p,n)}}(e[bn],u,s,t.value,n,i,c)}function L8(t,e,n,i,c,s){const u=s[e];if(null!==u)for(let p=0;p{class t{constructor(){this.all=new Set,this.queue=new Map}create(n,i,c){const s=typeof Zone>"u"?null:Zone.current,u=function Pe(t,e,n){const i=Object.create(ni);n&&(i.consumerAllowSignalWrites=!0),i.fn=t,i.schedule=e;const c=u=>{i.cleanupFn=u};return i.ref={notify:()=>ir(i),run:()=>{if(i.dirty=!1,i.hasRun&&!Rr(i))return;i.hasRun=!0;const u=br(i);try{i.cleanupFn(),i.cleanupFn=sn,i.fn(c)}finally{vr(i,u)}},cleanup:()=>i.cleanupFn()},i.ref}(n,O=>{this.all.has(O)&&this.queue.set(O,s)},c);let p;this.all.add(u),u.notify();const _=()=>{u.cleanup(),p?.(),this.all.delete(u),this.queue.delete(u)};return p=i?.onDestroy(_),{destroy:_}}flush(){if(0!==this.queue.size)for(const[n,i]of this.queue)this.queue.delete(n),i?i.run(()=>n.run()):n.run()}get isQueueEmpty(){return 0===this.queue.size}static{this.\u0275prov=gt({token:t,providedIn:"root",factory:()=>new t})}}return t})();function q2(t,e,n){let i=n?t.styles:null,c=n?t.classes:null,s=0;if(null!==e)for(let u=0;u0){T8(t,1);const c=n.components;null!==c&&I8(t,c,1)}}function I8(t,e,n){for(let i=0;i-1&&(E2(e,i),L(n,i))}this._attachedToViewContainer=!1}_0(this._lView[We],this._lView)}onDestroy(e){Xi(this._lView,e)}markForCheck(){O1(this._cdRefInjectingView||this._lView)}detach(){this._lView[Cn]&=-129}reattach(){this._lView[Cn]|=128}detectChanges(){tl(this._lView[We],this._lView,this.context)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new $(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,function th(t,e){p1(t,e,e[bn],2,null,null)}(this._lView[We],this._lView)}attachToAppRef(e){if(this._attachedToViewContainer)throw new $(902,!1);this._appRef=e}}class F7 extends A1{constructor(e){super(e),this._view=e}detectChanges(){const e=this._view;tl(e[We],e,e[Vn],!1)}checkNoChanges(){}get context(){return null}}class N8 extends y1{constructor(e){super(),this.ngModule=e}resolveComponentFactory(e){const n=En(e);return new Ma(n,this.ngModule)}}function P3(t){const e=[];for(let n in t)t.hasOwnProperty(n)&&e.push({propName:t[n],templateName:n});return e}class V7{constructor(e,n){this.injector=e,this.parentInjector=n}get(e,n,i){i=Nn(i);const c=this.injector.get(e,L1,i);return c!==L1||n===L1?c:this.parentInjector.get(e,n,i)}}class Ma extends V6{get inputs(){const e=this.componentDef,n=e.inputTransforms,i=P3(e.inputs);if(null!==n)for(const c of i)n.hasOwnProperty(c.propName)&&(c.transform=n[c.propName]);return i}get outputs(){return P3(this.componentDef.outputs)}constructor(e,n){super(),this.componentDef=e,this.ngModule=n,this.componentType=e.type,this.selector=function Oi(t){return t.map(Jc).join(",")}(e.selectors),this.ngContentSelectors=e.ngContentSelectors?e.ngContentSelectors:[],this.isBoundToModule=!!n}create(e,n,i,c){let s=(c=c||this.ngModule)instanceof Yc?c:c?.injector;s&&null!==this.componentDef.getStandaloneInjector&&(s=this.componentDef.getStandaloneInjector(s)||s);const u=s?new V7(e,s):e,p=u.get(w1,null);if(null===p)throw new $(407,!1);const wt={rendererFactory:p,sanitizer:u.get(Gh,null),effectManager:u.get(S3,null),afterRenderEventManager:u.get(p3,null)},Xt=p.createRenderer(null,this.componentDef),ue=this.componentDef.selectors[0][0]||"div",Se=i?function g7(t,e,n,i){const s=i.get(c8,!1)||n===se.ShadowDom,u=t.selectRootElement(e,s);return function b7(t){b8(t)}(u),u}(Xt,i,this.componentDef.encapsulation,u):L2(Xt,ue,function B7(t){const e=t.toLowerCase();return"svg"===e?Ci:"math"===e?"math":null}(ue)),gn=this.componentDef.signals?4608:this.componentDef.onPush?576:528;let Be=null;null!==Se&&(Be=i3(Se,u,!0));const Tn=y3(0,null,null,1,0,null,null,null,null,null,null),jn=G2(null,Tn,null,gn,null,null,wt,Xt,u,null,Be);let hi,Lc;Xn(jn);try{const Yr=this.componentDef;let Ga,$l=null;Yr.findHostDirectiveDefs?(Ga=[],$l=new Map,Yr.findHostDirectiveDefs(Yr,Ga,$l),Ga.push(Yr)):Ga=[Yr];const jb=function j7(t,e){const n=t[We],i=On;return t[i]=e,Ca(n,i,2,"#host",null)}(jn,Se),Hb=function H7(t,e,n,i,c,s,u){const p=c[We];!function $7(t,e,n,i){for(const c of t)e.mergedAttrs=Jn(e.mergedAttrs,c.hostAttrs);null!==e.mergedAttrs&&(q2(e,e.mergedAttrs,!0),null!==n&&l6(i,n,e))}(i,t,e,u);let _=null;null!==e&&(_=i3(e,c[Ni]));const O=s.rendererFactory.createRenderer(e,n);let Y=16;n.signals?Y=4096:n.onPush&&(Y=64);const wt=G2(c,g8(n),null,Y,c[t.index],t,s,O,null,null,_);return p.firstCreatePass&&L3(p,t,i.length-1),Q2(c,wt),c[t.index]=wt}(jb,Se,Yr,Ga,jn,wt,Xt);Lc=ct(Tn,On),Se&&function R8(t,e,n,i){if(i)li(t,n,["ng-version",Xh.full]);else{const{attrs:c,classes:s}=function mc(t){const e=[],n=[];let i=1,c=2;for(;i0&&a6(t,n,s.join(" "))}}(Xt,Yr,Se,i),void 0!==n&&function K7(t,e,n){const i=t.projection=[];for(let c=0;c=0;i--){const c=t[i];c.hostVars=e+=c.hostVars,c.hostAttrs=Jn(c.hostAttrs,n=Jn(n,c.hostAttrs))}}(i)}function el(t){return t===De?{}:t===ve?[]:t}function B8(t,e){const n=t.viewQuery;t.viewQuery=n?(i,c)=>{e(i,c),n(i,c)}:e}function X7(t,e){const n=t.contentQueries;t.contentQueries=n?(i,c,s)=>{e(i,c,s),n(i,c,s)}:e}function Y7(t,e){const n=t.hostBindings;t.hostBindings=n?(i,c)=>{e(i,c),n(i,c)}:e}function H8(t){const e=t.inputConfig,n={};for(const i in e)if(e.hasOwnProperty(i)){const c=e[i];Array.isArray(c)&&c[2]&&(n[i]=c[2])}t.inputTransforms=n}function nl(t){return!!I3(t)&&(Array.isArray(t)||!(t instanceof Map)&&Symbol.iterator in t)}function I3(t){return null!==t&&("function"==typeof t||"object"==typeof t)}function zr(t,e,n){return t[e]=n}function Fo(t,e,n){return!Object.is(t[e],n)&&(t[e]=n,!0)}function Is(t,e,n,i){const c=Fo(t,e,n);return Fo(t,e+1,i)||c}function il(t,e,n,i,c){const s=Is(t,e,n,i);return Fo(t,e+2,c)||s}function Qc(t,e,n,i,c,s){const u=Is(t,e,n,i);return Is(t,e+2,c,s)||u}function N3(t,e,n,i){const c=Re();return Fo(c,g(),e)&&(Gn(),Sr(Ei(),c,t,e,n,i)),N3}function La(t,e,n,i){return Fo(t,g(),n)?e+V(n)+i:Rn}function Da(t,e,n,i,c,s,u,p){const O=il(t,Wc(),n,c,u);return x(3),O?e+V(n)+i+V(c)+s+V(u)+p:Rn}function W3(t,e,n,i,c,s,u,p){const _=Re(),O=Gn(),Y=t+On,wt=O.firstCreatePass?function xp(t,e,n,i,c,s,u,p,_){const O=e.consts,Y=Ca(e,t,4,u||null,an(O,p));Y2(e,n,Y,an(O,_)),$s(e,Y);const wt=Y.tView=y3(2,Y,i,c,s,e.directiveRegistry,e.pipeRegistry,null,e.schemas,O,null);return null!==e.queries&&(e.queries.template(e,Y),wt.queries=e.queries.embeddedTView(Y)),Y}(Y,O,_,e,n,i,c,s,u):O.data[Y];Cc(wt,!1);const Xt=eu(O,_,wt,t);es()&&f1(O,_,Xt,wt),Qo(Xt,_),Q2(_,_[Y]=D8(Xt,_,Xt,wt)),To(wt)&&X2(O,_,wt),null!=u&&C3(_,wt,p)}let eu=function nu(t,e,n,i){return Mr(!0),e[bn].createComment("")};function cu(t){return ut(function $r(){return pn.lFrame.contextLView}(),On+t)}function ll(t,e,n){const i=Re();return Fo(i,g(),e)&&ac(Gn(),Ei(),i,t,e,i[bn],n,!1),ll}function K3(t,e,n,i,c){const u=c?"class":"style";J2(t,n,e.inputs[u],u,i)}function dl(t,e,n,i){const c=Re(),s=Gn(),u=On+t,p=c[bn],_=s.firstCreatePass?function yp(t,e,n,i,c,s){const u=e.consts,_=Ca(e,t,2,i,an(u,c));return Y2(e,n,_,an(u,s)),null!==_.attrs&&q2(_,_.attrs,!1),null!==_.mergedAttrs&&q2(_,_.mergedAttrs,!0),null!==e.queries&&e.queries.elementStart(e,_),_}(u,s,c,e,n,i):s.data[u],O=X3(s,c,_,p,e,t);c[u]=O;const Y=To(_);return Cc(_,!0),l6(p,O,_),32!=(32&_.flags)&&es()&&f1(s,c,O,_),0===function bo(){return pn.lFrame.elementDepthCount}()&&Qo(O,c),function so(){pn.lFrame.elementDepthCount++}(),Y&&(X2(s,c,_),x3(s,_,c)),null!==i&&C3(c,_),dl}function N1(){let t=Yi();ic()?Hr():(t=t.parent,Cc(t,!1));const e=t;(function $c(t){return pn.skipHydrationRootTNode===t})(e)&&function Us(){pn.skipHydrationRootTNode=null}(),function Rc(){pn.lFrame.elementDepthCount--}();const n=Gn();return n.firstCreatePass&&($s(n,t),co(t)&&n.queries.elementEnd(t)),null!=e.classesWithoutHost&&function Xs(t){return 0!=(8&t.flags)}(e)&&K3(n,e,Re(),e.classesWithoutHost,!0),null!=e.stylesWithoutHost&&function Xl(t){return 0!=(16&t.flags)}(e)&&K3(n,e,Re(),e.stylesWithoutHost,!1),N1}function G3(t,e,n,i){return dl(t,e,n,i),N1(),G3}let X3=(t,e,n,i,c,s)=>(Mr(!0),L2(i,c,function Za(){return pn.lFrame.currentNamespace}()));function ul(t,e,n){const i=Re(),c=Gn(),s=t+On,u=c.firstCreatePass?function Lp(t,e,n,i,c){const s=e.consts,u=an(s,i),p=Ca(e,t,8,"ng-container",u);return null!==u&&q2(p,u,!0),Y2(e,n,p,an(s,c)),null!==e.queries&&e.queries.elementStart(e,p),p}(s,c,i,e,n):c.data[s];Cc(u,!0);const p=Q3(c,i,u,t);return i[s]=p,es()&&f1(c,i,p,u),Qo(p,i),To(u)&&(X2(c,i,u),x3(c,u,i)),null!=n&&C3(i,u),ul}function ml(){let t=Yi();const e=Gn();return ic()?Hr():(t=t.parent,Cc(t,!1)),e.firstCreatePass&&($s(e,t),co(t)&&e.queries.elementEnd(t)),ml}function Y3(t,e,n){return ul(t,e,n),ml(),Y3}let Q3=(t,e,n,i)=>(Mr(!0),w2(e[bn],""));function ru(){return Re()}function Z3(t){return!!t&&"function"==typeof t.then}function su(t){return!!t&&"function"==typeof t.subscribe}function J3(t,e,n,i){const c=Re(),s=Gn(),u=Yi();return lu(s,c,c[bn],u,t,e,i),J3}function q3(t,e){const n=Yi(),i=Re(),c=Gn();return lu(c,i,D3(ge(c.data),n,i),n,t,e),q3}function lu(t,e,n,i,c,s,u){const p=To(i),O=t.firstCreatePass&&z8(t),Y=e[Vn],wt=S8(e);let Xt=!0;if(3&i.type||u){const He=D(i,e),qe=u?u(He):He,gn=wt.length,Be=u?jn=>u(Wn(jn[i.index])):i.index;let Tn=null;if(!u&&p&&(Tn=function au(t,e,n,i){const c=t.cleanup;if(null!=c)for(let s=0;s_?p[_]:null}"string"==typeof u&&(s+=2)}return null}(t,e,c,i.index)),null!==Tn)(Tn.__ngLastListenerFn__||Tn).__ngNextListenerFn__=s,Tn.__ngLastListenerFn__=s,Xt=!1;else{s=uu(i,e,Y,s,!1);const jn=n.listen(qe,c,s);wt.push(s,jn),O&&O.push(c,Be,gn,gn+1)}}else s=uu(i,e,Y,s,!1);const ue=i.outputs;let Se;if(Xt&&null!==ue&&(Se=ue[c])){const He=Se.length;if(He)for(let qe=0;qe-1?St(t.index,e):e);let _=du(e,n,i,u),O=s.__ngNextListenerFn__;for(;O;)_=du(e,n,O,u)&&_,O=O.__ngNextListenerFn__;return c&&!1===_&&u.preventDefault(),_}}function mu(t=1){return function Qa(t){return(pn.lFrame.contextLView=function Wl(t,e){for(;t>0;)e=e[zi],t--;return e}(t,pn.lFrame.contextLView))[Vn]}(t)}function Dp(t,e){let n=null;const i=function kr(t){const e=t.attrs;if(null!=e){const n=e.indexOf(5);if(!(1&n))return e[n+1]}return null}(t);for(let c=0;c>17&32767}function c4(t){return 2|t}function Ns(t){return(131068&t)>>2}function r4(t,e){return-131069&t|e<<2}function s4(t){return 1|t}function _u(t,e,n,i,c){const s=t[n+1],u=null===e;let p=i?us(s):Ns(s),_=!1;for(;0!==p&&(!1===_||u);){const Y=t[p+1];Ap(t[p],e)&&(_=!0,t[p+1]=i?s4(Y):c4(Y)),p=i?us(Y):Ns(Y)}_&&(t[n+1]=i?c4(s):s4(s))}function Ap(t,e){return null===t||null==e||(Array.isArray(t)?t[1]:t)===e||!(!Array.isArray(t)||"string"!=typeof e)&&mn(t,e)>=0}const lo={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function xu(t){return t.substring(lo.key,lo.keyEnd)}function Cu(t){return t.substring(lo.value,lo.valueEnd)}function pl(t,e){const n=lo.textEnd;return n===e?-1:(e=lo.keyEnd=function wu(t,e,n){for(;e32;)e++;return e}(t,lo.key=e,n),Ia(t,e,n))}function yu(t,e){const n=lo.textEnd;let i=lo.key=Ia(t,e,n);return n===i?-1:(i=lo.keyEnd=function Np(t,e,n){let i;for(;e=65&&(-33&i)<=90||i>=48&&i<=57);)e++;return e}(t,i,n),i=Lu(t,i,n),i=lo.value=Ia(t,i,n),i=lo.valueEnd=function Rp(t,e,n){let i=-1,c=-1,s=-1,u=e,p=u;for(;u32&&(p=u),s=c,c=i,i=-33&_}return p}(t,i,n),Lu(t,i,n))}function Mu(t){lo.key=0,lo.keyEnd=0,lo.value=0,lo.valueEnd=0,lo.textEnd=t.length}function Ia(t,e,n){for(;e=0;n=yu(e,n))u4(t,xu(e),Cu(e))}function Du(t){gr(jp,Pr,t,!0)}function Pr(t,e){for(let n=function Tp(t){return Mu(t),pl(t,Ia(t,0,lo.textEnd))}(e);n>=0;n=pl(e,n))Ae(t,xu(e),!0)}function pr(t,e,n,i){const c=Re(),s=Gn(),u=x(2);s.firstUpdatePass&&d4(s,t,u,i),e!==Rn&&Fo(c,u,e)&&Pu(s,s.data[Io()],c,c[bn],t,c[u+1]=function $p(t,e){return null==t||""===t||("string"==typeof e?t+=e:"object"==typeof t&&(t=K(Gr(t)))),t}(e,n),i,u)}function gr(t,e,n,i){const c=Gn(),s=x(2);c.firstUpdatePass&&d4(c,null,s,i);const u=Re();if(n!==Rn&&Fo(u,s,n)){const p=c.data[Io()];if(f4(p,i)&&!Ou(c,s)){let _=i?p.classesWithoutHost:p.stylesWithoutHost;null!==_&&(n=M(_,n||"")),K3(c,p,u,n,i)}else!function Hp(t,e,n,i,c,s,u,p){c===Rn&&(c=ve);let _=0,O=0,Y=0=t.expandoStartIndex}function d4(t,e,n,i){const c=t.data;if(null===c[n+1]){const s=c[Io()],u=Ou(t,n);f4(s,i)&&null===e&&!u&&(e=!1),e=function Su(t,e,n,i){const c=ge(t);let s=i?e.residualClasses:e.residualStyles;if(null===c)0===(i?e.classBindings:e.styleBindings)&&(n=F1(n=bl(null,t,e,n,i),e.attrs,i),s=null);else{const u=e.directiveStylingLast;if(-1===u||t[u]!==c)if(n=bl(c,t,e,n,i),null===s){let _=function zu(t,e,n){const i=n?e.classBindings:e.styleBindings;if(0!==Ns(i))return t[us(i)]}(t,e,i);void 0!==_&&Array.isArray(_)&&(_=bl(null,t,e,_[1],i),_=F1(_,e.attrs,i),function Bp(t,e,n,i){t[us(n?e.classBindings:e.styleBindings)]=i}(t,e,i,_))}else s=function Vp(t,e,n){let i;const c=e.directiveEnd;for(let s=1+e.directiveStylingLast;s0)&&(O=!0)):Y=n,c)if(0!==_){const Xt=us(t[p+1]);t[i+1]=hl(Xt,p),0!==Xt&&(t[Xt+1]=r4(t[Xt+1],i)),t[p+1]=function Sp(t,e){return 131071&t|e<<17}(t[p+1],i)}else t[i+1]=hl(p,0),0!==p&&(t[p+1]=r4(t[p+1],i)),p=i;else t[i+1]=hl(_,0),0===p?p=i:t[_+1]=r4(t[_+1],i),_=i;O&&(t[i+1]=c4(t[i+1])),_u(t,Y,i,!0),_u(t,Y,i,!1),function a4(t,e,n,i,c){const s=c?t.residualClasses:t.residualStyles;null!=s&&"string"==typeof e&&mn(s,e)>=0&&(n[i+1]=s4(n[i+1]))}(e,Y,t,i,s),u=hl(p,_),s?e.classBindings=u:e.styleBindings=u}(c,s,e,n,u,i)}}function bl(t,e,n,i,c){let s=null;const u=n.directiveEnd;let p=n.directiveStylingLast;for(-1===p?p=n.directiveStart:p++;p0;){const _=t[c],O=Array.isArray(_),Y=O?_[1]:_,wt=null===Y;let Xt=n[c+1];Xt===Rn&&(Xt=wt?ve:void 0);let ue=wt?$e(Xt,i):Y===i?Xt:void 0;if(O&&!vl(ue)&&(ue=$e(_,i)),vl(ue)&&(p=ue,u))return p;const Se=t[c+1];c=u?us(Se):Ns(Se)}if(null!==e){let _=s?e.residualClasses:e.residualStyles;null!=_&&(p=$e(_,i))}return p}function vl(t){return void 0!==t}function f4(t,e){return 0!=(t.flags&(e?8:16))}function ku(t,e=""){const n=Re(),i=Gn(),c=t+On,s=i.firstCreatePass?Ca(i,c,1,e,null):i.data[c],u=h4(i,n,s,e,t);n[c]=u,es()&&f1(i,n,u,s),Cc(s,!1)}let h4=(t,e,n,i,c)=>(Mr(!0),function m1(t,e){return t.createText(e)}(e[bn],i));function p4(t){return B1("",t,""),p4}function B1(t,e,n){const i=Re(),c=La(i,t,e,n);return c!==Rn&&Xr(i,Io(),c),B1}function g4(t,e,n,i,c){const s=Re(),u=function Ea(t,e,n,i,c,s){const p=Is(t,Wc(),n,c);return x(2),p?e+V(n)+i+V(c)+s:Rn}(s,t,e,n,i,c);return u!==Rn&&Xr(s,Io(),u),g4}function b4(t,e,n,i,c,s,u){const p=Re(),_=Da(p,t,e,n,i,c,s,u);return _!==Rn&&Xr(p,Io(),_),b4}function v4(t,e,n,i,c,s,u,p,_){const O=Re(),Y=function Oa(t,e,n,i,c,s,u,p,_,O){const wt=Qc(t,Wc(),n,c,u,_);return x(4),wt?e+V(n)+i+V(c)+s+V(u)+p+V(_)+O:Rn}(O,t,e,n,i,c,s,u,p,_);return Y!==Rn&&Xr(O,Io(),Y),v4}function Bu(t,e,n){gr(Ae,Pr,La(Re(),t,e,n),!0)}function xl(t,e,n){const i=Re();return Fo(i,g(),e)&&ac(Gn(),Ei(),i,t,e,i[bn],n,!0),xl}function M4(t,e,n){const i=Re();if(Fo(i,g(),e)){const s=Gn(),u=Ei();ac(s,u,i,t,e,D3(ge(s.data),u,i),n,!0)}return M4}const Rs=void 0;var r9=["en",[["a","p"],["AM","PM"],Rs],[["AM","PM"],Rs,Rs],[["S","M","T","W","T","F","S"],["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],["Su","Mo","Tu","We","Th","Fr","Sa"]],Rs,[["J","F","M","A","M","J","J","A","S","O","N","D"],["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],["January","February","March","April","May","June","July","August","September","October","November","December"]],Rs,[["B","A"],["BC","AD"],["Before Christ","Anno Domini"]],0,[6,0],["M/d/yy","MMM d, y","MMMM d, y","EEEE, MMMM d, y"],["h:mm a","h:mm:ss a","h:mm:ss a z","h:mm:ss a zzzz"],["{1}, {0}",Rs,"{1} 'at' {0}",Rs],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function c9(t){const n=Math.floor(Math.abs(t)),i=t.toString().replace(/^[^.]*\.?/,"").length;return 1===n&&0===i?1:5}];let Na={};function w4(t){const e=function s9(t){return t.toLowerCase().replace(/_/g,"-")}(t);let n=Yu(e);if(n)return n;const i=e.split("-")[0];if(n=Yu(i),n)return n;if("en"===i)return r9;throw new $(701,!1)}function L4(t){return w4(t)[Ra.PluralCase]}function Yu(t){return t in Na||(Na[t]=tt.ng&&tt.ng.common&&tt.ng.common.locales&&tt.ng.common.locales[t]),Na[t]}var Ra=function(t){return t[t.LocaleId=0]="LocaleId",t[t.DayPeriodsFormat=1]="DayPeriodsFormat",t[t.DayPeriodsStandalone=2]="DayPeriodsStandalone",t[t.DaysFormat=3]="DaysFormat",t[t.DaysStandalone=4]="DaysStandalone",t[t.MonthsFormat=5]="MonthsFormat",t[t.MonthsStandalone=6]="MonthsStandalone",t[t.Eras=7]="Eras",t[t.FirstDayOfWeek=8]="FirstDayOfWeek",t[t.WeekendRange=9]="WeekendRange",t[t.DateFormat=10]="DateFormat",t[t.TimeFormat=11]="TimeFormat",t[t.DateTimeFormat=12]="DateTimeFormat",t[t.NumberSymbols=13]="NumberSymbols",t[t.NumberFormats=14]="NumberFormats",t[t.CurrencyCode=15]="CurrencyCode",t[t.CurrencySymbol=16]="CurrencySymbol",t[t.CurrencyName=17]="CurrencyName",t[t.Currencies=18]="Currencies",t[t.Directionality=19]="Directionality",t[t.PluralCase=20]="PluralCase",t[t.ExtraData=21]="ExtraData",t}(Ra||{});const Fa="en-US";let Zu=Fa;function A4(t,e,n,i,c){if(t=j(t),Array.isArray(t))for(let s=0;s>20;if(As(t)||!t.multi){const ue=new ys(O,c,xa),Se=T4(_,e,c?Y:Y+Xt,wt);-1===Se?(e1(Qs(p,u),s,_),Ua(s,t,e.length),e.push(_),p.directiveStart++,p.directiveEnd++,c&&(p.providerIndexes+=1048576),n.push(ue),u.push(ue)):(n[Se]=ue,u[Se]=ue)}else{const ue=T4(_,e,Y+Xt,wt),Se=T4(_,e,Y,Y+Xt),qe=Se>=0&&n[Se];if(c&&!qe||!c&&!(ue>=0&&n[ue])){e1(Qs(p,u),s,_);const gn=function G9(t,e,n,i,c){const s=new ys(t,n,xa);return s.multi=[],s.index=e,s.componentProviders=0,Dm(s,c,i&&!n),s}(c?Om:K9,n.length,c,i,O);!c&&qe&&(n[Se].providerFactory=gn),Ua(s,t,e.length,0),e.push(_),p.directiveStart++,p.directiveEnd++,c&&(p.providerIndexes+=1048576),n.push(gn),u.push(gn)}else Ua(s,t,ue>-1?ue:Se,Dm(n[c?Se:ue],O,!c&&i));!c&&i&&qe&&n[Se].componentProviders++}}}function Ua(t,e,n,i){const c=As(e),s=function N2(t){return!!t.useClass}(e);if(c||s){const _=(s?j(e.useClass):e).prototype.ngOnDestroy;if(_){const O=t.destroyHooks||(t.destroyHooks=[]);if(!c&&e.multi){const Y=O.indexOf(n);-1===Y?O.push(n,[i,_]):O[Y+1].push(i,_)}else O.push(n,_)}}}function Dm(t,e,n){return n&&t.componentProviders++,t.multi.push(e)-1}function T4(t,e,n,i){for(let c=n;c{n.providersResolver=(i,c)=>function Em(t,e,n){const i=Gn();if(i.firstCreatePass){const c=ji(t);A4(n,i.data,i.blueprint,c,!0),A4(e,i.data,i.blueprint,c,!1)}}(i,c?c(t):t,e)}}class ms{}class zm{}function X9(t,e){return new N4(t,e??null,[])}class N4 extends ms{constructor(e,n,i){super(),this._parent=n,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new N8(this);const c=ci(e);this._bootstrapComponents=fr(c.bootstrap),this._r3Injector=Q6(e,n,[{provide:ms,useValue:this},{provide:y1,useValue:this.componentFactoryResolver},...i],K(e),new Set(["environment"])),this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(e)}get injector(){return this._r3Injector}destroy(){const e=this._r3Injector;!e.destroyed&&e.destroy(),this.destroyCbs.forEach(n=>n()),this.destroyCbs=null}onDestroy(e){this.destroyCbs.push(e)}}class El extends zm{constructor(e){super(),this.moduleType=e}create(e){return new N4(this.moduleType,e,[])}}class Pm extends ms{constructor(e){super(),this.componentFactoryResolver=new N8(this),this.instance=null;const n=new ha([...e.providers,{provide:ms,useValue:this},{provide:y1,useValue:this.componentFactoryResolver}],e.parent||F2(),e.debugName,new Set(["environment"]));this.injector=n,e.runEnvironmentInitializers&&n.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(e){this.injector.onDestroy(e)}}function km(t,e,n=null){return new Pm({providers:t,parent:e,debugName:n,runEnvironmentInitializers:!0}).injector}let Q9=(()=>{class t{constructor(n){this._injector=n,this.cachedInjectors=new Map}getOrCreateStandaloneInjector(n){if(!n.standalone)return null;if(!this.cachedInjectors.has(n)){const i=I2(0,n.type),c=i.length>0?km([i],this._injector,`Standalone[${n.type.name}]`):null;this.cachedInjectors.set(n,c)}return this.cachedInjectors.get(n)}ngOnDestroy(){try{for(const n of this.cachedInjectors.values())null!==n&&n.destroy()}finally{this.cachedInjectors.clear()}}static{this.\u0275prov=gt({token:t,providedIn:"environment",factory:()=>new t(Ze(Yc))})}}return t})();function Am(t){t.getStandaloneInjector=e=>e.get(Q9).getOrCreateStandaloneInjector(t)}function Um(t,e,n){const i=vo()+t,c=Re();return c[i]===Rn?zr(c,i,n?e.call(n):e()):function T1(t,e){return t[e]}(c,i)}function V4(t,e,n,i){return Gm(Re(),vo(),t,e,n,i)}function jm(t,e,n,i,c){return Xm(Re(),vo(),t,e,n,i,c)}function Hm(t,e,n,i,c,s){return Ym(Re(),vo(),t,e,n,i,c,s)}function $m(t,e,n,i,c,s,u){return U4(Re(),vo(),t,e,n,i,c,s,u)}function $1(t,e){const n=t[e];return n===Rn?void 0:n}function Gm(t,e,n,i,c,s){const u=e+n;return Fo(t,u,c)?zr(t,u+1,s?i.call(s,c):i(c)):$1(t,u+1)}function Xm(t,e,n,i,c,s,u){const p=e+n;return Is(t,p,c,s)?zr(t,p+2,u?i.call(u,c,s):i(c,s)):$1(t,p+2)}function Ym(t,e,n,i,c,s,u,p){const _=e+n;return il(t,_,c,s,u)?zr(t,_+3,p?i.call(p,c,s,u):i(c,s,u)):$1(t,_+3)}function U4(t,e,n,i,c,s,u,p,_){const O=e+n;return Qc(t,O,c,s,u,p)?zr(t,O+4,_?i.call(_,c,s,u,p):i(c,s,u,p)):$1(t,O+4)}function Qm(t,e){const n=Gn();let i;const c=t+On;n.firstCreatePass?(i=function Zm(t,e){if(e)for(let n=e.length-1;n>=0;n--){const i=e[n];if(t===i.name)return i}}(e,n.pipeRegistry),n.data[c]=i,i.onDestroy&&(n.destroyHooks??=[]).push(c,i.onDestroy)):i=n.data[c];const s=i.factory||(i.factory=nc(i.type)),p=zt(xa);try{const _=ws(!1),O=s();return ws(_),function ou(t,e,n,i){n>=t.data.length&&(t.data[n]=null,t.blueprint[n]=null),e[n]=i}(n,Re(),c,O),O}finally{zt(p)}}function qm(t,e,n){const i=t+On,c=Re(),s=ut(c,i);return W1(c,i)?Gm(c,vo(),e,s.transform,n,s):s.transform(n)}function tf(t,e,n,i){const c=t+On,s=Re(),u=ut(s,c);return W1(s,c)?Xm(s,vo(),e,u.transform,n,i,u):u.transform(n,i)}function ef(t,e,n,i,c){const s=t+On,u=Re(),p=ut(u,s);return W1(u,s)?Ym(u,vo(),e,p.transform,n,i,c,p):p.transform(n,i,c)}function nf(t,e,n,i,c,s){const u=t+On,p=Re(),_=ut(p,u);return W1(p,u)?U4(p,vo(),e,_.transform,n,i,c,s,_):_.transform(n,i,c,s)}function W1(t,e){return t[We].data[e].pure}function cg(){return this._results[Symbol.iterator]()}class K1{get changes(){return this._changes||(this._changes=new Or)}constructor(e=!1){this._emitDistinctChangesOnly=e,this.dirty=!0,this._results=[],this._changesDetected=!1,this._changes=null,this.length=0,this.first=void 0,this.last=void 0;const n=K1.prototype;n[Symbol.iterator]||(n[Symbol.iterator]=cg)}get(e){return this._results[e]}map(e){return this._results.map(e)}filter(e){return this._results.filter(e)}find(e){return this._results.find(e)}reduce(e,n){return this._results.reduce(e,n)}forEach(e){this._results.forEach(e)}some(e){return this._results.some(e)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(e,n){const i=this;i.dirty=!1;const c=function d(t){return t.flat(Number.POSITIVE_INFINITY)}(e);(this._changesDetected=!function f(t,e,n){if(t.length!==e.length)return!1;for(let i=0;i0&&(n[c-1][Si]=e),i{class t{static{this.__NG_ELEMENT_ID__=ag}}return t})();const sg=ja,rf=class extends sg{constructor(e,n,i){super(),this._declarationLView=e,this._declarationTContainer=n,this.elementRef=i}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(e,n){return this.createEmbeddedViewImpl(e,n)}createEmbeddedViewImpl(e,n,i){const c=function rg(t,e,n,i){const c=e.tView,p=G2(t,c,n,4096&t[Cn]?4096:16,null,e,null,null,null,i?.injector??null,i?.hydrationInfo??null);p[zo]=t[e.index];const O=t[ho];return null!==O&&(p[ho]=O.createEmbeddedView(c)),O3(c,p,n),p}(this._declarationLView,this._declarationTContainer,e,{injector:n,hydrationInfo:i});return new A1(c)}};function ag(){return Dl(Yi(),Re())}function Dl(t,e){return 4&t.type?new rf(e,t,ba(t,e)):null}let X1=(()=>{class t{static{this.__NG_ELEMENT_ID__=hg}}return t})();function hg(){return mf(Yi(),Re())}const Sl=X1,df=class extends Sl{constructor(e,n,i){super(),this._lContainer=e,this._hostTNode=n,this._hostLView=i}get element(){return ba(this._hostTNode,this._hostLView)}get injector(){return new xo(this._hostTNode,this._hostLView)}get parentInjector(){const e=Js(this._hostTNode,this._hostLView);if(Ys(e)){const n=Ms(e,this._hostLView),i=_o(e);return new xo(n[We].data[i+8],n)}return new xo(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(e){const n=uf(this._lContainer);return null!==n&&n[e]||null}get length(){return this._lContainer.length-bi}createEmbeddedView(e,n,i){let c,s;"number"==typeof i?c=i:null!=i&&(c=i.index,s=i.injector);const p=e.createEmbeddedViewImpl(n||{},s,null);return this.insertImpl(p,c,false),p}createComponent(e,n,i,c,s){const u=e&&!function Os(t){return"function"==typeof t}(e);let p;if(u)p=n;else{const He=n||{};p=He.index,i=He.injector,c=He.projectableNodes,s=He.environmentInjector||He.ngModuleRef}const _=u?e:new Ma(En(e)),O=i||this.parentInjector;if(!s&&null==_.ngModule){const qe=(u?O:this.parentInjector).get(Yc,null);qe&&(s=qe)}En(_.componentType??{});const ue=_.create(O,c,null,s);return this.insertImpl(ue.hostView,p,false),ue}insert(e,n){return this.insertImpl(e,n,!1)}insertImpl(e,n,i){const c=e._lView;if(function Ue(t){return xi(t[Hn])}(c)){const _=this.indexOf(e);if(-1!==_)this.detach(_);else{const O=c[Hn],Y=new df(O,O[gi],O[Hn]);Y.detach(Y.indexOf(e))}}const u=this._adjustIndex(n),p=this._lContainer;return cf(p,c,u,!i),e.attachToViewContainerRef(),m(zl(p),u,e),e}move(e,n){return this.insert(e,n)}indexOf(e){const n=uf(this._lContainer);return null!==n?n.indexOf(e):-1}remove(e){const n=this._adjustIndex(e,-1),i=E2(this._lContainer,n);i&&(L(zl(this._lContainer),n),_0(i[We],i))}detach(e){const n=this._adjustIndex(e,-1),i=E2(this._lContainer,n);return i&&null!=L(zl(this._lContainer),n)?new A1(i):null}_adjustIndex(e,n=0){return e??this.length+n}};function uf(t){return t[8]}function zl(t){return t[8]||(t[8]=[])}function mf(t,e){let n;const i=e[t.index];return xi(i)?n=i:(n=D8(i,e,null,t),e[t.index]=n,Q2(e,n)),hf(n,e,t,i),new df(n,t,e)}let hf=function pf(t,e,n,i){if(t[ui])return;let c;c=8&n.type?Wn(i):function ff(t,e){const n=t[bn],i=n.createComment(""),c=D(e,t);return zs(n,D2(n,c),i,function n6(t,e){return t.nextSibling(e)}(n,c),!1),i}(e,n),t[ui]=c};class Pl{constructor(e){this.queryList=e,this.matches=null}clone(){return new Pl(this.queryList)}setDirty(){this.queryList.setDirty()}}class $4{constructor(e=[]){this.queries=e}createEmbeddedView(e){const n=e.queries;if(null!==n){const i=null!==e.contentQueries?e.contentQueries[0]:n.length,c=[];for(let s=0;s0)i.push(u[p/2]);else{const O=s[p+1],Y=e[-_];for(let wt=bi;wt{class t{constructor(){this.initialized=!1,this.done=!1,this.donePromise=new Promise((n,i)=>{this.resolve=n,this.reject=i}),this.appInits=Ie(J1,{optional:!0})??[]}runInitializers(){if(this.initialized)return;const n=[];for(const c of this.appInits){const s=c();if(Z3(s))n.push(s);else if(su(s)){const u=new Promise((p,_)=>{s.subscribe({complete:p,error:_})});n.push(u)}}const i=()=>{this.done=!0,this.resolve()};Promise.all(n).then(()=>{i()}).catch(c=>{this.reject(c)}),0===n.length&&i(),this.initialized=!0}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275prov=gt({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})(),Bf=(()=>{class t{log(n){console.log(n)}warn(n){console.warn(n)}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275prov=gt({token:t,factory:t.\u0275fac,providedIn:"platform"})}}return t})();const Nl=new Ot("LocaleId",{providedIn:"root",factory:()=>Ie(Nl,at.Optional|at.SkipSelf)||function Vg(){return typeof $localize<"u"&&$localize.locale||Fa}()}),Ug=new Ot("DefaultCurrencyCode",{providedIn:"root",factory:()=>"USD"});let Vf=(()=>{class t{constructor(){this.taskId=0,this.pendingTasks=new Set,this.hasPendingTasks=new k.t(!1)}add(){this.hasPendingTasks.next(!0);const n=this.taskId++;return this.pendingTasks.add(n),n}remove(n){this.pendingTasks.delete(n),0===this.pendingTasks.size&&this.hasPendingTasks.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this.hasPendingTasks.next(!1)}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275prov=gt({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();class Uf{constructor(e,n){this.ngModuleFactory=e,this.componentFactories=n}}let Hg=(()=>{class t{compileModuleSync(n){return new El(n)}compileModuleAsync(n){return Promise.resolve(this.compileModuleSync(n))}compileModuleAndAllComponentsSync(n){const i=this.compileModuleSync(n),s=fr(ci(n).declarations).reduce((u,p)=>{const _=En(p);return _&&u.push(new Ma(_)),u},[]);return new Uf(i,s)}compileModuleAndAllComponentsAsync(n){return Promise.resolve(this.compileModuleAndAllComponentsSync(n))}clearCache(){}clearCacheFor(n){}getModuleId(n){}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275prov=gt({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();const Qf=new Ot(""),Zf=new Ot("");let ad,ib=(()=>{class t{constructor(n,i,c){this._ngZone=n,this.registry=i,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,ad||(function qf(t){ad=t}(c),c.addToWindow(i)),this._watchAngularEvents(),n.run(()=>{this.taskTrackingZone=typeof Zone>"u"?null:Zone.current.get("TaskTrackingZone")})}_watchAngularEvents(){this._ngZone.onUnstable.subscribe({next:()=>{this._didWork=!0,this._isZoneStable=!1}}),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.subscribe({next:()=>{yo.assertNotInAngularZone(),queueMicrotask(()=>{this._isZoneStable=!0,this._runCallbacksIfReady()})}})})}increasePendingRequestCount(){return this._pendingCount+=1,this._didWork=!0,this._pendingCount}decreasePendingRequestCount(){if(this._pendingCount-=1,this._pendingCount<0)throw new Error("pending async requests below zero");return this._runCallbacksIfReady(),this._pendingCount}isStable(){return this._isZoneStable&&0===this._pendingCount&&!this._ngZone.hasPendingMacrotasks}_runCallbacksIfReady(){if(this.isStable())queueMicrotask(()=>{for(;0!==this._callbacks.length;){let n=this._callbacks.pop();clearTimeout(n.timeoutId),n.doneCb(this._didWork)}this._didWork=!1});else{let n=this.getPendingTasks();this._callbacks=this._callbacks.filter(i=>!i.updateCb||!i.updateCb(n)||(clearTimeout(i.timeoutId),!1)),this._didWork=!0}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(n=>({source:n.source,creationLocation:n.creationLocation,data:n.data})):[]}addCallback(n,i,c){let s=-1;i&&i>0&&(s=setTimeout(()=>{this._callbacks=this._callbacks.filter(u=>u.timeoutId!==s),n(this._didWork,this.getPendingTasks())},i)),this._callbacks.push({doneCb:n,timeoutId:s,updateCb:c})}whenStable(n,i,c){if(c&&!this.taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/plugins/task-tracking" loaded?');this.addCallback(n,i,c),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}registerApplication(n){this.registry.registerApplication(n,this)}unregisterApplication(n){this.registry.unregisterApplication(n)}findProviders(n,i,c){return[]}static{this.\u0275fac=function(i){return new(i||t)(Ze(yo),Ze(Jf),Ze(Zf))}}static{this.\u0275prov=gt({token:t,factory:t.\u0275fac})}}return t})(),Jf=(()=>{class t{constructor(){this._applications=new Map}registerApplication(n,i){this._applications.set(n,i)}unregisterApplication(n){this._applications.delete(n)}unregisterAllApplications(){this._applications.clear()}getTestability(n){return this._applications.get(n)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(n,i=!0){return ad?.findTestabilityInTree(this,n,i)??null}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275prov=gt({token:t,factory:t.\u0275fac,providedIn:"platform"})}}return t})(),fs=null;const ld=new Ot("PlatformDestroyListeners"),dd=new Ot("appBootstrapListener");class ud{constructor(e,n){this.name=e,this.token=n}}function lb(t){try{const{rootComponent:e,appProviders:n,platformProviders:i}=t,c=function ab(t=[]){if(fs)return fs;const e=function n5(t=[],e){return mr.create({name:e,providers:[{provide:$0,useValue:"platform"},{provide:ld,useValue:new Set([()=>fs=null])},...t]})}(t);return fs=e,function e5(){!function Vr(t){Br=t}(()=>{throw new $(600,!1)})}(),function md(t){t.get(T6,null)?.forEach(n=>n())}(e),e}(i),s=[hb(),...n||[]],p=new Pm({providers:s,parent:c,debugName:"",runEnvironmentInitializers:!1}).injector,_=p.get(yo);return _.run(()=>{p.resolveInjectorInitializers();const O=p.get(ds,null);let Y;_.runOutsideAngular(()=>{Y=_.onError.subscribe({next:ue=>{O.handleError(ue)}})});const wt=()=>p.destroy(),Xt=c.get(ld);return Xt.add(wt),p.onDestroy(()=>{Y.unsubscribe(),Xt.delete(wt)}),function c5(t,e,n){try{const i=n();return Z3(i)?i.catch(c=>{throw e.runOutsideAngular(()=>t.handleError(c)),c}):i}catch(i){throw e.runOutsideAngular(()=>t.handleError(i)),i}}(O,_,()=>{const ue=p.get(id);return ue.runInitializers(),ue.donePromise.then(()=>{!function Ml(t){Yt(t,"Expected localeId to be defined"),"string"==typeof t&&(Zu=t.toLowerCase().replace(/_/g,"-"))}(p.get(Nl,Fa)||Fa);const He=p.get(Wa);return void 0!==e&&He.bootstrap(e),He})})})}catch(e){return Promise.reject(e)}}let Wa=(()=>{class t{constructor(){this._bootstrapListeners=[],this._runningTick=!1,this._destroyed=!1,this._destroyListeners=[],this._views=[],this.internalErrorHandler=Ie(r5),this.zoneIsStable=Ie(n8),this.componentTypes=[],this.components=[],this.isStable=Ie(Vf).hasPendingTasks.pipe((0,Z.n)(n=>n?(0,G.of)(!1):this.zoneIsStable),(0,N.F)(),(0,P.u)()),this._injector=Ie(Yc)}get destroyed(){return this._destroyed}get injector(){return this._injector}bootstrap(n,i){const c=n instanceof V6;if(!this._injector.get(id).done)throw!c&&Eo(n),new $(405,!1);let u;u=c?n:this._injector.get(y1).resolveComponentFactory(n),this.componentTypes.push(u.componentType);const p=function rb(t){return t.isBoundToModule}(u)?void 0:this._injector.get(ms),O=u.create(mr.NULL,[],i||u.selector,p),Y=O.location.nativeElement,wt=O.injector.get(Qf,null);return wt?.registerApplication(Y),O.onDestroy(()=>{this.detachView(O.hostView),Bl(this.components,O),wt?.unregisterApplication(Y)}),this._loadComponent(O),O}tick(){if(this._runningTick)throw new $(101,!1);try{this._runningTick=!0;for(let n of this._views)n.detectChanges()}catch(n){this.internalErrorHandler(n)}finally{this._runningTick=!1}}attachView(n){const i=n;this._views.push(i),i.attachToAppRef(this)}detachView(n){const i=n;Bl(this._views,i),i.detachFromAppRef()}_loadComponent(n){this.attachView(n.hostView),this.tick(),this.components.push(n);const i=this._injector.get(dd,[]);i.push(...this._bootstrapListeners),i.forEach(c=>c(n))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(n=>n()),this._views.slice().forEach(n=>n.destroy())}finally{this._destroyed=!0,this._views=[],this._bootstrapListeners=[],this._destroyListeners=[]}}onDestroy(n){return this._destroyListeners.push(n),()=>Bl(this._destroyListeners,n)}destroy(){if(this._destroyed)throw new $(406,!1);const n=this._injector;n.destroy&&!n.destroyed&&n.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275prov=gt({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();function Bl(t,e){const n=t.indexOf(e);n>-1&&t.splice(n,1)}const r5=new Ot("",{providedIn:"root",factory:()=>Ie(ds).handleError.bind(void 0)});function s5(){const t=Ie(yo),e=Ie(ds);return n=>t.runOutsideAngular(()=>e.handleError(n))}let fb=(()=>{class t{constructor(){this.zone=Ie(yo),this.applicationRef=Ie(Wa)}initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.zone.run(()=>{this.applicationRef.tick()})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275prov=gt({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();function a5(t){return[{provide:yo,useFactory:t},{provide:g1,multi:!0,useFactory:()=>{const e=Ie(fb,{optional:!0});return()=>e.initialize()}},{provide:r5,useFactory:s5},{provide:n8,useFactory:m3}]}function hb(t){return T2([[],a5(()=>new yo(function o5(t){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:t?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:t?.runCoalescing??!1}}(t)))])}function l5(){return!1}let pb=(()=>{class t{static{this.__NG_ELEMENT_ID__=gb}}return t})();function gb(t){return function bb(t,e,n){if(Ui(t)&&!n){const i=St(t.index,e);return new A1(i,i)}return 47&t.type?new A1(e[$n],e):null}(Yi(),Re(),16==(16&t))}class b5{constructor(){}supports(e){return nl(e)}create(e){return new v5(e)}}const Mb=(t,e)=>e;class v5{constructor(e){this.length=0,this._linkedRecords=null,this._unlinkedRecords=null,this._previousItHead=null,this._itHead=null,this._itTail=null,this._additionsHead=null,this._additionsTail=null,this._movesHead=null,this._movesTail=null,this._removalsHead=null,this._removalsTail=null,this._identityChangesHead=null,this._identityChangesTail=null,this._trackByFn=e||Mb}forEachItem(e){let n;for(n=this._itHead;null!==n;n=n._next)e(n)}forEachOperation(e){let n=this._itHead,i=this._removalsHead,c=0,s=null;for(;n||i;){const u=!i||n&&n.currentIndex<_5(i,c,s)?n:i,p=_5(u,c,s),_=u.currentIndex;if(u===i)c--,i=i._nextRemoved;else if(n=n._next,null==u.previousIndex)c++;else{s||(s=[]);const O=p-c,Y=_-c;if(O!=Y){for(let Xt=0;Xt{u=this._trackByFn(c,p),null!==n&&Object.is(n.trackById,u)?(i&&(n=this._verifyReinsertion(n,p,u,c)),Object.is(n.item,p)||this._addIdentityChange(n,p)):(n=this._mismatch(n,p,u,c),i=!0),n=n._next,c++}),this.length=c;return this._truncate(n),this.collection=e,this.isDirty}get isDirty(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}_reset(){if(this.isDirty){let e;for(e=this._previousItHead=this._itHead;null!==e;e=e._next)e._nextPrevious=e._next;for(e=this._additionsHead;null!==e;e=e._nextAdded)e.previousIndex=e.currentIndex;for(this._additionsHead=this._additionsTail=null,e=this._movesHead;null!==e;e=e._nextMoved)e.previousIndex=e.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(e,n,i,c){let s;return null===e?s=this._itTail:(s=e._prev,this._remove(e)),null!==(e=null===this._unlinkedRecords?null:this._unlinkedRecords.get(i,null))?(Object.is(e.item,n)||this._addIdentityChange(e,n),this._reinsertAfter(e,s,c)):null!==(e=null===this._linkedRecords?null:this._linkedRecords.get(i,c))?(Object.is(e.item,n)||this._addIdentityChange(e,n),this._moveAfter(e,s,c)):e=this._addAfter(new wb(n,i),s,c),e}_verifyReinsertion(e,n,i,c){let s=null===this._unlinkedRecords?null:this._unlinkedRecords.get(i,null);return null!==s?e=this._reinsertAfter(s,e._prev,c):e.currentIndex!=c&&(e.currentIndex=c,this._addToMoves(e,c)),e}_truncate(e){for(;null!==e;){const n=e._next;this._addToRemovals(this._unlink(e)),e=n}null!==this._unlinkedRecords&&this._unlinkedRecords.clear(),null!==this._additionsTail&&(this._additionsTail._nextAdded=null),null!==this._movesTail&&(this._movesTail._nextMoved=null),null!==this._itTail&&(this._itTail._next=null),null!==this._removalsTail&&(this._removalsTail._nextRemoved=null),null!==this._identityChangesTail&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(e,n,i){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(e);const c=e._prevRemoved,s=e._nextRemoved;return null===c?this._removalsHead=s:c._nextRemoved=s,null===s?this._removalsTail=c:s._prevRemoved=c,this._insertAfter(e,n,i),this._addToMoves(e,i),e}_moveAfter(e,n,i){return this._unlink(e),this._insertAfter(e,n,i),this._addToMoves(e,i),e}_addAfter(e,n,i){return this._insertAfter(e,n,i),this._additionsTail=null===this._additionsTail?this._additionsHead=e:this._additionsTail._nextAdded=e,e}_insertAfter(e,n,i){const c=null===n?this._itHead:n._next;return e._next=c,e._prev=n,null===c?this._itTail=e:c._prev=e,null===n?this._itHead=e:n._next=e,null===this._linkedRecords&&(this._linkedRecords=new _d),this._linkedRecords.put(e),e.currentIndex=i,e}_remove(e){return this._addToRemovals(this._unlink(e))}_unlink(e){null!==this._linkedRecords&&this._linkedRecords.remove(e);const n=e._prev,i=e._next;return null===n?this._itHead=i:n._next=i,null===i?this._itTail=n:i._prev=n,e}_addToMoves(e,n){return e.previousIndex===n||(this._movesTail=null===this._movesTail?this._movesHead=e:this._movesTail._nextMoved=e),e}_addToRemovals(e){return null===this._unlinkedRecords&&(this._unlinkedRecords=new _d),this._unlinkedRecords.put(e),e.currentIndex=null,e._nextRemoved=null,null===this._removalsTail?(this._removalsTail=this._removalsHead=e,e._prevRemoved=null):(e._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=e),e}_addIdentityChange(e,n){return e.item=n,this._identityChangesTail=null===this._identityChangesTail?this._identityChangesHead=e:this._identityChangesTail._nextIdentityChange=e,e}}class wb{constructor(e,n){this.item=e,this.trackById=n,this.currentIndex=null,this.previousIndex=null,this._nextPrevious=null,this._prev=null,this._next=null,this._prevDup=null,this._nextDup=null,this._prevRemoved=null,this._nextRemoved=null,this._nextAdded=null,this._nextMoved=null,this._nextIdentityChange=null}}class Lb{constructor(){this._head=null,this._tail=null}add(e){null===this._head?(this._head=this._tail=e,e._nextDup=null,e._prevDup=null):(this._tail._nextDup=e,e._prevDup=this._tail,e._nextDup=null,this._tail=e)}get(e,n){let i;for(i=this._head;null!==i;i=i._nextDup)if((null===n||n<=i.currentIndex)&&Object.is(i.trackById,e))return i;return null}remove(e){const n=e._prevDup,i=e._nextDup;return null===n?this._head=i:n._nextDup=i,null===i?this._tail=n:i._prevDup=n,null===this._head}}class _d{constructor(){this.map=new Map}put(e){const n=e.trackById;let i=this.map.get(n);i||(i=new Lb,this.map.set(n,i)),i.add(e)}get(e,n){const c=this.map.get(e);return c?c.get(e,n):null}remove(e){const n=e.trackById;return this.map.get(n).remove(e)&&this.map.delete(n),e}get isEmpty(){return 0===this.map.size}clear(){this.map.clear()}}function _5(t,e,n){const i=t.previousIndex;if(null===i)return i;let c=0;return n&&i{if(n&&n.key===c)this._maybeAddToChanges(n,i),this._appendAfter=n,n=n._next;else{const s=this._getOrCreateRecordForKey(c,i);n=this._insertBeforeOrAppend(n,s)}}),n){n._prev&&(n._prev._next=null),this._removalsHead=n;for(let i=n;null!==i;i=i._nextRemoved)i===this._mapHead&&(this._mapHead=null),this._records.delete(i.key),i._nextRemoved=i._next,i.previousValue=i.currentValue,i.currentValue=null,i._prev=null,i._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(e,n){if(e){const i=e._prev;return n._next=e,n._prev=i,e._prev=n,i&&(i._next=n),e===this._mapHead&&(this._mapHead=n),this._appendAfter=e,e}return this._appendAfter?(this._appendAfter._next=n,n._prev=this._appendAfter):this._mapHead=n,this._appendAfter=n,null}_getOrCreateRecordForKey(e,n){if(this._records.has(e)){const c=this._records.get(e);this._maybeAddToChanges(c,n);const s=c._prev,u=c._next;return s&&(s._next=u),u&&(u._prev=s),c._next=null,c._prev=null,c}const i=new x5(e);return this._records.set(e,i),i.currentValue=n,this._addToAdditions(i),i}_reset(){if(this.isDirty){let e;for(this._previousMapHead=this._mapHead,e=this._previousMapHead;null!==e;e=e._next)e._nextPrevious=e._next;for(e=this._changesHead;null!==e;e=e._nextChanged)e.previousValue=e.currentValue;for(e=this._additionsHead;null!=e;e=e._nextAdded)e.previousValue=e.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(e,n){Object.is(n,e.currentValue)||(e.previousValue=e.currentValue,e.currentValue=n,this._addToChanges(e))}_addToAdditions(e){null===this._additionsHead?this._additionsHead=this._additionsTail=e:(this._additionsTail._nextAdded=e,this._additionsTail=e)}_addToChanges(e){null===this._changesHead?this._changesHead=this._changesTail=e:(this._changesTail._nextChanged=e,this._changesTail=e)}_forEach(e,n){e instanceof Map?e.forEach(n):Object.keys(e).forEach(i=>n(e[i],i))}}class x5{constructor(e){this.key=e,this.previousValue=null,this.currentValue=null,this._nextPrevious=null,this._next=null,this._prev=null,this._nextAdded=null,this._nextRemoved=null,this._nextChanged=null}}function C5(){return new Cd([new b5])}let Cd=(()=>{class t{static{this.\u0275prov=gt({token:t,providedIn:"root",factory:C5})}constructor(n){this.factories=n}static create(n,i){if(null!=i){const c=i.factories.slice();n=n.concat(c)}return new t(n)}static extend(n){return{provide:t,useFactory:i=>t.create(n,i||C5()),deps:[[t,new cc,new oc]]}}find(n){const i=this.factories.find(c=>c.supports(n));if(null!=i)return i;throw new $(901,!1)}}return t})();function y5(){return new jl([new xd])}let jl=(()=>{class t{static{this.\u0275prov=gt({token:t,providedIn:"root",factory:y5})}constructor(n){this.factories=n}static create(n,i){if(i){const c=i.factories.slice();n=n.concat(c)}return new t(n)}static extend(n){return{provide:t,useFactory:i=>t.create(n,i||y5()),deps:[[t,new cc,new oc]]}}find(n){const i=this.factories.find(c=>c.supports(n));if(i)return i;throw new $(901,!1)}}return t})(),Pb=(()=>{class t{constructor(n){}static{this.\u0275fac=function(i){return new(i||t)(Ze(Wa))}}static{this.\u0275mod=Ji({type:t})}static{this.\u0275inj=Vt({})}}return t})();function Ka(t){return"boolean"==typeof t?t:null!=t&&"false"!==t}function Vb(t){const e=En(t);if(!e)return null;const n=new Ma(e);return{get selector(){return n.selector},get type(){return n.componentType},get inputs(){return n.inputs},get outputs(){return n.outputs},get ngContentSelectors(){return n.ngContentSelectors},get isStandalone(){return e.standalone},get isSignal(){return e.signals}}}},78227:(Ce,Lt,r)=>{r.d(Lt,{$R:()=>Do,BC:()=>re,Fm:()=>Uo,JD:()=>We,MJ:()=>oi,Q0:()=>Vo,VZ:()=>Ho,X1:()=>Sc,YN:()=>Oc,YS:()=>Pi,Yp:()=>xi,cV:()=>Mi,cb:()=>Ee,cz:()=>J,gE:()=>Zt,j4:()=>ci,k0:()=>te,kq:()=>Z,l_:()=>ei,me:()=>a,ok:()=>ji,qT:()=>mc,tU:()=>ui,v8:()=>mo,vO:()=>Vt,vS:()=>Oi,wz:()=>Bi,xH:()=>gi,xq:()=>eo,y7:()=>qi,zX:()=>fo});var o=r(1843),y=r(18331),b=r(61550),T=r(86606),k=r(12324);let G=(()=>{class S{constructor(w,it){this._renderer=w,this._elementRef=it,this.onChange=Bt=>{},this.onTouched=()=>{}}setProperty(w,it){this._renderer.setProperty(this._elementRef.nativeElement,w,it)}registerOnTouched(w){this.onTouched=w}registerOnChange(w){this.onChange=w}setDisabledState(w){this.setProperty("disabled",w)}static{this.\u0275fac=function(it){return new(it||S)(o.rXU(o.sFG),o.rXU(o.aKT))}}static{this.\u0275dir=o.FsC({type:S})}}return S})(),P=(()=>{class S extends G{static{this.\u0275fac=function(){let w;return function(Bt){return(w||(w=o.xGo(S)))(Bt||S)}}()}static{this.\u0275dir=o.FsC({type:S,features:[o.Vt3]})}}return S})();const Z=new o.nKC("NgValueAccessor"),q={provide:Z,useExisting:(0,o.Rfq)(()=>a),multi:!0},M=new o.nKC("CompositionEventMode");let a=(()=>{class S extends G{constructor(w,it,Bt){super(w,it),this._compositionMode=Bt,this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function K(){const S=(0,y.QT)()?(0,y.QT)().getUserAgent():"";return/android (\d+)/.test(S.toLowerCase())}())}writeValue(w){this.setProperty("value",w??"")}_handleInput(w){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(w)}_compositionStart(){this._composing=!0}_compositionEnd(w){this._composing=!1,this._compositionMode&&this.onChange(w)}static{this.\u0275fac=function(it){return new(it||S)(o.rXU(o.sFG),o.rXU(o.aKT),o.rXU(M,8))}}static{this.\u0275dir=o.FsC({type:S,selectors:[["input","formControlName","",3,"type","checkbox"],["textarea","formControlName",""],["input","formControl","",3,"type","checkbox"],["textarea","formControl",""],["input","ngModel","",3,"type","checkbox"],["textarea","ngModel",""],["","ngDefaultControl",""]],hostBindings:function(it,Bt){1&it&&o.bIt("input",function(zn){return Bt._handleInput(zn.target.value)})("blur",function(){return Bt.onTouched()})("compositionstart",function(){return Bt._compositionStart()})("compositionend",function(zn){return Bt._compositionEnd(zn.target.value)})},features:[o.Jv_([q]),o.Vt3]})}}return S})();function pt(S){return null==S||("string"==typeof S||Array.isArray(S))&&0===S.length}function j(S){return null!=S&&"number"==typeof S.length}const J=new o.nKC("NgValidators"),bt=new o.nKC("NgAsyncValidators"),Gt=/^(?=.{1,254}$)(?=.{1,64}@)[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+)*@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/;class te{static min(B){return $(B)}static max(B){return lt(B)}static required(B){return V(B)}static requiredTrue(B){return mt(B)}static email(B){return function rt(S){return pt(S.value)||Gt.test(S.value)?null:{email:!0}}(B)}static minLength(B){return function $t(S){return B=>pt(B.value)||!j(B.value)?null:B.value.length{if(pt(it.value))return null;const Bt=it.value;return B.test(Bt)?null:{pattern:{requiredPattern:w,actualValue:Bt}}}}(B)}static nullValidator(B){return null}static compose(B){return be(B)}static composeAsync(B){return yt(B)}}function $(S){return B=>{if(pt(B.value)||pt(S))return null;const w=parseFloat(B.value);return!isNaN(w)&&w{if(pt(B.value)||pt(S))return null;const w=parseFloat(B.value);return!isNaN(w)&&w>S?{max:{max:S,actual:B.value}}:null}}function V(S){return pt(S.value)?{required:!0}:null}function mt(S){return!0===S.value?null:{required:!0}}function de(S){return B=>j(B.value)&&B.value.length>S?{maxlength:{requiredLength:S,actualLength:B.value.length}}:null}function Le(S){return null}function Ge(S){return null!=S}function Xe(S){return(0,o.jNT)(S)?(0,b.H)(S):S}function ye(S){let B={};return S.forEach(w=>{B=null!=w?{...B,...w}:B}),0===Object.keys(B).length?null:B}function Ve(S,B){return B.map(w=>w(S))}function Qe(S){return S.map(B=>function Oe(S){return!S.validate}(B)?B:w=>B.validate(w))}function be(S){if(!S)return null;const B=S.filter(Ge);return 0==B.length?null:function(w){return ye(Ve(w,B))}}function Me(S){return null!=S?be(Qe(S)):null}function yt(S){if(!S)return null;const B=S.filter(Ge);return 0==B.length?null:function(w){const it=Ve(w,B).map(Xe);return(0,T.p)(it).pipe((0,k.T)(ye))}}function Kt(S){return null!=S?yt(Qe(S)):null}function Nt(S,B){return null===S?[B]:Array.isArray(S)?[...S,B]:[S,B]}function Tt(S){return S._rawValidators}function Yt(S){return S._rawAsyncValidators}function Ut(S){return S?Array.isArray(S)?S:[S]:[]}function Ne(S,B){return Array.isArray(S)?S.includes(B):S===B}function ke(S,B){const w=Ut(B);return Ut(S).forEach(Bt=>{Ne(w,Bt)||w.push(Bt)}),w}function un(S,B){return Ut(B).filter(w=>!Ne(S,w))}class gt{constructor(){this._rawValidators=[],this._rawAsyncValidators=[],this._onDestroyCallbacks=[]}get value(){return this.control?this.control.value:null}get valid(){return this.control?this.control.valid:null}get invalid(){return this.control?this.control.invalid:null}get pending(){return this.control?this.control.pending:null}get disabled(){return this.control?this.control.disabled:null}get enabled(){return this.control?this.control.enabled:null}get errors(){return this.control?this.control.errors:null}get pristine(){return this.control?this.control.pristine:null}get dirty(){return this.control?this.control.dirty:null}get touched(){return this.control?this.control.touched:null}get status(){return this.control?this.control.status:null}get untouched(){return this.control?this.control.untouched:null}get statusChanges(){return this.control?this.control.statusChanges:null}get valueChanges(){return this.control?this.control.valueChanges:null}get path(){return null}_setValidators(B){this._rawValidators=B||[],this._composedValidatorFn=Me(this._rawValidators)}_setAsyncValidators(B){this._rawAsyncValidators=B||[],this._composedAsyncValidatorFn=Kt(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(B){this._onDestroyCallbacks.push(B)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(B=>B()),this._onDestroyCallbacks=[]}reset(B=void 0){this.control&&this.control.reset(B)}hasError(B,w){return!!this.control&&this.control.hasError(B,w)}getError(B,w){return this.control?this.control.getError(B,w):null}}class le extends gt{get formDirective(){return null}get path(){return null}}class Vt extends gt{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}}class oe{constructor(B){this._cd=B}get isTouched(){return!!this._cd?.control?.touched}get isUntouched(){return!!this._cd?.control?.untouched}get isPristine(){return!!this._cd?.control?.pristine}get isDirty(){return!!this._cd?.control?.dirty}get isValid(){return!!this._cd?.control?.valid}get isInvalid(){return!!this._cd?.control?.invalid}get isPending(){return!!this._cd?.control?.pending}get isSubmitted(){return!!this._cd?.submitted}}let re=(()=>{class S extends oe{constructor(w){super(w)}static{this.\u0275fac=function(it){return new(it||S)(o.rXU(Vt,2))}}static{this.\u0275dir=o.FsC({type:S,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(it,Bt){2&it&&o.AVh("ng-untouched",Bt.isUntouched)("ng-touched",Bt.isTouched)("ng-pristine",Bt.isPristine)("ng-dirty",Bt.isDirty)("ng-valid",Bt.isValid)("ng-invalid",Bt.isInvalid)("ng-pending",Bt.isPending)},features:[o.Vt3]})}}return S})(),Ee=(()=>{class S extends oe{constructor(w){super(w)}static{this.\u0275fac=function(it){return new(it||S)(o.rXU(le,10))}}static{this.\u0275dir=o.FsC({type:S,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(it,Bt){2&it&&o.AVh("ng-untouched",Bt.isUntouched)("ng-touched",Bt.isTouched)("ng-pristine",Bt.isPristine)("ng-dirty",Bt.isDirty)("ng-valid",Bt.isValid)("ng-invalid",Bt.isInvalid)("ng-pending",Bt.isPending)("ng-submitted",Bt.isSubmitted)},features:[o.Vt3]})}}return S})();const on="VALID",_n="INVALID",hn="PENDING",fe="DISABLED";function cn(S){return(dt(S)?S.validators:S)||null}function jt(S,B){return(dt(B)?B.asyncValidators:S)||null}function dt(S){return null!=S&&!Array.isArray(S)&&"object"==typeof S}function Rt(S,B,w){const it=S.controls;if(!(B?Object.keys(it):it).length)throw new o.wOt(1e3,"");if(!it[w])throw new o.wOt(1001,"")}function ae(S,B,w){S._forEachChild((it,Bt)=>{if(void 0===w[Bt])throw new o.wOt(1002,"")})}class ze{constructor(B,w){this._pendingDirty=!1,this._hasOwnPendingAsyncValidator=!1,this._pendingTouched=!1,this._onCollectionChange=()=>{},this._parent=null,this.pristine=!0,this.touched=!1,this._onDisabledChange=[],this._assignValidators(B),this._assignAsyncValidators(w)}get validator(){return this._composedValidatorFn}set validator(B){this._rawValidators=this._composedValidatorFn=B}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(B){this._rawAsyncValidators=this._composedAsyncValidatorFn=B}get parent(){return this._parent}get valid(){return this.status===on}get invalid(){return this.status===_n}get pending(){return this.status==hn}get disabled(){return this.status===fe}get enabled(){return this.status!==fe}get dirty(){return!this.pristine}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(B){this._assignValidators(B)}setAsyncValidators(B){this._assignAsyncValidators(B)}addValidators(B){this.setValidators(ke(B,this._rawValidators))}addAsyncValidators(B){this.setAsyncValidators(ke(B,this._rawAsyncValidators))}removeValidators(B){this.setValidators(un(B,this._rawValidators))}removeAsyncValidators(B){this.setAsyncValidators(un(B,this._rawAsyncValidators))}hasValidator(B){return Ne(this._rawValidators,B)}hasAsyncValidator(B){return Ne(this._rawAsyncValidators,B)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(B={}){this.touched=!0,this._parent&&!B.onlySelf&&this._parent.markAsTouched(B)}markAllAsTouched(){this.markAsTouched({onlySelf:!0}),this._forEachChild(B=>B.markAllAsTouched())}markAsUntouched(B={}){this.touched=!1,this._pendingTouched=!1,this._forEachChild(w=>{w.markAsUntouched({onlySelf:!0})}),this._parent&&!B.onlySelf&&this._parent._updateTouched(B)}markAsDirty(B={}){this.pristine=!1,this._parent&&!B.onlySelf&&this._parent.markAsDirty(B)}markAsPristine(B={}){this.pristine=!0,this._pendingDirty=!1,this._forEachChild(w=>{w.markAsPristine({onlySelf:!0})}),this._parent&&!B.onlySelf&&this._parent._updatePristine(B)}markAsPending(B={}){this.status=hn,!1!==B.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!B.onlySelf&&this._parent.markAsPending(B)}disable(B={}){const w=this._parentMarkedDirty(B.onlySelf);this.status=fe,this.errors=null,this._forEachChild(it=>{it.disable({...B,onlySelf:!0})}),this._updateValue(),!1!==B.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors({...B,skipPristineCheck:w}),this._onDisabledChange.forEach(it=>it(!0))}enable(B={}){const w=this._parentMarkedDirty(B.onlySelf);this.status=on,this._forEachChild(it=>{it.enable({...B,onlySelf:!0})}),this.updateValueAndValidity({onlySelf:!0,emitEvent:B.emitEvent}),this._updateAncestors({...B,skipPristineCheck:w}),this._onDisabledChange.forEach(it=>it(!1))}_updateAncestors(B){this._parent&&!B.onlySelf&&(this._parent.updateValueAndValidity(B),B.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}setParent(B){this._parent=B}getRawValue(){return this.value}updateValueAndValidity(B={}){this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===on||this.status===hn)&&this._runAsyncValidator(B.emitEvent)),!1!==B.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!B.onlySelf&&this._parent.updateValueAndValidity(B)}_updateTreeValidity(B={emitEvent:!0}){this._forEachChild(w=>w._updateTreeValidity(B)),this.updateValueAndValidity({onlySelf:!0,emitEvent:B.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?fe:on}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(B){if(this.asyncValidator){this.status=hn,this._hasOwnPendingAsyncValidator=!0;const w=Xe(this.asyncValidator(this));this._asyncValidationSubscription=w.subscribe(it=>{this._hasOwnPendingAsyncValidator=!1,this.setErrors(it,{emitEvent:B})})}}_cancelExistingSubscription(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)}setErrors(B,w={}){this.errors=B,this._updateControlsErrors(!1!==w.emitEvent)}get(B){let w=B;return null==w||(Array.isArray(w)||(w=w.split(".")),0===w.length)?null:w.reduce((it,Bt)=>it&&it._find(Bt),this)}getError(B,w){const it=w?this.get(w):this;return it&&it.errors?it.errors[B]:null}hasError(B,w){return!!this.getError(B,w)}get root(){let B=this;for(;B._parent;)B=B._parent;return B}_updateControlsErrors(B){this.status=this._calculateStatus(),B&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(B)}_initObservables(){this.valueChanges=new o.bkB,this.statusChanges=new o.bkB}_calculateStatus(){return this._allControlsDisabled()?fe:this.errors?_n:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(hn)?hn:this._anyControlsHaveStatus(_n)?_n:on}_anyControlsHaveStatus(B){return this._anyControls(w=>w.status===B)}_anyControlsDirty(){return this._anyControls(B=>B.dirty)}_anyControlsTouched(){return this._anyControls(B=>B.touched)}_updatePristine(B={}){this.pristine=!this._anyControlsDirty(),this._parent&&!B.onlySelf&&this._parent._updatePristine(B)}_updateTouched(B={}){this.touched=this._anyControlsTouched(),this._parent&&!B.onlySelf&&this._parent._updateTouched(B)}_registerOnCollectionChange(B){this._onCollectionChange=B}_setUpdateStrategy(B){dt(B)&&null!=B.updateOn&&(this._updateOn=B.updateOn)}_parentMarkedDirty(B){return!B&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}_find(B){return null}_assignValidators(B){this._rawValidators=Array.isArray(B)?B.slice():B,this._composedValidatorFn=function me(S){return Array.isArray(S)?Me(S):S||null}(this._rawValidators)}_assignAsyncValidators(B){this._rawAsyncValidators=Array.isArray(B)?B.slice():B,this._composedAsyncValidatorFn=function Dt(S){return Array.isArray(S)?Kt(S):S||null}(this._rawAsyncValidators)}}class Zt extends ze{constructor(B,w,it){super(cn(w),jt(it,w)),this.controls=B,this._initObservables(),this._setUpdateStrategy(w),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}registerControl(B,w){return this.controls[B]?this.controls[B]:(this.controls[B]=w,w.setParent(this),w._registerOnCollectionChange(this._onCollectionChange),w)}addControl(B,w,it={}){this.registerControl(B,w),this.updateValueAndValidity({emitEvent:it.emitEvent}),this._onCollectionChange()}removeControl(B,w={}){this.controls[B]&&this.controls[B]._registerOnCollectionChange(()=>{}),delete this.controls[B],this.updateValueAndValidity({emitEvent:w.emitEvent}),this._onCollectionChange()}setControl(B,w,it={}){this.controls[B]&&this.controls[B]._registerOnCollectionChange(()=>{}),delete this.controls[B],w&&this.registerControl(B,w),this.updateValueAndValidity({emitEvent:it.emitEvent}),this._onCollectionChange()}contains(B){return this.controls.hasOwnProperty(B)&&this.controls[B].enabled}setValue(B,w={}){ae(this,0,B),Object.keys(B).forEach(it=>{Rt(this,!0,it),this.controls[it].setValue(B[it],{onlySelf:!0,emitEvent:w.emitEvent})}),this.updateValueAndValidity(w)}patchValue(B,w={}){null!=B&&(Object.keys(B).forEach(it=>{const Bt=this.controls[it];Bt&&Bt.patchValue(B[it],{onlySelf:!0,emitEvent:w.emitEvent})}),this.updateValueAndValidity(w))}reset(B={},w={}){this._forEachChild((it,Bt)=>{it.reset(B?B[Bt]:null,{onlySelf:!0,emitEvent:w.emitEvent})}),this._updatePristine(w),this._updateTouched(w),this.updateValueAndValidity(w)}getRawValue(){return this._reduceChildren({},(B,w,it)=>(B[it]=w.getRawValue(),B))}_syncPendingControls(){let B=this._reduceChildren(!1,(w,it)=>!!it._syncPendingControls()||w);return B&&this.updateValueAndValidity({onlySelf:!0}),B}_forEachChild(B){Object.keys(this.controls).forEach(w=>{const it=this.controls[w];it&&B(it,w)})}_setUpControls(){this._forEachChild(B=>{B.setParent(this),B._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(B){for(const[w,it]of Object.entries(this.controls))if(this.contains(w)&&B(it))return!0;return!1}_reduceValue(){return this._reduceChildren({},(w,it,Bt)=>((it.enabled||this.disabled)&&(w[Bt]=it.value),w))}_reduceChildren(B,w){let it=B;return this._forEachChild((Bt,en)=>{it=w(it,Bt,en)}),it}_allControlsDisabled(){for(const B of Object.keys(this.controls))if(this.controls[B].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_find(B){return this.controls.hasOwnProperty(B)?this.controls[B]:null}}class A extends Zt{}const Jt=new o.nKC("CallSetDisabledState",{providedIn:"root",factory:()=>Fe}),Fe="always";function Ze(S,B){return[...B.path,S]}function xn(S,B,w=Fe){ee(S,B),B.valueAccessor.writeValue(S.value),(S.disabled||"always"===w)&&B.valueAccessor.setDisabledState?.(S.disabled),function _t(S,B){B.valueAccessor.registerOnChange(w=>{S._pendingValue=w,S._pendingChange=!0,S._pendingDirty=!0,"change"===S.updateOn&&Mt(S,B)})}(S,B),function Wt(S,B){const w=(it,Bt)=>{B.valueAccessor.writeValue(it),Bt&&B.viewToModelUpdate(it)};S.registerOnChange(w),B._registerOnDestroy(()=>{S._unregisterOnChange(w)})}(S,B),function Q(S,B){B.valueAccessor.registerOnTouched(()=>{S._pendingTouched=!0,"blur"===S.updateOn&&S._pendingChange&&Mt(S,B),"submit"!==S.updateOn&&S.markAsTouched()})}(S,B),function Qn(S,B){if(B.valueAccessor.setDisabledState){const w=it=>{B.valueAccessor.setDisabledState(it)};S.registerOnDisabledChange(w),B._registerOnDestroy(()=>{S._unregisterOnDisabledChange(w)})}}(S,B)}function Ie(S,B,w=!0){const it=()=>{};B.valueAccessor&&(B.valueAccessor.registerOnChange(it),B.valueAccessor.registerOnTouched(it)),I(S,B),S&&(B._invokeOnDestroyCallbacks(),S._registerOnCollectionChange(()=>{}))}function Nn(S,B){S.forEach(w=>{w.registerOnValidatorChange&&w.registerOnValidatorChange(B)})}function ee(S,B){const w=Tt(S);null!==B.validator?S.setValidators(Nt(w,B.validator)):"function"==typeof w&&S.setValidators([w]);const it=Yt(S);null!==B.asyncValidator?S.setAsyncValidators(Nt(it,B.asyncValidator)):"function"==typeof it&&S.setAsyncValidators([it]);const Bt=()=>S.updateValueAndValidity();Nn(B._rawValidators,Bt),Nn(B._rawAsyncValidators,Bt)}function I(S,B){let w=!1;if(null!==S){if(null!==B.validator){const Bt=Tt(S);if(Array.isArray(Bt)&&Bt.length>0){const en=Bt.filter(zn=>zn!==B.validator);en.length!==Bt.length&&(w=!0,S.setValidators(en))}}if(null!==B.asyncValidator){const Bt=Yt(S);if(Array.isArray(Bt)&&Bt.length>0){const en=Bt.filter(zn=>zn!==B.asyncValidator);en.length!==Bt.length&&(w=!0,S.setAsyncValidators(en))}}}const it=()=>{};return Nn(B._rawValidators,it),Nn(B._rawAsyncValidators,it),w}function Mt(S,B){S._pendingDirty&&S.markAsDirty(),S.setValue(S._pendingValue,{emitModelToViewChange:!1}),B.viewToModelUpdate(S._pendingValue),S._pendingChange=!1}function se(S,B){ee(S,B)}function Dn(S,B){if(!S.hasOwnProperty("model"))return!1;const w=S.model;return!!w.isFirstChange()||!Object.is(B,w.currentValue)}function Mn(S,B){S._syncPendingControls(),B.forEach(w=>{const it=w.control;"submit"===it.updateOn&&it._pendingChange&&(w.viewToModelUpdate(it._pendingValue),it._pendingChange=!1)})}function In(S,B){if(!B)return null;let w,it,Bt;return Array.isArray(B),B.forEach(en=>{en.constructor===a?w=en:function Fn(S){return Object.getPrototypeOf(S.constructor)===P}(en)?it=en:Bt=en}),Bt||it||w||null}const Bn={provide:le,useExisting:(0,o.Rfq)(()=>Mi)},Jn=(()=>Promise.resolve())();let Mi=(()=>{class S extends le{constructor(w,it,Bt){super(),this.callSetDisabledState=Bt,this.submitted=!1,this._directives=new Set,this.ngSubmit=new o.bkB,this.form=new Zt({},Me(w),Kt(it))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(w){Jn.then(()=>{const it=this._findContainer(w.path);w.control=it.registerControl(w.name,w.control),xn(w.control,w,this.callSetDisabledState),w.control.updateValueAndValidity({emitEvent:!1}),this._directives.add(w)})}getControl(w){return this.form.get(w.path)}removeControl(w){Jn.then(()=>{const it=this._findContainer(w.path);it&&it.removeControl(w.name),this._directives.delete(w)})}addFormGroup(w){Jn.then(()=>{const it=this._findContainer(w.path),Bt=new Zt({});se(Bt,w),it.registerControl(w.name,Bt),Bt.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(w){Jn.then(()=>{const it=this._findContainer(w.path);it&&it.removeControl(w.name)})}getFormGroup(w){return this.form.get(w.path)}updateModel(w,it){Jn.then(()=>{this.form.get(w.path).setValue(it)})}setValue(w){this.control.setValue(w)}onSubmit(w){return this.submitted=!0,Mn(this.form,this._directives),this.ngSubmit.emit(w),"dialog"===w?.target?.method}onReset(){this.resetForm()}resetForm(w=void 0){this.form.reset(w),this.submitted=!1}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.form._updateOn=this.options.updateOn)}_findContainer(w){return w.pop(),w.length?this.form.get(w):this.form}static{this.\u0275fac=function(it){return new(it||S)(o.rXU(J,10),o.rXU(bt,10),o.rXU(Jt,8))}}static{this.\u0275dir=o.FsC({type:S,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(it,Bt){1&it&&o.bIt("submit",function(zn){return Bt.onSubmit(zn)})("reset",function(){return Bt.onReset()})},inputs:{options:["ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[o.Jv_([Bn]),o.Vt3]})}}return S})();function pi(S,B){const w=S.indexOf(B);w>-1&&S.splice(w,1)}function Fi(S){return"object"==typeof S&&null!==S&&2===Object.keys(S).length&&"value"in S&&"disabled"in S}const oi=class extends ze{constructor(B=null,w,it){super(cn(w),jt(it,w)),this.defaultValue=null,this._onChange=[],this._pendingChange=!1,this._applyFormState(B),this._setUpdateStrategy(w),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),dt(w)&&(w.nonNullable||w.initialValueIsDefault)&&(this.defaultValue=Fi(B)?B.value:B)}setValue(B,w={}){this.value=this._pendingValue=B,this._onChange.length&&!1!==w.emitModelToViewChange&&this._onChange.forEach(it=>it(this.value,!1!==w.emitViewToModelChange)),this.updateValueAndValidity(w)}patchValue(B,w={}){this.setValue(B,w)}reset(B=this.defaultValue,w={}){this._applyFormState(B),this.markAsPristine(w),this.markAsUntouched(w),this.setValue(this.value,w),this._pendingChange=!1}_updateValue(){}_anyControls(B){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(B){this._onChange.push(B)}_unregisterOnChange(B){pi(this._onChange,B)}registerOnDisabledChange(B){this._onDisabledChange.push(B)}_unregisterOnDisabledChange(B){pi(this._onDisabledChange,B)}_forEachChild(B){}_syncPendingControls(){return!("submit"!==this.updateOn||(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),!this._pendingChange)||(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),0))}_applyFormState(B){Fi(B)?(this.value=this._pendingValue=B.value,B.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=B}};let si=(()=>{class S extends le{ngOnInit(){this._checkParentType(),this.formDirective.addFormGroup(this)}ngOnDestroy(){this.formDirective&&this.formDirective.removeFormGroup(this)}get control(){return this.formDirective.getFormGroup(this)}get path(){return Ze(null==this.name?this.name:this.name.toString(),this._parent)}get formDirective(){return this._parent?this._parent.formDirective:null}_checkParentType(){}static{this.\u0275fac=function(){let w;return function(Bt){return(w||(w=o.xGo(S)))(Bt||S)}}()}static{this.\u0275dir=o.FsC({type:S,features:[o.Vt3]})}}return S})();const wo={provide:Vt,useExisting:(0,o.Rfq)(()=>Oi)},Jc=(()=>Promise.resolve())();let Oi=(()=>{class S extends Vt{constructor(w,it,Bt,en,zn,wi){super(),this._changeDetectorRef=zn,this.callSetDisabledState=wi,this.control=new oi,this._registered=!1,this.name="",this.update=new o.bkB,this._parent=w,this._setValidators(it),this._setAsyncValidators(Bt),this.valueAccessor=In(0,en)}ngOnChanges(w){if(this._checkForErrors(),!this._registered||"name"in w){if(this._registered&&(this._checkName(),this.formDirective)){const it=w.name.previousValue;this.formDirective.removeControl({name:it,path:this._getPath(it)})}this._setUpControl()}"isDisabled"in w&&this._updateDisabled(w),Dn(w,this.viewModel)&&(this._updateValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}get path(){return this._getPath(this.name)}get formDirective(){return this._parent?this._parent.formDirective:null}viewToModelUpdate(w){this.viewModel=w,this.update.emit(w)}_setUpControl(){this._setUpdateStrategy(),this._isStandalone()?this._setUpStandalone():this.formDirective.addControl(this),this._registered=!0}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.control._updateOn=this.options.updateOn)}_isStandalone(){return!this._parent||!(!this.options||!this.options.standalone)}_setUpStandalone(){xn(this.control,this,this.callSetDisabledState),this.control.updateValueAndValidity({emitEvent:!1})}_checkForErrors(){this._isStandalone()||this._checkParentType(),this._checkName()}_checkParentType(){}_checkName(){this.options&&this.options.name&&(this.name=this.options.name),this._isStandalone()}_updateValue(w){Jc.then(()=>{this.control.setValue(w,{emitViewToModelChange:!1}),this._changeDetectorRef?.markForCheck()})}_updateDisabled(w){const it=w.isDisabled.currentValue,Bt=0!==it&&(0,o.L39)(it);Jc.then(()=>{Bt&&!this.control.disabled?this.control.disable():!Bt&&this.control.disabled&&this.control.enable(),this._changeDetectorRef?.markForCheck()})}_getPath(w){return this._parent?Ze(w,this._parent):[w]}static{this.\u0275fac=function(it){return new(it||S)(o.rXU(le,9),o.rXU(J,10),o.rXU(bt,10),o.rXU(Z,10),o.rXU(o.gRc,8),o.rXU(Jt,8))}}static{this.\u0275dir=o.FsC({type:S,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:["disabled","isDisabled"],model:["ngModel","model"],options:["ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],features:[o.Jv_([wo]),o.Vt3,o.OA$]})}}return S})(),mc=(()=>{class S{static{this.\u0275fac=function(it){return new(it||S)}}static{this.\u0275dir=o.FsC({type:S,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""]})}}return S})();const Bo={provide:Z,useExisting:(0,o.Rfq)(()=>Vo),multi:!0};let Vo=(()=>{class S extends P{writeValue(w){this.setProperty("value",w??"")}registerOnChange(w){this.onChange=it=>{w(""==it?null:parseFloat(it))}}static{this.\u0275fac=function(){let w;return function(Bt){return(w||(w=o.xGo(S)))(Bt||S)}}()}static{this.\u0275dir=o.FsC({type:S,selectors:[["input","type","number","formControlName",""],["input","type","number","formControl",""],["input","type","number","ngModel",""]],hostBindings:function(it,Bt){1&it&&o.bIt("input",function(zn){return Bt.onChange(zn.target.value)})("blur",function(){return Bt.onTouched()})},features:[o.Jv_([Bo]),o.Vt3]})}}return S})();const Ec={provide:Z,useExisting:(0,o.Rfq)(()=>Uo),multi:!0};let Ji=(()=>{class S{static{this.\u0275fac=function(it){return new(it||S)}}static{this.\u0275mod=o.$C({type:S})}static{this.\u0275inj=o.G2t({})}}return S})(),fc=(()=>{class S{constructor(){this._accessors=[]}add(w,it){this._accessors.push([w,it])}remove(w){for(let it=this._accessors.length-1;it>=0;--it)if(this._accessors[it][1]===w)return void this._accessors.splice(it,1)}select(w){this._accessors.forEach(it=>{this._isSameGroup(it,w)&&it[1]!==w&&it[1].fireUncheck(w.value)})}_isSameGroup(w,it){return!!w[0].control&&w[0]._parent===it._control._parent&&w[1].name===it.name}static{this.\u0275fac=function(it){return new(it||S)}}static{this.\u0275prov=o.jDH({token:S,factory:S.\u0275fac,providedIn:Ji})}}return S})(),Uo=(()=>{class S extends P{constructor(w,it,Bt,en){super(w,it),this._registry=Bt,this._injector=en,this.setDisabledStateFired=!1,this.onChange=()=>{},this.callSetDisabledState=(0,o.WQX)(Jt,{optional:!0})??Fe}ngOnInit(){this._control=this._injector.get(Vt),this._checkName(),this._registry.add(this._control,this)}ngOnDestroy(){this._registry.remove(this)}writeValue(w){this._state=w===this.value,this.setProperty("checked",this._state)}registerOnChange(w){this._fn=w,this.onChange=()=>{w(this.value),this._registry.select(this)}}setDisabledState(w){(this.setDisabledStateFired||w||"whenDisabledForLegacyCode"===this.callSetDisabledState)&&this.setProperty("disabled",w),this.setDisabledStateFired=!0}fireUncheck(w){this.writeValue(w)}_checkName(){!this.name&&this.formControlName&&(this.name=this.formControlName)}static{this.\u0275fac=function(it){return new(it||S)(o.rXU(o.sFG),o.rXU(o.aKT),o.rXU(fc),o.rXU(o.zZn))}}static{this.\u0275dir=o.FsC({type:S,selectors:[["input","type","radio","formControlName",""],["input","type","radio","formControl",""],["input","type","radio","ngModel",""]],hostBindings:function(it,Bt){1&it&&o.bIt("change",function(){return Bt.onChange()})("blur",function(){return Bt.onTouched()})},inputs:{name:"name",formControlName:"formControlName",value:"value"},features:[o.Jv_([Ec]),o.Vt3]})}}return S})();const En=new o.nKC("NgModelWithFormControlWarning"),di={provide:Vt,useExisting:(0,o.Rfq)(()=>ei)};let ei=(()=>{class S extends Vt{set isDisabled(w){}static{this._ngModelWarningSentOnce=!1}constructor(w,it,Bt,en,zn){super(),this._ngModelWarningConfig=en,this.callSetDisabledState=zn,this.update=new o.bkB,this._ngModelWarningSent=!1,this._setValidators(w),this._setAsyncValidators(it),this.valueAccessor=In(0,Bt)}ngOnChanges(w){if(this._isControlChanged(w)){const it=w.form.previousValue;it&&Ie(it,this,!1),xn(this.form,this,this.callSetDisabledState),this.form.updateValueAndValidity({emitEvent:!1})}Dn(w,this.viewModel)&&(this.form.setValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.form&&Ie(this.form,this,!1)}get path(){return[]}get control(){return this.form}viewToModelUpdate(w){this.viewModel=w,this.update.emit(w)}_isControlChanged(w){return w.hasOwnProperty("form")}static{this.\u0275fac=function(it){return new(it||S)(o.rXU(J,10),o.rXU(bt,10),o.rXU(Z,10),o.rXU(En,8),o.rXU(Jt,8))}}static{this.\u0275dir=o.FsC({type:S,selectors:[["","formControl",""]],inputs:{form:["formControl","form"],isDisabled:["disabled","isDisabled"],model:["ngModel","model"]},outputs:{update:"ngModelChange"},exportAs:["ngForm"],features:[o.Jv_([di]),o.Vt3,o.OA$]})}}return S})();const Eo={provide:le,useExisting:(0,o.Rfq)(()=>ci)};let ci=(()=>{class S extends le{constructor(w,it,Bt){super(),this.callSetDisabledState=Bt,this.submitted=!1,this._onCollectionChange=()=>this._updateDomValue(),this.directives=[],this.form=null,this.ngSubmit=new o.bkB,this._setValidators(w),this._setAsyncValidators(it)}ngOnChanges(w){this._checkFormPresent(),w.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}ngOnDestroy(){this.form&&(I(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(()=>{}))}get formDirective(){return this}get control(){return this.form}get path(){return[]}addControl(w){const it=this.form.get(w.path);return xn(it,w,this.callSetDisabledState),it.updateValueAndValidity({emitEvent:!1}),this.directives.push(w),it}getControl(w){return this.form.get(w.path)}removeControl(w){Ie(w.control||null,w,!1),function li(S,B){const w=S.indexOf(B);w>-1&&S.splice(w,1)}(this.directives,w)}addFormGroup(w){this._setUpFormContainer(w)}removeFormGroup(w){this._cleanUpFormContainer(w)}getFormGroup(w){return this.form.get(w.path)}addFormArray(w){this._setUpFormContainer(w)}removeFormArray(w){this._cleanUpFormContainer(w)}getFormArray(w){return this.form.get(w.path)}updateModel(w,it){this.form.get(w.path).setValue(it)}onSubmit(w){return this.submitted=!0,Mn(this.form,this.directives),this.ngSubmit.emit(w),"dialog"===w?.target?.method}onReset(){this.resetForm()}resetForm(w=void 0){this.form.reset(w),this.submitted=!1}_updateDomValue(){this.directives.forEach(w=>{const it=w.control,Bt=this.form.get(w.path);it!==Bt&&(Ie(it||null,w),(S=>S instanceof oi)(Bt)&&(xn(Bt,w,this.callSetDisabledState),w.control=Bt))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(w){const it=this.form.get(w.path);se(it,w),it.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(w){if(this.form){const it=this.form.get(w.path);it&&function De(S,B){return I(S,B)}(it,w)&&it.updateValueAndValidity({emitEvent:!1})}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{})}_updateValidators(){ee(this.form,this),this._oldForm&&I(this._oldForm,this)}_checkFormPresent(){}static{this.\u0275fac=function(it){return new(it||S)(o.rXU(J,10),o.rXU(bt,10),o.rXU(Jt,8))}}static{this.\u0275dir=o.FsC({type:S,selectors:[["","formGroup",""]],hostBindings:function(it,Bt){1&it&&o.bIt("submit",function(zn){return Bt.onSubmit(zn)})("reset",function(){return Bt.onReset()})},inputs:{form:["formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[o.Jv_([Eo]),o.Vt3,o.OA$]})}}return S})();const Wi={provide:le,useExisting:(0,o.Rfq)(()=>Do)};let Do=(()=>{class S extends si{constructor(w,it,Bt){super(),this.name=null,this._parent=w,this._setValidators(it),this._setAsyncValidators(Bt)}_checkParentType(){qo(this._parent)}static{this.\u0275fac=function(it){return new(it||S)(o.rXU(le,13),o.rXU(J,10),o.rXU(bt,10))}}static{this.\u0275dir=o.FsC({type:S,selectors:[["","formGroupName",""]],inputs:{name:["formGroupName","name"]},features:[o.Jv_([Wi]),o.Vt3]})}}return S})();const Oo={provide:le,useExisting:(0,o.Rfq)(()=>mo)};let mo=(()=>{class S extends le{constructor(w,it,Bt){super(),this.name=null,this._parent=w,this._setValidators(it),this._setAsyncValidators(Bt)}ngOnInit(){this._checkParentType(),this.formDirective.addFormArray(this)}ngOnDestroy(){this.formDirective&&this.formDirective.removeFormArray(this)}get control(){return this.formDirective.getFormArray(this)}get formDirective(){return this._parent?this._parent.formDirective:null}get path(){return Ze(null==this.name?this.name:this.name.toString(),this._parent)}_checkParentType(){qo(this._parent)}static{this.\u0275fac=function(it){return new(it||S)(o.rXU(le,13),o.rXU(J,10),o.rXU(bt,10))}}static{this.\u0275dir=o.FsC({type:S,selectors:[["","formArrayName",""]],inputs:{name:["formArrayName","name"]},features:[o.Jv_([Oo]),o.Vt3]})}}return S})();function qo(S){return!(S instanceof Do||S instanceof ci||S instanceof mo)}const qn={provide:Vt,useExisting:(0,o.Rfq)(()=>We)};let We=(()=>{class S extends Vt{set isDisabled(w){}static{this._ngModelWarningSentOnce=!1}constructor(w,it,Bt,en,zn){super(),this._ngModelWarningConfig=zn,this._added=!1,this.name=null,this.update=new o.bkB,this._ngModelWarningSent=!1,this._parent=w,this._setValidators(it),this._setAsyncValidators(Bt),this.valueAccessor=In(0,en)}ngOnChanges(w){this._added||this._setUpControl(),Dn(w,this.viewModel)&&(this.viewModel=this.model,this.formDirective.updateModel(this,this.model))}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}viewToModelUpdate(w){this.viewModel=w,this.update.emit(w)}get path(){return Ze(null==this.name?this.name:this.name.toString(),this._parent)}get formDirective(){return this._parent?this._parent.formDirective:null}_checkParentType(){}_setUpControl(){this._checkParentType(),this.control=this.formDirective.addControl(this),this._added=!0}static{this.\u0275fac=function(it){return new(it||S)(o.rXU(le,13),o.rXU(J,10),o.rXU(bt,10),o.rXU(Z,10),o.rXU(En,8))}}static{this.\u0275dir=o.FsC({type:S,selectors:[["","formControlName",""]],inputs:{name:["formControlName","name"],isDisabled:["disabled","isDisabled"],model:["ngModel","model"]},outputs:{update:"ngModelChange"},features:[o.Jv_([qn]),o.Vt3,o.OA$]})}}return S})();const Cn={provide:Z,useExisting:(0,o.Rfq)(()=>Bi),multi:!0};function Hn(S,B){return null==S?`${B}`:(B&&"object"==typeof B&&(B="Object"),`${S}: ${B}`.slice(0,50))}let Bi=(()=>{class S extends P{constructor(){super(...arguments),this._optionMap=new Map,this._idCounter=0,this._compareWith=Object.is}set compareWith(w){this._compareWith=w}writeValue(w){this.value=w;const Bt=Hn(this._getOptionId(w),w);this.setProperty("value",Bt)}registerOnChange(w){this.onChange=it=>{this.value=this._getOptionValue(it),w(this.value)}}_registerOption(){return(this._idCounter++).toString()}_getOptionId(w){for(const it of this._optionMap.keys())if(this._compareWith(this._optionMap.get(it),w))return it;return null}_getOptionValue(w){const it=function Si(S){return S.split(":")[0]}(w);return this._optionMap.has(it)?this._optionMap.get(it):w}static{this.\u0275fac=function(){let w;return function(Bt){return(w||(w=o.xGo(S)))(Bt||S)}}()}static{this.\u0275dir=o.FsC({type:S,selectors:[["select","formControlName","",3,"multiple",""],["select","formControl","",3,"multiple",""],["select","ngModel","",3,"multiple",""]],hostBindings:function(it,Bt){1&it&&o.bIt("change",function(zn){return Bt.onChange(zn.target.value)})("blur",function(){return Bt.onTouched()})},inputs:{compareWith:"compareWith"},features:[o.Jv_([Cn]),o.Vt3]})}}return S})(),gi=(()=>{class S{constructor(w,it,Bt){this._element=w,this._renderer=it,this._select=Bt,this._select&&(this.id=this._select._registerOption())}set ngValue(w){null!=this._select&&(this._select._optionMap.set(this.id,w),this._setElementValue(Hn(this.id,w)),this._select.writeValue(this._select.value))}set value(w){this._setElementValue(w),this._select&&this._select.writeValue(this._select.value)}_setElementValue(w){this._renderer.setProperty(this._element.nativeElement,"value",w)}ngOnDestroy(){this._select&&(this._select._optionMap.delete(this.id),this._select.writeValue(this._select.value))}static{this.\u0275fac=function(it){return new(it||S)(o.rXU(o.aKT),o.rXU(o.sFG),o.rXU(Bi,9))}}static{this.\u0275dir=o.FsC({type:S,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"}})}}return S})();const So={provide:Z,useExisting:(0,o.Rfq)(()=>bn),multi:!0};function Vn(S,B){return null==S?`${B}`:("string"==typeof B&&(B=`'${B}'`),B&&"object"==typeof B&&(B="Object"),`${S}: ${B}`.slice(0,50))}let bn=(()=>{class S extends P{constructor(){super(...arguments),this._optionMap=new Map,this._idCounter=0,this._compareWith=Object.is}set compareWith(w){this._compareWith=w}writeValue(w){let it;if(this.value=w,Array.isArray(w)){const Bt=w.map(en=>this._getOptionId(en));it=(en,zn)=>{en._setSelected(Bt.indexOf(zn.toString())>-1)}}else it=(Bt,en)=>{Bt._setSelected(!1)};this._optionMap.forEach(it)}registerOnChange(w){this.onChange=it=>{const Bt=[],en=it.selectedOptions;if(void 0!==en){const zn=en;for(let wi=0;wi{class S{constructor(w,it,Bt){this._element=w,this._renderer=it,this._select=Bt,this._select&&(this.id=this._select._registerOption(this))}set ngValue(w){null!=this._select&&(this._value=w,this._setElementValue(Vn(this.id,w)),this._select.writeValue(this._select.value))}set value(w){this._select?(this._value=w,this._setElementValue(Vn(this.id,w)),this._select.writeValue(this._select.value)):this._setElementValue(w)}_setElementValue(w){this._renderer.setProperty(this._element.nativeElement,"value",w)}_setSelected(w){this._renderer.setProperty(this._element.nativeElement,"selected",w)}ngOnDestroy(){this._select&&(this._select._optionMap.delete(this.id),this._select.writeValue(this._select.value))}static{this.\u0275fac=function(it){return new(it||S)(o.rXU(o.aKT),o.rXU(o.sFG),o.rXU(bn,9))}}static{this.\u0275dir=o.FsC({type:S,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"}})}}return S})();function zi(S){return"number"==typeof S?S:parseFloat(S)}let $n=(()=>{class S{constructor(){this._validator=Le}ngOnChanges(w){if(this.inputName in w){const it=this.normalizeInput(w[this.inputName].currentValue);this._enabled=this.enabled(it),this._validator=this._enabled?this.createValidator(it):Le,this._onChange&&this._onChange()}}validate(w){return this._validator(w)}registerOnValidatorChange(w){this._onChange=w}enabled(w){return null!=w}static{this.\u0275fac=function(it){return new(it||S)}}static{this.\u0275dir=o.FsC({type:S,features:[o.OA$]})}}return S})();const zo={provide:J,useExisting:(0,o.Rfq)(()=>fo),multi:!0};let fo=(()=>{class S extends $n{constructor(){super(...arguments),this.inputName="max",this.normalizeInput=w=>zi(w),this.createValidator=w=>lt(w)}static{this.\u0275fac=function(){let w;return function(Bt){return(w||(w=o.xGo(S)))(Bt||S)}}()}static{this.\u0275dir=o.FsC({type:S,selectors:[["input","type","number","max","","formControlName",""],["input","type","number","max","","formControl",""],["input","type","number","max","","ngModel",""]],hostVars:1,hostBindings:function(it,Bt){2&it&&o.BMQ("max",Bt._enabled?Bt.max:null)},inputs:{max:"max"},features:[o.Jv_([zo]),o.Vt3]})}}return S})();const ho={provide:J,useExisting:(0,o.Rfq)(()=>Ho),multi:!0};let Ho=(()=>{class S extends $n{constructor(){super(...arguments),this.inputName="min",this.normalizeInput=w=>zi(w),this.createValidator=w=>$(w)}static{this.\u0275fac=function(){let w;return function(Bt){return(w||(w=o.xGo(S)))(Bt||S)}}()}static{this.\u0275dir=o.FsC({type:S,selectors:[["input","type","number","min","","formControlName",""],["input","type","number","min","","formControl",""],["input","type","number","min","","ngModel",""]],hostVars:1,hostBindings:function(it,Bt){2&it&&o.BMQ("min",Bt._enabled?Bt.min:null)},inputs:{min:"min"},features:[o.Jv_([ho]),o.Vt3]})}}return S})();const Vi={provide:J,useExisting:(0,o.Rfq)(()=>Pi),multi:!0},Po={provide:J,useExisting:(0,o.Rfq)(()=>eo),multi:!0};let Pi=(()=>{class S extends $n{constructor(){super(...arguments),this.inputName="required",this.normalizeInput=o.L39,this.createValidator=w=>V}enabled(w){return w}static{this.\u0275fac=function(){let w;return function(Bt){return(w||(w=o.xGo(S)))(Bt||S)}}()}static{this.\u0275dir=o.FsC({type:S,selectors:[["","required","","formControlName","",3,"type","checkbox"],["","required","","formControl","",3,"type","checkbox"],["","required","","ngModel","",3,"type","checkbox"]],hostVars:1,hostBindings:function(it,Bt){2&it&&o.BMQ("required",Bt._enabled?"":null)},inputs:{required:"required"},features:[o.Jv_([Vi]),o.Vt3]})}}return S})(),eo=(()=>{class S extends Pi{constructor(){super(...arguments),this.createValidator=w=>mt}static{this.\u0275fac=function(){let w;return function(Bt){return(w||(w=o.xGo(S)))(Bt||S)}}()}static{this.\u0275dir=o.FsC({type:S,selectors:[["input","type","checkbox","required","","formControlName",""],["input","type","checkbox","required","","formControl",""],["input","type","checkbox","required","","ngModel",""]],hostVars:1,hostBindings:function(it,Bt){2&it&&o.BMQ("required",Bt._enabled?"":null)},features:[o.Jv_([Po]),o.Vt3]})}}return S})();const ko={provide:J,useExisting:(0,o.Rfq)(()=>ui),multi:!0};let ui=(()=>{class S extends $n{constructor(){super(...arguments),this.inputName="maxlength",this.normalizeInput=w=>function to(S){return"number"==typeof S?S:parseInt(S,10)}(w),this.createValidator=w=>de(w)}static{this.\u0275fac=function(){let w;return function(Bt){return(w||(w=o.xGo(S)))(Bt||S)}}()}static{this.\u0275dir=o.FsC({type:S,selectors:[["","maxlength","","formControlName",""],["","maxlength","","formControl",""],["","maxlength","","ngModel",""]],hostVars:1,hostBindings:function(it,Bt){2&it&&o.BMQ("maxlength",Bt._enabled?Bt.maxlength:null)},inputs:{maxlength:"maxlength"},features:[o.Jv_([ko]),o.Vt3]})}}return S})(),mi=(()=>{class S{static{this.\u0275fac=function(it){return new(it||S)}}static{this.\u0275mod=o.$C({type:S})}static{this.\u0275inj=o.G2t({imports:[Ji]})}}return S})();class xi extends ze{constructor(B,w,it){super(cn(w),jt(it,w)),this.controls=B,this._initObservables(),this._setUpdateStrategy(w),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}at(B){return this.controls[this._adjustIndex(B)]}push(B,w={}){this.controls.push(B),this._registerControl(B),this.updateValueAndValidity({emitEvent:w.emitEvent}),this._onCollectionChange()}insert(B,w,it={}){this.controls.splice(B,0,w),this._registerControl(w),this.updateValueAndValidity({emitEvent:it.emitEvent})}removeAt(B,w={}){let it=this._adjustIndex(B);it<0&&(it=0),this.controls[it]&&this.controls[it]._registerOnCollectionChange(()=>{}),this.controls.splice(it,1),this.updateValueAndValidity({emitEvent:w.emitEvent})}setControl(B,w,it={}){let Bt=this._adjustIndex(B);Bt<0&&(Bt=0),this.controls[Bt]&&this.controls[Bt]._registerOnCollectionChange(()=>{}),this.controls.splice(Bt,1),w&&(this.controls.splice(Bt,0,w),this._registerControl(w)),this.updateValueAndValidity({emitEvent:it.emitEvent}),this._onCollectionChange()}get length(){return this.controls.length}setValue(B,w={}){ae(this,0,B),B.forEach((it,Bt)=>{Rt(this,!1,Bt),this.at(Bt).setValue(it,{onlySelf:!0,emitEvent:w.emitEvent})}),this.updateValueAndValidity(w)}patchValue(B,w={}){null!=B&&(B.forEach((it,Bt)=>{this.at(Bt)&&this.at(Bt).patchValue(it,{onlySelf:!0,emitEvent:w.emitEvent})}),this.updateValueAndValidity(w))}reset(B=[],w={}){this._forEachChild((it,Bt)=>{it.reset(B[Bt],{onlySelf:!0,emitEvent:w.emitEvent})}),this._updatePristine(w),this._updateTouched(w),this.updateValueAndValidity(w)}getRawValue(){return this.controls.map(B=>B.getRawValue())}clear(B={}){this.controls.length<1||(this._forEachChild(w=>w._registerOnCollectionChange(()=>{})),this.controls.splice(0),this.updateValueAndValidity({emitEvent:B.emitEvent}))}_adjustIndex(B){return B<0?B+this.length:B}_syncPendingControls(){let B=this.controls.reduce((w,it)=>!!it._syncPendingControls()||w,!1);return B&&this.updateValueAndValidity({onlySelf:!0}),B}_forEachChild(B){this.controls.forEach((w,it)=>{B(w,it)})}_updateValue(){this.value=this.controls.filter(B=>B.enabled||this.disabled).map(B=>B.value)}_anyControls(B){return this.controls.some(w=>w.enabled&&B(w))}_setUpControls(){this._forEachChild(B=>this._registerControl(B))}_allControlsDisabled(){for(const B of this.controls)if(B.enabled)return!1;return this.controls.length>0||this.disabled}_registerControl(B){B.setParent(this),B._registerOnCollectionChange(this._onCollectionChange)}_find(B){return this.at(B)??null}}function To(S){return!!S&&(void 0!==S.asyncValidators||void 0!==S.validators||void 0!==S.updateOn)}let ji=(()=>{class S{constructor(){this.useNonNullable=!1}get nonNullable(){const w=new S;return w.useNonNullable=!0,w}group(w,it=null){const Bt=this._reduceControls(w);let en={};return To(it)?en=it:null!==it&&(en.validators=it.validator,en.asyncValidators=it.asyncValidator),new Zt(Bt,en)}record(w,it=null){const Bt=this._reduceControls(w);return new A(Bt,it)}control(w,it,Bt){let en={};return this.useNonNullable?(To(it)?en=it:(en.validators=it,en.asyncValidators=Bt),new oi(w,{...en,nonNullable:!0})):new oi(w,it,Bt)}array(w,it,Bt){const en=w.map(zn=>this._createControl(zn));return new xi(en,it,Bt)}_reduceControls(w){const it={};return Object.keys(w).forEach(Bt=>{it[Bt]=this._createControl(w[Bt])}),it}_createControl(w){return w instanceof oi||w instanceof ze?w:Array.isArray(w)?this.control(w[0],w.length>1?w[1]:null,w.length>2?w[2]:null):this.control(w)}static{this.\u0275fac=function(it){return new(it||S)}}static{this.\u0275prov=o.jDH({token:S,factory:S.\u0275fac,providedIn:"root"})}}return S})(),Oc=(()=>{class S{static withConfig(w){return{ngModule:S,providers:[{provide:Jt,useValue:w.callSetDisabledState??Fe}]}}static{this.\u0275fac=function(it){return new(it||S)}}static{this.\u0275mod=o.$C({type:S})}static{this.\u0275inj=o.G2t({imports:[mi]})}}return S})(),Sc=(()=>{class S{static withConfig(w){return{ngModule:S,providers:[{provide:En,useValue:w.warnOnNgModelWithFormControl??"always"},{provide:Jt,useValue:w.callSetDisabledState??Fe}]}}static{this.\u0275fac=function(it){return new(it||S)}}static{this.\u0275mod=o.$C({type:S})}static{this.\u0275inj=o.G2t({imports:[mi]})}}return S})()},68660:(Ce,Lt,r)=>{r.d(Lt,{$0:()=>ye,$z:()=>rt,Hl:()=>Me,It:()=>$t,iY:()=>Qe});var o=r(29094),y=r(1843),b=r(83607),T=r(8275),k=r(42250);const G=["mat-button",""],P=[[["",8,"material-icons",3,"iconPositionEnd",""],["mat-icon",3,"iconPositionEnd",""],["","matButtonIcon","",3,"iconPositionEnd",""]],"*",[["","iconPositionEnd","",8,"material-icons"],["mat-icon","iconPositionEnd",""],["","matButtonIcon","","iconPositionEnd",""]]],Z=[".material-icons:not([iconPositionEnd]), mat-icon:not([iconPositionEnd]), [matButtonIcon]:not([iconPositionEnd])","*",".material-icons[iconPositionEnd], mat-icon[iconPositionEnd], [matButtonIcon][iconPositionEnd]"],ot=".cdk-high-contrast-active .mat-mdc-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-unelevated-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-raised-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-outlined-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-icon-button{outline:solid 1px}",K=["mat-mini-fab",""],a=["mat-icon-button",""],pt=["*"],Gt=[{selector:"mat-button",mdcClasses:["mdc-button","mat-mdc-button"]},{selector:"mat-flat-button",mdcClasses:["mdc-button","mdc-button--unelevated","mat-mdc-unelevated-button"]},{selector:"mat-raised-button",mdcClasses:["mdc-button","mdc-button--raised","mat-mdc-raised-button"]},{selector:"mat-stroked-button",mdcClasses:["mdc-button","mdc-button--outlined","mat-mdc-outlined-button"]},{selector:"mat-fab",mdcClasses:["mdc-fab","mat-mdc-fab"]},{selector:"mat-mini-fab",mdcClasses:["mdc-fab","mdc-fab--mini","mat-mdc-mini-fab"]},{selector:"mat-icon-button",mdcClasses:["mdc-icon-button","mat-mdc-icon-button"]}],te=(0,k.Zc)((0,k.Ob)((0,k.GG)(class{constructor(yt){this._elementRef=yt}})));let $=(()=>{class yt extends te{get ripple(){return this._rippleLoader?.getRipple(this._elementRef.nativeElement)}set ripple(Nt){this._rippleLoader?.attachRipple(this._elementRef.nativeElement,Nt)}get disableRipple(){return this._disableRipple}set disableRipple(Nt){this._disableRipple=(0,T.he)(Nt),this._updateRippleDisabled()}get disabled(){return this._disabled}set disabled(Nt){this._disabled=(0,T.he)(Nt),this._updateRippleDisabled()}constructor(Nt,Tt,Yt,Ut){super(Nt),this._platform=Tt,this._ngZone=Yt,this._animationMode=Ut,this._focusMonitor=(0,y.WQX)(b.FN),this._rippleLoader=(0,y.WQX)(k.Ej),this._isFab=!1,this._disableRipple=!1,this._disabled=!1,this._rippleLoader?.configureRipple(this._elementRef.nativeElement,{className:"mat-mdc-button-ripple"});const Ne=Nt.nativeElement.classList;for(const ke of Gt)this._hasHostAttributes(ke.selector)&&ke.mdcClasses.forEach(un=>{Ne.add(un)})}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0)}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._rippleLoader?.destroyRipple(this._elementRef.nativeElement)}focus(Nt="program",Tt){Nt?this._focusMonitor.focusVia(this._elementRef.nativeElement,Nt,Tt):this._elementRef.nativeElement.focus(Tt)}_hasHostAttributes(...Nt){return Nt.some(Tt=>this._elementRef.nativeElement.hasAttribute(Tt))}_updateRippleDisabled(){this._rippleLoader?.setDisabled(this._elementRef.nativeElement,this.disableRipple||this.disabled)}static{this.\u0275fac=function(Tt){y.QTQ()}}static{this.\u0275dir=y.FsC({type:yt,features:[y.Vt3]})}}return yt})(),mt=(()=>{class yt extends ${constructor(Nt,Tt,Yt,Ut){super(Nt,Tt,Yt,Ut),this._haltDisabledEvents=Ne=>{this.disabled&&(Ne.preventDefault(),Ne.stopImmediatePropagation())}}ngOnInit(){this._ngZone.runOutsideAngular(()=>{this._elementRef.nativeElement.addEventListener("click",this._haltDisabledEvents)})}ngOnDestroy(){super.ngOnDestroy(),this._elementRef.nativeElement.removeEventListener("click",this._haltDisabledEvents)}static{this.\u0275fac=function(Tt){y.QTQ()}}static{this.\u0275dir=y.FsC({type:yt,features:[y.Vt3]})}}return yt})(),rt=(()=>{class yt extends ${constructor(Nt,Tt,Yt,Ut){super(Nt,Tt,Yt,Ut)}static{this.\u0275fac=function(Tt){return new(Tt||yt)(y.rXU(y.aKT),y.rXU(o.OD),y.rXU(y.SKi),y.rXU(y.bc$,8))}}static{this.\u0275cmp=y.VBU({type:yt,selectors:[["button","mat-button",""],["button","mat-raised-button",""],["button","mat-flat-button",""],["button","mat-stroked-button",""]],hostVars:7,hostBindings:function(Tt,Yt){2&Tt&&(y.BMQ("disabled",Yt.disabled||null),y.AVh("_mat-animation-noopable","NoopAnimations"===Yt._animationMode)("mat-unthemed",!Yt.color)("mat-mdc-button-base",!0))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color"},exportAs:["matButton"],features:[y.Vt3],attrs:G,ngContentSelectors:Z,decls:7,vars:4,consts:[[1,"mat-mdc-button-persistent-ripple"],[1,"mdc-button__label"],[1,"mat-mdc-focus-indicator"],[1,"mat-mdc-button-touch-target"]],template:function(Tt,Yt){1&Tt&&(y.NAR(P),y.nrm(0,"span",0),y.SdG(1),y.j41(2,"span",1),y.SdG(3,1),y.k0s(),y.SdG(4,2),y.nrm(5,"span",2)(6,"span",3)),2&Tt&&y.AVh("mdc-button__ripple",!Yt._isFab)("mdc-fab__ripple",Yt._isFab)},styles:['.mdc-touch-target-wrapper{display:inline}.mdc-elevation-overlay{position:absolute;border-radius:inherit;pointer-events:none;opacity:var(--mdc-elevation-overlay-opacity, 0);transition:opacity 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-button{position:relative;display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;min-width:64px;border:none;outline:none;line-height:inherit;user-select:none;-webkit-appearance:none;overflow:visible;vertical-align:middle;background:rgba(0,0,0,0)}.mdc-button .mdc-elevation-overlay{width:100%;height:100%;top:0;left:0}.mdc-button::-moz-focus-inner{padding:0;border:0}.mdc-button:active{outline:none}.mdc-button:hover{cursor:pointer}.mdc-button:disabled{cursor:default;pointer-events:none}.mdc-button[hidden]{display:none}.mdc-button .mdc-button__icon{margin-left:0;margin-right:8px;display:inline-block;position:relative;vertical-align:top}[dir=rtl] .mdc-button .mdc-button__icon,.mdc-button .mdc-button__icon[dir=rtl]{margin-left:8px;margin-right:0}.mdc-button .mdc-button__progress-indicator{font-size:0;position:absolute;transform:translate(-50%, -50%);top:50%;left:50%;line-height:initial}.mdc-button .mdc-button__label{position:relative}.mdc-button .mdc-button__focus-ring{pointer-events:none;border:2px solid rgba(0,0,0,0);border-radius:6px;box-sizing:content-box;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(\n 100% + 4px\n );width:calc(\n 100% + 4px\n );display:none}@media screen and (forced-colors: active){.mdc-button .mdc-button__focus-ring{border-color:CanvasText}}.mdc-button .mdc-button__focus-ring::after{content:"";border:2px solid rgba(0,0,0,0);border-radius:8px;display:block;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(100% + 4px);width:calc(100% + 4px)}@media screen and (forced-colors: active){.mdc-button .mdc-button__focus-ring::after{border-color:CanvasText}}@media screen and (forced-colors: active){.mdc-button.mdc-ripple-upgraded--background-focused .mdc-button__focus-ring,.mdc-button:not(.mdc-ripple-upgraded):focus .mdc-button__focus-ring{display:block}}.mdc-button .mdc-button__touch{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%)}.mdc-button__label+.mdc-button__icon{margin-left:8px;margin-right:0}[dir=rtl] .mdc-button__label+.mdc-button__icon,.mdc-button__label+.mdc-button__icon[dir=rtl]{margin-left:0;margin-right:8px}svg.mdc-button__icon{fill:currentColor}.mdc-button--touch{margin-top:6px;margin-bottom:6px}.mdc-button{padding:0 8px 0 8px}.mdc-button--unelevated{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);padding:0 16px 0 16px}.mdc-button--unelevated.mdc-button--icon-trailing{padding:0 12px 0 16px}.mdc-button--unelevated.mdc-button--icon-leading{padding:0 16px 0 12px}.mdc-button--raised{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);padding:0 16px 0 16px}.mdc-button--raised.mdc-button--icon-trailing{padding:0 12px 0 16px}.mdc-button--raised.mdc-button--icon-leading{padding:0 16px 0 12px}.mdc-button--outlined{border-style:solid;transition:border 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-button--outlined .mdc-button__ripple{border-style:solid;border-color:rgba(0,0,0,0)}.mat-mdc-button{height:var(--mdc-text-button-container-height, 36px);border-radius:var(--mdc-text-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-button:not(:disabled){color:var(--mdc-text-button-label-text-color, inherit)}.mat-mdc-button:disabled{color:var(--mdc-text-button-disabled-label-text-color, rgba(0, 0, 0, 0.38))}.mat-mdc-button .mdc-button__ripple{border-radius:var(--mdc-text-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-unelevated-button{height:var(--mdc-filled-button-container-height, 36px);border-radius:var(--mdc-filled-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-unelevated-button:not(:disabled){background-color:var(--mdc-filled-button-container-color, transparent)}.mat-mdc-unelevated-button:disabled{background-color:var(--mdc-filled-button-disabled-container-color, rgba(0, 0, 0, 0.12))}.mat-mdc-unelevated-button:not(:disabled){color:var(--mdc-filled-button-label-text-color, inherit)}.mat-mdc-unelevated-button:disabled{color:var(--mdc-filled-button-disabled-label-text-color, rgba(0, 0, 0, 0.38))}.mat-mdc-unelevated-button .mdc-button__ripple{border-radius:var(--mdc-filled-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-raised-button{height:var(--mdc-protected-button-container-height, 36px);border-radius:var(--mdc-protected-button-container-shape, var(--mdc-shape-small, 4px));box-shadow:var(--mdc-protected-button-container-elevation, 0px 3px 1px -2px rgba(0, 0, 0, 0.2), 0px 2px 2px 0px rgba(0, 0, 0, 0.14), 0px 1px 5px 0px rgba(0, 0, 0, 0.12))}.mat-mdc-raised-button:not(:disabled){background-color:var(--mdc-protected-button-container-color, transparent)}.mat-mdc-raised-button:disabled{background-color:var(--mdc-protected-button-disabled-container-color, rgba(0, 0, 0, 0.12))}.mat-mdc-raised-button:not(:disabled){color:var(--mdc-protected-button-label-text-color, inherit)}.mat-mdc-raised-button:disabled{color:var(--mdc-protected-button-disabled-label-text-color, rgba(0, 0, 0, 0.38))}.mat-mdc-raised-button .mdc-button__ripple{border-radius:var(--mdc-protected-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-raised-button.mdc-ripple-upgraded--background-focused,.mat-mdc-raised-button:not(.mdc-ripple-upgraded):focus{box-shadow:var(--mdc-protected-button-focus-container-elevation, 0px 2px 4px -1px rgba(0, 0, 0, 0.2), 0px 4px 5px 0px rgba(0, 0, 0, 0.14), 0px 1px 10px 0px rgba(0, 0, 0, 0.12))}.mat-mdc-raised-button:hover{box-shadow:var(--mdc-protected-button-hover-container-elevation, 0px 2px 4px -1px rgba(0, 0, 0, 0.2), 0px 4px 5px 0px rgba(0, 0, 0, 0.14), 0px 1px 10px 0px rgba(0, 0, 0, 0.12))}.mat-mdc-raised-button:not(:disabled):active{box-shadow:var(--mdc-protected-button-pressed-container-elevation, 0px 5px 5px -3px rgba(0, 0, 0, 0.2), 0px 8px 10px 1px rgba(0, 0, 0, 0.14), 0px 3px 14px 2px rgba(0, 0, 0, 0.12))}.mat-mdc-raised-button:disabled{box-shadow:var(--mdc-protected-button-disabled-container-elevation, 0px 0px 0px 0px rgba(0, 0, 0, 0.2), 0px 0px 0px 0px rgba(0, 0, 0, 0.14), 0px 0px 0px 0px rgba(0, 0, 0, 0.12))}.mat-mdc-outlined-button{height:var(--mdc-outlined-button-container-height, 36px);border-radius:var(--mdc-outlined-button-container-shape, var(--mdc-shape-small, 4px));padding:0 15px 0 15px;border-width:var(--mdc-outlined-button-outline-width, 1px)}.mat-mdc-outlined-button:not(:disabled){color:var(--mdc-outlined-button-label-text-color, inherit)}.mat-mdc-outlined-button:disabled{color:var(--mdc-outlined-button-disabled-label-text-color, rgba(0, 0, 0, 0.38))}.mat-mdc-outlined-button .mdc-button__ripple{border-radius:var(--mdc-outlined-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-outlined-button:not(:disabled){border-color:var(--mdc-outlined-button-outline-color, rgba(0, 0, 0, 0.12))}.mat-mdc-outlined-button:disabled{border-color:var(--mdc-outlined-button-disabled-outline-color, rgba(0, 0, 0, 0.12))}.mat-mdc-outlined-button.mdc-button--icon-trailing{padding:0 11px 0 15px}.mat-mdc-outlined-button.mdc-button--icon-leading{padding:0 15px 0 11px}.mat-mdc-outlined-button .mdc-button__ripple{top:-1px;left:-1px;bottom:-1px;right:-1px;border-width:var(--mdc-outlined-button-outline-width, 1px)}.mat-mdc-outlined-button .mdc-button__touch{left:calc(-1 * var(--mdc-outlined-button-outline-width, 1px));width:calc(100% + 2 * var(--mdc-outlined-button-outline-width, 1px))}.mat-mdc-button,.mat-mdc-unelevated-button,.mat-mdc-raised-button,.mat-mdc-outlined-button{-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-button .mat-mdc-button-ripple,.mat-mdc-button .mat-mdc-button-persistent-ripple,.mat-mdc-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button .mat-mdc-button-ripple,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button .mat-mdc-button-ripple,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-button .mat-mdc-button-ripple,.mat-mdc-unelevated-button .mat-mdc-button-ripple,.mat-mdc-raised-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mat-mdc-button-ripple{overflow:hidden}.mat-mdc-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{content:"";opacity:0;background-color:var(--mat-mdc-button-persistent-ripple-color)}.mat-mdc-button .mat-ripple-element,.mat-mdc-unelevated-button .mat-ripple-element,.mat-mdc-raised-button .mat-ripple-element,.mat-mdc-outlined-button .mat-ripple-element{background-color:var(--mat-mdc-button-ripple-color)}.mat-mdc-button .mdc-button__label,.mat-mdc-unelevated-button .mdc-button__label,.mat-mdc-raised-button .mdc-button__label,.mat-mdc-outlined-button .mdc-button__label{z-index:1}.mat-mdc-button .mat-mdc-focus-indicator,.mat-mdc-unelevated-button .mat-mdc-focus-indicator,.mat-mdc-raised-button .mat-mdc-focus-indicator,.mat-mdc-outlined-button .mat-mdc-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute}.mat-mdc-button:focus .mat-mdc-focus-indicator::before,.mat-mdc-unelevated-button:focus .mat-mdc-focus-indicator::before,.mat-mdc-raised-button:focus .mat-mdc-focus-indicator::before,.mat-mdc-outlined-button:focus .mat-mdc-focus-indicator::before{content:""}.mat-mdc-button[disabled],.mat-mdc-unelevated-button[disabled],.mat-mdc-raised-button[disabled],.mat-mdc-outlined-button[disabled]{cursor:default;pointer-events:none}.mat-mdc-button .mat-mdc-button-touch-target,.mat-mdc-unelevated-button .mat-mdc-button-touch-target,.mat-mdc-raised-button .mat-mdc-button-touch-target,.mat-mdc-outlined-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%)}.mat-mdc-button._mat-animation-noopable,.mat-mdc-unelevated-button._mat-animation-noopable,.mat-mdc-raised-button._mat-animation-noopable,.mat-mdc-outlined-button._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mdc-button>.mat-icon{margin-left:0;margin-right:8px;display:inline-block;position:relative;vertical-align:top;font-size:1.125rem;height:1.125rem;width:1.125rem}[dir=rtl] .mat-mdc-button>.mat-icon,.mat-mdc-button>.mat-icon[dir=rtl]{margin-left:8px;margin-right:0}.mat-mdc-button .mdc-button__label+.mat-icon{margin-left:8px;margin-right:0}[dir=rtl] .mat-mdc-button .mdc-button__label+.mat-icon,.mat-mdc-button .mdc-button__label+.mat-icon[dir=rtl]{margin-left:0;margin-right:8px}.mat-mdc-unelevated-button>.mat-icon,.mat-mdc-raised-button>.mat-icon,.mat-mdc-outlined-button>.mat-icon{margin-left:0;margin-right:8px;display:inline-block;position:relative;vertical-align:top;font-size:1.125rem;height:1.125rem;width:1.125rem;margin-left:-4px;margin-right:8px}[dir=rtl] .mat-mdc-unelevated-button>.mat-icon,[dir=rtl] .mat-mdc-raised-button>.mat-icon,[dir=rtl] .mat-mdc-outlined-button>.mat-icon,.mat-mdc-unelevated-button>.mat-icon[dir=rtl],.mat-mdc-raised-button>.mat-icon[dir=rtl],.mat-mdc-outlined-button>.mat-icon[dir=rtl]{margin-left:8px;margin-right:0}[dir=rtl] .mat-mdc-unelevated-button>.mat-icon,[dir=rtl] .mat-mdc-raised-button>.mat-icon,[dir=rtl] .mat-mdc-outlined-button>.mat-icon,.mat-mdc-unelevated-button>.mat-icon[dir=rtl],.mat-mdc-raised-button>.mat-icon[dir=rtl],.mat-mdc-outlined-button>.mat-icon[dir=rtl]{margin-left:8px;margin-right:-4px}.mat-mdc-unelevated-button .mdc-button__label+.mat-icon,.mat-mdc-raised-button .mdc-button__label+.mat-icon,.mat-mdc-outlined-button .mdc-button__label+.mat-icon{margin-left:8px;margin-right:-4px}[dir=rtl] .mat-mdc-unelevated-button .mdc-button__label+.mat-icon,[dir=rtl] .mat-mdc-raised-button .mdc-button__label+.mat-icon,[dir=rtl] .mat-mdc-outlined-button .mdc-button__label+.mat-icon,.mat-mdc-unelevated-button .mdc-button__label+.mat-icon[dir=rtl],.mat-mdc-raised-button .mdc-button__label+.mat-icon[dir=rtl],.mat-mdc-outlined-button .mdc-button__label+.mat-icon[dir=rtl]{margin-left:-4px;margin-right:8px}.mat-mdc-outlined-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mdc-button__ripple{top:-1px;left:-1px;bottom:-1px;right:-1px;border-width:-1px}.mat-mdc-unelevated-button .mat-mdc-focus-indicator::before,.mat-mdc-raised-button .mat-mdc-focus-indicator::before{margin:calc(calc(var(--mat-mdc-focus-indicator-border-width, 3px) + 2px) * -1)}.mat-mdc-outlined-button .mat-mdc-focus-indicator::before{margin:calc(calc(var(--mat-mdc-focus-indicator-border-width, 3px) + 3px) * -1)}',".cdk-high-contrast-active .mat-mdc-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-unelevated-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-raised-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-outlined-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-icon-button{outline:solid 1px}"],encapsulation:2,changeDetection:0})}}return yt})(),$t=(()=>{class yt extends mt{constructor(Nt,Tt,Yt,Ut){super(Nt,Tt,Yt,Ut)}static{this.\u0275fac=function(Tt){return new(Tt||yt)(y.rXU(y.aKT),y.rXU(o.OD),y.rXU(y.SKi),y.rXU(y.bc$,8))}}static{this.\u0275cmp=y.VBU({type:yt,selectors:[["a","mat-button",""],["a","mat-raised-button",""],["a","mat-flat-button",""],["a","mat-stroked-button",""]],hostVars:9,hostBindings:function(Tt,Yt){2&Tt&&(y.BMQ("disabled",Yt.disabled||null)("tabindex",Yt.disabled?-1:Yt.tabIndex)("aria-disabled",Yt.disabled.toString()),y.AVh("_mat-animation-noopable","NoopAnimations"===Yt._animationMode)("mat-unthemed",!Yt.color)("mat-mdc-button-base",!0))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color",tabIndex:"tabIndex"},exportAs:["matButton","matAnchor"],features:[y.Vt3],attrs:G,ngContentSelectors:Z,decls:7,vars:4,consts:[[1,"mat-mdc-button-persistent-ripple"],[1,"mdc-button__label"],[1,"mat-mdc-focus-indicator"],[1,"mat-mdc-button-touch-target"]],template:function(Tt,Yt){1&Tt&&(y.NAR(P),y.nrm(0,"span",0),y.SdG(1),y.j41(2,"span",1),y.SdG(3,1),y.k0s(),y.SdG(4,2),y.nrm(5,"span",2)(6,"span",3)),2&Tt&&y.AVh("mdc-button__ripple",!Yt._isFab)("mdc-fab__ripple",Yt._isFab)},styles:['.mdc-touch-target-wrapper{display:inline}.mdc-elevation-overlay{position:absolute;border-radius:inherit;pointer-events:none;opacity:var(--mdc-elevation-overlay-opacity, 0);transition:opacity 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-button{position:relative;display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;min-width:64px;border:none;outline:none;line-height:inherit;user-select:none;-webkit-appearance:none;overflow:visible;vertical-align:middle;background:rgba(0,0,0,0)}.mdc-button .mdc-elevation-overlay{width:100%;height:100%;top:0;left:0}.mdc-button::-moz-focus-inner{padding:0;border:0}.mdc-button:active{outline:none}.mdc-button:hover{cursor:pointer}.mdc-button:disabled{cursor:default;pointer-events:none}.mdc-button[hidden]{display:none}.mdc-button .mdc-button__icon{margin-left:0;margin-right:8px;display:inline-block;position:relative;vertical-align:top}[dir=rtl] .mdc-button .mdc-button__icon,.mdc-button .mdc-button__icon[dir=rtl]{margin-left:8px;margin-right:0}.mdc-button .mdc-button__progress-indicator{font-size:0;position:absolute;transform:translate(-50%, -50%);top:50%;left:50%;line-height:initial}.mdc-button .mdc-button__label{position:relative}.mdc-button .mdc-button__focus-ring{pointer-events:none;border:2px solid rgba(0,0,0,0);border-radius:6px;box-sizing:content-box;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(\n 100% + 4px\n );width:calc(\n 100% + 4px\n );display:none}@media screen and (forced-colors: active){.mdc-button .mdc-button__focus-ring{border-color:CanvasText}}.mdc-button .mdc-button__focus-ring::after{content:"";border:2px solid rgba(0,0,0,0);border-radius:8px;display:block;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(100% + 4px);width:calc(100% + 4px)}@media screen and (forced-colors: active){.mdc-button .mdc-button__focus-ring::after{border-color:CanvasText}}@media screen and (forced-colors: active){.mdc-button.mdc-ripple-upgraded--background-focused .mdc-button__focus-ring,.mdc-button:not(.mdc-ripple-upgraded):focus .mdc-button__focus-ring{display:block}}.mdc-button .mdc-button__touch{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%)}.mdc-button__label+.mdc-button__icon{margin-left:8px;margin-right:0}[dir=rtl] .mdc-button__label+.mdc-button__icon,.mdc-button__label+.mdc-button__icon[dir=rtl]{margin-left:0;margin-right:8px}svg.mdc-button__icon{fill:currentColor}.mdc-button--touch{margin-top:6px;margin-bottom:6px}.mdc-button{padding:0 8px 0 8px}.mdc-button--unelevated{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);padding:0 16px 0 16px}.mdc-button--unelevated.mdc-button--icon-trailing{padding:0 12px 0 16px}.mdc-button--unelevated.mdc-button--icon-leading{padding:0 16px 0 12px}.mdc-button--raised{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);padding:0 16px 0 16px}.mdc-button--raised.mdc-button--icon-trailing{padding:0 12px 0 16px}.mdc-button--raised.mdc-button--icon-leading{padding:0 16px 0 12px}.mdc-button--outlined{border-style:solid;transition:border 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-button--outlined .mdc-button__ripple{border-style:solid;border-color:rgba(0,0,0,0)}.mat-mdc-button{height:var(--mdc-text-button-container-height, 36px);border-radius:var(--mdc-text-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-button:not(:disabled){color:var(--mdc-text-button-label-text-color, inherit)}.mat-mdc-button:disabled{color:var(--mdc-text-button-disabled-label-text-color, rgba(0, 0, 0, 0.38))}.mat-mdc-button .mdc-button__ripple{border-radius:var(--mdc-text-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-unelevated-button{height:var(--mdc-filled-button-container-height, 36px);border-radius:var(--mdc-filled-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-unelevated-button:not(:disabled){background-color:var(--mdc-filled-button-container-color, transparent)}.mat-mdc-unelevated-button:disabled{background-color:var(--mdc-filled-button-disabled-container-color, rgba(0, 0, 0, 0.12))}.mat-mdc-unelevated-button:not(:disabled){color:var(--mdc-filled-button-label-text-color, inherit)}.mat-mdc-unelevated-button:disabled{color:var(--mdc-filled-button-disabled-label-text-color, rgba(0, 0, 0, 0.38))}.mat-mdc-unelevated-button .mdc-button__ripple{border-radius:var(--mdc-filled-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-raised-button{height:var(--mdc-protected-button-container-height, 36px);border-radius:var(--mdc-protected-button-container-shape, var(--mdc-shape-small, 4px));box-shadow:var(--mdc-protected-button-container-elevation, 0px 3px 1px -2px rgba(0, 0, 0, 0.2), 0px 2px 2px 0px rgba(0, 0, 0, 0.14), 0px 1px 5px 0px rgba(0, 0, 0, 0.12))}.mat-mdc-raised-button:not(:disabled){background-color:var(--mdc-protected-button-container-color, transparent)}.mat-mdc-raised-button:disabled{background-color:var(--mdc-protected-button-disabled-container-color, rgba(0, 0, 0, 0.12))}.mat-mdc-raised-button:not(:disabled){color:var(--mdc-protected-button-label-text-color, inherit)}.mat-mdc-raised-button:disabled{color:var(--mdc-protected-button-disabled-label-text-color, rgba(0, 0, 0, 0.38))}.mat-mdc-raised-button .mdc-button__ripple{border-radius:var(--mdc-protected-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-raised-button.mdc-ripple-upgraded--background-focused,.mat-mdc-raised-button:not(.mdc-ripple-upgraded):focus{box-shadow:var(--mdc-protected-button-focus-container-elevation, 0px 2px 4px -1px rgba(0, 0, 0, 0.2), 0px 4px 5px 0px rgba(0, 0, 0, 0.14), 0px 1px 10px 0px rgba(0, 0, 0, 0.12))}.mat-mdc-raised-button:hover{box-shadow:var(--mdc-protected-button-hover-container-elevation, 0px 2px 4px -1px rgba(0, 0, 0, 0.2), 0px 4px 5px 0px rgba(0, 0, 0, 0.14), 0px 1px 10px 0px rgba(0, 0, 0, 0.12))}.mat-mdc-raised-button:not(:disabled):active{box-shadow:var(--mdc-protected-button-pressed-container-elevation, 0px 5px 5px -3px rgba(0, 0, 0, 0.2), 0px 8px 10px 1px rgba(0, 0, 0, 0.14), 0px 3px 14px 2px rgba(0, 0, 0, 0.12))}.mat-mdc-raised-button:disabled{box-shadow:var(--mdc-protected-button-disabled-container-elevation, 0px 0px 0px 0px rgba(0, 0, 0, 0.2), 0px 0px 0px 0px rgba(0, 0, 0, 0.14), 0px 0px 0px 0px rgba(0, 0, 0, 0.12))}.mat-mdc-outlined-button{height:var(--mdc-outlined-button-container-height, 36px);border-radius:var(--mdc-outlined-button-container-shape, var(--mdc-shape-small, 4px));padding:0 15px 0 15px;border-width:var(--mdc-outlined-button-outline-width, 1px)}.mat-mdc-outlined-button:not(:disabled){color:var(--mdc-outlined-button-label-text-color, inherit)}.mat-mdc-outlined-button:disabled{color:var(--mdc-outlined-button-disabled-label-text-color, rgba(0, 0, 0, 0.38))}.mat-mdc-outlined-button .mdc-button__ripple{border-radius:var(--mdc-outlined-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-outlined-button:not(:disabled){border-color:var(--mdc-outlined-button-outline-color, rgba(0, 0, 0, 0.12))}.mat-mdc-outlined-button:disabled{border-color:var(--mdc-outlined-button-disabled-outline-color, rgba(0, 0, 0, 0.12))}.mat-mdc-outlined-button.mdc-button--icon-trailing{padding:0 11px 0 15px}.mat-mdc-outlined-button.mdc-button--icon-leading{padding:0 15px 0 11px}.mat-mdc-outlined-button .mdc-button__ripple{top:-1px;left:-1px;bottom:-1px;right:-1px;border-width:var(--mdc-outlined-button-outline-width, 1px)}.mat-mdc-outlined-button .mdc-button__touch{left:calc(-1 * var(--mdc-outlined-button-outline-width, 1px));width:calc(100% + 2 * var(--mdc-outlined-button-outline-width, 1px))}.mat-mdc-button,.mat-mdc-unelevated-button,.mat-mdc-raised-button,.mat-mdc-outlined-button{-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-button .mat-mdc-button-ripple,.mat-mdc-button .mat-mdc-button-persistent-ripple,.mat-mdc-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button .mat-mdc-button-ripple,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button .mat-mdc-button-ripple,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-button .mat-mdc-button-ripple,.mat-mdc-unelevated-button .mat-mdc-button-ripple,.mat-mdc-raised-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mat-mdc-button-ripple{overflow:hidden}.mat-mdc-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{content:"";opacity:0;background-color:var(--mat-mdc-button-persistent-ripple-color)}.mat-mdc-button .mat-ripple-element,.mat-mdc-unelevated-button .mat-ripple-element,.mat-mdc-raised-button .mat-ripple-element,.mat-mdc-outlined-button .mat-ripple-element{background-color:var(--mat-mdc-button-ripple-color)}.mat-mdc-button .mdc-button__label,.mat-mdc-unelevated-button .mdc-button__label,.mat-mdc-raised-button .mdc-button__label,.mat-mdc-outlined-button .mdc-button__label{z-index:1}.mat-mdc-button .mat-mdc-focus-indicator,.mat-mdc-unelevated-button .mat-mdc-focus-indicator,.mat-mdc-raised-button .mat-mdc-focus-indicator,.mat-mdc-outlined-button .mat-mdc-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute}.mat-mdc-button:focus .mat-mdc-focus-indicator::before,.mat-mdc-unelevated-button:focus .mat-mdc-focus-indicator::before,.mat-mdc-raised-button:focus .mat-mdc-focus-indicator::before,.mat-mdc-outlined-button:focus .mat-mdc-focus-indicator::before{content:""}.mat-mdc-button[disabled],.mat-mdc-unelevated-button[disabled],.mat-mdc-raised-button[disabled],.mat-mdc-outlined-button[disabled]{cursor:default;pointer-events:none}.mat-mdc-button .mat-mdc-button-touch-target,.mat-mdc-unelevated-button .mat-mdc-button-touch-target,.mat-mdc-raised-button .mat-mdc-button-touch-target,.mat-mdc-outlined-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%)}.mat-mdc-button._mat-animation-noopable,.mat-mdc-unelevated-button._mat-animation-noopable,.mat-mdc-raised-button._mat-animation-noopable,.mat-mdc-outlined-button._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mdc-button>.mat-icon{margin-left:0;margin-right:8px;display:inline-block;position:relative;vertical-align:top;font-size:1.125rem;height:1.125rem;width:1.125rem}[dir=rtl] .mat-mdc-button>.mat-icon,.mat-mdc-button>.mat-icon[dir=rtl]{margin-left:8px;margin-right:0}.mat-mdc-button .mdc-button__label+.mat-icon{margin-left:8px;margin-right:0}[dir=rtl] .mat-mdc-button .mdc-button__label+.mat-icon,.mat-mdc-button .mdc-button__label+.mat-icon[dir=rtl]{margin-left:0;margin-right:8px}.mat-mdc-unelevated-button>.mat-icon,.mat-mdc-raised-button>.mat-icon,.mat-mdc-outlined-button>.mat-icon{margin-left:0;margin-right:8px;display:inline-block;position:relative;vertical-align:top;font-size:1.125rem;height:1.125rem;width:1.125rem;margin-left:-4px;margin-right:8px}[dir=rtl] .mat-mdc-unelevated-button>.mat-icon,[dir=rtl] .mat-mdc-raised-button>.mat-icon,[dir=rtl] .mat-mdc-outlined-button>.mat-icon,.mat-mdc-unelevated-button>.mat-icon[dir=rtl],.mat-mdc-raised-button>.mat-icon[dir=rtl],.mat-mdc-outlined-button>.mat-icon[dir=rtl]{margin-left:8px;margin-right:0}[dir=rtl] .mat-mdc-unelevated-button>.mat-icon,[dir=rtl] .mat-mdc-raised-button>.mat-icon,[dir=rtl] .mat-mdc-outlined-button>.mat-icon,.mat-mdc-unelevated-button>.mat-icon[dir=rtl],.mat-mdc-raised-button>.mat-icon[dir=rtl],.mat-mdc-outlined-button>.mat-icon[dir=rtl]{margin-left:8px;margin-right:-4px}.mat-mdc-unelevated-button .mdc-button__label+.mat-icon,.mat-mdc-raised-button .mdc-button__label+.mat-icon,.mat-mdc-outlined-button .mdc-button__label+.mat-icon{margin-left:8px;margin-right:-4px}[dir=rtl] .mat-mdc-unelevated-button .mdc-button__label+.mat-icon,[dir=rtl] .mat-mdc-raised-button .mdc-button__label+.mat-icon,[dir=rtl] .mat-mdc-outlined-button .mdc-button__label+.mat-icon,.mat-mdc-unelevated-button .mdc-button__label+.mat-icon[dir=rtl],.mat-mdc-raised-button .mdc-button__label+.mat-icon[dir=rtl],.mat-mdc-outlined-button .mdc-button__label+.mat-icon[dir=rtl]{margin-left:-4px;margin-right:8px}.mat-mdc-outlined-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mdc-button__ripple{top:-1px;left:-1px;bottom:-1px;right:-1px;border-width:-1px}.mat-mdc-unelevated-button .mat-mdc-focus-indicator::before,.mat-mdc-raised-button .mat-mdc-focus-indicator::before{margin:calc(calc(var(--mat-mdc-focus-indicator-border-width, 3px) + 2px) * -1)}.mat-mdc-outlined-button .mat-mdc-focus-indicator::before{margin:calc(calc(var(--mat-mdc-focus-indicator-border-width, 3px) + 3px) * -1)}',ot],encapsulation:2,changeDetection:0})}}return yt})();const de=new y.nKC("mat-mdc-fab-default-options",{providedIn:"root",factory:_e});function _e(){return{color:"accent"}}const Le=_e();let ye=(()=>{class yt extends ${constructor(Nt,Tt,Yt,Ut,Ne){super(Nt,Tt,Yt,Ut),this._options=Ne,this._isFab=!0,this._options=this._options||Le,this.color=this.defaultColor=this._options.color||Le.color}static{this.\u0275fac=function(Tt){return new(Tt||yt)(y.rXU(y.aKT),y.rXU(o.OD),y.rXU(y.SKi),y.rXU(y.bc$,8),y.rXU(de,8))}}static{this.\u0275cmp=y.VBU({type:yt,selectors:[["button","mat-mini-fab",""]],hostVars:7,hostBindings:function(Tt,Yt){2&Tt&&(y.BMQ("disabled",Yt.disabled||null),y.AVh("_mat-animation-noopable","NoopAnimations"===Yt._animationMode)("mat-unthemed",!Yt.color)("mat-mdc-button-base",!0))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color"},exportAs:["matButton"],features:[y.Vt3],attrs:K,ngContentSelectors:Z,decls:7,vars:4,consts:[[1,"mat-mdc-button-persistent-ripple"],[1,"mdc-button__label"],[1,"mat-mdc-focus-indicator"],[1,"mat-mdc-button-touch-target"]],template:function(Tt,Yt){1&Tt&&(y.NAR(P),y.nrm(0,"span",0),y.SdG(1),y.j41(2,"span",1),y.SdG(3,1),y.k0s(),y.SdG(4,2),y.nrm(5,"span",2)(6,"span",3)),2&Tt&&y.AVh("mdc-button__ripple",!Yt._isFab)("mdc-fab__ripple",Yt._isFab)},styles:['.mdc-touch-target-wrapper{display:inline}.mdc-elevation-overlay{position:absolute;border-radius:inherit;pointer-events:none;opacity:var(--mdc-elevation-overlay-opacity);transition:opacity 280ms cubic-bezier(0.4, 0, 0.2, 1);background-color:var(--mdc-elevation-overlay-color)}.mdc-fab{position:relative;display:inline-flex;position:relative;align-items:center;justify-content:center;box-sizing:border-box;width:56px;height:56px;padding:0;border:none;fill:currentColor;text-decoration:none;cursor:pointer;user-select:none;-moz-appearance:none;-webkit-appearance:none;overflow:visible;transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1),opacity 15ms linear 30ms,transform 270ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mdc-fab .mdc-elevation-overlay{width:100%;height:100%;top:0;left:0}.mdc-fab[hidden]{display:none}.mdc-fab::-moz-focus-inner{padding:0;border:0}.mdc-fab:hover{box-shadow:0px 5px 5px -3px rgba(0, 0, 0, 0.2), 0px 8px 10px 1px rgba(0, 0, 0, 0.14), 0px 3px 14px 2px rgba(0, 0, 0, 0.12)}.mdc-fab.mdc-ripple-upgraded--background-focused,.mdc-fab:not(.mdc-ripple-upgraded):focus{box-shadow:0px 5px 5px -3px rgba(0, 0, 0, 0.2), 0px 8px 10px 1px rgba(0, 0, 0, 0.14), 0px 3px 14px 2px rgba(0, 0, 0, 0.12)}.mdc-fab .mdc-fab__focus-ring{position:absolute}.mdc-fab.mdc-ripple-upgraded--background-focused .mdc-fab__focus-ring,.mdc-fab:not(.mdc-ripple-upgraded):focus .mdc-fab__focus-ring{pointer-events:none;border:2px solid rgba(0,0,0,0);border-radius:6px;box-sizing:content-box;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(\n 100% + 4px\n );width:calc(\n 100% + 4px\n )}@media screen and (forced-colors: active){.mdc-fab.mdc-ripple-upgraded--background-focused .mdc-fab__focus-ring,.mdc-fab:not(.mdc-ripple-upgraded):focus .mdc-fab__focus-ring{border-color:CanvasText}}.mdc-fab.mdc-ripple-upgraded--background-focused .mdc-fab__focus-ring::after,.mdc-fab:not(.mdc-ripple-upgraded):focus .mdc-fab__focus-ring::after{content:"";border:2px solid rgba(0,0,0,0);border-radius:8px;display:block;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(100% + 4px);width:calc(100% + 4px)}@media screen and (forced-colors: active){.mdc-fab.mdc-ripple-upgraded--background-focused .mdc-fab__focus-ring::after,.mdc-fab:not(.mdc-ripple-upgraded):focus .mdc-fab__focus-ring::after{border-color:CanvasText}}.mdc-fab:active,.mdc-fab:focus:active{box-shadow:0px 7px 8px -4px rgba(0, 0, 0, 0.2), 0px 12px 17px 2px rgba(0, 0, 0, 0.14), 0px 5px 22px 4px rgba(0, 0, 0, 0.12)}.mdc-fab:active,.mdc-fab:focus{outline:none}.mdc-fab:hover{cursor:pointer}.mdc-fab>svg{width:100%}.mdc-fab--mini{width:40px;height:40px}.mdc-fab--extended{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--mdc-typography-button-font-family);font-size:var(--mdc-typography-button-font-size);line-height:var(--mdc-typography-button-line-height);font-weight:var(--mdc-typography-button-font-weight);letter-spacing:var(--mdc-typography-button-letter-spacing);text-decoration:var(--mdc-typography-button-text-decoration);text-transform:var(--mdc-typography-button-text-transform);border-radius:24px;padding-left:20px;padding-right:20px;width:auto;max-width:100%;height:48px;line-height:normal}.mdc-fab--extended .mdc-fab__ripple{border-radius:24px}.mdc-fab--extended .mdc-fab__icon{margin-left:calc(12px - 20px);margin-right:12px}[dir=rtl] .mdc-fab--extended .mdc-fab__icon,.mdc-fab--extended .mdc-fab__icon[dir=rtl]{margin-left:12px;margin-right:calc(12px - 20px)}.mdc-fab--extended .mdc-fab__label+.mdc-fab__icon{margin-left:12px;margin-right:calc(12px - 20px)}[dir=rtl] .mdc-fab--extended .mdc-fab__label+.mdc-fab__icon,.mdc-fab--extended .mdc-fab__label+.mdc-fab__icon[dir=rtl]{margin-left:calc(12px - 20px);margin-right:12px}.mdc-fab--touch{margin-top:4px;margin-bottom:4px;margin-right:4px;margin-left:4px}.mdc-fab--touch .mdc-fab__touch{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%)}.mdc-fab::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:1px solid rgba(0,0,0,0);border-radius:inherit;content:"";pointer-events:none}@media screen and (forced-colors: active){.mdc-fab::before{border-color:CanvasText}}.mdc-fab__label{justify-content:flex-start;text-overflow:ellipsis;white-space:nowrap;overflow-x:hidden;overflow-y:visible}.mdc-fab__icon{transition:transform 180ms 90ms cubic-bezier(0, 0, 0.2, 1);fill:currentColor;will-change:transform}.mdc-fab .mdc-fab__icon{display:inline-flex;align-items:center;justify-content:center}.mdc-fab--exited{transform:scale(0);opacity:0;transition:opacity 15ms linear 150ms,transform 180ms 0ms cubic-bezier(0.4, 0, 1, 1)}.mdc-fab--exited .mdc-fab__icon{transform:scale(0);transition:transform 135ms 0ms cubic-bezier(0.4, 0, 1, 1)}.mat-mdc-fab,.mat-mdc-mini-fab{background-color:var(--mdc-fab-container-color);--mdc-fab-container-shape:50%;--mdc-fab-icon-size:24px}.mat-mdc-fab .mdc-fab__icon,.mat-mdc-mini-fab .mdc-fab__icon{width:var(--mdc-fab-icon-size);height:var(--mdc-fab-icon-size);font-size:var(--mdc-fab-icon-size)}.mat-mdc-fab:not(:disabled) .mdc-fab__icon,.mat-mdc-mini-fab:not(:disabled) .mdc-fab__icon{color:var(--mdc-fab-icon-color)}.mat-mdc-fab:not(.mdc-fab--extended),.mat-mdc-mini-fab:not(.mdc-fab--extended){border-radius:var(--mdc-fab-container-shape)}.mat-mdc-fab:not(.mdc-fab--extended) .mdc-fab__ripple,.mat-mdc-mini-fab:not(.mdc-fab--extended) .mdc-fab__ripple{border-radius:var(--mdc-fab-container-shape)}.mat-mdc-extended-fab{font-family:var(--mdc-extended-fab-label-text-font);font-size:var(--mdc-extended-fab-label-text-size);font-weight:var(--mdc-extended-fab-label-text-weight);letter-spacing:var(--mdc-extended-fab-label-text-tracking)}.mat-mdc-fab,.mat-mdc-mini-fab{-webkit-tap-highlight-color:rgba(0,0,0,0);box-shadow:0px 3px 5px -1px rgba(0, 0, 0, 0.2), 0px 6px 10px 0px rgba(0, 0, 0, 0.14), 0px 1px 18px 0px rgba(0, 0, 0, 0.12);color:var(--mat-mdc-fab-color, inherit);flex-shrink:0}.mat-mdc-fab .mat-mdc-button-ripple,.mat-mdc-fab .mat-mdc-button-persistent-ripple,.mat-mdc-fab .mat-mdc-button-persistent-ripple::before,.mat-mdc-mini-fab .mat-mdc-button-ripple,.mat-mdc-mini-fab .mat-mdc-button-persistent-ripple,.mat-mdc-mini-fab .mat-mdc-button-persistent-ripple::before{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-fab .mat-mdc-button-ripple,.mat-mdc-mini-fab .mat-mdc-button-ripple{overflow:hidden}.mat-mdc-fab .mat-mdc-button-persistent-ripple::before,.mat-mdc-mini-fab .mat-mdc-button-persistent-ripple::before{content:"";opacity:0;background-color:var(--mat-mdc-button-persistent-ripple-color)}.mat-mdc-fab .mat-ripple-element,.mat-mdc-mini-fab .mat-ripple-element{background-color:var(--mat-mdc-button-ripple-color)}.mat-mdc-fab .mdc-button__label,.mat-mdc-mini-fab .mdc-button__label{z-index:1}.mat-mdc-fab .mat-mdc-focus-indicator,.mat-mdc-mini-fab .mat-mdc-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute}.mat-mdc-fab:focus .mat-mdc-focus-indicator::before,.mat-mdc-mini-fab:focus .mat-mdc-focus-indicator::before{content:""}.mat-mdc-fab .mat-mdc-button-touch-target,.mat-mdc-mini-fab .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%)}.mat-mdc-fab._mat-animation-noopable,.mat-mdc-mini-fab._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mdc-fab:hover,.mat-mdc-fab:focus,.mat-mdc-mini-fab:hover,.mat-mdc-mini-fab:focus{box-shadow:0px 5px 5px -3px rgba(0, 0, 0, 0.2), 0px 8px 10px 1px rgba(0, 0, 0, 0.14), 0px 3px 14px 2px rgba(0, 0, 0, 0.12)}.mat-mdc-fab:active,.mat-mdc-fab:focus:active,.mat-mdc-mini-fab:active,.mat-mdc-mini-fab:focus:active{box-shadow:0px 7px 8px -4px rgba(0, 0, 0, 0.2), 0px 12px 17px 2px rgba(0, 0, 0, 0.14), 0px 5px 22px 4px rgba(0, 0, 0, 0.12)}.mat-mdc-fab[disabled],.mat-mdc-mini-fab[disabled]{cursor:default;pointer-events:none;box-shadow:0px 0px 0px 0px rgba(0, 0, 0, 0.2), 0px 0px 0px 0px rgba(0, 0, 0, 0.14), 0px 0px 0px 0px rgba(0, 0, 0, 0.12)}.mat-mdc-fab:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-mini-fab:not(.mdc-ripple-upgraded):focus::before{background:rgba(0,0,0,0);opacity:1}.mat-mdc-fab .mat-icon,.mat-mdc-fab .material-icons,.mat-mdc-mini-fab .mat-icon,.mat-mdc-mini-fab .material-icons{transition:transform 180ms 90ms cubic-bezier(0, 0, 0.2, 1);fill:currentColor;will-change:transform}.mat-mdc-fab .mat-mdc-focus-indicator::before,.mat-mdc-mini-fab .mat-mdc-focus-indicator::before{margin:calc(calc(var(--mat-mdc-focus-indicator-border-width, 3px) + 2px) * -1)}.mat-mdc-extended-fab>.mat-icon,.mat-mdc-extended-fab>.material-icons{margin-left:calc(12px - 20px);margin-right:12px}[dir=rtl] .mat-mdc-extended-fab>.mat-icon,[dir=rtl] .mat-mdc-extended-fab>.material-icons,.mat-mdc-extended-fab>.mat-icon[dir=rtl],.mat-mdc-extended-fab>.material-icons[dir=rtl]{margin-left:12px;margin-right:calc(12px - 20px)}.mat-mdc-extended-fab .mdc-button__label+.mat-icon,.mat-mdc-extended-fab .mdc-button__label+.material-icons{margin-left:12px;margin-right:calc(12px - 20px)}[dir=rtl] .mat-mdc-extended-fab .mdc-button__label+.mat-icon,[dir=rtl] .mat-mdc-extended-fab .mdc-button__label+.material-icons,.mat-mdc-extended-fab .mdc-button__label+.mat-icon[dir=rtl],.mat-mdc-extended-fab .mdc-button__label+.material-icons[dir=rtl]{margin-left:calc(12px - 20px);margin-right:12px}.mat-mdc-extended-fab .mat-mdc-button-touch-target{width:100%}'],encapsulation:2,changeDetection:0})}}return yt})(),Qe=(()=>{class yt extends ${constructor(Nt,Tt,Yt,Ut){super(Nt,Tt,Yt,Ut),this._rippleLoader.configureRipple(this._elementRef.nativeElement,{centered:!0})}static{this.\u0275fac=function(Tt){return new(Tt||yt)(y.rXU(y.aKT),y.rXU(o.OD),y.rXU(y.SKi),y.rXU(y.bc$,8))}}static{this.\u0275cmp=y.VBU({type:yt,selectors:[["button","mat-icon-button",""]],hostVars:7,hostBindings:function(Tt,Yt){2&Tt&&(y.BMQ("disabled",Yt.disabled||null),y.AVh("_mat-animation-noopable","NoopAnimations"===Yt._animationMode)("mat-unthemed",!Yt.color)("mat-mdc-button-base",!0))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color"},exportAs:["matButton"],features:[y.Vt3],attrs:a,ngContentSelectors:pt,decls:4,vars:0,consts:[[1,"mat-mdc-button-persistent-ripple","mdc-icon-button__ripple"],[1,"mat-mdc-focus-indicator"],[1,"mat-mdc-button-touch-target"]],template:function(Tt,Yt){1&Tt&&(y.NAR(),y.nrm(0,"span",0),y.SdG(1),y.nrm(2,"span",1)(3,"span",2))},styles:['.mdc-icon-button{display:inline-block;position:relative;box-sizing:border-box;border:none;outline:none;background-color:rgba(0,0,0,0);fill:currentColor;color:inherit;text-decoration:none;cursor:pointer;user-select:none;z-index:0;overflow:visible}.mdc-icon-button .mdc-icon-button__touch{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%)}@media screen and (forced-colors: active){.mdc-icon-button.mdc-ripple-upgraded--background-focused .mdc-icon-button__focus-ring,.mdc-icon-button:not(.mdc-ripple-upgraded):focus .mdc-icon-button__focus-ring{display:block}}.mdc-icon-button:disabled{cursor:default;pointer-events:none}.mdc-icon-button[hidden]{display:none}.mdc-icon-button--display-flex{align-items:center;display:inline-flex;justify-content:center}.mdc-icon-button__focus-ring{pointer-events:none;border:2px solid rgba(0,0,0,0);border-radius:6px;box-sizing:content-box;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:100%;width:100%;display:none}@media screen and (forced-colors: active){.mdc-icon-button__focus-ring{border-color:CanvasText}}.mdc-icon-button__focus-ring::after{content:"";border:2px solid rgba(0,0,0,0);border-radius:8px;display:block;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(100% + 4px);width:calc(100% + 4px)}@media screen and (forced-colors: active){.mdc-icon-button__focus-ring::after{border-color:CanvasText}}.mdc-icon-button__icon{display:inline-block}.mdc-icon-button__icon.mdc-icon-button__icon--on{display:none}.mdc-icon-button--on .mdc-icon-button__icon{display:none}.mdc-icon-button--on .mdc-icon-button__icon.mdc-icon-button__icon--on{display:inline-block}.mdc-icon-button__link{height:100%;left:0;outline:none;position:absolute;top:0;width:100%}.mat-mdc-icon-button{height:var(--mdc-icon-button-state-layer-size);width:var(--mdc-icon-button-state-layer-size);color:var(--mdc-icon-button-icon-color);--mdc-icon-button-state-layer-size:48px;--mdc-icon-button-icon-size:24px;--mdc-icon-button-disabled-icon-color:black;--mdc-icon-button-disabled-icon-opacity:0.38}.mat-mdc-icon-button .mdc-button__icon{font-size:var(--mdc-icon-button-icon-size)}.mat-mdc-icon-button svg,.mat-mdc-icon-button img{width:var(--mdc-icon-button-icon-size);height:var(--mdc-icon-button-icon-size)}.mat-mdc-icon-button:disabled{opacity:var(--mdc-icon-button-disabled-icon-opacity)}.mat-mdc-icon-button:disabled{color:var(--mdc-icon-button-disabled-icon-color)}.mat-mdc-icon-button{padding:12px;font-size:var(--mdc-icon-button-icon-size);border-radius:50%;flex-shrink:0;text-align:center;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-icon-button svg{vertical-align:baseline}.mat-mdc-icon-button[disabled]{cursor:default;pointer-events:none;opacity:1}.mat-mdc-icon-button .mat-mdc-button-ripple,.mat-mdc-icon-button .mat-mdc-button-persistent-ripple,.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-icon-button .mat-mdc-button-ripple{overflow:hidden}.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before{content:"";opacity:0;background-color:var(--mat-mdc-button-persistent-ripple-color)}.mat-mdc-icon-button .mat-ripple-element{background-color:var(--mat-mdc-button-ripple-color)}.mat-mdc-icon-button .mdc-button__label{z-index:1}.mat-mdc-icon-button .mat-mdc-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute}.mat-mdc-icon-button:focus .mat-mdc-focus-indicator::before{content:""}.mat-mdc-icon-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%)}.mat-mdc-icon-button._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mdc-icon-button .mat-mdc-button-persistent-ripple{border-radius:50%}.mat-mdc-icon-button.mat-unthemed:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-primary:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-accent:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-warn:not(.mdc-ripple-upgraded):focus::before{background:rgba(0,0,0,0);opacity:1}',ot],encapsulation:2,changeDetection:0})}}return yt})(),Me=(()=>{class yt{static{this.\u0275fac=function(Tt){return new(Tt||yt)}}static{this.\u0275mod=y.$C({type:yt})}static{this.\u0275inj=y.G2t({imports:[k.yE,k.pZ,k.yE]})}}return yt})()},42250:(Ce,Lt,r)=>{r.d(Lt,{r5:()=>te,ed:()=>$,es:()=>ke,QC:()=>xe,is:()=>tt,$E:()=>H,yE:()=>mt,wT:()=>hn,Sy:()=>me,MI:()=>on,O5:()=>kt,r6:()=>st,Ej:()=>Zt,pZ:()=>zt,ug:()=>ne,jb:()=>fe,TL:()=>cn,Zc:()=>Le,GG:()=>Ge,Ob:()=>_e,J8:()=>ye,mG:()=>Ve,BF:()=>Xe});var o=r(1843),y=r(83607),b=r(10165),k=r(18331),G=r(29094),P=r(8275),Z=r(23135),N=r(89115),ot=r(25150);const M=["text"];function a(Ct,U){if(1&Ct&&o.nrm(0,"mat-pseudo-checkbox",6),2&Ct){const A=o.XpG();o.Y8G("disabled",A.disabled)("state",A.selected?"checked":"unchecked")}}function pt(Ct,U){if(1&Ct&&o.nrm(0,"mat-pseudo-checkbox",7),2&Ct){const A=o.XpG();o.Y8G("disabled",A.disabled)}}function j(Ct,U){if(1&Ct&&(o.j41(0,"span",8),o.EFF(1),o.k0s()),2&Ct){const A=o.XpG();o.R7$(1),o.SpI("(",A.group.label,")")}}const J=[[["mat-icon"]],"*"],bt=["mat-icon","*"];let te=(()=>{class Ct{static{this.STANDARD_CURVE="cubic-bezier(0.4,0.0,0.2,1)"}static{this.DECELERATION_CURVE="cubic-bezier(0.0,0.0,0.2,1)"}static{this.ACCELERATION_CURVE="cubic-bezier(0.4,0.0,1,1)"}static{this.SHARP_CURVE="cubic-bezier(0.4,0.0,0.6,1)"}}return Ct})(),$=(()=>{class Ct{static{this.COMPLEX="375ms"}static{this.ENTERING="225ms"}static{this.EXITING="195ms"}}return Ct})();const V=new o.nKC("mat-sanity-checks",{providedIn:"root",factory:function lt(){return!0}});let mt=(()=>{class Ct{constructor(A,xt,Jt){this._sanityChecks=xt,this._document=Jt,this._hasDoneGlobalChecks=!1,A._applyBodyHighContrastModeCssClasses(),this._hasDoneGlobalChecks||(this._hasDoneGlobalChecks=!0)}_checkIsEnabled(A){return!(0,G.v8)()&&("boolean"==typeof this._sanityChecks?this._sanityChecks:!!this._sanityChecks[A])}static{this.\u0275fac=function(xt){return new(xt||Ct)(o.KVO(y.Q_),o.KVO(V,8),o.KVO(k.qQ))}}static{this.\u0275mod=o.$C({type:Ct})}static{this.\u0275inj=o.G2t({imports:[b.jI,b.jI]})}}return Ct})();function _e(Ct){return class extends Ct{get disabled(){return this._disabled}set disabled(U){this._disabled=(0,P.he)(U)}constructor(...U){super(...U),this._disabled=!1}}}function Le(Ct,U){return class extends Ct{get color(){return this._color}set color(A){const xt=A||this.defaultColor;xt!==this._color&&(this._color&&this._elementRef.nativeElement.classList.remove(`mat-${this._color}`),xt&&this._elementRef.nativeElement.classList.add(`mat-${xt}`),this._color=xt)}constructor(...A){super(...A),this.defaultColor=U,this.color=U}}}function Ge(Ct){return class extends Ct{get disableRipple(){return this._disableRipple}set disableRipple(U){this._disableRipple=(0,P.he)(U)}constructor(...U){super(...U),this._disableRipple=!1}}}function Xe(Ct,U=0){return class extends Ct{get tabIndex(){return this.disabled?-1:this._tabIndex}set tabIndex(A){this._tabIndex=null!=A?(0,P.OE)(A):this.defaultTabIndex}constructor(...A){super(...A),this._tabIndex=U,this.defaultTabIndex=U}}}function ye(Ct){return class extends Ct{updateErrorState(){const U=this.errorState,Fe=(this.errorStateMatcher||this._defaultErrorStateMatcher).isErrorState(this.ngControl?this.ngControl.control:null,this._parentFormGroup||this._parentForm);Fe!==U&&(this.errorState=Fe,this.stateChanges.next())}constructor(...U){super(...U),this.errorState=!1}}}function Ve(Ct){return class extends Ct{constructor(...U){super(...U),this._isInitialized=!1,this._pendingSubscribers=[],this.initialized=new Z.c(A=>{this._isInitialized?this._notifySubscriber(A):this._pendingSubscribers.push(A)})}_markInitialized(){this._isInitialized=!0,this._pendingSubscribers.forEach(this._notifySubscriber),this._pendingSubscribers=null}_notifySubscriber(U){U.next(),U.complete()}}}let ke=(()=>{class Ct{isErrorState(A,xt){return!!(A&&A.invalid&&(A.touched||xt&&xt.submitted))}static{this.\u0275fac=function(xt){return new(xt||Ct)}}static{this.\u0275prov=o.jDH({token:Ct,factory:Ct.\u0275fac,providedIn:"root"})}}return Ct})();class oe{constructor(U,A,xt,Jt=!1){this._renderer=U,this.element=A,this.config=xt,this._animationForciblyDisabledThroughCss=Jt,this.state=3}fadeOut(){this._renderer.fadeOutRipple(this)}}const Qt=(0,G.BQ)({passive:!0,capture:!0});class Et{constructor(){this._events=new Map,this._delegateEventHandler=U=>{const A=(0,G.Fb)(U);A&&this._events.get(U.type)?.forEach((xt,Jt)=>{(Jt===A||Jt.contains(A))&&xt.forEach(Fe=>Fe.handleEvent(U))})}}addHandler(U,A,xt,Jt){const Fe=this._events.get(A);if(Fe){const Ze=Fe.get(xt);Ze?Ze.add(Jt):Fe.set(xt,new Set([Jt]))}else this._events.set(A,new Map([[xt,new Set([Jt])]])),U.runOutsideAngular(()=>{document.addEventListener(A,this._delegateEventHandler,Qt)})}removeHandler(U,A,xt){const Jt=this._events.get(U);if(!Jt)return;const Fe=Jt.get(A);Fe&&(Fe.delete(xt),0===Fe.size&&Jt.delete(A),0===Jt.size&&(this._events.delete(U),document.removeEventListener(U,this._delegateEventHandler,Qt)))}}const re={enterDuration:225,exitDuration:150},ce=(0,G.BQ)({passive:!0,capture:!0}),je=["mousedown","touchstart"],Ht=["mouseup","mouseleave","touchend","touchcancel"];class ne{static{this._eventManager=new Et}constructor(U,A,xt,Jt){this._target=U,this._ngZone=A,this._platform=Jt,this._isPointerDown=!1,this._activeRipples=new Map,this._pointerUpEventsRegistered=!1,Jt.isBrowser&&(this._containerElement=(0,P.i8)(xt))}fadeInRipple(U,A,xt={}){const Jt=this._containerRect=this._containerRect||this._containerElement.getBoundingClientRect(),Fe={...re,...xt.animation};xt.centered&&(U=Jt.left+Jt.width/2,A=Jt.top+Jt.height/2);const Ze=xt.radius||function at(Ct,U,A){const xt=Math.max(Math.abs(Ct-A.left),Math.abs(Ct-A.right)),Jt=Math.max(Math.abs(U-A.top),Math.abs(U-A.bottom));return Math.sqrt(xt*xt+Jt*Jt)}(U,A,Jt),xn=U-Jt.left,Ie=A-Jt.top,Nn=Fe.enterDuration,Qn=document.createElement("div");Qn.classList.add("mat-ripple-element"),Qn.style.left=xn-Ze+"px",Qn.style.top=Ie-Ze+"px",Qn.style.height=2*Ze+"px",Qn.style.width=2*Ze+"px",null!=xt.color&&(Qn.style.backgroundColor=xt.color),Qn.style.transitionDuration=`${Nn}ms`,this._containerElement.appendChild(Qn);const ee=window.getComputedStyle(Qn),_t=ee.transitionDuration,Q="none"===ee.transitionProperty||"0s"===_t||"0s, 0s"===_t||0===Jt.width&&0===Jt.height,Mt=new oe(this,Qn,xt,Q);Qn.style.transform="scale3d(1, 1, 1)",Mt.state=0,xt.persistent||(this._mostRecentTransientRipple=Mt);let Wt=null;return!Q&&(Nn||Fe.exitDuration)&&this._ngZone.runOutsideAngular(()=>{const se=()=>this._finishRippleTransition(Mt),De=()=>this._destroyRipple(Mt);Qn.addEventListener("transitionend",se),Qn.addEventListener("transitioncancel",De),Wt={onTransitionEnd:se,onTransitionCancel:De}}),this._activeRipples.set(Mt,Wt),(Q||!Nn)&&this._finishRippleTransition(Mt),Mt}fadeOutRipple(U){if(2===U.state||3===U.state)return;const A=U.element,xt={...re,...U.config.animation};A.style.transitionDuration=`${xt.exitDuration}ms`,A.style.opacity="0",U.state=2,(U._animationForciblyDisabledThroughCss||!xt.exitDuration)&&this._finishRippleTransition(U)}fadeOutAll(){this._getActiveRipples().forEach(U=>U.fadeOut())}fadeOutAllNonPersistent(){this._getActiveRipples().forEach(U=>{U.config.persistent||U.fadeOut()})}setupTriggerEvents(U){const A=(0,P.i8)(U);!this._platform.isBrowser||!A||A===this._triggerElement||(this._removeTriggerEvents(),this._triggerElement=A,je.forEach(xt=>{ne._eventManager.addHandler(this._ngZone,xt,A,this)}))}handleEvent(U){"mousedown"===U.type?this._onMousedown(U):"touchstart"===U.type?this._onTouchStart(U):this._onPointerUp(),this._pointerUpEventsRegistered||(this._ngZone.runOutsideAngular(()=>{Ht.forEach(A=>{this._triggerElement.addEventListener(A,this,ce)})}),this._pointerUpEventsRegistered=!0)}_finishRippleTransition(U){0===U.state?this._startFadeOutTransition(U):2===U.state&&this._destroyRipple(U)}_startFadeOutTransition(U){const A=U===this._mostRecentTransientRipple,{persistent:xt}=U.config;U.state=1,!xt&&(!A||!this._isPointerDown)&&U.fadeOut()}_destroyRipple(U){const A=this._activeRipples.get(U)??null;this._activeRipples.delete(U),this._activeRipples.size||(this._containerRect=null),U===this._mostRecentTransientRipple&&(this._mostRecentTransientRipple=null),U.state=3,null!==A&&(U.element.removeEventListener("transitionend",A.onTransitionEnd),U.element.removeEventListener("transitioncancel",A.onTransitionCancel)),U.element.remove()}_onMousedown(U){const A=(0,y._G)(U),xt=this._lastTouchStartEvent&&Date.now(){!U.config.persistent&&(1===U.state||U.config.terminateOnPointerUp&&0===U.state)&&U.fadeOut()}))}_getActiveRipples(){return Array.from(this._activeRipples.keys())}_removeTriggerEvents(){const U=this._triggerElement;U&&(je.forEach(A=>ne._eventManager.removeHandler(A,U,this)),this._pointerUpEventsRegistered&&Ht.forEach(A=>U.removeEventListener(A,this,ce)))}}const H=new o.nKC("mat-ripple-global-options");let st=(()=>{class Ct{get disabled(){return this._disabled}set disabled(A){A&&this.fadeOutAllNonPersistent(),this._disabled=A,this._setupTriggerEventsIfEnabled()}get trigger(){return this._trigger||this._elementRef.nativeElement}set trigger(A){this._trigger=A,this._setupTriggerEventsIfEnabled()}constructor(A,xt,Jt,Fe,Ze){this._elementRef=A,this._animationMode=Ze,this.radius=0,this._disabled=!1,this._isInitialized=!1,this._globalOptions=Fe||{},this._rippleRenderer=new ne(this,xt,A,Jt)}ngOnInit(){this._isInitialized=!0,this._setupTriggerEventsIfEnabled()}ngOnDestroy(){this._rippleRenderer._removeTriggerEvents()}fadeOutAll(){this._rippleRenderer.fadeOutAll()}fadeOutAllNonPersistent(){this._rippleRenderer.fadeOutAllNonPersistent()}get rippleConfig(){return{centered:this.centered,radius:this.radius,color:this.color,animation:{...this._globalOptions.animation,..."NoopAnimations"===this._animationMode?{enterDuration:0,exitDuration:0}:{},...this.animation},terminateOnPointerUp:this._globalOptions.terminateOnPointerUp}}get rippleDisabled(){return this.disabled||!!this._globalOptions.disabled}_setupTriggerEventsIfEnabled(){!this.disabled&&this._isInitialized&&this._rippleRenderer.setupTriggerEvents(this.trigger)}launch(A,xt=0,Jt){return"number"==typeof A?this._rippleRenderer.fadeInRipple(A,xt,{...this.rippleConfig,...Jt}):this._rippleRenderer.fadeInRipple(0,0,{...this.rippleConfig,...A})}static{this.\u0275fac=function(xt){return new(xt||Ct)(o.rXU(o.aKT),o.rXU(o.SKi),o.rXU(G.OD),o.rXU(H,8),o.rXU(o.bc$,8))}}static{this.\u0275dir=o.FsC({type:Ct,selectors:[["","mat-ripple",""],["","matRipple",""]],hostAttrs:[1,"mat-ripple"],hostVars:2,hostBindings:function(xt,Jt){2&xt&&o.AVh("mat-ripple-unbounded",Jt.unbounded)},inputs:{color:["matRippleColor","color"],unbounded:["matRippleUnbounded","unbounded"],centered:["matRippleCentered","centered"],radius:["matRippleRadius","radius"],animation:["matRippleAnimation","animation"],disabled:["matRippleDisabled","disabled"],trigger:["matRippleTrigger","trigger"]},exportAs:["matRipple"]})}}return Ct})(),zt=(()=>{class Ct{static{this.\u0275fac=function(xt){return new(xt||Ct)}}static{this.\u0275mod=o.$C({type:Ct})}static{this.\u0275inj=o.G2t({imports:[mt,mt]})}}return Ct})(),vt=(()=>{class Ct{constructor(A){this._animationMode=A,this.state="unchecked",this.disabled=!1,this.appearance="full"}static{this.\u0275fac=function(xt){return new(xt||Ct)(o.rXU(o.bc$,8))}}static{this.\u0275cmp=o.VBU({type:Ct,selectors:[["mat-pseudo-checkbox"]],hostAttrs:[1,"mat-pseudo-checkbox"],hostVars:12,hostBindings:function(xt,Jt){2&xt&&o.AVh("mat-pseudo-checkbox-indeterminate","indeterminate"===Jt.state)("mat-pseudo-checkbox-checked","checked"===Jt.state)("mat-pseudo-checkbox-disabled",Jt.disabled)("mat-pseudo-checkbox-minimal","minimal"===Jt.appearance)("mat-pseudo-checkbox-full","full"===Jt.appearance)("_mat-animation-noopable","NoopAnimations"===Jt._animationMode)},inputs:{state:"state",disabled:"disabled",appearance:"appearance"},decls:0,vars:0,template:function(xt,Jt){},styles:['.mat-pseudo-checkbox{border-radius:2px;cursor:pointer;display:inline-block;vertical-align:middle;box-sizing:border-box;position:relative;flex-shrink:0;transition:border-color 90ms cubic-bezier(0, 0, 0.2, 0.1),background-color 90ms cubic-bezier(0, 0, 0.2, 0.1)}.mat-pseudo-checkbox::after{position:absolute;opacity:0;content:"";border-bottom:2px solid currentColor;transition:opacity 90ms cubic-bezier(0, 0, 0.2, 0.1)}.mat-pseudo-checkbox._mat-animation-noopable{transition:none !important;animation:none !important}.mat-pseudo-checkbox._mat-animation-noopable::after{transition:none}.mat-pseudo-checkbox-disabled{cursor:default}.mat-pseudo-checkbox-indeterminate::after{left:1px;opacity:1;border-radius:2px}.mat-pseudo-checkbox-checked::after{left:1px;border-left:2px solid currentColor;transform:rotate(-45deg);opacity:1;box-sizing:content-box}.mat-pseudo-checkbox-full{border:2px solid}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked,.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate{border-color:rgba(0,0,0,0)}.mat-pseudo-checkbox{width:18px;height:18px}.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-checked::after{width:14px;height:6px;transform-origin:center;top:-4.2426406871px;left:0;bottom:0;right:0;margin:auto}.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-indeterminate::after{top:8px;width:16px}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked::after{width:10px;height:4px;transform-origin:center;top:-2.8284271247px;left:0;bottom:0;right:0;margin:auto}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate::after{top:6px;width:12px}'],encapsulation:2,changeDetection:0})}}return Ct})(),kt=(()=>{class Ct{static{this.\u0275fac=function(xt){return new(xt||Ct)}}static{this.\u0275mod=o.$C({type:Ct})}static{this.\u0275inj=o.G2t({imports:[mt]})}}return Ct})();const tt=new o.nKC("MAT_OPTION_PARENT_COMPONENT"),xe=new o.nKC("MatOptgroup");let Ke=0;class on{constructor(U,A=!1){this.source=U,this.isUserInput=A}}let _n=(()=>{class Ct{get multiple(){return this._parent&&this._parent.multiple}get selected(){return this._selected}get disabled(){return this.group&&this.group.disabled||this._disabled}set disabled(A){this._disabled=(0,P.he)(A)}get disableRipple(){return!(!this._parent||!this._parent.disableRipple)}get hideSingleSelectionIndicator(){return!(!this._parent||!this._parent.hideSingleSelectionIndicator)}constructor(A,xt,Jt,Fe){this._element=A,this._changeDetectorRef=xt,this._parent=Jt,this.group=Fe,this._selected=!1,this._active=!1,this._disabled=!1,this._mostRecentViewValue="",this.id="mat-option-"+Ke++,this.onSelectionChange=new o.bkB,this._stateChanges=new N.B}get active(){return this._active}get viewValue(){return(this._text?.nativeElement.textContent||"").trim()}select(A=!0){this._selected||(this._selected=!0,this._changeDetectorRef.markForCheck(),A&&this._emitSelectionChangeEvent())}deselect(A=!0){this._selected&&(this._selected=!1,this._changeDetectorRef.markForCheck(),A&&this._emitSelectionChangeEvent())}focus(A,xt){const Jt=this._getHostElement();"function"==typeof Jt.focus&&Jt.focus(xt)}setActiveStyles(){this._active||(this._active=!0,this._changeDetectorRef.markForCheck())}setInactiveStyles(){this._active&&(this._active=!1,this._changeDetectorRef.markForCheck())}getLabel(){return this.viewValue}_handleKeydown(A){(A.keyCode===ot.Fm||A.keyCode===ot.t6)&&!(0,ot.rp)(A)&&(this._selectViaInteraction(),A.preventDefault())}_selectViaInteraction(){this.disabled||(this._selected=!this.multiple||!this._selected,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent(!0))}_getTabIndex(){return this.disabled?"-1":"0"}_getHostElement(){return this._element.nativeElement}ngAfterViewChecked(){if(this._selected){const A=this.viewValue;A!==this._mostRecentViewValue&&(this._mostRecentViewValue&&this._stateChanges.next(),this._mostRecentViewValue=A)}}ngOnDestroy(){this._stateChanges.complete()}_emitSelectionChangeEvent(A=!1){this.onSelectionChange.emit(new on(this,A))}static{this.\u0275fac=function(xt){o.QTQ()}}static{this.\u0275dir=o.FsC({type:Ct,viewQuery:function(xt,Jt){if(1&xt&&o.GBs(M,7),2&xt){let Fe;o.mGM(Fe=o.lsd())&&(Jt._text=Fe.first)}},inputs:{value:"value",id:"id",disabled:"disabled"},outputs:{onSelectionChange:"onSelectionChange"}})}}return Ct})(),hn=(()=>{class Ct extends _n{constructor(A,xt,Jt,Fe){super(A,xt,Jt,Fe)}static{this.\u0275fac=function(xt){return new(xt||Ct)(o.rXU(o.aKT),o.rXU(o.gRc),o.rXU(tt,8),o.rXU(xe,8))}}static{this.\u0275cmp=o.VBU({type:Ct,selectors:[["mat-option"]],hostAttrs:["role","option",1,"mat-mdc-option","mdc-list-item"],hostVars:11,hostBindings:function(xt,Jt){1&xt&&o.bIt("click",function(){return Jt._selectViaInteraction()})("keydown",function(Ze){return Jt._handleKeydown(Ze)}),2&xt&&(o.Mr5("id",Jt.id),o.BMQ("aria-selected",Jt.selected)("aria-disabled",Jt.disabled.toString()),o.AVh("mdc-list-item--selected",Jt.selected)("mat-mdc-option-multiple",Jt.multiple)("mat-mdc-option-active",Jt.active)("mdc-list-item--disabled",Jt.disabled))},exportAs:["matOption"],features:[o.Vt3],ngContentSelectors:bt,decls:8,vars:5,consts:[["class","mat-mdc-option-pseudo-checkbox","aria-hidden","true",3,"disabled","state",4,"ngIf"],[1,"mdc-list-item__primary-text"],["text",""],["class","mat-mdc-option-pseudo-checkbox","state","checked","aria-hidden","true","appearance","minimal",3,"disabled",4,"ngIf"],["class","cdk-visually-hidden",4,"ngIf"],["aria-hidden","true","mat-ripple","",1,"mat-mdc-option-ripple","mat-mdc-focus-indicator",3,"matRippleTrigger","matRippleDisabled"],["aria-hidden","true",1,"mat-mdc-option-pseudo-checkbox",3,"disabled","state"],["state","checked","aria-hidden","true","appearance","minimal",1,"mat-mdc-option-pseudo-checkbox",3,"disabled"],[1,"cdk-visually-hidden"]],template:function(xt,Jt){1&xt&&(o.NAR(J),o.DNE(0,a,1,2,"mat-pseudo-checkbox",0),o.SdG(1),o.j41(2,"span",1,2),o.SdG(4,1),o.k0s(),o.DNE(5,pt,1,1,"mat-pseudo-checkbox",3),o.DNE(6,j,2,1,"span",4),o.nrm(7,"div",5)),2&xt&&(o.Y8G("ngIf",Jt.multiple),o.R7$(5),o.Y8G("ngIf",!Jt.multiple&&Jt.selected&&!Jt.hideSingleSelectionIndicator),o.R7$(1),o.Y8G("ngIf",Jt.group&&Jt.group._inert),o.R7$(1),o.Y8G("matRippleTrigger",Jt._getHostElement())("matRippleDisabled",Jt.disabled||Jt.disableRipple))},dependencies:[st,k.bT,vt],styles:['.mat-mdc-option{display:flex;position:relative;align-items:center;justify-content:flex-start;overflow:hidden;padding:0;padding-left:16px;padding-right:16px;-webkit-user-select:none;user-select:none;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;cursor:pointer;-webkit-tap-highlight-color:rgba(0,0,0,0);color:var(--mat-option-label-text-color);font-family:var(--mat-option-label-text-font);line-height:var(--mat-option-label-text-line-height);font-size:var(--mat-option-label-text-size);letter-spacing:var(--mat-option-label-text-tracking);font-weight:var(--mat-option-label-text-weight);min-height:48px}.mat-mdc-option:focus{outline:none}[dir=rtl] .mat-mdc-option,.mat-mdc-option[dir=rtl]{padding-left:16px;padding-right:16px}.mat-mdc-option:hover:not(.mdc-list-item--disabled){background-color:var(--mat-option-hover-state-layer-color)}.mat-mdc-option:focus.mdc-list-item,.mat-mdc-option.mat-mdc-option-active.mdc-list-item{background-color:var(--mat-option-focus-state-layer-color)}.mat-mdc-option.mdc-list-item--selected:not(.mdc-list-item--disabled) .mdc-list-item__primary-text{color:var(--mat-option-selected-state-label-text-color)}.mat-mdc-option.mdc-list-item--selected:not(.mdc-list-item--disabled):not(.mat-mdc-option-multiple){background-color:var(--mat-option-selected-state-layer-color)}.mat-mdc-option.mdc-list-item{align-items:center}.mat-mdc-option.mdc-list-item--disabled{cursor:default;pointer-events:none}.mat-mdc-option.mdc-list-item--disabled .mat-mdc-option-pseudo-checkbox,.mat-mdc-option.mdc-list-item--disabled .mdc-list-item__primary-text,.mat-mdc-option.mdc-list-item--disabled>mat-icon{opacity:.38}.mat-mdc-optgroup .mat-mdc-option:not(.mat-mdc-option-multiple){padding-left:32px}[dir=rtl] .mat-mdc-optgroup .mat-mdc-option:not(.mat-mdc-option-multiple){padding-left:16px;padding-right:32px}.mat-mdc-option .mat-icon,.mat-mdc-option .mat-pseudo-checkbox-full{margin-right:16px;flex-shrink:0}[dir=rtl] .mat-mdc-option .mat-icon,[dir=rtl] .mat-mdc-option .mat-pseudo-checkbox-full{margin-right:0;margin-left:16px}.mat-mdc-option .mat-pseudo-checkbox-minimal{margin-left:16px;flex-shrink:0}[dir=rtl] .mat-mdc-option .mat-pseudo-checkbox-minimal{margin-right:16px;margin-left:0}.mat-mdc-option .mat-mdc-option-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-mdc-option .mdc-list-item__primary-text{white-space:normal;font-size:inherit;font-weight:inherit;letter-spacing:inherit;line-height:inherit;font-family:inherit;text-decoration:inherit;text-transform:inherit;margin-right:auto}[dir=rtl] .mat-mdc-option .mdc-list-item__primary-text{margin-right:0;margin-left:auto}.cdk-high-contrast-active .mat-mdc-option.mdc-list-item--selected:not(.mat-mdc-option-multiple)::after{content:"";position:absolute;top:50%;right:16px;transform:translateY(-50%);width:10px;height:0;border-bottom:solid 10px;border-radius:10px}[dir=rtl] .cdk-high-contrast-active .mat-mdc-option.mdc-list-item--selected:not(.mat-mdc-option-multiple)::after{right:auto;left:16px}.mat-mdc-option-active .mat-mdc-focus-indicator::before{content:""}'],encapsulation:2,changeDetection:0})}}return Ct})();function fe(Ct,U,A){if(A.length){let xt=U.toArray(),Jt=A.toArray(),Fe=0;for(let Ze=0;ZeA+xt?Math.max(0,Ct-xt+U):A}let me=(()=>{class Ct{static{this.\u0275fac=function(xt){return new(xt||Ct)}}static{this.\u0275mod=o.$C({type:Ct})}static{this.\u0275inj=o.G2t({imports:[zt,k.MD,mt,kt]})}}return Ct})();const jt={capture:!0},Dt=["focus","click","mouseenter","touchstart"],dt="mat-ripple-loader-uninitialized",Rt="mat-ripple-loader-class-name",ae="mat-ripple-loader-centered",ze="mat-ripple-loader-disabled";let Zt=(()=>{class Ct{constructor(){this._document=(0,o.WQX)(k.qQ,{optional:!0}),this._animationMode=(0,o.WQX)(o.bc$,{optional:!0}),this._globalRippleOptions=(0,o.WQX)(H,{optional:!0}),this._platform=(0,o.WQX)(G.OD),this._ngZone=(0,o.WQX)(o.SKi),this._hosts=new Map,this._onInteraction=A=>{if(!(A.target instanceof HTMLElement))return;const Jt=A.target.closest(`[${dt}]`);Jt&&this._createRipple(Jt)},this._ngZone.runOutsideAngular(()=>{for(const A of Dt)this._document?.addEventListener(A,this._onInteraction,jt)})}ngOnDestroy(){const A=this._hosts.keys();for(const xt of A)this.destroyRipple(xt);for(const xt of Dt)this._document?.removeEventListener(xt,this._onInteraction,jt)}configureRipple(A,xt){A.setAttribute(dt,""),(xt.className||!A.hasAttribute(Rt))&&A.setAttribute(Rt,xt.className||""),xt.centered&&A.setAttribute(ae,""),xt.disabled&&A.setAttribute(ze,"")}getRipple(A){return this._hosts.get(A)||this._createRipple(A)}setDisabled(A,xt){const Jt=this._hosts.get(A);Jt?Jt.disabled=xt:xt?A.setAttribute(ze,""):A.removeAttribute(ze)}_createRipple(A){if(!this._document)return;const xt=this._hosts.get(A);if(xt)return xt;A.querySelector(".mat-ripple")?.remove();const Jt=this._document.createElement("span");Jt.classList.add("mat-ripple",A.getAttribute(Rt)),A.append(Jt);const Fe=new st(new o.aKT(Jt),this._ngZone,this._platform,this._globalRippleOptions?this._globalRippleOptions:void 0,this._animationMode?this._animationMode:void 0);return Fe._isInitialized=!0,Fe.trigger=A,Fe.centered=A.hasAttribute(ae),Fe.disabled=A.hasAttribute(ze),this.attachRipple(A,Fe),Fe}attachRipple(A,xt){A.removeAttribute(dt),this._hosts.set(A,xt)}destroyRipple(A){const xt=this._hosts.get(A);xt&&(xt.ngOnDestroy(),this._hosts.delete(A))}static{this.\u0275fac=function(xt){return new(xt||Ct)}}static{this.\u0275prov=o.jDH({token:Ct,factory:Ct.\u0275fac,providedIn:"root"})}}return Ct})()},62633:(Ce,Lt,r)=>{r.d(Lt,{Vh:()=>un,bZ:()=>Ee,E7:()=>at,tx:()=>je,Yi:()=>ne,hM:()=>st,CP:()=>Ne,BI:()=>Ht});var o=r(3819),y=r(18331),b=r(1843),T=r(83607),k=r(29094),G=r(86953),P=r(25150),Z=r(89115),N=r(19424),ot=r(73151),q=r(10165),K=r(28930);function M(kt,tt){}class a{constructor(){this.role="dialog",this.panelClass="",this.hasBackdrop=!0,this.backdropClass="",this.disableClose=!1,this.width="",this.height="",this.data=null,this.ariaDescribedBy=null,this.ariaLabelledBy=null,this.ariaLabel=null,this.ariaModal=!0,this.autoFocus="first-tabbable",this.restoreFocus=!0,this.closeOnNavigation=!0,this.closeOnDestroy=!0,this.closeOnOverlayDetachments=!0}}let j=(()=>{class kt extends G.lb{constructor(X,ft,Ot,xe,Te,Ke,on,_n){super(),this._elementRef=X,this._focusTrapFactory=ft,this._config=xe,this._interactivityChecker=Te,this._ngZone=Ke,this._overlayRef=on,this._focusMonitor=_n,this._elementFocusedBeforeDialogWasOpened=null,this._closeInteractionType=null,this._ariaLabelledByQueue=[],this.attachDomPortal=hn=>{this._portalOutlet.hasAttached();const fe=this._portalOutlet.attachDomPortal(hn);return this._contentAttached(),fe},this._document=Ot,this._config.ariaLabelledBy&&this._ariaLabelledByQueue.push(this._config.ariaLabelledBy)}_contentAttached(){this._initializeFocusTrap(),this._handleBackdropClicks(),this._captureInitialFocus()}_captureInitialFocus(){this._trapFocus()}ngOnDestroy(){this._restoreFocus()}attachComponentPortal(X){this._portalOutlet.hasAttached();const ft=this._portalOutlet.attachComponentPortal(X);return this._contentAttached(),ft}attachTemplatePortal(X){this._portalOutlet.hasAttached();const ft=this._portalOutlet.attachTemplatePortal(X);return this._contentAttached(),ft}_recaptureFocus(){this._containsFocus()||this._trapFocus()}_forceFocus(X,ft){this._interactivityChecker.isFocusable(X)||(X.tabIndex=-1,this._ngZone.runOutsideAngular(()=>{const Ot=()=>{X.removeEventListener("blur",Ot),X.removeEventListener("mousedown",Ot),X.removeAttribute("tabindex")};X.addEventListener("blur",Ot),X.addEventListener("mousedown",Ot)})),X.focus(ft)}_focusByCssSelector(X,ft){let Ot=this._elementRef.nativeElement.querySelector(X);Ot&&this._forceFocus(Ot,ft)}_trapFocus(){const X=this._elementRef.nativeElement;switch(this._config.autoFocus){case!1:case"dialog":this._containsFocus()||X.focus();break;case!0:case"first-tabbable":this._focusTrap.focusInitialElementWhenReady().then(ft=>{ft||this._focusDialogContainer()});break;case"first-heading":this._focusByCssSelector('h1, h2, h3, h4, h5, h6, [role="heading"]');break;default:this._focusByCssSelector(this._config.autoFocus)}}_restoreFocus(){const X=this._config.restoreFocus;let ft=null;if("string"==typeof X?ft=this._document.querySelector(X):"boolean"==typeof X?ft=X?this._elementFocusedBeforeDialogWasOpened:null:X&&(ft=X),this._config.restoreFocus&&ft&&"function"==typeof ft.focus){const Ot=(0,k.vc)(),xe=this._elementRef.nativeElement;(!Ot||Ot===this._document.body||Ot===xe||xe.contains(Ot))&&(this._focusMonitor?(this._focusMonitor.focusVia(ft,this._closeInteractionType),this._closeInteractionType=null):ft.focus())}this._focusTrap&&this._focusTrap.destroy()}_focusDialogContainer(){this._elementRef.nativeElement.focus&&this._elementRef.nativeElement.focus()}_containsFocus(){const X=this._elementRef.nativeElement,ft=(0,k.vc)();return X===ft||X.contains(ft)}_initializeFocusTrap(){this._focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement),this._document&&(this._elementFocusedBeforeDialogWasOpened=(0,k.vc)())}_handleBackdropClicks(){this._overlayRef.backdropClick().subscribe(()=>{this._config.disableClose&&this._recaptureFocus()})}static{this.\u0275fac=function(ft){return new(ft||kt)(b.rXU(b.aKT),b.rXU(T.GX),b.rXU(y.qQ,8),b.rXU(a),b.rXU(T.Z7),b.rXU(b.SKi),b.rXU(o.yY),b.rXU(T.FN))}}static{this.\u0275cmp=b.VBU({type:kt,selectors:[["cdk-dialog-container"]],viewQuery:function(ft,Ot){if(1&ft&&b.GBs(G.I3,7),2&ft){let xe;b.mGM(xe=b.lsd())&&(Ot._portalOutlet=xe.first)}},hostAttrs:["tabindex","-1",1,"cdk-dialog-container"],hostVars:6,hostBindings:function(ft,Ot){2&ft&&b.BMQ("id",Ot._config.id||null)("role",Ot._config.role)("aria-modal",Ot._config.ariaModal)("aria-labelledby",Ot._config.ariaLabel?null:Ot._ariaLabelledByQueue[0])("aria-label",Ot._config.ariaLabel)("aria-describedby",Ot._config.ariaDescribedBy||null)},features:[b.Vt3],decls:1,vars:0,consts:[["cdkPortalOutlet",""]],template:function(ft,Ot){1&ft&&b.DNE(0,M,0,0,"ng-template",0)},dependencies:[G.I3],styles:[".cdk-dialog-container{display:block;width:100%;height:100%;min-height:inherit;max-height:inherit}"],encapsulation:2})}}return kt})();class J{constructor(tt,X){this.overlayRef=tt,this.config=X,this.closed=new Z.B,this.disableClose=X.disableClose,this.backdropClick=tt.backdropClick(),this.keydownEvents=tt.keydownEvents(),this.outsidePointerEvents=tt.outsidePointerEvents(),this.id=X.id,this.keydownEvents.subscribe(ft=>{ft.keyCode===P._f&&!this.disableClose&&!(0,P.rp)(ft)&&(ft.preventDefault(),this.close(void 0,{focusOrigin:"keyboard"}))}),this.backdropClick.subscribe(()=>{this.disableClose||this.close(void 0,{focusOrigin:"mouse"})}),this._detachSubscription=tt.detachments().subscribe(()=>{!1!==X.closeOnOverlayDetachments&&this.close()})}close(tt,X){if(this.containerInstance){const ft=this.closed;this.containerInstance._closeInteractionType=X?.focusOrigin||"program",this._detachSubscription.unsubscribe(),this.overlayRef.dispose(),ft.next(tt),ft.complete(),this.componentInstance=this.containerInstance=null}}updatePosition(){return this.overlayRef.updatePosition(),this}updateSize(tt="",X=""){return this.overlayRef.updateSize({width:tt,height:X}),this}addPanelClass(tt){return this.overlayRef.addPanelClass(tt),this}removePanelClass(tt){return this.overlayRef.removePanelClass(tt),this}}const bt=new b.nKC("DialogScrollStrategy"),Gt=new b.nKC("DialogData"),te=new b.nKC("DefaultDialogConfig"),lt={provide:bt,deps:[o.hJ],useFactory:function $(kt){return()=>kt.scrollStrategies.block()}};let V=0,mt=(()=>{class kt{get openDialogs(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel}get afterOpened(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel}constructor(X,ft,Ot,xe,Te,Ke){this._overlay=X,this._injector=ft,this._defaultOptions=Ot,this._parentDialog=xe,this._overlayContainer=Te,this._openDialogsAtThisLevel=[],this._afterAllClosedAtThisLevel=new Z.B,this._afterOpenedAtThisLevel=new Z.B,this._ariaHiddenElements=new Map,this.afterAllClosed=(0,N.v)(()=>this.openDialogs.length?this._getAfterAllClosed():this._getAfterAllClosed().pipe((0,K.Z)(void 0))),this._scrollStrategy=Ke}open(X,ft){(ft={...this._defaultOptions||new a,...ft}).id=ft.id||"cdk-dialog-"+V++,ft.id&&this.getDialogById(ft.id);const xe=this._getOverlayConfig(ft),Te=this._overlay.create(xe),Ke=new J(Te,ft),on=this._attachContainer(Te,Ke,ft);return Ke.containerInstance=on,this._attachDialogContent(X,Ke,on,ft),this.openDialogs.length||this._hideNonDialogContentFromAssistiveTechnology(),this.openDialogs.push(Ke),Ke.closed.subscribe(()=>this._removeOpenDialog(Ke,!0)),this.afterOpened.next(Ke),Ke}closeAll(){rt(this.openDialogs,X=>X.close())}getDialogById(X){return this.openDialogs.find(ft=>ft.id===X)}ngOnDestroy(){rt(this._openDialogsAtThisLevel,X=>{!1===X.config.closeOnDestroy&&this._removeOpenDialog(X,!1)}),rt(this._openDialogsAtThisLevel,X=>X.close()),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete(),this._openDialogsAtThisLevel=[]}_getOverlayConfig(X){const ft=new o.rR({positionStrategy:X.positionStrategy||this._overlay.position().global().centerHorizontally().centerVertically(),scrollStrategy:X.scrollStrategy||this._scrollStrategy(),panelClass:X.panelClass,hasBackdrop:X.hasBackdrop,direction:X.direction,minWidth:X.minWidth,minHeight:X.minHeight,maxWidth:X.maxWidth,maxHeight:X.maxHeight,width:X.width,height:X.height,disposeOnNavigation:X.closeOnNavigation});return X.backdropClass&&(ft.backdropClass=X.backdropClass),ft}_attachContainer(X,ft,Ot){const xe=Ot.injector||Ot.viewContainerRef?.injector,Te=[{provide:a,useValue:Ot},{provide:J,useValue:ft},{provide:o.yY,useValue:X}];let Ke;Ot.container?"function"==typeof Ot.container?Ke=Ot.container:(Ke=Ot.container.type,Te.push(...Ot.container.providers(Ot))):Ke=j;const on=new G.A8(Ke,Ot.viewContainerRef,b.zZn.create({parent:xe||this._injector,providers:Te}),Ot.componentFactoryResolver);return X.attach(on).instance}_attachDialogContent(X,ft,Ot,xe){if(X instanceof b.C4Q){const Te=this._createInjector(xe,ft,Ot,void 0);let Ke={$implicit:xe.data,dialogRef:ft};xe.templateContext&&(Ke={...Ke,..."function"==typeof xe.templateContext?xe.templateContext():xe.templateContext}),Ot.attachTemplatePortal(new G.VA(X,null,Ke,Te))}else{const Te=this._createInjector(xe,ft,Ot,this._injector),Ke=Ot.attachComponentPortal(new G.A8(X,xe.viewContainerRef,Te,xe.componentFactoryResolver));ft.componentRef=Ke,ft.componentInstance=Ke.instance}}_createInjector(X,ft,Ot,xe){const Te=X.injector||X.viewContainerRef?.injector,Ke=[{provide:Gt,useValue:X.data},{provide:J,useValue:ft}];return X.providers&&("function"==typeof X.providers?Ke.push(...X.providers(ft,X,Ot)):Ke.push(...X.providers)),X.direction&&(!Te||!Te.get(q.dS,null,{optional:!0}))&&Ke.push({provide:q.dS,useValue:{value:X.direction,change:(0,ot.of)()}}),b.zZn.create({parent:Te||xe,providers:Ke})}_removeOpenDialog(X,ft){const Ot=this.openDialogs.indexOf(X);Ot>-1&&(this.openDialogs.splice(Ot,1),this.openDialogs.length||(this._ariaHiddenElements.forEach((xe,Te)=>{xe?Te.setAttribute("aria-hidden",xe):Te.removeAttribute("aria-hidden")}),this._ariaHiddenElements.clear(),ft&&this._getAfterAllClosed().next()))}_hideNonDialogContentFromAssistiveTechnology(){const X=this._overlayContainer.getContainerElement();if(X.parentElement){const ft=X.parentElement.children;for(let Ot=ft.length-1;Ot>-1;Ot--){const xe=ft[Ot];xe!==X&&"SCRIPT"!==xe.nodeName&&"STYLE"!==xe.nodeName&&!xe.hasAttribute("aria-live")&&(this._ariaHiddenElements.set(xe,xe.getAttribute("aria-hidden")),xe.setAttribute("aria-hidden","true"))}}}_getAfterAllClosed(){const X=this._parentDialog;return X?X._getAfterAllClosed():this._afterAllClosedAtThisLevel}static{this.\u0275fac=function(ft){return new(ft||kt)(b.KVO(o.hJ),b.KVO(b.zZn),b.KVO(te,8),b.KVO(kt,12),b.KVO(o.Sf),b.KVO(bt))}}static{this.\u0275prov=b.jDH({token:kt,factory:kt.\u0275fac})}}return kt})();function rt(kt,tt){let X=kt.length;for(;X--;)tt(kt[X])}let $t=(()=>{class kt{static{this.\u0275fac=function(ft){return new(ft||kt)}}static{this.\u0275mod=b.$C({type:kt})}static{this.\u0275inj=b.G2t({providers:[mt,lt],imports:[o.z_,G.jc,T.Pd,G.jc]})}}return kt})();var de=r(8275),_e=r(85012),Le=r(98474),Ge=r(89371),Xe=r(42250);function Ve(kt,tt){}r(89411);class Oe{constructor(){this.role="dialog",this.panelClass="",this.hasBackdrop=!0,this.backdropClass="",this.disableClose=!1,this.width="",this.height="",this.maxWidth="80vw",this.data=null,this.ariaDescribedBy=null,this.ariaLabelledBy=null,this.ariaLabel=null,this.ariaModal=!0,this.autoFocus="first-tabbable",this.restoreFocus=!0,this.delayFocusTrap=!0,this.closeOnNavigation=!0}}const Qe="mdc-dialog--open",be="mdc-dialog--opening",Me="mdc-dialog--closing";let Nt=(()=>{class kt extends j{constructor(X,ft,Ot,xe,Te,Ke,on,_n){super(X,ft,Ot,xe,Te,Ke,on,_n),this._animationStateChanged=new b.bkB}_captureInitialFocus(){this._config.delayFocusTrap||this._trapFocus()}_openAnimationDone(X){this._config.delayFocusTrap&&this._trapFocus(),this._animationStateChanged.next({state:"opened",totalTime:X})}static{this.\u0275fac=function(ft){return new(ft||kt)(b.rXU(b.aKT),b.rXU(T.GX),b.rXU(y.qQ,8),b.rXU(Oe),b.rXU(T.Z7),b.rXU(b.SKi),b.rXU(o.yY),b.rXU(T.FN))}}static{this.\u0275cmp=b.VBU({type:kt,selectors:[["ng-component"]],features:[b.Vt3],decls:0,vars:0,template:function(ft,Ot){},encapsulation:2})}}return kt})();const Tt="--mat-dialog-transition-duration";function Yt(kt){return null==kt?null:"number"==typeof kt?kt:kt.endsWith("ms")?(0,de.OE)(kt.substring(0,kt.length-2)):kt.endsWith("s")?1e3*(0,de.OE)(kt.substring(0,kt.length-1)):"0"===kt?0:null}let Ut=(()=>{class kt extends Nt{constructor(X,ft,Ot,xe,Te,Ke,on,_n,hn){super(X,ft,Ot,xe,Te,Ke,on,hn),this._animationMode=_n,this._animationsEnabled="NoopAnimations"!==this._animationMode,this._hostElement=this._elementRef.nativeElement,this._enterAnimationDuration=this._animationsEnabled?Yt(this._config.enterAnimationDuration)??150:0,this._exitAnimationDuration=this._animationsEnabled?Yt(this._config.exitAnimationDuration)??75:0,this._animationTimer=null,this._finishDialogOpen=()=>{this._clearAnimationClasses(),this._openAnimationDone(this._enterAnimationDuration)},this._finishDialogClose=()=>{this._clearAnimationClasses(),this._animationStateChanged.emit({state:"closed",totalTime:this._exitAnimationDuration})}}_contentAttached(){super._contentAttached(),this._startOpenAnimation()}ngOnDestroy(){super.ngOnDestroy(),null!==this._animationTimer&&clearTimeout(this._animationTimer)}_startOpenAnimation(){this._animationStateChanged.emit({state:"opening",totalTime:this._enterAnimationDuration}),this._animationsEnabled?(this._hostElement.style.setProperty(Tt,`${this._enterAnimationDuration}ms`),this._requestAnimationFrame(()=>this._hostElement.classList.add(be,Qe)),this._waitForAnimationToComplete(this._enterAnimationDuration,this._finishDialogOpen)):(this._hostElement.classList.add(Qe),Promise.resolve().then(()=>this._finishDialogOpen()))}_startExitAnimation(){this._animationStateChanged.emit({state:"closing",totalTime:this._exitAnimationDuration}),this._hostElement.classList.remove(Qe),this._animationsEnabled?(this._hostElement.style.setProperty(Tt,`${this._exitAnimationDuration}ms`),this._requestAnimationFrame(()=>this._hostElement.classList.add(Me)),this._waitForAnimationToComplete(this._exitAnimationDuration,this._finishDialogClose)):Promise.resolve().then(()=>this._finishDialogClose())}_clearAnimationClasses(){this._hostElement.classList.remove(be,Me)}_waitForAnimationToComplete(X,ft){null!==this._animationTimer&&clearTimeout(this._animationTimer),this._animationTimer=setTimeout(ft,X)}_requestAnimationFrame(X){this._ngZone.runOutsideAngular(()=>{"function"==typeof requestAnimationFrame?requestAnimationFrame(X):X()})}static{this.\u0275fac=function(ft){return new(ft||kt)(b.rXU(b.aKT),b.rXU(T.GX),b.rXU(y.qQ,8),b.rXU(Oe),b.rXU(T.Z7),b.rXU(b.SKi),b.rXU(o.yY),b.rXU(b.bc$,8),b.rXU(T.FN))}}static{this.\u0275cmp=b.VBU({type:kt,selectors:[["mat-dialog-container"]],hostAttrs:["tabindex","-1",1,"mat-mdc-dialog-container","mdc-dialog"],hostVars:8,hostBindings:function(ft,Ot){2&ft&&(b.Mr5("id",Ot._config.id),b.BMQ("aria-modal",Ot._config.ariaModal)("role",Ot._config.role)("aria-labelledby",Ot._config.ariaLabel?null:Ot._ariaLabelledByQueue[0])("aria-label",Ot._config.ariaLabel)("aria-describedby",Ot._config.ariaDescribedBy||null),b.AVh("_mat-animation-noopable",!Ot._animationsEnabled))},features:[b.Vt3],decls:3,vars:0,consts:[[1,"mdc-dialog__container"],[1,"mat-mdc-dialog-surface","mdc-dialog__surface"],["cdkPortalOutlet",""]],template:function(ft,Ot){1&ft&&(b.j41(0,"div",0)(1,"div",1),b.DNE(2,Ve,0,0,"ng-template",2),b.k0s()())},dependencies:[G.I3],styles:['.mdc-elevation-overlay{position:absolute;border-radius:inherit;pointer-events:none;opacity:var(--mdc-elevation-overlay-opacity, 0);transition:opacity 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-dialog,.mdc-dialog__scrim{position:fixed;top:0;left:0;align-items:center;justify-content:center;box-sizing:border-box;width:100%;height:100%}.mdc-dialog{display:none;z-index:var(--mdc-dialog-z-index, 7)}.mdc-dialog .mdc-dialog__content{padding:20px 24px 20px 24px}.mdc-dialog .mdc-dialog__surface{min-width:280px}@media(max-width: 592px){.mdc-dialog .mdc-dialog__surface{max-width:calc(100vw - 32px)}}@media(min-width: 592px){.mdc-dialog .mdc-dialog__surface{max-width:560px}}.mdc-dialog .mdc-dialog__surface{max-height:calc(100% - 32px)}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{max-width:none}@media(max-width: 960px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{max-height:560px;width:560px}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__close{right:-12px}}@media(max-width: 720px)and (max-width: 672px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{width:calc(100vw - 112px)}}@media(max-width: 720px)and (min-width: 672px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{width:560px}}@media(max-width: 720px)and (max-height: 720px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{max-height:calc(100vh - 160px)}}@media(max-width: 720px)and (min-height: 720px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{max-height:560px}}@media(max-width: 720px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__close{right:-12px}}@media(max-width: 720px)and (max-height: 400px),(max-width: 600px),(min-width: 720px)and (max-height: 400px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{height:100%;max-height:100vh;max-width:100vw;width:100vw;border-radius:0}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__close{order:-1;left:-12px}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__header{padding:0 16px 9px;justify-content:flex-start}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__title{margin-left:calc(16px - 2 * 12px)}}@media(min-width: 960px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{width:calc(100vw - 400px)}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__close{right:-12px}}.mdc-dialog.mdc-dialog__scrim--hidden .mdc-dialog__scrim{opacity:0}.mdc-dialog__scrim{opacity:0;z-index:-1}.mdc-dialog__container{display:flex;flex-direction:row;align-items:center;justify-content:space-around;box-sizing:border-box;height:100%;transform:scale(0.8);opacity:0;pointer-events:none}.mdc-dialog__surface{position:relative;display:flex;flex-direction:column;flex-grow:0;flex-shrink:0;box-sizing:border-box;max-width:100%;max-height:100%;pointer-events:auto;overflow-y:auto;outline:0}.mdc-dialog__surface .mdc-elevation-overlay{width:100%;height:100%;top:0;left:0}[dir=rtl] .mdc-dialog__surface,.mdc-dialog__surface[dir=rtl]{text-align:right}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mdc-dialog__surface{outline:2px solid windowText}}.mdc-dialog__surface::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:2px solid rgba(0,0,0,0);border-radius:inherit;content:"";pointer-events:none}@media screen and (forced-colors: active){.mdc-dialog__surface::before{border-color:CanvasText}}@media screen and (-ms-high-contrast: active),screen and (-ms-high-contrast: none){.mdc-dialog__surface::before{content:none}}.mdc-dialog__title{display:block;margin-top:0;position:relative;flex-shrink:0;box-sizing:border-box;margin:0 0 1px;padding:0 24px 9px}.mdc-dialog__title::before{display:inline-block;width:0;height:40px;content:"";vertical-align:0}[dir=rtl] .mdc-dialog__title,.mdc-dialog__title[dir=rtl]{text-align:right}.mdc-dialog--scrollable .mdc-dialog__title{margin-bottom:1px;padding-bottom:15px}.mdc-dialog--fullscreen .mdc-dialog__header{align-items:baseline;border-bottom:1px solid rgba(0,0,0,0);display:inline-flex;justify-content:space-between;padding:0 24px 9px;z-index:1}@media screen and (forced-colors: active){.mdc-dialog--fullscreen .mdc-dialog__header{border-bottom-color:CanvasText}}.mdc-dialog--fullscreen .mdc-dialog__header .mdc-dialog__close{right:-12px}.mdc-dialog--fullscreen .mdc-dialog__title{margin-bottom:0;padding:0;border-bottom:0}.mdc-dialog--fullscreen.mdc-dialog--scrollable .mdc-dialog__title{border-bottom:0;margin-bottom:0}.mdc-dialog--fullscreen .mdc-dialog__close{top:5px}.mdc-dialog--fullscreen.mdc-dialog--scrollable .mdc-dialog__actions{border-top:1px solid rgba(0,0,0,0)}@media screen and (forced-colors: active){.mdc-dialog--fullscreen.mdc-dialog--scrollable .mdc-dialog__actions{border-top-color:CanvasText}}.mdc-dialog--fullscreen--titleless .mdc-dialog__close{margin-top:4px}.mdc-dialog--fullscreen--titleless.mdc-dialog--scrollable .mdc-dialog__close{margin-top:0}.mdc-dialog__content{flex-grow:1;box-sizing:border-box;margin:0;overflow:auto}.mdc-dialog__content>:first-child{margin-top:0}.mdc-dialog__content>:last-child{margin-bottom:0}.mdc-dialog__title+.mdc-dialog__content,.mdc-dialog__header+.mdc-dialog__content{padding-top:0}.mdc-dialog--scrollable .mdc-dialog__title+.mdc-dialog__content{padding-top:8px;padding-bottom:8px}.mdc-dialog__content .mdc-deprecated-list:first-child:last-child{padding:6px 0 0}.mdc-dialog--scrollable .mdc-dialog__content .mdc-deprecated-list:first-child:last-child{padding:0}.mdc-dialog__actions{display:flex;position:relative;flex-shrink:0;flex-wrap:wrap;align-items:center;justify-content:flex-end;box-sizing:border-box;min-height:52px;margin:0;padding:8px;border-top:1px solid rgba(0,0,0,0)}@media screen and (forced-colors: active){.mdc-dialog__actions{border-top-color:CanvasText}}.mdc-dialog--stacked .mdc-dialog__actions{flex-direction:column;align-items:flex-end}.mdc-dialog__button{margin-left:8px;margin-right:0;max-width:100%;text-align:right}[dir=rtl] .mdc-dialog__button,.mdc-dialog__button[dir=rtl]{margin-left:0;margin-right:8px}.mdc-dialog__button:first-child{margin-left:0;margin-right:0}[dir=rtl] .mdc-dialog__button:first-child,.mdc-dialog__button:first-child[dir=rtl]{margin-left:0;margin-right:0}[dir=rtl] .mdc-dialog__button,.mdc-dialog__button[dir=rtl]{text-align:left}.mdc-dialog--stacked .mdc-dialog__button:not(:first-child){margin-top:12px}.mdc-dialog--open,.mdc-dialog--opening,.mdc-dialog--closing{display:flex}.mdc-dialog--opening .mdc-dialog__scrim{transition:opacity 150ms linear}.mdc-dialog--opening .mdc-dialog__container{transition:opacity 75ms linear,transform 150ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mdc-dialog--closing .mdc-dialog__scrim,.mdc-dialog--closing .mdc-dialog__container{transition:opacity 75ms linear}.mdc-dialog--closing .mdc-dialog__container{transform:none}.mdc-dialog--open .mdc-dialog__scrim{opacity:1}.mdc-dialog--open .mdc-dialog__container{transform:none;opacity:1}.mdc-dialog--open.mdc-dialog__surface-scrim--shown .mdc-dialog__surface-scrim{opacity:1}.mdc-dialog--open.mdc-dialog__surface-scrim--hiding .mdc-dialog__surface-scrim{transition:opacity 75ms linear}.mdc-dialog--open.mdc-dialog__surface-scrim--showing .mdc-dialog__surface-scrim{transition:opacity 150ms linear}.mdc-dialog__surface-scrim{display:none;opacity:0;position:absolute;width:100%;height:100%;z-index:1}.mdc-dialog__surface-scrim--shown .mdc-dialog__surface-scrim,.mdc-dialog__surface-scrim--showing .mdc-dialog__surface-scrim,.mdc-dialog__surface-scrim--hiding .mdc-dialog__surface-scrim{display:block}.mdc-dialog-scroll-lock{overflow:hidden}.mdc-dialog--no-content-padding .mdc-dialog__content{padding:0}.mdc-dialog--sheet .mdc-dialog__container .mdc-dialog__close{right:12px;top:9px;position:absolute;z-index:1}.mdc-dialog__scrim--removed{pointer-events:none}.mdc-dialog__scrim--removed .mdc-dialog__scrim,.mdc-dialog__scrim--removed .mdc-dialog__surface-scrim{display:none}.mat-mdc-dialog-content{max-height:65vh}.mat-mdc-dialog-container{position:static;display:block}.mat-mdc-dialog-container,.mat-mdc-dialog-container .mdc-dialog__container,.mat-mdc-dialog-container .mdc-dialog__surface{max-height:inherit;min-height:inherit;min-width:inherit;max-width:inherit}.mat-mdc-dialog-container .mdc-dialog__surface{display:block;width:100%;height:100%}.mat-mdc-dialog-container{--mdc-dialog-container-elevation-shadow:0px 11px 15px -7px rgba(0, 0, 0, 0.2), 0px 24px 38px 3px rgba(0, 0, 0, 0.14), 0px 9px 46px 8px rgba(0, 0, 0, 0.12);--mdc-dialog-container-shadow-color:#000;--mdc-dialog-container-shape:4px;--mdc-dialog-container-elevation: var(--mdc-dialog-container-elevation-shadow);outline:0}.mat-mdc-dialog-container .mdc-dialog__surface{background-color:var(--mdc-dialog-container-color, white)}.mat-mdc-dialog-container .mdc-dialog__surface{box-shadow:var(--mdc-dialog-container-elevation, 0px 11px 15px -7px rgba(0, 0, 0, 0.2), 0px 24px 38px 3px rgba(0, 0, 0, 0.14), 0px 9px 46px 8px rgba(0, 0, 0, 0.12))}.mat-mdc-dialog-container .mdc-dialog__surface{border-radius:var(--mdc-dialog-container-shape, 4px)}.mat-mdc-dialog-container .mdc-dialog__title{font-family:var(--mdc-dialog-subhead-font, Roboto, sans-serif);line-height:var(--mdc-dialog-subhead-line-height, 1.5rem);font-size:var(--mdc-dialog-subhead-size, 1rem);font-weight:var(--mdc-dialog-subhead-weight, 400);letter-spacing:var(--mdc-dialog-subhead-tracking, 0.03125em)}.mat-mdc-dialog-container .mdc-dialog__title{color:var(--mdc-dialog-subhead-color, rgba(0, 0, 0, 0.87))}.mat-mdc-dialog-container .mdc-dialog__content{font-family:var(--mdc-dialog-supporting-text-font, Roboto, sans-serif);line-height:var(--mdc-dialog-supporting-text-line-height, 1.5rem);font-size:var(--mdc-dialog-supporting-text-size, 1rem);font-weight:var(--mdc-dialog-supporting-text-weight, 400);letter-spacing:var(--mdc-dialog-supporting-text-tracking, 0.03125em)}.mat-mdc-dialog-container .mdc-dialog__content{color:var(--mdc-dialog-supporting-text-color, rgba(0, 0, 0, 0.6))}.mat-mdc-dialog-container .mdc-dialog__container{transition-duration:var(--mat-dialog-transition-duration, 0ms)}.mat-mdc-dialog-container._mat-animation-noopable .mdc-dialog__container{transition:none}.mat-mdc-dialog-content{display:block}.mat-mdc-dialog-actions{justify-content:start}.mat-mdc-dialog-actions.mat-mdc-dialog-actions-align-center,.mat-mdc-dialog-actions[align=center]{justify-content:center}.mat-mdc-dialog-actions.mat-mdc-dialog-actions-align-end,.mat-mdc-dialog-actions[align=end]{justify-content:flex-end}.mat-mdc-dialog-actions .mat-button-base+.mat-button-base,.mat-mdc-dialog-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:8px}[dir=rtl] .mat-mdc-dialog-actions .mat-button-base+.mat-button-base,[dir=rtl] .mat-mdc-dialog-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:0;margin-right:8px}'],encapsulation:2})}}return kt})();class Ne{constructor(tt,X,ft){this._ref=tt,this._containerInstance=ft,this._afterOpened=new Z.B,this._beforeClosed=new Z.B,this._state=0,this.disableClose=X.disableClose,this.id=tt.id,ft._animationStateChanged.pipe((0,Le.p)(Ot=>"opened"===Ot.state),(0,Ge.s)(1)).subscribe(()=>{this._afterOpened.next(),this._afterOpened.complete()}),ft._animationStateChanged.pipe((0,Le.p)(Ot=>"closed"===Ot.state),(0,Ge.s)(1)).subscribe(()=>{clearTimeout(this._closeFallbackTimeout),this._finishDialogClose()}),tt.overlayRef.detachments().subscribe(()=>{this._beforeClosed.next(this._result),this._beforeClosed.complete(),this._finishDialogClose()}),(0,_e.h)(this.backdropClick(),this.keydownEvents().pipe((0,Le.p)(Ot=>Ot.keyCode===P._f&&!this.disableClose&&!(0,P.rp)(Ot)))).subscribe(Ot=>{this.disableClose||(Ot.preventDefault(),ke(this,"keydown"===Ot.type?"keyboard":"mouse"))})}close(tt){this._result=tt,this._containerInstance._animationStateChanged.pipe((0,Le.p)(X=>"closing"===X.state),(0,Ge.s)(1)).subscribe(X=>{this._beforeClosed.next(tt),this._beforeClosed.complete(),this._ref.overlayRef.detachBackdrop(),this._closeFallbackTimeout=setTimeout(()=>this._finishDialogClose(),X.totalTime+100)}),this._state=1,this._containerInstance._startExitAnimation()}afterOpened(){return this._afterOpened}afterClosed(){return this._ref.closed}beforeClosed(){return this._beforeClosed}backdropClick(){return this._ref.backdropClick}keydownEvents(){return this._ref.keydownEvents}updatePosition(tt){let X=this._ref.config.positionStrategy;return tt&&(tt.left||tt.right)?tt.left?X.left(tt.left):X.right(tt.right):X.centerHorizontally(),tt&&(tt.top||tt.bottom)?tt.top?X.top(tt.top):X.bottom(tt.bottom):X.centerVertically(),this._ref.updatePosition(),this}updateSize(tt="",X=""){return this._ref.updateSize(tt,X),this}addPanelClass(tt){return this._ref.addPanelClass(tt),this}removePanelClass(tt){return this._ref.removePanelClass(tt),this}getState(){return this._state}_finishDialogClose(){this._state=2,this._ref.close(this._result,{focusOrigin:this._closeInteractionType}),this.componentInstance=null}}function ke(kt,tt,X){return kt._closeInteractionType=tt,kt.close(X)}const un=new b.nKC("MatMdcDialogData"),gt=new b.nKC("mat-mdc-dialog-default-options"),le=new b.nKC("mat-mdc-dialog-scroll-strategy"),oe={provide:le,deps:[o.hJ],useFactory:function Vt(kt){return()=>kt.scrollStrategies.block()}};let Et=0,re=(()=>{class kt{get openDialogs(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel}get afterOpened(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel}_getAfterAllClosed(){const X=this._parentDialog;return X?X._getAfterAllClosed():this._afterAllClosedAtThisLevel}constructor(X,ft,Ot,xe,Te,Ke,on,_n,hn,fe){this._overlay=X,this._defaultOptions=Ot,this._parentDialog=xe,this._dialogRefConstructor=on,this._dialogContainerType=_n,this._dialogDataToken=hn,this._openDialogsAtThisLevel=[],this._afterAllClosedAtThisLevel=new Z.B,this._afterOpenedAtThisLevel=new Z.B,this._idPrefix="mat-dialog-",this.dialogConfigClass=Oe,this.afterAllClosed=(0,N.v)(()=>this.openDialogs.length?this._getAfterAllClosed():this._getAfterAllClosed().pipe((0,K.Z)(void 0))),this._scrollStrategy=Ke,this._dialog=ft.get(mt)}open(X,ft){let Ot;(ft={...this._defaultOptions||new Oe,...ft}).id=ft.id||`${this._idPrefix}${Et++}`,ft.scrollStrategy=ft.scrollStrategy||this._scrollStrategy();const xe=this._dialog.open(X,{...ft,positionStrategy:this._overlay.position().global().centerHorizontally().centerVertically(),disableClose:!0,closeOnDestroy:!1,closeOnOverlayDetachments:!1,container:{type:this._dialogContainerType,providers:()=>[{provide:this.dialogConfigClass,useValue:ft},{provide:a,useValue:ft}]},templateContext:()=>({dialogRef:Ot}),providers:(Te,Ke,on)=>(Ot=new this._dialogRefConstructor(Te,ft,on),Ot.updatePosition(ft?.position),[{provide:this._dialogContainerType,useValue:on},{provide:this._dialogDataToken,useValue:Ke.data},{provide:this._dialogRefConstructor,useValue:Ot}])});return Ot.componentRef=xe.componentRef,Ot.componentInstance=xe.componentInstance,this.openDialogs.push(Ot),this.afterOpened.next(Ot),Ot.afterClosed().subscribe(()=>{const Te=this.openDialogs.indexOf(Ot);Te>-1&&(this.openDialogs.splice(Te,1),this.openDialogs.length||this._getAfterAllClosed().next())}),Ot}closeAll(){this._closeDialogs(this.openDialogs)}getDialogById(X){return this.openDialogs.find(ft=>ft.id===X)}ngOnDestroy(){this._closeDialogs(this._openDialogsAtThisLevel),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete()}_closeDialogs(X){let ft=X.length;for(;ft--;)X[ft].close()}static{this.\u0275fac=function(ft){b.QTQ()}}static{this.\u0275prov=b.jDH({token:kt,factory:kt.\u0275fac})}}return kt})(),Ee=(()=>{class kt extends re{constructor(X,ft,Ot,xe,Te,Ke,on,_n){super(X,ft,xe,Ke,on,Te,Ne,Ut,un,_n),this._idPrefix="mat-mdc-dialog-"}static{this.\u0275fac=function(ft){return new(ft||kt)(b.KVO(o.hJ),b.KVO(b.zZn),b.KVO(y.aZ,8),b.KVO(gt,8),b.KVO(le),b.KVO(kt,12),b.KVO(o.Sf),b.KVO(b.bc$,8))}}static{this.\u0275prov=b.jDH({token:kt,factory:kt.\u0275fac})}}return kt})(),ce=0,je=(()=>{class kt{constructor(X,ft,Ot){this.dialogRef=X,this._elementRef=ft,this._dialog=Ot,this.type="button"}ngOnInit(){this.dialogRef||(this.dialogRef=H(this._elementRef,this._dialog.openDialogs))}ngOnChanges(X){const ft=X._matDialogClose||X._matDialogCloseResult;ft&&(this.dialogResult=ft.currentValue)}_onButtonClick(X){ke(this.dialogRef,0===X.screenX&&0===X.screenY?"keyboard":"mouse",this.dialogResult)}static{this.\u0275fac=function(ft){return new(ft||kt)(b.rXU(Ne,8),b.rXU(b.aKT),b.rXU(Ee))}}static{this.\u0275dir=b.FsC({type:kt,selectors:[["","mat-dialog-close",""],["","matDialogClose",""]],hostVars:2,hostBindings:function(ft,Ot){1&ft&&b.bIt("click",function(Te){return Ot._onButtonClick(Te)}),2&ft&&b.BMQ("aria-label",Ot.ariaLabel||null)("type",Ot.type)},inputs:{ariaLabel:["aria-label","ariaLabel"],type:"type",dialogResult:["mat-dialog-close","dialogResult"],_matDialogClose:["matDialogClose","_matDialogClose"]},exportAs:["matDialogClose"],features:[b.OA$]})}}return kt})(),Ht=(()=>{class kt{constructor(X,ft,Ot){this._dialogRef=X,this._elementRef=ft,this._dialog=Ot,this.id="mat-mdc-dialog-title-"+ce++}ngOnInit(){this._dialogRef||(this._dialogRef=H(this._elementRef,this._dialog.openDialogs)),this._dialogRef&&Promise.resolve().then(()=>{this._dialogRef._containerInstance?._ariaLabelledByQueue?.push(this.id)})}ngOnDestroy(){const X=this._dialogRef?._containerInstance?._ariaLabelledByQueue;X&&Promise.resolve().then(()=>{const ft=X.indexOf(this.id);ft>-1&&X.splice(ft,1)})}static{this.\u0275fac=function(ft){return new(ft||kt)(b.rXU(Ne,8),b.rXU(b.aKT),b.rXU(Ee))}}static{this.\u0275dir=b.FsC({type:kt,selectors:[["","mat-dialog-title",""],["","matDialogTitle",""]],hostAttrs:[1,"mat-mdc-dialog-title","mdc-dialog__title"],hostVars:1,hostBindings:function(ft,Ot){2&ft&&b.Mr5("id",Ot.id)},inputs:{id:"id"},exportAs:["matDialogTitle"]})}}return kt})(),ne=(()=>{class kt{static{this.\u0275fac=function(ft){return new(ft||kt)}}static{this.\u0275dir=b.FsC({type:kt,selectors:[["","mat-dialog-content",""],["mat-dialog-content"],["","matDialogContent",""]],hostAttrs:[1,"mat-mdc-dialog-content","mdc-dialog__content"]})}}return kt})(),at=(()=>{class kt{constructor(){this.align="start"}static{this.\u0275fac=function(ft){return new(ft||kt)}}static{this.\u0275dir=b.FsC({type:kt,selectors:[["","mat-dialog-actions",""],["mat-dialog-actions"],["","matDialogActions",""]],hostAttrs:[1,"mat-mdc-dialog-actions","mdc-dialog__actions"],hostVars:4,hostBindings:function(ft,Ot){2&ft&&b.AVh("mat-mdc-dialog-actions-align-center","center"===Ot.align)("mat-mdc-dialog-actions-align-end","end"===Ot.align)},inputs:{align:"align"}})}}return kt})();function H(kt,tt){let X=kt.nativeElement.parentElement;for(;X&&!X.classList.contains("mat-mdc-dialog-container");)X=X.parentElement;return X?tt.find(ft=>ft.id===X.id):null}let st=(()=>{class kt{static{this.\u0275fac=function(ft){return new(ft||kt)}}static{this.\u0275mod=b.$C({type:kt})}static{this.\u0275inj=b.G2t({providers:[Ee,oe],imports:[$t,o.z_,G.jc,Xe.yE,Xe.yE]})}}return kt})()},7967:(Ce,Lt,r)=>{r.d(Lt,{q:()=>T,w:()=>k});var o=r(1843),y=r(8275),b=r(42250);let T=(()=>{class G{constructor(){this._vertical=!1,this._inset=!1}get vertical(){return this._vertical}set vertical(Z){this._vertical=(0,y.he)(Z)}get inset(){return this._inset}set inset(Z){this._inset=(0,y.he)(Z)}static{this.\u0275fac=function(N){return new(N||G)}}static{this.\u0275cmp=o.VBU({type:G,selectors:[["mat-divider"]],hostAttrs:["role","separator",1,"mat-divider"],hostVars:7,hostBindings:function(N,ot){2&N&&(o.BMQ("aria-orientation",ot.vertical?"vertical":"horizontal"),o.AVh("mat-divider-vertical",ot.vertical)("mat-divider-horizontal",!ot.vertical)("mat-divider-inset",ot.inset))},inputs:{vertical:"vertical",inset:"inset"},decls:0,vars:0,template:function(N,ot){},styles:[".mat-divider{--mat-divider-width:1px;display:block;margin:0;border-top-style:solid;border-top-color:var(--mat-divider-color);border-top-width:var(--mat-divider-width)}.mat-divider.mat-divider-vertical{border-top:0;border-right-style:solid;border-right-color:var(--mat-divider-color);border-right-width:var(--mat-divider-width)}.mat-divider.mat-divider-inset{margin-left:80px}[dir=rtl] .mat-divider.mat-divider-inset{margin-left:auto;margin-right:80px}"],encapsulation:2,changeDetection:0})}}return G})(),k=(()=>{class G{static{this.\u0275fac=function(N){return new(N||G)}}static{this.\u0275mod=o.$C({type:G})}static{this.\u0275inj=o.G2t({imports:[b.yE,b.yE]})}}return G})()},28600:(Ce,Lt,r)=>{r.d(Lt,{BS:()=>ke,MY:()=>un,GK:()=>yt,Q6:()=>Ut,Z2:()=>Yt,WN:()=>Ne});var o=r(1843),y=r(81538),b=r(8275),T=r(89115),k=r(52693);let G=0;const P=new o.nKC("CdkAccordion");let Z=(()=>{class gt{constructor(){this._stateChanges=new T.B,this._openCloseAllActions=new T.B,this.id="cdk-accordion-"+G++,this._multi=!1}get multi(){return this._multi}set multi(Vt){this._multi=(0,b.he)(Vt)}openAll(){this._multi&&this._openCloseAllActions.next(!0)}closeAll(){this._openCloseAllActions.next(!1)}ngOnChanges(Vt){this._stateChanges.next(Vt)}ngOnDestroy(){this._stateChanges.complete(),this._openCloseAllActions.complete()}static{this.\u0275fac=function(oe){return new(oe||gt)}}static{this.\u0275dir=o.FsC({type:gt,selectors:[["cdk-accordion"],["","cdkAccordion",""]],inputs:{multi:"multi"},exportAs:["cdkAccordion"],features:[o.Jv_([{provide:P,useExisting:gt}]),o.OA$]})}}return gt})(),N=0,ot=(()=>{class gt{get expanded(){return this._expanded}set expanded(Vt){Vt=(0,b.he)(Vt),this._expanded!==Vt&&(this._expanded=Vt,this.expandedChange.emit(Vt),Vt?(this.opened.emit(),this._expansionDispatcher.notify(this.id,this.accordion?this.accordion.id:this.id)):this.closed.emit(),this._changeDetectorRef.markForCheck())}get disabled(){return this._disabled}set disabled(Vt){this._disabled=(0,b.he)(Vt)}constructor(Vt,oe,Qt){this.accordion=Vt,this._changeDetectorRef=oe,this._expansionDispatcher=Qt,this._openCloseAllSubscription=k.yU.EMPTY,this.closed=new o.bkB,this.opened=new o.bkB,this.destroyed=new o.bkB,this.expandedChange=new o.bkB,this.id="cdk-accordion-child-"+N++,this._expanded=!1,this._disabled=!1,this._removeUniqueSelectionListener=()=>{},this._removeUniqueSelectionListener=Qt.listen((Et,re)=>{this.accordion&&!this.accordion.multi&&this.accordion.id===re&&this.id!==Et&&(this.expanded=!1)}),this.accordion&&(this._openCloseAllSubscription=this._subscribeToOpenCloseAllActions())}ngOnDestroy(){this.opened.complete(),this.closed.complete(),this.destroyed.emit(),this.destroyed.complete(),this._removeUniqueSelectionListener(),this._openCloseAllSubscription.unsubscribe()}toggle(){this.disabled||(this.expanded=!this.expanded)}close(){this.disabled||(this.expanded=!1)}open(){this.disabled||(this.expanded=!0)}_subscribeToOpenCloseAllActions(){return this.accordion._openCloseAllActions.subscribe(Vt=>{this.disabled||(this.expanded=Vt)})}static{this.\u0275fac=function(oe){return new(oe||gt)(o.rXU(P,12),o.rXU(o.gRc),o.rXU(y.zP))}}static{this.\u0275dir=o.FsC({type:gt,selectors:[["cdk-accordion-item"],["","cdkAccordionItem",""]],inputs:{expanded:"expanded",disabled:"disabled"},outputs:{closed:"closed",opened:"opened",destroyed:"destroyed",expandedChange:"expandedChange"},exportAs:["cdkAccordionItem"],features:[o.Jv_([{provide:P,useValue:void 0}])]})}}return gt})(),q=(()=>{class gt{static{this.\u0275fac=function(oe){return new(oe||gt)}}static{this.\u0275mod=o.$C({type:gt})}static{this.\u0275inj=o.G2t({})}}return gt})();var K=r(86953),M=r(18331),a=r(42250),pt=r(83607),j=r(11224),J=r(28930),bt=r(98474),Gt=r(89371),te=r(25150),$=r(33697),lt=r(85012),V=r(89411);const mt=["body"];function rt(gt,le){}const $t=[[["mat-expansion-panel-header"]],"*",[["mat-action-row"]]],de=["mat-expansion-panel-header","*","mat-action-row"];function _e(gt,le){if(1>&&o.nrm(0,"span",2),2>){const Vt=o.XpG();o.Y8G("@indicatorRotate",Vt._getExpandedState())}}const Le=[[["mat-panel-title"]],[["mat-panel-description"]],"*"],Ge=["mat-panel-title","mat-panel-description","*"],Xe=new o.nKC("MAT_ACCORDION"),ye="225ms cubic-bezier(0.4,0.0,0.2,1)",Ve={indicatorRotate:(0,V.hZ)("indicatorRotate",[(0,V.wk)("collapsed, void",(0,V.iF)({transform:"rotate(0deg)"})),(0,V.wk)("expanded",(0,V.iF)({transform:"rotate(180deg)"})),(0,V.kY)("expanded <=> collapsed, void => collapsed",(0,V.i0)(ye))]),bodyExpansion:(0,V.hZ)("bodyExpansion",[(0,V.wk)("collapsed, void",(0,V.iF)({height:"0px",visibility:"hidden"})),(0,V.wk)("expanded",(0,V.iF)({height:"*",visibility:""})),(0,V.kY)("expanded <=> collapsed, void => collapsed",(0,V.i0)(ye))])},Oe=new o.nKC("MAT_EXPANSION_PANEL");let Qe=(()=>{class gt{constructor(Vt,oe){this._template=Vt,this._expansionPanel=oe}static{this.\u0275fac=function(oe){return new(oe||gt)(o.rXU(o.C4Q),o.rXU(Oe,8))}}static{this.\u0275dir=o.FsC({type:gt,selectors:[["ng-template","matExpansionPanelContent",""]]})}}return gt})(),be=0;const Me=new o.nKC("MAT_EXPANSION_PANEL_DEFAULT_OPTIONS");let yt=(()=>{class gt extends ot{get hideToggle(){return this._hideToggle||this.accordion&&this.accordion.hideToggle}set hideToggle(Vt){this._hideToggle=(0,b.he)(Vt)}get togglePosition(){return this._togglePosition||this.accordion&&this.accordion.togglePosition}set togglePosition(Vt){this._togglePosition=Vt}constructor(Vt,oe,Qt,Et,re,Ee,ce){super(Vt,oe,Qt),this._viewContainerRef=Et,this._animationMode=Ee,this._hideToggle=!1,this.afterExpand=new o.bkB,this.afterCollapse=new o.bkB,this._inputChanges=new T.B,this._headerId="mat-expansion-panel-header-"+be++,this._bodyAnimationDone=new T.B,this.accordion=Vt,this._document=re,this._bodyAnimationDone.pipe((0,j.F)((je,Ht)=>je.fromState===Ht.fromState&&je.toState===Ht.toState)).subscribe(je=>{"void"!==je.fromState&&("expanded"===je.toState?this.afterExpand.emit():"collapsed"===je.toState&&this.afterCollapse.emit())}),ce&&(this.hideToggle=ce.hideToggle)}_hasSpacing(){return!!this.accordion&&this.expanded&&"default"===this.accordion.displayMode}_getExpandedState(){return this.expanded?"expanded":"collapsed"}toggle(){this.expanded=!this.expanded}close(){this.expanded=!1}open(){this.expanded=!0}ngAfterContentInit(){this._lazyContent&&this._lazyContent._expansionPanel===this&&this.opened.pipe((0,J.Z)(null),(0,bt.p)(()=>this.expanded&&!this._portal),(0,Gt.s)(1)).subscribe(()=>{this._portal=new K.VA(this._lazyContent._template,this._viewContainerRef)})}ngOnChanges(Vt){this._inputChanges.next(Vt)}ngOnDestroy(){super.ngOnDestroy(),this._bodyAnimationDone.complete(),this._inputChanges.complete()}_containsFocus(){if(this._body){const Vt=this._document.activeElement,oe=this._body.nativeElement;return Vt===oe||oe.contains(Vt)}return!1}static{this.\u0275fac=function(oe){return new(oe||gt)(o.rXU(Xe,12),o.rXU(o.gRc),o.rXU(y.zP),o.rXU(o.c1b),o.rXU(M.qQ),o.rXU(o.bc$,8),o.rXU(Me,8))}}static{this.\u0275cmp=o.VBU({type:gt,selectors:[["mat-expansion-panel"]],contentQueries:function(oe,Qt,Et){if(1&oe&&o.wni(Et,Qe,5),2&oe){let re;o.mGM(re=o.lsd())&&(Qt._lazyContent=re.first)}},viewQuery:function(oe,Qt){if(1&oe&&o.GBs(mt,5),2&oe){let Et;o.mGM(Et=o.lsd())&&(Qt._body=Et.first)}},hostAttrs:[1,"mat-expansion-panel"],hostVars:6,hostBindings:function(oe,Qt){2&oe&&o.AVh("mat-expanded",Qt.expanded)("_mat-animation-noopable","NoopAnimations"===Qt._animationMode)("mat-expansion-panel-spacing",Qt._hasSpacing())},inputs:{disabled:"disabled",expanded:"expanded",hideToggle:"hideToggle",togglePosition:"togglePosition"},outputs:{opened:"opened",closed:"closed",expandedChange:"expandedChange",afterExpand:"afterExpand",afterCollapse:"afterCollapse"},exportAs:["matExpansionPanel"],features:[o.Jv_([{provide:Xe,useValue:void 0},{provide:Oe,useExisting:gt}]),o.Vt3,o.OA$],ngContentSelectors:de,decls:7,vars:4,consts:[["role","region",1,"mat-expansion-panel-content",3,"id"],["body",""],[1,"mat-expansion-panel-body"],[3,"cdkPortalOutlet"]],template:function(oe,Qt){1&oe&&(o.NAR($t),o.SdG(0),o.j41(1,"div",0,1),o.bIt("@bodyExpansion.done",function(re){return Qt._bodyAnimationDone.next(re)}),o.j41(3,"div",2),o.SdG(4,1),o.DNE(5,rt,0,0,"ng-template",3),o.k0s(),o.SdG(6,2),o.k0s()),2&oe&&(o.R7$(1),o.Y8G("@bodyExpansion",Qt._getExpandedState())("id",Qt.id),o.BMQ("aria-labelledby",Qt._headerId),o.R7$(4),o.Y8G("cdkPortalOutlet",Qt._portal))},dependencies:[K.I3],styles:['.mat-expansion-panel{--mat-expansion-container-shape:4px;box-sizing:content-box;display:block;margin:0;overflow:hidden;transition:margin 225ms cubic-bezier(0.4, 0, 0.2, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);position:relative;background:var(--mat-expansion-container-background-color);color:var(--mat-expansion-container-text-color);border-radius:var(--mat-expansion-container-shape)}.mat-expansion-panel:not([class*=mat-elevation-z]){box-shadow:0px 3px 1px -2px rgba(0, 0, 0, 0.2), 0px 2px 2px 0px rgba(0, 0, 0, 0.14), 0px 1px 5px 0px rgba(0, 0, 0, 0.12)}.mat-accordion .mat-expansion-panel:not(.mat-expanded),.mat-accordion .mat-expansion-panel:not(.mat-expansion-panel-spacing){border-radius:0}.mat-accordion .mat-expansion-panel:first-of-type{border-top-right-radius:var(--mat-expansion-container-shape);border-top-left-radius:var(--mat-expansion-container-shape)}.mat-accordion .mat-expansion-panel:last-of-type{border-bottom-right-radius:var(--mat-expansion-container-shape);border-bottom-left-radius:var(--mat-expansion-container-shape)}.cdk-high-contrast-active .mat-expansion-panel{outline:solid 1px}.mat-expansion-panel.ng-animate-disabled,.ng-animate-disabled .mat-expansion-panel,.mat-expansion-panel._mat-animation-noopable{transition:none}.mat-expansion-panel-content{display:flex;flex-direction:column;overflow:visible;font-family:var(--mat-expansion-container-text-font);font-size:var(--mat-expansion-container-text-size);font-weight:var(--mat-expansion-container-text-weight);line-height:var(--mat-expansion-container-text-line-height);letter-spacing:var(--mat-expansion-container-text-tracking)}.mat-expansion-panel-content[style*="visibility: hidden"] *{visibility:hidden !important}.mat-expansion-panel-body{padding:0 24px 16px}.mat-expansion-panel-spacing{margin:16px 0}.mat-accordion>.mat-expansion-panel-spacing:first-child,.mat-accordion>*:first-child:not(.mat-expansion-panel) .mat-expansion-panel-spacing{margin-top:0}.mat-accordion>.mat-expansion-panel-spacing:last-child,.mat-accordion>*:last-child:not(.mat-expansion-panel) .mat-expansion-panel-spacing{margin-bottom:0}.mat-action-row{border-top-style:solid;border-top-width:1px;display:flex;flex-direction:row;justify-content:flex-end;padding:16px 8px 16px 24px;border-top-color:var(--mat-expansion-actions-divider-color)}.mat-action-row .mat-button-base,.mat-action-row .mat-mdc-button-base{margin-left:8px}[dir=rtl] .mat-action-row .mat-button-base,[dir=rtl] .mat-action-row .mat-mdc-button-base{margin-left:0;margin-right:8px}'],encapsulation:2,data:{animation:[Ve.bodyExpansion]},changeDetection:0})}}return gt})();class Nt{}const Tt=(0,a.BF)(Nt);let Yt=(()=>{class gt extends Tt{constructor(Vt,oe,Qt,Et,re,Ee,ce){super(),this.panel=Vt,this._element=oe,this._focusMonitor=Qt,this._changeDetectorRef=Et,this._animationMode=Ee,this._parentChangeSubscription=k.yU.EMPTY;const je=Vt.accordion?Vt.accordion._stateChanges.pipe((0,bt.p)(Ht=>!(!Ht.hideToggle&&!Ht.togglePosition))):$.w;this.tabIndex=parseInt(ce||"")||0,this._parentChangeSubscription=(0,lt.h)(Vt.opened,Vt.closed,je,Vt._inputChanges.pipe((0,bt.p)(Ht=>!!(Ht.hideToggle||Ht.disabled||Ht.togglePosition)))).subscribe(()=>this._changeDetectorRef.markForCheck()),Vt.closed.pipe((0,bt.p)(()=>Vt._containsFocus())).subscribe(()=>Qt.focusVia(oe,"program")),re&&(this.expandedHeight=re.expandedHeight,this.collapsedHeight=re.collapsedHeight)}get disabled(){return this.panel.disabled}_toggle(){this.disabled||this.panel.toggle()}_isExpanded(){return this.panel.expanded}_getExpandedState(){return this.panel._getExpandedState()}_getPanelId(){return this.panel.id}_getTogglePosition(){return this.panel.togglePosition}_showToggle(){return!this.panel.hideToggle&&!this.panel.disabled}_getHeaderHeight(){const Vt=this._isExpanded();return Vt&&this.expandedHeight?this.expandedHeight:!Vt&&this.collapsedHeight?this.collapsedHeight:null}_keydown(Vt){switch(Vt.keyCode){case te.t6:case te.Fm:(0,te.rp)(Vt)||(Vt.preventDefault(),this._toggle());break;default:return void(this.panel.accordion&&this.panel.accordion._handleHeaderKeydown(Vt))}}focus(Vt,oe){Vt?this._focusMonitor.focusVia(this._element,Vt,oe):this._element.nativeElement.focus(oe)}ngAfterViewInit(){this._focusMonitor.monitor(this._element).subscribe(Vt=>{Vt&&this.panel.accordion&&this.panel.accordion._handleHeaderFocus(this)})}ngOnDestroy(){this._parentChangeSubscription.unsubscribe(),this._focusMonitor.stopMonitoring(this._element)}static{this.\u0275fac=function(oe){return new(oe||gt)(o.rXU(yt,1),o.rXU(o.aKT),o.rXU(pt.FN),o.rXU(o.gRc),o.rXU(Me,8),o.rXU(o.bc$,8),o.kS0("tabindex"))}}static{this.\u0275cmp=o.VBU({type:gt,selectors:[["mat-expansion-panel-header"]],hostAttrs:["role","button",1,"mat-expansion-panel-header","mat-focus-indicator"],hostVars:15,hostBindings:function(oe,Qt){1&oe&&o.bIt("click",function(){return Qt._toggle()})("keydown",function(re){return Qt._keydown(re)}),2&oe&&(o.BMQ("id",Qt.panel._headerId)("tabindex",Qt.tabIndex)("aria-controls",Qt._getPanelId())("aria-expanded",Qt._isExpanded())("aria-disabled",Qt.panel.disabled),o.xc7("height",Qt._getHeaderHeight()),o.AVh("mat-expanded",Qt._isExpanded())("mat-expansion-toggle-indicator-after","after"===Qt._getTogglePosition())("mat-expansion-toggle-indicator-before","before"===Qt._getTogglePosition())("_mat-animation-noopable","NoopAnimations"===Qt._animationMode))},inputs:{tabIndex:"tabIndex",expandedHeight:"expandedHeight",collapsedHeight:"collapsedHeight"},features:[o.Vt3],ngContentSelectors:Ge,decls:5,vars:3,consts:[[1,"mat-content"],["class","mat-expansion-indicator",4,"ngIf"],[1,"mat-expansion-indicator"]],template:function(oe,Qt){1&oe&&(o.NAR(Le),o.j41(0,"span",0),o.SdG(1),o.SdG(2,1),o.SdG(3,2),o.k0s(),o.DNE(4,_e,1,1,"span",1)),2&oe&&(o.AVh("mat-content-hide-toggle",!Qt._showToggle()),o.R7$(4),o.Y8G("ngIf",Qt._showToggle()))},dependencies:[M.bT],styles:['.mat-expansion-panel-header{display:flex;flex-direction:row;align-items:center;padding:0 24px;border-radius:inherit;transition:height 225ms cubic-bezier(0.4, 0, 0.2, 1);height:var(--mat-expansion-header-collapsed-state-height);font-family:var(--mat-expansion-header-text-font);font-size:var(--mat-expansion-header-text-size);font-weight:var(--mat-expansion-header-text-weight);line-height:var(--mat-expansion-header-text-line-height);letter-spacing:var(--mat-expansion-header-text-tracking)}.mat-expansion-panel-header.mat-expanded{height:var(--mat-expansion-header-expanded-state-height)}.mat-expansion-panel-header[aria-disabled=true]{color:var(--mat-expansion-header-disabled-state-text-color)}.mat-expansion-panel-header:not([aria-disabled=true]){cursor:pointer}.mat-expansion-panel:not(.mat-expanded) .mat-expansion-panel-header:not([aria-disabled=true]):hover{background:var(--mat-expansion-header-hover-state-layer-color)}@media(hover: none){.mat-expansion-panel:not(.mat-expanded) .mat-expansion-panel-header:not([aria-disabled=true]):hover{background:var(--mat-expansion-container-background-color)}}.mat-expansion-panel .mat-expansion-panel-header:not([aria-disabled=true]).cdk-keyboard-focused,.mat-expansion-panel .mat-expansion-panel-header:not([aria-disabled=true]).cdk-program-focused{background:var(--mat-expansion-header-focus-state-layer-color)}.mat-expansion-panel-header._mat-animation-noopable{transition:none}.mat-expansion-panel-header:focus,.mat-expansion-panel-header:hover{outline:none}.mat-expansion-panel-header.mat-expanded:focus,.mat-expansion-panel-header.mat-expanded:hover{background:inherit}.mat-expansion-panel-header.mat-expansion-toggle-indicator-before{flex-direction:row-reverse}.mat-expansion-panel-header.mat-expansion-toggle-indicator-before .mat-expansion-indicator{margin:0 16px 0 0}[dir=rtl] .mat-expansion-panel-header.mat-expansion-toggle-indicator-before .mat-expansion-indicator{margin:0 0 0 16px}.mat-content{display:flex;flex:1;flex-direction:row;overflow:hidden}.mat-content.mat-content-hide-toggle{margin-right:8px}[dir=rtl] .mat-content.mat-content-hide-toggle{margin-right:0;margin-left:8px}.mat-expansion-toggle-indicator-before .mat-content.mat-content-hide-toggle{margin-left:24px;margin-right:0}[dir=rtl] .mat-expansion-toggle-indicator-before .mat-content.mat-content-hide-toggle{margin-right:24px;margin-left:0}.mat-expansion-panel-header-title{color:var(--mat-expansion-header-text-color)}.mat-expansion-panel-header-title,.mat-expansion-panel-header-description{display:flex;flex-grow:1;flex-basis:0;margin-right:16px;align-items:center}[dir=rtl] .mat-expansion-panel-header-title,[dir=rtl] .mat-expansion-panel-header-description{margin-right:0;margin-left:16px}.mat-expansion-panel-header[aria-disabled=true] .mat-expansion-panel-header-title,.mat-expansion-panel-header[aria-disabled=true] .mat-expansion-panel-header-description{color:inherit}.mat-expansion-panel-header-description{flex-grow:2;color:var(--mat-expansion-header-description-color)}.mat-expansion-indicator::after{border-style:solid;border-width:0 2px 2px 0;content:"";display:inline-block;padding:3px;transform:rotate(45deg);vertical-align:middle;color:var(--mat-expansion-header-indicator-color)}.cdk-high-contrast-active .mat-expansion-panel-content{border-top:1px solid;border-top-left-radius:0;border-top-right-radius:0}'],encapsulation:2,data:{animation:[Ve.indicatorRotate]},changeDetection:0})}}return gt})(),Ut=(()=>{class gt{static{this.\u0275fac=function(oe){return new(oe||gt)}}static{this.\u0275dir=o.FsC({type:gt,selectors:[["mat-panel-description"]],hostAttrs:[1,"mat-expansion-panel-header-description"]})}}return gt})(),Ne=(()=>{class gt{static{this.\u0275fac=function(oe){return new(oe||gt)}}static{this.\u0275dir=o.FsC({type:gt,selectors:[["mat-panel-title"]],hostAttrs:[1,"mat-expansion-panel-header-title"]})}}return gt})(),ke=(()=>{class gt extends Z{constructor(){super(...arguments),this._ownHeaders=new o.rOR,this._hideToggle=!1,this.displayMode="default",this.togglePosition="after"}get hideToggle(){return this._hideToggle}set hideToggle(Vt){this._hideToggle=(0,b.he)(Vt)}ngAfterContentInit(){this._headers.changes.pipe((0,J.Z)(this._headers)).subscribe(Vt=>{this._ownHeaders.reset(Vt.filter(oe=>oe.panel.accordion===this)),this._ownHeaders.notifyOnChanges()}),this._keyManager=new pt.Bu(this._ownHeaders).withWrap().withHomeAndEnd()}_handleHeaderKeydown(Vt){this._keyManager.onKeydown(Vt)}_handleHeaderFocus(Vt){this._keyManager.updateActiveItem(Vt)}ngOnDestroy(){super.ngOnDestroy(),this._keyManager?.destroy(),this._ownHeaders.destroy()}static{this.\u0275fac=function(){let Vt;return function(Qt){return(Vt||(Vt=o.xGo(gt)))(Qt||gt)}}()}static{this.\u0275dir=o.FsC({type:gt,selectors:[["mat-accordion"]],contentQueries:function(oe,Qt,Et){if(1&oe&&o.wni(Et,Yt,5),2&oe){let re;o.mGM(re=o.lsd())&&(Qt._headers=re)}},hostAttrs:[1,"mat-accordion"],hostVars:2,hostBindings:function(oe,Qt){2&oe&&o.AVh("mat-accordion-multi",Qt.multi)},inputs:{multi:"multi",hideToggle:"hideToggle",displayMode:"displayMode",togglePosition:"togglePosition"},exportAs:["matAccordion"],features:[o.Jv_([{provide:Xe,useExisting:gt}]),o.Vt3]})}}return gt})(),un=(()=>{class gt{static{this.\u0275fac=function(oe){return new(oe||gt)}}static{this.\u0275mod=o.$C({type:gt})}static{this.\u0275inj=o.G2t({imports:[M.MD,a.yE,q,K.jc]})}}return gt})()},54688:(Ce,Lt,r)=>{r.d(Lt,{xb:()=>X,TL:()=>gt,rl:()=>_n,qT:()=>zt,RG:()=>hn,MV:()=>Vt,nJ:()=>Ne,JW:()=>Qt,yw:()=>re});var o=r(1843),y=r(10165),b=r(29094),T=r(52693),k=r(89115),G=r(85012),P=r(73907),Z=r(23135),N=r(98474),ot=r(29810);class K{constructor(cn){this._box=cn,this._destroyed=new k.B,this._resizeSubject=new k.B,this._elementObservables=new Map,typeof ResizeObserver<"u"&&(this._resizeObserver=new ResizeObserver(me=>this._resizeSubject.next(me)))}observe(cn){return this._elementObservables.has(cn)||this._elementObservables.set(cn,new Z.c(me=>{const jt=this._resizeSubject.subscribe(me);return this._resizeObserver?.observe(cn,{box:this._box}),()=>{this._resizeObserver?.unobserve(cn),jt.unsubscribe(),this._elementObservables.delete(cn)}}).pipe((0,N.p)(me=>me.some(jt=>jt.target===cn)),(0,ot.t)({bufferSize:1,refCount:!0}),(0,P.Q)(this._destroyed))),this._elementObservables.get(cn)}destroy(){this._destroyed.next(),this._destroyed.complete(),this._resizeSubject.complete(),this._elementObservables.clear()}}let M=(()=>{class fe{constructor(){this._observers=new Map,this._ngZone=(0,o.WQX)(o.SKi)}ngOnDestroy(){for(const[,me]of this._observers)me.destroy();this._observers.clear()}observe(me,jt){const Dt=jt?.box||"content-box";return this._observers.has(Dt)||this._observers.set(Dt,new K(Dt)),this._observers.get(Dt).observe(me)}static{this.\u0275fac=function(jt){return new(jt||fe)}}static{this.\u0275prov=o.jDH({token:fe,factory:fe.\u0275fac,providedIn:"root"})}}return fe})();var a=r(8275),pt=r(89411),j=r(18331),J=r(59332),bt=r(42250);const Gt=["notch"],te=["matFormFieldNotchedOutline",""],$=["*"],lt=["textField"],V=["iconPrefixContainer"],mt=["textPrefixContainer"];function rt(fe,cn){1&fe&&o.nrm(0,"span",19)}function $t(fe,cn){if(1&fe&&(o.j41(0,"label",17),o.SdG(1,1),o.DNE(2,rt,1,0,"span",18),o.k0s()),2&fe){const me=o.XpG(2);o.Y8G("floating",me._shouldLabelFloat())("monitorResize",me._hasOutline())("id",me._labelId),o.BMQ("for",me._control.id),o.R7$(2),o.Y8G("ngIf",!me.hideRequiredMarker&&me._control.required)}}function de(fe,cn){if(1&fe&&o.DNE(0,$t,3,5,"label",16),2&fe){const me=o.XpG();o.Y8G("ngIf",me._hasFloatingLabel())}}function _e(fe,cn){1&fe&&o.nrm(0,"div",20)}function Le(fe,cn){}function Ge(fe,cn){if(1&fe&&o.DNE(0,Le,0,0,"ng-template",22),2&fe){o.XpG(2);const me=o.sdS(1);o.Y8G("ngTemplateOutlet",me)}}function Xe(fe,cn){if(1&fe&&(o.j41(0,"div",21),o.DNE(1,Ge,1,1,"ng-template",9),o.k0s()),2&fe){const me=o.XpG();o.Y8G("matFormFieldNotchedOutlineOpen",me._shouldLabelFloat()),o.R7$(1),o.Y8G("ngIf",!me._forceDisplayInfixLabel())}}function ye(fe,cn){1&fe&&(o.j41(0,"div",23,24),o.SdG(2,2),o.k0s())}function Ve(fe,cn){1&fe&&(o.j41(0,"div",25,26),o.SdG(2,3),o.k0s())}function Oe(fe,cn){}function Qe(fe,cn){if(1&fe&&o.DNE(0,Oe,0,0,"ng-template",22),2&fe){o.XpG();const me=o.sdS(1);o.Y8G("ngTemplateOutlet",me)}}function be(fe,cn){1&fe&&(o.j41(0,"div",27),o.SdG(1,4),o.k0s())}function Me(fe,cn){1&fe&&(o.j41(0,"div",28),o.SdG(1,5),o.k0s())}function yt(fe,cn){1&fe&&o.nrm(0,"div",29)}function Kt(fe,cn){if(1&fe&&(o.j41(0,"div",30),o.SdG(1,6),o.k0s()),2&fe){const me=o.XpG();o.Y8G("@transitionMessages",me._subscriptAnimationState)}}function Nt(fe,cn){if(1&fe&&(o.j41(0,"mat-hint",34),o.EFF(1),o.k0s()),2&fe){const me=o.XpG(2);o.Y8G("id",me._hintLabelId),o.R7$(1),o.JRh(me.hintLabel)}}function Tt(fe,cn){if(1&fe&&(o.j41(0,"div",31),o.DNE(1,Nt,2,2,"mat-hint",32),o.SdG(2,7),o.nrm(3,"div",33),o.SdG(4,8),o.k0s()),2&fe){const me=o.XpG();o.Y8G("@transitionMessages",me._subscriptAnimationState),o.R7$(1),o.Y8G("ngIf",me.hintLabel)}}const Yt=["*",[["mat-label"]],[["","matPrefix",""],["","matIconPrefix",""]],[["","matTextPrefix",""]],[["","matTextSuffix",""]],[["","matSuffix",""],["","matIconSuffix",""]],[["mat-error"],["","matError",""]],[["mat-hint",3,"align","end"]],[["mat-hint","align","end"]]],Ut=["*","mat-label","[matPrefix], [matIconPrefix]","[matTextPrefix]","[matTextSuffix]","[matSuffix], [matIconSuffix]","mat-error, [matError]","mat-hint:not([align='end'])","mat-hint[align='end']"];let Ne=(()=>{class fe{static{this.\u0275fac=function(jt){return new(jt||fe)}}static{this.\u0275dir=o.FsC({type:fe,selectors:[["mat-label"]]})}}return fe})(),ke=0;const un=new o.nKC("MatError");let gt=(()=>{class fe{constructor(me,jt){this.id="mat-mdc-error-"+ke++,me||jt.nativeElement.setAttribute("aria-live","polite")}static{this.\u0275fac=function(jt){return new(jt||fe)(o.kS0("aria-live"),o.rXU(o.aKT))}}static{this.\u0275dir=o.FsC({type:fe,selectors:[["mat-error"],["","matError",""]],hostAttrs:["aria-atomic","true",1,"mat-mdc-form-field-error","mat-mdc-form-field-bottom-align"],hostVars:1,hostBindings:function(jt,Dt){2&jt&&o.Mr5("id",Dt.id)},inputs:{id:"id"},features:[o.Jv_([{provide:un,useExisting:fe}])]})}}return fe})(),le=0,Vt=(()=>{class fe{constructor(){this.align="start",this.id="mat-mdc-hint-"+le++}static{this.\u0275fac=function(jt){return new(jt||fe)}}static{this.\u0275dir=o.FsC({type:fe,selectors:[["mat-hint"]],hostAttrs:[1,"mat-mdc-form-field-hint","mat-mdc-form-field-bottom-align"],hostVars:4,hostBindings:function(jt,Dt){2&jt&&(o.Mr5("id",Dt.id),o.BMQ("align",null),o.AVh("mat-mdc-form-field-hint-end","end"===Dt.align))},inputs:{align:"align",id:"id"}})}}return fe})();const oe=new o.nKC("MatPrefix");let Qt=(()=>{class fe{constructor(){this._isText=!1}set _isTextSelector(me){this._isText=!0}static{this.\u0275fac=function(jt){return new(jt||fe)}}static{this.\u0275dir=o.FsC({type:fe,selectors:[["","matPrefix",""],["","matIconPrefix",""],["","matTextPrefix",""]],inputs:{_isTextSelector:["matTextPrefix","_isTextSelector"]},features:[o.Jv_([{provide:oe,useExisting:fe}])]})}}return fe})();const Et=new o.nKC("MatSuffix");let re=(()=>{class fe{constructor(){this._isText=!1}set _isTextSelector(me){this._isText=!0}static{this.\u0275fac=function(jt){return new(jt||fe)}}static{this.\u0275dir=o.FsC({type:fe,selectors:[["","matSuffix",""],["","matIconSuffix",""],["","matTextSuffix",""]],inputs:{_isTextSelector:["matTextSuffix","_isTextSelector"]},features:[o.Jv_([{provide:Et,useExisting:fe}])]})}}return fe})();const Ee=new o.nKC("FloatingLabelParent");let ce=(()=>{class fe{get floating(){return this._floating}set floating(me){this._floating=me,this.monitorResize&&this._handleResize()}get monitorResize(){return this._monitorResize}set monitorResize(me){this._monitorResize=me,this._monitorResize?this._subscribeToResize():this._resizeSubscription.unsubscribe()}constructor(me){this._elementRef=me,this._floating=!1,this._monitorResize=!1,this._resizeObserver=(0,o.WQX)(M),this._ngZone=(0,o.WQX)(o.SKi),this._parent=(0,o.WQX)(Ee),this._resizeSubscription=new T.yU}ngOnDestroy(){this._resizeSubscription.unsubscribe()}getWidth(){return function je(fe){if(null!==fe.offsetParent)return fe.scrollWidth;const me=fe.cloneNode(!0);me.style.setProperty("position","absolute"),me.style.setProperty("transform","translate(-9999px, -9999px)"),document.documentElement.appendChild(me);const jt=me.scrollWidth;return me.remove(),jt}(this._elementRef.nativeElement)}get element(){return this._elementRef.nativeElement}_handleResize(){setTimeout(()=>this._parent._handleLabelResized())}_subscribeToResize(){this._resizeSubscription.unsubscribe(),this._ngZone.runOutsideAngular(()=>{this._resizeSubscription=this._resizeObserver.observe(this._elementRef.nativeElement,{box:"border-box"}).subscribe(()=>this._handleResize())})}static{this.\u0275fac=function(jt){return new(jt||fe)(o.rXU(o.aKT))}}static{this.\u0275dir=o.FsC({type:fe,selectors:[["label","matFormFieldFloatingLabel",""]],hostAttrs:[1,"mdc-floating-label","mat-mdc-floating-label"],hostVars:2,hostBindings:function(jt,Dt){2&jt&&o.AVh("mdc-floating-label--float-above",Dt.floating)},inputs:{floating:"floating",monitorResize:"monitorResize"}})}}return fe})();const Ht="mdc-line-ripple--active",ne="mdc-line-ripple--deactivating";let at=(()=>{class fe{constructor(me,jt){this._elementRef=me,this._handleTransitionEnd=Dt=>{const dt=this._elementRef.nativeElement.classList,Rt=dt.contains(ne);"opacity"===Dt.propertyName&&Rt&&dt.remove(Ht,ne)},jt.runOutsideAngular(()=>{me.nativeElement.addEventListener("transitionend",this._handleTransitionEnd)})}activate(){const me=this._elementRef.nativeElement.classList;me.remove(ne),me.add(Ht)}deactivate(){this._elementRef.nativeElement.classList.add(ne)}ngOnDestroy(){this._elementRef.nativeElement.removeEventListener("transitionend",this._handleTransitionEnd)}static{this.\u0275fac=function(jt){return new(jt||fe)(o.rXU(o.aKT),o.rXU(o.SKi))}}static{this.\u0275dir=o.FsC({type:fe,selectors:[["div","matFormFieldLineRipple",""]],hostAttrs:[1,"mdc-line-ripple"]})}}return fe})(),H=(()=>{class fe{constructor(me,jt){this._elementRef=me,this._ngZone=jt,this.open=!1}ngAfterViewInit(){const me=this._elementRef.nativeElement.querySelector(".mdc-floating-label");me?(this._elementRef.nativeElement.classList.add("mdc-notched-outline--upgraded"),"function"==typeof requestAnimationFrame&&(me.style.transitionDuration="0s",this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>me.style.transitionDuration="")}))):this._elementRef.nativeElement.classList.add("mdc-notched-outline--no-label")}_setNotchWidth(me){this._notch.nativeElement.style.width=this.open&&me?`calc(${me}px * var(--mat-mdc-form-field-floating-label-scale, 0.75) + 9px)`:""}static{this.\u0275fac=function(jt){return new(jt||fe)(o.rXU(o.aKT),o.rXU(o.SKi))}}static{this.\u0275cmp=o.VBU({type:fe,selectors:[["div","matFormFieldNotchedOutline",""]],viewQuery:function(jt,Dt){if(1&jt&&o.GBs(Gt,5),2&jt){let dt;o.mGM(dt=o.lsd())&&(Dt._notch=dt.first)}},hostAttrs:[1,"mdc-notched-outline"],hostVars:2,hostBindings:function(jt,Dt){2&jt&&o.AVh("mdc-notched-outline--notched",Dt.open)},inputs:{open:["matFormFieldNotchedOutlineOpen","open"]},attrs:te,ngContentSelectors:$,decls:5,vars:0,consts:[[1,"mdc-notched-outline__leading"],[1,"mdc-notched-outline__notch"],["notch",""],[1,"mdc-notched-outline__trailing"]],template:function(jt,Dt){1&jt&&(o.NAR(),o.nrm(0,"div",0),o.j41(1,"div",1,2),o.SdG(3),o.k0s(),o.nrm(4,"div",3))},encapsulation:2,changeDetection:0})}}return fe})();const st={transitionMessages:(0,pt.hZ)("transitionMessages",[(0,pt.wk)("enter",(0,pt.iF)({opacity:1,transform:"translateY(0%)"})),(0,pt.kY)("void => enter",[(0,pt.iF)({opacity:0,transform:"translateY(-5px)"}),(0,pt.i0)("300ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])};let zt=(()=>{class fe{static{this.\u0275fac=function(jt){return new(jt||fe)}}static{this.\u0275dir=o.FsC({type:fe})}}return fe})();const X=new o.nKC("MatFormField"),ft=new o.nKC("MAT_FORM_FIELD_DEFAULT_OPTIONS");let Ot=0,_n=(()=>{class fe{get hideRequiredMarker(){return this._hideRequiredMarker}set hideRequiredMarker(me){this._hideRequiredMarker=(0,a.he)(me)}get floatLabel(){return this._floatLabel||this._defaults?.floatLabel||"auto"}set floatLabel(me){me!==this._floatLabel&&(this._floatLabel=me,this._changeDetectorRef.markForCheck())}get appearance(){return this._appearance}set appearance(me){const jt=this._appearance;this._appearance=me||this._defaults?.appearance||"fill","outline"===this._appearance&&this._appearance!==jt&&(this._needsOutlineLabelOffsetUpdateOnStable=!0)}get subscriptSizing(){return this._subscriptSizing||this._defaults?.subscriptSizing||"fixed"}set subscriptSizing(me){this._subscriptSizing=me||this._defaults?.subscriptSizing||"fixed"}get hintLabel(){return this._hintLabel}set hintLabel(me){this._hintLabel=me,this._processHints()}get _control(){return this._explicitFormFieldControl||this._formFieldControl}set _control(me){this._explicitFormFieldControl=me}constructor(me,jt,Dt,dt,Rt,ae,ze,Zt){this._elementRef=me,this._changeDetectorRef=jt,this._ngZone=Dt,this._dir=dt,this._platform=Rt,this._defaults=ae,this._animationMode=ze,this._hideRequiredMarker=!1,this.color="primary",this._appearance="fill",this._subscriptSizing=null,this._hintLabel="",this._hasIconPrefix=!1,this._hasTextPrefix=!1,this._hasIconSuffix=!1,this._hasTextSuffix=!1,this._labelId="mat-mdc-form-field-label-"+Ot++,this._hintLabelId="mat-mdc-hint-"+Ot++,this._subscriptAnimationState="",this._destroyed=new k.B,this._isFocused=null,this._needsOutlineLabelOffsetUpdateOnStable=!1,ae&&(ae.appearance&&(this.appearance=ae.appearance),this._hideRequiredMarker=!!ae?.hideRequiredMarker,ae.color&&(this.color=ae.color))}ngAfterViewInit(){this._updateFocusState(),this._subscriptAnimationState="enter",this._changeDetectorRef.detectChanges()}ngAfterContentInit(){this._assertFormFieldControl(),this._initializeControl(),this._initializeSubscript(),this._initializePrefixAndSuffix(),this._initializeOutlineLabelOffsetSubscriptions()}ngAfterContentChecked(){this._assertFormFieldControl()}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete()}getLabelId(){return this._hasFloatingLabel()?this._labelId:null}getConnectedOverlayOrigin(){return this._textField||this._elementRef}_animateAndLockLabel(){this._hasFloatingLabel()&&(this.floatLabel="always")}_initializeControl(){const me=this._control;me.controlType&&this._elementRef.nativeElement.classList.add(`mat-mdc-form-field-type-${me.controlType}`),me.stateChanges.subscribe(()=>{this._updateFocusState(),this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),me.ngControl&&me.ngControl.valueChanges&&me.ngControl.valueChanges.pipe((0,P.Q)(this._destroyed)).subscribe(()=>this._changeDetectorRef.markForCheck())}_checkPrefixAndSuffixTypes(){this._hasIconPrefix=!!this._prefixChildren.find(me=>!me._isText),this._hasTextPrefix=!!this._prefixChildren.find(me=>me._isText),this._hasIconSuffix=!!this._suffixChildren.find(me=>!me._isText),this._hasTextSuffix=!!this._suffixChildren.find(me=>me._isText)}_initializePrefixAndSuffix(){this._checkPrefixAndSuffixTypes(),(0,G.h)(this._prefixChildren.changes,this._suffixChildren.changes).subscribe(()=>{this._checkPrefixAndSuffixTypes(),this._changeDetectorRef.markForCheck()})}_initializeSubscript(){this._hintChildren.changes.subscribe(()=>{this._processHints(),this._changeDetectorRef.markForCheck()}),this._errorChildren.changes.subscribe(()=>{this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),this._validateHints(),this._syncDescribedByIds()}_assertFormFieldControl(){}_updateFocusState(){this._control.focused&&!this._isFocused?(this._isFocused=!0,this._lineRipple?.activate()):!this._control.focused&&(this._isFocused||null===this._isFocused)&&(this._isFocused=!1,this._lineRipple?.deactivate()),this._textField?.nativeElement.classList.toggle("mdc-text-field--focused",this._control.focused)}_initializeOutlineLabelOffsetSubscriptions(){this._prefixChildren.changes.subscribe(()=>this._needsOutlineLabelOffsetUpdateOnStable=!0),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.pipe((0,P.Q)(this._destroyed)).subscribe(()=>{this._needsOutlineLabelOffsetUpdateOnStable&&(this._needsOutlineLabelOffsetUpdateOnStable=!1,this._updateOutlineLabelOffset())})}),this._dir.change.pipe((0,P.Q)(this._destroyed)).subscribe(()=>this._needsOutlineLabelOffsetUpdateOnStable=!0)}_shouldAlwaysFloat(){return"always"===this.floatLabel}_hasOutline(){return"outline"===this.appearance}_forceDisplayInfixLabel(){return!this._platform.isBrowser&&this._prefixChildren.length&&!this._shouldLabelFloat()}_hasFloatingLabel(){return!!this._labelChildNonStatic||!!this._labelChildStatic}_shouldLabelFloat(){return this._control.shouldLabelFloat||this._shouldAlwaysFloat()}_shouldForward(me){const jt=this._control?this._control.ngControl:null;return jt&&jt[me]}_getDisplayedMessages(){return this._errorChildren&&this._errorChildren.length>0&&this._control.errorState?"error":"hint"}_handleLabelResized(){this._refreshOutlineNotchWidth()}_refreshOutlineNotchWidth(){this._hasOutline()&&this._floatingLabel&&this._shouldLabelFloat()?this._notchedOutline?._setNotchWidth(this._floatingLabel.getWidth()):this._notchedOutline?._setNotchWidth(0)}_processHints(){this._validateHints(),this._syncDescribedByIds()}_validateHints(){}_syncDescribedByIds(){if(this._control){let me=[];if(this._control.userAriaDescribedBy&&"string"==typeof this._control.userAriaDescribedBy&&me.push(...this._control.userAriaDescribedBy.split(" ")),"hint"===this._getDisplayedMessages()){const jt=this._hintChildren?this._hintChildren.find(dt=>"start"===dt.align):null,Dt=this._hintChildren?this._hintChildren.find(dt=>"end"===dt.align):null;jt?me.push(jt.id):this._hintLabel&&me.push(this._hintLabelId),Dt&&me.push(Dt.id)}else this._errorChildren&&me.push(...this._errorChildren.map(jt=>jt.id));this._control.setDescribedByIds(me)}}_updateOutlineLabelOffset(){if(!this._platform.isBrowser||!this._hasOutline()||!this._floatingLabel)return;const me=this._floatingLabel.element;if(!this._iconPrefixContainer&&!this._textPrefixContainer)return void(me.style.transform="");if(!this._isAttachedToDom())return void(this._needsOutlineLabelOffsetUpdateOnStable=!0);const jt=this._iconPrefixContainer?.nativeElement,Dt=this._textPrefixContainer?.nativeElement,dt=jt?.getBoundingClientRect().width??0,Rt=Dt?.getBoundingClientRect().width??0;me.style.transform=`var(\n --mat-mdc-form-field-label-transform,\n translateY(-50%) translateX(calc(${"rtl"===this._dir.value?"-1":"1"} * (${dt+Rt}px + var(--mat-mdc-form-field-label-offset-x, 0px))))\n )`}_isAttachedToDom(){const me=this._elementRef.nativeElement;if(me.getRootNode){const jt=me.getRootNode();return jt&&jt!==me}return document.documentElement.contains(me)}static{this.\u0275fac=function(jt){return new(jt||fe)(o.rXU(o.aKT),o.rXU(o.gRc),o.rXU(o.SKi),o.rXU(y.dS),o.rXU(b.OD),o.rXU(ft,8),o.rXU(o.bc$,8),o.rXU(j.qQ))}}static{this.\u0275cmp=o.VBU({type:fe,selectors:[["mat-form-field"]],contentQueries:function(jt,Dt,dt){if(1&jt&&(o.wni(dt,Ne,5),o.wni(dt,Ne,7),o.wni(dt,zt,5),o.wni(dt,oe,5),o.wni(dt,Et,5),o.wni(dt,un,5),o.wni(dt,Vt,5)),2&jt){let Rt;o.mGM(Rt=o.lsd())&&(Dt._labelChildNonStatic=Rt.first),o.mGM(Rt=o.lsd())&&(Dt._labelChildStatic=Rt.first),o.mGM(Rt=o.lsd())&&(Dt._formFieldControl=Rt.first),o.mGM(Rt=o.lsd())&&(Dt._prefixChildren=Rt),o.mGM(Rt=o.lsd())&&(Dt._suffixChildren=Rt),o.mGM(Rt=o.lsd())&&(Dt._errorChildren=Rt),o.mGM(Rt=o.lsd())&&(Dt._hintChildren=Rt)}},viewQuery:function(jt,Dt){if(1&jt&&(o.GBs(lt,5),o.GBs(V,5),o.GBs(mt,5),o.GBs(ce,5),o.GBs(H,5),o.GBs(at,5)),2&jt){let dt;o.mGM(dt=o.lsd())&&(Dt._textField=dt.first),o.mGM(dt=o.lsd())&&(Dt._iconPrefixContainer=dt.first),o.mGM(dt=o.lsd())&&(Dt._textPrefixContainer=dt.first),o.mGM(dt=o.lsd())&&(Dt._floatingLabel=dt.first),o.mGM(dt=o.lsd())&&(Dt._notchedOutline=dt.first),o.mGM(dt=o.lsd())&&(Dt._lineRipple=dt.first)}},hostAttrs:[1,"mat-mdc-form-field"],hostVars:42,hostBindings:function(jt,Dt){2&jt&&o.AVh("mat-mdc-form-field-label-always-float",Dt._shouldAlwaysFloat())("mat-mdc-form-field-has-icon-prefix",Dt._hasIconPrefix)("mat-mdc-form-field-has-icon-suffix",Dt._hasIconSuffix)("mat-form-field-invalid",Dt._control.errorState)("mat-form-field-disabled",Dt._control.disabled)("mat-form-field-autofilled",Dt._control.autofilled)("mat-form-field-no-animations","NoopAnimations"===Dt._animationMode)("mat-form-field-appearance-fill","fill"==Dt.appearance)("mat-form-field-appearance-outline","outline"==Dt.appearance)("mat-form-field-hide-placeholder",Dt._hasFloatingLabel()&&!Dt._shouldLabelFloat())("mat-focused",Dt._control.focused)("mat-primary","accent"!==Dt.color&&"warn"!==Dt.color)("mat-accent","accent"===Dt.color)("mat-warn","warn"===Dt.color)("ng-untouched",Dt._shouldForward("untouched"))("ng-touched",Dt._shouldForward("touched"))("ng-pristine",Dt._shouldForward("pristine"))("ng-dirty",Dt._shouldForward("dirty"))("ng-valid",Dt._shouldForward("valid"))("ng-invalid",Dt._shouldForward("invalid"))("ng-pending",Dt._shouldForward("pending"))},inputs:{hideRequiredMarker:"hideRequiredMarker",color:"color",floatLabel:"floatLabel",appearance:"appearance",subscriptSizing:"subscriptSizing",hintLabel:"hintLabel"},exportAs:["matFormField"],features:[o.Jv_([{provide:X,useExisting:fe},{provide:Ee,useExisting:fe}])],ngContentSelectors:Ut,decls:18,vars:23,consts:[["labelTemplate",""],[1,"mat-mdc-text-field-wrapper","mdc-text-field",3,"click"],["textField",""],["class","mat-mdc-form-field-focus-overlay",4,"ngIf"],[1,"mat-mdc-form-field-flex"],["matFormFieldNotchedOutline","",3,"matFormFieldNotchedOutlineOpen",4,"ngIf"],["class","mat-mdc-form-field-icon-prefix",4,"ngIf"],["class","mat-mdc-form-field-text-prefix",4,"ngIf"],[1,"mat-mdc-form-field-infix"],[3,"ngIf"],["class","mat-mdc-form-field-text-suffix",4,"ngIf"],["class","mat-mdc-form-field-icon-suffix",4,"ngIf"],["matFormFieldLineRipple","",4,"ngIf"],[1,"mat-mdc-form-field-subscript-wrapper","mat-mdc-form-field-bottom-align",3,"ngSwitch"],["class","mat-mdc-form-field-error-wrapper",4,"ngSwitchCase"],["class","mat-mdc-form-field-hint-wrapper",4,"ngSwitchCase"],["matFormFieldFloatingLabel","",3,"floating","monitorResize","id",4,"ngIf"],["matFormFieldFloatingLabel","",3,"floating","monitorResize","id"],["aria-hidden","true","class","mat-mdc-form-field-required-marker mdc-floating-label--required",4,"ngIf"],["aria-hidden","true",1,"mat-mdc-form-field-required-marker","mdc-floating-label--required"],[1,"mat-mdc-form-field-focus-overlay"],["matFormFieldNotchedOutline","",3,"matFormFieldNotchedOutlineOpen"],[3,"ngTemplateOutlet"],[1,"mat-mdc-form-field-icon-prefix"],["iconPrefixContainer",""],[1,"mat-mdc-form-field-text-prefix"],["textPrefixContainer",""],[1,"mat-mdc-form-field-text-suffix"],[1,"mat-mdc-form-field-icon-suffix"],["matFormFieldLineRipple",""],[1,"mat-mdc-form-field-error-wrapper"],[1,"mat-mdc-form-field-hint-wrapper"],[3,"id",4,"ngIf"],[1,"mat-mdc-form-field-hint-spacer"],[3,"id"]],template:function(jt,Dt){1&jt&&(o.NAR(Yt),o.DNE(0,de,1,1,"ng-template",null,0,o.C5r),o.j41(2,"div",1,2),o.bIt("click",function(Rt){return Dt._control.onContainerClick(Rt)}),o.DNE(4,_e,1,0,"div",3),o.j41(5,"div",4),o.DNE(6,Xe,2,2,"div",5),o.DNE(7,ye,3,0,"div",6),o.DNE(8,Ve,3,0,"div",7),o.j41(9,"div",8),o.DNE(10,Qe,1,1,"ng-template",9),o.SdG(11),o.k0s(),o.DNE(12,be,2,0,"div",10),o.DNE(13,Me,2,0,"div",11),o.k0s(),o.DNE(14,yt,1,0,"div",12),o.k0s(),o.j41(15,"div",13),o.DNE(16,Kt,2,1,"div",14),o.DNE(17,Tt,5,2,"div",15),o.k0s()),2&jt&&(o.R7$(2),o.AVh("mdc-text-field--filled",!Dt._hasOutline())("mdc-text-field--outlined",Dt._hasOutline())("mdc-text-field--no-label",!Dt._hasFloatingLabel())("mdc-text-field--disabled",Dt._control.disabled)("mdc-text-field--invalid",Dt._control.errorState),o.R7$(2),o.Y8G("ngIf",!Dt._hasOutline()&&!Dt._control.disabled),o.R7$(2),o.Y8G("ngIf",Dt._hasOutline()),o.R7$(1),o.Y8G("ngIf",Dt._hasIconPrefix),o.R7$(1),o.Y8G("ngIf",Dt._hasTextPrefix),o.R7$(2),o.Y8G("ngIf",!Dt._hasOutline()||Dt._forceDisplayInfixLabel()),o.R7$(2),o.Y8G("ngIf",Dt._hasTextSuffix),o.R7$(1),o.Y8G("ngIf",Dt._hasIconSuffix),o.R7$(1),o.Y8G("ngIf",!Dt._hasOutline()),o.R7$(1),o.AVh("mat-mdc-form-field-subscript-dynamic-size","dynamic"===Dt.subscriptSizing),o.Y8G("ngSwitch",Dt._getDisplayedMessages()),o.R7$(1),o.Y8G("ngSwitchCase","error"),o.R7$(1),o.Y8G("ngSwitchCase","hint"))},dependencies:[j.bT,j.T3,j.ux,j.e1,Vt,ce,H,at],styles:['.mdc-text-field{border-top-left-radius:4px;border-top-left-radius:var(--mdc-shape-small, 4px);border-top-right-radius:4px;border-top-right-radius:var(--mdc-shape-small, 4px);border-bottom-right-radius:0;border-bottom-left-radius:0;display:inline-flex;align-items:baseline;padding:0 16px;position:relative;box-sizing:border-box;overflow:hidden;will-change:opacity,transform,color}.mdc-text-field .mdc-floating-label{top:50%;transform:translateY(-50%);pointer-events:none}.mdc-text-field__input{height:28px;width:100%;min-width:0;border:none;border-radius:0;background:none;appearance:none;padding:0}.mdc-text-field__input::-ms-clear{display:none}.mdc-text-field__input::-webkit-calendar-picker-indicator{display:none}.mdc-text-field__input:focus{outline:none}.mdc-text-field__input:invalid{box-shadow:none}@media all{.mdc-text-field__input::placeholder{opacity:0}}@media all{.mdc-text-field__input:-ms-input-placeholder{opacity:0}}@media all{.mdc-text-field--no-label .mdc-text-field__input::placeholder,.mdc-text-field--focused .mdc-text-field__input::placeholder{opacity:1}}@media all{.mdc-text-field--no-label .mdc-text-field__input:-ms-input-placeholder,.mdc-text-field--focused .mdc-text-field__input:-ms-input-placeholder{opacity:1}}.mdc-text-field__affix{height:28px;opacity:0;white-space:nowrap}.mdc-text-field--label-floating .mdc-text-field__affix,.mdc-text-field--no-label .mdc-text-field__affix{opacity:1}@supports(-webkit-hyphens: none){.mdc-text-field--outlined .mdc-text-field__affix{align-items:center;align-self:center;display:inline-flex;height:100%}}.mdc-text-field__affix--prefix{padding-left:0;padding-right:2px}[dir=rtl] .mdc-text-field__affix--prefix,.mdc-text-field__affix--prefix[dir=rtl]{padding-left:2px;padding-right:0}.mdc-text-field--end-aligned .mdc-text-field__affix--prefix{padding-left:0;padding-right:12px}[dir=rtl] .mdc-text-field--end-aligned .mdc-text-field__affix--prefix,.mdc-text-field--end-aligned .mdc-text-field__affix--prefix[dir=rtl]{padding-left:12px;padding-right:0}.mdc-text-field__affix--suffix{padding-left:12px;padding-right:0}[dir=rtl] .mdc-text-field__affix--suffix,.mdc-text-field__affix--suffix[dir=rtl]{padding-left:0;padding-right:12px}.mdc-text-field--end-aligned .mdc-text-field__affix--suffix{padding-left:2px;padding-right:0}[dir=rtl] .mdc-text-field--end-aligned .mdc-text-field__affix--suffix,.mdc-text-field--end-aligned .mdc-text-field__affix--suffix[dir=rtl]{padding-left:0;padding-right:2px}.mdc-text-field--filled{height:56px}.mdc-text-field--filled::before{display:inline-block;width:0;height:40px;content:"";vertical-align:0}.mdc-text-field--filled .mdc-floating-label{left:16px;right:initial}[dir=rtl] .mdc-text-field--filled .mdc-floating-label,.mdc-text-field--filled .mdc-floating-label[dir=rtl]{left:initial;right:16px}.mdc-text-field--filled .mdc-floating-label--float-above{transform:translateY(-106%) scale(0.75)}.mdc-text-field--filled.mdc-text-field--no-label .mdc-text-field__input{height:100%}.mdc-text-field--filled.mdc-text-field--no-label .mdc-floating-label{display:none}.mdc-text-field--filled.mdc-text-field--no-label::before{display:none}@supports(-webkit-hyphens: none){.mdc-text-field--filled.mdc-text-field--no-label .mdc-text-field__affix{align-items:center;align-self:center;display:inline-flex;height:100%}}.mdc-text-field--outlined{height:56px;overflow:visible}.mdc-text-field--outlined .mdc-floating-label--float-above{transform:translateY(-37.25px) scale(1)}.mdc-text-field--outlined .mdc-floating-label--float-above{font-size:.75rem}.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{transform:translateY(-34.75px) scale(0.75)}.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:1rem}.mdc-text-field--outlined .mdc-text-field__input{height:100%}.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading{border-top-left-radius:4px;border-top-left-radius:var(--mdc-shape-small, 4px);border-top-right-radius:0;border-bottom-right-radius:0;border-bottom-left-radius:4px;border-bottom-left-radius:var(--mdc-shape-small, 4px)}[dir=rtl] .mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading,.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading[dir=rtl]{border-top-left-radius:0;border-top-right-radius:4px;border-top-right-radius:var(--mdc-shape-small, 4px);border-bottom-right-radius:4px;border-bottom-right-radius:var(--mdc-shape-small, 4px);border-bottom-left-radius:0}@supports(top: max(0%)){.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading{width:max(12px, var(--mdc-shape-small, 4px))}}@supports(top: max(0%)){.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__notch{max-width:calc(100% - max(12px, var(--mdc-shape-small, 4px))*2)}}.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__trailing{border-top-left-radius:0;border-top-right-radius:4px;border-top-right-radius:var(--mdc-shape-small, 4px);border-bottom-right-radius:4px;border-bottom-right-radius:var(--mdc-shape-small, 4px);border-bottom-left-radius:0}[dir=rtl] .mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__trailing,.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__trailing[dir=rtl]{border-top-left-radius:4px;border-top-left-radius:var(--mdc-shape-small, 4px);border-top-right-radius:0;border-bottom-right-radius:0;border-bottom-left-radius:4px;border-bottom-left-radius:var(--mdc-shape-small, 4px)}@supports(top: max(0%)){.mdc-text-field--outlined{padding-left:max(16px, calc(var(--mdc-shape-small, 4px) + 4px))}}@supports(top: max(0%)){.mdc-text-field--outlined{padding-right:max(16px, var(--mdc-shape-small, 4px))}}@supports(top: max(0%)){.mdc-text-field--outlined+.mdc-text-field-helper-line{padding-left:max(16px, calc(var(--mdc-shape-small, 4px) + 4px))}}@supports(top: max(0%)){.mdc-text-field--outlined+.mdc-text-field-helper-line{padding-right:max(16px, var(--mdc-shape-small, 4px))}}.mdc-text-field--outlined.mdc-text-field--with-leading-icon{padding-left:0}@supports(top: max(0%)){.mdc-text-field--outlined.mdc-text-field--with-leading-icon{padding-right:max(16px, var(--mdc-shape-small, 4px))}}[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-leading-icon,.mdc-text-field--outlined.mdc-text-field--with-leading-icon[dir=rtl]{padding-right:0}@supports(top: max(0%)){[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-leading-icon,.mdc-text-field--outlined.mdc-text-field--with-leading-icon[dir=rtl]{padding-left:max(16px, var(--mdc-shape-small, 4px))}}.mdc-text-field--outlined.mdc-text-field--with-trailing-icon{padding-right:0}@supports(top: max(0%)){.mdc-text-field--outlined.mdc-text-field--with-trailing-icon{padding-left:max(16px, calc(var(--mdc-shape-small, 4px) + 4px))}}[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-trailing-icon,.mdc-text-field--outlined.mdc-text-field--with-trailing-icon[dir=rtl]{padding-left:0}@supports(top: max(0%)){[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-trailing-icon,.mdc-text-field--outlined.mdc-text-field--with-trailing-icon[dir=rtl]{padding-right:max(16px, calc(var(--mdc-shape-small, 4px) + 4px))}}.mdc-text-field--outlined.mdc-text-field--with-leading-icon.mdc-text-field--with-trailing-icon{padding-left:0;padding-right:0}.mdc-text-field--outlined .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:1px}.mdc-text-field--outlined .mdc-floating-label{left:4px;right:initial}[dir=rtl] .mdc-text-field--outlined .mdc-floating-label,.mdc-text-field--outlined .mdc-floating-label[dir=rtl]{left:initial;right:4px}.mdc-text-field--outlined .mdc-text-field__input{display:flex;border:none !important;background-color:rgba(0,0,0,0)}.mdc-text-field--outlined .mdc-notched-outline{z-index:1}.mdc-text-field--textarea{flex-direction:column;align-items:center;width:auto;height:auto;padding:0}.mdc-text-field--textarea .mdc-floating-label{top:19px}.mdc-text-field--textarea .mdc-floating-label:not(.mdc-floating-label--float-above){transform:none}.mdc-text-field--textarea .mdc-text-field__input{flex-grow:1;height:auto;min-height:1.5rem;overflow-x:hidden;overflow-y:auto;box-sizing:border-box;resize:none;padding:0 16px}.mdc-text-field--textarea.mdc-text-field--filled::before{display:none}.mdc-text-field--textarea.mdc-text-field--filled .mdc-floating-label--float-above{transform:translateY(-10.25px) scale(0.75)}.mdc-text-field--textarea.mdc-text-field--filled .mdc-text-field__input{margin-top:23px;margin-bottom:9px}.mdc-text-field--textarea.mdc-text-field--filled.mdc-text-field--no-label .mdc-text-field__input{margin-top:16px;margin-bottom:16px}.mdc-text-field--textarea.mdc-text-field--outlined .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:0}.mdc-text-field--textarea.mdc-text-field--outlined .mdc-floating-label--float-above{transform:translateY(-27.25px) scale(1)}.mdc-text-field--textarea.mdc-text-field--outlined .mdc-floating-label--float-above{font-size:.75rem}.mdc-text-field--textarea.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--textarea.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{transform:translateY(-24.75px) scale(0.75)}.mdc-text-field--textarea.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--textarea.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:1rem}.mdc-text-field--textarea.mdc-text-field--outlined .mdc-text-field__input{margin-top:16px;margin-bottom:16px}.mdc-text-field--textarea.mdc-text-field--outlined .mdc-floating-label{top:18px}.mdc-text-field--textarea.mdc-text-field--with-internal-counter .mdc-text-field__input{margin-bottom:2px}.mdc-text-field--textarea.mdc-text-field--with-internal-counter .mdc-text-field-character-counter{align-self:flex-end;padding:0 16px}.mdc-text-field--textarea.mdc-text-field--with-internal-counter .mdc-text-field-character-counter::after{display:inline-block;width:0;height:16px;content:"";vertical-align:-16px}.mdc-text-field--textarea.mdc-text-field--with-internal-counter .mdc-text-field-character-counter::before{display:none}.mdc-text-field__resizer{align-self:stretch;display:inline-flex;flex-direction:column;flex-grow:1;max-height:100%;max-width:100%;min-height:56px;min-width:fit-content;min-width:-moz-available;min-width:-webkit-fill-available;overflow:hidden;resize:both}.mdc-text-field--filled .mdc-text-field__resizer{transform:translateY(-1px)}.mdc-text-field--filled .mdc-text-field__resizer .mdc-text-field__input,.mdc-text-field--filled .mdc-text-field__resizer .mdc-text-field-character-counter{transform:translateY(1px)}.mdc-text-field--outlined .mdc-text-field__resizer{transform:translateX(-1px) translateY(-1px)}[dir=rtl] .mdc-text-field--outlined .mdc-text-field__resizer,.mdc-text-field--outlined .mdc-text-field__resizer[dir=rtl]{transform:translateX(1px) translateY(-1px)}.mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field__input,.mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field-character-counter{transform:translateX(1px) translateY(1px)}[dir=rtl] .mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field__input,[dir=rtl] .mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field-character-counter,.mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field__input[dir=rtl],.mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field-character-counter[dir=rtl]{transform:translateX(-1px) translateY(1px)}.mdc-text-field--with-leading-icon{padding-left:0;padding-right:16px}[dir=rtl] .mdc-text-field--with-leading-icon,.mdc-text-field--with-leading-icon[dir=rtl]{padding-left:16px;padding-right:0}.mdc-text-field--with-leading-icon.mdc-text-field--filled .mdc-floating-label{max-width:calc(100% - 48px);left:48px;right:initial}[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--filled .mdc-floating-label,.mdc-text-field--with-leading-icon.mdc-text-field--filled .mdc-floating-label[dir=rtl]{left:initial;right:48px}.mdc-text-field--with-leading-icon.mdc-text-field--filled .mdc-floating-label--float-above{max-width:calc(100% / 0.75 - 64px / 0.75)}.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label{left:36px;right:initial}[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label,.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label[dir=rtl]{left:initial;right:36px}.mdc-text-field--with-leading-icon.mdc-text-field--outlined :not(.mdc-notched-outline--notched) .mdc-notched-outline__notch{max-width:calc(100% - 60px)}.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--float-above{transform:translateY(-37.25px) translateX(-32px) scale(1)}[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--float-above,.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--float-above[dir=rtl]{transform:translateY(-37.25px) translateX(32px) scale(1)}.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--float-above{font-size:.75rem}.mdc-text-field--with-leading-icon.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{transform:translateY(-34.75px) translateX(-32px) scale(0.75)}[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--with-leading-icon.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above[dir=rtl],.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above[dir=rtl]{transform:translateY(-34.75px) translateX(32px) scale(0.75)}.mdc-text-field--with-leading-icon.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:1rem}.mdc-text-field--with-trailing-icon{padding-left:16px;padding-right:0}[dir=rtl] .mdc-text-field--with-trailing-icon,.mdc-text-field--with-trailing-icon[dir=rtl]{padding-left:0;padding-right:16px}.mdc-text-field--with-trailing-icon.mdc-text-field--filled .mdc-floating-label{max-width:calc(100% - 64px)}.mdc-text-field--with-trailing-icon.mdc-text-field--filled .mdc-floating-label--float-above{max-width:calc(100% / 0.75 - 64px / 0.75)}.mdc-text-field--with-trailing-icon.mdc-text-field--outlined :not(.mdc-notched-outline--notched) .mdc-notched-outline__notch{max-width:calc(100% - 60px)}.mdc-text-field--with-leading-icon.mdc-text-field--with-trailing-icon{padding-left:0;padding-right:0}.mdc-text-field--with-leading-icon.mdc-text-field--with-trailing-icon.mdc-text-field--filled .mdc-floating-label{max-width:calc(100% - 96px)}.mdc-text-field--with-leading-icon.mdc-text-field--with-trailing-icon.mdc-text-field--filled .mdc-floating-label--float-above{max-width:calc(100% / 0.75 - 96px / 0.75)}.mdc-text-field-helper-line{display:flex;justify-content:space-between;box-sizing:border-box}.mdc-text-field+.mdc-text-field-helper-line{padding-right:16px;padding-left:16px}.mdc-form-field>.mdc-text-field+label{align-self:flex-start}.mdc-text-field--focused .mdc-notched-outline__leading,.mdc-text-field--focused .mdc-notched-outline__notch,.mdc-text-field--focused .mdc-notched-outline__trailing{border-width:2px}.mdc-text-field--focused+.mdc-text-field-helper-line .mdc-text-field-helper-text:not(.mdc-text-field-helper-text--validation-msg){opacity:1}.mdc-text-field--focused.mdc-text-field--outlined .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:2px}.mdc-text-field--focused.mdc-text-field--outlined.mdc-text-field--textarea .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:0}.mdc-text-field--invalid+.mdc-text-field-helper-line .mdc-text-field-helper-text--validation-msg{opacity:1}.mdc-text-field--disabled{pointer-events:none}@media screen and (forced-colors: active){.mdc-text-field--disabled .mdc-text-field__input{background-color:Window}.mdc-text-field--disabled .mdc-floating-label{z-index:1}}.mdc-text-field--disabled .mdc-floating-label{cursor:default}.mdc-text-field--disabled.mdc-text-field--filled .mdc-text-field__ripple{display:none}.mdc-text-field--disabled .mdc-text-field__input{pointer-events:auto}.mdc-text-field--end-aligned .mdc-text-field__input{text-align:right}[dir=rtl] .mdc-text-field--end-aligned .mdc-text-field__input,.mdc-text-field--end-aligned .mdc-text-field__input[dir=rtl]{text-align:left}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__input,[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__affix,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__input,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__affix{direction:ltr}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__affix--prefix,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__affix--prefix{padding-left:0;padding-right:2px}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__affix--suffix,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__affix--suffix{padding-left:12px;padding-right:0}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__icon--leading,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__icon--leading{order:1}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__affix--suffix,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__affix--suffix{order:2}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__input,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__input{order:3}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__affix--prefix,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__affix--prefix{order:4}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__icon--trailing,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__icon--trailing{order:5}[dir=rtl] .mdc-text-field--ltr-text.mdc-text-field--end-aligned .mdc-text-field__input,.mdc-text-field--ltr-text.mdc-text-field--end-aligned[dir=rtl] .mdc-text-field__input{text-align:right}[dir=rtl] .mdc-text-field--ltr-text.mdc-text-field--end-aligned .mdc-text-field__affix--prefix,.mdc-text-field--ltr-text.mdc-text-field--end-aligned[dir=rtl] .mdc-text-field__affix--prefix{padding-right:12px}[dir=rtl] .mdc-text-field--ltr-text.mdc-text-field--end-aligned .mdc-text-field__affix--suffix,.mdc-text-field--ltr-text.mdc-text-field--end-aligned[dir=rtl] .mdc-text-field__affix--suffix{padding-left:2px}.mdc-floating-label{position:absolute;left:0;-webkit-transform-origin:left top;transform-origin:left top;line-height:1.15rem;text-align:left;text-overflow:ellipsis;white-space:nowrap;cursor:text;overflow:hidden;will-change:transform}[dir=rtl] .mdc-floating-label,.mdc-floating-label[dir=rtl]{right:0;left:auto;-webkit-transform-origin:right top;transform-origin:right top;text-align:right}.mdc-floating-label--float-above{cursor:auto}.mdc-floating-label--required:not(.mdc-floating-label--hide-required-marker)::after{margin-left:1px;margin-right:0px;content:"*"}[dir=rtl] .mdc-floating-label--required:not(.mdc-floating-label--hide-required-marker)::after,.mdc-floating-label--required:not(.mdc-floating-label--hide-required-marker)[dir=rtl]::after{margin-left:0;margin-right:1px}.mdc-notched-outline{display:flex;position:absolute;top:0;right:0;left:0;box-sizing:border-box;width:100%;max-width:100%;height:100%;text-align:left;pointer-events:none}[dir=rtl] .mdc-notched-outline,.mdc-notched-outline[dir=rtl]{text-align:right}.mdc-notched-outline__leading,.mdc-notched-outline__notch,.mdc-notched-outline__trailing{box-sizing:border-box;height:100%;pointer-events:none}.mdc-notched-outline__trailing{flex-grow:1}.mdc-notched-outline__notch{flex:0 0 auto;width:auto}.mdc-notched-outline .mdc-floating-label{display:inline-block;position:relative;max-width:100%}.mdc-notched-outline .mdc-floating-label--float-above{text-overflow:clip}.mdc-notched-outline--upgraded .mdc-floating-label--float-above{max-width:133.3333333333%}.mdc-notched-outline--notched .mdc-notched-outline__notch{padding-left:0;padding-right:8px;border-top:none}[dir=rtl] .mdc-notched-outline--notched .mdc-notched-outline__notch,.mdc-notched-outline--notched .mdc-notched-outline__notch[dir=rtl]{padding-left:8px;padding-right:0}.mdc-notched-outline--no-label .mdc-notched-outline__notch{display:none}.mdc-line-ripple::before,.mdc-line-ripple::after{position:absolute;bottom:0;left:0;width:100%;border-bottom-style:solid;content:""}.mdc-line-ripple::before{z-index:1}.mdc-line-ripple::after{transform:scaleX(0);opacity:0;z-index:2}.mdc-line-ripple--active::after{transform:scaleX(1);opacity:1}.mdc-line-ripple--deactivating::after{opacity:0}.mdc-floating-label--float-above{transform:translateY(-106%) scale(0.75)}.mdc-notched-outline__leading,.mdc-notched-outline__notch,.mdc-notched-outline__trailing{border-top:1px solid;border-bottom:1px solid}.mdc-notched-outline__leading{border-left:1px solid;border-right:none;width:12px}[dir=rtl] .mdc-notched-outline__leading,.mdc-notched-outline__leading[dir=rtl]{border-left:none;border-right:1px solid}.mdc-notched-outline__trailing{border-left:none;border-right:1px solid}[dir=rtl] .mdc-notched-outline__trailing,.mdc-notched-outline__trailing[dir=rtl]{border-left:1px solid;border-right:none}.mdc-notched-outline__notch{max-width:calc(100% - 12px * 2)}.mdc-line-ripple::before{border-bottom-width:1px}.mdc-line-ripple::after{border-bottom-width:2px}.mdc-text-field--filled{--mdc-filled-text-field-active-indicator-height:1px;--mdc-filled-text-field-focus-active-indicator-height:2px;--mdc-filled-text-field-container-shape:4px;border-top-left-radius:var(--mdc-filled-text-field-container-shape);border-top-right-radius:var(--mdc-filled-text-field-container-shape);border-bottom-right-radius:0;border-bottom-left-radius:0}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input{caret-color:var(--mdc-filled-text-field-caret-color)}.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-text-field__input{caret-color:var(--mdc-filled-text-field-error-caret-color)}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input{color:var(--mdc-filled-text-field-input-text-color)}.mdc-text-field--filled.mdc-text-field--disabled .mdc-text-field__input{color:var(--mdc-filled-text-field-disabled-input-text-color)}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-floating-label,.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-floating-label--float-above{color:var(--mdc-filled-text-field-label-text-color)}.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label,.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label--float-above{color:var(--mdc-filled-text-field-focus-label-text-color)}.mdc-text-field--filled.mdc-text-field--disabled .mdc-floating-label,.mdc-text-field--filled.mdc-text-field--disabled .mdc-floating-label--float-above{color:var(--mdc-filled-text-field-disabled-label-text-color)}.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-floating-label,.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-floating-label--float-above{color:var(--mdc-filled-text-field-error-label-text-color)}.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label,.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label--float-above{color:var(--mdc-filled-text-field-error-focus-label-text-color)}.mdc-text-field--filled .mdc-floating-label{font-family:var(--mdc-filled-text-field-label-text-font);font-size:var(--mdc-filled-text-field-label-text-size);font-weight:var(--mdc-filled-text-field-label-text-weight);letter-spacing:var(--mdc-filled-text-field-label-text-tracking)}@media all{.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input::placeholder{color:var(--mdc-filled-text-field-input-text-placeholder-color)}}@media all{.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input:-ms-input-placeholder{color:var(--mdc-filled-text-field-input-text-placeholder-color)}}.mdc-text-field--filled:not(.mdc-text-field--disabled){background-color:var(--mdc-filled-text-field-container-color)}.mdc-text-field--filled.mdc-text-field--disabled{background-color:var(--mdc-filled-text-field-disabled-container-color)}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-line-ripple::before{border-bottom-color:var(--mdc-filled-text-field-active-indicator-color)}.mdc-text-field--filled:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-line-ripple::before{border-bottom-color:var(--mdc-filled-text-field-hover-active-indicator-color)}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-line-ripple::after{border-bottom-color:var(--mdc-filled-text-field-focus-active-indicator-color)}.mdc-text-field--filled.mdc-text-field--disabled .mdc-line-ripple::before{border-bottom-color:var(--mdc-filled-text-field-disabled-active-indicator-color)}.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-line-ripple::before{border-bottom-color:var(--mdc-filled-text-field-error-active-indicator-color)}.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-line-ripple::before{border-bottom-color:var(--mdc-filled-text-field-error-hover-active-indicator-color)}.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-line-ripple::after{border-bottom-color:var(--mdc-filled-text-field-error-focus-active-indicator-color)}.mdc-text-field--filled .mdc-line-ripple::before{border-bottom-width:var(--mdc-filled-text-field-active-indicator-height)}.mdc-text-field--filled .mdc-line-ripple::after{border-bottom-width:var(--mdc-filled-text-field-focus-active-indicator-height)}.mdc-text-field--outlined{--mdc-outlined-text-field-outline-width:1px;--mdc-outlined-text-field-focus-outline-width:2px;--mdc-outlined-text-field-container-shape:4px}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input{caret-color:var(--mdc-outlined-text-field-caret-color)}.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-text-field__input{caret-color:var(--mdc-outlined-text-field-error-caret-color)}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input{color:var(--mdc-outlined-text-field-input-text-color)}.mdc-text-field--outlined.mdc-text-field--disabled .mdc-text-field__input{color:var(--mdc-outlined-text-field-disabled-input-text-color)}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-floating-label,.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-floating-label--float-above{color:var(--mdc-outlined-text-field-label-text-color)}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label,.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label--float-above{color:var(--mdc-outlined-text-field-focus-label-text-color)}.mdc-text-field--outlined.mdc-text-field--disabled .mdc-floating-label,.mdc-text-field--outlined.mdc-text-field--disabled .mdc-floating-label--float-above{color:var(--mdc-outlined-text-field-disabled-label-text-color)}.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-floating-label,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-floating-label--float-above{color:var(--mdc-outlined-text-field-error-label-text-color)}.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label--float-above{color:var(--mdc-outlined-text-field-error-focus-label-text-color)}.mdc-text-field--outlined .mdc-floating-label{font-family:var(--mdc-outlined-text-field-label-text-font);font-size:var(--mdc-outlined-text-field-label-text-size);font-weight:var(--mdc-outlined-text-field-label-text-weight);letter-spacing:var(--mdc-outlined-text-field-label-text-tracking)}@media all{.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input::placeholder{color:var(--mdc-outlined-text-field-input-text-placeholder-color)}}@media all{.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input:-ms-input-placeholder{color:var(--mdc-outlined-text-field-input-text-placeholder-color)}}.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading{border-top-left-radius:var(--mdc-outlined-text-field-container-shape);border-top-right-radius:0;border-bottom-right-radius:0;border-bottom-left-radius:var(--mdc-outlined-text-field-container-shape)}[dir=rtl] .mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading,.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading[dir=rtl]{border-top-left-radius:0;border-top-right-radius:var(--mdc-outlined-text-field-container-shape);border-bottom-right-radius:var(--mdc-outlined-text-field-container-shape);border-bottom-left-radius:0}@supports(top: max(0%)){.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading{width:max(12px, var(--mdc-outlined-text-field-container-shape))}}@supports(top: max(0%)){.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__notch{max-width:calc(100% - max(12px, var(--mdc-outlined-text-field-container-shape))*2)}}.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__trailing{border-top-left-radius:0;border-top-right-radius:var(--mdc-outlined-text-field-container-shape);border-bottom-right-radius:var(--mdc-outlined-text-field-container-shape);border-bottom-left-radius:0}[dir=rtl] .mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__trailing,.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__trailing[dir=rtl]{border-top-left-radius:var(--mdc-outlined-text-field-container-shape);border-top-right-radius:0;border-bottom-right-radius:0;border-bottom-left-radius:var(--mdc-outlined-text-field-container-shape)}@supports(top: max(0%)){.mdc-text-field--outlined{padding-left:max(16px, calc(var(--mdc-outlined-text-field-container-shape) + 4px))}}@supports(top: max(0%)){.mdc-text-field--outlined{padding-right:max(16px, var(--mdc-outlined-text-field-container-shape))}}@supports(top: max(0%)){.mdc-text-field--outlined+.mdc-text-field-helper-line{padding-left:max(16px, calc(var(--mdc-outlined-text-field-container-shape) + 4px))}}@supports(top: max(0%)){.mdc-text-field--outlined+.mdc-text-field-helper-line{padding-right:max(16px, var(--mdc-outlined-text-field-container-shape))}}.mdc-text-field--outlined.mdc-text-field--with-leading-icon{padding-left:0}@supports(top: max(0%)){.mdc-text-field--outlined.mdc-text-field--with-leading-icon{padding-right:max(16px, var(--mdc-outlined-text-field-container-shape))}}[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-leading-icon,.mdc-text-field--outlined.mdc-text-field--with-leading-icon[dir=rtl]{padding-right:0}@supports(top: max(0%)){[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-leading-icon,.mdc-text-field--outlined.mdc-text-field--with-leading-icon[dir=rtl]{padding-left:max(16px, var(--mdc-outlined-text-field-container-shape))}}.mdc-text-field--outlined.mdc-text-field--with-trailing-icon{padding-right:0}@supports(top: max(0%)){.mdc-text-field--outlined.mdc-text-field--with-trailing-icon{padding-left:max(16px, calc(var(--mdc-outlined-text-field-container-shape) + 4px))}}[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-trailing-icon,.mdc-text-field--outlined.mdc-text-field--with-trailing-icon[dir=rtl]{padding-left:0}@supports(top: max(0%)){[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-trailing-icon,.mdc-text-field--outlined.mdc-text-field--with-trailing-icon[dir=rtl]{padding-right:max(16px, calc(var(--mdc-outlined-text-field-container-shape) + 4px))}}.mdc-text-field--outlined.mdc-text-field--with-leading-icon.mdc-text-field--with-trailing-icon{padding-left:0;padding-right:0}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-notched-outline__leading,.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-notched-outline__notch,.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-notched-outline__trailing{border-color:var(--mdc-outlined-text-field-outline-color)}.mdc-text-field--outlined:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-notched-outline .mdc-notched-outline__leading,.mdc-text-field--outlined:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-notched-outline .mdc-notched-outline__notch,.mdc-text-field--outlined:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-notched-outline .mdc-notched-outline__trailing{border-color:var(--mdc-outlined-text-field-hover-outline-color)}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__leading,.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__notch,.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__trailing{border-color:var(--mdc-outlined-text-field-focus-outline-color)}.mdc-text-field--outlined.mdc-text-field--disabled .mdc-notched-outline__leading,.mdc-text-field--outlined.mdc-text-field--disabled .mdc-notched-outline__notch,.mdc-text-field--outlined.mdc-text-field--disabled .mdc-notched-outline__trailing{border-color:var(--mdc-outlined-text-field-disabled-outline-color)}.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-notched-outline__leading,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-notched-outline__notch,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-notched-outline__trailing{border-color:var(--mdc-outlined-text-field-error-outline-color)}.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-notched-outline .mdc-notched-outline__leading,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-notched-outline .mdc-notched-outline__notch,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-notched-outline .mdc-notched-outline__trailing{border-color:var(--mdc-outlined-text-field-error-hover-outline-color)}.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__leading,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__notch,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__trailing{border-color:var(--mdc-outlined-text-field-error-focus-outline-color)}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-notched-outline .mdc-notched-outline__leading,.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-notched-outline .mdc-notched-outline__notch,.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-notched-outline .mdc-notched-outline__trailing{border-width:var(--mdc-outlined-text-field-outline-width)}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline .mdc-notched-outline__leading,.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline .mdc-notched-outline__notch,.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline .mdc-notched-outline__trailing{border-width:var(--mdc-outlined-text-field-focus-outline-width)}.mat-mdc-form-field-textarea-control{vertical-align:middle;resize:vertical;box-sizing:border-box;height:auto;margin:0;padding:0;border:none;overflow:auto}.mat-mdc-form-field-input-control.mat-mdc-form-field-input-control{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font:inherit;letter-spacing:inherit;text-decoration:inherit;text-transform:inherit;border:none}.mat-mdc-form-field .mat-mdc-floating-label.mdc-floating-label{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;line-height:normal;pointer-events:all}.mat-mdc-form-field:not(.mat-form-field-disabled) .mat-mdc-floating-label.mdc-floating-label{cursor:inherit}.mdc-text-field--no-label:not(.mdc-text-field--textarea) .mat-mdc-form-field-input-control.mdc-text-field__input,.mat-mdc-text-field-wrapper .mat-mdc-form-field-input-control{height:auto}.mat-mdc-text-field-wrapper .mat-mdc-form-field-input-control.mdc-text-field__input[type=color]{height:23px}.mat-mdc-text-field-wrapper{height:auto;flex:auto}.mat-mdc-form-field-has-icon-prefix .mat-mdc-text-field-wrapper{padding-left:0;--mat-mdc-form-field-label-offset-x: -16px}.mat-mdc-form-field-has-icon-suffix .mat-mdc-text-field-wrapper{padding-right:0}[dir=rtl] .mat-mdc-text-field-wrapper{padding-left:16px;padding-right:16px}[dir=rtl] .mat-mdc-form-field-has-icon-suffix .mat-mdc-text-field-wrapper{padding-left:0}[dir=rtl] .mat-mdc-form-field-has-icon-prefix .mat-mdc-text-field-wrapper{padding-right:0}.mat-form-field-disabled .mdc-text-field__input::placeholder{color:var(--mat-form-field-disabled-input-text-placeholder-color)}.mat-form-field-disabled .mdc-text-field__input::-moz-placeholder{color:var(--mat-form-field-disabled-input-text-placeholder-color)}.mat-form-field-disabled .mdc-text-field__input::-webkit-input-placeholder{color:var(--mat-form-field-disabled-input-text-placeholder-color)}.mat-form-field-disabled .mdc-text-field__input:-ms-input-placeholder{color:var(--mat-form-field-disabled-input-text-placeholder-color)}.mat-mdc-form-field-label-always-float .mdc-text-field__input::placeholder{transition-delay:40ms;transition-duration:110ms;opacity:1}.mat-mdc-text-field-wrapper .mat-mdc-form-field-infix .mat-mdc-floating-label{left:auto;right:auto}.mat-mdc-text-field-wrapper.mdc-text-field--outlined .mdc-text-field__input{display:inline-block}.mat-mdc-form-field .mat-mdc-text-field-wrapper.mdc-text-field .mdc-notched-outline__notch{padding-top:0}.mat-mdc-text-field-wrapper::before{content:none}.mat-mdc-form-field-subscript-wrapper{box-sizing:border-box;width:100%;position:relative}.mat-mdc-form-field-hint-wrapper,.mat-mdc-form-field-error-wrapper{position:absolute;top:0;left:0;right:0;padding:0 16px}.mat-mdc-form-field-subscript-dynamic-size .mat-mdc-form-field-hint-wrapper,.mat-mdc-form-field-subscript-dynamic-size .mat-mdc-form-field-error-wrapper{position:static}.mat-mdc-form-field-bottom-align::before{content:"";display:inline-block;height:16px}.mat-mdc-form-field-bottom-align.mat-mdc-form-field-subscript-dynamic-size::before{content:unset}.mat-mdc-form-field-hint-end{order:1}.mat-mdc-form-field-hint-wrapper{display:flex}.mat-mdc-form-field-hint-spacer{flex:1 0 1em}.mat-mdc-form-field-error{display:block}.mat-mdc-form-field-focus-overlay{top:0;left:0;right:0;bottom:0;position:absolute;opacity:0;pointer-events:none}select.mat-mdc-form-field-input-control{-moz-appearance:none;-webkit-appearance:none;background-color:rgba(0,0,0,0);display:inline-flex;box-sizing:border-box}select.mat-mdc-form-field-input-control:not(:disabled){cursor:pointer}.mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-infix::after{content:"";width:0;height:0;border-left:5px solid rgba(0,0,0,0);border-right:5px solid rgba(0,0,0,0);border-top:5px solid;position:absolute;right:0;top:50%;margin-top:-2.5px;pointer-events:none}[dir=rtl] .mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-infix::after{right:auto;left:0}.mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-input-control{padding-right:15px}[dir=rtl] .mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-input-control{padding-right:0;padding-left:15px}.cdk-high-contrast-active .mat-form-field-appearance-fill .mat-mdc-text-field-wrapper{outline:solid 1px}.cdk-high-contrast-active .mat-form-field-appearance-fill.mat-form-field-disabled .mat-mdc-text-field-wrapper{outline-color:GrayText}.cdk-high-contrast-active .mat-form-field-appearance-fill.mat-focused .mat-mdc-text-field-wrapper{outline:dashed 3px}.cdk-high-contrast-active .mat-mdc-form-field.mat-focused .mdc-notched-outline{border:dashed 3px}.mat-mdc-form-field-input-control[type=date],.mat-mdc-form-field-input-control[type=datetime],.mat-mdc-form-field-input-control[type=datetime-local],.mat-mdc-form-field-input-control[type=month],.mat-mdc-form-field-input-control[type=week],.mat-mdc-form-field-input-control[type=time]{line-height:1}.mat-mdc-form-field-input-control::-webkit-datetime-edit{line-height:1;padding:0;margin-bottom:-2px}.mat-mdc-form-field{--mat-mdc-form-field-floating-label-scale: 0.75;display:inline-flex;flex-direction:column;min-width:0;text-align:left;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--mat-form-field-container-text-font);line-height:var(--mat-form-field-container-text-line-height);font-size:var(--mat-form-field-container-text-size);letter-spacing:var(--mat-form-field-container-text-tracking);font-weight:var(--mat-form-field-container-text-weight)}[dir=rtl] .mat-mdc-form-field{text-align:right}.mat-mdc-form-field .mdc-text-field--outlined .mdc-floating-label--float-above{font-size:calc(var(--mat-form-field-outlined-label-text-populated-size) * var(--mat-mdc-form-field-floating-label-scale))}.mat-mdc-form-field .mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:var(--mat-form-field-outlined-label-text-populated-size)}.mat-mdc-form-field-flex{display:inline-flex;align-items:baseline;box-sizing:border-box;width:100%}.mat-mdc-text-field-wrapper{width:100%}.mat-mdc-form-field-icon-prefix,.mat-mdc-form-field-icon-suffix{align-self:center;line-height:0;pointer-events:auto;position:relative;z-index:1}.mat-mdc-form-field-icon-prefix,[dir=rtl] .mat-mdc-form-field-icon-suffix{padding:0 4px 0 0}.mat-mdc-form-field-icon-suffix,[dir=rtl] .mat-mdc-form-field-icon-prefix{padding:0 0 0 4px}.mat-mdc-form-field-icon-prefix>.mat-icon,.mat-mdc-form-field-icon-suffix>.mat-icon{padding:12px;box-sizing:content-box}.mat-mdc-form-field-subscript-wrapper .mat-icon,.mat-mdc-form-field label .mat-icon{width:1em;height:1em;font-size:inherit}.mat-mdc-form-field-infix{flex:auto;min-width:0;width:180px;position:relative;box-sizing:border-box}.mat-mdc-form-field .mdc-notched-outline__notch{margin-left:-1px;-webkit-clip-path:inset(-9em -999em -9em 1px);clip-path:inset(-9em -999em -9em 1px)}[dir=rtl] .mat-mdc-form-field .mdc-notched-outline__notch{margin-left:0;margin-right:-1px;-webkit-clip-path:inset(-9em 1px -9em -999em);clip-path:inset(-9em 1px -9em -999em)}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input{transition:opacity 150ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}@media all{.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input::placeholder{transition:opacity 67ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}}@media all{.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input:-ms-input-placeholder{transition:opacity 67ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}}@media all{.mdc-text-field--no-label .mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input::placeholder,.mdc-text-field--focused .mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input::placeholder{transition-delay:40ms;transition-duration:110ms}}@media all{.mdc-text-field--no-label .mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input:-ms-input-placeholder,.mdc-text-field--focused .mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input:-ms-input-placeholder{transition-delay:40ms;transition-duration:110ms}}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__affix{transition:opacity 150ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--filled.mdc-ripple-upgraded--background-focused .mdc-text-field__ripple::before,.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--filled:not(.mdc-ripple-upgraded):focus .mdc-text-field__ripple::before{transition-duration:75ms}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--outlined .mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-text-field-outlined 250ms 1}@keyframes mdc-floating-label-shake-float-above-text-field-outlined{0%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 34.75px)) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 0%)) translateY(calc(0% - 34.75px)) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - 0%)) translateY(calc(0% - 34.75px)) scale(0.75)}100%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 34.75px)) scale(0.75)}}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--textarea{transition:none}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--textarea.mdc-text-field--filled .mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-textarea-filled 250ms 1}@keyframes mdc-floating-label-shake-float-above-textarea-filled{0%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 10.25px)) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 0%)) translateY(calc(0% - 10.25px)) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - 0%)) translateY(calc(0% - 10.25px)) scale(0.75)}100%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 10.25px)) scale(0.75)}}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--textarea.mdc-text-field--outlined .mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-textarea-outlined 250ms 1}@keyframes mdc-floating-label-shake-float-above-textarea-outlined{0%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 24.75px)) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 0%)) translateY(calc(0% - 24.75px)) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - 0%)) translateY(calc(0% - 24.75px)) scale(0.75)}100%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 24.75px)) scale(0.75)}}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-text-field-outlined-leading-icon 250ms 1}@keyframes mdc-floating-label-shake-float-above-text-field-outlined-leading-icon{0%{transform:translateX(calc(0% - 32px)) translateY(calc(0% - 34.75px)) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 32px)) translateY(calc(0% - 34.75px)) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - 32px)) translateY(calc(0% - 34.75px)) scale(0.75)}100%{transform:translateX(calc(0% - 32px)) translateY(calc(0% - 34.75px)) scale(0.75)}}[dir=rtl] .mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--shake,.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--with-leading-icon.mdc-text-field--outlined[dir=rtl] .mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-text-field-outlined-leading-icon 250ms 1}@keyframes mdc-floating-label-shake-float-above-text-field-outlined-leading-icon-rtl{0%{transform:translateX(calc(0% - -32px)) translateY(calc(0% - 34.75px)) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - -32px)) translateY(calc(0% - 34.75px)) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - -32px)) translateY(calc(0% - 34.75px)) scale(0.75)}100%{transform:translateX(calc(0% - -32px)) translateY(calc(0% - 34.75px)) scale(0.75)}}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-floating-label{transition:transform 150ms cubic-bezier(0.4, 0, 0.2, 1),color 150ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-standard 250ms 1}@keyframes mdc-floating-label-shake-float-above-standard{0%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 106%)) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 0%)) translateY(calc(0% - 106%)) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - 0%)) translateY(calc(0% - 106%)) scale(0.75)}100%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 106%)) scale(0.75)}}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-line-ripple::after{transition:transform 180ms cubic-bezier(0.4, 0, 0.2, 1),opacity 180ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-notched-outline .mdc-floating-label{max-width:calc(100% + 1px)}.mdc-notched-outline--upgraded .mdc-floating-label--float-above{max-width:calc(133.3333333333% + 1px)}'],encapsulation:2,data:{animation:[st.transitionMessages]},changeDetection:0})}}return fe})(),hn=(()=>{class fe{static{this.\u0275fac=function(jt){return new(jt||fe)}}static{this.\u0275mod=o.$C({type:fe})}static{this.\u0275inj=o.G2t({imports:[bt.yE,j.MD,J.w5,bt.yE]})}}return fe})()},453:(Ce,Lt,r)=>{r.d(Lt,{fg:()=>Gt,fS:()=>te});var o=r(8275),y=r(29094),b=r(1843),T=r(33697),k=r(89115);const G=(0,y.BQ)({passive:!0});let P=(()=>{class ${constructor(V,mt){this._platform=V,this._ngZone=mt,this._monitoredElements=new Map}monitor(V){if(!this._platform.isBrowser)return T.w;const mt=(0,o.i8)(V),rt=this._monitoredElements.get(mt);if(rt)return rt.subject;const $t=new k.B,de="cdk-text-field-autofilled",_e=Le=>{"cdk-text-field-autofill-start"!==Le.animationName||mt.classList.contains(de)?"cdk-text-field-autofill-end"===Le.animationName&&mt.classList.contains(de)&&(mt.classList.remove(de),this._ngZone.run(()=>$t.next({target:Le.target,isAutofilled:!1}))):(mt.classList.add(de),this._ngZone.run(()=>$t.next({target:Le.target,isAutofilled:!0})))};return this._ngZone.runOutsideAngular(()=>{mt.addEventListener("animationstart",_e,G),mt.classList.add("cdk-text-field-autofill-monitored")}),this._monitoredElements.set(mt,{subject:$t,unlisten:()=>{mt.removeEventListener("animationstart",_e,G)}}),$t}stopMonitoring(V){const mt=(0,o.i8)(V),rt=this._monitoredElements.get(mt);rt&&(rt.unlisten(),rt.subject.complete(),mt.classList.remove("cdk-text-field-autofill-monitored"),mt.classList.remove("cdk-text-field-autofilled"),this._monitoredElements.delete(mt))}ngOnDestroy(){this._monitoredElements.forEach((V,mt)=>this.stopMonitoring(mt))}static{this.\u0275fac=function(mt){return new(mt||$)(b.KVO(y.OD),b.KVO(b.SKi))}}static{this.\u0275prov=b.jDH({token:$,factory:$.\u0275fac,providedIn:"root"})}}return $})(),ot=(()=>{class ${static{this.\u0275fac=function(mt){return new(mt||$)}}static{this.\u0275mod=b.$C({type:$})}static{this.\u0275inj=b.G2t({})}}return $})();var q=r(78227),K=r(42250),M=r(54688);const pt=new b.nKC("MAT_INPUT_VALUE_ACCESSOR"),j=["button","checkbox","file","hidden","image","radio","range","reset","submit"];let J=0;const bt=(0,K.J8)(class{constructor($,lt,V,mt){this._defaultErrorStateMatcher=$,this._parentForm=lt,this._parentFormGroup=V,this.ngControl=mt,this.stateChanges=new k.B}});let Gt=(()=>{class $ extends bt{get disabled(){return this._disabled}set disabled(V){this._disabled=(0,o.he)(V),this.focused&&(this.focused=!1,this.stateChanges.next())}get id(){return this._id}set id(V){this._id=V||this._uid}get required(){return this._required??this.ngControl?.control?.hasValidator(q.k0.required)??!1}set required(V){this._required=(0,o.he)(V)}get type(){return this._type}set type(V){this._type=V||"text",this._validateType(),!this._isTextarea&&(0,y.MU)().has(this._type)&&(this._elementRef.nativeElement.type=this._type)}get value(){return this._inputValueAccessor.value}set value(V){V!==this.value&&(this._inputValueAccessor.value=V,this.stateChanges.next())}get readonly(){return this._readonly}set readonly(V){this._readonly=(0,o.he)(V)}constructor(V,mt,rt,$t,de,_e,Le,Ge,Xe,ye){super(_e,$t,de,rt),this._elementRef=V,this._platform=mt,this._autofillMonitor=Ge,this._formField=ye,this._uid="mat-input-"+J++,this.focused=!1,this.stateChanges=new k.B,this.controlType="mat-input",this.autofilled=!1,this._disabled=!1,this._type="text",this._readonly=!1,this._neverEmptyInputTypes=["date","datetime","datetime-local","month","time","week"].filter(Qe=>(0,y.MU)().has(Qe)),this._iOSKeyupListener=Qe=>{const be=Qe.target;!be.value&&0===be.selectionStart&&0===be.selectionEnd&&(be.setSelectionRange(1,1),be.setSelectionRange(0,0))};const Ve=this._elementRef.nativeElement,Oe=Ve.nodeName.toLowerCase();this._inputValueAccessor=Le||Ve,this._previousNativeValue=this.value,this.id=this.id,mt.IOS&&Xe.runOutsideAngular(()=>{V.nativeElement.addEventListener("keyup",this._iOSKeyupListener)}),this._isServer=!this._platform.isBrowser,this._isNativeSelect="select"===Oe,this._isTextarea="textarea"===Oe,this._isInFormField=!!ye,this._isNativeSelect&&(this.controlType=Ve.multiple?"mat-native-select-multiple":"mat-native-select")}ngAfterViewInit(){this._platform.isBrowser&&this._autofillMonitor.monitor(this._elementRef.nativeElement).subscribe(V=>{this.autofilled=V.isAutofilled,this.stateChanges.next()})}ngOnChanges(){this.stateChanges.next()}ngOnDestroy(){this.stateChanges.complete(),this._platform.isBrowser&&this._autofillMonitor.stopMonitoring(this._elementRef.nativeElement),this._platform.IOS&&this._elementRef.nativeElement.removeEventListener("keyup",this._iOSKeyupListener)}ngDoCheck(){this.ngControl&&(this.updateErrorState(),null!==this.ngControl.disabled&&this.ngControl.disabled!==this.disabled&&(this.disabled=this.ngControl.disabled,this.stateChanges.next())),this._dirtyCheckNativeValue(),this._dirtyCheckPlaceholder()}focus(V){this._elementRef.nativeElement.focus(V)}_focusChanged(V){V!==this.focused&&(this.focused=V,this.stateChanges.next())}_onInput(){}_dirtyCheckNativeValue(){const V=this._elementRef.nativeElement.value;this._previousNativeValue!==V&&(this._previousNativeValue=V,this.stateChanges.next())}_dirtyCheckPlaceholder(){const V=this._getPlaceholder();if(V!==this._previousPlaceholder){const mt=this._elementRef.nativeElement;this._previousPlaceholder=V,V?mt.setAttribute("placeholder",V):mt.removeAttribute("placeholder")}}_getPlaceholder(){return this.placeholder||null}_validateType(){j.indexOf(this._type)}_isNeverEmpty(){return this._neverEmptyInputTypes.indexOf(this._type)>-1}_isBadInput(){let V=this._elementRef.nativeElement.validity;return V&&V.badInput}get empty(){return!(this._isNeverEmpty()||this._elementRef.nativeElement.value||this._isBadInput()||this.autofilled)}get shouldLabelFloat(){if(this._isNativeSelect){const V=this._elementRef.nativeElement,mt=V.options[0];return this.focused||V.multiple||!this.empty||!!(V.selectedIndex>-1&&mt&&mt.label)}return this.focused||!this.empty}setDescribedByIds(V){V.length?this._elementRef.nativeElement.setAttribute("aria-describedby",V.join(" ")):this._elementRef.nativeElement.removeAttribute("aria-describedby")}onContainerClick(){this.focused||this.focus()}_isInlineSelect(){const V=this._elementRef.nativeElement;return this._isNativeSelect&&(V.multiple||V.size>1)}static{this.\u0275fac=function(mt){return new(mt||$)(b.rXU(b.aKT),b.rXU(y.OD),b.rXU(q.vO,10),b.rXU(q.cV,8),b.rXU(q.j4,8),b.rXU(K.es),b.rXU(pt,10),b.rXU(P),b.rXU(b.SKi),b.rXU(M.xb,8))}}static{this.\u0275dir=b.FsC({type:$,selectors:[["input","matInput",""],["textarea","matInput",""],["select","matNativeControl",""],["input","matNativeControl",""],["textarea","matNativeControl",""]],hostAttrs:[1,"mat-mdc-input-element"],hostVars:18,hostBindings:function(mt,rt){1&mt&&b.bIt("focus",function(){return rt._focusChanged(!0)})("blur",function(){return rt._focusChanged(!1)})("input",function(){return rt._onInput()}),2&mt&&(b.Mr5("id",rt.id)("disabled",rt.disabled)("required",rt.required),b.BMQ("name",rt.name||null)("readonly",rt.readonly&&!rt._isNativeSelect||null)("aria-invalid",rt.empty&&rt.required?null:rt.errorState)("aria-required",rt.required)("id",rt.id),b.AVh("mat-input-server",rt._isServer)("mat-mdc-form-field-textarea-control",rt._isInFormField&&rt._isTextarea)("mat-mdc-form-field-input-control",rt._isInFormField)("mdc-text-field__input",rt._isInFormField)("mat-mdc-native-select-inline",rt._isInlineSelect()))},inputs:{disabled:"disabled",id:"id",placeholder:"placeholder",name:"name",required:"required",type:"type",errorStateMatcher:"errorStateMatcher",userAriaDescribedBy:["aria-describedby","userAriaDescribedBy"],value:"value",readonly:"readonly"},exportAs:["matInput"],features:[b.Jv_([{provide:M.qT,useExisting:$}]),b.Vt3,b.OA$]})}}return $})(),te=(()=>{class ${static{this.\u0275fac=function(mt){return new(mt||$)}}static{this.\u0275mod=b.$C({type:$})}static{this.\u0275inj=b.G2t({imports:[K.yE,M.RG,M.RG,ot,K.yE]})}}return $})()},85784:(Ce,Lt,r)=>{r.d(Lt,{Fg:()=>zt,YE:()=>re,_L:()=>ne});var o=r(1843),y=r(8275),b=r(29094),T=r(42250),k=r(52693),G=r(85012),Z=(r(89115),r(59332)),N=r(18331),ot=r(7967);r(83607),r(81538),r(25150),r(78227),r(73907);const j=["*"],bt=["unscopedContent"],Gt=["text"],te=[[["","matListItemAvatar",""],["","matListItemIcon",""]],[["","matListItemTitle",""]],[["","matListItemLine",""]],"*",[["","matListItemMeta",""]],[["mat-divider"]]],$=["[matListItemAvatar],[matListItemIcon]","[matListItemTitle]","[matListItemLine]","*","[matListItemMeta]","mat-divider"],Kt=new o.nKC("ListOption");let Nt=(()=>{class vt{constructor(tt){this._elementRef=tt}static{this.\u0275fac=function(X){return new(X||vt)(o.rXU(o.aKT))}}static{this.\u0275dir=o.FsC({type:vt,selectors:[["","matListItemTitle",""]],hostAttrs:[1,"mat-mdc-list-item-title","mdc-list-item__primary-text"]})}}return vt})(),Tt=(()=>{class vt{constructor(tt){this._elementRef=tt}static{this.\u0275fac=function(X){return new(X||vt)(o.rXU(o.aKT))}}static{this.\u0275dir=o.FsC({type:vt,selectors:[["","matListItemLine",""]],hostAttrs:[1,"mat-mdc-list-item-line","mdc-list-item__secondary-text"]})}}return vt})(),Yt=(()=>{class vt{static{this.\u0275fac=function(X){return new(X||vt)}}static{this.\u0275dir=o.FsC({type:vt,selectors:[["","matListItemMeta",""]],hostAttrs:[1,"mat-mdc-list-item-meta","mdc-list-item__end"]})}}return vt})(),Ut=(()=>{class vt{constructor(tt){this._listOption=tt}_isAlignedAtStart(){return!this._listOption||"after"===this._listOption?._getTogglePosition()}static{this.\u0275fac=function(X){return new(X||vt)(o.rXU(Kt,8))}}static{this.\u0275dir=o.FsC({type:vt,hostVars:4,hostBindings:function(X,ft){2&X&&o.AVh("mdc-list-item__start",ft._isAlignedAtStart())("mdc-list-item__end",!ft._isAlignedAtStart())}})}}return vt})(),Ne=(()=>{class vt extends Ut{static{this.\u0275fac=function(){let tt;return function(ft){return(tt||(tt=o.xGo(vt)))(ft||vt)}}()}static{this.\u0275dir=o.FsC({type:vt,selectors:[["","matListItemAvatar",""]],hostAttrs:[1,"mat-mdc-list-item-avatar"],features:[o.Vt3]})}}return vt})(),ke=(()=>{class vt extends Ut{static{this.\u0275fac=function(){let tt;return function(ft){return(tt||(tt=o.xGo(vt)))(ft||vt)}}()}static{this.\u0275dir=o.FsC({type:vt,selectors:[["","matListItemIcon",""]],hostAttrs:[1,"mat-mdc-list-item-icon"],features:[o.Vt3]})}}return vt})();const un=new o.nKC("MAT_LIST_CONFIG");let gt=(()=>{class vt{constructor(){this._isNonInteractive=!0,this._disableRipple=!1,this._disabled=!1,this._defaultOptions=(0,o.WQX)(un,{optional:!0})}get disableRipple(){return this._disableRipple}set disableRipple(tt){this._disableRipple=(0,y.he)(tt)}get disabled(){return this._disabled}set disabled(tt){this._disabled=(0,y.he)(tt)}static{this.\u0275fac=function(X){return new(X||vt)}}static{this.\u0275dir=o.FsC({type:vt,hostVars:1,hostBindings:function(X,ft){2&X&&o.BMQ("aria-disabled",ft.disabled)},inputs:{disableRipple:"disableRipple",disabled:"disabled"}})}}return vt})(),le=(()=>{class vt{set lines(tt){this._explicitLines=(0,y.OE)(tt,null),this._updateItemLines(!1)}get disableRipple(){return this.disabled||this._disableRipple||this._noopAnimations||!!this._listBase?.disableRipple}set disableRipple(tt){this._disableRipple=(0,y.he)(tt)}get disabled(){return this._disabled||!!this._listBase?.disabled}set disabled(tt){this._disabled=(0,y.he)(tt)}get rippleDisabled(){return this.disableRipple||!!this.rippleConfig.disabled}constructor(tt,X,ft,Ot,xe,Te){this._elementRef=tt,this._ngZone=X,this._listBase=ft,this._platform=Ot,this._explicitLines=null,this._disableRipple=!1,this._disabled=!1,this._subscriptions=new k.yU,this._rippleRenderer=null,this._hasUnscopedTextContent=!1,this.rippleConfig=xe||{},this._hostElement=this._elementRef.nativeElement,this._isButtonElement="button"===this._hostElement.nodeName.toLowerCase(),this._noopAnimations="NoopAnimations"===Te,ft&&!ft._isNonInteractive&&this._initInteractiveListItem(),this._isButtonElement&&!this._hostElement.hasAttribute("type")&&this._hostElement.setAttribute("type","button")}ngAfterViewInit(){this._monitorProjectedLinesAndTitle(),this._updateItemLines(!0)}ngOnDestroy(){this._subscriptions.unsubscribe(),null!==this._rippleRenderer&&this._rippleRenderer._removeTriggerEvents()}_hasIconOrAvatar(){return!(!this._avatars.length&&!this._icons.length)}_initInteractiveListItem(){this._hostElement.classList.add("mat-mdc-list-item-interactive"),this._rippleRenderer=new T.ug(this,this._ngZone,this._hostElement,this._platform),this._rippleRenderer.setupTriggerEvents(this._hostElement)}_monitorProjectedLinesAndTitle(){this._ngZone.runOutsideAngular(()=>{this._subscriptions.add((0,G.h)(this._lines.changes,this._titles.changes).subscribe(()=>this._updateItemLines(!1)))})}_updateItemLines(tt){if(!this._lines||!this._titles||!this._unscopedContent)return;tt&&this._checkDomForUnscopedTextContent();const X=this._explicitLines??this._inferLinesFromContent(),ft=this._unscopedContent.nativeElement;if(this._hostElement.classList.toggle("mat-mdc-list-item-single-line",X<=1),this._hostElement.classList.toggle("mdc-list-item--with-one-line",X<=1),this._hostElement.classList.toggle("mdc-list-item--with-two-lines",2===X),this._hostElement.classList.toggle("mdc-list-item--with-three-lines",3===X),this._hasUnscopedTextContent){const Ot=0===this._titles.length&&1===X;ft.classList.toggle("mdc-list-item__primary-text",Ot),ft.classList.toggle("mdc-list-item__secondary-text",!Ot)}else ft.classList.remove("mdc-list-item__primary-text"),ft.classList.remove("mdc-list-item__secondary-text")}_inferLinesFromContent(){let tt=this._titles.length+this._lines.length;return this._hasUnscopedTextContent&&(tt+=1),tt}_checkDomForUnscopedTextContent(){this._hasUnscopedTextContent=Array.from(this._unscopedContent.nativeElement.childNodes).filter(tt=>tt.nodeType!==tt.COMMENT_NODE).some(tt=>!(!tt.textContent||!tt.textContent.trim()))}static{this.\u0275fac=function(X){return new(X||vt)(o.rXU(o.aKT),o.rXU(o.SKi),o.rXU(gt,8),o.rXU(b.OD),o.rXU(T.$E,8),o.rXU(o.bc$,8))}}static{this.\u0275dir=o.FsC({type:vt,contentQueries:function(X,ft,Ot){if(1&X&&(o.wni(Ot,Ne,4),o.wni(Ot,ke,4)),2&X){let xe;o.mGM(xe=o.lsd())&&(ft._avatars=xe),o.mGM(xe=o.lsd())&&(ft._icons=xe)}},hostVars:4,hostBindings:function(X,ft){2&X&&(o.BMQ("aria-disabled",ft.disabled)("disabled",ft._isButtonElement&&ft.disabled||null),o.AVh("mdc-list-item--disabled",ft.disabled))},inputs:{lines:"lines",disableRipple:"disableRipple",disabled:"disabled"}})}}return vt})(),re=(()=>{class vt extends le{get activated(){return this._activated}set activated(tt){this._activated=(0,y.he)(tt)}constructor(tt,X,ft,Ot,xe,Te){super(tt,X,ft,Ot,xe,Te),this._activated=!1}_getAriaCurrent(){return"A"===this._hostElement.nodeName&&this._activated?"page":null}static{this.\u0275fac=function(X){return new(X||vt)(o.rXU(o.aKT),o.rXU(o.SKi),o.rXU(gt,8),o.rXU(b.OD),o.rXU(T.$E,8),o.rXU(o.bc$,8))}}static{this.\u0275cmp=o.VBU({type:vt,selectors:[["mat-list-item"],["a","mat-list-item",""],["button","mat-list-item",""]],contentQueries:function(X,ft,Ot){if(1&X&&(o.wni(Ot,Tt,5),o.wni(Ot,Nt,5),o.wni(Ot,Yt,5)),2&X){let xe;o.mGM(xe=o.lsd())&&(ft._lines=xe),o.mGM(xe=o.lsd())&&(ft._titles=xe),o.mGM(xe=o.lsd())&&(ft._meta=xe)}},viewQuery:function(X,ft){if(1&X&&(o.GBs(bt,5),o.GBs(Gt,5)),2&X){let Ot;o.mGM(Ot=o.lsd())&&(ft._unscopedContent=Ot.first),o.mGM(Ot=o.lsd())&&(ft._itemText=Ot.first)}},hostAttrs:[1,"mat-mdc-list-item","mdc-list-item"],hostVars:11,hostBindings:function(X,ft){2&X&&(o.BMQ("aria-current",ft._getAriaCurrent()),o.AVh("mdc-list-item--activated",ft.activated)("mdc-list-item--with-leading-avatar",0!==ft._avatars.length)("mdc-list-item--with-leading-icon",0!==ft._icons.length)("mdc-list-item--with-trailing-meta",0!==ft._meta.length)("_mat-animation-noopable",ft._noopAnimations))},inputs:{activated:"activated"},exportAs:["matListItem"],features:[o.Vt3],ngContentSelectors:$,decls:10,vars:0,consts:[[1,"mdc-list-item__content"],[1,"mat-mdc-list-item-unscoped-content",3,"cdkObserveContent"],["unscopedContent",""],[1,"mat-mdc-focus-indicator"]],template:function(X,ft){1&X&&(o.NAR(te),o.SdG(0),o.j41(1,"span",0),o.SdG(2,1),o.SdG(3,2),o.j41(4,"span",1,2),o.bIt("cdkObserveContent",function(){return ft._updateItemLines(!0)}),o.SdG(6,3),o.k0s()(),o.SdG(7,4),o.SdG(8,5),o.nrm(9,"div",3))},dependencies:[Z.Wv],encapsulation:2,changeDetection:0})}}return vt})(),ne=(()=>{class vt extends gt{constructor(){super(...arguments),this._isNonInteractive=!1}static{this.\u0275fac=function(){let tt;return function(ft){return(tt||(tt=o.xGo(vt)))(ft||vt)}}()}static{this.\u0275cmp=o.VBU({type:vt,selectors:[["mat-nav-list"]],hostAttrs:["role","navigation",1,"mat-mdc-nav-list","mat-mdc-list-base","mdc-list"],exportAs:["matNavList"],features:[o.Jv_([{provide:gt,useExisting:vt}]),o.Vt3],ngContentSelectors:j,decls:1,vars:0,template:function(X,ft){1&X&&(o.NAR(),o.SdG(0))},styles:['@media screen and (forced-colors: active),(-ms-high-contrast: active){.mdc-list-divider::after{content:"";display:block;border-bottom-width:1px;border-bottom-style:solid}}.mdc-list{margin:0;padding:8px 0;list-style-type:none}.mdc-list:focus{outline:none}.mdc-list-item__wrapper{display:block}.mdc-list-item{display:flex;position:relative;align-items:center;justify-content:flex-start;overflow:hidden;padding:0;align-items:stretch;cursor:pointer}.mdc-list-item:focus{outline:none}.mdc-list-item.mdc-list-item--with-one-line{height:48px}.mdc-list-item.mdc-list-item--with-two-lines{height:64px}.mdc-list-item.mdc-list-item--with-three-lines{height:88px}.mdc-list-item.mdc-list-item--with-one-line .mdc-list-item__start{align-self:center;margin-top:0}.mdc-list-item.mdc-list-item--with-two-lines .mdc-list-item__start{align-self:flex-start;margin-top:16px}.mdc-list-item.mdc-list-item--with-three-lines .mdc-list-item__start{align-self:flex-start;margin-top:16px}.mdc-list-item.mdc-list-item--with-one-line .mdc-list-item__end{align-self:center;margin-top:0}.mdc-list-item.mdc-list-item--with-two-lines .mdc-list-item__end{align-self:center;margin-top:0}.mdc-list-item.mdc-list-item--with-three-lines .mdc-list-item__end{align-self:flex-start;margin-top:16px}.mdc-list-item.mdc-list-item--disabled,.mdc-list-item.mdc-list-item--non-interactive{cursor:auto}.mdc-list-item:not(.mdc-list-item--selected):focus::before,.mdc-list-item.mdc-ripple-upgraded--background-focused::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:1px solid rgba(0,0,0,0);border-radius:inherit;content:"";pointer-events:none}@media screen and (forced-colors: active){.mdc-list-item:not(.mdc-list-item--selected):focus::before,.mdc-list-item.mdc-ripple-upgraded--background-focused::before{border-color:CanvasText}}.mdc-list-item.mdc-list-item--selected::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:3px double rgba(0,0,0,0);border-radius:inherit;content:"";pointer-events:none}@media screen and (forced-colors: active){.mdc-list-item.mdc-list-item--selected::before{border-color:CanvasText}}.mdc-list-item.mdc-list-item--selected:focus::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:3px solid rgba(0,0,0,0);border-radius:inherit;content:"";pointer-events:none}@media screen and (forced-colors: active){.mdc-list-item.mdc-list-item--selected:focus::before{border-color:CanvasText}}a.mdc-list-item{color:inherit;text-decoration:none}.mdc-list-item__start{fill:currentColor;flex-shrink:0;pointer-events:none}.mdc-list-item__end{flex-shrink:0;pointer-events:none}.mdc-list-item__content{text-overflow:ellipsis;white-space:nowrap;overflow:hidden;align-self:center;flex:1;pointer-events:none}.mdc-list-item--with-two-lines .mdc-list-item__content,.mdc-list-item--with-three-lines .mdc-list-item__content{align-self:stretch}.mdc-list-item__content[for]{pointer-events:none}.mdc-list-item__primary-text{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.mdc-list-item--with-two-lines .mdc-list-item__primary-text,.mdc-list-item--with-three-lines .mdc-list-item__primary-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before,.mdc-list-item--with-three-lines .mdc-list-item__primary-text::before{display:inline-block;width:0;height:28px;content:"";vertical-align:0}.mdc-list-item--with-two-lines .mdc-list-item__primary-text::after,.mdc-list-item--with-three-lines .mdc-list-item__primary-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item__secondary-text{text-overflow:ellipsis;white-space:nowrap;overflow:hidden;display:block;margin-top:0;line-height:normal}.mdc-list-item__secondary-text::before{display:inline-block;width:0;height:20px;content:"";vertical-align:0}.mdc-list-item--with-three-lines .mdc-list-item__secondary-text{white-space:normal;line-height:20px}.mdc-list-item--with-overline .mdc-list-item__secondary-text{white-space:nowrap;line-height:auto}.mdc-list-item__overline-text{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.mdc-list-item--with-two-lines .mdc-list-item__overline-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-two-lines .mdc-list-item__overline-text::before{display:inline-block;width:0;height:24px;content:"";vertical-align:0}.mdc-list-item--with-two-lines .mdc-list-item__overline-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-three-lines .mdc-list-item__overline-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-three-lines .mdc-list-item__overline-text::before{display:inline-block;width:0;height:28px;content:"";vertical-align:0}.mdc-list-item--with-three-lines .mdc-list-item__overline-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-leading-avatar.mdc-list-item{padding-left:0;padding-right:auto}[dir=rtl] .mdc-list-item--with-leading-avatar.mdc-list-item,.mdc-list-item--with-leading-avatar.mdc-list-item[dir=rtl]{padding-left:auto;padding-right:0}.mdc-list-item--with-leading-avatar .mdc-list-item__start{margin-left:16px;margin-right:16px}[dir=rtl] .mdc-list-item--with-leading-avatar .mdc-list-item__start,.mdc-list-item--with-leading-avatar .mdc-list-item__start[dir=rtl]{margin-left:16px;margin-right:16px}.mdc-list-item--with-leading-avatar.mdc-list-item--with-two-lines .mdc-list-item__primary-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-avatar.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mdc-list-item--with-leading-avatar.mdc-list-item--with-two-lines .mdc-list-item__primary-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-leading-avatar.mdc-list-item--with-two-lines .mdc-list-item__overline-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-avatar.mdc-list-item--with-two-lines .mdc-list-item__overline-text::before{display:inline-block;width:0;height:28px;content:"";vertical-align:0}.mdc-list-item--with-leading-avatar.mdc-list-item--with-two-lines .mdc-list-item__overline-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-leading-avatar.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end{display:block;margin-top:0;line-height:normal}.mdc-list-item--with-leading-avatar.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mdc-list-item--with-leading-avatar.mdc-list-item--with-one-line{height:56px}.mdc-list-item--with-leading-avatar.mdc-list-item--with-two-lines{height:72px}.mdc-list-item--with-leading-avatar .mdc-list-item__start{border-radius:50%}.mdc-list-item--with-leading-icon.mdc-list-item{padding-left:0;padding-right:auto}[dir=rtl] .mdc-list-item--with-leading-icon.mdc-list-item,.mdc-list-item--with-leading-icon.mdc-list-item[dir=rtl]{padding-left:auto;padding-right:0}.mdc-list-item--with-leading-icon .mdc-list-item__start{margin-left:16px;margin-right:32px}[dir=rtl] .mdc-list-item--with-leading-icon .mdc-list-item__start,.mdc-list-item--with-leading-icon .mdc-list-item__start[dir=rtl]{margin-left:32px;margin-right:16px}.mdc-list-item--with-leading-icon.mdc-list-item--with-two-lines .mdc-list-item__primary-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-icon.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mdc-list-item--with-leading-icon.mdc-list-item--with-two-lines .mdc-list-item__primary-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-leading-icon.mdc-list-item--with-two-lines .mdc-list-item__overline-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-icon.mdc-list-item--with-two-lines .mdc-list-item__overline-text::before{display:inline-block;width:0;height:28px;content:"";vertical-align:0}.mdc-list-item--with-leading-icon.mdc-list-item--with-two-lines .mdc-list-item__overline-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-leading-icon.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end{display:block;margin-top:0;line-height:normal}.mdc-list-item--with-leading-icon.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mdc-list-item--with-leading-icon.mdc-list-item--with-one-line{height:56px}.mdc-list-item--with-leading-icon.mdc-list-item--with-two-lines{height:72px}.mdc-list-item--with-leading-thumbnail.mdc-list-item{padding-left:0;padding-right:auto}[dir=rtl] .mdc-list-item--with-leading-thumbnail.mdc-list-item,.mdc-list-item--with-leading-thumbnail.mdc-list-item[dir=rtl]{padding-left:auto;padding-right:0}.mdc-list-item--with-leading-thumbnail .mdc-list-item__start{margin-left:16px;margin-right:16px}[dir=rtl] .mdc-list-item--with-leading-thumbnail .mdc-list-item__start,.mdc-list-item--with-leading-thumbnail .mdc-list-item__start[dir=rtl]{margin-left:16px;margin-right:16px}.mdc-list-item--with-leading-thumbnail.mdc-list-item--with-two-lines .mdc-list-item__primary-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-thumbnail.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mdc-list-item--with-leading-thumbnail.mdc-list-item--with-two-lines .mdc-list-item__primary-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-leading-thumbnail.mdc-list-item--with-two-lines .mdc-list-item__overline-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-thumbnail.mdc-list-item--with-two-lines .mdc-list-item__overline-text::before{display:inline-block;width:0;height:28px;content:"";vertical-align:0}.mdc-list-item--with-leading-thumbnail.mdc-list-item--with-two-lines .mdc-list-item__overline-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-leading-thumbnail.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end{display:block;margin-top:0;line-height:normal}.mdc-list-item--with-leading-thumbnail.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mdc-list-item--with-leading-thumbnail.mdc-list-item--with-one-line{height:56px}.mdc-list-item--with-leading-thumbnail.mdc-list-item--with-two-lines{height:72px}.mdc-list-item--with-leading-image.mdc-list-item{padding-left:0;padding-right:auto}[dir=rtl] .mdc-list-item--with-leading-image.mdc-list-item,.mdc-list-item--with-leading-image.mdc-list-item[dir=rtl]{padding-left:auto;padding-right:0}.mdc-list-item--with-leading-image .mdc-list-item__start{margin-left:16px;margin-right:16px}[dir=rtl] .mdc-list-item--with-leading-image .mdc-list-item__start,.mdc-list-item--with-leading-image .mdc-list-item__start[dir=rtl]{margin-left:16px;margin-right:16px}.mdc-list-item--with-leading-image.mdc-list-item--with-two-lines .mdc-list-item__primary-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-image.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mdc-list-item--with-leading-image.mdc-list-item--with-two-lines .mdc-list-item__primary-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-leading-image.mdc-list-item--with-two-lines .mdc-list-item__overline-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-image.mdc-list-item--with-two-lines .mdc-list-item__overline-text::before{display:inline-block;width:0;height:28px;content:"";vertical-align:0}.mdc-list-item--with-leading-image.mdc-list-item--with-two-lines .mdc-list-item__overline-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-leading-image.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end{display:block;margin-top:0;line-height:normal}.mdc-list-item--with-leading-image.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mdc-list-item--with-leading-image.mdc-list-item--with-one-line{height:72px}.mdc-list-item--with-leading-image.mdc-list-item--with-two-lines{height:72px}.mdc-list-item--with-leading-video.mdc-list-item--with-two-lines .mdc-list-item__start{align-self:flex-start;margin-top:8px}.mdc-list-item--with-leading-video.mdc-list-item{padding-left:0;padding-right:auto}[dir=rtl] .mdc-list-item--with-leading-video.mdc-list-item,.mdc-list-item--with-leading-video.mdc-list-item[dir=rtl]{padding-left:auto;padding-right:0}.mdc-list-item--with-leading-video .mdc-list-item__start{margin-left:0;margin-right:16px}[dir=rtl] .mdc-list-item--with-leading-video .mdc-list-item__start,.mdc-list-item--with-leading-video .mdc-list-item__start[dir=rtl]{margin-left:16px;margin-right:0}.mdc-list-item--with-leading-video.mdc-list-item--with-two-lines .mdc-list-item__primary-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-video.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mdc-list-item--with-leading-video.mdc-list-item--with-two-lines .mdc-list-item__primary-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-leading-video.mdc-list-item--with-two-lines .mdc-list-item__overline-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-video.mdc-list-item--with-two-lines .mdc-list-item__overline-text::before{display:inline-block;width:0;height:28px;content:"";vertical-align:0}.mdc-list-item--with-leading-video.mdc-list-item--with-two-lines .mdc-list-item__overline-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-leading-video.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end{display:block;margin-top:0;line-height:normal}.mdc-list-item--with-leading-video.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mdc-list-item--with-leading-video.mdc-list-item--with-one-line{height:72px}.mdc-list-item--with-leading-video.mdc-list-item--with-two-lines{height:72px}.mdc-list-item--with-leading-checkbox.mdc-list-item{padding-left:0;padding-right:auto}[dir=rtl] .mdc-list-item--with-leading-checkbox.mdc-list-item,.mdc-list-item--with-leading-checkbox.mdc-list-item[dir=rtl]{padding-left:auto;padding-right:0}.mdc-list-item--with-leading-checkbox .mdc-list-item__start{margin-left:8px;margin-right:24px}[dir=rtl] .mdc-list-item--with-leading-checkbox .mdc-list-item__start,.mdc-list-item--with-leading-checkbox .mdc-list-item__start[dir=rtl]{margin-left:24px;margin-right:8px}.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines .mdc-list-item__start{align-self:flex-start;margin-top:8px}.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines .mdc-list-item__primary-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines .mdc-list-item__primary-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines .mdc-list-item__overline-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines .mdc-list-item__overline-text::before{display:inline-block;width:0;height:28px;content:"";vertical-align:0}.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines .mdc-list-item__overline-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end{display:block;margin-top:0;line-height:normal}.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mdc-list-item--with-leading-checkbox.mdc-list-item--with-one-line{height:56px}.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines{height:72px}.mdc-list-item--with-leading-radio.mdc-list-item{padding-left:0;padding-right:auto}[dir=rtl] .mdc-list-item--with-leading-radio.mdc-list-item,.mdc-list-item--with-leading-radio.mdc-list-item[dir=rtl]{padding-left:auto;padding-right:0}.mdc-list-item--with-leading-radio .mdc-list-item__start{margin-left:8px;margin-right:24px}[dir=rtl] .mdc-list-item--with-leading-radio .mdc-list-item__start,.mdc-list-item--with-leading-radio .mdc-list-item__start[dir=rtl]{margin-left:24px;margin-right:8px}.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines .mdc-list-item__start{align-self:flex-start;margin-top:8px}.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines .mdc-list-item__primary-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines .mdc-list-item__primary-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines .mdc-list-item__overline-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines .mdc-list-item__overline-text::before{display:inline-block;width:0;height:28px;content:"";vertical-align:0}.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines .mdc-list-item__overline-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end{display:block;margin-top:0;line-height:normal}.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mdc-list-item--with-leading-radio.mdc-list-item--with-one-line{height:56px}.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines{height:72px}.mdc-list-item--with-leading-switch.mdc-list-item{padding-left:0;padding-right:auto}[dir=rtl] .mdc-list-item--with-leading-switch.mdc-list-item,.mdc-list-item--with-leading-switch.mdc-list-item[dir=rtl]{padding-left:auto;padding-right:0}.mdc-list-item--with-leading-switch .mdc-list-item__start{margin-left:16px;margin-right:16px}[dir=rtl] .mdc-list-item--with-leading-switch .mdc-list-item__start,.mdc-list-item--with-leading-switch .mdc-list-item__start[dir=rtl]{margin-left:16px;margin-right:16px}.mdc-list-item--with-leading-switch.mdc-list-item--with-two-lines .mdc-list-item__start{align-self:flex-start;margin-top:16px}.mdc-list-item--with-leading-switch.mdc-list-item--with-two-lines .mdc-list-item__primary-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-switch.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mdc-list-item--with-leading-switch.mdc-list-item--with-two-lines .mdc-list-item__primary-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-leading-switch.mdc-list-item--with-two-lines .mdc-list-item__overline-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-switch.mdc-list-item--with-two-lines .mdc-list-item__overline-text::before{display:inline-block;width:0;height:28px;content:"";vertical-align:0}.mdc-list-item--with-leading-switch.mdc-list-item--with-two-lines .mdc-list-item__overline-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-leading-switch.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end{display:block;margin-top:0;line-height:normal}.mdc-list-item--with-leading-switch.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mdc-list-item--with-leading-switch.mdc-list-item--with-one-line{height:56px}.mdc-list-item--with-leading-switch.mdc-list-item--with-two-lines{height:72px}.mdc-list-item--with-trailing-icon.mdc-list-item{padding-left:auto;padding-right:0}[dir=rtl] .mdc-list-item--with-trailing-icon.mdc-list-item,.mdc-list-item--with-trailing-icon.mdc-list-item[dir=rtl]{padding-left:0;padding-right:auto}.mdc-list-item--with-trailing-icon .mdc-list-item__end{margin-left:16px;margin-right:16px}[dir=rtl] .mdc-list-item--with-trailing-icon .mdc-list-item__end,.mdc-list-item--with-trailing-icon .mdc-list-item__end[dir=rtl]{margin-left:16px;margin-right:16px}.mdc-list-item--with-trailing-meta.mdc-list-item--with-two-lines .mdc-list-item__end{align-self:flex-start;margin-top:0}.mdc-list-item--with-trailing-meta.mdc-list-item--with-three-lines .mdc-list-item__end{align-self:flex-start;margin-top:0}.mdc-list-item--with-trailing-meta.mdc-list-item{padding-left:auto;padding-right:0}[dir=rtl] .mdc-list-item--with-trailing-meta.mdc-list-item,.mdc-list-item--with-trailing-meta.mdc-list-item[dir=rtl]{padding-left:0;padding-right:auto}.mdc-list-item--with-trailing-meta .mdc-list-item__end{margin-left:28px;margin-right:16px}[dir=rtl] .mdc-list-item--with-trailing-meta .mdc-list-item__end,.mdc-list-item--with-trailing-meta .mdc-list-item__end[dir=rtl]{margin-left:16px;margin-right:28px}.mdc-list-item--with-trailing-meta.mdc-list-item--with-two-lines .mdc-list-item__end{display:block;margin-top:0;line-height:normal}.mdc-list-item--with-trailing-meta.mdc-list-item--with-two-lines .mdc-list-item__end::before{display:inline-block;width:0;height:28px;content:"";vertical-align:0}.mdc-list-item--with-trailing-meta.mdc-list-item--with-three-lines .mdc-list-item__end{display:block;margin-top:0;line-height:normal}.mdc-list-item--with-trailing-meta.mdc-list-item--with-three-lines .mdc-list-item__end::before{display:inline-block;width:0;height:28px;content:"";vertical-align:0}.mdc-list-item--with-trailing-meta .mdc-list-item__end{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--mdc-typography-caption-font-family);font-size:var(--mdc-typography-caption-font-size);line-height:var(--mdc-typography-caption-line-height);font-weight:var(--mdc-typography-caption-font-weight);letter-spacing:var(--mdc-typography-caption-letter-spacing);text-decoration:var(--mdc-typography-caption-text-decoration);text-transform:var(--mdc-typography-caption-text-transform)}.mdc-list-item--with-trailing-checkbox.mdc-list-item{padding-left:auto;padding-right:0}[dir=rtl] .mdc-list-item--with-trailing-checkbox.mdc-list-item,.mdc-list-item--with-trailing-checkbox.mdc-list-item[dir=rtl]{padding-left:0;padding-right:auto}.mdc-list-item--with-trailing-checkbox .mdc-list-item__end{margin-left:24px;margin-right:8px}[dir=rtl] .mdc-list-item--with-trailing-checkbox .mdc-list-item__end,.mdc-list-item--with-trailing-checkbox .mdc-list-item__end[dir=rtl]{margin-left:8px;margin-right:24px}.mdc-list-item--with-trailing-checkbox.mdc-list-item--with-three-lines .mdc-list-item__end{align-self:flex-start;margin-top:8px}.mdc-list-item--with-trailing-radio.mdc-list-item{padding-left:auto;padding-right:0}[dir=rtl] .mdc-list-item--with-trailing-radio.mdc-list-item,.mdc-list-item--with-trailing-radio.mdc-list-item[dir=rtl]{padding-left:0;padding-right:auto}.mdc-list-item--with-trailing-radio .mdc-list-item__end{margin-left:24px;margin-right:8px}[dir=rtl] .mdc-list-item--with-trailing-radio .mdc-list-item__end,.mdc-list-item--with-trailing-radio .mdc-list-item__end[dir=rtl]{margin-left:8px;margin-right:24px}.mdc-list-item--with-trailing-radio.mdc-list-item--with-three-lines .mdc-list-item__end{align-self:flex-start;margin-top:8px}.mdc-list-item--with-trailing-switch.mdc-list-item{padding-left:auto;padding-right:0}[dir=rtl] .mdc-list-item--with-trailing-switch.mdc-list-item,.mdc-list-item--with-trailing-switch.mdc-list-item[dir=rtl]{padding-left:0;padding-right:auto}.mdc-list-item--with-trailing-switch .mdc-list-item__end{margin-left:16px;margin-right:16px}[dir=rtl] .mdc-list-item--with-trailing-switch .mdc-list-item__end,.mdc-list-item--with-trailing-switch .mdc-list-item__end[dir=rtl]{margin-left:16px;margin-right:16px}.mdc-list-item--with-trailing-switch.mdc-list-item--with-three-lines .mdc-list-item__end{align-self:flex-start;margin-top:16px}.mdc-list-item--with-overline.mdc-list-item--with-two-lines .mdc-list-item__primary-text{display:block;margin-top:0;line-height:normal}.mdc-list-item--with-overline.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before{display:inline-block;width:0;height:20px;content:"";vertical-align:0}.mdc-list-item--with-overline.mdc-list-item--with-three-lines .mdc-list-item__primary-text{display:block;margin-top:0;line-height:normal}.mdc-list-item--with-overline.mdc-list-item--with-three-lines .mdc-list-item__primary-text::before{display:inline-block;width:0;height:20px;content:"";vertical-align:0}.mdc-list-item{padding-left:16px;padding-right:16px}[dir=rtl] .mdc-list-item,.mdc-list-item[dir=rtl]{padding-left:16px;padding-right:16px}.mdc-list-group .mdc-deprecated-list{padding:0}.mdc-list-group__subheader{margin:calc((3rem - 1.5rem)/2) 16px}.mdc-list-divider{padding:0;background-clip:content-box}.mdc-list-divider.mdc-list-divider--with-leading-inset,.mdc-list-divider--with-leading-text.mdc-list-divider--with-leading-inset,.mdc-list-divider--with-leading-icon.mdc-list-divider--with-leading-inset,.mdc-list-divider--with-leading-image.mdc-list-divider--with-leading-inset,.mdc-list-divider--with-leading-thumbnail.mdc-list-divider--with-leading-inset,.mdc-list-divider--with-leading-avatar.mdc-list-divider--with-leading-inset,.mdc-list-divider--with-leading-checkbox.mdc-list-divider--with-leading-inset,.mdc-list-divider--with-leading-switch.mdc-list-divider--with-leading-inset,.mdc-list-divider--with-leading-radio.mdc-list-divider--with-leading-inset{padding-left:16px;padding-right:auto}[dir=rtl] .mdc-list-divider.mdc-list-divider--with-leading-inset,[dir=rtl] .mdc-list-divider--with-leading-text.mdc-list-divider--with-leading-inset,[dir=rtl] .mdc-list-divider--with-leading-icon.mdc-list-divider--with-leading-inset,[dir=rtl] .mdc-list-divider--with-leading-image.mdc-list-divider--with-leading-inset,[dir=rtl] .mdc-list-divider--with-leading-thumbnail.mdc-list-divider--with-leading-inset,[dir=rtl] .mdc-list-divider--with-leading-avatar.mdc-list-divider--with-leading-inset,[dir=rtl] .mdc-list-divider--with-leading-checkbox.mdc-list-divider--with-leading-inset,[dir=rtl] .mdc-list-divider--with-leading-switch.mdc-list-divider--with-leading-inset,[dir=rtl] .mdc-list-divider--with-leading-radio.mdc-list-divider--with-leading-inset,.mdc-list-divider.mdc-list-divider--with-leading-inset[dir=rtl],.mdc-list-divider--with-leading-text.mdc-list-divider--with-leading-inset[dir=rtl],.mdc-list-divider--with-leading-icon.mdc-list-divider--with-leading-inset[dir=rtl],.mdc-list-divider--with-leading-image.mdc-list-divider--with-leading-inset[dir=rtl],.mdc-list-divider--with-leading-thumbnail.mdc-list-divider--with-leading-inset[dir=rtl],.mdc-list-divider--with-leading-avatar.mdc-list-divider--with-leading-inset[dir=rtl],.mdc-list-divider--with-leading-checkbox.mdc-list-divider--with-leading-inset[dir=rtl],.mdc-list-divider--with-leading-switch.mdc-list-divider--with-leading-inset[dir=rtl],.mdc-list-divider--with-leading-radio.mdc-list-divider--with-leading-inset[dir=rtl]{padding-left:auto;padding-right:16px}.mdc-list-divider.mdc-list-divider--with-trailing-inset,.mdc-list-divider--with-leading-text.mdc-list-divider--with-trailing-inset,.mdc-list-divider--with-leading-icon.mdc-list-divider--with-trailing-inset,.mdc-list-divider--with-leading-image.mdc-list-divider--with-trailing-inset,.mdc-list-divider--with-leading-thumbnail.mdc-list-divider--with-trailing-inset,.mdc-list-divider--with-leading-avatar.mdc-list-divider--with-trailing-inset,.mdc-list-divider--with-leading-checkbox.mdc-list-divider--with-trailing-inset,.mdc-list-divider--with-leading-switch.mdc-list-divider--with-trailing-inset,.mdc-list-divider--with-leading-radio.mdc-list-divider--with-trailing-inset{padding-left:auto;padding-right:16px}[dir=rtl] .mdc-list-divider.mdc-list-divider--with-trailing-inset,[dir=rtl] .mdc-list-divider--with-leading-text.mdc-list-divider--with-trailing-inset,[dir=rtl] .mdc-list-divider--with-leading-icon.mdc-list-divider--with-trailing-inset,[dir=rtl] .mdc-list-divider--with-leading-image.mdc-list-divider--with-trailing-inset,[dir=rtl] .mdc-list-divider--with-leading-thumbnail.mdc-list-divider--with-trailing-inset,[dir=rtl] .mdc-list-divider--with-leading-avatar.mdc-list-divider--with-trailing-inset,[dir=rtl] .mdc-list-divider--with-leading-checkbox.mdc-list-divider--with-trailing-inset,[dir=rtl] .mdc-list-divider--with-leading-switch.mdc-list-divider--with-trailing-inset,[dir=rtl] .mdc-list-divider--with-leading-radio.mdc-list-divider--with-trailing-inset,.mdc-list-divider.mdc-list-divider--with-trailing-inset[dir=rtl],.mdc-list-divider--with-leading-text.mdc-list-divider--with-trailing-inset[dir=rtl],.mdc-list-divider--with-leading-icon.mdc-list-divider--with-trailing-inset[dir=rtl],.mdc-list-divider--with-leading-image.mdc-list-divider--with-trailing-inset[dir=rtl],.mdc-list-divider--with-leading-thumbnail.mdc-list-divider--with-trailing-inset[dir=rtl],.mdc-list-divider--with-leading-avatar.mdc-list-divider--with-trailing-inset[dir=rtl],.mdc-list-divider--with-leading-checkbox.mdc-list-divider--with-trailing-inset[dir=rtl],.mdc-list-divider--with-leading-switch.mdc-list-divider--with-trailing-inset[dir=rtl],.mdc-list-divider--with-leading-radio.mdc-list-divider--with-trailing-inset[dir=rtl]{padding-left:16px;padding-right:auto}.mdc-list-divider--with-leading-video.mdc-list-divider--with-leading-inset{padding-left:0px;padding-right:auto}[dir=rtl] .mdc-list-divider--with-leading-video.mdc-list-divider--with-leading-inset,.mdc-list-divider--with-leading-video.mdc-list-divider--with-leading-inset[dir=rtl]{padding-left:auto;padding-right:0px}[dir=rtl] .mdc-list-divider,.mdc-list-divider[dir=rtl]{padding:0}.mdc-list-item{background-color:var(--mdc-list-list-item-container-color)}.mdc-list-item.mdc-list-item--selected{background-color:var(--mdc-list-list-item-selected-container-color)}.mdc-list-item--with-one-line{border-radius:var(--mdc-list-list-item-container-shape)}.mdc-list-item--with-one-line.mdc-list-item--with-leading-avatar,.mdc-list-item--with-one-line.mdc-list-item--with-leading-icon,.mdc-list-item--with-one-line.mdc-list-item--with-leading-thumbnail,.mdc-list-item--with-one-line.mdc-list-item--with-leading-checkbox,.mdc-list-item--with-one-line.mdc-list-item--with-leading-radio,.mdc-list-item--with-one-line.mdc-list-item--with-leading-switch{border-radius:var(--mdc-list-list-item-container-shape)}.mdc-list-item--with-one-line.mdc-list-item--with-leading-image,.mdc-list-item--with-one-line.mdc-list-item--with-leading-video{border-radius:var(--mdc-list-list-item-container-shape)}.mdc-list-item--with-two-lines{border-radius:var(--mdc-list-list-item-container-shape)}.mdc-list-item--with-two-lines.mdc-list-item--with-leading-avatar,.mdc-list-item--with-two-lines.mdc-list-item--with-leading-icon,.mdc-list-item--with-two-lines.mdc-list-item--with-leading-thumbnail,.mdc-list-item--with-two-lines.mdc-list-item--with-leading-checkbox,.mdc-list-item--with-two-lines.mdc-list-item--with-leading-radio,.mdc-list-item--with-two-lines.mdc-list-item--with-leading-switch,.mdc-list-item--with-two-lines.mdc-list-item--with-leading-image,.mdc-list-item--with-two-lines.mdc-list-item--with-leading-video{border-radius:var(--mdc-list-list-item-container-shape)}.mdc-list-item--with-three-lines{border-radius:var(--mdc-list-list-item-container-shape)}.mdc-list-item.mdc-list-item--with-one-line{height:var(--mdc-list-list-item-one-line-container-height)}.mdc-list-item.mdc-list-item--with-two-lines{height:var(--mdc-list-list-item-two-line-container-height)}.mdc-list-item.mdc-list-item--with-three-lines{height:var(--mdc-list-list-item-three-line-container-height)}.mdc-list-item__primary-text{color:var(--mdc-list-list-item-label-text-color)}.mdc-list-item__primary-text{font-family:var(--mdc-list-list-item-label-text-font);line-height:var(--mdc-list-list-item-label-text-line-height);font-size:var(--mdc-list-list-item-label-text-size);font-weight:var(--mdc-list-list-item-label-text-weight);letter-spacing:var(--mdc-list-list-item-label-text-tracking)}.mdc-list-item__secondary-text{color:var(--mdc-list-list-item-supporting-text-color)}.mdc-list-item__secondary-text{font-family:var(--mdc-list-list-item-supporting-text-font);line-height:var(--mdc-list-list-item-supporting-text-line-height);font-size:var(--mdc-list-list-item-supporting-text-size);font-weight:var(--mdc-list-list-item-supporting-text-weight);letter-spacing:var(--mdc-list-list-item-supporting-text-tracking)}.mdc-list-item--with-leading-icon .mdc-list-item__start{color:var(--mdc-list-list-item-leading-icon-color)}.mdc-list-item--with-leading-icon .mdc-list-item__start{width:var(--mdc-list-list-item-leading-icon-size);height:var(--mdc-list-list-item-leading-icon-size)}.mdc-list-item--with-leading-icon .mdc-list-item__start>i{font-size:var(--mdc-list-list-item-leading-icon-size)}.mdc-list-item--with-leading-icon .mdc-list-item__start .mdc-list-item__icon{font-size:var(--mdc-list-list-item-leading-icon-size);width:var(--mdc-list-list-item-leading-icon-size);height:var(--mdc-list-list-item-leading-icon-size)}.mdc-list-item--with-leading-icon .mdc-list-item__start .mdc-list-item__icon,.mdc-list-item--with-leading-icon .mdc-list-item__start .mdc-list-item__icon>.materialdesignWizIconSvgsSvgIcon{display:block}.mdc-list-item--with-leading-avatar .mdc-list-item__start{width:var(--mdc-list-list-item-leading-avatar-size);height:var(--mdc-list-list-item-leading-avatar-size)}.mdc-list-item.mdc-list-item--with-trailing-meta .mdc-list-item__end{color:var(--mdc-list-list-item-trailing-supporting-text-color)}.mdc-list-item--with-trailing-meta .mdc-list-item__end{font-family:var(--mdc-list-list-item-trailing-supporting-text-font);line-height:var(--mdc-list-list-item-trailing-supporting-text-line-height);font-size:var(--mdc-list-list-item-trailing-supporting-text-size);font-weight:var(--mdc-list-list-item-trailing-supporting-text-weight);letter-spacing:var(--mdc-list-list-item-trailing-supporting-text-tracking)}.mdc-list-item--with-trailing-icon .mdc-list-item__end{color:var(--mdc-list-list-item-trailing-icon-color)}.mdc-list-item--with-trailing-icon .mdc-list-item__end{width:var(--mdc-list-list-item-trailing-icon-size);height:var(--mdc-list-list-item-trailing-icon-size)}.mdc-list-item--with-trailing-icon .mdc-list-item__end>i{font-size:var(--mdc-list-list-item-trailing-icon-size)}.mdc-list-item--with-trailing-icon .mdc-list-item__end .mdc-list-item__icon{font-size:var(--mdc-list-list-item-trailing-icon-size);width:var(--mdc-list-list-item-trailing-icon-size);height:var(--mdc-list-list-item-trailing-icon-size)}.mdc-list-item--with-trailing-icon .mdc-list-item__end .mdc-list-item__icon,.mdc-list-item--with-trailing-icon .mdc-list-item__end .mdc-list-item__icon>.materialdesignWizIconSvgsSvgIcon{display:block}.mdc-list-item--selected.mdc-list-item--with-trailing-icon .mdc-list-item__end{color:var(--mdc-list-list-item-selected-trailing-icon-color)}.mdc-list-item--disabled .mdc-list-item__start,.mdc-list-item--disabled .mdc-list-item__content,.mdc-list-item--disabled .mdc-list-item__end{opacity:1}.mdc-list-item--disabled .mdc-list-item__primary-text,.mdc-list-item--disabled .mdc-list-item__secondary-text,.mdc-list-item--disabled .mdc-list-item__overline-text{opacity:var(--mdc-list-list-item-disabled-label-text-opacity)}.mdc-list-item--disabled.mdc-list-item--with-leading-icon .mdc-list-item__start{color:var(--mdc-list-list-item-disabled-leading-icon-color)}.mdc-list-item--disabled.mdc-list-item--with-leading-icon .mdc-list-item__start{opacity:var(--mdc-list-list-item-disabled-leading-icon-opacity)}.mdc-list-item--disabled.mdc-list-item--with-trailing-icon .mdc-list-item__end{color:var(--mdc-list-list-item-disabled-trailing-icon-color)}.mdc-list-item--disabled.mdc-list-item--with-trailing-icon .mdc-list-item__end{opacity:var(--mdc-list-list-item-disabled-trailing-icon-opacity)}.mdc-list-item:hover .mdc-list-item__primary-text{color:var(--mdc-list-list-item-hover-label-text-color)}.mdc-list-item--with-leading-icon:hover .mdc-list-item__start{color:var(--mdc-list-list-item-hover-leading-icon-color)}.mdc-list-item--with-trailing-icon:hover .mdc-list-item__end{color:var(--mdc-list-list-item-hover-trailing-icon-color)}.mdc-list-item:focus .mdc-list-item__primary-text{color:var(--mdc-list-list-item-focus-label-text-color)}.mdc-list-item.mdc-list-item--disabled .mdc-list-item__primary-text{color:var(--mdc-list-list-item-disabled-label-text-color)}.mdc-list-item:hover::before{background-color:var(--mdc-list-list-item-hover-state-layer-color);opacity:var(--mdc-list-list-item-hover-state-layer-opacity)}.mdc-list-item.mdc-list-item--disabled::before{background-color:var(--mdc-list-list-item-disabled-state-layer-color);opacity:var(--mdc-list-list-item-disabled-state-layer-opacity)}.mdc-list-item:focus::before{background-color:var(--mdc-list-list-item-focus-state-layer-color);opacity:var(--mdc-list-list-item-focus-state-layer-opacity)}.mdc-list-item--disabled .mdc-radio,.mdc-list-item--disabled .mdc-checkbox{opacity:var(--mdc-list-list-item-disabled-label-text-opacity)}.mdc-list-item--with-leading-avatar .mat-mdc-list-item-avatar{border-radius:var(--mdc-list-list-item-leading-avatar-shape);background-color:var(--mdc-list-list-item-leading-avatar-color)}.mat-mdc-list-base{--mdc-list-list-item-container-shape:0;--mdc-list-list-item-leading-avatar-shape:50%;--mdc-list-list-item-container-color:transparent;--mdc-list-list-item-selected-container-color:transparent;--mdc-list-list-item-leading-avatar-color:transparent;--mdc-list-list-item-leading-icon-size:24px;--mdc-list-list-item-leading-avatar-size:40px;--mdc-list-list-item-trailing-icon-size:24px;--mdc-list-list-item-disabled-state-layer-color:transparent;--mdc-list-list-item-disabled-state-layer-opacity:0;--mdc-list-list-item-disabled-label-text-opacity:0.38;--mdc-list-list-item-disabled-leading-icon-opacity:0.38;--mdc-list-list-item-disabled-trailing-icon-opacity:0.38}.cdk-high-contrast-active a.mdc-list-item--activated::after{content:"";position:absolute;top:50%;right:16px;transform:translateY(-50%);width:10px;height:0;border-bottom:solid 10px;border-radius:10px}.cdk-high-contrast-active a.mdc-list-item--activated [dir=rtl]::after{right:auto;left:16px}.mat-mdc-list-base{display:block}.mat-mdc-list-base .mdc-list-item__start,.mat-mdc-list-base .mdc-list-item__end,.mat-mdc-list-base .mdc-list-item__content{pointer-events:auto}.mat-mdc-list-item,.mat-mdc-list-option{width:100%;box-sizing:border-box;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-list-item:not(.mat-mdc-list-item-interactive),.mat-mdc-list-option:not(.mat-mdc-list-item-interactive){cursor:default}.mat-mdc-list-item .mat-divider-inset,.mat-mdc-list-option .mat-divider-inset{position:absolute;left:0;right:0;bottom:0}.mat-mdc-list-item .mat-mdc-list-item-avatar~.mat-divider-inset,.mat-mdc-list-option .mat-mdc-list-item-avatar~.mat-divider-inset{margin-left:72px}[dir=rtl] .mat-mdc-list-item .mat-mdc-list-item-avatar~.mat-divider-inset,[dir=rtl] .mat-mdc-list-option .mat-mdc-list-item-avatar~.mat-divider-inset{margin-right:72px}.mat-mdc-list-item-interactive::before{top:0;left:0;right:0;bottom:0;position:absolute;content:"";opacity:0;pointer-events:none}.mat-mdc-list-item>.mat-mdc-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-mdc-list-item:focus>.mat-mdc-focus-indicator::before{content:""}.mat-mdc-list-item.mdc-list-item--with-three-lines .mat-mdc-list-item-line.mdc-list-item__secondary-text{white-space:nowrap;line-height:normal}.mat-mdc-list-item.mdc-list-item--with-three-lines .mat-mdc-list-item-unscoped-content.mdc-list-item__secondary-text{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2}mat-action-list button{background:none;color:inherit;border:none;font:inherit;outline:inherit;-webkit-tap-highlight-color:rgba(0,0,0,0);text-align:left}[dir=rtl] mat-action-list button{text-align:right}mat-action-list button::-moz-focus-inner{border:0}'],encapsulation:2,changeDetection:0})}}return vt})(),zt=(()=>{class vt{static{this.\u0275fac=function(X){return new(X||vt)}}static{this.\u0275mod=o.$C({type:vt})}static{this.\u0275inj=o.G2t({imports:[Z.w5,N.MD,T.yE,T.pZ,T.O5,ot.w]})}}return vt})()},87621:(Ce,Lt,r)=>{r.d(Lt,{Cn:()=>Ee,Cp:()=>re,fb:()=>ye,kk:()=>un});var o=r(1843),y=r(83607),b=r(8275),T=r(25150),k=r(89115),G=r(85012),P=r(52693),Z=r(73151),N=r(96897),ot=r(28930),q=r(57588),K=r(89371),M=r(73907),a=r(98474),pt=r(99752),j=r(42250),J=r(18331),bt=r(86953),Gt=r(89411),te=r(10165),$=r(3819),lt=r(29094),V=r(18144);const mt=["mat-menu-item",""];function rt(ce,je){1&ce&&(o.qSk(),o.j41(0,"svg",3),o.nrm(1,"polygon",4),o.k0s())}const $t=[[["mat-icon"],["","matMenuItemIcon",""]],"*"],de=["mat-icon, [matMenuItemIcon]","*"];function _e(ce,je){if(1&ce){const Ht=o.RV6();o.j41(0,"div",0),o.bIt("keydown",function(at){o.eBV(Ht);const H=o.XpG();return o.Njj(H._handleKeydown(at))})("click",function(){o.eBV(Ht);const at=o.XpG();return o.Njj(at.closed.emit("click"))})("@transformMenu.start",function(at){o.eBV(Ht);const H=o.XpG();return o.Njj(H._onAnimationStart(at))})("@transformMenu.done",function(at){o.eBV(Ht);const H=o.XpG();return o.Njj(H._onAnimationDone(at))}),o.j41(1,"div",1),o.SdG(2),o.k0s()()}if(2&ce){const Ht=o.XpG();o.Y8G("id",Ht.panelId)("ngClass",Ht._classList)("@transformMenu",Ht._panelAnimationState),o.BMQ("aria-label",Ht.ariaLabel||null)("aria-labelledby",Ht.ariaLabelledby||null)("aria-describedby",Ht.ariaDescribedby||null)}}const Le=["*"],Ge=new o.nKC("MAT_MENU_PANEL"),Xe=(0,j.GG)((0,j.Ob)(class{}));let ye=(()=>{class ce extends Xe{constructor(Ht,ne,at,H,st){super(),this._elementRef=Ht,this._document=ne,this._focusMonitor=at,this._parentMenu=H,this._changeDetectorRef=st,this.role="menuitem",this._hovered=new k.B,this._focused=new k.B,this._highlighted=!1,this._triggersSubmenu=!1,H?.addItem?.(this)}focus(Ht,ne){this._focusMonitor&&Ht?this._focusMonitor.focusVia(this._getHostElement(),Ht,ne):this._getHostElement().focus(ne),this._focused.next(this)}ngAfterViewInit(){this._focusMonitor&&this._focusMonitor.monitor(this._elementRef,!1)}ngOnDestroy(){this._focusMonitor&&this._focusMonitor.stopMonitoring(this._elementRef),this._parentMenu&&this._parentMenu.removeItem&&this._parentMenu.removeItem(this),this._hovered.complete(),this._focused.complete()}_getTabIndex(){return this.disabled?"-1":"0"}_getHostElement(){return this._elementRef.nativeElement}_checkDisabled(Ht){this.disabled&&(Ht.preventDefault(),Ht.stopPropagation())}_handleMouseEnter(){this._hovered.next(this)}getLabel(){const Ht=this._elementRef.nativeElement.cloneNode(!0),ne=Ht.querySelectorAll("mat-icon, .material-icons");for(let at=0;at enter",(0,Gt.i0)("120ms cubic-bezier(0, 0, 0.2, 1)",(0,Gt.iF)({opacity:1,transform:"scale(1)"}))),(0,Gt.kY)("* => void",(0,Gt.i0)("100ms 25ms linear",(0,Gt.iF)({opacity:0})))]),fadeInItems:(0,Gt.hZ)("fadeInItems",[(0,Gt.wk)("showing",(0,Gt.iF)({opacity:1})),(0,Gt.kY)("void => *",[(0,Gt.iF)({opacity:0}),(0,Gt.i0)("400ms 100ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])};let Yt=0;const Ut=new o.nKC("mat-menu-default-options",{providedIn:"root",factory:function Ne(){return{overlapTrigger:!1,xPosition:"after",yPosition:"below",backdropClass:"cdk-overlay-transparent-backdrop"}}});let ke=(()=>{class ce{get xPosition(){return this._xPosition}set xPosition(Ht){this._xPosition=Ht,this.setPositionClasses()}get yPosition(){return this._yPosition}set yPosition(Ht){this._yPosition=Ht,this.setPositionClasses()}get overlapTrigger(){return this._overlapTrigger}set overlapTrigger(Ht){this._overlapTrigger=(0,b.he)(Ht)}get hasBackdrop(){return this._hasBackdrop}set hasBackdrop(Ht){this._hasBackdrop=(0,b.he)(Ht)}set panelClass(Ht){const ne=this._previousPanelClass;ne&&ne.length&&ne.split(" ").forEach(at=>{this._classList[at]=!1}),this._previousPanelClass=Ht,Ht&&Ht.length&&(Ht.split(" ").forEach(at=>{this._classList[at]=!0}),this._elementRef.nativeElement.className="")}get classList(){return this.panelClass}set classList(Ht){this.panelClass=Ht}constructor(Ht,ne,at,H){this._elementRef=Ht,this._ngZone=ne,this._changeDetectorRef=H,this._directDescendantItems=new o.rOR,this._classList={},this._panelAnimationState="void",this._animationDone=new k.B,this.closed=new o.bkB,this.close=this.closed,this.panelId="mat-menu-panel-"+Yt++,this.overlayPanelClass=at.overlayPanelClass||"",this._xPosition=at.xPosition,this._yPosition=at.yPosition,this.backdropClass=at.backdropClass,this._overlapTrigger=at.overlapTrigger,this._hasBackdrop=at.hasBackdrop}ngOnInit(){this.setPositionClasses()}ngAfterContentInit(){this._updateDirectDescendants(),this._keyManager=new y.Bu(this._directDescendantItems).withWrap().withTypeAhead().withHomeAndEnd(),this._keyManager.tabOut.subscribe(()=>this.closed.emit("tab")),this._directDescendantItems.changes.pipe((0,ot.Z)(this._directDescendantItems),(0,q.n)(Ht=>(0,G.h)(...Ht.map(ne=>ne._focused)))).subscribe(Ht=>this._keyManager.updateActiveItem(Ht)),this._directDescendantItems.changes.subscribe(Ht=>{const ne=this._keyManager;if("enter"===this._panelAnimationState&&ne.activeItem?._hasFocus()){const at=Ht.toArray(),H=Math.max(0,Math.min(at.length-1,ne.activeItemIndex||0));at[H]&&!at[H].disabled?ne.setActiveItem(H):ne.setNextItemActive()}})}ngOnDestroy(){this._keyManager?.destroy(),this._directDescendantItems.destroy(),this.closed.complete(),this._firstItemFocusSubscription?.unsubscribe()}_hovered(){return this._directDescendantItems.changes.pipe((0,ot.Z)(this._directDescendantItems),(0,q.n)(ne=>(0,G.h)(...ne.map(at=>at._hovered))))}addItem(Ht){}removeItem(Ht){}_handleKeydown(Ht){const ne=Ht.keyCode,at=this._keyManager;switch(ne){case T._f:(0,T.rp)(Ht)||(Ht.preventDefault(),this.closed.emit("keydown"));break;case T.UQ:this.parentMenu&&"ltr"===this.direction&&this.closed.emit("keydown");break;case T.LE:this.parentMenu&&"rtl"===this.direction&&this.closed.emit("keydown");break;default:return(ne===T.i7||ne===T.n6)&&at.setFocusOrigin("keyboard"),void at.onKeydown(Ht)}Ht.stopPropagation()}focusFirstItem(Ht="program"){this._firstItemFocusSubscription?.unsubscribe(),this._firstItemFocusSubscription=this._ngZone.onStable.pipe((0,K.s)(1)).subscribe(()=>{let ne=null;if(this._directDescendantItems.length&&(ne=this._directDescendantItems.first._getHostElement().closest('[role="menu"]')),!ne||!ne.contains(document.activeElement)){const at=this._keyManager;at.setFocusOrigin(Ht).setFirstItemActive(),!at.activeItem&&ne&&ne.focus()}})}resetActiveItem(){this._keyManager.setActiveItem(-1)}setElevation(Ht){const ne=Math.min(this._baseElevation+Ht,24),at=`${this._elevationPrefix}${ne}`,H=Object.keys(this._classList).find(st=>st.startsWith(this._elevationPrefix));(!H||H===this._previousElevation)&&(this._previousElevation&&(this._classList[this._previousElevation]=!1),this._classList[at]=!0,this._previousElevation=at)}setPositionClasses(Ht=this.xPosition,ne=this.yPosition){const at=this._classList;at["mat-menu-before"]="before"===Ht,at["mat-menu-after"]="after"===Ht,at["mat-menu-above"]="above"===ne,at["mat-menu-below"]="below"===ne,this._changeDetectorRef?.markForCheck()}_startAnimation(){this._panelAnimationState="enter"}_resetAnimation(){this._panelAnimationState="void"}_onAnimationDone(Ht){this._animationDone.next(Ht),this._isAnimating=!1}_onAnimationStart(Ht){this._isAnimating=!0,"enter"===Ht.toState&&0===this._keyManager.activeItemIndex&&(Ht.element.scrollTop=0)}_updateDirectDescendants(){this._allItems.changes.pipe((0,ot.Z)(this._allItems)).subscribe(Ht=>{this._directDescendantItems.reset(Ht.filter(ne=>ne._parentMenu===this)),this._directDescendantItems.notifyOnChanges()})}static{this.\u0275fac=function(ne){return new(ne||ce)(o.rXU(o.aKT),o.rXU(o.SKi),o.rXU(Ut),o.rXU(o.gRc))}}static{this.\u0275dir=o.FsC({type:ce,contentQueries:function(ne,at,H){if(1&ne&&(o.wni(H,be,5),o.wni(H,ye,5),o.wni(H,ye,4)),2&ne){let st;o.mGM(st=o.lsd())&&(at.lazyContent=st.first),o.mGM(st=o.lsd())&&(at._allItems=st),o.mGM(st=o.lsd())&&(at.items=st)}},viewQuery:function(ne,at){if(1&ne&&o.GBs(o.C4Q,5),2&ne){let H;o.mGM(H=o.lsd())&&(at.templateRef=H.first)}},inputs:{backdropClass:"backdropClass",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],ariaDescribedby:["aria-describedby","ariaDescribedby"],xPosition:"xPosition",yPosition:"yPosition",overlapTrigger:"overlapTrigger",hasBackdrop:"hasBackdrop",panelClass:["class","panelClass"],classList:"classList"},outputs:{closed:"closed",close:"close"}})}}return ce})(),un=(()=>{class ce extends ke{constructor(Ht,ne,at,H){super(Ht,ne,at,H),this._elevationPrefix="mat-elevation-z",this._baseElevation=8}static{this.\u0275fac=function(ne){return new(ne||ce)(o.rXU(o.aKT),o.rXU(o.SKi),o.rXU(Ut),o.rXU(o.gRc))}}static{this.\u0275cmp=o.VBU({type:ce,selectors:[["mat-menu"]],hostAttrs:["ngSkipHydration",""],hostVars:3,hostBindings:function(ne,at){2&ne&&o.BMQ("aria-label",null)("aria-labelledby",null)("aria-describedby",null)},exportAs:["matMenu"],features:[o.Jv_([{provide:Ge,useExisting:ce}]),o.Vt3],ngContentSelectors:Le,decls:1,vars:0,consts:[["tabindex","-1","role","menu",1,"mat-mdc-menu-panel","mat-mdc-elevation-specific",3,"id","ngClass","keydown","click"],[1,"mat-mdc-menu-content"]],template:function(ne,at){1&ne&&(o.NAR(),o.DNE(0,_e,3,6,"ng-template"))},dependencies:[J.YU],styles:['mat-menu{display:none}.mat-mdc-menu-content{margin:0;padding:8px 0;list-style-type:none}.mat-mdc-menu-content:focus{outline:none}.mat-mdc-menu-content,.mat-mdc-menu-content .mat-mdc-menu-item .mat-mdc-menu-item-text{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;white-space:normal;font-family:var(--mat-menu-item-label-text-font);line-height:var(--mat-menu-item-label-text-line-height);font-size:var(--mat-menu-item-label-text-size);letter-spacing:var(--mat-menu-item-label-text-tracking);font-weight:var(--mat-menu-item-label-text-weight)}.mat-mdc-menu-panel{--mat-menu-container-shape:4px;min-width:112px;max-width:280px;overflow:auto;-webkit-overflow-scrolling:touch;box-sizing:border-box;outline:0;border-radius:var(--mat-menu-container-shape);background-color:var(--mat-menu-container-color);will-change:transform,opacity}.mat-mdc-menu-panel.ng-animating{pointer-events:none}.cdk-high-contrast-active .mat-mdc-menu-panel{outline:solid 1px}.mat-mdc-menu-item{display:flex;position:relative;align-items:center;justify-content:flex-start;overflow:hidden;padding:0;padding-left:16px;padding-right:16px;-webkit-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:rgba(0,0,0,0);cursor:pointer;width:100%;text-align:left;box-sizing:border-box;color:inherit;font-size:inherit;background:none;text-decoration:none;margin:0;align-items:center;min-height:48px}.mat-mdc-menu-item:focus{outline:none}[dir=rtl] .mat-mdc-menu-item,.mat-mdc-menu-item[dir=rtl]{padding-left:16px;padding-right:16px}.mat-mdc-menu-item::-moz-focus-inner{border:0}.mat-mdc-menu-item,.mat-mdc-menu-item:visited,.mat-mdc-menu-item:link{color:var(--mat-menu-item-label-text-color)}.mat-mdc-menu-item .mat-icon-no-color,.mat-mdc-menu-item .mat-mdc-menu-submenu-icon{color:var(--mat-menu-item-icon-color)}.mat-mdc-menu-item[disabled]{cursor:default;opacity:.38}.mat-mdc-menu-item[disabled]::after{display:block;position:absolute;content:"";top:0;left:0;bottom:0;right:0}.mat-mdc-menu-item .mat-icon{margin-right:16px}[dir=rtl] .mat-mdc-menu-item{text-align:right}[dir=rtl] .mat-mdc-menu-item .mat-icon{margin-right:0;margin-left:16px}.mat-mdc-menu-item.mat-mdc-menu-item-submenu-trigger{padding-right:32px}[dir=rtl] .mat-mdc-menu-item.mat-mdc-menu-item-submenu-trigger{padding-right:16px;padding-left:32px}.mat-mdc-menu-item:not([disabled]):hover{background-color:var(--mat-menu-item-hover-state-layer-color)}.mat-mdc-menu-item:not([disabled]).cdk-program-focused,.mat-mdc-menu-item:not([disabled]).cdk-keyboard-focused,.mat-mdc-menu-item:not([disabled]).mat-mdc-menu-item-highlighted{background-color:var(--mat-menu-item-focus-state-layer-color)}.cdk-high-contrast-active .mat-mdc-menu-item{margin-top:1px}.mat-mdc-menu-submenu-icon{position:absolute;top:50%;right:16px;transform:translateY(-50%);width:5px;height:10px;fill:currentColor}[dir=rtl] .mat-mdc-menu-submenu-icon{right:auto;left:16px;transform:translateY(-50%) scaleX(-1)}.cdk-high-contrast-active .mat-mdc-menu-submenu-icon{fill:CanvasText}.mat-mdc-menu-item .mat-mdc-menu-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}'],encapsulation:2,data:{animation:[Kt.transformMenu,Kt.fadeInItems]},changeDetection:0})}}return ce})();const gt=new o.nKC("mat-menu-scroll-strategy"),Vt={provide:gt,deps:[$.hJ],useFactory:function le(ce){return()=>ce.scrollStrategies.reposition()}},oe=(0,lt.BQ)({passive:!0});let Et=(()=>{class ce{get _deprecatedMatMenuTriggerFor(){return this.menu}set _deprecatedMatMenuTriggerFor(Ht){this.menu=Ht}get menu(){return this._menu}set menu(Ht){Ht!==this._menu&&(this._menu=Ht,this._menuCloseSubscription.unsubscribe(),Ht&&(this._menuCloseSubscription=Ht.close.subscribe(ne=>{this._destroyMenu(ne),("click"===ne||"tab"===ne)&&this._parentMaterialMenu&&this._parentMaterialMenu.closed.emit(ne)})),this._menuItemInstance?._setTriggersSubmenu(this.triggersSubmenu()))}constructor(Ht,ne,at,H,st,zt,vt,kt,tt){this._overlay=Ht,this._element=ne,this._viewContainerRef=at,this._menuItemInstance=zt,this._dir=vt,this._focusMonitor=kt,this._ngZone=tt,this._overlayRef=null,this._menuOpen=!1,this._closingActionsSubscription=P.yU.EMPTY,this._hoverSubscription=P.yU.EMPTY,this._menuCloseSubscription=P.yU.EMPTY,this._changeDetectorRef=(0,o.WQX)(o.gRc),this._handleTouchStart=X=>{(0,y.w6)(X)||(this._openedBy="touch")},this._openedBy=void 0,this.restoreFocus=!0,this.menuOpened=new o.bkB,this.onMenuOpen=this.menuOpened,this.menuClosed=new o.bkB,this.onMenuClose=this.menuClosed,this._scrollStrategy=H,this._parentMaterialMenu=st instanceof ke?st:void 0,ne.nativeElement.addEventListener("touchstart",this._handleTouchStart,oe)}ngAfterContentInit(){this._handleHover()}ngOnDestroy(){this._overlayRef&&(this._overlayRef.dispose(),this._overlayRef=null),this._element.nativeElement.removeEventListener("touchstart",this._handleTouchStart,oe),this._menuCloseSubscription.unsubscribe(),this._closingActionsSubscription.unsubscribe(),this._hoverSubscription.unsubscribe()}get menuOpen(){return this._menuOpen}get dir(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}triggersSubmenu(){return!!(this._menuItemInstance&&this._parentMaterialMenu&&this.menu)}toggleMenu(){return this._menuOpen?this.closeMenu():this.openMenu()}openMenu(){const Ht=this.menu;if(this._menuOpen||!Ht)return;const ne=this._createOverlay(Ht),at=ne.getConfig(),H=at.positionStrategy;this._setPosition(Ht,H),at.hasBackdrop=null==Ht.hasBackdrop?!this.triggersSubmenu():Ht.hasBackdrop,ne.attach(this._getPortal(Ht)),Ht.lazyContent&&Ht.lazyContent.attach(this.menuData),this._closingActionsSubscription=this._menuClosingActions().subscribe(()=>this.closeMenu()),this._initMenu(Ht),Ht instanceof ke&&(Ht._startAnimation(),Ht._directDescendantItems.changes.pipe((0,M.Q)(Ht.close)).subscribe(()=>{H.withLockedPosition(!1).reapplyLastPosition(),H.withLockedPosition(!0)}))}closeMenu(){this.menu?.close.emit()}focus(Ht,ne){this._focusMonitor&&Ht?this._focusMonitor.focusVia(this._element,Ht,ne):this._element.nativeElement.focus(ne)}updatePosition(){this._overlayRef?.updatePosition()}_destroyMenu(Ht){if(!this._overlayRef||!this.menuOpen)return;const ne=this.menu;this._closingActionsSubscription.unsubscribe(),this._overlayRef.detach(),this.restoreFocus&&("keydown"===Ht||!this._openedBy||!this.triggersSubmenu())&&this.focus(this._openedBy),this._openedBy=void 0,ne instanceof ke?(ne._resetAnimation(),ne.lazyContent?ne._animationDone.pipe((0,a.p)(at=>"void"===at.toState),(0,K.s)(1),(0,M.Q)(ne.lazyContent._attached)).subscribe({next:()=>ne.lazyContent.detach(),complete:()=>this._setIsMenuOpen(!1)}):this._setIsMenuOpen(!1)):(this._setIsMenuOpen(!1),ne?.lazyContent?.detach())}_initMenu(Ht){Ht.parentMenu=this.triggersSubmenu()?this._parentMaterialMenu:void 0,Ht.direction=this.dir,this._setMenuElevation(Ht),Ht.focusFirstItem(this._openedBy||"program"),this._setIsMenuOpen(!0)}_setMenuElevation(Ht){if(Ht.setElevation){let ne=0,at=Ht.parentMenu;for(;at;)ne++,at=at.parentMenu;Ht.setElevation(ne)}}_setIsMenuOpen(Ht){Ht!==this._menuOpen&&(this._menuOpen=Ht,this._menuOpen?this.menuOpened.emit():this.menuClosed.emit(),this.triggersSubmenu()&&this._menuItemInstance._setHighlighted(Ht),this._changeDetectorRef.markForCheck())}_createOverlay(Ht){if(!this._overlayRef){const ne=this._getOverlayConfig(Ht);this._subscribeToPositions(Ht,ne.positionStrategy),this._overlayRef=this._overlay.create(ne),this._overlayRef.keydownEvents().subscribe()}return this._overlayRef}_getOverlayConfig(Ht){return new $.rR({positionStrategy:this._overlay.position().flexibleConnectedTo(this._element).withLockedPosition().withGrowAfterOpen().withTransformOriginOn(".mat-menu-panel, .mat-mdc-menu-panel"),backdropClass:Ht.backdropClass||"cdk-overlay-transparent-backdrop",panelClass:Ht.overlayPanelClass,scrollStrategy:this._scrollStrategy(),direction:this._dir})}_subscribeToPositions(Ht,ne){Ht.setPositionClasses&&ne.positionChanges.subscribe(at=>{const H="start"===at.connectionPair.overlayX?"after":"before",st="top"===at.connectionPair.overlayY?"below":"above";this._ngZone?this._ngZone.run(()=>Ht.setPositionClasses(H,st)):Ht.setPositionClasses(H,st)})}_setPosition(Ht,ne){let[at,H]="before"===Ht.xPosition?["end","start"]:["start","end"],[st,zt]="above"===Ht.yPosition?["bottom","top"]:["top","bottom"],[vt,kt]=[st,zt],[tt,X]=[at,H],ft=0;if(this.triggersSubmenu()){if(X=at="before"===Ht.xPosition?"start":"end",H=tt="end"===at?"start":"end",this._parentMaterialMenu){if(null==this._parentInnerPadding){const Ot=this._parentMaterialMenu.items.first;this._parentInnerPadding=Ot?Ot._getHostElement().offsetTop:0}ft="bottom"===st?this._parentInnerPadding:-this._parentInnerPadding}}else Ht.overlapTrigger||(vt="top"===st?"bottom":"top",kt="top"===zt?"bottom":"top");ne.withPositions([{originX:at,originY:vt,overlayX:tt,overlayY:st,offsetY:ft},{originX:H,originY:vt,overlayX:X,overlayY:st,offsetY:ft},{originX:at,originY:kt,overlayX:tt,overlayY:zt,offsetY:-ft},{originX:H,originY:kt,overlayX:X,overlayY:zt,offsetY:-ft}])}_menuClosingActions(){const Ht=this._overlayRef.backdropClick(),ne=this._overlayRef.detachments(),at=this._parentMaterialMenu?this._parentMaterialMenu.closed:(0,Z.of)(),H=this._parentMaterialMenu?this._parentMaterialMenu._hovered().pipe((0,a.p)(st=>st!==this._menuItemInstance),(0,a.p)(()=>this._menuOpen)):(0,Z.of)();return(0,G.h)(Ht,at,H,ne)}_handleMousedown(Ht){(0,y._G)(Ht)||(this._openedBy=0===Ht.button?"mouse":void 0,this.triggersSubmenu()&&Ht.preventDefault())}_handleKeydown(Ht){const ne=Ht.keyCode;(ne===T.Fm||ne===T.t6)&&(this._openedBy="keyboard"),this.triggersSubmenu()&&(ne===T.LE&&"ltr"===this.dir||ne===T.UQ&&"rtl"===this.dir)&&(this._openedBy="keyboard",this.openMenu())}_handleClick(Ht){this.triggersSubmenu()?(Ht.stopPropagation(),this.openMenu()):this.toggleMenu()}_handleHover(){!this.triggersSubmenu()||!this._parentMaterialMenu||(this._hoverSubscription=this._parentMaterialMenu._hovered().pipe((0,a.p)(Ht=>Ht===this._menuItemInstance&&!Ht.disabled),(0,pt.c)(0,N.$)).subscribe(()=>{this._openedBy="mouse",this.menu instanceof ke&&this.menu._isAnimating?this.menu._animationDone.pipe((0,K.s)(1),(0,pt.c)(0,N.$),(0,M.Q)(this._parentMaterialMenu._hovered())).subscribe(()=>this.openMenu()):this.openMenu()}))}_getPortal(Ht){return(!this._portal||this._portal.templateRef!==Ht.templateRef)&&(this._portal=new bt.VA(Ht.templateRef,this._viewContainerRef)),this._portal}static{this.\u0275fac=function(ne){return new(ne||ce)(o.rXU($.hJ),o.rXU(o.aKT),o.rXU(o.c1b),o.rXU(gt),o.rXU(Ge,8),o.rXU(ye,10),o.rXU(te.dS,8),o.rXU(y.FN),o.rXU(o.SKi))}}static{this.\u0275dir=o.FsC({type:ce,hostVars:3,hostBindings:function(ne,at){1&ne&&o.bIt("click",function(st){return at._handleClick(st)})("mousedown",function(st){return at._handleMousedown(st)})("keydown",function(st){return at._handleKeydown(st)}),2&ne&&o.BMQ("aria-haspopup",at.menu?"menu":null)("aria-expanded",at.menuOpen)("aria-controls",at.menuOpen?at.menu.panelId:null)},inputs:{_deprecatedMatMenuTriggerFor:["mat-menu-trigger-for","_deprecatedMatMenuTriggerFor"],menu:["matMenuTriggerFor","menu"],menuData:["matMenuTriggerData","menuData"],restoreFocus:["matMenuTriggerRestoreFocus","restoreFocus"]},outputs:{menuOpened:"menuOpened",onMenuOpen:"onMenuOpen",menuClosed:"menuClosed",onMenuClose:"onMenuClose"}})}}return ce})(),re=(()=>{class ce extends Et{static{this.\u0275fac=function(){let Ht;return function(at){return(Ht||(Ht=o.xGo(ce)))(at||ce)}}()}static{this.\u0275dir=o.FsC({type:ce,selectors:[["","mat-menu-trigger-for",""],["","matMenuTriggerFor",""]],hostAttrs:[1,"mat-mdc-menu-trigger"],exportAs:["matMenuTrigger"],features:[o.Vt3]})}}return ce})(),Ee=(()=>{class ce{static{this.\u0275fac=function(ne){return new(ne||ce)}}static{this.\u0275mod=o.$C({type:ce})}static{this.\u0275inj=o.G2t({providers:[Vt],imports:[J.MD,j.pZ,j.yE,$.z_,V.Gj,j.yE]})}}return ce})()},74312:(Ce,Lt,r)=>{r.d(Lt,{El:()=>Tt,LG:()=>Yt,US:()=>Ut,vg:()=>Ne});var o=r(18144),y=r(18331),b=r(1843),T=r(42250),k=r(83607),G=r(10165),P=r(8275),Z=r(25150),N=r(29094),ot=r(89115),q=r(63884),K=r(85012),M=r(98474),a=r(12324),pt=r(45221),j=r(73907),J=r(11224),bt=r(89371),Gt=r(28930),te=r(45318),$=r(89411);const lt=["*"],V=["content"];function mt(ke,un){if(1&ke){const gt=b.RV6();b.j41(0,"div",2),b.bIt("click",function(){b.eBV(gt);const Vt=b.XpG();return b.Njj(Vt._onBackdropClicked())}),b.k0s()}if(2&ke){const gt=b.XpG();b.AVh("mat-drawer-shown",gt._isShowingBackdrop())}}function rt(ke,un){1&ke&&(b.j41(0,"mat-drawer-content"),b.SdG(1,2),b.k0s())}const $t=[[["mat-drawer"]],[["mat-drawer-content"]],"*"],de=["mat-drawer","mat-drawer-content","*"];function _e(ke,un){if(1&ke){const gt=b.RV6();b.j41(0,"div",2),b.bIt("click",function(){b.eBV(gt);const Vt=b.XpG();return b.Njj(Vt._onBackdropClicked())}),b.k0s()}if(2&ke){const gt=b.XpG();b.AVh("mat-drawer-shown",gt._isShowingBackdrop())}}function Le(ke,un){1&ke&&(b.j41(0,"mat-sidenav-content"),b.SdG(1,2),b.k0s())}const Ge=[[["mat-sidenav"]],[["mat-sidenav-content"]],"*"],Xe=["mat-sidenav","mat-sidenav-content","*"],Ve={transformDrawer:(0,$.hZ)("transform",[(0,$.wk)("open, open-instant",(0,$.iF)({transform:"none",visibility:"visible"})),(0,$.wk)("void",(0,$.iF)({"box-shadow":"none",visibility:"hidden"})),(0,$.kY)("void => open-instant",(0,$.i0)("0ms")),(0,$.kY)("void <=> open, open-instant => void",(0,$.i0)("400ms cubic-bezier(0.25, 0.8, 0.25, 1)"))])},Qe=new b.nKC("MAT_DRAWER_DEFAULT_AUTOSIZE",{providedIn:"root",factory:function Me(){return!1}}),be=new b.nKC("MAT_DRAWER_CONTAINER");let yt=(()=>{class ke extends o.uv{constructor(gt,le,Vt,oe,Qt){super(Vt,oe,Qt),this._changeDetectorRef=gt,this._container=le}ngAfterContentInit(){this._container._contentMarginChanges.subscribe(()=>{this._changeDetectorRef.markForCheck()})}static{this.\u0275fac=function(le){return new(le||ke)(b.rXU(b.gRc),b.rXU((0,b.Rfq)(()=>Nt)),b.rXU(b.aKT),b.rXU(o.R),b.rXU(b.SKi))}}static{this.\u0275cmp=b.VBU({type:ke,selectors:[["mat-drawer-content"]],hostAttrs:["ngSkipHydration","",1,"mat-drawer-content"],hostVars:4,hostBindings:function(le,Vt){2&le&&b.xc7("margin-left",Vt._container._contentMargins.left,"px")("margin-right",Vt._container._contentMargins.right,"px")},features:[b.Jv_([{provide:o.uv,useExisting:ke}]),b.Vt3],ngContentSelectors:lt,decls:1,vars:0,template:function(le,Vt){1&le&&(b.NAR(),b.SdG(0))},encapsulation:2,changeDetection:0})}}return ke})(),Kt=(()=>{class ke{get position(){return this._position}set position(gt){(gt="end"===gt?"end":"start")!==this._position&&(this._isAttached&&this._updatePositionInParent(gt),this._position=gt,this.onPositionChanged.emit())}get mode(){return this._mode}set mode(gt){this._mode=gt,this._updateFocusTrapState(),this._modeChanged.next()}get disableClose(){return this._disableClose}set disableClose(gt){this._disableClose=(0,P.he)(gt)}get autoFocus(){return this._autoFocus??("side"===this.mode?"dialog":"first-tabbable")}set autoFocus(gt){("true"===gt||"false"===gt||null==gt)&&(gt=(0,P.he)(gt)),this._autoFocus=gt}get opened(){return this._opened}set opened(gt){this.toggle((0,P.he)(gt))}constructor(gt,le,Vt,oe,Qt,Et,re,Ee){this._elementRef=gt,this._focusTrapFactory=le,this._focusMonitor=Vt,this._platform=oe,this._ngZone=Qt,this._interactivityChecker=Et,this._doc=re,this._container=Ee,this._elementFocusedBeforeDrawerWasOpened=null,this._enableAnimations=!1,this._position="start",this._mode="over",this._disableClose=!1,this._opened=!1,this._animationStarted=new ot.B,this._animationEnd=new ot.B,this._animationState="void",this.openedChange=new b.bkB(!0),this._openedStream=this.openedChange.pipe((0,M.p)(ce=>ce),(0,a.T)(()=>{})),this.openedStart=this._animationStarted.pipe((0,M.p)(ce=>ce.fromState!==ce.toState&&0===ce.toState.indexOf("open")),(0,pt.u)(void 0)),this._closedStream=this.openedChange.pipe((0,M.p)(ce=>!ce),(0,a.T)(()=>{})),this.closedStart=this._animationStarted.pipe((0,M.p)(ce=>ce.fromState!==ce.toState&&"void"===ce.toState),(0,pt.u)(void 0)),this._destroyed=new ot.B,this.onPositionChanged=new b.bkB,this._modeChanged=new ot.B,this.openedChange.subscribe(ce=>{ce?(this._doc&&(this._elementFocusedBeforeDrawerWasOpened=this._doc.activeElement),this._takeFocus()):this._isFocusWithinDrawer()&&this._restoreFocus(this._openedVia||"program")}),this._ngZone.runOutsideAngular(()=>{(0,q.R)(this._elementRef.nativeElement,"keydown").pipe((0,M.p)(ce=>ce.keyCode===Z._f&&!this.disableClose&&!(0,Z.rp)(ce)),(0,j.Q)(this._destroyed)).subscribe(ce=>this._ngZone.run(()=>{this.close(),ce.stopPropagation(),ce.preventDefault()}))}),this._animationEnd.pipe((0,J.F)((ce,je)=>ce.fromState===je.fromState&&ce.toState===je.toState)).subscribe(ce=>{const{fromState:je,toState:Ht}=ce;(0===Ht.indexOf("open")&&"void"===je||"void"===Ht&&0===je.indexOf("open"))&&this.openedChange.emit(this._opened)})}_forceFocus(gt,le){this._interactivityChecker.isFocusable(gt)||(gt.tabIndex=-1,this._ngZone.runOutsideAngular(()=>{const Vt=()=>{gt.removeEventListener("blur",Vt),gt.removeEventListener("mousedown",Vt),gt.removeAttribute("tabindex")};gt.addEventListener("blur",Vt),gt.addEventListener("mousedown",Vt)})),gt.focus(le)}_focusByCssSelector(gt,le){let Vt=this._elementRef.nativeElement.querySelector(gt);Vt&&this._forceFocus(Vt,le)}_takeFocus(){if(!this._focusTrap)return;const gt=this._elementRef.nativeElement;switch(this.autoFocus){case!1:case"dialog":return;case!0:case"first-tabbable":this._focusTrap.focusInitialElementWhenReady().then(le=>{!le&&"function"==typeof this._elementRef.nativeElement.focus&>.focus()});break;case"first-heading":this._focusByCssSelector('h1, h2, h3, h4, h5, h6, [role="heading"]');break;default:this._focusByCssSelector(this.autoFocus)}}_restoreFocus(gt){"dialog"!==this.autoFocus&&(this._elementFocusedBeforeDrawerWasOpened?this._focusMonitor.focusVia(this._elementFocusedBeforeDrawerWasOpened,gt):this._elementRef.nativeElement.blur(),this._elementFocusedBeforeDrawerWasOpened=null)}_isFocusWithinDrawer(){const gt=this._doc.activeElement;return!!gt&&this._elementRef.nativeElement.contains(gt)}ngAfterViewInit(){this._isAttached=!0,this._focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement),this._updateFocusTrapState(),"end"===this._position&&this._updatePositionInParent("end")}ngAfterContentChecked(){this._platform.isBrowser&&(this._enableAnimations=!0)}ngOnDestroy(){this._focusTrap&&this._focusTrap.destroy(),this._anchor?.remove(),this._anchor=null,this._animationStarted.complete(),this._animationEnd.complete(),this._modeChanged.complete(),this._destroyed.next(),this._destroyed.complete()}open(gt){return this.toggle(!0,gt)}close(){return this.toggle(!1)}_closeViaBackdropClick(){return this._setOpen(!1,!0,"mouse")}toggle(gt=!this.opened,le){gt&&le&&(this._openedVia=le);const Vt=this._setOpen(gt,!gt&&this._isFocusWithinDrawer(),this._openedVia||"program");return gt||(this._openedVia=null),Vt}_setOpen(gt,le,Vt){return this._opened=gt,gt?this._animationState=this._enableAnimations?"open":"open-instant":(this._animationState="void",le&&this._restoreFocus(Vt)),this._updateFocusTrapState(),new Promise(oe=>{this.openedChange.pipe((0,bt.s)(1)).subscribe(Qt=>oe(Qt?"open":"close"))})}_getWidth(){return this._elementRef.nativeElement&&this._elementRef.nativeElement.offsetWidth||0}_updateFocusTrapState(){this._focusTrap&&(this._focusTrap.enabled=!!this._container?.hasBackdrop)}_updatePositionInParent(gt){const le=this._elementRef.nativeElement,Vt=le.parentNode;"end"===gt?(this._anchor||(this._anchor=this._doc.createComment("mat-drawer-anchor"),Vt.insertBefore(this._anchor,le)),Vt.appendChild(le)):this._anchor&&this._anchor.parentNode.insertBefore(le,this._anchor)}static{this.\u0275fac=function(le){return new(le||ke)(b.rXU(b.aKT),b.rXU(k.GX),b.rXU(k.FN),b.rXU(N.OD),b.rXU(b.SKi),b.rXU(k.Z7),b.rXU(y.qQ,8),b.rXU(be,8))}}static{this.\u0275cmp=b.VBU({type:ke,selectors:[["mat-drawer"]],viewQuery:function(le,Vt){if(1&le&&b.GBs(V,5),2&le){let oe;b.mGM(oe=b.lsd())&&(Vt._content=oe.first)}},hostAttrs:["tabIndex","-1","ngSkipHydration","",1,"mat-drawer"],hostVars:12,hostBindings:function(le,Vt){1&le&&b.Kam("@transform.start",function(Qt){return Vt._animationStarted.next(Qt)})("@transform.done",function(Qt){return Vt._animationEnd.next(Qt)}),2&le&&(b.BMQ("align",null),b.zvX("@transform",Vt._animationState),b.AVh("mat-drawer-end","end"===Vt.position)("mat-drawer-over","over"===Vt.mode)("mat-drawer-push","push"===Vt.mode)("mat-drawer-side","side"===Vt.mode)("mat-drawer-opened",Vt.opened))},inputs:{position:"position",mode:"mode",disableClose:"disableClose",autoFocus:"autoFocus",opened:"opened"},outputs:{openedChange:"openedChange",_openedStream:"opened",openedStart:"openedStart",_closedStream:"closed",closedStart:"closedStart",onPositionChanged:"positionChanged"},exportAs:["matDrawer"],ngContentSelectors:lt,decls:3,vars:0,consts:[["cdkScrollable","",1,"mat-drawer-inner-container"],["content",""]],template:function(le,Vt){1&le&&(b.NAR(),b.j41(0,"div",0,1),b.SdG(2),b.k0s())},dependencies:[o.uv],encapsulation:2,data:{animation:[Ve.transformDrawer]},changeDetection:0})}}return ke})(),Nt=(()=>{class ke{get start(){return this._start}get end(){return this._end}get autosize(){return this._autosize}set autosize(gt){this._autosize=(0,P.he)(gt)}get hasBackdrop(){return this._drawerHasBackdrop(this._start)||this._drawerHasBackdrop(this._end)}set hasBackdrop(gt){this._backdropOverride=null==gt?null:(0,P.he)(gt)}get scrollable(){return this._userContent||this._content}constructor(gt,le,Vt,oe,Qt,Et=!1,re){this._dir=gt,this._element=le,this._ngZone=Vt,this._changeDetectorRef=oe,this._animationMode=re,this._drawers=new b.rOR,this.backdropClick=new b.bkB,this._destroyed=new ot.B,this._doCheckSubject=new ot.B,this._contentMargins={left:null,right:null},this._contentMarginChanges=new ot.B,gt&>.change.pipe((0,j.Q)(this._destroyed)).subscribe(()=>{this._validateDrawers(),this.updateContentMargins()}),Qt.change().pipe((0,j.Q)(this._destroyed)).subscribe(()=>this.updateContentMargins()),this._autosize=Et}ngAfterContentInit(){this._allDrawers.changes.pipe((0,Gt.Z)(this._allDrawers),(0,j.Q)(this._destroyed)).subscribe(gt=>{this._drawers.reset(gt.filter(le=>!le._container||le._container===this)),this._drawers.notifyOnChanges()}),this._drawers.changes.pipe((0,Gt.Z)(null)).subscribe(()=>{this._validateDrawers(),this._drawers.forEach(gt=>{this._watchDrawerToggle(gt),this._watchDrawerPosition(gt),this._watchDrawerMode(gt)}),(!this._drawers.length||this._isDrawerOpen(this._start)||this._isDrawerOpen(this._end))&&this.updateContentMargins(),this._changeDetectorRef.markForCheck()}),this._ngZone.runOutsideAngular(()=>{this._doCheckSubject.pipe((0,te.B)(10),(0,j.Q)(this._destroyed)).subscribe(()=>this.updateContentMargins())})}ngOnDestroy(){this._contentMarginChanges.complete(),this._doCheckSubject.complete(),this._drawers.destroy(),this._destroyed.next(),this._destroyed.complete()}open(){this._drawers.forEach(gt=>gt.open())}close(){this._drawers.forEach(gt=>gt.close())}updateContentMargins(){let gt=0,le=0;if(this._left&&this._left.opened)if("side"==this._left.mode)gt+=this._left._getWidth();else if("push"==this._left.mode){const Vt=this._left._getWidth();gt+=Vt,le-=Vt}if(this._right&&this._right.opened)if("side"==this._right.mode)le+=this._right._getWidth();else if("push"==this._right.mode){const Vt=this._right._getWidth();le+=Vt,gt-=Vt}gt=gt||null,le=le||null,(gt!==this._contentMargins.left||le!==this._contentMargins.right)&&(this._contentMargins={left:gt,right:le},this._ngZone.run(()=>this._contentMarginChanges.next(this._contentMargins)))}ngDoCheck(){this._autosize&&this._isPushed()&&this._ngZone.runOutsideAngular(()=>this._doCheckSubject.next())}_watchDrawerToggle(gt){gt._animationStarted.pipe((0,M.p)(le=>le.fromState!==le.toState),(0,j.Q)(this._drawers.changes)).subscribe(le=>{"open-instant"!==le.toState&&"NoopAnimations"!==this._animationMode&&this._element.nativeElement.classList.add("mat-drawer-transition"),this.updateContentMargins(),this._changeDetectorRef.markForCheck()}),"side"!==gt.mode&>.openedChange.pipe((0,j.Q)(this._drawers.changes)).subscribe(()=>this._setContainerClass(gt.opened))}_watchDrawerPosition(gt){gt&>.onPositionChanged.pipe((0,j.Q)(this._drawers.changes)).subscribe(()=>{this._ngZone.onMicrotaskEmpty.pipe((0,bt.s)(1)).subscribe(()=>{this._validateDrawers()})})}_watchDrawerMode(gt){gt&>._modeChanged.pipe((0,j.Q)((0,K.h)(this._drawers.changes,this._destroyed))).subscribe(()=>{this.updateContentMargins(),this._changeDetectorRef.markForCheck()})}_setContainerClass(gt){const le=this._element.nativeElement.classList,Vt="mat-drawer-container-has-open";gt?le.add(Vt):le.remove(Vt)}_validateDrawers(){this._start=this._end=null,this._drawers.forEach(gt=>{"end"==gt.position?this._end=gt:this._start=gt}),this._right=this._left=null,this._dir&&"rtl"===this._dir.value?(this._left=this._end,this._right=this._start):(this._left=this._start,this._right=this._end)}_isPushed(){return this._isDrawerOpen(this._start)&&"over"!=this._start.mode||this._isDrawerOpen(this._end)&&"over"!=this._end.mode}_onBackdropClicked(){this.backdropClick.emit(),this._closeModalDrawersViaBackdrop()}_closeModalDrawersViaBackdrop(){[this._start,this._end].filter(gt=>gt&&!gt.disableClose&&this._drawerHasBackdrop(gt)).forEach(gt=>gt._closeViaBackdropClick())}_isShowingBackdrop(){return this._isDrawerOpen(this._start)&&this._drawerHasBackdrop(this._start)||this._isDrawerOpen(this._end)&&this._drawerHasBackdrop(this._end)}_isDrawerOpen(gt){return null!=gt&>.opened}_drawerHasBackdrop(gt){return null==this._backdropOverride?!!gt&&"side"!==gt.mode:this._backdropOverride}static{this.\u0275fac=function(le){return new(le||ke)(b.rXU(G.dS,8),b.rXU(b.aKT),b.rXU(b.SKi),b.rXU(b.gRc),b.rXU(o.Xj),b.rXU(Qe),b.rXU(b.bc$,8))}}static{this.\u0275cmp=b.VBU({type:ke,selectors:[["mat-drawer-container"]],contentQueries:function(le,Vt,oe){if(1&le&&(b.wni(oe,yt,5),b.wni(oe,Kt,5)),2&le){let Qt;b.mGM(Qt=b.lsd())&&(Vt._content=Qt.first),b.mGM(Qt=b.lsd())&&(Vt._allDrawers=Qt)}},viewQuery:function(le,Vt){if(1&le&&b.GBs(yt,5),2&le){let oe;b.mGM(oe=b.lsd())&&(Vt._userContent=oe.first)}},hostAttrs:["ngSkipHydration","",1,"mat-drawer-container"],hostVars:2,hostBindings:function(le,Vt){2&le&&b.AVh("mat-drawer-container-explicit-backdrop",Vt._backdropOverride)},inputs:{autosize:"autosize",hasBackdrop:"hasBackdrop"},outputs:{backdropClick:"backdropClick"},exportAs:["matDrawerContainer"],features:[b.Jv_([{provide:be,useExisting:ke}])],ngContentSelectors:de,decls:4,vars:2,consts:[["class","mat-drawer-backdrop",3,"mat-drawer-shown","click",4,"ngIf"],[4,"ngIf"],[1,"mat-drawer-backdrop",3,"click"]],template:function(le,Vt){1&le&&(b.NAR($t),b.DNE(0,mt,1,2,"div",0),b.SdG(1),b.SdG(2,1),b.DNE(3,rt,2,0,"mat-drawer-content",1)),2&le&&(b.Y8G("ngIf",Vt.hasBackdrop),b.R7$(3),b.Y8G("ngIf",!Vt._content))},dependencies:[y.bT,yt],styles:['.mat-drawer-container{position:relative;z-index:1;color:var(--mat-sidenav-content-text-color);background-color:var(--mat-sidenav-content-background-color);box-sizing:border-box;-webkit-overflow-scrolling:touch;display:block;overflow:hidden}.mat-drawer-container[fullscreen]{top:0;left:0;right:0;bottom:0;position:absolute}.mat-drawer-container[fullscreen].mat-drawer-container-has-open{overflow:hidden}.mat-drawer-container.mat-drawer-container-explicit-backdrop .mat-drawer-side{z-index:3}.mat-drawer-container.ng-animate-disabled .mat-drawer-backdrop,.mat-drawer-container.ng-animate-disabled .mat-drawer-content,.ng-animate-disabled .mat-drawer-container .mat-drawer-backdrop,.ng-animate-disabled .mat-drawer-container .mat-drawer-content{transition:none}.mat-drawer-backdrop{top:0;left:0;right:0;bottom:0;position:absolute;display:block;z-index:3;visibility:hidden}.mat-drawer-backdrop.mat-drawer-shown{visibility:visible;background-color:var(--mat-sidenav-scrim-color)}.mat-drawer-transition .mat-drawer-backdrop{transition-duration:400ms;transition-timing-function:cubic-bezier(0.25, 0.8, 0.25, 1);transition-property:background-color,visibility}.cdk-high-contrast-active .mat-drawer-backdrop{opacity:.5}.mat-drawer-content{position:relative;z-index:1;display:block;height:100%;overflow:auto}.mat-drawer-transition .mat-drawer-content{transition-duration:400ms;transition-timing-function:cubic-bezier(0.25, 0.8, 0.25, 1);transition-property:transform,margin-left,margin-right}.mat-drawer{box-shadow:0px 8px 10px -5px rgba(0, 0, 0, 0.2), 0px 16px 24px 2px rgba(0, 0, 0, 0.14), 0px 6px 30px 5px rgba(0, 0, 0, 0.12);position:relative;z-index:4;--mat-sidenav-container-shape:0;color:var(--mat-sidenav-container-text-color);background-color:var(--mat-sidenav-container-background-color);border-top-right-radius:var(--mat-sidenav-container-shape);border-bottom-right-radius:var(--mat-sidenav-container-shape);display:block;position:absolute;top:0;bottom:0;z-index:3;outline:0;box-sizing:border-box;overflow-y:auto;transform:translate3d(-100%, 0, 0)}.cdk-high-contrast-active .mat-drawer,.cdk-high-contrast-active [dir=rtl] .mat-drawer.mat-drawer-end{border-right:solid 1px currentColor}.cdk-high-contrast-active [dir=rtl] .mat-drawer,.cdk-high-contrast-active .mat-drawer.mat-drawer-end{border-left:solid 1px currentColor;border-right:none}.mat-drawer.mat-drawer-side{z-index:2}.mat-drawer.mat-drawer-end{right:0;transform:translate3d(100%, 0, 0);border-top-left-radius:var(--mat-sidenav-container-shape);border-bottom-left-radius:var(--mat-sidenav-container-shape);border-top-right-radius:0;border-bottom-right-radius:0}[dir=rtl] .mat-drawer{border-top-left-radius:var(--mat-sidenav-container-shape);border-bottom-left-radius:var(--mat-sidenav-container-shape);border-top-right-radius:0;border-bottom-right-radius:0;transform:translate3d(100%, 0, 0)}[dir=rtl] .mat-drawer.mat-drawer-end{border-top-right-radius:var(--mat-sidenav-container-shape);border-bottom-right-radius:var(--mat-sidenav-container-shape);border-top-left-radius:0;border-bottom-left-radius:0;left:0;right:auto;transform:translate3d(-100%, 0, 0)}.mat-drawer[style*="visibility: hidden"]{display:none}.mat-drawer-side{box-shadow:none;border-right-color:var(--mat-sidenav-container-divider-color);border-right-width:1px;border-right-style:solid}.mat-drawer-side.mat-drawer-end{border-left-color:var(--mat-sidenav-container-divider-color);border-left-width:1px;border-left-style:solid;border-right:none}[dir=rtl] .mat-drawer-side{border-left-color:var(--mat-sidenav-container-divider-color);border-left-width:1px;border-left-style:solid;border-right:none}[dir=rtl] .mat-drawer-side.mat-drawer-end{border-right-color:var(--mat-sidenav-container-divider-color);border-right-width:1px;border-right-style:solid;border-left:none}.mat-drawer-inner-container{width:100%;height:100%;overflow:auto;-webkit-overflow-scrolling:touch}.mat-sidenav-fixed{position:fixed}'],encapsulation:2,changeDetection:0})}}return ke})(),Tt=(()=>{class ke extends yt{constructor(gt,le,Vt,oe,Qt){super(gt,le,Vt,oe,Qt)}static{this.\u0275fac=function(le){return new(le||ke)(b.rXU(b.gRc),b.rXU((0,b.Rfq)(()=>Ut)),b.rXU(b.aKT),b.rXU(o.R),b.rXU(b.SKi))}}static{this.\u0275cmp=b.VBU({type:ke,selectors:[["mat-sidenav-content"]],hostAttrs:["ngSkipHydration","",1,"mat-drawer-content","mat-sidenav-content"],hostVars:4,hostBindings:function(le,Vt){2&le&&b.xc7("margin-left",Vt._container._contentMargins.left,"px")("margin-right",Vt._container._contentMargins.right,"px")},features:[b.Jv_([{provide:o.uv,useExisting:ke}]),b.Vt3],ngContentSelectors:lt,decls:1,vars:0,template:function(le,Vt){1&le&&(b.NAR(),b.SdG(0))},encapsulation:2,changeDetection:0})}}return ke})(),Yt=(()=>{class ke extends Kt{constructor(){super(...arguments),this._fixedInViewport=!1,this._fixedTopGap=0,this._fixedBottomGap=0}get fixedInViewport(){return this._fixedInViewport}set fixedInViewport(gt){this._fixedInViewport=(0,P.he)(gt)}get fixedTopGap(){return this._fixedTopGap}set fixedTopGap(gt){this._fixedTopGap=(0,P.OE)(gt)}get fixedBottomGap(){return this._fixedBottomGap}set fixedBottomGap(gt){this._fixedBottomGap=(0,P.OE)(gt)}static{this.\u0275fac=function(){let gt;return function(Vt){return(gt||(gt=b.xGo(ke)))(Vt||ke)}}()}static{this.\u0275cmp=b.VBU({type:ke,selectors:[["mat-sidenav"]],hostAttrs:["tabIndex","-1","ngSkipHydration","",1,"mat-drawer","mat-sidenav"],hostVars:17,hostBindings:function(le,Vt){2&le&&(b.BMQ("align",null),b.xc7("top",Vt.fixedInViewport?Vt.fixedTopGap:null,"px")("bottom",Vt.fixedInViewport?Vt.fixedBottomGap:null,"px"),b.AVh("mat-drawer-end","end"===Vt.position)("mat-drawer-over","over"===Vt.mode)("mat-drawer-push","push"===Vt.mode)("mat-drawer-side","side"===Vt.mode)("mat-drawer-opened",Vt.opened)("mat-sidenav-fixed",Vt.fixedInViewport))},inputs:{fixedInViewport:"fixedInViewport",fixedTopGap:"fixedTopGap",fixedBottomGap:"fixedBottomGap"},exportAs:["matSidenav"],features:[b.Vt3],ngContentSelectors:lt,decls:3,vars:0,consts:[["cdkScrollable","",1,"mat-drawer-inner-container"],["content",""]],template:function(le,Vt){1&le&&(b.NAR(),b.j41(0,"div",0,1),b.SdG(2),b.k0s())},dependencies:[o.uv],encapsulation:2,data:{animation:[Ve.transformDrawer]},changeDetection:0})}}return ke})(),Ut=(()=>{class ke extends Nt{constructor(){super(...arguments),this._allDrawers=void 0,this._content=void 0}static{this.\u0275fac=function(){let gt;return function(Vt){return(gt||(gt=b.xGo(ke)))(Vt||ke)}}()}static{this.\u0275cmp=b.VBU({type:ke,selectors:[["mat-sidenav-container"]],contentQueries:function(le,Vt,oe){if(1&le&&(b.wni(oe,Tt,5),b.wni(oe,Yt,5)),2&le){let Qt;b.mGM(Qt=b.lsd())&&(Vt._content=Qt.first),b.mGM(Qt=b.lsd())&&(Vt._allDrawers=Qt)}},hostAttrs:["ngSkipHydration","",1,"mat-drawer-container","mat-sidenav-container"],hostVars:2,hostBindings:function(le,Vt){2&le&&b.AVh("mat-drawer-container-explicit-backdrop",Vt._backdropOverride)},exportAs:["matSidenavContainer"],features:[b.Jv_([{provide:be,useExisting:ke}]),b.Vt3],ngContentSelectors:Xe,decls:4,vars:2,consts:[["class","mat-drawer-backdrop",3,"mat-drawer-shown","click",4,"ngIf"],[4,"ngIf"],[1,"mat-drawer-backdrop",3,"click"]],template:function(le,Vt){1&le&&(b.NAR(Ge),b.DNE(0,_e,1,2,"div",0),b.SdG(1),b.SdG(2,1),b.DNE(3,Le,2,0,"mat-sidenav-content",1)),2&le&&(b.Y8G("ngIf",Vt.hasBackdrop),b.R7$(3),b.Y8G("ngIf",!Vt._content))},dependencies:[y.bT,Tt],styles:['.mat-drawer-container{position:relative;z-index:1;color:var(--mat-sidenav-content-text-color);background-color:var(--mat-sidenav-content-background-color);box-sizing:border-box;-webkit-overflow-scrolling:touch;display:block;overflow:hidden}.mat-drawer-container[fullscreen]{top:0;left:0;right:0;bottom:0;position:absolute}.mat-drawer-container[fullscreen].mat-drawer-container-has-open{overflow:hidden}.mat-drawer-container.mat-drawer-container-explicit-backdrop .mat-drawer-side{z-index:3}.mat-drawer-container.ng-animate-disabled .mat-drawer-backdrop,.mat-drawer-container.ng-animate-disabled .mat-drawer-content,.ng-animate-disabled .mat-drawer-container .mat-drawer-backdrop,.ng-animate-disabled .mat-drawer-container .mat-drawer-content{transition:none}.mat-drawer-backdrop{top:0;left:0;right:0;bottom:0;position:absolute;display:block;z-index:3;visibility:hidden}.mat-drawer-backdrop.mat-drawer-shown{visibility:visible;background-color:var(--mat-sidenav-scrim-color)}.mat-drawer-transition .mat-drawer-backdrop{transition-duration:400ms;transition-timing-function:cubic-bezier(0.25, 0.8, 0.25, 1);transition-property:background-color,visibility}.cdk-high-contrast-active .mat-drawer-backdrop{opacity:.5}.mat-drawer-content{position:relative;z-index:1;display:block;height:100%;overflow:auto}.mat-drawer-transition .mat-drawer-content{transition-duration:400ms;transition-timing-function:cubic-bezier(0.25, 0.8, 0.25, 1);transition-property:transform,margin-left,margin-right}.mat-drawer{box-shadow:0px 8px 10px -5px rgba(0, 0, 0, 0.2), 0px 16px 24px 2px rgba(0, 0, 0, 0.14), 0px 6px 30px 5px rgba(0, 0, 0, 0.12);position:relative;z-index:4;--mat-sidenav-container-shape:0;color:var(--mat-sidenav-container-text-color);background-color:var(--mat-sidenav-container-background-color);border-top-right-radius:var(--mat-sidenav-container-shape);border-bottom-right-radius:var(--mat-sidenav-container-shape);display:block;position:absolute;top:0;bottom:0;z-index:3;outline:0;box-sizing:border-box;overflow-y:auto;transform:translate3d(-100%, 0, 0)}.cdk-high-contrast-active .mat-drawer,.cdk-high-contrast-active [dir=rtl] .mat-drawer.mat-drawer-end{border-right:solid 1px currentColor}.cdk-high-contrast-active [dir=rtl] .mat-drawer,.cdk-high-contrast-active .mat-drawer.mat-drawer-end{border-left:solid 1px currentColor;border-right:none}.mat-drawer.mat-drawer-side{z-index:2}.mat-drawer.mat-drawer-end{right:0;transform:translate3d(100%, 0, 0);border-top-left-radius:var(--mat-sidenav-container-shape);border-bottom-left-radius:var(--mat-sidenav-container-shape);border-top-right-radius:0;border-bottom-right-radius:0}[dir=rtl] .mat-drawer{border-top-left-radius:var(--mat-sidenav-container-shape);border-bottom-left-radius:var(--mat-sidenav-container-shape);border-top-right-radius:0;border-bottom-right-radius:0;transform:translate3d(100%, 0, 0)}[dir=rtl] .mat-drawer.mat-drawer-end{border-top-right-radius:var(--mat-sidenav-container-shape);border-bottom-right-radius:var(--mat-sidenav-container-shape);border-top-left-radius:0;border-bottom-left-radius:0;left:0;right:auto;transform:translate3d(-100%, 0, 0)}.mat-drawer[style*="visibility: hidden"]{display:none}.mat-drawer-side{box-shadow:none;border-right-color:var(--mat-sidenav-container-divider-color);border-right-width:1px;border-right-style:solid}.mat-drawer-side.mat-drawer-end{border-left-color:var(--mat-sidenav-container-divider-color);border-left-width:1px;border-left-style:solid;border-right:none}[dir=rtl] .mat-drawer-side{border-left-color:var(--mat-sidenav-container-divider-color);border-left-width:1px;border-left-style:solid;border-right:none}[dir=rtl] .mat-drawer-side.mat-drawer-end{border-right-color:var(--mat-sidenav-container-divider-color);border-right-width:1px;border-right-style:solid;border-left:none}.mat-drawer-inner-container{width:100%;height:100%;overflow:auto;-webkit-overflow-scrolling:touch}.mat-sidenav-fixed{position:fixed}'],encapsulation:2,changeDetection:0})}}return ke})(),Ne=(()=>{class ke{static{this.\u0275fac=function(le){return new(le||ke)}}static{this.\u0275mod=b.$C({type:ke})}static{this.\u0275inj=b.G2t({imports:[y.MD,T.yE,o.Gj,o.Gj,T.yE]})}}return ke})()},60368:(Ce,Lt,r)=>{r.d(Lt,{mV:()=>te,sG:()=>j});var o=r(1843),y=r(78227),b=r(83607),T=r(42250),k=r(8275),G=r(18331);const P=["switch"];function Z($,lt){1&$&&(o.j41(0,"div",12),o.qSk(),o.j41(1,"svg",13),o.nrm(2,"path",14),o.k0s(),o.j41(3,"svg",15),o.nrm(4,"path",16),o.k0s()())}const N=["*"],ot=new o.nKC("mat-slide-toggle-default-options",{providedIn:"root",factory:()=>({disableToggleValue:!1,hideIcon:!1})}),q={provide:y.kq,useExisting:(0,o.Rfq)(()=>j),multi:!0};class K{constructor(lt,V){this.source=lt,this.checked=V}}let M=0;const a=(0,T.BF)((0,T.Zc)((0,T.GG)((0,T.Ob)(class{constructor($){this._elementRef=$}}))));let pt=(()=>{class $ extends a{get required(){return this._required}set required(V){this._required=(0,k.he)(V)}get checked(){return this._checked}set checked(V){this._checked=(0,k.he)(V),this._changeDetectorRef.markForCheck()}get hideIcon(){return this._hideIcon}set hideIcon(V){this._hideIcon=(0,k.he)(V)}get inputId(){return`${this.id||this._uniqueId}-input`}constructor(V,mt,rt,$t,de,_e,Le){super(V),this._focusMonitor=mt,this._changeDetectorRef=rt,this.defaults=de,this._onChange=Ge=>{},this._onTouched=()=>{},this._required=!1,this._checked=!1,this.name=null,this.labelPosition="after",this.ariaLabel=null,this.ariaLabelledby=null,this._hideIcon=!1,this.change=new o.bkB,this.toggleChange=new o.bkB,this.tabIndex=parseInt($t)||0,this.color=this.defaultColor=de.color||"accent",this._noopAnimations="NoopAnimations"===_e,this.id=this._uniqueId=`${Le}${++M}`,this._hideIcon=de.hideIcon??!1}ngAfterContentInit(){this._focusMonitor.monitor(this._elementRef,!0).subscribe(V=>{"keyboard"===V||"program"===V?(this._focused=!0,this._changeDetectorRef.markForCheck()):V||Promise.resolve().then(()=>{this._focused=!1,this._onTouched(),this._changeDetectorRef.markForCheck()})})}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef)}writeValue(V){this.checked=!!V}registerOnChange(V){this._onChange=V}registerOnTouched(V){this._onTouched=V}setDisabledState(V){this.disabled=V,this._changeDetectorRef.markForCheck()}toggle(){this.checked=!this.checked,this._onChange(this.checked)}_emitChangeEvent(){this._onChange(this.checked),this.change.emit(this._createChangeEvent(this.checked))}static{this.\u0275fac=function(mt){o.QTQ()}}static{this.\u0275dir=o.FsC({type:$,inputs:{name:"name",id:"id",labelPosition:"labelPosition",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],ariaDescribedby:["aria-describedby","ariaDescribedby"],required:"required",checked:"checked",hideIcon:"hideIcon"},outputs:{change:"change",toggleChange:"toggleChange"},features:[o.Vt3]})}}return $})(),j=(()=>{class $ extends pt{get buttonId(){return`${this.id||this._uniqueId}-button`}constructor(V,mt,rt,$t,de,_e){super(V,mt,rt,$t,de,_e,"mat-mdc-slide-toggle-"),this._labelId=this._uniqueId+"-label"}_handleClick(){this.toggleChange.emit(),this.defaults.disableToggleValue||(this.checked=!this.checked,this._onChange(this.checked),this.change.emit(new K(this,this.checked)))}focus(){this._switchElement.nativeElement.focus()}_createChangeEvent(V){return new K(this,V)}_getAriaLabelledBy(){return this.ariaLabelledby?this.ariaLabelledby:this.ariaLabel?null:this._labelId}static{this.\u0275fac=function(mt){return new(mt||$)(o.rXU(o.aKT),o.rXU(b.FN),o.rXU(o.gRc),o.kS0("tabindex"),o.rXU(ot),o.rXU(o.bc$,8))}}static{this.\u0275cmp=o.VBU({type:$,selectors:[["mat-slide-toggle"]],viewQuery:function(mt,rt){if(1&mt&&o.GBs(P,5),2&mt){let $t;o.mGM($t=o.lsd())&&(rt._switchElement=$t.first)}},hostAttrs:[1,"mat-mdc-slide-toggle"],hostVars:11,hostBindings:function(mt,rt){2&mt&&(o.Mr5("id",rt.id),o.BMQ("tabindex",null)("aria-label",null)("name",null)("aria-labelledby",null),o.AVh("mat-mdc-slide-toggle-focused",rt._focused)("mat-mdc-slide-toggle-checked",rt.checked)("_mat-animation-noopable",rt._noopAnimations))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color",tabIndex:"tabIndex"},exportAs:["matSlideToggle"],features:[o.Jv_([q]),o.Vt3],ngContentSelectors:N,decls:13,vars:25,consts:[[1,"mdc-form-field"],["role","switch","type","button",1,"mdc-switch",3,"tabIndex","disabled","click"],["switch",""],[1,"mdc-switch__track"],[1,"mdc-switch__handle-track"],[1,"mdc-switch__handle"],[1,"mdc-switch__shadow"],[1,"mdc-elevation-overlay"],[1,"mdc-switch__ripple"],["mat-ripple","",1,"mat-mdc-slide-toggle-ripple","mat-mdc-focus-indicator",3,"matRippleTrigger","matRippleDisabled","matRippleCentered"],["class","mdc-switch__icons",4,"ngIf"],[1,"mdc-label",3,"for","click"],[1,"mdc-switch__icons"],["viewBox","0 0 24 24","aria-hidden","true",1,"mdc-switch__icon","mdc-switch__icon--on"],["d","M19.69,5.23L8.96,15.96l-4.23-4.23L2.96,13.5l6,6L21.46,7L19.69,5.23z"],["viewBox","0 0 24 24","aria-hidden","true",1,"mdc-switch__icon","mdc-switch__icon--off"],["d","M20 13H4v-2h16v2z"]],template:function(mt,rt){if(1&mt&&(o.NAR(),o.j41(0,"div",0)(1,"button",1,2),o.bIt("click",function(){return rt._handleClick()}),o.nrm(3,"div",3),o.j41(4,"div",4)(5,"div",5)(6,"div",6),o.nrm(7,"div",7),o.k0s(),o.j41(8,"div",8),o.nrm(9,"div",9),o.k0s(),o.DNE(10,Z,5,0,"div",10),o.k0s()()(),o.j41(11,"label",11),o.bIt("click",function(de){return de.stopPropagation()}),o.SdG(12),o.k0s()()),2&mt){const $t=o.sdS(2);o.AVh("mdc-form-field--align-end","before"==rt.labelPosition),o.R7$(1),o.AVh("mdc-switch--selected",rt.checked)("mdc-switch--unselected",!rt.checked)("mdc-switch--checked",rt.checked)("mdc-switch--disabled",rt.disabled),o.Y8G("tabIndex",rt.tabIndex)("disabled",rt.disabled),o.BMQ("id",rt.buttonId)("name",rt.name)("aria-label",rt.ariaLabel)("aria-labelledby",rt._getAriaLabelledBy())("aria-describedby",rt.ariaDescribedby)("aria-required",rt.required||null)("aria-checked",rt.checked),o.R7$(8),o.Y8G("matRippleTrigger",$t)("matRippleDisabled",rt.disableRipple||rt.disabled)("matRippleCentered",!0),o.R7$(1),o.Y8G("ngIf",!rt.hideIcon),o.R7$(1),o.Y8G("for",rt.buttonId),o.BMQ("id",rt._labelId)}},dependencies:[T.r6,G.bT],styles:['.mdc-form-field{display:inline-flex;align-items:center;vertical-align:middle}.mdc-form-field[hidden]{display:none}.mdc-form-field>label{margin-left:0;margin-right:auto;padding-left:4px;padding-right:0;order:0}[dir=rtl] .mdc-form-field>label,.mdc-form-field>label[dir=rtl]{margin-left:auto;margin-right:0}[dir=rtl] .mdc-form-field>label,.mdc-form-field>label[dir=rtl]{padding-left:0;padding-right:4px}.mdc-form-field--nowrap>label{text-overflow:ellipsis;overflow:hidden;white-space:nowrap}.mdc-form-field--align-end>label{margin-left:auto;margin-right:0;padding-left:0;padding-right:4px;order:-1}[dir=rtl] .mdc-form-field--align-end>label,.mdc-form-field--align-end>label[dir=rtl]{margin-left:0;margin-right:auto}[dir=rtl] .mdc-form-field--align-end>label,.mdc-form-field--align-end>label[dir=rtl]{padding-left:4px;padding-right:0}.mdc-form-field--space-between{justify-content:space-between}.mdc-form-field--space-between>label{margin:0}[dir=rtl] .mdc-form-field--space-between>label,.mdc-form-field--space-between>label[dir=rtl]{margin:0}.mdc-elevation-overlay{position:absolute;border-radius:inherit;pointer-events:none;opacity:var(--mdc-elevation-overlay-opacity);transition:opacity 280ms cubic-bezier(0.4, 0, 0.2, 1);background-color:var(--mdc-elevation-overlay-color)}.mdc-switch{align-items:center;background:none;border:none;cursor:pointer;display:inline-flex;flex-shrink:0;margin:0;outline:none;overflow:visible;padding:0;position:relative}.mdc-switch[hidden]{display:none}.mdc-switch:disabled{cursor:default;pointer-events:none}.mdc-switch__track{overflow:hidden;position:relative;width:100%}.mdc-switch__track::before,.mdc-switch__track::after{border:1px solid rgba(0,0,0,0);border-radius:inherit;box-sizing:border-box;content:"";height:100%;left:0;position:absolute;width:100%}@media screen and (forced-colors: active){.mdc-switch__track::before,.mdc-switch__track::after{border-color:currentColor}}.mdc-switch__track::before{transition:transform 75ms 0ms cubic-bezier(0, 0, 0.2, 1);transform:translateX(0)}.mdc-switch__track::after{transition:transform 75ms 0ms cubic-bezier(0.4, 0, 0.6, 1);transform:translateX(-100%)}[dir=rtl] .mdc-switch__track::after,.mdc-switch__track[dir=rtl]::after{transform:translateX(100%)}.mdc-switch--selected .mdc-switch__track::before{transition:transform 75ms 0ms cubic-bezier(0.4, 0, 0.6, 1);transform:translateX(100%)}[dir=rtl] .mdc-switch--selected .mdc-switch__track::before,.mdc-switch--selected .mdc-switch__track[dir=rtl]::before{transform:translateX(-100%)}.mdc-switch--selected .mdc-switch__track::after{transition:transform 75ms 0ms cubic-bezier(0, 0, 0.2, 1);transform:translateX(0)}.mdc-switch__handle-track{height:100%;pointer-events:none;position:absolute;top:0;transition:transform 75ms 0ms cubic-bezier(0.4, 0, 0.2, 1);left:0;right:auto;transform:translateX(0)}[dir=rtl] .mdc-switch__handle-track,.mdc-switch__handle-track[dir=rtl]{left:auto;right:0}.mdc-switch--selected .mdc-switch__handle-track{transform:translateX(100%)}[dir=rtl] .mdc-switch--selected .mdc-switch__handle-track,.mdc-switch--selected .mdc-switch__handle-track[dir=rtl]{transform:translateX(-100%)}.mdc-switch__handle{display:flex;pointer-events:auto;position:absolute;top:50%;transform:translateY(-50%);left:0;right:auto}[dir=rtl] .mdc-switch__handle,.mdc-switch__handle[dir=rtl]{left:auto;right:0}.mdc-switch__handle::before,.mdc-switch__handle::after{border:1px solid rgba(0,0,0,0);border-radius:inherit;box-sizing:border-box;content:"";width:100%;height:100%;left:0;position:absolute;top:0;transition:background-color 75ms 0ms cubic-bezier(0.4, 0, 0.2, 1),border-color 75ms 0ms cubic-bezier(0.4, 0, 0.2, 1);z-index:-1}@media screen and (forced-colors: active){.mdc-switch__handle::before,.mdc-switch__handle::after{border-color:currentColor}}.mdc-switch__shadow{border-radius:inherit;bottom:0;left:0;position:absolute;right:0;top:0}.mdc-elevation-overlay{bottom:0;left:0;right:0;top:0}.mdc-switch__ripple{left:50%;position:absolute;top:50%;transform:translate(-50%, -50%);z-index:-1}.mdc-switch:disabled .mdc-switch__ripple{display:none}.mdc-switch__icons{height:100%;position:relative;width:100%;z-index:1}.mdc-switch__icon{bottom:0;left:0;margin:auto;position:absolute;right:0;top:0;opacity:0;transition:opacity 30ms 0ms cubic-bezier(0.4, 0, 1, 1)}.mdc-switch--selected .mdc-switch__icon--on,.mdc-switch--unselected .mdc-switch__icon--off{opacity:1;transition:opacity 45ms 30ms cubic-bezier(0, 0, 0.2, 1)}.mdc-switch{width:var(--mdc-switch-track-width);--mdc-switch-disabled-handle-opacity:0.38;--mdc-switch-disabled-selected-icon-opacity:0.38;--mdc-switch-disabled-track-opacity:0.12;--mdc-switch-disabled-unselected-icon-opacity:0.38;--mdc-switch-handle-height:20px;--mdc-switch-handle-shape:10px;--mdc-switch-handle-width:20px;--mdc-switch-selected-icon-size:18px;--mdc-switch-track-height:14px;--mdc-switch-track-shape:7px;--mdc-switch-track-width:36px;--mdc-switch-unselected-icon-size:18px;--mdc-switch-state-layer-size:40px;--mdc-switch-selected-focus-state-layer-opacity:0.12;--mdc-switch-selected-hover-state-layer-opacity:0.04;--mdc-switch-selected-pressed-state-layer-opacity:0.1;--mdc-switch-unselected-focus-state-layer-opacity:0.12;--mdc-switch-unselected-hover-state-layer-opacity:0.04;--mdc-switch-unselected-pressed-state-layer-opacity:0.1}.mdc-switch.mdc-switch--selected:enabled .mdc-switch__handle::after{background:var(--mdc-switch-selected-handle-color)}.mdc-switch.mdc-switch--selected:enabled:hover:not(:focus):not(:active) .mdc-switch__handle::after{background:var(--mdc-switch-selected-hover-handle-color)}.mdc-switch.mdc-switch--selected:enabled:focus:not(:active) .mdc-switch__handle::after{background:var(--mdc-switch-selected-focus-handle-color)}.mdc-switch.mdc-switch--selected:enabled:active .mdc-switch__handle::after{background:var(--mdc-switch-selected-pressed-handle-color)}.mdc-switch.mdc-switch--selected:disabled .mdc-switch__handle::after{background:var(--mdc-switch-disabled-selected-handle-color)}.mdc-switch.mdc-switch--unselected:enabled .mdc-switch__handle::after{background:var(--mdc-switch-unselected-handle-color)}.mdc-switch.mdc-switch--unselected:enabled:hover:not(:focus):not(:active) .mdc-switch__handle::after{background:var(--mdc-switch-unselected-hover-handle-color)}.mdc-switch.mdc-switch--unselected:enabled:focus:not(:active) .mdc-switch__handle::after{background:var(--mdc-switch-unselected-focus-handle-color)}.mdc-switch.mdc-switch--unselected:enabled:active .mdc-switch__handle::after{background:var(--mdc-switch-unselected-pressed-handle-color)}.mdc-switch.mdc-switch--unselected:disabled .mdc-switch__handle::after{background:var(--mdc-switch-disabled-unselected-handle-color)}.mdc-switch .mdc-switch__handle::before{background:var(--mdc-switch-handle-surface-color)}.mdc-switch:enabled .mdc-switch__shadow{box-shadow:var(--mdc-switch-handle-elevation)}.mdc-switch:disabled .mdc-switch__shadow{box-shadow:var(--mdc-switch-disabled-handle-elevation)}.mdc-switch .mdc-switch__focus-ring-wrapper,.mdc-switch .mdc-switch__handle{height:var(--mdc-switch-handle-height)}.mdc-switch:disabled .mdc-switch__handle::after{opacity:var(--mdc-switch-disabled-handle-opacity)}.mdc-switch .mdc-switch__handle{border-radius:var(--mdc-switch-handle-shape)}.mdc-switch .mdc-switch__handle{width:var(--mdc-switch-handle-width)}.mdc-switch .mdc-switch__handle-track{width:calc(100% - var(--mdc-switch-handle-width))}.mdc-switch.mdc-switch--selected:enabled .mdc-switch__icon{fill:var(--mdc-switch-selected-icon-color)}.mdc-switch.mdc-switch--selected:disabled .mdc-switch__icon{fill:var(--mdc-switch-disabled-selected-icon-color)}.mdc-switch.mdc-switch--unselected:enabled .mdc-switch__icon{fill:var(--mdc-switch-unselected-icon-color)}.mdc-switch.mdc-switch--unselected:disabled .mdc-switch__icon{fill:var(--mdc-switch-disabled-unselected-icon-color)}.mdc-switch.mdc-switch--selected:disabled .mdc-switch__icons{opacity:var(--mdc-switch-disabled-selected-icon-opacity)}.mdc-switch.mdc-switch--unselected:disabled .mdc-switch__icons{opacity:var(--mdc-switch-disabled-unselected-icon-opacity)}.mdc-switch.mdc-switch--selected .mdc-switch__icon{width:var(--mdc-switch-selected-icon-size);height:var(--mdc-switch-selected-icon-size)}.mdc-switch.mdc-switch--unselected .mdc-switch__icon{width:var(--mdc-switch-unselected-icon-size);height:var(--mdc-switch-unselected-icon-size)}.mdc-switch.mdc-switch--selected:enabled:hover:not(:focus) .mdc-switch__ripple::before,.mdc-switch.mdc-switch--selected:enabled:hover:not(:focus) .mdc-switch__ripple::after{background-color:var(--mdc-switch-selected-hover-state-layer-color)}.mdc-switch.mdc-switch--selected:enabled:focus .mdc-switch__ripple::before,.mdc-switch.mdc-switch--selected:enabled:focus .mdc-switch__ripple::after{background-color:var(--mdc-switch-selected-focus-state-layer-color)}.mdc-switch.mdc-switch--selected:enabled:active .mdc-switch__ripple::before,.mdc-switch.mdc-switch--selected:enabled:active .mdc-switch__ripple::after{background-color:var(--mdc-switch-selected-pressed-state-layer-color)}.mdc-switch.mdc-switch--unselected:enabled:hover:not(:focus) .mdc-switch__ripple::before,.mdc-switch.mdc-switch--unselected:enabled:hover:not(:focus) .mdc-switch__ripple::after{background-color:var(--mdc-switch-unselected-hover-state-layer-color)}.mdc-switch.mdc-switch--unselected:enabled:focus .mdc-switch__ripple::before,.mdc-switch.mdc-switch--unselected:enabled:focus .mdc-switch__ripple::after{background-color:var(--mdc-switch-unselected-focus-state-layer-color)}.mdc-switch.mdc-switch--unselected:enabled:active .mdc-switch__ripple::before,.mdc-switch.mdc-switch--unselected:enabled:active .mdc-switch__ripple::after{background-color:var(--mdc-switch-unselected-pressed-state-layer-color)}.mdc-switch.mdc-switch--selected:enabled:hover:not(:focus):hover .mdc-switch__ripple::before,.mdc-switch.mdc-switch--selected:enabled:hover:not(:focus).mdc-ripple-surface--hover .mdc-switch__ripple::before{opacity:var(--mdc-switch-selected-hover-state-layer-opacity)}.mdc-switch.mdc-switch--selected:enabled:focus.mdc-ripple-upgraded--background-focused .mdc-switch__ripple::before,.mdc-switch.mdc-switch--selected:enabled:focus:not(.mdc-ripple-upgraded):focus .mdc-switch__ripple::before{transition-duration:75ms;opacity:var(--mdc-switch-selected-focus-state-layer-opacity)}.mdc-switch.mdc-switch--selected:enabled:active:not(.mdc-ripple-upgraded) .mdc-switch__ripple::after{transition:opacity 150ms linear}.mdc-switch.mdc-switch--selected:enabled:active:not(.mdc-ripple-upgraded):active .mdc-switch__ripple::after{transition-duration:75ms;opacity:var(--mdc-switch-selected-pressed-state-layer-opacity)}.mdc-switch.mdc-switch--selected:enabled:active.mdc-ripple-upgraded{--mdc-ripple-fg-opacity:var(--mdc-switch-selected-pressed-state-layer-opacity)}.mdc-switch.mdc-switch--unselected:enabled:hover:not(:focus):hover .mdc-switch__ripple::before,.mdc-switch.mdc-switch--unselected:enabled:hover:not(:focus).mdc-ripple-surface--hover .mdc-switch__ripple::before{opacity:var(--mdc-switch-unselected-hover-state-layer-opacity)}.mdc-switch.mdc-switch--unselected:enabled:focus.mdc-ripple-upgraded--background-focused .mdc-switch__ripple::before,.mdc-switch.mdc-switch--unselected:enabled:focus:not(.mdc-ripple-upgraded):focus .mdc-switch__ripple::before{transition-duration:75ms;opacity:var(--mdc-switch-unselected-focus-state-layer-opacity)}.mdc-switch.mdc-switch--unselected:enabled:active:not(.mdc-ripple-upgraded) .mdc-switch__ripple::after{transition:opacity 150ms linear}.mdc-switch.mdc-switch--unselected:enabled:active:not(.mdc-ripple-upgraded):active .mdc-switch__ripple::after{transition-duration:75ms;opacity:var(--mdc-switch-unselected-pressed-state-layer-opacity)}.mdc-switch.mdc-switch--unselected:enabled:active.mdc-ripple-upgraded{--mdc-ripple-fg-opacity:var(--mdc-switch-unselected-pressed-state-layer-opacity)}.mdc-switch .mdc-switch__ripple{height:var(--mdc-switch-state-layer-size);width:var(--mdc-switch-state-layer-size)}.mdc-switch .mdc-switch__track{height:var(--mdc-switch-track-height)}.mdc-switch:disabled .mdc-switch__track{opacity:var(--mdc-switch-disabled-track-opacity)}.mdc-switch:enabled .mdc-switch__track::after{background:var(--mdc-switch-selected-track-color)}.mdc-switch:enabled:hover:not(:focus):not(:active) .mdc-switch__track::after{background:var(--mdc-switch-selected-hover-track-color)}.mdc-switch:enabled:focus:not(:active) .mdc-switch__track::after{background:var(--mdc-switch-selected-focus-track-color)}.mdc-switch:enabled:active .mdc-switch__track::after{background:var(--mdc-switch-selected-pressed-track-color)}.mdc-switch:disabled .mdc-switch__track::after{background:var(--mdc-switch-disabled-selected-track-color)}.mdc-switch:enabled .mdc-switch__track::before{background:var(--mdc-switch-unselected-track-color)}.mdc-switch:enabled:hover:not(:focus):not(:active) .mdc-switch__track::before{background:var(--mdc-switch-unselected-hover-track-color)}.mdc-switch:enabled:focus:not(:active) .mdc-switch__track::before{background:var(--mdc-switch-unselected-focus-track-color)}.mdc-switch:enabled:active .mdc-switch__track::before{background:var(--mdc-switch-unselected-pressed-track-color)}.mdc-switch:disabled .mdc-switch__track::before{background:var(--mdc-switch-disabled-unselected-track-color)}.mdc-switch .mdc-switch__track{border-radius:var(--mdc-switch-track-shape)}.mdc-switch:enabled .mdc-switch__shadow{box-shadow:var(--mdc-switch-handle-elevation-shadow)}.mdc-switch:disabled .mdc-switch__shadow{box-shadow:var(--mdc-switch-disabled-handle-elevation-shadow)}.mat-mdc-slide-toggle .mdc-label{font-family:var(--mat-slide-toggle-label-text-font);font-size:var(--mat-slide-toggle-label-text-size);letter-spacing:var(--mat-slide-toggle-label-text-tracking);line-height:var(--mat-slide-toggle-label-text-line-height);font-weight:var(--mat-slide-toggle-label-text-weight)}.mat-mdc-slide-toggle{display:inline-block;-webkit-tap-highlight-color:rgba(0,0,0,0);outline:0}.mat-mdc-slide-toggle .mat-mdc-slide-toggle-ripple,.mat-mdc-slide-toggle .mdc-switch__ripple::after{top:0;left:0;right:0;bottom:0;position:absolute;border-radius:50%;pointer-events:none}.mat-mdc-slide-toggle .mat-mdc-slide-toggle-ripple:not(:empty),.mat-mdc-slide-toggle .mdc-switch__ripple::after:not(:empty){transform:translateZ(0)}.mat-mdc-slide-toggle .mdc-switch__ripple::after{content:"";opacity:0}.mat-mdc-slide-toggle .mdc-switch:hover .mdc-switch__ripple::after{opacity:.04;transition:opacity 75ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mat-mdc-slide-toggle.mat-mdc-slide-toggle-focused .mdc-switch .mdc-switch__ripple::after{opacity:.12}.mat-mdc-slide-toggle.mat-mdc-slide-toggle-focused .mat-mdc-focus-indicator::before{content:""}.mat-mdc-slide-toggle .mat-ripple-element{opacity:.12}.mat-mdc-slide-toggle .mat-mdc-focus-indicator::before{border-radius:50%}.mat-mdc-slide-toggle._mat-animation-noopable .mdc-switch__handle-track,.mat-mdc-slide-toggle._mat-animation-noopable .mdc-elevation-overlay,.mat-mdc-slide-toggle._mat-animation-noopable .mdc-switch__icon,.mat-mdc-slide-toggle._mat-animation-noopable .mdc-switch__handle::before,.mat-mdc-slide-toggle._mat-animation-noopable .mdc-switch__handle::after,.mat-mdc-slide-toggle._mat-animation-noopable .mdc-switch__track::before,.mat-mdc-slide-toggle._mat-animation-noopable .mdc-switch__track::after{transition:none}.mat-mdc-slide-toggle .mdc-switch:enabled+.mdc-label{cursor:pointer}'],encapsulation:2,changeDetection:0})}}return $})(),Gt=(()=>{class ${static{this.\u0275fac=function(mt){return new(mt||$)}}static{this.\u0275mod=o.$C({type:$})}static{this.\u0275inj=o.G2t({})}}return $})(),te=(()=>{class ${static{this.\u0275fac=function(mt){return new(mt||$)}}static{this.\u0275mod=o.$C({type:$})}static{this.\u0275inj=o.G2t({imports:[Gt,T.yE,T.pZ,G.MD,Gt,T.yE]})}}return $})()},39258:(Ce,Lt,r)=>{r.d(Lt,{TQ:()=>bt,UG:()=>Ve,_T:()=>Le,ht:()=>Gt});var o=r(1843),y=r(89115),b=r(18331),T=r(68660),k=r(89411),G=r(86953),P=r(29094),Z=r(89371),N=r(73907),ot=r(83607),q=r(89369),K=r(3819),M=r(42250);function a(Oe,Qe){if(1&Oe){const be=o.RV6();o.j41(0,"div",2)(1,"button",3),o.bIt("click",function(){o.eBV(be);const yt=o.XpG();return o.Njj(yt.action())}),o.EFF(2),o.k0s()()}if(2&Oe){const be=o.XpG();o.R7$(2),o.SpI(" ",be.data.action," ")}}const pt=["label"];function j(Oe,Qe){}const J=Math.pow(2,31)-1;class bt{constructor(Qe,be){this._overlayRef=be,this._afterDismissed=new y.B,this._afterOpened=new y.B,this._onAction=new y.B,this._dismissedByAction=!1,this.containerInstance=Qe,Qe._onExit.subscribe(()=>this._finishDismiss())}dismiss(){this._afterDismissed.closed||this.containerInstance.exit(),clearTimeout(this._durationTimeoutId)}dismissWithAction(){this._onAction.closed||(this._dismissedByAction=!0,this._onAction.next(),this._onAction.complete(),this.dismiss()),clearTimeout(this._durationTimeoutId)}closeWithAction(){this.dismissWithAction()}_dismissAfter(Qe){this._durationTimeoutId=setTimeout(()=>this.dismiss(),Math.min(Qe,J))}_open(){this._afterOpened.closed||(this._afterOpened.next(),this._afterOpened.complete())}_finishDismiss(){this._overlayRef.dispose(),this._onAction.closed||this._onAction.complete(),this._afterDismissed.next({dismissedByAction:this._dismissedByAction}),this._afterDismissed.complete(),this._dismissedByAction=!1}afterDismissed(){return this._afterDismissed}afterOpened(){return this.containerInstance._onEnter}onAction(){return this._onAction}}const Gt=new o.nKC("MatSnackBarData");class te{constructor(){this.politeness="assertive",this.announcementMessage="",this.duration=0,this.data=null,this.horizontalPosition="center",this.verticalPosition="bottom"}}let $=(()=>{class Oe{static{this.\u0275fac=function(Me){return new(Me||Oe)}}static{this.\u0275dir=o.FsC({type:Oe,selectors:[["","matSnackBarLabel",""]],hostAttrs:[1,"mat-mdc-snack-bar-label","mdc-snackbar__label"]})}}return Oe})(),lt=(()=>{class Oe{static{this.\u0275fac=function(Me){return new(Me||Oe)}}static{this.\u0275dir=o.FsC({type:Oe,selectors:[["","matSnackBarActions",""]],hostAttrs:[1,"mat-mdc-snack-bar-actions","mdc-snackbar__actions"]})}}return Oe})(),V=(()=>{class Oe{static{this.\u0275fac=function(Me){return new(Me||Oe)}}static{this.\u0275dir=o.FsC({type:Oe,selectors:[["","matSnackBarAction",""]],hostAttrs:[1,"mat-mdc-snack-bar-action","mdc-snackbar__action"]})}}return Oe})(),mt=(()=>{class Oe{constructor(be,Me){this.snackBarRef=be,this.data=Me}action(){this.snackBarRef.dismissWithAction()}get hasAction(){return!!this.data.action}static{this.\u0275fac=function(Me){return new(Me||Oe)(o.rXU(bt),o.rXU(Gt))}}static{this.\u0275cmp=o.VBU({type:Oe,selectors:[["simple-snack-bar"]],hostAttrs:[1,"mat-mdc-simple-snack-bar"],exportAs:["matSnackBar"],decls:3,vars:2,consts:[["matSnackBarLabel",""],["matSnackBarActions","",4,"ngIf"],["matSnackBarActions",""],["mat-button","","matSnackBarAction","",3,"click"]],template:function(Me,yt){1&Me&&(o.j41(0,"div",0),o.EFF(1),o.k0s(),o.DNE(2,a,3,1,"div",1)),2&Me&&(o.R7$(1),o.SpI(" ",yt.data.message,"\n"),o.R7$(1),o.Y8G("ngIf",yt.hasAction))},dependencies:[b.bT,T.$z,$,lt,V],styles:[".mat-mdc-simple-snack-bar{display:flex}"],encapsulation:2,changeDetection:0})}}return Oe})();const rt={snackBarState:(0,k.hZ)("state",[(0,k.wk)("void, hidden",(0,k.iF)({transform:"scale(0.8)",opacity:0})),(0,k.wk)("visible",(0,k.iF)({transform:"scale(1)",opacity:1})),(0,k.kY)("* => visible",(0,k.i0)("150ms cubic-bezier(0, 0, 0.2, 1)")),(0,k.kY)("* => void, * => hidden",(0,k.i0)("75ms cubic-bezier(0.4, 0.0, 1, 1)",(0,k.iF)({opacity:0})))])};let $t=0,de=(()=>{class Oe extends G.lb{constructor(be,Me,yt,Kt,Nt){super(),this._ngZone=be,this._elementRef=Me,this._changeDetectorRef=yt,this._platform=Kt,this.snackBarConfig=Nt,this._document=(0,o.WQX)(b.qQ),this._trackedModals=new Set,this._announceDelay=150,this._destroyed=!1,this._onAnnounce=new y.B,this._onExit=new y.B,this._onEnter=new y.B,this._animationState="void",this._liveElementId="mat-snack-bar-container-live-"+$t++,this.attachDomPortal=Tt=>{this._assertNotAttached();const Yt=this._portalOutlet.attachDomPortal(Tt);return this._afterPortalAttached(),Yt},this._live="assertive"!==Nt.politeness||Nt.announcementMessage?"off"===Nt.politeness?"off":"polite":"assertive",this._platform.FIREFOX&&("polite"===this._live&&(this._role="status"),"assertive"===this._live&&(this._role="alert"))}attachComponentPortal(be){this._assertNotAttached();const Me=this._portalOutlet.attachComponentPortal(be);return this._afterPortalAttached(),Me}attachTemplatePortal(be){this._assertNotAttached();const Me=this._portalOutlet.attachTemplatePortal(be);return this._afterPortalAttached(),Me}onAnimationEnd(be){const{fromState:Me,toState:yt}=be;if(("void"===yt&&"void"!==Me||"hidden"===yt)&&this._completeExit(),"visible"===yt){const Kt=this._onEnter;this._ngZone.run(()=>{Kt.next(),Kt.complete()})}}enter(){this._destroyed||(this._animationState="visible",this._changeDetectorRef.detectChanges(),this._screenReaderAnnounce())}exit(){return this._ngZone.run(()=>{this._animationState="hidden",this._elementRef.nativeElement.setAttribute("mat-exit",""),clearTimeout(this._announceTimeoutId)}),this._onExit}ngOnDestroy(){this._destroyed=!0,this._clearFromModals(),this._completeExit()}_completeExit(){this._ngZone.onMicrotaskEmpty.pipe((0,Z.s)(1)).subscribe(()=>{this._ngZone.run(()=>{this._onExit.next(),this._onExit.complete()})})}_afterPortalAttached(){const be=this._elementRef.nativeElement,Me=this.snackBarConfig.panelClass;Me&&(Array.isArray(Me)?Me.forEach(yt=>be.classList.add(yt)):be.classList.add(Me)),this._exposeToModals()}_exposeToModals(){const be=this._liveElementId,Me=this._document.querySelectorAll('body > .cdk-overlay-container [aria-modal="true"]');for(let yt=0;yt{const Me=be.getAttribute("aria-owns");if(Me){const yt=Me.replace(this._liveElementId,"").trim();yt.length>0?be.setAttribute("aria-owns",yt):be.removeAttribute("aria-owns")}}),this._trackedModals.clear()}_assertNotAttached(){this._portalOutlet.hasAttached()}_screenReaderAnnounce(){this._announceTimeoutId||this._ngZone.runOutsideAngular(()=>{this._announceTimeoutId=setTimeout(()=>{const be=this._elementRef.nativeElement.querySelector("[aria-hidden]"),Me=this._elementRef.nativeElement.querySelector("[aria-live]");if(be&&Me){let yt=null;this._platform.isBrowser&&document.activeElement instanceof HTMLElement&&be.contains(document.activeElement)&&(yt=document.activeElement),be.removeAttribute("aria-hidden"),Me.appendChild(be),yt?.focus(),this._onAnnounce.next(),this._onAnnounce.complete()}},this._announceDelay)})}static{this.\u0275fac=function(Me){return new(Me||Oe)(o.rXU(o.SKi),o.rXU(o.aKT),o.rXU(o.gRc),o.rXU(P.OD),o.rXU(te))}}static{this.\u0275dir=o.FsC({type:Oe,viewQuery:function(Me,yt){if(1&Me&&o.GBs(G.I3,7),2&Me){let Kt;o.mGM(Kt=o.lsd())&&(yt._portalOutlet=Kt.first)}},features:[o.Vt3]})}}return Oe})(),_e=(()=>{class Oe extends de{_afterPortalAttached(){super._afterPortalAttached();const be=this._label.nativeElement,Me="mdc-snackbar__label";be.classList.toggle(Me,!be.querySelector(`.${Me}`))}static{this.\u0275fac=function(){let be;return function(yt){return(be||(be=o.xGo(Oe)))(yt||Oe)}}()}static{this.\u0275cmp=o.VBU({type:Oe,selectors:[["mat-snack-bar-container"]],viewQuery:function(Me,yt){if(1&Me&&o.GBs(pt,7),2&Me){let Kt;o.mGM(Kt=o.lsd())&&(yt._label=Kt.first)}},hostAttrs:[1,"mdc-snackbar","mat-mdc-snack-bar-container","mdc-snackbar--open"],hostVars:1,hostBindings:function(Me,yt){1&Me&&o.Kam("@state.done",function(Nt){return yt.onAnimationEnd(Nt)}),2&Me&&o.zvX("@state",yt._animationState)},features:[o.Vt3],decls:6,vars:3,consts:[[1,"mdc-snackbar__surface"],[1,"mat-mdc-snack-bar-label"],["label",""],["aria-hidden","true"],["cdkPortalOutlet",""]],template:function(Me,yt){1&Me&&(o.j41(0,"div",0)(1,"div",1,2)(3,"div",3),o.DNE(4,j,0,0,"ng-template",4),o.k0s(),o.nrm(5,"div"),o.k0s()()),2&Me&&(o.R7$(5),o.BMQ("aria-live",yt._live)("role",yt._role)("id",yt._liveElementId))},dependencies:[G.I3],styles:['.mdc-snackbar{display:none;position:fixed;right:0;bottom:0;left:0;align-items:center;justify-content:center;box-sizing:border-box;pointer-events:none;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mdc-snackbar--opening,.mdc-snackbar--open,.mdc-snackbar--closing{display:flex}.mdc-snackbar--open .mdc-snackbar__label,.mdc-snackbar--open .mdc-snackbar__actions{visibility:visible}.mdc-snackbar__surface{padding-left:0;padding-right:8px;display:flex;align-items:center;justify-content:flex-start;box-sizing:border-box;transform:scale(0.8);opacity:0}.mdc-snackbar__surface::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:1px solid rgba(0,0,0,0);border-radius:inherit;content:"";pointer-events:none}@media screen and (forced-colors: active){.mdc-snackbar__surface::before{border-color:CanvasText}}[dir=rtl] .mdc-snackbar__surface,.mdc-snackbar__surface[dir=rtl]{padding-left:8px;padding-right:0}.mdc-snackbar--open .mdc-snackbar__surface{transform:scale(1);opacity:1;pointer-events:auto}.mdc-snackbar--closing .mdc-snackbar__surface{transform:scale(1)}.mdc-snackbar__label{padding-left:16px;padding-right:8px;width:100%;flex-grow:1;box-sizing:border-box;margin:0;visibility:hidden;padding-top:14px;padding-bottom:14px}[dir=rtl] .mdc-snackbar__label,.mdc-snackbar__label[dir=rtl]{padding-left:8px;padding-right:16px}.mdc-snackbar__label::before{display:inline;content:attr(data-mdc-snackbar-label-text)}.mdc-snackbar__actions{display:flex;flex-shrink:0;align-items:center;box-sizing:border-box;visibility:hidden}.mdc-snackbar__action+.mdc-snackbar__dismiss{margin-left:8px;margin-right:0}[dir=rtl] .mdc-snackbar__action+.mdc-snackbar__dismiss,.mdc-snackbar__action+.mdc-snackbar__dismiss[dir=rtl]{margin-left:0;margin-right:8px}.mat-mdc-snack-bar-container{margin:8px;--mdc-snackbar-container-shape:4px;position:static}.mat-mdc-snack-bar-container .mdc-snackbar__surface{min-width:344px}@media(max-width: 480px),(max-width: 344px){.mat-mdc-snack-bar-container .mdc-snackbar__surface{min-width:100%}}@media(max-width: 480px),(max-width: 344px){.mat-mdc-snack-bar-container{width:100vw}}.mat-mdc-snack-bar-container .mdc-snackbar__surface{max-width:672px}.mat-mdc-snack-bar-container .mdc-snackbar__surface{box-shadow:0px 3px 5px -1px rgba(0, 0, 0, 0.2), 0px 6px 10px 0px rgba(0, 0, 0, 0.14), 0px 1px 18px 0px rgba(0, 0, 0, 0.12)}.mat-mdc-snack-bar-container .mdc-snackbar__surface{background-color:var(--mdc-snackbar-container-color)}.mat-mdc-snack-bar-container .mdc-snackbar__surface{border-radius:var(--mdc-snackbar-container-shape)}.mat-mdc-snack-bar-container .mdc-snackbar__label{color:var(--mdc-snackbar-supporting-text-color)}.mat-mdc-snack-bar-container .mdc-snackbar__label{font-size:var(--mdc-snackbar-supporting-text-size);font-family:var(--mdc-snackbar-supporting-text-font);font-weight:var(--mdc-snackbar-supporting-text-weight);line-height:var(--mdc-snackbar-supporting-text-line-height)}.mat-mdc-snack-bar-container .mat-mdc-button.mat-mdc-snack-bar-action:not(:disabled){color:var(--mat-snack-bar-button-color);--mat-mdc-button-persistent-ripple-color: currentColor}.mat-mdc-snack-bar-container .mat-mdc-button.mat-mdc-snack-bar-action:not(:disabled) .mat-ripple-element{background-color:currentColor;opacity:.1}.mat-mdc-snack-bar-container .mdc-snackbar__label::before{display:none}.mat-mdc-snack-bar-handset,.mat-mdc-snack-bar-container,.mat-mdc-snack-bar-label{flex:1 1 auto}.mat-mdc-snack-bar-handset .mdc-snackbar__surface{width:100%}'],encapsulation:2,data:{animation:[rt.snackBarState]}})}}return Oe})(),Le=(()=>{class Oe{static{this.\u0275fac=function(Me){return new(Me||Oe)}}static{this.\u0275mod=o.$C({type:Oe})}static{this.\u0275inj=o.G2t({imports:[K.z_,G.jc,b.MD,T.Hl,M.yE,M.yE]})}}return Oe})();const Xe=new o.nKC("mat-snack-bar-default-options",{providedIn:"root",factory:function Ge(){return new te}});let ye=(()=>{class Oe{get _openedSnackBarRef(){const be=this._parentSnackBar;return be?be._openedSnackBarRef:this._snackBarRefAtThisLevel}set _openedSnackBarRef(be){this._parentSnackBar?this._parentSnackBar._openedSnackBarRef=be:this._snackBarRefAtThisLevel=be}constructor(be,Me,yt,Kt,Nt,Tt){this._overlay=be,this._live=Me,this._injector=yt,this._breakpointObserver=Kt,this._parentSnackBar=Nt,this._defaultConfig=Tt,this._snackBarRefAtThisLevel=null}openFromComponent(be,Me){return this._attach(be,Me)}openFromTemplate(be,Me){return this._attach(be,Me)}open(be,Me="",yt){const Kt={...this._defaultConfig,...yt};return Kt.data={message:be,action:Me},Kt.announcementMessage===be&&(Kt.announcementMessage=void 0),this.openFromComponent(this.simpleSnackBarComponent,Kt)}dismiss(){this._openedSnackBarRef&&this._openedSnackBarRef.dismiss()}ngOnDestroy(){this._snackBarRefAtThisLevel&&this._snackBarRefAtThisLevel.dismiss()}_attachSnackBarContainer(be,Me){const Kt=o.zZn.create({parent:Me&&Me.viewContainerRef&&Me.viewContainerRef.injector||this._injector,providers:[{provide:te,useValue:Me}]}),Nt=new G.A8(this.snackBarContainerComponent,Me.viewContainerRef,Kt),Tt=be.attach(Nt);return Tt.instance.snackBarConfig=Me,Tt.instance}_attach(be,Me){const yt={...new te,...this._defaultConfig,...Me},Kt=this._createOverlay(yt),Nt=this._attachSnackBarContainer(Kt,yt),Tt=new bt(Nt,Kt);if(be instanceof o.C4Q){const Yt=new G.VA(be,null,{$implicit:yt.data,snackBarRef:Tt});Tt.instance=Nt.attachTemplatePortal(Yt)}else{const Yt=this._createInjector(yt,Tt),Ut=new G.A8(be,void 0,Yt),Ne=Nt.attachComponentPortal(Ut);Tt.instance=Ne.instance}return this._breakpointObserver.observe(q.Rp.HandsetPortrait).pipe((0,N.Q)(Kt.detachments())).subscribe(Yt=>{Kt.overlayElement.classList.toggle(this.handsetCssClass,Yt.matches)}),yt.announcementMessage&&Nt._onAnnounce.subscribe(()=>{this._live.announce(yt.announcementMessage,yt.politeness)}),this._animateSnackBar(Tt,yt),this._openedSnackBarRef=Tt,this._openedSnackBarRef}_animateSnackBar(be,Me){be.afterDismissed().subscribe(()=>{this._openedSnackBarRef==be&&(this._openedSnackBarRef=null),Me.announcementMessage&&this._live.clear()}),this._openedSnackBarRef?(this._openedSnackBarRef.afterDismissed().subscribe(()=>{be.containerInstance.enter()}),this._openedSnackBarRef.dismiss()):be.containerInstance.enter(),Me.duration&&Me.duration>0&&be.afterOpened().subscribe(()=>be._dismissAfter(Me.duration))}_createOverlay(be){const Me=new K.rR;Me.direction=be.direction;let yt=this._overlay.position().global();const Kt="rtl"===be.direction,Nt="left"===be.horizontalPosition||"start"===be.horizontalPosition&&!Kt||"end"===be.horizontalPosition&&Kt,Tt=!Nt&&"center"!==be.horizontalPosition;return Nt?yt.left("0"):Tt?yt.right("0"):yt.centerHorizontally(),"top"===be.verticalPosition?yt.top("0"):yt.bottom("0"),Me.positionStrategy=yt,this._overlay.create(Me)}_createInjector(be,Me){return o.zZn.create({parent:be&&be.viewContainerRef&&be.viewContainerRef.injector||this._injector,providers:[{provide:bt,useValue:Me},{provide:Gt,useValue:be.data}]})}static{this.\u0275fac=function(Me){return new(Me||Oe)(o.KVO(K.hJ),o.KVO(ot.Ai),o.KVO(o.zZn),o.KVO(q.QP),o.KVO(Oe,12),o.KVO(Xe))}}static{this.\u0275prov=o.jDH({token:Oe,factory:Oe.\u0275fac})}}return Oe})(),Ve=(()=>{class Oe extends ye{constructor(be,Me,yt,Kt,Nt,Tt){super(be,Me,yt,Kt,Nt,Tt),this.simpleSnackBarComponent=mt,this.snackBarContainerComponent=_e,this.handsetCssClass="mat-mdc-snack-bar-handset"}static{this.\u0275fac=function(Me){return new(Me||Oe)(o.KVO(K.hJ),o.KVO(ot.Ai),o.KVO(o.zZn),o.KVO(q.QP),o.KVO(Oe,12),o.KVO(Xe))}}static{this.\u0275prov=o.jDH({token:Oe,factory:Oe.\u0275fac,providedIn:Le})}}return Oe})()},83545:(Ce,Lt,r)=>{r.d(Lt,{KQ:()=>N,s5:()=>q});var o=r(1843),y=r(42250),b=r(29094),T=r(18331);const k=["*",[["mat-toolbar-row"]]],G=["*","mat-toolbar-row"],P=(0,y.Zc)(class{constructor(K){this._elementRef=K}});let Z=(()=>{class K{static{this.\u0275fac=function(pt){return new(pt||K)}}static{this.\u0275dir=o.FsC({type:K,selectors:[["mat-toolbar-row"]],hostAttrs:[1,"mat-toolbar-row"],exportAs:["matToolbarRow"]})}}return K})(),N=(()=>{class K extends P{constructor(a,pt,j){super(a),this._platform=pt,this._document=j}ngAfterViewInit(){this._platform.isBrowser&&(this._checkToolbarMixedModes(),this._toolbarRows.changes.subscribe(()=>this._checkToolbarMixedModes()))}_checkToolbarMixedModes(){}static{this.\u0275fac=function(pt){return new(pt||K)(o.rXU(o.aKT),o.rXU(b.OD),o.rXU(T.qQ))}}static{this.\u0275cmp=o.VBU({type:K,selectors:[["mat-toolbar"]],contentQueries:function(pt,j,J){if(1&pt&&o.wni(J,Z,5),2&pt){let bt;o.mGM(bt=o.lsd())&&(j._toolbarRows=bt)}},hostAttrs:[1,"mat-toolbar"],hostVars:4,hostBindings:function(pt,j){2&pt&&o.AVh("mat-toolbar-multiple-rows",j._toolbarRows.length>0)("mat-toolbar-single-row",0===j._toolbarRows.length)},inputs:{color:"color"},exportAs:["matToolbar"],features:[o.Vt3],ngContentSelectors:G,decls:2,vars:0,template:function(pt,j){1&pt&&(o.NAR(k),o.SdG(0),o.SdG(1,1))},styles:[".mat-toolbar{background:var(--mat-toolbar-container-background-color);color:var(--mat-toolbar-container-text-color)}.mat-toolbar,.mat-toolbar h1,.mat-toolbar h2,.mat-toolbar h3,.mat-toolbar h4,.mat-toolbar h5,.mat-toolbar h6{font-family:var(--mat-toolbar-title-text-font);font-size:var(--mat-toolbar-title-text-size);line-height:var(--mat-toolbar-title-text-line-height);font-weight:var(--mat-toolbar-title-text-weight);letter-spacing:var(--mat-toolbar-title-text-tracking);margin:0}.cdk-high-contrast-active .mat-toolbar{outline:solid 1px}.mat-toolbar .mat-form-field-underline,.mat-toolbar .mat-form-field-ripple,.mat-toolbar .mat-focused .mat-form-field-ripple{background-color:currentColor}.mat-toolbar .mat-form-field-label,.mat-toolbar .mat-focused .mat-form-field-label,.mat-toolbar .mat-select-value,.mat-toolbar .mat-select-arrow,.mat-toolbar .mat-form-field.mat-focused .mat-select-arrow{color:inherit}.mat-toolbar .mat-input-element{caret-color:currentColor}.mat-toolbar .mat-mdc-button-base.mat-mdc-button-base.mat-unthemed{--mdc-text-button-label-text-color: inherit;--mdc-outlined-button-label-text-color: inherit}.mat-toolbar-row,.mat-toolbar-single-row{display:flex;box-sizing:border-box;padding:0 16px;width:100%;flex-direction:row;align-items:center;white-space:nowrap;height:var(--mat-toolbar-standard-height)}@media(max-width: 599px){.mat-toolbar-row,.mat-toolbar-single-row{height:var(--mat-toolbar-mobile-height)}}.mat-toolbar-multiple-rows{display:flex;box-sizing:border-box;flex-direction:column;width:100%;min-height:var(--mat-toolbar-standard-height)}@media(max-width: 599px){.mat-toolbar-multiple-rows{min-height:var(--mat-toolbar-mobile-height)}}"],encapsulation:2,changeDetection:0})}}return K})(),q=(()=>{class K{static{this.\u0275fac=function(pt){return new(pt||K)}}static{this.\u0275mod=o.$C({type:K})}static{this.\u0275inj=o.G2t({imports:[y.yE,y.yE]})}}return K})()},71499:(Ce,Lt,r)=>{r.d(Lt,{B7:()=>$t,B8:()=>Kt,Bb:()=>Qt,hE:()=>je,up:()=>_n});var o=r(1843),y=r(18331);class b extends y.VF{constructor(){super(...arguments),this.supportsDOMEvents=!0}}class T extends b{static makeCurrent(){(0,y.ZD)(new T)}onAndCancel(Ct,U,A){return Ct.addEventListener(U,A),()=>{Ct.removeEventListener(U,A)}}dispatchEvent(Ct,U){Ct.dispatchEvent(U)}remove(Ct){Ct.parentNode&&Ct.parentNode.removeChild(Ct)}createElement(Ct,U){return(U=U||this.getDefaultDocument()).createElement(Ct)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(Ct){return Ct.nodeType===Node.ELEMENT_NODE}isShadowRoot(Ct){return Ct instanceof DocumentFragment}getGlobalEventTarget(Ct,U){return"window"===U?window:"document"===U?Ct:"body"===U?Ct.body:null}getBaseHref(Ct){const U=function G(){return k=k||document.querySelector("base"),k?k.getAttribute("href"):null}();return null==U?null:function Z(Zt){P=P||document.createElement("a"),P.setAttribute("href",Zt);const Ct=P.pathname;return"/"===Ct.charAt(0)?Ct:`/${Ct}`}(U)}resetBaseElement(){k=null}getUserAgent(){return window.navigator.userAgent}getCookie(Ct){return(0,y._b)(document.cookie,Ct)}}let P,k=null,ot=(()=>{class Zt{build(){return new XMLHttpRequest}static{this.\u0275fac=function(A){return new(A||Zt)}}static{this.\u0275prov=o.jDH({token:Zt,factory:Zt.\u0275fac})}}return Zt})();const q=new o.nKC("EventManagerPlugins");let K=(()=>{class Zt{constructor(U,A){this._zone=A,this._eventNameToPlugin=new Map,U.forEach(xt=>{xt.manager=this}),this._plugins=U.slice().reverse()}addEventListener(U,A,xt){return this._findPluginFor(A).addEventListener(U,A,xt)}getZone(){return this._zone}_findPluginFor(U){let A=this._eventNameToPlugin.get(U);if(A)return A;if(A=this._plugins.find(Jt=>Jt.supports(U)),!A)throw new o.wOt(5101,!1);return this._eventNameToPlugin.set(U,A),A}static{this.\u0275fac=function(A){return new(A||Zt)(o.KVO(q),o.KVO(o.SKi))}}static{this.\u0275prov=o.jDH({token:Zt,factory:Zt.\u0275fac})}}return Zt})();class M{constructor(Ct){this._doc=Ct}}const a="ng-app-id";let pt=(()=>{class Zt{constructor(U,A,xt,Jt={}){this.doc=U,this.appId=A,this.nonce=xt,this.platformId=Jt,this.styleRef=new Map,this.hostNodes=new Set,this.styleNodesInDOM=this.collectServerRenderedStyles(),this.platformIsServer=(0,y.Vy)(Jt),this.resetHostNodes()}addStyles(U){for(const A of U)1===this.changeUsageCount(A,1)&&this.onStyleAdded(A)}removeStyles(U){for(const A of U)this.changeUsageCount(A,-1)<=0&&this.onStyleRemoved(A)}ngOnDestroy(){const U=this.styleNodesInDOM;U&&(U.forEach(A=>A.remove()),U.clear());for(const A of this.getAllStyles())this.onStyleRemoved(A);this.resetHostNodes()}addHost(U){this.hostNodes.add(U);for(const A of this.getAllStyles())this.addStyleToHost(U,A)}removeHost(U){this.hostNodes.delete(U)}getAllStyles(){return this.styleRef.keys()}onStyleAdded(U){for(const A of this.hostNodes)this.addStyleToHost(A,U)}onStyleRemoved(U){const A=this.styleRef;A.get(U)?.elements?.forEach(xt=>xt.remove()),A.delete(U)}collectServerRenderedStyles(){const U=this.doc.head?.querySelectorAll(`style[${a}="${this.appId}"]`);if(U?.length){const A=new Map;return U.forEach(xt=>{null!=xt.textContent&&A.set(xt.textContent,xt)}),A}return null}changeUsageCount(U,A){const xt=this.styleRef;if(xt.has(U)){const Jt=xt.get(U);return Jt.usage+=A,Jt.usage}return xt.set(U,{usage:A,elements:[]}),A}getStyleElement(U,A){const xt=this.styleNodesInDOM,Jt=xt?.get(A);if(Jt?.parentNode===U)return xt.delete(A),Jt.removeAttribute(a),Jt;{const Fe=this.doc.createElement("style");return this.nonce&&Fe.setAttribute("nonce",this.nonce),Fe.textContent=A,this.platformIsServer&&Fe.setAttribute(a,this.appId),Fe}}addStyleToHost(U,A){const xt=this.getStyleElement(U,A);U.appendChild(xt);const Jt=this.styleRef,Fe=Jt.get(A)?.elements;Fe?Fe.push(xt):Jt.set(A,{elements:[xt],usage:1})}resetHostNodes(){const U=this.hostNodes;U.clear(),U.add(this.doc.head)}static{this.\u0275fac=function(A){return new(A||Zt)(o.KVO(y.qQ),o.KVO(o.sZ2),o.KVO(o.BIS,8),o.KVO(o.Agw))}}static{this.\u0275prov=o.jDH({token:Zt,factory:Zt.\u0275fac})}}return Zt})();const j={svg:"http://www.w3.org/2000/svg",xhtml:"http://www.w3.org/1999/xhtml",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/",math:"http://www.w3.org/1998/MathML/"},J=/%COMP%/g,lt=new o.nKC("RemoveStylesOnCompDestroy",{providedIn:"root",factory:()=>!1});function rt(Zt,Ct){return Ct.map(U=>U.replace(J,Zt))}let $t=(()=>{class Zt{constructor(U,A,xt,Jt,Fe,Ze,xn,Ie=null){this.eventManager=U,this.sharedStylesHost=A,this.appId=xt,this.removeStylesOnCompDestroy=Jt,this.doc=Fe,this.platformId=Ze,this.ngZone=xn,this.nonce=Ie,this.rendererByCompId=new Map,this.platformIsServer=(0,y.Vy)(Ze),this.defaultRenderer=new de(U,Fe,xn,this.platformIsServer)}createRenderer(U,A){if(!U||!A)return this.defaultRenderer;this.platformIsServer&&A.encapsulation===o.gXe.ShadowDom&&(A={...A,encapsulation:o.gXe.Emulated});const xt=this.getOrCreateRenderer(U,A);return xt instanceof Ve?xt.applyToHost(U):xt instanceof ye&&xt.applyStyles(),xt}getOrCreateRenderer(U,A){const xt=this.rendererByCompId;let Jt=xt.get(A.id);if(!Jt){const Fe=this.doc,Ze=this.ngZone,xn=this.eventManager,Ie=this.sharedStylesHost,Nn=this.removeStylesOnCompDestroy,Qn=this.platformIsServer;switch(A.encapsulation){case o.gXe.Emulated:Jt=new Ve(xn,Ie,A,this.appId,Nn,Fe,Ze,Qn);break;case o.gXe.ShadowDom:return new Xe(xn,Ie,U,A,Fe,Ze,this.nonce,Qn);default:Jt=new ye(xn,Ie,A,Nn,Fe,Ze,Qn)}xt.set(A.id,Jt)}return Jt}ngOnDestroy(){this.rendererByCompId.clear()}static{this.\u0275fac=function(A){return new(A||Zt)(o.KVO(K),o.KVO(pt),o.KVO(o.sZ2),o.KVO(lt),o.KVO(y.qQ),o.KVO(o.Agw),o.KVO(o.SKi),o.KVO(o.BIS))}}static{this.\u0275prov=o.jDH({token:Zt,factory:Zt.\u0275fac})}}return Zt})();class de{constructor(Ct,U,A,xt){this.eventManager=Ct,this.doc=U,this.ngZone=A,this.platformIsServer=xt,this.data=Object.create(null),this.destroyNode=null}destroy(){}createElement(Ct,U){return U?this.doc.createElementNS(j[U]||U,Ct):this.doc.createElement(Ct)}createComment(Ct){return this.doc.createComment(Ct)}createText(Ct){return this.doc.createTextNode(Ct)}appendChild(Ct,U){(Ge(Ct)?Ct.content:Ct).appendChild(U)}insertBefore(Ct,U,A){Ct&&(Ge(Ct)?Ct.content:Ct).insertBefore(U,A)}removeChild(Ct,U){Ct&&Ct.removeChild(U)}selectRootElement(Ct,U){let A="string"==typeof Ct?this.doc.querySelector(Ct):Ct;if(!A)throw new o.wOt(-5104,!1);return U||(A.textContent=""),A}parentNode(Ct){return Ct.parentNode}nextSibling(Ct){return Ct.nextSibling}setAttribute(Ct,U,A,xt){if(xt){U=xt+":"+U;const Jt=j[xt];Jt?Ct.setAttributeNS(Jt,U,A):Ct.setAttribute(U,A)}else Ct.setAttribute(U,A)}removeAttribute(Ct,U,A){if(A){const xt=j[A];xt?Ct.removeAttributeNS(xt,U):Ct.removeAttribute(`${A}:${U}`)}else Ct.removeAttribute(U)}addClass(Ct,U){Ct.classList.add(U)}removeClass(Ct,U){Ct.classList.remove(U)}setStyle(Ct,U,A,xt){xt&(o.czy.DashCase|o.czy.Important)?Ct.style.setProperty(U,A,xt&o.czy.Important?"important":""):Ct.style[U]=A}removeStyle(Ct,U,A){A&o.czy.DashCase?Ct.style.removeProperty(U):Ct.style[U]=""}setProperty(Ct,U,A){Ct[U]=A}setValue(Ct,U){Ct.nodeValue=U}listen(Ct,U,A){if("string"==typeof Ct&&!(Ct=(0,y.QT)().getGlobalEventTarget(this.doc,Ct)))throw new Error(`Unsupported event target ${Ct} for event ${U}`);return this.eventManager.addEventListener(Ct,U,this.decoratePreventDefault(A))}decoratePreventDefault(Ct){return U=>{if("__ngUnwrap__"===U)return Ct;!1===(this.platformIsServer?this.ngZone.runGuarded(()=>Ct(U)):Ct(U))&&U.preventDefault()}}}function Ge(Zt){return"TEMPLATE"===Zt.tagName&&void 0!==Zt.content}class Xe extends de{constructor(Ct,U,A,xt,Jt,Fe,Ze,xn){super(Ct,Jt,Fe,xn),this.sharedStylesHost=U,this.hostEl=A,this.shadowRoot=A.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const Ie=rt(xt.id,xt.styles);for(const Nn of Ie){const Qn=document.createElement("style");Ze&&Qn.setAttribute("nonce",Ze),Qn.textContent=Nn,this.shadowRoot.appendChild(Qn)}}nodeOrShadowRoot(Ct){return Ct===this.hostEl?this.shadowRoot:Ct}appendChild(Ct,U){return super.appendChild(this.nodeOrShadowRoot(Ct),U)}insertBefore(Ct,U,A){return super.insertBefore(this.nodeOrShadowRoot(Ct),U,A)}removeChild(Ct,U){return super.removeChild(this.nodeOrShadowRoot(Ct),U)}parentNode(Ct){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(Ct)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}}class ye extends de{constructor(Ct,U,A,xt,Jt,Fe,Ze,xn){super(Ct,Jt,Fe,Ze),this.sharedStylesHost=U,this.removeStylesOnCompDestroy=xt,this.styles=xn?rt(xn,A.styles):A.styles}applyStyles(){this.sharedStylesHost.addStyles(this.styles)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles)}}class Ve extends ye{constructor(Ct,U,A,xt,Jt,Fe,Ze,xn){const Ie=xt+"-"+A.id;super(Ct,U,A,Jt,Fe,Ze,xn,Ie),this.contentAttr=function V(Zt){return"_ngcontent-%COMP%".replace(J,Zt)}(Ie),this.hostAttr=function mt(Zt){return"_nghost-%COMP%".replace(J,Zt)}(Ie)}applyToHost(Ct){this.applyStyles(),this.setAttribute(Ct,this.hostAttr,"")}createElement(Ct,U){const A=super.createElement(Ct,U);return super.setAttribute(A,this.contentAttr,""),A}}let Oe=(()=>{class Zt extends M{constructor(U){super(U)}supports(U){return!0}addEventListener(U,A,xt){return U.addEventListener(A,xt,!1),()=>this.removeEventListener(U,A,xt)}removeEventListener(U,A,xt){return U.removeEventListener(A,xt)}static{this.\u0275fac=function(A){return new(A||Zt)(o.KVO(y.qQ))}}static{this.\u0275prov=o.jDH({token:Zt,factory:Zt.\u0275fac})}}return Zt})();const Qe=["alt","control","meta","shift"],be={"\b":"Backspace","\t":"Tab","\x7f":"Delete","\x1b":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},Me={alt:Zt=>Zt.altKey,control:Zt=>Zt.ctrlKey,meta:Zt=>Zt.metaKey,shift:Zt=>Zt.shiftKey};let yt=(()=>{class Zt extends M{constructor(U){super(U)}supports(U){return null!=Zt.parseEventName(U)}addEventListener(U,A,xt){const Jt=Zt.parseEventName(A),Fe=Zt.eventCallback(Jt.fullKey,xt,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>(0,y.QT)().onAndCancel(U,Jt.domEventName,Fe))}static parseEventName(U){const A=U.toLowerCase().split("."),xt=A.shift();if(0===A.length||"keydown"!==xt&&"keyup"!==xt)return null;const Jt=Zt._normalizeKey(A.pop());let Fe="",Ze=A.indexOf("code");if(Ze>-1&&(A.splice(Ze,1),Fe="code."),Qe.forEach(Ie=>{const Nn=A.indexOf(Ie);Nn>-1&&(A.splice(Nn,1),Fe+=Ie+".")}),Fe+=Jt,0!=A.length||0===Jt.length)return null;const xn={};return xn.domEventName=xt,xn.fullKey=Fe,xn}static matchEventFullKeyCode(U,A){let xt=be[U.key]||U.key,Jt="";return A.indexOf("code.")>-1&&(xt=U.code,Jt="code."),!(null==xt||!xt)&&(xt=xt.toLowerCase()," "===xt?xt="space":"."===xt&&(xt="dot"),Qe.forEach(Fe=>{Fe!==xt&&(0,Me[Fe])(U)&&(Jt+=Fe+".")}),Jt+=xt,Jt===A)}static eventCallback(U,A,xt){return Jt=>{Zt.matchEventFullKeyCode(Jt,U)&&xt.runGuarded(()=>A(Jt))}}static _normalizeKey(U){return"esc"===U?"escape":U}static{this.\u0275fac=function(A){return new(A||Zt)(o.KVO(y.qQ))}}static{this.\u0275prov=o.jDH({token:Zt,factory:Zt.\u0275fac})}}return Zt})();function Kt(Zt,Ct){return(0,o.TL3)({rootComponent:Zt,...Tt(Ct)})}function Tt(Zt){return{appProviders:[...oe,...Zt?.providers??[]],platformProviders:un}}const un=[{provide:o.Agw,useValue:y.AJ},{provide:o.PLl,useValue:function Ut(){T.makeCurrent()},multi:!0},{provide:y.qQ,useFactory:function ke(){return(0,o.TL$)(document),document},deps:[]}],le=new o.nKC(""),Vt=[{provide:o.e01,useClass:class N{addToWindow(Ct){o.JZv.getAngularTestability=(A,xt=!0)=>{const Jt=Ct.findTestabilityInTree(A,xt);if(null==Jt)throw new o.wOt(5103,!1);return Jt},o.JZv.getAllAngularTestabilities=()=>Ct.getAllTestabilities(),o.JZv.getAllAngularRootElements=()=>Ct.getAllRootElements(),o.JZv.frameworkStabilizers||(o.JZv.frameworkStabilizers=[]),o.JZv.frameworkStabilizers.push(A=>{const xt=o.JZv.getAllAngularTestabilities();let Jt=xt.length,Fe=!1;const Ze=function(xn){Fe=Fe||xn,Jt--,0==Jt&&A(Fe)};xt.forEach(xn=>{xn.whenStable(Ze)})})}findTestabilityInTree(Ct,U,A){return null==U?null:Ct.getTestability(U)??(A?(0,y.QT)().isShadowRoot(U)?this.findTestabilityInTree(Ct,U.host,!0):this.findTestabilityInTree(Ct,U.parentElement,!0):null)}},deps:[]},{provide:o.WHO,useClass:o.NYb,deps:[o.SKi,o.giA,o.e01]},{provide:o.NYb,useClass:o.NYb,deps:[o.SKi,o.giA,o.e01]}],oe=[{provide:o.H8p,useValue:"root"},{provide:o.zcH,useFactory:function Ne(){return new o.zcH},deps:[]},{provide:q,useClass:Oe,multi:!0,deps:[y.qQ,o.SKi,o.Agw]},{provide:q,useClass:yt,multi:!0,deps:[y.qQ]},$t,pt,K,{provide:o._9s,useExisting:$t},{provide:y.N0,useClass:ot,deps:[]},[]];let Qt=(()=>{class Zt{constructor(U){}static withServerTransition(U){return{ngModule:Zt,providers:[{provide:o.sZ2,useValue:U.appId}]}}static{this.\u0275fac=function(A){return new(A||Zt)(o.KVO(le,12))}}static{this.\u0275mod=o.$C({type:Zt})}static{this.\u0275inj=o.G2t({providers:[...oe,...Vt],imports:[y.MD,o.Hbi]})}}return Zt})(),je=(()=>{class Zt{constructor(U){this._doc=U}getTitle(){return this._doc.title}setTitle(U){this._doc.title=U||""}static{this.\u0275fac=function(A){return new(A||Zt)(o.KVO(y.qQ))}}static{this.\u0275prov=o.jDH({token:Zt,factory:function(A){let xt=null;return xt=A?new A:function ce(){return new je((0,o.KVO)(y.qQ))}(),xt},providedIn:"root"})}}return Zt})();typeof window<"u"&&window;let _n=(()=>{class Zt{static{this.\u0275fac=function(A){return new(A||Zt)}}static{this.\u0275prov=o.jDH({token:Zt,factory:function(A){let xt=null;return xt=A?new(A||Zt):o.KVO(fe),xt},providedIn:"root"})}}return Zt})(),fe=(()=>{class Zt extends _n{constructor(U){super(),this._doc=U}sanitize(U,A){if(null==A)return null;switch(U){case o.WPN.NONE:return A;case o.WPN.HTML:return(0,o.ZF7)(A,"HTML")?(0,o.rcV)(A):(0,o.h9k)(this._doc,String(A)).toString();case o.WPN.STYLE:return(0,o.ZF7)(A,"Style")?(0,o.rcV)(A):A;case o.WPN.SCRIPT:if((0,o.ZF7)(A,"Script"))return(0,o.rcV)(A);throw new o.wOt(5200,!1);case o.WPN.URL:return(0,o.ZF7)(A,"URL")?(0,o.rcV)(A):(0,o.$MX)(String(A));case o.WPN.RESOURCE_URL:if((0,o.ZF7)(A,"ResourceURL"))return(0,o.rcV)(A);throw new o.wOt(5201,!1);default:throw new o.wOt(5202,!1)}}bypassSecurityTrustHtml(U){return(0,o.Kcf)(U)}bypassSecurityTrustStyle(U){return(0,o.cWb)(U)}bypassSecurityTrustScript(U){return(0,o.UyX)(U)}bypassSecurityTrustUrl(U){return(0,o.osQ)(U)}bypassSecurityTrustResourceUrl(U){return(0,o.e5t)(U)}static{this.\u0275fac=function(A){return new(A||Zt)(o.KVO(y.qQ))}}static{this.\u0275prov=o.jDH({token:Zt,factory:function(A){let xt=null;return xt=A?new A:function hn(Zt){return new fe(Zt.get(y.qQ))}(o.KVO(o.zZn)),xt},providedIn:"root"})}}return Zt})()},11863:(Ce,Lt,r)=>{r.d(Lt,{nX:()=>ci,j5:()=>Fi,wF:()=>pi,L6:()=>Ti,Z:()=>Mi,Ix:()=>Ci,Wk:()=>io,iI:()=>vs,n3:()=>Hn,lh:()=>Ue,GB:()=>$c,we:()=>zo});var o=r(1843),y=r(1396),b=r(61550),T=r(73151),k=r(85390),G=r(17434),P=r(90308),Z=r(81171),N=r(19424),ot=r(39521),q=r(80972),K=r(33697),M=r(3979),a=r(89115),pt=r(52693),j=r(18331),J=r(12324),bt=r(57588),Gt=r(89371),te=r(28930),$=r(98474),lt=r(40426),V=r(33280),mt=r(37018);function rt(g){return(0,V.N)((x,h)=>{let C=!1;x.subscribe((0,mt._)(h,z=>{C=!0,h.next(z)},()=>{C||h.next(g),h.complete()}))})}function $t(g=de){return(0,V.N)((x,h)=>{let C=!1;x.subscribe((0,mt._)(h,z=>{C=!0,h.next(z)},()=>C?h.complete():h.error(g())))})}function de(){return new P.G}var _e=r(75239);function Le(g,x){const h=arguments.length>=2;return C=>C.pipe(g?(0,$.p)((z,nt)=>g(z,nt,C)):_e.D,(0,Gt.s)(1),h?rt(x):$t(()=>new P.G))}var Ge=r(90940),Xe=r(14087),ye=r(52483),Ve=r(22135);function Qe(g){return g<=0?()=>K.w:(0,V.N)((x,h)=>{let C=[];x.subscribe((0,mt._)(h,z=>{C.push(z),g{for(const z of C)h.next(z);h.complete()},void 0,()=>{C=null}))})}var Me=r(45221),yt=r(91974),Kt=r(7700),Nt=r(73907),Tt=r(32659),Yt=r(71499);const Ut="primary",Ne=Symbol("RouteTitle");class ke{constructor(x){this.params=x||{}}has(x){return Object.prototype.hasOwnProperty.call(this.params,x)}get(x){if(this.has(x)){const h=this.params[x];return Array.isArray(h)?h[0]:h}return null}getAll(x){if(this.has(x)){const h=this.params[x];return Array.isArray(h)?h:[h]}return[]}get keys(){return Object.keys(this.params)}}function un(g){return new ke(g)}function gt(g,x,h){const C=h.path.split("/");if(C.length>g.length||"full"===h.pathMatch&&(x.hasChildren()||C.lengthC[nt]===z)}return g===x}function Qt(g){return g.length>0?g[g.length-1]:null}function Et(g){return(0,y.A)(g)?g:(0,o.jNT)(g)?(0,b.H)(Promise.resolve(g)):(0,T.of)(g)}const re={exact:function Ht(g,x,h){if(!X(g.segments,x.segments)||!st(g.segments,x.segments,h)||g.numberOfChildren!==x.numberOfChildren)return!1;for(const C in x.children)if(!g.children[C]||!Ht(g.children[C],x.children[C],h))return!1;return!0},subset:at},Ee={exact:function je(g,x){return Vt(g,x)},subset:function ne(g,x){return Object.keys(x).length<=Object.keys(g).length&&Object.keys(x).every(h=>oe(g[h],x[h]))},ignored:()=>!0};function ce(g,x,h){return re[h.paths](g.root,x.root,h.matrixParams)&&Ee[h.queryParams](g.queryParams,x.queryParams)&&!("exact"===h.fragment&&g.fragment!==x.fragment)}function at(g,x,h){return H(g,x,x.segments,h)}function H(g,x,h,C){if(g.segments.length>h.length){const z=g.segments.slice(0,h.length);return!(!X(z,h)||x.hasChildren()||!st(z,h,C))}if(g.segments.length===h.length){if(!X(g.segments,h)||!st(g.segments,h,C))return!1;for(const z in x.children)if(!g.children[z]||!at(g.children[z],x.children[z],C))return!1;return!0}{const z=h.slice(0,g.segments.length),nt=h.slice(g.segments.length);return!!(X(g.segments,z)&&st(g.segments,z,C)&&g.children[Ut])&&H(g.children[Ut],x,nt,C)}}function st(g,x,h){return x.every((C,z)=>Ee[h](g[z].parameters,C.parameters))}class zt{constructor(x=new vt([],{}),h={},C=null){this.root=x,this.queryParams=h,this.fragment=C}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=un(this.queryParams)),this._queryParamMap}toString(){return Te.serialize(this)}}class vt{constructor(x,h){this.segments=x,this.children=h,this.parent=null,Object.values(h).forEach(C=>C.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return Ke(this)}}class kt{constructor(x,h){this.path=x,this.parameters=h}get parameterMap(){return this._parameterMap||(this._parameterMap=un(this.parameters)),this._parameterMap}toString(){return Dt(this)}}function X(g,x){return g.length===x.length&&g.every((h,C)=>h.path===x[C].path)}let Ot=(()=>{class g{static{this.\u0275fac=function(C){return new(C||g)}}static{this.\u0275prov=o.jDH({token:g,factory:function(){return new xe},providedIn:"root"})}}return g})();class xe{parse(x){const h=new Fe(x);return new zt(h.parseRootSegment(),h.parseQueryParams(),h.parseFragment())}serialize(x){const h=`/${on(x.root,!0)}`,C=function Rt(g){const x=Object.keys(g).map(h=>{const C=g[h];return Array.isArray(C)?C.map(z=>`${hn(h)}=${hn(z)}`).join("&"):`${hn(h)}=${hn(C)}`}).filter(h=>!!h);return x.length?`?${x.join("&")}`:""}(x.queryParams);return`${h}${C}${"string"==typeof x.fragment?`#${function fe(g){return encodeURI(g)}(x.fragment)}`:""}`}}const Te=new xe;function Ke(g){return g.segments.map(x=>Dt(x)).join("/")}function on(g,x){if(!g.hasChildren())return Ke(g);if(x){const h=g.children[Ut]?on(g.children[Ut],!1):"",C=[];return Object.entries(g.children).forEach(([z,nt])=>{z!==Ut&&C.push(`${z}:${on(nt,!1)}`)}),C.length>0?`${h}(${C.join("//")})`:h}{const h=function ft(g,x){let h=[];return Object.entries(g.children).forEach(([C,z])=>{C===Ut&&(h=h.concat(x(z,C)))}),Object.entries(g.children).forEach(([C,z])=>{C!==Ut&&(h=h.concat(x(z,C)))}),h}(g,(C,z)=>z===Ut?[on(g.children[Ut],!1)]:[`${z}:${on(C,!1)}`]);return 1===Object.keys(g.children).length&&null!=g.children[Ut]?`${Ke(g)}/${h[0]}`:`${Ke(g)}/(${h.join("//")})`}}function _n(g){return encodeURIComponent(g).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function hn(g){return _n(g).replace(/%3B/gi,";")}function cn(g){return _n(g).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function me(g){return decodeURIComponent(g)}function jt(g){return me(g.replace(/\+/g,"%20"))}function Dt(g){return`${cn(g.path)}${function dt(g){return Object.keys(g).map(x=>`;${cn(x)}=${cn(g[x])}`).join("")}(g.parameters)}`}const ae=/^[^\/()?;#]+/;function ze(g){const x=g.match(ae);return x?x[0]:""}const Zt=/^[^\/()?;=#]+/,U=/^[^=?&#]+/,xt=/^[^&#]+/;class Fe{constructor(x){this.url=x,this.remaining=x}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new vt([],{}):new vt([],this.parseChildren())}parseQueryParams(){const x={};if(this.consumeOptional("?"))do{this.parseQueryParam(x)}while(this.consumeOptional("&"));return x}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(""===this.remaining)return{};this.consumeOptional("/");const x=[];for(this.peekStartsWith("(")||x.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),x.push(this.parseSegment());let h={};this.peekStartsWith("/(")&&(this.capture("/"),h=this.parseParens(!0));let C={};return this.peekStartsWith("(")&&(C=this.parseParens(!1)),(x.length>0||Object.keys(h).length>0)&&(C[Ut]=new vt(x,h)),C}parseSegment(){const x=ze(this.remaining);if(""===x&&this.peekStartsWith(";"))throw new o.wOt(4009,!1);return this.capture(x),new kt(me(x),this.parseMatrixParams())}parseMatrixParams(){const x={};for(;this.consumeOptional(";");)this.parseParam(x);return x}parseParam(x){const h=function Ct(g){const x=g.match(Zt);return x?x[0]:""}(this.remaining);if(!h)return;this.capture(h);let C="";if(this.consumeOptional("=")){const z=ze(this.remaining);z&&(C=z,this.capture(C))}x[me(h)]=me(C)}parseQueryParam(x){const h=function A(g){const x=g.match(U);return x?x[0]:""}(this.remaining);if(!h)return;this.capture(h);let C="";if(this.consumeOptional("=")){const It=function Jt(g){const x=g.match(xt);return x?x[0]:""}(this.remaining);It&&(C=It,this.capture(C))}const z=jt(h),nt=jt(C);if(x.hasOwnProperty(z)){let It=x[z];Array.isArray(It)||(It=[It],x[z]=It),It.push(nt)}else x[z]=nt}parseParens(x){const h={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const C=ze(this.remaining),z=this.remaining[C.length];if("/"!==z&&")"!==z&&";"!==z)throw new o.wOt(4010,!1);let nt;C.indexOf(":")>-1?(nt=C.slice(0,C.indexOf(":")),this.capture(nt),this.capture(":")):x&&(nt=Ut);const It=this.parseChildren();h[nt]=1===Object.keys(It).length?It[Ut]:new vt([],It),this.consumeOptional("//")}return h}peekStartsWith(x){return this.remaining.startsWith(x)}consumeOptional(x){return!!this.peekStartsWith(x)&&(this.remaining=this.remaining.substring(x.length),!0)}capture(x){if(!this.consumeOptional(x))throw new o.wOt(4011,!1)}}function Ze(g){return g.segments.length>0?new vt([],{[Ut]:g}):g}function xn(g){const x={};for(const C of Object.keys(g.children)){const nt=xn(g.children[C]);if(C===Ut&&0===nt.segments.length&&nt.hasChildren())for(const[It,ge]of Object.entries(nt.children))x[It]=ge;else(nt.segments.length>0||nt.hasChildren())&&(x[C]=nt)}return function Ie(g){if(1===g.numberOfChildren&&g.children[Ut]){const x=g.children[Ut];return new vt(g.segments.concat(x.segments),x.children)}return g}(new vt(g.segments,x))}function Nn(g){return g instanceof zt}function ee(g){let x;const z=Ze(function h(nt){const It={};for(const pe of nt.children){const Je=h(pe);It[pe.outlet]=Je}const ge=new vt(nt.url,It);return nt===g&&(x=ge),ge}(g.root));return x??z}function I(g,x,h,C){let z=g;for(;z.parent;)z=z.parent;if(0===x.length)return Mt(z,z,z,h,C);const nt=function De(g){if("string"==typeof g[0]&&1===g.length&&"/"===g[0])return new se(!0,0,g);let x=0,h=!1;const C=g.reduce((z,nt,It)=>{if("object"==typeof nt&&null!=nt){if(nt.outlets){const ge={};return Object.entries(nt.outlets).forEach(([pe,Je])=>{ge[pe]="string"==typeof Je?Je.split("/"):Je}),[...z,{outlets:ge}]}if(nt.segmentPath)return[...z,nt.segmentPath]}return"string"!=typeof nt?[...z,nt]:0===It?(nt.split("/").forEach((ge,pe)=>{0==pe&&"."===ge||(0==pe&&""===ge?h=!0:".."===ge?x++:""!=ge&&z.push(ge))}),z):[...z,nt]},[]);return new se(h,x,C)}(x);if(nt.toRoot())return Mt(z,z,new vt([],{}),h,C);const It=function Ye(g,x,h){if(g.isAbsolute)return new ve(x,!0,0);if(!h)return new ve(x,!1,NaN);if(null===h.parent)return new ve(h,!0,0);const C=_t(g.commands[0])?0:1;return function tn(g,x,h){let C=g,z=x,nt=h;for(;nt>z;){if(nt-=z,C=C.parent,!C)throw new o.wOt(4005,!1);z=C.segments.length}return new ve(C,!1,z-nt)}(h,h.segments.length-1+C,g.numberOfDoubleDots)}(nt,z,g),ge=It.processChildren?Dn(It.segmentGroup,It.index,nt.commands):ln(It.segmentGroup,It.index,nt.commands);return Mt(z,It.segmentGroup,ge,h,C)}function _t(g){return"object"==typeof g&&null!=g&&!g.outlets&&!g.segmentPath}function Q(g){return"object"==typeof g&&null!=g&&g.outlets}function Mt(g,x,h,C,z){let It,nt={};C&&Object.entries(C).forEach(([pe,Je])=>{nt[pe]=Array.isArray(Je)?Je.map(An=>`${An}`):`${Je}`}),It=g===x?h:Wt(g,x,h);const ge=Ze(xn(It));return new zt(ge,nt,z)}function Wt(g,x,h){const C={};return Object.entries(g.children).forEach(([z,nt])=>{C[z]=nt===x?h:Wt(nt,x,h)}),new vt(g.segments,C)}class se{constructor(x,h,C){if(this.isAbsolute=x,this.numberOfDoubleDots=h,this.commands=C,x&&C.length>0&&_t(C[0]))throw new o.wOt(4003,!1);const z=C.find(Q);if(z&&z!==Qt(C))throw new o.wOt(4004,!1)}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class ve{constructor(x,h,C){this.segmentGroup=x,this.processChildren=h,this.index=C}}function ln(g,x,h){if(g||(g=new vt([],{})),0===g.segments.length&&g.hasChildren())return Dn(g,x,h);const C=function Fn(g,x,h){let C=0,z=x;const nt={match:!1,pathIndex:0,commandIndex:0};for(;z=h.length)return nt;const It=g.segments[z],ge=h[C];if(Q(ge))break;const pe=`${ge}`,Je=C0&&void 0===pe)break;if(pe&&Je&&"object"==typeof Je&&void 0===Je.outlets){if(!yi(pe,Je,It))return nt;C+=2}else{if(!yi(pe,{},It))return nt;C++}z++}return{match:!0,pathIndex:z,commandIndex:C}}(g,x,h),z=h.slice(C.commandIndex);if(C.match&&C.pathIndexnt!==Ut)&&g.children[Ut]&&1===g.numberOfChildren&&0===g.children[Ut].segments.length){const nt=Dn(g.children[Ut],x,h);return new vt(g.segments,nt.children)}return Object.entries(C).forEach(([nt,It])=>{"string"==typeof It&&(It=[It]),null!==It&&(z[nt]=ln(g.children[nt],x,It))}),Object.entries(g.children).forEach(([nt,It])=>{void 0===C[nt]&&(z[nt]=It)}),new vt(g.segments,z)}}function Mn(g,x,h){const C=g.segments.slice(0,x);let z=0;for(;z{"string"==typeof C&&(C=[C]),null!==C&&(x[h]=Mn(new vt([],{}),0,C))}),x}function li(g){const x={};return Object.entries(g).forEach(([h,C])=>x[h]=`${C}`),x}function yi(g,x,h){return g==h.path&&Vt(x,h.parameters)}const Bn="imperative";class Jn{constructor(x,h){this.id=x,this.url=h}}class Mi extends Jn{constructor(x,h,C="imperative",z=null){super(x,h),this.type=0,this.navigationTrigger=C,this.restoredState=z}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class pi extends Jn{constructor(x,h,C){super(x,h),this.urlAfterRedirects=C,this.type=1}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}class Fi extends Jn{constructor(x,h,C,z){super(x,h),this.reason=C,this.code=z,this.type=2}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class oi extends Jn{constructor(x,h,C,z){super(x,h),this.reason=C,this.code=z,this.type=16}}class Ti extends Jn{constructor(x,h,C,z){super(x,h),this.error=C,this.target=z,this.type=3}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class Mo extends Jn{constructor(x,h,C,z){super(x,h),this.urlAfterRedirects=C,this.state=z,this.type=4}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class si extends Jn{constructor(x,h,C,z){super(x,h),this.urlAfterRedirects=C,this.state=z,this.type=7}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Zc extends Jn{constructor(x,h,C,z,nt){super(x,h),this.urlAfterRedirects=C,this.state=z,this.shouldActivate=nt,this.type=8}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}}class dc extends Jn{constructor(x,h,C,z){super(x,h),this.urlAfterRedirects=C,this.state=z,this.type=5}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class kr extends Jn{constructor(x,h,C,z){super(x,h),this.urlAfterRedirects=C,this.state=z,this.type=6}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class uo{constructor(x){this.route=x,this.type=9}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class Jo{constructor(x){this.route=x,this.type=10}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class uc{constructor(x){this.snapshot=x,this.type=11}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class wo{constructor(x){this.snapshot=x,this.type=12}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Jc{constructor(x){this.snapshot=x,this.type=13}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Oi{constructor(x){this.snapshot=x,this.type=14}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class mc{constructor(x,h,C){this.routerEvent=x,this.position=h,this.anchor=C,this.type=15}toString(){return`Scroll(anchor: '${this.anchor}', position: '${this.position?`${this.position[0]}, ${this.position[1]}`:null}')`}}class Bo{}class Vo{constructor(x){this.url=x}}class Bc{constructor(){this.outlet=null,this.route=null,this.injector=null,this.children=new Ji,this.attachRef=null}}let Ji=(()=>{class g{constructor(){this.contexts=new Map}onChildOutletCreated(h,C){const z=this.getOrCreateContext(h);z.outlet=C,this.contexts.set(h,z)}onChildOutletDestroyed(h){const C=this.getContext(h);C&&(C.outlet=null,C.attachRef=null)}onOutletDeactivated(){const h=this.contexts;return this.contexts=new Map,h}onOutletReAttached(h){this.contexts=h}getOrCreateContext(h){let C=this.getContext(h);return C||(C=new Bc,this.contexts.set(h,C)),C}getContext(h){return this.contexts.get(h)||null}static{this.\u0275fac=function(C){return new(C||g)}}static{this.\u0275prov=o.jDH({token:g,factory:g.\u0275fac,providedIn:"root"})}}return g})();class fc{constructor(x){this._root=x}get root(){return this._root.value}parent(x){const h=this.pathFromRoot(x);return h.length>1?h[h.length-2]:null}children(x){const h=Uo(x,this._root);return h?h.children.map(C=>C.value):[]}firstChild(x){const h=Uo(x,this._root);return h&&h.children.length>0?h.children[0].value:null}siblings(x){const h=Lo(x,this._root);return h.length<2?[]:h[h.length-2].children.map(z=>z.value).filter(z=>z!==x)}pathFromRoot(x){return Lo(x,this._root).map(h=>h.value)}}function Uo(g,x){if(g===x.value)return x;for(const h of x.children){const C=Uo(g,h);if(C)return C}return null}function Lo(g,x){if(g===x.value)return[x];for(const h of x.children){const C=Lo(g,h);if(C.length)return C.unshift(x),C}return[]}class Ii{constructor(x,h){this.value=x,this.children=h}toString(){return`TreeNode(${this.value})`}}function En(g){const x={};return g&&g.children.forEach(h=>x[h.value.outlet]=h),x}class di extends fc{constructor(x,h){super(x),this.snapshot=h,qo(this,x)}toString(){return this.snapshot.toString()}}function ei(g,x){const h=function Eo(g,x){const It=new Oo([],{},{},"",{},Ut,x,null,{});return new mo("",new Ii(It,[]))}(0,x),C=new k.t([new kt("",{})]),z=new k.t({}),nt=new k.t({}),It=new k.t({}),ge=new k.t(""),pe=new ci(C,z,It,ge,nt,Ut,x,h.root);return pe.snapshot=h.root,new di(new Ii(pe,[]),h)}class ci{constructor(x,h,C,z,nt,It,ge,pe){this.urlSubject=x,this.paramsSubject=h,this.queryParamsSubject=C,this.fragmentSubject=z,this.dataSubject=nt,this.outlet=It,this.component=ge,this._futureSnapshot=pe,this.title=this.dataSubject?.pipe((0,J.T)(Je=>Je[Ne]))??(0,T.of)(void 0),this.url=x,this.params=h,this.queryParams=C,this.fragment=z,this.data=nt}get routeConfig(){return this._futureSnapshot.routeConfig}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap||(this._paramMap=this.params.pipe((0,J.T)(x=>un(x)))),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe((0,J.T)(x=>un(x)))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function Wi(g,x="emptyOnly"){const h=g.pathFromRoot;let C=0;if("always"!==x)for(C=h.length-1;C>=1;){const z=h[C],nt=h[C-1];if(z.routeConfig&&""===z.routeConfig.path)C--;else{if(nt.component)break;C--}}return function Do(g){return g.reduce((x,h)=>({params:{...x.params,...h.params},data:{...x.data,...h.data},resolve:{...h.data,...x.resolve,...h.routeConfig?.data,...h._resolvedData}}),{params:{},data:{},resolve:{}})}(h.slice(C))}class Oo{get title(){return this.data?.[Ne]}constructor(x,h,C,z,nt,It,ge,pe,Je){this.url=x,this.params=h,this.queryParams=C,this.fragment=z,this.data=nt,this.outlet=It,this.component=ge,this.routeConfig=pe,this._resolve=Je}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap||(this._paramMap=un(this.params)),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=un(this.queryParams)),this._queryParamMap}toString(){return`Route(url:'${this.url.map(C=>C.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class mo extends fc{constructor(x,h){super(h),this.url=x,qo(this,h)}toString(){return qn(this._root)}}function qo(g,x){x.value._routerState=g,x.children.forEach(h=>qo(g,h))}function qn(g){const x=g.children.length>0?` { ${g.children.map(qn).join(", ")} } `:"";return`${g.value}${x}`}function We(g){if(g.snapshot){const x=g.snapshot,h=g._futureSnapshot;g.snapshot=h,Vt(x.queryParams,h.queryParams)||g.queryParamsSubject.next(h.queryParams),x.fragment!==h.fragment&&g.fragmentSubject.next(h.fragment),Vt(x.params,h.params)||g.paramsSubject.next(h.params),function le(g,x){if(g.length!==x.length)return!1;for(let h=0;hVt(h.parameters,x[C].parameters))}(g.url,x.url);return h&&!(!g.parent!=!x.parent)&&(!g.parent||Cn(g.parent,x.parent))}let Hn=(()=>{class g{constructor(){this.activated=null,this._activatedRoute=null,this.name=Ut,this.activateEvents=new o.bkB,this.deactivateEvents=new o.bkB,this.attachEvents=new o.bkB,this.detachEvents=new o.bkB,this.parentContexts=(0,o.WQX)(Ji),this.location=(0,o.WQX)(o.c1b),this.changeDetector=(0,o.WQX)(o.gRc),this.environmentInjector=(0,o.WQX)(o.uvJ),this.inputBinder=(0,o.WQX)(Bi,{optional:!0}),this.supportsBindingToComponentInputs=!0}get activatedComponentRef(){return this.activated}ngOnChanges(h){if(h.name){const{firstChange:C,previousValue:z}=h.name;if(C)return;this.isTrackedInParentContexts(z)&&(this.deactivate(),this.parentContexts.onChildOutletDestroyed(z)),this.initializeOutletWithName()}}ngOnDestroy(){this.isTrackedInParentContexts(this.name)&&this.parentContexts.onChildOutletDestroyed(this.name),this.inputBinder?.unsubscribeFromRouteData(this)}isTrackedInParentContexts(h){return this.parentContexts.getContext(h)?.outlet===this}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(this.parentContexts.onChildOutletCreated(this.name,this),this.activated)return;const h=this.parentContexts.getContext(this.name);h?.route&&(h.attachRef?this.attach(h.attachRef,h.route):this.activateWith(h.route,h.injector))}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new o.wOt(4012,!1);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new o.wOt(4012,!1);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new o.wOt(4012,!1);this.location.detach();const h=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(h.instance),h}attach(h,C){this.activated=h,this._activatedRoute=C,this.location.insert(h.hostView),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.attachEvents.emit(h.instance)}deactivate(){if(this.activated){const h=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(h)}}activateWith(h,C){if(this.isActivated)throw new o.wOt(4013,!1);this._activatedRoute=h;const z=this.location,It=h.snapshot.component,ge=this.parentContexts.getOrCreateContext(this.name).children,pe=new Si(h,ge,z.injector);this.activated=z.createComponent(It,{index:z.length,injector:pe,environmentInjector:C??this.environmentInjector}),this.changeDetector.markForCheck(),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.activateEvents.emit(this.activated.instance)}static{this.\u0275fac=function(C){return new(C||g)}}static{this.\u0275dir=o.FsC({type:g,selectors:[["router-outlet"]],inputs:{name:"name"},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],standalone:!0,features:[o.OA$]})}}return g})();class Si{constructor(x,h,C){this.route=x,this.childContexts=h,this.parent=C}get(x,h){return x===ci?this.route:x===Ji?this.childContexts:this.parent.get(x,h)}}const Bi=new o.nKC("");let gi=(()=>{class g{constructor(){this.outletDataSubscriptions=new Map}bindActivatedRouteToOutletComponent(h){this.unsubscribeFromRouteData(h),this.subscribeToRouteData(h)}unsubscribeFromRouteData(h){this.outletDataSubscriptions.get(h)?.unsubscribe(),this.outletDataSubscriptions.delete(h)}subscribeToRouteData(h){const{activatedRoute:C}=h,z=(0,G.z)([C.queryParams,C.params,C.data]).pipe((0,bt.n)(([nt,It,ge],pe)=>(ge={...nt,...It,...ge},0===pe?(0,T.of)(ge):Promise.resolve(ge)))).subscribe(nt=>{if(!h.isActivated||!h.activatedComponentRef||h.activatedRoute!==C||null===C.component)return void this.unsubscribeFromRouteData(h);const It=(0,o.HJs)(C.component);if(It)for(const{templateName:ge}of It.inputs)h.activatedComponentRef.setInput(ge,nt[ge]);else this.unsubscribeFromRouteData(h)});this.outletDataSubscriptions.set(h,z)}static{this.\u0275fac=function(C){return new(C||g)}}static{this.\u0275prov=o.jDH({token:g,factory:g.\u0275fac})}}return g})();function Vn(g,x,h){if(h&&g.shouldReuseRoute(x.value,h.value.snapshot)){const C=h.value;C._futureSnapshot=x.value;const z=function Ni(g,x,h){return x.children.map(C=>{for(const z of h.children)if(g.shouldReuseRoute(C.value,z.value.snapshot))return Vn(g,C,z);return Vn(g,C)})}(g,x,h);return new Ii(C,z)}{if(g.shouldAttach(x.value)){const nt=g.retrieve(x.value);if(null!==nt){const It=nt.route;return It.value._futureSnapshot=x.value,It.children=x.children.map(ge=>Vn(g,ge)),It}}const C=function jo(g){return new ci(new k.t(g.url),new k.t(g.params),new k.t(g.queryParams),new k.t(g.fragment),new k.t(g.data),g.outlet,g.component,g)}(x.value),z=x.children.map(nt=>Vn(g,nt));return new Ii(C,z)}}const bn="ngNavigationCancelingError";function qi(g,x){const{redirectTo:h,navigationBehaviorOptions:C}=Nn(x)?{redirectTo:x,navigationBehaviorOptions:void 0}:x,z=to(!1,0,x);return z.url=h,z.navigationBehaviorOptions=C,z}function to(g,x,h){const C=new Error("NavigationCancelingError: "+(g||""));return C[bn]=!0,C.cancellationCode=x,h&&(C.url=h),C}function $n(g){return g&&g[bn]}let zo=(()=>{class g{static{this.\u0275fac=function(C){return new(C||g)}}static{this.\u0275cmp=o.VBU({type:g,selectors:[["ng-component"]],standalone:!0,features:[o.aNF],decls:1,vars:0,template:function(C,z){1&C&&o.nrm(0,"router-outlet")},dependencies:[Hn],encapsulation:2})}}return g})();function hc(g){const x=g.children&&g.children.map(hc),h=x?{...g,children:x}:{...g};return!h.component&&!h.loadComponent&&(x||h.loadChildren)&&h.outlet&&h.outlet!==Ut&&(h.component=zo),h}function ki(g){return g.outlet||Ut}function ui(g){if(!g)return null;if(g.routeConfig?._injector)return g.routeConfig._injector;for(let x=g.parent;x;x=x.parent){const h=x.routeConfig;if(h?._loadedInjector)return h._loadedInjector;if(h?._injector)return h._injector}return null}class $o{constructor(x,h,C,z,nt){this.routeReuseStrategy=x,this.futureState=h,this.currState=C,this.forwardEvent=z,this.inputBindingEnabled=nt}activate(x){const h=this.futureState._root,C=this.currState?this.currState._root:null;this.deactivateChildRoutes(h,C,x),We(this.futureState.root),this.activateChildRoutes(h,C,x)}deactivateChildRoutes(x,h,C){const z=En(h);x.children.forEach(nt=>{const It=nt.value.outlet;this.deactivateRoutes(nt,z[It],C),delete z[It]}),Object.values(z).forEach(nt=>{this.deactivateRouteAndItsChildren(nt,C)})}deactivateRoutes(x,h,C){const z=x.value,nt=h?h.value:null;if(z===nt)if(z.component){const It=C.getContext(z.outlet);It&&this.deactivateChildRoutes(x,h,It.children)}else this.deactivateChildRoutes(x,h,C);else nt&&this.deactivateRouteAndItsChildren(h,C)}deactivateRouteAndItsChildren(x,h){x.value.component&&this.routeReuseStrategy.shouldDetach(x.value.snapshot)?this.detachAndStoreRouteSubtree(x,h):this.deactivateRouteAndOutlet(x,h)}detachAndStoreRouteSubtree(x,h){const C=h.getContext(x.value.outlet),z=C&&x.value.component?C.children:h,nt=En(x);for(const It of Object.keys(nt))this.deactivateRouteAndItsChildren(nt[It],z);if(C&&C.outlet){const It=C.outlet.detach(),ge=C.children.onOutletDeactivated();this.routeReuseStrategy.store(x.value.snapshot,{componentRef:It,route:x,contexts:ge})}}deactivateRouteAndOutlet(x,h){const C=h.getContext(x.value.outlet),z=C&&x.value.component?C.children:h,nt=En(x);for(const It of Object.keys(nt))this.deactivateRouteAndItsChildren(nt[It],z);C&&(C.outlet&&(C.outlet.deactivate(),C.children.onOutletDeactivated()),C.attachRef=null,C.route=null)}activateChildRoutes(x,h,C){const z=En(h);x.children.forEach(nt=>{this.activateRoutes(nt,z[nt.value.outlet],C),this.forwardEvent(new Oi(nt.value.snapshot))}),x.children.length&&this.forwardEvent(new wo(x.value.snapshot))}activateRoutes(x,h,C){const z=x.value,nt=h?h.value:null;if(We(z),z===nt)if(z.component){const It=C.getOrCreateContext(z.outlet);this.activateChildRoutes(x,h,It.children)}else this.activateChildRoutes(x,h,C);else if(z.component){const It=C.getOrCreateContext(z.outlet);if(this.routeReuseStrategy.shouldAttach(z.snapshot)){const ge=this.routeReuseStrategy.retrieve(z.snapshot);this.routeReuseStrategy.store(z.snapshot,null),It.children.onOutletReAttached(ge.contexts),It.attachRef=ge.componentRef,It.route=ge.route.value,It.outlet&&It.outlet.attach(ge.componentRef,ge.route.value),We(ge.route.value),this.activateChildRoutes(x,null,It.children)}else{const ge=ui(z.snapshot);It.attachRef=null,It.route=z,It.injector=ge,It.outlet&&It.outlet.activateWith(z,It.injector),this.activateChildRoutes(x,null,It.children)}}else this.activateChildRoutes(x,null,C)}}class bi{constructor(x){this.path=x,this.route=this.path[this.path.length-1]}}class pc{constructor(x,h){this.component=x,this.route=h}}function mi(g,x,h){const C=g._root;return Ui(C,x?x._root:null,h,[C.value])}function co(g,x){const h=Symbol(),C=x.get(g,h);return C===h?"function"!=typeof g||(0,o.LfX)(g)?x.get(g):g:C}function Ui(g,x,h,C,z={canDeactivateChecks:[],canActivateChecks:[]}){const nt=En(x);return g.children.forEach(It=>{(function To(g,x,h,C,z={canDeactivateChecks:[],canActivateChecks:[]}){const nt=g.value,It=x?x.value:null,ge=h?h.getContext(g.value.outlet):null;if(It&&nt.routeConfig===It.routeConfig){const pe=function ji(g,x,h){if("function"==typeof h)return h(g,x);switch(h){case"pathParamsChange":return!X(g.url,x.url);case"pathParamsOrQueryParamsChange":return!X(g.url,x.url)||!Vt(g.queryParams,x.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!Cn(g,x)||!Vt(g.queryParams,x.queryParams);default:return!Cn(g,x)}}(It,nt,nt.routeConfig.runGuardsAndResolvers);pe?z.canActivateChecks.push(new bi(C)):(nt.data=It.data,nt._resolvedData=It._resolvedData),Ui(g,x,nt.component?ge?ge.children:null:h,C,z),pe&&ge&&ge.outlet&&ge.outlet.isActivated&&z.canDeactivateChecks.push(new pc(ge.outlet.component,It))}else It&&Wo(x,ge,z),z.canActivateChecks.push(new bi(C)),Ui(g,null,nt.component?ge?ge.children:null:h,C,z)})(It,nt[It.value.outlet],h,C.concat([It.value]),z),delete nt[It.value.outlet]}),Object.entries(nt).forEach(([It,ge])=>Wo(ge,h.getContext(It),z)),z}function Wo(g,x,h){const C=En(g),z=g.value;Object.entries(C).forEach(([nt,It])=>{Wo(It,z.component?x?x.children.getContext(nt):null:x,h)}),h.canDeactivateChecks.push(new pc(z.component&&x&&x.outlet&&x.outlet.isActivated?x.outlet.component:null,z))}function gc(g){return"function"==typeof g}function en(g){return g instanceof P.G||"EmptyError"===g?.name}const zn=Symbol("INITIAL_VALUE");function wi(){return(0,bt.n)(g=>(0,G.z)(g.map(x=>x.pipe((0,Gt.s)(1),(0,te.Z)(zn)))).pipe((0,J.T)(x=>{for(const h of x)if(!0!==h){if(h===zn)return zn;if(!1===h||h instanceof zt)return h}return!0}),(0,$.p)(x=>x!==zn),(0,Gt.s)(1)))}function tr(g){return(0,ot.F)((0,Xe.M)(x=>{if(Nn(x))throw qi(0,x)}),(0,J.T)(x=>!0===x))}class Ri{constructor(x){this.segmentGroup=x||null}}class zc{constructor(x){this.urlTree=x}}function Pc(g){return(0,q.$)(new Ri(g))}function Li(g){return(0,q.$)(new zc(g))}class Nr{constructor(x,h){this.urlSerializer=x,this.urlTree=h}noMatchError(x){return new o.wOt(4002,!1)}lineralizeSegments(x,h){let C=[],z=h.root;for(;;){if(C=C.concat(z.segments),0===z.numberOfChildren)return(0,T.of)(C);if(z.numberOfChildren>1||!z.children[Ut])return(0,q.$)(new o.wOt(4e3,!1));z=z.children[Ut]}}applyRedirectCommands(x,h,C){return this.applyRedirectCreateUrlTree(h,this.urlSerializer.parse(h),x,C)}applyRedirectCreateUrlTree(x,h,C,z){const nt=this.createSegmentGroup(x,h.root,C,z);return new zt(nt,this.createQueryParams(h.queryParams,this.urlTree.queryParams),h.fragment)}createQueryParams(x,h){const C={};return Object.entries(x).forEach(([z,nt])=>{if("string"==typeof nt&&nt.startsWith(":")){const ge=nt.substring(1);C[z]=h[ge]}else C[z]=nt}),C}createSegmentGroup(x,h,C,z){const nt=this.createSegments(x,h.segments,C,z);let It={};return Object.entries(h.children).forEach(([ge,pe])=>{It[ge]=this.createSegmentGroup(x,pe,C,z)}),new vt(nt,It)}createSegments(x,h,C,z){return h.map(nt=>nt.path.startsWith(":")?this.findPosParam(x,nt,z):this.findOrReturn(nt,C))}findPosParam(x,h,C){const z=C[h.path.substring(1)];if(!z)throw new o.wOt(4001,!1);return z}findOrReturn(x,h){let C=0;for(const z of h){if(z.path===x.path)return h.splice(C),z;C++}return x}}const er={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function nr(g,x,h,C,z){const nt=bc(g,x,h);return nt.matched?(C=function fo(g,x){return g.providers&&!g._injector&&(g._injector=(0,o.Ol2)(g.providers,x,`Route: ${g.path}`)),g._injector??x}(x,C),function nc(g,x,h,C){const z=x.canMatch;if(!z||0===z.length)return(0,T.of)(!0);const nt=z.map(It=>{const ge=co(It,g);return Et(function w(g){return g&&gc(g.canMatch)}(ge)?ge.canMatch(x,h):g.runInContext(()=>ge(x,h)))});return(0,T.of)(nt).pipe(wi(),tr())}(C,x,h).pipe((0,J.T)(It=>!0===It?nt:{...er}))):(0,T.of)(nt)}function bc(g,x,h){if(""===x.path)return"full"===x.pathMatch&&(g.hasChildren()||h.length>0)?{...er}:{matched:!0,consumedSegments:[],remainingSegments:h,parameters:{},positionalParamSegments:{}};const z=(x.matcher||gt)(h,g,x);if(!z)return{...er};const nt={};Object.entries(z.posParams??{}).forEach(([ge,pe])=>{nt[ge]=pe.path});const It=z.consumed.length>0?{...nt,...z.consumed[z.consumed.length-1].parameters}:nt;return{matched:!0,consumedSegments:z.consumed,remainingSegments:h.slice(z.consumed.length),parameters:It,positionalParamSegments:z.posParams??{}}}function Uc(g,x,h,C){return h.length>0&&function vr(g,x,h){return h.some(C=>Ac(g,x,C)&&ki(C)!==Ut)}(g,h,C)?{segmentGroup:new vt(x,br(C,new vt(h,g.children))),slicedSegments:[]}:0===h.length&&function Rr(g,x,h){return h.some(C=>Ac(g,x,C))}(g,h,C)?{segmentGroup:new vt(g.segments,ir(g,0,h,C,g.children)),slicedSegments:h}:{segmentGroup:new vt(g.segments,g.children),slicedSegments:h}}function ir(g,x,h,C,z){const nt={};for(const It of C)if(Ac(g,h,It)&&!z[ki(It)]){const ge=new vt([],{});nt[ki(It)]=ge}return{...z,...nt}}function br(g,x){const h={};h[Ut]=x;for(const C of g)if(""===C.path&&ki(C)!==Ut){const z=new vt([],{});h[ki(C)]=z}return h}function Ac(g,x,h){return(!(g.hasChildren()||x.length>0)||"full"!==h.pathMatch)&&""===h.path}class Tc{constructor(x,h,C,z,nt,It,ge){this.injector=x,this.configLoader=h,this.rootComponentType=C,this.config=z,this.urlTree=nt,this.paramsInheritanceStrategy=It,this.urlSerializer=ge,this.allowRedirects=!0,this.applyRedirects=new Nr(this.urlSerializer,this.urlTree)}noMatchError(x){return new o.wOt(4002,!1)}recognize(){const x=Uc(this.urlTree.root,[],[],this.config).segmentGroup;return this.processSegmentGroup(this.injector,this.config,x,Ut).pipe((0,ye.W)(h=>{if(h instanceof zc)return this.allowRedirects=!1,this.urlTree=h.urlTree,this.match(h.urlTree);throw h instanceof Ri?this.noMatchError(h):h}),(0,J.T)(h=>{const C=new Oo([],Object.freeze({}),Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,{},Ut,this.rootComponentType,null,{}),z=new Ii(C,h),nt=new mo("",z),It=function Qn(g,x,h=null,C=null){return I(ee(g),x,h,C)}(C,[],this.urlTree.queryParams,this.urlTree.fragment);return It.queryParams=this.urlTree.queryParams,nt.url=this.urlSerializer.serialize(It),this.inheritParamsAndData(nt._root),{state:nt,tree:It}}))}match(x){return this.processSegmentGroup(this.injector,this.config,x.root,Ut).pipe((0,ye.W)(C=>{throw C instanceof Ri?this.noMatchError(C):C}))}inheritParamsAndData(x){const h=x.value,C=Wi(h,this.paramsInheritanceStrategy);h.params=Object.freeze(C.params),h.data=Object.freeze(C.data),x.children.forEach(z=>this.inheritParamsAndData(z))}processSegmentGroup(x,h,C,z){return 0===C.segments.length&&C.hasChildren()?this.processChildren(x,h,C):this.processSegment(x,h,C,C.segments,z,!0)}processChildren(x,h,C){const z=[];for(const nt of Object.keys(C.children))"primary"===nt?z.unshift(nt):z.push(nt);return(0,b.H)(z).pipe((0,Ge.H)(nt=>{const It=C.children[nt],ge=function ko(g,x){const h=g.filter(C=>ki(C)===x);return h.push(...g.filter(C=>ki(C)!==x)),h}(h,nt);return this.processSegmentGroup(x,ge,It,nt)}),function Oe(g,x){return(0,V.N)((0,Ve.S)(g,x,arguments.length>=2,!0))}((nt,It)=>(nt.push(...It),nt)),rt(null),function be(g,x){const h=arguments.length>=2;return C=>C.pipe(g?(0,$.p)((z,nt)=>g(z,nt,C)):_e.D,Qe(1),h?rt(x):$t(()=>new P.G))}(),(0,lt.Z)(nt=>{if(null===nt)return Pc(C);const It=or(nt);return function po(g){g.sort((x,h)=>x.value.outlet===Ut?-1:h.value.outlet===Ut?1:x.value.outlet.localeCompare(h.value.outlet))}(It),(0,T.of)(It)}))}processSegment(x,h,C,z,nt,It){return(0,b.H)(h).pipe((0,Ge.H)(ge=>this.processSegmentAgainstRoute(ge._injector??x,h,ge,C,z,nt,It).pipe((0,ye.W)(pe=>{if(pe instanceof Ri)return(0,T.of)(null);throw pe}))),Le(ge=>!!ge),(0,ye.W)(ge=>{if(en(ge))return function xr(g,x,h){return 0===x.length&&!g.children[h]}(C,z,nt)?(0,T.of)([]):Pc(C);throw ge}))}processSegmentAgainstRoute(x,h,C,z,nt,It,ge){return function _r(g,x,h,C){return!!(ki(g)===C||C!==Ut&&Ac(x,h,g))&&("**"===g.path||bc(x,g,h).matched)}(C,z,nt,It)?void 0===C.redirectTo?this.matchSegmentAgainstRoute(x,z,C,nt,It,ge):ge&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(x,z,h,C,nt,It):Pc(z):Pc(z)}expandSegmentAgainstRouteUsingRedirect(x,h,C,z,nt,It){return"**"===z.path?this.expandWildCardWithParamsAgainstRouteUsingRedirect(x,C,z,It):this.expandRegularSegmentAgainstRouteUsingRedirect(x,h,C,z,nt,It)}expandWildCardWithParamsAgainstRouteUsingRedirect(x,h,C,z){const nt=this.applyRedirects.applyRedirectCommands([],C.redirectTo,{});return C.redirectTo.startsWith("/")?Li(nt):this.applyRedirects.lineralizeSegments(C,nt).pipe((0,lt.Z)(It=>{const ge=new vt(It,{});return this.processSegment(x,h,ge,It,z,!1)}))}expandRegularSegmentAgainstRouteUsingRedirect(x,h,C,z,nt,It){const{matched:ge,consumedSegments:pe,remainingSegments:Je,positionalParamSegments:An}=bc(h,z,nt);if(!ge)return Pc(h);const _i=this.applyRedirects.applyRedirectCommands(pe,z.redirectTo,An);return z.redirectTo.startsWith("/")?Li(_i):this.applyRedirects.lineralizeSegments(z,_i).pipe((0,lt.Z)(Xn=>this.processSegment(x,C,h,Xn.concat(Je),It,!1)))}matchSegmentAgainstRoute(x,h,C,z,nt,It){let ge;if("**"===C.path){const pe=z.length>0?Qt(z).parameters:{},Je=new Oo(z,pe,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,Ic(C),ki(C),C.component??C._loadedComponent??null,C,$i(C));ge=(0,T.of)({snapshot:Je,consumedSegments:[],remainingSegments:[]}),h.children={}}else ge=nr(h,C,z,x).pipe((0,J.T)(({matched:pe,consumedSegments:Je,remainingSegments:An,parameters:_i})=>pe?{snapshot:new Oo(Je,_i,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,Ic(C),ki(C),C.component??C._loadedComponent??null,C,$i(C)),consumedSegments:Je,remainingSegments:An}:null));return ge.pipe((0,bt.n)(pe=>null===pe?Pc(h):this.getChildConfig(x=C._injector??x,C,z).pipe((0,bt.n)(({routes:Je})=>{const An=C._loadedInjector??x,{snapshot:_i,consumedSegments:Xn,remainingSegments:yc}=pe,{segmentGroup:rr,slicedSegments:Kc}=Uc(h,Xn,yc,Je);if(0===Kc.length&&rr.hasChildren())return this.processChildren(An,Je,rr).pipe((0,J.T)(sr=>null===sr?null:[new Ii(_i,sr)]));if(0===Je.length&&0===Kc.length)return(0,T.of)([new Ii(_i,[])]);const Gc=ki(C)===nt;return this.processSegment(An,Je,rr,Kc,Gc?Ut:nt,!0).pipe((0,J.T)(sr=>[new Ii(_i,sr)]))}))))}getChildConfig(x,h,C){return h.children?(0,T.of)({routes:h.children,injector:x}):h.loadChildren?void 0!==h._loadedRoutes?(0,T.of)({routes:h._loadedRoutes,injector:h._loadedInjector}):function Ir(g,x,h,C){const z=x.canLoad;if(void 0===z||0===z.length)return(0,T.of)(!0);const nt=z.map(It=>{const ge=co(It,g);return Et(function Oc(g){return g&&gc(g.canLoad)}(ge)?ge.canLoad(x,h):g.runInContext(()=>ge(x,h)))});return(0,T.of)(nt).pipe(wi(),tr())}(x,h,C).pipe((0,lt.Z)(z=>z?this.configLoader.loadChildren(x,h).pipe((0,Xe.M)(nt=>{h._loadedRoutes=nt.routes,h._loadedInjector=nt.injector})):function Hi(g){return(0,q.$)(to(!1,3))}())):(0,T.of)({routes:[],injector:x})}}function Cr(g){const x=g.value.routeConfig;return x&&""===x.path}function or(g){const x=[],h=new Set;for(const C of g){if(!Cr(C)){x.push(C);continue}const z=x.find(nt=>C.value.routeConfig===nt.value.routeConfig);void 0!==z?(z.children.push(...C.children),h.add(z)):x.push(C)}for(const C of h){const z=or(C.children);x.push(new Ii(C.value,z))}return x.filter(C=>!h.has(C))}function Ic(g){return g.data||{}}function $i(g){return g.resolve||{}}function Hc(g){return"string"==typeof g.title||null===g.title}function qr(g){return(0,bt.n)(x=>{const h=g(x);return h?(0,b.H)(h).pipe((0,J.T)(()=>x)):(0,T.of)(x)})}const v=new o.nKC("ROUTES");let W=(()=>{class g{constructor(){this.componentLoaders=new WeakMap,this.childrenLoaders=new WeakMap,this.compiler=(0,o.WQX)(o.Ql9)}loadComponent(h){if(this.componentLoaders.get(h))return this.componentLoaders.get(h);if(h._loadedComponent)return(0,T.of)(h._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(h);const C=Et(h.loadComponent()).pipe((0,J.T)(At),(0,Xe.M)(nt=>{this.onLoadEndListener&&this.onLoadEndListener(h),h._loadedComponent=nt}),(0,yt.j)(()=>{this.componentLoaders.delete(h)})),z=new M.G(C,()=>new a.B).pipe((0,Kt.B)());return this.componentLoaders.set(h,z),z}loadChildren(h,C){if(this.childrenLoaders.get(C))return this.childrenLoaders.get(C);if(C._loadedRoutes)return(0,T.of)({routes:C._loadedRoutes,injector:C._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(C);const nt=function E(g,x,h,C){return Et(g.loadChildren()).pipe((0,J.T)(At),(0,lt.Z)(z=>z instanceof o.Co$||Array.isArray(z)?(0,T.of)(z):(0,b.H)(x.compileModuleAsync(z))),(0,J.T)(z=>{C&&C(g);let nt,It,ge=!1;return Array.isArray(z)?(It=z,!0):(nt=z.create(h).injector,It=nt.get(v,[],{optional:!0,self:!0}).flat()),{routes:It.map(hc),injector:nt}}))}(C,this.compiler,h,this.onLoadEndListener).pipe((0,yt.j)(()=>{this.childrenLoaders.delete(C)})),It=new M.G(nt,()=>new a.B).pipe((0,Kt.B)());return this.childrenLoaders.set(C,It),It}static{this.\u0275fac=function(C){return new(C||g)}}static{this.\u0275prov=o.jDH({token:g,factory:g.\u0275fac,providedIn:"root"})}}return g})();function At(g){return function F(g){return g&&"object"==typeof g&&"default"in g}(g)?g.default:g}let he=(()=>{class g{get hasRequestedNavigation(){return 0!==this.navigationId}constructor(){this.currentNavigation=null,this.currentTransition=null,this.lastSuccessfulNavigation=null,this.events=new a.B,this.transitionAbortSubject=new a.B,this.configLoader=(0,o.WQX)(W),this.environmentInjector=(0,o.WQX)(o.uvJ),this.urlSerializer=(0,o.WQX)(Ot),this.rootContexts=(0,o.WQX)(Ji),this.inputBindingEnabled=null!==(0,o.WQX)(Bi,{optional:!0}),this.navigationId=0,this.afterPreactivation=()=>(0,T.of)(void 0),this.rootComponentType=null,this.configLoader.onLoadEndListener=z=>this.events.next(new Jo(z)),this.configLoader.onLoadStartListener=z=>this.events.next(new uo(z))}complete(){this.transitions?.complete()}handleNavigationRequest(h){const C=++this.navigationId;this.transitions?.next({...this.transitions.value,...h,id:C})}setupNavigations(h,C,z){return this.transitions=new k.t({id:0,currentUrlTree:C,currentRawUrl:C,currentBrowserUrl:C,extractedUrl:h.urlHandlingStrategy.extract(C),urlAfterRedirects:h.urlHandlingStrategy.extract(C),rawUrl:C,extras:{},resolve:null,reject:null,promise:Promise.resolve(!0),source:Bn,restoredState:null,currentSnapshot:z.snapshot,targetSnapshot:null,currentRouterState:z,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.transitions.pipe((0,$.p)(nt=>0!==nt.id),(0,J.T)(nt=>({...nt,extractedUrl:h.urlHandlingStrategy.extract(nt.rawUrl)})),(0,bt.n)(nt=>{this.currentTransition=nt;let It=!1,ge=!1;return(0,T.of)(nt).pipe((0,Xe.M)(pe=>{this.currentNavigation={id:pe.id,initialUrl:pe.rawUrl,extractedUrl:pe.extractedUrl,trigger:pe.source,extras:pe.extras,previousNavigation:this.lastSuccessfulNavigation?{...this.lastSuccessfulNavigation,previousNavigation:null}:null}}),(0,bt.n)(pe=>{const Je=pe.currentBrowserUrl.toString(),An=!h.navigated||pe.extractedUrl.toString()!==Je||Je!==pe.currentUrlTree.toString();if(!An&&"reload"!==(pe.extras.onSameUrlNavigation??h.onSameUrlNavigation)){const Xn="";return this.events.next(new oi(pe.id,this.urlSerializer.serialize(pe.rawUrl),Xn,0)),pe.resolve(null),K.w}if(h.urlHandlingStrategy.shouldProcessUrl(pe.rawUrl))return(0,T.of)(pe).pipe((0,bt.n)(Xn=>{const yc=this.transitions?.getValue();return this.events.next(new Mi(Xn.id,this.urlSerializer.serialize(Xn.extractedUrl),Xn.source,Xn.restoredState)),yc!==this.transitions?.getValue()?K.w:Promise.resolve(Xn)}),function Fr(g,x,h,C,z,nt){return(0,lt.Z)(It=>function vc(g,x,h,C,z,nt,It="emptyOnly"){return new Tc(g,x,h,C,z,It,nt).recognize()}(g,x,h,C,It.extractedUrl,z,nt).pipe((0,J.T)(({state:ge,tree:pe})=>({...It,targetSnapshot:ge,urlAfterRedirects:pe}))))}(this.environmentInjector,this.configLoader,this.rootComponentType,h.config,this.urlSerializer,h.paramsInheritanceStrategy),(0,Xe.M)(Xn=>{nt.targetSnapshot=Xn.targetSnapshot,nt.urlAfterRedirects=Xn.urlAfterRedirects,this.currentNavigation={...this.currentNavigation,finalUrl:Xn.urlAfterRedirects};const yc=new Mo(Xn.id,this.urlSerializer.serialize(Xn.extractedUrl),this.urlSerializer.serialize(Xn.urlAfterRedirects),Xn.targetSnapshot);this.events.next(yc)}));if(An&&h.urlHandlingStrategy.shouldProcessUrl(pe.currentRawUrl)){const{id:Xn,extractedUrl:yc,source:rr,restoredState:Kc,extras:Gc}=pe,sr=new Mi(Xn,this.urlSerializer.serialize(yc),rr,Kc);this.events.next(sr);const Qa=ei(0,this.rootComponentType).snapshot;return this.currentTransition=nt={...pe,targetSnapshot:Qa,urlAfterRedirects:yc,extras:{...Gc,skipLocationChange:!1,replaceUrl:!1}},(0,T.of)(nt)}{const Xn="";return this.events.next(new oi(pe.id,this.urlSerializer.serialize(pe.extractedUrl),Xn,1)),pe.resolve(null),K.w}}),(0,Xe.M)(pe=>{const Je=new si(pe.id,this.urlSerializer.serialize(pe.extractedUrl),this.urlSerializer.serialize(pe.urlAfterRedirects),pe.targetSnapshot);this.events.next(Je)}),(0,J.T)(pe=>(this.currentTransition=nt={...pe,guards:mi(pe.targetSnapshot,pe.currentSnapshot,this.rootContexts)},nt)),function ec(g,x){return(0,lt.Z)(h=>{const{targetSnapshot:C,currentSnapshot:z,guards:{canActivateChecks:nt,canDeactivateChecks:It}}=h;return 0===It.length&&0===nt.length?(0,T.of)({...h,guardsResult:!0}):function Vc(g,x,h,C){return(0,b.H)(g).pipe((0,lt.Z)(z=>function Tr(g,x,h,C,z){const nt=x&&x.routeConfig?x.routeConfig.canDeactivate:null;if(!nt||0===nt.length)return(0,T.of)(!0);const It=nt.map(ge=>{const pe=ui(x)??z,Je=co(ge,pe);return Et(function B(g){return g&&gc(g.canDeactivate)}(Je)?Je.canDeactivate(g,x,h,C):pe.runInContext(()=>Je(g,x,h,C))).pipe(Le())});return(0,T.of)(It).pipe(wi())}(z.component,z.route,h,x,C)),Le(z=>!0!==z,!0))}(It,C,z,g).pipe((0,lt.Z)(ge=>ge&&function Ar(g){return"boolean"==typeof g}(ge)?function ps(g,x,h,C){return(0,b.H)(x).pipe((0,Ge.H)(z=>(0,Z.x)(function Qr(g,x){return null!==g&&x&&x(new uc(g)),(0,T.of)(!0)}(z.route.parent,C),function gs(g,x){return null!==g&&x&&x(new Jc(g)),(0,T.of)(!0)}(z.route,C),function qc(g,x,h){const C=x[x.length-1],nt=x.slice(0,x.length-1).reverse().map(It=>function xi(g){const x=g.routeConfig?g.routeConfig.canActivateChild:null;return x&&0!==x.length?{node:g,guards:x}:null}(It)).filter(It=>null!==It).map(It=>(0,N.v)(()=>{const ge=It.guards.map(pe=>{const Je=ui(It.node)??h,An=co(pe,Je);return Et(function S(g){return g&&gc(g.canActivateChild)}(An)?An.canActivateChild(C,g):Je.runInContext(()=>An(C,g))).pipe(Le())});return(0,T.of)(ge).pipe(wi())}));return(0,T.of)(nt).pipe(wi())}(g,z.path,h),function Zr(g,x,h){const C=x.routeConfig?x.routeConfig.canActivate:null;if(!C||0===C.length)return(0,T.of)(!0);const z=C.map(nt=>(0,N.v)(()=>{const It=ui(x)??h,ge=co(nt,It);return Et(function Sc(g){return g&&gc(g.canActivate)}(ge)?ge.canActivate(x,g):It.runInContext(()=>ge(x,g))).pipe(Le())}));return(0,T.of)(z).pipe(wi())}(g,z.route,h))),Le(z=>!0!==z,!0))}(C,nt,g,x):(0,T.of)(ge)),(0,J.T)(ge=>({...h,guardsResult:ge})))})}(this.environmentInjector,pe=>this.events.next(pe)),(0,Xe.M)(pe=>{if(nt.guardsResult=pe.guardsResult,Nn(pe.guardsResult))throw qi(0,pe.guardsResult);const Je=new Zc(pe.id,this.urlSerializer.serialize(pe.extractedUrl),this.urlSerializer.serialize(pe.urlAfterRedirects),pe.targetSnapshot,!!pe.guardsResult);this.events.next(Je)}),(0,$.p)(pe=>!!pe.guardsResult||(this.cancelNavigationTransition(pe,"",3),!1)),qr(pe=>{if(pe.guards.canActivateChecks.length)return(0,T.of)(pe).pipe((0,Xe.M)(Je=>{const An=new dc(Je.id,this.urlSerializer.serialize(Je.extractedUrl),this.urlSerializer.serialize(Je.urlAfterRedirects),Je.targetSnapshot);this.events.next(An)}),(0,bt.n)(Je=>{let An=!1;return(0,T.of)(Je).pipe(function Br(g,x){return(0,lt.Z)(h=>{const{targetSnapshot:C,guards:{canActivateChecks:z}}=h;if(!z.length)return(0,T.of)(h);let nt=0;return(0,b.H)(z).pipe((0,Ge.H)(It=>function jc(g,x,h,C){const z=g.routeConfig,nt=g._resolve;return void 0!==z?.title&&!Hc(z)&&(nt[Ne]=z.title),function Vr(g,x,h,C){const z=function Ko(g){return[...Object.keys(g),...Object.getOwnPropertySymbols(g)]}(g);if(0===z.length)return(0,T.of)({});const nt={};return(0,b.H)(z).pipe((0,lt.Z)(It=>function bs(g,x,h,C){const z=ui(x)??C,nt=co(g,z);return Et(nt.resolve?nt.resolve(x,h):z.runInContext(()=>nt(x,h)))}(g[It],x,h,C).pipe(Le(),(0,Xe.M)(ge=>{nt[It]=ge}))),Qe(1),(0,Me.u)(nt),(0,ye.W)(It=>en(It)?K.w:(0,q.$)(It)))}(nt,g,x,C).pipe((0,J.T)(It=>(g._resolvedData=It,g.data=Wi(g,h).resolve,z&&Hc(z)&&(g.data[Ne]=z.title),null)))}(It.route,C,g,x)),(0,Xe.M)(()=>nt++),Qe(1),(0,lt.Z)(It=>nt===z.length?(0,T.of)(h):K.w))})}(h.paramsInheritanceStrategy,this.environmentInjector),(0,Xe.M)({next:()=>An=!0,complete:()=>{An||this.cancelNavigationTransition(Je,"",2)}}))}),(0,Xe.M)(Je=>{const An=new kr(Je.id,this.urlSerializer.serialize(Je.extractedUrl),this.urlSerializer.serialize(Je.urlAfterRedirects),Je.targetSnapshot);this.events.next(An)}))}),qr(pe=>{const Je=An=>{const _i=[];An.routeConfig?.loadComponent&&!An.routeConfig._loadedComponent&&_i.push(this.configLoader.loadComponent(An.routeConfig).pipe((0,Xe.M)(Xn=>{An.component=Xn}),(0,J.T)(()=>{})));for(const Xn of An.children)_i.push(...Je(Xn));return _i};return(0,G.z)(Je(pe.targetSnapshot.root)).pipe(rt(),(0,Gt.s)(1))}),qr(()=>this.afterPreactivation()),(0,J.T)(pe=>{const Je=function So(g,x,h){const C=Vn(g,x._root,h?h._root:void 0);return new di(C,x)}(h.routeReuseStrategy,pe.targetSnapshot,pe.currentRouterState);return this.currentTransition=nt={...pe,targetRouterState:Je},nt}),(0,Xe.M)(()=>{this.events.next(new Bo)}),((g,x,h,C)=>(0,J.T)(z=>(new $o(x,z.targetRouterState,z.currentRouterState,h,C).activate(g),z)))(this.rootContexts,h.routeReuseStrategy,pe=>this.events.next(pe),this.inputBindingEnabled),(0,Gt.s)(1),(0,Xe.M)({next:pe=>{It=!0,this.lastSuccessfulNavigation=this.currentNavigation,this.events.next(new pi(pe.id,this.urlSerializer.serialize(pe.extractedUrl),this.urlSerializer.serialize(pe.urlAfterRedirects))),h.titleStrategy?.updateTitle(pe.targetRouterState.snapshot),pe.resolve(!0)},complete:()=>{It=!0}}),(0,Nt.Q)(this.transitionAbortSubject.pipe((0,Xe.M)(pe=>{throw pe}))),(0,yt.j)(()=>{It||ge||this.cancelNavigationTransition(nt,"",1),this.currentNavigation?.id===nt.id&&(this.currentNavigation=null)}),(0,ye.W)(pe=>{if(ge=!0,$n(pe))this.events.next(new Fi(nt.id,this.urlSerializer.serialize(nt.extractedUrl),pe.message,pe.cancellationCode)),function zi(g){return $n(g)&&Nn(g.url)}(pe)?this.events.next(new Vo(pe.url)):nt.resolve(!1);else{this.events.next(new Ti(nt.id,this.urlSerializer.serialize(nt.extractedUrl),pe,nt.targetSnapshot??void 0));try{nt.resolve(h.errorHandler(pe))}catch(Je){nt.reject(Je)}}return K.w}))}))}cancelNavigationTransition(h,C,z){const nt=new Fi(h.id,this.urlSerializer.serialize(h.extractedUrl),C,z);this.events.next(nt),h.resolve(!1)}static{this.\u0275fac=function(C){return new(C||g)}}static{this.\u0275prov=o.jDH({token:g,factory:g.\u0275fac,providedIn:"root"})}}return g})();function Pe(g){return g!==Bn}let sn=(()=>{class g{buildTitle(h){let C,z=h.root;for(;void 0!==z;)C=this.getResolvedTitleForRoute(z)??C,z=z.children.find(nt=>nt.outlet===Ut);return C}getResolvedTitleForRoute(h){return h.data[Ne]}static{this.\u0275fac=function(C){return new(C||g)}}static{this.\u0275prov=o.jDH({token:g,factory:function(){return(0,o.WQX)(ni)},providedIn:"root"})}}return g})(),ni=(()=>{class g extends sn{constructor(h){super(),this.title=h}updateTitle(h){const C=this.buildTitle(h);void 0!==C&&this.title.setTitle(C)}static{this.\u0275fac=function(C){return new(C||g)(o.KVO(Yt.hE))}}static{this.\u0275prov=o.jDH({token:g,factory:g.\u0275fac,providedIn:"root"})}}return g})(),ti=(()=>{class g{static{this.\u0275fac=function(C){return new(C||g)}}static{this.\u0275prov=o.jDH({token:g,factory:function(){return(0,o.WQX)(Sn)},providedIn:"root"})}}return g})();class Un{shouldDetach(x){return!1}store(x,h){}shouldAttach(x){return!1}retrieve(x){return null}shouldReuseRoute(x,h){return x.routeConfig===h.routeConfig}}let Sn=(()=>{class g extends Un{static{this.\u0275fac=function(){let h;return function(z){return(h||(h=o.xGo(g)))(z||g)}}()}static{this.\u0275prov=o.jDH({token:g,factory:g.\u0275fac,providedIn:"root"})}}return g})();const Zn=new o.nKC("",{providedIn:"root",factory:()=>({})});let ii=(()=>{class g{static{this.\u0275fac=function(C){return new(C||g)}}static{this.\u0275prov=o.jDH({token:g,factory:function(){return(0,o.WQX)(vi)},providedIn:"root"})}}return g})(),vi=(()=>{class g{shouldProcessUrl(h){return!0}extract(h){return h}merge(h,C){return h}static{this.\u0275fac=function(C){return new(C||g)}}static{this.\u0275prov=o.jDH({token:g,factory:g.\u0275fac,providedIn:"root"})}}return g})();var ai=function(g){return g[g.COMPLETE=0]="COMPLETE",g[g.FAILED=1]="FAILED",g[g.REDIRECTING=2]="REDIRECTING",g}(ai||{});function Ki(g,x){g.events.pipe((0,$.p)(h=>h instanceof pi||h instanceof Fi||h instanceof Ti||h instanceof oi),(0,J.T)(h=>h instanceof pi||h instanceof oi?ai.COMPLETE:h instanceof Fi&&(0===h.code||1===h.code)?ai.REDIRECTING:ai.FAILED),(0,$.p)(h=>h!==ai.REDIRECTING),(0,Gt.s)(1)).subscribe(()=>{x()})}function go(g){throw g}function Gi(g,x,h){return x.parse("/")}const no={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},Ai={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};let Ci=(()=>{class g{get navigationId(){return this.navigationTransitions.navigationId}get browserPageId(){return"computed"!==this.canceledNavigationResolution?this.currentPageId:this.location.getState()?.\u0275routerPageId??this.currentPageId}get events(){return this._events}constructor(){this.disposed=!1,this.currentPageId=0,this.console=(0,o.WQX)(o.H3F),this.isNgZoneEnabled=!1,this._events=new a.B,this.options=(0,o.WQX)(Zn,{optional:!0})||{},this.pendingTasks=(0,o.WQX)(o.$K3),this.errorHandler=this.options.errorHandler||go,this.malformedUriErrorHandler=this.options.malformedUriErrorHandler||Gi,this.navigated=!1,this.lastSuccessfulId=-1,this.urlHandlingStrategy=(0,o.WQX)(ii),this.routeReuseStrategy=(0,o.WQX)(ti),this.titleStrategy=(0,o.WQX)(sn),this.onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore",this.paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly",this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.canceledNavigationResolution=this.options.canceledNavigationResolution||"replace",this.config=(0,o.WQX)(v,{optional:!0})?.flat()??[],this.navigationTransitions=(0,o.WQX)(he),this.urlSerializer=(0,o.WQX)(Ot),this.location=(0,o.WQX)(j.aZ),this.componentInputBindingEnabled=!!(0,o.WQX)(Bi,{optional:!0}),this.eventsSubscription=new pt.yU,this.isNgZoneEnabled=(0,o.WQX)(o.SKi)instanceof o.SKi&&o.SKi.isInAngularZone(),this.resetConfig(this.config),this.currentUrlTree=new zt,this.rawUrlTree=this.currentUrlTree,this.browserUrlTree=this.currentUrlTree,this.routerState=ei(0,null),this.navigationTransitions.setupNavigations(this,this.currentUrlTree,this.routerState).subscribe(h=>{this.lastSuccessfulId=h.id,this.currentPageId=this.browserPageId},h=>{this.console.warn(`Unhandled Navigation Error: ${h}`)}),this.subscribeToNavigationEvents()}subscribeToNavigationEvents(){const h=this.navigationTransitions.events.subscribe(C=>{try{const{currentTransition:z}=this.navigationTransitions;if(null===z)return void(Wn(C)&&this._events.next(C));if(C instanceof Mi)Pe(z.source)&&(this.browserUrlTree=z.extractedUrl);else if(C instanceof oi)this.rawUrlTree=z.rawUrl;else if(C instanceof Mo){if("eager"===this.urlUpdateStrategy){if(!z.extras.skipLocationChange){const nt=this.urlHandlingStrategy.merge(z.urlAfterRedirects,z.rawUrl);this.setBrowserUrl(nt,z)}this.browserUrlTree=z.urlAfterRedirects}}else if(C instanceof Bo)this.currentUrlTree=z.urlAfterRedirects,this.rawUrlTree=this.urlHandlingStrategy.merge(z.urlAfterRedirects,z.rawUrl),this.routerState=z.targetRouterState,"deferred"===this.urlUpdateStrategy&&(z.extras.skipLocationChange||this.setBrowserUrl(this.rawUrlTree,z),this.browserUrlTree=z.urlAfterRedirects);else if(C instanceof Fi)0!==C.code&&1!==C.code&&(this.navigated=!0),(3===C.code||2===C.code)&&this.restoreHistory(z);else if(C instanceof Vo){const nt=this.urlHandlingStrategy.merge(C.url,z.currentRawUrl),It={skipLocationChange:z.extras.skipLocationChange,replaceUrl:"eager"===this.urlUpdateStrategy||Pe(z.source)};this.scheduleNavigation(nt,Bn,null,It,{resolve:z.resolve,reject:z.reject,promise:z.promise})}C instanceof Ti&&this.restoreHistory(z,!0),C instanceof pi&&(this.navigated=!0),Wn(C)&&this._events.next(C)}catch(z){this.navigationTransitions.transitionAbortSubject.next(z)}});this.eventsSubscription.add(h)}resetRootComponentType(h){this.routerState.root.component=h,this.navigationTransitions.rootComponentType=h}initialNavigation(){if(this.setUpLocationChangeListener(),!this.navigationTransitions.hasRequestedNavigation){const h=this.location.getState();this.navigateToSyncWithBrowser(this.location.path(!0),Bn,h)}}setUpLocationChangeListener(){this.locationSubscription||(this.locationSubscription=this.location.subscribe(h=>{const C="popstate"===h.type?"popstate":"hashchange";"popstate"===C&&setTimeout(()=>{this.navigateToSyncWithBrowser(h.url,C,h.state)},0)}))}navigateToSyncWithBrowser(h,C,z){const nt={replaceUrl:!0},It=z?.navigationId?z:null;if(z){const pe={...z};delete pe.navigationId,delete pe.\u0275routerPageId,0!==Object.keys(pe).length&&(nt.state=pe)}const ge=this.parseUrl(h);this.scheduleNavigation(ge,C,It,nt)}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.navigationTransitions.currentNavigation}get lastSuccessfulNavigation(){return this.navigationTransitions.lastSuccessfulNavigation}resetConfig(h){this.config=h.map(hc),this.navigated=!1,this.lastSuccessfulId=-1}ngOnDestroy(){this.dispose()}dispose(){this.navigationTransitions.complete(),this.locationSubscription&&(this.locationSubscription.unsubscribe(),this.locationSubscription=void 0),this.disposed=!0,this.eventsSubscription.unsubscribe()}createUrlTree(h,C={}){const{relativeTo:z,queryParams:nt,fragment:It,queryParamsHandling:ge,preserveFragment:pe}=C,Je=pe?this.currentUrlTree.fragment:It;let _i,An=null;switch(ge){case"merge":An={...this.currentUrlTree.queryParams,...nt};break;case"preserve":An=this.currentUrlTree.queryParams;break;default:An=nt||null}null!==An&&(An=this.removeEmptyProps(An));try{_i=ee(z?z.snapshot:this.routerState.snapshot.root)}catch{("string"!=typeof h[0]||!h[0].startsWith("/"))&&(h=[]),_i=this.currentUrlTree.root}return I(_i,h,An,Je??null)}navigateByUrl(h,C={skipLocationChange:!1}){const z=Nn(h)?h:this.parseUrl(h),nt=this.urlHandlingStrategy.merge(z,this.rawUrlTree);return this.scheduleNavigation(nt,Bn,null,C)}navigate(h,C={skipLocationChange:!1}){return function ts(g){for(let x=0;x{const nt=h[z];return null!=nt&&(C[z]=nt),C},{})}scheduleNavigation(h,C,z,nt,It){if(this.disposed)return Promise.resolve(!1);let ge,pe,Je;It?(ge=It.resolve,pe=It.reject,Je=It.promise):Je=new Promise((_i,Xn)=>{ge=_i,pe=Xn});const An=this.pendingTasks.add();return Ki(this,()=>{queueMicrotask(()=>this.pendingTasks.remove(An))}),this.navigationTransitions.handleNavigationRequest({source:C,restoredState:z,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,currentBrowserUrl:this.browserUrlTree,rawUrl:h,extras:nt,resolve:ge,reject:pe,promise:Je,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),Je.catch(_i=>Promise.reject(_i))}setBrowserUrl(h,C){const z=this.urlSerializer.serialize(h);if(this.location.isCurrentPathEqualTo(z)||C.extras.replaceUrl){const It={...C.extras.state,...this.generateNgRouterState(C.id,this.browserPageId)};this.location.replaceState(z,"",It)}else{const nt={...C.extras.state,...this.generateNgRouterState(C.id,this.browserPageId+1)};this.location.go(z,"",nt)}}restoreHistory(h,C=!1){if("computed"===this.canceledNavigationResolution){const nt=this.currentPageId-this.browserPageId;0!==nt?this.location.historyGo(nt):this.currentUrlTree===this.getCurrentNavigation()?.finalUrl&&0===nt&&(this.resetState(h),this.browserUrlTree=h.currentUrlTree,this.resetUrlToCurrentUrlTree())}else"replace"===this.canceledNavigationResolution&&(C&&this.resetState(h),this.resetUrlToCurrentUrlTree())}resetState(h){this.routerState=h.currentRouterState,this.currentUrlTree=h.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,h.rawUrl)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}generateNgRouterState(h,C){return"computed"===this.canceledNavigationResolution?{navigationId:h,\u0275routerPageId:C}:{navigationId:h}}static{this.\u0275fac=function(C){return new(C||g)}}static{this.\u0275prov=o.jDH({token:g,factory:g.\u0275fac,providedIn:"root"})}}return g})();function Wn(g){return!(g instanceof Bo||g instanceof Vo)}let io=(()=>{class g{constructor(h,C,z,nt,It,ge){this.router=h,this.route=C,this.tabIndexAttribute=z,this.renderer=nt,this.el=It,this.locationStrategy=ge,this.href=null,this.commands=null,this.onChanges=new a.B,this.preserveFragment=!1,this.skipLocationChange=!1,this.replaceUrl=!1;const pe=It.nativeElement.tagName?.toLowerCase();this.isAnchorElement="a"===pe||"area"===pe,this.isAnchorElement?this.subscription=h.events.subscribe(Je=>{Je instanceof pi&&this.updateHref()}):this.setTabIndexIfNotOnNativeEl("0")}setTabIndexIfNotOnNativeEl(h){null!=this.tabIndexAttribute||this.isAnchorElement||this.applyAttributeValue("tabindex",h)}ngOnChanges(h){this.isAnchorElement&&this.updateHref(),this.onChanges.next(this)}set routerLink(h){null!=h?(this.commands=Array.isArray(h)?h:[h],this.setTabIndexIfNotOnNativeEl("0")):(this.commands=null,this.setTabIndexIfNotOnNativeEl(null))}onClick(h,C,z,nt,It){return!!(null===this.urlTree||this.isAnchorElement&&(0!==h||C||z||nt||It||"string"==typeof this.target&&"_self"!=this.target))||(this.router.navigateByUrl(this.urlTree,{skipLocationChange:this.skipLocationChange,replaceUrl:this.replaceUrl,state:this.state}),!this.isAnchorElement)}ngOnDestroy(){this.subscription?.unsubscribe()}updateHref(){this.href=null!==this.urlTree&&this.locationStrategy?this.locationStrategy?.prepareExternalUrl(this.router.serializeUrl(this.urlTree)):null;const h=null===this.href?null:(0,o.n$t)(this.href,this.el.nativeElement.tagName.toLowerCase(),"href");this.applyAttributeValue("href",h)}applyAttributeValue(h,C){const z=this.renderer,nt=this.el.nativeElement;null!==C?z.setAttribute(nt,h,C):z.removeAttribute(nt,h)}get urlTree(){return null===this.commands?null:this.router.createUrlTree(this.commands,{relativeTo:void 0!==this.relativeTo?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:this.preserveFragment})}static{this.\u0275fac=function(C){return new(C||g)(o.rXU(Ci),o.rXU(ci),o.kS0("tabindex"),o.rXU(o.sFG),o.rXU(o.aKT),o.rXU(j.hb))}}static{this.\u0275dir=o.FsC({type:g,selectors:[["","routerLink",""]],hostVars:1,hostBindings:function(C,z){1&C&&o.bIt("click",function(It){return z.onClick(It.button,It.ctrlKey,It.shiftKey,It.altKey,It.metaKey)}),2&C&&o.BMQ("target",z.target)},inputs:{target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",state:"state",relativeTo:"relativeTo",preserveFragment:["preserveFragment","preserveFragment",o.L39],skipLocationChange:["skipLocationChange","skipLocationChange",o.L39],replaceUrl:["replaceUrl","replaceUrl",o.L39],routerLink:"routerLink"},standalone:!0,features:[o.GFd,o.OA$]})}}return g})();class et{}let St=(()=>{class g{constructor(h,C,z,nt,It){this.router=h,this.injector=z,this.preloadingStrategy=nt,this.loader=It}setUpPreloading(){this.subscription=this.router.events.pipe((0,$.p)(h=>h instanceof pi),(0,Ge.H)(()=>this.preload())).subscribe(()=>{})}preload(){return this.processRoutes(this.injector,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(h,C){const z=[];for(const nt of C){nt.providers&&!nt._injector&&(nt._injector=(0,o.Ol2)(nt.providers,h,`Route: ${nt.path}`));const It=nt._injector??h,ge=nt._loadedInjector??It;(nt.loadChildren&&!nt._loadedRoutes&&void 0===nt.canLoad||nt.loadComponent&&!nt._loadedComponent)&&z.push(this.preloadConfig(It,nt)),(nt.children||nt._loadedRoutes)&&z.push(this.processRoutes(ge,nt.children??nt._loadedRoutes))}return(0,b.H)(z).pipe((0,Tt.U)())}preloadConfig(h,C){return this.preloadingStrategy.preload(C,()=>{let z;z=C.loadChildren&&void 0===C.canLoad?this.loader.loadChildren(h,C):(0,T.of)(null);const nt=z.pipe((0,lt.Z)(It=>null===It?(0,T.of)(void 0):(C._loadedRoutes=It.routes,C._loadedInjector=It.injector,this.processRoutes(It.injector??h,It.routes))));if(C.loadComponent&&!C._loadedComponent){const It=this.loader.loadComponent(C);return(0,b.H)([nt,It]).pipe((0,Tt.U)())}return nt})}static{this.\u0275fac=function(C){return new(C||g)(o.KVO(Ci),o.KVO(o.Ql9),o.KVO(o.uvJ),o.KVO(et),o.KVO(W))}}static{this.\u0275prov=o.jDH({token:g,factory:g.\u0275fac,providedIn:"root"})}}return g})();const ie=new o.nKC("");let we=(()=>{class g{constructor(h,C,z,nt,It={}){this.urlSerializer=h,this.transitions=C,this.viewportScroller=z,this.zone=nt,this.options=It,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},It.scrollPositionRestoration=It.scrollPositionRestoration||"disabled",It.anchorScrolling=It.anchorScrolling||"disabled"}init(){"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}createScrollEvents(){return this.transitions.events.subscribe(h=>{h instanceof Mi?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=h.navigationTrigger,this.restoredId=h.restoredState?h.restoredState.navigationId:0):h instanceof pi?(this.lastId=h.id,this.scheduleScrollEvent(h,this.urlSerializer.parse(h.urlAfterRedirects).fragment)):h instanceof oi&&0===h.code&&(this.lastSource=void 0,this.restoredId=0,this.scheduleScrollEvent(h,this.urlSerializer.parse(h.url).fragment))})}consumeScrollEvents(){return this.transitions.events.subscribe(h=>{h instanceof mc&&(h.position?"top"===this.options.scrollPositionRestoration?this.viewportScroller.scrollToPosition([0,0]):"enabled"===this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition(h.position):h.anchor&&"enabled"===this.options.anchorScrolling?this.viewportScroller.scrollToAnchor(h.anchor):"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(h,C){this.zone.runOutsideAngular(()=>{setTimeout(()=>{this.zone.run(()=>{this.transitions.events.next(new mc(h,"popstate"===this.lastSource?this.store[this.restoredId]:null,C))})},0)})}ngOnDestroy(){this.routerEventsSubscription?.unsubscribe(),this.scrollEventsSubscription?.unsubscribe()}static{this.\u0275fac=function(C){o.QTQ()}}static{this.\u0275prov=o.jDH({token:g,factory:g.\u0275fac})}}return g})();function Ue(g,...x){return(0,o.EmA)([{provide:v,multi:!0,useValue:g},[],{provide:ci,useFactory:an,deps:[Ci]},{provide:o.iLQ,multi:!0,useFactory:_c},x.map(h=>h.\u0275providers)])}function an(g){return g.routerState.root}function nn(g,x){return{\u0275kind:g,\u0275providers:x}}function _c(){const g=(0,o.WQX)(o.zZn);return x=>{const h=g.get(o.o8S);if(x!==h.components[0])return;const C=g.get(Ci),z=g.get(pn);1===g.get(ro)&&C.initialNavigation(),g.get(Rc,null,o.$GK.Optional)?.setUpPreloading(),g.get(ie,null,o.$GK.Optional)?.init(),C.resetRootComponentType(h.componentTypes[0]),z.closed||(z.next(),z.complete(),z.unsubscribe())}}const pn=new o.nKC("",{factory:()=>new a.B}),ro=new o.nKC("",{providedIn:"root",factory:()=>1}),Rc=new o.nKC("");function xc(g){return nn(0,[{provide:Rc,useExisting:St},{provide:et,useExisting:g}])}function $c(){return nn(5,[{provide:j.hb,useClass:j.fw}])}const Us=new o.nKC("ROUTER_FORROOT_GUARD"),Re=[j.aZ,{provide:Ot,useClass:xe},Ci,Ji,{provide:ci,useFactory:an,deps:[Ci]},W,[]];function Gn(){return new o.NEm("Router",Ci)}let vs=(()=>{class g{constructor(h){}static forRoot(h,C){return{ngModule:g,providers:[Re,[],{provide:v,multi:!0,useValue:h},{provide:Us,useFactory:jr,deps:[[Ci,new o.Xx1,new o.kdw]]},{provide:Zn,useValue:C||{}},C?.useHash?{provide:j.hb,useClass:j.fw}:{provide:j.hb,useClass:j.Sm},{provide:ie,useFactory:()=>{const g=(0,o.WQX)(j.Xr),x=(0,o.WQX)(o.SKi),h=(0,o.WQX)(Zn),C=(0,o.WQX)(he),z=(0,o.WQX)(Ot);return h.scrollOffset&&g.setOffset(h.scrollOffset),new we(z,C,g,x,h)}},C?.preloadingStrategy?xc(C.preloadingStrategy).\u0275providers:[],{provide:o.NEm,multi:!0,useFactory:Gn},C?.initialNavigation?Cc(C):[],C?.bindToComponentInputs?nn(8,[gi,{provide:Bi,useExisting:gi}]).\u0275providers:[],[{provide:ic,useFactory:_c},{provide:o.iLQ,multi:!0,useExisting:ic}]]}}static forChild(h){return{ngModule:g,providers:[{provide:v,multi:!0,useValue:h}]}}static{this.\u0275fac=function(C){return new(C||g)(o.KVO(Us,8))}}static{this.\u0275mod=o.$C({type:g})}static{this.\u0275inj=o.G2t({})}}return g})();function jr(g){return"guarded"}function Cc(g){return["disabled"===g.initialNavigation?nn(3,[{provide:o.hnV,multi:!0,useFactory:()=>{const x=(0,o.WQX)(Ci);return()=>{x.setUpLocationChangeListener()}}},{provide:ro,useValue:2}]).\u0275providers:[],"enabledBlocking"===g.initialNavigation?nn(2,[{provide:ro,useValue:0},{provide:o.hnV,multi:!0,deps:[o.zZn],useFactory:x=>{const h=x.get(j.hj,Promise.resolve());return()=>h.then(()=>new Promise(C=>{const z=x.get(Ci),nt=x.get(pn);Ki(z,()=>{C(!0)}),x.get(he).afterPreactivation=()=>(C(!0),nt.closed?(0,T.of)(void 0):nt),z.initialNavigation()}))}}]).\u0275providers:[]]}const ic=new o.nKC("")},54342:(Ce,Lt,r)=>{r.d(Lt,{aY:()=>no,dX:()=>Go});var o=r(1843);function y(D,et,ct){return(et=function Z(D){var et=function P(D,et){if("object"!=typeof D||!D)return D;var ct=D[Symbol.toPrimitive];if(void 0!==ct){var ut=ct.call(D,et||"default");if("object"!=typeof ut)return ut;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===et?String:Number)(D)}(D,"string");return"symbol"==typeof et?et:et+""}(et))in D?Object.defineProperty(D,et,{value:ct,enumerable:!0,configurable:!0,writable:!0}):D[et]=ct,D}function T(D,et){var ct=Object.keys(D);if(Object.getOwnPropertySymbols){var ut=Object.getOwnPropertySymbols(D);et&&(ut=ut.filter(function(St){return Object.getOwnPropertyDescriptor(D,St).enumerable})),ct.push.apply(ct,ut)}return ct}function k(D){for(var et=1;et{};let q={},K={},M=null,a={mark:ot,measure:ot};try{typeof window<"u"&&(q=window),typeof document<"u"&&(K=document),typeof MutationObserver<"u"&&(M=MutationObserver),typeof performance<"u"&&(a=performance)}catch{}const{userAgent:pt=""}=q.navigator||{},j=q,J=K,bt=M,Gt=a,$=!!J.documentElement&&!!J.head&&"function"==typeof J.addEventListener&&"function"==typeof J.createElement,lt=~pt.indexOf("MSIE")||~pt.indexOf("Trident/");var rt={classic:{fa:"solid",fas:"solid","fa-solid":"solid",far:"regular","fa-regular":"regular",fal:"light","fa-light":"light",fat:"thin","fa-thin":"thin",fab:"brands","fa-brands":"brands"},duotone:{fa:"solid",fad:"solid","fa-solid":"solid","fa-duotone":"solid",fadr:"regular","fa-regular":"regular",fadl:"light","fa-light":"light",fadt:"thin","fa-thin":"thin"},sharp:{fa:"solid",fass:"solid","fa-solid":"solid",fasr:"regular","fa-regular":"regular",fasl:"light","fa-light":"light",fast:"thin","fa-thin":"thin"},"sharp-duotone":{fa:"solid",fasds:"solid","fa-solid":"solid",fasdr:"regular","fa-regular":"regular",fasdl:"light","fa-light":"light",fasdt:"thin","fa-thin":"thin"}},de=["fa-classic","fa-duotone","fa-sharp","fa-sharp-duotone"],_e="classic",Le="duotone",ye=[_e,Le,"sharp","sharp-duotone"],Qe=new Map([["classic",{defaultShortPrefixId:"fas",defaultStyleId:"solid",styleIds:["solid","regular","light","thin","brands"],futureStyleIds:[],defaultFontWeight:900}],["sharp",{defaultShortPrefixId:"fass",defaultStyleId:"solid",styleIds:["solid","regular","light","thin"],futureStyleIds:[],defaultFontWeight:900}],["duotone",{defaultShortPrefixId:"fad",defaultStyleId:"solid",styleIds:["solid","regular","light","thin"],futureStyleIds:[],defaultFontWeight:900}],["sharp-duotone",{defaultShortPrefixId:"fasds",defaultStyleId:"solid",styleIds:["solid","regular","light","thin"],futureStyleIds:[],defaultFontWeight:900}]]),Me=["fak","fa-kit","fakd","fa-kit-duotone"],Tt=["fak","fakd"],Ne={GROUP:"duotone-group",SWAP_OPACITY:"swap-opacity",PRIMARY:"primary",SECONDARY:"secondary"},un=["fak","fa-kit","fakd","fa-kit-duotone"],oe={classic:{fab:"fa-brands",fad:"fa-duotone",fal:"fa-light",far:"fa-regular",fas:"fa-solid",fat:"fa-thin"},duotone:{fadr:"fa-regular",fadl:"fa-light",fadt:"fa-thin"},sharp:{fass:"fa-solid",fasr:"fa-regular",fasl:"fa-light",fast:"fa-thin"},"sharp-duotone":{fasds:"fa-solid",fasdr:"fa-regular",fasdl:"fa-light",fasdt:"fa-thin"}},Et=["fa","fas","far","fal","fat","fad","fadr","fadl","fadt","fab","fass","fasr","fasl","fast","fasds","fasdr","fasdl","fasdt","fa-classic","fa-duotone","fa-sharp","fa-sharp-duotone","fa-solid","fa-regular","fa-light","fa-thin","fa-duotone","fa-brands"],Ee=[1,2,3,4,5,6,7,8,9,10],ce=Ee.concat([11,12,13,14,15,16,17,18,19,20]),je=[...Object.keys({classic:["fas","far","fal","fat","fad"],duotone:["fadr","fadl","fadt"],sharp:["fass","fasr","fasl","fast"],"sharp-duotone":["fasds","fasdr","fasdl","fasdt"]}),"solid","regular","light","thin","duotone","brands","2xs","xs","sm","lg","xl","2xl","beat","border","fade","beat-fade","bounce","flip-both","flip-horizontal","flip-vertical","flip","fw","inverse","layers-counter","layers-text","layers","li","pull-left","pull-right","pulse","rotate-180","rotate-270","rotate-90","rotate-by","shake","spin-pulse","spin-reverse","spin","stack-1x","stack-2x","stack","ul",Ne.GROUP,Ne.SWAP_OPACITY,Ne.PRIMARY,Ne.SECONDARY].concat(Ee.map(D=>"".concat(D,"x"))).concat(ce.map(D=>"w-".concat(D)));const ne="___FONT_AWESOME___",at=16,H="fa",st="svg-inline--fa",zt="data-fa-i2svg",vt="data-fa-pseudo-element",kt="data-fa-pseudo-element-pending",tt="data-prefix",X="data-icon",ft="fontawesome-i2svg",Ot="async",xe=["HTML","HEAD","STYLE","SCRIPT"],Te=(()=>{try{return!0}catch{return!1}})();function Ke(D){return new Proxy(D,{get:(et,ct)=>ct in et?et[ct]:et[_e]})}const on=k({},rt);on[_e]=k(k(k(k({},{"fa-duotone":"duotone"}),rt[_e]),{fak:"kit","fa-kit":"kit"}),{fakd:"kit-duotone","fa-kit-duotone":"kit-duotone"});const _n=Ke(on),hn=k({},{classic:{solid:"fas",regular:"far",light:"fal",thin:"fat",brands:"fab"},duotone:{solid:"fad",regular:"fadr",light:"fadl",thin:"fadt"},sharp:{solid:"fass",regular:"fasr",light:"fasl",thin:"fast"},"sharp-duotone":{solid:"fasds",regular:"fasdr",light:"fasdl",thin:"fasdt"}});hn[_e]=k(k(k(k({},{duotone:"fad"}),hn[_e]),{kit:"fak"}),{"kit-duotone":"fakd"});const fe=Ke(hn),cn=k({},oe);cn[_e]=k(k({},cn[_e]),{fak:"fa-kit"});const me=Ke(cn),jt=k({},{classic:{"fa-brands":"fab","fa-duotone":"fad","fa-light":"fal","fa-regular":"far","fa-solid":"fas","fa-thin":"fat"},duotone:{"fa-regular":"fadr","fa-light":"fadl","fa-thin":"fadt"},sharp:{"fa-solid":"fass","fa-regular":"fasr","fa-light":"fasl","fa-thin":"fast"},"sharp-duotone":{"fa-solid":"fasds","fa-regular":"fasdr","fa-light":"fasdl","fa-thin":"fasdt"}});jt[_e]=k(k({},jt[_e]),{"fa-kit":"fak"}),Ke(jt);const dt=/fa(s|r|l|t|d|dr|dl|dt|b|k|kd|ss|sr|sl|st|sds|sdr|sdl|sdt)?[\-\ ]/,Rt="fa-layers-text",ae=/Font ?Awesome ?([56 ]*)(Solid|Regular|Light|Thin|Duotone|Brands|Free|Pro|Sharp Duotone|Sharp|Kit)?.*/i,Ct=(Ke(k({},{classic:{900:"fas",400:"far",normal:"far",300:"fal",100:"fat"},duotone:{900:"fad",400:"fadr",300:"fadl",100:"fadt"},sharp:{900:"fass",400:"fasr",300:"fasl",100:"fast"},"sharp-duotone":{900:"fasds",400:"fasdr",300:"fasdl",100:"fasdt"}})),["class","data-prefix","data-icon","data-fa-transform","data-fa-mask"]),U={GROUP:"duotone-group",SWAP_OPACITY:"swap-opacity",PRIMARY:"primary",SECONDARY:"secondary"},A=["kit",...je],xt=j.FontAwesomeConfig||{};J&&"function"==typeof J.querySelector&&[["data-family-prefix","familyPrefix"],["data-css-prefix","cssPrefix"],["data-family-default","familyDefault"],["data-style-default","styleDefault"],["data-replacement-class","replacementClass"],["data-auto-replace-svg","autoReplaceSvg"],["data-auto-add-css","autoAddCss"],["data-auto-a11y","autoA11y"],["data-search-pseudo-elements","searchPseudoElements"],["data-observe-mutations","observeMutations"],["data-mutate-approach","mutateApproach"],["data-keep-original-source","keepOriginalSource"],["data-measure-performance","measurePerformance"],["data-show-missing-icons","showMissingIcons"]].forEach(et=>{let[ct,ut]=et;const St=function Fe(D){return""===D||"false"!==D&&("true"===D||D)}(function Jt(D){var et=J.querySelector("script["+D+"]");if(et)return et.getAttribute(D)}(ct));null!=St&&(xt[ut]=St)});const Ze={styleDefault:"solid",familyDefault:_e,cssPrefix:H,replacementClass:st,autoReplaceSvg:!0,autoAddCss:!0,autoA11y:!0,searchPseudoElements:!1,observeMutations:!0,mutateApproach:"async",keepOriginalSource:!0,measurePerformance:!1,showMissingIcons:!0};xt.familyPrefix&&(xt.cssPrefix=xt.familyPrefix);const xn=k(k({},Ze),xt);xn.autoReplaceSvg||(xn.observeMutations=!1);const Ie={};Object.keys(Ze).forEach(D=>{Object.defineProperty(Ie,D,{enumerable:!0,set:function(et){xn[D]=et,Nn.forEach(ct=>ct(Ie))},get:function(){return xn[D]}})}),Object.defineProperty(Ie,"familyPrefix",{enumerable:!0,set:function(D){xn.cssPrefix=D,Nn.forEach(et=>et(Ie))},get:function(){return xn.cssPrefix}}),j.FontAwesomeConfig=Ie;const Nn=[],ee=at,I={size:16,x:0,y:0,rotate:0,flipX:!1,flipY:!1},Q="0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ";function Mt(){let D=12,et="";for(;D-- >0;)et+=Q[62*Math.random()|0];return et}function Wt(D){const et=[];for(let ct=(D||[]).length>>>0;ct--;)et[ct]=D[ct];return et}function se(D){return D.classList?Wt(D.classList):(D.getAttribute("class")||"").split(" ").filter(et=>et)}function De(D){return"".concat(D).replace(/&/g,"&").replace(/"/g,""").replace(/'/g,"'").replace(//g,">")}function Ye(D){return Object.keys(D||{}).reduce((et,ct)=>et+"".concat(ct,": ").concat(D[ct].trim(),";"),"")}function tn(D){return D.size!==I.size||D.x!==I.x||D.y!==I.y||D.rotate!==I.rotate||D.flipX||D.flipY}var Dn=':root, :host {\n --fa-font-solid: normal 900 1em/1 "Font Awesome 6 Free";\n --fa-font-regular: normal 400 1em/1 "Font Awesome 6 Free";\n --fa-font-light: normal 300 1em/1 "Font Awesome 6 Pro";\n --fa-font-thin: normal 100 1em/1 "Font Awesome 6 Pro";\n --fa-font-duotone: normal 900 1em/1 "Font Awesome 6 Duotone";\n --fa-font-duotone-regular: normal 400 1em/1 "Font Awesome 6 Duotone";\n --fa-font-duotone-light: normal 300 1em/1 "Font Awesome 6 Duotone";\n --fa-font-duotone-thin: normal 100 1em/1 "Font Awesome 6 Duotone";\n --fa-font-brands: normal 400 1em/1 "Font Awesome 6 Brands";\n --fa-font-sharp-solid: normal 900 1em/1 "Font Awesome 6 Sharp";\n --fa-font-sharp-regular: normal 400 1em/1 "Font Awesome 6 Sharp";\n --fa-font-sharp-light: normal 300 1em/1 "Font Awesome 6 Sharp";\n --fa-font-sharp-thin: normal 100 1em/1 "Font Awesome 6 Sharp";\n --fa-font-sharp-duotone-solid: normal 900 1em/1 "Font Awesome 6 Sharp Duotone";\n --fa-font-sharp-duotone-regular: normal 400 1em/1 "Font Awesome 6 Sharp Duotone";\n --fa-font-sharp-duotone-light: normal 300 1em/1 "Font Awesome 6 Sharp Duotone";\n --fa-font-sharp-duotone-thin: normal 100 1em/1 "Font Awesome 6 Sharp Duotone";\n}\n\nsvg:not(:root).svg-inline--fa, svg:not(:host).svg-inline--fa {\n overflow: visible;\n box-sizing: content-box;\n}\n\n.svg-inline--fa {\n display: var(--fa-display, inline-block);\n height: 1em;\n overflow: visible;\n vertical-align: -0.125em;\n}\n.svg-inline--fa.fa-2xs {\n vertical-align: 0.1em;\n}\n.svg-inline--fa.fa-xs {\n vertical-align: 0em;\n}\n.svg-inline--fa.fa-sm {\n vertical-align: -0.0714285705em;\n}\n.svg-inline--fa.fa-lg {\n vertical-align: -0.2em;\n}\n.svg-inline--fa.fa-xl {\n vertical-align: -0.25em;\n}\n.svg-inline--fa.fa-2xl {\n vertical-align: -0.3125em;\n}\n.svg-inline--fa.fa-pull-left {\n margin-right: var(--fa-pull-margin, 0.3em);\n width: auto;\n}\n.svg-inline--fa.fa-pull-right {\n margin-left: var(--fa-pull-margin, 0.3em);\n width: auto;\n}\n.svg-inline--fa.fa-li {\n width: var(--fa-li-width, 2em);\n top: 0.25em;\n}\n.svg-inline--fa.fa-fw {\n width: var(--fa-fw-width, 1.25em);\n}\n\n.fa-layers svg.svg-inline--fa {\n bottom: 0;\n left: 0;\n margin: auto;\n position: absolute;\n right: 0;\n top: 0;\n}\n\n.fa-layers-counter, .fa-layers-text {\n display: inline-block;\n position: absolute;\n text-align: center;\n}\n\n.fa-layers {\n display: inline-block;\n height: 1em;\n position: relative;\n text-align: center;\n vertical-align: -0.125em;\n width: 1em;\n}\n.fa-layers svg.svg-inline--fa {\n transform-origin: center center;\n}\n\n.fa-layers-text {\n left: 50%;\n top: 50%;\n transform: translate(-50%, -50%);\n transform-origin: center center;\n}\n\n.fa-layers-counter {\n background-color: var(--fa-counter-background-color, #ff253a);\n border-radius: var(--fa-counter-border-radius, 1em);\n box-sizing: border-box;\n color: var(--fa-inverse, #fff);\n line-height: var(--fa-counter-line-height, 1);\n max-width: var(--fa-counter-max-width, 5em);\n min-width: var(--fa-counter-min-width, 1.5em);\n overflow: hidden;\n padding: var(--fa-counter-padding, 0.25em 0.5em);\n right: var(--fa-right, 0);\n text-overflow: ellipsis;\n top: var(--fa-top, 0);\n transform: scale(var(--fa-counter-scale, 0.25));\n transform-origin: top right;\n}\n\n.fa-layers-bottom-right {\n bottom: var(--fa-bottom, 0);\n right: var(--fa-right, 0);\n top: auto;\n transform: scale(var(--fa-layers-scale, 0.25));\n transform-origin: bottom right;\n}\n\n.fa-layers-bottom-left {\n bottom: var(--fa-bottom, 0);\n left: var(--fa-left, 0);\n right: auto;\n top: auto;\n transform: scale(var(--fa-layers-scale, 0.25));\n transform-origin: bottom left;\n}\n\n.fa-layers-top-right {\n top: var(--fa-top, 0);\n right: var(--fa-right, 0);\n transform: scale(var(--fa-layers-scale, 0.25));\n transform-origin: top right;\n}\n\n.fa-layers-top-left {\n left: var(--fa-left, 0);\n right: auto;\n top: var(--fa-top, 0);\n transform: scale(var(--fa-layers-scale, 0.25));\n transform-origin: top left;\n}\n\n.fa-1x {\n font-size: 1em;\n}\n\n.fa-2x {\n font-size: 2em;\n}\n\n.fa-3x {\n font-size: 3em;\n}\n\n.fa-4x {\n font-size: 4em;\n}\n\n.fa-5x {\n font-size: 5em;\n}\n\n.fa-6x {\n font-size: 6em;\n}\n\n.fa-7x {\n font-size: 7em;\n}\n\n.fa-8x {\n font-size: 8em;\n}\n\n.fa-9x {\n font-size: 9em;\n}\n\n.fa-10x {\n font-size: 10em;\n}\n\n.fa-2xs {\n font-size: 0.625em;\n line-height: 0.1em;\n vertical-align: 0.225em;\n}\n\n.fa-xs {\n font-size: 0.75em;\n line-height: 0.0833333337em;\n vertical-align: 0.125em;\n}\n\n.fa-sm {\n font-size: 0.875em;\n line-height: 0.0714285718em;\n vertical-align: 0.0535714295em;\n}\n\n.fa-lg {\n font-size: 1.25em;\n line-height: 0.05em;\n vertical-align: -0.075em;\n}\n\n.fa-xl {\n font-size: 1.5em;\n line-height: 0.0416666682em;\n vertical-align: -0.125em;\n}\n\n.fa-2xl {\n font-size: 2em;\n line-height: 0.03125em;\n vertical-align: -0.1875em;\n}\n\n.fa-fw {\n text-align: center;\n width: 1.25em;\n}\n\n.fa-ul {\n list-style-type: none;\n margin-left: var(--fa-li-margin, 2.5em);\n padding-left: 0;\n}\n.fa-ul > li {\n position: relative;\n}\n\n.fa-li {\n left: calc(-1 * var(--fa-li-width, 2em));\n position: absolute;\n text-align: center;\n width: var(--fa-li-width, 2em);\n line-height: inherit;\n}\n\n.fa-border {\n border-color: var(--fa-border-color, #eee);\n border-radius: var(--fa-border-radius, 0.1em);\n border-style: var(--fa-border-style, solid);\n border-width: var(--fa-border-width, 0.08em);\n padding: var(--fa-border-padding, 0.2em 0.25em 0.15em);\n}\n\n.fa-pull-left {\n float: left;\n margin-right: var(--fa-pull-margin, 0.3em);\n}\n\n.fa-pull-right {\n float: right;\n margin-left: var(--fa-pull-margin, 0.3em);\n}\n\n.fa-beat {\n animation-name: fa-beat;\n animation-delay: var(--fa-animation-delay, 0s);\n animation-direction: var(--fa-animation-direction, normal);\n animation-duration: var(--fa-animation-duration, 1s);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-timing-function: var(--fa-animation-timing, ease-in-out);\n}\n\n.fa-bounce {\n animation-name: fa-bounce;\n animation-delay: var(--fa-animation-delay, 0s);\n animation-direction: var(--fa-animation-direction, normal);\n animation-duration: var(--fa-animation-duration, 1s);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.28, 0.84, 0.42, 1));\n}\n\n.fa-fade {\n animation-name: fa-fade;\n animation-delay: var(--fa-animation-delay, 0s);\n animation-direction: var(--fa-animation-direction, normal);\n animation-duration: var(--fa-animation-duration, 1s);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1));\n}\n\n.fa-beat-fade {\n animation-name: fa-beat-fade;\n animation-delay: var(--fa-animation-delay, 0s);\n animation-direction: var(--fa-animation-direction, normal);\n animation-duration: var(--fa-animation-duration, 1s);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1));\n}\n\n.fa-flip {\n animation-name: fa-flip;\n animation-delay: var(--fa-animation-delay, 0s);\n animation-direction: var(--fa-animation-direction, normal);\n animation-duration: var(--fa-animation-duration, 1s);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-timing-function: var(--fa-animation-timing, ease-in-out);\n}\n\n.fa-shake {\n animation-name: fa-shake;\n animation-delay: var(--fa-animation-delay, 0s);\n animation-direction: var(--fa-animation-direction, normal);\n animation-duration: var(--fa-animation-duration, 1s);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-timing-function: var(--fa-animation-timing, linear);\n}\n\n.fa-spin {\n animation-name: fa-spin;\n animation-delay: var(--fa-animation-delay, 0s);\n animation-direction: var(--fa-animation-direction, normal);\n animation-duration: var(--fa-animation-duration, 2s);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-timing-function: var(--fa-animation-timing, linear);\n}\n\n.fa-spin-reverse {\n --fa-animation-direction: reverse;\n}\n\n.fa-pulse,\n.fa-spin-pulse {\n animation-name: fa-spin;\n animation-direction: var(--fa-animation-direction, normal);\n animation-duration: var(--fa-animation-duration, 1s);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-timing-function: var(--fa-animation-timing, steps(8));\n}\n\n@media (prefers-reduced-motion: reduce) {\n .fa-beat,\n.fa-bounce,\n.fa-fade,\n.fa-beat-fade,\n.fa-flip,\n.fa-pulse,\n.fa-shake,\n.fa-spin,\n.fa-spin-pulse {\n animation-delay: -1ms;\n animation-duration: 1ms;\n animation-iteration-count: 1;\n transition-delay: 0s;\n transition-duration: 0s;\n }\n}\n@keyframes fa-beat {\n 0%, 90% {\n transform: scale(1);\n }\n 45% {\n transform: scale(var(--fa-beat-scale, 1.25));\n }\n}\n@keyframes fa-bounce {\n 0% {\n transform: scale(1, 1) translateY(0);\n }\n 10% {\n transform: scale(var(--fa-bounce-start-scale-x, 1.1), var(--fa-bounce-start-scale-y, 0.9)) translateY(0);\n }\n 30% {\n transform: scale(var(--fa-bounce-jump-scale-x, 0.9), var(--fa-bounce-jump-scale-y, 1.1)) translateY(var(--fa-bounce-height, -0.5em));\n }\n 50% {\n transform: scale(var(--fa-bounce-land-scale-x, 1.05), var(--fa-bounce-land-scale-y, 0.95)) translateY(0);\n }\n 57% {\n transform: scale(1, 1) translateY(var(--fa-bounce-rebound, -0.125em));\n }\n 64% {\n transform: scale(1, 1) translateY(0);\n }\n 100% {\n transform: scale(1, 1) translateY(0);\n }\n}\n@keyframes fa-fade {\n 50% {\n opacity: var(--fa-fade-opacity, 0.4);\n }\n}\n@keyframes fa-beat-fade {\n 0%, 100% {\n opacity: var(--fa-beat-fade-opacity, 0.4);\n transform: scale(1);\n }\n 50% {\n opacity: 1;\n transform: scale(var(--fa-beat-fade-scale, 1.125));\n }\n}\n@keyframes fa-flip {\n 50% {\n transform: rotate3d(var(--fa-flip-x, 0), var(--fa-flip-y, 1), var(--fa-flip-z, 0), var(--fa-flip-angle, -180deg));\n }\n}\n@keyframes fa-shake {\n 0% {\n transform: rotate(-15deg);\n }\n 4% {\n transform: rotate(15deg);\n }\n 8%, 24% {\n transform: rotate(-18deg);\n }\n 12%, 28% {\n transform: rotate(18deg);\n }\n 16% {\n transform: rotate(-22deg);\n }\n 20% {\n transform: rotate(22deg);\n }\n 32% {\n transform: rotate(-12deg);\n }\n 36% {\n transform: rotate(12deg);\n }\n 40%, 100% {\n transform: rotate(0deg);\n }\n}\n@keyframes fa-spin {\n 0% {\n transform: rotate(0deg);\n }\n 100% {\n transform: rotate(360deg);\n }\n}\n.fa-rotate-90 {\n transform: rotate(90deg);\n}\n\n.fa-rotate-180 {\n transform: rotate(180deg);\n}\n\n.fa-rotate-270 {\n transform: rotate(270deg);\n}\n\n.fa-flip-horizontal {\n transform: scale(-1, 1);\n}\n\n.fa-flip-vertical {\n transform: scale(1, -1);\n}\n\n.fa-flip-both,\n.fa-flip-horizontal.fa-flip-vertical {\n transform: scale(-1, -1);\n}\n\n.fa-rotate-by {\n transform: rotate(var(--fa-rotate-angle, 0));\n}\n\n.fa-stack {\n display: inline-block;\n vertical-align: middle;\n height: 2em;\n position: relative;\n width: 2.5em;\n}\n\n.fa-stack-1x,\n.fa-stack-2x {\n bottom: 0;\n left: 0;\n margin: auto;\n position: absolute;\n right: 0;\n top: 0;\n z-index: var(--fa-stack-z-index, auto);\n}\n\n.svg-inline--fa.fa-stack-1x {\n height: 1em;\n width: 1.25em;\n}\n.svg-inline--fa.fa-stack-2x {\n height: 2em;\n width: 2.5em;\n}\n\n.fa-inverse {\n color: var(--fa-inverse, #fff);\n}\n\n.sr-only,\n.fa-sr-only {\n position: absolute;\n width: 1px;\n height: 1px;\n padding: 0;\n margin: -1px;\n overflow: hidden;\n clip: rect(0, 0, 0, 0);\n white-space: nowrap;\n border-width: 0;\n}\n\n.sr-only-focusable:not(:focus),\n.fa-sr-only-focusable:not(:focus) {\n position: absolute;\n width: 1px;\n height: 1px;\n padding: 0;\n margin: -1px;\n overflow: hidden;\n clip: rect(0, 0, 0, 0);\n white-space: nowrap;\n border-width: 0;\n}\n\n.svg-inline--fa .fa-primary {\n fill: var(--fa-primary-color, currentColor);\n opacity: var(--fa-primary-opacity, 1);\n}\n\n.svg-inline--fa .fa-secondary {\n fill: var(--fa-secondary-color, currentColor);\n opacity: var(--fa-secondary-opacity, 0.4);\n}\n\n.svg-inline--fa.fa-swap-opacity .fa-primary {\n opacity: var(--fa-secondary-opacity, 0.4);\n}\n\n.svg-inline--fa.fa-swap-opacity .fa-secondary {\n opacity: var(--fa-primary-opacity, 1);\n}\n\n.svg-inline--fa mask .fa-primary,\n.svg-inline--fa mask .fa-secondary {\n fill: black;\n}';function Fn(){const D=H,et=st,ct=Ie.cssPrefix,ut=Ie.replacementClass;let St=Dn;if(ct!==D||ut!==et){const ie=new RegExp("\\.".concat(D,"\\-"),"g"),we=new RegExp("\\--".concat(D,"\\-"),"g"),Ue=new RegExp("\\.".concat(et),"g");St=St.replace(ie,".".concat(ct,"-")).replace(we,"--".concat(ct,"-")).replace(Ue,".".concat(ut))}return St}let Mn=!1;function In(){Ie.autoAddCss&&!Mn&&(function _t(D){if(!D||!$)return;const et=J.createElement("style");et.setAttribute("type","text/css"),et.innerHTML=D;const ct=J.head.childNodes;let ut=null;for(let St=ct.length-1;St>-1;St--){const ie=ct[St],we=(ie.tagName||"").toUpperCase();["STYLE","LINK"].indexOf(we)>-1&&(ut=ie)}J.head.insertBefore(et,ut)}(Fn()),Mn=!0)}var li={mixout:()=>({dom:{css:Fn,insertCss:In}}),hooks:()=>({beforeDOMElementCreation(){In()},beforeI2svg(){In()}})};const yi=j||{};yi[ne]||(yi[ne]={}),yi[ne].styles||(yi[ne].styles={}),yi[ne].hooks||(yi[ne].hooks={}),yi[ne].shims||(yi[ne].shims=[]);var Bn=yi[ne];const Jn=[],Mi=function(){J.removeEventListener("DOMContentLoaded",Mi),pi=1,Jn.map(D=>D())};let pi=!1;function oi(D){const{tag:et,attributes:ct={},children:ut=[]}=D;return"string"==typeof D?De(D):"<".concat(et," ").concat(function ve(D){return Object.keys(D||{}).reduce((et,ct)=>et+"".concat(ct,'="').concat(De(D[ct]),'" '),"").trim()}(ct),">").concat(ut.map(oi).join(""),"")}function Ti(D,et,ct){if(D&&D[et]&&D[et][ct])return{prefix:et,iconName:ct,icon:D[et][ct]}}$&&(pi=(J.documentElement.doScroll?/^loaded|^c/:/^loaded|^i|^c/).test(J.readyState),pi||J.addEventListener("DOMContentLoaded",Mi));var si=function(et,ct,ut,St){var an,nn,vn,ie=Object.keys(et),we=ie.length,Ue=void 0!==St?function(et,ct){return function(ut,St,ie,we){return et.call(ct,ut,St,ie,we)}}(ct,St):ct;for(void 0===ut?(an=1,vn=et[ie[0]]):(an=0,vn=ut);an=55296&&St<=56319&&ct{const ut=D[ct];return ut.icon?et[ut.iconName]=ut.icon:et[ct]=ut,et},{})}function Jo(D,et){let ct=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};const{skipHooks:ut=!1}=ct,St=uo(et);"function"!=typeof Bn.hooks.addPack||ut?Bn.styles[D]=k(k({},Bn.styles[D]||{}),St):Bn.hooks.addPack(D,uo(et)),"fas"===D&&Jo("fa",et)}const{styles:wo,shims:Jc}=Bn,Oi=Object.keys(me),mc=Oi.reduce((D,et)=>(D[et]=Object.keys(me[et]),D),{});let Bo=null,Vo={},Ec={},Bc={},Ji={},fc={};const Ii=()=>{const D=ut=>si(wo,(St,ie,we)=>(St[we]=si(ie,ut,{}),St),{});Vo=D((ut,St,ie)=>(St[3]&&(ut[St[3]]=ie),St[2]&&St[2].filter(Ue=>"number"==typeof Ue).forEach(Ue=>{ut[Ue.toString(16)]=ie}),ut)),Ec=D((ut,St,ie)=>(ut[ie]=ie,St[2]&&St[2].filter(Ue=>"string"==typeof Ue).forEach(Ue=>{ut[Ue]=ie}),ut)),fc=D((ut,St,ie)=>{const we=St[2];return ut[ie]=ie,we.forEach(Ue=>{ut[Ue]=ie}),ut});const et="far"in wo||Ie.autoFetchSvg,ct=si(Jc,(ut,St)=>{const ie=St[0];let we=St[1];const Ue=St[2];return"far"===we&&!et&&(we="fas"),"string"==typeof ie&&(ut.names[ie]={prefix:we,iconName:Ue}),"number"==typeof ie&&(ut.unicodes[ie.toString(16)]={prefix:we,iconName:Ue}),ut},{names:{},unicodes:{}});Bc=ct.names,Ji=ct.unicodes,Bo=mo(Ie.styleDefault,{family:Ie.familyDefault})};function En(D,et){return(Vo[D]||{})[et]}function ei(D,et){return(fc[D]||{})[et]}function Eo(D){return Bc[D]||{prefix:null,iconName:null}}function Wi(){return Bo}(function Qn(D){Nn.push(D)})(D=>{Bo=mo(D.styleDefault,{family:Ie.familyDefault})}),Ii();const Do=()=>({prefix:null,iconName:null,rest:[]});function mo(D){let et=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const{family:ct=_e}=et;return ct!==Le||D?fe[ct][D]||fe[ct][_n[ct][D]]||(D in Bn.styles?D:null)||null:"fad"}function qn(D){return D.sort().filter((et,ct,ut)=>ut.indexOf(et)===ct)}function We(D){let et=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const{skipLookups:ct=!1}=et;let ut=null;const St=Et.concat(un),ie=qn(D.filter(kn=>St.includes(kn))),we=qn(D.filter(kn=>!Et.includes(kn))),Ue=ie.filter(kn=>(ut=kn,!de.includes(kn))),[an=null]=Ue,nn=function Oo(D){let et=_e;const ct=Oi.reduce((ut,St)=>(ut[St]="".concat(Ie.cssPrefix,"-").concat(St),ut),{});return ye.forEach(ut=>{(D.includes(ct[ut])||D.some(St=>mc[ut].includes(St)))&&(et=ut)}),et}(ie),vn=k(k({},function qo(D){let et=[],ct=null;return D.forEach(ut=>{const St=function Lo(D,et){const ct=et.split("-"),ut=ct[0],St=ct.slice(1).join("-");return ut!==D||""===St||function Uo(D){return~A.indexOf(D)}(St)?null:St}(Ie.cssPrefix,ut);St?ct=St:ut&&et.push(ut)}),{iconName:ct,rest:et}}(we)),{},{prefix:mo(an,{family:nn})});return k(k(k({},vn),function Bi(D){const{values:et,family:ct,canonical:ut,givenPrefix:St="",styles:ie={},config:we={}}=D,Ue=ct===Le,an=et.includes("fa-duotone")||et.includes("fad");if(!Ue&&(an||"duotone"===we.familyDefault||("fad"===ut.prefix||"fa-duotone"===ut.prefix))&&(ut.prefix="fad"),(et.includes("fa-brands")||et.includes("fab"))&&(ut.prefix="fab"),!ut.prefix&&Hn.includes(ct)&&(Object.keys(ie).find(Kn=>Si.includes(Kn))||we.autoFetchSvg)){const Kn=Qe.get(ct).defaultShortPrefixId;ut.prefix=Kn,ut.iconName=ei(ut.prefix,ut.iconName)||ut.iconName}return("fa"===ut.prefix||"fa"===St)&&(ut.prefix=Wi()||"fas"),ut}({values:D,family:nn,styles:wo,config:Ie,canonical:vn,givenPrefix:ut})),function Cn(D,et,ct){let{prefix:ut,iconName:St}=ct;if(D||!ut||!St)return{prefix:ut,iconName:St};const ie="fa"===et?Eo(St):{},we=ei(ut,St);return St=ie.iconName||we||St,ut=ie.prefix||ut,"far"===ut&&!wo.far&&wo.fas&&!Ie.autoFetchSvg&&(ut="fas"),{prefix:ut,iconName:St}}(ct,ut,vn))}const Hn=ye.filter(D=>D!==_e||D!==Le),Si=Object.keys(oe).filter(D=>D!==_e).map(D=>Object.keys(oe[D])).flat();let So=[],Vn={};const Ni={},jo=Object.keys(Ni);function qi(D,et){for(var ct=arguments.length,ut=new Array(ct>2?ct-2:0),St=2;St{et=we.apply(null,[et,...ut])}),et}function to(D){for(var et=arguments.length,ct=new Array(et>1?et-1:0),ut=1;ut{ie.apply(null,ct)})}function zi(){const D=arguments[0],et=Array.prototype.slice.call(arguments,1);return Ni[D]?Ni[D].apply(null,et):void 0}function $n(D){"fa"===D.prefix&&(D.prefix="fas");let{iconName:et}=D;const ct=D.prefix||Wi();if(et)return et=ei(ct,et)||et,Ti(zo.definitions,ct,et)||Ti(Bn.styles,ct,et)}const zo=new class gi{constructor(){this.definitions={}}add(){for(var et=arguments.length,ct=new Array(et),ut=0;ut{this.definitions[ie]=k(k({},this.definitions[ie]||{}),St[ie]),Jo(ie,St[ie]);const we=me[_e][ie];we&&Jo(we,St[ie]),Ii()})}reset(){this.definitions={}}_pullDefinitions(et,ct){const ut=ct.prefix&&ct.iconName&&ct.icon?{0:ct}:ct;return Object.keys(ut).map(St=>{const{prefix:ie,iconName:we,icon:Ue}=ut[St],an=Ue[2];et[ie]||(et[ie]={}),an.length>0&&an.forEach(nn=>{"string"==typeof nn&&(et[ie][nn]=Ue)}),et[ie][we]=Ue}),et}},Vi={noAuto:()=>{Ie.autoReplaceSvg=!1,Ie.observeMutations=!1,to("noAuto")},config:Ie,dom:{i2svg:function(){let D=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return $?(to("beforeI2svg",D),zi("pseudoElements2svg",D),zi("i2svg",D)):Promise.reject(new Error("Operation requires a DOM of some kind."))},watch:function(){let D=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const{autoReplaceSvgRoot:et}=D;!1===Ie.autoReplaceSvg&&(Ie.autoReplaceSvg=!0),Ie.observeMutations=!0,function Fi(D){$&&(pi?setTimeout(D,0):Jn.push(D))}(()=>{Po({autoReplaceSvgRoot:et}),to("watch",D)})}},parse:{icon:D=>{if(null===D)return null;if("object"==typeof D&&D.prefix&&D.iconName)return{prefix:D.prefix,iconName:ei(D.prefix,D.iconName)||D.iconName};if(Array.isArray(D)&&2===D.length){const et=0===D[1].indexOf("fa-")?D[1].slice(3):D[1],ct=mo(D[0]);return{prefix:ct,iconName:ei(ct,et)||et}}if("string"==typeof D&&(D.indexOf("".concat(Ie.cssPrefix,"-"))>-1||D.match(dt))){const et=We(D.split(" "),{skipLookups:!0});return{prefix:et.prefix||Wi(),iconName:ei(et.prefix,et.iconName)||et.iconName}}if("string"==typeof D){const et=Wi();return{prefix:et,iconName:ei(et,D)||D}}}},library:zo,findIconDefinition:$n,toHtml:oi},Po=function(){let D=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const{autoReplaceSvgRoot:et=J}=D;(Object.keys(Bn.styles).length>0||Ie.autoFetchSvg)&&$&&Ie.autoReplaceSvg&&Vi.dom.i2svg({node:et})};function Pi(D,et){return Object.defineProperty(D,"abstract",{get:et}),Object.defineProperty(D,"html",{get:function(){return D.abstract.map(ct=>oi(ct))}}),Object.defineProperty(D,"node",{get:function(){if(!$)return;const ct=J.createElement("div");return ct.innerHTML=D.html,ct.children}}),D}function On(D){const{icons:{main:et,mask:ct},prefix:ut,iconName:St,transform:ie,symbol:we,title:Ue,maskId:an,titleId:nn,extra:vn,watchable:kn=!1}=D,{width:Kn,height:Xi}=ct.found?ct:et,_c=Tt.includes(ut),pn=[Ie.replacementClass,St?"".concat(Ie.cssPrefix,"-").concat(St):""].filter(xc=>-1===vn.classes.indexOf(xc)).filter(xc=>""!==xc||!!xc).concat(vn.classes).join(" ");let ro={children:[],attributes:k(k({},vn.attributes),{},{"data-prefix":ut,"data-icon":St,class:pn,role:vn.attributes.role||"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 ".concat(Kn," ").concat(Xi)})};const Nc=_c&&!~vn.classes.indexOf("fa-fw")?{width:"".concat(Kn/Xi*16*.0625,"em")}:{};kn&&(ro.attributes[zt]=""),Ue&&(ro.children.push({tag:"title",attributes:{id:ro.attributes["aria-labelledby"]||"title-".concat(nn||Mt())},children:[Ue]}),delete ro.attributes.title);const bo=k(k({},ro),{},{prefix:ut,iconName:St,main:et,mask:ct,maskId:an,transform:ie,symbol:we,styles:k(k({},Nc),vn.styles)}),{children:so,attributes:Rc}=ct.found&&et.found?zi("generateAbstractMask",bo)||{children:[],attributes:{}}:zi("generateAbstractIcon",bo)||{children:[],attributes:{}};return bo.children=so,bo.attributes=Rc,we?function tc(D){let{prefix:et,iconName:ct,children:ut,attributes:St,symbol:ie}=D;const we=!0===ie?"".concat(et,"-").concat(Ie.cssPrefix,"-").concat(ct):ie;return[{tag:"svg",attributes:{style:"display: none;"},children:[{tag:"symbol",attributes:k(k({},St),{},{id:we}),children:ut}]}]}(bo):function eo(D){let{children:et,main:ct,mask:ut,attributes:St,styles:ie,transform:we}=D;if(tn(we)&&ct.found&&!ut.found){const{width:Ue,height:an}=ct,nn={x:Ue/an/2,y:.5};St.style=Ye(k(k({},ie),{},{"transform-origin":"".concat(nn.x+we.x/16,"em ").concat(nn.y+we.y/16,"em")}))}return[{tag:"svg",attributes:St,children:et}]}(bo)}function hc(D){const{content:et,width:ct,height:ut,transform:St,title:ie,extra:we,watchable:Ue=!1}=D,an=k(k(k({},we.attributes),ie?{title:ie}:{}),{},{class:we.classes.join(" ")});Ue&&(an[zt]="");const nn=k({},we.styles);tn(St)&&(nn.transform=function ln(D){let{transform:et,width:ct=at,height:ut=at,startCentered:St=!1}=D,ie="";return ie+=St&<?"translate(".concat(et.x/ee-ct/2,"em, ").concat(et.y/ee-ut/2,"em) "):St?"translate(calc(-50% + ".concat(et.x/ee,"em), calc(-50% + ").concat(et.y/ee,"em)) "):"translate(".concat(et.x/ee,"em, ").concat(et.y/ee,"em) "),ie+="scale(".concat(et.size/ee*(et.flipX?-1:1),", ").concat(et.size/ee*(et.flipY?-1:1),") "),ie+="rotate(".concat(et.rotate,"deg) "),ie}({transform:St,startCentered:!0,width:ct,height:ut}),nn["-webkit-transform"]=nn.transform);const vn=Ye(nn);vn.length>0&&(an.style=vn);const kn=[];return kn.push({tag:"span",attributes:an,children:[et]}),ie&&kn.push({tag:"span",attributes:{class:"sr-only"},children:[ie]}),kn}const{styles:ko}=Bn;function ui(D){const et=D[0],ct=D[1],[ut]=D.slice(4);let St=null;return St=Array.isArray(ut)?{tag:"g",attributes:{class:"".concat(Ie.cssPrefix,"-").concat(U.GROUP)},children:[{tag:"path",attributes:{class:"".concat(Ie.cssPrefix,"-").concat(U.SECONDARY),fill:"currentColor",d:ut[0]}},{tag:"path",attributes:{class:"".concat(Ie.cssPrefix,"-").concat(U.PRIMARY),fill:"currentColor",d:ut[1]}}]}:{tag:"path",attributes:{fill:"currentColor",d:ut}},{found:!0,width:et,height:ct,icon:St}}const Dc={found:!1,width:512,height:512};function $o(D,et){let ct=et;return"fa"===et&&null!==Ie.styleDefault&&(et=Wi()),new Promise((ut,St)=>{if("fa"===ct){const ie=Eo(D)||{};D=ie.iconName||D,et=ie.prefix||et}if(D&&et&&ko[et]&&ko[et][D])return ut(ui(ko[et][D]));(function Ao(D,et){!Te&&!Ie.showMissingIcons&&D&&console.error('Icon with name "'.concat(D,'" and prefix "').concat(et,'" is missing.'))})(D,et),ut(k(k({},Dc),{},{icon:Ie.showMissingIcons&&D&&zi("missingIconAbstract")||{}}))})}const bi=()=>{},pc=Ie.measurePerformance&&Gt&&Gt.mark&&Gt.measure?Gt:{mark:bi,measure:bi},mi='FA "6.7.2"',co=D=>{pc.mark("".concat(mi," ").concat(D," ends")),pc.measure("".concat(mi," ").concat(D),"".concat(mi," ").concat(D," begins"),"".concat(mi," ").concat(D," ends"))};var Ui={begin:D=>(pc.mark("".concat(mi," ").concat(D," begins")),()=>co(D)),end:co};const To=()=>{};function ji(D){return"string"==typeof(D.getAttribute?D.getAttribute(zt):null)}function Oc(D){return J.createElementNS("http://www.w3.org/2000/svg",D)}function Sc(D){return J.createElement(D)}function S(D){let et=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const{ceFn:ct=("svg"===D.tag?Oc:Sc)}=et;if("string"==typeof D)return J.createTextNode(D);const ut=ct(D.tag);return Object.keys(D.attributes||[]).forEach(function(ie){ut.setAttribute(ie,D.attributes[ie])}),(D.children||[]).forEach(function(ie){ut.appendChild(S(ie,{ceFn:ct}))}),ut}const w={replace:function(D){const et=D[0];if(et.parentNode)if(D[1].forEach(ct=>{et.parentNode.insertBefore(S(ct),et)}),null===et.getAttribute(zt)&&Ie.keepOriginalSource){let ct=J.createComment(function B(D){let et=" ".concat(D.outerHTML," ");return et="".concat(et,"Font Awesome fontawesome.com "),et}(et));et.parentNode.replaceChild(ct,et)}else et.remove()},nest:function(D){const et=D[0],ct=D[1];if(~se(et).indexOf(Ie.replacementClass))return w.replace(D);const ut=new RegExp("".concat(Ie.cssPrefix,"-.*"));if(delete ct[0].attributes.id,ct[0].attributes.class){const ie=ct[0].attributes.class.split(" ").reduce((we,Ue)=>(Ue===Ie.replacementClass||Ue.match(ut)?we.toSvg.push(Ue):we.toNode.push(Ue),we),{toNode:[],toSvg:[]});ct[0].attributes.class=ie.toSvg.join(" "),0===ie.toNode.length?et.removeAttribute("class"):et.setAttribute("class",ie.toNode.join(" "))}const St=ct.map(ie=>oi(ie)).join("\n");et.setAttribute(zt,""),et.innerHTML=St}};function it(D){D()}function Bt(D,et){const ct="function"==typeof et?et:To;if(0===D.length)ct();else{let ut=it;Ie.mutateApproach===Ot&&(ut=j.requestAnimationFrame||it),ut(()=>{const St=function Ar(){return!0===Ie.autoReplaceSvg?w.replace:w[Ie.autoReplaceSvg]||w.replace}(),ie=Ui.begin("mutate");D.map(St),ie(),ct()})}}let en=!1;function zn(){en=!0}function wi(){en=!1}let ec=null;function Vc(D){if(!bt||!Ie.observeMutations)return;const{treeCallback:et=To,nodeCallback:ct=To,pseudoElementsCallback:ut=To,observeMutationsRoot:St=J}=D;ec=new bt(ie=>{if(en)return;const we=Wi();Wt(ie).forEach(Ue=>{if("childList"===Ue.type&&Ue.addedNodes.length>0&&!ji(Ue.addedNodes[0])&&(Ie.searchPseudoElements&&ut(Ue.target),et(Ue.target)),"attributes"===Ue.type&&Ue.target.parentNode&&Ie.searchPseudoElements&&ut(Ue.target.parentNode),"attributes"===Ue.type&&ji(Ue.target)&&~Ct.indexOf(Ue.attributeName))if("class"===Ue.attributeName&&function Wo(D){const et=D.getAttribute?D.getAttribute(tt):null,ct=D.getAttribute?D.getAttribute(X):null;return et&&ct}(Ue.target)){const{prefix:an,iconName:nn}=We(se(Ue.target));Ue.target.setAttribute(tt,an||we),nn&&Ue.target.setAttribute(X,nn)}else(function gc(D){return D&&D.classList&&D.classList.contains&&D.classList.contains(Ie.replacementClass)})(Ue.target)&&ct(Ue.target)})}),$&&ec.observe(St,{childList:!0,attributes:!0,characterData:!0,subtree:!0})}function Tr(D){let et=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{styleParser:!0};const{iconName:ct,prefix:ut,rest:St}=function Qr(D){const et=D.getAttribute("data-prefix"),ct=D.getAttribute("data-icon"),ut=void 0!==D.innerText?D.innerText.trim():"";let St=We(se(D));return St.prefix||(St.prefix=Wi()),et&&ct&&(St.prefix=et,St.iconName=ct),St.iconName&&St.prefix||(St.prefix&&ut.length>0&&(St.iconName=function di(D,et){return(Ec[D]||{})[et]}(St.prefix,D.innerText)||En(St.prefix,dc(D.innerText))),!St.iconName&&Ie.autoFetchSvg&&D.firstChild&&D.firstChild.nodeType===Node.TEXT_NODE&&(St.iconName=D.firstChild.data)),St}(D),ie=function Zr(D){const et=Wt(D.attributes).reduce((St,ie)=>("class"!==St.name&&"style"!==St.name&&(St[ie.name]=ie.value),St),{}),ct=D.getAttribute("title"),ut=D.getAttribute("data-fa-title-id");return Ie.autoA11y&&(ct?et["aria-labelledby"]="".concat(Ie.replacementClass,"-title-").concat(ut||Mt()):(et["aria-hidden"]="true",et.focusable="false")),et}(D),we=qi("parseNodeAttributes",{},D);let Ue=et.styleParser?function gs(D){const et=D.getAttribute("style");let ct=[];return et&&(ct=et.split(";").reduce((ut,St)=>{const ie=St.split(":"),we=ie[0],Ue=ie.slice(1);return we&&Ue.length>0&&(ut[we]=Ue.join(":").trim()),ut},{})),ct}(D):[];return k({iconName:ct,title:D.getAttribute("title"),titleId:D.getAttribute("data-fa-title-id"),prefix:ut,transform:I,mask:{iconName:null,prefix:null,rest:[]},maskId:null,symbol:!1,extra:{classes:St,styles:Ue,attributes:ie}},we)}const{styles:Ir}=Bn;function tr(D){const et="nest"===Ie.autoReplaceSvg?Tr(D,{styleParser:!1}):Tr(D);return~et.extra.classes.indexOf(Rt)?zi("generateLayersText",D,et):zi("generateSvgReplacementMutation",D,et)}function Ri(D){let et=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;if(!$)return Promise.resolve();const ct=J.documentElement.classList,ut=vn=>ct.add("".concat(ft,"-").concat(vn)),St=vn=>ct.remove("".concat(ft,"-").concat(vn)),ie=Ie.autoFetchSvg?function nc(){return[...Me,...Et]}():de.concat(Object.keys(Ir));ie.includes("fa")||ie.push("fa");const we=[".".concat(Rt,":not([").concat(zt,"])")].concat(ie.map(vn=>".".concat(vn,":not([").concat(zt,"])"))).join(", ");if(0===we.length)return Promise.resolve();let Ue=[];try{Ue=Wt(D.querySelectorAll(we))}catch{}if(!(Ue.length>0))return Promise.resolve();ut("pending"),St("complete");const an=Ui.begin("onTree"),nn=Ue.reduce((vn,kn)=>{try{const Kn=tr(kn);Kn&&vn.push(Kn)}catch(Kn){Te||"MissingIcon"===Kn.name&&console.error(Kn)}return vn},[]);return new Promise((vn,kn)=>{Promise.all(nn).then(Kn=>{Bt(Kn,()=>{ut("active"),ut("complete"),St("pending"),"function"==typeof et&&et(),an(),vn()})}).catch(Kn=>{an(),kn(Kn)})})}function zc(D){let et=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;tr(D).then(ct=>{ct&&Bt([ct],et)})}const Li=function(D){let et=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const{transform:ct=I,symbol:ut=!1,mask:St=null,maskId:ie=null,title:we=null,titleId:Ue=null,classes:an=[],attributes:nn={},styles:vn={}}=et;if(!D)return;const{prefix:kn,iconName:Kn,icon:Xi}=D;return Pi(k({type:"icon"},D),()=>(to("beforeDOMElementCreation",{iconDefinition:D,params:et}),Ie.autoA11y&&(we?nn["aria-labelledby"]="".concat(Ie.replacementClass,"-title-").concat(Ue||Mt()):(nn["aria-hidden"]="true",nn.focusable="false")),On({icons:{main:ui(Xi),mask:St?ui(St.icon):{found:!1,width:null,height:null,icon:{}}},prefix:kn,iconName:Kn,transform:k(k({},I),ct),symbol:ut,title:we,maskId:ie,titleId:Ue,extra:{attributes:nn,styles:vn,classes:an}})))};var kc={mixout(){return{icon:(D=Li,function(et){let ct=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const ut=(et||{}).icon?et:$n(et||{});let{mask:St}=ct;return St&&(St=(St||{}).icon?St:$n(St||{})),D(ut,k(k({},ct),{},{mask:St}))})};var D},hooks:()=>({mutationObserverCallbacks:D=>(D.treeCallback=Ri,D.nodeCallback=zc,D)}),provides(D){D.i2svg=function(et){const{node:ct=J,callback:ut=(()=>{})}=et;return Ri(ct,ut)},D.generateSvgReplacementMutation=function(et,ct){const{iconName:ut,title:St,titleId:ie,prefix:we,transform:Ue,symbol:an,mask:nn,maskId:vn,extra:kn}=ct;return new Promise((Kn,Xi)=>{Promise.all([$o(ut,we),nn.iconName?$o(nn.iconName,nn.prefix):Promise.resolve({found:!1,width:512,height:512,icon:{}})]).then(_c=>{let[pn,ro]=_c;Kn([et,On({icons:{main:pn,mask:ro},prefix:we,iconName:ut,transform:Ue,symbol:an,maskId:vn,title:St,titleId:ie,extra:kn,watchable:!0})])}).catch(Xi)})},D.generateAbstractIcon=function(et){let{children:ct,attributes:ut,main:St,transform:ie,styles:we}=et;const Ue=Ye(we);let an;return Ue.length>0&&(ut.style=Ue),tn(ie)&&(an=zi("generateAbstractTransformGrouping",{main:St,transform:ie,containerWidth:St.width,iconWidth:St.width})),ct.push(an||St.icon),{children:ct,attributes:ut}}}},Hi={mixout:()=>({layer(D){let et=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const{classes:ct=[]}=et;return Pi({type:"layer"},()=>{to("beforeDOMElementCreation",{assembler:D,params:et});let ut=[];return D(St=>{Array.isArray(St)?St.map(ie=>{ut=ut.concat(ie.abstract)}):ut=ut.concat(St.abstract)}),[{tag:"span",attributes:{class:["".concat(Ie.cssPrefix,"-layers"),...ct].join(" ")},children:ut}]})}})},Nr={mixout:()=>({counter(D){let et=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const{title:ct=null,classes:ut=[],attributes:St={},styles:ie={}}=et;return Pi({type:"counter",content:D},()=>(to("beforeDOMElementCreation",{content:D,params:et}),function ki(D){const{content:et,title:ct,extra:ut}=D,St=k(k(k({},ut.attributes),ct?{title:ct}:{}),{},{class:ut.classes.join(" ")}),ie=Ye(ut.styles);ie.length>0&&(St.style=ie);const we=[];return we.push({tag:"span",attributes:St,children:[et]}),ct&&we.push({tag:"span",attributes:{class:"sr-only"},children:[ct]}),we}({content:D.toString(),title:ct,extra:{attributes:St,styles:ie,classes:["".concat(Ie.cssPrefix,"-layers-counter"),...ut]}})))}})},er={mixout:()=>({text(D){let et=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const{transform:ct=I,title:ut=null,classes:St=[],attributes:ie={},styles:we={}}=et;return Pi({type:"text",content:D},()=>(to("beforeDOMElementCreation",{content:D,params:et}),hc({content:D,transform:k(k({},I),ct),title:ut,extra:{attributes:ie,styles:we,classes:["".concat(Ie.cssPrefix,"-layers-text"),...St]}})))}}),provides(D){D.generateLayersText=function(et,ct){const{title:ut,transform:St,extra:ie}=ct;let we=null,Ue=null;if(lt){const an=parseInt(getComputedStyle(et).fontSize,10),nn=et.getBoundingClientRect();we=nn.width/an,Ue=nn.height/an}return Ie.autoA11y&&!ut&&(ie.attributes["aria-hidden"]="true"),Promise.resolve([et,hc({content:et.innerHTML,width:we,height:Ue,transform:St,title:ut,extra:ie,watchable:!0})])}}};const nr=new RegExp('"',"ug"),bc=[1105920,1112319],Uc=k(k(k(k({},{FontAwesome:{normal:"fas",400:"fas"}}),{"Font Awesome 6 Free":{900:"fas",400:"far"},"Font Awesome 6 Pro":{900:"fas",400:"far",normal:"far",300:"fal",100:"fat"},"Font Awesome 6 Brands":{400:"fab",normal:"fab"},"Font Awesome 6 Duotone":{900:"fad",400:"fadr",normal:"fadr",300:"fadl",100:"fadt"},"Font Awesome 6 Sharp":{900:"fass",400:"fasr",normal:"fasr",300:"fasl",100:"fast"},"Font Awesome 6 Sharp Duotone":{900:"fasds",400:"fasdr",normal:"fasdr",300:"fasdl",100:"fasdt"}}),{"Font Awesome 5 Free":{900:"fas",400:"far"},"Font Awesome 5 Pro":{900:"fas",400:"far",normal:"far",300:"fal"},"Font Awesome 5 Brands":{400:"fab",normal:"fab"},"Font Awesome 5 Duotone":{900:"fad"}}),{"Font Awesome Kit":{400:"fak",normal:"fak"},"Font Awesome Kit Duotone":{400:"fakd",normal:"fakd"}}),ir=Object.keys(Uc).reduce((D,et)=>(D[et.toLowerCase()]=Uc[et],D),{}),br=Object.keys(ir).reduce((D,et)=>{const ct=ir[et];return D[et]=ct[900]||[...Object.entries(ct)][0][1],D},{});function Ac(D,et){const ct="".concat(kt).concat(et.replace(":","-"));return new Promise((ut,St)=>{if(null!==D.getAttribute(ct))return ut();const we=Wt(D.children).filter(Kn=>Kn.getAttribute(vt)===et)[0],Ue=j.getComputedStyle(D,et),an=Ue.getPropertyValue("font-family"),nn=an.match(ae),vn=Ue.getPropertyValue("font-weight"),kn=Ue.getPropertyValue("content");if(we&&!nn)return D.removeChild(we),ut();if(nn&&"none"!==kn&&""!==kn){const Kn=Ue.getPropertyValue("content");let Xi=function Rr(D,et){const ct=D.replace(/^['"]|['"]$/g,"").toLowerCase(),ut=parseInt(et),St=isNaN(ut)?"normal":ut;return(ir[ct]||{})[St]||br[ct]}(an,vn);const{value:_c,isSecondary:pn}=function vr(D){const et=D.replace(nr,""),ct=function kr(D,et){const ct=D.length;let St,ut=D.charCodeAt(et);return ut>=55296&&ut<=56319&&ct>et+1&&(St=D.charCodeAt(et+1),St>=56320&&St<=57343)?1024*(ut-55296)+St-56320+65536:ut}(et,0),ut=ct>=bc[0]&&ct<=bc[1],St=2===et.length&&et[0]===et[1];return{value:dc(St?et[0]:et),isSecondary:ut||St}}(Kn),ro=nn[0].startsWith("FontAwesome");let Nc=En(Xi,_c),bo=Nc;if(ro){const so=function ci(D){const et=Ji[D],ct=En("fas",D);return et||(ct?{prefix:"fas",iconName:ct}:null)||{prefix:null,iconName:null}}(_c);so.iconName&&so.prefix&&(Nc=so.iconName,Xi=so.prefix)}if(!Nc||pn||we&&we.getAttribute(tt)===Xi&&we.getAttribute(X)===bo)ut();else{D.setAttribute(ct,bo),we&&D.removeChild(we);const so=function qc(){return{iconName:null,title:null,titleId:null,prefix:null,transform:I,symbol:!1,mask:{iconName:null,prefix:null,rest:[]},maskId:null,extra:{classes:[],styles:{},attributes:{}}}}(),{extra:Rc}=so;Rc.attributes[vt]=et,$o(Nc,Xi).then(xc=>{const cr=On(k(k({},so),{},{icons:{main:xc,mask:Do()},prefix:Xi,iconName:bo,extra:Rc,watchable:!0})),$c=J.createElementNS("http://www.w3.org/2000/svg","svg");"::before"===et?D.insertBefore($c,D.firstChild):D.appendChild($c),$c.outerHTML=cr.map(Ur=>oi(Ur)).join("\n"),D.removeAttribute(ct),ut()}).catch(St)}}else ut()})}function _r(D){return Promise.all([Ac(D,"::before"),Ac(D,"::after")])}function xr(D){return!(D.parentNode===document.head||~xe.indexOf(D.tagName.toUpperCase())||D.getAttribute(vt)||D.parentNode&&"svg"===D.parentNode.tagName)}function vc(D){if($)return new Promise((et,ct)=>{const ut=Wt(D.querySelectorAll("*")).filter(xr).map(_r),St=Ui.begin("searchPseudoElements");zn(),Promise.all(ut).then(()=>{St(),wi(),et()}).catch(()=>{St(),wi(),ct()})})}let po=!1;const or=D=>D.toLowerCase().split(" ").reduce((ct,ut)=>{const St=ut.toLowerCase().split("-"),ie=St[0];let we=St.slice(1).join("-");if(ie&&"h"===we)return ct.flipX=!0,ct;if(ie&&"v"===we)return ct.flipY=!0,ct;if(we=parseFloat(we),isNaN(we))return ct;switch(ie){case"grow":ct.size=ct.size+we;break;case"shrink":ct.size=ct.size-we;break;case"left":ct.x=ct.x-we;break;case"right":ct.x=ct.x+we;break;case"up":ct.y=ct.y-we;break;case"down":ct.y=ct.y+we;break;case"rotate":ct.rotate=ct.rotate+we}return ct},{size:16,x:0,y:0,flipX:!1,flipY:!1,rotate:0}),Ic={x:0,y:0,width:"100%",height:"100%"};function $i(D){return D.attributes&&(D.attributes.fill||!(arguments.length>1&&void 0!==arguments[1])||arguments[1])&&(D.attributes.fill="black"),D}function Fr(D){return"g"===D.tag?D.children:[D]}!function bn(D,et){let{mixoutsTo:ct}=et;So=D,Vn={},Object.keys(Ni).forEach(ut=>{-1===jo.indexOf(ut)&&delete Ni[ut]}),So.forEach(ut=>{const St=ut.mixout?ut.mixout():{};if(Object.keys(St).forEach(ie=>{"function"==typeof St[ie]&&(ct[ie]=St[ie]),"object"==typeof St[ie]&&Object.keys(St[ie]).forEach(we=>{ct[ie]||(ct[ie]={}),ct[ie][we]=St[ie][we]})}),ut.hooks){const ie=ut.hooks();Object.keys(ie).forEach(we=>{Vn[we]||(Vn[we]=[]),Vn[we].push(ie[we])})}ut.provides&&ut.provides(Ni)})}([li,kc,Hi,Nr,er,{hooks:()=>({mutationObserverCallbacks:D=>(D.pseudoElementsCallback=vc,D)}),provides(D){D.pseudoElements2svg=function(et){const{node:ct=J}=et;Ie.searchPseudoElements&&vc(ct)}}},{mixout:()=>({dom:{unwatch(){zn(),po=!0}}}),hooks:()=>({bootstrap(){Vc(qi("mutationObserverCallbacks",{}))},noAuto(){!function ps(){ec&&ec.disconnect()}()},watch(D){const{observeMutationsRoot:et}=D;po?wi():Vc(qi("mutationObserverCallbacks",{observeMutationsRoot:et}))}})},{mixout:()=>({parse:{transform:D=>or(D)}}),hooks:()=>({parseNodeAttributes(D,et){const ct=et.getAttribute("data-fa-transform");return ct&&(D.transform=or(ct)),D}}),provides(D){D.generateAbstractTransformGrouping=function(et){let{main:ct,transform:ut,containerWidth:St,iconWidth:ie}=et;const we={transform:"translate(".concat(St/2," 256)")},Ue="translate(".concat(32*ut.x,", ").concat(32*ut.y,") "),an="scale(".concat(ut.size/16*(ut.flipX?-1:1),", ").concat(ut.size/16*(ut.flipY?-1:1),") "),nn="rotate(".concat(ut.rotate," 0 0)"),Kn={outer:we,inner:{transform:"".concat(Ue," ").concat(an," ").concat(nn)},path:{transform:"translate(".concat(ie/2*-1," -256)")}};return{tag:"g",attributes:k({},Kn.outer),children:[{tag:"g",attributes:k({},Kn.inner),children:[{tag:ct.icon.tag,children:ct.icon.children,attributes:k(k({},ct.icon.attributes),Kn.path)}]}]}}}},{hooks:()=>({parseNodeAttributes(D,et){const ct=et.getAttribute("data-fa-mask"),ut=ct?We(ct.split(" ").map(St=>St.trim())):Do();return ut.prefix||(ut.prefix=Wi()),D.mask=ut,D.maskId=et.getAttribute("data-fa-mask-id"),D}}),provides(D){D.generateAbstractMask=function(et){let{children:ct,attributes:ut,main:St,mask:ie,maskId:we,transform:Ue}=et;const{width:an,icon:nn}=St,{width:vn,icon:kn}=ie,Kn=function rn(D){let{transform:et,containerWidth:ct,iconWidth:ut}=D;const St={transform:"translate(".concat(ct/2," 256)")},ie="translate(".concat(32*et.x,", ").concat(32*et.y,") "),we="scale(".concat(et.size/16*(et.flipX?-1:1),", ").concat(et.size/16*(et.flipY?-1:1),") "),Ue="rotate(".concat(et.rotate," 0 0)");return{outer:St,inner:{transform:"".concat(ie," ").concat(we," ").concat(Ue)},path:{transform:"translate(".concat(ut/2*-1," -256)")}}}({transform:Ue,containerWidth:vn,iconWidth:an}),Xi={tag:"rect",attributes:k(k({},Ic),{},{fill:"white"})},_c=nn.children?{children:nn.children.map($i)}:{},pn={tag:"g",attributes:k({},Kn.inner),children:[$i(k({tag:nn.tag,attributes:k(k({},nn.attributes),Kn.path)},_c))]},ro={tag:"g",attributes:k({},Kn.outer),children:[pn]},Nc="mask-".concat(we||Mt()),bo="clip-".concat(we||Mt()),so={tag:"mask",attributes:k(k({},Ic),{},{id:Nc,maskUnits:"userSpaceOnUse",maskContentUnits:"userSpaceOnUse"}),children:[Xi,ro]},Rc={tag:"defs",children:[{tag:"clipPath",attributes:{id:bo},children:Fr(kn)},so]};return ct.push(Rc,{tag:"rect",attributes:k({fill:"currentColor","clip-path":"url(#".concat(bo,")"),mask:"url(#".concat(Nc,")")},Ic)}),{children:ct,attributes:ut}}}},{provides(D){let et=!1;j.matchMedia&&(et=j.matchMedia("(prefers-reduced-motion: reduce)").matches),D.missingIconAbstract=function(){const ct=[],ut={fill:"currentColor"},St={attributeType:"XML",repeatCount:"indefinite",dur:"2s"};ct.push({tag:"path",attributes:k(k({},ut),{},{d:"M156.5,447.7l-12.6,29.5c-18.7-9.5-35.9-21.2-51.5-34.9l22.7-22.7C127.6,430.5,141.5,440,156.5,447.7z M40.6,272H8.5 c1.4,21.2,5.4,41.7,11.7,61.1L50,321.2C45.1,305.5,41.8,289,40.6,272z M40.6,240c1.4-18.8,5.2-37,11.1-54.1l-29.5-12.6 C14.7,194.3,10,216.7,8.5,240H40.6z M64.3,156.5c7.8-14.9,17.2-28.8,28.1-41.5L69.7,92.3c-13.7,15.6-25.5,32.8-34.9,51.5 L64.3,156.5z M397,419.6c-13.9,12-29.4,22.3-46.1,30.4l11.9,29.8c20.7-9.9,39.8-22.6,56.9-37.6L397,419.6z M115,92.4 c13.9-12,29.4-22.3,46.1-30.4l-11.9-29.8c-20.7,9.9-39.8,22.6-56.8,37.6L115,92.4z M447.7,355.5c-7.8,14.9-17.2,28.8-28.1,41.5 l22.7,22.7c13.7-15.6,25.5-32.9,34.9-51.5L447.7,355.5z M471.4,272c-1.4,18.8-5.2,37-11.1,54.1l29.5,12.6 c7.5-21.1,12.2-43.5,13.6-66.8H471.4z M321.2,462c-15.7,5-32.2,8.2-49.2,9.4v32.1c21.2-1.4,41.7-5.4,61.1-11.7L321.2,462z M240,471.4c-18.8-1.4-37-5.2-54.1-11.1l-12.6,29.5c21.1,7.5,43.5,12.2,66.8,13.6V471.4z M462,190.8c5,15.7,8.2,32.2,9.4,49.2h32.1 c-1.4-21.2-5.4-41.7-11.7-61.1L462,190.8z M92.4,397c-12-13.9-22.3-29.4-30.4-46.1l-29.8,11.9c9.9,20.7,22.6,39.8,37.6,56.9 L92.4,397z M272,40.6c18.8,1.4,36.9,5.2,54.1,11.1l12.6-29.5C317.7,14.7,295.3,10,272,8.5V40.6z M190.8,50 c15.7-5,32.2-8.2,49.2-9.4V8.5c-21.2,1.4-41.7,5.4-61.1,11.7L190.8,50z M442.3,92.3L419.6,115c12,13.9,22.3,29.4,30.5,46.1 l29.8-11.9C470,128.5,457.3,109.4,442.3,92.3z M397,92.4l22.7-22.7c-15.6-13.7-32.8-25.5-51.5-34.9l-12.6,29.5 C370.4,72.1,384.4,81.5,397,92.4z"})});const ie=k(k({},St),{},{attributeName:"opacity"}),we={tag:"circle",attributes:k(k({},ut),{},{cx:"256",cy:"364",r:"28"}),children:[]};return et||we.children.push({tag:"animate",attributes:k(k({},St),{},{attributeName:"r",values:"28;14;28;28;14;28;"})},{tag:"animate",attributes:k(k({},ie),{},{values:"1;0;1;1;0;1;"})}),ct.push(we),ct.push({tag:"path",attributes:k(k({},ut),{},{opacity:"1",d:"M263.7,312h-16c-6.6,0-12-5.4-12-12c0-71,77.4-63.9,77.4-107.8c0-20-17.8-40.2-57.4-40.2c-29.1,0-44.3,9.6-59.2,28.7 c-3.9,5-11.1,6-16.2,2.4l-13.1-9.2c-5.6-3.9-6.9-11.8-2.6-17.2c21.2-27.2,46.4-44.7,91.2-44.7c52.3,0,97.4,29.8,97.4,80.2 c0,67.6-77.4,63.5-77.4,107.8C275.7,306.6,270.3,312,263.7,312z"}),children:et?[]:[{tag:"animate",attributes:k(k({},ie),{},{values:"1;0;0;0;0;1;"})}]}),et||ct.push({tag:"path",attributes:k(k({},ut),{},{opacity:"0",d:"M232.5,134.5l7,168c0.3,6.4,5.6,11.5,12,11.5h9c6.4,0,11.7-5.1,12-11.5l7-168c0.3-6.8-5.2-12.5-12-12.5h-23 C237.7,122,232.2,127.7,232.5,134.5z"}),children:[{tag:"animate",attributes:k(k({},ie),{},{values:"0;0;1;1;0;0;"})}]}),{tag:"g",attributes:{class:"missing"},children:ct}}}},{hooks:()=>({parseNodeAttributes(D,et){const ct=et.getAttribute("data-fa-symbol");return D.symbol=null!==ct&&(""===ct||ct),D}})}],{mixoutsTo:Vi});const W=Vi.parse,At=Vi.icon;var ni=r(71499);const ti=["*"],Zn=D=>{const et={[`fa-${D.animation}`]:null!=D.animation&&!D.animation.startsWith("spin"),"fa-spin":"spin"===D.animation||"spin-reverse"===D.animation,"fa-spin-pulse":"spin-pulse"===D.animation||"spin-pulse-reverse"===D.animation,"fa-spin-reverse":"spin-reverse"===D.animation||"spin-pulse-reverse"===D.animation,"fa-pulse":"spin-pulse"===D.animation||"spin-pulse-reverse"===D.animation,"fa-fw":D.fixedWidth,"fa-border":D.border,"fa-inverse":D.inverse,"fa-layers-counter":D.counter,"fa-flip-horizontal":"horizontal"===D.flip||"both"===D.flip,"fa-flip-vertical":"vertical"===D.flip||"both"===D.flip,[`fa-${D.size}`]:null!==D.size,[`fa-rotate-${D.rotate}`]:null!==D.rotate,[`fa-pull-${D.pull}`]:null!==D.pull,[`fa-stack-${D.stackItemSize}`]:null!=D.stackItemSize};return Object.keys(et).map(ct=>et[ct]?ct:null).filter(ct=>ct)};let ai=(()=>{class D{constructor(){this.defaultPrefix="fas",this.fallbackIcon=null}static{this.\u0275fac=function(ut){return new(ut||D)}}static{this.\u0275prov=o.jDH({token:D,factory:D.\u0275fac,providedIn:"root"})}}return D})(),Ki=(()=>{class D{constructor(){this.definitions={}}addIcons(...ct){for(const ut of ct){ut.prefix in this.definitions||(this.definitions[ut.prefix]={}),this.definitions[ut.prefix][ut.iconName]=ut;for(const St of ut.icon[2])"string"==typeof St&&(this.definitions[ut.prefix][St]=ut)}}addIconPacks(...ct){for(const ut of ct){const St=Object.keys(ut).map(ie=>ut[ie]);this.addIcons(...St)}}getIconDefinition(ct,ut){return ct in this.definitions&&ut in this.definitions[ct]?this.definitions[ct][ut]:null}static{this.\u0275fac=function(ut){return new(ut||D)}}static{this.\u0275prov=o.jDH({token:D,factory:D.\u0275fac,providedIn:"root"})}}return D})(),go=(()=>{class D{constructor(){this.stackItemSize="1x"}ngOnChanges(ct){if("size"in ct)throw new Error('fa-icon is not allowed to customize size when used inside fa-stack. Set size on the enclosing fa-stack instead: ....')}static{this.\u0275fac=function(ut){return new(ut||D)}}static{this.\u0275dir=o.FsC({type:D,selectors:[["fa-icon","stackItemSize",""],["fa-duotone-icon","stackItemSize",""]],inputs:{stackItemSize:"stackItemSize",size:"size"},features:[o.OA$]})}}return D})(),Gi=(()=>{class D{constructor(ct,ut){this.renderer=ct,this.elementRef=ut}ngOnInit(){this.renderer.addClass(this.elementRef.nativeElement,"fa-stack")}ngOnChanges(ct){"size"in ct&&(null!=ct.size.currentValue&&this.renderer.addClass(this.elementRef.nativeElement,`fa-${ct.size.currentValue}`),null!=ct.size.previousValue&&this.renderer.removeClass(this.elementRef.nativeElement,`fa-${ct.size.previousValue}`))}static{this.\u0275fac=function(ut){return new(ut||D)(o.rXU(o.sFG),o.rXU(o.aKT))}}static{this.\u0275cmp=o.VBU({type:D,selectors:[["fa-stack"]],inputs:{size:"size"},features:[o.OA$],ngContentSelectors:ti,decls:1,vars:0,template:function(ut,St){1&ut&&(o.NAR(),o.SdG(0))},encapsulation:2})}}return D})(),no=(()=>{class D{set spin(ct){this.animation=ct?"spin":void 0}set pulse(ct){this.animation=ct?"spin-pulse":void 0}constructor(ct,ut,St,ie,we){this.sanitizer=ct,this.config=ut,this.iconLibrary=St,this.stackItem=ie,this.classes=[],null!=we&&null==ie&&console.error('FontAwesome: fa-icon and fa-duotone-icon elements must specify stackItemSize attribute when wrapped into fa-stack. Example: .')}ngOnChanges(ct){if(null!=this.icon||null!=this.config.fallbackIcon){if(ct){const St=this.findIconDefinition(null!=this.icon?this.icon:this.config.fallbackIcon);if(null!=St){const ie=this.buildParams();this.renderIcon(St,ie)}}}else(()=>{throw new Error("Property `icon` is required for `fa-icon`/`fa-duotone-icon` components.")})()}render(){this.ngOnChanges({})}findIconDefinition(ct){const ut=((D,et)=>(D=>void 0!==D.prefix&&void 0!==D.iconName)(D)?D:"string"==typeof D?{prefix:et,iconName:D}:{prefix:D[0],iconName:D[1]})(ct,this.config.defaultPrefix);return"icon"in ut?ut:this.iconLibrary.getIconDefinition(ut.prefix,ut.iconName)??((D=>{throw new Error(`Could not find icon with iconName=${D.iconName} and prefix=${D.prefix} in the icon library.`)})(ut),null)}buildParams(){const ct={flip:this.flip,animation:this.animation,border:this.border,inverse:this.inverse,size:this.size||null,pull:this.pull||null,rotate:this.rotate||null,fixedWidth:"boolean"==typeof this.fixedWidth?this.fixedWidth:this.config.fixedWidth,stackItemSize:null!=this.stackItem?this.stackItem.stackItemSize:null},ut="string"==typeof this.transform?W.transform(this.transform):this.transform;return{title:this.title,transform:ut,classes:[...Zn(ct),...this.classes],mask:null!=this.mask?this.findIconDefinition(this.mask):null,styles:null!=this.styles?this.styles:{},symbol:this.symbol,attributes:{role:this.a11yRole}}}renderIcon(ct,ut){const St=At(ct,ut);this.renderedIconHTML=this.sanitizer.bypassSecurityTrustHtml(St.html.join("\n"))}static{this.\u0275fac=function(ut){return new(ut||D)(o.rXU(ni.up),o.rXU(ai),o.rXU(Ki),o.rXU(go,8),o.rXU(Gi,8))}}static{this.\u0275cmp=o.VBU({type:D,selectors:[["fa-icon"]],hostAttrs:[1,"ng-fa-icon"],hostVars:2,hostBindings:function(ut,St){2&ut&&(o.Mr5("innerHTML",St.renderedIconHTML,o.npT),o.BMQ("title",St.title))},inputs:{icon:"icon",title:"title",animation:"animation",spin:"spin",pulse:"pulse",mask:"mask",styles:"styles",flip:"flip",size:"size",pull:"pull",border:"border",inverse:"inverse",symbol:"symbol",rotate:"rotate",fixedWidth:"fixedWidth",classes:"classes",transform:"transform",a11yRole:"a11yRole"},features:[o.OA$],decls:0,vars:0,template:function(ut,St){},encapsulation:2})}}return D})(),Go=(()=>{class D{static{this.\u0275fac=function(ut){return new(ut||D)}}static{this.\u0275mod=o.$C({type:D})}static{this.\u0275inj=o.G2t({})}}return D})()},94093:(Ce,Lt,r)=>{r.d(Lt,{$3Z:()=>w1,$MS:()=>I2,$UM:()=>hd,A4h:()=>Hf,AaJ:()=>Su,B0C:()=>$f,BF2:()=>$b,CN3:()=>xd,CeG:()=>gl,DW4:()=>go,E5r:()=>Sn,EZy:()=>Fs,INu:()=>yb,JAe:()=>T5,JmV:()=>bf,Jt$:()=>vb,Jyw:()=>Ka,KMJ:()=>gn,LBj:()=>xx,LFz:()=>et,Lhe:()=>Lm,QLR:()=>Dd,QRE:()=>ur,QtJ:()=>Vs,ReK:()=>Dx,SGM:()=>ma,TOj:()=>V,UBk:()=>j_,Uj9:()=>Fd,Vpu:()=>$6,X46:()=>Lr,XkK:()=>T_,bMg:()=>ea,bnw:()=>I5,cbP:()=>U4,ckx:()=>Oc,dmS:()=>M8,e68:()=>Cx,e6V:()=>O9,fLc:()=>L1,gK3:()=>w3,h6r:()=>T3,hem:()=>Sx,hpd:()=>Ta,iW_:()=>y4,ijD:()=>mb,imB:()=>Yh,isI:()=>kx,jPR:()=>Tb,jTw:()=>m7,lEd:()=>qc,lLb:()=>Sl,mEO:()=>_l,mRM:()=>r8,mh:()=>S1,pNp:()=>z3,pS3:()=>Aa,rIc:()=>F4,rfe:()=>Vx,sjs:()=>J,tUE:()=>Tr,tdl:()=>Z4,vaG:()=>Nm,w97:()=>tc,y_8:()=>Vu,yqK:()=>Wm,zm_:()=>Al});const J={prefix:"fas",iconName:"trash-can",icon:[448,512,[61460,"trash-alt"],"f2ed","M135.2 17.7C140.6 6.8 151.7 0 163.8 0L284.2 0c12.1 0 23.2 6.8 28.6 17.7L320 32l96 0c17.7 0 32 14.3 32 32s-14.3 32-32 32L32 96C14.3 96 0 81.7 0 64S14.3 32 32 32l96 0 7.2-14.3zM32 128l384 0 0 320c0 35.3-28.7 64-64 64L96 512c-35.3 0-64-28.7-64-64l0-320zm96 64c-8.8 0-16 7.2-16 16l0 224c0 8.8 7.2 16 16 16s16-7.2 16-16l0-224c0-8.8-7.2-16-16-16zm96 0c-8.8 0-16 7.2-16 16l0 224c0 8.8 7.2 16 16 16s16-7.2 16-16l0-224c0-8.8-7.2-16-16-16zm96 0c-8.8 0-16 7.2-16 16l0 224c0 8.8 7.2 16 16 16s16-7.2 16-16l0-224c0-8.8-7.2-16-16-16z"]},V={prefix:"fas",iconName:"message",icon:[512,512,["comment-alt"],"f27a","M64 0C28.7 0 0 28.7 0 64L0 352c0 35.3 28.7 64 64 64l96 0 0 80c0 6.1 3.4 11.6 8.8 14.3s11.9 2.1 16.8-1.5L309.3 416 448 416c35.3 0 64-28.7 64-64l0-288c0-35.3-28.7-64-64-64L64 0z"]},tc={prefix:"fas",iconName:"table",icon:[512,512,[],"f0ce","M64 256l0-96 160 0 0 96L64 256zm0 64l160 0 0 96L64 416l0-96zm224 96l0-96 160 0 0 96-160 0zM448 256l-160 0 0-96 160 0 0 96zM64 32C28.7 32 0 60.7 0 96L0 416c0 35.3 28.7 64 64 64l384 0c35.3 0 64-28.7 64-64l0-320c0-35.3-28.7-64-64-64L64 32z"]},Oc={prefix:"fas",iconName:"bars",icon:[448,512,["navicon"],"f0c9","M0 96C0 78.3 14.3 64 32 64l384 0c17.7 0 32 14.3 32 32s-14.3 32-32 32L32 128C14.3 128 0 113.7 0 96zM0 256c0-17.7 14.3-32 32-32l384 0c17.7 0 32 14.3 32 32s-14.3 32-32 32L32 288c-17.7 0-32-14.3-32-32zM448 416c0 17.7-14.3 32-32 32L32 448c-17.7 0-32-14.3-32-32s14.3-32 32-32l384 0c17.7 0 32 14.3 32 32z"]},qc={prefix:"fas",iconName:"circle-exclamation",icon:[512,512,["exclamation-circle"],"f06a","M256 512A256 256 0 1 0 256 0a256 256 0 1 0 0 512zm0-384c13.3 0 24 10.7 24 24l0 112c0 13.3-10.7 24-24 24s-24-10.7-24-24l0-112c0-13.3 10.7-24 24-24zM224 352a32 32 0 1 1 64 0 32 32 0 1 1 -64 0z"]},Tr=qc,Sn={prefix:"fas",iconName:"folder-plus",icon:[512,512,[],"f65e","M512 416c0 35.3-28.7 64-64 64L64 480c-35.3 0-64-28.7-64-64L0 96C0 60.7 28.7 32 64 32l128 0c20.1 0 39.1 9.5 51.2 25.6l19.2 25.6c6 8.1 15.5 12.8 25.6 12.8l160 0c35.3 0 64 28.7 64 64l0 256zM232 376c0 13.3 10.7 24 24 24s24-10.7 24-24l0-64 64 0c13.3 0 24-10.7 24-24s-10.7-24-24-24l-64 0 0-64c0-13.3-10.7-24-24-24s-24 10.7-24 24l0 64-64 0c-13.3 0-24 10.7-24 24s10.7 24 24 24l64 0 0 64z"]},go={prefix:"fas",iconName:"lock",icon:[448,512,[128274],"f023","M144 144l0 48 160 0 0-48c0-44.2-35.8-80-80-80s-80 35.8-80 80zM80 192l0-48C80 64.5 144.5 0 224 0s144 64.5 144 144l0 48 16 0c35.3 0 64 28.7 64 64l0 192c0 35.3-28.7 64-64 64L64 512c-35.3 0-64-28.7-64-64L0 256c0-35.3 28.7-64 64-64l16 0z"]},et={prefix:"fas",iconName:"pen-to-square",icon:[512,512,["edit"],"f044","M471.6 21.7c-21.9-21.9-57.3-21.9-79.2 0L362.3 51.7l97.9 97.9 30.1-30.1c21.9-21.9 21.9-57.3 0-79.2L471.6 21.7zm-299.2 220c-6.1 6.1-10.8 13.6-13.5 21.9l-29.6 88.8c-2.9 8.6-.6 18.1 5.8 24.6s15.9 8.7 24.6 5.8l88.8-29.6c8.2-2.7 15.7-7.4 21.9-13.5L437.7 172.3 339.7 74.3 172.4 241.7zM96 64C43 64 0 107 0 160L0 416c0 53 43 96 96 96l256 0c53 0 96-43 96-96l0-96c0-17.7-14.3-32-32-32s-32 14.3-32 32l0 96c0 17.7-14.3 32-32 32L96 448c-17.7 0-32-14.3-32-32l0-256c0-17.7 14.3-32 32-32l96 0c17.7 0 32-14.3 32-32s-14.3-32-32-32L96 64z"]},Vs={prefix:"fas",iconName:"plug",icon:[384,512,[128268],"f1e6","M96 0C78.3 0 64 14.3 64 32l0 96 64 0 0-96c0-17.7-14.3-32-32-32zM288 0c-17.7 0-32 14.3-32 32l0 96 64 0 0-96c0-17.7-14.3-32-32-32zM32 160c-17.7 0-32 14.3-32 32s14.3 32 32 32l0 32c0 77.4 55 142 128 156.8l0 67.2c0 17.7 14.3 32 32 32s32-14.3 32-32l0-67.2C297 398 352 333.4 352 256l0-32c17.7 0 32-14.3 32-32s-14.3-32-32-32L32 160z"]},Lr={prefix:"fas",iconName:"user",icon:[448,512,[128100,62144],"f007","M224 256A128 128 0 1 0 224 0a128 128 0 1 0 0 256zm-45.7 48C79.8 304 0 383.8 0 482.3C0 498.7 13.3 512 29.7 512l388.6 0c16.4 0 29.7-13.3 29.7-29.7C448 383.8 368.2 304 269.7 304l-91.4 0z"]},ea={prefix:"fas",iconName:"key",icon:[512,512,[128273],"f084","M336 352c97.2 0 176-78.8 176-176S433.2 0 336 0S160 78.8 160 176c0 18.7 2.9 36.8 8.3 53.7L7 391c-4.5 4.5-7 10.6-7 17l0 80c0 13.3 10.7 24 24 24l80 0c13.3 0 24-10.7 24-24l0-40 40 0c13.3 0 24-10.7 24-24l0-40 40 0c6.4 0 12.5-2.5 17-7l33.3-33.3c16.9 5.4 35 8.3 53.7 8.3zM376 96a40 40 0 1 1 0 80 40 40 0 1 1 0-80z"]},Fd={prefix:"fas",iconName:"folder-open",icon:[576,512,[128194,128449,61717],"f07c","M88.7 223.8L0 375.8 0 96C0 60.7 28.7 32 64 32l117.5 0c17 0 33.3 6.7 45.3 18.7l26.5 26.5c12 12 28.3 18.7 45.3 18.7L416 96c35.3 0 64 28.7 64 64l0 32-336 0c-22.8 0-43.8 12.1-55.3 31.8zm27.6 16.1C122.1 230 132.6 224 144 224l400 0c11.5 0 22 6.1 27.7 16.1s5.7 22.2-.1 32.1l-112 192C453.9 474 443.4 480 432 480L32 480c-11.5 0-22-6.1-27.7-16.1s-5.7-22.2 .1-32.1l112-192z"]},ur={prefix:"fas",iconName:"circle-check",icon:[512,512,[61533,"check-circle"],"f058","M256 512A256 256 0 1 0 256 0a256 256 0 1 0 0 512zM369 209L241 337c-9.4 9.4-24.6 9.4-33.9 0l-64-64c-9.4-9.4-9.4-24.6 0-33.9s24.6-9.4 33.9 0l47 47L335 175c9.4-9.4 24.6-9.4 33.9 0s9.4 24.6 0 33.9z"]},ma=ur,I2={prefix:"fas",iconName:"file-import",icon:[512,512,["arrow-right-to-file"],"f56f","M128 64c0-35.3 28.7-64 64-64L352 0l0 128c0 17.7 14.3 32 32 32l128 0 0 288c0 35.3-28.7 64-64 64l-256 0c-35.3 0-64-28.7-64-64l0-112 174.1 0-39 39c-9.4 9.4-9.4 24.6 0 33.9s24.6 9.4 33.9 0l80-80c9.4-9.4 9.4-24.6 0-33.9l-80-80c-9.4-9.4-24.6-9.4-33.9 0s-9.4 24.6 0 33.9l39 39L128 288l0-224zm0 224l0 48L24 336c-13.3 0-24-10.7-24-24s10.7-24 24-24l104 0zM512 128l-128 0L384 0 512 128z"]},w1={prefix:"fas",iconName:"arrows-rotate",icon:[512,512,[128472,"refresh","sync"],"f021","M105.1 202.6c7.7-21.8 20.2-42.3 37.8-59.8c62.5-62.5 163.8-62.5 226.3 0L386.3 160 352 160c-17.7 0-32 14.3-32 32s14.3 32 32 32l111.5 0c0 0 0 0 0 0l.4 0c17.7 0 32-14.3 32-32l0-112c0-17.7-14.3-32-32-32s-32 14.3-32 32l0 35.2L414.4 97.6c-87.5-87.5-229.3-87.5-316.8 0C73.2 122 55.6 150.7 44.8 181.4c-5.9 16.7 2.9 34.9 19.5 40.8s34.9-2.9 40.8-19.5zM39 289.3c-5 1.5-9.8 4.2-13.7 8.2c-4 4-6.7 8.8-8.1 14c-.3 1.2-.6 2.5-.8 3.8c-.3 1.7-.4 3.4-.4 5.1L16 432c0 17.7 14.3 32 32 32s32-14.3 32-32l0-35.1 17.6 17.5c0 0 0 0 0 0c87.5 87.4 229.3 87.4 316.7 0c24.4-24.4 42.1-53.1 52.9-83.8c5.9-16.7-2.9-34.9-19.5-40.8s-34.9 2.9-40.8 19.5c-7.7 21.8-20.2 42.3-37.8 59.8c-62.5 62.5-163.8 62.5-226.3 0l-.1-.1L125.6 352l34.4 0c17.7 0 32-14.3 32-32s-14.3-32-32-32L48.4 288c-1.6 0-3.2 .1-4.8 .3s-3.1 .5-4.6 1z"]},$6=w1,L1={prefix:"fas",iconName:"shield-halved",icon:[512,512,["shield-alt"],"f3ed","M256 0c4.6 0 9.2 1 13.4 2.9L457.7 82.8c22 9.3 38.4 31 38.3 57.2c-.5 99.2-41.3 280.7-213.6 363.2c-16.7 8-36.1 8-52.8 0C57.3 420.7 16.5 239.2 16 140c-.1-26.2 16.3-47.9 38.3-57.2L242.7 2.9C246.8 1 251.4 0 256 0zm0 66.8l0 378.1C394 378 431.1 230.1 432 141.4L256 66.8s0 0 0 0z"]},Yh=L1,S1={prefix:"fas",iconName:"language",icon:[640,512,[],"f1ab","M0 128C0 92.7 28.7 64 64 64l192 0 48 0 16 0 256 0c35.3 0 64 28.7 64 64l0 256c0 35.3-28.7 64-64 64l-256 0-16 0-48 0L64 448c-35.3 0-64-28.7-64-64L0 128zm320 0l0 256 256 0 0-256-256 0zM178.3 175.9c-3.2-7.2-10.4-11.9-18.3-11.9s-15.1 4.7-18.3 11.9l-64 144c-4.5 10.1 .1 21.9 10.2 26.4s21.9-.1 26.4-10.2l8.9-20.1 73.6 0 8.9 20.1c4.5 10.1 16.3 14.6 26.4 10.2s14.6-16.3 10.2-26.4l-64-144zM160 233.2L179 276l-38 0 19-42.8zM448 164c11 0 20 9 20 20l0 4 44 0 16 0c11 0 20 9 20 20s-9 20-20 20l-2 0-1.6 4.5c-8.9 24.4-22.4 46.6-39.6 65.4c.9 .6 1.8 1.1 2.7 1.6l18.9 11.3c9.5 5.7 12.5 18 6.9 27.4s-18 12.5-27.4 6.9l-18.9-11.3c-4.5-2.7-8.8-5.5-13.1-8.5c-10.6 7.5-21.9 14-34 19.4l-3.6 1.6c-10.1 4.5-21.9-.1-26.4-10.2s.1-21.9 10.2-26.4l3.6-1.6c6.4-2.9 12.6-6.1 18.5-9.8l-12.2-12.2c-7.8-7.8-7.8-20.5 0-28.3s20.5-7.8 28.3 0l14.6 14.6 .5 .5c12.4-13.1 22.5-28.3 29.8-45L448 228l-72 0c-11 0-20-9-20-20s9-20 20-20l52 0 0-4c0-11 9-20 20-20z"]},r8={prefix:"fas",iconName:"filter",icon:[512,512,[],"f0b0","M3.9 54.9C10.5 40.9 24.5 32 40 32l432 0c15.5 0 29.5 8.9 36.1 22.9s4.6 30.5-5.2 42.5L320 320.9 320 448c0 12.1-6.8 23.2-17.7 28.6s-23.8 4.3-33.5-3l-64-48c-8.1-6-12.8-15.5-12.8-25.6l0-79.1L9 97.3C-.7 85.4-2.8 68.8 3.9 54.9z"]},m7={prefix:"fas",iconName:"code",icon:[640,512,[],"f121","M392.8 1.2c-17-4.9-34.7 5-39.6 22l-128 448c-4.9 17 5 34.7 22 39.6s34.7-5 39.6-22l128-448c4.9-17-5-34.7-22-39.6zm80.6 120.1c-12.5 12.5-12.5 32.8 0 45.3L562.7 256l-89.4 89.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0l112-112c12.5-12.5 12.5-32.8 0-45.3l-112-112c-12.5-12.5-32.8-12.5-45.3 0zm-306.7 0c-12.5-12.5-32.8-12.5-45.3 0l-112 112c-12.5 12.5-12.5 32.8 0 45.3l112 112c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L77.3 256l89.4-89.4c12.5-12.5 12.5-32.8 0-45.3z"]},w3={prefix:"fas",iconName:"chart-line",icon:[512,512,["line-chart"],"f201","M64 64c0-17.7-14.3-32-32-32S0 46.3 0 64L0 400c0 44.2 35.8 80 80 80l400 0c17.7 0 32-14.3 32-32s-14.3-32-32-32L80 416c-8.8 0-16-7.2-16-16L64 64zm406.6 86.6c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L320 210.7l-57.4-57.4c-12.5-12.5-32.8-12.5-45.3 0l-112 112c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0L240 221.3l57.4 57.4c12.5 12.5 32.8 12.5 45.3 0l128-128z"]},M8={prefix:"fas",iconName:"arrow-right",icon:[448,512,[8594],"f061","M438.6 278.6c12.5-12.5 12.5-32.8 0-45.3l-160-160c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3L338.8 224 32 224c-17.7 0-32 14.3-32 32s14.3 32 32 32l306.7 0L233.4 393.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0l160-160z"]},z3={prefix:"fas",iconName:"lock-open",icon:[576,512,[],"f3c1","M352 144c0-44.2 35.8-80 80-80s80 35.8 80 80l0 48c0 17.7 14.3 32 32 32s32-14.3 32-32l0-48C576 64.5 511.5 0 432 0S288 64.5 288 144l0 48L64 192c-35.3 0-64 28.7-64 64L0 448c0 35.3 28.7 64 64 64l320 0c35.3 0 64-28.7 64-64l0-192c0-35.3-28.7-64-64-64l-32 0 0-48z"]},T3={prefix:"fas",iconName:"wrench",icon:[512,512,[128295],"f0ad","M352 320c88.4 0 160-71.6 160-160c0-15.3-2.2-30.1-6.2-44.2c-3.1-10.8-16.4-13.2-24.3-5.3l-76.8 76.8c-3 3-7.1 4.7-11.3 4.7L336 192c-8.8 0-16-7.2-16-16l0-57.4c0-4.2 1.7-8.3 4.7-11.3l76.8-76.8c7.9-7.9 5.4-21.2-5.3-24.3C382.1 2.2 367.3 0 352 0C263.6 0 192 71.6 192 160c0 19.1 3.4 37.5 9.5 54.5L19.9 396.1C7.2 408.8 0 426.1 0 444.1C0 481.6 30.4 512 67.9 512c18 0 35.3-7.2 48-19.9L297.5 310.5c17 6.2 35.4 9.5 54.5 9.5zM80 408a24 24 0 1 1 0 48 24 24 0 1 1 0-48z"]},Aa={prefix:"fas",iconName:"eye",icon:[576,512,[128065],"f06e","M288 32c-80.8 0-145.5 36.8-192.6 80.6C48.6 156 17.3 208 2.5 243.7c-3.3 7.9-3.3 16.7 0 24.6C17.3 304 48.6 356 95.4 399.4C142.5 443.2 207.2 480 288 480s145.5-36.8 192.6-80.6c46.8-43.5 78.1-95.4 93-131.1c3.3-7.9 3.3-16.7 0-24.6c-14.9-35.7-46.2-87.7-93-131.1C433.5 68.8 368.8 32 288 32zM144 256a144 144 0 1 1 288 0 144 144 0 1 1 -288 0zm144-64c0 35.3-28.7 64-64 64c-7.1 0-13.9-1.2-20.3-3.3c-5.5-1.8-11.9 1.6-11.7 7.4c.3 6.9 1.3 13.8 3.2 20.7c13.7 51.2 66.4 81.6 117.6 67.9s81.6-66.4 67.9-117.6c-11.1-41.5-47.8-69.4-88.6-71.1c-5.8-.2-9.2 6.1-7.4 11.7c2.1 6.4 3.3 13.2 3.3 20.3z"]},Ta={prefix:"fas",iconName:"pen",icon:[512,512,[128394],"f304","M362.7 19.3L314.3 67.7 444.3 197.7l48.4-48.4c25-25 25-65.5 0-90.5L453.3 19.3c-25-25-65.5-25-90.5 0zm-71 71L58.6 323.5c-10.4 10.4-18 23.3-22.2 37.4L1 481.2C-1.5 489.7 .8 498.8 7 505s15.3 8.5 23.7 6.1l120.3-35.4c14.1-4.2 27-11.8 37.4-22.2L421.7 220.3 291.7 90.3z"]},gl={prefix:"fas",iconName:"arrow-left",icon:[448,512,[8592],"f060","M9.4 233.4c-12.5 12.5-12.5 32.8 0 45.3l160 160c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L109.2 288 416 288c17.7 0 32-14.3 32-32s-14.3-32-32-32l-306.7 0L214.6 118.6c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0l-160 160z"]},Su={prefix:"fas",iconName:"up-right-from-square",icon:[512,512,["external-link-alt"],"f35d","M352 0c-12.9 0-24.6 7.8-29.6 19.8s-2.2 25.7 6.9 34.9L370.7 96 201.4 265.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0L416 141.3l41.4 41.4c9.2 9.2 22.9 11.9 34.9 6.9s19.8-16.6 19.8-29.6l0-128c0-17.7-14.3-32-32-32L352 0zM80 32C35.8 32 0 67.8 0 112L0 432c0 44.2 35.8 80 80 80l320 0c44.2 0 80-35.8 80-80l0-112c0-17.7-14.3-32-32-32s-32 14.3-32 32l0 112c0 8.8-7.2 16-16 16L80 448c-8.8 0-16-7.2-16-16l0-320c0-8.8 7.2-16 16-16l112 0c17.7 0 32-14.3 32-32s-14.3-32-32-32L80 32z"]},Vu={prefix:"fas",iconName:"envelope",icon:[512,512,[128386,9993,61443],"f0e0","M48 64C21.5 64 0 85.5 0 112c0 15.1 7.1 29.3 19.2 38.4L236.8 313.6c11.4 8.5 27 8.5 38.4 0L492.8 150.4c12.1-9.1 19.2-23.3 19.2-38.4c0-26.5-21.5-48-48-48L48 64zM0 176L0 384c0 35.3 28.7 64 64 64l384 0c35.3 0 64-28.7 64-64l0-208L294.4 339.2c-22.8 17.1-54 17.1-76.8 0L0 176z"]},_l={prefix:"fas",iconName:"circle-info",icon:[512,512,["info-circle"],"f05a","M256 512A256 256 0 1 0 256 0a256 256 0 1 0 0 512zM216 336l24 0 0-64-24 0c-13.3 0-24-10.7-24-24s10.7-24 24-24l48 0c13.3 0 24 10.7 24 24l0 88 8 0c13.3 0 24 10.7 24 24s-10.7 24-24 24l-80 0c-13.3 0-24-10.7-24-24s10.7-24 24-24zm40-208a32 32 0 1 1 0 64 32 32 0 1 1 0-64z"]},y4=_l,Fs={prefix:"fas",iconName:"minus",icon:[448,512,[8211,8722,10134,"subtract"],"f068","M432 256c0 17.7-14.3 32-32 32L48 288c-17.7 0-32-14.3-32-32s14.3-32 32-32l352 0c17.7 0 32 14.3 32 32z"]},O9={prefix:"fas",iconName:"plug-circle-check",icon:[576,512,[],"e55c","M96 0C78.3 0 64 14.3 64 32l0 96 64 0 0-96c0-17.7-14.3-32-32-32zM288 0c-17.7 0-32 14.3-32 32l0 96 64 0 0-96c0-17.7-14.3-32-32-32zM32 160c-17.7 0-32 14.3-32 32s14.3 32 32 32l0 32c0 77.4 55 142 128 156.8l0 67.2c0 17.7 14.3 32 32 32s32-14.3 32-32l0-67.2c12.3-2.5 24.1-6.4 35.1-11.5c-2.1-10.8-3.1-21.9-3.1-33.3c0-80.3 53.8-148 127.3-169.2c.5-2.2 .7-4.5 .7-6.8c0-17.7-14.3-32-32-32L32 160zM576 368a144 144 0 1 0 -288 0 144 144 0 1 0 288 0zm-76.7-43.3c6.2 6.2 6.2 16.4 0 22.6l-72 72c-6.2 6.2-16.4 6.2-22.6 0l-40-40c-6.2-6.2-6.2-16.4 0-22.6s16.4-6.2 22.6 0L416 385.4l60.7-60.7c6.2-6.2 16.4-6.2 22.6 0z"]},Lm={prefix:"fas",iconName:"keyboard",icon:[576,512,[9e3],"f11c","M64 64C28.7 64 0 92.7 0 128L0 384c0 35.3 28.7 64 64 64l448 0c35.3 0 64-28.7 64-64l0-256c0-35.3-28.7-64-64-64L64 64zm16 64l32 0c8.8 0 16 7.2 16 16l0 32c0 8.8-7.2 16-16 16l-32 0c-8.8 0-16-7.2-16-16l0-32c0-8.8 7.2-16 16-16zM64 240c0-8.8 7.2-16 16-16l32 0c8.8 0 16 7.2 16 16l0 32c0 8.8-7.2 16-16 16l-32 0c-8.8 0-16-7.2-16-16l0-32zm16 80l32 0c8.8 0 16 7.2 16 16l0 32c0 8.8-7.2 16-16 16l-32 0c-8.8 0-16-7.2-16-16l0-32c0-8.8 7.2-16 16-16zm80-176c0-8.8 7.2-16 16-16l32 0c8.8 0 16 7.2 16 16l0 32c0 8.8-7.2 16-16 16l-32 0c-8.8 0-16-7.2-16-16l0-32zm16 80l32 0c8.8 0 16 7.2 16 16l0 32c0 8.8-7.2 16-16 16l-32 0c-8.8 0-16-7.2-16-16l0-32c0-8.8 7.2-16 16-16zM160 336c0-8.8 7.2-16 16-16l224 0c8.8 0 16 7.2 16 16l0 32c0 8.8-7.2 16-16 16l-224 0c-8.8 0-16-7.2-16-16l0-32zM272 128l32 0c8.8 0 16 7.2 16 16l0 32c0 8.8-7.2 16-16 16l-32 0c-8.8 0-16-7.2-16-16l0-32c0-8.8 7.2-16 16-16zM256 240c0-8.8 7.2-16 16-16l32 0c8.8 0 16 7.2 16 16l0 32c0 8.8-7.2 16-16 16l-32 0c-8.8 0-16-7.2-16-16l0-32zM368 128l32 0c8.8 0 16 7.2 16 16l0 32c0 8.8-7.2 16-16 16l-32 0c-8.8 0-16-7.2-16-16l0-32c0-8.8 7.2-16 16-16zM352 240c0-8.8 7.2-16 16-16l32 0c8.8 0 16 7.2 16 16l0 32c0 8.8-7.2 16-16 16l-32 0c-8.8 0-16-7.2-16-16l0-32zM464 128l32 0c8.8 0 16 7.2 16 16l0 32c0 8.8-7.2 16-16 16l-32 0c-8.8 0-16-7.2-16-16l0-32c0-8.8 7.2-16 16-16zM448 240c0-8.8 7.2-16 16-16l32 0c8.8 0 16 7.2 16 16l0 32c0 8.8-7.2 16-16 16l-32 0c-8.8 0-16-7.2-16-16l0-32zm16 80l32 0c8.8 0 16 7.2 16 16l0 32c0 8.8-7.2 16-16 16l-32 0c-8.8 0-16-7.2-16-16l0-32c0-8.8 7.2-16 16-16z"]},F4={prefix:"fas",iconName:"flask",icon:[448,512,[],"f0c3","M288 0L160 0 128 0C110.3 0 96 14.3 96 32s14.3 32 32 32l0 132.8c0 11.8-3.3 23.5-9.5 33.5L10.3 406.2C3.6 417.2 0 429.7 0 442.6C0 480.9 31.1 512 69.4 512l309.2 0c38.3 0 69.4-31.1 69.4-69.4c0-12.8-3.6-25.4-10.3-36.4L329.5 230.4c-6.2-10.1-9.5-21.7-9.5-33.5L320 64c17.7 0 32-14.3 32-32s-14.3-32-32-32L288 0zM192 196.8L192 64l64 0 0 132.8c0 23.7 6.6 46.9 19 67.1L309.5 320l-171 0L173 263.9c12.4-20.2 19-43.4 19-67.1z"]},Nm={prefix:"fas",iconName:"ellipsis-vertical",icon:[128,512,["ellipsis-v"],"f142","M64 360a56 56 0 1 0 0 112 56 56 0 1 0 0-112zm0-160a56 56 0 1 0 0 112 56 56 0 1 0 0-112zM120 96A56 56 0 1 0 8 96a56 56 0 1 0 112 0z"]},Wm={prefix:"fas",iconName:"calculator",icon:[384,512,[128425],"f1ec","M64 0C28.7 0 0 28.7 0 64L0 448c0 35.3 28.7 64 64 64l256 0c35.3 0 64-28.7 64-64l0-384c0-35.3-28.7-64-64-64L64 0zM96 64l192 0c17.7 0 32 14.3 32 32l0 32c0 17.7-14.3 32-32 32L96 160c-17.7 0-32-14.3-32-32l0-32c0-17.7 14.3-32 32-32zm32 160a32 32 0 1 1 -64 0 32 32 0 1 1 64 0zM96 352a32 32 0 1 1 0-64 32 32 0 1 1 0 64zM64 416c0-17.7 14.3-32 32-32l96 0c17.7 0 32 14.3 32 32s-14.3 32-32 32l-96 0c-17.7 0-32-14.3-32-32zM192 256a32 32 0 1 1 0-64 32 32 0 1 1 0 64zm32 64a32 32 0 1 1 -64 0 32 32 0 1 1 64 0zm64-64a32 32 0 1 1 0-64 32 32 0 1 1 0 64zm32 64a32 32 0 1 1 -64 0 32 32 0 1 1 64 0zM288 448a32 32 0 1 1 0-64 32 32 0 1 1 0 64z"]},U4={prefix:"fas",iconName:"download",icon:[512,512,[],"f019","M288 32c0-17.7-14.3-32-32-32s-32 14.3-32 32l0 242.7-73.4-73.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3l128 128c12.5 12.5 32.8 12.5 45.3 0l128-128c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L288 274.7 288 32zM64 352c-35.3 0-64 28.7-64 64l0 32c0 35.3 28.7 64 64 64l384 0c35.3 0 64-28.7 64-64l0-32c0-35.3-28.7-64-64-64l-101.5 0-45.3 45.3c-25 25-65.5 25-90.5 0L165.5 352 64 352zm368 56a24 24 0 1 1 0 48 24 24 0 1 1 0-48z"]},Sl={prefix:"fas",iconName:"rotate-right",icon:[512,512,["redo-alt","rotate-forward"],"f2f9","M463.5 224l8.5 0c13.3 0 24-10.7 24-24l0-128c0-9.7-5.8-18.5-14.8-22.2s-19.3-1.7-26.2 5.2L413.4 96.6c-87.6-86.5-228.7-86.2-315.8 1c-87.5 87.5-87.5 229.3 0 316.8s229.3 87.5 316.8 0c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0c-62.5 62.5-163.8 62.5-226.3 0s-62.5-163.8 0-226.3c62.2-62.2 162.7-62.5 225.3-1L327 183c-6.9 6.9-8.9 17.2-5.2 26.2s12.5 14.8 22.2 14.8l119.5 0z"]},bf={prefix:"fas",iconName:"upload",icon:[512,512,[],"f093","M288 109.3L288 352c0 17.7-14.3 32-32 32s-32-14.3-32-32l0-242.7-73.4 73.4c-12.5 12.5-32.8 12.5-45.3 0s-12.5-32.8 0-45.3l128-128c12.5-12.5 32.8-12.5 45.3 0l128 128c12.5 12.5 12.5 32.8 0 45.3s-32.8 12.5-45.3 0L288 109.3zM64 352l128 0c0 35.3 28.7 64 64 64s64-28.7 64-64l128 0c35.3 0 64 28.7 64 64l0 32c0 35.3-28.7 64-64 64L64 512c-35.3 0-64-28.7-64-64l0-32c0-35.3 28.7-64 64-64zM432 456a24 24 0 1 0 0-48 24 24 0 1 0 0 48z"]},Al={prefix:"fas",iconName:"bolt",icon:[448,512,[9889,"zap"],"f0e7","M349.4 44.6c5.9-13.7 1.5-29.7-10.6-38.5s-28.6-8-39.9 1.8l-256 224c-10 8.8-13.6 22.9-8.9 35.3S50.7 288 64 288l111.5 0L98.6 467.4c-5.9 13.7-1.5 29.7 10.6 38.5s28.6 8 39.9-1.8l256-224c10-8.8 13.6-22.9 8.9-35.3s-16.6-20.7-30-20.7l-111.5 0L349.4 44.6z"]},Z4={prefix:"fas",iconName:"angle-down",icon:[448,512,[8964],"f107","M201.4 374.6c12.5 12.5 32.8 12.5 45.3 0l160-160c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L224 306.7 86.6 169.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3l160 160z"]},Hf={prefix:"fas",iconName:"file",icon:[384,512,[128196,128459,61462],"f15b","M0 64C0 28.7 28.7 0 64 0L224 0l0 128c0 17.7 14.3 32 32 32l128 0 0 288c0 35.3-28.7 64-64 64L64 512c-35.3 0-64-28.7-64-64L0 64zm384 64l-128 0L256 0 384 128z"]},$f={prefix:"fas",iconName:"arrow-down",icon:[384,512,[8595],"f063","M169.4 470.6c12.5 12.5 32.8 12.5 45.3 0l160-160c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L224 370.8 224 64c0-17.7-14.3-32-32-32s-32 14.3-32 32l0 306.7L54.6 265.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3l160 160z"]},mb={prefix:"fas",iconName:"play",icon:[384,512,[9654],"f04b","M73 39c-14.8-9.1-33.4-9.4-48.5-.9S0 62.6 0 80L0 432c0 17.4 9.4 33.4 24.5 41.9s33.7 8.1 48.5-.9L361 297c14.3-8.7 23-24.2 23-41s-8.7-32.2-23-41L73 39z"]},hd={prefix:"fas",iconName:"magnifying-glass",icon:[512,512,[128269,"search"],"f002","M416 208c0 45.9-14.9 88.3-40 122.7L502.6 457.4c12.5 12.5 12.5 32.8 0 45.3s-32.8 12.5-45.3 0L330.7 376c-34.4 25.2-76.8 40-122.7 40C93.1 416 0 322.9 0 208S93.1 0 208 0S416 93.1 416 208zM208 352a144 144 0 1 0 0-288 144 144 0 1 0 0 288z"]},vb={prefix:"fas",iconName:"chevron-down",icon:[512,512,[],"f078","M233.4 406.6c12.5 12.5 32.8 12.5 45.3 0l192-192c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L256 338.7 86.6 169.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3l192 192z"]},yb={prefix:"fas",iconName:"arrow-up",icon:[384,512,[8593],"f062","M214.6 41.4c-12.5-12.5-32.8-12.5-45.3 0l-160 160c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0L160 141.2 160 448c0 17.7 14.3 32 32 32s32-14.3 32-32l0-306.7L329.4 246.6c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3l-160-160z"]},xd={prefix:"fas",iconName:"user-shield",icon:[640,512,[],"f505","M224 256A128 128 0 1 0 224 0a128 128 0 1 0 0 256zm-45.7 48C79.8 304 0 383.8 0 482.3C0 498.7 13.3 512 29.7 512l388.6 0c1.8 0 3.5-.2 5.3-.5c-76.3-55.1-99.8-141-103.1-200.2c-16.1-4.8-33.1-7.3-50.7-7.3l-91.4 0zm308.8-78.3l-120 48C358 277.4 352 286.2 352 296c0 63.3 25.9 168.8 134.8 214.2c5.9 2.5 12.6 2.5 18.5 0C614.1 464.8 640 359.3 640 296c0-9.8-6-18.6-15.1-22.3l-120-48c-5.7-2.3-12.1-2.3-17.8 0zM591.4 312c-3.9 50.7-27.2 116.7-95.4 149.7l0-187.8L591.4 312z"]},Tb={prefix:"fas",iconName:"copy",icon:[448,512,[],"f0c5","M208 0L332.1 0c12.7 0 24.9 5.1 33.9 14.1l67.9 67.9c9 9 14.1 21.2 14.1 33.9L448 336c0 26.5-21.5 48-48 48l-192 0c-26.5 0-48-21.5-48-48l0-288c0-26.5 21.5-48 48-48zM48 128l80 0 0 64-64 0 0 256 192 0 0-32 64 0 0 48c0 26.5-21.5 48-48 48L48 512c-26.5 0-48-21.5-48-48L0 176c0-26.5 21.5-48 48-48z"]},Dd={prefix:"fas",iconName:"plus",icon:[448,512,[10133,61543,"add"],"2b","M256 80c0-17.7-14.3-32-32-32s-32 14.3-32 32l0 144L48 224c-17.7 0-32 14.3-32 32s14.3 32 32 32l144 0 0 144c0 17.7 14.3 32 32 32s32-14.3 32-32l0-144 144 0c17.7 0 32-14.3 32-32s-14.3-32-32-32l-144 0 0-144z"]},Ka={prefix:"fas",iconName:"xmark",icon:[384,512,[128473,10005,10006,10060,215,"close","multiply","remove","times"],"f00d","M342.6 150.6c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L192 210.7 86.6 105.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3L146.7 256 41.4 361.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0L192 301.3 297.4 406.6c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L237.3 256 342.6 150.6z"]},gn={prefix:"fas",iconName:"rocket",icon:[512,512,[],"f135","M156.6 384.9L125.7 354c-8.5-8.5-11.5-20.8-7.7-32.2c3-8.9 7-20.5 11.8-33.8L24 288c-8.6 0-16.6-4.6-20.9-12.1s-4.2-16.7 .2-24.1l52.5-88.5c13-21.9 36.5-35.3 61.9-35.3l82.3 0c2.4-4 4.8-7.7 7.2-11.3C289.1-4.1 411.1-8.1 483.9 5.3c11.6 2.1 20.6 11.2 22.8 22.8c13.4 72.9 9.3 194.8-111.4 276.7c-3.5 2.4-7.3 4.8-11.3 7.2l0 82.3c0 25.4-13.4 49-35.3 61.9l-88.5 52.5c-7.4 4.4-16.6 4.5-24.1 .2s-12.1-12.2-12.1-20.9l0-107.2c-14.1 4.9-26.4 8.9-35.7 11.9c-11.2 3.6-23.4 .5-31.8-7.8zM384 168a40 40 0 1 0 0-80 40 40 0 1 0 0 80z"]},T_={prefix:"fas",iconName:"chevron-right",icon:[320,512,[9002],"f054","M310.6 233.4c12.5 12.5 12.5 32.8 0 45.3l-192 192c-12.5 12.5-32.8 12.5-45.3 0s-12.5-32.8 0-45.3L242.7 256 73.4 86.6c-12.5-12.5-12.5-32.8 0-45.3s32.8-12.5 45.3 0l192 192z"]},$b={prefix:"fas",iconName:"rotate",icon:[512,512,[128260,"sync-alt"],"f2f1","M142.9 142.9c-17.5 17.5-30.1 38-37.8 59.8c-5.9 16.7-24.2 25.4-40.8 19.5s-25.4-24.2-19.5-40.8C55.6 150.7 73.2 122 97.6 97.6c87.2-87.2 228.3-87.5 315.8-1L455 55c6.9-6.9 17.2-8.9 26.2-5.2s14.8 12.5 14.8 22.2l0 128c0 13.3-10.7 24-24 24l-8.4 0c0 0 0 0 0 0L344 224c-9.7 0-18.5-5.8-22.2-14.8s-1.7-19.3 5.2-26.2l41.1-41.1c-62.6-61.5-163.1-61.2-225.3 1zM16 312c0-13.3 10.7-24 24-24l7.6 0 .7 0L168 288c9.7 0 18.5 5.8 22.2 14.8s1.7 19.3-5.2 26.2l-41.1 41.1c62.6 61.5 163.1 61.2 225.3-1c17.5-17.5 30.1-38 37.8-59.8c5.9-16.7 24.2-25.4 40.8-19.5s25.4 24.2 19.5 40.8c-10.8 30.6-28.4 59.3-52.9 83.8c-87.2 87.2-228.3 87.5-315.8 1L57 457c-6.9 6.9-17.2 8.9-26.2 5.2S16 449.7 16 440l0-119.6 0-.7 0-7.6z"]},j_={prefix:"fas",iconName:"robot",icon:[640,512,[129302],"f544","M320 0c17.7 0 32 14.3 32 32l0 64 120 0c39.8 0 72 32.2 72 72l0 272c0 39.8-32.2 72-72 72l-304 0c-39.8 0-72-32.2-72-72l0-272c0-39.8 32.2-72 72-72l120 0 0-64c0-17.7 14.3-32 32-32zM208 384c-8.8 0-16 7.2-16 16s7.2 16 16 16l32 0c8.8 0 16-7.2 16-16s-7.2-16-16-16l-32 0zm96 0c-8.8 0-16 7.2-16 16s7.2 16 16 16l32 0c8.8 0 16-7.2 16-16s-7.2-16-16-16l-32 0zm96 0c-8.8 0-16 7.2-16 16s7.2 16 16 16l32 0c8.8 0 16-7.2 16-16s-7.2-16-16-16l-32 0zM264 256a40 40 0 1 0 -80 0 40 40 0 1 0 80 0zm152 40a40 40 0 1 0 0-80 40 40 0 1 0 0 80zM48 224l16 0 0 192-16 0c-26.5 0-48-21.5-48-48l0-96c0-26.5 21.5-48 48-48zm544 0c26.5 0 48 21.5 48 48l0 96c0 26.5-21.5 48-48 48l-16 0 0-192 16 0z"]},xx={prefix:"fas",iconName:"book",icon:[448,512,[128212],"f02d","M96 0C43 0 0 43 0 96L0 416c0 53 43 96 96 96l288 0 32 0c17.7 0 32-14.3 32-32s-14.3-32-32-32l0-64c17.7 0 32-14.3 32-32l0-320c0-17.7-14.3-32-32-32L384 0 96 0zm0 384l256 0 0 64L96 448c-17.7 0-32-14.3-32-32s14.3-32 32-32zm32-240c0-8.8 7.2-16 16-16l192 0c8.8 0 16 7.2 16 16s-7.2 16-16 16l-192 0c-8.8 0-16-7.2-16-16zm16 48l192 0c8.8 0 16 7.2 16 16s-7.2 16-16 16l-192 0c-8.8 0-16-7.2-16-16s7.2-16 16-16z"]},Cx={prefix:"fas",iconName:"check",icon:[448,512,[10003,10004],"f00c","M438.6 105.4c12.5 12.5 12.5 32.8 0 45.3l-256 256c-12.5 12.5-32.8 12.5-45.3 0l-128-128c-12.5-12.5-12.5-32.8 0-45.3s32.8-12.5 45.3 0L160 338.7 393.4 105.4c12.5-12.5 32.8-12.5 45.3 0z"]},Dx={prefix:"fas",iconName:"book-open",icon:[576,512,[128214,128366],"f518","M249.6 471.5c10.8 3.8 22.4-4.1 22.4-15.5l0-377.4c0-4.2-1.6-8.4-5-11C247.4 52 202.4 32 144 32C93.5 32 46.3 45.3 18.1 56.1C6.8 60.5 0 71.7 0 83.8L0 454.1c0 11.9 12.8 20.2 24.1 16.5C55.6 460.1 105.5 448 144 448c33.9 0 79 14 105.6 23.5zm76.8 0C353 462 398.1 448 432 448c38.5 0 88.4 12.1 119.9 22.6c11.3 3.8 24.1-4.6 24.1-16.5l0-370.3c0-12.1-6.8-23.3-18.1-27.6C529.7 45.3 482.5 32 432 32c-58.4 0-103.4 20-123 35.6c-3.3 2.6-5 6.8-5 11L304 456c0 11.4 11.7 19.3 22.4 15.5z"]},T5={prefix:"fas",iconName:"triangle-exclamation",icon:[512,512,[9888,"exclamation-triangle","warning"],"f071","M256 32c14.2 0 27.3 7.5 34.5 19.8l216 368c7.3 12.4 7.3 27.7 .2 40.1S486.3 480 472 480L40 480c-14.3 0-27.6-7.7-34.7-20.1s-7-27.8 .2-40.1l216-368C228.7 39.5 241.8 32 256 32zm0 128c-13.3 0-24 10.7-24 24l0 112c0 13.3 10.7 24 24 24s24-10.7 24-24l0-112c0-13.3-10.7-24-24-24zm32 224a32 32 0 1 0 -64 0 32 32 0 1 0 64 0z"]},Sx={prefix:"fas",iconName:"database",icon:[448,512,[],"f1c0","M448 80l0 48c0 44.2-100.3 80-224 80S0 172.2 0 128L0 80C0 35.8 100.3 0 224 0S448 35.8 448 80zM393.2 214.7c20.8-7.4 39.9-16.9 54.8-28.6L448 288c0 44.2-100.3 80-224 80S0 332.2 0 288L0 186.1c14.9 11.8 34 21.2 54.8 28.6C99.7 230.7 159.5 240 224 240s124.3-9.3 169.2-25.3zM0 346.1c14.9 11.8 34 21.2 54.8 28.6C99.7 390.7 159.5 400 224 400s124.3-9.3 169.2-25.3c20.8-7.4 39.9-16.9 54.8-28.6l0 85.9c0 44.2-100.3 80-224 80S0 476.2 0 432l0-85.9z"]},kx={prefix:"fas",iconName:"paper-plane",icon:[512,512,[61913],"f1d8","M498.1 5.6c10.1 7 15.4 19.1 13.5 31.2l-64 416c-1.5 9.7-7.4 18.2-16 23s-18.9 5.4-28 1.6L284 427.7l-68.5 74.1c-8.9 9.7-22.9 12.9-35.2 8.1S160 493.2 160 480l0-83.6c0-4 1.5-7.8 4.2-10.8L331.8 202.8c5.8-6.3 5.6-16-.4-22s-15.7-6.4-22-.7L106 360.8 17.7 316.6C7.1 311.3 .3 300.7 0 288.9s5.9-22.8 16.1-28.7l448-256c10.7-6.1 23.9-5.5 34 1.4z"]},I5={prefix:"fas",iconName:"circle-xmark",icon:[512,512,[61532,"times-circle","xmark-circle"],"f057","M256 512A256 256 0 1 0 256 0a256 256 0 1 0 0 512zM175 175c9.4-9.4 24.6-9.4 33.9 0l47 47 47-47c9.4-9.4 24.6-9.4 33.9 0s9.4 24.6 0 33.9l-47 47 47 47c9.4 9.4 9.4 24.6 0 33.9s-24.6 9.4-33.9 0l-47-47-47 47c-9.4 9.4-24.6 9.4-33.9 0s-9.4-24.6 0-33.9l47-47-47-47c-9.4-9.4-9.4-24.6 0-33.9z"]},Vx=I5},31147:(Ce,Lt,r)=>{r.d(Lt,{bA:()=>cn,Q8:()=>Dt,Kj:()=>me,JO:()=>Ot,$o:()=>dt,bF:()=>ze,Tl:()=>X});var o=r(1843),y=r(73151),b=r(89371),T=r(61550),k=r(12324),G=r(89115),P=r(85390),Z=r(86606),N=r(62220),ot=r(14087),q=r(52483),K=r(29810),M=r(57588),a=r(17434),pt=r(33697);function j(I){return I&&I.constructor&&"function"==typeof I.constructor.isBuffer&&I.constructor.isBuffer(I)}function J(I){return I}function bt(I,_t){const Q=(_t=_t||{}).delimiter||".",Mt=_t.maxDepth,Wt=_t.transformKey||J,se={};return function De(ve,Ye,tn){tn=tn||1,Object.keys(ve).forEach(function(rn){const ln=ve[rn],Dn=_t.safe&&Array.isArray(ln),Fn=Object.prototype.toString.call(ln),Mn=j(ln),In="[object Object]"===Fn||"[object Array]"===Fn,li=Ye?Ye+Q+Wt(rn):Wt(rn);if(!Dn&&!Mn&&In&&Object.keys(ln).length&&(!_t.maxDepth||tn0&&(Dn=ve(ln.shift()),Fn=ve(ln[0]))}Mn[Dn]=Gt(I[rn],_t)}),se}class te{translations;constructor(_t){this.translations=_t}getTranslation(_t){return(0,y.of)(this.translations.get(_t)||{})}}const $=new o.nKC("TRANSLOCO_LOADER");function lt(I,_t){return I&&(Object.prototype.hasOwnProperty.call(I,_t)?I[_t]:_t.split(".").reduce((Q,Mt)=>Q?.[Mt],I))}function mt(I){return I?Array.isArray(I)?I.length:Le(I)?Object.keys(I).length:I?I.length:0:0}function de(I){return"string"==typeof I}function Le(I){return!!I&&"object"==typeof I&&!Array.isArray(I)}function Xe(I){return I.replace(/(?:^\w|[A-Z]|\b\w)/g,(_t,Q)=>0==Q?_t.toLowerCase():_t.toUpperCase()).replace(/\s+|_|-|\//g,"")}function Ve(I){return null==I}function Oe(I){return!1===Ve(I)}function be(I){return I&&"string"==typeof I.scope}function Nt(I){return bt(I,{safe:!0})}const Tt=new o.nKC("TRANSLOCO_CONFIG",{providedIn:"root",factory:()=>Yt}),Yt={defaultLang:"en",reRenderOnLangChange:!1,prodMode:!1,failedRetries:2,fallbackLang:[],availableLangs:[],missingHandler:{logMissingKey:!0,useFallbackTranslation:!1,allowEmpty:!1},flatten:{aot:!1},interpolation:["{{","}}"]};function Ut(I={}){return{...Yt,...I,missingHandler:{...Yt.missingHandler,...I.missingHandler},flatten:{...Yt.flatten,...I.flatten}}}const Ne=new o.nKC("TRANSLOCO_TRANSPILER");let ke=(()=>{class I{interpolationMatcher;constructor(Q){this.interpolationMatcher=function un(I){const[_t,Q]=I.interpolation;return new RegExp(`${_t}(.*?)${Q}`,"g")}(Q??Yt)}transpile(Q,Mt={},Wt,se){return de(Q)?Q.replace(this.interpolationMatcher,(De,ve)=>(ve=ve.trim(),Oe(Mt[ve])?Mt[ve]:Oe(Wt[ve])?this.transpile(Wt[ve],Mt,Wt,se):"")):(Mt&&(Le(Q)?Q=this.handleObject(Q,Mt,Wt,se):Array.isArray(Q)&&(Q=this.handleArray(Q,Mt,Wt,se))),Q)}handleObject(Q,Mt={},Wt,se){let De=Q;return Object.keys(Mt).forEach(ve=>{const Ye=lt(De,ve),tn=lt(Mt,ve),rn=this.transpile(Ye,tn,Wt,se);De=function V(I,_t,Q){I={...I};const Mt=_t.split("."),Wt=Mt.length-1;return Mt.reduce((se,De,ve)=>(se[De]=ve===Wt?Q:Array.isArray(se[De])?se[De].slice():{...se[De]},se&&se[De]),I),I}(De,ve,rn)}),De}handleArray(Q,Mt={},Wt,se){return Q.map(De=>this.transpile(De,Mt,Wt,se))}static \u0275fac=function(Mt){return new(Mt||I)(o.KVO(Tt,8))};static \u0275prov=o.jDH({token:I,factory:I.\u0275fac})}return I})();const Vt=new o.nKC("TRANSLOCO_MISSING_HANDLER");let oe=(()=>{class I{handle(Q,Mt){return Mt.missingHandler.logMissingKey&&!Mt.prodMode&&console.warn(`%c Missing translation for '${Q}'`,"font-size: 12px; color: red"),Q}static \u0275fac=function(Mt){return new(Mt||I)};static \u0275prov=o.jDH({token:I,factory:I.\u0275fac})}return I})();const Qt=new o.nKC("TRANSLOCO_INTERCEPTOR");let Et=(()=>{class I{preSaveTranslation(Q){return Q}preSaveTranslationKey(Q,Mt){return Mt}static \u0275fac=function(Mt){return new(Mt||I)};static \u0275prov=o.jDH({token:I,factory:I.\u0275fac})}return I})();const re=new o.nKC("TRANSLOCO_FALLBACK_STRATEGY");let tt,Ee=(()=>{class I{userConfig;constructor(Q){this.userConfig=Q}getNextLangs(){const Q=this.userConfig.fallbackLang;if(!Q)throw new Error("When using the default fallback, a fallback language must be provided in the config!");return Array.isArray(Q)?Q:[Q]}static \u0275fac=function(Mt){return new(Mt||I)(o.KVO(Tt))};static \u0275prov=o.jDH({token:I,factory:I.\u0275fac})}return I})();function ce(I){if(!I)return"";const _t=I.split("/");return _t.pop(),_t.join("/")}function je(I){return I?I.split("/").pop():""}function Ht(I,_t,Q="|"){if(de(I)){const Mt=I.split(Q),Wt=Mt.pop();return Wt===_t?[!0,Mt.toString()]:[!1,Wt]}return[!1,""]}function ne(I,_t){const[Q]=Ht(_t,"static");return!Q&&!!I.config.reRenderOnLangChange}function at(I){return I?_t=>_t:(0,b.s)(1)}function st(I,_t){return function yt(I){return I&&Le(I.loader)}(I)?function H(I,_t){return Object.keys(I).reduce((Q,Mt)=>(Q[`${_t}/${Mt}`]=I[Mt],Q),{})}(I.loader,_t):void 0}function zt(I){return{scope:ce(I)||null,langName:je(I)}}function vt(I){const{path:_t,inlineLoader:Q,mainLoader:Mt,data:Wt}=I;if(Q){if(!1===function $t(I){return"function"==typeof I}(Q[_t]))throw`You're using an inline loader but didn't provide a loader for ${_t}`;return Q[_t]().then(De=>De.default?De.default:De)}return Mt.getTranslation(_t,Wt)}function X(I,_t={},Q){return tt.translate(I,_t,Q)}let Ot=(()=>{class I{loader;parser;missingHandler;interceptor;fallbackStrategy;langChanges$;subscription=null;translations=new Map;cache=new Map;firstFallbackLang;defaultLang="";availableLangs=[];isResolvedMissingOnce=!1;lang;failedLangs=new Set;events=new G.B;events$=this.events.asObservable();config;constructor(Q,Mt,Wt,se,De,ve){this.loader=Q,this.parser=Mt,this.missingHandler=Wt,this.interceptor=se,this.fallbackStrategy=ve,this.loader||(this.loader=new te(this.translations)),tt=this,this.config=JSON.parse(JSON.stringify(De)),this.setAvailableLangs(this.config.availableLangs||[]),this.setFallbackLangForMissingTranslation(this.config),this.setDefaultLang(this.config.defaultLang),this.lang=new P.t(this.getDefaultLang()),this.langChanges$=this.lang.asObservable(),this.subscription=this.events$.subscribe(Ye=>{"translationLoadSuccess"===Ye.type&&Ye.wasFailure&&this.setActiveLang(Ye.payload.langName)})}getDefaultLang(){return this.defaultLang}setDefaultLang(Q){this.defaultLang=Q}getActiveLang(){return this.lang.getValue()}setActiveLang(Q){return this.parser.onLangChanged?.(Q),this.lang.next(Q),this.events.next({type:"langChanged",payload:zt(Q)}),this}setAvailableLangs(Q){this.availableLangs=Q}getAvailableLangs(){return this.availableLangs}load(Q,Mt={}){const Wt=this.cache.get(Q);if(Wt)return Wt;let se;const De=this._isLangScoped(Q);let ve;De&&(ve=ce(Q));const Ye={path:Q,mainLoader:this.loader,inlineLoader:Mt.inlineLoader,data:De?{scope:ve}:void 0};if(this.useFallbackTranslation(Q)){const rn=De?`${ve}/${this.firstFallbackLang}`:this.firstFallbackLang,ln=function kt({mainLoader:I,path:_t,data:Q,fallbackPath:Mt,inlineLoader:Wt}){return(Mt?[_t,Mt]:[_t]).map(De=>{const ve=vt({path:De,mainLoader:I,inlineLoader:Wt,data:Q});return(0,T.H)(ve).pipe((0,k.T)(Ye=>({translation:Ye,lang:De})))})}({...Ye,fallbackPath:rn});se=(0,Z.p)(ln)}else{const rn=vt(Ye);se=(0,T.H)(rn)}const tn=se.pipe((0,N.L)(this.config.failedRetries),(0,ot.M)(rn=>{Array.isArray(rn)?rn.forEach(ln=>{this.handleSuccess(ln.lang,ln.translation),ln.lang!==Q&&this.cache.set(ln.lang,(0,y.of)({}))}):this.handleSuccess(Q,rn)}),(0,q.W)(rn=>(this.config.prodMode||console.error(`Error while trying to load "${Q}"`,rn),this.handleFailure(Q,Mt))),(0,K.t)(1));return this.cache.set(Q,tn),tn}translate(Q,Mt={},Wt=this.getActiveLang()){if(!Q)return Q;const{scope:se,resolveLang:De}=this.resolveLangAndScope(Wt);if(Array.isArray(Q))return Q.map(tn=>this.translate(se?`${se}.${tn}`:tn,Mt,De));Q=se?`${se}.${Q}`:Q;const ve=this.getTranslation(De),Ye=ve[Q];return Ye?this.parser.transpile(Ye,Mt,ve,Q):this._handleMissingKey(Q,Ye,Mt)}selectTranslate(Q,Mt,Wt,se=!1){let De;const ve=(tn,rn)=>this.load(tn,rn).pipe((0,k.T)(()=>se?this.translateObject(Q,Mt,tn):this.translate(Q,Mt,tn)));if(Ve(Wt))return this.langChanges$.pipe((0,M.n)(tn=>ve(tn)));if(function Me(I){return Array.isArray(I)&&I.every(be)}(Wt)||be(Wt)){const tn=Array.isArray(Wt)?Wt[0]:Wt;Wt=tn.scope,De=st(tn,tn.scope)}if(this.isLang(Wt)||this.isScopeWithLang(Wt))return ve(Wt);const Ye=Wt;return this.langChanges$.pipe((0,M.n)(tn=>ve(`${Ye}/${tn}`,{inlineLoader:De})))}isScopeWithLang(Q){return this.isLang(je(Q))}translateObject(Q,Mt={},Wt=this.getActiveLang()){if(de(Q)||Array.isArray(Q)){const{resolveLang:De,scope:ve}=this.resolveLangAndScope(Wt);if(Array.isArray(Q))return Q.map(rn=>this.translateObject(ve?`${ve}.${rn}`:rn,Mt,De));const Ye=this.getTranslation(De),tn=function Kt(I){return Gt(I)}(this.getObjectByKey(Ye,Q=ve?`${ve}.${Q}`:Q));return function rt(I){return 0===mt(I)}(tn)?this.translate(Q,Mt,Wt):this.parser.transpile(tn,Mt,Ye,Q)}const se=[];for(const[De,ve]of this.getEntries(Q))se.push(this.translateObject(De,ve,Wt));return se}selectTranslateObject(Q,Mt,Wt){if(de(Q)||Array.isArray(Q))return this.selectTranslate(Q,Mt,Wt,!0);const[[se,De],...ve]=this.getEntries(Q);return this.selectTranslateObject(se,De,Wt).pipe((0,k.T)(Ye=>{const tn=[Ye];for(const[rn,ln]of ve)tn.push(this.translateObject(rn,ln,Wt));return tn}))}getTranslation(Q){if(Q){if(this.isLang(Q))return this.translations.get(Q)||{};{const{scope:Mt,resolveLang:Wt}=this.resolveLangAndScope(Q),se=this.translations.get(Wt)||{};return this.getObjectByKey(se,Mt)}}return this.translations}selectTranslation(Q){let Mt=this.langChanges$;if(Q){const Wt=je(Q)!==Q;Mt=this.isLang(Q)||Wt?(0,y.of)(Q):this.langChanges$.pipe((0,k.T)(se=>`${Q}/${se}`))}return Mt.pipe((0,M.n)(Wt=>this.load(Wt).pipe((0,k.T)(()=>this.getTranslation(Wt)))))}setTranslation(Q,Mt=this.getActiveLang(),Wt={}){const De={merge:!0,emitChange:!0,...Wt},ve=ce(Mt);let Ye=Q;ve&&(Ye=Nt({[this.getMappedScope(ve)]:Q}));const tn=ve?je(Mt):Mt,rn={...De.merge&&this.getTranslation(tn),...Ye},ln=this.config.flatten.aot?rn:Nt(rn),Dn=this.interceptor.preSaveTranslation(ln,tn);this.translations.set(tn,Dn),De.emitChange&&this.setActiveLang(this.getActiveLang())}setTranslationKey(Q,Mt,Wt=this.getActiveLang(),se={}){const De=this.interceptor.preSaveTranslationKey(Q,Mt,Wt);this.setTranslation({[Q]:De},Wt,{...se,merge:!0})}setFallbackLangForMissingTranslation({fallbackLang:Q}){const Mt=Array.isArray(Q)?Q[0]:Q;Q&&this.useFallbackTranslation(Mt)&&(this.firstFallbackLang=Mt)}_handleMissingKey(Q,Mt,Wt){if(this.config.missingHandler.allowEmpty&&""===Mt)return"";if(!this.isResolvedMissingOnce&&this.useFallbackTranslation()){this.isResolvedMissingOnce=!0;const se=this.translate(Q,Wt,this.firstFallbackLang);return this.isResolvedMissingOnce=!1,se}return this.missingHandler.handle(Q,this.getMissingHandlerData(),Wt)}_isLangScoped(Q){return-1===this.getAvailableLangsIds().indexOf(Q)}isLang(Q){return-1!==this.getAvailableLangsIds().indexOf(Q)}_loadDependencies(Q,Mt){const Wt=je(Q);return this._isLangScoped(Q)&&!this.isLoadedTranslation(Wt)?(0,a.z)([this.load(Wt),this.load(Q,{inlineLoader:Mt})]):this.load(Q,{inlineLoader:Mt})}_completeScopeWithLang(Q){return this._isLangScoped(Q)&&!this.isLang(je(Q))?`${Q}/${this.getActiveLang()}`:Q}_setScopeAlias(Q,Mt){this.config.scopeMapping||(this.config.scopeMapping={}),this.config.scopeMapping[Q]=Mt}ngOnDestroy(){this.subscription&&(this.subscription.unsubscribe(),this.subscription=null),this.cache.clear()}isLoadedTranslation(Q){return mt(this.getTranslation(Q))}getAvailableLangsIds(){return de(this.getAvailableLangs()[0])?this.getAvailableLangs():this.getAvailableLangs().map(Mt=>Mt.id)}getMissingHandlerData(){return{...this.config,activeLang:this.getActiveLang(),availableLangs:this.availableLangs,defaultLang:this.defaultLang}}useFallbackTranslation(Q){return this.config.missingHandler.useFallbackTranslation&&Q!==this.firstFallbackLang}handleSuccess(Q,Mt){this.setTranslation(Mt,Q,{emitChange:!1}),this.events.next({wasFailure:!!this.failedLangs.size,type:"translationLoadSuccess",payload:zt(Q)}),this.failedLangs.forEach(Wt=>this.cache.delete(Wt)),this.failedLangs.clear()}handleFailure(Q,Mt){Ve(Mt.failedCounter)&&(Mt.failedCounter=0,Mt.fallbackLangs||(Mt.fallbackLangs=this.fallbackStrategy.getNextLangs(Q)));const Wt=Q.split("/"),De=Mt.fallbackLangs[Mt.failedCounter];if(this.failedLangs.add(Q),this.cache.has(De))return this.handleSuccess(De,this.getTranslation(De)),pt.w;if(!De||De===Wt[Wt.length-1]){let tn="Unable to load translation and all the fallback languages";throw Wt.length>1&&(tn+=", did you misspelled the scope name?"),new Error(tn)}let Ye=De;return Wt.length>1&&(Wt[Wt.length-1]=De,Ye=Wt.join("/")),Mt.failedCounter++,this.events.next({type:"translationLoadFailure",payload:zt(Q)}),this.load(Ye,Mt)}getMappedScope(Q){const{scopeMapping:Mt={}}=this.config;return Mt[Q]||Xe(Q)}resolveLangAndScope(Q){let Wt,Mt=Q;if(this._isLangScoped(Q)){const se=je(Q),De=this.isLang(se);Mt=De?se:this.getActiveLang(),Wt=this.getMappedScope(De?ce(Q):Q)}return{scope:Wt,resolveLang:Mt}}getObjectByKey(Q,Mt){const Wt={},se=`${Mt}.`;for(const De in Q)De.startsWith(se)&&(Wt[De.replace(se,"")]=Q[De]);return Wt}getEntries(Q){return Q instanceof Map?Q.entries():Object.entries(Q)}static \u0275fac=function(Mt){return new(Mt||I)(o.KVO($,8),o.KVO(Ne),o.KVO(Vt),o.KVO(Qt),o.KVO(Tt),o.KVO(re))};static \u0275prov=o.jDH({token:I,factory:I.\u0275fac,providedIn:"root"})}return I})(),xe=(()=>{class I{html;static \u0275fac=function(Mt){return new(Mt||I)};static \u0275cmp=o.VBU({type:I,selectors:[["ng-component"]],inputs:{html:"html"},standalone:!0,features:[o.aNF],decls:1,vars:1,consts:[[1,"transloco-loader-template",3,"innerHTML"]],template:function(Mt,Wt){1&Mt&&o.nrm(0,"div",0),2&Mt&&o.Y8G("innerHTML",Wt.html,o.npT)},encapsulation:2})}return I})();class Te{view;vcr;constructor(_t,Q){this.view=_t,this.vcr=Q}attachView(){if(this.view instanceof o.C4Q)this.vcr.createEmbeddedView(this.view);else if(de(this.view)){const _t=this.vcr.createComponent(xe);_t.instance.html=this.view,_t.hostView.detectChanges()}else this.vcr.createComponent(this.view)}detachView(){this.vcr.clear()}}const Ke=new o.nKC("TRANSLOCO_LANG"),on=new o.nKC("TRANSLOCO_LOADING_TEMPLATE"),_n=new o.nKC("TRANSLOCO_SCOPE");class hn{initialized=!1;resolve({inline:_t,provider:Q,active:Mt}){let Wt=Mt;if(this.initialized)return Wt=Mt,Wt;if(Q){const[,se]=Ht(Q,"static");Wt=se}if(_t){const[,se]=Ht(_t,"static");Wt=se}return this.initialized=!0,Wt}resolveLangBasedOnScope(_t){return ce(_t)?je(_t):_t}resolveLangPath(_t,Q){return Q?`${Q}/${_t}`:_t}}class fe{service;constructor(_t){this.service=_t}resolve(_t){const{inline:Q,provider:Mt}=_t;if(Q)return Q;if(Mt){if(be(Mt)){const{scope:Wt,alias:se=Xe(Wt)}=Mt;return this.service._setScopeAlias(Wt,se),Wt}return Mt}}}let cn=(()=>{class I{service=(0,o.WQX)(Ot);tpl=(0,o.WQX)(o.C4Q,{optional:!0});providerLang=(0,o.WQX)(Ke,{optional:!0});providerScope=(0,o.WQX)(_n,{optional:!0});providedLoadingTpl=(0,o.WQX)(on,{optional:!0});cdr=(0,o.WQX)(o.gRc);host=(0,o.WQX)(o.aKT);vcr=(0,o.WQX)(o.c1b);renderer=(0,o.WQX)(o.sFG);subscription=null;view;translationMemo={};key;params={};inlineScope;inlineRead;inlineLang;inlineTpl;currentLang;loaderTplHandler;initialized=!1;path;langResolver=new hn;scopeResolver=new fe(this.service);strategy=null===this.tpl?"attribute":"structural";static ngTemplateContextGuard(Q,Mt){return!0}ngOnInit(){const Q=ne(this.service,this.providerLang||this.inlineLang);if(this.subscription=this.service.langChanges$.pipe((0,M.n)(Mt=>{const Wt=this.langResolver.resolve({inline:this.inlineLang,provider:this.providerLang,active:Mt});return Array.isArray(this.providerScope)?(0,Z.p)(this.providerScope.map(se=>this.resolveScope(Wt,se))):this.resolveScope(Wt,this.providerScope)}),at(Q)).subscribe(()=>{this.currentLang=this.langResolver.resolveLangBasedOnScope(this.path),"attribute"===this.strategy?this.attributeStrategy():this.structuralStrategy(this.currentLang,this.inlineRead),this.cdr.markForCheck(),this.initialized=!0}),!this.initialized){const Mt=this.resolveLoadingContent();Mt&&(this.loaderTplHandler=new Te(Mt,this.vcr),this.loaderTplHandler.attachView())}}ngOnChanges(Q){"attribute"===this.strategy&&Object.keys(Q).some(Wt=>!Q[Wt].firstChange)&&this.attributeStrategy()}attributeStrategy(){this.detachLoader(),this.renderer.setProperty(this.host.nativeElement,"innerText",this.service.translate(this.key,this.params,this.currentLang))}structuralStrategy(Q,Mt){this.translationMemo={},this.view?(this.view.context.$implicit=this.getTranslateFn(Q,Mt),this.view.context.currentLang=this.currentLang):(this.detachLoader(),this.view=this.vcr.createEmbeddedView(this.tpl,{$implicit:this.getTranslateFn(Q,Mt),currentLang:this.currentLang}))}getTranslateFn(Q,Mt){return(Wt,se)=>{const De=Mt?`${Mt}.${Wt}`:Wt,ve=se?`${De}${JSON.stringify(se)}`:De;return Object.prototype.hasOwnProperty.call(this.translationMemo,ve)||(this.translationMemo[ve]={params:se,value:this.service.translate(De,se,Q)}),this.translationMemo[ve].value}}resolveLoadingContent(){return this.inlineTpl||this.providedLoadingTpl}ngOnDestroy(){this.subscription&&(this.subscription.unsubscribe(),this.subscription=null)}detachLoader(){this.loaderTplHandler?.detachView()}resolveScope(Q,Mt){const Wt=this.scopeResolver.resolve({inline:this.inlineScope,provider:Mt});this.path=this.langResolver.resolveLangPath(Q,Wt);const se=st(Mt,Wt);return this.service._loadDependencies(this.path,se)}static \u0275fac=function(Mt){return new(Mt||I)};static \u0275dir=o.FsC({type:I,selectors:[["","transloco",""]],inputs:{key:["transloco","key"],params:["translocoParams","params"],inlineScope:["translocoScope","inlineScope"],inlineRead:["translocoRead","inlineRead"],inlineLang:["translocoLang","inlineLang"],inlineTpl:["translocoLoadingTpl","inlineTpl"]},standalone:!0,features:[o.OA$]})}return I})(),me=(()=>{class I{service;providerScope;providerLang;cdr;subscription=null;lastValue="";lastKey;path;langResolver=new hn;scopeResolver;constructor(Q,Mt,Wt,se){this.service=Q,this.providerScope=Mt,this.providerLang=Wt,this.cdr=se,this.scopeResolver=new fe(this.service)}transform(Q,Mt,Wt){if(!Q)return Q;const se=Mt?`${Q}${JSON.stringify(Mt)}`:Q;if(se===this.lastKey)return this.lastValue;this.lastKey=se,this.subscription?.unsubscribe();const De=ne(this.service,this.providerLang||Wt);return this.subscription=this.service.langChanges$.pipe((0,M.n)(ve=>{const Ye=this.langResolver.resolve({inline:Wt,provider:this.providerLang,active:ve});return Array.isArray(this.providerScope)?(0,Z.p)(this.providerScope.map(tn=>this.resolveScope(Ye,tn))):this.resolveScope(Ye,this.providerScope)}),at(De)).subscribe(()=>this.updateValue(Q,Mt)),this.lastValue}ngOnDestroy(){this.subscription?.unsubscribe(),this.subscription=null}updateValue(Q,Mt){const Wt=this.langResolver.resolveLangBasedOnScope(this.path);this.lastValue=this.service.translate(Q,Mt,Wt),this.cdr.markForCheck()}resolveScope(Q,Mt){const Wt=this.scopeResolver.resolve({inline:void 0,provider:Mt});this.path=this.langResolver.resolveLangPath(Q,Wt);const se=st(Mt,Wt);return this.service._loadDependencies(this.path,se)}static \u0275fac=function(Mt){return new(Mt||I)(o.rXU(Ot,16),o.rXU(_n,24),o.rXU(Ke,24),o.rXU(o.gRc,16))};static \u0275pipe=o.EJ8({name:"transloco",type:I,pure:!1,standalone:!0})}return I})(),Dt=(()=>{class I{static \u0275fac=function(Mt){return new(Mt||I)};static \u0275mod=o.$C({type:I});static \u0275inj=o.G2t({})}return I})();function dt(I){const _t=[Ct(ke),A(oe),xt(Et),U(Ee)];return I.config&&_t.push(function Rt(I){return(0,o.EmA)([{provide:Tt,useValue:Ut(I)}])}(I.config)),I.loader&&_t.push(function ae(I){return(0,o.EmA)([{provide:$,useClass:I}])}(I.loader)),_t}function ze(I){return{provide:_n,useValue:I,multi:!0}}function Ct(I){return(0,o.EmA)([{provide:Ne,useClass:I,deps:[Tt]}])}function U(I){return(0,o.EmA)([{provide:re,useClass:I,deps:[Tt]}])}function A(I){return(0,o.EmA)([{provide:Vt,useClass:I}])}function xt(I){return(0,o.EmA)([{provide:Qt,useClass:I}])}new o.nKC("TRANSLOCO_TEST_LANGS - Available testing languages"),new o.nKC("TRANSLOCO_TEST_OPTIONS - Testing options")},97828:(Ce,Lt,r)=>{r.d(Lt,{d:()=>$,s:()=>Ge});var o=r(89115),y=r(52693),b=r(61550),T=r(33697),k=r(1843),G=r(40426),P=r(73907);const Z=k.YHP,ot=Symbol("__destroy"),q=Symbol("__decoratorApplied");function K(ye){return"string"==typeof ye?Symbol(`__destroy__${ye}`):ot}function a(ye,Ve){ye[Ve]||(ye[Ve]=new o.B)}function pt(ye,Ve){ye[Ve]&&(ye[Ve].next(),ye[Ve].complete(),ye[Ve]=null)}function j(ye){ye instanceof y.yU&&ye.unsubscribe()}function bt(ye,Ve){return function(){if(ye&&ye.call(this),pt(this,K()),Ve.arrayName&&function J(ye){Array.isArray(ye)&&ye.forEach(j)}(this[Ve.arrayName]),Ve.checkProperties)for(const Oe in this)Ve.blackList?.includes(Oe)||j(this[Oe])}}function $(ye={}){return Ve=>{!function N(ye){return!!ye[Z]}(Ve)?function Gt(ye,Ve){ye.prototype.ngOnDestroy=bt(ye.prototype.ngOnDestroy,Ve)}(Ve,ye):function te(ye,Ve){const Oe=ye.\u0275pipe;Oe.onDestroy=bt(Oe.onDestroy,Ve)}(Ve,ye),function M(ye){ye.prototype[q]=!0}(Ve)}}const lt=7,V=Symbol("CheckerHasBeenSet");function $t(ye){const Ve=k.JZv.Zone;return Ve&&"function"==typeof Ve.root?.run?Ve.root.run(ye):ye()}const _e=!1;function Ge(ye,Ve){return Oe=>{const Qe=K(Ve);"string"==typeof Ve?function Le(ye,Ve,Oe){const Qe=ye[Ve];if(_e&&"function"!=typeof Qe)throw new Error(`${ye.constructor.name} is using untilDestroyed but doesn't implement ${Ve}`);a(ye,Oe),ye[Ve]=function(){Qe.apply(this,arguments),pt(this,Oe),ye[Ve]=Qe}}(ye,Ve,Qe):(_e&&function Xe(ye){const Ve=Object.getPrototypeOf(ye);if(!(q in Ve))throw new Error("untilDestroyed operator cannot be used inside directives or components or providers that are not decorated with UntilDestroy decorator")}(ye),a(ye,Qe));const be=ye[Qe];return _e&&function mt(ye,Ve){ye[V]||function rt(){return typeof __karma__<"u"&&!!__karma__||typeof jasmine<"u"&&!!jasmine||typeof jest<"u"&&!!jest||typeof Mocha<"u"&&!!Mocha||typeof process<"u"&&"[object process]"===Object.prototype.toString.call(process)}()||($t(()=>(0,b.H)(Promise.resolve()).pipe((0,G.Z)(()=>{let Oe;try{Oe=(0,k.xtB)(ye)}catch{Oe=null}const Qe=Oe?.lView;if(null==Qe)return T.w;const be=Qe[lt]||(Qe[lt]=[]),Me=new o.B;return be.push(function(){$t(()=>{Me.next(),Me.complete()})}),Me}),(0,G.Z)(()=>Promise.resolve())).subscribe(()=>{(Ve.observed??Ve.observers.length>0)&&console.warn(function de(ye){return`\n The ${ye.constructor.name} still has subscriptions that haven't been unsubscribed.\n This may happen if the class extends another class decorated with @UntilDestroy().\n The child class implements its own ngOnDestroy() method but doesn't call super.ngOnDestroy().\n Let's look at the following example:\n @UntilDestroy()\n @Directive()\n export abstract class BaseDirective {}\n @Component({ template: '' })\n export class ConcreteComponent extends BaseDirective implements OnDestroy {\n constructor() {\n super();\n someObservable$.pipe(untilDestroyed(this)).subscribe();\n }\n ngOnDestroy(): void {\n // Some logic here...\n }\n }\n The BaseDirective.ngOnDestroy() will not be called since Angular will call ngOnDestroy()\n on the ConcreteComponent, but not on the BaseDirective.\n One of the solutions is to declare an empty ngOnDestroy method on the BaseDirective:\n @UntilDestroy()\n @Directive()\n export abstract class BaseDirective {\n ngOnDestroy(): void {}\n }\n @Component({ template: '' })\n export class ConcreteComponent extends BaseDirective implements OnDestroy {\n constructor() {\n super();\n someObservable$.pipe(untilDestroyed(this)).subscribe();\n }\n ngOnDestroy(): void {\n // Some logic here...\n super.ngOnDestroy();\n }\n }\n `}(ye))})),ye[V]=!0)}(ye,be),Oe.pipe((0,P.Q)(be))}}},18724:(Ce,Lt,r)=>{function o(b,T,k,G,P,Z,N){try{var ot=b[Z](N),q=ot.value}catch(K){return void k(K)}ot.done?T(q):Promise.resolve(q).then(G,P)}function y(b){return function(){var T=this,k=arguments;return new Promise(function(G,P){var Z=b.apply(T,k);function N(q){o(Z,G,P,N,ot,"next",q)}function ot(q){o(Z,G,P,N,ot,"throw",q)}N(void 0)})}}r.d(Lt,{A:()=>y})},21406:(Ce,Lt,r)=>{r.d(Lt,{AQ:()=>lt,C6:()=>y,Cg:()=>k,Cl:()=>b,N3:()=>$,sH:()=>K,xN:()=>mt});var o=function(yt,Kt){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(Nt,Tt){Nt.__proto__=Tt}||function(Nt,Tt){for(var Yt in Tt)Object.prototype.hasOwnProperty.call(Tt,Yt)&&(Nt[Yt]=Tt[Yt])})(yt,Kt)};function y(yt,Kt){if("function"!=typeof Kt&&null!==Kt)throw new TypeError("Class extends value "+String(Kt)+" is not a constructor or null");function Nt(){this.constructor=yt}o(yt,Kt),yt.prototype=null===Kt?Object.create(Kt):(Nt.prototype=Kt.prototype,new Nt)}var b=function(){return b=Object.assign||function(Kt){for(var Nt,Tt=1,Yt=arguments.length;Tt=0;ke--)(Ne=yt[ke])&&(Ut=(Yt<3?Ne(Ut):Yt>3?Ne(Kt,Nt,Ut):Ne(Kt,Nt))||Ut);return Yt>3&&Ut&&Object.defineProperty(Kt,Nt,Ut),Ut}function K(yt,Kt,Nt,Tt){return new(Nt||(Nt=Promise))(function(Ut,Ne){function ke(le){try{gt(Tt.next(le))}catch(Vt){Ne(Vt)}}function un(le){try{gt(Tt.throw(le))}catch(Vt){Ne(Vt)}}function gt(le){le.done?Ut(le.value):function Yt(Ut){return Ut instanceof Nt?Ut:new Nt(function(Ne){Ne(Ut)})}(le.value).then(ke,un)}gt((Tt=Tt.apply(yt,Kt||[])).next())})}function $(yt){return this instanceof $?(this.v=yt,this):new $(yt)}function lt(yt,Kt,Nt){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var Yt,Tt=Nt.apply(yt,Kt||[]),Ut=[];return Yt=Object.create(("function"==typeof AsyncIterator?AsyncIterator:Object).prototype),ke("next"),ke("throw"),ke("return",function Ne(Qt){return function(Et){return Promise.resolve(Et).then(Qt,Vt)}}),Yt[Symbol.asyncIterator]=function(){return this},Yt;function ke(Qt,Et){Tt[Qt]&&(Yt[Qt]=function(re){return new Promise(function(Ee,ce){Ut.push([Qt,re,Ee,ce])>1||un(Qt,re)})},Et&&(Yt[Qt]=Et(Yt[Qt])))}function un(Qt,Et){try{!function gt(Qt){Qt.value instanceof $?Promise.resolve(Qt.value.v).then(le,Vt):oe(Ut[0][2],Qt)}(Tt[Qt](Et))}catch(re){oe(Ut[0][3],re)}}function le(Qt){un("next",Qt)}function Vt(Qt){un("throw",Qt)}function oe(Qt,Et){Qt(Et),Ut.shift(),Ut.length&&un(Ut[0][0],Ut[0][1])}}function mt(yt){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var Nt,Kt=yt[Symbol.asyncIterator];return Kt?Kt.call(yt):(yt=function j(yt){var Kt="function"==typeof Symbol&&Symbol.iterator,Nt=Kt&&yt[Kt],Tt=0;if(Nt)return Nt.call(yt);if(yt&&"number"==typeof yt.length)return{next:function(){return yt&&Tt>=yt.length&&(yt=void 0),{value:yt&&yt[Tt++],done:!yt}}};throw new TypeError(Kt?"Object is not iterable.":"Symbol.iterator is not defined.")}(yt),Nt={},Tt("next"),Tt("throw"),Tt("return"),Nt[Symbol.asyncIterator]=function(){return this},Nt);function Tt(Ut){Nt[Ut]=yt[Ut]&&function(Ne){return new Promise(function(ke,un){!function Yt(Ut,Ne,ke,un){Promise.resolve(un).then(function(gt){Ut({value:gt,done:ke})},Ne)}(ke,un,(Ne=yt[Ut](Ne)).done,Ne.value)})}}}"function"==typeof SuppressedError&&SuppressedError}},Ce=>{Ce(Ce.s=36279)}]); \ No newline at end of file +"use strict";(self.webpackChunkdf_admin_interface=self.webpackChunkdf_admin_interface||[]).push([[8792],{59189:(Ce,Lt,r)=>{r.d(Lt,{c:()=>o});const o={dfAdminApiKey:"6498a8ad1beb9d84d63035c5d1120c007fad6de706734db9689f8996707e0f7d",dfApiDocsApiKey:"36fda24fe5588fa4285ac6c6c2fdfbdb6b6bc9834699774c9bf777f706d05a88",dfFileManagerApiKey:"b5cb82af7b5d4130f36149f90aa2746782e59a872ac70454ac188743cb55b0ba",intercomWidget:!0,intercomAppId:"ymvqkyiw"}},63338:(Ce,Lt,r)=>{r.d(Lt,{H:()=>ot});var o=r(85390),y=r(73151),b=r(12324),T=r(52483),k=r(57588),G=r(14087),P=r(75066),Z=r(1843);r(69099);let ot=(()=>{class q{constructor(M){this.lookupService=M,this.configSubject=new o.t({intercomWidget:!0}),this.config$=this.configSubject.asObservable(),this.INTERCOM_KEY="intercom_widget_enabled",this.loadConfig()}loadConfig(){this.getConfig().subscribe(M=>{this.configSubject.next(M)})}getConfig(){return this.lookupService.getAll({filter:`name="${this.INTERCOM_KEY}"`,errorHandling:"silent"}).pipe((0,b.T)(M=>{const a=M?.resource?.[0],pt={intercomWidget:!a||"true"===a.value,intercomAppId:"ymvqkyiw"};return this.configSubject.next(pt),pt}),(0,T.W)(()=>{const M={intercomWidget:!0,intercomAppId:"ymvqkyiw"};return this.configSubject.next(M),(0,y.of)(M)}))}updateConfig(M){const a=M.intercomWidget?"true":"false";return this.lookupService.getAll({filter:`name="${this.INTERCOM_KEY}"`,errorHandling:"silent"}).pipe((0,b.T)(pt=>pt?.resource?.[0]),(0,T.W)(()=>(0,y.of)(null)),(0,k.n)(pt=>pt?this.lookupService.patch(pt.id,{value:a}).pipe((0,G.M)(()=>{this.configSubject.next(M)})):this.lookupService.create({resource:[{name:this.INTERCOM_KEY,value:a,private:!1}]}).pipe((0,G.M)(()=>{this.configSubject.next(M)}))),(0,T.W)(pt=>{throw console.error("Failed to update Intercom config:",pt),pt}))}get currentConfig(){return this.configSubject.value}get isIntercomEnabled(){return this.configSubject.value.intercomWidget??!0}static{this.\u0275fac=function(a){return new(a||q)(Z.KVO(P.mr))}}static{this.\u0275prov=Z.jDH({token:q,factory:q.\u0275fac,providedIn:"root"})}}return q})()},90168:(Ce,Lt,r)=>{r.d(Lt,{H:()=>G});var o=r(68686),y=r(73475),b=r(1843),T=r(62572),k=r(89905);let G=(()=>{class P{constructor(N,ot){this.http=N,this.userDataService=ot}get url(){return this.userDataService.userData?.isSysAdmin?o.t.ADMIN_PROFILE:o.t.USER_PROFILE}getProfile(){return this.http.get(this.url,{headers:y.NE})}saveProfile(N){return this.http.put(this.url,N,{headers:y.NE})}static{this.\u0275fac=function(ot){return new(ot||P)(b.KVO(T.Qq),b.KVO(k.T))}}static{this.\u0275prov=b.jDH({token:P,factory:P.\u0275fac})}}return P})()},95373:(Ce,Lt,r)=>{r.d(Lt,{g:()=>M});var o=r(12324),y=r(52483),b=r(80972),T=r(73151),k=r(56579),G=r(68686),P=r(73475),Z=r(16994),N=r(1843),ot=r(62572),q=r(11863),K=r(89905);let M=(()=>{class a{constructor(j,J,bt){this.http=j,this.router=J,this.userDataService=bt}register(j){return this.http.post(G.t.REGISTER,j,P.Jm)}login(j){return this.http.post(G.t.USER_SESSION,j,{headers:P.NE}).pipe((0,o.T)(J=>(this.userDataService.userData=J,J)),(0,y.W)(J=>this.http.post(G.t.ADMIN_SESSION,j,{}).pipe((0,o.T)(bt=>(this.userDataService.userData=bt,bt)),(0,y.W)(bt=>{const Gt=(0,k.cQ)(J),te=(0,k.cQ)(bt),$=["errors.network","errors.http4xx","errors.http5xx","errors.unknown"],lt=V=>!$.includes(V.message);return(0,b.$)(()=>lt(Gt)||!lt(te)?Gt:te)}))))}checkSession(){return this.userDataService.token?this.loginWithToken().pipe((0,o.T)(()=>!0),(0,y.W)(()=>(this.userDataService.clearToken(),(0,T.of)(!1)))):(0,T.of)(!1)}loginWithToken(j){return this.http.get(G.t.USER_SESSION,{headers:{...P.NE,Authorization:j?`Bearer ${j}`:""}}).pipe((0,o.T)(J=>(this.userDataService.userData=J,J)))}oauthLogin(j,J,bt){return this.http.post(G.t.USER_SESSION,{headers:P.NE,params:{oauth_callback:!0,oauth_token:j,code:J,state:bt}}).pipe((0,o.T)(Gt=>(this.userDataService.userData=Gt,Gt)))}logout(j=[Z.b.AUTH,Z.b.LOGIN]){this.http.delete(this.userDataService.userData?.isSysAdmin?G.t.ADMIN_SESSION:G.t.USER_SESSION).subscribe(()=>{this.userDataService.clearToken(),this.userDataService.userData=null,this.router.navigate(j)})}static{this.\u0275fac=function(J){return new(J||a)(N.KVO(ot.Qq),N.KVO(q.Ix),N.KVO(K.T))}}static{this.\u0275prov=N.jDH({token:a,factory:a.\u0275fac,providedIn:"root"})}}return a})()},86506:(Ce,Lt,r)=>{r.d(Lt,{p:()=>Z});var o=r(14087),y=r(52483),b=r(68686),T=r(73475),k=r(1843),G=r(62572),P=r(89905);let Z=(()=>{class N{constructor(q,K){this.http=q,this.userDataService=K}resetPassword(q,K=!1){return this.http.post(K?b.t.ADMIN_PASSWORD:b.t.USER_PASSWORD,q,T.Jm)}updatePassword(q){let K=!1;return this.userDataService.userData$.subscribe(a=>{K=!!a?.isSysAdmin}),this.http.post(K?b.t.ADMIN_PASSWORD:b.t.USER_PASSWORD,q,{headers:T.NE,params:{login:!0,reset:!1}}).pipe((0,o.M)({next:a=>{this.userDataService.token=a.sessionToken}}))}requestPasswordReset(q,K=!1){return this.http.post(b.t.USER_PASSWORD,q,K?T.Jm:T.kt).pipe((0,y.W)(()=>this.http.post(b.t.ADMIN_PASSWORD,q,K?T.Jm:T.kt)))}static{this.\u0275fac=function(K){return new(K||N)(k.KVO(G.Qq),k.KVO(P.T))}}static{this.\u0275prov=k.jDH({token:N,factory:N.\u0275fac,providedIn:"root"})}}return N})()},81663:(Ce,Lt,r)=>{r.d(Lt,{R:()=>M});var o=r(18331),y=r(68660),b=r(54342),T=r(94093),k=r(31147),G=r(56579),P=r(1843);function Z(a,pt){if(1&a&&(P.qex(0),P.EFF(1),P.bVm()),2&a){const j=P.XpG();P.R7$(1),P.SpI(", code ",j.error.code,"")}}function N(a,pt){if(1&a&&(P.qex(0),P.j41(1,"dt"),P.EFF(2),P.nI1(3,"transloco"),P.k0s(),P.j41(4,"dd"),P.EFF(5),P.k0s(),P.bVm()),2&a){const j=P.XpG();P.R7$(2),P.JRh(P.bMT(3,3,"errors.request")),P.R7$(3),P.Lme("",j.error.method," ",j.error.url,"")}}function ot(a,pt){if(1&a&&(P.j41(0,"span"),P.EFF(1),P.k0s()),2&a){const j=P.XpG().$implicit;P.R7$(1),P.SpI("",j.field,": ")}}function q(a,pt){if(1&a&&(P.j41(0,"li"),P.DNE(1,ot,2,1,"span",2),P.EFF(2),P.nI1(3,"transloco"),P.k0s()),2&a){const j=pt.$implicit;P.R7$(1),P.Y8G("ngIf",j.field),P.R7$(1),P.SpI("",P.bMT(3,2,j.message)," ")}}function K(a,pt){if(1&a&&(P.j41(0,"ul",7),P.DNE(1,q,4,4,"li",8),P.k0s()),2&a){const j=P.XpG();P.R7$(1),P.Y8G("ngForOf",j.error.fields)}}let M=(()=>{class a{constructor(){this.expanded=!1,this.faCopy=T.jPR,this.faCheck=T.e68,this.copied=!1}get rawBody(){return(0,G.zH)(this.error)}copyForSupport(){navigator.clipboard.writeText((0,G.kJ)(this.error)).then(()=>{this.copied=!0,setTimeout(()=>this.copied=!1,2e3)})}static{this.\u0275fac=function(J){return new(J||a)}}static{this.\u0275cmp=P.VBU({type:a,selectors:[["df-error-detail"]],inputs:{error:"error",expanded:"expanded"},standalone:!0,features:[P.aNF],decls:25,vars:21,consts:[[1,"error-detail",3,"open"],[1,"error-detail-grid"],[4,"ngIf"],["class","error-detail-fields",4,"ngIf"],[1,"error-detail-raw"],["mat-stroked-button","","type","button",1,"copy-btn",3,"click"],[3,"icon"],[1,"error-detail-fields"],[4,"ngFor","ngForOf"]],template:function(J,bt){1&J&&(P.j41(0,"details",0)(1,"summary"),P.EFF(2),P.nI1(3,"transloco"),P.k0s(),P.j41(4,"dl",1)(5,"dt"),P.EFF(6),P.nI1(7,"transloco"),P.k0s(),P.j41(8,"dd"),P.EFF(9),P.k0s(),P.j41(10,"dt"),P.EFF(11),P.nI1(12,"transloco"),P.k0s(),P.j41(13,"dd"),P.EFF(14),P.DNE(15,Z,2,1,"ng-container",2),P.EFF(16,") "),P.k0s(),P.DNE(17,N,6,5,"ng-container",2),P.k0s(),P.DNE(18,K,2,1,"ul",3),P.j41(19,"pre",4),P.EFF(20),P.k0s(),P.j41(21,"button",5),P.bIt("click",function(){return bt.copyForSupport()}),P.nrm(22,"fa-icon",6),P.EFF(23),P.nI1(24,"transloco"),P.k0s()()),2&J&&(P.Y8G("open",bt.expanded),P.R7$(2),P.JRh(P.bMT(3,13,"errors.details")),P.R7$(4),P.JRh(P.bMT(7,15,"errors.timestamp")),P.R7$(3),P.JRh(bt.error.timestamp),P.R7$(2),P.JRh(P.bMT(12,17,"errors.status")),P.R7$(3),P.Lme(" ",bt.error.status," (",bt.error.kind,""),P.R7$(1),P.Y8G("ngIf",bt.error.code),P.R7$(2),P.Y8G("ngIf",bt.error.url),P.R7$(1),P.Y8G("ngIf",bt.error.fields.length),P.R7$(2),P.JRh(bt.rawBody),P.R7$(2),P.Y8G("icon",bt.copied?bt.faCheck:bt.faCopy),P.R7$(1),P.SpI(" ",P.bMT(24,19,bt.copied?"errors.copied":"errors.copyForSupport")," "))},dependencies:[o.bT,o.pM,y.Hl,y.$z,b.dX,b.aY,k.Kj],styles:[".error-detail[_ngcontent-%COMP%]{font-size:1.3rem;color:var(--df-text-2)}.error-detail[_ngcontent-%COMP%] summary[_ngcontent-%COMP%]{cursor:pointer;-webkit-user-select:none;user-select:none;font-size:11px;font-weight:600;text-transform:uppercase;letter-spacing:.06em;color:var(--df-text-muted)}.error-detail[_ngcontent-%COMP%] summary[_ngcontent-%COMP%]:hover{color:var(--df-text)}.error-detail[_ngcontent-%COMP%] .error-detail-grid[_ngcontent-%COMP%]{display:grid;grid-template-columns:max-content 1fr;gap:4px 12px;margin:8px 0}.error-detail[_ngcontent-%COMP%] .error-detail-grid[_ngcontent-%COMP%] dt[_ngcontent-%COMP%]{color:var(--df-text-muted)}.error-detail[_ngcontent-%COMP%] .error-detail-grid[_ngcontent-%COMP%] dd[_ngcontent-%COMP%]{margin:0;color:var(--df-text);word-break:break-all}.error-detail[_ngcontent-%COMP%] .error-detail-fields[_ngcontent-%COMP%]{margin:8px 0;padding-left:20px;color:var(--df-text)}.error-detail[_ngcontent-%COMP%] .error-detail-raw[_ngcontent-%COMP%]{max-height:200px;overflow:auto;margin:8px 0;padding:8px 12px;border:1px solid var(--df-border);border-radius:var(--df-radius-sm);background-color:var(--df-code-bg);color:var(--df-code-text);font-size:1.2rem;font-family:SFMono-Regular,Menlo,Consolas,monospace;white-space:pre-wrap;word-break:break-all}.error-detail[_ngcontent-%COMP%] .copy-btn[_ngcontent-%COMP%] fa-icon[_ngcontent-%COMP%]{margin-right:6px}"]})}}return a})()},73475:(Ce,Lt,r)=>{r.d(Lt,{Jm:()=>k,NE:()=>T,Zl:()=>o,dE:()=>y,kt:()=>G,wV:()=>b});const o="X-DreamFactory-Session-Token",y="X-DreamFactory-API-Key",b="X-DreamFactory-License-Key",T={"show-loading":""},k={headers:T,params:{login:!1}},G={headers:T,params:{reset:!0}}},54749:(Ce,Lt,r)=>{r.d(Lt,{H:()=>y});var o=r(16994);const y={[o.b.API_BUILDER]:["API Builder"],[o.b.DATABASE]:["Database","Big Data"],[o.b.SCRIPTING]:["Script"],[o.b.NETWORK]:["Remote Service"],[o.b.FILE]:["File","Excel"],[o.b.UTILITY]:["Cache","Email","Notification","Log","Source Control","IoT"],[o.b.AUTHENTICATION]:["LDAP","SSO","OAuth"],[o.b.LOGS]:["Log"],[o.b.AI]:["MCP","AI","AI Chat"],[o.b.AI_CONNECTIONS]:["AI"],[o.b.AI_CHAT_SERVICES]:["AI Chat"],[o.b.AI_MCP]:["MCP"]}},17612:(Ce,Lt,r)=>{r.d(Lt,{F8:()=>o,Ky:()=>y,oA:()=>b});const o=[{name:"ai_connection",label:"AI Connection",description:"Connect to AI/LLM providers (Anthropic, OpenAI, xAI, Ollama, custom OpenAI-compatible endpoints).",group:"AI",configSchema:[]},{name:"ai_chat",label:"AI Chat",description:"Chat with your DreamFactory data using AI and MCP tools.",group:"AI Chat",configSchema:[]},{name:"agents",label:"Agents",description:"AI agent identity and governed access.",group:"Agents",configSchema:[]},{name:"adldap",label:"Active Directory",description:"A service for supporting Active Directory integration",group:"LDAP",configSchema:[]},{name:"ldap",label:"Standard LDAP",description:"A service for supporting Open LDAP integration",group:"LDAP",configSchema:[]},{name:"oidc",label:"OpenID Connect",description:"OpenID Connect service supporting SSO.",group:"OAuth",configSchema:[]},{name:"oauth_azure_ad",label:"Azure Active Directory OAuth",description:"OAuth service for supporting Azure Active Directory authentication and API access.",group:"OAuth",configSchema:[]},{name:"saml",label:"SAML 2.0",description:"SAML 2.0 service supporting SSO.",group:"SSO",configSchema:[]},{name:"okta_saml",label:"Okta SAML",description:"Okta service supporting SSO.",group:"SSO",configSchema:[]},{name:"auth0_sso",label:"Auth0 SSO",description:"Auth0 service supporting SSO.",group:"SSO",configSchema:[]},{name:"ibmdb2",label:"IBM DB2",description:"Database service supporting IBM DB2 SQL connections.",group:"Database",configSchema:[]},{name:"informix",label:"IBM Informix",description:"Database service supporting IBM Informix SQL connections.",group:"Database",configSchema:[]},{name:"oracle",label:"Oracle",description:"Database service supporting SQL connections.",group:"Database",configSchema:[]},{name:"salesforce_db",label:"Salesforce",description:"Database service with SOAP and/or OAuth authentication support for Salesforce connections.",group:"Database",configSchema:[]},{name:"soap",label:"SOAP Service",description:"SOAP service supporting SOAP 1.1 and 1.2 protocols.",group:"Remote Service",configSchema:[]},{name:"excel",label:"Excel Service",description:"Service to manage XLS, XLSX, CSV files with storage service integration.",group:"Excel",configSchema:[]},{name:"sqlanywhere",label:"SAP SQL Anywhere",description:"Database service supporting SAP SQL Anywhere connections.",group:"Database",configSchema:[]},{name:"sqlsrv",label:"SQL Server",description:"Database service supporting SQL Server connections.",group:"Database",configSchema:[]},{name:"memsql",label:"MemSQL",description:"Database service supporting MemSQL connections.",group:"Database",configSchema:[]},{name:"apns",label:"Apple Push Notification",description:"Apple Push Notification Service Provider.",group:"Notification",configSchema:[]},{name:"gcm",label:"GCM Push Notification",description:"GCM Push Notification Service Provider.",group:"Notification",configSchema:[]},{name:"mysql",label:"MySQL",description:"Database service supporting MySLQ connections.",group:"Database",configSchema:[]},{name:"mariadb",label:"MariaDB",description:"Database service supporting MariaDB connections.",group:"Database",configSchema:[]},{name:"nodejs",label:"Node.js",description:"Service that allows client-callable scripts utilizing the system scripting.",group:"Script",configSchema:[]},{name:"php",label:"PHP",description:"Service that allows client-callable scripts utilizing the system scripting.",group:"Script",configSchema:[]},{name:"python3",label:"Python3",description:"Service that allows client-callable scripts utilizing the system scripting.",group:"Script",configSchema:[]},{name:"mongodb",label:"MongoDB",description:"Database service for MongoDB connections.",group:"Database",configSchema:[]},{name:"gridfs",label:"GridFS",description:"GridFS File Storage services.",group:"File",configSchema:[]}],y=[{name:"logstash",label:"Logstash",description:"Logstash service.",group:"Log",configSchema:[]},{name:"snowflake",label:"Snowflake",description:"Database service supporting Snowflake connections.",group:"Database",configSchema:[]},{name:"apache_hive",label:"Apache Hive",description:"The Apache Hive data warehouse software facilitates reading, writing, and managing large datasets residing in distributed storage using SQL",group:"Big Data",configSchema:[]},{name:"databricks",label:"Databricks",description:"The Databricks data intelligence platform simplifies data engineering, analytics, and AI workloads by providing scalable compute and SQL-based access to large datasets in a unified environment.",group:"Big Data",configSchema:[]},{name:"dremio",label:"Dremio",description:"The Dremio data lakehouse platform enables fast querying, data exploration, and analytics on large datasets across various storage systems using SQL.",group:"Big Data",configSchema:[]},{name:"hadoop_hdfs",label:"Hadoop HDFS",description:"Hadoop Distributed File System",group:"File",configSchema:[]},{name:"hana",label:"SAP HANA",description:"SAP HANA service.",group:"Big Data",configSchema:[]}],b='(name in ("system","files","logs","db","email","user")) and (created_by_id is null)'},75066:(Ce,Lt,r)=>{r.d(Lt,{F8:()=>V,Hd:()=>q,J4:()=>P,Jc:()=>M,K:()=>pt,LR:()=>$t,Lm:()=>J,NO:()=>$,O5:()=>te,Wi:()=>G,Yh:()=>N,Z$:()=>Gt,Z1:()=>a,gu:()=>j,h1:()=>bt,ir:()=>Z,j8:()=>lt,mr:()=>mt,qJ:()=>rt,u7:()=>ot,zs:()=>K});var o=r(1843),y=r(69099),b=r(68686),T=r(62572);const k=de=>({providedIn:"root",factory:()=>new y.h(de,(0,o.WQX)(T.Qq))}),G=new o.nKC("URL_TOKEN"),P=new o.nKC("GITHUB_REPO_SERVICE_TOKEN",k(b.t.GITHUB_REPO)),Z=new o.nKC("ADMIN_SERVICE_TOKEN",k(b.t.SYSTEM_ADMIN)),N=new o.nKC("USER_SERVICE_TOKEN",k(b.t.SYSTEM_USER)),ot=new o.nKC("APP_SERVICE_TOKEN",k(b.t.APP)),q=new o.nKC("API_DOCS_SERVICE_TOKEN",k(b.t.API_DOCS)),K=new o.nKC("SERVICE_TYPE_SERVICE_TOKEN",k(b.t.SERVICE_TYPE)),M=new o.nKC("REPORT_SERVICE_TOKEN",k(b.t.SERVICE_REPORT)),a=new o.nKC("SERVICES_SERVICE_TOKEN",k(b.t.SYSTEM_SERVICE)),pt=new o.nKC("SCHEDULER_SERVICE_TOKEN",k(b.t.SCHEDULER)),j=new o.nKC("LIMIT_SERVICE_TOKEN",k(b.t.LIMITS)),J=new o.nKC("LIMIT_CACHE_SERVICE_TOKEN",k(b.t.LIMIT_CACHE)),bt=new o.nKC("ROLE_SERVICE_TOKEN",k(b.t.ROLES)),Gt=new o.nKC("CONFIG_CORS_SERVICE_TOKEN",k(b.t.SYSTEM_CORS)),te=new o.nKC("EVENTS_SERVICE_TOKEN",k(b.t.SYSTEM_EVENT)),$=new o.nKC("EVENT_SCRIPT_SERVICE_TOKEN",k(b.t.EVENT_SCRIPT)),lt=new o.nKC("CACHE_SERVICE_TOKEN",k(b.t.SYSTEM_CACHE)),V=new o.nKC("EMAIL_TEMPLATES_SERVICE_TOKEN",k(b.t.EMAIL_TEMPLATES)),mt=new o.nKC("LOOKUP_KEYS_SERVICE_TOKEN",k(b.t.LOOKUP_KEYS)),rt=new o.nKC("BASE_SERVICE_TOKEN",k(b.C)),$t=new o.nKC("FILE_SERVICE_TOKEN",k(b.t.FILES))},68686:(Ce,Lt,r)=>{r.d(Lt,{C:()=>o,t:()=>y});const o="/api/v2";var y=function(b){return b.GITHUB_REPO="https://api.github.com/repos",b.SUBSCRIPTION_DATA="https://updates.dreamfactory.com/check",b.CALENDLY="https://assets.calendly.com/assets/external/widget.js",b.SYSTEM="/api/v2/system",b.ENVIRONMENT="/api/v2/system/environment",b.USER_SESSION="/api/v2/user/session",b.ADMIN_SESSION="/api/v2/system/admin/session",b.USER_PASSWORD="/api/v2/user/password",b.ADMIN_PASSWORD="/api/v2/system/admin/password",b.REGISTER="/api/v2/user/register",b.APP="/api/v2/system/app",b.API_DOCS="/api/v2/api_docs",b.ADMIN_PROFILE="/api/v2/system/admin/profile",b.USER_PROFILE="/api/v2/user/profile",b.SYSTEM_ADMIN="/api/v2/system/admin",b.ROLES="/api/v2/system/role",b.LIMITS="/api/v2/system/limit",b.LIMIT_CACHE="/api/v2/system/limit_cache",b.SYSTEM_SERVICE="/api/v2/system/service",b.SERVICE_TYPE="/api/v2/system/service_type",b.SYSTEM_USER="/api/v2/system/user",b.SERVICE_REPORT="/api/v2/system/service_report",b.SYSTEM_CORS="/api/v2/system/cors",b.SYSTEM_EVENT="/api/v2/system/event",b.EVENT_SCRIPT="/api/v2/system/event_script",b.SCRIPT_TYPE="/api/v2/system/script_type",b.SCHEDULER="/api/v2/system/scheduler",b.SYSTEM_CACHE="/api/v2/system/cache",b.CONFIG_PACKAGE="/api/v2/system/config_package",b.EMAIL_TEMPLATES="/api/v2/system/email_template",b.LOOKUP_KEYS="/api/v2/system/lookup",b.FILES="/api/v2/files",b.LOGS="/api/v2/logs",b.SCHEMA_CONTRACT="/api/v2/system/schema_contract",b.ACCESS_USAGE="/api/v2/system/access_usage",b}(y||{})},69099:(Ce,Lt,r)=>{r.d(Lt,{h:()=>Z});var o=r(62572),y=r(31933),b=r(57588),T=r(12324),k=r(75066),G=r(48444),P=r(1843);let Z=(()=>{class N{constructor(q,K){this.url=q,this.http=K}getAll(q){return this.http.get(this.url,this.getOptions({limit:0,offset:0,includeCount:!0,...q}))}get(q,K){return this.http.get(`${this.url}/${q}`,this.getOptions({...K}))}getFileContent(q,K,M){let a=new o.Lr;return K&&M&&(a=a.set("Authorization","Basic "+btoa(`${K}:${M}`))),this.http.get(`${this.url}/${q}`,{headers:a})}getEventScripts(){return this.http.get("/api/v2/system/event_script",this.getOptions({limit:0,offset:0,includeCount:!0}))}getReleases(){return this.http.get("https://api.github.com/repos/dreamfactorysoftware/df-admin-interface/releases")}create(q,K,M){return this.http.post(`${this.url}${M?`/${M}`:""}`,q,this.getOptions({...K}))}update(q,K,M){return this.http.put(`${this.url}/${q}`,K,this.getOptions({...M}))}legacyDelete(q,K){const{headers:M,params:a,context:pt}=this.getOptions({...K});return this.http.post(`${this.url}/${q}`,null,{headers:{...M,"X-Http-Method":"DELETE"},params:a,context:pt})}delete(q,K){const M=Array.isArray(q)?`${this.url}?ids=${q.join(",")}`:q?`${this.url}/${q}`:`${this.url}`;return this.http.delete(M,this.getOptions({...K}))}patch(q,K,M){return this.http.patch(`${this.url}/${q}`,K,this.getOptions({...M}))}importList(q,K){return(0,y.Sj)(q).pipe((0,b.n)(M=>this.http.post(this.url,M,this.getOptions({contentType:q.type,...K}))))}uploadFile(q,K,M){const a=new FormData;return Object.keys(K).forEach((pt,j)=>a.append("files",K[j])),this.http.post(`${this.url}/${q}`,a,this.getOptions({...M}))}downloadJson(q,K){return this.http.get(`${this.url}${q?`/${q}`:""}`,{...this.getOptions({...K})}).pipe((0,T.T)(a=>JSON.stringify(a)))}downloadFile(q,K){return this.http.get(`${this.url}${q?`/${q}`:""}`,{responseType:"blob",...this.getOptions({...K})})}getOptions(q){const K={},M={};let a=new o._y;return!1!==q.includeCacheControl&&(K["Cache-Control"]="no-cache, private"),!1!==q.showSpinner&&(K["show-loading"]=""),q.snackbarSuccess&&(a=a.set(G.Cc,q.snackbarSuccess)),q.errorHandling&&(a=a.set(G.Fb,q.errorHandling)),q.contentType&&(K["Content-type"]=q.contentType),q.additionalHeaders&&q.additionalHeaders.forEach(pt=>{K[pt.key]=pt.value}),q.filter&&(M.filter=q.filter),q.sort&&(M.sort=q.sort),q.fields&&(M.fields=q.fields),q.related&&(M.related=q.related),void 0!==q.limit&&(M.limit=q.limit),void 0!==q.offset&&(M.offset=q.offset),void 0!==q.includeCount&&(M.include_count=q.includeCount),q.refresh&&(M.refresh=q.refresh),q.additionalParams&&q.additionalParams.forEach(pt=>{M[pt.key]=pt.value}),{headers:K,params:M,context:a}}static{this.\u0275fac=function(K){return new(K||N)(P.KVO(k.Wi),P.KVO(o.Qq))}}static{this.\u0275prov=P.jDH({token:N,factory:N.\u0275fac})}}return N})()},8818:(Ce,Lt,r)=>{r.d(Lt,{R:()=>T});var o=r(89369),y=r(12324),b=r(1843);let T=(()=>{class k{constructor(P){this.breakpointObserver=P}get isSmallScreen(){return this.breakpointObserver.observe([o.Rp.XSmall,o.Rp.Small]).pipe((0,y.T)(P=>P.matches))}get isXSmallScreen(){return this.breakpointObserver.observe([o.Rp.XSmall]).pipe((0,y.T)(P=>P.matches))}static{this.\u0275fac=function(Z){return new(Z||k)(b.KVO(o.QP))}}static{this.\u0275prov=b.jDH({token:k,factory:k.\u0275fac,providedIn:"root"})}}return k})()},51317:(Ce,Lt,r)=>{r.d(Lt,{S:()=>k});var o=r(11863),y=r(85390),b=r(98474),T=r(1843);let k=(()=>{class G{constructor(Z){this.errorSubject=new y.t(null),this.error$=this.errorSubject.asObservable(),this.hasErrorSubject=new y.t(!1),this.hasError$=this.hasErrorSubject.asObservable(),Z.events.pipe((0,b.p)(N=>N instanceof o.Z)).subscribe(()=>{const N=Z.getCurrentNavigation()?.extras?.state;N&&N.appError||this.errorSubject.value&&(this.error=null)})}get error(){return this.errorSubject.value}set error(Z){this.errorSubject.next(Z),this.hasError=!!Z}set hasError(Z){this.hasErrorSubject.next(Z)}static{this.\u0275fac=function(N){return new(N||G)(T.KVO(o.Ix))}}static{this.\u0275prov=T.jDH({token:G,factory:G.\u0275fac,providedIn:"root"})}}return G})()},65329:(Ce,Lt,r)=>{r.d(Lt,{H:()=>M});var o=r(68686),y=r(73475),b=r(85390),T=r(12324),k=r(14087),G=r(52483),P=r(80972),Z=r(20271),N=r(56579),ot=r(48444),q=r(1843),K=r(62572);let M=(()=>{class a{get currentLicenseCheck(){return this.licenseCheckSubject.value}constructor(j){this.httpClient=j,this.licenseCheckSubject=new b.t(null),this.licenseCheck$=this.licenseCheckSubject.asObservable()}check(j){return this.httpClient.get(o.t.SUBSCRIPTION_DATA,{headers:{[y.wV]:j},context:(0,ot.Ku)()}).pipe((0,T.T)(J=>(0,Z.qC)(J)),(0,k.M)(J=>this.licenseCheckSubject.next(J)),(0,G.W)(J=>{const bt=(0,Z.qC)(J.error);return this.licenseCheckSubject.next(bt),(0,P.$)(()=>(0,N.cQ)(J))}))}static{this.\u0275fac=function(J){return new(J||a)(q.KVO(K.Qq))}}static{this.\u0275prov=q.jDH({token:a,factory:a.\u0275fac,providedIn:"root"})}}return a})()},35877:(Ce,Lt,r)=>{r.d(Lt,{o:()=>ot});var o=r(57588),y=r(52483),b=r(73151),T=r(12324),k=r(56579),G=r(1843),P=r(16396),Z=r(51317),N=r(62572);let ot=(()=>{class q{isFeatureLocked(M,a){return"GOLD"!=a&&("SILVER"==a?this.silverLockedFeatures.some(pt=>M.includes(pt)):this.openSourceLockedFeatures.some(pt=>M.includes(pt)))}constructor(M,a,pt){this.systemConfigDataService=M,this.errorService=a,this.http=pt,this.openSourceLockedFeatures=["event-scripts","rate-limiting","scheduler","reporting"],this.silverLockedFeatures=["rate-limiting","scheduler","reporting"]}activatePaywall(M){if(M){const a=Array.isArray(M)?M:[M];return this.systemConfigDataService.system$.pipe((0,o.n)(pt=>0===pt.resource.length?this.systemConfigDataService.fetchSystemData().pipe((0,y.W)(j=>(this.errorService.error=(0,k.cQ)(j),(0,b.of)(null)))):(0,b.of)(pt)),(0,T.T)(pt=>!!pt&&!pt.resource.some(j=>a.includes(j.name))))}return(0,b.of)(!1)}trackPaywallHit(M="Unknown. Unable to fetch email",a="Unknown. Unable to fetch IP address",pt="Service name is not specified"){this.http.post("https://updates.dreamfactory.com/api/paywall",{email:M,ip_address:a,service_name:pt}).subscribe({next:()=>{},error:j=>{console.error("Paywall tracking failed:",j)}})}static{this.\u0275fac=function(a){return new(a||q)(G.KVO(P.f),G.KVO(Z.S),G.KVO(N.Qq))}}static{this.\u0275prov=G.jDH({token:q,factory:q.\u0275fac,providedIn:"root"})}}return q})()},10056:(Ce,Lt,r)=>{r.d(Lt,{L:()=>pt});var o=r(68660),y=r(39258),b=r(54342),T=r(94093),k=r(31147),G=r(18331),P=r(62633),Z=r(81663),N=r(1843);let ot=(()=>{class j{constructor(bt){this.data=bt}static{this.\u0275fac=function(Gt){return new(Gt||j)(N.rXU(P.Vh))}}static{this.\u0275cmp=N.VBU({type:j,selectors:[["df-error-detail-dialog"]],standalone:!0,features:[N.aNF],decls:9,vars:8,consts:[["mat-dialog-title",""],[3,"error","expanded"],["align","end"],["mat-button","","mat-dialog-close","","type","button",1,"cancel-btn"]],template:function(Gt,te){1&Gt&&(N.j41(0,"h2",0),N.EFF(1),N.nI1(2,"transloco"),N.k0s(),N.j41(3,"mat-dialog-content"),N.nrm(4,"df-error-detail",1),N.k0s(),N.j41(5,"mat-dialog-actions",2)(6,"button",3),N.EFF(7),N.nI1(8,"transloco"),N.k0s()()),2&Gt&&(N.R7$(1),N.JRh(N.bMT(2,4,te.data.error.message)),N.R7$(3),N.Y8G("error",te.data.error)("expanded",!0),N.R7$(3),N.SpI(" ",N.bMT(8,6,"close")," "))},dependencies:[P.hM,P.tx,P.BI,P.Yi,P.E7,o.Hl,o.$z,k.Kj,Z.R],styles:["[_nghost-%COMP%]{display:block;background:var(--df-surface);color:var(--df-text);--mdc-dialog-subhead-color: var(--df-text);--mdc-dialog-supporting-text-color: var(--df-text-2)}mat-dialog-actions[_ngcontent-%COMP%], [mat-dialog-actions][_ngcontent-%COMP%]{border-top:1px solid var(--df-border-2)}"]})}}return j})();function q(j,J){if(1&j){const bt=N.RV6();N.j41(0,"button",6),N.bIt("click",function(){N.eBV(bt);const te=N.XpG();return N.Njj(te.openDetails())}),N.EFF(1),N.nI1(2,"transloco"),N.k0s()}2&j&&(N.R7$(1),N.SpI(" ",N.bMT(2,1,"errors.details")," "))}let K=(()=>{class j{constructor(bt,Gt,te){this.snackBarRef=bt,this.dialog=Gt,this.data=te,this.faXmark=T.Jyw,this.alertType="success",this.error=null,this.message=te.message,this.alertType=te.alertType,this.error=te.error??null}openDetails(){this.dialog.open(ot,{data:{error:this.error},maxWidth:"640px"}),this.snackBarRef.dismiss()}get icon(){switch(this.alertType){case"success":return T.SGM;case"error":return T.rfe;case"warning":return T.tUE;default:return T.iW_}}onAction(){this.snackBarRef.dismissWithAction()}static{this.\u0275fac=function(Gt){return new(Gt||j)(N.rXU(y.TQ),N.rXU(P.bZ),N.rXU(y.ht))}}static{this.\u0275cmp=N.VBU({type:j,selectors:[["df-snackbar"]],standalone:!0,features:[N.aNF],decls:8,vars:8,consts:[[1,"alert-container"],["aria-hidden","true",1,"alert-icon",3,"icon"],["role","alert",1,"alert-message"],["mat-button","","type","button",3,"click",4,"ngIf"],["mat-icon-button","",3,"click"],[3,"icon"],["mat-button","","type","button",3,"click"]],template:function(Gt,te){1&Gt&&(N.j41(0,"div",0),N.nrm(1,"fa-icon",1),N.j41(2,"span",2),N.EFF(3),N.nI1(4,"transloco"),N.k0s(),N.DNE(5,q,3,3,"button",3),N.j41(6,"button",4),N.bIt("click",function(){return te.onAction()}),N.nrm(7,"fa-icon",5),N.k0s()()),2&Gt&&(N.HbH(te.alertType),N.R7$(1),N.Y8G("icon",te.icon),N.R7$(2),N.JRh(N.bMT(4,6,te.message)),N.R7$(2),N.Y8G("ngIf",te.error),N.R7$(2),N.Y8G("icon",te.faXmark))},dependencies:[o.Hl,o.$z,o.iY,b.dX,b.aY,k.Kj,G.bT,P.hM],styles:[".alert-container[_ngcontent-%COMP%]{display:flex;flex-direction:row;align-items:center;gap:var(--df-space-2);padding:var(--df-space-2) var(--df-space-3);background-color:var(--df-surface);color:var(--df-text);border:1px solid var(--df-border);border-radius:var(--df-radius);box-shadow:var(--df-shadow-overlay, none);font-size:var(--df-font-size-sm, 1.3rem);animation:_ngcontent-%COMP%_df-toast-in var(--df-duration-fast, .12s) var(--df-ease-standard, ease)}.alert-container[_ngcontent-%COMP%] .alert-message[_ngcontent-%COMP%]{flex:1;padding:var(--df-space-1) 0}.alert-container[_ngcontent-%COMP%] .alert-icon[_ngcontent-%COMP%]{padding:0 var(--df-space-1)}.alert-container.success[_ngcontent-%COMP%]{border-color:var(--df-success-border)}.alert-container.success[_ngcontent-%COMP%] .alert-icon[_ngcontent-%COMP%]{color:var(--df-success)}.alert-container.error[_ngcontent-%COMP%]{border-color:var(--df-danger-border)}.alert-container.error[_ngcontent-%COMP%] .alert-icon[_ngcontent-%COMP%]{color:var(--df-danger)}.alert-container.warning[_ngcontent-%COMP%]{border-color:var(--df-warning-border, var(--df-warning, var(--df-danger-border)))}.alert-container.warning[_ngcontent-%COMP%] .alert-icon[_ngcontent-%COMP%]{color:var(--df-warning, var(--df-danger))}.alert-container.info[_ngcontent-%COMP%] .alert-icon[_ngcontent-%COMP%]{color:var(--df-accent)}@keyframes _ngcontent-%COMP%_df-toast-in{0%{opacity:0;transform:scale(.98)}to{opacity:1;transform:scale(1)}}@media (prefers-reduced-motion: reduce){.alert-container[_ngcontent-%COMP%]{animation:none}}"]})}}return j})();var M=r(85390);let pt=(()=>{class j{constructor(bt){this.snackBar=bt,this.snackbarLastEle$=new M.t(""),this.isEditPage$=new M.t(!1),this.pageLabel$=new M.t(null),this.lastErrorToast=null}setPageLabel(bt,Gt){this.pageLabel$.next({url:bt,label:Gt})}openError(bt){const Gt=`${bt.status}|${bt.url??""}|${bt.message}`,te=Date.now();this.lastErrorToast&&this.lastErrorToast.key===Gt&&te-this.lastErrorToast.at<3e3||(this.lastErrorToast={key:Gt,at:te},this.snackBar.openFromComponent(K,{duration:8e3,horizontalPosition:"left",verticalPosition:"bottom",data:{message:bt.message,alertType:"error",error:bt}}))}setSnackbarLastEle(bt,Gt){this.snackbarLastEle$.next(bt),this.isEditPage$.next(Gt)}openSnackBar(bt,Gt){this.snackBar.openFromComponent(K,{duration:5e3,horizontalPosition:"left",verticalPosition:"bottom",data:{message:bt,alertType:Gt}})}static{this.\u0275fac=function(Gt){return new(Gt||j)(N.KVO(y.UG))}}static{this.\u0275prov=N.jDH({token:j,factory:j.\u0275fac,providedIn:"root"})}}return j})()},16396:(Ce,Lt,r)=>{r.d(Lt,{f:()=>a});var o=r(85390),y=r(14087),b=r(62220),T=r(80972),k=r(73151),G=r(52483),P=r(68686),Z=r(73475),N=r(56579),ot=r(48444),q=r(2983),K=r(1843),M=r(62572);let a=(()=>{class pt{constructor(J){this.http=J,this.environmentSubject=new o.t({authentication:{allowOpenRegistration:!1,openRegEmailServiceId:0,allowForeverSessions:!1,loginAttribute:"email",adldap:[],oauth:[],saml:[]},server:{host:"",machine:"",release:"",serverOs:"",version:""}}),this.environment$=this.environmentSubject.asObservable(),this.systemSubject=new o.t({resource:[]}),this.system$=this.systemSubject.asObservable()}get environment(){return this.environmentSubject.value}set environment(J){this.environmentSubject.next(J)}get system(){return this.systemSubject.value}set system(J){this.systemSubject.next(J)}fetchEnvironmentData(){return this.http.get(P.t.ENVIRONMENT,{headers:Z.NE}).pipe((0,y.M)(J=>this.environment=J),(0,b.L)({count:1,delay:J=>(0,q.IM)(J)?(0,T.$)(()=>J):(0,k.of)(0)}),(0,G.W)(J=>(0,T.$)(()=>(0,N.cQ)(J))))}fetchSystemData(){return this.http.get(P.t.SYSTEM,{headers:Z.NE,context:(0,ot.Ku)()}).pipe((0,y.M)(J=>{this.system=J}))}static{this.\u0275fac=function(bt){return new(bt||pt)(K.KVO(M.Qq))}}static{this.\u0275prov=K.jDH({token:pt,factory:pt.\u0275fac,providedIn:"root"})}}return pt})()},19206:(Ce,Lt,r)=>{r.d(Lt,{n:()=>b});var o=r(85390),y=r(1843);let b=(()=>{class T{constructor(){this.darkMode$=new o.t(!1),this.phosphor$=new o.t(!1),this.currentTableRowNum$=new o.t(10),this.loadInitialTheme()}setThemeMode(G){this.darkMode$.next(G),localStorage.setItem("isDarkMode",JSON.stringify(G)),this.applyBodyClass()}setPhosphorMode(G){this.phosphor$.next(G),localStorage.setItem("isPhosphor",JSON.stringify(G)),this.applyBodyClass()}setCurrentTableRowNum(G){this.currentTableRowNum$.next(G)}loadInitialTheme(){const G=localStorage.getItem("isDarkMode");G&&this.darkMode$.next(JSON.parse(G));const P=localStorage.getItem("isPhosphor");P&&this.phosphor$.next(JSON.parse(P)),this.applyBodyClass()}applyBodyClass(){const G=this.phosphor$.value;document.body.classList.toggle("phosphor-theme",G),document.body.classList.toggle("dark-theme",this.darkMode$.value||G)}static{this.\u0275fac=function(P){return new(P||T)}}static{this.\u0275prov=y.jDH({token:T,factory:T.\u0275fac,providedIn:"root"})}}return T})()},35083:(Ce,Lt,r)=>{r.d(Lt,{K:()=>K});var o=r(85390),y=r(12324),b=r(11224),T=r(29810),k=r(57588),G=r(73151),P=r(82182),Z=r(71398),N=r(2983),ot=r(1843),q=r(16396);let K=(()=>{class M{constructor(pt){this.systemConfigService=pt,this.lockSubject=new o.t(null),this.lock$=this.lockSubject.asObservable(),this.expired$=this.lock$.pipe((0,y.T)(j=>null!==j),(0,b.F)()),this.trial$=this.systemConfigService.environment$.pipe((0,y.T)(j=>(0,N.G0)(j)),(0,b.F)((j,J)=>j?.status===J?.status&&j?.trialId===J?.trialId&&j?.expiresAt===J?.expiresAt&&j?.secondsRemaining===J?.secondsRemaining),(0,T.t)({bufferSize:1,refCount:!0})),this.remaining$=this.trial$.pipe((0,k.n)(j=>{if(!j?.expiresAt)return(0,G.of)(null);const J=Date.parse(j.expiresAt);if(!Number.isFinite(J))return(0,G.of)(null);const bt=J-1e3*j.secondsRemaining,Gt=Number.isFinite(bt)?bt-this.now():0,te=j.warnDays??Z.Gq,$=j.criticalDays??Z.r4;return(0,P.O)(0,1e3).pipe((0,y.T)(()=>{const lt=Math.floor((J-(this.now()+Gt))/1e3);return(0,N.Vj)(lt,te,$)}))}),(0,T.t)({bufferSize:1,refCount:!0})),this.trial$.subscribe(j=>{const J=(0,N.s8)(j);J?this.markLocked(J.reason,J.context):"active"===j?.status&&this.isLocked&&this.clearLock()})}get trial(){return(0,N.G0)(this.systemConfigService.environment)}get lock(){return this.lockSubject.value}get isLocked(){return null!==this.lockSubject.value}markLocked(pt,j={}){const J=this.lockSubject.value,bt=this.trial,Gt={...J?.reason===pt?J.context:{},...j,reason:pt,contact_email:j.contact_email??J?.context.contact_email??bt?.contactEmail??Z.nC,demo_url:j.demo_url??J?.context.demo_url??bt?.demoUrl??Z.ds,portal_url:j.portal_url??J?.context.portal_url??bt?.portalUrl??Z.C2};void 0===Gt.expired_at&&"TRIAL_EXPIRED"===pt&&(Gt.expired_at=bt?.expiresAt??null),void 0===Gt.trial_id&&(Gt.trial_id=bt?.trialId??null),this.lockSubject.next({reason:pt,context:Gt})}clearLock(){null!==this.lockSubject.value&&this.lockSubject.next(null)}daysRemaining(pt){return(0,N.a4)(pt)}hoursRemaining(pt){return(0,N.IY)(pt)}severity(pt,j=this.trial){return(0,N.kd)(pt,j?.warnDays??Z.Gq,j?.criticalDays??Z.r4)}now(){return Date.now()}static{this.\u0275fac=function(j){return new(j||M)(ot.KVO(q.f))}}static{this.\u0275prov=ot.jDH({token:M,factory:M.\u0275fac,providedIn:"root"})}}return M})()},89905:(Ce,Lt,r)=>{r.d(Lt,{T:()=>N});var o=r(85390),y=r(57588),b=r(12324),T=r(73151),k=r(75066),G=r(73475),P=r(1843);r(69099);let N=(()=>{class ot{constructor(K){this.roleService=K,this.isLoggedInSubject=new o.t(!1),this.isLoggedIn$=this.isLoggedInSubject.asObservable(),this.userDataSubject=new o.t(null),this.userData$=this.userDataSubject.asObservable(),this.restrictedAccessSubject=new o.t([]),this.restrictedAccess$=this.restrictedAccessSubject.asObservable(),this.TOKEN_KEY="session_token",this.userData$.pipe((0,y.n)(M=>M&&M.isSysAdmin&&!M.isRootAdmin&&M.roleId?this.roleService.get(M.roleId,{related:"role_service_access_by_role_id",additionalParams:[{key:"accessible_tabs",value:!0}],additionalHeaders:[{key:G.Zl,value:M.sessionToken}]}).pipe((0,b.T)(a=>a.accessibleTabs??[])):(0,T.of)([]))).subscribe(M=>this.restrictedAccessSubject.next(M))}clearToken(){document.cookie=`${this.TOKEN_KEY}=; expires=Thu, 01 Jan 1970 00:00:00 UTC; path=/`,this.isLoggedIn=!1}get userData(){return this.userDataSubject.value}set userData(K){this.userDataSubject.next(K),K&&(this.token=K.sessionToken,this.isLoggedIn=!0)}get isLoggedIn(){return this.isLoggedInSubject.value}set isLoggedIn(K){this.isLoggedInSubject.next(K),K||(this.userData=null)}get token(){const K=`${this.TOKEN_KEY}=`,a=decodeURIComponent(document.cookie).split(";");for(let pt=0;pt{r.d(Lt,{l:()=>G});var o=r(18724),y=r(1843),b=r(89905),T=r(16396),k=r(63338);let G=(()=>{class P{constructor(N,ot,q){this.dfUserDataService=N,this.dfSystemConfigDataService=ot,this.dfIntercomConfigService=q,this.intercomLoaded=!1}initializeIntercom(){var N=this;return(0,o.A)(function*(){const ot=N.dfIntercomConfigService.currentConfig;if((ot.intercomWidget??1)&&!N.intercomLoaded)try{const M=(yield r.e(583).then(r.t.bind(r,90583,23))).default,a=N.dfUserDataService.userData,pt=N.dfSystemConfigDataService.environment;a?(M({app_id:ot.intercomAppId||"ymvqkyiw",user_id:a.id?.toString()||a.sessionId,name:a.name||`${a.firstName||""} ${a.lastName||""}`.trim(),email:a.email,created_at:a.lastLoginDate?Math.floor(new Date(a.lastLoginDate).getTime()/1e3):void 0,is_sys_admin:a.isSysAdmin,is_root_admin:a.isRootAdmin,role_id:a.roleId,instance_url:window.location.origin,license_key:pt.platform?.licenseKey||"N/A",DreamFactoryTier:pt.platform?.license||"N/A","DreamFactory version":pt.platform?.version||"N/A",plan:pt.platform?.license||"N/A",is_hosted:pt.platform?.isHosted||!1,is_trial:pt.platform?.isTrial||!1}),N.intercomLoaded=!0):(M({app_id:ot.intercomAppId||"ymvqkyiw"}),N.intercomLoaded=!0)}catch(K){console.error("Failed to initialize Intercom:",K)}})()}hideIntercom(){window.Intercom&&this.intercomLoaded&&window.Intercom("hide")}showIntercom(){window.Intercom&&this.intercomLoaded&&window.Intercom("show")}shutdownIntercom(){window.Intercom&&this.intercomLoaded&&(window.Intercom("shutdown"),this.intercomLoaded=!1)}updateUser(N){if(!(this.dfIntercomConfigService.currentConfig.intercomWidget??1)||!window.Intercom||!this.intercomLoaded)return;const K=this.dfSystemConfigDataService.environment;N&&window.Intercom("update",{user_id:N.id?.toString()||N.sessionId,name:N.name||`${N.firstName||""} ${N.lastName||""}`.trim(),email:N.email,created_at:N.lastLoginDate?Math.floor(new Date(N.lastLoginDate).getTime()/1e3):void 0,is_sys_admin:N.isSysAdmin,is_root_admin:N.isRootAdmin,role_id:N.roleId,instance_url:window.location.origin,license_key:K.platform?.licenseKey||"N/A",DreamFactoryTier:K.platform?.license||"N/A","DreamFactory version":K.platform?.version||"N/A",plan:K.platform?.license||"N/A",is_hosted:K.platform?.isHosted||!1,is_trial:K.platform?.isTrial||!1})}static{this.\u0275fac=function(ot){return new(ot||P)(y.KVO(b.T),y.KVO(T.f),y.KVO(k.H))}}static{this.\u0275prov=y.jDH({token:P,factory:P.\u0275fac,providedIn:"root"})}}return P})()},16994:(Ce,Lt,r)=>{r.d(Lt,{b:()=>o});var o=function(y){return y.IMPORT="import",y.EDIT="edit",y.CREATE="create",y.VIEW="view",y.AUTH="auth",y.LOGIN="login",y.RESET_PASSWORD="reset-password",y.FORGOT_PASSWORD="forgot-password",y.REGISTER="register",y.USER_INVITE="user-invite",y.REGISTER_CONFIRM="register-confirm",y.PROFILE="profile",y.HOME="home",y.WELCOME="welcome",y.QUICKSTART="quickstart",y.RESOURCES="resources",y.DOWNLOAD="download",y.AI="ai",y.AI_SETUP="setup",y.AI_CONNECTIONS="connections",y.AI_CHAT_SERVICES="chat-services",y.AI_CHAT_UI="chat",y.AI_USAGE="usage",y.AI_MCP="mcp",y.API_CONNECTIONS="api-connections",y.API_TYPES="api-types",y.API_BUILDER="api-builder",y.ALERTS="alerts",y.AGENTS="agents",y.DATABASE="database",y.SCRIPTING="scripting",y.NETWORK="network",y.FILE="file",y.UTILITY="utility",y.ROLE_BASED_ACCESS="role-based-access",y.API_KEYS="api-keys",y.SCRIPTS="scripts",y.EVENT_SCRIPTS="event-scripts",y.API_DOCS="api-docs",y.DATA_EXPLORER="data-explorer",y.API_SECURITY="api-security",y.RATE_LIMITING="rate-limiting",y.AUTHENTICATION="authentication",y.SYSTEM_SETTINGS="system-settings",y.CONFIG="config",y.SCHEDULER="scheduler",y.LOGS="logs",y.FILE_LOGS="file-logs",y.REPORTING="reporting",y.DF_PLATFORM_APIS="df-platform-apis",y.ADMIN_SETTINGS="admin-settings",y.ADMINS="admins",y.SCHEMA="schema",y.SCHEMA_CONTRACTS="schema-contracts",y.USERS="users",y.FILES="files",y.LAUNCHPAD="launchpad",y.DATA="data",y.PACKAGES="package-manager",y.SYSTEM_INFO="system-info",y.CORS="cors",y.CACHE="cache",y.CONFIG_PACKAGE="config-package",y.EMAIL_TEMPLATES="email-templates",y.GLOBAL_LOOKUP_KEYS="global-lookup-keys",y.INTERCOM="intercom",y.TABLES="tables",y.RELATIONSHIPS="relationships",y.FIELDS="fields",y.ERROR="error",y.LICENSE_EXPIRED="license-expired",y.TRIAL_EXPIRED="trial-expired",y}(o||{})},71398:(Ce,Lt,r)=>{r.d(Lt,{C2:()=>b,Gq:()=>T,L5:()=>G,Zv:()=>P,ds:()=>y,nC:()=>o,r4:()=>k});const o="sales@dreamfactory.com",y="https://www.dreamfactory.com/demo",b="https://portal.dreamfactory.com",T=7,k=3,G=["TRIAL_EXPIRED","TRIAL_REVOKED","TRIAL_TOKEN_INVALID"],P=[402,403]},56579:(Ce,Lt,r)=>{r.d(Lt,{WO:()=>$,Y6:()=>y,aI:()=>te,cQ:()=>M,kJ:()=>j,zH:()=>pt});var o=r(62572);function y(lt){return!!lt&&"object"==typeof lt&&!0===lt.__appError}const b=/Duplicate entry '[^']+' for key '[^']*user_email_unique'/,T=/SQLSTATE|Duplicate entry|ORA-\d|constraint/i;function k(lt){return b.test(lt)?"alerts.duplicateEmail":T.test(lt)?"errors.databaseConstraint":lt}const G=/\b(host(?:name)?|server|data\s*source|dbname|database|user(?:\s*(?:name|id))?|uid|password|pwd|port)(\s*=\s*)[^;,\s"']+/gi,P=/\buser\s+'[^']*'@'[^']*'/gi,Z=/\bfor\s+user\s+'[^']*'/gi;function K(lt,V){switch(lt){case 401:return"auth";case 403:return"forbidden";case 404:return"not-found";case 422:return"validation";case 400:return V?"validation":"unknown";default:return lt>=500?"server":"unknown"}}function M(lt,V){if(y(lt))return lt;const mt=(new Date).toISOString();if(!(lt instanceof o.yz))return{__appError:!0,kind:"client",status:0,message:lt instanceof Error?lt.message||"errors.unknown":"string"==typeof lt&<?lt:"errors.unknown",fields:[],url:V?.url,method:V?.method,timestamp:mt,raw:lt};const rt=V?.url??lt.url??void 0,$t=V?.method;if(0===lt.status||lt.error instanceof ProgressEvent)return{__appError:!0,kind:"network",status:0,message:"errors.network",fields:[],url:rt,method:$t,timestamp:mt,raw:lt.error??lt.message};const de=lt.error;let Le,Ge,ye,_e=null,Xe=[];const Ve=!!de&&"object"==typeof de&&"string"==typeof de.text&&de.error instanceof Error;if(de&&"object"==typeof de&&!Ve){ye=de;const Oe=de.error;if(Oe&&"object"==typeof Oe&&"string"==typeof Oe.message){const Qe=Oe;_e=k(Qe.message),null!=Qe.code&&(Le=String(Qe.code)),Qe.context&&"object"==typeof Qe.context&&!Array.isArray(Qe.context)&&(Ge=Qe.context),Xe=function ot(lt){const V=[];if(!lt||"object"!=typeof lt)return V;const mt=lt;for(const rt of["resource","error"]){const $t=mt[rt];if(Array.isArray($t))for(const de of $t)"string"==typeof de&&de?V.push({field:null,message:k(de)}):de&&"object"==typeof de&&"string"==typeof de.message&&V.push({field:null,message:k(de.message)})}return V}(Qe.context)}else"string"==typeof de.message&&(_e=k(de.message))}return _e||(_e=function q(lt){return lt>=500?"errors.http5xx":lt>=400?"errors.http4xx":"errors.unknown"}(lt.status)),{__appError:!0,kind:K(lt.status,Xe.length>0),status:lt.status,message:_e,fields:Xe,code:Le,context:Ge,url:rt,method:$t,timestamp:mt,raw:de??lt.message,error:ye}}function a(lt,V=4096){let mt;if(lt instanceof Error)mt=`${lt.name}: ${lt.message}`;else if("string"==typeof lt)mt=lt;else try{mt=JSON.stringify(lt,null,2)??String(lt)}catch{mt=String(lt)}return mt.length>V&&(mt=`${mt.slice(0,V)}\n... [truncated]`),mt}function pt(lt){return a(lt.raw)}function j(lt){const V=["DreamFactory Admin Interface error report",`Time: ${lt.timestamp}`,`Status: ${lt.status}${lt.code?` (code ${lt.code})`:""} [${lt.kind}]`];return(lt.method||lt.url)&&V.push(`Request: ${[lt.method,lt.url].filter(Boolean).join(" ")}`),V.push(`Message: ${lt.message}`),lt.fields.length&&(V.push("Field errors:"),lt.fields.forEach(mt=>V.push(` - ${mt.field?`${mt.field}: `:""}${mt.message}`))),V.push(`Raw: ${function N(lt){return lt.replace(G,(V,mt,rt)=>`${mt}${rt}***`).replace(P,"user '***'@'***'").replace(Z,"for user '***'")}(a(lt.raw))}`),V.join("\n")}function Gt(lt,V,mt){if(V){const $t=function bt(lt){return lt.replace(/_([a-z])/g,(V,mt)=>mt.toUpperCase())}(V),de=lt.find(_e=>_e===V||_e===$t);if(de)return de}const rt=mt.toLowerCase();return lt.find($t=>$t.length>2&&(rt.includes($t.toLowerCase())||rt.includes(function J(lt){return lt.replace(/[A-Z]/g,V=>`_${V.toLowerCase()}`)}($t))))??null}function te(lt,V){const mt=[],rt=Object.keys(lt.controls);for(const{field:$t,message:de}of V.fields){const _e=Gt(rt,$t,de),Le=_e?lt.get(_e):null;Le?(Le.setErrors({...Le.errors,server:de}),Le.markAsTouched()):mt.push(de)}return mt}function $(lt){return{resource:[],meta:{count:0},__error:M(lt)}}},20271:(Ce,Lt,r)=>{r.d(Lt,{F0:()=>T,SM:()=>k,hm:()=>o,qC:()=>b});const o=G=>G.replace(/([-_]\w)/g,P=>P[1].toUpperCase()),y=new Set(["execution_plan","executionPlan","response_mapping","responseMapping","headers"]);function b(G){if(Array.isArray(G))return G.map(P=>b(P));if("object"==typeof G&&null!==G){const P={};for(const Z in G)if(Object.prototype.hasOwnProperty.call(G,Z)){const N=G[Z];P[o(Z)]=y.has(Z)?N:b(N)}return P}return G}const T=G=>"idpSingleSignOnServiceUrl"===G||"idp_singleSignOnService_url"===G?"idp_singleSignOnService_url":"idpEntityId"===G||"idp_entityId"===G?"idp_entityId":"spNameIDFormat"===G||"sp_nameIDFormat"===G?"sp_nameIDFormat":"spPrivateKey"===G||"sp_privateKey"===G?"sp_privateKey":G.replace(/([a-z0-9]|(?=[A-Z]))([A-Z])/g,"$1_$2").toLowerCase();function k(G){if(Array.isArray(G))return G.map(P=>k(P));if("object"==typeof G&&null!==G){const P={};for(const Z in G)if(Object.prototype.hasOwnProperty.call(G,Z)){const N=G[Z];"requestBody"===Z?P[Z]=N:y.has(Z)?P[T(Z)]=N:P[T(Z)]=k(N)}return P}return G}},31933:(Ce,Lt,r)=>{r.d(Lt,{Sj:()=>y,ik:()=>b,o6:()=>T});var o=r(89115);function y(P){const Z=new o.B,N=new FileReader;return N.onload=()=>{Z.next(N.result),Z.complete()},N.onerror=ot=>{Z.error(ot)},N.readAsText(P,"UTF-8"),Z.asObservable()}function b(P,Z,N){T(new Blob([P],{type:G(N)}),Z)}function T(P,Z){const N=window.URL.createObjectURL(P);(function k(P,Z){const N=document.createElement("a");N.download=Z,N.href=P,N.click()})(N,Z),window.URL.revokeObjectURL(N)}function G(P){switch(P){case"json":return"application/json";case"xml":return"application/xml";case"csv":return"text/csv";default:return P}}},88236:(Ce,Lt,r)=>{r.d(Lt,{J:()=>o});const o=y=>b=>{switch(y){case"user":return`(first_name like "%${b}%") or (last_name like "%${b}%") or (name like "%${b}%") or (email like "%${b}%")`;case"apiDocs":return`(name like "%${b}%") or (label like "%${b}%") or (description like "%${b}%")`;case"apps":case"emailTemplates":case"roles":return`(name like "%${b}%") or (description like "%${b}%")`;case"serviceReports":return`(service_id like ${b}) or (service_name like "%${b}%") or (user_email like "%${b}%") or (action like "%${b}%") or (request_verb like "%${b}%")`;case"limits":return`(name like "%${b}%")`;case"services":return`(name like "%${b}%") or (label like "%${b}%") or (description like "%${b}%") or (type like "%${b}%")`;case"eventScripts":return`(name like "%${b}%") or (type like "%${b}%")`;default:return""}}},48444:(Ce,Lt,r)=>{r.d(Lt,{Cc:()=>b,Fb:()=>y,Ku:()=>T,PH:()=>k});var o=r(62572);const y=new o.rx(()=>"default"),b=new o.rx(()=>null);function T(G=new o._y){return G.set(y,"silent")}function k(G=new o._y){return G.set(y,"toast-off")}},2983:(Ce,Lt,r)=>{r.d(Lt,{G0:()=>P,IM:()=>Z,IY:()=>K,Vj:()=>M,a4:()=>q,kd:()=>ot,s8:()=>N});var o=r(62572),y=r(71398),b=r(56579);const T=86400,k=3600;function P(a){return a?.platform?.trial??a?.trial??null}function Z(a){let pt,j,J;if((0,b.Y6)(a))pt=a.status,j=a.raw,J=a.context;else if(a instanceof o.yz)pt=a.status,j=a.error;else{if(!a||"object"!=typeof a)return null;j=a}const bt=j&&"object"==typeof j?j.error:void 0;if(bt&&"object"==typeof bt&&(void 0===J&&(J=bt.context),void 0===pt)){const $=Number(bt.status_code??bt.code);pt=Number.isFinite($)?$:void 0}if(void 0===pt||!y.Zv.includes(pt)||!J||"object"!=typeof J)return null;const Gt=J.reason;return function G(a){return"string"==typeof a&&y.L5.includes(a)}(Gt)?{reason:Gt,context:J}:null}function N(a){if(!a)return null;switch(a.status){case"expired":return{reason:"TRIAL_EXPIRED",context:{reason:"TRIAL_EXPIRED",trial_id:a.trialId,expired_at:a.expiresAt,contact_email:a.contactEmail,demo_url:a.demoUrl,portal_url:a.portalUrl}};case"revoked":return{reason:"TRIAL_REVOKED",context:{reason:"TRIAL_REVOKED",trial_id:a.trialId,contact_email:a.contactEmail,demo_url:a.demoUrl,portal_url:a.portalUrl}};case"invalid":case"missing":return{reason:"TRIAL_TOKEN_INVALID",context:{reason:"TRIAL_TOKEN_INVALID",detail:"missing"===a.status?"missing_token":void 0,trial_id:a.trialId,contact_email:a.contactEmail,demo_url:a.demoUrl,portal_url:a.portalUrl}};default:return null}}function ot(a,pt,j){const J=Math.ceil(Math.max(0,a)/T);return J<=j?"critical":J<=pt?"warning":"info"}function q(a){return Math.floor(Math.max(0,a)/T)}function K(a){return Math.floor(Math.max(0,a)%T/k)}function M(a,pt,j){const J=Math.max(0,Math.floor(a));return{totalSeconds:J,days:q(J),hours:K(J),minutes:Math.floor(J%k/60),seconds:J%60,severity:ot(J,pt,j)}}},12346:(Ce,Lt,r)=>{function o(P){let Z;try{Z=new URL(P)}catch{return!1}return"http:"===Z.protocol||"https:"===Z.protocol}r.d(Lt,{LE:()=>G,U8:()=>o,bS:()=>y,c4:()=>T,pl:()=>b});const y="df_auth_redirect_url";function b(){const P=window.location.hash.indexOf("?"),Z=-1!==P?window.location.hash.substring(P+1):window.location.search.substring(1);return new URLSearchParams(Z)}function T(){localStorage.removeItem(y);const Z=b().get("redirect");Z?sessionStorage.setItem(y,Z):sessionStorage.removeItem(y)}function G(P){const Z=sessionStorage.getItem(y);if(Z){if(sessionStorage.removeItem(y),!function k(P){if(!o(P))return!1;try{return new URL(P).origin===window.location.origin}catch{return!1}}(Z))return window.location.href="/",!0;if(P){const N=Z.includes("?")?"&":"?";window.location.href=`${Z}${N}session_token=${P}`}else window.location.href=Z;return!0}return!1}},36279:(Ce,Lt,r)=>{var o=r(18724),y=r(21406),b=r(18331),T=r(11863),k=r(68660),G=r(28600),P=r(85784),Z=r(87621),N=r(74312),ot=r(83545),q=r(54342),K=r(94093),M=r(16994),a=r(1843),pt=r(95373),j=r(57588),J=r(12324),bt=r(73151),Gt=r(89905),te=r(12346);const $=(f,d)=>{const l=(0,a.WQX)(pt.g),m=(0,a.WQX)(Gt.T),L=(0,a.WQX)(T.Ix);return m.isLoggedIn$.pipe((0,j.n)(R=>R?(0,te.LE)(m.token)?(0,bt.of)(!1):(0,bt.of)(!0):l.checkSession().pipe((0,J.T)(ht=>ht?!(0,te.LE)(m.token):L.createUrlTree([M.b.AUTH],{queryParams:d.url&&"/"!==d.url?{returnUrl:d.url}:void 0})))))};var V=r(52483),mt=r(56579),rt=r(75066);const $t=f=>()=>(0,a.WQX)(rt.u7).getAll({related:"role_by_role_id",fields:"*",limit:f,sort:"name"}).pipe((0,V.W)(l=>(0,bt.of)((0,mt.WO)(l)))),_e=f=>()=>(0,a.WQX)(rt.Yh).getAll({limit:f,sort:"name"}).pipe((0,V.W)(l=>(0,bt.of)((0,mt.WO)(l)))),Ge=f=>d=>{const l=(0,a.WQX)(rt.ir),m=(0,a.WQX)(rt.h1),L=d.paramMap.get("id");return L?l.get(L,{related:"user_to_app_to_role_by_user_id,lookup_by_user_id"}).pipe((0,j.n)(R=>R.userToAppToRoleByUserId.length>0?m.get(R.userToAppToRoleByUserId[0].roleId,{related:"lookup_by_role_id",additionalParams:[{key:"accessible_tabs",value:!0}]}).pipe((0,J.T)(ht=>(R.role=ht,R))):(0,bt.of)(R))):l.getAll({limit:f,sort:"name"}).pipe((0,V.W)(R=>(0,bt.of)((0,mt.WO)(R))))},ye=f=>()=>(0,a.WQX)(rt.h1).getAll({related:"lookup_by_role_id",limit:f,sort:"name"}).pipe((0,V.W)(l=>(0,bt.of)((0,mt.WO)(l))));var Ve=r(35877);const Oe=f=>d=>{const l=(0,a.WQX)(Ve.o),m=(0,a.WQX)(rt.gu);return l.activatePaywall("limit").pipe((0,j.n)(L=>{if(L)return(0,bt.of)("paywall");{const R=d.paramMap.get("id");return R?m.get(R):m.getAll({limit:f,sort:"name",related:"limit_cache_by_limit_id"}).pipe((0,V.W)(ht=>(0,bt.of)((0,mt.WO)(ht))))}}))};var be=r(90168),Me=r(86506);const Kt=f=>{const d=(0,a.WQX)(rt.Z$),l=f.paramMap.get("id");return l?d.get(l):d.getAll({includeCount:!0}).pipe((0,V.W)(m=>(0,bt.of)((0,mt.WO)(m))))},Nt=f=>{const d=(0,a.WQX)(Ve.o),l=(0,a.WQX)(rt.K);return d.activatePaywall("scheduler").pipe((0,j.n)(m=>{if(m)return(0,bt.of)("paywall");{const L=f.paramMap.get("id");return L?l.get(L,{related:"task_log_by_task_id"}):l.getAll({related:"task_log_by_task_id,service_by_service_id"}).pipe((0,V.W)(R=>(0,bt.of)((0,mt.WO)(R))))}}))},gt=f=>{const d=f.paramMap.get("name")??"",l=f.paramMap.get("id")??"";return(0,a.WQX)(rt.qJ).get(`${d}/_schema/${l}/_field`,{})};var oe=r(86606),Qt=r(17612);const Et=(f,d)=>l=>{const m=(0,a.WQX)(rt.zs),L=(0,a.WQX)(rt.Z1),R=l.data.system||l.parent?.data?.system||!1,ht=l.data.groups||l.parent?.data?.groups;if(ht){const Pt=ht.map(Ft=>m.getAll({fields:"name",additionalParams:[{key:"group",value:Ft}]}));return(0,oe.p)(Pt).pipe((0,J.T)(Ft=>Ft.map(qt=>qt.resource).flat()),(0,j.n)(Ft=>L.getAll({limit:f,sort:"name",filter:`${R?`${Qt.oA} and `:""}(type in ("${Ft.map(qt=>qt.name).join('","')}"))${d?` and ${d}`:""}`}).pipe((0,J.T)(qt=>({...qt,serviceTypes:Ft})))),(0,V.W)(Ft=>(0,bt.of)((0,mt.WO)(Ft))))}return L.getAll({limit:f,sort:"name",filter:`${R?Qt.oA:""}${d||""}`}).pipe((0,J.T)(Pt=>({...Pt})),(0,V.W)(Pt=>(0,bt.of)((0,mt.WO)(Pt))))},Ee=f=>{const d=(0,a.WQX)(rt.zs),l=f.data.groups||f.parent?.data?.groups;if(l){const m=l.map(L=>d.getAll({additionalParams:[{key:"group",value:L}]}));return(0,oe.p)(m).pipe((0,J.T)(L=>L.map(R=>R.resource).flat()))}return d.getAll().pipe((0,J.T)(m=>m.resource))},ce=f=>!f?.canDeactivate||f.canDeactivate(),je=[{path:"",loadComponent:()=>Promise.all([r.e(1900),r.e(8337),r.e(8497),r.e(3756),r.e(3956),r.e(2076),r.e(8859)]).then(r.bind(r,88859)).then(f=>f.DfManageServicesComponent)},{path:M.b.CREATE,loadComponent:()=>Promise.all([r.e(1900),r.e(8337),r.e(8497),r.e(7263),r.e(3138),r.e(9167),r.e(6984),r.e(3492),r.e(3695),r.e(8001),r.e(2967),r.e(8781),r.e(5629),r.e(7418),r.e(4207),r.e(2076),r.e(2966)]).then(r.bind(r,52966)).then(f=>f.DfMcpRouteShimComponent),resolve:{serviceTypes:Ee},canDeactivate:[ce]},{path:":id",loadComponent:()=>Promise.all([r.e(1900),r.e(8337),r.e(8497),r.e(7263),r.e(3138),r.e(9167),r.e(6984),r.e(3492),r.e(3695),r.e(8001),r.e(2967),r.e(8781),r.e(5629),r.e(7418),r.e(4207),r.e(2076),r.e(2966)]).then(r.bind(r,52966)).then(f=>f.DfMcpRouteShimComponent),resolve:{data:f=>{const d=(0,a.WQX)(rt.Z1),l=f.paramMap.get("id");if(l)return d.get(l,{related:"service_doc_by_service_id"})},serviceTypes:Ee},canDeactivate:[ce]}],Ht=[{path:"",loadComponent:()=>Promise.all([r.e(1900),r.e(8337),r.e(7263),r.e(3138),r.e(9167),r.e(6984),r.e(3492),r.e(1524)]).then(r.bind(r,1524)).then(f=>f.DfApiBuilderComponent)},{path:M.b.CREATE,loadComponent:()=>Promise.all([r.e(1900),r.e(8337),r.e(7263),r.e(3138),r.e(9167),r.e(6984),r.e(3492),r.e(1524)]).then(r.bind(r,1524)).then(f=>f.DfApiBuilderComponent)}],ne=[{path:"",loadComponent:()=>Promise.all([r.e(1900),r.e(7263),r.e(2967),r.e(2076),r.e(9675)]).then(r.bind(r,19675)).then(f=>f.DfWelcomePageComponent)}];var at=r(31147),zt=r(16396);const kt=[{path:"",redirectTo:M.b.LOGIN,pathMatch:"full"},{path:M.b.LOGIN,loadComponent:()=>Promise.all([r.e(1900),r.e(3138),r.e(9106)]).then(r.bind(r,59106)).then(f=>f.DfLoginComponent),canActivate:[()=>{const f=(0,a.WQX)(T.Ix),d=(0,a.WQX)(pt.g),m=(0,te.pl)().get("session_token");return!m||d.loginWithToken(m).pipe((0,J.T)(()=>(f.navigate([M.b.HOME]),!1)),(0,V.W)(()=>(f.navigate([M.b.AUTH]),(0,bt.of)(!0))))},f=>{const d=(0,a.WQX)(T.Ix),l=(0,a.WQX)(pt.g),m=f.queryParams.code,L=f.queryParams.state,R=f.queryParams.oauth_token;return!(m&&L||R)||l.oauthLogin(R,m,L).pipe((0,J.T)(()=>(d.navigate([]),!1)),(0,V.W)(()=>(d.navigate([M.b.AUTH]),(0,bt.of)(!0))))}]},{path:M.b.REGISTER,loadComponent:()=>Promise.all([r.e(3138),r.e(796)]).then(r.bind(r,90796)).then(f=>f.DfRegisterComponent),canActivate:[()=>{const f=(0,a.WQX)(zt.f),d=(0,a.WQX)(T.Ix);return f.environment$.pipe((0,J.T)(l=>!!l.authentication.allowOpenRegistration||(d.navigate([M.b.AUTH]),!1)))}]},{path:M.b.FORGOT_PASSWORD,loadComponent:()=>Promise.all([r.e(3138),r.e(2262)]).then(r.bind(r,82262)).then(f=>f.DfForgotPasswordComponent)},{path:M.b.RESET_PASSWORD,loadComponent:()=>Promise.all([r.e(3138),r.e(7252)]).then(r.bind(r,17252)).then(f=>f.DfPasswordResetComponent),data:{type:"reset"}},{path:M.b.USER_INVITE,loadComponent:()=>Promise.all([r.e(3138),r.e(7252)]).then(r.bind(r,17252)).then(f=>f.DfPasswordResetComponent),data:{type:"invite"}},{path:M.b.REGISTER_CONFIRM,loadComponent:()=>Promise.all([r.e(3138),r.e(7252)]).then(r.bind(r,17252)).then(f=>f.DfPasswordResetComponent),data:{type:"register"}}];var tt=r(31933);const X=f=>{const d=f.data.type;return(0,a.WQX)(rt.qJ).get(d).pipe((0,V.W)(m=>(0,bt.of)((0,mt.WO)(m))))},ft=f=>{const d=f.paramMap.get("entity")??"";return(0,a.WQX)(rt.qJ).get(`${f.data.type}/${d}`).pipe((0,V.W)(L=>(0,bt.of)((0,mt.WO)(L))))},on=()=>(0,a.WQX)(rt.O5).getAll({additionalParams:[{key:"as_list",value:!0}]});var hn=r(65329),fe=r(89371),cn=r(2983);const me=f=>{const d=(0,a.WQX)(hn.H),l=(0,a.WQX)(T.Ix),m=(0,a.WQX)(zt.f),L=d.currentLicenseCheck;if(L){if("true"===L.disableUi&&f?.routeConfig?.path!==M.b.LICENSE_EXPIRED)return(0,bt.of)(l.createUrlTree([M.b.LICENSE_EXPIRED]));if("true"===L.disableUi&&f?.routeConfig?.path===M.b.LICENSE_EXPIRED)return(0,bt.of)(!0);if("true"!==L.disableUi&&f?.routeConfig?.path===M.b.LICENSE_EXPIRED)return(0,bt.of)(l.createUrlTree([M.b.HOME]))}return m.environment$.pipe((0,fe.s)(1),(0,j.n)(R=>R.platform?.license?(0,bt.of)(R):m.fetchEnvironmentData()),(0,j.n)(R=>(0,cn.G0)(R)?(0,bt.of)(f?.routeConfig?.path!==M.b.LICENSE_EXPIRED||l.createUrlTree([M.b.HOME])):"OPEN SOURCE"===R.platform?.license?(0,bt.of)(!0):void 0!==R.platform?.licenseKey?L?(0,bt.of)(!0):d.check(`${R.platform.licenseKey}`).pipe((0,J.T)(ht=>"true"===ht.disableUi&&f?.routeConfig?.path!==M.b.LICENSE_EXPIRED?l.createUrlTree([M.b.LICENSE_EXPIRED]):"true"===ht.disableUi&&f?.routeConfig?.path===M.b.LICENSE_EXPIRED||f?.routeConfig?.path!==M.b.LICENSE_EXPIRED||l.createUrlTree([M.b.HOME])),(0,V.W)(ht=>(0,bt.of)("true"!==d.currentLicenseCheck?.disableUi||f?.routeConfig?.path===M.b.LICENSE_EXPIRED||l.createUrlTree([M.b.LICENSE_EXPIRED])))):(0,bt.of)(!1)))},jt=(f,d)=>{const l=(0,a.WQX)(hn.H),m=(0,a.WQX)(T.Ix);return"true"!==l.currentLicenseCheck?.disableUi||d.url.includes(M.b.LICENSE_EXPIRED)?(0,bt.of)(!0):(0,bt.of)(m.createUrlTree([M.b.LICENSE_EXPIRED]))};var Dt=r(35083);const dt=(f,d)=>{const l=(0,a.WQX)(Dt.K),m=(0,a.WQX)(T.Ix),L=f?.routeConfig?.path===M.b.TRIAL_EXPIRED||(d?.url??"").includes(M.b.TRIAL_EXPIRED);return l.isLocked?!!L||m.createUrlTree([M.b.TRIAL_EXPIRED]):!L||m.createUrlTree([M.b.HOME])};var Rt=r(51317);const ze=f=>d=>{const l=(0,a.WQX)(Ve.o),m=(0,a.WQX)(T.Ix);return l.activatePaywall(f).pipe((0,J.T)(L=>!L||m.createUrlTree(["../"],{relativeTo:d})))};var Zt=r(98474),U=r(54749);const A=[{path:"",pathMatch:"full",redirectTo:M.b.HOME},{path:M.b.ERROR,loadComponent:()=>r.e(8747).then(r.bind(r,48747)).then(f=>f.DfErrorComponent),canActivate:[()=>{const f=(0,a.WQX)(Rt.S),d=(0,a.WQX)(T.Ix),l=d.getCurrentNavigation()?.extras?.state?.appError??(typeof history<"u"?history.state?.appError:null);return f.hasError$.pipe((0,J.T)(m=>!(!m&&!(0,mt.Y6)(l))||d.createUrlTree(["/"])))}]},{path:M.b.AUTH,children:kt,canActivate:[dt,()=>{const f=(0,a.WQX)(pt.g),d=(0,a.WQX)(Gt.T),l=(0,a.WQX)(T.Ix);return(0,te.c4)(),d.isLoggedIn$.pipe((0,j.n)(m=>m?(0,te.LE)(d.token)?(0,bt.of)(!1):(0,bt.of)(l.createUrlTree([M.b.HOME])):f.checkSession().pipe((0,J.T)(L=>!L||!(0,te.LE)(d.token)&&l.createUrlTree([M.b.HOME])))))}],providers:[(0,at.bF)("userManagement")]},{path:M.b.HOME,children:ne,canActivate:[dt,$,me,jt],providers:[(0,at.bF)("home")]},{path:M.b.LICENSE_EXPIRED,loadComponent:()=>r.e(4461).then(r.bind(r,74461)).then(f=>f.DfLicenseExpiredComponent),canActivate:[dt,me]},{path:M.b.TRIAL_EXPIRED,loadComponent:()=>r.e(7251).then(r.bind(r,47251)).then(f=>f.DfTrialExpiredComponent),canActivate:[dt]},{path:M.b.API_BUILDER,redirectTo:`/${M.b.API_CONNECTIONS}/${M.b.API_TYPES}/${M.b.API_BUILDER}`,pathMatch:"full",data:{navLinkPath:`/${M.b.API_CONNECTIONS}/${M.b.API_TYPES}/${M.b.API_BUILDER}`}},{path:M.b.ALERTS,loadComponent:()=>Promise.all([r.e(1900),r.e(8337),r.e(7263),r.e(3138),r.e(9167),r.e(7741)]).then(r.bind(r,97741)).then(f=>f.DfAlertsComponent),canActivate:[$]},{path:M.b.AGENTS,loadComponent:()=>Promise.all([r.e(1900),r.e(8337),r.e(7263),r.e(3138),r.e(2967),r.e(5629),r.e(2076),r.e(2661)]).then(r.bind(r,42661)).then(f=>f.DfAgentsComponent),canActivate:[$]},{path:M.b.API_CONNECTIONS,children:[{path:"",loadComponent:()=>Promise.all([r.e(7263),r.e(5969),r.e(4673)]).then(r.bind(r,34673)).then(f=>f.DfApiConnectionsOverviewComponent)},{path:M.b.API_TYPES,children:[{path:"",loadComponent:()=>Promise.all([r.e(7263),r.e(5969),r.e(3101)]).then(r.bind(r,63101)).then(f=>f.DfApiTypesOverviewComponent)},{path:M.b.API_BUILDER,children:Ht,data:{groups:U.H[M.b.API_BUILDER]}},{path:M.b.DATABASE,children:je,data:{groups:U.H[M.b.DATABASE]}},{path:M.b.SCRIPTING,children:je,data:{groups:U.H[M.b.SCRIPTING]}},{path:M.b.NETWORK,children:je,data:{groups:U.H[M.b.NETWORK]}},{path:M.b.FILE,children:je,data:{groups:U.H[M.b.FILE]}},{path:M.b.UTILITY,children:je,data:{groups:U.H[M.b.UTILITY]},resolve:{systemEvents:on}}],providers:[(0,at.bF)("services"),(0,at.bF)("scripts")]},{path:M.b.ROLE_BASED_ACCESS,children:[{path:"",loadComponent:()=>Promise.all([r.e(1900),r.e(8337),r.e(8497),r.e(3756),r.e(3956),r.e(2076),r.e(399)]).then(r.bind(r,80399)).then(f=>f.DfManageRolesComponent),resolve:{data:ye()}},{path:"create",loadComponent:()=>Promise.all([r.e(1900),r.e(8497),r.e(8781),r.e(1643)]).then(r.bind(r,61643)).then(f=>f.DfRoleDetailsComponent),resolve:{services:Et(0)},data:{type:"create"}},{path:":id",loadComponent:()=>Promise.all([r.e(1900),r.e(8497),r.e(8781),r.e(1643)]).then(r.bind(r,61643)).then(f=>f.DfRoleDetailsComponent),resolve:{data:f=>{const d=(0,a.WQX)(rt.h1),l=f.paramMap.get("id");if(l)return d.get(l,{related:"role_service_access_by_role_id,lookup_by_role_id",additionalParams:[{key:"accessible_tabs",value:!0}]})},services:Et(0)},data:{type:"edit"}},{path:":id/scope",loadComponent:()=>Promise.all([r.e(4207),r.e(8816)]).then(r.bind(r,12818)).then(f=>f.DfRoleScopePageComponent)}],providers:[(0,at.bF)("roles")]},{path:M.b.API_KEYS,children:[{path:"",loadComponent:()=>Promise.all([r.e(1900),r.e(8337),r.e(8497),r.e(3756),r.e(7263),r.e(3956),r.e(2076),r.e(7058)]).then(r.bind(r,67058)).then(f=>f.DfManageAppsTableComponent),resolve:{data:$t(0)}},{path:M.b.CREATE,loadComponent:()=>Promise.all([r.e(1900),r.e(8337),r.e(7263),r.e(3138),r.e(3492),r.e(8001),r.e(2967),r.e(5629),r.e(2076),r.e(3307)]).then(r.bind(r,63307)).then(f=>f.DfAppDetailsComponent),resolve:{roles:ye(0)}},{path:":id",loadComponent:()=>Promise.all([r.e(1900),r.e(8337),r.e(7263),r.e(3138),r.e(3492),r.e(8001),r.e(2967),r.e(5629),r.e(2076),r.e(3307)]).then(r.bind(r,63307)).then(f=>f.DfAppDetailsComponent),resolve:{roles:ye(0),appData:f=>{const d=f.paramMap.get("id")??0;return(0,a.WQX)(rt.u7).get(d,{related:"role_by_role_id",fields:"*"})}}}],providers:[(0,at.bF)("apps")]},{path:M.b.EVENT_SCRIPTS,children:[{path:"",loadComponent:()=>Promise.all([r.e(1900),r.e(8337),r.e(8497),r.e(3756),r.e(3956),r.e(2076),r.e(7888)]).then(r.bind(r,47888)).then(f=>f.DfManageScriptsComponent),resolve:{data:()=>{const f=(0,a.WQX)(Ve.o),d=(0,a.WQX)(rt.NO);return f.activatePaywall(["script_Type","event_script"]).pipe((0,j.n)(l=>l?(0,bt.of)("paywall"):d.getAll().pipe((0,V.W)(m=>(0,bt.of)((0,mt.WO)(m))))))}}},{path:M.b.CREATE,loadComponent:()=>Promise.all([r.e(1900),r.e(8337),r.e(8497),r.e(7263),r.e(9167),r.e(3492),r.e(3695),r.e(7418),r.e(3751)]).then(r.bind(r,53751)).then(f=>f.DfScriptDetailsComponent),resolve:{data:()=>(0,a.WQX)(rt.O5).getAll({additionalParams:[{key:"services_only",value:!0}],limit:0,includeCount:!1})},data:{type:"create"},canActivate:[ze(["script_Type","event_script"])]},{path:":name",loadComponent:()=>Promise.all([r.e(1900),r.e(8337),r.e(8497),r.e(7263),r.e(9167),r.e(3492),r.e(3695),r.e(7418),r.e(3751)]).then(r.bind(r,53751)).then(f=>f.DfScriptDetailsComponent),resolve:{data:f=>{const d=f.paramMap.get("name")??"";return(0,a.WQX)(rt.NO).get(d)}},data:{type:"edit"},canActivate:[ze(["script_Type","event_script"])]}],providers:[(0,at.bF)("scripts")]},{path:M.b.API_DOCS,children:[{path:"",loadComponent:()=>Promise.all([r.e(1900),r.e(8337),r.e(8497),r.e(3756),r.e(3956),r.e(986)]).then(r.bind(r,30986)).then(f=>f.DfApiDocsTableComponent),resolve:{data:Et(0,'(type not like "%swagger%")'),serviceTypes:Ee}},{path:":name",loadComponent:()=>Promise.all([r.e(1900),r.e(8337),r.e(7263),r.e(6984),r.e(8781),r.e(2076),r.e(3533)]).then(r.bind(r,63533)).then(f=>f.DfApiDocsComponent),resolve:{data:f=>{const d=f.paramMap.get("name");return(0,a.WQX)(rt.Hd).get(d)}},runGuardsAndResolvers:"paramsChange"}],providers:[(0,at.bF)("apiDocs")]},{path:M.b.DATA_EXPLORER,loadComponent:()=>Promise.all([r.e(1900),r.e(8337),r.e(8497),r.e(3756),r.e(7263),r.e(9167),r.e(2317),r.e(5036)]).then(r.bind(r,75036)).then(f=>f.DfDataExplorerComponent),providers:[(0,at.bF)("dataExplorer")]}],canActivate:[dt,$,me,jt]},{path:M.b.API_SECURITY,children:[{path:"",loadComponent:()=>Promise.all([r.e(7263),r.e(5969),r.e(4705)]).then(r.bind(r,14705)).then(f=>f.DfSecurityOverviewComponent)},{path:M.b.AUTHENTICATION,children:je,data:{groups:U.H[M.b.AUTHENTICATION]},providers:[(0,at.bF)("services")]},{path:M.b.RATE_LIMITING,children:[{path:"",loadComponent:()=>Promise.all([r.e(1900),r.e(8337),r.e(8497),r.e(3756),r.e(3956),r.e(2076),r.e(7067)]).then(r.bind(r,47067)).then(f=>f.DfManageLimitsComponent),resolve:{data:Oe()}},{path:M.b.CREATE,loadComponent:()=>Promise.all([r.e(1900),r.e(8337),r.e(2076),r.e(3451)]).then(r.bind(r,23451)).then(f=>f.DfLimitDetailsComponent),resolve:{data:Oe(),users:_e(0),roles:ye(0),services:Et(0)},data:{type:"create"},canActivate:[ze("limit")]},{path:":id",loadComponent:()=>Promise.all([r.e(1900),r.e(8337),r.e(2076),r.e(3451)]).then(r.bind(r,23451)).then(f=>f.DfLimitDetailsComponent),resolve:{data:Oe(),users:_e(0),roles:ye(0),services:Et(0)},data:{type:"edit"},canActivate:[ze("limit")]}],providers:[(0,at.bF)("limits")]},{path:M.b.ROLE_BASED_ACCESS,redirectTo:`/${M.b.API_CONNECTIONS}/${M.b.ROLE_BASED_ACCESS}`,pathMatch:"full",data:{navLinkPath:`/${M.b.API_CONNECTIONS}/${M.b.ROLE_BASED_ACCESS}`,navLabelPath:`/${M.b.API_SECURITY}/${M.b.ROLE_BASED_ACCESS}`}},{path:M.b.API_KEYS,redirectTo:`/${M.b.API_CONNECTIONS}/${M.b.API_KEYS}`,pathMatch:"full",data:{navLinkPath:`/${M.b.API_CONNECTIONS}/${M.b.API_KEYS}`,navLabelPath:`/${M.b.API_SECURITY}/${M.b.API_KEYS}`}}],canActivate:[dt,$,me,jt]},{path:M.b.SYSTEM_SETTINGS,children:[{path:"",loadComponent:()=>Promise.all([r.e(7263),r.e(5969),r.e(3828)]).then(r.bind(r,53828)).then(f=>f.DfSystemOverviewComponent)},{path:M.b.CONFIG,children:[{path:M.b.SYSTEM_INFO,loadComponent:()=>r.e(3685).then(r.bind(r,3685)).then(f=>f.DfSystemInfoComponent),providers:[(0,at.bF)("systemInfo")],resolve:{data:()=>(0,bt.of)(null)}},{path:M.b.CORS,children:[{path:"",loadComponent:()=>Promise.all([r.e(1900),r.e(8337),r.e(8497),r.e(3756),r.e(3956),r.e(2430)]).then(r.bind(r,2430)).then(f=>f.DfManageCorsTableComponent),resolve:{data:Kt}},{path:M.b.CREATE,loadComponent:()=>Promise.all([r.e(1900),r.e(8337),r.e(9167),r.e(2076),r.e(6377)]).then(r.bind(r,96377)).then(f=>f.DfCorsConfigDetailsComponent),data:{type:"create"}},{path:":id",loadComponent:()=>Promise.all([r.e(1900),r.e(8337),r.e(9167),r.e(2076),r.e(6377)]).then(r.bind(r,96377)).then(f=>f.DfCorsConfigDetailsComponent),resolve:{data:Kt},data:{type:"edit"}}],providers:[(0,at.bF)("cors")]},{path:M.b.CACHE,loadComponent:()=>Promise.all([r.e(1900),r.e(8337),r.e(8497),r.e(3756),r.e(3956),r.e(4588)]).then(r.bind(r,24588)).then(f=>f.DfCacheComponent),resolve:{data:()=>(0,a.WQX)(rt.j8).getAll({fields:"*"}).pipe((0,V.W)(d=>(0,bt.of)((0,mt.WO)(d))))},providers:[(0,at.bF)("cache")]},{path:M.b.CONFIG_PACKAGE,loadComponent:()=>Promise.all([r.e(3138),r.e(9167),r.e(3645)]).then(r.bind(r,73645)).then(f=>f.DfConfigPackageComponent)},{path:M.b.EMAIL_TEMPLATES,children:[{path:"",loadComponent:()=>Promise.all([r.e(1900),r.e(8337),r.e(8497),r.e(3756),r.e(3956),r.e(4255)]).then(r.bind(r,94255)).then(f=>f.DfEmailTemplatesComponent),resolve:{data:()=>(0,a.WQX)(rt.F8).getAll({}).pipe((0,V.W)(d=>(0,bt.of)((0,mt.WO)(d))))}},{path:M.b.CREATE,loadComponent:()=>Promise.all([r.e(1900),r.e(5453)]).then(r.bind(r,35453)).then(f=>f.DfEmailTemplateDetailsComponent),data:{type:"create"}},{path:":id",loadComponent:()=>Promise.all([r.e(1900),r.e(5453)]).then(r.bind(r,35453)).then(f=>f.DfEmailTemplateDetailsComponent),resolve:{data:f=>{const d=f.paramMap.get("id")??0;return(0,a.WQX)(rt.F8).get(d,{fields:"*"})}},data:{type:"edit"}}],providers:[(0,at.bF)("emailTemplates")]},{path:M.b.GLOBAL_LOOKUP_KEYS,loadComponent:()=>Promise.all([r.e(8497),r.e(9841)]).then(r.bind(r,89841)).then(f=>f.DfGlobalLookupKeysComponent),resolve:{data:()=>(0,a.WQX)(rt.mr).getAll()}},{path:M.b.INTERCOM,loadComponent:()=>r.e(6214).then(r.bind(r,86214)).then(f=>f.DfIntercomConfigComponent)}]},{path:M.b.SCHEDULER,children:[{path:"",loadComponent:()=>Promise.all([r.e(1900),r.e(8337),r.e(8497),r.e(3756),r.e(3956),r.e(2076),r.e(6242)]).then(r.bind(r,36242)).then(f=>f.DfManageSchedulerComponent),resolve:{data:Nt}},{path:M.b.CREATE,loadComponent:()=>Promise.all([r.e(1900),r.e(8337),r.e(6984),r.e(3695),r.e(2076),r.e(5372)]).then(r.bind(r,95372)).then(f=>f.DfSchedulerDetailsComponent),resolve:{data:Et(0)},canActivate:[ze("scheduler")]},{path:":id",loadComponent:()=>Promise.all([r.e(1900),r.e(8337),r.e(6984),r.e(3695),r.e(2076),r.e(5372)]).then(r.bind(r,95372)).then(f=>f.DfSchedulerDetailsComponent),resolve:{data:Et(0),schedulerObject:Nt},canActivate:[ze("scheduler")]}],providers:[(0,at.bF)("scheduler")]},{path:M.b.FILE_LOGS,redirectTo:`/${M.b.ADMIN_SETTINGS}/${M.b.LOGS}`,pathMatch:"full",data:{navLinkPath:`/${M.b.ADMIN_SETTINGS}/${M.b.LOGS}`,navLabelPath:`/${M.b.SYSTEM_SETTINGS}/${M.b.FILE_LOGS}`}},{path:M.b.LOGS,children:je,data:{groups:U.H[M.b.LOGS]},resolve:{systemEvents:on},providers:[(0,at.bF)("services")]},{path:M.b.REPORTING,loadComponent:()=>Promise.all([r.e(1900),r.e(8337),r.e(8497),r.e(3756),r.e(3956),r.e(2076),r.e(485)]).then(r.bind(r,40485)).then(f=>f.DfManageServiceReportComponent),resolve:{data:()=>{const f=(0,a.WQX)(Ve.o),d=(0,a.WQX)(rt.Jc);return f.activatePaywall("service_report").pipe((0,j.n)(l=>l?(0,bt.of)("paywall"):d.getAll().pipe((0,V.W)(m=>(0,bt.of)((0,mt.WO)(m))))))}}},{path:M.b.DF_PLATFORM_APIS,children:je,data:{system:!0},providers:[(0,at.bF)("services")]}],canActivate:[dt,$,me,jt]},{path:M.b.ADMIN_SETTINGS,children:[{path:"",loadComponent:()=>Promise.all([r.e(7263),r.e(5969),r.e(214)]).then(r.bind(r,214)).then(f=>f.DfAdminSettingsOverviewComponent)},{path:M.b.ADMINS,children:[{path:"",loadComponent:()=>Promise.all([r.e(1900),r.e(8337),r.e(8497),r.e(3756),r.e(3956),r.e(2076),r.e(3649)]).then(r.bind(r,63649)).then(f=>f.DfManageAdminsComponent),resolve:{data:Ge()}},{path:M.b.CREATE,loadComponent:()=>Promise.all([r.e(8497),r.e(9167),r.e(3492),r.e(8001),r.e(5201),r.e(7303)]).then(r.bind(r,87303)).then(f=>f.DfAdminDetailsComponent),data:{type:"create"}},{path:":id",loadComponent:()=>Promise.all([r.e(8497),r.e(9167),r.e(3492),r.e(8001),r.e(5201),r.e(7303)]).then(r.bind(r,87303)).then(f=>f.DfAdminDetailsComponent),resolve:{data:Ge()},data:{type:"edit"}}],providers:[(0,at.bF)("admins"),(0,at.bF)("userManagement")],canActivate:[()=>{const f=(0,a.WQX)(Gt.T),d=(0,a.WQX)(T.Ix);return f.userData$.pipe((0,Zt.p)(l=>null!==l),(0,fe.s)(1),(0,J.T)(l=>!!l.isRootAdmin||d.createUrlTree([M.b.HOME])))}]},{path:M.b.SCHEMA,children:[{path:"",loadComponent:()=>Promise.all([r.e(1900),r.e(8337),r.e(8497),r.e(3756),r.e(3956),r.e(8272)]).then(r.bind(r,68272)).then(f=>f.DfManageDatabasesTableComponent),resolve:{data:Et()}},{path:":name",children:[{path:"",loadComponent:()=>Promise.all([r.e(1900),r.e(8337),r.e(8497),r.e(3756),r.e(3956),r.e(8328)]).then(r.bind(r,98328)).then(f=>f.DfManageTablesTableComponent),resolve:{data:f=>{const d=f.paramMap.get("name");return(0,a.WQX)(rt.qJ).get(`${d}/_schema`,{fields:["name","label"].join(",")}).pipe((0,V.W)(l=>(0,bt.of)((0,mt.WO)(l))))}}},{path:M.b.CREATE,children:[{path:"",loadComponent:()=>Promise.all([r.e(1900),r.e(8337),r.e(8497),r.e(3756),r.e(3956),r.e(6984),r.e(3695),r.e(8221)]).then(r.bind(r,88221)).then(f=>f.DfTableDetailsComponent),data:{type:"create"}},{path:":fieldName",loadComponent:()=>Promise.all([r.e(1900),r.e(8337),r.e(8497),r.e(8001),r.e(2076),r.e(2066)]).then(r.bind(r,42066)).then(f=>f.DfFieldDetailsComponent),data:{type:"edit"}}]},{path:":id",children:[{path:"",loadComponent:()=>Promise.all([r.e(1900),r.e(8337),r.e(8497),r.e(3756),r.e(3956),r.e(6984),r.e(3695),r.e(8221)]).then(r.bind(r,88221)).then(f=>f.DfTableDetailsComponent),resolve:{data:f=>{const d=f.paramMap.get("name")??"",l=f.paramMap.get("id")??"";return(0,a.WQX)(rt.qJ).get(`${d}/_schema/${l}?refresh=true`,{})}},data:{type:"edit"}},{path:M.b.FIELDS,children:[{path:"",redirectTo:M.b.CREATE,pathMatch:"full"},{path:M.b.CREATE,loadComponent:()=>Promise.all([r.e(1900),r.e(8337),r.e(8497),r.e(8001),r.e(2076),r.e(2066)]).then(r.bind(r,42066)).then(f=>f.DfFieldDetailsComponent),data:{type:"create"}},{path:":fieldName",loadComponent:()=>Promise.all([r.e(1900),r.e(8337),r.e(8497),r.e(8001),r.e(2076),r.e(2066)]).then(r.bind(r,42066)).then(f=>f.DfFieldDetailsComponent),data:{type:"edit"}}]},{path:M.b.RELATIONSHIPS,children:[{path:"",redirectTo:M.b.CREATE,pathMatch:"full"},{path:M.b.CREATE,loadComponent:()=>Promise.all([r.e(1900),r.e(3392)]).then(r.bind(r,23392)).then(f=>f.DfRelationshipDetailsComponent),resolve:{fields:gt,services:Et(0)},data:{type:"create"}},{path:":relName",loadComponent:()=>Promise.all([r.e(1900),r.e(3392)]).then(r.bind(r,23392)).then(f=>f.DfRelationshipDetailsComponent),resolve:{data:f=>{const d=f.paramMap.get("name")??"",l=f.paramMap.get("id")??"",m=f.paramMap.get("relName")??"";return(0,a.WQX)(rt.qJ).get(`${d}/_schema/${l}/_related/${m}`,{})},fields:gt,services:Et(0)},data:{type:"edit"}}]}]}]}],providers:[(0,at.bF)("schema")],data:{groups:["Database"],system:!1}},{path:M.b.SCHEMA_CONTRACTS,loadComponent:()=>Promise.all([r.e(1900),r.e(8337),r.e(8497),r.e(7263),r.e(3138),r.e(6984),r.e(2317),r.e(1068)]).then(r.bind(r,71068)).then(f=>f.DfManageSchemaContractsComponent),data:{groups:["Database"],system:!1}},{path:M.b.USERS,children:[{path:"",loadComponent:()=>Promise.all([r.e(1900),r.e(8337),r.e(8497),r.e(3756),r.e(3956),r.e(2076),r.e(5624)]).then(r.bind(r,35624)).then(f=>f.DfManageUsersComponent),resolve:{data:_e()}},{path:M.b.CREATE,loadComponent:()=>Promise.all([r.e(8497),r.e(9167),r.e(3492),r.e(8001),r.e(5201),r.e(5469)]).then(r.bind(r,25469)).then(f=>f.DfUserDetailsComponent),data:{type:"create"},resolve:{apps:$t(0),roles:ye(0)}},{path:":id",loadComponent:()=>Promise.all([r.e(8497),r.e(9167),r.e(3492),r.e(8001),r.e(5201),r.e(5469)]).then(r.bind(r,25469)).then(f=>f.DfUserDetailsComponent),resolve:{data:f=>{const d=(0,a.WQX)(rt.Yh),l=f.paramMap.get("id");if(l)return d.get(l,{related:"lookup_by_user_id,user_to_app_to_role_by_user_id"})},apps:$t(0),roles:ye(0)},data:{type:"edit"}}],providers:[(0,at.bF)("users"),(0,at.bF)("roles"),(0,at.bF)("userManagement")]},{path:M.b.FILES,data:{type:"files"},children:[{path:"",pathMatch:"full",loadComponent:()=>Promise.all([r.e(1900),r.e(8337),r.e(8497),r.e(3756),r.e(3956),r.e(6968)]).then(r.bind(r,16968)).then(f=>f.DfFilesComponent),resolve:{data:X}},{path:":entity",loadComponent:()=>Promise.all([r.e(1900),r.e(8337),r.e(8497),r.e(3756),r.e(3956),r.e(6968)]).then(r.bind(r,16968)).then(f=>f.DfFilesComponent),resolve:{data:ft}}],providers:[(0,at.bF)("files")]},{path:M.b.LOGS,data:{type:"logs"},children:[{path:"",pathMatch:"full",loadComponent:()=>Promise.all([r.e(1900),r.e(8337),r.e(8497),r.e(3756),r.e(3956),r.e(6968)]).then(r.bind(r,16968)).then(f=>f.DfFilesComponent),resolve:{data:X}},{path:`${M.b.VIEW}/:entity`,loadComponent:()=>Promise.all([r.e(3695),r.e(3678)]).then(r.bind(r,63678)).then(f=>f.DfLogViewerComponent),resolve:{data:f=>{const d=f.paramMap.get("entity")??"";return(0,a.WQX)(rt.qJ).downloadFile(`${f.data.type}/${d}`).pipe((0,j.n)(L=>(0,tt.Sj)(L)))}}},{path:":entity",loadComponent:()=>Promise.all([r.e(1900),r.e(8337),r.e(8497),r.e(3756),r.e(3956),r.e(6968)]).then(r.bind(r,16968)).then(f=>f.DfFilesComponent),resolve:{data:ft}}],providers:[(0,at.bF)("files")]}],canActivate:[dt,$,me,jt]},{path:M.b.AI,children:[{path:"",loadComponent:()=>Promise.all([r.e(7263),r.e(5969),r.e(6557)]).then(r.bind(r,6557)).then(f=>f.DfAiSetupComponent)},{path:M.b.AI_SETUP,loadComponent:()=>Promise.all([r.e(7263),r.e(5969),r.e(6557)]).then(r.bind(r,6557)).then(f=>f.DfAiSetupComponent)},{path:M.b.AI_CONNECTIONS,children:je,data:{groups:U.H[M.b.AI_CONNECTIONS]}},{path:M.b.AI_USAGE,loadComponent:()=>Promise.all([r.e(1900),r.e(8337),r.e(3138),r.e(8781),r.e(2317),r.e(2076),r.e(669)]).then(r.bind(r,30669)).then(f=>f.DfAiUsageComponent)},{path:M.b.AI_CHAT_UI,children:[{path:"",loadComponent:()=>Promise.all([r.e(1900),r.e(7263),r.e(2967),r.e(2076),r.e(7129)]).then(r.bind(r,27129)).then(f=>f.DfAiChatComponent)},{path:":sessionId",loadComponent:()=>Promise.all([r.e(1900),r.e(7263),r.e(2967),r.e(2076),r.e(7129)]).then(r.bind(r,27129)).then(f=>f.DfAiChatComponent)}]},{path:M.b.AI_MCP,children:je,data:{groups:U.H[M.b.AI_MCP]}},{path:M.b.AI_CHAT_SERVICES,children:je,data:{groups:U.H[M.b.AI_CHAT_SERVICES]}}],canActivate:[dt,$,me,jt],providers:[(0,at.bF)("services")]},{path:M.b.PROFILE,loadComponent:()=>Promise.all([r.e(6984),r.e(870)]).then(r.bind(r,70870)).then(f=>f.DfProfileComponent),resolve:{data:()=>(0,a.WQX)(be.H).getProfile()},canActivate:[dt,$,me,jt],providers:[be.H,Me.p,(0,at.bF)("userManagement")]}],xt=[M.b.CREATE,M.b.IMPORT,M.b.EDIT,M.b.AUTH,M.b.AI_SETUP,M.b.PROFILE,M.b.VIEW,M.b.ERROR,M.b.LICENSE_EXPIRED,M.b.TRIAL_EXPIRED],Jt=["home","ai","admin-settings","api-connections","api-security","system-settings","api-builder","agents","alerts"];function Fe(f,d=""){return f.filter(l=>l.path&&!l.path.includes(":")&&!xt.includes(l.path)).map(l=>{const m={...l.data?.navLinkPath?{linkPath:l.data.navLinkPath}:{},...l.data?.navLabelPath?{labelPath:l.data.navLabelPath}:{}},L=""===d?Ze(l):"";if(l.children){const R=Fe(l.children,`${d}/${l.path}`);return{path:`${d}/${l.path}`,...m,subRoutes:R.length?R:void 0,route:l.path,icon:L}}return{path:`${d}/${l.path}`,...m,route:l.path,icon:L}})}const Ze=f=>Jt.includes(f.path)?`assets/img/nav/${f?.path}.svg`:"";function xn(f,d){const l=[M.b.SYSTEM_INFO,M.b.AI,M.b.AI_SETUP,M.b.AI_CONNECTIONS,M.b.AI_CHAT_SERVICES,M.b.AI_CHAT_UI,M.b.AI_USAGE,M.b.AI_MCP];return d?.forEach(m=>{switch(m){case"apps":l.push(M.b.API_KEYS);break;case"users":l.push(M.b.USERS);break;case"roles":l.push(M.b.ROLE_BASED_ACCESS);break;case"services":l.push(M.b.DATABASE,M.b.SCRIPTING,M.b.NETWORK,M.b.FILE,M.b.UTILITY,M.b.AUTHENTICATION,M.b.DF_PLATFORM_APIS);break;case"apidocs":l.push(M.b.API_DOCS,M.b.DATA_EXPLORER);break;case"schema/data":l.push(M.b.SCHEMA);break;case"files":l.push(M.b.FILES,M.b.FILE_LOGS);break;case"scripts":l.push(M.b.EVENT_SCRIPTS);break;case"config":l.push(M.b.CORS,M.b.CACHE,M.b.CONFIG_PACKAGE,M.b.EMAIL_TEMPLATES,M.b.GLOBAL_LOOKUP_KEYS,M.b.INTERCOM);break;case"limits":l.push(M.b.RATE_LIMITING);break;case"scheduler":l.push(M.b.SCHEDULER)}}),f.filter(m=>m.subRoutes?(m.subRoutes=xn(m.subRoutes,d),m.subRoutes.length):l.includes(m.route))}const Ie=["name","label","email","username"],Nn=["data","appData"];var I=r(45318),_t=r(11224),Q=r(62633),Mt=r(78227),Wt=r(54688),se=r(453),De=r(97828),ve=r(85390),Ye=r(14087),tn=r(88236);r(69099);let ln=class N5{constructor(d,l,m,L,R,ht,Pt,Ft,qt){this.adminService=d,this.userService=l,this.servicesService=m,this.serviceTypeService=L,this.roleService=R,this.appService=ht,this.eventScriptService=Pt,this.limitService=Ft,this.emailTemplatesService=qt,this.resultsSubject=new ve.t([]),this.results$=this.resultsSubject.asObservable(),this.recentsSubject=new ve.t([]),this.recents$=this.recentsSubject.asObservable(),this.results$.subscribe(Ae=>{Ae.length&&this.recentsSubject.next(Ae)})}search(d){const l=[];return this.resultsSubject.next(l),(0,oe.p)({admins:this.adminService.getAll({limit:0,includeCount:!1,filter:(0,tn.J)("user")(d),errorHandling:"silent"}).pipe((0,V.W)(()=>(0,bt.of)(null)),(0,Ye.M)(m=>{m&&m.resource&&m.resource.length&&(l.push({path:`${M.b.ADMIN_SETTINGS}/${M.b.ADMINS}`,items:m.resource.map(L=>({label:L.name,segment:L.id}))}),this.resultsSubject.next(l))})),users:this.userService.getAll({limit:0,includeCount:!1,filter:(0,tn.J)("user")(d),errorHandling:"silent"}).pipe((0,V.W)(()=>(0,bt.of)(null)),(0,Ye.M)(m=>{m&&m.resource&&m.resource.length&&(l.push({path:`${M.b.ADMIN_SETTINGS}/${M.b.USERS}`,items:m.resource.map(L=>({label:L.name,segment:L.id}))}),this.resultsSubject.next(l))})),services:(0,oe.p)({services:this.servicesService.getAll({limit:0,includeCount:!1,filter:(0,tn.J)("services")(d),errorHandling:"silent"}),serviceTypes:this.serviceTypeService.getAll({errorHandling:"silent"})}).pipe((0,V.W)(()=>(0,bt.of)(null)),(0,Ye.M)(m=>{if(m&&m.serviceTypes){const L=m.services.resource.reduce((Ft,qt)=>(Ft[qt.type]||(Ft[qt.type]=[]),Ft[qt.type].push(qt),Ft),{}),R={};m.serviceTypes.resource.forEach(Ft=>{const qt=this.getServiceRoute(Ft.group);qt&&(R[Ft.name]=qt)});const ht={};for(const[Ft,qt]of Object.entries(L)){const Ae=R[Ft];ht[Ae]||(ht[Ae]=[]),ht[Ae].push(...qt)}Object.entries(ht).map(([Ft,qt])=>({route:Ft,services:qt})).filter(Ft=>Ft.services.length>0&&"undefined"!==Ft.route).forEach(Ft=>l.push({path:Ft.route,items:Ft.services.map(qt=>({label:qt.name,segment:qt.id}))})),m.services.resource.length&&l.push({path:`${M.b.API_CONNECTIONS}/${M.b.API_DOCS}`,items:m.services.resource.map(Ft=>({label:Ft.name,segment:Ft.name}))}),m.serviceTypes.resource.filter(Ft=>Ft.name.includes(d.toLowerCase())).forEach(Ft=>{const qt=this.getServiceRoute(Ft.group);qt&&l.push({path:qt,items:[{label:Ft.label,segment:M.b.CREATE}]})}),this.resultsSubject.next(l)}})),roles:this.roleService.getAll({limit:0,includeCount:!1,filter:(0,tn.J)("roles")(d),errorHandling:"silent"}).pipe((0,V.W)(()=>(0,bt.of)(null)),(0,Ye.M)(m=>{m&&m.resource&&m.resource.length&&(l.push({path:`${M.b.API_CONNECTIONS}/${M.b.ROLE_BASED_ACCESS}`,items:m.resource.map(L=>({label:L.name,segment:L.id}))}),this.resultsSubject.next(l))})),apps:this.appService.getAll({limit:0,includeCount:!1,filter:(0,tn.J)("apps")(d),errorHandling:"silent"}).pipe((0,V.W)(()=>(0,bt.of)(null)),(0,Ye.M)(m=>{m&&m.resource&&m.resource.length&&(l.push({path:`${M.b.API_CONNECTIONS}/${M.b.API_KEYS}`,items:m.resource.map(L=>({label:L.name,segment:L.id}))}),this.resultsSubject.next(l))})),eventScripts:this.eventScriptService.getAll({limit:0,includeCount:!1,filter:(0,tn.J)("eventScripts")(d),errorHandling:"silent"}).pipe((0,V.W)(()=>(0,bt.of)(null)),(0,Ye.M)(m=>{m&&m.resource&&m.resource.length&&(l.push({path:`${M.b.API_CONNECTIONS}/${M.b.EVENT_SCRIPTS}`,items:m.resource.map(L=>({label:L.name,segment:L.name}))}),this.resultsSubject.next(l))})),limits:this.limitService.getAll({limit:0,includeCount:!1,filter:(0,tn.J)("limits")(d),errorHandling:"silent"}).pipe((0,V.W)(()=>(0,bt.of)(null)),(0,Ye.M)(m=>{m&&m.resource&&m.resource.length&&(l.push({path:`${M.b.API_SECURITY}/${M.b.RATE_LIMITING}`,items:m.resource.map(L=>({label:L.name,segment:L.id}))}),this.resultsSubject.next(l))})),emailTemplates:this.emailTemplatesService.getAll({limit:0,includeCount:!1,filter:(0,tn.J)("emailTemplates")(d),errorHandling:"silent"}).pipe((0,V.W)(()=>(0,bt.of)(null)),(0,Ye.M)(m=>{m&&m.resource&&m.resource.length&&(l.push({path:`${M.b.SYSTEM_SETTINGS}/${M.b.CONFIG}/${M.b.EMAIL_TEMPLATES}`,items:m.resource.map(L=>({label:L.name,segment:L.id}))}),this.resultsSubject.next(l))}))})}getServiceRoute(d){const l=`${M.b.API_CONNECTIONS}/${M.b.API_TYPES}`;return[{route:`${l}/${M.b.DATABASE}`,types:U.H[M.b.DATABASE]},{route:`${l}/${M.b.SCRIPTING}`,types:U.H[M.b.SCRIPTING]},{route:`${l}/${M.b.NETWORK}`,types:U.H[M.b.NETWORK]},{route:`${l}/${M.b.FILE}`,types:U.H[M.b.FILE]},{route:`${l}/${M.b.UTILITY}`,types:U.H[M.b.UTILITY]},{route:`${M.b.API_SECURITY}/${M.b.AUTHENTICATION}`,types:U.H[M.b.AUTHENTICATION]},{route:`${M.b.SYSTEM_SETTINGS}/${M.b.LOGS}`,types:U.H[M.b.LOGS]}].find(L=>L.types.includes(d))?.route}static{this.\u0275fac=function(l){return new(l||N5)(a.KVO(rt.ir),a.KVO(rt.Yh),a.KVO(rt.Z1),a.KVO(rt.zs),a.KVO(rt.h1),a.KVO(rt.u7),a.KVO(rt.NO),a.KVO(rt.gu),a.KVO(rt.F8))}}static{this.\u0275prov=a.jDH({token:N5,factory:N5.\u0275fac,providedIn:"root"})}};ln=(0,y.Cg)([(0,De.d)({checkProperties:!0})],ln);var Dn=r(8818),Fn=r(19206);function Mn(f,d){1&f&&a.nrm(0,"ng-component")}const In=function(f){return{resultArray:f}};function li(f,d){if(1&f&&(a.qex(0),a.DNE(1,Mn,1,0,"ng-component",10),a.nI1(2,"async"),a.bVm()),2&f){const l=a.XpG(),m=a.sdS(13);a.R7$(1),a.Y8G("ngTemplateOutlet",m)("ngTemplateOutletContext",a.eq3(4,In,a.bMT(2,2,l.results$)))}}function yi(f,d){1&f&&a.nrm(0,"ng-component")}function Bn(f,d){if(1&f&&(a.DNE(0,yi,1,0,"ng-component",10),a.nI1(1,"async")),2&f){const l=a.XpG(),m=a.sdS(13);a.Y8G("ngTemplateOutlet",m)("ngTemplateOutletContext",a.eq3(4,In,a.bMT(1,2,l.recents$)))}}function Jn(f,d){if(1&f&&a.nrm(0,"fa-icon",16),2&f){const l=a.XpG(4);a.Y8G("icon",l.faPlus)}}function Mi(f,d){if(1&f){const l=a.RV6();a.j41(0,"li")(1,"button",14),a.bIt("click",function(){const R=a.eBV(l).$implicit,ht=a.XpG().$implicit,Pt=a.XpG(2);return a.Njj(Pt.navigate(ht.path+"/"+R.segment))}),a.DNE(2,Jn,1,1,"fa-icon",15),a.EFF(3),a.k0s()()}if(2&f){const l=d.$implicit;a.R7$(2),a.Y8G("ngIf","create"===l.segment),a.R7$(1),a.SpI(" ",l.label," ")}}function pi(f,d){if(1&f&&(a.j41(0,"ul",12)(1,"li"),a.EFF(2),a.nI1(3,"transloco"),a.j41(4,"ul"),a.DNE(5,Mi,4,2,"li",13),a.k0s()()()),2&f){const l=d.$implicit,m=a.XpG(2);a.R7$(2),a.SpI(" ",a.bMT(3,3,m.getTranslationKey(l.path))," "),a.R7$(3),a.Y8G("ngForOf",l.items)("ngForTrackBy",m.trackByItemSegment)}}function Fi(f,d){if(1&f&&a.DNE(0,pi,6,5,"ul",11),2&f){const l=d.resultArray,m=a.XpG();a.Y8G("ngForOf",l)("ngForTrackBy",m.trackByResultPath)}}let oi=class Zb{constructor(d,l,m,L,R){this.dialogRef=d,this.searchService=l,this.router=m,this.breakpointService=L,this.themeService=R,this.search=new Mt.MJ,this.results$=this.searchService.results$,this.recents$=this.searchService.recents$,this.smallScreen$=this.breakpointService.isSmallScreen,this.faPlus=K.QLR,this.isDarkMode=this.themeService.darkMode$}getTranslationKey(d){return`nav.${d.replaceAll("/",".")}.nav`}ngOnInit(){this.search.valueChanges.pipe((0,I.B)(2e3),(0,_t.F)(),(0,j.n)(d=>this.searchService.search(d))).subscribe()}trackByResultPath(d,l){return l.path}trackByItemSegment(d,l){return l.segment??l.label??""}navigate(d){this.router.navigate([d]),this.dialogRef.close()}static{this.\u0275fac=function(l){return new(l||Zb)(a.rXU(Q.CP),a.rXU(ln),a.rXU(T.Ix),a.rXU(Dn.R),a.rXU(Fn.n))}}static{this.\u0275cmp=a.VBU({type:Zb,selectors:[["df-search-dialog"]],standalone:!0,features:[a.aNF],decls:18,vars:13,consts:[[1,"search-dialog"],["mat-dialog-title","",1,"search-bar"],["appearance","outline","subscriptSizing","dynamic",1,"search-input"],["matInput","",3,"formControl"],["mat-dialog-content","",1,"search-container"],[4,"ngIf","ngIfElse"],["recent",""],["results",""],["mat-dialog-actions","",1,"search-action"],["mat-button","",1,"close-btn",3,"mat-dialog-close"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],["class","result-groups",4,"ngFor","ngForOf","ngForTrackBy"],[1,"result-groups"],[4,"ngFor","ngForOf","ngForTrackBy"],["color","primary","mat-stroked-button","",1,"result-item",3,"click"],[3,"icon",4,"ngIf"],[3,"icon"]],template:function(l,m){if(1&l&&(a.j41(0,"div",0)(1,"div",1)(2,"mat-form-field",2)(3,"mat-label"),a.EFF(4),a.nI1(5,"transloco"),a.k0s(),a.nrm(6,"input",3),a.k0s()(),a.j41(7,"div",4),a.nI1(8,"async"),a.DNE(9,li,3,6,"ng-container",5),a.DNE(10,Bn,2,6,"ng-template",null,6,a.C5r),a.DNE(12,Fi,1,2,"ng-template",null,7,a.C5r),a.k0s(),a.j41(14,"div",8)(15,"button",9),a.EFF(16),a.nI1(17,"transloco"),a.k0s()()()),2&l){const L=a.sdS(11);a.R7$(4),a.JRh(a.bMT(5,7,"search")),a.R7$(2),a.Y8G("formControl",m.search),a.R7$(1),a.AVh("small",a.bMT(8,9,m.smallScreen$)),a.R7$(2),a.Y8G("ngIf",m.search.value)("ngIfElse",L),a.R7$(7),a.SpI(" ",a.bMT(17,11,"close")," ")}},dependencies:[Q.hM,Q.tx,Q.BI,Q.Yi,Q.E7,at.Kj,Wt.RG,Wt.rl,Wt.nJ,se.fS,se.fg,k.Hl,k.$z,Mt.X1,Mt.me,Mt.BC,Mt.l_,b.pM,T.iI,T.we,b.Jj,b.bT,b.T3,q.dX,q.aY],styles:["[_nghost-%COMP%]{display:block;background:var(--df-surface);color:var(--df-text);--mdc-dialog-subhead-color: var(--df-text);--mdc-dialog-supporting-text-color: var(--df-text-2)}mat-dialog-actions[_ngcontent-%COMP%], [mat-dialog-actions][_ngcontent-%COMP%]{border-top:1px solid var(--df-border-2)}.search-dialog[_ngcontent-%COMP%]{padding-top:20px}.search-bar[_ngcontent-%COMP%]{min-width:275px}.search-container[_ngcontent-%COMP%]{max-height:500px;min-width:425px;overflow:auto}.search-container.small[_ngcontent-%COMP%]{min-width:300px}.search-container[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{list-style-type:none;padding-left:0}.result-groups[_ngcontent-%COMP%] > li[_ngcontent-%COMP%]{font-size:11px;font-weight:600;text-transform:uppercase;letter-spacing:.06em;color:var(--df-text-muted)}.result-groups[_ngcontent-%COMP%] > li[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{margin-top:4px;font-size:1.4rem;font-weight:400;text-transform:none;letter-spacing:normal}.result-item[_ngcontent-%COMP%]{width:100%;justify-content:left;margin:2px 0}"]})}};oi=(0,y.Cg)([(0,De.d)({checkProperties:!0})],oi);var Ti=r(60368);let Mo=(()=>{class f{constructor(){this.isDarkMode$=new ve.t(!0),this.themeService=(0,a.WQX)(Fn.n),this.transloco=(0,a.WQX)(at.JO)}toggle(){this.isDarkMode$.subscribe(l=>{this.themeService.setThemeMode(!l)}),this.isDarkMode$.next(!this.isDarkMode$.value)}togglePhosphor(){const l=!this.themeService.phosphor$.value;this.themeService.setPhosphorMode(l),l&&this.playBootSequence()}playBootSequence(){if(typeof document>"u"||document.querySelector(".phosphor-boot"))return;const l=typeof window<"u"&&window.matchMedia&&window.matchMedia("(prefers-reduced-motion: reduce)").matches,m=this.transloco.translate("phosphor.boot"),L=m&&"phosphor.boot"!==m?m:"SHALL WE PLAY A GAME?",R=document.createElement("div");R.className="phosphor-boot";const ht=document.createElement("div");ht.className="phosphor-boot__scanline";const Pt=document.createElement("div");Pt.className="phosphor-boot__line",Pt.textContent=L,Pt.style.setProperty("--boot-w",`${L.length}ch`),l||(Pt.style.animation=`phosphor-boot-type 0.9s steps(${L.length}, end) 0.4s forwards, phosphor-boot-caret 0.6s step-end 0.4s 4`),R.appendChild(ht),R.appendChild(Pt),document.body.appendChild(R);let Ft=!1;const qt=()=>Ae(),Ae=()=>{Ft||(Ft=!0,window.removeEventListener("click",qt,!0),window.removeEventListener("keydown",qt,!0),R.classList.add("phosphor-boot--out"),window.setTimeout(()=>R.remove(),320))},$e=()=>{Ft||(window.addEventListener("click",qt,!0),window.addEventListener("keydown",qt,!0))};"function"==typeof window.requestAnimationFrame?window.requestAnimationFrame($e):window.setTimeout($e,0),window.setTimeout(Ae,l?450:1500)}static{this.\u0275fac=function(m){return new(m||f)}}static{this.\u0275cmp=a.VBU({type:f,selectors:[["df-theme-toggle"]],standalone:!0,features:[a.aNF],decls:4,vars:3,consts:[["color","primary",3,"checked","change"],["type","button","title","Phosphor mode","aria-label","Toggle phosphor mode",1,"phosphor-toggle",3,"click"]],template:function(m,L){1&m&&(a.j41(0,"mat-slide-toggle",0),a.bIt("change",function(){return L.toggle()}),a.nI1(1,"async"),a.k0s(),a.j41(2,"button",1),a.bIt("click",function(){return L.togglePhosphor()}),a.EFF(3," >_\n"),a.k0s()),2&m&&a.Y8G("checked",a.bMT(1,1,L.isDarkMode$))},dependencies:[Ti.mV,Ti.sG,b.Jj],styles:["[_nghost-%COMP%]{display:inline-flex;align-items:center;gap:4px}.phosphor-toggle[_ngcontent-%COMP%]{font-family:SFMono-Regular,Menlo,Consolas,monospace;font-size:12px;font-weight:700;line-height:1;min-width:30px;height:30px;padding:0 6px;border-radius:6px;border:1px solid transparent;background:transparent;color:var(--df-text-muted);cursor:pointer}.phosphor-toggle[_ngcontent-%COMP%]:hover{border-color:var(--df-border);color:var(--df-text)}.phosphor-theme[_nghost-%COMP%] .phosphor-toggle[_ngcontent-%COMP%], .phosphor-theme [_nghost-%COMP%] .phosphor-toggle[_ngcontent-%COMP%]{color:#3f6;border-color:#3f66;text-shadow:0 0 5px rgba(51,255,102,.5)}"]})}}return f})();var si=r(10056),Zc=r(3819),dc=r(86953),kr=r(83607),uo=r(62572),Jo=r(68686);const uc="df.commandPalette.recents",Jc=["action","service","role","key","mcp","doc"],Oi={action:"commandPalette.groups.actions",service:"commandPalette.groups.services",role:"commandPalette.groups.roles",key:"commandPalette.groups.keys",mcp:"commandPalette.groups.mcp",doc:"commandPalette.groups.docs"};let mc=(()=>{class f{constructor(){this.http=(0,a.WQX)(uo.Qq),this.objects$=new ve.t([]),this.loaded=!1,this.verbs=[{id:"verb.new-service",kind:"action",label:"New service",sublabel:"Connect a datasource",path:`/${M.b.API_CONNECTIONS}/${M.b.API_TYPES}/${M.b.DATABASE}/${M.b.CREATE}`,keywords:"create add api database connection datasource generate"},{id:"verb.new-role",kind:"action",label:"New role",sublabel:"Scope access for a caller",path:`/${M.b.API_CONNECTIONS}/${M.b.ROLE_BASED_ACCESS}/${M.b.CREATE}`,keywords:"create add rbac permission scope access"},{id:"verb.new-key",kind:"action",label:"New API key",sublabel:"Mint a caller credential",path:`/${M.b.API_CONNECTIONS}/${M.b.API_KEYS}/${M.b.CREATE}`,keywords:"create add app token credential apikey"},{id:"verb.expose-mcp",kind:"action",label:"Expose as MCP",sublabel:"Serve a service to agents",path:`/${M.b.AI}/${M.b.AI_MCP}`,keywords:"mcp tool agent model context protocol ai"},{id:"verb.view-logs",kind:"action",label:"View logs",sublabel:"System log stream",path:`/${M.b.SYSTEM_SETTINGS}/${M.b.LOGS}`,keywords:"log debug trace error output"},{id:"verb.new-limit",kind:"action",label:"New rate limit",sublabel:"Cap requests on a path",path:`/${M.b.API_SECURITY}/${M.b.RATE_LIMITING}/${M.b.CREATE}`,keywords:"create add throttle 429 limit quota"},{id:"verb.new-script",kind:"action",label:"New event script",sublabel:"Hook a request lifecycle event",path:`/${M.b.API_CONNECTIONS}/${M.b.EVENT_SCRIPTS}/${M.b.CREATE}`,keywords:"create add hook lifecycle php python nodejs"}],this.jumps=[{id:"jump.home",kind:"doc",label:"Home",path:`/${M.b.HOME}`,keywords:"dashboard start overview"},{id:"jump.api-connections",kind:"doc",label:"API Connections",path:`/${M.b.API_CONNECTIONS}`,keywords:"services build database"},{id:"jump.api-docs",kind:"doc",label:"API Docs",path:`/${M.b.API_CONNECTIONS}/${M.b.API_DOCS}`,keywords:"swagger openapi try reference"},{id:"jump.roles",kind:"doc",label:"Roles",path:`/${M.b.API_CONNECTIONS}/${M.b.ROLE_BASED_ACCESS}`,keywords:"rbac access permission scope"},{id:"jump.keys",kind:"doc",label:"API Keys",path:`/${M.b.API_CONNECTIONS}/${M.b.API_KEYS}`,keywords:"apps tokens credentials"},{id:"jump.rate-limiting",kind:"doc",label:"Rate Limiting",path:`/${M.b.API_SECURITY}/${M.b.RATE_LIMITING}`,keywords:"throttle quota 429 security"},{id:"jump.ai",kind:"doc",label:"AI Gateway",path:`/${M.b.AI}`,keywords:"llm model agent chat"},{id:"jump.ai-usage",kind:"doc",label:"AI Usage",path:`/${M.b.AI}/${M.b.AI_USAGE}`,keywords:"cost spend tokens metering"},{id:"jump.event-scripts",kind:"doc",label:"Event Scripts",path:`/${M.b.API_CONNECTIONS}/${M.b.EVENT_SCRIPTS}`,keywords:"hooks lifecycle scripting"},{id:"jump.scheduler",kind:"doc",label:"Scheduler",path:`/${M.b.SYSTEM_SETTINGS}/${M.b.SCHEDULER}`,keywords:"cron task job schedule"},{id:"jump.logs",kind:"doc",label:"Logs",path:`/${M.b.SYSTEM_SETTINGS}/${M.b.LOGS}`,keywords:"debug trace output"},{id:"jump.admins",kind:"doc",label:"Admins",path:`/${M.b.ADMIN_SETTINGS}/${M.b.ADMINS}`,keywords:"administrators team users"},{id:"jump.users",kind:"doc",label:"Users",path:`/${M.b.ADMIN_SETTINGS}/${M.b.USERS}`,keywords:"accounts people"}]}refresh(){return(0,oe.p)({services:this.http.get(`${Jo.C}/system/service`,{params:{fields:"id,name,label,type",sort:"name",limit:"500"}}).pipe((0,V.W)(()=>(0,bt.of)({resource:[]}))),roles:this.http.get(`${Jo.C}/system/role`,{params:{fields:"id,name,description",sort:"name",limit:"500"}}).pipe((0,V.W)(()=>(0,bt.of)({resource:[]}))),apps:this.http.get(`${Jo.C}/system/app`,{params:{fields:"id,name,description",sort:"name",limit:"500"}}).pipe((0,V.W)(()=>(0,bt.of)({resource:[]})))}).pipe((0,J.T)(({services:l,roles:m,apps:L})=>{const R=[];for(const ht of l.resource??[])R.push({id:`service.${ht.id}`,kind:"mcp"===ht.type?"mcp":"service",label:ht.label||ht.name,sublabel:ht.type,path:`/${M.b.API_CONNECTIONS}/${M.b.API_DOCS}/${ht.name}`,keywords:`${ht.name} ${ht.type}`});for(const ht of m.resource??[])R.push({id:`role.${ht.id}`,kind:"role",label:ht.name,sublabel:ht.description||void 0,path:`/${M.b.API_CONNECTIONS}/${M.b.ROLE_BASED_ACCESS}/${ht.id}`,keywords:"role rbac access"});for(const ht of L.resource??[])R.push({id:`key.${ht.id}`,kind:"key",label:ht.name,sublabel:ht.description||void 0,path:`/${M.b.API_CONNECTIONS}/${M.b.API_KEYS}/${ht.id}`,keywords:"api key app token credential"});return R}),(0,Ye.M)(l=>{this.objects$.next(l),this.loaded=!0}))}all(){return[...this.verbs,...this.objects$.value,...this.jumps]}query(l){const m=l.trim().toLowerCase();if(!m)return[];const L=this.all().map(ht=>({item:ht,score:this.score(m,ht)})).filter(ht=>ht.score>0).sort((ht,Pt)=>Pt.score-ht.score),R=new Map;for(const{item:ht}of L){const Pt=R.get(ht.kind)??[];Pt.length<8&&(Pt.push(ht),R.set(ht.kind,Pt))}return Jc.filter(ht=>R.has(ht)).map(ht=>({kind:ht,labelKey:Oi[ht],items:R.get(ht)}))}emptyState(l){const m=[],L=this.getRecents();L.length&&m.push({kind:"doc",labelKey:"commandPalette.groups.recent",items:L});const R=this.suggestFor(l);return R.length&&m.push({kind:"action",labelKey:"commandPalette.groups.suggested",items:R}),m}suggestFor(l){const m=ht=>this.verbs.find(Pt=>Pt.id===ht),L=ht=>this.jumps.find(Pt=>Pt.id===ht);let R;return R=l.includes(M.b.API_KEYS)?[m("verb.new-key"),L("jump.roles"),m("verb.new-role")]:l.includes(M.b.ROLE_BASED_ACCESS)?[m("verb.new-role"),m("verb.new-key"),L("jump.ai")]:l.includes(M.b.AI)?[m("verb.expose-mcp"),L("jump.ai-usage"),L("jump.roles")]:l.includes(M.b.RATE_LIMITING)?[m("verb.new-limit"),L("jump.roles"),m("verb.view-logs")]:l.includes(M.b.API_DOCS)?[m("verb.new-key"),m("verb.new-role"),L("jump.ai")]:[m("verb.new-service"),m("verb.new-key"),L("jump.ai")],R.filter(ht=>!!ht)}score(l,m){const L=m.label.toLowerCase(),R=`${L} ${m.keywords??""}`.toLowerCase();if(L.startsWith(l))return 1e3-L.length;if(L.includes(l))return 700-L.indexOf(l);let ht=0,Pt=0,Ft=0,qt=0;for(let Ae=0;Ae0?(Ft++,Pt+=8+2*Ft):(Ft=0,Pt+=0===mn||" "===R[mn-1]?6:2),ht=mn+1}return qt===l.length?Math.max(1,Pt):0}getRecents(){try{const l=localStorage.getItem(uc);if(!l)return[];const m=JSON.parse(l);return Array.isArray(m)?m:[]}catch{return[]}}pushRecent(l){try{const m=[l,...this.getRecents().filter(L=>L.id!==l.id)].slice(0,6);localStorage.setItem(uc,JSON.stringify(m))}catch{}}get isLoaded(){return this.loaded}static{this.\u0275fac=function(m){return new(m||f)}}static{this.\u0275prov=a.jDH({token:f,factory:f.\u0275fac,providedIn:"root"})}}return f})();const Bo=["searchInput"],Vo=["list"];function Ec(f,d){if(1&f&&(a.j41(0,"span",22),a.EFF(1),a.k0s()),2&f){const l=a.XpG().$implicit;a.R7$(1),a.JRh(l.sublabel)}}function Bc(f,d){if(1&f){const l=a.RV6();a.j41(0,"button",16),a.bIt("click",function(){const R=a.eBV(l).$implicit,ht=a.XpG(3);return a.Njj(ht.run(R))}),a.nrm(1,"fa-icon",17),a.j41(2,"span",18)(3,"span",19),a.EFF(4),a.k0s(),a.DNE(5,Ec,2,1,"span",20),a.k0s(),a.nrm(6,"fa-icon",21),a.k0s()}if(2&f){const l=d.$implicit,m=a.XpG(3);a.AVh("active",m.isActive(l)),a.BMQ("aria-selected",m.isActive(l)),a.R7$(1),a.HbH("palette-option__icon--"+l.kind),a.Y8G("icon",m.icon(l.kind)),a.R7$(3),a.JRh(l.label),a.R7$(1),a.Y8G("ngIf",l.sublabel),a.R7$(1),a.Y8G("icon",m.faArrowRight)}}function Ji(f,d){if(1&f&&(a.j41(0,"div",13)(1,"div",14),a.EFF(2),a.nI1(3,"transloco"),a.k0s(),a.DNE(4,Bc,7,9,"button",15),a.k0s()),2&f){const l=d.$implicit,m=a.XpG(2);a.R7$(2),a.JRh(a.bMT(3,3,l.labelKey)),a.R7$(2),a.Y8G("ngForOf",l.items)("ngForTrackBy",m.trackByItem)}}function fc(f,d){if(1&f&&(a.qex(0),a.DNE(1,Ji,5,5,"div",12),a.bVm()),2&f){const l=a.XpG();a.R7$(1),a.Y8G("ngForOf",l.groups)("ngForTrackBy",l.trackByGroup)}}function Uo(f,d){1&f&&(a.j41(0,"div",23),a.EFF(1),a.nI1(2,"transloco"),a.k0s()),2&f&&(a.R7$(1),a.SpI(" ",a.bMT(2,1,"commandPalette.noResults")," "))}let Lo=class Jb{constructor(){this.registry=(0,a.WQX)(mc),this.router=(0,a.WQX)(T.Ix),this.currentUrl="/",this.search=new Mt.MJ("",{nonNullable:!0}),this.groups=[],this.flat=[],this.emptyState=!0,this.faMagnifyingGlass=K.$UM,this.faArrowRight=K.dmS,this.kindIcon={action:K.zm_,service:K.hem,role:K.CN3,key:K.bMg,mcp:K.QtJ,doc:K.LBj},this.trackByGroup=(d,l)=>l.kind+l.labelKey,this.trackByItem=(d,l)=>l.id}ngOnInit(){this.render(this.registry.emptyState(this.currentUrl),!0),this.registry.refresh().pipe((0,De.s)(this)).subscribe(()=>{this.emptyState?this.render(this.registry.emptyState(this.currentUrl),!0):this.render(this.registry.query(this.search.value),!1)}),this.search.valueChanges.pipe((0,I.B)(90),(0,De.s)(this)).subscribe(d=>{const l=d.trim();l?this.render(this.registry.query(l),!1):this.render(this.registry.emptyState(this.currentUrl),!0)}),queueMicrotask(()=>this.searchInput?.nativeElement.focus())}render(d,l){this.groups=d,this.emptyState=l,this.flat=d.flatMap(m=>m.items),this.keyManager=new kr.l3(this.flat).withWrap(),this.flat.length&&this.keyManager.setActiveItem(0)}icon(d){return this.kindIcon[d]}isActive(d){return this.keyManager?.activeItem===d}onKeydown(d){switch(d.key){case"ArrowDown":case"ArrowUp":this.keyManager.onKeydown(d),this.scrollActiveIntoView();break;case"Enter":d.preventDefault(),this.keyManager.activeItem&&this.run(this.keyManager.activeItem);break;case"Escape":d.preventDefault(),this.close()}}run(d){this.registry.pushRecent(d),this.router.navigateByUrl(d.path),this.close()}close(){this.overlayRef?.dispose()}scrollActiveIntoView(){queueMicrotask(()=>{this.list?.nativeElement.querySelector(".palette-option.active")?.scrollIntoView({block:"nearest"})})}static{this.\u0275fac=function(l){return new(l||Jb)}}static{this.\u0275cmp=a.VBU({type:Jb,selectors:[["df-command-palette"]],viewQuery:function(l,m){if(1&l&&(a.GBs(Bo,7),a.GBs(Vo,5)),2&l){let L;a.mGM(L=a.lsd())&&(m.searchInput=L.first),a.mGM(L=a.lsd())&&(m.list=L.first)}},standalone:!0,features:[a.aNF],decls:26,vars:13,consts:[[1,"palette",3,"keydown"],[1,"palette-search"],[1,"palette-search__icon",3,"icon"],["type","text","autocomplete","off","spellcheck","false",1,"palette-search__input",3,"formControl"],["searchInput",""],[1,"palette-search__hint"],["role","listbox",1,"palette-list"],["list",""],[4,"ngIf","ngIfElse"],["noResults",""],[1,"palette-foot"],[1,"palette-foot__group"],["class","palette-group",4,"ngFor","ngForOf","ngForTrackBy"],[1,"palette-group"],[1,"palette-group__label"],["type","button","role","option","class","palette-option",3,"active","click",4,"ngFor","ngForOf","ngForTrackBy"],["type","button","role","option",1,"palette-option",3,"click"],[1,"palette-option__icon",3,"icon"],[1,"palette-option__text"],[1,"palette-option__label"],["class","palette-option__sub",4,"ngIf"],[1,"palette-option__go",3,"icon"],[1,"palette-option__sub"],[1,"palette-none"]],template:function(l,m){if(1&l&&(a.j41(0,"div",0),a.bIt("keydown",function(R){return m.onKeydown(R)}),a.j41(1,"div",1),a.nrm(2,"fa-icon",2)(3,"input",3,4),a.nI1(5,"transloco"),a.j41(6,"kbd",5),a.EFF(7,"esc"),a.k0s()(),a.j41(8,"div",6,7),a.DNE(10,fc,2,2,"ng-container",8),a.DNE(11,Uo,3,3,"ng-template",null,9,a.C5r),a.k0s(),a.j41(13,"div",10)(14,"span",11)(15,"kbd"),a.EFF(16,"\u2191"),a.k0s(),a.j41(17,"kbd"),a.EFF(18,"\u2193"),a.k0s(),a.EFF(19),a.nI1(20,"transloco"),a.k0s(),a.j41(21,"span",11)(22,"kbd"),a.EFF(23,"\u21b5"),a.k0s(),a.EFF(24),a.nI1(25,"transloco"),a.k0s()()()),2&l){const L=a.sdS(12);a.R7$(2),a.Y8G("icon",m.faMagnifyingGlass),a.R7$(1),a.Y8G("formControl",m.search),a.BMQ("placeholder",a.bMT(5,7,"commandPalette.placeholder")),a.R7$(7),a.Y8G("ngIf",m.groups.length)("ngIfElse",L),a.R7$(9),a.SpI(" ",a.bMT(20,9,"commandPalette.foot.navigate")," "),a.R7$(5),a.SpI(" ",a.bMT(25,11,"commandPalette.foot.select")," ")}},dependencies:[Mt.X1,Mt.me,Mt.BC,Mt.l_,b.pM,b.bT,at.Kj,q.dX,q.aY],styles:["[_nghost-%COMP%]{display:block;width:min(92vw,600px);animation:_ngcontent-%COMP%_palette-in var(--df-duration-fast) var(--df-ease-emphasized);transform-origin:top center}@keyframes _ngcontent-%COMP%_palette-in{0%{opacity:0;transform:translateY(-4px) scale(.98)}to{opacity:1;transform:translateY(0) scale(1)}}.palette[_ngcontent-%COMP%]{display:flex;flex-direction:column;max-height:min(70vh,560px);background:var(--df-surface);color:var(--df-text);border:1px solid var(--df-border);border-radius:var(--df-radius);box-shadow:var(--df-shadow-overlay);overflow:hidden}.palette-search[_ngcontent-%COMP%]{display:flex;align-items:center;gap:var(--df-space-3);padding:0 var(--df-space-4);height:52px;border-bottom:1px solid var(--df-border-2);flex:0 0 auto}.palette-search__icon[_ngcontent-%COMP%]{color:var(--df-text-muted);font-size:var(--df-font-size-md)}.palette-search__input[_ngcontent-%COMP%]{flex:1 1 auto;border:0;outline:0;background:transparent;color:var(--df-text);font-size:var(--df-font-size-lg);line-height:var(--df-lh-base)}.palette-search__input[_ngcontent-%COMP%]::placeholder{color:var(--df-text-muted)}.palette-search__hint[_ngcontent-%COMP%]{color:var(--df-text-muted)}.palette-list[_ngcontent-%COMP%]{flex:1 1 auto;overflow-y:auto;padding:var(--df-space-2)}.palette-group[_ngcontent-%COMP%] + .palette-group[_ngcontent-%COMP%]{margin-top:var(--df-space-2)}.palette-group__label[_ngcontent-%COMP%]{padding:var(--df-space-2) var(--df-space-3) var(--df-space-1);font-size:var(--df-font-size-xs);font-weight:var(--df-font-weight-heading);text-transform:uppercase;letter-spacing:var(--df-tracking-eyebrow);color:var(--df-text-muted)}.palette-option[_ngcontent-%COMP%]{display:flex;align-items:center;gap:var(--df-space-3);width:100%;padding:var(--df-space-2) var(--df-space-3);border:0;border-radius:var(--df-radius-sm);background:transparent;color:var(--df-text);text-align:left;cursor:pointer;transition:background var(--df-duration-fast) var(--df-ease-standard)}.palette-option[_ngcontent-%COMP%]:hover{background:var(--df-hover)}.palette-option.active[_ngcontent-%COMP%]{background:var(--df-accent-soft)}.palette-option__icon[_ngcontent-%COMP%]{flex:0 0 auto;width:22px;height:22px;display:flex;align-items:center;justify-content:center;border-radius:var(--df-radius-sm);font-size:var(--df-font-size-xs);color:var(--df-text-2);background:var(--df-surface-2)}.palette-option__icon--action[_ngcontent-%COMP%]{color:var(--df-tint-build-fg);background:var(--df-tint-build-bg)}.palette-option__icon--service[_ngcontent-%COMP%]{color:var(--df-tint-data-fg);background:var(--df-tint-data-bg)}.palette-option__icon--role[_ngcontent-%COMP%]{color:var(--df-tint-security-fg);background:var(--df-tint-security-bg)}.palette-option__icon--key[_ngcontent-%COMP%]{color:var(--df-tint-system-fg);background:var(--df-tint-system-bg)}.palette-option__icon--mcp[_ngcontent-%COMP%]{color:var(--df-tint-ai-fg);background:var(--df-tint-ai-bg)}.palette-option__icon--doc[_ngcontent-%COMP%]{color:var(--df-tint-docs-fg);background:var(--df-tint-docs-bg)}.palette-option__text[_ngcontent-%COMP%]{flex:1 1 auto;min-width:0;display:flex;flex-direction:column;line-height:var(--df-lh-tight)}.palette-option__label[_ngcontent-%COMP%]{font-size:var(--df-font-size-sm);color:var(--df-text);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.palette-option__sub[_ngcontent-%COMP%]{margin-top:2px;font-size:var(--df-font-size-xs);color:var(--df-text-muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.palette-option__go[_ngcontent-%COMP%]{flex:0 0 auto;font-size:var(--df-font-size-xs);color:var(--df-text-muted);opacity:0;transition:opacity var(--df-duration-fast) var(--df-ease-standard)}.palette-option.active[_ngcontent-%COMP%] .palette-option__go[_ngcontent-%COMP%]{opacity:1}.palette-none[_ngcontent-%COMP%]{padding:var(--df-space-6) var(--df-space-4);text-align:center;font-size:var(--df-font-size-sm);color:var(--df-text-muted)}.palette-foot[_ngcontent-%COMP%]{display:flex;gap:var(--df-space-5);align-items:center;padding:var(--df-space-2) var(--df-space-4);border-top:1px solid var(--df-border-2);flex:0 0 auto;font-size:var(--df-font-size-xs);color:var(--df-text-muted)}.palette-foot__group[_ngcontent-%COMP%]{display:inline-flex;align-items:center;gap:var(--df-space-2)}kbd[_ngcontent-%COMP%]{display:inline-flex;align-items:center;justify-content:center;min-width:18px;height:18px;padding:0 var(--df-space-1);border:1px solid var(--df-border);border-radius:var(--df-radius-sm);background:var(--df-surface-2);color:var(--df-text-2);font-family:var(--df-font-mono);font-size:var(--df-font-size-xs);line-height:1}"]})}};Lo=(0,y.Cg)([(0,De.d)()],Lo);let Ii=(()=>{class f{constructor(){this.overlay=(0,a.WQX)(Zc.hJ),this.router=(0,a.WQX)(T.Ix)}toggle(){this.ref?this.close():this.open()}open(){if(this.ref)return;const l=this.overlay.position().global().centerHorizontally().top("12vh"),m=this.overlay.create({positionStrategy:l,scrollStrategy:this.overlay.scrollStrategies.block(),hasBackdrop:!0,panelClass:"df-palette-panel",disposeOnNavigation:!0});this.ref=m;const L=new dc.A8(Lo),R=m.attach(L);R.instance.overlayRef=m,R.instance.currentUrl=this.router.url,m.backdropClick().subscribe(()=>this.close()),m.detachments().subscribe(()=>{this.ref=void 0})}close(){this.ref?.dispose(),this.ref=void 0}static{this.\u0275fac=function(m){return new(m||f)}}static{this.\u0275prov=a.jDH({token:f,factory:f.\u0275fac,providedIn:"root"})}}return f})();function En(f,d){1&f&&a.nrm(0,"ng-component")}function di(f,d){if(1&f&&(a.qex(0),a.j41(1,"a",30),a.DNE(2,En,1,0,"ng-component",31),a.k0s(),a.bVm()),2&f){const l=a.XpG().$implicit,m=a.sdS(5);a.R7$(1),a.Y8G("routerLink",l.path),a.R7$(1),a.Y8G("ngTemplateOutlet",m)}}function ei(f,d){1&f&&a.nrm(0,"ng-component")}function Eo(f,d){if(1&f&&(a.j41(0,"span",32),a.DNE(1,ei,1,0,"ng-component",31),a.k0s()),2&f){a.XpG();const l=a.sdS(5);a.R7$(1),a.Y8G("ngTemplateOutlet",l)}}function ci(f,d){if(1&f&&(a.qex(0),a.j41(1,"span"),a.EFF(2),a.nI1(3,"transloco"),a.k0s(),a.bVm()),2&f){const l=a.XpG(2).$implicit;a.R7$(2),a.JRh(a.bMT(3,1,l.translationKey))}}function Wi(f,d){if(1&f&&(a.j41(0,"span"),a.EFF(1),a.k0s()),2&f){const l=a.XpG(2).$implicit;a.R7$(1),a.JRh(l.label)}}function Do(f,d){if(1&f&&(a.DNE(0,ci,4,3,"ng-container",26),a.DNE(1,Wi,2,1,"ng-template",null,33,a.C5r)),2&f){const l=a.sdS(2),m=a.XpG().$implicit;a.Y8G("ngIf",m.translationKey)("ngIfElse",l)}}function Oo(f,d){1&f&&(a.j41(0,"span",34),a.EFF(1,"/"),a.k0s())}function mo(f,d){if(1&f&&(a.qex(0),a.DNE(1,di,3,2,"ng-container",26),a.DNE(2,Eo,2,1,"ng-template",null,27,a.C5r),a.DNE(4,Do,3,2,"ng-template",null,28,a.C5r),a.DNE(6,Oo,2,0,"span",29),a.bVm()),2&f){const l=d.$implicit,m=d.index,L=a.sdS(3),R=a.XpG(2);a.R7$(1),a.Y8G("ngIf",l.path)("ngIfElse",L),a.R7$(5),a.Y8G("ngIf",m!==R.breadCrumbs.length-1)}}function qo(f,d){if(1&f){const l=a.RV6();a.j41(0,"button",24),a.bIt("click",function(){const R=a.eBV(l).$implicit,ht=a.XpG(3);return a.Njj(ht.handleLanguageChange(R))}),a.EFF(1),a.nI1(2,"transloco"),a.k0s()}if(2&f){const l=d.$implicit;a.R7$(1),a.SpI(" ",a.bMT(2,1,"languages."+l)," ")}}function qn(f,d){if(1&f&&(a.qex(0),a.j41(1,"button",35),a.nI1(2,"transloco"),a.nrm(3,"fa-icon",21),a.k0s(),a.j41(4,"mat-menu",null,36),a.DNE(6,qo,3,3,"button",37),a.k0s(),a.bVm()),2&f){const l=a.sdS(5),m=a.XpG(2);a.R7$(1),a.Y8G("matMenuTriggerFor",l),a.BMQ("aria-label",a.bMT(2,4,"language")),a.R7$(2),a.Y8G("icon",m.faLanguage),a.R7$(3),a.Y8G("ngForOf",m.availableLanguages)}}function We(f,d){1&f&&(a.j41(0,"div",38)(1,"span"),a.EFF(2),a.nI1(3,"transloco"),a.nI1(4,"transloco"),a.k0s()()),2&f&&(a.R7$(2),a.Lme("",a.bMT(3,2,"licenseExpired.header")," ",a.bMT(4,4,"licenseExpired.subHeader"),""))}function Cn(f,d){if(1&f){const l=a.RV6();a.qex(0),a.j41(1,"mat-toolbar",9)(2,"div",10)(3,"button",11),a.bIt("click",function(){a.eBV(l),a.XpG();const L=a.sdS(7);return a.Njj(L.toggle())}),a.nI1(4,"transloco"),a.nrm(5,"fa-icon",12),a.k0s()(),a.j41(6,"nav",13),a.DNE(7,mo,7,3,"ng-container",14),a.k0s(),a.nrm(8,"span",15),a.j41(9,"button",16),a.bIt("click",function(){a.eBV(l);const L=a.XpG();return a.Njj(L.handleSearchClick())}),a.nrm(10,"fa-icon",17),a.j41(11,"span",18),a.EFF(12,"Search"),a.k0s(),a.j41(13,"span",19),a.EFF(14,"Ctrl K"),a.k0s()(),a.DNE(15,qn,7,6,"ng-container",1),a.nrm(16,"df-theme-toggle"),a.j41(17,"button",20),a.nrm(18,"fa-icon",21),a.EFF(19),a.nI1(20,"async"),a.k0s(),a.j41(21,"mat-menu",null,22)(23,"button",23),a.EFF(24),a.nI1(25,"transloco"),a.k0s(),a.j41(26,"button",24),a.bIt("click",function(){a.eBV(l);const L=a.XpG();return a.Njj(L.logout())}),a.EFF(27),a.nI1(28,"transloco"),a.k0s()()(),a.DNE(29,We,5,6,"div",25),a.nI1(30,"async"),a.nI1(31,"async"),a.nI1(32,"async"),a.bVm()}if(2&f){const l=a.sdS(22),m=a.XpG();let L,R;a.R7$(3),a.BMQ("aria-label",a.bMT(4,11,"toggleNav")),a.R7$(2),a.Y8G("icon",m.faBars),a.R7$(2),a.Y8G("ngForOf",m.breadCrumbs),a.R7$(3),a.Y8G("icon",m.faMagnifyingGlass),a.R7$(5),a.Y8G("ngIf",m.availableLanguages.length>1),a.R7$(2),a.Y8G("matMenuTriggerFor",l),a.R7$(1),a.Y8G("icon",m.faUser),a.R7$(1),a.SpI(" ",null==(L=a.bMT(20,13,m.userData$))?null:L.name," "),a.R7$(5),a.SpI(" ",a.bMT(25,15,"nav.profile.header")," "),a.R7$(3),a.SpI(" ",a.bMT(28,17,"nav.logout.header")," "),a.R7$(2),a.Y8G("ngIf",("Expired"===(null==(R=a.bMT(30,19,m.licenseCheck$))?null:R.msg)||"Unknown"===(null==(R=a.bMT(31,21,m.licenseCheck$))?null:R.msg))&&null===a.bMT(32,23,m.trial$))}}function Hn(f,d){1&f&&(a.qex(0),a.j41(1,"div",39)(2,"div",40)(3,"div",41),a.nrm(4,"img",42),a.j41(5,"h3"),a.EFF(6,"Self Hosted"),a.k0s()(),a.j41(7,"div",41),a.nrm(8,"img",43),a.j41(9,"h3"),a.EFF(10," Database & Network"),a.nrm(11,"br"),a.EFF(12," API Generation "),a.k0s()(),a.j41(13,"div",41),a.nrm(14,"img",44),a.j41(15,"h3"),a.EFF(16,"API Security"),a.k0s()(),a.j41(17,"div",41),a.nrm(18,"img",45),a.j41(19,"h3"),a.EFF(20,"API Scripting"),a.k0s()()()(),a.bVm())}function Si(f,d){if(1&f&&(a.j41(0,"div",53),a.EFF(1),a.nI1(2,"transloco"),a.k0s()),2&f){const l=a.XpG().$implicit;a.R7$(1),a.SpI(" ",a.bMT(2,1,l.label)," ")}}function Bi(f,d){1&f&&a.eu8(0)}const gi=function(f){return{$implicit:f}};function So(f,d){if(1&f&&(a.qex(0),a.DNE(1,Si,3,3,"div",51),a.DNE(2,Bi,1,0,"ng-container",52),a.bVm()),2&f){const l=d.$implicit;a.XpG(2);const m=a.sdS(23);a.R7$(1),a.Y8G("ngIf",l.label),a.R7$(1),a.Y8G("ngTemplateOutlet",m)("ngTemplateOutletContext",a.eq3(3,gi,l.items))}}function Vn(f,d){if(1&f&&(a.qex(0),a.j41(1,"div",46)(2,"a",47),a.nrm(3,"img",48),a.k0s()(),a.j41(4,"mat-nav-list",49),a.DNE(5,So,3,5,"ng-container",50),a.k0s(),a.bVm()),2&f){const l=a.XpG();a.R7$(5),a.Y8G("ngForOf",l.navGroups)("ngForTrackBy",l.trackByGroupLabel)}}function Ni(f,d){if(1&f&&(a.qex(0),a.EFF(1),a.bVm()),2&f){const l=a.XpG(3);a.R7$(1),a.SpI(" ",l.pageLabelOverride," ")}}function jo(f,d){if(1&f&&(a.qex(0),a.EFF(1),a.nI1(2,"transloco"),a.bVm()),2&f){const l=a.XpG(4);a.R7$(1),a.SpI(" ",a.bMT(2,1,l.currentCrumb.translationKey)," ")}}function bn(f,d){if(1&f&&a.EFF(0),2&f){const l=a.XpG(4);a.JRh(l.currentCrumb.label)}}function qi(f,d){if(1&f&&(a.DNE(0,jo,3,3,"ng-container",26),a.DNE(1,bn,1,1,"ng-template",null,58,a.C5r)),2&f){const l=a.sdS(2),m=a.XpG(3);a.Y8G("ngIf",m.currentCrumb.translationKey)("ngIfElse",l)}}function to(f,d){if(1&f&&(a.j41(0,"div",55)(1,"h1",56),a.DNE(2,Ni,2,1,"ng-container",26),a.DNE(3,qi,3,2,"ng-template",null,57,a.C5r),a.k0s()()),2&f){const l=a.sdS(4),m=a.XpG(2);a.R7$(2),a.Y8G("ngIf",m.pageLabelOverride)("ngIfElse",l)}}function zi(f,d){if(1&f&&(a.qex(0),a.DNE(1,to,5,2,"div",54),a.nI1(2,"async"),a.bVm()),2&f){const l=a.XpG();a.R7$(1),a.Y8G("ngIf",!1===a.bMT(2,1,l.hasError$)&&l.currentCrumb)}}function $n(f,d){if(1&f&&(a.qex(0),a.nrm(1,"img",64),a.bVm()),2&f){const l=a.XpG(2).$implicit;a.R7$(1),a.Y8G("src",l.icon,a.B4B)("alt",l.path)}}function zo(f,d){if(1&f){const l=a.RV6();a.j41(0,"div",61)(1,"a",62),a.bIt("click",function(){a.eBV(l);const L=a.XpG().$implicit,R=a.XpG(2);return a.Njj(R.handleNavClick(L))}),a.j41(2,"span",63),a.DNE(3,$n,2,2,"ng-container",1),a.EFF(4),a.nI1(5,"transloco"),a.k0s()()()}if(2&f){const l=a.XpG().$implicit,m=a.XpG(2);a.R7$(1),a.AVh("active",m.isActive(l))("commercial-feature",m.isFeatureLocked(l.path,m.licenseType))("ai-nav-item","/ai"===l.path),a.Y8G("routerLink",m.navLink(l)),a.BMQ("data-testid",m.navTestId(l.path)),a.R7$(2),a.Y8G("ngIf",null==l?null:l.icon),a.R7$(1),a.SpI(" ",a.bMT(5,10,m.navLabel(l.labelPath||l.path))," ")}}function fo(f,d){if(1&f&&(a.qex(0),a.nrm(1,"img",64),a.bVm()),2&f){const l=a.XpG(2).$implicit;a.R7$(1),a.Y8G("src",l.icon,a.B4B)("alt",l.path)}}function ho(f,d){1&f&&a.eu8(0)}function Ho(f,d){if(1&f){const l=a.RV6();a.j41(0,"mat-expansion-panel",65)(1,"mat-expansion-panel-header",66),a.bIt("click",function(){a.eBV(l);const L=a.XpG().$implicit,R=a.XpG(2);return a.Njj(R.handleNavClick(L))}),a.j41(2,"span",63),a.DNE(3,fo,2,2,"ng-container",1),a.EFF(4),a.nI1(5,"transloco"),a.k0s()(),a.j41(6,"mat-nav-list"),a.DNE(7,ho,1,0,"ng-container",52),a.k0s()()}if(2&f){const l=a.XpG().$implicit,m=a.XpG(2),L=a.sdS(23);a.AVh("mat-elevation-z0",!0),a.Y8G("expanded",m.isActive(l)),a.R7$(1),a.BMQ("data-testid",m.navGroupTestId(l.path)),a.R7$(2),a.Y8G("ngIf",null==l?null:l.icon),a.R7$(1),a.SpI("",a.bMT(5,8,m.navLabel(l.labelPath||l.path))," "),a.R7$(3),a.Y8G("ngTemplateOutlet",L)("ngTemplateOutletContext",a.eq3(10,gi,l.subRoutes))}}function Vi(f,d){if(1&f&&(a.qex(0),a.DNE(1,zo,6,12,"div",59),a.DNE(2,Ho,8,12,"ng-template",null,60,a.C5r),a.bVm()),2&f){const l=d.$implicit,m=a.sdS(3);a.R7$(1),a.Y8G("ngIf",!l.subRoutes)("ngIfElse",m)}}function Po(f,d){if(1&f&&a.DNE(0,Vi,4,2,"ng-container",50),2&f){const l=d.$implicit,m=a.XpG();a.Y8G("ngForOf",l)("ngForTrackBy",m.trackByNavPath)}}const Pi=["*"];let eo=class qb{constructor(d,l,m,L,R,ht,Pt,Ft,qt,Ae,$e,mn,Pn,dn,wn){this.breakpointService=d,this.userDataService=l,this.authService=m,this.router=L,this.errorService=R,this.licenseCheckService=ht,this.dialog=Pt,this.transloco=Ft,this.themeService=qt,this.searchService=Ae,this.snackbarService=$e,this.paywallService=mn,this.systemConfigDataService=Pn,this.commandPalette=dn,this.trialService=wn,this.isSmallScreen=this.breakpointService.isSmallScreen,this.isLoggedIn$=this.userDataService.isLoggedIn$,this.userData$=this.userDataService.userData$,this.faAngleDown=K.tdl,this.faBars=K.ckx,this.hasError$=this.errorService.hasError$,this.nav=[],this.navGroups=[],this.licenseCheck$=this.licenseCheckService.licenseCheck$,this.trial$=this.trialService.trial$,this.faMagnifyingGlass=K.$UM,this.faUser=K.X46,this.faLanguage=K.mh,this.search=new Mt.MJ,this.results$=this.searchService.results$,this.smallScreen$=this.breakpointService.isSmallScreen,this.faPlus=K.QLR,this.faRefresh=K.Vpu,this.licenseType="OPEN SOURCE",this.isDarkMode=this.themeService.darkMode$,this.trackByGroupLabel=(ri,fi)=>`${ri}-${fi.label}`,this.navLabelCache=new Map,this._breadCrumbs=[],this.trackByNavPath=(ri,fi)=>fi.path}ngOnInit(){this.userData$.pipe((0,j.n)(d=>d?.isRootAdmin||d?.isSysAdmin&&!(d.roleId&&d?.id&&d?.role_id)?(0,bt.of)(null):d?.isSysAdmin&&(d.roleId||d?.id||d?.role_id)?this.userDataService.restrictedAccess$:(0,bt.of)(d?.roleId||d?.id||d?.role_id?["apps","users","roles","services","apidocs","schema/data","files","scripts","systemInfo","limits","scheduler"]:[]))).subscribe(d=>{this.nav=d?xn(Fe(A),d):Fe(A),this.navGroups=this.buildNavGroups(this.nav)}),this.search.valueChanges.pipe((0,I.B)(1e3),(0,_t.F)(),(0,j.n)(d=>this.searchService.search(d))).subscribe(()=>{this.dialog.open(oi,{position:{top:"60px"}})}),this.systemConfigDataService.environment$.pipe((0,J.T)(d=>d.platform?.license??"OPEN SOURCE")).subscribe(d=>this.licenseType=d)}buildNavGroups(d){const l=[{child:M.b.API_BUILDER,parent:M.b.API_CONNECTIONS},{child:M.b.AGENTS,parent:M.b.AI},{child:M.b.ALERTS,parent:M.b.SYSTEM_SETTINGS}];for(const Ft of l){const qt=d.findIndex($e=>$e.route===Ft.child),Ae=d.find($e=>$e.route===Ft.parent);-1!==qt&&Ae&&(d[qt].icon="",Ae.subRoutes=[...Ae.subRoutes??[],d[qt]],d.splice(qt,1))}const m=d.find(Ft=>Ft.route===M.b.ADMIN_SETTINGS);m?.subRoutes&&(m.subRoutes=m.subRoutes.filter(Ft=>Ft.path!==`/${M.b.ADMIN_SETTINGS}/${M.b.LOGS}`));const L=new Map(d.map(Ft=>[Ft.route,Ft])),R=new Set,ht=Ft=>Ft.map(qt=>L.get(qt)).filter(qt=>!!qt&&(R.add(qt),!0));return[{label:"",items:ht([M.b.HOME])},{label:"nav.pillars.build",items:ht([M.b.API_CONNECTIONS])},{label:"nav.pillars.secureManage",items:ht([M.b.API_SECURITY])},{label:"nav.pillars.aiGateway",items:ht([M.b.AI])},{label:"nav.pillars.system",items:ht([M.b.SYSTEM_SETTINGS,M.b.ADMIN_SETTINGS])},{label:"",items:d.filter(Ft=>!R.has(Ft))}].filter(Ft=>Ft.items.length)}get currentCrumb(){const d=this.breadCrumbs;return d.length?d[d.length-1]:void 0}get pageLabelOverride(){const d=this.currentCrumb;if(!d||d.translationKey)return;const l=this.snackbarService.pageLabel$.value;return l&&l.url===this.router.url?l.label:void 0}logout(){this.authService.logout()}isActive(d){const l=d.linkPath??d.path,m=this.router.url.split("?")[0].split("#")[0];return m===l||m.startsWith(l+"/")}navLabel(d){let l=this.navLabelCache.get(d);return void 0===l&&(l=`nav.${d.replace("/","").split("/").join(".")}.nav`,this.navLabelCache.set(d,l)),l}navLink(d){return d.linkPath??d.path}get breadCrumbs(){return this._breadCrumbsUrl!==this.router.url&&(this._breadCrumbsUrl=this.router.url,this._breadCrumbs=function ee(f,d){const l=[],m=decodeURIComponent(d).split("?")[0].split("#")[0].replace(/\/$/,"").split("/").filter(R=>R);return function L(R,ht=[],Pt=[],Ft=0){if(Ft===m.length)return!0;let qt=!1;for(const Ae of R){const $e=Ae.path,mn=$e.startsWith(":"),Pn=mn?m[Ft]:$e,dn=[...ht,Pn];if(Ae.path===m[Ft]||mn)if(qt=!0,Ae.children&&Ae.children.some(wn=>""===wn.path&&wn.redirectTo)){if(L(Ae.children,dn,[...Pt,$e],Ft+1))return!0}else{const wn=mn?$e.slice(1):$e,ri=[...Pt,wn].join(".").replace(/\//g,"."),fi={label:Pn};if(Ft!==m.length-1&&(fi.path=dn.join("/")),mn||(fi.translationKey=`nav.${ri}.header`),l.push(fi),L(Ae.children||[],dn,[...Pt,wn],Ft+1))return!0}}return!qt&&(l.push({label:m[Ft],path:[...ht,m[Ft]].join("/")}),L(R,[...ht,m[Ft]],Pt,Ft+1))}(f),l.length>0&&l[l.length-1].path&&delete l[l.length-1].path,l}(A,this.router.url),this.nameLastCrumb(this._breadCrumbs)),this._breadCrumbs}nameLastCrumb(d){const l=d[d.length-1];if(!l||l.translationKey)return;let m=this.router.routerState.snapshot.root;for(;m.firstChild;)m=m.firstChild;if(!Object.values(m.params??{}).includes(l.label))return;const L=function Qn(f){if(!f)return;const d=[...Nn.map(l=>f[l]),...Object.entries(f).filter(([l])=>!Nn.includes(l)).map(([,l])=>l)];for(const l of d)if(l&&"object"==typeof l&&!Array.isArray(l))for(const m of Ie){const L=l[m];if("string"==typeof L&&L.trim())return L}}(m.data);L&&(l.label=L)}handleNavClick(d){this.errorService.error=null;const l=this.navLink(d);this.router.url!==l&&this.router.navigate([l])}navTestId(d){return`nav-${this.normalizePath(d)}`}navGroupTestId(d){return`nav-group-${this.normalizePath(d)}`}normalizePath(d){return d.replace(/^\/+/,"").replace(/\//g,"-")||"root"}handleSearchClick(){this.commandPalette.toggle()}handleLanguageChange(d){this.transloco.setActiveLang(d),localStorage.setItem("language",d)}onSubmit(){this.searchService.search(this.search.value).subscribe(()=>{this.dialog.open(oi,{position:{top:"60px"}})})}get activeLanguage(){return this.transloco.getActiveLang()}get availableLanguages(){return this.transloco.getAvailableLangs()}isFeatureLocked(d,l){return this.paywallService.isFeatureLocked(d,l)}static{this.\u0275fac=function(l){return new(l||qb)(a.rXU(Dn.R),a.rXU(Gt.T),a.rXU(pt.g),a.rXU(T.Ix),a.rXU(Rt.S),a.rXU(hn.H),a.rXU(Q.bZ),a.rXU(at.JO),a.rXU(Fn.n),a.rXU(ln),a.rXU(si.L),a.rXU(Ve.o),a.rXU(zt.f),a.rXU(Ii),a.rXU(Dt.K))}}static{this.\u0275cmp=a.VBU({type:qb,selectors:[["df-side-nav"]],standalone:!0,features:[a.aNF],ngContentSelectors:Pi,decls:24,vars:33,consts:[[1,"app-container"],[4,"ngIf"],["autosize","",1,"sidenav-container"],[1,"sidenav",3,"disableClose","opened","mode"],["sideNav",""],[1,"sidenav-content"],[1,"content-wrapper"],[1,"main"],["navList",""],[1,"tool-bar"],[1,"button-wrapper"],["mat-icon-button","",1,"toggle-icon",3,"click"],[1,"toggle-icon",3,"icon"],["aria-label","Breadcrumb",1,"topbar-breadcrumbs"],[4,"ngFor","ngForOf"],[1,"spacer"],["type","button","aria-label","Search",1,"cmdk-btn",3,"click"],[1,"cmdk-icon",3,"icon"],[1,"cmdk-label"],[1,"cmdk-kbd"],["mat-button","",1,"profile-icon",3,"matMenuTriggerFor"],[3,"icon"],["profileMenu","matMenu"],["mat-menu-item","","routerLink","profile"],["mat-menu-item","",3,"click"],["class","license-expired",4,"ngIf"],[4,"ngIf","ngIfElse"],["currentTop",""],["topCrumbLabel",""],["class","breadcrumb-sep",4,"ngIf"],[1,"breadcrumb-link",3,"routerLink"],[4,"ngTemplateOutlet"],[1,"breadcrumb-current"],["topLabel",""],[1,"breadcrumb-sep"],["mat-icon-button","",3,"matMenuTriggerFor"],["langMenu","matMenu"],["mat-menu-item","",3,"click",4,"ngFor","ngForOf"],[1,"license-expired"],[1,"login-side-container"],[1,"image-container"],[1,"image-wrapper"],["src","assets/img/Server-Stack.gif","alt","Self Hosted"],["src","assets/img/API.gif","alt","API Generation"],["src","assets/img/Browser.gif","alt","Api Security"],["src","assets/img/Tools.gif","alt","API Scripting"],[1,"shell-brand"],["routerLink","/","aria-label","Home",1,"shell-brand-link"],["src","assets/img/logo.png","alt","DreamFactory",1,"shell-brand-logo"],[1,"shell-nav"],[4,"ngFor","ngForOf","ngForTrackBy"],["class","shell-group-label",4,"ngIf"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],[1,"shell-group-label"],["class","banner",4,"ngIf"],[1,"banner"],[1,"page-header"],["crumbTitle",""],["pageTitleLabel",""],["mat-list-item","",4,"ngIf","ngIfElse"],["subRoutes",""],["mat-list-item",""],["mat-flat-button","",1,"nav-item",3,"routerLink","click"],[1,"nav-item"],[3,"src","alt"],[1,"expansion-panel",3,"expanded"],[1,"parent-route",3,"click"]],template:function(l,m){1&l&&(a.NAR(),a.j41(0,"div",0),a.nI1(1,"async"),a.nI1(2,"async"),a.DNE(3,Cn,33,25,"ng-container",1),a.nI1(4,"async"),a.j41(5,"mat-sidenav-container",2)(6,"mat-sidenav",3,4),a.nI1(8,"async"),a.nI1(9,"async"),a.nI1(10,"async"),a.DNE(11,Hn,21,0,"ng-container",1),a.nI1(12,"async"),a.DNE(13,Vn,6,2,"ng-container",1),a.nI1(14,"async"),a.k0s(),a.j41(15,"mat-sidenav-content",5)(16,"div",6),a.DNE(17,zi,3,3,"ng-container",1),a.nI1(18,"async"),a.j41(19,"div",7),a.nI1(20,"async"),a.SdG(21),a.k0s()()()()(),a.DNE(22,Po,1,2,"ng-template",null,8,a.C5r)),2&l&&(a.AVh("small",a.bMT(1,13,m.isSmallScreen))("logged-in",a.bMT(2,15,m.isLoggedIn$)),a.R7$(3),a.Y8G("ngIf",a.bMT(4,17,m.isLoggedIn$)),a.R7$(3),a.Y8G("disableClose",!1===a.bMT(8,19,m.isSmallScreen))("opened",!1===a.bMT(9,21,m.isSmallScreen))("mode",a.bMT(10,23,m.isSmallScreen)?"over":"side"),a.R7$(5),a.Y8G("ngIf",!1===a.bMT(12,25,m.isLoggedIn$)),a.R7$(2),a.Y8G("ngIf",a.bMT(14,27,m.isLoggedIn$)),a.R7$(4),a.Y8G("ngIf",a.bMT(18,29,m.isLoggedIn$)),a.R7$(2),a.AVh("no-error",!1===a.bMT(20,31,m.hasError$)))},dependencies:[N.vg,N.LG,N.US,N.El,P.Fg,P._L,q.dX,q.aY,ot.s5,ot.KQ,k.Hl,k.It,k.$z,k.iY,G.MY,G.GK,G.Z2,T.iI,T.Wk,T.we,Z.Cn,Z.kk,Z.fb,Z.Cp,at.Kj,b.Jj,b.bT,b.pM,b.T3,Q.hM,b.MD,Wt.RG,Mo,Mt.X1,se.fS],styles:[".mat-ripple[_ngcontent-%COMP%]{overflow:hidden;position:relative}.mat-ripple[_ngcontent-%COMP%]:not(:empty){transform:translateZ(0)}.mat-ripple.mat-ripple-unbounded[_ngcontent-%COMP%]{overflow:visible}.mat-ripple-element[_ngcontent-%COMP%]{position:absolute;border-radius:50%;pointer-events:none;transition:opacity,transform 0ms cubic-bezier(0,0,.2,1);transform:scale3d(0,0,0)}.cdk-high-contrast-active[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%]{display:none}.cdk-visually-hidden[_ngcontent-%COMP%]{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;white-space:nowrap;outline:0;-webkit-appearance:none;-moz-appearance:none;left:0}[dir=rtl][_ngcontent-%COMP%] .cdk-visually-hidden[_ngcontent-%COMP%]{left:auto;right:0}.cdk-overlay-container[_ngcontent-%COMP%], .cdk-global-overlay-wrapper[_ngcontent-%COMP%]{pointer-events:none;top:0;left:0;height:100%;width:100%}.cdk-overlay-container[_ngcontent-%COMP%]{position:fixed;z-index:1000}.cdk-overlay-container[_ngcontent-%COMP%]:empty{display:none}.cdk-global-overlay-wrapper[_ngcontent-%COMP%]{display:flex;position:absolute;z-index:1000}.cdk-overlay-pane[_ngcontent-%COMP%]{position:absolute;pointer-events:auto;box-sizing:border-box;z-index:1000;display:flex;max-width:100%;max-height:100%}.cdk-overlay-backdrop[_ngcontent-%COMP%]{position:absolute;inset:0;z-index:1000;pointer-events:auto;-webkit-tap-highlight-color:transparent;transition:opacity .4s cubic-bezier(.25,.8,.25,1);opacity:0}.cdk-overlay-backdrop.cdk-overlay-backdrop-showing[_ngcontent-%COMP%]{opacity:1}.cdk-high-contrast-active[_ngcontent-%COMP%] .cdk-overlay-backdrop.cdk-overlay-backdrop-showing[_ngcontent-%COMP%]{opacity:.6}.cdk-overlay-dark-backdrop[_ngcontent-%COMP%]{background:rgba(0,0,0,.32)}.cdk-overlay-transparent-backdrop[_ngcontent-%COMP%]{transition:visibility 1ms linear,opacity 1ms linear;visibility:hidden;opacity:1}.cdk-overlay-transparent-backdrop.cdk-overlay-backdrop-showing[_ngcontent-%COMP%]{opacity:0;visibility:visible}.cdk-overlay-backdrop-noop-animation[_ngcontent-%COMP%]{transition:none}.cdk-overlay-connected-position-bounding-box[_ngcontent-%COMP%]{position:absolute;z-index:1000;display:flex;flex-direction:column;min-width:1px;min-height:1px}.cdk-global-scrollblock[_ngcontent-%COMP%]{position:fixed;width:100%;overflow-y:scroll}textarea.cdk-textarea-autosize[_ngcontent-%COMP%]{resize:none}textarea.cdk-textarea-autosize-measuring[_ngcontent-%COMP%]{padding:2px 0!important;box-sizing:content-box!important;height:auto!important;overflow:hidden!important}textarea.cdk-textarea-autosize-measuring-firefox[_ngcontent-%COMP%]{padding:2px 0!important;box-sizing:content-box!important;height:0!important}@keyframes _ngcontent-%COMP%_cdk-text-field-autofill-start{}@keyframes _ngcontent-%COMP%_cdk-text-field-autofill-end{}.cdk-text-field-autofill-monitored[_ngcontent-%COMP%]:-webkit-autofill{animation:_ngcontent-%COMP%_cdk-text-field-autofill-start 0s 1ms}.cdk-text-field-autofill-monitored[_ngcontent-%COMP%]:not(:-webkit-autofill){animation:_ngcontent-%COMP%_cdk-text-field-autofill-end 0s 1ms}.mat-focus-indicator[_ngcontent-%COMP%]{position:relative}.mat-focus-indicator[_ngcontent-%COMP%]:before{inset:0;position:absolute;box-sizing:border-box;pointer-events:none;display:var(--mat-focus-indicator-display, none);border:var(--mat-focus-indicator-border-width, 3px) var(--mat-focus-indicator-border-style, solid) var(--mat-focus-indicator-border-color, transparent);border-radius:var(--mat-focus-indicator-border-radius, 4px)}.mat-focus-indicator[_ngcontent-%COMP%]:focus:before{content:\"\"}.cdk-high-contrast-active[_ngcontent-%COMP%]{--mat-focus-indicator-display: block}.mat-mdc-focus-indicator[_ngcontent-%COMP%]{position:relative}.mat-mdc-focus-indicator[_ngcontent-%COMP%]:before{inset:0;position:absolute;box-sizing:border-box;pointer-events:none;display:var(--mat-mdc-focus-indicator-display, none);border:var(--mat-mdc-focus-indicator-border-width, 3px) var(--mat-mdc-focus-indicator-border-style, solid) var(--mat-mdc-focus-indicator-border-color, transparent);border-radius:var(--mat-mdc-focus-indicator-border-radius, 4px)}.mat-mdc-focus-indicator[_ngcontent-%COMP%]:focus:before{content:\"\"}.cdk-high-contrast-active[_ngcontent-%COMP%]{--mat-mdc-focus-indicator-display: block}@font-face{font-family:Inter;src:url(Inter-VariableFont_slnt,wght.1cccc37b0c8d2802.ttf)}.mat-ripple-element[_ngcontent-%COMP%]{background-color:#0000001a}html[_ngcontent-%COMP%]{--mat-option-selected-state-label-text-color: #0f0761;--mat-option-label-text-color: rgba(0, 0, 0, .87);--mat-option-hover-state-layer-color: rgba(0, 0, 0, .04);--mat-option-focus-state-layer-color: rgba(0, 0, 0, .04);--mat-option-selected-state-layer-color: rgba(0, 0, 0, .04)}.mat-accent[_ngcontent-%COMP%]{--mat-option-selected-state-label-text-color: #dd7345}.mat-warn[_ngcontent-%COMP%]{--mat-option-selected-state-label-text-color: #f44336}html[_ngcontent-%COMP%]{--mat-optgroup-label-text-color: rgba(0, 0, 0, .87)}.mat-pseudo-checkbox-full[_ngcontent-%COMP%]{color:#0000008a}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-disabled[_ngcontent-%COMP%]{color:#b0b0b0}.mat-primary[_ngcontent-%COMP%] .mat-pseudo-checkbox-checked.mat-pseudo-checkbox-minimal[_ngcontent-%COMP%]:after, .mat-primary[_ngcontent-%COMP%] .mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-minimal[_ngcontent-%COMP%]:after{color:#0f0761}.mat-primary[_ngcontent-%COMP%] .mat-pseudo-checkbox-checked.mat-pseudo-checkbox-full[_ngcontent-%COMP%], .mat-primary[_ngcontent-%COMP%] .mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-full[_ngcontent-%COMP%]{background:#0f0761}.mat-primary[_ngcontent-%COMP%] .mat-pseudo-checkbox-checked.mat-pseudo-checkbox-full[_ngcontent-%COMP%]:after, .mat-primary[_ngcontent-%COMP%] .mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-full[_ngcontent-%COMP%]:after{color:#fafafa}.mat-pseudo-checkbox-checked.mat-pseudo-checkbox-minimal[_ngcontent-%COMP%]:after, .mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-minimal[_ngcontent-%COMP%]:after{color:#dd7345}.mat-pseudo-checkbox-checked.mat-pseudo-checkbox-full[_ngcontent-%COMP%], .mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-full[_ngcontent-%COMP%]{background:#dd7345}.mat-pseudo-checkbox-checked.mat-pseudo-checkbox-full[_ngcontent-%COMP%]:after, .mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-full[_ngcontent-%COMP%]:after{color:#fafafa}.mat-accent[_ngcontent-%COMP%] .mat-pseudo-checkbox-checked.mat-pseudo-checkbox-minimal[_ngcontent-%COMP%]:after, .mat-accent[_ngcontent-%COMP%] .mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-minimal[_ngcontent-%COMP%]:after{color:#dd7345}.mat-accent[_ngcontent-%COMP%] .mat-pseudo-checkbox-checked.mat-pseudo-checkbox-full[_ngcontent-%COMP%], .mat-accent[_ngcontent-%COMP%] .mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-full[_ngcontent-%COMP%]{background:#dd7345}.mat-accent[_ngcontent-%COMP%] .mat-pseudo-checkbox-checked.mat-pseudo-checkbox-full[_ngcontent-%COMP%]:after, .mat-accent[_ngcontent-%COMP%] .mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-full[_ngcontent-%COMP%]:after{color:#fafafa}.mat-warn[_ngcontent-%COMP%] .mat-pseudo-checkbox-checked.mat-pseudo-checkbox-minimal[_ngcontent-%COMP%]:after, .mat-warn[_ngcontent-%COMP%] .mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-minimal[_ngcontent-%COMP%]:after{color:#f44336}.mat-warn[_ngcontent-%COMP%] .mat-pseudo-checkbox-checked.mat-pseudo-checkbox-full[_ngcontent-%COMP%], .mat-warn[_ngcontent-%COMP%] .mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-full[_ngcontent-%COMP%]{background:#f44336}.mat-warn[_ngcontent-%COMP%] .mat-pseudo-checkbox-checked.mat-pseudo-checkbox-full[_ngcontent-%COMP%]:after, .mat-warn[_ngcontent-%COMP%] .mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-full[_ngcontent-%COMP%]:after{color:#fafafa}.mat-pseudo-checkbox-disabled.mat-pseudo-checkbox-checked.mat-pseudo-checkbox-minimal[_ngcontent-%COMP%]:after, .mat-pseudo-checkbox-disabled.mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-minimal[_ngcontent-%COMP%]:after{color:#b0b0b0}.mat-pseudo-checkbox-disabled.mat-pseudo-checkbox-checked.mat-pseudo-checkbox-full[_ngcontent-%COMP%], .mat-pseudo-checkbox-disabled.mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-full[_ngcontent-%COMP%]{background:#b0b0b0}.mat-app-background[_ngcontent-%COMP%]{background-color:#fafafa;color:#000000de}.mat-elevation-z0[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z0[_ngcontent-%COMP%]{box-shadow:0 0 #0003,0 0 #00000024,0 0 #0000001f}.mat-elevation-z1[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z1[_ngcontent-%COMP%]{box-shadow:0 2px 1px -1px #0003,0 1px 1px #00000024,0 1px 3px #0000001f}.mat-elevation-z2[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z2[_ngcontent-%COMP%]{box-shadow:0 3px 1px -2px #0003,0 2px 2px #00000024,0 1px 5px #0000001f}.mat-elevation-z3[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z3[_ngcontent-%COMP%]{box-shadow:0 3px 3px -2px #0003,0 3px 4px #00000024,0 1px 8px #0000001f}.mat-elevation-z4[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z4[_ngcontent-%COMP%]{box-shadow:0 2px 4px -1px #0003,0 4px 5px #00000024,0 1px 10px #0000001f}.mat-elevation-z5[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z5[_ngcontent-%COMP%]{box-shadow:0 3px 5px -1px #0003,0 5px 8px #00000024,0 1px 14px #0000001f}.mat-elevation-z6[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z6[_ngcontent-%COMP%]{box-shadow:0 3px 5px -1px #0003,0 6px 10px #00000024,0 1px 18px #0000001f}.mat-elevation-z7[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z7[_ngcontent-%COMP%]{box-shadow:0 4px 5px -2px #0003,0 7px 10px 1px #00000024,0 2px 16px 1px #0000001f}.mat-elevation-z8[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z8[_ngcontent-%COMP%]{box-shadow:0 5px 5px -3px #0003,0 8px 10px 1px #00000024,0 3px 14px 2px #0000001f}.mat-elevation-z9[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z9[_ngcontent-%COMP%]{box-shadow:0 5px 6px -3px #0003,0 9px 12px 1px #00000024,0 3px 16px 2px #0000001f}.mat-elevation-z10[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z10[_ngcontent-%COMP%]{box-shadow:0 6px 6px -3px #0003,0 10px 14px 1px #00000024,0 4px 18px 3px #0000001f}.mat-elevation-z11[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z11[_ngcontent-%COMP%]{box-shadow:0 6px 7px -4px #0003,0 11px 15px 1px #00000024,0 4px 20px 3px #0000001f}.mat-elevation-z12[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z12[_ngcontent-%COMP%]{box-shadow:0 7px 8px -4px #0003,0 12px 17px 2px #00000024,0 5px 22px 4px #0000001f}.mat-elevation-z13[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z13[_ngcontent-%COMP%]{box-shadow:0 7px 8px -4px #0003,0 13px 19px 2px #00000024,0 5px 24px 4px #0000001f}.mat-elevation-z14[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z14[_ngcontent-%COMP%]{box-shadow:0 7px 9px -4px #0003,0 14px 21px 2px #00000024,0 5px 26px 4px #0000001f}.mat-elevation-z15[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z15[_ngcontent-%COMP%]{box-shadow:0 8px 9px -5px #0003,0 15px 22px 2px #00000024,0 6px 28px 5px #0000001f}.mat-elevation-z16[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z16[_ngcontent-%COMP%]{box-shadow:0 8px 10px -5px #0003,0 16px 24px 2px #00000024,0 6px 30px 5px #0000001f}.mat-elevation-z17[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z17[_ngcontent-%COMP%]{box-shadow:0 8px 11px -5px #0003,0 17px 26px 2px #00000024,0 6px 32px 5px #0000001f}.mat-elevation-z18[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z18[_ngcontent-%COMP%]{box-shadow:0 9px 11px -5px #0003,0 18px 28px 2px #00000024,0 7px 34px 6px #0000001f}.mat-elevation-z19[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z19[_ngcontent-%COMP%]{box-shadow:0 9px 12px -6px #0003,0 19px 29px 2px #00000024,0 7px 36px 6px #0000001f}.mat-elevation-z20[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z20[_ngcontent-%COMP%]{box-shadow:0 10px 13px -6px #0003,0 20px 31px 3px #00000024,0 8px 38px 7px #0000001f}.mat-elevation-z21[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z21[_ngcontent-%COMP%]{box-shadow:0 10px 13px -6px #0003,0 21px 33px 3px #00000024,0 8px 40px 7px #0000001f}.mat-elevation-z22[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z22[_ngcontent-%COMP%]{box-shadow:0 10px 14px -6px #0003,0 22px 35px 3px #00000024,0 8px 42px 7px #0000001f}.mat-elevation-z23[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z23[_ngcontent-%COMP%]{box-shadow:0 11px 14px -7px #0003,0 23px 36px 3px #00000024,0 9px 44px 8px #0000001f}.mat-elevation-z24[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z24[_ngcontent-%COMP%]{box-shadow:0 11px 15px -7px #0003,0 24px 38px 3px #00000024,0 9px 46px 8px #0000001f}.mat-theme-loaded-marker[_ngcontent-%COMP%]{display:none}html[_ngcontent-%COMP%]{--mat-option-label-text-font: Inter;--mat-option-label-text-line-height: 19px;--mat-option-label-text-size: 13px;--mat-option-label-text-tracking: normal;--mat-option-label-text-weight: 400}html[_ngcontent-%COMP%]{--mat-optgroup-label-text-font: Inter;--mat-optgroup-label-text-line-height: 19px;--mat-optgroup-label-text-size: 13px;--mat-optgroup-label-text-tracking: normal;--mat-optgroup-label-text-weight: 400}.mat-mdc-card[_ngcontent-%COMP%]{--mdc-elevated-card-container-color: white;--mdc-elevated-card-container-elevation: 0px 2px 1px -1px rgba(0, 0, 0, .2), 0px 1px 1px 0px rgba(0, 0, 0, .14), 0px 1px 3px 0px rgba(0, 0, 0, .12);--mdc-outlined-card-container-color: white;--mdc-outlined-card-outline-color: rgba(0, 0, 0, .12);--mdc-outlined-card-container-elevation: 0px 0px 0px 0px rgba(0, 0, 0, .2), 0px 0px 0px 0px rgba(0, 0, 0, .14), 0px 0px 0px 0px rgba(0, 0, 0, .12);--mat-card-subtitle-text-color: rgba(0, 0, 0, .54)}.mat-mdc-card[_ngcontent-%COMP%]{--mat-card-title-text-font: Inter;--mat-card-title-text-line-height: 21px;--mat-card-title-text-size: 16px;--mat-card-title-text-tracking: normal;--mat-card-title-text-weight: 600;--mat-card-subtitle-text-font: Inter;--mat-card-subtitle-text-line-height: 19px;--mat-card-subtitle-text-size: 13px;--mat-card-subtitle-text-tracking: normal;--mat-card-subtitle-text-weight: 500}.mat-mdc-progress-bar[_ngcontent-%COMP%]{--mdc-linear-progress-active-indicator-color: #0f0761;--mdc-linear-progress-track-color: rgba(15, 7, 97, .25)}.mat-mdc-progress-bar[_ngcontent-%COMP%] .mdc-linear-progress__buffer-dots[_ngcontent-%COMP%]{background-color:#0f076140;background-color:var(--mdc-linear-progress-track-color, rgba(15, 7, 97, .25))}@media (forced-colors: active){.mat-mdc-progress-bar[_ngcontent-%COMP%] .mdc-linear-progress__buffer-dots[_ngcontent-%COMP%]{background-color:ButtonBorder}}@media all and (-ms-high-contrast: none),(-ms-high-contrast: active){.mat-mdc-progress-bar[_ngcontent-%COMP%] .mdc-linear-progress__buffer-dots[_ngcontent-%COMP%]{background-color:transparent;background-image:url(\"data:image/svg+xml,%3Csvg version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' enable-background='new 0 0 5 2' xml:space='preserve' viewBox='0 0 5 2' preserveAspectRatio='none slice'%3E%3Ccircle cx='1' cy='1' r='1' fill='rgba(15, 7, 97, 0.25)'/%3E%3C/svg%3E\")}}.mat-mdc-progress-bar[_ngcontent-%COMP%] .mdc-linear-progress__buffer-bar[_ngcontent-%COMP%]{background-color:#0f076140;background-color:var(--mdc-linear-progress-track-color, rgba(15, 7, 97, .25))}.mat-mdc-progress-bar.mat-accent[_ngcontent-%COMP%]{--mdc-linear-progress-active-indicator-color: #dd7345;--mdc-linear-progress-track-color: rgba(221, 115, 69, .25)}.mat-mdc-progress-bar.mat-accent[_ngcontent-%COMP%] .mdc-linear-progress__buffer-dots[_ngcontent-%COMP%]{background-color:#dd734540;background-color:var(--mdc-linear-progress-track-color, rgba(221, 115, 69, .25))}@media (forced-colors: active){.mat-mdc-progress-bar.mat-accent[_ngcontent-%COMP%] .mdc-linear-progress__buffer-dots[_ngcontent-%COMP%]{background-color:ButtonBorder}}@media all and (-ms-high-contrast: none),(-ms-high-contrast: active){.mat-mdc-progress-bar.mat-accent[_ngcontent-%COMP%] .mdc-linear-progress__buffer-dots[_ngcontent-%COMP%]{background-color:transparent;background-image:url(\"data:image/svg+xml,%3Csvg version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' enable-background='new 0 0 5 2' xml:space='preserve' viewBox='0 0 5 2' preserveAspectRatio='none slice'%3E%3Ccircle cx='1' cy='1' r='1' fill='rgba(221, 115, 69, 0.25)'/%3E%3C/svg%3E\")}}.mat-mdc-progress-bar.mat-accent[_ngcontent-%COMP%] .mdc-linear-progress__buffer-bar[_ngcontent-%COMP%]{background-color:#dd734540;background-color:var(--mdc-linear-progress-track-color, rgba(221, 115, 69, .25))}.mat-mdc-progress-bar.mat-warn[_ngcontent-%COMP%]{--mdc-linear-progress-active-indicator-color: #f44336;--mdc-linear-progress-track-color: rgba(244, 67, 54, .25)}@keyframes _ngcontent-%COMP%_mdc-linear-progress-buffering{}.mat-mdc-progress-bar.mat-warn[_ngcontent-%COMP%] .mdc-linear-progress__buffer-dots[_ngcontent-%COMP%]{background-color:#f4433640;background-color:var(--mdc-linear-progress-track-color, rgba(244, 67, 54, .25))}@media (forced-colors: active){.mat-mdc-progress-bar.mat-warn[_ngcontent-%COMP%] .mdc-linear-progress__buffer-dots[_ngcontent-%COMP%]{background-color:ButtonBorder}}@media all and (-ms-high-contrast: none),(-ms-high-contrast: active){.mat-mdc-progress-bar.mat-warn[_ngcontent-%COMP%] .mdc-linear-progress__buffer-dots[_ngcontent-%COMP%]{background-color:transparent;background-image:url(\"data:image/svg+xml,%3Csvg version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' enable-background='new 0 0 5 2' xml:space='preserve' viewBox='0 0 5 2' preserveAspectRatio='none slice'%3E%3Ccircle cx='1' cy='1' r='1' fill='rgba(244, 67, 54, 0.25)'/%3E%3C/svg%3E\")}}.mat-mdc-progress-bar.mat-warn[_ngcontent-%COMP%] .mdc-linear-progress__buffer-bar[_ngcontent-%COMP%]{background-color:#f4433640;background-color:var(--mdc-linear-progress-track-color, rgba(244, 67, 54, .25))}.mat-mdc-tooltip[_ngcontent-%COMP%]{--mdc-plain-tooltip-container-color: #616161;--mdc-plain-tooltip-supporting-text-color: #fff}.mat-mdc-tooltip[_ngcontent-%COMP%]{--mdc-plain-tooltip-supporting-text-font: Inter;--mdc-plain-tooltip-supporting-text-size: 12px;--mdc-plain-tooltip-supporting-text-weight: 400;--mdc-plain-tooltip-supporting-text-tracking: normal}html[_ngcontent-%COMP%]{--mdc-filled-text-field-caret-color: #0f0761;--mdc-filled-text-field-focus-active-indicator-color: #0f0761;--mdc-filled-text-field-focus-label-text-color: rgba(15, 7, 97, .87);--mdc-filled-text-field-container-color: whitesmoke;--mdc-filled-text-field-disabled-container-color: #fafafa;--mdc-filled-text-field-label-text-color: rgba(0, 0, 0, .6);--mdc-filled-text-field-disabled-label-text-color: rgba(0, 0, 0, .38);--mdc-filled-text-field-input-text-color: rgba(0, 0, 0, .87);--mdc-filled-text-field-disabled-input-text-color: rgba(0, 0, 0, .38);--mdc-filled-text-field-input-text-placeholder-color: rgba(0, 0, 0, .6);--mdc-filled-text-field-error-focus-label-text-color: #f44336;--mdc-filled-text-field-error-label-text-color: #f44336;--mdc-filled-text-field-error-caret-color: #f44336;--mdc-filled-text-field-active-indicator-color: rgba(0, 0, 0, .42);--mdc-filled-text-field-disabled-active-indicator-color: rgba(0, 0, 0, .06);--mdc-filled-text-field-hover-active-indicator-color: rgba(0, 0, 0, .87);--mdc-filled-text-field-error-active-indicator-color: #f44336;--mdc-filled-text-field-error-focus-active-indicator-color: #f44336;--mdc-filled-text-field-error-hover-active-indicator-color: #f44336;--mdc-outlined-text-field-caret-color: #0f0761;--mdc-outlined-text-field-focus-outline-color: #0f0761;--mdc-outlined-text-field-focus-label-text-color: rgba(15, 7, 97, .87);--mdc-outlined-text-field-label-text-color: rgba(0, 0, 0, .6);--mdc-outlined-text-field-disabled-label-text-color: rgba(0, 0, 0, .38);--mdc-outlined-text-field-input-text-color: rgba(0, 0, 0, .87);--mdc-outlined-text-field-disabled-input-text-color: rgba(0, 0, 0, .38);--mdc-outlined-text-field-input-text-placeholder-color: rgba(0, 0, 0, .6);--mdc-outlined-text-field-error-caret-color: #f44336;--mdc-outlined-text-field-error-focus-label-text-color: #f44336;--mdc-outlined-text-field-error-label-text-color: #f44336;--mdc-outlined-text-field-outline-color: rgba(0, 0, 0, .38);--mdc-outlined-text-field-disabled-outline-color: rgba(0, 0, 0, .06);--mdc-outlined-text-field-hover-outline-color: rgba(0, 0, 0, .87);--mdc-outlined-text-field-error-focus-outline-color: #f44336;--mdc-outlined-text-field-error-hover-outline-color: #f44336;--mdc-outlined-text-field-error-outline-color: #f44336;--mat-form-field-disabled-input-text-placeholder-color: rgba(0, 0, 0, .38)}.mat-mdc-form-field-error[_ngcontent-%COMP%]{color:var(--mdc-theme-error, #f44336)}.mat-mdc-form-field-subscript-wrapper[_ngcontent-%COMP%], .mat-mdc-form-field-bottom-align[_ngcontent-%COMP%]:before{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--mat-form-field-subscript-text-font);line-height:var(--mat-form-field-subscript-text-line-height);font-size:var(--mat-form-field-subscript-text-size);letter-spacing:var(--mat-form-field-subscript-text-tracking);font-weight:var(--mat-form-field-subscript-text-weight)}.mat-mdc-form-field-focus-overlay[_ngcontent-%COMP%]{background-color:#000000de}.mat-mdc-form-field[_ngcontent-%COMP%]:hover .mat-mdc-form-field-focus-overlay[_ngcontent-%COMP%]{opacity:.04}.mat-mdc-form-field.mat-focused[_ngcontent-%COMP%] .mat-mdc-form-field-focus-overlay[_ngcontent-%COMP%]{opacity:.12}.mat-mdc-form-field-type-mat-native-select[_ngcontent-%COMP%] .mat-mdc-form-field-infix[_ngcontent-%COMP%]:after{color:#0000008a}.mat-mdc-form-field-type-mat-native-select.mat-focused.mat-primary[_ngcontent-%COMP%] .mat-mdc-form-field-infix[_ngcontent-%COMP%]:after{color:#0f0761de}.mat-mdc-form-field-type-mat-native-select.mat-focused.mat-accent[_ngcontent-%COMP%] .mat-mdc-form-field-infix[_ngcontent-%COMP%]:after{color:#dd7345de}.mat-mdc-form-field-type-mat-native-select.mat-focused.mat-warn[_ngcontent-%COMP%] .mat-mdc-form-field-infix[_ngcontent-%COMP%]:after{color:#f44336de}.mat-mdc-form-field-type-mat-native-select.mat-form-field-disabled[_ngcontent-%COMP%] .mat-mdc-form-field-infix[_ngcontent-%COMP%]:after{color:#00000061}.mat-mdc-form-field.mat-accent[_ngcontent-%COMP%]{--mdc-filled-text-field-caret-color: #dd7345;--mdc-filled-text-field-focus-active-indicator-color: #dd7345;--mdc-filled-text-field-focus-label-text-color: rgba(221, 115, 69, .87);--mdc-outlined-text-field-caret-color: #dd7345;--mdc-outlined-text-field-focus-outline-color: #dd7345;--mdc-outlined-text-field-focus-label-text-color: rgba(221, 115, 69, .87)}.mat-mdc-form-field.mat-warn[_ngcontent-%COMP%]{--mdc-filled-text-field-caret-color: #f44336;--mdc-filled-text-field-focus-active-indicator-color: #f44336;--mdc-filled-text-field-focus-label-text-color: rgba(244, 67, 54, .87);--mdc-outlined-text-field-caret-color: #f44336;--mdc-outlined-text-field-focus-outline-color: #f44336;--mdc-outlined-text-field-focus-label-text-color: rgba(244, 67, 54, .87)}.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field[_ngcontent-%COMP%] .mdc-notched-outline__notch[_ngcontent-%COMP%]{border-left:1px solid transparent}[dir=rtl][_ngcontent-%COMP%] .mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field[_ngcontent-%COMP%] .mdc-notched-outline__notch[_ngcontent-%COMP%]{border-left:none;border-right:1px solid transparent}.mat-mdc-form-field-infix[_ngcontent-%COMP%]{min-height:48px}.mat-mdc-text-field-wrapper[_ngcontent-%COMP%] .mat-mdc-form-field-flex[_ngcontent-%COMP%] .mat-mdc-floating-label[_ngcontent-%COMP%]{top:24px}.mat-mdc-text-field-wrapper.mdc-text-field--outlined[_ngcontent-%COMP%] .mdc-notched-outline--upgraded[_ngcontent-%COMP%] .mdc-floating-label--float-above[_ngcontent-%COMP%]{--mat-mdc-form-field-label-transform: translateY( -30.75px) scale(var(--mat-mdc-form-field-floating-label-scale, .75));transform:var(--mat-mdc-form-field-label-transform)}.mat-mdc-text-field-wrapper.mdc-text-field--outlined[_ngcontent-%COMP%] .mat-mdc-form-field-infix[_ngcontent-%COMP%]{padding-top:12px;padding-bottom:12px}.mat-mdc-text-field-wrapper[_ngcontent-%COMP%]:not(.mdc-text-field--outlined) .mat-mdc-form-field-infix[_ngcontent-%COMP%]{padding-top:12px;padding-bottom:12px}.mdc-text-field--no-label[_ngcontent-%COMP%]:not(.mdc-text-field--outlined):not(.mdc-text-field--textarea) .mat-mdc-form-field-infix[_ngcontent-%COMP%]{padding-top:12px;padding-bottom:12px}.mat-mdc-text-field-wrapper[_ngcontent-%COMP%]:not(.mdc-text-field--outlined) .mat-mdc-floating-label[_ngcontent-%COMP%]{display:none}html[_ngcontent-%COMP%]{--mdc-filled-text-field-label-text-font: Inter;--mdc-filled-text-field-label-text-size: 13px;--mdc-filled-text-field-label-text-tracking: normal;--mdc-filled-text-field-label-text-weight: 400;--mdc-outlined-text-field-label-text-font: Inter;--mdc-outlined-text-field-label-text-size: 13px;--mdc-outlined-text-field-label-text-tracking: normal;--mdc-outlined-text-field-label-text-weight: 400;--mat-form-field-container-text-font: Inter;--mat-form-field-container-text-line-height: 19px;--mat-form-field-container-text-size: 13px;--mat-form-field-container-text-tracking: normal;--mat-form-field-container-text-weight: 400;--mat-form-field-outlined-label-text-populated-size: 13px;--mat-form-field-subscript-text-font: Inter;--mat-form-field-subscript-text-line-height: 16px;--mat-form-field-subscript-text-size: 12px;--mat-form-field-subscript-text-tracking: normal;--mat-form-field-subscript-text-weight: 400}html[_ngcontent-%COMP%]{--mat-select-panel-background-color: white;--mat-select-enabled-trigger-text-color: rgba(0, 0, 0, .87);--mat-select-disabled-trigger-text-color: rgba(0, 0, 0, .38);--mat-select-placeholder-text-color: rgba(0, 0, 0, .6);--mat-select-enabled-arrow-color: rgba(0, 0, 0, .54);--mat-select-disabled-arrow-color: rgba(0, 0, 0, .38);--mat-select-focused-arrow-color: rgba(15, 7, 97, .87);--mat-select-invalid-arrow-color: rgba(244, 67, 54, .87)}html[_ngcontent-%COMP%] .mat-mdc-form-field.mat-accent[_ngcontent-%COMP%]{--mat-select-panel-background-color: white;--mat-select-enabled-trigger-text-color: rgba(0, 0, 0, .87);--mat-select-disabled-trigger-text-color: rgba(0, 0, 0, .38);--mat-select-placeholder-text-color: rgba(0, 0, 0, .6);--mat-select-enabled-arrow-color: rgba(0, 0, 0, .54);--mat-select-disabled-arrow-color: rgba(0, 0, 0, .38);--mat-select-focused-arrow-color: rgba(221, 115, 69, .87);--mat-select-invalid-arrow-color: rgba(244, 67, 54, .87)}html[_ngcontent-%COMP%] .mat-mdc-form-field.mat-warn[_ngcontent-%COMP%]{--mat-select-panel-background-color: white;--mat-select-enabled-trigger-text-color: rgba(0, 0, 0, .87);--mat-select-disabled-trigger-text-color: rgba(0, 0, 0, .38);--mat-select-placeholder-text-color: rgba(0, 0, 0, .6);--mat-select-enabled-arrow-color: rgba(0, 0, 0, .54);--mat-select-disabled-arrow-color: rgba(0, 0, 0, .38);--mat-select-focused-arrow-color: rgba(244, 67, 54, .87);--mat-select-invalid-arrow-color: rgba(244, 67, 54, .87)}.mat-form-field-appearance-fill[_ngcontent-%COMP%] .mat-mdc-select-arrow-wrapper[_ngcontent-%COMP%]{transform:none}html[_ngcontent-%COMP%]{--mat-select-trigger-text-font: Inter;--mat-select-trigger-text-line-height: 19px;--mat-select-trigger-text-size: 13px;--mat-select-trigger-text-tracking: normal;--mat-select-trigger-text-weight: 400}html[_ngcontent-%COMP%]{--mat-autocomplete-background-color: white}.mat-mdc-dialog-container[_ngcontent-%COMP%]{--mdc-dialog-container-color: white;--mdc-dialog-subhead-color: rgba(0, 0, 0, .87);--mdc-dialog-supporting-text-color: rgba(0, 0, 0, .6)}.mat-mdc-dialog-container[_ngcontent-%COMP%]{--mdc-dialog-subhead-font: Inter;--mdc-dialog-subhead-line-height: 21px;--mdc-dialog-subhead-size: 16px;--mdc-dialog-subhead-weight: 600;--mdc-dialog-subhead-tracking: normal;--mdc-dialog-supporting-text-font: Inter;--mdc-dialog-supporting-text-line-height: 19px;--mdc-dialog-supporting-text-size: 13px;--mdc-dialog-supporting-text-weight: 400;--mdc-dialog-supporting-text-tracking: normal}.mat-mdc-standard-chip[_ngcontent-%COMP%]{--mdc-chip-disabled-label-text-color: #212121;--mdc-chip-elevated-container-color: #e0e0e0;--mdc-chip-elevated-disabled-container-color: #e0e0e0;--mdc-chip-focus-state-layer-color: black;--mdc-chip-focus-state-layer-opacity: .12;--mdc-chip-label-text-color: #212121;--mdc-chip-with-icon-icon-color: #212121;--mdc-chip-with-icon-disabled-icon-color: #212121;--mdc-chip-with-icon-selected-icon-color: #212121;--mdc-chip-with-trailing-icon-disabled-trailing-icon-color: #212121;--mdc-chip-with-trailing-icon-trailing-icon-color: #212121}.mat-mdc-standard-chip.mat-mdc-chip-selected.mat-primary[_ngcontent-%COMP%], .mat-mdc-standard-chip.mat-mdc-chip-highlighted.mat-primary[_ngcontent-%COMP%]{--mdc-chip-disabled-label-text-color: white;--mdc-chip-elevated-container-color: #0f0761;--mdc-chip-elevated-disabled-container-color: #0f0761;--mdc-chip-focus-state-layer-color: black;--mdc-chip-focus-state-layer-opacity: .12;--mdc-chip-label-text-color: white;--mdc-chip-with-icon-icon-color: white;--mdc-chip-with-icon-disabled-icon-color: white;--mdc-chip-with-icon-selected-icon-color: white;--mdc-chip-with-trailing-icon-disabled-trailing-icon-color: white;--mdc-chip-with-trailing-icon-trailing-icon-color: white}.mat-mdc-standard-chip.mat-mdc-chip-selected.mat-accent[_ngcontent-%COMP%], .mat-mdc-standard-chip.mat-mdc-chip-highlighted.mat-accent[_ngcontent-%COMP%]{--mdc-chip-disabled-label-text-color: white;--mdc-chip-elevated-container-color: #dd7345;--mdc-chip-elevated-disabled-container-color: #dd7345;--mdc-chip-focus-state-layer-color: black;--mdc-chip-focus-state-layer-opacity: .12;--mdc-chip-label-text-color: white;--mdc-chip-with-icon-icon-color: white;--mdc-chip-with-icon-disabled-icon-color: white;--mdc-chip-with-icon-selected-icon-color: white;--mdc-chip-with-trailing-icon-disabled-trailing-icon-color: white;--mdc-chip-with-trailing-icon-trailing-icon-color: white}.mat-mdc-standard-chip.mat-mdc-chip-selected.mat-warn[_ngcontent-%COMP%], .mat-mdc-standard-chip.mat-mdc-chip-highlighted.mat-warn[_ngcontent-%COMP%]{--mdc-chip-disabled-label-text-color: white;--mdc-chip-elevated-container-color: #f44336;--mdc-chip-elevated-disabled-container-color: #f44336;--mdc-chip-focus-state-layer-color: black;--mdc-chip-focus-state-layer-opacity: .12;--mdc-chip-label-text-color: white;--mdc-chip-with-icon-icon-color: white;--mdc-chip-with-icon-disabled-icon-color: white;--mdc-chip-with-icon-selected-icon-color: white;--mdc-chip-with-trailing-icon-disabled-trailing-icon-color: white;--mdc-chip-with-trailing-icon-trailing-icon-color: white}.mat-mdc-chip.mat-mdc-standard-chip[_ngcontent-%COMP%]{--mdc-chip-container-height: 24px}.mat-mdc-standard-chip[_ngcontent-%COMP%]{--mdc-chip-label-text-font: Inter;--mdc-chip-label-text-line-height: 19px;--mdc-chip-label-text-size: 13px;--mdc-chip-label-text-tracking: normal;--mdc-chip-label-text-weight: 400}.mat-mdc-slide-toggle[_ngcontent-%COMP%]{--mdc-switch-selected-focus-state-layer-color: #5c5699;--mdc-switch-selected-handle-color: #5c5699;--mdc-switch-selected-hover-state-layer-color: #5c5699;--mdc-switch-selected-pressed-state-layer-color: #5c5699;--mdc-switch-selected-focus-handle-color: #0f0761;--mdc-switch-selected-hover-handle-color: #0f0761;--mdc-switch-selected-pressed-handle-color: #0f0761;--mdc-switch-selected-focus-track-color: #aaa8ca;--mdc-switch-selected-hover-track-color: #aaa8ca;--mdc-switch-selected-pressed-track-color: #aaa8ca;--mdc-switch-selected-track-color: #aaa8ca;--mdc-switch-disabled-selected-handle-color: #424242;--mdc-switch-disabled-selected-icon-color: #fff;--mdc-switch-disabled-selected-track-color: #424242;--mdc-switch-disabled-unselected-handle-color: #424242;--mdc-switch-disabled-unselected-icon-color: #fff;--mdc-switch-disabled-unselected-track-color: #424242;--mdc-switch-handle-surface-color: var(--mdc-theme-surface, #fff);--mdc-switch-handle-elevation-shadow: 0px 2px 1px -1px rgba(0, 0, 0, .2), 0px 1px 1px 0px rgba(0, 0, 0, .14), 0px 1px 3px 0px rgba(0, 0, 0, .12);--mdc-switch-handle-shadow-color: black;--mdc-switch-disabled-handle-elevation-shadow: 0px 0px 0px 0px rgba(0, 0, 0, .2), 0px 0px 0px 0px rgba(0, 0, 0, .14), 0px 0px 0px 0px rgba(0, 0, 0, .12);--mdc-switch-selected-icon-color: #fff;--mdc-switch-unselected-focus-handle-color: #212121;--mdc-switch-unselected-focus-state-layer-color: #424242;--mdc-switch-unselected-focus-track-color: #e0e0e0;--mdc-switch-unselected-handle-color: #616161;--mdc-switch-unselected-hover-handle-color: #212121;--mdc-switch-unselected-hover-state-layer-color: #424242;--mdc-switch-unselected-hover-track-color: #e0e0e0;--mdc-switch-unselected-icon-color: #fff;--mdc-switch-unselected-pressed-handle-color: #212121;--mdc-switch-unselected-pressed-state-layer-color: #424242;--mdc-switch-unselected-pressed-track-color: #e0e0e0;--mdc-switch-unselected-track-color: #e0e0e0}.mat-mdc-slide-toggle[_ngcontent-%COMP%] .mdc-form-field[_ngcontent-%COMP%]{color:var(--mdc-theme-text-primary-on-background, rgba(0, 0, 0, .87))}.mat-mdc-slide-toggle[_ngcontent-%COMP%] .mdc-switch--disabled[_ngcontent-%COMP%] + label[_ngcontent-%COMP%]{color:#00000061}.mat-mdc-slide-toggle.mat-accent[_ngcontent-%COMP%]{--mdc-switch-selected-focus-state-layer-color: #914b2d;--mdc-switch-selected-handle-color: #914b2d;--mdc-switch-selected-hover-state-layer-color: #914b2d;--mdc-switch-selected-pressed-state-layer-color: #914b2d;--mdc-switch-selected-focus-handle-color: #2b160d;--mdc-switch-selected-hover-handle-color: #2b160d;--mdc-switch-selected-pressed-handle-color: #2b160d;--mdc-switch-selected-focus-track-color: #ff8c5a;--mdc-switch-selected-hover-track-color: #ff8c5a;--mdc-switch-selected-pressed-track-color: #ff8c5a;--mdc-switch-selected-track-color: #ff8c5a}.mat-mdc-slide-toggle.mat-warn[_ngcontent-%COMP%]{--mdc-switch-selected-focus-state-layer-color: #e53935;--mdc-switch-selected-handle-color: #e53935;--mdc-switch-selected-hover-state-layer-color: #e53935;--mdc-switch-selected-pressed-state-layer-color: #e53935;--mdc-switch-selected-focus-handle-color: #b71c1c;--mdc-switch-selected-hover-handle-color: #b71c1c;--mdc-switch-selected-pressed-handle-color: #b71c1c;--mdc-switch-selected-focus-track-color: #e57373;--mdc-switch-selected-hover-track-color: #e57373;--mdc-switch-selected-pressed-track-color: #e57373;--mdc-switch-selected-track-color: #e57373}.mat-mdc-slide-toggle[_ngcontent-%COMP%]{--mdc-switch-state-layer-size: 40px}.mat-mdc-slide-toggle[_ngcontent-%COMP%]{--mat-slide-toggle-label-text-font: Inter;--mat-slide-toggle-label-text-size: 13px;--mat-slide-toggle-label-text-tracking: normal;--mat-slide-toggle-label-text-line-height: 19px;--mat-slide-toggle-label-text-weight: 400}.mat-mdc-slide-toggle[_ngcontent-%COMP%] .mdc-form-field[_ngcontent-%COMP%]{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:Roboto,sans-serif;font-family:var(--mdc-typography-body2-font-family, var(--mdc-typography-font-family, Roboto, sans-serif));font-size:.875rem;font-size:var(--mdc-typography-body2-font-size, .875rem);line-height:1.25rem;line-height:var(--mdc-typography-body2-line-height, 1.25rem);font-weight:400;font-weight:var(--mdc-typography-body2-font-weight, 400);letter-spacing:.0178571429em;letter-spacing:var(--mdc-typography-body2-letter-spacing, .0178571429em);text-decoration:inherit;-webkit-text-decoration:var(--mdc-typography-body2-text-decoration, inherit);text-decoration:var(--mdc-typography-body2-text-decoration, inherit);text-transform:inherit;text-transform:var(--mdc-typography-body2-text-transform, inherit)}.mat-mdc-radio-button[_ngcontent-%COMP%] .mdc-form-field[_ngcontent-%COMP%]{color:var(--mdc-theme-text-primary-on-background, rgba(0, 0, 0, .87))}.mat-mdc-radio-button.mat-primary[_ngcontent-%COMP%]{--mdc-radio-disabled-selected-icon-color: #000;--mdc-radio-disabled-unselected-icon-color: #000;--mdc-radio-unselected-hover-icon-color: #212121;--mdc-radio-unselected-icon-color: rgba(0, 0, 0, .54);--mdc-radio-unselected-pressed-icon-color: rgba(0, 0, 0, .54);--mdc-radio-selected-focus-icon-color: #0f0761;--mdc-radio-selected-hover-icon-color: #0f0761;--mdc-radio-selected-icon-color: #0f0761;--mdc-radio-selected-pressed-icon-color: #0f0761;--mat-radio-ripple-color: #000;--mat-radio-checked-ripple-color: #0f0761;--mat-radio-disabled-label-color: rgba(0, 0, 0, .38)}.mat-mdc-radio-button.mat-accent[_ngcontent-%COMP%]{--mdc-radio-disabled-selected-icon-color: #000;--mdc-radio-disabled-unselected-icon-color: #000;--mdc-radio-unselected-hover-icon-color: #212121;--mdc-radio-unselected-icon-color: rgba(0, 0, 0, .54);--mdc-radio-unselected-pressed-icon-color: rgba(0, 0, 0, .54);--mdc-radio-selected-focus-icon-color: #dd7345;--mdc-radio-selected-hover-icon-color: #dd7345;--mdc-radio-selected-icon-color: #dd7345;--mdc-radio-selected-pressed-icon-color: #dd7345;--mat-radio-ripple-color: #000;--mat-radio-checked-ripple-color: #dd7345;--mat-radio-disabled-label-color: rgba(0, 0, 0, .38)}.mat-mdc-radio-button.mat-warn[_ngcontent-%COMP%]{--mdc-radio-disabled-selected-icon-color: #000;--mdc-radio-disabled-unselected-icon-color: #000;--mdc-radio-unselected-hover-icon-color: #212121;--mdc-radio-unselected-icon-color: rgba(0, 0, 0, .54);--mdc-radio-unselected-pressed-icon-color: rgba(0, 0, 0, .54);--mdc-radio-selected-focus-icon-color: #f44336;--mdc-radio-selected-hover-icon-color: #f44336;--mdc-radio-selected-icon-color: #f44336;--mdc-radio-selected-pressed-icon-color: #f44336;--mat-radio-ripple-color: #000;--mat-radio-checked-ripple-color: #f44336;--mat-radio-disabled-label-color: rgba(0, 0, 0, .38)}.mat-mdc-radio-button[_ngcontent-%COMP%] .mdc-radio[_ngcontent-%COMP%]{--mdc-radio-state-layer-size: 32px}.mat-mdc-radio-touch-target[_ngcontent-%COMP%]{display:none}.mat-mdc-radio-button[_ngcontent-%COMP%] .mdc-form-field[_ngcontent-%COMP%]{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--mdc-typography-body2-font-family, var(--mdc-typography-font-family, Inter));font-size:var(--mdc-typography-body2-font-size, 13px);line-height:var(--mdc-typography-body2-line-height, 19px);font-weight:var(--mdc-typography-body2-font-weight, 400);letter-spacing:var(--mdc-typography-body2-letter-spacing, normal);-webkit-text-decoration:var(--mdc-typography-body2-text-decoration, inherit);text-decoration:var(--mdc-typography-body2-text-decoration, inherit);text-transform:var(--mdc-typography-body2-text-transform, none)}.mat-mdc-slider[_ngcontent-%COMP%]{--mdc-slider-label-container-color: black;--mdc-slider-label-label-text-color: white;--mdc-slider-disabled-handle-color: #000;--mdc-slider-disabled-active-track-color: #000;--mdc-slider-disabled-inactive-track-color: #000;--mdc-slider-with-tick-marks-disabled-container-color: #000;--mat-mdc-slider-value-indicator-opacity: .6}.mat-mdc-slider.mat-primary[_ngcontent-%COMP%]{--mdc-slider-handle-color: #0f0761;--mdc-slider-focus-handle-color: #0f0761;--mdc-slider-hover-handle-color: #0f0761;--mdc-slider-active-track-color: #0f0761;--mdc-slider-inactive-track-color: #0f0761;--mdc-slider-with-tick-marks-active-container-color: #fff;--mdc-slider-with-tick-marks-inactive-container-color: #0f0761;--mat-mdc-slider-ripple-color: #0f0761;--mat-mdc-slider-hover-ripple-color: rgba(15, 7, 97, .05);--mat-mdc-slider-focus-ripple-color: rgba(15, 7, 97, .2)}.mat-mdc-slider.mat-accent[_ngcontent-%COMP%]{--mdc-slider-handle-color: #dd7345;--mdc-slider-focus-handle-color: #dd7345;--mdc-slider-hover-handle-color: #dd7345;--mdc-slider-active-track-color: #dd7345;--mdc-slider-inactive-track-color: #dd7345;--mdc-slider-with-tick-marks-active-container-color: #fff;--mdc-slider-with-tick-marks-inactive-container-color: #dd7345;--mat-mdc-slider-ripple-color: #dd7345;--mat-mdc-slider-hover-ripple-color: rgba(221, 115, 69, .05);--mat-mdc-slider-focus-ripple-color: rgba(221, 115, 69, .2)}.mat-mdc-slider.mat-warn[_ngcontent-%COMP%]{--mdc-slider-handle-color: #f44336;--mdc-slider-focus-handle-color: #f44336;--mdc-slider-hover-handle-color: #f44336;--mdc-slider-active-track-color: #f44336;--mdc-slider-inactive-track-color: #f44336;--mdc-slider-with-tick-marks-active-container-color: #fff;--mdc-slider-with-tick-marks-inactive-container-color: #f44336;--mat-mdc-slider-ripple-color: #f44336;--mat-mdc-slider-hover-ripple-color: rgba(244, 67, 54, .05);--mat-mdc-slider-focus-ripple-color: rgba(244, 67, 54, .2)}.mat-mdc-slider[_ngcontent-%COMP%]{--mdc-slider-label-label-text-font: Inter;--mdc-slider-label-label-text-size: 13px;--mdc-slider-label-label-text-line-height: 19px;--mdc-slider-label-label-text-tracking: normal;--mdc-slider-label-label-text-weight: 500}html[_ngcontent-%COMP%]{--mat-menu-item-label-text-color: rgba(0, 0, 0, .87);--mat-menu-item-icon-color: rgba(0, 0, 0, .87);--mat-menu-item-hover-state-layer-color: rgba(0, 0, 0, .04);--mat-menu-item-focus-state-layer-color: rgba(0, 0, 0, .04);--mat-menu-container-color: white}html[_ngcontent-%COMP%]{--mat-menu-item-label-text-font: Inter;--mat-menu-item-label-text-size: 13px;--mat-menu-item-label-text-tracking: normal;--mat-menu-item-label-text-line-height: 19px;--mat-menu-item-label-text-weight: 400}.mat-mdc-list-base[_ngcontent-%COMP%]{--mdc-list-list-item-label-text-color: rgba(0, 0, 0, .87);--mdc-list-list-item-supporting-text-color: rgba(0, 0, 0, .54);--mdc-list-list-item-leading-icon-color: rgba(0, 0, 0, .38);--mdc-list-list-item-trailing-supporting-text-color: rgba(0, 0, 0, .38);--mdc-list-list-item-trailing-icon-color: rgba(0, 0, 0, .38);--mdc-list-list-item-selected-trailing-icon-color: rgba(0, 0, 0, .38);--mdc-list-list-item-disabled-label-text-color: black;--mdc-list-list-item-disabled-leading-icon-color: black;--mdc-list-list-item-disabled-trailing-icon-color: black;--mdc-list-list-item-hover-label-text-color: rgba(0, 0, 0, .87);--mdc-list-list-item-hover-leading-icon-color: rgba(0, 0, 0, .38);--mdc-list-list-item-hover-trailing-icon-color: rgba(0, 0, 0, .38);--mdc-list-list-item-focus-label-text-color: rgba(0, 0, 0, .87);--mdc-list-list-item-hover-state-layer-color: black;--mdc-list-list-item-hover-state-layer-opacity: .04;--mdc-list-list-item-focus-state-layer-color: black;--mdc-list-list-item-focus-state-layer-opacity: .12}.mdc-list-item__start[_ngcontent-%COMP%], .mdc-list-item__end[_ngcontent-%COMP%]{--mdc-radio-disabled-selected-icon-color: #000;--mdc-radio-disabled-unselected-icon-color: #000;--mdc-radio-unselected-hover-icon-color: #212121;--mdc-radio-unselected-icon-color: rgba(0, 0, 0, .54);--mdc-radio-unselected-pressed-icon-color: rgba(0, 0, 0, .54);--mdc-radio-selected-focus-icon-color: #0f0761;--mdc-radio-selected-hover-icon-color: #0f0761;--mdc-radio-selected-icon-color: #0f0761;--mdc-radio-selected-pressed-icon-color: #0f0761}.mat-accent[_ngcontent-%COMP%] .mdc-list-item__start[_ngcontent-%COMP%], .mat-accent[_ngcontent-%COMP%] .mdc-list-item__end[_ngcontent-%COMP%]{--mdc-radio-disabled-selected-icon-color: #000;--mdc-radio-disabled-unselected-icon-color: #000;--mdc-radio-unselected-hover-icon-color: #212121;--mdc-radio-unselected-icon-color: rgba(0, 0, 0, .54);--mdc-radio-unselected-pressed-icon-color: rgba(0, 0, 0, .54);--mdc-radio-selected-focus-icon-color: #dd7345;--mdc-radio-selected-hover-icon-color: #dd7345;--mdc-radio-selected-icon-color: #dd7345;--mdc-radio-selected-pressed-icon-color: #dd7345}.mat-warn[_ngcontent-%COMP%] .mdc-list-item__start[_ngcontent-%COMP%], .mat-warn[_ngcontent-%COMP%] .mdc-list-item__end[_ngcontent-%COMP%]{--mdc-radio-disabled-selected-icon-color: #000;--mdc-radio-disabled-unselected-icon-color: #000;--mdc-radio-unselected-hover-icon-color: #212121;--mdc-radio-unselected-icon-color: rgba(0, 0, 0, .54);--mdc-radio-unselected-pressed-icon-color: rgba(0, 0, 0, .54);--mdc-radio-selected-focus-icon-color: #f44336;--mdc-radio-selected-hover-icon-color: #f44336;--mdc-radio-selected-icon-color: #f44336;--mdc-radio-selected-pressed-icon-color: #f44336}.mat-mdc-list-option[_ngcontent-%COMP%]{--mdc-checkbox-disabled-selected-icon-color: rgba(0, 0, 0, .38);--mdc-checkbox-disabled-unselected-icon-color: rgba(0, 0, 0, .38);--mdc-checkbox-selected-checkmark-color: #fff;--mdc-checkbox-selected-focus-icon-color: #0f0761;--mdc-checkbox-selected-hover-icon-color: #0f0761;--mdc-checkbox-selected-icon-color: #0f0761;--mdc-checkbox-selected-pressed-icon-color: #0f0761;--mdc-checkbox-unselected-focus-icon-color: #212121;--mdc-checkbox-unselected-hover-icon-color: #212121;--mdc-checkbox-unselected-icon-color: rgba(0, 0, 0, .54);--mdc-checkbox-unselected-pressed-icon-color: rgba(0, 0, 0, .54);--mdc-checkbox-selected-focus-state-layer-color: #0f0761;--mdc-checkbox-selected-hover-state-layer-color: #0f0761;--mdc-checkbox-selected-pressed-state-layer-color: #0f0761;--mdc-checkbox-unselected-focus-state-layer-color: black;--mdc-checkbox-unselected-hover-state-layer-color: black;--mdc-checkbox-unselected-pressed-state-layer-color: black}.mat-mdc-list-option.mat-accent[_ngcontent-%COMP%]{--mdc-checkbox-disabled-selected-icon-color: rgba(0, 0, 0, .38);--mdc-checkbox-disabled-unselected-icon-color: rgba(0, 0, 0, .38);--mdc-checkbox-selected-checkmark-color: #fff;--mdc-checkbox-selected-focus-icon-color: #dd7345;--mdc-checkbox-selected-hover-icon-color: #dd7345;--mdc-checkbox-selected-icon-color: #dd7345;--mdc-checkbox-selected-pressed-icon-color: #dd7345;--mdc-checkbox-unselected-focus-icon-color: #212121;--mdc-checkbox-unselected-hover-icon-color: #212121;--mdc-checkbox-unselected-icon-color: rgba(0, 0, 0, .54);--mdc-checkbox-unselected-pressed-icon-color: rgba(0, 0, 0, .54);--mdc-checkbox-selected-focus-state-layer-color: #dd7345;--mdc-checkbox-selected-hover-state-layer-color: #dd7345;--mdc-checkbox-selected-pressed-state-layer-color: #dd7345;--mdc-checkbox-unselected-focus-state-layer-color: black;--mdc-checkbox-unselected-hover-state-layer-color: black;--mdc-checkbox-unselected-pressed-state-layer-color: black}.mat-mdc-list-option.mat-warn[_ngcontent-%COMP%]{--mdc-checkbox-disabled-selected-icon-color: rgba(0, 0, 0, .38);--mdc-checkbox-disabled-unselected-icon-color: rgba(0, 0, 0, .38);--mdc-checkbox-selected-checkmark-color: #fff;--mdc-checkbox-selected-focus-icon-color: #f44336;--mdc-checkbox-selected-hover-icon-color: #f44336;--mdc-checkbox-selected-icon-color: #f44336;--mdc-checkbox-selected-pressed-icon-color: #f44336;--mdc-checkbox-unselected-focus-icon-color: #212121;--mdc-checkbox-unselected-hover-icon-color: #212121;--mdc-checkbox-unselected-icon-color: rgba(0, 0, 0, .54);--mdc-checkbox-unselected-pressed-icon-color: rgba(0, 0, 0, .54);--mdc-checkbox-selected-focus-state-layer-color: #f44336;--mdc-checkbox-selected-hover-state-layer-color: #f44336;--mdc-checkbox-selected-pressed-state-layer-color: #f44336;--mdc-checkbox-unselected-focus-state-layer-color: black;--mdc-checkbox-unselected-hover-state-layer-color: black;--mdc-checkbox-unselected-pressed-state-layer-color: black}.mat-mdc-list-base.mat-mdc-list-base[_ngcontent-%COMP%] .mdc-list-item--selected[_ngcontent-%COMP%] .mdc-list-item__primary-text[_ngcontent-%COMP%], .mat-mdc-list-base.mat-mdc-list-base[_ngcontent-%COMP%] .mdc-list-item--activated[_ngcontent-%COMP%] .mdc-list-item__primary-text[_ngcontent-%COMP%], .mat-mdc-list-base.mat-mdc-list-base[_ngcontent-%COMP%] .mdc-list-item--selected.mdc-list-item--with-leading-icon[_ngcontent-%COMP%] .mdc-list-item__start[_ngcontent-%COMP%], .mat-mdc-list-base.mat-mdc-list-base[_ngcontent-%COMP%] .mdc-list-item--activated.mdc-list-item--with-leading-icon[_ngcontent-%COMP%] .mdc-list-item__start[_ngcontent-%COMP%]{color:#0f0761}.mat-mdc-list-base[_ngcontent-%COMP%] .mdc-list-item--disabled[_ngcontent-%COMP%] .mdc-list-item__start[_ngcontent-%COMP%], .mat-mdc-list-base[_ngcontent-%COMP%] .mdc-list-item--disabled[_ngcontent-%COMP%] .mdc-list-item__content[_ngcontent-%COMP%], .mat-mdc-list-base[_ngcontent-%COMP%] .mdc-list-item--disabled[_ngcontent-%COMP%] .mdc-list-item__end[_ngcontent-%COMP%]{opacity:1}.mat-mdc-list-base[_ngcontent-%COMP%]{--mdc-list-list-item-one-line-container-height: 40px;--mdc-list-list-item-two-line-container-height: 56px;--mdc-list-list-item-three-line-container-height: 80px}.mat-mdc-list-item.mdc-list-item--with-leading-avatar.mdc-list-item--with-one-line[_ngcontent-%COMP%], .mat-mdc-list-item.mdc-list-item--with-leading-checkbox.mdc-list-item--with-one-line[_ngcontent-%COMP%], .mat-mdc-list-item.mdc-list-item--with-leading-icon.mdc-list-item--with-one-line[_ngcontent-%COMP%]{height:48px}.mat-mdc-list-item.mdc-list-item--with-leading-avatar.mdc-list-item--with-two-lines[_ngcontent-%COMP%], .mat-mdc-list-item.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines[_ngcontent-%COMP%], .mat-mdc-list-item.mdc-list-item--with-leading-icon.mdc-list-item--with-two-lines[_ngcontent-%COMP%]{height:64px}.mat-mdc-list-base[_ngcontent-%COMP%]{--mdc-list-list-item-label-text-font: Inter;--mdc-list-list-item-label-text-line-height: 19px;--mdc-list-list-item-label-text-size: 13px;--mdc-list-list-item-label-text-tracking: normal;--mdc-list-list-item-label-text-weight: 400;--mdc-list-list-item-supporting-text-font: Inter;--mdc-list-list-item-supporting-text-line-height: 19px;--mdc-list-list-item-supporting-text-size: 13px;--mdc-list-list-item-supporting-text-tracking: normal;--mdc-list-list-item-supporting-text-weight: 400;--mdc-list-list-item-trailing-supporting-text-font: Inter;--mdc-list-list-item-trailing-supporting-text-line-height: 16px;--mdc-list-list-item-trailing-supporting-text-size: 12px;--mdc-list-list-item-trailing-supporting-text-tracking: normal;--mdc-list-list-item-trailing-supporting-text-weight: 400}.mdc-list-group__subheader[_ngcontent-%COMP%]{font-size:16px;font-weight:600;line-height:22px;font-family:Inter;letter-spacing:normal}html[_ngcontent-%COMP%]{--mat-paginator-container-text-color: rgba(0, 0, 0, .87);--mat-paginator-container-background-color: white;--mat-paginator-enabled-icon-color: rgba(0, 0, 0, .54);--mat-paginator-disabled-icon-color: rgba(0, 0, 0, .12)}html[_ngcontent-%COMP%]{--mat-paginator-container-size: 48px}.mat-mdc-paginator[_ngcontent-%COMP%] .mat-mdc-form-field-infix[_ngcontent-%COMP%]{min-height:40px}.mat-mdc-paginator[_ngcontent-%COMP%] .mat-mdc-text-field-wrapper[_ngcontent-%COMP%] .mat-mdc-form-field-flex[_ngcontent-%COMP%] .mat-mdc-floating-label[_ngcontent-%COMP%]{top:20px}.mat-mdc-paginator[_ngcontent-%COMP%] .mat-mdc-text-field-wrapper.mdc-text-field--outlined[_ngcontent-%COMP%] .mdc-notched-outline--upgraded[_ngcontent-%COMP%] .mdc-floating-label--float-above[_ngcontent-%COMP%]{--mat-mdc-form-field-label-transform: translateY( -26.75px) scale(var(--mat-mdc-form-field-floating-label-scale, .75));transform:var(--mat-mdc-form-field-label-transform)}.mat-mdc-paginator[_ngcontent-%COMP%] .mat-mdc-text-field-wrapper.mdc-text-field--outlined[_ngcontent-%COMP%] .mat-mdc-form-field-infix[_ngcontent-%COMP%]{padding-top:8px;padding-bottom:8px}.mat-mdc-paginator[_ngcontent-%COMP%] .mat-mdc-text-field-wrapper[_ngcontent-%COMP%]:not(.mdc-text-field--outlined) .mat-mdc-form-field-infix[_ngcontent-%COMP%]{padding-top:8px;padding-bottom:8px}.mat-mdc-paginator[_ngcontent-%COMP%] .mdc-text-field--no-label[_ngcontent-%COMP%]:not(.mdc-text-field--outlined):not(.mdc-text-field--textarea) .mat-mdc-form-field-infix[_ngcontent-%COMP%]{padding-top:8px;padding-bottom:8px}.mat-mdc-paginator[_ngcontent-%COMP%] .mat-mdc-text-field-wrapper[_ngcontent-%COMP%]:not(.mdc-text-field--outlined) .mat-mdc-floating-label[_ngcontent-%COMP%]{display:none}html[_ngcontent-%COMP%]{--mat-paginator-container-text-font: Inter;--mat-paginator-container-text-line-height: 16px;--mat-paginator-container-text-size: 12px;--mat-paginator-container-text-tracking: normal;--mat-paginator-container-text-weight: 400;--mat-paginator-select-trigger-text-size: 12px}.mat-mdc-tab-group[_ngcontent-%COMP%], .mat-mdc-tab-nav-bar[_ngcontent-%COMP%]{--mdc-tab-indicator-active-indicator-color: #0f0761;--mat-tab-header-disabled-ripple-color: rgba(0, 0, 0, .38);--mat-tab-header-pagination-icon-color: #000;--mat-tab-header-inactive-label-text-color: rgba(0, 0, 0, .6);--mat-tab-header-active-label-text-color: #0f0761;--mat-tab-header-active-ripple-color: #0f0761;--mat-tab-header-inactive-ripple-color: #0f0761;--mat-tab-header-inactive-focus-label-text-color: rgba(0, 0, 0, .6);--mat-tab-header-inactive-hover-label-text-color: rgba(0, 0, 0, .6);--mat-tab-header-active-focus-label-text-color: #0f0761;--mat-tab-header-active-hover-label-text-color: #0f0761;--mat-tab-header-active-focus-indicator-color: #0f0761;--mat-tab-header-active-hover-indicator-color: #0f0761}.mat-mdc-tab-group.mat-accent[_ngcontent-%COMP%], .mat-mdc-tab-nav-bar.mat-accent[_ngcontent-%COMP%]{--mdc-tab-indicator-active-indicator-color: #dd7345;--mat-tab-header-disabled-ripple-color: rgba(0, 0, 0, .38);--mat-tab-header-pagination-icon-color: #000;--mat-tab-header-inactive-label-text-color: rgba(0, 0, 0, .6);--mat-tab-header-active-label-text-color: #dd7345;--mat-tab-header-active-ripple-color: #dd7345;--mat-tab-header-inactive-ripple-color: #dd7345;--mat-tab-header-inactive-focus-label-text-color: rgba(0, 0, 0, .6);--mat-tab-header-inactive-hover-label-text-color: rgba(0, 0, 0, .6);--mat-tab-header-active-focus-label-text-color: #dd7345;--mat-tab-header-active-hover-label-text-color: #dd7345;--mat-tab-header-active-focus-indicator-color: #dd7345;--mat-tab-header-active-hover-indicator-color: #dd7345}.mat-mdc-tab-group.mat-warn[_ngcontent-%COMP%], .mat-mdc-tab-nav-bar.mat-warn[_ngcontent-%COMP%]{--mdc-tab-indicator-active-indicator-color: #f44336;--mat-tab-header-disabled-ripple-color: rgba(0, 0, 0, .38);--mat-tab-header-pagination-icon-color: #000;--mat-tab-header-inactive-label-text-color: rgba(0, 0, 0, .6);--mat-tab-header-active-label-text-color: #f44336;--mat-tab-header-active-ripple-color: #f44336;--mat-tab-header-inactive-ripple-color: #f44336;--mat-tab-header-inactive-focus-label-text-color: rgba(0, 0, 0, .6);--mat-tab-header-inactive-hover-label-text-color: rgba(0, 0, 0, .6);--mat-tab-header-active-focus-label-text-color: #f44336;--mat-tab-header-active-hover-label-text-color: #f44336;--mat-tab-header-active-focus-indicator-color: #f44336;--mat-tab-header-active-hover-indicator-color: #f44336}.mat-mdc-tab-group.mat-background-primary[_ngcontent-%COMP%], .mat-mdc-tab-nav-bar.mat-background-primary[_ngcontent-%COMP%]{--mat-tab-header-with-background-background-color: #0f0761;--mat-tab-header-with-background-foreground-color: white}.mat-mdc-tab-group.mat-background-accent[_ngcontent-%COMP%], .mat-mdc-tab-nav-bar.mat-background-accent[_ngcontent-%COMP%]{--mat-tab-header-with-background-background-color: #dd7345;--mat-tab-header-with-background-foreground-color: white}.mat-mdc-tab-group.mat-background-warn[_ngcontent-%COMP%], .mat-mdc-tab-nav-bar.mat-background-warn[_ngcontent-%COMP%]{--mat-tab-header-with-background-background-color: #f44336;--mat-tab-header-with-background-foreground-color: white}.mat-mdc-tab-header[_ngcontent-%COMP%]{--mdc-secondary-navigation-tab-container-height: 40px}.mat-mdc-tab-header[_ngcontent-%COMP%]{--mat-tab-header-label-text-font: Inter;--mat-tab-header-label-text-size: 13px;--mat-tab-header-label-text-tracking: normal;--mat-tab-header-label-text-line-height: 19px;--mat-tab-header-label-text-weight: 500}html[_ngcontent-%COMP%]{--mdc-checkbox-disabled-selected-icon-color: rgba(0, 0, 0, .38);--mdc-checkbox-disabled-unselected-icon-color: rgba(0, 0, 0, .38);--mdc-checkbox-selected-checkmark-color: #fff;--mdc-checkbox-selected-focus-icon-color: #dd7345;--mdc-checkbox-selected-hover-icon-color: #dd7345;--mdc-checkbox-selected-icon-color: #dd7345;--mdc-checkbox-selected-pressed-icon-color: #dd7345;--mdc-checkbox-unselected-focus-icon-color: #212121;--mdc-checkbox-unselected-hover-icon-color: #212121;--mdc-checkbox-unselected-icon-color: rgba(0, 0, 0, .54);--mdc-checkbox-unselected-pressed-icon-color: rgba(0, 0, 0, .54);--mdc-checkbox-selected-focus-state-layer-color: #dd7345;--mdc-checkbox-selected-hover-state-layer-color: #dd7345;--mdc-checkbox-selected-pressed-state-layer-color: #dd7345;--mdc-checkbox-unselected-focus-state-layer-color: black;--mdc-checkbox-unselected-hover-state-layer-color: black;--mdc-checkbox-unselected-pressed-state-layer-color: black}.mat-mdc-checkbox.mat-primary[_ngcontent-%COMP%]{--mdc-checkbox-disabled-selected-icon-color: rgba(0, 0, 0, .38);--mdc-checkbox-disabled-unselected-icon-color: rgba(0, 0, 0, .38);--mdc-checkbox-selected-checkmark-color: #fff;--mdc-checkbox-selected-focus-icon-color: #0f0761;--mdc-checkbox-selected-hover-icon-color: #0f0761;--mdc-checkbox-selected-icon-color: #0f0761;--mdc-checkbox-selected-pressed-icon-color: #0f0761;--mdc-checkbox-unselected-focus-icon-color: #212121;--mdc-checkbox-unselected-hover-icon-color: #212121;--mdc-checkbox-unselected-icon-color: rgba(0, 0, 0, .54);--mdc-checkbox-unselected-pressed-icon-color: rgba(0, 0, 0, .54);--mdc-checkbox-selected-focus-state-layer-color: #0f0761;--mdc-checkbox-selected-hover-state-layer-color: #0f0761;--mdc-checkbox-selected-pressed-state-layer-color: #0f0761;--mdc-checkbox-unselected-focus-state-layer-color: black;--mdc-checkbox-unselected-hover-state-layer-color: black;--mdc-checkbox-unselected-pressed-state-layer-color: black}.mat-mdc-checkbox.mat-warn[_ngcontent-%COMP%]{--mdc-checkbox-disabled-selected-icon-color: rgba(0, 0, 0, .38);--mdc-checkbox-disabled-unselected-icon-color: rgba(0, 0, 0, .38);--mdc-checkbox-selected-checkmark-color: #fff;--mdc-checkbox-selected-focus-icon-color: #f44336;--mdc-checkbox-selected-hover-icon-color: #f44336;--mdc-checkbox-selected-icon-color: #f44336;--mdc-checkbox-selected-pressed-icon-color: #f44336;--mdc-checkbox-unselected-focus-icon-color: #212121;--mdc-checkbox-unselected-hover-icon-color: #212121;--mdc-checkbox-unselected-icon-color: rgba(0, 0, 0, .54);--mdc-checkbox-unselected-pressed-icon-color: rgba(0, 0, 0, .54);--mdc-checkbox-selected-focus-state-layer-color: #f44336;--mdc-checkbox-selected-hover-state-layer-color: #f44336;--mdc-checkbox-selected-pressed-state-layer-color: #f44336;--mdc-checkbox-unselected-focus-state-layer-color: black;--mdc-checkbox-unselected-hover-state-layer-color: black;--mdc-checkbox-unselected-pressed-state-layer-color: black}.mat-mdc-checkbox[_ngcontent-%COMP%] .mdc-form-field[_ngcontent-%COMP%]{color:var(--mdc-theme-text-primary-on-background, rgba(0, 0, 0, .87))}.mat-mdc-checkbox.mat-mdc-checkbox-disabled[_ngcontent-%COMP%] label[_ngcontent-%COMP%]{color:#00000061}html[_ngcontent-%COMP%]{--mdc-checkbox-state-layer-size: 32px}.mat-mdc-checkbox-touch-target[_ngcontent-%COMP%]{display:none}.mat-mdc-checkbox[_ngcontent-%COMP%] .mdc-form-field[_ngcontent-%COMP%]{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--mdc-typography-body2-font-family, var(--mdc-typography-font-family, Inter));font-size:var(--mdc-typography-body2-font-size, 13px);line-height:var(--mdc-typography-body2-line-height, 19px);font-weight:var(--mdc-typography-body2-font-weight, 400);letter-spacing:var(--mdc-typography-body2-letter-spacing, normal);-webkit-text-decoration:var(--mdc-typography-body2-text-decoration, inherit);text-decoration:var(--mdc-typography-body2-text-decoration, inherit);text-transform:var(--mdc-typography-body2-text-transform, none)}.mat-mdc-button.mat-unthemed[_ngcontent-%COMP%]{--mdc-text-button-label-text-color: #000}.mat-mdc-button.mat-primary[_ngcontent-%COMP%]{--mdc-text-button-label-text-color: #0f0761}.mat-mdc-button.mat-accent[_ngcontent-%COMP%]{--mdc-text-button-label-text-color: #dd7345}.mat-mdc-button.mat-warn[_ngcontent-%COMP%]{--mdc-text-button-label-text-color: #f44336}.mat-mdc-button[disabled][disabled][_ngcontent-%COMP%]{--mdc-text-button-disabled-label-text-color: rgba(0, 0, 0, .38);--mdc-text-button-label-text-color: rgba(0, 0, 0, .38)}.mat-mdc-unelevated-button.mat-unthemed[_ngcontent-%COMP%]{--mdc-filled-button-container-color: #fff;--mdc-filled-button-label-text-color: #000}.mat-mdc-unelevated-button.mat-primary[_ngcontent-%COMP%]{--mdc-filled-button-container-color: #0f0761;--mdc-filled-button-label-text-color: #fff}.mat-mdc-unelevated-button.mat-accent[_ngcontent-%COMP%]{--mdc-filled-button-container-color: #dd7345;--mdc-filled-button-label-text-color: #fff}.mat-mdc-unelevated-button.mat-warn[_ngcontent-%COMP%]{--mdc-filled-button-container-color: #f44336;--mdc-filled-button-label-text-color: #fff}.mat-mdc-unelevated-button[disabled][disabled][_ngcontent-%COMP%]{--mdc-filled-button-disabled-container-color: rgba(0, 0, 0, .12);--mdc-filled-button-disabled-label-text-color: rgba(0, 0, 0, .38);--mdc-filled-button-container-color: rgba(0, 0, 0, .12);--mdc-filled-button-label-text-color: rgba(0, 0, 0, .38)}.mat-mdc-raised-button.mat-unthemed[_ngcontent-%COMP%]{--mdc-protected-button-container-color: #fff;--mdc-protected-button-label-text-color: #000}.mat-mdc-raised-button.mat-primary[_ngcontent-%COMP%]{--mdc-protected-button-container-color: #0f0761;--mdc-protected-button-label-text-color: #fff}.mat-mdc-raised-button.mat-accent[_ngcontent-%COMP%]{--mdc-protected-button-container-color: #dd7345;--mdc-protected-button-label-text-color: #fff}.mat-mdc-raised-button.mat-warn[_ngcontent-%COMP%]{--mdc-protected-button-container-color: #f44336;--mdc-protected-button-label-text-color: #fff}.mat-mdc-raised-button[disabled][disabled][_ngcontent-%COMP%]{--mdc-protected-button-disabled-container-color: rgba(0, 0, 0, .12);--mdc-protected-button-disabled-label-text-color: rgba(0, 0, 0, .38);--mdc-protected-button-container-color: rgba(0, 0, 0, .12);--mdc-protected-button-label-text-color: rgba(0, 0, 0, .38);--mdc-protected-button-container-elevation: 0}.mat-mdc-outlined-button[_ngcontent-%COMP%]{--mdc-outlined-button-outline-color: rgba(0, 0, 0, .12)}.mat-mdc-outlined-button.mat-unthemed[_ngcontent-%COMP%]{--mdc-outlined-button-label-text-color: #000}.mat-mdc-outlined-button.mat-primary[_ngcontent-%COMP%]{--mdc-outlined-button-label-text-color: #0f0761}.mat-mdc-outlined-button.mat-accent[_ngcontent-%COMP%]{--mdc-outlined-button-label-text-color: #dd7345}.mat-mdc-outlined-button.mat-warn[_ngcontent-%COMP%]{--mdc-outlined-button-label-text-color: #f44336}.mat-mdc-outlined-button[disabled][disabled][_ngcontent-%COMP%]{--mdc-outlined-button-label-text-color: rgba(0, 0, 0, .38);--mdc-outlined-button-disabled-label-text-color: rgba(0, 0, 0, .38);--mdc-outlined-button-outline-color: rgba(0, 0, 0, .12);--mdc-outlined-button-disabled-outline-color: rgba(0, 0, 0, .12)}.mat-mdc-button[_ngcontent-%COMP%], .mat-mdc-outlined-button[_ngcontent-%COMP%]{--mat-mdc-button-persistent-ripple-color: #000;--mat-mdc-button-ripple-color: rgba(0, 0, 0, .1)}.mat-mdc-button[_ngcontent-%COMP%]:hover .mat-mdc-button-persistent-ripple[_ngcontent-%COMP%]:before, .mat-mdc-outlined-button[_ngcontent-%COMP%]:hover .mat-mdc-button-persistent-ripple[_ngcontent-%COMP%]:before{opacity:.04}.mat-mdc-button.cdk-program-focused[_ngcontent-%COMP%] .mat-mdc-button-persistent-ripple[_ngcontent-%COMP%]:before, .mat-mdc-button.cdk-keyboard-focused[_ngcontent-%COMP%] .mat-mdc-button-persistent-ripple[_ngcontent-%COMP%]:before, .mat-mdc-outlined-button.cdk-program-focused[_ngcontent-%COMP%] .mat-mdc-button-persistent-ripple[_ngcontent-%COMP%]:before, .mat-mdc-outlined-button.cdk-keyboard-focused[_ngcontent-%COMP%] .mat-mdc-button-persistent-ripple[_ngcontent-%COMP%]:before{opacity:.12}.mat-mdc-button[_ngcontent-%COMP%]:active .mat-mdc-button-persistent-ripple[_ngcontent-%COMP%]:before, .mat-mdc-outlined-button[_ngcontent-%COMP%]:active .mat-mdc-button-persistent-ripple[_ngcontent-%COMP%]:before{opacity:.12}.mat-mdc-button.mat-primary[_ngcontent-%COMP%], .mat-mdc-outlined-button.mat-primary[_ngcontent-%COMP%]{--mat-mdc-button-persistent-ripple-color: #0f0761;--mat-mdc-button-ripple-color: rgba(15, 7, 97, .1)}.mat-mdc-button.mat-accent[_ngcontent-%COMP%], .mat-mdc-outlined-button.mat-accent[_ngcontent-%COMP%]{--mat-mdc-button-persistent-ripple-color: #dd7345;--mat-mdc-button-ripple-color: rgba(221, 115, 69, .1)}.mat-mdc-button.mat-warn[_ngcontent-%COMP%], .mat-mdc-outlined-button.mat-warn[_ngcontent-%COMP%]{--mat-mdc-button-persistent-ripple-color: #f44336;--mat-mdc-button-ripple-color: rgba(244, 67, 54, .1)}.mat-mdc-raised-button[_ngcontent-%COMP%], .mat-mdc-unelevated-button[_ngcontent-%COMP%]{--mat-mdc-button-persistent-ripple-color: #000;--mat-mdc-button-ripple-color: rgba(0, 0, 0, .1)}.mat-mdc-raised-button[_ngcontent-%COMP%]:hover .mat-mdc-button-persistent-ripple[_ngcontent-%COMP%]:before, .mat-mdc-unelevated-button[_ngcontent-%COMP%]:hover .mat-mdc-button-persistent-ripple[_ngcontent-%COMP%]:before{opacity:.04}.mat-mdc-raised-button.cdk-program-focused[_ngcontent-%COMP%] .mat-mdc-button-persistent-ripple[_ngcontent-%COMP%]:before, .mat-mdc-raised-button.cdk-keyboard-focused[_ngcontent-%COMP%] .mat-mdc-button-persistent-ripple[_ngcontent-%COMP%]:before, .mat-mdc-unelevated-button.cdk-program-focused[_ngcontent-%COMP%] .mat-mdc-button-persistent-ripple[_ngcontent-%COMP%]:before, .mat-mdc-unelevated-button.cdk-keyboard-focused[_ngcontent-%COMP%] .mat-mdc-button-persistent-ripple[_ngcontent-%COMP%]:before{opacity:.12}.mat-mdc-raised-button[_ngcontent-%COMP%]:active .mat-mdc-button-persistent-ripple[_ngcontent-%COMP%]:before, .mat-mdc-unelevated-button[_ngcontent-%COMP%]:active .mat-mdc-button-persistent-ripple[_ngcontent-%COMP%]:before{opacity:.12}.mat-mdc-raised-button.mat-primary[_ngcontent-%COMP%], .mat-mdc-unelevated-button.mat-primary[_ngcontent-%COMP%], .mat-mdc-raised-button.mat-accent[_ngcontent-%COMP%], .mat-mdc-unelevated-button.mat-accent[_ngcontent-%COMP%], .mat-mdc-raised-button.mat-warn[_ngcontent-%COMP%], .mat-mdc-unelevated-button.mat-warn[_ngcontent-%COMP%]{--mat-mdc-button-persistent-ripple-color: #fff;--mat-mdc-button-ripple-color: rgba(255, 255, 255, .1)}.mat-mdc-button.mat-mdc-button-base[_ngcontent-%COMP%], .mat-mdc-raised-button.mat-mdc-button-base[_ngcontent-%COMP%], .mat-mdc-unelevated-button.mat-mdc-button-base[_ngcontent-%COMP%], .mat-mdc-outlined-button.mat-mdc-button-base[_ngcontent-%COMP%]{height:28px;margin-top:0;margin-bottom:0}.mat-mdc-button.mat-mdc-button-base[_ngcontent-%COMP%] .mdc-button__touch[_ngcontent-%COMP%], .mat-mdc-raised-button.mat-mdc-button-base[_ngcontent-%COMP%] .mdc-button__touch[_ngcontent-%COMP%], .mat-mdc-unelevated-button.mat-mdc-button-base[_ngcontent-%COMP%] .mdc-button__touch[_ngcontent-%COMP%], .mat-mdc-outlined-button.mat-mdc-button-base[_ngcontent-%COMP%] .mdc-button__touch[_ngcontent-%COMP%]{height:100%}.mat-mdc-button.mat-mdc-button-base[_ngcontent-%COMP%] .mat-mdc-button-touch-target[_ngcontent-%COMP%], .mat-mdc-raised-button.mat-mdc-button-base[_ngcontent-%COMP%] .mat-mdc-button-touch-target[_ngcontent-%COMP%], .mat-mdc-unelevated-button.mat-mdc-button-base[_ngcontent-%COMP%] .mat-mdc-button-touch-target[_ngcontent-%COMP%], .mat-mdc-outlined-button.mat-mdc-button-base[_ngcontent-%COMP%] .mat-mdc-button-touch-target[_ngcontent-%COMP%]{display:none}.mdc-button[_ngcontent-%COMP%]{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--mdc-typography-button-font-family, var(--mdc-typography-font-family, Inter));font-size:var(--mdc-typography-button-font-size, 13px);line-height:var(--mdc-typography-button-line-height, 19px);font-weight:var(--mdc-typography-button-font-weight, 500);letter-spacing:var(--mdc-typography-button-letter-spacing, normal);-webkit-text-decoration:var(--mdc-typography-button-text-decoration, none);text-decoration:var(--mdc-typography-button-text-decoration, none);text-transform:var(--mdc-typography-button-text-transform, none)}.mat-mdc-icon-button[_ngcontent-%COMP%]{--mdc-icon-button-icon-color: inherit;--mat-mdc-button-persistent-ripple-color: #000;--mat-mdc-button-ripple-color: rgba(0, 0, 0, .1)}.mat-mdc-icon-button[_ngcontent-%COMP%]:hover .mat-mdc-button-persistent-ripple[_ngcontent-%COMP%]:before{opacity:.04}.mat-mdc-icon-button.cdk-program-focused[_ngcontent-%COMP%] .mat-mdc-button-persistent-ripple[_ngcontent-%COMP%]:before, .mat-mdc-icon-button.cdk-keyboard-focused[_ngcontent-%COMP%] .mat-mdc-button-persistent-ripple[_ngcontent-%COMP%]:before{opacity:.12}.mat-mdc-icon-button[_ngcontent-%COMP%]:active .mat-mdc-button-persistent-ripple[_ngcontent-%COMP%]:before{opacity:.12}.mat-mdc-icon-button.mat-primary[_ngcontent-%COMP%]{--mat-mdc-button-persistent-ripple-color: #6200ee;--mat-mdc-button-ripple-color: rgba(98, 0, 238, .1)}.mat-mdc-icon-button.mat-accent[_ngcontent-%COMP%]{--mat-mdc-button-persistent-ripple-color: #018786;--mat-mdc-button-ripple-color: rgba(1, 135, 134, .1)}.mat-mdc-icon-button.mat-warn[_ngcontent-%COMP%]{--mat-mdc-button-persistent-ripple-color: #b00020;--mat-mdc-button-ripple-color: rgba(176, 0, 32, .1)}.mat-mdc-icon-button.mat-primary[_ngcontent-%COMP%]{--mdc-icon-button-icon-color: #0f0761;--mat-mdc-button-persistent-ripple-color: #0f0761;--mat-mdc-button-ripple-color: rgba(15, 7, 97, .1)}.mat-mdc-icon-button.mat-accent[_ngcontent-%COMP%]{--mdc-icon-button-icon-color: #dd7345;--mat-mdc-button-persistent-ripple-color: #dd7345;--mat-mdc-button-ripple-color: rgba(221, 115, 69, .1)}.mat-mdc-icon-button.mat-warn[_ngcontent-%COMP%]{--mdc-icon-button-icon-color: #f44336;--mat-mdc-button-persistent-ripple-color: #f44336;--mat-mdc-button-ripple-color: rgba(244, 67, 54, .1)}.mat-mdc-icon-button[disabled][disabled][_ngcontent-%COMP%]{--mdc-icon-button-icon-color: rgba(0, 0, 0, .38);--mdc-icon-button-disabled-icon-color: rgba(0, 0, 0, .38)}.mat-mdc-icon-button.mat-mdc-button-base[_ngcontent-%COMP%]{--mdc-icon-button-state-layer-size: 40px;width:var(--mdc-icon-button-state-layer-size);height:var(--mdc-icon-button-state-layer-size);padding:8px}.mat-mdc-icon-button.mat-mdc-button-base[_ngcontent-%COMP%] .mat-mdc-button-touch-target[_ngcontent-%COMP%]{display:none}.mat-mdc-fab[_ngcontent-%COMP%], .mat-mdc-mini-fab[_ngcontent-%COMP%]{--mat-mdc-button-persistent-ripple-color: #000;--mat-mdc-button-ripple-color: rgba(0, 0, 0, .1)}.mat-mdc-fab[_ngcontent-%COMP%]:hover .mat-mdc-button-persistent-ripple[_ngcontent-%COMP%]:before, .mat-mdc-mini-fab[_ngcontent-%COMP%]:hover .mat-mdc-button-persistent-ripple[_ngcontent-%COMP%]:before{opacity:.04}.mat-mdc-fab.cdk-program-focused[_ngcontent-%COMP%] .mat-mdc-button-persistent-ripple[_ngcontent-%COMP%]:before, .mat-mdc-fab.cdk-keyboard-focused[_ngcontent-%COMP%] .mat-mdc-button-persistent-ripple[_ngcontent-%COMP%]:before, .mat-mdc-mini-fab.cdk-program-focused[_ngcontent-%COMP%] .mat-mdc-button-persistent-ripple[_ngcontent-%COMP%]:before, .mat-mdc-mini-fab.cdk-keyboard-focused[_ngcontent-%COMP%] .mat-mdc-button-persistent-ripple[_ngcontent-%COMP%]:before{opacity:.12}.mat-mdc-fab[_ngcontent-%COMP%]:active .mat-mdc-button-persistent-ripple[_ngcontent-%COMP%]:before, .mat-mdc-mini-fab[_ngcontent-%COMP%]:active .mat-mdc-button-persistent-ripple[_ngcontent-%COMP%]:before{opacity:.12}.mat-mdc-fab.mat-primary[_ngcontent-%COMP%], .mat-mdc-mini-fab.mat-primary[_ngcontent-%COMP%], .mat-mdc-fab.mat-accent[_ngcontent-%COMP%], .mat-mdc-mini-fab.mat-accent[_ngcontent-%COMP%], .mat-mdc-fab.mat-warn[_ngcontent-%COMP%], .mat-mdc-mini-fab.mat-warn[_ngcontent-%COMP%]{--mat-mdc-button-persistent-ripple-color: #fff;--mat-mdc-button-ripple-color: rgba(255, 255, 255, .1)}.mat-mdc-fab[disabled][disabled][_ngcontent-%COMP%], .mat-mdc-mini-fab[disabled][disabled][_ngcontent-%COMP%]{--mdc-fab-container-color: rgba(0, 0, 0, .12);--mdc-fab-icon-color: rgba(0, 0, 0, .38);--mat-mdc-fab-color: rgba(0, 0, 0, .38)}.mat-mdc-fab.mat-unthemed[_ngcontent-%COMP%], .mat-mdc-mini-fab.mat-unthemed[_ngcontent-%COMP%]{--mdc-fab-container-color: white;--mdc-fab-icon-color: black;--mat-mdc-fab-color: #000}.mat-mdc-fab.mat-primary[_ngcontent-%COMP%], .mat-mdc-mini-fab.mat-primary[_ngcontent-%COMP%]{--mdc-fab-container-color: #0f0761;--mdc-fab-icon-color: white;--mat-mdc-fab-color: #fff}.mat-mdc-fab.mat-accent[_ngcontent-%COMP%], .mat-mdc-mini-fab.mat-accent[_ngcontent-%COMP%]{--mdc-fab-container-color: #dd7345;--mdc-fab-icon-color: white;--mat-mdc-fab-color: #fff}.mat-mdc-fab.mat-warn[_ngcontent-%COMP%], .mat-mdc-mini-fab.mat-warn[_ngcontent-%COMP%]{--mdc-fab-container-color: #f44336;--mdc-fab-icon-color: white;--mat-mdc-fab-color: #fff}.mdc-fab--extended[_ngcontent-%COMP%]{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--mdc-typography-button-font-family, var(--mdc-typography-font-family, Inter));font-size:var(--mdc-typography-button-font-size, 13px);line-height:var(--mdc-typography-button-line-height, 19px);font-weight:var(--mdc-typography-button-font-weight, 500);letter-spacing:var(--mdc-typography-button-letter-spacing, normal);-webkit-text-decoration:var(--mdc-typography-button-text-decoration, none);text-decoration:var(--mdc-typography-button-text-decoration, none);text-transform:var(--mdc-typography-button-text-transform, none)}.mat-mdc-extended-fab[_ngcontent-%COMP%]{--mdc-extended-fab-label-text-font: Inter;--mdc-extended-fab-label-text-size: 13px;--mdc-extended-fab-label-text-tracking: normal;--mdc-extended-fab-label-text-weight: 500}.mat-mdc-snack-bar-container[_ngcontent-%COMP%]{--mdc-snackbar-container-color: #333333;--mdc-snackbar-supporting-text-color: rgba(255, 255, 255, .87);--mat-snack-bar-button-color: #dd7345}.mat-mdc-snack-bar-container[_ngcontent-%COMP%]{--mdc-snackbar-supporting-text-font: Inter;--mdc-snackbar-supporting-text-line-height: 19px;--mdc-snackbar-supporting-text-size: 13px;--mdc-snackbar-supporting-text-weight: 400}html[_ngcontent-%COMP%]{--mat-table-background-color: white;--mat-table-header-headline-color: rgba(0, 0, 0, .87);--mat-table-row-item-label-text-color: rgba(0, 0, 0, .87);--mat-table-row-item-outline-color: rgba(0, 0, 0, .12)}html[_ngcontent-%COMP%]{--mat-table-header-container-height: 48px;--mat-table-footer-container-height: 44px;--mat-table-row-item-container-height: 44px}html[_ngcontent-%COMP%]{--mat-table-header-headline-font: Inter;--mat-table-header-headline-line-height: 19px;--mat-table-header-headline-size: 13px;--mat-table-header-headline-weight: 500;--mat-table-header-headline-tracking: normal;--mat-table-row-item-label-text-font: Inter;--mat-table-row-item-label-text-line-height: 19px;--mat-table-row-item-label-text-size: 13px;--mat-table-row-item-label-text-weight: 400;--mat-table-row-item-label-text-tracking: normal;--mat-table-footer-supporting-text-font: Inter;--mat-table-footer-supporting-text-line-height: 19px;--mat-table-footer-supporting-text-size: 13px;--mat-table-footer-supporting-text-weight: 400;--mat-table-footer-supporting-text-tracking: normal}.mat-mdc-progress-spinner[_ngcontent-%COMP%]{--mdc-circular-progress-active-indicator-color: #0f0761}.mat-mdc-progress-spinner.mat-accent[_ngcontent-%COMP%]{--mdc-circular-progress-active-indicator-color: #dd7345}.mat-mdc-progress-spinner.mat-warn[_ngcontent-%COMP%]{--mdc-circular-progress-active-indicator-color: #f44336}.mat-badge[_ngcontent-%COMP%]{position:relative}.mat-badge.mat-badge[_ngcontent-%COMP%]{overflow:visible}.mat-badge-content[_ngcontent-%COMP%]{position:absolute;text-align:center;display:inline-block;border-radius:50%;transition:transform .2s ease-in-out;transform:scale(.6);overflow:hidden;white-space:nowrap;text-overflow:ellipsis;pointer-events:none;background-color:var(--mat-badge-background-color);color:var(--mat-badge-text-color);font-family:Roboto,sans-serif;font-family:var(--mat-badge-text-font, Roboto, sans-serif);font-size:12px;font-size:var(--mat-badge-text-size, 12px);font-weight:600;font-weight:var(--mat-badge-text-weight, 600)}.cdk-high-contrast-active[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{outline:solid 1px;border-radius:0}.mat-badge-disabled[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{background-color:var(--mat-badge-disabled-state-background-color);color:var(--mat-badge-disabled-state-text-color)}.mat-badge-hidden[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{display:none}.ng-animate-disabled[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%], .mat-badge-content._mat-animation-noopable[_ngcontent-%COMP%]{transition:none}.mat-badge-content.mat-badge-active[_ngcontent-%COMP%]{transform:none}.mat-badge-small[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{width:16px;height:16px;line-height:16px;font-size:9px;font-size:var(--mat-badge-small-size-text-size, 9px)}.mat-badge-small.mat-badge-above[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{top:-8px}.mat-badge-small.mat-badge-below[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{bottom:-8px}.mat-badge-small.mat-badge-before[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{left:-16px}[dir=rtl][_ngcontent-%COMP%] .mat-badge-small.mat-badge-before[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{left:auto;right:-16px}.mat-badge-small.mat-badge-after[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{right:-16px}[dir=rtl][_ngcontent-%COMP%] .mat-badge-small.mat-badge-after[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{right:auto;left:-16px}.mat-badge-small.mat-badge-overlap.mat-badge-before[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{left:-8px}[dir=rtl][_ngcontent-%COMP%] .mat-badge-small.mat-badge-overlap.mat-badge-before[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{left:auto;right:-8px}.mat-badge-small.mat-badge-overlap.mat-badge-after[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{right:-8px}[dir=rtl][_ngcontent-%COMP%] .mat-badge-small.mat-badge-overlap.mat-badge-after[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{right:auto;left:-8px}.mat-badge-medium[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{width:22px;height:22px;line-height:22px}.mat-badge-medium.mat-badge-above[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{top:-11px}.mat-badge-medium.mat-badge-below[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{bottom:-11px}.mat-badge-medium.mat-badge-before[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{left:-22px}[dir=rtl][_ngcontent-%COMP%] .mat-badge-medium.mat-badge-before[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{left:auto;right:-22px}.mat-badge-medium.mat-badge-after[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{right:-22px}[dir=rtl][_ngcontent-%COMP%] .mat-badge-medium.mat-badge-after[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{right:auto;left:-22px}.mat-badge-medium.mat-badge-overlap.mat-badge-before[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{left:-11px}[dir=rtl][_ngcontent-%COMP%] .mat-badge-medium.mat-badge-overlap.mat-badge-before[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{left:auto;right:-11px}.mat-badge-medium.mat-badge-overlap.mat-badge-after[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{right:-11px}[dir=rtl][_ngcontent-%COMP%] .mat-badge-medium.mat-badge-overlap.mat-badge-after[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{right:auto;left:-11px}.mat-badge-large[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{width:28px;height:28px;line-height:28px;font-size:24px;font-size:var(--mat-badge-large-size-text-size, 24px)}.mat-badge-large.mat-badge-above[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{top:-14px}.mat-badge-large.mat-badge-below[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{bottom:-14px}.mat-badge-large.mat-badge-before[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{left:-28px}[dir=rtl][_ngcontent-%COMP%] .mat-badge-large.mat-badge-before[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{left:auto;right:-28px}.mat-badge-large.mat-badge-after[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{right:-28px}[dir=rtl][_ngcontent-%COMP%] .mat-badge-large.mat-badge-after[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{right:auto;left:-28px}.mat-badge-large.mat-badge-overlap.mat-badge-before[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{left:-14px}[dir=rtl][_ngcontent-%COMP%] .mat-badge-large.mat-badge-overlap.mat-badge-before[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{left:auto;right:-14px}.mat-badge-large.mat-badge-overlap.mat-badge-after[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{right:-14px}[dir=rtl][_ngcontent-%COMP%] .mat-badge-large.mat-badge-overlap.mat-badge-after[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{right:auto;left:-14px}html[_ngcontent-%COMP%]{--mat-badge-background-color: #0f0761;--mat-badge-text-color: white;--mat-badge-disabled-state-background-color: #b9b9b9;--mat-badge-disabled-state-text-color: rgba(0, 0, 0, .38)}.mat-badge-accent[_ngcontent-%COMP%]{--mat-badge-background-color: #dd7345;--mat-badge-text-color: white}.mat-badge-warn[_ngcontent-%COMP%]{--mat-badge-background-color: #f44336;--mat-badge-text-color: white}html[_ngcontent-%COMP%]{--mat-badge-text-font: Inter;--mat-badge-text-size: 12px;--mat-badge-text-weight: 600;--mat-badge-small-size-text-size: 9px;--mat-badge-large-size-text-size: 24px}html[_ngcontent-%COMP%]{--mat-bottom-sheet-container-text-color: rgba(0, 0, 0, .87);--mat-bottom-sheet-container-background-color: white}html[_ngcontent-%COMP%]{--mat-bottom-sheet-container-text-font: Inter;--mat-bottom-sheet-container-text-line-height: 19px;--mat-bottom-sheet-container-text-size: 13px;--mat-bottom-sheet-container-text-tracking: normal;--mat-bottom-sheet-container-text-weight: 400}html[_ngcontent-%COMP%]{--mat-legacy-button-toggle-text-color: rgba(0, 0, 0, .38);--mat-legacy-button-toggle-state-layer-color: rgba(0, 0, 0, .12);--mat-legacy-button-toggle-selected-state-text-color: rgba(0, 0, 0, .54);--mat-legacy-button-toggle-selected-state-background-color: #e0e0e0;--mat-legacy-button-toggle-disabled-state-text-color: rgba(0, 0, 0, .26);--mat-legacy-button-toggle-disabled-state-background-color: #eeeeee;--mat-legacy-button-toggle-disabled-selected-state-background-color: #bdbdbd;--mat-standard-button-toggle-text-color: rgba(0, 0, 0, .87);--mat-standard-button-toggle-background-color: white;--mat-standard-button-toggle-state-layer-color: black;--mat-standard-button-toggle-selected-state-background-color: #e0e0e0;--mat-standard-button-toggle-selected-state-text-color: rgba(0, 0, 0, .87);--mat-standard-button-toggle-disabled-state-text-color: rgba(0, 0, 0, .26);--mat-standard-button-toggle-disabled-state-background-color: white;--mat-standard-button-toggle-disabled-selected-state-text-color: rgba(0, 0, 0, .87);--mat-standard-button-toggle-disabled-selected-state-background-color: #bdbdbd;--mat-standard-button-toggle-divider-color: #e0e0e0}html[_ngcontent-%COMP%]{--mat-standard-button-toggle-height: 40px}html[_ngcontent-%COMP%]{--mat-legacy-button-toggle-text-font: Inter;--mat-standard-button-toggle-text-font: Inter}html[_ngcontent-%COMP%]{--mat-datepicker-calendar-date-selected-state-text-color: white;--mat-datepicker-calendar-date-selected-state-background-color: #0f0761;--mat-datepicker-calendar-date-selected-disabled-state-background-color: rgba(15, 7, 97, .4);--mat-datepicker-calendar-date-today-selected-state-outline-color: white;--mat-datepicker-calendar-date-focus-state-background-color: rgba(15, 7, 97, .3);--mat-datepicker-calendar-date-hover-state-background-color: rgba(15, 7, 97, .3);--mat-datepicker-toggle-active-state-icon-color: #0f0761;--mat-datepicker-calendar-date-in-range-state-background-color: rgba(15, 7, 97, .2);--mat-datepicker-calendar-date-in-comparison-range-state-background-color: rgba(249, 171, 0, .2);--mat-datepicker-calendar-date-in-overlap-range-state-background-color: #a8dab5;--mat-datepicker-calendar-date-in-overlap-range-selected-state-background-color: #46a35e;--mat-datepicker-toggle-icon-color: rgba(0, 0, 0, .54);--mat-datepicker-calendar-body-label-text-color: rgba(0, 0, 0, .54);--mat-datepicker-calendar-period-button-icon-color: rgba(0, 0, 0, .54);--mat-datepicker-calendar-navigation-button-icon-color: rgba(0, 0, 0, .54);--mat-datepicker-calendar-header-divider-color: rgba(0, 0, 0, .12);--mat-datepicker-calendar-header-text-color: rgba(0, 0, 0, .54);--mat-datepicker-calendar-date-today-outline-color: rgba(0, 0, 0, .38);--mat-datepicker-calendar-date-today-disabled-state-outline-color: rgba(0, 0, 0, .18);--mat-datepicker-calendar-date-text-color: rgba(0, 0, 0, .87);--mat-datepicker-calendar-date-outline-color: transparent;--mat-datepicker-calendar-date-disabled-state-text-color: rgba(0, 0, 0, .38);--mat-datepicker-calendar-date-preview-state-outline-color: rgba(0, 0, 0, .24);--mat-datepicker-range-input-separator-color: rgba(0, 0, 0, .87);--mat-datepicker-range-input-disabled-state-separator-color: rgba(0, 0, 0, .38);--mat-datepicker-range-input-disabled-state-text-color: rgba(0, 0, 0, .38);--mat-datepicker-calendar-container-background-color: white;--mat-datepicker-calendar-container-text-color: rgba(0, 0, 0, .87)}.mat-datepicker-content.mat-accent[_ngcontent-%COMP%]{--mat-datepicker-calendar-date-selected-state-text-color: white;--mat-datepicker-calendar-date-selected-state-background-color: #dd7345;--mat-datepicker-calendar-date-selected-disabled-state-background-color: rgba(221, 115, 69, .4);--mat-datepicker-calendar-date-today-selected-state-outline-color: white;--mat-datepicker-calendar-date-focus-state-background-color: rgba(221, 115, 69, .3);--mat-datepicker-calendar-date-hover-state-background-color: rgba(221, 115, 69, .3);--mat-datepicker-calendar-date-in-range-state-background-color: rgba(221, 115, 69, .2);--mat-datepicker-calendar-date-in-comparison-range-state-background-color: rgba(249, 171, 0, .2);--mat-datepicker-calendar-date-in-overlap-range-state-background-color: #a8dab5;--mat-datepicker-calendar-date-in-overlap-range-selected-state-background-color: #46a35e}.mat-datepicker-content.mat-warn[_ngcontent-%COMP%]{--mat-datepicker-calendar-date-selected-state-text-color: white;--mat-datepicker-calendar-date-selected-state-background-color: #f44336;--mat-datepicker-calendar-date-selected-disabled-state-background-color: rgba(244, 67, 54, .4);--mat-datepicker-calendar-date-today-selected-state-outline-color: white;--mat-datepicker-calendar-date-focus-state-background-color: rgba(244, 67, 54, .3);--mat-datepicker-calendar-date-hover-state-background-color: rgba(244, 67, 54, .3);--mat-datepicker-calendar-date-in-range-state-background-color: rgba(244, 67, 54, .2);--mat-datepicker-calendar-date-in-comparison-range-state-background-color: rgba(249, 171, 0, .2);--mat-datepicker-calendar-date-in-overlap-range-state-background-color: #a8dab5;--mat-datepicker-calendar-date-in-overlap-range-selected-state-background-color: #46a35e}.mat-datepicker-toggle-active.mat-accent[_ngcontent-%COMP%]{--mat-datepicker-toggle-active-state-icon-color: #dd7345}.mat-datepicker-toggle-active.mat-warn[_ngcontent-%COMP%]{--mat-datepicker-toggle-active-state-icon-color: #f44336}.mat-calendar-controls[_ngcontent-%COMP%] .mat-mdc-icon-button.mat-mdc-button-base[_ngcontent-%COMP%]{--mdc-icon-button-state-layer-size: 40px;width:var(--mdc-icon-button-state-layer-size);height:var(--mdc-icon-button-state-layer-size);padding:8px}.mat-calendar-controls[_ngcontent-%COMP%] .mat-mdc-icon-button.mat-mdc-button-base[_ngcontent-%COMP%] .mat-mdc-button-touch-target[_ngcontent-%COMP%]{display:none}html[_ngcontent-%COMP%]{--mat-datepicker-calendar-text-font: Inter;--mat-datepicker-calendar-text-size: 13px;--mat-datepicker-calendar-body-label-text-size: 13px;--mat-datepicker-calendar-body-label-text-weight: 500;--mat-datepicker-calendar-period-button-text-size: 13px;--mat-datepicker-calendar-period-button-text-weight: 500;--mat-datepicker-calendar-header-text-size: 11px;--mat-datepicker-calendar-header-text-weight: 400}html[_ngcontent-%COMP%]{--mat-divider-color: rgba(0, 0, 0, .12)}html[_ngcontent-%COMP%]{--mat-expansion-container-background-color: white;--mat-expansion-container-text-color: rgba(0, 0, 0, .87);--mat-expansion-actions-divider-color: rgba(0, 0, 0, .12);--mat-expansion-header-hover-state-layer-color: rgba(0, 0, 0, .04);--mat-expansion-header-focus-state-layer-color: rgba(0, 0, 0, .04);--mat-expansion-header-disabled-state-text-color: rgba(0, 0, 0, .26);--mat-expansion-header-text-color: rgba(0, 0, 0, .87);--mat-expansion-header-description-color: rgba(0, 0, 0, .54);--mat-expansion-header-indicator-color: rgba(0, 0, 0, .54)}html[_ngcontent-%COMP%]{--mat-expansion-header-collapsed-state-height: 40px;--mat-expansion-header-expanded-state-height: 56px}html[_ngcontent-%COMP%]{--mat-expansion-header-text-font: Inter;--mat-expansion-header-text-size: 13px;--mat-expansion-header-text-weight: 500;--mat-expansion-header-text-line-height: inherit;--mat-expansion-header-text-tracking: inherit;--mat-expansion-container-text-font: Inter;--mat-expansion-container-text-line-height: 19px;--mat-expansion-container-text-size: 13px;--mat-expansion-container-text-tracking: normal;--mat-expansion-container-text-weight: 400}html[_ngcontent-%COMP%]{--mat-grid-list-tile-header-primary-text-size: 13px;--mat-grid-list-tile-header-secondary-text-size: 12px;--mat-grid-list-tile-footer-primary-text-size: 13px;--mat-grid-list-tile-footer-secondary-text-size: 12px}html[_ngcontent-%COMP%]{--mat-icon-color: inherit}.mat-icon.mat-primary[_ngcontent-%COMP%]{--mat-icon-color: #0f0761}.mat-icon.mat-accent[_ngcontent-%COMP%]{--mat-icon-color: #dd7345}.mat-icon.mat-warn[_ngcontent-%COMP%]{--mat-icon-color: #f44336}html[_ngcontent-%COMP%]{--mat-sidenav-container-divider-color: rgba(0, 0, 0, .12);--mat-sidenav-container-background-color: white;--mat-sidenav-container-text-color: rgba(0, 0, 0, .87);--mat-sidenav-content-background-color: #fafafa;--mat-sidenav-content-text-color: rgba(0, 0, 0, .87);--mat-sidenav-scrim-color: rgba(0, 0, 0, .6)}html[_ngcontent-%COMP%]{--mat-stepper-header-icon-foreground-color: white;--mat-stepper-header-selected-state-icon-background-color: #0f0761;--mat-stepper-header-selected-state-icon-foreground-color: white;--mat-stepper-header-done-state-icon-background-color: #0f0761;--mat-stepper-header-done-state-icon-foreground-color: white;--mat-stepper-header-edit-state-icon-background-color: #0f0761;--mat-stepper-header-edit-state-icon-foreground-color: white;--mat-stepper-container-color: white;--mat-stepper-line-color: rgba(0, 0, 0, .12);--mat-stepper-header-hover-state-layer-color: rgba(0, 0, 0, .04);--mat-stepper-header-focus-state-layer-color: rgba(0, 0, 0, .04);--mat-stepper-header-label-text-color: rgba(0, 0, 0, .54);--mat-stepper-header-optional-label-text-color: rgba(0, 0, 0, .54);--mat-stepper-header-selected-state-label-text-color: rgba(0, 0, 0, .87);--mat-stepper-header-error-state-label-text-color: #f44336;--mat-stepper-header-icon-background-color: rgba(0, 0, 0, .54);--mat-stepper-header-error-state-icon-foreground-color: #f44336;--mat-stepper-header-error-state-icon-background-color: transparent}html[_ngcontent-%COMP%] .mat-step-header.mat-accent[_ngcontent-%COMP%]{--mat-stepper-header-icon-foreground-color: white;--mat-stepper-header-selected-state-icon-background-color: #dd7345;--mat-stepper-header-selected-state-icon-foreground-color: white;--mat-stepper-header-done-state-icon-background-color: #dd7345;--mat-stepper-header-done-state-icon-foreground-color: white;--mat-stepper-header-edit-state-icon-background-color: #dd7345;--mat-stepper-header-edit-state-icon-foreground-color: white}html[_ngcontent-%COMP%] .mat-step-header.mat-warn[_ngcontent-%COMP%]{--mat-stepper-header-icon-foreground-color: white;--mat-stepper-header-selected-state-icon-background-color: #f44336;--mat-stepper-header-selected-state-icon-foreground-color: white;--mat-stepper-header-done-state-icon-background-color: #f44336;--mat-stepper-header-done-state-icon-foreground-color: white;--mat-stepper-header-edit-state-icon-background-color: #f44336;--mat-stepper-header-edit-state-icon-foreground-color: white}html[_ngcontent-%COMP%]{--mat-stepper-header-height: 64px}html[_ngcontent-%COMP%]{--mat-stepper-container-text-font: Inter;--mat-stepper-header-label-text-font: Inter;--mat-stepper-header-label-text-size: 13px;--mat-stepper-header-label-text-weight: 400;--mat-stepper-header-error-state-label-text-size: 13px;--mat-stepper-header-selected-state-label-text-size: 13px;--mat-stepper-header-selected-state-label-text-weight: 400}.mat-sort-header-arrow[_ngcontent-%COMP%]{color:#757575}html[_ngcontent-%COMP%]{--mat-toolbar-container-background-color: whitesmoke;--mat-toolbar-container-text-color: rgba(0, 0, 0, .87)}.mat-toolbar.mat-primary[_ngcontent-%COMP%]{--mat-toolbar-container-background-color: #0f0761;--mat-toolbar-container-text-color: white}.mat-toolbar.mat-accent[_ngcontent-%COMP%]{--mat-toolbar-container-background-color: #dd7345;--mat-toolbar-container-text-color: white}.mat-toolbar.mat-warn[_ngcontent-%COMP%]{--mat-toolbar-container-background-color: #f44336;--mat-toolbar-container-text-color: white}html[_ngcontent-%COMP%]{--mat-toolbar-standard-height: 56px;--mat-toolbar-mobile-height: 48px}html[_ngcontent-%COMP%]{--mat-toolbar-title-text-font: Inter;--mat-toolbar-title-text-line-height: 21px;--mat-toolbar-title-text-size: 16px;--mat-toolbar-title-text-tracking: normal;--mat-toolbar-title-text-weight: 600}.mat-tree[_ngcontent-%COMP%]{background:white}.mat-tree-node[_ngcontent-%COMP%], .mat-nested-tree-node[_ngcontent-%COMP%]{color:#000000de}.mat-tree-node[_ngcontent-%COMP%]{min-height:40px}.mat-tree[_ngcontent-%COMP%]{font-family:Inter}.mat-tree-node[_ngcontent-%COMP%], .mat-nested-tree-node[_ngcontent-%COMP%]{font-weight:400;font-size:13px}.mat-h1[_ngcontent-%COMP%], .mat-headline-5[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] .mat-h1[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] .mat-headline-5[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{font-size:20px;font-weight:600;line-height:24px;font-family:Inter;letter-spacing:normal;margin:0 0 16px}.mat-h2[_ngcontent-%COMP%], .mat-headline-6[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] .mat-h2[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] .mat-headline-6[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{font-size:16px;font-weight:600;line-height:21px;font-family:Inter;letter-spacing:normal;margin:0 0 16px}.mat-h3[_ngcontent-%COMP%], .mat-subtitle-1[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] .mat-h3[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] .mat-subtitle-1[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{font-size:16px;font-weight:600;line-height:22px;font-family:Inter;letter-spacing:normal;margin:0 0 16px}.mat-h4[_ngcontent-%COMP%], .mat-body-1[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] .mat-h4[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] .mat-body-1[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] h4[_ngcontent-%COMP%]{font-size:13px;font-weight:400;line-height:19px;font-family:Inter;letter-spacing:normal;margin:0 0 16px}.mat-h5[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] .mat-h5[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] h5[_ngcontent-%COMP%]{font:400 10.79px/19px Inter;margin:0 0 12px}.mat-h6[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] .mat-h6[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] h6[_ngcontent-%COMP%]{font:400 8.71px/19px Inter;margin:0 0 12px}.mat-body-strong[_ngcontent-%COMP%], .mat-subtitle-2[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] .mat-body-strong[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] .mat-subtitle-2[_ngcontent-%COMP%]{font-size:13px;font-weight:500;line-height:19px;font-family:Inter;letter-spacing:normal}.mat-body[_ngcontent-%COMP%], .mat-body-2[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] .mat-body[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] .mat-body-2[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%]{font-size:13px;font-weight:400;line-height:19px;font-family:Inter;letter-spacing:normal}.mat-body[_ngcontent-%COMP%] p[_ngcontent-%COMP%], .mat-body-2[_ngcontent-%COMP%] p[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] .mat-body[_ngcontent-%COMP%] p[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] .mat-body-2[_ngcontent-%COMP%] p[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{margin:0 0 12px}.mat-small[_ngcontent-%COMP%], .mat-caption[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] .mat-small[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] .mat-caption[_ngcontent-%COMP%]{font-size:12px;font-weight:400;line-height:16px;font-family:Inter;letter-spacing:normal}.mat-headline-1[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] .mat-headline-1[_ngcontent-%COMP%]{font-size:56px;font-weight:600;line-height:62px;font-family:Inter;letter-spacing:normal;margin:0 0 56px}.mat-headline-2[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] .mat-headline-2[_ngcontent-%COMP%]{font-size:44px;font-weight:600;line-height:50px;font-family:Inter;letter-spacing:normal;margin:0 0 64px}.mat-headline-3[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] .mat-headline-3[_ngcontent-%COMP%]{font-size:36px;font-weight:600;line-height:43px;font-family:Inter;letter-spacing:normal;margin:0 0 64px}.mat-headline-4[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] .mat-headline-4[_ngcontent-%COMP%]{font-size:28px;font-weight:600;line-height:34px;font-family:Inter;letter-spacing:normal;margin:0 0 64px}.mat-ripple-element[_ngcontent-%COMP%]{display:none!important}.mat-mdc-unelevated-button.mat-primary[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%], .mat-mdc-raised-button.mat-primary[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%], .mat-mdc-fab[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%], .mat-mdc-mini-fab[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%]{display:block!important}.mat-toolbar[_ngcontent-%COMP%]{box-shadow:none!important}.shell-brand-logo[_ngcontent-%COMP%]{filter:brightness(0);opacity:.87}.dark-theme[_ngcontent-%COMP%] .shell-brand-logo[_ngcontent-%COMP%]{filter:brightness(0) invert(1);opacity:.9}.app-container[_ngcontent-%COMP%]{height:calc(100% - var(--df-trial-banner-height, 0px));width:100%;display:flex;flex-direction:column}.mat-toolbar.tool-bar[_ngcontent-%COMP%]{background-color:var(--df-surface);border-bottom:1px solid var(--df-border-2);padding:0 12px 0 6px;height:52px;min-height:52px;display:flex;align-items:center;gap:10px;font-size:1.3rem}.mat-toolbar.tool-bar[_ngcontent-%COMP%] .button-wrapper[_ngcontent-%COMP%]{display:flex;align-items:center}.mat-toolbar.tool-bar[_ngcontent-%COMP%] .toggle-icon[_ngcontent-%COMP%]{color:var(--df-text-muted);font-size:1.4rem}.topbar-breadcrumbs[_ngcontent-%COMP%]{display:flex;align-items:center;gap:8px;min-width:0;overflow:hidden;white-space:nowrap;font-size:1.3rem}.topbar-breadcrumbs[_ngcontent-%COMP%] .breadcrumb-link[_ngcontent-%COMP%]{color:var(--df-text-muted);text-decoration:none;border-radius:4px}.topbar-breadcrumbs[_ngcontent-%COMP%] .breadcrumb-link[_ngcontent-%COMP%]:hover{color:var(--df-text)}.topbar-breadcrumbs[_ngcontent-%COMP%] .breadcrumb-current[_ngcontent-%COMP%]{color:var(--df-text);font-weight:600}.topbar-breadcrumbs[_ngcontent-%COMP%] .breadcrumb-sep[_ngcontent-%COMP%]{color:var(--df-text-faint);-webkit-user-select:none;user-select:none}.cmdk-btn[_ngcontent-%COMP%]{display:flex;align-items:center;gap:8px;height:32px;min-width:200px;padding:0 10px;border:1px solid var(--df-border);border-radius:var(--df-radius-sm);background-color:var(--df-surface-2);color:var(--df-text-muted)!important;font-family:inherit;font-size:1.25rem;cursor:pointer;transition:border-color .15s ease,color .15s ease}.cmdk-btn[_ngcontent-%COMP%]:hover, .cmdk-btn[_ngcontent-%COMP%]:focus-visible{border-color:var(--df-accent);color:var(--df-text-2)!important}.cmdk-btn[_ngcontent-%COMP%] .cmdk-icon[_ngcontent-%COMP%]{font-size:1.2rem}.cmdk-btn[_ngcontent-%COMP%] .cmdk-label[_ngcontent-%COMP%]{flex:1 1 auto;text-align:left}.cmdk-btn[_ngcontent-%COMP%] .cmdk-kbd[_ngcontent-%COMP%]{font-size:1rem;line-height:1;padding:3px 5px;border:1px solid var(--df-border);border-radius:4px;background-color:var(--df-surface);color:var(--df-text-faint)!important;letter-spacing:.03em}.profile-icon[_ngcontent-%COMP%]{color:var(--df-text-2)}.app-container.small[_ngcontent-%COMP%] .mat-toolbar[_ngcontent-%COMP%]{gap:6px;height:52px;min-height:52px;overflow:hidden;padding:0 8px}.app-container.small[_ngcontent-%COMP%] .mat-toolbar[_ngcontent-%COMP%] .button-wrapper[_ngcontent-%COMP%]{min-width:0}.app-container.small[_ngcontent-%COMP%] .mat-toolbar[_ngcontent-%COMP%] .topbar-breadcrumbs[_ngcontent-%COMP%]{display:none}.app-container.small[_ngcontent-%COMP%] .mat-toolbar[_ngcontent-%COMP%] .cmdk-btn[_ngcontent-%COMP%]{min-width:0}.app-container.small[_ngcontent-%COMP%] .mat-toolbar[_ngcontent-%COMP%] .cmdk-btn[_ngcontent-%COMP%] .cmdk-label[_ngcontent-%COMP%], .app-container.small[_ngcontent-%COMP%] .mat-toolbar[_ngcontent-%COMP%] .cmdk-btn[_ngcontent-%COMP%] .cmdk-kbd[_ngcontent-%COMP%]{display:none}.app-container.small[_ngcontent-%COMP%] .mat-toolbar[_ngcontent-%COMP%] .spacer[_ngcontent-%COMP%]{flex:1 1 auto;min-width:0}.app-container.small[_ngcontent-%COMP%] .mat-toolbar[_ngcontent-%COMP%] .profile-icon[_ngcontent-%COMP%]{flex:0 0 40px;min-width:40px;overflow:hidden;padding:0 8px}.app-container.small[_ngcontent-%COMP%] .mat-toolbar[_ngcontent-%COMP%] .profile-icon[_ngcontent-%COMP%] .mdc-button__label{align-items:center;display:flex;overflow:hidden;width:20px}.sidenav-container[_ngcontent-%COMP%]{background-color:var(--df-bg);flex:1 1 auto}.sidenav-container[_ngcontent-%COMP%] .sidenav[_ngcontent-%COMP%]{background-color:#0f0761;min-width:40%;border:none;border-right:1px solid var(--df-shell-border);transition:min-width .2s ease-out;max-width:450px}.sidenav-container[_ngcontent-%COMP%] .sidenav[_ngcontent-%COMP%] .login-side-container[_ngcontent-%COMP%]{display:flex;flex-direction:column;justify-content:center;height:100%}.sidenav-container[_ngcontent-%COMP%] .sidenav[_ngcontent-%COMP%] .login-side-container[_ngcontent-%COMP%] .image-container[_ngcontent-%COMP%]{display:flex;justify-content:center;align-items:center;flex-wrap:wrap;text-align:center;gap:8px;width:100%}.sidenav-container[_ngcontent-%COMP%] .sidenav[_ngcontent-%COMP%] .login-side-container[_ngcontent-%COMP%] .image-container[_ngcontent-%COMP%] .image-wrapper[_ngcontent-%COMP%]{width:calc(40% - 8px);padding:10px}.sidenav-container[_ngcontent-%COMP%] .sidenav[_ngcontent-%COMP%] .login-side-container[_ngcontent-%COMP%] .image-container[_ngcontent-%COMP%] .image-wrapper[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:60%;height:auto}.sidenav-container[_ngcontent-%COMP%] .sidenav[_ngcontent-%COMP%] .login-side-container[_ngcontent-%COMP%] .image-container[_ngcontent-%COMP%] .image-wrapper[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{color:#fff}.small[_ngcontent-%COMP%] .sidenav-container[_ngcontent-%COMP%] .sidenav[_ngcontent-%COMP%]{min-width:0}.logged-in[_ngcontent-%COMP%] .sidenav-container[_ngcontent-%COMP%] .sidenav[_ngcontent-%COMP%]{background-color:var(--df-shell-bg);width:248px;min-width:248px;max-width:248px}.logged-in.small[_ngcontent-%COMP%] .sidenav-container[_ngcontent-%COMP%] .sidenav[_ngcontent-%COMP%]{width:272px;min-width:272px;max-width:272px}.sidenav-container[_ngcontent-%COMP%] .sidenav[_ngcontent-%COMP%] .shell-brand[_ngcontent-%COMP%]{display:flex;align-items:center;height:52px;padding:0 18px;border-bottom:1px solid var(--df-shell-border)}.sidenav-container[_ngcontent-%COMP%] .sidenav[_ngcontent-%COMP%] .shell-brand[_ngcontent-%COMP%] .shell-brand-link[_ngcontent-%COMP%]{display:flex;align-items:center}.sidenav-container[_ngcontent-%COMP%] .sidenav[_ngcontent-%COMP%] .shell-brand[_ngcontent-%COMP%] .shell-brand-logo[_ngcontent-%COMP%]{height:20px;width:auto;display:block}.phosphor-theme[_nghost-%COMP%] .sidenav-container[_ngcontent-%COMP%] .sidenav[_ngcontent-%COMP%] .shell-brand[_ngcontent-%COMP%] .shell-brand-logo[_ngcontent-%COMP%], .phosphor-theme [_nghost-%COMP%] .sidenav-container[_ngcontent-%COMP%] .sidenav[_ngcontent-%COMP%] .shell-brand[_ngcontent-%COMP%] .shell-brand-logo[_ngcontent-%COMP%]{height:13px;filter:brightness(0) invert(1) sepia(1) saturate(4) hue-rotate(70deg) brightness(1.1);image-rendering:pixelated;transform:scale(1.5);transform-origin:left center}.sidenav-container[_ngcontent-%COMP%] .sidenav[_ngcontent-%COMP%] .shell-nav[_ngcontent-%COMP%]{padding:8px 0 16px}.sidenav-container[_ngcontent-%COMP%] .sidenav[_ngcontent-%COMP%] .shell-group-label[_ngcontent-%COMP%]{padding:18px 18px 6px;font-size:1.05rem;font-weight:600;letter-spacing:.09em;text-transform:uppercase;color:var(--df-shell-text-muted);-webkit-user-select:none;user-select:none}.sidenav-container[_ngcontent-%COMP%] .sidenav[_ngcontent-%COMP%] .parent-route[_ngcontent-%COMP%]{font-size:1.35rem;font-weight:500;height:36px;margin:1px 10px;padding:0 8px;gap:4px;border-radius:var(--df-radius-sm);background:transparent!important;color:var(--df-shell-text-2)}.sidenav-container[_ngcontent-%COMP%] .sidenav[_ngcontent-%COMP%] .parent-route[_ngcontent-%COMP%]:hover{background:var(--df-shell-hover)!important}.sidenav-container[_ngcontent-%COMP%] .sidenav[_ngcontent-%COMP%] .expansion-panel[_ngcontent-%COMP%], .sidenav-container[_ngcontent-%COMP%] .sidenav[_ngcontent-%COMP%] .mat-expansion-panel{background:transparent!important;color:var(--df-shell-text-2)}.sidenav-container[_ngcontent-%COMP%] .sidenav[_ngcontent-%COMP%] .mat-expansion-panel-body{padding:2px 0 4px 10px!important;margin-left:20px;border-left:1px solid var(--df-shell-border);background:transparent!important}.sidenav-container[_ngcontent-%COMP%] .sidenav[_ngcontent-%COMP%] .mat-expansion-indicator:after{color:var(--df-shell-text-muted)}.sidenav-container[_ngcontent-%COMP%] .sidenav[_ngcontent-%COMP%] .nav-item[_ngcontent-%COMP%]{height:34px;width:100%;font-size:1.35rem;font-weight:500;border-radius:var(--df-radius-sm);justify-content:flex-start;display:flex;align-items:center;gap:10px;color:var(--df-shell-text-2)!important;letter-spacing:0}.sidenav-container[_ngcontent-%COMP%] .sidenav[_ngcontent-%COMP%] .nav-item[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:17px;height:17px;filter:brightness(0);opacity:.72}.dark-theme[_nghost-%COMP%] .sidenav-container[_ngcontent-%COMP%] .sidenav[_ngcontent-%COMP%] .nav-item[_ngcontent-%COMP%] img[_ngcontent-%COMP%], .dark-theme [_nghost-%COMP%] .sidenav-container[_ngcontent-%COMP%] .sidenav[_ngcontent-%COMP%] .nav-item[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{filter:brightness(0) invert(1)}.phosphor-theme[_nghost-%COMP%] .sidenav-container[_ngcontent-%COMP%] .sidenav[_ngcontent-%COMP%] .nav-item[_ngcontent-%COMP%] img[_ngcontent-%COMP%], .phosphor-theme [_nghost-%COMP%] .sidenav-container[_ngcontent-%COMP%] .sidenav[_ngcontent-%COMP%] .nav-item[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{filter:brightness(0) invert(1) sepia(1) saturate(4) hue-rotate(70deg) brightness(1.1);width:10px;height:10px;image-rendering:pixelated;transform:scale(1.6);transform-origin:center}.sidenav-container[_ngcontent-%COMP%] .sidenav[_ngcontent-%COMP%] .nav-item[_ngcontent-%COMP%] .mat-mdc-button-touch-target{background-color:transparent}.sidenav-container[_ngcontent-%COMP%] .sidenav[_ngcontent-%COMP%] a.nav-item[_ngcontent-%COMP%]{background-color:transparent;margin:1px 10px;width:calc(100% - 20px);padding:0 8px}.sidenav-container[_ngcontent-%COMP%] .sidenav[_ngcontent-%COMP%] a.nav-item[_ngcontent-%COMP%]:hover{background-color:var(--df-shell-hover)}.sidenav-container[_ngcontent-%COMP%] .sidenav[_ngcontent-%COMP%] a.nav-item.active[_ngcontent-%COMP%]{background-color:var(--df-shell-active-bg)!important;color:var(--df-shell-text)!important;box-shadow:inset 2px 0 0 var(--df-shell-accent)}.sidenav-container[_ngcontent-%COMP%] .sidenav[_ngcontent-%COMP%] a.nav-item.active[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{opacity:1}.sidenav-container[_ngcontent-%COMP%] .sidenav[_ngcontent-%COMP%] a.nav-item.active[_ngcontent-%COMP%] .mat-mdc-button-touch-target{background-color:transparent!important}.sidenav-container[_ngcontent-%COMP%] .sidenav[_ngcontent-%COMP%] a.nav-item.commercial-feature[_ngcontent-%COMP%]{opacity:.7;position:relative}.sidenav-container[_ngcontent-%COMP%] .sidenav[_ngcontent-%COMP%] a.nav-item.commercial-feature[_ngcontent-%COMP%]:after{content:\"\";background-image:url(lock-icon.c8ce090d45cbe9bb.svg);background-size:contain;background-repeat:no-repeat;filter:brightness(0);width:13px;height:13px;position:absolute;right:10px;top:50%;transform:translateY(-50%);opacity:.55}.dark-theme[_nghost-%COMP%] .sidenav-container[_ngcontent-%COMP%] .sidenav[_ngcontent-%COMP%] a.nav-item.commercial-feature[_ngcontent-%COMP%]:after, .dark-theme [_nghost-%COMP%] .sidenav-container[_ngcontent-%COMP%] .sidenav[_ngcontent-%COMP%] a.nav-item.commercial-feature[_ngcontent-%COMP%]:after{filter:brightness(0) invert(1)}.sidenav-container[_ngcontent-%COMP%] .sidenav[_ngcontent-%COMP%] a.nav-item.commercial-feature[_ngcontent-%COMP%]:hover{opacity:1}.sidenav-container[_ngcontent-%COMP%] .sidenav[_ngcontent-%COMP%] a.nav-item.commercial-feature[_ngcontent-%COMP%]:hover:after{opacity:.8}.sidenav-container[_ngcontent-%COMP%] .sidenav-content[_ngcontent-%COMP%]{display:flex;flex-direction:column;height:100%;padding:0;background:var(--df-bg)}.sidenav-container[_ngcontent-%COMP%] .sidenav-content[_ngcontent-%COMP%] .content-wrapper[_ngcontent-%COMP%]{height:100%;box-sizing:border-box;display:flex;flex-direction:column;padding:20px 28px 28px;background-color:transparent;border:none}.sidenav-container[_ngcontent-%COMP%] .sidenav-content[_ngcontent-%COMP%] .banner[_ngcontent-%COMP%]{flex-shrink:0;width:100%;padding:2px 2px 16px;background-color:transparent}.sidenav-container[_ngcontent-%COMP%] .sidenav-content[_ngcontent-%COMP%] .banner[_ngcontent-%COMP%] .page-header[_ngcontent-%COMP%]{margin:0;padding:0;font-size:2.2rem;font-weight:650;letter-spacing:-.02em;line-height:1.2;color:var(--df-text)}.sidenav-container[_ngcontent-%COMP%] .sidenav-content[_ngcontent-%COMP%] .main[_ngcontent-%COMP%]{flex-grow:1}.logged-in[_ngcontent-%COMP%] .sidenav-container[_ngcontent-%COMP%] .sidenav-content[_ngcontent-%COMP%] .main.no-error[_ngcontent-%COMP%]{margin-top:0;padding:20px 24px;background-color:var(--df-surface);border:1px solid var(--df-border-2);border-radius:var(--df-radius)}.logged-in.small[_ngcontent-%COMP%] .sidenav-container[_ngcontent-%COMP%] .sidenav-content[_ngcontent-%COMP%] .main.no-error[_ngcontent-%COMP%]{margin:0;padding:16px}.small[_ngcontent-%COMP%] .mat-expansion-panel-header{padding:0 8px} .mat-expansion-panel-body{overflow-x:auto}.license-expired[_ngcontent-%COMP%]{display:flex;flex-direction:column;background-color:#e53935;color:#fff;border-radius:0;justify-content:center;align-items:center;font-size:16px;padding:16px}.breadcrumb-link[_ngcontent-%COMP%]{color:inherit;text-decoration:none}"]})}};function tc(f,d){if(1&f){const l=a.RV6();a.qex(0),a.j41(1,"div",1)(2,"div",2)(3,"span",3),a.EFF(4),a.nI1(5,"transloco"),a.k0s(),a.j41(6,"button",4),a.bIt("click",function(){a.eBV(l);const L=a.XpG();return a.Njj(L.openCalendly())}),a.EFF(7),a.nI1(8,"transloco"),a.k0s()()(),a.nrm(9,"div",5),a.bVm()}2&f&&(a.R7$(4),a.SpI(" ",a.bMT(5,2,"engagementBanner.message")," "),a.R7$(3),a.SpI(" ",a.bMT(8,4,"engagementBanner.ctaButton")," "))}eo=(0,y.Cg)([(0,De.d)({checkProperties:!0})],eo);let On=class tv{constructor(d){this.systemConfigService=d,this.showBanner=!1,this.calendlyUrl="https://calendly.com/dreamfactory-platform/expert-consultation-lab-setup"}ngOnInit(){this.systemConfigService.environment$.pipe((0,De.s)(this)).subscribe(d=>{const l=d.platform?.license?.toUpperCase(),m=d.platform?.isTrial??!1,L=null!==(0,cn.G0)(d);this.showBanner=("OPEN SOURCE"===l||m)&&!L})}openCalendly(){window.open(this.calendlyUrl,"_blank")}static{this.\u0275fac=function(l){return new(l||tv)(a.rXU(zt.f))}}static{this.\u0275cmp=a.VBU({type:tv,selectors:[["df-engagement-banner"]],standalone:!0,features:[a.aNF],decls:1,vars:1,consts:[[4,"ngIf"],[1,"engagement-banner"],[1,"banner-content"],[1,"banner-text"],[1,"cta-button",3,"click"],[1,"banner-spacer"]],template:function(l,m){1&l&&a.DNE(0,tc,10,6,"ng-container",0),2&l&&a.Y8G("ngIf",m.showBanner)},dependencies:[b.MD,b.bT,at.Q8,at.Kj],styles:[".engagement-banner[_ngcontent-%COMP%]{background-color:var(--df-surface);background-image:linear-gradient(var(--df-accent-soft),var(--df-accent-soft));color:var(--df-text);border-bottom:1px solid var(--df-border);padding:12px 20px;font-family:inherit;position:fixed;top:0;left:0;right:0;z-index:1100}.engagement-banner[_ngcontent-%COMP%] .banner-content[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:center;gap:15px;max-width:1200px;margin:0 auto;position:relative}.engagement-banner[_ngcontent-%COMP%] .banner-text[_ngcontent-%COMP%]{color:var(--df-text);font-size:1.4rem;font-weight:500;line-height:1.4}.engagement-banner[_ngcontent-%COMP%] .cta-button[_ngcontent-%COMP%]{background-color:var(--df-accent);color:var(--df-accent-contrast);border:none;padding:8px 20px;border-radius:var(--df-radius-sm);font-size:1.4rem;font-weight:600;cursor:pointer;transition:background-color .2s ease;white-space:nowrap}.engagement-banner[_ngcontent-%COMP%] .cta-button[_ngcontent-%COMP%]:hover{background-color:var(--df-accent-strong)}.engagement-banner[_ngcontent-%COMP%] .cta-button[_ngcontent-%COMP%]:focus{outline:2px solid var(--df-accent);outline-offset:2px}.banner-spacer[_ngcontent-%COMP%]{height:56px}@media (max-width: 768px){.banner-spacer[_ngcontent-%COMP%]{height:72px}.engagement-banner[_ngcontent-%COMP%]{padding:10px 15px}.engagement-banner[_ngcontent-%COMP%] .banner-content[_ngcontent-%COMP%]{flex-direction:column;gap:10px;padding-right:40px}.engagement-banner[_ngcontent-%COMP%] .banner-text[_ngcontent-%COMP%]{font-size:1.3rem;text-align:center}.engagement-banner[_ngcontent-%COMP%] .cta-button[_ngcontent-%COMP%]{padding:8px 16px;font-size:1.3rem}}"]})}};On=(0,y.Cg)([(0,De.d)({checkProperties:!0})],On);var hc=r(63884),ki=r(28930),ko=r(17434),ui=r(71398);const Dc=["bannerEl"],Ao=function(f,d,l,m){return{days:f,daysUnit:d,hours:l,hoursUnit:m}};function $o(f,d){if(1&f&&(a.qex(0),a.j41(1,"div",1,2)(3,"div",3)(4,"span",4)(5,"strong",5),a.EFF(6),a.nI1(7,"transloco"),a.k0s(),a.j41(8,"span",6),a.EFF(9),a.nI1(10,"transloco"),a.nI1(11,"transloco"),a.nI1(12,"transloco"),a.k0s(),a.j41(13,"span",7),a.EFF(14," \xb7 "),a.k0s(),a.j41(15,"span",8),a.nI1(16,"transloco"),a.EFF(17),a.nI1(18,"transloco"),a.k0s()(),a.j41(19,"span",9)(20,"a",10),a.EFF(21),a.nI1(22,"transloco"),a.k0s(),a.j41(23,"a",11),a.EFF(24),a.nI1(25,"transloco"),a.k0s()()()(),a.bVm()),2&f){const l=d.ngIf;a.R7$(1),a.AVh("trial-banner--info","info"===l.remaining.severity)("trial-banner--warning","warning"===l.remaining.severity)("trial-banner--critical","critical"===l.remaining.severity)("trial-banner--row","row"===l.layout)("trial-banner--stack","stack"===l.layout),a.BMQ("data-severity",l.remaining.severity)("data-layout",l.layout),a.R7$(5),a.JRh(a.bMT(7,20,"trial.banner.label")),a.R7$(3),a.SpI(" ",a.i5U(10,22,"trial.banner.remaining",a.ziG(37,Ao,l.remaining.days,a.bMT(11,25,l.daysUnitKey),l.remaining.hours,a.bMT(12,27,l.hoursUnitKey)))," "),a.R7$(6),a.Y8G("title",a.bMT(16,29,"trial.banner.needMoreTime")),a.R7$(2),a.JRh(a.bMT(18,31,"trial.banner.needMoreTimeShort")),a.R7$(3),a.Y8G("href",l.contactHref,a.B4B),a.R7$(1),a.SpI(" ",a.bMT(22,33,"trial.banner.contactSales")," "),a.R7$(2),a.Y8G("href",l.demoUrl,a.B4B),a.R7$(1),a.SpI(" ",a.bMT(25,35,"trial.banner.bookDemo")," ")}}const bi="--df-trial-banner-height";let xi=(()=>{class f{set bannerRef(l){this.detach(),l&&this.attach(l.nativeElement)}constructor(l,m,L){this.trialService=l,this.document=m,this.zone=L,this.publishedHeight=0,this.layout$=(0,hc.R)(this.document.defaultView,"resize").pipe((0,ki.Z)(null),(0,J.T)(()=>function mi(f){return f>=960?"row":"stack"}(this.viewportWidth())),(0,_t.F)()),this.vm$=(0,ko.z)([this.trialService.trial$,this.trialService.remaining$,this.trialService.expired$,this.layout$]).pipe((0,J.T)(([R,ht,Pt,Ft])=>{if(!R||Pt||"active"!==R.status||!ht)return null;const qt=R.contactEmail||ui.nC;return{trial:R,remaining:ht,contactEmail:qt,contactHref:`mailto:${qt}`,demoUrl:R.demoUrl||ui.ds,daysUnitKey:1===ht.days?"trial.units.day":"trial.units.days",hoursUnitKey:1===ht.hours?"trial.units.hour":"trial.units.hours",layout:Ft}})),this.bannerEl=null,this.resizeObserver=null,this.fallbackResize=null}ngOnDestroy(){this.detach()}viewportWidth(){return this.document.defaultView?.innerWidth||this.document.documentElement.clientWidth||0}attach(l){this.bannerEl=l;const m=this.document.defaultView,L=m&&m.ResizeObserver;L?this.zone.runOutsideAngular(()=>{this.resizeObserver=new L(()=>this.syncHeight()),this.resizeObserver.observe(l)}):m&&(this.fallbackResize=()=>this.syncHeight(),m.addEventListener("resize",this.fallbackResize)),this.syncHeight()}detach(){this.resizeObserver?.disconnect(),this.resizeObserver=null,this.fallbackResize&&(this.document.defaultView?.removeEventListener("resize",this.fallbackResize),this.fallbackResize=null),this.bannerEl=null,this.publishHeight(0)}syncHeight(){this.bannerEl&&this.publishHeight(this.bannerEl.getBoundingClientRect().height)}publishHeight(l){const m=this.document.documentElement;m&&(l>0?m.style.setProperty(bi,`${l}px`):m.style.removeProperty(bi),this.publishedHeight=l)}static{this.\u0275fac=function(m){return new(m||f)(a.rXU(Dt.K),a.rXU(b.qQ),a.rXU(a.SKi))}}static{this.\u0275cmp=a.VBU({type:f,selectors:[["df-trial-banner"]],viewQuery:function(m,L){if(1&m&&a.GBs(Dc,5),2&m){let R;a.mGM(R=a.lsd())&&(L.bannerRef=R.first)}},standalone:!0,features:[a.aNF],decls:2,vars:3,consts:[[4,"ngIf"],["data-testid","trial-banner","role","status","aria-live","polite",1,"trial-banner"],["bannerEl",""],[1,"banner-content"],[1,"banner-text"],[1,"banner-label"],["data-testid","trial-countdown",1,"banner-countdown"],["aria-hidden","true",1,"banner-sep"],["data-testid","trial-help",1,"banner-help",3,"title"],[1,"banner-actions"],["data-testid","trial-contact-cta",1,"cta-button","cta-button--primary",3,"href"],["data-testid","trial-demo-cta","target","_blank","rel","noopener",1,"cta-button","cta-button--secondary",3,"href"]],template:function(m,L){1&m&&(a.DNE(0,$o,26,42,"ng-container",0),a.nI1(1,"async")),2&m&&a.Y8G("ngIf",a.bMT(1,1,L.vm$))},dependencies:[b.bT,b.Jj,at.Q8,at.Kj],styles:["[_nghost-%COMP%]{display:block;position:sticky;top:0;z-index:900}.trial-banner[_ngcontent-%COMP%]{--trial-tone: var(--df-accent);--trial-tone-strong: var(--df-accent-strong);--trial-tone-soft: var(--df-accent-soft);--trial-tone-border: var(--df-border);background-color:var(--df-surface);background-image:linear-gradient(var(--trial-tone-soft),var(--trial-tone-soft));color:var(--df-text);border-bottom:1px solid var(--trial-tone-border);padding:6px 16px;font-family:inherit;box-sizing:border-box}.trial-banner--warning[_ngcontent-%COMP%]{--trial-tone: var(--df-warning);--trial-tone-strong: var(--df-warning);--trial-tone-soft: var(--df-warning-soft);--trial-tone-border: var(--df-warning-border)}.trial-banner--critical[_ngcontent-%COMP%]{--trial-tone: var(--df-danger);--trial-tone-strong: var(--df-danger);--trial-tone-soft: var(--df-danger-soft);--trial-tone-border: var(--df-danger-border)}.trial-banner[_ngcontent-%COMP%] .banner-content[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:6px 16px;max-width:1200px;margin:0 auto;min-height:26px}.trial-banner[_ngcontent-%COMP%] .banner-text[_ngcontent-%COMP%]{display:inline-flex;align-items:center;flex-wrap:wrap;gap:4px 8px;min-width:0;color:var(--df-text);font-size:1.3rem;font-weight:500;line-height:1.3}.trial-banner[_ngcontent-%COMP%] .banner-label[_ngcontent-%COMP%]{display:inline-flex;align-items:center;padding:2px 8px;border-radius:999px;background-color:var(--trial-tone);color:var(--df-accent-contrast);font-size:1.05rem;font-weight:600;line-height:1.4;letter-spacing:.04em;text-transform:uppercase;white-space:nowrap}.trial-banner[_ngcontent-%COMP%] .banner-countdown[_ngcontent-%COMP%]{font-weight:600;font-variant-numeric:tabular-nums;white-space:nowrap}.trial-banner[_ngcontent-%COMP%] .banner-sep[_ngcontent-%COMP%]{color:var(--df-text-muted)}.trial-banner[_ngcontent-%COMP%] .banner-help[_ngcontent-%COMP%]{color:var(--df-text-2)}.trial-banner[_ngcontent-%COMP%] .banner-actions[_ngcontent-%COMP%]{display:inline-flex;gap:6px;flex-shrink:0}.trial-banner[_ngcontent-%COMP%] .cta-button[_ngcontent-%COMP%]{display:inline-flex;align-items:center;min-height:24px;box-sizing:border-box;text-decoration:none;border:1px solid transparent;padding:2px 10px;border-radius:var(--df-radius-sm);font-size:1.2rem;font-weight:600;line-height:1.4;cursor:pointer;white-space:nowrap;transition:background-color var(--df-duration-fast, .12s) ease,border-color var(--df-duration-fast, .12s) ease}.trial-banner[_ngcontent-%COMP%] .cta-button[_ngcontent-%COMP%]:focus-visible{outline:2px solid var(--trial-tone);outline-offset:2px}.trial-banner[_ngcontent-%COMP%] .cta-button--primary[_ngcontent-%COMP%]{background-color:var(--trial-tone);color:var(--df-accent-contrast)}.trial-banner[_ngcontent-%COMP%] .cta-button--primary[_ngcontent-%COMP%]:hover{background-color:var(--trial-tone-strong);filter:brightness(.95)}.trial-banner[_ngcontent-%COMP%] .cta-button--secondary[_ngcontent-%COMP%]{background-color:transparent;color:var(--df-text);border-color:var(--df-border)}.trial-banner[_ngcontent-%COMP%] .cta-button--secondary[_ngcontent-%COMP%]:hover{background-color:var(--df-hover);border-color:var(--trial-tone)}.trial-banner--stack[_ngcontent-%COMP%]{padding:8px 12px}.trial-banner--stack[_ngcontent-%COMP%] .banner-content[_ngcontent-%COMP%]{flex-direction:column;gap:8px}.trial-banner--stack[_ngcontent-%COMP%] .banner-text[_ngcontent-%COMP%]{justify-content:center;text-align:center}@media (max-width: 599px){.trial-banner--stack[_ngcontent-%COMP%] .banner-sep[_ngcontent-%COMP%], .trial-banner--stack[_ngcontent-%COMP%] .banner-help[_ngcontent-%COMP%]{display:none}}"]})}}return f})(),co=(()=>{class f{constructor(){this.activeCounter=0,this.active$=new ve.t(!1)}get active(){return this.active$.asObservable()}set active(l){const m=this.activeCounter>0;l?this.activeCounter++:this.activeCounter=Math.max(this.activeCounter-1,0);const L=this.activeCounter>0;m!==L&&queueMicrotask(()=>{this.active$.value!==L&&this.active$.next(L)})}static{this.\u0275fac=function(m){return new(m||f)}}static{this.\u0275prov=a.jDH({token:f,factory:f.\u0275fac,providedIn:"root"})}}return f})(),Ui=(()=>{class f{constructor(l,m){this.dfAuthService=l,this.dfUserDataService=m}loginWithJwt(l){return this.dfAuthService.loginWithToken(l).pipe((0,Ye.M)(m=>this.dfUserDataService.userData=m))}setCurrentUser(l){this.dfUserDataService.userData=l}getCurrentUser(){return this.dfUserDataService.userData}isAuthenticated(){return this.dfUserDataService.isLoggedIn}isLoggedIn(){return this.isAuthenticated()}logout(){this.dfAuthService.logout()}static{this.\u0275fac=function(m){return new(m||f)(a.KVO(pt.g),a.KVO(Gt.T))}}static{this.\u0275prov=a.jDH({token:f,factory:f.\u0275fac,providedIn:"root"})}}return f})(),To=(()=>{class f{constructor(){this.logs=[]}log(l){const L=`${(new Date).toISOString()}: ${l}`;console.log(L),this.logs.push(L)}getLogs(){return this.logs}clearLogs(){this.logs=[]}static{this.\u0275fac=function(m){return new(m||f)}}static{this.\u0275prov=a.jDH({token:f,factory:f.\u0275fac,providedIn:"root"})}}return f})();var ji=r(67679);function Wo(f,d){1&f&&(a.qex(0),a.nrm(1,"router-outlet"),a.bVm())}function gc(f,d){1&f&&(a.j41(0,"df-side-nav"),a.nrm(1,"router-outlet"),a.k0s())}function Ar(f,d){1&f&&(a.j41(0,"div",3),a.nrm(1,"div",4)(2,"img",5),a.k0s())}let Oc=class ev{constructor(d,l,m,L,R,ht,Pt,Ft,qt,Ae){this.loadingSpinnerService=d,this.licenseCheckService=l,this.trialService=m,this.authService=L,this.router=R,this.route=ht,this.loggingService=Pt,this.intercomService=Ft,this.dfUserDataService=qt,this.commandPalette=Ae,this.title="df-admin-interface",this.activeSpinner$=this.loadingSpinnerService.active,this.licenseCheck$=this.licenseCheckService.licenseCheck$,this.trialLocked$=this.trialService.expired$}onGlobalKeydown(d){if((d.metaKey||d.ctrlKey)&&"k"===d.key.toLowerCase()){if(!this.authService.isAuthenticated())return;d.preventDefault(),this.commandPalette.toggle()}}ngOnInit(){this.loggingService.log("AppComponent initialized"),this.handleAuthentication(),this.watchRouteLoading(),this.initializeIntercom(),this.dfUserDataService.userData$.pipe((0,De.s)(this)).subscribe(d=>{d?this.intercomService.updateUser(d):this.intercomService.shutdownIntercom()}),this.licenseCheck$.pipe((0,De.s)(this)).subscribe(d=>{"true"===d?.disableUi&&(this.router.url.includes(M.b.LICENSE_EXPIRED)||this.router.navigate([M.b.LICENSE_EXPIRED]))}),this.trialLocked$.pipe((0,De.s)(this)).subscribe(d=>{d&&!this.router.url.includes(M.b.TRIAL_EXPIRED)&&this.router.navigate([M.b.TRIAL_EXPIRED])})}watchRouteLoading(){this.router.events.pipe((0,Zt.p)(d=>d instanceof T.Z||d instanceof T.wF||d instanceof T.j5||d instanceof T.L6),(0,De.s)(this)).subscribe(d=>{this.loadingSpinnerService.active=d instanceof T.Z})}handleAuthentication(){this.loggingService.log("Handling authentication");const d=window.location.href;this.loggingService.log(`Full URL: ${d}`);const l=d.match(/[?&]jwt=([^&#]*)/),m=l?l[1]:null,L=d.match(/[?&]error=([^&#]*)/),R=L?decodeURIComponent(L[1]):null,ht=d.match(/[?&]session_token=([^&#]*)/),Pt=ht?ht[1]:null;if(R)return this.loggingService.log(`OAuth error found: ${R}`),void this.router.navigate(["/auth/login"],{state:{loginError:R}});m?(this.loggingService.log(`JWT found in URL: ${m.substring(0,20)}...`),this.authService.loginWithJwt(m).subscribe(Ft=>{this.loggingService.log("Login successful for user: "+(Ft.session_token||Ft.sessionToken?"Authenticated":"Unknown")),window.location.href="/dreamfactory/dist/#/home"},Ft=>{this.loggingService.log(`Login failed: ${JSON.stringify(Ft)}`),window.location.href="/dreamfactory/dist/#/auth/login"})):Pt?(this.loggingService.log("Session token found in URL"),this.authService.loginWithJwt(Pt).subscribe(Ft=>{this.loggingService.log("OAuth login successful: "+(Ft.session_token||Ft.sessionToken?"Authenticated":"Unknown")),window.location.href="/#/home"},Ft=>{this.loggingService.log(`OAuth login failed: ${JSON.stringify(Ft)}`),window.location.href="/#/auth/login"})):(this.loggingService.log("No JWT or session token found in URL"),this.authService.isAuthenticated()?(this.loggingService.log("User is already logged in"),window.location.href="/dreamfactory/dist/#/home"):this.loggingService.log("User not logged in, redirecting to login page"))}initializeIntercom(){var d=this;return(0,o.A)(function*(){try{setTimeout((0,o.A)(function*(){yield d.intercomService.initializeIntercom()}),2e3)}catch(l){d.loggingService.log(`Failed to initialize Intercom: ${l}`)}})()}someMethod(){this.authService.isAuthenticated()}static{this.\u0275fac=function(l){return new(l||ev)(a.rXU(co),a.rXU(hn.H),a.rXU(Dt.K),a.rXU(Ui),a.rXU(T.Ix),a.rXU(T.nX),a.rXU(To),a.rXU(ji.l),a.rXU(Gt.T),a.rXU(Ii))}}static{this.\u0275cmp=a.VBU({type:ev,selectors:[["df-root"]],hostBindings:function(l,m){1&l&&a.bIt("keydown",function(R){return m.onGlobalKeydown(R)},!1,a.EBC)},standalone:!0,features:[a.aNF],decls:9,vars:9,consts:[[4,"ngIf","ngIfElse"],["enabled",""],["class","spinner-container",4,"ngIf"],[1,"spinner-container"],[1,"backdrop"],["src","assets/img/df-cog.svg","alt","spinner","width","200",1,"spinner"]],template:function(l,m){if(1&l&&(a.nrm(0,"df-trial-banner")(1,"df-engagement-banner"),a.DNE(2,Wo,2,0,"ng-container",0),a.nI1(3,"async"),a.nI1(4,"async"),a.DNE(5,gc,2,0,"ng-template",null,1,a.C5r),a.DNE(7,Ar,3,0,"div",2),a.nI1(8,"async")),2&l){const L=a.sdS(6);let R;a.R7$(2),a.Y8G("ngIf","true"===(null==(R=a.bMT(3,3,m.licenseCheck$))?null:R.disableUi)||a.bMT(4,5,m.trialLocked$))("ngIfElse",L),a.R7$(5),a.Y8G("ngIf",a.bMT(8,7,m.activeSpinner$))}},dependencies:[eo,On,xi,T.n3,b.bT,b.Jj],styles:[".mat-ripple[_ngcontent-%COMP%]{overflow:hidden;position:relative}.mat-ripple[_ngcontent-%COMP%]:not(:empty){transform:translateZ(0)}.mat-ripple.mat-ripple-unbounded[_ngcontent-%COMP%]{overflow:visible}.mat-ripple-element[_ngcontent-%COMP%]{position:absolute;border-radius:50%;pointer-events:none;transition:opacity,transform 0ms cubic-bezier(0,0,.2,1);transform:scale3d(0,0,0)}.cdk-high-contrast-active[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%]{display:none}.cdk-visually-hidden[_ngcontent-%COMP%]{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;white-space:nowrap;outline:0;-webkit-appearance:none;-moz-appearance:none;left:0}[dir=rtl][_ngcontent-%COMP%] .cdk-visually-hidden[_ngcontent-%COMP%]{left:auto;right:0}.cdk-overlay-container[_ngcontent-%COMP%], .cdk-global-overlay-wrapper[_ngcontent-%COMP%]{pointer-events:none;top:0;left:0;height:100%;width:100%}.cdk-overlay-container[_ngcontent-%COMP%]{position:fixed;z-index:1000}.cdk-overlay-container[_ngcontent-%COMP%]:empty{display:none}.cdk-global-overlay-wrapper[_ngcontent-%COMP%]{display:flex;position:absolute;z-index:1000}.cdk-overlay-pane[_ngcontent-%COMP%]{position:absolute;pointer-events:auto;box-sizing:border-box;z-index:1000;display:flex;max-width:100%;max-height:100%}.cdk-overlay-backdrop[_ngcontent-%COMP%]{position:absolute;inset:0;z-index:1000;pointer-events:auto;-webkit-tap-highlight-color:transparent;transition:opacity .4s cubic-bezier(.25,.8,.25,1);opacity:0}.cdk-overlay-backdrop.cdk-overlay-backdrop-showing[_ngcontent-%COMP%]{opacity:1}.cdk-high-contrast-active[_ngcontent-%COMP%] .cdk-overlay-backdrop.cdk-overlay-backdrop-showing[_ngcontent-%COMP%]{opacity:.6}.cdk-overlay-dark-backdrop[_ngcontent-%COMP%]{background:rgba(0,0,0,.32)}.cdk-overlay-transparent-backdrop[_ngcontent-%COMP%]{transition:visibility 1ms linear,opacity 1ms linear;visibility:hidden;opacity:1}.cdk-overlay-transparent-backdrop.cdk-overlay-backdrop-showing[_ngcontent-%COMP%]{opacity:0;visibility:visible}.cdk-overlay-backdrop-noop-animation[_ngcontent-%COMP%]{transition:none}.cdk-overlay-connected-position-bounding-box[_ngcontent-%COMP%]{position:absolute;z-index:1000;display:flex;flex-direction:column;min-width:1px;min-height:1px}.cdk-global-scrollblock[_ngcontent-%COMP%]{position:fixed;width:100%;overflow-y:scroll}textarea.cdk-textarea-autosize[_ngcontent-%COMP%]{resize:none}textarea.cdk-textarea-autosize-measuring[_ngcontent-%COMP%]{padding:2px 0!important;box-sizing:content-box!important;height:auto!important;overflow:hidden!important}textarea.cdk-textarea-autosize-measuring-firefox[_ngcontent-%COMP%]{padding:2px 0!important;box-sizing:content-box!important;height:0!important}@keyframes _ngcontent-%COMP%_cdk-text-field-autofill-start{}@keyframes _ngcontent-%COMP%_cdk-text-field-autofill-end{}.cdk-text-field-autofill-monitored[_ngcontent-%COMP%]:-webkit-autofill{animation:_ngcontent-%COMP%_cdk-text-field-autofill-start 0s 1ms}.cdk-text-field-autofill-monitored[_ngcontent-%COMP%]:not(:-webkit-autofill){animation:_ngcontent-%COMP%_cdk-text-field-autofill-end 0s 1ms}.mat-focus-indicator[_ngcontent-%COMP%]{position:relative}.mat-focus-indicator[_ngcontent-%COMP%]:before{inset:0;position:absolute;box-sizing:border-box;pointer-events:none;display:var(--mat-focus-indicator-display, none);border:var(--mat-focus-indicator-border-width, 3px) var(--mat-focus-indicator-border-style, solid) var(--mat-focus-indicator-border-color, transparent);border-radius:var(--mat-focus-indicator-border-radius, 4px)}.mat-focus-indicator[_ngcontent-%COMP%]:focus:before{content:\"\"}.cdk-high-contrast-active[_ngcontent-%COMP%]{--mat-focus-indicator-display: block}.mat-mdc-focus-indicator[_ngcontent-%COMP%]{position:relative}.mat-mdc-focus-indicator[_ngcontent-%COMP%]:before{inset:0;position:absolute;box-sizing:border-box;pointer-events:none;display:var(--mat-mdc-focus-indicator-display, none);border:var(--mat-mdc-focus-indicator-border-width, 3px) var(--mat-mdc-focus-indicator-border-style, solid) var(--mat-mdc-focus-indicator-border-color, transparent);border-radius:var(--mat-mdc-focus-indicator-border-radius, 4px)}.mat-mdc-focus-indicator[_ngcontent-%COMP%]:focus:before{content:\"\"}.cdk-high-contrast-active[_ngcontent-%COMP%]{--mat-mdc-focus-indicator-display: block}@font-face{font-family:Inter;src:url(Inter-VariableFont_slnt,wght.1cccc37b0c8d2802.ttf)}.mat-ripple-element[_ngcontent-%COMP%]{background-color:#0000001a}html[_ngcontent-%COMP%]{--mat-option-selected-state-label-text-color: #0f0761;--mat-option-label-text-color: rgba(0, 0, 0, .87);--mat-option-hover-state-layer-color: rgba(0, 0, 0, .04);--mat-option-focus-state-layer-color: rgba(0, 0, 0, .04);--mat-option-selected-state-layer-color: rgba(0, 0, 0, .04)}.mat-accent[_ngcontent-%COMP%]{--mat-option-selected-state-label-text-color: #dd7345}.mat-warn[_ngcontent-%COMP%]{--mat-option-selected-state-label-text-color: #f44336}html[_ngcontent-%COMP%]{--mat-optgroup-label-text-color: rgba(0, 0, 0, .87)}.mat-pseudo-checkbox-full[_ngcontent-%COMP%]{color:#0000008a}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-disabled[_ngcontent-%COMP%]{color:#b0b0b0}.mat-primary[_ngcontent-%COMP%] .mat-pseudo-checkbox-checked.mat-pseudo-checkbox-minimal[_ngcontent-%COMP%]:after, .mat-primary[_ngcontent-%COMP%] .mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-minimal[_ngcontent-%COMP%]:after{color:#0f0761}.mat-primary[_ngcontent-%COMP%] .mat-pseudo-checkbox-checked.mat-pseudo-checkbox-full[_ngcontent-%COMP%], .mat-primary[_ngcontent-%COMP%] .mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-full[_ngcontent-%COMP%]{background:#0f0761}.mat-primary[_ngcontent-%COMP%] .mat-pseudo-checkbox-checked.mat-pseudo-checkbox-full[_ngcontent-%COMP%]:after, .mat-primary[_ngcontent-%COMP%] .mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-full[_ngcontent-%COMP%]:after{color:#fafafa}.mat-pseudo-checkbox-checked.mat-pseudo-checkbox-minimal[_ngcontent-%COMP%]:after, .mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-minimal[_ngcontent-%COMP%]:after{color:#dd7345}.mat-pseudo-checkbox-checked.mat-pseudo-checkbox-full[_ngcontent-%COMP%], .mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-full[_ngcontent-%COMP%]{background:#dd7345}.mat-pseudo-checkbox-checked.mat-pseudo-checkbox-full[_ngcontent-%COMP%]:after, .mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-full[_ngcontent-%COMP%]:after{color:#fafafa}.mat-accent[_ngcontent-%COMP%] .mat-pseudo-checkbox-checked.mat-pseudo-checkbox-minimal[_ngcontent-%COMP%]:after, .mat-accent[_ngcontent-%COMP%] .mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-minimal[_ngcontent-%COMP%]:after{color:#dd7345}.mat-accent[_ngcontent-%COMP%] .mat-pseudo-checkbox-checked.mat-pseudo-checkbox-full[_ngcontent-%COMP%], .mat-accent[_ngcontent-%COMP%] .mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-full[_ngcontent-%COMP%]{background:#dd7345}.mat-accent[_ngcontent-%COMP%] .mat-pseudo-checkbox-checked.mat-pseudo-checkbox-full[_ngcontent-%COMP%]:after, .mat-accent[_ngcontent-%COMP%] .mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-full[_ngcontent-%COMP%]:after{color:#fafafa}.mat-warn[_ngcontent-%COMP%] .mat-pseudo-checkbox-checked.mat-pseudo-checkbox-minimal[_ngcontent-%COMP%]:after, .mat-warn[_ngcontent-%COMP%] .mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-minimal[_ngcontent-%COMP%]:after{color:#f44336}.mat-warn[_ngcontent-%COMP%] .mat-pseudo-checkbox-checked.mat-pseudo-checkbox-full[_ngcontent-%COMP%], .mat-warn[_ngcontent-%COMP%] .mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-full[_ngcontent-%COMP%]{background:#f44336}.mat-warn[_ngcontent-%COMP%] .mat-pseudo-checkbox-checked.mat-pseudo-checkbox-full[_ngcontent-%COMP%]:after, .mat-warn[_ngcontent-%COMP%] .mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-full[_ngcontent-%COMP%]:after{color:#fafafa}.mat-pseudo-checkbox-disabled.mat-pseudo-checkbox-checked.mat-pseudo-checkbox-minimal[_ngcontent-%COMP%]:after, .mat-pseudo-checkbox-disabled.mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-minimal[_ngcontent-%COMP%]:after{color:#b0b0b0}.mat-pseudo-checkbox-disabled.mat-pseudo-checkbox-checked.mat-pseudo-checkbox-full[_ngcontent-%COMP%], .mat-pseudo-checkbox-disabled.mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-full[_ngcontent-%COMP%]{background:#b0b0b0}.mat-app-background[_ngcontent-%COMP%]{background-color:#fafafa;color:#000000de}.mat-elevation-z0[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z0[_ngcontent-%COMP%]{box-shadow:0 0 #0003,0 0 #00000024,0 0 #0000001f}.mat-elevation-z1[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z1[_ngcontent-%COMP%]{box-shadow:0 2px 1px -1px #0003,0 1px 1px #00000024,0 1px 3px #0000001f}.mat-elevation-z2[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z2[_ngcontent-%COMP%]{box-shadow:0 3px 1px -2px #0003,0 2px 2px #00000024,0 1px 5px #0000001f}.mat-elevation-z3[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z3[_ngcontent-%COMP%]{box-shadow:0 3px 3px -2px #0003,0 3px 4px #00000024,0 1px 8px #0000001f}.mat-elevation-z4[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z4[_ngcontent-%COMP%]{box-shadow:0 2px 4px -1px #0003,0 4px 5px #00000024,0 1px 10px #0000001f}.mat-elevation-z5[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z5[_ngcontent-%COMP%]{box-shadow:0 3px 5px -1px #0003,0 5px 8px #00000024,0 1px 14px #0000001f}.mat-elevation-z6[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z6[_ngcontent-%COMP%]{box-shadow:0 3px 5px -1px #0003,0 6px 10px #00000024,0 1px 18px #0000001f}.mat-elevation-z7[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z7[_ngcontent-%COMP%]{box-shadow:0 4px 5px -2px #0003,0 7px 10px 1px #00000024,0 2px 16px 1px #0000001f}.mat-elevation-z8[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z8[_ngcontent-%COMP%]{box-shadow:0 5px 5px -3px #0003,0 8px 10px 1px #00000024,0 3px 14px 2px #0000001f}.mat-elevation-z9[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z9[_ngcontent-%COMP%]{box-shadow:0 5px 6px -3px #0003,0 9px 12px 1px #00000024,0 3px 16px 2px #0000001f}.mat-elevation-z10[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z10[_ngcontent-%COMP%]{box-shadow:0 6px 6px -3px #0003,0 10px 14px 1px #00000024,0 4px 18px 3px #0000001f}.mat-elevation-z11[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z11[_ngcontent-%COMP%]{box-shadow:0 6px 7px -4px #0003,0 11px 15px 1px #00000024,0 4px 20px 3px #0000001f}.mat-elevation-z12[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z12[_ngcontent-%COMP%]{box-shadow:0 7px 8px -4px #0003,0 12px 17px 2px #00000024,0 5px 22px 4px #0000001f}.mat-elevation-z13[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z13[_ngcontent-%COMP%]{box-shadow:0 7px 8px -4px #0003,0 13px 19px 2px #00000024,0 5px 24px 4px #0000001f}.mat-elevation-z14[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z14[_ngcontent-%COMP%]{box-shadow:0 7px 9px -4px #0003,0 14px 21px 2px #00000024,0 5px 26px 4px #0000001f}.mat-elevation-z15[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z15[_ngcontent-%COMP%]{box-shadow:0 8px 9px -5px #0003,0 15px 22px 2px #00000024,0 6px 28px 5px #0000001f}.mat-elevation-z16[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z16[_ngcontent-%COMP%]{box-shadow:0 8px 10px -5px #0003,0 16px 24px 2px #00000024,0 6px 30px 5px #0000001f}.mat-elevation-z17[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z17[_ngcontent-%COMP%]{box-shadow:0 8px 11px -5px #0003,0 17px 26px 2px #00000024,0 6px 32px 5px #0000001f}.mat-elevation-z18[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z18[_ngcontent-%COMP%]{box-shadow:0 9px 11px -5px #0003,0 18px 28px 2px #00000024,0 7px 34px 6px #0000001f}.mat-elevation-z19[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z19[_ngcontent-%COMP%]{box-shadow:0 9px 12px -6px #0003,0 19px 29px 2px #00000024,0 7px 36px 6px #0000001f}.mat-elevation-z20[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z20[_ngcontent-%COMP%]{box-shadow:0 10px 13px -6px #0003,0 20px 31px 3px #00000024,0 8px 38px 7px #0000001f}.mat-elevation-z21[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z21[_ngcontent-%COMP%]{box-shadow:0 10px 13px -6px #0003,0 21px 33px 3px #00000024,0 8px 40px 7px #0000001f}.mat-elevation-z22[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z22[_ngcontent-%COMP%]{box-shadow:0 10px 14px -6px #0003,0 22px 35px 3px #00000024,0 8px 42px 7px #0000001f}.mat-elevation-z23[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z23[_ngcontent-%COMP%]{box-shadow:0 11px 14px -7px #0003,0 23px 36px 3px #00000024,0 9px 44px 8px #0000001f}.mat-elevation-z24[_ngcontent-%COMP%], .mat-mdc-elevation-specific.mat-elevation-z24[_ngcontent-%COMP%]{box-shadow:0 11px 15px -7px #0003,0 24px 38px 3px #00000024,0 9px 46px 8px #0000001f}.mat-theme-loaded-marker[_ngcontent-%COMP%]{display:none}html[_ngcontent-%COMP%]{--mat-option-label-text-font: Inter;--mat-option-label-text-line-height: 19px;--mat-option-label-text-size: 13px;--mat-option-label-text-tracking: normal;--mat-option-label-text-weight: 400}html[_ngcontent-%COMP%]{--mat-optgroup-label-text-font: Inter;--mat-optgroup-label-text-line-height: 19px;--mat-optgroup-label-text-size: 13px;--mat-optgroup-label-text-tracking: normal;--mat-optgroup-label-text-weight: 400}.mat-mdc-card[_ngcontent-%COMP%]{--mdc-elevated-card-container-color: white;--mdc-elevated-card-container-elevation: 0px 2px 1px -1px rgba(0, 0, 0, .2), 0px 1px 1px 0px rgba(0, 0, 0, .14), 0px 1px 3px 0px rgba(0, 0, 0, .12);--mdc-outlined-card-container-color: white;--mdc-outlined-card-outline-color: rgba(0, 0, 0, .12);--mdc-outlined-card-container-elevation: 0px 0px 0px 0px rgba(0, 0, 0, .2), 0px 0px 0px 0px rgba(0, 0, 0, .14), 0px 0px 0px 0px rgba(0, 0, 0, .12);--mat-card-subtitle-text-color: rgba(0, 0, 0, .54)}.mat-mdc-card[_ngcontent-%COMP%]{--mat-card-title-text-font: Inter;--mat-card-title-text-line-height: 21px;--mat-card-title-text-size: 16px;--mat-card-title-text-tracking: normal;--mat-card-title-text-weight: 600;--mat-card-subtitle-text-font: Inter;--mat-card-subtitle-text-line-height: 19px;--mat-card-subtitle-text-size: 13px;--mat-card-subtitle-text-tracking: normal;--mat-card-subtitle-text-weight: 500}.mat-mdc-progress-bar[_ngcontent-%COMP%]{--mdc-linear-progress-active-indicator-color: #0f0761;--mdc-linear-progress-track-color: rgba(15, 7, 97, .25)}.mat-mdc-progress-bar[_ngcontent-%COMP%] .mdc-linear-progress__buffer-dots[_ngcontent-%COMP%]{background-color:#0f076140;background-color:var(--mdc-linear-progress-track-color, rgba(15, 7, 97, .25))}@media (forced-colors: active){.mat-mdc-progress-bar[_ngcontent-%COMP%] .mdc-linear-progress__buffer-dots[_ngcontent-%COMP%]{background-color:ButtonBorder}}@media all and (-ms-high-contrast: none),(-ms-high-contrast: active){.mat-mdc-progress-bar[_ngcontent-%COMP%] .mdc-linear-progress__buffer-dots[_ngcontent-%COMP%]{background-color:transparent;background-image:url(\"data:image/svg+xml,%3Csvg version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' enable-background='new 0 0 5 2' xml:space='preserve' viewBox='0 0 5 2' preserveAspectRatio='none slice'%3E%3Ccircle cx='1' cy='1' r='1' fill='rgba(15, 7, 97, 0.25)'/%3E%3C/svg%3E\")}}.mat-mdc-progress-bar[_ngcontent-%COMP%] .mdc-linear-progress__buffer-bar[_ngcontent-%COMP%]{background-color:#0f076140;background-color:var(--mdc-linear-progress-track-color, rgba(15, 7, 97, .25))}.mat-mdc-progress-bar.mat-accent[_ngcontent-%COMP%]{--mdc-linear-progress-active-indicator-color: #dd7345;--mdc-linear-progress-track-color: rgba(221, 115, 69, .25)}.mat-mdc-progress-bar.mat-accent[_ngcontent-%COMP%] .mdc-linear-progress__buffer-dots[_ngcontent-%COMP%]{background-color:#dd734540;background-color:var(--mdc-linear-progress-track-color, rgba(221, 115, 69, .25))}@media (forced-colors: active){.mat-mdc-progress-bar.mat-accent[_ngcontent-%COMP%] .mdc-linear-progress__buffer-dots[_ngcontent-%COMP%]{background-color:ButtonBorder}}@media all and (-ms-high-contrast: none),(-ms-high-contrast: active){.mat-mdc-progress-bar.mat-accent[_ngcontent-%COMP%] .mdc-linear-progress__buffer-dots[_ngcontent-%COMP%]{background-color:transparent;background-image:url(\"data:image/svg+xml,%3Csvg version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' enable-background='new 0 0 5 2' xml:space='preserve' viewBox='0 0 5 2' preserveAspectRatio='none slice'%3E%3Ccircle cx='1' cy='1' r='1' fill='rgba(221, 115, 69, 0.25)'/%3E%3C/svg%3E\")}}.mat-mdc-progress-bar.mat-accent[_ngcontent-%COMP%] .mdc-linear-progress__buffer-bar[_ngcontent-%COMP%]{background-color:#dd734540;background-color:var(--mdc-linear-progress-track-color, rgba(221, 115, 69, .25))}.mat-mdc-progress-bar.mat-warn[_ngcontent-%COMP%]{--mdc-linear-progress-active-indicator-color: #f44336;--mdc-linear-progress-track-color: rgba(244, 67, 54, .25)}@keyframes _ngcontent-%COMP%_mdc-linear-progress-buffering{}.mat-mdc-progress-bar.mat-warn[_ngcontent-%COMP%] .mdc-linear-progress__buffer-dots[_ngcontent-%COMP%]{background-color:#f4433640;background-color:var(--mdc-linear-progress-track-color, rgba(244, 67, 54, .25))}@media (forced-colors: active){.mat-mdc-progress-bar.mat-warn[_ngcontent-%COMP%] .mdc-linear-progress__buffer-dots[_ngcontent-%COMP%]{background-color:ButtonBorder}}@media all and (-ms-high-contrast: none),(-ms-high-contrast: active){.mat-mdc-progress-bar.mat-warn[_ngcontent-%COMP%] .mdc-linear-progress__buffer-dots[_ngcontent-%COMP%]{background-color:transparent;background-image:url(\"data:image/svg+xml,%3Csvg version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' enable-background='new 0 0 5 2' xml:space='preserve' viewBox='0 0 5 2' preserveAspectRatio='none slice'%3E%3Ccircle cx='1' cy='1' r='1' fill='rgba(244, 67, 54, 0.25)'/%3E%3C/svg%3E\")}}.mat-mdc-progress-bar.mat-warn[_ngcontent-%COMP%] .mdc-linear-progress__buffer-bar[_ngcontent-%COMP%]{background-color:#f4433640;background-color:var(--mdc-linear-progress-track-color, rgba(244, 67, 54, .25))}.mat-mdc-tooltip[_ngcontent-%COMP%]{--mdc-plain-tooltip-container-color: #616161;--mdc-plain-tooltip-supporting-text-color: #fff}.mat-mdc-tooltip[_ngcontent-%COMP%]{--mdc-plain-tooltip-supporting-text-font: Inter;--mdc-plain-tooltip-supporting-text-size: 12px;--mdc-plain-tooltip-supporting-text-weight: 400;--mdc-plain-tooltip-supporting-text-tracking: normal}html[_ngcontent-%COMP%]{--mdc-filled-text-field-caret-color: #0f0761;--mdc-filled-text-field-focus-active-indicator-color: #0f0761;--mdc-filled-text-field-focus-label-text-color: rgba(15, 7, 97, .87);--mdc-filled-text-field-container-color: whitesmoke;--mdc-filled-text-field-disabled-container-color: #fafafa;--mdc-filled-text-field-label-text-color: rgba(0, 0, 0, .6);--mdc-filled-text-field-disabled-label-text-color: rgba(0, 0, 0, .38);--mdc-filled-text-field-input-text-color: rgba(0, 0, 0, .87);--mdc-filled-text-field-disabled-input-text-color: rgba(0, 0, 0, .38);--mdc-filled-text-field-input-text-placeholder-color: rgba(0, 0, 0, .6);--mdc-filled-text-field-error-focus-label-text-color: #f44336;--mdc-filled-text-field-error-label-text-color: #f44336;--mdc-filled-text-field-error-caret-color: #f44336;--mdc-filled-text-field-active-indicator-color: rgba(0, 0, 0, .42);--mdc-filled-text-field-disabled-active-indicator-color: rgba(0, 0, 0, .06);--mdc-filled-text-field-hover-active-indicator-color: rgba(0, 0, 0, .87);--mdc-filled-text-field-error-active-indicator-color: #f44336;--mdc-filled-text-field-error-focus-active-indicator-color: #f44336;--mdc-filled-text-field-error-hover-active-indicator-color: #f44336;--mdc-outlined-text-field-caret-color: #0f0761;--mdc-outlined-text-field-focus-outline-color: #0f0761;--mdc-outlined-text-field-focus-label-text-color: rgba(15, 7, 97, .87);--mdc-outlined-text-field-label-text-color: rgba(0, 0, 0, .6);--mdc-outlined-text-field-disabled-label-text-color: rgba(0, 0, 0, .38);--mdc-outlined-text-field-input-text-color: rgba(0, 0, 0, .87);--mdc-outlined-text-field-disabled-input-text-color: rgba(0, 0, 0, .38);--mdc-outlined-text-field-input-text-placeholder-color: rgba(0, 0, 0, .6);--mdc-outlined-text-field-error-caret-color: #f44336;--mdc-outlined-text-field-error-focus-label-text-color: #f44336;--mdc-outlined-text-field-error-label-text-color: #f44336;--mdc-outlined-text-field-outline-color: rgba(0, 0, 0, .38);--mdc-outlined-text-field-disabled-outline-color: rgba(0, 0, 0, .06);--mdc-outlined-text-field-hover-outline-color: rgba(0, 0, 0, .87);--mdc-outlined-text-field-error-focus-outline-color: #f44336;--mdc-outlined-text-field-error-hover-outline-color: #f44336;--mdc-outlined-text-field-error-outline-color: #f44336;--mat-form-field-disabled-input-text-placeholder-color: rgba(0, 0, 0, .38)}.mat-mdc-form-field-error[_ngcontent-%COMP%]{color:var(--mdc-theme-error, #f44336)}.mat-mdc-form-field-subscript-wrapper[_ngcontent-%COMP%], .mat-mdc-form-field-bottom-align[_ngcontent-%COMP%]:before{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--mat-form-field-subscript-text-font);line-height:var(--mat-form-field-subscript-text-line-height);font-size:var(--mat-form-field-subscript-text-size);letter-spacing:var(--mat-form-field-subscript-text-tracking);font-weight:var(--mat-form-field-subscript-text-weight)}.mat-mdc-form-field-focus-overlay[_ngcontent-%COMP%]{background-color:#000000de}.mat-mdc-form-field[_ngcontent-%COMP%]:hover .mat-mdc-form-field-focus-overlay[_ngcontent-%COMP%]{opacity:.04}.mat-mdc-form-field.mat-focused[_ngcontent-%COMP%] .mat-mdc-form-field-focus-overlay[_ngcontent-%COMP%]{opacity:.12}.mat-mdc-form-field-type-mat-native-select[_ngcontent-%COMP%] .mat-mdc-form-field-infix[_ngcontent-%COMP%]:after{color:#0000008a}.mat-mdc-form-field-type-mat-native-select.mat-focused.mat-primary[_ngcontent-%COMP%] .mat-mdc-form-field-infix[_ngcontent-%COMP%]:after{color:#0f0761de}.mat-mdc-form-field-type-mat-native-select.mat-focused.mat-accent[_ngcontent-%COMP%] .mat-mdc-form-field-infix[_ngcontent-%COMP%]:after{color:#dd7345de}.mat-mdc-form-field-type-mat-native-select.mat-focused.mat-warn[_ngcontent-%COMP%] .mat-mdc-form-field-infix[_ngcontent-%COMP%]:after{color:#f44336de}.mat-mdc-form-field-type-mat-native-select.mat-form-field-disabled[_ngcontent-%COMP%] .mat-mdc-form-field-infix[_ngcontent-%COMP%]:after{color:#00000061}.mat-mdc-form-field.mat-accent[_ngcontent-%COMP%]{--mdc-filled-text-field-caret-color: #dd7345;--mdc-filled-text-field-focus-active-indicator-color: #dd7345;--mdc-filled-text-field-focus-label-text-color: rgba(221, 115, 69, .87);--mdc-outlined-text-field-caret-color: #dd7345;--mdc-outlined-text-field-focus-outline-color: #dd7345;--mdc-outlined-text-field-focus-label-text-color: rgba(221, 115, 69, .87)}.mat-mdc-form-field.mat-warn[_ngcontent-%COMP%]{--mdc-filled-text-field-caret-color: #f44336;--mdc-filled-text-field-focus-active-indicator-color: #f44336;--mdc-filled-text-field-focus-label-text-color: rgba(244, 67, 54, .87);--mdc-outlined-text-field-caret-color: #f44336;--mdc-outlined-text-field-focus-outline-color: #f44336;--mdc-outlined-text-field-focus-label-text-color: rgba(244, 67, 54, .87)}.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field[_ngcontent-%COMP%] .mdc-notched-outline__notch[_ngcontent-%COMP%]{border-left:1px solid transparent}[dir=rtl][_ngcontent-%COMP%] .mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field[_ngcontent-%COMP%] .mdc-notched-outline__notch[_ngcontent-%COMP%]{border-left:none;border-right:1px solid transparent}.mat-mdc-form-field-infix[_ngcontent-%COMP%]{min-height:48px}.mat-mdc-text-field-wrapper[_ngcontent-%COMP%] .mat-mdc-form-field-flex[_ngcontent-%COMP%] .mat-mdc-floating-label[_ngcontent-%COMP%]{top:24px}.mat-mdc-text-field-wrapper.mdc-text-field--outlined[_ngcontent-%COMP%] .mdc-notched-outline--upgraded[_ngcontent-%COMP%] .mdc-floating-label--float-above[_ngcontent-%COMP%]{--mat-mdc-form-field-label-transform: translateY( -30.75px) scale(var(--mat-mdc-form-field-floating-label-scale, .75));transform:var(--mat-mdc-form-field-label-transform)}.mat-mdc-text-field-wrapper.mdc-text-field--outlined[_ngcontent-%COMP%] .mat-mdc-form-field-infix[_ngcontent-%COMP%]{padding-top:12px;padding-bottom:12px}.mat-mdc-text-field-wrapper[_ngcontent-%COMP%]:not(.mdc-text-field--outlined) .mat-mdc-form-field-infix[_ngcontent-%COMP%]{padding-top:12px;padding-bottom:12px}.mdc-text-field--no-label[_ngcontent-%COMP%]:not(.mdc-text-field--outlined):not(.mdc-text-field--textarea) .mat-mdc-form-field-infix[_ngcontent-%COMP%]{padding-top:12px;padding-bottom:12px}.mat-mdc-text-field-wrapper[_ngcontent-%COMP%]:not(.mdc-text-field--outlined) .mat-mdc-floating-label[_ngcontent-%COMP%]{display:none}html[_ngcontent-%COMP%]{--mdc-filled-text-field-label-text-font: Inter;--mdc-filled-text-field-label-text-size: 13px;--mdc-filled-text-field-label-text-tracking: normal;--mdc-filled-text-field-label-text-weight: 400;--mdc-outlined-text-field-label-text-font: Inter;--mdc-outlined-text-field-label-text-size: 13px;--mdc-outlined-text-field-label-text-tracking: normal;--mdc-outlined-text-field-label-text-weight: 400;--mat-form-field-container-text-font: Inter;--mat-form-field-container-text-line-height: 19px;--mat-form-field-container-text-size: 13px;--mat-form-field-container-text-tracking: normal;--mat-form-field-container-text-weight: 400;--mat-form-field-outlined-label-text-populated-size: 13px;--mat-form-field-subscript-text-font: Inter;--mat-form-field-subscript-text-line-height: 16px;--mat-form-field-subscript-text-size: 12px;--mat-form-field-subscript-text-tracking: normal;--mat-form-field-subscript-text-weight: 400}html[_ngcontent-%COMP%]{--mat-select-panel-background-color: white;--mat-select-enabled-trigger-text-color: rgba(0, 0, 0, .87);--mat-select-disabled-trigger-text-color: rgba(0, 0, 0, .38);--mat-select-placeholder-text-color: rgba(0, 0, 0, .6);--mat-select-enabled-arrow-color: rgba(0, 0, 0, .54);--mat-select-disabled-arrow-color: rgba(0, 0, 0, .38);--mat-select-focused-arrow-color: rgba(15, 7, 97, .87);--mat-select-invalid-arrow-color: rgba(244, 67, 54, .87)}html[_ngcontent-%COMP%] .mat-mdc-form-field.mat-accent[_ngcontent-%COMP%]{--mat-select-panel-background-color: white;--mat-select-enabled-trigger-text-color: rgba(0, 0, 0, .87);--mat-select-disabled-trigger-text-color: rgba(0, 0, 0, .38);--mat-select-placeholder-text-color: rgba(0, 0, 0, .6);--mat-select-enabled-arrow-color: rgba(0, 0, 0, .54);--mat-select-disabled-arrow-color: rgba(0, 0, 0, .38);--mat-select-focused-arrow-color: rgba(221, 115, 69, .87);--mat-select-invalid-arrow-color: rgba(244, 67, 54, .87)}html[_ngcontent-%COMP%] .mat-mdc-form-field.mat-warn[_ngcontent-%COMP%]{--mat-select-panel-background-color: white;--mat-select-enabled-trigger-text-color: rgba(0, 0, 0, .87);--mat-select-disabled-trigger-text-color: rgba(0, 0, 0, .38);--mat-select-placeholder-text-color: rgba(0, 0, 0, .6);--mat-select-enabled-arrow-color: rgba(0, 0, 0, .54);--mat-select-disabled-arrow-color: rgba(0, 0, 0, .38);--mat-select-focused-arrow-color: rgba(244, 67, 54, .87);--mat-select-invalid-arrow-color: rgba(244, 67, 54, .87)}.mat-form-field-appearance-fill[_ngcontent-%COMP%] .mat-mdc-select-arrow-wrapper[_ngcontent-%COMP%]{transform:none}html[_ngcontent-%COMP%]{--mat-select-trigger-text-font: Inter;--mat-select-trigger-text-line-height: 19px;--mat-select-trigger-text-size: 13px;--mat-select-trigger-text-tracking: normal;--mat-select-trigger-text-weight: 400}html[_ngcontent-%COMP%]{--mat-autocomplete-background-color: white}.mat-mdc-dialog-container[_ngcontent-%COMP%]{--mdc-dialog-container-color: white;--mdc-dialog-subhead-color: rgba(0, 0, 0, .87);--mdc-dialog-supporting-text-color: rgba(0, 0, 0, .6)}.mat-mdc-dialog-container[_ngcontent-%COMP%]{--mdc-dialog-subhead-font: Inter;--mdc-dialog-subhead-line-height: 21px;--mdc-dialog-subhead-size: 16px;--mdc-dialog-subhead-weight: 600;--mdc-dialog-subhead-tracking: normal;--mdc-dialog-supporting-text-font: Inter;--mdc-dialog-supporting-text-line-height: 19px;--mdc-dialog-supporting-text-size: 13px;--mdc-dialog-supporting-text-weight: 400;--mdc-dialog-supporting-text-tracking: normal}.mat-mdc-standard-chip[_ngcontent-%COMP%]{--mdc-chip-disabled-label-text-color: #212121;--mdc-chip-elevated-container-color: #e0e0e0;--mdc-chip-elevated-disabled-container-color: #e0e0e0;--mdc-chip-focus-state-layer-color: black;--mdc-chip-focus-state-layer-opacity: .12;--mdc-chip-label-text-color: #212121;--mdc-chip-with-icon-icon-color: #212121;--mdc-chip-with-icon-disabled-icon-color: #212121;--mdc-chip-with-icon-selected-icon-color: #212121;--mdc-chip-with-trailing-icon-disabled-trailing-icon-color: #212121;--mdc-chip-with-trailing-icon-trailing-icon-color: #212121}.mat-mdc-standard-chip.mat-mdc-chip-selected.mat-primary[_ngcontent-%COMP%], .mat-mdc-standard-chip.mat-mdc-chip-highlighted.mat-primary[_ngcontent-%COMP%]{--mdc-chip-disabled-label-text-color: white;--mdc-chip-elevated-container-color: #0f0761;--mdc-chip-elevated-disabled-container-color: #0f0761;--mdc-chip-focus-state-layer-color: black;--mdc-chip-focus-state-layer-opacity: .12;--mdc-chip-label-text-color: white;--mdc-chip-with-icon-icon-color: white;--mdc-chip-with-icon-disabled-icon-color: white;--mdc-chip-with-icon-selected-icon-color: white;--mdc-chip-with-trailing-icon-disabled-trailing-icon-color: white;--mdc-chip-with-trailing-icon-trailing-icon-color: white}.mat-mdc-standard-chip.mat-mdc-chip-selected.mat-accent[_ngcontent-%COMP%], .mat-mdc-standard-chip.mat-mdc-chip-highlighted.mat-accent[_ngcontent-%COMP%]{--mdc-chip-disabled-label-text-color: white;--mdc-chip-elevated-container-color: #dd7345;--mdc-chip-elevated-disabled-container-color: #dd7345;--mdc-chip-focus-state-layer-color: black;--mdc-chip-focus-state-layer-opacity: .12;--mdc-chip-label-text-color: white;--mdc-chip-with-icon-icon-color: white;--mdc-chip-with-icon-disabled-icon-color: white;--mdc-chip-with-icon-selected-icon-color: white;--mdc-chip-with-trailing-icon-disabled-trailing-icon-color: white;--mdc-chip-with-trailing-icon-trailing-icon-color: white}.mat-mdc-standard-chip.mat-mdc-chip-selected.mat-warn[_ngcontent-%COMP%], .mat-mdc-standard-chip.mat-mdc-chip-highlighted.mat-warn[_ngcontent-%COMP%]{--mdc-chip-disabled-label-text-color: white;--mdc-chip-elevated-container-color: #f44336;--mdc-chip-elevated-disabled-container-color: #f44336;--mdc-chip-focus-state-layer-color: black;--mdc-chip-focus-state-layer-opacity: .12;--mdc-chip-label-text-color: white;--mdc-chip-with-icon-icon-color: white;--mdc-chip-with-icon-disabled-icon-color: white;--mdc-chip-with-icon-selected-icon-color: white;--mdc-chip-with-trailing-icon-disabled-trailing-icon-color: white;--mdc-chip-with-trailing-icon-trailing-icon-color: white}.mat-mdc-chip.mat-mdc-standard-chip[_ngcontent-%COMP%]{--mdc-chip-container-height: 24px}.mat-mdc-standard-chip[_ngcontent-%COMP%]{--mdc-chip-label-text-font: Inter;--mdc-chip-label-text-line-height: 19px;--mdc-chip-label-text-size: 13px;--mdc-chip-label-text-tracking: normal;--mdc-chip-label-text-weight: 400}.mat-mdc-slide-toggle[_ngcontent-%COMP%]{--mdc-switch-selected-focus-state-layer-color: #5c5699;--mdc-switch-selected-handle-color: #5c5699;--mdc-switch-selected-hover-state-layer-color: #5c5699;--mdc-switch-selected-pressed-state-layer-color: #5c5699;--mdc-switch-selected-focus-handle-color: #0f0761;--mdc-switch-selected-hover-handle-color: #0f0761;--mdc-switch-selected-pressed-handle-color: #0f0761;--mdc-switch-selected-focus-track-color: #aaa8ca;--mdc-switch-selected-hover-track-color: #aaa8ca;--mdc-switch-selected-pressed-track-color: #aaa8ca;--mdc-switch-selected-track-color: #aaa8ca;--mdc-switch-disabled-selected-handle-color: #424242;--mdc-switch-disabled-selected-icon-color: #fff;--mdc-switch-disabled-selected-track-color: #424242;--mdc-switch-disabled-unselected-handle-color: #424242;--mdc-switch-disabled-unselected-icon-color: #fff;--mdc-switch-disabled-unselected-track-color: #424242;--mdc-switch-handle-surface-color: var(--mdc-theme-surface, #fff);--mdc-switch-handle-elevation-shadow: 0px 2px 1px -1px rgba(0, 0, 0, .2), 0px 1px 1px 0px rgba(0, 0, 0, .14), 0px 1px 3px 0px rgba(0, 0, 0, .12);--mdc-switch-handle-shadow-color: black;--mdc-switch-disabled-handle-elevation-shadow: 0px 0px 0px 0px rgba(0, 0, 0, .2), 0px 0px 0px 0px rgba(0, 0, 0, .14), 0px 0px 0px 0px rgba(0, 0, 0, .12);--mdc-switch-selected-icon-color: #fff;--mdc-switch-unselected-focus-handle-color: #212121;--mdc-switch-unselected-focus-state-layer-color: #424242;--mdc-switch-unselected-focus-track-color: #e0e0e0;--mdc-switch-unselected-handle-color: #616161;--mdc-switch-unselected-hover-handle-color: #212121;--mdc-switch-unselected-hover-state-layer-color: #424242;--mdc-switch-unselected-hover-track-color: #e0e0e0;--mdc-switch-unselected-icon-color: #fff;--mdc-switch-unselected-pressed-handle-color: #212121;--mdc-switch-unselected-pressed-state-layer-color: #424242;--mdc-switch-unselected-pressed-track-color: #e0e0e0;--mdc-switch-unselected-track-color: #e0e0e0}.mat-mdc-slide-toggle[_ngcontent-%COMP%] .mdc-form-field[_ngcontent-%COMP%]{color:var(--mdc-theme-text-primary-on-background, rgba(0, 0, 0, .87))}.mat-mdc-slide-toggle[_ngcontent-%COMP%] .mdc-switch--disabled[_ngcontent-%COMP%] + label[_ngcontent-%COMP%]{color:#00000061}.mat-mdc-slide-toggle.mat-accent[_ngcontent-%COMP%]{--mdc-switch-selected-focus-state-layer-color: #914b2d;--mdc-switch-selected-handle-color: #914b2d;--mdc-switch-selected-hover-state-layer-color: #914b2d;--mdc-switch-selected-pressed-state-layer-color: #914b2d;--mdc-switch-selected-focus-handle-color: #2b160d;--mdc-switch-selected-hover-handle-color: #2b160d;--mdc-switch-selected-pressed-handle-color: #2b160d;--mdc-switch-selected-focus-track-color: #ff8c5a;--mdc-switch-selected-hover-track-color: #ff8c5a;--mdc-switch-selected-pressed-track-color: #ff8c5a;--mdc-switch-selected-track-color: #ff8c5a}.mat-mdc-slide-toggle.mat-warn[_ngcontent-%COMP%]{--mdc-switch-selected-focus-state-layer-color: #e53935;--mdc-switch-selected-handle-color: #e53935;--mdc-switch-selected-hover-state-layer-color: #e53935;--mdc-switch-selected-pressed-state-layer-color: #e53935;--mdc-switch-selected-focus-handle-color: #b71c1c;--mdc-switch-selected-hover-handle-color: #b71c1c;--mdc-switch-selected-pressed-handle-color: #b71c1c;--mdc-switch-selected-focus-track-color: #e57373;--mdc-switch-selected-hover-track-color: #e57373;--mdc-switch-selected-pressed-track-color: #e57373;--mdc-switch-selected-track-color: #e57373}.mat-mdc-slide-toggle[_ngcontent-%COMP%]{--mdc-switch-state-layer-size: 40px}.mat-mdc-slide-toggle[_ngcontent-%COMP%]{--mat-slide-toggle-label-text-font: Inter;--mat-slide-toggle-label-text-size: 13px;--mat-slide-toggle-label-text-tracking: normal;--mat-slide-toggle-label-text-line-height: 19px;--mat-slide-toggle-label-text-weight: 400}.mat-mdc-slide-toggle[_ngcontent-%COMP%] .mdc-form-field[_ngcontent-%COMP%]{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:Roboto,sans-serif;font-family:var(--mdc-typography-body2-font-family, var(--mdc-typography-font-family, Roboto, sans-serif));font-size:.875rem;font-size:var(--mdc-typography-body2-font-size, .875rem);line-height:1.25rem;line-height:var(--mdc-typography-body2-line-height, 1.25rem);font-weight:400;font-weight:var(--mdc-typography-body2-font-weight, 400);letter-spacing:.0178571429em;letter-spacing:var(--mdc-typography-body2-letter-spacing, .0178571429em);text-decoration:inherit;-webkit-text-decoration:var(--mdc-typography-body2-text-decoration, inherit);text-decoration:var(--mdc-typography-body2-text-decoration, inherit);text-transform:inherit;text-transform:var(--mdc-typography-body2-text-transform, inherit)}.mat-mdc-radio-button[_ngcontent-%COMP%] .mdc-form-field[_ngcontent-%COMP%]{color:var(--mdc-theme-text-primary-on-background, rgba(0, 0, 0, .87))}.mat-mdc-radio-button.mat-primary[_ngcontent-%COMP%]{--mdc-radio-disabled-selected-icon-color: #000;--mdc-radio-disabled-unselected-icon-color: #000;--mdc-radio-unselected-hover-icon-color: #212121;--mdc-radio-unselected-icon-color: rgba(0, 0, 0, .54);--mdc-radio-unselected-pressed-icon-color: rgba(0, 0, 0, .54);--mdc-radio-selected-focus-icon-color: #0f0761;--mdc-radio-selected-hover-icon-color: #0f0761;--mdc-radio-selected-icon-color: #0f0761;--mdc-radio-selected-pressed-icon-color: #0f0761;--mat-radio-ripple-color: #000;--mat-radio-checked-ripple-color: #0f0761;--mat-radio-disabled-label-color: rgba(0, 0, 0, .38)}.mat-mdc-radio-button.mat-accent[_ngcontent-%COMP%]{--mdc-radio-disabled-selected-icon-color: #000;--mdc-radio-disabled-unselected-icon-color: #000;--mdc-radio-unselected-hover-icon-color: #212121;--mdc-radio-unselected-icon-color: rgba(0, 0, 0, .54);--mdc-radio-unselected-pressed-icon-color: rgba(0, 0, 0, .54);--mdc-radio-selected-focus-icon-color: #dd7345;--mdc-radio-selected-hover-icon-color: #dd7345;--mdc-radio-selected-icon-color: #dd7345;--mdc-radio-selected-pressed-icon-color: #dd7345;--mat-radio-ripple-color: #000;--mat-radio-checked-ripple-color: #dd7345;--mat-radio-disabled-label-color: rgba(0, 0, 0, .38)}.mat-mdc-radio-button.mat-warn[_ngcontent-%COMP%]{--mdc-radio-disabled-selected-icon-color: #000;--mdc-radio-disabled-unselected-icon-color: #000;--mdc-radio-unselected-hover-icon-color: #212121;--mdc-radio-unselected-icon-color: rgba(0, 0, 0, .54);--mdc-radio-unselected-pressed-icon-color: rgba(0, 0, 0, .54);--mdc-radio-selected-focus-icon-color: #f44336;--mdc-radio-selected-hover-icon-color: #f44336;--mdc-radio-selected-icon-color: #f44336;--mdc-radio-selected-pressed-icon-color: #f44336;--mat-radio-ripple-color: #000;--mat-radio-checked-ripple-color: #f44336;--mat-radio-disabled-label-color: rgba(0, 0, 0, .38)}.mat-mdc-radio-button[_ngcontent-%COMP%] .mdc-radio[_ngcontent-%COMP%]{--mdc-radio-state-layer-size: 32px}.mat-mdc-radio-touch-target[_ngcontent-%COMP%]{display:none}.mat-mdc-radio-button[_ngcontent-%COMP%] .mdc-form-field[_ngcontent-%COMP%]{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--mdc-typography-body2-font-family, var(--mdc-typography-font-family, Inter));font-size:var(--mdc-typography-body2-font-size, 13px);line-height:var(--mdc-typography-body2-line-height, 19px);font-weight:var(--mdc-typography-body2-font-weight, 400);letter-spacing:var(--mdc-typography-body2-letter-spacing, normal);-webkit-text-decoration:var(--mdc-typography-body2-text-decoration, inherit);text-decoration:var(--mdc-typography-body2-text-decoration, inherit);text-transform:var(--mdc-typography-body2-text-transform, none)}.mat-mdc-slider[_ngcontent-%COMP%]{--mdc-slider-label-container-color: black;--mdc-slider-label-label-text-color: white;--mdc-slider-disabled-handle-color: #000;--mdc-slider-disabled-active-track-color: #000;--mdc-slider-disabled-inactive-track-color: #000;--mdc-slider-with-tick-marks-disabled-container-color: #000;--mat-mdc-slider-value-indicator-opacity: .6}.mat-mdc-slider.mat-primary[_ngcontent-%COMP%]{--mdc-slider-handle-color: #0f0761;--mdc-slider-focus-handle-color: #0f0761;--mdc-slider-hover-handle-color: #0f0761;--mdc-slider-active-track-color: #0f0761;--mdc-slider-inactive-track-color: #0f0761;--mdc-slider-with-tick-marks-active-container-color: #fff;--mdc-slider-with-tick-marks-inactive-container-color: #0f0761;--mat-mdc-slider-ripple-color: #0f0761;--mat-mdc-slider-hover-ripple-color: rgba(15, 7, 97, .05);--mat-mdc-slider-focus-ripple-color: rgba(15, 7, 97, .2)}.mat-mdc-slider.mat-accent[_ngcontent-%COMP%]{--mdc-slider-handle-color: #dd7345;--mdc-slider-focus-handle-color: #dd7345;--mdc-slider-hover-handle-color: #dd7345;--mdc-slider-active-track-color: #dd7345;--mdc-slider-inactive-track-color: #dd7345;--mdc-slider-with-tick-marks-active-container-color: #fff;--mdc-slider-with-tick-marks-inactive-container-color: #dd7345;--mat-mdc-slider-ripple-color: #dd7345;--mat-mdc-slider-hover-ripple-color: rgba(221, 115, 69, .05);--mat-mdc-slider-focus-ripple-color: rgba(221, 115, 69, .2)}.mat-mdc-slider.mat-warn[_ngcontent-%COMP%]{--mdc-slider-handle-color: #f44336;--mdc-slider-focus-handle-color: #f44336;--mdc-slider-hover-handle-color: #f44336;--mdc-slider-active-track-color: #f44336;--mdc-slider-inactive-track-color: #f44336;--mdc-slider-with-tick-marks-active-container-color: #fff;--mdc-slider-with-tick-marks-inactive-container-color: #f44336;--mat-mdc-slider-ripple-color: #f44336;--mat-mdc-slider-hover-ripple-color: rgba(244, 67, 54, .05);--mat-mdc-slider-focus-ripple-color: rgba(244, 67, 54, .2)}.mat-mdc-slider[_ngcontent-%COMP%]{--mdc-slider-label-label-text-font: Inter;--mdc-slider-label-label-text-size: 13px;--mdc-slider-label-label-text-line-height: 19px;--mdc-slider-label-label-text-tracking: normal;--mdc-slider-label-label-text-weight: 500}html[_ngcontent-%COMP%]{--mat-menu-item-label-text-color: rgba(0, 0, 0, .87);--mat-menu-item-icon-color: rgba(0, 0, 0, .87);--mat-menu-item-hover-state-layer-color: rgba(0, 0, 0, .04);--mat-menu-item-focus-state-layer-color: rgba(0, 0, 0, .04);--mat-menu-container-color: white}html[_ngcontent-%COMP%]{--mat-menu-item-label-text-font: Inter;--mat-menu-item-label-text-size: 13px;--mat-menu-item-label-text-tracking: normal;--mat-menu-item-label-text-line-height: 19px;--mat-menu-item-label-text-weight: 400}.mat-mdc-list-base[_ngcontent-%COMP%]{--mdc-list-list-item-label-text-color: rgba(0, 0, 0, .87);--mdc-list-list-item-supporting-text-color: rgba(0, 0, 0, .54);--mdc-list-list-item-leading-icon-color: rgba(0, 0, 0, .38);--mdc-list-list-item-trailing-supporting-text-color: rgba(0, 0, 0, .38);--mdc-list-list-item-trailing-icon-color: rgba(0, 0, 0, .38);--mdc-list-list-item-selected-trailing-icon-color: rgba(0, 0, 0, .38);--mdc-list-list-item-disabled-label-text-color: black;--mdc-list-list-item-disabled-leading-icon-color: black;--mdc-list-list-item-disabled-trailing-icon-color: black;--mdc-list-list-item-hover-label-text-color: rgba(0, 0, 0, .87);--mdc-list-list-item-hover-leading-icon-color: rgba(0, 0, 0, .38);--mdc-list-list-item-hover-trailing-icon-color: rgba(0, 0, 0, .38);--mdc-list-list-item-focus-label-text-color: rgba(0, 0, 0, .87);--mdc-list-list-item-hover-state-layer-color: black;--mdc-list-list-item-hover-state-layer-opacity: .04;--mdc-list-list-item-focus-state-layer-color: black;--mdc-list-list-item-focus-state-layer-opacity: .12}.mdc-list-item__start[_ngcontent-%COMP%], .mdc-list-item__end[_ngcontent-%COMP%]{--mdc-radio-disabled-selected-icon-color: #000;--mdc-radio-disabled-unselected-icon-color: #000;--mdc-radio-unselected-hover-icon-color: #212121;--mdc-radio-unselected-icon-color: rgba(0, 0, 0, .54);--mdc-radio-unselected-pressed-icon-color: rgba(0, 0, 0, .54);--mdc-radio-selected-focus-icon-color: #0f0761;--mdc-radio-selected-hover-icon-color: #0f0761;--mdc-radio-selected-icon-color: #0f0761;--mdc-radio-selected-pressed-icon-color: #0f0761}.mat-accent[_ngcontent-%COMP%] .mdc-list-item__start[_ngcontent-%COMP%], .mat-accent[_ngcontent-%COMP%] .mdc-list-item__end[_ngcontent-%COMP%]{--mdc-radio-disabled-selected-icon-color: #000;--mdc-radio-disabled-unselected-icon-color: #000;--mdc-radio-unselected-hover-icon-color: #212121;--mdc-radio-unselected-icon-color: rgba(0, 0, 0, .54);--mdc-radio-unselected-pressed-icon-color: rgba(0, 0, 0, .54);--mdc-radio-selected-focus-icon-color: #dd7345;--mdc-radio-selected-hover-icon-color: #dd7345;--mdc-radio-selected-icon-color: #dd7345;--mdc-radio-selected-pressed-icon-color: #dd7345}.mat-warn[_ngcontent-%COMP%] .mdc-list-item__start[_ngcontent-%COMP%], .mat-warn[_ngcontent-%COMP%] .mdc-list-item__end[_ngcontent-%COMP%]{--mdc-radio-disabled-selected-icon-color: #000;--mdc-radio-disabled-unselected-icon-color: #000;--mdc-radio-unselected-hover-icon-color: #212121;--mdc-radio-unselected-icon-color: rgba(0, 0, 0, .54);--mdc-radio-unselected-pressed-icon-color: rgba(0, 0, 0, .54);--mdc-radio-selected-focus-icon-color: #f44336;--mdc-radio-selected-hover-icon-color: #f44336;--mdc-radio-selected-icon-color: #f44336;--mdc-radio-selected-pressed-icon-color: #f44336}.mat-mdc-list-option[_ngcontent-%COMP%]{--mdc-checkbox-disabled-selected-icon-color: rgba(0, 0, 0, .38);--mdc-checkbox-disabled-unselected-icon-color: rgba(0, 0, 0, .38);--mdc-checkbox-selected-checkmark-color: #fff;--mdc-checkbox-selected-focus-icon-color: #0f0761;--mdc-checkbox-selected-hover-icon-color: #0f0761;--mdc-checkbox-selected-icon-color: #0f0761;--mdc-checkbox-selected-pressed-icon-color: #0f0761;--mdc-checkbox-unselected-focus-icon-color: #212121;--mdc-checkbox-unselected-hover-icon-color: #212121;--mdc-checkbox-unselected-icon-color: rgba(0, 0, 0, .54);--mdc-checkbox-unselected-pressed-icon-color: rgba(0, 0, 0, .54);--mdc-checkbox-selected-focus-state-layer-color: #0f0761;--mdc-checkbox-selected-hover-state-layer-color: #0f0761;--mdc-checkbox-selected-pressed-state-layer-color: #0f0761;--mdc-checkbox-unselected-focus-state-layer-color: black;--mdc-checkbox-unselected-hover-state-layer-color: black;--mdc-checkbox-unselected-pressed-state-layer-color: black}.mat-mdc-list-option.mat-accent[_ngcontent-%COMP%]{--mdc-checkbox-disabled-selected-icon-color: rgba(0, 0, 0, .38);--mdc-checkbox-disabled-unselected-icon-color: rgba(0, 0, 0, .38);--mdc-checkbox-selected-checkmark-color: #fff;--mdc-checkbox-selected-focus-icon-color: #dd7345;--mdc-checkbox-selected-hover-icon-color: #dd7345;--mdc-checkbox-selected-icon-color: #dd7345;--mdc-checkbox-selected-pressed-icon-color: #dd7345;--mdc-checkbox-unselected-focus-icon-color: #212121;--mdc-checkbox-unselected-hover-icon-color: #212121;--mdc-checkbox-unselected-icon-color: rgba(0, 0, 0, .54);--mdc-checkbox-unselected-pressed-icon-color: rgba(0, 0, 0, .54);--mdc-checkbox-selected-focus-state-layer-color: #dd7345;--mdc-checkbox-selected-hover-state-layer-color: #dd7345;--mdc-checkbox-selected-pressed-state-layer-color: #dd7345;--mdc-checkbox-unselected-focus-state-layer-color: black;--mdc-checkbox-unselected-hover-state-layer-color: black;--mdc-checkbox-unselected-pressed-state-layer-color: black}.mat-mdc-list-option.mat-warn[_ngcontent-%COMP%]{--mdc-checkbox-disabled-selected-icon-color: rgba(0, 0, 0, .38);--mdc-checkbox-disabled-unselected-icon-color: rgba(0, 0, 0, .38);--mdc-checkbox-selected-checkmark-color: #fff;--mdc-checkbox-selected-focus-icon-color: #f44336;--mdc-checkbox-selected-hover-icon-color: #f44336;--mdc-checkbox-selected-icon-color: #f44336;--mdc-checkbox-selected-pressed-icon-color: #f44336;--mdc-checkbox-unselected-focus-icon-color: #212121;--mdc-checkbox-unselected-hover-icon-color: #212121;--mdc-checkbox-unselected-icon-color: rgba(0, 0, 0, .54);--mdc-checkbox-unselected-pressed-icon-color: rgba(0, 0, 0, .54);--mdc-checkbox-selected-focus-state-layer-color: #f44336;--mdc-checkbox-selected-hover-state-layer-color: #f44336;--mdc-checkbox-selected-pressed-state-layer-color: #f44336;--mdc-checkbox-unselected-focus-state-layer-color: black;--mdc-checkbox-unselected-hover-state-layer-color: black;--mdc-checkbox-unselected-pressed-state-layer-color: black}.mat-mdc-list-base.mat-mdc-list-base[_ngcontent-%COMP%] .mdc-list-item--selected[_ngcontent-%COMP%] .mdc-list-item__primary-text[_ngcontent-%COMP%], .mat-mdc-list-base.mat-mdc-list-base[_ngcontent-%COMP%] .mdc-list-item--activated[_ngcontent-%COMP%] .mdc-list-item__primary-text[_ngcontent-%COMP%], .mat-mdc-list-base.mat-mdc-list-base[_ngcontent-%COMP%] .mdc-list-item--selected.mdc-list-item--with-leading-icon[_ngcontent-%COMP%] .mdc-list-item__start[_ngcontent-%COMP%], .mat-mdc-list-base.mat-mdc-list-base[_ngcontent-%COMP%] .mdc-list-item--activated.mdc-list-item--with-leading-icon[_ngcontent-%COMP%] .mdc-list-item__start[_ngcontent-%COMP%]{color:#0f0761}.mat-mdc-list-base[_ngcontent-%COMP%] .mdc-list-item--disabled[_ngcontent-%COMP%] .mdc-list-item__start[_ngcontent-%COMP%], .mat-mdc-list-base[_ngcontent-%COMP%] .mdc-list-item--disabled[_ngcontent-%COMP%] .mdc-list-item__content[_ngcontent-%COMP%], .mat-mdc-list-base[_ngcontent-%COMP%] .mdc-list-item--disabled[_ngcontent-%COMP%] .mdc-list-item__end[_ngcontent-%COMP%]{opacity:1}.mat-mdc-list-base[_ngcontent-%COMP%]{--mdc-list-list-item-one-line-container-height: 40px;--mdc-list-list-item-two-line-container-height: 56px;--mdc-list-list-item-three-line-container-height: 80px}.mat-mdc-list-item.mdc-list-item--with-leading-avatar.mdc-list-item--with-one-line[_ngcontent-%COMP%], .mat-mdc-list-item.mdc-list-item--with-leading-checkbox.mdc-list-item--with-one-line[_ngcontent-%COMP%], .mat-mdc-list-item.mdc-list-item--with-leading-icon.mdc-list-item--with-one-line[_ngcontent-%COMP%]{height:48px}.mat-mdc-list-item.mdc-list-item--with-leading-avatar.mdc-list-item--with-two-lines[_ngcontent-%COMP%], .mat-mdc-list-item.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines[_ngcontent-%COMP%], .mat-mdc-list-item.mdc-list-item--with-leading-icon.mdc-list-item--with-two-lines[_ngcontent-%COMP%]{height:64px}.mat-mdc-list-base[_ngcontent-%COMP%]{--mdc-list-list-item-label-text-font: Inter;--mdc-list-list-item-label-text-line-height: 19px;--mdc-list-list-item-label-text-size: 13px;--mdc-list-list-item-label-text-tracking: normal;--mdc-list-list-item-label-text-weight: 400;--mdc-list-list-item-supporting-text-font: Inter;--mdc-list-list-item-supporting-text-line-height: 19px;--mdc-list-list-item-supporting-text-size: 13px;--mdc-list-list-item-supporting-text-tracking: normal;--mdc-list-list-item-supporting-text-weight: 400;--mdc-list-list-item-trailing-supporting-text-font: Inter;--mdc-list-list-item-trailing-supporting-text-line-height: 16px;--mdc-list-list-item-trailing-supporting-text-size: 12px;--mdc-list-list-item-trailing-supporting-text-tracking: normal;--mdc-list-list-item-trailing-supporting-text-weight: 400}.mdc-list-group__subheader[_ngcontent-%COMP%]{font-size:16px;font-weight:600;line-height:22px;font-family:Inter;letter-spacing:normal}html[_ngcontent-%COMP%]{--mat-paginator-container-text-color: rgba(0, 0, 0, .87);--mat-paginator-container-background-color: white;--mat-paginator-enabled-icon-color: rgba(0, 0, 0, .54);--mat-paginator-disabled-icon-color: rgba(0, 0, 0, .12)}html[_ngcontent-%COMP%]{--mat-paginator-container-size: 48px}.mat-mdc-paginator[_ngcontent-%COMP%] .mat-mdc-form-field-infix[_ngcontent-%COMP%]{min-height:40px}.mat-mdc-paginator[_ngcontent-%COMP%] .mat-mdc-text-field-wrapper[_ngcontent-%COMP%] .mat-mdc-form-field-flex[_ngcontent-%COMP%] .mat-mdc-floating-label[_ngcontent-%COMP%]{top:20px}.mat-mdc-paginator[_ngcontent-%COMP%] .mat-mdc-text-field-wrapper.mdc-text-field--outlined[_ngcontent-%COMP%] .mdc-notched-outline--upgraded[_ngcontent-%COMP%] .mdc-floating-label--float-above[_ngcontent-%COMP%]{--mat-mdc-form-field-label-transform: translateY( -26.75px) scale(var(--mat-mdc-form-field-floating-label-scale, .75));transform:var(--mat-mdc-form-field-label-transform)}.mat-mdc-paginator[_ngcontent-%COMP%] .mat-mdc-text-field-wrapper.mdc-text-field--outlined[_ngcontent-%COMP%] .mat-mdc-form-field-infix[_ngcontent-%COMP%]{padding-top:8px;padding-bottom:8px}.mat-mdc-paginator[_ngcontent-%COMP%] .mat-mdc-text-field-wrapper[_ngcontent-%COMP%]:not(.mdc-text-field--outlined) .mat-mdc-form-field-infix[_ngcontent-%COMP%]{padding-top:8px;padding-bottom:8px}.mat-mdc-paginator[_ngcontent-%COMP%] .mdc-text-field--no-label[_ngcontent-%COMP%]:not(.mdc-text-field--outlined):not(.mdc-text-field--textarea) .mat-mdc-form-field-infix[_ngcontent-%COMP%]{padding-top:8px;padding-bottom:8px}.mat-mdc-paginator[_ngcontent-%COMP%] .mat-mdc-text-field-wrapper[_ngcontent-%COMP%]:not(.mdc-text-field--outlined) .mat-mdc-floating-label[_ngcontent-%COMP%]{display:none}html[_ngcontent-%COMP%]{--mat-paginator-container-text-font: Inter;--mat-paginator-container-text-line-height: 16px;--mat-paginator-container-text-size: 12px;--mat-paginator-container-text-tracking: normal;--mat-paginator-container-text-weight: 400;--mat-paginator-select-trigger-text-size: 12px}.mat-mdc-tab-group[_ngcontent-%COMP%], .mat-mdc-tab-nav-bar[_ngcontent-%COMP%]{--mdc-tab-indicator-active-indicator-color: #0f0761;--mat-tab-header-disabled-ripple-color: rgba(0, 0, 0, .38);--mat-tab-header-pagination-icon-color: #000;--mat-tab-header-inactive-label-text-color: rgba(0, 0, 0, .6);--mat-tab-header-active-label-text-color: #0f0761;--mat-tab-header-active-ripple-color: #0f0761;--mat-tab-header-inactive-ripple-color: #0f0761;--mat-tab-header-inactive-focus-label-text-color: rgba(0, 0, 0, .6);--mat-tab-header-inactive-hover-label-text-color: rgba(0, 0, 0, .6);--mat-tab-header-active-focus-label-text-color: #0f0761;--mat-tab-header-active-hover-label-text-color: #0f0761;--mat-tab-header-active-focus-indicator-color: #0f0761;--mat-tab-header-active-hover-indicator-color: #0f0761}.mat-mdc-tab-group.mat-accent[_ngcontent-%COMP%], .mat-mdc-tab-nav-bar.mat-accent[_ngcontent-%COMP%]{--mdc-tab-indicator-active-indicator-color: #dd7345;--mat-tab-header-disabled-ripple-color: rgba(0, 0, 0, .38);--mat-tab-header-pagination-icon-color: #000;--mat-tab-header-inactive-label-text-color: rgba(0, 0, 0, .6);--mat-tab-header-active-label-text-color: #dd7345;--mat-tab-header-active-ripple-color: #dd7345;--mat-tab-header-inactive-ripple-color: #dd7345;--mat-tab-header-inactive-focus-label-text-color: rgba(0, 0, 0, .6);--mat-tab-header-inactive-hover-label-text-color: rgba(0, 0, 0, .6);--mat-tab-header-active-focus-label-text-color: #dd7345;--mat-tab-header-active-hover-label-text-color: #dd7345;--mat-tab-header-active-focus-indicator-color: #dd7345;--mat-tab-header-active-hover-indicator-color: #dd7345}.mat-mdc-tab-group.mat-warn[_ngcontent-%COMP%], .mat-mdc-tab-nav-bar.mat-warn[_ngcontent-%COMP%]{--mdc-tab-indicator-active-indicator-color: #f44336;--mat-tab-header-disabled-ripple-color: rgba(0, 0, 0, .38);--mat-tab-header-pagination-icon-color: #000;--mat-tab-header-inactive-label-text-color: rgba(0, 0, 0, .6);--mat-tab-header-active-label-text-color: #f44336;--mat-tab-header-active-ripple-color: #f44336;--mat-tab-header-inactive-ripple-color: #f44336;--mat-tab-header-inactive-focus-label-text-color: rgba(0, 0, 0, .6);--mat-tab-header-inactive-hover-label-text-color: rgba(0, 0, 0, .6);--mat-tab-header-active-focus-label-text-color: #f44336;--mat-tab-header-active-hover-label-text-color: #f44336;--mat-tab-header-active-focus-indicator-color: #f44336;--mat-tab-header-active-hover-indicator-color: #f44336}.mat-mdc-tab-group.mat-background-primary[_ngcontent-%COMP%], .mat-mdc-tab-nav-bar.mat-background-primary[_ngcontent-%COMP%]{--mat-tab-header-with-background-background-color: #0f0761;--mat-tab-header-with-background-foreground-color: white}.mat-mdc-tab-group.mat-background-accent[_ngcontent-%COMP%], .mat-mdc-tab-nav-bar.mat-background-accent[_ngcontent-%COMP%]{--mat-tab-header-with-background-background-color: #dd7345;--mat-tab-header-with-background-foreground-color: white}.mat-mdc-tab-group.mat-background-warn[_ngcontent-%COMP%], .mat-mdc-tab-nav-bar.mat-background-warn[_ngcontent-%COMP%]{--mat-tab-header-with-background-background-color: #f44336;--mat-tab-header-with-background-foreground-color: white}.mat-mdc-tab-header[_ngcontent-%COMP%]{--mdc-secondary-navigation-tab-container-height: 40px}.mat-mdc-tab-header[_ngcontent-%COMP%]{--mat-tab-header-label-text-font: Inter;--mat-tab-header-label-text-size: 13px;--mat-tab-header-label-text-tracking: normal;--mat-tab-header-label-text-line-height: 19px;--mat-tab-header-label-text-weight: 500}html[_ngcontent-%COMP%]{--mdc-checkbox-disabled-selected-icon-color: rgba(0, 0, 0, .38);--mdc-checkbox-disabled-unselected-icon-color: rgba(0, 0, 0, .38);--mdc-checkbox-selected-checkmark-color: #fff;--mdc-checkbox-selected-focus-icon-color: #dd7345;--mdc-checkbox-selected-hover-icon-color: #dd7345;--mdc-checkbox-selected-icon-color: #dd7345;--mdc-checkbox-selected-pressed-icon-color: #dd7345;--mdc-checkbox-unselected-focus-icon-color: #212121;--mdc-checkbox-unselected-hover-icon-color: #212121;--mdc-checkbox-unselected-icon-color: rgba(0, 0, 0, .54);--mdc-checkbox-unselected-pressed-icon-color: rgba(0, 0, 0, .54);--mdc-checkbox-selected-focus-state-layer-color: #dd7345;--mdc-checkbox-selected-hover-state-layer-color: #dd7345;--mdc-checkbox-selected-pressed-state-layer-color: #dd7345;--mdc-checkbox-unselected-focus-state-layer-color: black;--mdc-checkbox-unselected-hover-state-layer-color: black;--mdc-checkbox-unselected-pressed-state-layer-color: black}.mat-mdc-checkbox.mat-primary[_ngcontent-%COMP%]{--mdc-checkbox-disabled-selected-icon-color: rgba(0, 0, 0, .38);--mdc-checkbox-disabled-unselected-icon-color: rgba(0, 0, 0, .38);--mdc-checkbox-selected-checkmark-color: #fff;--mdc-checkbox-selected-focus-icon-color: #0f0761;--mdc-checkbox-selected-hover-icon-color: #0f0761;--mdc-checkbox-selected-icon-color: #0f0761;--mdc-checkbox-selected-pressed-icon-color: #0f0761;--mdc-checkbox-unselected-focus-icon-color: #212121;--mdc-checkbox-unselected-hover-icon-color: #212121;--mdc-checkbox-unselected-icon-color: rgba(0, 0, 0, .54);--mdc-checkbox-unselected-pressed-icon-color: rgba(0, 0, 0, .54);--mdc-checkbox-selected-focus-state-layer-color: #0f0761;--mdc-checkbox-selected-hover-state-layer-color: #0f0761;--mdc-checkbox-selected-pressed-state-layer-color: #0f0761;--mdc-checkbox-unselected-focus-state-layer-color: black;--mdc-checkbox-unselected-hover-state-layer-color: black;--mdc-checkbox-unselected-pressed-state-layer-color: black}.mat-mdc-checkbox.mat-warn[_ngcontent-%COMP%]{--mdc-checkbox-disabled-selected-icon-color: rgba(0, 0, 0, .38);--mdc-checkbox-disabled-unselected-icon-color: rgba(0, 0, 0, .38);--mdc-checkbox-selected-checkmark-color: #fff;--mdc-checkbox-selected-focus-icon-color: #f44336;--mdc-checkbox-selected-hover-icon-color: #f44336;--mdc-checkbox-selected-icon-color: #f44336;--mdc-checkbox-selected-pressed-icon-color: #f44336;--mdc-checkbox-unselected-focus-icon-color: #212121;--mdc-checkbox-unselected-hover-icon-color: #212121;--mdc-checkbox-unselected-icon-color: rgba(0, 0, 0, .54);--mdc-checkbox-unselected-pressed-icon-color: rgba(0, 0, 0, .54);--mdc-checkbox-selected-focus-state-layer-color: #f44336;--mdc-checkbox-selected-hover-state-layer-color: #f44336;--mdc-checkbox-selected-pressed-state-layer-color: #f44336;--mdc-checkbox-unselected-focus-state-layer-color: black;--mdc-checkbox-unselected-hover-state-layer-color: black;--mdc-checkbox-unselected-pressed-state-layer-color: black}.mat-mdc-checkbox[_ngcontent-%COMP%] .mdc-form-field[_ngcontent-%COMP%]{color:var(--mdc-theme-text-primary-on-background, rgba(0, 0, 0, .87))}.mat-mdc-checkbox.mat-mdc-checkbox-disabled[_ngcontent-%COMP%] label[_ngcontent-%COMP%]{color:#00000061}html[_ngcontent-%COMP%]{--mdc-checkbox-state-layer-size: 32px}.mat-mdc-checkbox-touch-target[_ngcontent-%COMP%]{display:none}.mat-mdc-checkbox[_ngcontent-%COMP%] .mdc-form-field[_ngcontent-%COMP%]{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--mdc-typography-body2-font-family, var(--mdc-typography-font-family, Inter));font-size:var(--mdc-typography-body2-font-size, 13px);line-height:var(--mdc-typography-body2-line-height, 19px);font-weight:var(--mdc-typography-body2-font-weight, 400);letter-spacing:var(--mdc-typography-body2-letter-spacing, normal);-webkit-text-decoration:var(--mdc-typography-body2-text-decoration, inherit);text-decoration:var(--mdc-typography-body2-text-decoration, inherit);text-transform:var(--mdc-typography-body2-text-transform, none)}.mat-mdc-button.mat-unthemed[_ngcontent-%COMP%]{--mdc-text-button-label-text-color: #000}.mat-mdc-button.mat-primary[_ngcontent-%COMP%]{--mdc-text-button-label-text-color: #0f0761}.mat-mdc-button.mat-accent[_ngcontent-%COMP%]{--mdc-text-button-label-text-color: #dd7345}.mat-mdc-button.mat-warn[_ngcontent-%COMP%]{--mdc-text-button-label-text-color: #f44336}.mat-mdc-button[disabled][disabled][_ngcontent-%COMP%]{--mdc-text-button-disabled-label-text-color: rgba(0, 0, 0, .38);--mdc-text-button-label-text-color: rgba(0, 0, 0, .38)}.mat-mdc-unelevated-button.mat-unthemed[_ngcontent-%COMP%]{--mdc-filled-button-container-color: #fff;--mdc-filled-button-label-text-color: #000}.mat-mdc-unelevated-button.mat-primary[_ngcontent-%COMP%]{--mdc-filled-button-container-color: #0f0761;--mdc-filled-button-label-text-color: #fff}.mat-mdc-unelevated-button.mat-accent[_ngcontent-%COMP%]{--mdc-filled-button-container-color: #dd7345;--mdc-filled-button-label-text-color: #fff}.mat-mdc-unelevated-button.mat-warn[_ngcontent-%COMP%]{--mdc-filled-button-container-color: #f44336;--mdc-filled-button-label-text-color: #fff}.mat-mdc-unelevated-button[disabled][disabled][_ngcontent-%COMP%]{--mdc-filled-button-disabled-container-color: rgba(0, 0, 0, .12);--mdc-filled-button-disabled-label-text-color: rgba(0, 0, 0, .38);--mdc-filled-button-container-color: rgba(0, 0, 0, .12);--mdc-filled-button-label-text-color: rgba(0, 0, 0, .38)}.mat-mdc-raised-button.mat-unthemed[_ngcontent-%COMP%]{--mdc-protected-button-container-color: #fff;--mdc-protected-button-label-text-color: #000}.mat-mdc-raised-button.mat-primary[_ngcontent-%COMP%]{--mdc-protected-button-container-color: #0f0761;--mdc-protected-button-label-text-color: #fff}.mat-mdc-raised-button.mat-accent[_ngcontent-%COMP%]{--mdc-protected-button-container-color: #dd7345;--mdc-protected-button-label-text-color: #fff}.mat-mdc-raised-button.mat-warn[_ngcontent-%COMP%]{--mdc-protected-button-container-color: #f44336;--mdc-protected-button-label-text-color: #fff}.mat-mdc-raised-button[disabled][disabled][_ngcontent-%COMP%]{--mdc-protected-button-disabled-container-color: rgba(0, 0, 0, .12);--mdc-protected-button-disabled-label-text-color: rgba(0, 0, 0, .38);--mdc-protected-button-container-color: rgba(0, 0, 0, .12);--mdc-protected-button-label-text-color: rgba(0, 0, 0, .38);--mdc-protected-button-container-elevation: 0}.mat-mdc-outlined-button[_ngcontent-%COMP%]{--mdc-outlined-button-outline-color: rgba(0, 0, 0, .12)}.mat-mdc-outlined-button.mat-unthemed[_ngcontent-%COMP%]{--mdc-outlined-button-label-text-color: #000}.mat-mdc-outlined-button.mat-primary[_ngcontent-%COMP%]{--mdc-outlined-button-label-text-color: #0f0761}.mat-mdc-outlined-button.mat-accent[_ngcontent-%COMP%]{--mdc-outlined-button-label-text-color: #dd7345}.mat-mdc-outlined-button.mat-warn[_ngcontent-%COMP%]{--mdc-outlined-button-label-text-color: #f44336}.mat-mdc-outlined-button[disabled][disabled][_ngcontent-%COMP%]{--mdc-outlined-button-label-text-color: rgba(0, 0, 0, .38);--mdc-outlined-button-disabled-label-text-color: rgba(0, 0, 0, .38);--mdc-outlined-button-outline-color: rgba(0, 0, 0, .12);--mdc-outlined-button-disabled-outline-color: rgba(0, 0, 0, .12)}.mat-mdc-button[_ngcontent-%COMP%], .mat-mdc-outlined-button[_ngcontent-%COMP%]{--mat-mdc-button-persistent-ripple-color: #000;--mat-mdc-button-ripple-color: rgba(0, 0, 0, .1)}.mat-mdc-button[_ngcontent-%COMP%]:hover .mat-mdc-button-persistent-ripple[_ngcontent-%COMP%]:before, .mat-mdc-outlined-button[_ngcontent-%COMP%]:hover .mat-mdc-button-persistent-ripple[_ngcontent-%COMP%]:before{opacity:.04}.mat-mdc-button.cdk-program-focused[_ngcontent-%COMP%] .mat-mdc-button-persistent-ripple[_ngcontent-%COMP%]:before, .mat-mdc-button.cdk-keyboard-focused[_ngcontent-%COMP%] .mat-mdc-button-persistent-ripple[_ngcontent-%COMP%]:before, .mat-mdc-outlined-button.cdk-program-focused[_ngcontent-%COMP%] .mat-mdc-button-persistent-ripple[_ngcontent-%COMP%]:before, .mat-mdc-outlined-button.cdk-keyboard-focused[_ngcontent-%COMP%] .mat-mdc-button-persistent-ripple[_ngcontent-%COMP%]:before{opacity:.12}.mat-mdc-button[_ngcontent-%COMP%]:active .mat-mdc-button-persistent-ripple[_ngcontent-%COMP%]:before, .mat-mdc-outlined-button[_ngcontent-%COMP%]:active .mat-mdc-button-persistent-ripple[_ngcontent-%COMP%]:before{opacity:.12}.mat-mdc-button.mat-primary[_ngcontent-%COMP%], .mat-mdc-outlined-button.mat-primary[_ngcontent-%COMP%]{--mat-mdc-button-persistent-ripple-color: #0f0761;--mat-mdc-button-ripple-color: rgba(15, 7, 97, .1)}.mat-mdc-button.mat-accent[_ngcontent-%COMP%], .mat-mdc-outlined-button.mat-accent[_ngcontent-%COMP%]{--mat-mdc-button-persistent-ripple-color: #dd7345;--mat-mdc-button-ripple-color: rgba(221, 115, 69, .1)}.mat-mdc-button.mat-warn[_ngcontent-%COMP%], .mat-mdc-outlined-button.mat-warn[_ngcontent-%COMP%]{--mat-mdc-button-persistent-ripple-color: #f44336;--mat-mdc-button-ripple-color: rgba(244, 67, 54, .1)}.mat-mdc-raised-button[_ngcontent-%COMP%], .mat-mdc-unelevated-button[_ngcontent-%COMP%]{--mat-mdc-button-persistent-ripple-color: #000;--mat-mdc-button-ripple-color: rgba(0, 0, 0, .1)}.mat-mdc-raised-button[_ngcontent-%COMP%]:hover .mat-mdc-button-persistent-ripple[_ngcontent-%COMP%]:before, .mat-mdc-unelevated-button[_ngcontent-%COMP%]:hover .mat-mdc-button-persistent-ripple[_ngcontent-%COMP%]:before{opacity:.04}.mat-mdc-raised-button.cdk-program-focused[_ngcontent-%COMP%] .mat-mdc-button-persistent-ripple[_ngcontent-%COMP%]:before, .mat-mdc-raised-button.cdk-keyboard-focused[_ngcontent-%COMP%] .mat-mdc-button-persistent-ripple[_ngcontent-%COMP%]:before, .mat-mdc-unelevated-button.cdk-program-focused[_ngcontent-%COMP%] .mat-mdc-button-persistent-ripple[_ngcontent-%COMP%]:before, .mat-mdc-unelevated-button.cdk-keyboard-focused[_ngcontent-%COMP%] .mat-mdc-button-persistent-ripple[_ngcontent-%COMP%]:before{opacity:.12}.mat-mdc-raised-button[_ngcontent-%COMP%]:active .mat-mdc-button-persistent-ripple[_ngcontent-%COMP%]:before, .mat-mdc-unelevated-button[_ngcontent-%COMP%]:active .mat-mdc-button-persistent-ripple[_ngcontent-%COMP%]:before{opacity:.12}.mat-mdc-raised-button.mat-primary[_ngcontent-%COMP%], .mat-mdc-unelevated-button.mat-primary[_ngcontent-%COMP%], .mat-mdc-raised-button.mat-accent[_ngcontent-%COMP%], .mat-mdc-unelevated-button.mat-accent[_ngcontent-%COMP%], .mat-mdc-raised-button.mat-warn[_ngcontent-%COMP%], .mat-mdc-unelevated-button.mat-warn[_ngcontent-%COMP%]{--mat-mdc-button-persistent-ripple-color: #fff;--mat-mdc-button-ripple-color: rgba(255, 255, 255, .1)}.mat-mdc-button.mat-mdc-button-base[_ngcontent-%COMP%], .mat-mdc-raised-button.mat-mdc-button-base[_ngcontent-%COMP%], .mat-mdc-unelevated-button.mat-mdc-button-base[_ngcontent-%COMP%], .mat-mdc-outlined-button.mat-mdc-button-base[_ngcontent-%COMP%]{height:28px;margin-top:0;margin-bottom:0}.mat-mdc-button.mat-mdc-button-base[_ngcontent-%COMP%] .mdc-button__touch[_ngcontent-%COMP%], .mat-mdc-raised-button.mat-mdc-button-base[_ngcontent-%COMP%] .mdc-button__touch[_ngcontent-%COMP%], .mat-mdc-unelevated-button.mat-mdc-button-base[_ngcontent-%COMP%] .mdc-button__touch[_ngcontent-%COMP%], .mat-mdc-outlined-button.mat-mdc-button-base[_ngcontent-%COMP%] .mdc-button__touch[_ngcontent-%COMP%]{height:100%}.mat-mdc-button.mat-mdc-button-base[_ngcontent-%COMP%] .mat-mdc-button-touch-target[_ngcontent-%COMP%], .mat-mdc-raised-button.mat-mdc-button-base[_ngcontent-%COMP%] .mat-mdc-button-touch-target[_ngcontent-%COMP%], .mat-mdc-unelevated-button.mat-mdc-button-base[_ngcontent-%COMP%] .mat-mdc-button-touch-target[_ngcontent-%COMP%], .mat-mdc-outlined-button.mat-mdc-button-base[_ngcontent-%COMP%] .mat-mdc-button-touch-target[_ngcontent-%COMP%]{display:none}.mdc-button[_ngcontent-%COMP%]{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--mdc-typography-button-font-family, var(--mdc-typography-font-family, Inter));font-size:var(--mdc-typography-button-font-size, 13px);line-height:var(--mdc-typography-button-line-height, 19px);font-weight:var(--mdc-typography-button-font-weight, 500);letter-spacing:var(--mdc-typography-button-letter-spacing, normal);-webkit-text-decoration:var(--mdc-typography-button-text-decoration, none);text-decoration:var(--mdc-typography-button-text-decoration, none);text-transform:var(--mdc-typography-button-text-transform, none)}.mat-mdc-icon-button[_ngcontent-%COMP%]{--mdc-icon-button-icon-color: inherit;--mat-mdc-button-persistent-ripple-color: #000;--mat-mdc-button-ripple-color: rgba(0, 0, 0, .1)}.mat-mdc-icon-button[_ngcontent-%COMP%]:hover .mat-mdc-button-persistent-ripple[_ngcontent-%COMP%]:before{opacity:.04}.mat-mdc-icon-button.cdk-program-focused[_ngcontent-%COMP%] .mat-mdc-button-persistent-ripple[_ngcontent-%COMP%]:before, .mat-mdc-icon-button.cdk-keyboard-focused[_ngcontent-%COMP%] .mat-mdc-button-persistent-ripple[_ngcontent-%COMP%]:before{opacity:.12}.mat-mdc-icon-button[_ngcontent-%COMP%]:active .mat-mdc-button-persistent-ripple[_ngcontent-%COMP%]:before{opacity:.12}.mat-mdc-icon-button.mat-primary[_ngcontent-%COMP%]{--mat-mdc-button-persistent-ripple-color: #6200ee;--mat-mdc-button-ripple-color: rgba(98, 0, 238, .1)}.mat-mdc-icon-button.mat-accent[_ngcontent-%COMP%]{--mat-mdc-button-persistent-ripple-color: #018786;--mat-mdc-button-ripple-color: rgba(1, 135, 134, .1)}.mat-mdc-icon-button.mat-warn[_ngcontent-%COMP%]{--mat-mdc-button-persistent-ripple-color: #b00020;--mat-mdc-button-ripple-color: rgba(176, 0, 32, .1)}.mat-mdc-icon-button.mat-primary[_ngcontent-%COMP%]{--mdc-icon-button-icon-color: #0f0761;--mat-mdc-button-persistent-ripple-color: #0f0761;--mat-mdc-button-ripple-color: rgba(15, 7, 97, .1)}.mat-mdc-icon-button.mat-accent[_ngcontent-%COMP%]{--mdc-icon-button-icon-color: #dd7345;--mat-mdc-button-persistent-ripple-color: #dd7345;--mat-mdc-button-ripple-color: rgba(221, 115, 69, .1)}.mat-mdc-icon-button.mat-warn[_ngcontent-%COMP%]{--mdc-icon-button-icon-color: #f44336;--mat-mdc-button-persistent-ripple-color: #f44336;--mat-mdc-button-ripple-color: rgba(244, 67, 54, .1)}.mat-mdc-icon-button[disabled][disabled][_ngcontent-%COMP%]{--mdc-icon-button-icon-color: rgba(0, 0, 0, .38);--mdc-icon-button-disabled-icon-color: rgba(0, 0, 0, .38)}.mat-mdc-icon-button.mat-mdc-button-base[_ngcontent-%COMP%]{--mdc-icon-button-state-layer-size: 40px;width:var(--mdc-icon-button-state-layer-size);height:var(--mdc-icon-button-state-layer-size);padding:8px}.mat-mdc-icon-button.mat-mdc-button-base[_ngcontent-%COMP%] .mat-mdc-button-touch-target[_ngcontent-%COMP%]{display:none}.mat-mdc-fab[_ngcontent-%COMP%], .mat-mdc-mini-fab[_ngcontent-%COMP%]{--mat-mdc-button-persistent-ripple-color: #000;--mat-mdc-button-ripple-color: rgba(0, 0, 0, .1)}.mat-mdc-fab[_ngcontent-%COMP%]:hover .mat-mdc-button-persistent-ripple[_ngcontent-%COMP%]:before, .mat-mdc-mini-fab[_ngcontent-%COMP%]:hover .mat-mdc-button-persistent-ripple[_ngcontent-%COMP%]:before{opacity:.04}.mat-mdc-fab.cdk-program-focused[_ngcontent-%COMP%] .mat-mdc-button-persistent-ripple[_ngcontent-%COMP%]:before, .mat-mdc-fab.cdk-keyboard-focused[_ngcontent-%COMP%] .mat-mdc-button-persistent-ripple[_ngcontent-%COMP%]:before, .mat-mdc-mini-fab.cdk-program-focused[_ngcontent-%COMP%] .mat-mdc-button-persistent-ripple[_ngcontent-%COMP%]:before, .mat-mdc-mini-fab.cdk-keyboard-focused[_ngcontent-%COMP%] .mat-mdc-button-persistent-ripple[_ngcontent-%COMP%]:before{opacity:.12}.mat-mdc-fab[_ngcontent-%COMP%]:active .mat-mdc-button-persistent-ripple[_ngcontent-%COMP%]:before, .mat-mdc-mini-fab[_ngcontent-%COMP%]:active .mat-mdc-button-persistent-ripple[_ngcontent-%COMP%]:before{opacity:.12}.mat-mdc-fab.mat-primary[_ngcontent-%COMP%], .mat-mdc-mini-fab.mat-primary[_ngcontent-%COMP%], .mat-mdc-fab.mat-accent[_ngcontent-%COMP%], .mat-mdc-mini-fab.mat-accent[_ngcontent-%COMP%], .mat-mdc-fab.mat-warn[_ngcontent-%COMP%], .mat-mdc-mini-fab.mat-warn[_ngcontent-%COMP%]{--mat-mdc-button-persistent-ripple-color: #fff;--mat-mdc-button-ripple-color: rgba(255, 255, 255, .1)}.mat-mdc-fab[disabled][disabled][_ngcontent-%COMP%], .mat-mdc-mini-fab[disabled][disabled][_ngcontent-%COMP%]{--mdc-fab-container-color: rgba(0, 0, 0, .12);--mdc-fab-icon-color: rgba(0, 0, 0, .38);--mat-mdc-fab-color: rgba(0, 0, 0, .38)}.mat-mdc-fab.mat-unthemed[_ngcontent-%COMP%], .mat-mdc-mini-fab.mat-unthemed[_ngcontent-%COMP%]{--mdc-fab-container-color: white;--mdc-fab-icon-color: black;--mat-mdc-fab-color: #000}.mat-mdc-fab.mat-primary[_ngcontent-%COMP%], .mat-mdc-mini-fab.mat-primary[_ngcontent-%COMP%]{--mdc-fab-container-color: #0f0761;--mdc-fab-icon-color: white;--mat-mdc-fab-color: #fff}.mat-mdc-fab.mat-accent[_ngcontent-%COMP%], .mat-mdc-mini-fab.mat-accent[_ngcontent-%COMP%]{--mdc-fab-container-color: #dd7345;--mdc-fab-icon-color: white;--mat-mdc-fab-color: #fff}.mat-mdc-fab.mat-warn[_ngcontent-%COMP%], .mat-mdc-mini-fab.mat-warn[_ngcontent-%COMP%]{--mdc-fab-container-color: #f44336;--mdc-fab-icon-color: white;--mat-mdc-fab-color: #fff}.mdc-fab--extended[_ngcontent-%COMP%]{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--mdc-typography-button-font-family, var(--mdc-typography-font-family, Inter));font-size:var(--mdc-typography-button-font-size, 13px);line-height:var(--mdc-typography-button-line-height, 19px);font-weight:var(--mdc-typography-button-font-weight, 500);letter-spacing:var(--mdc-typography-button-letter-spacing, normal);-webkit-text-decoration:var(--mdc-typography-button-text-decoration, none);text-decoration:var(--mdc-typography-button-text-decoration, none);text-transform:var(--mdc-typography-button-text-transform, none)}.mat-mdc-extended-fab[_ngcontent-%COMP%]{--mdc-extended-fab-label-text-font: Inter;--mdc-extended-fab-label-text-size: 13px;--mdc-extended-fab-label-text-tracking: normal;--mdc-extended-fab-label-text-weight: 500}.mat-mdc-snack-bar-container[_ngcontent-%COMP%]{--mdc-snackbar-container-color: #333333;--mdc-snackbar-supporting-text-color: rgba(255, 255, 255, .87);--mat-snack-bar-button-color: #dd7345}.mat-mdc-snack-bar-container[_ngcontent-%COMP%]{--mdc-snackbar-supporting-text-font: Inter;--mdc-snackbar-supporting-text-line-height: 19px;--mdc-snackbar-supporting-text-size: 13px;--mdc-snackbar-supporting-text-weight: 400}html[_ngcontent-%COMP%]{--mat-table-background-color: white;--mat-table-header-headline-color: rgba(0, 0, 0, .87);--mat-table-row-item-label-text-color: rgba(0, 0, 0, .87);--mat-table-row-item-outline-color: rgba(0, 0, 0, .12)}html[_ngcontent-%COMP%]{--mat-table-header-container-height: 48px;--mat-table-footer-container-height: 44px;--mat-table-row-item-container-height: 44px}html[_ngcontent-%COMP%]{--mat-table-header-headline-font: Inter;--mat-table-header-headline-line-height: 19px;--mat-table-header-headline-size: 13px;--mat-table-header-headline-weight: 500;--mat-table-header-headline-tracking: normal;--mat-table-row-item-label-text-font: Inter;--mat-table-row-item-label-text-line-height: 19px;--mat-table-row-item-label-text-size: 13px;--mat-table-row-item-label-text-weight: 400;--mat-table-row-item-label-text-tracking: normal;--mat-table-footer-supporting-text-font: Inter;--mat-table-footer-supporting-text-line-height: 19px;--mat-table-footer-supporting-text-size: 13px;--mat-table-footer-supporting-text-weight: 400;--mat-table-footer-supporting-text-tracking: normal}.mat-mdc-progress-spinner[_ngcontent-%COMP%]{--mdc-circular-progress-active-indicator-color: #0f0761}.mat-mdc-progress-spinner.mat-accent[_ngcontent-%COMP%]{--mdc-circular-progress-active-indicator-color: #dd7345}.mat-mdc-progress-spinner.mat-warn[_ngcontent-%COMP%]{--mdc-circular-progress-active-indicator-color: #f44336}.mat-badge[_ngcontent-%COMP%]{position:relative}.mat-badge.mat-badge[_ngcontent-%COMP%]{overflow:visible}.mat-badge-content[_ngcontent-%COMP%]{position:absolute;text-align:center;display:inline-block;border-radius:50%;transition:transform .2s ease-in-out;transform:scale(.6);overflow:hidden;white-space:nowrap;text-overflow:ellipsis;pointer-events:none;background-color:var(--mat-badge-background-color);color:var(--mat-badge-text-color);font-family:Roboto,sans-serif;font-family:var(--mat-badge-text-font, Roboto, sans-serif);font-size:12px;font-size:var(--mat-badge-text-size, 12px);font-weight:600;font-weight:var(--mat-badge-text-weight, 600)}.cdk-high-contrast-active[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{outline:solid 1px;border-radius:0}.mat-badge-disabled[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{background-color:var(--mat-badge-disabled-state-background-color);color:var(--mat-badge-disabled-state-text-color)}.mat-badge-hidden[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{display:none}.ng-animate-disabled[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%], .mat-badge-content._mat-animation-noopable[_ngcontent-%COMP%]{transition:none}.mat-badge-content.mat-badge-active[_ngcontent-%COMP%]{transform:none}.mat-badge-small[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{width:16px;height:16px;line-height:16px;font-size:9px;font-size:var(--mat-badge-small-size-text-size, 9px)}.mat-badge-small.mat-badge-above[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{top:-8px}.mat-badge-small.mat-badge-below[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{bottom:-8px}.mat-badge-small.mat-badge-before[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{left:-16px}[dir=rtl][_ngcontent-%COMP%] .mat-badge-small.mat-badge-before[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{left:auto;right:-16px}.mat-badge-small.mat-badge-after[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{right:-16px}[dir=rtl][_ngcontent-%COMP%] .mat-badge-small.mat-badge-after[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{right:auto;left:-16px}.mat-badge-small.mat-badge-overlap.mat-badge-before[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{left:-8px}[dir=rtl][_ngcontent-%COMP%] .mat-badge-small.mat-badge-overlap.mat-badge-before[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{left:auto;right:-8px}.mat-badge-small.mat-badge-overlap.mat-badge-after[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{right:-8px}[dir=rtl][_ngcontent-%COMP%] .mat-badge-small.mat-badge-overlap.mat-badge-after[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{right:auto;left:-8px}.mat-badge-medium[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{width:22px;height:22px;line-height:22px}.mat-badge-medium.mat-badge-above[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{top:-11px}.mat-badge-medium.mat-badge-below[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{bottom:-11px}.mat-badge-medium.mat-badge-before[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{left:-22px}[dir=rtl][_ngcontent-%COMP%] .mat-badge-medium.mat-badge-before[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{left:auto;right:-22px}.mat-badge-medium.mat-badge-after[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{right:-22px}[dir=rtl][_ngcontent-%COMP%] .mat-badge-medium.mat-badge-after[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{right:auto;left:-22px}.mat-badge-medium.mat-badge-overlap.mat-badge-before[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{left:-11px}[dir=rtl][_ngcontent-%COMP%] .mat-badge-medium.mat-badge-overlap.mat-badge-before[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{left:auto;right:-11px}.mat-badge-medium.mat-badge-overlap.mat-badge-after[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{right:-11px}[dir=rtl][_ngcontent-%COMP%] .mat-badge-medium.mat-badge-overlap.mat-badge-after[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{right:auto;left:-11px}.mat-badge-large[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{width:28px;height:28px;line-height:28px;font-size:24px;font-size:var(--mat-badge-large-size-text-size, 24px)}.mat-badge-large.mat-badge-above[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{top:-14px}.mat-badge-large.mat-badge-below[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{bottom:-14px}.mat-badge-large.mat-badge-before[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{left:-28px}[dir=rtl][_ngcontent-%COMP%] .mat-badge-large.mat-badge-before[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{left:auto;right:-28px}.mat-badge-large.mat-badge-after[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{right:-28px}[dir=rtl][_ngcontent-%COMP%] .mat-badge-large.mat-badge-after[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{right:auto;left:-28px}.mat-badge-large.mat-badge-overlap.mat-badge-before[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{left:-14px}[dir=rtl][_ngcontent-%COMP%] .mat-badge-large.mat-badge-overlap.mat-badge-before[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{left:auto;right:-14px}.mat-badge-large.mat-badge-overlap.mat-badge-after[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{right:-14px}[dir=rtl][_ngcontent-%COMP%] .mat-badge-large.mat-badge-overlap.mat-badge-after[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{right:auto;left:-14px}html[_ngcontent-%COMP%]{--mat-badge-background-color: #0f0761;--mat-badge-text-color: white;--mat-badge-disabled-state-background-color: #b9b9b9;--mat-badge-disabled-state-text-color: rgba(0, 0, 0, .38)}.mat-badge-accent[_ngcontent-%COMP%]{--mat-badge-background-color: #dd7345;--mat-badge-text-color: white}.mat-badge-warn[_ngcontent-%COMP%]{--mat-badge-background-color: #f44336;--mat-badge-text-color: white}html[_ngcontent-%COMP%]{--mat-badge-text-font: Inter;--mat-badge-text-size: 12px;--mat-badge-text-weight: 600;--mat-badge-small-size-text-size: 9px;--mat-badge-large-size-text-size: 24px}html[_ngcontent-%COMP%]{--mat-bottom-sheet-container-text-color: rgba(0, 0, 0, .87);--mat-bottom-sheet-container-background-color: white}html[_ngcontent-%COMP%]{--mat-bottom-sheet-container-text-font: Inter;--mat-bottom-sheet-container-text-line-height: 19px;--mat-bottom-sheet-container-text-size: 13px;--mat-bottom-sheet-container-text-tracking: normal;--mat-bottom-sheet-container-text-weight: 400}html[_ngcontent-%COMP%]{--mat-legacy-button-toggle-text-color: rgba(0, 0, 0, .38);--mat-legacy-button-toggle-state-layer-color: rgba(0, 0, 0, .12);--mat-legacy-button-toggle-selected-state-text-color: rgba(0, 0, 0, .54);--mat-legacy-button-toggle-selected-state-background-color: #e0e0e0;--mat-legacy-button-toggle-disabled-state-text-color: rgba(0, 0, 0, .26);--mat-legacy-button-toggle-disabled-state-background-color: #eeeeee;--mat-legacy-button-toggle-disabled-selected-state-background-color: #bdbdbd;--mat-standard-button-toggle-text-color: rgba(0, 0, 0, .87);--mat-standard-button-toggle-background-color: white;--mat-standard-button-toggle-state-layer-color: black;--mat-standard-button-toggle-selected-state-background-color: #e0e0e0;--mat-standard-button-toggle-selected-state-text-color: rgba(0, 0, 0, .87);--mat-standard-button-toggle-disabled-state-text-color: rgba(0, 0, 0, .26);--mat-standard-button-toggle-disabled-state-background-color: white;--mat-standard-button-toggle-disabled-selected-state-text-color: rgba(0, 0, 0, .87);--mat-standard-button-toggle-disabled-selected-state-background-color: #bdbdbd;--mat-standard-button-toggle-divider-color: #e0e0e0}html[_ngcontent-%COMP%]{--mat-standard-button-toggle-height: 40px}html[_ngcontent-%COMP%]{--mat-legacy-button-toggle-text-font: Inter;--mat-standard-button-toggle-text-font: Inter}html[_ngcontent-%COMP%]{--mat-datepicker-calendar-date-selected-state-text-color: white;--mat-datepicker-calendar-date-selected-state-background-color: #0f0761;--mat-datepicker-calendar-date-selected-disabled-state-background-color: rgba(15, 7, 97, .4);--mat-datepicker-calendar-date-today-selected-state-outline-color: white;--mat-datepicker-calendar-date-focus-state-background-color: rgba(15, 7, 97, .3);--mat-datepicker-calendar-date-hover-state-background-color: rgba(15, 7, 97, .3);--mat-datepicker-toggle-active-state-icon-color: #0f0761;--mat-datepicker-calendar-date-in-range-state-background-color: rgba(15, 7, 97, .2);--mat-datepicker-calendar-date-in-comparison-range-state-background-color: rgba(249, 171, 0, .2);--mat-datepicker-calendar-date-in-overlap-range-state-background-color: #a8dab5;--mat-datepicker-calendar-date-in-overlap-range-selected-state-background-color: #46a35e;--mat-datepicker-toggle-icon-color: rgba(0, 0, 0, .54);--mat-datepicker-calendar-body-label-text-color: rgba(0, 0, 0, .54);--mat-datepicker-calendar-period-button-icon-color: rgba(0, 0, 0, .54);--mat-datepicker-calendar-navigation-button-icon-color: rgba(0, 0, 0, .54);--mat-datepicker-calendar-header-divider-color: rgba(0, 0, 0, .12);--mat-datepicker-calendar-header-text-color: rgba(0, 0, 0, .54);--mat-datepicker-calendar-date-today-outline-color: rgba(0, 0, 0, .38);--mat-datepicker-calendar-date-today-disabled-state-outline-color: rgba(0, 0, 0, .18);--mat-datepicker-calendar-date-text-color: rgba(0, 0, 0, .87);--mat-datepicker-calendar-date-outline-color: transparent;--mat-datepicker-calendar-date-disabled-state-text-color: rgba(0, 0, 0, .38);--mat-datepicker-calendar-date-preview-state-outline-color: rgba(0, 0, 0, .24);--mat-datepicker-range-input-separator-color: rgba(0, 0, 0, .87);--mat-datepicker-range-input-disabled-state-separator-color: rgba(0, 0, 0, .38);--mat-datepicker-range-input-disabled-state-text-color: rgba(0, 0, 0, .38);--mat-datepicker-calendar-container-background-color: white;--mat-datepicker-calendar-container-text-color: rgba(0, 0, 0, .87)}.mat-datepicker-content.mat-accent[_ngcontent-%COMP%]{--mat-datepicker-calendar-date-selected-state-text-color: white;--mat-datepicker-calendar-date-selected-state-background-color: #dd7345;--mat-datepicker-calendar-date-selected-disabled-state-background-color: rgba(221, 115, 69, .4);--mat-datepicker-calendar-date-today-selected-state-outline-color: white;--mat-datepicker-calendar-date-focus-state-background-color: rgba(221, 115, 69, .3);--mat-datepicker-calendar-date-hover-state-background-color: rgba(221, 115, 69, .3);--mat-datepicker-calendar-date-in-range-state-background-color: rgba(221, 115, 69, .2);--mat-datepicker-calendar-date-in-comparison-range-state-background-color: rgba(249, 171, 0, .2);--mat-datepicker-calendar-date-in-overlap-range-state-background-color: #a8dab5;--mat-datepicker-calendar-date-in-overlap-range-selected-state-background-color: #46a35e}.mat-datepicker-content.mat-warn[_ngcontent-%COMP%]{--mat-datepicker-calendar-date-selected-state-text-color: white;--mat-datepicker-calendar-date-selected-state-background-color: #f44336;--mat-datepicker-calendar-date-selected-disabled-state-background-color: rgba(244, 67, 54, .4);--mat-datepicker-calendar-date-today-selected-state-outline-color: white;--mat-datepicker-calendar-date-focus-state-background-color: rgba(244, 67, 54, .3);--mat-datepicker-calendar-date-hover-state-background-color: rgba(244, 67, 54, .3);--mat-datepicker-calendar-date-in-range-state-background-color: rgba(244, 67, 54, .2);--mat-datepicker-calendar-date-in-comparison-range-state-background-color: rgba(249, 171, 0, .2);--mat-datepicker-calendar-date-in-overlap-range-state-background-color: #a8dab5;--mat-datepicker-calendar-date-in-overlap-range-selected-state-background-color: #46a35e}.mat-datepicker-toggle-active.mat-accent[_ngcontent-%COMP%]{--mat-datepicker-toggle-active-state-icon-color: #dd7345}.mat-datepicker-toggle-active.mat-warn[_ngcontent-%COMP%]{--mat-datepicker-toggle-active-state-icon-color: #f44336}.mat-calendar-controls[_ngcontent-%COMP%] .mat-mdc-icon-button.mat-mdc-button-base[_ngcontent-%COMP%]{--mdc-icon-button-state-layer-size: 40px;width:var(--mdc-icon-button-state-layer-size);height:var(--mdc-icon-button-state-layer-size);padding:8px}.mat-calendar-controls[_ngcontent-%COMP%] .mat-mdc-icon-button.mat-mdc-button-base[_ngcontent-%COMP%] .mat-mdc-button-touch-target[_ngcontent-%COMP%]{display:none}html[_ngcontent-%COMP%]{--mat-datepicker-calendar-text-font: Inter;--mat-datepicker-calendar-text-size: 13px;--mat-datepicker-calendar-body-label-text-size: 13px;--mat-datepicker-calendar-body-label-text-weight: 500;--mat-datepicker-calendar-period-button-text-size: 13px;--mat-datepicker-calendar-period-button-text-weight: 500;--mat-datepicker-calendar-header-text-size: 11px;--mat-datepicker-calendar-header-text-weight: 400}html[_ngcontent-%COMP%]{--mat-divider-color: rgba(0, 0, 0, .12)}html[_ngcontent-%COMP%]{--mat-expansion-container-background-color: white;--mat-expansion-container-text-color: rgba(0, 0, 0, .87);--mat-expansion-actions-divider-color: rgba(0, 0, 0, .12);--mat-expansion-header-hover-state-layer-color: rgba(0, 0, 0, .04);--mat-expansion-header-focus-state-layer-color: rgba(0, 0, 0, .04);--mat-expansion-header-disabled-state-text-color: rgba(0, 0, 0, .26);--mat-expansion-header-text-color: rgba(0, 0, 0, .87);--mat-expansion-header-description-color: rgba(0, 0, 0, .54);--mat-expansion-header-indicator-color: rgba(0, 0, 0, .54)}html[_ngcontent-%COMP%]{--mat-expansion-header-collapsed-state-height: 40px;--mat-expansion-header-expanded-state-height: 56px}html[_ngcontent-%COMP%]{--mat-expansion-header-text-font: Inter;--mat-expansion-header-text-size: 13px;--mat-expansion-header-text-weight: 500;--mat-expansion-header-text-line-height: inherit;--mat-expansion-header-text-tracking: inherit;--mat-expansion-container-text-font: Inter;--mat-expansion-container-text-line-height: 19px;--mat-expansion-container-text-size: 13px;--mat-expansion-container-text-tracking: normal;--mat-expansion-container-text-weight: 400}html[_ngcontent-%COMP%]{--mat-grid-list-tile-header-primary-text-size: 13px;--mat-grid-list-tile-header-secondary-text-size: 12px;--mat-grid-list-tile-footer-primary-text-size: 13px;--mat-grid-list-tile-footer-secondary-text-size: 12px}html[_ngcontent-%COMP%]{--mat-icon-color: inherit}.mat-icon.mat-primary[_ngcontent-%COMP%]{--mat-icon-color: #0f0761}.mat-icon.mat-accent[_ngcontent-%COMP%]{--mat-icon-color: #dd7345}.mat-icon.mat-warn[_ngcontent-%COMP%]{--mat-icon-color: #f44336}html[_ngcontent-%COMP%]{--mat-sidenav-container-divider-color: rgba(0, 0, 0, .12);--mat-sidenav-container-background-color: white;--mat-sidenav-container-text-color: rgba(0, 0, 0, .87);--mat-sidenav-content-background-color: #fafafa;--mat-sidenav-content-text-color: rgba(0, 0, 0, .87);--mat-sidenav-scrim-color: rgba(0, 0, 0, .6)}html[_ngcontent-%COMP%]{--mat-stepper-header-icon-foreground-color: white;--mat-stepper-header-selected-state-icon-background-color: #0f0761;--mat-stepper-header-selected-state-icon-foreground-color: white;--mat-stepper-header-done-state-icon-background-color: #0f0761;--mat-stepper-header-done-state-icon-foreground-color: white;--mat-stepper-header-edit-state-icon-background-color: #0f0761;--mat-stepper-header-edit-state-icon-foreground-color: white;--mat-stepper-container-color: white;--mat-stepper-line-color: rgba(0, 0, 0, .12);--mat-stepper-header-hover-state-layer-color: rgba(0, 0, 0, .04);--mat-stepper-header-focus-state-layer-color: rgba(0, 0, 0, .04);--mat-stepper-header-label-text-color: rgba(0, 0, 0, .54);--mat-stepper-header-optional-label-text-color: rgba(0, 0, 0, .54);--mat-stepper-header-selected-state-label-text-color: rgba(0, 0, 0, .87);--mat-stepper-header-error-state-label-text-color: #f44336;--mat-stepper-header-icon-background-color: rgba(0, 0, 0, .54);--mat-stepper-header-error-state-icon-foreground-color: #f44336;--mat-stepper-header-error-state-icon-background-color: transparent}html[_ngcontent-%COMP%] .mat-step-header.mat-accent[_ngcontent-%COMP%]{--mat-stepper-header-icon-foreground-color: white;--mat-stepper-header-selected-state-icon-background-color: #dd7345;--mat-stepper-header-selected-state-icon-foreground-color: white;--mat-stepper-header-done-state-icon-background-color: #dd7345;--mat-stepper-header-done-state-icon-foreground-color: white;--mat-stepper-header-edit-state-icon-background-color: #dd7345;--mat-stepper-header-edit-state-icon-foreground-color: white}html[_ngcontent-%COMP%] .mat-step-header.mat-warn[_ngcontent-%COMP%]{--mat-stepper-header-icon-foreground-color: white;--mat-stepper-header-selected-state-icon-background-color: #f44336;--mat-stepper-header-selected-state-icon-foreground-color: white;--mat-stepper-header-done-state-icon-background-color: #f44336;--mat-stepper-header-done-state-icon-foreground-color: white;--mat-stepper-header-edit-state-icon-background-color: #f44336;--mat-stepper-header-edit-state-icon-foreground-color: white}html[_ngcontent-%COMP%]{--mat-stepper-header-height: 64px}html[_ngcontent-%COMP%]{--mat-stepper-container-text-font: Inter;--mat-stepper-header-label-text-font: Inter;--mat-stepper-header-label-text-size: 13px;--mat-stepper-header-label-text-weight: 400;--mat-stepper-header-error-state-label-text-size: 13px;--mat-stepper-header-selected-state-label-text-size: 13px;--mat-stepper-header-selected-state-label-text-weight: 400}.mat-sort-header-arrow[_ngcontent-%COMP%]{color:#757575}html[_ngcontent-%COMP%]{--mat-toolbar-container-background-color: whitesmoke;--mat-toolbar-container-text-color: rgba(0, 0, 0, .87)}.mat-toolbar.mat-primary[_ngcontent-%COMP%]{--mat-toolbar-container-background-color: #0f0761;--mat-toolbar-container-text-color: white}.mat-toolbar.mat-accent[_ngcontent-%COMP%]{--mat-toolbar-container-background-color: #dd7345;--mat-toolbar-container-text-color: white}.mat-toolbar.mat-warn[_ngcontent-%COMP%]{--mat-toolbar-container-background-color: #f44336;--mat-toolbar-container-text-color: white}html[_ngcontent-%COMP%]{--mat-toolbar-standard-height: 56px;--mat-toolbar-mobile-height: 48px}html[_ngcontent-%COMP%]{--mat-toolbar-title-text-font: Inter;--mat-toolbar-title-text-line-height: 21px;--mat-toolbar-title-text-size: 16px;--mat-toolbar-title-text-tracking: normal;--mat-toolbar-title-text-weight: 600}.mat-tree[_ngcontent-%COMP%]{background:white}.mat-tree-node[_ngcontent-%COMP%], .mat-nested-tree-node[_ngcontent-%COMP%]{color:#000000de}.mat-tree-node[_ngcontent-%COMP%]{min-height:40px}.mat-tree[_ngcontent-%COMP%]{font-family:Inter}.mat-tree-node[_ngcontent-%COMP%], .mat-nested-tree-node[_ngcontent-%COMP%]{font-weight:400;font-size:13px}.mat-h1[_ngcontent-%COMP%], .mat-headline-5[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] .mat-h1[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] .mat-headline-5[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{font-size:20px;font-weight:600;line-height:24px;font-family:Inter;letter-spacing:normal;margin:0 0 16px}.mat-h2[_ngcontent-%COMP%], .mat-headline-6[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] .mat-h2[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] .mat-headline-6[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{font-size:16px;font-weight:600;line-height:21px;font-family:Inter;letter-spacing:normal;margin:0 0 16px}.mat-h3[_ngcontent-%COMP%], .mat-subtitle-1[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] .mat-h3[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] .mat-subtitle-1[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{font-size:16px;font-weight:600;line-height:22px;font-family:Inter;letter-spacing:normal;margin:0 0 16px}.mat-h4[_ngcontent-%COMP%], .mat-body-1[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] .mat-h4[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] .mat-body-1[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] h4[_ngcontent-%COMP%]{font-size:13px;font-weight:400;line-height:19px;font-family:Inter;letter-spacing:normal;margin:0 0 16px}.mat-h5[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] .mat-h5[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] h5[_ngcontent-%COMP%]{font:400 10.79px/19px Inter;margin:0 0 12px}.mat-h6[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] .mat-h6[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] h6[_ngcontent-%COMP%]{font:400 8.71px/19px Inter;margin:0 0 12px}.mat-body-strong[_ngcontent-%COMP%], .mat-subtitle-2[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] .mat-body-strong[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] .mat-subtitle-2[_ngcontent-%COMP%]{font-size:13px;font-weight:500;line-height:19px;font-family:Inter;letter-spacing:normal}.mat-body[_ngcontent-%COMP%], .mat-body-2[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] .mat-body[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] .mat-body-2[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%]{font-size:13px;font-weight:400;line-height:19px;font-family:Inter;letter-spacing:normal}.mat-body[_ngcontent-%COMP%] p[_ngcontent-%COMP%], .mat-body-2[_ngcontent-%COMP%] p[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] .mat-body[_ngcontent-%COMP%] p[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] .mat-body-2[_ngcontent-%COMP%] p[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{margin:0 0 12px}.mat-small[_ngcontent-%COMP%], .mat-caption[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] .mat-small[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] .mat-caption[_ngcontent-%COMP%]{font-size:12px;font-weight:400;line-height:16px;font-family:Inter;letter-spacing:normal}.mat-headline-1[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] .mat-headline-1[_ngcontent-%COMP%]{font-size:56px;font-weight:600;line-height:62px;font-family:Inter;letter-spacing:normal;margin:0 0 56px}.mat-headline-2[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] .mat-headline-2[_ngcontent-%COMP%]{font-size:44px;font-weight:600;line-height:50px;font-family:Inter;letter-spacing:normal;margin:0 0 64px}.mat-headline-3[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] .mat-headline-3[_ngcontent-%COMP%]{font-size:36px;font-weight:600;line-height:43px;font-family:Inter;letter-spacing:normal;margin:0 0 64px}.mat-headline-4[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] .mat-headline-4[_ngcontent-%COMP%]{font-size:28px;font-weight:600;line-height:34px;font-family:Inter;letter-spacing:normal;margin:0 0 64px}.mat-ripple-element[_ngcontent-%COMP%]{display:none!important}.mat-mdc-unelevated-button.mat-primary[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%], .mat-mdc-raised-button.mat-primary[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%], .mat-mdc-fab[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%], .mat-mdc-mini-fab[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%]{display:block!important}.mat-toolbar[_ngcontent-%COMP%]{box-shadow:none!important}.shell-brand-logo[_ngcontent-%COMP%]{filter:brightness(0);opacity:.87}.dark-theme[_ngcontent-%COMP%] .shell-brand-logo[_ngcontent-%COMP%]{filter:brightness(0) invert(1);opacity:.9}.spinner-container[_ngcontent-%COMP%]{position:absolute;top:0;left:0;display:flex;align-items:center;justify-content:center;z-index:1001;width:100%;height:100%;pointer-events:none}.spinner-container[_ngcontent-%COMP%] .backdrop[_ngcontent-%COMP%]{position:absolute;inset:0;background-color:#7571a9;opacity:.3;pointer-events:none}.spinner-container[_ngcontent-%COMP%] .spinner[_ngcontent-%COMP%]{position:absolute;animation:_ngcontent-%COMP%_spin 5s linear infinite;transform-origin:center center}@keyframes _ngcontent-%COMP%_spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}"]})}};Oc=(0,y.Cg)([(0,De.d)({checkProperties:!0})],Oc);var Sc=r(71499),S=r(89411);function w(f){return new a.wOt(3e3,!1)}function po(f){switch(f.length){case 0:return new S.sf;case 1:return f[0];default:return new S.ui(f)}}function Cr(f,d,l=new Map,m=new Map){const L=[],R=[];let ht=-1,Pt=null;if(d.forEach(Ft=>{const qt=Ft.get("offset"),Ae=qt==ht,$e=Ae&&Pt||new Map;Ft.forEach((mn,Pn)=>{let dn=Pn,wn=mn;if("offset"!==Pn)switch(dn=f.normalizePropertyName(dn,L),wn){case S.FX:wn=l.get(Pn);break;case S.kp:wn=m.get(Pn);break;default:wn=f.normalizeStyleValue(Pn,dn,wn,L)}$e.set(dn,wn)}),Ae||R.push($e),Pt=$e,ht=qt}),L.length)throw function er(f){return new a.wOt(3502,!1)}();return R}function or(f,d,l,m){switch(d){case"start":f.onStart(()=>m(l&&Jr(l,"start",f)));break;case"done":f.onDone(()=>m(l&&Jr(l,"done",f)));break;case"destroy":f.onDestroy(()=>m(l&&Jr(l,"destroy",f)))}}function Jr(f,d,l){const R=Ic(f.element,f.triggerName,f.fromState,f.toState,d||f.phaseName,l.totalTime??f.totalTime,!!l.disabled),ht=f._data;return null!=ht&&(R._data=ht),R}function Ic(f,d,l,m,L="",R=0,ht){return{element:f,triggerName:d,fromState:l,toState:m,phaseName:L,totalTime:R,disabled:!!ht}}function $i(f,d,l){let m=f.get(d);return m||f.set(d,m=l),m}function Fr(f){const d=f.indexOf(":");return[f.substring(1,d),f.slice(d+1)]}const Br=(()=>typeof document>"u"?null:document.documentElement)();function jc(f){const d=f.parentNode||f.host||null;return d===Br?null:d}let Ko=null,bs=!1;function W(f,d){for(;d;){if(d===f)return!0;d=jc(d)}return!1}function E(f,d,l){if(l)return Array.from(f.querySelectorAll(d));const m=f.querySelector(d);return m?[m]:[]}let At=(()=>{class f{validateStyleProperty(l){return function Hc(f){Ko||(Ko=function v(){return typeof document<"u"?document.body:null}()||{},bs=!!Ko.style&&"WebkitAppearance"in Ko.style);let d=!0;return Ko.style&&!function Vr(f){return"ebkit"==f.substring(1,6)}(f)&&(d=f in Ko.style,!d&&bs&&(d="Webkit"+f.charAt(0).toUpperCase()+f.slice(1)in Ko.style)),d}(l)}matchesElement(l,m){return!1}containsElement(l,m){return W(l,m)}getParentElement(l){return jc(l)}query(l,m,L){return E(l,m,L)}computeStyle(l,m,L){return L||""}animate(l,m,L,R,ht,Pt=[],Ft){return new S.sf(L,R)}static{this.\u0275fac=function(m){return new(m||f)}}static{this.\u0275prov=a.jDH({token:f,factory:f.\u0275fac})}}return f})(),he=(()=>{class f{static{this.NOOP=new At}}return f})();const Pe=1e3,ti="ng-enter",Un="ng-leave",Sn="ng-trigger",Zn=".ng-trigger",ii="ng-animating",vi=".ng-animating";function ai(f){if("number"==typeof f)return f;const d=f.match(/^(-?[\.\d]+)(m?s)/);return!d||d.length<2?0:Ki(parseFloat(d[1]),d[2])}function Ki(f,d){return"s"===d?f*Pe:f}function go(f,d,l){return f.hasOwnProperty("duration")?f:function Gi(f,d,l){let L,R=0,ht="";if("string"==typeof f){const Pt=f.match(/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i);if(null===Pt)return d.push(w()),{duration:0,delay:0,easing:""};L=Ki(parseFloat(Pt[1]),Pt[2]);const Ft=Pt[3];null!=Ft&&(R=Ki(parseFloat(Ft),Pt[4]));const qt=Pt[5];qt&&(ht=qt)}else L=f;if(!l){let Pt=!1,Ft=d.length;L<0&&(d.push(function it(){return new a.wOt(3100,!1)}()),Pt=!0),R<0&&(d.push(function Bt(){return new a.wOt(3101,!1)}()),Pt=!0),Pt&&d.splice(Ft,0,w())}return{duration:L,delay:R,easing:ht}}(f,d,l)}function no(f,d={}){return Object.keys(f).forEach(l=>{d[l]=f[l]}),d}function Ai(f){const d=new Map;return Object.keys(f).forEach(l=>{d.set(l,f[l])}),d}function Wn(f,d=new Map,l){if(l)for(let[m,L]of l)d.set(m,L);for(let[m,L]of f)d.set(m,L);return d}function io(f,d,l){d.forEach((m,L)=>{const R=Ue(L);l&&!l.has(L)&&l.set(L,f.style[R]),f.style[R]=m})}function Go(f,d){d.forEach((l,m)=>{const L=Ue(m);f.style[L]=""})}function D(f){return Array.isArray(f)?1==f.length?f[0]:(0,S.K2)(f):f}const ct=new RegExp("{{\\s*(.+?)\\s*}}","g");function ut(f){let d=[];if("string"==typeof f){let l;for(;l=ct.exec(f);)d.push(l[1]);ct.lastIndex=0}return d}function St(f,d,l){const m=f.toString(),L=m.replace(ct,(R,ht)=>{let Pt=d[ht];return null==Pt&&(l.push(function zn(f){return new a.wOt(3003,!1)}()),Pt=""),Pt.toString()});return L==m?f:L}function ie(f){const d=[];let l=f.next();for(;!l.done;)d.push(l.value),l=f.next();return d}const we=/-+([a-z0-9])/g;function Ue(f){return f.replace(we,(...d)=>d[1].toUpperCase())}function kn(f,d,l){switch(d.type){case 7:return f.visitTrigger(d,l);case 0:return f.visitState(d,l);case 1:return f.visitTransition(d,l);case 2:return f.visitSequence(d,l);case 3:return f.visitGroup(d,l);case 4:return f.visitAnimate(d,l);case 5:return f.visitKeyframes(d,l);case 6:return f.visitStyle(d,l);case 8:return f.visitReference(d,l);case 9:return f.visitAnimateChild(d,l);case 10:return f.visitAnimateRef(d,l);case 11:return f.visitQuery(d,l);case 12:return f.visitStagger(d,l);default:throw function wi(f){return new a.wOt(3004,!1)}()}}function Kn(f,d){return window.getComputedStyle(f)[d]}const so="*";function Rc(f,d){const l=[];return"string"==typeof f?f.split(/\s*,\s*/).forEach(m=>function xc(f,d,l){if(":"==f[0]){const Ft=function cr(f,d){switch(f){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(l,m)=>parseFloat(m)>parseFloat(l);case":decrement":return(l,m)=>parseFloat(m) *"}}(f,l);if("function"==typeof Ft)return void d.push(Ft);f=Ft}const m=f.match(/^(\*|[-\w]+)\s*()\s*(\*|[-\w]+)$/);if(null==m||m.length<4)return l.push(function Pc(f){return new a.wOt(3015,!1)}()),d;const L=m[1],R=m[2],ht=m[3];d.push(Bs(L,ht));"<"==R[0]&&!(L==so&&ht==so)&&d.push(Bs(ht,L))}(m,l,d)):l.push(f),l}const $c=new Set(["true","1"]),Ur=new Set(["false","0"]);function Bs(f,d){const l=$c.has(f)||Ur.has(f),m=$c.has(d)||Ur.has(d);return(L,R)=>{let ht=f==so||f==L,Pt=d==so||d==R;return!ht&&l&&"boolean"==typeof L&&(ht=L?$c.has(f):Ur.has(f)),!Pt&&m&&"boolean"==typeof R&&(Pt=R?$c.has(d):Ur.has(d)),ht&&Pt}}const Us=new RegExp("s*:selfs*,?","g");function Re(f,d,l,m){return new vs(f).build(d,l,m)}class vs{constructor(d){this._driver=d}build(d,l,m){const L=new _s(l);return this._resetContextStyleTimingState(L),kn(this,D(d),L)}_resetContextStyleTimingState(d){d.currentQuerySelector="",d.collectedStyles=new Map,d.collectedStyles.set("",new Map),d.currentTime=0}visitTrigger(d,l){let m=l.queryCount=0,L=l.depCount=0;const R=[],ht=[];return"@"==d.name.charAt(0)&&l.errors.push(function Vc(){return new a.wOt(3006,!1)}()),d.definitions.forEach(Pt=>{if(this._resetContextStyleTimingState(l),0==Pt.type){const Ft=Pt,qt=Ft.name;qt.toString().split(/\s*,\s*/).forEach(Ae=>{Ft.name=Ae,R.push(this.visitState(Ft,l))}),Ft.name=qt}else if(1==Pt.type){const Ft=this.visitTransition(Pt,l);m+=Ft.queryCount,L+=Ft.depCount,ht.push(Ft)}else l.errors.push(function ps(){return new a.wOt(3007,!1)}())}),{type:7,name:d.name,states:R,transitions:ht,queryCount:m,depCount:L,options:null}}visitState(d,l){const m=this.visitStyle(d.styles,l),L=d.options&&d.options.params||null;if(m.containsDynamicStyles){const R=new Set,ht=L||{};m.styles.forEach(Pt=>{Pt instanceof Map&&Pt.forEach(Ft=>{ut(Ft).forEach(qt=>{ht.hasOwnProperty(qt)||R.add(qt)})})}),R.size&&(ie(R.values()),l.errors.push(function gs(f,d){return new a.wOt(3008,!1)}()))}return{type:0,name:d.name,style:m,options:L?{params:L}:null}}visitTransition(d,l){l.queryCount=0,l.depCount=0;const m=kn(this,D(d.animation),l);return{type:1,matchers:Rc(d.expr,l.errors),animation:m,queryCount:l.queryCount,depCount:l.depCount,options:ic(d.options)}}visitSequence(d,l){return{type:2,steps:d.steps.map(m=>kn(this,m,l)),options:ic(d.options)}}visitGroup(d,l){const m=l.currentTime;let L=0;const R=d.steps.map(ht=>{l.currentTime=m;const Pt=kn(this,ht,l);return L=Math.max(L,l.currentTime),Pt});return l.currentTime=L,{type:3,steps:R,options:ic(d.options)}}visitAnimate(d,l){const m=function Cc(f,d){if(f.hasOwnProperty("duration"))return f;if("number"==typeof f)return Hr(go(f,d).duration,0,"");const l=f;if(l.split(/\s+/).some(R=>"{"==R.charAt(0)&&"{"==R.charAt(1))){const R=Hr(0,0,"");return R.dynamic=!0,R.strValue=l,R}const L=go(l,d);return Hr(L.duration,L.delay,L.easing)}(d.timings,l.errors);l.currentAnimateTimings=m;let L,R=d.styles?d.styles:(0,S.iF)({});if(5==R.type)L=this.visitKeyframes(R,l);else{let ht=d.styles,Pt=!1;if(!ht){Pt=!0;const qt={};m.easing&&(qt.easing=m.easing),ht=(0,S.iF)(qt)}l.currentTime+=m.duration+m.delay;const Ft=this.visitStyle(ht,l);Ft.isEmptyStep=Pt,L=Ft}return l.currentAnimateTimings=null,{type:4,timings:m,style:L,options:null}}visitStyle(d,l){const m=this._makeStyleAst(d,l);return this._validateStyleAst(m,l),m}_makeStyleAst(d,l){const m=[],L=Array.isArray(d.styles)?d.styles:[d.styles];for(let Pt of L)"string"==typeof Pt?Pt===S.kp?m.push(Pt):l.errors.push(new a.wOt(3002,!1)):m.push(Ai(Pt));let R=!1,ht=null;return m.forEach(Pt=>{if(Pt instanceof Map&&(Pt.has("easing")&&(ht=Pt.get("easing"),Pt.delete("easing")),!R))for(let Ft of Pt.values())if(Ft.toString().indexOf("{{")>=0){R=!0;break}}),{type:6,styles:m,easing:ht,offset:d.offset,containsDynamicStyles:R,options:null}}_validateStyleAst(d,l){const m=l.currentAnimateTimings;let L=l.currentTime,R=l.currentTime;m&&R>0&&(R-=m.duration+m.delay),d.styles.forEach(ht=>{"string"!=typeof ht&&ht.forEach((Pt,Ft)=>{const qt=l.collectedStyles.get(l.currentQuerySelector),Ae=qt.get(Ft);let $e=!0;Ae&&(R!=L&&R>=Ae.startTime&&L<=Ae.endTime&&(l.errors.push(function qc(f,d,l,m,L){return new a.wOt(3010,!1)}()),$e=!1),R=Ae.startTime),$e&&qt.set(Ft,{startTime:R,endTime:L}),l.options&&function et(f,d,l){const m=d.params||{},L=ut(f);L.length&&L.forEach(R=>{m.hasOwnProperty(R)||l.push(function en(f){return new a.wOt(3001,!1)}())})}(Pt,l.options,l.errors)})})}visitKeyframes(d,l){const m={type:5,styles:[],options:null};if(!l.currentAnimateTimings)return l.errors.push(function Tr(){return new a.wOt(3011,!1)}()),m;let R=0;const ht=[];let Pt=!1,Ft=!1,qt=0;const Ae=d.steps.map(fi=>{const oo=this._makeStyleAst(fi,l);let No=null!=oo.offset?oo.offset:function jr(f){if("string"==typeof f)return null;let d=null;if(Array.isArray(f))f.forEach(l=>{if(l instanceof Map&&l.has("offset")){const m=l;d=parseFloat(m.get("offset")),m.delete("offset")}});else if(f instanceof Map&&f.has("offset")){const l=f;d=parseFloat(l.get("offset")),l.delete("offset")}return d}(oo.styles),ao=0;return null!=No&&(R++,ao=oo.offset=No),Ft=Ft||ao<0||ao>1,Pt=Pt||ao0&&R<$e?l.errors.push(function nc(){return new a.wOt(3202,!1)}()):0==R&&(mn=1/($e-1));const Pn=$e-1,dn=l.currentTime,wn=l.currentAnimateTimings,ri=wn.duration;return Ae.forEach((fi,oo)=>{const No=mn>0?oo==Pn?1:mn*oo:ht[oo],ao=No*ri;l.currentTime=dn+wn.delay+ao,wn.duration=ao,this._validateStyleAst(fi,l),fi.offset=No,m.styles.push(fi)}),m}visitReference(d,l){return{type:8,animation:kn(this,D(d.animation),l),options:ic(d.options)}}visitAnimateChild(d,l){return l.depCount++,{type:9,options:ic(d.options)}}visitAnimateRef(d,l){return{type:10,animation:this.visitReference(d.animation,l),options:ic(d.options)}}visitQuery(d,l){const m=l.currentQuerySelector,L=d.options||{};l.queryCount++,l.currentQuery=d;const[R,ht]=function js(f){const d=!!f.split(/\s*,\s*/).find(l=>":self"==l);return d&&(f=f.replace(Us,"")),f=f.replace(/@\*/g,Zn).replace(/@\w+/g,l=>Zn+"-"+l.slice(1)).replace(/:animating/g,vi),[f,d]}(d.selector);l.currentQuerySelector=m.length?m+" "+R:R,$i(l.collectedStyles,l.currentQuerySelector,new Map);const Pt=kn(this,D(d.animation),l);return l.currentQuery=null,l.currentQuerySelector=m,{type:11,selector:R,limit:L.limit||0,optional:!!L.optional,includeSelf:ht,animation:Pt,originalSelector:d.selector,options:ic(d.options)}}visitStagger(d,l){l.currentQuery||l.errors.push(function Ri(){return new a.wOt(3013,!1)}());const m="full"===d.timings?{duration:0,delay:0,easing:"full"}:go(d.timings,l.errors,!0);return{type:12,animation:kn(this,D(d.animation),l),timings:m,options:null}}}class _s{constructor(d){this.errors=d,this.queryCount=0,this.depCount=0,this.currentTransition=null,this.currentQuery=null,this.currentQuerySelector=null,this.currentAnimateTimings=null,this.currentTime=0,this.collectedStyles=new Map,this.options=null,this.unsupportedCSSPropertiesFound=new Set}}function ic(f){return f?(f=no(f)).params&&(f.params=function Yi(f){return f?no(f):null}(f.params)):f={},f}function Hr(f,d,l){return{duration:f,delay:d,easing:l}}function $r(f,d,l,m,L,R,ht=null,Pt=!1){return{type:1,element:f,keyframes:d,preStyleProps:l,postStyleProps:m,duration:L,delay:R,totalTime:L+R,easing:ht,subTimeline:Pt}}class Hs{constructor(){this._map=new Map}get(d){return this._map.get(d)||[]}append(d,l){let m=this._map.get(d);m||this._map.set(d,m=[]),m.push(...l)}has(d){return this._map.has(d)}clear(){this._map.clear()}}const Wc=new RegExp(":enter","g"),g=new RegExp(":leave","g");function x(f,d,l,m,L,R=new Map,ht=new Map,Pt,Ft,qt=[]){return(new h).buildKeyframes(f,d,l,m,L,R,ht,Pt,Ft,qt)}class h{buildKeyframes(d,l,m,L,R,ht,Pt,Ft,qt,Ae=[]){qt=qt||new Hs;const $e=new z(d,l,qt,L,R,Ae,[]);$e.options=Ft;const mn=Ft.delay?ai(Ft.delay):0;$e.currentTimeline.delayNextStep(mn),$e.currentTimeline.setStyles([ht],null,$e.errors,Ft),kn(this,m,$e);const Pn=$e.timelines.filter(dn=>dn.containsAnimation());if(Pn.length&&Pt.size){let dn;for(let wn=Pn.length-1;wn>=0;wn--){const ri=Pn[wn];if(ri.element===l){dn=ri;break}}dn&&!dn.allowOnlyTimelineStyles()&&dn.setStyles([Pt],null,$e.errors,Ft)}return Pn.length?Pn.map(dn=>dn.buildKeyframes()):[$r(l,[],[],[],0,mn,"",!1)]}visitTrigger(d,l){}visitState(d,l){}visitTransition(d,l){}visitAnimateChild(d,l){const m=l.subInstructions.get(l.element);if(m){const L=l.createSubContext(d.options),R=l.currentTimeline.currentTime,ht=this._visitSubInstructions(m,L,L.options);R!=ht&&l.transformIntoNewTimeline(ht)}l.previousNode=d}visitAnimateRef(d,l){const m=l.createSubContext(d.options);m.transformIntoNewTimeline(),this._applyAnimationRefDelays([d.options,d.animation.options],l,m),this.visitReference(d.animation,m),l.transformIntoNewTimeline(m.currentTimeline.currentTime),l.previousNode=d}_applyAnimationRefDelays(d,l,m){for(const L of d){const R=L?.delay;if(R){const ht="number"==typeof R?R:ai(St(R,L?.params??{},l.errors));m.delayNextStep(ht)}}}_visitSubInstructions(d,l,m){let R=l.currentTimeline.currentTime;const ht=null!=m.duration?ai(m.duration):null,Pt=null!=m.delay?ai(m.delay):null;return 0!==ht&&d.forEach(Ft=>{const qt=l.appendInstructionToTimeline(Ft,ht,Pt);R=Math.max(R,qt.duration+qt.delay)}),R}visitReference(d,l){l.updateOptions(d.options,!0),kn(this,d.animation,l),l.previousNode=d}visitSequence(d,l){const m=l.subContextCount;let L=l;const R=d.options;if(R&&(R.params||R.delay)&&(L=l.createSubContext(R),L.transformIntoNewTimeline(),null!=R.delay)){6==L.previousNode.type&&(L.currentTimeline.snapshotCurrentStyles(),L.previousNode=C);const ht=ai(R.delay);L.delayNextStep(ht)}d.steps.length&&(d.steps.forEach(ht=>kn(this,ht,L)),L.currentTimeline.applyStylesToKeyframe(),L.subContextCount>m&&L.transformIntoNewTimeline()),l.previousNode=d}visitGroup(d,l){const m=[];let L=l.currentTimeline.currentTime;const R=d.options&&d.options.delay?ai(d.options.delay):0;d.steps.forEach(ht=>{const Pt=l.createSubContext(d.options);R&&Pt.delayNextStep(R),kn(this,ht,Pt),L=Math.max(L,Pt.currentTimeline.currentTime),m.push(Pt.currentTimeline)}),m.forEach(ht=>l.currentTimeline.mergeTimelineCollectedStyles(ht)),l.transformIntoNewTimeline(L),l.previousNode=d}_visitTiming(d,l){if(d.dynamic){const m=d.strValue;return go(l.params?St(m,l.params,l.errors):m,l.errors)}return{duration:d.duration,delay:d.delay,easing:d.easing}}visitAnimate(d,l){const m=l.currentAnimateTimings=this._visitTiming(d.timings,l),L=l.currentTimeline;m.delay&&(l.incrementTime(m.delay),L.snapshotCurrentStyles());const R=d.style;5==R.type?this.visitKeyframes(R,l):(l.incrementTime(m.duration),this.visitStyle(R,l),L.applyStylesToKeyframe()),l.currentAnimateTimings=null,l.previousNode=d}visitStyle(d,l){const m=l.currentTimeline,L=l.currentAnimateTimings;!L&&m.hasCurrentStyleProperties()&&m.forwardFrame();const R=L&&L.easing||d.easing;d.isEmptyStep?m.applyEmptyStep(R):m.setStyles(d.styles,R,l.errors,l.options),l.previousNode=d}visitKeyframes(d,l){const m=l.currentAnimateTimings,L=l.currentTimeline.duration,R=m.duration,Pt=l.createSubContext().currentTimeline;Pt.easing=m.easing,d.styles.forEach(Ft=>{Pt.forwardTime((Ft.offset||0)*R),Pt.setStyles(Ft.styles,Ft.easing,l.errors,l.options),Pt.applyStylesToKeyframe()}),l.currentTimeline.mergeTimelineCollectedStyles(Pt),l.transformIntoNewTimeline(L+R),l.previousNode=d}visitQuery(d,l){const m=l.currentTimeline.currentTime,L=d.options||{},R=L.delay?ai(L.delay):0;R&&(6===l.previousNode.type||0==m&&l.currentTimeline.hasCurrentStyleProperties())&&(l.currentTimeline.snapshotCurrentStyles(),l.previousNode=C);let ht=m;const Pt=l.invokeQuery(d.selector,d.originalSelector,d.limit,d.includeSelf,!!L.optional,l.errors);l.currentQueryTotal=Pt.length;let Ft=null;Pt.forEach((qt,Ae)=>{l.currentQueryIndex=Ae;const $e=l.createSubContext(d.options,qt);R&&$e.delayNextStep(R),qt===l.element&&(Ft=$e.currentTimeline),kn(this,d.animation,$e),$e.currentTimeline.applyStylesToKeyframe(),ht=Math.max(ht,$e.currentTimeline.currentTime)}),l.currentQueryIndex=0,l.currentQueryTotal=0,l.transformIntoNewTimeline(ht),Ft&&(l.currentTimeline.mergeTimelineCollectedStyles(Ft),l.currentTimeline.snapshotCurrentStyles()),l.previousNode=d}visitStagger(d,l){const m=l.parentContext,L=l.currentTimeline,R=d.timings,ht=Math.abs(R.duration),Pt=ht*(l.currentQueryTotal-1);let Ft=ht*l.currentQueryIndex;switch(R.duration<0?"reverse":R.easing){case"reverse":Ft=Pt-Ft;break;case"full":Ft=m.currentStaggerTime}const Ae=l.currentTimeline;Ft&&Ae.delayNextStep(Ft);const $e=Ae.currentTime;kn(this,d.animation,l),l.previousNode=d,m.currentStaggerTime=L.currentTime-$e+(L.startTime-m.currentTimeline.startTime)}}const C={};class z{constructor(d,l,m,L,R,ht,Pt,Ft){this._driver=d,this.element=l,this.subInstructions=m,this._enterClassName=L,this._leaveClassName=R,this.errors=ht,this.timelines=Pt,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=C,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=Ft||new nt(this._driver,l,0),Pt.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(d,l){if(!d)return;const m=d;let L=this.options;null!=m.duration&&(L.duration=ai(m.duration)),null!=m.delay&&(L.delay=ai(m.delay));const R=m.params;if(R){let ht=L.params;ht||(ht=this.options.params={}),Object.keys(R).forEach(Pt=>{(!l||!ht.hasOwnProperty(Pt))&&(ht[Pt]=St(R[Pt],ht,this.errors))})}}_copyOptions(){const d={};if(this.options){const l=this.options.params;if(l){const m=d.params={};Object.keys(l).forEach(L=>{m[L]=l[L]})}}return d}createSubContext(d=null,l,m){const L=l||this.element,R=new z(this._driver,L,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(L,m||0));return R.previousNode=this.previousNode,R.currentAnimateTimings=this.currentAnimateTimings,R.options=this._copyOptions(),R.updateOptions(d),R.currentQueryIndex=this.currentQueryIndex,R.currentQueryTotal=this.currentQueryTotal,R.parentContext=this,this.subContextCount++,R}transformIntoNewTimeline(d){return this.previousNode=C,this.currentTimeline=this.currentTimeline.fork(this.element,d),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(d,l,m){const L={duration:l??d.duration,delay:this.currentTimeline.currentTime+(m??0)+d.delay,easing:""},R=new It(this._driver,d.element,d.keyframes,d.preStyleProps,d.postStyleProps,L,d.stretchStartingKeyframe);return this.timelines.push(R),L}incrementTime(d){this.currentTimeline.forwardTime(this.currentTimeline.duration+d)}delayNextStep(d){d>0&&this.currentTimeline.delayNextStep(d)}invokeQuery(d,l,m,L,R,ht){let Pt=[];if(L&&Pt.push(this.element),d.length>0){d=(d=d.replace(Wc,"."+this._enterClassName)).replace(g,"."+this._leaveClassName);let qt=this._driver.query(this.element,d,1!=m);0!==m&&(qt=m<0?qt.slice(qt.length+m,qt.length):qt.slice(0,m)),Pt.push(...qt)}return!R&&0==Pt.length&&ht.push(function zc(f){return new a.wOt(3014,!1)}()),Pt}}class nt{constructor(d,l,m,L){this._driver=d,this.element=l,this.startTime=m,this._elementTimelineStylesLookup=L,this.duration=0,this.easing=null,this._previousKeyframe=new Map,this._currentKeyframe=new Map,this._keyframes=new Map,this._styleSummary=new Map,this._localTimelineStyles=new Map,this._pendingStyles=new Map,this._backFill=new Map,this._currentEmptyStepKeyframe=null,this._elementTimelineStylesLookup||(this._elementTimelineStylesLookup=new Map),this._globalTimelineStyles=this._elementTimelineStylesLookup.get(l),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(l,this._localTimelineStyles)),this._loadKeyframe()}containsAnimation(){switch(this._keyframes.size){case 0:return!1;case 1:return this.hasCurrentStyleProperties();default:return!0}}hasCurrentStyleProperties(){return this._currentKeyframe.size>0}get currentTime(){return this.startTime+this.duration}delayNextStep(d){const l=1===this._keyframes.size&&this._pendingStyles.size;this.duration||l?(this.forwardTime(this.currentTime+d),l&&this.snapshotCurrentStyles()):this.startTime+=d}fork(d,l){return this.applyStylesToKeyframe(),new nt(this._driver,d,l||this.currentTime,this._elementTimelineStylesLookup)}_loadKeyframe(){this._currentKeyframe&&(this._previousKeyframe=this._currentKeyframe),this._currentKeyframe=this._keyframes.get(this.duration),this._currentKeyframe||(this._currentKeyframe=new Map,this._keyframes.set(this.duration,this._currentKeyframe))}forwardFrame(){this.duration+=1,this._loadKeyframe()}forwardTime(d){this.applyStylesToKeyframe(),this.duration=d,this._loadKeyframe()}_updateStyle(d,l){this._localTimelineStyles.set(d,l),this._globalTimelineStyles.set(d,l),this._styleSummary.set(d,{time:this.currentTime,value:l})}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(d){d&&this._previousKeyframe.set("easing",d);for(let[l,m]of this._globalTimelineStyles)this._backFill.set(l,m||S.kp),this._currentKeyframe.set(l,S.kp);this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(d,l,m,L){l&&this._previousKeyframe.set("easing",l);const R=L&&L.params||{},ht=function pe(f,d){const l=new Map;let m;return f.forEach(L=>{if("*"===L){m=m||d.keys();for(let R of m)l.set(R,S.kp)}else Wn(L,l)}),l}(d,this._globalTimelineStyles);for(let[Pt,Ft]of ht){const qt=St(Ft,R,m);this._pendingStyles.set(Pt,qt),this._localTimelineStyles.has(Pt)||this._backFill.set(Pt,this._globalTimelineStyles.get(Pt)??S.kp),this._updateStyle(Pt,qt)}}applyStylesToKeyframe(){0!=this._pendingStyles.size&&(this._pendingStyles.forEach((d,l)=>{this._currentKeyframe.set(l,d)}),this._pendingStyles.clear(),this._localTimelineStyles.forEach((d,l)=>{this._currentKeyframe.has(l)||this._currentKeyframe.set(l,d)}))}snapshotCurrentStyles(){for(let[d,l]of this._localTimelineStyles)this._pendingStyles.set(d,l),this._updateStyle(d,l)}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){const d=[];for(let l in this._currentKeyframe)d.push(l);return d}mergeTimelineCollectedStyles(d){d._styleSummary.forEach((l,m)=>{const L=this._styleSummary.get(m);(!L||l.time>L.time)&&this._updateStyle(m,l.value)})}buildKeyframes(){this.applyStylesToKeyframe();const d=new Set,l=new Set,m=1===this._keyframes.size&&0===this.duration;let L=[];this._keyframes.forEach((Pt,Ft)=>{const qt=Wn(Pt,new Map,this._backFill);qt.forEach((Ae,$e)=>{Ae===S.FX?d.add($e):Ae===S.kp&&l.add($e)}),m||qt.set("offset",Ft/this.duration),L.push(qt)});const R=d.size?ie(d.values()):[],ht=l.size?ie(l.values()):[];if(m){const Pt=L[0],Ft=new Map(Pt);Pt.set("offset",0),Ft.set("offset",1),L=[Pt,Ft]}return $r(this.element,L,R,ht,this.duration,this.startTime,this.easing,!1)}}class It extends nt{constructor(d,l,m,L,R,ht,Pt=!1){super(d,l,ht.delay),this.keyframes=m,this.preStyleProps=L,this.postStyleProps=R,this._stretchStartingKeyframe=Pt,this.timings={duration:ht.duration,delay:ht.delay,easing:ht.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let d=this.keyframes,{delay:l,duration:m,easing:L}=this.timings;if(this._stretchStartingKeyframe&&l){const R=[],ht=m+l,Pt=l/ht,Ft=Wn(d[0]);Ft.set("offset",0),R.push(Ft);const qt=Wn(d[0]);qt.set("offset",ge(Pt)),R.push(qt);const Ae=d.length-1;for(let $e=1;$e<=Ae;$e++){let mn=Wn(d[$e]);const Pn=mn.get("offset");mn.set("offset",ge((l+Pn*m)/ht)),R.push(mn)}m=ht,l=0,L="",d=R}return $r(this.element,d,this.preStyleProps,this.postStyleProps,m,l,L,!0)}}function ge(f,d=3){const l=Math.pow(10,d-1);return Math.round(f*l)/l}class An{}const Xn=new Set(["width","height","minWidth","minHeight","maxWidth","maxHeight","left","top","bottom","right","fontSize","outlineWidth","outlineOffset","paddingTop","paddingLeft","paddingBottom","paddingRight","marginTop","marginLeft","marginBottom","marginRight","borderRadius","borderWidth","borderTopWidth","borderLeftWidth","borderRightWidth","borderBottomWidth","textIndent","perspective"]);class yc extends An{normalizePropertyName(d,l){return Ue(d)}normalizeStyleValue(d,l,m,L){let R="";const ht=m.toString().trim();if(Xn.has(l)&&0!==m&&"0"!==m)if("number"==typeof m)R="px";else{const Pt=m.match(/^[+-]?[\d\.]+([a-z]*)$/);Pt&&0==Pt[1].length&&L.push(function ec(f,d){return new a.wOt(3005,!1)}())}return ht+R}}function rr(f,d,l,m,L,R,ht,Pt,Ft,qt,Ae,$e,mn){return{type:0,element:f,triggerName:d,isRemovalTransition:L,fromState:l,fromStyles:R,toState:m,toStyles:ht,timelines:Pt,queriedElements:Ft,preStyleProps:qt,postStyleProps:Ae,totalTime:$e,errors:mn}}const Kc={};class Gc{constructor(d,l,m){this._triggerName=d,this.ast=l,this._stateStyles=m}match(d,l,m,L){return function Qa(f,d,l,m,L){return f.some(R=>R(d,l,m,L))}(this.ast.matchers,d,l,m,L)}buildStyles(d,l,m){let L=this._stateStyles.get("*");return void 0!==d&&(L=this._stateStyles.get(d?.toString())||L),L?L.buildStyles(l,m):new Map}build(d,l,m,L,R,ht,Pt,Ft,qt,Ae){const $e=[],mn=this.ast.options&&this.ast.options.params||Kc,dn=this.buildStyles(m,Pt&&Pt.params||Kc,$e),wn=Ft&&Ft.params||Kc,ri=this.buildStyles(L,wn,$e),fi=new Set,oo=new Map,No=new Map,ao="void"===L,Er={params:Wl(wn,mn),delay:this.ast.options?.delay},Xo=Ae?[]:x(d,l,this.ast.animation,R,ht,dn,ri,Er,qt,$e);let Ro=0;if(Xo.forEach(ar=>{Ro=Math.max(ar.duration+ar.delay,Ro)}),$e.length)return rr(l,this._triggerName,m,L,ao,dn,ri,[],[],oo,No,Ro,$e);Xo.forEach(ar=>{const cc=ar.element,h2=$i(oo,cc,new Set);ar.preStyleProps.forEach(lr=>h2.add(lr));const ls=$i(No,cc,new Set);ar.postStyleProps.forEach(lr=>ls.add(lr)),cc!==l&&fi.add(cc)});const oc=ie(fi.values());return rr(l,this._triggerName,m,L,ao,dn,ri,Xo,oc,oo,No,Ro)}}function Wl(f,d){const l=no(d);for(const m in f)f.hasOwnProperty(m)&&null!=f[m]&&(l[m]=f[m]);return l}class Io{constructor(d,l,m){this.styles=d,this.defaultParams=l,this.normalizer=m}buildStyles(d,l){const m=new Map,L=no(this.defaultParams);return Object.keys(d).forEach(R=>{const ht=d[R];null!==ht&&(L[R]=ht)}),this.styles.styles.forEach(R=>{"string"!=typeof R&&R.forEach((ht,Pt)=>{ht&&(ht=St(ht,L,l));const Ft=this.normalizer.normalizePropertyName(Pt,l);ht=this.normalizer.normalizeStyleValue(Pt,Ft,ht,l),m.set(Pt,ht)})}),m}}class Ei{constructor(d,l,m){this.name=d,this.ast=l,this._normalizer=m,this.transitionFactories=[],this.states=new Map,l.states.forEach(L=>{this.states.set(L.name,new Io(L.style,L.options&&L.options.params||{},m))}),o2(this.states,"true","1"),o2(this.states,"false","0"),l.transitions.forEach(L=>{this.transitionFactories.push(new Gc(d,L,this.states))}),this.fallbackTransition=function n2(f,d,l){return new Gc(f,{type:1,animation:{type:2,steps:[],options:null},matchers:[(ht,Pt)=>!0],options:null,queryCount:0,depCount:0},d)}(d,this.states)}get containsQueries(){return this.ast.queryCount>0}matchTransition(d,l,m,L){return this.transitionFactories.find(ht=>ht.match(d,l,m,L))||null}matchStyles(d,l,m){return this.fallbackTransition.buildStyles(d,l,m)}}function o2(f,d,l){f.has(d)?f.has(l)||f.set(l,f.get(d)):f.has(l)&&f.set(d,f.get(l))}const c2=new Hs;class Kl{constructor(d,l,m){this.bodyNode=d,this._driver=l,this._normalizer=m,this._animations=new Map,this._playersById=new Map,this.players=[]}register(d,l){const m=[],R=Re(this._driver,l,m,[]);if(m.length)throw function nr(f){return new a.wOt(3503,!1)}();this._animations.set(d,R)}_buildPlayer(d,l,m){const L=d.element,R=Cr(this._normalizer,d.keyframes,l,m);return this._driver.animate(L,R,d.duration,d.delay,d.easing,[],!0)}create(d,l,m={}){const L=[],R=this._animations.get(d);let ht;const Pt=new Map;if(R?(ht=x(this._driver,l,R,ti,Un,new Map,new Map,m,c2,L),ht.forEach(Ae=>{const $e=$i(Pt,Ae.element,new Map);Ae.postStyleProps.forEach(mn=>$e.set(mn,null))})):(L.push(function bc(){return new a.wOt(3300,!1)}()),ht=[]),L.length)throw function Uc(f){return new a.wOt(3504,!1)}();Pt.forEach((Ae,$e)=>{Ae.forEach((mn,Pn)=>{Ae.set(Pn,this._driver.computeStyle($e,Pn,S.kp))})});const qt=po(ht.map(Ae=>{const $e=Pt.get(Ae.element);return this._buildPlayer(Ae,new Map,$e)}));return this._playersById.set(d,qt),qt.onDestroy(()=>this.destroy(d)),this.players.push(qt),qt}destroy(d){const l=this._getPlayer(d);l.destroy(),this._playersById.delete(d);const m=this.players.indexOf(l);m>=0&&this.players.splice(m,1)}_getPlayer(d){const l=this._playersById.get(d);if(!l)throw function ir(f){return new a.wOt(3301,!1)}();return l}listen(d,l,m,L){const R=Ic(l,"","","");return or(this._getPlayer(d),m,R,L),()=>{}}command(d,l,m,L){if("register"==m)return void this.register(d,L[0]);if("create"==m)return void this.create(d,l,L[0]||{});const R=this._getPlayer(d);switch(m){case"play":R.play();break;case"pause":R.pause();break;case"reset":R.reset();break;case"restart":R.restart();break;case"finish":R.finish();break;case"init":R.init();break;case"setPosition":R.setPosition(parseFloat(L[0]));break;case"destroy":this.destroy(d)}}}const Za="ng-animate-queued",es="ng-animate-disabled",Ws=[],xs={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},ns={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},Mc="__ng_removed";class Ks{get params(){return this.options.params}constructor(d,l=""){this.namespaceId=l;const m=d&&d.hasOwnProperty("value");if(this.value=function Sd(f){return f??null}(m?d.value:d),m){const R=no(d);delete R.value,this.options=R}else this.options={};this.options.params||(this.options.params={})}absorbOptions(d){const l=d.params;if(l){const m=this.options.params;Object.keys(l).forEach(L=>{null==m[L]&&(m[L]=l[L])})}}}const Cs="void",wr=new Ks(Cs);class ys{constructor(d,l,m){this.id=d,this.hostElement=l,this._engine=m,this.players=[],this._triggers=new Map,this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+d,_o(l,this._hostClassName)}listen(d,l,m,L){if(!this._triggers.has(l))throw function br(f,d){return new a.wOt(3302,!1)}();if(null==m||0==m.length)throw function vr(f){return new a.wOt(3303,!1)}();if(!function Xl(f){return"start"==f||"done"==f}(m))throw function Rr(f,d){return new a.wOt(3400,!1)}();const R=$i(this._elementListeners,d,[]),ht={name:l,phase:m,callback:L};R.push(ht);const Pt=$i(this._engine.statesByElement,d,new Map);return Pt.has(l)||(_o(d,Sn),_o(d,Sn+"-"+l),Pt.set(l,wr)),()=>{this._engine.afterFlush(()=>{const Ft=R.indexOf(ht);Ft>=0&&R.splice(Ft,1),this._triggers.has(l)||Pt.delete(l)})}}register(d,l){return!this._triggers.has(d)&&(this._triggers.set(d,l),!0)}_getTrigger(d){const l=this._triggers.get(d);if(!l)throw function Ac(f){return new a.wOt(3401,!1)}();return l}trigger(d,l,m,L=!0){const R=this._getTrigger(l),ht=new a2(this.id,l,d);let Pt=this._engine.statesByElement.get(d);Pt||(_o(d,Sn),_o(d,Sn+"-"+l),this._engine.statesByElement.set(d,Pt=new Map));let Ft=Pt.get(l);const qt=new Ks(m,this.id);if(!(m&&m.hasOwnProperty("value"))&&Ft&&qt.absorbOptions(Ft.options),Pt.set(l,qt),Ft||(Ft=wr),qt.value!==Cs&&Ft.value===qt.value){if(!function Zl(f,d){const l=Object.keys(f),m=Object.keys(d);if(l.length!=m.length)return!1;for(let L=0;L{Go(d,ri),io(d,fi)})}return}const mn=$i(this._engine.playersByElement,d,[]);mn.forEach(wn=>{wn.namespaceId==this.id&&wn.triggerName==l&&wn.queued&&wn.destroy()});let Pn=R.matchTransition(Ft.value,qt.value,d,qt.params),dn=!1;if(!Pn){if(!L)return;Pn=R.fallbackTransition,dn=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:d,triggerName:l,transition:Pn,fromState:Ft,toState:qt,player:ht,isFallbackTransition:dn}),dn||(_o(d,Za),ht.onStart(()=>{is(d,Za)})),ht.onDone(()=>{let wn=this.players.indexOf(ht);wn>=0&&this.players.splice(wn,1);const ri=this._engine.playersByElement.get(d);if(ri){let fi=ri.indexOf(ht);fi>=0&&ri.splice(fi,1)}}),this.players.push(ht),mn.push(ht),ht}deregister(d){this._triggers.delete(d),this._engine.statesByElement.forEach(l=>l.delete(d)),this._elementListeners.forEach((l,m)=>{this._elementListeners.set(m,l.filter(L=>L.name!=d))})}clearElementCache(d){this._engine.statesByElement.delete(d),this._elementListeners.delete(d);const l=this._engine.playersByElement.get(d);l&&(l.forEach(m=>m.destroy()),this._engine.playersByElement.delete(d))}_signalRemovalForInnerTriggers(d,l){const m=this._engine.driver.query(d,Zn,!0);m.forEach(L=>{if(L[Mc])return;const R=this._engine.fetchNamespacesByElement(L);R.size?R.forEach(ht=>ht.triggerLeaveAnimation(L,l,!1,!0)):this.clearElementCache(L)}),this._engine.afterFlushAnimationsDone(()=>m.forEach(L=>this.clearElementCache(L)))}triggerLeaveAnimation(d,l,m,L){const R=this._engine.statesByElement.get(d),ht=new Map;if(R){const Pt=[];if(R.forEach((Ft,qt)=>{if(ht.set(qt,Ft.value),this._triggers.has(qt)){const Ae=this.trigger(d,qt,Cs,L);Ae&&Pt.push(Ae)}}),Pt.length)return this._engine.markElementAsRemoved(this.id,d,!0,l,ht),m&&po(Pt).onDone(()=>this._engine.processLeaveNode(d)),!0}return!1}prepareLeaveAnimationListeners(d){const l=this._elementListeners.get(d),m=this._engine.statesByElement.get(d);if(l&&m){const L=new Set;l.forEach(R=>{const ht=R.name;if(L.has(ht))return;L.add(ht);const Ft=this._triggers.get(ht).fallbackTransition,qt=m.get(ht)||wr,Ae=new Ks(Cs),$e=new a2(this.id,ht,d);this._engine.totalQueuedPlayers++,this._queue.push({element:d,triggerName:ht,transition:Ft,fromState:qt,toState:Ae,player:$e,isFallbackTransition:!0})})}}removeNode(d,l){const m=this._engine;if(d.childElementCount&&this._signalRemovalForInnerTriggers(d,l),this.triggerLeaveAnimation(d,l,!0))return;let L=!1;if(m.totalAnimations){const R=m.players.length?m.playersByQueriedElement.get(d):[];if(R&&R.length)L=!0;else{let ht=d;for(;ht=ht.parentNode;)if(m.statesByElement.get(ht)){L=!0;break}}}if(this.prepareLeaveAnimationListeners(d),L)m.markElementAsRemoved(this.id,d,!1,l);else{const R=d[Mc];(!R||R===xs)&&(m.afterFlush(()=>this.clearElementCache(d)),m.destroyInnerAnimations(d),m._onRemovalComplete(d,l))}}insertNode(d,l){_o(d,this._hostClassName)}drainQueuedTransitions(d){const l=[];return this._queue.forEach(m=>{const L=m.player;if(L.destroyed)return;const R=m.element,ht=this._elementListeners.get(R);ht&&ht.forEach(Pt=>{if(Pt.name==m.triggerName){const Ft=Ic(R,m.triggerName,m.fromState.value,m.toState.value);Ft._data=d,or(m.player,Pt.phase,Ft,Pt.callback)}}),L.markedForDestroy?this._engine.afterFlush(()=>{L.destroy()}):l.push(m)}),this._queue=[],l.sort((m,L)=>{const R=m.transition.ast.depCount,ht=L.transition.ast.depCount;return 0==R||0==ht?R-ht:this._engine.driver.containsElement(m.element,L.element)?1:-1})}destroy(d){this.players.forEach(l=>l.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,d)}}class s2{_onRemovalComplete(d,l){this.onRemovalComplete(d,l)}constructor(d,l,m){this.bodyNode=d,this.driver=l,this._normalizer=m,this.players=[],this.newHostElements=new Map,this.playersByElement=new Map,this.playersByQueriedElement=new Map,this.statesByElement=new Map,this.disabledNodes=new Set,this.totalAnimations=0,this.totalQueuedPlayers=0,this._namespaceLookup={},this._namespaceList=[],this._flushFns=[],this._whenQuietFns=[],this.namespacesByHostElement=new Map,this.collectedEnterElements=[],this.collectedLeaveElements=[],this.onRemovalComplete=(L,R)=>{}}get queuedPlayers(){const d=[];return this._namespaceList.forEach(l=>{l.players.forEach(m=>{m.queued&&d.push(m)})}),d}createNamespace(d,l){const m=new ys(d,l,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,l)?this._balanceNamespaceList(m,l):(this.newHostElements.set(l,m),this.collectEnterElement(l)),this._namespaceLookup[d]=m}_balanceNamespaceList(d,l){const m=this._namespaceList,L=this.namespacesByHostElement;if(m.length-1>=0){let ht=!1,Pt=this.driver.getParentElement(l);for(;Pt;){const Ft=L.get(Pt);if(Ft){const qt=m.indexOf(Ft);m.splice(qt+1,0,d),ht=!0;break}Pt=this.driver.getParentElement(Pt)}ht||m.unshift(d)}else m.push(d);return L.set(l,d),d}register(d,l){let m=this._namespaceLookup[d];return m||(m=this.createNamespace(d,l)),m}registerTrigger(d,l,m){let L=this._namespaceLookup[d];L&&L.register(l,m)&&this.totalAnimations++}destroy(d,l){d&&(this.afterFlush(()=>{}),this.afterFlushAnimationsDone(()=>{const m=this._fetchNamespace(d);this.namespacesByHostElement.delete(m.hostElement);const L=this._namespaceList.indexOf(m);L>=0&&this._namespaceList.splice(L,1),m.destroy(l),delete this._namespaceLookup[d]}))}_fetchNamespace(d){return this._namespaceLookup[d]}fetchNamespacesByElement(d){const l=new Set,m=this.statesByElement.get(d);if(m)for(let L of m.values())if(L.namespaceId){const R=this._fetchNamespace(L.namespaceId);R&&l.add(R)}return l}trigger(d,l,m,L){if(Xs(l)){const R=this._fetchNamespace(d);if(R)return R.trigger(l,m,L),!0}return!1}insertNode(d,l,m,L){if(!Xs(l))return;const R=l[Mc];if(R&&R.setForRemoval){R.setForRemoval=!1,R.setForMove=!0;const ht=this.collectedLeaveElements.indexOf(l);ht>=0&&this.collectedLeaveElements.splice(ht,1)}if(d){const ht=this._fetchNamespace(d);ht&&ht.insertNode(l,m)}L&&this.collectEnterElement(l)}collectEnterElement(d){this.collectedEnterElements.push(d)}markElementAsDisabled(d,l){l?this.disabledNodes.has(d)||(this.disabledNodes.add(d),_o(d,es)):this.disabledNodes.has(d)&&(this.disabledNodes.delete(d),is(d,es))}removeNode(d,l,m){if(Xs(l)){const L=d?this._fetchNamespace(d):null;L?L.removeNode(l,m):this.markElementAsRemoved(d,l,!1,m);const R=this.namespacesByHostElement.get(l);R&&R.id!==d&&R.removeNode(l,m)}else this._onRemovalComplete(l,m)}markElementAsRemoved(d,l,m,L,R){this.collectedLeaveElements.push(l),l[Mc]={namespaceId:d,setForRemoval:L,hasAnimation:m,removedBeforeQueried:!1,previousTriggersValues:R}}listen(d,l,m,L,R){return Xs(l)?this._fetchNamespace(d).listen(l,m,L,R):()=>{}}_buildInstruction(d,l,m,L,R){return d.transition.build(this.driver,d.element,d.fromState.value,d.toState.value,m,L,d.fromState.options,d.toState.options,l,R)}destroyInnerAnimations(d){let l=this.driver.query(d,Zn,!0);l.forEach(m=>this.destroyActiveAnimationsForElement(m)),0!=this.playersByQueriedElement.size&&(l=this.driver.query(d,vi,!0),l.forEach(m=>this.finishActiveQueriedAnimationOnElement(m)))}destroyActiveAnimationsForElement(d){const l=this.playersByElement.get(d);l&&l.forEach(m=>{m.queued?m.markedForDestroy=!0:m.destroy()})}finishActiveQueriedAnimationOnElement(d){const l=this.playersByQueriedElement.get(d);l&&l.forEach(m=>m.finish())}whenRenderingDone(){return new Promise(d=>{if(this.players.length)return po(this.players).onDone(()=>d());d()})}processLeaveNode(d){const l=d[Mc];if(l&&l.setForRemoval){if(d[Mc]=xs,l.namespaceId){this.destroyInnerAnimations(d);const m=this._fetchNamespace(l.namespaceId);m&&m.clearElementCache(d)}this._onRemovalComplete(d,l.setForRemoval)}d.classList?.contains(es)&&this.markElementAsDisabled(d,!1),this.driver.query(d,".ng-animate-disabled",!0).forEach(m=>{this.markElementAsDisabled(m,!1)})}flush(d=-1){let l=[];if(this.newHostElements.size&&(this.newHostElements.forEach((m,L)=>this._balanceNamespaceList(m,L)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let m=0;mm()),this._flushFns=[],this._whenQuietFns.length){const m=this._whenQuietFns;this._whenQuietFns=[],l.length?po(l).onDone(()=>{m.forEach(L=>L())}):m.forEach(L=>L())}}reportError(d){throw function _r(f){return new a.wOt(3402,!1)}()}_flushAnimations(d,l){const m=new Hs,L=[],R=new Map,ht=[],Pt=new Map,Ft=new Map,qt=new Map,Ae=new Set;this.disabledNodes.forEach(fn=>{Ae.add(fn);const Ln=this.driver.query(fn,".ng-animate-queued",!0);for(let yn=0;yn{const yn=ti+wn++;dn.set(Ln,yn),fn.forEach(Yn=>_o(Yn,yn))});const ri=[],fi=new Set,oo=new Set;for(let fn=0;fnfi.add(Yn)):oo.add(Ln))}const No=new Map,ao=Ys(mn,Array.from(fi));ao.forEach((fn,Ln)=>{const yn=Un+wn++;No.set(Ln,yn),fn.forEach(Yn=>_o(Yn,yn))}),d.push(()=>{Pn.forEach((fn,Ln)=>{const yn=dn.get(Ln);fn.forEach(Yn=>is(Yn,yn))}),ao.forEach((fn,Ln)=>{const yn=No.get(Ln);fn.forEach(Yn=>is(Yn,yn))}),ri.forEach(fn=>{this.processLeaveNode(fn)})});const Er=[],Xo=[];for(let fn=this._namespaceList.length-1;fn>=0;fn--)this._namespaceList[fn].drainQueuedTransitions(l).forEach(yn=>{const Yn=yn.player,Zi=yn.element;if(Er.push(Yn),this.collectedEnterElements.length){const Co=Zi[Mc];if(Co&&Co.setForMove){if(Co.previousTriggersValues&&Co.previousTriggersValues.has(yn.triggerName)){const Fc=Co.previousTriggersValues.get(yn.triggerName),rc=this.statesByElement.get(yn.element);if(rc&&rc.has(yn.triggerName)){const ia=rc.get(yn.triggerName);ia.value=Fc,rc.set(yn.triggerName,ia)}}return void Yn.destroy()}}const dr=!$e||!this.driver.containsElement($e,Zi),Yo=No.get(Zi),Dr=dn.get(Zi),Di=this._buildInstruction(yn,m,Dr,Yo,dr);if(Di.errors&&Di.errors.length)return void Xo.push(Di);if(dr)return Yn.onStart(()=>Go(Zi,Di.fromStyles)),Yn.onDestroy(()=>io(Zi,Di.toStyles)),void L.push(Yn);if(yn.isFallbackTransition)return Yn.onStart(()=>Go(Zi,Di.fromStyles)),Yn.onDestroy(()=>io(Zi,Di.toStyles)),void L.push(Yn);const p2=[];Di.timelines.forEach(Co=>{Co.stretchStartingKeyframe=!0,this.disabledNodes.has(Co.element)||p2.push(Co)}),Di.timelines=p2,m.append(Zi,Di.timelines),ht.push({instruction:Di,player:Yn,element:Zi}),Di.queriedElements.forEach(Co=>$i(Pt,Co,[]).push(Yn)),Di.preStyleProps.forEach((Co,Fc)=>{if(Co.size){let rc=Ft.get(Fc);rc||Ft.set(Fc,rc=new Set),Co.forEach((ia,oa)=>rc.add(oa))}}),Di.postStyleProps.forEach((Co,Fc)=>{let rc=qt.get(Fc);rc||qt.set(Fc,rc=new Set),Co.forEach((ia,oa)=>rc.add(oa))})});if(Xo.length){const fn=[];Xo.forEach(Ln=>{fn.push(function vc(f,d){return new a.wOt(3505,!1)}())}),Er.forEach(Ln=>Ln.destroy()),this.reportError(fn)}const Ro=new Map,oc=new Map;ht.forEach(fn=>{const Ln=fn.element;m.has(Ln)&&(oc.set(Ln,Ln),this._beforeAnimationBuild(fn.player.namespaceId,fn.instruction,Ro))}),L.forEach(fn=>{const Ln=fn.element;this._getPreviousPlayers(Ln,!1,fn.namespaceId,fn.triggerName,null).forEach(Yn=>{$i(Ro,Ln,[]).push(Yn),Yn.destroy()})});const ar=ri.filter(fn=>qa(fn,Ft,qt)),cc=new Map;Ql(cc,this.driver,oo,qt,S.kp).forEach(fn=>{qa(fn,Ft,qt)&&ar.push(fn)});const ls=new Map;Pn.forEach((fn,Ln)=>{Ql(ls,this.driver,new Set(fn),Ft,S.FX)}),ar.forEach(fn=>{const Ln=cc.get(fn),yn=ls.get(fn);cc.set(fn,new Map([...Ln?.entries()??[],...yn?.entries()??[]]))});const lr=[],Ss=[],na={};ht.forEach(fn=>{const{element:Ln,player:yn,instruction:Yn}=fn;if(m.has(Ln)){if(Ae.has(Ln))return yn.onDestroy(()=>io(Ln,Yn.toStyles)),yn.disabled=!0,yn.overrideTotalTime(Yn.totalTime),void L.push(yn);let Zi=na;if(oc.size>1){let Yo=Ln;const Dr=[];for(;Yo=Yo.parentNode;){const Di=oc.get(Yo);if(Di){Zi=Di;break}Dr.push(Yo)}Dr.forEach(Di=>oc.set(Di,Zi))}const dr=this._buildAnimation(yn.namespaceId,Yn,Ro,R,ls,cc);if(yn.setRealPlayer(dr),Zi===na)lr.push(yn);else{const Yo=this.playersByElement.get(Zi);Yo&&Yo.length&&(yn.parentPlayer=po(Yo)),L.push(yn)}}else Go(Ln,Yn.fromStyles),yn.onDestroy(()=>io(Ln,Yn.toStyles)),Ss.push(yn),Ae.has(Ln)&&L.push(yn)}),Ss.forEach(fn=>{const Ln=R.get(fn.element);if(Ln&&Ln.length){const yn=po(Ln);fn.setRealPlayer(yn)}}),L.forEach(fn=>{fn.parentPlayer?fn.syncPlayerEvents(fn.parentPlayer):fn.destroy()});for(let fn=0;fn!dr.destroyed);Zi.length?Ms(this,Ln,Zi):this.processLeaveNode(Ln)}return ri.length=0,lr.forEach(fn=>{this.players.push(fn),fn.onDone(()=>{fn.destroy();const Ln=this.players.indexOf(fn);this.players.splice(Ln,1)}),fn.play()}),lr}afterFlush(d){this._flushFns.push(d)}afterFlushAnimationsDone(d){this._whenQuietFns.push(d)}_getPreviousPlayers(d,l,m,L,R){let ht=[];if(l){const Pt=this.playersByQueriedElement.get(d);Pt&&(ht=Pt)}else{const Pt=this.playersByElement.get(d);if(Pt){const Ft=!R||R==Cs;Pt.forEach(qt=>{qt.queued||!Ft&&qt.triggerName!=L||ht.push(qt)})}}return(m||L)&&(ht=ht.filter(Pt=>!(m&&m!=Pt.namespaceId||L&&L!=Pt.triggerName))),ht}_beforeAnimationBuild(d,l,m){const R=l.element,ht=l.isRemovalTransition?void 0:d,Pt=l.isRemovalTransition?void 0:l.triggerName;for(const Ft of l.timelines){const qt=Ft.element,Ae=qt!==R,$e=$i(m,qt,[]);this._getPreviousPlayers(qt,Ae,ht,Pt,l.toState).forEach(Pn=>{const dn=Pn.getRealPlayer();dn.beforeDestroy&&dn.beforeDestroy(),Pn.destroy(),$e.push(Pn)})}Go(R,l.fromStyles)}_buildAnimation(d,l,m,L,R,ht){const Pt=l.triggerName,Ft=l.element,qt=[],Ae=new Set,$e=new Set,mn=l.timelines.map(dn=>{const wn=dn.element;Ae.add(wn);const ri=wn[Mc];if(ri&&ri.removedBeforeQueried)return new S.sf(dn.duration,dn.delay);const fi=wn!==Ft,oo=function Ja(f){const d=[];return ws(f,d),d}((m.get(wn)||Ws).map(Ro=>Ro.getRealPlayer())).filter(Ro=>!!Ro.element&&Ro.element===wn),No=R.get(wn),ao=ht.get(wn),Er=Cr(this._normalizer,dn.keyframes,No,ao),Xo=this._buildPlayer(dn,Er,oo);if(dn.subTimeline&&L&&$e.add(wn),fi){const Ro=new a2(d,Pt,wn);Ro.setRealPlayer(Xo),qt.push(Ro)}return Xo});qt.forEach(dn=>{$i(this.playersByQueriedElement,dn.element,[]).push(dn),dn.onDone(()=>function Gs(f,d,l){let m=f.get(d);if(m){if(m.length){const L=m.indexOf(l);m.splice(L,1)}0==m.length&&f.delete(d)}return m}(this.playersByQueriedElement,dn.element,dn))}),Ae.forEach(dn=>_o(dn,ii));const Pn=po(mn);return Pn.onDestroy(()=>{Ae.forEach(dn=>is(dn,ii)),io(Ft,l.toStyles)}),$e.forEach(dn=>{$i(L,dn,[]).push(Pn)}),Pn}_buildPlayer(d,l,m){return l.length>0?this.driver.animate(d.element,l,d.duration,d.delay,d.easing,m):new S.sf(d.duration,d.delay)}}class a2{constructor(d,l,m){this.namespaceId=d,this.triggerName=l,this.element=m,this._player=new S.sf,this._containsRealPlayer=!1,this._queuedCallbacks=new Map,this.destroyed=!1,this.parentPlayer=null,this.markedForDestroy=!1,this.disabled=!1,this.queued=!0,this.totalTime=0}setRealPlayer(d){this._containsRealPlayer||(this._player=d,this._queuedCallbacks.forEach((l,m)=>{l.forEach(L=>or(d,m,void 0,L))}),this._queuedCallbacks.clear(),this._containsRealPlayer=!0,this.overrideTotalTime(d.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(d){this.totalTime=d}syncPlayerEvents(d){const l=this._player;l.triggerCallback&&d.onStart(()=>l.triggerCallback("start")),d.onDone(()=>this.finish()),d.onDestroy(()=>this.destroy())}_queueEvent(d,l){$i(this._queuedCallbacks,d,[]).push(l)}onDone(d){this.queued&&this._queueEvent("done",d),this._player.onDone(d)}onStart(d){this.queued&&this._queueEvent("start",d),this._player.onStart(d)}onDestroy(d){this.queued&&this._queueEvent("destroy",d),this._player.onDestroy(d)}init(){this._player.init()}hasStarted(){return!this.queued&&this._player.hasStarted()}play(){!this.queued&&this._player.play()}pause(){!this.queued&&this._player.pause()}restart(){!this.queued&&this._player.restart()}finish(){this._player.finish()}destroy(){this.destroyed=!0,this._player.destroy()}reset(){!this.queued&&this._player.reset()}setPosition(d){this.queued||this._player.setPosition(d)}getPosition(){return this.queued?0:this._player.getPosition()}triggerCallback(d){const l=this._player;l.triggerCallback&&l.triggerCallback(d)}}function Xs(f){return f&&1===f.nodeType}function Yl(f,d){const l=f.style.display;return f.style.display=d??"none",l}function Ql(f,d,l,m,L){const R=[];l.forEach(Ft=>R.push(Yl(Ft)));const ht=[];m.forEach((Ft,qt)=>{const Ae=new Map;Ft.forEach($e=>{const mn=d.computeStyle(qt,$e,L);Ae.set($e,mn),(!mn||0==mn.length)&&(qt[Mc]=ns,ht.push(qt))}),f.set(qt,Ae)});let Pt=0;return l.forEach(Ft=>Yl(Ft,R[Pt++])),ht}function Ys(f,d){const l=new Map;if(f.forEach(Pt=>l.set(Pt,[])),0==d.length)return l;const L=new Set(d),R=new Map;function ht(Pt){if(!Pt)return 1;let Ft=R.get(Pt);if(Ft)return Ft;const qt=Pt.parentNode;return Ft=l.has(qt)?qt:L.has(qt)?1:ht(qt),R.set(Pt,Ft),Ft}return d.forEach(Pt=>{const Ft=ht(Pt);1!==Ft&&l.get(Ft).push(Pt)}),l}function _o(f,d){f.classList?.add(d)}function is(f,d){f.classList?.remove(d)}function Ms(f,d,l){po(l).onDone(()=>f.processLeaveNode(d))}function ws(f,d){for(let l=0;lL.add(R)):d.set(f,m),l.delete(f),!0}class os{constructor(d,l,m){this.bodyNode=d,this._driver=l,this._normalizer=m,this._triggerCache={},this.onRemovalComplete=(L,R)=>{},this._transitionEngine=new s2(d,l,m),this._timelineEngine=new Kl(d,l,m),this._transitionEngine.onRemovalComplete=(L,R)=>this.onRemovalComplete(L,R)}registerTrigger(d,l,m,L,R){const ht=d+"-"+L;let Pt=this._triggerCache[ht];if(!Pt){const Ft=[],Ae=Re(this._driver,R,Ft,[]);if(Ft.length)throw function Nr(f,d){return new a.wOt(3404,!1)}();Pt=function yr(f,d,l){return new Ei(f,d,l)}(L,Ae,this._normalizer),this._triggerCache[ht]=Pt}this._transitionEngine.registerTrigger(l,L,Pt)}register(d,l){this._transitionEngine.register(d,l)}destroy(d,l){this._transitionEngine.destroy(d,l)}onInsert(d,l,m,L){this._transitionEngine.insertNode(d,l,m,L)}onRemove(d,l,m){this._transitionEngine.removeNode(d,l,m)}disableAnimations(d,l){this._transitionEngine.markElementAsDisabled(d,l)}process(d,l,m,L){if("@"==m.charAt(0)){const[R,ht]=Fr(m);this._timelineEngine.command(R,l,ht,L)}else this._transitionEngine.trigger(d,l,m,L)}listen(d,l,m,L,R){if("@"==m.charAt(0)){const[ht,Pt]=Fr(m);return this._timelineEngine.listen(ht,l,Pt,R)}return this._transitionEngine.listen(d,l,m,L,R)}flush(d=-1){this._transitionEngine.flush(d)}get players(){return[...this._transitionEngine.players,...this._timelineEngine.players]}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}afterFlushAnimationsDone(d){this._transitionEngine.afterFlushAnimationsDone(d)}}let Xc=(()=>{class f{static{this.initialStylesByElement=new WeakMap}constructor(l,m,L){this._element=l,this._startStyles=m,this._endStyles=L,this._state=0;let R=f.initialStylesByElement.get(l);R||f.initialStylesByElement.set(l,R=new Map),this._initialStyles=R}start(){this._state<1&&(this._startStyles&&io(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(io(this._element,this._initialStyles),this._endStyles&&(io(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(f.initialStylesByElement.delete(this._element),this._startStyles&&(Go(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(Go(this._element,this._endStyles),this._endStyles=null),io(this._element,this._initialStyles),this._state=3)}}return f})();function t1(f){let d=null;return f.forEach((l,m)=>{(function Qs(f){return"display"===f||"position"===f})(m)&&(d=d||new Map,d.set(m,l))}),d}class Zs{constructor(d,l,m,L){this.element=d,this.keyframes=l,this.options=m,this._specialStyles=L,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._initialized=!1,this._finished=!1,this._started=!1,this._destroyed=!1,this._originalOnDoneFns=[],this._originalOnStartFns=[],this.time=0,this.parentPlayer=null,this.currentSnapshot=new Map,this._duration=m.duration,this._delay=m.delay||0,this.time=this._duration+this._delay}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(d=>d()),this._onDoneFns=[])}init(){this._buildPlayer(),this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return;this._initialized=!0;const d=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,d,this.options),this._finalKeyframe=d.length?d[d.length-1]:new Map;const l=()=>this._onFinish();this.domPlayer.addEventListener("finish",l),this.onDestroy(()=>{this.domPlayer.removeEventListener("finish",l)})}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}_convertKeyframesToObject(d){const l=[];return d.forEach(m=>{l.push(Object.fromEntries(m))}),l}_triggerWebAnimation(d,l,m){return d.animate(this._convertKeyframesToObject(l),m)}onStart(d){this._originalOnStartFns.push(d),this._onStartFns.push(d)}onDone(d){this._originalOnDoneFns.push(d),this._onDoneFns.push(d)}onDestroy(d){this._onDestroyFns.push(d)}play(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach(d=>d()),this._onStartFns=[],this._started=!0,this._specialStyles&&this._specialStyles.start()),this.domPlayer.play()}pause(){this.init(),this.domPlayer.pause()}finish(){this.init(),this._specialStyles&&this._specialStyles.finish(),this._onFinish(),this.domPlayer.finish()}reset(){this._resetDomPlayerState(),this._destroyed=!1,this._finished=!1,this._started=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}_resetDomPlayerState(){this.domPlayer&&this.domPlayer.cancel()}restart(){this.reset(),this.play()}hasStarted(){return this._started}destroy(){this._destroyed||(this._destroyed=!0,this._resetDomPlayerState(),this._onFinish(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach(d=>d()),this._onDestroyFns=[])}setPosition(d){void 0===this.domPlayer&&this.init(),this.domPlayer.currentTime=d*this.time}getPosition(){return+(this.domPlayer.currentTime??0)/this.time}get totalTime(){return this._delay+this._duration}beforeDestroy(){const d=new Map;this.hasStarted()&&this._finalKeyframe.forEach((m,L)=>{"offset"!==L&&d.set(L,this._finished?m:Kn(this.element,L))}),this.currentSnapshot=d}triggerCallback(d){const l="start"===d?this._onStartFns:this._onDoneFns;l.forEach(m=>m()),l.length=0}}class Ls{validateStyleProperty(d){return!0}validateAnimatableStyleProperty(d){return!0}matchesElement(d,l){return!1}containsElement(d,l){return W(d,l)}getParentElement(d){return jc(d)}query(d,l,m){return E(d,l,m)}computeStyle(d,l,m){return window.getComputedStyle(d)[l]}animate(d,l,m,L,R,ht=[]){const Ft={duration:m,delay:L,fill:0==L?"both":"forwards"};R&&(Ft.easing=R);const qt=new Map,Ae=ht.filter(Pn=>Pn instanceof Zs);(function nn(f,d){return 0===f||0===d})(m,L)&&Ae.forEach(Pn=>{Pn.currentSnapshot.forEach((dn,wn)=>qt.set(wn,dn))});let $e=function Ci(f){return f.length?f[0]instanceof Map?f:f.map(d=>Ai(d)):[]}(l).map(Pn=>Wn(Pn));$e=function vn(f,d,l){if(l.size&&d.length){let m=d[0],L=[];if(l.forEach((R,ht)=>{m.has(ht)||L.push(ht),m.set(ht,R)}),L.length)for(let R=1;Rht.set(Pt,Kn(f,Pt)))}}return d}(d,$e,qt);const mn=function Jl(f,d){let l=null,m=null;return Array.isArray(d)&&d.length?(l=t1(d[0]),d.length>1&&(m=t1(d[d.length-1]))):d instanceof Map&&(l=t1(d)),l||m?new Xc(f,l,m):null}(d,$e);return new Zs(d,$e,Ft,mn)}}let Js=(()=>{class f extends S.S6{constructor(l,m){super(),this._nextAnimationId=0,this._renderer=l.createRenderer(m.body,{id:"0",encapsulation:a.gXe.None,styles:[],data:{animation:[]}})}build(l){const m=this._nextAnimationId.toString();this._nextAnimationId++;const L=Array.isArray(l)?(0,S.K2)(l):l;return qs(this._renderer,null,m,"register",[L]),new e1(m,this._renderer)}static{this.\u0275fac=function(m){return new(m||f)(a.KVO(a._9s),a.KVO(b.qQ))}}static{this.\u0275prov=a.jDH({token:f,factory:f.\u0275fac})}}return f})();class e1 extends S.Ro{constructor(d,l){super(),this._id=d,this._renderer=l}create(d,l){return new ql(this._id,d,l||{},this._renderer)}}class ql{constructor(d,l,m,L){this.id=d,this.element=l,this._renderer=L,this.parentPlayer=null,this._started=!1,this.totalTime=0,this._command("create",m)}_listen(d,l){return this._renderer.listen(this.element,`@@${this.id}:${d}`,l)}_command(d,...l){return qs(this._renderer,this.element,this.id,d,l)}onDone(d){this._listen("done",d)}onStart(d){this._listen("start",d)}onDestroy(d){this._listen("destroy",d)}init(){this._command("init")}hasStarted(){return this._started}play(){this._command("play"),this._started=!0}pause(){this._command("pause")}restart(){this._command("restart")}finish(){this._command("finish")}destroy(){this._command("destroy")}reset(){this._command("reset"),this._started=!1}setPosition(d){this._command("setPosition",d)}getPosition(){return this._renderer.engine.players[+this.id]?.getPosition()??0}}function qs(f,d,l,m,L){return f.setProperty(d,`@@${l}:${m}`,L)}const n1="@.disabled";let o1=(()=>{class f{constructor(l,m,L){this.delegate=l,this.engine=m,this._zone=L,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,m.onRemovalComplete=(R,ht)=>{const Pt=ht?.parentNode(R);Pt&&ht.removeChild(Pt,R)}}createRenderer(l,m){const R=this.delegate.createRenderer(l,m);if(!(l&&m&&m.data&&m.data.animation)){let Ae=this._rendererCache.get(R);return Ae||(Ae=new l2("",R,this.engine,()=>this._rendererCache.delete(R)),this._rendererCache.set(R,Ae)),Ae}const ht=m.id,Pt=m.id+"-"+this._currentId;this._currentId++,this.engine.register(Pt,l);const Ft=Ae=>{Array.isArray(Ae)?Ae.forEach(Ft):this.engine.registerTrigger(ht,Pt,l,Ae.name,Ae)};return m.data.animation.forEach(Ft),new ta(this,Pt,R,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){queueMicrotask(()=>{this._microtaskId++})}scheduleListenerCallback(l,m,L){l>=0&&lm(L)):(0==this._animationCallbacksBuffer.length&&queueMicrotask(()=>{this._zone.run(()=>{this._animationCallbacksBuffer.forEach(R=>{const[ht,Pt]=R;ht(Pt)}),this._animationCallbacksBuffer=[]})}),this._animationCallbacksBuffer.push([m,L]))}end(){this._cdRecurDepth--,0==this._cdRecurDepth&&this._zone.runOutsideAngular(()=>{this._scheduleCountTask(),this.engine.flush(this._microtaskId)}),this.delegate.end&&this.delegate.end()}whenRenderingDone(){return this.engine.whenRenderingDone()}static{this.\u0275fac=function(m){return new(m||f)(a.KVO(a._9s),a.KVO(os),a.KVO(a.SKi))}}static{this.\u0275prov=a.jDH({token:f,factory:f.\u0275fac})}}return f})();class l2{constructor(d,l,m,L){this.namespaceId=d,this.delegate=l,this.engine=m,this._onDestroy=L}get data(){return this.delegate.data}destroyNode(d){this.delegate.destroyNode?.(d)}destroy(){this.engine.destroy(this.namespaceId,this.delegate),this.engine.afterFlushAnimationsDone(()=>{queueMicrotask(()=>{this.delegate.destroy()})}),this._onDestroy?.()}createElement(d,l){return this.delegate.createElement(d,l)}createComment(d){return this.delegate.createComment(d)}createText(d){return this.delegate.createText(d)}appendChild(d,l){this.delegate.appendChild(d,l),this.engine.onInsert(this.namespaceId,l,d,!1)}insertBefore(d,l,m,L=!0){this.delegate.insertBefore(d,l,m),this.engine.onInsert(this.namespaceId,l,d,L)}removeChild(d,l,m){this.engine.onRemove(this.namespaceId,l,this.delegate)}selectRootElement(d,l){return this.delegate.selectRootElement(d,l)}parentNode(d){return this.delegate.parentNode(d)}nextSibling(d){return this.delegate.nextSibling(d)}setAttribute(d,l,m,L){this.delegate.setAttribute(d,l,m,L)}removeAttribute(d,l,m){this.delegate.removeAttribute(d,l,m)}addClass(d,l){this.delegate.addClass(d,l)}removeClass(d,l){this.delegate.removeClass(d,l)}setStyle(d,l,m,L){this.delegate.setStyle(d,l,m,L)}removeStyle(d,l,m){this.delegate.removeStyle(d,l,m)}setProperty(d,l,m){"@"==l.charAt(0)&&l==n1?this.disableAnimations(d,!!m):this.delegate.setProperty(d,l,m)}setValue(d,l){this.delegate.setValue(d,l)}listen(d,l,m){return this.delegate.listen(d,l,m)}disableAnimations(d,l){this.engine.disableAnimations(d,l)}}class ta extends l2{constructor(d,l,m,L,R){super(l,m,L,R),this.factory=d,this.namespaceId=l}setProperty(d,l,m){"@"==l.charAt(0)?"."==l.charAt(1)&&l==n1?this.disableAnimations(d,m=void 0===m||!!m):this.engine.process(this.namespaceId,d,l.slice(1),m):this.delegate.setProperty(d,l,m)}listen(d,l,m){if("@"==l.charAt(0)){const L=function Lr(f){switch(f){case"body":return document.body;case"document":return document;case"window":return window;default:return f}}(d);let R=l.slice(1),ht="";return"@"!=R.charAt(0)&&([R,ht]=function t0(f){const d=f.indexOf(".");return[f.substring(0,d),f.slice(d+1)]}(R)),this.engine.listen(this.namespaceId,L,R,ht,Pt=>{this.factory.scheduleListenerCallback(Pt._data||-1,m,Pt)})}return this.delegate.listen(d,l,m)}}const u2=[{provide:S.S6,useClass:Js},{provide:An,useFactory:function c1(){return new yc}},{provide:os,useClass:(()=>{class f extends os{constructor(l,m,L,R){super(l.body,m,L)}ngOnDestroy(){this.flush()}static{this.\u0275fac=function(m){return new(m||f)(a.KVO(b.qQ),a.KVO(he),a.KVO(An),a.KVO(a.o8S))}}static{this.\u0275prov=a.jDH({token:f,factory:f.\u0275fac})}}return f})()},{provide:a._9s,useFactory:function Ds(f,d,l){return new o1(f,d,l)},deps:[Sc.B7,os,a.SKi]}],xo=[{provide:he,useFactory:()=>new Ls},{provide:a.bc$,useValue:"BrowserAnimations"},...u2];let r1=(()=>{class f{constructor(l,m){this.licenseCheckService=l,this.systemConfigDataService=m}initializeLicenseCheck(){return this.systemConfigDataService.environment$.pipe((0,fe.s)(1),(0,j.n)(l=>(0,cn.G0)(l)?(0,bt.of)(!0):l.platform?.license&&"OPEN SOURCE"!==l.platform?.license&&l.platform?.licenseKey&&!this.licenseCheckService.currentLicenseCheck?this.licenseCheckService.check(l.platform.licenseKey).pipe((0,J.T)(()=>!0),(0,V.W)(()=>(0,bt.of)(!0))):(0,bt.of)(!0)))}static{this.\u0275fac=function(m){return new(m||f)(a.KVO(hn.H),a.KVO(zt.f))}}static{this.\u0275prov=a.jDH({token:f,factory:f.\u0275fac,providedIn:"root"})}}return f})(),cs=(()=>{class f{static{this.RELOAD_KEY="df-chunk-reload-at"}static{this.RELOAD_WINDOW_MS=1e4}handleError(l){if(this.isChunkLoadError(l)&&this.canReload())return sessionStorage.setItem(f.RELOAD_KEY,String(Date.now())),void window.location.reload();console.error(l)}isChunkLoadError(l){const m=l,L=m?.name??"",R=m?.message??String(l);return/ChunkLoadError/i.test(L)||/Loading (?:CSS )?chunk [\w-]+ failed/i.test(R)}canReload(){const l=Number(sessionStorage.getItem(f.RELOAD_KEY)??"0");return Date.now()-l>f.RELOAD_WINDOW_MS}static{this.\u0275fac=function(m){return new(m||f)}}static{this.\u0275prov=a.jDH({token:f,factory:f.\u0275fac})}}return f})();var rs=r(59189),Wr=r(73475),s1=r(91974),c0=r(20271);let s0=(()=>{class f{constructor(){this.http=(0,a.WQX)(uo.Qq)}getTranslation(l){const m=(0,a.naY)()?"":"/dreamfactory/dist";return this.http.get(`${m}/assets/i18n/${l}.json`)}static{this.\u0275fac=function(m){return new(m||f)}}static{this.\u0275prov=a.jDH({token:f,factory:f.\u0275fac,providedIn:"root"})}}return f})();var Kr=r(80972),a0=r(61550),l0=r(40426),f2=r(48444),as=r(39258);const a1=[{code:"en",altCodes:["en-US"]}];(0,Sc.B8)(Oc,{providers:[(0,a.oKB)(Sc.Bb,as._T),{provide:a.zcH,useClass:cs},{provide:a.hnV,useFactory:function u0(f,d){return()=>f.fetchEnvironmentData().pipe((0,V.W)(l=>{const m=(0,cn.IM)(l);return m?(d.markLocked(m.reason,m.context),(0,bt.of)(null)):d.isLocked?(0,bt.of)(null):(0,Kr.$)(()=>l)}))},deps:[zt.f,Dt.K],multi:!0},{provide:a.hnV,useFactory:function Os(f){return()=>f.initializeLicenseCheck()},deps:[r1],multi:!0},function ea(){return[...xo]}(),(0,uo.$R)((0,uo.b$)([(f,d)=>{const l=f.url.includes("/api_docs"),m=/\/system\/event(\?|$|\/)/.test(f.url),L=/\/api_builder\/test(\?|$|\/)/.test(f.url),R=/^\/api\/v2\/[^/]+\/session(\/\d+)?(\?|$)/.test(f.url)&&!/^\/api\/v2\/user\/session/.test(f.url),ht=l||m||L||R;return!f.url.startsWith("/api")||f.body instanceof FormData?d(f):d(f.clone({body:l?f.body:(0,c0.SM)(f.body)})).pipe((0,J.T)(Ft=>Ft instanceof uo.cS&&Ft.headers.get("Content-Type")?.includes("application/json")?ht?Ft:Ft.clone({body:(0,c0.qC)(Ft.body)}):Ft))},(f,d)=>{if(f.headers.has("show-loading")){const l=(0,a.WQX)(co);return l.active=!0,d(f=f.clone({headers:f.headers.delete("show-loading")})).pipe((0,s1.j)(()=>{l.active=!1}))}return d(f)},(f,d)=>{if(f.url.startsWith("/api")||f.url.startsWith("/_internal")){f=f.clone({setHeaders:{[Wr.dE]:rs.c.dfAdminApiKey}});const m=(0,a.WQX)(Gt.T).token;m&&(f=f.clone({setHeaders:{[Wr.Zl]:m}}))}return d(f)},(f,d)=>{const l=f.context.get(f2.Cc),m=f.context.get(f2.Fb),L=f.url.startsWith("/api")||f.url.startsWith("/_internal"),R=(0,a.WQX)(T.Ix),ht=(0,a.WQX)(Gt.T),Pt=(0,a.WQX)(si.L),Ft=(0,a.WQX)(Dt.K);return d(f).pipe((0,Ye.M)(qt=>{l&&qt instanceof uo.cS&&Pt.openSnackBar(l,"success")}),(0,V.W)(qt=>{if(!L)return(0,Kr.$)(()=>qt);const Ae=(0,cn.IM)(qt);if(Ae){Ft.markLocked(Ae.reason,Ae.context);const mn="silent"===m?qt:(0,mt.cQ)(qt,{url:f.url,method:f.method});return R.url.includes(M.b.TRIAL_EXPIRED)?(0,Kr.$)(()=>mn):(0,a0.H)(R.navigate([M.b.TRIAL_EXPIRED])).pipe((0,l0.Z)(()=>(0,Kr.$)(()=>mn)))}if("silent"===m)return(0,Kr.$)(()=>qt);const $e=(0,mt.cQ)(qt,{url:f.url,method:f.method});if("auth"===$e.kind){if(!R.url.startsWith(`/${M.b.AUTH}`)){ht.clearToken();const mn=R.url;return(0,a0.H)(R.navigate([M.b.AUTH,M.b.LOGIN],{queryParams:mn&&"/"!==mn?{returnUrl:mn}:void 0})).pipe((0,l0.Z)(()=>(0,Kr.$)(()=>$e)))}return(0,Kr.$)(()=>$e)}return"validation"!==$e.kind&&"toast-off"!==m&&Pt.openError($e),(0,Kr.$)(()=>$e)}))}])),(0,T.lh)(A,(0,T.GB)()),(0,at.$o)({config:{availableLangs:a1.map(f=>f.code),defaultLang:function Qi(){const f=localStorage.getItem("language")||navigator.language;if(f){const d=a1.find(l=>l.code.toLowerCase()===f.toLowerCase()||l.altCodes.map(m=>m.toLowerCase()).includes(f.toLowerCase()));if(d)return d.code}return"en"}(),reRenderOnLangChange:!0,prodMode:!(0,a.naY)()},loader:s0})]}).catch(f=>console.error(f))},85390:(Ce,Lt,r)=>{r.d(Lt,{t:()=>y});var o=r(89115);class y extends o.B{constructor(T){super(),this._value=T}get value(){return this.getValue()}_subscribe(T){const k=super._subscribe(T);return!k.closed&&T.next(this._value),k}getValue(){const{hasError:T,thrownError:k,_value:G}=this;if(T)throw k;return this._throwIfClosed(),G}next(T){super.next(this._value=T)}}},23135:(Ce,Lt,r)=>{r.d(Lt,{c:()=>Z});var o=r(13665),y=r(52693),b=r(25288),T=r(39521),k=r(16868),G=r(81989),P=r(26644);let Z=(()=>{class K{constructor(a){a&&(this._subscribe=a)}lift(a){const pt=new K;return pt.source=this,pt.operator=a,pt}subscribe(a,pt,j){const J=function q(K){return K&&K instanceof o.vU||function ot(K){return K&&(0,G.T)(K.next)&&(0,G.T)(K.error)&&(0,G.T)(K.complete)}(K)&&(0,y.Uv)(K)}(a)?a:new o.Ms(a,pt,j);return(0,P.Y)(()=>{const{operator:bt,source:Gt}=this;J.add(bt?bt.call(J,Gt):Gt?this._subscribe(J):this._trySubscribe(J))}),J}_trySubscribe(a){try{return this._subscribe(a)}catch(pt){a.error(pt)}}forEach(a,pt){return new(pt=N(pt))((j,J)=>{const bt=new o.Ms({next:Gt=>{try{a(Gt)}catch(te){J(te),bt.unsubscribe()}},error:J,complete:j});this.subscribe(bt)})}_subscribe(a){var pt;return null===(pt=this.source)||void 0===pt?void 0:pt.subscribe(a)}[b.s](){return this}pipe(...a){return(0,T.m)(a)(this)}toPromise(a){return new(a=N(a))((pt,j)=>{let J;this.subscribe(bt=>J=bt,bt=>j(bt),()=>pt(J))})}}return K.create=M=>new K(M),K})();function N(K){var M;return null!==(M=K??k.$.Promise)&&void 0!==M?M:Promise}},89115:(Ce,Lt,r)=>{r.d(Lt,{B:()=>P});var o=r(23135),y=r(52693);const T=(0,r(15471).L)(N=>function(){N(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var k=r(7450),G=r(26644);let P=(()=>{class N extends o.c{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(q){const K=new Z(this,this);return K.operator=q,K}_throwIfClosed(){if(this.closed)throw new T}next(q){(0,G.Y)(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(const K of this.currentObservers)K.next(q)}})}error(q){(0,G.Y)(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=q;const{observers:K}=this;for(;K.length;)K.shift().error(q)}})}complete(){(0,G.Y)(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;const{observers:q}=this;for(;q.length;)q.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var q;return(null===(q=this.observers)||void 0===q?void 0:q.length)>0}_trySubscribe(q){return this._throwIfClosed(),super._trySubscribe(q)}_subscribe(q){return this._throwIfClosed(),this._checkFinalizedStatuses(q),this._innerSubscribe(q)}_innerSubscribe(q){const{hasError:K,isStopped:M,observers:a}=this;return K||M?y.Kn:(this.currentObservers=null,a.push(q),new y.yU(()=>{this.currentObservers=null,(0,k.o)(a,q)}))}_checkFinalizedStatuses(q){const{hasError:K,thrownError:M,isStopped:a}=this;K?q.error(M):a&&q.complete()}asObservable(){const q=new o.c;return q.source=this,q}}return N.create=(ot,q)=>new Z(ot,q),N})();class Z extends P{constructor(ot,q){super(),this.destination=ot,this.source=q}next(ot){var q,K;null===(K=null===(q=this.destination)||void 0===q?void 0:q.next)||void 0===K||K.call(q,ot)}error(ot){var q,K;null===(K=null===(q=this.destination)||void 0===q?void 0:q.error)||void 0===K||K.call(q,ot)}complete(){var ot,q;null===(q=null===(ot=this.destination)||void 0===ot?void 0:ot.complete)||void 0===q||q.call(ot)}_subscribe(ot){var q,K;return null!==(K=null===(q=this.source)||void 0===q?void 0:q.subscribe(ot))&&void 0!==K?K:y.Kn}}},13665:(Ce,Lt,r)=>{r.d(Lt,{Ms:()=>j,vU:()=>K});var o=r(81989),y=r(52693),b=r(16868),T=r(43248),k=r(17529);const G=N("C",void 0,void 0);function N($,lt,V){return{kind:$,value:lt,error:V}}var ot=r(70228),q=r(26644);class K extends y.yU{constructor(lt){super(),this.isStopped=!1,lt?(this.destination=lt,(0,y.Uv)(lt)&<.add(this)):this.destination=te}static create(lt,V,mt){return new j(lt,V,mt)}next(lt){this.isStopped?Gt(function Z($){return N("N",$,void 0)}(lt),this):this._next(lt)}error(lt){this.isStopped?Gt(function P($){return N("E",void 0,$)}(lt),this):(this.isStopped=!0,this._error(lt))}complete(){this.isStopped?Gt(G,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(lt){this.destination.next(lt)}_error(lt){try{this.destination.error(lt)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}}const M=Function.prototype.bind;function a($,lt){return M.call($,lt)}class pt{constructor(lt){this.partialObserver=lt}next(lt){const{partialObserver:V}=this;if(V.next)try{V.next(lt)}catch(mt){J(mt)}}error(lt){const{partialObserver:V}=this;if(V.error)try{V.error(lt)}catch(mt){J(mt)}else J(lt)}complete(){const{partialObserver:lt}=this;if(lt.complete)try{lt.complete()}catch(V){J(V)}}}class j extends K{constructor(lt,V,mt){let rt;if(super(),(0,o.T)(lt)||!lt)rt={next:lt??void 0,error:V??void 0,complete:mt??void 0};else{let $t;this&&b.$.useDeprecatedNextContext?($t=Object.create(lt),$t.unsubscribe=()=>this.unsubscribe(),rt={next:lt.next&&a(lt.next,$t),error:lt.error&&a(lt.error,$t),complete:lt.complete&&a(lt.complete,$t)}):rt=lt}this.destination=new pt(rt)}}function J($){b.$.useDeprecatedSynchronousErrorHandling?(0,q.l)($):(0,T.m)($)}function Gt($,lt){const{onStoppedNotification:V}=b.$;V&&ot.f.setTimeout(()=>V($,lt))}const te={closed:!0,next:k.l,error:function bt($){throw $},complete:k.l}},52693:(Ce,Lt,r)=>{r.d(Lt,{Kn:()=>G,yU:()=>k,Uv:()=>P});var o=r(81989);const b=(0,r(15471).L)(N=>function(q){N(this),this.message=q?`${q.length} errors occurred during unsubscription:\n${q.map((K,M)=>`${M+1}) ${K.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=q});var T=r(7450);class k{constructor(ot){this.initialTeardown=ot,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let ot;if(!this.closed){this.closed=!0;const{_parentage:q}=this;if(q)if(this._parentage=null,Array.isArray(q))for(const a of q)a.remove(this);else q.remove(this);const{initialTeardown:K}=this;if((0,o.T)(K))try{K()}catch(a){ot=a instanceof b?a.errors:[a]}const{_finalizers:M}=this;if(M){this._finalizers=null;for(const a of M)try{Z(a)}catch(pt){ot=ot??[],pt instanceof b?ot=[...ot,...pt.errors]:ot.push(pt)}}if(ot)throw new b(ot)}}add(ot){var q;if(ot&&ot!==this)if(this.closed)Z(ot);else{if(ot instanceof k){if(ot.closed||ot._hasParent(this))return;ot._addParent(this)}(this._finalizers=null!==(q=this._finalizers)&&void 0!==q?q:[]).push(ot)}}_hasParent(ot){const{_parentage:q}=this;return q===ot||Array.isArray(q)&&q.includes(ot)}_addParent(ot){const{_parentage:q}=this;this._parentage=Array.isArray(q)?(q.push(ot),q):q?[q,ot]:ot}_removeParent(ot){const{_parentage:q}=this;q===ot?this._parentage=null:Array.isArray(q)&&(0,T.o)(q,ot)}remove(ot){const{_finalizers:q}=this;q&&(0,T.o)(q,ot),ot instanceof k&&ot._removeParent(this)}}k.EMPTY=(()=>{const N=new k;return N.closed=!0,N})();const G=k.EMPTY;function P(N){return N instanceof k||N&&"closed"in N&&(0,o.T)(N.remove)&&(0,o.T)(N.add)&&(0,o.T)(N.unsubscribe)}function Z(N){(0,o.T)(N)?N():N.unsubscribe()}},16868:(Ce,Lt,r)=>{r.d(Lt,{$:()=>o});const o={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1}},3979:(Ce,Lt,r)=>{r.d(Lt,{G:()=>G});var o=r(23135),y=r(52693),b=r(7700),T=r(37018),k=r(33280);class G extends o.c{constructor(Z,N){super(),this.source=Z,this.subjectFactory=N,this._subject=null,this._refCount=0,this._connection=null,(0,k.S)(Z)&&(this.lift=Z.lift)}_subscribe(Z){return this.getSubject().subscribe(Z)}getSubject(){const Z=this._subject;return(!Z||Z.isStopped)&&(this._subject=this.subjectFactory()),this._subject}_teardown(){this._refCount=0;const{_connection:Z}=this;this._subject=this._connection=null,Z?.unsubscribe()}connect(){let Z=this._connection;if(!Z){Z=this._connection=new y.yU;const N=this.getSubject();Z.add(this.source.subscribe((0,T._)(N,void 0,()=>{this._teardown(),N.complete()},ot=>{this._teardown(),N.error(ot)},()=>this._teardown()))),Z.closed&&(this._connection=null,Z=y.yU.EMPTY)}return Z}refCount(){return(0,b.B)()(this)}}},17434:(Ce,Lt,r)=>{r.d(Lt,{z:()=>ot});var o=r(23135),y=r(5267),b=r(61550),T=r(75239),k=r(42152),G=r(69624),P=r(36366),Z=r(37018),N=r(64159);function ot(...M){const a=(0,G.lI)(M),pt=(0,G.ms)(M),{args:j,keys:J}=(0,y.D)(M);if(0===j.length)return(0,b.H)([],a);const bt=new o.c(function q(M,a,pt=T.D){return j=>{K(a,()=>{const{length:J}=M,bt=new Array(J);let Gt=J,te=J;for(let $=0;${const lt=(0,b.H)(M[$],a);let V=!1;lt.subscribe((0,Z._)(j,mt=>{bt[$]=mt,V||(V=!0,te--),te||j.next(pt(bt.slice()))},()=>{--Gt||j.complete()}))},j)},j)}}(j,a,J?Gt=>(0,P.e)(J,Gt):T.D));return pt?bt.pipe((0,k.I)(pt)):bt}function K(M,a,pt){M?(0,N.N)(pt,M,a):a()}},81171:(Ce,Lt,r)=>{r.d(Lt,{x:()=>k});var o=r(32659),b=r(69624),T=r(61550);function k(...G){return function y(){return(0,o.U)(1)}()((0,T.H)(G,(0,b.lI)(G)))}},19424:(Ce,Lt,r)=>{r.d(Lt,{v:()=>b});var o=r(23135),y=r(86896);function b(T){return new o.c(k=>{(0,y.Tg)(T()).subscribe(k)})}},33697:(Ce,Lt,r)=>{r.d(Lt,{w:()=>y});const y=new(r(23135).c)(k=>k.complete())},86606:(Ce,Lt,r)=>{r.d(Lt,{p:()=>Z});var o=r(23135),y=r(5267),b=r(86896),T=r(69624),k=r(37018),G=r(42152),P=r(36366);function Z(...N){const ot=(0,T.ms)(N),{args:q,keys:K}=(0,y.D)(N),M=new o.c(a=>{const{length:pt}=q;if(!pt)return void a.complete();const j=new Array(pt);let J=pt,bt=pt;for(let Gt=0;Gt{te||(te=!0,bt--),j[Gt]=$},()=>J--,void 0,()=>{(!J||!te)&&(bt||a.next(K?(0,P.e)(K,j):j),a.complete())}))}});return ot?M.pipe((0,G.I)(ot)):M}},61550:(Ce,Lt,r)=>{r.d(Lt,{H:()=>mt});var o=r(86896),y=r(64159),b=r(33280),T=r(37018);function k(rt,$t=0){return(0,b.N)((de,_e)=>{de.subscribe((0,T._)(_e,Le=>(0,y.N)(_e,rt,()=>_e.next(Le),$t),()=>(0,y.N)(_e,rt,()=>_e.complete(),$t),Le=>(0,y.N)(_e,rt,()=>_e.error(Le),$t)))})}function G(rt,$t=0){return(0,b.N)((de,_e)=>{_e.add(rt.schedule(()=>de.subscribe(_e),$t))})}var N=r(23135),q=r(40599),K=r(81989);function a(rt,$t){if(!rt)throw new Error("Iterable cannot be null");return new N.c(de=>{(0,y.N)(de,$t,()=>{const _e=rt[Symbol.asyncIterator]();(0,y.N)(de,$t,()=>{_e.next().then(Le=>{Le.done?de.complete():de.next(Le.value)})},0,!0)})})}var pt=r(93073),j=r(41724),J=r(48787),bt=r(1751),Gt=r(8595),te=r(2421),$=r(36762);function mt(rt,$t){return $t?function V(rt,$t){if(null!=rt){if((0,pt.l)(rt))return function P(rt,$t){return(0,o.Tg)(rt).pipe(G($t),k($t))}(rt,$t);if((0,J.X)(rt))return function ot(rt,$t){return new N.c(de=>{let _e=0;return $t.schedule(function(){_e===rt.length?de.complete():(de.next(rt[_e++]),de.closed||this.schedule())})})}(rt,$t);if((0,j.y)(rt))return function Z(rt,$t){return(0,o.Tg)(rt).pipe(G($t),k($t))}(rt,$t);if((0,Gt.T)(rt))return a(rt,$t);if((0,bt.x)(rt))return function M(rt,$t){return new N.c(de=>{let _e;return(0,y.N)(de,$t,()=>{_e=rt[q.l](),(0,y.N)(de,$t,()=>{let Le,Ge;try{({value:Le,done:Ge}=_e.next())}catch(Xe){return void de.error(Xe)}Ge?de.complete():de.next(Le)},0,!0)}),()=>(0,K.T)(_e?.return)&&_e.return()})}(rt,$t);if((0,$.U)(rt))return function lt(rt,$t){return a((0,$.C)(rt),$t)}(rt,$t)}throw(0,te.L)(rt)}(rt,$t):(0,o.Tg)(rt)}},63884:(Ce,Lt,r)=>{r.d(Lt,{R:()=>ot});var o=r(86896),y=r(23135),b=r(40426),T=r(48787),k=r(81989),G=r(42152);const P=["addListener","removeListener"],Z=["addEventListener","removeEventListener"],N=["on","off"];function ot(pt,j,J,bt){if((0,k.T)(J)&&(bt=J,J=void 0),bt)return ot(pt,j,J).pipe((0,G.I)(bt));const[Gt,te]=function a(pt){return(0,k.T)(pt.addEventListener)&&(0,k.T)(pt.removeEventListener)}(pt)?Z.map($=>lt=>pt[$](j,lt,J)):function K(pt){return(0,k.T)(pt.addListener)&&(0,k.T)(pt.removeListener)}(pt)?P.map(q(pt,j)):function M(pt){return(0,k.T)(pt.on)&&(0,k.T)(pt.off)}(pt)?N.map(q(pt,j)):[];if(!Gt&&(0,T.X)(pt))return(0,b.Z)($=>ot($,j,J))((0,o.Tg)(pt));if(!Gt)throw new TypeError("Invalid event target");return new y.c($=>{const lt=(...V)=>$.next(1te(lt)})}function q(pt,j){return J=>bt=>pt[J](j,bt)}},86896:(Ce,Lt,r)=>{r.d(Lt,{Tg:()=>M});var o=r(21406),y=r(48787),b=r(41724),T=r(23135),k=r(93073),G=r(8595),P=r(2421),Z=r(1751),N=r(36762),ot=r(81989),q=r(43248),K=r(25288);function M($){if($ instanceof T.c)return $;if(null!=$){if((0,k.l)($))return function a($){return new T.c(lt=>{const V=$[K.s]();if((0,ot.T)(V.subscribe))return V.subscribe(lt);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}($);if((0,y.X)($))return function pt($){return new T.c(lt=>{for(let V=0;V<$.length&&!lt.closed;V++)lt.next($[V]);lt.complete()})}($);if((0,b.y)($))return function j($){return new T.c(lt=>{$.then(V=>{lt.closed||(lt.next(V),lt.complete())},V=>lt.error(V)).then(null,q.m)})}($);if((0,G.T)($))return bt($);if((0,Z.x)($))return function J($){return new T.c(lt=>{for(const V of $)if(lt.next(V),lt.closed)return;lt.complete()})}($);if((0,N.U)($))return function Gt($){return bt((0,N.C)($))}($)}throw(0,P.L)($)}function bt($){return new T.c(lt=>{(function te($,lt){var V,mt,rt,$t;return(0,o.sH)(this,void 0,void 0,function*(){try{for(V=(0,o.xN)($);!(mt=yield V.next()).done;)if(lt.next(mt.value),lt.closed)return}catch(de){rt={error:de}}finally{try{mt&&!mt.done&&($t=V.return)&&(yield $t.call(V))}finally{if(rt)throw rt.error}}lt.complete()})})($,lt).catch(V=>lt.error(V))})}},85012:(Ce,Lt,r)=>{r.d(Lt,{h:()=>G});var o=r(32659),y=r(86896),b=r(33697),T=r(69624),k=r(61550);function G(...P){const Z=(0,T.lI)(P),N=(0,T.R0)(P,1/0),ot=P;return ot.length?1===ot.length?(0,y.Tg)(ot[0]):(0,o.U)(N)((0,k.H)(ot,Z)):b.w}},73151:(Ce,Lt,r)=>{r.d(Lt,{of:()=>b});var o=r(69624),y=r(61550);function b(...T){const k=(0,o.lI)(T);return(0,y.H)(T,k)}},80972:(Ce,Lt,r)=>{r.d(Lt,{$:()=>b});var o=r(23135),y=r(81989);function b(T,k){const G=(0,y.T)(T)?T:()=>T,P=Z=>Z.error(G());return new o.c(k?Z=>k.schedule(P,0,Z):P)}},82182:(Ce,Lt,r)=>{r.d(Lt,{O:()=>k});var o=r(23135),y=r(82954),b=r(73440);function k(G=0,P,Z=y.b){let N=-1;return null!=P&&((0,b.m)(P)?Z=P:N=P),new o.c(ot=>{let q=function T(G){return G instanceof Date&&!isNaN(G)}(G)?+G-Z.now():G;q<0&&(q=0);let K=0;return Z.schedule(function(){ot.closed||(ot.next(K++),0<=N?this.schedule(void 0,N):ot.complete())},q)})}},37018:(Ce,Lt,r)=>{r.d(Lt,{_:()=>y});var o=r(13665);function y(T,k,G,P,Z){return new b(T,k,G,P,Z)}class b extends o.vU{constructor(k,G,P,Z,N,ot){super(k),this.onFinalize=N,this.shouldUnsubscribe=ot,this._next=G?function(q){try{G(q)}catch(K){k.error(K)}}:super._next,this._error=Z?function(q){try{Z(q)}catch(K){k.error(K)}finally{this.unsubscribe()}}:super._error,this._complete=P?function(){try{P()}catch(q){k.error(q)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var k;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){const{closed:G}=this;super.unsubscribe(),!G&&(null===(k=this.onFinalize)||void 0===k||k.call(this))}}}},52483:(Ce,Lt,r)=>{r.d(Lt,{W:()=>T});var o=r(86896),y=r(37018),b=r(33280);function T(k){return(0,b.N)((G,P)=>{let ot,Z=null,N=!1;Z=G.subscribe((0,y._)(P,void 0,void 0,q=>{ot=(0,o.Tg)(k(q,T(k)(G))),Z?(Z.unsubscribe(),Z=null,ot.subscribe(P)):N=!0})),N&&(Z.unsubscribe(),Z=null,ot.subscribe(P))})}},90940:(Ce,Lt,r)=>{r.d(Lt,{H:()=>b});var o=r(40426),y=r(81989);function b(T,k){return(0,y.T)(k)?(0,o.Z)(T,k,1):(0,o.Z)(T,1)}},45318:(Ce,Lt,r)=>{r.d(Lt,{B:()=>T});var o=r(82954),y=r(33280),b=r(37018);function T(k,G=o.E){return(0,y.N)((P,Z)=>{let N=null,ot=null,q=null;const K=()=>{if(N){N.unsubscribe(),N=null;const a=ot;ot=null,Z.next(a)}};function M(){const a=q+k,pt=G.now();if(pt{ot=a,q=G.now(),N||(N=G.schedule(M,k),Z.add(N))},()=>{K(),Z.complete()},void 0,()=>{ot=N=null}))})}},99752:(Ce,Lt,r)=>{r.d(Lt,{c:()=>M});var o=r(82954),y=r(81171),b=r(89371),T=r(33280),k=r(37018),G=r(17529),Z=r(45221),N=r(40426),ot=r(86896);function q(a,pt){return pt?j=>(0,y.x)(pt.pipe((0,b.s)(1),function P(){return(0,T.N)((a,pt)=>{a.subscribe((0,k._)(pt,G.l))})}()),j.pipe(q(a))):(0,N.Z)((j,J)=>(0,ot.Tg)(a(j,J)).pipe((0,b.s)(1),(0,Z.u)(j)))}var K=r(82182);function M(a,pt=o.E){const j=(0,K.O)(a,pt);return q(()=>j)}},11224:(Ce,Lt,r)=>{r.d(Lt,{F:()=>T});var o=r(75239),y=r(33280),b=r(37018);function T(G,P=o.D){return G=G??k,(0,y.N)((Z,N)=>{let ot,q=!0;Z.subscribe((0,b._)(N,K=>{const M=P(K);(q||!G(ot,M))&&(q=!1,ot=M,N.next(K))}))})}function k(G,P){return G===P}},98474:(Ce,Lt,r)=>{r.d(Lt,{p:()=>b});var o=r(33280),y=r(37018);function b(T,k){return(0,o.N)((G,P)=>{let Z=0;G.subscribe((0,y._)(P,N=>T.call(k,N,Z++)&&P.next(N)))})}},91974:(Ce,Lt,r)=>{r.d(Lt,{j:()=>y});var o=r(33280);function y(b){return(0,o.N)((T,k)=>{try{T.subscribe(k)}finally{k.add(b)}})}},12324:(Ce,Lt,r)=>{r.d(Lt,{T:()=>b});var o=r(33280),y=r(37018);function b(T,k){return(0,o.N)((G,P)=>{let Z=0;G.subscribe((0,y._)(P,N=>{P.next(T.call(k,N,Z++))}))})}},45221:(Ce,Lt,r)=>{r.d(Lt,{u:()=>y});var o=r(12324);function y(b){return(0,o.T)(()=>b)}},32659:(Ce,Lt,r)=>{r.d(Lt,{U:()=>b});var o=r(40426),y=r(75239);function b(T=1/0){return(0,o.Z)(y.D,T)}},49154:(Ce,Lt,r)=>{r.d(Lt,{h:()=>T});var o=r(86896),y=r(64159),b=r(37018);function T(k,G,P,Z,N,ot,q,K){const M=[];let a=0,pt=0,j=!1;const J=()=>{j&&!M.length&&!a&&G.complete()},bt=te=>a{ot&&G.next(te),a++;let $=!1;(0,o.Tg)(P(te,pt++)).subscribe((0,b._)(G,lt=>{N?.(lt),ot?bt(lt):G.next(lt)},()=>{$=!0},void 0,()=>{if($)try{for(a--;M.length&&aGt(lt)):Gt(lt)}J()}catch(lt){G.error(lt)}}))};return k.subscribe((0,b._)(G,bt,()=>{j=!0,J()})),()=>{K?.()}}},40426:(Ce,Lt,r)=>{r.d(Lt,{Z:()=>G});var o=r(12324),y=r(86896),b=r(33280),T=r(49154),k=r(81989);function G(P,Z,N=1/0){return(0,k.T)(Z)?G((ot,q)=>(0,o.T)((K,M)=>Z(ot,K,q,M))((0,y.Tg)(P(ot,q))),N):("number"==typeof Z&&(N=Z),(0,b.N)((ot,q)=>(0,T.h)(ot,q,P,N)))}},7700:(Ce,Lt,r)=>{r.d(Lt,{B:()=>b});var o=r(33280),y=r(37018);function b(){return(0,o.N)((T,k)=>{let G=null;T._refCount++;const P=(0,y._)(k,void 0,void 0,void 0,()=>{if(!T||T._refCount<=0||0<--T._refCount)return void(G=null);const Z=T._connection,N=G;G=null,Z&&(!N||Z===N)&&Z.unsubscribe(),k.unsubscribe()});T.subscribe(P),P.closed||(G=T.connect())})}},62220:(Ce,Lt,r)=>{r.d(Lt,{L:()=>G});var o=r(33280),y=r(37018),b=r(75239),T=r(82182),k=r(86896);function G(P=1/0){let Z;Z=P&&"object"==typeof P?P:{count:P};const{count:N=1/0,delay:ot,resetOnSuccess:q=!1}=Z;return N<=0?b.D:(0,o.N)((K,M)=>{let pt,a=0;const j=()=>{let J=!1;pt=K.subscribe((0,y._)(M,bt=>{q&&(a=0),M.next(bt)},void 0,bt=>{if(a++{pt?(pt.unsubscribe(),pt=null,j()):J=!0};if(null!=ot){const te="number"==typeof ot?(0,T.O)(ot):(0,k.Tg)(ot(bt,a)),$=(0,y._)(M,()=>{$.unsubscribe(),Gt()},()=>{M.complete()});te.subscribe($)}else Gt()}else M.error(bt)})),J&&(pt.unsubscribe(),pt=null,j())};j()})}},22135:(Ce,Lt,r)=>{r.d(Lt,{S:()=>y});var o=r(37018);function y(b,T,k,G,P){return(Z,N)=>{let ot=k,q=T,K=0;Z.subscribe((0,o._)(N,M=>{const a=K++;q=ot?b(q,M,a):(ot=!0,M),G&&N.next(q)},P&&(()=>{ot&&N.next(q),N.complete()})))}}},31161:(Ce,Lt,r)=>{r.d(Lt,{u:()=>k});var o=r(86896),y=r(89115),b=r(13665),T=r(33280);function k(P={}){const{connector:Z=(()=>new y.B),resetOnError:N=!0,resetOnComplete:ot=!0,resetOnRefCountZero:q=!0}=P;return K=>{let M,a,pt,j=0,J=!1,bt=!1;const Gt=()=>{a?.unsubscribe(),a=void 0},te=()=>{Gt(),M=pt=void 0,J=bt=!1},$=()=>{const lt=M;te(),lt?.unsubscribe()};return(0,T.N)((lt,V)=>{j++,!bt&&!J&&Gt();const mt=pt=pt??Z();V.add(()=>{j--,0===j&&!bt&&!J&&(a=G($,q))}),mt.subscribe(V),!M&&j>0&&(M=new b.Ms({next:rt=>mt.next(rt),error:rt=>{bt=!0,Gt(),a=G(te,N,rt),mt.error(rt)},complete:()=>{J=!0,Gt(),a=G(te,ot),mt.complete()}}),(0,o.Tg)(lt).subscribe(M))})(K)}}function G(P,Z,...N){if(!0===Z)return void P();if(!1===Z)return;const ot=new b.Ms({next:()=>{ot.unsubscribe(),P()}});return(0,o.Tg)(Z(...N)).subscribe(ot)}},29810:(Ce,Lt,r)=>{r.d(Lt,{t:()=>k});var o=r(89115),y=r(19351);class b extends o.B{constructor(P=1/0,Z=1/0,N=y.U){super(),this._bufferSize=P,this._windowTime=Z,this._timestampProvider=N,this._buffer=[],this._infiniteTimeWindow=!0,this._infiniteTimeWindow=Z===1/0,this._bufferSize=Math.max(1,P),this._windowTime=Math.max(1,Z)}next(P){const{isStopped:Z,_buffer:N,_infiniteTimeWindow:ot,_timestampProvider:q,_windowTime:K}=this;Z||(N.push(P),!ot&&N.push(q.now()+K)),this._trimBuffer(),super.next(P)}_subscribe(P){this._throwIfClosed(),this._trimBuffer();const Z=this._innerSubscribe(P),{_infiniteTimeWindow:N,_buffer:ot}=this,q=ot.slice();for(let K=0;Knew b(N,P,Z),resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:ot})}},16483:(Ce,Lt,r)=>{r.d(Lt,{i:()=>y});var o=r(98474);function y(b){return(0,o.p)((T,k)=>b<=k)}},28930:(Ce,Lt,r)=>{r.d(Lt,{Z:()=>T});var o=r(81171),y=r(69624),b=r(33280);function T(...k){const G=(0,y.lI)(k);return(0,b.N)((P,Z)=>{(G?(0,o.x)(k,P,G):(0,o.x)(k,P)).subscribe(Z)})}},57588:(Ce,Lt,r)=>{r.d(Lt,{n:()=>T});var o=r(86896),y=r(33280),b=r(37018);function T(k,G){return(0,y.N)((P,Z)=>{let N=null,ot=0,q=!1;const K=()=>q&&!N&&Z.complete();P.subscribe((0,b._)(Z,M=>{N?.unsubscribe();let a=0;const pt=ot++;(0,o.Tg)(k(M,pt)).subscribe(N=(0,b._)(Z,j=>Z.next(G?G(M,j,pt,a++):j),()=>{N=null,K()}))},()=>{q=!0,K()}))})}},89371:(Ce,Lt,r)=>{r.d(Lt,{s:()=>T});var o=r(33697),y=r(33280),b=r(37018);function T(k){return k<=0?()=>o.w:(0,y.N)((G,P)=>{let Z=0;G.subscribe((0,b._)(P,N=>{++Z<=k&&(P.next(N),k<=Z&&P.complete())}))})}},73907:(Ce,Lt,r)=>{r.d(Lt,{Q:()=>k});var o=r(33280),y=r(37018),b=r(86896),T=r(17529);function k(G){return(0,o.N)((P,Z)=>{(0,b.Tg)(G).subscribe((0,y._)(Z,()=>Z.complete(),T.l)),!Z.closed&&P.subscribe(Z)})}},14087:(Ce,Lt,r)=>{r.d(Lt,{M:()=>k});var o=r(81989),y=r(33280),b=r(37018),T=r(75239);function k(G,P,Z){const N=(0,o.T)(G)||P||Z?{next:G,error:P,complete:Z}:G;return N?(0,y.N)((ot,q)=>{var K;null===(K=N.subscribe)||void 0===K||K.call(N);let M=!0;ot.subscribe((0,b._)(q,a=>{var pt;null===(pt=N.next)||void 0===pt||pt.call(N,a),q.next(a)},()=>{var a;M=!1,null===(a=N.complete)||void 0===a||a.call(N),q.complete()},a=>{var pt;M=!1,null===(pt=N.error)||void 0===pt||pt.call(N,a),q.error(a)},()=>{var a,pt;M&&(null===(a=N.unsubscribe)||void 0===a||a.call(N)),null===(pt=N.finalize)||void 0===pt||pt.call(N)}))}):T.D}},84330:(Ce,Lt,r)=>{r.d(Lt,{R:()=>k});var o=r(52693);class y extends o.yU{constructor(P,Z){super()}schedule(P,Z=0){return this}}const b={setInterval(G,P,...Z){const{delegate:N}=b;return N?.setInterval?N.setInterval(G,P,...Z):setInterval(G,P,...Z)},clearInterval(G){const{delegate:P}=b;return(P?.clearInterval||clearInterval)(G)},delegate:void 0};var T=r(7450);class k extends y{constructor(P,Z){super(P,Z),this.scheduler=P,this.work=Z,this.pending=!1}schedule(P,Z=0){var N;if(this.closed)return this;this.state=P;const ot=this.id,q=this.scheduler;return null!=ot&&(this.id=this.recycleAsyncId(q,ot,Z)),this.pending=!0,this.delay=Z,this.id=null!==(N=this.id)&&void 0!==N?N:this.requestAsyncId(q,this.id,Z),this}requestAsyncId(P,Z,N=0){return b.setInterval(P.flush.bind(P,this),N)}recycleAsyncId(P,Z,N=0){if(null!=N&&this.delay===N&&!1===this.pending)return Z;null!=Z&&b.clearInterval(Z)}execute(P,Z){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const N=this._execute(P,Z);if(N)return N;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(P,Z){let ot,N=!1;try{this.work(P)}catch(q){N=!0,ot=q||new Error("Scheduled action threw falsy error")}if(N)return this.unsubscribe(),ot}unsubscribe(){if(!this.closed){const{id:P,scheduler:Z}=this,{actions:N}=Z;this.work=this.state=this.scheduler=null,this.pending=!1,(0,T.o)(N,this),null!=P&&(this.id=this.recycleAsyncId(Z,P,null)),this.delay=null,super.unsubscribe()}}}},84993:(Ce,Lt,r)=>{r.d(Lt,{q:()=>b});var o=r(19351);class y{constructor(k,G=y.now){this.schedulerActionCtor=k,this.now=G}schedule(k,G=0,P){return new this.schedulerActionCtor(this,k).schedule(P,G)}}y.now=o.U.now;class b extends y{constructor(k,G=y.now){super(k,G),this.actions=[],this._active=!1}flush(k){const{actions:G}=this;if(this._active)return void G.push(k);let P;this._active=!0;do{if(P=k.execute(k.state,k.delay))break}while(k=G.shift());if(this._active=!1,P){for(;k=G.shift();)k.unsubscribe();throw P}}}},96897:(Ce,Lt,r)=>{r.d(Lt,{$:()=>a});var o=r(84330);let b,y=1;const T={};function k(j){return j in T&&(delete T[j],!0)}const G={setImmediate(j){const J=y++;return T[J]=!0,b||(b=Promise.resolve()),b.then(()=>k(J)&&j()),J},clearImmediate(j){k(j)}},{setImmediate:Z,clearImmediate:N}=G,ot={setImmediate(...j){const{delegate:J}=ot;return(J?.setImmediate||Z)(...j)},clearImmediate(j){const{delegate:J}=ot;return(J?.clearImmediate||N)(j)},delegate:void 0};var K=r(84993);const a=new class M extends K.q{flush(J){this._active=!0;const bt=this._scheduled;this._scheduled=void 0;const{actions:Gt}=this;let te;J=J||Gt.shift();do{if(te=J.execute(J.state,J.delay))break}while((J=Gt[0])&&J.id===bt&&Gt.shift());if(this._active=!1,te){for(;(J=Gt[0])&&J.id===bt&&Gt.shift();)J.unsubscribe();throw te}}}(class q extends o.R{constructor(J,bt){super(J,bt),this.scheduler=J,this.work=bt}requestAsyncId(J,bt,Gt=0){return null!==Gt&&Gt>0?super.requestAsyncId(J,bt,Gt):(J.actions.push(this),J._scheduled||(J._scheduled=ot.setImmediate(J.flush.bind(J,void 0))))}recycleAsyncId(J,bt,Gt=0){var te;if(null!=Gt?Gt>0:this.delay>0)return super.recycleAsyncId(J,bt,Gt);const{actions:$}=J;null!=bt&&(null===(te=$[$.length-1])||void 0===te?void 0:te.id)!==bt&&(ot.clearImmediate(bt),J._scheduled===bt&&(J._scheduled=void 0))}})},82954:(Ce,Lt,r)=>{r.d(Lt,{E:()=>b,b:()=>T});var o=r(84330);const b=new(r(84993).q)(o.R),T=b},19351:(Ce,Lt,r)=>{r.d(Lt,{U:()=>o});const o={now:()=>(o.delegate||Date).now(),delegate:void 0}},70228:(Ce,Lt,r)=>{r.d(Lt,{f:()=>o});const o={setTimeout(y,b,...T){const{delegate:k}=o;return k?.setTimeout?k.setTimeout(y,b,...T):setTimeout(y,b,...T)},clearTimeout(y){const{delegate:b}=o;return(b?.clearTimeout||clearTimeout)(y)},delegate:void 0}},40599:(Ce,Lt,r)=>{r.d(Lt,{l:()=>y});const y=function o(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}()},25288:(Ce,Lt,r)=>{r.d(Lt,{s:()=>o});const o="function"==typeof Symbol&&Symbol.observable||"@@observable"},90308:(Ce,Lt,r)=>{r.d(Lt,{G:()=>y});const y=(0,r(15471).L)(b=>function(){b(this),this.name="EmptyError",this.message="no elements in sequence"})},69624:(Ce,Lt,r)=>{r.d(Lt,{R0:()=>G,lI:()=>k,ms:()=>T});var o=r(81989),y=r(73440);function b(P){return P[P.length-1]}function T(P){return(0,o.T)(b(P))?P.pop():void 0}function k(P){return(0,y.m)(b(P))?P.pop():void 0}function G(P,Z){return"number"==typeof b(P)?P.pop():Z}},5267:(Ce,Lt,r)=>{r.d(Lt,{D:()=>k});const{isArray:o}=Array,{getPrototypeOf:y,prototype:b,keys:T}=Object;function k(P){if(1===P.length){const Z=P[0];if(o(Z))return{args:Z,keys:null};if(function G(P){return P&&"object"==typeof P&&y(P)===b}(Z)){const N=T(Z);return{args:N.map(ot=>Z[ot]),keys:N}}}return{args:P,keys:null}}},7450:(Ce,Lt,r)=>{function o(y,b){if(y){const T=y.indexOf(b);0<=T&&y.splice(T,1)}}r.d(Lt,{o:()=>o})},15471:(Ce,Lt,r)=>{function o(y){const T=y(k=>{Error.call(k),k.stack=(new Error).stack});return T.prototype=Object.create(Error.prototype),T.prototype.constructor=T,T}r.d(Lt,{L:()=>o})},36366:(Ce,Lt,r)=>{function o(y,b){return y.reduce((T,k,G)=>(T[k]=b[G],T),{})}r.d(Lt,{e:()=>o})},26644:(Ce,Lt,r)=>{r.d(Lt,{Y:()=>b,l:()=>T});var o=r(16868);let y=null;function b(k){if(o.$.useDeprecatedSynchronousErrorHandling){const G=!y;if(G&&(y={errorThrown:!1,error:null}),k(),G){const{errorThrown:P,error:Z}=y;if(y=null,P)throw Z}}else k()}function T(k){o.$.useDeprecatedSynchronousErrorHandling&&y&&(y.errorThrown=!0,y.error=k)}},64159:(Ce,Lt,r)=>{function o(y,b,T,k=0,G=!1){const P=b.schedule(function(){T(),G?y.add(this.schedule(null,k)):this.unsubscribe()},k);if(y.add(P),!G)return P}r.d(Lt,{N:()=>o})},75239:(Ce,Lt,r)=>{function o(y){return y}r.d(Lt,{D:()=>o})},48787:(Ce,Lt,r)=>{r.d(Lt,{X:()=>o});const o=y=>y&&"number"==typeof y.length&&"function"!=typeof y},8595:(Ce,Lt,r)=>{r.d(Lt,{T:()=>y});var o=r(81989);function y(b){return Symbol.asyncIterator&&(0,o.T)(b?.[Symbol.asyncIterator])}},81989:(Ce,Lt,r)=>{function o(y){return"function"==typeof y}r.d(Lt,{T:()=>o})},93073:(Ce,Lt,r)=>{r.d(Lt,{l:()=>b});var o=r(25288),y=r(81989);function b(T){return(0,y.T)(T[o.s])}},1751:(Ce,Lt,r)=>{r.d(Lt,{x:()=>b});var o=r(40599),y=r(81989);function b(T){return(0,y.T)(T?.[o.l])}},1396:(Ce,Lt,r)=>{r.d(Lt,{A:()=>b});var o=r(23135),y=r(81989);function b(T){return!!T&&(T instanceof o.c||(0,y.T)(T.lift)&&(0,y.T)(T.subscribe))}},41724:(Ce,Lt,r)=>{r.d(Lt,{y:()=>y});var o=r(81989);function y(b){return(0,o.T)(b?.then)}},36762:(Ce,Lt,r)=>{r.d(Lt,{C:()=>b,U:()=>T});var o=r(21406),y=r(81989);function b(k){return(0,o.AQ)(this,arguments,function*(){const P=k.getReader();try{for(;;){const{value:Z,done:N}=yield(0,o.N3)(P.read());if(N)return yield(0,o.N3)(void 0);yield yield(0,o.N3)(Z)}}finally{P.releaseLock()}})}function T(k){return(0,y.T)(k?.getReader)}},73440:(Ce,Lt,r)=>{r.d(Lt,{m:()=>y});var o=r(81989);function y(b){return b&&(0,o.T)(b.schedule)}},33280:(Ce,Lt,r)=>{r.d(Lt,{N:()=>b,S:()=>y});var o=r(81989);function y(T){return(0,o.T)(T?.lift)}function b(T){return k=>{if(y(k))return k.lift(function(G){try{return T(G,this)}catch(P){this.error(P)}});throw new TypeError("Unable to lift unknown Observable type")}}},42152:(Ce,Lt,r)=>{r.d(Lt,{I:()=>T});var o=r(12324);const{isArray:y}=Array;function T(k){return(0,o.T)(G=>function b(k,G){return y(G)?k(...G):k(G)}(k,G))}},17529:(Ce,Lt,r)=>{function o(){}r.d(Lt,{l:()=>o})},39521:(Ce,Lt,r)=>{r.d(Lt,{F:()=>y,m:()=>b});var o=r(75239);function y(...T){return b(T)}function b(T){return 0===T.length?o.D:1===T.length?T[0]:function(G){return T.reduce((P,Z)=>Z(P),G)}}},43248:(Ce,Lt,r)=>{r.d(Lt,{m:()=>b});var o=r(16868),y=r(70228);function b(T){y.f.setTimeout(()=>{const{onUnhandledError:k}=o.$;if(!k)throw T;k(T)})}},2421:(Ce,Lt,r)=>{function o(y){return new TypeError(`You provided ${null!==y&&"object"==typeof y?"an invalid object":`'${y}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}r.d(Lt,{L:()=>o})},89411:(Ce,Lt,r)=>{r.d(Lt,{FX:()=>Gt,K2:()=>P,MA:()=>M,Os:()=>G,P:()=>pt,Ro:()=>y,S6:()=>o,hZ:()=>T,i0:()=>k,i7:()=>ot,iF:()=>Z,kY:()=>q,kp:()=>b,sf:()=>J,ui:()=>bt,wk:()=>N});class o{}class y{}const b="*";function T(te,$){return{type:7,name:te,definitions:$,options:{}}}function k(te,$=null){return{type:4,styles:$,timings:te}}function G(te,$=null){return{type:3,steps:te,options:$}}function P(te,$=null){return{type:2,steps:te,options:$}}function Z(te){return{type:6,styles:te,offset:null}}function N(te,$,lt){return{type:0,name:te,styles:$,options:lt}}function ot(te){return{type:5,steps:te}}function q(te,$,lt=null){return{type:1,expr:te,animation:$,options:lt}}function M(te=null){return{type:9,options:te}}function pt(te,$,lt=null){return{type:11,selector:te,animation:$,options:lt}}class J{constructor($=0,lt=0){this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._originalOnDoneFns=[],this._originalOnStartFns=[],this._started=!1,this._destroyed=!1,this._finished=!1,this._position=0,this.parentPlayer=null,this.totalTime=$+lt}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach($=>$()),this._onDoneFns=[])}onStart($){this._originalOnStartFns.push($),this._onStartFns.push($)}onDone($){this._originalOnDoneFns.push($),this._onDoneFns.push($)}onDestroy($){this._onDestroyFns.push($)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){queueMicrotask(()=>this._onFinish())}_onStart(){this._onStartFns.forEach($=>$()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach($=>$()),this._onDestroyFns=[])}reset(){this._started=!1,this._finished=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}setPosition($){this._position=this.totalTime?$*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback($){const lt="start"==$?this._onStartFns:this._onDoneFns;lt.forEach(V=>V()),lt.length=0}}class bt{constructor($){this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=$;let lt=0,V=0,mt=0;const rt=this.players.length;0==rt?queueMicrotask(()=>this._onFinish()):this.players.forEach($t=>{$t.onDone(()=>{++lt==rt&&this._onFinish()}),$t.onDestroy(()=>{++V==rt&&this._onDestroy()}),$t.onStart(()=>{++mt==rt&&this._onStart()})}),this.totalTime=this.players.reduce(($t,de)=>Math.max($t,de.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach($=>$()),this._onDoneFns=[])}init(){this.players.forEach($=>$.init())}onStart($){this._onStartFns.push($)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach($=>$()),this._onStartFns=[])}onDone($){this._onDoneFns.push($)}onDestroy($){this._onDestroyFns.push($)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach($=>$.play())}pause(){this.players.forEach($=>$.pause())}restart(){this.players.forEach($=>$.restart())}finish(){this._onFinish(),this.players.forEach($=>$.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach($=>$.destroy()),this._onDestroyFns.forEach($=>$()),this._onDestroyFns=[])}reset(){this.players.forEach($=>$.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition($){const lt=$*this.totalTime;this.players.forEach(V=>{const mt=V.totalTime?Math.min(1,lt/V.totalTime):1;V.setPosition(mt)})}getPosition(){const $=this.players.reduce((lt,V)=>null===lt||V.totalTime>lt.totalTime?V:lt,null);return null!=$?$.getPosition():0}beforeDestroy(){this.players.forEach($=>{$.beforeDestroy&&$.beforeDestroy()})}triggerCallback($){const lt="start"==$?this._onStartFns:this._onDoneFns;lt.forEach(V=>V()),lt.length=0}}const Gt="!"},83607:(Ce,Lt,r)=>{r.d(Lt,{Ae:()=>lt,Ai:()=>ft,Au:()=>ye,Bu:()=>Ve,FN:()=>Ke,GX:()=>Vt,Pd:()=>me,Q_:()=>cn,Z7:()=>Qe,_G:()=>je,l3:()=>Xe,px:()=>$,vR:()=>on,vr:()=>_e,w6:()=>Ht});var o=r(18331),y=r(1843),b=r(29094),T=r(89115),k=r(52693),G=r(85390),P=r(73151),Z=r(25150),N=r(14087),ot=r(45318),q=r(98474),K=r(12324),M=r(89371),a=r(16483),pt=r(11224),j=r(73907),J=r(8275),bt=r(59332),Gt=r(89369);const te=" ";function $(jt,Dt,dt){const Rt=V(jt,Dt);Rt.some(ae=>ae.trim()==dt.trim())||(Rt.push(dt.trim()),jt.setAttribute(Dt,Rt.join(te)))}function lt(jt,Dt,dt){const ae=V(jt,Dt).filter(ze=>ze!=dt.trim());ae.length?jt.setAttribute(Dt,ae.join(te)):jt.removeAttribute(Dt)}function V(jt,Dt){return(jt.getAttribute(Dt)||"").match(/\S+/g)||[]}const rt="cdk-describedby-message",$t="cdk-describedby-host";let de=0,_e=(()=>{class jt{constructor(dt,Rt){this._platform=Rt,this._messageRegistry=new Map,this._messagesContainer=null,this._id=""+de++,this._document=dt,this._id=(0,y.WQX)(y.sZ2)+"-"+de++}describe(dt,Rt,ae){if(!this._canBeDescribed(dt,Rt))return;const ze=Le(Rt,ae);"string"!=typeof Rt?(Ge(Rt,this._id),this._messageRegistry.set(ze,{messageElement:Rt,referenceCount:0})):this._messageRegistry.has(ze)||this._createMessageElement(Rt,ae),this._isElementDescribedByMessage(dt,ze)||this._addMessageReference(dt,ze)}removeDescription(dt,Rt,ae){if(!Rt||!this._isElementNode(dt))return;const ze=Le(Rt,ae);if(this._isElementDescribedByMessage(dt,ze)&&this._removeMessageReference(dt,ze),"string"==typeof Rt){const Zt=this._messageRegistry.get(ze);Zt&&0===Zt.referenceCount&&this._deleteMessageElement(ze)}0===this._messagesContainer?.childNodes.length&&(this._messagesContainer.remove(),this._messagesContainer=null)}ngOnDestroy(){const dt=this._document.querySelectorAll(`[${$t}="${this._id}"]`);for(let Rt=0;Rt0!=ae.indexOf(rt));dt.setAttribute("aria-describedby",Rt.join(" "))}_addMessageReference(dt,Rt){const ae=this._messageRegistry.get(Rt);$(dt,"aria-describedby",ae.messageElement.id),dt.setAttribute($t,this._id),ae.referenceCount++}_removeMessageReference(dt,Rt){const ae=this._messageRegistry.get(Rt);ae.referenceCount--,lt(dt,"aria-describedby",ae.messageElement.id),dt.removeAttribute($t)}_isElementDescribedByMessage(dt,Rt){const ae=V(dt,"aria-describedby"),ze=this._messageRegistry.get(Rt),Zt=ze&&ze.messageElement.id;return!!Zt&&-1!=ae.indexOf(Zt)}_canBeDescribed(dt,Rt){if(!this._isElementNode(dt))return!1;if(Rt&&"object"==typeof Rt)return!0;const ae=null==Rt?"":`${Rt}`.trim(),ze=dt.getAttribute("aria-label");return!(!ae||ze&&ze.trim()===ae)}_isElementNode(dt){return dt.nodeType===this._document.ELEMENT_NODE}static{this.\u0275fac=function(Rt){return new(Rt||jt)(y.KVO(o.qQ),y.KVO(b.OD))}}static{this.\u0275prov=y.jDH({token:jt,factory:jt.\u0275fac,providedIn:"root"})}}return jt})();function Le(jt,Dt){return"string"==typeof jt?`${Dt||""}/${jt}`:jt}function Ge(jt,Dt){jt.id||(jt.id=`${rt}-${Dt}-${de++}`)}class Xe{constructor(Dt){this._items=Dt,this._activeItemIndex=-1,this._activeItem=null,this._wrap=!1,this._letterKeyStream=new T.B,this._typeaheadSubscription=k.yU.EMPTY,this._vertical=!0,this._allowedModifierKeys=[],this._homeAndEnd=!1,this._pageUpAndDown={enabled:!1,delta:10},this._skipPredicateFn=dt=>dt.disabled,this._pressedLetters=[],this.tabOut=new T.B,this.change=new T.B,Dt instanceof y.rOR&&(this._itemChangesSubscription=Dt.changes.subscribe(dt=>{if(this._activeItem){const ae=dt.toArray().indexOf(this._activeItem);ae>-1&&ae!==this._activeItemIndex&&(this._activeItemIndex=ae)}}))}skipPredicate(Dt){return this._skipPredicateFn=Dt,this}withWrap(Dt=!0){return this._wrap=Dt,this}withVerticalOrientation(Dt=!0){return this._vertical=Dt,this}withHorizontalOrientation(Dt){return this._horizontal=Dt,this}withAllowedModifierKeys(Dt){return this._allowedModifierKeys=Dt,this}withTypeAhead(Dt=200){return this._typeaheadSubscription.unsubscribe(),this._typeaheadSubscription=this._letterKeyStream.pipe((0,N.M)(dt=>this._pressedLetters.push(dt)),(0,ot.B)(Dt),(0,q.p)(()=>this._pressedLetters.length>0),(0,K.T)(()=>this._pressedLetters.join(""))).subscribe(dt=>{const Rt=this._getItemsArray();for(let ae=1;ae!Dt[ze]||this._allowedModifierKeys.indexOf(ze)>-1);switch(dt){case Z.wn:return void this.tabOut.next();case Z.n6:if(this._vertical&&ae){this.setNextItemActive();break}return;case Z.i7:if(this._vertical&&ae){this.setPreviousItemActive();break}return;case Z.LE:if(this._horizontal&&ae){"rtl"===this._horizontal?this.setPreviousItemActive():this.setNextItemActive();break}return;case Z.UQ:if(this._horizontal&&ae){"rtl"===this._horizontal?this.setNextItemActive():this.setPreviousItemActive();break}return;case Z.yZ:if(this._homeAndEnd&&ae){this.setFirstItemActive();break}return;case Z.Kp:if(this._homeAndEnd&&ae){this.setLastItemActive();break}return;case Z.w_:if(this._pageUpAndDown.enabled&&ae){const ze=this._activeItemIndex-this._pageUpAndDown.delta;this._setActiveItemByIndex(ze>0?ze:0,1);break}return;case Z.dB:if(this._pageUpAndDown.enabled&&ae){const ze=this._activeItemIndex+this._pageUpAndDown.delta,Zt=this._getItemsArray().length;this._setActiveItemByIndex(ze=Z.A&&dt<=Z.Z||dt>=Z.f2&&dt<=Z.bn)&&this._letterKeyStream.next(String.fromCharCode(dt))))}this._pressedLetters=[],Dt.preventDefault()}get activeItemIndex(){return this._activeItemIndex}get activeItem(){return this._activeItem}isTyping(){return this._pressedLetters.length>0}setFirstItemActive(){this._setActiveItemByIndex(0,1)}setLastItemActive(){this._setActiveItemByIndex(this._items.length-1,-1)}setNextItemActive(){this._activeItemIndex<0?this.setFirstItemActive():this._setActiveItemByDelta(1)}setPreviousItemActive(){this._activeItemIndex<0&&this._wrap?this.setLastItemActive():this._setActiveItemByDelta(-1)}updateActiveItem(Dt){const dt=this._getItemsArray(),Rt="number"==typeof Dt?Dt:dt.indexOf(Dt);this._activeItem=dt[Rt]??null,this._activeItemIndex=Rt}destroy(){this._typeaheadSubscription.unsubscribe(),this._itemChangesSubscription?.unsubscribe(),this._letterKeyStream.complete(),this.tabOut.complete(),this.change.complete(),this._pressedLetters=[]}_setActiveItemByDelta(Dt){this._wrap?this._setActiveInWrapMode(Dt):this._setActiveInDefaultMode(Dt)}_setActiveInWrapMode(Dt){const dt=this._getItemsArray();for(let Rt=1;Rt<=dt.length;Rt++){const ae=(this._activeItemIndex+Dt*Rt+dt.length)%dt.length;if(!this._skipPredicateFn(dt[ae]))return void this.setActiveItem(ae)}}_setActiveInDefaultMode(Dt){this._setActiveItemByIndex(this._activeItemIndex+Dt,Dt)}_setActiveItemByIndex(Dt,dt){const Rt=this._getItemsArray();if(Rt[Dt]){for(;this._skipPredicateFn(Rt[Dt]);)if(!Rt[Dt+=dt])return;this.setActiveItem(Dt)}}_getItemsArray(){return this._items instanceof y.rOR?this._items.toArray():this._items}}class ye extends Xe{setActiveItem(Dt){this.activeItem&&this.activeItem.setInactiveStyles(),super.setActiveItem(Dt),this.activeItem&&this.activeItem.setActiveStyles()}}class Ve extends Xe{constructor(){super(...arguments),this._origin="program"}setFocusOrigin(Dt){return this._origin=Dt,this}setActiveItem(Dt){super.setActiveItem(Dt),this.activeItem&&this.activeItem.focus(this._origin)}}let Qe=(()=>{class jt{constructor(dt){this._platform=dt}isDisabled(dt){return dt.hasAttribute("disabled")}isVisible(dt){return function Me(jt){return!!(jt.offsetWidth||jt.offsetHeight||"function"==typeof jt.getClientRects&&jt.getClientRects().length)}(dt)&&"visible"===getComputedStyle(dt).visibility}isTabbable(dt){if(!this._platform.isBrowser)return!1;const Rt=function be(jt){try{return jt.frameElement}catch{return null}}(function gt(jt){return jt.ownerDocument&&jt.ownerDocument.defaultView||window}(dt));if(Rt&&(-1===Ne(Rt)||!this.isVisible(Rt)))return!1;let ae=dt.nodeName.toLowerCase(),ze=Ne(dt);return dt.hasAttribute("contenteditable")?-1!==ze:!("iframe"===ae||"object"===ae||this._platform.WEBKIT&&this._platform.IOS&&!function ke(jt){let Dt=jt.nodeName.toLowerCase(),dt="input"===Dt&&jt.type;return"text"===dt||"password"===dt||"select"===Dt||"textarea"===Dt}(dt))&&("audio"===ae?!!dt.hasAttribute("controls")&&-1!==ze:"video"===ae?-1!==ze&&(null!==ze||this._platform.FIREFOX||dt.hasAttribute("controls")):dt.tabIndex>=0)}isFocusable(dt,Rt){return function un(jt){return!function Kt(jt){return function Tt(jt){return"input"==jt.nodeName.toLowerCase()}(jt)&&"hidden"==jt.type}(jt)&&(function yt(jt){let Dt=jt.nodeName.toLowerCase();return"input"===Dt||"select"===Dt||"button"===Dt||"textarea"===Dt}(jt)||function Nt(jt){return function Yt(jt){return"a"==jt.nodeName.toLowerCase()}(jt)&&jt.hasAttribute("href")}(jt)||jt.hasAttribute("contenteditable")||Ut(jt))}(dt)&&!this.isDisabled(dt)&&(Rt?.ignoreVisibility||this.isVisible(dt))}static{this.\u0275fac=function(Rt){return new(Rt||jt)(y.KVO(b.OD))}}static{this.\u0275prov=y.jDH({token:jt,factory:jt.\u0275fac,providedIn:"root"})}}return jt})();function Ut(jt){if(!jt.hasAttribute("tabindex")||void 0===jt.tabIndex)return!1;let Dt=jt.getAttribute("tabindex");return!(!Dt||isNaN(parseInt(Dt,10)))}function Ne(jt){if(!Ut(jt))return null;const Dt=parseInt(jt.getAttribute("tabindex")||"",10);return isNaN(Dt)?-1:Dt}class le{get enabled(){return this._enabled}set enabled(Dt){this._enabled=Dt,this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(Dt,this._startAnchor),this._toggleAnchorTabIndex(Dt,this._endAnchor))}constructor(Dt,dt,Rt,ae,ze=!1){this._element=Dt,this._checker=dt,this._ngZone=Rt,this._document=ae,this._hasAttached=!1,this.startAnchorListener=()=>this.focusLastTabbableElement(),this.endAnchorListener=()=>this.focusFirstTabbableElement(),this._enabled=!0,ze||this.attachAnchors()}destroy(){const Dt=this._startAnchor,dt=this._endAnchor;Dt&&(Dt.removeEventListener("focus",this.startAnchorListener),Dt.remove()),dt&&(dt.removeEventListener("focus",this.endAnchorListener),dt.remove()),this._startAnchor=this._endAnchor=null,this._hasAttached=!1}attachAnchors(){return!!this._hasAttached||(this._ngZone.runOutsideAngular(()=>{this._startAnchor||(this._startAnchor=this._createAnchor(),this._startAnchor.addEventListener("focus",this.startAnchorListener)),this._endAnchor||(this._endAnchor=this._createAnchor(),this._endAnchor.addEventListener("focus",this.endAnchorListener))}),this._element.parentNode&&(this._element.parentNode.insertBefore(this._startAnchor,this._element),this._element.parentNode.insertBefore(this._endAnchor,this._element.nextSibling),this._hasAttached=!0),this._hasAttached)}focusInitialElementWhenReady(Dt){return new Promise(dt=>{this._executeOnStable(()=>dt(this.focusInitialElement(Dt)))})}focusFirstTabbableElementWhenReady(Dt){return new Promise(dt=>{this._executeOnStable(()=>dt(this.focusFirstTabbableElement(Dt)))})}focusLastTabbableElementWhenReady(Dt){return new Promise(dt=>{this._executeOnStable(()=>dt(this.focusLastTabbableElement(Dt)))})}_getRegionBoundary(Dt){const dt=this._element.querySelectorAll(`[cdk-focus-region-${Dt}], [cdkFocusRegion${Dt}], [cdk-focus-${Dt}]`);return"start"==Dt?dt.length?dt[0]:this._getFirstTabbableElement(this._element):dt.length?dt[dt.length-1]:this._getLastTabbableElement(this._element)}focusInitialElement(Dt){const dt=this._element.querySelector("[cdk-focus-initial], [cdkFocusInitial]");if(dt){if(!this._checker.isFocusable(dt)){const Rt=this._getFirstTabbableElement(dt);return Rt?.focus(Dt),!!Rt}return dt.focus(Dt),!0}return this.focusFirstTabbableElement(Dt)}focusFirstTabbableElement(Dt){const dt=this._getRegionBoundary("start");return dt&&dt.focus(Dt),!!dt}focusLastTabbableElement(Dt){const dt=this._getRegionBoundary("end");return dt&&dt.focus(Dt),!!dt}hasAttached(){return this._hasAttached}_getFirstTabbableElement(Dt){if(this._checker.isFocusable(Dt)&&this._checker.isTabbable(Dt))return Dt;const dt=Dt.children;for(let Rt=0;Rt=0;Rt--){const ae=dt[Rt].nodeType===this._document.ELEMENT_NODE?this._getLastTabbableElement(dt[Rt]):null;if(ae)return ae}return null}_createAnchor(){const Dt=this._document.createElement("div");return this._toggleAnchorTabIndex(this._enabled,Dt),Dt.classList.add("cdk-visually-hidden"),Dt.classList.add("cdk-focus-trap-anchor"),Dt.setAttribute("aria-hidden","true"),Dt}_toggleAnchorTabIndex(Dt,dt){Dt?dt.setAttribute("tabindex","0"):dt.removeAttribute("tabindex")}toggleAnchors(Dt){this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(Dt,this._startAnchor),this._toggleAnchorTabIndex(Dt,this._endAnchor))}_executeOnStable(Dt){this._ngZone.isStable?Dt():this._ngZone.onStable.pipe((0,M.s)(1)).subscribe(Dt)}}let Vt=(()=>{class jt{constructor(dt,Rt,ae){this._checker=dt,this._ngZone=Rt,this._document=ae}create(dt,Rt=!1){return new le(dt,this._checker,this._ngZone,this._document,Rt)}static{this.\u0275fac=function(Rt){return new(Rt||jt)(y.KVO(Qe),y.KVO(y.SKi),y.KVO(o.qQ))}}static{this.\u0275prov=y.jDH({token:jt,factory:jt.\u0275fac,providedIn:"root"})}}return jt})();function je(jt){return 0===jt.buttons||0===jt.detail}function Ht(jt){const Dt=jt.touches&&jt.touches[0]||jt.changedTouches&&jt.changedTouches[0];return!(!Dt||-1!==Dt.identifier||null!=Dt.radiusX&&1!==Dt.radiusX||null!=Dt.radiusY&&1!==Dt.radiusY)}const ne=new y.nKC("cdk-input-modality-detector-options"),at={ignoreKeys:[Z.A$,Z.W3,Z.eg,Z.Ge,Z.FX]},st=(0,b.BQ)({passive:!0,capture:!0});let zt=(()=>{class jt{get mostRecentModality(){return this._modality.value}constructor(dt,Rt,ae,ze){this._platform=dt,this._mostRecentTarget=null,this._modality=new G.t(null),this._lastTouchMs=0,this._onKeydown=Zt=>{this._options?.ignoreKeys?.some(Ct=>Ct===Zt.keyCode)||(this._modality.next("keyboard"),this._mostRecentTarget=(0,b.Fb)(Zt))},this._onMousedown=Zt=>{Date.now()-this._lastTouchMs<650||(this._modality.next(je(Zt)?"keyboard":"mouse"),this._mostRecentTarget=(0,b.Fb)(Zt))},this._onTouchstart=Zt=>{Ht(Zt)?this._modality.next("keyboard"):(this._lastTouchMs=Date.now(),this._modality.next("touch"),this._mostRecentTarget=(0,b.Fb)(Zt))},this._options={...at,...ze},this.modalityDetected=this._modality.pipe((0,a.i)(1)),this.modalityChanged=this.modalityDetected.pipe((0,pt.F)()),dt.isBrowser&&Rt.runOutsideAngular(()=>{ae.addEventListener("keydown",this._onKeydown,st),ae.addEventListener("mousedown",this._onMousedown,st),ae.addEventListener("touchstart",this._onTouchstart,st)})}ngOnDestroy(){this._modality.complete(),this._platform.isBrowser&&(document.removeEventListener("keydown",this._onKeydown,st),document.removeEventListener("mousedown",this._onMousedown,st),document.removeEventListener("touchstart",this._onTouchstart,st))}static{this.\u0275fac=function(Rt){return new(Rt||jt)(y.KVO(b.OD),y.KVO(y.SKi),y.KVO(o.qQ),y.KVO(ne,8))}}static{this.\u0275prov=y.jDH({token:jt,factory:jt.\u0275fac,providedIn:"root"})}}return jt})();const vt=new y.nKC("liveAnnouncerElement",{providedIn:"root",factory:function kt(){return null}}),tt=new y.nKC("LIVE_ANNOUNCER_DEFAULT_OPTIONS");let X=0,ft=(()=>{class jt{constructor(dt,Rt,ae,ze){this._ngZone=Rt,this._defaultOptions=ze,this._document=ae,this._liveElement=dt||this._createLiveElement()}announce(dt,...Rt){const ae=this._defaultOptions;let ze,Zt;return 1===Rt.length&&"number"==typeof Rt[0]?Zt=Rt[0]:[ze,Zt]=Rt,this.clear(),clearTimeout(this._previousTimeout),ze||(ze=ae&&ae.politeness?ae.politeness:"polite"),null==Zt&&ae&&(Zt=ae.duration),this._liveElement.setAttribute("aria-live",ze),this._liveElement.id&&this._exposeAnnouncerToModals(this._liveElement.id),this._ngZone.runOutsideAngular(()=>(this._currentPromise||(this._currentPromise=new Promise(Ct=>this._currentResolve=Ct)),clearTimeout(this._previousTimeout),this._previousTimeout=setTimeout(()=>{this._liveElement.textContent=dt,"number"==typeof Zt&&(this._previousTimeout=setTimeout(()=>this.clear(),Zt)),this._currentResolve(),this._currentPromise=this._currentResolve=void 0},100),this._currentPromise))}clear(){this._liveElement&&(this._liveElement.textContent="")}ngOnDestroy(){clearTimeout(this._previousTimeout),this._liveElement?.remove(),this._liveElement=null,this._currentResolve?.(),this._currentPromise=this._currentResolve=void 0}_createLiveElement(){const dt="cdk-live-announcer-element",Rt=this._document.getElementsByClassName(dt),ae=this._document.createElement("div");for(let ze=0;ze .cdk-overlay-container [aria-modal="true"]');for(let ae=0;ae{class jt{constructor(dt,Rt,ae,ze,Zt){this._ngZone=dt,this._platform=Rt,this._inputModalityDetector=ae,this._origin=null,this._windowFocused=!1,this._originFromTouchInteraction=!1,this._elementInfo=new Map,this._monitoredElementCount=0,this._rootNodeFocusListenerCount=new Map,this._windowFocusListener=()=>{this._windowFocused=!0,this._windowFocusTimeoutId=window.setTimeout(()=>this._windowFocused=!1)},this._stopInputModalityDetector=new T.B,this._rootNodeFocusAndBlurListener=Ct=>{for(let A=(0,b.Fb)(Ct);A;A=A.parentElement)"focus"===Ct.type?this._onFocus(Ct,A):this._onBlur(Ct,A)},this._document=ze,this._detectionMode=Zt?.detectionMode||0}monitor(dt,Rt=!1){const ae=(0,J.i8)(dt);if(!this._platform.isBrowser||1!==ae.nodeType)return(0,P.of)();const ze=(0,b.KT)(ae)||this._getDocument(),Zt=this._elementInfo.get(ae);if(Zt)return Rt&&(Zt.checkChildren=!0),Zt.subject;const Ct={checkChildren:Rt,subject:new T.B,rootNode:ze};return this._elementInfo.set(ae,Ct),this._registerGlobalListeners(Ct),Ct.subject}stopMonitoring(dt){const Rt=(0,J.i8)(dt),ae=this._elementInfo.get(Rt);ae&&(ae.subject.complete(),this._setClasses(Rt),this._elementInfo.delete(Rt),this._removeGlobalListeners(ae))}focusVia(dt,Rt,ae){const ze=(0,J.i8)(dt);ze===this._getDocument().activeElement?this._getClosestElementsInfo(ze).forEach(([Ct,U])=>this._originChanged(Ct,Rt,U)):(this._setOrigin(Rt),"function"==typeof ze.focus&&ze.focus(ae))}ngOnDestroy(){this._elementInfo.forEach((dt,Rt)=>this.stopMonitoring(Rt))}_getDocument(){return this._document||document}_getWindow(){return this._getDocument().defaultView||window}_getFocusOrigin(dt){return this._origin?this._originFromTouchInteraction?this._shouldBeAttributedToTouch(dt)?"touch":"program":this._origin:this._windowFocused&&this._lastFocusOrigin?this._lastFocusOrigin:dt&&this._isLastInteractionFromInputLabel(dt)?"mouse":"program"}_shouldBeAttributedToTouch(dt){return 1===this._detectionMode||!!dt?.contains(this._inputModalityDetector._mostRecentTarget)}_setClasses(dt,Rt){dt.classList.toggle("cdk-focused",!!Rt),dt.classList.toggle("cdk-touch-focused","touch"===Rt),dt.classList.toggle("cdk-keyboard-focused","keyboard"===Rt),dt.classList.toggle("cdk-mouse-focused","mouse"===Rt),dt.classList.toggle("cdk-program-focused","program"===Rt)}_setOrigin(dt,Rt=!1){this._ngZone.runOutsideAngular(()=>{this._origin=dt,this._originFromTouchInteraction="touch"===dt&&Rt,0===this._detectionMode&&(clearTimeout(this._originTimeoutId),this._originTimeoutId=setTimeout(()=>this._origin=null,this._originFromTouchInteraction?650:1))})}_onFocus(dt,Rt){const ae=this._elementInfo.get(Rt),ze=(0,b.Fb)(dt);!ae||!ae.checkChildren&&Rt!==ze||this._originChanged(Rt,this._getFocusOrigin(ze),ae)}_onBlur(dt,Rt){const ae=this._elementInfo.get(Rt);!ae||ae.checkChildren&&dt.relatedTarget instanceof Node&&Rt.contains(dt.relatedTarget)||(this._setClasses(Rt),this._emitOrigin(ae,null))}_emitOrigin(dt,Rt){dt.subject.observers.length&&this._ngZone.run(()=>dt.subject.next(Rt))}_registerGlobalListeners(dt){if(!this._platform.isBrowser)return;const Rt=dt.rootNode,ae=this._rootNodeFocusListenerCount.get(Rt)||0;ae||this._ngZone.runOutsideAngular(()=>{Rt.addEventListener("focus",this._rootNodeFocusAndBlurListener,Te),Rt.addEventListener("blur",this._rootNodeFocusAndBlurListener,Te)}),this._rootNodeFocusListenerCount.set(Rt,ae+1),1==++this._monitoredElementCount&&(this._ngZone.runOutsideAngular(()=>{this._getWindow().addEventListener("focus",this._windowFocusListener)}),this._inputModalityDetector.modalityDetected.pipe((0,j.Q)(this._stopInputModalityDetector)).subscribe(ze=>{this._setOrigin(ze,!0)}))}_removeGlobalListeners(dt){const Rt=dt.rootNode;if(this._rootNodeFocusListenerCount.has(Rt)){const ae=this._rootNodeFocusListenerCount.get(Rt);ae>1?this._rootNodeFocusListenerCount.set(Rt,ae-1):(Rt.removeEventListener("focus",this._rootNodeFocusAndBlurListener,Te),Rt.removeEventListener("blur",this._rootNodeFocusAndBlurListener,Te),this._rootNodeFocusListenerCount.delete(Rt))}--this._monitoredElementCount||(this._getWindow().removeEventListener("focus",this._windowFocusListener),this._stopInputModalityDetector.next(),clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._originTimeoutId))}_originChanged(dt,Rt,ae){this._setClasses(dt,Rt),this._emitOrigin(ae,Rt),this._lastFocusOrigin=Rt}_getClosestElementsInfo(dt){const Rt=[];return this._elementInfo.forEach((ae,ze)=>{(ze===dt||ae.checkChildren&&ze.contains(dt))&&Rt.push([ze,ae])}),Rt}_isLastInteractionFromInputLabel(dt){const{_mostRecentTarget:Rt,mostRecentModality:ae}=this._inputModalityDetector;if("mouse"!==ae||!Rt||Rt===dt||"INPUT"!==dt.nodeName&&"TEXTAREA"!==dt.nodeName||dt.disabled)return!1;const ze=dt.labels;if(ze)for(let Zt=0;Zt{class jt{constructor(dt,Rt){this._elementRef=dt,this._focusMonitor=Rt,this._focusOrigin=null,this.cdkFocusChange=new y.bkB}get focusOrigin(){return this._focusOrigin}ngAfterViewInit(){const dt=this._elementRef.nativeElement;this._monitorSubscription=this._focusMonitor.monitor(dt,1===dt.nodeType&&dt.hasAttribute("cdkMonitorSubtreeFocus")).subscribe(Rt=>{this._focusOrigin=Rt,this.cdkFocusChange.emit(Rt)})}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._monitorSubscription&&this._monitorSubscription.unsubscribe()}static{this.\u0275fac=function(Rt){return new(Rt||jt)(y.rXU(y.aKT),y.rXU(Ke))}}static{this.\u0275dir=y.FsC({type:jt,selectors:[["","cdkMonitorElementFocus",""],["","cdkMonitorSubtreeFocus",""]],outputs:{cdkFocusChange:"cdkFocusChange"},exportAs:["cdkMonitorFocus"]})}}return jt})();const _n="cdk-high-contrast-black-on-white",hn="cdk-high-contrast-white-on-black",fe="cdk-high-contrast-active";let cn=(()=>{class jt{constructor(dt,Rt){this._platform=dt,this._document=Rt,this._breakpointSubscription=(0,y.WQX)(Gt.QP).observe("(forced-colors: active)").subscribe(()=>{this._hasCheckedHighContrastMode&&(this._hasCheckedHighContrastMode=!1,this._applyBodyHighContrastModeCssClasses())})}getHighContrastMode(){if(!this._platform.isBrowser)return 0;const dt=this._document.createElement("div");dt.style.backgroundColor="rgb(1,2,3)",dt.style.position="absolute",this._document.body.appendChild(dt);const Rt=this._document.defaultView||window,ae=Rt&&Rt.getComputedStyle?Rt.getComputedStyle(dt):null,ze=(ae&&ae.backgroundColor||"").replace(/ /g,"");switch(dt.remove(),ze){case"rgb(0,0,0)":case"rgb(45,50,54)":case"rgb(32,32,32)":return 2;case"rgb(255,255,255)":case"rgb(255,250,239)":return 1}return 0}ngOnDestroy(){this._breakpointSubscription.unsubscribe()}_applyBodyHighContrastModeCssClasses(){if(!this._hasCheckedHighContrastMode&&this._platform.isBrowser&&this._document.body){const dt=this._document.body.classList;dt.remove(fe,_n,hn),this._hasCheckedHighContrastMode=!0;const Rt=this.getHighContrastMode();1===Rt?dt.add(fe,_n):2===Rt&&dt.add(fe,hn)}}static{this.\u0275fac=function(Rt){return new(Rt||jt)(y.KVO(b.OD),y.KVO(o.qQ))}}static{this.\u0275prov=y.jDH({token:jt,factory:jt.\u0275fac,providedIn:"root"})}}return jt})(),me=(()=>{class jt{constructor(dt){dt._applyBodyHighContrastModeCssClasses()}static{this.\u0275fac=function(Rt){return new(Rt||jt)(y.KVO(cn))}}static{this.\u0275mod=y.$C({type:jt})}static{this.\u0275inj=y.G2t({imports:[bt.w5]})}}return jt})()},10165:(Ce,Lt,r)=>{r.d(Lt,{dS:()=>P,jI:()=>N});var o=r(1843),y=r(18331);const b=new o.nKC("cdk-dir-doc",{providedIn:"root",factory:function T(){return(0,o.WQX)(y.qQ)}}),k=/^(ar|ckb|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*[-_](Adlm|Arab|Hebr|Nkoo|Rohg|Thaa))(?!.*[-_](Latn|Cyrl)($|-|_))($|-|_)/i;let P=(()=>{class ot{constructor(K){this.value="ltr",this.change=new o.bkB,K&&(this.value=function G(ot){const q=ot?.toLowerCase()||"";return"auto"===q&&typeof navigator<"u"&&navigator?.language?k.test(navigator.language)?"rtl":"ltr":"rtl"===q?"rtl":"ltr"}((K.body?K.body.dir:null)||(K.documentElement?K.documentElement.dir:null)||"ltr"))}ngOnDestroy(){this.change.complete()}static{this.\u0275fac=function(M){return new(M||ot)(o.KVO(b,8))}}static{this.\u0275prov=o.jDH({token:ot,factory:ot.\u0275fac,providedIn:"root"})}}return ot})(),N=(()=>{class ot{static{this.\u0275fac=function(M){return new(M||ot)}}static{this.\u0275mod=o.$C({type:ot})}static{this.\u0275inj=o.G2t({})}}return ot})()},8275:(Ce,Lt,r)=>{r.d(Lt,{FG:()=>k,OE:()=>b,a1:()=>G,cc:()=>Z,he:()=>y,i8:()=>P,o1:()=>T});var o=r(1843);function y(N){return null!=N&&"false"!=`${N}`}function b(N,ot=0){return T(N)?Number(N):ot}function T(N){return!isNaN(parseFloat(N))&&!isNaN(Number(N))}function k(N){return Array.isArray(N)?N:[N]}function G(N){return null==N?"":"string"==typeof N?N:`${N}px`}function P(N){return N instanceof o.aKT?N.nativeElement:N}function Z(N,ot=/\s+/){const q=[];if(null!=N){const K=Array.isArray(N)?N:`${N}`.split(ot);for(const M of K){const a=`${M}`.trim();a&&q.push(a)}}return q}},81538:(Ce,Lt,r)=>{r.d(Lt,{CB:()=>q,DQ:()=>ot,qS:()=>G,sL:()=>a,xn:()=>N,y4:()=>P,zP:()=>M});var o=r(3979),T=(r(1396),r(73151),r(89115)),k=r(1843);class G{}function P(pt){return pt&&"function"==typeof pt.connect&&!(pt instanceof o.G)}class N{applyChanges(j,J,bt,Gt,te){j.forEachOperation(($,lt,V)=>{let mt,rt;if(null==$.previousIndex){const $t=bt($,lt,V);mt=J.createEmbeddedView($t.templateRef,$t.context,$t.index),rt=1}else null==V?(J.remove(lt),rt=3):(mt=J.get(lt),J.move(mt,V),rt=2);te&&te({context:mt?.context,operation:rt,record:$})})}detach(){}}class ot{constructor(){this.viewCacheSize=20,this._viewCache=[]}applyChanges(j,J,bt,Gt,te){j.forEachOperation(($,lt,V)=>{let mt,rt;null==$.previousIndex?(mt=this._insertView(()=>bt($,lt,V),V,J,Gt($)),rt=mt?1:0):null==V?(this._detachAndCacheView(lt,J),rt=3):(mt=this._moveView(lt,V,J,Gt($)),rt=2),te&&te({context:mt?.context,operation:rt,record:$})})}detach(){for(const j of this._viewCache)j.destroy();this._viewCache=[]}_insertView(j,J,bt,Gt){const te=this._insertViewFromCache(J,bt);if(te)return void(te.context.$implicit=Gt);const $=j();return bt.createEmbeddedView($.templateRef,$.context,$.index)}_detachAndCacheView(j,J){const bt=J.detach(j);this._maybeCacheView(bt,J)}_moveView(j,J,bt,Gt){const te=bt.get(j);return bt.move(te,J),te.context.$implicit=Gt,te}_maybeCacheView(j,J){if(this._viewCache.lengththis._markSelected(te)):this._markSelected(J[0]),this._selectedToEmit.length=0)}select(...j){this._verifyValueAssignment(j),j.forEach(bt=>this._markSelected(bt));const J=this._hasQueuedChanges();return this._emitChangeEvent(),J}deselect(...j){this._verifyValueAssignment(j),j.forEach(bt=>this._unmarkSelected(bt));const J=this._hasQueuedChanges();return this._emitChangeEvent(),J}setSelection(...j){this._verifyValueAssignment(j);const J=this.selected,bt=new Set(j);j.forEach(te=>this._markSelected(te)),J.filter(te=>!bt.has(te)).forEach(te=>this._unmarkSelected(te));const Gt=this._hasQueuedChanges();return this._emitChangeEvent(),Gt}toggle(j){return this.isSelected(j)?this.deselect(j):this.select(j)}clear(j=!0){this._unmarkAll();const J=this._hasQueuedChanges();return j&&this._emitChangeEvent(),J}isSelected(j){return this._selection.has(this._getConcreteValue(j))}isEmpty(){return 0===this._selection.size}hasValue(){return!this.isEmpty()}sort(j){this._multiple&&this.selected&&this._selected.sort(j)}isMultipleSelection(){return this._multiple}_emitChangeEvent(){this._selected=null,(this._selectedToEmit.length||this._deselectedToEmit.length)&&(this.changed.next({source:this,added:this._selectedToEmit,removed:this._deselectedToEmit}),this._deselectedToEmit=[],this._selectedToEmit=[])}_markSelected(j){j=this._getConcreteValue(j),this.isSelected(j)||(this._multiple||this._unmarkAll(),this.isSelected(j)||this._selection.add(j),this._emitChanges&&this._selectedToEmit.push(j))}_unmarkSelected(j){j=this._getConcreteValue(j),this.isSelected(j)&&(this._selection.delete(j),this._emitChanges&&this._deselectedToEmit.push(j))}_unmarkAll(){this.isEmpty()||this._selection.forEach(j=>this._unmarkSelected(j))}_verifyValueAssignment(j){}_hasQueuedChanges(){return!(!this._deselectedToEmit.length&&!this._selectedToEmit.length)}_getConcreteValue(j){if(this.compareWith){for(let J of this._selection)if(this.compareWith(j,J))return J;return j}return j}}let M=(()=>{class pt{constructor(){this._listeners=[]}notify(J,bt){for(let Gt of this._listeners)Gt(J,bt)}listen(J){return this._listeners.push(J),()=>{this._listeners=this._listeners.filter(bt=>J!==bt)}}ngOnDestroy(){this._listeners=[]}static{this.\u0275fac=function(bt){return new(bt||pt)}}static{this.\u0275prov=k.jDH({token:pt,factory:pt.\u0275fac,providedIn:"root"})}}return pt})();const a=new k.nKC("_ViewRepeater")},25150:(Ce,Lt,r)=>{r.d(Lt,{A:()=>Kt,A$:()=>Z,FX:()=>G,Fm:()=>k,G_:()=>y,Ge:()=>tt,Kp:()=>pt,LE:()=>Gt,SJ:()=>mt,UQ:()=>J,W3:()=>P,Z:()=>kt,_f:()=>q,bn:()=>Oe,dB:()=>a,eg:()=>Fi,f2:()=>rt,i7:()=>bt,n6:()=>te,rp:()=>oi,t6:()=>K,w_:()=>M,wn:()=>b,yZ:()=>j});const y=8,b=9,k=13,G=16,P=17,Z=18,q=27,K=32,M=33,a=34,pt=35,j=36,J=37,bt=38,Gt=39,te=40,mt=46,rt=48,Oe=57,Kt=65,kt=90,tt=91,Fi=224;function oi(Ti,...Mo){return Mo.length?Mo.some(si=>Ti[si]):Ti.altKey||Ti.shiftKey||Ti.ctrlKey||Ti.metaKey}},89369:(Ce,Lt,r)=>{r.d(Lt,{QP:()=>te,Rp:()=>lt});var o=r(1843),y=r(8275),b=r(89115),T=r(17434),k=r(81171),G=r(23135),P=r(89371),Z=r(16483),N=r(45318),ot=r(12324),q=r(28930),K=r(73907),M=r(29094);const pt=new Set;let j,J=(()=>{class V{constructor(rt,$t){this._platform=rt,this._nonce=$t,this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):Gt}matchMedia(rt){return(this._platform.WEBKIT||this._platform.BLINK)&&function bt(V,mt){if(!pt.has(V))try{j||(j=document.createElement("style"),mt&&(j.nonce=mt),j.setAttribute("type","text/css"),document.head.appendChild(j)),j.sheet&&(j.sheet.insertRule(`@media ${V} {body{ }}`,0),pt.add(V))}catch(rt){console.error(rt)}}(rt,this._nonce),this._matchMedia(rt)}static{this.\u0275fac=function($t){return new($t||V)(o.KVO(M.OD),o.KVO(o.BIS,8))}}static{this.\u0275prov=o.jDH({token:V,factory:V.\u0275fac,providedIn:"root"})}}return V})();function Gt(V){return{matches:"all"===V||""===V,media:V,addListener:()=>{},removeListener:()=>{}}}let te=(()=>{class V{constructor(rt,$t){this._mediaMatcher=rt,this._zone=$t,this._queries=new Map,this._destroySubject=new b.B}ngOnDestroy(){this._destroySubject.next(),this._destroySubject.complete()}isMatched(rt){return $((0,y.FG)(rt)).some(de=>this._registerQuery(de).mql.matches)}observe(rt){const de=$((0,y.FG)(rt)).map(Le=>this._registerQuery(Le).observable);let _e=(0,T.z)(de);return _e=(0,k.x)(_e.pipe((0,P.s)(1)),_e.pipe((0,Z.i)(1),(0,N.B)(0))),_e.pipe((0,ot.T)(Le=>{const Ge={matches:!1,breakpoints:{}};return Le.forEach(({matches:Xe,query:ye})=>{Ge.matches=Ge.matches||Xe,Ge.breakpoints[ye]=Xe}),Ge}))}_registerQuery(rt){if(this._queries.has(rt))return this._queries.get(rt);const $t=this._mediaMatcher.matchMedia(rt),_e={observable:new G.c(Le=>{const Ge=Xe=>this._zone.run(()=>Le.next(Xe));return $t.addListener(Ge),()=>{$t.removeListener(Ge)}}).pipe((0,q.Z)($t),(0,ot.T)(({matches:Le})=>({query:rt,matches:Le})),(0,K.Q)(this._destroySubject)),mql:$t};return this._queries.set(rt,_e),_e}static{this.\u0275fac=function($t){return new($t||V)(o.KVO(J),o.KVO(o.SKi))}}static{this.\u0275prov=o.jDH({token:V,factory:V.\u0275fac,providedIn:"root"})}}return V})();function $(V){return V.map(mt=>mt.split(",")).reduce((mt,rt)=>mt.concat(rt)).map(mt=>mt.trim())}const lt={XSmall:"(max-width: 599.98px)",Small:"(min-width: 600px) and (max-width: 959.98px)",Medium:"(min-width: 960px) and (max-width: 1279.98px)",Large:"(min-width: 1280px) and (max-width: 1919.98px)",XLarge:"(min-width: 1920px)",Handset:"(max-width: 599.98px) and (orientation: portrait), (max-width: 959.98px) and (orientation: landscape)",Tablet:"(min-width: 600px) and (max-width: 839.98px) and (orientation: portrait), (min-width: 960px) and (max-width: 1279.98px) and (orientation: landscape)",Web:"(min-width: 840px) and (orientation: portrait), (min-width: 1280px) and (orientation: landscape)",HandsetPortrait:"(max-width: 599.98px) and (orientation: portrait)",TabletPortrait:"(min-width: 600px) and (max-width: 839.98px) and (orientation: portrait)",WebPortrait:"(min-width: 840px) and (orientation: portrait)",HandsetLandscape:"(max-width: 959.98px) and (orientation: landscape)",TabletLandscape:"(min-width: 960px) and (max-width: 1279.98px) and (orientation: landscape)",WebLandscape:"(min-width: 1280px) and (orientation: landscape)"}},59332:(Ce,Lt,r)=>{r.d(Lt,{Wv:()=>Z,w5:()=>N});var o=r(8275),y=r(1843),b=r(23135),T=r(89115),k=r(45318);let G=(()=>{class ot{create(K){return typeof MutationObserver>"u"?null:new MutationObserver(K)}static{this.\u0275fac=function(M){return new(M||ot)}}static{this.\u0275prov=y.jDH({token:ot,factory:ot.\u0275fac,providedIn:"root"})}}return ot})(),P=(()=>{class ot{constructor(K){this._mutationObserverFactory=K,this._observedElements=new Map}ngOnDestroy(){this._observedElements.forEach((K,M)=>this._cleanupObserver(M))}observe(K){const M=(0,o.i8)(K);return new b.c(a=>{const j=this._observeElement(M).subscribe(a);return()=>{j.unsubscribe(),this._unobserveElement(M)}})}_observeElement(K){if(this._observedElements.has(K))this._observedElements.get(K).count++;else{const M=new T.B,a=this._mutationObserverFactory.create(pt=>M.next(pt));a&&a.observe(K,{characterData:!0,childList:!0,subtree:!0}),this._observedElements.set(K,{observer:a,stream:M,count:1})}return this._observedElements.get(K).stream}_unobserveElement(K){this._observedElements.has(K)&&(this._observedElements.get(K).count--,this._observedElements.get(K).count||this._cleanupObserver(K))}_cleanupObserver(K){if(this._observedElements.has(K)){const{observer:M,stream:a}=this._observedElements.get(K);M&&M.disconnect(),a.complete(),this._observedElements.delete(K)}}static{this.\u0275fac=function(M){return new(M||ot)(y.KVO(G))}}static{this.\u0275prov=y.jDH({token:ot,factory:ot.\u0275fac,providedIn:"root"})}}return ot})(),Z=(()=>{class ot{get disabled(){return this._disabled}set disabled(K){this._disabled=(0,o.he)(K),this._disabled?this._unsubscribe():this._subscribe()}get debounce(){return this._debounce}set debounce(K){this._debounce=(0,o.OE)(K),this._subscribe()}constructor(K,M,a){this._contentObserver=K,this._elementRef=M,this._ngZone=a,this.event=new y.bkB,this._disabled=!1,this._currentSubscription=null}ngAfterContentInit(){!this._currentSubscription&&!this.disabled&&this._subscribe()}ngOnDestroy(){this._unsubscribe()}_subscribe(){this._unsubscribe();const K=this._contentObserver.observe(this._elementRef);this._ngZone.runOutsideAngular(()=>{this._currentSubscription=(this.debounce?K.pipe((0,k.B)(this.debounce)):K).subscribe(this.event)})}_unsubscribe(){this._currentSubscription?.unsubscribe()}static{this.\u0275fac=function(M){return new(M||ot)(y.rXU(P),y.rXU(y.aKT),y.rXU(y.SKi))}}static{this.\u0275dir=y.FsC({type:ot,selectors:[["","cdkObserveContent",""]],inputs:{disabled:["cdkObserveContentDisabled","disabled"],debounce:"debounce"},outputs:{event:"cdkObserveContent"},exportAs:["cdkObserveContent"]})}}return ot})(),N=(()=>{class ot{static{this.\u0275fac=function(M){return new(M||ot)}}static{this.\u0275mod=y.$C({type:ot})}static{this.\u0275inj=y.G2t({providers:[G]})}}return ot})()},3819:(Ce,Lt,r)=>{r.d(Lt,{WB:()=>Ee,$Q:()=>re,hJ:()=>oe,rR:()=>de,Sf:()=>be,z_:()=>Ht,yY:()=>Me});var o=r(18144),y=r(18331),b=r(1843),T=r(8275),k=r(29094),G=r(98474),P=r(89371),Z=r(73907),N=r(33280),ot=r(37018),K=r(10165),M=r(86953),a=r(89115),pt=r(52693),j=r(85012),J=r(25150);const bt=(0,k.CZ)();class Gt{constructor(H,st){this._viewportRuler=H,this._previousHTMLStyles={top:"",left:""},this._isEnabled=!1,this._document=st}attach(){}enable(){if(this._canBeEnabled()){const H=this._document.documentElement;this._previousScrollPosition=this._viewportRuler.getViewportScrollPosition(),this._previousHTMLStyles.left=H.style.left||"",this._previousHTMLStyles.top=H.style.top||"",H.style.left=(0,T.a1)(-this._previousScrollPosition.left),H.style.top=(0,T.a1)(-this._previousScrollPosition.top),H.classList.add("cdk-global-scrollblock"),this._isEnabled=!0}}disable(){if(this._isEnabled){const H=this._document.documentElement,zt=H.style,vt=this._document.body.style,kt=zt.scrollBehavior||"",tt=vt.scrollBehavior||"";this._isEnabled=!1,zt.left=this._previousHTMLStyles.left,zt.top=this._previousHTMLStyles.top,H.classList.remove("cdk-global-scrollblock"),bt&&(zt.scrollBehavior=vt.scrollBehavior="auto"),window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top),bt&&(zt.scrollBehavior=kt,vt.scrollBehavior=tt)}}_canBeEnabled(){if(this._document.documentElement.classList.contains("cdk-global-scrollblock")||this._isEnabled)return!1;const st=this._document.body,zt=this._viewportRuler.getViewportSize();return st.scrollHeight>zt.height||st.scrollWidth>zt.width}}class ${constructor(H,st,zt,vt){this._scrollDispatcher=H,this._ngZone=st,this._viewportRuler=zt,this._config=vt,this._scrollSubscription=null,this._detach=()=>{this.disable(),this._overlayRef.hasAttached()&&this._ngZone.run(()=>this._overlayRef.detach())}}attach(H){this._overlayRef=H}enable(){if(this._scrollSubscription)return;const H=this._scrollDispatcher.scrolled(0).pipe((0,G.p)(st=>!st||!this._overlayRef.overlayElement.contains(st.getElementRef().nativeElement)));this._config&&this._config.threshold&&this._config.threshold>1?(this._initialScrollPosition=this._viewportRuler.getViewportScrollPosition().top,this._scrollSubscription=H.subscribe(()=>{const st=this._viewportRuler.getViewportScrollPosition().top;Math.abs(st-this._initialScrollPosition)>this._config.threshold?this._detach():this._overlayRef.updatePosition()})):this._scrollSubscription=H.subscribe(this._detach)}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}}class lt{enable(){}disable(){}attach(){}}function V(at,H){return H.some(st=>at.bottomst.bottom||at.rightst.right)}function mt(at,H){return H.some(st=>at.topst.bottom||at.leftst.right)}class rt{constructor(H,st,zt,vt){this._scrollDispatcher=H,this._viewportRuler=st,this._ngZone=zt,this._config=vt,this._scrollSubscription=null}attach(H){this._overlayRef=H}enable(){this._scrollSubscription||(this._scrollSubscription=this._scrollDispatcher.scrolled(this._config?this._config.scrollThrottle:0).subscribe(()=>{if(this._overlayRef.updatePosition(),this._config&&this._config.autoClose){const st=this._overlayRef.overlayElement.getBoundingClientRect(),{width:zt,height:vt}=this._viewportRuler.getViewportSize();V(st,[{width:zt,height:vt,bottom:vt,right:zt,top:0,left:0}])&&(this.disable(),this._ngZone.run(()=>this._overlayRef.detach()))}}))}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}}let $t=(()=>{class at{constructor(st,zt,vt,kt){this._scrollDispatcher=st,this._viewportRuler=zt,this._ngZone=vt,this.noop=()=>new lt,this.close=tt=>new $(this._scrollDispatcher,this._ngZone,this._viewportRuler,tt),this.block=()=>new Gt(this._viewportRuler,this._document),this.reposition=tt=>new rt(this._scrollDispatcher,this._viewportRuler,this._ngZone,tt),this._document=kt}static{this.\u0275fac=function(zt){return new(zt||at)(b.KVO(o.R),b.KVO(o.Xj),b.KVO(b.SKi),b.KVO(y.qQ))}}static{this.\u0275prov=b.jDH({token:at,factory:at.\u0275fac,providedIn:"root"})}}return at})();class de{constructor(H){if(this.scrollStrategy=new lt,this.panelClass="",this.hasBackdrop=!1,this.backdropClass="cdk-overlay-dark-backdrop",this.disposeOnNavigation=!1,H){const st=Object.keys(H);for(const zt of st)void 0!==H[zt]&&(this[zt]=H[zt])}}}class Ge{constructor(H,st){this.connectionPair=H,this.scrollableViewProperties=st}}let Ve=(()=>{class at{constructor(st){this._attachedOverlays=[],this._document=st}ngOnDestroy(){this.detach()}add(st){this.remove(st),this._attachedOverlays.push(st)}remove(st){const zt=this._attachedOverlays.indexOf(st);zt>-1&&this._attachedOverlays.splice(zt,1),0===this._attachedOverlays.length&&this.detach()}static{this.\u0275fac=function(zt){return new(zt||at)(b.KVO(y.qQ))}}static{this.\u0275prov=b.jDH({token:at,factory:at.\u0275fac,providedIn:"root"})}}return at})(),Oe=(()=>{class at extends Ve{constructor(st,zt){super(st),this._ngZone=zt,this._keydownListener=vt=>{const kt=this._attachedOverlays;for(let tt=kt.length-1;tt>-1;tt--)if(kt[tt]._keydownEvents.observers.length>0){const X=kt[tt]._keydownEvents;this._ngZone?this._ngZone.run(()=>X.next(vt)):X.next(vt);break}}}add(st){super.add(st),this._isAttached||(this._ngZone?this._ngZone.runOutsideAngular(()=>this._document.body.addEventListener("keydown",this._keydownListener)):this._document.body.addEventListener("keydown",this._keydownListener),this._isAttached=!0)}detach(){this._isAttached&&(this._document.body.removeEventListener("keydown",this._keydownListener),this._isAttached=!1)}static{this.\u0275fac=function(zt){return new(zt||at)(b.KVO(y.qQ),b.KVO(b.SKi,8))}}static{this.\u0275prov=b.jDH({token:at,factory:at.\u0275fac,providedIn:"root"})}}return at})(),Qe=(()=>{class at extends Ve{constructor(st,zt,vt){super(st),this._platform=zt,this._ngZone=vt,this._cursorStyleIsSet=!1,this._pointerDownListener=kt=>{this._pointerDownEventTarget=(0,k.Fb)(kt)},this._clickListener=kt=>{const tt=(0,k.Fb)(kt),X="click"===kt.type&&this._pointerDownEventTarget?this._pointerDownEventTarget:tt;this._pointerDownEventTarget=null;const ft=this._attachedOverlays.slice();for(let Ot=ft.length-1;Ot>-1;Ot--){const xe=ft[Ot];if(xe._outsidePointerEvents.observers.length<1||!xe.hasAttached())continue;if(xe.overlayElement.contains(tt)||xe.overlayElement.contains(X))break;const Te=xe._outsidePointerEvents;this._ngZone?this._ngZone.run(()=>Te.next(kt)):Te.next(kt)}}}add(st){if(super.add(st),!this._isAttached){const zt=this._document.body;this._ngZone?this._ngZone.runOutsideAngular(()=>this._addEventListeners(zt)):this._addEventListeners(zt),this._platform.IOS&&!this._cursorStyleIsSet&&(this._cursorOriginalValue=zt.style.cursor,zt.style.cursor="pointer",this._cursorStyleIsSet=!0),this._isAttached=!0}}detach(){if(this._isAttached){const st=this._document.body;st.removeEventListener("pointerdown",this._pointerDownListener,!0),st.removeEventListener("click",this._clickListener,!0),st.removeEventListener("auxclick",this._clickListener,!0),st.removeEventListener("contextmenu",this._clickListener,!0),this._platform.IOS&&this._cursorStyleIsSet&&(st.style.cursor=this._cursorOriginalValue,this._cursorStyleIsSet=!1),this._isAttached=!1}}_addEventListeners(st){st.addEventListener("pointerdown",this._pointerDownListener,!0),st.addEventListener("click",this._clickListener,!0),st.addEventListener("auxclick",this._clickListener,!0),st.addEventListener("contextmenu",this._clickListener,!0)}static{this.\u0275fac=function(zt){return new(zt||at)(b.KVO(y.qQ),b.KVO(k.OD),b.KVO(b.SKi,8))}}static{this.\u0275prov=b.jDH({token:at,factory:at.\u0275fac,providedIn:"root"})}}return at})(),be=(()=>{class at{constructor(st,zt){this._platform=zt,this._document=st}ngOnDestroy(){this._containerElement?.remove()}getContainerElement(){return this._containerElement||this._createContainer(),this._containerElement}_createContainer(){const st="cdk-overlay-container";if(this._platform.isBrowser||(0,k.v8)()){const vt=this._document.querySelectorAll(`.${st}[platform="server"], .${st}[platform="test"]`);for(let kt=0;ktthis._backdropClick.next(Te),this._backdropTransitionendHandler=Te=>{this._disposeBackdrop(Te.target)},this._keydownEvents=new a.B,this._outsidePointerEvents=new a.B,vt.scrollStrategy&&(this._scrollStrategy=vt.scrollStrategy,this._scrollStrategy.attach(this)),this._positionStrategy=vt.positionStrategy}get overlayElement(){return this._pane}get backdropElement(){return this._backdropElement}get hostElement(){return this._host}attach(H){!this._host.parentElement&&this._previousHostParent&&this._previousHostParent.appendChild(this._host);const st=this._portalOutlet.attach(H);return this._positionStrategy&&this._positionStrategy.attach(this),this._updateStackingOrder(),this._updateElementSize(),this._updateElementDirection(),this._scrollStrategy&&this._scrollStrategy.enable(),this._ngZone.onStable.pipe((0,P.s)(1)).subscribe(()=>{this.hasAttached()&&this.updatePosition()}),this._togglePointerEvents(!0),this._config.hasBackdrop&&this._attachBackdrop(),this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!0),this._attachments.next(),this._keyboardDispatcher.add(this),this._config.disposeOnNavigation&&(this._locationChanges=this._location.subscribe(()=>this.dispose())),this._outsideClickDispatcher.add(this),"function"==typeof st?.onDestroy&&st.onDestroy(()=>{this.hasAttached()&&this._ngZone.runOutsideAngular(()=>Promise.resolve().then(()=>this.detach()))}),st}detach(){if(!this.hasAttached())return;this.detachBackdrop(),this._togglePointerEvents(!1),this._positionStrategy&&this._positionStrategy.detach&&this._positionStrategy.detach(),this._scrollStrategy&&this._scrollStrategy.disable();const H=this._portalOutlet.detach();return this._detachments.next(),this._keyboardDispatcher.remove(this),this._detachContentWhenStable(),this._locationChanges.unsubscribe(),this._outsideClickDispatcher.remove(this),H}dispose(){const H=this.hasAttached();this._positionStrategy&&this._positionStrategy.dispose(),this._disposeScrollStrategy(),this._disposeBackdrop(this._backdropElement),this._locationChanges.unsubscribe(),this._keyboardDispatcher.remove(this),this._portalOutlet.dispose(),this._attachments.complete(),this._backdropClick.complete(),this._keydownEvents.complete(),this._outsidePointerEvents.complete(),this._outsideClickDispatcher.remove(this),this._host?.remove(),this._previousHostParent=this._pane=this._host=null,H&&this._detachments.next(),this._detachments.complete()}hasAttached(){return this._portalOutlet.hasAttached()}backdropClick(){return this._backdropClick}attachments(){return this._attachments}detachments(){return this._detachments}keydownEvents(){return this._keydownEvents}outsidePointerEvents(){return this._outsidePointerEvents}getConfig(){return this._config}updatePosition(){this._positionStrategy&&this._positionStrategy.apply()}updatePositionStrategy(H){H!==this._positionStrategy&&(this._positionStrategy&&this._positionStrategy.dispose(),this._positionStrategy=H,this.hasAttached()&&(H.attach(this),this.updatePosition()))}updateSize(H){this._config={...this._config,...H},this._updateElementSize()}setDirection(H){this._config={...this._config,direction:H},this._updateElementDirection()}addPanelClass(H){this._pane&&this._toggleClasses(this._pane,H,!0)}removePanelClass(H){this._pane&&this._toggleClasses(this._pane,H,!1)}getDirection(){const H=this._config.direction;return H?"string"==typeof H?H:H.value:"ltr"}updateScrollStrategy(H){H!==this._scrollStrategy&&(this._disposeScrollStrategy(),this._scrollStrategy=H,this.hasAttached()&&(H.attach(this),H.enable()))}_updateElementDirection(){this._host.setAttribute("dir",this.getDirection())}_updateElementSize(){if(!this._pane)return;const H=this._pane.style;H.width=(0,T.a1)(this._config.width),H.height=(0,T.a1)(this._config.height),H.minWidth=(0,T.a1)(this._config.minWidth),H.minHeight=(0,T.a1)(this._config.minHeight),H.maxWidth=(0,T.a1)(this._config.maxWidth),H.maxHeight=(0,T.a1)(this._config.maxHeight)}_togglePointerEvents(H){this._pane.style.pointerEvents=H?"":"none"}_attachBackdrop(){const H="cdk-overlay-backdrop-showing";this._backdropElement=this._document.createElement("div"),this._backdropElement.classList.add("cdk-overlay-backdrop"),this._animationsDisabled&&this._backdropElement.classList.add("cdk-overlay-backdrop-noop-animation"),this._config.backdropClass&&this._toggleClasses(this._backdropElement,this._config.backdropClass,!0),this._host.parentElement.insertBefore(this._backdropElement,this._host),this._backdropElement.addEventListener("click",this._backdropClickHandler),!this._animationsDisabled&&typeof requestAnimationFrame<"u"?this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>{this._backdropElement&&this._backdropElement.classList.add(H)})}):this._backdropElement.classList.add(H)}_updateStackingOrder(){this._host.nextSibling&&this._host.parentNode.appendChild(this._host)}detachBackdrop(){const H=this._backdropElement;if(H){if(this._animationsDisabled)return void this._disposeBackdrop(H);H.classList.remove("cdk-overlay-backdrop-showing"),this._ngZone.runOutsideAngular(()=>{H.addEventListener("transitionend",this._backdropTransitionendHandler)}),H.style.pointerEvents="none",this._backdropTimeout=this._ngZone.runOutsideAngular(()=>setTimeout(()=>{this._disposeBackdrop(H)},500))}}_toggleClasses(H,st,zt){const vt=(0,T.FG)(st||[]).filter(kt=>!!kt);vt.length&&(zt?H.classList.add(...vt):H.classList.remove(...vt))}_detachContentWhenStable(){this._ngZone.runOutsideAngular(()=>{const H=this._ngZone.onStable.pipe((0,Z.Q)((0,j.h)(this._attachments,this._detachments))).subscribe(()=>{(!this._pane||!this._host||0===this._pane.children.length)&&(this._pane&&this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!1),this._host&&this._host.parentElement&&(this._previousHostParent=this._host.parentElement,this._host.remove()),H.unsubscribe())})})}_disposeScrollStrategy(){const H=this._scrollStrategy;H&&(H.disable(),H.detach&&H.detach())}_disposeBackdrop(H){H&&(H.removeEventListener("click",this._backdropClickHandler),H.removeEventListener("transitionend",this._backdropTransitionendHandler),H.remove(),this._backdropElement===H&&(this._backdropElement=null)),this._backdropTimeout&&(clearTimeout(this._backdropTimeout),this._backdropTimeout=void 0)}}const yt="cdk-overlay-connected-position-bounding-box",Kt=/([A-Za-z%]+)$/;class Nt{get positions(){return this._preferredPositions}constructor(H,st,zt,vt,kt){this._viewportRuler=st,this._document=zt,this._platform=vt,this._overlayContainer=kt,this._lastBoundingBoxSize={width:0,height:0},this._isPushed=!1,this._canPush=!0,this._growAfterOpen=!1,this._hasFlexibleDimensions=!0,this._positionLocked=!1,this._viewportMargin=0,this._scrollables=[],this._preferredPositions=[],this._positionChanges=new a.B,this._resizeSubscription=pt.yU.EMPTY,this._offsetX=0,this._offsetY=0,this._appliedPanelClasses=[],this.positionChanges=this._positionChanges,this.setOrigin(H)}attach(H){this._validatePositions(),H.hostElement.classList.add(yt),this._overlayRef=H,this._boundingBox=H.hostElement,this._pane=H.overlayElement,this._isDisposed=!1,this._isInitialRender=!0,this._lastPosition=null,this._resizeSubscription.unsubscribe(),this._resizeSubscription=this._viewportRuler.change().subscribe(()=>{this._isInitialRender=!0,this.apply()})}apply(){if(this._isDisposed||!this._platform.isBrowser)return;if(!this._isInitialRender&&this._positionLocked&&this._lastPosition)return void this.reapplyLastPosition();this._clearPanelClasses(),this._resetOverlayElementStyles(),this._resetBoundingBoxStyles(),this._viewportRect=this._getNarrowedViewportRect(),this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._containerRect=this._overlayContainer.getContainerElement().getBoundingClientRect();const H=this._originRect,st=this._overlayRect,zt=this._viewportRect,vt=this._containerRect,kt=[];let tt;for(let X of this._preferredPositions){let ft=this._getOriginPoint(H,vt,X),Ot=this._getOverlayPoint(ft,st,X),xe=this._getOverlayFit(Ot,st,zt,X);if(xe.isCompletelyWithinViewport)return this._isPushed=!1,void this._applyPosition(X,ft);this._canFitWithFlexibleDimensions(xe,Ot,zt)?kt.push({position:X,origin:ft,overlayRect:st,boundingBoxRect:this._calculateBoundingBoxRect(ft,X)}):(!tt||tt.overlayFit.visibleAreaft&&(ft=xe,X=Ot)}return this._isPushed=!1,void this._applyPosition(X.position,X.origin)}if(this._canPush)return this._isPushed=!0,void this._applyPosition(tt.position,tt.originPoint);this._applyPosition(tt.position,tt.originPoint)}detach(){this._clearPanelClasses(),this._lastPosition=null,this._previousPushAmount=null,this._resizeSubscription.unsubscribe()}dispose(){this._isDisposed||(this._boundingBox&&Tt(this._boundingBox.style,{top:"",left:"",right:"",bottom:"",height:"",width:"",alignItems:"",justifyContent:""}),this._pane&&this._resetOverlayElementStyles(),this._overlayRef&&this._overlayRef.hostElement.classList.remove(yt),this.detach(),this._positionChanges.complete(),this._overlayRef=this._boundingBox=null,this._isDisposed=!0)}reapplyLastPosition(){if(this._isDisposed||!this._platform.isBrowser)return;const H=this._lastPosition;if(H){this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._viewportRect=this._getNarrowedViewportRect(),this._containerRect=this._overlayContainer.getContainerElement().getBoundingClientRect();const st=this._getOriginPoint(this._originRect,this._containerRect,H);this._applyPosition(H,st)}else this.apply()}withScrollableContainers(H){return this._scrollables=H,this}withPositions(H){return this._preferredPositions=H,-1===H.indexOf(this._lastPosition)&&(this._lastPosition=null),this._validatePositions(),this}withViewportMargin(H){return this._viewportMargin=H,this}withFlexibleDimensions(H=!0){return this._hasFlexibleDimensions=H,this}withGrowAfterOpen(H=!0){return this._growAfterOpen=H,this}withPush(H=!0){return this._canPush=H,this}withLockedPosition(H=!0){return this._positionLocked=H,this}setOrigin(H){return this._origin=H,this}withDefaultOffsetX(H){return this._offsetX=H,this}withDefaultOffsetY(H){return this._offsetY=H,this}withTransformOriginOn(H){return this._transformOriginSelector=H,this}_getOriginPoint(H,st,zt){let vt,kt;if("center"==zt.originX)vt=H.left+H.width/2;else{const tt=this._isRtl()?H.right:H.left,X=this._isRtl()?H.left:H.right;vt="start"==zt.originX?tt:X}return st.left<0&&(vt-=st.left),kt="center"==zt.originY?H.top+H.height/2:"top"==zt.originY?H.top:H.bottom,st.top<0&&(kt-=st.top),{x:vt,y:kt}}_getOverlayPoint(H,st,zt){let vt,kt;return vt="center"==zt.overlayX?-st.width/2:"start"===zt.overlayX?this._isRtl()?-st.width:0:this._isRtl()?0:-st.width,kt="center"==zt.overlayY?-st.height/2:"top"==zt.overlayY?0:-st.height,{x:H.x+vt,y:H.y+kt}}_getOverlayFit(H,st,zt,vt){const kt=Ut(st);let{x:tt,y:X}=H,ft=this._getOffset(vt,"x"),Ot=this._getOffset(vt,"y");ft&&(tt+=ft),Ot&&(X+=Ot);let Ke=0-X,on=X+kt.height-zt.height,_n=this._subtractOverflows(kt.width,0-tt,tt+kt.width-zt.width),hn=this._subtractOverflows(kt.height,Ke,on),fe=_n*hn;return{visibleArea:fe,isCompletelyWithinViewport:kt.width*kt.height===fe,fitsInViewportVertically:hn===kt.height,fitsInViewportHorizontally:_n==kt.width}}_canFitWithFlexibleDimensions(H,st,zt){if(this._hasFlexibleDimensions){const vt=zt.bottom-st.y,kt=zt.right-st.x,tt=Yt(this._overlayRef.getConfig().minHeight),X=Yt(this._overlayRef.getConfig().minWidth);return(H.fitsInViewportVertically||null!=tt&&tt<=vt)&&(H.fitsInViewportHorizontally||null!=X&&X<=kt)}return!1}_pushOverlayOnScreen(H,st,zt){if(this._previousPushAmount&&this._positionLocked)return{x:H.x+this._previousPushAmount.x,y:H.y+this._previousPushAmount.y};const vt=Ut(st),kt=this._viewportRect,tt=Math.max(H.x+vt.width-kt.width,0),X=Math.max(H.y+vt.height-kt.height,0),ft=Math.max(kt.top-zt.top-H.y,0),Ot=Math.max(kt.left-zt.left-H.x,0);let xe=0,Te=0;return xe=vt.width<=kt.width?Ot||-tt:H.x_n&&!this._isInitialRender&&!this._growAfterOpen&&(tt=H.y-_n/2)}if("end"===st.overlayX&&!vt||"start"===st.overlayX&&vt)Ke=zt.width-H.x+this._viewportMargin,xe=H.x-this._viewportMargin;else if("start"===st.overlayX&&!vt||"end"===st.overlayX&&vt)Te=H.x,xe=zt.right-H.x;else{const on=Math.min(zt.right-H.x+zt.left,H.x),_n=this._lastBoundingBoxSize.width;xe=2*on,Te=H.x-on,xe>_n&&!this._isInitialRender&&!this._growAfterOpen&&(Te=H.x-_n/2)}return{top:tt,left:Te,bottom:X,right:Ke,width:xe,height:kt}}_setBoundingBoxStyles(H,st){const zt=this._calculateBoundingBoxRect(H,st);!this._isInitialRender&&!this._growAfterOpen&&(zt.height=Math.min(zt.height,this._lastBoundingBoxSize.height),zt.width=Math.min(zt.width,this._lastBoundingBoxSize.width));const vt={};if(this._hasExactPosition())vt.top=vt.left="0",vt.bottom=vt.right=vt.maxHeight=vt.maxWidth="",vt.width=vt.height="100%";else{const kt=this._overlayRef.getConfig().maxHeight,tt=this._overlayRef.getConfig().maxWidth;vt.height=(0,T.a1)(zt.height),vt.top=(0,T.a1)(zt.top),vt.bottom=(0,T.a1)(zt.bottom),vt.width=(0,T.a1)(zt.width),vt.left=(0,T.a1)(zt.left),vt.right=(0,T.a1)(zt.right),vt.alignItems="center"===st.overlayX?"center":"end"===st.overlayX?"flex-end":"flex-start",vt.justifyContent="center"===st.overlayY?"center":"bottom"===st.overlayY?"flex-end":"flex-start",kt&&(vt.maxHeight=(0,T.a1)(kt)),tt&&(vt.maxWidth=(0,T.a1)(tt))}this._lastBoundingBoxSize=zt,Tt(this._boundingBox.style,vt)}_resetBoundingBoxStyles(){Tt(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})}_resetOverlayElementStyles(){Tt(this._pane.style,{top:"",left:"",bottom:"",right:"",position:"",transform:""})}_setOverlayElementStyles(H,st){const zt={},vt=this._hasExactPosition(),kt=this._hasFlexibleDimensions,tt=this._overlayRef.getConfig();if(vt){const xe=this._viewportRuler.getViewportScrollPosition();Tt(zt,this._getExactOverlayY(st,H,xe)),Tt(zt,this._getExactOverlayX(st,H,xe))}else zt.position="static";let X="",ft=this._getOffset(st,"x"),Ot=this._getOffset(st,"y");ft&&(X+=`translateX(${ft}px) `),Ot&&(X+=`translateY(${Ot}px)`),zt.transform=X.trim(),tt.maxHeight&&(vt?zt.maxHeight=(0,T.a1)(tt.maxHeight):kt&&(zt.maxHeight="")),tt.maxWidth&&(vt?zt.maxWidth=(0,T.a1)(tt.maxWidth):kt&&(zt.maxWidth="")),Tt(this._pane.style,zt)}_getExactOverlayY(H,st,zt){let vt={top:"",bottom:""},kt=this._getOverlayPoint(st,this._overlayRect,H);return this._isPushed&&(kt=this._pushOverlayOnScreen(kt,this._overlayRect,zt)),"bottom"===H.overlayY?vt.bottom=this._document.documentElement.clientHeight-(kt.y+this._overlayRect.height)+"px":vt.top=(0,T.a1)(kt.y),vt}_getExactOverlayX(H,st,zt){let tt,vt={left:"",right:""},kt=this._getOverlayPoint(st,this._overlayRect,H);return this._isPushed&&(kt=this._pushOverlayOnScreen(kt,this._overlayRect,zt)),tt=this._isRtl()?"end"===H.overlayX?"left":"right":"end"===H.overlayX?"right":"left","right"===tt?vt.right=this._document.documentElement.clientWidth-(kt.x+this._overlayRect.width)+"px":vt.left=(0,T.a1)(kt.x),vt}_getScrollVisibility(){const H=this._getOriginRect(),st=this._pane.getBoundingClientRect(),zt=this._scrollables.map(vt=>vt.getElementRef().nativeElement.getBoundingClientRect());return{isOriginClipped:mt(H,zt),isOriginOutsideView:V(H,zt),isOverlayClipped:mt(st,zt),isOverlayOutsideView:V(st,zt)}}_subtractOverflows(H,...st){return st.reduce((zt,vt)=>zt-Math.max(vt,0),H)}_getNarrowedViewportRect(){const H=this._document.documentElement.clientWidth,st=this._document.documentElement.clientHeight,zt=this._viewportRuler.getViewportScrollPosition();return{top:zt.top+this._viewportMargin,left:zt.left+this._viewportMargin,right:zt.left+H-this._viewportMargin,bottom:zt.top+st-this._viewportMargin,width:H-2*this._viewportMargin,height:st-2*this._viewportMargin}}_isRtl(){return"rtl"===this._overlayRef.getDirection()}_hasExactPosition(){return!this._hasFlexibleDimensions||this._isPushed}_getOffset(H,st){return"x"===st?null==H.offsetX?this._offsetX:H.offsetX:null==H.offsetY?this._offsetY:H.offsetY}_validatePositions(){}_addPanelClasses(H){this._pane&&(0,T.FG)(H).forEach(st=>{""!==st&&-1===this._appliedPanelClasses.indexOf(st)&&(this._appliedPanelClasses.push(st),this._pane.classList.add(st))})}_clearPanelClasses(){this._pane&&(this._appliedPanelClasses.forEach(H=>{this._pane.classList.remove(H)}),this._appliedPanelClasses=[])}_getOriginRect(){const H=this._origin;if(H instanceof b.aKT)return H.nativeElement.getBoundingClientRect();if(H instanceof Element)return H.getBoundingClientRect();const st=H.width||0,zt=H.height||0;return{top:H.y,bottom:H.y+zt,left:H.x,right:H.x+st,height:zt,width:st}}}function Tt(at,H){for(let st in H)H.hasOwnProperty(st)&&(at[st]=H[st]);return at}function Yt(at){if("number"!=typeof at&&null!=at){const[H,st]=at.split(Kt);return st&&"px"!==st?null:parseFloat(H)}return at||null}function Ut(at){return{top:Math.floor(at.top),right:Math.floor(at.right),bottom:Math.floor(at.bottom),left:Math.floor(at.left),width:Math.floor(at.width),height:Math.floor(at.height)}}const un="cdk-global-overlay-wrapper";class gt{constructor(){this._cssPosition="static",this._topOffset="",this._bottomOffset="",this._alignItems="",this._xPosition="",this._xOffset="",this._width="",this._height="",this._isDisposed=!1}attach(H){const st=H.getConfig();this._overlayRef=H,this._width&&!st.width&&H.updateSize({width:this._width}),this._height&&!st.height&&H.updateSize({height:this._height}),H.hostElement.classList.add(un),this._isDisposed=!1}top(H=""){return this._bottomOffset="",this._topOffset=H,this._alignItems="flex-start",this}left(H=""){return this._xOffset=H,this._xPosition="left",this}bottom(H=""){return this._topOffset="",this._bottomOffset=H,this._alignItems="flex-end",this}right(H=""){return this._xOffset=H,this._xPosition="right",this}start(H=""){return this._xOffset=H,this._xPosition="start",this}end(H=""){return this._xOffset=H,this._xPosition="end",this}width(H=""){return this._overlayRef?this._overlayRef.updateSize({width:H}):this._width=H,this}height(H=""){return this._overlayRef?this._overlayRef.updateSize({height:H}):this._height=H,this}centerHorizontally(H=""){return this.left(H),this._xPosition="center",this}centerVertically(H=""){return this.top(H),this._alignItems="center",this}apply(){if(!this._overlayRef||!this._overlayRef.hasAttached())return;const H=this._overlayRef.overlayElement.style,st=this._overlayRef.hostElement.style,zt=this._overlayRef.getConfig(),{width:vt,height:kt,maxWidth:tt,maxHeight:X}=zt,ft=!("100%"!==vt&&"100vw"!==vt||tt&&"100%"!==tt&&"100vw"!==tt),Ot=!("100%"!==kt&&"100vh"!==kt||X&&"100%"!==X&&"100vh"!==X),xe=this._xPosition,Te=this._xOffset,Ke="rtl"===this._overlayRef.getConfig().direction;let on="",_n="",hn="";ft?hn="flex-start":"center"===xe?(hn="center",Ke?_n=Te:on=Te):Ke?"left"===xe||"end"===xe?(hn="flex-end",on=Te):("right"===xe||"start"===xe)&&(hn="flex-start",_n=Te):"left"===xe||"start"===xe?(hn="flex-start",on=Te):("right"===xe||"end"===xe)&&(hn="flex-end",_n=Te),H.position=this._cssPosition,H.marginLeft=ft?"0":on,H.marginTop=Ot?"0":this._topOffset,H.marginBottom=this._bottomOffset,H.marginRight=ft?"0":_n,st.justifyContent=hn,st.alignItems=Ot?"flex-start":this._alignItems}dispose(){if(this._isDisposed||!this._overlayRef)return;const H=this._overlayRef.overlayElement.style,st=this._overlayRef.hostElement,zt=st.style;st.classList.remove(un),zt.justifyContent=zt.alignItems=H.marginTop=H.marginBottom=H.marginLeft=H.marginRight=H.position="",this._overlayRef=null,this._isDisposed=!0}}let le=(()=>{class at{constructor(st,zt,vt,kt){this._viewportRuler=st,this._document=zt,this._platform=vt,this._overlayContainer=kt}global(){return new gt}flexibleConnectedTo(st){return new Nt(st,this._viewportRuler,this._document,this._platform,this._overlayContainer)}static{this.\u0275fac=function(zt){return new(zt||at)(b.KVO(o.Xj),b.KVO(y.qQ),b.KVO(k.OD),b.KVO(be))}}static{this.\u0275prov=b.jDH({token:at,factory:at.\u0275fac,providedIn:"root"})}}return at})(),Vt=0,oe=(()=>{class at{constructor(st,zt,vt,kt,tt,X,ft,Ot,xe,Te,Ke,on){this.scrollStrategies=st,this._overlayContainer=zt,this._componentFactoryResolver=vt,this._positionBuilder=kt,this._keyboardDispatcher=tt,this._injector=X,this._ngZone=ft,this._document=Ot,this._directionality=xe,this._location=Te,this._outsideClickDispatcher=Ke,this._animationsModuleType=on}create(st){const zt=this._createHostElement(),vt=this._createPaneElement(zt),kt=this._createPortalOutlet(vt),tt=new de(st);return tt.direction=tt.direction||this._directionality.value,new Me(kt,zt,vt,tt,this._ngZone,this._keyboardDispatcher,this._document,this._location,this._outsideClickDispatcher,"NoopAnimations"===this._animationsModuleType)}position(){return this._positionBuilder}_createPaneElement(st){const zt=this._document.createElement("div");return zt.id="cdk-overlay-"+Vt++,zt.classList.add("cdk-overlay-pane"),st.appendChild(zt),zt}_createHostElement(){const st=this._document.createElement("div");return this._overlayContainer.getContainerElement().appendChild(st),st}_createPortalOutlet(st){return this._appRef||(this._appRef=this._injector.get(b.o8S)),new M.aI(st,this._componentFactoryResolver,this._appRef,this._injector,this._document)}static{this.\u0275fac=function(zt){return new(zt||at)(b.KVO($t),b.KVO(be),b.KVO(b.OM3),b.KVO(le),b.KVO(Oe),b.KVO(b.zZn),b.KVO(b.SKi),b.KVO(y.qQ),b.KVO(K.dS),b.KVO(y.aZ),b.KVO(Qe),b.KVO(b.bc$,8))}}static{this.\u0275prov=b.jDH({token:at,factory:at.\u0275fac,providedIn:"root"})}}return at})();const Qt=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom"},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"}],Et=new b.nKC("cdk-connected-overlay-scroll-strategy");let re=(()=>{class at{constructor(st){this.elementRef=st}static{this.\u0275fac=function(zt){return new(zt||at)(b.rXU(b.aKT))}}static{this.\u0275dir=b.FsC({type:at,selectors:[["","cdk-overlay-origin",""],["","overlay-origin",""],["","cdkOverlayOrigin",""]],exportAs:["cdkOverlayOrigin"],standalone:!0})}}return at})(),Ee=(()=>{class at{get offsetX(){return this._offsetX}set offsetX(st){this._offsetX=st,this._position&&this._updatePositionStrategy(this._position)}get offsetY(){return this._offsetY}set offsetY(st){this._offsetY=st,this._position&&this._updatePositionStrategy(this._position)}get hasBackdrop(){return this._hasBackdrop}set hasBackdrop(st){this._hasBackdrop=(0,T.he)(st)}get lockPosition(){return this._lockPosition}set lockPosition(st){this._lockPosition=(0,T.he)(st)}get flexibleDimensions(){return this._flexibleDimensions}set flexibleDimensions(st){this._flexibleDimensions=(0,T.he)(st)}get growAfterOpen(){return this._growAfterOpen}set growAfterOpen(st){this._growAfterOpen=(0,T.he)(st)}get push(){return this._push}set push(st){this._push=(0,T.he)(st)}constructor(st,zt,vt,kt,tt){this._overlay=st,this._dir=tt,this._hasBackdrop=!1,this._lockPosition=!1,this._growAfterOpen=!1,this._flexibleDimensions=!1,this._push=!1,this._backdropSubscription=pt.yU.EMPTY,this._attachSubscription=pt.yU.EMPTY,this._detachSubscription=pt.yU.EMPTY,this._positionSubscription=pt.yU.EMPTY,this.viewportMargin=0,this.open=!1,this.disableClose=!1,this.backdropClick=new b.bkB,this.positionChange=new b.bkB,this.attach=new b.bkB,this.detach=new b.bkB,this.overlayKeydown=new b.bkB,this.overlayOutsideClick=new b.bkB,this._templatePortal=new M.VA(zt,vt),this._scrollStrategyFactory=kt,this.scrollStrategy=this._scrollStrategyFactory()}get overlayRef(){return this._overlayRef}get dir(){return this._dir?this._dir.value:"ltr"}ngOnDestroy(){this._attachSubscription.unsubscribe(),this._detachSubscription.unsubscribe(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this._overlayRef&&this._overlayRef.dispose()}ngOnChanges(st){this._position&&(this._updatePositionStrategy(this._position),this._overlayRef.updateSize({width:this.width,minWidth:this.minWidth,height:this.height,minHeight:this.minHeight}),st.origin&&this.open&&this._position.apply()),st.open&&(this.open?this._attachOverlay():this._detachOverlay())}_createOverlay(){(!this.positions||!this.positions.length)&&(this.positions=Qt);const st=this._overlayRef=this._overlay.create(this._buildConfig());this._attachSubscription=st.attachments().subscribe(()=>this.attach.emit()),this._detachSubscription=st.detachments().subscribe(()=>this.detach.emit()),st.keydownEvents().subscribe(zt=>{this.overlayKeydown.next(zt),zt.keyCode===J._f&&!this.disableClose&&!(0,J.rp)(zt)&&(zt.preventDefault(),this._detachOverlay())}),this._overlayRef.outsidePointerEvents().subscribe(zt=>{this.overlayOutsideClick.next(zt)})}_buildConfig(){const st=this._position=this.positionStrategy||this._createPositionStrategy(),zt=new de({direction:this._dir,positionStrategy:st,scrollStrategy:this.scrollStrategy,hasBackdrop:this.hasBackdrop});return(this.width||0===this.width)&&(zt.width=this.width),(this.height||0===this.height)&&(zt.height=this.height),(this.minWidth||0===this.minWidth)&&(zt.minWidth=this.minWidth),(this.minHeight||0===this.minHeight)&&(zt.minHeight=this.minHeight),this.backdropClass&&(zt.backdropClass=this.backdropClass),this.panelClass&&(zt.panelClass=this.panelClass),zt}_updatePositionStrategy(st){const zt=this.positions.map(vt=>({originX:vt.originX,originY:vt.originY,overlayX:vt.overlayX,overlayY:vt.overlayY,offsetX:vt.offsetX||this.offsetX,offsetY:vt.offsetY||this.offsetY,panelClass:vt.panelClass||void 0}));return st.setOrigin(this._getFlexibleConnectedPositionStrategyOrigin()).withPositions(zt).withFlexibleDimensions(this.flexibleDimensions).withPush(this.push).withGrowAfterOpen(this.growAfterOpen).withViewportMargin(this.viewportMargin).withLockedPosition(this.lockPosition).withTransformOriginOn(this.transformOriginSelector)}_createPositionStrategy(){const st=this._overlay.position().flexibleConnectedTo(this._getFlexibleConnectedPositionStrategyOrigin());return this._updatePositionStrategy(st),st}_getFlexibleConnectedPositionStrategyOrigin(){return this.origin instanceof re?this.origin.elementRef:this.origin}_attachOverlay(){this._overlayRef?this._overlayRef.getConfig().hasBackdrop=this.hasBackdrop:this._createOverlay(),this._overlayRef.hasAttached()||this._overlayRef.attach(this._templatePortal),this.hasBackdrop?this._backdropSubscription=this._overlayRef.backdropClick().subscribe(st=>{this.backdropClick.emit(st)}):this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this.positionChange.observers.length>0&&(this._positionSubscription=this._position.positionChanges.pipe(function q(at,H=!1){return(0,N.N)((st,zt)=>{let vt=0;st.subscribe((0,ot._)(zt,kt=>{const tt=at(kt,vt++);(tt||H)&&zt.next(kt),!tt&&zt.complete()}))})}(()=>this.positionChange.observers.length>0)).subscribe(st=>{this.positionChange.emit(st),0===this.positionChange.observers.length&&this._positionSubscription.unsubscribe()}))}_detachOverlay(){this._overlayRef&&this._overlayRef.detach(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe()}static{this.\u0275fac=function(zt){return new(zt||at)(b.rXU(oe),b.rXU(b.C4Q),b.rXU(b.c1b),b.rXU(Et),b.rXU(K.dS,8))}}static{this.\u0275dir=b.FsC({type:at,selectors:[["","cdk-connected-overlay",""],["","connected-overlay",""],["","cdkConnectedOverlay",""]],inputs:{origin:["cdkConnectedOverlayOrigin","origin"],positions:["cdkConnectedOverlayPositions","positions"],positionStrategy:["cdkConnectedOverlayPositionStrategy","positionStrategy"],offsetX:["cdkConnectedOverlayOffsetX","offsetX"],offsetY:["cdkConnectedOverlayOffsetY","offsetY"],width:["cdkConnectedOverlayWidth","width"],height:["cdkConnectedOverlayHeight","height"],minWidth:["cdkConnectedOverlayMinWidth","minWidth"],minHeight:["cdkConnectedOverlayMinHeight","minHeight"],backdropClass:["cdkConnectedOverlayBackdropClass","backdropClass"],panelClass:["cdkConnectedOverlayPanelClass","panelClass"],viewportMargin:["cdkConnectedOverlayViewportMargin","viewportMargin"],scrollStrategy:["cdkConnectedOverlayScrollStrategy","scrollStrategy"],open:["cdkConnectedOverlayOpen","open"],disableClose:["cdkConnectedOverlayDisableClose","disableClose"],transformOriginSelector:["cdkConnectedOverlayTransformOriginOn","transformOriginSelector"],hasBackdrop:["cdkConnectedOverlayHasBackdrop","hasBackdrop"],lockPosition:["cdkConnectedOverlayLockPosition","lockPosition"],flexibleDimensions:["cdkConnectedOverlayFlexibleDimensions","flexibleDimensions"],growAfterOpen:["cdkConnectedOverlayGrowAfterOpen","growAfterOpen"],push:["cdkConnectedOverlayPush","push"]},outputs:{backdropClick:"backdropClick",positionChange:"positionChange",attach:"attach",detach:"detach",overlayKeydown:"overlayKeydown",overlayOutsideClick:"overlayOutsideClick"},exportAs:["cdkConnectedOverlay"],standalone:!0,features:[b.OA$]})}}return at})();const je={provide:Et,deps:[oe],useFactory:function ce(at){return()=>at.scrollStrategies.reposition()}};let Ht=(()=>{class at{static{this.\u0275fac=function(zt){return new(zt||at)}}static{this.\u0275mod=b.$C({type:at})}static{this.\u0275inj=b.G2t({providers:[oe,je],imports:[K.jI,M.jc,o.E9,o.E9]})}}return at})()},29094:(Ce,Lt,r)=>{r.d(Lt,{BD:()=>pt,BQ:()=>q,CZ:()=>a,Fb:()=>te,KT:()=>bt,MU:()=>Z,OD:()=>T,v8:()=>$,vc:()=>Gt});var o=r(1843),y=r(18331);let b;try{b=typeof Intl<"u"&&Intl.v8BreakIterator}catch{b=!1}let G,T=(()=>{class lt{constructor(mt){this._platformId=mt,this.isBrowser=this._platformId?(0,y.UE)(this._platformId):"object"==typeof document&&!!document,this.EDGE=this.isBrowser&&/(edge)/i.test(navigator.userAgent),this.TRIDENT=this.isBrowser&&/(msie|trident)/i.test(navigator.userAgent),this.BLINK=this.isBrowser&&!(!window.chrome&&!b)&&typeof CSS<"u"&&!this.EDGE&&!this.TRIDENT,this.WEBKIT=this.isBrowser&&/AppleWebKit/i.test(navigator.userAgent)&&!this.BLINK&&!this.EDGE&&!this.TRIDENT,this.IOS=this.isBrowser&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&!("MSStream"in window),this.FIREFOX=this.isBrowser&&/(firefox|minefield)/i.test(navigator.userAgent),this.ANDROID=this.isBrowser&&/android/i.test(navigator.userAgent)&&!this.TRIDENT,this.SAFARI=this.isBrowser&&/safari/i.test(navigator.userAgent)&&this.WEBKIT}static{this.\u0275fac=function(rt){return new(rt||lt)(o.KVO(o.Agw))}}static{this.\u0275prov=o.jDH({token:lt,factory:lt.\u0275fac,providedIn:"root"})}}return lt})();const P=["color","button","checkbox","date","datetime-local","email","file","hidden","image","month","number","password","radio","range","reset","search","submit","tel","text","time","url","week"];function Z(){if(G)return G;if("object"!=typeof document||!document)return G=new Set(P),G;let lt=document.createElement("input");return G=new Set(P.filter(V=>(lt.setAttribute("type",V),lt.type===V))),G}let N,K,M,j;function q(lt){return function ot(){if(null==N&&typeof window<"u")try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>N=!0}))}finally{N=N||!1}return N}()?lt:!!lt.capture}function a(){if(null==M){if("object"!=typeof document||!document||"function"!=typeof Element||!Element)return M=!1,M;if("scrollBehavior"in document.documentElement.style)M=!0;else{const lt=Element.prototype.scrollTo;M=!!lt&&!/\{\s*\[native code\]\s*\}/.test(lt.toString())}}return M}function pt(){if("object"!=typeof document||!document)return 0;if(null==K){const lt=document.createElement("div"),V=lt.style;lt.dir="rtl",V.width="1px",V.overflow="auto",V.visibility="hidden",V.pointerEvents="none",V.position="absolute";const mt=document.createElement("div"),rt=mt.style;rt.width="2px",rt.height="1px",lt.appendChild(mt),document.body.appendChild(lt),K=0,0===lt.scrollLeft&&(lt.scrollLeft=1,K=0===lt.scrollLeft?1:2),lt.remove()}return K}function bt(lt){if(function J(){if(null==j){const lt=typeof document<"u"?document.head:null;j=!(!lt||!lt.createShadowRoot&&!lt.attachShadow)}return j}()){const V=lt.getRootNode?lt.getRootNode():null;if(typeof ShadowRoot<"u"&&ShadowRoot&&V instanceof ShadowRoot)return V}return null}function Gt(){let lt=typeof document<"u"&&document?document.activeElement:null;for(;lt&<.shadowRoot;){const V=lt.shadowRoot.activeElement;if(V===lt)break;lt=V}return lt}function te(lt){return lt.composedPath?lt.composedPath()[0]:lt.target}function $(){return typeof __karma__<"u"&&!!__karma__||typeof jasmine<"u"&&!!jasmine||typeof jest<"u"&&!!jest||typeof Mocha<"u"&&!!Mocha}},86953:(Ce,Lt,r)=>{r.d(Lt,{A8:()=>ot,I3:()=>Gt,VA:()=>q,aI:()=>pt,bV:()=>J,jc:()=>$,lb:()=>M});var o=r(1843),y=r(18331);class N{attach(mt){return this._attachedHost=mt,mt.attach(this)}detach(){let mt=this._attachedHost;null!=mt&&(this._attachedHost=null,mt.detach())}get isAttached(){return null!=this._attachedHost}setAttachedHost(mt){this._attachedHost=mt}}class ot extends N{constructor(mt,rt,$t,de,_e){super(),this.component=mt,this.viewContainerRef=rt,this.injector=$t,this.componentFactoryResolver=de,this.projectableNodes=_e}}class q extends N{constructor(mt,rt,$t,de){super(),this.templateRef=mt,this.viewContainerRef=rt,this.context=$t,this.injector=de}get origin(){return this.templateRef.elementRef}attach(mt,rt=this.context){return this.context=rt,super.attach(mt)}detach(){return this.context=void 0,super.detach()}}class K extends N{constructor(mt){super(),this.element=mt instanceof o.aKT?mt.nativeElement:mt}}class M{constructor(){this._isDisposed=!1,this.attachDomPortal=null}hasAttached(){return!!this._attachedPortal}attach(mt){return mt instanceof ot?(this._attachedPortal=mt,this.attachComponentPortal(mt)):mt instanceof q?(this._attachedPortal=mt,this.attachTemplatePortal(mt)):this.attachDomPortal&&mt instanceof K?(this._attachedPortal=mt,this.attachDomPortal(mt)):void 0}detach(){this._attachedPortal&&(this._attachedPortal.setAttachedHost(null),this._attachedPortal=null),this._invokeDisposeFn()}dispose(){this.hasAttached()&&this.detach(),this._invokeDisposeFn(),this._isDisposed=!0}setDisposeFn(mt){this._disposeFn=mt}_invokeDisposeFn(){this._disposeFn&&(this._disposeFn(),this._disposeFn=null)}}class pt extends M{constructor(mt,rt,$t,de,_e){super(),this.outletElement=mt,this._componentFactoryResolver=rt,this._appRef=$t,this._defaultInjector=de,this.attachDomPortal=Le=>{const Ge=Le.element,Xe=this._document.createComment("dom-portal");Ge.parentNode.insertBefore(Xe,Ge),this.outletElement.appendChild(Ge),this._attachedPortal=Le,super.setDisposeFn(()=>{Xe.parentNode&&Xe.parentNode.replaceChild(Ge,Xe)})},this._document=_e}attachComponentPortal(mt){const $t=(mt.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(mt.component);let de;return mt.viewContainerRef?(de=mt.viewContainerRef.createComponent($t,mt.viewContainerRef.length,mt.injector||mt.viewContainerRef.injector,mt.projectableNodes||void 0),this.setDisposeFn(()=>de.destroy())):(de=$t.create(mt.injector||this._defaultInjector||o.zZn.NULL),this._appRef.attachView(de.hostView),this.setDisposeFn(()=>{this._appRef.viewCount>0&&this._appRef.detachView(de.hostView),de.destroy()})),this.outletElement.appendChild(this._getComponentRootNode(de)),this._attachedPortal=mt,de}attachTemplatePortal(mt){let rt=mt.viewContainerRef,$t=rt.createEmbeddedView(mt.templateRef,mt.context,{injector:mt.injector});return $t.rootNodes.forEach(de=>this.outletElement.appendChild(de)),$t.detectChanges(),this.setDisposeFn(()=>{let de=rt.indexOf($t);-1!==de&&rt.remove(de)}),this._attachedPortal=mt,$t}dispose(){super.dispose(),this.outletElement.remove()}_getComponentRootNode(mt){return mt.hostView.rootNodes[0]}}let J=(()=>{class V extends q{constructor(rt,$t){super(rt,$t)}static{this.\u0275fac=function($t){return new($t||V)(o.rXU(o.C4Q),o.rXU(o.c1b))}}static{this.\u0275dir=o.FsC({type:V,selectors:[["","cdkPortal",""]],exportAs:["cdkPortal"],features:[o.Vt3]})}}return V})(),Gt=(()=>{class V extends M{constructor(rt,$t,de){super(),this._componentFactoryResolver=rt,this._viewContainerRef=$t,this._isInitialized=!1,this.attached=new o.bkB,this.attachDomPortal=_e=>{const Le=_e.element,Ge=this._document.createComment("dom-portal");_e.setAttachedHost(this),Le.parentNode.insertBefore(Ge,Le),this._getRootNode().appendChild(Le),this._attachedPortal=_e,super.setDisposeFn(()=>{Ge.parentNode&&Ge.parentNode.replaceChild(Le,Ge)})},this._document=de}get portal(){return this._attachedPortal}set portal(rt){this.hasAttached()&&!rt&&!this._isInitialized||(this.hasAttached()&&super.detach(),rt&&super.attach(rt),this._attachedPortal=rt||null)}get attachedRef(){return this._attachedRef}ngOnInit(){this._isInitialized=!0}ngOnDestroy(){super.dispose(),this._attachedRef=this._attachedPortal=null}attachComponentPortal(rt){rt.setAttachedHost(this);const $t=null!=rt.viewContainerRef?rt.viewContainerRef:this._viewContainerRef,_e=(rt.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(rt.component),Le=$t.createComponent(_e,$t.length,rt.injector||$t.injector,rt.projectableNodes||void 0);return $t!==this._viewContainerRef&&this._getRootNode().appendChild(Le.hostView.rootNodes[0]),super.setDisposeFn(()=>Le.destroy()),this._attachedPortal=rt,this._attachedRef=Le,this.attached.emit(Le),Le}attachTemplatePortal(rt){rt.setAttachedHost(this);const $t=this._viewContainerRef.createEmbeddedView(rt.templateRef,rt.context,{injector:rt.injector});return super.setDisposeFn(()=>this._viewContainerRef.clear()),this._attachedPortal=rt,this._attachedRef=$t,this.attached.emit($t),$t}_getRootNode(){const rt=this._viewContainerRef.element.nativeElement;return rt.nodeType===rt.ELEMENT_NODE?rt:rt.parentNode}static{this.\u0275fac=function($t){return new($t||V)(o.rXU(o.OM3),o.rXU(o.c1b),o.rXU(y.qQ))}}static{this.\u0275dir=o.FsC({type:V,selectors:[["","cdkPortalOutlet",""]],inputs:{portal:["cdkPortalOutlet","portal"]},outputs:{attached:"attached"},exportAs:["cdkPortalOutlet"],features:[o.Vt3]})}}return V})(),$=(()=>{class V{static{this.\u0275fac=function($t){return new($t||V)}}static{this.\u0275mod=o.$C({type:V})}static{this.\u0275inj=o.G2t({})}}return V})()},18144:(Ce,Lt,r)=>{r.d(Lt,{uv:()=>be,Gj:()=>le,R:()=>Qe,E9:()=>Vt,Xj:()=>yt});var o=r(8275),y=r(1843),b=r(89115),T=r(73151),k=r(23135),G=r(63884),P=r(84330),Z=r(52693);const N={schedule(oe){let Qt=requestAnimationFrame,Et=cancelAnimationFrame;const{delegate:re}=N;re&&(Qt=re.requestAnimationFrame,Et=re.cancelAnimationFrame);const Ee=Qt(ce=>{Et=void 0,oe(ce)});return new Z.yU(()=>Et?.(Ee))},requestAnimationFrame(...oe){const{delegate:Qt}=N;return(Qt?.requestAnimationFrame||requestAnimationFrame)(...oe)},cancelAnimationFrame(...oe){const{delegate:Qt}=N;return(Qt?.cancelAnimationFrame||cancelAnimationFrame)(...oe)},delegate:void 0};var q=r(84993);new class K extends q.q{flush(Qt){let Et;this._active=!0,Qt?Et=Qt.id:(Et=this._scheduled,this._scheduled=void 0);const{actions:re}=this;let Ee;Qt=Qt||re.shift();do{if(Ee=Qt.execute(Qt.state,Qt.delay))break}while((Qt=re[0])&&Qt.id===Et&&re.shift());if(this._active=!1,Ee){for(;(Qt=re[0])&&Qt.id===Et&&re.shift();)Qt.unsubscribe();throw Ee}}}(class ot extends P.R{constructor(Qt,Et){super(Qt,Et),this.scheduler=Qt,this.work=Et}requestAsyncId(Qt,Et,re=0){return null!==re&&re>0?super.requestAsyncId(Qt,Et,re):(Qt.actions.push(this),Qt._scheduled||(Qt._scheduled=N.requestAnimationFrame(()=>Qt.flush(void 0))))}recycleAsyncId(Qt,Et,re=0){var Ee;if(null!=re?re>0:this.delay>0)return super.recycleAsyncId(Qt,Et,re);const{actions:ce}=Qt;null!=Et&&Et===Qt._scheduled&&(null===(Ee=ce[ce.length-1])||void 0===Ee?void 0:Ee.id)!==Et&&(N.cancelAnimationFrame(Et),Qt._scheduled=void 0)}});r(96897);var j=r(82954),J=r(33280),bt=r(86896),Gt=r(37018),$=r(82182);function lt(oe,Qt=j.E){return function te(oe){return(0,J.N)((Qt,Et)=>{let re=!1,Ee=null,ce=null,je=!1;const Ht=()=>{if(ce?.unsubscribe(),ce=null,re){re=!1;const at=Ee;Ee=null,Et.next(at)}je&&Et.complete()},ne=()=>{ce=null,je&&Et.complete()};Qt.subscribe((0,Gt._)(Et,at=>{re=!0,Ee=at,ce||(0,bt.Tg)(oe(at)).subscribe(ce=(0,Gt._)(Et,Ht,ne))},()=>{je=!0,(!re||!ce||ce.closed)&&Et.complete()}))})}(()=>(0,$.O)(oe,Qt))}var V=r(98474),mt=r(73907),rt=r(29094),$t=r(18331),de=r(10165);let Qe=(()=>{class oe{constructor(Et,re,Ee){this._ngZone=Et,this._platform=re,this._scrolled=new b.B,this._globalSubscription=null,this._scrolledCount=0,this.scrollContainers=new Map,this._document=Ee}register(Et){this.scrollContainers.has(Et)||this.scrollContainers.set(Et,Et.elementScrolled().subscribe(()=>this._scrolled.next(Et)))}deregister(Et){const re=this.scrollContainers.get(Et);re&&(re.unsubscribe(),this.scrollContainers.delete(Et))}scrolled(Et=20){return this._platform.isBrowser?new k.c(re=>{this._globalSubscription||this._addGlobalListener();const Ee=Et>0?this._scrolled.pipe(lt(Et)).subscribe(re):this._scrolled.subscribe(re);return this._scrolledCount++,()=>{Ee.unsubscribe(),this._scrolledCount--,this._scrolledCount||this._removeGlobalListener()}}):(0,T.of)()}ngOnDestroy(){this._removeGlobalListener(),this.scrollContainers.forEach((Et,re)=>this.deregister(re)),this._scrolled.complete()}ancestorScrolled(Et,re){const Ee=this.getAncestorScrollContainers(Et);return this.scrolled(re).pipe((0,V.p)(ce=>!ce||Ee.indexOf(ce)>-1))}getAncestorScrollContainers(Et){const re=[];return this.scrollContainers.forEach((Ee,ce)=>{this._scrollableContainsElement(ce,Et)&&re.push(ce)}),re}_getWindow(){return this._document.defaultView||window}_scrollableContainsElement(Et,re){let Ee=(0,o.i8)(re),ce=Et.getElementRef().nativeElement;do{if(Ee==ce)return!0}while(Ee=Ee.parentElement);return!1}_addGlobalListener(){this._globalSubscription=this._ngZone.runOutsideAngular(()=>{const Et=this._getWindow();return(0,G.R)(Et.document,"scroll").subscribe(()=>this._scrolled.next())})}_removeGlobalListener(){this._globalSubscription&&(this._globalSubscription.unsubscribe(),this._globalSubscription=null)}static{this.\u0275fac=function(re){return new(re||oe)(y.KVO(y.SKi),y.KVO(rt.OD),y.KVO($t.qQ,8))}}static{this.\u0275prov=y.jDH({token:oe,factory:oe.\u0275fac,providedIn:"root"})}}return oe})(),be=(()=>{class oe{constructor(Et,re,Ee,ce){this.elementRef=Et,this.scrollDispatcher=re,this.ngZone=Ee,this.dir=ce,this._destroyed=new b.B,this._elementScrolled=new k.c(je=>this.ngZone.runOutsideAngular(()=>(0,G.R)(this.elementRef.nativeElement,"scroll").pipe((0,mt.Q)(this._destroyed)).subscribe(je)))}ngOnInit(){this.scrollDispatcher.register(this)}ngOnDestroy(){this.scrollDispatcher.deregister(this),this._destroyed.next(),this._destroyed.complete()}elementScrolled(){return this._elementScrolled}getElementRef(){return this.elementRef}scrollTo(Et){const re=this.elementRef.nativeElement,Ee=this.dir&&"rtl"==this.dir.value;null==Et.left&&(Et.left=Ee?Et.end:Et.start),null==Et.right&&(Et.right=Ee?Et.start:Et.end),null!=Et.bottom&&(Et.top=re.scrollHeight-re.clientHeight-Et.bottom),Ee&&0!=(0,rt.BD)()?(null!=Et.left&&(Et.right=re.scrollWidth-re.clientWidth-Et.left),2==(0,rt.BD)()?Et.left=Et.right:1==(0,rt.BD)()&&(Et.left=Et.right?-Et.right:Et.right)):null!=Et.right&&(Et.left=re.scrollWidth-re.clientWidth-Et.right),this._applyScrollToOptions(Et)}_applyScrollToOptions(Et){const re=this.elementRef.nativeElement;(0,rt.CZ)()?re.scrollTo(Et):(null!=Et.top&&(re.scrollTop=Et.top),null!=Et.left&&(re.scrollLeft=Et.left))}measureScrollOffset(Et){const re="left",ce=this.elementRef.nativeElement;if("top"==Et)return ce.scrollTop;if("bottom"==Et)return ce.scrollHeight-ce.clientHeight-ce.scrollTop;const je=this.dir&&"rtl"==this.dir.value;return"start"==Et?Et=je?"right":re:"end"==Et&&(Et=je?re:"right"),je&&2==(0,rt.BD)()?Et==re?ce.scrollWidth-ce.clientWidth-ce.scrollLeft:ce.scrollLeft:je&&1==(0,rt.BD)()?Et==re?ce.scrollLeft+ce.scrollWidth-ce.clientWidth:-ce.scrollLeft:Et==re?ce.scrollLeft:ce.scrollWidth-ce.clientWidth-ce.scrollLeft}static{this.\u0275fac=function(re){return new(re||oe)(y.rXU(y.aKT),y.rXU(Qe),y.rXU(y.SKi),y.rXU(de.dS,8))}}static{this.\u0275dir=y.FsC({type:oe,selectors:[["","cdk-scrollable",""],["","cdkScrollable",""]],standalone:!0})}}return oe})(),yt=(()=>{class oe{constructor(Et,re,Ee){this._platform=Et,this._change=new b.B,this._changeListener=ce=>{this._change.next(ce)},this._document=Ee,re.runOutsideAngular(()=>{if(Et.isBrowser){const ce=this._getWindow();ce.addEventListener("resize",this._changeListener),ce.addEventListener("orientationchange",this._changeListener)}this.change().subscribe(()=>this._viewportSize=null)})}ngOnDestroy(){if(this._platform.isBrowser){const Et=this._getWindow();Et.removeEventListener("resize",this._changeListener),Et.removeEventListener("orientationchange",this._changeListener)}this._change.complete()}getViewportSize(){this._viewportSize||this._updateViewportSize();const Et={width:this._viewportSize.width,height:this._viewportSize.height};return this._platform.isBrowser||(this._viewportSize=null),Et}getViewportRect(){const Et=this.getViewportScrollPosition(),{width:re,height:Ee}=this.getViewportSize();return{top:Et.top,left:Et.left,bottom:Et.top+Ee,right:Et.left+re,height:Ee,width:re}}getViewportScrollPosition(){if(!this._platform.isBrowser)return{top:0,left:0};const Et=this._document,re=this._getWindow(),Ee=Et.documentElement,ce=Ee.getBoundingClientRect();return{top:-ce.top||Et.body.scrollTop||re.scrollY||Ee.scrollTop||0,left:-ce.left||Et.body.scrollLeft||re.scrollX||Ee.scrollLeft||0}}change(Et=20){return Et>0?this._change.pipe(lt(Et)):this._change}_getWindow(){return this._document.defaultView||window}_updateViewportSize(){const Et=this._getWindow();this._viewportSize=this._platform.isBrowser?{width:Et.innerWidth,height:Et.innerHeight}:{width:0,height:0}}static{this.\u0275fac=function(re){return new(re||oe)(y.KVO(rt.OD),y.KVO(y.SKi),y.KVO($t.qQ,8))}}static{this.\u0275prov=y.jDH({token:oe,factory:oe.\u0275fac,providedIn:"root"})}}return oe})(),le=(()=>{class oe{static{this.\u0275fac=function(re){return new(re||oe)}}static{this.\u0275mod=y.$C({type:oe})}static{this.\u0275inj=y.G2t({})}}return oe})(),Vt=(()=>{class oe{static{this.\u0275fac=function(re){return new(re||oe)}}static{this.\u0275mod=y.$C({type:oe})}static{this.\u0275inj=y.G2t({imports:[de.jI,le,de.jI,le]})}}return oe})()},18331:(Ce,Lt,r)=>{r.d(Lt,{AJ:()=>Vn,GH:()=>Ji,Jj:()=>Bc,MD:()=>So,N0:()=>Po,P9:()=>Bi,Pc:()=>Lo,QT:()=>b,QX:()=>qn,Sm:()=>pt,Sq:()=>Jn,T3:()=>wo,TG:()=>Do,UE:()=>qi,VF:()=>k,Vy:()=>to,Xr:()=>fo,YU:()=>In,ZD:()=>T,_b:()=>Dn,aZ:()=>J,bT:()=>Fi,e1:()=>Zc,fG:()=>dc,fw:()=>j,hb:()=>M,hj:()=>Z,oe:()=>Cn,pM:()=>Jn,qQ:()=>G,ux:()=>si,vh:()=>ei});var o=r(1843);let y=null;function b(){return y}function T(v){y||(y=v)}class k{}const G=new o.nKC("DocumentToken");let P=(()=>{class v{historyGo(E){throw new Error("Not implemented")}static{this.\u0275fac=function(F){return new(F||v)}}static{this.\u0275prov=o.jDH({token:v,factory:function(){return(0,o.WQX)(N)},providedIn:"platform"})}}return v})();const Z=new o.nKC("Location Initialized");let N=(()=>{class v extends P{constructor(){super(),this._doc=(0,o.WQX)(G),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return b().getBaseHref(this._doc)}onPopState(E){const F=b().getGlobalEventTarget(this._doc,"window");return F.addEventListener("popstate",E,!1),()=>F.removeEventListener("popstate",E)}onHashChange(E){const F=b().getGlobalEventTarget(this._doc,"window");return F.addEventListener("hashchange",E,!1),()=>F.removeEventListener("hashchange",E)}get href(){return this._location.href}get protocol(){return this._location.protocol}get hostname(){return this._location.hostname}get port(){return this._location.port}get pathname(){return this._location.pathname}get search(){return this._location.search}get hash(){return this._location.hash}set pathname(E){this._location.pathname=E}pushState(E,F,At){this._history.pushState(E,F,At)}replaceState(E,F,At){this._history.replaceState(E,F,At)}forward(){this._history.forward()}back(){this._history.back()}historyGo(E=0){this._history.go(E)}getState(){return this._history.state}static{this.\u0275fac=function(F){return new(F||v)}}static{this.\u0275prov=o.jDH({token:v,factory:function(){return new v},providedIn:"platform"})}}return v})();function ot(v,W){if(0==v.length)return W;if(0==W.length)return v;let E=0;return v.endsWith("/")&&E++,W.startsWith("/")&&E++,2==E?v+W.substring(1):1==E?v+W:v+"/"+W}function q(v){const W=v.match(/#|\?|$/),E=W&&W.index||v.length;return v.slice(0,E-("/"===v[E-1]?1:0))+v.slice(E)}function K(v){return v&&"?"!==v[0]?"?"+v:v}let M=(()=>{class v{historyGo(E){throw new Error("Not implemented")}static{this.\u0275fac=function(F){return new(F||v)}}static{this.\u0275prov=o.jDH({token:v,factory:function(){return(0,o.WQX)(pt)},providedIn:"root"})}}return v})();const a=new o.nKC("appBaseHref");let pt=(()=>{class v extends M{constructor(E,F){super(),this._platformLocation=E,this._removeListenerFns=[],this._baseHref=F??this._platformLocation.getBaseHrefFromDOM()??(0,o.WQX)(G).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(E){this._removeListenerFns.push(this._platformLocation.onPopState(E),this._platformLocation.onHashChange(E))}getBaseHref(){return this._baseHref}prepareExternalUrl(E){return ot(this._baseHref,E)}path(E=!1){const F=this._platformLocation.pathname+K(this._platformLocation.search),At=this._platformLocation.hash;return At&&E?`${F}${At}`:F}pushState(E,F,At,he){const Pe=this.prepareExternalUrl(At+K(he));this._platformLocation.pushState(E,F,Pe)}replaceState(E,F,At,he){const Pe=this.prepareExternalUrl(At+K(he));this._platformLocation.replaceState(E,F,Pe)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(E=0){this._platformLocation.historyGo?.(E)}static{this.\u0275fac=function(F){return new(F||v)(o.KVO(P),o.KVO(a,8))}}static{this.\u0275prov=o.jDH({token:v,factory:v.\u0275fac,providedIn:"root"})}}return v})(),j=(()=>{class v extends M{constructor(E,F){super(),this._platformLocation=E,this._baseHref="",this._removeListenerFns=[],null!=F&&(this._baseHref=F)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(E){this._removeListenerFns.push(this._platformLocation.onPopState(E),this._platformLocation.onHashChange(E))}getBaseHref(){return this._baseHref}path(E=!1){let F=this._platformLocation.hash;return null==F&&(F="#"),F.length>0?F.substring(1):F}prepareExternalUrl(E){const F=ot(this._baseHref,E);return F.length>0?"#"+F:F}pushState(E,F,At,he){let Pe=this.prepareExternalUrl(At+K(he));0==Pe.length&&(Pe=this._platformLocation.pathname),this._platformLocation.pushState(E,F,Pe)}replaceState(E,F,At,he){let Pe=this.prepareExternalUrl(At+K(he));0==Pe.length&&(Pe=this._platformLocation.pathname),this._platformLocation.replaceState(E,F,Pe)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(E=0){this._platformLocation.historyGo?.(E)}static{this.\u0275fac=function(F){return new(F||v)(o.KVO(P),o.KVO(a,8))}}static{this.\u0275prov=o.jDH({token:v,factory:v.\u0275fac})}}return v})(),J=(()=>{class v{constructor(E){this._subject=new o.bkB,this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=E;const F=this._locationStrategy.getBaseHref();this._basePath=function $(v){if(new RegExp("^(https?:)?//").test(v)){const[,E]=v.split(/\/\/[^\/]+/);return E}return v}(q(te(F))),this._locationStrategy.onPopState(At=>{this._subject.emit({url:this.path(!0),pop:!0,state:At.state,type:At.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(E=!1){return this.normalize(this._locationStrategy.path(E))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(E,F=""){return this.path()==this.normalize(E+K(F))}normalize(E){return v.stripTrailingSlash(function Gt(v,W){if(!v||!W.startsWith(v))return W;const E=W.substring(v.length);return""===E||["/",";","?","#"].includes(E[0])?E:W}(this._basePath,te(E)))}prepareExternalUrl(E){return E&&"/"!==E[0]&&(E="/"+E),this._locationStrategy.prepareExternalUrl(E)}go(E,F="",At=null){this._locationStrategy.pushState(At,"",E,F),this._notifyUrlChangeListeners(this.prepareExternalUrl(E+K(F)),At)}replaceState(E,F="",At=null){this._locationStrategy.replaceState(At,"",E,F),this._notifyUrlChangeListeners(this.prepareExternalUrl(E+K(F)),At)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(E=0){this._locationStrategy.historyGo?.(E)}onUrlChange(E){return this._urlChangeListeners.push(E),this._urlChangeSubscription||(this._urlChangeSubscription=this.subscribe(F=>{this._notifyUrlChangeListeners(F.url,F.state)})),()=>{const F=this._urlChangeListeners.indexOf(E);this._urlChangeListeners.splice(F,1),0===this._urlChangeListeners.length&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(E="",F){this._urlChangeListeners.forEach(At=>At(E,F))}subscribe(E,F,At){return this._subject.subscribe({next:E,error:F,complete:At})}static{this.normalizeQueryParams=K}static{this.joinWithSlash=ot}static{this.stripTrailingSlash=q}static{this.\u0275fac=function(F){return new(F||v)(o.KVO(M))}}static{this.\u0275prov=o.jDH({token:v,factory:function(){return function bt(){return new J((0,o.KVO)(M))}()},providedIn:"root"})}}return v})();function te(v){return v.replace(/\/index.html$/,"")}const lt={ADP:[void 0,void 0,0],AFN:[void 0,"\u060b",0],ALL:[void 0,void 0,0],AMD:[void 0,"\u058f",2],AOA:[void 0,"Kz"],ARS:[void 0,"$"],AUD:["A$","$"],AZN:[void 0,"\u20bc"],BAM:[void 0,"KM"],BBD:[void 0,"$"],BDT:[void 0,"\u09f3"],BHD:[void 0,void 0,3],BIF:[void 0,void 0,0],BMD:[void 0,"$"],BND:[void 0,"$"],BOB:[void 0,"Bs"],BRL:["R$"],BSD:[void 0,"$"],BWP:[void 0,"P"],BYN:[void 0,void 0,2],BYR:[void 0,void 0,0],BZD:[void 0,"$"],CAD:["CA$","$",2],CHF:[void 0,void 0,2],CLF:[void 0,void 0,4],CLP:[void 0,"$",0],CNY:["CN\xa5","\xa5"],COP:[void 0,"$",2],CRC:[void 0,"\u20a1",2],CUC:[void 0,"$"],CUP:[void 0,"$"],CZK:[void 0,"K\u010d",2],DJF:[void 0,void 0,0],DKK:[void 0,"kr",2],DOP:[void 0,"$"],EGP:[void 0,"E\xa3"],ESP:[void 0,"\u20a7",0],EUR:["\u20ac"],FJD:[void 0,"$"],FKP:[void 0,"\xa3"],GBP:["\xa3"],GEL:[void 0,"\u20be"],GHS:[void 0,"GH\u20b5"],GIP:[void 0,"\xa3"],GNF:[void 0,"FG",0],GTQ:[void 0,"Q"],GYD:[void 0,"$",2],HKD:["HK$","$"],HNL:[void 0,"L"],HRK:[void 0,"kn"],HUF:[void 0,"Ft",2],IDR:[void 0,"Rp",2],ILS:["\u20aa"],INR:["\u20b9"],IQD:[void 0,void 0,0],IRR:[void 0,void 0,0],ISK:[void 0,"kr",0],ITL:[void 0,void 0,0],JMD:[void 0,"$"],JOD:[void 0,void 0,3],JPY:["\xa5",void 0,0],KHR:[void 0,"\u17db"],KMF:[void 0,"CF",0],KPW:[void 0,"\u20a9",0],KRW:["\u20a9",void 0,0],KWD:[void 0,void 0,3],KYD:[void 0,"$"],KZT:[void 0,"\u20b8"],LAK:[void 0,"\u20ad",0],LBP:[void 0,"L\xa3",0],LKR:[void 0,"Rs"],LRD:[void 0,"$"],LTL:[void 0,"Lt"],LUF:[void 0,void 0,0],LVL:[void 0,"Ls"],LYD:[void 0,void 0,3],MGA:[void 0,"Ar",0],MGF:[void 0,void 0,0],MMK:[void 0,"K",0],MNT:[void 0,"\u20ae",2],MRO:[void 0,void 0,0],MUR:[void 0,"Rs",2],MXN:["MX$","$"],MYR:[void 0,"RM"],NAD:[void 0,"$"],NGN:[void 0,"\u20a6"],NIO:[void 0,"C$"],NOK:[void 0,"kr",2],NPR:[void 0,"Rs"],NZD:["NZ$","$"],OMR:[void 0,void 0,3],PHP:["\u20b1"],PKR:[void 0,"Rs",2],PLN:[void 0,"z\u0142"],PYG:[void 0,"\u20b2",0],RON:[void 0,"lei"],RSD:[void 0,void 0,0],RUB:[void 0,"\u20bd"],RWF:[void 0,"RF",0],SBD:[void 0,"$"],SEK:[void 0,"kr",2],SGD:[void 0,"$"],SHP:[void 0,"\xa3"],SLE:[void 0,void 0,2],SLL:[void 0,void 0,0],SOS:[void 0,void 0,0],SRD:[void 0,"$"],SSP:[void 0,"\xa3"],STD:[void 0,void 0,0],STN:[void 0,"Db"],SYP:[void 0,"\xa3",0],THB:[void 0,"\u0e3f"],TMM:[void 0,void 0,0],TND:[void 0,void 0,3],TOP:[void 0,"T$"],TRL:[void 0,void 0,0],TRY:[void 0,"\u20ba"],TTD:[void 0,"$"],TWD:["NT$","$",2],TZS:[void 0,void 0,2],UAH:[void 0,"\u20b4"],UGX:[void 0,void 0,0],USD:["$"],UYI:[void 0,void 0,0],UYU:[void 0,"$"],UYW:[void 0,void 0,4],UZS:[void 0,void 0,2],VEF:[void 0,"Bs",2],VND:["\u20ab",void 0,0],VUV:[void 0,void 0,0],XAF:["FCFA",void 0,0],XCD:["EC$","$"],XOF:["F\u202fCFA",void 0,0],XPF:["CFPF",void 0,0],XXX:["\xa4"],YER:[void 0,void 0,0],ZAR:[void 0,"R"],ZMK:[void 0,void 0,0],ZMW:[void 0,"ZK"],ZWD:[void 0,void 0,0]};var V=function(v){return v[v.Decimal=0]="Decimal",v[v.Percent=1]="Percent",v[v.Currency=2]="Currency",v[v.Scientific=3]="Scientific",v}(V||{}),rt=function(v){return v[v.Format=0]="Format",v[v.Standalone=1]="Standalone",v}(rt||{}),$t=function(v){return v[v.Narrow=0]="Narrow",v[v.Abbreviated=1]="Abbreviated",v[v.Wide=2]="Wide",v[v.Short=3]="Short",v}($t||{}),de=function(v){return v[v.Short=0]="Short",v[v.Medium=1]="Medium",v[v.Long=2]="Long",v[v.Full=3]="Full",v}(de||{}),_e=function(v){return v[v.Decimal=0]="Decimal",v[v.Group=1]="Group",v[v.List=2]="List",v[v.PercentSign=3]="PercentSign",v[v.PlusSign=4]="PlusSign",v[v.MinusSign=5]="MinusSign",v[v.Exponential=6]="Exponential",v[v.SuperscriptingExponent=7]="SuperscriptingExponent",v[v.PerMille=8]="PerMille",v[v.Infinity=9]="Infinity",v[v.NaN=10]="NaN",v[v.TimeSeparator=11]="TimeSeparator",v[v.CurrencyDecimal=12]="CurrencyDecimal",v[v.CurrencyGroup=13]="CurrencyGroup",v}(_e||{});function Me(v,W){return Qt((0,o.H5H)(v)[o.KH2.DateFormat],W)}function yt(v,W){return Qt((0,o.H5H)(v)[o.KH2.TimeFormat],W)}function Kt(v,W){return Qt((0,o.H5H)(v)[o.KH2.DateTimeFormat],W)}function Nt(v,W){const E=(0,o.H5H)(v),F=E[o.KH2.NumberSymbols][W];if(typeof F>"u"){if(W===_e.CurrencyDecimal)return E[o.KH2.NumberSymbols][_e.Decimal];if(W===_e.CurrencyGroup)return E[o.KH2.NumberSymbols][_e.Group]}return F}function Tt(v,W){return(0,o.H5H)(v)[o.KH2.NumberFormats][W]}function gt(v){if(!v[o.KH2.ExtraData])throw new Error(`Missing extra locale data for the locale "${v[o.KH2.LocaleId]}". Use "registerLocaleData" to load new data. See the "I18n guide" on angular.io to know more.`)}function Qt(v,W){for(let E=W;E>-1;E--)if(typeof v[E]<"u")return v[E];throw new Error("Locale data API: locale data undefined")}function Et(v){const[W,E]=v.split(":");return{hours:+W,minutes:+E}}const je=/^(\d{4,})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,Ht={},ne=/((?:[^BEGHLMOSWYZabcdhmswyz']+)|(?:'(?:[^']|'')*')|(?:G{1,5}|y{1,4}|Y{1,4}|M{1,5}|L{1,5}|w{1,2}|W{1}|d{1,2}|E{1,6}|c{1,6}|a{1,5}|b{1,5}|B{1,5}|h{1,2}|H{1,2}|m{1,2}|s{1,2}|S{1,3}|z{1,4}|Z{1,5}|O{1,4}))([\s\S]*)/;var at=function(v){return v[v.Short=0]="Short",v[v.ShortGMT=1]="ShortGMT",v[v.Long=2]="Long",v[v.Extended=3]="Extended",v}(at||{}),H=function(v){return v[v.FullYear=0]="FullYear",v[v.Month=1]="Month",v[v.Date=2]="Date",v[v.Hours=3]="Hours",v[v.Minutes=4]="Minutes",v[v.Seconds=5]="Seconds",v[v.FractionalSeconds=6]="FractionalSeconds",v[v.Day=7]="Day",v}(H||{}),st=function(v){return v[v.DayPeriods=0]="DayPeriods",v[v.Days=1]="Days",v[v.Months=2]="Months",v[v.Eras=3]="Eras",v}(st||{});function zt(v,W,E,F){let At=function Zt(v){if(U(v))return v;if("number"==typeof v&&!isNaN(v))return new Date(v);if("string"==typeof v){if(v=v.trim(),/^(\d{4}(-\d{1,2}(-\d{1,2})?)?)$/.test(v)){const[At,he=1,Pe=1]=v.split("-").map(sn=>+sn);return vt(At,he-1,Pe)}const E=parseFloat(v);if(!isNaN(v-E))return new Date(E);let F;if(F=v.match(je))return function Ct(v){const W=new Date(0);let E=0,F=0;const At=v[8]?W.setUTCFullYear:W.setFullYear,he=v[8]?W.setUTCHours:W.setHours;v[9]&&(E=Number(v[9]+v[10]),F=Number(v[9]+v[11])),At.call(W,Number(v[1]),Number(v[2])-1,Number(v[3]));const Pe=Number(v[4]||0)-E,sn=Number(v[5]||0)-F,ni=Number(v[6]||0),ti=Math.floor(1e3*parseFloat("0."+(v[7]||0)));return he.call(W,Pe,sn,ni,ti),W}(F)}const W=new Date(v);if(!U(W))throw new Error(`Unable to convert "${v}" into a date`);return W}(v);W=kt(E,W)||W;let sn,Pe=[];for(;W;){if(sn=ne.exec(W),!sn){Pe.push(W);break}{Pe=Pe.concat(sn.slice(1));const Un=Pe.pop();if(!Un)break;W=Un}}let ni=At.getTimezoneOffset();F&&(ni=Rt(F,ni),At=function ze(v,W,E){const F=E?-1:1,At=v.getTimezoneOffset();return function ae(v,W){return(v=new Date(v.getTime())).setMinutes(v.getMinutes()+W),v}(v,F*(Rt(W,At)-At))}(At,F,!0));let ti="";return Pe.forEach(Un=>{const Sn=function dt(v){if(Dt[v])return Dt[v];let W;switch(v){case"G":case"GG":case"GGG":W=Te(st.Eras,$t.Abbreviated);break;case"GGGG":W=Te(st.Eras,$t.Wide);break;case"GGGGG":W=Te(st.Eras,$t.Narrow);break;case"y":W=Ot(H.FullYear,1,0,!1,!0);break;case"yy":W=Ot(H.FullYear,2,0,!0,!0);break;case"yyy":W=Ot(H.FullYear,3,0,!1,!0);break;case"yyyy":W=Ot(H.FullYear,4,0,!1,!0);break;case"Y":W=jt(1);break;case"YY":W=jt(2,!0);break;case"YYY":W=jt(3);break;case"YYYY":W=jt(4);break;case"M":case"L":W=Ot(H.Month,1,1);break;case"MM":case"LL":W=Ot(H.Month,2,1);break;case"MMM":W=Te(st.Months,$t.Abbreviated);break;case"MMMM":W=Te(st.Months,$t.Wide);break;case"MMMMM":W=Te(st.Months,$t.Narrow);break;case"LLL":W=Te(st.Months,$t.Abbreviated,rt.Standalone);break;case"LLLL":W=Te(st.Months,$t.Wide,rt.Standalone);break;case"LLLLL":W=Te(st.Months,$t.Narrow,rt.Standalone);break;case"w":W=me(1);break;case"ww":W=me(2);break;case"W":W=me(1,!0);break;case"d":W=Ot(H.Date,1);break;case"dd":W=Ot(H.Date,2);break;case"c":case"cc":W=Ot(H.Day,1);break;case"ccc":W=Te(st.Days,$t.Abbreviated,rt.Standalone);break;case"cccc":W=Te(st.Days,$t.Wide,rt.Standalone);break;case"ccccc":W=Te(st.Days,$t.Narrow,rt.Standalone);break;case"cccccc":W=Te(st.Days,$t.Short,rt.Standalone);break;case"E":case"EE":case"EEE":W=Te(st.Days,$t.Abbreviated);break;case"EEEE":W=Te(st.Days,$t.Wide);break;case"EEEEE":W=Te(st.Days,$t.Narrow);break;case"EEEEEE":W=Te(st.Days,$t.Short);break;case"a":case"aa":case"aaa":W=Te(st.DayPeriods,$t.Abbreviated);break;case"aaaa":W=Te(st.DayPeriods,$t.Wide);break;case"aaaaa":W=Te(st.DayPeriods,$t.Narrow);break;case"b":case"bb":case"bbb":W=Te(st.DayPeriods,$t.Abbreviated,rt.Standalone,!0);break;case"bbbb":W=Te(st.DayPeriods,$t.Wide,rt.Standalone,!0);break;case"bbbbb":W=Te(st.DayPeriods,$t.Narrow,rt.Standalone,!0);break;case"B":case"BB":case"BBB":W=Te(st.DayPeriods,$t.Abbreviated,rt.Format,!0);break;case"BBBB":W=Te(st.DayPeriods,$t.Wide,rt.Format,!0);break;case"BBBBB":W=Te(st.DayPeriods,$t.Narrow,rt.Format,!0);break;case"h":W=Ot(H.Hours,1,-12);break;case"hh":W=Ot(H.Hours,2,-12);break;case"H":W=Ot(H.Hours,1);break;case"HH":W=Ot(H.Hours,2);break;case"m":W=Ot(H.Minutes,1);break;case"mm":W=Ot(H.Minutes,2);break;case"s":W=Ot(H.Seconds,1);break;case"ss":W=Ot(H.Seconds,2);break;case"S":W=Ot(H.FractionalSeconds,1);break;case"SS":W=Ot(H.FractionalSeconds,2);break;case"SSS":W=Ot(H.FractionalSeconds,3);break;case"Z":case"ZZ":case"ZZZ":W=on(at.Short);break;case"ZZZZZ":W=on(at.Extended);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":W=on(at.ShortGMT);break;case"OOOO":case"ZZZZ":case"zzzz":W=on(at.Long);break;default:return null}return Dt[v]=W,W}(Un);ti+=Sn?Sn(At,E,ni):"''"===Un?"'":Un.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),ti}function vt(v,W,E){const F=new Date(0);return F.setFullYear(v,W,E),F.setHours(0,0,0),F}function kt(v,W){const E=function Ge(v){return(0,o.H5H)(v)[o.KH2.LocaleId]}(v);if(Ht[E]=Ht[E]||{},Ht[E][W])return Ht[E][W];let F="";switch(W){case"shortDate":F=Me(v,de.Short);break;case"mediumDate":F=Me(v,de.Medium);break;case"longDate":F=Me(v,de.Long);break;case"fullDate":F=Me(v,de.Full);break;case"shortTime":F=yt(v,de.Short);break;case"mediumTime":F=yt(v,de.Medium);break;case"longTime":F=yt(v,de.Long);break;case"fullTime":F=yt(v,de.Full);break;case"short":const At=kt(v,"shortTime"),he=kt(v,"shortDate");F=tt(Kt(v,de.Short),[At,he]);break;case"medium":const Pe=kt(v,"mediumTime"),sn=kt(v,"mediumDate");F=tt(Kt(v,de.Medium),[Pe,sn]);break;case"long":const ni=kt(v,"longTime"),ti=kt(v,"longDate");F=tt(Kt(v,de.Long),[ni,ti]);break;case"full":const Un=kt(v,"fullTime"),Sn=kt(v,"fullDate");F=tt(Kt(v,de.Full),[Un,Sn])}return F&&(Ht[E][W]=F),F}function tt(v,W){return W&&(v=v.replace(/\{([^}]+)}/g,function(E,F){return null!=W&&F in W?W[F]:E})),v}function X(v,W,E="-",F,At){let he="";(v<0||At&&v<=0)&&(At?v=1-v:(v=-v,he=E));let Pe=String(v);for(;Pe.length0||sn>-E)&&(sn+=E),v===H.Hours)0===sn&&-12===E&&(sn=12);else if(v===H.FractionalSeconds)return function ft(v,W){return X(v,3).substring(0,W)}(sn,W);const ni=Nt(Pe,_e.MinusSign);return X(sn,W,ni,F,At)}}function Te(v,W,E=rt.Format,F=!1){return function(At,he){return function Ke(v,W,E,F,At,he){switch(E){case st.Months:return function Ve(v,W,E){const F=(0,o.H5H)(v),he=Qt([F[o.KH2.MonthsFormat],F[o.KH2.MonthsStandalone]],W);return Qt(he,E)}(W,At,F)[v.getMonth()];case st.Days:return function ye(v,W,E){const F=(0,o.H5H)(v),he=Qt([F[o.KH2.DaysFormat],F[o.KH2.DaysStandalone]],W);return Qt(he,E)}(W,At,F)[v.getDay()];case st.DayPeriods:const Pe=v.getHours(),sn=v.getMinutes();if(he){const ti=function le(v){const W=(0,o.H5H)(v);return gt(W),(W[o.KH2.ExtraData][2]||[]).map(F=>"string"==typeof F?Et(F):[Et(F[0]),Et(F[1])])}(W),Un=function Vt(v,W,E){const F=(0,o.H5H)(v);gt(F);const he=Qt([F[o.KH2.ExtraData][0],F[o.KH2.ExtraData][1]],W)||[];return Qt(he,E)||[]}(W,At,F),Sn=ti.findIndex(Zn=>{if(Array.isArray(Zn)){const[ii,vi]=Zn,ai=Pe>=ii.hours&&sn>=ii.minutes,Ki=Pe0?Math.floor(At/60):Math.ceil(At/60);switch(v){case at.Short:return(At>=0?"+":"")+X(Pe,2,he)+X(Math.abs(At%60),2,he);case at.ShortGMT:return"GMT"+(At>=0?"+":"")+X(Pe,1,he);case at.Long:return"GMT"+(At>=0?"+":"")+X(Pe,2,he)+":"+X(Math.abs(At%60),2,he);case at.Extended:return 0===F?"Z":(At>=0?"+":"")+X(Pe,2,he)+":"+X(Math.abs(At%60),2,he);default:throw new Error(`Unknown zone width "${v}"`)}}}const _n=0,hn=4;function cn(v){return vt(v.getFullYear(),v.getMonth(),v.getDate()+(hn-v.getDay()))}function me(v,W=!1){return function(E,F){let At;if(W){const he=new Date(E.getFullYear(),E.getMonth(),1).getDay()-1,Pe=E.getDate();At=1+Math.floor((Pe+he)/7)}else{const he=cn(E),Pe=function fe(v){const W=vt(v,_n,1).getDay();return vt(v,0,1+(W<=hn?hn:hn+7)-W)}(he.getFullYear()),sn=he.getTime()-Pe.getTime();At=1+Math.round(sn/6048e5)}return X(At,v,Nt(F,_e.MinusSign))}}function jt(v,W=!1){return function(E,F){return X(cn(E).getFullYear(),v,Nt(F,_e.MinusSign),W)}}const Dt={};function Rt(v,W){v=v.replace(/:/g,"");const E=Date.parse("Jan 01, 1970 00:00:00 "+v)/6e4;return isNaN(E)?W:E}function U(v){return v instanceof Date&&!isNaN(v.valueOf())}const A=/^(\d+)?\.((\d+)(-(\d+))?)?$/,xt=22,Jt=".",Fe="0",Ze=";",xn=",",Ie="#";function ee(v,W,E,F,At,he,Pe=!1){let sn="",ni=!1;if(isFinite(v)){let ti=function se(v){let F,At,he,Pe,sn,W=Math.abs(v)+"",E=0;for((At=W.indexOf(Jt))>-1&&(W=W.replace(Jt,"")),(he=W.search(/e/i))>0?(At<0&&(At=he),At+=+W.slice(he+1),W=W.substring(0,he)):At<0&&(At=W.length),he=0;W.charAt(he)===Fe;he++);if(he===(sn=W.length))F=[0],At=1;else{for(sn--;W.charAt(sn)===Fe;)sn--;for(At-=he,F=[],Pe=0;he<=sn;he++,Pe++)F[Pe]=Number(W.charAt(he))}return At>xt&&(F=F.splice(0,xt-1),E=At-1,At=1),{digits:F,exponent:E,integerLen:At}}(v);Pe&&(ti=function Wt(v){if(0===v.digits[0])return v;const W=v.digits.length-v.integerLen;return v.exponent?v.exponent+=2:(0===W?v.digits.push(0,0):1===W&&v.digits.push(0),v.integerLen+=2),v}(ti));let Un=W.minInt,Sn=W.minFrac,Zn=W.maxFrac;if(he){const Gi=he.match(A);if(null===Gi)throw new Error(`${he} is not a valid digit info`);const no=Gi[1],Ai=Gi[3],Ci=Gi[5];null!=no&&(Un=ve(no)),null!=Ai&&(Sn=ve(Ai)),null!=Ci?Zn=ve(Ci):null!=Ai&&Sn>Zn&&(Zn=Sn)}!function De(v,W,E){if(W>E)throw new Error(`The minimum number of digits after fraction (${W}) is higher than the maximum (${E}).`);let F=v.digits,At=F.length-v.integerLen;const he=Math.min(Math.max(W,At),E);let Pe=he+v.integerLen,sn=F[Pe];if(Pe>0){F.splice(Math.max(v.integerLen,Pe));for(let Sn=Pe;Sn=5)if(Pe-1<0){for(let Sn=0;Sn>Pe;Sn--)F.unshift(0),v.integerLen++;F.unshift(1),v.integerLen++}else F[Pe-1]++;for(;At=ti?vi.pop():ni=!1),Zn>=10?1:0},0);Un&&(F.unshift(Un),v.integerLen++)}(ti,Sn,Zn);let ii=ti.digits,vi=ti.integerLen;const ai=ti.exponent;let Ki=[];for(ni=ii.every(Gi=>!Gi);vi0?Ki=ii.splice(vi,ii.length):(Ki=ii,ii=[0]);const go=[];for(ii.length>=W.lgSize&&go.unshift(ii.splice(-W.lgSize,ii.length).join(""));ii.length>W.gSize;)go.unshift(ii.splice(-W.gSize,ii.length).join(""));ii.length&&go.unshift(ii.join("")),sn=go.join(Nt(E,F)),Ki.length&&(sn+=Nt(E,At)+Ki.join("")),ai&&(sn+=Nt(E,_e.Exponential)+"+"+ai)}else sn=Nt(E,_e.Infinity);return sn=v<0&&!ni?W.negPre+sn+W.negSuf:W.posPre+sn+W.posSuf,sn}function Mt(v,W="-"){const E={minInt:1,minFrac:0,maxFrac:0,posPre:"",posSuf:"",negPre:"",negSuf:"",gSize:0,lgSize:0},F=v.split(Ze),At=F[0],he=F[1],Pe=-1!==At.indexOf(Jt)?At.split(Jt):[At.substring(0,At.lastIndexOf(Fe)+1),At.substring(At.lastIndexOf(Fe)+1)],sn=Pe[0],ni=Pe[1]||"";E.posPre=sn.substring(0,sn.indexOf(Ie));for(let Un=0;Un{class v{constructor(E,F,At,he){this._iterableDiffers=E,this._keyValueDiffers=F,this._ngEl=At,this._renderer=he,this.initialClasses=Mn,this.stateMap=new Map}set klass(E){this.initialClasses=null!=E?E.trim().split(Fn):Mn}set ngClass(E){this.rawClass="string"==typeof E?E.trim().split(Fn):E}ngDoCheck(){for(const F of this.initialClasses)this._updateState(F,!0);const E=this.rawClass;if(Array.isArray(E)||E instanceof Set)for(const F of E)this._updateState(F,!0);else if(null!=E)for(const F of Object.keys(E))this._updateState(F,!!E[F]);this._applyStateDiff()}_updateState(E,F){const At=this.stateMap.get(E);void 0!==At?(At.enabled!==F&&(At.changed=!0,At.enabled=F),At.touched=!0):this.stateMap.set(E,{enabled:F,changed:!0,touched:!0})}_applyStateDiff(){for(const E of this.stateMap){const F=E[0],At=E[1];At.changed?(this._toggleClass(F,At.enabled),At.changed=!1):At.touched||(At.enabled&&this._toggleClass(F,!1),this.stateMap.delete(F)),At.touched=!1}}_toggleClass(E,F){(E=E.trim()).length>0&&E.split(Fn).forEach(At=>{F?this._renderer.addClass(this._ngEl.nativeElement,At):this._renderer.removeClass(this._ngEl.nativeElement,At)})}static{this.\u0275fac=function(F){return new(F||v)(o.rXU(o._q3),o.rXU(o.MKu),o.rXU(o.aKT),o.rXU(o.sFG))}}static{this.\u0275dir=o.FsC({type:v,selectors:[["","ngClass",""]],inputs:{klass:["class","klass"],ngClass:"ngClass"},standalone:!0})}}return v})();class Bn{constructor(W,E,F,At){this.$implicit=W,this.ngForOf=E,this.index=F,this.count=At}get first(){return 0===this.index}get last(){return this.index===this.count-1}get even(){return this.index%2==0}get odd(){return!this.even}}let Jn=(()=>{class v{set ngForOf(E){this._ngForOf=E,this._ngForOfDirty=!0}set ngForTrackBy(E){this._trackByFn=E}get ngForTrackBy(){return this._trackByFn}constructor(E,F,At){this._viewContainer=E,this._template=F,this._differs=At,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForTemplate(E){E&&(this._template=E)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const E=this._ngForOf;!this._differ&&E&&(this._differ=this._differs.find(E).create(this.ngForTrackBy))}if(this._differ){const E=this._differ.diff(this._ngForOf);E&&this._applyChanges(E)}}_applyChanges(E){const F=this._viewContainer;E.forEachOperation((At,he,Pe)=>{if(null==At.previousIndex)F.createEmbeddedView(this._template,new Bn(At.item,this._ngForOf,-1,-1),null===Pe?void 0:Pe);else if(null==Pe)F.remove(null===he?void 0:he);else if(null!==he){const sn=F.get(he);F.move(sn,Pe),Mi(sn,At)}});for(let At=0,he=F.length;At{Mi(F.get(At.currentIndex),At)})}static ngTemplateContextGuard(E,F){return!0}static{this.\u0275fac=function(F){return new(F||v)(o.rXU(o.c1b),o.rXU(o.C4Q),o.rXU(o._q3))}}static{this.\u0275dir=o.FsC({type:v,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"},standalone:!0})}}return v})();function Mi(v,W){v.context.$implicit=W.item}let Fi=(()=>{class v{constructor(E,F){this._viewContainer=E,this._context=new oi,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=F}set ngIf(E){this._context.$implicit=this._context.ngIf=E,this._updateView()}set ngIfThen(E){Ti("ngIfThen",E),this._thenTemplateRef=E,this._thenViewRef=null,this._updateView()}set ngIfElse(E){Ti("ngIfElse",E),this._elseTemplateRef=E,this._elseViewRef=null,this._updateView()}_updateView(){this._context.$implicit?this._thenViewRef||(this._viewContainer.clear(),this._elseViewRef=null,this._thenTemplateRef&&(this._thenViewRef=this._viewContainer.createEmbeddedView(this._thenTemplateRef,this._context))):this._elseViewRef||(this._viewContainer.clear(),this._thenViewRef=null,this._elseTemplateRef&&(this._elseViewRef=this._viewContainer.createEmbeddedView(this._elseTemplateRef,this._context)))}static ngTemplateContextGuard(E,F){return!0}static{this.\u0275fac=function(F){return new(F||v)(o.rXU(o.c1b),o.rXU(o.C4Q))}}static{this.\u0275dir=o.FsC({type:v,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0})}}return v})();class oi{constructor(){this.$implicit=null,this.ngIf=null}}function Ti(v,W){if(W&&!W.createEmbeddedView)throw new Error(`${v} must be a TemplateRef, but received '${(0,o.Tbb)(W)}'.`)}class Mo{constructor(W,E){this._viewContainerRef=W,this._templateRef=E,this._created=!1}create(){this._created=!0,this._viewContainerRef.createEmbeddedView(this._templateRef)}destroy(){this._created=!1,this._viewContainerRef.clear()}enforceState(W){W&&!this._created?this.create():!W&&this._created&&this.destroy()}}let si=(()=>{class v{constructor(){this._defaultViews=[],this._defaultUsed=!1,this._caseCount=0,this._lastCaseCheckIndex=0,this._lastCasesMatched=!1}set ngSwitch(E){this._ngSwitch=E,0===this._caseCount&&this._updateDefaultCases(!0)}_addCase(){return this._caseCount++}_addDefault(E){this._defaultViews.push(E)}_matchCase(E){const F=E==this._ngSwitch;return this._lastCasesMatched=this._lastCasesMatched||F,this._lastCaseCheckIndex++,this._lastCaseCheckIndex===this._caseCount&&(this._updateDefaultCases(!this._lastCasesMatched),this._lastCaseCheckIndex=0,this._lastCasesMatched=!1),F}_updateDefaultCases(E){if(this._defaultViews.length>0&&E!==this._defaultUsed){this._defaultUsed=E;for(const F of this._defaultViews)F.enforceState(E)}}static{this.\u0275fac=function(F){return new(F||v)}}static{this.\u0275dir=o.FsC({type:v,selectors:[["","ngSwitch",""]],inputs:{ngSwitch:"ngSwitch"},standalone:!0})}}return v})(),Zc=(()=>{class v{constructor(E,F,At){this.ngSwitch=At,At._addCase(),this._view=new Mo(E,F)}ngDoCheck(){this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase))}static{this.\u0275fac=function(F){return new(F||v)(o.rXU(o.c1b),o.rXU(o.C4Q),o.rXU(si,9))}}static{this.\u0275dir=o.FsC({type:v,selectors:[["","ngSwitchCase",""]],inputs:{ngSwitchCase:"ngSwitchCase"},standalone:!0})}}return v})(),dc=(()=>{class v{constructor(E,F,At){At._addDefault(new Mo(E,F))}static{this.\u0275fac=function(F){return new(F||v)(o.rXU(o.c1b),o.rXU(o.C4Q),o.rXU(si,9))}}static{this.\u0275dir=o.FsC({type:v,selectors:[["","ngSwitchDefault",""]],standalone:!0})}}return v})(),wo=(()=>{class v{constructor(E){this._viewContainerRef=E,this._viewRef=null,this.ngTemplateOutletContext=null,this.ngTemplateOutlet=null,this.ngTemplateOutletInjector=null}ngOnChanges(E){if(E.ngTemplateOutlet||E.ngTemplateOutletInjector){const F=this._viewContainerRef;if(this._viewRef&&F.remove(F.indexOf(this._viewRef)),this.ngTemplateOutlet){const{ngTemplateOutlet:At,ngTemplateOutletContext:he,ngTemplateOutletInjector:Pe}=this;this._viewRef=F.createEmbeddedView(At,he,Pe?{injector:Pe}:void 0)}else this._viewRef=null}else this._viewRef&&E.ngTemplateOutletContext&&this.ngTemplateOutletContext&&(this._viewRef.context=this.ngTemplateOutletContext)}static{this.\u0275fac=function(F){return new(F||v)(o.rXU(o.c1b))}}static{this.\u0275dir=o.FsC({type:v,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},standalone:!0,features:[o.OA$]})}}return v})();function Oi(v,W){return new o.wOt(2100,!1)}class mc{createSubscription(W,E){return(0,o.O8t)(()=>W.subscribe({next:E,error:F=>{throw F}}))}dispose(W){(0,o.O8t)(()=>W.unsubscribe())}}class Bo{createSubscription(W,E){return W.then(E,F=>{throw F})}dispose(W){}}const Vo=new Bo,Ec=new mc;let Bc=(()=>{class v{constructor(E){this._latestValue=null,this._subscription=null,this._obj=null,this._strategy=null,this._ref=E}ngOnDestroy(){this._subscription&&this._dispose(),this._ref=null}transform(E){return this._obj?E!==this._obj?(this._dispose(),this.transform(E)):this._latestValue:(E&&this._subscribe(E),this._latestValue)}_subscribe(E){this._obj=E,this._strategy=this._selectStrategy(E),this._subscription=this._strategy.createSubscription(E,F=>this._updateLatestValue(E,F))}_selectStrategy(E){if((0,o.jNT)(E))return Vo;if((0,o.zjR)(E))return Ec;throw Oi()}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}_updateLatestValue(E,F){E===this._obj&&(this._latestValue=F,this._ref.markForCheck())}static{this.\u0275fac=function(F){return new(F||v)(o.rXU(o.gRc,16))}}static{this.\u0275pipe=o.EJ8({name:"async",type:v,pure:!1,standalone:!0})}}return v})(),Ji=(()=>{class v{transform(E){if(null==E)return null;if("string"!=typeof E)throw Oi();return E.toLowerCase()}static{this.\u0275fac=function(F){return new(F||v)}}static{this.\u0275pipe=o.EJ8({name:"lowercase",type:v,pure:!0,standalone:!0})}}return v})(),Lo=(()=>{class v{transform(E){if(null==E)return null;if("string"!=typeof E)throw Oi();return E.toUpperCase()}static{this.\u0275fac=function(F){return new(F||v)}}static{this.\u0275pipe=o.EJ8({name:"uppercase",type:v,pure:!0,standalone:!0})}}return v})();const En=new o.nKC("DATE_PIPE_DEFAULT_TIMEZONE"),di=new o.nKC("DATE_PIPE_DEFAULT_OPTIONS");let ei=(()=>{class v{constructor(E,F,At){this.locale=E,this.defaultTimezone=F,this.defaultOptions=At}transform(E,F,At,he){if(null==E||""===E||E!=E)return null;try{return zt(E,F??this.defaultOptions?.dateFormat??"mediumDate",he||this.locale,At??this.defaultOptions?.timezone??this.defaultTimezone??void 0)}catch(Pe){throw Oi()}}static{this.\u0275fac=function(F){return new(F||v)(o.rXU(o.xe9,16),o.rXU(En,24),o.rXU(di,24))}}static{this.\u0275pipe=o.EJ8({name:"date",type:v,pure:!0,standalone:!0})}}return v})(),Do=(()=>{class v{transform(E){return JSON.stringify(E,null,2)}static{this.\u0275fac=function(F){return new(F||v)}}static{this.\u0275pipe=o.EJ8({name:"json",type:v,pure:!1,standalone:!0})}}return v})(),qn=(()=>{class v{constructor(E){this._locale=E}transform(E,F,At){if(!Hn(E))return null;At=At||this._locale;try{return function Q(v,W,E){return ee(v,Mt(Tt(W,V.Decimal),Nt(W,_e.MinusSign)),W,_e.Group,_e.Decimal,E)}(Si(E),At,F)}catch(he){throw Oi()}}static{this.\u0275fac=function(F){return new(F||v)(o.rXU(o.xe9,16))}}static{this.\u0275pipe=o.EJ8({name:"number",type:v,pure:!0,standalone:!0})}}return v})(),Cn=(()=>{class v{constructor(E,F="USD"){this._locale=E,this._defaultCurrencyCode=F}transform(E,F=this._defaultCurrencyCode,At="symbol",he,Pe){if(!Hn(E))return null;Pe=Pe||this._locale,"boolean"==typeof At&&(At=At?"symbol":"code");let sn=F||this._defaultCurrencyCode;"code"!==At&&(sn="symbol"===At||"symbol-narrow"===At?function re(v,W,E="en"){const F=function ke(v){return(0,o.H5H)(v)[o.KH2.Currencies]}(E)[v]||lt[v]||[],At=F[1];return"narrow"===W&&"string"==typeof At?At:F[0]||v}(sn,"symbol"===At?"wide":"narrow",Pe):At);try{return function I(v,W,E,F,At){const Pe=Mt(Tt(W,V.Currency),Nt(W,_e.MinusSign));return Pe.minFrac=function ce(v){let W;const E=lt[v];return E&&(W=E[2]),"number"==typeof W?W:2}(F),Pe.maxFrac=Pe.minFrac,ee(v,Pe,W,_e.CurrencyGroup,_e.CurrencyDecimal,At).replace("\xa4",E).replace("\xa4","").trim()}(Si(E),Pe,sn,F,he)}catch(ni){throw Oi()}}static{this.\u0275fac=function(F){return new(F||v)(o.rXU(o.xe9,16),o.rXU(o.Ocv,16))}}static{this.\u0275pipe=o.EJ8({name:"currency",type:v,pure:!0,standalone:!0})}}return v})();function Hn(v){return!(null==v||""===v||v!=v)}function Si(v){if("string"==typeof v&&!isNaN(Number(v)-parseFloat(v)))return Number(v);if("number"!=typeof v)throw new Error(`${v} is not a number`);return v}let Bi=(()=>{class v{transform(E,F,At){if(null==E)return null;if(!this.supports(E))throw Oi();return E.slice(F,At)}supports(E){return"string"==typeof E||Array.isArray(E)}static{this.\u0275fac=function(F){return new(F||v)}}static{this.\u0275pipe=o.EJ8({name:"slice",type:v,pure:!1,standalone:!0})}}return v})(),So=(()=>{class v{static{this.\u0275fac=function(F){return new(F||v)}}static{this.\u0275mod=o.$C({type:v})}static{this.\u0275inj=o.G2t({})}}return v})();const Vn="browser",Ni="server";function qi(v){return v===Vn}function to(v){return v===Ni}let fo=(()=>{class v{static{this.\u0275prov=(0,o.jDH)({token:v,providedIn:"root",factory:()=>new ho((0,o.KVO)(G),window)})}}return v})();class ho{constructor(W,E){this.document=W,this.window=E,this.offset=()=>[0,0]}setOffset(W){this.offset=Array.isArray(W)?()=>W:W}getScrollPosition(){return this.supportsScrolling()?[this.window.pageXOffset,this.window.pageYOffset]:[0,0]}scrollToPosition(W){this.supportsScrolling()&&this.window.scrollTo(W[0],W[1])}scrollToAnchor(W){if(!this.supportsScrolling())return;const E=function Ho(v,W){const E=v.getElementById(W)||v.getElementsByName(W)[0];if(E)return E;if("function"==typeof v.createTreeWalker&&v.body&&"function"==typeof v.body.attachShadow){const F=v.createTreeWalker(v.body,NodeFilter.SHOW_ELEMENT);let At=F.currentNode;for(;At;){const he=At.shadowRoot;if(he){const Pe=he.getElementById(W)||he.querySelector(`[name="${W}"]`);if(Pe)return Pe}At=F.nextNode()}}return null}(this.document,W);E&&(this.scrollToElement(E),E.focus())}setHistoryScrollRestoration(W){this.supportsScrolling()&&(this.window.history.scrollRestoration=W)}scrollToElement(W){const E=W.getBoundingClientRect(),F=E.left+this.window.pageXOffset,At=E.top+this.window.pageYOffset,he=this.offset();this.window.scrollTo(F-he[0],At-he[1])}supportsScrolling(){try{return!!this.window&&!!this.window.scrollTo&&"pageXOffset"in this.window}catch{return!1}}}class Po{}},62572:(Ce,Lt,r)=>{r.d(Lt,{$R:()=>me,JV:()=>K,Lr:()=>M,Nl:()=>$,Qq:()=>be,_y:()=>V,b$:()=>jt,cS:()=>Ve,rx:()=>lt,yz:()=>Oe});var o=r(1843),y=r(73151),b=r(61550),T=r(23135),k=r(90940),G=r(98474),P=r(12324),Z=r(91974),N=r(57588),ot=r(18331);class q{}class K{}class M{constructor(I){this.normalizedNames=new Map,this.lazyUpdate=null,I?"string"==typeof I?this.lazyInit=()=>{this.headers=new Map,I.split("\n").forEach(_t=>{const Q=_t.indexOf(":");if(Q>0){const Mt=_t.slice(0,Q),Wt=Mt.toLowerCase(),se=_t.slice(Q+1).trim();this.maybeSetNormalizedName(Mt,Wt),this.headers.has(Wt)?this.headers.get(Wt).push(se):this.headers.set(Wt,[se])}})}:typeof Headers<"u"&&I instanceof Headers?(this.headers=new Map,I.forEach((_t,Q)=>{this.setHeaderEntries(Q,_t)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(I).forEach(([_t,Q])=>{this.setHeaderEntries(_t,Q)})}:this.headers=new Map}has(I){return this.init(),this.headers.has(I.toLowerCase())}get(I){this.init();const _t=this.headers.get(I.toLowerCase());return _t&&_t.length>0?_t[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(I){return this.init(),this.headers.get(I.toLowerCase())||null}append(I,_t){return this.clone({name:I,value:_t,op:"a"})}set(I,_t){return this.clone({name:I,value:_t,op:"s"})}delete(I,_t){return this.clone({name:I,value:_t,op:"d"})}maybeSetNormalizedName(I,_t){this.normalizedNames.has(_t)||this.normalizedNames.set(_t,I)}init(){this.lazyInit&&(this.lazyInit instanceof M?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(I=>this.applyUpdate(I)),this.lazyUpdate=null))}copyFrom(I){I.init(),Array.from(I.headers.keys()).forEach(_t=>{this.headers.set(_t,I.headers.get(_t)),this.normalizedNames.set(_t,I.normalizedNames.get(_t))})}clone(I){const _t=new M;return _t.lazyInit=this.lazyInit&&this.lazyInit instanceof M?this.lazyInit:this,_t.lazyUpdate=(this.lazyUpdate||[]).concat([I]),_t}applyUpdate(I){const _t=I.name.toLowerCase();switch(I.op){case"a":case"s":let Q=I.value;if("string"==typeof Q&&(Q=[Q]),0===Q.length)return;this.maybeSetNormalizedName(I.name,_t);const Mt=("a"===I.op?this.headers.get(_t):void 0)||[];Mt.push(...Q),this.headers.set(_t,Mt);break;case"d":const Wt=I.value;if(Wt){let se=this.headers.get(_t);if(!se)return;se=se.filter(De=>-1===Wt.indexOf(De)),0===se.length?(this.headers.delete(_t),this.normalizedNames.delete(_t)):this.headers.set(_t,se)}else this.headers.delete(_t),this.normalizedNames.delete(_t)}}setHeaderEntries(I,_t){const Q=(Array.isArray(_t)?_t:[_t]).map(Wt=>Wt.toString()),Mt=I.toLowerCase();this.headers.set(Mt,Q),this.maybeSetNormalizedName(I,Mt)}forEach(I){this.init(),Array.from(this.normalizedNames.keys()).forEach(_t=>I(this.normalizedNames.get(_t),this.headers.get(_t)))}}class pt{encodeKey(I){return Gt(I)}encodeValue(I){return Gt(I)}decodeKey(I){return decodeURIComponent(I)}decodeValue(I){return decodeURIComponent(I)}}const J=/%(\d[a-f0-9])/gi,bt={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function Gt(ee){return encodeURIComponent(ee).replace(J,(I,_t)=>bt[_t]??I)}function te(ee){return`${ee}`}class ${constructor(I={}){if(this.updates=null,this.cloneFrom=null,this.encoder=I.encoder||new pt,I.fromString){if(I.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function j(ee,I){const _t=new Map;return ee.length>0&&ee.replace(/^\?/,"").split("&").forEach(Mt=>{const Wt=Mt.indexOf("="),[se,De]=-1==Wt?[I.decodeKey(Mt),""]:[I.decodeKey(Mt.slice(0,Wt)),I.decodeValue(Mt.slice(Wt+1))],ve=_t.get(se)||[];ve.push(De),_t.set(se,ve)}),_t}(I.fromString,this.encoder)}else I.fromObject?(this.map=new Map,Object.keys(I.fromObject).forEach(_t=>{const Q=I.fromObject[_t],Mt=Array.isArray(Q)?Q.map(te):[te(Q)];this.map.set(_t,Mt)})):this.map=null}has(I){return this.init(),this.map.has(I)}get(I){this.init();const _t=this.map.get(I);return _t?_t[0]:null}getAll(I){return this.init(),this.map.get(I)||null}keys(){return this.init(),Array.from(this.map.keys())}append(I,_t){return this.clone({param:I,value:_t,op:"a"})}appendAll(I){const _t=[];return Object.keys(I).forEach(Q=>{const Mt=I[Q];Array.isArray(Mt)?Mt.forEach(Wt=>{_t.push({param:Q,value:Wt,op:"a"})}):_t.push({param:Q,value:Mt,op:"a"})}),this.clone(_t)}set(I,_t){return this.clone({param:I,value:_t,op:"s"})}delete(I,_t){return this.clone({param:I,value:_t,op:"d"})}toString(){return this.init(),this.keys().map(I=>{const _t=this.encoder.encodeKey(I);return this.map.get(I).map(Q=>_t+"="+this.encoder.encodeValue(Q)).join("&")}).filter(I=>""!==I).join("&")}clone(I){const _t=new $({encoder:this.encoder});return _t.cloneFrom=this.cloneFrom||this,_t.updates=(this.updates||[]).concat(I),_t}init(){null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(I=>this.map.set(I,this.cloneFrom.map.get(I))),this.updates.forEach(I=>{switch(I.op){case"a":case"s":const _t=("a"===I.op?this.map.get(I.param):void 0)||[];_t.push(te(I.value)),this.map.set(I.param,_t);break;case"d":if(void 0===I.value){this.map.delete(I.param);break}{let Q=this.map.get(I.param)||[];const Mt=Q.indexOf(te(I.value));-1!==Mt&&Q.splice(Mt,1),Q.length>0?this.map.set(I.param,Q):this.map.delete(I.param)}}}),this.cloneFrom=this.updates=null)}}class lt{constructor(I){this.defaultValue=I}}class V{constructor(){this.map=new Map}set(I,_t){return this.map.set(I,_t),this}get(I){return this.map.has(I)||this.map.set(I,I.defaultValue()),this.map.get(I)}delete(I){return this.map.delete(I),this}has(I){return this.map.has(I)}keys(){return this.map.keys()}}function rt(ee){return typeof ArrayBuffer<"u"&&ee instanceof ArrayBuffer}function $t(ee){return typeof Blob<"u"&&ee instanceof Blob}function de(ee){return typeof FormData<"u"&&ee instanceof FormData}class Le{constructor(I,_t,Q,Mt){let Wt;if(this.url=_t,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=I.toUpperCase(),function mt(ee){switch(ee){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||Mt?(this.body=void 0!==Q?Q:null,Wt=Mt):Wt=Q,Wt&&(this.reportProgress=!!Wt.reportProgress,this.withCredentials=!!Wt.withCredentials,Wt.responseType&&(this.responseType=Wt.responseType),Wt.headers&&(this.headers=Wt.headers),Wt.context&&(this.context=Wt.context),Wt.params&&(this.params=Wt.params)),this.headers||(this.headers=new M),this.context||(this.context=new V),this.params){const se=this.params.toString();if(0===se.length)this.urlWithParams=_t;else{const De=_t.indexOf("?");this.urlWithParams=_t+(-1===De?"?":De<_t.length-1?"&":"")+se}}else this.params=new $,this.urlWithParams=_t}serializeBody(){return null===this.body?null:rt(this.body)||$t(this.body)||de(this.body)||function _e(ee){return typeof URLSearchParams<"u"&&ee instanceof URLSearchParams}(this.body)||"string"==typeof this.body?this.body:this.body instanceof $?this.body.toString():"object"==typeof this.body||"boolean"==typeof this.body||Array.isArray(this.body)?JSON.stringify(this.body):this.body.toString()}detectContentTypeHeader(){return null===this.body||de(this.body)?null:$t(this.body)?this.body.type||null:rt(this.body)?null:"string"==typeof this.body?"text/plain":this.body instanceof $?"application/x-www-form-urlencoded;charset=UTF-8":"object"==typeof this.body||"number"==typeof this.body||"boolean"==typeof this.body?"application/json":null}clone(I={}){const _t=I.method||this.method,Q=I.url||this.url,Mt=I.responseType||this.responseType,Wt=void 0!==I.body?I.body:this.body,se=void 0!==I.withCredentials?I.withCredentials:this.withCredentials,De=void 0!==I.reportProgress?I.reportProgress:this.reportProgress;let ve=I.headers||this.headers,Ye=I.params||this.params;const tn=I.context??this.context;return void 0!==I.setHeaders&&(ve=Object.keys(I.setHeaders).reduce((rn,ln)=>rn.set(ln,I.setHeaders[ln]),ve)),I.setParams&&(Ye=Object.keys(I.setParams).reduce((rn,ln)=>rn.set(ln,I.setParams[ln]),Ye)),new Le(_t,Q,Wt,{params:Ye,headers:ve,context:tn,reportProgress:De,responseType:Mt,withCredentials:se})}}var Ge=function(ee){return ee[ee.Sent=0]="Sent",ee[ee.UploadProgress=1]="UploadProgress",ee[ee.ResponseHeader=2]="ResponseHeader",ee[ee.DownloadProgress=3]="DownloadProgress",ee[ee.Response=4]="Response",ee[ee.User=5]="User",ee}(Ge||{});class Xe{constructor(I,_t=200,Q="OK"){this.headers=I.headers||new M,this.status=void 0!==I.status?I.status:_t,this.statusText=I.statusText||Q,this.url=I.url||null,this.ok=this.status>=200&&this.status<300}}class ye extends Xe{constructor(I={}){super(I),this.type=Ge.ResponseHeader}clone(I={}){return new ye({headers:I.headers||this.headers,status:void 0!==I.status?I.status:this.status,statusText:I.statusText||this.statusText,url:I.url||this.url||void 0})}}class Ve extends Xe{constructor(I={}){super(I),this.type=Ge.Response,this.body=void 0!==I.body?I.body:null}clone(I={}){return new Ve({body:void 0!==I.body?I.body:this.body,headers:I.headers||this.headers,status:void 0!==I.status?I.status:this.status,statusText:I.statusText||this.statusText,url:I.url||this.url||void 0})}}class Oe extends Xe{constructor(I){super(I,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.message=this.status>=200&&this.status<300?`Http failure during parsing for ${I.url||"(unknown url)"}`:`Http failure response for ${I.url||"(unknown url)"}: ${I.status} ${I.statusText}`,this.error=I.error||null}}function Qe(ee,I){return{body:I,headers:ee.headers,context:ee.context,observe:ee.observe,params:ee.params,reportProgress:ee.reportProgress,responseType:ee.responseType,withCredentials:ee.withCredentials}}let be=(()=>{class ee{constructor(_t){this.handler=_t}request(_t,Q,Mt={}){let Wt;if(_t instanceof Le)Wt=_t;else{let ve,Ye;ve=Mt.headers instanceof M?Mt.headers:new M(Mt.headers),Mt.params&&(Ye=Mt.params instanceof $?Mt.params:new $({fromObject:Mt.params})),Wt=new Le(_t,Q,void 0!==Mt.body?Mt.body:null,{headers:ve,context:Mt.context,params:Ye,reportProgress:Mt.reportProgress,responseType:Mt.responseType||"json",withCredentials:Mt.withCredentials})}const se=(0,y.of)(Wt).pipe((0,k.H)(ve=>this.handler.handle(ve)));if(_t instanceof Le||"events"===Mt.observe)return se;const De=se.pipe((0,G.p)(ve=>ve instanceof Ve));switch(Mt.observe||"body"){case"body":switch(Wt.responseType){case"arraybuffer":return De.pipe((0,P.T)(ve=>{if(null!==ve.body&&!(ve.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return ve.body}));case"blob":return De.pipe((0,P.T)(ve=>{if(null!==ve.body&&!(ve.body instanceof Blob))throw new Error("Response is not a Blob.");return ve.body}));case"text":return De.pipe((0,P.T)(ve=>{if(null!==ve.body&&"string"!=typeof ve.body)throw new Error("Response is not a string.");return ve.body}));default:return De.pipe((0,P.T)(ve=>ve.body))}case"response":return De;default:throw new Error(`Unreachable: unhandled observe type ${Mt.observe}}`)}}delete(_t,Q={}){return this.request("DELETE",_t,Q)}get(_t,Q={}){return this.request("GET",_t,Q)}head(_t,Q={}){return this.request("HEAD",_t,Q)}jsonp(_t,Q){return this.request("JSONP",_t,{params:(new $).append(Q,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(_t,Q={}){return this.request("OPTIONS",_t,Q)}patch(_t,Q,Mt={}){return this.request("PATCH",_t,Qe(Mt,Q))}post(_t,Q,Mt={}){return this.request("POST",_t,Qe(Mt,Q))}put(_t,Q,Mt={}){return this.request("PUT",_t,Qe(Mt,Q))}static{this.\u0275fac=function(Q){return new(Q||ee)(o.KVO(q))}}static{this.\u0275prov=o.jDH({token:ee,factory:ee.\u0275fac})}}return ee})();function Ne(ee,I){return I(ee)}const le=new o.nKC(""),Vt=new o.nKC("");let Qt=(()=>{class ee extends q{constructor(_t,Q){super(),this.backend=_t,this.injector=Q,this.chain=null,this.pendingTasks=(0,o.WQX)(o.$K3)}handle(_t){if(null===this.chain){const Mt=Array.from(new Set([...this.injector.get(le),...this.injector.get(Vt,[])]));this.chain=Mt.reduceRight((Wt,se)=>function un(ee,I,_t){return(Q,Mt)=>_t.runInContext(()=>I(Q,Wt=>ee(Wt,Mt)))}(Wt,se,this.injector),Ne)}const Q=this.pendingTasks.add();return this.chain(_t,Mt=>this.backend.handle(Mt)).pipe((0,Z.j)(()=>this.pendingTasks.remove(Q)))}static{this.\u0275fac=function(Q){return new(Q||ee)(o.KVO(K),o.KVO(o.uvJ))}}static{this.\u0275prov=o.jDH({token:ee,factory:ee.\u0275fac})}}return ee})();const vt=/^\)\]\}',?\n/;let tt=(()=>{class ee{constructor(_t){this.xhrFactory=_t}handle(_t){if("JSONP"===_t.method)throw new o.wOt(-2800,!1);const Q=this.xhrFactory;return(Q.\u0275loadImpl?(0,b.H)(Q.\u0275loadImpl()):(0,y.of)(null)).pipe((0,N.n)(()=>new T.c(Wt=>{const se=Q.build();if(se.open(_t.method,_t.urlWithParams),_t.withCredentials&&(se.withCredentials=!0),_t.headers.forEach((Mn,In)=>se.setRequestHeader(Mn,In.join(","))),_t.headers.has("Accept")||se.setRequestHeader("Accept","application/json, text/plain, */*"),!_t.headers.has("Content-Type")){const Mn=_t.detectContentTypeHeader();null!==Mn&&se.setRequestHeader("Content-Type",Mn)}if(_t.responseType){const Mn=_t.responseType.toLowerCase();se.responseType="json"!==Mn?Mn:"text"}const De=_t.serializeBody();let ve=null;const Ye=()=>{if(null!==ve)return ve;const Mn=se.statusText||"OK",In=new M(se.getAllResponseHeaders()),li=function kt(ee){return"responseURL"in ee&&ee.responseURL?ee.responseURL:/^X-Request-URL:/m.test(ee.getAllResponseHeaders())?ee.getResponseHeader("X-Request-URL"):null}(se)||_t.url;return ve=new ye({headers:In,status:se.status,statusText:Mn,url:li}),ve},tn=()=>{let{headers:Mn,status:In,statusText:li,url:yi}=Ye(),Bn=null;204!==In&&(Bn=typeof se.response>"u"?se.responseText:se.response),0===In&&(In=Bn?200:0);let Jn=In>=200&&In<300;if("json"===_t.responseType&&"string"==typeof Bn){const Mi=Bn;Bn=Bn.replace(vt,"");try{Bn=""!==Bn?JSON.parse(Bn):null}catch(pi){Bn=Mi,Jn&&(Jn=!1,Bn={error:pi,text:Bn})}}Jn?(Wt.next(new Ve({body:Bn,headers:Mn,status:In,statusText:li,url:yi||void 0})),Wt.complete()):Wt.error(new Oe({error:Bn,headers:Mn,status:In,statusText:li,url:yi||void 0}))},rn=Mn=>{const{url:In}=Ye(),li=new Oe({error:Mn,status:se.status||0,statusText:se.statusText||"Unknown Error",url:In||void 0});Wt.error(li)};let ln=!1;const Dn=Mn=>{ln||(Wt.next(Ye()),ln=!0);let In={type:Ge.DownloadProgress,loaded:Mn.loaded};Mn.lengthComputable&&(In.total=Mn.total),"text"===_t.responseType&&se.responseText&&(In.partialText=se.responseText),Wt.next(In)},Fn=Mn=>{let In={type:Ge.UploadProgress,loaded:Mn.loaded};Mn.lengthComputable&&(In.total=Mn.total),Wt.next(In)};return se.addEventListener("load",tn),se.addEventListener("error",rn),se.addEventListener("timeout",rn),se.addEventListener("abort",rn),_t.reportProgress&&(se.addEventListener("progress",Dn),null!==De&&se.upload&&se.upload.addEventListener("progress",Fn)),se.send(De),Wt.next({type:Ge.Sent}),()=>{se.removeEventListener("error",rn),se.removeEventListener("abort",rn),se.removeEventListener("load",tn),se.removeEventListener("timeout",rn),_t.reportProgress&&(se.removeEventListener("progress",Dn),null!==De&&se.upload&&se.upload.removeEventListener("progress",Fn)),se.readyState!==se.DONE&&se.abort()}})))}static{this.\u0275fac=function(Q){return new(Q||ee)(o.KVO(ot.N0))}}static{this.\u0275prov=o.jDH({token:ee,factory:ee.\u0275fac})}}return ee})();const X=new o.nKC("XSRF_ENABLED"),Ot=new o.nKC("XSRF_COOKIE_NAME",{providedIn:"root",factory:()=>"XSRF-TOKEN"}),Te=new o.nKC("XSRF_HEADER_NAME",{providedIn:"root",factory:()=>"X-XSRF-TOKEN"});class Ke{}let on=(()=>{class ee{constructor(_t,Q,Mt){this.doc=_t,this.platform=Q,this.cookieName=Mt,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if("server"===this.platform)return null;const _t=this.doc.cookie||"";return _t!==this.lastCookieString&&(this.parseCount++,this.lastToken=(0,ot._b)(_t,this.cookieName),this.lastCookieString=_t),this.lastToken}static{this.\u0275fac=function(Q){return new(Q||ee)(o.KVO(ot.qQ),o.KVO(o.Agw),o.KVO(Ot))}}static{this.\u0275prov=o.jDH({token:ee,factory:ee.\u0275fac})}}return ee})();function _n(ee,I){const _t=ee.url.toLowerCase();if(!(0,o.WQX)(X)||"GET"===ee.method||"HEAD"===ee.method||_t.startsWith("http://")||_t.startsWith("https://"))return I(ee);const Q=(0,o.WQX)(Ke).getToken(),Mt=(0,o.WQX)(Te);return null!=Q&&!ee.headers.has(Mt)&&(ee=ee.clone({headers:ee.headers.set(Mt,Q)})),I(ee)}var fe=function(ee){return ee[ee.Interceptors=0]="Interceptors",ee[ee.LegacyInterceptors=1]="LegacyInterceptors",ee[ee.CustomXsrfConfiguration=2]="CustomXsrfConfiguration",ee[ee.NoXsrfProtection=3]="NoXsrfProtection",ee[ee.JsonpSupport=4]="JsonpSupport",ee[ee.RequestsMadeViaParent=5]="RequestsMadeViaParent",ee[ee.Fetch=6]="Fetch",ee}(fe||{});function me(...ee){const I=[be,tt,Qt,{provide:q,useExisting:Qt},{provide:K,useExisting:tt},{provide:le,useValue:_n,multi:!0},{provide:X,useValue:!0},{provide:Ke,useClass:on}];for(const _t of ee)I.push(..._t.\u0275providers);return(0,o.EmA)(I)}function jt(ee){return function cn(ee,I){return{\u0275kind:ee,\u0275providers:I}}(fe.Interceptors,ee.map(I=>({provide:le,useValue:I,multi:!0})))}},1843:(Ce,Lt,r)=>{r.d(Lt,{$C:()=>Ji,$GK:()=>at,$K3:()=>Vf,$MX:()=>k2,AVh:()=>l4,Aen:()=>hr,Af3:()=>E1,Agw:()=>Y0,B4B:()=>F0,BIS:()=>Ih,BMQ:()=>N3,C4Q:()=>ja,C5r:()=>wf,Co$:()=>zm,DNE:()=>W3,E5c:()=>b4,EBC:()=>i8,EFF:()=>ku,EJ8:()=>Ii,EmA:()=>T2,FS9:()=>e4,FsC:()=>Lo,G2t:()=>Vt,GBs:()=>G4,GFd:()=>H8,H3F:()=>Bf,H5H:()=>w4,H8p:()=>$0,HJs:()=>Vb,HbH:()=>Du,Hbi:()=>Pb,JRh:()=>p4,JZv:()=>tt,Jv_:()=>Sm,KH2:()=>Ra,KVO:()=>Ze,Kam:()=>q3,Kcf:()=>g6,L39:()=>Ka,LHq:()=>v4,LfX:()=>Qt,Lme:()=>g4,MKu:()=>jl,Mr5:()=>xl,Mz_:()=>R1,NAR:()=>t4,NEm:()=>ud,NYb:()=>ib,Njj:()=>js,O8t:()=>he,OA$:()=>Sn,OM3:()=>y1,Ocv:()=>Ug,Ol2:()=>km,PLl:()=>T6,QTQ:()=>h8,Ql9:()=>Hg,QuC:()=>Eo,R7$:()=>K2,RV6:()=>ru,Rfq:()=>pt,RxE:()=>W6,SKi:()=>yo,SdG:()=>fu,SpI:()=>B1,TL$:()=>uh,TL3:()=>lb,Tbb:()=>K,UyX:()=>bh,VBU:()=>Bo,Vns:()=>ms,Vt3:()=>A3,WHO:()=>Qf,WPN:()=>ks,WQX:()=>Ie,XpG:()=>mu,Xx1:()=>oc,Y8G:()=>ll,YHP:()=>rn,Z63:()=>g1,ZF7:()=>ua,ZvI:()=>Bu,_9s:()=>w1,_q3:()=>Cd,aKT:()=>M1,aNF:()=>Am,abz:()=>D1,bIt:()=>J3,bMT:()=>qm,bVm:()=>ml,bc$:()=>Q0,bkB:()=>Or,brH:()=>ef,c1b:()=>X1,cWb:()=>gh,czy:()=>d1,e01:()=>Zf,e5t:()=>vh,eBV:()=>vs,eq3:()=>V4,eu8:()=>Y3,gRc:()=>pb,gXe:()=>se,giA:()=>Jf,h9k:()=>y6,hnV:()=>J1,i5U:()=>tf,iLQ:()=>dd,ii3:()=>nf,j41:()=>dl,jDH:()=>gt,jNT:()=>Z3,joV:()=>c2,k0s:()=>N1,kS0:()=>r1,kdw:()=>cc,lJ4:()=>Um,lNU:()=>te,l_i:()=>jm,lsd:()=>Cf,mGM:()=>_f,mq5:()=>L4,n$t:()=>B0,nI1:()=>Qm,nKC:()=>Ot,naY:()=>l5,npT:()=>M6,nrm:()=>G3,o8S:()=>Wa,oKB:()=>D6,osQ:()=>b6,plB:()=>X4,qSk:()=>n2,qex:()=>ul,rOR:()=>K1,rXU:()=>xa,rcV:()=>Gr,sFG:()=>$6,sMw:()=>Hm,sZ2:()=>X0,sdS:()=>cu,uvJ:()=>Yc,w6W:()=>X9,wOt:()=>$,wni:()=>xf,xGo:()=>n0,xc7:()=>gl,xe9:()=>Nl,xtB:()=>sc,yjJ:()=>n4,zZn:()=>mr,zcH:()=>ds,ziG:()=>$m,zjR:()=>su,zvX:()=>M4});var o=r(89115),y=r(52693),b=r(23135),T=r(85012),k=r(85390),G=r(73151),P=r(31161),Z=r(57588),N=r(11224);function ot(t){for(let e in t)if(t[e]===ot)return e;throw Error("Could not find renamed property on target object.")}function q(t,e){for(const n in e)e.hasOwnProperty(n)&&!t.hasOwnProperty(n)&&(t[n]=e[n])}function K(t){if("string"==typeof t)return t;if(Array.isArray(t))return"["+t.map(K).join(", ")+"]";if(null==t)return""+t;if(t.overriddenName)return`${t.overriddenName}`;if(t.name)return`${t.name}`;const e=t.toString();if(null==e)return""+e;const n=e.indexOf("\n");return-1===n?e:e.substring(0,n)}function M(t,e){return null==t||""===t?null===e?"":e:null==e||""===e?t:t+" "+e}const a=ot({__forward_ref__:ot});function pt(t){return t.__forward_ref__=pt,t.toString=function(){return K(this())},t}function j(t){return J(t)?t():t}function J(t){return"function"==typeof t&&t.hasOwnProperty(a)&&t.__forward_ref__===pt}function bt(t){return t&&!!t.\u0275providers}const te="https://g.co/ng/security#xss";class $ extends Error{constructor(e,n){super(function lt(t,e){return`NG0${Math.abs(t)}${e?": "+e:""}`}(e,n)),this.code=e}}function V(t){return"string"==typeof t?t:null==t?"":String(t)}function _e(t,e){throw new $(-201,!1)}function Yt(t,e){null==t&&function Ut(t,e,n,i){throw new Error(`ASSERTION ERROR: ${t}`+(null==i?"":` [Expected=> ${n} ${i} ${e} <=Actual]`))}(e,t,null,"!=")}function gt(t){return{token:t.token,providedIn:t.providedIn||null,factory:t.factory,value:void 0}}function Vt(t){return{providers:t.providers||[],imports:t.imports||[]}}function oe(t){return Et(t,ce)||Et(t,Ht)}function Qt(t){return null!==oe(t)}function Et(t,e){return t.hasOwnProperty(e)?t[e]:null}function Ee(t){return t&&(t.hasOwnProperty(je)||t.hasOwnProperty(ne))?t[je]:null}const ce=ot({\u0275prov:ot}),je=ot({\u0275inj:ot}),Ht=ot({ngInjectableDef:ot}),ne=ot({ngInjectorDef:ot});var at=function(t){return t[t.Default=0]="Default",t[t.Host=1]="Host",t[t.Self=2]="Self",t[t.SkipSelf=4]="SkipSelf",t[t.Optional=8]="Optional",t}(at||{});let H;function st(){return H}function zt(t){const e=H;return H=t,e}function vt(t,e,n){const i=oe(t);return i&&"root"==i.providedIn?void 0===i.value?i.value=i.factory():i.value:n&at.Optional?null:void 0!==e?e:void _e(K(t))}const tt=globalThis;class Ot{constructor(e,n){this._desc=e,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,"number"==typeof n?this.__NG_ELEMENT_ID__=n:void 0!==n&&(this.\u0275prov=gt({token:this,providedIn:n.providedIn||"root",factory:n.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}}const dt={},Rt="__NG_DI_FLAG__",ae="ngTempTokenPath",Zt=/\n/gm,U="__source";let A;function Jt(t){const e=A;return A=t,e}function Fe(t,e=at.Default){if(void 0===A)throw new $(-203,!1);return null===A?vt(t,void 0,e):A.get(t,e&at.Optional?null:void 0,e)}function Ze(t,e=at.Default){return(st()||Fe)(j(t),e)}function Ie(t,e=at.Default){return Ze(t,Nn(e))}function Nn(t){return typeof t>"u"||"number"==typeof t?t:0|(t.optional&&8)|(t.host&&1)|(t.self&&2)|(t.skipSelf&&4)}function Qn(t){const e=[];for(let n=0;ne){u=s-1;break}}}for(;ss?"":c[wt+1].toLowerCase();const ue=8&i?Xt:null;if(ue&&-1!==In(ue,O,0)||2&i&&O!==Xt){if(si(i))return!1;u=!0}}}}else{if(!u&&!si(i)&&!si(_))return!1;if(u&&si(_))continue;u=!1,i=_|1&i}}return si(i)||u}function si(t){return 0==(1&t)}function Zc(t,e,n,i){if(null===e)return-1;let c=0;if(i||!n){let s=!1;for(;c-1)for(n++;n0?'="'+p+'"':"")+"]"}else 8&i?c+="."+u:4&i&&(c+=" "+u);else""!==c&&!si(u)&&(e+=wo(s,c),c=""),i=u,s=s||!si(i);n++}return""!==c&&(e+=wo(s,c)),e}function Bo(t){return Mt(()=>{const e=Wi(t),n={...e,decls:t.decls,vars:t.vars,template:t.template,consts:t.consts||null,ngContentSelectors:t.ngContentSelectors,onPush:t.changeDetection===Wt.OnPush,directiveDefs:null,pipeDefs:null,dependencies:e.standalone&&t.dependencies||null,getStandaloneInjector:null,signals:t.signals??!1,data:t.data||{},encapsulation:t.encapsulation||se.Emulated,styles:t.styles||ve,_:null,schemas:t.schemas||null,tView:null,id:""};Do(n);const i=t.dependencies;return n.directiveDefs=Oo(i,!1),n.pipeDefs=Oo(i,!0),n.id=function qo(t){let e=0;const n=[t.selectors,t.ngContentSelectors,t.hostVars,t.hostAttrs,t.consts,t.vars,t.decls,t.encapsulation,t.standalone,t.signals,t.exportAs,JSON.stringify(t.inputs),JSON.stringify(t.outputs),Object.getOwnPropertyNames(t.type.prototype),!!t.contentQueries,!!t.viewQuery].join("|");for(const c of n)e=Math.imul(31,e)+c.charCodeAt(0)<<0;return e+=2147483648,"c"+e}(n),n})}function Ec(t){return En(t)||di(t)}function Bc(t){return null!==t}function Ji(t){return Mt(()=>({type:t.type,bootstrap:t.bootstrap||ve,declarations:t.declarations||ve,imports:t.imports||ve,exports:t.exports||ve,transitiveCompileScopes:null,schemas:t.schemas||null,id:t.id||null}))}function Uo(t,e){if(null==t)return De;const n={};for(const i in t)if(t.hasOwnProperty(i)){let c=t[i],s=c;Array.isArray(c)&&(s=c[1],c=c[0]),n[c]=i,e&&(e[c]=s)}return n}function Lo(t){return Mt(()=>{const e=Wi(t);return Do(e),e})}function Ii(t){return{type:t.type,name:t.name,factory:null,pure:!1!==t.pure,standalone:!0===t.standalone,onDestroy:t.type.prototype.ngOnDestroy||null}}function En(t){return t[Ye]||null}function di(t){return t[tn]||null}function ei(t){return t[rn]||null}function Eo(t){const e=En(t)||di(t)||ei(t);return null!==e&&e.standalone}function ci(t,e){const n=t[ln]||null;if(!n&&!0===e)throw new Error(`Type ${K(t)} does not have '\u0275mod' property.`);return n}function Wi(t){const e={};return{type:t.type,providersResolver:null,factory:null,hostBindings:t.hostBindings||null,hostVars:t.hostVars||0,hostAttrs:t.hostAttrs||null,contentQueries:t.contentQueries||null,declaredInputs:e,inputTransforms:null,inputConfig:t.inputs||De,exportAs:t.exportAs||null,standalone:!0===t.standalone,signals:!0===t.signals,selectors:t.selectors||ve,viewQuery:t.viewQuery||null,features:t.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:Uo(t.inputs,e),outputs:Uo(t.outputs)}}function Do(t){t.features?.forEach(e=>e(t))}function Oo(t,e){if(!t)return null;const n=e?ei:Ec;return()=>("function"==typeof t?t():t).map(i=>n(i)).filter(Bc)}const qn=0,We=1,Cn=2,Hn=3,Si=4,Bi=5,gi=6,So=7,Vn=8,Ni=9,jo=10,bn=11,qi=12,to=13,zi=14,$n=15,zo=16,fo=17,ho=18,Ho=19,Vi=20,Po=21,Pi=22,eo=23,tc=24,On=25,ki=1,ko=2,ui=7,Ao=9,bi=11;function mi(t){return Array.isArray(t)&&"object"==typeof t[ki]}function xi(t){return Array.isArray(t)&&!0===t[ki]}function co(t){return 0!=(4&t.flags)}function Ui(t){return t.componentOffset>-1}function To(t){return 1==(1&t.flags)}function ji(t){return!!t.template}function Wo(t){return 0!=(512&t[Cn])}function nc(t,e){return t.hasOwnProperty(Dn)?t[Dn]:null}let Li=null,kc=!1;function Hi(t){const e=Li;return Li=t,e}const Nr={version:0,dirty:!1,producerNode:void 0,producerLastReadVersion:void 0,producerIndexOfThis:void 0,nextProducerIndex:0,liveConsumerNode:void 0,liveConsumerIndexOfThis:void 0,consumerAllowSignalWrites:!1,consumerIsAlwaysLive:!1,producerMustRecompute:()=>!1,producerRecomputeValue:()=>{},consumerMarkedDirty:()=>{}};function nr(t){if(!vc(t)||t.dirty){if(!t.producerMustRecompute(t)&&!Rr(t))return void(t.dirty=!1);t.producerRecomputeValue(t),t.dirty=!1}}function ir(t){t.dirty=!0,function bc(t){if(void 0===t.liveConsumerNode)return;const e=kc;kc=!0;try{for(const n of t.liveConsumerNode)n.dirty||ir(n)}finally{kc=e}}(t),t.consumerMarkedDirty?.(t)}function br(t){return t&&(t.nextProducerIndex=0),Hi(t)}function vr(t,e){if(Hi(e),t&&void 0!==t.producerNode&&void 0!==t.producerIndexOfThis&&void 0!==t.producerLastReadVersion){if(vc(t))for(let n=t.nextProducerIndex;nt.nextProducerIndex;)t.producerNode.pop(),t.producerLastReadVersion.pop(),t.producerIndexOfThis.pop()}}function Rr(t){Tc(t);for(let e=0;e0}function Tc(t){t.producerNode??=[],t.producerIndexOfThis??=[],t.producerLastReadVersion??=[]}let Br=null;function he(t){const e=Hi(null);try{return t()}finally{Hi(e)}}const sn=()=>{},ni=(()=>({...Nr,consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!1,consumerMarkedDirty:t=>{t.schedule(t.ref)},hasRun:!1,cleanupFn:sn}))();class Un{constructor(e,n,i){this.previousValue=e,this.currentValue=n,this.firstChange=i}isFirstChange(){return this.firstChange}}function Sn(){return Zn}function Zn(t){return t.type.prototype.ngOnChanges&&(t.setInput=vi),ii}function ii(){const t=Ki(this),e=t?.current;if(e){const n=t.previous;if(n===De)t.previous=e;else for(let i in e)n[i]=e[i];t.current=null,this.ngOnChanges(e)}}function vi(t,e,n,i){const c=this.declaredInputs[n],s=Ki(t)||function go(t,e){return t[ai]=e}(t,{previous:De,current:null}),u=s.current||(s.current={}),p=s.previous,_=p[c];u[c]=new Un(_&&_.currentValue,e,p===De),t[i]=e}Sn.ngInherit=!0;const ai="__ngSimpleChanges__";function Ki(t){return t[ai]||null}const Ai=function(t,e,n){},Ci="svg";function Wn(t){for(;Array.isArray(t);)t=t[qn];return t}function Go(t,e){return Wn(e[t])}function D(t,e){return Wn(e[t.index])}function ct(t,e){return t.data[e]}function ut(t,e){return t[e]}function St(t,e){const n=e[t];return mi(n)?n:n[qn]}function an(t,e){return null==e?null:t[e]}function nn(t){t[fo]=0}function vn(t){1024&t[Cn]||(t[Cn]|=1024,Kn(t,1))}function kn(t){1024&t[Cn]&&(t[Cn]&=-1025,Kn(t,-1))}function Kn(t,e){let n=t[Hn];if(null===n)return;n[Bi]+=e;let i=n;for(n=n[Hn];null!==n&&(1===e&&1===i[Bi]||-1===e&&0===i[Bi]);)n[Bi]+=e,i=n,n=n[Hn]}function Xi(t,e){if(256==(256&t[Cn]))throw new $(911,!1);null===t[Po]&&(t[Po]=[]),t[Po].push(e)}const pn={lFrame:rr(null),bindingsEnabled:!0,skipHydrationRootTNode:null};function xc(){return pn.bindingsEnabled}function cr(){return null!==pn.skipHydrationRootTNode}function Re(){return pn.lFrame.lView}function Gn(){return pn.lFrame.tView}function vs(t){return pn.lFrame.contextLView=t,t[Vn]}function js(t){return pn.lFrame.contextLView=null,t}function Yi(){let t=_s();for(;null!==t&&64===t.type;)t=t.parent;return t}function _s(){return pn.lFrame.currentTNode}function Cc(t,e){const n=pn.lFrame;n.currentTNode=t,n.isParent=e}function ic(){return pn.lFrame.isParent}function Hr(){pn.lFrame.isParent=!1}function vo(){const t=pn.lFrame;let e=t.bindingRootIndex;return-1===e&&(e=t.bindingRootIndex=t.tView.bindingStartIndex),e}function Wc(){return pn.lFrame.bindingIndex}function g(){return pn.lFrame.bindingIndex++}function x(t){const e=pn.lFrame,n=e.bindingIndex;return e.bindingIndex=e.bindingIndex+t,n}function z(t,e){const n=pn.lFrame;n.bindingIndex=n.bindingRootIndex=t,It(e)}function It(t){pn.lFrame.currentDirectiveIndex=t}function ge(t){const e=pn.lFrame.currentDirectiveIndex;return-1===e?null:t[e]}function pe(){return pn.lFrame.currentQueryIndex}function Je(t){pn.lFrame.currentQueryIndex=t}function An(t){const e=t[We];return 2===e.type?e.declTNode:1===e.type?t[gi]:null}function _i(t,e,n){if(n&at.SkipSelf){let c=e,s=t;for(;!(c=c.parent,null!==c||n&at.Host||(c=An(s),null===c||(s=s[zi],10&c.type))););if(null===c)return!1;e=c,t=s}const i=pn.lFrame=yc();return i.currentTNode=e,i.lView=t,!0}function Xn(t){const e=yc(),n=t[We];pn.lFrame=e,e.currentTNode=n.firstChild,e.lView=t,e.tView=n,e.contextLView=t,e.bindingIndex=n.bindingStartIndex,e.inI18n=!1}function yc(){const t=pn.lFrame,e=null===t?null:t.child;return null===e?rr(t):e}function rr(t){const e={currentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:-1,contextLView:null,elementDepthCount:0,currentNamespace:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:t,child:null,inI18n:!1};return null!==t&&(t.child=e),e}function Kc(){const t=pn.lFrame;return pn.lFrame=t.parent,t.currentTNode=null,t.lView=null,t}const Gc=Kc;function sr(){const t=Kc();t.isParent=!0,t.tView=null,t.selectedIndex=-1,t.contextLView=null,t.elementDepthCount=0,t.currentDirectiveIndex=-1,t.currentNamespace=null,t.bindingRootIndex=-1,t.bindingIndex=-1,t.currentQueryIndex=0}function Io(){return pn.lFrame.selectedIndex}function yr(t){pn.lFrame.selectedIndex=t}function Ei(){const t=pn.lFrame;return ct(t.tView,t.selectedIndex)}function n2(){pn.lFrame.currentNamespace=Ci}function c2(){!function Kl(){pn.lFrame.currentNamespace=null}()}let r2=!0;function es(){return r2}function Mr(t){r2=t}function $s(t,e){for(let n=e.directiveStart,i=e.directiveEnd;n=i)break}else e[_]<0&&(t[fo]+=65536),(p>13>16&&(3&t[Cn])===e&&(t[Cn]+=8192,Ks(p,s)):Ks(p,s)}const wr=-1;class ys{constructor(e,n,i){this.factory=e,this.resolving=!1,this.canSeeViewProviders=n,this.injectImpl=i}}function Ys(t){return t!==wr}function _o(t){return 32767&t}function Ms(t,e){let n=function is(t){return t>>16}(t),i=e;for(;n>0;)i=i[zi],n--;return i}let Ja=!0;function ws(t){const e=Ja;return Ja=t,e}const qa=255,os=5;let Jl=0;const Xc={};function Qs(t,e){const n=Ls(t,e);if(-1!==n)return n;const i=e[We];i.firstCreatePass&&(t.injectorIndex=e.length,Zs(i.data,t),Zs(e,null),Zs(i.blueprint,null));const c=Js(t,e),s=t.injectorIndex;if(Ys(c)){const u=_o(c),p=Ms(c,e),_=p[We].data;for(let O=0;O<8;O++)e[s+O]=p[u+O]|_[u+O]}return e[s+8]=c,s}function Zs(t,e){t.push(0,0,0,0,0,0,0,0,e)}function Ls(t,e){return-1===t.injectorIndex||t.parent&&t.parent.injectorIndex===t.injectorIndex||null===e[t.injectorIndex+8]?-1:t.injectorIndex}function Js(t,e){if(t.parent&&-1!==t.parent.injectorIndex)return t.parent.injectorIndex;let n=0,i=null,c=e;for(;null!==c;){if(i=o0(c),null===i)return wr;if(n++,c=c[zi],-1!==i.injectorIndex)return i.injectorIndex|n<<16}return wr}function e1(t,e,n){!function t1(t,e,n){let i;"string"==typeof n?i=n.charCodeAt(0)||0:n.hasOwnProperty(Fn)&&(i=n[Fn]),null==i&&(i=n[Fn]=Jl++);const c=i&qa;e.data[t+(c>>os)]|=1<=0?e&qa:e0:e}(n);if("function"==typeof s){if(!_i(e,t,i))return i&at.Host?qs(c,0,i):Es(e,n,i,c);try{let u;if(u=s(i),null!=u||i&at.Optional)return u;_e()}finally{Gc()}}else if("number"==typeof s){let u=null,p=Ls(t,e),_=wr,O=i&at.Host?e[$n][gi]:null;for((-1===p||i&at.SkipSelf)&&(_=-1===p?Js(t,e):e[p+8],_!==wr&&c1(i,!1)?(u=e[We],p=_o(_),e=Ms(_,e)):p=-1);-1!==p;){const Y=e[We];if(d2(s,p,Y.data)){const wt=l2(p,e,n,u,i,O);if(wt!==Xc)return wt}_=e[p+8],_!==wr&&c1(i,e[We].data[p+8]===O)&&d2(s,p,e)?(u=Y,p=_o(_),e=Ms(_,e)):p=-1}}return c}function l2(t,e,n,i,c,s){const u=e[We],p=u.data[t+8],Y=ta(p,u,n,null==i?Ui(p)&&Ja:i!=u&&0!=(3&p.type),c&at.Host&&s===p);return null!==Y?Lr(e,u,Y,p):Xc}function ta(t,e,n,i,c){const s=t.providerIndexes,u=e.data,p=1048575&s,_=t.directiveStart,Y=s>>20,Xt=c?p+Y:t.directiveEnd;for(let ue=i?p:p+Y;ue=_&&Se.type===n)return ue}if(c){const ue=u[_];if(ue&&ji(ue)&&ue.type===n)return _}return null}function Lr(t,e,n,i){let c=t[n];const s=e.data;if(function s2(t){return t instanceof ys}(c)){const u=c;u.resolving&&function rt(t,e){const n=e?`. Dependency path: ${e.join(" > ")} > ${t}`:"";throw new $(-200,`Circular dependency in DI detected for ${t}${n}`)}(function mt(t){return"function"==typeof t?t.name||t.toString():"object"==typeof t&&null!=t&&"function"==typeof t.type?t.type.name||t.type.toString():V(t)}(s[n]));const p=ws(u.canSeeViewProviders);u.resolving=!0;const O=u.injectImpl?zt(u.injectImpl):null;_i(t,i,at.Default);try{c=t[n]=u.factory(void 0,s,t,i),e.firstCreatePass&&n>=i.directiveStart&&function Gl(t,e,n){const{ngOnChanges:i,ngOnInit:c,ngDoCheck:s}=e.type.prototype;if(i){const u=Zn(e);(n.preOrderHooks??=[]).push(t,u),(n.preOrderCheckHooks??=[]).push(t,u)}c&&(n.preOrderHooks??=[]).push(0-t,c),s&&((n.preOrderHooks??=[]).push(t,s),(n.preOrderCheckHooks??=[]).push(t,s))}(n,s[n],e)}finally{null!==O&&zt(O),ws(p),u.resolving=!1,Gc()}}return c}function d2(t,e,n){return!!(n[e+(t>>os)]&1<{const e=t.prototype.constructor,n=e[Dn]||ea(e),i=Object.prototype;let c=Object.getPrototypeOf(t.prototype).constructor;for(;c&&c!==i;){const s=c[Dn]||ea(c);if(s&&s!==n)return s;c=Object.getPrototypeOf(c)}return s=>new s})}function ea(t){return J(t)?()=>{const e=ea(j(t));return e&&e()}:nc(t)}function o0(t){const e=t[We],n=e.type;return 2===n?e.declTNode:1===n?t[gi]:null}function r1(t){return function ql(t,e){if("class"===e)return t.classes;if("style"===e)return t.styles;const n=t.attrs;if(n){const i=n.length;let c=0;for(;c{const i=function s1(t){return function(...n){if(t){const i=t(...n);for(const c in i)this[c]=i[c]}}}(e);function c(...s){if(this instanceof c)return i.apply(this,s),this;const u=new c(...s);return p.annotation=u,p;function p(_,O,Y){const wt=_.hasOwnProperty(rs)?_[rs]:Object.defineProperty(_,rs,{value:[]})[rs];for(;wt.length<=Y;)wt.push(null);return(wt[Y]=wt[Y]||[]).push(u),_}}return n&&(c.prototype=Object.create(n.prototype)),c.prototype.ngMetadataName=t,c.annotationCls=c,c})}function l(t,e){t.forEach(n=>Array.isArray(n)?l(n,e):e(n))}function m(t,e,n){e>=t.length?t.push(n):t.splice(e,0,n)}function L(t,e){return e>=t.length-1?t.pop():t.splice(e,1)[0]}function R(t,e){const n=[];for(let i=0;i=0?t[1|i]=n:(i=~i,function Ft(t,e,n,i){let c=t.length;if(c==e)t.push(n,i);else if(1===c)t.push(i,t[0]),t[0]=n;else{for(c--,t.push(t[c-1],t[c]);c>e;)t[c]=t[c-2],c--;t[e]=n,t[e+1]=i}}(t,i,e,n)),i}function $e(t,e){const n=mn(t,e);if(n>=0)return t[1|n]}function mn(t,e){return function dn(t,e,n){let i=0,c=t.length>>n;for(;c!==i;){const s=i+(c-i>>1),u=t[s<e?c=s:i=s+1}return~(c<|^->||--!>|)/g,U5="\u200b$1\u200b";const p0=new Map;let Vd=0;function Ud(t){return p0.get(t)||null}class W5{get lView(){return Ud(this.lViewId)}constructor(e,n,i){this.lViewId=e,this.nodeIndex=n,this.native=i}}function sc(t){let e=ra(t);if(e){if(mi(e)){const n=e;let i,c,s;if($d(t)){if(i=function y2(t,e){const n=t[We].components;if(n)for(let i=0;i=0){const p=Wn(s[u]),_=g0(s,u,p);Qo(p,_),e=_;break}}}}return e||null}function g0(t,e,n){return new W5(t[Ho],e,n)}const C2="__ngContext__";function Qo(t,e){mi(e)?(t[C2]=e[Ho],function H5(t){p0.set(t[Ho],t)}(e)):t[C2]=e}function ra(t){const e=t[C2];return"number"==typeof e?Ud(e):e||null}function $d(t){return t&&t.constructor&&t.constructor.\u0275cmp}function b0(t,e){const n=t[We];for(let i=On;ie.replace(Fd,U5))}(e))}function L2(t,e,n){return t.createElement(e,n)}function qd(t,e){const n=t[Ao],i=n.indexOf(e);kn(e),n.splice(i,1)}function E2(t,e){if(t.length<=bi)return;const n=bi+e,i=t[n];if(i){const c=i[zo];null!==c&&c!==t&&qd(c,i),e>0&&(t[n-1][Si]=i[Si]);const s=L(t,bi+e);!function q5(t,e){p1(t,e,e[bn],2,null,null),e[qn]=null,e[gi]=null}(i[We],i);const u=s[ho];null!==u&&u.detachView(s[We]),i[Hn]=null,i[Si]=null,i[Cn]&=-129}return i}function _0(t,e){if(!(256&e[Cn])){const n=e[bn];e[eo]&&Ac(e[eo]),e[tc]&&Ac(e[tc]),n.destroyNode&&p1(t,e,n,3,null,null),function eh(t){let e=t[qi];if(!e)return x0(t[We],t);for(;e;){let n=null;if(mi(e))n=e[qi];else{const i=e[bi];i&&(n=i)}if(!n){for(;e&&!e[Si]&&e!==t;)mi(e)&&x0(e[We],e),e=e[Hn];null===e&&(e=t),mi(e)&&x0(e[We],e),n=e&&e[Si]}e=n}}(e)}}function x0(t,e){if(!(256&e[Cn])){e[Cn]&=-129,e[Cn]|=256,function oh(t,e){let n;if(null!=t&&null!=(n=t.destroyHooks))for(let i=0;i=0?i[u]():i[-u].unsubscribe(),s+=2}else n[s].call(i[n[s+1]]);null!==i&&(e[So]=null);const c=e[Po];if(null!==c){e[Po]=null;for(let s=0;s-1){const{encapsulation:s}=t.data[i.directiveStart+c];if(s===se.None||s===se.Emulated)return null}return D(i,n)}}(t,e.parent,n)}function zs(t,e,n,i,c){t.insertBefore(e,n,i,c)}function M0(t,e,n){t.appendChild(e,n)}function t6(t,e,n,i,c){null!==i?zs(t,e,n,i,c):M0(t,e,n)}function D2(t,e){return t.parentNode(e)}function i6(t,e,n){return o6(t,e,n)}let L0,S2,la,z2,o6=function w0(t,e,n){return 40&t.type?D(t,n):null};function f1(t,e,n,i){const c=C0(t,i,e),s=e[bn],p=i6(i.parent||e[gi],i,e);if(null!=c)if(Array.isArray(n))for(let _=0;_t,createScript:t=>t,createScriptURL:t=>t})}catch{}return S2}()?.createHTML(t)||t}function uh(t){la=t}function da(){if(void 0!==la)return la;if(typeof document<"u")return document;throw new $(210,!1)}function P2(){if(void 0===z2&&(z2=null,tt.trustedTypes))try{z2=tt.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:t=>t,createScript:t=>t,createScriptURL:t=>t})}catch{}return z2}function u6(t){return P2()?.createHTML(t)||t}function f6(t){return P2()?.createScriptURL(t)||t}class Ps{constructor(e){this.changingThisBreaksApplicationSecurity=e}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${te})`}}class mh extends Ps{getTypeName(){return"HTML"}}class h6 extends Ps{getTypeName(){return"Style"}}class fh extends Ps{getTypeName(){return"Script"}}class hh extends Ps{getTypeName(){return"URL"}}class p6 extends Ps{getTypeName(){return"ResourceURL"}}function Gr(t){return t instanceof Ps?t.changingThisBreaksApplicationSecurity:t}function ua(t,e){const n=function ph(t){return t instanceof Ps&&t.getTypeName()||null}(t);if(null!=n&&n!==e){if("ResourceURL"===n&&"URL"===e)return!0;throw new Error(`Required a safe ${e}, got a ${n} (see ${te})`)}return n===e}function g6(t){return new mh(t)}function gh(t){return new h6(t)}function bh(t){return new fh(t)}function b6(t){return new hh(t)}function vh(t){return new p6(t)}class _h{constructor(e){this.inertDocumentHelper=e}getInertBodyElement(e){e=""+e;try{const n=(new window.DOMParser).parseFromString(aa(e),"text/html").body;return null===n?this.inertDocumentHelper.getInertBodyElement(e):(n.removeChild(n.firstChild),n)}catch{return null}}}class z0{constructor(e){this.defaultDoc=e,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(e){const n=this.inertDocument.createElement("template");return n.innerHTML=aa(e),n}}const Ch=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function k2(t){return(t=String(t)).match(Ch)?t:"unsafe:"+t}function ur(t){const e={};for(const n of t.split(","))e[n]=!0;return e}function ma(...t){const e={};for(const n of t)for(const i in n)n.hasOwnProperty(i)&&(e[i]=!0);return e}const P0=ur("area,br,col,hr,img,wbr"),_6=ur("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),k0=ur("rp,rt"),A0=ma(P0,ma(_6,ur("address,article,aside,blockquote,caption,center,del,details,dialog,dir,div,dl,figure,figcaption,footer,h1,h2,h3,h4,h5,h6,header,hgroup,hr,ins,main,map,menu,nav,ol,pre,section,summary,table,ul")),ma(k0,ur("a,abbr,acronym,audio,b,bdi,bdo,big,br,cite,code,del,dfn,em,font,i,img,ins,kbd,label,map,mark,picture,q,ruby,rp,rt,s,samp,small,source,span,strike,strong,sub,sup,time,track,tt,u,var,video")),ma(k0,_6)),T0=ur("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),I0=ma(T0,ur("abbr,accesskey,align,alt,autoplay,axis,bgcolor,border,cellpadding,cellspacing,class,clear,color,cols,colspan,compact,controls,coords,datetime,default,dir,download,face,headers,height,hidden,hreflang,hspace,ismap,itemscope,itemprop,kind,label,lang,language,loop,media,muted,nohref,nowrap,open,preload,rel,rev,role,rows,rowspan,rules,scope,scrolling,shape,size,sizes,span,srclang,srcset,start,summary,tabindex,target,title,translate,type,usemap,valign,value,vspace,width"),ur("aria-activedescendant,aria-atomic,aria-autocomplete,aria-busy,aria-checked,aria-colcount,aria-colindex,aria-colspan,aria-controls,aria-current,aria-describedby,aria-details,aria-disabled,aria-dropeffect,aria-errormessage,aria-expanded,aria-flowto,aria-grabbed,aria-haspopup,aria-hidden,aria-invalid,aria-keyshortcuts,aria-label,aria-labelledby,aria-level,aria-live,aria-modal,aria-multiline,aria-multiselectable,aria-orientation,aria-owns,aria-placeholder,aria-posinset,aria-pressed,aria-readonly,aria-relevant,aria-required,aria-roledescription,aria-rowcount,aria-rowindex,aria-rowspan,aria-selected,aria-setsize,aria-sort,aria-valuemax,aria-valuemin,aria-valuenow,aria-valuetext")),yh=ur("script,style,template");class Mh{constructor(){this.sanitizedSomething=!1,this.buf=[]}sanitizeChildren(e){let n=e.firstChild,i=!0;for(;n;)if(n.nodeType===Node.ELEMENT_NODE?i=this.startElement(n):n.nodeType===Node.TEXT_NODE?this.chars(n.nodeValue):this.sanitizedSomething=!0,i&&n.firstChild)n=n.firstChild;else for(;n;){n.nodeType===Node.ELEMENT_NODE&&this.endElement(n);let c=this.checkClobberedElement(n,n.nextSibling);if(c){n=c;break}n=this.checkClobberedElement(n,n.parentNode)}return this.buf.join("")}startElement(e){const n=e.nodeName.toLowerCase();if(!A0.hasOwnProperty(n))return this.sanitizedSomething=!0,!yh.hasOwnProperty(n);this.buf.push("<"),this.buf.push(n);const i=e.attributes;for(let c=0;c"),!0}endElement(e){const n=e.nodeName.toLowerCase();A0.hasOwnProperty(n)&&!P0.hasOwnProperty(n)&&(this.buf.push(""))}chars(e){this.buf.push(C6(e))}checkClobberedElement(e,n){if(n&&(e.compareDocumentPosition(n)&Node.DOCUMENT_POSITION_CONTAINED_BY)===Node.DOCUMENT_POSITION_CONTAINED_BY)throw new Error(`Failed to sanitize html because the element is clobbered: ${e.outerHTML}`);return n}}const wh=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,x6=/([^\#-~ |!])/g;function C6(t){return t.replace(/&/g,"&").replace(wh,function(e){return"&#"+(1024*(e.charCodeAt(0)-55296)+(e.charCodeAt(1)-56320)+65536)+";"}).replace(x6,function(e){return"&#"+e.charCodeAt(0)+";"}).replace(//g,">")}let A2;function y6(t,e){let n=null;try{A2=A2||function v6(t){const e=new z0(t);return function xh(){try{return!!(new window.DOMParser).parseFromString(aa(""),"text/html")}catch{return!1}}()?new _h(e):e}(t);let i=e?String(e):"";n=A2.getInertBodyElement(i);let c=5,s=i;do{if(0===c)throw new Error("Failed to sanitize html because the input is unstable");c--,i=s,s=n.innerHTML,n=A2.getInertBodyElement(i)}while(i!==s);return aa((new Mh).sanitizeChildren(N0(n)||n))}finally{if(n){const i=N0(n)||n;for(;i.firstChild;)i.removeChild(i.firstChild)}}}function N0(t){return"content"in t&&function R0(t){return t.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===t.nodeName}(t)?t.content:null}var ks=function(t){return t[t.NONE=0]="NONE",t[t.HTML=1]="HTML",t[t.STYLE=2]="STYLE",t[t.SCRIPT=3]="SCRIPT",t[t.URL=4]="URL",t[t.RESOURCE_URL=5]="RESOURCE_URL",t}(ks||{});function M6(t){const e=fa();return e?u6(e.sanitize(ks.HTML,t)||""):ua(t,"HTML")?u6(Gr(t)):y6(da(),V(t))}function F0(t){const e=fa();return e?e.sanitize(ks.URL,t)||"":ua(t,"URL")?Gr(t):k2(V(t))}function w6(t){const e=fa();if(e)return f6(e.sanitize(ks.RESOURCE_URL,t)||"");if(ua(t,"ResourceURL"))return f6(Gr(t));throw new $(904,!1)}function B0(t,e,n){return function Oh(t,e){return"src"===e&&("embed"===t||"frame"===t||"iframe"===t||"media"===t||"script"===t)||"href"===e&&("base"===t||"link"===t)?w6:F0}(e,n)(t)}function fa(){const t=Re();return t&&t[jo].sanitizer}const g1=new Ot("ENVIRONMENT_INITIALIZER"),V0=new Ot("INJECTOR",-1),E6=new Ot("INJECTOR_DEF_TYPES");class U0{get(e,n=dt){if(n===dt){const i=new Error(`NullInjectorError: No provider for ${K(e)}!`);throw i.name="NullInjectorError",i}return n}}function T2(t){return{\u0275providers:t}}function D6(...t){return{\u0275providers:I2(0,t),\u0275fromNgModule:!0}}function I2(t,...e){const n=[],i=new Set;let c;const s=u=>{n.push(u)};return l(e,u=>{const p=u;b1(p,s,[],i)&&(c||=[],c.push(p))}),void 0!==c&&O6(c,s),n}function O6(t,e){for(let n=0;n{e(s,i)})}}function b1(t,e,n,i){if(!(t=j(t)))return!1;let c=null,s=Ee(t);const u=!s&&En(t);if(s||u){if(u&&!u.standalone)return!1;c=t}else{const _=t.ngModule;if(s=Ee(_),!s)return!1;c=_}const p=i.has(c);if(u){if(p)return!1;if(i.add(c),u.dependencies){const _="function"==typeof u.dependencies?u.dependencies():u.dependencies;for(const O of _)b1(O,e,n,i)}}else{if(!s)return!1;{if(null!=s.imports&&!p){let O;i.add(c);try{l(s.imports,Y=>{b1(Y,e,n,i)&&(O||=[],O.push(Y))})}finally{}void 0!==O&&O6(O,e)}if(!p){const O=nc(c)||(()=>new c);e({provide:c,useFactory:O,deps:ve},c),e({provide:E6,useValue:c,multi:!0},c),e({provide:g1,useValue:()=>Ze(c),multi:!0},c)}const _=s.providers;if(null!=_&&!p){const O=t;j0(_,Y=>{e(Y,O)})}}}return c!==t&&void 0!==t.providers}function j0(t,e){for(let n of t)bt(n)&&(n=n.\u0275providers),Array.isArray(n)?j0(n,e):e(n)}const Sh=ot({provide:String,useValue:ot});function H0(t){return null!==t&&"object"==typeof t&&Sh in t}function As(t){return"function"==typeof t}const $0=new Ot("Set Injector scope."),R2={},zh={};let W0;function F2(){return void 0===W0&&(W0=new U0),W0}class Yc{}class ha extends Yc{get destroyed(){return this._destroyed}constructor(e,n,i,c){super(),this.parent=n,this.source=i,this.scopes=c,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,G0(e,u=>this.processProvider(u)),this.records.set(V0,Ts(void 0,this)),c.has("environment")&&this.records.set(Yc,Ts(void 0,this));const s=this.records.get($0);null!=s&&"string"==typeof s.value&&this.scopes.add(s.value),this.injectorDefTypes=new Set(this.get(E6.multi,ve,at.Self))}destroy(){this.assertNotDestroyed(),this._destroyed=!0;try{for(const n of this._ngOnDestroyHooks)n.ngOnDestroy();const e=this._onDestroyHooks;this._onDestroyHooks=[];for(const n of e)n()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear()}}onDestroy(e){return this.assertNotDestroyed(),this._onDestroyHooks.push(e),()=>this.removeOnDestroy(e)}runInContext(e){this.assertNotDestroyed();const n=Jt(this),i=zt(void 0);try{return e()}finally{Jt(n),zt(i)}}get(e,n=dt,i=at.Default){if(this.assertNotDestroyed(),e.hasOwnProperty(Mn))return e[Mn](this);i=Nn(i);const s=Jt(this),u=zt(void 0);try{if(!(i&at.SkipSelf)){let _=this.records.get(e);if(void 0===_){const O=function A6(t){return"function"==typeof t||"object"==typeof t&&t instanceof Ot}(e)&&oe(e);_=O&&this.injectableDefInScope(O)?Ts(K0(e),R2):null,this.records.set(e,_)}if(null!=_)return this.hydrate(e,_)}return(i&at.Self?F2():this.parent).get(e,n=i&at.Optional&&n===dt?null:n)}catch(p){if("NullInjectorError"===p.name){if((p[ae]=p[ae]||[]).unshift(K(e)),s)throw p;return function _t(t,e,n,i){const c=t[ae];throw e[U]&&c.unshift(e[U]),t.message=function Q(t,e,n,i=null){t=t&&"\n"===t.charAt(0)&&"\u0275"==t.charAt(1)?t.slice(2):t;let c=K(e);if(Array.isArray(e))c=e.map(K).join(" -> ");else if("object"==typeof e){let s=[];for(let u in e)if(e.hasOwnProperty(u)){let p=e[u];s.push(u+":"+("string"==typeof p?JSON.stringify(p):K(p)))}c=`{${s.join(", ")}}`}return`${n}${i?"("+i+")":""}[${c}]: ${t.replace(Zt,"\n ")}`}("\n"+t.message,c,n,i),t.ngTokenPath=c,t[ae]=null,t}(p,e,"R3InjectorError",this.source)}throw p}finally{zt(u),Jt(s)}}resolveInjectorInitializers(){const e=Jt(this),n=zt(void 0);try{const c=this.get(g1.multi,ve,at.Self);for(const s of c)s()}finally{Jt(e),zt(n)}}toString(){const e=[],n=this.records;for(const i of n.keys())e.push(K(i));return`R3Injector[${e.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new $(205,!1)}processProvider(e){let n=As(e=j(e))?e:j(e&&e.provide);const i=function Ph(t){return H0(t)?Ts(void 0,t.useValue):Ts(k6(t),R2)}(e);if(As(e)||!0!==e.multi)this.records.get(n);else{let c=this.records.get(n);c||(c=Ts(void 0,R2,!0),c.factory=()=>Qn(c.multi),this.records.set(n,c)),n=e,c.multi.push(e)}this.records.set(n,i)}hydrate(e,n){return n.value===R2&&(n.value=zh,n.value=n.factory()),"object"==typeof n.value&&n.value&&function Ah(t){return null!==t&&"object"==typeof t&&"function"==typeof t.ngOnDestroy}(n.value)&&this._ngOnDestroyHooks.add(n.value),n.value}injectableDefInScope(e){if(!e.providedIn)return!1;const n=j(e.providedIn);return"string"==typeof n?"any"===n||this.scopes.has(n):this.injectorDefTypes.has(n)}removeOnDestroy(e){const n=this._onDestroyHooks.indexOf(e);-1!==n&&this._onDestroyHooks.splice(n,1)}}function K0(t){const e=oe(t),n=null!==e?e.factory:nc(t);if(null!==n)return n;if(t instanceof Ot)throw new $(204,!1);if(t instanceof Function)return function P6(t){const e=t.length;if(e>0)throw R(e,"?"),new $(204,!1);const n=function re(t){return t&&(t[ce]||t[Ht])||null}(t);return null!==n?()=>n.factory(t):()=>new t}(t);throw new $(204,!1)}function k6(t,e,n){let i;if(As(t)){const c=j(t);return nc(c)||K0(c)}if(H0(t))i=()=>j(t.useValue);else if(function z6(t){return!(!t||!t.useFactory)}(t))i=()=>t.useFactory(...Qn(t.deps||[]));else if(function S6(t){return!(!t||!t.useExisting)}(t))i=()=>Ze(j(t.useExisting));else{const c=j(t&&(t.useClass||t.provide));if(!function kh(t){return!!t.deps}(t))return nc(c)||K0(c);i=()=>new c(...Qn(t.deps))}return i}function Ts(t,e,n=!1){return{factory:t,value:e,multi:n?[]:void 0}}function G0(t,e){for(const n of t)Array.isArray(n)?G0(n,e):n&&bt(n)?G0(n.\u0275providers,e):e(n)}const X0=new Ot("AppId",{providedIn:"root",factory:()=>Th}),Th="ng",T6=new Ot("Platform Initializer"),Y0=new Ot("Platform ID",{providedIn:"platform",factory:()=>"unknown"}),Q0=new Ot("AnimationModuleType"),Ih=new Ot("CSP nonce",{providedIn:"root",factory:()=>da().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});let N6=(t,e,n)=>null;function i3(t,e,n=!1){return N6(t,e,n)}class jh{}class V6{}class $h{resolveComponentFactory(e){throw function U6(t){const e=Error(`No component factory found for ${K(t)}.`);return e.ngComponent=t,e}(e)}}let y1=(()=>{class t{static{this.NULL=new $h}}return t})();function H6(){return ba(Yi(),Re())}function ba(t,e){return new M1(D(t,e))}let M1=(()=>{class t{constructor(n){this.nativeElement=n}static{this.__NG_ELEMENT_ID__=H6}}return t})();function Wh(t){return t instanceof M1?t.nativeElement:t}class w1{}let $6=(()=>{class t{constructor(){this.destroyNode=null}static{this.__NG_ELEMENT_ID__=()=>function Kh(){const t=Re(),n=St(Yi().index,t);return(mi(n)?n:t)[bn]}()}}return t})(),Gh=(()=>{class t{static{this.\u0275prov=gt({token:t,providedIn:"root",factory:()=>null})}}return t})();class W6{constructor(e){this.full=e,this.major=e.split(".")[0],this.minor=e.split(".")[1],this.patch=e.split(".").slice(2).join(".")}}const Xh=new W6("16.2.12"),L1={};function E1(t){if(!st()&&!function xt(){return A}())throw new $(-203,!1)}function c3(t,e=null,n=null,i){const c=Q6(t,e,n,i);return c.resolveInjectorInitializers(),c}function Q6(t,e=null,n=null,i,c=new Set){const s=[n||ve,D6(t)];return i=i||("object"==typeof t?void 0:K(t)),new ha(s,e||F2(),i||null,c)}let mr=(()=>{class t{static{this.THROW_IF_NOT_FOUND=dt}static{this.NULL=new U0}static create(n,i){if(Array.isArray(n))return c3({name:""},i,n,"");{const c=n.name??"";return c3({name:c},n.parent,n.providers,c)}}static{this.\u0275prov=gt({token:t,providedIn:"any",factory:()=>Ze(V0)})}static{this.__NG_ELEMENT_ID__=-1}}return t})();function s3(t){return t.ngOriginalError}class ds{constructor(){this._console=console}handleError(e){const n=this._findOriginalError(e);this._console.error("ERROR",e),n&&this._console.error("ORIGINAL ERROR",n)}_findOriginalError(e){let n=e&&s3(e);for(;n&&s3(n);)n=s3(n);return n||null}}let D1=(()=>{class t{static{this.__NG_ELEMENT_ID__=e7}static{this.__NG_ENV_ID__=n=>n}}return t})();class t7 extends D1{constructor(e){super(),this._lView=e}onDestroy(e){return Xi(this._lView,e),()=>function _c(t,e){if(null===t[Po])return;const n=t[Po].indexOf(e);-1!==n&&t[Po].splice(n,1)}(this._lView,e)}}function e7(){return new t7(Re())}function a3(t){return e=>{setTimeout(t,void 0,e)}}const Or=class n7 extends o.B{constructor(e=!1){super(),this.__isAsync=e}emit(e){super.next(e)}subscribe(e,n,i){let c=e,s=n||(()=>null),u=i;if(e&&"object"==typeof e){const _=e;c=_.next?.bind(_),s=_.error?.bind(_),u=_.complete?.bind(_)}this.__isAsync&&(s=a3(s),c&&(c=a3(c)),u&&(u=a3(u)));const p=super.subscribe({next:c,error:s,complete:u});return e instanceof y.yU&&e.add(p),p}};function l3(...t){}class yo{constructor({enableLongStackTrace:e=!1,shouldCoalesceEventChangeDetection:n=!1,shouldCoalesceRunChangeDetection:i=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new Or(!1),this.onMicrotaskEmpty=new Or(!1),this.onStable=new Or(!1),this.onError=new Or(!1),typeof Zone>"u")throw new $(908,!1);Zone.assertZonePatched();const c=this;c._nesting=0,c._outer=c._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(c._inner=c._inner.fork(new Zone.TaskTrackingZoneSpec)),e&&Zone.longStackTraceZoneSpec&&(c._inner=c._inner.fork(Zone.longStackTraceZoneSpec)),c.shouldCoalesceEventChangeDetection=!i&&n,c.shouldCoalesceRunChangeDetection=i,c.lastRequestAnimationFrameId=-1,c.nativeRequestAnimationFrame=function i7(){const t="function"==typeof tt.requestAnimationFrame;let e=tt[t?"requestAnimationFrame":"setTimeout"],n=tt[t?"cancelAnimationFrame":"clearTimeout"];if(typeof Zone<"u"&&e&&n){const i=e[Zone.__symbol__("OriginalDelegate")];i&&(e=i);const c=n[Zone.__symbol__("OriginalDelegate")];c&&(n=c)}return{nativeRequestAnimationFrame:e,nativeCancelAnimationFrame:n}}().nativeRequestAnimationFrame,function o7(t){const e=()=>{!function J6(t){t.isCheckStableRunning||-1!==t.lastRequestAnimationFrameId||(t.lastRequestAnimationFrameId=t.nativeRequestAnimationFrame.call(tt,()=>{t.fakeTopEventTask||(t.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{t.lastRequestAnimationFrameId=-1,u3(t),t.isCheckStableRunning=!0,d3(t),t.isCheckStableRunning=!1},void 0,()=>{},()=>{})),t.fakeTopEventTask.invoke()}),u3(t))}(t)};t._inner=t._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(n,i,c,s,u,p)=>{if(function c7(t){return!(!Array.isArray(t)||1!==t.length)&&!0===t[0].data?.__ignore_ng_zone__}(p))return n.invokeTask(c,s,u,p);try{return q6(t),n.invokeTask(c,s,u,p)}finally{(t.shouldCoalesceEventChangeDetection&&"eventTask"===s.type||t.shouldCoalesceRunChangeDetection)&&e(),t8(t)}},onInvoke:(n,i,c,s,u,p,_)=>{try{return q6(t),n.invoke(c,s,u,p,_)}finally{t.shouldCoalesceRunChangeDetection&&e(),t8(t)}},onHasTask:(n,i,c,s)=>{n.hasTask(c,s),i===c&&("microTask"==s.change?(t._hasPendingMicrotasks=s.microTask,u3(t),d3(t)):"macroTask"==s.change&&(t.hasPendingMacrotasks=s.macroTask))},onHandleError:(n,i,c,s)=>(n.handleError(c,s),t.runOutsideAngular(()=>t.onError.emit(s)),!1)})}(c)}static isInAngularZone(){return typeof Zone<"u"&&!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!yo.isInAngularZone())throw new $(909,!1)}static assertNotInAngularZone(){if(yo.isInAngularZone())throw new $(909,!1)}run(e,n,i){return this._inner.run(e,n,i)}runTask(e,n,i,c){const s=this._inner,u=s.scheduleEventTask("NgZoneEvent: "+c,e,Z6,l3,l3);try{return s.runTask(u,n,i)}finally{s.cancelTask(u)}}runGuarded(e,n,i){return this._inner.runGuarded(e,n,i)}runOutsideAngular(e){return this._outer.run(e)}}const Z6={};function d3(t){if(0==t._nesting&&!t.hasPendingMicrotasks&&!t.isStable)try{t._nesting++,t.onMicrotaskEmpty.emit(null)}finally{if(t._nesting--,!t.hasPendingMicrotasks)try{t.runOutsideAngular(()=>t.onStable.emit(null))}finally{t.isStable=!0}}}function u3(t){t.hasPendingMicrotasks=!!(t._hasPendingMicrotasks||(t.shouldCoalesceEventChangeDetection||t.shouldCoalesceRunChangeDetection)&&-1!==t.lastRequestAnimationFrameId)}function q6(t){t._nesting++,t.isStable&&(t.isStable=!1,t.onUnstable.emit(null))}function t8(t){t._nesting--,d3(t)}const n8=new Ot("",{providedIn:"root",factory:m3});function m3(){const t=Ie(yo);let e=!0;const n=new b.c(c=>{e=t.isStable&&!t.hasPendingMacrotasks&&!t.hasPendingMicrotasks,t.runOutsideAngular(()=>{c.next(e),c.complete()})}),i=new b.c(c=>{let s;t.runOutsideAngular(()=>{s=t.onStable.subscribe(()=>{yo.assertNotInAngularZone(),queueMicrotask(()=>{!e&&!t.hasPendingMacrotasks&&!t.hasPendingMicrotasks&&(e=!0,c.next(!0))})})});const u=t.onUnstable.subscribe(()=>{yo.assertInAngularZone(),e&&(e=!1,t.runOutsideAngular(()=>{c.next(!1)}))});return()=>{s.unsubscribe(),u.unsubscribe()}});return(0,T.h)(n,i.pipe((0,P.u)()))}function i8(t){return t.ownerDocument}function fr(t){return t instanceof Function?t():t}let p3=(()=>{class t{constructor(){this.renderDepth=0,this.handler=null}begin(){this.handler?.validateBegin(),this.renderDepth++}end(){this.renderDepth--,0===this.renderDepth&&this.handler?.execute()}ngOnDestroy(){this.handler?.destroy(),this.handler=null}static{this.\u0275prov=gt({token:t,providedIn:"root",factory:()=>new t})}}return t})();function O1(t){for(;t;){t[Cn]|=64;const e=u1(t);if(Wo(t)&&!e)return t;t=e}return null}const c8=new Ot("",{providedIn:"root",factory:()=>!1});let z1=null;function d8(t,e){return t[e]??m8()}function u8(t,e){const n=m8();n.producerNode?.length&&(t[e]=z1,n.lView=t,z1=v3())}const f7={...Nr,consumerIsAlwaysLive:!0,consumerMarkedDirty:t=>{O1(t.lView)},lView:null};function v3(){return Object.create(f7)}function m8(){return z1??=v3(),z1}const Rn={};function K2(t){f8(Gn(),Re(),Io()+t,!1)}function f8(t,e,n,i){if(!i)if(3==(3&e[Cn])){const s=t.preOrderCheckHooks;null!==s&&Ws(e,s,n)}else{const s=t.preOrderHooks;null!==s&&xs(e,s,0,n)}yr(n)}function xa(t,e=at.Default){const n=Re();return null===n?Ze(t,e):n1(Yi(),n,j(t),e)}function h8(){throw new Error("invalid")}function G2(t,e,n,i,c,s,u,p,_,O,Y){const wt=e.blueprint.slice();return wt[qn]=c,wt[Cn]=140|i,(null!==O||t&&2048&t[Cn])&&(wt[Cn]|=2048),nn(wt),wt[Hn]=wt[zi]=t,wt[Vn]=n,wt[jo]=u||t&&t[jo],wt[bn]=p||t&&t[bn],wt[Ni]=_||t&&t[Ni]||null,wt[gi]=s,wt[Ho]=function j5(){return Vd++}(),wt[Pi]=Y,wt[Vi]=O,wt[$n]=2==e.type?t[$n]:wt,wt}function Ca(t,e,n,i,c){let s=t.data[e];if(null===s)s=function _3(t,e,n,i,c){const s=_s(),u=ic(),_=t.data[e]=function x7(t,e,n,i,c,s){let u=e?e.injectorIndex:-1,p=0;return cr()&&(p|=128),{type:n,index:i,insertBeforeIndex:null,injectorIndex:u,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,propertyBindings:null,flags:p,providerIndexes:0,value:c,attrs:s,mergedAttrs:null,localNames:null,initialInputs:void 0,inputs:null,outputs:null,tView:null,next:null,prev:null,projectionNext:null,child:null,parent:e,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}(0,u?s:s&&s.parent,n,e,i,c);return null===t.firstChild&&(t.firstChild=_),null!==s&&(u?null==s.child&&null!==_.parent&&(s.child=_):null===s.next&&(s.next=_,_.prev=s)),_}(t,e,n,i,c),function h(){return pn.lFrame.inI18n}()&&(s.flags|=32);else if(64&s.type){s.type=n,s.value=i,s.attrs=c;const u=function jr(){const t=pn.lFrame,e=t.currentTNode;return t.isParent?e:e.parent}();s.injectorIndex=null===u?-1:u.injectorIndex}return Cc(s,!0),s}function ya(t,e,n,i){if(0===n)return-1;const c=e.length;for(let s=0;sOn&&f8(t,e,On,!1),Ai(p?2:0,c);const O=p?s:null,Y=br(O);try{null!==O&&(O.dirty=!1),n(i,c)}finally{vr(O,Y)}}finally{p&&null===e[eo]&&u8(e,eo),yr(u),Ai(p?3:1,c)}}function x3(t,e,n){if(co(e)){const i=Hi(null);try{const s=e.directiveEnd;for(let u=e.directiveStart;unull;function M3(t,e,n,i){for(let c in t)if(t.hasOwnProperty(c)){n=null===n?{}:n;const s=t[c];null===i?_8(n,e,c,s):i.hasOwnProperty(c)&&_8(n,e,i[c],s)}return n}function _8(t,e,n,i){t.hasOwnProperty(n)?t[n].push(e,i):t[n]=[e,i]}function ac(t,e,n,i,c,s,u,p){const _=D(e,n);let Y,O=e.inputs;!p&&null!=O&&(Y=O[i])?(J2(t,n,Y,i,c),Ui(e)&&function M7(t,e){const n=St(e,t);16&n[Cn]||(n[Cn]|=64)}(n,e.index)):3&e.type&&(i=function y7(t){return"class"===t?"className":"for"===t?"htmlFor":"formaction"===t?"formAction":"innerHtml"===t?"innerHTML":"readonly"===t?"readOnly":"tabindex"===t?"tabIndex":t}(i),c=null!=u?u(c,e.value||"",i):c,s.setProperty(_,i,c))}function Y2(t,e,n,i){if(xc()){const c=null===i?null:{"":-1},s=function D7(t,e){const n=t.directiveRegistry;let i=null,c=null;if(n)for(let s=0;s0;){const n=t[--e];if("number"==typeof n&&n<0)return n}return 0})(u)!=p&&u.push(p),u.push(n,i,s)}}(t,e,i,ya(t,n,c.hostVars,Rn),c)}function Sr(t,e,n,i,c,s){const u=D(t,e);!function E3(t,e,n,i,c,s,u){if(null==s)t.removeAttribute(e,c,n);else{const p=null==u?V(s):u(s,i||"",c);t.setAttribute(e,c,p,n)}}(e[bn],u,s,t.value,n,i,c)}function L8(t,e,n,i,c,s){const u=s[e];if(null!==u)for(let p=0;p{class t{constructor(){this.all=new Set,this.queue=new Map}create(n,i,c){const s=typeof Zone>"u"?null:Zone.current,u=function Pe(t,e,n){const i=Object.create(ni);n&&(i.consumerAllowSignalWrites=!0),i.fn=t,i.schedule=e;const c=u=>{i.cleanupFn=u};return i.ref={notify:()=>ir(i),run:()=>{if(i.dirty=!1,i.hasRun&&!Rr(i))return;i.hasRun=!0;const u=br(i);try{i.cleanupFn(),i.cleanupFn=sn,i.fn(c)}finally{vr(i,u)}},cleanup:()=>i.cleanupFn()},i.ref}(n,O=>{this.all.has(O)&&this.queue.set(O,s)},c);let p;this.all.add(u),u.notify();const _=()=>{u.cleanup(),p?.(),this.all.delete(u),this.queue.delete(u)};return p=i?.onDestroy(_),{destroy:_}}flush(){if(0!==this.queue.size)for(const[n,i]of this.queue)this.queue.delete(n),i?i.run(()=>n.run()):n.run()}get isQueueEmpty(){return 0===this.queue.size}static{this.\u0275prov=gt({token:t,providedIn:"root",factory:()=>new t})}}return t})();function q2(t,e,n){let i=n?t.styles:null,c=n?t.classes:null,s=0;if(null!==e)for(let u=0;u0){T8(t,1);const c=n.components;null!==c&&I8(t,c,1)}}function I8(t,e,n){for(let i=0;i-1&&(E2(e,i),L(n,i))}this._attachedToViewContainer=!1}_0(this._lView[We],this._lView)}onDestroy(e){Xi(this._lView,e)}markForCheck(){O1(this._cdRefInjectingView||this._lView)}detach(){this._lView[Cn]&=-129}reattach(){this._lView[Cn]|=128}detectChanges(){tl(this._lView[We],this._lView,this.context)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new $(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,function th(t,e){p1(t,e,e[bn],2,null,null)}(this._lView[We],this._lView)}attachToAppRef(e){if(this._attachedToViewContainer)throw new $(902,!1);this._appRef=e}}class F7 extends A1{constructor(e){super(e),this._view=e}detectChanges(){const e=this._view;tl(e[We],e,e[Vn],!1)}checkNoChanges(){}get context(){return null}}class N8 extends y1{constructor(e){super(),this.ngModule=e}resolveComponentFactory(e){const n=En(e);return new Ma(n,this.ngModule)}}function P3(t){const e=[];for(let n in t)t.hasOwnProperty(n)&&e.push({propName:t[n],templateName:n});return e}class V7{constructor(e,n){this.injector=e,this.parentInjector=n}get(e,n,i){i=Nn(i);const c=this.injector.get(e,L1,i);return c!==L1||n===L1?c:this.parentInjector.get(e,n,i)}}class Ma extends V6{get inputs(){const e=this.componentDef,n=e.inputTransforms,i=P3(e.inputs);if(null!==n)for(const c of i)n.hasOwnProperty(c.propName)&&(c.transform=n[c.propName]);return i}get outputs(){return P3(this.componentDef.outputs)}constructor(e,n){super(),this.componentDef=e,this.ngModule=n,this.componentType=e.type,this.selector=function Oi(t){return t.map(Jc).join(",")}(e.selectors),this.ngContentSelectors=e.ngContentSelectors?e.ngContentSelectors:[],this.isBoundToModule=!!n}create(e,n,i,c){let s=(c=c||this.ngModule)instanceof Yc?c:c?.injector;s&&null!==this.componentDef.getStandaloneInjector&&(s=this.componentDef.getStandaloneInjector(s)||s);const u=s?new V7(e,s):e,p=u.get(w1,null);if(null===p)throw new $(407,!1);const wt={rendererFactory:p,sanitizer:u.get(Gh,null),effectManager:u.get(S3,null),afterRenderEventManager:u.get(p3,null)},Xt=p.createRenderer(null,this.componentDef),ue=this.componentDef.selectors[0][0]||"div",Se=i?function g7(t,e,n,i){const s=i.get(c8,!1)||n===se.ShadowDom,u=t.selectRootElement(e,s);return function b7(t){b8(t)}(u),u}(Xt,i,this.componentDef.encapsulation,u):L2(Xt,ue,function B7(t){const e=t.toLowerCase();return"svg"===e?Ci:"math"===e?"math":null}(ue)),gn=this.componentDef.signals?4608:this.componentDef.onPush?576:528;let Be=null;null!==Se&&(Be=i3(Se,u,!0));const Tn=y3(0,null,null,1,0,null,null,null,null,null,null),jn=G2(null,Tn,null,gn,null,null,wt,Xt,u,null,Be);let hi,Lc;Xn(jn);try{const Yr=this.componentDef;let Ga,$l=null;Yr.findHostDirectiveDefs?(Ga=[],$l=new Map,Yr.findHostDirectiveDefs(Yr,Ga,$l),Ga.push(Yr)):Ga=[Yr];const jb=function j7(t,e){const n=t[We],i=On;return t[i]=e,Ca(n,i,2,"#host",null)}(jn,Se),Hb=function H7(t,e,n,i,c,s,u){const p=c[We];!function $7(t,e,n,i){for(const c of t)e.mergedAttrs=Jn(e.mergedAttrs,c.hostAttrs);null!==e.mergedAttrs&&(q2(e,e.mergedAttrs,!0),null!==n&&l6(i,n,e))}(i,t,e,u);let _=null;null!==e&&(_=i3(e,c[Ni]));const O=s.rendererFactory.createRenderer(e,n);let Y=16;n.signals?Y=4096:n.onPush&&(Y=64);const wt=G2(c,g8(n),null,Y,c[t.index],t,s,O,null,null,_);return p.firstCreatePass&&L3(p,t,i.length-1),Q2(c,wt),c[t.index]=wt}(jb,Se,Yr,Ga,jn,wt,Xt);Lc=ct(Tn,On),Se&&function R8(t,e,n,i){if(i)li(t,n,["ng-version",Xh.full]);else{const{attrs:c,classes:s}=function mc(t){const e=[],n=[];let i=1,c=2;for(;i0&&a6(t,n,s.join(" "))}}(Xt,Yr,Se,i),void 0!==n&&function K7(t,e,n){const i=t.projection=[];for(let c=0;c=0;i--){const c=t[i];c.hostVars=e+=c.hostVars,c.hostAttrs=Jn(c.hostAttrs,n=Jn(n,c.hostAttrs))}}(i)}function el(t){return t===De?{}:t===ve?[]:t}function B8(t,e){const n=t.viewQuery;t.viewQuery=n?(i,c)=>{e(i,c),n(i,c)}:e}function X7(t,e){const n=t.contentQueries;t.contentQueries=n?(i,c,s)=>{e(i,c,s),n(i,c,s)}:e}function Y7(t,e){const n=t.hostBindings;t.hostBindings=n?(i,c)=>{e(i,c),n(i,c)}:e}function H8(t){const e=t.inputConfig,n={};for(const i in e)if(e.hasOwnProperty(i)){const c=e[i];Array.isArray(c)&&c[2]&&(n[i]=c[2])}t.inputTransforms=n}function nl(t){return!!I3(t)&&(Array.isArray(t)||!(t instanceof Map)&&Symbol.iterator in t)}function I3(t){return null!==t&&("function"==typeof t||"object"==typeof t)}function zr(t,e,n){return t[e]=n}function Fo(t,e,n){return!Object.is(t[e],n)&&(t[e]=n,!0)}function Is(t,e,n,i){const c=Fo(t,e,n);return Fo(t,e+1,i)||c}function il(t,e,n,i,c){const s=Is(t,e,n,i);return Fo(t,e+2,c)||s}function Qc(t,e,n,i,c,s){const u=Is(t,e,n,i);return Is(t,e+2,c,s)||u}function N3(t,e,n,i){const c=Re();return Fo(c,g(),e)&&(Gn(),Sr(Ei(),c,t,e,n,i)),N3}function La(t,e,n,i){return Fo(t,g(),n)?e+V(n)+i:Rn}function Da(t,e,n,i,c,s,u,p){const O=il(t,Wc(),n,c,u);return x(3),O?e+V(n)+i+V(c)+s+V(u)+p:Rn}function W3(t,e,n,i,c,s,u,p){const _=Re(),O=Gn(),Y=t+On,wt=O.firstCreatePass?function xp(t,e,n,i,c,s,u,p,_){const O=e.consts,Y=Ca(e,t,4,u||null,an(O,p));Y2(e,n,Y,an(O,_)),$s(e,Y);const wt=Y.tView=y3(2,Y,i,c,s,e.directiveRegistry,e.pipeRegistry,null,e.schemas,O,null);return null!==e.queries&&(e.queries.template(e,Y),wt.queries=e.queries.embeddedTView(Y)),Y}(Y,O,_,e,n,i,c,s,u):O.data[Y];Cc(wt,!1);const Xt=eu(O,_,wt,t);es()&&f1(O,_,Xt,wt),Qo(Xt,_),Q2(_,_[Y]=D8(Xt,_,Xt,wt)),To(wt)&&X2(O,_,wt),null!=u&&C3(_,wt,p)}let eu=function nu(t,e,n,i){return Mr(!0),e[bn].createComment("")};function cu(t){return ut(function $r(){return pn.lFrame.contextLView}(),On+t)}function ll(t,e,n){const i=Re();return Fo(i,g(),e)&&ac(Gn(),Ei(),i,t,e,i[bn],n,!1),ll}function K3(t,e,n,i,c){const u=c?"class":"style";J2(t,n,e.inputs[u],u,i)}function dl(t,e,n,i){const c=Re(),s=Gn(),u=On+t,p=c[bn],_=s.firstCreatePass?function yp(t,e,n,i,c,s){const u=e.consts,_=Ca(e,t,2,i,an(u,c));return Y2(e,n,_,an(u,s)),null!==_.attrs&&q2(_,_.attrs,!1),null!==_.mergedAttrs&&q2(_,_.mergedAttrs,!0),null!==e.queries&&e.queries.elementStart(e,_),_}(u,s,c,e,n,i):s.data[u],O=X3(s,c,_,p,e,t);c[u]=O;const Y=To(_);return Cc(_,!0),l6(p,O,_),32!=(32&_.flags)&&es()&&f1(s,c,O,_),0===function bo(){return pn.lFrame.elementDepthCount}()&&Qo(O,c),function so(){pn.lFrame.elementDepthCount++}(),Y&&(X2(s,c,_),x3(s,_,c)),null!==i&&C3(c,_),dl}function N1(){let t=Yi();ic()?Hr():(t=t.parent,Cc(t,!1));const e=t;(function $c(t){return pn.skipHydrationRootTNode===t})(e)&&function Us(){pn.skipHydrationRootTNode=null}(),function Rc(){pn.lFrame.elementDepthCount--}();const n=Gn();return n.firstCreatePass&&($s(n,t),co(t)&&n.queries.elementEnd(t)),null!=e.classesWithoutHost&&function Xs(t){return 0!=(8&t.flags)}(e)&&K3(n,e,Re(),e.classesWithoutHost,!0),null!=e.stylesWithoutHost&&function Xl(t){return 0!=(16&t.flags)}(e)&&K3(n,e,Re(),e.stylesWithoutHost,!1),N1}function G3(t,e,n,i){return dl(t,e,n,i),N1(),G3}let X3=(t,e,n,i,c,s)=>(Mr(!0),L2(i,c,function Za(){return pn.lFrame.currentNamespace}()));function ul(t,e,n){const i=Re(),c=Gn(),s=t+On,u=c.firstCreatePass?function Lp(t,e,n,i,c){const s=e.consts,u=an(s,i),p=Ca(e,t,8,"ng-container",u);return null!==u&&q2(p,u,!0),Y2(e,n,p,an(s,c)),null!==e.queries&&e.queries.elementStart(e,p),p}(s,c,i,e,n):c.data[s];Cc(u,!0);const p=Q3(c,i,u,t);return i[s]=p,es()&&f1(c,i,p,u),Qo(p,i),To(u)&&(X2(c,i,u),x3(c,u,i)),null!=n&&C3(i,u),ul}function ml(){let t=Yi();const e=Gn();return ic()?Hr():(t=t.parent,Cc(t,!1)),e.firstCreatePass&&($s(e,t),co(t)&&e.queries.elementEnd(t)),ml}function Y3(t,e,n){return ul(t,e,n),ml(),Y3}let Q3=(t,e,n,i)=>(Mr(!0),w2(e[bn],""));function ru(){return Re()}function Z3(t){return!!t&&"function"==typeof t.then}function su(t){return!!t&&"function"==typeof t.subscribe}function J3(t,e,n,i){const c=Re(),s=Gn(),u=Yi();return lu(s,c,c[bn],u,t,e,i),J3}function q3(t,e){const n=Yi(),i=Re(),c=Gn();return lu(c,i,D3(ge(c.data),n,i),n,t,e),q3}function lu(t,e,n,i,c,s,u){const p=To(i),O=t.firstCreatePass&&z8(t),Y=e[Vn],wt=S8(e);let Xt=!0;if(3&i.type||u){const He=D(i,e),qe=u?u(He):He,gn=wt.length,Be=u?jn=>u(Wn(jn[i.index])):i.index;let Tn=null;if(!u&&p&&(Tn=function au(t,e,n,i){const c=t.cleanup;if(null!=c)for(let s=0;s_?p[_]:null}"string"==typeof u&&(s+=2)}return null}(t,e,c,i.index)),null!==Tn)(Tn.__ngLastListenerFn__||Tn).__ngNextListenerFn__=s,Tn.__ngLastListenerFn__=s,Xt=!1;else{s=uu(i,e,Y,s,!1);const jn=n.listen(qe,c,s);wt.push(s,jn),O&&O.push(c,Be,gn,gn+1)}}else s=uu(i,e,Y,s,!1);const ue=i.outputs;let Se;if(Xt&&null!==ue&&(Se=ue[c])){const He=Se.length;if(He)for(let qe=0;qe-1?St(t.index,e):e);let _=du(e,n,i,u),O=s.__ngNextListenerFn__;for(;O;)_=du(e,n,O,u)&&_,O=O.__ngNextListenerFn__;return c&&!1===_&&u.preventDefault(),_}}function mu(t=1){return function Qa(t){return(pn.lFrame.contextLView=function Wl(t,e){for(;t>0;)e=e[zi],t--;return e}(t,pn.lFrame.contextLView))[Vn]}(t)}function Dp(t,e){let n=null;const i=function kr(t){const e=t.attrs;if(null!=e){const n=e.indexOf(5);if(!(1&n))return e[n+1]}return null}(t);for(let c=0;c>17&32767}function c4(t){return 2|t}function Ns(t){return(131068&t)>>2}function r4(t,e){return-131069&t|e<<2}function s4(t){return 1|t}function _u(t,e,n,i,c){const s=t[n+1],u=null===e;let p=i?us(s):Ns(s),_=!1;for(;0!==p&&(!1===_||u);){const Y=t[p+1];Ap(t[p],e)&&(_=!0,t[p+1]=i?s4(Y):c4(Y)),p=i?us(Y):Ns(Y)}_&&(t[n+1]=i?c4(s):s4(s))}function Ap(t,e){return null===t||null==e||(Array.isArray(t)?t[1]:t)===e||!(!Array.isArray(t)||"string"!=typeof e)&&mn(t,e)>=0}const lo={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function xu(t){return t.substring(lo.key,lo.keyEnd)}function Cu(t){return t.substring(lo.value,lo.valueEnd)}function pl(t,e){const n=lo.textEnd;return n===e?-1:(e=lo.keyEnd=function wu(t,e,n){for(;e32;)e++;return e}(t,lo.key=e,n),Ia(t,e,n))}function yu(t,e){const n=lo.textEnd;let i=lo.key=Ia(t,e,n);return n===i?-1:(i=lo.keyEnd=function Np(t,e,n){let i;for(;e=65&&(-33&i)<=90||i>=48&&i<=57);)e++;return e}(t,i,n),i=Lu(t,i,n),i=lo.value=Ia(t,i,n),i=lo.valueEnd=function Rp(t,e,n){let i=-1,c=-1,s=-1,u=e,p=u;for(;u32&&(p=u),s=c,c=i,i=-33&_}return p}(t,i,n),Lu(t,i,n))}function Mu(t){lo.key=0,lo.keyEnd=0,lo.value=0,lo.valueEnd=0,lo.textEnd=t.length}function Ia(t,e,n){for(;e=0;n=yu(e,n))u4(t,xu(e),Cu(e))}function Du(t){gr(jp,Pr,t,!0)}function Pr(t,e){for(let n=function Tp(t){return Mu(t),pl(t,Ia(t,0,lo.textEnd))}(e);n>=0;n=pl(e,n))Ae(t,xu(e),!0)}function pr(t,e,n,i){const c=Re(),s=Gn(),u=x(2);s.firstUpdatePass&&d4(s,t,u,i),e!==Rn&&Fo(c,u,e)&&Pu(s,s.data[Io()],c,c[bn],t,c[u+1]=function $p(t,e){return null==t||""===t||("string"==typeof e?t+=e:"object"==typeof t&&(t=K(Gr(t)))),t}(e,n),i,u)}function gr(t,e,n,i){const c=Gn(),s=x(2);c.firstUpdatePass&&d4(c,null,s,i);const u=Re();if(n!==Rn&&Fo(u,s,n)){const p=c.data[Io()];if(f4(p,i)&&!Ou(c,s)){let _=i?p.classesWithoutHost:p.stylesWithoutHost;null!==_&&(n=M(_,n||"")),K3(c,p,u,n,i)}else!function Hp(t,e,n,i,c,s,u,p){c===Rn&&(c=ve);let _=0,O=0,Y=0=t.expandoStartIndex}function d4(t,e,n,i){const c=t.data;if(null===c[n+1]){const s=c[Io()],u=Ou(t,n);f4(s,i)&&null===e&&!u&&(e=!1),e=function Su(t,e,n,i){const c=ge(t);let s=i?e.residualClasses:e.residualStyles;if(null===c)0===(i?e.classBindings:e.styleBindings)&&(n=F1(n=bl(null,t,e,n,i),e.attrs,i),s=null);else{const u=e.directiveStylingLast;if(-1===u||t[u]!==c)if(n=bl(c,t,e,n,i),null===s){let _=function zu(t,e,n){const i=n?e.classBindings:e.styleBindings;if(0!==Ns(i))return t[us(i)]}(t,e,i);void 0!==_&&Array.isArray(_)&&(_=bl(null,t,e,_[1],i),_=F1(_,e.attrs,i),function Bp(t,e,n,i){t[us(n?e.classBindings:e.styleBindings)]=i}(t,e,i,_))}else s=function Vp(t,e,n){let i;const c=e.directiveEnd;for(let s=1+e.directiveStylingLast;s0)&&(O=!0)):Y=n,c)if(0!==_){const Xt=us(t[p+1]);t[i+1]=hl(Xt,p),0!==Xt&&(t[Xt+1]=r4(t[Xt+1],i)),t[p+1]=function Sp(t,e){return 131071&t|e<<17}(t[p+1],i)}else t[i+1]=hl(p,0),0!==p&&(t[p+1]=r4(t[p+1],i)),p=i;else t[i+1]=hl(_,0),0===p?p=i:t[_+1]=r4(t[_+1],i),_=i;O&&(t[i+1]=c4(t[i+1])),_u(t,Y,i,!0),_u(t,Y,i,!1),function a4(t,e,n,i,c){const s=c?t.residualClasses:t.residualStyles;null!=s&&"string"==typeof e&&mn(s,e)>=0&&(n[i+1]=s4(n[i+1]))}(e,Y,t,i,s),u=hl(p,_),s?e.classBindings=u:e.styleBindings=u}(c,s,e,n,u,i)}}function bl(t,e,n,i,c){let s=null;const u=n.directiveEnd;let p=n.directiveStylingLast;for(-1===p?p=n.directiveStart:p++;p0;){const _=t[c],O=Array.isArray(_),Y=O?_[1]:_,wt=null===Y;let Xt=n[c+1];Xt===Rn&&(Xt=wt?ve:void 0);let ue=wt?$e(Xt,i):Y===i?Xt:void 0;if(O&&!vl(ue)&&(ue=$e(_,i)),vl(ue)&&(p=ue,u))return p;const Se=t[c+1];c=u?us(Se):Ns(Se)}if(null!==e){let _=s?e.residualClasses:e.residualStyles;null!=_&&(p=$e(_,i))}return p}function vl(t){return void 0!==t}function f4(t,e){return 0!=(t.flags&(e?8:16))}function ku(t,e=""){const n=Re(),i=Gn(),c=t+On,s=i.firstCreatePass?Ca(i,c,1,e,null):i.data[c],u=h4(i,n,s,e,t);n[c]=u,es()&&f1(i,n,u,s),Cc(s,!1)}let h4=(t,e,n,i,c)=>(Mr(!0),function m1(t,e){return t.createText(e)}(e[bn],i));function p4(t){return B1("",t,""),p4}function B1(t,e,n){const i=Re(),c=La(i,t,e,n);return c!==Rn&&Xr(i,Io(),c),B1}function g4(t,e,n,i,c){const s=Re(),u=function Ea(t,e,n,i,c,s){const p=Is(t,Wc(),n,c);return x(2),p?e+V(n)+i+V(c)+s:Rn}(s,t,e,n,i,c);return u!==Rn&&Xr(s,Io(),u),g4}function b4(t,e,n,i,c,s,u){const p=Re(),_=Da(p,t,e,n,i,c,s,u);return _!==Rn&&Xr(p,Io(),_),b4}function v4(t,e,n,i,c,s,u,p,_){const O=Re(),Y=function Oa(t,e,n,i,c,s,u,p,_,O){const wt=Qc(t,Wc(),n,c,u,_);return x(4),wt?e+V(n)+i+V(c)+s+V(u)+p+V(_)+O:Rn}(O,t,e,n,i,c,s,u,p,_);return Y!==Rn&&Xr(O,Io(),Y),v4}function Bu(t,e,n){gr(Ae,Pr,La(Re(),t,e,n),!0)}function xl(t,e,n){const i=Re();return Fo(i,g(),e)&&ac(Gn(),Ei(),i,t,e,i[bn],n,!0),xl}function M4(t,e,n){const i=Re();if(Fo(i,g(),e)){const s=Gn(),u=Ei();ac(s,u,i,t,e,D3(ge(s.data),u,i),n,!0)}return M4}const Rs=void 0;var r9=["en",[["a","p"],["AM","PM"],Rs],[["AM","PM"],Rs,Rs],[["S","M","T","W","T","F","S"],["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],["Su","Mo","Tu","We","Th","Fr","Sa"]],Rs,[["J","F","M","A","M","J","J","A","S","O","N","D"],["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],["January","February","March","April","May","June","July","August","September","October","November","December"]],Rs,[["B","A"],["BC","AD"],["Before Christ","Anno Domini"]],0,[6,0],["M/d/yy","MMM d, y","MMMM d, y","EEEE, MMMM d, y"],["h:mm a","h:mm:ss a","h:mm:ss a z","h:mm:ss a zzzz"],["{1}, {0}",Rs,"{1} 'at' {0}",Rs],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function c9(t){const n=Math.floor(Math.abs(t)),i=t.toString().replace(/^[^.]*\.?/,"").length;return 1===n&&0===i?1:5}];let Na={};function w4(t){const e=function s9(t){return t.toLowerCase().replace(/_/g,"-")}(t);let n=Yu(e);if(n)return n;const i=e.split("-")[0];if(n=Yu(i),n)return n;if("en"===i)return r9;throw new $(701,!1)}function L4(t){return w4(t)[Ra.PluralCase]}function Yu(t){return t in Na||(Na[t]=tt.ng&&tt.ng.common&&tt.ng.common.locales&&tt.ng.common.locales[t]),Na[t]}var Ra=function(t){return t[t.LocaleId=0]="LocaleId",t[t.DayPeriodsFormat=1]="DayPeriodsFormat",t[t.DayPeriodsStandalone=2]="DayPeriodsStandalone",t[t.DaysFormat=3]="DaysFormat",t[t.DaysStandalone=4]="DaysStandalone",t[t.MonthsFormat=5]="MonthsFormat",t[t.MonthsStandalone=6]="MonthsStandalone",t[t.Eras=7]="Eras",t[t.FirstDayOfWeek=8]="FirstDayOfWeek",t[t.WeekendRange=9]="WeekendRange",t[t.DateFormat=10]="DateFormat",t[t.TimeFormat=11]="TimeFormat",t[t.DateTimeFormat=12]="DateTimeFormat",t[t.NumberSymbols=13]="NumberSymbols",t[t.NumberFormats=14]="NumberFormats",t[t.CurrencyCode=15]="CurrencyCode",t[t.CurrencySymbol=16]="CurrencySymbol",t[t.CurrencyName=17]="CurrencyName",t[t.Currencies=18]="Currencies",t[t.Directionality=19]="Directionality",t[t.PluralCase=20]="PluralCase",t[t.ExtraData=21]="ExtraData",t}(Ra||{});const Fa="en-US";let Zu=Fa;function A4(t,e,n,i,c){if(t=j(t),Array.isArray(t))for(let s=0;s>20;if(As(t)||!t.multi){const ue=new ys(O,c,xa),Se=T4(_,e,c?Y:Y+Xt,wt);-1===Se?(e1(Qs(p,u),s,_),Ua(s,t,e.length),e.push(_),p.directiveStart++,p.directiveEnd++,c&&(p.providerIndexes+=1048576),n.push(ue),u.push(ue)):(n[Se]=ue,u[Se]=ue)}else{const ue=T4(_,e,Y+Xt,wt),Se=T4(_,e,Y,Y+Xt),qe=Se>=0&&n[Se];if(c&&!qe||!c&&!(ue>=0&&n[ue])){e1(Qs(p,u),s,_);const gn=function G9(t,e,n,i,c){const s=new ys(t,n,xa);return s.multi=[],s.index=e,s.componentProviders=0,Dm(s,c,i&&!n),s}(c?Om:K9,n.length,c,i,O);!c&&qe&&(n[Se].providerFactory=gn),Ua(s,t,e.length,0),e.push(_),p.directiveStart++,p.directiveEnd++,c&&(p.providerIndexes+=1048576),n.push(gn),u.push(gn)}else Ua(s,t,ue>-1?ue:Se,Dm(n[c?Se:ue],O,!c&&i));!c&&i&&qe&&n[Se].componentProviders++}}}function Ua(t,e,n,i){const c=As(e),s=function N2(t){return!!t.useClass}(e);if(c||s){const _=(s?j(e.useClass):e).prototype.ngOnDestroy;if(_){const O=t.destroyHooks||(t.destroyHooks=[]);if(!c&&e.multi){const Y=O.indexOf(n);-1===Y?O.push(n,[i,_]):O[Y+1].push(i,_)}else O.push(n,_)}}}function Dm(t,e,n){return n&&t.componentProviders++,t.multi.push(e)-1}function T4(t,e,n,i){for(let c=n;c{n.providersResolver=(i,c)=>function Em(t,e,n){const i=Gn();if(i.firstCreatePass){const c=ji(t);A4(n,i.data,i.blueprint,c,!0),A4(e,i.data,i.blueprint,c,!1)}}(i,c?c(t):t,e)}}class ms{}class zm{}function X9(t,e){return new N4(t,e??null,[])}class N4 extends ms{constructor(e,n,i){super(),this._parent=n,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new N8(this);const c=ci(e);this._bootstrapComponents=fr(c.bootstrap),this._r3Injector=Q6(e,n,[{provide:ms,useValue:this},{provide:y1,useValue:this.componentFactoryResolver},...i],K(e),new Set(["environment"])),this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(e)}get injector(){return this._r3Injector}destroy(){const e=this._r3Injector;!e.destroyed&&e.destroy(),this.destroyCbs.forEach(n=>n()),this.destroyCbs=null}onDestroy(e){this.destroyCbs.push(e)}}class El extends zm{constructor(e){super(),this.moduleType=e}create(e){return new N4(this.moduleType,e,[])}}class Pm extends ms{constructor(e){super(),this.componentFactoryResolver=new N8(this),this.instance=null;const n=new ha([...e.providers,{provide:ms,useValue:this},{provide:y1,useValue:this.componentFactoryResolver}],e.parent||F2(),e.debugName,new Set(["environment"]));this.injector=n,e.runEnvironmentInitializers&&n.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(e){this.injector.onDestroy(e)}}function km(t,e,n=null){return new Pm({providers:t,parent:e,debugName:n,runEnvironmentInitializers:!0}).injector}let Q9=(()=>{class t{constructor(n){this._injector=n,this.cachedInjectors=new Map}getOrCreateStandaloneInjector(n){if(!n.standalone)return null;if(!this.cachedInjectors.has(n)){const i=I2(0,n.type),c=i.length>0?km([i],this._injector,`Standalone[${n.type.name}]`):null;this.cachedInjectors.set(n,c)}return this.cachedInjectors.get(n)}ngOnDestroy(){try{for(const n of this.cachedInjectors.values())null!==n&&n.destroy()}finally{this.cachedInjectors.clear()}}static{this.\u0275prov=gt({token:t,providedIn:"environment",factory:()=>new t(Ze(Yc))})}}return t})();function Am(t){t.getStandaloneInjector=e=>e.get(Q9).getOrCreateStandaloneInjector(t)}function Um(t,e,n){const i=vo()+t,c=Re();return c[i]===Rn?zr(c,i,n?e.call(n):e()):function T1(t,e){return t[e]}(c,i)}function V4(t,e,n,i){return Gm(Re(),vo(),t,e,n,i)}function jm(t,e,n,i,c){return Xm(Re(),vo(),t,e,n,i,c)}function Hm(t,e,n,i,c,s){return Ym(Re(),vo(),t,e,n,i,c,s)}function $m(t,e,n,i,c,s,u){return U4(Re(),vo(),t,e,n,i,c,s,u)}function $1(t,e){const n=t[e];return n===Rn?void 0:n}function Gm(t,e,n,i,c,s){const u=e+n;return Fo(t,u,c)?zr(t,u+1,s?i.call(s,c):i(c)):$1(t,u+1)}function Xm(t,e,n,i,c,s,u){const p=e+n;return Is(t,p,c,s)?zr(t,p+2,u?i.call(u,c,s):i(c,s)):$1(t,p+2)}function Ym(t,e,n,i,c,s,u,p){const _=e+n;return il(t,_,c,s,u)?zr(t,_+3,p?i.call(p,c,s,u):i(c,s,u)):$1(t,_+3)}function U4(t,e,n,i,c,s,u,p,_){const O=e+n;return Qc(t,O,c,s,u,p)?zr(t,O+4,_?i.call(_,c,s,u,p):i(c,s,u,p)):$1(t,O+4)}function Qm(t,e){const n=Gn();let i;const c=t+On;n.firstCreatePass?(i=function Zm(t,e){if(e)for(let n=e.length-1;n>=0;n--){const i=e[n];if(t===i.name)return i}}(e,n.pipeRegistry),n.data[c]=i,i.onDestroy&&(n.destroyHooks??=[]).push(c,i.onDestroy)):i=n.data[c];const s=i.factory||(i.factory=nc(i.type)),p=zt(xa);try{const _=ws(!1),O=s();return ws(_),function ou(t,e,n,i){n>=t.data.length&&(t.data[n]=null,t.blueprint[n]=null),e[n]=i}(n,Re(),c,O),O}finally{zt(p)}}function qm(t,e,n){const i=t+On,c=Re(),s=ut(c,i);return W1(c,i)?Gm(c,vo(),e,s.transform,n,s):s.transform(n)}function tf(t,e,n,i){const c=t+On,s=Re(),u=ut(s,c);return W1(s,c)?Xm(s,vo(),e,u.transform,n,i,u):u.transform(n,i)}function ef(t,e,n,i,c){const s=t+On,u=Re(),p=ut(u,s);return W1(u,s)?Ym(u,vo(),e,p.transform,n,i,c,p):p.transform(n,i,c)}function nf(t,e,n,i,c,s){const u=t+On,p=Re(),_=ut(p,u);return W1(p,u)?U4(p,vo(),e,_.transform,n,i,c,s,_):_.transform(n,i,c,s)}function W1(t,e){return t[We].data[e].pure}function cg(){return this._results[Symbol.iterator]()}class K1{get changes(){return this._changes||(this._changes=new Or)}constructor(e=!1){this._emitDistinctChangesOnly=e,this.dirty=!0,this._results=[],this._changesDetected=!1,this._changes=null,this.length=0,this.first=void 0,this.last=void 0;const n=K1.prototype;n[Symbol.iterator]||(n[Symbol.iterator]=cg)}get(e){return this._results[e]}map(e){return this._results.map(e)}filter(e){return this._results.filter(e)}find(e){return this._results.find(e)}reduce(e,n){return this._results.reduce(e,n)}forEach(e){this._results.forEach(e)}some(e){return this._results.some(e)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(e,n){const i=this;i.dirty=!1;const c=function d(t){return t.flat(Number.POSITIVE_INFINITY)}(e);(this._changesDetected=!function f(t,e,n){if(t.length!==e.length)return!1;for(let i=0;i0&&(n[c-1][Si]=e),i{class t{static{this.__NG_ELEMENT_ID__=ag}}return t})();const sg=ja,rf=class extends sg{constructor(e,n,i){super(),this._declarationLView=e,this._declarationTContainer=n,this.elementRef=i}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(e,n){return this.createEmbeddedViewImpl(e,n)}createEmbeddedViewImpl(e,n,i){const c=function rg(t,e,n,i){const c=e.tView,p=G2(t,c,n,4096&t[Cn]?4096:16,null,e,null,null,null,i?.injector??null,i?.hydrationInfo??null);p[zo]=t[e.index];const O=t[ho];return null!==O&&(p[ho]=O.createEmbeddedView(c)),O3(c,p,n),p}(this._declarationLView,this._declarationTContainer,e,{injector:n,hydrationInfo:i});return new A1(c)}};function ag(){return Dl(Yi(),Re())}function Dl(t,e){return 4&t.type?new rf(e,t,ba(t,e)):null}let X1=(()=>{class t{static{this.__NG_ELEMENT_ID__=hg}}return t})();function hg(){return mf(Yi(),Re())}const Sl=X1,df=class extends Sl{constructor(e,n,i){super(),this._lContainer=e,this._hostTNode=n,this._hostLView=i}get element(){return ba(this._hostTNode,this._hostLView)}get injector(){return new xo(this._hostTNode,this._hostLView)}get parentInjector(){const e=Js(this._hostTNode,this._hostLView);if(Ys(e)){const n=Ms(e,this._hostLView),i=_o(e);return new xo(n[We].data[i+8],n)}return new xo(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(e){const n=uf(this._lContainer);return null!==n&&n[e]||null}get length(){return this._lContainer.length-bi}createEmbeddedView(e,n,i){let c,s;"number"==typeof i?c=i:null!=i&&(c=i.index,s=i.injector);const p=e.createEmbeddedViewImpl(n||{},s,null);return this.insertImpl(p,c,false),p}createComponent(e,n,i,c,s){const u=e&&!function Os(t){return"function"==typeof t}(e);let p;if(u)p=n;else{const He=n||{};p=He.index,i=He.injector,c=He.projectableNodes,s=He.environmentInjector||He.ngModuleRef}const _=u?e:new Ma(En(e)),O=i||this.parentInjector;if(!s&&null==_.ngModule){const qe=(u?O:this.parentInjector).get(Yc,null);qe&&(s=qe)}En(_.componentType??{});const ue=_.create(O,c,null,s);return this.insertImpl(ue.hostView,p,false),ue}insert(e,n){return this.insertImpl(e,n,!1)}insertImpl(e,n,i){const c=e._lView;if(function Ue(t){return xi(t[Hn])}(c)){const _=this.indexOf(e);if(-1!==_)this.detach(_);else{const O=c[Hn],Y=new df(O,O[gi],O[Hn]);Y.detach(Y.indexOf(e))}}const u=this._adjustIndex(n),p=this._lContainer;return cf(p,c,u,!i),e.attachToViewContainerRef(),m(zl(p),u,e),e}move(e,n){return this.insert(e,n)}indexOf(e){const n=uf(this._lContainer);return null!==n?n.indexOf(e):-1}remove(e){const n=this._adjustIndex(e,-1),i=E2(this._lContainer,n);i&&(L(zl(this._lContainer),n),_0(i[We],i))}detach(e){const n=this._adjustIndex(e,-1),i=E2(this._lContainer,n);return i&&null!=L(zl(this._lContainer),n)?new A1(i):null}_adjustIndex(e,n=0){return e??this.length+n}};function uf(t){return t[8]}function zl(t){return t[8]||(t[8]=[])}function mf(t,e){let n;const i=e[t.index];return xi(i)?n=i:(n=D8(i,e,null,t),e[t.index]=n,Q2(e,n)),hf(n,e,t,i),new df(n,t,e)}let hf=function pf(t,e,n,i){if(t[ui])return;let c;c=8&n.type?Wn(i):function ff(t,e){const n=t[bn],i=n.createComment(""),c=D(e,t);return zs(n,D2(n,c),i,function n6(t,e){return t.nextSibling(e)}(n,c),!1),i}(e,n),t[ui]=c};class Pl{constructor(e){this.queryList=e,this.matches=null}clone(){return new Pl(this.queryList)}setDirty(){this.queryList.setDirty()}}class $4{constructor(e=[]){this.queries=e}createEmbeddedView(e){const n=e.queries;if(null!==n){const i=null!==e.contentQueries?e.contentQueries[0]:n.length,c=[];for(let s=0;s0)i.push(u[p/2]);else{const O=s[p+1],Y=e[-_];for(let wt=bi;wt{class t{constructor(){this.initialized=!1,this.done=!1,this.donePromise=new Promise((n,i)=>{this.resolve=n,this.reject=i}),this.appInits=Ie(J1,{optional:!0})??[]}runInitializers(){if(this.initialized)return;const n=[];for(const c of this.appInits){const s=c();if(Z3(s))n.push(s);else if(su(s)){const u=new Promise((p,_)=>{s.subscribe({complete:p,error:_})});n.push(u)}}const i=()=>{this.done=!0,this.resolve()};Promise.all(n).then(()=>{i()}).catch(c=>{this.reject(c)}),0===n.length&&i(),this.initialized=!0}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275prov=gt({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})(),Bf=(()=>{class t{log(n){console.log(n)}warn(n){console.warn(n)}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275prov=gt({token:t,factory:t.\u0275fac,providedIn:"platform"})}}return t})();const Nl=new Ot("LocaleId",{providedIn:"root",factory:()=>Ie(Nl,at.Optional|at.SkipSelf)||function Vg(){return typeof $localize<"u"&&$localize.locale||Fa}()}),Ug=new Ot("DefaultCurrencyCode",{providedIn:"root",factory:()=>"USD"});let Vf=(()=>{class t{constructor(){this.taskId=0,this.pendingTasks=new Set,this.hasPendingTasks=new k.t(!1)}add(){this.hasPendingTasks.next(!0);const n=this.taskId++;return this.pendingTasks.add(n),n}remove(n){this.pendingTasks.delete(n),0===this.pendingTasks.size&&this.hasPendingTasks.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this.hasPendingTasks.next(!1)}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275prov=gt({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();class Uf{constructor(e,n){this.ngModuleFactory=e,this.componentFactories=n}}let Hg=(()=>{class t{compileModuleSync(n){return new El(n)}compileModuleAsync(n){return Promise.resolve(this.compileModuleSync(n))}compileModuleAndAllComponentsSync(n){const i=this.compileModuleSync(n),s=fr(ci(n).declarations).reduce((u,p)=>{const _=En(p);return _&&u.push(new Ma(_)),u},[]);return new Uf(i,s)}compileModuleAndAllComponentsAsync(n){return Promise.resolve(this.compileModuleAndAllComponentsSync(n))}clearCache(){}clearCacheFor(n){}getModuleId(n){}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275prov=gt({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();const Qf=new Ot(""),Zf=new Ot("");let ad,ib=(()=>{class t{constructor(n,i,c){this._ngZone=n,this.registry=i,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,ad||(function qf(t){ad=t}(c),c.addToWindow(i)),this._watchAngularEvents(),n.run(()=>{this.taskTrackingZone=typeof Zone>"u"?null:Zone.current.get("TaskTrackingZone")})}_watchAngularEvents(){this._ngZone.onUnstable.subscribe({next:()=>{this._didWork=!0,this._isZoneStable=!1}}),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.subscribe({next:()=>{yo.assertNotInAngularZone(),queueMicrotask(()=>{this._isZoneStable=!0,this._runCallbacksIfReady()})}})})}increasePendingRequestCount(){return this._pendingCount+=1,this._didWork=!0,this._pendingCount}decreasePendingRequestCount(){if(this._pendingCount-=1,this._pendingCount<0)throw new Error("pending async requests below zero");return this._runCallbacksIfReady(),this._pendingCount}isStable(){return this._isZoneStable&&0===this._pendingCount&&!this._ngZone.hasPendingMacrotasks}_runCallbacksIfReady(){if(this.isStable())queueMicrotask(()=>{for(;0!==this._callbacks.length;){let n=this._callbacks.pop();clearTimeout(n.timeoutId),n.doneCb(this._didWork)}this._didWork=!1});else{let n=this.getPendingTasks();this._callbacks=this._callbacks.filter(i=>!i.updateCb||!i.updateCb(n)||(clearTimeout(i.timeoutId),!1)),this._didWork=!0}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(n=>({source:n.source,creationLocation:n.creationLocation,data:n.data})):[]}addCallback(n,i,c){let s=-1;i&&i>0&&(s=setTimeout(()=>{this._callbacks=this._callbacks.filter(u=>u.timeoutId!==s),n(this._didWork,this.getPendingTasks())},i)),this._callbacks.push({doneCb:n,timeoutId:s,updateCb:c})}whenStable(n,i,c){if(c&&!this.taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/plugins/task-tracking" loaded?');this.addCallback(n,i,c),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}registerApplication(n){this.registry.registerApplication(n,this)}unregisterApplication(n){this.registry.unregisterApplication(n)}findProviders(n,i,c){return[]}static{this.\u0275fac=function(i){return new(i||t)(Ze(yo),Ze(Jf),Ze(Zf))}}static{this.\u0275prov=gt({token:t,factory:t.\u0275fac})}}return t})(),Jf=(()=>{class t{constructor(){this._applications=new Map}registerApplication(n,i){this._applications.set(n,i)}unregisterApplication(n){this._applications.delete(n)}unregisterAllApplications(){this._applications.clear()}getTestability(n){return this._applications.get(n)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(n,i=!0){return ad?.findTestabilityInTree(this,n,i)??null}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275prov=gt({token:t,factory:t.\u0275fac,providedIn:"platform"})}}return t})(),fs=null;const ld=new Ot("PlatformDestroyListeners"),dd=new Ot("appBootstrapListener");class ud{constructor(e,n){this.name=e,this.token=n}}function lb(t){try{const{rootComponent:e,appProviders:n,platformProviders:i}=t,c=function ab(t=[]){if(fs)return fs;const e=function n5(t=[],e){return mr.create({name:e,providers:[{provide:$0,useValue:"platform"},{provide:ld,useValue:new Set([()=>fs=null])},...t]})}(t);return fs=e,function e5(){!function Vr(t){Br=t}(()=>{throw new $(600,!1)})}(),function md(t){t.get(T6,null)?.forEach(n=>n())}(e),e}(i),s=[hb(),...n||[]],p=new Pm({providers:s,parent:c,debugName:"",runEnvironmentInitializers:!1}).injector,_=p.get(yo);return _.run(()=>{p.resolveInjectorInitializers();const O=p.get(ds,null);let Y;_.runOutsideAngular(()=>{Y=_.onError.subscribe({next:ue=>{O.handleError(ue)}})});const wt=()=>p.destroy(),Xt=c.get(ld);return Xt.add(wt),p.onDestroy(()=>{Y.unsubscribe(),Xt.delete(wt)}),function c5(t,e,n){try{const i=n();return Z3(i)?i.catch(c=>{throw e.runOutsideAngular(()=>t.handleError(c)),c}):i}catch(i){throw e.runOutsideAngular(()=>t.handleError(i)),i}}(O,_,()=>{const ue=p.get(id);return ue.runInitializers(),ue.donePromise.then(()=>{!function Ml(t){Yt(t,"Expected localeId to be defined"),"string"==typeof t&&(Zu=t.toLowerCase().replace(/_/g,"-"))}(p.get(Nl,Fa)||Fa);const He=p.get(Wa);return void 0!==e&&He.bootstrap(e),He})})})}catch(e){return Promise.reject(e)}}let Wa=(()=>{class t{constructor(){this._bootstrapListeners=[],this._runningTick=!1,this._destroyed=!1,this._destroyListeners=[],this._views=[],this.internalErrorHandler=Ie(r5),this.zoneIsStable=Ie(n8),this.componentTypes=[],this.components=[],this.isStable=Ie(Vf).hasPendingTasks.pipe((0,Z.n)(n=>n?(0,G.of)(!1):this.zoneIsStable),(0,N.F)(),(0,P.u)()),this._injector=Ie(Yc)}get destroyed(){return this._destroyed}get injector(){return this._injector}bootstrap(n,i){const c=n instanceof V6;if(!this._injector.get(id).done)throw!c&&Eo(n),new $(405,!1);let u;u=c?n:this._injector.get(y1).resolveComponentFactory(n),this.componentTypes.push(u.componentType);const p=function rb(t){return t.isBoundToModule}(u)?void 0:this._injector.get(ms),O=u.create(mr.NULL,[],i||u.selector,p),Y=O.location.nativeElement,wt=O.injector.get(Qf,null);return wt?.registerApplication(Y),O.onDestroy(()=>{this.detachView(O.hostView),Bl(this.components,O),wt?.unregisterApplication(Y)}),this._loadComponent(O),O}tick(){if(this._runningTick)throw new $(101,!1);try{this._runningTick=!0;for(let n of this._views)n.detectChanges()}catch(n){this.internalErrorHandler(n)}finally{this._runningTick=!1}}attachView(n){const i=n;this._views.push(i),i.attachToAppRef(this)}detachView(n){const i=n;Bl(this._views,i),i.detachFromAppRef()}_loadComponent(n){this.attachView(n.hostView),this.tick(),this.components.push(n);const i=this._injector.get(dd,[]);i.push(...this._bootstrapListeners),i.forEach(c=>c(n))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(n=>n()),this._views.slice().forEach(n=>n.destroy())}finally{this._destroyed=!0,this._views=[],this._bootstrapListeners=[],this._destroyListeners=[]}}onDestroy(n){return this._destroyListeners.push(n),()=>Bl(this._destroyListeners,n)}destroy(){if(this._destroyed)throw new $(406,!1);const n=this._injector;n.destroy&&!n.destroyed&&n.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275prov=gt({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();function Bl(t,e){const n=t.indexOf(e);n>-1&&t.splice(n,1)}const r5=new Ot("",{providedIn:"root",factory:()=>Ie(ds).handleError.bind(void 0)});function s5(){const t=Ie(yo),e=Ie(ds);return n=>t.runOutsideAngular(()=>e.handleError(n))}let fb=(()=>{class t{constructor(){this.zone=Ie(yo),this.applicationRef=Ie(Wa)}initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.zone.run(()=>{this.applicationRef.tick()})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275prov=gt({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();function a5(t){return[{provide:yo,useFactory:t},{provide:g1,multi:!0,useFactory:()=>{const e=Ie(fb,{optional:!0});return()=>e.initialize()}},{provide:r5,useFactory:s5},{provide:n8,useFactory:m3}]}function hb(t){return T2([[],a5(()=>new yo(function o5(t){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:t?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:t?.runCoalescing??!1}}(t)))])}function l5(){return!1}let pb=(()=>{class t{static{this.__NG_ELEMENT_ID__=gb}}return t})();function gb(t){return function bb(t,e,n){if(Ui(t)&&!n){const i=St(t.index,e);return new A1(i,i)}return 47&t.type?new A1(e[$n],e):null}(Yi(),Re(),16==(16&t))}class b5{constructor(){}supports(e){return nl(e)}create(e){return new v5(e)}}const Mb=(t,e)=>e;class v5{constructor(e){this.length=0,this._linkedRecords=null,this._unlinkedRecords=null,this._previousItHead=null,this._itHead=null,this._itTail=null,this._additionsHead=null,this._additionsTail=null,this._movesHead=null,this._movesTail=null,this._removalsHead=null,this._removalsTail=null,this._identityChangesHead=null,this._identityChangesTail=null,this._trackByFn=e||Mb}forEachItem(e){let n;for(n=this._itHead;null!==n;n=n._next)e(n)}forEachOperation(e){let n=this._itHead,i=this._removalsHead,c=0,s=null;for(;n||i;){const u=!i||n&&n.currentIndex<_5(i,c,s)?n:i,p=_5(u,c,s),_=u.currentIndex;if(u===i)c--,i=i._nextRemoved;else if(n=n._next,null==u.previousIndex)c++;else{s||(s=[]);const O=p-c,Y=_-c;if(O!=Y){for(let Xt=0;Xt{u=this._trackByFn(c,p),null!==n&&Object.is(n.trackById,u)?(i&&(n=this._verifyReinsertion(n,p,u,c)),Object.is(n.item,p)||this._addIdentityChange(n,p)):(n=this._mismatch(n,p,u,c),i=!0),n=n._next,c++}),this.length=c;return this._truncate(n),this.collection=e,this.isDirty}get isDirty(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}_reset(){if(this.isDirty){let e;for(e=this._previousItHead=this._itHead;null!==e;e=e._next)e._nextPrevious=e._next;for(e=this._additionsHead;null!==e;e=e._nextAdded)e.previousIndex=e.currentIndex;for(this._additionsHead=this._additionsTail=null,e=this._movesHead;null!==e;e=e._nextMoved)e.previousIndex=e.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(e,n,i,c){let s;return null===e?s=this._itTail:(s=e._prev,this._remove(e)),null!==(e=null===this._unlinkedRecords?null:this._unlinkedRecords.get(i,null))?(Object.is(e.item,n)||this._addIdentityChange(e,n),this._reinsertAfter(e,s,c)):null!==(e=null===this._linkedRecords?null:this._linkedRecords.get(i,c))?(Object.is(e.item,n)||this._addIdentityChange(e,n),this._moveAfter(e,s,c)):e=this._addAfter(new wb(n,i),s,c),e}_verifyReinsertion(e,n,i,c){let s=null===this._unlinkedRecords?null:this._unlinkedRecords.get(i,null);return null!==s?e=this._reinsertAfter(s,e._prev,c):e.currentIndex!=c&&(e.currentIndex=c,this._addToMoves(e,c)),e}_truncate(e){for(;null!==e;){const n=e._next;this._addToRemovals(this._unlink(e)),e=n}null!==this._unlinkedRecords&&this._unlinkedRecords.clear(),null!==this._additionsTail&&(this._additionsTail._nextAdded=null),null!==this._movesTail&&(this._movesTail._nextMoved=null),null!==this._itTail&&(this._itTail._next=null),null!==this._removalsTail&&(this._removalsTail._nextRemoved=null),null!==this._identityChangesTail&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(e,n,i){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(e);const c=e._prevRemoved,s=e._nextRemoved;return null===c?this._removalsHead=s:c._nextRemoved=s,null===s?this._removalsTail=c:s._prevRemoved=c,this._insertAfter(e,n,i),this._addToMoves(e,i),e}_moveAfter(e,n,i){return this._unlink(e),this._insertAfter(e,n,i),this._addToMoves(e,i),e}_addAfter(e,n,i){return this._insertAfter(e,n,i),this._additionsTail=null===this._additionsTail?this._additionsHead=e:this._additionsTail._nextAdded=e,e}_insertAfter(e,n,i){const c=null===n?this._itHead:n._next;return e._next=c,e._prev=n,null===c?this._itTail=e:c._prev=e,null===n?this._itHead=e:n._next=e,null===this._linkedRecords&&(this._linkedRecords=new _d),this._linkedRecords.put(e),e.currentIndex=i,e}_remove(e){return this._addToRemovals(this._unlink(e))}_unlink(e){null!==this._linkedRecords&&this._linkedRecords.remove(e);const n=e._prev,i=e._next;return null===n?this._itHead=i:n._next=i,null===i?this._itTail=n:i._prev=n,e}_addToMoves(e,n){return e.previousIndex===n||(this._movesTail=null===this._movesTail?this._movesHead=e:this._movesTail._nextMoved=e),e}_addToRemovals(e){return null===this._unlinkedRecords&&(this._unlinkedRecords=new _d),this._unlinkedRecords.put(e),e.currentIndex=null,e._nextRemoved=null,null===this._removalsTail?(this._removalsTail=this._removalsHead=e,e._prevRemoved=null):(e._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=e),e}_addIdentityChange(e,n){return e.item=n,this._identityChangesTail=null===this._identityChangesTail?this._identityChangesHead=e:this._identityChangesTail._nextIdentityChange=e,e}}class wb{constructor(e,n){this.item=e,this.trackById=n,this.currentIndex=null,this.previousIndex=null,this._nextPrevious=null,this._prev=null,this._next=null,this._prevDup=null,this._nextDup=null,this._prevRemoved=null,this._nextRemoved=null,this._nextAdded=null,this._nextMoved=null,this._nextIdentityChange=null}}class Lb{constructor(){this._head=null,this._tail=null}add(e){null===this._head?(this._head=this._tail=e,e._nextDup=null,e._prevDup=null):(this._tail._nextDup=e,e._prevDup=this._tail,e._nextDup=null,this._tail=e)}get(e,n){let i;for(i=this._head;null!==i;i=i._nextDup)if((null===n||n<=i.currentIndex)&&Object.is(i.trackById,e))return i;return null}remove(e){const n=e._prevDup,i=e._nextDup;return null===n?this._head=i:n._nextDup=i,null===i?this._tail=n:i._prevDup=n,null===this._head}}class _d{constructor(){this.map=new Map}put(e){const n=e.trackById;let i=this.map.get(n);i||(i=new Lb,this.map.set(n,i)),i.add(e)}get(e,n){const c=this.map.get(e);return c?c.get(e,n):null}remove(e){const n=e.trackById;return this.map.get(n).remove(e)&&this.map.delete(n),e}get isEmpty(){return 0===this.map.size}clear(){this.map.clear()}}function _5(t,e,n){const i=t.previousIndex;if(null===i)return i;let c=0;return n&&i{if(n&&n.key===c)this._maybeAddToChanges(n,i),this._appendAfter=n,n=n._next;else{const s=this._getOrCreateRecordForKey(c,i);n=this._insertBeforeOrAppend(n,s)}}),n){n._prev&&(n._prev._next=null),this._removalsHead=n;for(let i=n;null!==i;i=i._nextRemoved)i===this._mapHead&&(this._mapHead=null),this._records.delete(i.key),i._nextRemoved=i._next,i.previousValue=i.currentValue,i.currentValue=null,i._prev=null,i._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(e,n){if(e){const i=e._prev;return n._next=e,n._prev=i,e._prev=n,i&&(i._next=n),e===this._mapHead&&(this._mapHead=n),this._appendAfter=e,e}return this._appendAfter?(this._appendAfter._next=n,n._prev=this._appendAfter):this._mapHead=n,this._appendAfter=n,null}_getOrCreateRecordForKey(e,n){if(this._records.has(e)){const c=this._records.get(e);this._maybeAddToChanges(c,n);const s=c._prev,u=c._next;return s&&(s._next=u),u&&(u._prev=s),c._next=null,c._prev=null,c}const i=new x5(e);return this._records.set(e,i),i.currentValue=n,this._addToAdditions(i),i}_reset(){if(this.isDirty){let e;for(this._previousMapHead=this._mapHead,e=this._previousMapHead;null!==e;e=e._next)e._nextPrevious=e._next;for(e=this._changesHead;null!==e;e=e._nextChanged)e.previousValue=e.currentValue;for(e=this._additionsHead;null!=e;e=e._nextAdded)e.previousValue=e.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(e,n){Object.is(n,e.currentValue)||(e.previousValue=e.currentValue,e.currentValue=n,this._addToChanges(e))}_addToAdditions(e){null===this._additionsHead?this._additionsHead=this._additionsTail=e:(this._additionsTail._nextAdded=e,this._additionsTail=e)}_addToChanges(e){null===this._changesHead?this._changesHead=this._changesTail=e:(this._changesTail._nextChanged=e,this._changesTail=e)}_forEach(e,n){e instanceof Map?e.forEach(n):Object.keys(e).forEach(i=>n(e[i],i))}}class x5{constructor(e){this.key=e,this.previousValue=null,this.currentValue=null,this._nextPrevious=null,this._next=null,this._prev=null,this._nextAdded=null,this._nextRemoved=null,this._nextChanged=null}}function C5(){return new Cd([new b5])}let Cd=(()=>{class t{static{this.\u0275prov=gt({token:t,providedIn:"root",factory:C5})}constructor(n){this.factories=n}static create(n,i){if(null!=i){const c=i.factories.slice();n=n.concat(c)}return new t(n)}static extend(n){return{provide:t,useFactory:i=>t.create(n,i||C5()),deps:[[t,new cc,new oc]]}}find(n){const i=this.factories.find(c=>c.supports(n));if(null!=i)return i;throw new $(901,!1)}}return t})();function y5(){return new jl([new xd])}let jl=(()=>{class t{static{this.\u0275prov=gt({token:t,providedIn:"root",factory:y5})}constructor(n){this.factories=n}static create(n,i){if(i){const c=i.factories.slice();n=n.concat(c)}return new t(n)}static extend(n){return{provide:t,useFactory:i=>t.create(n,i||y5()),deps:[[t,new cc,new oc]]}}find(n){const i=this.factories.find(c=>c.supports(n));if(i)return i;throw new $(901,!1)}}return t})(),Pb=(()=>{class t{constructor(n){}static{this.\u0275fac=function(i){return new(i||t)(Ze(Wa))}}static{this.\u0275mod=Ji({type:t})}static{this.\u0275inj=Vt({})}}return t})();function Ka(t){return"boolean"==typeof t?t:null!=t&&"false"!==t}function Vb(t){const e=En(t);if(!e)return null;const n=new Ma(e);return{get selector(){return n.selector},get type(){return n.componentType},get inputs(){return n.inputs},get outputs(){return n.outputs},get ngContentSelectors(){return n.ngContentSelectors},get isStandalone(){return e.standalone},get isSignal(){return e.signals}}}},78227:(Ce,Lt,r)=>{r.d(Lt,{$R:()=>Do,BC:()=>re,Fm:()=>Uo,JD:()=>We,MJ:()=>oi,Q0:()=>Vo,VZ:()=>Ho,X1:()=>Sc,YN:()=>Oc,YS:()=>Pi,Yp:()=>xi,cV:()=>Mi,cb:()=>Ee,cz:()=>J,gE:()=>Zt,j4:()=>ci,k0:()=>te,kq:()=>Z,l_:()=>ei,me:()=>a,ok:()=>ji,qT:()=>mc,tU:()=>ui,v8:()=>mo,vO:()=>Vt,vS:()=>Oi,wz:()=>Bi,xH:()=>gi,xq:()=>eo,y7:()=>qi,zX:()=>fo});var o=r(1843),y=r(18331),b=r(61550),T=r(86606),k=r(12324);let G=(()=>{class S{constructor(w,it){this._renderer=w,this._elementRef=it,this.onChange=Bt=>{},this.onTouched=()=>{}}setProperty(w,it){this._renderer.setProperty(this._elementRef.nativeElement,w,it)}registerOnTouched(w){this.onTouched=w}registerOnChange(w){this.onChange=w}setDisabledState(w){this.setProperty("disabled",w)}static{this.\u0275fac=function(it){return new(it||S)(o.rXU(o.sFG),o.rXU(o.aKT))}}static{this.\u0275dir=o.FsC({type:S})}}return S})(),P=(()=>{class S extends G{static{this.\u0275fac=function(){let w;return function(Bt){return(w||(w=o.xGo(S)))(Bt||S)}}()}static{this.\u0275dir=o.FsC({type:S,features:[o.Vt3]})}}return S})();const Z=new o.nKC("NgValueAccessor"),q={provide:Z,useExisting:(0,o.Rfq)(()=>a),multi:!0},M=new o.nKC("CompositionEventMode");let a=(()=>{class S extends G{constructor(w,it,Bt){super(w,it),this._compositionMode=Bt,this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function K(){const S=(0,y.QT)()?(0,y.QT)().getUserAgent():"";return/android (\d+)/.test(S.toLowerCase())}())}writeValue(w){this.setProperty("value",w??"")}_handleInput(w){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(w)}_compositionStart(){this._composing=!0}_compositionEnd(w){this._composing=!1,this._compositionMode&&this.onChange(w)}static{this.\u0275fac=function(it){return new(it||S)(o.rXU(o.sFG),o.rXU(o.aKT),o.rXU(M,8))}}static{this.\u0275dir=o.FsC({type:S,selectors:[["input","formControlName","",3,"type","checkbox"],["textarea","formControlName",""],["input","formControl","",3,"type","checkbox"],["textarea","formControl",""],["input","ngModel","",3,"type","checkbox"],["textarea","ngModel",""],["","ngDefaultControl",""]],hostBindings:function(it,Bt){1&it&&o.bIt("input",function(zn){return Bt._handleInput(zn.target.value)})("blur",function(){return Bt.onTouched()})("compositionstart",function(){return Bt._compositionStart()})("compositionend",function(zn){return Bt._compositionEnd(zn.target.value)})},features:[o.Jv_([q]),o.Vt3]})}}return S})();function pt(S){return null==S||("string"==typeof S||Array.isArray(S))&&0===S.length}function j(S){return null!=S&&"number"==typeof S.length}const J=new o.nKC("NgValidators"),bt=new o.nKC("NgAsyncValidators"),Gt=/^(?=.{1,254}$)(?=.{1,64}@)[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+)*@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/;class te{static min(B){return $(B)}static max(B){return lt(B)}static required(B){return V(B)}static requiredTrue(B){return mt(B)}static email(B){return function rt(S){return pt(S.value)||Gt.test(S.value)?null:{email:!0}}(B)}static minLength(B){return function $t(S){return B=>pt(B.value)||!j(B.value)?null:B.value.length{if(pt(it.value))return null;const Bt=it.value;return B.test(Bt)?null:{pattern:{requiredPattern:w,actualValue:Bt}}}}(B)}static nullValidator(B){return null}static compose(B){return be(B)}static composeAsync(B){return yt(B)}}function $(S){return B=>{if(pt(B.value)||pt(S))return null;const w=parseFloat(B.value);return!isNaN(w)&&w{if(pt(B.value)||pt(S))return null;const w=parseFloat(B.value);return!isNaN(w)&&w>S?{max:{max:S,actual:B.value}}:null}}function V(S){return pt(S.value)?{required:!0}:null}function mt(S){return!0===S.value?null:{required:!0}}function de(S){return B=>j(B.value)&&B.value.length>S?{maxlength:{requiredLength:S,actualLength:B.value.length}}:null}function Le(S){return null}function Ge(S){return null!=S}function Xe(S){return(0,o.jNT)(S)?(0,b.H)(S):S}function ye(S){let B={};return S.forEach(w=>{B=null!=w?{...B,...w}:B}),0===Object.keys(B).length?null:B}function Ve(S,B){return B.map(w=>w(S))}function Qe(S){return S.map(B=>function Oe(S){return!S.validate}(B)?B:w=>B.validate(w))}function be(S){if(!S)return null;const B=S.filter(Ge);return 0==B.length?null:function(w){return ye(Ve(w,B))}}function Me(S){return null!=S?be(Qe(S)):null}function yt(S){if(!S)return null;const B=S.filter(Ge);return 0==B.length?null:function(w){const it=Ve(w,B).map(Xe);return(0,T.p)(it).pipe((0,k.T)(ye))}}function Kt(S){return null!=S?yt(Qe(S)):null}function Nt(S,B){return null===S?[B]:Array.isArray(S)?[...S,B]:[S,B]}function Tt(S){return S._rawValidators}function Yt(S){return S._rawAsyncValidators}function Ut(S){return S?Array.isArray(S)?S:[S]:[]}function Ne(S,B){return Array.isArray(S)?S.includes(B):S===B}function ke(S,B){const w=Ut(B);return Ut(S).forEach(Bt=>{Ne(w,Bt)||w.push(Bt)}),w}function un(S,B){return Ut(B).filter(w=>!Ne(S,w))}class gt{constructor(){this._rawValidators=[],this._rawAsyncValidators=[],this._onDestroyCallbacks=[]}get value(){return this.control?this.control.value:null}get valid(){return this.control?this.control.valid:null}get invalid(){return this.control?this.control.invalid:null}get pending(){return this.control?this.control.pending:null}get disabled(){return this.control?this.control.disabled:null}get enabled(){return this.control?this.control.enabled:null}get errors(){return this.control?this.control.errors:null}get pristine(){return this.control?this.control.pristine:null}get dirty(){return this.control?this.control.dirty:null}get touched(){return this.control?this.control.touched:null}get status(){return this.control?this.control.status:null}get untouched(){return this.control?this.control.untouched:null}get statusChanges(){return this.control?this.control.statusChanges:null}get valueChanges(){return this.control?this.control.valueChanges:null}get path(){return null}_setValidators(B){this._rawValidators=B||[],this._composedValidatorFn=Me(this._rawValidators)}_setAsyncValidators(B){this._rawAsyncValidators=B||[],this._composedAsyncValidatorFn=Kt(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(B){this._onDestroyCallbacks.push(B)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(B=>B()),this._onDestroyCallbacks=[]}reset(B=void 0){this.control&&this.control.reset(B)}hasError(B,w){return!!this.control&&this.control.hasError(B,w)}getError(B,w){return this.control?this.control.getError(B,w):null}}class le extends gt{get formDirective(){return null}get path(){return null}}class Vt extends gt{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}}class oe{constructor(B){this._cd=B}get isTouched(){return!!this._cd?.control?.touched}get isUntouched(){return!!this._cd?.control?.untouched}get isPristine(){return!!this._cd?.control?.pristine}get isDirty(){return!!this._cd?.control?.dirty}get isValid(){return!!this._cd?.control?.valid}get isInvalid(){return!!this._cd?.control?.invalid}get isPending(){return!!this._cd?.control?.pending}get isSubmitted(){return!!this._cd?.submitted}}let re=(()=>{class S extends oe{constructor(w){super(w)}static{this.\u0275fac=function(it){return new(it||S)(o.rXU(Vt,2))}}static{this.\u0275dir=o.FsC({type:S,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(it,Bt){2&it&&o.AVh("ng-untouched",Bt.isUntouched)("ng-touched",Bt.isTouched)("ng-pristine",Bt.isPristine)("ng-dirty",Bt.isDirty)("ng-valid",Bt.isValid)("ng-invalid",Bt.isInvalid)("ng-pending",Bt.isPending)},features:[o.Vt3]})}}return S})(),Ee=(()=>{class S extends oe{constructor(w){super(w)}static{this.\u0275fac=function(it){return new(it||S)(o.rXU(le,10))}}static{this.\u0275dir=o.FsC({type:S,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(it,Bt){2&it&&o.AVh("ng-untouched",Bt.isUntouched)("ng-touched",Bt.isTouched)("ng-pristine",Bt.isPristine)("ng-dirty",Bt.isDirty)("ng-valid",Bt.isValid)("ng-invalid",Bt.isInvalid)("ng-pending",Bt.isPending)("ng-submitted",Bt.isSubmitted)},features:[o.Vt3]})}}return S})();const on="VALID",_n="INVALID",hn="PENDING",fe="DISABLED";function cn(S){return(dt(S)?S.validators:S)||null}function jt(S,B){return(dt(B)?B.asyncValidators:S)||null}function dt(S){return null!=S&&!Array.isArray(S)&&"object"==typeof S}function Rt(S,B,w){const it=S.controls;if(!(B?Object.keys(it):it).length)throw new o.wOt(1e3,"");if(!it[w])throw new o.wOt(1001,"")}function ae(S,B,w){S._forEachChild((it,Bt)=>{if(void 0===w[Bt])throw new o.wOt(1002,"")})}class ze{constructor(B,w){this._pendingDirty=!1,this._hasOwnPendingAsyncValidator=!1,this._pendingTouched=!1,this._onCollectionChange=()=>{},this._parent=null,this.pristine=!0,this.touched=!1,this._onDisabledChange=[],this._assignValidators(B),this._assignAsyncValidators(w)}get validator(){return this._composedValidatorFn}set validator(B){this._rawValidators=this._composedValidatorFn=B}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(B){this._rawAsyncValidators=this._composedAsyncValidatorFn=B}get parent(){return this._parent}get valid(){return this.status===on}get invalid(){return this.status===_n}get pending(){return this.status==hn}get disabled(){return this.status===fe}get enabled(){return this.status!==fe}get dirty(){return!this.pristine}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(B){this._assignValidators(B)}setAsyncValidators(B){this._assignAsyncValidators(B)}addValidators(B){this.setValidators(ke(B,this._rawValidators))}addAsyncValidators(B){this.setAsyncValidators(ke(B,this._rawAsyncValidators))}removeValidators(B){this.setValidators(un(B,this._rawValidators))}removeAsyncValidators(B){this.setAsyncValidators(un(B,this._rawAsyncValidators))}hasValidator(B){return Ne(this._rawValidators,B)}hasAsyncValidator(B){return Ne(this._rawAsyncValidators,B)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(B={}){this.touched=!0,this._parent&&!B.onlySelf&&this._parent.markAsTouched(B)}markAllAsTouched(){this.markAsTouched({onlySelf:!0}),this._forEachChild(B=>B.markAllAsTouched())}markAsUntouched(B={}){this.touched=!1,this._pendingTouched=!1,this._forEachChild(w=>{w.markAsUntouched({onlySelf:!0})}),this._parent&&!B.onlySelf&&this._parent._updateTouched(B)}markAsDirty(B={}){this.pristine=!1,this._parent&&!B.onlySelf&&this._parent.markAsDirty(B)}markAsPristine(B={}){this.pristine=!0,this._pendingDirty=!1,this._forEachChild(w=>{w.markAsPristine({onlySelf:!0})}),this._parent&&!B.onlySelf&&this._parent._updatePristine(B)}markAsPending(B={}){this.status=hn,!1!==B.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!B.onlySelf&&this._parent.markAsPending(B)}disable(B={}){const w=this._parentMarkedDirty(B.onlySelf);this.status=fe,this.errors=null,this._forEachChild(it=>{it.disable({...B,onlySelf:!0})}),this._updateValue(),!1!==B.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors({...B,skipPristineCheck:w}),this._onDisabledChange.forEach(it=>it(!0))}enable(B={}){const w=this._parentMarkedDirty(B.onlySelf);this.status=on,this._forEachChild(it=>{it.enable({...B,onlySelf:!0})}),this.updateValueAndValidity({onlySelf:!0,emitEvent:B.emitEvent}),this._updateAncestors({...B,skipPristineCheck:w}),this._onDisabledChange.forEach(it=>it(!1))}_updateAncestors(B){this._parent&&!B.onlySelf&&(this._parent.updateValueAndValidity(B),B.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}setParent(B){this._parent=B}getRawValue(){return this.value}updateValueAndValidity(B={}){this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===on||this.status===hn)&&this._runAsyncValidator(B.emitEvent)),!1!==B.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!B.onlySelf&&this._parent.updateValueAndValidity(B)}_updateTreeValidity(B={emitEvent:!0}){this._forEachChild(w=>w._updateTreeValidity(B)),this.updateValueAndValidity({onlySelf:!0,emitEvent:B.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?fe:on}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(B){if(this.asyncValidator){this.status=hn,this._hasOwnPendingAsyncValidator=!0;const w=Xe(this.asyncValidator(this));this._asyncValidationSubscription=w.subscribe(it=>{this._hasOwnPendingAsyncValidator=!1,this.setErrors(it,{emitEvent:B})})}}_cancelExistingSubscription(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)}setErrors(B,w={}){this.errors=B,this._updateControlsErrors(!1!==w.emitEvent)}get(B){let w=B;return null==w||(Array.isArray(w)||(w=w.split(".")),0===w.length)?null:w.reduce((it,Bt)=>it&&it._find(Bt),this)}getError(B,w){const it=w?this.get(w):this;return it&&it.errors?it.errors[B]:null}hasError(B,w){return!!this.getError(B,w)}get root(){let B=this;for(;B._parent;)B=B._parent;return B}_updateControlsErrors(B){this.status=this._calculateStatus(),B&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(B)}_initObservables(){this.valueChanges=new o.bkB,this.statusChanges=new o.bkB}_calculateStatus(){return this._allControlsDisabled()?fe:this.errors?_n:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(hn)?hn:this._anyControlsHaveStatus(_n)?_n:on}_anyControlsHaveStatus(B){return this._anyControls(w=>w.status===B)}_anyControlsDirty(){return this._anyControls(B=>B.dirty)}_anyControlsTouched(){return this._anyControls(B=>B.touched)}_updatePristine(B={}){this.pristine=!this._anyControlsDirty(),this._parent&&!B.onlySelf&&this._parent._updatePristine(B)}_updateTouched(B={}){this.touched=this._anyControlsTouched(),this._parent&&!B.onlySelf&&this._parent._updateTouched(B)}_registerOnCollectionChange(B){this._onCollectionChange=B}_setUpdateStrategy(B){dt(B)&&null!=B.updateOn&&(this._updateOn=B.updateOn)}_parentMarkedDirty(B){return!B&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}_find(B){return null}_assignValidators(B){this._rawValidators=Array.isArray(B)?B.slice():B,this._composedValidatorFn=function me(S){return Array.isArray(S)?Me(S):S||null}(this._rawValidators)}_assignAsyncValidators(B){this._rawAsyncValidators=Array.isArray(B)?B.slice():B,this._composedAsyncValidatorFn=function Dt(S){return Array.isArray(S)?Kt(S):S||null}(this._rawAsyncValidators)}}class Zt extends ze{constructor(B,w,it){super(cn(w),jt(it,w)),this.controls=B,this._initObservables(),this._setUpdateStrategy(w),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}registerControl(B,w){return this.controls[B]?this.controls[B]:(this.controls[B]=w,w.setParent(this),w._registerOnCollectionChange(this._onCollectionChange),w)}addControl(B,w,it={}){this.registerControl(B,w),this.updateValueAndValidity({emitEvent:it.emitEvent}),this._onCollectionChange()}removeControl(B,w={}){this.controls[B]&&this.controls[B]._registerOnCollectionChange(()=>{}),delete this.controls[B],this.updateValueAndValidity({emitEvent:w.emitEvent}),this._onCollectionChange()}setControl(B,w,it={}){this.controls[B]&&this.controls[B]._registerOnCollectionChange(()=>{}),delete this.controls[B],w&&this.registerControl(B,w),this.updateValueAndValidity({emitEvent:it.emitEvent}),this._onCollectionChange()}contains(B){return this.controls.hasOwnProperty(B)&&this.controls[B].enabled}setValue(B,w={}){ae(this,0,B),Object.keys(B).forEach(it=>{Rt(this,!0,it),this.controls[it].setValue(B[it],{onlySelf:!0,emitEvent:w.emitEvent})}),this.updateValueAndValidity(w)}patchValue(B,w={}){null!=B&&(Object.keys(B).forEach(it=>{const Bt=this.controls[it];Bt&&Bt.patchValue(B[it],{onlySelf:!0,emitEvent:w.emitEvent})}),this.updateValueAndValidity(w))}reset(B={},w={}){this._forEachChild((it,Bt)=>{it.reset(B?B[Bt]:null,{onlySelf:!0,emitEvent:w.emitEvent})}),this._updatePristine(w),this._updateTouched(w),this.updateValueAndValidity(w)}getRawValue(){return this._reduceChildren({},(B,w,it)=>(B[it]=w.getRawValue(),B))}_syncPendingControls(){let B=this._reduceChildren(!1,(w,it)=>!!it._syncPendingControls()||w);return B&&this.updateValueAndValidity({onlySelf:!0}),B}_forEachChild(B){Object.keys(this.controls).forEach(w=>{const it=this.controls[w];it&&B(it,w)})}_setUpControls(){this._forEachChild(B=>{B.setParent(this),B._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(B){for(const[w,it]of Object.entries(this.controls))if(this.contains(w)&&B(it))return!0;return!1}_reduceValue(){return this._reduceChildren({},(w,it,Bt)=>((it.enabled||this.disabled)&&(w[Bt]=it.value),w))}_reduceChildren(B,w){let it=B;return this._forEachChild((Bt,en)=>{it=w(it,Bt,en)}),it}_allControlsDisabled(){for(const B of Object.keys(this.controls))if(this.controls[B].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_find(B){return this.controls.hasOwnProperty(B)?this.controls[B]:null}}class A extends Zt{}const Jt=new o.nKC("CallSetDisabledState",{providedIn:"root",factory:()=>Fe}),Fe="always";function Ze(S,B){return[...B.path,S]}function xn(S,B,w=Fe){ee(S,B),B.valueAccessor.writeValue(S.value),(S.disabled||"always"===w)&&B.valueAccessor.setDisabledState?.(S.disabled),function _t(S,B){B.valueAccessor.registerOnChange(w=>{S._pendingValue=w,S._pendingChange=!0,S._pendingDirty=!0,"change"===S.updateOn&&Mt(S,B)})}(S,B),function Wt(S,B){const w=(it,Bt)=>{B.valueAccessor.writeValue(it),Bt&&B.viewToModelUpdate(it)};S.registerOnChange(w),B._registerOnDestroy(()=>{S._unregisterOnChange(w)})}(S,B),function Q(S,B){B.valueAccessor.registerOnTouched(()=>{S._pendingTouched=!0,"blur"===S.updateOn&&S._pendingChange&&Mt(S,B),"submit"!==S.updateOn&&S.markAsTouched()})}(S,B),function Qn(S,B){if(B.valueAccessor.setDisabledState){const w=it=>{B.valueAccessor.setDisabledState(it)};S.registerOnDisabledChange(w),B._registerOnDestroy(()=>{S._unregisterOnDisabledChange(w)})}}(S,B)}function Ie(S,B,w=!0){const it=()=>{};B.valueAccessor&&(B.valueAccessor.registerOnChange(it),B.valueAccessor.registerOnTouched(it)),I(S,B),S&&(B._invokeOnDestroyCallbacks(),S._registerOnCollectionChange(()=>{}))}function Nn(S,B){S.forEach(w=>{w.registerOnValidatorChange&&w.registerOnValidatorChange(B)})}function ee(S,B){const w=Tt(S);null!==B.validator?S.setValidators(Nt(w,B.validator)):"function"==typeof w&&S.setValidators([w]);const it=Yt(S);null!==B.asyncValidator?S.setAsyncValidators(Nt(it,B.asyncValidator)):"function"==typeof it&&S.setAsyncValidators([it]);const Bt=()=>S.updateValueAndValidity();Nn(B._rawValidators,Bt),Nn(B._rawAsyncValidators,Bt)}function I(S,B){let w=!1;if(null!==S){if(null!==B.validator){const Bt=Tt(S);if(Array.isArray(Bt)&&Bt.length>0){const en=Bt.filter(zn=>zn!==B.validator);en.length!==Bt.length&&(w=!0,S.setValidators(en))}}if(null!==B.asyncValidator){const Bt=Yt(S);if(Array.isArray(Bt)&&Bt.length>0){const en=Bt.filter(zn=>zn!==B.asyncValidator);en.length!==Bt.length&&(w=!0,S.setAsyncValidators(en))}}}const it=()=>{};return Nn(B._rawValidators,it),Nn(B._rawAsyncValidators,it),w}function Mt(S,B){S._pendingDirty&&S.markAsDirty(),S.setValue(S._pendingValue,{emitModelToViewChange:!1}),B.viewToModelUpdate(S._pendingValue),S._pendingChange=!1}function se(S,B){ee(S,B)}function Dn(S,B){if(!S.hasOwnProperty("model"))return!1;const w=S.model;return!!w.isFirstChange()||!Object.is(B,w.currentValue)}function Mn(S,B){S._syncPendingControls(),B.forEach(w=>{const it=w.control;"submit"===it.updateOn&&it._pendingChange&&(w.viewToModelUpdate(it._pendingValue),it._pendingChange=!1)})}function In(S,B){if(!B)return null;let w,it,Bt;return Array.isArray(B),B.forEach(en=>{en.constructor===a?w=en:function Fn(S){return Object.getPrototypeOf(S.constructor)===P}(en)?it=en:Bt=en}),Bt||it||w||null}const Bn={provide:le,useExisting:(0,o.Rfq)(()=>Mi)},Jn=(()=>Promise.resolve())();let Mi=(()=>{class S extends le{constructor(w,it,Bt){super(),this.callSetDisabledState=Bt,this.submitted=!1,this._directives=new Set,this.ngSubmit=new o.bkB,this.form=new Zt({},Me(w),Kt(it))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(w){Jn.then(()=>{const it=this._findContainer(w.path);w.control=it.registerControl(w.name,w.control),xn(w.control,w,this.callSetDisabledState),w.control.updateValueAndValidity({emitEvent:!1}),this._directives.add(w)})}getControl(w){return this.form.get(w.path)}removeControl(w){Jn.then(()=>{const it=this._findContainer(w.path);it&&it.removeControl(w.name),this._directives.delete(w)})}addFormGroup(w){Jn.then(()=>{const it=this._findContainer(w.path),Bt=new Zt({});se(Bt,w),it.registerControl(w.name,Bt),Bt.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(w){Jn.then(()=>{const it=this._findContainer(w.path);it&&it.removeControl(w.name)})}getFormGroup(w){return this.form.get(w.path)}updateModel(w,it){Jn.then(()=>{this.form.get(w.path).setValue(it)})}setValue(w){this.control.setValue(w)}onSubmit(w){return this.submitted=!0,Mn(this.form,this._directives),this.ngSubmit.emit(w),"dialog"===w?.target?.method}onReset(){this.resetForm()}resetForm(w=void 0){this.form.reset(w),this.submitted=!1}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.form._updateOn=this.options.updateOn)}_findContainer(w){return w.pop(),w.length?this.form.get(w):this.form}static{this.\u0275fac=function(it){return new(it||S)(o.rXU(J,10),o.rXU(bt,10),o.rXU(Jt,8))}}static{this.\u0275dir=o.FsC({type:S,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(it,Bt){1&it&&o.bIt("submit",function(zn){return Bt.onSubmit(zn)})("reset",function(){return Bt.onReset()})},inputs:{options:["ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[o.Jv_([Bn]),o.Vt3]})}}return S})();function pi(S,B){const w=S.indexOf(B);w>-1&&S.splice(w,1)}function Fi(S){return"object"==typeof S&&null!==S&&2===Object.keys(S).length&&"value"in S&&"disabled"in S}const oi=class extends ze{constructor(B=null,w,it){super(cn(w),jt(it,w)),this.defaultValue=null,this._onChange=[],this._pendingChange=!1,this._applyFormState(B),this._setUpdateStrategy(w),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),dt(w)&&(w.nonNullable||w.initialValueIsDefault)&&(this.defaultValue=Fi(B)?B.value:B)}setValue(B,w={}){this.value=this._pendingValue=B,this._onChange.length&&!1!==w.emitModelToViewChange&&this._onChange.forEach(it=>it(this.value,!1!==w.emitViewToModelChange)),this.updateValueAndValidity(w)}patchValue(B,w={}){this.setValue(B,w)}reset(B=this.defaultValue,w={}){this._applyFormState(B),this.markAsPristine(w),this.markAsUntouched(w),this.setValue(this.value,w),this._pendingChange=!1}_updateValue(){}_anyControls(B){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(B){this._onChange.push(B)}_unregisterOnChange(B){pi(this._onChange,B)}registerOnDisabledChange(B){this._onDisabledChange.push(B)}_unregisterOnDisabledChange(B){pi(this._onDisabledChange,B)}_forEachChild(B){}_syncPendingControls(){return!("submit"!==this.updateOn||(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),!this._pendingChange)||(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),0))}_applyFormState(B){Fi(B)?(this.value=this._pendingValue=B.value,B.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=B}};let si=(()=>{class S extends le{ngOnInit(){this._checkParentType(),this.formDirective.addFormGroup(this)}ngOnDestroy(){this.formDirective&&this.formDirective.removeFormGroup(this)}get control(){return this.formDirective.getFormGroup(this)}get path(){return Ze(null==this.name?this.name:this.name.toString(),this._parent)}get formDirective(){return this._parent?this._parent.formDirective:null}_checkParentType(){}static{this.\u0275fac=function(){let w;return function(Bt){return(w||(w=o.xGo(S)))(Bt||S)}}()}static{this.\u0275dir=o.FsC({type:S,features:[o.Vt3]})}}return S})();const wo={provide:Vt,useExisting:(0,o.Rfq)(()=>Oi)},Jc=(()=>Promise.resolve())();let Oi=(()=>{class S extends Vt{constructor(w,it,Bt,en,zn,wi){super(),this._changeDetectorRef=zn,this.callSetDisabledState=wi,this.control=new oi,this._registered=!1,this.name="",this.update=new o.bkB,this._parent=w,this._setValidators(it),this._setAsyncValidators(Bt),this.valueAccessor=In(0,en)}ngOnChanges(w){if(this._checkForErrors(),!this._registered||"name"in w){if(this._registered&&(this._checkName(),this.formDirective)){const it=w.name.previousValue;this.formDirective.removeControl({name:it,path:this._getPath(it)})}this._setUpControl()}"isDisabled"in w&&this._updateDisabled(w),Dn(w,this.viewModel)&&(this._updateValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}get path(){return this._getPath(this.name)}get formDirective(){return this._parent?this._parent.formDirective:null}viewToModelUpdate(w){this.viewModel=w,this.update.emit(w)}_setUpControl(){this._setUpdateStrategy(),this._isStandalone()?this._setUpStandalone():this.formDirective.addControl(this),this._registered=!0}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.control._updateOn=this.options.updateOn)}_isStandalone(){return!this._parent||!(!this.options||!this.options.standalone)}_setUpStandalone(){xn(this.control,this,this.callSetDisabledState),this.control.updateValueAndValidity({emitEvent:!1})}_checkForErrors(){this._isStandalone()||this._checkParentType(),this._checkName()}_checkParentType(){}_checkName(){this.options&&this.options.name&&(this.name=this.options.name),this._isStandalone()}_updateValue(w){Jc.then(()=>{this.control.setValue(w,{emitViewToModelChange:!1}),this._changeDetectorRef?.markForCheck()})}_updateDisabled(w){const it=w.isDisabled.currentValue,Bt=0!==it&&(0,o.L39)(it);Jc.then(()=>{Bt&&!this.control.disabled?this.control.disable():!Bt&&this.control.disabled&&this.control.enable(),this._changeDetectorRef?.markForCheck()})}_getPath(w){return this._parent?Ze(w,this._parent):[w]}static{this.\u0275fac=function(it){return new(it||S)(o.rXU(le,9),o.rXU(J,10),o.rXU(bt,10),o.rXU(Z,10),o.rXU(o.gRc,8),o.rXU(Jt,8))}}static{this.\u0275dir=o.FsC({type:S,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:["disabled","isDisabled"],model:["ngModel","model"],options:["ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],features:[o.Jv_([wo]),o.Vt3,o.OA$]})}}return S})(),mc=(()=>{class S{static{this.\u0275fac=function(it){return new(it||S)}}static{this.\u0275dir=o.FsC({type:S,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""]})}}return S})();const Bo={provide:Z,useExisting:(0,o.Rfq)(()=>Vo),multi:!0};let Vo=(()=>{class S extends P{writeValue(w){this.setProperty("value",w??"")}registerOnChange(w){this.onChange=it=>{w(""==it?null:parseFloat(it))}}static{this.\u0275fac=function(){let w;return function(Bt){return(w||(w=o.xGo(S)))(Bt||S)}}()}static{this.\u0275dir=o.FsC({type:S,selectors:[["input","type","number","formControlName",""],["input","type","number","formControl",""],["input","type","number","ngModel",""]],hostBindings:function(it,Bt){1&it&&o.bIt("input",function(zn){return Bt.onChange(zn.target.value)})("blur",function(){return Bt.onTouched()})},features:[o.Jv_([Bo]),o.Vt3]})}}return S})();const Ec={provide:Z,useExisting:(0,o.Rfq)(()=>Uo),multi:!0};let Ji=(()=>{class S{static{this.\u0275fac=function(it){return new(it||S)}}static{this.\u0275mod=o.$C({type:S})}static{this.\u0275inj=o.G2t({})}}return S})(),fc=(()=>{class S{constructor(){this._accessors=[]}add(w,it){this._accessors.push([w,it])}remove(w){for(let it=this._accessors.length-1;it>=0;--it)if(this._accessors[it][1]===w)return void this._accessors.splice(it,1)}select(w){this._accessors.forEach(it=>{this._isSameGroup(it,w)&&it[1]!==w&&it[1].fireUncheck(w.value)})}_isSameGroup(w,it){return!!w[0].control&&w[0]._parent===it._control._parent&&w[1].name===it.name}static{this.\u0275fac=function(it){return new(it||S)}}static{this.\u0275prov=o.jDH({token:S,factory:S.\u0275fac,providedIn:Ji})}}return S})(),Uo=(()=>{class S extends P{constructor(w,it,Bt,en){super(w,it),this._registry=Bt,this._injector=en,this.setDisabledStateFired=!1,this.onChange=()=>{},this.callSetDisabledState=(0,o.WQX)(Jt,{optional:!0})??Fe}ngOnInit(){this._control=this._injector.get(Vt),this._checkName(),this._registry.add(this._control,this)}ngOnDestroy(){this._registry.remove(this)}writeValue(w){this._state=w===this.value,this.setProperty("checked",this._state)}registerOnChange(w){this._fn=w,this.onChange=()=>{w(this.value),this._registry.select(this)}}setDisabledState(w){(this.setDisabledStateFired||w||"whenDisabledForLegacyCode"===this.callSetDisabledState)&&this.setProperty("disabled",w),this.setDisabledStateFired=!0}fireUncheck(w){this.writeValue(w)}_checkName(){!this.name&&this.formControlName&&(this.name=this.formControlName)}static{this.\u0275fac=function(it){return new(it||S)(o.rXU(o.sFG),o.rXU(o.aKT),o.rXU(fc),o.rXU(o.zZn))}}static{this.\u0275dir=o.FsC({type:S,selectors:[["input","type","radio","formControlName",""],["input","type","radio","formControl",""],["input","type","radio","ngModel",""]],hostBindings:function(it,Bt){1&it&&o.bIt("change",function(){return Bt.onChange()})("blur",function(){return Bt.onTouched()})},inputs:{name:"name",formControlName:"formControlName",value:"value"},features:[o.Jv_([Ec]),o.Vt3]})}}return S})();const En=new o.nKC("NgModelWithFormControlWarning"),di={provide:Vt,useExisting:(0,o.Rfq)(()=>ei)};let ei=(()=>{class S extends Vt{set isDisabled(w){}static{this._ngModelWarningSentOnce=!1}constructor(w,it,Bt,en,zn){super(),this._ngModelWarningConfig=en,this.callSetDisabledState=zn,this.update=new o.bkB,this._ngModelWarningSent=!1,this._setValidators(w),this._setAsyncValidators(it),this.valueAccessor=In(0,Bt)}ngOnChanges(w){if(this._isControlChanged(w)){const it=w.form.previousValue;it&&Ie(it,this,!1),xn(this.form,this,this.callSetDisabledState),this.form.updateValueAndValidity({emitEvent:!1})}Dn(w,this.viewModel)&&(this.form.setValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.form&&Ie(this.form,this,!1)}get path(){return[]}get control(){return this.form}viewToModelUpdate(w){this.viewModel=w,this.update.emit(w)}_isControlChanged(w){return w.hasOwnProperty("form")}static{this.\u0275fac=function(it){return new(it||S)(o.rXU(J,10),o.rXU(bt,10),o.rXU(Z,10),o.rXU(En,8),o.rXU(Jt,8))}}static{this.\u0275dir=o.FsC({type:S,selectors:[["","formControl",""]],inputs:{form:["formControl","form"],isDisabled:["disabled","isDisabled"],model:["ngModel","model"]},outputs:{update:"ngModelChange"},exportAs:["ngForm"],features:[o.Jv_([di]),o.Vt3,o.OA$]})}}return S})();const Eo={provide:le,useExisting:(0,o.Rfq)(()=>ci)};let ci=(()=>{class S extends le{constructor(w,it,Bt){super(),this.callSetDisabledState=Bt,this.submitted=!1,this._onCollectionChange=()=>this._updateDomValue(),this.directives=[],this.form=null,this.ngSubmit=new o.bkB,this._setValidators(w),this._setAsyncValidators(it)}ngOnChanges(w){this._checkFormPresent(),w.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}ngOnDestroy(){this.form&&(I(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(()=>{}))}get formDirective(){return this}get control(){return this.form}get path(){return[]}addControl(w){const it=this.form.get(w.path);return xn(it,w,this.callSetDisabledState),it.updateValueAndValidity({emitEvent:!1}),this.directives.push(w),it}getControl(w){return this.form.get(w.path)}removeControl(w){Ie(w.control||null,w,!1),function li(S,B){const w=S.indexOf(B);w>-1&&S.splice(w,1)}(this.directives,w)}addFormGroup(w){this._setUpFormContainer(w)}removeFormGroup(w){this._cleanUpFormContainer(w)}getFormGroup(w){return this.form.get(w.path)}addFormArray(w){this._setUpFormContainer(w)}removeFormArray(w){this._cleanUpFormContainer(w)}getFormArray(w){return this.form.get(w.path)}updateModel(w,it){this.form.get(w.path).setValue(it)}onSubmit(w){return this.submitted=!0,Mn(this.form,this.directives),this.ngSubmit.emit(w),"dialog"===w?.target?.method}onReset(){this.resetForm()}resetForm(w=void 0){this.form.reset(w),this.submitted=!1}_updateDomValue(){this.directives.forEach(w=>{const it=w.control,Bt=this.form.get(w.path);it!==Bt&&(Ie(it||null,w),(S=>S instanceof oi)(Bt)&&(xn(Bt,w,this.callSetDisabledState),w.control=Bt))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(w){const it=this.form.get(w.path);se(it,w),it.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(w){if(this.form){const it=this.form.get(w.path);it&&function De(S,B){return I(S,B)}(it,w)&&it.updateValueAndValidity({emitEvent:!1})}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{})}_updateValidators(){ee(this.form,this),this._oldForm&&I(this._oldForm,this)}_checkFormPresent(){}static{this.\u0275fac=function(it){return new(it||S)(o.rXU(J,10),o.rXU(bt,10),o.rXU(Jt,8))}}static{this.\u0275dir=o.FsC({type:S,selectors:[["","formGroup",""]],hostBindings:function(it,Bt){1&it&&o.bIt("submit",function(zn){return Bt.onSubmit(zn)})("reset",function(){return Bt.onReset()})},inputs:{form:["formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[o.Jv_([Eo]),o.Vt3,o.OA$]})}}return S})();const Wi={provide:le,useExisting:(0,o.Rfq)(()=>Do)};let Do=(()=>{class S extends si{constructor(w,it,Bt){super(),this.name=null,this._parent=w,this._setValidators(it),this._setAsyncValidators(Bt)}_checkParentType(){qo(this._parent)}static{this.\u0275fac=function(it){return new(it||S)(o.rXU(le,13),o.rXU(J,10),o.rXU(bt,10))}}static{this.\u0275dir=o.FsC({type:S,selectors:[["","formGroupName",""]],inputs:{name:["formGroupName","name"]},features:[o.Jv_([Wi]),o.Vt3]})}}return S})();const Oo={provide:le,useExisting:(0,o.Rfq)(()=>mo)};let mo=(()=>{class S extends le{constructor(w,it,Bt){super(),this.name=null,this._parent=w,this._setValidators(it),this._setAsyncValidators(Bt)}ngOnInit(){this._checkParentType(),this.formDirective.addFormArray(this)}ngOnDestroy(){this.formDirective&&this.formDirective.removeFormArray(this)}get control(){return this.formDirective.getFormArray(this)}get formDirective(){return this._parent?this._parent.formDirective:null}get path(){return Ze(null==this.name?this.name:this.name.toString(),this._parent)}_checkParentType(){qo(this._parent)}static{this.\u0275fac=function(it){return new(it||S)(o.rXU(le,13),o.rXU(J,10),o.rXU(bt,10))}}static{this.\u0275dir=o.FsC({type:S,selectors:[["","formArrayName",""]],inputs:{name:["formArrayName","name"]},features:[o.Jv_([Oo]),o.Vt3]})}}return S})();function qo(S){return!(S instanceof Do||S instanceof ci||S instanceof mo)}const qn={provide:Vt,useExisting:(0,o.Rfq)(()=>We)};let We=(()=>{class S extends Vt{set isDisabled(w){}static{this._ngModelWarningSentOnce=!1}constructor(w,it,Bt,en,zn){super(),this._ngModelWarningConfig=zn,this._added=!1,this.name=null,this.update=new o.bkB,this._ngModelWarningSent=!1,this._parent=w,this._setValidators(it),this._setAsyncValidators(Bt),this.valueAccessor=In(0,en)}ngOnChanges(w){this._added||this._setUpControl(),Dn(w,this.viewModel)&&(this.viewModel=this.model,this.formDirective.updateModel(this,this.model))}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}viewToModelUpdate(w){this.viewModel=w,this.update.emit(w)}get path(){return Ze(null==this.name?this.name:this.name.toString(),this._parent)}get formDirective(){return this._parent?this._parent.formDirective:null}_checkParentType(){}_setUpControl(){this._checkParentType(),this.control=this.formDirective.addControl(this),this._added=!0}static{this.\u0275fac=function(it){return new(it||S)(o.rXU(le,13),o.rXU(J,10),o.rXU(bt,10),o.rXU(Z,10),o.rXU(En,8))}}static{this.\u0275dir=o.FsC({type:S,selectors:[["","formControlName",""]],inputs:{name:["formControlName","name"],isDisabled:["disabled","isDisabled"],model:["ngModel","model"]},outputs:{update:"ngModelChange"},features:[o.Jv_([qn]),o.Vt3,o.OA$]})}}return S})();const Cn={provide:Z,useExisting:(0,o.Rfq)(()=>Bi),multi:!0};function Hn(S,B){return null==S?`${B}`:(B&&"object"==typeof B&&(B="Object"),`${S}: ${B}`.slice(0,50))}let Bi=(()=>{class S extends P{constructor(){super(...arguments),this._optionMap=new Map,this._idCounter=0,this._compareWith=Object.is}set compareWith(w){this._compareWith=w}writeValue(w){this.value=w;const Bt=Hn(this._getOptionId(w),w);this.setProperty("value",Bt)}registerOnChange(w){this.onChange=it=>{this.value=this._getOptionValue(it),w(this.value)}}_registerOption(){return(this._idCounter++).toString()}_getOptionId(w){for(const it of this._optionMap.keys())if(this._compareWith(this._optionMap.get(it),w))return it;return null}_getOptionValue(w){const it=function Si(S){return S.split(":")[0]}(w);return this._optionMap.has(it)?this._optionMap.get(it):w}static{this.\u0275fac=function(){let w;return function(Bt){return(w||(w=o.xGo(S)))(Bt||S)}}()}static{this.\u0275dir=o.FsC({type:S,selectors:[["select","formControlName","",3,"multiple",""],["select","formControl","",3,"multiple",""],["select","ngModel","",3,"multiple",""]],hostBindings:function(it,Bt){1&it&&o.bIt("change",function(zn){return Bt.onChange(zn.target.value)})("blur",function(){return Bt.onTouched()})},inputs:{compareWith:"compareWith"},features:[o.Jv_([Cn]),o.Vt3]})}}return S})(),gi=(()=>{class S{constructor(w,it,Bt){this._element=w,this._renderer=it,this._select=Bt,this._select&&(this.id=this._select._registerOption())}set ngValue(w){null!=this._select&&(this._select._optionMap.set(this.id,w),this._setElementValue(Hn(this.id,w)),this._select.writeValue(this._select.value))}set value(w){this._setElementValue(w),this._select&&this._select.writeValue(this._select.value)}_setElementValue(w){this._renderer.setProperty(this._element.nativeElement,"value",w)}ngOnDestroy(){this._select&&(this._select._optionMap.delete(this.id),this._select.writeValue(this._select.value))}static{this.\u0275fac=function(it){return new(it||S)(o.rXU(o.aKT),o.rXU(o.sFG),o.rXU(Bi,9))}}static{this.\u0275dir=o.FsC({type:S,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"}})}}return S})();const So={provide:Z,useExisting:(0,o.Rfq)(()=>bn),multi:!0};function Vn(S,B){return null==S?`${B}`:("string"==typeof B&&(B=`'${B}'`),B&&"object"==typeof B&&(B="Object"),`${S}: ${B}`.slice(0,50))}let bn=(()=>{class S extends P{constructor(){super(...arguments),this._optionMap=new Map,this._idCounter=0,this._compareWith=Object.is}set compareWith(w){this._compareWith=w}writeValue(w){let it;if(this.value=w,Array.isArray(w)){const Bt=w.map(en=>this._getOptionId(en));it=(en,zn)=>{en._setSelected(Bt.indexOf(zn.toString())>-1)}}else it=(Bt,en)=>{Bt._setSelected(!1)};this._optionMap.forEach(it)}registerOnChange(w){this.onChange=it=>{const Bt=[],en=it.selectedOptions;if(void 0!==en){const zn=en;for(let wi=0;wi{class S{constructor(w,it,Bt){this._element=w,this._renderer=it,this._select=Bt,this._select&&(this.id=this._select._registerOption(this))}set ngValue(w){null!=this._select&&(this._value=w,this._setElementValue(Vn(this.id,w)),this._select.writeValue(this._select.value))}set value(w){this._select?(this._value=w,this._setElementValue(Vn(this.id,w)),this._select.writeValue(this._select.value)):this._setElementValue(w)}_setElementValue(w){this._renderer.setProperty(this._element.nativeElement,"value",w)}_setSelected(w){this._renderer.setProperty(this._element.nativeElement,"selected",w)}ngOnDestroy(){this._select&&(this._select._optionMap.delete(this.id),this._select.writeValue(this._select.value))}static{this.\u0275fac=function(it){return new(it||S)(o.rXU(o.aKT),o.rXU(o.sFG),o.rXU(bn,9))}}static{this.\u0275dir=o.FsC({type:S,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"}})}}return S})();function zi(S){return"number"==typeof S?S:parseFloat(S)}let $n=(()=>{class S{constructor(){this._validator=Le}ngOnChanges(w){if(this.inputName in w){const it=this.normalizeInput(w[this.inputName].currentValue);this._enabled=this.enabled(it),this._validator=this._enabled?this.createValidator(it):Le,this._onChange&&this._onChange()}}validate(w){return this._validator(w)}registerOnValidatorChange(w){this._onChange=w}enabled(w){return null!=w}static{this.\u0275fac=function(it){return new(it||S)}}static{this.\u0275dir=o.FsC({type:S,features:[o.OA$]})}}return S})();const zo={provide:J,useExisting:(0,o.Rfq)(()=>fo),multi:!0};let fo=(()=>{class S extends $n{constructor(){super(...arguments),this.inputName="max",this.normalizeInput=w=>zi(w),this.createValidator=w=>lt(w)}static{this.\u0275fac=function(){let w;return function(Bt){return(w||(w=o.xGo(S)))(Bt||S)}}()}static{this.\u0275dir=o.FsC({type:S,selectors:[["input","type","number","max","","formControlName",""],["input","type","number","max","","formControl",""],["input","type","number","max","","ngModel",""]],hostVars:1,hostBindings:function(it,Bt){2&it&&o.BMQ("max",Bt._enabled?Bt.max:null)},inputs:{max:"max"},features:[o.Jv_([zo]),o.Vt3]})}}return S})();const ho={provide:J,useExisting:(0,o.Rfq)(()=>Ho),multi:!0};let Ho=(()=>{class S extends $n{constructor(){super(...arguments),this.inputName="min",this.normalizeInput=w=>zi(w),this.createValidator=w=>$(w)}static{this.\u0275fac=function(){let w;return function(Bt){return(w||(w=o.xGo(S)))(Bt||S)}}()}static{this.\u0275dir=o.FsC({type:S,selectors:[["input","type","number","min","","formControlName",""],["input","type","number","min","","formControl",""],["input","type","number","min","","ngModel",""]],hostVars:1,hostBindings:function(it,Bt){2&it&&o.BMQ("min",Bt._enabled?Bt.min:null)},inputs:{min:"min"},features:[o.Jv_([ho]),o.Vt3]})}}return S})();const Vi={provide:J,useExisting:(0,o.Rfq)(()=>Pi),multi:!0},Po={provide:J,useExisting:(0,o.Rfq)(()=>eo),multi:!0};let Pi=(()=>{class S extends $n{constructor(){super(...arguments),this.inputName="required",this.normalizeInput=o.L39,this.createValidator=w=>V}enabled(w){return w}static{this.\u0275fac=function(){let w;return function(Bt){return(w||(w=o.xGo(S)))(Bt||S)}}()}static{this.\u0275dir=o.FsC({type:S,selectors:[["","required","","formControlName","",3,"type","checkbox"],["","required","","formControl","",3,"type","checkbox"],["","required","","ngModel","",3,"type","checkbox"]],hostVars:1,hostBindings:function(it,Bt){2&it&&o.BMQ("required",Bt._enabled?"":null)},inputs:{required:"required"},features:[o.Jv_([Vi]),o.Vt3]})}}return S})(),eo=(()=>{class S extends Pi{constructor(){super(...arguments),this.createValidator=w=>mt}static{this.\u0275fac=function(){let w;return function(Bt){return(w||(w=o.xGo(S)))(Bt||S)}}()}static{this.\u0275dir=o.FsC({type:S,selectors:[["input","type","checkbox","required","","formControlName",""],["input","type","checkbox","required","","formControl",""],["input","type","checkbox","required","","ngModel",""]],hostVars:1,hostBindings:function(it,Bt){2&it&&o.BMQ("required",Bt._enabled?"":null)},features:[o.Jv_([Po]),o.Vt3]})}}return S})();const ko={provide:J,useExisting:(0,o.Rfq)(()=>ui),multi:!0};let ui=(()=>{class S extends $n{constructor(){super(...arguments),this.inputName="maxlength",this.normalizeInput=w=>function to(S){return"number"==typeof S?S:parseInt(S,10)}(w),this.createValidator=w=>de(w)}static{this.\u0275fac=function(){let w;return function(Bt){return(w||(w=o.xGo(S)))(Bt||S)}}()}static{this.\u0275dir=o.FsC({type:S,selectors:[["","maxlength","","formControlName",""],["","maxlength","","formControl",""],["","maxlength","","ngModel",""]],hostVars:1,hostBindings:function(it,Bt){2&it&&o.BMQ("maxlength",Bt._enabled?Bt.maxlength:null)},inputs:{maxlength:"maxlength"},features:[o.Jv_([ko]),o.Vt3]})}}return S})(),mi=(()=>{class S{static{this.\u0275fac=function(it){return new(it||S)}}static{this.\u0275mod=o.$C({type:S})}static{this.\u0275inj=o.G2t({imports:[Ji]})}}return S})();class xi extends ze{constructor(B,w,it){super(cn(w),jt(it,w)),this.controls=B,this._initObservables(),this._setUpdateStrategy(w),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}at(B){return this.controls[this._adjustIndex(B)]}push(B,w={}){this.controls.push(B),this._registerControl(B),this.updateValueAndValidity({emitEvent:w.emitEvent}),this._onCollectionChange()}insert(B,w,it={}){this.controls.splice(B,0,w),this._registerControl(w),this.updateValueAndValidity({emitEvent:it.emitEvent})}removeAt(B,w={}){let it=this._adjustIndex(B);it<0&&(it=0),this.controls[it]&&this.controls[it]._registerOnCollectionChange(()=>{}),this.controls.splice(it,1),this.updateValueAndValidity({emitEvent:w.emitEvent})}setControl(B,w,it={}){let Bt=this._adjustIndex(B);Bt<0&&(Bt=0),this.controls[Bt]&&this.controls[Bt]._registerOnCollectionChange(()=>{}),this.controls.splice(Bt,1),w&&(this.controls.splice(Bt,0,w),this._registerControl(w)),this.updateValueAndValidity({emitEvent:it.emitEvent}),this._onCollectionChange()}get length(){return this.controls.length}setValue(B,w={}){ae(this,0,B),B.forEach((it,Bt)=>{Rt(this,!1,Bt),this.at(Bt).setValue(it,{onlySelf:!0,emitEvent:w.emitEvent})}),this.updateValueAndValidity(w)}patchValue(B,w={}){null!=B&&(B.forEach((it,Bt)=>{this.at(Bt)&&this.at(Bt).patchValue(it,{onlySelf:!0,emitEvent:w.emitEvent})}),this.updateValueAndValidity(w))}reset(B=[],w={}){this._forEachChild((it,Bt)=>{it.reset(B[Bt],{onlySelf:!0,emitEvent:w.emitEvent})}),this._updatePristine(w),this._updateTouched(w),this.updateValueAndValidity(w)}getRawValue(){return this.controls.map(B=>B.getRawValue())}clear(B={}){this.controls.length<1||(this._forEachChild(w=>w._registerOnCollectionChange(()=>{})),this.controls.splice(0),this.updateValueAndValidity({emitEvent:B.emitEvent}))}_adjustIndex(B){return B<0?B+this.length:B}_syncPendingControls(){let B=this.controls.reduce((w,it)=>!!it._syncPendingControls()||w,!1);return B&&this.updateValueAndValidity({onlySelf:!0}),B}_forEachChild(B){this.controls.forEach((w,it)=>{B(w,it)})}_updateValue(){this.value=this.controls.filter(B=>B.enabled||this.disabled).map(B=>B.value)}_anyControls(B){return this.controls.some(w=>w.enabled&&B(w))}_setUpControls(){this._forEachChild(B=>this._registerControl(B))}_allControlsDisabled(){for(const B of this.controls)if(B.enabled)return!1;return this.controls.length>0||this.disabled}_registerControl(B){B.setParent(this),B._registerOnCollectionChange(this._onCollectionChange)}_find(B){return this.at(B)??null}}function To(S){return!!S&&(void 0!==S.asyncValidators||void 0!==S.validators||void 0!==S.updateOn)}let ji=(()=>{class S{constructor(){this.useNonNullable=!1}get nonNullable(){const w=new S;return w.useNonNullable=!0,w}group(w,it=null){const Bt=this._reduceControls(w);let en={};return To(it)?en=it:null!==it&&(en.validators=it.validator,en.asyncValidators=it.asyncValidator),new Zt(Bt,en)}record(w,it=null){const Bt=this._reduceControls(w);return new A(Bt,it)}control(w,it,Bt){let en={};return this.useNonNullable?(To(it)?en=it:(en.validators=it,en.asyncValidators=Bt),new oi(w,{...en,nonNullable:!0})):new oi(w,it,Bt)}array(w,it,Bt){const en=w.map(zn=>this._createControl(zn));return new xi(en,it,Bt)}_reduceControls(w){const it={};return Object.keys(w).forEach(Bt=>{it[Bt]=this._createControl(w[Bt])}),it}_createControl(w){return w instanceof oi||w instanceof ze?w:Array.isArray(w)?this.control(w[0],w.length>1?w[1]:null,w.length>2?w[2]:null):this.control(w)}static{this.\u0275fac=function(it){return new(it||S)}}static{this.\u0275prov=o.jDH({token:S,factory:S.\u0275fac,providedIn:"root"})}}return S})(),Oc=(()=>{class S{static withConfig(w){return{ngModule:S,providers:[{provide:Jt,useValue:w.callSetDisabledState??Fe}]}}static{this.\u0275fac=function(it){return new(it||S)}}static{this.\u0275mod=o.$C({type:S})}static{this.\u0275inj=o.G2t({imports:[mi]})}}return S})(),Sc=(()=>{class S{static withConfig(w){return{ngModule:S,providers:[{provide:En,useValue:w.warnOnNgModelWithFormControl??"always"},{provide:Jt,useValue:w.callSetDisabledState??Fe}]}}static{this.\u0275fac=function(it){return new(it||S)}}static{this.\u0275mod=o.$C({type:S})}static{this.\u0275inj=o.G2t({imports:[mi]})}}return S})()},68660:(Ce,Lt,r)=>{r.d(Lt,{$0:()=>ye,$z:()=>rt,Hl:()=>Me,It:()=>$t,iY:()=>Qe});var o=r(29094),y=r(1843),b=r(83607),T=r(8275),k=r(42250);const G=["mat-button",""],P=[[["",8,"material-icons",3,"iconPositionEnd",""],["mat-icon",3,"iconPositionEnd",""],["","matButtonIcon","",3,"iconPositionEnd",""]],"*",[["","iconPositionEnd","",8,"material-icons"],["mat-icon","iconPositionEnd",""],["","matButtonIcon","","iconPositionEnd",""]]],Z=[".material-icons:not([iconPositionEnd]), mat-icon:not([iconPositionEnd]), [matButtonIcon]:not([iconPositionEnd])","*",".material-icons[iconPositionEnd], mat-icon[iconPositionEnd], [matButtonIcon][iconPositionEnd]"],ot=".cdk-high-contrast-active .mat-mdc-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-unelevated-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-raised-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-outlined-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-icon-button{outline:solid 1px}",K=["mat-mini-fab",""],a=["mat-icon-button",""],pt=["*"],Gt=[{selector:"mat-button",mdcClasses:["mdc-button","mat-mdc-button"]},{selector:"mat-flat-button",mdcClasses:["mdc-button","mdc-button--unelevated","mat-mdc-unelevated-button"]},{selector:"mat-raised-button",mdcClasses:["mdc-button","mdc-button--raised","mat-mdc-raised-button"]},{selector:"mat-stroked-button",mdcClasses:["mdc-button","mdc-button--outlined","mat-mdc-outlined-button"]},{selector:"mat-fab",mdcClasses:["mdc-fab","mat-mdc-fab"]},{selector:"mat-mini-fab",mdcClasses:["mdc-fab","mdc-fab--mini","mat-mdc-mini-fab"]},{selector:"mat-icon-button",mdcClasses:["mdc-icon-button","mat-mdc-icon-button"]}],te=(0,k.Zc)((0,k.Ob)((0,k.GG)(class{constructor(yt){this._elementRef=yt}})));let $=(()=>{class yt extends te{get ripple(){return this._rippleLoader?.getRipple(this._elementRef.nativeElement)}set ripple(Nt){this._rippleLoader?.attachRipple(this._elementRef.nativeElement,Nt)}get disableRipple(){return this._disableRipple}set disableRipple(Nt){this._disableRipple=(0,T.he)(Nt),this._updateRippleDisabled()}get disabled(){return this._disabled}set disabled(Nt){this._disabled=(0,T.he)(Nt),this._updateRippleDisabled()}constructor(Nt,Tt,Yt,Ut){super(Nt),this._platform=Tt,this._ngZone=Yt,this._animationMode=Ut,this._focusMonitor=(0,y.WQX)(b.FN),this._rippleLoader=(0,y.WQX)(k.Ej),this._isFab=!1,this._disableRipple=!1,this._disabled=!1,this._rippleLoader?.configureRipple(this._elementRef.nativeElement,{className:"mat-mdc-button-ripple"});const Ne=Nt.nativeElement.classList;for(const ke of Gt)this._hasHostAttributes(ke.selector)&&ke.mdcClasses.forEach(un=>{Ne.add(un)})}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0)}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._rippleLoader?.destroyRipple(this._elementRef.nativeElement)}focus(Nt="program",Tt){Nt?this._focusMonitor.focusVia(this._elementRef.nativeElement,Nt,Tt):this._elementRef.nativeElement.focus(Tt)}_hasHostAttributes(...Nt){return Nt.some(Tt=>this._elementRef.nativeElement.hasAttribute(Tt))}_updateRippleDisabled(){this._rippleLoader?.setDisabled(this._elementRef.nativeElement,this.disableRipple||this.disabled)}static{this.\u0275fac=function(Tt){y.QTQ()}}static{this.\u0275dir=y.FsC({type:yt,features:[y.Vt3]})}}return yt})(),mt=(()=>{class yt extends ${constructor(Nt,Tt,Yt,Ut){super(Nt,Tt,Yt,Ut),this._haltDisabledEvents=Ne=>{this.disabled&&(Ne.preventDefault(),Ne.stopImmediatePropagation())}}ngOnInit(){this._ngZone.runOutsideAngular(()=>{this._elementRef.nativeElement.addEventListener("click",this._haltDisabledEvents)})}ngOnDestroy(){super.ngOnDestroy(),this._elementRef.nativeElement.removeEventListener("click",this._haltDisabledEvents)}static{this.\u0275fac=function(Tt){y.QTQ()}}static{this.\u0275dir=y.FsC({type:yt,features:[y.Vt3]})}}return yt})(),rt=(()=>{class yt extends ${constructor(Nt,Tt,Yt,Ut){super(Nt,Tt,Yt,Ut)}static{this.\u0275fac=function(Tt){return new(Tt||yt)(y.rXU(y.aKT),y.rXU(o.OD),y.rXU(y.SKi),y.rXU(y.bc$,8))}}static{this.\u0275cmp=y.VBU({type:yt,selectors:[["button","mat-button",""],["button","mat-raised-button",""],["button","mat-flat-button",""],["button","mat-stroked-button",""]],hostVars:7,hostBindings:function(Tt,Yt){2&Tt&&(y.BMQ("disabled",Yt.disabled||null),y.AVh("_mat-animation-noopable","NoopAnimations"===Yt._animationMode)("mat-unthemed",!Yt.color)("mat-mdc-button-base",!0))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color"},exportAs:["matButton"],features:[y.Vt3],attrs:G,ngContentSelectors:Z,decls:7,vars:4,consts:[[1,"mat-mdc-button-persistent-ripple"],[1,"mdc-button__label"],[1,"mat-mdc-focus-indicator"],[1,"mat-mdc-button-touch-target"]],template:function(Tt,Yt){1&Tt&&(y.NAR(P),y.nrm(0,"span",0),y.SdG(1),y.j41(2,"span",1),y.SdG(3,1),y.k0s(),y.SdG(4,2),y.nrm(5,"span",2)(6,"span",3)),2&Tt&&y.AVh("mdc-button__ripple",!Yt._isFab)("mdc-fab__ripple",Yt._isFab)},styles:['.mdc-touch-target-wrapper{display:inline}.mdc-elevation-overlay{position:absolute;border-radius:inherit;pointer-events:none;opacity:var(--mdc-elevation-overlay-opacity, 0);transition:opacity 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-button{position:relative;display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;min-width:64px;border:none;outline:none;line-height:inherit;user-select:none;-webkit-appearance:none;overflow:visible;vertical-align:middle;background:rgba(0,0,0,0)}.mdc-button .mdc-elevation-overlay{width:100%;height:100%;top:0;left:0}.mdc-button::-moz-focus-inner{padding:0;border:0}.mdc-button:active{outline:none}.mdc-button:hover{cursor:pointer}.mdc-button:disabled{cursor:default;pointer-events:none}.mdc-button[hidden]{display:none}.mdc-button .mdc-button__icon{margin-left:0;margin-right:8px;display:inline-block;position:relative;vertical-align:top}[dir=rtl] .mdc-button .mdc-button__icon,.mdc-button .mdc-button__icon[dir=rtl]{margin-left:8px;margin-right:0}.mdc-button .mdc-button__progress-indicator{font-size:0;position:absolute;transform:translate(-50%, -50%);top:50%;left:50%;line-height:initial}.mdc-button .mdc-button__label{position:relative}.mdc-button .mdc-button__focus-ring{pointer-events:none;border:2px solid rgba(0,0,0,0);border-radius:6px;box-sizing:content-box;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(\n 100% + 4px\n );width:calc(\n 100% + 4px\n );display:none}@media screen and (forced-colors: active){.mdc-button .mdc-button__focus-ring{border-color:CanvasText}}.mdc-button .mdc-button__focus-ring::after{content:"";border:2px solid rgba(0,0,0,0);border-radius:8px;display:block;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(100% + 4px);width:calc(100% + 4px)}@media screen and (forced-colors: active){.mdc-button .mdc-button__focus-ring::after{border-color:CanvasText}}@media screen and (forced-colors: active){.mdc-button.mdc-ripple-upgraded--background-focused .mdc-button__focus-ring,.mdc-button:not(.mdc-ripple-upgraded):focus .mdc-button__focus-ring{display:block}}.mdc-button .mdc-button__touch{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%)}.mdc-button__label+.mdc-button__icon{margin-left:8px;margin-right:0}[dir=rtl] .mdc-button__label+.mdc-button__icon,.mdc-button__label+.mdc-button__icon[dir=rtl]{margin-left:0;margin-right:8px}svg.mdc-button__icon{fill:currentColor}.mdc-button--touch{margin-top:6px;margin-bottom:6px}.mdc-button{padding:0 8px 0 8px}.mdc-button--unelevated{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);padding:0 16px 0 16px}.mdc-button--unelevated.mdc-button--icon-trailing{padding:0 12px 0 16px}.mdc-button--unelevated.mdc-button--icon-leading{padding:0 16px 0 12px}.mdc-button--raised{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);padding:0 16px 0 16px}.mdc-button--raised.mdc-button--icon-trailing{padding:0 12px 0 16px}.mdc-button--raised.mdc-button--icon-leading{padding:0 16px 0 12px}.mdc-button--outlined{border-style:solid;transition:border 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-button--outlined .mdc-button__ripple{border-style:solid;border-color:rgba(0,0,0,0)}.mat-mdc-button{height:var(--mdc-text-button-container-height, 36px);border-radius:var(--mdc-text-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-button:not(:disabled){color:var(--mdc-text-button-label-text-color, inherit)}.mat-mdc-button:disabled{color:var(--mdc-text-button-disabled-label-text-color, rgba(0, 0, 0, 0.38))}.mat-mdc-button .mdc-button__ripple{border-radius:var(--mdc-text-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-unelevated-button{height:var(--mdc-filled-button-container-height, 36px);border-radius:var(--mdc-filled-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-unelevated-button:not(:disabled){background-color:var(--mdc-filled-button-container-color, transparent)}.mat-mdc-unelevated-button:disabled{background-color:var(--mdc-filled-button-disabled-container-color, rgba(0, 0, 0, 0.12))}.mat-mdc-unelevated-button:not(:disabled){color:var(--mdc-filled-button-label-text-color, inherit)}.mat-mdc-unelevated-button:disabled{color:var(--mdc-filled-button-disabled-label-text-color, rgba(0, 0, 0, 0.38))}.mat-mdc-unelevated-button .mdc-button__ripple{border-radius:var(--mdc-filled-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-raised-button{height:var(--mdc-protected-button-container-height, 36px);border-radius:var(--mdc-protected-button-container-shape, var(--mdc-shape-small, 4px));box-shadow:var(--mdc-protected-button-container-elevation, 0px 3px 1px -2px rgba(0, 0, 0, 0.2), 0px 2px 2px 0px rgba(0, 0, 0, 0.14), 0px 1px 5px 0px rgba(0, 0, 0, 0.12))}.mat-mdc-raised-button:not(:disabled){background-color:var(--mdc-protected-button-container-color, transparent)}.mat-mdc-raised-button:disabled{background-color:var(--mdc-protected-button-disabled-container-color, rgba(0, 0, 0, 0.12))}.mat-mdc-raised-button:not(:disabled){color:var(--mdc-protected-button-label-text-color, inherit)}.mat-mdc-raised-button:disabled{color:var(--mdc-protected-button-disabled-label-text-color, rgba(0, 0, 0, 0.38))}.mat-mdc-raised-button .mdc-button__ripple{border-radius:var(--mdc-protected-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-raised-button.mdc-ripple-upgraded--background-focused,.mat-mdc-raised-button:not(.mdc-ripple-upgraded):focus{box-shadow:var(--mdc-protected-button-focus-container-elevation, 0px 2px 4px -1px rgba(0, 0, 0, 0.2), 0px 4px 5px 0px rgba(0, 0, 0, 0.14), 0px 1px 10px 0px rgba(0, 0, 0, 0.12))}.mat-mdc-raised-button:hover{box-shadow:var(--mdc-protected-button-hover-container-elevation, 0px 2px 4px -1px rgba(0, 0, 0, 0.2), 0px 4px 5px 0px rgba(0, 0, 0, 0.14), 0px 1px 10px 0px rgba(0, 0, 0, 0.12))}.mat-mdc-raised-button:not(:disabled):active{box-shadow:var(--mdc-protected-button-pressed-container-elevation, 0px 5px 5px -3px rgba(0, 0, 0, 0.2), 0px 8px 10px 1px rgba(0, 0, 0, 0.14), 0px 3px 14px 2px rgba(0, 0, 0, 0.12))}.mat-mdc-raised-button:disabled{box-shadow:var(--mdc-protected-button-disabled-container-elevation, 0px 0px 0px 0px rgba(0, 0, 0, 0.2), 0px 0px 0px 0px rgba(0, 0, 0, 0.14), 0px 0px 0px 0px rgba(0, 0, 0, 0.12))}.mat-mdc-outlined-button{height:var(--mdc-outlined-button-container-height, 36px);border-radius:var(--mdc-outlined-button-container-shape, var(--mdc-shape-small, 4px));padding:0 15px 0 15px;border-width:var(--mdc-outlined-button-outline-width, 1px)}.mat-mdc-outlined-button:not(:disabled){color:var(--mdc-outlined-button-label-text-color, inherit)}.mat-mdc-outlined-button:disabled{color:var(--mdc-outlined-button-disabled-label-text-color, rgba(0, 0, 0, 0.38))}.mat-mdc-outlined-button .mdc-button__ripple{border-radius:var(--mdc-outlined-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-outlined-button:not(:disabled){border-color:var(--mdc-outlined-button-outline-color, rgba(0, 0, 0, 0.12))}.mat-mdc-outlined-button:disabled{border-color:var(--mdc-outlined-button-disabled-outline-color, rgba(0, 0, 0, 0.12))}.mat-mdc-outlined-button.mdc-button--icon-trailing{padding:0 11px 0 15px}.mat-mdc-outlined-button.mdc-button--icon-leading{padding:0 15px 0 11px}.mat-mdc-outlined-button .mdc-button__ripple{top:-1px;left:-1px;bottom:-1px;right:-1px;border-width:var(--mdc-outlined-button-outline-width, 1px)}.mat-mdc-outlined-button .mdc-button__touch{left:calc(-1 * var(--mdc-outlined-button-outline-width, 1px));width:calc(100% + 2 * var(--mdc-outlined-button-outline-width, 1px))}.mat-mdc-button,.mat-mdc-unelevated-button,.mat-mdc-raised-button,.mat-mdc-outlined-button{-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-button .mat-mdc-button-ripple,.mat-mdc-button .mat-mdc-button-persistent-ripple,.mat-mdc-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button .mat-mdc-button-ripple,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button .mat-mdc-button-ripple,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-button .mat-mdc-button-ripple,.mat-mdc-unelevated-button .mat-mdc-button-ripple,.mat-mdc-raised-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mat-mdc-button-ripple{overflow:hidden}.mat-mdc-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{content:"";opacity:0;background-color:var(--mat-mdc-button-persistent-ripple-color)}.mat-mdc-button .mat-ripple-element,.mat-mdc-unelevated-button .mat-ripple-element,.mat-mdc-raised-button .mat-ripple-element,.mat-mdc-outlined-button .mat-ripple-element{background-color:var(--mat-mdc-button-ripple-color)}.mat-mdc-button .mdc-button__label,.mat-mdc-unelevated-button .mdc-button__label,.mat-mdc-raised-button .mdc-button__label,.mat-mdc-outlined-button .mdc-button__label{z-index:1}.mat-mdc-button .mat-mdc-focus-indicator,.mat-mdc-unelevated-button .mat-mdc-focus-indicator,.mat-mdc-raised-button .mat-mdc-focus-indicator,.mat-mdc-outlined-button .mat-mdc-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute}.mat-mdc-button:focus .mat-mdc-focus-indicator::before,.mat-mdc-unelevated-button:focus .mat-mdc-focus-indicator::before,.mat-mdc-raised-button:focus .mat-mdc-focus-indicator::before,.mat-mdc-outlined-button:focus .mat-mdc-focus-indicator::before{content:""}.mat-mdc-button[disabled],.mat-mdc-unelevated-button[disabled],.mat-mdc-raised-button[disabled],.mat-mdc-outlined-button[disabled]{cursor:default;pointer-events:none}.mat-mdc-button .mat-mdc-button-touch-target,.mat-mdc-unelevated-button .mat-mdc-button-touch-target,.mat-mdc-raised-button .mat-mdc-button-touch-target,.mat-mdc-outlined-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%)}.mat-mdc-button._mat-animation-noopable,.mat-mdc-unelevated-button._mat-animation-noopable,.mat-mdc-raised-button._mat-animation-noopable,.mat-mdc-outlined-button._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mdc-button>.mat-icon{margin-left:0;margin-right:8px;display:inline-block;position:relative;vertical-align:top;font-size:1.125rem;height:1.125rem;width:1.125rem}[dir=rtl] .mat-mdc-button>.mat-icon,.mat-mdc-button>.mat-icon[dir=rtl]{margin-left:8px;margin-right:0}.mat-mdc-button .mdc-button__label+.mat-icon{margin-left:8px;margin-right:0}[dir=rtl] .mat-mdc-button .mdc-button__label+.mat-icon,.mat-mdc-button .mdc-button__label+.mat-icon[dir=rtl]{margin-left:0;margin-right:8px}.mat-mdc-unelevated-button>.mat-icon,.mat-mdc-raised-button>.mat-icon,.mat-mdc-outlined-button>.mat-icon{margin-left:0;margin-right:8px;display:inline-block;position:relative;vertical-align:top;font-size:1.125rem;height:1.125rem;width:1.125rem;margin-left:-4px;margin-right:8px}[dir=rtl] .mat-mdc-unelevated-button>.mat-icon,[dir=rtl] .mat-mdc-raised-button>.mat-icon,[dir=rtl] .mat-mdc-outlined-button>.mat-icon,.mat-mdc-unelevated-button>.mat-icon[dir=rtl],.mat-mdc-raised-button>.mat-icon[dir=rtl],.mat-mdc-outlined-button>.mat-icon[dir=rtl]{margin-left:8px;margin-right:0}[dir=rtl] .mat-mdc-unelevated-button>.mat-icon,[dir=rtl] .mat-mdc-raised-button>.mat-icon,[dir=rtl] .mat-mdc-outlined-button>.mat-icon,.mat-mdc-unelevated-button>.mat-icon[dir=rtl],.mat-mdc-raised-button>.mat-icon[dir=rtl],.mat-mdc-outlined-button>.mat-icon[dir=rtl]{margin-left:8px;margin-right:-4px}.mat-mdc-unelevated-button .mdc-button__label+.mat-icon,.mat-mdc-raised-button .mdc-button__label+.mat-icon,.mat-mdc-outlined-button .mdc-button__label+.mat-icon{margin-left:8px;margin-right:-4px}[dir=rtl] .mat-mdc-unelevated-button .mdc-button__label+.mat-icon,[dir=rtl] .mat-mdc-raised-button .mdc-button__label+.mat-icon,[dir=rtl] .mat-mdc-outlined-button .mdc-button__label+.mat-icon,.mat-mdc-unelevated-button .mdc-button__label+.mat-icon[dir=rtl],.mat-mdc-raised-button .mdc-button__label+.mat-icon[dir=rtl],.mat-mdc-outlined-button .mdc-button__label+.mat-icon[dir=rtl]{margin-left:-4px;margin-right:8px}.mat-mdc-outlined-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mdc-button__ripple{top:-1px;left:-1px;bottom:-1px;right:-1px;border-width:-1px}.mat-mdc-unelevated-button .mat-mdc-focus-indicator::before,.mat-mdc-raised-button .mat-mdc-focus-indicator::before{margin:calc(calc(var(--mat-mdc-focus-indicator-border-width, 3px) + 2px) * -1)}.mat-mdc-outlined-button .mat-mdc-focus-indicator::before{margin:calc(calc(var(--mat-mdc-focus-indicator-border-width, 3px) + 3px) * -1)}',".cdk-high-contrast-active .mat-mdc-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-unelevated-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-raised-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-outlined-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-icon-button{outline:solid 1px}"],encapsulation:2,changeDetection:0})}}return yt})(),$t=(()=>{class yt extends mt{constructor(Nt,Tt,Yt,Ut){super(Nt,Tt,Yt,Ut)}static{this.\u0275fac=function(Tt){return new(Tt||yt)(y.rXU(y.aKT),y.rXU(o.OD),y.rXU(y.SKi),y.rXU(y.bc$,8))}}static{this.\u0275cmp=y.VBU({type:yt,selectors:[["a","mat-button",""],["a","mat-raised-button",""],["a","mat-flat-button",""],["a","mat-stroked-button",""]],hostVars:9,hostBindings:function(Tt,Yt){2&Tt&&(y.BMQ("disabled",Yt.disabled||null)("tabindex",Yt.disabled?-1:Yt.tabIndex)("aria-disabled",Yt.disabled.toString()),y.AVh("_mat-animation-noopable","NoopAnimations"===Yt._animationMode)("mat-unthemed",!Yt.color)("mat-mdc-button-base",!0))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color",tabIndex:"tabIndex"},exportAs:["matButton","matAnchor"],features:[y.Vt3],attrs:G,ngContentSelectors:Z,decls:7,vars:4,consts:[[1,"mat-mdc-button-persistent-ripple"],[1,"mdc-button__label"],[1,"mat-mdc-focus-indicator"],[1,"mat-mdc-button-touch-target"]],template:function(Tt,Yt){1&Tt&&(y.NAR(P),y.nrm(0,"span",0),y.SdG(1),y.j41(2,"span",1),y.SdG(3,1),y.k0s(),y.SdG(4,2),y.nrm(5,"span",2)(6,"span",3)),2&Tt&&y.AVh("mdc-button__ripple",!Yt._isFab)("mdc-fab__ripple",Yt._isFab)},styles:['.mdc-touch-target-wrapper{display:inline}.mdc-elevation-overlay{position:absolute;border-radius:inherit;pointer-events:none;opacity:var(--mdc-elevation-overlay-opacity, 0);transition:opacity 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-button{position:relative;display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;min-width:64px;border:none;outline:none;line-height:inherit;user-select:none;-webkit-appearance:none;overflow:visible;vertical-align:middle;background:rgba(0,0,0,0)}.mdc-button .mdc-elevation-overlay{width:100%;height:100%;top:0;left:0}.mdc-button::-moz-focus-inner{padding:0;border:0}.mdc-button:active{outline:none}.mdc-button:hover{cursor:pointer}.mdc-button:disabled{cursor:default;pointer-events:none}.mdc-button[hidden]{display:none}.mdc-button .mdc-button__icon{margin-left:0;margin-right:8px;display:inline-block;position:relative;vertical-align:top}[dir=rtl] .mdc-button .mdc-button__icon,.mdc-button .mdc-button__icon[dir=rtl]{margin-left:8px;margin-right:0}.mdc-button .mdc-button__progress-indicator{font-size:0;position:absolute;transform:translate(-50%, -50%);top:50%;left:50%;line-height:initial}.mdc-button .mdc-button__label{position:relative}.mdc-button .mdc-button__focus-ring{pointer-events:none;border:2px solid rgba(0,0,0,0);border-radius:6px;box-sizing:content-box;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(\n 100% + 4px\n );width:calc(\n 100% + 4px\n );display:none}@media screen and (forced-colors: active){.mdc-button .mdc-button__focus-ring{border-color:CanvasText}}.mdc-button .mdc-button__focus-ring::after{content:"";border:2px solid rgba(0,0,0,0);border-radius:8px;display:block;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(100% + 4px);width:calc(100% + 4px)}@media screen and (forced-colors: active){.mdc-button .mdc-button__focus-ring::after{border-color:CanvasText}}@media screen and (forced-colors: active){.mdc-button.mdc-ripple-upgraded--background-focused .mdc-button__focus-ring,.mdc-button:not(.mdc-ripple-upgraded):focus .mdc-button__focus-ring{display:block}}.mdc-button .mdc-button__touch{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%)}.mdc-button__label+.mdc-button__icon{margin-left:8px;margin-right:0}[dir=rtl] .mdc-button__label+.mdc-button__icon,.mdc-button__label+.mdc-button__icon[dir=rtl]{margin-left:0;margin-right:8px}svg.mdc-button__icon{fill:currentColor}.mdc-button--touch{margin-top:6px;margin-bottom:6px}.mdc-button{padding:0 8px 0 8px}.mdc-button--unelevated{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);padding:0 16px 0 16px}.mdc-button--unelevated.mdc-button--icon-trailing{padding:0 12px 0 16px}.mdc-button--unelevated.mdc-button--icon-leading{padding:0 16px 0 12px}.mdc-button--raised{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);padding:0 16px 0 16px}.mdc-button--raised.mdc-button--icon-trailing{padding:0 12px 0 16px}.mdc-button--raised.mdc-button--icon-leading{padding:0 16px 0 12px}.mdc-button--outlined{border-style:solid;transition:border 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-button--outlined .mdc-button__ripple{border-style:solid;border-color:rgba(0,0,0,0)}.mat-mdc-button{height:var(--mdc-text-button-container-height, 36px);border-radius:var(--mdc-text-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-button:not(:disabled){color:var(--mdc-text-button-label-text-color, inherit)}.mat-mdc-button:disabled{color:var(--mdc-text-button-disabled-label-text-color, rgba(0, 0, 0, 0.38))}.mat-mdc-button .mdc-button__ripple{border-radius:var(--mdc-text-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-unelevated-button{height:var(--mdc-filled-button-container-height, 36px);border-radius:var(--mdc-filled-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-unelevated-button:not(:disabled){background-color:var(--mdc-filled-button-container-color, transparent)}.mat-mdc-unelevated-button:disabled{background-color:var(--mdc-filled-button-disabled-container-color, rgba(0, 0, 0, 0.12))}.mat-mdc-unelevated-button:not(:disabled){color:var(--mdc-filled-button-label-text-color, inherit)}.mat-mdc-unelevated-button:disabled{color:var(--mdc-filled-button-disabled-label-text-color, rgba(0, 0, 0, 0.38))}.mat-mdc-unelevated-button .mdc-button__ripple{border-radius:var(--mdc-filled-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-raised-button{height:var(--mdc-protected-button-container-height, 36px);border-radius:var(--mdc-protected-button-container-shape, var(--mdc-shape-small, 4px));box-shadow:var(--mdc-protected-button-container-elevation, 0px 3px 1px -2px rgba(0, 0, 0, 0.2), 0px 2px 2px 0px rgba(0, 0, 0, 0.14), 0px 1px 5px 0px rgba(0, 0, 0, 0.12))}.mat-mdc-raised-button:not(:disabled){background-color:var(--mdc-protected-button-container-color, transparent)}.mat-mdc-raised-button:disabled{background-color:var(--mdc-protected-button-disabled-container-color, rgba(0, 0, 0, 0.12))}.mat-mdc-raised-button:not(:disabled){color:var(--mdc-protected-button-label-text-color, inherit)}.mat-mdc-raised-button:disabled{color:var(--mdc-protected-button-disabled-label-text-color, rgba(0, 0, 0, 0.38))}.mat-mdc-raised-button .mdc-button__ripple{border-radius:var(--mdc-protected-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-raised-button.mdc-ripple-upgraded--background-focused,.mat-mdc-raised-button:not(.mdc-ripple-upgraded):focus{box-shadow:var(--mdc-protected-button-focus-container-elevation, 0px 2px 4px -1px rgba(0, 0, 0, 0.2), 0px 4px 5px 0px rgba(0, 0, 0, 0.14), 0px 1px 10px 0px rgba(0, 0, 0, 0.12))}.mat-mdc-raised-button:hover{box-shadow:var(--mdc-protected-button-hover-container-elevation, 0px 2px 4px -1px rgba(0, 0, 0, 0.2), 0px 4px 5px 0px rgba(0, 0, 0, 0.14), 0px 1px 10px 0px rgba(0, 0, 0, 0.12))}.mat-mdc-raised-button:not(:disabled):active{box-shadow:var(--mdc-protected-button-pressed-container-elevation, 0px 5px 5px -3px rgba(0, 0, 0, 0.2), 0px 8px 10px 1px rgba(0, 0, 0, 0.14), 0px 3px 14px 2px rgba(0, 0, 0, 0.12))}.mat-mdc-raised-button:disabled{box-shadow:var(--mdc-protected-button-disabled-container-elevation, 0px 0px 0px 0px rgba(0, 0, 0, 0.2), 0px 0px 0px 0px rgba(0, 0, 0, 0.14), 0px 0px 0px 0px rgba(0, 0, 0, 0.12))}.mat-mdc-outlined-button{height:var(--mdc-outlined-button-container-height, 36px);border-radius:var(--mdc-outlined-button-container-shape, var(--mdc-shape-small, 4px));padding:0 15px 0 15px;border-width:var(--mdc-outlined-button-outline-width, 1px)}.mat-mdc-outlined-button:not(:disabled){color:var(--mdc-outlined-button-label-text-color, inherit)}.mat-mdc-outlined-button:disabled{color:var(--mdc-outlined-button-disabled-label-text-color, rgba(0, 0, 0, 0.38))}.mat-mdc-outlined-button .mdc-button__ripple{border-radius:var(--mdc-outlined-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-outlined-button:not(:disabled){border-color:var(--mdc-outlined-button-outline-color, rgba(0, 0, 0, 0.12))}.mat-mdc-outlined-button:disabled{border-color:var(--mdc-outlined-button-disabled-outline-color, rgba(0, 0, 0, 0.12))}.mat-mdc-outlined-button.mdc-button--icon-trailing{padding:0 11px 0 15px}.mat-mdc-outlined-button.mdc-button--icon-leading{padding:0 15px 0 11px}.mat-mdc-outlined-button .mdc-button__ripple{top:-1px;left:-1px;bottom:-1px;right:-1px;border-width:var(--mdc-outlined-button-outline-width, 1px)}.mat-mdc-outlined-button .mdc-button__touch{left:calc(-1 * var(--mdc-outlined-button-outline-width, 1px));width:calc(100% + 2 * var(--mdc-outlined-button-outline-width, 1px))}.mat-mdc-button,.mat-mdc-unelevated-button,.mat-mdc-raised-button,.mat-mdc-outlined-button{-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-button .mat-mdc-button-ripple,.mat-mdc-button .mat-mdc-button-persistent-ripple,.mat-mdc-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button .mat-mdc-button-ripple,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button .mat-mdc-button-ripple,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-button .mat-mdc-button-ripple,.mat-mdc-unelevated-button .mat-mdc-button-ripple,.mat-mdc-raised-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mat-mdc-button-ripple{overflow:hidden}.mat-mdc-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{content:"";opacity:0;background-color:var(--mat-mdc-button-persistent-ripple-color)}.mat-mdc-button .mat-ripple-element,.mat-mdc-unelevated-button .mat-ripple-element,.mat-mdc-raised-button .mat-ripple-element,.mat-mdc-outlined-button .mat-ripple-element{background-color:var(--mat-mdc-button-ripple-color)}.mat-mdc-button .mdc-button__label,.mat-mdc-unelevated-button .mdc-button__label,.mat-mdc-raised-button .mdc-button__label,.mat-mdc-outlined-button .mdc-button__label{z-index:1}.mat-mdc-button .mat-mdc-focus-indicator,.mat-mdc-unelevated-button .mat-mdc-focus-indicator,.mat-mdc-raised-button .mat-mdc-focus-indicator,.mat-mdc-outlined-button .mat-mdc-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute}.mat-mdc-button:focus .mat-mdc-focus-indicator::before,.mat-mdc-unelevated-button:focus .mat-mdc-focus-indicator::before,.mat-mdc-raised-button:focus .mat-mdc-focus-indicator::before,.mat-mdc-outlined-button:focus .mat-mdc-focus-indicator::before{content:""}.mat-mdc-button[disabled],.mat-mdc-unelevated-button[disabled],.mat-mdc-raised-button[disabled],.mat-mdc-outlined-button[disabled]{cursor:default;pointer-events:none}.mat-mdc-button .mat-mdc-button-touch-target,.mat-mdc-unelevated-button .mat-mdc-button-touch-target,.mat-mdc-raised-button .mat-mdc-button-touch-target,.mat-mdc-outlined-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%)}.mat-mdc-button._mat-animation-noopable,.mat-mdc-unelevated-button._mat-animation-noopable,.mat-mdc-raised-button._mat-animation-noopable,.mat-mdc-outlined-button._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mdc-button>.mat-icon{margin-left:0;margin-right:8px;display:inline-block;position:relative;vertical-align:top;font-size:1.125rem;height:1.125rem;width:1.125rem}[dir=rtl] .mat-mdc-button>.mat-icon,.mat-mdc-button>.mat-icon[dir=rtl]{margin-left:8px;margin-right:0}.mat-mdc-button .mdc-button__label+.mat-icon{margin-left:8px;margin-right:0}[dir=rtl] .mat-mdc-button .mdc-button__label+.mat-icon,.mat-mdc-button .mdc-button__label+.mat-icon[dir=rtl]{margin-left:0;margin-right:8px}.mat-mdc-unelevated-button>.mat-icon,.mat-mdc-raised-button>.mat-icon,.mat-mdc-outlined-button>.mat-icon{margin-left:0;margin-right:8px;display:inline-block;position:relative;vertical-align:top;font-size:1.125rem;height:1.125rem;width:1.125rem;margin-left:-4px;margin-right:8px}[dir=rtl] .mat-mdc-unelevated-button>.mat-icon,[dir=rtl] .mat-mdc-raised-button>.mat-icon,[dir=rtl] .mat-mdc-outlined-button>.mat-icon,.mat-mdc-unelevated-button>.mat-icon[dir=rtl],.mat-mdc-raised-button>.mat-icon[dir=rtl],.mat-mdc-outlined-button>.mat-icon[dir=rtl]{margin-left:8px;margin-right:0}[dir=rtl] .mat-mdc-unelevated-button>.mat-icon,[dir=rtl] .mat-mdc-raised-button>.mat-icon,[dir=rtl] .mat-mdc-outlined-button>.mat-icon,.mat-mdc-unelevated-button>.mat-icon[dir=rtl],.mat-mdc-raised-button>.mat-icon[dir=rtl],.mat-mdc-outlined-button>.mat-icon[dir=rtl]{margin-left:8px;margin-right:-4px}.mat-mdc-unelevated-button .mdc-button__label+.mat-icon,.mat-mdc-raised-button .mdc-button__label+.mat-icon,.mat-mdc-outlined-button .mdc-button__label+.mat-icon{margin-left:8px;margin-right:-4px}[dir=rtl] .mat-mdc-unelevated-button .mdc-button__label+.mat-icon,[dir=rtl] .mat-mdc-raised-button .mdc-button__label+.mat-icon,[dir=rtl] .mat-mdc-outlined-button .mdc-button__label+.mat-icon,.mat-mdc-unelevated-button .mdc-button__label+.mat-icon[dir=rtl],.mat-mdc-raised-button .mdc-button__label+.mat-icon[dir=rtl],.mat-mdc-outlined-button .mdc-button__label+.mat-icon[dir=rtl]{margin-left:-4px;margin-right:8px}.mat-mdc-outlined-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mdc-button__ripple{top:-1px;left:-1px;bottom:-1px;right:-1px;border-width:-1px}.mat-mdc-unelevated-button .mat-mdc-focus-indicator::before,.mat-mdc-raised-button .mat-mdc-focus-indicator::before{margin:calc(calc(var(--mat-mdc-focus-indicator-border-width, 3px) + 2px) * -1)}.mat-mdc-outlined-button .mat-mdc-focus-indicator::before{margin:calc(calc(var(--mat-mdc-focus-indicator-border-width, 3px) + 3px) * -1)}',ot],encapsulation:2,changeDetection:0})}}return yt})();const de=new y.nKC("mat-mdc-fab-default-options",{providedIn:"root",factory:_e});function _e(){return{color:"accent"}}const Le=_e();let ye=(()=>{class yt extends ${constructor(Nt,Tt,Yt,Ut,Ne){super(Nt,Tt,Yt,Ut),this._options=Ne,this._isFab=!0,this._options=this._options||Le,this.color=this.defaultColor=this._options.color||Le.color}static{this.\u0275fac=function(Tt){return new(Tt||yt)(y.rXU(y.aKT),y.rXU(o.OD),y.rXU(y.SKi),y.rXU(y.bc$,8),y.rXU(de,8))}}static{this.\u0275cmp=y.VBU({type:yt,selectors:[["button","mat-mini-fab",""]],hostVars:7,hostBindings:function(Tt,Yt){2&Tt&&(y.BMQ("disabled",Yt.disabled||null),y.AVh("_mat-animation-noopable","NoopAnimations"===Yt._animationMode)("mat-unthemed",!Yt.color)("mat-mdc-button-base",!0))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color"},exportAs:["matButton"],features:[y.Vt3],attrs:K,ngContentSelectors:Z,decls:7,vars:4,consts:[[1,"mat-mdc-button-persistent-ripple"],[1,"mdc-button__label"],[1,"mat-mdc-focus-indicator"],[1,"mat-mdc-button-touch-target"]],template:function(Tt,Yt){1&Tt&&(y.NAR(P),y.nrm(0,"span",0),y.SdG(1),y.j41(2,"span",1),y.SdG(3,1),y.k0s(),y.SdG(4,2),y.nrm(5,"span",2)(6,"span",3)),2&Tt&&y.AVh("mdc-button__ripple",!Yt._isFab)("mdc-fab__ripple",Yt._isFab)},styles:['.mdc-touch-target-wrapper{display:inline}.mdc-elevation-overlay{position:absolute;border-radius:inherit;pointer-events:none;opacity:var(--mdc-elevation-overlay-opacity);transition:opacity 280ms cubic-bezier(0.4, 0, 0.2, 1);background-color:var(--mdc-elevation-overlay-color)}.mdc-fab{position:relative;display:inline-flex;position:relative;align-items:center;justify-content:center;box-sizing:border-box;width:56px;height:56px;padding:0;border:none;fill:currentColor;text-decoration:none;cursor:pointer;user-select:none;-moz-appearance:none;-webkit-appearance:none;overflow:visible;transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1),opacity 15ms linear 30ms,transform 270ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mdc-fab .mdc-elevation-overlay{width:100%;height:100%;top:0;left:0}.mdc-fab[hidden]{display:none}.mdc-fab::-moz-focus-inner{padding:0;border:0}.mdc-fab:hover{box-shadow:0px 5px 5px -3px rgba(0, 0, 0, 0.2), 0px 8px 10px 1px rgba(0, 0, 0, 0.14), 0px 3px 14px 2px rgba(0, 0, 0, 0.12)}.mdc-fab.mdc-ripple-upgraded--background-focused,.mdc-fab:not(.mdc-ripple-upgraded):focus{box-shadow:0px 5px 5px -3px rgba(0, 0, 0, 0.2), 0px 8px 10px 1px rgba(0, 0, 0, 0.14), 0px 3px 14px 2px rgba(0, 0, 0, 0.12)}.mdc-fab .mdc-fab__focus-ring{position:absolute}.mdc-fab.mdc-ripple-upgraded--background-focused .mdc-fab__focus-ring,.mdc-fab:not(.mdc-ripple-upgraded):focus .mdc-fab__focus-ring{pointer-events:none;border:2px solid rgba(0,0,0,0);border-radius:6px;box-sizing:content-box;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(\n 100% + 4px\n );width:calc(\n 100% + 4px\n )}@media screen and (forced-colors: active){.mdc-fab.mdc-ripple-upgraded--background-focused .mdc-fab__focus-ring,.mdc-fab:not(.mdc-ripple-upgraded):focus .mdc-fab__focus-ring{border-color:CanvasText}}.mdc-fab.mdc-ripple-upgraded--background-focused .mdc-fab__focus-ring::after,.mdc-fab:not(.mdc-ripple-upgraded):focus .mdc-fab__focus-ring::after{content:"";border:2px solid rgba(0,0,0,0);border-radius:8px;display:block;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(100% + 4px);width:calc(100% + 4px)}@media screen and (forced-colors: active){.mdc-fab.mdc-ripple-upgraded--background-focused .mdc-fab__focus-ring::after,.mdc-fab:not(.mdc-ripple-upgraded):focus .mdc-fab__focus-ring::after{border-color:CanvasText}}.mdc-fab:active,.mdc-fab:focus:active{box-shadow:0px 7px 8px -4px rgba(0, 0, 0, 0.2), 0px 12px 17px 2px rgba(0, 0, 0, 0.14), 0px 5px 22px 4px rgba(0, 0, 0, 0.12)}.mdc-fab:active,.mdc-fab:focus{outline:none}.mdc-fab:hover{cursor:pointer}.mdc-fab>svg{width:100%}.mdc-fab--mini{width:40px;height:40px}.mdc-fab--extended{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--mdc-typography-button-font-family);font-size:var(--mdc-typography-button-font-size);line-height:var(--mdc-typography-button-line-height);font-weight:var(--mdc-typography-button-font-weight);letter-spacing:var(--mdc-typography-button-letter-spacing);text-decoration:var(--mdc-typography-button-text-decoration);text-transform:var(--mdc-typography-button-text-transform);border-radius:24px;padding-left:20px;padding-right:20px;width:auto;max-width:100%;height:48px;line-height:normal}.mdc-fab--extended .mdc-fab__ripple{border-radius:24px}.mdc-fab--extended .mdc-fab__icon{margin-left:calc(12px - 20px);margin-right:12px}[dir=rtl] .mdc-fab--extended .mdc-fab__icon,.mdc-fab--extended .mdc-fab__icon[dir=rtl]{margin-left:12px;margin-right:calc(12px - 20px)}.mdc-fab--extended .mdc-fab__label+.mdc-fab__icon{margin-left:12px;margin-right:calc(12px - 20px)}[dir=rtl] .mdc-fab--extended .mdc-fab__label+.mdc-fab__icon,.mdc-fab--extended .mdc-fab__label+.mdc-fab__icon[dir=rtl]{margin-left:calc(12px - 20px);margin-right:12px}.mdc-fab--touch{margin-top:4px;margin-bottom:4px;margin-right:4px;margin-left:4px}.mdc-fab--touch .mdc-fab__touch{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%)}.mdc-fab::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:1px solid rgba(0,0,0,0);border-radius:inherit;content:"";pointer-events:none}@media screen and (forced-colors: active){.mdc-fab::before{border-color:CanvasText}}.mdc-fab__label{justify-content:flex-start;text-overflow:ellipsis;white-space:nowrap;overflow-x:hidden;overflow-y:visible}.mdc-fab__icon{transition:transform 180ms 90ms cubic-bezier(0, 0, 0.2, 1);fill:currentColor;will-change:transform}.mdc-fab .mdc-fab__icon{display:inline-flex;align-items:center;justify-content:center}.mdc-fab--exited{transform:scale(0);opacity:0;transition:opacity 15ms linear 150ms,transform 180ms 0ms cubic-bezier(0.4, 0, 1, 1)}.mdc-fab--exited .mdc-fab__icon{transform:scale(0);transition:transform 135ms 0ms cubic-bezier(0.4, 0, 1, 1)}.mat-mdc-fab,.mat-mdc-mini-fab{background-color:var(--mdc-fab-container-color);--mdc-fab-container-shape:50%;--mdc-fab-icon-size:24px}.mat-mdc-fab .mdc-fab__icon,.mat-mdc-mini-fab .mdc-fab__icon{width:var(--mdc-fab-icon-size);height:var(--mdc-fab-icon-size);font-size:var(--mdc-fab-icon-size)}.mat-mdc-fab:not(:disabled) .mdc-fab__icon,.mat-mdc-mini-fab:not(:disabled) .mdc-fab__icon{color:var(--mdc-fab-icon-color)}.mat-mdc-fab:not(.mdc-fab--extended),.mat-mdc-mini-fab:not(.mdc-fab--extended){border-radius:var(--mdc-fab-container-shape)}.mat-mdc-fab:not(.mdc-fab--extended) .mdc-fab__ripple,.mat-mdc-mini-fab:not(.mdc-fab--extended) .mdc-fab__ripple{border-radius:var(--mdc-fab-container-shape)}.mat-mdc-extended-fab{font-family:var(--mdc-extended-fab-label-text-font);font-size:var(--mdc-extended-fab-label-text-size);font-weight:var(--mdc-extended-fab-label-text-weight);letter-spacing:var(--mdc-extended-fab-label-text-tracking)}.mat-mdc-fab,.mat-mdc-mini-fab{-webkit-tap-highlight-color:rgba(0,0,0,0);box-shadow:0px 3px 5px -1px rgba(0, 0, 0, 0.2), 0px 6px 10px 0px rgba(0, 0, 0, 0.14), 0px 1px 18px 0px rgba(0, 0, 0, 0.12);color:var(--mat-mdc-fab-color, inherit);flex-shrink:0}.mat-mdc-fab .mat-mdc-button-ripple,.mat-mdc-fab .mat-mdc-button-persistent-ripple,.mat-mdc-fab .mat-mdc-button-persistent-ripple::before,.mat-mdc-mini-fab .mat-mdc-button-ripple,.mat-mdc-mini-fab .mat-mdc-button-persistent-ripple,.mat-mdc-mini-fab .mat-mdc-button-persistent-ripple::before{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-fab .mat-mdc-button-ripple,.mat-mdc-mini-fab .mat-mdc-button-ripple{overflow:hidden}.mat-mdc-fab .mat-mdc-button-persistent-ripple::before,.mat-mdc-mini-fab .mat-mdc-button-persistent-ripple::before{content:"";opacity:0;background-color:var(--mat-mdc-button-persistent-ripple-color)}.mat-mdc-fab .mat-ripple-element,.mat-mdc-mini-fab .mat-ripple-element{background-color:var(--mat-mdc-button-ripple-color)}.mat-mdc-fab .mdc-button__label,.mat-mdc-mini-fab .mdc-button__label{z-index:1}.mat-mdc-fab .mat-mdc-focus-indicator,.mat-mdc-mini-fab .mat-mdc-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute}.mat-mdc-fab:focus .mat-mdc-focus-indicator::before,.mat-mdc-mini-fab:focus .mat-mdc-focus-indicator::before{content:""}.mat-mdc-fab .mat-mdc-button-touch-target,.mat-mdc-mini-fab .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%)}.mat-mdc-fab._mat-animation-noopable,.mat-mdc-mini-fab._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mdc-fab:hover,.mat-mdc-fab:focus,.mat-mdc-mini-fab:hover,.mat-mdc-mini-fab:focus{box-shadow:0px 5px 5px -3px rgba(0, 0, 0, 0.2), 0px 8px 10px 1px rgba(0, 0, 0, 0.14), 0px 3px 14px 2px rgba(0, 0, 0, 0.12)}.mat-mdc-fab:active,.mat-mdc-fab:focus:active,.mat-mdc-mini-fab:active,.mat-mdc-mini-fab:focus:active{box-shadow:0px 7px 8px -4px rgba(0, 0, 0, 0.2), 0px 12px 17px 2px rgba(0, 0, 0, 0.14), 0px 5px 22px 4px rgba(0, 0, 0, 0.12)}.mat-mdc-fab[disabled],.mat-mdc-mini-fab[disabled]{cursor:default;pointer-events:none;box-shadow:0px 0px 0px 0px rgba(0, 0, 0, 0.2), 0px 0px 0px 0px rgba(0, 0, 0, 0.14), 0px 0px 0px 0px rgba(0, 0, 0, 0.12)}.mat-mdc-fab:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-mini-fab:not(.mdc-ripple-upgraded):focus::before{background:rgba(0,0,0,0);opacity:1}.mat-mdc-fab .mat-icon,.mat-mdc-fab .material-icons,.mat-mdc-mini-fab .mat-icon,.mat-mdc-mini-fab .material-icons{transition:transform 180ms 90ms cubic-bezier(0, 0, 0.2, 1);fill:currentColor;will-change:transform}.mat-mdc-fab .mat-mdc-focus-indicator::before,.mat-mdc-mini-fab .mat-mdc-focus-indicator::before{margin:calc(calc(var(--mat-mdc-focus-indicator-border-width, 3px) + 2px) * -1)}.mat-mdc-extended-fab>.mat-icon,.mat-mdc-extended-fab>.material-icons{margin-left:calc(12px - 20px);margin-right:12px}[dir=rtl] .mat-mdc-extended-fab>.mat-icon,[dir=rtl] .mat-mdc-extended-fab>.material-icons,.mat-mdc-extended-fab>.mat-icon[dir=rtl],.mat-mdc-extended-fab>.material-icons[dir=rtl]{margin-left:12px;margin-right:calc(12px - 20px)}.mat-mdc-extended-fab .mdc-button__label+.mat-icon,.mat-mdc-extended-fab .mdc-button__label+.material-icons{margin-left:12px;margin-right:calc(12px - 20px)}[dir=rtl] .mat-mdc-extended-fab .mdc-button__label+.mat-icon,[dir=rtl] .mat-mdc-extended-fab .mdc-button__label+.material-icons,.mat-mdc-extended-fab .mdc-button__label+.mat-icon[dir=rtl],.mat-mdc-extended-fab .mdc-button__label+.material-icons[dir=rtl]{margin-left:calc(12px - 20px);margin-right:12px}.mat-mdc-extended-fab .mat-mdc-button-touch-target{width:100%}'],encapsulation:2,changeDetection:0})}}return yt})(),Qe=(()=>{class yt extends ${constructor(Nt,Tt,Yt,Ut){super(Nt,Tt,Yt,Ut),this._rippleLoader.configureRipple(this._elementRef.nativeElement,{centered:!0})}static{this.\u0275fac=function(Tt){return new(Tt||yt)(y.rXU(y.aKT),y.rXU(o.OD),y.rXU(y.SKi),y.rXU(y.bc$,8))}}static{this.\u0275cmp=y.VBU({type:yt,selectors:[["button","mat-icon-button",""]],hostVars:7,hostBindings:function(Tt,Yt){2&Tt&&(y.BMQ("disabled",Yt.disabled||null),y.AVh("_mat-animation-noopable","NoopAnimations"===Yt._animationMode)("mat-unthemed",!Yt.color)("mat-mdc-button-base",!0))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color"},exportAs:["matButton"],features:[y.Vt3],attrs:a,ngContentSelectors:pt,decls:4,vars:0,consts:[[1,"mat-mdc-button-persistent-ripple","mdc-icon-button__ripple"],[1,"mat-mdc-focus-indicator"],[1,"mat-mdc-button-touch-target"]],template:function(Tt,Yt){1&Tt&&(y.NAR(),y.nrm(0,"span",0),y.SdG(1),y.nrm(2,"span",1)(3,"span",2))},styles:['.mdc-icon-button{display:inline-block;position:relative;box-sizing:border-box;border:none;outline:none;background-color:rgba(0,0,0,0);fill:currentColor;color:inherit;text-decoration:none;cursor:pointer;user-select:none;z-index:0;overflow:visible}.mdc-icon-button .mdc-icon-button__touch{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%)}@media screen and (forced-colors: active){.mdc-icon-button.mdc-ripple-upgraded--background-focused .mdc-icon-button__focus-ring,.mdc-icon-button:not(.mdc-ripple-upgraded):focus .mdc-icon-button__focus-ring{display:block}}.mdc-icon-button:disabled{cursor:default;pointer-events:none}.mdc-icon-button[hidden]{display:none}.mdc-icon-button--display-flex{align-items:center;display:inline-flex;justify-content:center}.mdc-icon-button__focus-ring{pointer-events:none;border:2px solid rgba(0,0,0,0);border-radius:6px;box-sizing:content-box;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:100%;width:100%;display:none}@media screen and (forced-colors: active){.mdc-icon-button__focus-ring{border-color:CanvasText}}.mdc-icon-button__focus-ring::after{content:"";border:2px solid rgba(0,0,0,0);border-radius:8px;display:block;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(100% + 4px);width:calc(100% + 4px)}@media screen and (forced-colors: active){.mdc-icon-button__focus-ring::after{border-color:CanvasText}}.mdc-icon-button__icon{display:inline-block}.mdc-icon-button__icon.mdc-icon-button__icon--on{display:none}.mdc-icon-button--on .mdc-icon-button__icon{display:none}.mdc-icon-button--on .mdc-icon-button__icon.mdc-icon-button__icon--on{display:inline-block}.mdc-icon-button__link{height:100%;left:0;outline:none;position:absolute;top:0;width:100%}.mat-mdc-icon-button{height:var(--mdc-icon-button-state-layer-size);width:var(--mdc-icon-button-state-layer-size);color:var(--mdc-icon-button-icon-color);--mdc-icon-button-state-layer-size:48px;--mdc-icon-button-icon-size:24px;--mdc-icon-button-disabled-icon-color:black;--mdc-icon-button-disabled-icon-opacity:0.38}.mat-mdc-icon-button .mdc-button__icon{font-size:var(--mdc-icon-button-icon-size)}.mat-mdc-icon-button svg,.mat-mdc-icon-button img{width:var(--mdc-icon-button-icon-size);height:var(--mdc-icon-button-icon-size)}.mat-mdc-icon-button:disabled{opacity:var(--mdc-icon-button-disabled-icon-opacity)}.mat-mdc-icon-button:disabled{color:var(--mdc-icon-button-disabled-icon-color)}.mat-mdc-icon-button{padding:12px;font-size:var(--mdc-icon-button-icon-size);border-radius:50%;flex-shrink:0;text-align:center;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-icon-button svg{vertical-align:baseline}.mat-mdc-icon-button[disabled]{cursor:default;pointer-events:none;opacity:1}.mat-mdc-icon-button .mat-mdc-button-ripple,.mat-mdc-icon-button .mat-mdc-button-persistent-ripple,.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-icon-button .mat-mdc-button-ripple{overflow:hidden}.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before{content:"";opacity:0;background-color:var(--mat-mdc-button-persistent-ripple-color)}.mat-mdc-icon-button .mat-ripple-element{background-color:var(--mat-mdc-button-ripple-color)}.mat-mdc-icon-button .mdc-button__label{z-index:1}.mat-mdc-icon-button .mat-mdc-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute}.mat-mdc-icon-button:focus .mat-mdc-focus-indicator::before{content:""}.mat-mdc-icon-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%)}.mat-mdc-icon-button._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mdc-icon-button .mat-mdc-button-persistent-ripple{border-radius:50%}.mat-mdc-icon-button.mat-unthemed:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-primary:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-accent:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-warn:not(.mdc-ripple-upgraded):focus::before{background:rgba(0,0,0,0);opacity:1}',ot],encapsulation:2,changeDetection:0})}}return yt})(),Me=(()=>{class yt{static{this.\u0275fac=function(Tt){return new(Tt||yt)}}static{this.\u0275mod=y.$C({type:yt})}static{this.\u0275inj=y.G2t({imports:[k.yE,k.pZ,k.yE]})}}return yt})()},42250:(Ce,Lt,r)=>{r.d(Lt,{r5:()=>te,ed:()=>$,es:()=>ke,QC:()=>xe,is:()=>tt,$E:()=>H,yE:()=>mt,wT:()=>hn,Sy:()=>me,MI:()=>on,O5:()=>kt,r6:()=>st,Ej:()=>Zt,pZ:()=>zt,ug:()=>ne,jb:()=>fe,TL:()=>cn,Zc:()=>Le,GG:()=>Ge,Ob:()=>_e,J8:()=>ye,mG:()=>Ve,BF:()=>Xe});var o=r(1843),y=r(83607),b=r(10165),k=r(18331),G=r(29094),P=r(8275),Z=r(23135),N=r(89115),ot=r(25150);const M=["text"];function a(Ct,U){if(1&Ct&&o.nrm(0,"mat-pseudo-checkbox",6),2&Ct){const A=o.XpG();o.Y8G("disabled",A.disabled)("state",A.selected?"checked":"unchecked")}}function pt(Ct,U){if(1&Ct&&o.nrm(0,"mat-pseudo-checkbox",7),2&Ct){const A=o.XpG();o.Y8G("disabled",A.disabled)}}function j(Ct,U){if(1&Ct&&(o.j41(0,"span",8),o.EFF(1),o.k0s()),2&Ct){const A=o.XpG();o.R7$(1),o.SpI("(",A.group.label,")")}}const J=[[["mat-icon"]],"*"],bt=["mat-icon","*"];let te=(()=>{class Ct{static{this.STANDARD_CURVE="cubic-bezier(0.4,0.0,0.2,1)"}static{this.DECELERATION_CURVE="cubic-bezier(0.0,0.0,0.2,1)"}static{this.ACCELERATION_CURVE="cubic-bezier(0.4,0.0,1,1)"}static{this.SHARP_CURVE="cubic-bezier(0.4,0.0,0.6,1)"}}return Ct})(),$=(()=>{class Ct{static{this.COMPLEX="375ms"}static{this.ENTERING="225ms"}static{this.EXITING="195ms"}}return Ct})();const V=new o.nKC("mat-sanity-checks",{providedIn:"root",factory:function lt(){return!0}});let mt=(()=>{class Ct{constructor(A,xt,Jt){this._sanityChecks=xt,this._document=Jt,this._hasDoneGlobalChecks=!1,A._applyBodyHighContrastModeCssClasses(),this._hasDoneGlobalChecks||(this._hasDoneGlobalChecks=!0)}_checkIsEnabled(A){return!(0,G.v8)()&&("boolean"==typeof this._sanityChecks?this._sanityChecks:!!this._sanityChecks[A])}static{this.\u0275fac=function(xt){return new(xt||Ct)(o.KVO(y.Q_),o.KVO(V,8),o.KVO(k.qQ))}}static{this.\u0275mod=o.$C({type:Ct})}static{this.\u0275inj=o.G2t({imports:[b.jI,b.jI]})}}return Ct})();function _e(Ct){return class extends Ct{get disabled(){return this._disabled}set disabled(U){this._disabled=(0,P.he)(U)}constructor(...U){super(...U),this._disabled=!1}}}function Le(Ct,U){return class extends Ct{get color(){return this._color}set color(A){const xt=A||this.defaultColor;xt!==this._color&&(this._color&&this._elementRef.nativeElement.classList.remove(`mat-${this._color}`),xt&&this._elementRef.nativeElement.classList.add(`mat-${xt}`),this._color=xt)}constructor(...A){super(...A),this.defaultColor=U,this.color=U}}}function Ge(Ct){return class extends Ct{get disableRipple(){return this._disableRipple}set disableRipple(U){this._disableRipple=(0,P.he)(U)}constructor(...U){super(...U),this._disableRipple=!1}}}function Xe(Ct,U=0){return class extends Ct{get tabIndex(){return this.disabled?-1:this._tabIndex}set tabIndex(A){this._tabIndex=null!=A?(0,P.OE)(A):this.defaultTabIndex}constructor(...A){super(...A),this._tabIndex=U,this.defaultTabIndex=U}}}function ye(Ct){return class extends Ct{updateErrorState(){const U=this.errorState,Fe=(this.errorStateMatcher||this._defaultErrorStateMatcher).isErrorState(this.ngControl?this.ngControl.control:null,this._parentFormGroup||this._parentForm);Fe!==U&&(this.errorState=Fe,this.stateChanges.next())}constructor(...U){super(...U),this.errorState=!1}}}function Ve(Ct){return class extends Ct{constructor(...U){super(...U),this._isInitialized=!1,this._pendingSubscribers=[],this.initialized=new Z.c(A=>{this._isInitialized?this._notifySubscriber(A):this._pendingSubscribers.push(A)})}_markInitialized(){this._isInitialized=!0,this._pendingSubscribers.forEach(this._notifySubscriber),this._pendingSubscribers=null}_notifySubscriber(U){U.next(),U.complete()}}}let ke=(()=>{class Ct{isErrorState(A,xt){return!!(A&&A.invalid&&(A.touched||xt&&xt.submitted))}static{this.\u0275fac=function(xt){return new(xt||Ct)}}static{this.\u0275prov=o.jDH({token:Ct,factory:Ct.\u0275fac,providedIn:"root"})}}return Ct})();class oe{constructor(U,A,xt,Jt=!1){this._renderer=U,this.element=A,this.config=xt,this._animationForciblyDisabledThroughCss=Jt,this.state=3}fadeOut(){this._renderer.fadeOutRipple(this)}}const Qt=(0,G.BQ)({passive:!0,capture:!0});class Et{constructor(){this._events=new Map,this._delegateEventHandler=U=>{const A=(0,G.Fb)(U);A&&this._events.get(U.type)?.forEach((xt,Jt)=>{(Jt===A||Jt.contains(A))&&xt.forEach(Fe=>Fe.handleEvent(U))})}}addHandler(U,A,xt,Jt){const Fe=this._events.get(A);if(Fe){const Ze=Fe.get(xt);Ze?Ze.add(Jt):Fe.set(xt,new Set([Jt]))}else this._events.set(A,new Map([[xt,new Set([Jt])]])),U.runOutsideAngular(()=>{document.addEventListener(A,this._delegateEventHandler,Qt)})}removeHandler(U,A,xt){const Jt=this._events.get(U);if(!Jt)return;const Fe=Jt.get(A);Fe&&(Fe.delete(xt),0===Fe.size&&Jt.delete(A),0===Jt.size&&(this._events.delete(U),document.removeEventListener(U,this._delegateEventHandler,Qt)))}}const re={enterDuration:225,exitDuration:150},ce=(0,G.BQ)({passive:!0,capture:!0}),je=["mousedown","touchstart"],Ht=["mouseup","mouseleave","touchend","touchcancel"];class ne{static{this._eventManager=new Et}constructor(U,A,xt,Jt){this._target=U,this._ngZone=A,this._platform=Jt,this._isPointerDown=!1,this._activeRipples=new Map,this._pointerUpEventsRegistered=!1,Jt.isBrowser&&(this._containerElement=(0,P.i8)(xt))}fadeInRipple(U,A,xt={}){const Jt=this._containerRect=this._containerRect||this._containerElement.getBoundingClientRect(),Fe={...re,...xt.animation};xt.centered&&(U=Jt.left+Jt.width/2,A=Jt.top+Jt.height/2);const Ze=xt.radius||function at(Ct,U,A){const xt=Math.max(Math.abs(Ct-A.left),Math.abs(Ct-A.right)),Jt=Math.max(Math.abs(U-A.top),Math.abs(U-A.bottom));return Math.sqrt(xt*xt+Jt*Jt)}(U,A,Jt),xn=U-Jt.left,Ie=A-Jt.top,Nn=Fe.enterDuration,Qn=document.createElement("div");Qn.classList.add("mat-ripple-element"),Qn.style.left=xn-Ze+"px",Qn.style.top=Ie-Ze+"px",Qn.style.height=2*Ze+"px",Qn.style.width=2*Ze+"px",null!=xt.color&&(Qn.style.backgroundColor=xt.color),Qn.style.transitionDuration=`${Nn}ms`,this._containerElement.appendChild(Qn);const ee=window.getComputedStyle(Qn),_t=ee.transitionDuration,Q="none"===ee.transitionProperty||"0s"===_t||"0s, 0s"===_t||0===Jt.width&&0===Jt.height,Mt=new oe(this,Qn,xt,Q);Qn.style.transform="scale3d(1, 1, 1)",Mt.state=0,xt.persistent||(this._mostRecentTransientRipple=Mt);let Wt=null;return!Q&&(Nn||Fe.exitDuration)&&this._ngZone.runOutsideAngular(()=>{const se=()=>this._finishRippleTransition(Mt),De=()=>this._destroyRipple(Mt);Qn.addEventListener("transitionend",se),Qn.addEventListener("transitioncancel",De),Wt={onTransitionEnd:se,onTransitionCancel:De}}),this._activeRipples.set(Mt,Wt),(Q||!Nn)&&this._finishRippleTransition(Mt),Mt}fadeOutRipple(U){if(2===U.state||3===U.state)return;const A=U.element,xt={...re,...U.config.animation};A.style.transitionDuration=`${xt.exitDuration}ms`,A.style.opacity="0",U.state=2,(U._animationForciblyDisabledThroughCss||!xt.exitDuration)&&this._finishRippleTransition(U)}fadeOutAll(){this._getActiveRipples().forEach(U=>U.fadeOut())}fadeOutAllNonPersistent(){this._getActiveRipples().forEach(U=>{U.config.persistent||U.fadeOut()})}setupTriggerEvents(U){const A=(0,P.i8)(U);!this._platform.isBrowser||!A||A===this._triggerElement||(this._removeTriggerEvents(),this._triggerElement=A,je.forEach(xt=>{ne._eventManager.addHandler(this._ngZone,xt,A,this)}))}handleEvent(U){"mousedown"===U.type?this._onMousedown(U):"touchstart"===U.type?this._onTouchStart(U):this._onPointerUp(),this._pointerUpEventsRegistered||(this._ngZone.runOutsideAngular(()=>{Ht.forEach(A=>{this._triggerElement.addEventListener(A,this,ce)})}),this._pointerUpEventsRegistered=!0)}_finishRippleTransition(U){0===U.state?this._startFadeOutTransition(U):2===U.state&&this._destroyRipple(U)}_startFadeOutTransition(U){const A=U===this._mostRecentTransientRipple,{persistent:xt}=U.config;U.state=1,!xt&&(!A||!this._isPointerDown)&&U.fadeOut()}_destroyRipple(U){const A=this._activeRipples.get(U)??null;this._activeRipples.delete(U),this._activeRipples.size||(this._containerRect=null),U===this._mostRecentTransientRipple&&(this._mostRecentTransientRipple=null),U.state=3,null!==A&&(U.element.removeEventListener("transitionend",A.onTransitionEnd),U.element.removeEventListener("transitioncancel",A.onTransitionCancel)),U.element.remove()}_onMousedown(U){const A=(0,y._G)(U),xt=this._lastTouchStartEvent&&Date.now(){!U.config.persistent&&(1===U.state||U.config.terminateOnPointerUp&&0===U.state)&&U.fadeOut()}))}_getActiveRipples(){return Array.from(this._activeRipples.keys())}_removeTriggerEvents(){const U=this._triggerElement;U&&(je.forEach(A=>ne._eventManager.removeHandler(A,U,this)),this._pointerUpEventsRegistered&&Ht.forEach(A=>U.removeEventListener(A,this,ce)))}}const H=new o.nKC("mat-ripple-global-options");let st=(()=>{class Ct{get disabled(){return this._disabled}set disabled(A){A&&this.fadeOutAllNonPersistent(),this._disabled=A,this._setupTriggerEventsIfEnabled()}get trigger(){return this._trigger||this._elementRef.nativeElement}set trigger(A){this._trigger=A,this._setupTriggerEventsIfEnabled()}constructor(A,xt,Jt,Fe,Ze){this._elementRef=A,this._animationMode=Ze,this.radius=0,this._disabled=!1,this._isInitialized=!1,this._globalOptions=Fe||{},this._rippleRenderer=new ne(this,xt,A,Jt)}ngOnInit(){this._isInitialized=!0,this._setupTriggerEventsIfEnabled()}ngOnDestroy(){this._rippleRenderer._removeTriggerEvents()}fadeOutAll(){this._rippleRenderer.fadeOutAll()}fadeOutAllNonPersistent(){this._rippleRenderer.fadeOutAllNonPersistent()}get rippleConfig(){return{centered:this.centered,radius:this.radius,color:this.color,animation:{...this._globalOptions.animation,..."NoopAnimations"===this._animationMode?{enterDuration:0,exitDuration:0}:{},...this.animation},terminateOnPointerUp:this._globalOptions.terminateOnPointerUp}}get rippleDisabled(){return this.disabled||!!this._globalOptions.disabled}_setupTriggerEventsIfEnabled(){!this.disabled&&this._isInitialized&&this._rippleRenderer.setupTriggerEvents(this.trigger)}launch(A,xt=0,Jt){return"number"==typeof A?this._rippleRenderer.fadeInRipple(A,xt,{...this.rippleConfig,...Jt}):this._rippleRenderer.fadeInRipple(0,0,{...this.rippleConfig,...A})}static{this.\u0275fac=function(xt){return new(xt||Ct)(o.rXU(o.aKT),o.rXU(o.SKi),o.rXU(G.OD),o.rXU(H,8),o.rXU(o.bc$,8))}}static{this.\u0275dir=o.FsC({type:Ct,selectors:[["","mat-ripple",""],["","matRipple",""]],hostAttrs:[1,"mat-ripple"],hostVars:2,hostBindings:function(xt,Jt){2&xt&&o.AVh("mat-ripple-unbounded",Jt.unbounded)},inputs:{color:["matRippleColor","color"],unbounded:["matRippleUnbounded","unbounded"],centered:["matRippleCentered","centered"],radius:["matRippleRadius","radius"],animation:["matRippleAnimation","animation"],disabled:["matRippleDisabled","disabled"],trigger:["matRippleTrigger","trigger"]},exportAs:["matRipple"]})}}return Ct})(),zt=(()=>{class Ct{static{this.\u0275fac=function(xt){return new(xt||Ct)}}static{this.\u0275mod=o.$C({type:Ct})}static{this.\u0275inj=o.G2t({imports:[mt,mt]})}}return Ct})(),vt=(()=>{class Ct{constructor(A){this._animationMode=A,this.state="unchecked",this.disabled=!1,this.appearance="full"}static{this.\u0275fac=function(xt){return new(xt||Ct)(o.rXU(o.bc$,8))}}static{this.\u0275cmp=o.VBU({type:Ct,selectors:[["mat-pseudo-checkbox"]],hostAttrs:[1,"mat-pseudo-checkbox"],hostVars:12,hostBindings:function(xt,Jt){2&xt&&o.AVh("mat-pseudo-checkbox-indeterminate","indeterminate"===Jt.state)("mat-pseudo-checkbox-checked","checked"===Jt.state)("mat-pseudo-checkbox-disabled",Jt.disabled)("mat-pseudo-checkbox-minimal","minimal"===Jt.appearance)("mat-pseudo-checkbox-full","full"===Jt.appearance)("_mat-animation-noopable","NoopAnimations"===Jt._animationMode)},inputs:{state:"state",disabled:"disabled",appearance:"appearance"},decls:0,vars:0,template:function(xt,Jt){},styles:['.mat-pseudo-checkbox{border-radius:2px;cursor:pointer;display:inline-block;vertical-align:middle;box-sizing:border-box;position:relative;flex-shrink:0;transition:border-color 90ms cubic-bezier(0, 0, 0.2, 0.1),background-color 90ms cubic-bezier(0, 0, 0.2, 0.1)}.mat-pseudo-checkbox::after{position:absolute;opacity:0;content:"";border-bottom:2px solid currentColor;transition:opacity 90ms cubic-bezier(0, 0, 0.2, 0.1)}.mat-pseudo-checkbox._mat-animation-noopable{transition:none !important;animation:none !important}.mat-pseudo-checkbox._mat-animation-noopable::after{transition:none}.mat-pseudo-checkbox-disabled{cursor:default}.mat-pseudo-checkbox-indeterminate::after{left:1px;opacity:1;border-radius:2px}.mat-pseudo-checkbox-checked::after{left:1px;border-left:2px solid currentColor;transform:rotate(-45deg);opacity:1;box-sizing:content-box}.mat-pseudo-checkbox-full{border:2px solid}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked,.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate{border-color:rgba(0,0,0,0)}.mat-pseudo-checkbox{width:18px;height:18px}.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-checked::after{width:14px;height:6px;transform-origin:center;top:-4.2426406871px;left:0;bottom:0;right:0;margin:auto}.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-indeterminate::after{top:8px;width:16px}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked::after{width:10px;height:4px;transform-origin:center;top:-2.8284271247px;left:0;bottom:0;right:0;margin:auto}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate::after{top:6px;width:12px}'],encapsulation:2,changeDetection:0})}}return Ct})(),kt=(()=>{class Ct{static{this.\u0275fac=function(xt){return new(xt||Ct)}}static{this.\u0275mod=o.$C({type:Ct})}static{this.\u0275inj=o.G2t({imports:[mt]})}}return Ct})();const tt=new o.nKC("MAT_OPTION_PARENT_COMPONENT"),xe=new o.nKC("MatOptgroup");let Ke=0;class on{constructor(U,A=!1){this.source=U,this.isUserInput=A}}let _n=(()=>{class Ct{get multiple(){return this._parent&&this._parent.multiple}get selected(){return this._selected}get disabled(){return this.group&&this.group.disabled||this._disabled}set disabled(A){this._disabled=(0,P.he)(A)}get disableRipple(){return!(!this._parent||!this._parent.disableRipple)}get hideSingleSelectionIndicator(){return!(!this._parent||!this._parent.hideSingleSelectionIndicator)}constructor(A,xt,Jt,Fe){this._element=A,this._changeDetectorRef=xt,this._parent=Jt,this.group=Fe,this._selected=!1,this._active=!1,this._disabled=!1,this._mostRecentViewValue="",this.id="mat-option-"+Ke++,this.onSelectionChange=new o.bkB,this._stateChanges=new N.B}get active(){return this._active}get viewValue(){return(this._text?.nativeElement.textContent||"").trim()}select(A=!0){this._selected||(this._selected=!0,this._changeDetectorRef.markForCheck(),A&&this._emitSelectionChangeEvent())}deselect(A=!0){this._selected&&(this._selected=!1,this._changeDetectorRef.markForCheck(),A&&this._emitSelectionChangeEvent())}focus(A,xt){const Jt=this._getHostElement();"function"==typeof Jt.focus&&Jt.focus(xt)}setActiveStyles(){this._active||(this._active=!0,this._changeDetectorRef.markForCheck())}setInactiveStyles(){this._active&&(this._active=!1,this._changeDetectorRef.markForCheck())}getLabel(){return this.viewValue}_handleKeydown(A){(A.keyCode===ot.Fm||A.keyCode===ot.t6)&&!(0,ot.rp)(A)&&(this._selectViaInteraction(),A.preventDefault())}_selectViaInteraction(){this.disabled||(this._selected=!this.multiple||!this._selected,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent(!0))}_getTabIndex(){return this.disabled?"-1":"0"}_getHostElement(){return this._element.nativeElement}ngAfterViewChecked(){if(this._selected){const A=this.viewValue;A!==this._mostRecentViewValue&&(this._mostRecentViewValue&&this._stateChanges.next(),this._mostRecentViewValue=A)}}ngOnDestroy(){this._stateChanges.complete()}_emitSelectionChangeEvent(A=!1){this.onSelectionChange.emit(new on(this,A))}static{this.\u0275fac=function(xt){o.QTQ()}}static{this.\u0275dir=o.FsC({type:Ct,viewQuery:function(xt,Jt){if(1&xt&&o.GBs(M,7),2&xt){let Fe;o.mGM(Fe=o.lsd())&&(Jt._text=Fe.first)}},inputs:{value:"value",id:"id",disabled:"disabled"},outputs:{onSelectionChange:"onSelectionChange"}})}}return Ct})(),hn=(()=>{class Ct extends _n{constructor(A,xt,Jt,Fe){super(A,xt,Jt,Fe)}static{this.\u0275fac=function(xt){return new(xt||Ct)(o.rXU(o.aKT),o.rXU(o.gRc),o.rXU(tt,8),o.rXU(xe,8))}}static{this.\u0275cmp=o.VBU({type:Ct,selectors:[["mat-option"]],hostAttrs:["role","option",1,"mat-mdc-option","mdc-list-item"],hostVars:11,hostBindings:function(xt,Jt){1&xt&&o.bIt("click",function(){return Jt._selectViaInteraction()})("keydown",function(Ze){return Jt._handleKeydown(Ze)}),2&xt&&(o.Mr5("id",Jt.id),o.BMQ("aria-selected",Jt.selected)("aria-disabled",Jt.disabled.toString()),o.AVh("mdc-list-item--selected",Jt.selected)("mat-mdc-option-multiple",Jt.multiple)("mat-mdc-option-active",Jt.active)("mdc-list-item--disabled",Jt.disabled))},exportAs:["matOption"],features:[o.Vt3],ngContentSelectors:bt,decls:8,vars:5,consts:[["class","mat-mdc-option-pseudo-checkbox","aria-hidden","true",3,"disabled","state",4,"ngIf"],[1,"mdc-list-item__primary-text"],["text",""],["class","mat-mdc-option-pseudo-checkbox","state","checked","aria-hidden","true","appearance","minimal",3,"disabled",4,"ngIf"],["class","cdk-visually-hidden",4,"ngIf"],["aria-hidden","true","mat-ripple","",1,"mat-mdc-option-ripple","mat-mdc-focus-indicator",3,"matRippleTrigger","matRippleDisabled"],["aria-hidden","true",1,"mat-mdc-option-pseudo-checkbox",3,"disabled","state"],["state","checked","aria-hidden","true","appearance","minimal",1,"mat-mdc-option-pseudo-checkbox",3,"disabled"],[1,"cdk-visually-hidden"]],template:function(xt,Jt){1&xt&&(o.NAR(J),o.DNE(0,a,1,2,"mat-pseudo-checkbox",0),o.SdG(1),o.j41(2,"span",1,2),o.SdG(4,1),o.k0s(),o.DNE(5,pt,1,1,"mat-pseudo-checkbox",3),o.DNE(6,j,2,1,"span",4),o.nrm(7,"div",5)),2&xt&&(o.Y8G("ngIf",Jt.multiple),o.R7$(5),o.Y8G("ngIf",!Jt.multiple&&Jt.selected&&!Jt.hideSingleSelectionIndicator),o.R7$(1),o.Y8G("ngIf",Jt.group&&Jt.group._inert),o.R7$(1),o.Y8G("matRippleTrigger",Jt._getHostElement())("matRippleDisabled",Jt.disabled||Jt.disableRipple))},dependencies:[st,k.bT,vt],styles:['.mat-mdc-option{display:flex;position:relative;align-items:center;justify-content:flex-start;overflow:hidden;padding:0;padding-left:16px;padding-right:16px;-webkit-user-select:none;user-select:none;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;cursor:pointer;-webkit-tap-highlight-color:rgba(0,0,0,0);color:var(--mat-option-label-text-color);font-family:var(--mat-option-label-text-font);line-height:var(--mat-option-label-text-line-height);font-size:var(--mat-option-label-text-size);letter-spacing:var(--mat-option-label-text-tracking);font-weight:var(--mat-option-label-text-weight);min-height:48px}.mat-mdc-option:focus{outline:none}[dir=rtl] .mat-mdc-option,.mat-mdc-option[dir=rtl]{padding-left:16px;padding-right:16px}.mat-mdc-option:hover:not(.mdc-list-item--disabled){background-color:var(--mat-option-hover-state-layer-color)}.mat-mdc-option:focus.mdc-list-item,.mat-mdc-option.mat-mdc-option-active.mdc-list-item{background-color:var(--mat-option-focus-state-layer-color)}.mat-mdc-option.mdc-list-item--selected:not(.mdc-list-item--disabled) .mdc-list-item__primary-text{color:var(--mat-option-selected-state-label-text-color)}.mat-mdc-option.mdc-list-item--selected:not(.mdc-list-item--disabled):not(.mat-mdc-option-multiple){background-color:var(--mat-option-selected-state-layer-color)}.mat-mdc-option.mdc-list-item{align-items:center}.mat-mdc-option.mdc-list-item--disabled{cursor:default;pointer-events:none}.mat-mdc-option.mdc-list-item--disabled .mat-mdc-option-pseudo-checkbox,.mat-mdc-option.mdc-list-item--disabled .mdc-list-item__primary-text,.mat-mdc-option.mdc-list-item--disabled>mat-icon{opacity:.38}.mat-mdc-optgroup .mat-mdc-option:not(.mat-mdc-option-multiple){padding-left:32px}[dir=rtl] .mat-mdc-optgroup .mat-mdc-option:not(.mat-mdc-option-multiple){padding-left:16px;padding-right:32px}.mat-mdc-option .mat-icon,.mat-mdc-option .mat-pseudo-checkbox-full{margin-right:16px;flex-shrink:0}[dir=rtl] .mat-mdc-option .mat-icon,[dir=rtl] .mat-mdc-option .mat-pseudo-checkbox-full{margin-right:0;margin-left:16px}.mat-mdc-option .mat-pseudo-checkbox-minimal{margin-left:16px;flex-shrink:0}[dir=rtl] .mat-mdc-option .mat-pseudo-checkbox-minimal{margin-right:16px;margin-left:0}.mat-mdc-option .mat-mdc-option-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-mdc-option .mdc-list-item__primary-text{white-space:normal;font-size:inherit;font-weight:inherit;letter-spacing:inherit;line-height:inherit;font-family:inherit;text-decoration:inherit;text-transform:inherit;margin-right:auto}[dir=rtl] .mat-mdc-option .mdc-list-item__primary-text{margin-right:0;margin-left:auto}.cdk-high-contrast-active .mat-mdc-option.mdc-list-item--selected:not(.mat-mdc-option-multiple)::after{content:"";position:absolute;top:50%;right:16px;transform:translateY(-50%);width:10px;height:0;border-bottom:solid 10px;border-radius:10px}[dir=rtl] .cdk-high-contrast-active .mat-mdc-option.mdc-list-item--selected:not(.mat-mdc-option-multiple)::after{right:auto;left:16px}.mat-mdc-option-active .mat-mdc-focus-indicator::before{content:""}'],encapsulation:2,changeDetection:0})}}return Ct})();function fe(Ct,U,A){if(A.length){let xt=U.toArray(),Jt=A.toArray(),Fe=0;for(let Ze=0;ZeA+xt?Math.max(0,Ct-xt+U):A}let me=(()=>{class Ct{static{this.\u0275fac=function(xt){return new(xt||Ct)}}static{this.\u0275mod=o.$C({type:Ct})}static{this.\u0275inj=o.G2t({imports:[zt,k.MD,mt,kt]})}}return Ct})();const jt={capture:!0},Dt=["focus","click","mouseenter","touchstart"],dt="mat-ripple-loader-uninitialized",Rt="mat-ripple-loader-class-name",ae="mat-ripple-loader-centered",ze="mat-ripple-loader-disabled";let Zt=(()=>{class Ct{constructor(){this._document=(0,o.WQX)(k.qQ,{optional:!0}),this._animationMode=(0,o.WQX)(o.bc$,{optional:!0}),this._globalRippleOptions=(0,o.WQX)(H,{optional:!0}),this._platform=(0,o.WQX)(G.OD),this._ngZone=(0,o.WQX)(o.SKi),this._hosts=new Map,this._onInteraction=A=>{if(!(A.target instanceof HTMLElement))return;const Jt=A.target.closest(`[${dt}]`);Jt&&this._createRipple(Jt)},this._ngZone.runOutsideAngular(()=>{for(const A of Dt)this._document?.addEventListener(A,this._onInteraction,jt)})}ngOnDestroy(){const A=this._hosts.keys();for(const xt of A)this.destroyRipple(xt);for(const xt of Dt)this._document?.removeEventListener(xt,this._onInteraction,jt)}configureRipple(A,xt){A.setAttribute(dt,""),(xt.className||!A.hasAttribute(Rt))&&A.setAttribute(Rt,xt.className||""),xt.centered&&A.setAttribute(ae,""),xt.disabled&&A.setAttribute(ze,"")}getRipple(A){return this._hosts.get(A)||this._createRipple(A)}setDisabled(A,xt){const Jt=this._hosts.get(A);Jt?Jt.disabled=xt:xt?A.setAttribute(ze,""):A.removeAttribute(ze)}_createRipple(A){if(!this._document)return;const xt=this._hosts.get(A);if(xt)return xt;A.querySelector(".mat-ripple")?.remove();const Jt=this._document.createElement("span");Jt.classList.add("mat-ripple",A.getAttribute(Rt)),A.append(Jt);const Fe=new st(new o.aKT(Jt),this._ngZone,this._platform,this._globalRippleOptions?this._globalRippleOptions:void 0,this._animationMode?this._animationMode:void 0);return Fe._isInitialized=!0,Fe.trigger=A,Fe.centered=A.hasAttribute(ae),Fe.disabled=A.hasAttribute(ze),this.attachRipple(A,Fe),Fe}attachRipple(A,xt){A.removeAttribute(dt),this._hosts.set(A,xt)}destroyRipple(A){const xt=this._hosts.get(A);xt&&(xt.ngOnDestroy(),this._hosts.delete(A))}static{this.\u0275fac=function(xt){return new(xt||Ct)}}static{this.\u0275prov=o.jDH({token:Ct,factory:Ct.\u0275fac,providedIn:"root"})}}return Ct})()},62633:(Ce,Lt,r)=>{r.d(Lt,{Vh:()=>un,bZ:()=>Ee,E7:()=>at,tx:()=>je,Yi:()=>ne,hM:()=>st,CP:()=>Ne,BI:()=>Ht});var o=r(3819),y=r(18331),b=r(1843),T=r(83607),k=r(29094),G=r(86953),P=r(25150),Z=r(89115),N=r(19424),ot=r(73151),q=r(10165),K=r(28930);function M(kt,tt){}class a{constructor(){this.role="dialog",this.panelClass="",this.hasBackdrop=!0,this.backdropClass="",this.disableClose=!1,this.width="",this.height="",this.data=null,this.ariaDescribedBy=null,this.ariaLabelledBy=null,this.ariaLabel=null,this.ariaModal=!0,this.autoFocus="first-tabbable",this.restoreFocus=!0,this.closeOnNavigation=!0,this.closeOnDestroy=!0,this.closeOnOverlayDetachments=!0}}let j=(()=>{class kt extends G.lb{constructor(X,ft,Ot,xe,Te,Ke,on,_n){super(),this._elementRef=X,this._focusTrapFactory=ft,this._config=xe,this._interactivityChecker=Te,this._ngZone=Ke,this._overlayRef=on,this._focusMonitor=_n,this._elementFocusedBeforeDialogWasOpened=null,this._closeInteractionType=null,this._ariaLabelledByQueue=[],this.attachDomPortal=hn=>{this._portalOutlet.hasAttached();const fe=this._portalOutlet.attachDomPortal(hn);return this._contentAttached(),fe},this._document=Ot,this._config.ariaLabelledBy&&this._ariaLabelledByQueue.push(this._config.ariaLabelledBy)}_contentAttached(){this._initializeFocusTrap(),this._handleBackdropClicks(),this._captureInitialFocus()}_captureInitialFocus(){this._trapFocus()}ngOnDestroy(){this._restoreFocus()}attachComponentPortal(X){this._portalOutlet.hasAttached();const ft=this._portalOutlet.attachComponentPortal(X);return this._contentAttached(),ft}attachTemplatePortal(X){this._portalOutlet.hasAttached();const ft=this._portalOutlet.attachTemplatePortal(X);return this._contentAttached(),ft}_recaptureFocus(){this._containsFocus()||this._trapFocus()}_forceFocus(X,ft){this._interactivityChecker.isFocusable(X)||(X.tabIndex=-1,this._ngZone.runOutsideAngular(()=>{const Ot=()=>{X.removeEventListener("blur",Ot),X.removeEventListener("mousedown",Ot),X.removeAttribute("tabindex")};X.addEventListener("blur",Ot),X.addEventListener("mousedown",Ot)})),X.focus(ft)}_focusByCssSelector(X,ft){let Ot=this._elementRef.nativeElement.querySelector(X);Ot&&this._forceFocus(Ot,ft)}_trapFocus(){const X=this._elementRef.nativeElement;switch(this._config.autoFocus){case!1:case"dialog":this._containsFocus()||X.focus();break;case!0:case"first-tabbable":this._focusTrap.focusInitialElementWhenReady().then(ft=>{ft||this._focusDialogContainer()});break;case"first-heading":this._focusByCssSelector('h1, h2, h3, h4, h5, h6, [role="heading"]');break;default:this._focusByCssSelector(this._config.autoFocus)}}_restoreFocus(){const X=this._config.restoreFocus;let ft=null;if("string"==typeof X?ft=this._document.querySelector(X):"boolean"==typeof X?ft=X?this._elementFocusedBeforeDialogWasOpened:null:X&&(ft=X),this._config.restoreFocus&&ft&&"function"==typeof ft.focus){const Ot=(0,k.vc)(),xe=this._elementRef.nativeElement;(!Ot||Ot===this._document.body||Ot===xe||xe.contains(Ot))&&(this._focusMonitor?(this._focusMonitor.focusVia(ft,this._closeInteractionType),this._closeInteractionType=null):ft.focus())}this._focusTrap&&this._focusTrap.destroy()}_focusDialogContainer(){this._elementRef.nativeElement.focus&&this._elementRef.nativeElement.focus()}_containsFocus(){const X=this._elementRef.nativeElement,ft=(0,k.vc)();return X===ft||X.contains(ft)}_initializeFocusTrap(){this._focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement),this._document&&(this._elementFocusedBeforeDialogWasOpened=(0,k.vc)())}_handleBackdropClicks(){this._overlayRef.backdropClick().subscribe(()=>{this._config.disableClose&&this._recaptureFocus()})}static{this.\u0275fac=function(ft){return new(ft||kt)(b.rXU(b.aKT),b.rXU(T.GX),b.rXU(y.qQ,8),b.rXU(a),b.rXU(T.Z7),b.rXU(b.SKi),b.rXU(o.yY),b.rXU(T.FN))}}static{this.\u0275cmp=b.VBU({type:kt,selectors:[["cdk-dialog-container"]],viewQuery:function(ft,Ot){if(1&ft&&b.GBs(G.I3,7),2&ft){let xe;b.mGM(xe=b.lsd())&&(Ot._portalOutlet=xe.first)}},hostAttrs:["tabindex","-1",1,"cdk-dialog-container"],hostVars:6,hostBindings:function(ft,Ot){2&ft&&b.BMQ("id",Ot._config.id||null)("role",Ot._config.role)("aria-modal",Ot._config.ariaModal)("aria-labelledby",Ot._config.ariaLabel?null:Ot._ariaLabelledByQueue[0])("aria-label",Ot._config.ariaLabel)("aria-describedby",Ot._config.ariaDescribedBy||null)},features:[b.Vt3],decls:1,vars:0,consts:[["cdkPortalOutlet",""]],template:function(ft,Ot){1&ft&&b.DNE(0,M,0,0,"ng-template",0)},dependencies:[G.I3],styles:[".cdk-dialog-container{display:block;width:100%;height:100%;min-height:inherit;max-height:inherit}"],encapsulation:2})}}return kt})();class J{constructor(tt,X){this.overlayRef=tt,this.config=X,this.closed=new Z.B,this.disableClose=X.disableClose,this.backdropClick=tt.backdropClick(),this.keydownEvents=tt.keydownEvents(),this.outsidePointerEvents=tt.outsidePointerEvents(),this.id=X.id,this.keydownEvents.subscribe(ft=>{ft.keyCode===P._f&&!this.disableClose&&!(0,P.rp)(ft)&&(ft.preventDefault(),this.close(void 0,{focusOrigin:"keyboard"}))}),this.backdropClick.subscribe(()=>{this.disableClose||this.close(void 0,{focusOrigin:"mouse"})}),this._detachSubscription=tt.detachments().subscribe(()=>{!1!==X.closeOnOverlayDetachments&&this.close()})}close(tt,X){if(this.containerInstance){const ft=this.closed;this.containerInstance._closeInteractionType=X?.focusOrigin||"program",this._detachSubscription.unsubscribe(),this.overlayRef.dispose(),ft.next(tt),ft.complete(),this.componentInstance=this.containerInstance=null}}updatePosition(){return this.overlayRef.updatePosition(),this}updateSize(tt="",X=""){return this.overlayRef.updateSize({width:tt,height:X}),this}addPanelClass(tt){return this.overlayRef.addPanelClass(tt),this}removePanelClass(tt){return this.overlayRef.removePanelClass(tt),this}}const bt=new b.nKC("DialogScrollStrategy"),Gt=new b.nKC("DialogData"),te=new b.nKC("DefaultDialogConfig"),lt={provide:bt,deps:[o.hJ],useFactory:function $(kt){return()=>kt.scrollStrategies.block()}};let V=0,mt=(()=>{class kt{get openDialogs(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel}get afterOpened(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel}constructor(X,ft,Ot,xe,Te,Ke){this._overlay=X,this._injector=ft,this._defaultOptions=Ot,this._parentDialog=xe,this._overlayContainer=Te,this._openDialogsAtThisLevel=[],this._afterAllClosedAtThisLevel=new Z.B,this._afterOpenedAtThisLevel=new Z.B,this._ariaHiddenElements=new Map,this.afterAllClosed=(0,N.v)(()=>this.openDialogs.length?this._getAfterAllClosed():this._getAfterAllClosed().pipe((0,K.Z)(void 0))),this._scrollStrategy=Ke}open(X,ft){(ft={...this._defaultOptions||new a,...ft}).id=ft.id||"cdk-dialog-"+V++,ft.id&&this.getDialogById(ft.id);const xe=this._getOverlayConfig(ft),Te=this._overlay.create(xe),Ke=new J(Te,ft),on=this._attachContainer(Te,Ke,ft);return Ke.containerInstance=on,this._attachDialogContent(X,Ke,on,ft),this.openDialogs.length||this._hideNonDialogContentFromAssistiveTechnology(),this.openDialogs.push(Ke),Ke.closed.subscribe(()=>this._removeOpenDialog(Ke,!0)),this.afterOpened.next(Ke),Ke}closeAll(){rt(this.openDialogs,X=>X.close())}getDialogById(X){return this.openDialogs.find(ft=>ft.id===X)}ngOnDestroy(){rt(this._openDialogsAtThisLevel,X=>{!1===X.config.closeOnDestroy&&this._removeOpenDialog(X,!1)}),rt(this._openDialogsAtThisLevel,X=>X.close()),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete(),this._openDialogsAtThisLevel=[]}_getOverlayConfig(X){const ft=new o.rR({positionStrategy:X.positionStrategy||this._overlay.position().global().centerHorizontally().centerVertically(),scrollStrategy:X.scrollStrategy||this._scrollStrategy(),panelClass:X.panelClass,hasBackdrop:X.hasBackdrop,direction:X.direction,minWidth:X.minWidth,minHeight:X.minHeight,maxWidth:X.maxWidth,maxHeight:X.maxHeight,width:X.width,height:X.height,disposeOnNavigation:X.closeOnNavigation});return X.backdropClass&&(ft.backdropClass=X.backdropClass),ft}_attachContainer(X,ft,Ot){const xe=Ot.injector||Ot.viewContainerRef?.injector,Te=[{provide:a,useValue:Ot},{provide:J,useValue:ft},{provide:o.yY,useValue:X}];let Ke;Ot.container?"function"==typeof Ot.container?Ke=Ot.container:(Ke=Ot.container.type,Te.push(...Ot.container.providers(Ot))):Ke=j;const on=new G.A8(Ke,Ot.viewContainerRef,b.zZn.create({parent:xe||this._injector,providers:Te}),Ot.componentFactoryResolver);return X.attach(on).instance}_attachDialogContent(X,ft,Ot,xe){if(X instanceof b.C4Q){const Te=this._createInjector(xe,ft,Ot,void 0);let Ke={$implicit:xe.data,dialogRef:ft};xe.templateContext&&(Ke={...Ke,..."function"==typeof xe.templateContext?xe.templateContext():xe.templateContext}),Ot.attachTemplatePortal(new G.VA(X,null,Ke,Te))}else{const Te=this._createInjector(xe,ft,Ot,this._injector),Ke=Ot.attachComponentPortal(new G.A8(X,xe.viewContainerRef,Te,xe.componentFactoryResolver));ft.componentRef=Ke,ft.componentInstance=Ke.instance}}_createInjector(X,ft,Ot,xe){const Te=X.injector||X.viewContainerRef?.injector,Ke=[{provide:Gt,useValue:X.data},{provide:J,useValue:ft}];return X.providers&&("function"==typeof X.providers?Ke.push(...X.providers(ft,X,Ot)):Ke.push(...X.providers)),X.direction&&(!Te||!Te.get(q.dS,null,{optional:!0}))&&Ke.push({provide:q.dS,useValue:{value:X.direction,change:(0,ot.of)()}}),b.zZn.create({parent:Te||xe,providers:Ke})}_removeOpenDialog(X,ft){const Ot=this.openDialogs.indexOf(X);Ot>-1&&(this.openDialogs.splice(Ot,1),this.openDialogs.length||(this._ariaHiddenElements.forEach((xe,Te)=>{xe?Te.setAttribute("aria-hidden",xe):Te.removeAttribute("aria-hidden")}),this._ariaHiddenElements.clear(),ft&&this._getAfterAllClosed().next()))}_hideNonDialogContentFromAssistiveTechnology(){const X=this._overlayContainer.getContainerElement();if(X.parentElement){const ft=X.parentElement.children;for(let Ot=ft.length-1;Ot>-1;Ot--){const xe=ft[Ot];xe!==X&&"SCRIPT"!==xe.nodeName&&"STYLE"!==xe.nodeName&&!xe.hasAttribute("aria-live")&&(this._ariaHiddenElements.set(xe,xe.getAttribute("aria-hidden")),xe.setAttribute("aria-hidden","true"))}}}_getAfterAllClosed(){const X=this._parentDialog;return X?X._getAfterAllClosed():this._afterAllClosedAtThisLevel}static{this.\u0275fac=function(ft){return new(ft||kt)(b.KVO(o.hJ),b.KVO(b.zZn),b.KVO(te,8),b.KVO(kt,12),b.KVO(o.Sf),b.KVO(bt))}}static{this.\u0275prov=b.jDH({token:kt,factory:kt.\u0275fac})}}return kt})();function rt(kt,tt){let X=kt.length;for(;X--;)tt(kt[X])}let $t=(()=>{class kt{static{this.\u0275fac=function(ft){return new(ft||kt)}}static{this.\u0275mod=b.$C({type:kt})}static{this.\u0275inj=b.G2t({providers:[mt,lt],imports:[o.z_,G.jc,T.Pd,G.jc]})}}return kt})();var de=r(8275),_e=r(85012),Le=r(98474),Ge=r(89371),Xe=r(42250);function Ve(kt,tt){}r(89411);class Oe{constructor(){this.role="dialog",this.panelClass="",this.hasBackdrop=!0,this.backdropClass="",this.disableClose=!1,this.width="",this.height="",this.maxWidth="80vw",this.data=null,this.ariaDescribedBy=null,this.ariaLabelledBy=null,this.ariaLabel=null,this.ariaModal=!0,this.autoFocus="first-tabbable",this.restoreFocus=!0,this.delayFocusTrap=!0,this.closeOnNavigation=!0}}const Qe="mdc-dialog--open",be="mdc-dialog--opening",Me="mdc-dialog--closing";let Nt=(()=>{class kt extends j{constructor(X,ft,Ot,xe,Te,Ke,on,_n){super(X,ft,Ot,xe,Te,Ke,on,_n),this._animationStateChanged=new b.bkB}_captureInitialFocus(){this._config.delayFocusTrap||this._trapFocus()}_openAnimationDone(X){this._config.delayFocusTrap&&this._trapFocus(),this._animationStateChanged.next({state:"opened",totalTime:X})}static{this.\u0275fac=function(ft){return new(ft||kt)(b.rXU(b.aKT),b.rXU(T.GX),b.rXU(y.qQ,8),b.rXU(Oe),b.rXU(T.Z7),b.rXU(b.SKi),b.rXU(o.yY),b.rXU(T.FN))}}static{this.\u0275cmp=b.VBU({type:kt,selectors:[["ng-component"]],features:[b.Vt3],decls:0,vars:0,template:function(ft,Ot){},encapsulation:2})}}return kt})();const Tt="--mat-dialog-transition-duration";function Yt(kt){return null==kt?null:"number"==typeof kt?kt:kt.endsWith("ms")?(0,de.OE)(kt.substring(0,kt.length-2)):kt.endsWith("s")?1e3*(0,de.OE)(kt.substring(0,kt.length-1)):"0"===kt?0:null}let Ut=(()=>{class kt extends Nt{constructor(X,ft,Ot,xe,Te,Ke,on,_n,hn){super(X,ft,Ot,xe,Te,Ke,on,hn),this._animationMode=_n,this._animationsEnabled="NoopAnimations"!==this._animationMode,this._hostElement=this._elementRef.nativeElement,this._enterAnimationDuration=this._animationsEnabled?Yt(this._config.enterAnimationDuration)??150:0,this._exitAnimationDuration=this._animationsEnabled?Yt(this._config.exitAnimationDuration)??75:0,this._animationTimer=null,this._finishDialogOpen=()=>{this._clearAnimationClasses(),this._openAnimationDone(this._enterAnimationDuration)},this._finishDialogClose=()=>{this._clearAnimationClasses(),this._animationStateChanged.emit({state:"closed",totalTime:this._exitAnimationDuration})}}_contentAttached(){super._contentAttached(),this._startOpenAnimation()}ngOnDestroy(){super.ngOnDestroy(),null!==this._animationTimer&&clearTimeout(this._animationTimer)}_startOpenAnimation(){this._animationStateChanged.emit({state:"opening",totalTime:this._enterAnimationDuration}),this._animationsEnabled?(this._hostElement.style.setProperty(Tt,`${this._enterAnimationDuration}ms`),this._requestAnimationFrame(()=>this._hostElement.classList.add(be,Qe)),this._waitForAnimationToComplete(this._enterAnimationDuration,this._finishDialogOpen)):(this._hostElement.classList.add(Qe),Promise.resolve().then(()=>this._finishDialogOpen()))}_startExitAnimation(){this._animationStateChanged.emit({state:"closing",totalTime:this._exitAnimationDuration}),this._hostElement.classList.remove(Qe),this._animationsEnabled?(this._hostElement.style.setProperty(Tt,`${this._exitAnimationDuration}ms`),this._requestAnimationFrame(()=>this._hostElement.classList.add(Me)),this._waitForAnimationToComplete(this._exitAnimationDuration,this._finishDialogClose)):Promise.resolve().then(()=>this._finishDialogClose())}_clearAnimationClasses(){this._hostElement.classList.remove(be,Me)}_waitForAnimationToComplete(X,ft){null!==this._animationTimer&&clearTimeout(this._animationTimer),this._animationTimer=setTimeout(ft,X)}_requestAnimationFrame(X){this._ngZone.runOutsideAngular(()=>{"function"==typeof requestAnimationFrame?requestAnimationFrame(X):X()})}static{this.\u0275fac=function(ft){return new(ft||kt)(b.rXU(b.aKT),b.rXU(T.GX),b.rXU(y.qQ,8),b.rXU(Oe),b.rXU(T.Z7),b.rXU(b.SKi),b.rXU(o.yY),b.rXU(b.bc$,8),b.rXU(T.FN))}}static{this.\u0275cmp=b.VBU({type:kt,selectors:[["mat-dialog-container"]],hostAttrs:["tabindex","-1",1,"mat-mdc-dialog-container","mdc-dialog"],hostVars:8,hostBindings:function(ft,Ot){2&ft&&(b.Mr5("id",Ot._config.id),b.BMQ("aria-modal",Ot._config.ariaModal)("role",Ot._config.role)("aria-labelledby",Ot._config.ariaLabel?null:Ot._ariaLabelledByQueue[0])("aria-label",Ot._config.ariaLabel)("aria-describedby",Ot._config.ariaDescribedBy||null),b.AVh("_mat-animation-noopable",!Ot._animationsEnabled))},features:[b.Vt3],decls:3,vars:0,consts:[[1,"mdc-dialog__container"],[1,"mat-mdc-dialog-surface","mdc-dialog__surface"],["cdkPortalOutlet",""]],template:function(ft,Ot){1&ft&&(b.j41(0,"div",0)(1,"div",1),b.DNE(2,Ve,0,0,"ng-template",2),b.k0s()())},dependencies:[G.I3],styles:['.mdc-elevation-overlay{position:absolute;border-radius:inherit;pointer-events:none;opacity:var(--mdc-elevation-overlay-opacity, 0);transition:opacity 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-dialog,.mdc-dialog__scrim{position:fixed;top:0;left:0;align-items:center;justify-content:center;box-sizing:border-box;width:100%;height:100%}.mdc-dialog{display:none;z-index:var(--mdc-dialog-z-index, 7)}.mdc-dialog .mdc-dialog__content{padding:20px 24px 20px 24px}.mdc-dialog .mdc-dialog__surface{min-width:280px}@media(max-width: 592px){.mdc-dialog .mdc-dialog__surface{max-width:calc(100vw - 32px)}}@media(min-width: 592px){.mdc-dialog .mdc-dialog__surface{max-width:560px}}.mdc-dialog .mdc-dialog__surface{max-height:calc(100% - 32px)}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{max-width:none}@media(max-width: 960px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{max-height:560px;width:560px}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__close{right:-12px}}@media(max-width: 720px)and (max-width: 672px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{width:calc(100vw - 112px)}}@media(max-width: 720px)and (min-width: 672px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{width:560px}}@media(max-width: 720px)and (max-height: 720px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{max-height:calc(100vh - 160px)}}@media(max-width: 720px)and (min-height: 720px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{max-height:560px}}@media(max-width: 720px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__close{right:-12px}}@media(max-width: 720px)and (max-height: 400px),(max-width: 600px),(min-width: 720px)and (max-height: 400px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{height:100%;max-height:100vh;max-width:100vw;width:100vw;border-radius:0}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__close{order:-1;left:-12px}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__header{padding:0 16px 9px;justify-content:flex-start}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__title{margin-left:calc(16px - 2 * 12px)}}@media(min-width: 960px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{width:calc(100vw - 400px)}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__close{right:-12px}}.mdc-dialog.mdc-dialog__scrim--hidden .mdc-dialog__scrim{opacity:0}.mdc-dialog__scrim{opacity:0;z-index:-1}.mdc-dialog__container{display:flex;flex-direction:row;align-items:center;justify-content:space-around;box-sizing:border-box;height:100%;transform:scale(0.8);opacity:0;pointer-events:none}.mdc-dialog__surface{position:relative;display:flex;flex-direction:column;flex-grow:0;flex-shrink:0;box-sizing:border-box;max-width:100%;max-height:100%;pointer-events:auto;overflow-y:auto;outline:0}.mdc-dialog__surface .mdc-elevation-overlay{width:100%;height:100%;top:0;left:0}[dir=rtl] .mdc-dialog__surface,.mdc-dialog__surface[dir=rtl]{text-align:right}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mdc-dialog__surface{outline:2px solid windowText}}.mdc-dialog__surface::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:2px solid rgba(0,0,0,0);border-radius:inherit;content:"";pointer-events:none}@media screen and (forced-colors: active){.mdc-dialog__surface::before{border-color:CanvasText}}@media screen and (-ms-high-contrast: active),screen and (-ms-high-contrast: none){.mdc-dialog__surface::before{content:none}}.mdc-dialog__title{display:block;margin-top:0;position:relative;flex-shrink:0;box-sizing:border-box;margin:0 0 1px;padding:0 24px 9px}.mdc-dialog__title::before{display:inline-block;width:0;height:40px;content:"";vertical-align:0}[dir=rtl] .mdc-dialog__title,.mdc-dialog__title[dir=rtl]{text-align:right}.mdc-dialog--scrollable .mdc-dialog__title{margin-bottom:1px;padding-bottom:15px}.mdc-dialog--fullscreen .mdc-dialog__header{align-items:baseline;border-bottom:1px solid rgba(0,0,0,0);display:inline-flex;justify-content:space-between;padding:0 24px 9px;z-index:1}@media screen and (forced-colors: active){.mdc-dialog--fullscreen .mdc-dialog__header{border-bottom-color:CanvasText}}.mdc-dialog--fullscreen .mdc-dialog__header .mdc-dialog__close{right:-12px}.mdc-dialog--fullscreen .mdc-dialog__title{margin-bottom:0;padding:0;border-bottom:0}.mdc-dialog--fullscreen.mdc-dialog--scrollable .mdc-dialog__title{border-bottom:0;margin-bottom:0}.mdc-dialog--fullscreen .mdc-dialog__close{top:5px}.mdc-dialog--fullscreen.mdc-dialog--scrollable .mdc-dialog__actions{border-top:1px solid rgba(0,0,0,0)}@media screen and (forced-colors: active){.mdc-dialog--fullscreen.mdc-dialog--scrollable .mdc-dialog__actions{border-top-color:CanvasText}}.mdc-dialog--fullscreen--titleless .mdc-dialog__close{margin-top:4px}.mdc-dialog--fullscreen--titleless.mdc-dialog--scrollable .mdc-dialog__close{margin-top:0}.mdc-dialog__content{flex-grow:1;box-sizing:border-box;margin:0;overflow:auto}.mdc-dialog__content>:first-child{margin-top:0}.mdc-dialog__content>:last-child{margin-bottom:0}.mdc-dialog__title+.mdc-dialog__content,.mdc-dialog__header+.mdc-dialog__content{padding-top:0}.mdc-dialog--scrollable .mdc-dialog__title+.mdc-dialog__content{padding-top:8px;padding-bottom:8px}.mdc-dialog__content .mdc-deprecated-list:first-child:last-child{padding:6px 0 0}.mdc-dialog--scrollable .mdc-dialog__content .mdc-deprecated-list:first-child:last-child{padding:0}.mdc-dialog__actions{display:flex;position:relative;flex-shrink:0;flex-wrap:wrap;align-items:center;justify-content:flex-end;box-sizing:border-box;min-height:52px;margin:0;padding:8px;border-top:1px solid rgba(0,0,0,0)}@media screen and (forced-colors: active){.mdc-dialog__actions{border-top-color:CanvasText}}.mdc-dialog--stacked .mdc-dialog__actions{flex-direction:column;align-items:flex-end}.mdc-dialog__button{margin-left:8px;margin-right:0;max-width:100%;text-align:right}[dir=rtl] .mdc-dialog__button,.mdc-dialog__button[dir=rtl]{margin-left:0;margin-right:8px}.mdc-dialog__button:first-child{margin-left:0;margin-right:0}[dir=rtl] .mdc-dialog__button:first-child,.mdc-dialog__button:first-child[dir=rtl]{margin-left:0;margin-right:0}[dir=rtl] .mdc-dialog__button,.mdc-dialog__button[dir=rtl]{text-align:left}.mdc-dialog--stacked .mdc-dialog__button:not(:first-child){margin-top:12px}.mdc-dialog--open,.mdc-dialog--opening,.mdc-dialog--closing{display:flex}.mdc-dialog--opening .mdc-dialog__scrim{transition:opacity 150ms linear}.mdc-dialog--opening .mdc-dialog__container{transition:opacity 75ms linear,transform 150ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mdc-dialog--closing .mdc-dialog__scrim,.mdc-dialog--closing .mdc-dialog__container{transition:opacity 75ms linear}.mdc-dialog--closing .mdc-dialog__container{transform:none}.mdc-dialog--open .mdc-dialog__scrim{opacity:1}.mdc-dialog--open .mdc-dialog__container{transform:none;opacity:1}.mdc-dialog--open.mdc-dialog__surface-scrim--shown .mdc-dialog__surface-scrim{opacity:1}.mdc-dialog--open.mdc-dialog__surface-scrim--hiding .mdc-dialog__surface-scrim{transition:opacity 75ms linear}.mdc-dialog--open.mdc-dialog__surface-scrim--showing .mdc-dialog__surface-scrim{transition:opacity 150ms linear}.mdc-dialog__surface-scrim{display:none;opacity:0;position:absolute;width:100%;height:100%;z-index:1}.mdc-dialog__surface-scrim--shown .mdc-dialog__surface-scrim,.mdc-dialog__surface-scrim--showing .mdc-dialog__surface-scrim,.mdc-dialog__surface-scrim--hiding .mdc-dialog__surface-scrim{display:block}.mdc-dialog-scroll-lock{overflow:hidden}.mdc-dialog--no-content-padding .mdc-dialog__content{padding:0}.mdc-dialog--sheet .mdc-dialog__container .mdc-dialog__close{right:12px;top:9px;position:absolute;z-index:1}.mdc-dialog__scrim--removed{pointer-events:none}.mdc-dialog__scrim--removed .mdc-dialog__scrim,.mdc-dialog__scrim--removed .mdc-dialog__surface-scrim{display:none}.mat-mdc-dialog-content{max-height:65vh}.mat-mdc-dialog-container{position:static;display:block}.mat-mdc-dialog-container,.mat-mdc-dialog-container .mdc-dialog__container,.mat-mdc-dialog-container .mdc-dialog__surface{max-height:inherit;min-height:inherit;min-width:inherit;max-width:inherit}.mat-mdc-dialog-container .mdc-dialog__surface{display:block;width:100%;height:100%}.mat-mdc-dialog-container{--mdc-dialog-container-elevation-shadow:0px 11px 15px -7px rgba(0, 0, 0, 0.2), 0px 24px 38px 3px rgba(0, 0, 0, 0.14), 0px 9px 46px 8px rgba(0, 0, 0, 0.12);--mdc-dialog-container-shadow-color:#000;--mdc-dialog-container-shape:4px;--mdc-dialog-container-elevation: var(--mdc-dialog-container-elevation-shadow);outline:0}.mat-mdc-dialog-container .mdc-dialog__surface{background-color:var(--mdc-dialog-container-color, white)}.mat-mdc-dialog-container .mdc-dialog__surface{box-shadow:var(--mdc-dialog-container-elevation, 0px 11px 15px -7px rgba(0, 0, 0, 0.2), 0px 24px 38px 3px rgba(0, 0, 0, 0.14), 0px 9px 46px 8px rgba(0, 0, 0, 0.12))}.mat-mdc-dialog-container .mdc-dialog__surface{border-radius:var(--mdc-dialog-container-shape, 4px)}.mat-mdc-dialog-container .mdc-dialog__title{font-family:var(--mdc-dialog-subhead-font, Roboto, sans-serif);line-height:var(--mdc-dialog-subhead-line-height, 1.5rem);font-size:var(--mdc-dialog-subhead-size, 1rem);font-weight:var(--mdc-dialog-subhead-weight, 400);letter-spacing:var(--mdc-dialog-subhead-tracking, 0.03125em)}.mat-mdc-dialog-container .mdc-dialog__title{color:var(--mdc-dialog-subhead-color, rgba(0, 0, 0, 0.87))}.mat-mdc-dialog-container .mdc-dialog__content{font-family:var(--mdc-dialog-supporting-text-font, Roboto, sans-serif);line-height:var(--mdc-dialog-supporting-text-line-height, 1.5rem);font-size:var(--mdc-dialog-supporting-text-size, 1rem);font-weight:var(--mdc-dialog-supporting-text-weight, 400);letter-spacing:var(--mdc-dialog-supporting-text-tracking, 0.03125em)}.mat-mdc-dialog-container .mdc-dialog__content{color:var(--mdc-dialog-supporting-text-color, rgba(0, 0, 0, 0.6))}.mat-mdc-dialog-container .mdc-dialog__container{transition-duration:var(--mat-dialog-transition-duration, 0ms)}.mat-mdc-dialog-container._mat-animation-noopable .mdc-dialog__container{transition:none}.mat-mdc-dialog-content{display:block}.mat-mdc-dialog-actions{justify-content:start}.mat-mdc-dialog-actions.mat-mdc-dialog-actions-align-center,.mat-mdc-dialog-actions[align=center]{justify-content:center}.mat-mdc-dialog-actions.mat-mdc-dialog-actions-align-end,.mat-mdc-dialog-actions[align=end]{justify-content:flex-end}.mat-mdc-dialog-actions .mat-button-base+.mat-button-base,.mat-mdc-dialog-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:8px}[dir=rtl] .mat-mdc-dialog-actions .mat-button-base+.mat-button-base,[dir=rtl] .mat-mdc-dialog-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:0;margin-right:8px}'],encapsulation:2})}}return kt})();class Ne{constructor(tt,X,ft){this._ref=tt,this._containerInstance=ft,this._afterOpened=new Z.B,this._beforeClosed=new Z.B,this._state=0,this.disableClose=X.disableClose,this.id=tt.id,ft._animationStateChanged.pipe((0,Le.p)(Ot=>"opened"===Ot.state),(0,Ge.s)(1)).subscribe(()=>{this._afterOpened.next(),this._afterOpened.complete()}),ft._animationStateChanged.pipe((0,Le.p)(Ot=>"closed"===Ot.state),(0,Ge.s)(1)).subscribe(()=>{clearTimeout(this._closeFallbackTimeout),this._finishDialogClose()}),tt.overlayRef.detachments().subscribe(()=>{this._beforeClosed.next(this._result),this._beforeClosed.complete(),this._finishDialogClose()}),(0,_e.h)(this.backdropClick(),this.keydownEvents().pipe((0,Le.p)(Ot=>Ot.keyCode===P._f&&!this.disableClose&&!(0,P.rp)(Ot)))).subscribe(Ot=>{this.disableClose||(Ot.preventDefault(),ke(this,"keydown"===Ot.type?"keyboard":"mouse"))})}close(tt){this._result=tt,this._containerInstance._animationStateChanged.pipe((0,Le.p)(X=>"closing"===X.state),(0,Ge.s)(1)).subscribe(X=>{this._beforeClosed.next(tt),this._beforeClosed.complete(),this._ref.overlayRef.detachBackdrop(),this._closeFallbackTimeout=setTimeout(()=>this._finishDialogClose(),X.totalTime+100)}),this._state=1,this._containerInstance._startExitAnimation()}afterOpened(){return this._afterOpened}afterClosed(){return this._ref.closed}beforeClosed(){return this._beforeClosed}backdropClick(){return this._ref.backdropClick}keydownEvents(){return this._ref.keydownEvents}updatePosition(tt){let X=this._ref.config.positionStrategy;return tt&&(tt.left||tt.right)?tt.left?X.left(tt.left):X.right(tt.right):X.centerHorizontally(),tt&&(tt.top||tt.bottom)?tt.top?X.top(tt.top):X.bottom(tt.bottom):X.centerVertically(),this._ref.updatePosition(),this}updateSize(tt="",X=""){return this._ref.updateSize(tt,X),this}addPanelClass(tt){return this._ref.addPanelClass(tt),this}removePanelClass(tt){return this._ref.removePanelClass(tt),this}getState(){return this._state}_finishDialogClose(){this._state=2,this._ref.close(this._result,{focusOrigin:this._closeInteractionType}),this.componentInstance=null}}function ke(kt,tt,X){return kt._closeInteractionType=tt,kt.close(X)}const un=new b.nKC("MatMdcDialogData"),gt=new b.nKC("mat-mdc-dialog-default-options"),le=new b.nKC("mat-mdc-dialog-scroll-strategy"),oe={provide:le,deps:[o.hJ],useFactory:function Vt(kt){return()=>kt.scrollStrategies.block()}};let Et=0,re=(()=>{class kt{get openDialogs(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel}get afterOpened(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel}_getAfterAllClosed(){const X=this._parentDialog;return X?X._getAfterAllClosed():this._afterAllClosedAtThisLevel}constructor(X,ft,Ot,xe,Te,Ke,on,_n,hn,fe){this._overlay=X,this._defaultOptions=Ot,this._parentDialog=xe,this._dialogRefConstructor=on,this._dialogContainerType=_n,this._dialogDataToken=hn,this._openDialogsAtThisLevel=[],this._afterAllClosedAtThisLevel=new Z.B,this._afterOpenedAtThisLevel=new Z.B,this._idPrefix="mat-dialog-",this.dialogConfigClass=Oe,this.afterAllClosed=(0,N.v)(()=>this.openDialogs.length?this._getAfterAllClosed():this._getAfterAllClosed().pipe((0,K.Z)(void 0))),this._scrollStrategy=Ke,this._dialog=ft.get(mt)}open(X,ft){let Ot;(ft={...this._defaultOptions||new Oe,...ft}).id=ft.id||`${this._idPrefix}${Et++}`,ft.scrollStrategy=ft.scrollStrategy||this._scrollStrategy();const xe=this._dialog.open(X,{...ft,positionStrategy:this._overlay.position().global().centerHorizontally().centerVertically(),disableClose:!0,closeOnDestroy:!1,closeOnOverlayDetachments:!1,container:{type:this._dialogContainerType,providers:()=>[{provide:this.dialogConfigClass,useValue:ft},{provide:a,useValue:ft}]},templateContext:()=>({dialogRef:Ot}),providers:(Te,Ke,on)=>(Ot=new this._dialogRefConstructor(Te,ft,on),Ot.updatePosition(ft?.position),[{provide:this._dialogContainerType,useValue:on},{provide:this._dialogDataToken,useValue:Ke.data},{provide:this._dialogRefConstructor,useValue:Ot}])});return Ot.componentRef=xe.componentRef,Ot.componentInstance=xe.componentInstance,this.openDialogs.push(Ot),this.afterOpened.next(Ot),Ot.afterClosed().subscribe(()=>{const Te=this.openDialogs.indexOf(Ot);Te>-1&&(this.openDialogs.splice(Te,1),this.openDialogs.length||this._getAfterAllClosed().next())}),Ot}closeAll(){this._closeDialogs(this.openDialogs)}getDialogById(X){return this.openDialogs.find(ft=>ft.id===X)}ngOnDestroy(){this._closeDialogs(this._openDialogsAtThisLevel),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete()}_closeDialogs(X){let ft=X.length;for(;ft--;)X[ft].close()}static{this.\u0275fac=function(ft){b.QTQ()}}static{this.\u0275prov=b.jDH({token:kt,factory:kt.\u0275fac})}}return kt})(),Ee=(()=>{class kt extends re{constructor(X,ft,Ot,xe,Te,Ke,on,_n){super(X,ft,xe,Ke,on,Te,Ne,Ut,un,_n),this._idPrefix="mat-mdc-dialog-"}static{this.\u0275fac=function(ft){return new(ft||kt)(b.KVO(o.hJ),b.KVO(b.zZn),b.KVO(y.aZ,8),b.KVO(gt,8),b.KVO(le),b.KVO(kt,12),b.KVO(o.Sf),b.KVO(b.bc$,8))}}static{this.\u0275prov=b.jDH({token:kt,factory:kt.\u0275fac})}}return kt})(),ce=0,je=(()=>{class kt{constructor(X,ft,Ot){this.dialogRef=X,this._elementRef=ft,this._dialog=Ot,this.type="button"}ngOnInit(){this.dialogRef||(this.dialogRef=H(this._elementRef,this._dialog.openDialogs))}ngOnChanges(X){const ft=X._matDialogClose||X._matDialogCloseResult;ft&&(this.dialogResult=ft.currentValue)}_onButtonClick(X){ke(this.dialogRef,0===X.screenX&&0===X.screenY?"keyboard":"mouse",this.dialogResult)}static{this.\u0275fac=function(ft){return new(ft||kt)(b.rXU(Ne,8),b.rXU(b.aKT),b.rXU(Ee))}}static{this.\u0275dir=b.FsC({type:kt,selectors:[["","mat-dialog-close",""],["","matDialogClose",""]],hostVars:2,hostBindings:function(ft,Ot){1&ft&&b.bIt("click",function(Te){return Ot._onButtonClick(Te)}),2&ft&&b.BMQ("aria-label",Ot.ariaLabel||null)("type",Ot.type)},inputs:{ariaLabel:["aria-label","ariaLabel"],type:"type",dialogResult:["mat-dialog-close","dialogResult"],_matDialogClose:["matDialogClose","_matDialogClose"]},exportAs:["matDialogClose"],features:[b.OA$]})}}return kt})(),Ht=(()=>{class kt{constructor(X,ft,Ot){this._dialogRef=X,this._elementRef=ft,this._dialog=Ot,this.id="mat-mdc-dialog-title-"+ce++}ngOnInit(){this._dialogRef||(this._dialogRef=H(this._elementRef,this._dialog.openDialogs)),this._dialogRef&&Promise.resolve().then(()=>{this._dialogRef._containerInstance?._ariaLabelledByQueue?.push(this.id)})}ngOnDestroy(){const X=this._dialogRef?._containerInstance?._ariaLabelledByQueue;X&&Promise.resolve().then(()=>{const ft=X.indexOf(this.id);ft>-1&&X.splice(ft,1)})}static{this.\u0275fac=function(ft){return new(ft||kt)(b.rXU(Ne,8),b.rXU(b.aKT),b.rXU(Ee))}}static{this.\u0275dir=b.FsC({type:kt,selectors:[["","mat-dialog-title",""],["","matDialogTitle",""]],hostAttrs:[1,"mat-mdc-dialog-title","mdc-dialog__title"],hostVars:1,hostBindings:function(ft,Ot){2&ft&&b.Mr5("id",Ot.id)},inputs:{id:"id"},exportAs:["matDialogTitle"]})}}return kt})(),ne=(()=>{class kt{static{this.\u0275fac=function(ft){return new(ft||kt)}}static{this.\u0275dir=b.FsC({type:kt,selectors:[["","mat-dialog-content",""],["mat-dialog-content"],["","matDialogContent",""]],hostAttrs:[1,"mat-mdc-dialog-content","mdc-dialog__content"]})}}return kt})(),at=(()=>{class kt{constructor(){this.align="start"}static{this.\u0275fac=function(ft){return new(ft||kt)}}static{this.\u0275dir=b.FsC({type:kt,selectors:[["","mat-dialog-actions",""],["mat-dialog-actions"],["","matDialogActions",""]],hostAttrs:[1,"mat-mdc-dialog-actions","mdc-dialog__actions"],hostVars:4,hostBindings:function(ft,Ot){2&ft&&b.AVh("mat-mdc-dialog-actions-align-center","center"===Ot.align)("mat-mdc-dialog-actions-align-end","end"===Ot.align)},inputs:{align:"align"}})}}return kt})();function H(kt,tt){let X=kt.nativeElement.parentElement;for(;X&&!X.classList.contains("mat-mdc-dialog-container");)X=X.parentElement;return X?tt.find(ft=>ft.id===X.id):null}let st=(()=>{class kt{static{this.\u0275fac=function(ft){return new(ft||kt)}}static{this.\u0275mod=b.$C({type:kt})}static{this.\u0275inj=b.G2t({providers:[Ee,oe],imports:[$t,o.z_,G.jc,Xe.yE,Xe.yE]})}}return kt})()},7967:(Ce,Lt,r)=>{r.d(Lt,{q:()=>T,w:()=>k});var o=r(1843),y=r(8275),b=r(42250);let T=(()=>{class G{constructor(){this._vertical=!1,this._inset=!1}get vertical(){return this._vertical}set vertical(Z){this._vertical=(0,y.he)(Z)}get inset(){return this._inset}set inset(Z){this._inset=(0,y.he)(Z)}static{this.\u0275fac=function(N){return new(N||G)}}static{this.\u0275cmp=o.VBU({type:G,selectors:[["mat-divider"]],hostAttrs:["role","separator",1,"mat-divider"],hostVars:7,hostBindings:function(N,ot){2&N&&(o.BMQ("aria-orientation",ot.vertical?"vertical":"horizontal"),o.AVh("mat-divider-vertical",ot.vertical)("mat-divider-horizontal",!ot.vertical)("mat-divider-inset",ot.inset))},inputs:{vertical:"vertical",inset:"inset"},decls:0,vars:0,template:function(N,ot){},styles:[".mat-divider{--mat-divider-width:1px;display:block;margin:0;border-top-style:solid;border-top-color:var(--mat-divider-color);border-top-width:var(--mat-divider-width)}.mat-divider.mat-divider-vertical{border-top:0;border-right-style:solid;border-right-color:var(--mat-divider-color);border-right-width:var(--mat-divider-width)}.mat-divider.mat-divider-inset{margin-left:80px}[dir=rtl] .mat-divider.mat-divider-inset{margin-left:auto;margin-right:80px}"],encapsulation:2,changeDetection:0})}}return G})(),k=(()=>{class G{static{this.\u0275fac=function(N){return new(N||G)}}static{this.\u0275mod=o.$C({type:G})}static{this.\u0275inj=o.G2t({imports:[b.yE,b.yE]})}}return G})()},28600:(Ce,Lt,r)=>{r.d(Lt,{BS:()=>ke,MY:()=>un,GK:()=>yt,Q6:()=>Ut,Z2:()=>Yt,WN:()=>Ne});var o=r(1843),y=r(81538),b=r(8275),T=r(89115),k=r(52693);let G=0;const P=new o.nKC("CdkAccordion");let Z=(()=>{class gt{constructor(){this._stateChanges=new T.B,this._openCloseAllActions=new T.B,this.id="cdk-accordion-"+G++,this._multi=!1}get multi(){return this._multi}set multi(Vt){this._multi=(0,b.he)(Vt)}openAll(){this._multi&&this._openCloseAllActions.next(!0)}closeAll(){this._openCloseAllActions.next(!1)}ngOnChanges(Vt){this._stateChanges.next(Vt)}ngOnDestroy(){this._stateChanges.complete(),this._openCloseAllActions.complete()}static{this.\u0275fac=function(oe){return new(oe||gt)}}static{this.\u0275dir=o.FsC({type:gt,selectors:[["cdk-accordion"],["","cdkAccordion",""]],inputs:{multi:"multi"},exportAs:["cdkAccordion"],features:[o.Jv_([{provide:P,useExisting:gt}]),o.OA$]})}}return gt})(),N=0,ot=(()=>{class gt{get expanded(){return this._expanded}set expanded(Vt){Vt=(0,b.he)(Vt),this._expanded!==Vt&&(this._expanded=Vt,this.expandedChange.emit(Vt),Vt?(this.opened.emit(),this._expansionDispatcher.notify(this.id,this.accordion?this.accordion.id:this.id)):this.closed.emit(),this._changeDetectorRef.markForCheck())}get disabled(){return this._disabled}set disabled(Vt){this._disabled=(0,b.he)(Vt)}constructor(Vt,oe,Qt){this.accordion=Vt,this._changeDetectorRef=oe,this._expansionDispatcher=Qt,this._openCloseAllSubscription=k.yU.EMPTY,this.closed=new o.bkB,this.opened=new o.bkB,this.destroyed=new o.bkB,this.expandedChange=new o.bkB,this.id="cdk-accordion-child-"+N++,this._expanded=!1,this._disabled=!1,this._removeUniqueSelectionListener=()=>{},this._removeUniqueSelectionListener=Qt.listen((Et,re)=>{this.accordion&&!this.accordion.multi&&this.accordion.id===re&&this.id!==Et&&(this.expanded=!1)}),this.accordion&&(this._openCloseAllSubscription=this._subscribeToOpenCloseAllActions())}ngOnDestroy(){this.opened.complete(),this.closed.complete(),this.destroyed.emit(),this.destroyed.complete(),this._removeUniqueSelectionListener(),this._openCloseAllSubscription.unsubscribe()}toggle(){this.disabled||(this.expanded=!this.expanded)}close(){this.disabled||(this.expanded=!1)}open(){this.disabled||(this.expanded=!0)}_subscribeToOpenCloseAllActions(){return this.accordion._openCloseAllActions.subscribe(Vt=>{this.disabled||(this.expanded=Vt)})}static{this.\u0275fac=function(oe){return new(oe||gt)(o.rXU(P,12),o.rXU(o.gRc),o.rXU(y.zP))}}static{this.\u0275dir=o.FsC({type:gt,selectors:[["cdk-accordion-item"],["","cdkAccordionItem",""]],inputs:{expanded:"expanded",disabled:"disabled"},outputs:{closed:"closed",opened:"opened",destroyed:"destroyed",expandedChange:"expandedChange"},exportAs:["cdkAccordionItem"],features:[o.Jv_([{provide:P,useValue:void 0}])]})}}return gt})(),q=(()=>{class gt{static{this.\u0275fac=function(oe){return new(oe||gt)}}static{this.\u0275mod=o.$C({type:gt})}static{this.\u0275inj=o.G2t({})}}return gt})();var K=r(86953),M=r(18331),a=r(42250),pt=r(83607),j=r(11224),J=r(28930),bt=r(98474),Gt=r(89371),te=r(25150),$=r(33697),lt=r(85012),V=r(89411);const mt=["body"];function rt(gt,le){}const $t=[[["mat-expansion-panel-header"]],"*",[["mat-action-row"]]],de=["mat-expansion-panel-header","*","mat-action-row"];function _e(gt,le){if(1>&&o.nrm(0,"span",2),2>){const Vt=o.XpG();o.Y8G("@indicatorRotate",Vt._getExpandedState())}}const Le=[[["mat-panel-title"]],[["mat-panel-description"]],"*"],Ge=["mat-panel-title","mat-panel-description","*"],Xe=new o.nKC("MAT_ACCORDION"),ye="225ms cubic-bezier(0.4,0.0,0.2,1)",Ve={indicatorRotate:(0,V.hZ)("indicatorRotate",[(0,V.wk)("collapsed, void",(0,V.iF)({transform:"rotate(0deg)"})),(0,V.wk)("expanded",(0,V.iF)({transform:"rotate(180deg)"})),(0,V.kY)("expanded <=> collapsed, void => collapsed",(0,V.i0)(ye))]),bodyExpansion:(0,V.hZ)("bodyExpansion",[(0,V.wk)("collapsed, void",(0,V.iF)({height:"0px",visibility:"hidden"})),(0,V.wk)("expanded",(0,V.iF)({height:"*",visibility:""})),(0,V.kY)("expanded <=> collapsed, void => collapsed",(0,V.i0)(ye))])},Oe=new o.nKC("MAT_EXPANSION_PANEL");let Qe=(()=>{class gt{constructor(Vt,oe){this._template=Vt,this._expansionPanel=oe}static{this.\u0275fac=function(oe){return new(oe||gt)(o.rXU(o.C4Q),o.rXU(Oe,8))}}static{this.\u0275dir=o.FsC({type:gt,selectors:[["ng-template","matExpansionPanelContent",""]]})}}return gt})(),be=0;const Me=new o.nKC("MAT_EXPANSION_PANEL_DEFAULT_OPTIONS");let yt=(()=>{class gt extends ot{get hideToggle(){return this._hideToggle||this.accordion&&this.accordion.hideToggle}set hideToggle(Vt){this._hideToggle=(0,b.he)(Vt)}get togglePosition(){return this._togglePosition||this.accordion&&this.accordion.togglePosition}set togglePosition(Vt){this._togglePosition=Vt}constructor(Vt,oe,Qt,Et,re,Ee,ce){super(Vt,oe,Qt),this._viewContainerRef=Et,this._animationMode=Ee,this._hideToggle=!1,this.afterExpand=new o.bkB,this.afterCollapse=new o.bkB,this._inputChanges=new T.B,this._headerId="mat-expansion-panel-header-"+be++,this._bodyAnimationDone=new T.B,this.accordion=Vt,this._document=re,this._bodyAnimationDone.pipe((0,j.F)((je,Ht)=>je.fromState===Ht.fromState&&je.toState===Ht.toState)).subscribe(je=>{"void"!==je.fromState&&("expanded"===je.toState?this.afterExpand.emit():"collapsed"===je.toState&&this.afterCollapse.emit())}),ce&&(this.hideToggle=ce.hideToggle)}_hasSpacing(){return!!this.accordion&&this.expanded&&"default"===this.accordion.displayMode}_getExpandedState(){return this.expanded?"expanded":"collapsed"}toggle(){this.expanded=!this.expanded}close(){this.expanded=!1}open(){this.expanded=!0}ngAfterContentInit(){this._lazyContent&&this._lazyContent._expansionPanel===this&&this.opened.pipe((0,J.Z)(null),(0,bt.p)(()=>this.expanded&&!this._portal),(0,Gt.s)(1)).subscribe(()=>{this._portal=new K.VA(this._lazyContent._template,this._viewContainerRef)})}ngOnChanges(Vt){this._inputChanges.next(Vt)}ngOnDestroy(){super.ngOnDestroy(),this._bodyAnimationDone.complete(),this._inputChanges.complete()}_containsFocus(){if(this._body){const Vt=this._document.activeElement,oe=this._body.nativeElement;return Vt===oe||oe.contains(Vt)}return!1}static{this.\u0275fac=function(oe){return new(oe||gt)(o.rXU(Xe,12),o.rXU(o.gRc),o.rXU(y.zP),o.rXU(o.c1b),o.rXU(M.qQ),o.rXU(o.bc$,8),o.rXU(Me,8))}}static{this.\u0275cmp=o.VBU({type:gt,selectors:[["mat-expansion-panel"]],contentQueries:function(oe,Qt,Et){if(1&oe&&o.wni(Et,Qe,5),2&oe){let re;o.mGM(re=o.lsd())&&(Qt._lazyContent=re.first)}},viewQuery:function(oe,Qt){if(1&oe&&o.GBs(mt,5),2&oe){let Et;o.mGM(Et=o.lsd())&&(Qt._body=Et.first)}},hostAttrs:[1,"mat-expansion-panel"],hostVars:6,hostBindings:function(oe,Qt){2&oe&&o.AVh("mat-expanded",Qt.expanded)("_mat-animation-noopable","NoopAnimations"===Qt._animationMode)("mat-expansion-panel-spacing",Qt._hasSpacing())},inputs:{disabled:"disabled",expanded:"expanded",hideToggle:"hideToggle",togglePosition:"togglePosition"},outputs:{opened:"opened",closed:"closed",expandedChange:"expandedChange",afterExpand:"afterExpand",afterCollapse:"afterCollapse"},exportAs:["matExpansionPanel"],features:[o.Jv_([{provide:Xe,useValue:void 0},{provide:Oe,useExisting:gt}]),o.Vt3,o.OA$],ngContentSelectors:de,decls:7,vars:4,consts:[["role","region",1,"mat-expansion-panel-content",3,"id"],["body",""],[1,"mat-expansion-panel-body"],[3,"cdkPortalOutlet"]],template:function(oe,Qt){1&oe&&(o.NAR($t),o.SdG(0),o.j41(1,"div",0,1),o.bIt("@bodyExpansion.done",function(re){return Qt._bodyAnimationDone.next(re)}),o.j41(3,"div",2),o.SdG(4,1),o.DNE(5,rt,0,0,"ng-template",3),o.k0s(),o.SdG(6,2),o.k0s()),2&oe&&(o.R7$(1),o.Y8G("@bodyExpansion",Qt._getExpandedState())("id",Qt.id),o.BMQ("aria-labelledby",Qt._headerId),o.R7$(4),o.Y8G("cdkPortalOutlet",Qt._portal))},dependencies:[K.I3],styles:['.mat-expansion-panel{--mat-expansion-container-shape:4px;box-sizing:content-box;display:block;margin:0;overflow:hidden;transition:margin 225ms cubic-bezier(0.4, 0, 0.2, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);position:relative;background:var(--mat-expansion-container-background-color);color:var(--mat-expansion-container-text-color);border-radius:var(--mat-expansion-container-shape)}.mat-expansion-panel:not([class*=mat-elevation-z]){box-shadow:0px 3px 1px -2px rgba(0, 0, 0, 0.2), 0px 2px 2px 0px rgba(0, 0, 0, 0.14), 0px 1px 5px 0px rgba(0, 0, 0, 0.12)}.mat-accordion .mat-expansion-panel:not(.mat-expanded),.mat-accordion .mat-expansion-panel:not(.mat-expansion-panel-spacing){border-radius:0}.mat-accordion .mat-expansion-panel:first-of-type{border-top-right-radius:var(--mat-expansion-container-shape);border-top-left-radius:var(--mat-expansion-container-shape)}.mat-accordion .mat-expansion-panel:last-of-type{border-bottom-right-radius:var(--mat-expansion-container-shape);border-bottom-left-radius:var(--mat-expansion-container-shape)}.cdk-high-contrast-active .mat-expansion-panel{outline:solid 1px}.mat-expansion-panel.ng-animate-disabled,.ng-animate-disabled .mat-expansion-panel,.mat-expansion-panel._mat-animation-noopable{transition:none}.mat-expansion-panel-content{display:flex;flex-direction:column;overflow:visible;font-family:var(--mat-expansion-container-text-font);font-size:var(--mat-expansion-container-text-size);font-weight:var(--mat-expansion-container-text-weight);line-height:var(--mat-expansion-container-text-line-height);letter-spacing:var(--mat-expansion-container-text-tracking)}.mat-expansion-panel-content[style*="visibility: hidden"] *{visibility:hidden !important}.mat-expansion-panel-body{padding:0 24px 16px}.mat-expansion-panel-spacing{margin:16px 0}.mat-accordion>.mat-expansion-panel-spacing:first-child,.mat-accordion>*:first-child:not(.mat-expansion-panel) .mat-expansion-panel-spacing{margin-top:0}.mat-accordion>.mat-expansion-panel-spacing:last-child,.mat-accordion>*:last-child:not(.mat-expansion-panel) .mat-expansion-panel-spacing{margin-bottom:0}.mat-action-row{border-top-style:solid;border-top-width:1px;display:flex;flex-direction:row;justify-content:flex-end;padding:16px 8px 16px 24px;border-top-color:var(--mat-expansion-actions-divider-color)}.mat-action-row .mat-button-base,.mat-action-row .mat-mdc-button-base{margin-left:8px}[dir=rtl] .mat-action-row .mat-button-base,[dir=rtl] .mat-action-row .mat-mdc-button-base{margin-left:0;margin-right:8px}'],encapsulation:2,data:{animation:[Ve.bodyExpansion]},changeDetection:0})}}return gt})();class Nt{}const Tt=(0,a.BF)(Nt);let Yt=(()=>{class gt extends Tt{constructor(Vt,oe,Qt,Et,re,Ee,ce){super(),this.panel=Vt,this._element=oe,this._focusMonitor=Qt,this._changeDetectorRef=Et,this._animationMode=Ee,this._parentChangeSubscription=k.yU.EMPTY;const je=Vt.accordion?Vt.accordion._stateChanges.pipe((0,bt.p)(Ht=>!(!Ht.hideToggle&&!Ht.togglePosition))):$.w;this.tabIndex=parseInt(ce||"")||0,this._parentChangeSubscription=(0,lt.h)(Vt.opened,Vt.closed,je,Vt._inputChanges.pipe((0,bt.p)(Ht=>!!(Ht.hideToggle||Ht.disabled||Ht.togglePosition)))).subscribe(()=>this._changeDetectorRef.markForCheck()),Vt.closed.pipe((0,bt.p)(()=>Vt._containsFocus())).subscribe(()=>Qt.focusVia(oe,"program")),re&&(this.expandedHeight=re.expandedHeight,this.collapsedHeight=re.collapsedHeight)}get disabled(){return this.panel.disabled}_toggle(){this.disabled||this.panel.toggle()}_isExpanded(){return this.panel.expanded}_getExpandedState(){return this.panel._getExpandedState()}_getPanelId(){return this.panel.id}_getTogglePosition(){return this.panel.togglePosition}_showToggle(){return!this.panel.hideToggle&&!this.panel.disabled}_getHeaderHeight(){const Vt=this._isExpanded();return Vt&&this.expandedHeight?this.expandedHeight:!Vt&&this.collapsedHeight?this.collapsedHeight:null}_keydown(Vt){switch(Vt.keyCode){case te.t6:case te.Fm:(0,te.rp)(Vt)||(Vt.preventDefault(),this._toggle());break;default:return void(this.panel.accordion&&this.panel.accordion._handleHeaderKeydown(Vt))}}focus(Vt,oe){Vt?this._focusMonitor.focusVia(this._element,Vt,oe):this._element.nativeElement.focus(oe)}ngAfterViewInit(){this._focusMonitor.monitor(this._element).subscribe(Vt=>{Vt&&this.panel.accordion&&this.panel.accordion._handleHeaderFocus(this)})}ngOnDestroy(){this._parentChangeSubscription.unsubscribe(),this._focusMonitor.stopMonitoring(this._element)}static{this.\u0275fac=function(oe){return new(oe||gt)(o.rXU(yt,1),o.rXU(o.aKT),o.rXU(pt.FN),o.rXU(o.gRc),o.rXU(Me,8),o.rXU(o.bc$,8),o.kS0("tabindex"))}}static{this.\u0275cmp=o.VBU({type:gt,selectors:[["mat-expansion-panel-header"]],hostAttrs:["role","button",1,"mat-expansion-panel-header","mat-focus-indicator"],hostVars:15,hostBindings:function(oe,Qt){1&oe&&o.bIt("click",function(){return Qt._toggle()})("keydown",function(re){return Qt._keydown(re)}),2&oe&&(o.BMQ("id",Qt.panel._headerId)("tabindex",Qt.tabIndex)("aria-controls",Qt._getPanelId())("aria-expanded",Qt._isExpanded())("aria-disabled",Qt.panel.disabled),o.xc7("height",Qt._getHeaderHeight()),o.AVh("mat-expanded",Qt._isExpanded())("mat-expansion-toggle-indicator-after","after"===Qt._getTogglePosition())("mat-expansion-toggle-indicator-before","before"===Qt._getTogglePosition())("_mat-animation-noopable","NoopAnimations"===Qt._animationMode))},inputs:{tabIndex:"tabIndex",expandedHeight:"expandedHeight",collapsedHeight:"collapsedHeight"},features:[o.Vt3],ngContentSelectors:Ge,decls:5,vars:3,consts:[[1,"mat-content"],["class","mat-expansion-indicator",4,"ngIf"],[1,"mat-expansion-indicator"]],template:function(oe,Qt){1&oe&&(o.NAR(Le),o.j41(0,"span",0),o.SdG(1),o.SdG(2,1),o.SdG(3,2),o.k0s(),o.DNE(4,_e,1,1,"span",1)),2&oe&&(o.AVh("mat-content-hide-toggle",!Qt._showToggle()),o.R7$(4),o.Y8G("ngIf",Qt._showToggle()))},dependencies:[M.bT],styles:['.mat-expansion-panel-header{display:flex;flex-direction:row;align-items:center;padding:0 24px;border-radius:inherit;transition:height 225ms cubic-bezier(0.4, 0, 0.2, 1);height:var(--mat-expansion-header-collapsed-state-height);font-family:var(--mat-expansion-header-text-font);font-size:var(--mat-expansion-header-text-size);font-weight:var(--mat-expansion-header-text-weight);line-height:var(--mat-expansion-header-text-line-height);letter-spacing:var(--mat-expansion-header-text-tracking)}.mat-expansion-panel-header.mat-expanded{height:var(--mat-expansion-header-expanded-state-height)}.mat-expansion-panel-header[aria-disabled=true]{color:var(--mat-expansion-header-disabled-state-text-color)}.mat-expansion-panel-header:not([aria-disabled=true]){cursor:pointer}.mat-expansion-panel:not(.mat-expanded) .mat-expansion-panel-header:not([aria-disabled=true]):hover{background:var(--mat-expansion-header-hover-state-layer-color)}@media(hover: none){.mat-expansion-panel:not(.mat-expanded) .mat-expansion-panel-header:not([aria-disabled=true]):hover{background:var(--mat-expansion-container-background-color)}}.mat-expansion-panel .mat-expansion-panel-header:not([aria-disabled=true]).cdk-keyboard-focused,.mat-expansion-panel .mat-expansion-panel-header:not([aria-disabled=true]).cdk-program-focused{background:var(--mat-expansion-header-focus-state-layer-color)}.mat-expansion-panel-header._mat-animation-noopable{transition:none}.mat-expansion-panel-header:focus,.mat-expansion-panel-header:hover{outline:none}.mat-expansion-panel-header.mat-expanded:focus,.mat-expansion-panel-header.mat-expanded:hover{background:inherit}.mat-expansion-panel-header.mat-expansion-toggle-indicator-before{flex-direction:row-reverse}.mat-expansion-panel-header.mat-expansion-toggle-indicator-before .mat-expansion-indicator{margin:0 16px 0 0}[dir=rtl] .mat-expansion-panel-header.mat-expansion-toggle-indicator-before .mat-expansion-indicator{margin:0 0 0 16px}.mat-content{display:flex;flex:1;flex-direction:row;overflow:hidden}.mat-content.mat-content-hide-toggle{margin-right:8px}[dir=rtl] .mat-content.mat-content-hide-toggle{margin-right:0;margin-left:8px}.mat-expansion-toggle-indicator-before .mat-content.mat-content-hide-toggle{margin-left:24px;margin-right:0}[dir=rtl] .mat-expansion-toggle-indicator-before .mat-content.mat-content-hide-toggle{margin-right:24px;margin-left:0}.mat-expansion-panel-header-title{color:var(--mat-expansion-header-text-color)}.mat-expansion-panel-header-title,.mat-expansion-panel-header-description{display:flex;flex-grow:1;flex-basis:0;margin-right:16px;align-items:center}[dir=rtl] .mat-expansion-panel-header-title,[dir=rtl] .mat-expansion-panel-header-description{margin-right:0;margin-left:16px}.mat-expansion-panel-header[aria-disabled=true] .mat-expansion-panel-header-title,.mat-expansion-panel-header[aria-disabled=true] .mat-expansion-panel-header-description{color:inherit}.mat-expansion-panel-header-description{flex-grow:2;color:var(--mat-expansion-header-description-color)}.mat-expansion-indicator::after{border-style:solid;border-width:0 2px 2px 0;content:"";display:inline-block;padding:3px;transform:rotate(45deg);vertical-align:middle;color:var(--mat-expansion-header-indicator-color)}.cdk-high-contrast-active .mat-expansion-panel-content{border-top:1px solid;border-top-left-radius:0;border-top-right-radius:0}'],encapsulation:2,data:{animation:[Ve.indicatorRotate]},changeDetection:0})}}return gt})(),Ut=(()=>{class gt{static{this.\u0275fac=function(oe){return new(oe||gt)}}static{this.\u0275dir=o.FsC({type:gt,selectors:[["mat-panel-description"]],hostAttrs:[1,"mat-expansion-panel-header-description"]})}}return gt})(),Ne=(()=>{class gt{static{this.\u0275fac=function(oe){return new(oe||gt)}}static{this.\u0275dir=o.FsC({type:gt,selectors:[["mat-panel-title"]],hostAttrs:[1,"mat-expansion-panel-header-title"]})}}return gt})(),ke=(()=>{class gt extends Z{constructor(){super(...arguments),this._ownHeaders=new o.rOR,this._hideToggle=!1,this.displayMode="default",this.togglePosition="after"}get hideToggle(){return this._hideToggle}set hideToggle(Vt){this._hideToggle=(0,b.he)(Vt)}ngAfterContentInit(){this._headers.changes.pipe((0,J.Z)(this._headers)).subscribe(Vt=>{this._ownHeaders.reset(Vt.filter(oe=>oe.panel.accordion===this)),this._ownHeaders.notifyOnChanges()}),this._keyManager=new pt.Bu(this._ownHeaders).withWrap().withHomeAndEnd()}_handleHeaderKeydown(Vt){this._keyManager.onKeydown(Vt)}_handleHeaderFocus(Vt){this._keyManager.updateActiveItem(Vt)}ngOnDestroy(){super.ngOnDestroy(),this._keyManager?.destroy(),this._ownHeaders.destroy()}static{this.\u0275fac=function(){let Vt;return function(Qt){return(Vt||(Vt=o.xGo(gt)))(Qt||gt)}}()}static{this.\u0275dir=o.FsC({type:gt,selectors:[["mat-accordion"]],contentQueries:function(oe,Qt,Et){if(1&oe&&o.wni(Et,Yt,5),2&oe){let re;o.mGM(re=o.lsd())&&(Qt._headers=re)}},hostAttrs:[1,"mat-accordion"],hostVars:2,hostBindings:function(oe,Qt){2&oe&&o.AVh("mat-accordion-multi",Qt.multi)},inputs:{multi:"multi",hideToggle:"hideToggle",displayMode:"displayMode",togglePosition:"togglePosition"},exportAs:["matAccordion"],features:[o.Jv_([{provide:Xe,useExisting:gt}]),o.Vt3]})}}return gt})(),un=(()=>{class gt{static{this.\u0275fac=function(oe){return new(oe||gt)}}static{this.\u0275mod=o.$C({type:gt})}static{this.\u0275inj=o.G2t({imports:[M.MD,a.yE,q,K.jc]})}}return gt})()},54688:(Ce,Lt,r)=>{r.d(Lt,{xb:()=>X,TL:()=>gt,rl:()=>_n,qT:()=>zt,RG:()=>hn,MV:()=>Vt,nJ:()=>Ne,JW:()=>Qt,yw:()=>re});var o=r(1843),y=r(10165),b=r(29094),T=r(52693),k=r(89115),G=r(85012),P=r(73907),Z=r(23135),N=r(98474),ot=r(29810);class K{constructor(cn){this._box=cn,this._destroyed=new k.B,this._resizeSubject=new k.B,this._elementObservables=new Map,typeof ResizeObserver<"u"&&(this._resizeObserver=new ResizeObserver(me=>this._resizeSubject.next(me)))}observe(cn){return this._elementObservables.has(cn)||this._elementObservables.set(cn,new Z.c(me=>{const jt=this._resizeSubject.subscribe(me);return this._resizeObserver?.observe(cn,{box:this._box}),()=>{this._resizeObserver?.unobserve(cn),jt.unsubscribe(),this._elementObservables.delete(cn)}}).pipe((0,N.p)(me=>me.some(jt=>jt.target===cn)),(0,ot.t)({bufferSize:1,refCount:!0}),(0,P.Q)(this._destroyed))),this._elementObservables.get(cn)}destroy(){this._destroyed.next(),this._destroyed.complete(),this._resizeSubject.complete(),this._elementObservables.clear()}}let M=(()=>{class fe{constructor(){this._observers=new Map,this._ngZone=(0,o.WQX)(o.SKi)}ngOnDestroy(){for(const[,me]of this._observers)me.destroy();this._observers.clear()}observe(me,jt){const Dt=jt?.box||"content-box";return this._observers.has(Dt)||this._observers.set(Dt,new K(Dt)),this._observers.get(Dt).observe(me)}static{this.\u0275fac=function(jt){return new(jt||fe)}}static{this.\u0275prov=o.jDH({token:fe,factory:fe.\u0275fac,providedIn:"root"})}}return fe})();var a=r(8275),pt=r(89411),j=r(18331),J=r(59332),bt=r(42250);const Gt=["notch"],te=["matFormFieldNotchedOutline",""],$=["*"],lt=["textField"],V=["iconPrefixContainer"],mt=["textPrefixContainer"];function rt(fe,cn){1&fe&&o.nrm(0,"span",19)}function $t(fe,cn){if(1&fe&&(o.j41(0,"label",17),o.SdG(1,1),o.DNE(2,rt,1,0,"span",18),o.k0s()),2&fe){const me=o.XpG(2);o.Y8G("floating",me._shouldLabelFloat())("monitorResize",me._hasOutline())("id",me._labelId),o.BMQ("for",me._control.id),o.R7$(2),o.Y8G("ngIf",!me.hideRequiredMarker&&me._control.required)}}function de(fe,cn){if(1&fe&&o.DNE(0,$t,3,5,"label",16),2&fe){const me=o.XpG();o.Y8G("ngIf",me._hasFloatingLabel())}}function _e(fe,cn){1&fe&&o.nrm(0,"div",20)}function Le(fe,cn){}function Ge(fe,cn){if(1&fe&&o.DNE(0,Le,0,0,"ng-template",22),2&fe){o.XpG(2);const me=o.sdS(1);o.Y8G("ngTemplateOutlet",me)}}function Xe(fe,cn){if(1&fe&&(o.j41(0,"div",21),o.DNE(1,Ge,1,1,"ng-template",9),o.k0s()),2&fe){const me=o.XpG();o.Y8G("matFormFieldNotchedOutlineOpen",me._shouldLabelFloat()),o.R7$(1),o.Y8G("ngIf",!me._forceDisplayInfixLabel())}}function ye(fe,cn){1&fe&&(o.j41(0,"div",23,24),o.SdG(2,2),o.k0s())}function Ve(fe,cn){1&fe&&(o.j41(0,"div",25,26),o.SdG(2,3),o.k0s())}function Oe(fe,cn){}function Qe(fe,cn){if(1&fe&&o.DNE(0,Oe,0,0,"ng-template",22),2&fe){o.XpG();const me=o.sdS(1);o.Y8G("ngTemplateOutlet",me)}}function be(fe,cn){1&fe&&(o.j41(0,"div",27),o.SdG(1,4),o.k0s())}function Me(fe,cn){1&fe&&(o.j41(0,"div",28),o.SdG(1,5),o.k0s())}function yt(fe,cn){1&fe&&o.nrm(0,"div",29)}function Kt(fe,cn){if(1&fe&&(o.j41(0,"div",30),o.SdG(1,6),o.k0s()),2&fe){const me=o.XpG();o.Y8G("@transitionMessages",me._subscriptAnimationState)}}function Nt(fe,cn){if(1&fe&&(o.j41(0,"mat-hint",34),o.EFF(1),o.k0s()),2&fe){const me=o.XpG(2);o.Y8G("id",me._hintLabelId),o.R7$(1),o.JRh(me.hintLabel)}}function Tt(fe,cn){if(1&fe&&(o.j41(0,"div",31),o.DNE(1,Nt,2,2,"mat-hint",32),o.SdG(2,7),o.nrm(3,"div",33),o.SdG(4,8),o.k0s()),2&fe){const me=o.XpG();o.Y8G("@transitionMessages",me._subscriptAnimationState),o.R7$(1),o.Y8G("ngIf",me.hintLabel)}}const Yt=["*",[["mat-label"]],[["","matPrefix",""],["","matIconPrefix",""]],[["","matTextPrefix",""]],[["","matTextSuffix",""]],[["","matSuffix",""],["","matIconSuffix",""]],[["mat-error"],["","matError",""]],[["mat-hint",3,"align","end"]],[["mat-hint","align","end"]]],Ut=["*","mat-label","[matPrefix], [matIconPrefix]","[matTextPrefix]","[matTextSuffix]","[matSuffix], [matIconSuffix]","mat-error, [matError]","mat-hint:not([align='end'])","mat-hint[align='end']"];let Ne=(()=>{class fe{static{this.\u0275fac=function(jt){return new(jt||fe)}}static{this.\u0275dir=o.FsC({type:fe,selectors:[["mat-label"]]})}}return fe})(),ke=0;const un=new o.nKC("MatError");let gt=(()=>{class fe{constructor(me,jt){this.id="mat-mdc-error-"+ke++,me||jt.nativeElement.setAttribute("aria-live","polite")}static{this.\u0275fac=function(jt){return new(jt||fe)(o.kS0("aria-live"),o.rXU(o.aKT))}}static{this.\u0275dir=o.FsC({type:fe,selectors:[["mat-error"],["","matError",""]],hostAttrs:["aria-atomic","true",1,"mat-mdc-form-field-error","mat-mdc-form-field-bottom-align"],hostVars:1,hostBindings:function(jt,Dt){2&jt&&o.Mr5("id",Dt.id)},inputs:{id:"id"},features:[o.Jv_([{provide:un,useExisting:fe}])]})}}return fe})(),le=0,Vt=(()=>{class fe{constructor(){this.align="start",this.id="mat-mdc-hint-"+le++}static{this.\u0275fac=function(jt){return new(jt||fe)}}static{this.\u0275dir=o.FsC({type:fe,selectors:[["mat-hint"]],hostAttrs:[1,"mat-mdc-form-field-hint","mat-mdc-form-field-bottom-align"],hostVars:4,hostBindings:function(jt,Dt){2&jt&&(o.Mr5("id",Dt.id),o.BMQ("align",null),o.AVh("mat-mdc-form-field-hint-end","end"===Dt.align))},inputs:{align:"align",id:"id"}})}}return fe})();const oe=new o.nKC("MatPrefix");let Qt=(()=>{class fe{constructor(){this._isText=!1}set _isTextSelector(me){this._isText=!0}static{this.\u0275fac=function(jt){return new(jt||fe)}}static{this.\u0275dir=o.FsC({type:fe,selectors:[["","matPrefix",""],["","matIconPrefix",""],["","matTextPrefix",""]],inputs:{_isTextSelector:["matTextPrefix","_isTextSelector"]},features:[o.Jv_([{provide:oe,useExisting:fe}])]})}}return fe})();const Et=new o.nKC("MatSuffix");let re=(()=>{class fe{constructor(){this._isText=!1}set _isTextSelector(me){this._isText=!0}static{this.\u0275fac=function(jt){return new(jt||fe)}}static{this.\u0275dir=o.FsC({type:fe,selectors:[["","matSuffix",""],["","matIconSuffix",""],["","matTextSuffix",""]],inputs:{_isTextSelector:["matTextSuffix","_isTextSelector"]},features:[o.Jv_([{provide:Et,useExisting:fe}])]})}}return fe})();const Ee=new o.nKC("FloatingLabelParent");let ce=(()=>{class fe{get floating(){return this._floating}set floating(me){this._floating=me,this.monitorResize&&this._handleResize()}get monitorResize(){return this._monitorResize}set monitorResize(me){this._monitorResize=me,this._monitorResize?this._subscribeToResize():this._resizeSubscription.unsubscribe()}constructor(me){this._elementRef=me,this._floating=!1,this._monitorResize=!1,this._resizeObserver=(0,o.WQX)(M),this._ngZone=(0,o.WQX)(o.SKi),this._parent=(0,o.WQX)(Ee),this._resizeSubscription=new T.yU}ngOnDestroy(){this._resizeSubscription.unsubscribe()}getWidth(){return function je(fe){if(null!==fe.offsetParent)return fe.scrollWidth;const me=fe.cloneNode(!0);me.style.setProperty("position","absolute"),me.style.setProperty("transform","translate(-9999px, -9999px)"),document.documentElement.appendChild(me);const jt=me.scrollWidth;return me.remove(),jt}(this._elementRef.nativeElement)}get element(){return this._elementRef.nativeElement}_handleResize(){setTimeout(()=>this._parent._handleLabelResized())}_subscribeToResize(){this._resizeSubscription.unsubscribe(),this._ngZone.runOutsideAngular(()=>{this._resizeSubscription=this._resizeObserver.observe(this._elementRef.nativeElement,{box:"border-box"}).subscribe(()=>this._handleResize())})}static{this.\u0275fac=function(jt){return new(jt||fe)(o.rXU(o.aKT))}}static{this.\u0275dir=o.FsC({type:fe,selectors:[["label","matFormFieldFloatingLabel",""]],hostAttrs:[1,"mdc-floating-label","mat-mdc-floating-label"],hostVars:2,hostBindings:function(jt,Dt){2&jt&&o.AVh("mdc-floating-label--float-above",Dt.floating)},inputs:{floating:"floating",monitorResize:"monitorResize"}})}}return fe})();const Ht="mdc-line-ripple--active",ne="mdc-line-ripple--deactivating";let at=(()=>{class fe{constructor(me,jt){this._elementRef=me,this._handleTransitionEnd=Dt=>{const dt=this._elementRef.nativeElement.classList,Rt=dt.contains(ne);"opacity"===Dt.propertyName&&Rt&&dt.remove(Ht,ne)},jt.runOutsideAngular(()=>{me.nativeElement.addEventListener("transitionend",this._handleTransitionEnd)})}activate(){const me=this._elementRef.nativeElement.classList;me.remove(ne),me.add(Ht)}deactivate(){this._elementRef.nativeElement.classList.add(ne)}ngOnDestroy(){this._elementRef.nativeElement.removeEventListener("transitionend",this._handleTransitionEnd)}static{this.\u0275fac=function(jt){return new(jt||fe)(o.rXU(o.aKT),o.rXU(o.SKi))}}static{this.\u0275dir=o.FsC({type:fe,selectors:[["div","matFormFieldLineRipple",""]],hostAttrs:[1,"mdc-line-ripple"]})}}return fe})(),H=(()=>{class fe{constructor(me,jt){this._elementRef=me,this._ngZone=jt,this.open=!1}ngAfterViewInit(){const me=this._elementRef.nativeElement.querySelector(".mdc-floating-label");me?(this._elementRef.nativeElement.classList.add("mdc-notched-outline--upgraded"),"function"==typeof requestAnimationFrame&&(me.style.transitionDuration="0s",this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>me.style.transitionDuration="")}))):this._elementRef.nativeElement.classList.add("mdc-notched-outline--no-label")}_setNotchWidth(me){this._notch.nativeElement.style.width=this.open&&me?`calc(${me}px * var(--mat-mdc-form-field-floating-label-scale, 0.75) + 9px)`:""}static{this.\u0275fac=function(jt){return new(jt||fe)(o.rXU(o.aKT),o.rXU(o.SKi))}}static{this.\u0275cmp=o.VBU({type:fe,selectors:[["div","matFormFieldNotchedOutline",""]],viewQuery:function(jt,Dt){if(1&jt&&o.GBs(Gt,5),2&jt){let dt;o.mGM(dt=o.lsd())&&(Dt._notch=dt.first)}},hostAttrs:[1,"mdc-notched-outline"],hostVars:2,hostBindings:function(jt,Dt){2&jt&&o.AVh("mdc-notched-outline--notched",Dt.open)},inputs:{open:["matFormFieldNotchedOutlineOpen","open"]},attrs:te,ngContentSelectors:$,decls:5,vars:0,consts:[[1,"mdc-notched-outline__leading"],[1,"mdc-notched-outline__notch"],["notch",""],[1,"mdc-notched-outline__trailing"]],template:function(jt,Dt){1&jt&&(o.NAR(),o.nrm(0,"div",0),o.j41(1,"div",1,2),o.SdG(3),o.k0s(),o.nrm(4,"div",3))},encapsulation:2,changeDetection:0})}}return fe})();const st={transitionMessages:(0,pt.hZ)("transitionMessages",[(0,pt.wk)("enter",(0,pt.iF)({opacity:1,transform:"translateY(0%)"})),(0,pt.kY)("void => enter",[(0,pt.iF)({opacity:0,transform:"translateY(-5px)"}),(0,pt.i0)("300ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])};let zt=(()=>{class fe{static{this.\u0275fac=function(jt){return new(jt||fe)}}static{this.\u0275dir=o.FsC({type:fe})}}return fe})();const X=new o.nKC("MatFormField"),ft=new o.nKC("MAT_FORM_FIELD_DEFAULT_OPTIONS");let Ot=0,_n=(()=>{class fe{get hideRequiredMarker(){return this._hideRequiredMarker}set hideRequiredMarker(me){this._hideRequiredMarker=(0,a.he)(me)}get floatLabel(){return this._floatLabel||this._defaults?.floatLabel||"auto"}set floatLabel(me){me!==this._floatLabel&&(this._floatLabel=me,this._changeDetectorRef.markForCheck())}get appearance(){return this._appearance}set appearance(me){const jt=this._appearance;this._appearance=me||this._defaults?.appearance||"fill","outline"===this._appearance&&this._appearance!==jt&&(this._needsOutlineLabelOffsetUpdateOnStable=!0)}get subscriptSizing(){return this._subscriptSizing||this._defaults?.subscriptSizing||"fixed"}set subscriptSizing(me){this._subscriptSizing=me||this._defaults?.subscriptSizing||"fixed"}get hintLabel(){return this._hintLabel}set hintLabel(me){this._hintLabel=me,this._processHints()}get _control(){return this._explicitFormFieldControl||this._formFieldControl}set _control(me){this._explicitFormFieldControl=me}constructor(me,jt,Dt,dt,Rt,ae,ze,Zt){this._elementRef=me,this._changeDetectorRef=jt,this._ngZone=Dt,this._dir=dt,this._platform=Rt,this._defaults=ae,this._animationMode=ze,this._hideRequiredMarker=!1,this.color="primary",this._appearance="fill",this._subscriptSizing=null,this._hintLabel="",this._hasIconPrefix=!1,this._hasTextPrefix=!1,this._hasIconSuffix=!1,this._hasTextSuffix=!1,this._labelId="mat-mdc-form-field-label-"+Ot++,this._hintLabelId="mat-mdc-hint-"+Ot++,this._subscriptAnimationState="",this._destroyed=new k.B,this._isFocused=null,this._needsOutlineLabelOffsetUpdateOnStable=!1,ae&&(ae.appearance&&(this.appearance=ae.appearance),this._hideRequiredMarker=!!ae?.hideRequiredMarker,ae.color&&(this.color=ae.color))}ngAfterViewInit(){this._updateFocusState(),this._subscriptAnimationState="enter",this._changeDetectorRef.detectChanges()}ngAfterContentInit(){this._assertFormFieldControl(),this._initializeControl(),this._initializeSubscript(),this._initializePrefixAndSuffix(),this._initializeOutlineLabelOffsetSubscriptions()}ngAfterContentChecked(){this._assertFormFieldControl()}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete()}getLabelId(){return this._hasFloatingLabel()?this._labelId:null}getConnectedOverlayOrigin(){return this._textField||this._elementRef}_animateAndLockLabel(){this._hasFloatingLabel()&&(this.floatLabel="always")}_initializeControl(){const me=this._control;me.controlType&&this._elementRef.nativeElement.classList.add(`mat-mdc-form-field-type-${me.controlType}`),me.stateChanges.subscribe(()=>{this._updateFocusState(),this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),me.ngControl&&me.ngControl.valueChanges&&me.ngControl.valueChanges.pipe((0,P.Q)(this._destroyed)).subscribe(()=>this._changeDetectorRef.markForCheck())}_checkPrefixAndSuffixTypes(){this._hasIconPrefix=!!this._prefixChildren.find(me=>!me._isText),this._hasTextPrefix=!!this._prefixChildren.find(me=>me._isText),this._hasIconSuffix=!!this._suffixChildren.find(me=>!me._isText),this._hasTextSuffix=!!this._suffixChildren.find(me=>me._isText)}_initializePrefixAndSuffix(){this._checkPrefixAndSuffixTypes(),(0,G.h)(this._prefixChildren.changes,this._suffixChildren.changes).subscribe(()=>{this._checkPrefixAndSuffixTypes(),this._changeDetectorRef.markForCheck()})}_initializeSubscript(){this._hintChildren.changes.subscribe(()=>{this._processHints(),this._changeDetectorRef.markForCheck()}),this._errorChildren.changes.subscribe(()=>{this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),this._validateHints(),this._syncDescribedByIds()}_assertFormFieldControl(){}_updateFocusState(){this._control.focused&&!this._isFocused?(this._isFocused=!0,this._lineRipple?.activate()):!this._control.focused&&(this._isFocused||null===this._isFocused)&&(this._isFocused=!1,this._lineRipple?.deactivate()),this._textField?.nativeElement.classList.toggle("mdc-text-field--focused",this._control.focused)}_initializeOutlineLabelOffsetSubscriptions(){this._prefixChildren.changes.subscribe(()=>this._needsOutlineLabelOffsetUpdateOnStable=!0),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.pipe((0,P.Q)(this._destroyed)).subscribe(()=>{this._needsOutlineLabelOffsetUpdateOnStable&&(this._needsOutlineLabelOffsetUpdateOnStable=!1,this._updateOutlineLabelOffset())})}),this._dir.change.pipe((0,P.Q)(this._destroyed)).subscribe(()=>this._needsOutlineLabelOffsetUpdateOnStable=!0)}_shouldAlwaysFloat(){return"always"===this.floatLabel}_hasOutline(){return"outline"===this.appearance}_forceDisplayInfixLabel(){return!this._platform.isBrowser&&this._prefixChildren.length&&!this._shouldLabelFloat()}_hasFloatingLabel(){return!!this._labelChildNonStatic||!!this._labelChildStatic}_shouldLabelFloat(){return this._control.shouldLabelFloat||this._shouldAlwaysFloat()}_shouldForward(me){const jt=this._control?this._control.ngControl:null;return jt&&jt[me]}_getDisplayedMessages(){return this._errorChildren&&this._errorChildren.length>0&&this._control.errorState?"error":"hint"}_handleLabelResized(){this._refreshOutlineNotchWidth()}_refreshOutlineNotchWidth(){this._hasOutline()&&this._floatingLabel&&this._shouldLabelFloat()?this._notchedOutline?._setNotchWidth(this._floatingLabel.getWidth()):this._notchedOutline?._setNotchWidth(0)}_processHints(){this._validateHints(),this._syncDescribedByIds()}_validateHints(){}_syncDescribedByIds(){if(this._control){let me=[];if(this._control.userAriaDescribedBy&&"string"==typeof this._control.userAriaDescribedBy&&me.push(...this._control.userAriaDescribedBy.split(" ")),"hint"===this._getDisplayedMessages()){const jt=this._hintChildren?this._hintChildren.find(dt=>"start"===dt.align):null,Dt=this._hintChildren?this._hintChildren.find(dt=>"end"===dt.align):null;jt?me.push(jt.id):this._hintLabel&&me.push(this._hintLabelId),Dt&&me.push(Dt.id)}else this._errorChildren&&me.push(...this._errorChildren.map(jt=>jt.id));this._control.setDescribedByIds(me)}}_updateOutlineLabelOffset(){if(!this._platform.isBrowser||!this._hasOutline()||!this._floatingLabel)return;const me=this._floatingLabel.element;if(!this._iconPrefixContainer&&!this._textPrefixContainer)return void(me.style.transform="");if(!this._isAttachedToDom())return void(this._needsOutlineLabelOffsetUpdateOnStable=!0);const jt=this._iconPrefixContainer?.nativeElement,Dt=this._textPrefixContainer?.nativeElement,dt=jt?.getBoundingClientRect().width??0,Rt=Dt?.getBoundingClientRect().width??0;me.style.transform=`var(\n --mat-mdc-form-field-label-transform,\n translateY(-50%) translateX(calc(${"rtl"===this._dir.value?"-1":"1"} * (${dt+Rt}px + var(--mat-mdc-form-field-label-offset-x, 0px))))\n )`}_isAttachedToDom(){const me=this._elementRef.nativeElement;if(me.getRootNode){const jt=me.getRootNode();return jt&&jt!==me}return document.documentElement.contains(me)}static{this.\u0275fac=function(jt){return new(jt||fe)(o.rXU(o.aKT),o.rXU(o.gRc),o.rXU(o.SKi),o.rXU(y.dS),o.rXU(b.OD),o.rXU(ft,8),o.rXU(o.bc$,8),o.rXU(j.qQ))}}static{this.\u0275cmp=o.VBU({type:fe,selectors:[["mat-form-field"]],contentQueries:function(jt,Dt,dt){if(1&jt&&(o.wni(dt,Ne,5),o.wni(dt,Ne,7),o.wni(dt,zt,5),o.wni(dt,oe,5),o.wni(dt,Et,5),o.wni(dt,un,5),o.wni(dt,Vt,5)),2&jt){let Rt;o.mGM(Rt=o.lsd())&&(Dt._labelChildNonStatic=Rt.first),o.mGM(Rt=o.lsd())&&(Dt._labelChildStatic=Rt.first),o.mGM(Rt=o.lsd())&&(Dt._formFieldControl=Rt.first),o.mGM(Rt=o.lsd())&&(Dt._prefixChildren=Rt),o.mGM(Rt=o.lsd())&&(Dt._suffixChildren=Rt),o.mGM(Rt=o.lsd())&&(Dt._errorChildren=Rt),o.mGM(Rt=o.lsd())&&(Dt._hintChildren=Rt)}},viewQuery:function(jt,Dt){if(1&jt&&(o.GBs(lt,5),o.GBs(V,5),o.GBs(mt,5),o.GBs(ce,5),o.GBs(H,5),o.GBs(at,5)),2&jt){let dt;o.mGM(dt=o.lsd())&&(Dt._textField=dt.first),o.mGM(dt=o.lsd())&&(Dt._iconPrefixContainer=dt.first),o.mGM(dt=o.lsd())&&(Dt._textPrefixContainer=dt.first),o.mGM(dt=o.lsd())&&(Dt._floatingLabel=dt.first),o.mGM(dt=o.lsd())&&(Dt._notchedOutline=dt.first),o.mGM(dt=o.lsd())&&(Dt._lineRipple=dt.first)}},hostAttrs:[1,"mat-mdc-form-field"],hostVars:42,hostBindings:function(jt,Dt){2&jt&&o.AVh("mat-mdc-form-field-label-always-float",Dt._shouldAlwaysFloat())("mat-mdc-form-field-has-icon-prefix",Dt._hasIconPrefix)("mat-mdc-form-field-has-icon-suffix",Dt._hasIconSuffix)("mat-form-field-invalid",Dt._control.errorState)("mat-form-field-disabled",Dt._control.disabled)("mat-form-field-autofilled",Dt._control.autofilled)("mat-form-field-no-animations","NoopAnimations"===Dt._animationMode)("mat-form-field-appearance-fill","fill"==Dt.appearance)("mat-form-field-appearance-outline","outline"==Dt.appearance)("mat-form-field-hide-placeholder",Dt._hasFloatingLabel()&&!Dt._shouldLabelFloat())("mat-focused",Dt._control.focused)("mat-primary","accent"!==Dt.color&&"warn"!==Dt.color)("mat-accent","accent"===Dt.color)("mat-warn","warn"===Dt.color)("ng-untouched",Dt._shouldForward("untouched"))("ng-touched",Dt._shouldForward("touched"))("ng-pristine",Dt._shouldForward("pristine"))("ng-dirty",Dt._shouldForward("dirty"))("ng-valid",Dt._shouldForward("valid"))("ng-invalid",Dt._shouldForward("invalid"))("ng-pending",Dt._shouldForward("pending"))},inputs:{hideRequiredMarker:"hideRequiredMarker",color:"color",floatLabel:"floatLabel",appearance:"appearance",subscriptSizing:"subscriptSizing",hintLabel:"hintLabel"},exportAs:["matFormField"],features:[o.Jv_([{provide:X,useExisting:fe},{provide:Ee,useExisting:fe}])],ngContentSelectors:Ut,decls:18,vars:23,consts:[["labelTemplate",""],[1,"mat-mdc-text-field-wrapper","mdc-text-field",3,"click"],["textField",""],["class","mat-mdc-form-field-focus-overlay",4,"ngIf"],[1,"mat-mdc-form-field-flex"],["matFormFieldNotchedOutline","",3,"matFormFieldNotchedOutlineOpen",4,"ngIf"],["class","mat-mdc-form-field-icon-prefix",4,"ngIf"],["class","mat-mdc-form-field-text-prefix",4,"ngIf"],[1,"mat-mdc-form-field-infix"],[3,"ngIf"],["class","mat-mdc-form-field-text-suffix",4,"ngIf"],["class","mat-mdc-form-field-icon-suffix",4,"ngIf"],["matFormFieldLineRipple","",4,"ngIf"],[1,"mat-mdc-form-field-subscript-wrapper","mat-mdc-form-field-bottom-align",3,"ngSwitch"],["class","mat-mdc-form-field-error-wrapper",4,"ngSwitchCase"],["class","mat-mdc-form-field-hint-wrapper",4,"ngSwitchCase"],["matFormFieldFloatingLabel","",3,"floating","monitorResize","id",4,"ngIf"],["matFormFieldFloatingLabel","",3,"floating","monitorResize","id"],["aria-hidden","true","class","mat-mdc-form-field-required-marker mdc-floating-label--required",4,"ngIf"],["aria-hidden","true",1,"mat-mdc-form-field-required-marker","mdc-floating-label--required"],[1,"mat-mdc-form-field-focus-overlay"],["matFormFieldNotchedOutline","",3,"matFormFieldNotchedOutlineOpen"],[3,"ngTemplateOutlet"],[1,"mat-mdc-form-field-icon-prefix"],["iconPrefixContainer",""],[1,"mat-mdc-form-field-text-prefix"],["textPrefixContainer",""],[1,"mat-mdc-form-field-text-suffix"],[1,"mat-mdc-form-field-icon-suffix"],["matFormFieldLineRipple",""],[1,"mat-mdc-form-field-error-wrapper"],[1,"mat-mdc-form-field-hint-wrapper"],[3,"id",4,"ngIf"],[1,"mat-mdc-form-field-hint-spacer"],[3,"id"]],template:function(jt,Dt){1&jt&&(o.NAR(Yt),o.DNE(0,de,1,1,"ng-template",null,0,o.C5r),o.j41(2,"div",1,2),o.bIt("click",function(Rt){return Dt._control.onContainerClick(Rt)}),o.DNE(4,_e,1,0,"div",3),o.j41(5,"div",4),o.DNE(6,Xe,2,2,"div",5),o.DNE(7,ye,3,0,"div",6),o.DNE(8,Ve,3,0,"div",7),o.j41(9,"div",8),o.DNE(10,Qe,1,1,"ng-template",9),o.SdG(11),o.k0s(),o.DNE(12,be,2,0,"div",10),o.DNE(13,Me,2,0,"div",11),o.k0s(),o.DNE(14,yt,1,0,"div",12),o.k0s(),o.j41(15,"div",13),o.DNE(16,Kt,2,1,"div",14),o.DNE(17,Tt,5,2,"div",15),o.k0s()),2&jt&&(o.R7$(2),o.AVh("mdc-text-field--filled",!Dt._hasOutline())("mdc-text-field--outlined",Dt._hasOutline())("mdc-text-field--no-label",!Dt._hasFloatingLabel())("mdc-text-field--disabled",Dt._control.disabled)("mdc-text-field--invalid",Dt._control.errorState),o.R7$(2),o.Y8G("ngIf",!Dt._hasOutline()&&!Dt._control.disabled),o.R7$(2),o.Y8G("ngIf",Dt._hasOutline()),o.R7$(1),o.Y8G("ngIf",Dt._hasIconPrefix),o.R7$(1),o.Y8G("ngIf",Dt._hasTextPrefix),o.R7$(2),o.Y8G("ngIf",!Dt._hasOutline()||Dt._forceDisplayInfixLabel()),o.R7$(2),o.Y8G("ngIf",Dt._hasTextSuffix),o.R7$(1),o.Y8G("ngIf",Dt._hasIconSuffix),o.R7$(1),o.Y8G("ngIf",!Dt._hasOutline()),o.R7$(1),o.AVh("mat-mdc-form-field-subscript-dynamic-size","dynamic"===Dt.subscriptSizing),o.Y8G("ngSwitch",Dt._getDisplayedMessages()),o.R7$(1),o.Y8G("ngSwitchCase","error"),o.R7$(1),o.Y8G("ngSwitchCase","hint"))},dependencies:[j.bT,j.T3,j.ux,j.e1,Vt,ce,H,at],styles:['.mdc-text-field{border-top-left-radius:4px;border-top-left-radius:var(--mdc-shape-small, 4px);border-top-right-radius:4px;border-top-right-radius:var(--mdc-shape-small, 4px);border-bottom-right-radius:0;border-bottom-left-radius:0;display:inline-flex;align-items:baseline;padding:0 16px;position:relative;box-sizing:border-box;overflow:hidden;will-change:opacity,transform,color}.mdc-text-field .mdc-floating-label{top:50%;transform:translateY(-50%);pointer-events:none}.mdc-text-field__input{height:28px;width:100%;min-width:0;border:none;border-radius:0;background:none;appearance:none;padding:0}.mdc-text-field__input::-ms-clear{display:none}.mdc-text-field__input::-webkit-calendar-picker-indicator{display:none}.mdc-text-field__input:focus{outline:none}.mdc-text-field__input:invalid{box-shadow:none}@media all{.mdc-text-field__input::placeholder{opacity:0}}@media all{.mdc-text-field__input:-ms-input-placeholder{opacity:0}}@media all{.mdc-text-field--no-label .mdc-text-field__input::placeholder,.mdc-text-field--focused .mdc-text-field__input::placeholder{opacity:1}}@media all{.mdc-text-field--no-label .mdc-text-field__input:-ms-input-placeholder,.mdc-text-field--focused .mdc-text-field__input:-ms-input-placeholder{opacity:1}}.mdc-text-field__affix{height:28px;opacity:0;white-space:nowrap}.mdc-text-field--label-floating .mdc-text-field__affix,.mdc-text-field--no-label .mdc-text-field__affix{opacity:1}@supports(-webkit-hyphens: none){.mdc-text-field--outlined .mdc-text-field__affix{align-items:center;align-self:center;display:inline-flex;height:100%}}.mdc-text-field__affix--prefix{padding-left:0;padding-right:2px}[dir=rtl] .mdc-text-field__affix--prefix,.mdc-text-field__affix--prefix[dir=rtl]{padding-left:2px;padding-right:0}.mdc-text-field--end-aligned .mdc-text-field__affix--prefix{padding-left:0;padding-right:12px}[dir=rtl] .mdc-text-field--end-aligned .mdc-text-field__affix--prefix,.mdc-text-field--end-aligned .mdc-text-field__affix--prefix[dir=rtl]{padding-left:12px;padding-right:0}.mdc-text-field__affix--suffix{padding-left:12px;padding-right:0}[dir=rtl] .mdc-text-field__affix--suffix,.mdc-text-field__affix--suffix[dir=rtl]{padding-left:0;padding-right:12px}.mdc-text-field--end-aligned .mdc-text-field__affix--suffix{padding-left:2px;padding-right:0}[dir=rtl] .mdc-text-field--end-aligned .mdc-text-field__affix--suffix,.mdc-text-field--end-aligned .mdc-text-field__affix--suffix[dir=rtl]{padding-left:0;padding-right:2px}.mdc-text-field--filled{height:56px}.mdc-text-field--filled::before{display:inline-block;width:0;height:40px;content:"";vertical-align:0}.mdc-text-field--filled .mdc-floating-label{left:16px;right:initial}[dir=rtl] .mdc-text-field--filled .mdc-floating-label,.mdc-text-field--filled .mdc-floating-label[dir=rtl]{left:initial;right:16px}.mdc-text-field--filled .mdc-floating-label--float-above{transform:translateY(-106%) scale(0.75)}.mdc-text-field--filled.mdc-text-field--no-label .mdc-text-field__input{height:100%}.mdc-text-field--filled.mdc-text-field--no-label .mdc-floating-label{display:none}.mdc-text-field--filled.mdc-text-field--no-label::before{display:none}@supports(-webkit-hyphens: none){.mdc-text-field--filled.mdc-text-field--no-label .mdc-text-field__affix{align-items:center;align-self:center;display:inline-flex;height:100%}}.mdc-text-field--outlined{height:56px;overflow:visible}.mdc-text-field--outlined .mdc-floating-label--float-above{transform:translateY(-37.25px) scale(1)}.mdc-text-field--outlined .mdc-floating-label--float-above{font-size:.75rem}.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{transform:translateY(-34.75px) scale(0.75)}.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:1rem}.mdc-text-field--outlined .mdc-text-field__input{height:100%}.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading{border-top-left-radius:4px;border-top-left-radius:var(--mdc-shape-small, 4px);border-top-right-radius:0;border-bottom-right-radius:0;border-bottom-left-radius:4px;border-bottom-left-radius:var(--mdc-shape-small, 4px)}[dir=rtl] .mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading,.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading[dir=rtl]{border-top-left-radius:0;border-top-right-radius:4px;border-top-right-radius:var(--mdc-shape-small, 4px);border-bottom-right-radius:4px;border-bottom-right-radius:var(--mdc-shape-small, 4px);border-bottom-left-radius:0}@supports(top: max(0%)){.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading{width:max(12px, var(--mdc-shape-small, 4px))}}@supports(top: max(0%)){.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__notch{max-width:calc(100% - max(12px, var(--mdc-shape-small, 4px))*2)}}.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__trailing{border-top-left-radius:0;border-top-right-radius:4px;border-top-right-radius:var(--mdc-shape-small, 4px);border-bottom-right-radius:4px;border-bottom-right-radius:var(--mdc-shape-small, 4px);border-bottom-left-radius:0}[dir=rtl] .mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__trailing,.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__trailing[dir=rtl]{border-top-left-radius:4px;border-top-left-radius:var(--mdc-shape-small, 4px);border-top-right-radius:0;border-bottom-right-radius:0;border-bottom-left-radius:4px;border-bottom-left-radius:var(--mdc-shape-small, 4px)}@supports(top: max(0%)){.mdc-text-field--outlined{padding-left:max(16px, calc(var(--mdc-shape-small, 4px) + 4px))}}@supports(top: max(0%)){.mdc-text-field--outlined{padding-right:max(16px, var(--mdc-shape-small, 4px))}}@supports(top: max(0%)){.mdc-text-field--outlined+.mdc-text-field-helper-line{padding-left:max(16px, calc(var(--mdc-shape-small, 4px) + 4px))}}@supports(top: max(0%)){.mdc-text-field--outlined+.mdc-text-field-helper-line{padding-right:max(16px, var(--mdc-shape-small, 4px))}}.mdc-text-field--outlined.mdc-text-field--with-leading-icon{padding-left:0}@supports(top: max(0%)){.mdc-text-field--outlined.mdc-text-field--with-leading-icon{padding-right:max(16px, var(--mdc-shape-small, 4px))}}[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-leading-icon,.mdc-text-field--outlined.mdc-text-field--with-leading-icon[dir=rtl]{padding-right:0}@supports(top: max(0%)){[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-leading-icon,.mdc-text-field--outlined.mdc-text-field--with-leading-icon[dir=rtl]{padding-left:max(16px, var(--mdc-shape-small, 4px))}}.mdc-text-field--outlined.mdc-text-field--with-trailing-icon{padding-right:0}@supports(top: max(0%)){.mdc-text-field--outlined.mdc-text-field--with-trailing-icon{padding-left:max(16px, calc(var(--mdc-shape-small, 4px) + 4px))}}[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-trailing-icon,.mdc-text-field--outlined.mdc-text-field--with-trailing-icon[dir=rtl]{padding-left:0}@supports(top: max(0%)){[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-trailing-icon,.mdc-text-field--outlined.mdc-text-field--with-trailing-icon[dir=rtl]{padding-right:max(16px, calc(var(--mdc-shape-small, 4px) + 4px))}}.mdc-text-field--outlined.mdc-text-field--with-leading-icon.mdc-text-field--with-trailing-icon{padding-left:0;padding-right:0}.mdc-text-field--outlined .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:1px}.mdc-text-field--outlined .mdc-floating-label{left:4px;right:initial}[dir=rtl] .mdc-text-field--outlined .mdc-floating-label,.mdc-text-field--outlined .mdc-floating-label[dir=rtl]{left:initial;right:4px}.mdc-text-field--outlined .mdc-text-field__input{display:flex;border:none !important;background-color:rgba(0,0,0,0)}.mdc-text-field--outlined .mdc-notched-outline{z-index:1}.mdc-text-field--textarea{flex-direction:column;align-items:center;width:auto;height:auto;padding:0}.mdc-text-field--textarea .mdc-floating-label{top:19px}.mdc-text-field--textarea .mdc-floating-label:not(.mdc-floating-label--float-above){transform:none}.mdc-text-field--textarea .mdc-text-field__input{flex-grow:1;height:auto;min-height:1.5rem;overflow-x:hidden;overflow-y:auto;box-sizing:border-box;resize:none;padding:0 16px}.mdc-text-field--textarea.mdc-text-field--filled::before{display:none}.mdc-text-field--textarea.mdc-text-field--filled .mdc-floating-label--float-above{transform:translateY(-10.25px) scale(0.75)}.mdc-text-field--textarea.mdc-text-field--filled .mdc-text-field__input{margin-top:23px;margin-bottom:9px}.mdc-text-field--textarea.mdc-text-field--filled.mdc-text-field--no-label .mdc-text-field__input{margin-top:16px;margin-bottom:16px}.mdc-text-field--textarea.mdc-text-field--outlined .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:0}.mdc-text-field--textarea.mdc-text-field--outlined .mdc-floating-label--float-above{transform:translateY(-27.25px) scale(1)}.mdc-text-field--textarea.mdc-text-field--outlined .mdc-floating-label--float-above{font-size:.75rem}.mdc-text-field--textarea.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--textarea.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{transform:translateY(-24.75px) scale(0.75)}.mdc-text-field--textarea.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--textarea.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:1rem}.mdc-text-field--textarea.mdc-text-field--outlined .mdc-text-field__input{margin-top:16px;margin-bottom:16px}.mdc-text-field--textarea.mdc-text-field--outlined .mdc-floating-label{top:18px}.mdc-text-field--textarea.mdc-text-field--with-internal-counter .mdc-text-field__input{margin-bottom:2px}.mdc-text-field--textarea.mdc-text-field--with-internal-counter .mdc-text-field-character-counter{align-self:flex-end;padding:0 16px}.mdc-text-field--textarea.mdc-text-field--with-internal-counter .mdc-text-field-character-counter::after{display:inline-block;width:0;height:16px;content:"";vertical-align:-16px}.mdc-text-field--textarea.mdc-text-field--with-internal-counter .mdc-text-field-character-counter::before{display:none}.mdc-text-field__resizer{align-self:stretch;display:inline-flex;flex-direction:column;flex-grow:1;max-height:100%;max-width:100%;min-height:56px;min-width:fit-content;min-width:-moz-available;min-width:-webkit-fill-available;overflow:hidden;resize:both}.mdc-text-field--filled .mdc-text-field__resizer{transform:translateY(-1px)}.mdc-text-field--filled .mdc-text-field__resizer .mdc-text-field__input,.mdc-text-field--filled .mdc-text-field__resizer .mdc-text-field-character-counter{transform:translateY(1px)}.mdc-text-field--outlined .mdc-text-field__resizer{transform:translateX(-1px) translateY(-1px)}[dir=rtl] .mdc-text-field--outlined .mdc-text-field__resizer,.mdc-text-field--outlined .mdc-text-field__resizer[dir=rtl]{transform:translateX(1px) translateY(-1px)}.mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field__input,.mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field-character-counter{transform:translateX(1px) translateY(1px)}[dir=rtl] .mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field__input,[dir=rtl] .mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field-character-counter,.mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field__input[dir=rtl],.mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field-character-counter[dir=rtl]{transform:translateX(-1px) translateY(1px)}.mdc-text-field--with-leading-icon{padding-left:0;padding-right:16px}[dir=rtl] .mdc-text-field--with-leading-icon,.mdc-text-field--with-leading-icon[dir=rtl]{padding-left:16px;padding-right:0}.mdc-text-field--with-leading-icon.mdc-text-field--filled .mdc-floating-label{max-width:calc(100% - 48px);left:48px;right:initial}[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--filled .mdc-floating-label,.mdc-text-field--with-leading-icon.mdc-text-field--filled .mdc-floating-label[dir=rtl]{left:initial;right:48px}.mdc-text-field--with-leading-icon.mdc-text-field--filled .mdc-floating-label--float-above{max-width:calc(100% / 0.75 - 64px / 0.75)}.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label{left:36px;right:initial}[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label,.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label[dir=rtl]{left:initial;right:36px}.mdc-text-field--with-leading-icon.mdc-text-field--outlined :not(.mdc-notched-outline--notched) .mdc-notched-outline__notch{max-width:calc(100% - 60px)}.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--float-above{transform:translateY(-37.25px) translateX(-32px) scale(1)}[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--float-above,.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--float-above[dir=rtl]{transform:translateY(-37.25px) translateX(32px) scale(1)}.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--float-above{font-size:.75rem}.mdc-text-field--with-leading-icon.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{transform:translateY(-34.75px) translateX(-32px) scale(0.75)}[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--with-leading-icon.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above[dir=rtl],.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above[dir=rtl]{transform:translateY(-34.75px) translateX(32px) scale(0.75)}.mdc-text-field--with-leading-icon.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:1rem}.mdc-text-field--with-trailing-icon{padding-left:16px;padding-right:0}[dir=rtl] .mdc-text-field--with-trailing-icon,.mdc-text-field--with-trailing-icon[dir=rtl]{padding-left:0;padding-right:16px}.mdc-text-field--with-trailing-icon.mdc-text-field--filled .mdc-floating-label{max-width:calc(100% - 64px)}.mdc-text-field--with-trailing-icon.mdc-text-field--filled .mdc-floating-label--float-above{max-width:calc(100% / 0.75 - 64px / 0.75)}.mdc-text-field--with-trailing-icon.mdc-text-field--outlined :not(.mdc-notched-outline--notched) .mdc-notched-outline__notch{max-width:calc(100% - 60px)}.mdc-text-field--with-leading-icon.mdc-text-field--with-trailing-icon{padding-left:0;padding-right:0}.mdc-text-field--with-leading-icon.mdc-text-field--with-trailing-icon.mdc-text-field--filled .mdc-floating-label{max-width:calc(100% - 96px)}.mdc-text-field--with-leading-icon.mdc-text-field--with-trailing-icon.mdc-text-field--filled .mdc-floating-label--float-above{max-width:calc(100% / 0.75 - 96px / 0.75)}.mdc-text-field-helper-line{display:flex;justify-content:space-between;box-sizing:border-box}.mdc-text-field+.mdc-text-field-helper-line{padding-right:16px;padding-left:16px}.mdc-form-field>.mdc-text-field+label{align-self:flex-start}.mdc-text-field--focused .mdc-notched-outline__leading,.mdc-text-field--focused .mdc-notched-outline__notch,.mdc-text-field--focused .mdc-notched-outline__trailing{border-width:2px}.mdc-text-field--focused+.mdc-text-field-helper-line .mdc-text-field-helper-text:not(.mdc-text-field-helper-text--validation-msg){opacity:1}.mdc-text-field--focused.mdc-text-field--outlined .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:2px}.mdc-text-field--focused.mdc-text-field--outlined.mdc-text-field--textarea .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:0}.mdc-text-field--invalid+.mdc-text-field-helper-line .mdc-text-field-helper-text--validation-msg{opacity:1}.mdc-text-field--disabled{pointer-events:none}@media screen and (forced-colors: active){.mdc-text-field--disabled .mdc-text-field__input{background-color:Window}.mdc-text-field--disabled .mdc-floating-label{z-index:1}}.mdc-text-field--disabled .mdc-floating-label{cursor:default}.mdc-text-field--disabled.mdc-text-field--filled .mdc-text-field__ripple{display:none}.mdc-text-field--disabled .mdc-text-field__input{pointer-events:auto}.mdc-text-field--end-aligned .mdc-text-field__input{text-align:right}[dir=rtl] .mdc-text-field--end-aligned .mdc-text-field__input,.mdc-text-field--end-aligned .mdc-text-field__input[dir=rtl]{text-align:left}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__input,[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__affix,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__input,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__affix{direction:ltr}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__affix--prefix,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__affix--prefix{padding-left:0;padding-right:2px}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__affix--suffix,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__affix--suffix{padding-left:12px;padding-right:0}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__icon--leading,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__icon--leading{order:1}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__affix--suffix,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__affix--suffix{order:2}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__input,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__input{order:3}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__affix--prefix,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__affix--prefix{order:4}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__icon--trailing,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__icon--trailing{order:5}[dir=rtl] .mdc-text-field--ltr-text.mdc-text-field--end-aligned .mdc-text-field__input,.mdc-text-field--ltr-text.mdc-text-field--end-aligned[dir=rtl] .mdc-text-field__input{text-align:right}[dir=rtl] .mdc-text-field--ltr-text.mdc-text-field--end-aligned .mdc-text-field__affix--prefix,.mdc-text-field--ltr-text.mdc-text-field--end-aligned[dir=rtl] .mdc-text-field__affix--prefix{padding-right:12px}[dir=rtl] .mdc-text-field--ltr-text.mdc-text-field--end-aligned .mdc-text-field__affix--suffix,.mdc-text-field--ltr-text.mdc-text-field--end-aligned[dir=rtl] .mdc-text-field__affix--suffix{padding-left:2px}.mdc-floating-label{position:absolute;left:0;-webkit-transform-origin:left top;transform-origin:left top;line-height:1.15rem;text-align:left;text-overflow:ellipsis;white-space:nowrap;cursor:text;overflow:hidden;will-change:transform}[dir=rtl] .mdc-floating-label,.mdc-floating-label[dir=rtl]{right:0;left:auto;-webkit-transform-origin:right top;transform-origin:right top;text-align:right}.mdc-floating-label--float-above{cursor:auto}.mdc-floating-label--required:not(.mdc-floating-label--hide-required-marker)::after{margin-left:1px;margin-right:0px;content:"*"}[dir=rtl] .mdc-floating-label--required:not(.mdc-floating-label--hide-required-marker)::after,.mdc-floating-label--required:not(.mdc-floating-label--hide-required-marker)[dir=rtl]::after{margin-left:0;margin-right:1px}.mdc-notched-outline{display:flex;position:absolute;top:0;right:0;left:0;box-sizing:border-box;width:100%;max-width:100%;height:100%;text-align:left;pointer-events:none}[dir=rtl] .mdc-notched-outline,.mdc-notched-outline[dir=rtl]{text-align:right}.mdc-notched-outline__leading,.mdc-notched-outline__notch,.mdc-notched-outline__trailing{box-sizing:border-box;height:100%;pointer-events:none}.mdc-notched-outline__trailing{flex-grow:1}.mdc-notched-outline__notch{flex:0 0 auto;width:auto}.mdc-notched-outline .mdc-floating-label{display:inline-block;position:relative;max-width:100%}.mdc-notched-outline .mdc-floating-label--float-above{text-overflow:clip}.mdc-notched-outline--upgraded .mdc-floating-label--float-above{max-width:133.3333333333%}.mdc-notched-outline--notched .mdc-notched-outline__notch{padding-left:0;padding-right:8px;border-top:none}[dir=rtl] .mdc-notched-outline--notched .mdc-notched-outline__notch,.mdc-notched-outline--notched .mdc-notched-outline__notch[dir=rtl]{padding-left:8px;padding-right:0}.mdc-notched-outline--no-label .mdc-notched-outline__notch{display:none}.mdc-line-ripple::before,.mdc-line-ripple::after{position:absolute;bottom:0;left:0;width:100%;border-bottom-style:solid;content:""}.mdc-line-ripple::before{z-index:1}.mdc-line-ripple::after{transform:scaleX(0);opacity:0;z-index:2}.mdc-line-ripple--active::after{transform:scaleX(1);opacity:1}.mdc-line-ripple--deactivating::after{opacity:0}.mdc-floating-label--float-above{transform:translateY(-106%) scale(0.75)}.mdc-notched-outline__leading,.mdc-notched-outline__notch,.mdc-notched-outline__trailing{border-top:1px solid;border-bottom:1px solid}.mdc-notched-outline__leading{border-left:1px solid;border-right:none;width:12px}[dir=rtl] .mdc-notched-outline__leading,.mdc-notched-outline__leading[dir=rtl]{border-left:none;border-right:1px solid}.mdc-notched-outline__trailing{border-left:none;border-right:1px solid}[dir=rtl] .mdc-notched-outline__trailing,.mdc-notched-outline__trailing[dir=rtl]{border-left:1px solid;border-right:none}.mdc-notched-outline__notch{max-width:calc(100% - 12px * 2)}.mdc-line-ripple::before{border-bottom-width:1px}.mdc-line-ripple::after{border-bottom-width:2px}.mdc-text-field--filled{--mdc-filled-text-field-active-indicator-height:1px;--mdc-filled-text-field-focus-active-indicator-height:2px;--mdc-filled-text-field-container-shape:4px;border-top-left-radius:var(--mdc-filled-text-field-container-shape);border-top-right-radius:var(--mdc-filled-text-field-container-shape);border-bottom-right-radius:0;border-bottom-left-radius:0}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input{caret-color:var(--mdc-filled-text-field-caret-color)}.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-text-field__input{caret-color:var(--mdc-filled-text-field-error-caret-color)}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input{color:var(--mdc-filled-text-field-input-text-color)}.mdc-text-field--filled.mdc-text-field--disabled .mdc-text-field__input{color:var(--mdc-filled-text-field-disabled-input-text-color)}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-floating-label,.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-floating-label--float-above{color:var(--mdc-filled-text-field-label-text-color)}.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label,.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label--float-above{color:var(--mdc-filled-text-field-focus-label-text-color)}.mdc-text-field--filled.mdc-text-field--disabled .mdc-floating-label,.mdc-text-field--filled.mdc-text-field--disabled .mdc-floating-label--float-above{color:var(--mdc-filled-text-field-disabled-label-text-color)}.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-floating-label,.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-floating-label--float-above{color:var(--mdc-filled-text-field-error-label-text-color)}.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label,.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label--float-above{color:var(--mdc-filled-text-field-error-focus-label-text-color)}.mdc-text-field--filled .mdc-floating-label{font-family:var(--mdc-filled-text-field-label-text-font);font-size:var(--mdc-filled-text-field-label-text-size);font-weight:var(--mdc-filled-text-field-label-text-weight);letter-spacing:var(--mdc-filled-text-field-label-text-tracking)}@media all{.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input::placeholder{color:var(--mdc-filled-text-field-input-text-placeholder-color)}}@media all{.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input:-ms-input-placeholder{color:var(--mdc-filled-text-field-input-text-placeholder-color)}}.mdc-text-field--filled:not(.mdc-text-field--disabled){background-color:var(--mdc-filled-text-field-container-color)}.mdc-text-field--filled.mdc-text-field--disabled{background-color:var(--mdc-filled-text-field-disabled-container-color)}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-line-ripple::before{border-bottom-color:var(--mdc-filled-text-field-active-indicator-color)}.mdc-text-field--filled:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-line-ripple::before{border-bottom-color:var(--mdc-filled-text-field-hover-active-indicator-color)}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-line-ripple::after{border-bottom-color:var(--mdc-filled-text-field-focus-active-indicator-color)}.mdc-text-field--filled.mdc-text-field--disabled .mdc-line-ripple::before{border-bottom-color:var(--mdc-filled-text-field-disabled-active-indicator-color)}.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-line-ripple::before{border-bottom-color:var(--mdc-filled-text-field-error-active-indicator-color)}.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-line-ripple::before{border-bottom-color:var(--mdc-filled-text-field-error-hover-active-indicator-color)}.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-line-ripple::after{border-bottom-color:var(--mdc-filled-text-field-error-focus-active-indicator-color)}.mdc-text-field--filled .mdc-line-ripple::before{border-bottom-width:var(--mdc-filled-text-field-active-indicator-height)}.mdc-text-field--filled .mdc-line-ripple::after{border-bottom-width:var(--mdc-filled-text-field-focus-active-indicator-height)}.mdc-text-field--outlined{--mdc-outlined-text-field-outline-width:1px;--mdc-outlined-text-field-focus-outline-width:2px;--mdc-outlined-text-field-container-shape:4px}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input{caret-color:var(--mdc-outlined-text-field-caret-color)}.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-text-field__input{caret-color:var(--mdc-outlined-text-field-error-caret-color)}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input{color:var(--mdc-outlined-text-field-input-text-color)}.mdc-text-field--outlined.mdc-text-field--disabled .mdc-text-field__input{color:var(--mdc-outlined-text-field-disabled-input-text-color)}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-floating-label,.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-floating-label--float-above{color:var(--mdc-outlined-text-field-label-text-color)}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label,.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label--float-above{color:var(--mdc-outlined-text-field-focus-label-text-color)}.mdc-text-field--outlined.mdc-text-field--disabled .mdc-floating-label,.mdc-text-field--outlined.mdc-text-field--disabled .mdc-floating-label--float-above{color:var(--mdc-outlined-text-field-disabled-label-text-color)}.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-floating-label,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-floating-label--float-above{color:var(--mdc-outlined-text-field-error-label-text-color)}.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label--float-above{color:var(--mdc-outlined-text-field-error-focus-label-text-color)}.mdc-text-field--outlined .mdc-floating-label{font-family:var(--mdc-outlined-text-field-label-text-font);font-size:var(--mdc-outlined-text-field-label-text-size);font-weight:var(--mdc-outlined-text-field-label-text-weight);letter-spacing:var(--mdc-outlined-text-field-label-text-tracking)}@media all{.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input::placeholder{color:var(--mdc-outlined-text-field-input-text-placeholder-color)}}@media all{.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input:-ms-input-placeholder{color:var(--mdc-outlined-text-field-input-text-placeholder-color)}}.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading{border-top-left-radius:var(--mdc-outlined-text-field-container-shape);border-top-right-radius:0;border-bottom-right-radius:0;border-bottom-left-radius:var(--mdc-outlined-text-field-container-shape)}[dir=rtl] .mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading,.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading[dir=rtl]{border-top-left-radius:0;border-top-right-radius:var(--mdc-outlined-text-field-container-shape);border-bottom-right-radius:var(--mdc-outlined-text-field-container-shape);border-bottom-left-radius:0}@supports(top: max(0%)){.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading{width:max(12px, var(--mdc-outlined-text-field-container-shape))}}@supports(top: max(0%)){.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__notch{max-width:calc(100% - max(12px, var(--mdc-outlined-text-field-container-shape))*2)}}.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__trailing{border-top-left-radius:0;border-top-right-radius:var(--mdc-outlined-text-field-container-shape);border-bottom-right-radius:var(--mdc-outlined-text-field-container-shape);border-bottom-left-radius:0}[dir=rtl] .mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__trailing,.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__trailing[dir=rtl]{border-top-left-radius:var(--mdc-outlined-text-field-container-shape);border-top-right-radius:0;border-bottom-right-radius:0;border-bottom-left-radius:var(--mdc-outlined-text-field-container-shape)}@supports(top: max(0%)){.mdc-text-field--outlined{padding-left:max(16px, calc(var(--mdc-outlined-text-field-container-shape) + 4px))}}@supports(top: max(0%)){.mdc-text-field--outlined{padding-right:max(16px, var(--mdc-outlined-text-field-container-shape))}}@supports(top: max(0%)){.mdc-text-field--outlined+.mdc-text-field-helper-line{padding-left:max(16px, calc(var(--mdc-outlined-text-field-container-shape) + 4px))}}@supports(top: max(0%)){.mdc-text-field--outlined+.mdc-text-field-helper-line{padding-right:max(16px, var(--mdc-outlined-text-field-container-shape))}}.mdc-text-field--outlined.mdc-text-field--with-leading-icon{padding-left:0}@supports(top: max(0%)){.mdc-text-field--outlined.mdc-text-field--with-leading-icon{padding-right:max(16px, var(--mdc-outlined-text-field-container-shape))}}[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-leading-icon,.mdc-text-field--outlined.mdc-text-field--with-leading-icon[dir=rtl]{padding-right:0}@supports(top: max(0%)){[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-leading-icon,.mdc-text-field--outlined.mdc-text-field--with-leading-icon[dir=rtl]{padding-left:max(16px, var(--mdc-outlined-text-field-container-shape))}}.mdc-text-field--outlined.mdc-text-field--with-trailing-icon{padding-right:0}@supports(top: max(0%)){.mdc-text-field--outlined.mdc-text-field--with-trailing-icon{padding-left:max(16px, calc(var(--mdc-outlined-text-field-container-shape) + 4px))}}[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-trailing-icon,.mdc-text-field--outlined.mdc-text-field--with-trailing-icon[dir=rtl]{padding-left:0}@supports(top: max(0%)){[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-trailing-icon,.mdc-text-field--outlined.mdc-text-field--with-trailing-icon[dir=rtl]{padding-right:max(16px, calc(var(--mdc-outlined-text-field-container-shape) + 4px))}}.mdc-text-field--outlined.mdc-text-field--with-leading-icon.mdc-text-field--with-trailing-icon{padding-left:0;padding-right:0}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-notched-outline__leading,.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-notched-outline__notch,.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-notched-outline__trailing{border-color:var(--mdc-outlined-text-field-outline-color)}.mdc-text-field--outlined:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-notched-outline .mdc-notched-outline__leading,.mdc-text-field--outlined:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-notched-outline .mdc-notched-outline__notch,.mdc-text-field--outlined:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-notched-outline .mdc-notched-outline__trailing{border-color:var(--mdc-outlined-text-field-hover-outline-color)}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__leading,.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__notch,.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__trailing{border-color:var(--mdc-outlined-text-field-focus-outline-color)}.mdc-text-field--outlined.mdc-text-field--disabled .mdc-notched-outline__leading,.mdc-text-field--outlined.mdc-text-field--disabled .mdc-notched-outline__notch,.mdc-text-field--outlined.mdc-text-field--disabled .mdc-notched-outline__trailing{border-color:var(--mdc-outlined-text-field-disabled-outline-color)}.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-notched-outline__leading,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-notched-outline__notch,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-notched-outline__trailing{border-color:var(--mdc-outlined-text-field-error-outline-color)}.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-notched-outline .mdc-notched-outline__leading,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-notched-outline .mdc-notched-outline__notch,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-notched-outline .mdc-notched-outline__trailing{border-color:var(--mdc-outlined-text-field-error-hover-outline-color)}.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__leading,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__notch,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__trailing{border-color:var(--mdc-outlined-text-field-error-focus-outline-color)}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-notched-outline .mdc-notched-outline__leading,.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-notched-outline .mdc-notched-outline__notch,.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-notched-outline .mdc-notched-outline__trailing{border-width:var(--mdc-outlined-text-field-outline-width)}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline .mdc-notched-outline__leading,.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline .mdc-notched-outline__notch,.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline .mdc-notched-outline__trailing{border-width:var(--mdc-outlined-text-field-focus-outline-width)}.mat-mdc-form-field-textarea-control{vertical-align:middle;resize:vertical;box-sizing:border-box;height:auto;margin:0;padding:0;border:none;overflow:auto}.mat-mdc-form-field-input-control.mat-mdc-form-field-input-control{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font:inherit;letter-spacing:inherit;text-decoration:inherit;text-transform:inherit;border:none}.mat-mdc-form-field .mat-mdc-floating-label.mdc-floating-label{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;line-height:normal;pointer-events:all}.mat-mdc-form-field:not(.mat-form-field-disabled) .mat-mdc-floating-label.mdc-floating-label{cursor:inherit}.mdc-text-field--no-label:not(.mdc-text-field--textarea) .mat-mdc-form-field-input-control.mdc-text-field__input,.mat-mdc-text-field-wrapper .mat-mdc-form-field-input-control{height:auto}.mat-mdc-text-field-wrapper .mat-mdc-form-field-input-control.mdc-text-field__input[type=color]{height:23px}.mat-mdc-text-field-wrapper{height:auto;flex:auto}.mat-mdc-form-field-has-icon-prefix .mat-mdc-text-field-wrapper{padding-left:0;--mat-mdc-form-field-label-offset-x: -16px}.mat-mdc-form-field-has-icon-suffix .mat-mdc-text-field-wrapper{padding-right:0}[dir=rtl] .mat-mdc-text-field-wrapper{padding-left:16px;padding-right:16px}[dir=rtl] .mat-mdc-form-field-has-icon-suffix .mat-mdc-text-field-wrapper{padding-left:0}[dir=rtl] .mat-mdc-form-field-has-icon-prefix .mat-mdc-text-field-wrapper{padding-right:0}.mat-form-field-disabled .mdc-text-field__input::placeholder{color:var(--mat-form-field-disabled-input-text-placeholder-color)}.mat-form-field-disabled .mdc-text-field__input::-moz-placeholder{color:var(--mat-form-field-disabled-input-text-placeholder-color)}.mat-form-field-disabled .mdc-text-field__input::-webkit-input-placeholder{color:var(--mat-form-field-disabled-input-text-placeholder-color)}.mat-form-field-disabled .mdc-text-field__input:-ms-input-placeholder{color:var(--mat-form-field-disabled-input-text-placeholder-color)}.mat-mdc-form-field-label-always-float .mdc-text-field__input::placeholder{transition-delay:40ms;transition-duration:110ms;opacity:1}.mat-mdc-text-field-wrapper .mat-mdc-form-field-infix .mat-mdc-floating-label{left:auto;right:auto}.mat-mdc-text-field-wrapper.mdc-text-field--outlined .mdc-text-field__input{display:inline-block}.mat-mdc-form-field .mat-mdc-text-field-wrapper.mdc-text-field .mdc-notched-outline__notch{padding-top:0}.mat-mdc-text-field-wrapper::before{content:none}.mat-mdc-form-field-subscript-wrapper{box-sizing:border-box;width:100%;position:relative}.mat-mdc-form-field-hint-wrapper,.mat-mdc-form-field-error-wrapper{position:absolute;top:0;left:0;right:0;padding:0 16px}.mat-mdc-form-field-subscript-dynamic-size .mat-mdc-form-field-hint-wrapper,.mat-mdc-form-field-subscript-dynamic-size .mat-mdc-form-field-error-wrapper{position:static}.mat-mdc-form-field-bottom-align::before{content:"";display:inline-block;height:16px}.mat-mdc-form-field-bottom-align.mat-mdc-form-field-subscript-dynamic-size::before{content:unset}.mat-mdc-form-field-hint-end{order:1}.mat-mdc-form-field-hint-wrapper{display:flex}.mat-mdc-form-field-hint-spacer{flex:1 0 1em}.mat-mdc-form-field-error{display:block}.mat-mdc-form-field-focus-overlay{top:0;left:0;right:0;bottom:0;position:absolute;opacity:0;pointer-events:none}select.mat-mdc-form-field-input-control{-moz-appearance:none;-webkit-appearance:none;background-color:rgba(0,0,0,0);display:inline-flex;box-sizing:border-box}select.mat-mdc-form-field-input-control:not(:disabled){cursor:pointer}.mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-infix::after{content:"";width:0;height:0;border-left:5px solid rgba(0,0,0,0);border-right:5px solid rgba(0,0,0,0);border-top:5px solid;position:absolute;right:0;top:50%;margin-top:-2.5px;pointer-events:none}[dir=rtl] .mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-infix::after{right:auto;left:0}.mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-input-control{padding-right:15px}[dir=rtl] .mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-input-control{padding-right:0;padding-left:15px}.cdk-high-contrast-active .mat-form-field-appearance-fill .mat-mdc-text-field-wrapper{outline:solid 1px}.cdk-high-contrast-active .mat-form-field-appearance-fill.mat-form-field-disabled .mat-mdc-text-field-wrapper{outline-color:GrayText}.cdk-high-contrast-active .mat-form-field-appearance-fill.mat-focused .mat-mdc-text-field-wrapper{outline:dashed 3px}.cdk-high-contrast-active .mat-mdc-form-field.mat-focused .mdc-notched-outline{border:dashed 3px}.mat-mdc-form-field-input-control[type=date],.mat-mdc-form-field-input-control[type=datetime],.mat-mdc-form-field-input-control[type=datetime-local],.mat-mdc-form-field-input-control[type=month],.mat-mdc-form-field-input-control[type=week],.mat-mdc-form-field-input-control[type=time]{line-height:1}.mat-mdc-form-field-input-control::-webkit-datetime-edit{line-height:1;padding:0;margin-bottom:-2px}.mat-mdc-form-field{--mat-mdc-form-field-floating-label-scale: 0.75;display:inline-flex;flex-direction:column;min-width:0;text-align:left;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--mat-form-field-container-text-font);line-height:var(--mat-form-field-container-text-line-height);font-size:var(--mat-form-field-container-text-size);letter-spacing:var(--mat-form-field-container-text-tracking);font-weight:var(--mat-form-field-container-text-weight)}[dir=rtl] .mat-mdc-form-field{text-align:right}.mat-mdc-form-field .mdc-text-field--outlined .mdc-floating-label--float-above{font-size:calc(var(--mat-form-field-outlined-label-text-populated-size) * var(--mat-mdc-form-field-floating-label-scale))}.mat-mdc-form-field .mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:var(--mat-form-field-outlined-label-text-populated-size)}.mat-mdc-form-field-flex{display:inline-flex;align-items:baseline;box-sizing:border-box;width:100%}.mat-mdc-text-field-wrapper{width:100%}.mat-mdc-form-field-icon-prefix,.mat-mdc-form-field-icon-suffix{align-self:center;line-height:0;pointer-events:auto;position:relative;z-index:1}.mat-mdc-form-field-icon-prefix,[dir=rtl] .mat-mdc-form-field-icon-suffix{padding:0 4px 0 0}.mat-mdc-form-field-icon-suffix,[dir=rtl] .mat-mdc-form-field-icon-prefix{padding:0 0 0 4px}.mat-mdc-form-field-icon-prefix>.mat-icon,.mat-mdc-form-field-icon-suffix>.mat-icon{padding:12px;box-sizing:content-box}.mat-mdc-form-field-subscript-wrapper .mat-icon,.mat-mdc-form-field label .mat-icon{width:1em;height:1em;font-size:inherit}.mat-mdc-form-field-infix{flex:auto;min-width:0;width:180px;position:relative;box-sizing:border-box}.mat-mdc-form-field .mdc-notched-outline__notch{margin-left:-1px;-webkit-clip-path:inset(-9em -999em -9em 1px);clip-path:inset(-9em -999em -9em 1px)}[dir=rtl] .mat-mdc-form-field .mdc-notched-outline__notch{margin-left:0;margin-right:-1px;-webkit-clip-path:inset(-9em 1px -9em -999em);clip-path:inset(-9em 1px -9em -999em)}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input{transition:opacity 150ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}@media all{.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input::placeholder{transition:opacity 67ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}}@media all{.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input:-ms-input-placeholder{transition:opacity 67ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}}@media all{.mdc-text-field--no-label .mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input::placeholder,.mdc-text-field--focused .mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input::placeholder{transition-delay:40ms;transition-duration:110ms}}@media all{.mdc-text-field--no-label .mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input:-ms-input-placeholder,.mdc-text-field--focused .mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input:-ms-input-placeholder{transition-delay:40ms;transition-duration:110ms}}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__affix{transition:opacity 150ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--filled.mdc-ripple-upgraded--background-focused .mdc-text-field__ripple::before,.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--filled:not(.mdc-ripple-upgraded):focus .mdc-text-field__ripple::before{transition-duration:75ms}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--outlined .mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-text-field-outlined 250ms 1}@keyframes mdc-floating-label-shake-float-above-text-field-outlined{0%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 34.75px)) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 0%)) translateY(calc(0% - 34.75px)) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - 0%)) translateY(calc(0% - 34.75px)) scale(0.75)}100%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 34.75px)) scale(0.75)}}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--textarea{transition:none}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--textarea.mdc-text-field--filled .mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-textarea-filled 250ms 1}@keyframes mdc-floating-label-shake-float-above-textarea-filled{0%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 10.25px)) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 0%)) translateY(calc(0% - 10.25px)) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - 0%)) translateY(calc(0% - 10.25px)) scale(0.75)}100%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 10.25px)) scale(0.75)}}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--textarea.mdc-text-field--outlined .mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-textarea-outlined 250ms 1}@keyframes mdc-floating-label-shake-float-above-textarea-outlined{0%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 24.75px)) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 0%)) translateY(calc(0% - 24.75px)) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - 0%)) translateY(calc(0% - 24.75px)) scale(0.75)}100%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 24.75px)) scale(0.75)}}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-text-field-outlined-leading-icon 250ms 1}@keyframes mdc-floating-label-shake-float-above-text-field-outlined-leading-icon{0%{transform:translateX(calc(0% - 32px)) translateY(calc(0% - 34.75px)) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 32px)) translateY(calc(0% - 34.75px)) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - 32px)) translateY(calc(0% - 34.75px)) scale(0.75)}100%{transform:translateX(calc(0% - 32px)) translateY(calc(0% - 34.75px)) scale(0.75)}}[dir=rtl] .mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--shake,.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--with-leading-icon.mdc-text-field--outlined[dir=rtl] .mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-text-field-outlined-leading-icon 250ms 1}@keyframes mdc-floating-label-shake-float-above-text-field-outlined-leading-icon-rtl{0%{transform:translateX(calc(0% - -32px)) translateY(calc(0% - 34.75px)) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - -32px)) translateY(calc(0% - 34.75px)) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - -32px)) translateY(calc(0% - 34.75px)) scale(0.75)}100%{transform:translateX(calc(0% - -32px)) translateY(calc(0% - 34.75px)) scale(0.75)}}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-floating-label{transition:transform 150ms cubic-bezier(0.4, 0, 0.2, 1),color 150ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-standard 250ms 1}@keyframes mdc-floating-label-shake-float-above-standard{0%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 106%)) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 0%)) translateY(calc(0% - 106%)) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - 0%)) translateY(calc(0% - 106%)) scale(0.75)}100%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 106%)) scale(0.75)}}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-line-ripple::after{transition:transform 180ms cubic-bezier(0.4, 0, 0.2, 1),opacity 180ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-notched-outline .mdc-floating-label{max-width:calc(100% + 1px)}.mdc-notched-outline--upgraded .mdc-floating-label--float-above{max-width:calc(133.3333333333% + 1px)}'],encapsulation:2,data:{animation:[st.transitionMessages]},changeDetection:0})}}return fe})(),hn=(()=>{class fe{static{this.\u0275fac=function(jt){return new(jt||fe)}}static{this.\u0275mod=o.$C({type:fe})}static{this.\u0275inj=o.G2t({imports:[bt.yE,j.MD,J.w5,bt.yE]})}}return fe})()},453:(Ce,Lt,r)=>{r.d(Lt,{fg:()=>Gt,fS:()=>te});var o=r(8275),y=r(29094),b=r(1843),T=r(33697),k=r(89115);const G=(0,y.BQ)({passive:!0});let P=(()=>{class ${constructor(V,mt){this._platform=V,this._ngZone=mt,this._monitoredElements=new Map}monitor(V){if(!this._platform.isBrowser)return T.w;const mt=(0,o.i8)(V),rt=this._monitoredElements.get(mt);if(rt)return rt.subject;const $t=new k.B,de="cdk-text-field-autofilled",_e=Le=>{"cdk-text-field-autofill-start"!==Le.animationName||mt.classList.contains(de)?"cdk-text-field-autofill-end"===Le.animationName&&mt.classList.contains(de)&&(mt.classList.remove(de),this._ngZone.run(()=>$t.next({target:Le.target,isAutofilled:!1}))):(mt.classList.add(de),this._ngZone.run(()=>$t.next({target:Le.target,isAutofilled:!0})))};return this._ngZone.runOutsideAngular(()=>{mt.addEventListener("animationstart",_e,G),mt.classList.add("cdk-text-field-autofill-monitored")}),this._monitoredElements.set(mt,{subject:$t,unlisten:()=>{mt.removeEventListener("animationstart",_e,G)}}),$t}stopMonitoring(V){const mt=(0,o.i8)(V),rt=this._monitoredElements.get(mt);rt&&(rt.unlisten(),rt.subject.complete(),mt.classList.remove("cdk-text-field-autofill-monitored"),mt.classList.remove("cdk-text-field-autofilled"),this._monitoredElements.delete(mt))}ngOnDestroy(){this._monitoredElements.forEach((V,mt)=>this.stopMonitoring(mt))}static{this.\u0275fac=function(mt){return new(mt||$)(b.KVO(y.OD),b.KVO(b.SKi))}}static{this.\u0275prov=b.jDH({token:$,factory:$.\u0275fac,providedIn:"root"})}}return $})(),ot=(()=>{class ${static{this.\u0275fac=function(mt){return new(mt||$)}}static{this.\u0275mod=b.$C({type:$})}static{this.\u0275inj=b.G2t({})}}return $})();var q=r(78227),K=r(42250),M=r(54688);const pt=new b.nKC("MAT_INPUT_VALUE_ACCESSOR"),j=["button","checkbox","file","hidden","image","radio","range","reset","submit"];let J=0;const bt=(0,K.J8)(class{constructor($,lt,V,mt){this._defaultErrorStateMatcher=$,this._parentForm=lt,this._parentFormGroup=V,this.ngControl=mt,this.stateChanges=new k.B}});let Gt=(()=>{class $ extends bt{get disabled(){return this._disabled}set disabled(V){this._disabled=(0,o.he)(V),this.focused&&(this.focused=!1,this.stateChanges.next())}get id(){return this._id}set id(V){this._id=V||this._uid}get required(){return this._required??this.ngControl?.control?.hasValidator(q.k0.required)??!1}set required(V){this._required=(0,o.he)(V)}get type(){return this._type}set type(V){this._type=V||"text",this._validateType(),!this._isTextarea&&(0,y.MU)().has(this._type)&&(this._elementRef.nativeElement.type=this._type)}get value(){return this._inputValueAccessor.value}set value(V){V!==this.value&&(this._inputValueAccessor.value=V,this.stateChanges.next())}get readonly(){return this._readonly}set readonly(V){this._readonly=(0,o.he)(V)}constructor(V,mt,rt,$t,de,_e,Le,Ge,Xe,ye){super(_e,$t,de,rt),this._elementRef=V,this._platform=mt,this._autofillMonitor=Ge,this._formField=ye,this._uid="mat-input-"+J++,this.focused=!1,this.stateChanges=new k.B,this.controlType="mat-input",this.autofilled=!1,this._disabled=!1,this._type="text",this._readonly=!1,this._neverEmptyInputTypes=["date","datetime","datetime-local","month","time","week"].filter(Qe=>(0,y.MU)().has(Qe)),this._iOSKeyupListener=Qe=>{const be=Qe.target;!be.value&&0===be.selectionStart&&0===be.selectionEnd&&(be.setSelectionRange(1,1),be.setSelectionRange(0,0))};const Ve=this._elementRef.nativeElement,Oe=Ve.nodeName.toLowerCase();this._inputValueAccessor=Le||Ve,this._previousNativeValue=this.value,this.id=this.id,mt.IOS&&Xe.runOutsideAngular(()=>{V.nativeElement.addEventListener("keyup",this._iOSKeyupListener)}),this._isServer=!this._platform.isBrowser,this._isNativeSelect="select"===Oe,this._isTextarea="textarea"===Oe,this._isInFormField=!!ye,this._isNativeSelect&&(this.controlType=Ve.multiple?"mat-native-select-multiple":"mat-native-select")}ngAfterViewInit(){this._platform.isBrowser&&this._autofillMonitor.monitor(this._elementRef.nativeElement).subscribe(V=>{this.autofilled=V.isAutofilled,this.stateChanges.next()})}ngOnChanges(){this.stateChanges.next()}ngOnDestroy(){this.stateChanges.complete(),this._platform.isBrowser&&this._autofillMonitor.stopMonitoring(this._elementRef.nativeElement),this._platform.IOS&&this._elementRef.nativeElement.removeEventListener("keyup",this._iOSKeyupListener)}ngDoCheck(){this.ngControl&&(this.updateErrorState(),null!==this.ngControl.disabled&&this.ngControl.disabled!==this.disabled&&(this.disabled=this.ngControl.disabled,this.stateChanges.next())),this._dirtyCheckNativeValue(),this._dirtyCheckPlaceholder()}focus(V){this._elementRef.nativeElement.focus(V)}_focusChanged(V){V!==this.focused&&(this.focused=V,this.stateChanges.next())}_onInput(){}_dirtyCheckNativeValue(){const V=this._elementRef.nativeElement.value;this._previousNativeValue!==V&&(this._previousNativeValue=V,this.stateChanges.next())}_dirtyCheckPlaceholder(){const V=this._getPlaceholder();if(V!==this._previousPlaceholder){const mt=this._elementRef.nativeElement;this._previousPlaceholder=V,V?mt.setAttribute("placeholder",V):mt.removeAttribute("placeholder")}}_getPlaceholder(){return this.placeholder||null}_validateType(){j.indexOf(this._type)}_isNeverEmpty(){return this._neverEmptyInputTypes.indexOf(this._type)>-1}_isBadInput(){let V=this._elementRef.nativeElement.validity;return V&&V.badInput}get empty(){return!(this._isNeverEmpty()||this._elementRef.nativeElement.value||this._isBadInput()||this.autofilled)}get shouldLabelFloat(){if(this._isNativeSelect){const V=this._elementRef.nativeElement,mt=V.options[0];return this.focused||V.multiple||!this.empty||!!(V.selectedIndex>-1&&mt&&mt.label)}return this.focused||!this.empty}setDescribedByIds(V){V.length?this._elementRef.nativeElement.setAttribute("aria-describedby",V.join(" ")):this._elementRef.nativeElement.removeAttribute("aria-describedby")}onContainerClick(){this.focused||this.focus()}_isInlineSelect(){const V=this._elementRef.nativeElement;return this._isNativeSelect&&(V.multiple||V.size>1)}static{this.\u0275fac=function(mt){return new(mt||$)(b.rXU(b.aKT),b.rXU(y.OD),b.rXU(q.vO,10),b.rXU(q.cV,8),b.rXU(q.j4,8),b.rXU(K.es),b.rXU(pt,10),b.rXU(P),b.rXU(b.SKi),b.rXU(M.xb,8))}}static{this.\u0275dir=b.FsC({type:$,selectors:[["input","matInput",""],["textarea","matInput",""],["select","matNativeControl",""],["input","matNativeControl",""],["textarea","matNativeControl",""]],hostAttrs:[1,"mat-mdc-input-element"],hostVars:18,hostBindings:function(mt,rt){1&mt&&b.bIt("focus",function(){return rt._focusChanged(!0)})("blur",function(){return rt._focusChanged(!1)})("input",function(){return rt._onInput()}),2&mt&&(b.Mr5("id",rt.id)("disabled",rt.disabled)("required",rt.required),b.BMQ("name",rt.name||null)("readonly",rt.readonly&&!rt._isNativeSelect||null)("aria-invalid",rt.empty&&rt.required?null:rt.errorState)("aria-required",rt.required)("id",rt.id),b.AVh("mat-input-server",rt._isServer)("mat-mdc-form-field-textarea-control",rt._isInFormField&&rt._isTextarea)("mat-mdc-form-field-input-control",rt._isInFormField)("mdc-text-field__input",rt._isInFormField)("mat-mdc-native-select-inline",rt._isInlineSelect()))},inputs:{disabled:"disabled",id:"id",placeholder:"placeholder",name:"name",required:"required",type:"type",errorStateMatcher:"errorStateMatcher",userAriaDescribedBy:["aria-describedby","userAriaDescribedBy"],value:"value",readonly:"readonly"},exportAs:["matInput"],features:[b.Jv_([{provide:M.qT,useExisting:$}]),b.Vt3,b.OA$]})}}return $})(),te=(()=>{class ${static{this.\u0275fac=function(mt){return new(mt||$)}}static{this.\u0275mod=b.$C({type:$})}static{this.\u0275inj=b.G2t({imports:[K.yE,M.RG,M.RG,ot,K.yE]})}}return $})()},85784:(Ce,Lt,r)=>{r.d(Lt,{Fg:()=>zt,YE:()=>re,_L:()=>ne});var o=r(1843),y=r(8275),b=r(29094),T=r(42250),k=r(52693),G=r(85012),Z=(r(89115),r(59332)),N=r(18331),ot=r(7967);r(83607),r(81538),r(25150),r(78227),r(73907);const j=["*"],bt=["unscopedContent"],Gt=["text"],te=[[["","matListItemAvatar",""],["","matListItemIcon",""]],[["","matListItemTitle",""]],[["","matListItemLine",""]],"*",[["","matListItemMeta",""]],[["mat-divider"]]],$=["[matListItemAvatar],[matListItemIcon]","[matListItemTitle]","[matListItemLine]","*","[matListItemMeta]","mat-divider"],Kt=new o.nKC("ListOption");let Nt=(()=>{class vt{constructor(tt){this._elementRef=tt}static{this.\u0275fac=function(X){return new(X||vt)(o.rXU(o.aKT))}}static{this.\u0275dir=o.FsC({type:vt,selectors:[["","matListItemTitle",""]],hostAttrs:[1,"mat-mdc-list-item-title","mdc-list-item__primary-text"]})}}return vt})(),Tt=(()=>{class vt{constructor(tt){this._elementRef=tt}static{this.\u0275fac=function(X){return new(X||vt)(o.rXU(o.aKT))}}static{this.\u0275dir=o.FsC({type:vt,selectors:[["","matListItemLine",""]],hostAttrs:[1,"mat-mdc-list-item-line","mdc-list-item__secondary-text"]})}}return vt})(),Yt=(()=>{class vt{static{this.\u0275fac=function(X){return new(X||vt)}}static{this.\u0275dir=o.FsC({type:vt,selectors:[["","matListItemMeta",""]],hostAttrs:[1,"mat-mdc-list-item-meta","mdc-list-item__end"]})}}return vt})(),Ut=(()=>{class vt{constructor(tt){this._listOption=tt}_isAlignedAtStart(){return!this._listOption||"after"===this._listOption?._getTogglePosition()}static{this.\u0275fac=function(X){return new(X||vt)(o.rXU(Kt,8))}}static{this.\u0275dir=o.FsC({type:vt,hostVars:4,hostBindings:function(X,ft){2&X&&o.AVh("mdc-list-item__start",ft._isAlignedAtStart())("mdc-list-item__end",!ft._isAlignedAtStart())}})}}return vt})(),Ne=(()=>{class vt extends Ut{static{this.\u0275fac=function(){let tt;return function(ft){return(tt||(tt=o.xGo(vt)))(ft||vt)}}()}static{this.\u0275dir=o.FsC({type:vt,selectors:[["","matListItemAvatar",""]],hostAttrs:[1,"mat-mdc-list-item-avatar"],features:[o.Vt3]})}}return vt})(),ke=(()=>{class vt extends Ut{static{this.\u0275fac=function(){let tt;return function(ft){return(tt||(tt=o.xGo(vt)))(ft||vt)}}()}static{this.\u0275dir=o.FsC({type:vt,selectors:[["","matListItemIcon",""]],hostAttrs:[1,"mat-mdc-list-item-icon"],features:[o.Vt3]})}}return vt})();const un=new o.nKC("MAT_LIST_CONFIG");let gt=(()=>{class vt{constructor(){this._isNonInteractive=!0,this._disableRipple=!1,this._disabled=!1,this._defaultOptions=(0,o.WQX)(un,{optional:!0})}get disableRipple(){return this._disableRipple}set disableRipple(tt){this._disableRipple=(0,y.he)(tt)}get disabled(){return this._disabled}set disabled(tt){this._disabled=(0,y.he)(tt)}static{this.\u0275fac=function(X){return new(X||vt)}}static{this.\u0275dir=o.FsC({type:vt,hostVars:1,hostBindings:function(X,ft){2&X&&o.BMQ("aria-disabled",ft.disabled)},inputs:{disableRipple:"disableRipple",disabled:"disabled"}})}}return vt})(),le=(()=>{class vt{set lines(tt){this._explicitLines=(0,y.OE)(tt,null),this._updateItemLines(!1)}get disableRipple(){return this.disabled||this._disableRipple||this._noopAnimations||!!this._listBase?.disableRipple}set disableRipple(tt){this._disableRipple=(0,y.he)(tt)}get disabled(){return this._disabled||!!this._listBase?.disabled}set disabled(tt){this._disabled=(0,y.he)(tt)}get rippleDisabled(){return this.disableRipple||!!this.rippleConfig.disabled}constructor(tt,X,ft,Ot,xe,Te){this._elementRef=tt,this._ngZone=X,this._listBase=ft,this._platform=Ot,this._explicitLines=null,this._disableRipple=!1,this._disabled=!1,this._subscriptions=new k.yU,this._rippleRenderer=null,this._hasUnscopedTextContent=!1,this.rippleConfig=xe||{},this._hostElement=this._elementRef.nativeElement,this._isButtonElement="button"===this._hostElement.nodeName.toLowerCase(),this._noopAnimations="NoopAnimations"===Te,ft&&!ft._isNonInteractive&&this._initInteractiveListItem(),this._isButtonElement&&!this._hostElement.hasAttribute("type")&&this._hostElement.setAttribute("type","button")}ngAfterViewInit(){this._monitorProjectedLinesAndTitle(),this._updateItemLines(!0)}ngOnDestroy(){this._subscriptions.unsubscribe(),null!==this._rippleRenderer&&this._rippleRenderer._removeTriggerEvents()}_hasIconOrAvatar(){return!(!this._avatars.length&&!this._icons.length)}_initInteractiveListItem(){this._hostElement.classList.add("mat-mdc-list-item-interactive"),this._rippleRenderer=new T.ug(this,this._ngZone,this._hostElement,this._platform),this._rippleRenderer.setupTriggerEvents(this._hostElement)}_monitorProjectedLinesAndTitle(){this._ngZone.runOutsideAngular(()=>{this._subscriptions.add((0,G.h)(this._lines.changes,this._titles.changes).subscribe(()=>this._updateItemLines(!1)))})}_updateItemLines(tt){if(!this._lines||!this._titles||!this._unscopedContent)return;tt&&this._checkDomForUnscopedTextContent();const X=this._explicitLines??this._inferLinesFromContent(),ft=this._unscopedContent.nativeElement;if(this._hostElement.classList.toggle("mat-mdc-list-item-single-line",X<=1),this._hostElement.classList.toggle("mdc-list-item--with-one-line",X<=1),this._hostElement.classList.toggle("mdc-list-item--with-two-lines",2===X),this._hostElement.classList.toggle("mdc-list-item--with-three-lines",3===X),this._hasUnscopedTextContent){const Ot=0===this._titles.length&&1===X;ft.classList.toggle("mdc-list-item__primary-text",Ot),ft.classList.toggle("mdc-list-item__secondary-text",!Ot)}else ft.classList.remove("mdc-list-item__primary-text"),ft.classList.remove("mdc-list-item__secondary-text")}_inferLinesFromContent(){let tt=this._titles.length+this._lines.length;return this._hasUnscopedTextContent&&(tt+=1),tt}_checkDomForUnscopedTextContent(){this._hasUnscopedTextContent=Array.from(this._unscopedContent.nativeElement.childNodes).filter(tt=>tt.nodeType!==tt.COMMENT_NODE).some(tt=>!(!tt.textContent||!tt.textContent.trim()))}static{this.\u0275fac=function(X){return new(X||vt)(o.rXU(o.aKT),o.rXU(o.SKi),o.rXU(gt,8),o.rXU(b.OD),o.rXU(T.$E,8),o.rXU(o.bc$,8))}}static{this.\u0275dir=o.FsC({type:vt,contentQueries:function(X,ft,Ot){if(1&X&&(o.wni(Ot,Ne,4),o.wni(Ot,ke,4)),2&X){let xe;o.mGM(xe=o.lsd())&&(ft._avatars=xe),o.mGM(xe=o.lsd())&&(ft._icons=xe)}},hostVars:4,hostBindings:function(X,ft){2&X&&(o.BMQ("aria-disabled",ft.disabled)("disabled",ft._isButtonElement&&ft.disabled||null),o.AVh("mdc-list-item--disabled",ft.disabled))},inputs:{lines:"lines",disableRipple:"disableRipple",disabled:"disabled"}})}}return vt})(),re=(()=>{class vt extends le{get activated(){return this._activated}set activated(tt){this._activated=(0,y.he)(tt)}constructor(tt,X,ft,Ot,xe,Te){super(tt,X,ft,Ot,xe,Te),this._activated=!1}_getAriaCurrent(){return"A"===this._hostElement.nodeName&&this._activated?"page":null}static{this.\u0275fac=function(X){return new(X||vt)(o.rXU(o.aKT),o.rXU(o.SKi),o.rXU(gt,8),o.rXU(b.OD),o.rXU(T.$E,8),o.rXU(o.bc$,8))}}static{this.\u0275cmp=o.VBU({type:vt,selectors:[["mat-list-item"],["a","mat-list-item",""],["button","mat-list-item",""]],contentQueries:function(X,ft,Ot){if(1&X&&(o.wni(Ot,Tt,5),o.wni(Ot,Nt,5),o.wni(Ot,Yt,5)),2&X){let xe;o.mGM(xe=o.lsd())&&(ft._lines=xe),o.mGM(xe=o.lsd())&&(ft._titles=xe),o.mGM(xe=o.lsd())&&(ft._meta=xe)}},viewQuery:function(X,ft){if(1&X&&(o.GBs(bt,5),o.GBs(Gt,5)),2&X){let Ot;o.mGM(Ot=o.lsd())&&(ft._unscopedContent=Ot.first),o.mGM(Ot=o.lsd())&&(ft._itemText=Ot.first)}},hostAttrs:[1,"mat-mdc-list-item","mdc-list-item"],hostVars:11,hostBindings:function(X,ft){2&X&&(o.BMQ("aria-current",ft._getAriaCurrent()),o.AVh("mdc-list-item--activated",ft.activated)("mdc-list-item--with-leading-avatar",0!==ft._avatars.length)("mdc-list-item--with-leading-icon",0!==ft._icons.length)("mdc-list-item--with-trailing-meta",0!==ft._meta.length)("_mat-animation-noopable",ft._noopAnimations))},inputs:{activated:"activated"},exportAs:["matListItem"],features:[o.Vt3],ngContentSelectors:$,decls:10,vars:0,consts:[[1,"mdc-list-item__content"],[1,"mat-mdc-list-item-unscoped-content",3,"cdkObserveContent"],["unscopedContent",""],[1,"mat-mdc-focus-indicator"]],template:function(X,ft){1&X&&(o.NAR(te),o.SdG(0),o.j41(1,"span",0),o.SdG(2,1),o.SdG(3,2),o.j41(4,"span",1,2),o.bIt("cdkObserveContent",function(){return ft._updateItemLines(!0)}),o.SdG(6,3),o.k0s()(),o.SdG(7,4),o.SdG(8,5),o.nrm(9,"div",3))},dependencies:[Z.Wv],encapsulation:2,changeDetection:0})}}return vt})(),ne=(()=>{class vt extends gt{constructor(){super(...arguments),this._isNonInteractive=!1}static{this.\u0275fac=function(){let tt;return function(ft){return(tt||(tt=o.xGo(vt)))(ft||vt)}}()}static{this.\u0275cmp=o.VBU({type:vt,selectors:[["mat-nav-list"]],hostAttrs:["role","navigation",1,"mat-mdc-nav-list","mat-mdc-list-base","mdc-list"],exportAs:["matNavList"],features:[o.Jv_([{provide:gt,useExisting:vt}]),o.Vt3],ngContentSelectors:j,decls:1,vars:0,template:function(X,ft){1&X&&(o.NAR(),o.SdG(0))},styles:['@media screen and (forced-colors: active),(-ms-high-contrast: active){.mdc-list-divider::after{content:"";display:block;border-bottom-width:1px;border-bottom-style:solid}}.mdc-list{margin:0;padding:8px 0;list-style-type:none}.mdc-list:focus{outline:none}.mdc-list-item__wrapper{display:block}.mdc-list-item{display:flex;position:relative;align-items:center;justify-content:flex-start;overflow:hidden;padding:0;align-items:stretch;cursor:pointer}.mdc-list-item:focus{outline:none}.mdc-list-item.mdc-list-item--with-one-line{height:48px}.mdc-list-item.mdc-list-item--with-two-lines{height:64px}.mdc-list-item.mdc-list-item--with-three-lines{height:88px}.mdc-list-item.mdc-list-item--with-one-line .mdc-list-item__start{align-self:center;margin-top:0}.mdc-list-item.mdc-list-item--with-two-lines .mdc-list-item__start{align-self:flex-start;margin-top:16px}.mdc-list-item.mdc-list-item--with-three-lines .mdc-list-item__start{align-self:flex-start;margin-top:16px}.mdc-list-item.mdc-list-item--with-one-line .mdc-list-item__end{align-self:center;margin-top:0}.mdc-list-item.mdc-list-item--with-two-lines .mdc-list-item__end{align-self:center;margin-top:0}.mdc-list-item.mdc-list-item--with-three-lines .mdc-list-item__end{align-self:flex-start;margin-top:16px}.mdc-list-item.mdc-list-item--disabled,.mdc-list-item.mdc-list-item--non-interactive{cursor:auto}.mdc-list-item:not(.mdc-list-item--selected):focus::before,.mdc-list-item.mdc-ripple-upgraded--background-focused::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:1px solid rgba(0,0,0,0);border-radius:inherit;content:"";pointer-events:none}@media screen and (forced-colors: active){.mdc-list-item:not(.mdc-list-item--selected):focus::before,.mdc-list-item.mdc-ripple-upgraded--background-focused::before{border-color:CanvasText}}.mdc-list-item.mdc-list-item--selected::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:3px double rgba(0,0,0,0);border-radius:inherit;content:"";pointer-events:none}@media screen and (forced-colors: active){.mdc-list-item.mdc-list-item--selected::before{border-color:CanvasText}}.mdc-list-item.mdc-list-item--selected:focus::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:3px solid rgba(0,0,0,0);border-radius:inherit;content:"";pointer-events:none}@media screen and (forced-colors: active){.mdc-list-item.mdc-list-item--selected:focus::before{border-color:CanvasText}}a.mdc-list-item{color:inherit;text-decoration:none}.mdc-list-item__start{fill:currentColor;flex-shrink:0;pointer-events:none}.mdc-list-item__end{flex-shrink:0;pointer-events:none}.mdc-list-item__content{text-overflow:ellipsis;white-space:nowrap;overflow:hidden;align-self:center;flex:1;pointer-events:none}.mdc-list-item--with-two-lines .mdc-list-item__content,.mdc-list-item--with-three-lines .mdc-list-item__content{align-self:stretch}.mdc-list-item__content[for]{pointer-events:none}.mdc-list-item__primary-text{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.mdc-list-item--with-two-lines .mdc-list-item__primary-text,.mdc-list-item--with-three-lines .mdc-list-item__primary-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before,.mdc-list-item--with-three-lines .mdc-list-item__primary-text::before{display:inline-block;width:0;height:28px;content:"";vertical-align:0}.mdc-list-item--with-two-lines .mdc-list-item__primary-text::after,.mdc-list-item--with-three-lines .mdc-list-item__primary-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item__secondary-text{text-overflow:ellipsis;white-space:nowrap;overflow:hidden;display:block;margin-top:0;line-height:normal}.mdc-list-item__secondary-text::before{display:inline-block;width:0;height:20px;content:"";vertical-align:0}.mdc-list-item--with-three-lines .mdc-list-item__secondary-text{white-space:normal;line-height:20px}.mdc-list-item--with-overline .mdc-list-item__secondary-text{white-space:nowrap;line-height:auto}.mdc-list-item__overline-text{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.mdc-list-item--with-two-lines .mdc-list-item__overline-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-two-lines .mdc-list-item__overline-text::before{display:inline-block;width:0;height:24px;content:"";vertical-align:0}.mdc-list-item--with-two-lines .mdc-list-item__overline-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-three-lines .mdc-list-item__overline-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-three-lines .mdc-list-item__overline-text::before{display:inline-block;width:0;height:28px;content:"";vertical-align:0}.mdc-list-item--with-three-lines .mdc-list-item__overline-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-leading-avatar.mdc-list-item{padding-left:0;padding-right:auto}[dir=rtl] .mdc-list-item--with-leading-avatar.mdc-list-item,.mdc-list-item--with-leading-avatar.mdc-list-item[dir=rtl]{padding-left:auto;padding-right:0}.mdc-list-item--with-leading-avatar .mdc-list-item__start{margin-left:16px;margin-right:16px}[dir=rtl] .mdc-list-item--with-leading-avatar .mdc-list-item__start,.mdc-list-item--with-leading-avatar .mdc-list-item__start[dir=rtl]{margin-left:16px;margin-right:16px}.mdc-list-item--with-leading-avatar.mdc-list-item--with-two-lines .mdc-list-item__primary-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-avatar.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mdc-list-item--with-leading-avatar.mdc-list-item--with-two-lines .mdc-list-item__primary-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-leading-avatar.mdc-list-item--with-two-lines .mdc-list-item__overline-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-avatar.mdc-list-item--with-two-lines .mdc-list-item__overline-text::before{display:inline-block;width:0;height:28px;content:"";vertical-align:0}.mdc-list-item--with-leading-avatar.mdc-list-item--with-two-lines .mdc-list-item__overline-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-leading-avatar.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end{display:block;margin-top:0;line-height:normal}.mdc-list-item--with-leading-avatar.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mdc-list-item--with-leading-avatar.mdc-list-item--with-one-line{height:56px}.mdc-list-item--with-leading-avatar.mdc-list-item--with-two-lines{height:72px}.mdc-list-item--with-leading-avatar .mdc-list-item__start{border-radius:50%}.mdc-list-item--with-leading-icon.mdc-list-item{padding-left:0;padding-right:auto}[dir=rtl] .mdc-list-item--with-leading-icon.mdc-list-item,.mdc-list-item--with-leading-icon.mdc-list-item[dir=rtl]{padding-left:auto;padding-right:0}.mdc-list-item--with-leading-icon .mdc-list-item__start{margin-left:16px;margin-right:32px}[dir=rtl] .mdc-list-item--with-leading-icon .mdc-list-item__start,.mdc-list-item--with-leading-icon .mdc-list-item__start[dir=rtl]{margin-left:32px;margin-right:16px}.mdc-list-item--with-leading-icon.mdc-list-item--with-two-lines .mdc-list-item__primary-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-icon.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mdc-list-item--with-leading-icon.mdc-list-item--with-two-lines .mdc-list-item__primary-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-leading-icon.mdc-list-item--with-two-lines .mdc-list-item__overline-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-icon.mdc-list-item--with-two-lines .mdc-list-item__overline-text::before{display:inline-block;width:0;height:28px;content:"";vertical-align:0}.mdc-list-item--with-leading-icon.mdc-list-item--with-two-lines .mdc-list-item__overline-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-leading-icon.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end{display:block;margin-top:0;line-height:normal}.mdc-list-item--with-leading-icon.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mdc-list-item--with-leading-icon.mdc-list-item--with-one-line{height:56px}.mdc-list-item--with-leading-icon.mdc-list-item--with-two-lines{height:72px}.mdc-list-item--with-leading-thumbnail.mdc-list-item{padding-left:0;padding-right:auto}[dir=rtl] .mdc-list-item--with-leading-thumbnail.mdc-list-item,.mdc-list-item--with-leading-thumbnail.mdc-list-item[dir=rtl]{padding-left:auto;padding-right:0}.mdc-list-item--with-leading-thumbnail .mdc-list-item__start{margin-left:16px;margin-right:16px}[dir=rtl] .mdc-list-item--with-leading-thumbnail .mdc-list-item__start,.mdc-list-item--with-leading-thumbnail .mdc-list-item__start[dir=rtl]{margin-left:16px;margin-right:16px}.mdc-list-item--with-leading-thumbnail.mdc-list-item--with-two-lines .mdc-list-item__primary-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-thumbnail.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mdc-list-item--with-leading-thumbnail.mdc-list-item--with-two-lines .mdc-list-item__primary-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-leading-thumbnail.mdc-list-item--with-two-lines .mdc-list-item__overline-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-thumbnail.mdc-list-item--with-two-lines .mdc-list-item__overline-text::before{display:inline-block;width:0;height:28px;content:"";vertical-align:0}.mdc-list-item--with-leading-thumbnail.mdc-list-item--with-two-lines .mdc-list-item__overline-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-leading-thumbnail.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end{display:block;margin-top:0;line-height:normal}.mdc-list-item--with-leading-thumbnail.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mdc-list-item--with-leading-thumbnail.mdc-list-item--with-one-line{height:56px}.mdc-list-item--with-leading-thumbnail.mdc-list-item--with-two-lines{height:72px}.mdc-list-item--with-leading-image.mdc-list-item{padding-left:0;padding-right:auto}[dir=rtl] .mdc-list-item--with-leading-image.mdc-list-item,.mdc-list-item--with-leading-image.mdc-list-item[dir=rtl]{padding-left:auto;padding-right:0}.mdc-list-item--with-leading-image .mdc-list-item__start{margin-left:16px;margin-right:16px}[dir=rtl] .mdc-list-item--with-leading-image .mdc-list-item__start,.mdc-list-item--with-leading-image .mdc-list-item__start[dir=rtl]{margin-left:16px;margin-right:16px}.mdc-list-item--with-leading-image.mdc-list-item--with-two-lines .mdc-list-item__primary-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-image.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mdc-list-item--with-leading-image.mdc-list-item--with-two-lines .mdc-list-item__primary-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-leading-image.mdc-list-item--with-two-lines .mdc-list-item__overline-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-image.mdc-list-item--with-two-lines .mdc-list-item__overline-text::before{display:inline-block;width:0;height:28px;content:"";vertical-align:0}.mdc-list-item--with-leading-image.mdc-list-item--with-two-lines .mdc-list-item__overline-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-leading-image.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end{display:block;margin-top:0;line-height:normal}.mdc-list-item--with-leading-image.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mdc-list-item--with-leading-image.mdc-list-item--with-one-line{height:72px}.mdc-list-item--with-leading-image.mdc-list-item--with-two-lines{height:72px}.mdc-list-item--with-leading-video.mdc-list-item--with-two-lines .mdc-list-item__start{align-self:flex-start;margin-top:8px}.mdc-list-item--with-leading-video.mdc-list-item{padding-left:0;padding-right:auto}[dir=rtl] .mdc-list-item--with-leading-video.mdc-list-item,.mdc-list-item--with-leading-video.mdc-list-item[dir=rtl]{padding-left:auto;padding-right:0}.mdc-list-item--with-leading-video .mdc-list-item__start{margin-left:0;margin-right:16px}[dir=rtl] .mdc-list-item--with-leading-video .mdc-list-item__start,.mdc-list-item--with-leading-video .mdc-list-item__start[dir=rtl]{margin-left:16px;margin-right:0}.mdc-list-item--with-leading-video.mdc-list-item--with-two-lines .mdc-list-item__primary-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-video.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mdc-list-item--with-leading-video.mdc-list-item--with-two-lines .mdc-list-item__primary-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-leading-video.mdc-list-item--with-two-lines .mdc-list-item__overline-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-video.mdc-list-item--with-two-lines .mdc-list-item__overline-text::before{display:inline-block;width:0;height:28px;content:"";vertical-align:0}.mdc-list-item--with-leading-video.mdc-list-item--with-two-lines .mdc-list-item__overline-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-leading-video.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end{display:block;margin-top:0;line-height:normal}.mdc-list-item--with-leading-video.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mdc-list-item--with-leading-video.mdc-list-item--with-one-line{height:72px}.mdc-list-item--with-leading-video.mdc-list-item--with-two-lines{height:72px}.mdc-list-item--with-leading-checkbox.mdc-list-item{padding-left:0;padding-right:auto}[dir=rtl] .mdc-list-item--with-leading-checkbox.mdc-list-item,.mdc-list-item--with-leading-checkbox.mdc-list-item[dir=rtl]{padding-left:auto;padding-right:0}.mdc-list-item--with-leading-checkbox .mdc-list-item__start{margin-left:8px;margin-right:24px}[dir=rtl] .mdc-list-item--with-leading-checkbox .mdc-list-item__start,.mdc-list-item--with-leading-checkbox .mdc-list-item__start[dir=rtl]{margin-left:24px;margin-right:8px}.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines .mdc-list-item__start{align-self:flex-start;margin-top:8px}.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines .mdc-list-item__primary-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines .mdc-list-item__primary-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines .mdc-list-item__overline-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines .mdc-list-item__overline-text::before{display:inline-block;width:0;height:28px;content:"";vertical-align:0}.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines .mdc-list-item__overline-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end{display:block;margin-top:0;line-height:normal}.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mdc-list-item--with-leading-checkbox.mdc-list-item--with-one-line{height:56px}.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines{height:72px}.mdc-list-item--with-leading-radio.mdc-list-item{padding-left:0;padding-right:auto}[dir=rtl] .mdc-list-item--with-leading-radio.mdc-list-item,.mdc-list-item--with-leading-radio.mdc-list-item[dir=rtl]{padding-left:auto;padding-right:0}.mdc-list-item--with-leading-radio .mdc-list-item__start{margin-left:8px;margin-right:24px}[dir=rtl] .mdc-list-item--with-leading-radio .mdc-list-item__start,.mdc-list-item--with-leading-radio .mdc-list-item__start[dir=rtl]{margin-left:24px;margin-right:8px}.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines .mdc-list-item__start{align-self:flex-start;margin-top:8px}.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines .mdc-list-item__primary-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines .mdc-list-item__primary-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines .mdc-list-item__overline-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines .mdc-list-item__overline-text::before{display:inline-block;width:0;height:28px;content:"";vertical-align:0}.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines .mdc-list-item__overline-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end{display:block;margin-top:0;line-height:normal}.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mdc-list-item--with-leading-radio.mdc-list-item--with-one-line{height:56px}.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines{height:72px}.mdc-list-item--with-leading-switch.mdc-list-item{padding-left:0;padding-right:auto}[dir=rtl] .mdc-list-item--with-leading-switch.mdc-list-item,.mdc-list-item--with-leading-switch.mdc-list-item[dir=rtl]{padding-left:auto;padding-right:0}.mdc-list-item--with-leading-switch .mdc-list-item__start{margin-left:16px;margin-right:16px}[dir=rtl] .mdc-list-item--with-leading-switch .mdc-list-item__start,.mdc-list-item--with-leading-switch .mdc-list-item__start[dir=rtl]{margin-left:16px;margin-right:16px}.mdc-list-item--with-leading-switch.mdc-list-item--with-two-lines .mdc-list-item__start{align-self:flex-start;margin-top:16px}.mdc-list-item--with-leading-switch.mdc-list-item--with-two-lines .mdc-list-item__primary-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-switch.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mdc-list-item--with-leading-switch.mdc-list-item--with-two-lines .mdc-list-item__primary-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-leading-switch.mdc-list-item--with-two-lines .mdc-list-item__overline-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-switch.mdc-list-item--with-two-lines .mdc-list-item__overline-text::before{display:inline-block;width:0;height:28px;content:"";vertical-align:0}.mdc-list-item--with-leading-switch.mdc-list-item--with-two-lines .mdc-list-item__overline-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-leading-switch.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end{display:block;margin-top:0;line-height:normal}.mdc-list-item--with-leading-switch.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mdc-list-item--with-leading-switch.mdc-list-item--with-one-line{height:56px}.mdc-list-item--with-leading-switch.mdc-list-item--with-two-lines{height:72px}.mdc-list-item--with-trailing-icon.mdc-list-item{padding-left:auto;padding-right:0}[dir=rtl] .mdc-list-item--with-trailing-icon.mdc-list-item,.mdc-list-item--with-trailing-icon.mdc-list-item[dir=rtl]{padding-left:0;padding-right:auto}.mdc-list-item--with-trailing-icon .mdc-list-item__end{margin-left:16px;margin-right:16px}[dir=rtl] .mdc-list-item--with-trailing-icon .mdc-list-item__end,.mdc-list-item--with-trailing-icon .mdc-list-item__end[dir=rtl]{margin-left:16px;margin-right:16px}.mdc-list-item--with-trailing-meta.mdc-list-item--with-two-lines .mdc-list-item__end{align-self:flex-start;margin-top:0}.mdc-list-item--with-trailing-meta.mdc-list-item--with-three-lines .mdc-list-item__end{align-self:flex-start;margin-top:0}.mdc-list-item--with-trailing-meta.mdc-list-item{padding-left:auto;padding-right:0}[dir=rtl] .mdc-list-item--with-trailing-meta.mdc-list-item,.mdc-list-item--with-trailing-meta.mdc-list-item[dir=rtl]{padding-left:0;padding-right:auto}.mdc-list-item--with-trailing-meta .mdc-list-item__end{margin-left:28px;margin-right:16px}[dir=rtl] .mdc-list-item--with-trailing-meta .mdc-list-item__end,.mdc-list-item--with-trailing-meta .mdc-list-item__end[dir=rtl]{margin-left:16px;margin-right:28px}.mdc-list-item--with-trailing-meta.mdc-list-item--with-two-lines .mdc-list-item__end{display:block;margin-top:0;line-height:normal}.mdc-list-item--with-trailing-meta.mdc-list-item--with-two-lines .mdc-list-item__end::before{display:inline-block;width:0;height:28px;content:"";vertical-align:0}.mdc-list-item--with-trailing-meta.mdc-list-item--with-three-lines .mdc-list-item__end{display:block;margin-top:0;line-height:normal}.mdc-list-item--with-trailing-meta.mdc-list-item--with-three-lines .mdc-list-item__end::before{display:inline-block;width:0;height:28px;content:"";vertical-align:0}.mdc-list-item--with-trailing-meta .mdc-list-item__end{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--mdc-typography-caption-font-family);font-size:var(--mdc-typography-caption-font-size);line-height:var(--mdc-typography-caption-line-height);font-weight:var(--mdc-typography-caption-font-weight);letter-spacing:var(--mdc-typography-caption-letter-spacing);text-decoration:var(--mdc-typography-caption-text-decoration);text-transform:var(--mdc-typography-caption-text-transform)}.mdc-list-item--with-trailing-checkbox.mdc-list-item{padding-left:auto;padding-right:0}[dir=rtl] .mdc-list-item--with-trailing-checkbox.mdc-list-item,.mdc-list-item--with-trailing-checkbox.mdc-list-item[dir=rtl]{padding-left:0;padding-right:auto}.mdc-list-item--with-trailing-checkbox .mdc-list-item__end{margin-left:24px;margin-right:8px}[dir=rtl] .mdc-list-item--with-trailing-checkbox .mdc-list-item__end,.mdc-list-item--with-trailing-checkbox .mdc-list-item__end[dir=rtl]{margin-left:8px;margin-right:24px}.mdc-list-item--with-trailing-checkbox.mdc-list-item--with-three-lines .mdc-list-item__end{align-self:flex-start;margin-top:8px}.mdc-list-item--with-trailing-radio.mdc-list-item{padding-left:auto;padding-right:0}[dir=rtl] .mdc-list-item--with-trailing-radio.mdc-list-item,.mdc-list-item--with-trailing-radio.mdc-list-item[dir=rtl]{padding-left:0;padding-right:auto}.mdc-list-item--with-trailing-radio .mdc-list-item__end{margin-left:24px;margin-right:8px}[dir=rtl] .mdc-list-item--with-trailing-radio .mdc-list-item__end,.mdc-list-item--with-trailing-radio .mdc-list-item__end[dir=rtl]{margin-left:8px;margin-right:24px}.mdc-list-item--with-trailing-radio.mdc-list-item--with-three-lines .mdc-list-item__end{align-self:flex-start;margin-top:8px}.mdc-list-item--with-trailing-switch.mdc-list-item{padding-left:auto;padding-right:0}[dir=rtl] .mdc-list-item--with-trailing-switch.mdc-list-item,.mdc-list-item--with-trailing-switch.mdc-list-item[dir=rtl]{padding-left:0;padding-right:auto}.mdc-list-item--with-trailing-switch .mdc-list-item__end{margin-left:16px;margin-right:16px}[dir=rtl] .mdc-list-item--with-trailing-switch .mdc-list-item__end,.mdc-list-item--with-trailing-switch .mdc-list-item__end[dir=rtl]{margin-left:16px;margin-right:16px}.mdc-list-item--with-trailing-switch.mdc-list-item--with-three-lines .mdc-list-item__end{align-self:flex-start;margin-top:16px}.mdc-list-item--with-overline.mdc-list-item--with-two-lines .mdc-list-item__primary-text{display:block;margin-top:0;line-height:normal}.mdc-list-item--with-overline.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before{display:inline-block;width:0;height:20px;content:"";vertical-align:0}.mdc-list-item--with-overline.mdc-list-item--with-three-lines .mdc-list-item__primary-text{display:block;margin-top:0;line-height:normal}.mdc-list-item--with-overline.mdc-list-item--with-three-lines .mdc-list-item__primary-text::before{display:inline-block;width:0;height:20px;content:"";vertical-align:0}.mdc-list-item{padding-left:16px;padding-right:16px}[dir=rtl] .mdc-list-item,.mdc-list-item[dir=rtl]{padding-left:16px;padding-right:16px}.mdc-list-group .mdc-deprecated-list{padding:0}.mdc-list-group__subheader{margin:calc((3rem - 1.5rem)/2) 16px}.mdc-list-divider{padding:0;background-clip:content-box}.mdc-list-divider.mdc-list-divider--with-leading-inset,.mdc-list-divider--with-leading-text.mdc-list-divider--with-leading-inset,.mdc-list-divider--with-leading-icon.mdc-list-divider--with-leading-inset,.mdc-list-divider--with-leading-image.mdc-list-divider--with-leading-inset,.mdc-list-divider--with-leading-thumbnail.mdc-list-divider--with-leading-inset,.mdc-list-divider--with-leading-avatar.mdc-list-divider--with-leading-inset,.mdc-list-divider--with-leading-checkbox.mdc-list-divider--with-leading-inset,.mdc-list-divider--with-leading-switch.mdc-list-divider--with-leading-inset,.mdc-list-divider--with-leading-radio.mdc-list-divider--with-leading-inset{padding-left:16px;padding-right:auto}[dir=rtl] .mdc-list-divider.mdc-list-divider--with-leading-inset,[dir=rtl] .mdc-list-divider--with-leading-text.mdc-list-divider--with-leading-inset,[dir=rtl] .mdc-list-divider--with-leading-icon.mdc-list-divider--with-leading-inset,[dir=rtl] .mdc-list-divider--with-leading-image.mdc-list-divider--with-leading-inset,[dir=rtl] .mdc-list-divider--with-leading-thumbnail.mdc-list-divider--with-leading-inset,[dir=rtl] .mdc-list-divider--with-leading-avatar.mdc-list-divider--with-leading-inset,[dir=rtl] .mdc-list-divider--with-leading-checkbox.mdc-list-divider--with-leading-inset,[dir=rtl] .mdc-list-divider--with-leading-switch.mdc-list-divider--with-leading-inset,[dir=rtl] .mdc-list-divider--with-leading-radio.mdc-list-divider--with-leading-inset,.mdc-list-divider.mdc-list-divider--with-leading-inset[dir=rtl],.mdc-list-divider--with-leading-text.mdc-list-divider--with-leading-inset[dir=rtl],.mdc-list-divider--with-leading-icon.mdc-list-divider--with-leading-inset[dir=rtl],.mdc-list-divider--with-leading-image.mdc-list-divider--with-leading-inset[dir=rtl],.mdc-list-divider--with-leading-thumbnail.mdc-list-divider--with-leading-inset[dir=rtl],.mdc-list-divider--with-leading-avatar.mdc-list-divider--with-leading-inset[dir=rtl],.mdc-list-divider--with-leading-checkbox.mdc-list-divider--with-leading-inset[dir=rtl],.mdc-list-divider--with-leading-switch.mdc-list-divider--with-leading-inset[dir=rtl],.mdc-list-divider--with-leading-radio.mdc-list-divider--with-leading-inset[dir=rtl]{padding-left:auto;padding-right:16px}.mdc-list-divider.mdc-list-divider--with-trailing-inset,.mdc-list-divider--with-leading-text.mdc-list-divider--with-trailing-inset,.mdc-list-divider--with-leading-icon.mdc-list-divider--with-trailing-inset,.mdc-list-divider--with-leading-image.mdc-list-divider--with-trailing-inset,.mdc-list-divider--with-leading-thumbnail.mdc-list-divider--with-trailing-inset,.mdc-list-divider--with-leading-avatar.mdc-list-divider--with-trailing-inset,.mdc-list-divider--with-leading-checkbox.mdc-list-divider--with-trailing-inset,.mdc-list-divider--with-leading-switch.mdc-list-divider--with-trailing-inset,.mdc-list-divider--with-leading-radio.mdc-list-divider--with-trailing-inset{padding-left:auto;padding-right:16px}[dir=rtl] .mdc-list-divider.mdc-list-divider--with-trailing-inset,[dir=rtl] .mdc-list-divider--with-leading-text.mdc-list-divider--with-trailing-inset,[dir=rtl] .mdc-list-divider--with-leading-icon.mdc-list-divider--with-trailing-inset,[dir=rtl] .mdc-list-divider--with-leading-image.mdc-list-divider--with-trailing-inset,[dir=rtl] .mdc-list-divider--with-leading-thumbnail.mdc-list-divider--with-trailing-inset,[dir=rtl] .mdc-list-divider--with-leading-avatar.mdc-list-divider--with-trailing-inset,[dir=rtl] .mdc-list-divider--with-leading-checkbox.mdc-list-divider--with-trailing-inset,[dir=rtl] .mdc-list-divider--with-leading-switch.mdc-list-divider--with-trailing-inset,[dir=rtl] .mdc-list-divider--with-leading-radio.mdc-list-divider--with-trailing-inset,.mdc-list-divider.mdc-list-divider--with-trailing-inset[dir=rtl],.mdc-list-divider--with-leading-text.mdc-list-divider--with-trailing-inset[dir=rtl],.mdc-list-divider--with-leading-icon.mdc-list-divider--with-trailing-inset[dir=rtl],.mdc-list-divider--with-leading-image.mdc-list-divider--with-trailing-inset[dir=rtl],.mdc-list-divider--with-leading-thumbnail.mdc-list-divider--with-trailing-inset[dir=rtl],.mdc-list-divider--with-leading-avatar.mdc-list-divider--with-trailing-inset[dir=rtl],.mdc-list-divider--with-leading-checkbox.mdc-list-divider--with-trailing-inset[dir=rtl],.mdc-list-divider--with-leading-switch.mdc-list-divider--with-trailing-inset[dir=rtl],.mdc-list-divider--with-leading-radio.mdc-list-divider--with-trailing-inset[dir=rtl]{padding-left:16px;padding-right:auto}.mdc-list-divider--with-leading-video.mdc-list-divider--with-leading-inset{padding-left:0px;padding-right:auto}[dir=rtl] .mdc-list-divider--with-leading-video.mdc-list-divider--with-leading-inset,.mdc-list-divider--with-leading-video.mdc-list-divider--with-leading-inset[dir=rtl]{padding-left:auto;padding-right:0px}[dir=rtl] .mdc-list-divider,.mdc-list-divider[dir=rtl]{padding:0}.mdc-list-item{background-color:var(--mdc-list-list-item-container-color)}.mdc-list-item.mdc-list-item--selected{background-color:var(--mdc-list-list-item-selected-container-color)}.mdc-list-item--with-one-line{border-radius:var(--mdc-list-list-item-container-shape)}.mdc-list-item--with-one-line.mdc-list-item--with-leading-avatar,.mdc-list-item--with-one-line.mdc-list-item--with-leading-icon,.mdc-list-item--with-one-line.mdc-list-item--with-leading-thumbnail,.mdc-list-item--with-one-line.mdc-list-item--with-leading-checkbox,.mdc-list-item--with-one-line.mdc-list-item--with-leading-radio,.mdc-list-item--with-one-line.mdc-list-item--with-leading-switch{border-radius:var(--mdc-list-list-item-container-shape)}.mdc-list-item--with-one-line.mdc-list-item--with-leading-image,.mdc-list-item--with-one-line.mdc-list-item--with-leading-video{border-radius:var(--mdc-list-list-item-container-shape)}.mdc-list-item--with-two-lines{border-radius:var(--mdc-list-list-item-container-shape)}.mdc-list-item--with-two-lines.mdc-list-item--with-leading-avatar,.mdc-list-item--with-two-lines.mdc-list-item--with-leading-icon,.mdc-list-item--with-two-lines.mdc-list-item--with-leading-thumbnail,.mdc-list-item--with-two-lines.mdc-list-item--with-leading-checkbox,.mdc-list-item--with-two-lines.mdc-list-item--with-leading-radio,.mdc-list-item--with-two-lines.mdc-list-item--with-leading-switch,.mdc-list-item--with-two-lines.mdc-list-item--with-leading-image,.mdc-list-item--with-two-lines.mdc-list-item--with-leading-video{border-radius:var(--mdc-list-list-item-container-shape)}.mdc-list-item--with-three-lines{border-radius:var(--mdc-list-list-item-container-shape)}.mdc-list-item.mdc-list-item--with-one-line{height:var(--mdc-list-list-item-one-line-container-height)}.mdc-list-item.mdc-list-item--with-two-lines{height:var(--mdc-list-list-item-two-line-container-height)}.mdc-list-item.mdc-list-item--with-three-lines{height:var(--mdc-list-list-item-three-line-container-height)}.mdc-list-item__primary-text{color:var(--mdc-list-list-item-label-text-color)}.mdc-list-item__primary-text{font-family:var(--mdc-list-list-item-label-text-font);line-height:var(--mdc-list-list-item-label-text-line-height);font-size:var(--mdc-list-list-item-label-text-size);font-weight:var(--mdc-list-list-item-label-text-weight);letter-spacing:var(--mdc-list-list-item-label-text-tracking)}.mdc-list-item__secondary-text{color:var(--mdc-list-list-item-supporting-text-color)}.mdc-list-item__secondary-text{font-family:var(--mdc-list-list-item-supporting-text-font);line-height:var(--mdc-list-list-item-supporting-text-line-height);font-size:var(--mdc-list-list-item-supporting-text-size);font-weight:var(--mdc-list-list-item-supporting-text-weight);letter-spacing:var(--mdc-list-list-item-supporting-text-tracking)}.mdc-list-item--with-leading-icon .mdc-list-item__start{color:var(--mdc-list-list-item-leading-icon-color)}.mdc-list-item--with-leading-icon .mdc-list-item__start{width:var(--mdc-list-list-item-leading-icon-size);height:var(--mdc-list-list-item-leading-icon-size)}.mdc-list-item--with-leading-icon .mdc-list-item__start>i{font-size:var(--mdc-list-list-item-leading-icon-size)}.mdc-list-item--with-leading-icon .mdc-list-item__start .mdc-list-item__icon{font-size:var(--mdc-list-list-item-leading-icon-size);width:var(--mdc-list-list-item-leading-icon-size);height:var(--mdc-list-list-item-leading-icon-size)}.mdc-list-item--with-leading-icon .mdc-list-item__start .mdc-list-item__icon,.mdc-list-item--with-leading-icon .mdc-list-item__start .mdc-list-item__icon>.materialdesignWizIconSvgsSvgIcon{display:block}.mdc-list-item--with-leading-avatar .mdc-list-item__start{width:var(--mdc-list-list-item-leading-avatar-size);height:var(--mdc-list-list-item-leading-avatar-size)}.mdc-list-item.mdc-list-item--with-trailing-meta .mdc-list-item__end{color:var(--mdc-list-list-item-trailing-supporting-text-color)}.mdc-list-item--with-trailing-meta .mdc-list-item__end{font-family:var(--mdc-list-list-item-trailing-supporting-text-font);line-height:var(--mdc-list-list-item-trailing-supporting-text-line-height);font-size:var(--mdc-list-list-item-trailing-supporting-text-size);font-weight:var(--mdc-list-list-item-trailing-supporting-text-weight);letter-spacing:var(--mdc-list-list-item-trailing-supporting-text-tracking)}.mdc-list-item--with-trailing-icon .mdc-list-item__end{color:var(--mdc-list-list-item-trailing-icon-color)}.mdc-list-item--with-trailing-icon .mdc-list-item__end{width:var(--mdc-list-list-item-trailing-icon-size);height:var(--mdc-list-list-item-trailing-icon-size)}.mdc-list-item--with-trailing-icon .mdc-list-item__end>i{font-size:var(--mdc-list-list-item-trailing-icon-size)}.mdc-list-item--with-trailing-icon .mdc-list-item__end .mdc-list-item__icon{font-size:var(--mdc-list-list-item-trailing-icon-size);width:var(--mdc-list-list-item-trailing-icon-size);height:var(--mdc-list-list-item-trailing-icon-size)}.mdc-list-item--with-trailing-icon .mdc-list-item__end .mdc-list-item__icon,.mdc-list-item--with-trailing-icon .mdc-list-item__end .mdc-list-item__icon>.materialdesignWizIconSvgsSvgIcon{display:block}.mdc-list-item--selected.mdc-list-item--with-trailing-icon .mdc-list-item__end{color:var(--mdc-list-list-item-selected-trailing-icon-color)}.mdc-list-item--disabled .mdc-list-item__start,.mdc-list-item--disabled .mdc-list-item__content,.mdc-list-item--disabled .mdc-list-item__end{opacity:1}.mdc-list-item--disabled .mdc-list-item__primary-text,.mdc-list-item--disabled .mdc-list-item__secondary-text,.mdc-list-item--disabled .mdc-list-item__overline-text{opacity:var(--mdc-list-list-item-disabled-label-text-opacity)}.mdc-list-item--disabled.mdc-list-item--with-leading-icon .mdc-list-item__start{color:var(--mdc-list-list-item-disabled-leading-icon-color)}.mdc-list-item--disabled.mdc-list-item--with-leading-icon .mdc-list-item__start{opacity:var(--mdc-list-list-item-disabled-leading-icon-opacity)}.mdc-list-item--disabled.mdc-list-item--with-trailing-icon .mdc-list-item__end{color:var(--mdc-list-list-item-disabled-trailing-icon-color)}.mdc-list-item--disabled.mdc-list-item--with-trailing-icon .mdc-list-item__end{opacity:var(--mdc-list-list-item-disabled-trailing-icon-opacity)}.mdc-list-item:hover .mdc-list-item__primary-text{color:var(--mdc-list-list-item-hover-label-text-color)}.mdc-list-item--with-leading-icon:hover .mdc-list-item__start{color:var(--mdc-list-list-item-hover-leading-icon-color)}.mdc-list-item--with-trailing-icon:hover .mdc-list-item__end{color:var(--mdc-list-list-item-hover-trailing-icon-color)}.mdc-list-item:focus .mdc-list-item__primary-text{color:var(--mdc-list-list-item-focus-label-text-color)}.mdc-list-item.mdc-list-item--disabled .mdc-list-item__primary-text{color:var(--mdc-list-list-item-disabled-label-text-color)}.mdc-list-item:hover::before{background-color:var(--mdc-list-list-item-hover-state-layer-color);opacity:var(--mdc-list-list-item-hover-state-layer-opacity)}.mdc-list-item.mdc-list-item--disabled::before{background-color:var(--mdc-list-list-item-disabled-state-layer-color);opacity:var(--mdc-list-list-item-disabled-state-layer-opacity)}.mdc-list-item:focus::before{background-color:var(--mdc-list-list-item-focus-state-layer-color);opacity:var(--mdc-list-list-item-focus-state-layer-opacity)}.mdc-list-item--disabled .mdc-radio,.mdc-list-item--disabled .mdc-checkbox{opacity:var(--mdc-list-list-item-disabled-label-text-opacity)}.mdc-list-item--with-leading-avatar .mat-mdc-list-item-avatar{border-radius:var(--mdc-list-list-item-leading-avatar-shape);background-color:var(--mdc-list-list-item-leading-avatar-color)}.mat-mdc-list-base{--mdc-list-list-item-container-shape:0;--mdc-list-list-item-leading-avatar-shape:50%;--mdc-list-list-item-container-color:transparent;--mdc-list-list-item-selected-container-color:transparent;--mdc-list-list-item-leading-avatar-color:transparent;--mdc-list-list-item-leading-icon-size:24px;--mdc-list-list-item-leading-avatar-size:40px;--mdc-list-list-item-trailing-icon-size:24px;--mdc-list-list-item-disabled-state-layer-color:transparent;--mdc-list-list-item-disabled-state-layer-opacity:0;--mdc-list-list-item-disabled-label-text-opacity:0.38;--mdc-list-list-item-disabled-leading-icon-opacity:0.38;--mdc-list-list-item-disabled-trailing-icon-opacity:0.38}.cdk-high-contrast-active a.mdc-list-item--activated::after{content:"";position:absolute;top:50%;right:16px;transform:translateY(-50%);width:10px;height:0;border-bottom:solid 10px;border-radius:10px}.cdk-high-contrast-active a.mdc-list-item--activated [dir=rtl]::after{right:auto;left:16px}.mat-mdc-list-base{display:block}.mat-mdc-list-base .mdc-list-item__start,.mat-mdc-list-base .mdc-list-item__end,.mat-mdc-list-base .mdc-list-item__content{pointer-events:auto}.mat-mdc-list-item,.mat-mdc-list-option{width:100%;box-sizing:border-box;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-list-item:not(.mat-mdc-list-item-interactive),.mat-mdc-list-option:not(.mat-mdc-list-item-interactive){cursor:default}.mat-mdc-list-item .mat-divider-inset,.mat-mdc-list-option .mat-divider-inset{position:absolute;left:0;right:0;bottom:0}.mat-mdc-list-item .mat-mdc-list-item-avatar~.mat-divider-inset,.mat-mdc-list-option .mat-mdc-list-item-avatar~.mat-divider-inset{margin-left:72px}[dir=rtl] .mat-mdc-list-item .mat-mdc-list-item-avatar~.mat-divider-inset,[dir=rtl] .mat-mdc-list-option .mat-mdc-list-item-avatar~.mat-divider-inset{margin-right:72px}.mat-mdc-list-item-interactive::before{top:0;left:0;right:0;bottom:0;position:absolute;content:"";opacity:0;pointer-events:none}.mat-mdc-list-item>.mat-mdc-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-mdc-list-item:focus>.mat-mdc-focus-indicator::before{content:""}.mat-mdc-list-item.mdc-list-item--with-three-lines .mat-mdc-list-item-line.mdc-list-item__secondary-text{white-space:nowrap;line-height:normal}.mat-mdc-list-item.mdc-list-item--with-three-lines .mat-mdc-list-item-unscoped-content.mdc-list-item__secondary-text{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2}mat-action-list button{background:none;color:inherit;border:none;font:inherit;outline:inherit;-webkit-tap-highlight-color:rgba(0,0,0,0);text-align:left}[dir=rtl] mat-action-list button{text-align:right}mat-action-list button::-moz-focus-inner{border:0}'],encapsulation:2,changeDetection:0})}}return vt})(),zt=(()=>{class vt{static{this.\u0275fac=function(X){return new(X||vt)}}static{this.\u0275mod=o.$C({type:vt})}static{this.\u0275inj=o.G2t({imports:[Z.w5,N.MD,T.yE,T.pZ,T.O5,ot.w]})}}return vt})()},87621:(Ce,Lt,r)=>{r.d(Lt,{Cn:()=>Ee,Cp:()=>re,fb:()=>ye,kk:()=>un});var o=r(1843),y=r(83607),b=r(8275),T=r(25150),k=r(89115),G=r(85012),P=r(52693),Z=r(73151),N=r(96897),ot=r(28930),q=r(57588),K=r(89371),M=r(73907),a=r(98474),pt=r(99752),j=r(42250),J=r(18331),bt=r(86953),Gt=r(89411),te=r(10165),$=r(3819),lt=r(29094),V=r(18144);const mt=["mat-menu-item",""];function rt(ce,je){1&ce&&(o.qSk(),o.j41(0,"svg",3),o.nrm(1,"polygon",4),o.k0s())}const $t=[[["mat-icon"],["","matMenuItemIcon",""]],"*"],de=["mat-icon, [matMenuItemIcon]","*"];function _e(ce,je){if(1&ce){const Ht=o.RV6();o.j41(0,"div",0),o.bIt("keydown",function(at){o.eBV(Ht);const H=o.XpG();return o.Njj(H._handleKeydown(at))})("click",function(){o.eBV(Ht);const at=o.XpG();return o.Njj(at.closed.emit("click"))})("@transformMenu.start",function(at){o.eBV(Ht);const H=o.XpG();return o.Njj(H._onAnimationStart(at))})("@transformMenu.done",function(at){o.eBV(Ht);const H=o.XpG();return o.Njj(H._onAnimationDone(at))}),o.j41(1,"div",1),o.SdG(2),o.k0s()()}if(2&ce){const Ht=o.XpG();o.Y8G("id",Ht.panelId)("ngClass",Ht._classList)("@transformMenu",Ht._panelAnimationState),o.BMQ("aria-label",Ht.ariaLabel||null)("aria-labelledby",Ht.ariaLabelledby||null)("aria-describedby",Ht.ariaDescribedby||null)}}const Le=["*"],Ge=new o.nKC("MAT_MENU_PANEL"),Xe=(0,j.GG)((0,j.Ob)(class{}));let ye=(()=>{class ce extends Xe{constructor(Ht,ne,at,H,st){super(),this._elementRef=Ht,this._document=ne,this._focusMonitor=at,this._parentMenu=H,this._changeDetectorRef=st,this.role="menuitem",this._hovered=new k.B,this._focused=new k.B,this._highlighted=!1,this._triggersSubmenu=!1,H?.addItem?.(this)}focus(Ht,ne){this._focusMonitor&&Ht?this._focusMonitor.focusVia(this._getHostElement(),Ht,ne):this._getHostElement().focus(ne),this._focused.next(this)}ngAfterViewInit(){this._focusMonitor&&this._focusMonitor.monitor(this._elementRef,!1)}ngOnDestroy(){this._focusMonitor&&this._focusMonitor.stopMonitoring(this._elementRef),this._parentMenu&&this._parentMenu.removeItem&&this._parentMenu.removeItem(this),this._hovered.complete(),this._focused.complete()}_getTabIndex(){return this.disabled?"-1":"0"}_getHostElement(){return this._elementRef.nativeElement}_checkDisabled(Ht){this.disabled&&(Ht.preventDefault(),Ht.stopPropagation())}_handleMouseEnter(){this._hovered.next(this)}getLabel(){const Ht=this._elementRef.nativeElement.cloneNode(!0),ne=Ht.querySelectorAll("mat-icon, .material-icons");for(let at=0;at enter",(0,Gt.i0)("120ms cubic-bezier(0, 0, 0.2, 1)",(0,Gt.iF)({opacity:1,transform:"scale(1)"}))),(0,Gt.kY)("* => void",(0,Gt.i0)("100ms 25ms linear",(0,Gt.iF)({opacity:0})))]),fadeInItems:(0,Gt.hZ)("fadeInItems",[(0,Gt.wk)("showing",(0,Gt.iF)({opacity:1})),(0,Gt.kY)("void => *",[(0,Gt.iF)({opacity:0}),(0,Gt.i0)("400ms 100ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])};let Yt=0;const Ut=new o.nKC("mat-menu-default-options",{providedIn:"root",factory:function Ne(){return{overlapTrigger:!1,xPosition:"after",yPosition:"below",backdropClass:"cdk-overlay-transparent-backdrop"}}});let ke=(()=>{class ce{get xPosition(){return this._xPosition}set xPosition(Ht){this._xPosition=Ht,this.setPositionClasses()}get yPosition(){return this._yPosition}set yPosition(Ht){this._yPosition=Ht,this.setPositionClasses()}get overlapTrigger(){return this._overlapTrigger}set overlapTrigger(Ht){this._overlapTrigger=(0,b.he)(Ht)}get hasBackdrop(){return this._hasBackdrop}set hasBackdrop(Ht){this._hasBackdrop=(0,b.he)(Ht)}set panelClass(Ht){const ne=this._previousPanelClass;ne&&ne.length&&ne.split(" ").forEach(at=>{this._classList[at]=!1}),this._previousPanelClass=Ht,Ht&&Ht.length&&(Ht.split(" ").forEach(at=>{this._classList[at]=!0}),this._elementRef.nativeElement.className="")}get classList(){return this.panelClass}set classList(Ht){this.panelClass=Ht}constructor(Ht,ne,at,H){this._elementRef=Ht,this._ngZone=ne,this._changeDetectorRef=H,this._directDescendantItems=new o.rOR,this._classList={},this._panelAnimationState="void",this._animationDone=new k.B,this.closed=new o.bkB,this.close=this.closed,this.panelId="mat-menu-panel-"+Yt++,this.overlayPanelClass=at.overlayPanelClass||"",this._xPosition=at.xPosition,this._yPosition=at.yPosition,this.backdropClass=at.backdropClass,this._overlapTrigger=at.overlapTrigger,this._hasBackdrop=at.hasBackdrop}ngOnInit(){this.setPositionClasses()}ngAfterContentInit(){this._updateDirectDescendants(),this._keyManager=new y.Bu(this._directDescendantItems).withWrap().withTypeAhead().withHomeAndEnd(),this._keyManager.tabOut.subscribe(()=>this.closed.emit("tab")),this._directDescendantItems.changes.pipe((0,ot.Z)(this._directDescendantItems),(0,q.n)(Ht=>(0,G.h)(...Ht.map(ne=>ne._focused)))).subscribe(Ht=>this._keyManager.updateActiveItem(Ht)),this._directDescendantItems.changes.subscribe(Ht=>{const ne=this._keyManager;if("enter"===this._panelAnimationState&&ne.activeItem?._hasFocus()){const at=Ht.toArray(),H=Math.max(0,Math.min(at.length-1,ne.activeItemIndex||0));at[H]&&!at[H].disabled?ne.setActiveItem(H):ne.setNextItemActive()}})}ngOnDestroy(){this._keyManager?.destroy(),this._directDescendantItems.destroy(),this.closed.complete(),this._firstItemFocusSubscription?.unsubscribe()}_hovered(){return this._directDescendantItems.changes.pipe((0,ot.Z)(this._directDescendantItems),(0,q.n)(ne=>(0,G.h)(...ne.map(at=>at._hovered))))}addItem(Ht){}removeItem(Ht){}_handleKeydown(Ht){const ne=Ht.keyCode,at=this._keyManager;switch(ne){case T._f:(0,T.rp)(Ht)||(Ht.preventDefault(),this.closed.emit("keydown"));break;case T.UQ:this.parentMenu&&"ltr"===this.direction&&this.closed.emit("keydown");break;case T.LE:this.parentMenu&&"rtl"===this.direction&&this.closed.emit("keydown");break;default:return(ne===T.i7||ne===T.n6)&&at.setFocusOrigin("keyboard"),void at.onKeydown(Ht)}Ht.stopPropagation()}focusFirstItem(Ht="program"){this._firstItemFocusSubscription?.unsubscribe(),this._firstItemFocusSubscription=this._ngZone.onStable.pipe((0,K.s)(1)).subscribe(()=>{let ne=null;if(this._directDescendantItems.length&&(ne=this._directDescendantItems.first._getHostElement().closest('[role="menu"]')),!ne||!ne.contains(document.activeElement)){const at=this._keyManager;at.setFocusOrigin(Ht).setFirstItemActive(),!at.activeItem&&ne&&ne.focus()}})}resetActiveItem(){this._keyManager.setActiveItem(-1)}setElevation(Ht){const ne=Math.min(this._baseElevation+Ht,24),at=`${this._elevationPrefix}${ne}`,H=Object.keys(this._classList).find(st=>st.startsWith(this._elevationPrefix));(!H||H===this._previousElevation)&&(this._previousElevation&&(this._classList[this._previousElevation]=!1),this._classList[at]=!0,this._previousElevation=at)}setPositionClasses(Ht=this.xPosition,ne=this.yPosition){const at=this._classList;at["mat-menu-before"]="before"===Ht,at["mat-menu-after"]="after"===Ht,at["mat-menu-above"]="above"===ne,at["mat-menu-below"]="below"===ne,this._changeDetectorRef?.markForCheck()}_startAnimation(){this._panelAnimationState="enter"}_resetAnimation(){this._panelAnimationState="void"}_onAnimationDone(Ht){this._animationDone.next(Ht),this._isAnimating=!1}_onAnimationStart(Ht){this._isAnimating=!0,"enter"===Ht.toState&&0===this._keyManager.activeItemIndex&&(Ht.element.scrollTop=0)}_updateDirectDescendants(){this._allItems.changes.pipe((0,ot.Z)(this._allItems)).subscribe(Ht=>{this._directDescendantItems.reset(Ht.filter(ne=>ne._parentMenu===this)),this._directDescendantItems.notifyOnChanges()})}static{this.\u0275fac=function(ne){return new(ne||ce)(o.rXU(o.aKT),o.rXU(o.SKi),o.rXU(Ut),o.rXU(o.gRc))}}static{this.\u0275dir=o.FsC({type:ce,contentQueries:function(ne,at,H){if(1&ne&&(o.wni(H,be,5),o.wni(H,ye,5),o.wni(H,ye,4)),2&ne){let st;o.mGM(st=o.lsd())&&(at.lazyContent=st.first),o.mGM(st=o.lsd())&&(at._allItems=st),o.mGM(st=o.lsd())&&(at.items=st)}},viewQuery:function(ne,at){if(1&ne&&o.GBs(o.C4Q,5),2&ne){let H;o.mGM(H=o.lsd())&&(at.templateRef=H.first)}},inputs:{backdropClass:"backdropClass",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],ariaDescribedby:["aria-describedby","ariaDescribedby"],xPosition:"xPosition",yPosition:"yPosition",overlapTrigger:"overlapTrigger",hasBackdrop:"hasBackdrop",panelClass:["class","panelClass"],classList:"classList"},outputs:{closed:"closed",close:"close"}})}}return ce})(),un=(()=>{class ce extends ke{constructor(Ht,ne,at,H){super(Ht,ne,at,H),this._elevationPrefix="mat-elevation-z",this._baseElevation=8}static{this.\u0275fac=function(ne){return new(ne||ce)(o.rXU(o.aKT),o.rXU(o.SKi),o.rXU(Ut),o.rXU(o.gRc))}}static{this.\u0275cmp=o.VBU({type:ce,selectors:[["mat-menu"]],hostAttrs:["ngSkipHydration",""],hostVars:3,hostBindings:function(ne,at){2&ne&&o.BMQ("aria-label",null)("aria-labelledby",null)("aria-describedby",null)},exportAs:["matMenu"],features:[o.Jv_([{provide:Ge,useExisting:ce}]),o.Vt3],ngContentSelectors:Le,decls:1,vars:0,consts:[["tabindex","-1","role","menu",1,"mat-mdc-menu-panel","mat-mdc-elevation-specific",3,"id","ngClass","keydown","click"],[1,"mat-mdc-menu-content"]],template:function(ne,at){1&ne&&(o.NAR(),o.DNE(0,_e,3,6,"ng-template"))},dependencies:[J.YU],styles:['mat-menu{display:none}.mat-mdc-menu-content{margin:0;padding:8px 0;list-style-type:none}.mat-mdc-menu-content:focus{outline:none}.mat-mdc-menu-content,.mat-mdc-menu-content .mat-mdc-menu-item .mat-mdc-menu-item-text{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;white-space:normal;font-family:var(--mat-menu-item-label-text-font);line-height:var(--mat-menu-item-label-text-line-height);font-size:var(--mat-menu-item-label-text-size);letter-spacing:var(--mat-menu-item-label-text-tracking);font-weight:var(--mat-menu-item-label-text-weight)}.mat-mdc-menu-panel{--mat-menu-container-shape:4px;min-width:112px;max-width:280px;overflow:auto;-webkit-overflow-scrolling:touch;box-sizing:border-box;outline:0;border-radius:var(--mat-menu-container-shape);background-color:var(--mat-menu-container-color);will-change:transform,opacity}.mat-mdc-menu-panel.ng-animating{pointer-events:none}.cdk-high-contrast-active .mat-mdc-menu-panel{outline:solid 1px}.mat-mdc-menu-item{display:flex;position:relative;align-items:center;justify-content:flex-start;overflow:hidden;padding:0;padding-left:16px;padding-right:16px;-webkit-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:rgba(0,0,0,0);cursor:pointer;width:100%;text-align:left;box-sizing:border-box;color:inherit;font-size:inherit;background:none;text-decoration:none;margin:0;align-items:center;min-height:48px}.mat-mdc-menu-item:focus{outline:none}[dir=rtl] .mat-mdc-menu-item,.mat-mdc-menu-item[dir=rtl]{padding-left:16px;padding-right:16px}.mat-mdc-menu-item::-moz-focus-inner{border:0}.mat-mdc-menu-item,.mat-mdc-menu-item:visited,.mat-mdc-menu-item:link{color:var(--mat-menu-item-label-text-color)}.mat-mdc-menu-item .mat-icon-no-color,.mat-mdc-menu-item .mat-mdc-menu-submenu-icon{color:var(--mat-menu-item-icon-color)}.mat-mdc-menu-item[disabled]{cursor:default;opacity:.38}.mat-mdc-menu-item[disabled]::after{display:block;position:absolute;content:"";top:0;left:0;bottom:0;right:0}.mat-mdc-menu-item .mat-icon{margin-right:16px}[dir=rtl] .mat-mdc-menu-item{text-align:right}[dir=rtl] .mat-mdc-menu-item .mat-icon{margin-right:0;margin-left:16px}.mat-mdc-menu-item.mat-mdc-menu-item-submenu-trigger{padding-right:32px}[dir=rtl] .mat-mdc-menu-item.mat-mdc-menu-item-submenu-trigger{padding-right:16px;padding-left:32px}.mat-mdc-menu-item:not([disabled]):hover{background-color:var(--mat-menu-item-hover-state-layer-color)}.mat-mdc-menu-item:not([disabled]).cdk-program-focused,.mat-mdc-menu-item:not([disabled]).cdk-keyboard-focused,.mat-mdc-menu-item:not([disabled]).mat-mdc-menu-item-highlighted{background-color:var(--mat-menu-item-focus-state-layer-color)}.cdk-high-contrast-active .mat-mdc-menu-item{margin-top:1px}.mat-mdc-menu-submenu-icon{position:absolute;top:50%;right:16px;transform:translateY(-50%);width:5px;height:10px;fill:currentColor}[dir=rtl] .mat-mdc-menu-submenu-icon{right:auto;left:16px;transform:translateY(-50%) scaleX(-1)}.cdk-high-contrast-active .mat-mdc-menu-submenu-icon{fill:CanvasText}.mat-mdc-menu-item .mat-mdc-menu-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}'],encapsulation:2,data:{animation:[Kt.transformMenu,Kt.fadeInItems]},changeDetection:0})}}return ce})();const gt=new o.nKC("mat-menu-scroll-strategy"),Vt={provide:gt,deps:[$.hJ],useFactory:function le(ce){return()=>ce.scrollStrategies.reposition()}},oe=(0,lt.BQ)({passive:!0});let Et=(()=>{class ce{get _deprecatedMatMenuTriggerFor(){return this.menu}set _deprecatedMatMenuTriggerFor(Ht){this.menu=Ht}get menu(){return this._menu}set menu(Ht){Ht!==this._menu&&(this._menu=Ht,this._menuCloseSubscription.unsubscribe(),Ht&&(this._menuCloseSubscription=Ht.close.subscribe(ne=>{this._destroyMenu(ne),("click"===ne||"tab"===ne)&&this._parentMaterialMenu&&this._parentMaterialMenu.closed.emit(ne)})),this._menuItemInstance?._setTriggersSubmenu(this.triggersSubmenu()))}constructor(Ht,ne,at,H,st,zt,vt,kt,tt){this._overlay=Ht,this._element=ne,this._viewContainerRef=at,this._menuItemInstance=zt,this._dir=vt,this._focusMonitor=kt,this._ngZone=tt,this._overlayRef=null,this._menuOpen=!1,this._closingActionsSubscription=P.yU.EMPTY,this._hoverSubscription=P.yU.EMPTY,this._menuCloseSubscription=P.yU.EMPTY,this._changeDetectorRef=(0,o.WQX)(o.gRc),this._handleTouchStart=X=>{(0,y.w6)(X)||(this._openedBy="touch")},this._openedBy=void 0,this.restoreFocus=!0,this.menuOpened=new o.bkB,this.onMenuOpen=this.menuOpened,this.menuClosed=new o.bkB,this.onMenuClose=this.menuClosed,this._scrollStrategy=H,this._parentMaterialMenu=st instanceof ke?st:void 0,ne.nativeElement.addEventListener("touchstart",this._handleTouchStart,oe)}ngAfterContentInit(){this._handleHover()}ngOnDestroy(){this._overlayRef&&(this._overlayRef.dispose(),this._overlayRef=null),this._element.nativeElement.removeEventListener("touchstart",this._handleTouchStart,oe),this._menuCloseSubscription.unsubscribe(),this._closingActionsSubscription.unsubscribe(),this._hoverSubscription.unsubscribe()}get menuOpen(){return this._menuOpen}get dir(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}triggersSubmenu(){return!!(this._menuItemInstance&&this._parentMaterialMenu&&this.menu)}toggleMenu(){return this._menuOpen?this.closeMenu():this.openMenu()}openMenu(){const Ht=this.menu;if(this._menuOpen||!Ht)return;const ne=this._createOverlay(Ht),at=ne.getConfig(),H=at.positionStrategy;this._setPosition(Ht,H),at.hasBackdrop=null==Ht.hasBackdrop?!this.triggersSubmenu():Ht.hasBackdrop,ne.attach(this._getPortal(Ht)),Ht.lazyContent&&Ht.lazyContent.attach(this.menuData),this._closingActionsSubscription=this._menuClosingActions().subscribe(()=>this.closeMenu()),this._initMenu(Ht),Ht instanceof ke&&(Ht._startAnimation(),Ht._directDescendantItems.changes.pipe((0,M.Q)(Ht.close)).subscribe(()=>{H.withLockedPosition(!1).reapplyLastPosition(),H.withLockedPosition(!0)}))}closeMenu(){this.menu?.close.emit()}focus(Ht,ne){this._focusMonitor&&Ht?this._focusMonitor.focusVia(this._element,Ht,ne):this._element.nativeElement.focus(ne)}updatePosition(){this._overlayRef?.updatePosition()}_destroyMenu(Ht){if(!this._overlayRef||!this.menuOpen)return;const ne=this.menu;this._closingActionsSubscription.unsubscribe(),this._overlayRef.detach(),this.restoreFocus&&("keydown"===Ht||!this._openedBy||!this.triggersSubmenu())&&this.focus(this._openedBy),this._openedBy=void 0,ne instanceof ke?(ne._resetAnimation(),ne.lazyContent?ne._animationDone.pipe((0,a.p)(at=>"void"===at.toState),(0,K.s)(1),(0,M.Q)(ne.lazyContent._attached)).subscribe({next:()=>ne.lazyContent.detach(),complete:()=>this._setIsMenuOpen(!1)}):this._setIsMenuOpen(!1)):(this._setIsMenuOpen(!1),ne?.lazyContent?.detach())}_initMenu(Ht){Ht.parentMenu=this.triggersSubmenu()?this._parentMaterialMenu:void 0,Ht.direction=this.dir,this._setMenuElevation(Ht),Ht.focusFirstItem(this._openedBy||"program"),this._setIsMenuOpen(!0)}_setMenuElevation(Ht){if(Ht.setElevation){let ne=0,at=Ht.parentMenu;for(;at;)ne++,at=at.parentMenu;Ht.setElevation(ne)}}_setIsMenuOpen(Ht){Ht!==this._menuOpen&&(this._menuOpen=Ht,this._menuOpen?this.menuOpened.emit():this.menuClosed.emit(),this.triggersSubmenu()&&this._menuItemInstance._setHighlighted(Ht),this._changeDetectorRef.markForCheck())}_createOverlay(Ht){if(!this._overlayRef){const ne=this._getOverlayConfig(Ht);this._subscribeToPositions(Ht,ne.positionStrategy),this._overlayRef=this._overlay.create(ne),this._overlayRef.keydownEvents().subscribe()}return this._overlayRef}_getOverlayConfig(Ht){return new $.rR({positionStrategy:this._overlay.position().flexibleConnectedTo(this._element).withLockedPosition().withGrowAfterOpen().withTransformOriginOn(".mat-menu-panel, .mat-mdc-menu-panel"),backdropClass:Ht.backdropClass||"cdk-overlay-transparent-backdrop",panelClass:Ht.overlayPanelClass,scrollStrategy:this._scrollStrategy(),direction:this._dir})}_subscribeToPositions(Ht,ne){Ht.setPositionClasses&&ne.positionChanges.subscribe(at=>{const H="start"===at.connectionPair.overlayX?"after":"before",st="top"===at.connectionPair.overlayY?"below":"above";this._ngZone?this._ngZone.run(()=>Ht.setPositionClasses(H,st)):Ht.setPositionClasses(H,st)})}_setPosition(Ht,ne){let[at,H]="before"===Ht.xPosition?["end","start"]:["start","end"],[st,zt]="above"===Ht.yPosition?["bottom","top"]:["top","bottom"],[vt,kt]=[st,zt],[tt,X]=[at,H],ft=0;if(this.triggersSubmenu()){if(X=at="before"===Ht.xPosition?"start":"end",H=tt="end"===at?"start":"end",this._parentMaterialMenu){if(null==this._parentInnerPadding){const Ot=this._parentMaterialMenu.items.first;this._parentInnerPadding=Ot?Ot._getHostElement().offsetTop:0}ft="bottom"===st?this._parentInnerPadding:-this._parentInnerPadding}}else Ht.overlapTrigger||(vt="top"===st?"bottom":"top",kt="top"===zt?"bottom":"top");ne.withPositions([{originX:at,originY:vt,overlayX:tt,overlayY:st,offsetY:ft},{originX:H,originY:vt,overlayX:X,overlayY:st,offsetY:ft},{originX:at,originY:kt,overlayX:tt,overlayY:zt,offsetY:-ft},{originX:H,originY:kt,overlayX:X,overlayY:zt,offsetY:-ft}])}_menuClosingActions(){const Ht=this._overlayRef.backdropClick(),ne=this._overlayRef.detachments(),at=this._parentMaterialMenu?this._parentMaterialMenu.closed:(0,Z.of)(),H=this._parentMaterialMenu?this._parentMaterialMenu._hovered().pipe((0,a.p)(st=>st!==this._menuItemInstance),(0,a.p)(()=>this._menuOpen)):(0,Z.of)();return(0,G.h)(Ht,at,H,ne)}_handleMousedown(Ht){(0,y._G)(Ht)||(this._openedBy=0===Ht.button?"mouse":void 0,this.triggersSubmenu()&&Ht.preventDefault())}_handleKeydown(Ht){const ne=Ht.keyCode;(ne===T.Fm||ne===T.t6)&&(this._openedBy="keyboard"),this.triggersSubmenu()&&(ne===T.LE&&"ltr"===this.dir||ne===T.UQ&&"rtl"===this.dir)&&(this._openedBy="keyboard",this.openMenu())}_handleClick(Ht){this.triggersSubmenu()?(Ht.stopPropagation(),this.openMenu()):this.toggleMenu()}_handleHover(){!this.triggersSubmenu()||!this._parentMaterialMenu||(this._hoverSubscription=this._parentMaterialMenu._hovered().pipe((0,a.p)(Ht=>Ht===this._menuItemInstance&&!Ht.disabled),(0,pt.c)(0,N.$)).subscribe(()=>{this._openedBy="mouse",this.menu instanceof ke&&this.menu._isAnimating?this.menu._animationDone.pipe((0,K.s)(1),(0,pt.c)(0,N.$),(0,M.Q)(this._parentMaterialMenu._hovered())).subscribe(()=>this.openMenu()):this.openMenu()}))}_getPortal(Ht){return(!this._portal||this._portal.templateRef!==Ht.templateRef)&&(this._portal=new bt.VA(Ht.templateRef,this._viewContainerRef)),this._portal}static{this.\u0275fac=function(ne){return new(ne||ce)(o.rXU($.hJ),o.rXU(o.aKT),o.rXU(o.c1b),o.rXU(gt),o.rXU(Ge,8),o.rXU(ye,10),o.rXU(te.dS,8),o.rXU(y.FN),o.rXU(o.SKi))}}static{this.\u0275dir=o.FsC({type:ce,hostVars:3,hostBindings:function(ne,at){1&ne&&o.bIt("click",function(st){return at._handleClick(st)})("mousedown",function(st){return at._handleMousedown(st)})("keydown",function(st){return at._handleKeydown(st)}),2&ne&&o.BMQ("aria-haspopup",at.menu?"menu":null)("aria-expanded",at.menuOpen)("aria-controls",at.menuOpen?at.menu.panelId:null)},inputs:{_deprecatedMatMenuTriggerFor:["mat-menu-trigger-for","_deprecatedMatMenuTriggerFor"],menu:["matMenuTriggerFor","menu"],menuData:["matMenuTriggerData","menuData"],restoreFocus:["matMenuTriggerRestoreFocus","restoreFocus"]},outputs:{menuOpened:"menuOpened",onMenuOpen:"onMenuOpen",menuClosed:"menuClosed",onMenuClose:"onMenuClose"}})}}return ce})(),re=(()=>{class ce extends Et{static{this.\u0275fac=function(){let Ht;return function(at){return(Ht||(Ht=o.xGo(ce)))(at||ce)}}()}static{this.\u0275dir=o.FsC({type:ce,selectors:[["","mat-menu-trigger-for",""],["","matMenuTriggerFor",""]],hostAttrs:[1,"mat-mdc-menu-trigger"],exportAs:["matMenuTrigger"],features:[o.Vt3]})}}return ce})(),Ee=(()=>{class ce{static{this.\u0275fac=function(ne){return new(ne||ce)}}static{this.\u0275mod=o.$C({type:ce})}static{this.\u0275inj=o.G2t({providers:[Vt],imports:[J.MD,j.pZ,j.yE,$.z_,V.Gj,j.yE]})}}return ce})()},74312:(Ce,Lt,r)=>{r.d(Lt,{El:()=>Tt,LG:()=>Yt,US:()=>Ut,vg:()=>Ne});var o=r(18144),y=r(18331),b=r(1843),T=r(42250),k=r(83607),G=r(10165),P=r(8275),Z=r(25150),N=r(29094),ot=r(89115),q=r(63884),K=r(85012),M=r(98474),a=r(12324),pt=r(45221),j=r(73907),J=r(11224),bt=r(89371),Gt=r(28930),te=r(45318),$=r(89411);const lt=["*"],V=["content"];function mt(ke,un){if(1&ke){const gt=b.RV6();b.j41(0,"div",2),b.bIt("click",function(){b.eBV(gt);const Vt=b.XpG();return b.Njj(Vt._onBackdropClicked())}),b.k0s()}if(2&ke){const gt=b.XpG();b.AVh("mat-drawer-shown",gt._isShowingBackdrop())}}function rt(ke,un){1&ke&&(b.j41(0,"mat-drawer-content"),b.SdG(1,2),b.k0s())}const $t=[[["mat-drawer"]],[["mat-drawer-content"]],"*"],de=["mat-drawer","mat-drawer-content","*"];function _e(ke,un){if(1&ke){const gt=b.RV6();b.j41(0,"div",2),b.bIt("click",function(){b.eBV(gt);const Vt=b.XpG();return b.Njj(Vt._onBackdropClicked())}),b.k0s()}if(2&ke){const gt=b.XpG();b.AVh("mat-drawer-shown",gt._isShowingBackdrop())}}function Le(ke,un){1&ke&&(b.j41(0,"mat-sidenav-content"),b.SdG(1,2),b.k0s())}const Ge=[[["mat-sidenav"]],[["mat-sidenav-content"]],"*"],Xe=["mat-sidenav","mat-sidenav-content","*"],Ve={transformDrawer:(0,$.hZ)("transform",[(0,$.wk)("open, open-instant",(0,$.iF)({transform:"none",visibility:"visible"})),(0,$.wk)("void",(0,$.iF)({"box-shadow":"none",visibility:"hidden"})),(0,$.kY)("void => open-instant",(0,$.i0)("0ms")),(0,$.kY)("void <=> open, open-instant => void",(0,$.i0)("400ms cubic-bezier(0.25, 0.8, 0.25, 1)"))])},Qe=new b.nKC("MAT_DRAWER_DEFAULT_AUTOSIZE",{providedIn:"root",factory:function Me(){return!1}}),be=new b.nKC("MAT_DRAWER_CONTAINER");let yt=(()=>{class ke extends o.uv{constructor(gt,le,Vt,oe,Qt){super(Vt,oe,Qt),this._changeDetectorRef=gt,this._container=le}ngAfterContentInit(){this._container._contentMarginChanges.subscribe(()=>{this._changeDetectorRef.markForCheck()})}static{this.\u0275fac=function(le){return new(le||ke)(b.rXU(b.gRc),b.rXU((0,b.Rfq)(()=>Nt)),b.rXU(b.aKT),b.rXU(o.R),b.rXU(b.SKi))}}static{this.\u0275cmp=b.VBU({type:ke,selectors:[["mat-drawer-content"]],hostAttrs:["ngSkipHydration","",1,"mat-drawer-content"],hostVars:4,hostBindings:function(le,Vt){2&le&&b.xc7("margin-left",Vt._container._contentMargins.left,"px")("margin-right",Vt._container._contentMargins.right,"px")},features:[b.Jv_([{provide:o.uv,useExisting:ke}]),b.Vt3],ngContentSelectors:lt,decls:1,vars:0,template:function(le,Vt){1&le&&(b.NAR(),b.SdG(0))},encapsulation:2,changeDetection:0})}}return ke})(),Kt=(()=>{class ke{get position(){return this._position}set position(gt){(gt="end"===gt?"end":"start")!==this._position&&(this._isAttached&&this._updatePositionInParent(gt),this._position=gt,this.onPositionChanged.emit())}get mode(){return this._mode}set mode(gt){this._mode=gt,this._updateFocusTrapState(),this._modeChanged.next()}get disableClose(){return this._disableClose}set disableClose(gt){this._disableClose=(0,P.he)(gt)}get autoFocus(){return this._autoFocus??("side"===this.mode?"dialog":"first-tabbable")}set autoFocus(gt){("true"===gt||"false"===gt||null==gt)&&(gt=(0,P.he)(gt)),this._autoFocus=gt}get opened(){return this._opened}set opened(gt){this.toggle((0,P.he)(gt))}constructor(gt,le,Vt,oe,Qt,Et,re,Ee){this._elementRef=gt,this._focusTrapFactory=le,this._focusMonitor=Vt,this._platform=oe,this._ngZone=Qt,this._interactivityChecker=Et,this._doc=re,this._container=Ee,this._elementFocusedBeforeDrawerWasOpened=null,this._enableAnimations=!1,this._position="start",this._mode="over",this._disableClose=!1,this._opened=!1,this._animationStarted=new ot.B,this._animationEnd=new ot.B,this._animationState="void",this.openedChange=new b.bkB(!0),this._openedStream=this.openedChange.pipe((0,M.p)(ce=>ce),(0,a.T)(()=>{})),this.openedStart=this._animationStarted.pipe((0,M.p)(ce=>ce.fromState!==ce.toState&&0===ce.toState.indexOf("open")),(0,pt.u)(void 0)),this._closedStream=this.openedChange.pipe((0,M.p)(ce=>!ce),(0,a.T)(()=>{})),this.closedStart=this._animationStarted.pipe((0,M.p)(ce=>ce.fromState!==ce.toState&&"void"===ce.toState),(0,pt.u)(void 0)),this._destroyed=new ot.B,this.onPositionChanged=new b.bkB,this._modeChanged=new ot.B,this.openedChange.subscribe(ce=>{ce?(this._doc&&(this._elementFocusedBeforeDrawerWasOpened=this._doc.activeElement),this._takeFocus()):this._isFocusWithinDrawer()&&this._restoreFocus(this._openedVia||"program")}),this._ngZone.runOutsideAngular(()=>{(0,q.R)(this._elementRef.nativeElement,"keydown").pipe((0,M.p)(ce=>ce.keyCode===Z._f&&!this.disableClose&&!(0,Z.rp)(ce)),(0,j.Q)(this._destroyed)).subscribe(ce=>this._ngZone.run(()=>{this.close(),ce.stopPropagation(),ce.preventDefault()}))}),this._animationEnd.pipe((0,J.F)((ce,je)=>ce.fromState===je.fromState&&ce.toState===je.toState)).subscribe(ce=>{const{fromState:je,toState:Ht}=ce;(0===Ht.indexOf("open")&&"void"===je||"void"===Ht&&0===je.indexOf("open"))&&this.openedChange.emit(this._opened)})}_forceFocus(gt,le){this._interactivityChecker.isFocusable(gt)||(gt.tabIndex=-1,this._ngZone.runOutsideAngular(()=>{const Vt=()=>{gt.removeEventListener("blur",Vt),gt.removeEventListener("mousedown",Vt),gt.removeAttribute("tabindex")};gt.addEventListener("blur",Vt),gt.addEventListener("mousedown",Vt)})),gt.focus(le)}_focusByCssSelector(gt,le){let Vt=this._elementRef.nativeElement.querySelector(gt);Vt&&this._forceFocus(Vt,le)}_takeFocus(){if(!this._focusTrap)return;const gt=this._elementRef.nativeElement;switch(this.autoFocus){case!1:case"dialog":return;case!0:case"first-tabbable":this._focusTrap.focusInitialElementWhenReady().then(le=>{!le&&"function"==typeof this._elementRef.nativeElement.focus&>.focus()});break;case"first-heading":this._focusByCssSelector('h1, h2, h3, h4, h5, h6, [role="heading"]');break;default:this._focusByCssSelector(this.autoFocus)}}_restoreFocus(gt){"dialog"!==this.autoFocus&&(this._elementFocusedBeforeDrawerWasOpened?this._focusMonitor.focusVia(this._elementFocusedBeforeDrawerWasOpened,gt):this._elementRef.nativeElement.blur(),this._elementFocusedBeforeDrawerWasOpened=null)}_isFocusWithinDrawer(){const gt=this._doc.activeElement;return!!gt&&this._elementRef.nativeElement.contains(gt)}ngAfterViewInit(){this._isAttached=!0,this._focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement),this._updateFocusTrapState(),"end"===this._position&&this._updatePositionInParent("end")}ngAfterContentChecked(){this._platform.isBrowser&&(this._enableAnimations=!0)}ngOnDestroy(){this._focusTrap&&this._focusTrap.destroy(),this._anchor?.remove(),this._anchor=null,this._animationStarted.complete(),this._animationEnd.complete(),this._modeChanged.complete(),this._destroyed.next(),this._destroyed.complete()}open(gt){return this.toggle(!0,gt)}close(){return this.toggle(!1)}_closeViaBackdropClick(){return this._setOpen(!1,!0,"mouse")}toggle(gt=!this.opened,le){gt&&le&&(this._openedVia=le);const Vt=this._setOpen(gt,!gt&&this._isFocusWithinDrawer(),this._openedVia||"program");return gt||(this._openedVia=null),Vt}_setOpen(gt,le,Vt){return this._opened=gt,gt?this._animationState=this._enableAnimations?"open":"open-instant":(this._animationState="void",le&&this._restoreFocus(Vt)),this._updateFocusTrapState(),new Promise(oe=>{this.openedChange.pipe((0,bt.s)(1)).subscribe(Qt=>oe(Qt?"open":"close"))})}_getWidth(){return this._elementRef.nativeElement&&this._elementRef.nativeElement.offsetWidth||0}_updateFocusTrapState(){this._focusTrap&&(this._focusTrap.enabled=!!this._container?.hasBackdrop)}_updatePositionInParent(gt){const le=this._elementRef.nativeElement,Vt=le.parentNode;"end"===gt?(this._anchor||(this._anchor=this._doc.createComment("mat-drawer-anchor"),Vt.insertBefore(this._anchor,le)),Vt.appendChild(le)):this._anchor&&this._anchor.parentNode.insertBefore(le,this._anchor)}static{this.\u0275fac=function(le){return new(le||ke)(b.rXU(b.aKT),b.rXU(k.GX),b.rXU(k.FN),b.rXU(N.OD),b.rXU(b.SKi),b.rXU(k.Z7),b.rXU(y.qQ,8),b.rXU(be,8))}}static{this.\u0275cmp=b.VBU({type:ke,selectors:[["mat-drawer"]],viewQuery:function(le,Vt){if(1&le&&b.GBs(V,5),2&le){let oe;b.mGM(oe=b.lsd())&&(Vt._content=oe.first)}},hostAttrs:["tabIndex","-1","ngSkipHydration","",1,"mat-drawer"],hostVars:12,hostBindings:function(le,Vt){1&le&&b.Kam("@transform.start",function(Qt){return Vt._animationStarted.next(Qt)})("@transform.done",function(Qt){return Vt._animationEnd.next(Qt)}),2&le&&(b.BMQ("align",null),b.zvX("@transform",Vt._animationState),b.AVh("mat-drawer-end","end"===Vt.position)("mat-drawer-over","over"===Vt.mode)("mat-drawer-push","push"===Vt.mode)("mat-drawer-side","side"===Vt.mode)("mat-drawer-opened",Vt.opened))},inputs:{position:"position",mode:"mode",disableClose:"disableClose",autoFocus:"autoFocus",opened:"opened"},outputs:{openedChange:"openedChange",_openedStream:"opened",openedStart:"openedStart",_closedStream:"closed",closedStart:"closedStart",onPositionChanged:"positionChanged"},exportAs:["matDrawer"],ngContentSelectors:lt,decls:3,vars:0,consts:[["cdkScrollable","",1,"mat-drawer-inner-container"],["content",""]],template:function(le,Vt){1&le&&(b.NAR(),b.j41(0,"div",0,1),b.SdG(2),b.k0s())},dependencies:[o.uv],encapsulation:2,data:{animation:[Ve.transformDrawer]},changeDetection:0})}}return ke})(),Nt=(()=>{class ke{get start(){return this._start}get end(){return this._end}get autosize(){return this._autosize}set autosize(gt){this._autosize=(0,P.he)(gt)}get hasBackdrop(){return this._drawerHasBackdrop(this._start)||this._drawerHasBackdrop(this._end)}set hasBackdrop(gt){this._backdropOverride=null==gt?null:(0,P.he)(gt)}get scrollable(){return this._userContent||this._content}constructor(gt,le,Vt,oe,Qt,Et=!1,re){this._dir=gt,this._element=le,this._ngZone=Vt,this._changeDetectorRef=oe,this._animationMode=re,this._drawers=new b.rOR,this.backdropClick=new b.bkB,this._destroyed=new ot.B,this._doCheckSubject=new ot.B,this._contentMargins={left:null,right:null},this._contentMarginChanges=new ot.B,gt&>.change.pipe((0,j.Q)(this._destroyed)).subscribe(()=>{this._validateDrawers(),this.updateContentMargins()}),Qt.change().pipe((0,j.Q)(this._destroyed)).subscribe(()=>this.updateContentMargins()),this._autosize=Et}ngAfterContentInit(){this._allDrawers.changes.pipe((0,Gt.Z)(this._allDrawers),(0,j.Q)(this._destroyed)).subscribe(gt=>{this._drawers.reset(gt.filter(le=>!le._container||le._container===this)),this._drawers.notifyOnChanges()}),this._drawers.changes.pipe((0,Gt.Z)(null)).subscribe(()=>{this._validateDrawers(),this._drawers.forEach(gt=>{this._watchDrawerToggle(gt),this._watchDrawerPosition(gt),this._watchDrawerMode(gt)}),(!this._drawers.length||this._isDrawerOpen(this._start)||this._isDrawerOpen(this._end))&&this.updateContentMargins(),this._changeDetectorRef.markForCheck()}),this._ngZone.runOutsideAngular(()=>{this._doCheckSubject.pipe((0,te.B)(10),(0,j.Q)(this._destroyed)).subscribe(()=>this.updateContentMargins())})}ngOnDestroy(){this._contentMarginChanges.complete(),this._doCheckSubject.complete(),this._drawers.destroy(),this._destroyed.next(),this._destroyed.complete()}open(){this._drawers.forEach(gt=>gt.open())}close(){this._drawers.forEach(gt=>gt.close())}updateContentMargins(){let gt=0,le=0;if(this._left&&this._left.opened)if("side"==this._left.mode)gt+=this._left._getWidth();else if("push"==this._left.mode){const Vt=this._left._getWidth();gt+=Vt,le-=Vt}if(this._right&&this._right.opened)if("side"==this._right.mode)le+=this._right._getWidth();else if("push"==this._right.mode){const Vt=this._right._getWidth();le+=Vt,gt-=Vt}gt=gt||null,le=le||null,(gt!==this._contentMargins.left||le!==this._contentMargins.right)&&(this._contentMargins={left:gt,right:le},this._ngZone.run(()=>this._contentMarginChanges.next(this._contentMargins)))}ngDoCheck(){this._autosize&&this._isPushed()&&this._ngZone.runOutsideAngular(()=>this._doCheckSubject.next())}_watchDrawerToggle(gt){gt._animationStarted.pipe((0,M.p)(le=>le.fromState!==le.toState),(0,j.Q)(this._drawers.changes)).subscribe(le=>{"open-instant"!==le.toState&&"NoopAnimations"!==this._animationMode&&this._element.nativeElement.classList.add("mat-drawer-transition"),this.updateContentMargins(),this._changeDetectorRef.markForCheck()}),"side"!==gt.mode&>.openedChange.pipe((0,j.Q)(this._drawers.changes)).subscribe(()=>this._setContainerClass(gt.opened))}_watchDrawerPosition(gt){gt&>.onPositionChanged.pipe((0,j.Q)(this._drawers.changes)).subscribe(()=>{this._ngZone.onMicrotaskEmpty.pipe((0,bt.s)(1)).subscribe(()=>{this._validateDrawers()})})}_watchDrawerMode(gt){gt&>._modeChanged.pipe((0,j.Q)((0,K.h)(this._drawers.changes,this._destroyed))).subscribe(()=>{this.updateContentMargins(),this._changeDetectorRef.markForCheck()})}_setContainerClass(gt){const le=this._element.nativeElement.classList,Vt="mat-drawer-container-has-open";gt?le.add(Vt):le.remove(Vt)}_validateDrawers(){this._start=this._end=null,this._drawers.forEach(gt=>{"end"==gt.position?this._end=gt:this._start=gt}),this._right=this._left=null,this._dir&&"rtl"===this._dir.value?(this._left=this._end,this._right=this._start):(this._left=this._start,this._right=this._end)}_isPushed(){return this._isDrawerOpen(this._start)&&"over"!=this._start.mode||this._isDrawerOpen(this._end)&&"over"!=this._end.mode}_onBackdropClicked(){this.backdropClick.emit(),this._closeModalDrawersViaBackdrop()}_closeModalDrawersViaBackdrop(){[this._start,this._end].filter(gt=>gt&&!gt.disableClose&&this._drawerHasBackdrop(gt)).forEach(gt=>gt._closeViaBackdropClick())}_isShowingBackdrop(){return this._isDrawerOpen(this._start)&&this._drawerHasBackdrop(this._start)||this._isDrawerOpen(this._end)&&this._drawerHasBackdrop(this._end)}_isDrawerOpen(gt){return null!=gt&>.opened}_drawerHasBackdrop(gt){return null==this._backdropOverride?!!gt&&"side"!==gt.mode:this._backdropOverride}static{this.\u0275fac=function(le){return new(le||ke)(b.rXU(G.dS,8),b.rXU(b.aKT),b.rXU(b.SKi),b.rXU(b.gRc),b.rXU(o.Xj),b.rXU(Qe),b.rXU(b.bc$,8))}}static{this.\u0275cmp=b.VBU({type:ke,selectors:[["mat-drawer-container"]],contentQueries:function(le,Vt,oe){if(1&le&&(b.wni(oe,yt,5),b.wni(oe,Kt,5)),2&le){let Qt;b.mGM(Qt=b.lsd())&&(Vt._content=Qt.first),b.mGM(Qt=b.lsd())&&(Vt._allDrawers=Qt)}},viewQuery:function(le,Vt){if(1&le&&b.GBs(yt,5),2&le){let oe;b.mGM(oe=b.lsd())&&(Vt._userContent=oe.first)}},hostAttrs:["ngSkipHydration","",1,"mat-drawer-container"],hostVars:2,hostBindings:function(le,Vt){2&le&&b.AVh("mat-drawer-container-explicit-backdrop",Vt._backdropOverride)},inputs:{autosize:"autosize",hasBackdrop:"hasBackdrop"},outputs:{backdropClick:"backdropClick"},exportAs:["matDrawerContainer"],features:[b.Jv_([{provide:be,useExisting:ke}])],ngContentSelectors:de,decls:4,vars:2,consts:[["class","mat-drawer-backdrop",3,"mat-drawer-shown","click",4,"ngIf"],[4,"ngIf"],[1,"mat-drawer-backdrop",3,"click"]],template:function(le,Vt){1&le&&(b.NAR($t),b.DNE(0,mt,1,2,"div",0),b.SdG(1),b.SdG(2,1),b.DNE(3,rt,2,0,"mat-drawer-content",1)),2&le&&(b.Y8G("ngIf",Vt.hasBackdrop),b.R7$(3),b.Y8G("ngIf",!Vt._content))},dependencies:[y.bT,yt],styles:['.mat-drawer-container{position:relative;z-index:1;color:var(--mat-sidenav-content-text-color);background-color:var(--mat-sidenav-content-background-color);box-sizing:border-box;-webkit-overflow-scrolling:touch;display:block;overflow:hidden}.mat-drawer-container[fullscreen]{top:0;left:0;right:0;bottom:0;position:absolute}.mat-drawer-container[fullscreen].mat-drawer-container-has-open{overflow:hidden}.mat-drawer-container.mat-drawer-container-explicit-backdrop .mat-drawer-side{z-index:3}.mat-drawer-container.ng-animate-disabled .mat-drawer-backdrop,.mat-drawer-container.ng-animate-disabled .mat-drawer-content,.ng-animate-disabled .mat-drawer-container .mat-drawer-backdrop,.ng-animate-disabled .mat-drawer-container .mat-drawer-content{transition:none}.mat-drawer-backdrop{top:0;left:0;right:0;bottom:0;position:absolute;display:block;z-index:3;visibility:hidden}.mat-drawer-backdrop.mat-drawer-shown{visibility:visible;background-color:var(--mat-sidenav-scrim-color)}.mat-drawer-transition .mat-drawer-backdrop{transition-duration:400ms;transition-timing-function:cubic-bezier(0.25, 0.8, 0.25, 1);transition-property:background-color,visibility}.cdk-high-contrast-active .mat-drawer-backdrop{opacity:.5}.mat-drawer-content{position:relative;z-index:1;display:block;height:100%;overflow:auto}.mat-drawer-transition .mat-drawer-content{transition-duration:400ms;transition-timing-function:cubic-bezier(0.25, 0.8, 0.25, 1);transition-property:transform,margin-left,margin-right}.mat-drawer{box-shadow:0px 8px 10px -5px rgba(0, 0, 0, 0.2), 0px 16px 24px 2px rgba(0, 0, 0, 0.14), 0px 6px 30px 5px rgba(0, 0, 0, 0.12);position:relative;z-index:4;--mat-sidenav-container-shape:0;color:var(--mat-sidenav-container-text-color);background-color:var(--mat-sidenav-container-background-color);border-top-right-radius:var(--mat-sidenav-container-shape);border-bottom-right-radius:var(--mat-sidenav-container-shape);display:block;position:absolute;top:0;bottom:0;z-index:3;outline:0;box-sizing:border-box;overflow-y:auto;transform:translate3d(-100%, 0, 0)}.cdk-high-contrast-active .mat-drawer,.cdk-high-contrast-active [dir=rtl] .mat-drawer.mat-drawer-end{border-right:solid 1px currentColor}.cdk-high-contrast-active [dir=rtl] .mat-drawer,.cdk-high-contrast-active .mat-drawer.mat-drawer-end{border-left:solid 1px currentColor;border-right:none}.mat-drawer.mat-drawer-side{z-index:2}.mat-drawer.mat-drawer-end{right:0;transform:translate3d(100%, 0, 0);border-top-left-radius:var(--mat-sidenav-container-shape);border-bottom-left-radius:var(--mat-sidenav-container-shape);border-top-right-radius:0;border-bottom-right-radius:0}[dir=rtl] .mat-drawer{border-top-left-radius:var(--mat-sidenav-container-shape);border-bottom-left-radius:var(--mat-sidenav-container-shape);border-top-right-radius:0;border-bottom-right-radius:0;transform:translate3d(100%, 0, 0)}[dir=rtl] .mat-drawer.mat-drawer-end{border-top-right-radius:var(--mat-sidenav-container-shape);border-bottom-right-radius:var(--mat-sidenav-container-shape);border-top-left-radius:0;border-bottom-left-radius:0;left:0;right:auto;transform:translate3d(-100%, 0, 0)}.mat-drawer[style*="visibility: hidden"]{display:none}.mat-drawer-side{box-shadow:none;border-right-color:var(--mat-sidenav-container-divider-color);border-right-width:1px;border-right-style:solid}.mat-drawer-side.mat-drawer-end{border-left-color:var(--mat-sidenav-container-divider-color);border-left-width:1px;border-left-style:solid;border-right:none}[dir=rtl] .mat-drawer-side{border-left-color:var(--mat-sidenav-container-divider-color);border-left-width:1px;border-left-style:solid;border-right:none}[dir=rtl] .mat-drawer-side.mat-drawer-end{border-right-color:var(--mat-sidenav-container-divider-color);border-right-width:1px;border-right-style:solid;border-left:none}.mat-drawer-inner-container{width:100%;height:100%;overflow:auto;-webkit-overflow-scrolling:touch}.mat-sidenav-fixed{position:fixed}'],encapsulation:2,changeDetection:0})}}return ke})(),Tt=(()=>{class ke extends yt{constructor(gt,le,Vt,oe,Qt){super(gt,le,Vt,oe,Qt)}static{this.\u0275fac=function(le){return new(le||ke)(b.rXU(b.gRc),b.rXU((0,b.Rfq)(()=>Ut)),b.rXU(b.aKT),b.rXU(o.R),b.rXU(b.SKi))}}static{this.\u0275cmp=b.VBU({type:ke,selectors:[["mat-sidenav-content"]],hostAttrs:["ngSkipHydration","",1,"mat-drawer-content","mat-sidenav-content"],hostVars:4,hostBindings:function(le,Vt){2&le&&b.xc7("margin-left",Vt._container._contentMargins.left,"px")("margin-right",Vt._container._contentMargins.right,"px")},features:[b.Jv_([{provide:o.uv,useExisting:ke}]),b.Vt3],ngContentSelectors:lt,decls:1,vars:0,template:function(le,Vt){1&le&&(b.NAR(),b.SdG(0))},encapsulation:2,changeDetection:0})}}return ke})(),Yt=(()=>{class ke extends Kt{constructor(){super(...arguments),this._fixedInViewport=!1,this._fixedTopGap=0,this._fixedBottomGap=0}get fixedInViewport(){return this._fixedInViewport}set fixedInViewport(gt){this._fixedInViewport=(0,P.he)(gt)}get fixedTopGap(){return this._fixedTopGap}set fixedTopGap(gt){this._fixedTopGap=(0,P.OE)(gt)}get fixedBottomGap(){return this._fixedBottomGap}set fixedBottomGap(gt){this._fixedBottomGap=(0,P.OE)(gt)}static{this.\u0275fac=function(){let gt;return function(Vt){return(gt||(gt=b.xGo(ke)))(Vt||ke)}}()}static{this.\u0275cmp=b.VBU({type:ke,selectors:[["mat-sidenav"]],hostAttrs:["tabIndex","-1","ngSkipHydration","",1,"mat-drawer","mat-sidenav"],hostVars:17,hostBindings:function(le,Vt){2&le&&(b.BMQ("align",null),b.xc7("top",Vt.fixedInViewport?Vt.fixedTopGap:null,"px")("bottom",Vt.fixedInViewport?Vt.fixedBottomGap:null,"px"),b.AVh("mat-drawer-end","end"===Vt.position)("mat-drawer-over","over"===Vt.mode)("mat-drawer-push","push"===Vt.mode)("mat-drawer-side","side"===Vt.mode)("mat-drawer-opened",Vt.opened)("mat-sidenav-fixed",Vt.fixedInViewport))},inputs:{fixedInViewport:"fixedInViewport",fixedTopGap:"fixedTopGap",fixedBottomGap:"fixedBottomGap"},exportAs:["matSidenav"],features:[b.Vt3],ngContentSelectors:lt,decls:3,vars:0,consts:[["cdkScrollable","",1,"mat-drawer-inner-container"],["content",""]],template:function(le,Vt){1&le&&(b.NAR(),b.j41(0,"div",0,1),b.SdG(2),b.k0s())},dependencies:[o.uv],encapsulation:2,data:{animation:[Ve.transformDrawer]},changeDetection:0})}}return ke})(),Ut=(()=>{class ke extends Nt{constructor(){super(...arguments),this._allDrawers=void 0,this._content=void 0}static{this.\u0275fac=function(){let gt;return function(Vt){return(gt||(gt=b.xGo(ke)))(Vt||ke)}}()}static{this.\u0275cmp=b.VBU({type:ke,selectors:[["mat-sidenav-container"]],contentQueries:function(le,Vt,oe){if(1&le&&(b.wni(oe,Tt,5),b.wni(oe,Yt,5)),2&le){let Qt;b.mGM(Qt=b.lsd())&&(Vt._content=Qt.first),b.mGM(Qt=b.lsd())&&(Vt._allDrawers=Qt)}},hostAttrs:["ngSkipHydration","",1,"mat-drawer-container","mat-sidenav-container"],hostVars:2,hostBindings:function(le,Vt){2&le&&b.AVh("mat-drawer-container-explicit-backdrop",Vt._backdropOverride)},exportAs:["matSidenavContainer"],features:[b.Jv_([{provide:be,useExisting:ke}]),b.Vt3],ngContentSelectors:Xe,decls:4,vars:2,consts:[["class","mat-drawer-backdrop",3,"mat-drawer-shown","click",4,"ngIf"],[4,"ngIf"],[1,"mat-drawer-backdrop",3,"click"]],template:function(le,Vt){1&le&&(b.NAR(Ge),b.DNE(0,_e,1,2,"div",0),b.SdG(1),b.SdG(2,1),b.DNE(3,Le,2,0,"mat-sidenav-content",1)),2&le&&(b.Y8G("ngIf",Vt.hasBackdrop),b.R7$(3),b.Y8G("ngIf",!Vt._content))},dependencies:[y.bT,Tt],styles:['.mat-drawer-container{position:relative;z-index:1;color:var(--mat-sidenav-content-text-color);background-color:var(--mat-sidenav-content-background-color);box-sizing:border-box;-webkit-overflow-scrolling:touch;display:block;overflow:hidden}.mat-drawer-container[fullscreen]{top:0;left:0;right:0;bottom:0;position:absolute}.mat-drawer-container[fullscreen].mat-drawer-container-has-open{overflow:hidden}.mat-drawer-container.mat-drawer-container-explicit-backdrop .mat-drawer-side{z-index:3}.mat-drawer-container.ng-animate-disabled .mat-drawer-backdrop,.mat-drawer-container.ng-animate-disabled .mat-drawer-content,.ng-animate-disabled .mat-drawer-container .mat-drawer-backdrop,.ng-animate-disabled .mat-drawer-container .mat-drawer-content{transition:none}.mat-drawer-backdrop{top:0;left:0;right:0;bottom:0;position:absolute;display:block;z-index:3;visibility:hidden}.mat-drawer-backdrop.mat-drawer-shown{visibility:visible;background-color:var(--mat-sidenav-scrim-color)}.mat-drawer-transition .mat-drawer-backdrop{transition-duration:400ms;transition-timing-function:cubic-bezier(0.25, 0.8, 0.25, 1);transition-property:background-color,visibility}.cdk-high-contrast-active .mat-drawer-backdrop{opacity:.5}.mat-drawer-content{position:relative;z-index:1;display:block;height:100%;overflow:auto}.mat-drawer-transition .mat-drawer-content{transition-duration:400ms;transition-timing-function:cubic-bezier(0.25, 0.8, 0.25, 1);transition-property:transform,margin-left,margin-right}.mat-drawer{box-shadow:0px 8px 10px -5px rgba(0, 0, 0, 0.2), 0px 16px 24px 2px rgba(0, 0, 0, 0.14), 0px 6px 30px 5px rgba(0, 0, 0, 0.12);position:relative;z-index:4;--mat-sidenav-container-shape:0;color:var(--mat-sidenav-container-text-color);background-color:var(--mat-sidenav-container-background-color);border-top-right-radius:var(--mat-sidenav-container-shape);border-bottom-right-radius:var(--mat-sidenav-container-shape);display:block;position:absolute;top:0;bottom:0;z-index:3;outline:0;box-sizing:border-box;overflow-y:auto;transform:translate3d(-100%, 0, 0)}.cdk-high-contrast-active .mat-drawer,.cdk-high-contrast-active [dir=rtl] .mat-drawer.mat-drawer-end{border-right:solid 1px currentColor}.cdk-high-contrast-active [dir=rtl] .mat-drawer,.cdk-high-contrast-active .mat-drawer.mat-drawer-end{border-left:solid 1px currentColor;border-right:none}.mat-drawer.mat-drawer-side{z-index:2}.mat-drawer.mat-drawer-end{right:0;transform:translate3d(100%, 0, 0);border-top-left-radius:var(--mat-sidenav-container-shape);border-bottom-left-radius:var(--mat-sidenav-container-shape);border-top-right-radius:0;border-bottom-right-radius:0}[dir=rtl] .mat-drawer{border-top-left-radius:var(--mat-sidenav-container-shape);border-bottom-left-radius:var(--mat-sidenav-container-shape);border-top-right-radius:0;border-bottom-right-radius:0;transform:translate3d(100%, 0, 0)}[dir=rtl] .mat-drawer.mat-drawer-end{border-top-right-radius:var(--mat-sidenav-container-shape);border-bottom-right-radius:var(--mat-sidenav-container-shape);border-top-left-radius:0;border-bottom-left-radius:0;left:0;right:auto;transform:translate3d(-100%, 0, 0)}.mat-drawer[style*="visibility: hidden"]{display:none}.mat-drawer-side{box-shadow:none;border-right-color:var(--mat-sidenav-container-divider-color);border-right-width:1px;border-right-style:solid}.mat-drawer-side.mat-drawer-end{border-left-color:var(--mat-sidenav-container-divider-color);border-left-width:1px;border-left-style:solid;border-right:none}[dir=rtl] .mat-drawer-side{border-left-color:var(--mat-sidenav-container-divider-color);border-left-width:1px;border-left-style:solid;border-right:none}[dir=rtl] .mat-drawer-side.mat-drawer-end{border-right-color:var(--mat-sidenav-container-divider-color);border-right-width:1px;border-right-style:solid;border-left:none}.mat-drawer-inner-container{width:100%;height:100%;overflow:auto;-webkit-overflow-scrolling:touch}.mat-sidenav-fixed{position:fixed}'],encapsulation:2,changeDetection:0})}}return ke})(),Ne=(()=>{class ke{static{this.\u0275fac=function(le){return new(le||ke)}}static{this.\u0275mod=b.$C({type:ke})}static{this.\u0275inj=b.G2t({imports:[y.MD,T.yE,o.Gj,o.Gj,T.yE]})}}return ke})()},60368:(Ce,Lt,r)=>{r.d(Lt,{mV:()=>te,sG:()=>j});var o=r(1843),y=r(78227),b=r(83607),T=r(42250),k=r(8275),G=r(18331);const P=["switch"];function Z($,lt){1&$&&(o.j41(0,"div",12),o.qSk(),o.j41(1,"svg",13),o.nrm(2,"path",14),o.k0s(),o.j41(3,"svg",15),o.nrm(4,"path",16),o.k0s()())}const N=["*"],ot=new o.nKC("mat-slide-toggle-default-options",{providedIn:"root",factory:()=>({disableToggleValue:!1,hideIcon:!1})}),q={provide:y.kq,useExisting:(0,o.Rfq)(()=>j),multi:!0};class K{constructor(lt,V){this.source=lt,this.checked=V}}let M=0;const a=(0,T.BF)((0,T.Zc)((0,T.GG)((0,T.Ob)(class{constructor($){this._elementRef=$}}))));let pt=(()=>{class $ extends a{get required(){return this._required}set required(V){this._required=(0,k.he)(V)}get checked(){return this._checked}set checked(V){this._checked=(0,k.he)(V),this._changeDetectorRef.markForCheck()}get hideIcon(){return this._hideIcon}set hideIcon(V){this._hideIcon=(0,k.he)(V)}get inputId(){return`${this.id||this._uniqueId}-input`}constructor(V,mt,rt,$t,de,_e,Le){super(V),this._focusMonitor=mt,this._changeDetectorRef=rt,this.defaults=de,this._onChange=Ge=>{},this._onTouched=()=>{},this._required=!1,this._checked=!1,this.name=null,this.labelPosition="after",this.ariaLabel=null,this.ariaLabelledby=null,this._hideIcon=!1,this.change=new o.bkB,this.toggleChange=new o.bkB,this.tabIndex=parseInt($t)||0,this.color=this.defaultColor=de.color||"accent",this._noopAnimations="NoopAnimations"===_e,this.id=this._uniqueId=`${Le}${++M}`,this._hideIcon=de.hideIcon??!1}ngAfterContentInit(){this._focusMonitor.monitor(this._elementRef,!0).subscribe(V=>{"keyboard"===V||"program"===V?(this._focused=!0,this._changeDetectorRef.markForCheck()):V||Promise.resolve().then(()=>{this._focused=!1,this._onTouched(),this._changeDetectorRef.markForCheck()})})}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef)}writeValue(V){this.checked=!!V}registerOnChange(V){this._onChange=V}registerOnTouched(V){this._onTouched=V}setDisabledState(V){this.disabled=V,this._changeDetectorRef.markForCheck()}toggle(){this.checked=!this.checked,this._onChange(this.checked)}_emitChangeEvent(){this._onChange(this.checked),this.change.emit(this._createChangeEvent(this.checked))}static{this.\u0275fac=function(mt){o.QTQ()}}static{this.\u0275dir=o.FsC({type:$,inputs:{name:"name",id:"id",labelPosition:"labelPosition",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],ariaDescribedby:["aria-describedby","ariaDescribedby"],required:"required",checked:"checked",hideIcon:"hideIcon"},outputs:{change:"change",toggleChange:"toggleChange"},features:[o.Vt3]})}}return $})(),j=(()=>{class $ extends pt{get buttonId(){return`${this.id||this._uniqueId}-button`}constructor(V,mt,rt,$t,de,_e){super(V,mt,rt,$t,de,_e,"mat-mdc-slide-toggle-"),this._labelId=this._uniqueId+"-label"}_handleClick(){this.toggleChange.emit(),this.defaults.disableToggleValue||(this.checked=!this.checked,this._onChange(this.checked),this.change.emit(new K(this,this.checked)))}focus(){this._switchElement.nativeElement.focus()}_createChangeEvent(V){return new K(this,V)}_getAriaLabelledBy(){return this.ariaLabelledby?this.ariaLabelledby:this.ariaLabel?null:this._labelId}static{this.\u0275fac=function(mt){return new(mt||$)(o.rXU(o.aKT),o.rXU(b.FN),o.rXU(o.gRc),o.kS0("tabindex"),o.rXU(ot),o.rXU(o.bc$,8))}}static{this.\u0275cmp=o.VBU({type:$,selectors:[["mat-slide-toggle"]],viewQuery:function(mt,rt){if(1&mt&&o.GBs(P,5),2&mt){let $t;o.mGM($t=o.lsd())&&(rt._switchElement=$t.first)}},hostAttrs:[1,"mat-mdc-slide-toggle"],hostVars:11,hostBindings:function(mt,rt){2&mt&&(o.Mr5("id",rt.id),o.BMQ("tabindex",null)("aria-label",null)("name",null)("aria-labelledby",null),o.AVh("mat-mdc-slide-toggle-focused",rt._focused)("mat-mdc-slide-toggle-checked",rt.checked)("_mat-animation-noopable",rt._noopAnimations))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color",tabIndex:"tabIndex"},exportAs:["matSlideToggle"],features:[o.Jv_([q]),o.Vt3],ngContentSelectors:N,decls:13,vars:25,consts:[[1,"mdc-form-field"],["role","switch","type","button",1,"mdc-switch",3,"tabIndex","disabled","click"],["switch",""],[1,"mdc-switch__track"],[1,"mdc-switch__handle-track"],[1,"mdc-switch__handle"],[1,"mdc-switch__shadow"],[1,"mdc-elevation-overlay"],[1,"mdc-switch__ripple"],["mat-ripple","",1,"mat-mdc-slide-toggle-ripple","mat-mdc-focus-indicator",3,"matRippleTrigger","matRippleDisabled","matRippleCentered"],["class","mdc-switch__icons",4,"ngIf"],[1,"mdc-label",3,"for","click"],[1,"mdc-switch__icons"],["viewBox","0 0 24 24","aria-hidden","true",1,"mdc-switch__icon","mdc-switch__icon--on"],["d","M19.69,5.23L8.96,15.96l-4.23-4.23L2.96,13.5l6,6L21.46,7L19.69,5.23z"],["viewBox","0 0 24 24","aria-hidden","true",1,"mdc-switch__icon","mdc-switch__icon--off"],["d","M20 13H4v-2h16v2z"]],template:function(mt,rt){if(1&mt&&(o.NAR(),o.j41(0,"div",0)(1,"button",1,2),o.bIt("click",function(){return rt._handleClick()}),o.nrm(3,"div",3),o.j41(4,"div",4)(5,"div",5)(6,"div",6),o.nrm(7,"div",7),o.k0s(),o.j41(8,"div",8),o.nrm(9,"div",9),o.k0s(),o.DNE(10,Z,5,0,"div",10),o.k0s()()(),o.j41(11,"label",11),o.bIt("click",function(de){return de.stopPropagation()}),o.SdG(12),o.k0s()()),2&mt){const $t=o.sdS(2);o.AVh("mdc-form-field--align-end","before"==rt.labelPosition),o.R7$(1),o.AVh("mdc-switch--selected",rt.checked)("mdc-switch--unselected",!rt.checked)("mdc-switch--checked",rt.checked)("mdc-switch--disabled",rt.disabled),o.Y8G("tabIndex",rt.tabIndex)("disabled",rt.disabled),o.BMQ("id",rt.buttonId)("name",rt.name)("aria-label",rt.ariaLabel)("aria-labelledby",rt._getAriaLabelledBy())("aria-describedby",rt.ariaDescribedby)("aria-required",rt.required||null)("aria-checked",rt.checked),o.R7$(8),o.Y8G("matRippleTrigger",$t)("matRippleDisabled",rt.disableRipple||rt.disabled)("matRippleCentered",!0),o.R7$(1),o.Y8G("ngIf",!rt.hideIcon),o.R7$(1),o.Y8G("for",rt.buttonId),o.BMQ("id",rt._labelId)}},dependencies:[T.r6,G.bT],styles:['.mdc-form-field{display:inline-flex;align-items:center;vertical-align:middle}.mdc-form-field[hidden]{display:none}.mdc-form-field>label{margin-left:0;margin-right:auto;padding-left:4px;padding-right:0;order:0}[dir=rtl] .mdc-form-field>label,.mdc-form-field>label[dir=rtl]{margin-left:auto;margin-right:0}[dir=rtl] .mdc-form-field>label,.mdc-form-field>label[dir=rtl]{padding-left:0;padding-right:4px}.mdc-form-field--nowrap>label{text-overflow:ellipsis;overflow:hidden;white-space:nowrap}.mdc-form-field--align-end>label{margin-left:auto;margin-right:0;padding-left:0;padding-right:4px;order:-1}[dir=rtl] .mdc-form-field--align-end>label,.mdc-form-field--align-end>label[dir=rtl]{margin-left:0;margin-right:auto}[dir=rtl] .mdc-form-field--align-end>label,.mdc-form-field--align-end>label[dir=rtl]{padding-left:4px;padding-right:0}.mdc-form-field--space-between{justify-content:space-between}.mdc-form-field--space-between>label{margin:0}[dir=rtl] .mdc-form-field--space-between>label,.mdc-form-field--space-between>label[dir=rtl]{margin:0}.mdc-elevation-overlay{position:absolute;border-radius:inherit;pointer-events:none;opacity:var(--mdc-elevation-overlay-opacity);transition:opacity 280ms cubic-bezier(0.4, 0, 0.2, 1);background-color:var(--mdc-elevation-overlay-color)}.mdc-switch{align-items:center;background:none;border:none;cursor:pointer;display:inline-flex;flex-shrink:0;margin:0;outline:none;overflow:visible;padding:0;position:relative}.mdc-switch[hidden]{display:none}.mdc-switch:disabled{cursor:default;pointer-events:none}.mdc-switch__track{overflow:hidden;position:relative;width:100%}.mdc-switch__track::before,.mdc-switch__track::after{border:1px solid rgba(0,0,0,0);border-radius:inherit;box-sizing:border-box;content:"";height:100%;left:0;position:absolute;width:100%}@media screen and (forced-colors: active){.mdc-switch__track::before,.mdc-switch__track::after{border-color:currentColor}}.mdc-switch__track::before{transition:transform 75ms 0ms cubic-bezier(0, 0, 0.2, 1);transform:translateX(0)}.mdc-switch__track::after{transition:transform 75ms 0ms cubic-bezier(0.4, 0, 0.6, 1);transform:translateX(-100%)}[dir=rtl] .mdc-switch__track::after,.mdc-switch__track[dir=rtl]::after{transform:translateX(100%)}.mdc-switch--selected .mdc-switch__track::before{transition:transform 75ms 0ms cubic-bezier(0.4, 0, 0.6, 1);transform:translateX(100%)}[dir=rtl] .mdc-switch--selected .mdc-switch__track::before,.mdc-switch--selected .mdc-switch__track[dir=rtl]::before{transform:translateX(-100%)}.mdc-switch--selected .mdc-switch__track::after{transition:transform 75ms 0ms cubic-bezier(0, 0, 0.2, 1);transform:translateX(0)}.mdc-switch__handle-track{height:100%;pointer-events:none;position:absolute;top:0;transition:transform 75ms 0ms cubic-bezier(0.4, 0, 0.2, 1);left:0;right:auto;transform:translateX(0)}[dir=rtl] .mdc-switch__handle-track,.mdc-switch__handle-track[dir=rtl]{left:auto;right:0}.mdc-switch--selected .mdc-switch__handle-track{transform:translateX(100%)}[dir=rtl] .mdc-switch--selected .mdc-switch__handle-track,.mdc-switch--selected .mdc-switch__handle-track[dir=rtl]{transform:translateX(-100%)}.mdc-switch__handle{display:flex;pointer-events:auto;position:absolute;top:50%;transform:translateY(-50%);left:0;right:auto}[dir=rtl] .mdc-switch__handle,.mdc-switch__handle[dir=rtl]{left:auto;right:0}.mdc-switch__handle::before,.mdc-switch__handle::after{border:1px solid rgba(0,0,0,0);border-radius:inherit;box-sizing:border-box;content:"";width:100%;height:100%;left:0;position:absolute;top:0;transition:background-color 75ms 0ms cubic-bezier(0.4, 0, 0.2, 1),border-color 75ms 0ms cubic-bezier(0.4, 0, 0.2, 1);z-index:-1}@media screen and (forced-colors: active){.mdc-switch__handle::before,.mdc-switch__handle::after{border-color:currentColor}}.mdc-switch__shadow{border-radius:inherit;bottom:0;left:0;position:absolute;right:0;top:0}.mdc-elevation-overlay{bottom:0;left:0;right:0;top:0}.mdc-switch__ripple{left:50%;position:absolute;top:50%;transform:translate(-50%, -50%);z-index:-1}.mdc-switch:disabled .mdc-switch__ripple{display:none}.mdc-switch__icons{height:100%;position:relative;width:100%;z-index:1}.mdc-switch__icon{bottom:0;left:0;margin:auto;position:absolute;right:0;top:0;opacity:0;transition:opacity 30ms 0ms cubic-bezier(0.4, 0, 1, 1)}.mdc-switch--selected .mdc-switch__icon--on,.mdc-switch--unselected .mdc-switch__icon--off{opacity:1;transition:opacity 45ms 30ms cubic-bezier(0, 0, 0.2, 1)}.mdc-switch{width:var(--mdc-switch-track-width);--mdc-switch-disabled-handle-opacity:0.38;--mdc-switch-disabled-selected-icon-opacity:0.38;--mdc-switch-disabled-track-opacity:0.12;--mdc-switch-disabled-unselected-icon-opacity:0.38;--mdc-switch-handle-height:20px;--mdc-switch-handle-shape:10px;--mdc-switch-handle-width:20px;--mdc-switch-selected-icon-size:18px;--mdc-switch-track-height:14px;--mdc-switch-track-shape:7px;--mdc-switch-track-width:36px;--mdc-switch-unselected-icon-size:18px;--mdc-switch-state-layer-size:40px;--mdc-switch-selected-focus-state-layer-opacity:0.12;--mdc-switch-selected-hover-state-layer-opacity:0.04;--mdc-switch-selected-pressed-state-layer-opacity:0.1;--mdc-switch-unselected-focus-state-layer-opacity:0.12;--mdc-switch-unselected-hover-state-layer-opacity:0.04;--mdc-switch-unselected-pressed-state-layer-opacity:0.1}.mdc-switch.mdc-switch--selected:enabled .mdc-switch__handle::after{background:var(--mdc-switch-selected-handle-color)}.mdc-switch.mdc-switch--selected:enabled:hover:not(:focus):not(:active) .mdc-switch__handle::after{background:var(--mdc-switch-selected-hover-handle-color)}.mdc-switch.mdc-switch--selected:enabled:focus:not(:active) .mdc-switch__handle::after{background:var(--mdc-switch-selected-focus-handle-color)}.mdc-switch.mdc-switch--selected:enabled:active .mdc-switch__handle::after{background:var(--mdc-switch-selected-pressed-handle-color)}.mdc-switch.mdc-switch--selected:disabled .mdc-switch__handle::after{background:var(--mdc-switch-disabled-selected-handle-color)}.mdc-switch.mdc-switch--unselected:enabled .mdc-switch__handle::after{background:var(--mdc-switch-unselected-handle-color)}.mdc-switch.mdc-switch--unselected:enabled:hover:not(:focus):not(:active) .mdc-switch__handle::after{background:var(--mdc-switch-unselected-hover-handle-color)}.mdc-switch.mdc-switch--unselected:enabled:focus:not(:active) .mdc-switch__handle::after{background:var(--mdc-switch-unselected-focus-handle-color)}.mdc-switch.mdc-switch--unselected:enabled:active .mdc-switch__handle::after{background:var(--mdc-switch-unselected-pressed-handle-color)}.mdc-switch.mdc-switch--unselected:disabled .mdc-switch__handle::after{background:var(--mdc-switch-disabled-unselected-handle-color)}.mdc-switch .mdc-switch__handle::before{background:var(--mdc-switch-handle-surface-color)}.mdc-switch:enabled .mdc-switch__shadow{box-shadow:var(--mdc-switch-handle-elevation)}.mdc-switch:disabled .mdc-switch__shadow{box-shadow:var(--mdc-switch-disabled-handle-elevation)}.mdc-switch .mdc-switch__focus-ring-wrapper,.mdc-switch .mdc-switch__handle{height:var(--mdc-switch-handle-height)}.mdc-switch:disabled .mdc-switch__handle::after{opacity:var(--mdc-switch-disabled-handle-opacity)}.mdc-switch .mdc-switch__handle{border-radius:var(--mdc-switch-handle-shape)}.mdc-switch .mdc-switch__handle{width:var(--mdc-switch-handle-width)}.mdc-switch .mdc-switch__handle-track{width:calc(100% - var(--mdc-switch-handle-width))}.mdc-switch.mdc-switch--selected:enabled .mdc-switch__icon{fill:var(--mdc-switch-selected-icon-color)}.mdc-switch.mdc-switch--selected:disabled .mdc-switch__icon{fill:var(--mdc-switch-disabled-selected-icon-color)}.mdc-switch.mdc-switch--unselected:enabled .mdc-switch__icon{fill:var(--mdc-switch-unselected-icon-color)}.mdc-switch.mdc-switch--unselected:disabled .mdc-switch__icon{fill:var(--mdc-switch-disabled-unselected-icon-color)}.mdc-switch.mdc-switch--selected:disabled .mdc-switch__icons{opacity:var(--mdc-switch-disabled-selected-icon-opacity)}.mdc-switch.mdc-switch--unselected:disabled .mdc-switch__icons{opacity:var(--mdc-switch-disabled-unselected-icon-opacity)}.mdc-switch.mdc-switch--selected .mdc-switch__icon{width:var(--mdc-switch-selected-icon-size);height:var(--mdc-switch-selected-icon-size)}.mdc-switch.mdc-switch--unselected .mdc-switch__icon{width:var(--mdc-switch-unselected-icon-size);height:var(--mdc-switch-unselected-icon-size)}.mdc-switch.mdc-switch--selected:enabled:hover:not(:focus) .mdc-switch__ripple::before,.mdc-switch.mdc-switch--selected:enabled:hover:not(:focus) .mdc-switch__ripple::after{background-color:var(--mdc-switch-selected-hover-state-layer-color)}.mdc-switch.mdc-switch--selected:enabled:focus .mdc-switch__ripple::before,.mdc-switch.mdc-switch--selected:enabled:focus .mdc-switch__ripple::after{background-color:var(--mdc-switch-selected-focus-state-layer-color)}.mdc-switch.mdc-switch--selected:enabled:active .mdc-switch__ripple::before,.mdc-switch.mdc-switch--selected:enabled:active .mdc-switch__ripple::after{background-color:var(--mdc-switch-selected-pressed-state-layer-color)}.mdc-switch.mdc-switch--unselected:enabled:hover:not(:focus) .mdc-switch__ripple::before,.mdc-switch.mdc-switch--unselected:enabled:hover:not(:focus) .mdc-switch__ripple::after{background-color:var(--mdc-switch-unselected-hover-state-layer-color)}.mdc-switch.mdc-switch--unselected:enabled:focus .mdc-switch__ripple::before,.mdc-switch.mdc-switch--unselected:enabled:focus .mdc-switch__ripple::after{background-color:var(--mdc-switch-unselected-focus-state-layer-color)}.mdc-switch.mdc-switch--unselected:enabled:active .mdc-switch__ripple::before,.mdc-switch.mdc-switch--unselected:enabled:active .mdc-switch__ripple::after{background-color:var(--mdc-switch-unselected-pressed-state-layer-color)}.mdc-switch.mdc-switch--selected:enabled:hover:not(:focus):hover .mdc-switch__ripple::before,.mdc-switch.mdc-switch--selected:enabled:hover:not(:focus).mdc-ripple-surface--hover .mdc-switch__ripple::before{opacity:var(--mdc-switch-selected-hover-state-layer-opacity)}.mdc-switch.mdc-switch--selected:enabled:focus.mdc-ripple-upgraded--background-focused .mdc-switch__ripple::before,.mdc-switch.mdc-switch--selected:enabled:focus:not(.mdc-ripple-upgraded):focus .mdc-switch__ripple::before{transition-duration:75ms;opacity:var(--mdc-switch-selected-focus-state-layer-opacity)}.mdc-switch.mdc-switch--selected:enabled:active:not(.mdc-ripple-upgraded) .mdc-switch__ripple::after{transition:opacity 150ms linear}.mdc-switch.mdc-switch--selected:enabled:active:not(.mdc-ripple-upgraded):active .mdc-switch__ripple::after{transition-duration:75ms;opacity:var(--mdc-switch-selected-pressed-state-layer-opacity)}.mdc-switch.mdc-switch--selected:enabled:active.mdc-ripple-upgraded{--mdc-ripple-fg-opacity:var(--mdc-switch-selected-pressed-state-layer-opacity)}.mdc-switch.mdc-switch--unselected:enabled:hover:not(:focus):hover .mdc-switch__ripple::before,.mdc-switch.mdc-switch--unselected:enabled:hover:not(:focus).mdc-ripple-surface--hover .mdc-switch__ripple::before{opacity:var(--mdc-switch-unselected-hover-state-layer-opacity)}.mdc-switch.mdc-switch--unselected:enabled:focus.mdc-ripple-upgraded--background-focused .mdc-switch__ripple::before,.mdc-switch.mdc-switch--unselected:enabled:focus:not(.mdc-ripple-upgraded):focus .mdc-switch__ripple::before{transition-duration:75ms;opacity:var(--mdc-switch-unselected-focus-state-layer-opacity)}.mdc-switch.mdc-switch--unselected:enabled:active:not(.mdc-ripple-upgraded) .mdc-switch__ripple::after{transition:opacity 150ms linear}.mdc-switch.mdc-switch--unselected:enabled:active:not(.mdc-ripple-upgraded):active .mdc-switch__ripple::after{transition-duration:75ms;opacity:var(--mdc-switch-unselected-pressed-state-layer-opacity)}.mdc-switch.mdc-switch--unselected:enabled:active.mdc-ripple-upgraded{--mdc-ripple-fg-opacity:var(--mdc-switch-unselected-pressed-state-layer-opacity)}.mdc-switch .mdc-switch__ripple{height:var(--mdc-switch-state-layer-size);width:var(--mdc-switch-state-layer-size)}.mdc-switch .mdc-switch__track{height:var(--mdc-switch-track-height)}.mdc-switch:disabled .mdc-switch__track{opacity:var(--mdc-switch-disabled-track-opacity)}.mdc-switch:enabled .mdc-switch__track::after{background:var(--mdc-switch-selected-track-color)}.mdc-switch:enabled:hover:not(:focus):not(:active) .mdc-switch__track::after{background:var(--mdc-switch-selected-hover-track-color)}.mdc-switch:enabled:focus:not(:active) .mdc-switch__track::after{background:var(--mdc-switch-selected-focus-track-color)}.mdc-switch:enabled:active .mdc-switch__track::after{background:var(--mdc-switch-selected-pressed-track-color)}.mdc-switch:disabled .mdc-switch__track::after{background:var(--mdc-switch-disabled-selected-track-color)}.mdc-switch:enabled .mdc-switch__track::before{background:var(--mdc-switch-unselected-track-color)}.mdc-switch:enabled:hover:not(:focus):not(:active) .mdc-switch__track::before{background:var(--mdc-switch-unselected-hover-track-color)}.mdc-switch:enabled:focus:not(:active) .mdc-switch__track::before{background:var(--mdc-switch-unselected-focus-track-color)}.mdc-switch:enabled:active .mdc-switch__track::before{background:var(--mdc-switch-unselected-pressed-track-color)}.mdc-switch:disabled .mdc-switch__track::before{background:var(--mdc-switch-disabled-unselected-track-color)}.mdc-switch .mdc-switch__track{border-radius:var(--mdc-switch-track-shape)}.mdc-switch:enabled .mdc-switch__shadow{box-shadow:var(--mdc-switch-handle-elevation-shadow)}.mdc-switch:disabled .mdc-switch__shadow{box-shadow:var(--mdc-switch-disabled-handle-elevation-shadow)}.mat-mdc-slide-toggle .mdc-label{font-family:var(--mat-slide-toggle-label-text-font);font-size:var(--mat-slide-toggle-label-text-size);letter-spacing:var(--mat-slide-toggle-label-text-tracking);line-height:var(--mat-slide-toggle-label-text-line-height);font-weight:var(--mat-slide-toggle-label-text-weight)}.mat-mdc-slide-toggle{display:inline-block;-webkit-tap-highlight-color:rgba(0,0,0,0);outline:0}.mat-mdc-slide-toggle .mat-mdc-slide-toggle-ripple,.mat-mdc-slide-toggle .mdc-switch__ripple::after{top:0;left:0;right:0;bottom:0;position:absolute;border-radius:50%;pointer-events:none}.mat-mdc-slide-toggle .mat-mdc-slide-toggle-ripple:not(:empty),.mat-mdc-slide-toggle .mdc-switch__ripple::after:not(:empty){transform:translateZ(0)}.mat-mdc-slide-toggle .mdc-switch__ripple::after{content:"";opacity:0}.mat-mdc-slide-toggle .mdc-switch:hover .mdc-switch__ripple::after{opacity:.04;transition:opacity 75ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mat-mdc-slide-toggle.mat-mdc-slide-toggle-focused .mdc-switch .mdc-switch__ripple::after{opacity:.12}.mat-mdc-slide-toggle.mat-mdc-slide-toggle-focused .mat-mdc-focus-indicator::before{content:""}.mat-mdc-slide-toggle .mat-ripple-element{opacity:.12}.mat-mdc-slide-toggle .mat-mdc-focus-indicator::before{border-radius:50%}.mat-mdc-slide-toggle._mat-animation-noopable .mdc-switch__handle-track,.mat-mdc-slide-toggle._mat-animation-noopable .mdc-elevation-overlay,.mat-mdc-slide-toggle._mat-animation-noopable .mdc-switch__icon,.mat-mdc-slide-toggle._mat-animation-noopable .mdc-switch__handle::before,.mat-mdc-slide-toggle._mat-animation-noopable .mdc-switch__handle::after,.mat-mdc-slide-toggle._mat-animation-noopable .mdc-switch__track::before,.mat-mdc-slide-toggle._mat-animation-noopable .mdc-switch__track::after{transition:none}.mat-mdc-slide-toggle .mdc-switch:enabled+.mdc-label{cursor:pointer}'],encapsulation:2,changeDetection:0})}}return $})(),Gt=(()=>{class ${static{this.\u0275fac=function(mt){return new(mt||$)}}static{this.\u0275mod=o.$C({type:$})}static{this.\u0275inj=o.G2t({})}}return $})(),te=(()=>{class ${static{this.\u0275fac=function(mt){return new(mt||$)}}static{this.\u0275mod=o.$C({type:$})}static{this.\u0275inj=o.G2t({imports:[Gt,T.yE,T.pZ,G.MD,Gt,T.yE]})}}return $})()},39258:(Ce,Lt,r)=>{r.d(Lt,{TQ:()=>bt,UG:()=>Ve,_T:()=>Le,ht:()=>Gt});var o=r(1843),y=r(89115),b=r(18331),T=r(68660),k=r(89411),G=r(86953),P=r(29094),Z=r(89371),N=r(73907),ot=r(83607),q=r(89369),K=r(3819),M=r(42250);function a(Oe,Qe){if(1&Oe){const be=o.RV6();o.j41(0,"div",2)(1,"button",3),o.bIt("click",function(){o.eBV(be);const yt=o.XpG();return o.Njj(yt.action())}),o.EFF(2),o.k0s()()}if(2&Oe){const be=o.XpG();o.R7$(2),o.SpI(" ",be.data.action," ")}}const pt=["label"];function j(Oe,Qe){}const J=Math.pow(2,31)-1;class bt{constructor(Qe,be){this._overlayRef=be,this._afterDismissed=new y.B,this._afterOpened=new y.B,this._onAction=new y.B,this._dismissedByAction=!1,this.containerInstance=Qe,Qe._onExit.subscribe(()=>this._finishDismiss())}dismiss(){this._afterDismissed.closed||this.containerInstance.exit(),clearTimeout(this._durationTimeoutId)}dismissWithAction(){this._onAction.closed||(this._dismissedByAction=!0,this._onAction.next(),this._onAction.complete(),this.dismiss()),clearTimeout(this._durationTimeoutId)}closeWithAction(){this.dismissWithAction()}_dismissAfter(Qe){this._durationTimeoutId=setTimeout(()=>this.dismiss(),Math.min(Qe,J))}_open(){this._afterOpened.closed||(this._afterOpened.next(),this._afterOpened.complete())}_finishDismiss(){this._overlayRef.dispose(),this._onAction.closed||this._onAction.complete(),this._afterDismissed.next({dismissedByAction:this._dismissedByAction}),this._afterDismissed.complete(),this._dismissedByAction=!1}afterDismissed(){return this._afterDismissed}afterOpened(){return this.containerInstance._onEnter}onAction(){return this._onAction}}const Gt=new o.nKC("MatSnackBarData");class te{constructor(){this.politeness="assertive",this.announcementMessage="",this.duration=0,this.data=null,this.horizontalPosition="center",this.verticalPosition="bottom"}}let $=(()=>{class Oe{static{this.\u0275fac=function(Me){return new(Me||Oe)}}static{this.\u0275dir=o.FsC({type:Oe,selectors:[["","matSnackBarLabel",""]],hostAttrs:[1,"mat-mdc-snack-bar-label","mdc-snackbar__label"]})}}return Oe})(),lt=(()=>{class Oe{static{this.\u0275fac=function(Me){return new(Me||Oe)}}static{this.\u0275dir=o.FsC({type:Oe,selectors:[["","matSnackBarActions",""]],hostAttrs:[1,"mat-mdc-snack-bar-actions","mdc-snackbar__actions"]})}}return Oe})(),V=(()=>{class Oe{static{this.\u0275fac=function(Me){return new(Me||Oe)}}static{this.\u0275dir=o.FsC({type:Oe,selectors:[["","matSnackBarAction",""]],hostAttrs:[1,"mat-mdc-snack-bar-action","mdc-snackbar__action"]})}}return Oe})(),mt=(()=>{class Oe{constructor(be,Me){this.snackBarRef=be,this.data=Me}action(){this.snackBarRef.dismissWithAction()}get hasAction(){return!!this.data.action}static{this.\u0275fac=function(Me){return new(Me||Oe)(o.rXU(bt),o.rXU(Gt))}}static{this.\u0275cmp=o.VBU({type:Oe,selectors:[["simple-snack-bar"]],hostAttrs:[1,"mat-mdc-simple-snack-bar"],exportAs:["matSnackBar"],decls:3,vars:2,consts:[["matSnackBarLabel",""],["matSnackBarActions","",4,"ngIf"],["matSnackBarActions",""],["mat-button","","matSnackBarAction","",3,"click"]],template:function(Me,yt){1&Me&&(o.j41(0,"div",0),o.EFF(1),o.k0s(),o.DNE(2,a,3,1,"div",1)),2&Me&&(o.R7$(1),o.SpI(" ",yt.data.message,"\n"),o.R7$(1),o.Y8G("ngIf",yt.hasAction))},dependencies:[b.bT,T.$z,$,lt,V],styles:[".mat-mdc-simple-snack-bar{display:flex}"],encapsulation:2,changeDetection:0})}}return Oe})();const rt={snackBarState:(0,k.hZ)("state",[(0,k.wk)("void, hidden",(0,k.iF)({transform:"scale(0.8)",opacity:0})),(0,k.wk)("visible",(0,k.iF)({transform:"scale(1)",opacity:1})),(0,k.kY)("* => visible",(0,k.i0)("150ms cubic-bezier(0, 0, 0.2, 1)")),(0,k.kY)("* => void, * => hidden",(0,k.i0)("75ms cubic-bezier(0.4, 0.0, 1, 1)",(0,k.iF)({opacity:0})))])};let $t=0,de=(()=>{class Oe extends G.lb{constructor(be,Me,yt,Kt,Nt){super(),this._ngZone=be,this._elementRef=Me,this._changeDetectorRef=yt,this._platform=Kt,this.snackBarConfig=Nt,this._document=(0,o.WQX)(b.qQ),this._trackedModals=new Set,this._announceDelay=150,this._destroyed=!1,this._onAnnounce=new y.B,this._onExit=new y.B,this._onEnter=new y.B,this._animationState="void",this._liveElementId="mat-snack-bar-container-live-"+$t++,this.attachDomPortal=Tt=>{this._assertNotAttached();const Yt=this._portalOutlet.attachDomPortal(Tt);return this._afterPortalAttached(),Yt},this._live="assertive"!==Nt.politeness||Nt.announcementMessage?"off"===Nt.politeness?"off":"polite":"assertive",this._platform.FIREFOX&&("polite"===this._live&&(this._role="status"),"assertive"===this._live&&(this._role="alert"))}attachComponentPortal(be){this._assertNotAttached();const Me=this._portalOutlet.attachComponentPortal(be);return this._afterPortalAttached(),Me}attachTemplatePortal(be){this._assertNotAttached();const Me=this._portalOutlet.attachTemplatePortal(be);return this._afterPortalAttached(),Me}onAnimationEnd(be){const{fromState:Me,toState:yt}=be;if(("void"===yt&&"void"!==Me||"hidden"===yt)&&this._completeExit(),"visible"===yt){const Kt=this._onEnter;this._ngZone.run(()=>{Kt.next(),Kt.complete()})}}enter(){this._destroyed||(this._animationState="visible",this._changeDetectorRef.detectChanges(),this._screenReaderAnnounce())}exit(){return this._ngZone.run(()=>{this._animationState="hidden",this._elementRef.nativeElement.setAttribute("mat-exit",""),clearTimeout(this._announceTimeoutId)}),this._onExit}ngOnDestroy(){this._destroyed=!0,this._clearFromModals(),this._completeExit()}_completeExit(){this._ngZone.onMicrotaskEmpty.pipe((0,Z.s)(1)).subscribe(()=>{this._ngZone.run(()=>{this._onExit.next(),this._onExit.complete()})})}_afterPortalAttached(){const be=this._elementRef.nativeElement,Me=this.snackBarConfig.panelClass;Me&&(Array.isArray(Me)?Me.forEach(yt=>be.classList.add(yt)):be.classList.add(Me)),this._exposeToModals()}_exposeToModals(){const be=this._liveElementId,Me=this._document.querySelectorAll('body > .cdk-overlay-container [aria-modal="true"]');for(let yt=0;yt{const Me=be.getAttribute("aria-owns");if(Me){const yt=Me.replace(this._liveElementId,"").trim();yt.length>0?be.setAttribute("aria-owns",yt):be.removeAttribute("aria-owns")}}),this._trackedModals.clear()}_assertNotAttached(){this._portalOutlet.hasAttached()}_screenReaderAnnounce(){this._announceTimeoutId||this._ngZone.runOutsideAngular(()=>{this._announceTimeoutId=setTimeout(()=>{const be=this._elementRef.nativeElement.querySelector("[aria-hidden]"),Me=this._elementRef.nativeElement.querySelector("[aria-live]");if(be&&Me){let yt=null;this._platform.isBrowser&&document.activeElement instanceof HTMLElement&&be.contains(document.activeElement)&&(yt=document.activeElement),be.removeAttribute("aria-hidden"),Me.appendChild(be),yt?.focus(),this._onAnnounce.next(),this._onAnnounce.complete()}},this._announceDelay)})}static{this.\u0275fac=function(Me){return new(Me||Oe)(o.rXU(o.SKi),o.rXU(o.aKT),o.rXU(o.gRc),o.rXU(P.OD),o.rXU(te))}}static{this.\u0275dir=o.FsC({type:Oe,viewQuery:function(Me,yt){if(1&Me&&o.GBs(G.I3,7),2&Me){let Kt;o.mGM(Kt=o.lsd())&&(yt._portalOutlet=Kt.first)}},features:[o.Vt3]})}}return Oe})(),_e=(()=>{class Oe extends de{_afterPortalAttached(){super._afterPortalAttached();const be=this._label.nativeElement,Me="mdc-snackbar__label";be.classList.toggle(Me,!be.querySelector(`.${Me}`))}static{this.\u0275fac=function(){let be;return function(yt){return(be||(be=o.xGo(Oe)))(yt||Oe)}}()}static{this.\u0275cmp=o.VBU({type:Oe,selectors:[["mat-snack-bar-container"]],viewQuery:function(Me,yt){if(1&Me&&o.GBs(pt,7),2&Me){let Kt;o.mGM(Kt=o.lsd())&&(yt._label=Kt.first)}},hostAttrs:[1,"mdc-snackbar","mat-mdc-snack-bar-container","mdc-snackbar--open"],hostVars:1,hostBindings:function(Me,yt){1&Me&&o.Kam("@state.done",function(Nt){return yt.onAnimationEnd(Nt)}),2&Me&&o.zvX("@state",yt._animationState)},features:[o.Vt3],decls:6,vars:3,consts:[[1,"mdc-snackbar__surface"],[1,"mat-mdc-snack-bar-label"],["label",""],["aria-hidden","true"],["cdkPortalOutlet",""]],template:function(Me,yt){1&Me&&(o.j41(0,"div",0)(1,"div",1,2)(3,"div",3),o.DNE(4,j,0,0,"ng-template",4),o.k0s(),o.nrm(5,"div"),o.k0s()()),2&Me&&(o.R7$(5),o.BMQ("aria-live",yt._live)("role",yt._role)("id",yt._liveElementId))},dependencies:[G.I3],styles:['.mdc-snackbar{display:none;position:fixed;right:0;bottom:0;left:0;align-items:center;justify-content:center;box-sizing:border-box;pointer-events:none;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mdc-snackbar--opening,.mdc-snackbar--open,.mdc-snackbar--closing{display:flex}.mdc-snackbar--open .mdc-snackbar__label,.mdc-snackbar--open .mdc-snackbar__actions{visibility:visible}.mdc-snackbar__surface{padding-left:0;padding-right:8px;display:flex;align-items:center;justify-content:flex-start;box-sizing:border-box;transform:scale(0.8);opacity:0}.mdc-snackbar__surface::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:1px solid rgba(0,0,0,0);border-radius:inherit;content:"";pointer-events:none}@media screen and (forced-colors: active){.mdc-snackbar__surface::before{border-color:CanvasText}}[dir=rtl] .mdc-snackbar__surface,.mdc-snackbar__surface[dir=rtl]{padding-left:8px;padding-right:0}.mdc-snackbar--open .mdc-snackbar__surface{transform:scale(1);opacity:1;pointer-events:auto}.mdc-snackbar--closing .mdc-snackbar__surface{transform:scale(1)}.mdc-snackbar__label{padding-left:16px;padding-right:8px;width:100%;flex-grow:1;box-sizing:border-box;margin:0;visibility:hidden;padding-top:14px;padding-bottom:14px}[dir=rtl] .mdc-snackbar__label,.mdc-snackbar__label[dir=rtl]{padding-left:8px;padding-right:16px}.mdc-snackbar__label::before{display:inline;content:attr(data-mdc-snackbar-label-text)}.mdc-snackbar__actions{display:flex;flex-shrink:0;align-items:center;box-sizing:border-box;visibility:hidden}.mdc-snackbar__action+.mdc-snackbar__dismiss{margin-left:8px;margin-right:0}[dir=rtl] .mdc-snackbar__action+.mdc-snackbar__dismiss,.mdc-snackbar__action+.mdc-snackbar__dismiss[dir=rtl]{margin-left:0;margin-right:8px}.mat-mdc-snack-bar-container{margin:8px;--mdc-snackbar-container-shape:4px;position:static}.mat-mdc-snack-bar-container .mdc-snackbar__surface{min-width:344px}@media(max-width: 480px),(max-width: 344px){.mat-mdc-snack-bar-container .mdc-snackbar__surface{min-width:100%}}@media(max-width: 480px),(max-width: 344px){.mat-mdc-snack-bar-container{width:100vw}}.mat-mdc-snack-bar-container .mdc-snackbar__surface{max-width:672px}.mat-mdc-snack-bar-container .mdc-snackbar__surface{box-shadow:0px 3px 5px -1px rgba(0, 0, 0, 0.2), 0px 6px 10px 0px rgba(0, 0, 0, 0.14), 0px 1px 18px 0px rgba(0, 0, 0, 0.12)}.mat-mdc-snack-bar-container .mdc-snackbar__surface{background-color:var(--mdc-snackbar-container-color)}.mat-mdc-snack-bar-container .mdc-snackbar__surface{border-radius:var(--mdc-snackbar-container-shape)}.mat-mdc-snack-bar-container .mdc-snackbar__label{color:var(--mdc-snackbar-supporting-text-color)}.mat-mdc-snack-bar-container .mdc-snackbar__label{font-size:var(--mdc-snackbar-supporting-text-size);font-family:var(--mdc-snackbar-supporting-text-font);font-weight:var(--mdc-snackbar-supporting-text-weight);line-height:var(--mdc-snackbar-supporting-text-line-height)}.mat-mdc-snack-bar-container .mat-mdc-button.mat-mdc-snack-bar-action:not(:disabled){color:var(--mat-snack-bar-button-color);--mat-mdc-button-persistent-ripple-color: currentColor}.mat-mdc-snack-bar-container .mat-mdc-button.mat-mdc-snack-bar-action:not(:disabled) .mat-ripple-element{background-color:currentColor;opacity:.1}.mat-mdc-snack-bar-container .mdc-snackbar__label::before{display:none}.mat-mdc-snack-bar-handset,.mat-mdc-snack-bar-container,.mat-mdc-snack-bar-label{flex:1 1 auto}.mat-mdc-snack-bar-handset .mdc-snackbar__surface{width:100%}'],encapsulation:2,data:{animation:[rt.snackBarState]}})}}return Oe})(),Le=(()=>{class Oe{static{this.\u0275fac=function(Me){return new(Me||Oe)}}static{this.\u0275mod=o.$C({type:Oe})}static{this.\u0275inj=o.G2t({imports:[K.z_,G.jc,b.MD,T.Hl,M.yE,M.yE]})}}return Oe})();const Xe=new o.nKC("mat-snack-bar-default-options",{providedIn:"root",factory:function Ge(){return new te}});let ye=(()=>{class Oe{get _openedSnackBarRef(){const be=this._parentSnackBar;return be?be._openedSnackBarRef:this._snackBarRefAtThisLevel}set _openedSnackBarRef(be){this._parentSnackBar?this._parentSnackBar._openedSnackBarRef=be:this._snackBarRefAtThisLevel=be}constructor(be,Me,yt,Kt,Nt,Tt){this._overlay=be,this._live=Me,this._injector=yt,this._breakpointObserver=Kt,this._parentSnackBar=Nt,this._defaultConfig=Tt,this._snackBarRefAtThisLevel=null}openFromComponent(be,Me){return this._attach(be,Me)}openFromTemplate(be,Me){return this._attach(be,Me)}open(be,Me="",yt){const Kt={...this._defaultConfig,...yt};return Kt.data={message:be,action:Me},Kt.announcementMessage===be&&(Kt.announcementMessage=void 0),this.openFromComponent(this.simpleSnackBarComponent,Kt)}dismiss(){this._openedSnackBarRef&&this._openedSnackBarRef.dismiss()}ngOnDestroy(){this._snackBarRefAtThisLevel&&this._snackBarRefAtThisLevel.dismiss()}_attachSnackBarContainer(be,Me){const Kt=o.zZn.create({parent:Me&&Me.viewContainerRef&&Me.viewContainerRef.injector||this._injector,providers:[{provide:te,useValue:Me}]}),Nt=new G.A8(this.snackBarContainerComponent,Me.viewContainerRef,Kt),Tt=be.attach(Nt);return Tt.instance.snackBarConfig=Me,Tt.instance}_attach(be,Me){const yt={...new te,...this._defaultConfig,...Me},Kt=this._createOverlay(yt),Nt=this._attachSnackBarContainer(Kt,yt),Tt=new bt(Nt,Kt);if(be instanceof o.C4Q){const Yt=new G.VA(be,null,{$implicit:yt.data,snackBarRef:Tt});Tt.instance=Nt.attachTemplatePortal(Yt)}else{const Yt=this._createInjector(yt,Tt),Ut=new G.A8(be,void 0,Yt),Ne=Nt.attachComponentPortal(Ut);Tt.instance=Ne.instance}return this._breakpointObserver.observe(q.Rp.HandsetPortrait).pipe((0,N.Q)(Kt.detachments())).subscribe(Yt=>{Kt.overlayElement.classList.toggle(this.handsetCssClass,Yt.matches)}),yt.announcementMessage&&Nt._onAnnounce.subscribe(()=>{this._live.announce(yt.announcementMessage,yt.politeness)}),this._animateSnackBar(Tt,yt),this._openedSnackBarRef=Tt,this._openedSnackBarRef}_animateSnackBar(be,Me){be.afterDismissed().subscribe(()=>{this._openedSnackBarRef==be&&(this._openedSnackBarRef=null),Me.announcementMessage&&this._live.clear()}),this._openedSnackBarRef?(this._openedSnackBarRef.afterDismissed().subscribe(()=>{be.containerInstance.enter()}),this._openedSnackBarRef.dismiss()):be.containerInstance.enter(),Me.duration&&Me.duration>0&&be.afterOpened().subscribe(()=>be._dismissAfter(Me.duration))}_createOverlay(be){const Me=new K.rR;Me.direction=be.direction;let yt=this._overlay.position().global();const Kt="rtl"===be.direction,Nt="left"===be.horizontalPosition||"start"===be.horizontalPosition&&!Kt||"end"===be.horizontalPosition&&Kt,Tt=!Nt&&"center"!==be.horizontalPosition;return Nt?yt.left("0"):Tt?yt.right("0"):yt.centerHorizontally(),"top"===be.verticalPosition?yt.top("0"):yt.bottom("0"),Me.positionStrategy=yt,this._overlay.create(Me)}_createInjector(be,Me){return o.zZn.create({parent:be&&be.viewContainerRef&&be.viewContainerRef.injector||this._injector,providers:[{provide:bt,useValue:Me},{provide:Gt,useValue:be.data}]})}static{this.\u0275fac=function(Me){return new(Me||Oe)(o.KVO(K.hJ),o.KVO(ot.Ai),o.KVO(o.zZn),o.KVO(q.QP),o.KVO(Oe,12),o.KVO(Xe))}}static{this.\u0275prov=o.jDH({token:Oe,factory:Oe.\u0275fac})}}return Oe})(),Ve=(()=>{class Oe extends ye{constructor(be,Me,yt,Kt,Nt,Tt){super(be,Me,yt,Kt,Nt,Tt),this.simpleSnackBarComponent=mt,this.snackBarContainerComponent=_e,this.handsetCssClass="mat-mdc-snack-bar-handset"}static{this.\u0275fac=function(Me){return new(Me||Oe)(o.KVO(K.hJ),o.KVO(ot.Ai),o.KVO(o.zZn),o.KVO(q.QP),o.KVO(Oe,12),o.KVO(Xe))}}static{this.\u0275prov=o.jDH({token:Oe,factory:Oe.\u0275fac,providedIn:Le})}}return Oe})()},83545:(Ce,Lt,r)=>{r.d(Lt,{KQ:()=>N,s5:()=>q});var o=r(1843),y=r(42250),b=r(29094),T=r(18331);const k=["*",[["mat-toolbar-row"]]],G=["*","mat-toolbar-row"],P=(0,y.Zc)(class{constructor(K){this._elementRef=K}});let Z=(()=>{class K{static{this.\u0275fac=function(pt){return new(pt||K)}}static{this.\u0275dir=o.FsC({type:K,selectors:[["mat-toolbar-row"]],hostAttrs:[1,"mat-toolbar-row"],exportAs:["matToolbarRow"]})}}return K})(),N=(()=>{class K extends P{constructor(a,pt,j){super(a),this._platform=pt,this._document=j}ngAfterViewInit(){this._platform.isBrowser&&(this._checkToolbarMixedModes(),this._toolbarRows.changes.subscribe(()=>this._checkToolbarMixedModes()))}_checkToolbarMixedModes(){}static{this.\u0275fac=function(pt){return new(pt||K)(o.rXU(o.aKT),o.rXU(b.OD),o.rXU(T.qQ))}}static{this.\u0275cmp=o.VBU({type:K,selectors:[["mat-toolbar"]],contentQueries:function(pt,j,J){if(1&pt&&o.wni(J,Z,5),2&pt){let bt;o.mGM(bt=o.lsd())&&(j._toolbarRows=bt)}},hostAttrs:[1,"mat-toolbar"],hostVars:4,hostBindings:function(pt,j){2&pt&&o.AVh("mat-toolbar-multiple-rows",j._toolbarRows.length>0)("mat-toolbar-single-row",0===j._toolbarRows.length)},inputs:{color:"color"},exportAs:["matToolbar"],features:[o.Vt3],ngContentSelectors:G,decls:2,vars:0,template:function(pt,j){1&pt&&(o.NAR(k),o.SdG(0),o.SdG(1,1))},styles:[".mat-toolbar{background:var(--mat-toolbar-container-background-color);color:var(--mat-toolbar-container-text-color)}.mat-toolbar,.mat-toolbar h1,.mat-toolbar h2,.mat-toolbar h3,.mat-toolbar h4,.mat-toolbar h5,.mat-toolbar h6{font-family:var(--mat-toolbar-title-text-font);font-size:var(--mat-toolbar-title-text-size);line-height:var(--mat-toolbar-title-text-line-height);font-weight:var(--mat-toolbar-title-text-weight);letter-spacing:var(--mat-toolbar-title-text-tracking);margin:0}.cdk-high-contrast-active .mat-toolbar{outline:solid 1px}.mat-toolbar .mat-form-field-underline,.mat-toolbar .mat-form-field-ripple,.mat-toolbar .mat-focused .mat-form-field-ripple{background-color:currentColor}.mat-toolbar .mat-form-field-label,.mat-toolbar .mat-focused .mat-form-field-label,.mat-toolbar .mat-select-value,.mat-toolbar .mat-select-arrow,.mat-toolbar .mat-form-field.mat-focused .mat-select-arrow{color:inherit}.mat-toolbar .mat-input-element{caret-color:currentColor}.mat-toolbar .mat-mdc-button-base.mat-mdc-button-base.mat-unthemed{--mdc-text-button-label-text-color: inherit;--mdc-outlined-button-label-text-color: inherit}.mat-toolbar-row,.mat-toolbar-single-row{display:flex;box-sizing:border-box;padding:0 16px;width:100%;flex-direction:row;align-items:center;white-space:nowrap;height:var(--mat-toolbar-standard-height)}@media(max-width: 599px){.mat-toolbar-row,.mat-toolbar-single-row{height:var(--mat-toolbar-mobile-height)}}.mat-toolbar-multiple-rows{display:flex;box-sizing:border-box;flex-direction:column;width:100%;min-height:var(--mat-toolbar-standard-height)}@media(max-width: 599px){.mat-toolbar-multiple-rows{min-height:var(--mat-toolbar-mobile-height)}}"],encapsulation:2,changeDetection:0})}}return K})(),q=(()=>{class K{static{this.\u0275fac=function(pt){return new(pt||K)}}static{this.\u0275mod=o.$C({type:K})}static{this.\u0275inj=o.G2t({imports:[y.yE,y.yE]})}}return K})()},71499:(Ce,Lt,r)=>{r.d(Lt,{B7:()=>$t,B8:()=>Kt,Bb:()=>Qt,hE:()=>je,up:()=>_n});var o=r(1843),y=r(18331);class b extends y.VF{constructor(){super(...arguments),this.supportsDOMEvents=!0}}class T extends b{static makeCurrent(){(0,y.ZD)(new T)}onAndCancel(Ct,U,A){return Ct.addEventListener(U,A),()=>{Ct.removeEventListener(U,A)}}dispatchEvent(Ct,U){Ct.dispatchEvent(U)}remove(Ct){Ct.parentNode&&Ct.parentNode.removeChild(Ct)}createElement(Ct,U){return(U=U||this.getDefaultDocument()).createElement(Ct)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(Ct){return Ct.nodeType===Node.ELEMENT_NODE}isShadowRoot(Ct){return Ct instanceof DocumentFragment}getGlobalEventTarget(Ct,U){return"window"===U?window:"document"===U?Ct:"body"===U?Ct.body:null}getBaseHref(Ct){const U=function G(){return k=k||document.querySelector("base"),k?k.getAttribute("href"):null}();return null==U?null:function Z(Zt){P=P||document.createElement("a"),P.setAttribute("href",Zt);const Ct=P.pathname;return"/"===Ct.charAt(0)?Ct:`/${Ct}`}(U)}resetBaseElement(){k=null}getUserAgent(){return window.navigator.userAgent}getCookie(Ct){return(0,y._b)(document.cookie,Ct)}}let P,k=null,ot=(()=>{class Zt{build(){return new XMLHttpRequest}static{this.\u0275fac=function(A){return new(A||Zt)}}static{this.\u0275prov=o.jDH({token:Zt,factory:Zt.\u0275fac})}}return Zt})();const q=new o.nKC("EventManagerPlugins");let K=(()=>{class Zt{constructor(U,A){this._zone=A,this._eventNameToPlugin=new Map,U.forEach(xt=>{xt.manager=this}),this._plugins=U.slice().reverse()}addEventListener(U,A,xt){return this._findPluginFor(A).addEventListener(U,A,xt)}getZone(){return this._zone}_findPluginFor(U){let A=this._eventNameToPlugin.get(U);if(A)return A;if(A=this._plugins.find(Jt=>Jt.supports(U)),!A)throw new o.wOt(5101,!1);return this._eventNameToPlugin.set(U,A),A}static{this.\u0275fac=function(A){return new(A||Zt)(o.KVO(q),o.KVO(o.SKi))}}static{this.\u0275prov=o.jDH({token:Zt,factory:Zt.\u0275fac})}}return Zt})();class M{constructor(Ct){this._doc=Ct}}const a="ng-app-id";let pt=(()=>{class Zt{constructor(U,A,xt,Jt={}){this.doc=U,this.appId=A,this.nonce=xt,this.platformId=Jt,this.styleRef=new Map,this.hostNodes=new Set,this.styleNodesInDOM=this.collectServerRenderedStyles(),this.platformIsServer=(0,y.Vy)(Jt),this.resetHostNodes()}addStyles(U){for(const A of U)1===this.changeUsageCount(A,1)&&this.onStyleAdded(A)}removeStyles(U){for(const A of U)this.changeUsageCount(A,-1)<=0&&this.onStyleRemoved(A)}ngOnDestroy(){const U=this.styleNodesInDOM;U&&(U.forEach(A=>A.remove()),U.clear());for(const A of this.getAllStyles())this.onStyleRemoved(A);this.resetHostNodes()}addHost(U){this.hostNodes.add(U);for(const A of this.getAllStyles())this.addStyleToHost(U,A)}removeHost(U){this.hostNodes.delete(U)}getAllStyles(){return this.styleRef.keys()}onStyleAdded(U){for(const A of this.hostNodes)this.addStyleToHost(A,U)}onStyleRemoved(U){const A=this.styleRef;A.get(U)?.elements?.forEach(xt=>xt.remove()),A.delete(U)}collectServerRenderedStyles(){const U=this.doc.head?.querySelectorAll(`style[${a}="${this.appId}"]`);if(U?.length){const A=new Map;return U.forEach(xt=>{null!=xt.textContent&&A.set(xt.textContent,xt)}),A}return null}changeUsageCount(U,A){const xt=this.styleRef;if(xt.has(U)){const Jt=xt.get(U);return Jt.usage+=A,Jt.usage}return xt.set(U,{usage:A,elements:[]}),A}getStyleElement(U,A){const xt=this.styleNodesInDOM,Jt=xt?.get(A);if(Jt?.parentNode===U)return xt.delete(A),Jt.removeAttribute(a),Jt;{const Fe=this.doc.createElement("style");return this.nonce&&Fe.setAttribute("nonce",this.nonce),Fe.textContent=A,this.platformIsServer&&Fe.setAttribute(a,this.appId),Fe}}addStyleToHost(U,A){const xt=this.getStyleElement(U,A);U.appendChild(xt);const Jt=this.styleRef,Fe=Jt.get(A)?.elements;Fe?Fe.push(xt):Jt.set(A,{elements:[xt],usage:1})}resetHostNodes(){const U=this.hostNodes;U.clear(),U.add(this.doc.head)}static{this.\u0275fac=function(A){return new(A||Zt)(o.KVO(y.qQ),o.KVO(o.sZ2),o.KVO(o.BIS,8),o.KVO(o.Agw))}}static{this.\u0275prov=o.jDH({token:Zt,factory:Zt.\u0275fac})}}return Zt})();const j={svg:"http://www.w3.org/2000/svg",xhtml:"http://www.w3.org/1999/xhtml",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/",math:"http://www.w3.org/1998/MathML/"},J=/%COMP%/g,lt=new o.nKC("RemoveStylesOnCompDestroy",{providedIn:"root",factory:()=>!1});function rt(Zt,Ct){return Ct.map(U=>U.replace(J,Zt))}let $t=(()=>{class Zt{constructor(U,A,xt,Jt,Fe,Ze,xn,Ie=null){this.eventManager=U,this.sharedStylesHost=A,this.appId=xt,this.removeStylesOnCompDestroy=Jt,this.doc=Fe,this.platformId=Ze,this.ngZone=xn,this.nonce=Ie,this.rendererByCompId=new Map,this.platformIsServer=(0,y.Vy)(Ze),this.defaultRenderer=new de(U,Fe,xn,this.platformIsServer)}createRenderer(U,A){if(!U||!A)return this.defaultRenderer;this.platformIsServer&&A.encapsulation===o.gXe.ShadowDom&&(A={...A,encapsulation:o.gXe.Emulated});const xt=this.getOrCreateRenderer(U,A);return xt instanceof Ve?xt.applyToHost(U):xt instanceof ye&&xt.applyStyles(),xt}getOrCreateRenderer(U,A){const xt=this.rendererByCompId;let Jt=xt.get(A.id);if(!Jt){const Fe=this.doc,Ze=this.ngZone,xn=this.eventManager,Ie=this.sharedStylesHost,Nn=this.removeStylesOnCompDestroy,Qn=this.platformIsServer;switch(A.encapsulation){case o.gXe.Emulated:Jt=new Ve(xn,Ie,A,this.appId,Nn,Fe,Ze,Qn);break;case o.gXe.ShadowDom:return new Xe(xn,Ie,U,A,Fe,Ze,this.nonce,Qn);default:Jt=new ye(xn,Ie,A,Nn,Fe,Ze,Qn)}xt.set(A.id,Jt)}return Jt}ngOnDestroy(){this.rendererByCompId.clear()}static{this.\u0275fac=function(A){return new(A||Zt)(o.KVO(K),o.KVO(pt),o.KVO(o.sZ2),o.KVO(lt),o.KVO(y.qQ),o.KVO(o.Agw),o.KVO(o.SKi),o.KVO(o.BIS))}}static{this.\u0275prov=o.jDH({token:Zt,factory:Zt.\u0275fac})}}return Zt})();class de{constructor(Ct,U,A,xt){this.eventManager=Ct,this.doc=U,this.ngZone=A,this.platformIsServer=xt,this.data=Object.create(null),this.destroyNode=null}destroy(){}createElement(Ct,U){return U?this.doc.createElementNS(j[U]||U,Ct):this.doc.createElement(Ct)}createComment(Ct){return this.doc.createComment(Ct)}createText(Ct){return this.doc.createTextNode(Ct)}appendChild(Ct,U){(Ge(Ct)?Ct.content:Ct).appendChild(U)}insertBefore(Ct,U,A){Ct&&(Ge(Ct)?Ct.content:Ct).insertBefore(U,A)}removeChild(Ct,U){Ct&&Ct.removeChild(U)}selectRootElement(Ct,U){let A="string"==typeof Ct?this.doc.querySelector(Ct):Ct;if(!A)throw new o.wOt(-5104,!1);return U||(A.textContent=""),A}parentNode(Ct){return Ct.parentNode}nextSibling(Ct){return Ct.nextSibling}setAttribute(Ct,U,A,xt){if(xt){U=xt+":"+U;const Jt=j[xt];Jt?Ct.setAttributeNS(Jt,U,A):Ct.setAttribute(U,A)}else Ct.setAttribute(U,A)}removeAttribute(Ct,U,A){if(A){const xt=j[A];xt?Ct.removeAttributeNS(xt,U):Ct.removeAttribute(`${A}:${U}`)}else Ct.removeAttribute(U)}addClass(Ct,U){Ct.classList.add(U)}removeClass(Ct,U){Ct.classList.remove(U)}setStyle(Ct,U,A,xt){xt&(o.czy.DashCase|o.czy.Important)?Ct.style.setProperty(U,A,xt&o.czy.Important?"important":""):Ct.style[U]=A}removeStyle(Ct,U,A){A&o.czy.DashCase?Ct.style.removeProperty(U):Ct.style[U]=""}setProperty(Ct,U,A){Ct[U]=A}setValue(Ct,U){Ct.nodeValue=U}listen(Ct,U,A){if("string"==typeof Ct&&!(Ct=(0,y.QT)().getGlobalEventTarget(this.doc,Ct)))throw new Error(`Unsupported event target ${Ct} for event ${U}`);return this.eventManager.addEventListener(Ct,U,this.decoratePreventDefault(A))}decoratePreventDefault(Ct){return U=>{if("__ngUnwrap__"===U)return Ct;!1===(this.platformIsServer?this.ngZone.runGuarded(()=>Ct(U)):Ct(U))&&U.preventDefault()}}}function Ge(Zt){return"TEMPLATE"===Zt.tagName&&void 0!==Zt.content}class Xe extends de{constructor(Ct,U,A,xt,Jt,Fe,Ze,xn){super(Ct,Jt,Fe,xn),this.sharedStylesHost=U,this.hostEl=A,this.shadowRoot=A.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const Ie=rt(xt.id,xt.styles);for(const Nn of Ie){const Qn=document.createElement("style");Ze&&Qn.setAttribute("nonce",Ze),Qn.textContent=Nn,this.shadowRoot.appendChild(Qn)}}nodeOrShadowRoot(Ct){return Ct===this.hostEl?this.shadowRoot:Ct}appendChild(Ct,U){return super.appendChild(this.nodeOrShadowRoot(Ct),U)}insertBefore(Ct,U,A){return super.insertBefore(this.nodeOrShadowRoot(Ct),U,A)}removeChild(Ct,U){return super.removeChild(this.nodeOrShadowRoot(Ct),U)}parentNode(Ct){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(Ct)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}}class ye extends de{constructor(Ct,U,A,xt,Jt,Fe,Ze,xn){super(Ct,Jt,Fe,Ze),this.sharedStylesHost=U,this.removeStylesOnCompDestroy=xt,this.styles=xn?rt(xn,A.styles):A.styles}applyStyles(){this.sharedStylesHost.addStyles(this.styles)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles)}}class Ve extends ye{constructor(Ct,U,A,xt,Jt,Fe,Ze,xn){const Ie=xt+"-"+A.id;super(Ct,U,A,Jt,Fe,Ze,xn,Ie),this.contentAttr=function V(Zt){return"_ngcontent-%COMP%".replace(J,Zt)}(Ie),this.hostAttr=function mt(Zt){return"_nghost-%COMP%".replace(J,Zt)}(Ie)}applyToHost(Ct){this.applyStyles(),this.setAttribute(Ct,this.hostAttr,"")}createElement(Ct,U){const A=super.createElement(Ct,U);return super.setAttribute(A,this.contentAttr,""),A}}let Oe=(()=>{class Zt extends M{constructor(U){super(U)}supports(U){return!0}addEventListener(U,A,xt){return U.addEventListener(A,xt,!1),()=>this.removeEventListener(U,A,xt)}removeEventListener(U,A,xt){return U.removeEventListener(A,xt)}static{this.\u0275fac=function(A){return new(A||Zt)(o.KVO(y.qQ))}}static{this.\u0275prov=o.jDH({token:Zt,factory:Zt.\u0275fac})}}return Zt})();const Qe=["alt","control","meta","shift"],be={"\b":"Backspace","\t":"Tab","\x7f":"Delete","\x1b":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},Me={alt:Zt=>Zt.altKey,control:Zt=>Zt.ctrlKey,meta:Zt=>Zt.metaKey,shift:Zt=>Zt.shiftKey};let yt=(()=>{class Zt extends M{constructor(U){super(U)}supports(U){return null!=Zt.parseEventName(U)}addEventListener(U,A,xt){const Jt=Zt.parseEventName(A),Fe=Zt.eventCallback(Jt.fullKey,xt,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>(0,y.QT)().onAndCancel(U,Jt.domEventName,Fe))}static parseEventName(U){const A=U.toLowerCase().split("."),xt=A.shift();if(0===A.length||"keydown"!==xt&&"keyup"!==xt)return null;const Jt=Zt._normalizeKey(A.pop());let Fe="",Ze=A.indexOf("code");if(Ze>-1&&(A.splice(Ze,1),Fe="code."),Qe.forEach(Ie=>{const Nn=A.indexOf(Ie);Nn>-1&&(A.splice(Nn,1),Fe+=Ie+".")}),Fe+=Jt,0!=A.length||0===Jt.length)return null;const xn={};return xn.domEventName=xt,xn.fullKey=Fe,xn}static matchEventFullKeyCode(U,A){let xt=be[U.key]||U.key,Jt="";return A.indexOf("code.")>-1&&(xt=U.code,Jt="code."),!(null==xt||!xt)&&(xt=xt.toLowerCase()," "===xt?xt="space":"."===xt&&(xt="dot"),Qe.forEach(Fe=>{Fe!==xt&&(0,Me[Fe])(U)&&(Jt+=Fe+".")}),Jt+=xt,Jt===A)}static eventCallback(U,A,xt){return Jt=>{Zt.matchEventFullKeyCode(Jt,U)&&xt.runGuarded(()=>A(Jt))}}static _normalizeKey(U){return"esc"===U?"escape":U}static{this.\u0275fac=function(A){return new(A||Zt)(o.KVO(y.qQ))}}static{this.\u0275prov=o.jDH({token:Zt,factory:Zt.\u0275fac})}}return Zt})();function Kt(Zt,Ct){return(0,o.TL3)({rootComponent:Zt,...Tt(Ct)})}function Tt(Zt){return{appProviders:[...oe,...Zt?.providers??[]],platformProviders:un}}const un=[{provide:o.Agw,useValue:y.AJ},{provide:o.PLl,useValue:function Ut(){T.makeCurrent()},multi:!0},{provide:y.qQ,useFactory:function ke(){return(0,o.TL$)(document),document},deps:[]}],le=new o.nKC(""),Vt=[{provide:o.e01,useClass:class N{addToWindow(Ct){o.JZv.getAngularTestability=(A,xt=!0)=>{const Jt=Ct.findTestabilityInTree(A,xt);if(null==Jt)throw new o.wOt(5103,!1);return Jt},o.JZv.getAllAngularTestabilities=()=>Ct.getAllTestabilities(),o.JZv.getAllAngularRootElements=()=>Ct.getAllRootElements(),o.JZv.frameworkStabilizers||(o.JZv.frameworkStabilizers=[]),o.JZv.frameworkStabilizers.push(A=>{const xt=o.JZv.getAllAngularTestabilities();let Jt=xt.length,Fe=!1;const Ze=function(xn){Fe=Fe||xn,Jt--,0==Jt&&A(Fe)};xt.forEach(xn=>{xn.whenStable(Ze)})})}findTestabilityInTree(Ct,U,A){return null==U?null:Ct.getTestability(U)??(A?(0,y.QT)().isShadowRoot(U)?this.findTestabilityInTree(Ct,U.host,!0):this.findTestabilityInTree(Ct,U.parentElement,!0):null)}},deps:[]},{provide:o.WHO,useClass:o.NYb,deps:[o.SKi,o.giA,o.e01]},{provide:o.NYb,useClass:o.NYb,deps:[o.SKi,o.giA,o.e01]}],oe=[{provide:o.H8p,useValue:"root"},{provide:o.zcH,useFactory:function Ne(){return new o.zcH},deps:[]},{provide:q,useClass:Oe,multi:!0,deps:[y.qQ,o.SKi,o.Agw]},{provide:q,useClass:yt,multi:!0,deps:[y.qQ]},$t,pt,K,{provide:o._9s,useExisting:$t},{provide:y.N0,useClass:ot,deps:[]},[]];let Qt=(()=>{class Zt{constructor(U){}static withServerTransition(U){return{ngModule:Zt,providers:[{provide:o.sZ2,useValue:U.appId}]}}static{this.\u0275fac=function(A){return new(A||Zt)(o.KVO(le,12))}}static{this.\u0275mod=o.$C({type:Zt})}static{this.\u0275inj=o.G2t({providers:[...oe,...Vt],imports:[y.MD,o.Hbi]})}}return Zt})(),je=(()=>{class Zt{constructor(U){this._doc=U}getTitle(){return this._doc.title}setTitle(U){this._doc.title=U||""}static{this.\u0275fac=function(A){return new(A||Zt)(o.KVO(y.qQ))}}static{this.\u0275prov=o.jDH({token:Zt,factory:function(A){let xt=null;return xt=A?new A:function ce(){return new je((0,o.KVO)(y.qQ))}(),xt},providedIn:"root"})}}return Zt})();typeof window<"u"&&window;let _n=(()=>{class Zt{static{this.\u0275fac=function(A){return new(A||Zt)}}static{this.\u0275prov=o.jDH({token:Zt,factory:function(A){let xt=null;return xt=A?new(A||Zt):o.KVO(fe),xt},providedIn:"root"})}}return Zt})(),fe=(()=>{class Zt extends _n{constructor(U){super(),this._doc=U}sanitize(U,A){if(null==A)return null;switch(U){case o.WPN.NONE:return A;case o.WPN.HTML:return(0,o.ZF7)(A,"HTML")?(0,o.rcV)(A):(0,o.h9k)(this._doc,String(A)).toString();case o.WPN.STYLE:return(0,o.ZF7)(A,"Style")?(0,o.rcV)(A):A;case o.WPN.SCRIPT:if((0,o.ZF7)(A,"Script"))return(0,o.rcV)(A);throw new o.wOt(5200,!1);case o.WPN.URL:return(0,o.ZF7)(A,"URL")?(0,o.rcV)(A):(0,o.$MX)(String(A));case o.WPN.RESOURCE_URL:if((0,o.ZF7)(A,"ResourceURL"))return(0,o.rcV)(A);throw new o.wOt(5201,!1);default:throw new o.wOt(5202,!1)}}bypassSecurityTrustHtml(U){return(0,o.Kcf)(U)}bypassSecurityTrustStyle(U){return(0,o.cWb)(U)}bypassSecurityTrustScript(U){return(0,o.UyX)(U)}bypassSecurityTrustUrl(U){return(0,o.osQ)(U)}bypassSecurityTrustResourceUrl(U){return(0,o.e5t)(U)}static{this.\u0275fac=function(A){return new(A||Zt)(o.KVO(y.qQ))}}static{this.\u0275prov=o.jDH({token:Zt,factory:function(A){let xt=null;return xt=A?new A:function hn(Zt){return new fe(Zt.get(y.qQ))}(o.KVO(o.zZn)),xt},providedIn:"root"})}}return Zt})()},11863:(Ce,Lt,r)=>{r.d(Lt,{nX:()=>ci,j5:()=>Fi,wF:()=>pi,L6:()=>Ti,Z:()=>Mi,Ix:()=>Ci,Wk:()=>io,iI:()=>vs,n3:()=>Hn,lh:()=>Ue,GB:()=>$c,we:()=>zo});var o=r(1843),y=r(1396),b=r(61550),T=r(73151),k=r(85390),G=r(17434),P=r(90308),Z=r(81171),N=r(19424),ot=r(39521),q=r(80972),K=r(33697),M=r(3979),a=r(89115),pt=r(52693),j=r(18331),J=r(12324),bt=r(57588),Gt=r(89371),te=r(28930),$=r(98474),lt=r(40426),V=r(33280),mt=r(37018);function rt(g){return(0,V.N)((x,h)=>{let C=!1;x.subscribe((0,mt._)(h,z=>{C=!0,h.next(z)},()=>{C||h.next(g),h.complete()}))})}function $t(g=de){return(0,V.N)((x,h)=>{let C=!1;x.subscribe((0,mt._)(h,z=>{C=!0,h.next(z)},()=>C?h.complete():h.error(g())))})}function de(){return new P.G}var _e=r(75239);function Le(g,x){const h=arguments.length>=2;return C=>C.pipe(g?(0,$.p)((z,nt)=>g(z,nt,C)):_e.D,(0,Gt.s)(1),h?rt(x):$t(()=>new P.G))}var Ge=r(90940),Xe=r(14087),ye=r(52483),Ve=r(22135);function Qe(g){return g<=0?()=>K.w:(0,V.N)((x,h)=>{let C=[];x.subscribe((0,mt._)(h,z=>{C.push(z),g{for(const z of C)h.next(z);h.complete()},void 0,()=>{C=null}))})}var Me=r(45221),yt=r(91974),Kt=r(7700),Nt=r(73907),Tt=r(32659),Yt=r(71499);const Ut="primary",Ne=Symbol("RouteTitle");class ke{constructor(x){this.params=x||{}}has(x){return Object.prototype.hasOwnProperty.call(this.params,x)}get(x){if(this.has(x)){const h=this.params[x];return Array.isArray(h)?h[0]:h}return null}getAll(x){if(this.has(x)){const h=this.params[x];return Array.isArray(h)?h:[h]}return[]}get keys(){return Object.keys(this.params)}}function un(g){return new ke(g)}function gt(g,x,h){const C=h.path.split("/");if(C.length>g.length||"full"===h.pathMatch&&(x.hasChildren()||C.lengthC[nt]===z)}return g===x}function Qt(g){return g.length>0?g[g.length-1]:null}function Et(g){return(0,y.A)(g)?g:(0,o.jNT)(g)?(0,b.H)(Promise.resolve(g)):(0,T.of)(g)}const re={exact:function Ht(g,x,h){if(!X(g.segments,x.segments)||!st(g.segments,x.segments,h)||g.numberOfChildren!==x.numberOfChildren)return!1;for(const C in x.children)if(!g.children[C]||!Ht(g.children[C],x.children[C],h))return!1;return!0},subset:at},Ee={exact:function je(g,x){return Vt(g,x)},subset:function ne(g,x){return Object.keys(x).length<=Object.keys(g).length&&Object.keys(x).every(h=>oe(g[h],x[h]))},ignored:()=>!0};function ce(g,x,h){return re[h.paths](g.root,x.root,h.matrixParams)&&Ee[h.queryParams](g.queryParams,x.queryParams)&&!("exact"===h.fragment&&g.fragment!==x.fragment)}function at(g,x,h){return H(g,x,x.segments,h)}function H(g,x,h,C){if(g.segments.length>h.length){const z=g.segments.slice(0,h.length);return!(!X(z,h)||x.hasChildren()||!st(z,h,C))}if(g.segments.length===h.length){if(!X(g.segments,h)||!st(g.segments,h,C))return!1;for(const z in x.children)if(!g.children[z]||!at(g.children[z],x.children[z],C))return!1;return!0}{const z=h.slice(0,g.segments.length),nt=h.slice(g.segments.length);return!!(X(g.segments,z)&&st(g.segments,z,C)&&g.children[Ut])&&H(g.children[Ut],x,nt,C)}}function st(g,x,h){return x.every((C,z)=>Ee[h](g[z].parameters,C.parameters))}class zt{constructor(x=new vt([],{}),h={},C=null){this.root=x,this.queryParams=h,this.fragment=C}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=un(this.queryParams)),this._queryParamMap}toString(){return Te.serialize(this)}}class vt{constructor(x,h){this.segments=x,this.children=h,this.parent=null,Object.values(h).forEach(C=>C.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return Ke(this)}}class kt{constructor(x,h){this.path=x,this.parameters=h}get parameterMap(){return this._parameterMap||(this._parameterMap=un(this.parameters)),this._parameterMap}toString(){return Dt(this)}}function X(g,x){return g.length===x.length&&g.every((h,C)=>h.path===x[C].path)}let Ot=(()=>{class g{static{this.\u0275fac=function(C){return new(C||g)}}static{this.\u0275prov=o.jDH({token:g,factory:function(){return new xe},providedIn:"root"})}}return g})();class xe{parse(x){const h=new Fe(x);return new zt(h.parseRootSegment(),h.parseQueryParams(),h.parseFragment())}serialize(x){const h=`/${on(x.root,!0)}`,C=function Rt(g){const x=Object.keys(g).map(h=>{const C=g[h];return Array.isArray(C)?C.map(z=>`${hn(h)}=${hn(z)}`).join("&"):`${hn(h)}=${hn(C)}`}).filter(h=>!!h);return x.length?`?${x.join("&")}`:""}(x.queryParams);return`${h}${C}${"string"==typeof x.fragment?`#${function fe(g){return encodeURI(g)}(x.fragment)}`:""}`}}const Te=new xe;function Ke(g){return g.segments.map(x=>Dt(x)).join("/")}function on(g,x){if(!g.hasChildren())return Ke(g);if(x){const h=g.children[Ut]?on(g.children[Ut],!1):"",C=[];return Object.entries(g.children).forEach(([z,nt])=>{z!==Ut&&C.push(`${z}:${on(nt,!1)}`)}),C.length>0?`${h}(${C.join("//")})`:h}{const h=function ft(g,x){let h=[];return Object.entries(g.children).forEach(([C,z])=>{C===Ut&&(h=h.concat(x(z,C)))}),Object.entries(g.children).forEach(([C,z])=>{C!==Ut&&(h=h.concat(x(z,C)))}),h}(g,(C,z)=>z===Ut?[on(g.children[Ut],!1)]:[`${z}:${on(C,!1)}`]);return 1===Object.keys(g.children).length&&null!=g.children[Ut]?`${Ke(g)}/${h[0]}`:`${Ke(g)}/(${h.join("//")})`}}function _n(g){return encodeURIComponent(g).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function hn(g){return _n(g).replace(/%3B/gi,";")}function cn(g){return _n(g).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function me(g){return decodeURIComponent(g)}function jt(g){return me(g.replace(/\+/g,"%20"))}function Dt(g){return`${cn(g.path)}${function dt(g){return Object.keys(g).map(x=>`;${cn(x)}=${cn(g[x])}`).join("")}(g.parameters)}`}const ae=/^[^\/()?;#]+/;function ze(g){const x=g.match(ae);return x?x[0]:""}const Zt=/^[^\/()?;=#]+/,U=/^[^=?&#]+/,xt=/^[^&#]+/;class Fe{constructor(x){this.url=x,this.remaining=x}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new vt([],{}):new vt([],this.parseChildren())}parseQueryParams(){const x={};if(this.consumeOptional("?"))do{this.parseQueryParam(x)}while(this.consumeOptional("&"));return x}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(""===this.remaining)return{};this.consumeOptional("/");const x=[];for(this.peekStartsWith("(")||x.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),x.push(this.parseSegment());let h={};this.peekStartsWith("/(")&&(this.capture("/"),h=this.parseParens(!0));let C={};return this.peekStartsWith("(")&&(C=this.parseParens(!1)),(x.length>0||Object.keys(h).length>0)&&(C[Ut]=new vt(x,h)),C}parseSegment(){const x=ze(this.remaining);if(""===x&&this.peekStartsWith(";"))throw new o.wOt(4009,!1);return this.capture(x),new kt(me(x),this.parseMatrixParams())}parseMatrixParams(){const x={};for(;this.consumeOptional(";");)this.parseParam(x);return x}parseParam(x){const h=function Ct(g){const x=g.match(Zt);return x?x[0]:""}(this.remaining);if(!h)return;this.capture(h);let C="";if(this.consumeOptional("=")){const z=ze(this.remaining);z&&(C=z,this.capture(C))}x[me(h)]=me(C)}parseQueryParam(x){const h=function A(g){const x=g.match(U);return x?x[0]:""}(this.remaining);if(!h)return;this.capture(h);let C="";if(this.consumeOptional("=")){const It=function Jt(g){const x=g.match(xt);return x?x[0]:""}(this.remaining);It&&(C=It,this.capture(C))}const z=jt(h),nt=jt(C);if(x.hasOwnProperty(z)){let It=x[z];Array.isArray(It)||(It=[It],x[z]=It),It.push(nt)}else x[z]=nt}parseParens(x){const h={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const C=ze(this.remaining),z=this.remaining[C.length];if("/"!==z&&")"!==z&&";"!==z)throw new o.wOt(4010,!1);let nt;C.indexOf(":")>-1?(nt=C.slice(0,C.indexOf(":")),this.capture(nt),this.capture(":")):x&&(nt=Ut);const It=this.parseChildren();h[nt]=1===Object.keys(It).length?It[Ut]:new vt([],It),this.consumeOptional("//")}return h}peekStartsWith(x){return this.remaining.startsWith(x)}consumeOptional(x){return!!this.peekStartsWith(x)&&(this.remaining=this.remaining.substring(x.length),!0)}capture(x){if(!this.consumeOptional(x))throw new o.wOt(4011,!1)}}function Ze(g){return g.segments.length>0?new vt([],{[Ut]:g}):g}function xn(g){const x={};for(const C of Object.keys(g.children)){const nt=xn(g.children[C]);if(C===Ut&&0===nt.segments.length&&nt.hasChildren())for(const[It,ge]of Object.entries(nt.children))x[It]=ge;else(nt.segments.length>0||nt.hasChildren())&&(x[C]=nt)}return function Ie(g){if(1===g.numberOfChildren&&g.children[Ut]){const x=g.children[Ut];return new vt(g.segments.concat(x.segments),x.children)}return g}(new vt(g.segments,x))}function Nn(g){return g instanceof zt}function ee(g){let x;const z=Ze(function h(nt){const It={};for(const pe of nt.children){const Je=h(pe);It[pe.outlet]=Je}const ge=new vt(nt.url,It);return nt===g&&(x=ge),ge}(g.root));return x??z}function I(g,x,h,C){let z=g;for(;z.parent;)z=z.parent;if(0===x.length)return Mt(z,z,z,h,C);const nt=function De(g){if("string"==typeof g[0]&&1===g.length&&"/"===g[0])return new se(!0,0,g);let x=0,h=!1;const C=g.reduce((z,nt,It)=>{if("object"==typeof nt&&null!=nt){if(nt.outlets){const ge={};return Object.entries(nt.outlets).forEach(([pe,Je])=>{ge[pe]="string"==typeof Je?Je.split("/"):Je}),[...z,{outlets:ge}]}if(nt.segmentPath)return[...z,nt.segmentPath]}return"string"!=typeof nt?[...z,nt]:0===It?(nt.split("/").forEach((ge,pe)=>{0==pe&&"."===ge||(0==pe&&""===ge?h=!0:".."===ge?x++:""!=ge&&z.push(ge))}),z):[...z,nt]},[]);return new se(h,x,C)}(x);if(nt.toRoot())return Mt(z,z,new vt([],{}),h,C);const It=function Ye(g,x,h){if(g.isAbsolute)return new ve(x,!0,0);if(!h)return new ve(x,!1,NaN);if(null===h.parent)return new ve(h,!0,0);const C=_t(g.commands[0])?0:1;return function tn(g,x,h){let C=g,z=x,nt=h;for(;nt>z;){if(nt-=z,C=C.parent,!C)throw new o.wOt(4005,!1);z=C.segments.length}return new ve(C,!1,z-nt)}(h,h.segments.length-1+C,g.numberOfDoubleDots)}(nt,z,g),ge=It.processChildren?Dn(It.segmentGroup,It.index,nt.commands):ln(It.segmentGroup,It.index,nt.commands);return Mt(z,It.segmentGroup,ge,h,C)}function _t(g){return"object"==typeof g&&null!=g&&!g.outlets&&!g.segmentPath}function Q(g){return"object"==typeof g&&null!=g&&g.outlets}function Mt(g,x,h,C,z){let It,nt={};C&&Object.entries(C).forEach(([pe,Je])=>{nt[pe]=Array.isArray(Je)?Je.map(An=>`${An}`):`${Je}`}),It=g===x?h:Wt(g,x,h);const ge=Ze(xn(It));return new zt(ge,nt,z)}function Wt(g,x,h){const C={};return Object.entries(g.children).forEach(([z,nt])=>{C[z]=nt===x?h:Wt(nt,x,h)}),new vt(g.segments,C)}class se{constructor(x,h,C){if(this.isAbsolute=x,this.numberOfDoubleDots=h,this.commands=C,x&&C.length>0&&_t(C[0]))throw new o.wOt(4003,!1);const z=C.find(Q);if(z&&z!==Qt(C))throw new o.wOt(4004,!1)}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class ve{constructor(x,h,C){this.segmentGroup=x,this.processChildren=h,this.index=C}}function ln(g,x,h){if(g||(g=new vt([],{})),0===g.segments.length&&g.hasChildren())return Dn(g,x,h);const C=function Fn(g,x,h){let C=0,z=x;const nt={match:!1,pathIndex:0,commandIndex:0};for(;z=h.length)return nt;const It=g.segments[z],ge=h[C];if(Q(ge))break;const pe=`${ge}`,Je=C0&&void 0===pe)break;if(pe&&Je&&"object"==typeof Je&&void 0===Je.outlets){if(!yi(pe,Je,It))return nt;C+=2}else{if(!yi(pe,{},It))return nt;C++}z++}return{match:!0,pathIndex:z,commandIndex:C}}(g,x,h),z=h.slice(C.commandIndex);if(C.match&&C.pathIndexnt!==Ut)&&g.children[Ut]&&1===g.numberOfChildren&&0===g.children[Ut].segments.length){const nt=Dn(g.children[Ut],x,h);return new vt(g.segments,nt.children)}return Object.entries(C).forEach(([nt,It])=>{"string"==typeof It&&(It=[It]),null!==It&&(z[nt]=ln(g.children[nt],x,It))}),Object.entries(g.children).forEach(([nt,It])=>{void 0===C[nt]&&(z[nt]=It)}),new vt(g.segments,z)}}function Mn(g,x,h){const C=g.segments.slice(0,x);let z=0;for(;z{"string"==typeof C&&(C=[C]),null!==C&&(x[h]=Mn(new vt([],{}),0,C))}),x}function li(g){const x={};return Object.entries(g).forEach(([h,C])=>x[h]=`${C}`),x}function yi(g,x,h){return g==h.path&&Vt(x,h.parameters)}const Bn="imperative";class Jn{constructor(x,h){this.id=x,this.url=h}}class Mi extends Jn{constructor(x,h,C="imperative",z=null){super(x,h),this.type=0,this.navigationTrigger=C,this.restoredState=z}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class pi extends Jn{constructor(x,h,C){super(x,h),this.urlAfterRedirects=C,this.type=1}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}class Fi extends Jn{constructor(x,h,C,z){super(x,h),this.reason=C,this.code=z,this.type=2}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class oi extends Jn{constructor(x,h,C,z){super(x,h),this.reason=C,this.code=z,this.type=16}}class Ti extends Jn{constructor(x,h,C,z){super(x,h),this.error=C,this.target=z,this.type=3}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class Mo extends Jn{constructor(x,h,C,z){super(x,h),this.urlAfterRedirects=C,this.state=z,this.type=4}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class si extends Jn{constructor(x,h,C,z){super(x,h),this.urlAfterRedirects=C,this.state=z,this.type=7}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Zc extends Jn{constructor(x,h,C,z,nt){super(x,h),this.urlAfterRedirects=C,this.state=z,this.shouldActivate=nt,this.type=8}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}}class dc extends Jn{constructor(x,h,C,z){super(x,h),this.urlAfterRedirects=C,this.state=z,this.type=5}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class kr extends Jn{constructor(x,h,C,z){super(x,h),this.urlAfterRedirects=C,this.state=z,this.type=6}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class uo{constructor(x){this.route=x,this.type=9}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class Jo{constructor(x){this.route=x,this.type=10}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class uc{constructor(x){this.snapshot=x,this.type=11}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class wo{constructor(x){this.snapshot=x,this.type=12}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Jc{constructor(x){this.snapshot=x,this.type=13}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Oi{constructor(x){this.snapshot=x,this.type=14}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class mc{constructor(x,h,C){this.routerEvent=x,this.position=h,this.anchor=C,this.type=15}toString(){return`Scroll(anchor: '${this.anchor}', position: '${this.position?`${this.position[0]}, ${this.position[1]}`:null}')`}}class Bo{}class Vo{constructor(x){this.url=x}}class Bc{constructor(){this.outlet=null,this.route=null,this.injector=null,this.children=new Ji,this.attachRef=null}}let Ji=(()=>{class g{constructor(){this.contexts=new Map}onChildOutletCreated(h,C){const z=this.getOrCreateContext(h);z.outlet=C,this.contexts.set(h,z)}onChildOutletDestroyed(h){const C=this.getContext(h);C&&(C.outlet=null,C.attachRef=null)}onOutletDeactivated(){const h=this.contexts;return this.contexts=new Map,h}onOutletReAttached(h){this.contexts=h}getOrCreateContext(h){let C=this.getContext(h);return C||(C=new Bc,this.contexts.set(h,C)),C}getContext(h){return this.contexts.get(h)||null}static{this.\u0275fac=function(C){return new(C||g)}}static{this.\u0275prov=o.jDH({token:g,factory:g.\u0275fac,providedIn:"root"})}}return g})();class fc{constructor(x){this._root=x}get root(){return this._root.value}parent(x){const h=this.pathFromRoot(x);return h.length>1?h[h.length-2]:null}children(x){const h=Uo(x,this._root);return h?h.children.map(C=>C.value):[]}firstChild(x){const h=Uo(x,this._root);return h&&h.children.length>0?h.children[0].value:null}siblings(x){const h=Lo(x,this._root);return h.length<2?[]:h[h.length-2].children.map(z=>z.value).filter(z=>z!==x)}pathFromRoot(x){return Lo(x,this._root).map(h=>h.value)}}function Uo(g,x){if(g===x.value)return x;for(const h of x.children){const C=Uo(g,h);if(C)return C}return null}function Lo(g,x){if(g===x.value)return[x];for(const h of x.children){const C=Lo(g,h);if(C.length)return C.unshift(x),C}return[]}class Ii{constructor(x,h){this.value=x,this.children=h}toString(){return`TreeNode(${this.value})`}}function En(g){const x={};return g&&g.children.forEach(h=>x[h.value.outlet]=h),x}class di extends fc{constructor(x,h){super(x),this.snapshot=h,qo(this,x)}toString(){return this.snapshot.toString()}}function ei(g,x){const h=function Eo(g,x){const It=new Oo([],{},{},"",{},Ut,x,null,{});return new mo("",new Ii(It,[]))}(0,x),C=new k.t([new kt("",{})]),z=new k.t({}),nt=new k.t({}),It=new k.t({}),ge=new k.t(""),pe=new ci(C,z,It,ge,nt,Ut,x,h.root);return pe.snapshot=h.root,new di(new Ii(pe,[]),h)}class ci{constructor(x,h,C,z,nt,It,ge,pe){this.urlSubject=x,this.paramsSubject=h,this.queryParamsSubject=C,this.fragmentSubject=z,this.dataSubject=nt,this.outlet=It,this.component=ge,this._futureSnapshot=pe,this.title=this.dataSubject?.pipe((0,J.T)(Je=>Je[Ne]))??(0,T.of)(void 0),this.url=x,this.params=h,this.queryParams=C,this.fragment=z,this.data=nt}get routeConfig(){return this._futureSnapshot.routeConfig}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap||(this._paramMap=this.params.pipe((0,J.T)(x=>un(x)))),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe((0,J.T)(x=>un(x)))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function Wi(g,x="emptyOnly"){const h=g.pathFromRoot;let C=0;if("always"!==x)for(C=h.length-1;C>=1;){const z=h[C],nt=h[C-1];if(z.routeConfig&&""===z.routeConfig.path)C--;else{if(nt.component)break;C--}}return function Do(g){return g.reduce((x,h)=>({params:{...x.params,...h.params},data:{...x.data,...h.data},resolve:{...h.data,...x.resolve,...h.routeConfig?.data,...h._resolvedData}}),{params:{},data:{},resolve:{}})}(h.slice(C))}class Oo{get title(){return this.data?.[Ne]}constructor(x,h,C,z,nt,It,ge,pe,Je){this.url=x,this.params=h,this.queryParams=C,this.fragment=z,this.data=nt,this.outlet=It,this.component=ge,this.routeConfig=pe,this._resolve=Je}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap||(this._paramMap=un(this.params)),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=un(this.queryParams)),this._queryParamMap}toString(){return`Route(url:'${this.url.map(C=>C.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class mo extends fc{constructor(x,h){super(h),this.url=x,qo(this,h)}toString(){return qn(this._root)}}function qo(g,x){x.value._routerState=g,x.children.forEach(h=>qo(g,h))}function qn(g){const x=g.children.length>0?` { ${g.children.map(qn).join(", ")} } `:"";return`${g.value}${x}`}function We(g){if(g.snapshot){const x=g.snapshot,h=g._futureSnapshot;g.snapshot=h,Vt(x.queryParams,h.queryParams)||g.queryParamsSubject.next(h.queryParams),x.fragment!==h.fragment&&g.fragmentSubject.next(h.fragment),Vt(x.params,h.params)||g.paramsSubject.next(h.params),function le(g,x){if(g.length!==x.length)return!1;for(let h=0;hVt(h.parameters,x[C].parameters))}(g.url,x.url);return h&&!(!g.parent!=!x.parent)&&(!g.parent||Cn(g.parent,x.parent))}let Hn=(()=>{class g{constructor(){this.activated=null,this._activatedRoute=null,this.name=Ut,this.activateEvents=new o.bkB,this.deactivateEvents=new o.bkB,this.attachEvents=new o.bkB,this.detachEvents=new o.bkB,this.parentContexts=(0,o.WQX)(Ji),this.location=(0,o.WQX)(o.c1b),this.changeDetector=(0,o.WQX)(o.gRc),this.environmentInjector=(0,o.WQX)(o.uvJ),this.inputBinder=(0,o.WQX)(Bi,{optional:!0}),this.supportsBindingToComponentInputs=!0}get activatedComponentRef(){return this.activated}ngOnChanges(h){if(h.name){const{firstChange:C,previousValue:z}=h.name;if(C)return;this.isTrackedInParentContexts(z)&&(this.deactivate(),this.parentContexts.onChildOutletDestroyed(z)),this.initializeOutletWithName()}}ngOnDestroy(){this.isTrackedInParentContexts(this.name)&&this.parentContexts.onChildOutletDestroyed(this.name),this.inputBinder?.unsubscribeFromRouteData(this)}isTrackedInParentContexts(h){return this.parentContexts.getContext(h)?.outlet===this}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(this.parentContexts.onChildOutletCreated(this.name,this),this.activated)return;const h=this.parentContexts.getContext(this.name);h?.route&&(h.attachRef?this.attach(h.attachRef,h.route):this.activateWith(h.route,h.injector))}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new o.wOt(4012,!1);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new o.wOt(4012,!1);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new o.wOt(4012,!1);this.location.detach();const h=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(h.instance),h}attach(h,C){this.activated=h,this._activatedRoute=C,this.location.insert(h.hostView),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.attachEvents.emit(h.instance)}deactivate(){if(this.activated){const h=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(h)}}activateWith(h,C){if(this.isActivated)throw new o.wOt(4013,!1);this._activatedRoute=h;const z=this.location,It=h.snapshot.component,ge=this.parentContexts.getOrCreateContext(this.name).children,pe=new Si(h,ge,z.injector);this.activated=z.createComponent(It,{index:z.length,injector:pe,environmentInjector:C??this.environmentInjector}),this.changeDetector.markForCheck(),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.activateEvents.emit(this.activated.instance)}static{this.\u0275fac=function(C){return new(C||g)}}static{this.\u0275dir=o.FsC({type:g,selectors:[["router-outlet"]],inputs:{name:"name"},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],standalone:!0,features:[o.OA$]})}}return g})();class Si{constructor(x,h,C){this.route=x,this.childContexts=h,this.parent=C}get(x,h){return x===ci?this.route:x===Ji?this.childContexts:this.parent.get(x,h)}}const Bi=new o.nKC("");let gi=(()=>{class g{constructor(){this.outletDataSubscriptions=new Map}bindActivatedRouteToOutletComponent(h){this.unsubscribeFromRouteData(h),this.subscribeToRouteData(h)}unsubscribeFromRouteData(h){this.outletDataSubscriptions.get(h)?.unsubscribe(),this.outletDataSubscriptions.delete(h)}subscribeToRouteData(h){const{activatedRoute:C}=h,z=(0,G.z)([C.queryParams,C.params,C.data]).pipe((0,bt.n)(([nt,It,ge],pe)=>(ge={...nt,...It,...ge},0===pe?(0,T.of)(ge):Promise.resolve(ge)))).subscribe(nt=>{if(!h.isActivated||!h.activatedComponentRef||h.activatedRoute!==C||null===C.component)return void this.unsubscribeFromRouteData(h);const It=(0,o.HJs)(C.component);if(It)for(const{templateName:ge}of It.inputs)h.activatedComponentRef.setInput(ge,nt[ge]);else this.unsubscribeFromRouteData(h)});this.outletDataSubscriptions.set(h,z)}static{this.\u0275fac=function(C){return new(C||g)}}static{this.\u0275prov=o.jDH({token:g,factory:g.\u0275fac})}}return g})();function Vn(g,x,h){if(h&&g.shouldReuseRoute(x.value,h.value.snapshot)){const C=h.value;C._futureSnapshot=x.value;const z=function Ni(g,x,h){return x.children.map(C=>{for(const z of h.children)if(g.shouldReuseRoute(C.value,z.value.snapshot))return Vn(g,C,z);return Vn(g,C)})}(g,x,h);return new Ii(C,z)}{if(g.shouldAttach(x.value)){const nt=g.retrieve(x.value);if(null!==nt){const It=nt.route;return It.value._futureSnapshot=x.value,It.children=x.children.map(ge=>Vn(g,ge)),It}}const C=function jo(g){return new ci(new k.t(g.url),new k.t(g.params),new k.t(g.queryParams),new k.t(g.fragment),new k.t(g.data),g.outlet,g.component,g)}(x.value),z=x.children.map(nt=>Vn(g,nt));return new Ii(C,z)}}const bn="ngNavigationCancelingError";function qi(g,x){const{redirectTo:h,navigationBehaviorOptions:C}=Nn(x)?{redirectTo:x,navigationBehaviorOptions:void 0}:x,z=to(!1,0,x);return z.url=h,z.navigationBehaviorOptions=C,z}function to(g,x,h){const C=new Error("NavigationCancelingError: "+(g||""));return C[bn]=!0,C.cancellationCode=x,h&&(C.url=h),C}function $n(g){return g&&g[bn]}let zo=(()=>{class g{static{this.\u0275fac=function(C){return new(C||g)}}static{this.\u0275cmp=o.VBU({type:g,selectors:[["ng-component"]],standalone:!0,features:[o.aNF],decls:1,vars:0,template:function(C,z){1&C&&o.nrm(0,"router-outlet")},dependencies:[Hn],encapsulation:2})}}return g})();function hc(g){const x=g.children&&g.children.map(hc),h=x?{...g,children:x}:{...g};return!h.component&&!h.loadComponent&&(x||h.loadChildren)&&h.outlet&&h.outlet!==Ut&&(h.component=zo),h}function ki(g){return g.outlet||Ut}function ui(g){if(!g)return null;if(g.routeConfig?._injector)return g.routeConfig._injector;for(let x=g.parent;x;x=x.parent){const h=x.routeConfig;if(h?._loadedInjector)return h._loadedInjector;if(h?._injector)return h._injector}return null}class $o{constructor(x,h,C,z,nt){this.routeReuseStrategy=x,this.futureState=h,this.currState=C,this.forwardEvent=z,this.inputBindingEnabled=nt}activate(x){const h=this.futureState._root,C=this.currState?this.currState._root:null;this.deactivateChildRoutes(h,C,x),We(this.futureState.root),this.activateChildRoutes(h,C,x)}deactivateChildRoutes(x,h,C){const z=En(h);x.children.forEach(nt=>{const It=nt.value.outlet;this.deactivateRoutes(nt,z[It],C),delete z[It]}),Object.values(z).forEach(nt=>{this.deactivateRouteAndItsChildren(nt,C)})}deactivateRoutes(x,h,C){const z=x.value,nt=h?h.value:null;if(z===nt)if(z.component){const It=C.getContext(z.outlet);It&&this.deactivateChildRoutes(x,h,It.children)}else this.deactivateChildRoutes(x,h,C);else nt&&this.deactivateRouteAndItsChildren(h,C)}deactivateRouteAndItsChildren(x,h){x.value.component&&this.routeReuseStrategy.shouldDetach(x.value.snapshot)?this.detachAndStoreRouteSubtree(x,h):this.deactivateRouteAndOutlet(x,h)}detachAndStoreRouteSubtree(x,h){const C=h.getContext(x.value.outlet),z=C&&x.value.component?C.children:h,nt=En(x);for(const It of Object.keys(nt))this.deactivateRouteAndItsChildren(nt[It],z);if(C&&C.outlet){const It=C.outlet.detach(),ge=C.children.onOutletDeactivated();this.routeReuseStrategy.store(x.value.snapshot,{componentRef:It,route:x,contexts:ge})}}deactivateRouteAndOutlet(x,h){const C=h.getContext(x.value.outlet),z=C&&x.value.component?C.children:h,nt=En(x);for(const It of Object.keys(nt))this.deactivateRouteAndItsChildren(nt[It],z);C&&(C.outlet&&(C.outlet.deactivate(),C.children.onOutletDeactivated()),C.attachRef=null,C.route=null)}activateChildRoutes(x,h,C){const z=En(h);x.children.forEach(nt=>{this.activateRoutes(nt,z[nt.value.outlet],C),this.forwardEvent(new Oi(nt.value.snapshot))}),x.children.length&&this.forwardEvent(new wo(x.value.snapshot))}activateRoutes(x,h,C){const z=x.value,nt=h?h.value:null;if(We(z),z===nt)if(z.component){const It=C.getOrCreateContext(z.outlet);this.activateChildRoutes(x,h,It.children)}else this.activateChildRoutes(x,h,C);else if(z.component){const It=C.getOrCreateContext(z.outlet);if(this.routeReuseStrategy.shouldAttach(z.snapshot)){const ge=this.routeReuseStrategy.retrieve(z.snapshot);this.routeReuseStrategy.store(z.snapshot,null),It.children.onOutletReAttached(ge.contexts),It.attachRef=ge.componentRef,It.route=ge.route.value,It.outlet&&It.outlet.attach(ge.componentRef,ge.route.value),We(ge.route.value),this.activateChildRoutes(x,null,It.children)}else{const ge=ui(z.snapshot);It.attachRef=null,It.route=z,It.injector=ge,It.outlet&&It.outlet.activateWith(z,It.injector),this.activateChildRoutes(x,null,It.children)}}else this.activateChildRoutes(x,null,C)}}class bi{constructor(x){this.path=x,this.route=this.path[this.path.length-1]}}class pc{constructor(x,h){this.component=x,this.route=h}}function mi(g,x,h){const C=g._root;return Ui(C,x?x._root:null,h,[C.value])}function co(g,x){const h=Symbol(),C=x.get(g,h);return C===h?"function"!=typeof g||(0,o.LfX)(g)?x.get(g):g:C}function Ui(g,x,h,C,z={canDeactivateChecks:[],canActivateChecks:[]}){const nt=En(x);return g.children.forEach(It=>{(function To(g,x,h,C,z={canDeactivateChecks:[],canActivateChecks:[]}){const nt=g.value,It=x?x.value:null,ge=h?h.getContext(g.value.outlet):null;if(It&&nt.routeConfig===It.routeConfig){const pe=function ji(g,x,h){if("function"==typeof h)return h(g,x);switch(h){case"pathParamsChange":return!X(g.url,x.url);case"pathParamsOrQueryParamsChange":return!X(g.url,x.url)||!Vt(g.queryParams,x.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!Cn(g,x)||!Vt(g.queryParams,x.queryParams);default:return!Cn(g,x)}}(It,nt,nt.routeConfig.runGuardsAndResolvers);pe?z.canActivateChecks.push(new bi(C)):(nt.data=It.data,nt._resolvedData=It._resolvedData),Ui(g,x,nt.component?ge?ge.children:null:h,C,z),pe&&ge&&ge.outlet&&ge.outlet.isActivated&&z.canDeactivateChecks.push(new pc(ge.outlet.component,It))}else It&&Wo(x,ge,z),z.canActivateChecks.push(new bi(C)),Ui(g,null,nt.component?ge?ge.children:null:h,C,z)})(It,nt[It.value.outlet],h,C.concat([It.value]),z),delete nt[It.value.outlet]}),Object.entries(nt).forEach(([It,ge])=>Wo(ge,h.getContext(It),z)),z}function Wo(g,x,h){const C=En(g),z=g.value;Object.entries(C).forEach(([nt,It])=>{Wo(It,z.component?x?x.children.getContext(nt):null:x,h)}),h.canDeactivateChecks.push(new pc(z.component&&x&&x.outlet&&x.outlet.isActivated?x.outlet.component:null,z))}function gc(g){return"function"==typeof g}function en(g){return g instanceof P.G||"EmptyError"===g?.name}const zn=Symbol("INITIAL_VALUE");function wi(){return(0,bt.n)(g=>(0,G.z)(g.map(x=>x.pipe((0,Gt.s)(1),(0,te.Z)(zn)))).pipe((0,J.T)(x=>{for(const h of x)if(!0!==h){if(h===zn)return zn;if(!1===h||h instanceof zt)return h}return!0}),(0,$.p)(x=>x!==zn),(0,Gt.s)(1)))}function tr(g){return(0,ot.F)((0,Xe.M)(x=>{if(Nn(x))throw qi(0,x)}),(0,J.T)(x=>!0===x))}class Ri{constructor(x){this.segmentGroup=x||null}}class zc{constructor(x){this.urlTree=x}}function Pc(g){return(0,q.$)(new Ri(g))}function Li(g){return(0,q.$)(new zc(g))}class Nr{constructor(x,h){this.urlSerializer=x,this.urlTree=h}noMatchError(x){return new o.wOt(4002,!1)}lineralizeSegments(x,h){let C=[],z=h.root;for(;;){if(C=C.concat(z.segments),0===z.numberOfChildren)return(0,T.of)(C);if(z.numberOfChildren>1||!z.children[Ut])return(0,q.$)(new o.wOt(4e3,!1));z=z.children[Ut]}}applyRedirectCommands(x,h,C){return this.applyRedirectCreateUrlTree(h,this.urlSerializer.parse(h),x,C)}applyRedirectCreateUrlTree(x,h,C,z){const nt=this.createSegmentGroup(x,h.root,C,z);return new zt(nt,this.createQueryParams(h.queryParams,this.urlTree.queryParams),h.fragment)}createQueryParams(x,h){const C={};return Object.entries(x).forEach(([z,nt])=>{if("string"==typeof nt&&nt.startsWith(":")){const ge=nt.substring(1);C[z]=h[ge]}else C[z]=nt}),C}createSegmentGroup(x,h,C,z){const nt=this.createSegments(x,h.segments,C,z);let It={};return Object.entries(h.children).forEach(([ge,pe])=>{It[ge]=this.createSegmentGroup(x,pe,C,z)}),new vt(nt,It)}createSegments(x,h,C,z){return h.map(nt=>nt.path.startsWith(":")?this.findPosParam(x,nt,z):this.findOrReturn(nt,C))}findPosParam(x,h,C){const z=C[h.path.substring(1)];if(!z)throw new o.wOt(4001,!1);return z}findOrReturn(x,h){let C=0;for(const z of h){if(z.path===x.path)return h.splice(C),z;C++}return x}}const er={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function nr(g,x,h,C,z){const nt=bc(g,x,h);return nt.matched?(C=function fo(g,x){return g.providers&&!g._injector&&(g._injector=(0,o.Ol2)(g.providers,x,`Route: ${g.path}`)),g._injector??x}(x,C),function nc(g,x,h,C){const z=x.canMatch;if(!z||0===z.length)return(0,T.of)(!0);const nt=z.map(It=>{const ge=co(It,g);return Et(function w(g){return g&&gc(g.canMatch)}(ge)?ge.canMatch(x,h):g.runInContext(()=>ge(x,h)))});return(0,T.of)(nt).pipe(wi(),tr())}(C,x,h).pipe((0,J.T)(It=>!0===It?nt:{...er}))):(0,T.of)(nt)}function bc(g,x,h){if(""===x.path)return"full"===x.pathMatch&&(g.hasChildren()||h.length>0)?{...er}:{matched:!0,consumedSegments:[],remainingSegments:h,parameters:{},positionalParamSegments:{}};const z=(x.matcher||gt)(h,g,x);if(!z)return{...er};const nt={};Object.entries(z.posParams??{}).forEach(([ge,pe])=>{nt[ge]=pe.path});const It=z.consumed.length>0?{...nt,...z.consumed[z.consumed.length-1].parameters}:nt;return{matched:!0,consumedSegments:z.consumed,remainingSegments:h.slice(z.consumed.length),parameters:It,positionalParamSegments:z.posParams??{}}}function Uc(g,x,h,C){return h.length>0&&function vr(g,x,h){return h.some(C=>Ac(g,x,C)&&ki(C)!==Ut)}(g,h,C)?{segmentGroup:new vt(x,br(C,new vt(h,g.children))),slicedSegments:[]}:0===h.length&&function Rr(g,x,h){return h.some(C=>Ac(g,x,C))}(g,h,C)?{segmentGroup:new vt(g.segments,ir(g,0,h,C,g.children)),slicedSegments:h}:{segmentGroup:new vt(g.segments,g.children),slicedSegments:h}}function ir(g,x,h,C,z){const nt={};for(const It of C)if(Ac(g,h,It)&&!z[ki(It)]){const ge=new vt([],{});nt[ki(It)]=ge}return{...z,...nt}}function br(g,x){const h={};h[Ut]=x;for(const C of g)if(""===C.path&&ki(C)!==Ut){const z=new vt([],{});h[ki(C)]=z}return h}function Ac(g,x,h){return(!(g.hasChildren()||x.length>0)||"full"!==h.pathMatch)&&""===h.path}class Tc{constructor(x,h,C,z,nt,It,ge){this.injector=x,this.configLoader=h,this.rootComponentType=C,this.config=z,this.urlTree=nt,this.paramsInheritanceStrategy=It,this.urlSerializer=ge,this.allowRedirects=!0,this.applyRedirects=new Nr(this.urlSerializer,this.urlTree)}noMatchError(x){return new o.wOt(4002,!1)}recognize(){const x=Uc(this.urlTree.root,[],[],this.config).segmentGroup;return this.processSegmentGroup(this.injector,this.config,x,Ut).pipe((0,ye.W)(h=>{if(h instanceof zc)return this.allowRedirects=!1,this.urlTree=h.urlTree,this.match(h.urlTree);throw h instanceof Ri?this.noMatchError(h):h}),(0,J.T)(h=>{const C=new Oo([],Object.freeze({}),Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,{},Ut,this.rootComponentType,null,{}),z=new Ii(C,h),nt=new mo("",z),It=function Qn(g,x,h=null,C=null){return I(ee(g),x,h,C)}(C,[],this.urlTree.queryParams,this.urlTree.fragment);return It.queryParams=this.urlTree.queryParams,nt.url=this.urlSerializer.serialize(It),this.inheritParamsAndData(nt._root),{state:nt,tree:It}}))}match(x){return this.processSegmentGroup(this.injector,this.config,x.root,Ut).pipe((0,ye.W)(C=>{throw C instanceof Ri?this.noMatchError(C):C}))}inheritParamsAndData(x){const h=x.value,C=Wi(h,this.paramsInheritanceStrategy);h.params=Object.freeze(C.params),h.data=Object.freeze(C.data),x.children.forEach(z=>this.inheritParamsAndData(z))}processSegmentGroup(x,h,C,z){return 0===C.segments.length&&C.hasChildren()?this.processChildren(x,h,C):this.processSegment(x,h,C,C.segments,z,!0)}processChildren(x,h,C){const z=[];for(const nt of Object.keys(C.children))"primary"===nt?z.unshift(nt):z.push(nt);return(0,b.H)(z).pipe((0,Ge.H)(nt=>{const It=C.children[nt],ge=function ko(g,x){const h=g.filter(C=>ki(C)===x);return h.push(...g.filter(C=>ki(C)!==x)),h}(h,nt);return this.processSegmentGroup(x,ge,It,nt)}),function Oe(g,x){return(0,V.N)((0,Ve.S)(g,x,arguments.length>=2,!0))}((nt,It)=>(nt.push(...It),nt)),rt(null),function be(g,x){const h=arguments.length>=2;return C=>C.pipe(g?(0,$.p)((z,nt)=>g(z,nt,C)):_e.D,Qe(1),h?rt(x):$t(()=>new P.G))}(),(0,lt.Z)(nt=>{if(null===nt)return Pc(C);const It=or(nt);return function po(g){g.sort((x,h)=>x.value.outlet===Ut?-1:h.value.outlet===Ut?1:x.value.outlet.localeCompare(h.value.outlet))}(It),(0,T.of)(It)}))}processSegment(x,h,C,z,nt,It){return(0,b.H)(h).pipe((0,Ge.H)(ge=>this.processSegmentAgainstRoute(ge._injector??x,h,ge,C,z,nt,It).pipe((0,ye.W)(pe=>{if(pe instanceof Ri)return(0,T.of)(null);throw pe}))),Le(ge=>!!ge),(0,ye.W)(ge=>{if(en(ge))return function xr(g,x,h){return 0===x.length&&!g.children[h]}(C,z,nt)?(0,T.of)([]):Pc(C);throw ge}))}processSegmentAgainstRoute(x,h,C,z,nt,It,ge){return function _r(g,x,h,C){return!!(ki(g)===C||C!==Ut&&Ac(x,h,g))&&("**"===g.path||bc(x,g,h).matched)}(C,z,nt,It)?void 0===C.redirectTo?this.matchSegmentAgainstRoute(x,z,C,nt,It,ge):ge&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(x,z,h,C,nt,It):Pc(z):Pc(z)}expandSegmentAgainstRouteUsingRedirect(x,h,C,z,nt,It){return"**"===z.path?this.expandWildCardWithParamsAgainstRouteUsingRedirect(x,C,z,It):this.expandRegularSegmentAgainstRouteUsingRedirect(x,h,C,z,nt,It)}expandWildCardWithParamsAgainstRouteUsingRedirect(x,h,C,z){const nt=this.applyRedirects.applyRedirectCommands([],C.redirectTo,{});return C.redirectTo.startsWith("/")?Li(nt):this.applyRedirects.lineralizeSegments(C,nt).pipe((0,lt.Z)(It=>{const ge=new vt(It,{});return this.processSegment(x,h,ge,It,z,!1)}))}expandRegularSegmentAgainstRouteUsingRedirect(x,h,C,z,nt,It){const{matched:ge,consumedSegments:pe,remainingSegments:Je,positionalParamSegments:An}=bc(h,z,nt);if(!ge)return Pc(h);const _i=this.applyRedirects.applyRedirectCommands(pe,z.redirectTo,An);return z.redirectTo.startsWith("/")?Li(_i):this.applyRedirects.lineralizeSegments(z,_i).pipe((0,lt.Z)(Xn=>this.processSegment(x,C,h,Xn.concat(Je),It,!1)))}matchSegmentAgainstRoute(x,h,C,z,nt,It){let ge;if("**"===C.path){const pe=z.length>0?Qt(z).parameters:{},Je=new Oo(z,pe,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,Ic(C),ki(C),C.component??C._loadedComponent??null,C,$i(C));ge=(0,T.of)({snapshot:Je,consumedSegments:[],remainingSegments:[]}),h.children={}}else ge=nr(h,C,z,x).pipe((0,J.T)(({matched:pe,consumedSegments:Je,remainingSegments:An,parameters:_i})=>pe?{snapshot:new Oo(Je,_i,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,Ic(C),ki(C),C.component??C._loadedComponent??null,C,$i(C)),consumedSegments:Je,remainingSegments:An}:null));return ge.pipe((0,bt.n)(pe=>null===pe?Pc(h):this.getChildConfig(x=C._injector??x,C,z).pipe((0,bt.n)(({routes:Je})=>{const An=C._loadedInjector??x,{snapshot:_i,consumedSegments:Xn,remainingSegments:yc}=pe,{segmentGroup:rr,slicedSegments:Kc}=Uc(h,Xn,yc,Je);if(0===Kc.length&&rr.hasChildren())return this.processChildren(An,Je,rr).pipe((0,J.T)(sr=>null===sr?null:[new Ii(_i,sr)]));if(0===Je.length&&0===Kc.length)return(0,T.of)([new Ii(_i,[])]);const Gc=ki(C)===nt;return this.processSegment(An,Je,rr,Kc,Gc?Ut:nt,!0).pipe((0,J.T)(sr=>[new Ii(_i,sr)]))}))))}getChildConfig(x,h,C){return h.children?(0,T.of)({routes:h.children,injector:x}):h.loadChildren?void 0!==h._loadedRoutes?(0,T.of)({routes:h._loadedRoutes,injector:h._loadedInjector}):function Ir(g,x,h,C){const z=x.canLoad;if(void 0===z||0===z.length)return(0,T.of)(!0);const nt=z.map(It=>{const ge=co(It,g);return Et(function Oc(g){return g&&gc(g.canLoad)}(ge)?ge.canLoad(x,h):g.runInContext(()=>ge(x,h)))});return(0,T.of)(nt).pipe(wi(),tr())}(x,h,C).pipe((0,lt.Z)(z=>z?this.configLoader.loadChildren(x,h).pipe((0,Xe.M)(nt=>{h._loadedRoutes=nt.routes,h._loadedInjector=nt.injector})):function Hi(g){return(0,q.$)(to(!1,3))}())):(0,T.of)({routes:[],injector:x})}}function Cr(g){const x=g.value.routeConfig;return x&&""===x.path}function or(g){const x=[],h=new Set;for(const C of g){if(!Cr(C)){x.push(C);continue}const z=x.find(nt=>C.value.routeConfig===nt.value.routeConfig);void 0!==z?(z.children.push(...C.children),h.add(z)):x.push(C)}for(const C of h){const z=or(C.children);x.push(new Ii(C.value,z))}return x.filter(C=>!h.has(C))}function Ic(g){return g.data||{}}function $i(g){return g.resolve||{}}function Hc(g){return"string"==typeof g.title||null===g.title}function qr(g){return(0,bt.n)(x=>{const h=g(x);return h?(0,b.H)(h).pipe((0,J.T)(()=>x)):(0,T.of)(x)})}const v=new o.nKC("ROUTES");let W=(()=>{class g{constructor(){this.componentLoaders=new WeakMap,this.childrenLoaders=new WeakMap,this.compiler=(0,o.WQX)(o.Ql9)}loadComponent(h){if(this.componentLoaders.get(h))return this.componentLoaders.get(h);if(h._loadedComponent)return(0,T.of)(h._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(h);const C=Et(h.loadComponent()).pipe((0,J.T)(At),(0,Xe.M)(nt=>{this.onLoadEndListener&&this.onLoadEndListener(h),h._loadedComponent=nt}),(0,yt.j)(()=>{this.componentLoaders.delete(h)})),z=new M.G(C,()=>new a.B).pipe((0,Kt.B)());return this.componentLoaders.set(h,z),z}loadChildren(h,C){if(this.childrenLoaders.get(C))return this.childrenLoaders.get(C);if(C._loadedRoutes)return(0,T.of)({routes:C._loadedRoutes,injector:C._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(C);const nt=function E(g,x,h,C){return Et(g.loadChildren()).pipe((0,J.T)(At),(0,lt.Z)(z=>z instanceof o.Co$||Array.isArray(z)?(0,T.of)(z):(0,b.H)(x.compileModuleAsync(z))),(0,J.T)(z=>{C&&C(g);let nt,It,ge=!1;return Array.isArray(z)?(It=z,!0):(nt=z.create(h).injector,It=nt.get(v,[],{optional:!0,self:!0}).flat()),{routes:It.map(hc),injector:nt}}))}(C,this.compiler,h,this.onLoadEndListener).pipe((0,yt.j)(()=>{this.childrenLoaders.delete(C)})),It=new M.G(nt,()=>new a.B).pipe((0,Kt.B)());return this.childrenLoaders.set(C,It),It}static{this.\u0275fac=function(C){return new(C||g)}}static{this.\u0275prov=o.jDH({token:g,factory:g.\u0275fac,providedIn:"root"})}}return g})();function At(g){return function F(g){return g&&"object"==typeof g&&"default"in g}(g)?g.default:g}let he=(()=>{class g{get hasRequestedNavigation(){return 0!==this.navigationId}constructor(){this.currentNavigation=null,this.currentTransition=null,this.lastSuccessfulNavigation=null,this.events=new a.B,this.transitionAbortSubject=new a.B,this.configLoader=(0,o.WQX)(W),this.environmentInjector=(0,o.WQX)(o.uvJ),this.urlSerializer=(0,o.WQX)(Ot),this.rootContexts=(0,o.WQX)(Ji),this.inputBindingEnabled=null!==(0,o.WQX)(Bi,{optional:!0}),this.navigationId=0,this.afterPreactivation=()=>(0,T.of)(void 0),this.rootComponentType=null,this.configLoader.onLoadEndListener=z=>this.events.next(new Jo(z)),this.configLoader.onLoadStartListener=z=>this.events.next(new uo(z))}complete(){this.transitions?.complete()}handleNavigationRequest(h){const C=++this.navigationId;this.transitions?.next({...this.transitions.value,...h,id:C})}setupNavigations(h,C,z){return this.transitions=new k.t({id:0,currentUrlTree:C,currentRawUrl:C,currentBrowserUrl:C,extractedUrl:h.urlHandlingStrategy.extract(C),urlAfterRedirects:h.urlHandlingStrategy.extract(C),rawUrl:C,extras:{},resolve:null,reject:null,promise:Promise.resolve(!0),source:Bn,restoredState:null,currentSnapshot:z.snapshot,targetSnapshot:null,currentRouterState:z,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.transitions.pipe((0,$.p)(nt=>0!==nt.id),(0,J.T)(nt=>({...nt,extractedUrl:h.urlHandlingStrategy.extract(nt.rawUrl)})),(0,bt.n)(nt=>{this.currentTransition=nt;let It=!1,ge=!1;return(0,T.of)(nt).pipe((0,Xe.M)(pe=>{this.currentNavigation={id:pe.id,initialUrl:pe.rawUrl,extractedUrl:pe.extractedUrl,trigger:pe.source,extras:pe.extras,previousNavigation:this.lastSuccessfulNavigation?{...this.lastSuccessfulNavigation,previousNavigation:null}:null}}),(0,bt.n)(pe=>{const Je=pe.currentBrowserUrl.toString(),An=!h.navigated||pe.extractedUrl.toString()!==Je||Je!==pe.currentUrlTree.toString();if(!An&&"reload"!==(pe.extras.onSameUrlNavigation??h.onSameUrlNavigation)){const Xn="";return this.events.next(new oi(pe.id,this.urlSerializer.serialize(pe.rawUrl),Xn,0)),pe.resolve(null),K.w}if(h.urlHandlingStrategy.shouldProcessUrl(pe.rawUrl))return(0,T.of)(pe).pipe((0,bt.n)(Xn=>{const yc=this.transitions?.getValue();return this.events.next(new Mi(Xn.id,this.urlSerializer.serialize(Xn.extractedUrl),Xn.source,Xn.restoredState)),yc!==this.transitions?.getValue()?K.w:Promise.resolve(Xn)}),function Fr(g,x,h,C,z,nt){return(0,lt.Z)(It=>function vc(g,x,h,C,z,nt,It="emptyOnly"){return new Tc(g,x,h,C,z,It,nt).recognize()}(g,x,h,C,It.extractedUrl,z,nt).pipe((0,J.T)(({state:ge,tree:pe})=>({...It,targetSnapshot:ge,urlAfterRedirects:pe}))))}(this.environmentInjector,this.configLoader,this.rootComponentType,h.config,this.urlSerializer,h.paramsInheritanceStrategy),(0,Xe.M)(Xn=>{nt.targetSnapshot=Xn.targetSnapshot,nt.urlAfterRedirects=Xn.urlAfterRedirects,this.currentNavigation={...this.currentNavigation,finalUrl:Xn.urlAfterRedirects};const yc=new Mo(Xn.id,this.urlSerializer.serialize(Xn.extractedUrl),this.urlSerializer.serialize(Xn.urlAfterRedirects),Xn.targetSnapshot);this.events.next(yc)}));if(An&&h.urlHandlingStrategy.shouldProcessUrl(pe.currentRawUrl)){const{id:Xn,extractedUrl:yc,source:rr,restoredState:Kc,extras:Gc}=pe,sr=new Mi(Xn,this.urlSerializer.serialize(yc),rr,Kc);this.events.next(sr);const Qa=ei(0,this.rootComponentType).snapshot;return this.currentTransition=nt={...pe,targetSnapshot:Qa,urlAfterRedirects:yc,extras:{...Gc,skipLocationChange:!1,replaceUrl:!1}},(0,T.of)(nt)}{const Xn="";return this.events.next(new oi(pe.id,this.urlSerializer.serialize(pe.extractedUrl),Xn,1)),pe.resolve(null),K.w}}),(0,Xe.M)(pe=>{const Je=new si(pe.id,this.urlSerializer.serialize(pe.extractedUrl),this.urlSerializer.serialize(pe.urlAfterRedirects),pe.targetSnapshot);this.events.next(Je)}),(0,J.T)(pe=>(this.currentTransition=nt={...pe,guards:mi(pe.targetSnapshot,pe.currentSnapshot,this.rootContexts)},nt)),function ec(g,x){return(0,lt.Z)(h=>{const{targetSnapshot:C,currentSnapshot:z,guards:{canActivateChecks:nt,canDeactivateChecks:It}}=h;return 0===It.length&&0===nt.length?(0,T.of)({...h,guardsResult:!0}):function Vc(g,x,h,C){return(0,b.H)(g).pipe((0,lt.Z)(z=>function Tr(g,x,h,C,z){const nt=x&&x.routeConfig?x.routeConfig.canDeactivate:null;if(!nt||0===nt.length)return(0,T.of)(!0);const It=nt.map(ge=>{const pe=ui(x)??z,Je=co(ge,pe);return Et(function B(g){return g&&gc(g.canDeactivate)}(Je)?Je.canDeactivate(g,x,h,C):pe.runInContext(()=>Je(g,x,h,C))).pipe(Le())});return(0,T.of)(It).pipe(wi())}(z.component,z.route,h,x,C)),Le(z=>!0!==z,!0))}(It,C,z,g).pipe((0,lt.Z)(ge=>ge&&function Ar(g){return"boolean"==typeof g}(ge)?function ps(g,x,h,C){return(0,b.H)(x).pipe((0,Ge.H)(z=>(0,Z.x)(function Qr(g,x){return null!==g&&x&&x(new uc(g)),(0,T.of)(!0)}(z.route.parent,C),function gs(g,x){return null!==g&&x&&x(new Jc(g)),(0,T.of)(!0)}(z.route,C),function qc(g,x,h){const C=x[x.length-1],nt=x.slice(0,x.length-1).reverse().map(It=>function xi(g){const x=g.routeConfig?g.routeConfig.canActivateChild:null;return x&&0!==x.length?{node:g,guards:x}:null}(It)).filter(It=>null!==It).map(It=>(0,N.v)(()=>{const ge=It.guards.map(pe=>{const Je=ui(It.node)??h,An=co(pe,Je);return Et(function S(g){return g&&gc(g.canActivateChild)}(An)?An.canActivateChild(C,g):Je.runInContext(()=>An(C,g))).pipe(Le())});return(0,T.of)(ge).pipe(wi())}));return(0,T.of)(nt).pipe(wi())}(g,z.path,h),function Zr(g,x,h){const C=x.routeConfig?x.routeConfig.canActivate:null;if(!C||0===C.length)return(0,T.of)(!0);const z=C.map(nt=>(0,N.v)(()=>{const It=ui(x)??h,ge=co(nt,It);return Et(function Sc(g){return g&&gc(g.canActivate)}(ge)?ge.canActivate(x,g):It.runInContext(()=>ge(x,g))).pipe(Le())}));return(0,T.of)(z).pipe(wi())}(g,z.route,h))),Le(z=>!0!==z,!0))}(C,nt,g,x):(0,T.of)(ge)),(0,J.T)(ge=>({...h,guardsResult:ge})))})}(this.environmentInjector,pe=>this.events.next(pe)),(0,Xe.M)(pe=>{if(nt.guardsResult=pe.guardsResult,Nn(pe.guardsResult))throw qi(0,pe.guardsResult);const Je=new Zc(pe.id,this.urlSerializer.serialize(pe.extractedUrl),this.urlSerializer.serialize(pe.urlAfterRedirects),pe.targetSnapshot,!!pe.guardsResult);this.events.next(Je)}),(0,$.p)(pe=>!!pe.guardsResult||(this.cancelNavigationTransition(pe,"",3),!1)),qr(pe=>{if(pe.guards.canActivateChecks.length)return(0,T.of)(pe).pipe((0,Xe.M)(Je=>{const An=new dc(Je.id,this.urlSerializer.serialize(Je.extractedUrl),this.urlSerializer.serialize(Je.urlAfterRedirects),Je.targetSnapshot);this.events.next(An)}),(0,bt.n)(Je=>{let An=!1;return(0,T.of)(Je).pipe(function Br(g,x){return(0,lt.Z)(h=>{const{targetSnapshot:C,guards:{canActivateChecks:z}}=h;if(!z.length)return(0,T.of)(h);let nt=0;return(0,b.H)(z).pipe((0,Ge.H)(It=>function jc(g,x,h,C){const z=g.routeConfig,nt=g._resolve;return void 0!==z?.title&&!Hc(z)&&(nt[Ne]=z.title),function Vr(g,x,h,C){const z=function Ko(g){return[...Object.keys(g),...Object.getOwnPropertySymbols(g)]}(g);if(0===z.length)return(0,T.of)({});const nt={};return(0,b.H)(z).pipe((0,lt.Z)(It=>function bs(g,x,h,C){const z=ui(x)??C,nt=co(g,z);return Et(nt.resolve?nt.resolve(x,h):z.runInContext(()=>nt(x,h)))}(g[It],x,h,C).pipe(Le(),(0,Xe.M)(ge=>{nt[It]=ge}))),Qe(1),(0,Me.u)(nt),(0,ye.W)(It=>en(It)?K.w:(0,q.$)(It)))}(nt,g,x,C).pipe((0,J.T)(It=>(g._resolvedData=It,g.data=Wi(g,h).resolve,z&&Hc(z)&&(g.data[Ne]=z.title),null)))}(It.route,C,g,x)),(0,Xe.M)(()=>nt++),Qe(1),(0,lt.Z)(It=>nt===z.length?(0,T.of)(h):K.w))})}(h.paramsInheritanceStrategy,this.environmentInjector),(0,Xe.M)({next:()=>An=!0,complete:()=>{An||this.cancelNavigationTransition(Je,"",2)}}))}),(0,Xe.M)(Je=>{const An=new kr(Je.id,this.urlSerializer.serialize(Je.extractedUrl),this.urlSerializer.serialize(Je.urlAfterRedirects),Je.targetSnapshot);this.events.next(An)}))}),qr(pe=>{const Je=An=>{const _i=[];An.routeConfig?.loadComponent&&!An.routeConfig._loadedComponent&&_i.push(this.configLoader.loadComponent(An.routeConfig).pipe((0,Xe.M)(Xn=>{An.component=Xn}),(0,J.T)(()=>{})));for(const Xn of An.children)_i.push(...Je(Xn));return _i};return(0,G.z)(Je(pe.targetSnapshot.root)).pipe(rt(),(0,Gt.s)(1))}),qr(()=>this.afterPreactivation()),(0,J.T)(pe=>{const Je=function So(g,x,h){const C=Vn(g,x._root,h?h._root:void 0);return new di(C,x)}(h.routeReuseStrategy,pe.targetSnapshot,pe.currentRouterState);return this.currentTransition=nt={...pe,targetRouterState:Je},nt}),(0,Xe.M)(()=>{this.events.next(new Bo)}),((g,x,h,C)=>(0,J.T)(z=>(new $o(x,z.targetRouterState,z.currentRouterState,h,C).activate(g),z)))(this.rootContexts,h.routeReuseStrategy,pe=>this.events.next(pe),this.inputBindingEnabled),(0,Gt.s)(1),(0,Xe.M)({next:pe=>{It=!0,this.lastSuccessfulNavigation=this.currentNavigation,this.events.next(new pi(pe.id,this.urlSerializer.serialize(pe.extractedUrl),this.urlSerializer.serialize(pe.urlAfterRedirects))),h.titleStrategy?.updateTitle(pe.targetRouterState.snapshot),pe.resolve(!0)},complete:()=>{It=!0}}),(0,Nt.Q)(this.transitionAbortSubject.pipe((0,Xe.M)(pe=>{throw pe}))),(0,yt.j)(()=>{It||ge||this.cancelNavigationTransition(nt,"",1),this.currentNavigation?.id===nt.id&&(this.currentNavigation=null)}),(0,ye.W)(pe=>{if(ge=!0,$n(pe))this.events.next(new Fi(nt.id,this.urlSerializer.serialize(nt.extractedUrl),pe.message,pe.cancellationCode)),function zi(g){return $n(g)&&Nn(g.url)}(pe)?this.events.next(new Vo(pe.url)):nt.resolve(!1);else{this.events.next(new Ti(nt.id,this.urlSerializer.serialize(nt.extractedUrl),pe,nt.targetSnapshot??void 0));try{nt.resolve(h.errorHandler(pe))}catch(Je){nt.reject(Je)}}return K.w}))}))}cancelNavigationTransition(h,C,z){const nt=new Fi(h.id,this.urlSerializer.serialize(h.extractedUrl),C,z);this.events.next(nt),h.resolve(!1)}static{this.\u0275fac=function(C){return new(C||g)}}static{this.\u0275prov=o.jDH({token:g,factory:g.\u0275fac,providedIn:"root"})}}return g})();function Pe(g){return g!==Bn}let sn=(()=>{class g{buildTitle(h){let C,z=h.root;for(;void 0!==z;)C=this.getResolvedTitleForRoute(z)??C,z=z.children.find(nt=>nt.outlet===Ut);return C}getResolvedTitleForRoute(h){return h.data[Ne]}static{this.\u0275fac=function(C){return new(C||g)}}static{this.\u0275prov=o.jDH({token:g,factory:function(){return(0,o.WQX)(ni)},providedIn:"root"})}}return g})(),ni=(()=>{class g extends sn{constructor(h){super(),this.title=h}updateTitle(h){const C=this.buildTitle(h);void 0!==C&&this.title.setTitle(C)}static{this.\u0275fac=function(C){return new(C||g)(o.KVO(Yt.hE))}}static{this.\u0275prov=o.jDH({token:g,factory:g.\u0275fac,providedIn:"root"})}}return g})(),ti=(()=>{class g{static{this.\u0275fac=function(C){return new(C||g)}}static{this.\u0275prov=o.jDH({token:g,factory:function(){return(0,o.WQX)(Sn)},providedIn:"root"})}}return g})();class Un{shouldDetach(x){return!1}store(x,h){}shouldAttach(x){return!1}retrieve(x){return null}shouldReuseRoute(x,h){return x.routeConfig===h.routeConfig}}let Sn=(()=>{class g extends Un{static{this.\u0275fac=function(){let h;return function(z){return(h||(h=o.xGo(g)))(z||g)}}()}static{this.\u0275prov=o.jDH({token:g,factory:g.\u0275fac,providedIn:"root"})}}return g})();const Zn=new o.nKC("",{providedIn:"root",factory:()=>({})});let ii=(()=>{class g{static{this.\u0275fac=function(C){return new(C||g)}}static{this.\u0275prov=o.jDH({token:g,factory:function(){return(0,o.WQX)(vi)},providedIn:"root"})}}return g})(),vi=(()=>{class g{shouldProcessUrl(h){return!0}extract(h){return h}merge(h,C){return h}static{this.\u0275fac=function(C){return new(C||g)}}static{this.\u0275prov=o.jDH({token:g,factory:g.\u0275fac,providedIn:"root"})}}return g})();var ai=function(g){return g[g.COMPLETE=0]="COMPLETE",g[g.FAILED=1]="FAILED",g[g.REDIRECTING=2]="REDIRECTING",g}(ai||{});function Ki(g,x){g.events.pipe((0,$.p)(h=>h instanceof pi||h instanceof Fi||h instanceof Ti||h instanceof oi),(0,J.T)(h=>h instanceof pi||h instanceof oi?ai.COMPLETE:h instanceof Fi&&(0===h.code||1===h.code)?ai.REDIRECTING:ai.FAILED),(0,$.p)(h=>h!==ai.REDIRECTING),(0,Gt.s)(1)).subscribe(()=>{x()})}function go(g){throw g}function Gi(g,x,h){return x.parse("/")}const no={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},Ai={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};let Ci=(()=>{class g{get navigationId(){return this.navigationTransitions.navigationId}get browserPageId(){return"computed"!==this.canceledNavigationResolution?this.currentPageId:this.location.getState()?.\u0275routerPageId??this.currentPageId}get events(){return this._events}constructor(){this.disposed=!1,this.currentPageId=0,this.console=(0,o.WQX)(o.H3F),this.isNgZoneEnabled=!1,this._events=new a.B,this.options=(0,o.WQX)(Zn,{optional:!0})||{},this.pendingTasks=(0,o.WQX)(o.$K3),this.errorHandler=this.options.errorHandler||go,this.malformedUriErrorHandler=this.options.malformedUriErrorHandler||Gi,this.navigated=!1,this.lastSuccessfulId=-1,this.urlHandlingStrategy=(0,o.WQX)(ii),this.routeReuseStrategy=(0,o.WQX)(ti),this.titleStrategy=(0,o.WQX)(sn),this.onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore",this.paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly",this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.canceledNavigationResolution=this.options.canceledNavigationResolution||"replace",this.config=(0,o.WQX)(v,{optional:!0})?.flat()??[],this.navigationTransitions=(0,o.WQX)(he),this.urlSerializer=(0,o.WQX)(Ot),this.location=(0,o.WQX)(j.aZ),this.componentInputBindingEnabled=!!(0,o.WQX)(Bi,{optional:!0}),this.eventsSubscription=new pt.yU,this.isNgZoneEnabled=(0,o.WQX)(o.SKi)instanceof o.SKi&&o.SKi.isInAngularZone(),this.resetConfig(this.config),this.currentUrlTree=new zt,this.rawUrlTree=this.currentUrlTree,this.browserUrlTree=this.currentUrlTree,this.routerState=ei(0,null),this.navigationTransitions.setupNavigations(this,this.currentUrlTree,this.routerState).subscribe(h=>{this.lastSuccessfulId=h.id,this.currentPageId=this.browserPageId},h=>{this.console.warn(`Unhandled Navigation Error: ${h}`)}),this.subscribeToNavigationEvents()}subscribeToNavigationEvents(){const h=this.navigationTransitions.events.subscribe(C=>{try{const{currentTransition:z}=this.navigationTransitions;if(null===z)return void(Wn(C)&&this._events.next(C));if(C instanceof Mi)Pe(z.source)&&(this.browserUrlTree=z.extractedUrl);else if(C instanceof oi)this.rawUrlTree=z.rawUrl;else if(C instanceof Mo){if("eager"===this.urlUpdateStrategy){if(!z.extras.skipLocationChange){const nt=this.urlHandlingStrategy.merge(z.urlAfterRedirects,z.rawUrl);this.setBrowserUrl(nt,z)}this.browserUrlTree=z.urlAfterRedirects}}else if(C instanceof Bo)this.currentUrlTree=z.urlAfterRedirects,this.rawUrlTree=this.urlHandlingStrategy.merge(z.urlAfterRedirects,z.rawUrl),this.routerState=z.targetRouterState,"deferred"===this.urlUpdateStrategy&&(z.extras.skipLocationChange||this.setBrowserUrl(this.rawUrlTree,z),this.browserUrlTree=z.urlAfterRedirects);else if(C instanceof Fi)0!==C.code&&1!==C.code&&(this.navigated=!0),(3===C.code||2===C.code)&&this.restoreHistory(z);else if(C instanceof Vo){const nt=this.urlHandlingStrategy.merge(C.url,z.currentRawUrl),It={skipLocationChange:z.extras.skipLocationChange,replaceUrl:"eager"===this.urlUpdateStrategy||Pe(z.source)};this.scheduleNavigation(nt,Bn,null,It,{resolve:z.resolve,reject:z.reject,promise:z.promise})}C instanceof Ti&&this.restoreHistory(z,!0),C instanceof pi&&(this.navigated=!0),Wn(C)&&this._events.next(C)}catch(z){this.navigationTransitions.transitionAbortSubject.next(z)}});this.eventsSubscription.add(h)}resetRootComponentType(h){this.routerState.root.component=h,this.navigationTransitions.rootComponentType=h}initialNavigation(){if(this.setUpLocationChangeListener(),!this.navigationTransitions.hasRequestedNavigation){const h=this.location.getState();this.navigateToSyncWithBrowser(this.location.path(!0),Bn,h)}}setUpLocationChangeListener(){this.locationSubscription||(this.locationSubscription=this.location.subscribe(h=>{const C="popstate"===h.type?"popstate":"hashchange";"popstate"===C&&setTimeout(()=>{this.navigateToSyncWithBrowser(h.url,C,h.state)},0)}))}navigateToSyncWithBrowser(h,C,z){const nt={replaceUrl:!0},It=z?.navigationId?z:null;if(z){const pe={...z};delete pe.navigationId,delete pe.\u0275routerPageId,0!==Object.keys(pe).length&&(nt.state=pe)}const ge=this.parseUrl(h);this.scheduleNavigation(ge,C,It,nt)}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.navigationTransitions.currentNavigation}get lastSuccessfulNavigation(){return this.navigationTransitions.lastSuccessfulNavigation}resetConfig(h){this.config=h.map(hc),this.navigated=!1,this.lastSuccessfulId=-1}ngOnDestroy(){this.dispose()}dispose(){this.navigationTransitions.complete(),this.locationSubscription&&(this.locationSubscription.unsubscribe(),this.locationSubscription=void 0),this.disposed=!0,this.eventsSubscription.unsubscribe()}createUrlTree(h,C={}){const{relativeTo:z,queryParams:nt,fragment:It,queryParamsHandling:ge,preserveFragment:pe}=C,Je=pe?this.currentUrlTree.fragment:It;let _i,An=null;switch(ge){case"merge":An={...this.currentUrlTree.queryParams,...nt};break;case"preserve":An=this.currentUrlTree.queryParams;break;default:An=nt||null}null!==An&&(An=this.removeEmptyProps(An));try{_i=ee(z?z.snapshot:this.routerState.snapshot.root)}catch{("string"!=typeof h[0]||!h[0].startsWith("/"))&&(h=[]),_i=this.currentUrlTree.root}return I(_i,h,An,Je??null)}navigateByUrl(h,C={skipLocationChange:!1}){const z=Nn(h)?h:this.parseUrl(h),nt=this.urlHandlingStrategy.merge(z,this.rawUrlTree);return this.scheduleNavigation(nt,Bn,null,C)}navigate(h,C={skipLocationChange:!1}){return function ts(g){for(let x=0;x{const nt=h[z];return null!=nt&&(C[z]=nt),C},{})}scheduleNavigation(h,C,z,nt,It){if(this.disposed)return Promise.resolve(!1);let ge,pe,Je;It?(ge=It.resolve,pe=It.reject,Je=It.promise):Je=new Promise((_i,Xn)=>{ge=_i,pe=Xn});const An=this.pendingTasks.add();return Ki(this,()=>{queueMicrotask(()=>this.pendingTasks.remove(An))}),this.navigationTransitions.handleNavigationRequest({source:C,restoredState:z,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,currentBrowserUrl:this.browserUrlTree,rawUrl:h,extras:nt,resolve:ge,reject:pe,promise:Je,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),Je.catch(_i=>Promise.reject(_i))}setBrowserUrl(h,C){const z=this.urlSerializer.serialize(h);if(this.location.isCurrentPathEqualTo(z)||C.extras.replaceUrl){const It={...C.extras.state,...this.generateNgRouterState(C.id,this.browserPageId)};this.location.replaceState(z,"",It)}else{const nt={...C.extras.state,...this.generateNgRouterState(C.id,this.browserPageId+1)};this.location.go(z,"",nt)}}restoreHistory(h,C=!1){if("computed"===this.canceledNavigationResolution){const nt=this.currentPageId-this.browserPageId;0!==nt?this.location.historyGo(nt):this.currentUrlTree===this.getCurrentNavigation()?.finalUrl&&0===nt&&(this.resetState(h),this.browserUrlTree=h.currentUrlTree,this.resetUrlToCurrentUrlTree())}else"replace"===this.canceledNavigationResolution&&(C&&this.resetState(h),this.resetUrlToCurrentUrlTree())}resetState(h){this.routerState=h.currentRouterState,this.currentUrlTree=h.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,h.rawUrl)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}generateNgRouterState(h,C){return"computed"===this.canceledNavigationResolution?{navigationId:h,\u0275routerPageId:C}:{navigationId:h}}static{this.\u0275fac=function(C){return new(C||g)}}static{this.\u0275prov=o.jDH({token:g,factory:g.\u0275fac,providedIn:"root"})}}return g})();function Wn(g){return!(g instanceof Bo||g instanceof Vo)}let io=(()=>{class g{constructor(h,C,z,nt,It,ge){this.router=h,this.route=C,this.tabIndexAttribute=z,this.renderer=nt,this.el=It,this.locationStrategy=ge,this.href=null,this.commands=null,this.onChanges=new a.B,this.preserveFragment=!1,this.skipLocationChange=!1,this.replaceUrl=!1;const pe=It.nativeElement.tagName?.toLowerCase();this.isAnchorElement="a"===pe||"area"===pe,this.isAnchorElement?this.subscription=h.events.subscribe(Je=>{Je instanceof pi&&this.updateHref()}):this.setTabIndexIfNotOnNativeEl("0")}setTabIndexIfNotOnNativeEl(h){null!=this.tabIndexAttribute||this.isAnchorElement||this.applyAttributeValue("tabindex",h)}ngOnChanges(h){this.isAnchorElement&&this.updateHref(),this.onChanges.next(this)}set routerLink(h){null!=h?(this.commands=Array.isArray(h)?h:[h],this.setTabIndexIfNotOnNativeEl("0")):(this.commands=null,this.setTabIndexIfNotOnNativeEl(null))}onClick(h,C,z,nt,It){return!!(null===this.urlTree||this.isAnchorElement&&(0!==h||C||z||nt||It||"string"==typeof this.target&&"_self"!=this.target))||(this.router.navigateByUrl(this.urlTree,{skipLocationChange:this.skipLocationChange,replaceUrl:this.replaceUrl,state:this.state}),!this.isAnchorElement)}ngOnDestroy(){this.subscription?.unsubscribe()}updateHref(){this.href=null!==this.urlTree&&this.locationStrategy?this.locationStrategy?.prepareExternalUrl(this.router.serializeUrl(this.urlTree)):null;const h=null===this.href?null:(0,o.n$t)(this.href,this.el.nativeElement.tagName.toLowerCase(),"href");this.applyAttributeValue("href",h)}applyAttributeValue(h,C){const z=this.renderer,nt=this.el.nativeElement;null!==C?z.setAttribute(nt,h,C):z.removeAttribute(nt,h)}get urlTree(){return null===this.commands?null:this.router.createUrlTree(this.commands,{relativeTo:void 0!==this.relativeTo?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:this.preserveFragment})}static{this.\u0275fac=function(C){return new(C||g)(o.rXU(Ci),o.rXU(ci),o.kS0("tabindex"),o.rXU(o.sFG),o.rXU(o.aKT),o.rXU(j.hb))}}static{this.\u0275dir=o.FsC({type:g,selectors:[["","routerLink",""]],hostVars:1,hostBindings:function(C,z){1&C&&o.bIt("click",function(It){return z.onClick(It.button,It.ctrlKey,It.shiftKey,It.altKey,It.metaKey)}),2&C&&o.BMQ("target",z.target)},inputs:{target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",state:"state",relativeTo:"relativeTo",preserveFragment:["preserveFragment","preserveFragment",o.L39],skipLocationChange:["skipLocationChange","skipLocationChange",o.L39],replaceUrl:["replaceUrl","replaceUrl",o.L39],routerLink:"routerLink"},standalone:!0,features:[o.GFd,o.OA$]})}}return g})();class et{}let St=(()=>{class g{constructor(h,C,z,nt,It){this.router=h,this.injector=z,this.preloadingStrategy=nt,this.loader=It}setUpPreloading(){this.subscription=this.router.events.pipe((0,$.p)(h=>h instanceof pi),(0,Ge.H)(()=>this.preload())).subscribe(()=>{})}preload(){return this.processRoutes(this.injector,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(h,C){const z=[];for(const nt of C){nt.providers&&!nt._injector&&(nt._injector=(0,o.Ol2)(nt.providers,h,`Route: ${nt.path}`));const It=nt._injector??h,ge=nt._loadedInjector??It;(nt.loadChildren&&!nt._loadedRoutes&&void 0===nt.canLoad||nt.loadComponent&&!nt._loadedComponent)&&z.push(this.preloadConfig(It,nt)),(nt.children||nt._loadedRoutes)&&z.push(this.processRoutes(ge,nt.children??nt._loadedRoutes))}return(0,b.H)(z).pipe((0,Tt.U)())}preloadConfig(h,C){return this.preloadingStrategy.preload(C,()=>{let z;z=C.loadChildren&&void 0===C.canLoad?this.loader.loadChildren(h,C):(0,T.of)(null);const nt=z.pipe((0,lt.Z)(It=>null===It?(0,T.of)(void 0):(C._loadedRoutes=It.routes,C._loadedInjector=It.injector,this.processRoutes(It.injector??h,It.routes))));if(C.loadComponent&&!C._loadedComponent){const It=this.loader.loadComponent(C);return(0,b.H)([nt,It]).pipe((0,Tt.U)())}return nt})}static{this.\u0275fac=function(C){return new(C||g)(o.KVO(Ci),o.KVO(o.Ql9),o.KVO(o.uvJ),o.KVO(et),o.KVO(W))}}static{this.\u0275prov=o.jDH({token:g,factory:g.\u0275fac,providedIn:"root"})}}return g})();const ie=new o.nKC("");let we=(()=>{class g{constructor(h,C,z,nt,It={}){this.urlSerializer=h,this.transitions=C,this.viewportScroller=z,this.zone=nt,this.options=It,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},It.scrollPositionRestoration=It.scrollPositionRestoration||"disabled",It.anchorScrolling=It.anchorScrolling||"disabled"}init(){"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}createScrollEvents(){return this.transitions.events.subscribe(h=>{h instanceof Mi?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=h.navigationTrigger,this.restoredId=h.restoredState?h.restoredState.navigationId:0):h instanceof pi?(this.lastId=h.id,this.scheduleScrollEvent(h,this.urlSerializer.parse(h.urlAfterRedirects).fragment)):h instanceof oi&&0===h.code&&(this.lastSource=void 0,this.restoredId=0,this.scheduleScrollEvent(h,this.urlSerializer.parse(h.url).fragment))})}consumeScrollEvents(){return this.transitions.events.subscribe(h=>{h instanceof mc&&(h.position?"top"===this.options.scrollPositionRestoration?this.viewportScroller.scrollToPosition([0,0]):"enabled"===this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition(h.position):h.anchor&&"enabled"===this.options.anchorScrolling?this.viewportScroller.scrollToAnchor(h.anchor):"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(h,C){this.zone.runOutsideAngular(()=>{setTimeout(()=>{this.zone.run(()=>{this.transitions.events.next(new mc(h,"popstate"===this.lastSource?this.store[this.restoredId]:null,C))})},0)})}ngOnDestroy(){this.routerEventsSubscription?.unsubscribe(),this.scrollEventsSubscription?.unsubscribe()}static{this.\u0275fac=function(C){o.QTQ()}}static{this.\u0275prov=o.jDH({token:g,factory:g.\u0275fac})}}return g})();function Ue(g,...x){return(0,o.EmA)([{provide:v,multi:!0,useValue:g},[],{provide:ci,useFactory:an,deps:[Ci]},{provide:o.iLQ,multi:!0,useFactory:_c},x.map(h=>h.\u0275providers)])}function an(g){return g.routerState.root}function nn(g,x){return{\u0275kind:g,\u0275providers:x}}function _c(){const g=(0,o.WQX)(o.zZn);return x=>{const h=g.get(o.o8S);if(x!==h.components[0])return;const C=g.get(Ci),z=g.get(pn);1===g.get(ro)&&C.initialNavigation(),g.get(Rc,null,o.$GK.Optional)?.setUpPreloading(),g.get(ie,null,o.$GK.Optional)?.init(),C.resetRootComponentType(h.componentTypes[0]),z.closed||(z.next(),z.complete(),z.unsubscribe())}}const pn=new o.nKC("",{factory:()=>new a.B}),ro=new o.nKC("",{providedIn:"root",factory:()=>1}),Rc=new o.nKC("");function xc(g){return nn(0,[{provide:Rc,useExisting:St},{provide:et,useExisting:g}])}function $c(){return nn(5,[{provide:j.hb,useClass:j.fw}])}const Us=new o.nKC("ROUTER_FORROOT_GUARD"),Re=[j.aZ,{provide:Ot,useClass:xe},Ci,Ji,{provide:ci,useFactory:an,deps:[Ci]},W,[]];function Gn(){return new o.NEm("Router",Ci)}let vs=(()=>{class g{constructor(h){}static forRoot(h,C){return{ngModule:g,providers:[Re,[],{provide:v,multi:!0,useValue:h},{provide:Us,useFactory:jr,deps:[[Ci,new o.Xx1,new o.kdw]]},{provide:Zn,useValue:C||{}},C?.useHash?{provide:j.hb,useClass:j.fw}:{provide:j.hb,useClass:j.Sm},{provide:ie,useFactory:()=>{const g=(0,o.WQX)(j.Xr),x=(0,o.WQX)(o.SKi),h=(0,o.WQX)(Zn),C=(0,o.WQX)(he),z=(0,o.WQX)(Ot);return h.scrollOffset&&g.setOffset(h.scrollOffset),new we(z,C,g,x,h)}},C?.preloadingStrategy?xc(C.preloadingStrategy).\u0275providers:[],{provide:o.NEm,multi:!0,useFactory:Gn},C?.initialNavigation?Cc(C):[],C?.bindToComponentInputs?nn(8,[gi,{provide:Bi,useExisting:gi}]).\u0275providers:[],[{provide:ic,useFactory:_c},{provide:o.iLQ,multi:!0,useExisting:ic}]]}}static forChild(h){return{ngModule:g,providers:[{provide:v,multi:!0,useValue:h}]}}static{this.\u0275fac=function(C){return new(C||g)(o.KVO(Us,8))}}static{this.\u0275mod=o.$C({type:g})}static{this.\u0275inj=o.G2t({})}}return g})();function jr(g){return"guarded"}function Cc(g){return["disabled"===g.initialNavigation?nn(3,[{provide:o.hnV,multi:!0,useFactory:()=>{const x=(0,o.WQX)(Ci);return()=>{x.setUpLocationChangeListener()}}},{provide:ro,useValue:2}]).\u0275providers:[],"enabledBlocking"===g.initialNavigation?nn(2,[{provide:ro,useValue:0},{provide:o.hnV,multi:!0,deps:[o.zZn],useFactory:x=>{const h=x.get(j.hj,Promise.resolve());return()=>h.then(()=>new Promise(C=>{const z=x.get(Ci),nt=x.get(pn);Ki(z,()=>{C(!0)}),x.get(he).afterPreactivation=()=>(C(!0),nt.closed?(0,T.of)(void 0):nt),z.initialNavigation()}))}}]).\u0275providers:[]]}const ic=new o.nKC("")},54342:(Ce,Lt,r)=>{r.d(Lt,{aY:()=>no,dX:()=>Go});var o=r(1843);function y(D,et,ct){return(et=function Z(D){var et=function P(D,et){if("object"!=typeof D||!D)return D;var ct=D[Symbol.toPrimitive];if(void 0!==ct){var ut=ct.call(D,et||"default");if("object"!=typeof ut)return ut;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===et?String:Number)(D)}(D,"string");return"symbol"==typeof et?et:et+""}(et))in D?Object.defineProperty(D,et,{value:ct,enumerable:!0,configurable:!0,writable:!0}):D[et]=ct,D}function T(D,et){var ct=Object.keys(D);if(Object.getOwnPropertySymbols){var ut=Object.getOwnPropertySymbols(D);et&&(ut=ut.filter(function(St){return Object.getOwnPropertyDescriptor(D,St).enumerable})),ct.push.apply(ct,ut)}return ct}function k(D){for(var et=1;et{};let q={},K={},M=null,a={mark:ot,measure:ot};try{typeof window<"u"&&(q=window),typeof document<"u"&&(K=document),typeof MutationObserver<"u"&&(M=MutationObserver),typeof performance<"u"&&(a=performance)}catch{}const{userAgent:pt=""}=q.navigator||{},j=q,J=K,bt=M,Gt=a,$=!!J.documentElement&&!!J.head&&"function"==typeof J.addEventListener&&"function"==typeof J.createElement,lt=~pt.indexOf("MSIE")||~pt.indexOf("Trident/");var rt={classic:{fa:"solid",fas:"solid","fa-solid":"solid",far:"regular","fa-regular":"regular",fal:"light","fa-light":"light",fat:"thin","fa-thin":"thin",fab:"brands","fa-brands":"brands"},duotone:{fa:"solid",fad:"solid","fa-solid":"solid","fa-duotone":"solid",fadr:"regular","fa-regular":"regular",fadl:"light","fa-light":"light",fadt:"thin","fa-thin":"thin"},sharp:{fa:"solid",fass:"solid","fa-solid":"solid",fasr:"regular","fa-regular":"regular",fasl:"light","fa-light":"light",fast:"thin","fa-thin":"thin"},"sharp-duotone":{fa:"solid",fasds:"solid","fa-solid":"solid",fasdr:"regular","fa-regular":"regular",fasdl:"light","fa-light":"light",fasdt:"thin","fa-thin":"thin"}},de=["fa-classic","fa-duotone","fa-sharp","fa-sharp-duotone"],_e="classic",Le="duotone",ye=[_e,Le,"sharp","sharp-duotone"],Qe=new Map([["classic",{defaultShortPrefixId:"fas",defaultStyleId:"solid",styleIds:["solid","regular","light","thin","brands"],futureStyleIds:[],defaultFontWeight:900}],["sharp",{defaultShortPrefixId:"fass",defaultStyleId:"solid",styleIds:["solid","regular","light","thin"],futureStyleIds:[],defaultFontWeight:900}],["duotone",{defaultShortPrefixId:"fad",defaultStyleId:"solid",styleIds:["solid","regular","light","thin"],futureStyleIds:[],defaultFontWeight:900}],["sharp-duotone",{defaultShortPrefixId:"fasds",defaultStyleId:"solid",styleIds:["solid","regular","light","thin"],futureStyleIds:[],defaultFontWeight:900}]]),Me=["fak","fa-kit","fakd","fa-kit-duotone"],Tt=["fak","fakd"],Ne={GROUP:"duotone-group",SWAP_OPACITY:"swap-opacity",PRIMARY:"primary",SECONDARY:"secondary"},un=["fak","fa-kit","fakd","fa-kit-duotone"],oe={classic:{fab:"fa-brands",fad:"fa-duotone",fal:"fa-light",far:"fa-regular",fas:"fa-solid",fat:"fa-thin"},duotone:{fadr:"fa-regular",fadl:"fa-light",fadt:"fa-thin"},sharp:{fass:"fa-solid",fasr:"fa-regular",fasl:"fa-light",fast:"fa-thin"},"sharp-duotone":{fasds:"fa-solid",fasdr:"fa-regular",fasdl:"fa-light",fasdt:"fa-thin"}},Et=["fa","fas","far","fal","fat","fad","fadr","fadl","fadt","fab","fass","fasr","fasl","fast","fasds","fasdr","fasdl","fasdt","fa-classic","fa-duotone","fa-sharp","fa-sharp-duotone","fa-solid","fa-regular","fa-light","fa-thin","fa-duotone","fa-brands"],Ee=[1,2,3,4,5,6,7,8,9,10],ce=Ee.concat([11,12,13,14,15,16,17,18,19,20]),je=[...Object.keys({classic:["fas","far","fal","fat","fad"],duotone:["fadr","fadl","fadt"],sharp:["fass","fasr","fasl","fast"],"sharp-duotone":["fasds","fasdr","fasdl","fasdt"]}),"solid","regular","light","thin","duotone","brands","2xs","xs","sm","lg","xl","2xl","beat","border","fade","beat-fade","bounce","flip-both","flip-horizontal","flip-vertical","flip","fw","inverse","layers-counter","layers-text","layers","li","pull-left","pull-right","pulse","rotate-180","rotate-270","rotate-90","rotate-by","shake","spin-pulse","spin-reverse","spin","stack-1x","stack-2x","stack","ul",Ne.GROUP,Ne.SWAP_OPACITY,Ne.PRIMARY,Ne.SECONDARY].concat(Ee.map(D=>"".concat(D,"x"))).concat(ce.map(D=>"w-".concat(D)));const ne="___FONT_AWESOME___",at=16,H="fa",st="svg-inline--fa",zt="data-fa-i2svg",vt="data-fa-pseudo-element",kt="data-fa-pseudo-element-pending",tt="data-prefix",X="data-icon",ft="fontawesome-i2svg",Ot="async",xe=["HTML","HEAD","STYLE","SCRIPT"],Te=(()=>{try{return!0}catch{return!1}})();function Ke(D){return new Proxy(D,{get:(et,ct)=>ct in et?et[ct]:et[_e]})}const on=k({},rt);on[_e]=k(k(k(k({},{"fa-duotone":"duotone"}),rt[_e]),{fak:"kit","fa-kit":"kit"}),{fakd:"kit-duotone","fa-kit-duotone":"kit-duotone"});const _n=Ke(on),hn=k({},{classic:{solid:"fas",regular:"far",light:"fal",thin:"fat",brands:"fab"},duotone:{solid:"fad",regular:"fadr",light:"fadl",thin:"fadt"},sharp:{solid:"fass",regular:"fasr",light:"fasl",thin:"fast"},"sharp-duotone":{solid:"fasds",regular:"fasdr",light:"fasdl",thin:"fasdt"}});hn[_e]=k(k(k(k({},{duotone:"fad"}),hn[_e]),{kit:"fak"}),{"kit-duotone":"fakd"});const fe=Ke(hn),cn=k({},oe);cn[_e]=k(k({},cn[_e]),{fak:"fa-kit"});const me=Ke(cn),jt=k({},{classic:{"fa-brands":"fab","fa-duotone":"fad","fa-light":"fal","fa-regular":"far","fa-solid":"fas","fa-thin":"fat"},duotone:{"fa-regular":"fadr","fa-light":"fadl","fa-thin":"fadt"},sharp:{"fa-solid":"fass","fa-regular":"fasr","fa-light":"fasl","fa-thin":"fast"},"sharp-duotone":{"fa-solid":"fasds","fa-regular":"fasdr","fa-light":"fasdl","fa-thin":"fasdt"}});jt[_e]=k(k({},jt[_e]),{"fa-kit":"fak"}),Ke(jt);const dt=/fa(s|r|l|t|d|dr|dl|dt|b|k|kd|ss|sr|sl|st|sds|sdr|sdl|sdt)?[\-\ ]/,Rt="fa-layers-text",ae=/Font ?Awesome ?([56 ]*)(Solid|Regular|Light|Thin|Duotone|Brands|Free|Pro|Sharp Duotone|Sharp|Kit)?.*/i,Ct=(Ke(k({},{classic:{900:"fas",400:"far",normal:"far",300:"fal",100:"fat"},duotone:{900:"fad",400:"fadr",300:"fadl",100:"fadt"},sharp:{900:"fass",400:"fasr",300:"fasl",100:"fast"},"sharp-duotone":{900:"fasds",400:"fasdr",300:"fasdl",100:"fasdt"}})),["class","data-prefix","data-icon","data-fa-transform","data-fa-mask"]),U={GROUP:"duotone-group",SWAP_OPACITY:"swap-opacity",PRIMARY:"primary",SECONDARY:"secondary"},A=["kit",...je],xt=j.FontAwesomeConfig||{};J&&"function"==typeof J.querySelector&&[["data-family-prefix","familyPrefix"],["data-css-prefix","cssPrefix"],["data-family-default","familyDefault"],["data-style-default","styleDefault"],["data-replacement-class","replacementClass"],["data-auto-replace-svg","autoReplaceSvg"],["data-auto-add-css","autoAddCss"],["data-auto-a11y","autoA11y"],["data-search-pseudo-elements","searchPseudoElements"],["data-observe-mutations","observeMutations"],["data-mutate-approach","mutateApproach"],["data-keep-original-source","keepOriginalSource"],["data-measure-performance","measurePerformance"],["data-show-missing-icons","showMissingIcons"]].forEach(et=>{let[ct,ut]=et;const St=function Fe(D){return""===D||"false"!==D&&("true"===D||D)}(function Jt(D){var et=J.querySelector("script["+D+"]");if(et)return et.getAttribute(D)}(ct));null!=St&&(xt[ut]=St)});const Ze={styleDefault:"solid",familyDefault:_e,cssPrefix:H,replacementClass:st,autoReplaceSvg:!0,autoAddCss:!0,autoA11y:!0,searchPseudoElements:!1,observeMutations:!0,mutateApproach:"async",keepOriginalSource:!0,measurePerformance:!1,showMissingIcons:!0};xt.familyPrefix&&(xt.cssPrefix=xt.familyPrefix);const xn=k(k({},Ze),xt);xn.autoReplaceSvg||(xn.observeMutations=!1);const Ie={};Object.keys(Ze).forEach(D=>{Object.defineProperty(Ie,D,{enumerable:!0,set:function(et){xn[D]=et,Nn.forEach(ct=>ct(Ie))},get:function(){return xn[D]}})}),Object.defineProperty(Ie,"familyPrefix",{enumerable:!0,set:function(D){xn.cssPrefix=D,Nn.forEach(et=>et(Ie))},get:function(){return xn.cssPrefix}}),j.FontAwesomeConfig=Ie;const Nn=[],ee=at,I={size:16,x:0,y:0,rotate:0,flipX:!1,flipY:!1},Q="0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ";function Mt(){let D=12,et="";for(;D-- >0;)et+=Q[62*Math.random()|0];return et}function Wt(D){const et=[];for(let ct=(D||[]).length>>>0;ct--;)et[ct]=D[ct];return et}function se(D){return D.classList?Wt(D.classList):(D.getAttribute("class")||"").split(" ").filter(et=>et)}function De(D){return"".concat(D).replace(/&/g,"&").replace(/"/g,""").replace(/'/g,"'").replace(//g,">")}function Ye(D){return Object.keys(D||{}).reduce((et,ct)=>et+"".concat(ct,": ").concat(D[ct].trim(),";"),"")}function tn(D){return D.size!==I.size||D.x!==I.x||D.y!==I.y||D.rotate!==I.rotate||D.flipX||D.flipY}var Dn=':root, :host {\n --fa-font-solid: normal 900 1em/1 "Font Awesome 6 Free";\n --fa-font-regular: normal 400 1em/1 "Font Awesome 6 Free";\n --fa-font-light: normal 300 1em/1 "Font Awesome 6 Pro";\n --fa-font-thin: normal 100 1em/1 "Font Awesome 6 Pro";\n --fa-font-duotone: normal 900 1em/1 "Font Awesome 6 Duotone";\n --fa-font-duotone-regular: normal 400 1em/1 "Font Awesome 6 Duotone";\n --fa-font-duotone-light: normal 300 1em/1 "Font Awesome 6 Duotone";\n --fa-font-duotone-thin: normal 100 1em/1 "Font Awesome 6 Duotone";\n --fa-font-brands: normal 400 1em/1 "Font Awesome 6 Brands";\n --fa-font-sharp-solid: normal 900 1em/1 "Font Awesome 6 Sharp";\n --fa-font-sharp-regular: normal 400 1em/1 "Font Awesome 6 Sharp";\n --fa-font-sharp-light: normal 300 1em/1 "Font Awesome 6 Sharp";\n --fa-font-sharp-thin: normal 100 1em/1 "Font Awesome 6 Sharp";\n --fa-font-sharp-duotone-solid: normal 900 1em/1 "Font Awesome 6 Sharp Duotone";\n --fa-font-sharp-duotone-regular: normal 400 1em/1 "Font Awesome 6 Sharp Duotone";\n --fa-font-sharp-duotone-light: normal 300 1em/1 "Font Awesome 6 Sharp Duotone";\n --fa-font-sharp-duotone-thin: normal 100 1em/1 "Font Awesome 6 Sharp Duotone";\n}\n\nsvg:not(:root).svg-inline--fa, svg:not(:host).svg-inline--fa {\n overflow: visible;\n box-sizing: content-box;\n}\n\n.svg-inline--fa {\n display: var(--fa-display, inline-block);\n height: 1em;\n overflow: visible;\n vertical-align: -0.125em;\n}\n.svg-inline--fa.fa-2xs {\n vertical-align: 0.1em;\n}\n.svg-inline--fa.fa-xs {\n vertical-align: 0em;\n}\n.svg-inline--fa.fa-sm {\n vertical-align: -0.0714285705em;\n}\n.svg-inline--fa.fa-lg {\n vertical-align: -0.2em;\n}\n.svg-inline--fa.fa-xl {\n vertical-align: -0.25em;\n}\n.svg-inline--fa.fa-2xl {\n vertical-align: -0.3125em;\n}\n.svg-inline--fa.fa-pull-left {\n margin-right: var(--fa-pull-margin, 0.3em);\n width: auto;\n}\n.svg-inline--fa.fa-pull-right {\n margin-left: var(--fa-pull-margin, 0.3em);\n width: auto;\n}\n.svg-inline--fa.fa-li {\n width: var(--fa-li-width, 2em);\n top: 0.25em;\n}\n.svg-inline--fa.fa-fw {\n width: var(--fa-fw-width, 1.25em);\n}\n\n.fa-layers svg.svg-inline--fa {\n bottom: 0;\n left: 0;\n margin: auto;\n position: absolute;\n right: 0;\n top: 0;\n}\n\n.fa-layers-counter, .fa-layers-text {\n display: inline-block;\n position: absolute;\n text-align: center;\n}\n\n.fa-layers {\n display: inline-block;\n height: 1em;\n position: relative;\n text-align: center;\n vertical-align: -0.125em;\n width: 1em;\n}\n.fa-layers svg.svg-inline--fa {\n transform-origin: center center;\n}\n\n.fa-layers-text {\n left: 50%;\n top: 50%;\n transform: translate(-50%, -50%);\n transform-origin: center center;\n}\n\n.fa-layers-counter {\n background-color: var(--fa-counter-background-color, #ff253a);\n border-radius: var(--fa-counter-border-radius, 1em);\n box-sizing: border-box;\n color: var(--fa-inverse, #fff);\n line-height: var(--fa-counter-line-height, 1);\n max-width: var(--fa-counter-max-width, 5em);\n min-width: var(--fa-counter-min-width, 1.5em);\n overflow: hidden;\n padding: var(--fa-counter-padding, 0.25em 0.5em);\n right: var(--fa-right, 0);\n text-overflow: ellipsis;\n top: var(--fa-top, 0);\n transform: scale(var(--fa-counter-scale, 0.25));\n transform-origin: top right;\n}\n\n.fa-layers-bottom-right {\n bottom: var(--fa-bottom, 0);\n right: var(--fa-right, 0);\n top: auto;\n transform: scale(var(--fa-layers-scale, 0.25));\n transform-origin: bottom right;\n}\n\n.fa-layers-bottom-left {\n bottom: var(--fa-bottom, 0);\n left: var(--fa-left, 0);\n right: auto;\n top: auto;\n transform: scale(var(--fa-layers-scale, 0.25));\n transform-origin: bottom left;\n}\n\n.fa-layers-top-right {\n top: var(--fa-top, 0);\n right: var(--fa-right, 0);\n transform: scale(var(--fa-layers-scale, 0.25));\n transform-origin: top right;\n}\n\n.fa-layers-top-left {\n left: var(--fa-left, 0);\n right: auto;\n top: var(--fa-top, 0);\n transform: scale(var(--fa-layers-scale, 0.25));\n transform-origin: top left;\n}\n\n.fa-1x {\n font-size: 1em;\n}\n\n.fa-2x {\n font-size: 2em;\n}\n\n.fa-3x {\n font-size: 3em;\n}\n\n.fa-4x {\n font-size: 4em;\n}\n\n.fa-5x {\n font-size: 5em;\n}\n\n.fa-6x {\n font-size: 6em;\n}\n\n.fa-7x {\n font-size: 7em;\n}\n\n.fa-8x {\n font-size: 8em;\n}\n\n.fa-9x {\n font-size: 9em;\n}\n\n.fa-10x {\n font-size: 10em;\n}\n\n.fa-2xs {\n font-size: 0.625em;\n line-height: 0.1em;\n vertical-align: 0.225em;\n}\n\n.fa-xs {\n font-size: 0.75em;\n line-height: 0.0833333337em;\n vertical-align: 0.125em;\n}\n\n.fa-sm {\n font-size: 0.875em;\n line-height: 0.0714285718em;\n vertical-align: 0.0535714295em;\n}\n\n.fa-lg {\n font-size: 1.25em;\n line-height: 0.05em;\n vertical-align: -0.075em;\n}\n\n.fa-xl {\n font-size: 1.5em;\n line-height: 0.0416666682em;\n vertical-align: -0.125em;\n}\n\n.fa-2xl {\n font-size: 2em;\n line-height: 0.03125em;\n vertical-align: -0.1875em;\n}\n\n.fa-fw {\n text-align: center;\n width: 1.25em;\n}\n\n.fa-ul {\n list-style-type: none;\n margin-left: var(--fa-li-margin, 2.5em);\n padding-left: 0;\n}\n.fa-ul > li {\n position: relative;\n}\n\n.fa-li {\n left: calc(-1 * var(--fa-li-width, 2em));\n position: absolute;\n text-align: center;\n width: var(--fa-li-width, 2em);\n line-height: inherit;\n}\n\n.fa-border {\n border-color: var(--fa-border-color, #eee);\n border-radius: var(--fa-border-radius, 0.1em);\n border-style: var(--fa-border-style, solid);\n border-width: var(--fa-border-width, 0.08em);\n padding: var(--fa-border-padding, 0.2em 0.25em 0.15em);\n}\n\n.fa-pull-left {\n float: left;\n margin-right: var(--fa-pull-margin, 0.3em);\n}\n\n.fa-pull-right {\n float: right;\n margin-left: var(--fa-pull-margin, 0.3em);\n}\n\n.fa-beat {\n animation-name: fa-beat;\n animation-delay: var(--fa-animation-delay, 0s);\n animation-direction: var(--fa-animation-direction, normal);\n animation-duration: var(--fa-animation-duration, 1s);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-timing-function: var(--fa-animation-timing, ease-in-out);\n}\n\n.fa-bounce {\n animation-name: fa-bounce;\n animation-delay: var(--fa-animation-delay, 0s);\n animation-direction: var(--fa-animation-direction, normal);\n animation-duration: var(--fa-animation-duration, 1s);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.28, 0.84, 0.42, 1));\n}\n\n.fa-fade {\n animation-name: fa-fade;\n animation-delay: var(--fa-animation-delay, 0s);\n animation-direction: var(--fa-animation-direction, normal);\n animation-duration: var(--fa-animation-duration, 1s);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1));\n}\n\n.fa-beat-fade {\n animation-name: fa-beat-fade;\n animation-delay: var(--fa-animation-delay, 0s);\n animation-direction: var(--fa-animation-direction, normal);\n animation-duration: var(--fa-animation-duration, 1s);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1));\n}\n\n.fa-flip {\n animation-name: fa-flip;\n animation-delay: var(--fa-animation-delay, 0s);\n animation-direction: var(--fa-animation-direction, normal);\n animation-duration: var(--fa-animation-duration, 1s);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-timing-function: var(--fa-animation-timing, ease-in-out);\n}\n\n.fa-shake {\n animation-name: fa-shake;\n animation-delay: var(--fa-animation-delay, 0s);\n animation-direction: var(--fa-animation-direction, normal);\n animation-duration: var(--fa-animation-duration, 1s);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-timing-function: var(--fa-animation-timing, linear);\n}\n\n.fa-spin {\n animation-name: fa-spin;\n animation-delay: var(--fa-animation-delay, 0s);\n animation-direction: var(--fa-animation-direction, normal);\n animation-duration: var(--fa-animation-duration, 2s);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-timing-function: var(--fa-animation-timing, linear);\n}\n\n.fa-spin-reverse {\n --fa-animation-direction: reverse;\n}\n\n.fa-pulse,\n.fa-spin-pulse {\n animation-name: fa-spin;\n animation-direction: var(--fa-animation-direction, normal);\n animation-duration: var(--fa-animation-duration, 1s);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-timing-function: var(--fa-animation-timing, steps(8));\n}\n\n@media (prefers-reduced-motion: reduce) {\n .fa-beat,\n.fa-bounce,\n.fa-fade,\n.fa-beat-fade,\n.fa-flip,\n.fa-pulse,\n.fa-shake,\n.fa-spin,\n.fa-spin-pulse {\n animation-delay: -1ms;\n animation-duration: 1ms;\n animation-iteration-count: 1;\n transition-delay: 0s;\n transition-duration: 0s;\n }\n}\n@keyframes fa-beat {\n 0%, 90% {\n transform: scale(1);\n }\n 45% {\n transform: scale(var(--fa-beat-scale, 1.25));\n }\n}\n@keyframes fa-bounce {\n 0% {\n transform: scale(1, 1) translateY(0);\n }\n 10% {\n transform: scale(var(--fa-bounce-start-scale-x, 1.1), var(--fa-bounce-start-scale-y, 0.9)) translateY(0);\n }\n 30% {\n transform: scale(var(--fa-bounce-jump-scale-x, 0.9), var(--fa-bounce-jump-scale-y, 1.1)) translateY(var(--fa-bounce-height, -0.5em));\n }\n 50% {\n transform: scale(var(--fa-bounce-land-scale-x, 1.05), var(--fa-bounce-land-scale-y, 0.95)) translateY(0);\n }\n 57% {\n transform: scale(1, 1) translateY(var(--fa-bounce-rebound, -0.125em));\n }\n 64% {\n transform: scale(1, 1) translateY(0);\n }\n 100% {\n transform: scale(1, 1) translateY(0);\n }\n}\n@keyframes fa-fade {\n 50% {\n opacity: var(--fa-fade-opacity, 0.4);\n }\n}\n@keyframes fa-beat-fade {\n 0%, 100% {\n opacity: var(--fa-beat-fade-opacity, 0.4);\n transform: scale(1);\n }\n 50% {\n opacity: 1;\n transform: scale(var(--fa-beat-fade-scale, 1.125));\n }\n}\n@keyframes fa-flip {\n 50% {\n transform: rotate3d(var(--fa-flip-x, 0), var(--fa-flip-y, 1), var(--fa-flip-z, 0), var(--fa-flip-angle, -180deg));\n }\n}\n@keyframes fa-shake {\n 0% {\n transform: rotate(-15deg);\n }\n 4% {\n transform: rotate(15deg);\n }\n 8%, 24% {\n transform: rotate(-18deg);\n }\n 12%, 28% {\n transform: rotate(18deg);\n }\n 16% {\n transform: rotate(-22deg);\n }\n 20% {\n transform: rotate(22deg);\n }\n 32% {\n transform: rotate(-12deg);\n }\n 36% {\n transform: rotate(12deg);\n }\n 40%, 100% {\n transform: rotate(0deg);\n }\n}\n@keyframes fa-spin {\n 0% {\n transform: rotate(0deg);\n }\n 100% {\n transform: rotate(360deg);\n }\n}\n.fa-rotate-90 {\n transform: rotate(90deg);\n}\n\n.fa-rotate-180 {\n transform: rotate(180deg);\n}\n\n.fa-rotate-270 {\n transform: rotate(270deg);\n}\n\n.fa-flip-horizontal {\n transform: scale(-1, 1);\n}\n\n.fa-flip-vertical {\n transform: scale(1, -1);\n}\n\n.fa-flip-both,\n.fa-flip-horizontal.fa-flip-vertical {\n transform: scale(-1, -1);\n}\n\n.fa-rotate-by {\n transform: rotate(var(--fa-rotate-angle, 0));\n}\n\n.fa-stack {\n display: inline-block;\n vertical-align: middle;\n height: 2em;\n position: relative;\n width: 2.5em;\n}\n\n.fa-stack-1x,\n.fa-stack-2x {\n bottom: 0;\n left: 0;\n margin: auto;\n position: absolute;\n right: 0;\n top: 0;\n z-index: var(--fa-stack-z-index, auto);\n}\n\n.svg-inline--fa.fa-stack-1x {\n height: 1em;\n width: 1.25em;\n}\n.svg-inline--fa.fa-stack-2x {\n height: 2em;\n width: 2.5em;\n}\n\n.fa-inverse {\n color: var(--fa-inverse, #fff);\n}\n\n.sr-only,\n.fa-sr-only {\n position: absolute;\n width: 1px;\n height: 1px;\n padding: 0;\n margin: -1px;\n overflow: hidden;\n clip: rect(0, 0, 0, 0);\n white-space: nowrap;\n border-width: 0;\n}\n\n.sr-only-focusable:not(:focus),\n.fa-sr-only-focusable:not(:focus) {\n position: absolute;\n width: 1px;\n height: 1px;\n padding: 0;\n margin: -1px;\n overflow: hidden;\n clip: rect(0, 0, 0, 0);\n white-space: nowrap;\n border-width: 0;\n}\n\n.svg-inline--fa .fa-primary {\n fill: var(--fa-primary-color, currentColor);\n opacity: var(--fa-primary-opacity, 1);\n}\n\n.svg-inline--fa .fa-secondary {\n fill: var(--fa-secondary-color, currentColor);\n opacity: var(--fa-secondary-opacity, 0.4);\n}\n\n.svg-inline--fa.fa-swap-opacity .fa-primary {\n opacity: var(--fa-secondary-opacity, 0.4);\n}\n\n.svg-inline--fa.fa-swap-opacity .fa-secondary {\n opacity: var(--fa-primary-opacity, 1);\n}\n\n.svg-inline--fa mask .fa-primary,\n.svg-inline--fa mask .fa-secondary {\n fill: black;\n}';function Fn(){const D=H,et=st,ct=Ie.cssPrefix,ut=Ie.replacementClass;let St=Dn;if(ct!==D||ut!==et){const ie=new RegExp("\\.".concat(D,"\\-"),"g"),we=new RegExp("\\--".concat(D,"\\-"),"g"),Ue=new RegExp("\\.".concat(et),"g");St=St.replace(ie,".".concat(ct,"-")).replace(we,"--".concat(ct,"-")).replace(Ue,".".concat(ut))}return St}let Mn=!1;function In(){Ie.autoAddCss&&!Mn&&(function _t(D){if(!D||!$)return;const et=J.createElement("style");et.setAttribute("type","text/css"),et.innerHTML=D;const ct=J.head.childNodes;let ut=null;for(let St=ct.length-1;St>-1;St--){const ie=ct[St],we=(ie.tagName||"").toUpperCase();["STYLE","LINK"].indexOf(we)>-1&&(ut=ie)}J.head.insertBefore(et,ut)}(Fn()),Mn=!0)}var li={mixout:()=>({dom:{css:Fn,insertCss:In}}),hooks:()=>({beforeDOMElementCreation(){In()},beforeI2svg(){In()}})};const yi=j||{};yi[ne]||(yi[ne]={}),yi[ne].styles||(yi[ne].styles={}),yi[ne].hooks||(yi[ne].hooks={}),yi[ne].shims||(yi[ne].shims=[]);var Bn=yi[ne];const Jn=[],Mi=function(){J.removeEventListener("DOMContentLoaded",Mi),pi=1,Jn.map(D=>D())};let pi=!1;function oi(D){const{tag:et,attributes:ct={},children:ut=[]}=D;return"string"==typeof D?De(D):"<".concat(et," ").concat(function ve(D){return Object.keys(D||{}).reduce((et,ct)=>et+"".concat(ct,'="').concat(De(D[ct]),'" '),"").trim()}(ct),">").concat(ut.map(oi).join(""),"")}function Ti(D,et,ct){if(D&&D[et]&&D[et][ct])return{prefix:et,iconName:ct,icon:D[et][ct]}}$&&(pi=(J.documentElement.doScroll?/^loaded|^c/:/^loaded|^i|^c/).test(J.readyState),pi||J.addEventListener("DOMContentLoaded",Mi));var si=function(et,ct,ut,St){var an,nn,vn,ie=Object.keys(et),we=ie.length,Ue=void 0!==St?function(et,ct){return function(ut,St,ie,we){return et.call(ct,ut,St,ie,we)}}(ct,St):ct;for(void 0===ut?(an=1,vn=et[ie[0]]):(an=0,vn=ut);an=55296&&St<=56319&&ct{const ut=D[ct];return ut.icon?et[ut.iconName]=ut.icon:et[ct]=ut,et},{})}function Jo(D,et){let ct=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};const{skipHooks:ut=!1}=ct,St=uo(et);"function"!=typeof Bn.hooks.addPack||ut?Bn.styles[D]=k(k({},Bn.styles[D]||{}),St):Bn.hooks.addPack(D,uo(et)),"fas"===D&&Jo("fa",et)}const{styles:wo,shims:Jc}=Bn,Oi=Object.keys(me),mc=Oi.reduce((D,et)=>(D[et]=Object.keys(me[et]),D),{});let Bo=null,Vo={},Ec={},Bc={},Ji={},fc={};const Ii=()=>{const D=ut=>si(wo,(St,ie,we)=>(St[we]=si(ie,ut,{}),St),{});Vo=D((ut,St,ie)=>(St[3]&&(ut[St[3]]=ie),St[2]&&St[2].filter(Ue=>"number"==typeof Ue).forEach(Ue=>{ut[Ue.toString(16)]=ie}),ut)),Ec=D((ut,St,ie)=>(ut[ie]=ie,St[2]&&St[2].filter(Ue=>"string"==typeof Ue).forEach(Ue=>{ut[Ue]=ie}),ut)),fc=D((ut,St,ie)=>{const we=St[2];return ut[ie]=ie,we.forEach(Ue=>{ut[Ue]=ie}),ut});const et="far"in wo||Ie.autoFetchSvg,ct=si(Jc,(ut,St)=>{const ie=St[0];let we=St[1];const Ue=St[2];return"far"===we&&!et&&(we="fas"),"string"==typeof ie&&(ut.names[ie]={prefix:we,iconName:Ue}),"number"==typeof ie&&(ut.unicodes[ie.toString(16)]={prefix:we,iconName:Ue}),ut},{names:{},unicodes:{}});Bc=ct.names,Ji=ct.unicodes,Bo=mo(Ie.styleDefault,{family:Ie.familyDefault})};function En(D,et){return(Vo[D]||{})[et]}function ei(D,et){return(fc[D]||{})[et]}function Eo(D){return Bc[D]||{prefix:null,iconName:null}}function Wi(){return Bo}(function Qn(D){Nn.push(D)})(D=>{Bo=mo(D.styleDefault,{family:Ie.familyDefault})}),Ii();const Do=()=>({prefix:null,iconName:null,rest:[]});function mo(D){let et=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const{family:ct=_e}=et;return ct!==Le||D?fe[ct][D]||fe[ct][_n[ct][D]]||(D in Bn.styles?D:null)||null:"fad"}function qn(D){return D.sort().filter((et,ct,ut)=>ut.indexOf(et)===ct)}function We(D){let et=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const{skipLookups:ct=!1}=et;let ut=null;const St=Et.concat(un),ie=qn(D.filter(kn=>St.includes(kn))),we=qn(D.filter(kn=>!Et.includes(kn))),Ue=ie.filter(kn=>(ut=kn,!de.includes(kn))),[an=null]=Ue,nn=function Oo(D){let et=_e;const ct=Oi.reduce((ut,St)=>(ut[St]="".concat(Ie.cssPrefix,"-").concat(St),ut),{});return ye.forEach(ut=>{(D.includes(ct[ut])||D.some(St=>mc[ut].includes(St)))&&(et=ut)}),et}(ie),vn=k(k({},function qo(D){let et=[],ct=null;return D.forEach(ut=>{const St=function Lo(D,et){const ct=et.split("-"),ut=ct[0],St=ct.slice(1).join("-");return ut!==D||""===St||function Uo(D){return~A.indexOf(D)}(St)?null:St}(Ie.cssPrefix,ut);St?ct=St:ut&&et.push(ut)}),{iconName:ct,rest:et}}(we)),{},{prefix:mo(an,{family:nn})});return k(k(k({},vn),function Bi(D){const{values:et,family:ct,canonical:ut,givenPrefix:St="",styles:ie={},config:we={}}=D,Ue=ct===Le,an=et.includes("fa-duotone")||et.includes("fad");if(!Ue&&(an||"duotone"===we.familyDefault||("fad"===ut.prefix||"fa-duotone"===ut.prefix))&&(ut.prefix="fad"),(et.includes("fa-brands")||et.includes("fab"))&&(ut.prefix="fab"),!ut.prefix&&Hn.includes(ct)&&(Object.keys(ie).find(Kn=>Si.includes(Kn))||we.autoFetchSvg)){const Kn=Qe.get(ct).defaultShortPrefixId;ut.prefix=Kn,ut.iconName=ei(ut.prefix,ut.iconName)||ut.iconName}return("fa"===ut.prefix||"fa"===St)&&(ut.prefix=Wi()||"fas"),ut}({values:D,family:nn,styles:wo,config:Ie,canonical:vn,givenPrefix:ut})),function Cn(D,et,ct){let{prefix:ut,iconName:St}=ct;if(D||!ut||!St)return{prefix:ut,iconName:St};const ie="fa"===et?Eo(St):{},we=ei(ut,St);return St=ie.iconName||we||St,ut=ie.prefix||ut,"far"===ut&&!wo.far&&wo.fas&&!Ie.autoFetchSvg&&(ut="fas"),{prefix:ut,iconName:St}}(ct,ut,vn))}const Hn=ye.filter(D=>D!==_e||D!==Le),Si=Object.keys(oe).filter(D=>D!==_e).map(D=>Object.keys(oe[D])).flat();let So=[],Vn={};const Ni={},jo=Object.keys(Ni);function qi(D,et){for(var ct=arguments.length,ut=new Array(ct>2?ct-2:0),St=2;St{et=we.apply(null,[et,...ut])}),et}function to(D){for(var et=arguments.length,ct=new Array(et>1?et-1:0),ut=1;ut{ie.apply(null,ct)})}function zi(){const D=arguments[0],et=Array.prototype.slice.call(arguments,1);return Ni[D]?Ni[D].apply(null,et):void 0}function $n(D){"fa"===D.prefix&&(D.prefix="fas");let{iconName:et}=D;const ct=D.prefix||Wi();if(et)return et=ei(ct,et)||et,Ti(zo.definitions,ct,et)||Ti(Bn.styles,ct,et)}const zo=new class gi{constructor(){this.definitions={}}add(){for(var et=arguments.length,ct=new Array(et),ut=0;ut{this.definitions[ie]=k(k({},this.definitions[ie]||{}),St[ie]),Jo(ie,St[ie]);const we=me[_e][ie];we&&Jo(we,St[ie]),Ii()})}reset(){this.definitions={}}_pullDefinitions(et,ct){const ut=ct.prefix&&ct.iconName&&ct.icon?{0:ct}:ct;return Object.keys(ut).map(St=>{const{prefix:ie,iconName:we,icon:Ue}=ut[St],an=Ue[2];et[ie]||(et[ie]={}),an.length>0&&an.forEach(nn=>{"string"==typeof nn&&(et[ie][nn]=Ue)}),et[ie][we]=Ue}),et}},Vi={noAuto:()=>{Ie.autoReplaceSvg=!1,Ie.observeMutations=!1,to("noAuto")},config:Ie,dom:{i2svg:function(){let D=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return $?(to("beforeI2svg",D),zi("pseudoElements2svg",D),zi("i2svg",D)):Promise.reject(new Error("Operation requires a DOM of some kind."))},watch:function(){let D=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const{autoReplaceSvgRoot:et}=D;!1===Ie.autoReplaceSvg&&(Ie.autoReplaceSvg=!0),Ie.observeMutations=!0,function Fi(D){$&&(pi?setTimeout(D,0):Jn.push(D))}(()=>{Po({autoReplaceSvgRoot:et}),to("watch",D)})}},parse:{icon:D=>{if(null===D)return null;if("object"==typeof D&&D.prefix&&D.iconName)return{prefix:D.prefix,iconName:ei(D.prefix,D.iconName)||D.iconName};if(Array.isArray(D)&&2===D.length){const et=0===D[1].indexOf("fa-")?D[1].slice(3):D[1],ct=mo(D[0]);return{prefix:ct,iconName:ei(ct,et)||et}}if("string"==typeof D&&(D.indexOf("".concat(Ie.cssPrefix,"-"))>-1||D.match(dt))){const et=We(D.split(" "),{skipLookups:!0});return{prefix:et.prefix||Wi(),iconName:ei(et.prefix,et.iconName)||et.iconName}}if("string"==typeof D){const et=Wi();return{prefix:et,iconName:ei(et,D)||D}}}},library:zo,findIconDefinition:$n,toHtml:oi},Po=function(){let D=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const{autoReplaceSvgRoot:et=J}=D;(Object.keys(Bn.styles).length>0||Ie.autoFetchSvg)&&$&&Ie.autoReplaceSvg&&Vi.dom.i2svg({node:et})};function Pi(D,et){return Object.defineProperty(D,"abstract",{get:et}),Object.defineProperty(D,"html",{get:function(){return D.abstract.map(ct=>oi(ct))}}),Object.defineProperty(D,"node",{get:function(){if(!$)return;const ct=J.createElement("div");return ct.innerHTML=D.html,ct.children}}),D}function On(D){const{icons:{main:et,mask:ct},prefix:ut,iconName:St,transform:ie,symbol:we,title:Ue,maskId:an,titleId:nn,extra:vn,watchable:kn=!1}=D,{width:Kn,height:Xi}=ct.found?ct:et,_c=Tt.includes(ut),pn=[Ie.replacementClass,St?"".concat(Ie.cssPrefix,"-").concat(St):""].filter(xc=>-1===vn.classes.indexOf(xc)).filter(xc=>""!==xc||!!xc).concat(vn.classes).join(" ");let ro={children:[],attributes:k(k({},vn.attributes),{},{"data-prefix":ut,"data-icon":St,class:pn,role:vn.attributes.role||"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 ".concat(Kn," ").concat(Xi)})};const Nc=_c&&!~vn.classes.indexOf("fa-fw")?{width:"".concat(Kn/Xi*16*.0625,"em")}:{};kn&&(ro.attributes[zt]=""),Ue&&(ro.children.push({tag:"title",attributes:{id:ro.attributes["aria-labelledby"]||"title-".concat(nn||Mt())},children:[Ue]}),delete ro.attributes.title);const bo=k(k({},ro),{},{prefix:ut,iconName:St,main:et,mask:ct,maskId:an,transform:ie,symbol:we,styles:k(k({},Nc),vn.styles)}),{children:so,attributes:Rc}=ct.found&&et.found?zi("generateAbstractMask",bo)||{children:[],attributes:{}}:zi("generateAbstractIcon",bo)||{children:[],attributes:{}};return bo.children=so,bo.attributes=Rc,we?function tc(D){let{prefix:et,iconName:ct,children:ut,attributes:St,symbol:ie}=D;const we=!0===ie?"".concat(et,"-").concat(Ie.cssPrefix,"-").concat(ct):ie;return[{tag:"svg",attributes:{style:"display: none;"},children:[{tag:"symbol",attributes:k(k({},St),{},{id:we}),children:ut}]}]}(bo):function eo(D){let{children:et,main:ct,mask:ut,attributes:St,styles:ie,transform:we}=D;if(tn(we)&&ct.found&&!ut.found){const{width:Ue,height:an}=ct,nn={x:Ue/an/2,y:.5};St.style=Ye(k(k({},ie),{},{"transform-origin":"".concat(nn.x+we.x/16,"em ").concat(nn.y+we.y/16,"em")}))}return[{tag:"svg",attributes:St,children:et}]}(bo)}function hc(D){const{content:et,width:ct,height:ut,transform:St,title:ie,extra:we,watchable:Ue=!1}=D,an=k(k(k({},we.attributes),ie?{title:ie}:{}),{},{class:we.classes.join(" ")});Ue&&(an[zt]="");const nn=k({},we.styles);tn(St)&&(nn.transform=function ln(D){let{transform:et,width:ct=at,height:ut=at,startCentered:St=!1}=D,ie="";return ie+=St&<?"translate(".concat(et.x/ee-ct/2,"em, ").concat(et.y/ee-ut/2,"em) "):St?"translate(calc(-50% + ".concat(et.x/ee,"em), calc(-50% + ").concat(et.y/ee,"em)) "):"translate(".concat(et.x/ee,"em, ").concat(et.y/ee,"em) "),ie+="scale(".concat(et.size/ee*(et.flipX?-1:1),", ").concat(et.size/ee*(et.flipY?-1:1),") "),ie+="rotate(".concat(et.rotate,"deg) "),ie}({transform:St,startCentered:!0,width:ct,height:ut}),nn["-webkit-transform"]=nn.transform);const vn=Ye(nn);vn.length>0&&(an.style=vn);const kn=[];return kn.push({tag:"span",attributes:an,children:[et]}),ie&&kn.push({tag:"span",attributes:{class:"sr-only"},children:[ie]}),kn}const{styles:ko}=Bn;function ui(D){const et=D[0],ct=D[1],[ut]=D.slice(4);let St=null;return St=Array.isArray(ut)?{tag:"g",attributes:{class:"".concat(Ie.cssPrefix,"-").concat(U.GROUP)},children:[{tag:"path",attributes:{class:"".concat(Ie.cssPrefix,"-").concat(U.SECONDARY),fill:"currentColor",d:ut[0]}},{tag:"path",attributes:{class:"".concat(Ie.cssPrefix,"-").concat(U.PRIMARY),fill:"currentColor",d:ut[1]}}]}:{tag:"path",attributes:{fill:"currentColor",d:ut}},{found:!0,width:et,height:ct,icon:St}}const Dc={found:!1,width:512,height:512};function $o(D,et){let ct=et;return"fa"===et&&null!==Ie.styleDefault&&(et=Wi()),new Promise((ut,St)=>{if("fa"===ct){const ie=Eo(D)||{};D=ie.iconName||D,et=ie.prefix||et}if(D&&et&&ko[et]&&ko[et][D])return ut(ui(ko[et][D]));(function Ao(D,et){!Te&&!Ie.showMissingIcons&&D&&console.error('Icon with name "'.concat(D,'" and prefix "').concat(et,'" is missing.'))})(D,et),ut(k(k({},Dc),{},{icon:Ie.showMissingIcons&&D&&zi("missingIconAbstract")||{}}))})}const bi=()=>{},pc=Ie.measurePerformance&&Gt&&Gt.mark&&Gt.measure?Gt:{mark:bi,measure:bi},mi='FA "6.7.2"',co=D=>{pc.mark("".concat(mi," ").concat(D," ends")),pc.measure("".concat(mi," ").concat(D),"".concat(mi," ").concat(D," begins"),"".concat(mi," ").concat(D," ends"))};var Ui={begin:D=>(pc.mark("".concat(mi," ").concat(D," begins")),()=>co(D)),end:co};const To=()=>{};function ji(D){return"string"==typeof(D.getAttribute?D.getAttribute(zt):null)}function Oc(D){return J.createElementNS("http://www.w3.org/2000/svg",D)}function Sc(D){return J.createElement(D)}function S(D){let et=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const{ceFn:ct=("svg"===D.tag?Oc:Sc)}=et;if("string"==typeof D)return J.createTextNode(D);const ut=ct(D.tag);return Object.keys(D.attributes||[]).forEach(function(ie){ut.setAttribute(ie,D.attributes[ie])}),(D.children||[]).forEach(function(ie){ut.appendChild(S(ie,{ceFn:ct}))}),ut}const w={replace:function(D){const et=D[0];if(et.parentNode)if(D[1].forEach(ct=>{et.parentNode.insertBefore(S(ct),et)}),null===et.getAttribute(zt)&&Ie.keepOriginalSource){let ct=J.createComment(function B(D){let et=" ".concat(D.outerHTML," ");return et="".concat(et,"Font Awesome fontawesome.com "),et}(et));et.parentNode.replaceChild(ct,et)}else et.remove()},nest:function(D){const et=D[0],ct=D[1];if(~se(et).indexOf(Ie.replacementClass))return w.replace(D);const ut=new RegExp("".concat(Ie.cssPrefix,"-.*"));if(delete ct[0].attributes.id,ct[0].attributes.class){const ie=ct[0].attributes.class.split(" ").reduce((we,Ue)=>(Ue===Ie.replacementClass||Ue.match(ut)?we.toSvg.push(Ue):we.toNode.push(Ue),we),{toNode:[],toSvg:[]});ct[0].attributes.class=ie.toSvg.join(" "),0===ie.toNode.length?et.removeAttribute("class"):et.setAttribute("class",ie.toNode.join(" "))}const St=ct.map(ie=>oi(ie)).join("\n");et.setAttribute(zt,""),et.innerHTML=St}};function it(D){D()}function Bt(D,et){const ct="function"==typeof et?et:To;if(0===D.length)ct();else{let ut=it;Ie.mutateApproach===Ot&&(ut=j.requestAnimationFrame||it),ut(()=>{const St=function Ar(){return!0===Ie.autoReplaceSvg?w.replace:w[Ie.autoReplaceSvg]||w.replace}(),ie=Ui.begin("mutate");D.map(St),ie(),ct()})}}let en=!1;function zn(){en=!0}function wi(){en=!1}let ec=null;function Vc(D){if(!bt||!Ie.observeMutations)return;const{treeCallback:et=To,nodeCallback:ct=To,pseudoElementsCallback:ut=To,observeMutationsRoot:St=J}=D;ec=new bt(ie=>{if(en)return;const we=Wi();Wt(ie).forEach(Ue=>{if("childList"===Ue.type&&Ue.addedNodes.length>0&&!ji(Ue.addedNodes[0])&&(Ie.searchPseudoElements&&ut(Ue.target),et(Ue.target)),"attributes"===Ue.type&&Ue.target.parentNode&&Ie.searchPseudoElements&&ut(Ue.target.parentNode),"attributes"===Ue.type&&ji(Ue.target)&&~Ct.indexOf(Ue.attributeName))if("class"===Ue.attributeName&&function Wo(D){const et=D.getAttribute?D.getAttribute(tt):null,ct=D.getAttribute?D.getAttribute(X):null;return et&&ct}(Ue.target)){const{prefix:an,iconName:nn}=We(se(Ue.target));Ue.target.setAttribute(tt,an||we),nn&&Ue.target.setAttribute(X,nn)}else(function gc(D){return D&&D.classList&&D.classList.contains&&D.classList.contains(Ie.replacementClass)})(Ue.target)&&ct(Ue.target)})}),$&&ec.observe(St,{childList:!0,attributes:!0,characterData:!0,subtree:!0})}function Tr(D){let et=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{styleParser:!0};const{iconName:ct,prefix:ut,rest:St}=function Qr(D){const et=D.getAttribute("data-prefix"),ct=D.getAttribute("data-icon"),ut=void 0!==D.innerText?D.innerText.trim():"";let St=We(se(D));return St.prefix||(St.prefix=Wi()),et&&ct&&(St.prefix=et,St.iconName=ct),St.iconName&&St.prefix||(St.prefix&&ut.length>0&&(St.iconName=function di(D,et){return(Ec[D]||{})[et]}(St.prefix,D.innerText)||En(St.prefix,dc(D.innerText))),!St.iconName&&Ie.autoFetchSvg&&D.firstChild&&D.firstChild.nodeType===Node.TEXT_NODE&&(St.iconName=D.firstChild.data)),St}(D),ie=function Zr(D){const et=Wt(D.attributes).reduce((St,ie)=>("class"!==St.name&&"style"!==St.name&&(St[ie.name]=ie.value),St),{}),ct=D.getAttribute("title"),ut=D.getAttribute("data-fa-title-id");return Ie.autoA11y&&(ct?et["aria-labelledby"]="".concat(Ie.replacementClass,"-title-").concat(ut||Mt()):(et["aria-hidden"]="true",et.focusable="false")),et}(D),we=qi("parseNodeAttributes",{},D);let Ue=et.styleParser?function gs(D){const et=D.getAttribute("style");let ct=[];return et&&(ct=et.split(";").reduce((ut,St)=>{const ie=St.split(":"),we=ie[0],Ue=ie.slice(1);return we&&Ue.length>0&&(ut[we]=Ue.join(":").trim()),ut},{})),ct}(D):[];return k({iconName:ct,title:D.getAttribute("title"),titleId:D.getAttribute("data-fa-title-id"),prefix:ut,transform:I,mask:{iconName:null,prefix:null,rest:[]},maskId:null,symbol:!1,extra:{classes:St,styles:Ue,attributes:ie}},we)}const{styles:Ir}=Bn;function tr(D){const et="nest"===Ie.autoReplaceSvg?Tr(D,{styleParser:!1}):Tr(D);return~et.extra.classes.indexOf(Rt)?zi("generateLayersText",D,et):zi("generateSvgReplacementMutation",D,et)}function Ri(D){let et=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;if(!$)return Promise.resolve();const ct=J.documentElement.classList,ut=vn=>ct.add("".concat(ft,"-").concat(vn)),St=vn=>ct.remove("".concat(ft,"-").concat(vn)),ie=Ie.autoFetchSvg?function nc(){return[...Me,...Et]}():de.concat(Object.keys(Ir));ie.includes("fa")||ie.push("fa");const we=[".".concat(Rt,":not([").concat(zt,"])")].concat(ie.map(vn=>".".concat(vn,":not([").concat(zt,"])"))).join(", ");if(0===we.length)return Promise.resolve();let Ue=[];try{Ue=Wt(D.querySelectorAll(we))}catch{}if(!(Ue.length>0))return Promise.resolve();ut("pending"),St("complete");const an=Ui.begin("onTree"),nn=Ue.reduce((vn,kn)=>{try{const Kn=tr(kn);Kn&&vn.push(Kn)}catch(Kn){Te||"MissingIcon"===Kn.name&&console.error(Kn)}return vn},[]);return new Promise((vn,kn)=>{Promise.all(nn).then(Kn=>{Bt(Kn,()=>{ut("active"),ut("complete"),St("pending"),"function"==typeof et&&et(),an(),vn()})}).catch(Kn=>{an(),kn(Kn)})})}function zc(D){let et=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;tr(D).then(ct=>{ct&&Bt([ct],et)})}const Li=function(D){let et=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const{transform:ct=I,symbol:ut=!1,mask:St=null,maskId:ie=null,title:we=null,titleId:Ue=null,classes:an=[],attributes:nn={},styles:vn={}}=et;if(!D)return;const{prefix:kn,iconName:Kn,icon:Xi}=D;return Pi(k({type:"icon"},D),()=>(to("beforeDOMElementCreation",{iconDefinition:D,params:et}),Ie.autoA11y&&(we?nn["aria-labelledby"]="".concat(Ie.replacementClass,"-title-").concat(Ue||Mt()):(nn["aria-hidden"]="true",nn.focusable="false")),On({icons:{main:ui(Xi),mask:St?ui(St.icon):{found:!1,width:null,height:null,icon:{}}},prefix:kn,iconName:Kn,transform:k(k({},I),ct),symbol:ut,title:we,maskId:ie,titleId:Ue,extra:{attributes:nn,styles:vn,classes:an}})))};var kc={mixout(){return{icon:(D=Li,function(et){let ct=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const ut=(et||{}).icon?et:$n(et||{});let{mask:St}=ct;return St&&(St=(St||{}).icon?St:$n(St||{})),D(ut,k(k({},ct),{},{mask:St}))})};var D},hooks:()=>({mutationObserverCallbacks:D=>(D.treeCallback=Ri,D.nodeCallback=zc,D)}),provides(D){D.i2svg=function(et){const{node:ct=J,callback:ut=(()=>{})}=et;return Ri(ct,ut)},D.generateSvgReplacementMutation=function(et,ct){const{iconName:ut,title:St,titleId:ie,prefix:we,transform:Ue,symbol:an,mask:nn,maskId:vn,extra:kn}=ct;return new Promise((Kn,Xi)=>{Promise.all([$o(ut,we),nn.iconName?$o(nn.iconName,nn.prefix):Promise.resolve({found:!1,width:512,height:512,icon:{}})]).then(_c=>{let[pn,ro]=_c;Kn([et,On({icons:{main:pn,mask:ro},prefix:we,iconName:ut,transform:Ue,symbol:an,maskId:vn,title:St,titleId:ie,extra:kn,watchable:!0})])}).catch(Xi)})},D.generateAbstractIcon=function(et){let{children:ct,attributes:ut,main:St,transform:ie,styles:we}=et;const Ue=Ye(we);let an;return Ue.length>0&&(ut.style=Ue),tn(ie)&&(an=zi("generateAbstractTransformGrouping",{main:St,transform:ie,containerWidth:St.width,iconWidth:St.width})),ct.push(an||St.icon),{children:ct,attributes:ut}}}},Hi={mixout:()=>({layer(D){let et=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const{classes:ct=[]}=et;return Pi({type:"layer"},()=>{to("beforeDOMElementCreation",{assembler:D,params:et});let ut=[];return D(St=>{Array.isArray(St)?St.map(ie=>{ut=ut.concat(ie.abstract)}):ut=ut.concat(St.abstract)}),[{tag:"span",attributes:{class:["".concat(Ie.cssPrefix,"-layers"),...ct].join(" ")},children:ut}]})}})},Nr={mixout:()=>({counter(D){let et=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const{title:ct=null,classes:ut=[],attributes:St={},styles:ie={}}=et;return Pi({type:"counter",content:D},()=>(to("beforeDOMElementCreation",{content:D,params:et}),function ki(D){const{content:et,title:ct,extra:ut}=D,St=k(k(k({},ut.attributes),ct?{title:ct}:{}),{},{class:ut.classes.join(" ")}),ie=Ye(ut.styles);ie.length>0&&(St.style=ie);const we=[];return we.push({tag:"span",attributes:St,children:[et]}),ct&&we.push({tag:"span",attributes:{class:"sr-only"},children:[ct]}),we}({content:D.toString(),title:ct,extra:{attributes:St,styles:ie,classes:["".concat(Ie.cssPrefix,"-layers-counter"),...ut]}})))}})},er={mixout:()=>({text(D){let et=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const{transform:ct=I,title:ut=null,classes:St=[],attributes:ie={},styles:we={}}=et;return Pi({type:"text",content:D},()=>(to("beforeDOMElementCreation",{content:D,params:et}),hc({content:D,transform:k(k({},I),ct),title:ut,extra:{attributes:ie,styles:we,classes:["".concat(Ie.cssPrefix,"-layers-text"),...St]}})))}}),provides(D){D.generateLayersText=function(et,ct){const{title:ut,transform:St,extra:ie}=ct;let we=null,Ue=null;if(lt){const an=parseInt(getComputedStyle(et).fontSize,10),nn=et.getBoundingClientRect();we=nn.width/an,Ue=nn.height/an}return Ie.autoA11y&&!ut&&(ie.attributes["aria-hidden"]="true"),Promise.resolve([et,hc({content:et.innerHTML,width:we,height:Ue,transform:St,title:ut,extra:ie,watchable:!0})])}}};const nr=new RegExp('"',"ug"),bc=[1105920,1112319],Uc=k(k(k(k({},{FontAwesome:{normal:"fas",400:"fas"}}),{"Font Awesome 6 Free":{900:"fas",400:"far"},"Font Awesome 6 Pro":{900:"fas",400:"far",normal:"far",300:"fal",100:"fat"},"Font Awesome 6 Brands":{400:"fab",normal:"fab"},"Font Awesome 6 Duotone":{900:"fad",400:"fadr",normal:"fadr",300:"fadl",100:"fadt"},"Font Awesome 6 Sharp":{900:"fass",400:"fasr",normal:"fasr",300:"fasl",100:"fast"},"Font Awesome 6 Sharp Duotone":{900:"fasds",400:"fasdr",normal:"fasdr",300:"fasdl",100:"fasdt"}}),{"Font Awesome 5 Free":{900:"fas",400:"far"},"Font Awesome 5 Pro":{900:"fas",400:"far",normal:"far",300:"fal"},"Font Awesome 5 Brands":{400:"fab",normal:"fab"},"Font Awesome 5 Duotone":{900:"fad"}}),{"Font Awesome Kit":{400:"fak",normal:"fak"},"Font Awesome Kit Duotone":{400:"fakd",normal:"fakd"}}),ir=Object.keys(Uc).reduce((D,et)=>(D[et.toLowerCase()]=Uc[et],D),{}),br=Object.keys(ir).reduce((D,et)=>{const ct=ir[et];return D[et]=ct[900]||[...Object.entries(ct)][0][1],D},{});function Ac(D,et){const ct="".concat(kt).concat(et.replace(":","-"));return new Promise((ut,St)=>{if(null!==D.getAttribute(ct))return ut();const we=Wt(D.children).filter(Kn=>Kn.getAttribute(vt)===et)[0],Ue=j.getComputedStyle(D,et),an=Ue.getPropertyValue("font-family"),nn=an.match(ae),vn=Ue.getPropertyValue("font-weight"),kn=Ue.getPropertyValue("content");if(we&&!nn)return D.removeChild(we),ut();if(nn&&"none"!==kn&&""!==kn){const Kn=Ue.getPropertyValue("content");let Xi=function Rr(D,et){const ct=D.replace(/^['"]|['"]$/g,"").toLowerCase(),ut=parseInt(et),St=isNaN(ut)?"normal":ut;return(ir[ct]||{})[St]||br[ct]}(an,vn);const{value:_c,isSecondary:pn}=function vr(D){const et=D.replace(nr,""),ct=function kr(D,et){const ct=D.length;let St,ut=D.charCodeAt(et);return ut>=55296&&ut<=56319&&ct>et+1&&(St=D.charCodeAt(et+1),St>=56320&&St<=57343)?1024*(ut-55296)+St-56320+65536:ut}(et,0),ut=ct>=bc[0]&&ct<=bc[1],St=2===et.length&&et[0]===et[1];return{value:dc(St?et[0]:et),isSecondary:ut||St}}(Kn),ro=nn[0].startsWith("FontAwesome");let Nc=En(Xi,_c),bo=Nc;if(ro){const so=function ci(D){const et=Ji[D],ct=En("fas",D);return et||(ct?{prefix:"fas",iconName:ct}:null)||{prefix:null,iconName:null}}(_c);so.iconName&&so.prefix&&(Nc=so.iconName,Xi=so.prefix)}if(!Nc||pn||we&&we.getAttribute(tt)===Xi&&we.getAttribute(X)===bo)ut();else{D.setAttribute(ct,bo),we&&D.removeChild(we);const so=function qc(){return{iconName:null,title:null,titleId:null,prefix:null,transform:I,symbol:!1,mask:{iconName:null,prefix:null,rest:[]},maskId:null,extra:{classes:[],styles:{},attributes:{}}}}(),{extra:Rc}=so;Rc.attributes[vt]=et,$o(Nc,Xi).then(xc=>{const cr=On(k(k({},so),{},{icons:{main:xc,mask:Do()},prefix:Xi,iconName:bo,extra:Rc,watchable:!0})),$c=J.createElementNS("http://www.w3.org/2000/svg","svg");"::before"===et?D.insertBefore($c,D.firstChild):D.appendChild($c),$c.outerHTML=cr.map(Ur=>oi(Ur)).join("\n"),D.removeAttribute(ct),ut()}).catch(St)}}else ut()})}function _r(D){return Promise.all([Ac(D,"::before"),Ac(D,"::after")])}function xr(D){return!(D.parentNode===document.head||~xe.indexOf(D.tagName.toUpperCase())||D.getAttribute(vt)||D.parentNode&&"svg"===D.parentNode.tagName)}function vc(D){if($)return new Promise((et,ct)=>{const ut=Wt(D.querySelectorAll("*")).filter(xr).map(_r),St=Ui.begin("searchPseudoElements");zn(),Promise.all(ut).then(()=>{St(),wi(),et()}).catch(()=>{St(),wi(),ct()})})}let po=!1;const or=D=>D.toLowerCase().split(" ").reduce((ct,ut)=>{const St=ut.toLowerCase().split("-"),ie=St[0];let we=St.slice(1).join("-");if(ie&&"h"===we)return ct.flipX=!0,ct;if(ie&&"v"===we)return ct.flipY=!0,ct;if(we=parseFloat(we),isNaN(we))return ct;switch(ie){case"grow":ct.size=ct.size+we;break;case"shrink":ct.size=ct.size-we;break;case"left":ct.x=ct.x-we;break;case"right":ct.x=ct.x+we;break;case"up":ct.y=ct.y-we;break;case"down":ct.y=ct.y+we;break;case"rotate":ct.rotate=ct.rotate+we}return ct},{size:16,x:0,y:0,flipX:!1,flipY:!1,rotate:0}),Ic={x:0,y:0,width:"100%",height:"100%"};function $i(D){return D.attributes&&(D.attributes.fill||!(arguments.length>1&&void 0!==arguments[1])||arguments[1])&&(D.attributes.fill="black"),D}function Fr(D){return"g"===D.tag?D.children:[D]}!function bn(D,et){let{mixoutsTo:ct}=et;So=D,Vn={},Object.keys(Ni).forEach(ut=>{-1===jo.indexOf(ut)&&delete Ni[ut]}),So.forEach(ut=>{const St=ut.mixout?ut.mixout():{};if(Object.keys(St).forEach(ie=>{"function"==typeof St[ie]&&(ct[ie]=St[ie]),"object"==typeof St[ie]&&Object.keys(St[ie]).forEach(we=>{ct[ie]||(ct[ie]={}),ct[ie][we]=St[ie][we]})}),ut.hooks){const ie=ut.hooks();Object.keys(ie).forEach(we=>{Vn[we]||(Vn[we]=[]),Vn[we].push(ie[we])})}ut.provides&&ut.provides(Ni)})}([li,kc,Hi,Nr,er,{hooks:()=>({mutationObserverCallbacks:D=>(D.pseudoElementsCallback=vc,D)}),provides(D){D.pseudoElements2svg=function(et){const{node:ct=J}=et;Ie.searchPseudoElements&&vc(ct)}}},{mixout:()=>({dom:{unwatch(){zn(),po=!0}}}),hooks:()=>({bootstrap(){Vc(qi("mutationObserverCallbacks",{}))},noAuto(){!function ps(){ec&&ec.disconnect()}()},watch(D){const{observeMutationsRoot:et}=D;po?wi():Vc(qi("mutationObserverCallbacks",{observeMutationsRoot:et}))}})},{mixout:()=>({parse:{transform:D=>or(D)}}),hooks:()=>({parseNodeAttributes(D,et){const ct=et.getAttribute("data-fa-transform");return ct&&(D.transform=or(ct)),D}}),provides(D){D.generateAbstractTransformGrouping=function(et){let{main:ct,transform:ut,containerWidth:St,iconWidth:ie}=et;const we={transform:"translate(".concat(St/2," 256)")},Ue="translate(".concat(32*ut.x,", ").concat(32*ut.y,") "),an="scale(".concat(ut.size/16*(ut.flipX?-1:1),", ").concat(ut.size/16*(ut.flipY?-1:1),") "),nn="rotate(".concat(ut.rotate," 0 0)"),Kn={outer:we,inner:{transform:"".concat(Ue," ").concat(an," ").concat(nn)},path:{transform:"translate(".concat(ie/2*-1," -256)")}};return{tag:"g",attributes:k({},Kn.outer),children:[{tag:"g",attributes:k({},Kn.inner),children:[{tag:ct.icon.tag,children:ct.icon.children,attributes:k(k({},ct.icon.attributes),Kn.path)}]}]}}}},{hooks:()=>({parseNodeAttributes(D,et){const ct=et.getAttribute("data-fa-mask"),ut=ct?We(ct.split(" ").map(St=>St.trim())):Do();return ut.prefix||(ut.prefix=Wi()),D.mask=ut,D.maskId=et.getAttribute("data-fa-mask-id"),D}}),provides(D){D.generateAbstractMask=function(et){let{children:ct,attributes:ut,main:St,mask:ie,maskId:we,transform:Ue}=et;const{width:an,icon:nn}=St,{width:vn,icon:kn}=ie,Kn=function rn(D){let{transform:et,containerWidth:ct,iconWidth:ut}=D;const St={transform:"translate(".concat(ct/2," 256)")},ie="translate(".concat(32*et.x,", ").concat(32*et.y,") "),we="scale(".concat(et.size/16*(et.flipX?-1:1),", ").concat(et.size/16*(et.flipY?-1:1),") "),Ue="rotate(".concat(et.rotate," 0 0)");return{outer:St,inner:{transform:"".concat(ie," ").concat(we," ").concat(Ue)},path:{transform:"translate(".concat(ut/2*-1," -256)")}}}({transform:Ue,containerWidth:vn,iconWidth:an}),Xi={tag:"rect",attributes:k(k({},Ic),{},{fill:"white"})},_c=nn.children?{children:nn.children.map($i)}:{},pn={tag:"g",attributes:k({},Kn.inner),children:[$i(k({tag:nn.tag,attributes:k(k({},nn.attributes),Kn.path)},_c))]},ro={tag:"g",attributes:k({},Kn.outer),children:[pn]},Nc="mask-".concat(we||Mt()),bo="clip-".concat(we||Mt()),so={tag:"mask",attributes:k(k({},Ic),{},{id:Nc,maskUnits:"userSpaceOnUse",maskContentUnits:"userSpaceOnUse"}),children:[Xi,ro]},Rc={tag:"defs",children:[{tag:"clipPath",attributes:{id:bo},children:Fr(kn)},so]};return ct.push(Rc,{tag:"rect",attributes:k({fill:"currentColor","clip-path":"url(#".concat(bo,")"),mask:"url(#".concat(Nc,")")},Ic)}),{children:ct,attributes:ut}}}},{provides(D){let et=!1;j.matchMedia&&(et=j.matchMedia("(prefers-reduced-motion: reduce)").matches),D.missingIconAbstract=function(){const ct=[],ut={fill:"currentColor"},St={attributeType:"XML",repeatCount:"indefinite",dur:"2s"};ct.push({tag:"path",attributes:k(k({},ut),{},{d:"M156.5,447.7l-12.6,29.5c-18.7-9.5-35.9-21.2-51.5-34.9l22.7-22.7C127.6,430.5,141.5,440,156.5,447.7z M40.6,272H8.5 c1.4,21.2,5.4,41.7,11.7,61.1L50,321.2C45.1,305.5,41.8,289,40.6,272z M40.6,240c1.4-18.8,5.2-37,11.1-54.1l-29.5-12.6 C14.7,194.3,10,216.7,8.5,240H40.6z M64.3,156.5c7.8-14.9,17.2-28.8,28.1-41.5L69.7,92.3c-13.7,15.6-25.5,32.8-34.9,51.5 L64.3,156.5z M397,419.6c-13.9,12-29.4,22.3-46.1,30.4l11.9,29.8c20.7-9.9,39.8-22.6,56.9-37.6L397,419.6z M115,92.4 c13.9-12,29.4-22.3,46.1-30.4l-11.9-29.8c-20.7,9.9-39.8,22.6-56.8,37.6L115,92.4z M447.7,355.5c-7.8,14.9-17.2,28.8-28.1,41.5 l22.7,22.7c13.7-15.6,25.5-32.9,34.9-51.5L447.7,355.5z M471.4,272c-1.4,18.8-5.2,37-11.1,54.1l29.5,12.6 c7.5-21.1,12.2-43.5,13.6-66.8H471.4z M321.2,462c-15.7,5-32.2,8.2-49.2,9.4v32.1c21.2-1.4,41.7-5.4,61.1-11.7L321.2,462z M240,471.4c-18.8-1.4-37-5.2-54.1-11.1l-12.6,29.5c21.1,7.5,43.5,12.2,66.8,13.6V471.4z M462,190.8c5,15.7,8.2,32.2,9.4,49.2h32.1 c-1.4-21.2-5.4-41.7-11.7-61.1L462,190.8z M92.4,397c-12-13.9-22.3-29.4-30.4-46.1l-29.8,11.9c9.9,20.7,22.6,39.8,37.6,56.9 L92.4,397z M272,40.6c18.8,1.4,36.9,5.2,54.1,11.1l12.6-29.5C317.7,14.7,295.3,10,272,8.5V40.6z M190.8,50 c15.7-5,32.2-8.2,49.2-9.4V8.5c-21.2,1.4-41.7,5.4-61.1,11.7L190.8,50z M442.3,92.3L419.6,115c12,13.9,22.3,29.4,30.5,46.1 l29.8-11.9C470,128.5,457.3,109.4,442.3,92.3z M397,92.4l22.7-22.7c-15.6-13.7-32.8-25.5-51.5-34.9l-12.6,29.5 C370.4,72.1,384.4,81.5,397,92.4z"})});const ie=k(k({},St),{},{attributeName:"opacity"}),we={tag:"circle",attributes:k(k({},ut),{},{cx:"256",cy:"364",r:"28"}),children:[]};return et||we.children.push({tag:"animate",attributes:k(k({},St),{},{attributeName:"r",values:"28;14;28;28;14;28;"})},{tag:"animate",attributes:k(k({},ie),{},{values:"1;0;1;1;0;1;"})}),ct.push(we),ct.push({tag:"path",attributes:k(k({},ut),{},{opacity:"1",d:"M263.7,312h-16c-6.6,0-12-5.4-12-12c0-71,77.4-63.9,77.4-107.8c0-20-17.8-40.2-57.4-40.2c-29.1,0-44.3,9.6-59.2,28.7 c-3.9,5-11.1,6-16.2,2.4l-13.1-9.2c-5.6-3.9-6.9-11.8-2.6-17.2c21.2-27.2,46.4-44.7,91.2-44.7c52.3,0,97.4,29.8,97.4,80.2 c0,67.6-77.4,63.5-77.4,107.8C275.7,306.6,270.3,312,263.7,312z"}),children:et?[]:[{tag:"animate",attributes:k(k({},ie),{},{values:"1;0;0;0;0;1;"})}]}),et||ct.push({tag:"path",attributes:k(k({},ut),{},{opacity:"0",d:"M232.5,134.5l7,168c0.3,6.4,5.6,11.5,12,11.5h9c6.4,0,11.7-5.1,12-11.5l7-168c0.3-6.8-5.2-12.5-12-12.5h-23 C237.7,122,232.2,127.7,232.5,134.5z"}),children:[{tag:"animate",attributes:k(k({},ie),{},{values:"0;0;1;1;0;0;"})}]}),{tag:"g",attributes:{class:"missing"},children:ct}}}},{hooks:()=>({parseNodeAttributes(D,et){const ct=et.getAttribute("data-fa-symbol");return D.symbol=null!==ct&&(""===ct||ct),D}})}],{mixoutsTo:Vi});const W=Vi.parse,At=Vi.icon;var ni=r(71499);const ti=["*"],Zn=D=>{const et={[`fa-${D.animation}`]:null!=D.animation&&!D.animation.startsWith("spin"),"fa-spin":"spin"===D.animation||"spin-reverse"===D.animation,"fa-spin-pulse":"spin-pulse"===D.animation||"spin-pulse-reverse"===D.animation,"fa-spin-reverse":"spin-reverse"===D.animation||"spin-pulse-reverse"===D.animation,"fa-pulse":"spin-pulse"===D.animation||"spin-pulse-reverse"===D.animation,"fa-fw":D.fixedWidth,"fa-border":D.border,"fa-inverse":D.inverse,"fa-layers-counter":D.counter,"fa-flip-horizontal":"horizontal"===D.flip||"both"===D.flip,"fa-flip-vertical":"vertical"===D.flip||"both"===D.flip,[`fa-${D.size}`]:null!==D.size,[`fa-rotate-${D.rotate}`]:null!==D.rotate,[`fa-pull-${D.pull}`]:null!==D.pull,[`fa-stack-${D.stackItemSize}`]:null!=D.stackItemSize};return Object.keys(et).map(ct=>et[ct]?ct:null).filter(ct=>ct)};let ai=(()=>{class D{constructor(){this.defaultPrefix="fas",this.fallbackIcon=null}static{this.\u0275fac=function(ut){return new(ut||D)}}static{this.\u0275prov=o.jDH({token:D,factory:D.\u0275fac,providedIn:"root"})}}return D})(),Ki=(()=>{class D{constructor(){this.definitions={}}addIcons(...ct){for(const ut of ct){ut.prefix in this.definitions||(this.definitions[ut.prefix]={}),this.definitions[ut.prefix][ut.iconName]=ut;for(const St of ut.icon[2])"string"==typeof St&&(this.definitions[ut.prefix][St]=ut)}}addIconPacks(...ct){for(const ut of ct){const St=Object.keys(ut).map(ie=>ut[ie]);this.addIcons(...St)}}getIconDefinition(ct,ut){return ct in this.definitions&&ut in this.definitions[ct]?this.definitions[ct][ut]:null}static{this.\u0275fac=function(ut){return new(ut||D)}}static{this.\u0275prov=o.jDH({token:D,factory:D.\u0275fac,providedIn:"root"})}}return D})(),go=(()=>{class D{constructor(){this.stackItemSize="1x"}ngOnChanges(ct){if("size"in ct)throw new Error('fa-icon is not allowed to customize size when used inside fa-stack. Set size on the enclosing fa-stack instead: ....')}static{this.\u0275fac=function(ut){return new(ut||D)}}static{this.\u0275dir=o.FsC({type:D,selectors:[["fa-icon","stackItemSize",""],["fa-duotone-icon","stackItemSize",""]],inputs:{stackItemSize:"stackItemSize",size:"size"},features:[o.OA$]})}}return D})(),Gi=(()=>{class D{constructor(ct,ut){this.renderer=ct,this.elementRef=ut}ngOnInit(){this.renderer.addClass(this.elementRef.nativeElement,"fa-stack")}ngOnChanges(ct){"size"in ct&&(null!=ct.size.currentValue&&this.renderer.addClass(this.elementRef.nativeElement,`fa-${ct.size.currentValue}`),null!=ct.size.previousValue&&this.renderer.removeClass(this.elementRef.nativeElement,`fa-${ct.size.previousValue}`))}static{this.\u0275fac=function(ut){return new(ut||D)(o.rXU(o.sFG),o.rXU(o.aKT))}}static{this.\u0275cmp=o.VBU({type:D,selectors:[["fa-stack"]],inputs:{size:"size"},features:[o.OA$],ngContentSelectors:ti,decls:1,vars:0,template:function(ut,St){1&ut&&(o.NAR(),o.SdG(0))},encapsulation:2})}}return D})(),no=(()=>{class D{set spin(ct){this.animation=ct?"spin":void 0}set pulse(ct){this.animation=ct?"spin-pulse":void 0}constructor(ct,ut,St,ie,we){this.sanitizer=ct,this.config=ut,this.iconLibrary=St,this.stackItem=ie,this.classes=[],null!=we&&null==ie&&console.error('FontAwesome: fa-icon and fa-duotone-icon elements must specify stackItemSize attribute when wrapped into fa-stack. Example: .')}ngOnChanges(ct){if(null!=this.icon||null!=this.config.fallbackIcon){if(ct){const St=this.findIconDefinition(null!=this.icon?this.icon:this.config.fallbackIcon);if(null!=St){const ie=this.buildParams();this.renderIcon(St,ie)}}}else(()=>{throw new Error("Property `icon` is required for `fa-icon`/`fa-duotone-icon` components.")})()}render(){this.ngOnChanges({})}findIconDefinition(ct){const ut=((D,et)=>(D=>void 0!==D.prefix&&void 0!==D.iconName)(D)?D:"string"==typeof D?{prefix:et,iconName:D}:{prefix:D[0],iconName:D[1]})(ct,this.config.defaultPrefix);return"icon"in ut?ut:this.iconLibrary.getIconDefinition(ut.prefix,ut.iconName)??((D=>{throw new Error(`Could not find icon with iconName=${D.iconName} and prefix=${D.prefix} in the icon library.`)})(ut),null)}buildParams(){const ct={flip:this.flip,animation:this.animation,border:this.border,inverse:this.inverse,size:this.size||null,pull:this.pull||null,rotate:this.rotate||null,fixedWidth:"boolean"==typeof this.fixedWidth?this.fixedWidth:this.config.fixedWidth,stackItemSize:null!=this.stackItem?this.stackItem.stackItemSize:null},ut="string"==typeof this.transform?W.transform(this.transform):this.transform;return{title:this.title,transform:ut,classes:[...Zn(ct),...this.classes],mask:null!=this.mask?this.findIconDefinition(this.mask):null,styles:null!=this.styles?this.styles:{},symbol:this.symbol,attributes:{role:this.a11yRole}}}renderIcon(ct,ut){const St=At(ct,ut);this.renderedIconHTML=this.sanitizer.bypassSecurityTrustHtml(St.html.join("\n"))}static{this.\u0275fac=function(ut){return new(ut||D)(o.rXU(ni.up),o.rXU(ai),o.rXU(Ki),o.rXU(go,8),o.rXU(Gi,8))}}static{this.\u0275cmp=o.VBU({type:D,selectors:[["fa-icon"]],hostAttrs:[1,"ng-fa-icon"],hostVars:2,hostBindings:function(ut,St){2&ut&&(o.Mr5("innerHTML",St.renderedIconHTML,o.npT),o.BMQ("title",St.title))},inputs:{icon:"icon",title:"title",animation:"animation",spin:"spin",pulse:"pulse",mask:"mask",styles:"styles",flip:"flip",size:"size",pull:"pull",border:"border",inverse:"inverse",symbol:"symbol",rotate:"rotate",fixedWidth:"fixedWidth",classes:"classes",transform:"transform",a11yRole:"a11yRole"},features:[o.OA$],decls:0,vars:0,template:function(ut,St){},encapsulation:2})}}return D})(),Go=(()=>{class D{static{this.\u0275fac=function(ut){return new(ut||D)}}static{this.\u0275mod=o.$C({type:D})}static{this.\u0275inj=o.G2t({})}}return D})()},94093:(Ce,Lt,r)=>{r.d(Lt,{$3Z:()=>w1,$MS:()=>I2,$UM:()=>hd,A4h:()=>Hf,AaJ:()=>Su,B0C:()=>$f,BF2:()=>$b,CN3:()=>xd,CeG:()=>gl,DW4:()=>go,E5r:()=>Sn,EZy:()=>Fs,INu:()=>yb,JAe:()=>T5,JmV:()=>bf,Jt$:()=>vb,Jyw:()=>Ka,KMJ:()=>gn,LBj:()=>xx,LFz:()=>et,Lhe:()=>Lm,QLR:()=>Dd,QRE:()=>ur,QtJ:()=>Vs,ReK:()=>Dx,SGM:()=>ma,TOj:()=>V,UBk:()=>j_,Uj9:()=>Fd,Vpu:()=>$6,X46:()=>Lr,XkK:()=>T_,bMg:()=>ea,bnw:()=>I5,cbP:()=>U4,ckx:()=>Oc,dmS:()=>M8,e68:()=>Cx,e6V:()=>O9,fLc:()=>L1,gK3:()=>w3,h6r:()=>T3,hem:()=>Sx,hpd:()=>Ta,iW_:()=>y4,ijD:()=>mb,imB:()=>Yh,isI:()=>kx,jPR:()=>Tb,jTw:()=>m7,lEd:()=>qc,lLb:()=>Sl,mEO:()=>_l,mRM:()=>r8,mh:()=>S1,pNp:()=>z3,pS3:()=>Aa,rIc:()=>F4,rfe:()=>Vx,sjs:()=>J,tUE:()=>Tr,tdl:()=>Z4,vaG:()=>Nm,w97:()=>tc,y_8:()=>Vu,yqK:()=>Wm,zm_:()=>Al});const J={prefix:"fas",iconName:"trash-can",icon:[448,512,[61460,"trash-alt"],"f2ed","M135.2 17.7C140.6 6.8 151.7 0 163.8 0L284.2 0c12.1 0 23.2 6.8 28.6 17.7L320 32l96 0c17.7 0 32 14.3 32 32s-14.3 32-32 32L32 96C14.3 96 0 81.7 0 64S14.3 32 32 32l96 0 7.2-14.3zM32 128l384 0 0 320c0 35.3-28.7 64-64 64L96 512c-35.3 0-64-28.7-64-64l0-320zm96 64c-8.8 0-16 7.2-16 16l0 224c0 8.8 7.2 16 16 16s16-7.2 16-16l0-224c0-8.8-7.2-16-16-16zm96 0c-8.8 0-16 7.2-16 16l0 224c0 8.8 7.2 16 16 16s16-7.2 16-16l0-224c0-8.8-7.2-16-16-16zm96 0c-8.8 0-16 7.2-16 16l0 224c0 8.8 7.2 16 16 16s16-7.2 16-16l0-224c0-8.8-7.2-16-16-16z"]},V={prefix:"fas",iconName:"message",icon:[512,512,["comment-alt"],"f27a","M64 0C28.7 0 0 28.7 0 64L0 352c0 35.3 28.7 64 64 64l96 0 0 80c0 6.1 3.4 11.6 8.8 14.3s11.9 2.1 16.8-1.5L309.3 416 448 416c35.3 0 64-28.7 64-64l0-288c0-35.3-28.7-64-64-64L64 0z"]},tc={prefix:"fas",iconName:"table",icon:[512,512,[],"f0ce","M64 256l0-96 160 0 0 96L64 256zm0 64l160 0 0 96L64 416l0-96zm224 96l0-96 160 0 0 96-160 0zM448 256l-160 0 0-96 160 0 0 96zM64 32C28.7 32 0 60.7 0 96L0 416c0 35.3 28.7 64 64 64l384 0c35.3 0 64-28.7 64-64l0-320c0-35.3-28.7-64-64-64L64 32z"]},Oc={prefix:"fas",iconName:"bars",icon:[448,512,["navicon"],"f0c9","M0 96C0 78.3 14.3 64 32 64l384 0c17.7 0 32 14.3 32 32s-14.3 32-32 32L32 128C14.3 128 0 113.7 0 96zM0 256c0-17.7 14.3-32 32-32l384 0c17.7 0 32 14.3 32 32s-14.3 32-32 32L32 288c-17.7 0-32-14.3-32-32zM448 416c0 17.7-14.3 32-32 32L32 448c-17.7 0-32-14.3-32-32s14.3-32 32-32l384 0c17.7 0 32 14.3 32 32z"]},qc={prefix:"fas",iconName:"circle-exclamation",icon:[512,512,["exclamation-circle"],"f06a","M256 512A256 256 0 1 0 256 0a256 256 0 1 0 0 512zm0-384c13.3 0 24 10.7 24 24l0 112c0 13.3-10.7 24-24 24s-24-10.7-24-24l0-112c0-13.3 10.7-24 24-24zM224 352a32 32 0 1 1 64 0 32 32 0 1 1 -64 0z"]},Tr=qc,Sn={prefix:"fas",iconName:"folder-plus",icon:[512,512,[],"f65e","M512 416c0 35.3-28.7 64-64 64L64 480c-35.3 0-64-28.7-64-64L0 96C0 60.7 28.7 32 64 32l128 0c20.1 0 39.1 9.5 51.2 25.6l19.2 25.6c6 8.1 15.5 12.8 25.6 12.8l160 0c35.3 0 64 28.7 64 64l0 256zM232 376c0 13.3 10.7 24 24 24s24-10.7 24-24l0-64 64 0c13.3 0 24-10.7 24-24s-10.7-24-24-24l-64 0 0-64c0-13.3-10.7-24-24-24s-24 10.7-24 24l0 64-64 0c-13.3 0-24 10.7-24 24s10.7 24 24 24l64 0 0 64z"]},go={prefix:"fas",iconName:"lock",icon:[448,512,[128274],"f023","M144 144l0 48 160 0 0-48c0-44.2-35.8-80-80-80s-80 35.8-80 80zM80 192l0-48C80 64.5 144.5 0 224 0s144 64.5 144 144l0 48 16 0c35.3 0 64 28.7 64 64l0 192c0 35.3-28.7 64-64 64L64 512c-35.3 0-64-28.7-64-64L0 256c0-35.3 28.7-64 64-64l16 0z"]},et={prefix:"fas",iconName:"pen-to-square",icon:[512,512,["edit"],"f044","M471.6 21.7c-21.9-21.9-57.3-21.9-79.2 0L362.3 51.7l97.9 97.9 30.1-30.1c21.9-21.9 21.9-57.3 0-79.2L471.6 21.7zm-299.2 220c-6.1 6.1-10.8 13.6-13.5 21.9l-29.6 88.8c-2.9 8.6-.6 18.1 5.8 24.6s15.9 8.7 24.6 5.8l88.8-29.6c8.2-2.7 15.7-7.4 21.9-13.5L437.7 172.3 339.7 74.3 172.4 241.7zM96 64C43 64 0 107 0 160L0 416c0 53 43 96 96 96l256 0c53 0 96-43 96-96l0-96c0-17.7-14.3-32-32-32s-32 14.3-32 32l0 96c0 17.7-14.3 32-32 32L96 448c-17.7 0-32-14.3-32-32l0-256c0-17.7 14.3-32 32-32l96 0c17.7 0 32-14.3 32-32s-14.3-32-32-32L96 64z"]},Vs={prefix:"fas",iconName:"plug",icon:[384,512,[128268],"f1e6","M96 0C78.3 0 64 14.3 64 32l0 96 64 0 0-96c0-17.7-14.3-32-32-32zM288 0c-17.7 0-32 14.3-32 32l0 96 64 0 0-96c0-17.7-14.3-32-32-32zM32 160c-17.7 0-32 14.3-32 32s14.3 32 32 32l0 32c0 77.4 55 142 128 156.8l0 67.2c0 17.7 14.3 32 32 32s32-14.3 32-32l0-67.2C297 398 352 333.4 352 256l0-32c17.7 0 32-14.3 32-32s-14.3-32-32-32L32 160z"]},Lr={prefix:"fas",iconName:"user",icon:[448,512,[128100,62144],"f007","M224 256A128 128 0 1 0 224 0a128 128 0 1 0 0 256zm-45.7 48C79.8 304 0 383.8 0 482.3C0 498.7 13.3 512 29.7 512l388.6 0c16.4 0 29.7-13.3 29.7-29.7C448 383.8 368.2 304 269.7 304l-91.4 0z"]},ea={prefix:"fas",iconName:"key",icon:[512,512,[128273],"f084","M336 352c97.2 0 176-78.8 176-176S433.2 0 336 0S160 78.8 160 176c0 18.7 2.9 36.8 8.3 53.7L7 391c-4.5 4.5-7 10.6-7 17l0 80c0 13.3 10.7 24 24 24l80 0c13.3 0 24-10.7 24-24l0-40 40 0c13.3 0 24-10.7 24-24l0-40 40 0c6.4 0 12.5-2.5 17-7l33.3-33.3c16.9 5.4 35 8.3 53.7 8.3zM376 96a40 40 0 1 1 0 80 40 40 0 1 1 0-80z"]},Fd={prefix:"fas",iconName:"folder-open",icon:[576,512,[128194,128449,61717],"f07c","M88.7 223.8L0 375.8 0 96C0 60.7 28.7 32 64 32l117.5 0c17 0 33.3 6.7 45.3 18.7l26.5 26.5c12 12 28.3 18.7 45.3 18.7L416 96c35.3 0 64 28.7 64 64l0 32-336 0c-22.8 0-43.8 12.1-55.3 31.8zm27.6 16.1C122.1 230 132.6 224 144 224l400 0c11.5 0 22 6.1 27.7 16.1s5.7 22.2-.1 32.1l-112 192C453.9 474 443.4 480 432 480L32 480c-11.5 0-22-6.1-27.7-16.1s-5.7-22.2 .1-32.1l112-192z"]},ur={prefix:"fas",iconName:"circle-check",icon:[512,512,[61533,"check-circle"],"f058","M256 512A256 256 0 1 0 256 0a256 256 0 1 0 0 512zM369 209L241 337c-9.4 9.4-24.6 9.4-33.9 0l-64-64c-9.4-9.4-9.4-24.6 0-33.9s24.6-9.4 33.9 0l47 47L335 175c9.4-9.4 24.6-9.4 33.9 0s9.4 24.6 0 33.9z"]},ma=ur,I2={prefix:"fas",iconName:"file-import",icon:[512,512,["arrow-right-to-file"],"f56f","M128 64c0-35.3 28.7-64 64-64L352 0l0 128c0 17.7 14.3 32 32 32l128 0 0 288c0 35.3-28.7 64-64 64l-256 0c-35.3 0-64-28.7-64-64l0-112 174.1 0-39 39c-9.4 9.4-9.4 24.6 0 33.9s24.6 9.4 33.9 0l80-80c9.4-9.4 9.4-24.6 0-33.9l-80-80c-9.4-9.4-24.6-9.4-33.9 0s-9.4 24.6 0 33.9l39 39L128 288l0-224zm0 224l0 48L24 336c-13.3 0-24-10.7-24-24s10.7-24 24-24l104 0zM512 128l-128 0L384 0 512 128z"]},w1={prefix:"fas",iconName:"arrows-rotate",icon:[512,512,[128472,"refresh","sync"],"f021","M105.1 202.6c7.7-21.8 20.2-42.3 37.8-59.8c62.5-62.5 163.8-62.5 226.3 0L386.3 160 352 160c-17.7 0-32 14.3-32 32s14.3 32 32 32l111.5 0c0 0 0 0 0 0l.4 0c17.7 0 32-14.3 32-32l0-112c0-17.7-14.3-32-32-32s-32 14.3-32 32l0 35.2L414.4 97.6c-87.5-87.5-229.3-87.5-316.8 0C73.2 122 55.6 150.7 44.8 181.4c-5.9 16.7 2.9 34.9 19.5 40.8s34.9-2.9 40.8-19.5zM39 289.3c-5 1.5-9.8 4.2-13.7 8.2c-4 4-6.7 8.8-8.1 14c-.3 1.2-.6 2.5-.8 3.8c-.3 1.7-.4 3.4-.4 5.1L16 432c0 17.7 14.3 32 32 32s32-14.3 32-32l0-35.1 17.6 17.5c0 0 0 0 0 0c87.5 87.4 229.3 87.4 316.7 0c24.4-24.4 42.1-53.1 52.9-83.8c5.9-16.7-2.9-34.9-19.5-40.8s-34.9 2.9-40.8 19.5c-7.7 21.8-20.2 42.3-37.8 59.8c-62.5 62.5-163.8 62.5-226.3 0l-.1-.1L125.6 352l34.4 0c17.7 0 32-14.3 32-32s-14.3-32-32-32L48.4 288c-1.6 0-3.2 .1-4.8 .3s-3.1 .5-4.6 1z"]},$6=w1,L1={prefix:"fas",iconName:"shield-halved",icon:[512,512,["shield-alt"],"f3ed","M256 0c4.6 0 9.2 1 13.4 2.9L457.7 82.8c22 9.3 38.4 31 38.3 57.2c-.5 99.2-41.3 280.7-213.6 363.2c-16.7 8-36.1 8-52.8 0C57.3 420.7 16.5 239.2 16 140c-.1-26.2 16.3-47.9 38.3-57.2L242.7 2.9C246.8 1 251.4 0 256 0zm0 66.8l0 378.1C394 378 431.1 230.1 432 141.4L256 66.8s0 0 0 0z"]},Yh=L1,S1={prefix:"fas",iconName:"language",icon:[640,512,[],"f1ab","M0 128C0 92.7 28.7 64 64 64l192 0 48 0 16 0 256 0c35.3 0 64 28.7 64 64l0 256c0 35.3-28.7 64-64 64l-256 0-16 0-48 0L64 448c-35.3 0-64-28.7-64-64L0 128zm320 0l0 256 256 0 0-256-256 0zM178.3 175.9c-3.2-7.2-10.4-11.9-18.3-11.9s-15.1 4.7-18.3 11.9l-64 144c-4.5 10.1 .1 21.9 10.2 26.4s21.9-.1 26.4-10.2l8.9-20.1 73.6 0 8.9 20.1c4.5 10.1 16.3 14.6 26.4 10.2s14.6-16.3 10.2-26.4l-64-144zM160 233.2L179 276l-38 0 19-42.8zM448 164c11 0 20 9 20 20l0 4 44 0 16 0c11 0 20 9 20 20s-9 20-20 20l-2 0-1.6 4.5c-8.9 24.4-22.4 46.6-39.6 65.4c.9 .6 1.8 1.1 2.7 1.6l18.9 11.3c9.5 5.7 12.5 18 6.9 27.4s-18 12.5-27.4 6.9l-18.9-11.3c-4.5-2.7-8.8-5.5-13.1-8.5c-10.6 7.5-21.9 14-34 19.4l-3.6 1.6c-10.1 4.5-21.9-.1-26.4-10.2s.1-21.9 10.2-26.4l3.6-1.6c6.4-2.9 12.6-6.1 18.5-9.8l-12.2-12.2c-7.8-7.8-7.8-20.5 0-28.3s20.5-7.8 28.3 0l14.6 14.6 .5 .5c12.4-13.1 22.5-28.3 29.8-45L448 228l-72 0c-11 0-20-9-20-20s9-20 20-20l52 0 0-4c0-11 9-20 20-20z"]},r8={prefix:"fas",iconName:"filter",icon:[512,512,[],"f0b0","M3.9 54.9C10.5 40.9 24.5 32 40 32l432 0c15.5 0 29.5 8.9 36.1 22.9s4.6 30.5-5.2 42.5L320 320.9 320 448c0 12.1-6.8 23.2-17.7 28.6s-23.8 4.3-33.5-3l-64-48c-8.1-6-12.8-15.5-12.8-25.6l0-79.1L9 97.3C-.7 85.4-2.8 68.8 3.9 54.9z"]},m7={prefix:"fas",iconName:"code",icon:[640,512,[],"f121","M392.8 1.2c-17-4.9-34.7 5-39.6 22l-128 448c-4.9 17 5 34.7 22 39.6s34.7-5 39.6-22l128-448c4.9-17-5-34.7-22-39.6zm80.6 120.1c-12.5 12.5-12.5 32.8 0 45.3L562.7 256l-89.4 89.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0l112-112c12.5-12.5 12.5-32.8 0-45.3l-112-112c-12.5-12.5-32.8-12.5-45.3 0zm-306.7 0c-12.5-12.5-32.8-12.5-45.3 0l-112 112c-12.5 12.5-12.5 32.8 0 45.3l112 112c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L77.3 256l89.4-89.4c12.5-12.5 12.5-32.8 0-45.3z"]},w3={prefix:"fas",iconName:"chart-line",icon:[512,512,["line-chart"],"f201","M64 64c0-17.7-14.3-32-32-32S0 46.3 0 64L0 400c0 44.2 35.8 80 80 80l400 0c17.7 0 32-14.3 32-32s-14.3-32-32-32L80 416c-8.8 0-16-7.2-16-16L64 64zm406.6 86.6c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L320 210.7l-57.4-57.4c-12.5-12.5-32.8-12.5-45.3 0l-112 112c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0L240 221.3l57.4 57.4c12.5 12.5 32.8 12.5 45.3 0l128-128z"]},M8={prefix:"fas",iconName:"arrow-right",icon:[448,512,[8594],"f061","M438.6 278.6c12.5-12.5 12.5-32.8 0-45.3l-160-160c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3L338.8 224 32 224c-17.7 0-32 14.3-32 32s14.3 32 32 32l306.7 0L233.4 393.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0l160-160z"]},z3={prefix:"fas",iconName:"lock-open",icon:[576,512,[],"f3c1","M352 144c0-44.2 35.8-80 80-80s80 35.8 80 80l0 48c0 17.7 14.3 32 32 32s32-14.3 32-32l0-48C576 64.5 511.5 0 432 0S288 64.5 288 144l0 48L64 192c-35.3 0-64 28.7-64 64L0 448c0 35.3 28.7 64 64 64l320 0c35.3 0 64-28.7 64-64l0-192c0-35.3-28.7-64-64-64l-32 0 0-48z"]},T3={prefix:"fas",iconName:"wrench",icon:[512,512,[128295],"f0ad","M352 320c88.4 0 160-71.6 160-160c0-15.3-2.2-30.1-6.2-44.2c-3.1-10.8-16.4-13.2-24.3-5.3l-76.8 76.8c-3 3-7.1 4.7-11.3 4.7L336 192c-8.8 0-16-7.2-16-16l0-57.4c0-4.2 1.7-8.3 4.7-11.3l76.8-76.8c7.9-7.9 5.4-21.2-5.3-24.3C382.1 2.2 367.3 0 352 0C263.6 0 192 71.6 192 160c0 19.1 3.4 37.5 9.5 54.5L19.9 396.1C7.2 408.8 0 426.1 0 444.1C0 481.6 30.4 512 67.9 512c18 0 35.3-7.2 48-19.9L297.5 310.5c17 6.2 35.4 9.5 54.5 9.5zM80 408a24 24 0 1 1 0 48 24 24 0 1 1 0-48z"]},Aa={prefix:"fas",iconName:"eye",icon:[576,512,[128065],"f06e","M288 32c-80.8 0-145.5 36.8-192.6 80.6C48.6 156 17.3 208 2.5 243.7c-3.3 7.9-3.3 16.7 0 24.6C17.3 304 48.6 356 95.4 399.4C142.5 443.2 207.2 480 288 480s145.5-36.8 192.6-80.6c46.8-43.5 78.1-95.4 93-131.1c3.3-7.9 3.3-16.7 0-24.6c-14.9-35.7-46.2-87.7-93-131.1C433.5 68.8 368.8 32 288 32zM144 256a144 144 0 1 1 288 0 144 144 0 1 1 -288 0zm144-64c0 35.3-28.7 64-64 64c-7.1 0-13.9-1.2-20.3-3.3c-5.5-1.8-11.9 1.6-11.7 7.4c.3 6.9 1.3 13.8 3.2 20.7c13.7 51.2 66.4 81.6 117.6 67.9s81.6-66.4 67.9-117.6c-11.1-41.5-47.8-69.4-88.6-71.1c-5.8-.2-9.2 6.1-7.4 11.7c2.1 6.4 3.3 13.2 3.3 20.3z"]},Ta={prefix:"fas",iconName:"pen",icon:[512,512,[128394],"f304","M362.7 19.3L314.3 67.7 444.3 197.7l48.4-48.4c25-25 25-65.5 0-90.5L453.3 19.3c-25-25-65.5-25-90.5 0zm-71 71L58.6 323.5c-10.4 10.4-18 23.3-22.2 37.4L1 481.2C-1.5 489.7 .8 498.8 7 505s15.3 8.5 23.7 6.1l120.3-35.4c14.1-4.2 27-11.8 37.4-22.2L421.7 220.3 291.7 90.3z"]},gl={prefix:"fas",iconName:"arrow-left",icon:[448,512,[8592],"f060","M9.4 233.4c-12.5 12.5-12.5 32.8 0 45.3l160 160c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L109.2 288 416 288c17.7 0 32-14.3 32-32s-14.3-32-32-32l-306.7 0L214.6 118.6c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0l-160 160z"]},Su={prefix:"fas",iconName:"up-right-from-square",icon:[512,512,["external-link-alt"],"f35d","M352 0c-12.9 0-24.6 7.8-29.6 19.8s-2.2 25.7 6.9 34.9L370.7 96 201.4 265.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0L416 141.3l41.4 41.4c9.2 9.2 22.9 11.9 34.9 6.9s19.8-16.6 19.8-29.6l0-128c0-17.7-14.3-32-32-32L352 0zM80 32C35.8 32 0 67.8 0 112L0 432c0 44.2 35.8 80 80 80l320 0c44.2 0 80-35.8 80-80l0-112c0-17.7-14.3-32-32-32s-32 14.3-32 32l0 112c0 8.8-7.2 16-16 16L80 448c-8.8 0-16-7.2-16-16l0-320c0-8.8 7.2-16 16-16l112 0c17.7 0 32-14.3 32-32s-14.3-32-32-32L80 32z"]},Vu={prefix:"fas",iconName:"envelope",icon:[512,512,[128386,9993,61443],"f0e0","M48 64C21.5 64 0 85.5 0 112c0 15.1 7.1 29.3 19.2 38.4L236.8 313.6c11.4 8.5 27 8.5 38.4 0L492.8 150.4c12.1-9.1 19.2-23.3 19.2-38.4c0-26.5-21.5-48-48-48L48 64zM0 176L0 384c0 35.3 28.7 64 64 64l384 0c35.3 0 64-28.7 64-64l0-208L294.4 339.2c-22.8 17.1-54 17.1-76.8 0L0 176z"]},_l={prefix:"fas",iconName:"circle-info",icon:[512,512,["info-circle"],"f05a","M256 512A256 256 0 1 0 256 0a256 256 0 1 0 0 512zM216 336l24 0 0-64-24 0c-13.3 0-24-10.7-24-24s10.7-24 24-24l48 0c13.3 0 24 10.7 24 24l0 88 8 0c13.3 0 24 10.7 24 24s-10.7 24-24 24l-80 0c-13.3 0-24-10.7-24-24s10.7-24 24-24zm40-208a32 32 0 1 1 0 64 32 32 0 1 1 0-64z"]},y4=_l,Fs={prefix:"fas",iconName:"minus",icon:[448,512,[8211,8722,10134,"subtract"],"f068","M432 256c0 17.7-14.3 32-32 32L48 288c-17.7 0-32-14.3-32-32s14.3-32 32-32l352 0c17.7 0 32 14.3 32 32z"]},O9={prefix:"fas",iconName:"plug-circle-check",icon:[576,512,[],"e55c","M96 0C78.3 0 64 14.3 64 32l0 96 64 0 0-96c0-17.7-14.3-32-32-32zM288 0c-17.7 0-32 14.3-32 32l0 96 64 0 0-96c0-17.7-14.3-32-32-32zM32 160c-17.7 0-32 14.3-32 32s14.3 32 32 32l0 32c0 77.4 55 142 128 156.8l0 67.2c0 17.7 14.3 32 32 32s32-14.3 32-32l0-67.2c12.3-2.5 24.1-6.4 35.1-11.5c-2.1-10.8-3.1-21.9-3.1-33.3c0-80.3 53.8-148 127.3-169.2c.5-2.2 .7-4.5 .7-6.8c0-17.7-14.3-32-32-32L32 160zM576 368a144 144 0 1 0 -288 0 144 144 0 1 0 288 0zm-76.7-43.3c6.2 6.2 6.2 16.4 0 22.6l-72 72c-6.2 6.2-16.4 6.2-22.6 0l-40-40c-6.2-6.2-6.2-16.4 0-22.6s16.4-6.2 22.6 0L416 385.4l60.7-60.7c6.2-6.2 16.4-6.2 22.6 0z"]},Lm={prefix:"fas",iconName:"keyboard",icon:[576,512,[9e3],"f11c","M64 64C28.7 64 0 92.7 0 128L0 384c0 35.3 28.7 64 64 64l448 0c35.3 0 64-28.7 64-64l0-256c0-35.3-28.7-64-64-64L64 64zm16 64l32 0c8.8 0 16 7.2 16 16l0 32c0 8.8-7.2 16-16 16l-32 0c-8.8 0-16-7.2-16-16l0-32c0-8.8 7.2-16 16-16zM64 240c0-8.8 7.2-16 16-16l32 0c8.8 0 16 7.2 16 16l0 32c0 8.8-7.2 16-16 16l-32 0c-8.8 0-16-7.2-16-16l0-32zm16 80l32 0c8.8 0 16 7.2 16 16l0 32c0 8.8-7.2 16-16 16l-32 0c-8.8 0-16-7.2-16-16l0-32c0-8.8 7.2-16 16-16zm80-176c0-8.8 7.2-16 16-16l32 0c8.8 0 16 7.2 16 16l0 32c0 8.8-7.2 16-16 16l-32 0c-8.8 0-16-7.2-16-16l0-32zm16 80l32 0c8.8 0 16 7.2 16 16l0 32c0 8.8-7.2 16-16 16l-32 0c-8.8 0-16-7.2-16-16l0-32c0-8.8 7.2-16 16-16zM160 336c0-8.8 7.2-16 16-16l224 0c8.8 0 16 7.2 16 16l0 32c0 8.8-7.2 16-16 16l-224 0c-8.8 0-16-7.2-16-16l0-32zM272 128l32 0c8.8 0 16 7.2 16 16l0 32c0 8.8-7.2 16-16 16l-32 0c-8.8 0-16-7.2-16-16l0-32c0-8.8 7.2-16 16-16zM256 240c0-8.8 7.2-16 16-16l32 0c8.8 0 16 7.2 16 16l0 32c0 8.8-7.2 16-16 16l-32 0c-8.8 0-16-7.2-16-16l0-32zM368 128l32 0c8.8 0 16 7.2 16 16l0 32c0 8.8-7.2 16-16 16l-32 0c-8.8 0-16-7.2-16-16l0-32c0-8.8 7.2-16 16-16zM352 240c0-8.8 7.2-16 16-16l32 0c8.8 0 16 7.2 16 16l0 32c0 8.8-7.2 16-16 16l-32 0c-8.8 0-16-7.2-16-16l0-32zM464 128l32 0c8.8 0 16 7.2 16 16l0 32c0 8.8-7.2 16-16 16l-32 0c-8.8 0-16-7.2-16-16l0-32c0-8.8 7.2-16 16-16zM448 240c0-8.8 7.2-16 16-16l32 0c8.8 0 16 7.2 16 16l0 32c0 8.8-7.2 16-16 16l-32 0c-8.8 0-16-7.2-16-16l0-32zm16 80l32 0c8.8 0 16 7.2 16 16l0 32c0 8.8-7.2 16-16 16l-32 0c-8.8 0-16-7.2-16-16l0-32c0-8.8 7.2-16 16-16z"]},F4={prefix:"fas",iconName:"flask",icon:[448,512,[],"f0c3","M288 0L160 0 128 0C110.3 0 96 14.3 96 32s14.3 32 32 32l0 132.8c0 11.8-3.3 23.5-9.5 33.5L10.3 406.2C3.6 417.2 0 429.7 0 442.6C0 480.9 31.1 512 69.4 512l309.2 0c38.3 0 69.4-31.1 69.4-69.4c0-12.8-3.6-25.4-10.3-36.4L329.5 230.4c-6.2-10.1-9.5-21.7-9.5-33.5L320 64c17.7 0 32-14.3 32-32s-14.3-32-32-32L288 0zM192 196.8L192 64l64 0 0 132.8c0 23.7 6.6 46.9 19 67.1L309.5 320l-171 0L173 263.9c12.4-20.2 19-43.4 19-67.1z"]},Nm={prefix:"fas",iconName:"ellipsis-vertical",icon:[128,512,["ellipsis-v"],"f142","M64 360a56 56 0 1 0 0 112 56 56 0 1 0 0-112zm0-160a56 56 0 1 0 0 112 56 56 0 1 0 0-112zM120 96A56 56 0 1 0 8 96a56 56 0 1 0 112 0z"]},Wm={prefix:"fas",iconName:"calculator",icon:[384,512,[128425],"f1ec","M64 0C28.7 0 0 28.7 0 64L0 448c0 35.3 28.7 64 64 64l256 0c35.3 0 64-28.7 64-64l0-384c0-35.3-28.7-64-64-64L64 0zM96 64l192 0c17.7 0 32 14.3 32 32l0 32c0 17.7-14.3 32-32 32L96 160c-17.7 0-32-14.3-32-32l0-32c0-17.7 14.3-32 32-32zm32 160a32 32 0 1 1 -64 0 32 32 0 1 1 64 0zM96 352a32 32 0 1 1 0-64 32 32 0 1 1 0 64zM64 416c0-17.7 14.3-32 32-32l96 0c17.7 0 32 14.3 32 32s-14.3 32-32 32l-96 0c-17.7 0-32-14.3-32-32zM192 256a32 32 0 1 1 0-64 32 32 0 1 1 0 64zm32 64a32 32 0 1 1 -64 0 32 32 0 1 1 64 0zm64-64a32 32 0 1 1 0-64 32 32 0 1 1 0 64zm32 64a32 32 0 1 1 -64 0 32 32 0 1 1 64 0zM288 448a32 32 0 1 1 0-64 32 32 0 1 1 0 64z"]},U4={prefix:"fas",iconName:"download",icon:[512,512,[],"f019","M288 32c0-17.7-14.3-32-32-32s-32 14.3-32 32l0 242.7-73.4-73.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3l128 128c12.5 12.5 32.8 12.5 45.3 0l128-128c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L288 274.7 288 32zM64 352c-35.3 0-64 28.7-64 64l0 32c0 35.3 28.7 64 64 64l384 0c35.3 0 64-28.7 64-64l0-32c0-35.3-28.7-64-64-64l-101.5 0-45.3 45.3c-25 25-65.5 25-90.5 0L165.5 352 64 352zm368 56a24 24 0 1 1 0 48 24 24 0 1 1 0-48z"]},Sl={prefix:"fas",iconName:"rotate-right",icon:[512,512,["redo-alt","rotate-forward"],"f2f9","M463.5 224l8.5 0c13.3 0 24-10.7 24-24l0-128c0-9.7-5.8-18.5-14.8-22.2s-19.3-1.7-26.2 5.2L413.4 96.6c-87.6-86.5-228.7-86.2-315.8 1c-87.5 87.5-87.5 229.3 0 316.8s229.3 87.5 316.8 0c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0c-62.5 62.5-163.8 62.5-226.3 0s-62.5-163.8 0-226.3c62.2-62.2 162.7-62.5 225.3-1L327 183c-6.9 6.9-8.9 17.2-5.2 26.2s12.5 14.8 22.2 14.8l119.5 0z"]},bf={prefix:"fas",iconName:"upload",icon:[512,512,[],"f093","M288 109.3L288 352c0 17.7-14.3 32-32 32s-32-14.3-32-32l0-242.7-73.4 73.4c-12.5 12.5-32.8 12.5-45.3 0s-12.5-32.8 0-45.3l128-128c12.5-12.5 32.8-12.5 45.3 0l128 128c12.5 12.5 12.5 32.8 0 45.3s-32.8 12.5-45.3 0L288 109.3zM64 352l128 0c0 35.3 28.7 64 64 64s64-28.7 64-64l128 0c35.3 0 64 28.7 64 64l0 32c0 35.3-28.7 64-64 64L64 512c-35.3 0-64-28.7-64-64l0-32c0-35.3 28.7-64 64-64zM432 456a24 24 0 1 0 0-48 24 24 0 1 0 0 48z"]},Al={prefix:"fas",iconName:"bolt",icon:[448,512,[9889,"zap"],"f0e7","M349.4 44.6c5.9-13.7 1.5-29.7-10.6-38.5s-28.6-8-39.9 1.8l-256 224c-10 8.8-13.6 22.9-8.9 35.3S50.7 288 64 288l111.5 0L98.6 467.4c-5.9 13.7-1.5 29.7 10.6 38.5s28.6 8 39.9-1.8l256-224c10-8.8 13.6-22.9 8.9-35.3s-16.6-20.7-30-20.7l-111.5 0L349.4 44.6z"]},Z4={prefix:"fas",iconName:"angle-down",icon:[448,512,[8964],"f107","M201.4 374.6c12.5 12.5 32.8 12.5 45.3 0l160-160c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L224 306.7 86.6 169.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3l160 160z"]},Hf={prefix:"fas",iconName:"file",icon:[384,512,[128196,128459,61462],"f15b","M0 64C0 28.7 28.7 0 64 0L224 0l0 128c0 17.7 14.3 32 32 32l128 0 0 288c0 35.3-28.7 64-64 64L64 512c-35.3 0-64-28.7-64-64L0 64zm384 64l-128 0L256 0 384 128z"]},$f={prefix:"fas",iconName:"arrow-down",icon:[384,512,[8595],"f063","M169.4 470.6c12.5 12.5 32.8 12.5 45.3 0l160-160c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L224 370.8 224 64c0-17.7-14.3-32-32-32s-32 14.3-32 32l0 306.7L54.6 265.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3l160 160z"]},mb={prefix:"fas",iconName:"play",icon:[384,512,[9654],"f04b","M73 39c-14.8-9.1-33.4-9.4-48.5-.9S0 62.6 0 80L0 432c0 17.4 9.4 33.4 24.5 41.9s33.7 8.1 48.5-.9L361 297c14.3-8.7 23-24.2 23-41s-8.7-32.2-23-41L73 39z"]},hd={prefix:"fas",iconName:"magnifying-glass",icon:[512,512,[128269,"search"],"f002","M416 208c0 45.9-14.9 88.3-40 122.7L502.6 457.4c12.5 12.5 12.5 32.8 0 45.3s-32.8 12.5-45.3 0L330.7 376c-34.4 25.2-76.8 40-122.7 40C93.1 416 0 322.9 0 208S93.1 0 208 0S416 93.1 416 208zM208 352a144 144 0 1 0 0-288 144 144 0 1 0 0 288z"]},vb={prefix:"fas",iconName:"chevron-down",icon:[512,512,[],"f078","M233.4 406.6c12.5 12.5 32.8 12.5 45.3 0l192-192c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L256 338.7 86.6 169.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3l192 192z"]},yb={prefix:"fas",iconName:"arrow-up",icon:[384,512,[8593],"f062","M214.6 41.4c-12.5-12.5-32.8-12.5-45.3 0l-160 160c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0L160 141.2 160 448c0 17.7 14.3 32 32 32s32-14.3 32-32l0-306.7L329.4 246.6c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3l-160-160z"]},xd={prefix:"fas",iconName:"user-shield",icon:[640,512,[],"f505","M224 256A128 128 0 1 0 224 0a128 128 0 1 0 0 256zm-45.7 48C79.8 304 0 383.8 0 482.3C0 498.7 13.3 512 29.7 512l388.6 0c1.8 0 3.5-.2 5.3-.5c-76.3-55.1-99.8-141-103.1-200.2c-16.1-4.8-33.1-7.3-50.7-7.3l-91.4 0zm308.8-78.3l-120 48C358 277.4 352 286.2 352 296c0 63.3 25.9 168.8 134.8 214.2c5.9 2.5 12.6 2.5 18.5 0C614.1 464.8 640 359.3 640 296c0-9.8-6-18.6-15.1-22.3l-120-48c-5.7-2.3-12.1-2.3-17.8 0zM591.4 312c-3.9 50.7-27.2 116.7-95.4 149.7l0-187.8L591.4 312z"]},Tb={prefix:"fas",iconName:"copy",icon:[448,512,[],"f0c5","M208 0L332.1 0c12.7 0 24.9 5.1 33.9 14.1l67.9 67.9c9 9 14.1 21.2 14.1 33.9L448 336c0 26.5-21.5 48-48 48l-192 0c-26.5 0-48-21.5-48-48l0-288c0-26.5 21.5-48 48-48zM48 128l80 0 0 64-64 0 0 256 192 0 0-32 64 0 0 48c0 26.5-21.5 48-48 48L48 512c-26.5 0-48-21.5-48-48L0 176c0-26.5 21.5-48 48-48z"]},Dd={prefix:"fas",iconName:"plus",icon:[448,512,[10133,61543,"add"],"2b","M256 80c0-17.7-14.3-32-32-32s-32 14.3-32 32l0 144L48 224c-17.7 0-32 14.3-32 32s14.3 32 32 32l144 0 0 144c0 17.7 14.3 32 32 32s32-14.3 32-32l0-144 144 0c17.7 0 32-14.3 32-32s-14.3-32-32-32l-144 0 0-144z"]},Ka={prefix:"fas",iconName:"xmark",icon:[384,512,[128473,10005,10006,10060,215,"close","multiply","remove","times"],"f00d","M342.6 150.6c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L192 210.7 86.6 105.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3L146.7 256 41.4 361.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0L192 301.3 297.4 406.6c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L237.3 256 342.6 150.6z"]},gn={prefix:"fas",iconName:"rocket",icon:[512,512,[],"f135","M156.6 384.9L125.7 354c-8.5-8.5-11.5-20.8-7.7-32.2c3-8.9 7-20.5 11.8-33.8L24 288c-8.6 0-16.6-4.6-20.9-12.1s-4.2-16.7 .2-24.1l52.5-88.5c13-21.9 36.5-35.3 61.9-35.3l82.3 0c2.4-4 4.8-7.7 7.2-11.3C289.1-4.1 411.1-8.1 483.9 5.3c11.6 2.1 20.6 11.2 22.8 22.8c13.4 72.9 9.3 194.8-111.4 276.7c-3.5 2.4-7.3 4.8-11.3 7.2l0 82.3c0 25.4-13.4 49-35.3 61.9l-88.5 52.5c-7.4 4.4-16.6 4.5-24.1 .2s-12.1-12.2-12.1-20.9l0-107.2c-14.1 4.9-26.4 8.9-35.7 11.9c-11.2 3.6-23.4 .5-31.8-7.8zM384 168a40 40 0 1 0 0-80 40 40 0 1 0 0 80z"]},T_={prefix:"fas",iconName:"chevron-right",icon:[320,512,[9002],"f054","M310.6 233.4c12.5 12.5 12.5 32.8 0 45.3l-192 192c-12.5 12.5-32.8 12.5-45.3 0s-12.5-32.8 0-45.3L242.7 256 73.4 86.6c-12.5-12.5-12.5-32.8 0-45.3s32.8-12.5 45.3 0l192 192z"]},$b={prefix:"fas",iconName:"rotate",icon:[512,512,[128260,"sync-alt"],"f2f1","M142.9 142.9c-17.5 17.5-30.1 38-37.8 59.8c-5.9 16.7-24.2 25.4-40.8 19.5s-25.4-24.2-19.5-40.8C55.6 150.7 73.2 122 97.6 97.6c87.2-87.2 228.3-87.5 315.8-1L455 55c6.9-6.9 17.2-8.9 26.2-5.2s14.8 12.5 14.8 22.2l0 128c0 13.3-10.7 24-24 24l-8.4 0c0 0 0 0 0 0L344 224c-9.7 0-18.5-5.8-22.2-14.8s-1.7-19.3 5.2-26.2l41.1-41.1c-62.6-61.5-163.1-61.2-225.3 1zM16 312c0-13.3 10.7-24 24-24l7.6 0 .7 0L168 288c9.7 0 18.5 5.8 22.2 14.8s1.7 19.3-5.2 26.2l-41.1 41.1c62.6 61.5 163.1 61.2 225.3-1c17.5-17.5 30.1-38 37.8-59.8c5.9-16.7 24.2-25.4 40.8-19.5s25.4 24.2 19.5 40.8c-10.8 30.6-28.4 59.3-52.9 83.8c-87.2 87.2-228.3 87.5-315.8 1L57 457c-6.9 6.9-17.2 8.9-26.2 5.2S16 449.7 16 440l0-119.6 0-.7 0-7.6z"]},j_={prefix:"fas",iconName:"robot",icon:[640,512,[129302],"f544","M320 0c17.7 0 32 14.3 32 32l0 64 120 0c39.8 0 72 32.2 72 72l0 272c0 39.8-32.2 72-72 72l-304 0c-39.8 0-72-32.2-72-72l0-272c0-39.8 32.2-72 72-72l120 0 0-64c0-17.7 14.3-32 32-32zM208 384c-8.8 0-16 7.2-16 16s7.2 16 16 16l32 0c8.8 0 16-7.2 16-16s-7.2-16-16-16l-32 0zm96 0c-8.8 0-16 7.2-16 16s7.2 16 16 16l32 0c8.8 0 16-7.2 16-16s-7.2-16-16-16l-32 0zm96 0c-8.8 0-16 7.2-16 16s7.2 16 16 16l32 0c8.8 0 16-7.2 16-16s-7.2-16-16-16l-32 0zM264 256a40 40 0 1 0 -80 0 40 40 0 1 0 80 0zm152 40a40 40 0 1 0 0-80 40 40 0 1 0 0 80zM48 224l16 0 0 192-16 0c-26.5 0-48-21.5-48-48l0-96c0-26.5 21.5-48 48-48zm544 0c26.5 0 48 21.5 48 48l0 96c0 26.5-21.5 48-48 48l-16 0 0-192 16 0z"]},xx={prefix:"fas",iconName:"book",icon:[448,512,[128212],"f02d","M96 0C43 0 0 43 0 96L0 416c0 53 43 96 96 96l288 0 32 0c17.7 0 32-14.3 32-32s-14.3-32-32-32l0-64c17.7 0 32-14.3 32-32l0-320c0-17.7-14.3-32-32-32L384 0 96 0zm0 384l256 0 0 64L96 448c-17.7 0-32-14.3-32-32s14.3-32 32-32zm32-240c0-8.8 7.2-16 16-16l192 0c8.8 0 16 7.2 16 16s-7.2 16-16 16l-192 0c-8.8 0-16-7.2-16-16zm16 48l192 0c8.8 0 16 7.2 16 16s-7.2 16-16 16l-192 0c-8.8 0-16-7.2-16-16s7.2-16 16-16z"]},Cx={prefix:"fas",iconName:"check",icon:[448,512,[10003,10004],"f00c","M438.6 105.4c12.5 12.5 12.5 32.8 0 45.3l-256 256c-12.5 12.5-32.8 12.5-45.3 0l-128-128c-12.5-12.5-12.5-32.8 0-45.3s32.8-12.5 45.3 0L160 338.7 393.4 105.4c12.5-12.5 32.8-12.5 45.3 0z"]},Dx={prefix:"fas",iconName:"book-open",icon:[576,512,[128214,128366],"f518","M249.6 471.5c10.8 3.8 22.4-4.1 22.4-15.5l0-377.4c0-4.2-1.6-8.4-5-11C247.4 52 202.4 32 144 32C93.5 32 46.3 45.3 18.1 56.1C6.8 60.5 0 71.7 0 83.8L0 454.1c0 11.9 12.8 20.2 24.1 16.5C55.6 460.1 105.5 448 144 448c33.9 0 79 14 105.6 23.5zm76.8 0C353 462 398.1 448 432 448c38.5 0 88.4 12.1 119.9 22.6c11.3 3.8 24.1-4.6 24.1-16.5l0-370.3c0-12.1-6.8-23.3-18.1-27.6C529.7 45.3 482.5 32 432 32c-58.4 0-103.4 20-123 35.6c-3.3 2.6-5 6.8-5 11L304 456c0 11.4 11.7 19.3 22.4 15.5z"]},T5={prefix:"fas",iconName:"triangle-exclamation",icon:[512,512,[9888,"exclamation-triangle","warning"],"f071","M256 32c14.2 0 27.3 7.5 34.5 19.8l216 368c7.3 12.4 7.3 27.7 .2 40.1S486.3 480 472 480L40 480c-14.3 0-27.6-7.7-34.7-20.1s-7-27.8 .2-40.1l216-368C228.7 39.5 241.8 32 256 32zm0 128c-13.3 0-24 10.7-24 24l0 112c0 13.3 10.7 24 24 24s24-10.7 24-24l0-112c0-13.3-10.7-24-24-24zm32 224a32 32 0 1 0 -64 0 32 32 0 1 0 64 0z"]},Sx={prefix:"fas",iconName:"database",icon:[448,512,[],"f1c0","M448 80l0 48c0 44.2-100.3 80-224 80S0 172.2 0 128L0 80C0 35.8 100.3 0 224 0S448 35.8 448 80zM393.2 214.7c20.8-7.4 39.9-16.9 54.8-28.6L448 288c0 44.2-100.3 80-224 80S0 332.2 0 288L0 186.1c14.9 11.8 34 21.2 54.8 28.6C99.7 230.7 159.5 240 224 240s124.3-9.3 169.2-25.3zM0 346.1c14.9 11.8 34 21.2 54.8 28.6C99.7 390.7 159.5 400 224 400s124.3-9.3 169.2-25.3c20.8-7.4 39.9-16.9 54.8-28.6l0 85.9c0 44.2-100.3 80-224 80S0 476.2 0 432l0-85.9z"]},kx={prefix:"fas",iconName:"paper-plane",icon:[512,512,[61913],"f1d8","M498.1 5.6c10.1 7 15.4 19.1 13.5 31.2l-64 416c-1.5 9.7-7.4 18.2-16 23s-18.9 5.4-28 1.6L284 427.7l-68.5 74.1c-8.9 9.7-22.9 12.9-35.2 8.1S160 493.2 160 480l0-83.6c0-4 1.5-7.8 4.2-10.8L331.8 202.8c5.8-6.3 5.6-16-.4-22s-15.7-6.4-22-.7L106 360.8 17.7 316.6C7.1 311.3 .3 300.7 0 288.9s5.9-22.8 16.1-28.7l448-256c10.7-6.1 23.9-5.5 34 1.4z"]},I5={prefix:"fas",iconName:"circle-xmark",icon:[512,512,[61532,"times-circle","xmark-circle"],"f057","M256 512A256 256 0 1 0 256 0a256 256 0 1 0 0 512zM175 175c9.4-9.4 24.6-9.4 33.9 0l47 47 47-47c9.4-9.4 24.6-9.4 33.9 0s9.4 24.6 0 33.9l-47 47 47 47c9.4 9.4 9.4 24.6 0 33.9s-24.6 9.4-33.9 0l-47-47-47 47c-9.4 9.4-24.6 9.4-33.9 0s-9.4-24.6 0-33.9l47-47-47-47c-9.4-9.4-9.4-24.6 0-33.9z"]},Vx=I5},31147:(Ce,Lt,r)=>{r.d(Lt,{bA:()=>cn,Q8:()=>Dt,Kj:()=>me,JO:()=>Ot,$o:()=>dt,bF:()=>ze,Tl:()=>X});var o=r(1843),y=r(73151),b=r(89371),T=r(61550),k=r(12324),G=r(89115),P=r(85390),Z=r(86606),N=r(62220),ot=r(14087),q=r(52483),K=r(29810),M=r(57588),a=r(17434),pt=r(33697);function j(I){return I&&I.constructor&&"function"==typeof I.constructor.isBuffer&&I.constructor.isBuffer(I)}function J(I){return I}function bt(I,_t){const Q=(_t=_t||{}).delimiter||".",Mt=_t.maxDepth,Wt=_t.transformKey||J,se={};return function De(ve,Ye,tn){tn=tn||1,Object.keys(ve).forEach(function(rn){const ln=ve[rn],Dn=_t.safe&&Array.isArray(ln),Fn=Object.prototype.toString.call(ln),Mn=j(ln),In="[object Object]"===Fn||"[object Array]"===Fn,li=Ye?Ye+Q+Wt(rn):Wt(rn);if(!Dn&&!Mn&&In&&Object.keys(ln).length&&(!_t.maxDepth||tn0&&(Dn=ve(ln.shift()),Fn=ve(ln[0]))}Mn[Dn]=Gt(I[rn],_t)}),se}class te{translations;constructor(_t){this.translations=_t}getTranslation(_t){return(0,y.of)(this.translations.get(_t)||{})}}const $=new o.nKC("TRANSLOCO_LOADER");function lt(I,_t){return I&&(Object.prototype.hasOwnProperty.call(I,_t)?I[_t]:_t.split(".").reduce((Q,Mt)=>Q?.[Mt],I))}function mt(I){return I?Array.isArray(I)?I.length:Le(I)?Object.keys(I).length:I?I.length:0:0}function de(I){return"string"==typeof I}function Le(I){return!!I&&"object"==typeof I&&!Array.isArray(I)}function Xe(I){return I.replace(/(?:^\w|[A-Z]|\b\w)/g,(_t,Q)=>0==Q?_t.toLowerCase():_t.toUpperCase()).replace(/\s+|_|-|\//g,"")}function Ve(I){return null==I}function Oe(I){return!1===Ve(I)}function be(I){return I&&"string"==typeof I.scope}function Nt(I){return bt(I,{safe:!0})}const Tt=new o.nKC("TRANSLOCO_CONFIG",{providedIn:"root",factory:()=>Yt}),Yt={defaultLang:"en",reRenderOnLangChange:!1,prodMode:!1,failedRetries:2,fallbackLang:[],availableLangs:[],missingHandler:{logMissingKey:!0,useFallbackTranslation:!1,allowEmpty:!1},flatten:{aot:!1},interpolation:["{{","}}"]};function Ut(I={}){return{...Yt,...I,missingHandler:{...Yt.missingHandler,...I.missingHandler},flatten:{...Yt.flatten,...I.flatten}}}const Ne=new o.nKC("TRANSLOCO_TRANSPILER");let ke=(()=>{class I{interpolationMatcher;constructor(Q){this.interpolationMatcher=function un(I){const[_t,Q]=I.interpolation;return new RegExp(`${_t}(.*?)${Q}`,"g")}(Q??Yt)}transpile(Q,Mt={},Wt,se){return de(Q)?Q.replace(this.interpolationMatcher,(De,ve)=>(ve=ve.trim(),Oe(Mt[ve])?Mt[ve]:Oe(Wt[ve])?this.transpile(Wt[ve],Mt,Wt,se):"")):(Mt&&(Le(Q)?Q=this.handleObject(Q,Mt,Wt,se):Array.isArray(Q)&&(Q=this.handleArray(Q,Mt,Wt,se))),Q)}handleObject(Q,Mt={},Wt,se){let De=Q;return Object.keys(Mt).forEach(ve=>{const Ye=lt(De,ve),tn=lt(Mt,ve),rn=this.transpile(Ye,tn,Wt,se);De=function V(I,_t,Q){I={...I};const Mt=_t.split("."),Wt=Mt.length-1;return Mt.reduce((se,De,ve)=>(se[De]=ve===Wt?Q:Array.isArray(se[De])?se[De].slice():{...se[De]},se&&se[De]),I),I}(De,ve,rn)}),De}handleArray(Q,Mt={},Wt,se){return Q.map(De=>this.transpile(De,Mt,Wt,se))}static \u0275fac=function(Mt){return new(Mt||I)(o.KVO(Tt,8))};static \u0275prov=o.jDH({token:I,factory:I.\u0275fac})}return I})();const Vt=new o.nKC("TRANSLOCO_MISSING_HANDLER");let oe=(()=>{class I{handle(Q,Mt){return Mt.missingHandler.logMissingKey&&!Mt.prodMode&&console.warn(`%c Missing translation for '${Q}'`,"font-size: 12px; color: red"),Q}static \u0275fac=function(Mt){return new(Mt||I)};static \u0275prov=o.jDH({token:I,factory:I.\u0275fac})}return I})();const Qt=new o.nKC("TRANSLOCO_INTERCEPTOR");let Et=(()=>{class I{preSaveTranslation(Q){return Q}preSaveTranslationKey(Q,Mt){return Mt}static \u0275fac=function(Mt){return new(Mt||I)};static \u0275prov=o.jDH({token:I,factory:I.\u0275fac})}return I})();const re=new o.nKC("TRANSLOCO_FALLBACK_STRATEGY");let tt,Ee=(()=>{class I{userConfig;constructor(Q){this.userConfig=Q}getNextLangs(){const Q=this.userConfig.fallbackLang;if(!Q)throw new Error("When using the default fallback, a fallback language must be provided in the config!");return Array.isArray(Q)?Q:[Q]}static \u0275fac=function(Mt){return new(Mt||I)(o.KVO(Tt))};static \u0275prov=o.jDH({token:I,factory:I.\u0275fac})}return I})();function ce(I){if(!I)return"";const _t=I.split("/");return _t.pop(),_t.join("/")}function je(I){return I?I.split("/").pop():""}function Ht(I,_t,Q="|"){if(de(I)){const Mt=I.split(Q),Wt=Mt.pop();return Wt===_t?[!0,Mt.toString()]:[!1,Wt]}return[!1,""]}function ne(I,_t){const[Q]=Ht(_t,"static");return!Q&&!!I.config.reRenderOnLangChange}function at(I){return I?_t=>_t:(0,b.s)(1)}function st(I,_t){return function yt(I){return I&&Le(I.loader)}(I)?function H(I,_t){return Object.keys(I).reduce((Q,Mt)=>(Q[`${_t}/${Mt}`]=I[Mt],Q),{})}(I.loader,_t):void 0}function zt(I){return{scope:ce(I)||null,langName:je(I)}}function vt(I){const{path:_t,inlineLoader:Q,mainLoader:Mt,data:Wt}=I;if(Q){if(!1===function $t(I){return"function"==typeof I}(Q[_t]))throw`You're using an inline loader but didn't provide a loader for ${_t}`;return Q[_t]().then(De=>De.default?De.default:De)}return Mt.getTranslation(_t,Wt)}function X(I,_t={},Q){return tt.translate(I,_t,Q)}let Ot=(()=>{class I{loader;parser;missingHandler;interceptor;fallbackStrategy;langChanges$;subscription=null;translations=new Map;cache=new Map;firstFallbackLang;defaultLang="";availableLangs=[];isResolvedMissingOnce=!1;lang;failedLangs=new Set;events=new G.B;events$=this.events.asObservable();config;constructor(Q,Mt,Wt,se,De,ve){this.loader=Q,this.parser=Mt,this.missingHandler=Wt,this.interceptor=se,this.fallbackStrategy=ve,this.loader||(this.loader=new te(this.translations)),tt=this,this.config=JSON.parse(JSON.stringify(De)),this.setAvailableLangs(this.config.availableLangs||[]),this.setFallbackLangForMissingTranslation(this.config),this.setDefaultLang(this.config.defaultLang),this.lang=new P.t(this.getDefaultLang()),this.langChanges$=this.lang.asObservable(),this.subscription=this.events$.subscribe(Ye=>{"translationLoadSuccess"===Ye.type&&Ye.wasFailure&&this.setActiveLang(Ye.payload.langName)})}getDefaultLang(){return this.defaultLang}setDefaultLang(Q){this.defaultLang=Q}getActiveLang(){return this.lang.getValue()}setActiveLang(Q){return this.parser.onLangChanged?.(Q),this.lang.next(Q),this.events.next({type:"langChanged",payload:zt(Q)}),this}setAvailableLangs(Q){this.availableLangs=Q}getAvailableLangs(){return this.availableLangs}load(Q,Mt={}){const Wt=this.cache.get(Q);if(Wt)return Wt;let se;const De=this._isLangScoped(Q);let ve;De&&(ve=ce(Q));const Ye={path:Q,mainLoader:this.loader,inlineLoader:Mt.inlineLoader,data:De?{scope:ve}:void 0};if(this.useFallbackTranslation(Q)){const rn=De?`${ve}/${this.firstFallbackLang}`:this.firstFallbackLang,ln=function kt({mainLoader:I,path:_t,data:Q,fallbackPath:Mt,inlineLoader:Wt}){return(Mt?[_t,Mt]:[_t]).map(De=>{const ve=vt({path:De,mainLoader:I,inlineLoader:Wt,data:Q});return(0,T.H)(ve).pipe((0,k.T)(Ye=>({translation:Ye,lang:De})))})}({...Ye,fallbackPath:rn});se=(0,Z.p)(ln)}else{const rn=vt(Ye);se=(0,T.H)(rn)}const tn=se.pipe((0,N.L)(this.config.failedRetries),(0,ot.M)(rn=>{Array.isArray(rn)?rn.forEach(ln=>{this.handleSuccess(ln.lang,ln.translation),ln.lang!==Q&&this.cache.set(ln.lang,(0,y.of)({}))}):this.handleSuccess(Q,rn)}),(0,q.W)(rn=>(this.config.prodMode||console.error(`Error while trying to load "${Q}"`,rn),this.handleFailure(Q,Mt))),(0,K.t)(1));return this.cache.set(Q,tn),tn}translate(Q,Mt={},Wt=this.getActiveLang()){if(!Q)return Q;const{scope:se,resolveLang:De}=this.resolveLangAndScope(Wt);if(Array.isArray(Q))return Q.map(tn=>this.translate(se?`${se}.${tn}`:tn,Mt,De));Q=se?`${se}.${Q}`:Q;const ve=this.getTranslation(De),Ye=ve[Q];return Ye?this.parser.transpile(Ye,Mt,ve,Q):this._handleMissingKey(Q,Ye,Mt)}selectTranslate(Q,Mt,Wt,se=!1){let De;const ve=(tn,rn)=>this.load(tn,rn).pipe((0,k.T)(()=>se?this.translateObject(Q,Mt,tn):this.translate(Q,Mt,tn)));if(Ve(Wt))return this.langChanges$.pipe((0,M.n)(tn=>ve(tn)));if(function Me(I){return Array.isArray(I)&&I.every(be)}(Wt)||be(Wt)){const tn=Array.isArray(Wt)?Wt[0]:Wt;Wt=tn.scope,De=st(tn,tn.scope)}if(this.isLang(Wt)||this.isScopeWithLang(Wt))return ve(Wt);const Ye=Wt;return this.langChanges$.pipe((0,M.n)(tn=>ve(`${Ye}/${tn}`,{inlineLoader:De})))}isScopeWithLang(Q){return this.isLang(je(Q))}translateObject(Q,Mt={},Wt=this.getActiveLang()){if(de(Q)||Array.isArray(Q)){const{resolveLang:De,scope:ve}=this.resolveLangAndScope(Wt);if(Array.isArray(Q))return Q.map(rn=>this.translateObject(ve?`${ve}.${rn}`:rn,Mt,De));const Ye=this.getTranslation(De),tn=function Kt(I){return Gt(I)}(this.getObjectByKey(Ye,Q=ve?`${ve}.${Q}`:Q));return function rt(I){return 0===mt(I)}(tn)?this.translate(Q,Mt,Wt):this.parser.transpile(tn,Mt,Ye,Q)}const se=[];for(const[De,ve]of this.getEntries(Q))se.push(this.translateObject(De,ve,Wt));return se}selectTranslateObject(Q,Mt,Wt){if(de(Q)||Array.isArray(Q))return this.selectTranslate(Q,Mt,Wt,!0);const[[se,De],...ve]=this.getEntries(Q);return this.selectTranslateObject(se,De,Wt).pipe((0,k.T)(Ye=>{const tn=[Ye];for(const[rn,ln]of ve)tn.push(this.translateObject(rn,ln,Wt));return tn}))}getTranslation(Q){if(Q){if(this.isLang(Q))return this.translations.get(Q)||{};{const{scope:Mt,resolveLang:Wt}=this.resolveLangAndScope(Q),se=this.translations.get(Wt)||{};return this.getObjectByKey(se,Mt)}}return this.translations}selectTranslation(Q){let Mt=this.langChanges$;if(Q){const Wt=je(Q)!==Q;Mt=this.isLang(Q)||Wt?(0,y.of)(Q):this.langChanges$.pipe((0,k.T)(se=>`${Q}/${se}`))}return Mt.pipe((0,M.n)(Wt=>this.load(Wt).pipe((0,k.T)(()=>this.getTranslation(Wt)))))}setTranslation(Q,Mt=this.getActiveLang(),Wt={}){const De={merge:!0,emitChange:!0,...Wt},ve=ce(Mt);let Ye=Q;ve&&(Ye=Nt({[this.getMappedScope(ve)]:Q}));const tn=ve?je(Mt):Mt,rn={...De.merge&&this.getTranslation(tn),...Ye},ln=this.config.flatten.aot?rn:Nt(rn),Dn=this.interceptor.preSaveTranslation(ln,tn);this.translations.set(tn,Dn),De.emitChange&&this.setActiveLang(this.getActiveLang())}setTranslationKey(Q,Mt,Wt=this.getActiveLang(),se={}){const De=this.interceptor.preSaveTranslationKey(Q,Mt,Wt);this.setTranslation({[Q]:De},Wt,{...se,merge:!0})}setFallbackLangForMissingTranslation({fallbackLang:Q}){const Mt=Array.isArray(Q)?Q[0]:Q;Q&&this.useFallbackTranslation(Mt)&&(this.firstFallbackLang=Mt)}_handleMissingKey(Q,Mt,Wt){if(this.config.missingHandler.allowEmpty&&""===Mt)return"";if(!this.isResolvedMissingOnce&&this.useFallbackTranslation()){this.isResolvedMissingOnce=!0;const se=this.translate(Q,Wt,this.firstFallbackLang);return this.isResolvedMissingOnce=!1,se}return this.missingHandler.handle(Q,this.getMissingHandlerData(),Wt)}_isLangScoped(Q){return-1===this.getAvailableLangsIds().indexOf(Q)}isLang(Q){return-1!==this.getAvailableLangsIds().indexOf(Q)}_loadDependencies(Q,Mt){const Wt=je(Q);return this._isLangScoped(Q)&&!this.isLoadedTranslation(Wt)?(0,a.z)([this.load(Wt),this.load(Q,{inlineLoader:Mt})]):this.load(Q,{inlineLoader:Mt})}_completeScopeWithLang(Q){return this._isLangScoped(Q)&&!this.isLang(je(Q))?`${Q}/${this.getActiveLang()}`:Q}_setScopeAlias(Q,Mt){this.config.scopeMapping||(this.config.scopeMapping={}),this.config.scopeMapping[Q]=Mt}ngOnDestroy(){this.subscription&&(this.subscription.unsubscribe(),this.subscription=null),this.cache.clear()}isLoadedTranslation(Q){return mt(this.getTranslation(Q))}getAvailableLangsIds(){return de(this.getAvailableLangs()[0])?this.getAvailableLangs():this.getAvailableLangs().map(Mt=>Mt.id)}getMissingHandlerData(){return{...this.config,activeLang:this.getActiveLang(),availableLangs:this.availableLangs,defaultLang:this.defaultLang}}useFallbackTranslation(Q){return this.config.missingHandler.useFallbackTranslation&&Q!==this.firstFallbackLang}handleSuccess(Q,Mt){this.setTranslation(Mt,Q,{emitChange:!1}),this.events.next({wasFailure:!!this.failedLangs.size,type:"translationLoadSuccess",payload:zt(Q)}),this.failedLangs.forEach(Wt=>this.cache.delete(Wt)),this.failedLangs.clear()}handleFailure(Q,Mt){Ve(Mt.failedCounter)&&(Mt.failedCounter=0,Mt.fallbackLangs||(Mt.fallbackLangs=this.fallbackStrategy.getNextLangs(Q)));const Wt=Q.split("/"),De=Mt.fallbackLangs[Mt.failedCounter];if(this.failedLangs.add(Q),this.cache.has(De))return this.handleSuccess(De,this.getTranslation(De)),pt.w;if(!De||De===Wt[Wt.length-1]){let tn="Unable to load translation and all the fallback languages";throw Wt.length>1&&(tn+=", did you misspelled the scope name?"),new Error(tn)}let Ye=De;return Wt.length>1&&(Wt[Wt.length-1]=De,Ye=Wt.join("/")),Mt.failedCounter++,this.events.next({type:"translationLoadFailure",payload:zt(Q)}),this.load(Ye,Mt)}getMappedScope(Q){const{scopeMapping:Mt={}}=this.config;return Mt[Q]||Xe(Q)}resolveLangAndScope(Q){let Wt,Mt=Q;if(this._isLangScoped(Q)){const se=je(Q),De=this.isLang(se);Mt=De?se:this.getActiveLang(),Wt=this.getMappedScope(De?ce(Q):Q)}return{scope:Wt,resolveLang:Mt}}getObjectByKey(Q,Mt){const Wt={},se=`${Mt}.`;for(const De in Q)De.startsWith(se)&&(Wt[De.replace(se,"")]=Q[De]);return Wt}getEntries(Q){return Q instanceof Map?Q.entries():Object.entries(Q)}static \u0275fac=function(Mt){return new(Mt||I)(o.KVO($,8),o.KVO(Ne),o.KVO(Vt),o.KVO(Qt),o.KVO(Tt),o.KVO(re))};static \u0275prov=o.jDH({token:I,factory:I.\u0275fac,providedIn:"root"})}return I})(),xe=(()=>{class I{html;static \u0275fac=function(Mt){return new(Mt||I)};static \u0275cmp=o.VBU({type:I,selectors:[["ng-component"]],inputs:{html:"html"},standalone:!0,features:[o.aNF],decls:1,vars:1,consts:[[1,"transloco-loader-template",3,"innerHTML"]],template:function(Mt,Wt){1&Mt&&o.nrm(0,"div",0),2&Mt&&o.Y8G("innerHTML",Wt.html,o.npT)},encapsulation:2})}return I})();class Te{view;vcr;constructor(_t,Q){this.view=_t,this.vcr=Q}attachView(){if(this.view instanceof o.C4Q)this.vcr.createEmbeddedView(this.view);else if(de(this.view)){const _t=this.vcr.createComponent(xe);_t.instance.html=this.view,_t.hostView.detectChanges()}else this.vcr.createComponent(this.view)}detachView(){this.vcr.clear()}}const Ke=new o.nKC("TRANSLOCO_LANG"),on=new o.nKC("TRANSLOCO_LOADING_TEMPLATE"),_n=new o.nKC("TRANSLOCO_SCOPE");class hn{initialized=!1;resolve({inline:_t,provider:Q,active:Mt}){let Wt=Mt;if(this.initialized)return Wt=Mt,Wt;if(Q){const[,se]=Ht(Q,"static");Wt=se}if(_t){const[,se]=Ht(_t,"static");Wt=se}return this.initialized=!0,Wt}resolveLangBasedOnScope(_t){return ce(_t)?je(_t):_t}resolveLangPath(_t,Q){return Q?`${Q}/${_t}`:_t}}class fe{service;constructor(_t){this.service=_t}resolve(_t){const{inline:Q,provider:Mt}=_t;if(Q)return Q;if(Mt){if(be(Mt)){const{scope:Wt,alias:se=Xe(Wt)}=Mt;return this.service._setScopeAlias(Wt,se),Wt}return Mt}}}let cn=(()=>{class I{service=(0,o.WQX)(Ot);tpl=(0,o.WQX)(o.C4Q,{optional:!0});providerLang=(0,o.WQX)(Ke,{optional:!0});providerScope=(0,o.WQX)(_n,{optional:!0});providedLoadingTpl=(0,o.WQX)(on,{optional:!0});cdr=(0,o.WQX)(o.gRc);host=(0,o.WQX)(o.aKT);vcr=(0,o.WQX)(o.c1b);renderer=(0,o.WQX)(o.sFG);subscription=null;view;translationMemo={};key;params={};inlineScope;inlineRead;inlineLang;inlineTpl;currentLang;loaderTplHandler;initialized=!1;path;langResolver=new hn;scopeResolver=new fe(this.service);strategy=null===this.tpl?"attribute":"structural";static ngTemplateContextGuard(Q,Mt){return!0}ngOnInit(){const Q=ne(this.service,this.providerLang||this.inlineLang);if(this.subscription=this.service.langChanges$.pipe((0,M.n)(Mt=>{const Wt=this.langResolver.resolve({inline:this.inlineLang,provider:this.providerLang,active:Mt});return Array.isArray(this.providerScope)?(0,Z.p)(this.providerScope.map(se=>this.resolveScope(Wt,se))):this.resolveScope(Wt,this.providerScope)}),at(Q)).subscribe(()=>{this.currentLang=this.langResolver.resolveLangBasedOnScope(this.path),"attribute"===this.strategy?this.attributeStrategy():this.structuralStrategy(this.currentLang,this.inlineRead),this.cdr.markForCheck(),this.initialized=!0}),!this.initialized){const Mt=this.resolveLoadingContent();Mt&&(this.loaderTplHandler=new Te(Mt,this.vcr),this.loaderTplHandler.attachView())}}ngOnChanges(Q){"attribute"===this.strategy&&Object.keys(Q).some(Wt=>!Q[Wt].firstChange)&&this.attributeStrategy()}attributeStrategy(){this.detachLoader(),this.renderer.setProperty(this.host.nativeElement,"innerText",this.service.translate(this.key,this.params,this.currentLang))}structuralStrategy(Q,Mt){this.translationMemo={},this.view?(this.view.context.$implicit=this.getTranslateFn(Q,Mt),this.view.context.currentLang=this.currentLang):(this.detachLoader(),this.view=this.vcr.createEmbeddedView(this.tpl,{$implicit:this.getTranslateFn(Q,Mt),currentLang:this.currentLang}))}getTranslateFn(Q,Mt){return(Wt,se)=>{const De=Mt?`${Mt}.${Wt}`:Wt,ve=se?`${De}${JSON.stringify(se)}`:De;return Object.prototype.hasOwnProperty.call(this.translationMemo,ve)||(this.translationMemo[ve]={params:se,value:this.service.translate(De,se,Q)}),this.translationMemo[ve].value}}resolveLoadingContent(){return this.inlineTpl||this.providedLoadingTpl}ngOnDestroy(){this.subscription&&(this.subscription.unsubscribe(),this.subscription=null)}detachLoader(){this.loaderTplHandler?.detachView()}resolveScope(Q,Mt){const Wt=this.scopeResolver.resolve({inline:this.inlineScope,provider:Mt});this.path=this.langResolver.resolveLangPath(Q,Wt);const se=st(Mt,Wt);return this.service._loadDependencies(this.path,se)}static \u0275fac=function(Mt){return new(Mt||I)};static \u0275dir=o.FsC({type:I,selectors:[["","transloco",""]],inputs:{key:["transloco","key"],params:["translocoParams","params"],inlineScope:["translocoScope","inlineScope"],inlineRead:["translocoRead","inlineRead"],inlineLang:["translocoLang","inlineLang"],inlineTpl:["translocoLoadingTpl","inlineTpl"]},standalone:!0,features:[o.OA$]})}return I})(),me=(()=>{class I{service;providerScope;providerLang;cdr;subscription=null;lastValue="";lastKey;path;langResolver=new hn;scopeResolver;constructor(Q,Mt,Wt,se){this.service=Q,this.providerScope=Mt,this.providerLang=Wt,this.cdr=se,this.scopeResolver=new fe(this.service)}transform(Q,Mt,Wt){if(!Q)return Q;const se=Mt?`${Q}${JSON.stringify(Mt)}`:Q;if(se===this.lastKey)return this.lastValue;this.lastKey=se,this.subscription?.unsubscribe();const De=ne(this.service,this.providerLang||Wt);return this.subscription=this.service.langChanges$.pipe((0,M.n)(ve=>{const Ye=this.langResolver.resolve({inline:Wt,provider:this.providerLang,active:ve});return Array.isArray(this.providerScope)?(0,Z.p)(this.providerScope.map(tn=>this.resolveScope(Ye,tn))):this.resolveScope(Ye,this.providerScope)}),at(De)).subscribe(()=>this.updateValue(Q,Mt)),this.lastValue}ngOnDestroy(){this.subscription?.unsubscribe(),this.subscription=null}updateValue(Q,Mt){const Wt=this.langResolver.resolveLangBasedOnScope(this.path);this.lastValue=this.service.translate(Q,Mt,Wt),this.cdr.markForCheck()}resolveScope(Q,Mt){const Wt=this.scopeResolver.resolve({inline:void 0,provider:Mt});this.path=this.langResolver.resolveLangPath(Q,Wt);const se=st(Mt,Wt);return this.service._loadDependencies(this.path,se)}static \u0275fac=function(Mt){return new(Mt||I)(o.rXU(Ot,16),o.rXU(_n,24),o.rXU(Ke,24),o.rXU(o.gRc,16))};static \u0275pipe=o.EJ8({name:"transloco",type:I,pure:!1,standalone:!0})}return I})(),Dt=(()=>{class I{static \u0275fac=function(Mt){return new(Mt||I)};static \u0275mod=o.$C({type:I});static \u0275inj=o.G2t({})}return I})();function dt(I){const _t=[Ct(ke),A(oe),xt(Et),U(Ee)];return I.config&&_t.push(function Rt(I){return(0,o.EmA)([{provide:Tt,useValue:Ut(I)}])}(I.config)),I.loader&&_t.push(function ae(I){return(0,o.EmA)([{provide:$,useClass:I}])}(I.loader)),_t}function ze(I){return{provide:_n,useValue:I,multi:!0}}function Ct(I){return(0,o.EmA)([{provide:Ne,useClass:I,deps:[Tt]}])}function U(I){return(0,o.EmA)([{provide:re,useClass:I,deps:[Tt]}])}function A(I){return(0,o.EmA)([{provide:Vt,useClass:I}])}function xt(I){return(0,o.EmA)([{provide:Qt,useClass:I}])}new o.nKC("TRANSLOCO_TEST_LANGS - Available testing languages"),new o.nKC("TRANSLOCO_TEST_OPTIONS - Testing options")},97828:(Ce,Lt,r)=>{r.d(Lt,{d:()=>$,s:()=>Ge});var o=r(89115),y=r(52693),b=r(61550),T=r(33697),k=r(1843),G=r(40426),P=r(73907);const Z=k.YHP,ot=Symbol("__destroy"),q=Symbol("__decoratorApplied");function K(ye){return"string"==typeof ye?Symbol(`__destroy__${ye}`):ot}function a(ye,Ve){ye[Ve]||(ye[Ve]=new o.B)}function pt(ye,Ve){ye[Ve]&&(ye[Ve].next(),ye[Ve].complete(),ye[Ve]=null)}function j(ye){ye instanceof y.yU&&ye.unsubscribe()}function bt(ye,Ve){return function(){if(ye&&ye.call(this),pt(this,K()),Ve.arrayName&&function J(ye){Array.isArray(ye)&&ye.forEach(j)}(this[Ve.arrayName]),Ve.checkProperties)for(const Oe in this)Ve.blackList?.includes(Oe)||j(this[Oe])}}function $(ye={}){return Ve=>{!function N(ye){return!!ye[Z]}(Ve)?function Gt(ye,Ve){ye.prototype.ngOnDestroy=bt(ye.prototype.ngOnDestroy,Ve)}(Ve,ye):function te(ye,Ve){const Oe=ye.\u0275pipe;Oe.onDestroy=bt(Oe.onDestroy,Ve)}(Ve,ye),function M(ye){ye.prototype[q]=!0}(Ve)}}const lt=7,V=Symbol("CheckerHasBeenSet");function $t(ye){const Ve=k.JZv.Zone;return Ve&&"function"==typeof Ve.root?.run?Ve.root.run(ye):ye()}const _e=!1;function Ge(ye,Ve){return Oe=>{const Qe=K(Ve);"string"==typeof Ve?function Le(ye,Ve,Oe){const Qe=ye[Ve];if(_e&&"function"!=typeof Qe)throw new Error(`${ye.constructor.name} is using untilDestroyed but doesn't implement ${Ve}`);a(ye,Oe),ye[Ve]=function(){Qe.apply(this,arguments),pt(this,Oe),ye[Ve]=Qe}}(ye,Ve,Qe):(_e&&function Xe(ye){const Ve=Object.getPrototypeOf(ye);if(!(q in Ve))throw new Error("untilDestroyed operator cannot be used inside directives or components or providers that are not decorated with UntilDestroy decorator")}(ye),a(ye,Qe));const be=ye[Qe];return _e&&function mt(ye,Ve){ye[V]||function rt(){return typeof __karma__<"u"&&!!__karma__||typeof jasmine<"u"&&!!jasmine||typeof jest<"u"&&!!jest||typeof Mocha<"u"&&!!Mocha||typeof process<"u"&&"[object process]"===Object.prototype.toString.call(process)}()||($t(()=>(0,b.H)(Promise.resolve()).pipe((0,G.Z)(()=>{let Oe;try{Oe=(0,k.xtB)(ye)}catch{Oe=null}const Qe=Oe?.lView;if(null==Qe)return T.w;const be=Qe[lt]||(Qe[lt]=[]),Me=new o.B;return be.push(function(){$t(()=>{Me.next(),Me.complete()})}),Me}),(0,G.Z)(()=>Promise.resolve())).subscribe(()=>{(Ve.observed??Ve.observers.length>0)&&console.warn(function de(ye){return`\n The ${ye.constructor.name} still has subscriptions that haven't been unsubscribed.\n This may happen if the class extends another class decorated with @UntilDestroy().\n The child class implements its own ngOnDestroy() method but doesn't call super.ngOnDestroy().\n Let's look at the following example:\n @UntilDestroy()\n @Directive()\n export abstract class BaseDirective {}\n @Component({ template: '' })\n export class ConcreteComponent extends BaseDirective implements OnDestroy {\n constructor() {\n super();\n someObservable$.pipe(untilDestroyed(this)).subscribe();\n }\n ngOnDestroy(): void {\n // Some logic here...\n }\n }\n The BaseDirective.ngOnDestroy() will not be called since Angular will call ngOnDestroy()\n on the ConcreteComponent, but not on the BaseDirective.\n One of the solutions is to declare an empty ngOnDestroy method on the BaseDirective:\n @UntilDestroy()\n @Directive()\n export abstract class BaseDirective {\n ngOnDestroy(): void {}\n }\n @Component({ template: '' })\n export class ConcreteComponent extends BaseDirective implements OnDestroy {\n constructor() {\n super();\n someObservable$.pipe(untilDestroyed(this)).subscribe();\n }\n ngOnDestroy(): void {\n // Some logic here...\n super.ngOnDestroy();\n }\n }\n `}(ye))})),ye[V]=!0)}(ye,be),Oe.pipe((0,P.Q)(be))}}},18724:(Ce,Lt,r)=>{function o(b,T,k,G,P,Z,N){try{var ot=b[Z](N),q=ot.value}catch(K){return void k(K)}ot.done?T(q):Promise.resolve(q).then(G,P)}function y(b){return function(){var T=this,k=arguments;return new Promise(function(G,P){var Z=b.apply(T,k);function N(q){o(Z,G,P,N,ot,"next",q)}function ot(q){o(Z,G,P,N,ot,"throw",q)}N(void 0)})}}r.d(Lt,{A:()=>y})},21406:(Ce,Lt,r)=>{r.d(Lt,{AQ:()=>lt,C6:()=>y,Cg:()=>k,Cl:()=>b,N3:()=>$,sH:()=>K,xN:()=>mt});var o=function(yt,Kt){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(Nt,Tt){Nt.__proto__=Tt}||function(Nt,Tt){for(var Yt in Tt)Object.prototype.hasOwnProperty.call(Tt,Yt)&&(Nt[Yt]=Tt[Yt])})(yt,Kt)};function y(yt,Kt){if("function"!=typeof Kt&&null!==Kt)throw new TypeError("Class extends value "+String(Kt)+" is not a constructor or null");function Nt(){this.constructor=yt}o(yt,Kt),yt.prototype=null===Kt?Object.create(Kt):(Nt.prototype=Kt.prototype,new Nt)}var b=function(){return b=Object.assign||function(Kt){for(var Nt,Tt=1,Yt=arguments.length;Tt=0;ke--)(Ne=yt[ke])&&(Ut=(Yt<3?Ne(Ut):Yt>3?Ne(Kt,Nt,Ut):Ne(Kt,Nt))||Ut);return Yt>3&&Ut&&Object.defineProperty(Kt,Nt,Ut),Ut}function K(yt,Kt,Nt,Tt){return new(Nt||(Nt=Promise))(function(Ut,Ne){function ke(le){try{gt(Tt.next(le))}catch(Vt){Ne(Vt)}}function un(le){try{gt(Tt.throw(le))}catch(Vt){Ne(Vt)}}function gt(le){le.done?Ut(le.value):function Yt(Ut){return Ut instanceof Nt?Ut:new Nt(function(Ne){Ne(Ut)})}(le.value).then(ke,un)}gt((Tt=Tt.apply(yt,Kt||[])).next())})}function $(yt){return this instanceof $?(this.v=yt,this):new $(yt)}function lt(yt,Kt,Nt){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var Yt,Tt=Nt.apply(yt,Kt||[]),Ut=[];return Yt=Object.create(("function"==typeof AsyncIterator?AsyncIterator:Object).prototype),ke("next"),ke("throw"),ke("return",function Ne(Qt){return function(Et){return Promise.resolve(Et).then(Qt,Vt)}}),Yt[Symbol.asyncIterator]=function(){return this},Yt;function ke(Qt,Et){Tt[Qt]&&(Yt[Qt]=function(re){return new Promise(function(Ee,ce){Ut.push([Qt,re,Ee,ce])>1||un(Qt,re)})},Et&&(Yt[Qt]=Et(Yt[Qt])))}function un(Qt,Et){try{!function gt(Qt){Qt.value instanceof $?Promise.resolve(Qt.value.v).then(le,Vt):oe(Ut[0][2],Qt)}(Tt[Qt](Et))}catch(re){oe(Ut[0][3],re)}}function le(Qt){un("next",Qt)}function Vt(Qt){un("throw",Qt)}function oe(Qt,Et){Qt(Et),Ut.shift(),Ut.length&&un(Ut[0][0],Ut[0][1])}}function mt(yt){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var Nt,Kt=yt[Symbol.asyncIterator];return Kt?Kt.call(yt):(yt=function j(yt){var Kt="function"==typeof Symbol&&Symbol.iterator,Nt=Kt&&yt[Kt],Tt=0;if(Nt)return Nt.call(yt);if(yt&&"number"==typeof yt.length)return{next:function(){return yt&&Tt>=yt.length&&(yt=void 0),{value:yt&&yt[Tt++],done:!yt}}};throw new TypeError(Kt?"Object is not iterable.":"Symbol.iterator is not defined.")}(yt),Nt={},Tt("next"),Tt("throw"),Tt("return"),Nt[Symbol.asyncIterator]=function(){return this},Nt);function Tt(Ut){Nt[Ut]=yt[Ut]&&function(Ne){return new Promise(function(ke,un){!function Yt(Ut,Ne,ke,un){Promise.resolve(un).then(function(gt){Ut({value:gt,done:ke})},Ne)}(ke,un,(Ne=yt[Ut](Ne)).done,Ne.value)})}}}"function"==typeof SuppressedError&&SuppressedError}},Ce=>{Ce(Ce.s=36279)}]); \ No newline at end of file diff --git a/dist/runtime.a3b9d0562d04d59d.js b/dist/runtime.96cdcc55757dc056.js similarity index 69% rename from dist/runtime.a3b9d0562d04d59d.js rename to dist/runtime.96cdcc55757dc056.js index 0c58fd82..3b951c05 100644 --- a/dist/runtime.a3b9d0562d04d59d.js +++ b/dist/runtime.96cdcc55757dc056.js @@ -1 +1 @@ -(()=>{"use strict";var e,_={},v={};function f(e){var d=v[e];if(void 0!==d)return d.exports;var a=v[e]={id:e,loaded:!1,exports:{}};return _[e].call(a.exports,a,a.exports,f),a.loaded=!0,a.exports}f.m=_,f.amdD=function(){throw new Error("define cannot be used indirect")},e=[],f.O=(d,a,r,b)=>{if(!a){var t=1/0;for(c=0;c=b)&&Object.keys(f.O).every(p=>f.O[p](a[n]))?a.splice(n--,1):(s=!1,b0&&e[c-1][2]>b;c--)e[c]=e[c-1];e[c]=[a,r,b]},f.n=e=>{var d=e&&e.__esModule?()=>e.default:()=>e;return f.d(d,{a:d}),d},(()=>{var d,e=Object.getPrototypeOf?a=>Object.getPrototypeOf(a):a=>a.__proto__;f.t=function(a,r){if(1&r&&(a=this(a)),8&r||"object"==typeof a&&a&&(4&r&&a.__esModule||16&r&&"function"==typeof a.then))return a;var b=Object.create(null);f.r(b);var c={};d=d||[null,e({}),e([]),e(e)];for(var t=2&r&&a;"object"==typeof t&&!~d.indexOf(t);t=e(t))Object.getOwnPropertyNames(t).forEach(s=>c[s]=()=>a[s]);return c.default=()=>a,f.d(b,c),b}})(),f.d=(e,d)=>{for(var a in d)f.o(d,a)&&!f.o(e,a)&&Object.defineProperty(e,a,{enumerable:!0,get:d[a]})},f.f={},f.e=e=>Promise.all(Object.keys(f.f).reduce((d,a)=>(f.f[a](e,d),d),[])),f.u=e=>(2076===e?"common":e)+"."+{214:"676648eec53f0ec7",399:"841dcb3c92cfff2e",485:"912e3e802f37c120",583:"e8891b7cc791de6f",669:"98f064f5a937aec8",796:"6988d10857687016",870:"bd2cd719f9ad1540",986:"15ef69176e0c7448",1068:"275a15c7ea3f54f5",1524:"0427308cbd09bc81",1643:"4893b3dc0dbd730c",1900:"a12604cdc6136544",2066:"01138641db2ae347",2076:"8add9df0f3c751ac",2262:"e1b1581ef5ffc005",2317:"87abf625347bbc67",2430:"f7d33b75ef0f9d4a",2564:"96bb51de0b3423bc",2661:"4723cda3623aa906",2967:"e5f225277a409e25",3101:"5b940d454995f053",3138:"04acce1458a7ef9a",3307:"e67abeb3c237b9b4",3392:"dfa5337deb7a37f5",3451:"68ce099758dfcefb",3492:"4563bbd0ec2cdd6f",3533:"91066031d8fe1453",3645:"8c6548ca9b1a641d",3649:"69c49f317f65f68e",3678:"b856ac5ef4971ffe",3685:"88541102f64bdb90",3695:"0215f99bd71a088d",3751:"23b0e86a0a4e6e9d",3756:"9f335ae0f5636fe2",3828:"d30a9d66224578e5",3956:"50bb85ac336f0f5e",4207:"6549a98040f7b707",4255:"ac57882452d90abb",4461:"3d5cd6d4513d76db",4588:"19f974787da3fe15",4673:"fb747af965cc59a0",4705:"2f5fb87d0c1e3592",5036:"9e5458a6279b6951",5201:"8f0dbf2bc1a2e854",5372:"3feb13c0050a8360",5453:"5e29b39d5d102b3b",5469:"98bf5af86094c49f",5624:"605e50332c22f7df",5629:"5e427cca66ca2ba1",5969:"b64292feb5bcfb3a",6214:"981118ca14b0d356",6242:"11c5b631cf93c664",6377:"a34e85c7dc59559c",6557:"e1e2097c6cf8f99e",6968:"c6af7114ccc40b36",6984:"2ab977c129d686c9",7058:"f66bee5fee6bbbcf",7067:"0bf0fc7ac44a8276",7129:"7c39d873d3b8d92e",7251:"ef64ccb7ad3ebfff",7252:"5c5b25226b515af8",7263:"b2c1b33aa6efae16",7303:"3621328ea8c0d850",7418:"4d59c7947daff731",7741:"b1494e07e5316066",7888:"47d1ba4b95b4aa71",8001:"df27a0963b4a3e68",8221:"7d29ff8933c706c8",8272:"a7ef6eaf1af75d7e",8328:"58d36ccb3a10d953",8337:"96252439a08a6a13",8497:"05b3e2db41552bec",8747:"4aa72a816a9e2b1a",8781:"08c7eef2edf7ad5e",8816:"7d97eea967c9810d",8859:"3b307639b11cdb16",9106:"7c66719d514008a6",9167:"9edee1862e426be4",9675:"5bc46c37954a8ea1",9841:"9c713cb73db35467"}[e]+".js",f.miniCssF=e=>{},f.o=(e,d)=>Object.prototype.hasOwnProperty.call(e,d),(()=>{var e={},d="df-admin-interface:";f.l=(a,r,b,c)=>{if(e[a])e[a].push(r);else{var t,s;if(void 0!==b)for(var n=document.getElementsByTagName("script"),o=0;o{t.onerror=t.onload=null,clearTimeout(l);var m=e[a];if(delete e[a],t.parentNode&&t.parentNode.removeChild(t),m&&m.forEach(h=>h(p)),g)return g(p)},l=setTimeout(u.bind(null,void 0,{type:"timeout",target:t}),12e4);t.onerror=u.bind(null,t.onerror),t.onload=u.bind(null,t.onload),s&&document.head.appendChild(t)}}})(),f.r=e=>{typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},f.nmd=e=>(e.paths=[],e.children||(e.children=[]),e),(()=>{var e;f.tt=()=>(void 0===e&&(e={createScriptURL:d=>d},typeof trustedTypes<"u"&&trustedTypes.createPolicy&&(e=trustedTypes.createPolicy("angular#bundler",e))),e)})(),f.tu=e=>f.tt().createScriptURL(e),f.p="",(()=>{var e={9121:0};f.f.j=(r,b)=>{var c=f.o(e,r)?e[r]:void 0;if(0!==c)if(c)b.push(c[2]);else if(9121!=r){var t=new Promise((i,u)=>c=e[r]=[i,u]);b.push(c[2]=t);var s=f.p+f.u(r),n=new Error;f.l(s,i=>{if(f.o(e,r)&&(0!==(c=e[r])&&(e[r]=void 0),c)){var u=i&&("load"===i.type?"missing":i.type),l=i&&i.target&&i.target.src;n.message="Loading chunk "+r+" failed.\n("+u+": "+l+")",n.name="ChunkLoadError",n.type=u,n.request=l,c[1](n)}},"chunk-"+r,r)}else e[r]=0},f.O.j=r=>0===e[r];var d=(r,b)=>{var n,o,[c,t,s]=b,i=0;if(c.some(l=>0!==e[l])){for(n in t)f.o(t,n)&&(f.m[n]=t[n]);if(s)var u=s(f)}for(r&&r(b);i{"use strict";var e,_={},v={};function f(e){var d=v[e];if(void 0!==d)return d.exports;var a=v[e]={id:e,loaded:!1,exports:{}};return _[e].call(a.exports,a,a.exports,f),a.loaded=!0,a.exports}f.m=_,f.amdD=function(){throw new Error("define cannot be used indirect")},e=[],f.O=(d,a,r,n)=>{if(!a){var t=1/0;for(c=0;c=n)&&Object.keys(f.O).every(p=>f.O[p](a[b]))?a.splice(b--,1):(s=!1,n0&&e[c-1][2]>n;c--)e[c]=e[c-1];e[c]=[a,r,n]},f.n=e=>{var d=e&&e.__esModule?()=>e.default:()=>e;return f.d(d,{a:d}),d},(()=>{var d,e=Object.getPrototypeOf?a=>Object.getPrototypeOf(a):a=>a.__proto__;f.t=function(a,r){if(1&r&&(a=this(a)),8&r||"object"==typeof a&&a&&(4&r&&a.__esModule||16&r&&"function"==typeof a.then))return a;var n=Object.create(null);f.r(n);var c={};d=d||[null,e({}),e([]),e(e)];for(var t=2&r&&a;"object"==typeof t&&!~d.indexOf(t);t=e(t))Object.getOwnPropertyNames(t).forEach(s=>c[s]=()=>a[s]);return c.default=()=>a,f.d(n,c),n}})(),f.d=(e,d)=>{for(var a in d)f.o(d,a)&&!f.o(e,a)&&Object.defineProperty(e,a,{enumerable:!0,get:d[a]})},f.f={},f.e=e=>Promise.all(Object.keys(f.f).reduce((d,a)=>(f.f[a](e,d),d),[])),f.u=e=>(2076===e?"common":e)+"."+{214:"676648eec53f0ec7",399:"841dcb3c92cfff2e",485:"912e3e802f37c120",583:"e8891b7cc791de6f",669:"98f064f5a937aec8",796:"6988d10857687016",870:"bd2cd719f9ad1540",986:"15ef69176e0c7448",1068:"275a15c7ea3f54f5",1524:"0427308cbd09bc81",1643:"4893b3dc0dbd730c",1900:"a12604cdc6136544",2066:"01138641db2ae347",2076:"8add9df0f3c751ac",2262:"e1b1581ef5ffc005",2317:"87abf625347bbc67",2430:"f7d33b75ef0f9d4a",2661:"4723cda3623aa906",2966:"b713aec47d3b11ab",2967:"e5f225277a409e25",3101:"5b940d454995f053",3138:"04acce1458a7ef9a",3307:"e67abeb3c237b9b4",3392:"dfa5337deb7a37f5",3451:"68ce099758dfcefb",3492:"4563bbd0ec2cdd6f",3533:"91066031d8fe1453",3645:"8c6548ca9b1a641d",3649:"69c49f317f65f68e",3678:"b856ac5ef4971ffe",3685:"88541102f64bdb90",3695:"0215f99bd71a088d",3751:"23b0e86a0a4e6e9d",3756:"9f335ae0f5636fe2",3828:"d30a9d66224578e5",3956:"50bb85ac336f0f5e",4207:"6549a98040f7b707",4255:"ac57882452d90abb",4461:"3d5cd6d4513d76db",4588:"19f974787da3fe15",4673:"fb747af965cc59a0",4705:"2f5fb87d0c1e3592",5036:"9e5458a6279b6951",5201:"8f0dbf2bc1a2e854",5372:"3feb13c0050a8360",5453:"5e29b39d5d102b3b",5469:"98bf5af86094c49f",5624:"605e50332c22f7df",5629:"5e427cca66ca2ba1",5969:"b64292feb5bcfb3a",6214:"981118ca14b0d356",6242:"11c5b631cf93c664",6377:"a34e85c7dc59559c",6557:"e1e2097c6cf8f99e",6968:"c6af7114ccc40b36",6984:"2ab977c129d686c9",7058:"f66bee5fee6bbbcf",7067:"0bf0fc7ac44a8276",7129:"7c39d873d3b8d92e",7251:"ef64ccb7ad3ebfff",7252:"5c5b25226b515af8",7263:"b2c1b33aa6efae16",7303:"3621328ea8c0d850",7418:"4d59c7947daff731",7741:"b1494e07e5316066",7888:"47d1ba4b95b4aa71",8001:"df27a0963b4a3e68",8221:"7d29ff8933c706c8",8272:"a7ef6eaf1af75d7e",8328:"58d36ccb3a10d953",8337:"96252439a08a6a13",8497:"05b3e2db41552bec",8747:"4aa72a816a9e2b1a",8781:"08c7eef2edf7ad5e",8816:"7d97eea967c9810d",8859:"3b307639b11cdb16",9106:"7c66719d514008a6",9167:"9edee1862e426be4",9675:"5bc46c37954a8ea1",9841:"9c713cb73db35467"}[e]+".js",f.miniCssF=e=>{},f.o=(e,d)=>Object.prototype.hasOwnProperty.call(e,d),(()=>{var e={},d="df-admin-interface:";f.l=(a,r,n,c)=>{if(e[a])e[a].push(r);else{var t,s;if(void 0!==n)for(var b=document.getElementsByTagName("script"),o=0;o{t.onerror=t.onload=null,clearTimeout(l);var m=e[a];if(delete e[a],t.parentNode&&t.parentNode.removeChild(t),m&&m.forEach(h=>h(p)),g)return g(p)},l=setTimeout(u.bind(null,void 0,{type:"timeout",target:t}),12e4);t.onerror=u.bind(null,t.onerror),t.onload=u.bind(null,t.onload),s&&document.head.appendChild(t)}}})(),f.r=e=>{typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},f.nmd=e=>(e.paths=[],e.children||(e.children=[]),e),(()=>{var e;f.tt=()=>(void 0===e&&(e={createScriptURL:d=>d},typeof trustedTypes<"u"&&trustedTypes.createPolicy&&(e=trustedTypes.createPolicy("angular#bundler",e))),e)})(),f.tu=e=>f.tt().createScriptURL(e),f.p="",(()=>{var e={9121:0};f.f.j=(r,n)=>{var c=f.o(e,r)?e[r]:void 0;if(0!==c)if(c)n.push(c[2]);else if(9121!=r){var t=new Promise((i,u)=>c=e[r]=[i,u]);n.push(c[2]=t);var s=f.p+f.u(r),b=new Error;f.l(s,i=>{if(f.o(e,r)&&(0!==(c=e[r])&&(e[r]=void 0),c)){var u=i&&("load"===i.type?"missing":i.type),l=i&&i.target&&i.target.src;b.message="Loading chunk "+r+" failed.\n("+u+": "+l+")",b.name="ChunkLoadError",b.type=u,b.request=l,c[1](b)}},"chunk-"+r,r)}else e[r]=0},f.O.j=r=>0===e[r];var d=(r,n)=>{var b,o,[c,t,s]=n,i=0;if(c.some(l=>0!==e[l])){for(b in t)f.o(t,b)&&(f.m[b]=t[b]);if(s)var u=s(f)}for(r&&r(n);i