import{$ as vt,$a as d,$b as fi,A as Li,Aa as ve,Ab as Jt,Ac as lo,B as vr,Ba as mi,Bb as h,Bc as Ad,C as _e,Ca as ji,Cb as f,Cc as Od,D as Qc,Da as T,Db as P,Dc as Fd,E as Wt,Ea as z,Eb as Fe,Ec as $i,F as _t,Fa as Ae,Fb as Pe,Fc as Tr,G as ls,Ga as od,Gb as At,Gc as hn,H as si,Ha as oo,Hb as ht,Hc as Pd,I as li,Ia as rd,Ib as ie,Ic as co,J as rn,Ja as Oe,Jb as H,Jc as Nd,K as cs,Ka as Rt,Kb as R,Kc as te,L as wt,La as ro,Lb as mt,Lc as Ld,M as Xc,Ma as yr,Mb as J,Mc as jd,N as Zc,Na as ln,Nb as bd,Nc as uo,O as Xe,Oa as cn,Ob as ct,Oc as Vd,P as ci,Pa as ad,Pb as rt,Pc as Rr,Q as di,Qa as sd,Qb as S,R as ds,Ra as ld,Rb as k,S as Kc,Sa as cd,Sb as Vt,Sc as ne,T as Jc,Ta as dd,Tb as D,Tc as zt,U as td,Ua as ud,Ub as Ct,Uc as ho,V as us,Va as hd,Vb as Yt,W as an,Wa as ce,Wb as _d,Wc as yt,X as Tt,Xa as md,Xb as vd,Xc as Pt,Y as Dt,Ya as fd,Yb as yd,Yc as Bt,Z,Za as ao,Zb as ot,Zc as mo,_ as ed,_a as g,_b as V,_c as fo,a as x,aa as gt,ab as dn,ac as Ne,b as It,ba as jt,bb as bt,bc as Ke,c as Uc,ca as w,cb as pd,cc as xd,d as $c,da as $,db as un,dc as wd,e as Wc,ea as id,eb as xr,ec as Cd,f as Gc,fa as C,fb as Vi,fc as Dr,g as Nt,ga as hs,gb as wr,gc as Er,h as xt,ha as b,hb as O,hc as Sr,i as qc,ia as _,ib as fs,ic as bs,j as Zt,ja as sn,jb as Et,jc as so,k as ss,ka as io,kb as ps,kc as Bi,l as to,la as no,lb as tt,lc as Id,m as N,ma as m,mb as lt,mc as kr,n as $t,na as j,nb as gd,nc as ft,o as be,oa as W,ob as gs,oc as Hi,p as Ft,pa as y,pb as Cr,pc as Dd,q as A,qa as ui,qb as F,qc as Ed,r as Ni,ra as nd,rb as nt,rc as M,s as nn,sa as hi,sb as E,sc as ye,t as Yc,ta as Me,tb as zi,tc as Sd,u as Re,ua as ut,ub as B,uc as kd,v as G,va as Q,vb as qt,vc as Ui,w as on,wa as X,wb as Ir,wc as Td,x as le,xa as Ze,xb as K,xc as Rd,y as eo,ya as ms,yb as de,yc as q,z as _r,za as St,zb as Kt,zc as Md}from"./chunk-VPE7ACHQ.js";var go=class{},bo=class{},Le=class n{constructor(t){this.normalizedNames=new Map,this.lazyUpdate=null,t?typeof t=="string"?this.lazyInit=()=>{this.headers=new Map,t.split(` `).forEach(r=>{let e=r.indexOf(":");if(e>0){let i=r.slice(0,e),o=i.toLowerCase(),a=r.slice(e+1).trim();this.maybeSetNormalizedName(i,o),this.headers.has(o)?this.headers.get(o).push(a):this.headers.set(o,[a])}})}:typeof Headers<"u"&&t instanceof Headers?(this.headers=new Map,t.forEach((r,e)=>{this.setHeaderEntries(e,r)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(t).forEach(([r,e])=>{this.setHeaderEntries(r,e)})}:this.headers=new Map}has(t){return this.init(),this.headers.has(t.toLowerCase())}get(t){this.init();let r=this.headers.get(t.toLowerCase());return r&&r.length>0?r[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(t){return this.init(),this.headers.get(t.toLowerCase())||null}append(t,r){return this.clone({name:t,value:r,op:"a"})}set(t,r){return this.clone({name:t,value:r,op:"s"})}delete(t,r){return this.clone({name:t,value:r,op:"d"})}maybeSetNormalizedName(t,r){this.normalizedNames.has(r)||this.normalizedNames.set(r,t)}init(){this.lazyInit&&(this.lazyInit instanceof n?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(t=>this.applyUpdate(t)),this.lazyUpdate=null))}copyFrom(t){t.init(),Array.from(t.headers.keys()).forEach(r=>{this.headers.set(r,t.headers.get(r)),this.normalizedNames.set(r,t.normalizedNames.get(r))})}clone(t){let r=new n;return r.lazyInit=this.lazyInit&&this.lazyInit instanceof n?this.lazyInit:this,r.lazyUpdate=(this.lazyUpdate||[]).concat([t]),r}applyUpdate(t){let r=t.name.toLowerCase();switch(t.op){case"a":case"s":let e=t.value;if(typeof e=="string"&&(e=[e]),e.length===0)return;this.maybeSetNormalizedName(t.name,r);let i=(t.op==="a"?this.headers.get(r):void 0)||[];i.push(...e),this.headers.set(r,i);break;case"d":let o=t.value;if(!o)this.headers.delete(r),this.normalizedNames.delete(r);else{let a=this.headers.get(r);if(!a)return;a=a.filter(s=>o.indexOf(s)===-1),a.length===0?(this.headers.delete(r),this.normalizedNames.delete(r)):this.headers.set(r,a)}break}}setHeaderEntries(t,r){let e=(Array.isArray(r)?r:[r]).map(o=>o.toString()),i=t.toLowerCase();this.headers.set(i,e),this.maybeSetNormalizedName(t,i)}forEach(t){this.init(),Array.from(this.normalizedNames.keys()).forEach(r=>t(this.normalizedNames.get(r),this.headers.get(r)))}};var ys=class{encodeKey(t){return zd(t)}encodeValue(t){return zd(t)}decodeKey(t){return decodeURIComponent(t)}decodeValue(t){return decodeURIComponent(t)}};function op(n,t){let r=new Map;return n.length>0&&n.replace(/^\?/,"").split("&").forEach(i=>{let o=i.indexOf("="),[a,s]=o==-1?[t.decodeKey(i),""]:[t.decodeKey(i.slice(0,o)),t.decodeValue(i.slice(o+1))],l=r.get(a)||[];l.push(s),r.set(a,l)}),r}var rp=/%(\d[a-f0-9])/gi,ap={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function zd(n){return encodeURIComponent(n).replace(rp,(t,r)=>ap[r]??t)}function Mr(n){return`${n}`}var ue=class n{constructor(t={}){if(this.updates=null,this.cloneFrom=null,this.encoder=t.encoder||new ys,t.fromString){if(t.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=op(t.fromString,this.encoder)}else t.fromObject?(this.map=new Map,Object.keys(t.fromObject).forEach(r=>{let e=t.fromObject[r],i=Array.isArray(e)?e.map(Mr):[Mr(e)];this.map.set(r,i)})):this.map=null}has(t){return this.init(),this.map.has(t)}get(t){this.init();let r=this.map.get(t);return r?r[0]:null}getAll(t){return this.init(),this.map.get(t)||null}keys(){return this.init(),Array.from(this.map.keys())}append(t,r){return this.clone({param:t,value:r,op:"a"})}appendAll(t){let r=[];return Object.keys(t).forEach(e=>{let i=t[e];Array.isArray(i)?i.forEach(o=>{r.push({param:e,value:o,op:"a"})}):r.push({param:e,value:i,op:"a"})}),this.clone(r)}set(t,r){return this.clone({param:t,value:r,op:"s"})}delete(t,r){return this.clone({param:t,value:r,op:"d"})}toString(){return this.init(),this.keys().map(t=>{let r=this.encoder.encodeKey(t);return this.map.get(t).map(e=>r+"="+this.encoder.encodeValue(e)).join("&")}).filter(t=>t!=="").join("&")}clone(t){let r=new n({encoder:this.encoder});return r.cloneFrom=this.cloneFrom||this,r.updates=(this.updates||[]).concat(t),r}init(){this.map===null&&(this.map=new Map),this.cloneFrom!==null&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(t=>this.map.set(t,this.cloneFrom.map.get(t))),this.updates.forEach(t=>{switch(t.op){case"a":case"s":let r=(t.op==="a"?this.map.get(t.param):void 0)||[];r.push(Mr(t.value)),this.map.set(t.param,r);break;case"d":if(t.value!==void 0){let e=this.map.get(t.param)||[],i=e.indexOf(Mr(t.value));i!==-1&&e.splice(i,1),e.length>0?this.map.set(t.param,e):this.map.delete(t.param)}else{this.map.delete(t.param);break}}}),this.cloneFrom=this.updates=null)}};var xs=class{constructor(){this.map=new Map}set(t,r){return this.map.set(t,r),this}get(t){return this.map.has(t)||this.map.set(t,t.defaultValue()),this.map.get(t)}delete(t){return this.map.delete(t),this}has(t){return this.map.has(t)}keys(){return this.map.keys()}};function sp(n){switch(n){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}function Bd(n){return typeof ArrayBuffer<"u"&&n instanceof ArrayBuffer}function Hd(n){return typeof Blob<"u"&&n instanceof Blob}function Ud(n){return typeof FormData<"u"&&n instanceof FormData}function lp(n){return typeof URLSearchParams<"u"&&n instanceof URLSearchParams}var po=class n{constructor(t,r,e,i){this.url=r,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=t.toUpperCase();let o;if(sp(this.method)||i?(this.body=e!==void 0?e:null,o=i):o=e,o&&(this.reportProgress=!!o.reportProgress,this.withCredentials=!!o.withCredentials,o.responseType&&(this.responseType=o.responseType),o.headers&&(this.headers=o.headers),o.context&&(this.context=o.context),o.params&&(this.params=o.params),this.transferCache=o.transferCache),this.headers??=new Le,this.context??=new xs,!this.params)this.params=new ue,this.urlWithParams=r;else{let a=this.params.toString();if(a.length===0)this.urlWithParams=r;else{let s=r.indexOf("?"),l=s===-1?"?":sv.set(I,t.setHeaders[I]),c)),t.setParams&&(u=Object.keys(t.setParams).reduce((v,I)=>v.set(I,t.setParams[I]),u)),new n(r,e,a,{params:u,headers:c,context:p,reportProgress:l,responseType:i,withCredentials:s,transferCache:o})}},gi=function(n){return n[n.Sent=0]="Sent",n[n.UploadProgress=1]="UploadProgress",n[n.ResponseHeader=2]="ResponseHeader",n[n.DownloadProgress=3]="DownloadProgress",n[n.Response=4]="Response",n[n.User=5]="User",n}(gi||{}),_o=class{constructor(t,r=vo.Ok,e="OK"){this.headers=t.headers||new Le,this.status=t.status!==void 0?t.status:r,this.statusText=t.statusText||e,this.url=t.url||null,this.ok=this.status>=200&&this.status<300}},Or=class n extends _o{constructor(t={}){super(t),this.type=gi.ResponseHeader}clone(t={}){return new n({headers:t.headers||this.headers,status:t.status!==void 0?t.status:this.status,statusText:t.statusText||this.statusText,url:t.url||this.url||void 0})}},Wi=class n extends _o{constructor(t={}){super(t),this.type=gi.Response,this.body=t.body!==void 0?t.body:null}clone(t={}){return new n({body:t.body!==void 0?t.body:this.body,headers:t.headers||this.headers,status:t.status!==void 0?t.status:this.status,statusText:t.statusText||this.statusText,url:t.url||this.url||void 0})}},pi=class extends _o{constructor(t){super(t,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.status>=200&&this.status<300?this.message=`Http failure during parsing for ${t.url||"(unknown url)"}`:this.message=`Http failure response for ${t.url||"(unknown url)"}: ${t.status} ${t.statusText}`,this.error=t.error||null}},vo=function(n){return n[n.Continue=100]="Continue",n[n.SwitchingProtocols=101]="SwitchingProtocols",n[n.Processing=102]="Processing",n[n.EarlyHints=103]="EarlyHints",n[n.Ok=200]="Ok",n[n.Created=201]="Created",n[n.Accepted=202]="Accepted",n[n.NonAuthoritativeInformation=203]="NonAuthoritativeInformation",n[n.NoContent=204]="NoContent",n[n.ResetContent=205]="ResetContent",n[n.PartialContent=206]="PartialContent",n[n.MultiStatus=207]="MultiStatus",n[n.AlreadyReported=208]="AlreadyReported",n[n.ImUsed=226]="ImUsed",n[n.MultipleChoices=300]="MultipleChoices",n[n.MovedPermanently=301]="MovedPermanently",n[n.Found=302]="Found",n[n.SeeOther=303]="SeeOther",n[n.NotModified=304]="NotModified",n[n.UseProxy=305]="UseProxy",n[n.Unused=306]="Unused",n[n.TemporaryRedirect=307]="TemporaryRedirect",n[n.PermanentRedirect=308]="PermanentRedirect",n[n.BadRequest=400]="BadRequest",n[n.Unauthorized=401]="Unauthorized",n[n.PaymentRequired=402]="PaymentRequired",n[n.Forbidden=403]="Forbidden",n[n.NotFound=404]="NotFound",n[n.MethodNotAllowed=405]="MethodNotAllowed",n[n.NotAcceptable=406]="NotAcceptable",n[n.ProxyAuthenticationRequired=407]="ProxyAuthenticationRequired",n[n.RequestTimeout=408]="RequestTimeout",n[n.Conflict=409]="Conflict",n[n.Gone=410]="Gone",n[n.LengthRequired=411]="LengthRequired",n[n.PreconditionFailed=412]="PreconditionFailed",n[n.PayloadTooLarge=413]="PayloadTooLarge",n[n.UriTooLong=414]="UriTooLong",n[n.UnsupportedMediaType=415]="UnsupportedMediaType",n[n.RangeNotSatisfiable=416]="RangeNotSatisfiable",n[n.ExpectationFailed=417]="ExpectationFailed",n[n.ImATeapot=418]="ImATeapot",n[n.MisdirectedRequest=421]="MisdirectedRequest",n[n.UnprocessableEntity=422]="UnprocessableEntity",n[n.Locked=423]="Locked",n[n.FailedDependency=424]="FailedDependency",n[n.TooEarly=425]="TooEarly",n[n.UpgradeRequired=426]="UpgradeRequired",n[n.PreconditionRequired=428]="PreconditionRequired",n[n.TooManyRequests=429]="TooManyRequests",n[n.RequestHeaderFieldsTooLarge=431]="RequestHeaderFieldsTooLarge",n[n.UnavailableForLegalReasons=451]="UnavailableForLegalReasons",n[n.InternalServerError=500]="InternalServerError",n[n.NotImplemented=501]="NotImplemented",n[n.BadGateway=502]="BadGateway",n[n.ServiceUnavailable=503]="ServiceUnavailable",n[n.GatewayTimeout=504]="GatewayTimeout",n[n.HttpVersionNotSupported=505]="HttpVersionNotSupported",n[n.VariantAlsoNegotiates=506]="VariantAlsoNegotiates",n[n.InsufficientStorage=507]="InsufficientStorage",n[n.LoopDetected=508]="LoopDetected",n[n.NotExtended=510]="NotExtended",n[n.NetworkAuthenticationRequired=511]="NetworkAuthenticationRequired",n}(vo||{});function _s(n,t){return{body:t,headers:n.headers,context:n.context,observe:n.observe,params:n.params,reportProgress:n.reportProgress,responseType:n.responseType,withCredentials:n.withCredentials,transferCache:n.transferCache}}var Ee=(()=>{let t=class t{constructor(e){this.handler=e}request(e,i,o={}){let a;if(e instanceof po)a=e;else{let c;o.headers instanceof Le?c=o.headers:c=new Le(o.headers);let u;o.params&&(o.params instanceof ue?u=o.params:u=new ue({fromObject:o.params})),a=new po(e,i,o.body!==void 0?o.body:null,{headers:c,context:o.context,params:u,reportProgress:o.reportProgress,responseType:o.responseType||"json",withCredentials:o.withCredentials,transferCache:o.transferCache})}let s=A(a).pipe(li(c=>this.handler.handle(c)));if(e instanceof po||o.observe==="events")return s;let l=s.pipe(_t(c=>c instanceof Wi));switch(o.observe||"body"){case"body":switch(a.responseType){case"arraybuffer":return l.pipe(G(c=>{if(c.body!==null&&!(c.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return c.body}));case"blob":return l.pipe(G(c=>{if(c.body!==null&&!(c.body instanceof Blob))throw new Error("Response is not a Blob.");return c.body}));case"text":return l.pipe(G(c=>{if(c.body!==null&&typeof c.body!="string")throw new Error("Response is not a string.");return c.body}));case"json":default:return l.pipe(G(c=>c.body))}case"response":return l;default:throw new Error(`Unreachable: unhandled observe type ${o.observe}}`)}}delete(e,i={}){return this.request("DELETE",e,i)}get(e,i={}){return this.request("GET",e,i)}head(e,i={}){return this.request("HEAD",e,i)}jsonp(e,i){return this.request("JSONP",e,{params:new ue().append(i,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(e,i={}){return this.request("OPTIONS",e,i)}patch(e,i,o={}){return this.request("PATCH",e,_s(o,i))}post(e,i,o={}){return this.request("POST",e,_s(o,i))}put(e,i,o={}){return this.request("PUT",e,_s(o,i))}};t.\u0275fac=function(i){return new(i||t)(b(go))},t.\u0275prov=w({token:t,factory:t.\u0275fac});let n=t;return n})(),cp=/^\)\]\}',?\n/,dp="X-Request-URL";function $d(n){if(n.url)return n.url;let t=dp.toLocaleLowerCase();return n.headers.get(t)}var vs=(()=>{let t=class t{constructor(){this.fetchImpl=_(ws,{optional:!0})?.fetch??fetch.bind(globalThis),this.ngZone=_(O)}handle(e){return new Zt(i=>{let o=new AbortController;return this.doRequest(e,o.signal,i).then(Cs,a=>i.error(new pi({error:a}))),()=>o.abort()})}doRequest(e,i,o){return Nt(this,null,function*(){let a=this.createRequestInit(e),s;try{let L=this.fetchImpl(e.urlWithParams,x({signal:i},a));up(L),o.next({type:gi.Sent}),s=yield L}catch(L){o.error(new pi({error:L,status:L.status??0,statusText:L.statusText,url:e.urlWithParams,headers:L.headers}));return}let l=new Le(s.headers),c=s.statusText,u=$d(s)??e.urlWithParams,p=s.status,v=null;if(e.reportProgress&&o.next(new Or({headers:l,status:p,statusText:c,url:u})),s.body){let L=s.headers.get("content-length"),et=[],U=s.body.getReader(),Y=0,Mt,ai,Ut=typeof Zone<"u"&&Zone.current;yield this.ngZone.runOutsideAngular(()=>Nt(this,null,function*(){for(;;){let{done:Pi,value:Jn}=yield U.read();if(Pi)break;if(et.push(Jn),Y+=Jn.length,e.reportProgress){ai=e.responseType==="text"?(ai??"")+(Mt??=new TextDecoder).decode(Jn,{stream:!0}):void 0;let Hc=()=>o.next({type:gi.DownloadProgress,total:L?+L:void 0,loaded:Y,partialText:ai});Ut?Ut.run(Hc):Hc()}}}));let Kn=this.concatChunks(et,Y);try{let Pi=s.headers.get("Content-Type")??"";v=this.parseBody(e,Kn,Pi)}catch(Pi){o.error(new pi({error:Pi,headers:new Le(s.headers),status:s.status,statusText:s.statusText,url:$d(s)??e.urlWithParams}));return}}p===0&&(p=v?vo.Ok:0),p>=200&&p<300?(o.next(new Wi({body:v,headers:l,status:p,statusText:c,url:u})),o.complete()):o.error(new pi({error:v,headers:l,status:p,statusText:c,url:u}))})}parseBody(e,i,o){switch(e.responseType){case"json":let a=new TextDecoder().decode(i).replace(cp,"");return a===""?null:JSON.parse(a);case"text":return new TextDecoder().decode(i);case"blob":return new Blob([i],{type:o});case"arraybuffer":return i.buffer}}createRequestInit(e){let i={},o=e.withCredentials?"include":void 0;if(e.headers.forEach((a,s)=>i[a]=s.join(",")),i.Accept??="application/json, text/plain, */*",!i["Content-Type"]){let a=e.detectContentTypeHeader();a!==null&&(i["Content-Type"]=a)}return{body:e.serializeBody(),method:e.method,headers:i,credentials:o}}concatChunks(e,i){let o=new Uint8Array(i),a=0;for(let s of e)o.set(s,a),a+=s.length;return o}};t.\u0275fac=function(i){return new(i||t)},t.\u0275prov=w({token:t,factory:t.\u0275fac});let n=t;return n})(),ws=class{};function Cs(){}function up(n){n.then(Cs,Cs)}function hp(n,t){return t(n)}function mp(n,t,r){return(e,i)=>Me(r,()=>t(e,o=>n(o,i)))}var tu=new C(""),eu=new C(""),iu=new C(""),nu=new C("");var Wd=(()=>{let t=class t extends go{constructor(e,i){super(),this.backend=e,this.injector=i,this.chain=null,this.pendingTasks=_(Cr);let o=_(nu,{optional:!0});this.backend=o??e}handle(e){if(this.chain===null){let o=Array.from(new Set([...this.injector.get(eu),...this.injector.get(iu,[])]));this.chain=o.reduceRight((a,s)=>mp(a,s,this.injector),hp)}let i=this.pendingTasks.add();return this.chain(e,o=>this.backend.handle(o)).pipe(ci(()=>this.pendingTasks.remove(i)))}};t.\u0275fac=function(i){return new(i||t)(b(bo),b(hi))},t.\u0275prov=w({token:t,factory:t.\u0275fac});let n=t;return n})();var fp=/^\)\]\}',?\n/;function pp(n){return"responseURL"in n&&n.responseURL?n.responseURL:/^X-Request-URL:/m.test(n.getAllResponseHeaders())?n.getResponseHeader("X-Request-URL"):null}var Gd=(()=>{let t=class t{constructor(e){this.xhrFactory=e}handle(e){if(e.method==="JSONP")throw new gt(-2800,!1);let i=this.xhrFactory;return(i.\u0275loadImpl?Ft(i.\u0275loadImpl()):A(null)).pipe(Dt(()=>new Zt(a=>{let s=i.build();if(s.open(e.method,e.urlWithParams),e.withCredentials&&(s.withCredentials=!0),e.headers.forEach((U,Y)=>s.setRequestHeader(U,Y.join(","))),e.headers.has("Accept")||s.setRequestHeader("Accept","application/json, text/plain, */*"),!e.headers.has("Content-Type")){let U=e.detectContentTypeHeader();U!==null&&s.setRequestHeader("Content-Type",U)}if(e.responseType){let U=e.responseType.toLowerCase();s.responseType=U!=="json"?U:"text"}let l=e.serializeBody(),c=null,u=()=>{if(c!==null)return c;let U=s.statusText||"OK",Y=new Le(s.getAllResponseHeaders()),Mt=pp(s)||e.url;return c=new Or({headers:Y,status:s.status,statusText:U,url:Mt}),c},p=()=>{let{headers:U,status:Y,statusText:Mt,url:ai}=u(),Ut=null;Y!==vo.NoContent&&(Ut=typeof s.response>"u"?s.responseText:s.response),Y===0&&(Y=Ut?vo.Ok:0);let Kn=Y>=200&&Y<300;if(e.responseType==="json"&&typeof Ut=="string"){let Pi=Ut;Ut=Ut.replace(fp,"");try{Ut=Ut!==""?JSON.parse(Ut):null}catch(Jn){Ut=Pi,Kn&&(Kn=!1,Ut={error:Jn,text:Ut})}}Kn?(a.next(new Wi({body:Ut,headers:U,status:Y,statusText:Mt,url:ai||void 0})),a.complete()):a.error(new pi({error:Ut,headers:U,status:Y,statusText:Mt,url:ai||void 0}))},v=U=>{let{url:Y}=u(),Mt=new pi({error:U,status:s.status||0,statusText:s.statusText||"Unknown Error",url:Y||void 0});a.error(Mt)},I=!1,L=U=>{I||(a.next(u()),I=!0);let Y={type:gi.DownloadProgress,loaded:U.loaded};U.lengthComputable&&(Y.total=U.total),e.responseType==="text"&&s.responseText&&(Y.partialText=s.responseText),a.next(Y)},et=U=>{let Y={type:gi.UploadProgress,loaded:U.loaded};U.lengthComputable&&(Y.total=U.total),a.next(Y)};return s.addEventListener("load",p),s.addEventListener("error",v),s.addEventListener("timeout",v),s.addEventListener("abort",v),e.reportProgress&&(s.addEventListener("progress",L),l!==null&&s.upload&&s.upload.addEventListener("progress",et)),s.send(l),a.next({type:gi.Sent}),()=>{s.removeEventListener("error",v),s.removeEventListener("abort",v),s.removeEventListener("load",p),s.removeEventListener("timeout",v),e.reportProgress&&(s.removeEventListener("progress",L),l!==null&&s.upload&&s.upload.removeEventListener("progress",et)),s.readyState!==s.DONE&&s.abort()}})))}};t.\u0275fac=function(i){return new(i||t)(b(Rr))},t.\u0275prov=w({token:t,factory:t.\u0275fac});let n=t;return n})(),ou=new C(""),gp="XSRF-TOKEN",bp=new C("",{providedIn:"root",factory:()=>gp}),_p="X-XSRF-TOKEN",vp=new C("",{providedIn:"root",factory:()=>_p}),Fr=class{},yp=(()=>{let t=class t{constructor(e,i,o){this.doc=e,this.platform=i,this.cookieName=o,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if(this.platform==="server")return null;let e=this.doc.cookie||"";return e!==this.lastCookieString&&(this.parseCount++,this.lastToken=Tr(e,this.cookieName),this.lastCookieString=e),this.lastToken}};t.\u0275fac=function(i){return new(i||t)(b(q),b(Oe),b(bp))},t.\u0275prov=w({token:t,factory:t.\u0275fac});let n=t;return n})();function xp(n,t){let r=n.url.toLowerCase();if(!_(ou)||n.method==="GET"||n.method==="HEAD"||r.startsWith("http://")||r.startsWith("https://"))return t(n);let e=_(Fr).getToken(),i=_(vp);return e!=null&&!n.headers.has(i)&&(n=n.clone({headers:n.headers.set(i,e)})),t(n)}var ru=function(n){return n[n.Interceptors=0]="Interceptors",n[n.LegacyInterceptors=1]="LegacyInterceptors",n[n.CustomXsrfConfiguration=2]="CustomXsrfConfiguration",n[n.NoXsrfProtection=3]="NoXsrfProtection",n[n.JsonpSupport=4]="JsonpSupport",n[n.RequestsMadeViaParent=5]="RequestsMadeViaParent",n[n.Fetch=6]="Fetch",n}(ru||{});function wp(n,t){return{\u0275kind:n,\u0275providers:t}}function au(...n){let t=[Ee,Gd,Wd,{provide:go,useExisting:Wd},{provide:bo,useExisting:Gd},{provide:eu,useValue:xp,multi:!0},{provide:ou,useValue:!0},{provide:Fr,useClass:yp}];for(let r of n)t.push(...r.\u0275providers);return ui(t)}function su(){return wp(ru.Fetch,[vs,{provide:bo,useExisting:vs},{provide:nu,useExisting:vs}])}var qd="b",Yd="h",Qd="s",Xd="st",Zd="u",Kd="rt",Ar=new C(""),Cp=["GET","HEAD"];function Ip(n,t){let p=_(Ar),{isCacheActive:r}=p,e=Uc(p,["isCacheActive"]),{transferCache:i,method:o}=n;if(!r||o==="POST"&&!e.includePostRequests&&!i||o!=="POST"&&!Cp.includes(o)||i===!1||e.filter?.(n)===!1)return t(n);let a=_(yr),s=Ep(n),l=a.get(s,null),c=e.includeHeaders;if(typeof i=="object"&&i.includeHeaders&&(c=i.includeHeaders),l){let{[qd]:v,[Kd]:I,[Yd]:L,[Qd]:et,[Xd]:U,[Zd]:Y}=l,Mt=v;switch(I){case"arraybuffer":Mt=new TextEncoder().encode(v).buffer;break;case"blob":Mt=new Blob([v]);break}let ai=new Le(L);return A(new Wi({body:Mt,headers:ai,status:et,statusText:U,url:Y}))}let u=uo(_(Oe));return t(n).pipe(vt(v=>{v instanceof Wi&&u&&a.set(s,{[qd]:v.body,[Yd]:Dp(v.headers,c),[Qd]:v.status,[Xd]:v.statusText,[Zd]:v.url||"",[Kd]:n.responseType})}))}function Dp(n,t){if(!t)return{};let r={};for(let e of t){let i=n.getAll(e);i!==null&&(r[e]=i)}return r}function Jd(n){return[...n.keys()].sort().map(t=>`${t}=${n.getAll(t)}`).join("&")}function Ep(n){let{params:t,method:r,responseType:e,url:i}=n,o=Jd(t),a=n.serializeBody();a instanceof URLSearchParams?a=Jd(a):typeof a!="string"&&(a="");let s=[r,e,i,a,o].join("|"),l=Sp(s);return l}function Sp(n){let t=0;for(let r of n)t=Math.imul(31,t)+r.charCodeAt(0)<<0;return t+=2147483648,t.toString()}function lu(n){return[{provide:Ar,useFactory:()=>(wr("NgHttpTransferCache"),x({isCacheActive:!0},n))},{provide:iu,useValue:Ip,multi:!0,deps:[yr,Ar]},{provide:so,multi:!0,useFactory:()=>{let t=_(Bi),r=_(Ar);return()=>{Id(t).then(()=>{r.isCacheActive=!1})}}}]}var Ss=class extends Rd{constructor(){super(...arguments),this.supportsDOMEvents=!0}},ks=class n extends Ss{static makeCurrent(){Td(new n)}onAndCancel(t,r,e){return t.addEventListener(r,e),()=>{t.removeEventListener(r,e)}}dispatchEvent(t,r){t.dispatchEvent(r)}remove(t){t.parentNode&&t.parentNode.removeChild(t)}createElement(t,r){return r=r||this.getDefaultDocument(),r.createElement(t)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(t){return t.nodeType===Node.ELEMENT_NODE}isShadowRoot(t){return t instanceof DocumentFragment}getGlobalEventTarget(t,r){return r==="window"?window:r==="document"?t:r==="body"?t.body:null}getBaseHref(t){let r=Tp();return r==null?null:Rp(r)}resetBaseElement(){xo=null}getUserAgent(){return window.navigator.userAgent}getCookie(t){return Tr(document.cookie,t)}},xo=null;function Tp(){return xo=xo||document.querySelector("base"),xo?xo.getAttribute("href"):null}function Rp(n){return new URL(n,document.baseURI).pathname}var Mp=(()=>{let t=class t{build(){return new XMLHttpRequest}};t.\u0275fac=function(i){return new(i||t)},t.\u0275prov=w({token:t,factory:t.\u0275fac});let n=t;return n})(),Ts=new C(""),uu=(()=>{let t=class t{constructor(e,i){this._zone=i,this._eventNameToPlugin=new Map,e.forEach(o=>{o.manager=this}),this._plugins=e.slice().reverse()}addEventListener(e,i,o){return this._findPluginFor(i).addEventListener(e,i,o)}getZone(){return this._zone}_findPluginFor(e){let i=this._eventNameToPlugin.get(e);if(i)return i;if(i=this._plugins.find(a=>a.supports(e)),!i)throw new gt(5101,!1);return this._eventNameToPlugin.set(e,i),i}};t.\u0275fac=function(i){return new(i||t)(b(Ts),b(O))},t.\u0275prov=w({token:t,factory:t.\u0275fac});let n=t;return n})(),Pr=class{constructor(t){this._doc=t}},Ds="ng-app-id",hu=(()=>{let t=class t{constructor(e,i,o,a={}){this.doc=e,this.appId=i,this.nonce=o,this.platformId=a,this.styleRef=new Map,this.hostNodes=new Set,this.styleNodesInDOM=this.collectServerRenderedStyles(),this.platformIsServer=uo(a),this.resetHostNodes()}addStyles(e){for(let i of e)this.changeUsageCount(i,1)===1&&this.onStyleAdded(i)}removeStyles(e){for(let i of e)this.changeUsageCount(i,-1)<=0&&this.onStyleRemoved(i)}ngOnDestroy(){let e=this.styleNodesInDOM;e&&(e.forEach(i=>i.remove()),e.clear());for(let i of this.getAllStyles())this.onStyleRemoved(i);this.resetHostNodes()}addHost(e){this.hostNodes.add(e);for(let i of this.getAllStyles())this.addStyleToHost(e,i)}removeHost(e){this.hostNodes.delete(e)}getAllStyles(){return this.styleRef.keys()}onStyleAdded(e){for(let i of this.hostNodes)this.addStyleToHost(i,e)}onStyleRemoved(e){let i=this.styleRef;i.get(e)?.elements?.forEach(o=>o.remove()),i.delete(e)}collectServerRenderedStyles(){let e=this.doc.head?.querySelectorAll(`style[${Ds}="${this.appId}"]`);if(e?.length){let i=new Map;return e.forEach(o=>{o.textContent!=null&&i.set(o.textContent,o)}),i}return null}changeUsageCount(e,i){let o=this.styleRef;if(o.has(e)){let a=o.get(e);return a.usage+=i,a.usage}return o.set(e,{usage:i,elements:[]}),i}getStyleElement(e,i){let o=this.styleNodesInDOM,a=o?.get(i);if(a?.parentNode===e)return o.delete(i),a.removeAttribute(Ds),a;{let s=this.doc.createElement("style");return this.nonce&&s.setAttribute("nonce",this.nonce),s.textContent=i,this.platformIsServer&&s.setAttribute(Ds,this.appId),e.appendChild(s),s}}addStyleToHost(e,i){let o=this.getStyleElement(e,i),a=this.styleRef,s=a.get(i)?.elements;s?s.push(o):a.set(i,{elements:[o],usage:1})}resetHostNodes(){let e=this.hostNodes;e.clear(),e.add(this.doc.head)}};t.\u0275fac=function(i){return new(i||t)(b(q),b(oo),b(ro,8),b(Oe))},t.\u0275prov=w({token:t,factory:t.\u0275fac});let n=t;return n})(),Es={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/"},Os=/%COMP%/g,mu="%COMP%",Ap=`_nghost-${mu}`,Op=`_ngcontent-${mu}`,Fp=!0,Pp=new C("",{providedIn:"root",factory:()=>Fp});function Np(n){return Op.replace(Os,n)}function Lp(n){return Ap.replace(Os,n)}function fu(n,t){return t.map(r=>r.replace(Os,n))}var Nr=(()=>{let t=class t{constructor(e,i,o,a,s,l,c,u=null){this.eventManager=e,this.sharedStylesHost=i,this.appId=o,this.removeStylesOnCompDestroy=a,this.doc=s,this.platformId=l,this.ngZone=c,this.nonce=u,this.rendererByCompId=new Map,this.platformIsServer=uo(l),this.defaultRenderer=new wo(e,s,c,this.platformIsServer)}createRenderer(e,i){if(!e||!i)return this.defaultRenderer;this.platformIsServer&&i.encapsulation===no.ShadowDom&&(i=It(x({},i),{encapsulation:no.Emulated}));let o=this.getOrCreateRenderer(e,i);return o instanceof Lr?o.applyToHost(e):o instanceof Co&&o.applyStyles(),o}getOrCreateRenderer(e,i){let o=this.rendererByCompId,a=o.get(i.id);if(!a){let s=this.doc,l=this.ngZone,c=this.eventManager,u=this.sharedStylesHost,p=this.removeStylesOnCompDestroy,v=this.platformIsServer;switch(i.encapsulation){case no.Emulated:a=new Lr(c,u,i,this.appId,p,s,l,v);break;case no.ShadowDom:return new Rs(c,u,e,i,s,l,this.nonce,v);default:a=new Co(c,u,i,p,s,l,v);break}o.set(i.id,a)}return a}ngOnDestroy(){this.rendererByCompId.clear()}};t.\u0275fac=function(i){return new(i||t)(b(uu),b(hu),b(oo),b(Pp),b(q),b(Oe),b(O),b(ro))},t.\u0275prov=w({token:t,factory:t.\u0275fac});let n=t;return n})(),wo=class{constructor(t,r,e,i){this.eventManager=t,this.doc=r,this.ngZone=e,this.platformIsServer=i,this.data=Object.create(null),this.throwOnSyntheticProps=!0,this.destroyNode=null}destroy(){}createElement(t,r){return r?this.doc.createElementNS(Es[r]||r,t):this.doc.createElement(t)}createComment(t){return this.doc.createComment(t)}createText(t){return this.doc.createTextNode(t)}appendChild(t,r){(cu(t)?t.content:t).appendChild(r)}insertBefore(t,r,e){t&&(cu(t)?t.content:t).insertBefore(r,e)}removeChild(t,r){t&&t.removeChild(r)}selectRootElement(t,r){let e=typeof t=="string"?this.doc.querySelector(t):t;if(!e)throw new gt(-5104,!1);return r||(e.textContent=""),e}parentNode(t){return t.parentNode}nextSibling(t){return t.nextSibling}setAttribute(t,r,e,i){if(i){r=i+":"+r;let o=Es[i];o?t.setAttributeNS(o,r,e):t.setAttribute(r,e)}else t.setAttribute(r,e)}removeAttribute(t,r,e){if(e){let i=Es[e];i?t.removeAttributeNS(i,r):t.removeAttribute(`${e}:${r}`)}else t.removeAttribute(r)}addClass(t,r){t.classList.add(r)}removeClass(t,r){t.classList.remove(r)}setStyle(t,r,e,i){i&(ao.DashCase|ao.Important)?t.style.setProperty(r,e,i&ao.Important?"important":""):t.style[r]=e}removeStyle(t,r,e){e&ao.DashCase?t.style.removeProperty(r):t.style[r]=""}setProperty(t,r,e){t!=null&&(t[r]=e)}setValue(t,r){t.nodeValue=r}listen(t,r,e){if(typeof t=="string"&&(t=Ui().getGlobalEventTarget(this.doc,t),!t))throw new Error(`Unsupported event target ${t} for event ${r}`);return this.eventManager.addEventListener(t,r,this.decoratePreventDefault(e))}decoratePreventDefault(t){return r=>{if(r==="__ngUnwrap__")return t;(this.platformIsServer?this.ngZone.runGuarded(()=>t(r)):t(r))===!1&&r.preventDefault()}}};function cu(n){return n.tagName==="TEMPLATE"&&n.content!==void 0}var Rs=class extends wo{constructor(t,r,e,i,o,a,s,l){super(t,o,a,l),this.sharedStylesHost=r,this.hostEl=e,this.shadowRoot=e.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);let c=fu(i.id,i.styles);for(let u of c){let p=document.createElement("style");s&&p.setAttribute("nonce",s),p.textContent=u,this.shadowRoot.appendChild(p)}}nodeOrShadowRoot(t){return t===this.hostEl?this.shadowRoot:t}appendChild(t,r){return super.appendChild(this.nodeOrShadowRoot(t),r)}insertBefore(t,r,e){return super.insertBefore(this.nodeOrShadowRoot(t),r,e)}removeChild(t,r){return super.removeChild(this.nodeOrShadowRoot(t),r)}parentNode(t){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(t)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}},Co=class extends wo{constructor(t,r,e,i,o,a,s,l){super(t,o,a,s),this.sharedStylesHost=r,this.removeStylesOnCompDestroy=i,this.styles=l?fu(l,e.styles):e.styles}applyStyles(){this.sharedStylesHost.addStyles(this.styles)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles)}},Lr=class extends Co{constructor(t,r,e,i,o,a,s,l){let c=i+"-"+e.id;super(t,r,e,o,a,s,l,c),this.contentAttr=Np(c),this.hostAttr=Lp(c)}applyToHost(t){this.applyStyles(),this.setAttribute(t,this.hostAttr,"")}createElement(t,r){let e=super.createElement(t,r);return super.setAttribute(e,this.contentAttr,""),e}},jp=(()=>{let t=class t extends Pr{constructor(e){super(e)}supports(e){return!0}addEventListener(e,i,o){return e.addEventListener(i,o,!1),()=>this.removeEventListener(e,i,o)}removeEventListener(e,i,o){return e.removeEventListener(i,o)}};t.\u0275fac=function(i){return new(i||t)(b(q))},t.\u0275prov=w({token:t,factory:t.\u0275fac});let n=t;return n})(),du=["alt","control","meta","shift"],Vp={"\b":"Backspace"," ":"Tab","\x7F":"Delete","\x1B":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},zp={alt:n=>n.altKey,control:n=>n.ctrlKey,meta:n=>n.metaKey,shift:n=>n.shiftKey},Bp=(()=>{let t=class t extends Pr{constructor(e){super(e)}supports(e){return t.parseEventName(e)!=null}addEventListener(e,i,o){let a=t.parseEventName(i),s=t.eventCallback(a.fullKey,o,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>Ui().onAndCancel(e,a.domEventName,s))}static parseEventName(e){let i=e.toLowerCase().split("."),o=i.shift();if(i.length===0||!(o==="keydown"||o==="keyup"))return null;let a=t._normalizeKey(i.pop()),s="",l=i.indexOf("code");if(l>-1&&(i.splice(l,1),s="code."),du.forEach(u=>{let p=i.indexOf(u);p>-1&&(i.splice(p,1),s+=u+".")}),s+=a,i.length!=0||a.length===0)return null;let c={};return c.domEventName=o,c.fullKey=s,c}static matchEventFullKeyCode(e,i){let o=Vp[e.key]||e.key,a="";return i.indexOf("code.")>-1&&(o=e.code,a="code."),o==null||!o?!1:(o=o.toLowerCase(),o===" "?o="space":o==="."&&(o="dot"),du.forEach(s=>{if(s!==o){let l=zp[s];l(e)&&(a+=s+".")}}),a+=o,a===i)}static eventCallback(e,i,o){return a=>{t.matchEventFullKeyCode(a,e)&&o.runGuarded(()=>i(a))}}static _normalizeKey(e){return e==="esc"?"escape":e}};t.\u0275fac=function(i){return new(i||t)(b(q))},t.\u0275prov=w({token:t,factory:t.\u0275fac});let n=t;return n})();function pu(n,t){return Dd(x({rootComponent:n},Hp(t)))}function Hp(n){return{appProviders:[...qp,...n?.providers??[]],platformProviders:Gp}}function Up(){ks.makeCurrent()}function $p(){return new ji}function Wp(){return od(document),document}var Gp=[{provide:Oe,useValue:Ld},{provide:rd,useValue:Up,multi:!0},{provide:q,useFactory:Wp,deps:[]}];var qp=[{provide:nd,useValue:"root"},{provide:ji,useFactory:$p,deps:[]},{provide:Ts,useClass:jp,multi:!0,deps:[q,O,Oe]},{provide:Ts,useClass:Bp,multi:!0,deps:[q]},Nr,hu,uu,{provide:xr,useExisting:Nr},{provide:Rr,useClass:Mp,deps:[]},[]];var gu=(()=>{let t=class t{constructor(e){this._doc=e,this._dom=Ui()}addTag(e,i=!1){return e?this._getOrCreateElement(e,i):null}addTags(e,i=!1){return e?e.reduce((o,a)=>(a&&o.push(this._getOrCreateElement(a,i)),o),[]):[]}getTag(e){return e&&this._doc.querySelector(`meta[${e}]`)||null}getTags(e){if(!e)return[];let i=this._doc.querySelectorAll(`meta[${e}]`);return i?[].slice.call(i):[]}updateTag(e,i){if(!e)return null;i=i||this._parseSelector(e);let o=this.getTag(i);return o?this._setMetaElementAttributes(e,o):this._getOrCreateElement(e,!0)}removeTag(e){this.removeTagElement(this.getTag(e))}removeTagElement(e){e&&this._dom.remove(e)}_getOrCreateElement(e,i=!1){if(!i){let s=this._parseSelector(e),l=this.getTags(s).filter(c=>this._containsAttributes(e,c))[0];if(l!==void 0)return l}let o=this._dom.createElement("meta");return this._setMetaElementAttributes(e,o),this._doc.getElementsByTagName("head")[0].appendChild(o),o}_setMetaElementAttributes(e,i){return Object.keys(e).forEach(o=>i.setAttribute(this._getMetaKeyMap(o),e[o])),i}_parseSelector(e){let i=e.name?"name":"property";return`${i}="${e[i]}"`}_containsAttributes(e,i){return Object.keys(e).every(o=>i.getAttribute(this._getMetaKeyMap(o))===e[o])}_getMetaKeyMap(e){return Yp[e]||e}};t.\u0275fac=function(i){return new(i||t)(b(q))},t.\u0275prov=w({token:t,factory:t.\u0275fac,providedIn:"root"});let n=t;return n})(),Yp={httpEquiv:"http-equiv"},bu=(()=>{let t=class t{constructor(e){this._doc=e}getTitle(){return this._doc.title}setTitle(e){this._doc.title=e||""}};t.\u0275fac=function(i){return new(i||t)(b(q))},t.\u0275prov=w({token:t,factory:t.\u0275fac,providedIn:"root"});let n=t;return n})();var Fs=(()=>{let t=class t{};t.\u0275fac=function(i){return new(i||t)},t.\u0275prov=w({token:t,factory:function(i){let o=null;return i?o=new(i||t):o=b(Qp),o},providedIn:"root"});let n=t;return n})(),Qp=(()=>{let t=class t extends Fs{constructor(e){super(),this._doc=e}sanitize(e,i){if(i==null)return null;switch(e){case ce.NONE:return i;case ce.HTML:return cn(i,"HTML")?ln(i):hd(this._doc,String(i)).toString();case ce.STYLE:return cn(i,"Style")?ln(i):i;case ce.SCRIPT:if(cn(i,"Script"))return ln(i);throw new gt(5200,!1);case ce.URL:return cn(i,"URL")?ln(i):ud(String(i));case ce.RESOURCE_URL:if(cn(i,"ResourceURL"))return ln(i);throw new gt(5201,!1);default:throw new gt(5202,!1)}}bypassSecurityTrustHtml(e){return ad(e)}bypassSecurityTrustStyle(e){return sd(e)}bypassSecurityTrustScript(e){return ld(e)}bypassSecurityTrustUrl(e){return cd(e)}bypassSecurityTrustResourceUrl(e){return dd(e)}};t.\u0275fac=function(i){return new(i||t)(b(q))},t.\u0275prov=w({token:t,factory:t.\u0275fac,providedIn:"root"});let n=t;return n})(),Ms=function(n){return n[n.NoHttpTransferCache=0]="NoHttpTransferCache",n[n.HttpTransferCacheOptions=1]="HttpTransferCacheOptions",n}(Ms||{});function _u(...n){let t=[],r=new Set,e=r.has(Ms.HttpTransferCacheOptions);for(let{\u0275providers:i,\u0275kind:o}of n)r.add(o),i.length&&t.push(i);return ui([[],Ed(),r.has(Ms.NoHttpTransferCache)||e?[]:lu({}),t])}var st="primary",Vo=Symbol("RouteTitle"),Vs=class{constructor(t){this.params=t||{}}has(t){return Object.prototype.hasOwnProperty.call(this.params,t)}get(t){if(this.has(t)){let r=this.params[t];return Array.isArray(r)?r[0]:r}return null}getAll(t){if(this.has(t)){let r=this.params[t];return Array.isArray(r)?r:[r]}return[]}get keys(){return Object.keys(this.params)}};function bn(n){return new Vs(n)}function Xp(n,t,r){let e=r.path.split("/");if(e.length>n.length||r.pathMatch==="full"&&(t.hasChildren()||e.lengthe[o]===i)}else return n===t}function Tu(n){return n.length>0?n[n.length-1]:null}function xi(n){return nn(n)?n:Sr(n)?Ft(Promise.resolve(n)):A(n)}var Kp={exact:Mu,subset:Au},Ru={exact:Jp,subset:tg,ignored:()=>!0};function yu(n,t,r){return Kp[r.paths](n.root,t.root,r.matrixParams)&&Ru[r.queryParams](n.queryParams,t.queryParams)&&!(r.fragment==="exact"&&n.fragment!==t.fragment)}function Jp(n,t){return je(n,t)}function Mu(n,t,r){if(!qi(n.segments,t.segments)||!zr(n.segments,t.segments,r)||n.numberOfChildren!==t.numberOfChildren)return!1;for(let e in t.children)if(!n.children[e]||!Mu(n.children[e],t.children[e],r))return!1;return!0}function tg(n,t){return Object.keys(t).length<=Object.keys(n).length&&Object.keys(t).every(r=>ku(n[r],t[r]))}function Au(n,t,r){return Ou(n,t,t.segments,r)}function Ou(n,t,r,e){if(n.segments.length>r.length){let i=n.segments.slice(0,r.length);return!(!qi(i,r)||t.hasChildren()||!zr(i,r,e))}else if(n.segments.length===r.length){if(!qi(n.segments,r)||!zr(n.segments,r,e))return!1;for(let i in t.children)if(!n.children[i]||!Au(n.children[i],t.children[i],e))return!1;return!0}else{let i=r.slice(0,n.segments.length),o=r.slice(n.segments.length);return!qi(n.segments,i)||!zr(n.segments,i,e)||!n.children[st]?!1:Ou(n.children[st],t,o,e)}}function zr(n,t,r){return t.every((e,i)=>Ru[r](n[i].parameters,e.parameters))}var bi=class{constructor(t=new pt([],{}),r={},e=null){this.root=t,this.queryParams=r,this.fragment=e}get queryParamMap(){return this._queryParamMap??=bn(this.queryParams),this._queryParamMap}toString(){return ng.serialize(this)}},pt=class{constructor(t,r){this.segments=t,this.children=r,this.parent=null,Object.values(r).forEach(e=>e.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return Br(this)}},Gi=class{constructor(t,r){this.path=t,this.parameters=r}get parameterMap(){return this._parameterMap??=bn(this.parameters),this._parameterMap}toString(){return Pu(this)}};function eg(n,t){return qi(n,t)&&n.every((r,e)=>je(r.parameters,t[e].parameters))}function qi(n,t){return n.length!==t.length?!1:n.every((r,e)=>r.path===t[e].path)}function ig(n,t){let r=[];return Object.entries(n.children).forEach(([e,i])=>{e===st&&(r=r.concat(t(i,e)))}),Object.entries(n.children).forEach(([e,i])=>{e!==st&&(r=r.concat(t(i,e)))}),r}var zo=(()=>{let t=class t{};t.\u0275fac=function(i){return new(i||t)},t.\u0275prov=w({token:t,factory:()=>new Ro,providedIn:"root"});let n=t;return n})(),Ro=class{parse(t){let r=new Hs(t);return new bi(r.parseRootSegment(),r.parseQueryParams(),r.parseFragment())}serialize(t){let r=`/${Io(t.root,!0)}`,e=ag(t.queryParams),i=typeof t.fragment=="string"?`#${og(t.fragment)}`:"";return`${r}${e}${i}`}},ng=new Ro;function Br(n){return n.segments.map(t=>Pu(t)).join("/")}function Io(n,t){if(!n.hasChildren())return Br(n);if(t){let r=n.children[st]?Io(n.children[st],!1):"",e=[];return Object.entries(n.children).forEach(([i,o])=>{i!==st&&e.push(`${i}:${Io(o,!1)}`)}),e.length>0?`${r}(${e.join("//")})`:r}else{let r=ig(n,(e,i)=>i===st?[Io(n.children[st],!1)]:[`${i}:${Io(e,!1)}`]);return Object.keys(n.children).length===1&&n.children[st]!=null?`${Br(n)}/${r[0]}`:`${Br(n)}/(${r.join("//")})`}}function Fu(n){return encodeURIComponent(n).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function jr(n){return Fu(n).replace(/%3B/gi,";")}function og(n){return encodeURI(n)}function Bs(n){return Fu(n).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function Hr(n){return decodeURIComponent(n)}function xu(n){return Hr(n.replace(/\+/g,"%20"))}function Pu(n){return`${Bs(n.path)}${rg(n.parameters)}`}function rg(n){return Object.entries(n).map(([t,r])=>`;${Bs(t)}=${Bs(r)}`).join("")}function ag(n){let t=Object.entries(n).map(([r,e])=>Array.isArray(e)?e.map(i=>`${jr(r)}=${jr(i)}`).join("&"):`${jr(r)}=${jr(e)}`).filter(r=>r);return t.length?`?${t.join("&")}`:""}var sg=/^[^\/()?;#]+/;function Ps(n){let t=n.match(sg);return t?t[0]:""}var lg=/^[^\/()?;=#]+/;function cg(n){let t=n.match(lg);return t?t[0]:""}var dg=/^[^=?&#]+/;function ug(n){let t=n.match(dg);return t?t[0]:""}var hg=/^[^&#]+/;function mg(n){let t=n.match(hg);return t?t[0]:""}var Hs=class{constructor(t){this.url=t,this.remaining=t}parseRootSegment(){return this.consumeOptional("/"),this.remaining===""||this.peekStartsWith("?")||this.peekStartsWith("#")?new pt([],{}):new pt([],this.parseChildren())}parseQueryParams(){let t={};if(this.consumeOptional("?"))do this.parseQueryParam(t);while(this.consumeOptional("&"));return t}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(this.remaining==="")return{};this.consumeOptional("/");let t=[];for(this.peekStartsWith("(")||t.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),t.push(this.parseSegment());let r={};this.peekStartsWith("/(")&&(this.capture("/"),r=this.parseParens(!0));let e={};return this.peekStartsWith("(")&&(e=this.parseParens(!1)),(t.length>0||Object.keys(r).length>0)&&(e[st]=new pt(t,r)),e}parseSegment(){let t=Ps(this.remaining);if(t===""&&this.peekStartsWith(";"))throw new gt(4009,!1);return this.capture(t),new Gi(Hr(t),this.parseMatrixParams())}parseMatrixParams(){let t={};for(;this.consumeOptional(";");)this.parseParam(t);return t}parseParam(t){let r=cg(this.remaining);if(!r)return;this.capture(r);let e="";if(this.consumeOptional("=")){let i=Ps(this.remaining);i&&(e=i,this.capture(e))}t[Hr(r)]=Hr(e)}parseQueryParam(t){let r=ug(this.remaining);if(!r)return;this.capture(r);let e="";if(this.consumeOptional("=")){let a=mg(this.remaining);a&&(e=a,this.capture(e))}let i=xu(r),o=xu(e);if(t.hasOwnProperty(i)){let a=t[i];Array.isArray(a)||(a=[a],t[i]=a),a.push(o)}else t[i]=o}parseParens(t){let r={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){let e=Ps(this.remaining),i=this.remaining[e.length];if(i!=="/"&&i!==")"&&i!==";")throw new gt(4010,!1);let o;e.indexOf(":")>-1?(o=e.slice(0,e.indexOf(":")),this.capture(o),this.capture(":")):t&&(o=st);let a=this.parseChildren();r[o]=Object.keys(a).length===1?a[st]:new pt([],a),this.consumeOptional("//")}return r}peekStartsWith(t){return this.remaining.startsWith(t)}consumeOptional(t){return this.peekStartsWith(t)?(this.remaining=this.remaining.substring(t.length),!0):!1}capture(t){if(!this.consumeOptional(t))throw new gt(4011,!1)}};function Nu(n){return n.segments.length>0?new pt([],{[st]:n}):n}function Lu(n){let t={};for(let[e,i]of Object.entries(n.children)){let o=Lu(i);if(e===st&&o.segments.length===0&&o.hasChildren())for(let[a,s]of Object.entries(o.children))t[a]=s;else(o.segments.length>0||o.hasChildren())&&(t[e]=o)}let r=new pt(n.segments,t);return fg(r)}function fg(n){if(n.numberOfChildren===1&&n.children[st]){let t=n.children[st];return new pt(n.segments.concat(t.segments),t.children)}return n}function _n(n){return n instanceof bi}function pg(n,t,r=null,e=null){let i=ju(n);return Vu(i,t,r,e)}function ju(n){let t;function r(o){let a={};for(let l of o.children){let c=r(l);a[l.outlet]=c}let s=new pt(o.url,a);return o===n&&(t=s),s}let e=r(n.root),i=Nu(e);return t??i}function Vu(n,t,r,e){let i=n;for(;i.parent;)i=i.parent;if(t.length===0)return Ns(i,i,i,r,e);let o=gg(t);if(o.toRoot())return Ns(i,i,new pt([],{}),r,e);let a=bg(o,i,n),s=a.processChildren?So(a.segmentGroup,a.index,o.commands):Bu(a.segmentGroup,a.index,o.commands);return Ns(i,a.segmentGroup,s,r,e)}function Ur(n){return typeof n=="object"&&n!=null&&!n.outlets&&!n.segmentPath}function Mo(n){return typeof n=="object"&&n!=null&&n.outlets}function Ns(n,t,r,e,i){let o={};e&&Object.entries(e).forEach(([l,c])=>{o[l]=Array.isArray(c)?c.map(u=>`${u}`):`${c}`});let a;n===t?a=r:a=zu(n,t,r);let s=Nu(Lu(a));return new bi(s,o,i)}function zu(n,t,r){let e={};return Object.entries(n.children).forEach(([i,o])=>{o===t?e[i]=r:e[i]=zu(o,t,r)}),new pt(n.segments,e)}var $r=class{constructor(t,r,e){if(this.isAbsolute=t,this.numberOfDoubleDots=r,this.commands=e,t&&e.length>0&&Ur(e[0]))throw new gt(4003,!1);let i=e.find(Mo);if(i&&i!==Tu(e))throw new gt(4004,!1)}toRoot(){return this.isAbsolute&&this.commands.length===1&&this.commands[0]=="/"}};function gg(n){if(typeof n[0]=="string"&&n.length===1&&n[0]==="/")return new $r(!0,0,n);let t=0,r=!1,e=n.reduce((i,o,a)=>{if(typeof o=="object"&&o!=null){if(o.outlets){let s={};return Object.entries(o.outlets).forEach(([l,c])=>{s[l]=typeof c=="string"?c.split("/"):c}),[...i,{outlets:s}]}if(o.segmentPath)return[...i,o.segmentPath]}return typeof o!="string"?[...i,o]:a===0?(o.split("/").forEach((s,l)=>{l==0&&s==="."||(l==0&&s===""?r=!0:s===".."?t++:s!=""&&i.push(s))}),i):[...i,o]},[]);return new $r(r,t,e)}var pn=class{constructor(t,r,e){this.segmentGroup=t,this.processChildren=r,this.index=e}};function bg(n,t,r){if(n.isAbsolute)return new pn(t,!0,0);if(!r)return new pn(t,!1,NaN);if(r.parent===null)return new pn(r,!0,0);let e=Ur(n.commands[0])?0:1,i=r.segments.length-1+e;return _g(r,i,n.numberOfDoubleDots)}function _g(n,t,r){let e=n,i=t,o=r;for(;o>i;){if(o-=i,e=e.parent,!e)throw new gt(4005,!1);i=e.segments.length}return new pn(e,!1,i-o)}function vg(n){return Mo(n[0])?n[0].outlets:{[st]:n}}function Bu(n,t,r){if(n??=new pt([],{}),n.segments.length===0&&n.hasChildren())return So(n,t,r);let e=yg(n,t,r),i=r.slice(e.commandIndex);if(e.match&&e.pathIndexo!==st)&&n.children[st]&&n.numberOfChildren===1&&n.children[st].segments.length===0){let o=So(n.children[st],t,r);return new pt(n.segments,o.children)}return Object.entries(e).forEach(([o,a])=>{typeof a=="string"&&(a=[a]),a!==null&&(i[o]=Bu(n.children[o],t,a))}),Object.entries(n.children).forEach(([o,a])=>{e[o]===void 0&&(i[o]=a)}),new pt(n.segments,i)}}function yg(n,t,r){let e=0,i=t,o={match:!1,pathIndex:0,commandIndex:0};for(;i=r.length)return o;let a=n.segments[i],s=r[e];if(Mo(s))break;let l=`${s}`,c=e0&&l===void 0)break;if(l&&c&&typeof c=="object"&&c.outlets===void 0){if(!Cu(l,c,a))return o;e+=2}else{if(!Cu(l,{},a))return o;e++}i++}return{match:!0,pathIndex:i,commandIndex:e}}function Us(n,t,r){let e=n.segments.slice(0,t),i=0;for(;i{typeof e=="string"&&(e=[e]),e!==null&&(t[r]=Us(new pt([],{}),0,e))}),t}function wu(n){let t={};return Object.entries(n).forEach(([r,e])=>t[r]=`${e}`),t}function Cu(n,t,r){return n==r.path&&je(t,r.parameters)}var ko="imperative",Ht=function(n){return n[n.NavigationStart=0]="NavigationStart",n[n.NavigationEnd=1]="NavigationEnd",n[n.NavigationCancel=2]="NavigationCancel",n[n.NavigationError=3]="NavigationError",n[n.RoutesRecognized=4]="RoutesRecognized",n[n.ResolveStart=5]="ResolveStart",n[n.ResolveEnd=6]="ResolveEnd",n[n.GuardsCheckStart=7]="GuardsCheckStart",n[n.GuardsCheckEnd=8]="GuardsCheckEnd",n[n.RouteConfigLoadStart=9]="RouteConfigLoadStart",n[n.RouteConfigLoadEnd=10]="RouteConfigLoadEnd",n[n.ChildActivationStart=11]="ChildActivationStart",n[n.ChildActivationEnd=12]="ChildActivationEnd",n[n.ActivationStart=13]="ActivationStart",n[n.ActivationEnd=14]="ActivationEnd",n[n.Scroll=15]="Scroll",n[n.NavigationSkipped=16]="NavigationSkipped",n}(Ht||{}),xe=class{constructor(t,r){this.id=t,this.url=r}},vn=class extends xe{constructor(t,r,e="imperative",i=null){super(t,r),this.type=Ht.NavigationStart,this.navigationTrigger=e,this.restoredState=i}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}},Se=class extends xe{constructor(t,r,e){super(t,r),this.urlAfterRedirects=e,this.type=Ht.NavigationEnd}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}},me=function(n){return n[n.Redirect=0]="Redirect",n[n.SupersededByNewNavigation=1]="SupersededByNewNavigation",n[n.NoDataFromResolver=2]="NoDataFromResolver",n[n.GuardRejected=3]="GuardRejected",n}(me||{}),Wr=function(n){return n[n.IgnoredSameUrlNavigation=0]="IgnoredSameUrlNavigation",n[n.IgnoredByUrlHandlingStrategy=1]="IgnoredByUrlHandlingStrategy",n}(Wr||{}),_i=class extends xe{constructor(t,r,e,i){super(t,r),this.reason=e,this.code=i,this.type=Ht.NavigationCancel}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}},vi=class extends xe{constructor(t,r,e,i){super(t,r),this.reason=e,this.code=i,this.type=Ht.NavigationSkipped}},Ao=class extends xe{constructor(t,r,e,i){super(t,r),this.error=e,this.target=i,this.type=Ht.NavigationError}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}},Gr=class extends xe{constructor(t,r,e,i){super(t,r),this.urlAfterRedirects=e,this.state=i,this.type=Ht.RoutesRecognized}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},$s=class extends xe{constructor(t,r,e,i){super(t,r),this.urlAfterRedirects=e,this.state=i,this.type=Ht.GuardsCheckStart}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},Ws=class extends xe{constructor(t,r,e,i,o){super(t,r),this.urlAfterRedirects=e,this.state=i,this.shouldActivate=o,this.type=Ht.GuardsCheckEnd}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}},Gs=class extends xe{constructor(t,r,e,i){super(t,r),this.urlAfterRedirects=e,this.state=i,this.type=Ht.ResolveStart}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},qs=class extends xe{constructor(t,r,e,i){super(t,r),this.urlAfterRedirects=e,this.state=i,this.type=Ht.ResolveEnd}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},Ys=class{constructor(t){this.route=t,this.type=Ht.RouteConfigLoadStart}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}},Qs=class{constructor(t){this.route=t,this.type=Ht.RouteConfigLoadEnd}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}},Xs=class{constructor(t){this.snapshot=t,this.type=Ht.ChildActivationStart}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},Zs=class{constructor(t){this.snapshot=t,this.type=Ht.ChildActivationEnd}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},Ks=class{constructor(t){this.snapshot=t,this.type=Ht.ActivationStart}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},Js=class{constructor(t){this.snapshot=t,this.type=Ht.ActivationEnd}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},qr=class{constructor(t,r,e){this.routerEvent=t,this.position=r,this.anchor=e,this.type=Ht.Scroll}toString(){let t=this.position?`${this.position[0]}, ${this.position[1]}`:null;return`Scroll(anchor: '${this.anchor}', position: '${t}')`}},Oo=class{},Fo=class{constructor(t){this.url=t}};var tl=class{constructor(){this.outlet=null,this.route=null,this.injector=null,this.children=new Bo,this.attachRef=null}},Bo=(()=>{let t=class t{constructor(){this.contexts=new Map}onChildOutletCreated(e,i){let o=this.getOrCreateContext(e);o.outlet=i,this.contexts.set(e,o)}onChildOutletDestroyed(e){let i=this.getContext(e);i&&(i.outlet=null,i.attachRef=null)}onOutletDeactivated(){let e=this.contexts;return this.contexts=new Map,e}onOutletReAttached(e){this.contexts=e}getOrCreateContext(e){let i=this.getContext(e);return i||(i=new tl,this.contexts.set(e,i)),i}getContext(e){return this.contexts.get(e)||null}};t.\u0275fac=function(i){return new(i||t)},t.\u0275prov=w({token:t,factory:t.\u0275fac,providedIn:"root"});let n=t;return n})(),Yr=class{constructor(t){this._root=t}get root(){return this._root.value}parent(t){let r=this.pathFromRoot(t);return r.length>1?r[r.length-2]:null}children(t){let r=el(t,this._root);return r?r.children.map(e=>e.value):[]}firstChild(t){let r=el(t,this._root);return r&&r.children.length>0?r.children[0].value:null}siblings(t){let r=il(t,this._root);return r.length<2?[]:r[r.length-2].children.map(i=>i.value).filter(i=>i!==t)}pathFromRoot(t){return il(t,this._root).map(r=>r.value)}};function el(n,t){if(n===t.value)return t;for(let r of t.children){let e=el(n,r);if(e)return e}return null}function il(n,t){if(n===t.value)return[t];for(let r of t.children){let e=il(n,r);if(e.length)return e.unshift(t),e}return[]}var he=class{constructor(t,r){this.value=t,this.children=r}toString(){return`TreeNode(${this.value})`}};function fn(n){let t={};return n&&n.children.forEach(r=>t[r.value.outlet]=r),t}var Qr=class extends Yr{constructor(t,r){super(t),this.snapshot=r,hl(this,t)}toString(){return this.snapshot.toString()}};function Hu(n){let t=wg(n),r=new $t([new Gi("",{})]),e=new $t({}),i=new $t({}),o=new $t({}),a=new $t(""),s=new yi(r,e,o,a,i,st,n,t.root);return s.snapshot=t.root,new Qr(new he(s,[]),t)}function wg(n){let t={},r={},e={},i="",o=new Po([],t,e,i,r,st,n,null,{});return new Xr("",new he(o,[]))}var yi=class{constructor(t,r,e,i,o,a,s,l){this.urlSubject=t,this.paramsSubject=r,this.queryParamsSubject=e,this.fragmentSubject=i,this.dataSubject=o,this.outlet=a,this.component=s,this._futureSnapshot=l,this.title=this.dataSubject?.pipe(G(c=>c[Vo]))??A(void 0),this.url=t,this.params=r,this.queryParams=e,this.fragment=i,this.data=o}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.params.pipe(G(t=>bn(t))),this._paramMap}get queryParamMap(){return this._queryParamMap??=this.queryParams.pipe(G(t=>bn(t))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}};function ul(n,t,r="emptyOnly"){let e,{routeConfig:i}=n;return t!==null&&(r==="always"||i?.path===""||!t.component&&!t.routeConfig?.loadComponent)?e={params:x(x({},t.params),n.params),data:x(x({},t.data),n.data),resolve:x(x(x(x({},n.data),t.data),i?.data),n._resolvedData)}:e={params:x({},n.params),data:x({},n.data),resolve:x(x({},n.data),n._resolvedData??{})},i&&$u(i)&&(e.resolve[Vo]=i.title),e}var Po=class{get title(){return this.data?.[Vo]}constructor(t,r,e,i,o,a,s,l,c){this.url=t,this.params=r,this.queryParams=e,this.fragment=i,this.data=o,this.outlet=a,this.component=s,this.routeConfig=l,this._resolve=c}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??=bn(this.params),this._paramMap}get queryParamMap(){return this._queryParamMap??=bn(this.queryParams),this._queryParamMap}toString(){let t=this.url.map(e=>e.toString()).join("/"),r=this.routeConfig?this.routeConfig.path:"";return`Route(url:'${t}', path:'${r}')`}},Xr=class extends Yr{constructor(t,r){super(r),this.url=t,hl(this,r)}toString(){return Uu(this._root)}};function hl(n,t){t.value._routerState=n,t.children.forEach(r=>hl(n,r))}function Uu(n){let t=n.children.length>0?` { ${n.children.map(Uu).join(", ")} } `:"";return`${n.value}${t}`}function Ls(n){if(n.snapshot){let t=n.snapshot,r=n._futureSnapshot;n.snapshot=r,je(t.queryParams,r.queryParams)||n.queryParamsSubject.next(r.queryParams),t.fragment!==r.fragment&&n.fragmentSubject.next(r.fragment),je(t.params,r.params)||n.paramsSubject.next(r.params),Zp(t.url,r.url)||n.urlSubject.next(r.url),je(t.data,r.data)||n.dataSubject.next(r.data)}else n.snapshot=n._futureSnapshot,n.dataSubject.next(n._futureSnapshot.data)}function nl(n,t){let r=je(n.params,t.params)&&eg(n.url,t.url),e=!n.parent!=!t.parent;return r&&!e&&(!n.parent||nl(n.parent,t.parent))}function $u(n){return typeof n.title=="string"||n.title===null}var ml=(()=>{let t=class t{constructor(){this.activated=null,this._activatedRoute=null,this.name=st,this.activateEvents=new z,this.deactivateEvents=new z,this.attachEvents=new z,this.detachEvents=new z,this.parentContexts=_(Bo),this.location=_(Et),this.changeDetector=_(ft),this.environmentInjector=_(hi),this.inputBinder=_(ea,{optional:!0}),this.supportsBindingToComponentInputs=!0}get activatedComponentRef(){return this.activated}ngOnChanges(e){if(e.name){let{firstChange:i,previousValue:o}=e.name;if(i)return;this.isTrackedInParentContexts(o)&&(this.deactivate(),this.parentContexts.onChildOutletDestroyed(o)),this.initializeOutletWithName()}}ngOnDestroy(){this.isTrackedInParentContexts(this.name)&&this.parentContexts.onChildOutletDestroyed(this.name),this.inputBinder?.unsubscribeFromRouteData(this)}isTrackedInParentContexts(e){return this.parentContexts.getContext(e)?.outlet===this}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(this.parentContexts.onChildOutletCreated(this.name,this),this.activated)return;let e=this.parentContexts.getContext(this.name);e?.route&&(e.attachRef?this.attach(e.attachRef,e.route):this.activateWith(e.route,e.injector))}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new gt(4012,!1);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new gt(4012,!1);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new gt(4012,!1);this.location.detach();let e=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(e.instance),e}attach(e,i){this.activated=e,this._activatedRoute=i,this.location.insert(e.hostView),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.attachEvents.emit(e.instance)}deactivate(){if(this.activated){let e=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(e)}}activateWith(e,i){if(this.isActivated)throw new gt(4013,!1);this._activatedRoute=e;let o=this.location,s=e.snapshot.component,l=this.parentContexts.getOrCreateContext(this.name).children,c=new ol(e,l,o.injector);this.activated=o.createComponent(s,{index:o.length,injector:c,environmentInjector:i??this.environmentInjector}),this.changeDetector.markForCheck(),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.activateEvents.emit(this.activated.instance)}};t.\u0275fac=function(i){return new(i||t)},t.\u0275dir=y({type:t,selectors:[["router-outlet"]],inputs:{name:"name"},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],standalone:!0,features:[ut]});let n=t;return n})(),ol=class n{__ngOutletInjector(t){return new n(this.route,this.childContexts,t)}constructor(t,r,e){this.route=t,this.childContexts=r,this.parent=e}get(t,r){return t===yi?this.route:t===Bo?this.childContexts:this.parent.get(t,r)}},ea=new C(""),Iu=(()=>{let t=class t{constructor(){this.outletDataSubscriptions=new Map}bindActivatedRouteToOutletComponent(e){this.unsubscribeFromRouteData(e),this.subscribeToRouteData(e)}unsubscribeFromRouteData(e){this.outletDataSubscriptions.get(e)?.unsubscribe(),this.outletDataSubscriptions.delete(e)}subscribeToRouteData(e){let{activatedRoute:i}=e,o=on([i.queryParams,i.params,i.data]).pipe(Dt(([a,s,l],c)=>(l=x(x(x({},a),s),l),c===0?A(l):Promise.resolve(l)))).subscribe(a=>{if(!e.isActivated||!e.activatedComponentRef||e.activatedRoute!==i||i.component===null){this.unsubscribeFromRouteData(e);return}let s=kd(i.component);if(!s){this.unsubscribeFromRouteData(e);return}for(let{templateName:l}of s.inputs)e.activatedComponentRef.setInput(l,a[l])});this.outletDataSubscriptions.set(e,o)}};t.\u0275fac=function(i){return new(i||t)},t.\u0275prov=w({token:t,factory:t.\u0275fac});let n=t;return n})();function Cg(n,t,r){let e=No(n,t._root,r?r._root:void 0);return new Qr(e,t)}function No(n,t,r){if(r&&n.shouldReuseRoute(t.value,r.value.snapshot)){let e=r.value;e._futureSnapshot=t.value;let i=Ig(n,t,r);return new he(e,i)}else{if(n.shouldAttach(t.value)){let o=n.retrieve(t.value);if(o!==null){let a=o.route;return a.value._futureSnapshot=t.value,a.children=t.children.map(s=>No(n,s)),a}}let e=Dg(t.value),i=t.children.map(o=>No(n,o));return new he(e,i)}}function Ig(n,t,r){return t.children.map(e=>{for(let i of r.children)if(n.shouldReuseRoute(e.value,i.value.snapshot))return No(n,e,i);return No(n,e)})}function Dg(n){return new yi(new $t(n.url),new $t(n.params),new $t(n.queryParams),new $t(n.fragment),new $t(n.data),n.outlet,n.component,n)}var Wu="ngNavigationCancelingError";function Gu(n,t){let{redirectTo:r,navigationBehaviorOptions:e}=_n(t)?{redirectTo:t,navigationBehaviorOptions:void 0}:t,i=qu(!1,me.Redirect);return i.url=r,i.navigationBehaviorOptions=e,i}function qu(n,t){let r=new Error(`NavigationCancelingError: ${n||""}`);return r[Wu]=!0,r.cancellationCode=t,r}function Eg(n){return Yu(n)&&_n(n.url)}function Yu(n){return!!n&&n[Wu]}var Sg=(()=>{let t=class t{};t.\u0275fac=function(i){return new(i||t)},t.\u0275cmp=j({type:t,selectors:[["ng-component"]],standalone:!0,features:[V],decls:1,vars:0,template:function(i,o){i&1&&P(0,"router-outlet")},dependencies:[ml],encapsulation:2});let n=t;return n})();function kg(n,t){return n.providers&&!n._injector&&(n._injector=gs(n.providers,t,`Route: ${n.path}`)),n._injector??t}function fl(n){let t=n.children&&n.children.map(fl),r=t?It(x({},n),{children:t}):x({},n);return!r.component&&!r.loadComponent&&(t||r.loadChildren)&&r.outlet&&r.outlet!==st&&(r.component=Sg),r}function Ve(n){return n.outlet||st}function Tg(n,t){let r=n.filter(e=>Ve(e)===t);return r.push(...n.filter(e=>Ve(e)!==t)),r}function Ho(n){if(!n)return null;if(n.routeConfig?._injector)return n.routeConfig._injector;for(let t=n.parent;t;t=t.parent){let r=t.routeConfig;if(r?._loadedInjector)return r._loadedInjector;if(r?._injector)return r._injector}return null}var Rg=(n,t,r,e)=>G(i=>(new rl(t,i.targetRouterState,i.currentRouterState,r,e).activate(n),i)),rl=class{constructor(t,r,e,i,o){this.routeReuseStrategy=t,this.futureState=r,this.currState=e,this.forwardEvent=i,this.inputBindingEnabled=o}activate(t){let r=this.futureState._root,e=this.currState?this.currState._root:null;this.deactivateChildRoutes(r,e,t),Ls(this.futureState.root),this.activateChildRoutes(r,e,t)}deactivateChildRoutes(t,r,e){let i=fn(r);t.children.forEach(o=>{let a=o.value.outlet;this.deactivateRoutes(o,i[a],e),delete i[a]}),Object.values(i).forEach(o=>{this.deactivateRouteAndItsChildren(o,e)})}deactivateRoutes(t,r,e){let i=t.value,o=r?r.value:null;if(i===o)if(i.component){let a=e.getContext(i.outlet);a&&this.deactivateChildRoutes(t,r,a.children)}else this.deactivateChildRoutes(t,r,e);else o&&this.deactivateRouteAndItsChildren(r,e)}deactivateRouteAndItsChildren(t,r){t.value.component&&this.routeReuseStrategy.shouldDetach(t.value.snapshot)?this.detachAndStoreRouteSubtree(t,r):this.deactivateRouteAndOutlet(t,r)}detachAndStoreRouteSubtree(t,r){let e=r.getContext(t.value.outlet),i=e&&t.value.component?e.children:r,o=fn(t);for(let a of Object.values(o))this.deactivateRouteAndItsChildren(a,i);if(e&&e.outlet){let a=e.outlet.detach(),s=e.children.onOutletDeactivated();this.routeReuseStrategy.store(t.value.snapshot,{componentRef:a,route:t,contexts:s})}}deactivateRouteAndOutlet(t,r){let e=r.getContext(t.value.outlet),i=e&&t.value.component?e.children:r,o=fn(t);for(let a of Object.values(o))this.deactivateRouteAndItsChildren(a,i);e&&(e.outlet&&(e.outlet.deactivate(),e.children.onOutletDeactivated()),e.attachRef=null,e.route=null)}activateChildRoutes(t,r,e){let i=fn(r);t.children.forEach(o=>{this.activateRoutes(o,i[o.value.outlet],e),this.forwardEvent(new Js(o.value.snapshot))}),t.children.length&&this.forwardEvent(new Zs(t.value.snapshot))}activateRoutes(t,r,e){let i=t.value,o=r?r.value:null;if(Ls(i),i===o)if(i.component){let a=e.getOrCreateContext(i.outlet);this.activateChildRoutes(t,r,a.children)}else this.activateChildRoutes(t,r,e);else if(i.component){let a=e.getOrCreateContext(i.outlet);if(this.routeReuseStrategy.shouldAttach(i.snapshot)){let s=this.routeReuseStrategy.retrieve(i.snapshot);this.routeReuseStrategy.store(i.snapshot,null),a.children.onOutletReAttached(s.contexts),a.attachRef=s.componentRef,a.route=s.route.value,a.outlet&&a.outlet.attach(s.componentRef,s.route.value),Ls(s.route.value),this.activateChildRoutes(t,null,a.children)}else{let s=Ho(i.snapshot);a.attachRef=null,a.route=i,a.injector=s,a.outlet&&a.outlet.activateWith(i,a.injector),this.activateChildRoutes(t,null,a.children)}}else this.activateChildRoutes(t,null,e)}},Zr=class{constructor(t){this.path=t,this.route=this.path[this.path.length-1]}},gn=class{constructor(t,r){this.component=t,this.route=r}};function Mg(n,t,r){let e=n._root,i=t?t._root:null;return Do(e,i,r,[e.value])}function Ag(n){let t=n.routeConfig?n.routeConfig.canActivateChild:null;return!t||t.length===0?null:{node:n,guards:t}}function xn(n,t){let r=Symbol(),e=t.get(n,r);return e===r?typeof n=="function"&&!id(n)?n:t.get(n):e}function Do(n,t,r,e,i={canDeactivateChecks:[],canActivateChecks:[]}){let o=fn(t);return n.children.forEach(a=>{Og(a,o[a.value.outlet],r,e.concat([a.value]),i),delete o[a.value.outlet]}),Object.entries(o).forEach(([a,s])=>To(s,r.getContext(a),i)),i}function Og(n,t,r,e,i={canDeactivateChecks:[],canActivateChecks:[]}){let o=n.value,a=t?t.value:null,s=r?r.getContext(n.value.outlet):null;if(a&&o.routeConfig===a.routeConfig){let l=Fg(a,o,o.routeConfig.runGuardsAndResolvers);l?i.canActivateChecks.push(new Zr(e)):(o.data=a.data,o._resolvedData=a._resolvedData),o.component?Do(n,t,s?s.children:null,e,i):Do(n,t,r,e,i),l&&s&&s.outlet&&s.outlet.isActivated&&i.canDeactivateChecks.push(new gn(s.outlet.component,a))}else a&&To(t,s,i),i.canActivateChecks.push(new Zr(e)),o.component?Do(n,null,s?s.children:null,e,i):Do(n,null,r,e,i);return i}function Fg(n,t,r){if(typeof r=="function")return r(n,t);switch(r){case"pathParamsChange":return!qi(n.url,t.url);case"pathParamsOrQueryParamsChange":return!qi(n.url,t.url)||!je(n.queryParams,t.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!nl(n,t)||!je(n.queryParams,t.queryParams);case"paramsChange":default:return!nl(n,t)}}function To(n,t,r){let e=fn(n),i=n.value;Object.entries(e).forEach(([o,a])=>{i.component?t?To(a,t.children.getContext(o),r):To(a,null,r):To(a,t,r)}),i.component?t&&t.outlet&&t.outlet.isActivated?r.canDeactivateChecks.push(new gn(t.outlet.component,i)):r.canDeactivateChecks.push(new gn(null,i)):r.canDeactivateChecks.push(new gn(null,i))}function Uo(n){return typeof n=="function"}function Pg(n){return typeof n=="boolean"}function Ng(n){return n&&Uo(n.canLoad)}function Lg(n){return n&&Uo(n.canActivate)}function jg(n){return n&&Uo(n.canActivateChild)}function Vg(n){return n&&Uo(n.canDeactivate)}function zg(n){return n&&Uo(n.canMatch)}function Qu(n){return n instanceof Yc||n?.name==="EmptyError"}var Vr=Symbol("INITIAL_VALUE");function yn(){return Dt(n=>on(n.map(t=>t.pipe(wt(1),Tt(Vr)))).pipe(G(t=>{for(let r of t)if(r!==!0){if(r===Vr)return Vr;if(r===!1||r instanceof bi)return r}return!0}),_t(t=>t!==Vr),wt(1)))}function Bg(n,t){return le(r=>{let{targetSnapshot:e,currentSnapshot:i,guards:{canActivateChecks:o,canDeactivateChecks:a}}=r;return a.length===0&&o.length===0?A(It(x({},r),{guardsResult:!0})):Hg(a,e,i,n).pipe(le(s=>s&&Pg(s)?Ug(e,o,n,t):A(s)),G(s=>It(x({},r),{guardsResult:s})))})}function Hg(n,t,r,e){return Ft(n).pipe(le(i=>Yg(i.component,i.route,r,t,e)),di(i=>i!==!0,!0))}function Ug(n,t,r,e){return Ft(t).pipe(li(i=>_r(Wg(i.route.parent,e),$g(i.route,e),qg(n,i.path,r),Gg(n,i.route,r))),di(i=>i!==!0,!0))}function $g(n,t){return n!==null&&t&&t(new Ks(n)),A(!0)}function Wg(n,t){return n!==null&&t&&t(new Xs(n)),A(!0)}function Gg(n,t,r){let e=t.routeConfig?t.routeConfig.canActivate:null;if(!e||e.length===0)return A(!0);let i=e.map(o=>Li(()=>{let a=Ho(t)??r,s=xn(o,a),l=Lg(s)?s.canActivate(t,n):Me(a,()=>s(t,n));return xi(l).pipe(di())}));return A(i).pipe(yn())}function qg(n,t,r){let e=t[t.length-1],o=t.slice(0,t.length-1).reverse().map(a=>Ag(a)).filter(a=>a!==null).map(a=>Li(()=>{let s=a.guards.map(l=>{let c=Ho(a.node)??r,u=xn(l,c),p=jg(u)?u.canActivateChild(e,n):Me(c,()=>u(e,n));return xi(p).pipe(di())});return A(s).pipe(yn())}));return A(o).pipe(yn())}function Yg(n,t,r,e,i){let o=t&&t.routeConfig?t.routeConfig.canDeactivate:null;if(!o||o.length===0)return A(!0);let a=o.map(s=>{let l=Ho(t)??i,c=xn(s,l),u=Vg(c)?c.canDeactivate(n,t,r,e):Me(l,()=>c(n,t,r,e));return xi(u).pipe(di())});return A(a).pipe(yn())}function Qg(n,t,r,e){let i=t.canLoad;if(i===void 0||i.length===0)return A(!0);let o=i.map(a=>{let s=xn(a,n),l=Ng(s)?s.canLoad(t,r):Me(n,()=>s(t,r));return xi(l)});return A(o).pipe(yn(),Xu(e))}function Xu(n){return qc(vt(t=>{if(_n(t))throw Gu(n,t)}),G(t=>t===!0))}function Xg(n,t,r,e){let i=t.canMatch;if(!i||i.length===0)return A(!0);let o=i.map(a=>{let s=xn(a,n),l=zg(s)?s.canMatch(t,r):Me(n,()=>s(t,r));return xi(l)});return A(o).pipe(yn(),Xu(e))}var Lo=class{constructor(t){this.segmentGroup=t||null}},Kr=class extends Error{constructor(t){super(),this.urlTree=t}};function mn(n){return Ni(new Lo(n))}function Zg(n){return Ni(new gt(4e3,!1))}function Kg(n){return Ni(qu(!1,me.GuardRejected))}var al=class{constructor(t,r){this.urlSerializer=t,this.urlTree=r}lineralizeSegments(t,r){let e=[],i=r.root;for(;;){if(e=e.concat(i.segments),i.numberOfChildren===0)return A(e);if(i.numberOfChildren>1||!i.children[st])return Zg(t.redirectTo);i=i.children[st]}}applyRedirectCommands(t,r,e){let i=this.applyRedirectCreateUrlTree(r,this.urlSerializer.parse(r),t,e);if(r.startsWith("/"))throw new Kr(i);return i}applyRedirectCreateUrlTree(t,r,e,i){let o=this.createSegmentGroup(t,r.root,e,i);return new bi(o,this.createQueryParams(r.queryParams,this.urlTree.queryParams),r.fragment)}createQueryParams(t,r){let e={};return Object.entries(t).forEach(([i,o])=>{if(typeof o=="string"&&o.startsWith(":")){let s=o.substring(1);e[i]=r[s]}else e[i]=o}),e}createSegmentGroup(t,r,e,i){let o=this.createSegments(t,r.segments,e,i),a={};return Object.entries(r.children).forEach(([s,l])=>{a[s]=this.createSegmentGroup(t,l,e,i)}),new pt(o,a)}createSegments(t,r,e,i){return r.map(o=>o.path.startsWith(":")?this.findPosParam(t,o,i):this.findOrReturn(o,e))}findPosParam(t,r,e){let i=e[r.path.substring(1)];if(!i)throw new gt(4001,!1);return i}findOrReturn(t,r){let e=0;for(let i of r){if(i.path===t.path)return r.splice(e),i;e++}return t}},sl={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function Jg(n,t,r,e,i){let o=pl(n,t,r);return o.matched?(e=kg(t,e),Xg(e,t,r,i).pipe(G(a=>a===!0?o:x({},sl)))):A(o)}function pl(n,t,r){if(t.path==="**")return tb(r);if(t.path==="")return t.pathMatch==="full"&&(n.hasChildren()||r.length>0)?x({},sl):{matched:!0,consumedSegments:[],remainingSegments:r,parameters:{},positionalParamSegments:{}};let i=(t.matcher||Xp)(r,n,t);if(!i)return x({},sl);let o={};Object.entries(i.posParams??{}).forEach(([s,l])=>{o[s]=l.path});let a=i.consumed.length>0?x(x({},o),i.consumed[i.consumed.length-1].parameters):o;return{matched:!0,consumedSegments:i.consumed,remainingSegments:r.slice(i.consumed.length),parameters:a,positionalParamSegments:i.posParams??{}}}function tb(n){return{matched:!0,parameters:n.length>0?Tu(n).parameters:{},consumedSegments:n,remainingSegments:[],positionalParamSegments:{}}}function Du(n,t,r,e){return r.length>0&&nb(n,r,e)?{segmentGroup:new pt(t,ib(e,new pt(r,n.children))),slicedSegments:[]}:r.length===0&&ob(n,r,e)?{segmentGroup:new pt(n.segments,eb(n,r,e,n.children)),slicedSegments:r}:{segmentGroup:new pt(n.segments,n.children),slicedSegments:r}}function eb(n,t,r,e){let i={};for(let o of r)if(ia(n,t,o)&&!e[Ve(o)]){let a=new pt([],{});i[Ve(o)]=a}return x(x({},e),i)}function ib(n,t){let r={};r[st]=t;for(let e of n)if(e.path===""&&Ve(e)!==st){let i=new pt([],{});r[Ve(e)]=i}return r}function nb(n,t,r){return r.some(e=>ia(n,t,e)&&Ve(e)!==st)}function ob(n,t,r){return r.some(e=>ia(n,t,e))}function ia(n,t,r){return(n.hasChildren()||t.length>0)&&r.pathMatch==="full"?!1:r.path===""}function rb(n,t,r,e){return Ve(n)!==e&&(e===st||!ia(t,r,n))?!1:pl(t,n,r).matched}function ab(n,t,r){return t.length===0&&!n.children[r]}var ll=class{};function sb(n,t,r,e,i,o,a="emptyOnly"){return new cl(n,t,r,e,i,a,o).recognize()}var lb=31,cl=class{constructor(t,r,e,i,o,a,s){this.injector=t,this.configLoader=r,this.rootComponentType=e,this.config=i,this.urlTree=o,this.paramsInheritanceStrategy=a,this.urlSerializer=s,this.applyRedirects=new al(this.urlSerializer,this.urlTree),this.absoluteRedirectCount=0,this.allowRedirects=!0}noMatchError(t){return new gt(4002,`'${t.segmentGroup}'`)}recognize(){let t=Du(this.urlTree.root,[],[],this.config).segmentGroup;return this.match(t).pipe(G(r=>{let e=new Po([],Object.freeze({}),Object.freeze(x({},this.urlTree.queryParams)),this.urlTree.fragment,{},st,this.rootComponentType,null,{}),i=new he(e,r),o=new Xr("",i),a=pg(e,[],this.urlTree.queryParams,this.urlTree.fragment);return a.queryParams=this.urlTree.queryParams,o.url=this.urlSerializer.serialize(a),this.inheritParamsAndData(o._root,null),{state:o,tree:a}}))}match(t){return this.processSegmentGroup(this.injector,this.config,t,st).pipe(si(e=>{if(e instanceof Kr)return this.urlTree=e.urlTree,this.match(e.urlTree.root);throw e instanceof Lo?this.noMatchError(e):e}))}inheritParamsAndData(t,r){let e=t.value,i=ul(e,r,this.paramsInheritanceStrategy);e.params=Object.freeze(i.params),e.data=Object.freeze(i.data),t.children.forEach(o=>this.inheritParamsAndData(o,e))}processSegmentGroup(t,r,e,i){return e.segments.length===0&&e.hasChildren()?this.processChildren(t,r,e):this.processSegment(t,r,e,e.segments,i,!0).pipe(G(o=>o instanceof he?[o]:[]))}processChildren(t,r,e){let i=[];for(let o of Object.keys(e.children))o==="primary"?i.unshift(o):i.push(o);return Ft(i).pipe(li(o=>{let a=e.children[o],s=Tg(r,o);return this.processSegmentGroup(t,s,a,o)}),Jc((o,a)=>(o.push(...a),o)),cs(null),Kc(),le(o=>{if(o===null)return mn(e);let a=Zu(o);return cb(a),A(a)}))}processSegment(t,r,e,i,o,a){return Ft(r).pipe(li(s=>this.processSegmentAgainstRoute(s._injector??t,r,s,e,i,o,a).pipe(si(l=>{if(l instanceof Lo)return A(null);throw l}))),di(s=>!!s),si(s=>{if(Qu(s))return ab(e,i,o)?A(new ll):mn(e);throw s}))}processSegmentAgainstRoute(t,r,e,i,o,a,s){return rb(e,i,o,a)?e.redirectTo===void 0?this.matchSegmentAgainstRoute(t,i,e,o,a):this.allowRedirects&&s?this.expandSegmentAgainstRouteUsingRedirect(t,i,r,e,o,a):mn(i):mn(i)}expandSegmentAgainstRouteUsingRedirect(t,r,e,i,o,a){let{matched:s,consumedSegments:l,positionalParamSegments:c,remainingSegments:u}=pl(r,i,o);if(!s)return mn(r);i.redirectTo.startsWith("/")&&(this.absoluteRedirectCount++,this.absoluteRedirectCount>lb&&(this.allowRedirects=!1));let p=this.applyRedirects.applyRedirectCommands(l,i.redirectTo,c);return this.applyRedirects.lineralizeSegments(i,p).pipe(le(v=>this.processSegment(t,e,r,v.concat(u),a,!1)))}matchSegmentAgainstRoute(t,r,e,i,o){let a=Jg(r,e,i,t,this.urlSerializer);return e.path==="**"&&(r.children={}),a.pipe(Dt(s=>s.matched?(t=e._injector??t,this.getChildConfig(t,e,i).pipe(Dt(({routes:l})=>{let c=e._loadedInjector??t,{consumedSegments:u,remainingSegments:p,parameters:v}=s,I=new Po(u,v,Object.freeze(x({},this.urlTree.queryParams)),this.urlTree.fragment,ub(e),Ve(e),e.component??e._loadedComponent??null,e,hb(e)),{segmentGroup:L,slicedSegments:et}=Du(r,u,p,l);if(et.length===0&&L.hasChildren())return this.processChildren(c,l,L).pipe(G(Y=>Y===null?null:new he(I,Y)));if(l.length===0&&et.length===0)return A(new he(I,[]));let U=Ve(e)===o;return this.processSegment(c,l,L,et,U?st:o,!0).pipe(G(Y=>new he(I,Y instanceof he?[Y]:[])))}))):mn(r)))}getChildConfig(t,r,e){return r.children?A({routes:r.children,injector:t}):r.loadChildren?r._loadedRoutes!==void 0?A({routes:r._loadedRoutes,injector:r._loadedInjector}):Qg(t,r,e,this.urlSerializer).pipe(le(i=>i?this.configLoader.loadChildren(t,r).pipe(vt(o=>{r._loadedRoutes=o.routes,r._loadedInjector=o.injector})):Kg(r))):A({routes:[],injector:t})}};function cb(n){n.sort((t,r)=>t.value.outlet===st?-1:r.value.outlet===st?1:t.value.outlet.localeCompare(r.value.outlet))}function db(n){let t=n.value.routeConfig;return t&&t.path===""}function Zu(n){let t=[],r=new Set;for(let e of n){if(!db(e)){t.push(e);continue}let i=t.find(o=>e.value.routeConfig===o.value.routeConfig);i!==void 0?(i.children.push(...e.children),r.add(i)):t.push(e)}for(let e of r){let i=Zu(e.children);t.push(new he(e.value,i))}return t.filter(e=>!r.has(e))}function ub(n){return n.data||{}}function hb(n){return n.resolve||{}}function mb(n,t,r,e,i,o){return le(a=>sb(n,t,r,e,a.extractedUrl,i,o).pipe(G(({state:s,tree:l})=>It(x({},a),{targetSnapshot:s,urlAfterRedirects:l}))))}function fb(n,t){return le(r=>{let{targetSnapshot:e,guards:{canActivateChecks:i}}=r;if(!i.length)return A(r);let o=new Set(i.map(l=>l.route)),a=new Set;for(let l of o)if(!a.has(l))for(let c of Ku(l))a.add(c);let s=0;return Ft(a).pipe(li(l=>o.has(l)?pb(l,e,n,t):(l.data=ul(l,l.parent,n).resolve,A(void 0))),vt(()=>s++),ds(1),le(l=>s===a.size?A(r):be))})}function Ku(n){let t=n.children.map(r=>Ku(r)).flat();return[n,...t]}function pb(n,t,r,e){let i=n.routeConfig,o=n._resolve;return i?.title!==void 0&&!$u(i)&&(o[Vo]=i.title),gb(o,n,t,e).pipe(G(a=>(n._resolvedData=a,n.data=ul(n,n.parent,r).resolve,null)))}function gb(n,t,r,e){let i=zs(n);if(i.length===0)return A({});let o={};return Ft(i).pipe(le(a=>bb(n[a],t,r,e).pipe(di(),vt(s=>{o[a]=s}))),ds(1),Xc(o),si(a=>Qu(a)?be:Ni(a)))}function bb(n,t,r,e){let i=Ho(t)??e,o=xn(n,i),a=o.resolve?o.resolve(t,r):Me(i,()=>o(t,r));return xi(a)}function js(n){return Dt(t=>{let r=n(t);return r?Ft(r).pipe(G(()=>t)):A(t)})}var Ju=(()=>{let t=class t{buildTitle(e){let i,o=e.root;for(;o!==void 0;)i=this.getResolvedTitleForRoute(o)??i,o=o.children.find(a=>a.outlet===st);return i}getResolvedTitleForRoute(e){return e.data[Vo]}};t.\u0275fac=function(i){return new(i||t)},t.\u0275prov=w({token:t,factory:()=>_(_b),providedIn:"root"});let n=t;return n})(),_b=(()=>{let t=class t extends Ju{constructor(e){super(),this.title=e}updateTitle(e){let i=this.buildTitle(e);i!==void 0&&this.title.setTitle(i)}};t.\u0275fac=function(i){return new(i||t)(b(bu))},t.\u0275prov=w({token:t,factory:t.\u0275fac,providedIn:"root"});let n=t;return n})(),$o=new C("",{providedIn:"root",factory:()=>({})}),jo=new C(""),gl=(()=>{let t=class t{constructor(){this.componentLoaders=new WeakMap,this.childrenLoaders=new WeakMap,this.compiler=_(kr)}loadComponent(e){if(this.componentLoaders.get(e))return this.componentLoaders.get(e);if(e._loadedComponent)return A(e._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(e);let i=xi(e.loadComponent()).pipe(G(th),vt(a=>{this.onLoadEndListener&&this.onLoadEndListener(e),e._loadedComponent=a}),ci(()=>{this.componentLoaders.delete(e)})),o=new to(i,()=>new N).pipe(ss());return this.componentLoaders.set(e,o),o}loadChildren(e,i){if(this.childrenLoaders.get(i))return this.childrenLoaders.get(i);if(i._loadedRoutes)return A({routes:i._loadedRoutes,injector:i._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(i);let a=vb(i,this.compiler,e,this.onLoadEndListener).pipe(ci(()=>{this.childrenLoaders.delete(i)})),s=new to(a,()=>new N).pipe(ss());return this.childrenLoaders.set(i,s),s}};t.\u0275fac=function(i){return new(i||t)},t.\u0275prov=w({token:t,factory:t.\u0275fac,providedIn:"root"});let n=t;return n})();function vb(n,t,r,e){return xi(n.loadChildren()).pipe(G(th),le(i=>i instanceof gd||Array.isArray(i)?A(i):Ft(t.compileModuleAsync(i))),G(i=>{e&&e(n);let o,a,s=!1;return Array.isArray(i)?(a=i,s=!0):(o=i.create(r).injector,a=o.get(jo,[],{optional:!0,self:!0}).flat()),{routes:a.map(fl),injector:o}}))}function yb(n){return n&&typeof n=="object"&&"default"in n}function th(n){return yb(n)?n.default:n}var bl=(()=>{let t=class t{};t.\u0275fac=function(i){return new(i||t)},t.\u0275prov=w({token:t,factory:()=>_(xb),providedIn:"root"});let n=t;return n})(),xb=(()=>{let t=class t{shouldProcessUrl(e){return!0}extract(e){return e}merge(e,i){return e}};t.\u0275fac=function(i){return new(i||t)},t.\u0275prov=w({token:t,factory:t.\u0275fac,providedIn:"root"});let n=t;return n})(),eh=new C(""),ih=new C("");function wb(n,t,r){let e=n.get(ih),i=n.get(q);return n.get(O).runOutsideAngular(()=>{if(!i.startViewTransition||e.skipNextTransition)return e.skipNextTransition=!1,new Promise(c=>setTimeout(c));let o,a=new Promise(c=>{o=c}),s=i.startViewTransition(()=>(o(),Cb(n))),{onViewTransitionCreated:l}=e;return l&&Me(n,()=>l({transition:s,from:t,to:r})),a})}function Cb(n){return new Promise(t=>{fs(t,{injector:n})})}var _l=(()=>{let t=class t{get hasRequestedNavigation(){return this.navigationId!==0}constructor(){this.currentNavigation=null,this.currentTransition=null,this.lastSuccessfulNavigation=null,this.events=new N,this.transitionAbortSubject=new N,this.configLoader=_(gl),this.environmentInjector=_(hi),this.urlSerializer=_(zo),this.rootContexts=_(Bo),this.location=_($i),this.inputBindingEnabled=_(ea,{optional:!0})!==null,this.titleStrategy=_(Ju),this.options=_($o,{optional:!0})||{},this.paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly",this.urlHandlingStrategy=_(bl),this.createViewTransition=_(eh,{optional:!0}),this.navigationId=0,this.afterPreactivation=()=>A(void 0),this.rootComponentType=null;let e=o=>this.events.next(new Ys(o)),i=o=>this.events.next(new Qs(o));this.configLoader.onLoadEndListener=i,this.configLoader.onLoadStartListener=e}complete(){this.transitions?.complete()}handleNavigationRequest(e){let i=++this.navigationId;this.transitions?.next(It(x(x({},this.transitions.value),e),{id:i}))}setupNavigations(e,i,o){return this.transitions=new $t({id:0,currentUrlTree:i,currentRawUrl:i,extractedUrl:this.urlHandlingStrategy.extract(i),urlAfterRedirects:this.urlHandlingStrategy.extract(i),rawUrl:i,extras:{},resolve:null,reject:null,promise:Promise.resolve(!0),source:ko,restoredState:null,currentSnapshot:o.snapshot,targetSnapshot:null,currentRouterState:o,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.transitions.pipe(_t(a=>a.id!==0),G(a=>It(x({},a),{extractedUrl:this.urlHandlingStrategy.extract(a.rawUrl)})),Dt(a=>{let s=!1,l=!1;return A(a).pipe(Dt(c=>{if(this.navigationId>a.id)return this.cancelNavigationTransition(a,"",me.SupersededByNewNavigation),be;this.currentTransition=a,this.currentNavigation={id:c.id,initialUrl:c.rawUrl,extractedUrl:c.extractedUrl,trigger:c.source,extras:c.extras,previousNavigation:this.lastSuccessfulNavigation?It(x({},this.lastSuccessfulNavigation),{previousNavigation:null}):null};let u=!e.navigated||this.isUpdatingInternalState()||this.isUpdatedBrowserUrl(),p=c.extras.onSameUrlNavigation??e.onSameUrlNavigation;if(!u&&p!=="reload"){let v="";return this.events.next(new vi(c.id,this.urlSerializer.serialize(c.rawUrl),v,Wr.IgnoredSameUrlNavigation)),c.resolve(null),be}if(this.urlHandlingStrategy.shouldProcessUrl(c.rawUrl))return A(c).pipe(Dt(v=>{let I=this.transitions?.getValue();return this.events.next(new vn(v.id,this.urlSerializer.serialize(v.extractedUrl),v.source,v.restoredState)),I!==this.transitions?.getValue()?be:Promise.resolve(v)}),mb(this.environmentInjector,this.configLoader,this.rootComponentType,e.config,this.urlSerializer,this.paramsInheritanceStrategy),vt(v=>{a.targetSnapshot=v.targetSnapshot,a.urlAfterRedirects=v.urlAfterRedirects,this.currentNavigation=It(x({},this.currentNavigation),{finalUrl:v.urlAfterRedirects});let I=new Gr(v.id,this.urlSerializer.serialize(v.extractedUrl),this.urlSerializer.serialize(v.urlAfterRedirects),v.targetSnapshot);this.events.next(I)}));if(u&&this.urlHandlingStrategy.shouldProcessUrl(c.currentRawUrl)){let{id:v,extractedUrl:I,source:L,restoredState:et,extras:U}=c,Y=new vn(v,this.urlSerializer.serialize(I),L,et);this.events.next(Y);let Mt=Hu(this.rootComponentType).snapshot;return this.currentTransition=a=It(x({},c),{targetSnapshot:Mt,urlAfterRedirects:I,extras:It(x({},U),{skipLocationChange:!1,replaceUrl:!1})}),this.currentNavigation.finalUrl=I,A(a)}else{let v="";return this.events.next(new vi(c.id,this.urlSerializer.serialize(c.extractedUrl),v,Wr.IgnoredByUrlHandlingStrategy)),c.resolve(null),be}}),vt(c=>{let u=new $s(c.id,this.urlSerializer.serialize(c.extractedUrl),this.urlSerializer.serialize(c.urlAfterRedirects),c.targetSnapshot);this.events.next(u)}),G(c=>(this.currentTransition=a=It(x({},c),{guards:Mg(c.targetSnapshot,c.currentSnapshot,this.rootContexts)}),a)),Bg(this.environmentInjector,c=>this.events.next(c)),vt(c=>{if(a.guardsResult=c.guardsResult,_n(c.guardsResult))throw Gu(this.urlSerializer,c.guardsResult);let u=new Ws(c.id,this.urlSerializer.serialize(c.extractedUrl),this.urlSerializer.serialize(c.urlAfterRedirects),c.targetSnapshot,!!c.guardsResult);this.events.next(u)}),_t(c=>c.guardsResult?!0:(this.cancelNavigationTransition(c,"",me.GuardRejected),!1)),js(c=>{if(c.guards.canActivateChecks.length)return A(c).pipe(vt(u=>{let p=new Gs(u.id,this.urlSerializer.serialize(u.extractedUrl),this.urlSerializer.serialize(u.urlAfterRedirects),u.targetSnapshot);this.events.next(p)}),Dt(u=>{let p=!1;return A(u).pipe(fb(this.paramsInheritanceStrategy,this.environmentInjector),vt({next:()=>p=!0,complete:()=>{p||this.cancelNavigationTransition(u,"",me.NoDataFromResolver)}}))}),vt(u=>{let p=new qs(u.id,this.urlSerializer.serialize(u.extractedUrl),this.urlSerializer.serialize(u.urlAfterRedirects),u.targetSnapshot);this.events.next(p)}))}),js(c=>{let u=p=>{let v=[];p.routeConfig?.loadComponent&&!p.routeConfig._loadedComponent&&v.push(this.configLoader.loadComponent(p.routeConfig).pipe(vt(I=>{p.component=I}),G(()=>{})));for(let I of p.children)v.push(...u(I));return v};return on(u(c.targetSnapshot.root)).pipe(cs(null),wt(1))}),js(()=>this.afterPreactivation()),Dt(()=>{let{currentSnapshot:c,targetSnapshot:u}=a,p=this.createViewTransition?.(this.environmentInjector,c.root,u.root);return p?Ft(p).pipe(G(()=>a)):A(a)}),G(c=>{let u=Cg(e.routeReuseStrategy,c.targetSnapshot,c.currentRouterState);return this.currentTransition=a=It(x({},c),{targetRouterState:u}),this.currentNavigation.targetRouterState=u,a}),vt(()=>{this.events.next(new Oo)}),Rg(this.rootContexts,e.routeReuseStrategy,c=>this.events.next(c),this.inputBindingEnabled),wt(1),vt({next:c=>{s=!0,this.lastSuccessfulNavigation=this.currentNavigation,this.events.next(new Se(c.id,this.urlSerializer.serialize(c.extractedUrl),this.urlSerializer.serialize(c.urlAfterRedirects))),this.titleStrategy?.updateTitle(c.targetRouterState.snapshot),c.resolve(!0)},complete:()=>{s=!0}}),Z(this.transitionAbortSubject.pipe(vt(c=>{throw c}))),ci(()=>{!s&&!l&&this.cancelNavigationTransition(a,"",me.SupersededByNewNavigation),this.currentTransition?.id===a.id&&(this.currentNavigation=null,this.currentTransition=null)}),si(c=>{if(l=!0,Yu(c))this.events.next(new _i(a.id,this.urlSerializer.serialize(a.extractedUrl),c.message,c.cancellationCode)),Eg(c)?this.events.next(new Fo(c.url)):a.resolve(!1);else{this.events.next(new Ao(a.id,this.urlSerializer.serialize(a.extractedUrl),c,a.targetSnapshot??void 0));try{a.resolve(e.errorHandler(c))}catch(u){this.options.resolveNavigationPromiseOnError?a.resolve(!1):a.reject(u)}}return be}))}))}cancelNavigationTransition(e,i,o){let a=new _i(e.id,this.urlSerializer.serialize(e.extractedUrl),i,o);this.events.next(a),e.resolve(!1)}isUpdatingInternalState(){return this.currentTransition?.extractedUrl.toString()!==this.currentTransition?.currentUrlTree.toString()}isUpdatedBrowserUrl(){return this.urlHandlingStrategy.extract(this.urlSerializer.parse(this.location.path(!0))).toString()!==this.currentTransition?.extractedUrl.toString()&&!this.currentTransition?.extras.skipLocationChange}};t.\u0275fac=function(i){return new(i||t)},t.\u0275prov=w({token:t,factory:t.\u0275fac,providedIn:"root"});let n=t;return n})();function Ib(n){return n!==ko}var Db=(()=>{let t=class t{};t.\u0275fac=function(i){return new(i||t)},t.\u0275prov=w({token:t,factory:()=>_(Eb),providedIn:"root"});let n=t;return n})(),dl=class{shouldDetach(t){return!1}store(t,r){}shouldAttach(t){return!1}retrieve(t){return null}shouldReuseRoute(t,r){return t.routeConfig===r.routeConfig}},Eb=(()=>{let t=class t extends dl{};t.\u0275fac=(()=>{let e;return function(o){return(e||(e=St(t)))(o||t)}})(),t.\u0275prov=w({token:t,factory:t.\u0275fac,providedIn:"root"});let n=t;return n})(),nh=(()=>{let t=class t{};t.\u0275fac=function(i){return new(i||t)},t.\u0275prov=w({token:t,factory:()=>_(Sb),providedIn:"root"});let n=t;return n})(),Sb=(()=>{let t=class t extends nh{constructor(){super(...arguments),this.location=_($i),this.urlSerializer=_(zo),this.options=_($o,{optional:!0})||{},this.canceledNavigationResolution=this.options.canceledNavigationResolution||"replace",this.urlHandlingStrategy=_(bl),this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.currentUrlTree=new bi,this.rawUrlTree=this.currentUrlTree,this.currentPageId=0,this.lastSuccessfulId=-1,this.routerState=Hu(null),this.stateMemento=this.createStateMemento()}getCurrentUrlTree(){return this.currentUrlTree}getRawUrlTree(){return this.rawUrlTree}restoredState(){return this.location.getState()}get browserPageId(){return this.canceledNavigationResolution!=="computed"?this.currentPageId:this.restoredState()?.\u0275routerPageId??this.currentPageId}getRouterState(){return this.routerState}createStateMemento(){return{rawUrlTree:this.rawUrlTree,currentUrlTree:this.currentUrlTree,routerState:this.routerState}}registerNonRouterCurrentEntryChangeListener(e){return this.location.subscribe(i=>{i.type==="popstate"&&e(i.url,i.state)})}handleRouterEvent(e,i){if(e instanceof vn)this.stateMemento=this.createStateMemento();else if(e instanceof vi)this.rawUrlTree=i.initialUrl;else if(e instanceof Gr){if(this.urlUpdateStrategy==="eager"&&!i.extras.skipLocationChange){let o=this.urlHandlingStrategy.merge(i.finalUrl,i.initialUrl);this.setBrowserUrl(o,i)}}else e instanceof Oo?(this.currentUrlTree=i.finalUrl,this.rawUrlTree=this.urlHandlingStrategy.merge(i.finalUrl,i.initialUrl),this.routerState=i.targetRouterState,this.urlUpdateStrategy==="deferred"&&(i.extras.skipLocationChange||this.setBrowserUrl(this.rawUrlTree,i))):e instanceof _i&&(e.code===me.GuardRejected||e.code===me.NoDataFromResolver)?this.restoreHistory(i):e instanceof Ao?this.restoreHistory(i,!0):e instanceof Se&&(this.lastSuccessfulId=e.id,this.currentPageId=this.browserPageId)}setBrowserUrl(e,i){let o=this.urlSerializer.serialize(e);if(this.location.isCurrentPathEqualTo(o)||i.extras.replaceUrl){let a=this.browserPageId,s=x(x({},i.extras.state),this.generateNgRouterState(i.id,a));this.location.replaceState(o,"",s)}else{let a=x(x({},i.extras.state),this.generateNgRouterState(i.id,this.browserPageId+1));this.location.go(o,"",a)}}restoreHistory(e,i=!1){if(this.canceledNavigationResolution==="computed"){let o=this.browserPageId,a=this.currentPageId-o;a!==0?this.location.historyGo(a):this.currentUrlTree===e.finalUrl&&a===0&&(this.resetState(e),this.resetUrlToCurrentUrlTree())}else this.canceledNavigationResolution==="replace"&&(i&&this.resetState(e),this.resetUrlToCurrentUrlTree())}resetState(e){this.routerState=this.stateMemento.routerState,this.currentUrlTree=this.stateMemento.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,e.finalUrl??this.rawUrlTree)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}generateNgRouterState(e,i){return this.canceledNavigationResolution==="computed"?{navigationId:e,\u0275routerPageId:i}:{navigationId:e}}};t.\u0275fac=(()=>{let e;return function(o){return(e||(e=St(t)))(o||t)}})(),t.\u0275prov=w({token:t,factory:t.\u0275fac,providedIn:"root"});let n=t;return n})(),Eo=function(n){return n[n.COMPLETE=0]="COMPLETE",n[n.FAILED=1]="FAILED",n[n.REDIRECTING=2]="REDIRECTING",n}(Eo||{});function oh(n,t){n.events.pipe(_t(r=>r instanceof Se||r instanceof _i||r instanceof Ao||r instanceof vi),G(r=>r instanceof Se||r instanceof vi?Eo.COMPLETE:(r instanceof _i?r.code===me.Redirect||r.code===me.SupersededByNewNavigation:!1)?Eo.REDIRECTING:Eo.FAILED),_t(r=>r!==Eo.REDIRECTING),wt(1)).subscribe(()=>{t()})}function kb(n){throw n}var Tb={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},Rb={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"},Qt=(()=>{let t=class t{get currentUrlTree(){return this.stateManager.getCurrentUrlTree()}get rawUrlTree(){return this.stateManager.getRawUrlTree()}get events(){return this._events}get routerState(){return this.stateManager.getRouterState()}constructor(){this.disposed=!1,this.isNgZoneEnabled=!1,this.console=_(Er),this.stateManager=_(nh),this.options=_($o,{optional:!0})||{},this.pendingTasks=_(Cr),this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.navigationTransitions=_(_l),this.urlSerializer=_(zo),this.location=_($i),this.urlHandlingStrategy=_(bl),this._events=new N,this.errorHandler=this.options.errorHandler||kb,this.navigated=!1,this.routeReuseStrategy=_(Db),this.onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore",this.config=_(jo,{optional:!0})?.flat()??[],this.componentInputBindingEnabled=!!_(ea,{optional:!0}),this.eventsSubscription=new xt,this.isNgZoneEnabled=_(O)instanceof O&&O.isInAngularZone(),this.resetConfig(this.config),this.navigationTransitions.setupNavigations(this,this.currentUrlTree,this.routerState).subscribe({error:e=>{this.console.warn(e)}}),this.subscribeToNavigationEvents()}subscribeToNavigationEvents(){let e=this.navigationTransitions.events.subscribe(i=>{try{let o=this.navigationTransitions.currentTransition,a=this.navigationTransitions.currentNavigation;if(o!==null&&a!==null){if(this.stateManager.handleRouterEvent(i,a),i instanceof _i&&i.code!==me.Redirect&&i.code!==me.SupersededByNewNavigation)this.navigated=!0;else if(i instanceof Se)this.navigated=!0;else if(i instanceof Fo){let s=this.urlHandlingStrategy.merge(i.url,o.currentRawUrl),l={info:o.extras.info,skipLocationChange:o.extras.skipLocationChange,replaceUrl:this.urlUpdateStrategy==="eager"||Ib(o.source)};this.scheduleNavigation(s,ko,null,l,{resolve:o.resolve,reject:o.reject,promise:o.promise})}}Ab(i)&&this._events.next(i)}catch(o){this.navigationTransitions.transitionAbortSubject.next(o)}});this.eventsSubscription.add(e)}resetRootComponentType(e){this.routerState.root.component=e,this.navigationTransitions.rootComponentType=e}initialNavigation(){this.setUpLocationChangeListener(),this.navigationTransitions.hasRequestedNavigation||this.navigateToSyncWithBrowser(this.location.path(!0),ko,this.stateManager.restoredState())}setUpLocationChangeListener(){this.nonRouterCurrentEntryChangeSubscription??=this.stateManager.registerNonRouterCurrentEntryChangeListener((e,i)=>{setTimeout(()=>{this.navigateToSyncWithBrowser(e,"popstate",i)},0)})}navigateToSyncWithBrowser(e,i,o){let a={replaceUrl:!0},s=o?.navigationId?o:null;if(o){let c=x({},o);delete c.navigationId,delete c.\u0275routerPageId,Object.keys(c).length!==0&&(a.state=c)}let l=this.parseUrl(e);this.scheduleNavigation(l,i,s,a)}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.navigationTransitions.currentNavigation}get lastSuccessfulNavigation(){return this.navigationTransitions.lastSuccessfulNavigation}resetConfig(e){this.config=e.map(fl),this.navigated=!1}ngOnDestroy(){this.dispose()}dispose(){this.navigationTransitions.complete(),this.nonRouterCurrentEntryChangeSubscription&&(this.nonRouterCurrentEntryChangeSubscription.unsubscribe(),this.nonRouterCurrentEntryChangeSubscription=void 0),this.disposed=!0,this.eventsSubscription.unsubscribe()}createUrlTree(e,i={}){let{relativeTo:o,queryParams:a,fragment:s,queryParamsHandling:l,preserveFragment:c}=i,u=c?this.currentUrlTree.fragment:s,p=null;switch(l){case"merge":p=x(x({},this.currentUrlTree.queryParams),a);break;case"preserve":p=this.currentUrlTree.queryParams;break;default:p=a||null}p!==null&&(p=this.removeEmptyProps(p));let v;try{let I=o?o.snapshot:this.routerState.snapshot.root;v=ju(I)}catch{(typeof e[0]!="string"||!e[0].startsWith("/"))&&(e=[]),v=this.currentUrlTree.root}return Vu(v,e,p,u??null)}navigateByUrl(e,i={skipLocationChange:!1}){let o=_n(e)?e:this.parseUrl(e),a=this.urlHandlingStrategy.merge(o,this.rawUrlTree);return this.scheduleNavigation(a,ko,null,i)}navigate(e,i={skipLocationChange:!1}){return Mb(e),this.navigateByUrl(this.createUrlTree(e,i),i)}serializeUrl(e){return this.urlSerializer.serialize(e)}parseUrl(e){try{return this.urlSerializer.parse(e)}catch{return this.urlSerializer.parse("/")}}isActive(e,i){let o;if(i===!0?o=x({},Tb):i===!1?o=x({},Rb):o=i,_n(e))return yu(this.currentUrlTree,e,o);let a=this.parseUrl(e);return yu(this.currentUrlTree,a,o)}removeEmptyProps(e){return Object.entries(e).reduce((i,[o,a])=>(a!=null&&(i[o]=a),i),{})}scheduleNavigation(e,i,o,a,s){if(this.disposed)return Promise.resolve(!1);let l,c,u;s?(l=s.resolve,c=s.reject,u=s.promise):u=new Promise((v,I)=>{l=v,c=I});let p=this.pendingTasks.add();return oh(this,()=>{queueMicrotask(()=>this.pendingTasks.remove(p))}),this.navigationTransitions.handleNavigationRequest({source:i,restoredState:o,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,rawUrl:e,extras:a,resolve:l,reject:c,promise:u,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),u.catch(v=>Promise.reject(v))}};t.\u0275fac=function(i){return new(i||t)},t.\u0275prov=w({token:t,factory:t.\u0275fac,providedIn:"root"});let n=t;return n})();function Mb(n){for(let t=0;t{let t=class t{constructor(e,i,o,a,s,l){this.router=e,this.route=i,this.tabIndexAttribute=o,this.renderer=a,this.el=s,this.locationStrategy=l,this.href=null,this.commands=null,this.onChanges=new N,this.preserveFragment=!1,this.skipLocationChange=!1,this.replaceUrl=!1;let c=s.nativeElement.tagName?.toLowerCase();this.isAnchorElement=c==="a"||c==="area",this.isAnchorElement?this.subscription=e.events.subscribe(u=>{u instanceof Se&&this.updateHref()}):this.setTabIndexIfNotOnNativeEl("0")}setTabIndexIfNotOnNativeEl(e){this.tabIndexAttribute!=null||this.isAnchorElement||this.applyAttributeValue("tabindex",e)}ngOnChanges(e){this.isAnchorElement&&this.updateHref(),this.onChanges.next(this)}set routerLink(e){e!=null?(this.commands=Array.isArray(e)?e:[e],this.setTabIndexIfNotOnNativeEl("0")):(this.commands=null,this.setTabIndexIfNotOnNativeEl(null))}onClick(e,i,o,a,s){let l=this.urlTree;if(l===null||this.isAnchorElement&&(e!==0||i||o||a||s||typeof this.target=="string"&&this.target!="_self"))return!0;let c={skipLocationChange:this.skipLocationChange,replaceUrl:this.replaceUrl,state:this.state,info:this.info};return this.router.navigateByUrl(l,c),!this.isAnchorElement}ngOnDestroy(){this.subscription?.unsubscribe()}updateHref(){let e=this.urlTree;this.href=e!==null&&this.locationStrategy?this.locationStrategy?.prepareExternalUrl(this.router.serializeUrl(e)):null;let i=this.href===null?null:fd(this.href,this.el.nativeElement.tagName.toLowerCase(),"href");this.applyAttributeValue("href",i)}applyAttributeValue(e,i){let o=this.renderer,a=this.el.nativeElement;i!==null?o.setAttribute(a,e,i):o.removeAttribute(a,e)}get urlTree(){return this.commands===null?null:this.router.createUrlTree(this.commands,{relativeTo:this.relativeTo!==void 0?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:this.preserveFragment})}};t.\u0275fac=function(i){return new(i||t)(d(Qt),d(yi),ve("tabindex"),d(Vi),d(T),d(lo))},t.\u0275dir=y({type:t,selectors:[["","routerLink",""]],hostVars:1,hostBindings:function(i,o){i&1&&H("click",function(s){return o.onClick(s.button,s.ctrlKey,s.shiftKey,s.altKey,s.metaKey)}),i&2&&nt("target",o.target)},inputs:{target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",state:"state",info:"info",relativeTo:"relativeTo",preserveFragment:[m.HasDecoratorInputTransform,"preserveFragment","preserveFragment",M],skipLocationChange:[m.HasDecoratorInputTransform,"skipLocationChange","skipLocationChange",M],replaceUrl:[m.HasDecoratorInputTransform,"replaceUrl","replaceUrl",M],routerLink:"routerLink"},standalone:!0,features:[lt,ut]});let n=t;return n})(),rh=(()=>{let t=class t{get isActive(){return this._isActive}constructor(e,i,o,a,s){this.router=e,this.element=i,this.renderer=o,this.cdr=a,this.link=s,this.classes=[],this._isActive=!1,this.routerLinkActiveOptions={exact:!1},this.isActiveChange=new z,this.routerEventsSubscription=e.events.subscribe(l=>{l instanceof Se&&this.update()})}ngAfterContentInit(){A(this.links.changes,A(null)).pipe(eo()).subscribe(e=>{this.update(),this.subscribeToEachLinkOnChanges()})}subscribeToEachLinkOnChanges(){this.linkInputChangesSubscription?.unsubscribe();let e=[...this.links.toArray(),this.link].filter(i=>!!i).map(i=>i.onChanges);this.linkInputChangesSubscription=Ft(e).pipe(eo()).subscribe(i=>{this._isActive!==this.isLinkActive(this.router)(i)&&this.update()})}set routerLinkActive(e){let i=Array.isArray(e)?e:e.split(" ");this.classes=i.filter(o=>!!o)}ngOnChanges(e){this.update()}ngOnDestroy(){this.routerEventsSubscription.unsubscribe(),this.linkInputChangesSubscription?.unsubscribe()}update(){!this.links||!this.router.navigated||queueMicrotask(()=>{let e=this.hasActiveLinks();this.classes.forEach(i=>{e?this.renderer.addClass(this.element.nativeElement,i):this.renderer.removeClass(this.element.nativeElement,i)}),e&&this.ariaCurrentWhenActive!==void 0?this.renderer.setAttribute(this.element.nativeElement,"aria-current",this.ariaCurrentWhenActive.toString()):this.renderer.removeAttribute(this.element.nativeElement,"aria-current"),this._isActive!==e&&(this._isActive=e,this.cdr.markForCheck(),this.isActiveChange.emit(e))})}isLinkActive(e){let i=Ob(this.routerLinkActiveOptions)?this.routerLinkActiveOptions:this.routerLinkActiveOptions.exact||!1;return o=>{let a=o.urlTree;return a?e.isActive(a,i):!1}}hasActiveLinks(){let e=this.isLinkActive(this.router);return this.link&&e(this.link)||this.links.some(e)}};t.\u0275fac=function(i){return new(i||t)(d(Qt),d(T),d(Vi),d(ft),d(Jr,8))},t.\u0275dir=y({type:t,selectors:[["","routerLinkActive",""]],contentQueries:function(i,o,a){if(i&1&&ct(a,Jr,5),i&2){let s;S(s=k())&&(o.links=s)}},inputs:{routerLinkActiveOptions:"routerLinkActiveOptions",ariaCurrentWhenActive:"ariaCurrentWhenActive",routerLinkActive:"routerLinkActive"},outputs:{isActiveChange:"isActiveChange"},exportAs:["routerLinkActive"],standalone:!0,features:[ut]});let n=t;return n})();function Ob(n){return!!n.paths}var ta=class{};var Fb=(()=>{let t=class t{constructor(e,i,o,a,s){this.router=e,this.injector=o,this.preloadingStrategy=a,this.loader=s}setUpPreloading(){this.subscription=this.router.events.pipe(_t(e=>e instanceof Se),li(()=>this.preload())).subscribe(()=>{})}preload(){return this.processRoutes(this.injector,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(e,i){let o=[];for(let a of i){a.providers&&!a._injector&&(a._injector=gs(a.providers,e,`Route: ${a.path}`));let s=a._injector??e,l=a._loadedInjector??s;(a.loadChildren&&!a._loadedRoutes&&a.canLoad===void 0||a.loadComponent&&!a._loadedComponent)&&o.push(this.preloadConfig(s,a)),(a.children||a._loadedRoutes)&&o.push(this.processRoutes(l,a.children??a._loadedRoutes))}return Ft(o).pipe(eo())}preloadConfig(e,i){return this.preloadingStrategy.preload(i,()=>{let o;i.loadChildren&&i.canLoad===void 0?o=this.loader.loadChildren(e,i):o=A(null);let a=o.pipe(le(s=>s===null?A(void 0):(i._loadedRoutes=s.routes,i._loadedInjector=s.injector,this.processRoutes(s.injector??e,s.routes))));if(i.loadComponent&&!i._loadedComponent){let s=this.loader.loadComponent(i);return Ft([a,s]).pipe(eo())}else return a})}};t.\u0275fac=function(i){return new(i||t)(b(Qt),b(kr),b(hi),b(ta),b(gl))},t.\u0275prov=w({token:t,factory:t.\u0275fac,providedIn:"root"});let n=t;return n})(),ah=new C(""),Pb=(()=>{let t=class t{constructor(e,i,o,a,s={}){this.urlSerializer=e,this.transitions=i,this.viewportScroller=o,this.zone=a,this.options=s,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},this.environmentInjector=_(hi),s.scrollPositionRestoration||="disabled",s.anchorScrolling||="disabled"}init(){this.options.scrollPositionRestoration!=="disabled"&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}createScrollEvents(){return this.transitions.events.subscribe(e=>{e instanceof vn?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=e.navigationTrigger,this.restoredId=e.restoredState?e.restoredState.navigationId:0):e instanceof Se?(this.lastId=e.id,this.scheduleScrollEvent(e,this.urlSerializer.parse(e.urlAfterRedirects).fragment)):e instanceof vi&&e.code===Wr.IgnoredSameUrlNavigation&&(this.lastSource=void 0,this.restoredId=0,this.scheduleScrollEvent(e,this.urlSerializer.parse(e.url).fragment))})}consumeScrollEvents(){return this.transitions.events.subscribe(e=>{e instanceof qr&&(e.position?this.options.scrollPositionRestoration==="top"?this.viewportScroller.scrollToPosition([0,0]):this.options.scrollPositionRestoration==="enabled"&&this.viewportScroller.scrollToPosition(e.position):e.anchor&&this.options.anchorScrolling==="enabled"?this.viewportScroller.scrollToAnchor(e.anchor):this.options.scrollPositionRestoration!=="disabled"&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(e,i){this.zone.runOutsideAngular(()=>Nt(this,null,function*(){yield new Promise(o=>{setTimeout(()=>{o()}),fs(()=>{o()},{injector:this.environmentInjector})}),this.zone.run(()=>{this.transitions.events.next(new qr(e,this.lastSource==="popstate"?this.store[this.restoredId]:null,i))})}))}ngOnDestroy(){this.routerEventsSubscription?.unsubscribe(),this.scrollEventsSubscription?.unsubscribe()}};t.\u0275fac=function(i){dn()},t.\u0275prov=w({token:t,factory:t.\u0275fac});let n=t;return n})();function sh(n,...t){return ui([{provide:jo,multi:!0,useValue:n},[],{provide:yi,useFactory:lh,deps:[Qt]},{provide:so,multi:!0,useFactory:ch},t.map(r=>r.\u0275providers)])}function lh(n){return n.routerState.root}function Wo(n,t){return{\u0275kind:n,\u0275providers:t}}function ch(){let n=_(mi);return t=>{let r=n.get(Bi);if(t!==r.components[0])return;let e=n.get(Qt),i=n.get(dh);n.get(vl)===1&&e.initialNavigation(),n.get(uh,null,hs.Optional)?.setUpPreloading(),n.get(ah,null,hs.Optional)?.init(),e.resetRootComponentType(r.componentTypes[0]),i.closed||(i.next(),i.complete(),i.unsubscribe())}}var dh=new C("",{factory:()=>new N}),vl=new C("",{providedIn:"root",factory:()=>1});function Nb(){return Wo(2,[{provide:vl,useValue:0},{provide:bs,multi:!0,deps:[mi],useFactory:t=>{let r=t.get(Md,Promise.resolve());return()=>r.then(()=>new Promise(e=>{let i=t.get(Qt),o=t.get(dh);oh(i,()=>{e(!0)}),t.get(_l).afterPreactivation=()=>(e(!0),o.closed?A(void 0):o),i.initialNavigation()}))}}])}function Lb(){return Wo(3,[{provide:bs,multi:!0,useFactory:()=>{let t=_(Qt);return()=>{t.setUpLocationChangeListener()}}},{provide:vl,useValue:2}])}var uh=new C("");function jb(n){return Wo(0,[{provide:uh,useExisting:Fb},{provide:ta,useExisting:n}])}function Vb(){return Wo(8,[Iu,{provide:ea,useExisting:Iu}])}function zb(n){let t=[{provide:eh,useValue:wb},{provide:ih,useValue:x({skipNextTransition:!!n?.skipInitialTransition},n)}];return Wo(9,t)}var Eu=new C("ROUTER_FORROOT_GUARD"),Bb=[$i,{provide:zo,useClass:Ro},Qt,Bo,{provide:yi,useFactory:lh,deps:[Qt]},gl,[]],hh=(()=>{let t=class t{constructor(e){}static forRoot(e,i){return{ngModule:t,providers:[Bb,[],{provide:jo,multi:!0,useValue:e},{provide:Eu,useFactory:Wb,deps:[[Qt,new sn,new io]]},{provide:$o,useValue:i||{}},i?.useHash?Ub():$b(),Hb(),i?.preloadingStrategy?jb(i.preloadingStrategy).\u0275providers:[],i?.initialNavigation?Gb(i):[],i?.bindToComponentInputs?Vb().\u0275providers:[],i?.enableViewTransitions?zb().\u0275providers:[],qb()]}}static forChild(e){return{ngModule:t,providers:[{provide:jo,multi:!0,useValue:e}]}}};t.\u0275fac=function(i){return new(i||t)(b(Eu,8))},t.\u0275mod=W({type:t}),t.\u0275inj=$({});let n=t;return n})();function Hb(){return{provide:ah,useFactory:()=>{let n=_(Vd),t=_(O),r=_($o),e=_(_l),i=_(zo);return r.scrollOffset&&n.setOffset(r.scrollOffset),new Pb(i,e,n,t,r)}}}function Ub(){return{provide:lo,useClass:Fd}}function $b(){return{provide:lo,useClass:Od}}function Wb(n){return"guarded"}function Gb(n){return[n.initialNavigation==="disabled"?Lb().\u0275providers:[],n.initialNavigation==="enabledBlocking"?Nb().\u0275providers:[]]}var Su=new C("");function qb(){return[{provide:Su,useFactory:ch},{provide:so,multi:!0,useExisting:Su}]}var xl;try{xl=typeof Intl<"u"&&Intl.v8BreakIterator}catch{xl=!1}var at=(()=>{let t=class t{constructor(e){this._platformId=e,this.isBrowser=this._platformId?jd(this._platformId):typeof document=="object"&&!!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||xl)&&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}};t.\u0275fac=function(i){return new(i||t)(b(Oe))},t.\u0275prov=w({token:t,factory:t.\u0275fac,providedIn:"root"});let n=t;return n})();var wn,fh=["color","button","checkbox","date","datetime-local","email","file","hidden","image","month","number","password","radio","range","reset","search","submit","tel","text","time","url","week"];function wl(){if(wn)return wn;if(typeof document!="object"||!document)return wn=new Set(fh),wn;let n=document.createElement("input");return wn=new Set(fh.filter(t=>(n.setAttribute("type",t),n.type===t))),wn}var Go;function Yb(){if(Go==null&&typeof window<"u")try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>Go=!0}))}finally{Go=Go||!1}return Go}function we(n){return Yb()?n:!!n.capture}var ke=function(n){return n[n.NORMAL=0]="NORMAL",n[n.NEGATED=1]="NEGATED",n[n.INVERTED=2]="INVERTED",n}(ke||{}),na,Yi;function oa(){if(Yi==null){if(typeof document!="object"||!document||typeof Element!="function"||!Element)return Yi=!1,Yi;if("scrollBehavior"in document.documentElement.style)Yi=!0;else{let n=Element.prototype.scrollTo;n?Yi=!/\{\s*\[native code\]\s*\}/.test(n.toString()):Yi=!1}}return Yi}function Cn(){if(typeof document!="object"||!document)return ke.NORMAL;if(na==null){let n=document.createElement("div"),t=n.style;n.dir="rtl",t.width="1px",t.overflow="auto",t.visibility="hidden",t.pointerEvents="none",t.position="absolute";let r=document.createElement("div"),e=r.style;e.width="2px",e.height="1px",n.appendChild(r),document.body.appendChild(n),na=ke.NORMAL,n.scrollLeft===0&&(n.scrollLeft=1,na=n.scrollLeft===0?ke.NEGATED:ke.INVERTED),n.remove()}return na}var yl;function Qb(){if(yl==null){let n=typeof document<"u"?document.head:null;yl=!!(n&&(n.createShadowRoot||n.attachShadow))}return yl}function ph(n){if(Qb()){let t=n.getRootNode?n.getRootNode():null;if(typeof ShadowRoot<"u"&&ShadowRoot&&t instanceof ShadowRoot)return t}return null}function Cl(){let n=typeof document<"u"&&document?document.activeElement:null;for(;n&&n.shadowRoot;){let t=n.shadowRoot.activeElement;if(t===n)break;n=t}return n}function oe(n){return n.composedPath?n.composedPath()[0]:n.target}function qo(){return typeof __karma__<"u"&&!!__karma__||typeof jasmine<"u"&&!!jasmine||typeof jest<"u"&&!!jest||typeof Mocha<"u"&&!!Mocha}function Lt(n,...t){return t.length?t.some(r=>n[r]):n.altKey||n.shiftKey||n.ctrlKey||n.metaKey}function ze(n){return n!=null&&`${n}`!="false"}function wi(n,t=0){return Xb(n)?Number(n):t}function Xb(n){return!isNaN(parseFloat(n))&&!isNaN(Number(n))}function In(n){return Array.isArray(n)?n:[n]}function Ot(n){return n==null?"":typeof n=="string"?n:`${n}px`}function re(n){return n instanceof T?n.nativeElement:n}function Zb(n){if(n.type==="characterData"&&n.target instanceof Comment)return!0;if(n.type==="childList"){for(let t=0;t{let t=class t{create(e){return typeof MutationObserver>"u"?null:new MutationObserver(e)}};t.\u0275fac=function(i){return new(i||t)},t.\u0275prov=w({token:t,factory:t.\u0275fac,providedIn:"root"});let n=t;return n})(),Kb=(()=>{let t=class t{constructor(e){this._mutationObserverFactory=e,this._observedElements=new Map}ngOnDestroy(){this._observedElements.forEach((e,i)=>this._cleanupObserver(i))}observe(e){let i=re(e);return new Zt(o=>{let s=this._observeElement(i).pipe(G(l=>l.filter(c=>!Zb(c))),_t(l=>!!l.length)).subscribe(o);return()=>{s.unsubscribe(),this._unobserveElement(i)}})}_observeElement(e){if(this._observedElements.has(e))this._observedElements.get(e).count++;else{let i=new N,o=this._mutationObserverFactory.create(a=>i.next(a));o&&o.observe(e,{characterData:!0,childList:!0,subtree:!0}),this._observedElements.set(e,{observer:o,stream:i,count:1})}return this._observedElements.get(e).stream}_unobserveElement(e){this._observedElements.has(e)&&(this._observedElements.get(e).count--,this._observedElements.get(e).count||this._cleanupObserver(e))}_cleanupObserver(e){if(this._observedElements.has(e)){let{observer:i,stream:o}=this._observedElements.get(e);i&&i.disconnect(),o.complete(),this._observedElements.delete(e)}}};t.\u0275fac=function(i){return new(i||t)(b(gh))},t.\u0275prov=w({token:t,factory:t.\u0275fac,providedIn:"root"});let n=t;return n})(),bh=(()=>{let t=class t{get disabled(){return this._disabled}set disabled(e){this._disabled=e,this._disabled?this._unsubscribe():this._subscribe()}get debounce(){return this._debounce}set debounce(e){this._debounce=wi(e),this._subscribe()}constructor(e,i,o){this._contentObserver=e,this._elementRef=i,this._ngZone=o,this.event=new z,this._disabled=!1,this._currentSubscription=null}ngAfterContentInit(){!this._currentSubscription&&!this.disabled&&this._subscribe()}ngOnDestroy(){this._unsubscribe()}_subscribe(){this._unsubscribe();let e=this._contentObserver.observe(this._elementRef);this._ngZone.runOutsideAngular(()=>{this._currentSubscription=(this.debounce?e.pipe(rn(this.debounce)):e).subscribe(this.event)})}_unsubscribe(){this._currentSubscription?.unsubscribe()}};t.\u0275fac=function(i){return new(i||t)(d(Kb),d(T),d(O))},t.\u0275dir=y({type:t,selectors:[["","cdkObserveContent",""]],inputs:{disabled:[m.HasDecoratorInputTransform,"cdkObserveContentDisabled","disabled",M],debounce:"debounce"},outputs:{event:"cdkObserveContent"},exportAs:["cdkObserveContent"],standalone:!0,features:[lt]});let n=t;return n})(),ra=(()=>{let t=class t{};t.\u0275fac=function(i){return new(i||t)},t.\u0275mod=W({type:t}),t.\u0275inj=$({providers:[gh]});let n=t;return n})();var _h=new Set,Qi,Jb=(()=>{let t=class t{constructor(e,i){this._platform=e,this._nonce=i,this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):e_}matchMedia(e){return(this._platform.WEBKIT||this._platform.BLINK)&&t_(e,this._nonce),this._matchMedia(e)}};t.\u0275fac=function(i){return new(i||t)(b(at),b(ro,8))},t.\u0275prov=w({token:t,factory:t.\u0275fac,providedIn:"root"});let n=t;return n})();function t_(n,t){if(!_h.has(n))try{Qi||(Qi=document.createElement("style"),t&&Qi.setAttribute("nonce",t),Qi.setAttribute("type","text/css"),document.head.appendChild(Qi)),Qi.sheet&&(Qi.sheet.insertRule(`@media ${n} {body{ }}`,0),_h.add(n))}catch(r){console.error(r)}}function e_(n){return{matches:n==="all"||n==="",media:n,addListener:()=>{},removeListener:()=>{}}}var yh=(()=>{let t=class t{constructor(e,i){this._mediaMatcher=e,this._zone=i,this._queries=new Map,this._destroySubject=new N}ngOnDestroy(){this._destroySubject.next(),this._destroySubject.complete()}isMatched(e){return vh(In(e)).some(o=>this._registerQuery(o).mql.matches)}observe(e){let o=vh(In(e)).map(s=>this._registerQuery(s).observable),a=on(o);return a=_r(a.pipe(wt(1)),a.pipe(an(1),rn(0))),a.pipe(G(s=>{let l={matches:!1,breakpoints:{}};return s.forEach(({matches:c,query:u})=>{l.matches=l.matches||c,l.breakpoints[u]=c}),l}))}_registerQuery(e){if(this._queries.has(e))return this._queries.get(e);let i=this._mediaMatcher.matchMedia(e),a={observable:new Zt(s=>{let l=c=>this._zone.run(()=>s.next(c));return i.addListener(l),()=>{i.removeListener(l)}}).pipe(Tt(i),G(({matches:s})=>({query:e,matches:s})),Z(this._destroySubject)),mql:i};return this._queries.set(e,a),a}};t.\u0275fac=function(i){return new(i||t)(b(Jb),b(O))},t.\u0275prov=w({token:t,factory:t.\u0275fac,providedIn:"root"});let n=t;return n})();function vh(n){return n.map(t=>t.split(",")).reduce((t,r)=>t.concat(r)).map(t=>t.trim())}var Ih=" ";function Tn(n,t,r){let e=ca(n,t);r=r.trim(),!e.some(i=>i.trim()===r)&&(e.push(r),n.setAttribute(t,e.join(Ih)))}function Ci(n,t,r){let e=ca(n,t);r=r.trim();let i=e.filter(o=>o!==r);i.length?n.setAttribute(t,i.join(Ih)):n.removeAttribute(t)}function ca(n,t){return n.getAttribute(t)?.match(/\S+/g)??[]}var Dh="cdk-describedby-message",aa="cdk-describedby-host",El=0,Eh=(()=>{let t=class t{constructor(e,i){this._platform=i,this._messageRegistry=new Map,this._messagesContainer=null,this._id=`${El++}`,this._document=e,this._id=_(oo)+"-"+El++}describe(e,i,o){if(!this._canBeDescribed(e,i))return;let a=Il(i,o);typeof i!="string"?(xh(i,this._id),this._messageRegistry.set(a,{messageElement:i,referenceCount:0})):this._messageRegistry.has(a)||this._createMessageElement(i,o),this._isElementDescribedByMessage(e,a)||this._addMessageReference(e,a)}removeDescription(e,i,o){if(!i||!this._isElementNode(e))return;let a=Il(i,o);if(this._isElementDescribedByMessage(e,a)&&this._removeMessageReference(e,a),typeof i=="string"){let s=this._messageRegistry.get(a);s&&s.referenceCount===0&&this._deleteMessageElement(a)}this._messagesContainer?.childNodes.length===0&&(this._messagesContainer.remove(),this._messagesContainer=null)}ngOnDestroy(){let e=this._document.querySelectorAll(`[${aa}="${this._id}"]`);for(let i=0;io.indexOf(Dh)!=0);e.setAttribute("aria-describedby",i.join(" "))}_addMessageReference(e,i){let o=this._messageRegistry.get(i);Tn(e,"aria-describedby",o.messageElement.id),e.setAttribute(aa,this._id),o.referenceCount++}_removeMessageReference(e,i){let o=this._messageRegistry.get(i);o.referenceCount--,Ci(e,"aria-describedby",o.messageElement.id),e.removeAttribute(aa)}_isElementDescribedByMessage(e,i){let o=ca(e,"aria-describedby"),a=this._messageRegistry.get(i),s=a&&a.messageElement.id;return!!s&&o.indexOf(s)!=-1}_canBeDescribed(e,i){if(!this._isElementNode(e))return!1;if(i&&typeof i=="object")return!0;let o=i==null?"":`${i}`.trim(),a=e.getAttribute("aria-label");return o?!a||a.trim()!==o:!1}_isElementNode(e){return e.nodeType===this._document.ELEMENT_NODE}};t.\u0275fac=function(i){return new(i||t)(b(q),b(at))},t.\u0275prov=w({token:t,factory:t.\u0275fac,providedIn:"root"});let n=t;return n})();function Il(n,t){return typeof n=="string"?`${t||""}/${n}`:n}function xh(n,t){n.id||(n.id=`${Dh}-${t}-${El++}`)}var da=class{constructor(t,r){this._items=t,this._activeItemIndex=-1,this._activeItem=null,this._wrap=!1,this._letterKeyStream=new N,this._typeaheadSubscription=xt.EMPTY,this._vertical=!0,this._allowedModifierKeys=[],this._homeAndEnd=!1,this._pageUpAndDown={enabled:!1,delta:10},this._skipPredicateFn=e=>e.disabled,this._pressedLetters=[],this.tabOut=new N,this.change=new N,t instanceof Ae?this._itemChangesSubscription=t.changes.subscribe(e=>this._itemsChanged(e.toArray())):ps(t)&&(this._effectRef=Sd(()=>this._itemsChanged(t()),{injector:r}))}skipPredicate(t){return this._skipPredicateFn=t,this}withWrap(t=!0){return this._wrap=t,this}withVerticalOrientation(t=!0){return this._vertical=t,this}withHorizontalOrientation(t){return this._horizontal=t,this}withAllowedModifierKeys(t){return this._allowedModifierKeys=t,this}withTypeAhead(t=200){return this._typeaheadSubscription.unsubscribe(),this._typeaheadSubscription=this._letterKeyStream.pipe(vt(r=>this._pressedLetters.push(r)),rn(t),_t(()=>this._pressedLetters.length>0),G(()=>this._pressedLetters.join(""))).subscribe(r=>{let e=this._getItemsArray();for(let i=1;i!t[o]||this._allowedModifierKeys.indexOf(o)>-1);switch(r){case 9:this.tabOut.next();return;case 40:if(this._vertical&&i){this.setNextItemActive();break}else return;case 38:if(this._vertical&&i){this.setPreviousItemActive();break}else return;case 39:if(this._horizontal&&i){this._horizontal==="rtl"?this.setPreviousItemActive():this.setNextItemActive();break}else return;case 37:if(this._horizontal&&i){this._horizontal==="rtl"?this.setNextItemActive():this.setPreviousItemActive();break}else return;case 36:if(this._homeAndEnd&&i){this.setFirstItemActive();break}else return;case 35:if(this._homeAndEnd&&i){this.setLastItemActive();break}else return;case 33:if(this._pageUpAndDown.enabled&&i){let o=this._activeItemIndex-this._pageUpAndDown.delta;this._setActiveItemByIndex(o>0?o:0,1);break}else return;case 34:if(this._pageUpAndDown.enabled&&i){let o=this._activeItemIndex+this._pageUpAndDown.delta,a=this._getItemsArray().length;this._setActiveItemByIndex(o=65&&r<=90||r>=48&&r<=57)&&this._letterKeyStream.next(String.fromCharCode(r)));return}this._pressedLetters=[],t.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._getItemsArray().length-1,-1)}setNextItemActive(){this._activeItemIndex<0?this.setFirstItemActive():this._setActiveItemByDelta(1)}setPreviousItemActive(){this._activeItemIndex<0&&this._wrap?this.setLastItemActive():this._setActiveItemByDelta(-1)}updateActiveItem(t){let r=this._getItemsArray(),e=typeof t=="number"?t:r.indexOf(t),i=r[e];this._activeItem=i??null,this._activeItemIndex=e}destroy(){this._typeaheadSubscription.unsubscribe(),this._itemChangesSubscription?.unsubscribe(),this._effectRef?.destroy(),this._letterKeyStream.complete(),this.tabOut.complete(),this.change.complete(),this._pressedLetters=[]}_setActiveItemByDelta(t){this._wrap?this._setActiveInWrapMode(t):this._setActiveInDefaultMode(t)}_setActiveInWrapMode(t){let r=this._getItemsArray();for(let e=1;e<=r.length;e++){let i=(this._activeItemIndex+t*e+r.length)%r.length,o=r[i];if(!this._skipPredicateFn(o)){this.setActiveItem(i);return}}}_setActiveInDefaultMode(t){this._setActiveItemByIndex(this._activeItemIndex+t,t)}_setActiveItemByIndex(t,r){let e=this._getItemsArray();if(e[t]){for(;this._skipPredicateFn(e[t]);)if(t+=r,!e[t])return;this.setActiveItem(t)}}_getItemsArray(){return ps(this._items)?this._items():this._items instanceof Ae?this._items.toArray():this._items}_itemsChanged(t){if(this._activeItem){let r=t.indexOf(this._activeItem);r>-1&&r!==this._activeItemIndex&&(this._activeItemIndex=r)}}},En=class extends da{setActiveItem(t){this.activeItem&&this.activeItem.setInactiveStyles(),super.setActiveItem(t),this.activeItem&&this.activeItem.setActiveStyles()}},Sn=class extends da{constructor(){super(...arguments),this._origin="program"}setFocusOrigin(t){return this._origin=t,this}setActiveItem(t){super.setActiveItem(t),this.activeItem&&this.activeItem.focus(this._origin)}};function Ml(n){return n.buttons===0||n.detail===0}function Al(n){let t=n.touches&&n.touches[0]||n.changedTouches&&n.changedTouches[0];return!!t&&t.identifier===-1&&(t.radiusX==null||t.radiusX===1)&&(t.radiusY==null||t.radiusY===1)}var f_=new C("cdk-input-modality-detector-options"),p_={ignoreKeys:[18,17,224,91,16]},Sh=650,Dn=we({passive:!0,capture:!0}),g_=(()=>{let t=class t{get mostRecentModality(){return this._modality.value}constructor(e,i,o,a){this._platform=e,this._mostRecentTarget=null,this._modality=new $t(null),this._lastTouchMs=0,this._onKeydown=s=>{this._options?.ignoreKeys?.some(l=>l===s.keyCode)||(this._modality.next("keyboard"),this._mostRecentTarget=oe(s))},this._onMousedown=s=>{Date.now()-this._lastTouchMs{if(Al(s)){this._modality.next("keyboard");return}this._lastTouchMs=Date.now(),this._modality.next("touch"),this._mostRecentTarget=oe(s)},this._options=x(x({},p_),a),this.modalityDetected=this._modality.pipe(an(1)),this.modalityChanged=this.modalityDetected.pipe(Xe()),e.isBrowser&&i.runOutsideAngular(()=>{o.addEventListener("keydown",this._onKeydown,Dn),o.addEventListener("mousedown",this._onMousedown,Dn),o.addEventListener("touchstart",this._onTouchstart,Dn)})}ngOnDestroy(){this._modality.complete(),this._platform.isBrowser&&(document.removeEventListener("keydown",this._onKeydown,Dn),document.removeEventListener("mousedown",this._onMousedown,Dn),document.removeEventListener("touchstart",this._onTouchstart,Dn))}};t.\u0275fac=function(i){return new(i||t)(b(at),b(O),b(q),b(f_,8))},t.\u0275prov=w({token:t,factory:t.\u0275fac,providedIn:"root"});let n=t;return n})(),b_=new C("liveAnnouncerElement",{providedIn:"root",factory:__});function __(){return null}var v_=new C("LIVE_ANNOUNCER_DEFAULT_OPTIONS"),y_=0,kh=(()=>{let t=class t{constructor(e,i,o,a){this._ngZone=i,this._defaultOptions=a,this._document=o,this._liveElement=e||this._createLiveElement()}announce(e,...i){let o=this._defaultOptions,a,s;return i.length===1&&typeof i[0]=="number"?s=i[0]:[a,s]=i,this.clear(),clearTimeout(this._previousTimeout),a||(a=o&&o.politeness?o.politeness:"polite"),s==null&&o&&(s=o.duration),this._liveElement.setAttribute("aria-live",a),this._liveElement.id&&this._exposeAnnouncerToModals(this._liveElement.id),this._ngZone.runOutsideAngular(()=>(this._currentPromise||(this._currentPromise=new Promise(l=>this._currentResolve=l)),clearTimeout(this._previousTimeout),this._previousTimeout=setTimeout(()=>{this._liveElement.textContent=e,typeof s=="number"&&(this._previousTimeout=setTimeout(()=>this.clear(),s)),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(){let e="cdk-live-announcer-element",i=this._document.getElementsByClassName(e),o=this._document.createElement("div");for(let a=0;a .cdk-overlay-container [aria-modal="true"]');for(let o=0;o{let t=class t{constructor(e,i,o,a,s){this._ngZone=e,this._platform=i,this._inputModalityDetector=o,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 N,this._rootNodeFocusAndBlurListener=l=>{let c=oe(l);for(let u=c;u;u=u.parentElement)l.type==="focus"?this._onFocus(l,u):this._onBlur(l,u)},this._document=a,this._detectionMode=s?.detectionMode||la.IMMEDIATE}monitor(e,i=!1){let o=re(e);if(!this._platform.isBrowser||o.nodeType!==1)return A();let a=ph(o)||this._getDocument(),s=this._elementInfo.get(o);if(s)return i&&(s.checkChildren=!0),s.subject;let l={checkChildren:i,subject:new N,rootNode:a};return this._elementInfo.set(o,l),this._registerGlobalListeners(l),l.subject}stopMonitoring(e){let i=re(e),o=this._elementInfo.get(i);o&&(o.subject.complete(),this._setClasses(i),this._elementInfo.delete(i),this._removeGlobalListeners(o))}focusVia(e,i,o){let a=re(e),s=this._getDocument().activeElement;a===s?this._getClosestElementsInfo(a).forEach(([l,c])=>this._originChanged(l,i,c)):(this._setOrigin(i),typeof a.focus=="function"&&a.focus(o))}ngOnDestroy(){this._elementInfo.forEach((e,i)=>this.stopMonitoring(i))}_getDocument(){return this._document||document}_getWindow(){return this._getDocument().defaultView||window}_getFocusOrigin(e){return this._origin?this._originFromTouchInteraction?this._shouldBeAttributedToTouch(e)?"touch":"program":this._origin:this._windowFocused&&this._lastFocusOrigin?this._lastFocusOrigin:e&&this._isLastInteractionFromInputLabel(e)?"mouse":"program"}_shouldBeAttributedToTouch(e){return this._detectionMode===la.EVENTUAL||!!e?.contains(this._inputModalityDetector._mostRecentTarget)}_setClasses(e,i){e.classList.toggle("cdk-focused",!!i),e.classList.toggle("cdk-touch-focused",i==="touch"),e.classList.toggle("cdk-keyboard-focused",i==="keyboard"),e.classList.toggle("cdk-mouse-focused",i==="mouse"),e.classList.toggle("cdk-program-focused",i==="program")}_setOrigin(e,i=!1){this._ngZone.runOutsideAngular(()=>{if(this._origin=e,this._originFromTouchInteraction=e==="touch"&&i,this._detectionMode===la.IMMEDIATE){clearTimeout(this._originTimeoutId);let o=this._originFromTouchInteraction?Sh:1;this._originTimeoutId=setTimeout(()=>this._origin=null,o)}})}_onFocus(e,i){let o=this._elementInfo.get(i),a=oe(e);!o||!o.checkChildren&&i!==a||this._originChanged(i,this._getFocusOrigin(a),o)}_onBlur(e,i){let o=this._elementInfo.get(i);!o||o.checkChildren&&e.relatedTarget instanceof Node&&i.contains(e.relatedTarget)||(this._setClasses(i),this._emitOrigin(o,null))}_emitOrigin(e,i){e.subject.observers.length&&this._ngZone.run(()=>e.subject.next(i))}_registerGlobalListeners(e){if(!this._platform.isBrowser)return;let i=e.rootNode,o=this._rootNodeFocusListenerCount.get(i)||0;o||this._ngZone.runOutsideAngular(()=>{i.addEventListener("focus",this._rootNodeFocusAndBlurListener,sa),i.addEventListener("blur",this._rootNodeFocusAndBlurListener,sa)}),this._rootNodeFocusListenerCount.set(i,o+1),++this._monitoredElementCount===1&&(this._ngZone.runOutsideAngular(()=>{this._getWindow().addEventListener("focus",this._windowFocusListener)}),this._inputModalityDetector.modalityDetected.pipe(Z(this._stopInputModalityDetector)).subscribe(a=>{this._setOrigin(a,!0)}))}_removeGlobalListeners(e){let i=e.rootNode;if(this._rootNodeFocusListenerCount.has(i)){let o=this._rootNodeFocusListenerCount.get(i);o>1?this._rootNodeFocusListenerCount.set(i,o-1):(i.removeEventListener("focus",this._rootNodeFocusAndBlurListener,sa),i.removeEventListener("blur",this._rootNodeFocusAndBlurListener,sa),this._rootNodeFocusListenerCount.delete(i))}--this._monitoredElementCount||(this._getWindow().removeEventListener("focus",this._windowFocusListener),this._stopInputModalityDetector.next(),clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._originTimeoutId))}_originChanged(e,i,o){this._setClasses(e,i),this._emitOrigin(o,i),this._lastFocusOrigin=i}_getClosestElementsInfo(e){let i=[];return this._elementInfo.forEach((o,a)=>{(a===e||o.checkChildren&&a.contains(e))&&i.push([a,o])}),i}_isLastInteractionFromInputLabel(e){let{_mostRecentTarget:i,mostRecentModality:o}=this._inputModalityDetector;if(o!=="mouse"||!i||i===e||e.nodeName!=="INPUT"&&e.nodeName!=="TEXTAREA"||e.disabled)return!1;let a=e.labels;if(a){for(let s=0;s{let t=class t{constructor(e,i){this._elementRef=e,this._focusMonitor=i,this._focusOrigin=null,this.cdkFocusChange=new z}get focusOrigin(){return this._focusOrigin}ngAfterViewInit(){let e=this._elementRef.nativeElement;this._monitorSubscription=this._focusMonitor.monitor(e,e.nodeType===1&&e.hasAttribute("cdkMonitorSubtreeFocus")).subscribe(i=>{this._focusOrigin=i,this.cdkFocusChange.emit(i)})}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._monitorSubscription&&this._monitorSubscription.unsubscribe()}};t.\u0275fac=function(i){return new(i||t)(d(T),d(Je))},t.\u0275dir=y({type:t,selectors:[["","cdkMonitorElementFocus",""],["","cdkMonitorSubtreeFocus",""]],outputs:{cdkFocusChange:"cdkFocusChange"},exportAs:["cdkMonitorFocus"],standalone:!0});let n=t;return n})(),Xi=function(n){return n[n.NONE=0]="NONE",n[n.BLACK_ON_WHITE=1]="BLACK_ON_WHITE",n[n.WHITE_ON_BLACK=2]="WHITE_ON_BLACK",n}(Xi||{}),wh="cdk-high-contrast-black-on-white",Ch="cdk-high-contrast-white-on-black",Dl="cdk-high-contrast-active",Ol=(()=>{let t=class t{constructor(e,i){this._platform=e,this._document=i,this._breakpointSubscription=_(yh).observe("(forced-colors: active)").subscribe(()=>{this._hasCheckedHighContrastMode&&(this._hasCheckedHighContrastMode=!1,this._applyBodyHighContrastModeCssClasses())})}getHighContrastMode(){if(!this._platform.isBrowser)return Xi.NONE;let e=this._document.createElement("div");e.style.backgroundColor="rgb(1,2,3)",e.style.position="absolute",this._document.body.appendChild(e);let i=this._document.defaultView||window,o=i&&i.getComputedStyle?i.getComputedStyle(e):null,a=(o&&o.backgroundColor||"").replace(/ /g,"");switch(e.remove(),a){case"rgb(0,0,0)":case"rgb(45,50,54)":case"rgb(32,32,32)":return Xi.WHITE_ON_BLACK;case"rgb(255,255,255)":case"rgb(255,250,239)":return Xi.BLACK_ON_WHITE}return Xi.NONE}ngOnDestroy(){this._breakpointSubscription.unsubscribe()}_applyBodyHighContrastModeCssClasses(){if(!this._hasCheckedHighContrastMode&&this._platform.isBrowser&&this._document.body){let e=this._document.body.classList;e.remove(Dl,wh,Ch),this._hasCheckedHighContrastMode=!0;let i=this.getHighContrastMode();i===Xi.BLACK_ON_WHITE?e.add(Dl,wh):i===Xi.WHITE_ON_BLACK&&e.add(Dl,Ch)}}};t.\u0275fac=function(i){return new(i||t)(b(at),b(q))},t.\u0275prov=w({token:t,factory:t.\u0275fac,providedIn:"root"});let n=t;return n})(),ua=(()=>{let t=class t{constructor(e){e._applyBodyHighContrastModeCssClasses()}};t.\u0275fac=function(i){return new(i||t)(b(Ol))},t.\u0275mod=W({type:t}),t.\u0275inj=$({imports:[ra]});let n=t;return n})();var w_=new C("cdk-dir-doc",{providedIn:"root",factory:C_});function C_(){return _(q)}var I_=/^(ar|ckb|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*[-_](Adlm|Arab|Hebr|Nkoo|Rohg|Thaa))(?!.*[-_](Latn|Cyrl)($|-|_))($|-|_)/i;function D_(n){let t=n?.toLowerCase()||"";return t==="auto"&&typeof navigator<"u"&&navigator?.language?I_.test(navigator.language)?"rtl":"ltr":t==="rtl"?"rtl":"ltr"}var kt=(()=>{let t=class t{constructor(e){if(this.value="ltr",this.change=new z,e){let i=e.body?e.body.dir:null,o=e.documentElement?e.documentElement.dir:null;this.value=D_(i||o||"ltr")}}ngOnDestroy(){this.change.complete()}};t.\u0275fac=function(i){return new(i||t)(b(w_,8))},t.\u0275prov=w({token:t,factory:t.\u0275fac,providedIn:"root"});let n=t;return n})();var Be=(()=>{let t=class t{};t.\u0275fac=function(i){return new(i||t)},t.\u0275mod=W({type:t}),t.\u0275inj=$({});let n=t;return n})();var E_=["text"],S_=[[["mat-icon"]],"*"],k_=["mat-icon","*"];function T_(n,t){if(n&1&&P(0,"mat-pseudo-checkbox",1),n&2){let r=R();E("disabled",r.disabled)("state",r.selected?"checked":"unchecked")}}function R_(n,t){if(n&1&&P(0,"mat-pseudo-checkbox",3),n&2){let r=R();E("disabled",r.disabled)}}function M_(n,t){if(n&1&&(h(0,"span",4),D(1),f()),n&2){let r=R();g(),Yt("(",r.group.label,")")}}var A_=["mat-internal-form-field",""],O_=["*"];function F_(){return!0}var P_=new C("mat-sanity-checks",{providedIn:"root",factory:F_}),dt=(()=>{let t=class t{constructor(e,i,o){this._sanityChecks=i,this._document=o,this._hasDoneGlobalChecks=!1,e._applyBodyHighContrastModeCssClasses(),this._hasDoneGlobalChecks||(this._hasDoneGlobalChecks=!0)}_checkIsEnabled(e){return qo()?!1:typeof this._sanityChecks=="boolean"?this._sanityChecks:!!this._sanityChecks[e]}};t.\u0275fac=function(i){return new(i||t)(b(Ol),b(P_,8),b(q))},t.\u0275mod=W({type:t}),t.\u0275inj=$({imports:[Be,Be]});let n=t;return n})();var Rn=class{constructor(t,r,e,i,o){this._defaultMatcher=t,this.ngControl=r,this._parentFormGroup=e,this._parentForm=i,this._stateChanges=o,this.errorState=!1}updateErrorState(){let t=this.errorState,r=this._parentFormGroup||this._parentForm,e=this.matcher||this._defaultMatcher,i=this.ngControl?this.ngControl.control:null,o=e?.isErrorState(i,r)??!1;o!==t&&(this.errorState=o,this._stateChanges.next())}};var ti=(()=>{let t=class t{isErrorState(e,i){return!!(e&&e.invalid&&(e.touched||i&&i.submitted))}};t.\u0275fac=function(i){return new(i||t)},t.\u0275prov=w({token:t,factory:t.\u0275fac,providedIn:"root"});let n=t;return n})();var Ce=function(n){return n[n.FADING_IN=0]="FADING_IN",n[n.VISIBLE=1]="VISIBLE",n[n.FADING_OUT=2]="FADING_OUT",n[n.HIDDEN=3]="HIDDEN",n}(Ce||{}),Nl=class{constructor(t,r,e,i=!1){this._renderer=t,this.element=r,this.config=e,this._animationForciblyDisabledThroughCss=i,this.state=Ce.HIDDEN}fadeOut(){this._renderer.fadeOutRipple(this)}},Rh=we({passive:!0,capture:!0}),Ll=class{constructor(){this._events=new Map,this._delegateEventHandler=t=>{let r=oe(t);r&&this._events.get(t.type)?.forEach((e,i)=>{(i===r||i.contains(r))&&e.forEach(o=>o.handleEvent(t))})}}addHandler(t,r,e,i){let o=this._events.get(r);if(o){let a=o.get(e);a?a.add(i):o.set(e,new Set([i]))}else this._events.set(r,new Map([[e,new Set([i])]])),t.runOutsideAngular(()=>{document.addEventListener(r,this._delegateEventHandler,Rh)})}removeHandler(t,r,e){let i=this._events.get(t);if(!i)return;let o=i.get(r);o&&(o.delete(e),o.size===0&&i.delete(r),i.size===0&&(this._events.delete(t),document.removeEventListener(t,this._delegateEventHandler,Rh)))}},Mh={enterDuration:225,exitDuration:150},N_=800,Ah=we({passive:!0,capture:!0}),Oh=["mousedown","touchstart"],Fh=["mouseup","mouseleave","touchend","touchcancel"],Qo=class Qo{constructor(t,r,e,i){this._target=t,this._ngZone=r,this._platform=i,this._isPointerDown=!1,this._activeRipples=new Map,this._pointerUpEventsRegistered=!1,i.isBrowser&&(this._containerElement=re(e))}fadeInRipple(t,r,e={}){let i=this._containerRect=this._containerRect||this._containerElement.getBoundingClientRect(),o=x(x({},Mh),e.animation);e.centered&&(t=i.left+i.width/2,r=i.top+i.height/2);let a=e.radius||L_(t,r,i),s=t-i.left,l=r-i.top,c=o.enterDuration,u=document.createElement("div");u.classList.add("mat-ripple-element"),u.style.left=`${s-a}px`,u.style.top=`${l-a}px`,u.style.height=`${a*2}px`,u.style.width=`${a*2}px`,e.color!=null&&(u.style.backgroundColor=e.color),u.style.transitionDuration=`${c}ms`,this._containerElement.appendChild(u);let p=window.getComputedStyle(u),v=p.transitionProperty,I=p.transitionDuration,L=v==="none"||I==="0s"||I==="0s, 0s"||i.width===0&&i.height===0,et=new Nl(this,u,e,L);u.style.transform="scale3d(1, 1, 1)",et.state=Ce.FADING_IN,e.persistent||(this._mostRecentTransientRipple=et);let U=null;return!L&&(c||o.exitDuration)&&this._ngZone.runOutsideAngular(()=>{let Y=()=>this._finishRippleTransition(et),Mt=()=>this._destroyRipple(et);u.addEventListener("transitionend",Y),u.addEventListener("transitioncancel",Mt),U={onTransitionEnd:Y,onTransitionCancel:Mt}}),this._activeRipples.set(et,U),(L||!c)&&this._finishRippleTransition(et),et}fadeOutRipple(t){if(t.state===Ce.FADING_OUT||t.state===Ce.HIDDEN)return;let r=t.element,e=x(x({},Mh),t.config.animation);r.style.transitionDuration=`${e.exitDuration}ms`,r.style.opacity="0",t.state=Ce.FADING_OUT,(t._animationForciblyDisabledThroughCss||!e.exitDuration)&&this._finishRippleTransition(t)}fadeOutAll(){this._getActiveRipples().forEach(t=>t.fadeOut())}fadeOutAllNonPersistent(){this._getActiveRipples().forEach(t=>{t.config.persistent||t.fadeOut()})}setupTriggerEvents(t){let r=re(t);!this._platform.isBrowser||!r||r===this._triggerElement||(this._removeTriggerEvents(),this._triggerElement=r,Oh.forEach(e=>{Qo._eventManager.addHandler(this._ngZone,e,r,this)}))}handleEvent(t){t.type==="mousedown"?this._onMousedown(t):t.type==="touchstart"?this._onTouchStart(t):this._onPointerUp(),this._pointerUpEventsRegistered||(this._ngZone.runOutsideAngular(()=>{Fh.forEach(r=>{this._triggerElement.addEventListener(r,this,Ah)})}),this._pointerUpEventsRegistered=!0)}_finishRippleTransition(t){t.state===Ce.FADING_IN?this._startFadeOutTransition(t):t.state===Ce.FADING_OUT&&this._destroyRipple(t)}_startFadeOutTransition(t){let r=t===this._mostRecentTransientRipple,{persistent:e}=t.config;t.state=Ce.VISIBLE,!e&&(!r||!this._isPointerDown)&&t.fadeOut()}_destroyRipple(t){let r=this._activeRipples.get(t)??null;this._activeRipples.delete(t),this._activeRipples.size||(this._containerRect=null),t===this._mostRecentTransientRipple&&(this._mostRecentTransientRipple=null),t.state=Ce.HIDDEN,r!==null&&(t.element.removeEventListener("transitionend",r.onTransitionEnd),t.element.removeEventListener("transitioncancel",r.onTransitionCancel)),t.element.remove()}_onMousedown(t){let r=Ml(t),e=this._lastTouchStartEvent&&Date.now(){let r=t.state===Ce.VISIBLE||t.config.terminateOnPointerUp&&t.state===Ce.FADING_IN;!t.config.persistent&&r&&t.fadeOut()}))}_getActiveRipples(){return Array.from(this._activeRipples.keys())}_removeTriggerEvents(){let t=this._triggerElement;t&&(Oh.forEach(r=>Qo._eventManager.removeHandler(r,t,this)),this._pointerUpEventsRegistered&&(Fh.forEach(r=>t.removeEventListener(r,this,Ah)),this._pointerUpEventsRegistered=!1))}};Qo._eventManager=new Ll;var jl=Qo;function L_(n,t,r){let e=Math.max(Math.abs(n-r.left),Math.abs(n-r.right)),i=Math.max(Math.abs(t-r.top),Math.abs(t-r.bottom));return Math.sqrt(e*e+i*i)}var Vl=new C("mat-ripple-global-options"),ei=(()=>{let t=class t{get disabled(){return this._disabled}set disabled(e){e&&this.fadeOutAllNonPersistent(),this._disabled=e,this._setupTriggerEventsIfEnabled()}get trigger(){return this._trigger||this._elementRef.nativeElement}set trigger(e){this._trigger=e,this._setupTriggerEventsIfEnabled()}constructor(e,i,o,a,s){this._elementRef=e,this._animationMode=s,this.radius=0,this._disabled=!1,this._isInitialized=!1,this._globalOptions=a||{},this._rippleRenderer=new jl(this,i,e,o)}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:x(x(x({},this._globalOptions.animation),this._animationMode==="NoopAnimations"?{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(e,i=0,o){return typeof e=="number"?this._rippleRenderer.fadeInRipple(e,i,x(x({},this.rippleConfig),o)):this._rippleRenderer.fadeInRipple(0,0,x(x({},this.rippleConfig),e))}};t.\u0275fac=function(i){return new(i||t)(d(T),d(O),d(at),d(Vl,8),d(Rt,8))},t.\u0275dir=y({type:t,selectors:[["","mat-ripple",""],["","matRipple",""]],hostAttrs:[1,"mat-ripple"],hostVars:2,hostBindings:function(i,o){i&2&&B("mat-ripple-unbounded",o.unbounded)},inputs:{color:[m.None,"matRippleColor","color"],unbounded:[m.None,"matRippleUnbounded","unbounded"],centered:[m.None,"matRippleCentered","centered"],radius:[m.None,"matRippleRadius","radius"],animation:[m.None,"matRippleAnimation","animation"],disabled:[m.None,"matRippleDisabled","disabled"],trigger:[m.None,"matRippleTrigger","trigger"]},exportAs:["matRipple"],standalone:!0});let n=t;return n})(),Zo=(()=>{let t=class t{};t.\u0275fac=function(i){return new(i||t)},t.\u0275mod=W({type:t}),t.\u0275inj=$({imports:[dt,dt]});let n=t;return n})(),j_=(()=>{let t=class t{constructor(e){this._animationMode=e,this.state="unchecked",this.disabled=!1,this.appearance="full"}};t.\u0275fac=function(i){return new(i||t)(d(Rt,8))},t.\u0275cmp=j({type:t,selectors:[["mat-pseudo-checkbox"]],hostAttrs:[1,"mat-pseudo-checkbox"],hostVars:12,hostBindings:function(i,o){i&2&&B("mat-pseudo-checkbox-indeterminate",o.state==="indeterminate")("mat-pseudo-checkbox-checked",o.state==="checked")("mat-pseudo-checkbox-disabled",o.disabled)("mat-pseudo-checkbox-minimal",o.appearance==="minimal")("mat-pseudo-checkbox-full",o.appearance==="full")("_mat-animation-noopable",o._animationMode==="NoopAnimations")},inputs:{state:"state",disabled:"disabled",appearance:"appearance"},standalone:!0,features:[V],decls:0,vars:0,template:function(i,o){},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-minimal.mat-pseudo-checkbox-checked::after,.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-indeterminate::after{color:var(--mat-minimal-pseudo-checkbox-selected-checkmark-color)}.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-checked.mat-pseudo-checkbox-disabled::after,.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-disabled::after{color:var(--mat-minimal-pseudo-checkbox-disabled-selected-checkmark-color)}.mat-pseudo-checkbox-full{border-color:var(--mat-full-pseudo-checkbox-unselected-icon-color);border-width:2px;border-style:solid}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-disabled{border-color:var(--mat-full-pseudo-checkbox-disabled-unselected-icon-color)}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked,.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate{background-color:var(--mat-full-pseudo-checkbox-selected-icon-color);border-color:rgba(0,0,0,0)}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked::after,.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate::after{color:var(--mat-full-pseudo-checkbox-selected-checkmark-color)}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked.mat-pseudo-checkbox-disabled,.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-disabled{background-color:var(--mat-full-pseudo-checkbox-disabled-selected-icon-color)}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked.mat-pseudo-checkbox-disabled::after,.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-disabled::after{color:var(--mat-full-pseudo-checkbox-disabled-selected-checkmark-color)}.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});let n=t;return n})(),V_=(()=>{let t=class t{};t.\u0275fac=function(i){return new(i||t)},t.\u0275mod=W({type:t}),t.\u0275inj=$({imports:[dt]});let n=t;return n})(),Ko=new C("MAT_OPTION_PARENT_COMPONENT");var Jo=new C("MatOptgroup");var z_=0,Xo=class{constructor(t,r=!1){this.source=t,this.isUserInput=r}},Di=(()=>{let t=class t{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(e){this._disabled=e}get disableRipple(){return!!(this._parent&&this._parent.disableRipple)}get hideSingleSelectionIndicator(){return!!(this._parent&&this._parent.hideSingleSelectionIndicator)}constructor(e,i,o,a){this._element=e,this._changeDetectorRef=i,this._parent=o,this.group=a,this._selected=!1,this._active=!1,this._disabled=!1,this._mostRecentViewValue="",this.id=`mat-option-${z_++}`,this.onSelectionChange=new z,this._stateChanges=new N}get active(){return this._active}get viewValue(){return(this._text?.nativeElement.textContent||"").trim()}select(e=!0){this._selected||(this._selected=!0,this._changeDetectorRef.markForCheck(),e&&this._emitSelectionChangeEvent())}deselect(e=!0){this._selected&&(this._selected=!1,this._changeDetectorRef.markForCheck(),e&&this._emitSelectionChangeEvent())}focus(e,i){let o=this._getHostElement();typeof o.focus=="function"&&o.focus(i)}setActiveStyles(){this._active||(this._active=!0,this._changeDetectorRef.markForCheck())}setInactiveStyles(){this._active&&(this._active=!1,this._changeDetectorRef.markForCheck())}getLabel(){return this.viewValue}_handleKeydown(e){(e.keyCode===13||e.keyCode===32)&&!Lt(e)&&(this._selectViaInteraction(),e.preventDefault())}_selectViaInteraction(){this.disabled||(this._selected=this.multiple?!this._selected:!0,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent(!0))}_getTabIndex(){return this.disabled?"-1":"0"}_getHostElement(){return this._element.nativeElement}ngAfterViewChecked(){if(this._selected){let e=this.viewValue;e!==this._mostRecentViewValue&&(this._mostRecentViewValue&&this._stateChanges.next(),this._mostRecentViewValue=e)}}ngOnDestroy(){this._stateChanges.complete()}_emitSelectionChangeEvent(e=!1){this.onSelectionChange.emit(new Xo(this,e))}};t.\u0275fac=function(i){return new(i||t)(d(T),d(ft),d(Ko,8),d(Jo,8))},t.\u0275cmp=j({type:t,selectors:[["mat-option"]],viewQuery:function(i,o){if(i&1&&rt(E_,7),i&2){let a;S(a=k())&&(o._text=a.first)}},hostAttrs:["role","option",1,"mat-mdc-option","mdc-list-item"],hostVars:11,hostBindings:function(i,o){i&1&&H("click",function(){return o._selectViaInteraction()})("keydown",function(s){return o._handleKeydown(s)}),i&2&&(ie("id",o.id),nt("aria-selected",o.selected)("aria-disabled",o.disabled.toString()),B("mdc-list-item--selected",o.selected)("mat-mdc-option-multiple",o.multiple)("mat-mdc-option-active",o.active)("mdc-list-item--disabled",o.disabled))},inputs:{value:"value",id:"id",disabled:[m.HasDecoratorInputTransform,"disabled","disabled",M]},outputs:{onSelectionChange:"onSelectionChange"},exportAs:["matOption"],standalone:!0,features:[lt,V],ngContentSelectors:k_,decls:8,vars:5,consts:[["text",""],["aria-hidden","true",1,"mat-mdc-option-pseudo-checkbox",3,"disabled","state"],[1,"mdc-list-item__primary-text"],["state","checked","aria-hidden","true","appearance","minimal",1,"mat-mdc-option-pseudo-checkbox",3,"disabled"],[1,"cdk-visually-hidden"],["aria-hidden","true","mat-ripple","",1,"mat-mdc-option-ripple","mat-mdc-focus-indicator",3,"matRippleTrigger","matRippleDisabled"]],template:function(i,o){i&1&&(mt(S_),F(0,T_,1,2,"mat-pseudo-checkbox",1),J(1),h(2,"span",2,0),J(4,1),f(),F(5,R_,1,1,"mat-pseudo-checkbox",3)(6,M_,2,1,"span",4),P(7,"div",5)),i&2&&(K(0,o.multiple?0:-1),g(5),K(5,!o.multiple&&o.selected&&!o.hideSingleSelectionIndicator?5:-1),g(),K(6,o.group&&o.group._inert?6:-1),g(),E("matRippleTrigger",o._getHostElement())("matRippleDisabled",o.disabled||o.disableRipple))},dependencies:[j_,ei],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;background:rgba(0,0,0,0)}.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-multiple{--mdc-list-list-item-selected-container-color:var(--mdc-list-list-item-container-color, transparent)}.mat-mdc-option-active .mat-mdc-focus-indicator::before{content:""}'],encapsulation:2,changeDetection:0});let n=t;return n})();function ma(n,t,r){if(r.length){let e=t.toArray(),i=r.toArray(),o=0;for(let a=0;ar+e?Math.max(0,n-e+t):r}var Mn=(()=>{let t=class t{};t.\u0275fac=function(i){return new(i||t)},t.\u0275mod=W({type:t}),t.\u0275inj=$({imports:[Zo,dt,V_]});let n=t;return n})(),Ph={capture:!0},Nh=["focus","click","mouseenter","touchstart"],Fl="mat-ripple-loader-uninitialized",Pl="mat-ripple-loader-class-name",Lh="mat-ripple-loader-centered",ha="mat-ripple-loader-disabled",jh=(()=>{let t=class t{constructor(){this._document=_(q,{optional:!0}),this._animationMode=_(Rt,{optional:!0}),this._globalRippleOptions=_(Vl,{optional:!0}),this._platform=_(at),this._ngZone=_(O),this._hosts=new Map,this._onInteraction=e=>{if(!(e.target instanceof HTMLElement))return;let o=e.target.closest(`[${Fl}]`);o&&this._createRipple(o)},this._ngZone.runOutsideAngular(()=>{for(let e of Nh)this._document?.addEventListener(e,this._onInteraction,Ph)})}ngOnDestroy(){let e=this._hosts.keys();for(let i of e)this.destroyRipple(i);for(let i of Nh)this._document?.removeEventListener(i,this._onInteraction,Ph)}configureRipple(e,i){e.setAttribute(Fl,""),(i.className||!e.hasAttribute(Pl))&&e.setAttribute(Pl,i.className||""),i.centered&&e.setAttribute(Lh,""),i.disabled&&e.setAttribute(ha,"")}getRipple(e){return this._hosts.get(e)||this._createRipple(e)}setDisabled(e,i){let o=this._hosts.get(e);if(o){o.disabled=i;return}i?e.setAttribute(ha,""):e.removeAttribute(ha)}_createRipple(e){if(!this._document)return;let i=this._hosts.get(e);if(i)return i;e.querySelector(".mat-ripple")?.remove();let o=this._document.createElement("span");o.classList.add("mat-ripple",e.getAttribute(Pl)),e.append(o);let a=new ei(new T(o),this._ngZone,this._platform,this._globalRippleOptions?this._globalRippleOptions:void 0,this._animationMode?this._animationMode:void 0);return a._isInitialized=!0,a.trigger=e,a.centered=e.hasAttribute(Lh),a.disabled=e.hasAttribute(ha),this.attachRipple(e,a),a}attachRipple(e,i){e.removeAttribute(Fl),this._hosts.set(e,i)}destroyRipple(e){let i=this._hosts.get(e);i&&(i.ngOnDestroy(),this._hosts.delete(e))}};t.\u0275fac=function(i){return new(i||t)},t.\u0275prov=w({token:t,factory:t.\u0275fac,providedIn:"root"});let n=t;return n})(),Vh=(()=>{let t=class t{};t.\u0275fac=function(i){return new(i||t)},t.\u0275cmp=j({type:t,selectors:[["div","mat-internal-form-field",""]],hostAttrs:[1,"mdc-form-field","mat-internal-form-field"],hostVars:2,hostBindings:function(i,o){i&2&&B("mdc-form-field--align-end",o.labelPosition==="before")},inputs:{labelPosition:"labelPosition"},standalone:!0,features:[V],attrs:A_,ngContentSelectors:O_,decls:1,vars:0,template:function(i,o){i&1&&(mt(),J(0))},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-form-field{font-family:var(--mdc-form-field-label-text-font);line-height:var(--mdc-form-field-label-text-line-height);font-size:var(--mdc-form-field-label-text-size);font-weight:var(--mdc-form-field-label-text-weight);letter-spacing:var(--mdc-form-field-label-text-tracking);color:var(--mdc-form-field-label-text-color)}.mat-internal-form-field{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased}"],encapsulation:2,changeDetection:0});let n=t;return n})();var B_=["*"],pa;function H_(){if(pa===void 0&&(pa=null,typeof window<"u")){let n=window;n.trustedTypes!==void 0&&(pa=n.trustedTypes.createPolicy("angular#components",{createHTML:t=>t}))}return pa}function er(n){return H_()?.createHTML(n)||n}function zh(n){return Error(`Unable to find icon with the name "${n}"`)}function U_(){return Error("Could not find HttpClient provider for use with Angular Material icons. Please include the HttpClientModule from @angular/common/http in your app imports.")}function Bh(n){return Error(`The URL provided to MatIconRegistry was not trusted as a resource URL via Angular's DomSanitizer. Attempted URL was "${n}".`)}function Hh(n){return Error(`The literal provided to MatIconRegistry was not trusted as safe HTML by Angular's DomSanitizer. Attempted literal was "${n}".`)}var ii=class{constructor(t,r,e){this.url=t,this.svgText=r,this.options=e}},$_=(()=>{let t=class t{constructor(e,i,o,a){this._httpClient=e,this._sanitizer=i,this._errorHandler=a,this._svgIconConfigs=new Map,this._iconSetConfigs=new Map,this._cachedIconsByUrl=new Map,this._inProgressUrlFetches=new Map,this._fontCssClassesByAlias=new Map,this._resolvers=[],this._defaultFontSetClass=["material-icons","mat-ligature-font"],this._document=o}addSvgIcon(e,i,o){return this.addSvgIconInNamespace("",e,i,o)}addSvgIconLiteral(e,i,o){return this.addSvgIconLiteralInNamespace("",e,i,o)}addSvgIconInNamespace(e,i,o,a){return this._addSvgIconConfig(e,i,new ii(o,null,a))}addSvgIconResolver(e){return this._resolvers.push(e),this}addSvgIconLiteralInNamespace(e,i,o,a){let s=this._sanitizer.sanitize(ce.HTML,o);if(!s)throw Hh(o);let l=er(s);return this._addSvgIconConfig(e,i,new ii("",l,a))}addSvgIconSet(e,i){return this.addSvgIconSetInNamespace("",e,i)}addSvgIconSetLiteral(e,i){return this.addSvgIconSetLiteralInNamespace("",e,i)}addSvgIconSetInNamespace(e,i,o){return this._addSvgIconSetConfig(e,new ii(i,null,o))}addSvgIconSetLiteralInNamespace(e,i,o){let a=this._sanitizer.sanitize(ce.HTML,i);if(!a)throw Hh(i);let s=er(a);return this._addSvgIconSetConfig(e,new ii("",s,o))}registerFontClassAlias(e,i=e){return this._fontCssClassesByAlias.set(e,i),this}classNameForFontAlias(e){return this._fontCssClassesByAlias.get(e)||e}setDefaultFontSetClass(...e){return this._defaultFontSetClass=e,this}getDefaultFontSetClass(){return this._defaultFontSetClass}getSvgIconFromUrl(e){let i=this._sanitizer.sanitize(ce.RESOURCE_URL,e);if(!i)throw Bh(e);let o=this._cachedIconsByUrl.get(i);return o?A(ga(o)):this._loadSvgIconFromConfig(new ii(e,null)).pipe(vt(a=>this._cachedIconsByUrl.set(i,a)),G(a=>ga(a)))}getNamedSvgIcon(e,i=""){let o=Uh(i,e),a=this._svgIconConfigs.get(o);if(a)return this._getSvgFromConfig(a);if(a=this._getIconConfigFromResolvers(i,e),a)return this._svgIconConfigs.set(o,a),this._getSvgFromConfig(a);let s=this._iconSetConfigs.get(i);return s?this._getSvgFromIconSetConfigs(e,s):Ni(zh(o))}ngOnDestroy(){this._resolvers=[],this._svgIconConfigs.clear(),this._iconSetConfigs.clear(),this._cachedIconsByUrl.clear()}_getSvgFromConfig(e){return e.svgText?A(ga(this._svgElementFromConfig(e))):this._loadSvgIconFromConfig(e).pipe(G(i=>ga(i)))}_getSvgFromIconSetConfigs(e,i){let o=this._extractIconWithNameFromAnySet(e,i);if(o)return A(o);let a=i.filter(s=>!s.svgText).map(s=>this._loadSvgIconSetFromConfig(s).pipe(si(l=>{let u=`Loading icon set URL: ${this._sanitizer.sanitize(ce.RESOURCE_URL,s.url)} failed: ${l.message}`;return this._errorHandler.handleError(new Error(u)),A(null)})));return vr(a).pipe(G(()=>{let s=this._extractIconWithNameFromAnySet(e,i);if(!s)throw zh(e);return s}))}_extractIconWithNameFromAnySet(e,i){for(let o=i.length-1;o>=0;o--){let a=i[o];if(a.svgText&&a.svgText.toString().indexOf(e)>-1){let s=this._svgElementFromConfig(a),l=this._extractSvgIconFromSet(s,e,a.options);if(l)return l}}return null}_loadSvgIconFromConfig(e){return this._fetchIcon(e).pipe(vt(i=>e.svgText=i),G(()=>this._svgElementFromConfig(e)))}_loadSvgIconSetFromConfig(e){return e.svgText?A(null):this._fetchIcon(e).pipe(vt(i=>e.svgText=i))}_extractSvgIconFromSet(e,i,o){let a=e.querySelector(`[id="${i}"]`);if(!a)return null;let s=a.cloneNode(!0);if(s.removeAttribute("id"),s.nodeName.toLowerCase()==="svg")return this._setSvgAttributes(s,o);if(s.nodeName.toLowerCase()==="symbol")return this._setSvgAttributes(this._toSvgElement(s),o);let l=this._svgElementFromString(er(""));return l.appendChild(s),this._setSvgAttributes(l,o)}_svgElementFromString(e){let i=this._document.createElement("DIV");i.innerHTML=e;let o=i.querySelector("svg");if(!o)throw Error(" tag not found");return o}_toSvgElement(e){let i=this._svgElementFromString(er("")),o=e.attributes;for(let a=0;aer(u)),ci(()=>this._inProgressUrlFetches.delete(s)),td());return this._inProgressUrlFetches.set(s,c),c}_addSvgIconConfig(e,i,o){return this._svgIconConfigs.set(Uh(e,i),o),this}_addSvgIconSetConfig(e,i){let o=this._iconSetConfigs.get(e);return o?o.push(i):this._iconSetConfigs.set(e,[i]),this}_svgElementFromConfig(e){if(!e.svgElement){let i=this._svgElementFromString(e.svgText);this._setSvgAttributes(i,e.options),e.svgElement=i}return e.svgElement}_getIconConfigFromResolvers(e,i){for(let o=0;ot?t.pathname+t.search:""}}var $h=["clip-path","color-profile","src","cursor","fill","filter","marker","marker-start","marker-mid","marker-end","mask","stroke"],Q_=$h.map(n=>`[${n}]`).join(", "),X_=/^url\(['"]?#(.*?)['"]?\)$/,ae=(()=>{let t=class t{get color(){return this._color||this._defaultColor}set color(e){this._color=e}get svgIcon(){return this._svgIcon}set svgIcon(e){e!==this._svgIcon&&(e?this._updateSvgIcon(e):this._svgIcon&&this._clearSvgElement(),this._svgIcon=e)}get fontSet(){return this._fontSet}set fontSet(e){let i=this._cleanupFontValue(e);i!==this._fontSet&&(this._fontSet=i,this._updateFontIconClasses())}get fontIcon(){return this._fontIcon}set fontIcon(e){let i=this._cleanupFontValue(e);i!==this._fontIcon&&(this._fontIcon=i,this._updateFontIconClasses())}constructor(e,i,o,a,s,l){this._elementRef=e,this._iconRegistry=i,this._location=a,this._errorHandler=s,this.inline=!1,this._previousFontSetClass=[],this._currentIconFetch=xt.EMPTY,l&&(l.color&&(this.color=this._defaultColor=l.color),l.fontSet&&(this.fontSet=l.fontSet)),o||e.nativeElement.setAttribute("aria-hidden","true")}_splitIconName(e){if(!e)return["",""];let i=e.split(":");switch(i.length){case 1:return["",i[0]];case 2:return i;default:throw Error(`Invalid icon name: "${e}"`)}}ngOnInit(){this._updateFontIconClasses()}ngAfterViewChecked(){let e=this._elementsWithExternalReferences;if(e&&e.size){let i=this._location.getPathname();i!==this._previousPath&&(this._previousPath=i,this._prependPathToReferences(i))}}ngOnDestroy(){this._currentIconFetch.unsubscribe(),this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear()}_usingFontIcon(){return!this.svgIcon}_setSvgElement(e){this._clearSvgElement();let i=this._location.getPathname();this._previousPath=i,this._cacheChildrenWithExternalReferences(e),this._prependPathToReferences(i),this._elementRef.nativeElement.appendChild(e)}_clearSvgElement(){let e=this._elementRef.nativeElement,i=e.childNodes.length;for(this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear();i--;){let o=e.childNodes[i];(o.nodeType!==1||o.nodeName.toLowerCase()==="svg")&&o.remove()}}_updateFontIconClasses(){if(!this._usingFontIcon())return;let e=this._elementRef.nativeElement,i=(this.fontSet?this._iconRegistry.classNameForFontAlias(this.fontSet).split(/ +/):this._iconRegistry.getDefaultFontSetClass()).filter(o=>o.length>0);this._previousFontSetClass.forEach(o=>e.classList.remove(o)),i.forEach(o=>e.classList.add(o)),this._previousFontSetClass=i,this.fontIcon!==this._previousFontIconClass&&!i.includes("mat-ligature-font")&&(this._previousFontIconClass&&e.classList.remove(this._previousFontIconClass),this.fontIcon&&e.classList.add(this.fontIcon),this._previousFontIconClass=this.fontIcon)}_cleanupFontValue(e){return typeof e=="string"?e.trim().split(" ")[0]:e}_prependPathToReferences(e){let i=this._elementsWithExternalReferences;i&&i.forEach((o,a)=>{o.forEach(s=>{a.setAttribute(s.name,`url('${e}#${s.value}')`)})})}_cacheChildrenWithExternalReferences(e){let i=e.querySelectorAll(Q_),o=this._elementsWithExternalReferences=this._elementsWithExternalReferences||new Map;for(let a=0;a{let l=i[a],c=l.getAttribute(s),u=c?c.match(X_):null;if(u){let p=o.get(l);p||(p=[],o.set(l,p)),p.push({name:s,value:u[1]})}})}_updateSvgIcon(e){if(this._svgNamespace=null,this._svgName=null,this._currentIconFetch.unsubscribe(),e){let[i,o]=this._splitIconName(e);i&&(this._svgNamespace=i),o&&(this._svgName=o),this._currentIconFetch=this._iconRegistry.getNamedSvgIcon(o,i).pipe(wt(1)).subscribe(a=>this._setSvgElement(a),a=>{let s=`Error retrieving icon ${i}:${o}! ${a.message}`;this._errorHandler.handleError(new Error(s))})}}};t.\u0275fac=function(i){return new(i||t)(d(T),d($_),ve("aria-hidden"),d(q_),d(ji),d(G_,8))},t.\u0275cmp=j({type:t,selectors:[["mat-icon"]],hostAttrs:["role","img",1,"mat-icon","notranslate"],hostVars:10,hostBindings:function(i,o){i&2&&(nt("data-mat-icon-type",o._usingFontIcon()?"font":"svg")("data-mat-icon-name",o._svgName||o.fontIcon)("data-mat-icon-namespace",o._svgNamespace||o.fontSet)("fontIcon",o._usingFontIcon()?o.fontIcon:null),qt(o.color?"mat-"+o.color:""),B("mat-icon-inline",o.inline)("mat-icon-no-color",o.color!=="primary"&&o.color!=="accent"&&o.color!=="warn"))},inputs:{color:"color",inline:[m.HasDecoratorInputTransform,"inline","inline",M],svgIcon:"svgIcon",fontSet:"fontSet",fontIcon:"fontIcon"},exportAs:["matIcon"],standalone:!0,features:[lt,V],ngContentSelectors:B_,decls:1,vars:0,template:function(i,o){i&1&&(mt(),J(0))},styles:["mat-icon,mat-icon.mat-primary,mat-icon.mat-accent,mat-icon.mat-warn{color:var(--mat-icon-color)}.mat-icon{-webkit-user-select:none;user-select:none;background-repeat:no-repeat;display:inline-block;fill:currentColor;height:24px;width:24px;overflow:hidden}.mat-icon.mat-icon-inline{font-size:inherit;height:inherit;line-height:inherit;width:inherit}.mat-icon.mat-ligature-font[fontIcon]::before{content:attr(fontIcon)}[dir=rtl] .mat-icon-rtl-mirror{transform:scale(-1, 1)}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon{display:block}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon-button .mat-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon-button .mat-icon{margin:auto}"],encapsulation:2,changeDetection:0});let n=t;return n})(),Xt=(()=>{let t=class t{};t.\u0275fac=function(i){return new(i||t)},t.\u0275mod=W({type:t}),t.\u0275inj=$({imports:[dt,dt]});let n=t;return n})();var Z_=["mat-button",""],Gh=[[["",8,"material-icons",3,"iconPositionEnd",""],["mat-icon",3,"iconPositionEnd",""],["","matButtonIcon","",3,"iconPositionEnd",""]],"*",[["","iconPositionEnd","",8,"material-icons"],["mat-icon","iconPositionEnd",""],["","matButtonIcon","","iconPositionEnd",""]]],qh=[".material-icons:not([iconPositionEnd]), mat-icon:not([iconPositionEnd]), [matButtonIcon]:not([iconPositionEnd])","*",".material-icons[iconPositionEnd], mat-icon[iconPositionEnd], [matButtonIcon][iconPositionEnd]"];var K_=".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}";var J_=["mat-mini-fab",""],tv='.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)}.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 .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(100% + 4px);width:calc(100% + 4px)}@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{outline:none}.mdc-fab:hover{cursor:pointer}.mdc-fab>svg{width:100%}.mdc-fab--mini{width:40px;height:40px}.mdc-fab--extended{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{background-color:var(--mdc-fab-container-color)}.mat-mdc-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(.mdc-fab--extended){border-radius:var(--mdc-fab-container-shape)}.mat-mdc-fab:not(.mdc-fab--extended) .mdc-fab__ripple{border-radius:var(--mdc-fab-container-shape)}.mat-mdc-mini-fab{background-color:var(--mdc-fab-small-container-color)}.mat-mdc-mini-fab .mdc-fab__icon{width:var(--mdc-fab-small-icon-size);height:var(--mdc-fab-small-icon-size);font-size:var(--mdc-fab-small-icon-size)}.mat-mdc-mini-fab:not(.mdc-fab--extended){border-radius:var(--mdc-fab-small-container-shape)}.mat-mdc-mini-fab:not(.mdc-fab--extended) .mdc-fab__ripple{border-radius:var(--mdc-fab-small-container-shape)}.mat-mdc-extended-fab{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;height:var(--mdc-extended-fab-container-height);border-radius:var(--mdc-extended-fab-container-shape);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-extended-fab .mdc-fab__ripple{border-radius:var(--mdc-extended-fab-container-shape)}.mat-mdc-fab,.mat-mdc-mini-fab{-webkit-tap-highlight-color:rgba(0,0,0,0);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}.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-animation-noopable,.mat-mdc-mini-fab._mat-animation-noopable{transition:none !important;animation:none !important}.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-fab[disabled],.mat-mdc-fab.mat-mdc-button-disabled,.mat-mdc-mini-fab[disabled],.mat-mdc-mini-fab.mat-mdc-button-disabled{cursor:default;pointer-events:none}.mat-mdc-fab[disabled],.mat-mdc-fab[disabled]:focus,.mat-mdc-fab.mat-mdc-button-disabled,.mat-mdc-fab.mat-mdc-button-disabled:focus,.mat-mdc-mini-fab[disabled],.mat-mdc-mini-fab[disabled]:focus,.mat-mdc-mini-fab.mat-mdc-button-disabled,.mat-mdc-mini-fab.mat-mdc-button-disabled:focus{box-shadow:none}.mat-mdc-fab.mat-mdc-button-disabled-interactive,.mat-mdc-mini-fab.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-fab{color:var(--mat-fab-foreground-color, inherit);box-shadow:var(--mdc-fab-container-elevation-shadow)}.mat-mdc-fab .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%);display:var(--mat-fab-touch-target-display)}.mat-mdc-fab .mat-ripple-element{background-color:var(--mat-fab-ripple-color)}.mat-mdc-fab .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-fab-state-layer-color)}.mat-mdc-fab.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-fab-disabled-state-layer-color)}.mat-mdc-fab:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-fab-hover-state-layer-opacity)}.mat-mdc-fab.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-fab.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-fab.mat-mdc-button-disabled-interactive:focus .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-fab-focus-state-layer-opacity)}.mat-mdc-fab:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-fab-pressed-state-layer-opacity)}.mat-mdc-fab:hover{box-shadow:var(--mdc-fab-hover-container-elevation-shadow)}.mat-mdc-fab:focus{box-shadow:var(--mdc-fab-focus-container-elevation-shadow)}.mat-mdc-fab:active,.mat-mdc-fab:focus:active{box-shadow:var(--mdc-fab-pressed-container-elevation-shadow)}.mat-mdc-fab[disabled],.mat-mdc-fab.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mat-fab-disabled-state-foreground-color);background-color:var(--mat-fab-disabled-state-container-color)}.mat-mdc-fab.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-mini-fab{color:var(--mat-fab-small-foreground-color, inherit);box-shadow:var(--mdc-fab-small-container-elevation-shadow)}.mat-mdc-mini-fab .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%);display:var(--mat-fab-small-touch-target-display)}.mat-mdc-mini-fab .mat-ripple-element{background-color:var(--mat-fab-small-ripple-color)}.mat-mdc-mini-fab .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-fab-small-state-layer-color)}.mat-mdc-mini-fab.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-fab-small-disabled-state-layer-color)}.mat-mdc-mini-fab:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-fab-small-hover-state-layer-opacity)}.mat-mdc-mini-fab.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-mini-fab.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-mini-fab.mat-mdc-button-disabled-interactive:focus .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-fab-small-focus-state-layer-opacity)}.mat-mdc-mini-fab:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-fab-small-pressed-state-layer-opacity)}.mat-mdc-mini-fab:hover{box-shadow:var(--mdc-fab-small-hover-container-elevation-shadow)}.mat-mdc-mini-fab:focus{box-shadow:var(--mdc-fab-small-focus-container-elevation-shadow)}.mat-mdc-mini-fab:active,.mat-mdc-mini-fab:focus:active{box-shadow:var(--mdc-fab-small-pressed-container-elevation-shadow)}.mat-mdc-mini-fab[disabled],.mat-mdc-mini-fab.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mat-fab-small-disabled-state-foreground-color);background-color:var(--mat-fab-small-disabled-state-container-color)}.mat-mdc-mini-fab.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-extended-fab{box-shadow:var(--mdc-extended-fab-container-elevation-shadow)}.mat-mdc-extended-fab:hover{box-shadow:var(--mdc-extended-fab-hover-container-elevation-shadow)}.mat-mdc-extended-fab:focus{box-shadow:var(--mdc-extended-fab-focus-container-elevation-shadow)}.mat-mdc-extended-fab:active,.mat-mdc-extended-fab:focus:active{box-shadow:var(--mdc-extended-fab-pressed-container-elevation-shadow)}.mat-mdc-extended-fab[disabled],.mat-mdc-extended-fab.mat-mdc-button-disabled{cursor:default;pointer-events:none}.mat-mdc-extended-fab[disabled],.mat-mdc-extended-fab[disabled]:focus,.mat-mdc-extended-fab.mat-mdc-button-disabled,.mat-mdc-extended-fab.mat-mdc-button-disabled:focus{box-shadow:none}.mat-mdc-extended-fab.mat-mdc-button-disabled-interactive{pointer-events:auto}.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 .mat-mdc-button-touch-target{width:100%}.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}',ev=["mat-icon-button",""],iv=["*"];var nv=new C("MAT_BUTTON_CONFIG");var ov=[{attribute:"mat-button",mdcClasses:["mdc-button","mat-mdc-button"]},{attribute:"mat-flat-button",mdcClasses:["mdc-button","mdc-button--unelevated","mat-mdc-unelevated-button"]},{attribute:"mat-raised-button",mdcClasses:["mdc-button","mdc-button--raised","mat-mdc-raised-button"]},{attribute:"mat-stroked-button",mdcClasses:["mdc-button","mdc-button--outlined","mat-mdc-outlined-button"]},{attribute:"mat-fab",mdcClasses:["mdc-fab","mat-mdc-fab"]},{attribute:"mat-mini-fab",mdcClasses:["mdc-fab","mdc-fab--mini","mat-mdc-mini-fab"]},{attribute:"mat-icon-button",mdcClasses:["mdc-icon-button","mat-mdc-icon-button"]}],zl=(()=>{let t=class t{get ripple(){return this._rippleLoader?.getRipple(this._elementRef.nativeElement)}set ripple(e){this._rippleLoader?.attachRipple(this._elementRef.nativeElement,e)}get disableRipple(){return this._disableRipple}set disableRipple(e){this._disableRipple=e,this._updateRippleDisabled()}get disabled(){return this._disabled}set disabled(e){this._disabled=e,this._updateRippleDisabled()}constructor(e,i,o,a){this._elementRef=e,this._platform=i,this._ngZone=o,this._animationMode=a,this._focusMonitor=_(Je),this._rippleLoader=_(jh),this._isFab=!1,this._disableRipple=!1,this._disabled=!1;let s=_(nv,{optional:!0}),l=e.nativeElement,c=l.classList;this.disabledInteractive=s?.disabledInteractive??!1,this._rippleLoader?.configureRipple(l,{className:"mat-mdc-button-ripple"});for(let{attribute:u,mdcClasses:p}of ov)l.hasAttribute(u)&&c.add(...p)}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0)}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._rippleLoader?.destroyRipple(this._elementRef.nativeElement)}focus(e="program",i){e?this._focusMonitor.focusVia(this._elementRef.nativeElement,e,i):this._elementRef.nativeElement.focus(i)}_getAriaDisabled(){return this.ariaDisabled!=null?this.ariaDisabled:this.disabled&&this.disabledInteractive?!0:null}_getDisabledAttribute(){return this.disabledInteractive||!this.disabled?null:!0}_updateRippleDisabled(){this._rippleLoader?.setDisabled(this._elementRef.nativeElement,this.disableRipple||this.disabled)}};t.\u0275fac=function(i){dn()},t.\u0275dir=y({type:t,inputs:{color:"color",disableRipple:[m.HasDecoratorInputTransform,"disableRipple","disableRipple",M],disabled:[m.HasDecoratorInputTransform,"disabled","disabled",M],ariaDisabled:[m.HasDecoratorInputTransform,"aria-disabled","ariaDisabled",M],disabledInteractive:[m.HasDecoratorInputTransform,"disabledInteractive","disabledInteractive",M]},features:[lt]});let n=t;return n})();var ba=(()=>{let t=class t extends zl{constructor(e,i,o,a){super(e,i,o,a)}};t.\u0275fac=function(i){return new(i||t)(d(T),d(at),d(O),d(Rt,8))},t.\u0275cmp=j({type:t,selectors:[["button","mat-button",""],["button","mat-raised-button",""],["button","mat-flat-button",""],["button","mat-stroked-button",""]],hostVars:14,hostBindings:function(i,o){i&2&&(nt("disabled",o._getDisabledAttribute())("aria-disabled",o._getAriaDisabled()),qt(o.color?"mat-"+o.color:""),B("mat-mdc-button-disabled",o.disabled)("mat-mdc-button-disabled-interactive",o.disabledInteractive)("_mat-animation-noopable",o._animationMode==="NoopAnimations")("mat-unthemed",!o.color)("mat-mdc-button-base",!0))},exportAs:["matButton"],standalone:!0,features:[tt,V],attrs:Z_,ngContentSelectors:qh,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(i,o){i&1&&(mt(Gh),P(0,"span",0),J(1),h(2,"span",1),J(3,1),f(),J(4,2),P(5,"span",2)(6,"span",3)),i&2&&B("mdc-button__ripple",!o._isFab)("mdc-fab__ripple",o._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(100% + 4px);width:calc(100% + 4px);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{font-family:var(--mdc-text-button-label-text-font);font-size:var(--mdc-text-button-label-text-size);letter-spacing:var(--mdc-text-button-label-text-tracking);font-weight:var(--mdc-text-button-label-text-weight);text-transform:var(--mdc-text-button-label-text-transform);height:var(--mdc-text-button-container-height);border-radius:var(--mdc-text-button-container-shape);padding:0 var(--mat-text-button-horizontal-padding, 8px)}.mat-mdc-button:not(:disabled){color:var(--mdc-text-button-label-text-color)}.mat-mdc-button:disabled{color:var(--mdc-text-button-disabled-label-text-color)}.mat-mdc-button .mdc-button__ripple{border-radius:var(--mdc-text-button-container-shape)}.mat-mdc-button:has(.material-icons,mat-icon,[matButtonIcon]){padding:0 var(--mat-text-button-with-icon-horizontal-padding, 8px)}.mat-mdc-button>.mat-icon{margin-right:var(--mat-text-button-icon-spacing, 8px);margin-left:var(--mat-text-button-icon-offset, 0)}[dir=rtl] .mat-mdc-button>.mat-icon{margin-right:var(--mat-text-button-icon-offset, 0);margin-left:var(--mat-text-button-icon-spacing, 8px)}.mat-mdc-button .mdc-button__label+.mat-icon{margin-right:var(--mat-text-button-icon-offset, 0);margin-left:var(--mat-text-button-icon-spacing, 8px)}[dir=rtl] .mat-mdc-button .mdc-button__label+.mat-icon{margin-right:var(--mat-text-button-icon-spacing, 8px);margin-left:var(--mat-text-button-icon-offset, 0)}.mat-mdc-button .mat-ripple-element{background-color:var(--mat-text-button-ripple-color)}.mat-mdc-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-text-button-state-layer-color)}.mat-mdc-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-text-button-disabled-state-layer-color)}.mat-mdc-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-text-button-hover-state-layer-opacity)}.mat-mdc-button.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-button.mat-mdc-button-disabled-interactive:focus .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-text-button-focus-state-layer-opacity)}.mat-mdc-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-text-button-pressed-state-layer-opacity)}.mat-mdc-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%);display:var(--mat-text-button-touch-target-display)}.mat-mdc-button[disabled],.mat-mdc-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-text-button-disabled-label-text-color)}.mat-mdc-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-unelevated-button{font-family:var(--mdc-filled-button-label-text-font);font-size:var(--mdc-filled-button-label-text-size);letter-spacing:var(--mdc-filled-button-label-text-tracking);font-weight:var(--mdc-filled-button-label-text-weight);text-transform:var(--mdc-filled-button-label-text-transform);height:var(--mdc-filled-button-container-height);border-radius:var(--mdc-filled-button-container-shape);padding:0 var(--mat-filled-button-horizontal-padding, 16px)}.mat-mdc-unelevated-button:not(:disabled){background-color:var(--mdc-filled-button-container-color)}.mat-mdc-unelevated-button:disabled{background-color:var(--mdc-filled-button-disabled-container-color)}.mat-mdc-unelevated-button:not(:disabled){color:var(--mdc-filled-button-label-text-color)}.mat-mdc-unelevated-button:disabled{color:var(--mdc-filled-button-disabled-label-text-color)}.mat-mdc-unelevated-button .mdc-button__ripple{border-radius:var(--mdc-filled-button-container-shape)}.mat-mdc-unelevated-button>.mat-icon{margin-right:var(--mat-filled-button-icon-spacing, 8px);margin-left:var(--mat-filled-button-icon-offset, -4px)}[dir=rtl] .mat-mdc-unelevated-button>.mat-icon{margin-right:var(--mat-filled-button-icon-offset, -4px);margin-left:var(--mat-filled-button-icon-spacing, 8px)}.mat-mdc-unelevated-button .mdc-button__label+.mat-icon{margin-right:var(--mat-filled-button-icon-offset, -4px);margin-left:var(--mat-filled-button-icon-spacing, 8px)}[dir=rtl] .mat-mdc-unelevated-button .mdc-button__label+.mat-icon{margin-right:var(--mat-filled-button-icon-spacing, 8px);margin-left:var(--mat-filled-button-icon-offset, -4px)}.mat-mdc-unelevated-button .mat-ripple-element{background-color:var(--mat-filled-button-ripple-color)}.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-filled-button-state-layer-color)}.mat-mdc-unelevated-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-filled-button-disabled-state-layer-color)}.mat-mdc-unelevated-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-filled-button-hover-state-layer-opacity)}.mat-mdc-unelevated-button.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button.mat-mdc-button-disabled-interactive:focus .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-filled-button-focus-state-layer-opacity)}.mat-mdc-unelevated-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-filled-button-pressed-state-layer-opacity)}.mat-mdc-unelevated-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%);display:var(--mat-filled-button-touch-target-display)}.mat-mdc-unelevated-button[disabled],.mat-mdc-unelevated-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-filled-button-disabled-label-text-color);background-color:var(--mdc-filled-button-disabled-container-color)}.mat-mdc-unelevated-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-raised-button{font-family:var(--mdc-protected-button-label-text-font);font-size:var(--mdc-protected-button-label-text-size);letter-spacing:var(--mdc-protected-button-label-text-tracking);font-weight:var(--mdc-protected-button-label-text-weight);text-transform:var(--mdc-protected-button-label-text-transform);height:var(--mdc-protected-button-container-height);border-radius:var(--mdc-protected-button-container-shape);padding:0 var(--mat-protected-button-horizontal-padding, 16px);box-shadow:var(--mdc-protected-button-container-elevation-shadow)}.mat-mdc-raised-button:not(:disabled){background-color:var(--mdc-protected-button-container-color)}.mat-mdc-raised-button:disabled{background-color:var(--mdc-protected-button-disabled-container-color)}.mat-mdc-raised-button:not(:disabled){color:var(--mdc-protected-button-label-text-color)}.mat-mdc-raised-button:disabled{color:var(--mdc-protected-button-disabled-label-text-color)}.mat-mdc-raised-button .mdc-button__ripple{border-radius:var(--mdc-protected-button-container-shape)}.mat-mdc-raised-button>.mat-icon{margin-right:var(--mat-protected-button-icon-spacing, 8px);margin-left:var(--mat-protected-button-icon-offset, -4px)}[dir=rtl] .mat-mdc-raised-button>.mat-icon{margin-right:var(--mat-protected-button-icon-offset, -4px);margin-left:var(--mat-protected-button-icon-spacing, 8px)}.mat-mdc-raised-button .mdc-button__label+.mat-icon{margin-right:var(--mat-protected-button-icon-offset, -4px);margin-left:var(--mat-protected-button-icon-spacing, 8px)}[dir=rtl] .mat-mdc-raised-button .mdc-button__label+.mat-icon{margin-right:var(--mat-protected-button-icon-spacing, 8px);margin-left:var(--mat-protected-button-icon-offset, -4px)}.mat-mdc-raised-button .mat-ripple-element{background-color:var(--mat-protected-button-ripple-color)}.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-protected-button-state-layer-color)}.mat-mdc-raised-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-protected-button-disabled-state-layer-color)}.mat-mdc-raised-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-protected-button-hover-state-layer-opacity)}.mat-mdc-raised-button.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button.mat-mdc-button-disabled-interactive:focus .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-protected-button-focus-state-layer-opacity)}.mat-mdc-raised-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-protected-button-pressed-state-layer-opacity)}.mat-mdc-raised-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%);display:var(--mat-protected-button-touch-target-display)}.mat-mdc-raised-button:hover{box-shadow:var(--mdc-protected-button-hover-container-elevation-shadow)}.mat-mdc-raised-button:focus{box-shadow:var(--mdc-protected-button-focus-container-elevation-shadow)}.mat-mdc-raised-button:active,.mat-mdc-raised-button:focus:active{box-shadow:var(--mdc-protected-button-pressed-container-elevation-shadow)}.mat-mdc-raised-button[disabled],.mat-mdc-raised-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-protected-button-disabled-label-text-color);background-color:var(--mdc-protected-button-disabled-container-color)}.mat-mdc-raised-button[disabled].mat-mdc-button-disabled,.mat-mdc-raised-button.mat-mdc-button-disabled.mat-mdc-button-disabled{box-shadow:var(--mdc-protected-button-disabled-container-elevation-shadow)}.mat-mdc-raised-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-outlined-button{font-family:var(--mdc-outlined-button-label-text-font);font-size:var(--mdc-outlined-button-label-text-size);letter-spacing:var(--mdc-outlined-button-label-text-tracking);font-weight:var(--mdc-outlined-button-label-text-weight);text-transform:var(--mdc-outlined-button-label-text-transform);height:var(--mdc-outlined-button-container-height);border-radius:var(--mdc-outlined-button-container-shape);padding:0 15px 0 15px;border-width:var(--mdc-outlined-button-outline-width);padding:0 var(--mat-outlined-button-horizontal-padding, 15px)}.mat-mdc-outlined-button:not(:disabled){color:var(--mdc-outlined-button-label-text-color)}.mat-mdc-outlined-button:disabled{color:var(--mdc-outlined-button-disabled-label-text-color)}.mat-mdc-outlined-button .mdc-button__ripple{border-radius:var(--mdc-outlined-button-container-shape)}.mat-mdc-outlined-button:not(:disabled){border-color:var(--mdc-outlined-button-outline-color)}.mat-mdc-outlined-button:disabled{border-color:var(--mdc-outlined-button-disabled-outline-color)}.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)}.mat-mdc-outlined-button .mdc-button__touch{left:calc(-1 * var(--mdc-outlined-button-outline-width));width:calc(100% + 2 * var(--mdc-outlined-button-outline-width))}.mat-mdc-outlined-button>.mat-icon{margin-right:var(--mat-outlined-button-icon-spacing, 8px);margin-left:var(--mat-outlined-button-icon-offset, -4px)}[dir=rtl] .mat-mdc-outlined-button>.mat-icon{margin-right:var(--mat-outlined-button-icon-offset, -4px);margin-left:var(--mat-outlined-button-icon-spacing, 8px)}.mat-mdc-outlined-button .mdc-button__label+.mat-icon{margin-right:var(--mat-outlined-button-icon-offset, -4px);margin-left:var(--mat-outlined-button-icon-spacing, 8px)}[dir=rtl] .mat-mdc-outlined-button .mdc-button__label+.mat-icon{margin-right:var(--mat-outlined-button-icon-spacing, 8px);margin-left:var(--mat-outlined-button-icon-offset, -4px)}.mat-mdc-outlined-button .mat-ripple-element{background-color:var(--mat-outlined-button-ripple-color)}.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-outlined-button-state-layer-color)}.mat-mdc-outlined-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-outlined-button-disabled-state-layer-color)}.mat-mdc-outlined-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-outlined-button-hover-state-layer-opacity)}.mat-mdc-outlined-button.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button.mat-mdc-button-disabled-interactive:focus .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-outlined-button-focus-state-layer-opacity)}.mat-mdc-outlined-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-outlined-button-pressed-state-layer-opacity)}.mat-mdc-outlined-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%);display:var(--mat-outlined-button-touch-target-display)}.mat-mdc-outlined-button[disabled],.mat-mdc-outlined-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-outlined-button-disabled-label-text-color);border-color:var(--mdc-outlined-button-disabled-outline-color)}.mat-mdc-outlined-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-button-base{text-decoration:none}.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}.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._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,.mat-mdc-unelevated-button>.mat-icon,.mat-mdc-raised-button>.mat-icon,.mat-mdc-outlined-button>.mat-icon{display:inline-block;position:relative;vertical-align:top;font-size:1.125rem;height:1.125rem;width:1.125rem}.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});let n=t;return n})();var rv=new C("mat-mdc-fab-default-options",{providedIn:"root",factory:Yh});function Yh(){return{color:"accent"}}var Wh=Yh();var Qh=(()=>{let t=class t extends zl{constructor(e,i,o,a,s){super(e,i,o,a),this._options=s,this._isFab=!0,this._options=this._options||Wh,this.color=this._options.color||Wh.color}};t.\u0275fac=function(i){return new(i||t)(d(T),d(at),d(O),d(Rt,8),d(rv,8))},t.\u0275cmp=j({type:t,selectors:[["button","mat-mini-fab",""]],hostVars:14,hostBindings:function(i,o){i&2&&(nt("disabled",o._getDisabledAttribute())("aria-disabled",o._getAriaDisabled()),qt(o.color?"mat-"+o.color:""),B("mat-mdc-button-disabled",o.disabled)("mat-mdc-button-disabled-interactive",o.disabledInteractive)("_mat-animation-noopable",o._animationMode==="NoopAnimations")("mat-unthemed",!o.color)("mat-mdc-button-base",!0))},exportAs:["matButton"],standalone:!0,features:[tt,V],attrs:J_,ngContentSelectors:qh,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(i,o){i&1&&(mt(Gh),P(0,"span",0),J(1),h(2,"span",1),J(3,1),f(),J(4,2),P(5,"span",2)(6,"span",3)),i&2&&B("mdc-button__ripple",!o._isFab)("mdc-fab__ripple",o._isFab)},styles:[tv],encapsulation:2,changeDetection:0});let n=t;return n})();var Ei=(()=>{let t=class t extends zl{constructor(e,i,o,a){super(e,i,o,a),this._rippleLoader.configureRipple(this._elementRef.nativeElement,{centered:!0})}};t.\u0275fac=function(i){return new(i||t)(d(T),d(at),d(O),d(Rt,8))},t.\u0275cmp=j({type:t,selectors:[["button","mat-icon-button",""]],hostVars:14,hostBindings:function(i,o){i&2&&(nt("disabled",o._getDisabledAttribute())("aria-disabled",o._getAriaDisabled()),qt(o.color?"mat-"+o.color:""),B("mat-mdc-button-disabled",o.disabled)("mat-mdc-button-disabled-interactive",o.disabledInteractive)("_mat-animation-noopable",o._animationMode==="NoopAnimations")("mat-unthemed",!o.color)("mat-mdc-button-base",!0))},exportAs:["matButton"],standalone:!0,features:[tt,V],attrs:ev,ngContentSelectors:iv,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(i,o){i&1&&(mt(),P(0,"span",0),J(1),P(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{color:var(--mdc-icon-button-icon-color)}.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{color:var(--mdc-icon-button-disabled-icon-color)}.mat-mdc-icon-button{border-radius:50%;flex-shrink:0;text-align:center;width:var(--mdc-icon-button-state-layer-size, 48px);height:var(--mdc-icon-button-state-layer-size, 48px);padding:calc(calc(var(--mdc-icon-button-state-layer-size, 48px) - var(--mdc-icon-button-icon-size, 24px)) / 2);font-size:var(--mdc-icon-button-icon-size);-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-icon-button svg{vertical-align:baseline}.mat-mdc-icon-button[disabled],.mat-mdc-icon-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-icon-button-disabled-icon-color)}.mat-mdc-icon-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.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}.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-ripple-element{background-color:var(--mat-icon-button-ripple-color)}.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-icon-button-state-layer-color)}.mat-mdc-icon-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-icon-button-disabled-state-layer-color)}.mat-mdc-icon-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-icon-button-hover-state-layer-opacity)}.mat-mdc-icon-button.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-icon-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-icon-button.mat-mdc-button-disabled-interactive:focus .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-icon-button-focus-state-layer-opacity)}.mat-mdc-icon-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-icon-button-pressed-state-layer-opacity)}.mat-mdc-icon-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%);display:var(--mat-icon-button-touch-target-display)}.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}',K_],encapsulation:2,changeDetection:0});let n=t;return n})();var se=(()=>{let t=class t{};t.\u0275fac=function(i){return new(i||t)},t.\u0275mod=W({type:t}),t.\u0275inj=$({imports:[dt,Zo,dt]});let n=t;return n})();var Xh=we({passive:!0}),Zh=(()=>{let t=class t{constructor(e,i){this._platform=e,this._ngZone=i,this._monitoredElements=new Map}monitor(e){if(!this._platform.isBrowser)return be;let i=re(e),o=this._monitoredElements.get(i);if(o)return o.subject;let a=new N,s="cdk-text-field-autofilled",l=c=>{c.animationName==="cdk-text-field-autofill-start"&&!i.classList.contains(s)?(i.classList.add(s),this._ngZone.run(()=>a.next({target:c.target,isAutofilled:!0}))):c.animationName==="cdk-text-field-autofill-end"&&i.classList.contains(s)&&(i.classList.remove(s),this._ngZone.run(()=>a.next({target:c.target,isAutofilled:!1})))};return this._ngZone.runOutsideAngular(()=>{i.addEventListener("animationstart",l,Xh),i.classList.add("cdk-text-field-autofill-monitored")}),this._monitoredElements.set(i,{subject:a,unlisten:()=>{i.removeEventListener("animationstart",l,Xh)}}),a}stopMonitoring(e){let i=re(e),o=this._monitoredElements.get(i);o&&(o.unlisten(),o.subject.complete(),i.classList.remove("cdk-text-field-autofill-monitored"),i.classList.remove("cdk-text-field-autofilled"),this._monitoredElements.delete(i))}ngOnDestroy(){this._monitoredElements.forEach((e,i)=>this.stopMonitoring(i))}};t.\u0275fac=function(i){return new(i||t)(b(at),b(O))},t.\u0275prov=w({token:t,factory:t.\u0275fac,providedIn:"root"});let n=t;return n})();var Kh=(()=>{let t=class t{};t.\u0275fac=function(i){return new(i||t)},t.\u0275mod=W({type:t}),t.\u0275inj=$({});let n=t;return n})();var am=(()=>{let t=class t{constructor(e,i){this._renderer=e,this._elementRef=i,this.onChange=o=>{},this.onTouched=()=>{}}setProperty(e,i){this._renderer.setProperty(this._elementRef.nativeElement,e,i)}registerOnTouched(e){this.onTouched=e}registerOnChange(e){this.onChange=e}setDisabledState(e){this.setProperty("disabled",e)}};t.\u0275fac=function(i){return new(i||t)(d(Vi),d(T))},t.\u0275dir=y({type:t});let n=t;return n})(),sv=(()=>{let t=class t extends am{};t.\u0275fac=(()=>{let e;return function(o){return(e||(e=St(t)))(o||t)}})(),t.\u0275dir=y({type:t,features:[tt]});let n=t;return n})(),ki=new C("");var lv={provide:ki,useExisting:jt(()=>We),multi:!0};function cv(){let n=Ui()?Ui().getUserAgent():"";return/android (\d+)/.test(n.toLowerCase())}var dv=new C(""),We=(()=>{let t=class t extends am{constructor(e,i,o){super(e,i),this._compositionMode=o,this._composing=!1,this._compositionMode==null&&(this._compositionMode=!cv())}writeValue(e){let i=e??"";this.setProperty("value",i)}_handleInput(e){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(e)}_compositionStart(){this._composing=!0}_compositionEnd(e){this._composing=!1,this._compositionMode&&this.onChange(e)}};t.\u0275fac=function(i){return new(i||t)(d(Vi),d(T),d(dv,8))},t.\u0275dir=y({type:t,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(i,o){i&1&&H("input",function(s){return o._handleInput(s.target.value)})("blur",function(){return o.onTouched()})("compositionstart",function(){return o._compositionStart()})("compositionend",function(s){return o._compositionEnd(s.target.value)})},features:[ot([lv]),tt]});let n=t;return n})();function Si(n){return n==null||(typeof n=="string"||Array.isArray(n))&&n.length===0}function sm(n){return n!=null&&typeof n.length=="number"}var Ti=new C(""),sr=new C(""),uv=/^(?=.{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])?)*$/,Ie=class{static min(t){return hv(t)}static max(t){return mv(t)}static required(t){return lm(t)}static requiredTrue(t){return fv(t)}static email(t){return pv(t)}static minLength(t){return gv(t)}static maxLength(t){return bv(t)}static pattern(t){return _v(t)}static nullValidator(t){return va(t)}static compose(t){return fm(t)}static composeAsync(t){return pm(t)}};function hv(n){return t=>{if(Si(t.value)||Si(n))return null;let r=parseFloat(t.value);return!isNaN(r)&&r{if(Si(t.value)||Si(n))return null;let r=parseFloat(t.value);return!isNaN(r)&&r>n?{max:{max:n,actual:t.value}}:null}}function lm(n){return Si(n.value)?{required:!0}:null}function fv(n){return n.value===!0?null:{required:!0}}function pv(n){return Si(n.value)||uv.test(n.value)?null:{email:!0}}function gv(n){return t=>Si(t.value)||!sm(t.value)?null:t.value.lengthsm(t.value)&&t.value.length>n?{maxlength:{requiredLength:n,actualLength:t.value.length}}:null}function _v(n){if(!n)return va;let t,r;return typeof n=="string"?(r="",n.charAt(0)!=="^"&&(r+="^"),r+=n,n.charAt(n.length-1)!=="$"&&(r+="$"),t=new RegExp(r)):(r=n.toString(),t=n),e=>{if(Si(e.value))return null;let i=e.value;return t.test(i)?null:{pattern:{requiredPattern:r,actualValue:i}}}}function va(n){return null}function cm(n){return n!=null}function dm(n){return Sr(n)?Ft(n):n}function um(n){let t={};return n.forEach(r=>{t=r!=null?x(x({},t),r):t}),Object.keys(t).length===0?null:t}function hm(n,t){return t.map(r=>r(n))}function vv(n){return!n.validate}function mm(n){return n.map(t=>vv(t)?t:r=>t.validate(r))}function fm(n){if(!n)return null;let t=n.filter(cm);return t.length==0?null:function(r){return um(hm(r,t))}}function $l(n){return n!=null?fm(mm(n)):null}function pm(n){if(!n)return null;let t=n.filter(cm);return t.length==0?null:function(r){let e=hm(r,t).map(dm);return vr(e).pipe(G(um))}}function Wl(n){return n!=null?pm(mm(n)):null}function Jh(n,t){return n===null?[t]:Array.isArray(n)?[...n,t]:[n,t]}function gm(n){return n._rawValidators}function bm(n){return n._rawAsyncValidators}function Bl(n){return n?Array.isArray(n)?n:[n]:[]}function ya(n,t){return Array.isArray(n)?n.includes(t):n===t}function tm(n,t){let r=Bl(t);return Bl(n).forEach(i=>{ya(r,i)||r.push(i)}),r}function em(n,t){return Bl(t).filter(r=>!ya(n,r))}var xa=class{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(t){this._rawValidators=t||[],this._composedValidatorFn=$l(this._rawValidators)}_setAsyncValidators(t){this._rawAsyncValidators=t||[],this._composedAsyncValidatorFn=Wl(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(t){this._onDestroyCallbacks.push(t)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(t=>t()),this._onDestroyCallbacks=[]}reset(t=void 0){this.control&&this.control.reset(t)}hasError(t,r){return this.control?this.control.hasError(t,r):!1}getError(t,r){return this.control?this.control.getError(t,r):null}},ni=class extends xa{get formDirective(){return null}get path(){return null}},pe=class extends xa{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}},wa=class{constructor(t){this._cd=t}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}},yv={"[class.ng-untouched]":"isUntouched","[class.ng-touched]":"isTouched","[class.ng-pristine]":"isPristine","[class.ng-dirty]":"isDirty","[class.ng-valid]":"isValid","[class.ng-invalid]":"isInvalid","[class.ng-pending]":"isPending"},TD=It(x({},yv),{"[class.ng-submitted]":"isSubmitted"}),Ri=(()=>{let t=class t extends wa{constructor(e){super(e)}};t.\u0275fac=function(i){return new(i||t)(d(pe,2))},t.\u0275dir=y({type:t,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(i,o){i&2&&B("ng-untouched",o.isUntouched)("ng-touched",o.isTouched)("ng-pristine",o.isPristine)("ng-dirty",o.isDirty)("ng-valid",o.isValid)("ng-invalid",o.isInvalid)("ng-pending",o.isPending)},features:[tt]});let n=t;return n})(),Nn=(()=>{let t=class t extends wa{constructor(e){super(e)}};t.\u0275fac=function(i){return new(i||t)(d(ni,10))},t.\u0275dir=y({type:t,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(i,o){i&2&&B("ng-untouched",o.isUntouched)("ng-touched",o.isTouched)("ng-pristine",o.isPristine)("ng-dirty",o.isDirty)("ng-valid",o.isValid)("ng-invalid",o.isInvalid)("ng-pending",o.isPending)("ng-submitted",o.isSubmitted)},features:[tt]});let n=t;return n})();var nr="VALID",_a="INVALID",On="PENDING",or="DISABLED";function Gl(n){return(Ea(n)?n.validators:n)||null}function xv(n){return Array.isArray(n)?$l(n):n||null}function ql(n,t){return(Ea(t)?t.asyncValidators:n)||null}function wv(n){return Array.isArray(n)?Wl(n):n||null}function Ea(n){return n!=null&&!Array.isArray(n)&&typeof n=="object"}function _m(n,t,r){let e=n.controls;if(!(t?Object.keys(e):e).length)throw new gt(1e3,"");if(!e[r])throw new gt(1001,"")}function vm(n,t,r){n._forEachChild((e,i)=>{if(r[i]===void 0)throw new gt(1002,"")})}var Fn=class{constructor(t,r){this._pendingDirty=!1,this._hasOwnPendingAsyncValidator=!1,this._pendingTouched=!1,this._onCollectionChange=()=>{},this._parent=null,this.pristine=!0,this.touched=!1,this._onDisabledChange=[],this._assignValidators(t),this._assignAsyncValidators(r)}get validator(){return this._composedValidatorFn}set validator(t){this._rawValidators=this._composedValidatorFn=t}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(t){this._rawAsyncValidators=this._composedAsyncValidatorFn=t}get parent(){return this._parent}get valid(){return this.status===nr}get invalid(){return this.status===_a}get pending(){return this.status==On}get disabled(){return this.status===or}get enabled(){return this.status!==or}get dirty(){return!this.pristine}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(t){this._assignValidators(t)}setAsyncValidators(t){this._assignAsyncValidators(t)}addValidators(t){this.setValidators(tm(t,this._rawValidators))}addAsyncValidators(t){this.setAsyncValidators(tm(t,this._rawAsyncValidators))}removeValidators(t){this.setValidators(em(t,this._rawValidators))}removeAsyncValidators(t){this.setAsyncValidators(em(t,this._rawAsyncValidators))}hasValidator(t){return ya(this._rawValidators,t)}hasAsyncValidator(t){return ya(this._rawAsyncValidators,t)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(t={}){this.touched=!0,this._parent&&!t.onlySelf&&this._parent.markAsTouched(t)}markAllAsTouched(){this.markAsTouched({onlySelf:!0}),this._forEachChild(t=>t.markAllAsTouched())}markAsUntouched(t={}){this.touched=!1,this._pendingTouched=!1,this._forEachChild(r=>{r.markAsUntouched({onlySelf:!0})}),this._parent&&!t.onlySelf&&this._parent._updateTouched(t)}markAsDirty(t={}){this.pristine=!1,this._parent&&!t.onlySelf&&this._parent.markAsDirty(t)}markAsPristine(t={}){this.pristine=!0,this._pendingDirty=!1,this._forEachChild(r=>{r.markAsPristine({onlySelf:!0})}),this._parent&&!t.onlySelf&&this._parent._updatePristine(t)}markAsPending(t={}){this.status=On,t.emitEvent!==!1&&this.statusChanges.emit(this.status),this._parent&&!t.onlySelf&&this._parent.markAsPending(t)}disable(t={}){let r=this._parentMarkedDirty(t.onlySelf);this.status=or,this.errors=null,this._forEachChild(e=>{e.disable(It(x({},t),{onlySelf:!0}))}),this._updateValue(),t.emitEvent!==!1&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors(It(x({},t),{skipPristineCheck:r})),this._onDisabledChange.forEach(e=>e(!0))}enable(t={}){let r=this._parentMarkedDirty(t.onlySelf);this.status=nr,this._forEachChild(e=>{e.enable(It(x({},t),{onlySelf:!0}))}),this.updateValueAndValidity({onlySelf:!0,emitEvent:t.emitEvent}),this._updateAncestors(It(x({},t),{skipPristineCheck:r})),this._onDisabledChange.forEach(e=>e(!1))}_updateAncestors(t){this._parent&&!t.onlySelf&&(this._parent.updateValueAndValidity(t),t.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}setParent(t){this._parent=t}getRawValue(){return this.value}updateValueAndValidity(t={}){this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===nr||this.status===On)&&this._runAsyncValidator(t.emitEvent)),t.emitEvent!==!1&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!t.onlySelf&&this._parent.updateValueAndValidity(t)}_updateTreeValidity(t={emitEvent:!0}){this._forEachChild(r=>r._updateTreeValidity(t)),this.updateValueAndValidity({onlySelf:!0,emitEvent:t.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?or:nr}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(t){if(this.asyncValidator){this.status=On,this._hasOwnPendingAsyncValidator=!0;let r=dm(this.asyncValidator(this));this._asyncValidationSubscription=r.subscribe(e=>{this._hasOwnPendingAsyncValidator=!1,this.setErrors(e,{emitEvent:t})})}}_cancelExistingSubscription(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)}setErrors(t,r={}){this.errors=t,this._updateControlsErrors(r.emitEvent!==!1)}get(t){let r=t;return r==null||(Array.isArray(r)||(r=r.split(".")),r.length===0)?null:r.reduce((e,i)=>e&&e._find(i),this)}getError(t,r){let e=r?this.get(r):this;return e&&e.errors?e.errors[t]:null}hasError(t,r){return!!this.getError(t,r)}get root(){let t=this;for(;t._parent;)t=t._parent;return t}_updateControlsErrors(t){this.status=this._calculateStatus(),t&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(t)}_initObservables(){this.valueChanges=new z,this.statusChanges=new z}_calculateStatus(){return this._allControlsDisabled()?or:this.errors?_a:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(On)?On:this._anyControlsHaveStatus(_a)?_a:nr}_anyControlsHaveStatus(t){return this._anyControls(r=>r.status===t)}_anyControlsDirty(){return this._anyControls(t=>t.dirty)}_anyControlsTouched(){return this._anyControls(t=>t.touched)}_updatePristine(t={}){this.pristine=!this._anyControlsDirty(),this._parent&&!t.onlySelf&&this._parent._updatePristine(t)}_updateTouched(t={}){this.touched=this._anyControlsTouched(),this._parent&&!t.onlySelf&&this._parent._updateTouched(t)}_registerOnCollectionChange(t){this._onCollectionChange=t}_setUpdateStrategy(t){Ea(t)&&t.updateOn!=null&&(this._updateOn=t.updateOn)}_parentMarkedDirty(t){let r=this._parent&&this._parent.dirty;return!t&&!!r&&!this._parent._anyControlsDirty()}_find(t){return null}_assignValidators(t){this._rawValidators=Array.isArray(t)?t.slice():t,this._composedValidatorFn=xv(this._rawValidators)}_assignAsyncValidators(t){this._rawAsyncValidators=Array.isArray(t)?t.slice():t,this._composedAsyncValidatorFn=wv(this._rawAsyncValidators)}},Pn=class extends Fn{constructor(t,r,e){super(Gl(r),ql(e,r)),this.controls=t,this._initObservables(),this._setUpdateStrategy(r),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}registerControl(t,r){return this.controls[t]?this.controls[t]:(this.controls[t]=r,r.setParent(this),r._registerOnCollectionChange(this._onCollectionChange),r)}addControl(t,r,e={}){this.registerControl(t,r),this.updateValueAndValidity({emitEvent:e.emitEvent}),this._onCollectionChange()}removeControl(t,r={}){this.controls[t]&&this.controls[t]._registerOnCollectionChange(()=>{}),delete this.controls[t],this.updateValueAndValidity({emitEvent:r.emitEvent}),this._onCollectionChange()}setControl(t,r,e={}){this.controls[t]&&this.controls[t]._registerOnCollectionChange(()=>{}),delete this.controls[t],r&&this.registerControl(t,r),this.updateValueAndValidity({emitEvent:e.emitEvent}),this._onCollectionChange()}contains(t){return this.controls.hasOwnProperty(t)&&this.controls[t].enabled}setValue(t,r={}){vm(this,!0,t),Object.keys(t).forEach(e=>{_m(this,!0,e),this.controls[e].setValue(t[e],{onlySelf:!0,emitEvent:r.emitEvent})}),this.updateValueAndValidity(r)}patchValue(t,r={}){t!=null&&(Object.keys(t).forEach(e=>{let i=this.controls[e];i&&i.patchValue(t[e],{onlySelf:!0,emitEvent:r.emitEvent})}),this.updateValueAndValidity(r))}reset(t={},r={}){this._forEachChild((e,i)=>{e.reset(t?t[i]:null,{onlySelf:!0,emitEvent:r.emitEvent})}),this._updatePristine(r),this._updateTouched(r),this.updateValueAndValidity(r)}getRawValue(){return this._reduceChildren({},(t,r,e)=>(t[e]=r.getRawValue(),t))}_syncPendingControls(){let t=this._reduceChildren(!1,(r,e)=>e._syncPendingControls()?!0:r);return t&&this.updateValueAndValidity({onlySelf:!0}),t}_forEachChild(t){Object.keys(this.controls).forEach(r=>{let e=this.controls[r];e&&t(e,r)})}_setUpControls(){this._forEachChild(t=>{t.setParent(this),t._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(t){for(let[r,e]of Object.entries(this.controls))if(this.contains(r)&&t(e))return!0;return!1}_reduceValue(){let t={};return this._reduceChildren(t,(r,e,i)=>((e.enabled||this.disabled)&&(r[i]=e.value),r))}_reduceChildren(t,r){let e=t;return this._forEachChild((i,o)=>{e=r(e,i,o)}),e}_allControlsDisabled(){for(let t of Object.keys(this.controls))if(this.controls[t].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_find(t){return this.controls.hasOwnProperty(t)?this.controls[t]:null}};var Hl=class extends Pn{};var Ln=new C("CallSetDisabledState",{providedIn:"root",factory:()=>Sa}),Sa="always";function ym(n,t){return[...t.path,n]}function ar(n,t,r=Sa){Yl(n,t),t.valueAccessor.writeValue(n.value),(n.disabled||r==="always")&&t.valueAccessor.setDisabledState?.(n.disabled),Iv(n,t),Ev(n,t),Dv(n,t),Cv(n,t)}function Ca(n,t,r=!0){let e=()=>{};t.valueAccessor&&(t.valueAccessor.registerOnChange(e),t.valueAccessor.registerOnTouched(e)),Da(n,t),n&&(t._invokeOnDestroyCallbacks(),n._registerOnCollectionChange(()=>{}))}function Ia(n,t){n.forEach(r=>{r.registerOnValidatorChange&&r.registerOnValidatorChange(t)})}function Cv(n,t){if(t.valueAccessor.setDisabledState){let r=e=>{t.valueAccessor.setDisabledState(e)};n.registerOnDisabledChange(r),t._registerOnDestroy(()=>{n._unregisterOnDisabledChange(r)})}}function Yl(n,t){let r=gm(n);t.validator!==null?n.setValidators(Jh(r,t.validator)):typeof r=="function"&&n.setValidators([r]);let e=bm(n);t.asyncValidator!==null?n.setAsyncValidators(Jh(e,t.asyncValidator)):typeof e=="function"&&n.setAsyncValidators([e]);let i=()=>n.updateValueAndValidity();Ia(t._rawValidators,i),Ia(t._rawAsyncValidators,i)}function Da(n,t){let r=!1;if(n!==null){if(t.validator!==null){let i=gm(n);if(Array.isArray(i)&&i.length>0){let o=i.filter(a=>a!==t.validator);o.length!==i.length&&(r=!0,n.setValidators(o))}}if(t.asyncValidator!==null){let i=bm(n);if(Array.isArray(i)&&i.length>0){let o=i.filter(a=>a!==t.asyncValidator);o.length!==i.length&&(r=!0,n.setAsyncValidators(o))}}}let e=()=>{};return Ia(t._rawValidators,e),Ia(t._rawAsyncValidators,e),r}function Iv(n,t){t.valueAccessor.registerOnChange(r=>{n._pendingValue=r,n._pendingChange=!0,n._pendingDirty=!0,n.updateOn==="change"&&xm(n,t)})}function Dv(n,t){t.valueAccessor.registerOnTouched(()=>{n._pendingTouched=!0,n.updateOn==="blur"&&n._pendingChange&&xm(n,t),n.updateOn!=="submit"&&n.markAsTouched()})}function xm(n,t){n._pendingDirty&&n.markAsDirty(),n.setValue(n._pendingValue,{emitModelToViewChange:!1}),t.viewToModelUpdate(n._pendingValue),n._pendingChange=!1}function Ev(n,t){let r=(e,i)=>{t.valueAccessor.writeValue(e),i&&t.viewToModelUpdate(e)};n.registerOnChange(r),t._registerOnDestroy(()=>{n._unregisterOnChange(r)})}function wm(n,t){n==null,Yl(n,t)}function Sv(n,t){return Da(n,t)}function Ql(n,t){if(!n.hasOwnProperty("model"))return!1;let r=n.model;return r.isFirstChange()?!0:!Object.is(t,r.currentValue)}function kv(n){return Object.getPrototypeOf(n.constructor)===sv}function Cm(n,t){n._syncPendingControls(),t.forEach(r=>{let e=r.control;e.updateOn==="submit"&&e._pendingChange&&(r.viewToModelUpdate(e._pendingValue),e._pendingChange=!1)})}function Xl(n,t){if(!t)return null;Array.isArray(t);let r,e,i;return t.forEach(o=>{o.constructor===We?r=o:kv(o)?e=o:i=o}),i||e||r||null}function Tv(n,t){let r=n.indexOf(t);r>-1&&n.splice(r,1)}var Rv={provide:ni,useExisting:jt(()=>oi)},rr=Promise.resolve(),oi=(()=>{let t=class t extends ni{constructor(e,i,o){super(),this.callSetDisabledState=o,this.submitted=!1,this._directives=new Set,this.ngSubmit=new z,this.form=new Pn({},$l(e),Wl(i))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(e){rr.then(()=>{let i=this._findContainer(e.path);e.control=i.registerControl(e.name,e.control),ar(e.control,e,this.callSetDisabledState),e.control.updateValueAndValidity({emitEvent:!1}),this._directives.add(e)})}getControl(e){return this.form.get(e.path)}removeControl(e){rr.then(()=>{let i=this._findContainer(e.path);i&&i.removeControl(e.name),this._directives.delete(e)})}addFormGroup(e){rr.then(()=>{let i=this._findContainer(e.path),o=new Pn({});wm(o,e),i.registerControl(e.name,o),o.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(e){rr.then(()=>{let i=this._findContainer(e.path);i&&i.removeControl(e.name)})}getFormGroup(e){return this.form.get(e.path)}updateModel(e,i){rr.then(()=>{this.form.get(e.path).setValue(i)})}setValue(e){this.control.setValue(e)}onSubmit(e){return this.submitted=!0,Cm(this.form,this._directives),this.ngSubmit.emit(e),e?.target?.method==="dialog"}onReset(){this.resetForm()}resetForm(e=void 0){this.form.reset(e),this.submitted=!1}_setUpdateStrategy(){this.options&&this.options.updateOn!=null&&(this.form._updateOn=this.options.updateOn)}_findContainer(e){return e.pop(),e.length?this.form.get(e):this.form}};t.\u0275fac=function(i){return new(i||t)(d(Ti,10),d(sr,10),d(Ln,8))},t.\u0275dir=y({type:t,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(i,o){i&1&&H("submit",function(s){return o.onSubmit(s)})("reset",function(){return o.onReset()})},inputs:{options:[m.None,"ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[ot([Rv]),tt]});let n=t;return n})();function im(n,t){let r=n.indexOf(t);r>-1&&n.splice(r,1)}function nm(n){return typeof n=="object"&&n!==null&&Object.keys(n).length===2&&"value"in n&&"disabled"in n}var $e=class extends Fn{constructor(t=null,r,e){super(Gl(r),ql(e,r)),this.defaultValue=null,this._onChange=[],this._pendingChange=!1,this._applyFormState(t),this._setUpdateStrategy(r),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),Ea(r)&&(r.nonNullable||r.initialValueIsDefault)&&(nm(t)?this.defaultValue=t.value:this.defaultValue=t)}setValue(t,r={}){this.value=this._pendingValue=t,this._onChange.length&&r.emitModelToViewChange!==!1&&this._onChange.forEach(e=>e(this.value,r.emitViewToModelChange!==!1)),this.updateValueAndValidity(r)}patchValue(t,r={}){this.setValue(t,r)}reset(t=this.defaultValue,r={}){this._applyFormState(t),this.markAsPristine(r),this.markAsUntouched(r),this.setValue(this.value,r),this._pendingChange=!1}_updateValue(){}_anyControls(t){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(t){this._onChange.push(t)}_unregisterOnChange(t){im(this._onChange,t)}registerOnDisabledChange(t){this._onDisabledChange.push(t)}_unregisterOnDisabledChange(t){im(this._onDisabledChange,t)}_forEachChild(t){}_syncPendingControls(){return this.updateOn==="submit"&&(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),this._pendingChange)?(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),!0):!1}_applyFormState(t){nm(t)?(this.value=this._pendingValue=t.value,t.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=t}};var Mv=n=>n instanceof $e;var Av={provide:pe,useExisting:jt(()=>Zl)},om=Promise.resolve(),Zl=(()=>{let t=class t extends pe{constructor(e,i,o,a,s,l){super(),this._changeDetectorRef=s,this.callSetDisabledState=l,this.control=new $e,this._registered=!1,this.name="",this.update=new z,this._parent=e,this._setValidators(i),this._setAsyncValidators(o),this.valueAccessor=Xl(this,a)}ngOnChanges(e){if(this._checkForErrors(),!this._registered||"name"in e){if(this._registered&&(this._checkName(),this.formDirective)){let i=e.name.previousValue;this.formDirective.removeControl({name:i,path:this._getPath(i)})}this._setUpControl()}"isDisabled"in e&&this._updateDisabled(e),Ql(e,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(e){this.viewModel=e,this.update.emit(e)}_setUpControl(){this._setUpdateStrategy(),this._isStandalone()?this._setUpStandalone():this.formDirective.addControl(this),this._registered=!0}_setUpdateStrategy(){this.options&&this.options.updateOn!=null&&(this.control._updateOn=this.options.updateOn)}_isStandalone(){return!this._parent||!!(this.options&&this.options.standalone)}_setUpStandalone(){ar(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()&&this.name}_updateValue(e){om.then(()=>{this.control.setValue(e,{emitViewToModelChange:!1}),this._changeDetectorRef?.markForCheck()})}_updateDisabled(e){let i=e.isDisabled.currentValue,o=i!==0&&M(i);om.then(()=>{o&&!this.control.disabled?this.control.disable():!o&&this.control.disabled&&this.control.enable(),this._changeDetectorRef?.markForCheck()})}_getPath(e){return this._parent?ym(e,this._parent):[e]}};t.\u0275fac=function(i){return new(i||t)(d(ni,9),d(Ti,10),d(sr,10),d(ki,10),d(ft,8),d(Ln,8))},t.\u0275dir=y({type:t,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:[m.None,"disabled","isDisabled"],model:[m.None,"ngModel","model"],options:[m.None,"ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],features:[ot([Av]),tt,ut]});let n=t;return n})(),jn=(()=>{let t=class t{};t.\u0275fac=function(i){return new(i||t)},t.\u0275dir=y({type:t,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""]});let n=t;return n})();var Kl=new C(""),Ov={provide:pe,useExisting:jt(()=>lr)},lr=(()=>{let t=class t extends pe{set isDisabled(e){}constructor(e,i,o,a,s){super(),this._ngModelWarningConfig=a,this.callSetDisabledState=s,this.update=new z,this._ngModelWarningSent=!1,this._setValidators(e),this._setAsyncValidators(i),this.valueAccessor=Xl(this,o)}ngOnChanges(e){if(this._isControlChanged(e)){let i=e.form.previousValue;i&&Ca(i,this,!1),ar(this.form,this,this.callSetDisabledState),this.form.updateValueAndValidity({emitEvent:!1})}Ql(e,this.viewModel)&&(this.form.setValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.form&&Ca(this.form,this,!1)}get path(){return[]}get control(){return this.form}viewToModelUpdate(e){this.viewModel=e,this.update.emit(e)}_isControlChanged(e){return e.hasOwnProperty("form")}};t._ngModelWarningSentOnce=!1,t.\u0275fac=function(i){return new(i||t)(d(Ti,10),d(sr,10),d(ki,10),d(Kl,8),d(Ln,8))},t.\u0275dir=y({type:t,selectors:[["","formControl",""]],inputs:{form:[m.None,"formControl","form"],isDisabled:[m.None,"disabled","isDisabled"],model:[m.None,"ngModel","model"]},outputs:{update:"ngModelChange"},exportAs:["ngForm"],features:[ot([Ov]),tt,ut]});let n=t;return n})(),Fv={provide:ni,useExisting:jt(()=>Ki)},Ki=(()=>{let t=class t extends ni{constructor(e,i,o){super(),this.callSetDisabledState=o,this.submitted=!1,this._onCollectionChange=()=>this._updateDomValue(),this.directives=[],this.form=null,this.ngSubmit=new z,this._setValidators(e),this._setAsyncValidators(i)}ngOnChanges(e){this._checkFormPresent(),e.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}ngOnDestroy(){this.form&&(Da(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(()=>{}))}get formDirective(){return this}get control(){return this.form}get path(){return[]}addControl(e){let i=this.form.get(e.path);return ar(i,e,this.callSetDisabledState),i.updateValueAndValidity({emitEvent:!1}),this.directives.push(e),i}getControl(e){return this.form.get(e.path)}removeControl(e){Ca(e.control||null,e,!1),Tv(this.directives,e)}addFormGroup(e){this._setUpFormContainer(e)}removeFormGroup(e){this._cleanUpFormContainer(e)}getFormGroup(e){return this.form.get(e.path)}addFormArray(e){this._setUpFormContainer(e)}removeFormArray(e){this._cleanUpFormContainer(e)}getFormArray(e){return this.form.get(e.path)}updateModel(e,i){this.form.get(e.path).setValue(i)}onSubmit(e){return this.submitted=!0,Cm(this.form,this.directives),this.ngSubmit.emit(e),e?.target?.method==="dialog"}onReset(){this.resetForm()}resetForm(e=void 0){this.form.reset(e),this.submitted=!1}_updateDomValue(){this.directives.forEach(e=>{let i=e.control,o=this.form.get(e.path);i!==o&&(Ca(i||null,e),Mv(o)&&(ar(o,e,this.callSetDisabledState),e.control=o))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(e){let i=this.form.get(e.path);wm(i,e),i.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(e){if(this.form){let i=this.form.get(e.path);i&&Sv(i,e)&&i.updateValueAndValidity({emitEvent:!1})}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{})}_updateValidators(){Yl(this.form,this),this._oldForm&&Da(this._oldForm,this)}_checkFormPresent(){this.form}};t.\u0275fac=function(i){return new(i||t)(d(Ti,10),d(sr,10),d(Ln,8))},t.\u0275dir=y({type:t,selectors:[["","formGroup",""]],hostBindings:function(i,o){i&1&&H("submit",function(s){return o.onSubmit(s)})("reset",function(){return o.onReset()})},inputs:{form:[m.None,"formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[ot([Fv]),tt,ut]});let n=t;return n})();var Pv={provide:pe,useExisting:jt(()=>Jl)},Jl=(()=>{let t=class t extends pe{set isDisabled(e){}constructor(e,i,o,a,s){super(),this._ngModelWarningConfig=s,this._added=!1,this.name=null,this.update=new z,this._ngModelWarningSent=!1,this._parent=e,this._setValidators(i),this._setAsyncValidators(o),this.valueAccessor=Xl(this,a)}ngOnChanges(e){this._added||this._setUpControl(),Ql(e,this.viewModel)&&(this.viewModel=this.model,this.formDirective.updateModel(this,this.model))}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}viewToModelUpdate(e){this.viewModel=e,this.update.emit(e)}get path(){return ym(this.name==null?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}};t._ngModelWarningSentOnce=!1,t.\u0275fac=function(i){return new(i||t)(d(ni,13),d(Ti,10),d(sr,10),d(ki,10),d(Kl,8))},t.\u0275dir=y({type:t,selectors:[["","formControlName",""]],inputs:{name:[m.None,"formControlName","name"],isDisabled:[m.None,"disabled","isDisabled"],model:[m.None,"ngModel","model"]},outputs:{update:"ngModelChange"},features:[ot([Pv]),tt,ut]});let n=t;return n})();var Nv=(()=>{let t=class t{constructor(){this._validator=va}ngOnChanges(e){if(this.inputName in e){let i=this.normalizeInput(e[this.inputName].currentValue);this._enabled=this.enabled(i),this._validator=this._enabled?this.createValidator(i):va,this._onChange&&this._onChange()}}validate(e){return this._validator(e)}registerOnValidatorChange(e){this._onChange=e}enabled(e){return e!=null}};t.\u0275fac=function(i){return new(i||t)},t.\u0275dir=y({type:t,features:[ut]});let n=t;return n})();var Lv={provide:Ti,useExisting:jt(()=>tc),multi:!0};var tc=(()=>{let t=class t extends Nv{constructor(){super(...arguments),this.inputName="required",this.normalizeInput=M,this.createValidator=e=>lm}enabled(e){return e}};t.\u0275fac=(()=>{let e;return function(o){return(e||(e=St(t)))(o||t)}})(),t.\u0275dir=y({type:t,selectors:[["","required","","formControlName","",3,"type","checkbox"],["","required","","formControl","",3,"type","checkbox"],["","required","","ngModel","",3,"type","checkbox"]],hostVars:1,hostBindings:function(i,o){i&2&&nt("required",o._enabled?"":null)},inputs:{required:"required"},features:[ot([Lv]),tt]});let n=t;return n})();var Im=(()=>{let t=class t{};t.\u0275fac=function(i){return new(i||t)},t.\u0275mod=W({type:t}),t.\u0275inj=$({});let n=t;return n})(),Ul=class extends Fn{constructor(t,r,e){super(Gl(r),ql(e,r)),this.controls=t,this._initObservables(),this._setUpdateStrategy(r),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}at(t){return this.controls[this._adjustIndex(t)]}push(t,r={}){this.controls.push(t),this._registerControl(t),this.updateValueAndValidity({emitEvent:r.emitEvent}),this._onCollectionChange()}insert(t,r,e={}){this.controls.splice(t,0,r),this._registerControl(r),this.updateValueAndValidity({emitEvent:e.emitEvent})}removeAt(t,r={}){let e=this._adjustIndex(t);e<0&&(e=0),this.controls[e]&&this.controls[e]._registerOnCollectionChange(()=>{}),this.controls.splice(e,1),this.updateValueAndValidity({emitEvent:r.emitEvent})}setControl(t,r,e={}){let i=this._adjustIndex(t);i<0&&(i=0),this.controls[i]&&this.controls[i]._registerOnCollectionChange(()=>{}),this.controls.splice(i,1),r&&(this.controls.splice(i,0,r),this._registerControl(r)),this.updateValueAndValidity({emitEvent:e.emitEvent}),this._onCollectionChange()}get length(){return this.controls.length}setValue(t,r={}){vm(this,!1,t),t.forEach((e,i)=>{_m(this,!1,i),this.at(i).setValue(e,{onlySelf:!0,emitEvent:r.emitEvent})}),this.updateValueAndValidity(r)}patchValue(t,r={}){t!=null&&(t.forEach((e,i)=>{this.at(i)&&this.at(i).patchValue(e,{onlySelf:!0,emitEvent:r.emitEvent})}),this.updateValueAndValidity(r))}reset(t=[],r={}){this._forEachChild((e,i)=>{e.reset(t[i],{onlySelf:!0,emitEvent:r.emitEvent})}),this._updatePristine(r),this._updateTouched(r),this.updateValueAndValidity(r)}getRawValue(){return this.controls.map(t=>t.getRawValue())}clear(t={}){this.controls.length<1||(this._forEachChild(r=>r._registerOnCollectionChange(()=>{})),this.controls.splice(0),this.updateValueAndValidity({emitEvent:t.emitEvent}))}_adjustIndex(t){return t<0?t+this.length:t}_syncPendingControls(){let t=this.controls.reduce((r,e)=>e._syncPendingControls()?!0:r,!1);return t&&this.updateValueAndValidity({onlySelf:!0}),t}_forEachChild(t){this.controls.forEach((r,e)=>{t(r,e)})}_updateValue(){this.value=this.controls.filter(t=>t.enabled||this.disabled).map(t=>t.value)}_anyControls(t){return this.controls.some(r=>r.enabled&&t(r))}_setUpControls(){this._forEachChild(t=>this._registerControl(t))}_allControlsDisabled(){for(let t of this.controls)if(t.enabled)return!1;return this.controls.length>0||this.disabled}_registerControl(t){t.setParent(this),t._registerOnCollectionChange(this._onCollectionChange)}_find(t){return this.at(t)??null}};function rm(n){return!!n&&(n.asyncValidators!==void 0||n.validators!==void 0||n.updateOn!==void 0)}var Dm=(()=>{let t=class t{constructor(){this.useNonNullable=!1}get nonNullable(){let e=new t;return e.useNonNullable=!0,e}group(e,i=null){let o=this._reduceControls(e),a={};return rm(i)?a=i:i!==null&&(a.validators=i.validator,a.asyncValidators=i.asyncValidator),new Pn(o,a)}record(e,i=null){let o=this._reduceControls(e);return new Hl(o,i)}control(e,i,o){let a={};return this.useNonNullable?(rm(i)?a=i:(a.validators=i,a.asyncValidators=o),new $e(e,It(x({},a),{nonNullable:!0}))):new $e(e,i,o)}array(e,i,o){let a=e.map(s=>this._createControl(s));return new Ul(a,i,o)}_reduceControls(e){let i={};return Object.keys(e).forEach(o=>{i[o]=this._createControl(e[o])}),i}_createControl(e){if(e instanceof $e)return e;if(e instanceof Fn)return e;if(Array.isArray(e)){let i=e[0],o=e.length>1?e[1]:null,a=e.length>2?e[2]:null;return this.control(i,o,a)}else return this.control(e)}};t.\u0275fac=function(i){return new(i||t)},t.\u0275prov=w({token:t,factory:t.\u0275fac,providedIn:"root"});let n=t;return n})();var Ge=(()=>{let t=class t{static withConfig(e){return{ngModule:t,providers:[{provide:Ln,useValue:e.callSetDisabledState??Sa}]}}};t.\u0275fac=function(i){return new(i||t)},t.\u0275mod=W({type:t}),t.\u0275inj=$({imports:[Im]});let n=t;return n})(),Mi=(()=>{let t=class t{static withConfig(e){return{ngModule:t,providers:[{provide:Kl,useValue:e.warnOnNgModelWithFormControl??"always"},{provide:Ln,useValue:e.callSetDisabledState??Sa}]}}};t.\u0275fac=function(i){return new(i||t)},t.\u0275mod=W({type:t}),t.\u0275inj=$({imports:[Im]});let n=t;return n})();var ec=class{constructor(t){this._box=t,this._destroyed=new N,this._resizeSubject=new N,this._elementObservables=new Map,typeof ResizeObserver<"u"&&(this._resizeObserver=new ResizeObserver(r=>this._resizeSubject.next(r)))}observe(t){return this._elementObservables.has(t)||this._elementObservables.set(t,new Zt(r=>{let e=this._resizeSubject.subscribe(r);return this._resizeObserver?.observe(t,{box:this._box}),()=>{this._resizeObserver?.unobserve(t),e.unsubscribe(),this._elementObservables.delete(t)}}).pipe(_t(r=>r.some(e=>e.target===t)),us({bufferSize:1,refCount:!0}),Z(this._destroyed))),this._elementObservables.get(t)}destroy(){this._destroyed.next(),this._destroyed.complete(),this._resizeSubject.complete(),this._elementObservables.clear()}},Em=(()=>{let t=class t{constructor(){this._observers=new Map,this._ngZone=_(O),typeof ResizeObserver<"u"}ngOnDestroy(){for(let[,e]of this._observers)e.destroy();this._observers.clear(),typeof ResizeObserver<"u"}observe(e,i){let o=i?.box||"content-box";return this._observers.has(o)||this._observers.set(o,new ec(o)),this._observers.get(o).observe(e)}};t.\u0275fac=function(i){return new(i||t)},t.\u0275prov=w({token:t,factory:t.\u0275fac,providedIn:"root"});let n=t;return n})();var jv=["notch"],Vv=["matFormFieldNotchedOutline",""],zv=["*"],Bv=["textField"],Hv=["iconPrefixContainer"],Uv=["textPrefixContainer"],$v=["*",[["mat-label"]],[["","matPrefix",""],["","matIconPrefix",""]],[["","matTextPrefix",""]],[["","matTextSuffix",""]],[["","matSuffix",""],["","matIconSuffix",""]],[["mat-error"],["","matError",""]],[["mat-hint",3,"align","end"]],[["mat-hint","align","end"]]],Wv=["*","mat-label","[matPrefix], [matIconPrefix]","[matTextPrefix]","[matTextSuffix]","[matSuffix], [matIconSuffix]","mat-error, [matError]","mat-hint:not([align='end'])","mat-hint[align='end']"];function Gv(n,t){n&1&&P(0,"span",17)}function qv(n,t){if(n&1&&(h(0,"label",16),J(1,1),F(2,Gv,1,0,"span",17),f()),n&2){let r=R(2);E("floating",r._shouldLabelFloat())("monitorResize",r._hasOutline())("id",r._labelId),nt("for",r._control.disableAutomaticLabeling?null:r._control.id),g(2),K(2,!r.hideRequiredMarker&&r._control.required?2:-1)}}function Yv(n,t){if(n&1&&F(0,qv,3,5,"label",16),n&2){let r=R();K(0,r._hasFloatingLabel()?0:-1)}}function Qv(n,t){n&1&&P(0,"div",5)}function Xv(n,t){}function Zv(n,t){if(n&1&&F(0,Xv,0,0,"ng-template",11),n&2){R(2);let r=Vt(1);E("ngTemplateOutlet",r)}}function Kv(n,t){if(n&1&&(h(0,"div",7),F(1,Zv,1,1,null,11),f()),n&2){let r=R();E("matFormFieldNotchedOutlineOpen",r._shouldLabelFloat()),g(),K(1,r._forceDisplayInfixLabel()?-1:1)}}function Jv(n,t){n&1&&(h(0,"div",8,2),J(2,2),f())}function t0(n,t){n&1&&(h(0,"div",9,3),J(2,3),f())}function e0(n,t){}function i0(n,t){if(n&1&&F(0,e0,0,0,"ng-template",11),n&2){R();let r=Vt(1);E("ngTemplateOutlet",r)}}function n0(n,t){n&1&&(h(0,"div",12),J(1,4),f())}function o0(n,t){n&1&&(h(0,"div",13),J(1,5),f())}function r0(n,t){n&1&&P(0,"div",14)}function a0(n,t){if(n&1&&(h(0,"div",18),J(1,6),f()),n&2){let r=R();E("@transitionMessages",r._subscriptAnimationState)}}function s0(n,t){if(n&1&&(h(0,"mat-hint",20),D(1),f()),n&2){let r=R(2);E("id",r._hintLabelId),g(),Ct(r.hintLabel)}}function l0(n,t){if(n&1&&(h(0,"div",19),F(1,s0,2,2,"mat-hint",20),J(2,7),P(3,"div",21),J(4,8),f()),n&2){let r=R();E("@transitionMessages",r._subscriptAnimationState),g(),K(1,r.hintLabel?1:-1)}}var qe=(()=>{let t=class t{};t.\u0275fac=function(i){return new(i||t)},t.\u0275dir=y({type:t,selectors:[["mat-label"]],standalone:!0});let n=t;return n})();var c0=new C("MatError");var d0=0,Sm=(()=>{let t=class t{constructor(){this.align="start",this.id=`mat-mdc-hint-${d0++}`}};t.\u0275fac=function(i){return new(i||t)},t.\u0275dir=y({type:t,selectors:[["mat-hint"]],hostAttrs:[1,"mat-mdc-form-field-hint","mat-mdc-form-field-bottom-align"],hostVars:4,hostBindings:function(i,o){i&2&&(ie("id",o.id),nt("align",null),B("mat-mdc-form-field-hint-end",o.align==="end"))},inputs:{align:"align",id:"id"},standalone:!0});let n=t;return n})(),u0=new C("MatPrefix");var Pm=new C("MatSuffix"),zn=(()=>{let t=class t{constructor(){this._isText=!1}set _isTextSelector(e){this._isText=!0}};t.\u0275fac=function(i){return new(i||t)},t.\u0275dir=y({type:t,selectors:[["","matSuffix",""],["","matIconSuffix",""],["","matTextSuffix",""]],inputs:{_isTextSelector:[m.None,"matTextSuffix","_isTextSelector"]},standalone:!0,features:[ot([{provide:Pm,useExisting:t}])]});let n=t;return n})(),Nm=new C("FloatingLabelParent"),km=(()=>{let t=class t{get floating(){return this._floating}set floating(e){this._floating=e,this.monitorResize&&this._handleResize()}get monitorResize(){return this._monitorResize}set monitorResize(e){this._monitorResize=e,this._monitorResize?this._subscribeToResize():this._resizeSubscription.unsubscribe()}constructor(e){this._elementRef=e,this._floating=!1,this._monitorResize=!1,this._resizeObserver=_(Em),this._ngZone=_(O),this._parent=_(Nm),this._resizeSubscription=new xt}ngOnDestroy(){this._resizeSubscription.unsubscribe()}getWidth(){return h0(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())})}};t.\u0275fac=function(i){return new(i||t)(d(T))},t.\u0275dir=y({type:t,selectors:[["label","matFormFieldFloatingLabel",""]],hostAttrs:[1,"mdc-floating-label","mat-mdc-floating-label"],hostVars:2,hostBindings:function(i,o){i&2&&B("mdc-floating-label--float-above",o.floating)},inputs:{floating:"floating",monitorResize:"monitorResize"},standalone:!0});let n=t;return n})();function h0(n){let t=n;if(t.offsetParent!==null)return t.scrollWidth;let r=t.cloneNode(!0);r.style.setProperty("position","absolute"),r.style.setProperty("transform","translate(-9999px, -9999px)"),document.documentElement.appendChild(r);let e=r.scrollWidth;return r.remove(),e}var Tm="mdc-line-ripple--active",ka="mdc-line-ripple--deactivating",Rm=(()=>{let t=class t{constructor(e,i){this._elementRef=e,this._handleTransitionEnd=o=>{let a=this._elementRef.nativeElement.classList,s=a.contains(ka);o.propertyName==="opacity"&&s&&a.remove(Tm,ka)},i.runOutsideAngular(()=>{e.nativeElement.addEventListener("transitionend",this._handleTransitionEnd)})}activate(){let e=this._elementRef.nativeElement.classList;e.remove(ka),e.add(Tm)}deactivate(){this._elementRef.nativeElement.classList.add(ka)}ngOnDestroy(){this._elementRef.nativeElement.removeEventListener("transitionend",this._handleTransitionEnd)}};t.\u0275fac=function(i){return new(i||t)(d(T),d(O))},t.\u0275dir=y({type:t,selectors:[["div","matFormFieldLineRipple",""]],hostAttrs:[1,"mdc-line-ripple"],standalone:!0});let n=t;return n})(),Mm=(()=>{let t=class t{constructor(e,i){this._elementRef=e,this._ngZone=i,this.open=!1}ngAfterViewInit(){let e=this._elementRef.nativeElement.querySelector(".mdc-floating-label");e?(this._elementRef.nativeElement.classList.add("mdc-notched-outline--upgraded"),typeof requestAnimationFrame=="function"&&(e.style.transitionDuration="0s",this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>e.style.transitionDuration="")}))):this._elementRef.nativeElement.classList.add("mdc-notched-outline--no-label")}_setNotchWidth(e){!this.open||!e?this._notch.nativeElement.style.width="":this._notch.nativeElement.style.width=`calc(${e}px * var(--mat-mdc-form-field-floating-label-scale, 0.75) + 9px)`}};t.\u0275fac=function(i){return new(i||t)(d(T),d(O))},t.\u0275cmp=j({type:t,selectors:[["div","matFormFieldNotchedOutline",""]],viewQuery:function(i,o){if(i&1&&rt(jv,5),i&2){let a;S(a=k())&&(o._notch=a.first)}},hostAttrs:[1,"mdc-notched-outline"],hostVars:2,hostBindings:function(i,o){i&2&&B("mdc-notched-outline--notched",o.open)},inputs:{open:[m.None,"matFormFieldNotchedOutlineOpen","open"]},standalone:!0,features:[V],attrs:Vv,ngContentSelectors:zv,decls:5,vars:0,consts:[["notch",""],[1,"mdc-notched-outline__leading"],[1,"mdc-notched-outline__notch"],[1,"mdc-notched-outline__trailing"]],template:function(i,o){i&1&&(mt(),P(0,"div",1),h(1,"div",2,0),J(3),f(),P(4,"div",3))},encapsulation:2,changeDetection:0});let n=t;return n})(),m0={transitionMessages:ne("transitionMessages",[Pt("enter",yt({opacity:1,transform:"translateY(0%)"})),Bt("void => enter",[yt({opacity:0,transform:"translateY(-5px)"}),zt("300ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])},cr=(()=>{let t=class t{};t.\u0275fac=function(i){return new(i||t)},t.\u0275dir=y({type:t});let n=t;return n})();var Ji=new C("MatFormField"),f0=new C("MAT_FORM_FIELD_DEFAULT_OPTIONS"),Am=0,Om="fill",p0="auto",Fm="fixed",g0="translateY(-50%)",Ai=(()=>{let t=class t{get hideRequiredMarker(){return this._hideRequiredMarker}set hideRequiredMarker(e){this._hideRequiredMarker=ze(e)}get floatLabel(){return this._floatLabel||this._defaults?.floatLabel||p0}set floatLabel(e){e!==this._floatLabel&&(this._floatLabel=e,this._changeDetectorRef.markForCheck())}get appearance(){return this._appearance}set appearance(e){let i=this._appearance,o=e||this._defaults?.appearance||Om;this._appearance=o,this._appearance==="outline"&&this._appearance!==i&&(this._needsOutlineLabelOffsetUpdateOnStable=!0)}get subscriptSizing(){return this._subscriptSizing||this._defaults?.subscriptSizing||Fm}set subscriptSizing(e){this._subscriptSizing=e||this._defaults?.subscriptSizing||Fm}get hintLabel(){return this._hintLabel}set hintLabel(e){this._hintLabel=e,this._processHints()}get _control(){return this._explicitFormFieldControl||this._formFieldControl}set _control(e){this._explicitFormFieldControl=e}constructor(e,i,o,a,s,l,c,u){this._elementRef=e,this._changeDetectorRef=i,this._ngZone=o,this._dir=a,this._platform=s,this._defaults=l,this._animationMode=c,this._hideRequiredMarker=!1,this.color="primary",this._appearance=Om,this._subscriptSizing=null,this._hintLabel="",this._hasIconPrefix=!1,this._hasTextPrefix=!1,this._hasIconSuffix=!1,this._hasTextSuffix=!1,this._labelId=`mat-mdc-form-field-label-${Am++}`,this._hintLabelId=`mat-mdc-hint-${Am++}`,this._subscriptAnimationState="",this._destroyed=new N,this._isFocused=null,this._needsOutlineLabelOffsetUpdateOnStable=!1,l&&(l.appearance&&(this.appearance=l.appearance),this._hideRequiredMarker=!!l?.hideRequiredMarker,l.color&&(this.color=l.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(){let e=this._control;e.controlType&&this._elementRef.nativeElement.classList.add(`mat-mdc-form-field-type-${e.controlType}`),e.stateChanges.subscribe(()=>{this._updateFocusState(),this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),e.ngControl&&e.ngControl.valueChanges&&e.ngControl.valueChanges.pipe(Z(this._destroyed)).subscribe(()=>this._changeDetectorRef.markForCheck())}_checkPrefixAndSuffixTypes(){this._hasIconPrefix=!!this._prefixChildren.find(e=>!e._isText),this._hasTextPrefix=!!this._prefixChildren.find(e=>e._isText),this._hasIconSuffix=!!this._suffixChildren.find(e=>!e._isText),this._hasTextSuffix=!!this._suffixChildren.find(e=>e._isText)}_initializePrefixAndSuffix(){this._checkPrefixAndSuffixTypes(),Wt(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(){this._control}_updateFocusState(){this._control.focused&&!this._isFocused?(this._isFocused=!0,this._lineRipple?.activate()):!this._control.focused&&(this._isFocused||this._isFocused===null)&&(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(Z(this._destroyed)).subscribe(()=>{this._needsOutlineLabelOffsetUpdateOnStable&&(this._needsOutlineLabelOffsetUpdateOnStable=!1,this._updateOutlineLabelOffset())})}),this._dir.change.pipe(Z(this._destroyed)).subscribe(()=>this._needsOutlineLabelOffsetUpdateOnStable=!0)}_shouldAlwaysFloat(){return this.floatLabel==="always"}_hasOutline(){return this.appearance==="outline"}_forceDisplayInfixLabel(){return!this._platform.isBrowser&&this._prefixChildren.length&&!this._shouldLabelFloat()}_hasFloatingLabel(){return!!this._labelChildNonStatic||!!this._labelChildStatic}_shouldLabelFloat(){return this._control.shouldLabelFloat||this._shouldAlwaysFloat()}_shouldForward(e){let i=this._control?this._control.ngControl:null;return i&&i[e]}_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(0):this._notchedOutline?._setNotchWidth(this._floatingLabel.getWidth())}_processHints(){this._validateHints(),this._syncDescribedByIds()}_validateHints(){this._hintChildren}_syncDescribedByIds(){if(this._control){let e=[];if(this._control.userAriaDescribedBy&&typeof this._control.userAriaDescribedBy=="string"&&e.push(...this._control.userAriaDescribedBy.split(" ")),this._getDisplayedMessages()==="hint"){let i=this._hintChildren?this._hintChildren.find(a=>a.align==="start"):null,o=this._hintChildren?this._hintChildren.find(a=>a.align==="end"):null;i?e.push(i.id):this._hintLabel&&e.push(this._hintLabelId),o&&e.push(o.id)}else this._errorChildren&&e.push(...this._errorChildren.map(i=>i.id));this._control.setDescribedByIds(e)}}_updateOutlineLabelOffset(){if(!this._platform.isBrowser||!this._hasOutline()||!this._floatingLabel)return;let e=this._floatingLabel.element;if(!(this._iconPrefixContainer||this._textPrefixContainer)){e.style.transform="";return}if(!this._isAttachedToDom()){this._needsOutlineLabelOffsetUpdateOnStable=!0;return}let i=this._iconPrefixContainer?.nativeElement,o=this._textPrefixContainer?.nativeElement,a=i?.getBoundingClientRect().width??0,s=o?.getBoundingClientRect().width??0,l=this._dir.value==="rtl"?"-1":"1",c=`${a+s}px`,p=`calc(${l} * (${c} + var(--mat-mdc-form-field-label-offset-x, 0px)))`;e.style.transform=`var( --mat-mdc-form-field-label-transform, ${g0} translateX(${p}) )`}_isAttachedToDom(){let e=this._elementRef.nativeElement;if(e.getRootNode){let i=e.getRootNode();return i&&i!==e}return document.documentElement.contains(e)}};t.\u0275fac=function(i){return new(i||t)(d(T),d(ft),d(O),d(kt),d(at),d(f0,8),d(Rt,8),d(q))},t.\u0275cmp=j({type:t,selectors:[["mat-form-field"]],contentQueries:function(i,o,a){if(i&1&&(ct(a,qe,5),ct(a,qe,7),ct(a,cr,5),ct(a,u0,5),ct(a,Pm,5),ct(a,c0,5),ct(a,Sm,5)),i&2){let s;S(s=k())&&(o._labelChildNonStatic=s.first),S(s=k())&&(o._labelChildStatic=s.first),S(s=k())&&(o._formFieldControl=s.first),S(s=k())&&(o._prefixChildren=s),S(s=k())&&(o._suffixChildren=s),S(s=k())&&(o._errorChildren=s),S(s=k())&&(o._hintChildren=s)}},viewQuery:function(i,o){if(i&1&&(rt(Bv,5),rt(Hv,5),rt(Uv,5),rt(km,5),rt(Mm,5),rt(Rm,5)),i&2){let a;S(a=k())&&(o._textField=a.first),S(a=k())&&(o._iconPrefixContainer=a.first),S(a=k())&&(o._textPrefixContainer=a.first),S(a=k())&&(o._floatingLabel=a.first),S(a=k())&&(o._notchedOutline=a.first),S(a=k())&&(o._lineRipple=a.first)}},hostAttrs:[1,"mat-mdc-form-field"],hostVars:42,hostBindings:function(i,o){i&2&&B("mat-mdc-form-field-label-always-float",o._shouldAlwaysFloat())("mat-mdc-form-field-has-icon-prefix",o._hasIconPrefix)("mat-mdc-form-field-has-icon-suffix",o._hasIconSuffix)("mat-form-field-invalid",o._control.errorState)("mat-form-field-disabled",o._control.disabled)("mat-form-field-autofilled",o._control.autofilled)("mat-form-field-no-animations",o._animationMode==="NoopAnimations")("mat-form-field-appearance-fill",o.appearance=="fill")("mat-form-field-appearance-outline",o.appearance=="outline")("mat-form-field-hide-placeholder",o._hasFloatingLabel()&&!o._shouldLabelFloat())("mat-focused",o._control.focused)("mat-primary",o.color!=="accent"&&o.color!=="warn")("mat-accent",o.color==="accent")("mat-warn",o.color==="warn")("ng-untouched",o._shouldForward("untouched"))("ng-touched",o._shouldForward("touched"))("ng-pristine",o._shouldForward("pristine"))("ng-dirty",o._shouldForward("dirty"))("ng-valid",o._shouldForward("valid"))("ng-invalid",o._shouldForward("invalid"))("ng-pending",o._shouldForward("pending"))},inputs:{hideRequiredMarker:"hideRequiredMarker",color:"color",floatLabel:"floatLabel",appearance:"appearance",subscriptSizing:"subscriptSizing",hintLabel:"hintLabel"},exportAs:["matFormField"],standalone:!0,features:[ot([{provide:Ji,useExisting:t},{provide:Nm,useExisting:t}]),V],ngContentSelectors:Wv,decls:18,vars:21,consts:[["labelTemplate",""],["textField",""],["iconPrefixContainer",""],["textPrefixContainer",""],[1,"mat-mdc-text-field-wrapper","mdc-text-field",3,"click"],[1,"mat-mdc-form-field-focus-overlay"],[1,"mat-mdc-form-field-flex"],["matFormFieldNotchedOutline","",3,"matFormFieldNotchedOutlineOpen"],[1,"mat-mdc-form-field-icon-prefix"],[1,"mat-mdc-form-field-text-prefix"],[1,"mat-mdc-form-field-infix"],[3,"ngTemplateOutlet"],[1,"mat-mdc-form-field-text-suffix"],[1,"mat-mdc-form-field-icon-suffix"],["matFormFieldLineRipple",""],[1,"mat-mdc-form-field-subscript-wrapper","mat-mdc-form-field-bottom-align"],["matFormFieldFloatingLabel","",3,"floating","monitorResize","id"],["aria-hidden","true",1,"mat-mdc-form-field-required-marker","mdc-floating-label--required"],[1,"mat-mdc-form-field-error-wrapper"],[1,"mat-mdc-form-field-hint-wrapper"],[3,"id"],[1,"mat-mdc-form-field-hint-spacer"]],template:function(i,o){if(i&1){let a=ht();mt($v),F(0,Yv,1,1,"ng-template",null,0,Dr),h(2,"div",4,1),H("click",function(l){return Q(a),X(o._control.onContainerClick(l))}),F(4,Qv,1,0,"div",5),h(5,"div",6),F(6,Kv,2,2,"div",7)(7,Jv,3,0,"div",8)(8,t0,3,0,"div",9),h(9,"div",10),F(10,i0,1,1,null,11),J(11),f(),F(12,n0,2,0,"div",12)(13,o0,2,0,"div",13),f(),F(14,r0,1,0,"div",14),f(),h(15,"div",15),F(16,a0,2,1)(17,l0,5,2),f()}if(i&2){let a;g(2),B("mdc-text-field--filled",!o._hasOutline())("mdc-text-field--outlined",o._hasOutline())("mdc-text-field--no-label",!o._hasFloatingLabel())("mdc-text-field--disabled",o._control.disabled)("mdc-text-field--invalid",o._control.errorState),g(2),K(4,!o._hasOutline()&&!o._control.disabled?4:-1),g(2),K(6,o._hasOutline()?6:-1),g(),K(7,o._hasIconPrefix?7:-1),g(),K(8,o._hasTextPrefix?8:-1),g(2),K(10,!o._hasOutline()||o._forceDisplayInfixLabel()?10:-1),g(2),K(12,o._hasTextSuffix?12:-1),g(),K(13,o._hasIconSuffix?13:-1),g(),K(14,o._hasOutline()?-1:14),g(),B("mat-mdc-form-field-subscript-dynamic-size",o.subscriptSizing==="dynamic"),g(),K(16,(a=o._getDisplayedMessages())==="error"?16:a==="hint"?17:-1)}},dependencies:[km,Mm,co,Rm,Sm],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-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-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{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-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-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{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-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-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{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{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:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-floating-label,.mdc-text-field--filled:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-floating-label--float-above{color:var(--mdc-filled-text-field-hover-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-text-field--invalid:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-floating-label,.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-floating-label--float-above{color:var(--mdc-filled-text-field-error-hover-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: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:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-floating-label,.mdc-text-field--outlined:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-floating-label--float-above{color:var(--mdc-outlined-text-field-hover-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-text-field--invalid:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-floating-label,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-floating-label--float-above{color:var(--mdc-outlined-text-field-error-hover-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-text-field--textarea.mdc-text-field--outlined .mdc-floating-label--float-above{font-size:calc(.75*var(--mdc-outlined-text-field-label-text-size))}.mdc-text-field--outlined.mdc-text-field--textarea.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--outlined.mdc-text-field--textarea.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:var(--mdc-outlined-text-field-label-text-size)}.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;will-change:auto}.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;will-change: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.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field .mdc-notched-outline__notch{border-left:1px solid rgba(0,0,0,0)}[dir=rtl] .mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field .mdc-notched-outline__notch{border-left:none;border-right:1px solid rgba(0,0,0,0)}.mat-mdc-form-field-infix{min-height:var(--mat-form-field-container-height);padding-top:var(--mat-form-field-filled-with-label-container-padding-top);padding-bottom:var(--mat-form-field-filled-with-label-container-padding-bottom)}.mdc-text-field--outlined .mat-mdc-form-field-infix,.mdc-text-field--no-label .mat-mdc-form-field-infix{padding-top:var(--mat-form-field-container-vertical-padding);padding-bottom:var(--mat-form-field-container-vertical-padding)}.mat-mdc-text-field-wrapper .mat-mdc-form-field-flex .mat-mdc-floating-label{top:calc(var(--mat-form-field-container-height)/2)}.mdc-text-field--filled .mat-mdc-floating-label{display:var(--mat-form-field-filled-label-display, block)}.mat-mdc-text-field-wrapper.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{--mat-mdc-form-field-label-transform: translateY(calc(calc(6.75px + var(--mat-form-field-container-height) / 2) * -1)) scale(var(--mat-mdc-form-field-floating-label-scale, 0.75));transform:var(--mat-mdc-form-field-label-transform)}.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;color:var(--mat-form-field-error-text-color)}.mat-mdc-form-field-subscript-wrapper,.mat-mdc-form-field-bottom-align::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{top:0;left:0;right:0;bottom:0;position:absolute;opacity:0;pointer-events:none;background-color:var(--mat-form-field-state-layer-color)}.mat-mdc-text-field-wrapper:hover .mat-mdc-form-field-focus-overlay{opacity:var(--mat-form-field-hover-state-layer-opacity)}.mat-mdc-form-field.mat-focused .mat-mdc-form-field-focus-overlay{opacity:var(--mat-form-field-focus-state-layer-opacity)}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}select.mat-mdc-form-field-input-control:not(.mat-mdc-native-select-inline) option{color:var(--mat-form-field-select-option-text-color)}select.mat-mdc-form-field-input-control:not(.mat-mdc-native-select-inline) option:disabled{color:var(--mat-form-field-select-disabled-option-text-color)}.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;color:var(--mat-form-field-enabled-select-arrow-color)}[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-focused .mat-mdc-form-field-infix::after{color:var(--mat-form-field-focus-select-arrow-color)}.mat-mdc-form-field-type-mat-native-select.mat-form-field-disabled .mat-mdc-form-field-infix::after{color:var(--mat-form-field-disabled-select-arrow-color)}.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%;z-index:0}.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>.mat-icon,.mat-mdc-form-field-icon-suffix>.mat-icon{padding:0 12px;box-sizing:content-box}.mat-mdc-form-field-icon-prefix{color:var(--mat-form-field-leading-icon-color)}.mat-form-field-disabled .mat-mdc-form-field-icon-prefix{color:var(--mat-form-field-disabled-leading-icon-color)}.mat-mdc-form-field-icon-suffix{color:var(--mat-form-field-trailing-icon-color)}.mat-form-field-disabled .mat-mdc-form-field-icon-suffix{color:var(--mat-form-field-disabled-trailing-icon-color)}.mat-form-field-invalid .mat-mdc-form-field-icon-suffix{color:var(--mat-form-field-error-trailing-icon-color)}.mat-form-field-invalid:not(.mat-focused):not(.mat-form-field-disabled) .mat-mdc-text-field-wrapper:hover .mat-mdc-form-field-icon-suffix{color:var(--mat-form-field-error-hover-trailing-icon-color)}.mat-form-field-invalid.mat-focused .mat-mdc-text-field-wrapper .mat-mdc-form-field-icon-suffix{color:var(--mat-form-field-error-focus-trailing-icon-color)}.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-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:[m0.transitionMessages]},changeDetection:0});let n=t;return n})(),ee=(()=>{let t=class t{};t.\u0275fac=function(i){return new(i||t)},t.\u0275mod=W({type:t}),t.\u0275inj=$({imports:[dt,te,ra,dt]});let n=t;return n})();var b0=new C("MAT_INPUT_VALUE_ACCESSOR"),_0=["button","checkbox","file","hidden","image","radio","range","reset","submit"],v0=0,Oi=(()=>{let t=class t{get disabled(){return this._disabled}set disabled(e){this._disabled=ze(e),this.focused&&(this.focused=!1,this.stateChanges.next())}get id(){return this._id}set id(e){this._id=e||this._uid}get required(){return this._required??this.ngControl?.control?.hasValidator(Ie.required)??!1}set required(e){this._required=ze(e)}get type(){return this._type}set type(e){this._type=e||"text",this._validateType(),!this._isTextarea&&wl().has(this._type)&&(this._elementRef.nativeElement.type=this._type)}get errorStateMatcher(){return this._errorStateTracker.matcher}set errorStateMatcher(e){this._errorStateTracker.matcher=e}get value(){return this._inputValueAccessor.value}set value(e){e!==this.value&&(this._inputValueAccessor.value=e,this.stateChanges.next())}get readonly(){return this._readonly}set readonly(e){this._readonly=ze(e)}get errorState(){return this._errorStateTracker.errorState}set errorState(e){this._errorStateTracker.errorState=e}constructor(e,i,o,a,s,l,c,u,p,v){this._elementRef=e,this._platform=i,this.ngControl=o,this._autofillMonitor=u,this._formField=v,this._uid=`mat-input-${v0++}`,this.focused=!1,this.stateChanges=new N,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(et=>wl().has(et)),this._iOSKeyupListener=et=>{let U=et.target;!U.value&&U.selectionStart===0&&U.selectionEnd===0&&(U.setSelectionRange(1,1),U.setSelectionRange(0,0))};let I=this._elementRef.nativeElement,L=I.nodeName.toLowerCase();this._inputValueAccessor=c||I,this._previousNativeValue=this.value,this.id=this.id,i.IOS&&p.runOutsideAngular(()=>{e.nativeElement.addEventListener("keyup",this._iOSKeyupListener)}),this._errorStateTracker=new Rn(l,o,s,a,this.stateChanges),this._isServer=!this._platform.isBrowser,this._isNativeSelect=L==="select",this._isTextarea=L==="textarea",this._isInFormField=!!v,this._isNativeSelect&&(this.controlType=I.multiple?"mat-native-select-multiple":"mat-native-select")}ngAfterViewInit(){this._platform.isBrowser&&this._autofillMonitor.monitor(this._elementRef.nativeElement).subscribe(e=>{this.autofilled=e.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(),this.ngControl.disabled!==null&&this.ngControl.disabled!==this.disabled&&(this.disabled=this.ngControl.disabled,this.stateChanges.next())),this._dirtyCheckNativeValue(),this._dirtyCheckPlaceholder()}focus(e){this._elementRef.nativeElement.focus(e)}updateErrorState(){this._errorStateTracker.updateErrorState()}_focusChanged(e){e!==this.focused&&(this.focused=e,this.stateChanges.next())}_onInput(){}_dirtyCheckNativeValue(){let e=this._elementRef.nativeElement.value;this._previousNativeValue!==e&&(this._previousNativeValue=e,this.stateChanges.next())}_dirtyCheckPlaceholder(){let e=this._getPlaceholder();if(e!==this._previousPlaceholder){let i=this._elementRef.nativeElement;this._previousPlaceholder=e,e?i.setAttribute("placeholder",e):i.removeAttribute("placeholder")}}_getPlaceholder(){return this.placeholder||null}_validateType(){_0.indexOf(this._type)>-1}_isNeverEmpty(){return this._neverEmptyInputTypes.indexOf(this._type)>-1}_isBadInput(){let e=this._elementRef.nativeElement.validity;return e&&e.badInput}get empty(){return!this._isNeverEmpty()&&!this._elementRef.nativeElement.value&&!this._isBadInput()&&!this.autofilled}get shouldLabelFloat(){if(this._isNativeSelect){let e=this._elementRef.nativeElement,i=e.options[0];return this.focused||e.multiple||!this.empty||!!(e.selectedIndex>-1&&i&&i.label)}else return this.focused||!this.empty}setDescribedByIds(e){e.length?this._elementRef.nativeElement.setAttribute("aria-describedby",e.join(" ")):this._elementRef.nativeElement.removeAttribute("aria-describedby")}onContainerClick(){this.focused||this.focus()}_isInlineSelect(){let e=this._elementRef.nativeElement;return this._isNativeSelect&&(e.multiple||e.size>1)}};t.\u0275fac=function(i){return new(i||t)(d(T),d(at),d(pe,10),d(oi,8),d(Ki,8),d(ti),d(b0,10),d(Zh),d(O),d(Ji,8))},t.\u0275dir=y({type:t,selectors:[["input","matInput",""],["textarea","matInput",""],["select","matNativeControl",""],["input","matNativeControl",""],["textarea","matNativeControl",""]],hostAttrs:[1,"mat-mdc-input-element"],hostVars:18,hostBindings:function(i,o){i&1&&H("focus",function(){return o._focusChanged(!0)})("blur",function(){return o._focusChanged(!1)})("input",function(){return o._onInput()}),i&2&&(ie("id",o.id)("disabled",o.disabled)("required",o.required),nt("name",o.name||null)("readonly",o.readonly&&!o._isNativeSelect||null)("aria-invalid",o.empty&&o.required?null:o.errorState)("aria-required",o.required)("id",o.id),B("mat-input-server",o._isServer)("mat-mdc-form-field-textarea-control",o._isInFormField&&o._isTextarea)("mat-mdc-form-field-input-control",o._isInFormField)("mdc-text-field__input",o._isInFormField)("mat-mdc-native-select-inline",o._isInlineSelect()))},inputs:{disabled:"disabled",id:"id",placeholder:"placeholder",name:"name",required:"required",type:"type",errorStateMatcher:"errorStateMatcher",userAriaDescribedBy:[m.None,"aria-describedby","userAriaDescribedBy"],value:"value",readonly:"readonly"},exportAs:["matInput"],standalone:!0,features:[ot([{provide:cr,useExisting:t}]),ut]});let n=t;return n})(),Ye=(()=>{let t=class t{};t.\u0275fac=function(i){return new(i||t)},t.\u0275mod=W({type:t}),t.\u0275inj=$({imports:[dt,ee,ee,Kh,dt]});let n=t;return n})();var Qe=new C("API_URL");var Bn=(()=>{var t;let r=class r{constructor(i){Wc(this,t,!1);this.http=i;let o=_(Qe);this.url=`${o}/auth`}login(i){return this.http.post(`${this.url}/login`,i)}logout(){return this.http.post(`${this.url}/logout`,{})}logoutAsync(){return Nt(this,null,function*(){return yield Re(this.logout())})}isAuthenticated(){return this.http.get(`${this.url}/check`).pipe(vt(i=>Gc(this,t,i)))}get IsAuthenticated(){return $c(this,t)}};t=new WeakMap,r.\u0275fac=function(o){return new(o||r)(b(Ee))},r.\u0275prov=w({token:r,factory:r.\u0275fac,providedIn:"root"});let n=r;return n})();var jm=(()=>{let t=class t{constructor(e,i,o){this.fb=e,this.authService=i,this.router=o,this.hide=!0,this.wait4waitRes=!1,this.loginForm=this.fb.group({username:["",Ie.required],password:["",Ie.required]})}togglePWVisibility(e){this.hide=!this.hide,e.stopPropagation()}onSubmit(){this.loginForm.valid&&(this.wait4waitRes=!0,this.authService.login(this.loginForm.value).subscribe({next:()=>{this.wait4waitRes=!1,this.router.navigate(["/envelope"])},error:e=>{this.wait4waitRes=!1}}))}};t.\u0275fac=function(i){return new(i||t)(d(Dm),d(Bn),d(Qt))},t.\u0275cmp=j({type:t,selectors:[["login"]],standalone:!0,features:[V],decls:19,vars:9,consts:[[3,"ngSubmit","formGroup"],[1,"mb-3"],["matInput","","formControlName","username"],["matInput","","formControlName","password",3,"type"],["type","button","mat-icon-button","","matSuffix","",3,"click"],["type","submit","mat-flat-button","","color","primary",1,"btn"],[1,"me-2"],["aria-hidden","true",1,"p-0","m-0"]],template:function(i,o){i&1&&(h(0,"form",0),H("ngSubmit",function(){return o.onSubmit()}),h(1,"div",1)(2,"mat-form-field")(3,"mat-label"),D(4,"Username"),f(),P(5,"input",2),f()(),h(6,"div",1)(7,"mat-form-field")(8,"mat-label"),D(9,"Enter your password"),f(),P(10,"input",3),h(11,"button",4),H("click",function(s){return o.togglePWVisibility(s)}),h(12,"mat-icon"),D(13),f()()()(),h(14,"div",1)(15,"button",5)(16,"span",6),D(17,"Anmeldung"),f(),P(18,"span",7),f()()()),i&2&&(E("formGroup",o.loginForm),g(10),E("type",o.hide?"password":"text"),g(),nt("aria-label","Hide password")("aria-pressed",o.hide),g(2),Ct(o.hide?"visibility_off":"visibility"),g(5),B("spinner-border",o.wait4waitRes)("spinner-border-sm",o.wait4waitRes))},dependencies:[ee,Ai,qe,zn,Ye,Oi,se,ba,Ei,Xt,ae,Mi,jn,We,Ri,Nn,Ki,Jl],styles:["mat-form-field[_ngcontent-%COMP%]{width:100%}"]});let n=t;return n})();var y0=(n,t)=>t.title,x0=()=>({title:"Explore Digital Data",link:"https://digitaldata.works/"}),w0=()=>({title:"Learn signFlow",link:"/"}),C0=()=>({title:"API Docs",link:"/"}),I0=(n,t,r)=>[n,t,r];function D0(n,t){if(n&1&&(h(0,"a",6)(1,"span"),D(2),f(),Ze(),h(3,"svg",17),P(4,"path",18),f()()),n&2){let r=t.$implicit;E("href",r.link,md),g(2),Ct(r.title)}}var Vm=(()=>{let t=class t{};t.\u0275fac=function(i){return new(i||t)},t.\u0275cmp=j({type:t,selectors:[["app-home"]],standalone:!0,features:[V],decls:19,vars:7,consts:[[1,"main"],[1,"content"],[1,"left-side"],["role","separator","aria-label","Divider",1,"divider"],[1,"right-side"],[1,"pill-group"],["target","_blank","rel","noopener",1,"pill",3,"href"],[1,"social-links"],["href","/","aria-label","Github","target","_blank","rel","noopener"],["width","25","height","24","viewBox","0 0 25 24","fill","none","xmlns","http://www.w3.org/2000/svg","alt","Github"],["d","M12.3047 0C5.50634 0 0 5.50942 0 12.3047C0 17.7423 3.52529 22.3535 8.41332 23.9787C9.02856 24.0946 9.25414 23.7142 9.25414 23.3871C9.25414 23.0949 9.24389 22.3207 9.23876 21.2953C5.81601 22.0377 5.09414 19.6444 5.09414 19.6444C4.53427 18.2243 3.72524 17.8449 3.72524 17.8449C2.61064 17.082 3.81137 17.0973 3.81137 17.0973C5.04697 17.1835 5.69604 18.3647 5.69604 18.3647C6.79321 20.2463 8.57636 19.7029 9.27978 19.3881C9.39052 18.5924 9.70736 18.0499 10.0591 17.7423C7.32641 17.4347 4.45429 16.3765 4.45429 11.6618C4.45429 10.3185 4.9311 9.22133 5.72065 8.36C5.58222 8.04931 5.16694 6.79833 5.82831 5.10337C5.82831 5.10337 6.85883 4.77319 9.2121 6.36459C10.1965 6.09082 11.2424 5.95546 12.2883 5.94931C13.3342 5.95546 14.3801 6.09082 15.3644 6.36459C17.7023 4.77319 18.7328 5.10337 18.7328 5.10337C19.3942 6.79833 18.9789 8.04931 18.8559 8.36C19.6403 9.22133 20.1171 10.3185 20.1171 11.6618C20.1171 16.3888 17.2409 17.4296 14.5031 17.7321C14.9338 18.1012 15.3337 18.8559 15.3337 20.0084C15.3337 21.6552 15.3183 22.978 15.3183 23.3779C15.3183 23.7009 15.5336 24.0854 16.1642 23.9623C21.0871 22.3484 24.6094 17.7341 24.6094 12.3047C24.6094 5.50942 19.0999 0 12.3047 0Z"],["href","/","aria-label","Twitter","target","_blank","rel","noopener"],["width","24","height","24","viewBox","0 0 24 24","fill","none","xmlns","http://www.w3.org/2000/svg","alt","Twitter"],["d","M18.244 2.25h3.308l-7.227 8.26 8.502 11.24H16.17l-5.214-6.817L4.99 21.75H1.68l7.73-8.835L1.254 2.25H8.08l4.713 6.231zm-1.161 17.52h1.833L7.084 4.126H5.117z"],["href","/","aria-label","Youtube","target","_blank","rel","noopener"],["width","29","height","20","viewBox","0 0 29 20","fill","none","xmlns","http://www.w3.org/2000/svg","alt","Youtube"],["fill-rule","evenodd","clip-rule","evenodd","d","M27.4896 1.52422C27.9301 1.96749 28.2463 2.51866 28.4068 3.12258C29.0004 5.35161 29.0004 10 29.0004 10C29.0004 10 29.0004 14.6484 28.4068 16.8774C28.2463 17.4813 27.9301 18.0325 27.4896 18.4758C27.0492 18.9191 26.5 19.2389 25.8972 19.4032C23.6778 20 14.8068 20 14.8068 20C14.8068 20 5.93586 20 3.71651 19.4032C3.11363 19.2389 2.56449 18.9191 2.12405 18.4758C1.68361 18.0325 1.36732 17.4813 1.20683 16.8774C0.613281 14.6484 0.613281 10 0.613281 10C0.613281 10 0.613281 5.35161 1.20683 3.12258C1.36732 2.51866 1.68361 1.96749 2.12405 1.52422C2.56449 1.08095 3.11363 0.76113 3.71651 0.596774C5.93586 0 14.8068 0 14.8068 0C14.8068 0 23.6778 0 25.8972 0.596774C26.5 0.76113 27.0492 1.08095 27.4896 1.52422ZM19.3229 10L11.9036 5.77905V14.221L19.3229 10Z"],["xmlns","http://www.w3.org/2000/svg","height","14","viewBox","0 -960 960 960","width","14","fill","currentColor"],["d","M200-120q-33 0-56.5-23.5T120-200v-560q0-33 23.5-56.5T200-840h280v80H200v560h560v-280h80v280q0 33-23.5 56.5T760-120H200Zm188-212-56-56 372-372H560v-80h280v280h-80v-144L388-332Z"]],template:function(i,o){i&1&&(h(0,"div",0)(1,"div",1)(2,"div",2),P(3,"login"),f(),P(4,"div",3),h(5,"div",4)(6,"div",5),Kt(7,D0,5,2,"a",6,y0),f(),h(9,"div",7)(10,"a",8),Ze(),h(11,"svg",9),P(12,"path",10),f()(),ms(),h(13,"a",11),Ze(),h(14,"svg",12),P(15,"path",13),f()(),ms(),h(16,"a",14),Ze(),h(17,"svg",15),P(18,"path",16),f()()()()()()),i&2&&(g(7),Jt(xd(3,I0,fi(0,x0),fi(1,w0),fi(2,C0))))},dependencies:[jm],styles:['@charset "UTF-8";[_nghost-%COMP%]{--bright-blue: oklch(51.01% .274 263.83);--electric-violet: oklch(53.18% .28 296.97);--french-violet: oklch(47.66% .246 305.88);--vivid-pink: oklch(69.02% .277 332.77);--hot-red: oklch(61.42% .238 15.34);--orange-red: oklch(63.32% .24 31.68);--gray-900: oklch(19.37% .006 300.98);--gray-700: oklch(36.98% .014 302.71);--gray-400: oklch(70.9% .015 304.04);--red-to-pink-to-purple-vertical-gradient: linear-gradient(180deg, var(--orange-red) 0%, var(--vivid-pink) 50%, var(--electric-violet) 100%);--red-to-pink-to-purple-horizontal-gradient: linear-gradient(90deg, var(--orange-red) 0%, var(--vivid-pink) 50%, var(--electric-violet) 100%);--pill-accent: var(--bright-blue);font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol;box-sizing:border-box;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}h1[_ngcontent-%COMP%]{font-size:3.125rem;color:var(--gray-900);font-weight:500;line-height:100%;letter-spacing:-.125rem;margin:0;font-family:Inter Tight,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol}p[_ngcontent-%COMP%]{margin:0;color:var(--gray-700)}.main[_ngcontent-%COMP%]{width:100%;min-height:100%;display:flex;justify-content:center;align-items:center;padding:1rem;box-sizing:inherit;position:relative}.angular-logo[_ngcontent-%COMP%]{max-width:9.2rem}.content[_ngcontent-%COMP%]{display:flex;justify-content:space-around;width:100%;max-width:700px;margin-bottom:3rem}.content[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{margin-top:1.75rem}.content[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{margin-top:1.5rem}.divider[_ngcontent-%COMP%]{width:1px;background:var(--red-to-pink-to-purple-vertical-gradient);margin-inline:.5rem}.pill-group[_ngcontent-%COMP%]{display:flex;flex-direction:column;align-items:start;flex-wrap:wrap;gap:1.25rem}.pill[_ngcontent-%COMP%]{display:flex;align-items:center;--pill-accent: var(--bright-blue);background:color-mix(in srgb,var(--pill-accent) 5%,transparent);color:var(--pill-accent);padding-inline:.75rem;padding-block:.375rem;border-radius:2.75rem;border:0;transition:background .3s ease;font-family:var(--inter-font);font-size:.875rem;font-style:normal;font-weight:500;line-height:1.4rem;letter-spacing:-.00875rem;text-decoration:none}.pill[_ngcontent-%COMP%]:hover{background:color-mix(in srgb,var(--pill-accent) 15%,transparent)}.pill-group[_ngcontent-%COMP%] .pill[_ngcontent-%COMP%]:nth-child(6n+1){--pill-accent: var(--bright-blue)}.pill-group[_ngcontent-%COMP%] .pill[_ngcontent-%COMP%]:nth-child(6n+2){--pill-accent: var(--french-violet)}.pill-group[_ngcontent-%COMP%] .pill[_ngcontent-%COMP%]:nth-child(6n+3), .pill-group[_ngcontent-%COMP%] .pill[_ngcontent-%COMP%]:nth-child(6n+4), .pill-group[_ngcontent-%COMP%] .pill[_ngcontent-%COMP%]:nth-child(6n+5){--pill-accent: var(--hot-red)}.pill-group[_ngcontent-%COMP%] svg[_ngcontent-%COMP%]{margin-inline-start:.25rem}.social-links[_ngcontent-%COMP%]{display:flex;align-items:center;gap:.73rem;margin-top:1.5rem}.social-links[_ngcontent-%COMP%] path[_ngcontent-%COMP%]{transition:fill .3s ease;fill:var(--gray-400)}.social-links[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:hover svg[_ngcontent-%COMP%] path[_ngcontent-%COMP%]{fill:var(--gray-900)}@media screen and (max-width: 650px){.content[_ngcontent-%COMP%]{flex-direction:column;width:max-content}.divider[_ngcontent-%COMP%]{height:1px;width:100%;background:var(--red-to-pink-to-purple-horizontal-gradient);margin-block:1.5rem}}.sidenav-container[_ngcontent-%COMP%]{height:calc(100% - 64px)}.sidenav[_ngcontent-%COMP%]{margin-top:64px}']});let n=t;return n})();var Ma=(n,t)=>{let r=_(Bn),e=_(Qt);return r.isAuthenticated().pipe(G(i=>(i||e.navigate(["/login"]),i)))};function Oa(n){return n&&typeof n.connect=="function"&&!(n instanceof to)}var Hn=function(n){return n[n.REPLACED=0]="REPLACED",n[n.INSERTED=1]="INSERTED",n[n.MOVED=2]="MOVED",n[n.REMOVED=3]="REMOVED",n}(Hn||{}),dr=new C("_ViewRepeater"),Un=class{applyChanges(t,r,e,i,o){t.forEachOperation((a,s,l)=>{let c,u;if(a.previousIndex==null){let p=e(a,s,l);c=r.createEmbeddedView(p.templateRef,p.context,p.index),u=Hn.INSERTED}else l==null?(r.remove(s),u=Hn.REMOVED):(c=r.get(s),r.move(c,l),u=Hn.MOVED);o&&o({context:c?.context,operation:u,record:a})})}detach(){}};var Aa=class{get selected(){return this._selected||(this._selected=Array.from(this._selection.values())),this._selected}constructor(t=!1,r,e=!0,i){this._multiple=t,this._emitChanges=e,this.compareWith=i,this._selection=new Set,this._deselectedToEmit=[],this._selectedToEmit=[],this.changed=new N,r&&r.length&&(t?r.forEach(o=>this._markSelected(o)):this._markSelected(r[0]),this._selectedToEmit.length=0)}select(...t){this._verifyValueAssignment(t),t.forEach(e=>this._markSelected(e));let r=this._hasQueuedChanges();return this._emitChangeEvent(),r}deselect(...t){this._verifyValueAssignment(t),t.forEach(e=>this._unmarkSelected(e));let r=this._hasQueuedChanges();return this._emitChangeEvent(),r}setSelection(...t){this._verifyValueAssignment(t);let r=this.selected,e=new Set(t);t.forEach(o=>this._markSelected(o)),r.filter(o=>!e.has(this._getConcreteValue(o,e))).forEach(o=>this._unmarkSelected(o));let i=this._hasQueuedChanges();return this._emitChangeEvent(),i}toggle(t){return this.isSelected(t)?this.deselect(t):this.select(t)}clear(t=!0){this._unmarkAll();let r=this._hasQueuedChanges();return t&&this._emitChangeEvent(),r}isSelected(t){return this._selection.has(this._getConcreteValue(t))}isEmpty(){return this._selection.size===0}hasValue(){return!this.isEmpty()}sort(t){this._multiple&&this.selected&&this._selected.sort(t)}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(t){t=this._getConcreteValue(t),this.isSelected(t)||(this._multiple||this._unmarkAll(),this.isSelected(t)||this._selection.add(t),this._emitChanges&&this._selectedToEmit.push(t))}_unmarkSelected(t){t=this._getConcreteValue(t),this.isSelected(t)&&(this._selection.delete(t),this._emitChanges&&this._deselectedToEmit.push(t))}_unmarkAll(){this.isEmpty()||this._selection.forEach(t=>this._unmarkSelected(t))}_verifyValueAssignment(t){t.length>1&&this._multiple}_hasQueuedChanges(){return!!(this._deselectedToEmit.length||this._selectedToEmit.length)}_getConcreteValue(t,r){if(this.compareWith){r=r??this._selection;for(let e of r)if(this.compareWith(t,e))return e;return t}else return t}};var E0=20,$n=(()=>{let t=class t{constructor(e,i,o){this._ngZone=e,this._platform=i,this._scrolled=new N,this._globalSubscription=null,this._scrolledCount=0,this.scrollContainers=new Map,this._document=o}register(e){this.scrollContainers.has(e)||this.scrollContainers.set(e,e.elementScrolled().subscribe(()=>this._scrolled.next(e)))}deregister(e){let i=this.scrollContainers.get(e);i&&(i.unsubscribe(),this.scrollContainers.delete(e))}scrolled(e=E0){return this._platform.isBrowser?new Zt(i=>{this._globalSubscription||this._addGlobalListener();let o=e>0?this._scrolled.pipe(ls(e)).subscribe(i):this._scrolled.subscribe(i);return this._scrolledCount++,()=>{o.unsubscribe(),this._scrolledCount--,this._scrolledCount||this._removeGlobalListener()}}):A()}ngOnDestroy(){this._removeGlobalListener(),this.scrollContainers.forEach((e,i)=>this.deregister(i)),this._scrolled.complete()}ancestorScrolled(e,i){let o=this.getAncestorScrollContainers(e);return this.scrolled(i).pipe(_t(a=>!a||o.indexOf(a)>-1))}getAncestorScrollContainers(e){let i=[];return this.scrollContainers.forEach((o,a)=>{this._scrollableContainsElement(a,e)&&i.push(a)}),i}_getWindow(){return this._document.defaultView||window}_scrollableContainsElement(e,i){let o=re(i),a=e.getElementRef().nativeElement;do if(o==a)return!0;while(o=o.parentElement);return!1}_addGlobalListener(){this._globalSubscription=this._ngZone.runOutsideAngular(()=>{let e=this._getWindow();return _e(e.document,"scroll").subscribe(()=>this._scrolled.next())})}_removeGlobalListener(){this._globalSubscription&&(this._globalSubscription.unsubscribe(),this._globalSubscription=null)}};t.\u0275fac=function(i){return new(i||t)(b(O),b(at),b(q,8))},t.\u0275prov=w({token:t,factory:t.\u0275fac,providedIn:"root"});let n=t;return n})(),ic=(()=>{let t=class t{constructor(e,i,o,a){this.elementRef=e,this.scrollDispatcher=i,this.ngZone=o,this.dir=a,this._destroyed=new N,this._elementScrolled=new Zt(s=>this.ngZone.runOutsideAngular(()=>_e(this.elementRef.nativeElement,"scroll").pipe(Z(this._destroyed)).subscribe(s)))}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(e){let i=this.elementRef.nativeElement,o=this.dir&&this.dir.value=="rtl";e.left==null&&(e.left=o?e.end:e.start),e.right==null&&(e.right=o?e.start:e.end),e.bottom!=null&&(e.top=i.scrollHeight-i.clientHeight-e.bottom),o&&Cn()!=ke.NORMAL?(e.left!=null&&(e.right=i.scrollWidth-i.clientWidth-e.left),Cn()==ke.INVERTED?e.left=e.right:Cn()==ke.NEGATED&&(e.left=e.right?-e.right:e.right)):e.right!=null&&(e.left=i.scrollWidth-i.clientWidth-e.right),this._applyScrollToOptions(e)}_applyScrollToOptions(e){let i=this.elementRef.nativeElement;oa()?i.scrollTo(e):(e.top!=null&&(i.scrollTop=e.top),e.left!=null&&(i.scrollLeft=e.left))}measureScrollOffset(e){let i="left",o="right",a=this.elementRef.nativeElement;if(e=="top")return a.scrollTop;if(e=="bottom")return a.scrollHeight-a.clientHeight-a.scrollTop;let s=this.dir&&this.dir.value=="rtl";return e=="start"?e=s?o:i:e=="end"&&(e=s?i:o),s&&Cn()==ke.INVERTED?e==i?a.scrollWidth-a.clientWidth-a.scrollLeft:a.scrollLeft:s&&Cn()==ke.NEGATED?e==i?a.scrollLeft+a.scrollWidth-a.clientWidth:-a.scrollLeft:e==i?a.scrollLeft:a.scrollWidth-a.clientWidth-a.scrollLeft}};t.\u0275fac=function(i){return new(i||t)(d(T),d($n),d(O),d(kt,8))},t.\u0275dir=y({type:t,selectors:[["","cdk-scrollable",""],["","cdkScrollable",""]],standalone:!0});let n=t;return n})(),S0=20,ge=(()=>{let t=class t{constructor(e,i,o){this._platform=e,this._change=new N,this._changeListener=a=>{this._change.next(a)},this._document=o,i.runOutsideAngular(()=>{if(e.isBrowser){let a=this._getWindow();a.addEventListener("resize",this._changeListener),a.addEventListener("orientationchange",this._changeListener)}this.change().subscribe(()=>this._viewportSize=null)})}ngOnDestroy(){if(this._platform.isBrowser){let e=this._getWindow();e.removeEventListener("resize",this._changeListener),e.removeEventListener("orientationchange",this._changeListener)}this._change.complete()}getViewportSize(){this._viewportSize||this._updateViewportSize();let e={width:this._viewportSize.width,height:this._viewportSize.height};return this._platform.isBrowser||(this._viewportSize=null),e}getViewportRect(){let e=this.getViewportScrollPosition(),{width:i,height:o}=this.getViewportSize();return{top:e.top,left:e.left,bottom:e.top+o,right:e.left+i,height:o,width:i}}getViewportScrollPosition(){if(!this._platform.isBrowser)return{top:0,left:0};let e=this._document,i=this._getWindow(),o=e.documentElement,a=o.getBoundingClientRect(),s=-a.top||e.body.scrollTop||i.scrollY||o.scrollTop||0,l=-a.left||e.body.scrollLeft||i.scrollX||o.scrollLeft||0;return{top:s,left:l}}change(e=S0){return e>0?this._change.pipe(ls(e)):this._change}_getWindow(){return this._document.defaultView||window}_updateViewportSize(){let e=this._getWindow();this._viewportSize=this._platform.isBrowser?{width:e.innerWidth,height:e.innerHeight}:{width:0,height:0}}};t.\u0275fac=function(i){return new(i||t)(b(at),b(O),b(q,8))},t.\u0275prov=w({token:t,factory:t.\u0275fac,providedIn:"root"});let n=t;return n})();var Fi=(()=>{let t=class t{};t.\u0275fac=function(i){return new(i||t)},t.\u0275mod=W({type:t}),t.\u0275inj=$({});let n=t;return n})(),ur=(()=>{let t=class t{};t.\u0275fac=function(i){return new(i||t)},t.\u0275mod=W({type:t}),t.\u0275inj=$({imports:[Be,Fi,Be,Fi]});let n=t;return n})();var T0=[[["caption"]],[["colgroup"],["col"]],"*"],R0=["caption","colgroup, col","*"];function M0(n,t){n&1&&J(0,2)}function A0(n,t){n&1&&(h(0,"thead",0),At(1,1),f(),h(2,"tbody",0),At(3,2)(4,3),f(),h(5,"tfoot",0),At(6,4),f())}function O0(n,t){n&1&&At(0,1)(1,2)(2,3)(3,4)}var Te=new C("CDK_TABLE");var Va=(()=>{let t=class t{constructor(e){this.template=e}};t.\u0275fac=function(i){return new(i||t)(d(bt))},t.\u0275dir=y({type:t,selectors:[["","cdkCellDef",""]],standalone:!0});let n=t;return n})(),za=(()=>{let t=class t{constructor(e){this.template=e}};t.\u0275fac=function(i){return new(i||t)(d(bt))},t.\u0275dir=y({type:t,selectors:[["","cdkHeaderCellDef",""]],standalone:!0});let n=t;return n})(),Hm=(()=>{let t=class t{constructor(e){this.template=e}};t.\u0275fac=function(i){return new(i||t)(d(bt))},t.\u0275dir=y({type:t,selectors:[["","cdkFooterCellDef",""]],standalone:!0});let n=t;return n})(),Wn=(()=>{let t=class t{get name(){return this._name}set name(e){this._setNameInput(e)}get sticky(){return this._sticky}set sticky(e){e!==this._sticky&&(this._sticky=e,this._hasStickyChanged=!0)}get stickyEnd(){return this._stickyEnd}set stickyEnd(e){e!==this._stickyEnd&&(this._stickyEnd=e,this._hasStickyChanged=!0)}constructor(e){this._table=e,this._hasStickyChanged=!1,this._sticky=!1,this._stickyEnd=!1}hasStickyChanged(){let e=this._hasStickyChanged;return this.resetStickyChanged(),e}resetStickyChanged(){this._hasStickyChanged=!1}_updateColumnCssClassName(){this._columnCssClassName=[`cdk-column-${this.cssClassFriendlyName}`]}_setNameInput(e){e&&(this._name=e,this.cssClassFriendlyName=e.replace(/[^a-z0-9_-]/gi,"-"),this._updateColumnCssClassName())}};t.\u0275fac=function(i){return new(i||t)(d(Te,8))},t.\u0275dir=y({type:t,selectors:[["","cdkColumnDef",""]],contentQueries:function(i,o,a){if(i&1&&(ct(a,Va,5),ct(a,za,5),ct(a,Hm,5)),i&2){let s;S(s=k())&&(o.cell=s.first),S(s=k())&&(o.headerCell=s.first),S(s=k())&&(o.footerCell=s.first)}},inputs:{name:[m.None,"cdkColumnDef","name"],sticky:[m.HasDecoratorInputTransform,"sticky","sticky",M],stickyEnd:[m.HasDecoratorInputTransform,"stickyEnd","stickyEnd",M]},standalone:!0,features:[ot([{provide:"MAT_SORT_HEADER_COLUMN_DEF",useExisting:t}]),lt]});let n=t;return n})(),Pa=class{constructor(t,r){r.nativeElement.classList.add(...t._columnCssClassName)}},Um=(()=>{let t=class t extends Pa{constructor(e,i){super(e,i)}};t.\u0275fac=function(i){return new(i||t)(d(Wn),d(T))},t.\u0275dir=y({type:t,selectors:[["cdk-header-cell"],["th","cdk-header-cell",""]],hostAttrs:["role","columnheader",1,"cdk-header-cell"],standalone:!0,features:[tt]});let n=t;return n})();var $m=(()=>{let t=class t extends Pa{constructor(e,i){super(e,i);let o=e._table?._getCellRole();o&&i.nativeElement.setAttribute("role",o)}};t.\u0275fac=function(i){return new(i||t)(d(Wn),d(T))},t.\u0275dir=y({type:t,selectors:[["cdk-cell"],["td","cdk-cell",""]],hostAttrs:[1,"cdk-cell"],standalone:!0,features:[tt]});let n=t;return n})(),Na=class{constructor(){this.tasks=[],this.endTasks=[]}},La=new C("_COALESCED_STYLE_SCHEDULER"),oc=(()=>{let t=class t{constructor(e){this._ngZone=e,this._currentSchedule=null,this._destroyed=new N}schedule(e){this._createScheduleIfNeeded(),this._currentSchedule.tasks.push(e)}scheduleEnd(e){this._createScheduleIfNeeded(),this._currentSchedule.endTasks.push(e)}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete()}_createScheduleIfNeeded(){this._currentSchedule||(this._currentSchedule=new Na,this._getScheduleObservable().pipe(Z(this._destroyed)).subscribe(()=>{for(;this._currentSchedule.tasks.length||this._currentSchedule.endTasks.length;){let e=this._currentSchedule;this._currentSchedule=new Na;for(let i of e.tasks)i();for(let i of e.endTasks)i()}this._currentSchedule=null}))}_getScheduleObservable(){return this._ngZone.isStable?Ft(Promise.resolve(void 0)):this._ngZone.onStable.pipe(wt(1))}};t.\u0275fac=function(i){return new(i||t)(b(O))},t.\u0275prov=w({token:t,factory:t.\u0275fac});let n=t;return n})();var rc=(()=>{let t=class t{constructor(e,i){this.template=e,this._differs=i}ngOnChanges(e){if(!this._columnsDiffer){let i=e.columns&&e.columns.currentValue||[];this._columnsDiffer=this._differs.find(i).create(),this._columnsDiffer.diff(i)}}getColumnsDiff(){return this._columnsDiffer.diff(this.columns)}extractCellTemplate(e){return this instanceof mr?e.headerCell.template:this instanceof ac?e.footerCell.template:e.cell.template}};t.\u0275fac=function(i){return new(i||t)(d(bt),d(Hi))},t.\u0275dir=y({type:t,features:[ut]});let n=t;return n})(),mr=(()=>{let t=class t extends rc{get sticky(){return this._sticky}set sticky(e){e!==this._sticky&&(this._sticky=e,this._hasStickyChanged=!0)}constructor(e,i,o){super(e,i),this._table=o,this._hasStickyChanged=!1,this._sticky=!1}ngOnChanges(e){super.ngOnChanges(e)}hasStickyChanged(){let e=this._hasStickyChanged;return this.resetStickyChanged(),e}resetStickyChanged(){this._hasStickyChanged=!1}};t.\u0275fac=function(i){return new(i||t)(d(bt),d(Hi),d(Te,8))},t.\u0275dir=y({type:t,selectors:[["","cdkHeaderRowDef",""]],inputs:{columns:[m.None,"cdkHeaderRowDef","columns"],sticky:[m.HasDecoratorInputTransform,"cdkHeaderRowDefSticky","sticky",M]},standalone:!0,features:[lt,tt,ut]});let n=t;return n})(),ac=(()=>{let t=class t extends rc{get sticky(){return this._sticky}set sticky(e){e!==this._sticky&&(this._sticky=e,this._hasStickyChanged=!0)}constructor(e,i,o){super(e,i),this._table=o,this._hasStickyChanged=!1,this._sticky=!1}ngOnChanges(e){super.ngOnChanges(e)}hasStickyChanged(){let e=this._hasStickyChanged;return this.resetStickyChanged(),e}resetStickyChanged(){this._hasStickyChanged=!1}};t.\u0275fac=function(i){return new(i||t)(d(bt),d(Hi),d(Te,8))},t.\u0275dir=y({type:t,selectors:[["","cdkFooterRowDef",""]],inputs:{columns:[m.None,"cdkFooterRowDef","columns"],sticky:[m.HasDecoratorInputTransform,"cdkFooterRowDefSticky","sticky",M]},standalone:!0,features:[lt,tt,ut]});let n=t;return n})(),Ba=(()=>{let t=class t extends rc{constructor(e,i,o){super(e,i),this._table=o}};t.\u0275fac=function(i){return new(i||t)(d(bt),d(Hi),d(Te,8))},t.\u0275dir=y({type:t,selectors:[["","cdkRowDef",""]],inputs:{columns:[m.None,"cdkRowDefColumns","columns"],when:[m.None,"cdkRowDefWhen","when"]},standalone:!0,features:[tt]});let n=t;return n})(),tn=(()=>{let t=class t{constructor(e){this._viewContainer=e,t.mostRecentCellOutlet=this}ngOnDestroy(){t.mostRecentCellOutlet===this&&(t.mostRecentCellOutlet=null)}};t.mostRecentCellOutlet=null,t.\u0275fac=function(i){return new(i||t)(d(Et))},t.\u0275dir=y({type:t,selectors:[["","cdkCellOutlet",""]],standalone:!0});let n=t;return n})(),sc=(()=>{let t=class t{};t.\u0275fac=function(i){return new(i||t)},t.\u0275cmp=j({type:t,selectors:[["cdk-header-row"],["tr","cdk-header-row",""]],hostAttrs:["role","row",1,"cdk-header-row"],standalone:!0,features:[V],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(i,o){i&1&&At(0,0)},dependencies:[tn],encapsulation:2});let n=t;return n})();var lc=(()=>{let t=class t{};t.\u0275fac=function(i){return new(i||t)},t.\u0275cmp=j({type:t,selectors:[["cdk-row"],["tr","cdk-row",""]],hostAttrs:["role","row",1,"cdk-row"],standalone:!0,features:[V],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(i,o){i&1&&At(0,0)},dependencies:[tn],encapsulation:2});let n=t;return n})(),Wm=(()=>{let t=class t{constructor(e){this.templateRef=e,this._contentClassName="cdk-no-data-row"}};t.\u0275fac=function(i){return new(i||t)(d(bt))},t.\u0275dir=y({type:t,selectors:[["ng-template","cdkNoDataRow",""]],standalone:!0});let n=t;return n})(),zm=["top","bottom","left","right"],nc=class{constructor(t,r,e,i,o=!0,a=!0,s){this._isNativeHtmlTable=t,this._stickCellCss=r,this.direction=e,this._coalescedStyleScheduler=i,this._isBrowser=o,this._needsPositionStickyOnElement=a,this._positionListener=s,this._cachedCellWidths=[],this._borderCellCss={top:`${r}-border-elem-top`,bottom:`${r}-border-elem-bottom`,left:`${r}-border-elem-left`,right:`${r}-border-elem-right`}}clearStickyPositioning(t,r){let e=[];for(let i of t)if(i.nodeType===i.ELEMENT_NODE){e.push(i);for(let o=0;o{for(let i of e)this._removeStickyStyle(i,r)})}updateStickyColumns(t,r,e,i=!0){if(!t.length||!this._isBrowser||!(r.some(o=>o)||e.some(o=>o))){this._positionListener&&(this._positionListener.stickyColumnsUpdated({sizes:[]}),this._positionListener.stickyEndColumnsUpdated({sizes:[]}));return}this._coalescedStyleScheduler.schedule(()=>{let o=t[0],a=o.children.length,s=this._getCellWidths(o,i),l=this._getStickyStartColumnPositions(s,r),c=this._getStickyEndColumnPositions(s,e),u=r.lastIndexOf(!0),p=e.indexOf(!0),v=this.direction==="rtl",I=v?"right":"left",L=v?"left":"right";for(let et of t)for(let U=0;Ur[U]?et:null)}),this._positionListener.stickyEndColumnsUpdated({sizes:p===-1?[]:s.slice(p).map((et,U)=>e[U+p]?et:null).reverse()}))})}stickRows(t,r,e){this._isBrowser&&this._coalescedStyleScheduler.schedule(()=>{let i=e==="bottom"?t.slice().reverse():t,o=e==="bottom"?r.slice().reverse():r,a=[],s=[],l=[];for(let u=0,p=0;u{let e=t.querySelector("tfoot");e&&(r.some(i=>!i)?this._removeStickyStyle(e,["bottom"]):this._addStickyStyle(e,"bottom",0,!1))})}_removeStickyStyle(t,r){for(let i of r)t.style[i]="",t.classList.remove(this._borderCellCss[i]);zm.some(i=>r.indexOf(i)===-1&&t.style[i])?t.style.zIndex=this._getCalculatedZIndex(t):(t.style.zIndex="",this._needsPositionStickyOnElement&&(t.style.position=""),t.classList.remove(this._stickCellCss))}_addStickyStyle(t,r,e,i){t.classList.add(this._stickCellCss),i&&t.classList.add(this._borderCellCss[r]),t.style[r]=`${e}px`,t.style.zIndex=this._getCalculatedZIndex(t),this._needsPositionStickyOnElement&&(t.style.cssText+="position: -webkit-sticky; position: sticky; ")}_getCalculatedZIndex(t){let r={top:100,bottom:10,left:1,right:1},e=0;for(let i of zm)t.style[i]&&(e+=r[i]);return e?`${e}`:""}_getCellWidths(t,r=!0){if(!r&&this._cachedCellWidths.length)return this._cachedCellWidths;let e=[],i=t.children;for(let o=0;o0;o--)r[o]&&(e[o]=i,i+=t[o]);return e}};var ja=new C("CDK_SPL");var cc=(()=>{let t=class t{constructor(e,i){this.viewContainer=e,this.elementRef=i;let o=_(Te);o._rowOutlet=this,o._outletAssigned()}};t.\u0275fac=function(i){return new(i||t)(d(Et),d(T))},t.\u0275dir=y({type:t,selectors:[["","rowOutlet",""]],standalone:!0});let n=t;return n})(),dc=(()=>{let t=class t{constructor(e,i){this.viewContainer=e,this.elementRef=i;let o=_(Te);o._headerRowOutlet=this,o._outletAssigned()}};t.\u0275fac=function(i){return new(i||t)(d(Et),d(T))},t.\u0275dir=y({type:t,selectors:[["","headerRowOutlet",""]],standalone:!0});let n=t;return n})(),uc=(()=>{let t=class t{constructor(e,i){this.viewContainer=e,this.elementRef=i;let o=_(Te);o._footerRowOutlet=this,o._outletAssigned()}};t.\u0275fac=function(i){return new(i||t)(d(Et),d(T))},t.\u0275dir=y({type:t,selectors:[["","footerRowOutlet",""]],standalone:!0});let n=t;return n})(),hc=(()=>{let t=class t{constructor(e,i){this.viewContainer=e,this.elementRef=i;let o=_(Te);o._noDataRowOutlet=this,o._outletAssigned()}};t.\u0275fac=function(i){return new(i||t)(d(Et),d(T))},t.\u0275dir=y({type:t,selectors:[["","noDataRowOutlet",""]],standalone:!0});let n=t;return n})();var mc=(()=>{let t=class t{_getCellRole(){if(this._cellRoleInternal===void 0){let e=this._elementRef.nativeElement.getAttribute("role"),i=e==="grid"||e==="treegrid"?"gridcell":"cell";this._cellRoleInternal=this._isNativeHtmlTable&&i==="cell"?null:i}return this._cellRoleInternal}get trackBy(){return this._trackByFn}set trackBy(e){this._trackByFn=e}get dataSource(){return this._dataSource}set dataSource(e){this._dataSource!==e&&this._switchDataSource(e)}get multiTemplateDataRows(){return this._multiTemplateDataRows}set multiTemplateDataRows(e){this._multiTemplateDataRows=e,this._rowOutlet&&this._rowOutlet.viewContainer.length&&(this._forceRenderDataRows(),this.updateStickyColumnStyles())}get fixedLayout(){return this._fixedLayout}set fixedLayout(e){this._fixedLayout=e,this._forceRecalculateCellWidths=!0,this._stickyColumnStylesNeedReset=!0}constructor(e,i,o,a,s,l,c,u,p,v,I,L){this._differs=e,this._changeDetectorRef=i,this._elementRef=o,this._dir=s,this._platform=c,this._viewRepeater=u,this._coalescedStyleScheduler=p,this._viewportRuler=v,this._stickyPositioningListener=I,this._ngZone=L,this._onDestroy=new N,this._columnDefsByName=new Map,this._customColumnDefs=new Set,this._customRowDefs=new Set,this._customHeaderRowDefs=new Set,this._customFooterRowDefs=new Set,this._headerRowDefChanged=!0,this._footerRowDefChanged=!0,this._stickyColumnStylesNeedReset=!0,this._forceRecalculateCellWidths=!0,this._cachedRenderRowsMap=new Map,this.stickyCssClass="cdk-table-sticky",this.needsPositionStickyOnElement=!0,this._isShowingNoDataRow=!1,this._hasAllOutlets=!1,this._hasInitialized=!1,this._cellRoleInternal=void 0,this._multiTemplateDataRows=!1,this._fixedLayout=!1,this.contentChanged=new z,this.viewChange=new $t({start:0,end:Number.MAX_VALUE}),a||o.nativeElement.setAttribute("role","table"),this._document=l,this._isServer=!c.isBrowser,this._isNativeHtmlTable=o.nativeElement.nodeName==="TABLE"}ngOnInit(){this._setupStickyStyler(),this._dataDiffer=this._differs.find([]).create((e,i)=>this.trackBy?this.trackBy(i.dataIndex,i.data):i),this._viewportRuler.change().pipe(Z(this._onDestroy)).subscribe(()=>{this._forceRecalculateCellWidths=!0})}ngAfterContentInit(){this._hasInitialized=!0}ngAfterContentChecked(){this._canRender()&&this._render()}ngOnDestroy(){[this._rowOutlet?.viewContainer,this._headerRowOutlet?.viewContainer,this._footerRowOutlet?.viewContainer,this._cachedRenderRowsMap,this._customColumnDefs,this._customRowDefs,this._customHeaderRowDefs,this._customFooterRowDefs,this._columnDefsByName].forEach(e=>{e?.clear()}),this._headerRowDefs=[],this._footerRowDefs=[],this._defaultRowDef=null,this._onDestroy.next(),this._onDestroy.complete(),Oa(this.dataSource)&&this.dataSource.disconnect(this)}renderRows(){this._renderRows=this._getAllRenderRows();let e=this._dataDiffer.diff(this._renderRows);if(!e){this._updateNoDataRow(),this.contentChanged.next();return}let i=this._rowOutlet.viewContainer;this._viewRepeater.applyChanges(e,i,(o,a,s)=>this._getEmbeddedViewArgs(o.item,s),o=>o.item.data,o=>{o.operation===Hn.INSERTED&&o.context&&this._renderCellTemplateForItem(o.record.item.rowDef,o.context)}),this._updateRowIndexContext(),e.forEachIdentityChange(o=>{let a=i.get(o.currentIndex);a.context.$implicit=o.item.data}),this._updateNoDataRow(),this._ngZone&&O.isInAngularZone()?this._ngZone.onStable.pipe(wt(1),Z(this._onDestroy)).subscribe(()=>{this.updateStickyColumnStyles()}):this.updateStickyColumnStyles(),this.contentChanged.next()}addColumnDef(e){this._customColumnDefs.add(e)}removeColumnDef(e){this._customColumnDefs.delete(e)}addRowDef(e){this._customRowDefs.add(e)}removeRowDef(e){this._customRowDefs.delete(e)}addHeaderRowDef(e){this._customHeaderRowDefs.add(e),this._headerRowDefChanged=!0}removeHeaderRowDef(e){this._customHeaderRowDefs.delete(e),this._headerRowDefChanged=!0}addFooterRowDef(e){this._customFooterRowDefs.add(e),this._footerRowDefChanged=!0}removeFooterRowDef(e){this._customFooterRowDefs.delete(e),this._footerRowDefChanged=!0}setNoDataRow(e){this._customNoDataRow=e}updateStickyHeaderRowStyles(){let e=this._getRenderedRows(this._headerRowOutlet);if(this._isNativeHtmlTable){let o=Bm(this._headerRowOutlet,"thead");o&&(o.style.display=e.length?"":"none")}let i=this._headerRowDefs.map(o=>o.sticky);this._stickyStyler.clearStickyPositioning(e,["top"]),this._stickyStyler.stickRows(e,i,"top"),this._headerRowDefs.forEach(o=>o.resetStickyChanged())}updateStickyFooterRowStyles(){let e=this._getRenderedRows(this._footerRowOutlet);if(this._isNativeHtmlTable){let o=Bm(this._footerRowOutlet,"tfoot");o&&(o.style.display=e.length?"":"none")}let i=this._footerRowDefs.map(o=>o.sticky);this._stickyStyler.clearStickyPositioning(e,["bottom"]),this._stickyStyler.stickRows(e,i,"bottom"),this._stickyStyler.updateStickyFooterContainer(this._elementRef.nativeElement,i),this._footerRowDefs.forEach(o=>o.resetStickyChanged())}updateStickyColumnStyles(){let e=this._getRenderedRows(this._headerRowOutlet),i=this._getRenderedRows(this._rowOutlet),o=this._getRenderedRows(this._footerRowOutlet);(this._isNativeHtmlTable&&!this._fixedLayout||this._stickyColumnStylesNeedReset)&&(this._stickyStyler.clearStickyPositioning([...e,...i,...o],["left","right"]),this._stickyColumnStylesNeedReset=!1),e.forEach((a,s)=>{this._addStickyColumnStyles([a],this._headerRowDefs[s])}),this._rowDefs.forEach(a=>{let s=[];for(let l=0;l{this._addStickyColumnStyles([a],this._footerRowDefs[s])}),Array.from(this._columnDefsByName.values()).forEach(a=>a.resetStickyChanged())}_outletAssigned(){!this._hasAllOutlets&&this._rowOutlet&&this._headerRowOutlet&&this._footerRowOutlet&&this._noDataRowOutlet&&(this._hasAllOutlets=!0,this._canRender()&&this._render())}_canRender(){return this._hasAllOutlets&&this._hasInitialized}_render(){this._cacheRowDefs(),this._cacheColumnDefs(),!this._headerRowDefs.length&&!this._footerRowDefs.length&&this._rowDefs.length;let i=this._renderUpdatedColumns()||this._headerRowDefChanged||this._footerRowDefChanged;this._stickyColumnStylesNeedReset=this._stickyColumnStylesNeedReset||i,this._forceRecalculateCellWidths=i,this._headerRowDefChanged&&(this._forceRenderHeaderRows(),this._headerRowDefChanged=!1),this._footerRowDefChanged&&(this._forceRenderFooterRows(),this._footerRowDefChanged=!1),this.dataSource&&this._rowDefs.length>0&&!this._renderChangeSubscription?this._observeRenderChanges():this._stickyColumnStylesNeedReset&&this.updateStickyColumnStyles(),this._checkStickyStates()}_getAllRenderRows(){let e=[],i=this._cachedRenderRowsMap;this._cachedRenderRowsMap=new Map;for(let o=0;o{let l=o&&o.has(s)?o.get(s):[];if(l.length){let c=l.shift();return c.dataIndex=i,c}else return{data:e,rowDef:s,dataIndex:i}})}_cacheColumnDefs(){this._columnDefsByName.clear(),Fa(this._getOwnDefs(this._contentColumnDefs),this._customColumnDefs).forEach(i=>{this._columnDefsByName.has(i.name),this._columnDefsByName.set(i.name,i)})}_cacheRowDefs(){this._headerRowDefs=Fa(this._getOwnDefs(this._contentHeaderRowDefs),this._customHeaderRowDefs),this._footerRowDefs=Fa(this._getOwnDefs(this._contentFooterRowDefs),this._customFooterRowDefs),this._rowDefs=Fa(this._getOwnDefs(this._contentRowDefs),this._customRowDefs);let e=this._rowDefs.filter(i=>!i.when);!this.multiTemplateDataRows&&e.length>1,this._defaultRowDef=e[0]}_renderUpdatedColumns(){let e=(s,l)=>s||!!l.getColumnsDiff(),i=this._rowDefs.reduce(e,!1);i&&this._forceRenderDataRows();let o=this._headerRowDefs.reduce(e,!1);o&&this._forceRenderHeaderRows();let a=this._footerRowDefs.reduce(e,!1);return a&&this._forceRenderFooterRows(),i||o||a}_switchDataSource(e){this._data=[],Oa(this.dataSource)&&this.dataSource.disconnect(this),this._renderChangeSubscription&&(this._renderChangeSubscription.unsubscribe(),this._renderChangeSubscription=null),e||(this._dataDiffer&&this._dataDiffer.diff([]),this._rowOutlet&&this._rowOutlet.viewContainer.clear()),this._dataSource=e}_observeRenderChanges(){if(!this.dataSource)return;let e;Oa(this.dataSource)?e=this.dataSource.connect(this):nn(this.dataSource)?e=this.dataSource:Array.isArray(this.dataSource)&&(e=A(this.dataSource)),this._renderChangeSubscription=e.pipe(Z(this._onDestroy)).subscribe(i=>{this._data=i||[],this.renderRows()})}_forceRenderHeaderRows(){this._headerRowOutlet.viewContainer.length>0&&this._headerRowOutlet.viewContainer.clear(),this._headerRowDefs.forEach((e,i)=>this._renderRow(this._headerRowOutlet,e,i)),this.updateStickyHeaderRowStyles()}_forceRenderFooterRows(){this._footerRowOutlet.viewContainer.length>0&&this._footerRowOutlet.viewContainer.clear(),this._footerRowDefs.forEach((e,i)=>this._renderRow(this._footerRowOutlet,e,i)),this.updateStickyFooterRowStyles()}_addStickyColumnStyles(e,i){let o=Array.from(i.columns||[]).map(l=>{let c=this._columnDefsByName.get(l);return c}),a=o.map(l=>l.sticky),s=o.map(l=>l.stickyEnd);this._stickyStyler.updateStickyColumns(e,a,s,!this._fixedLayout||this._forceRecalculateCellWidths)}_getRenderedRows(e){let i=[];for(let o=0;o!a.when||a.when(i,e));else{let a=this._rowDefs.find(s=>s.when&&s.when(i,e))||this._defaultRowDef;a&&o.push(a)}return o.length,o}_getEmbeddedViewArgs(e,i){let o=e.rowDef,a={$implicit:e.data};return{templateRef:o.template,context:a,index:i}}_renderRow(e,i,o,a={}){let s=e.viewContainer.createEmbeddedView(i.template,a,o);return this._renderCellTemplateForItem(i,a),s}_renderCellTemplateForItem(e,i){for(let o of this._getCellTemplates(e))tn.mostRecentCellOutlet&&tn.mostRecentCellOutlet._viewContainer.createEmbeddedView(o,i);this._changeDetectorRef.markForCheck()}_updateRowIndexContext(){let e=this._rowOutlet.viewContainer;for(let i=0,o=e.length;i{let o=this._columnDefsByName.get(i);return e.extractCellTemplate(o)})}_forceRenderDataRows(){this._dataDiffer.diff([]),this._rowOutlet.viewContainer.clear(),this.renderRows()}_checkStickyStates(){let e=(i,o)=>i||o.hasStickyChanged();this._headerRowDefs.reduce(e,!1)&&this.updateStickyHeaderRowStyles(),this._footerRowDefs.reduce(e,!1)&&this.updateStickyFooterRowStyles(),Array.from(this._columnDefsByName.values()).reduce(e,!1)&&(this._stickyColumnStylesNeedReset=!0,this.updateStickyColumnStyles())}_setupStickyStyler(){let e=this._dir?this._dir.value:"ltr";this._stickyStyler=new nc(this._isNativeHtmlTable,this.stickyCssClass,e,this._coalescedStyleScheduler,this._platform.isBrowser,this.needsPositionStickyOnElement,this._stickyPositioningListener),(this._dir?this._dir.change:A()).pipe(Z(this._onDestroy)).subscribe(i=>{this._stickyStyler.direction=i,this.updateStickyColumnStyles()})}_getOwnDefs(e){return e.filter(i=>!i._table||i._table===this)}_updateNoDataRow(){let e=this._customNoDataRow||this._noDataRow;if(!e)return;let i=this._rowOutlet.viewContainer.length===0;if(i===this._isShowingNoDataRow)return;let o=this._noDataRowOutlet.viewContainer;if(i){let a=o.createEmbeddedView(e.templateRef),s=a.rootNodes[0];a.rootNodes.length===1&&s?.nodeType===this._document.ELEMENT_NODE&&(s.setAttribute("role","row"),s.classList.add(e._contentClassName))}else o.clear();this._isShowingNoDataRow=i,this._changeDetectorRef.markForCheck()}};t.\u0275fac=function(i){return new(i||t)(d(Hi),d(ft),d(T),ve("role"),d(kt,8),d(q),d(at),d(dr),d(La),d(ge),d(ja,12),d(O,8))},t.\u0275cmp=j({type:t,selectors:[["cdk-table"],["table","cdk-table",""]],contentQueries:function(i,o,a){if(i&1&&(ct(a,Wm,5),ct(a,Wn,5),ct(a,Ba,5),ct(a,mr,5),ct(a,ac,5)),i&2){let s;S(s=k())&&(o._noDataRow=s.first),S(s=k())&&(o._contentColumnDefs=s),S(s=k())&&(o._contentRowDefs=s),S(s=k())&&(o._contentHeaderRowDefs=s),S(s=k())&&(o._contentFooterRowDefs=s)}},hostAttrs:[1,"cdk-table"],hostVars:2,hostBindings:function(i,o){i&2&&B("cdk-table-fixed-layout",o.fixedLayout)},inputs:{trackBy:"trackBy",dataSource:"dataSource",multiTemplateDataRows:[m.HasDecoratorInputTransform,"multiTemplateDataRows","multiTemplateDataRows",M],fixedLayout:[m.HasDecoratorInputTransform,"fixedLayout","fixedLayout",M]},outputs:{contentChanged:"contentChanged"},exportAs:["cdkTable"],standalone:!0,features:[ot([{provide:Te,useExisting:t},{provide:dr,useClass:Un},{provide:La,useClass:oc},{provide:ja,useValue:null}]),lt,V],ngContentSelectors:R0,decls:5,vars:2,consts:[["role","rowgroup"],["headerRowOutlet",""],["rowOutlet",""],["noDataRowOutlet",""],["footerRowOutlet",""]],template:function(i,o){i&1&&(mt(T0),J(0),J(1,1),F(2,M0,1,0)(3,A0,7,0)(4,O0,4,0)),i&2&&(g(2),K(2,o._isServer?2:-1),g(),K(3,o._isNativeHtmlTable?3:4))},dependencies:[dc,cc,hc,uc],styles:[".cdk-table-fixed-layout{table-layout:fixed}"],encapsulation:2});let n=t;return n})();function Fa(n,t){return n.concat(Array.from(t))}function Bm(n,t){let r=t.toUpperCase(),e=n.viewContainer.element.nativeElement;for(;e;){let i=e.nodeType===1?e.nodeName:null;if(i===r)return e;if(i==="TABLE")break;e=e.parentNode}return null}var Gm=(()=>{let t=class t{};t.\u0275fac=function(i){return new(i||t)},t.\u0275mod=W({type:t}),t.\u0275inj=$({imports:[ur]});let n=t;return n})();var F0=[[["caption"]],[["colgroup"],["col"]],"*"],P0=["caption","colgroup, col","*"];function N0(n,t){n&1&&J(0,2)}function L0(n,t){n&1&&(h(0,"thead",0),At(1,1),f(),h(2,"tbody",2),At(3,3)(4,4),f(),h(5,"tfoot",0),At(6,5),f())}function j0(n,t){n&1&&At(0,1)(1,3)(2,4)(3,5)}var Gn=(()=>{let t=class t extends mc{constructor(){super(...arguments),this.stickyCssClass="mat-mdc-table-sticky",this.needsPositionStickyOnElement=!1}};t.\u0275fac=(()=>{let e;return function(o){return(e||(e=St(t)))(o||t)}})(),t.\u0275cmp=j({type:t,selectors:[["mat-table"],["table","mat-table",""]],hostAttrs:[1,"mat-mdc-table","mdc-data-table__table"],hostVars:2,hostBindings:function(i,o){i&2&&B("mdc-table-fixed-layout",o.fixedLayout)},exportAs:["matTable"],standalone:!0,features:[ot([{provide:mc,useExisting:t},{provide:Te,useExisting:t},{provide:La,useClass:oc},{provide:dr,useClass:Un},{provide:ja,useValue:null}]),tt,V],ngContentSelectors:P0,decls:5,vars:2,consts:[["role","rowgroup"],["headerRowOutlet",""],["role","rowgroup",1,"mdc-data-table__content"],["rowOutlet",""],["noDataRowOutlet",""],["footerRowOutlet",""]],template:function(i,o){i&1&&(mt(F0),J(0),J(1,1),F(2,N0,1,0)(3,L0,7,0)(4,j0,4,0)),i&2&&(g(2),K(2,o._isServer?2:-1),g(),K(3,o._isNativeHtmlTable?3:4))},dependencies:[dc,cc,hc,uc],styles:[".mat-mdc-table-sticky{position:sticky !important}.mdc-data-table{-webkit-overflow-scrolling:touch;display:inline-flex;flex-direction:column;box-sizing:border-box;position:relative}.mdc-data-table__table-container{-webkit-overflow-scrolling:touch;overflow-x:auto;width:100%}.mdc-data-table__table{min-width:100%;border:0;white-space:nowrap;border-spacing:0;table-layout:fixed}.mdc-data-table__cell{box-sizing:border-box;overflow:hidden;text-align:left;text-overflow:ellipsis}[dir=rtl] .mdc-data-table__cell,.mdc-data-table__cell[dir=rtl]{text-align:right}.mdc-data-table__cell--numeric{text-align:right}[dir=rtl] .mdc-data-table__cell--numeric,.mdc-data-table__cell--numeric[dir=rtl]{text-align:left}.mdc-data-table__header-cell{box-sizing:border-box;text-overflow:ellipsis;overflow:hidden;outline:none;text-align:left}[dir=rtl] .mdc-data-table__header-cell,.mdc-data-table__header-cell[dir=rtl]{text-align:right}.mdc-data-table__header-cell--numeric{text-align:right}[dir=rtl] .mdc-data-table__header-cell--numeric,.mdc-data-table__header-cell--numeric[dir=rtl]{text-align:left}.mdc-data-table__header-cell-wrapper{align-items:center;display:inline-flex;vertical-align:middle}.mdc-data-table__cell,.mdc-data-table__header-cell{padding:0 16px 0 16px}.mdc-data-table__header-cell--checkbox,.mdc-data-table__cell--checkbox{padding-left:4px;padding-right:0}[dir=rtl] .mdc-data-table__header-cell--checkbox,[dir=rtl] .mdc-data-table__cell--checkbox,.mdc-data-table__header-cell--checkbox[dir=rtl],.mdc-data-table__cell--checkbox[dir=rtl]{padding-left:0;padding-right:4px}mat-table{display:block}mat-header-row{min-height:56px}mat-row,mat-footer-row{min-height:48px}mat-row,mat-header-row,mat-footer-row{display:flex;border-width:0;border-bottom-width:1px;border-style:solid;align-items:center;box-sizing:border-box}mat-cell:first-of-type,mat-header-cell:first-of-type,mat-footer-cell:first-of-type{padding-left:24px}[dir=rtl] mat-cell:first-of-type:not(:only-of-type),[dir=rtl] mat-header-cell:first-of-type:not(:only-of-type),[dir=rtl] mat-footer-cell:first-of-type:not(:only-of-type){padding-left:0;padding-right:24px}mat-cell:last-of-type,mat-header-cell:last-of-type,mat-footer-cell:last-of-type{padding-right:24px}[dir=rtl] mat-cell:last-of-type:not(:only-of-type),[dir=rtl] mat-header-cell:last-of-type:not(:only-of-type),[dir=rtl] mat-footer-cell:last-of-type:not(:only-of-type){padding-right:0;padding-left:24px}mat-cell,mat-header-cell,mat-footer-cell{flex:1;display:flex;align-items:center;overflow:hidden;word-wrap:break-word;min-height:inherit}.mat-mdc-table{table-layout:auto;white-space:normal;background-color:var(--mat-table-background-color)}.mat-mdc-header-row{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;height:var(--mat-table-header-container-height, 56px);color:var(--mat-table-header-headline-color, rgba(0, 0, 0, 0.87));font-family:var(--mat-table-header-headline-font, Roboto, sans-serif);line-height:var(--mat-table-header-headline-line-height);font-size:var(--mat-table-header-headline-size, 14px);font-weight:var(--mat-table-header-headline-weight, 500)}.mat-mdc-row{height:var(--mat-table-row-item-container-height, 52px);color:var(--mat-table-row-item-label-text-color, rgba(0, 0, 0, 0.87))}.mat-mdc-row,.mdc-data-table__content{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--mat-table-row-item-label-text-font, Roboto, sans-serif);line-height:var(--mat-table-row-item-label-text-line-height);font-size:var(--mat-table-row-item-label-text-size, 14px);font-weight:var(--mat-table-row-item-label-text-weight)}.mat-mdc-footer-row{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;height:var(--mat-table-footer-container-height, 52px);color:var(--mat-table-row-item-label-text-color, rgba(0, 0, 0, 0.87));font-family:var(--mat-table-footer-supporting-text-font, Roboto, sans-serif);line-height:var(--mat-table-footer-supporting-text-line-height);font-size:var(--mat-table-footer-supporting-text-size, 14px);font-weight:var(--mat-table-footer-supporting-text-weight);letter-spacing:var(--mat-table-footer-supporting-text-tracking)}.mat-mdc-header-cell{border-bottom-color:var(--mat-table-row-item-outline-color, rgba(0, 0, 0, 0.12));border-bottom-width:var(--mat-table-row-item-outline-width, 1px);border-bottom-style:solid;letter-spacing:var(--mat-table-header-headline-tracking);font-weight:inherit;line-height:inherit}.mat-mdc-cell{border-bottom-color:var(--mat-table-row-item-outline-color, rgba(0, 0, 0, 0.12));border-bottom-width:var(--mat-table-row-item-outline-width, 1px);border-bottom-style:solid;letter-spacing:var(--mat-table-row-item-label-text-tracking);line-height:inherit}.mdc-data-table__row:last-child .mat-mdc-cell{border-bottom:none}.mat-mdc-footer-cell{letter-spacing:var(--mat-table-row-item-label-text-tracking)}mat-row.mat-mdc-row,mat-header-row.mat-mdc-header-row,mat-footer-row.mat-mdc-footer-row{border-bottom:none}.mat-mdc-table tbody,.mat-mdc-table tfoot,.mat-mdc-table thead,.mat-mdc-cell,.mat-mdc-footer-cell,.mat-mdc-header-row,.mat-mdc-row,.mat-mdc-footer-row,.mat-mdc-table .mat-mdc-header-cell{background:inherit}.mat-mdc-table mat-header-row.mat-mdc-header-row,.mat-mdc-table mat-row.mat-mdc-row,.mat-mdc-table mat-footer-row.mat-mdc-footer-cell{height:unset}mat-header-cell.mat-mdc-header-cell,mat-cell.mat-mdc-cell,mat-footer-cell.mat-mdc-footer-cell{align-self:stretch}"],encapsulation:2});let n=t;return n})(),Ha=(()=>{let t=class t extends Va{};t.\u0275fac=(()=>{let e;return function(o){return(e||(e=St(t)))(o||t)}})(),t.\u0275dir=y({type:t,selectors:[["","matCellDef",""]],standalone:!0,features:[ot([{provide:Va,useExisting:t}]),tt]});let n=t;return n})(),Ua=(()=>{let t=class t extends za{};t.\u0275fac=(()=>{let e;return function(o){return(e||(e=St(t)))(o||t)}})(),t.\u0275dir=y({type:t,selectors:[["","matHeaderCellDef",""]],standalone:!0,features:[ot([{provide:za,useExisting:t}]),tt]});let n=t;return n})();var $a=(()=>{let t=class t extends Wn{get name(){return this._name}set name(e){this._setNameInput(e)}_updateColumnCssClassName(){super._updateColumnCssClassName(),this._columnCssClassName.push(`mat-column-${this.cssClassFriendlyName}`)}};t.\u0275fac=(()=>{let e;return function(o){return(e||(e=St(t)))(o||t)}})(),t.\u0275dir=y({type:t,selectors:[["","matColumnDef",""]],inputs:{name:[m.None,"matColumnDef","name"]},standalone:!0,features:[ot([{provide:Wn,useExisting:t},{provide:"MAT_SORT_HEADER_COLUMN_DEF",useExisting:t}]),tt]});let n=t;return n})(),Wa=(()=>{let t=class t extends Um{};t.\u0275fac=(()=>{let e;return function(o){return(e||(e=St(t)))(o||t)}})(),t.\u0275dir=y({type:t,selectors:[["mat-header-cell"],["th","mat-header-cell",""]],hostAttrs:["role","columnheader",1,"mat-mdc-header-cell","mdc-data-table__header-cell"],standalone:!0,features:[tt]});let n=t;return n})();var Ga=(()=>{let t=class t extends $m{};t.\u0275fac=(()=>{let e;return function(o){return(e||(e=St(t)))(o||t)}})(),t.\u0275dir=y({type:t,selectors:[["mat-cell"],["td","mat-cell",""]],hostAttrs:[1,"mat-mdc-cell","mdc-data-table__cell"],standalone:!0,features:[tt]});let n=t;return n})();var qa=(()=>{let t=class t extends mr{};t.\u0275fac=(()=>{let e;return function(o){return(e||(e=St(t)))(o||t)}})(),t.\u0275dir=y({type:t,selectors:[["","matHeaderRowDef",""]],inputs:{columns:[m.None,"matHeaderRowDef","columns"],sticky:[m.HasDecoratorInputTransform,"matHeaderRowDefSticky","sticky",M]},standalone:!0,features:[ot([{provide:mr,useExisting:t}]),lt,tt]});let n=t;return n})();var Ya=(()=>{let t=class t extends Ba{};t.\u0275fac=(()=>{let e;return function(o){return(e||(e=St(t)))(o||t)}})(),t.\u0275dir=y({type:t,selectors:[["","matRowDef",""]],inputs:{columns:[m.None,"matRowDefColumns","columns"],when:[m.None,"matRowDefWhen","when"]},standalone:!0,features:[ot([{provide:Ba,useExisting:t}]),tt]});let n=t;return n})(),Qa=(()=>{let t=class t extends sc{};t.\u0275fac=(()=>{let e;return function(o){return(e||(e=St(t)))(o||t)}})(),t.\u0275cmp=j({type:t,selectors:[["mat-header-row"],["tr","mat-header-row",""]],hostAttrs:["role","row",1,"mat-mdc-header-row","mdc-data-table__header-row"],exportAs:["matHeaderRow"],standalone:!0,features:[ot([{provide:sc,useExisting:t}]),tt,V],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(i,o){i&1&&At(0,0)},dependencies:[tn],encapsulation:2});let n=t;return n})();var Xa=(()=>{let t=class t extends lc{};t.\u0275fac=(()=>{let e;return function(o){return(e||(e=St(t)))(o||t)}})(),t.\u0275cmp=j({type:t,selectors:[["mat-row"],["tr","mat-row",""]],hostAttrs:["role","row",1,"mat-mdc-row","mdc-data-table__row"],exportAs:["matRow"],standalone:!0,features:[ot([{provide:lc,useExisting:t}]),tt,V],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(i,o){i&1&&At(0,0)},dependencies:[tn],encapsulation:2});let n=t;return n})();var Za=(()=>{let t=class t{};t.\u0275fac=function(i){return new(i||t)},t.\u0275mod=W({type:t}),t.\u0275inj=$({imports:[dt,Gm,dt]});let n=t;return n})();var Ym=(()=>{let t=class t{constructor(e){this.http=e;let i=_(Qe);this.url=`${i}/envelopereceiver`}getEnvelopeReceiver(e){let i=new ue;return e&&(e.min_status&&(i=i.set("min_status",e.min_status.toString())),e.max_status&&(i=i.set("max_status",e.max_status.toString())),e.ignore_status&&(i=i.set("ignore_status",e.ignore_status.join(",")))),this.http.get(this.url,{params:i})}getEnvelopeReceiverAsync(e){return Re(this.getEnvelopeReceiver(e))}};t.\u0275fac=function(i){return new(i||t)(b(Ee))},t.\u0275prov=w({token:t,factory:t.\u0275fac,providedIn:"root"});let n=t;return n})();function z0(n,t){if(n&1&&(h(0,"th",10),D(1),f()),n&2){let r=R().$implicit,e=R();g(),Yt(" ",e.schema[r].header," ")}}function B0(n,t){if(n&1&&(h(0,"td",11),D(1),f()),n&2){let r=t.$implicit,e=R().$implicit,i=R();g(),Yt(" ",i.schema[e].field(r)," ")}}function H0(n,t){if(n&1&&(Fe(0,2),F(1,z0,2,1,"th",9)(2,B0,2,1,"td",5),Pe()),n&2){let r=t.$implicit;bd("matColumnDef",r)}}function U0(n,t){n&1&&(h(0,"th",12),D(1,"\xA0"),f())}function $0(n,t){n&1&&(h(0,"mat-icon"),D(1,"keyboard_arrow_up"),f())}function W0(n,t){n&1&&(h(0,"mat-icon"),D(1,"keyboard_arrow_down"),f())}function G0(n,t){if(n&1){let r=ht();h(0,"td",11)(1,"button",13),H("click",function(i){let o=Q(r).$implicit,a=R();return a.expandedElement=a.expandedElement===o?null:o,X(i.stopPropagation())}),F(2,$0,2,0,"mat-icon")(3,W0,2,0),f()()}if(n&2){let r=t.$implicit,e=R();g(2),K(2,e.expandedElement===r?2:3)}}function q0(n,t){if(n&1&&(h(0,"td",11)(1,"div",14)(2,"div",15)(3,"div",16),D(4),f(),h(5,"div",17),D(6),f(),h(7,"div",18),D(8),f(),h(9,"div",19),D(10),f()(),h(11,"div",20),D(12),h(13,"span",21),D(14," -- Wikipedia "),f()()()()),n&2){let r=t.$implicit,e=R();nt("colspan",e.columnsToDisplayWithExpand.length),g(),E("@detailExpand",r==e.expandedElement?"expanded":"collapsed"),g(3),Yt(" ","element.position"," "),g(2),Yt(" ","element.symbol"," "),g(2),Yt(" ","element.name"," "),g(2),Yt(" ","element.weight"," "),g(2),Yt(" ","element.description"," ")}}function Y0(n,t){n&1&&P(0,"tr",22)}function Q0(n,t){if(n&1){let r=ht();h(0,"tr",23),H("click",function(){let i=Q(r).$implicit,o=R();return X(o.expandedElement=o.expandedElement===i?null:i)}),f()}if(n&2){let r=t.$implicit,e=R();B("example-expanded-row",e.expandedElement===r)}}var Qm=(()=>{let t=class t{constructor(e){this.erService=e,this.data=[],this.displayedColumns=["title","status","type","privateMessage","addedWhen"],this.schema={title:{header:"Title",field:i=>i.envelope.title},status:{header:"Status",field:i=>i.envelope.statusName},type:{header:"Type",field:i=>i.envelope.contractType},privateMessage:{header:"Private Message",field:i=>i.privateMessage},addedWhen:{header:"Added When",field:i=>i.addedWhen}},this.columnsToDisplayWithExpand=[...this.displayedColumns,"expand"]}ngOnInit(){return Nt(this,null,function*(){this.data.length===0&&(this.data=yield this.erService.getEnvelopeReceiverAsync(this.options))})}updateTable(){this.table.renderRows()}isExpandedRow(e,i){return i?.envelopeId===this.expandedElement?.envelopeId&&i?.receiverId===this.expandedElement?.receiverId}};t.\u0275fac=function(i){return new(i||t)(d(Ym))},t.\u0275cmp=j({type:t,selectors:[["app-envelope-table"]],viewQuery:function(i,o){if(i&1&&rt(Gn,5),i&2){let a;S(a=k())&&(o.table=a.first)}},inputs:{data:"data",options:"options",displayedColumns:"displayedColumns",schema:"schema"},standalone:!0,features:[V],decls:11,vars:3,consts:[["table",""],["mat-table","",1,"mat-elevation-z8",3,"dataSource"],[3,"matColumnDef"],["matColumnDef","expand"],["mat-header-cell","","aria-label","row actions",4,"matHeaderCellDef"],["mat-cell","",4,"matCellDef"],["matColumnDef","expandedDetail"],["mat-header-row","",4,"matHeaderRowDef"],["mat-row","","class","example-element-row",3,"example-expanded-row","click",4,"matRowDef","matRowDefColumns"],["mat-header-cell","",4,"matHeaderCellDef"],["mat-header-cell",""],["mat-cell",""],["mat-header-cell","","aria-label","row actions"],["mat-icon-button","","aria-label","expand row",3,"click"],[1,"example-element-detail"],[1,"example-element-diagram"],[1,"example-element-position"],[1,"example-element-symbol"],[1,"example-element-name"],[1,"example-element-weight"],[1,"example-element-description"],[1,"example-element-description-attribution"],["mat-header-row",""],["mat-row","",1,"example-element-row",3,"click"]],template:function(i,o){i&1&&(h(0,"table",1,0),Kt(2,H0,3,1,"ng-container",2,de),Fe(4,3),F(5,U0,2,0,"th",4)(6,G0,4,1,"td",5),Pe(),Fe(7,6),F(8,q0,15,7,"td",5),Pe(),F(9,Y0,1,0,"tr",7)(10,Q0,1,2,"tr",8),f()),i&2&&(E("dataSource",o.data),g(2),Jt(o.displayedColumns),g(7),E("matHeaderRowDef",o.columnsToDisplayWithExpand),g(),E("matRowDefColumns",o.columnsToDisplayWithExpand))},dependencies:[Za,Gn,Ua,qa,$a,Ha,Ya,Wa,Ga,Qa,Xa,te,se,Ei,Xt,ae],styles:[".example-element-row[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{border-bottom-width:0}.example-element-detail[_ngcontent-%COMP%]{overflow:hidden;display:flex}.example-element-diagram[_ngcontent-%COMP%]{min-width:80px;border:2px solid black;padding:8px;font-weight:lighter;margin:8px 0;height:104px}.example-element-symbol[_ngcontent-%COMP%]{font-weight:700;font-size:40px;line-height:normal}.example-element-description[_ngcontent-%COMP%]{padding:16px}.example-element-description-attribution[_ngcontent-%COMP%]{opacity:.5}"],data:{animation:[ne("detailExpand",[Pt("collapsed,void",yt({height:"0px",minHeight:"0"})),Pt("expanded",yt({height:"*"})),Bt("expanded <=> collapsed",zt("225ms cubic-bezier(0.4, 0.0, 0.2, 1)"))])]}});let n=t;return n})();var fr=class{attach(t){return this._attachedHost=t,t.attach(this)}detach(){let t=this._attachedHost;t!=null&&(this._attachedHost=null,t.detach())}get isAttached(){return this._attachedHost!=null}setAttachedHost(t){this._attachedHost=t}},pr=class extends fr{constructor(t,r,e,i,o){super(),this.component=t,this.viewContainerRef=r,this.injector=e,this.componentFactoryResolver=i,this.projectableNodes=o}},De=class extends fr{constructor(t,r,e,i){super(),this.templateRef=t,this.viewContainerRef=r,this.context=e,this.injector=i}get origin(){return this.templateRef.elementRef}attach(t,r=this.context){return this.context=r,super.attach(t)}detach(){return this.context=void 0,super.detach()}},fc=class extends fr{constructor(t){super(),this.element=t instanceof T?t.nativeElement:t}},Ka=class{constructor(){this._isDisposed=!1,this.attachDomPortal=null}hasAttached(){return!!this._attachedPortal}attach(t){if(t instanceof pr)return this._attachedPortal=t,this.attachComponentPortal(t);if(t instanceof De)return this._attachedPortal=t,this.attachTemplatePortal(t);if(this.attachDomPortal&&t instanceof fc)return this._attachedPortal=t,this.attachDomPortal(t)}detach(){this._attachedPortal&&(this._attachedPortal.setAttachedHost(null),this._attachedPortal=null),this._invokeDisposeFn()}dispose(){this.hasAttached()&&this.detach(),this._invokeDisposeFn(),this._isDisposed=!0}setDisposeFn(t){this._disposeFn=t}_invokeDisposeFn(){this._disposeFn&&(this._disposeFn(),this._disposeFn=null)}};var Ja=class extends Ka{constructor(t,r,e,i,o){super(),this.outletElement=t,this._componentFactoryResolver=r,this._appRef=e,this._defaultInjector=i,this.attachDomPortal=a=>{this._document;let s=a.element;s.parentNode;let l=this._document.createComment("dom-portal");s.parentNode.insertBefore(l,s),this.outletElement.appendChild(s),this._attachedPortal=a,super.setDisposeFn(()=>{l.parentNode&&l.parentNode.replaceChild(s,l)})},this._document=o}attachComponentPortal(t){let e=(t.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(t.component),i;return t.viewContainerRef?(i=t.viewContainerRef.createComponent(e,t.viewContainerRef.length,t.injector||t.viewContainerRef.injector,t.projectableNodes||void 0),this.setDisposeFn(()=>i.destroy())):(i=e.create(t.injector||this._defaultInjector||mi.NULL),this._appRef.attachView(i.hostView),this.setDisposeFn(()=>{this._appRef.viewCount>0&&this._appRef.detachView(i.hostView),i.destroy()})),this.outletElement.appendChild(this._getComponentRootNode(i)),this._attachedPortal=t,i}attachTemplatePortal(t){let r=t.viewContainerRef,e=r.createEmbeddedView(t.templateRef,t.context,{injector:t.injector});return e.rootNodes.forEach(i=>this.outletElement.appendChild(i)),e.detectChanges(),this.setDisposeFn(()=>{let i=r.indexOf(e);i!==-1&&r.remove(i)}),this._attachedPortal=t,e}dispose(){super.dispose(),this.outletElement.remove()}_getComponentRootNode(t){return t.hostView.rootNodes[0]}};var Xm=(()=>{let t=class t extends De{constructor(e,i){super(e,i)}};t.\u0275fac=function(i){return new(i||t)(d(bt),d(Et))},t.\u0275dir=y({type:t,selectors:[["","cdkPortal",""]],exportAs:["cdkPortal"],standalone:!0,features:[tt]});let n=t;return n})();var qn=(()=>{let t=class t extends Ka{constructor(e,i,o){super(),this._componentFactoryResolver=e,this._viewContainerRef=i,this._isInitialized=!1,this.attached=new z,this.attachDomPortal=a=>{this._document;let s=a.element;s.parentNode;let l=this._document.createComment("dom-portal");a.setAttachedHost(this),s.parentNode.insertBefore(l,s),this._getRootNode().appendChild(s),this._attachedPortal=a,super.setDisposeFn(()=>{l.parentNode&&l.parentNode.replaceChild(s,l)})},this._document=o}get portal(){return this._attachedPortal}set portal(e){this.hasAttached()&&!e&&!this._isInitialized||(this.hasAttached()&&super.detach(),e&&super.attach(e),this._attachedPortal=e||null)}get attachedRef(){return this._attachedRef}ngOnInit(){this._isInitialized=!0}ngOnDestroy(){super.dispose(),this._attachedRef=this._attachedPortal=null}attachComponentPortal(e){e.setAttachedHost(this);let i=e.viewContainerRef!=null?e.viewContainerRef:this._viewContainerRef,a=(e.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(e.component),s=i.createComponent(a,i.length,e.injector||i.injector,e.projectableNodes||void 0);return i!==this._viewContainerRef&&this._getRootNode().appendChild(s.hostView.rootNodes[0]),super.setDisposeFn(()=>s.destroy()),this._attachedPortal=e,this._attachedRef=s,this.attached.emit(s),s}attachTemplatePortal(e){e.setAttachedHost(this);let i=this._viewContainerRef.createEmbeddedView(e.templateRef,e.context,{injector:e.injector});return super.setDisposeFn(()=>this._viewContainerRef.clear()),this._attachedPortal=e,this._attachedRef=i,this.attached.emit(i),i}_getRootNode(){let e=this._viewContainerRef.element.nativeElement;return e.nodeType===e.ELEMENT_NODE?e:e.parentNode}};t.\u0275fac=function(i){return new(i||t)(d(un),d(Et),d(q))},t.\u0275dir=y({type:t,selectors:[["","cdkPortalOutlet",""]],inputs:{portal:[m.None,"cdkPortalOutlet","portal"]},outputs:{attached:"attached"},exportAs:["cdkPortalOutlet"],standalone:!0,features:[tt]});let n=t;return n})();var ts=(()=>{let t=class t{};t.\u0275fac=function(i){return new(i||t)},t.\u0275mod=W({type:t}),t.\u0275inj=$({});let n=t;return n})();var _c=["*"];function X0(n,t){n&1&&J(0)}var Z0=["tabListContainer"],K0=["tabList"],J0=["tabListInner"],ty=["nextPaginator"],ey=["previousPaginator"],iy=n=>({animationDuration:n}),ny=(n,t)=>({value:n,params:t});function oy(n,t){}var ry=["tabBodyWrapper"],ay=["tabHeader"];function sy(n,t){}function ly(n,t){if(n&1&&F(0,sy,0,0,"ng-template",12),n&2){let r=R().$implicit;E("cdkPortalOutlet",r.templateLabel)}}function cy(n,t){if(n&1&&D(0),n&2){let r=R().$implicit;Ct(r.textLabel)}}function dy(n,t){if(n&1){let r=ht();h(0,"div",7,2),H("click",function(){let i=Q(r),o=i.$implicit,a=i.$index,s=R(),l=Vt(1);return X(s._handleClick(o,l,a))})("cdkFocusChange",function(i){let o=Q(r).$index,a=R();return X(a._tabFocusChanged(i,o))}),P(2,"span",8)(3,"div",9),h(4,"span",10)(5,"span",11),F(6,ly,1,1,null,12)(7,cy,1,1),f()()()}if(n&2){let r=t.$implicit,e=t.$index,i=Vt(1),o=R();qt(r.labelClass),B("mdc-tab--active",o.selectedIndex===e),E("id",o._getTabLabelId(e))("disabled",r.disabled)("fitInkBarToContent",o.fitInkBarToContent),nt("tabIndex",o._getTabIndex(e))("aria-posinset",e+1)("aria-setsize",o._tabs.length)("aria-controls",o._getTabContentId(e))("aria-selected",o.selectedIndex===e)("aria-label",r.ariaLabel||null)("aria-labelledby",!r.ariaLabel&&r.ariaLabelledby?r.ariaLabelledby:null),g(3),E("matRippleTrigger",i)("matRippleDisabled",r.disabled||o.disableRipple),g(3),K(6,r.templateLabel?6:7)}}function uy(n,t){n&1&&J(0)}function hy(n,t){if(n&1){let r=ht();h(0,"mat-tab-body",13),H("_onCentered",function(){Q(r);let i=R();return X(i._removeTabBodyWrapperHeight())})("_onCentering",function(i){Q(r);let o=R();return X(o._setTabBodyWrapperHeight(i))}),f()}if(n&2){let r=t.$implicit,e=t.$index,i=R();qt(r.bodyClass),B("mat-mdc-tab-body-active",i.selectedIndex===e),E("id",i._getTabContentId(e))("content",r.content)("position",r.position)("origin",r.origin)("animationDuration",i.animationDuration)("preserveContent",i.preserveContent),nt("tabindex",i.contentTabIndex!=null&&i.selectedIndex===e?i.contentTabIndex:null)("aria-labelledby",i._getTabLabelId(e))("aria-hidden",i.selectedIndex!==e)}}var my=new C("MatTabContent"),fy=(()=>{let t=class t{constructor(e){this.template=e}};t.\u0275fac=function(i){return new(i||t)(d(bt))},t.\u0275dir=y({type:t,selectors:[["","matTabContent",""]],standalone:!0,features:[ot([{provide:my,useExisting:t}])]});let n=t;return n})(),py=new C("MatTabLabel"),Jm=new C("MAT_TAB"),gy=(()=>{let t=class t extends Xm{constructor(e,i,o){super(e,i),this._closestTab=o}};t.\u0275fac=function(i){return new(i||t)(d(bt),d(Et),d(Jm,8))},t.\u0275dir=y({type:t,selectors:[["","mat-tab-label",""],["","matTabLabel",""]],standalone:!0,features:[ot([{provide:py,useExisting:t}]),tt]});let n=t;return n})(),tf=new C("MAT_TAB_GROUP"),vc=(()=>{let t=class t{get templateLabel(){return this._templateLabel}set templateLabel(e){this._setTemplateLabelInput(e)}get content(){return this._contentPortal}constructor(e,i){this._viewContainerRef=e,this._closestTabGroup=i,this.disabled=!1,this._explicitContent=void 0,this.textLabel="",this._contentPortal=null,this._stateChanges=new N,this.position=null,this.origin=null,this.isActive=!1}ngOnChanges(e){(e.hasOwnProperty("textLabel")||e.hasOwnProperty("disabled"))&&this._stateChanges.next()}ngOnDestroy(){this._stateChanges.complete()}ngOnInit(){this._contentPortal=new De(this._explicitContent||this._implicitContent,this._viewContainerRef)}_setTemplateLabelInput(e){e&&e._closestTab===this&&(this._templateLabel=e)}};t.\u0275fac=function(i){return new(i||t)(d(Et),d(tf,8))},t.\u0275cmp=j({type:t,selectors:[["mat-tab"]],contentQueries:function(i,o,a){if(i&1&&(ct(a,gy,5),ct(a,fy,7,bt)),i&2){let s;S(s=k())&&(o.templateLabel=s.first),S(s=k())&&(o._explicitContent=s.first)}},viewQuery:function(i,o){if(i&1&&rt(bt,7),i&2){let a;S(a=k())&&(o._implicitContent=a.first)}},hostAttrs:["hidden",""],inputs:{disabled:[m.HasDecoratorInputTransform,"disabled","disabled",M],textLabel:[m.None,"label","textLabel"],ariaLabel:[m.None,"aria-label","ariaLabel"],ariaLabelledby:[m.None,"aria-labelledby","ariaLabelledby"],labelClass:"labelClass",bodyClass:"bodyClass"},exportAs:["matTab"],standalone:!0,features:[ot([{provide:Jm,useExisting:t}]),lt,ut,V],ngContentSelectors:_c,decls:1,vars:0,template:function(i,o){i&1&&(mt(),F(0,X0,1,0,"ng-template"))},encapsulation:2});let n=t;return n})(),pc="mdc-tab-indicator--active",Zm="mdc-tab-indicator--no-transition",gc=class{constructor(t){this._items=t}hide(){this._items.forEach(t=>t.deactivateInkBar())}alignToElement(t){let r=this._items.find(i=>i.elementRef.nativeElement===t),e=this._currentItem;if(r!==e&&(e?.deactivateInkBar(),r)){let i=e?.elementRef.nativeElement.getBoundingClientRect?.();r.activateInkBar(i),this._currentItem=r}}},by=(()=>{let t=class t{constructor(){this._elementRef=_(T),this._fitToContent=!1}get fitInkBarToContent(){return this._fitToContent}set fitInkBarToContent(e){this._fitToContent!==e&&(this._fitToContent=e,this._inkBarElement&&this._appendInkBarElement())}activateInkBar(e){let i=this._elementRef.nativeElement;if(!e||!i.getBoundingClientRect||!this._inkBarContentElement){i.classList.add(pc);return}let o=i.getBoundingClientRect(),a=e.width/o.width,s=e.left-o.left;i.classList.add(Zm),this._inkBarContentElement.style.setProperty("transform",`translateX(${s}px) scaleX(${a})`),i.getBoundingClientRect(),i.classList.remove(Zm),i.classList.add(pc),this._inkBarContentElement.style.setProperty("transform","")}deactivateInkBar(){this._elementRef.nativeElement.classList.remove(pc)}ngOnInit(){this._createInkBarElement()}ngOnDestroy(){this._inkBarElement?.remove(),this._inkBarElement=this._inkBarContentElement=null}_createInkBarElement(){let e=this._elementRef.nativeElement.ownerDocument||document,i=this._inkBarElement=e.createElement("span"),o=this._inkBarContentElement=e.createElement("span");i.className="mdc-tab-indicator",o.className="mdc-tab-indicator__content mdc-tab-indicator__content--underline",i.appendChild(this._inkBarContentElement),this._appendInkBarElement()}_appendInkBarElement(){this._inkBarElement;let e=this._fitToContent?this._elementRef.nativeElement.querySelector(".mdc-tab__content"):this._elementRef.nativeElement;e.appendChild(this._inkBarElement)}};t.\u0275fac=function(i){return new(i||t)},t.\u0275dir=y({type:t,inputs:{fitInkBarToContent:[m.HasDecoratorInputTransform,"fitInkBarToContent","fitInkBarToContent",M]},features:[lt]});let n=t;return n})();var ef=(()=>{let t=class t extends by{constructor(e){super(),this.elementRef=e,this.disabled=!1}focus(){this.elementRef.nativeElement.focus()}getOffsetLeft(){return this.elementRef.nativeElement.offsetLeft}getOffsetWidth(){return this.elementRef.nativeElement.offsetWidth}};t.\u0275fac=function(i){return new(i||t)(d(T))},t.\u0275dir=y({type:t,selectors:[["","matTabLabelWrapper",""]],hostVars:3,hostBindings:function(i,o){i&2&&(nt("aria-disabled",!!o.disabled),B("mat-mdc-tab-disabled",o.disabled))},inputs:{disabled:[m.HasDecoratorInputTransform,"disabled","disabled",M]},standalone:!0,features:[lt,tt]});let n=t;return n})(),Km=we({passive:!0}),_y=650,vy=100,yy=(()=>{let t=class t{get selectedIndex(){return this._selectedIndex}set selectedIndex(e){let i=isNaN(e)?0:e;this._selectedIndex!=i&&(this._selectedIndexChanged=!0,this._selectedIndex=i,this._keyManager&&this._keyManager.updateActiveItem(i))}constructor(e,i,o,a,s,l,c){this._elementRef=e,this._changeDetectorRef=i,this._viewportRuler=o,this._dir=a,this._ngZone=s,this._platform=l,this._animationMode=c,this._scrollDistance=0,this._selectedIndexChanged=!1,this._destroyed=new N,this._showPaginationControls=!1,this._disableScrollAfter=!0,this._disableScrollBefore=!0,this._stopScrolling=new N,this.disablePagination=!1,this._selectedIndex=0,this.selectFocusedIndex=new z,this.indexFocused=new z,s.runOutsideAngular(()=>{_e(e.nativeElement,"mouseleave").pipe(Z(this._destroyed)).subscribe(()=>{this._stopInterval()})})}ngAfterViewInit(){_e(this._previousPaginator.nativeElement,"touchstart",Km).pipe(Z(this._destroyed)).subscribe(()=>{this._handlePaginatorPress("before")}),_e(this._nextPaginator.nativeElement,"touchstart",Km).pipe(Z(this._destroyed)).subscribe(()=>{this._handlePaginatorPress("after")})}ngAfterContentInit(){let e=this._dir?this._dir.change:A("ltr"),i=this._viewportRuler.change(150),o=()=>{this.updatePagination(),this._alignInkBarToSelectedTab()};this._keyManager=new Sn(this._items).withHorizontalOrientation(this._getLayoutDirection()).withHomeAndEnd().withWrap().skipPredicate(()=>!1),this._keyManager.updateActiveItem(this._selectedIndex),this._ngZone.onStable.pipe(wt(1)).subscribe(o),Wt(e,i,this._items.changes,this._itemsResized()).pipe(Z(this._destroyed)).subscribe(()=>{this._ngZone.run(()=>{Promise.resolve().then(()=>{this._scrollDistance=Math.max(0,Math.min(this._getMaxScrollDistance(),this._scrollDistance)),o()})}),this._keyManager.withHorizontalOrientation(this._getLayoutDirection())}),this._keyManager.change.subscribe(a=>{this.indexFocused.emit(a),this._setTabFocus(a)})}_itemsResized(){return typeof ResizeObserver!="function"?be:this._items.changes.pipe(Tt(this._items),Dt(e=>new Zt(i=>this._ngZone.runOutsideAngular(()=>{let o=new ResizeObserver(a=>i.next(a));return e.forEach(a=>o.observe(a.elementRef.nativeElement)),()=>{o.disconnect()}}))),an(1),_t(e=>e.some(i=>i.contentRect.width>0&&i.contentRect.height>0)))}ngAfterContentChecked(){this._tabLabelCount!=this._items.length&&(this.updatePagination(),this._tabLabelCount=this._items.length,this._changeDetectorRef.markForCheck()),this._selectedIndexChanged&&(this._scrollToLabel(this._selectedIndex),this._checkScrollingControls(),this._alignInkBarToSelectedTab(),this._selectedIndexChanged=!1,this._changeDetectorRef.markForCheck()),this._scrollDistanceChanged&&(this._updateTabScrollPosition(),this._scrollDistanceChanged=!1,this._changeDetectorRef.markForCheck())}ngOnDestroy(){this._keyManager?.destroy(),this._destroyed.next(),this._destroyed.complete(),this._stopScrolling.complete()}_handleKeydown(e){if(!Lt(e))switch(e.keyCode){case 13:case 32:if(this.focusIndex!==this.selectedIndex){let i=this._items.get(this.focusIndex);i&&!i.disabled&&(this.selectFocusedIndex.emit(this.focusIndex),this._itemSelected(e))}break;default:this._keyManager.onKeydown(e)}}_onContentChanges(){let e=this._elementRef.nativeElement.textContent;e!==this._currentTextContent&&(this._currentTextContent=e||"",this._ngZone.run(()=>{this.updatePagination(),this._alignInkBarToSelectedTab(),this._changeDetectorRef.markForCheck()}))}updatePagination(){this._checkPaginationEnabled(),this._checkScrollingControls(),this._updateTabScrollPosition()}get focusIndex(){return this._keyManager?this._keyManager.activeItemIndex:0}set focusIndex(e){!this._isValidIndex(e)||this.focusIndex===e||!this._keyManager||this._keyManager.setActiveItem(e)}_isValidIndex(e){return this._items?!!this._items.toArray()[e]:!0}_setTabFocus(e){if(this._showPaginationControls&&this._scrollToLabel(e),this._items&&this._items.length){this._items.toArray()[e].focus();let i=this._tabListContainer.nativeElement;this._getLayoutDirection()=="ltr"?i.scrollLeft=0:i.scrollLeft=i.scrollWidth-i.offsetWidth}}_getLayoutDirection(){return this._dir&&this._dir.value==="rtl"?"rtl":"ltr"}_updateTabScrollPosition(){if(this.disablePagination)return;let e=this.scrollDistance,i=this._getLayoutDirection()==="ltr"?-e:e;this._tabList.nativeElement.style.transform=`translateX(${Math.round(i)}px)`,(this._platform.TRIDENT||this._platform.EDGE)&&(this._tabListContainer.nativeElement.scrollLeft=0)}get scrollDistance(){return this._scrollDistance}set scrollDistance(e){this._scrollTo(e)}_scrollHeader(e){let i=this._tabListContainer.nativeElement.offsetWidth,o=(e=="before"?-1:1)*i/3;return this._scrollTo(this._scrollDistance+o)}_handlePaginatorClick(e){this._stopInterval(),this._scrollHeader(e)}_scrollToLabel(e){if(this.disablePagination)return;let i=this._items?this._items.toArray()[e]:null;if(!i)return;let o=this._tabListContainer.nativeElement.offsetWidth,{offsetLeft:a,offsetWidth:s}=i.elementRef.nativeElement,l,c;this._getLayoutDirection()=="ltr"?(l=a,c=l+s):(c=this._tabListInner.nativeElement.offsetWidth-a,l=c-s);let u=this.scrollDistance,p=this.scrollDistance+o;lp&&(this.scrollDistance+=Math.min(c-p,l-u))}_checkPaginationEnabled(){if(this.disablePagination)this._showPaginationControls=!1;else{let e=this._tabListInner.nativeElement.scrollWidth>this._elementRef.nativeElement.offsetWidth;e||(this.scrollDistance=0),e!==this._showPaginationControls&&this._changeDetectorRef.markForCheck(),this._showPaginationControls=e}}_checkScrollingControls(){this.disablePagination?this._disableScrollAfter=this._disableScrollBefore=!0:(this._disableScrollBefore=this.scrollDistance==0,this._disableScrollAfter=this.scrollDistance==this._getMaxScrollDistance(),this._changeDetectorRef.markForCheck())}_getMaxScrollDistance(){let e=this._tabListInner.nativeElement.scrollWidth,i=this._tabListContainer.nativeElement.offsetWidth;return e-i||0}_alignInkBarToSelectedTab(){let e=this._items&&this._items.length?this._items.toArray()[this.selectedIndex]:null,i=e?e.elementRef.nativeElement:null;i?this._inkBar.alignToElement(i):this._inkBar.hide()}_stopInterval(){this._stopScrolling.next()}_handlePaginatorPress(e,i){i&&i.button!=null&&i.button!==0||(this._stopInterval(),Qc(_y,vy).pipe(Z(Wt(this._stopScrolling,this._destroyed))).subscribe(()=>{let{maxScrollDistance:o,distance:a}=this._scrollHeader(e);(a===0||a>=o)&&this._stopInterval()}))}_scrollTo(e){if(this.disablePagination)return{maxScrollDistance:0,distance:0};let i=this._getMaxScrollDistance();return this._scrollDistance=Math.max(0,Math.min(i,e)),this._scrollDistanceChanged=!0,this._checkScrollingControls(),{maxScrollDistance:i,distance:this._scrollDistance}}};t.\u0275fac=function(i){return new(i||t)(d(T),d(ft),d(ge),d(kt,8),d(O),d(at),d(Rt,8))},t.\u0275dir=y({type:t,inputs:{disablePagination:[m.HasDecoratorInputTransform,"disablePagination","disablePagination",M],selectedIndex:[m.HasDecoratorInputTransform,"selectedIndex","selectedIndex",ye]},outputs:{selectFocusedIndex:"selectFocusedIndex",indexFocused:"indexFocused"},features:[lt]});let n=t;return n})(),xy=(()=>{let t=class t extends yy{constructor(e,i,o,a,s,l,c){super(e,i,o,a,s,l,c),this.disableRipple=!1}ngAfterContentInit(){this._inkBar=new gc(this._items),super.ngAfterContentInit()}_itemSelected(e){e.preventDefault()}};t.\u0275fac=function(i){return new(i||t)(d(T),d(ft),d(ge),d(kt,8),d(O),d(at),d(Rt,8))},t.\u0275cmp=j({type:t,selectors:[["mat-tab-header"]],contentQueries:function(i,o,a){if(i&1&&ct(a,ef,4),i&2){let s;S(s=k())&&(o._items=s)}},viewQuery:function(i,o){if(i&1&&(rt(Z0,7),rt(K0,7),rt(J0,7),rt(ty,5),rt(ey,5)),i&2){let a;S(a=k())&&(o._tabListContainer=a.first),S(a=k())&&(o._tabList=a.first),S(a=k())&&(o._tabListInner=a.first),S(a=k())&&(o._nextPaginator=a.first),S(a=k())&&(o._previousPaginator=a.first)}},hostAttrs:[1,"mat-mdc-tab-header"],hostVars:4,hostBindings:function(i,o){i&2&&B("mat-mdc-tab-header-pagination-controls-enabled",o._showPaginationControls)("mat-mdc-tab-header-rtl",o._getLayoutDirection()=="rtl")},inputs:{disableRipple:[m.HasDecoratorInputTransform,"disableRipple","disableRipple",M]},standalone:!0,features:[lt,tt,V],ngContentSelectors:_c,decls:13,vars:10,consts:[["previousPaginator",""],["tabListContainer",""],["tabList",""],["tabListInner",""],["nextPaginator",""],["aria-hidden","true","type","button","mat-ripple","","tabindex","-1",1,"mat-mdc-tab-header-pagination","mat-mdc-tab-header-pagination-before",3,"click","mousedown","touchend","matRippleDisabled","disabled"],[1,"mat-mdc-tab-header-pagination-chevron"],[1,"mat-mdc-tab-label-container",3,"keydown"],["role","tablist",1,"mat-mdc-tab-list",3,"cdkObserveContent"],[1,"mat-mdc-tab-labels"],["aria-hidden","true","type","button","mat-ripple","","tabindex","-1",1,"mat-mdc-tab-header-pagination","mat-mdc-tab-header-pagination-after",3,"mousedown","click","touchend","matRippleDisabled","disabled"]],template:function(i,o){if(i&1){let a=ht();mt(),h(0,"button",5,0),H("click",function(){return Q(a),X(o._handlePaginatorClick("before"))})("mousedown",function(l){return Q(a),X(o._handlePaginatorPress("before",l))})("touchend",function(){return Q(a),X(o._stopInterval())}),P(2,"div",6),f(),h(3,"div",7,1),H("keydown",function(l){return Q(a),X(o._handleKeydown(l))}),h(5,"div",8,2),H("cdkObserveContent",function(){return Q(a),X(o._onContentChanges())}),h(7,"div",9,3),J(9),f()()(),h(10,"button",10,4),H("mousedown",function(l){return Q(a),X(o._handlePaginatorPress("after",l))})("click",function(){return Q(a),X(o._handlePaginatorClick("after"))})("touchend",function(){return Q(a),X(o._stopInterval())}),P(12,"div",6),f()}i&2&&(B("mat-mdc-tab-header-pagination-disabled",o._disableScrollBefore),E("matRippleDisabled",o._disableScrollBefore||o.disableRipple)("disabled",o._disableScrollBefore||null),g(3),B("_mat-animation-noopable",o._animationMode==="NoopAnimations"),g(7),B("mat-mdc-tab-header-pagination-disabled",o._disableScrollAfter),E("matRippleDisabled",o._disableScrollAfter||o.disableRipple)("disabled",o._disableScrollAfter||null))},dependencies:[ei,bh],styles:[".mat-mdc-tab-header{display:flex;overflow:hidden;position:relative;flex-shrink:0}.mdc-tab-indicator .mdc-tab-indicator__content{transition-duration:var(--mat-tab-animation-duration, 250ms)}.mat-mdc-tab-header-pagination{-webkit-user-select:none;user-select:none;position:relative;display:none;justify-content:center;align-items:center;min-width:32px;cursor:pointer;z-index:2;-webkit-tap-highlight-color:rgba(0,0,0,0);touch-action:none;box-sizing:content-box;background:none;border:none;outline:0;padding:0}.mat-mdc-tab-header-pagination::-moz-focus-inner{border:0}.mat-mdc-tab-header-pagination .mat-ripple-element{opacity:.12;background-color:var(--mat-tab-header-inactive-ripple-color)}.mat-mdc-tab-header-pagination-controls-enabled .mat-mdc-tab-header-pagination{display:flex}.mat-mdc-tab-header-pagination-before,.mat-mdc-tab-header-rtl .mat-mdc-tab-header-pagination-after{padding-left:4px}.mat-mdc-tab-header-pagination-before .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-header-rtl .mat-mdc-tab-header-pagination-after .mat-mdc-tab-header-pagination-chevron{transform:rotate(-135deg)}.mat-mdc-tab-header-rtl .mat-mdc-tab-header-pagination-before,.mat-mdc-tab-header-pagination-after{padding-right:4px}.mat-mdc-tab-header-rtl .mat-mdc-tab-header-pagination-before .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-header-pagination-after .mat-mdc-tab-header-pagination-chevron{transform:rotate(45deg)}.mat-mdc-tab-header-pagination-chevron{border-style:solid;border-width:2px 2px 0 0;height:8px;width:8px;border-color:var(--mat-tab-header-pagination-icon-color)}.mat-mdc-tab-header-pagination-disabled{box-shadow:none;cursor:default;pointer-events:none}.mat-mdc-tab-header-pagination-disabled .mat-mdc-tab-header-pagination-chevron{opacity:.4}.mat-mdc-tab-list{flex-grow:1;position:relative;transition:transform 500ms cubic-bezier(0.35, 0, 0.25, 1)}._mat-animation-noopable .mat-mdc-tab-list{transition:none}._mat-animation-noopable span.mdc-tab-indicator__content,._mat-animation-noopable span.mdc-tab__text-label{transition:none}.mat-mdc-tab-label-container{display:flex;flex-grow:1;overflow:hidden;z-index:1;border-bottom-style:solid;border-bottom-width:var(--mat-tab-header-divider-height);border-bottom-color:var(--mat-tab-header-divider-color)}.mat-mdc-tab-group-inverted-header .mat-mdc-tab-label-container{border-bottom:none;border-top-style:solid;border-top-width:var(--mat-tab-header-divider-height);border-top-color:var(--mat-tab-header-divider-color)}.mat-mdc-tab-labels{display:flex;flex:1 0 auto}[mat-align-tabs=center]>.mat-mdc-tab-header .mat-mdc-tab-labels{justify-content:center}[mat-align-tabs=end]>.mat-mdc-tab-header .mat-mdc-tab-labels{justify-content:flex-end}.mat-mdc-tab::before{margin:5px}.cdk-high-contrast-active .mat-mdc-tab[aria-disabled=true]{color:GrayText}"],encapsulation:2});let n=t;return n})(),wy=new C("MAT_TABS_CONFIG"),Cy={translateTab:ne("translateTab",[Pt("center, void, left-origin-center, right-origin-center",yt({transform:"none"})),Pt("left",yt({transform:"translate3d(-100%, 0, 0)",minHeight:"1px",visibility:"hidden"})),Pt("right",yt({transform:"translate3d(100%, 0, 0)",minHeight:"1px",visibility:"hidden"})),Bt("* => left, * => right, left => center, right => center",zt("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")),Bt("void => left-origin-center",[yt({transform:"translate3d(-100%, 0, 0)",visibility:"hidden"}),zt("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")]),Bt("void => right-origin-center",[yt({transform:"translate3d(100%, 0, 0)",visibility:"hidden"}),zt("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")])])},Iy=(()=>{let t=class t extends qn{constructor(e,i,o,a){super(e,i,a),this._host=o,this._centeringSub=xt.EMPTY,this._leavingSub=xt.EMPTY}ngOnInit(){super.ngOnInit(),this._centeringSub=this._host._beforeCentering.pipe(Tt(this._host._isCenterPosition(this._host._position))).subscribe(e=>{e&&!this.hasAttached()&&this.attach(this._host._content)}),this._leavingSub=this._host._afterLeavingCenter.subscribe(()=>{this._host.preserveContent||this.detach()})}ngOnDestroy(){super.ngOnDestroy(),this._centeringSub.unsubscribe(),this._leavingSub.unsubscribe()}};t.\u0275fac=function(i){return new(i||t)(d(un),d(Et),d(jt(()=>nf)),d(q))},t.\u0275dir=y({type:t,selectors:[["","matTabBodyHost",""]],standalone:!0,features:[tt]});let n=t;return n})(),nf=(()=>{let t=class t{set position(e){this._positionIndex=e,this._computePositionAnimationState()}constructor(e,i,o){this._elementRef=e,this._dir=i,this._dirChangeSubscription=xt.EMPTY,this._translateTabComplete=new N,this._onCentering=new z,this._beforeCentering=new z,this._afterLeavingCenter=new z,this._onCentered=new z(!0),this.animationDuration="500ms",this.preserveContent=!1,i&&(this._dirChangeSubscription=i.change.subscribe(a=>{this._computePositionAnimationState(a),o.markForCheck()})),this._translateTabComplete.pipe(Xe((a,s)=>a.fromState===s.fromState&&a.toState===s.toState)).subscribe(a=>{this._isCenterPosition(a.toState)&&this._isCenterPosition(this._position)&&this._onCentered.emit(),this._isCenterPosition(a.fromState)&&!this._isCenterPosition(this._position)&&this._afterLeavingCenter.emit()})}ngOnInit(){this._position=="center"&&this.origin!=null&&(this._position=this._computePositionFromOrigin(this.origin))}ngOnDestroy(){this._dirChangeSubscription.unsubscribe(),this._translateTabComplete.complete()}_onTranslateTabStarted(e){let i=this._isCenterPosition(e.toState);this._beforeCentering.emit(i),i&&this._onCentering.emit(this._elementRef.nativeElement.clientHeight)}_getLayoutDirection(){return this._dir&&this._dir.value==="rtl"?"rtl":"ltr"}_isCenterPosition(e){return e=="center"||e=="left-origin-center"||e=="right-origin-center"}_computePositionAnimationState(e=this._getLayoutDirection()){this._positionIndex<0?this._position=e=="ltr"?"left":"right":this._positionIndex>0?this._position=e=="ltr"?"right":"left":this._position="center"}_computePositionFromOrigin(e){let i=this._getLayoutDirection();return i=="ltr"&&e<=0||i=="rtl"&&e>0?"left-origin-center":"right-origin-center"}};t.\u0275fac=function(i){return new(i||t)(d(T),d(kt,8),d(ft))},t.\u0275cmp=j({type:t,selectors:[["mat-tab-body"]],viewQuery:function(i,o){if(i&1&&rt(qn,5),i&2){let a;S(a=k())&&(o._portalHost=a.first)}},hostAttrs:[1,"mat-mdc-tab-body"],inputs:{_content:[m.None,"content","_content"],origin:"origin",animationDuration:"animationDuration",preserveContent:"preserveContent",position:"position"},outputs:{_onCentering:"_onCentering",_beforeCentering:"_beforeCentering",_afterLeavingCenter:"_afterLeavingCenter",_onCentered:"_onCentered"},standalone:!0,features:[V],decls:3,vars:6,consts:[["content",""],["cdkScrollable","",1,"mat-mdc-tab-body-content"],["matTabBodyHost",""]],template:function(i,o){if(i&1){let a=ht();h(0,"div",1,0),H("@translateTab.start",function(l){return Q(a),X(o._onTranslateTabStarted(l))})("@translateTab.done",function(l){return Q(a),X(o._translateTabComplete.next(l))}),F(2,oy,0,0,"ng-template",2),f()}i&2&&E("@translateTab",Ke(3,ny,o._position,Ne(1,iy,o.animationDuration)))},dependencies:[Iy,ic],styles:['.mat-mdc-tab-body{top:0;left:0;right:0;bottom:0;position:absolute;display:block;overflow:hidden;outline:0;flex-basis:100%}.mat-mdc-tab-body.mat-mdc-tab-body-active{position:relative;overflow-x:hidden;overflow-y:auto;z-index:1;flex-grow:1}.mat-mdc-tab-group.mat-mdc-tab-group-dynamic-height .mat-mdc-tab-body.mat-mdc-tab-body-active{overflow-y:hidden}.mat-mdc-tab-body-content{height:100%;overflow:auto}.mat-mdc-tab-group-dynamic-height .mat-mdc-tab-body-content{overflow:hidden}.mat-mdc-tab-body-content[style*="visibility: hidden"]{display:none}'],encapsulation:2,data:{animation:[Cy.translateTab]}});let n=t;return n})(),Dy=0,Ey=!0,of=(()=>{let t=class t{get fitInkBarToContent(){return this._fitInkBarToContent}set fitInkBarToContent(e){this._fitInkBarToContent=e,this._changeDetectorRef.markForCheck()}get selectedIndex(){return this._selectedIndex}set selectedIndex(e){this._indexToSelect=isNaN(e)?null:e}get animationDuration(){return this._animationDuration}set animationDuration(e){let i=e+"";this._animationDuration=/^\d+$/.test(i)?e+"ms":i}get contentTabIndex(){return this._contentTabIndex}set contentTabIndex(e){this._contentTabIndex=isNaN(e)?null:e}get backgroundColor(){return this._backgroundColor}set backgroundColor(e){if(!Ey)throw new Error("mat-tab-group background color must be set through the Sass theming API");let i=this._elementRef.nativeElement.classList;i.remove("mat-tabs-with-background",`mat-background-${this.backgroundColor}`),e&&i.add("mat-tabs-with-background",`mat-background-${e}`),this._backgroundColor=e}constructor(e,i,o,a){this._elementRef=e,this._changeDetectorRef=i,this._animationMode=a,this._tabs=new Ae,this._indexToSelect=0,this._lastFocusedTabIndex=null,this._tabBodyWrapperHeight=0,this._tabsSubscription=xt.EMPTY,this._tabLabelSubscription=xt.EMPTY,this._fitInkBarToContent=!1,this.stretchTabs=!0,this.dynamicHeight=!1,this._selectedIndex=null,this.headerPosition="above",this.disablePagination=!1,this.disableRipple=!1,this.preserveContent=!1,this.selectedIndexChange=new z,this.focusChange=new z,this.animationDone=new z,this.selectedTabChange=new z(!0),this._isServer=!_(at).isBrowser,this._groupId=Dy++,this.animationDuration=o&&o.animationDuration?o.animationDuration:"500ms",this.disablePagination=o&&o.disablePagination!=null?o.disablePagination:!1,this.dynamicHeight=o&&o.dynamicHeight!=null?o.dynamicHeight:!1,o?.contentTabIndex!=null&&(this.contentTabIndex=o.contentTabIndex),this.preserveContent=!!o?.preserveContent,this.fitInkBarToContent=o&&o.fitInkBarToContent!=null?o.fitInkBarToContent:!1,this.stretchTabs=o&&o.stretchTabs!=null?o.stretchTabs:!0}ngAfterContentChecked(){let e=this._indexToSelect=this._clampTabIndex(this._indexToSelect);if(this._selectedIndex!=e){let i=this._selectedIndex==null;if(!i){this.selectedTabChange.emit(this._createChangeEvent(e));let o=this._tabBodyWrapper.nativeElement;o.style.minHeight=o.clientHeight+"px"}Promise.resolve().then(()=>{this._tabs.forEach((o,a)=>o.isActive=a===e),i||(this.selectedIndexChange.emit(e),this._tabBodyWrapper.nativeElement.style.minHeight="")})}this._tabs.forEach((i,o)=>{i.position=o-e,this._selectedIndex!=null&&i.position==0&&!i.origin&&(i.origin=e-this._selectedIndex)}),this._selectedIndex!==e&&(this._selectedIndex=e,this._lastFocusedTabIndex=null,this._changeDetectorRef.markForCheck())}ngAfterContentInit(){this._subscribeToAllTabChanges(),this._subscribeToTabLabels(),this._tabsSubscription=this._tabs.changes.subscribe(()=>{let e=this._clampTabIndex(this._indexToSelect);if(e===this._selectedIndex){let i=this._tabs.toArray(),o;for(let a=0;a{i[e].isActive=!0,this.selectedTabChange.emit(this._createChangeEvent(e))})}this._changeDetectorRef.markForCheck()})}_subscribeToAllTabChanges(){this._allTabs.changes.pipe(Tt(this._allTabs)).subscribe(e=>{this._tabs.reset(e.filter(i=>i._closestTabGroup===this||!i._closestTabGroup)),this._tabs.notifyOnChanges()})}ngOnDestroy(){this._tabs.destroy(),this._tabsSubscription.unsubscribe(),this._tabLabelSubscription.unsubscribe()}realignInkBar(){this._tabHeader&&this._tabHeader._alignInkBarToSelectedTab()}updatePagination(){this._tabHeader&&this._tabHeader.updatePagination()}focusTab(e){let i=this._tabHeader;i&&(i.focusIndex=e)}_focusChanged(e){this._lastFocusedTabIndex=e,this.focusChange.emit(this._createChangeEvent(e))}_createChangeEvent(e){let i=new bc;return i.index=e,this._tabs&&this._tabs.length&&(i.tab=this._tabs.toArray()[e]),i}_subscribeToTabLabels(){this._tabLabelSubscription&&this._tabLabelSubscription.unsubscribe(),this._tabLabelSubscription=Wt(...this._tabs.map(e=>e._stateChanges)).subscribe(()=>this._changeDetectorRef.markForCheck())}_clampTabIndex(e){return Math.min(this._tabs.length-1,Math.max(e||0,0))}_getTabLabelId(e){return`mat-tab-label-${this._groupId}-${e}`}_getTabContentId(e){return`mat-tab-content-${this._groupId}-${e}`}_setTabBodyWrapperHeight(e){if(!this.dynamicHeight||!this._tabBodyWrapperHeight)return;let i=this._tabBodyWrapper.nativeElement;i.style.height=this._tabBodyWrapperHeight+"px",this._tabBodyWrapper.nativeElement.offsetHeight&&(i.style.height=e+"px")}_removeTabBodyWrapperHeight(){let e=this._tabBodyWrapper.nativeElement;this._tabBodyWrapperHeight=e.clientHeight,e.style.height="",this.animationDone.emit()}_handleClick(e,i,o){i.focusIndex=o,e.disabled||(this.selectedIndex=o)}_getTabIndex(e){let i=this._lastFocusedTabIndex??this.selectedIndex;return e===i?0:-1}_tabFocusChanged(e,i){e&&e!=="mouse"&&e!=="touch"&&(this._tabHeader.focusIndex=i)}};t.\u0275fac=function(i){return new(i||t)(d(T),d(ft),d(wy,8),d(Rt,8))},t.\u0275cmp=j({type:t,selectors:[["mat-tab-group"]],contentQueries:function(i,o,a){if(i&1&&ct(a,vc,5),i&2){let s;S(s=k())&&(o._allTabs=s)}},viewQuery:function(i,o){if(i&1&&(rt(ry,5),rt(ay,5)),i&2){let a;S(a=k())&&(o._tabBodyWrapper=a.first),S(a=k())&&(o._tabHeader=a.first)}},hostAttrs:[1,"mat-mdc-tab-group"],hostVars:10,hostBindings:function(i,o){i&2&&(qt("mat-"+(o.color||"primary")),zi("--mat-tab-animation-duration",o.animationDuration),B("mat-mdc-tab-group-dynamic-height",o.dynamicHeight)("mat-mdc-tab-group-inverted-header",o.headerPosition==="below")("mat-mdc-tab-group-stretch-tabs",o.stretchTabs))},inputs:{color:"color",fitInkBarToContent:[m.HasDecoratorInputTransform,"fitInkBarToContent","fitInkBarToContent",M],stretchTabs:[m.HasDecoratorInputTransform,"mat-stretch-tabs","stretchTabs",M],dynamicHeight:[m.HasDecoratorInputTransform,"dynamicHeight","dynamicHeight",M],selectedIndex:[m.HasDecoratorInputTransform,"selectedIndex","selectedIndex",ye],headerPosition:"headerPosition",animationDuration:"animationDuration",contentTabIndex:[m.HasDecoratorInputTransform,"contentTabIndex","contentTabIndex",ye],disablePagination:[m.HasDecoratorInputTransform,"disablePagination","disablePagination",M],disableRipple:[m.HasDecoratorInputTransform,"disableRipple","disableRipple",M],preserveContent:[m.HasDecoratorInputTransform,"preserveContent","preserveContent",M],backgroundColor:"backgroundColor"},outputs:{selectedIndexChange:"selectedIndexChange",focusChange:"focusChange",animationDone:"animationDone",selectedTabChange:"selectedTabChange"},exportAs:["matTabGroup"],standalone:!0,features:[ot([{provide:tf,useExisting:t}]),lt,V],ngContentSelectors:_c,decls:9,vars:6,consts:[["tabHeader",""],["tabBodyWrapper",""],["tabNode",""],[3,"indexFocused","selectFocusedIndex","selectedIndex","disableRipple","disablePagination"],["role","tab","matTabLabelWrapper","","cdkMonitorElementFocus","",1,"mdc-tab","mat-mdc-tab","mat-mdc-focus-indicator",3,"id","mdc-tab--active","class","disabled","fitInkBarToContent"],[1,"mat-mdc-tab-body-wrapper"],["role","tabpanel",3,"id","mat-mdc-tab-body-active","class","content","position","origin","animationDuration","preserveContent"],["role","tab","matTabLabelWrapper","","cdkMonitorElementFocus","",1,"mdc-tab","mat-mdc-tab","mat-mdc-focus-indicator",3,"click","cdkFocusChange","id","disabled","fitInkBarToContent"],[1,"mdc-tab__ripple"],["mat-ripple","",1,"mat-mdc-tab-ripple",3,"matRippleTrigger","matRippleDisabled"],[1,"mdc-tab__content"],[1,"mdc-tab__text-label"],[3,"cdkPortalOutlet"],["role","tabpanel",3,"_onCentered","_onCentering","id","content","position","origin","animationDuration","preserveContent"]],template:function(i,o){if(i&1){let a=ht();mt(),h(0,"mat-tab-header",3,0),H("indexFocused",function(l){return Q(a),X(o._focusChanged(l))})("selectFocusedIndex",function(l){return Q(a),X(o.selectedIndex=l)}),Kt(2,dy,8,17,"div",4,de),f(),F(4,uy,1,0),h(5,"div",5,1),Kt(7,hy,1,13,"mat-tab-body",6,de),f()}i&2&&(E("selectedIndex",o.selectedIndex||0)("disableRipple",o.disableRipple)("disablePagination",o.disablePagination),g(2),Jt(o._tabs),g(2),K(4,o._isServer?4:-1),g(),B("_mat-animation-noopable",o._animationMode==="NoopAnimations"),g(2),Jt(o._tabs))},dependencies:[xy,ef,Th,ei,qn,nf],styles:['.mdc-tab{min-width:90px;padding-right:24px;padding-left:24px;display:flex;flex:1 0 auto;justify-content:center;box-sizing:border-box;margin:0;padding-top:0;padding-bottom:0;border:none;outline:none;text-align:center;white-space:nowrap;cursor:pointer;-webkit-appearance:none;z-index:1}.mdc-tab::-moz-focus-inner{padding:0;border:0}.mdc-tab[hidden]{display:none}.mdc-tab--min-width{flex:0 1 auto}.mdc-tab__content{display:flex;align-items:center;justify-content:center;height:inherit;pointer-events:none}.mdc-tab__text-label{transition:150ms color linear;display:inline-block;line-height:1;z-index:2}.mdc-tab__icon{transition:150ms color linear;z-index:2}.mdc-tab--stacked .mdc-tab__content{flex-direction:column;align-items:center;justify-content:center}.mdc-tab--stacked .mdc-tab__text-label{padding-top:6px;padding-bottom:4px}.mdc-tab--active .mdc-tab__text-label,.mdc-tab--active .mdc-tab__icon{transition-delay:100ms}.mdc-tab:not(.mdc-tab--stacked) .mdc-tab__icon+.mdc-tab__text-label{padding-left:8px;padding-right:0}[dir=rtl] .mdc-tab:not(.mdc-tab--stacked) .mdc-tab__icon+.mdc-tab__text-label,.mdc-tab:not(.mdc-tab--stacked) .mdc-tab__icon+.mdc-tab__text-label[dir=rtl]{padding-left:0;padding-right:8px}.mdc-tab-indicator{display:flex;position:absolute;top:0;left:0;justify-content:center;width:100%;height:100%;pointer-events:none;z-index:1}.mdc-tab-indicator__content{transform-origin:left;opacity:0}.mdc-tab-indicator__content--underline{align-self:flex-end;box-sizing:border-box;width:100%;border-top-style:solid}.mdc-tab-indicator__content--icon{align-self:center;margin:0 auto}.mdc-tab-indicator--active .mdc-tab-indicator__content{opacity:1}.mdc-tab-indicator .mdc-tab-indicator__content{transition:250ms transform cubic-bezier(0.4, 0, 0.2, 1)}.mdc-tab-indicator--no-transition .mdc-tab-indicator__content{transition:none}.mdc-tab-indicator--fade .mdc-tab-indicator__content{transition:150ms opacity linear}.mdc-tab-indicator--active.mdc-tab-indicator--fade .mdc-tab-indicator__content{transition-delay:100ms}.mat-mdc-tab-ripple{position:absolute;top:0;left:0;bottom:0;right:0;pointer-events:none}.mat-mdc-tab{-webkit-tap-highlight-color:rgba(0,0,0,0);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-decoration:none;background:none;font-family:var(--mat-tab-header-label-text-font);font-size:var(--mat-tab-header-label-text-size);letter-spacing:var(--mat-tab-header-label-text-tracking);line-height:var(--mat-tab-header-label-text-line-height);font-weight:var(--mat-tab-header-label-text-weight)}.mat-mdc-tab .mdc-tab-indicator__content--underline{border-color:var(--mdc-tab-indicator-active-indicator-color)}.mat-mdc-tab .mdc-tab-indicator__content--underline{border-top-width:var(--mdc-tab-indicator-active-indicator-height)}.mat-mdc-tab .mdc-tab-indicator__content--underline{border-radius:var(--mdc-tab-indicator-active-indicator-shape)}.mat-mdc-tab:not(.mdc-tab--stacked){height:var(--mdc-secondary-navigation-tab-container-height)}.mat-mdc-tab:not(:disabled).mdc-tab--active .mdc-tab__icon{fill:currentColor}.mat-mdc-tab:not(:disabled):hover.mdc-tab--active .mdc-tab__icon{fill:currentColor}.mat-mdc-tab:not(:disabled):focus.mdc-tab--active .mdc-tab__icon{fill:currentColor}.mat-mdc-tab:not(:disabled):active.mdc-tab--active .mdc-tab__icon{fill:currentColor}.mat-mdc-tab:disabled.mdc-tab--active .mdc-tab__icon{fill:currentColor}.mat-mdc-tab:not(:disabled):not(.mdc-tab--active) .mdc-tab__icon{fill:currentColor}.mat-mdc-tab:not(:disabled):hover:not(.mdc-tab--active) .mdc-tab__icon{fill:currentColor}.mat-mdc-tab:not(:disabled):focus:not(.mdc-tab--active) .mdc-tab__icon{fill:currentColor}.mat-mdc-tab:not(:disabled):active:not(.mdc-tab--active) .mdc-tab__icon{fill:currentColor}.mat-mdc-tab:disabled:not(.mdc-tab--active) .mdc-tab__icon{fill:currentColor}.mat-mdc-tab.mdc-tab{flex-grow:0}.mat-mdc-tab:hover .mdc-tab__text-label{color:var(--mat-tab-header-inactive-hover-label-text-color)}.mat-mdc-tab:focus .mdc-tab__text-label{color:var(--mat-tab-header-inactive-focus-label-text-color)}.mat-mdc-tab.mdc-tab--active .mdc-tab__text-label{color:var(--mat-tab-header-active-label-text-color)}.mat-mdc-tab.mdc-tab--active .mdc-tab__ripple::before,.mat-mdc-tab.mdc-tab--active .mat-ripple-element{background-color:var(--mat-tab-header-active-ripple-color)}.mat-mdc-tab.mdc-tab--active:hover .mdc-tab__text-label{color:var(--mat-tab-header-active-hover-label-text-color)}.mat-mdc-tab.mdc-tab--active:hover .mdc-tab-indicator__content--underline{border-color:var(--mat-tab-header-active-hover-indicator-color)}.mat-mdc-tab.mdc-tab--active:focus .mdc-tab__text-label{color:var(--mat-tab-header-active-focus-label-text-color)}.mat-mdc-tab.mdc-tab--active:focus .mdc-tab-indicator__content--underline{border-color:var(--mat-tab-header-active-focus-indicator-color)}.mat-mdc-tab.mat-mdc-tab-disabled{opacity:.4;pointer-events:none}.mat-mdc-tab.mat-mdc-tab-disabled .mdc-tab__content{pointer-events:none}.mat-mdc-tab.mat-mdc-tab-disabled .mdc-tab__ripple::before,.mat-mdc-tab.mat-mdc-tab-disabled .mat-ripple-element{background-color:var(--mat-tab-header-disabled-ripple-color)}.mat-mdc-tab .mdc-tab__ripple::before{content:"";display:block;position:absolute;top:0;left:0;right:0;bottom:0;opacity:0;pointer-events:none;background-color:var(--mat-tab-header-inactive-ripple-color)}.mat-mdc-tab .mdc-tab__text-label{color:var(--mat-tab-header-inactive-label-text-color);display:inline-flex;align-items:center}.mat-mdc-tab .mdc-tab__content{position:relative;pointer-events:auto}.mat-mdc-tab:hover .mdc-tab__ripple::before{opacity:.04}.mat-mdc-tab.cdk-program-focused .mdc-tab__ripple::before,.mat-mdc-tab.cdk-keyboard-focused .mdc-tab__ripple::before{opacity:.12}.mat-mdc-tab .mat-ripple-element{opacity:.12;background-color:var(--mat-tab-header-inactive-ripple-color)}.mat-mdc-tab-group.mat-mdc-tab-group-stretch-tabs>.mat-mdc-tab-header .mat-mdc-tab{flex-grow:1}.mat-mdc-tab-group{display:flex;flex-direction:column;max-width:100%}.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header-pagination{background-color:var(--mat-tab-header-with-background-background-color)}.mat-mdc-tab-group.mat-tabs-with-background.mat-primary>.mat-mdc-tab-header .mat-mdc-tab .mdc-tab__text-label{color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-group.mat-tabs-with-background.mat-primary>.mat-mdc-tab-header .mdc-tab-indicator__content--underline{border-color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-group.mat-tabs-with-background:not(.mat-primary)>.mat-mdc-tab-header .mat-mdc-tab:not(.mdc-tab--active) .mdc-tab__text-label{color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-group.mat-tabs-with-background:not(.mat-primary)>.mat-mdc-tab-header .mat-mdc-tab:not(.mdc-tab--active) .mdc-tab-indicator__content--underline{border-color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header .mat-mdc-focus-indicator::before,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mat-mdc-focus-indicator::before{border-color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header .mat-ripple-element,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header .mdc-tab__ripple::before,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mat-ripple-element,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mdc-tab__ripple::before{background-color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mat-mdc-tab-header-pagination-chevron{color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-group.mat-mdc-tab-group-inverted-header{flex-direction:column-reverse}.mat-mdc-tab-group.mat-mdc-tab-group-inverted-header .mdc-tab-indicator__content--underline{align-self:flex-start}.mat-mdc-tab-body-wrapper{position:relative;overflow:hidden;display:flex;transition:height 500ms cubic-bezier(0.35, 0, 0.25, 1)}.mat-mdc-tab-body-wrapper._mat-animation-noopable{transition:none !important;animation:none !important}'],encapsulation:2});let n=t;return n})(),bc=class{};var rf=(()=>{let t=class t{};t.\u0275fac=function(i){return new(i||t)},t.\u0275mod=W({type:t}),t.\u0275inj=$({imports:[dt,dt]});let n=t;return n})();var yc=function(n){return n[n.Invalid=0]="Invalid",n[n.EnvelopeCreated=1001]="EnvelopeCreated",n[n.EnvelopeSaved=1002]="EnvelopeSaved",n[n.EnvelopeQueued=1003]="EnvelopeQueued",n[n.EnvelopeSent=1004]="EnvelopeSent",n[n.EnvelopePartlySigned=1005]="EnvelopePartlySigned",n[n.EnvelopeCompletelySigned=1006]="EnvelopeCompletelySigned",n[n.EnvelopeReportCreated=1007]="EnvelopeReportCreated",n[n.EnvelopeArchived=1008]="EnvelopeArchived",n[n.EnvelopeDeleted=1009]="EnvelopeDeleted",n[n.AccessCodeRequested=2001]="AccessCodeRequested",n[n.AccessCodeCorrect=2002]="AccessCodeCorrect",n[n.AccessCodeIncorrect=2003]="AccessCodeIncorrect",n[n.DocumentOpened=2004]="DocumentOpened",n[n.DocumentSigned=2005]="DocumentSigned",n[n.SignatureConfirmed=2006]="SignatureConfirmed",n[n.MessageInvitationSent=3001]="MessageInvitationSent",n[n.MessageAccessCodeSent=3002]="MessageAccessCodeSent",n[n.MessageConfirmationSent=3003]="MessageConfirmationSent",n[n.MessageDeletionSent=3004]="MessageDeletionSent",n[n.MessageCompletionSent=3005]="MessageCompletionSent",n}(yc||{});var af=(()=>{let t=class t{constructor(e){this.http=e;let i=_(Qe);this.url=`${i}/localization`}getLocalizer(){return Re(this.http.get(this.url))}};t.\u0275fac=function(i){return new(i||t)(b(Ee))},t.\u0275prov=w({token:t,factory:t.\u0275fac,providedIn:"root"});let n=t;return n})();var Ty=n=>({max_status:n}),Ry=n=>[n],My=(n,t)=>({min_status:n,ignore_status:t}),xc=(()=>{let t=class t{constructor(e){this.localizationService=e,this.Status=yc,this.localizer={}}ngOnInit(){return Nt(this,null,function*(){this.localizer=yield this.localizationService.getLocalizer()})}};t.\u0275fac=function(i){return new(i||t)(d(af))},t.\u0275cmp=j({type:t,selectors:[["envelope"]],standalone:!0,features:[V],decls:6,vars:9,consts:[["id","table"],["label","Offene Umschl\xE4ge"],[3,"options"],["label","Abgeschlossene Umschl\xE4ge"]],template:function(i,o){i&1&&(h(0,"div",0)(1,"mat-tab-group")(2,"mat-tab",1),P(3,"app-envelope-table",2),f(),h(4,"mat-tab",3),P(5,"app-envelope-table",2),f()()()),i&2&&(g(3),E("options",Ne(2,Ty,o.Status.EnvelopePartlySigned)),g(2),E("options",Ke(6,My,o.Status.EnvelopeCompletelySigned,Ne(4,Ry,o.Status.EnvelopeDeleted))))},dependencies:[Qm,rf,vc,of],styles:["#table[_ngcontent-%COMP%]{padding:2rem}"]});let n=t;return n})();var Ay=["*"];function Oy(n,t){n&1&&J(0)}var wc=(()=>{let t=class t{constructor(e){this._elementRef=e}focus(){this._elementRef.nativeElement.focus()}};t.\u0275fac=function(i){return new(i||t)(d(T))},t.\u0275dir=y({type:t,selectors:[["","cdkStepHeader",""]],hostAttrs:["role","tab"],standalone:!0});let n=t;return n})(),Cc=(()=>{let t=class t{constructor(e){this.template=e}};t.\u0275fac=function(i){return new(i||t)(d(bt))},t.\u0275dir=y({type:t,selectors:[["","cdkStepLabel",""]],standalone:!0});let n=t;return n})(),Fy=0;var ri={NUMBER:"number",EDIT:"edit",DONE:"done",ERROR:"error"},Ic=new C("STEPPER_GLOBAL_OPTIONS"),es=(()=>{let t=class t{get completed(){return this._completedOverride==null?this._getDefaultCompleted():this._completedOverride}set completed(e){this._completedOverride=e}_getDefaultCompleted(){return this.stepControl?this.stepControl.valid&&this.interacted:this.interacted}get hasError(){return this._customError==null?this._getDefaultError():this._customError}set hasError(e){this._customError=e}_getDefaultError(){return this.stepControl&&this.stepControl.invalid&&this.interacted}constructor(e,i){this._stepper=e,this.interacted=!1,this.interactedStream=new z,this.editable=!0,this.optional=!1,this._completedOverride=null,this._customError=null,this._stepperOptions=i||{},this._displayDefaultIndicatorType=this._stepperOptions.displayDefaultIndicatorType!==!1}select(){this._stepper.selected=this}reset(){this.interacted=!1,this._completedOverride!=null&&(this._completedOverride=!1),this._customError!=null&&(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??this._customError!=null}};t.\u0275fac=function(i){return new(i||t)(d(jt(()=>Yn)),d(Ic,8))},t.\u0275cmp=j({type:t,selectors:[["cdk-step"]],contentQueries:function(i,o,a){if(i&1&&ct(a,Cc,5),i&2){let s;S(s=k())&&(o.stepLabel=s.first)}},viewQuery:function(i,o){if(i&1&&rt(bt,7),i&2){let a;S(a=k())&&(o.content=a.first)}},inputs:{stepControl:"stepControl",label:"label",errorMessage:"errorMessage",ariaLabel:[m.None,"aria-label","ariaLabel"],ariaLabelledby:[m.None,"aria-labelledby","ariaLabelledby"],state:"state",editable:[m.HasDecoratorInputTransform,"editable","editable",M],optional:[m.HasDecoratorInputTransform,"optional","optional",M],completed:[m.HasDecoratorInputTransform,"completed","completed",M],hasError:[m.HasDecoratorInputTransform,"hasError","hasError",M]},outputs:{interactedStream:"interacted"},exportAs:["cdkStep"],standalone:!0,features:[lt,ut,V],ngContentSelectors:Ay,decls:1,vars:0,template:function(i,o){i&1&&(mt(),F(0,Oy,1,0,"ng-template"))},encapsulation:2,changeDetection:0});let n=t;return n})(),Yn=(()=>{let t=class t{get selectedIndex(){return this._selectedIndex}set selectedIndex(e){this.steps&&this._steps?(this._isValidIndex(e),this.selected?._markAsInteracted(),this._selectedIndex!==e&&!this._anyControlsInvalidOrPending(e)&&(e>=this._selectedIndex||this.steps.toArray()[e].editable)&&this._updateSelectedItemIndex(e)):this._selectedIndex=e}get selected(){return this.steps?this.steps.toArray()[this.selectedIndex]:void 0}set selected(e){this.selectedIndex=e&&this.steps?this.steps.toArray().indexOf(e):-1}get orientation(){return this._orientation}set orientation(e){this._orientation=e,this._keyManager&&this._keyManager.withVerticalOrientation(e==="vertical")}constructor(e,i,o){this._dir=e,this._changeDetectorRef=i,this._elementRef=o,this._destroyed=new N,this.steps=new Ae,this._sortedHeaders=new Ae,this.linear=!1,this._selectedIndex=0,this.selectionChange=new z,this.selectedIndexChange=new z,this._orientation="horizontal",this._groupId=Fy++}ngAfterContentInit(){this._steps.changes.pipe(Tt(this._steps),Z(this._destroyed)).subscribe(e=>{this.steps.reset(e.filter(i=>i._stepper===this)),this.steps.notifyOnChanges()})}ngAfterViewInit(){this._stepHeader.changes.pipe(Tt(this._stepHeader),Z(this._destroyed)).subscribe(e=>{this._sortedHeaders.reset(e.toArray().sort((i,o)=>i._elementRef.nativeElement.compareDocumentPosition(o._elementRef.nativeElement)&Node.DOCUMENT_POSITION_FOLLOWING?-1:1)),this._sortedHeaders.notifyOnChanges()}),this._keyManager=new Sn(this._sortedHeaders).withWrap().withHomeAndEnd().withVerticalOrientation(this._orientation==="vertical"),(this._dir?this._dir.change:A()).pipe(Tt(this._layoutDirection()),Z(this._destroyed)).subscribe(e=>this._keyManager.withHorizontalOrientation(e)),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(e=>e.reset()),this._stateChanged()}_getStepLabelId(e){return`cdk-step-label-${this._groupId}-${e}`}_getStepContentId(e){return`cdk-step-content-${this._groupId}-${e}`}_stateChanged(){this._changeDetectorRef.markForCheck()}_getAnimationDirection(e){let i=e-this._selectedIndex;return i<0?this._layoutDirection()==="rtl"?"next":"previous":i>0?this._layoutDirection()==="rtl"?"previous":"next":"current"}_getIndicatorType(e,i=ri.NUMBER){let o=this.steps.toArray()[e],a=this._isCurrentStep(e);return o._displayDefaultIndicatorType?this._getDefaultIndicatorLogic(o,a):this._getGuidelineLogic(o,a,i)}_getDefaultIndicatorLogic(e,i){return e._showError()&&e.hasError&&!i?ri.ERROR:!e.completed||i?ri.NUMBER:e.editable?ri.EDIT:ri.DONE}_getGuidelineLogic(e,i,o=ri.NUMBER){return e._showError()&&e.hasError&&!i?ri.ERROR:e.completed&&!i?ri.DONE:e.completed&&i?o:e.editable&&i?ri.EDIT:o}_isCurrentStep(e){return this._selectedIndex===e}_getFocusIndex(){return this._keyManager?this._keyManager.activeItemIndex:this._selectedIndex}_updateSelectedItemIndex(e){let i=this.steps.toArray();this.selectionChange.emit({selectedIndex:e,previouslySelectedIndex:this._selectedIndex,selectedStep:i[e],previouslySelectedStep:i[this._selectedIndex]}),this._containsFocus()?this._keyManager.setActiveItem(e):this._keyManager.updateActiveItem(e),this._selectedIndex=e,this.selectedIndexChange.emit(this._selectedIndex),this._stateChanged()}_onKeydown(e){let i=Lt(e),o=e.keyCode,a=this._keyManager;a.activeItemIndex!=null&&!i&&(o===32||o===13)?(this.selectedIndex=a.activeItemIndex,e.preventDefault()):a.setFocusOrigin("keyboard").onKeydown(e)}_anyControlsInvalidOrPending(e){return this.linear&&e>=0?this.steps.toArray().slice(0,e).some(i=>{let o=i.stepControl;return(o?o.invalid||o.pending||!i.interacted:!i.completed)&&!i.optional&&!i._completedOverride}):!1}_layoutDirection(){return this._dir&&this._dir.value==="rtl"?"rtl":"ltr"}_containsFocus(){let e=this._elementRef.nativeElement,i=Cl();return e===i||e.contains(i)}_isValidIndex(e){return e>-1&&(!this.steps||e{let t=class t{constructor(e){this._stepper=e,this.type="submit"}};t.\u0275fac=function(i){return new(i||t)(d(Yn))},t.\u0275dir=y({type:t,selectors:[["button","cdkStepperNext",""]],hostVars:1,hostBindings:function(i,o){i&1&&H("click",function(){return o._stepper.next()}),i&2&&ie("type",o.type)},inputs:{type:"type"},standalone:!0});let n=t;return n})(),lf=(()=>{let t=class t{constructor(e){this._stepper=e,this.type="button"}};t.\u0275fac=function(i){return new(i||t)(d(Yn))},t.\u0275dir=y({type:t,selectors:[["button","cdkStepperPrevious",""]],hostVars:1,hostBindings:function(i,o){i&1&&H("click",function(){return o._stepper.previous()}),i&2&&ie("type",o.type)},inputs:{type:"type"},standalone:!0});let n=t;return n})(),cf=(()=>{let t=class t{};t.\u0275fac=function(i){return new(i||t)},t.\u0275mod=W({type:t}),t.\u0275inj=$({imports:[Be]});let n=t;return n})();function Py(n,t){if(n&1&&At(0,2),n&2){let r=R();E("ngTemplateOutlet",r.iconOverrides[r.state])("ngTemplateOutletContext",r._getIconContext())}}function Ny(n,t){if(n&1&&(h(0,"span",7),D(1),f()),n&2){let r=R(2);g(),Ct(r._getDefaultTextForState(r.state))}}function Ly(n,t){if(n&1&&(h(0,"span",8),D(1),f()),n&2){let r=R(3);g(),Ct(r._intl.completedLabel)}}function jy(n,t){if(n&1&&(h(0,"span",8),D(1),f()),n&2){let r=R(3);g(),Ct(r._intl.editableLabel)}}function Vy(n,t){if(n&1&&(F(0,Ly,2,1,"span",8)(1,jy,2,1),h(2,"mat-icon",7),D(3),f()),n&2){let r=R(2);K(0,r.state==="done"?0:r.state==="edit"?1:-1),g(3),Ct(r._getDefaultTextForState(r.state))}}function zy(n,t){if(n&1&&F(0,Ny,2,1)(1,Vy,4,2),n&2){let r,e=R();K(0,(r=e.state)==="number"?0:1)}}function By(n,t){n&1&&(h(0,"div",4),At(1,9),f()),n&2&&(g(),E("ngTemplateOutlet",t.template))}function Hy(n,t){if(n&1&&(h(0,"div",4),D(1),f()),n&2){let r=R();g(),Ct(r.label)}}function Uy(n,t){if(n&1&&(h(0,"div",5),D(1),f()),n&2){let r=R();g(),Ct(r._intl.optionalLabel)}}function $y(n,t){if(n&1&&(h(0,"div",6),D(1),f()),n&2){let r=R();g(),Ct(r.errorMessage)}}var uf=["*"];function Wy(n,t){}function Gy(n,t){if(n&1&&(J(0),F(1,Wy,0,0,"ng-template",0)),n&2){let r=R();g(),E("cdkPortalOutlet",r._portal)}}var hf=(n,t)=>({step:n,i:t}),mf=n=>({animationDuration:n}),ff=(n,t)=>({value:n,params:t});function qy(n,t){n&1&&J(0)}function Yy(n,t){n&1&&P(0,"div",6)}function Qy(n,t){if(n&1&&(At(0,5),F(1,Yy,1,0,"div",6)),n&2){let r=t.$implicit,e=t.$index,i=t.$index,o=t.$count;R(2);let a=Vt(4);E("ngTemplateOutlet",a)("ngTemplateOutletContext",Ke(3,hf,r,e)),g(),K(1,i!==o-1?1:-1)}}function Xy(n,t){if(n&1){let r=ht();h(0,"div",7),H("@horizontalStepTransition.done",function(i){Q(r);let o=R(2);return X(o._animationDone.next(i))}),At(1,8),f()}if(n&2){let r=t.$implicit,e=t.$index,i=R(2);B("mat-horizontal-stepper-content-inactive",i.selectedIndex!==e),E("@horizontalStepTransition",Ke(8,ff,i._getAnimationDirection(e),Ne(6,mf,i._getAnimationDuration())))("id",i._getStepContentId(e)),nt("aria-labelledby",i._getStepLabelId(e)),g(),E("ngTemplateOutlet",r.content)}}function Zy(n,t){if(n&1&&(h(0,"div",1)(1,"div",2),Kt(2,Qy,2,6,null,null,de),f(),h(4,"div",3),Kt(5,Xy,2,11,"div",4,de),f()()),n&2){let r=R();g(2),Jt(r.steps),g(3),Jt(r.steps)}}function Ky(n,t){if(n&1){let r=ht();h(0,"div",9),At(1,5),h(2,"div",10)(3,"div",11),H("@verticalStepTransition.done",function(i){Q(r);let o=R(2);return X(o._animationDone.next(i))}),h(4,"div",12),At(5,8),f()()()()}if(n&2){let r=t.$implicit,e=t.$index,i=t.$index,o=t.$count,a=R(2),s=Vt(4);g(),E("ngTemplateOutlet",s)("ngTemplateOutletContext",Ke(10,hf,r,e)),g(),B("mat-stepper-vertical-line",i!==o-1),g(),B("mat-vertical-stepper-content-inactive",a.selectedIndex!==e),E("@verticalStepTransition",Ke(15,ff,a._getAnimationDirection(e),Ne(13,mf,a._getAnimationDuration())))("id",a._getStepContentId(e)),nt("aria-labelledby",a._getStepLabelId(e)),g(2),E("ngTemplateOutlet",r.content)}}function Jy(n,t){if(n&1&&Kt(0,Ky,6,18,"div",9,de),n&2){let r=R();Jt(r.steps)}}function tx(n,t){if(n&1){let r=ht();h(0,"mat-step-header",13),H("click",function(){let i=Q(r).step;return X(i.select())})("keydown",function(i){Q(r);let o=R();return X(o._onKeydown(i))}),f()}if(n&2){let r=t.step,e=t.i,i=R();B("mat-horizontal-stepper-header",i.orientation==="horizontal")("mat-vertical-stepper-header",i.orientation==="vertical"),E("tabIndex",i._getFocusIndex()===e?0:-1)("id",i._getStepLabelId(e))("index",e)("state",i._getIndicatorType(e,r.state))("label",r.stepLabel||r.label)("selected",i.selectedIndex===e)("active",i._stepIsNavigable(e,r))("optional",r.optional)("errorMessage",r.errorMessage)("iconOverrides",i._iconOverrides)("disableRipple",i.disableRipple||!i._stepIsNavigable(e,r))("color",r.color||i.color),nt("aria-posinset",e+1)("aria-setsize",i.steps.length)("aria-controls",i._getStepContentId(e))("aria-selected",i.selectedIndex==e)("aria-label",r.ariaLabel||null)("aria-labelledby",!r.ariaLabel&&r.ariaLabelledby?r.ariaLabelledby:null)("aria-disabled",i._stepIsNavigable(e,r)?null:!0)}}var gr=(()=>{let t=class t extends Cc{};t.\u0275fac=(()=>{let e;return function(o){return(e||(e=St(t)))(o||t)}})(),t.\u0275dir=y({type:t,selectors:[["","matStepLabel",""]],standalone:!0,features:[tt]});let n=t;return n})(),is=(()=>{let t=class t{constructor(){this.changes=new N,this.optionalLabel="Optional",this.completedLabel="Completed",this.editableLabel="Editable"}};t.\u0275fac=function(i){return new(i||t)},t.\u0275prov=w({token:t,factory:t.\u0275fac,providedIn:"root"});let n=t;return n})();function ex(n){return n||new is}var ix={provide:is,deps:[[new sn,new io,is]],useFactory:ex},Dc=(()=>{let t=class t extends wc{constructor(e,i,o,a){super(o),this._intl=e,this._focusMonitor=i,this._intlSubscription=e.changes.subscribe(()=>a.markForCheck())}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0)}ngOnDestroy(){this._intlSubscription.unsubscribe(),this._focusMonitor.stopMonitoring(this._elementRef)}focus(e,i){e?this._focusMonitor.focusVia(this._elementRef,e,i):this._elementRef.nativeElement.focus(i)}_stringLabel(){return this.label instanceof gr?null:this.label}_templateLabel(){return this.label instanceof gr?this.label:null}_getHostElement(){return this._elementRef.nativeElement}_getIconContext(){return{index:this.index,active:this.active,optional:this.optional}}_getDefaultTextForState(e){return e=="number"?`${this.index+1}`:e=="edit"?"create":e=="error"?"warning":e}};t.\u0275fac=function(i){return new(i||t)(d(is),d(Je),d(T),d(ft))},t.\u0275cmp=j({type:t,selectors:[["mat-step-header"]],hostAttrs:["role","tab",1,"mat-step-header"],hostVars:2,hostBindings:function(i,o){i&2&&qt("mat-"+(o.color||"primary"))},inputs:{state:"state",label:"label",errorMessage:"errorMessage",iconOverrides:"iconOverrides",index:"index",selected:"selected",active:"active",optional:"optional",disableRipple:"disableRipple",color:"color"},standalone:!0,features:[tt,V],decls:10,vars:17,consts:[["matRipple","",1,"mat-step-header-ripple","mat-focus-indicator",3,"matRippleTrigger","matRippleDisabled"],[1,"mat-step-icon-content"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],[1,"mat-step-label"],[1,"mat-step-text-label"],[1,"mat-step-optional"],[1,"mat-step-sub-label-error"],["aria-hidden","true"],[1,"cdk-visually-hidden"],[3,"ngTemplateOutlet"]],template:function(i,o){if(i&1&&(P(0,"div",0),h(1,"div")(2,"div",1),F(3,Py,1,2,"ng-container",2)(4,zy,2,1),f()(),h(5,"div",3),F(6,By,2,1,"div",4)(7,Hy,2,1)(8,Uy,2,1,"div",5)(9,$y,2,1,"div",6),f()),i&2){let a;E("matRippleTrigger",o._getHostElement())("matRippleDisabled",o.disableRipple),g(),Ir("mat-step-icon-state-",o.state," mat-step-icon"),B("mat-step-icon-selected",o.selected),g(2),K(3,o.iconOverrides&&o.iconOverrides[o.state]?3:4),g(2),B("mat-step-label-active",o.active)("mat-step-label-selected",o.selected)("mat-step-label-error",o.state=="error"),g(),K(6,(a=o._templateLabel())?6:o._stringLabel()?7:-1,a),g(2),K(8,o.optional&&o.state!="error"?8:-1),g(),K(9,o.state==="error"?9:-1)}},dependencies:[ei,co,ae],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);border-radius:var(--mat-stepper-header-hover-state-layer-shape)}.mat-step-header.cdk-keyboard-focused,.mat-step-header.cdk-program-focused{background-color:var(--mat-stepper-header-focus-state-layer-color);border-radius:var(--mat-stepper-header-focus-state-layer-shape)}@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});let n=t;return n})(),pf="500ms",gf="225ms",df={horizontalStepTransition:ne("horizontalStepTransition",[Pt("previous",yt({transform:"translate3d(-100%, 0, 0)",visibility:"hidden"})),Pt("current",yt({transform:"none",visibility:"inherit"})),Pt("next",yt({transform:"translate3d(100%, 0, 0)",visibility:"hidden"})),Bt("* => *",ho([zt("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)"),fo("@*",mo(),{optional:!0})]),{params:{animationDuration:pf}})]),verticalStepTransition:ne("verticalStepTransition",[Pt("previous",yt({height:"0px",visibility:"hidden"})),Pt("next",yt({height:"0px",visibility:"hidden"})),Pt("current",yt({height:"*",visibility:"inherit"})),Bt("* <=> current",ho([zt("{{animationDuration}} cubic-bezier(0.4, 0.0, 0.2, 1)"),fo("@*",mo(),{optional:!0})]),{params:{animationDuration:gf}})])},nx=(()=>{let t=class t{constructor(e){this.templateRef=e}};t.\u0275fac=function(i){return new(i||t)(d(bt))},t.\u0275dir=y({type:t,selectors:[["ng-template","matStepperIcon",""]],inputs:{name:[m.None,"matStepperIcon","name"]},standalone:!0});let n=t;return n})(),ox=(()=>{let t=class t{constructor(e){this._template=e}};t.\u0275fac=function(i){return new(i||t)(d(bt))},t.\u0275dir=y({type:t,selectors:[["ng-template","matStepContent",""]],standalone:!0});let n=t;return n})(),Ec=(()=>{let t=class t extends es{constructor(e,i,o,a){super(e,a),this._errorStateMatcher=i,this._viewContainerRef=o,this._isSelected=xt.EMPTY,this.stepLabel=void 0}ngAfterContentInit(){this._isSelected=this._stepper.steps.changes.pipe(Dt(()=>this._stepper.selectionChange.pipe(G(e=>e.selectedStep===this),Tt(this._stepper.selected===this)))).subscribe(e=>{e&&this._lazyContent&&!this._portal&&(this._portal=new De(this._lazyContent._template,this._viewContainerRef))})}ngOnDestroy(){this._isSelected.unsubscribe()}isErrorState(e,i){let o=this._errorStateMatcher.isErrorState(e,i),a=!!(e&&e.invalid&&this.interacted);return o||a}};t.\u0275fac=function(i){return new(i||t)(d(jt(()=>ns)),d(ti,4),d(Et),d(Ic,8))},t.\u0275cmp=j({type:t,selectors:[["mat-step"]],contentQueries:function(i,o,a){if(i&1&&(ct(a,gr,5),ct(a,ox,5)),i&2){let s;S(s=k())&&(o.stepLabel=s.first),S(s=k())&&(o._lazyContent=s.first)}},hostAttrs:["hidden",""],inputs:{color:"color"},exportAs:["matStep"],standalone:!0,features:[ot([{provide:ti,useExisting:t},{provide:es,useExisting:t}]),tt,V],ngContentSelectors:uf,decls:1,vars:0,consts:[[3,"cdkPortalOutlet"]],template:function(i,o){i&1&&(mt(),F(0,Gy,2,1,"ng-template"))},dependencies:[qn],encapsulation:2,changeDetection:0});let n=t;return n})(),ns=(()=>{let t=class t extends Yn{get animationDuration(){return this._animationDuration}set animationDuration(e){this._animationDuration=/^\d+$/.test(e)?e+"ms":e}constructor(e,i,o){super(e,i,o),this._stepHeader=void 0,this._steps=void 0,this.steps=new Ae,this.animationDone=new z,this.labelPosition="end",this.headerPosition="top",this._iconOverrides={},this._animationDone=new N,this._animationDuration="",this._isServer=!_(at).isBrowser;let a=o.nativeElement.nodeName.toLowerCase();this.orientation=a==="mat-vertical-stepper"?"vertical":"horizontal"}ngAfterContentInit(){super.ngAfterContentInit(),this._icons.forEach(({name:e,templateRef:i})=>this._iconOverrides[e]=i),this.steps.changes.pipe(Z(this._destroyed)).subscribe(()=>{this._stateChanged()}),this._animationDone.pipe(Xe((e,i)=>e.fromState===i.fromState&&e.toState===i.toState),Z(this._destroyed)).subscribe(e=>{e.toState==="current"&&this.animationDone.emit()})}_stepIsNavigable(e,i){return i.completed||this.selectedIndex===e||!this.linear}_getAnimationDuration(){return this.animationDuration?this.animationDuration:this.orientation==="horizontal"?pf:gf}};t.\u0275fac=function(i){return new(i||t)(d(kt,8),d(ft),d(T))},t.\u0275cmp=j({type:t,selectors:[["mat-stepper"],["mat-vertical-stepper"],["mat-horizontal-stepper"],["","matStepper",""]],contentQueries:function(i,o,a){if(i&1&&(ct(a,Ec,5),ct(a,nx,5)),i&2){let s;S(s=k())&&(o._steps=s),S(s=k())&&(o._icons=s)}},viewQuery:function(i,o){if(i&1&&rt(Dc,5),i&2){let a;S(a=k())&&(o._stepHeader=a)}},hostAttrs:["role","tablist"],hostVars:11,hostBindings:function(i,o){i&2&&(nt("aria-orientation",o.orientation),B("mat-stepper-horizontal",o.orientation==="horizontal")("mat-stepper-vertical",o.orientation==="vertical")("mat-stepper-label-position-end",o.orientation==="horizontal"&&o.labelPosition=="end")("mat-stepper-label-position-bottom",o.orientation==="horizontal"&&o.labelPosition=="bottom")("mat-stepper-header-position-bottom",o.headerPosition==="bottom"))},inputs:{disableRipple:"disableRipple",color:"color",labelPosition:"labelPosition",headerPosition:"headerPosition",animationDuration:"animationDuration"},outputs:{animationDone:"animationDone"},exportAs:["matStepper","matVerticalStepper","matHorizontalStepper"],standalone:!0,features:[ot([{provide:Yn,useExisting:t}]),tt,V],ngContentSelectors:uf,decls:5,vars:2,consts:[["stepTemplate",""],[1,"mat-horizontal-stepper-wrapper"],[1,"mat-horizontal-stepper-header-container"],[1,"mat-horizontal-content-container"],["role","tabpanel",1,"mat-horizontal-stepper-content",3,"id","mat-horizontal-stepper-content-inactive"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],[1,"mat-stepper-horizontal-line"],["role","tabpanel",1,"mat-horizontal-stepper-content",3,"id"],[3,"ngTemplateOutlet"],[1,"mat-step"],[1,"mat-vertical-content-container"],["role","tabpanel",1,"mat-vertical-stepper-content",3,"id"],[1,"mat-vertical-content"],[3,"click","keydown","tabIndex","id","index","state","label","selected","active","optional","errorMessage","iconOverrides","disableRipple","color"]],template:function(i,o){if(i&1&&(mt(),F(0,qy,1,0)(1,Zy,7,0)(2,Jy,2,0)(3,tx,1,23,"ng-template",null,0,Dr)),i&2){let a;K(0,o._isServer?0:-1),g(),K(1,(a=o.orientation)==="horizontal"?1:a==="vertical"?2:-1)}},dependencies:[co,Dc],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:[df.horizontalStepTransition,df.verticalStepTransition]},changeDetection:0});let n=t;return n})(),bf=(()=>{let t=class t extends sf{};t.\u0275fac=(()=>{let e;return function(o){return(e||(e=St(t)))(o||t)}})(),t.\u0275dir=y({type:t,selectors:[["button","matStepperNext",""]],hostAttrs:[1,"mat-stepper-next"],hostVars:1,hostBindings:function(i,o){i&2&&ie("type",o.type)},standalone:!0,features:[tt]});let n=t;return n})(),_f=(()=>{let t=class t extends lf{};t.\u0275fac=(()=>{let e;return function(o){return(e||(e=St(t)))(o||t)}})(),t.\u0275dir=y({type:t,selectors:[["button","matStepperPrevious",""]],hostAttrs:[1,"mat-stepper-previous"],hostVars:1,hostBindings:function(i,o){i&2&&ie("type",o.type)},standalone:!0,features:[tt]});let n=t;return n})(),vf=(()=>{let t=class t{};t.\u0275fac=function(i){return new(i||t)},t.\u0275mod=W({type:t}),t.\u0275inj=$({providers:[ix,ti],imports:[dt,te,ts,cf,Xt,Zo,ns,Dc,dt]});let n=t;return n})();var yf=oa(),Sc=class{constructor(t,r){this._viewportRuler=t,this._previousHTMLStyles={top:"",left:""},this._isEnabled=!1,this._document=r}attach(){}enable(){if(this._canBeEnabled()){let t=this._document.documentElement;this._previousScrollPosition=this._viewportRuler.getViewportScrollPosition(),this._previousHTMLStyles.left=t.style.left||"",this._previousHTMLStyles.top=t.style.top||"",t.style.left=Ot(-this._previousScrollPosition.left),t.style.top=Ot(-this._previousScrollPosition.top),t.classList.add("cdk-global-scrollblock"),this._isEnabled=!0}}disable(){if(this._isEnabled){let t=this._document.documentElement,r=this._document.body,e=t.style,i=r.style,o=e.scrollBehavior||"",a=i.scrollBehavior||"";this._isEnabled=!1,e.left=this._previousHTMLStyles.left,e.top=this._previousHTMLStyles.top,t.classList.remove("cdk-global-scrollblock"),yf&&(e.scrollBehavior=i.scrollBehavior="auto"),window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top),yf&&(e.scrollBehavior=o,i.scrollBehavior=a)}}_canBeEnabled(){if(this._document.documentElement.classList.contains("cdk-global-scrollblock")||this._isEnabled)return!1;let r=this._document.body,e=this._viewportRuler.getViewportSize();return r.scrollHeight>e.height||r.scrollWidth>e.width}};var kc=class{constructor(t,r,e,i){this._scrollDispatcher=t,this._ngZone=r,this._viewportRuler=e,this._config=i,this._scrollSubscription=null,this._detach=()=>{this.disable(),this._overlayRef.hasAttached()&&this._ngZone.run(()=>this._overlayRef.detach())}}attach(t){this._overlayRef,this._overlayRef=t}enable(){if(this._scrollSubscription)return;let t=this._scrollDispatcher.scrolled(0).pipe(_t(r=>!r||!this._overlayRef.overlayElement.contains(r.getElementRef().nativeElement)));this._config&&this._config.threshold&&this._config.threshold>1?(this._initialScrollPosition=this._viewportRuler.getViewportScrollPosition().top,this._scrollSubscription=t.subscribe(()=>{let r=this._viewportRuler.getViewportScrollPosition().top;Math.abs(r-this._initialScrollPosition)>this._config.threshold?this._detach():this._overlayRef.updatePosition()})):this._scrollSubscription=t.subscribe(this._detach)}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}},os=class{enable(){}disable(){}attach(){}};function Tc(n,t){return t.some(r=>{let e=n.bottomr.bottom,o=n.rightr.right;return e||i||o||a})}function xf(n,t){return t.some(r=>{let e=n.topr.bottom,o=n.leftr.right;return e||i||o||a})}var Rc=class{constructor(t,r,e,i){this._scrollDispatcher=t,this._viewportRuler=r,this._ngZone=e,this._config=i,this._scrollSubscription=null}attach(t){this._overlayRef,this._overlayRef=t}enable(){if(!this._scrollSubscription){let t=this._config?this._config.scrollThrottle:0;this._scrollSubscription=this._scrollDispatcher.scrolled(t).subscribe(()=>{if(this._overlayRef.updatePosition(),this._config&&this._config.autoClose){let r=this._overlayRef.overlayElement.getBoundingClientRect(),{width:e,height:i}=this._viewportRuler.getViewportSize();Tc(r,[{width:e,height:i,bottom:i,right:e,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}},ax=(()=>{let t=class t{constructor(e,i,o,a){this._scrollDispatcher=e,this._viewportRuler=i,this._ngZone=o,this.noop=()=>new os,this.close=s=>new kc(this._scrollDispatcher,this._ngZone,this._viewportRuler,s),this.block=()=>new Sc(this._viewportRuler,this._document),this.reposition=s=>new Rc(this._scrollDispatcher,this._viewportRuler,this._ngZone,s),this._document=a}};t.\u0275fac=function(i){return new(i||t)(b($n),b(ge),b(O),b(q))},t.\u0275prov=w({token:t,factory:t.\u0275fac,providedIn:"root"});let n=t;return n})(),Qn=class{constructor(t){if(this.scrollStrategy=new os,this.panelClass="",this.hasBackdrop=!1,this.backdropClass="cdk-overlay-dark-backdrop",this.disposeOnNavigation=!1,t){let r=Object.keys(t);for(let e of r)t[e]!==void 0&&(this[e]=t[e])}}};var Mc=class{constructor(t,r){this.connectionPair=t,this.scrollableViewProperties=r}};var Ef=(()=>{let t=class t{constructor(e){this._attachedOverlays=[],this._document=e}ngOnDestroy(){this.detach()}add(e){this.remove(e),this._attachedOverlays.push(e)}remove(e){let i=this._attachedOverlays.indexOf(e);i>-1&&this._attachedOverlays.splice(i,1),this._attachedOverlays.length===0&&this.detach()}};t.\u0275fac=function(i){return new(i||t)(b(q))},t.\u0275prov=w({token:t,factory:t.\u0275fac,providedIn:"root"});let n=t;return n})(),sx=(()=>{let t=class t extends Ef{constructor(e,i){super(e),this._ngZone=i,this._keydownListener=o=>{let a=this._attachedOverlays;for(let s=a.length-1;s>-1;s--)if(a[s]._keydownEvents.observers.length>0){let l=a[s]._keydownEvents;this._ngZone?this._ngZone.run(()=>l.next(o)):l.next(o);break}}}add(e){super.add(e),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)}};t.\u0275fac=function(i){return new(i||t)(b(q),b(O,8))},t.\u0275prov=w({token:t,factory:t.\u0275fac,providedIn:"root"});let n=t;return n})(),lx=(()=>{let t=class t extends Ef{constructor(e,i,o){super(e),this._platform=i,this._ngZone=o,this._cursorStyleIsSet=!1,this._pointerDownListener=a=>{this._pointerDownEventTarget=oe(a)},this._clickListener=a=>{let s=oe(a),l=a.type==="click"&&this._pointerDownEventTarget?this._pointerDownEventTarget:s;this._pointerDownEventTarget=null;let c=this._attachedOverlays.slice();for(let u=c.length-1;u>-1;u--){let p=c[u];if(p._outsidePointerEvents.observers.length<1||!p.hasAttached())continue;if(p.overlayElement.contains(s)||p.overlayElement.contains(l))break;let v=p._outsidePointerEvents;this._ngZone?this._ngZone.run(()=>v.next(a)):v.next(a)}}}add(e){if(super.add(e),!this._isAttached){let i=this._document.body;this._ngZone?this._ngZone.runOutsideAngular(()=>this._addEventListeners(i)):this._addEventListeners(i),this._platform.IOS&&!this._cursorStyleIsSet&&(this._cursorOriginalValue=i.style.cursor,i.style.cursor="pointer",this._cursorStyleIsSet=!0),this._isAttached=!0}}detach(){if(this._isAttached){let e=this._document.body;e.removeEventListener("pointerdown",this._pointerDownListener,!0),e.removeEventListener("click",this._clickListener,!0),e.removeEventListener("auxclick",this._clickListener,!0),e.removeEventListener("contextmenu",this._clickListener,!0),this._platform.IOS&&this._cursorStyleIsSet&&(e.style.cursor=this._cursorOriginalValue,this._cursorStyleIsSet=!1),this._isAttached=!1}}_addEventListeners(e){e.addEventListener("pointerdown",this._pointerDownListener,!0),e.addEventListener("click",this._clickListener,!0),e.addEventListener("auxclick",this._clickListener,!0),e.addEventListener("contextmenu",this._clickListener,!0)}};t.\u0275fac=function(i){return new(i||t)(b(q),b(at),b(O,8))},t.\u0275prov=w({token:t,factory:t.\u0275fac,providedIn:"root"});let n=t;return n})(),Sf=(()=>{let t=class t{constructor(e,i){this._platform=i,this._document=e}ngOnDestroy(){this._containerElement?.remove()}getContainerElement(){return this._containerElement||this._createContainer(),this._containerElement}_createContainer(){let e="cdk-overlay-container";if(this._platform.isBrowser||qo()){let o=this._document.querySelectorAll(`.${e}[platform="server"], .${e}[platform="test"]`);for(let a=0;athis._backdropClick.next(p),this._backdropTransitionendHandler=p=>{this._disposeBackdrop(p.target)},this._keydownEvents=new N,this._outsidePointerEvents=new N,i.scrollStrategy&&(this._scrollStrategy=i.scrollStrategy,this._scrollStrategy.attach(this)),this._positionStrategy=i.positionStrategy}get overlayElement(){return this._pane}get backdropElement(){return this._backdropElement}get hostElement(){return this._host}attach(t){!this._host.parentElement&&this._previousHostParent&&this._previousHostParent.appendChild(this._host);let r=this._portalOutlet.attach(t);return this._positionStrategy&&this._positionStrategy.attach(this),this._updateStackingOrder(),this._updateElementSize(),this._updateElementDirection(),this._scrollStrategy&&this._scrollStrategy.enable(),this._ngZone.onStable.pipe(wt(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),typeof r?.onDestroy=="function"&&r.onDestroy(()=>{this.hasAttached()&&this._ngZone.runOutsideAngular(()=>Promise.resolve().then(()=>this.detach()))}),r}detach(){if(!this.hasAttached())return;this.detachBackdrop(),this._togglePointerEvents(!1),this._positionStrategy&&this._positionStrategy.detach&&this._positionStrategy.detach(),this._scrollStrategy&&this._scrollStrategy.disable();let t=this._portalOutlet.detach();return this._detachments.next(),this._keyboardDispatcher.remove(this),this._detachContentWhenStable(),this._locationChanges.unsubscribe(),this._outsideClickDispatcher.remove(this),t}dispose(){let t=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,t&&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(t){t!==this._positionStrategy&&(this._positionStrategy&&this._positionStrategy.dispose(),this._positionStrategy=t,this.hasAttached()&&(t.attach(this),this.updatePosition()))}updateSize(t){this._config=x(x({},this._config),t),this._updateElementSize()}setDirection(t){this._config=It(x({},this._config),{direction:t}),this._updateElementDirection()}addPanelClass(t){this._pane&&this._toggleClasses(this._pane,t,!0)}removePanelClass(t){this._pane&&this._toggleClasses(this._pane,t,!1)}getDirection(){let t=this._config.direction;return t?typeof t=="string"?t:t.value:"ltr"}updateScrollStrategy(t){t!==this._scrollStrategy&&(this._disposeScrollStrategy(),this._scrollStrategy=t,this.hasAttached()&&(t.attach(this),t.enable()))}_updateElementDirection(){this._host.setAttribute("dir",this.getDirection())}_updateElementSize(){if(!this._pane)return;let t=this._pane.style;t.width=Ot(this._config.width),t.height=Ot(this._config.height),t.minWidth=Ot(this._config.minWidth),t.minHeight=Ot(this._config.minHeight),t.maxWidth=Ot(this._config.maxWidth),t.maxHeight=Ot(this._config.maxHeight)}_togglePointerEvents(t){this._pane.style.pointerEvents=t?"":"none"}_attachBackdrop(){let t="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(t)})}):this._backdropElement.classList.add(t)}_updateStackingOrder(){this._host.nextSibling&&this._host.parentNode.appendChild(this._host)}detachBackdrop(){let t=this._backdropElement;if(t){if(this._animationsDisabled){this._disposeBackdrop(t);return}t.classList.remove("cdk-overlay-backdrop-showing"),this._ngZone.runOutsideAngular(()=>{t.addEventListener("transitionend",this._backdropTransitionendHandler)}),t.style.pointerEvents="none",this._backdropTimeout=this._ngZone.runOutsideAngular(()=>setTimeout(()=>{this._disposeBackdrop(t)},500))}}_toggleClasses(t,r,e){let i=In(r||[]).filter(o=>!!o);i.length&&(e?t.classList.add(...i):t.classList.remove(...i))}_detachContentWhenStable(){this._ngZone.runOutsideAngular(()=>{let t=this._ngZone.onStable.pipe(Z(Wt(this._attachments,this._detachments))).subscribe(()=>{(!this._pane||!this._host||this._pane.children.length===0)&&(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()),t.unsubscribe())})})}_disposeScrollStrategy(){let t=this._scrollStrategy;t&&(t.disable(),t.detach&&t.detach())}_disposeBackdrop(t){t&&(t.removeEventListener("click",this._backdropClickHandler),t.removeEventListener("transitionend",this._backdropTransitionendHandler),t.remove(),this._backdropElement===t&&(this._backdropElement=null)),this._backdropTimeout&&(clearTimeout(this._backdropTimeout),this._backdropTimeout=void 0)}},wf="cdk-overlay-connected-position-bounding-box",cx=/([A-Za-z%]+)$/,Oc=class{get positions(){return this._preferredPositions}constructor(t,r,e,i,o){this._viewportRuler=r,this._document=e,this._platform=i,this._overlayContainer=o,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 N,this._resizeSubscription=xt.EMPTY,this._offsetX=0,this._offsetY=0,this._appliedPanelClasses=[],this.positionChanges=this._positionChanges,this.setOrigin(t)}attach(t){this._overlayRef&&this._overlayRef,this._validatePositions(),t.hostElement.classList.add(wf),this._overlayRef=t,this._boundingBox=t.hostElement,this._pane=t.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){this.reapplyLastPosition();return}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();let t=this._originRect,r=this._overlayRect,e=this._viewportRect,i=this._containerRect,o=[],a;for(let s of this._preferredPositions){let l=this._getOriginPoint(t,i,s),c=this._getOverlayPoint(l,r,s),u=this._getOverlayFit(c,r,e,s);if(u.isCompletelyWithinViewport){this._isPushed=!1,this._applyPosition(s,l);return}if(this._canFitWithFlexibleDimensions(u,c,e)){o.push({position:s,origin:l,overlayRect:r,boundingBoxRect:this._calculateBoundingBoxRect(l,s)});continue}(!a||a.overlayFit.visibleAreal&&(l=u,s=c)}this._isPushed=!1,this._applyPosition(s.position,s.origin);return}if(this._canPush){this._isPushed=!0,this._applyPosition(a.position,a.originPoint);return}this._applyPosition(a.position,a.originPoint)}detach(){this._clearPanelClasses(),this._lastPosition=null,this._previousPushAmount=null,this._resizeSubscription.unsubscribe()}dispose(){this._isDisposed||(this._boundingBox&&en(this._boundingBox.style,{top:"",left:"",right:"",bottom:"",height:"",width:"",alignItems:"",justifyContent:""}),this._pane&&this._resetOverlayElementStyles(),this._overlayRef&&this._overlayRef.hostElement.classList.remove(wf),this.detach(),this._positionChanges.complete(),this._overlayRef=this._boundingBox=null,this._isDisposed=!0)}reapplyLastPosition(){if(this._isDisposed||!this._platform.isBrowser)return;let t=this._lastPosition;if(t){this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._viewportRect=this._getNarrowedViewportRect(),this._containerRect=this._overlayContainer.getContainerElement().getBoundingClientRect();let r=this._getOriginPoint(this._originRect,this._containerRect,t);this._applyPosition(t,r)}else this.apply()}withScrollableContainers(t){return this._scrollables=t,this}withPositions(t){return this._preferredPositions=t,t.indexOf(this._lastPosition)===-1&&(this._lastPosition=null),this._validatePositions(),this}withViewportMargin(t){return this._viewportMargin=t,this}withFlexibleDimensions(t=!0){return this._hasFlexibleDimensions=t,this}withGrowAfterOpen(t=!0){return this._growAfterOpen=t,this}withPush(t=!0){return this._canPush=t,this}withLockedPosition(t=!0){return this._positionLocked=t,this}setOrigin(t){return this._origin=t,this}withDefaultOffsetX(t){return this._offsetX=t,this}withDefaultOffsetY(t){return this._offsetY=t,this}withTransformOriginOn(t){return this._transformOriginSelector=t,this}_getOriginPoint(t,r,e){let i;if(e.originX=="center")i=t.left+t.width/2;else{let a=this._isRtl()?t.right:t.left,s=this._isRtl()?t.left:t.right;i=e.originX=="start"?a:s}r.left<0&&(i-=r.left);let o;return e.originY=="center"?o=t.top+t.height/2:o=e.originY=="top"?t.top:t.bottom,r.top<0&&(o-=r.top),{x:i,y:o}}_getOverlayPoint(t,r,e){let i;e.overlayX=="center"?i=-r.width/2:e.overlayX==="start"?i=this._isRtl()?-r.width:0:i=this._isRtl()?0:-r.width;let o;return e.overlayY=="center"?o=-r.height/2:o=e.overlayY=="top"?0:-r.height,{x:t.x+i,y:t.y+o}}_getOverlayFit(t,r,e,i){let o=If(r),{x:a,y:s}=t,l=this._getOffset(i,"x"),c=this._getOffset(i,"y");l&&(a+=l),c&&(s+=c);let u=0-a,p=a+o.width-e.width,v=0-s,I=s+o.height-e.height,L=this._subtractOverflows(o.width,u,p),et=this._subtractOverflows(o.height,v,I),U=L*et;return{visibleArea:U,isCompletelyWithinViewport:o.width*o.height===U,fitsInViewportVertically:et===o.height,fitsInViewportHorizontally:L==o.width}}_canFitWithFlexibleDimensions(t,r,e){if(this._hasFlexibleDimensions){let i=e.bottom-r.y,o=e.right-r.x,a=Cf(this._overlayRef.getConfig().minHeight),s=Cf(this._overlayRef.getConfig().minWidth),l=t.fitsInViewportVertically||a!=null&&a<=i,c=t.fitsInViewportHorizontally||s!=null&&s<=o;return l&&c}return!1}_pushOverlayOnScreen(t,r,e){if(this._previousPushAmount&&this._positionLocked)return{x:t.x+this._previousPushAmount.x,y:t.y+this._previousPushAmount.y};let i=If(r),o=this._viewportRect,a=Math.max(t.x+i.width-o.width,0),s=Math.max(t.y+i.height-o.height,0),l=Math.max(o.top-e.top-t.y,0),c=Math.max(o.left-e.left-t.x,0),u=0,p=0;return i.width<=o.width?u=c||-a:u=t.xL&&!this._isInitialRender&&!this._growAfterOpen&&(a=t.y-L/2)}let l=r.overlayX==="start"&&!i||r.overlayX==="end"&&i,c=r.overlayX==="end"&&!i||r.overlayX==="start"&&i,u,p,v;if(c)v=e.width-t.x+this._viewportMargin*2,u=t.x-this._viewportMargin;else if(l)p=t.x,u=e.right-t.x;else{let I=Math.min(e.right-t.x+e.left,t.x),L=this._lastBoundingBoxSize.width;u=I*2,p=t.x-I,u>L&&!this._isInitialRender&&!this._growAfterOpen&&(p=t.x-L/2)}return{top:a,left:p,bottom:s,right:v,width:u,height:o}}_setBoundingBoxStyles(t,r){let e=this._calculateBoundingBoxRect(t,r);!this._isInitialRender&&!this._growAfterOpen&&(e.height=Math.min(e.height,this._lastBoundingBoxSize.height),e.width=Math.min(e.width,this._lastBoundingBoxSize.width));let i={};if(this._hasExactPosition())i.top=i.left="0",i.bottom=i.right=i.maxHeight=i.maxWidth="",i.width=i.height="100%";else{let o=this._overlayRef.getConfig().maxHeight,a=this._overlayRef.getConfig().maxWidth;i.height=Ot(e.height),i.top=Ot(e.top),i.bottom=Ot(e.bottom),i.width=Ot(e.width),i.left=Ot(e.left),i.right=Ot(e.right),r.overlayX==="center"?i.alignItems="center":i.alignItems=r.overlayX==="end"?"flex-end":"flex-start",r.overlayY==="center"?i.justifyContent="center":i.justifyContent=r.overlayY==="bottom"?"flex-end":"flex-start",o&&(i.maxHeight=Ot(o)),a&&(i.maxWidth=Ot(a))}this._lastBoundingBoxSize=e,en(this._boundingBox.style,i)}_resetBoundingBoxStyles(){en(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})}_resetOverlayElementStyles(){en(this._pane.style,{top:"",left:"",bottom:"",right:"",position:"",transform:""})}_setOverlayElementStyles(t,r){let e={},i=this._hasExactPosition(),o=this._hasFlexibleDimensions,a=this._overlayRef.getConfig();if(i){let u=this._viewportRuler.getViewportScrollPosition();en(e,this._getExactOverlayY(r,t,u)),en(e,this._getExactOverlayX(r,t,u))}else e.position="static";let s="",l=this._getOffset(r,"x"),c=this._getOffset(r,"y");l&&(s+=`translateX(${l}px) `),c&&(s+=`translateY(${c}px)`),e.transform=s.trim(),a.maxHeight&&(i?e.maxHeight=Ot(a.maxHeight):o&&(e.maxHeight="")),a.maxWidth&&(i?e.maxWidth=Ot(a.maxWidth):o&&(e.maxWidth="")),en(this._pane.style,e)}_getExactOverlayY(t,r,e){let i={top:"",bottom:""},o=this._getOverlayPoint(r,this._overlayRect,t);if(this._isPushed&&(o=this._pushOverlayOnScreen(o,this._overlayRect,e)),t.overlayY==="bottom"){let a=this._document.documentElement.clientHeight;i.bottom=`${a-(o.y+this._overlayRect.height)}px`}else i.top=Ot(o.y);return i}_getExactOverlayX(t,r,e){let i={left:"",right:""},o=this._getOverlayPoint(r,this._overlayRect,t);this._isPushed&&(o=this._pushOverlayOnScreen(o,this._overlayRect,e));let a;if(this._isRtl()?a=t.overlayX==="end"?"left":"right":a=t.overlayX==="end"?"right":"left",a==="right"){let s=this._document.documentElement.clientWidth;i.right=`${s-(o.x+this._overlayRect.width)}px`}else i.left=Ot(o.x);return i}_getScrollVisibility(){let t=this._getOriginRect(),r=this._pane.getBoundingClientRect(),e=this._scrollables.map(i=>i.getElementRef().nativeElement.getBoundingClientRect());return{isOriginClipped:xf(t,e),isOriginOutsideView:Tc(t,e),isOverlayClipped:xf(r,e),isOverlayOutsideView:Tc(r,e)}}_subtractOverflows(t,...r){return r.reduce((e,i)=>e-Math.max(i,0),t)}_getNarrowedViewportRect(){let t=this._document.documentElement.clientWidth,r=this._document.documentElement.clientHeight,e=this._viewportRuler.getViewportScrollPosition();return{top:e.top+this._viewportMargin,left:e.left+this._viewportMargin,right:e.left+t-this._viewportMargin,bottom:e.top+r-this._viewportMargin,width:t-2*this._viewportMargin,height:r-2*this._viewportMargin}}_isRtl(){return this._overlayRef.getDirection()==="rtl"}_hasExactPosition(){return!this._hasFlexibleDimensions||this._isPushed}_getOffset(t,r){return r==="x"?t.offsetX==null?this._offsetX:t.offsetX:t.offsetY==null?this._offsetY:t.offsetY}_validatePositions(){}_addPanelClasses(t){this._pane&&In(t).forEach(r=>{r!==""&&this._appliedPanelClasses.indexOf(r)===-1&&(this._appliedPanelClasses.push(r),this._pane.classList.add(r))})}_clearPanelClasses(){this._pane&&(this._appliedPanelClasses.forEach(t=>{this._pane.classList.remove(t)}),this._appliedPanelClasses=[])}_getOriginRect(){let t=this._origin;if(t instanceof T)return t.nativeElement.getBoundingClientRect();if(t instanceof Element)return t.getBoundingClientRect();let r=t.width||0,e=t.height||0;return{top:t.y,bottom:t.y+e,left:t.x,right:t.x+r,height:e,width:r}}};function en(n,t){for(let r in t)t.hasOwnProperty(r)&&(n[r]=t[r]);return n}function Cf(n){if(typeof n!="number"&&n!=null){let[t,r]=n.split(cx);return!r||r==="px"?parseFloat(t):null}return n||null}function If(n){return{top:Math.floor(n.top),right:Math.floor(n.right),bottom:Math.floor(n.bottom),left:Math.floor(n.left),width:Math.floor(n.width),height:Math.floor(n.height)}}function dx(n,t){return n===t?!0:n.isOriginClipped===t.isOriginClipped&&n.isOriginOutsideView===t.isOriginOutsideView&&n.isOverlayClipped===t.isOverlayClipped&&n.isOverlayOutsideView===t.isOverlayOutsideView}var Df="cdk-global-overlay-wrapper",Fc=class{constructor(){this._cssPosition="static",this._topOffset="",this._bottomOffset="",this._alignItems="",this._xPosition="",this._xOffset="",this._width="",this._height="",this._isDisposed=!1}attach(t){let r=t.getConfig();this._overlayRef=t,this._width&&!r.width&&t.updateSize({width:this._width}),this._height&&!r.height&&t.updateSize({height:this._height}),t.hostElement.classList.add(Df),this._isDisposed=!1}top(t=""){return this._bottomOffset="",this._topOffset=t,this._alignItems="flex-start",this}left(t=""){return this._xOffset=t,this._xPosition="left",this}bottom(t=""){return this._topOffset="",this._bottomOffset=t,this._alignItems="flex-end",this}right(t=""){return this._xOffset=t,this._xPosition="right",this}start(t=""){return this._xOffset=t,this._xPosition="start",this}end(t=""){return this._xOffset=t,this._xPosition="end",this}width(t=""){return this._overlayRef?this._overlayRef.updateSize({width:t}):this._width=t,this}height(t=""){return this._overlayRef?this._overlayRef.updateSize({height:t}):this._height=t,this}centerHorizontally(t=""){return this.left(t),this._xPosition="center",this}centerVertically(t=""){return this.top(t),this._alignItems="center",this}apply(){if(!this._overlayRef||!this._overlayRef.hasAttached())return;let t=this._overlayRef.overlayElement.style,r=this._overlayRef.hostElement.style,e=this._overlayRef.getConfig(),{width:i,height:o,maxWidth:a,maxHeight:s}=e,l=(i==="100%"||i==="100vw")&&(!a||a==="100%"||a==="100vw"),c=(o==="100%"||o==="100vh")&&(!s||s==="100%"||s==="100vh"),u=this._xPosition,p=this._xOffset,v=this._overlayRef.getConfig().direction==="rtl",I="",L="",et="";l?et="flex-start":u==="center"?(et="center",v?L=p:I=p):v?u==="left"||u==="end"?(et="flex-end",I=p):(u==="right"||u==="start")&&(et="flex-start",L=p):u==="left"||u==="start"?(et="flex-start",I=p):(u==="right"||u==="end")&&(et="flex-end",L=p),t.position=this._cssPosition,t.marginLeft=l?"0":I,t.marginTop=c?"0":this._topOffset,t.marginBottom=this._bottomOffset,t.marginRight=l?"0":L,r.justifyContent=et,r.alignItems=c?"flex-start":this._alignItems}dispose(){if(this._isDisposed||!this._overlayRef)return;let t=this._overlayRef.overlayElement.style,r=this._overlayRef.hostElement,e=r.style;r.classList.remove(Df),e.justifyContent=e.alignItems=t.marginTop=t.marginBottom=t.marginLeft=t.marginRight=t.position="",this._overlayRef=null,this._isDisposed=!0}},ux=(()=>{let t=class t{constructor(e,i,o,a){this._viewportRuler=e,this._document=i,this._platform=o,this._overlayContainer=a}global(){return new Fc}flexibleConnectedTo(e){return new Oc(e,this._viewportRuler,this._document,this._platform,this._overlayContainer)}};t.\u0275fac=function(i){return new(i||t)(b(ge),b(q),b(at),b(Sf))},t.\u0275prov=w({token:t,factory:t.\u0275fac,providedIn:"root"});let n=t;return n})(),hx=0,Gt=(()=>{let t=class t{constructor(e,i,o,a,s,l,c,u,p,v,I,L){this.scrollStrategies=e,this._overlayContainer=i,this._componentFactoryResolver=o,this._positionBuilder=a,this._keyboardDispatcher=s,this._injector=l,this._ngZone=c,this._document=u,this._directionality=p,this._location=v,this._outsideClickDispatcher=I,this._animationsModuleType=L}create(e){let i=this._createHostElement(),o=this._createPaneElement(i),a=this._createPortalOutlet(o),s=new Qn(e);return s.direction=s.direction||this._directionality.value,new Ac(a,i,o,s,this._ngZone,this._keyboardDispatcher,this._document,this._location,this._outsideClickDispatcher,this._animationsModuleType==="NoopAnimations")}position(){return this._positionBuilder}_createPaneElement(e){let i=this._document.createElement("div");return i.id=`cdk-overlay-${hx++}`,i.classList.add("cdk-overlay-pane"),e.appendChild(i),i}_createHostElement(){let e=this._document.createElement("div");return this._overlayContainer.getContainerElement().appendChild(e),e}_createPortalOutlet(e){return this._appRef||(this._appRef=this._injector.get(Bi)),new Ja(e,this._componentFactoryResolver,this._appRef,this._injector,this._document)}};t.\u0275fac=function(i){return new(i||t)(b(ax),b(Sf),b(un),b(ux),b(sx),b(mi),b(O),b(q),b(kt),b($i),b(lx),b(Rt,8))},t.\u0275prov=w({token:t,factory:t.\u0275fac,providedIn:"root"});let n=t;return n})(),mx=[{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"}],kf=new C("cdk-connected-overlay-scroll-strategy",{providedIn:"root",factory:()=>{let n=_(Gt);return()=>n.scrollStrategies.reposition()}}),br=(()=>{let t=class t{constructor(e){this.elementRef=e}};t.\u0275fac=function(i){return new(i||t)(d(T))},t.\u0275dir=y({type:t,selectors:[["","cdk-overlay-origin",""],["","overlay-origin",""],["","cdkOverlayOrigin",""]],exportAs:["cdkOverlayOrigin"],standalone:!0});let n=t;return n})(),Pc=(()=>{let t=class t{get offsetX(){return this._offsetX}set offsetX(e){this._offsetX=e,this._position&&this._updatePositionStrategy(this._position)}get offsetY(){return this._offsetY}set offsetY(e){this._offsetY=e,this._position&&this._updatePositionStrategy(this._position)}get disposeOnNavigation(){return this._disposeOnNavigation}set disposeOnNavigation(e){this._disposeOnNavigation=e}constructor(e,i,o,a,s){this._overlay=e,this._dir=s,this._backdropSubscription=xt.EMPTY,this._attachSubscription=xt.EMPTY,this._detachSubscription=xt.EMPTY,this._positionSubscription=xt.EMPTY,this._disposeOnNavigation=!1,this._ngZone=_(O),this.viewportMargin=0,this.open=!1,this.disableClose=!1,this.hasBackdrop=!1,this.lockPosition=!1,this.flexibleDimensions=!1,this.growAfterOpen=!1,this.push=!1,this.backdropClick=new z,this.positionChange=new z,this.attach=new z,this.detach=new z,this.overlayKeydown=new z,this.overlayOutsideClick=new z,this._templatePortal=new De(i,o),this._scrollStrategyFactory=a,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(e){this._position&&(this._updatePositionStrategy(this._position),this._overlayRef.updateSize({width:this.width,minWidth:this.minWidth,height:this.height,minHeight:this.minHeight}),e.origin&&this.open&&this._position.apply()),e.open&&(this.open?this._attachOverlay():this._detachOverlay())}_createOverlay(){(!this.positions||!this.positions.length)&&(this.positions=mx);let e=this._overlayRef=this._overlay.create(this._buildConfig());this._attachSubscription=e.attachments().subscribe(()=>this.attach.emit()),this._detachSubscription=e.detachments().subscribe(()=>this.detach.emit()),e.keydownEvents().subscribe(i=>{this.overlayKeydown.next(i),i.keyCode===27&&!this.disableClose&&!Lt(i)&&(i.preventDefault(),this._detachOverlay())}),this._overlayRef.outsidePointerEvents().subscribe(i=>{let o=this._getOriginElement(),a=oe(i);(!o||o!==a&&!o.contains(a))&&this.overlayOutsideClick.next(i)})}_buildConfig(){let e=this._position=this.positionStrategy||this._createPositionStrategy(),i=new Qn({direction:this._dir,positionStrategy:e,scrollStrategy:this.scrollStrategy,hasBackdrop:this.hasBackdrop,disposeOnNavigation:this.disposeOnNavigation});return(this.width||this.width===0)&&(i.width=this.width),(this.height||this.height===0)&&(i.height=this.height),(this.minWidth||this.minWidth===0)&&(i.minWidth=this.minWidth),(this.minHeight||this.minHeight===0)&&(i.minHeight=this.minHeight),this.backdropClass&&(i.backdropClass=this.backdropClass),this.panelClass&&(i.panelClass=this.panelClass),i}_updatePositionStrategy(e){let i=this.positions.map(o=>({originX:o.originX,originY:o.originY,overlayX:o.overlayX,overlayY:o.overlayY,offsetX:o.offsetX||this.offsetX,offsetY:o.offsetY||this.offsetY,panelClass:o.panelClass||void 0}));return e.setOrigin(this._getOrigin()).withPositions(i).withFlexibleDimensions(this.flexibleDimensions).withPush(this.push).withGrowAfterOpen(this.growAfterOpen).withViewportMargin(this.viewportMargin).withLockedPosition(this.lockPosition).withTransformOriginOn(this.transformOriginSelector)}_createPositionStrategy(){let e=this._overlay.position().flexibleConnectedTo(this._getOrigin());return this._updatePositionStrategy(e),e}_getOrigin(){return this.origin instanceof br?this.origin.elementRef:this.origin}_getOriginElement(){return this.origin instanceof br?this.origin.elementRef.nativeElement:this.origin instanceof T?this.origin.nativeElement:typeof Element<"u"&&this.origin instanceof Element?this.origin:null}_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(e=>{this.backdropClick.emit(e)}):this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this.positionChange.observers.length>0&&(this._positionSubscription=this._position.positionChanges.pipe(ed(()=>this.positionChange.observers.length>0)).subscribe(e=>{this._ngZone.run(()=>this.positionChange.emit(e)),this.positionChange.observers.length===0&&this._positionSubscription.unsubscribe()}))}_detachOverlay(){this._overlayRef&&this._overlayRef.detach(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe()}};t.\u0275fac=function(i){return new(i||t)(d(Gt),d(bt),d(Et),d(kf),d(kt,8))},t.\u0275dir=y({type:t,selectors:[["","cdk-connected-overlay",""],["","connected-overlay",""],["","cdkConnectedOverlay",""]],inputs:{origin:[m.None,"cdkConnectedOverlayOrigin","origin"],positions:[m.None,"cdkConnectedOverlayPositions","positions"],positionStrategy:[m.None,"cdkConnectedOverlayPositionStrategy","positionStrategy"],offsetX:[m.None,"cdkConnectedOverlayOffsetX","offsetX"],offsetY:[m.None,"cdkConnectedOverlayOffsetY","offsetY"],width:[m.None,"cdkConnectedOverlayWidth","width"],height:[m.None,"cdkConnectedOverlayHeight","height"],minWidth:[m.None,"cdkConnectedOverlayMinWidth","minWidth"],minHeight:[m.None,"cdkConnectedOverlayMinHeight","minHeight"],backdropClass:[m.None,"cdkConnectedOverlayBackdropClass","backdropClass"],panelClass:[m.None,"cdkConnectedOverlayPanelClass","panelClass"],viewportMargin:[m.None,"cdkConnectedOverlayViewportMargin","viewportMargin"],scrollStrategy:[m.None,"cdkConnectedOverlayScrollStrategy","scrollStrategy"],open:[m.None,"cdkConnectedOverlayOpen","open"],disableClose:[m.None,"cdkConnectedOverlayDisableClose","disableClose"],transformOriginSelector:[m.None,"cdkConnectedOverlayTransformOriginOn","transformOriginSelector"],hasBackdrop:[m.HasDecoratorInputTransform,"cdkConnectedOverlayHasBackdrop","hasBackdrop",M],lockPosition:[m.HasDecoratorInputTransform,"cdkConnectedOverlayLockPosition","lockPosition",M],flexibleDimensions:[m.HasDecoratorInputTransform,"cdkConnectedOverlayFlexibleDimensions","flexibleDimensions",M],growAfterOpen:[m.HasDecoratorInputTransform,"cdkConnectedOverlayGrowAfterOpen","growAfterOpen",M],push:[m.HasDecoratorInputTransform,"cdkConnectedOverlayPush","push",M],disposeOnNavigation:[m.HasDecoratorInputTransform,"cdkConnectedOverlayDisposeOnNavigation","disposeOnNavigation",M]},outputs:{backdropClick:"backdropClick",positionChange:"positionChange",attach:"attach",detach:"detach",overlayKeydown:"overlayKeydown",overlayOutsideClick:"overlayOutsideClick"},exportAs:["cdkConnectedOverlay"],standalone:!0,features:[lt,ut]});let n=t;return n})();function fx(n){return()=>n.scrollStrategies.reposition()}var px={provide:kf,deps:[Gt],useFactory:fx},Zn=(()=>{let t=class t{};t.\u0275fac=function(i){return new(i||t)},t.\u0275mod=W({type:t}),t.\u0275inj=$({providers:[Gt,px],imports:[Be,ts,ur,ur]});let n=t;return n})();var gx=["trigger"],bx=["panel"],_x=[[["mat-select-trigger"]],"*"],vx=["mat-select-trigger","*"];function yx(n,t){if(n&1&&(h(0,"span",4),D(1),f()),n&2){let r=R();g(),Ct(r.placeholder)}}function xx(n,t){n&1&&J(0)}function wx(n,t){if(n&1&&(h(0,"span",11),D(1),f()),n&2){let r=R(2);g(),Ct(r.triggerValue)}}function Cx(n,t){if(n&1&&(h(0,"span",10),F(1,xx,1,0)(2,wx,2,1),f()),n&2){let r=R();g(),K(1,r.customTrigger?1:2)}}function Ix(n,t){if(n&1){let r=ht();h(0,"div",12,1),H("@transformPanel.done",function(i){Q(r);let o=R();return X(o._panelDoneAnimatingStream.next(i.toState))})("keydown",function(i){Q(r);let o=R();return X(o._handleKeydown(i))}),J(2,1),f()}if(n&2){let r=R();Ir("mat-mdc-select-panel mdc-menu-surface mdc-menu-surface--open ",r._getPanelTheme(),""),E("ngClass",r.panelClass)("@transformPanel","showing"),nt("id",r.id+"-panel")("aria-multiselectable",r.multiple)("aria-label",r.ariaLabel||null)("aria-labelledby",r._getPanelAriaLabelledby())}}var Dx={transformPanelWrap:ne("transformPanelWrap",[Bt("* => void",fo("@transformPanel",[mo()],{optional:!0}))]),transformPanel:ne("transformPanel",[Pt("void",yt({opacity:0,transform:"scale(1, 0.8)"})),Bt("void => showing",zt("120ms cubic-bezier(0, 0, 0.2, 1)",yt({opacity:1,transform:"scale(1, 1)"}))),Bt("* => void",zt("100ms linear",yt({opacity:0})))])};var Rf=0,Mf=new C("mat-select-scroll-strategy",{providedIn:"root",factory:()=>{let n=_(Gt);return()=>n.scrollStrategies.reposition()}});function Ex(n){return()=>n.scrollStrategies.reposition()}var Sx=new C("MAT_SELECT_CONFIG"),kx={provide:Mf,deps:[Gt],useFactory:Ex},Tx=new C("MatSelectTrigger"),Nc=class{constructor(t,r){this.source=t,this.value=r}},Af=(()=>{let t=class t{_scrollOptionIntoView(e){let i=this.options.toArray()[e];if(i){let o=this.panel.nativeElement,a=ma(e,this.options,this.optionGroups),s=i._getHostElement();e===0&&a===1?o.scrollTop=0:o.scrollTop=fa(s.offsetTop,s.offsetHeight,o.scrollTop,o.offsetHeight)}}_positioningSettled(){this._scrollOptionIntoView(this._keyManager.activeItemIndex||0)}_getChangeEvent(e){return new Nc(this,e)}get focused(){return this._focused||this._panelOpen}get hideSingleSelectionIndicator(){return this._hideSingleSelectionIndicator}set hideSingleSelectionIndicator(e){this._hideSingleSelectionIndicator=e,this._syncParentProperties()}get placeholder(){return this._placeholder}set placeholder(e){this._placeholder=e,this.stateChanges.next()}get required(){return this._required??this.ngControl?.control?.hasValidator(Ie.required)??!1}set required(e){this._required=e,this.stateChanges.next()}get multiple(){return this._multiple}set multiple(e){this._selectionModel,this._multiple=e}get compareWith(){return this._compareWith}set compareWith(e){this._compareWith=e,this._selectionModel&&this._initializeSelection()}get value(){return this._value}set value(e){this._assignValue(e)&&this._onChange(e)}get errorStateMatcher(){return this._errorStateTracker.matcher}set errorStateMatcher(e){this._errorStateTracker.matcher=e}get id(){return this._id}set id(e){this._id=e||this._uid,this.stateChanges.next()}get errorState(){return this._errorStateTracker.errorState}set errorState(e){this._errorStateTracker.errorState=e}constructor(e,i,o,a,s,l,c,u,p,v,I,L,et,U){this._viewportRuler=e,this._changeDetectorRef=i,this._elementRef=s,this._dir=l,this._parentFormField=p,this.ngControl=v,this._liveAnnouncer=et,this._defaultOptions=U,this._positions=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"},{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom",panelClass:"mat-mdc-select-panel-above"},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom",panelClass:"mat-mdc-select-panel-above"}],this._panelOpen=!1,this._compareWith=(Y,Mt)=>Y===Mt,this._uid=`mat-select-${Rf++}`,this._triggerAriaLabelledBy=null,this._destroy=new N,this.stateChanges=new N,this.disableAutomaticLabeling=!0,this._onChange=()=>{},this._onTouched=()=>{},this._valueId=`mat-select-value-${Rf++}`,this._panelDoneAnimatingStream=new N,this._overlayPanelClass=this._defaultOptions?.overlayPanelClass||"",this._focused=!1,this.controlType="mat-select",this.disabled=!1,this.disableRipple=!1,this.tabIndex=0,this._hideSingleSelectionIndicator=this._defaultOptions?.hideSingleSelectionIndicator??!1,this._multiple=!1,this.disableOptionCentering=this._defaultOptions?.disableOptionCentering??!1,this.ariaLabel="",this.panelWidth=this._defaultOptions&&typeof this._defaultOptions.panelWidth<"u"?this._defaultOptions.panelWidth:"auto",this._initialized=new N,this.optionSelectionChanges=Li(()=>{let Y=this.options;return Y?Y.changes.pipe(Tt(Y),Dt(()=>Wt(...Y.map(Mt=>Mt.onSelectionChange)))):this._initialized.pipe(Dt(()=>this.optionSelectionChanges))}),this.openedChange=new z,this._openedStream=this.openedChange.pipe(_t(Y=>Y),G(()=>{})),this._closedStream=this.openedChange.pipe(_t(Y=>!Y),G(()=>{})),this.selectionChange=new z,this.valueChange=new z,this._trackedModal=null,this._skipPredicate=Y=>this.panelOpen?!1:Y.disabled,this.ngControl&&(this.ngControl.valueAccessor=this),U?.typeaheadDebounceInterval!=null&&(this.typeaheadDebounceInterval=U.typeaheadDebounceInterval),this._errorStateTracker=new Rn(a,v,u,c,this.stateChanges),this._scrollStrategyFactory=L,this._scrollStrategy=this._scrollStrategyFactory(),this.tabIndex=parseInt(I)||0,this.id=this.id}ngOnInit(){this._selectionModel=new Aa(this.multiple),this.stateChanges.next(),this._panelDoneAnimatingStream.pipe(Xe(),Z(this._destroy)).subscribe(()=>this._panelDoneAnimating(this.panelOpen)),this._viewportRuler.change().pipe(Z(this._destroy)).subscribe(()=>{this.panelOpen&&(this._overlayWidth=this._getOverlayWidth(this._preferredOverlayOrigin),this._changeDetectorRef.detectChanges())})}ngAfterContentInit(){this._initialized.next(),this._initialized.complete(),this._initKeyManager(),this._selectionModel.changed.pipe(Z(this._destroy)).subscribe(e=>{e.added.forEach(i=>i.select()),e.removed.forEach(i=>i.deselect())}),this.options.changes.pipe(Tt(null),Z(this._destroy)).subscribe(()=>{this._resetOptions(),this._initializeSelection()})}ngDoCheck(){let e=this._getTriggerAriaLabelledby(),i=this.ngControl;if(e!==this._triggerAriaLabelledBy){let o=this._elementRef.nativeElement;this._triggerAriaLabelledBy=e,e?o.setAttribute("aria-labelledby",e):o.removeAttribute("aria-labelledby")}i&&(this._previousControl!==i.control&&(this._previousControl!==void 0&&i.disabled!==null&&i.disabled!==this.disabled&&(this.disabled=i.disabled),this._previousControl=i.control),this.updateErrorState())}ngOnChanges(e){(e.disabled||e.userAriaDescribedBy)&&this.stateChanges.next(),e.typeaheadDebounceInterval&&this._keyManager&&this._keyManager.withTypeAhead(this.typeaheadDebounceInterval)}ngOnDestroy(){this._keyManager?.destroy(),this._destroy.next(),this._destroy.complete(),this.stateChanges.complete(),this._clearFromModal()}toggle(){this.panelOpen?this.close():this.open()}open(){this._canOpen()&&(this._parentFormField&&(this._preferredOverlayOrigin=this._parentFormField.getConnectedOverlayOrigin()),this._overlayWidth=this._getOverlayWidth(this._preferredOverlayOrigin),this._applyModalPanelOwnership(),this._panelOpen=!0,this._keyManager.withHorizontalOrientation(null),this._highlightCorrectOption(),this._changeDetectorRef.markForCheck(),this.stateChanges.next())}_applyModalPanelOwnership(){let e=this._elementRef.nativeElement.closest('body > .cdk-overlay-container [aria-modal="true"]');if(!e)return;let i=`${this.id}-panel`;this._trackedModal&&Ci(this._trackedModal,"aria-owns",i),Tn(e,"aria-owns",i),this._trackedModal=e}_clearFromModal(){if(!this._trackedModal)return;let e=`${this.id}-panel`;Ci(this._trackedModal,"aria-owns",e),this._trackedModal=null}close(){this._panelOpen&&(this._panelOpen=!1,this._keyManager.withHorizontalOrientation(this._isRtl()?"rtl":"ltr"),this._changeDetectorRef.markForCheck(),this._onTouched(),this.stateChanges.next())}writeValue(e){this._assignValue(e)}registerOnChange(e){this._onChange=e}registerOnTouched(e){this._onTouched=e}setDisabledState(e){this.disabled=e,this._changeDetectorRef.markForCheck(),this.stateChanges.next()}get panelOpen(){return this._panelOpen}get selected(){return this.multiple?this._selectionModel?.selected||[]:this._selectionModel?.selected[0]}get triggerValue(){if(this.empty)return"";if(this._multiple){let e=this._selectionModel.selected.map(i=>i.viewValue);return this._isRtl()&&e.reverse(),e.join(", ")}return this._selectionModel.selected[0].viewValue}updateErrorState(){this._errorStateTracker.updateErrorState()}_isRtl(){return this._dir?this._dir.value==="rtl":!1}_handleKeydown(e){this.disabled||(this.panelOpen?this._handleOpenKeydown(e):this._handleClosedKeydown(e))}_handleClosedKeydown(e){let i=e.keyCode,o=i===40||i===38||i===37||i===39,a=i===13||i===32,s=this._keyManager;if(!s.isTyping()&&a&&!Lt(e)||(this.multiple||e.altKey)&&o)e.preventDefault(),this.open();else if(!this.multiple){let l=this.selected;s.onKeydown(e);let c=this.selected;c&&l!==c&&this._liveAnnouncer.announce(c.viewValue,1e4)}}_handleOpenKeydown(e){let i=this._keyManager,o=e.keyCode,a=o===40||o===38,s=i.isTyping();if(a&&e.altKey)e.preventDefault(),this.close();else if(!s&&(o===13||o===32)&&i.activeItem&&!Lt(e))e.preventDefault(),i.activeItem._selectViaInteraction();else if(!s&&this._multiple&&o===65&&e.ctrlKey){e.preventDefault();let l=this.options.some(c=>!c.disabled&&!c.selected);this.options.forEach(c=>{c.disabled||(l?c.select():c.deselect())})}else{let l=i.activeItemIndex;i.onKeydown(e),this._multiple&&a&&e.shiftKey&&i.activeItem&&i.activeItemIndex!==l&&i.activeItem._selectViaInteraction()}}_onFocus(){this.disabled||(this._focused=!0,this.stateChanges.next())}_onBlur(){this._focused=!1,this._keyManager?.cancelTypeahead(),!this.disabled&&!this.panelOpen&&(this._onTouched(),this._changeDetectorRef.markForCheck(),this.stateChanges.next())}_onAttached(){this._overlayDir.positionChange.pipe(wt(1)).subscribe(()=>{this._changeDetectorRef.detectChanges(),this._positioningSettled()})}_getPanelTheme(){return this._parentFormField?`mat-${this._parentFormField.color}`:""}get empty(){return!this._selectionModel||this._selectionModel.isEmpty()}_initializeSelection(){Promise.resolve().then(()=>{this.ngControl&&(this._value=this.ngControl.value),this._setSelectionByValue(this._value),this.stateChanges.next()})}_setSelectionByValue(e){if(this.options.forEach(i=>i.setInactiveStyles()),this._selectionModel.clear(),this.multiple&&e)Array.isArray(e),e.forEach(i=>this._selectOptionByValue(i)),this._sortValues();else{let i=this._selectOptionByValue(e);i?this._keyManager.updateActiveItem(i):this.panelOpen||this._keyManager.updateActiveItem(-1)}this._changeDetectorRef.markForCheck()}_selectOptionByValue(e){let i=this.options.find(o=>{if(this._selectionModel.isSelected(o))return!1;try{return o.value!=null&&this._compareWith(o.value,e)}catch{return!1}});return i&&this._selectionModel.select(i),i}_assignValue(e){return e!==this._value||this._multiple&&Array.isArray(e)?(this.options&&this._setSelectionByValue(e),this._value=e,!0):!1}_getOverlayWidth(e){return this.panelWidth==="auto"?(e instanceof br?e.elementRef:e||this._elementRef).nativeElement.getBoundingClientRect().width:this.panelWidth===null?"":this.panelWidth}_syncParentProperties(){if(this.options)for(let e of this.options)e._changeDetectorRef.markForCheck()}_initKeyManager(){this._keyManager=new En(this.options).withTypeAhead(this.typeaheadDebounceInterval).withVerticalOrientation().withHorizontalOrientation(this._isRtl()?"rtl":"ltr").withHomeAndEnd().withPageUpDown().withAllowedModifierKeys(["shiftKey"]).skipPredicate(this._skipPredicate),this._keyManager.tabOut.subscribe(()=>{this.panelOpen&&(!this.multiple&&this._keyManager.activeItem&&this._keyManager.activeItem._selectViaInteraction(),this.focus(),this.close())}),this._keyManager.change.subscribe(()=>{this._panelOpen&&this.panel?this._scrollOptionIntoView(this._keyManager.activeItemIndex||0):!this._panelOpen&&!this.multiple&&this._keyManager.activeItem&&this._keyManager.activeItem._selectViaInteraction()})}_resetOptions(){let e=Wt(this.options.changes,this._destroy);this.optionSelectionChanges.pipe(Z(e)).subscribe(i=>{this._onSelect(i.source,i.isUserInput),i.isUserInput&&!this.multiple&&this._panelOpen&&(this.close(),this.focus())}),Wt(...this.options.map(i=>i._stateChanges)).pipe(Z(e)).subscribe(()=>{this._changeDetectorRef.detectChanges(),this.stateChanges.next()})}_onSelect(e,i){let o=this._selectionModel.isSelected(e);e.value==null&&!this._multiple?(e.deselect(),this._selectionModel.clear(),this.value!=null&&this._propagateChanges(e.value)):(o!==e.selected&&(e.selected?this._selectionModel.select(e):this._selectionModel.deselect(e)),i&&this._keyManager.setActiveItem(e),this.multiple&&(this._sortValues(),i&&this.focus())),o!==this._selectionModel.isSelected(e)&&this._propagateChanges(),this.stateChanges.next()}_sortValues(){if(this.multiple){let e=this.options.toArray();this._selectionModel.sort((i,o)=>this.sortComparator?this.sortComparator(i,o,e):e.indexOf(i)-e.indexOf(o)),this.stateChanges.next()}}_propagateChanges(e){let i;this.multiple?i=this.selected.map(o=>o.value):i=this.selected?this.selected.value:e,this._value=i,this.valueChange.emit(i),this._onChange(i),this.selectionChange.emit(this._getChangeEvent(i)),this._changeDetectorRef.markForCheck()}_highlightCorrectOption(){if(this._keyManager)if(this.empty){let e=-1;for(let i=0;i0}focus(e){this._elementRef.nativeElement.focus(e)}_getPanelAriaLabelledby(){if(this.ariaLabel)return null;let e=this._parentFormField?.getLabelId(),i=e?e+" ":"";return this.ariaLabelledby?i+this.ariaLabelledby:e}_getAriaActiveDescendant(){return this.panelOpen&&this._keyManager&&this._keyManager.activeItem?this._keyManager.activeItem.id:null}_getTriggerAriaLabelledby(){if(this.ariaLabel)return null;let e=this._parentFormField?.getLabelId(),i=(e?e+" ":"")+this._valueId;return this.ariaLabelledby&&(i+=" "+this.ariaLabelledby),i}_panelDoneAnimating(e){this.openedChange.emit(e)}setDescribedByIds(e){e.length?this._elementRef.nativeElement.setAttribute("aria-describedby",e.join(" ")):this._elementRef.nativeElement.removeAttribute("aria-describedby")}onContainerClick(){this.focus(),this.open()}get shouldLabelFloat(){return this.panelOpen||!this.empty||this.focused&&!!this.placeholder}};t.\u0275fac=function(i){return new(i||t)(d(ge),d(ft),d(O),d(ti),d(T),d(kt,8),d(oi,8),d(Ki,8),d(Ji,8),d(pe,10),ve("tabindex"),d(Mf),d(kh),d(Sx,8))},t.\u0275cmp=j({type:t,selectors:[["mat-select"]],contentQueries:function(i,o,a){if(i&1&&(ct(a,Tx,5),ct(a,Di,5),ct(a,Jo,5)),i&2){let s;S(s=k())&&(o.customTrigger=s.first),S(s=k())&&(o.options=s),S(s=k())&&(o.optionGroups=s)}},viewQuery:function(i,o){if(i&1&&(rt(gx,5),rt(bx,5),rt(Pc,5)),i&2){let a;S(a=k())&&(o.trigger=a.first),S(a=k())&&(o.panel=a.first),S(a=k())&&(o._overlayDir=a.first)}},hostAttrs:["role","combobox","aria-autocomplete","none","aria-haspopup","listbox",1,"mat-mdc-select"],hostVars:19,hostBindings:function(i,o){i&1&&H("keydown",function(s){return o._handleKeydown(s)})("focus",function(){return o._onFocus()})("blur",function(){return o._onBlur()}),i&2&&(nt("id",o.id)("tabindex",o.disabled?-1:o.tabIndex)("aria-controls",o.panelOpen?o.id+"-panel":null)("aria-expanded",o.panelOpen)("aria-label",o.ariaLabel||null)("aria-required",o.required.toString())("aria-disabled",o.disabled.toString())("aria-invalid",o.errorState)("aria-activedescendant",o._getAriaActiveDescendant()),B("mat-mdc-select-disabled",o.disabled)("mat-mdc-select-invalid",o.errorState)("mat-mdc-select-required",o.required)("mat-mdc-select-empty",o.empty)("mat-mdc-select-multiple",o.multiple))},inputs:{userAriaDescribedBy:[m.None,"aria-describedby","userAriaDescribedBy"],panelClass:"panelClass",disabled:[m.HasDecoratorInputTransform,"disabled","disabled",M],disableRipple:[m.HasDecoratorInputTransform,"disableRipple","disableRipple",M],tabIndex:[m.HasDecoratorInputTransform,"tabIndex","tabIndex",e=>e==null?0:ye(e)],hideSingleSelectionIndicator:[m.HasDecoratorInputTransform,"hideSingleSelectionIndicator","hideSingleSelectionIndicator",M],placeholder:"placeholder",required:[m.HasDecoratorInputTransform,"required","required",M],multiple:[m.HasDecoratorInputTransform,"multiple","multiple",M],disableOptionCentering:[m.HasDecoratorInputTransform,"disableOptionCentering","disableOptionCentering",M],compareWith:"compareWith",value:"value",ariaLabel:[m.None,"aria-label","ariaLabel"],ariaLabelledby:[m.None,"aria-labelledby","ariaLabelledby"],errorStateMatcher:"errorStateMatcher",typeaheadDebounceInterval:[m.HasDecoratorInputTransform,"typeaheadDebounceInterval","typeaheadDebounceInterval",ye],sortComparator:"sortComparator",id:"id",panelWidth:"panelWidth"},outputs:{openedChange:"openedChange",_openedStream:"opened",_closedStream:"closed",selectionChange:"selectionChange",valueChange:"valueChange"},exportAs:["matSelect"],standalone:!0,features:[ot([{provide:cr,useExisting:t},{provide:Ko,useExisting:t}]),lt,ut,V],ngContentSelectors:vx,decls:11,vars:8,consts:[["fallbackOverlayOrigin","cdkOverlayOrigin","trigger",""],["panel",""],["cdk-overlay-origin","",1,"mat-mdc-select-trigger",3,"click"],[1,"mat-mdc-select-value"],[1,"mat-mdc-select-placeholder","mat-mdc-select-min-line"],[1,"mat-mdc-select-arrow-wrapper"],[1,"mat-mdc-select-arrow"],["viewBox","0 0 24 24","width","24px","height","24px","focusable","false","aria-hidden","true"],["d","M7 10l5 5 5-5z"],["cdk-connected-overlay","","cdkConnectedOverlayLockPosition","","cdkConnectedOverlayHasBackdrop","","cdkConnectedOverlayBackdropClass","cdk-overlay-transparent-backdrop",3,"backdropClick","attach","detach","cdkConnectedOverlayPanelClass","cdkConnectedOverlayScrollStrategy","cdkConnectedOverlayOrigin","cdkConnectedOverlayOpen","cdkConnectedOverlayPositions","cdkConnectedOverlayWidth"],[1,"mat-mdc-select-value-text"],[1,"mat-mdc-select-min-line"],["role","listbox","tabindex","-1",3,"keydown","ngClass"]],template:function(i,o){if(i&1){let a=ht();mt(_x),h(0,"div",2,0),H("click",function(){return Q(a),X(o.open())}),h(3,"div",3),F(4,yx,2,1,"span",4)(5,Cx,3,1),f(),h(6,"div",5)(7,"div",6),Ze(),h(8,"svg",7),P(9,"path",8),f()()()(),F(10,Ix,3,9,"ng-template",9),H("backdropClick",function(){return Q(a),X(o.close())})("attach",function(){return Q(a),X(o._onAttached())})("detach",function(){return Q(a),X(o.close())})}if(i&2){let a=Vt(1);g(3),nt("id",o._valueId),g(),K(4,o.empty?4:5),g(6),E("cdkConnectedOverlayPanelClass",o._overlayPanelClass)("cdkConnectedOverlayScrollStrategy",o._scrollStrategy)("cdkConnectedOverlayOrigin",o._preferredOverlayOrigin||a)("cdkConnectedOverlayOpen",o.panelOpen)("cdkConnectedOverlayPositions",o._positions)("cdkConnectedOverlayWidth",o._overlayWidth)}},dependencies:[br,Pc,hn],styles:['.mat-mdc-select{display:inline-block;width:100%;outline:none;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;color:var(--mat-select-enabled-trigger-text-color);font-family:var(--mat-select-trigger-text-font);line-height:var(--mat-select-trigger-text-line-height);font-size:var(--mat-select-trigger-text-size);font-weight:var(--mat-select-trigger-text-weight);letter-spacing:var(--mat-select-trigger-text-tracking)}div.mat-mdc-select-panel{box-shadow:var(--mat-select-container-elevation-shadow)}.mat-mdc-select-disabled{color:var(--mat-select-disabled-trigger-text-color)}.mat-mdc-select-trigger{display:inline-flex;align-items:center;cursor:pointer;position:relative;box-sizing:border-box;width:100%}.mat-mdc-select-disabled .mat-mdc-select-trigger{-webkit-user-select:none;user-select:none;cursor:default}.mat-mdc-select-value{width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mat-mdc-select-value-text{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mat-mdc-select-arrow-wrapper{height:24px;flex-shrink:0;display:inline-flex;align-items:center}.mat-form-field-appearance-fill .mdc-text-field--no-label .mat-mdc-select-arrow-wrapper{transform:none}.mat-mdc-form-field .mat-mdc-select.mat-mdc-select-invalid .mat-mdc-select-arrow,.mat-form-field-invalid:not(.mat-form-field-disabled) .mat-mdc-form-field-infix::after{color:var(--mat-select-invalid-arrow-color)}.mat-mdc-select-arrow{width:10px;height:5px;position:relative;color:var(--mat-select-enabled-arrow-color)}.mat-mdc-form-field.mat-focused .mat-mdc-select-arrow{color:var(--mat-select-focused-arrow-color)}.mat-mdc-form-field .mat-mdc-select.mat-mdc-select-disabled .mat-mdc-select-arrow{color:var(--mat-select-disabled-arrow-color)}.mat-mdc-select-arrow svg{fill:currentColor;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%)}.cdk-high-contrast-active .mat-mdc-select-arrow svg{fill:CanvasText}.mat-mdc-select-disabled .cdk-high-contrast-active .mat-mdc-select-arrow svg{fill:GrayText}div.mat-mdc-select-panel{width:100%;max-height:275px;outline:0;overflow:auto;padding:8px 0;border-radius:4px;box-sizing:border-box;position:static;background-color:var(--mat-select-panel-background-color)}.cdk-high-contrast-active div.mat-mdc-select-panel{outline:solid 1px}.cdk-overlay-pane:not(.mat-mdc-select-panel-above) div.mat-mdc-select-panel{border-top-left-radius:0;border-top-right-radius:0;transform-origin:top center}.mat-mdc-select-panel-above div.mat-mdc-select-panel{border-bottom-left-radius:0;border-bottom-right-radius:0;transform-origin:bottom center}div.mat-mdc-select-panel .mat-mdc-option{--mdc-list-list-item-container-color: var(--mat-select-panel-background-color)}.mat-mdc-select-placeholder{transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1);color:var(--mat-select-placeholder-text-color)}._mat-animation-noopable .mat-mdc-select-placeholder{transition:none}.mat-form-field-hide-placeholder .mat-mdc-select-placeholder{color:rgba(0,0,0,0);-webkit-text-fill-color:rgba(0,0,0,0);transition:none;display:block}.mat-mdc-form-field-type-mat-select:not(.mat-form-field-disabled) .mat-mdc-text-field-wrapper{cursor:pointer}.mat-mdc-form-field-type-mat-select.mat-form-field-appearance-fill .mat-mdc-floating-label{max-width:calc(100% - 18px)}.mat-mdc-form-field-type-mat-select.mat-form-field-appearance-fill .mdc-floating-label--float-above{max-width:calc(100%/0.75 - 24px)}.mat-mdc-form-field-type-mat-select.mat-form-field-appearance-outline .mdc-notched-outline__notch{max-width:calc(100% - 60px)}.mat-mdc-form-field-type-mat-select.mat-form-field-appearance-outline .mdc-text-field--label-floating .mdc-notched-outline__notch{max-width:calc(100% - 24px)}.mat-mdc-select-min-line:empty::before{content:" ";white-space:pre;width:1px;display:inline-block;visibility:hidden}.mat-form-field-appearance-fill .mat-mdc-select-arrow-wrapper{transform:var(--mat-select-arrow-transform)}'],encapsulation:2,data:{animation:[Dx.transformPanel]},changeDetection:0});let n=t;return n})();var Of=(()=>{let t=class t{};t.\u0275fac=function(i){return new(i||t)},t.\u0275mod=W({type:t}),t.\u0275inj=$({providers:[kx],imports:[te,Zn,Mn,dt,Fi,ee,Mn,dt]});let n=t;return n})();var Mx=["panel"],Ax=["*"];function Ox(n,t){if(n&1){let r=ht();h(0,"div",1,0),H("@panelAnimation.done",function(i){Q(r);let o=R();return X(o._animationDone.next(i))}),J(2),f()}if(n&2){let r=t.id,e=R();qt(e._classList),B("mat-mdc-autocomplete-visible",e.showPanel)("mat-mdc-autocomplete-hidden",!e.showPanel)("mat-primary",e._color==="primary")("mat-accent",e._color==="accent")("mat-warn",e._color==="warn"),E("id",e.id)("@panelAnimation",e.isOpen?"visible":"hidden"),nt("aria-label",e.ariaLabel||null)("aria-labelledby",e._getPanelAriaLabelledby(r))}}var Fx=ne("panelAnimation",[Pt("void, hidden",yt({opacity:0,transform:"scaleY(0.8)"})),Bt(":enter, hidden => visible",[ho([zt("0.03s linear",yt({opacity:1})),zt("0.12s cubic-bezier(0, 0, 0.2, 1)",yt({transform:"scaleY(1)"}))])]),Bt(":leave, visible => hidden",[zt("0.075s linear",yt({opacity:0}))])]),Px=0,Lc=class{constructor(t,r){this.source=t,this.option=r}},Ff=new C("mat-autocomplete-default-options",{providedIn:"root",factory:Nx});function Nx(){return{autoActiveFirstOption:!1,autoSelectActiveOption:!1,hideSingleSelectionIndicator:!1,requireSelection:!1}}var Pf=(()=>{let t=class t{get isOpen(){return this._isOpen&&this.showPanel}_setColor(e){this._color=e,this._changeDetectorRef.markForCheck()}set classList(e){this._classList=e,this._elementRef.nativeElement.className=""}get hideSingleSelectionIndicator(){return this._hideSingleSelectionIndicator}set hideSingleSelectionIndicator(e){this._hideSingleSelectionIndicator=e,this._syncParentProperties()}_syncParentProperties(){if(this.options)for(let e of this.options)e._changeDetectorRef.markForCheck()}constructor(e,i,o,a){this._changeDetectorRef=e,this._elementRef=i,this._defaults=o,this._activeOptionChanges=xt.EMPTY,this._animationDone=new z,this.showPanel=!1,this._isOpen=!1,this.displayWith=null,this.optionSelected=new z,this.opened=new z,this.closed=new z,this.optionActivated=new z,this.id=`mat-autocomplete-${Px++}`,this.inertGroups=a?.SAFARI||!1,this.autoActiveFirstOption=!!o.autoActiveFirstOption,this.autoSelectActiveOption=!!o.autoSelectActiveOption,this.requireSelection=!!o.requireSelection,this._hideSingleSelectionIndicator=this._defaults.hideSingleSelectionIndicator??!1}ngAfterContentInit(){this._keyManager=new En(this.options).withWrap().skipPredicate(this._skipPredicate),this._activeOptionChanges=this._keyManager.change.subscribe(e=>{this.isOpen&&this.optionActivated.emit({source:this,option:this.options.toArray()[e]||null})}),this._setVisibility()}ngOnDestroy(){this._keyManager?.destroy(),this._activeOptionChanges.unsubscribe(),this._animationDone.complete()}_setScrollTop(e){this.panel&&(this.panel.nativeElement.scrollTop=e)}_getScrollTop(){return this.panel?this.panel.nativeElement.scrollTop:0}_setVisibility(){this.showPanel=!!this.options.length,this._changeDetectorRef.markForCheck()}_emitSelectEvent(e){let i=new Lc(this,e);this.optionSelected.emit(i)}_getPanelAriaLabelledby(e){if(this.ariaLabel)return null;let i=e?e+" ":"";return this.ariaLabelledby?i+this.ariaLabelledby:e}_skipPredicate(){return!1}};t.\u0275fac=function(i){return new(i||t)(d(ft),d(T),d(Ff),d(at))},t.\u0275cmp=j({type:t,selectors:[["mat-autocomplete"]],contentQueries:function(i,o,a){if(i&1&&(ct(a,Di,5),ct(a,Jo,5)),i&2){let s;S(s=k())&&(o.options=s),S(s=k())&&(o.optionGroups=s)}},viewQuery:function(i,o){if(i&1&&(rt(bt,7),rt(Mx,5)),i&2){let a;S(a=k())&&(o.template=a.first),S(a=k())&&(o.panel=a.first)}},hostAttrs:[1,"mat-mdc-autocomplete"],inputs:{ariaLabel:[m.None,"aria-label","ariaLabel"],ariaLabelledby:[m.None,"aria-labelledby","ariaLabelledby"],displayWith:"displayWith",autoActiveFirstOption:[m.HasDecoratorInputTransform,"autoActiveFirstOption","autoActiveFirstOption",M],autoSelectActiveOption:[m.HasDecoratorInputTransform,"autoSelectActiveOption","autoSelectActiveOption",M],requireSelection:[m.HasDecoratorInputTransform,"requireSelection","requireSelection",M],panelWidth:"panelWidth",disableRipple:[m.HasDecoratorInputTransform,"disableRipple","disableRipple",M],classList:[m.None,"class","classList"],hideSingleSelectionIndicator:[m.HasDecoratorInputTransform,"hideSingleSelectionIndicator","hideSingleSelectionIndicator",M]},outputs:{optionSelected:"optionSelected",opened:"opened",closed:"closed",optionActivated:"optionActivated"},exportAs:["matAutocomplete"],standalone:!0,features:[ot([{provide:Ko,useExisting:t}]),lt,V],ngContentSelectors:Ax,decls:1,vars:0,consts:[["panel",""],["role","listbox",1,"mat-mdc-autocomplete-panel","mdc-menu-surface","mdc-menu-surface--open",3,"id"]],template:function(i,o){i&1&&(mt(),F(0,Ox,3,16,"ng-template"))},styles:["div.mat-mdc-autocomplete-panel{width:100%;max-height:256px;visibility:hidden;transform-origin:center top;overflow:auto;padding:8px 0;box-sizing:border-box;position:static;border-radius:var(--mat-autocomplete-container-shape);box-shadow:var(--mat-autocomplete-container-elevation-shadow);background-color:var(--mat-autocomplete-background-color)}.cdk-high-contrast-active div.mat-mdc-autocomplete-panel{outline:solid 1px}.cdk-overlay-pane:not(.mat-mdc-autocomplete-panel-above) div.mat-mdc-autocomplete-panel{border-top-left-radius:0;border-top-right-radius:0}.mat-mdc-autocomplete-panel-above div.mat-mdc-autocomplete-panel{border-bottom-left-radius:0;border-bottom-right-radius:0;transform-origin:center bottom}div.mat-mdc-autocomplete-panel.mat-mdc-autocomplete-visible{visibility:visible}div.mat-mdc-autocomplete-panel.mat-mdc-autocomplete-hidden{visibility:hidden;pointer-events:none}mat-autocomplete{display:none}"],encapsulation:2,data:{animation:[Fx]},changeDetection:0});let n=t;return n})();var Lx={provide:ki,useExisting:jt(()=>jc),multi:!0};var Nf=new C("mat-autocomplete-scroll-strategy",{providedIn:"root",factory:()=>{let n=_(Gt);return()=>n.scrollStrategies.reposition()}});function jx(n){return()=>n.scrollStrategies.reposition()}var Vx={provide:Nf,deps:[Gt],useFactory:jx},jc=(()=>{let t=class t{constructor(e,i,o,a,s,l,c,u,p,v,I){this._element=e,this._overlay=i,this._viewContainerRef=o,this._zone=a,this._changeDetectorRef=s,this._dir=c,this._formField=u,this._document=p,this._viewportRuler=v,this._defaults=I,this._componentDestroyed=!1,this._manuallyFloatingLabel=!1,this._viewportSubscription=xt.EMPTY,this._canOpenOnNextFocus=!0,this._closeKeyEventStream=new N,this._windowBlurHandler=()=>{this._canOpenOnNextFocus=this._document.activeElement!==this._element.nativeElement||this.panelOpen},this._onChange=()=>{},this._onTouched=()=>{},this.position="auto",this.autocompleteAttribute="off",this._aboveClass="mat-mdc-autocomplete-panel-above",this._overlayAttached=!1,this.optionSelections=Li(()=>{let L=this.autocomplete?this.autocomplete.options:null;return L?L.changes.pipe(Tt(L),Dt(()=>Wt(...L.map(et=>et.onSelectionChange)))):this._zone.onStable.pipe(wt(1),Dt(()=>this.optionSelections))}),this._handlePanelKeydown=L=>{(L.keyCode===27&&!Lt(L)||L.keyCode===38&&Lt(L,"altKey"))&&(this._pendingAutoselectedOption&&(this._updateNativeInputValue(this._valueBeforeAutoSelection??""),this._pendingAutoselectedOption=null),this._closeKeyEventStream.next(),this._resetActiveItem(),L.stopPropagation(),L.preventDefault())},this._trackedModal=null,this._scrollStrategy=l}ngAfterViewInit(){let e=this._getWindow();typeof e<"u"&&this._zone.runOutsideAngular(()=>e.addEventListener("blur",this._windowBlurHandler))}ngOnChanges(e){e.position&&this._positionStrategy&&(this._setStrategyPositions(this._positionStrategy),this.panelOpen&&this._overlayRef.updatePosition())}ngOnDestroy(){let e=this._getWindow();typeof e<"u"&&e.removeEventListener("blur",this._windowBlurHandler),this._viewportSubscription.unsubscribe(),this._componentDestroyed=!0,this._destroyPanel(),this._closeKeyEventStream.complete(),this._clearFromModal()}get panelOpen(){return this._overlayAttached&&this.autocomplete.showPanel}openPanel(){this._openPanelInternal()}closePanel(){this._resetLabel(),this._overlayAttached&&(this.panelOpen&&this._zone.run(()=>{this.autocomplete.closed.emit()}),this.autocomplete._latestOpeningTrigger===this&&(this.autocomplete._isOpen=!1,this.autocomplete._latestOpeningTrigger=null),this._overlayAttached=!1,this._pendingAutoselectedOption=null,this._overlayRef&&this._overlayRef.hasAttached()&&(this._overlayRef.detach(),this._closingActionsSubscription.unsubscribe()),this._updatePanelState(),this._componentDestroyed||this._changeDetectorRef.detectChanges(),this._trackedModal&&Ci(this._trackedModal,"aria-owns",this.autocomplete.id))}updatePosition(){this._overlayAttached&&this._overlayRef.updatePosition()}get panelClosingActions(){return Wt(this.optionSelections,this.autocomplete._keyManager.tabOut.pipe(_t(()=>this._overlayAttached)),this._closeKeyEventStream,this._getOutsideClickStream(),this._overlayRef?this._overlayRef.detachments().pipe(_t(()=>this._overlayAttached)):A()).pipe(G(e=>e instanceof Xo?e:null))}get activeOption(){return this.autocomplete&&this.autocomplete._keyManager?this.autocomplete._keyManager.activeItem:null}_getOutsideClickStream(){return Wt(_e(this._document,"click"),_e(this._document,"auxclick"),_e(this._document,"touchend")).pipe(_t(e=>{let i=oe(e),o=this._formField?this._formField.getConnectedOverlayOrigin().nativeElement:null,a=this.connectedTo?this.connectedTo.elementRef.nativeElement:null;return this._overlayAttached&&i!==this._element.nativeElement&&this._document.activeElement!==this._element.nativeElement&&(!o||!o.contains(i))&&(!a||!a.contains(i))&&!!this._overlayRef&&!this._overlayRef.overlayElement.contains(i)}))}writeValue(e){Promise.resolve(null).then(()=>this._assignOptionValue(e))}registerOnChange(e){this._onChange=e}registerOnTouched(e){this._onTouched=e}setDisabledState(e){this._element.nativeElement.disabled=e}_handleKeydown(e){let i=e.keyCode,o=Lt(e);if(i===27&&!o&&e.preventDefault(),this._valueOnLastKeydown=this._element.nativeElement.value,this.activeOption&&i===13&&this.panelOpen&&!o)this.activeOption._selectViaInteraction(),this._resetActiveItem(),e.preventDefault();else if(this.autocomplete){let a=this.autocomplete._keyManager.activeItem,s=i===38||i===40;i===9||s&&!o&&this.panelOpen?this.autocomplete._keyManager.onKeydown(e):s&&this._canOpen()&&this._openPanelInternal(this._valueOnLastKeydown),(s||this.autocomplete._keyManager.activeItem!==a)&&(this._scrollToOption(this.autocomplete._keyManager.activeItemIndex||0),this.autocomplete.autoSelectActiveOption&&this.activeOption&&(this._pendingAutoselectedOption||(this._valueBeforeAutoSelection=this._valueOnLastKeydown),this._pendingAutoselectedOption=this.activeOption,this._assignOptionValue(this.activeOption.value)))}}_handleInput(e){let i=e.target,o=i.value;if(i.type==="number"&&(o=o==""?null:parseFloat(o)),this._previousValue!==o){if(this._previousValue=o,this._pendingAutoselectedOption=null,(!this.autocomplete||!this.autocomplete.requireSelection)&&this._onChange(o),!o)this._clearPreviousSelectedOption(null,!1);else if(this.panelOpen&&!this.autocomplete.requireSelection){let a=this.autocomplete.options?.find(s=>s.selected);if(a){let s=this._getDisplayValue(a.value);o!==s&&a.deselect(!1)}}if(this._canOpen()&&this._document.activeElement===e.target){let a=this._valueOnLastKeydown??this._element.nativeElement.value;this._valueOnLastKeydown=null,this._openPanelInternal(a)}}}_handleFocus(){this._canOpenOnNextFocus?this._canOpen()&&(this._previousValue=this._element.nativeElement.value,this._attachOverlay(this._previousValue),this._floatLabel(!0)):this._canOpenOnNextFocus=!0}_handleClick(){this._canOpen()&&!this.panelOpen&&this._openPanelInternal()}_floatLabel(e=!1){this._formField&&this._formField.floatLabel==="auto"&&(e?this._formField._animateAndLockLabel():this._formField.floatLabel="always",this._manuallyFloatingLabel=!0)}_resetLabel(){this._manuallyFloatingLabel&&(this._formField&&(this._formField.floatLabel="auto"),this._manuallyFloatingLabel=!1)}_subscribeToClosingActions(){let e=this._zone.onStable.pipe(wt(1)),i=this.autocomplete.options.changes.pipe(vt(()=>this._positionStrategy.reapplyLastPosition()),Zc(0));return Wt(e,i).pipe(Dt(()=>(this._zone.run(()=>{let o=this.panelOpen;this._resetActiveItem(),this._updatePanelState(),this._changeDetectorRef.detectChanges(),this.panelOpen&&this._overlayRef.updatePosition(),o!==this.panelOpen&&(this.panelOpen?this._emitOpened():this.autocomplete.closed.emit())}),this.panelClosingActions)),wt(1)).subscribe(o=>this._setValueAndClose(o))}_emitOpened(){this.autocomplete.opened.emit()}_destroyPanel(){this._overlayRef&&(this.closePanel(),this._overlayRef.dispose(),this._overlayRef=null)}_getDisplayValue(e){let i=this.autocomplete;return i&&i.displayWith?i.displayWith(e):e}_assignOptionValue(e){let i=this._getDisplayValue(e);e==null&&this._clearPreviousSelectedOption(null,!1),this._updateNativeInputValue(i??"")}_updateNativeInputValue(e){this._formField?this._formField._control.value=e:this._element.nativeElement.value=e,this._previousValue=e}_setValueAndClose(e){let i=this.autocomplete,o=e?e.source:this._pendingAutoselectedOption;o?(this._clearPreviousSelectedOption(o),this._assignOptionValue(o.value),this._onChange(o.value),i._emitSelectEvent(o),this._element.nativeElement.focus()):i.requireSelection&&this._element.nativeElement.value!==this._valueOnAttach&&(this._clearPreviousSelectedOption(null),this._assignOptionValue(null),i._animationDone?i._animationDone.pipe(wt(1)).subscribe(()=>this._onChange(null)):this._onChange(null)),this.closePanel()}_clearPreviousSelectedOption(e,i){this.autocomplete?.options?.forEach(o=>{o!==e&&o.selected&&o.deselect(i)})}_openPanelInternal(e=this._element.nativeElement.value){if(this._attachOverlay(e),this._floatLabel(),this._trackedModal){let i=this.autocomplete.id;Tn(this._trackedModal,"aria-owns",i)}}_attachOverlay(e){this.autocomplete;let i=this._overlayRef;i?(this._positionStrategy.setOrigin(this._getConnectedElement()),i.updateSize({width:this._getPanelWidth()})):(this._portal=new De(this.autocomplete.template,this._viewContainerRef,{id:this._formField?.getLabelId()}),i=this._overlay.create(this._getOverlayConfig()),this._overlayRef=i,this._viewportSubscription=this._viewportRuler.change().subscribe(()=>{this.panelOpen&&i&&i.updateSize({width:this._getPanelWidth()})})),i&&!i.hasAttached()&&(i.attach(this._portal),this._valueOnAttach=e,this._valueOnLastKeydown=null,this._closingActionsSubscription=this._subscribeToClosingActions());let o=this.panelOpen;this.autocomplete._isOpen=this._overlayAttached=!0,this.autocomplete._latestOpeningTrigger=this,this.autocomplete._setColor(this._formField?.color),this._updatePanelState(),this._applyModalPanelOwnership(),this.panelOpen&&o!==this.panelOpen&&this._emitOpened()}_updatePanelState(){if(this.autocomplete._setVisibility(),this.panelOpen){let e=this._overlayRef;this._keydownSubscription||(this._keydownSubscription=e.keydownEvents().subscribe(this._handlePanelKeydown)),this._outsideClickSubscription||(this._outsideClickSubscription=e.outsidePointerEvents().subscribe())}else this._keydownSubscription?.unsubscribe(),this._outsideClickSubscription?.unsubscribe(),this._keydownSubscription=this._outsideClickSubscription=null}_getOverlayConfig(){return new Qn({positionStrategy:this._getOverlayPosition(),scrollStrategy:this._scrollStrategy(),width:this._getPanelWidth(),direction:this._dir??void 0,panelClass:this._defaults?.overlayPanelClass})}_getOverlayPosition(){let e=this._overlay.position().flexibleConnectedTo(this._getConnectedElement()).withFlexibleDimensions(!1).withPush(!1);return this._setStrategyPositions(e),this._positionStrategy=e,e}_setStrategyPositions(e){let i=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"}],o=this._aboveClass,a=[{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom",panelClass:o},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom",panelClass:o}],s;this.position==="above"?s=a:this.position==="below"?s=i:s=[...i,...a],e.withPositions(s)}_getConnectedElement(){return this.connectedTo?this.connectedTo.elementRef:this._formField?this._formField.getConnectedOverlayOrigin():this._element}_getPanelWidth(){return this.autocomplete.panelWidth||this._getHostWidth()}_getHostWidth(){return this._getConnectedElement().nativeElement.getBoundingClientRect().width}_resetActiveItem(){let e=this.autocomplete;if(e.autoActiveFirstOption){let i=-1;for(let o=0;o .cdk-overlay-container [aria-modal="true"]');if(!e)return;let i=this.autocomplete.id;this._trackedModal&&Ci(this._trackedModal,"aria-owns",i),Tn(e,"aria-owns",i),this._trackedModal=e}_clearFromModal(){if(this._trackedModal){let e=this.autocomplete.id;Ci(this._trackedModal,"aria-owns",e),this._trackedModal=null}}};t.\u0275fac=function(i){return new(i||t)(d(T),d(Gt),d(Et),d(O),d(ft),d(Nf),d(kt,8),d(Ji,9),d(q,8),d(ge),d(Ff,8))},t.\u0275dir=y({type:t,selectors:[["input","matAutocomplete",""],["textarea","matAutocomplete",""]],hostAttrs:[1,"mat-mdc-autocomplete-trigger"],hostVars:7,hostBindings:function(i,o){i&1&&H("focusin",function(){return o._handleFocus()})("blur",function(){return o._onTouched()})("input",function(s){return o._handleInput(s)})("keydown",function(s){return o._handleKeydown(s)})("click",function(){return o._handleClick()}),i&2&&nt("autocomplete",o.autocompleteAttribute)("role",o.autocompleteDisabled?null:"combobox")("aria-autocomplete",o.autocompleteDisabled?null:"list")("aria-activedescendant",o.panelOpen&&o.activeOption?o.activeOption.id:null)("aria-expanded",o.autocompleteDisabled?null:o.panelOpen.toString())("aria-controls",o.autocompleteDisabled||!o.panelOpen||o.autocomplete==null?null:o.autocomplete.id)("aria-haspopup",o.autocompleteDisabled?null:"listbox")},inputs:{autocomplete:[m.None,"matAutocomplete","autocomplete"],position:[m.None,"matAutocompletePosition","position"],connectedTo:[m.None,"matAutocompleteConnectedTo","connectedTo"],autocompleteAttribute:[m.None,"autocomplete","autocompleteAttribute"],autocompleteDisabled:[m.HasDecoratorInputTransform,"matAutocompleteDisabled","autocompleteDisabled",M]},exportAs:["matAutocompleteTrigger"],standalone:!0,features:[ot([Lx]),lt,ut]});let n=t;return n})(),rs=(()=>{let t=class t{};t.\u0275fac=function(i){return new(i||t)},t.\u0275mod=W({type:t}),t.\u0275inj=$({providers:[Vx],imports:[Zn,Mn,dt,te,Fi,Mn,dt]});let n=t;return n})();function Bx(n,t){if(n&1){let r=ht();h(0,"button",7),H("click",function(){Q(r);let i=R();return X(i.text="")}),h(1,"mat-icon"),D(2,"close"),f()()}}function Hx(n,t){if(n&1&&(h(0,"mat-option",6),D(1),f()),n&2){let r=t.$implicit;E("value",r),g(),Ct(r)}}var Vc=(()=>{let t=class t{constructor(){this.control=new $e(""),this.options=[],this.filter=e=>{let i=e.toLowerCase();return this.options.filter(o=>o.toLowerCase().includes(i))}}ngOnInit(){this.setupFiltering()}ngOnChanges(e){e.options&&this.setupFiltering()}setupFiltering(){this.filteredOptions=this.control.valueChanges.pipe(Tt(""),G(e=>this.filter(e||"",this.options)))}get text(){return this.control.value||""}set text(e){this.control.setValue(e)}get lenght(){return this.text.length}};t.\u0275fac=function(i){return new(i||t)},t.\u0275cmp=j({type:t,selectors:[["receiver-input"]],inputs:{options:"options",filter:"filter"},standalone:!0,features:[ut,V],decls:11,vars:5,consts:[["auto","matAutocomplete"],[1,"example-form"],[1,"example-full-width"],["type","text","aria-label","Email","matInput","",3,"formControl","matAutocomplete"],["matSuffix","","mat-icon-button","","aria-label","Clear"],["autoActiveFirstOption",""],[3,"value"],["matSuffix","","mat-icon-button","","aria-label","Clear",3,"click"]],template:function(i,o){if(i&1&&(h(0,"form",1)(1,"mat-form-field",2)(2,"mat-label"),D(3,"Email"),f(),P(4,"input",3),F(5,Bx,3,0,"button",4),h(6,"mat-autocomplete",5,0),Kt(8,Hx,2,2,"mat-option",6,de),wd(10,"async"),f()()()),i&2){let a=Vt(7);g(4),E("formControl",o.control)("matAutocomplete",a),g(),K(5,o.text?5:-1),g(3),Jt(Cd(10,3,o.filteredOptions))}},dependencies:[Ye,Oi,Ai,qe,zn,rs,Pf,Di,jc,Mi,jn,We,Ri,Nn,lr,Nd,ee,Ge,oi,se,Ei,Xt,ae],styles:[".mat-stepper-vertical[_ngcontent-%COMP%]{margin-top:8px}.mat-mdc-form-field[_ngcontent-%COMP%]{margin-top:16px}"]});let n=t;return n})();function Ux(n,t){if(n&1){let r=ht();h(0,"button",3),H("click",function(){Q(r);let i=R();return X(i.value="")}),h(1,"mat-icon"),D(2,"close"),f()()}}var Lf=(()=>{let t=class t{constructor(){this.value="",this.label=""}};t.\u0275fac=function(i){return new(i||t)},t.\u0275cmp=j({type:t,selectors:[["clearable-input"]],inputs:{value:"value",label:"label"},standalone:!0,features:[V],decls:5,vars:3,consts:[[1,"example-form-field"],["matInput","","type","text",3,"ngModelChange","ngModel"],["matSuffix","","mat-icon-button","","aria-label","Clear"],["matSuffix","","mat-icon-button","","aria-label","Clear",3,"click"]],template:function(i,o){i&1&&(h(0,"mat-form-field",0)(1,"mat-label"),D(2),f(),h(3,"input",1),yd("ngModelChange",function(s){return vd(o.value,s)||(o.value=s),s}),f(),F(4,Ux,3,0,"button",2),f()),i&2&&(g(2),Ct(o.label),g(),_d("ngModel",o.value),g(),K(4,o.value?4:-1))},dependencies:[ee,Ai,qe,zn,Ye,Oi,Ge,We,Ri,Zl,se,Ei,Xt,ae],styles:[".mat-stepper-vertical[_ngcontent-%COMP%]{margin-top:8px}.mat-mdc-form-field[_ngcontent-%COMP%]{margin-top:16px}"]});let n=t;return n})();var jf=(()=>{let t=class t{constructor(e){this.http=e;let i=_(Qe);this.url=`${i}/receiver`}getReceiver(e){let i=new ue;return e&&(e.emailAdress&&(i=i.set("emailAdress",e?.emailAdress)),e.signature&&(i=i.set("signature",e?.signature))),this.http.get(this.url,{params:i})}getReceiverAsync(e){return Nt(this,null,function*(){return yield Re(this.getReceiver(e))})}createReceiver(e){return this.http.post(this.url,{emailAddress:e})}createReceiverAsync(e){return Nt(this,null,function*(){return yield Re(this.createReceiver(e))})}deleteReceiver(e){let i=new ue;return e.emailAdress&&(i=i.set("emailAdress",e?.emailAdress)),e.signature&&(i=i.set("signature",e?.signature)),e.id&&(i=i.set("id",e?.id.toString())),this.http.get(this.url,{params:i})}deleteReceiverAsync(e){return Nt(this,null,function*(){return yield Re(this.deleteReceiver(e))})}};t.\u0275fac=function(i){return new(i||t)(b(Ee))},t.\u0275prov=w({token:t,factory:t.\u0275fac,providedIn:"root"});let n=t;return n})();function Wx(n,t){n&1&&(h(0,"th",8),D(1," Email "),f())}function Gx(n,t){if(n&1&&(h(0,"td",9),P(1,"receiver-input",10),f()),n&2){let r=R();g(),E("options",r.receiver_mails)("filter",r.receiver_filter)}}function qx(n,t){n&1&&(h(0,"th",8),D(1," Anrede Email "),f())}function Yx(n,t){if(n&1&&(h(0,"td",9),P(1,"clearable-input",11),f()),n&2){let r=t.$implicit;g(),E("label","Anrede Email")("value",r.name)}}function Qx(n,t){n&1&&(h(0,"th",8),D(1," Zugriffscode "),f())}function Xx(n,t){if(n&1&&(h(0,"td",9),D(1),f()),n&2){let r=t.$implicit;g(),Yt(" ",r.accessCode," ")}}function Zx(n,t){n&1&&P(0,"tr",12)}function Kx(n,t){n&1&&P(0,"tr",13)}var Vf=(()=>{let t=class t{constructor(e){this.receiverService=e,this.receiver_filter=(i,o)=>{let a=i.toLowerCase();if(i.length>0&&(this.receiverInputs.at(-1)?.lenght??0)>0)this.receiverData.at(-1).accessCode=Jx(),this.receiverData.push({email:"",name:"",accessCode:""}),this.update();else if(i.length==0)for(var s=0;sl.toLowerCase().includes(a))},this.receiver_mails=[],this.receiverData=[{email:"",name:"",accessCode:""}],this.displayedColumns=["email","name","accessCode"]}ngOnInit(){return Nt(this,null,function*(){this.receiver_mails=yield this.receiverService.getReceiverAsync().then(e=>e.map(i=>i.emailAddress))})}get receiverInputs(){return this.receiverInputsQueryList?.toArray()??[]}update(){this.receiverData=[...this.receiverData]}};t.\u0275fac=function(i){return new(i||t)(d(jf))},t.\u0275cmp=j({type:t,selectors:[["receiver-table"]],viewQuery:function(i,o){if(i&1&&rt(Vc,5),i&2){let a;S(a=k())&&(o.receiverInputsQueryList=a)}},standalone:!0,features:[V],decls:12,vars:3,consts:[["mat-table","",1,"mat-elevation-z8",3,"dataSource"],["matColumnDef","email"],["mat-header-cell","",4,"matHeaderCellDef"],["mat-cell","",4,"matCellDef"],["matColumnDef","name"],["matColumnDef","accessCode"],["mat-header-row","",4,"matHeaderRowDef"],["mat-row","",4,"matRowDef","matRowDefColumns"],["mat-header-cell",""],["mat-cell",""],[3,"options","filter"],[3,"label","value"],["mat-header-row",""],["mat-row",""]],template:function(i,o){i&1&&(h(0,"table",0),Fe(1,1),F(2,Wx,2,0,"th",2)(3,Gx,2,2,"td",3),Pe(),Fe(4,4),F(5,qx,2,0,"th",2)(6,Yx,2,2,"td",3),Pe(),Fe(7,5),F(8,Qx,2,0,"th",2)(9,Xx,2,1,"td",3),Pe(),F(10,Zx,1,0,"tr",6)(11,Kx,1,0,"tr",7),f()),i&2&&(E("dataSource",o.receiverData),g(10),E("matHeaderRowDef",o.displayedColumns),g(),E("matRowDefColumns",o.displayedColumns))},dependencies:[Za,Gn,Ua,qa,$a,Ha,Ya,Wa,Ga,Qa,Xa,Ge,ee,Ye,rs,Mi,Vc,se,Xt,Lf]});let n=t;return n})();function Jx(){return crypto.randomUUID().replace(/-/g,"").substring(1,7).toUpperCase()}function tw(n,t){n&1&&D(0,"Titel & Vertragstyp")}function ew(n,t){if(n&1&&(h(0,"mat-option",7),D(1),f()),n&2){let r=t.$implicit;E("value",r.value),g(),Ct(r.viewValue)}}function iw(n,t){n&1&&D(0,"Empf\xE4nger")}function nw(n,t){n&1&&D(0,"Neues Dokument")}var zf=(()=>{let t=class t{constructor(){this.isLinear=!1,this.titelControl=new $e("",[Ie.required]),this.types=[{value:0,viewValue:"Mietvertrag"},{value:1,viewValue:"Kaufvertrag"}],this.typeControl=new $e("Mietvertrag",[Ie.required]),this.fileName=""}onFileSelected(e){let i=e.target.files[0];i&&(this.fileName=i.name,new FormData().append("thumbnail",i))}};t.\u0275fac=function(i){return new(i||t)},t.\u0275cmp=j({type:t,selectors:[["app-envelope-creation"]],inputs:{isLinear:"isLinear"},standalone:!0,features:[V],decls:46,vars:4,consts:[["stepper",""],["fileUpload",""],["orientation","vertical",3,"linear"],["matStepLabel",""],["matInput","","placeholder","Arbeitsvertrag","required","",3,"formControl"],[1,"ms-5"],["required","",3,"formControl"],[3,"value"],["mat-button","","matStepperNext",""],["mat-button","","matStepperPrevious",""],["type","file",1,"file-input",3,"change"],[1,"file-upload"],["mat-mini-fab","","color","primary",1,"upload-btn",3,"click"],["mat-button","",3,"click"]],template:function(i,o){if(i&1){let a=ht();h(0,"mat-stepper",2,0)(2,"mat-step")(3,"form"),F(4,tw,1,0,"ng-template",3),h(5,"mat-form-field")(6,"mat-label"),D(7,"Titel"),f(),P(8,"input",4),f(),h(9,"mat-form-field",5)(10,"mat-label"),D(11,"Vertragstyp"),f(),h(12,"mat-select",6),Kt(13,ew,2,2,"mat-option",7,de),f()(),h(15,"div")(16,"button",8),D(17," Next "),h(18,"mat-icon"),D(19,"arrow_forward_ios"),f()()()()(),h(20,"mat-step")(21,"form"),F(22,iw,1,0,"ng-template",3),P(23,"receiver-table"),h(24,"div")(25,"button",9),D(26,"Back"),f(),h(27,"button",8),D(28," Next "),h(29,"mat-icon"),D(30,"arrow_forward_ios"),f()()()()(),h(31,"mat-step")(32,"form"),F(33,nw,1,0,"ng-template",3),h(34,"input",10,1),H("change",function(l){return Q(a),X(o.onFileSelected(l))}),f(),h(36,"div",11),D(37),h(38,"button",12),H("click",function(){Q(a);let l=Vt(35);return X(l.click())}),h(39,"mat-icon"),D(40,"attach_file"),f()()()(),h(41,"div")(42,"button",9),D(43,"Back"),f(),h(44,"button",13),H("click",function(){Q(a);let l=Vt(1);return X(l.reset())}),D(45,"Reset"),f()()()()}i&2&&(E("linear",o.isLinear),g(8),E("formControl",o.titelControl),g(4),E("formControl",o.typeControl),g(),Jt(o.types),g(24),Yt(" ",o.fileName||"Noch keine Datei hochgeladen."," "))},dependencies:[se,ba,Qh,vf,Ec,gr,ns,bf,_f,Ge,jn,We,Ri,Nn,tc,oi,Mi,lr,ee,Ai,qe,Ye,Oi,Of,Af,Di,Vf,Xt,ae],styles:[".mat-stepper-vertical[_ngcontent-%COMP%]{margin-top:8px}.mat-mdc-form-field[_ngcontent-%COMP%]{margin-top:16px}.file-input[_ngcontent-%COMP%]{display:none}"]});let n=t;return n})();var Bf=[{path:"",component:xc,canActivate:[Ma]},{path:"login",component:Vm},{path:"envelope",component:xc,canActivate:[Ma]},{path:"envelope-creation",component:zf,canActivate:[Ma]}];var ow="@",rw=(()=>{let t=class t{constructor(e,i,o,a,s){this.doc=e,this.delegate=i,this.zone=o,this.animationType=a,this.moduleImpl=s,this._rendererFactoryPromise=null,this.scheduler=_(pd,{optional:!0})}ngOnDestroy(){this._engine?.flush()}loadImpl(){return(this.moduleImpl??import("./chunk-RQJ2DFZW.js")).catch(i=>{throw new gt(5300,!1)}).then(({\u0275createEngine:i,\u0275AnimationRendererFactory:o})=>{this._engine=i(this.animationType,this.doc,this.scheduler);let a=new o(this.delegate,this._engine,this.zone);return this.delegate=a,a})}createRenderer(e,i){let o=this.delegate.createRenderer(e,i);if(o.\u0275type===0)return o;typeof o.throwOnSyntheticProps=="boolean"&&(o.throwOnSyntheticProps=!1);let a=new zc(o);return i?.data?.animation&&!this._rendererFactoryPromise&&(this._rendererFactoryPromise=this.loadImpl()),this._rendererFactoryPromise?.then(s=>{let l=s.createRenderer(e,i);a.use(l)}).catch(s=>{a.use(o)}),a}begin(){this.delegate.begin?.()}end(){this.delegate.end?.()}whenRenderingDone(){return this.delegate.whenRenderingDone?.()??Promise.resolve()}};t.\u0275fac=function(i){dn()},t.\u0275prov=w({token:t,factory:t.\u0275fac});let n=t;return n})(),zc=class{constructor(t){this.delegate=t,this.replay=[],this.\u0275type=1}use(t){if(this.delegate=t,this.replay!==null){for(let r of this.replay)r(t);this.replay=null}}get data(){return this.delegate.data}destroy(){this.replay=null,this.delegate.destroy()}createElement(t,r){return this.delegate.createElement(t,r)}createComment(t){return this.delegate.createComment(t)}createText(t){return this.delegate.createText(t)}get destroyNode(){return this.delegate.destroyNode}appendChild(t,r){this.delegate.appendChild(t,r)}insertBefore(t,r,e,i){this.delegate.insertBefore(t,r,e,i)}removeChild(t,r,e){this.delegate.removeChild(t,r,e)}selectRootElement(t,r){return this.delegate.selectRootElement(t,r)}parentNode(t){return this.delegate.parentNode(t)}nextSibling(t){return this.delegate.nextSibling(t)}setAttribute(t,r,e,i){this.delegate.setAttribute(t,r,e,i)}removeAttribute(t,r,e){this.delegate.removeAttribute(t,r,e)}addClass(t,r){this.delegate.addClass(t,r)}removeClass(t,r){this.delegate.removeClass(t,r)}setStyle(t,r,e,i){this.delegate.setStyle(t,r,e,i)}removeStyle(t,r,e){this.delegate.removeStyle(t,r,e)}setProperty(t,r,e){this.shouldReplay(r)&&this.replay.push(i=>i.setProperty(t,r,e)),this.delegate.setProperty(t,r,e)}setValue(t,r){this.delegate.setValue(t,r)}listen(t,r,e){return this.shouldReplay(r)&&this.replay.push(i=>i.listen(t,r,e)),this.delegate.listen(t,r,e)}shouldReplay(t){return this.replay!==null&&t.startsWith(ow)}};function Hf(n="animations"){return wr("NgAsyncAnimations"),ui([{provide:xr,useFactory:(t,r,e)=>new rw(t,r,e,n),deps:[q,Nr,O]},{provide:Rt,useValue:n==="noop"?"NoopAnimations":"BrowserAnimations"}])}var Bc=(()=>{let t=class t{constructor(){this.document=_(q),this.meta=_(gu)}getBaseHref(){return this.document.querySelector("base")?.getAttribute("href")||"/"}getApiUrl(){let e=this.meta.getTag('name="api-url"');return e?e.content:null}};t.\u0275fac=function(i){return new(i||t)},t.\u0275prov=w({token:t,factory:t.\u0275fac,providedIn:"root"});let n=t;return n})();var Uf=(()=>{let t=class t{intercept(e,i){let o=e.clone({withCredentials:!0,setHeaders:x({"X-Insecure-Request":"true","Content-Type":"application/json"},e.headers.keys().reduce((a,s)=>(a[s]=e.headers.get(s)||"",a),{}))});return i.handle(o)}};t.\u0275fac=function(i){return new(i||t)},t.\u0275prov=w({token:t,factory:t.\u0275fac});let n=t;return n})();var $f={providers:[sh(Bf),_u(),Hf(),au(su()),{provide:Ad,useFactory:n=>n.getBaseHref(),deps:[Bc]},{provide:Qe,useFactory:n=>n.getApiUrl(),deps:[Bc]},{provide:tu,useClass:Uf,multi:!0}]};var Wf=(()=>{let t=class t{};t.\u0275fac=function(i){return new(i||t)},t.\u0275mod=W({type:t}),t.\u0275inj=$({imports:[ua,dt,dt]});let n=t;return n})();var aw=["switch"],sw=["*"];function lw(n,t){n&1&&(h(0,"div",10),Ze(),h(1,"svg",12),P(2,"path",13),f(),h(3,"svg",14),P(4,"path",15),f()())}var cw=new C("mat-slide-toggle-default-options",{providedIn:"root",factory:()=>({disableToggleValue:!1,hideIcon:!1})}),dw={provide:ki,useExisting:jt(()=>Gf),multi:!0},as=class{constructor(t,r){this.source=t,this.checked=r}},uw=0,Gf=(()=>{let t=class t{_createChangeEvent(e){return new as(this,e)}get buttonId(){return`${this.id||this._uniqueId}-button`}focus(){this._switchElement.nativeElement.focus()}get checked(){return this._checked}set checked(e){this._checked=e,this._changeDetectorRef.markForCheck()}get inputId(){return`${this.id||this._uniqueId}-input`}constructor(e,i,o,a,s,l){this._elementRef=e,this._focusMonitor=i,this._changeDetectorRef=o,this.defaults=s,this._onChange=c=>{},this._onTouched=()=>{},this._validatorOnChange=()=>{},this._checked=!1,this.name=null,this.labelPosition="after",this.ariaLabel=null,this.ariaLabelledby=null,this.disabled=!1,this.disableRipple=!1,this.tabIndex=0,this.change=new z,this.toggleChange=new z,this.tabIndex=parseInt(a)||0,this.color=s.color||"accent",this._noopAnimations=l==="NoopAnimations",this.id=this._uniqueId=`mat-mdc-slide-toggle-${++uw}`,this.hideIcon=s.hideIcon??!1,this._labelId=this._uniqueId+"-label"}ngAfterContentInit(){this._focusMonitor.monitor(this._elementRef,!0).subscribe(e=>{e==="keyboard"||e==="program"?(this._focused=!0,this._changeDetectorRef.markForCheck()):e||Promise.resolve().then(()=>{this._focused=!1,this._onTouched(),this._changeDetectorRef.markForCheck()})})}ngOnChanges(e){e.required&&this._validatorOnChange()}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef)}writeValue(e){this.checked=!!e}registerOnChange(e){this._onChange=e}registerOnTouched(e){this._onTouched=e}validate(e){return this.required&&e.value!==!0?{required:!0}:null}registerOnValidatorChange(e){this._validatorOnChange=e}setDisabledState(e){this.disabled=e,this._changeDetectorRef.markForCheck()}toggle(){this.checked=!this.checked,this._onChange(this.checked)}_emitChangeEvent(){this._onChange(this.checked),this.change.emit(this._createChangeEvent(this.checked))}_handleClick(){this.toggleChange.emit(),this.defaults.disableToggleValue||(this.checked=!this.checked,this._onChange(this.checked),this.change.emit(new as(this,this.checked)))}_getAriaLabelledBy(){return this.ariaLabelledby?this.ariaLabelledby:this.ariaLabel?null:this._labelId}};t.\u0275fac=function(i){return new(i||t)(d(T),d(Je),d(ft),ve("tabindex"),d(cw),d(Rt,8))},t.\u0275cmp=j({type:t,selectors:[["mat-slide-toggle"]],viewQuery:function(i,o){if(i&1&&rt(aw,5),i&2){let a;S(a=k())&&(o._switchElement=a.first)}},hostAttrs:[1,"mat-mdc-slide-toggle"],hostVars:13,hostBindings:function(i,o){i&2&&(ie("id",o.id),nt("tabindex",null)("aria-label",null)("name",null)("aria-labelledby",null),qt(o.color?"mat-"+o.color:""),B("mat-mdc-slide-toggle-focused",o._focused)("mat-mdc-slide-toggle-checked",o.checked)("_mat-animation-noopable",o._noopAnimations))},inputs:{name:"name",id:"id",labelPosition:"labelPosition",ariaLabel:[m.None,"aria-label","ariaLabel"],ariaLabelledby:[m.None,"aria-labelledby","ariaLabelledby"],ariaDescribedby:[m.None,"aria-describedby","ariaDescribedby"],required:[m.HasDecoratorInputTransform,"required","required",M],color:"color",disabled:[m.HasDecoratorInputTransform,"disabled","disabled",M],disableRipple:[m.HasDecoratorInputTransform,"disableRipple","disableRipple",M],tabIndex:[m.HasDecoratorInputTransform,"tabIndex","tabIndex",e=>e==null?0:ye(e)],checked:[m.HasDecoratorInputTransform,"checked","checked",M],hideIcon:[m.HasDecoratorInputTransform,"hideIcon","hideIcon",M]},outputs:{change:"change",toggleChange:"toggleChange"},exportAs:["matSlideToggle"],standalone:!0,features:[ot([dw,{provide:Ti,useExisting:t,multi:!0}]),lt,ut,V],ngContentSelectors:sw,decls:13,vars:24,consts:[["switch",""],["mat-internal-form-field","",3,"labelPosition"],["role","switch","type","button",1,"mdc-switch",3,"click","tabIndex","disabled"],[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"],[1,"mdc-switch__icons"],[1,"mdc-label",3,"click","for"],["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(i,o){if(i&1){let a=ht();mt(),h(0,"div",1)(1,"button",2,0),H("click",function(){return Q(a),X(o._handleClick())}),P(3,"div",3),h(4,"div",4)(5,"div",5)(6,"div",6),P(7,"div",7),f(),h(8,"div",8),P(9,"div",9),f(),F(10,lw,5,0,"div",10),f()()(),h(11,"label",11),H("click",function(l){return Q(a),X(l.stopPropagation())}),J(12),f()()}if(i&2){let a=Vt(2);E("labelPosition",o.labelPosition),g(),B("mdc-switch--selected",o.checked)("mdc-switch--unselected",!o.checked)("mdc-switch--checked",o.checked)("mdc-switch--disabled",o.disabled),E("tabIndex",o.disabled?-1:o.tabIndex)("disabled",o.disabled),nt("id",o.buttonId)("name",o.name)("aria-label",o.ariaLabel)("aria-labelledby",o._getAriaLabelledBy())("aria-describedby",o.ariaDescribedby)("aria-required",o.required||null)("aria-checked",o.checked),g(8),E("matRippleTrigger",a)("matRippleDisabled",o.disableRipple||o.disabled)("matRippleCentered",!0),g(),K(10,o.hideIcon?-1:10),g(),E("for",o.buttonId),nt("id",o._labelId)}},dependencies:[ei,Vh],styles:['.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)}.mat-mdc-slide-toggle .mdc-switch--disabled+label{color:var(--mdc-switch-disabled-label-text-color)}.mdc-switch{width:var(--mdc-switch-track-width)}.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 .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{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}.mdc-switch__handle{transition:width 75ms cubic-bezier(0.4, 0, 0.2, 1),height 75ms cubic-bezier(0.4, 0, 0.2, 1),margin 75ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-switch--selected .mdc-switch__track::before{opacity:var(--mat-switch-hidden-track-opacity);transition:var(--mat-switch-hidden-track-transition)}.mdc-switch--selected .mdc-switch__track::after{opacity:var(--mat-switch-visible-track-opacity);transition:var(--mat-switch-visible-track-transition)}.mdc-switch--unselected .mdc-switch__track::before{opacity:var(--mat-switch-visible-track-opacity);transition:var(--mat-switch-visible-track-transition)}.mdc-switch--unselected .mdc-switch__track::after{opacity:var(--mat-switch-hidden-track-opacity);transition:var(--mat-switch-hidden-track-transition)}.mat-mdc-slide-toggle .mdc-switch--unselected .mdc-switch__handle{width:var(--mat-switch-unselected-handle-size);height:var(--mat-switch-unselected-handle-size)}.mat-mdc-slide-toggle .mdc-switch--selected .mdc-switch__handle{width:var(--mat-switch-selected-handle-size);height:var(--mat-switch-selected-handle-size)}.mat-mdc-slide-toggle .mdc-switch__handle:has(.mdc-switch__icons){width:var(--mat-switch-with-icon-handle-size);height:var(--mat-switch-with-icon-handle-size)}.mat-mdc-slide-toggle:active .mdc-switch:not(.mdc-switch--disabled) .mdc-switch__handle{width:var(--mat-switch-pressed-handle-size);height:var(--mat-switch-pressed-handle-size)}.mat-mdc-slide-toggle .mdc-switch--selected .mdc-switch__handle{margin:var(--mat-switch-selected-handle-horizontal-margin)}.mat-mdc-slide-toggle .mdc-switch--selected .mdc-switch__handle:has(.mdc-switch__icons){margin:var(--mat-switch-selected-with-icon-handle-horizontal-margin)}.mat-mdc-slide-toggle .mdc-switch--unselected .mdc-switch__handle{margin:var(--mat-switch-unselected-handle-horizontal-margin)}.mat-mdc-slide-toggle .mdc-switch--unselected .mdc-switch__handle:has(.mdc-switch__icons){margin:var(--mat-switch-unselected-with-icon-handle-horizontal-margin)}.mat-mdc-slide-toggle:active .mdc-switch--selected:not(.mdc-switch--disabled) .mdc-switch__handle{margin:var(--mat-switch-selected-pressed-handle-horizontal-margin)}.mat-mdc-slide-toggle:active .mdc-switch--unselected:not(.mdc-switch--disabled) .mdc-switch__handle{margin:var(--mat-switch-unselected-pressed-handle-horizontal-margin)}.mdc-switch__track::after,.mdc-switch__track::before{border-width:var(--mat-switch-track-outline-width);border-color:var(--mat-switch-track-outline-color)}.mdc-switch--selected .mdc-switch__track::after,.mdc-switch--selected .mdc-switch__track::before{border-width:var(--mat-switch-selected-track-outline-width)}.mdc-switch--disabled .mdc-switch__track::after,.mdc-switch--disabled .mdc-switch__track::before{border-width:var(--mat-switch-disabled-unselected-track-outline-width);border-color:var(--mat-switch-disabled-unselected-track-outline-color)}.mdc-switch--disabled.mdc-switch--selected .mdc-switch__handle::after{opacity:var(--mat-switch-disabled-selected-handle-opacity)}.mdc-switch--disabled.mdc-switch--unselected .mdc-switch__handle::after{opacity:var(--mat-switch-disabled-unselected-handle-opacity)}'],encapsulation:2,changeDetection:0});let n=t;return n})();var qf=(()=>{let t=class t{};t.\u0275fac=function(i){return new(i||t)},t.\u0275mod=W({type:t}),t.\u0275inj=$({imports:[Gf,dt,dt]});let n=t;return n})();var hw=["tooltip"],Xf=20;var Zf=new C("mat-tooltip-scroll-strategy",{providedIn:"root",factory:()=>{let n=_(Gt);return()=>n.scrollStrategies.reposition({scrollThrottle:Xf})}});function mw(n){return()=>n.scrollStrategies.reposition({scrollThrottle:Xf})}var fw={provide:Zf,deps:[Gt],useFactory:mw};function pw(){return{showDelay:0,hideDelay:0,touchendHideDelay:1500}}var gw=new C("mat-tooltip-default-options",{providedIn:"root",factory:pw});var Yf="tooltip-panel",Qf=we({passive:!0}),bw=8,_w=8,vw=24,yw=200,Kf=(()=>{let t=class t{get position(){return this._position}set position(e){e!==this._position&&(this._position=e,this._overlayRef&&(this._updatePosition(this._overlayRef),this._tooltipInstance?.show(0),this._overlayRef.updatePosition()))}get positionAtOrigin(){return this._positionAtOrigin}set positionAtOrigin(e){this._positionAtOrigin=ze(e),this._detach(),this._overlayRef=null}get disabled(){return this._disabled}set disabled(e){this._disabled=ze(e),this._disabled?this.hide(0):this._setupPointerEnterEventsIfNeeded()}get showDelay(){return this._showDelay}set showDelay(e){this._showDelay=wi(e)}get hideDelay(){return this._hideDelay}set hideDelay(e){this._hideDelay=wi(e),this._tooltipInstance&&(this._tooltipInstance._mouseLeaveHideDelay=this._hideDelay)}get message(){return this._message}set message(e){this._ariaDescriber.removeDescription(this._elementRef.nativeElement,this._message,"tooltip"),this._message=e!=null?String(e).trim():"",!this._message&&this._isTooltipVisible()?this.hide(0):(this._setupPointerEnterEventsIfNeeded(),this._updateTooltipMessage(),this._ngZone.runOutsideAngular(()=>{Promise.resolve().then(()=>{this._ariaDescriber.describe(this._elementRef.nativeElement,this.message,"tooltip")})}))}get tooltipClass(){return this._tooltipClass}set tooltipClass(e){this._tooltipClass=e,this._tooltipInstance&&this._setTooltipClass(this._tooltipClass)}constructor(e,i,o,a,s,l,c,u,p,v,I,L){this._overlay=e,this._elementRef=i,this._scrollDispatcher=o,this._viewContainerRef=a,this._ngZone=s,this._platform=l,this._ariaDescriber=c,this._focusMonitor=u,this._dir=v,this._defaultOptions=I,this._position="below",this._positionAtOrigin=!1,this._disabled=!1,this._viewInitialized=!1,this._pointerExitEventsInitialized=!1,this._tooltipComponent=xw,this._viewportMargin=8,this._cssClassPrefix="mat-mdc",this.touchGestures="auto",this._message="",this._passiveListeners=[],this._destroyed=new N,this._scrollStrategy=p,this._document=L,I&&(this._showDelay=I.showDelay,this._hideDelay=I.hideDelay,I.position&&(this.position=I.position),I.positionAtOrigin&&(this.positionAtOrigin=I.positionAtOrigin),I.touchGestures&&(this.touchGestures=I.touchGestures)),v.change.pipe(Z(this._destroyed)).subscribe(()=>{this._overlayRef&&this._updatePosition(this._overlayRef)}),this._viewportMargin=bw}ngAfterViewInit(){this._viewInitialized=!0,this._setupPointerEnterEventsIfNeeded(),this._focusMonitor.monitor(this._elementRef).pipe(Z(this._destroyed)).subscribe(e=>{e?e==="keyboard"&&this._ngZone.run(()=>this.show()):this._ngZone.run(()=>this.hide(0))})}ngOnDestroy(){let e=this._elementRef.nativeElement;clearTimeout(this._touchstartTimeout),this._overlayRef&&(this._overlayRef.dispose(),this._tooltipInstance=null),this._passiveListeners.forEach(([i,o])=>{e.removeEventListener(i,o,Qf)}),this._passiveListeners.length=0,this._destroyed.next(),this._destroyed.complete(),this._ariaDescriber.removeDescription(e,this.message,"tooltip"),this._focusMonitor.stopMonitoring(e)}show(e=this.showDelay,i){if(this.disabled||!this.message||this._isTooltipVisible()){this._tooltipInstance?._cancelPendingAnimations();return}let o=this._createOverlay(i);this._detach(),this._portal=this._portal||new pr(this._tooltipComponent,this._viewContainerRef);let a=this._tooltipInstance=o.attach(this._portal).instance;a._triggerElement=this._elementRef.nativeElement,a._mouseLeaveHideDelay=this._hideDelay,a.afterHidden().pipe(Z(this._destroyed)).subscribe(()=>this._detach()),this._setTooltipClass(this._tooltipClass),this._updateTooltipMessage(),a.show(e)}hide(e=this.hideDelay){let i=this._tooltipInstance;i&&(i.isVisible()?i.hide(e):(i._cancelPendingAnimations(),this._detach()))}toggle(e){this._isTooltipVisible()?this.hide():this.show(void 0,e)}_isTooltipVisible(){return!!this._tooltipInstance&&this._tooltipInstance.isVisible()}_createOverlay(e){if(this._overlayRef){let a=this._overlayRef.getConfig().positionStrategy;if((!this.positionAtOrigin||!e)&&a._origin instanceof T)return this._overlayRef;this._detach()}let i=this._scrollDispatcher.getAncestorScrollContainers(this._elementRef),o=this._overlay.position().flexibleConnectedTo(this.positionAtOrigin?e||this._elementRef:this._elementRef).withTransformOriginOn(`.${this._cssClassPrefix}-tooltip`).withFlexibleDimensions(!1).withViewportMargin(this._viewportMargin).withScrollableContainers(i);return o.positionChanges.pipe(Z(this._destroyed)).subscribe(a=>{this._updateCurrentPositionClass(a.connectionPair),this._tooltipInstance&&a.scrollableViewProperties.isOverlayClipped&&this._tooltipInstance.isVisible()&&this._ngZone.run(()=>this.hide(0))}),this._overlayRef=this._overlay.create({direction:this._dir,positionStrategy:o,panelClass:`${this._cssClassPrefix}-${Yf}`,scrollStrategy:this._scrollStrategy()}),this._updatePosition(this._overlayRef),this._overlayRef.detachments().pipe(Z(this._destroyed)).subscribe(()=>this._detach()),this._overlayRef.outsidePointerEvents().pipe(Z(this._destroyed)).subscribe(()=>this._tooltipInstance?._handleBodyInteraction()),this._overlayRef.keydownEvents().pipe(Z(this._destroyed)).subscribe(a=>{this._isTooltipVisible()&&a.keyCode===27&&!Lt(a)&&(a.preventDefault(),a.stopPropagation(),this._ngZone.run(()=>this.hide(0)))}),this._defaultOptions?.disableTooltipInteractivity&&this._overlayRef.addPanelClass(`${this._cssClassPrefix}-tooltip-panel-non-interactive`),this._overlayRef}_detach(){this._overlayRef&&this._overlayRef.hasAttached()&&this._overlayRef.detach(),this._tooltipInstance=null}_updatePosition(e){let i=e.getConfig().positionStrategy,o=this._getOrigin(),a=this._getOverlayPosition();i.withPositions([this._addOffset(x(x({},o.main),a.main)),this._addOffset(x(x({},o.fallback),a.fallback))])}_addOffset(e){let i=_w,o=!this._dir||this._dir.value=="ltr";return e.originY==="top"?e.offsetY=-i:e.originY==="bottom"?e.offsetY=i:e.originX==="start"?e.offsetX=o?-i:i:e.originX==="end"&&(e.offsetX=o?i:-i),e}_getOrigin(){let e=!this._dir||this._dir.value=="ltr",i=this.position,o;i=="above"||i=="below"?o={originX:"center",originY:i=="above"?"top":"bottom"}:i=="before"||i=="left"&&e||i=="right"&&!e?o={originX:"start",originY:"center"}:(i=="after"||i=="right"&&e||i=="left"&&!e)&&(o={originX:"end",originY:"center"});let{x:a,y:s}=this._invertPosition(o.originX,o.originY);return{main:o,fallback:{originX:a,originY:s}}}_getOverlayPosition(){let e=!this._dir||this._dir.value=="ltr",i=this.position,o;i=="above"?o={overlayX:"center",overlayY:"bottom"}:i=="below"?o={overlayX:"center",overlayY:"top"}:i=="before"||i=="left"&&e||i=="right"&&!e?o={overlayX:"end",overlayY:"center"}:(i=="after"||i=="right"&&e||i=="left"&&!e)&&(o={overlayX:"start",overlayY:"center"});let{x:a,y:s}=this._invertPosition(o.overlayX,o.overlayY);return{main:o,fallback:{overlayX:a,overlayY:s}}}_updateTooltipMessage(){this._tooltipInstance&&(this._tooltipInstance.message=this.message,this._tooltipInstance._markForCheck(),this._ngZone.onMicrotaskEmpty.pipe(wt(1),Z(this._destroyed)).subscribe(()=>{this._tooltipInstance&&this._overlayRef.updatePosition()}))}_setTooltipClass(e){this._tooltipInstance&&(this._tooltipInstance.tooltipClass=e,this._tooltipInstance._markForCheck())}_invertPosition(e,i){return this.position==="above"||this.position==="below"?i==="top"?i="bottom":i==="bottom"&&(i="top"):e==="end"?e="start":e==="start"&&(e="end"),{x:e,y:i}}_updateCurrentPositionClass(e){let{overlayY:i,originX:o,originY:a}=e,s;if(i==="center"?this._dir&&this._dir.value==="rtl"?s=o==="end"?"left":"right":s=o==="start"?"left":"right":s=i==="bottom"&&a==="top"?"above":"below",s!==this._currentPosition){let l=this._overlayRef;if(l){let c=`${this._cssClassPrefix}-${Yf}-`;l.removePanelClass(c+this._currentPosition),l.addPanelClass(c+s)}this._currentPosition=s}}_setupPointerEnterEventsIfNeeded(){this._disabled||!this.message||!this._viewInitialized||this._passiveListeners.length||(this._platformSupportsMouseEvents()?this._passiveListeners.push(["mouseenter",e=>{this._setupPointerExitEventsIfNeeded();let i;e.x!==void 0&&e.y!==void 0&&(i=e),this.show(void 0,i)}]):this.touchGestures!=="off"&&(this._disableNativeGesturesIfNecessary(),this._passiveListeners.push(["touchstart",e=>{let i=e.targetTouches?.[0],o=i?{x:i.clientX,y:i.clientY}:void 0;this._setupPointerExitEventsIfNeeded(),clearTimeout(this._touchstartTimeout);let a=500;this._touchstartTimeout=setTimeout(()=>this.show(void 0,o),this._defaultOptions.touchLongPressShowDelay??a)}])),this._addListeners(this._passiveListeners))}_setupPointerExitEventsIfNeeded(){if(this._pointerExitEventsInitialized)return;this._pointerExitEventsInitialized=!0;let e=[];if(this._platformSupportsMouseEvents())e.push(["mouseleave",i=>{let o=i.relatedTarget;(!o||!this._overlayRef?.overlayElement.contains(o))&&this.hide()}],["wheel",i=>this._wheelListener(i)]);else if(this.touchGestures!=="off"){this._disableNativeGesturesIfNecessary();let i=()=>{clearTimeout(this._touchstartTimeout),this.hide(this._defaultOptions.touchendHideDelay)};e.push(["touchend",i],["touchcancel",i])}this._addListeners(e),this._passiveListeners.push(...e)}_addListeners(e){e.forEach(([i,o])=>{this._elementRef.nativeElement.addEventListener(i,o,Qf)})}_platformSupportsMouseEvents(){return!this._platform.IOS&&!this._platform.ANDROID}_wheelListener(e){if(this._isTooltipVisible()){let i=this._document.elementFromPoint(e.clientX,e.clientY),o=this._elementRef.nativeElement;i!==o&&!o.contains(i)&&this.hide()}}_disableNativeGesturesIfNecessary(){let e=this.touchGestures;if(e!=="off"){let i=this._elementRef.nativeElement,o=i.style;(e==="on"||i.nodeName!=="INPUT"&&i.nodeName!=="TEXTAREA")&&(o.userSelect=o.msUserSelect=o.webkitUserSelect=o.MozUserSelect="none"),(e==="on"||!i.draggable)&&(o.webkitUserDrag="none"),o.touchAction="none",o.webkitTapHighlightColor="transparent"}}};t.\u0275fac=function(i){return new(i||t)(d(Gt),d(T),d($n),d(Et),d(O),d(at),d(Eh),d(Je),d(Zf),d(kt),d(gw,8),d(q))},t.\u0275dir=y({type:t,selectors:[["","matTooltip",""]],hostAttrs:[1,"mat-mdc-tooltip-trigger"],hostVars:2,hostBindings:function(i,o){i&2&&B("mat-mdc-tooltip-disabled",o.disabled)},inputs:{position:[m.None,"matTooltipPosition","position"],positionAtOrigin:[m.None,"matTooltipPositionAtOrigin","positionAtOrigin"],disabled:[m.None,"matTooltipDisabled","disabled"],showDelay:[m.None,"matTooltipShowDelay","showDelay"],hideDelay:[m.None,"matTooltipHideDelay","hideDelay"],touchGestures:[m.None,"matTooltipTouchGestures","touchGestures"],message:[m.None,"matTooltip","message"],tooltipClass:[m.None,"matTooltipClass","tooltipClass"]},exportAs:["matTooltip"],standalone:!0});let n=t;return n})(),xw=(()=>{let t=class t{constructor(e,i,o){this._changeDetectorRef=e,this._elementRef=i,this._isMultiline=!1,this._closeOnInteraction=!1,this._isVisible=!1,this._onHide=new N,this._showAnimation="mat-mdc-tooltip-show",this._hideAnimation="mat-mdc-tooltip-hide",this._animationsDisabled=o==="NoopAnimations"}show(e){this._hideTimeoutId!=null&&clearTimeout(this._hideTimeoutId),this._showTimeoutId=setTimeout(()=>{this._toggleVisibility(!0),this._showTimeoutId=void 0},e)}hide(e){this._showTimeoutId!=null&&clearTimeout(this._showTimeoutId),this._hideTimeoutId=setTimeout(()=>{this._toggleVisibility(!1),this._hideTimeoutId=void 0},e)}afterHidden(){return this._onHide}isVisible(){return this._isVisible}ngOnDestroy(){this._cancelPendingAnimations(),this._onHide.complete(),this._triggerElement=null}_handleBodyInteraction(){this._closeOnInteraction&&this.hide(0)}_markForCheck(){this._changeDetectorRef.markForCheck()}_handleMouseLeave({relatedTarget:e}){(!e||!this._triggerElement.contains(e))&&(this.isVisible()?this.hide(this._mouseLeaveHideDelay):this._finalizeAnimation(!1))}_onShow(){this._isMultiline=this._isTooltipMultiline(),this._markForCheck()}_isTooltipMultiline(){let e=this._elementRef.nativeElement.getBoundingClientRect();return e.height>vw&&e.width>=yw}_handleAnimationEnd({animationName:e}){(e===this._showAnimation||e===this._hideAnimation)&&this._finalizeAnimation(e===this._showAnimation)}_cancelPendingAnimations(){this._showTimeoutId!=null&&clearTimeout(this._showTimeoutId),this._hideTimeoutId!=null&&clearTimeout(this._hideTimeoutId),this._showTimeoutId=this._hideTimeoutId=void 0}_finalizeAnimation(e){e?this._closeOnInteraction=!0:this.isVisible()||this._onHide.next()}_toggleVisibility(e){let i=this._tooltip.nativeElement,o=this._showAnimation,a=this._hideAnimation;if(i.classList.remove(e?a:o),i.classList.add(e?o:a),this._isVisible!==e&&(this._isVisible=e,this._changeDetectorRef.markForCheck()),e&&!this._animationsDisabled&&typeof getComputedStyle=="function"){let s=getComputedStyle(i);(s.getPropertyValue("animation-duration")==="0s"||s.getPropertyValue("animation-name")==="none")&&(this._animationsDisabled=!0)}e&&this._onShow(),this._animationsDisabled&&(i.classList.add("_mat-animation-noopable"),this._finalizeAnimation(e))}};t.\u0275fac=function(i){return new(i||t)(d(ft),d(T),d(Rt,8))},t.\u0275cmp=j({type:t,selectors:[["mat-tooltip-component"]],viewQuery:function(i,o){if(i&1&&rt(hw,7),i&2){let a;S(a=k())&&(o._tooltip=a.first)}},hostAttrs:["aria-hidden","true"],hostVars:2,hostBindings:function(i,o){i&1&&H("mouseleave",function(s){return o._handleMouseLeave(s)}),i&2&&zi("zoom",o.isVisible()?1:null)},standalone:!0,features:[V],decls:4,vars:4,consts:[["tooltip",""],[1,"mdc-tooltip","mdc-tooltip--shown","mat-mdc-tooltip",3,"animationend","ngClass"],[1,"mdc-tooltip__surface","mdc-tooltip__surface-animation"]],template:function(i,o){if(i&1){let a=ht();h(0,"div",1,0),H("animationend",function(l){return Q(a),X(o._handleAnimationEnd(l))}),h(2,"div",2),D(3),f()()}i&2&&(B("mdc-tooltip--multiline",o._isMultiline),E("ngClass",o.tooltipClass),g(3),Ct(o.message))},dependencies:[hn],styles:['.mdc-tooltip__surface{word-break:break-all;word-break:var(--mdc-tooltip-word-break, normal);overflow-wrap:anywhere}.mdc-tooltip--showing-transition .mdc-tooltip__surface-animation{transition:opacity 150ms 0ms cubic-bezier(0, 0, 0.2, 1),transform 150ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mdc-tooltip--hide-transition .mdc-tooltip__surface-animation{transition:opacity 75ms 0ms cubic-bezier(0.4, 0, 1, 1)}.mdc-tooltip{position:fixed;display:none;z-index:9}.mdc-tooltip-wrapper--rich{position:relative}.mdc-tooltip--shown,.mdc-tooltip--showing,.mdc-tooltip--hide{display:inline-flex}.mdc-tooltip--shown.mdc-tooltip--rich,.mdc-tooltip--showing.mdc-tooltip--rich,.mdc-tooltip--hide.mdc-tooltip--rich{display:inline-block;left:-320px;position:absolute}.mdc-tooltip__surface{line-height:16px;padding:4px 8px;min-width:40px;max-width:200px;min-height:24px;max-height:40vh;box-sizing:border-box;overflow:hidden;text-align:center}.mdc-tooltip__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-tooltip__surface::before{border-color:CanvasText}}.mdc-tooltip--rich .mdc-tooltip__surface{align-items:flex-start;display:flex;flex-direction:column;min-height:24px;min-width:40px;max-width:320px;position:relative}.mdc-tooltip--multiline .mdc-tooltip__surface{text-align:left}[dir=rtl] .mdc-tooltip--multiline .mdc-tooltip__surface,.mdc-tooltip--multiline .mdc-tooltip__surface[dir=rtl]{text-align:right}.mdc-tooltip__surface .mdc-tooltip__title{margin:0 8px}.mdc-tooltip__surface .mdc-tooltip__content{max-width:calc(200px - 2*8px);margin:8px;text-align:left}[dir=rtl] .mdc-tooltip__surface .mdc-tooltip__content,.mdc-tooltip__surface .mdc-tooltip__content[dir=rtl]{text-align:right}.mdc-tooltip--rich .mdc-tooltip__surface .mdc-tooltip__content{max-width:calc(320px - 2*8px);align-self:stretch}.mdc-tooltip__surface .mdc-tooltip__content-link{text-decoration:none}.mdc-tooltip--rich-actions,.mdc-tooltip__content,.mdc-tooltip__title{z-index:1}.mdc-tooltip__surface-animation{opacity:0;transform:scale(0.8);will-change:transform,opacity}.mdc-tooltip--shown .mdc-tooltip__surface-animation{transform:scale(1);opacity:1}.mdc-tooltip--hide .mdc-tooltip__surface-animation{transform:scale(1)}.mdc-tooltip__caret-surface-top,.mdc-tooltip__caret-surface-bottom{position:absolute;height:24px;width:24px;transform:rotate(35deg) skewY(20deg) scaleX(0.9396926208)}.mdc-tooltip__caret-surface-top .mdc-elevation-overlay,.mdc-tooltip__caret-surface-bottom .mdc-elevation-overlay{width:100%;height:100%;top:0;left:0}.mdc-tooltip__caret-surface-bottom{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);outline:1px solid rgba(0,0,0,0);z-index:-1}@media screen and (forced-colors: active){.mdc-tooltip__caret-surface-bottom{outline-color:CanvasText}}.mat-mdc-tooltip .mdc-tooltip__surface{background-color:var(--mdc-plain-tooltip-container-color)}.mat-mdc-tooltip .mdc-tooltip__surface{border-radius:var(--mdc-plain-tooltip-container-shape)}.mat-mdc-tooltip .mdc-tooltip__caret-surface-top,.mat-mdc-tooltip .mdc-tooltip__caret-surface-bottom{border-radius:var(--mdc-plain-tooltip-container-shape)}.mat-mdc-tooltip .mdc-tooltip__surface{color:var(--mdc-plain-tooltip-supporting-text-color)}.mat-mdc-tooltip .mdc-tooltip__surface{font-family:var(--mdc-plain-tooltip-supporting-text-font);line-height:var(--mdc-plain-tooltip-supporting-text-line-height);font-size:var(--mdc-plain-tooltip-supporting-text-size);font-weight:var(--mdc-plain-tooltip-supporting-text-weight);letter-spacing:var(--mdc-plain-tooltip-supporting-text-tracking)}.mat-mdc-tooltip{position:relative;transform:scale(0)}.mat-mdc-tooltip::before{content:"";top:0;right:0;bottom:0;left:0;z-index:-1;position:absolute}.mat-mdc-tooltip-panel-below .mat-mdc-tooltip::before{top:-8px}.mat-mdc-tooltip-panel-above .mat-mdc-tooltip::before{bottom:-8px}.mat-mdc-tooltip-panel-right .mat-mdc-tooltip::before{left:-8px}.mat-mdc-tooltip-panel-left .mat-mdc-tooltip::before{right:-8px}.mat-mdc-tooltip._mat-animation-noopable{animation:none;transform:scale(1)}.mat-mdc-tooltip-panel.mat-mdc-tooltip-panel-non-interactive{pointer-events:none}@keyframes mat-mdc-tooltip-show{0%{opacity:0;transform:scale(0.8)}100%{opacity:1;transform:scale(1)}}@keyframes mat-mdc-tooltip-hide{0%{opacity:1;transform:scale(1)}100%{opacity:0;transform:scale(0.8)}}.mat-mdc-tooltip-show{animation:mat-mdc-tooltip-show 150ms cubic-bezier(0, 0, 0.2, 1) forwards}.mat-mdc-tooltip-hide{animation:mat-mdc-tooltip-hide 75ms cubic-bezier(0.4, 0, 1, 1) forwards}'],encapsulation:2,changeDetection:0});let n=t;return n})();var Jf=(()=>{let t=class t{};t.\u0275fac=function(i){return new(i||t)},t.\u0275mod=W({type:t}),t.\u0275inj=$({providers:[fw],imports:[ua,te,Zn,dt,dt,Fi]});let n=t;return n})();var ww=()=>["/"],Cw=n=>({show:n}),Iw=()=>["link-active"],Dw=()=>({exact:!0});function Ew(n,t){if(n&1){let r=ht();h(0,"div",8)(1,"ul",9)(2,"li",10)(3,"button",11),H("click",function(){Q(r);let i=R();return X(i.router.navigate(["/"]))}),h(4,"mat-icon"),D(5,"mail"),f(),h(6,"span",12),D(7,"Umschl\xE4ge"),f()(),h(8,"button",11),H("click",function(){Q(r);let i=R();return X(i.router.navigate(["/envelope-creation"]))}),h(9,"mat-icon"),D(10,"forward_to_inbox"),f(),h(11,"span",12),D(12,"Neuer Umschlag"),f()()()()()}if(n&2){let r=R();E("ngClass",Ne(3,Cw,r.isExpanded)),g(2),E("routerLinkActive",fi(5,Iw))("routerLinkActiveOptions",fi(6,Dw))}}function Sw(n,t){n&1&&(h(0,"mat-icon"),D(1,"logout"),f(),h(2,"span",13),D(3,"Abmelden"),f())}function kw(n,t){n&1&&(h(0,"mat-icon"),D(1,"login"),f(),h(2,"span",13),D(3,"Anmelden"),f())}var tp=(()=>{let t=class t{isLogedIn(){return this.authService.IsAuthenticated}logInOut(){return Nt(this,null,function*(){if(this.isLogedIn())return this.authService.logoutAsync().then(()=>{this.router.navigate(["/"])});this.router.navigate(["/login"])})}constructor(e,i){this.router=e,this.authService=i,this.isExpanded=!1,this.isChecked=!0}get isDarkTheme(){return!1}collapse(){this.isExpanded=!1}toggle(){this.isExpanded=!this.isExpanded}};t.\u0275fac=function(i){return new(i||t)(d(Qt),d(Bn))},t.\u0275cmp=j({type:t,selectors:[["app-navbar"]],viewQuery:function(i,o){if(i&1&&rt(Kf,5),i&2){let a;S(a=k())&&(o.tooltips=a)}},standalone:!0,features:[V],decls:12,vars:5,consts:[[1,"navbar","navbar-expand-lg","bg-body-tertiary","fs-5"],[1,"container-fluid"],[1,"navbar-brand","fs-2","fw-bold",3,"routerLink"],["class","navbar-collapse collapse d-sm-inline-flex justify-content-center",3,"ngClass",4,"ngIf"],[1,"navbar-collapse","justify-content-end","me-5"],["type","button","data-toggle","collapse","data-target",".navbar-collapse","aria-label","Toggle navigation",1,"navbar-toggler",3,"click"],[1,"navbar-toggler-icon"],["type","button",1,"fs-5","btn","d-flex","align-items-center","ms-2","me-0","pe-0",3,"click"],[1,"navbar-collapse","collapse","d-sm-inline-flex","justify-content-center",3,"ngClass"],[1,"navbar-nav","flex-grow"],[1,"nav-item",3,"routerLinkActive","routerLinkActiveOptions"],[1,"btn","nav-link","d-inline-flex","flex-column","align-items-center","justify-content-center","mx-2",3,"click"],[1,"fs-6"],[1,"fs-6","ms-1"]],template:function(i,o){i&1&&(h(0,"header")(1,"nav",0)(2,"div",1)(3,"a",2),D(4,"SignFlow"),f(),F(5,Ew,13,7,"div",3),h(6,"div",4)(7,"button",5),H("click",function(){return o.toggle()}),P(8,"span",6),f(),h(9,"button",7),H("click",function(){return o.logInOut()}),F(10,Sw,4,0)(11,kw,4,0),f()()()()()),i&2&&(g(3),E("routerLink",fi(4,ww)),g(2),E("ngIf",o.isLogedIn()),g(2),nt("aria-expanded",o.isExpanded),g(3),K(10,o.isLogedIn()?10:11))},dependencies:[hh,Jr,rh,te,hn,Pd,Xt,ae,Wf,qf,Ge,se,Jf],styles:["mat-toolbar[_ngcontent-%COMP%]{height:4rem}"]});let n=t;return n})();var ep=(()=>{let t=class t{};t.\u0275fac=function(i){return new(i||t)},t.\u0275cmp=j({type:t,selectors:[["app-root"]],standalone:!0,features:[V],decls:3,vars:0,template:function(i,o){i&1&&(P(0,"app-navbar"),h(1,"main"),P(2,"router-outlet"),f())},dependencies:[ml,tp],styles:["main[_ngcontent-%COMP%]{width:100%;min-height:calc(100% - 4rem);padding:0;margin:0;display:grid}router-outlet[_ngcontent-%COMP%]{display:none}"]});let n=t;return n})();pu(ep,$f).catch(n=>console.error(n));