diff --git a/index.html b/index.html index 91f35a4..3376dd0 100644 --- a/index.html +++ b/index.html @@ -12,5 +12,5 @@ - + diff --git a/main-RLWXSDAP.js b/main-KJQCPHTT.js similarity index 87% rename from main-RLWXSDAP.js rename to main-KJQCPHTT.js index c35c3e5..89403d4 100644 --- a/main-RLWXSDAP.js +++ b/main-KJQCPHTT.js @@ -1,5 +1,5 @@ -import{$ as f,$a as sa,$b as hn,A as Dr,Aa as $e,Ab as ua,B as Ft,Ba as Le,Bb as fa,C as ze,Ca as ci,Cb as Q,D as Ji,Da as ia,Db as te,E as Er,Ea as di,Eb as ui,F as be,Fa as D,Fb as sn,G as Gs,Ga as h,Gb as ma,H as en,Ha as Tr,Hb as an,I as Nt,Ia as Re,Ib as ln,J as Ke,Ja as na,Jb as cn,K as Sr,Ka as Or,Kb as Pr,L as qs,La as nn,Lb as Vt,M as Ys,Ma as rn,Mb as Lr,N as Rr,Na as Fr,Nb as Se,O as Ir,Oa as I,Ob as mt,P as Qe,Pa as Oe,Pb as pa,Q as xe,Qa as Nr,Qb as G,R as U,Ra as q,Rb as pt,S as Zs,Sa as ae,Sb as ga,T as re,Ta as ra,Tb as jt,U as Y,Ua as oa,Ub as _a,V as si,Va as on,Vb as va,W as v,Wa as j,Wb as L,X as T,Xa as he,Xb as Bt,Y as Xs,Ya as Z,Yb as dn,Z as w,Za as lt,Zb as ya,_ as kr,_a as ne,_b as ba,a as g,aa as _,ab as aa,ac as xa,b as ie,ba as ai,bb as W,bc as wa,ca as m,cb as la,cc as Ca,d as Ee,da as ee,db as ca,dc as Ge,e as Us,ea as O,eb as y,ec as Da,f as Ue,fa as C,fb as x,fc as Ea,g as Cr,ga as Ks,gb as X,gc as Vr,h as ni,ha as st,hb as ct,hc as un,i as k,ia as Qs,ib as dt,j as ue,ja as Pt,jb as fe,k as Ze,ka as He,kb as ht,kc as fi,l as ve,la as we,lb as hi,lc as mi,m as E,ma as Me,mb as me,n as ri,na as Te,nb as H,nc as gt,o as Ot,oa as li,ob as Fe,oc as fn,p as zs,pa as Js,pb as K,pc as Ut,q as A,qa as de,qb as da,qc as Sa,r as ot,ra as Lt,rb as oe,rc as Ra,s as Ae,sa as at,sb as pe,t as Qi,ta as Ar,tb as N,u as oi,ua as F,ub as P,v as Hs,va as z,vb as ut,w as $s,wa as Mr,wb as le,x as Ws,xa as ea,xb as We,y as Xe,ya as tn,yb as ft,z as ce,za as ta,zb as ha}from"./chunk-R7W3RWW5.js";var gi=class{},pn=class{},_t=class i{constructor(e){this.normalizedNames=new Map,this.lazyUpdate=null,e?typeof e=="string"?this.lazyInit=()=>{this.headers=new Map,e.split(` -`).forEach(r=>{let t=r.indexOf(":");if(t>0){let n=r.slice(0,t),o=n.toLowerCase(),s=r.slice(t+1).trim();this.maybeSetNormalizedName(n,o),this.headers.has(o)?this.headers.get(o).push(s):this.headers.set(o,[s])}})}:typeof Headers<"u"&&e instanceof Headers?(this.headers=new Map,e.forEach((r,t)=>{this.setHeaderEntries(t,r)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(e).forEach(([r,t])=>{this.setHeaderEntries(r,t)})}:this.headers=new Map}has(e){return this.init(),this.headers.has(e.toLowerCase())}get(e){this.init();let r=this.headers.get(e.toLowerCase());return r&&r.length>0?r[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(e){return this.init(),this.headers.get(e.toLowerCase())||null}append(e,r){return this.clone({name:e,value:r,op:"a"})}set(e,r){return this.clone({name:e,value:r,op:"s"})}delete(e,r){return this.clone({name:e,value:r,op:"d"})}maybeSetNormalizedName(e,r){this.normalizedNames.has(r)||this.normalizedNames.set(r,e)}init(){this.lazyInit&&(this.lazyInit instanceof i?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(e=>this.applyUpdate(e)),this.lazyUpdate=null))}copyFrom(e){e.init(),Array.from(e.headers.keys()).forEach(r=>{this.headers.set(r,e.headers.get(r)),this.normalizedNames.set(r,e.normalizedNames.get(r))})}clone(e){let r=new i;return r.lazyInit=this.lazyInit&&this.lazyInit instanceof i?this.lazyInit:this,r.lazyUpdate=(this.lazyUpdate||[]).concat([e]),r}applyUpdate(e){let r=e.name.toLowerCase();switch(e.op){case"a":case"s":let t=e.value;if(typeof t=="string"&&(t=[t]),t.length===0)return;this.maybeSetNormalizedName(e.name,r);let n=(e.op==="a"?this.headers.get(r):void 0)||[];n.push(...t),this.headers.set(r,n);break;case"d":let o=e.value;if(!o)this.headers.delete(r),this.normalizedNames.delete(r);else{let s=this.headers.get(r);if(!s)return;s=s.filter(a=>o.indexOf(a)===-1),s.length===0?(this.headers.delete(r),this.normalizedNames.delete(r)):this.headers.set(r,s)}break}}setHeaderEntries(e,r){let t=(Array.isArray(r)?r:[r]).map(o=>o.toString()),n=e.toLowerCase();this.headers.set(n,t),this.maybeSetNormalizedName(e,n)}forEach(e){this.init(),Array.from(this.normalizedNames.keys()).forEach(r=>e(this.normalizedNames.get(r),this.headers.get(r)))}};var Br=class{encodeKey(e){return Ia(e)}encodeValue(e){return Ia(e)}decodeKey(e){return decodeURIComponent(e)}decodeValue(e){return decodeURIComponent(e)}};function Ld(i,e){let r=new Map;return i.length>0&&i.replace(/^\?/,"").split("&").forEach(n=>{let o=n.indexOf("="),[s,a]=o==-1?[e.decodeKey(n),""]:[e.decodeKey(n.slice(0,o)),e.decodeValue(n.slice(o+1))],c=r.get(s)||[];c.push(a),r.set(s,c)}),r}var Vd=/%(\d[a-f0-9])/gi,jd={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function Ia(i){return encodeURIComponent(i).replace(Vd,(e,r)=>jd[r]??e)}function mn(i){return`${i}`}var Je=class i{constructor(e={}){if(this.updates=null,this.cloneFrom=null,this.encoder=e.encoder||new Br,e.fromString){if(e.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=Ld(e.fromString,this.encoder)}else e.fromObject?(this.map=new Map,Object.keys(e.fromObject).forEach(r=>{let t=e.fromObject[r],n=Array.isArray(t)?t.map(mn):[mn(t)];this.map.set(r,n)})):this.map=null}has(e){return this.init(),this.map.has(e)}get(e){this.init();let r=this.map.get(e);return r?r[0]:null}getAll(e){return this.init(),this.map.get(e)||null}keys(){return this.init(),Array.from(this.map.keys())}append(e,r){return this.clone({param:e,value:r,op:"a"})}appendAll(e){let r=[];return Object.keys(e).forEach(t=>{let n=e[t];Array.isArray(n)?n.forEach(o=>{r.push({param:t,value:o,op:"a"})}):r.push({param:t,value:n,op:"a"})}),this.clone(r)}set(e,r){return this.clone({param:e,value:r,op:"s"})}delete(e,r){return this.clone({param:e,value:r,op:"d"})}toString(){return this.init(),this.keys().map(e=>{let r=this.encoder.encodeKey(e);return this.map.get(e).map(t=>r+"="+this.encoder.encodeValue(t)).join("&")}).filter(e=>e!=="").join("&")}clone(e){let r=new i({encoder:this.encoder});return r.cloneFrom=this.cloneFrom||this,r.updates=(this.updates||[]).concat(e),r}init(){this.map===null&&(this.map=new Map),this.cloneFrom!==null&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(e=>this.map.set(e,this.cloneFrom.map.get(e))),this.updates.forEach(e=>{switch(e.op){case"a":case"s":let r=(e.op==="a"?this.map.get(e.param):void 0)||[];r.push(mn(e.value)),this.map.set(e.param,r);break;case"d":if(e.value!==void 0){let t=this.map.get(e.param)||[],n=t.indexOf(mn(e.value));n!==-1&&t.splice(n,1),t.length>0?this.map.set(e.param,t):this.map.delete(e.param)}else{this.map.delete(e.param);break}}}),this.cloneFrom=this.updates=null)}};var Ur=class{constructor(){this.map=new Map}set(e,r){return this.map.set(e,r),this}get(e){return this.map.has(e)||this.map.set(e,e.defaultValue()),this.map.get(e)}delete(e){return this.map.delete(e),this}has(e){return this.map.has(e)}keys(){return this.map.keys()}};function Bd(i){switch(i){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}function ka(i){return typeof ArrayBuffer<"u"&&i instanceof ArrayBuffer}function Aa(i){return typeof Blob<"u"&&i instanceof Blob}function Ma(i){return typeof FormData<"u"&&i instanceof FormData}function Ud(i){return typeof URLSearchParams<"u"&&i instanceof URLSearchParams}var pi=class i{constructor(e,r,t,n){this.url=r,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=e.toUpperCase();let o;if(Bd(this.method)||n?(this.body=t!==void 0?t:null,o=n):o=t,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 _t,this.context??=new Ur,!this.params)this.params=new Je,this.urlWithParams=r;else{let s=this.params.toString();if(s.length===0)this.urlWithParams=r;else{let a=r.indexOf("?"),c=a===-1?"?":ap.set(b,e.setHeaders[b]),l)),e.setParams&&(d=Object.keys(e.setParams).reduce((p,b)=>p.set(b,e.setParams[b]),d)),new i(r,t,s,{params:d,headers:l,context:u,reportProgress:c,responseType:n,withCredentials:a,transferCache:o})}},zt=function(i){return i[i.Sent=0]="Sent",i[i.UploadProgress=1]="UploadProgress",i[i.ResponseHeader=2]="ResponseHeader",i[i.DownloadProgress=3]="DownloadProgress",i[i.Response=4]="Response",i[i.User=5]="User",i}(zt||{}),_i=class{constructor(e,r=vn.Ok,t="OK"){this.headers=e.headers||new _t,this.status=e.status!==void 0?e.status:r,this.statusText=e.statusText||t,this.url=e.url||null,this.ok=this.status>=200&&this.status<300}},zr=class i extends _i{constructor(e={}){super(e),this.type=zt.ResponseHeader}clone(e={}){return new i({headers:e.headers||this.headers,status:e.status!==void 0?e.status:this.status,statusText:e.statusText||this.statusText,url:e.url||this.url||void 0})}},gn=class i extends _i{constructor(e={}){super(e),this.type=zt.Response,this.body=e.body!==void 0?e.body:null}clone(e={}){return new i({body:e.body!==void 0?e.body:this.body,headers:e.headers||this.headers,status:e.status!==void 0?e.status:this.status,statusText:e.statusText||this.statusText,url:e.url||this.url||void 0})}},_n=class extends _i{constructor(e){super(e,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.status>=200&&this.status<300?this.message=`Http failure during parsing for ${e.url||"(unknown url)"}`:this.message=`Http failure response for ${e.url||"(unknown url)"}: ${e.status} ${e.statusText}`,this.error=e.error||null}},vn=function(i){return i[i.Continue=100]="Continue",i[i.SwitchingProtocols=101]="SwitchingProtocols",i[i.Processing=102]="Processing",i[i.EarlyHints=103]="EarlyHints",i[i.Ok=200]="Ok",i[i.Created=201]="Created",i[i.Accepted=202]="Accepted",i[i.NonAuthoritativeInformation=203]="NonAuthoritativeInformation",i[i.NoContent=204]="NoContent",i[i.ResetContent=205]="ResetContent",i[i.PartialContent=206]="PartialContent",i[i.MultiStatus=207]="MultiStatus",i[i.AlreadyReported=208]="AlreadyReported",i[i.ImUsed=226]="ImUsed",i[i.MultipleChoices=300]="MultipleChoices",i[i.MovedPermanently=301]="MovedPermanently",i[i.Found=302]="Found",i[i.SeeOther=303]="SeeOther",i[i.NotModified=304]="NotModified",i[i.UseProxy=305]="UseProxy",i[i.Unused=306]="Unused",i[i.TemporaryRedirect=307]="TemporaryRedirect",i[i.PermanentRedirect=308]="PermanentRedirect",i[i.BadRequest=400]="BadRequest",i[i.Unauthorized=401]="Unauthorized",i[i.PaymentRequired=402]="PaymentRequired",i[i.Forbidden=403]="Forbidden",i[i.NotFound=404]="NotFound",i[i.MethodNotAllowed=405]="MethodNotAllowed",i[i.NotAcceptable=406]="NotAcceptable",i[i.ProxyAuthenticationRequired=407]="ProxyAuthenticationRequired",i[i.RequestTimeout=408]="RequestTimeout",i[i.Conflict=409]="Conflict",i[i.Gone=410]="Gone",i[i.LengthRequired=411]="LengthRequired",i[i.PreconditionFailed=412]="PreconditionFailed",i[i.PayloadTooLarge=413]="PayloadTooLarge",i[i.UriTooLong=414]="UriTooLong",i[i.UnsupportedMediaType=415]="UnsupportedMediaType",i[i.RangeNotSatisfiable=416]="RangeNotSatisfiable",i[i.ExpectationFailed=417]="ExpectationFailed",i[i.ImATeapot=418]="ImATeapot",i[i.MisdirectedRequest=421]="MisdirectedRequest",i[i.UnprocessableEntity=422]="UnprocessableEntity",i[i.Locked=423]="Locked",i[i.FailedDependency=424]="FailedDependency",i[i.TooEarly=425]="TooEarly",i[i.UpgradeRequired=426]="UpgradeRequired",i[i.PreconditionRequired=428]="PreconditionRequired",i[i.TooManyRequests=429]="TooManyRequests",i[i.RequestHeaderFieldsTooLarge=431]="RequestHeaderFieldsTooLarge",i[i.UnavailableForLegalReasons=451]="UnavailableForLegalReasons",i[i.InternalServerError=500]="InternalServerError",i[i.NotImplemented=501]="NotImplemented",i[i.BadGateway=502]="BadGateway",i[i.ServiceUnavailable=503]="ServiceUnavailable",i[i.GatewayTimeout=504]="GatewayTimeout",i[i.HttpVersionNotSupported=505]="HttpVersionNotSupported",i[i.VariantAlsoNegotiates=506]="VariantAlsoNegotiates",i[i.InsufficientStorage=507]="InsufficientStorage",i[i.LoopDetected=508]="LoopDetected",i[i.NotExtended=510]="NotExtended",i[i.NetworkAuthenticationRequired=511]="NetworkAuthenticationRequired",i}(vn||{});function jr(i,e){return{body:e,headers:i.headers,context:i.context,observe:i.observe,params:i.params,reportProgress:i.reportProgress,responseType:i.responseType,withCredentials:i.withCredentials,transferCache:i.transferCache}}var Hr=(()=>{let e=class e{constructor(t){this.handler=t}request(t,n,o={}){let s;if(t instanceof pi)s=t;else{let l;o.headers instanceof _t?l=o.headers:l=new _t(o.headers);let d;o.params&&(o.params instanceof Je?d=o.params:d=new Je({fromObject:o.params})),s=new pi(t,n,o.body!==void 0?o.body:null,{headers:l,context:o.context,params:d,reportProgress:o.reportProgress,responseType:o.responseType||"json",withCredentials:o.withCredentials,transferCache:o.transferCache})}let a=E(s).pipe(ze(l=>this.handler.handle(l)));if(t instanceof pi||o.observe==="events")return a;let c=a.pipe(ce(l=>l instanceof gn));switch(o.observe||"body"){case"body":switch(s.responseType){case"arraybuffer":return c.pipe(A(l=>{if(l.body!==null&&!(l.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return l.body}));case"blob":return c.pipe(A(l=>{if(l.body!==null&&!(l.body instanceof Blob))throw new Error("Response is not a Blob.");return l.body}));case"text":return c.pipe(A(l=>{if(l.body!==null&&typeof l.body!="string")throw new Error("Response is not a string.");return l.body}));case"json":default:return c.pipe(A(l=>l.body))}case"response":return c;default:throw new Error(`Unreachable: unhandled observe type ${o.observe}}`)}}delete(t,n={}){return this.request("DELETE",t,n)}get(t,n={}){return this.request("GET",t,n)}head(t,n={}){return this.request("HEAD",t,n)}jsonp(t,n){return this.request("JSONP",t,{params:new Je().append(n,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(t,n={}){return this.request("OPTIONS",t,n)}patch(t,n,o={}){return this.request("PATCH",t,jr(o,n))}post(t,n,o={}){return this.request("POST",t,jr(o,n))}put(t,n,o={}){return this.request("PUT",t,jr(o,n))}};e.\u0275fac=function(n){return new(n||e)(f(gi))},e.\u0275prov=v({token:e,factory:e.\u0275fac});let i=e;return i})();function zd(i,e){return e(i)}function Hd(i,e,r){return(t,n)=>He(r,()=>e(t,o=>i(o,n)))}var Na=new w(""),$d=new w(""),Wd=new w("");var Ta=(()=>{let e=class e extends gi{constructor(t,n){super(),this.backend=t,this.injector=n,this.chain=null,this.pendingTasks=_(on);let o=_(Wd,{optional:!0});this.backend=o??t}handle(t){if(this.chain===null){let o=Array.from(new Set([...this.injector.get(Na),...this.injector.get($d,[])]));this.chain=o.reduceRight((s,a)=>Hd(s,a,this.injector),zd)}let n=this.pendingTasks.add();return this.chain(t,o=>this.backend.handle(o)).pipe(Nt(()=>this.pendingTasks.remove(n)))}};e.\u0275fac=function(n){return new(n||e)(f(pn),f(Pt))},e.\u0275prov=v({token:e,factory:e.\u0275fac});let i=e;return i})();var Gd=/^\)\]\}',?\n/;function qd(i){return"responseURL"in i&&i.responseURL?i.responseURL:/^X-Request-URL:/m.test(i.getAllResponseHeaders())?i.getResponseHeader("X-Request-URL"):null}var Oa=(()=>{let e=class e{constructor(t){this.xhrFactory=t}handle(t){if(t.method==="JSONP")throw new Y(-2800,!1);let n=this.xhrFactory;return(n.\u0275loadImpl?ve(n.\u0275loadImpl()):E(null)).pipe(xe(()=>new Ue(s=>{let a=n.build();if(a.open(t.method,t.urlWithParams),t.withCredentials&&(a.withCredentials=!0),t.headers.forEach((S,R)=>a.setRequestHeader(S,R.join(","))),t.headers.has("Accept")||a.setRequestHeader("Accept","application/json, text/plain, */*"),!t.headers.has("Content-Type")){let S=t.detectContentTypeHeader();S!==null&&a.setRequestHeader("Content-Type",S)}if(t.responseType){let S=t.responseType.toLowerCase();a.responseType=S!=="json"?S:"text"}let c=t.serializeBody(),l=null,d=()=>{if(l!==null)return l;let S=a.statusText||"OK",R=new _t(a.getAllResponseHeaders()),Ce=qd(a)||t.url;return l=new zr({headers:R,status:a.status,statusText:S,url:Ce}),l},u=()=>{let{headers:S,status:R,statusText:Ce,url:Bs}=d(),De=null;R!==vn.NoContent&&(De=typeof a.response>"u"?a.responseText:a.response),R===0&&(R=De?vn.Ok:0);let wr=R>=200&&R<300;if(t.responseType==="json"&&typeof De=="string"){let Td=De;De=De.replace(Gd,"");try{De=De!==""?JSON.parse(De):null}catch(Od){De=Td,wr&&(wr=!1,De={error:Od,text:De})}}wr?(s.next(new gn({body:De,headers:S,status:R,statusText:Ce,url:Bs||void 0})),s.complete()):s.error(new _n({error:De,headers:S,status:R,statusText:Ce,url:Bs||void 0}))},p=S=>{let{url:R}=d(),Ce=new _n({error:S,status:a.status||0,statusText:a.statusText||"Unknown Error",url:R||void 0});s.error(Ce)},b=!1,B=S=>{b||(s.next(d()),b=!0);let R={type:zt.DownloadProgress,loaded:S.loaded};S.lengthComputable&&(R.total=S.total),t.responseType==="text"&&a.responseText&&(R.partialText=a.responseText),s.next(R)},V=S=>{let R={type:zt.UploadProgress,loaded:S.loaded};S.lengthComputable&&(R.total=S.total),s.next(R)};return a.addEventListener("load",u),a.addEventListener("error",p),a.addEventListener("timeout",p),a.addEventListener("abort",p),t.reportProgress&&(a.addEventListener("progress",B),c!==null&&a.upload&&a.upload.addEventListener("progress",V)),a.send(c),s.next({type:zt.Sent}),()=>{a.removeEventListener("error",p),a.removeEventListener("abort",p),a.removeEventListener("load",u),a.removeEventListener("timeout",p),t.reportProgress&&(a.removeEventListener("progress",B),c!==null&&a.upload&&a.upload.removeEventListener("progress",V)),a.readyState!==a.DONE&&a.abort()}})))}};e.\u0275fac=function(n){return new(n||e)(f(un))},e.\u0275prov=v({token:e,factory:e.\u0275fac});let i=e;return i})(),Pa=new w(""),Yd="XSRF-TOKEN",Zd=new w("",{providedIn:"root",factory:()=>Yd}),Xd="X-XSRF-TOKEN",Kd=new w("",{providedIn:"root",factory:()=>Xd}),yn=class{},Qd=(()=>{let e=class e{constructor(t,n,o){this.doc=t,this.platform=n,this.cookieName=o,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if(this.platform==="server")return null;let t=this.doc.cookie||"";return t!==this.lastCookieString&&(this.parseCount++,this.lastToken=dn(t,this.cookieName),this.lastCookieString=t),this.lastToken}};e.\u0275fac=function(n){return new(n||e)(f(L),f($e),f(Zd))},e.\u0275prov=v({token:e,factory:e.\u0275fac});let i=e;return i})();function Jd(i,e){let r=i.url.toLowerCase();if(!_(Pa)||i.method==="GET"||i.method==="HEAD"||r.startsWith("http://")||r.startsWith("https://"))return e(i);let t=_(yn).getToken(),n=_(Kd);return t!=null&&!i.headers.has(n)&&(i=i.clone({headers:i.headers.set(n,t)})),e(i)}function La(...i){let e=[Hr,Oa,Ta,{provide:gi,useExisting:Ta},{provide:pn,useExisting:Oa},{provide:Na,useValue:Jd,multi:!0},{provide:Pa,useValue:!0},{provide:yn,useClass:Qd}];for(let r of i)e.push(...r.\u0275providers);return st(e)}var Gr=class extends va{constructor(){super(...arguments),this.supportsDOMEvents=!0}},qr=class i extends Gr{static makeCurrent(){_a(new i)}onAndCancel(e,r,t){return e.addEventListener(r,t),()=>{e.removeEventListener(r,t)}}dispatchEvent(e,r){e.dispatchEvent(r)}remove(e){e.parentNode&&e.parentNode.removeChild(e)}createElement(e,r){return r=r||this.getDefaultDocument(),r.createElement(e)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(e){return e.nodeType===Node.ELEMENT_NODE}isShadowRoot(e){return e instanceof DocumentFragment}getGlobalEventTarget(e,r){return r==="window"?window:r==="document"?e:r==="body"?e.body:null}getBaseHref(e){let r=ih();return r==null?null:nh(r)}resetBaseElement(){vi=null}getUserAgent(){return window.navigator.userAgent}getCookie(e){return dn(document.cookie,e)}},vi=null;function ih(){return vi=vi||document.querySelector("base"),vi?vi.getAttribute("href"):null}function nh(i){return new URL(i,document.baseURI).pathname}var rh=(()=>{let e=class e{build(){return new XMLHttpRequest}};e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=v({token:e,factory:e.\u0275fac});let i=e;return i})(),Yr=new w(""),Ba=(()=>{let e=class e{constructor(t,n){this._zone=n,this._eventNameToPlugin=new Map,t.forEach(o=>{o.manager=this}),this._plugins=t.slice().reverse()}addEventListener(t,n,o){return this._findPluginFor(n).addEventListener(t,n,o)}getZone(){return this._zone}_findPluginFor(t){let n=this._eventNameToPlugin.get(t);if(n)return n;if(n=this._plugins.find(s=>s.supports(t)),!n)throw new Y(5101,!1);return this._eventNameToPlugin.set(t,n),n}};e.\u0275fac=function(n){return new(n||e)(f(Yr),f(I))},e.\u0275prov=v({token:e,factory:e.\u0275fac});let i=e;return i})(),bn=class{constructor(e){this._doc=e}},$r="ng-app-id",Ua=(()=>{let e=class e{constructor(t,n,o,s={}){this.doc=t,this.appId=n,this.nonce=o,this.platformId=s,this.styleRef=new Map,this.hostNodes=new Set,this.styleNodesInDOM=this.collectServerRenderedStyles(),this.platformIsServer=Vr(s),this.resetHostNodes()}addStyles(t){for(let n of t)this.changeUsageCount(n,1)===1&&this.onStyleAdded(n)}removeStyles(t){for(let n of t)this.changeUsageCount(n,-1)<=0&&this.onStyleRemoved(n)}ngOnDestroy(){let t=this.styleNodesInDOM;t&&(t.forEach(n=>n.remove()),t.clear());for(let n of this.getAllStyles())this.onStyleRemoved(n);this.resetHostNodes()}addHost(t){this.hostNodes.add(t);for(let n of this.getAllStyles())this.addStyleToHost(t,n)}removeHost(t){this.hostNodes.delete(t)}getAllStyles(){return this.styleRef.keys()}onStyleAdded(t){for(let n of this.hostNodes)this.addStyleToHost(n,t)}onStyleRemoved(t){let n=this.styleRef;n.get(t)?.elements?.forEach(o=>o.remove()),n.delete(t)}collectServerRenderedStyles(){let t=this.doc.head?.querySelectorAll(`style[${$r}="${this.appId}"]`);if(t?.length){let n=new Map;return t.forEach(o=>{o.textContent!=null&&n.set(o.textContent,o)}),n}return null}changeUsageCount(t,n){let o=this.styleRef;if(o.has(t)){let s=o.get(t);return s.usage+=n,s.usage}return o.set(t,{usage:n,elements:[]}),n}getStyleElement(t,n){let o=this.styleNodesInDOM,s=o?.get(n);if(s?.parentNode===t)return o.delete(n),s.removeAttribute($r),s;{let a=this.doc.createElement("style");return this.nonce&&a.setAttribute("nonce",this.nonce),a.textContent=n,this.platformIsServer&&a.setAttribute($r,this.appId),t.appendChild(a),a}}addStyleToHost(t,n){let o=this.getStyleElement(t,n),s=this.styleRef,a=s.get(n)?.elements;a?a.push(o):s.set(n,{elements:[o],usage:1})}resetHostNodes(){let t=this.hostNodes;t.clear(),t.add(this.doc.head)}};e.\u0275fac=function(n){return new(n||e)(f(L),f(tn),f(ci,8),f($e))},e.\u0275prov=v({token:e,factory:e.\u0275fac});let i=e;return i})(),Wr={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/"},Kr=/%COMP%/g,za="%COMP%",oh=`_nghost-${za}`,sh=`_ngcontent-${za}`,ah=!0,lh=new w("",{providedIn:"root",factory:()=>ah});function ch(i){return sh.replace(Kr,i)}function dh(i){return oh.replace(Kr,i)}function Ha(i,e){return e.map(r=>r.replace(Kr,i))}var xn=(()=>{let e=class e{constructor(t,n,o,s,a,c,l,d=null){this.eventManager=t,this.sharedStylesHost=n,this.appId=o,this.removeStylesOnCompDestroy=s,this.doc=a,this.platformId=c,this.ngZone=l,this.nonce=d,this.rendererByCompId=new Map,this.platformIsServer=Vr(c),this.defaultRenderer=new yi(t,a,l,this.platformIsServer)}createRenderer(t,n){if(!t||!n)return this.defaultRenderer;this.platformIsServer&&n.encapsulation===ai.ShadowDom&&(n=ie(g({},n),{encapsulation:ai.Emulated}));let o=this.getOrCreateRenderer(t,n);return o instanceof wn?o.applyToHost(t):o instanceof bi&&o.applyStyles(),o}getOrCreateRenderer(t,n){let o=this.rendererByCompId,s=o.get(n.id);if(!s){let a=this.doc,c=this.ngZone,l=this.eventManager,d=this.sharedStylesHost,u=this.removeStylesOnCompDestroy,p=this.platformIsServer;switch(n.encapsulation){case ai.Emulated:s=new wn(l,d,n,this.appId,u,a,c,p);break;case ai.ShadowDom:return new Zr(l,d,t,n,a,c,this.nonce,p);default:s=new bi(l,d,n,u,a,c,p);break}o.set(n.id,s)}return s}ngOnDestroy(){this.rendererByCompId.clear()}};e.\u0275fac=function(n){return new(n||e)(f(Ba),f(Ua),f(tn),f(lh),f(L),f($e),f(I),f(ci))},e.\u0275prov=v({token:e,factory:e.\u0275fac});let i=e;return i})(),yi=class{constructor(e,r,t,n){this.eventManager=e,this.doc=r,this.ngZone=t,this.platformIsServer=n,this.data=Object.create(null),this.throwOnSyntheticProps=!0,this.destroyNode=null}destroy(){}createElement(e,r){return r?this.doc.createElementNS(Wr[r]||r,e):this.doc.createElement(e)}createComment(e){return this.doc.createComment(e)}createText(e){return this.doc.createTextNode(e)}appendChild(e,r){(Va(e)?e.content:e).appendChild(r)}insertBefore(e,r,t){e&&(Va(e)?e.content:e).insertBefore(r,t)}removeChild(e,r){e&&e.removeChild(r)}selectRootElement(e,r){let t=typeof e=="string"?this.doc.querySelector(e):e;if(!t)throw new Y(-5104,!1);return r||(t.textContent=""),t}parentNode(e){return e.parentNode}nextSibling(e){return e.nextSibling}setAttribute(e,r,t,n){if(n){r=n+":"+r;let o=Wr[n];o?e.setAttributeNS(o,r,t):e.setAttribute(r,t)}else e.setAttribute(r,t)}removeAttribute(e,r,t){if(t){let n=Wr[t];n?e.removeAttributeNS(n,r):e.removeAttribute(`${t}:${r}`)}else e.removeAttribute(r)}addClass(e,r){e.classList.add(r)}removeClass(e,r){e.classList.remove(r)}setStyle(e,r,t,n){n&(di.DashCase|di.Important)?e.style.setProperty(r,t,n&di.Important?"important":""):e.style[r]=t}removeStyle(e,r,t){t&di.DashCase?e.style.removeProperty(r):e.style[r]=""}setProperty(e,r,t){e!=null&&(e[r]=t)}setValue(e,r){e.nodeValue=r}listen(e,r,t){if(typeof e=="string"&&(e=jt().getGlobalEventTarget(this.doc,e),!e))throw new Error(`Unsupported event target ${e} for event ${r}`);return this.eventManager.addEventListener(e,r,this.decoratePreventDefault(t))}decoratePreventDefault(e){return r=>{if(r==="__ngUnwrap__")return e;(this.platformIsServer?this.ngZone.runGuarded(()=>e(r)):e(r))===!1&&r.preventDefault()}}};function Va(i){return i.tagName==="TEMPLATE"&&i.content!==void 0}var Zr=class extends yi{constructor(e,r,t,n,o,s,a,c){super(e,o,s,c),this.sharedStylesHost=r,this.hostEl=t,this.shadowRoot=t.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);let l=Ha(n.id,n.styles);for(let d of l){let u=document.createElement("style");a&&u.setAttribute("nonce",a),u.textContent=d,this.shadowRoot.appendChild(u)}}nodeOrShadowRoot(e){return e===this.hostEl?this.shadowRoot:e}appendChild(e,r){return super.appendChild(this.nodeOrShadowRoot(e),r)}insertBefore(e,r,t){return super.insertBefore(this.nodeOrShadowRoot(e),r,t)}removeChild(e,r){return super.removeChild(this.nodeOrShadowRoot(e),r)}parentNode(e){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(e)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}},bi=class extends yi{constructor(e,r,t,n,o,s,a,c){super(e,o,s,a),this.sharedStylesHost=r,this.removeStylesOnCompDestroy=n,this.styles=c?Ha(c,t.styles):t.styles}applyStyles(){this.sharedStylesHost.addStyles(this.styles)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles)}},wn=class extends bi{constructor(e,r,t,n,o,s,a,c){let l=n+"-"+t.id;super(e,r,t,o,s,a,c,l),this.contentAttr=ch(l),this.hostAttr=dh(l)}applyToHost(e){this.applyStyles(),this.setAttribute(e,this.hostAttr,"")}createElement(e,r){let t=super.createElement(e,r);return super.setAttribute(t,this.contentAttr,""),t}},hh=(()=>{let e=class e extends bn{constructor(t){super(t)}supports(t){return!0}addEventListener(t,n,o){return t.addEventListener(n,o,!1),()=>this.removeEventListener(t,n,o)}removeEventListener(t,n,o){return t.removeEventListener(n,o)}};e.\u0275fac=function(n){return new(n||e)(f(L))},e.\u0275prov=v({token:e,factory:e.\u0275fac});let i=e;return i})(),ja=["alt","control","meta","shift"],uh={"\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"},fh={alt:i=>i.altKey,control:i=>i.ctrlKey,meta:i=>i.metaKey,shift:i=>i.shiftKey},mh=(()=>{let e=class e extends bn{constructor(t){super(t)}supports(t){return e.parseEventName(t)!=null}addEventListener(t,n,o){let s=e.parseEventName(n),a=e.eventCallback(s.fullKey,o,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>jt().onAndCancel(t,s.domEventName,a))}static parseEventName(t){let n=t.toLowerCase().split("."),o=n.shift();if(n.length===0||!(o==="keydown"||o==="keyup"))return null;let s=e._normalizeKey(n.pop()),a="",c=n.indexOf("code");if(c>-1&&(n.splice(c,1),a="code."),ja.forEach(d=>{let u=n.indexOf(d);u>-1&&(n.splice(u,1),a+=d+".")}),a+=s,n.length!=0||s.length===0)return null;let l={};return l.domEventName=o,l.fullKey=a,l}static matchEventFullKeyCode(t,n){let o=uh[t.key]||t.key,s="";return n.indexOf("code.")>-1&&(o=t.code,s="code."),o==null||!o?!1:(o=o.toLowerCase(),o===" "?o="space":o==="."&&(o="dot"),ja.forEach(a=>{if(a!==o){let c=fh[a];c(t)&&(s+=a+".")}}),s+=o,s===n)}static eventCallback(t,n,o){return s=>{e.matchEventFullKeyCode(s,t)&&o.runGuarded(()=>n(s))}}static _normalizeKey(t){return t==="esc"?"escape":t}};e.\u0275fac=function(n){return new(n||e)(f(L))},e.\u0275prov=v({token:e,factory:e.\u0275fac});let i=e;return i})();function $a(i,e){return pa(g({rootComponent:i},ph(e)))}function ph(i){return{appProviders:[...bh,...i?.providers??[]],platformProviders:yh}}function gh(){qr.makeCurrent()}function _h(){return new Ar}function vh(){return ea(document),document}var yh=[{provide:$e,useValue:Da},{provide:ta,useValue:gh,multi:!0},{provide:L,useFactory:vh,deps:[]}];var bh=[{provide:Qs,useValue:"root"},{provide:Ar,useFactory:_h,deps:[]},{provide:Yr,useClass:hh,multi:!0,deps:[L,I,$e]},{provide:Yr,useClass:mh,multi:!0,deps:[L]},xn,Ua,Ba,{provide:nn,useExisting:xn},{provide:un,useClass:rh,deps:[]},[]];var Wa=(()=>{let e=class e{constructor(t){this._doc=t}getTitle(){return this._doc.title}setTitle(t){this._doc.title=t||""}};e.\u0275fac=function(n){return new(n||e)(f(L))},e.\u0275prov=v({token:e,factory:e.\u0275fac,providedIn:"root"});let i=e;return i})();var M="primary",Ni=Symbol("RouteTitle"),io=class{constructor(e){this.params=e||{}}has(e){return Object.prototype.hasOwnProperty.call(this.params,e)}get(e){if(this.has(e)){let r=this.params[e];return Array.isArray(r)?r[0]:r}return null}getAll(e){if(this.has(e)){let r=this.params[e];return Array.isArray(r)?r:[r]}return[]}get keys(){return Object.keys(this.params)}};function qt(i){return new io(i)}function wh(i,e,r){let t=r.path.split("/");if(t.length>i.length||r.pathMatch==="full"&&(e.hasChildren()||t.lengtht[o]===n)}else return i===e}function Qa(i){return i.length>0?i[i.length-1]:null}function it(i){return Ot(i)?i:cn(i)?ve(Promise.resolve(i)):E(i)}var Dh={exact:el,subset:tl},Ja={exact:Eh,subset:Sh,ignored:()=>!0};function Ga(i,e,r){return Dh[r.paths](i.root,e.root,r.matrixParams)&&Ja[r.queryParams](i.queryParams,e.queryParams)&&!(r.fragment==="exact"&&i.fragment!==e.fragment)}function Eh(i,e){return je(i,e)}function el(i,e,r){if(!yt(i.segments,e.segments)||!En(i.segments,e.segments,r)||i.numberOfChildren!==e.numberOfChildren)return!1;for(let t in e.children)if(!i.children[t]||!el(i.children[t],e.children[t],r))return!1;return!0}function Sh(i,e){return Object.keys(e).length<=Object.keys(i).length&&Object.keys(e).every(r=>Ka(i[r],e[r]))}function tl(i,e,r){return il(i,e,e.segments,r)}function il(i,e,r,t){if(i.segments.length>r.length){let n=i.segments.slice(0,r.length);return!(!yt(n,r)||e.hasChildren()||!En(n,r,t))}else if(i.segments.length===r.length){if(!yt(i.segments,r)||!En(i.segments,r,t))return!1;for(let n in e.children)if(!i.children[n]||!tl(i.children[n],e.children[n],t))return!1;return!0}else{let n=r.slice(0,i.segments.length),o=r.slice(i.segments.length);return!yt(i.segments,n)||!En(i.segments,n,t)||!i.children[M]?!1:il(i.children[M],e,o,t)}}function En(i,e,r){return e.every((t,n)=>Ja[r](i[n].parameters,t.parameters))}var et=class{constructor(e=new $([],{}),r={},t=null){this.root=e,this.queryParams=r,this.fragment=t}get queryParamMap(){return this._queryParamMap??=qt(this.queryParams),this._queryParamMap}toString(){return kh.serialize(this)}},$=class{constructor(e,r){this.segments=e,this.children=r,this.parent=null,Object.values(r).forEach(t=>t.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return Sn(this)}},vt=class{constructor(e,r){this.path=e,this.parameters=r}get parameterMap(){return this._parameterMap??=qt(this.parameters),this._parameterMap}toString(){return rl(this)}};function Rh(i,e){return yt(i,e)&&i.every((r,t)=>je(r.parameters,e[t].parameters))}function yt(i,e){return i.length!==e.length?!1:i.every((r,t)=>r.path===e[t].path)}function Ih(i,e){let r=[];return Object.entries(i.children).forEach(([t,n])=>{t===M&&(r=r.concat(e(n,t)))}),Object.entries(i.children).forEach(([t,n])=>{t!==M&&(r=r.concat(e(n,t)))}),r}var Ao=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=v({token:e,factory:()=>new In,providedIn:"root"});let i=e;return i})(),In=class{parse(e){let r=new oo(e);return new et(r.parseRootSegment(),r.parseQueryParams(),r.parseFragment())}serialize(e){let r=`/${xi(e.root,!0)}`,t=Th(e.queryParams),n=typeof e.fragment=="string"?`#${Ah(e.fragment)}`:"";return`${r}${t}${n}`}},kh=new In;function Sn(i){return i.segments.map(e=>rl(e)).join("/")}function xi(i,e){if(!i.hasChildren())return Sn(i);if(e){let r=i.children[M]?xi(i.children[M],!1):"",t=[];return Object.entries(i.children).forEach(([n,o])=>{n!==M&&t.push(`${n}:${xi(o,!1)}`)}),t.length>0?`${r}(${t.join("//")})`:r}else{let r=Ih(i,(t,n)=>n===M?[xi(i.children[M],!1)]:[`${n}:${xi(t,!1)}`]);return Object.keys(i.children).length===1&&i.children[M]!=null?`${Sn(i)}/${r[0]}`:`${Sn(i)}/(${r.join("//")})`}}function nl(i){return encodeURIComponent(i).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function Cn(i){return nl(i).replace(/%3B/gi,";")}function Ah(i){return encodeURI(i)}function ro(i){return nl(i).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function Rn(i){return decodeURIComponent(i)}function qa(i){return Rn(i.replace(/\+/g,"%20"))}function rl(i){return`${ro(i.path)}${Mh(i.parameters)}`}function Mh(i){return Object.entries(i).map(([e,r])=>`;${ro(e)}=${ro(r)}`).join("")}function Th(i){let e=Object.entries(i).map(([r,t])=>Array.isArray(t)?t.map(n=>`${Cn(r)}=${Cn(n)}`).join("&"):`${Cn(r)}=${Cn(t)}`).filter(r=>r);return e.length?`?${e.join("&")}`:""}var Oh=/^[^\/()?;#]+/;function Qr(i){let e=i.match(Oh);return e?e[0]:""}var Fh=/^[^\/()?;=#]+/;function Nh(i){let e=i.match(Fh);return e?e[0]:""}var Ph=/^[^=?&#]+/;function Lh(i){let e=i.match(Ph);return e?e[0]:""}var Vh=/^[^&#]+/;function jh(i){let e=i.match(Vh);return e?e[0]:""}var oo=class{constructor(e){this.url=e,this.remaining=e}parseRootSegment(){return this.consumeOptional("/"),this.remaining===""||this.peekStartsWith("?")||this.peekStartsWith("#")?new $([],{}):new $([],this.parseChildren())}parseQueryParams(){let e={};if(this.consumeOptional("?"))do this.parseQueryParam(e);while(this.consumeOptional("&"));return e}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(this.remaining==="")return{};this.consumeOptional("/");let e=[];for(this.peekStartsWith("(")||e.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),e.push(this.parseSegment());let r={};this.peekStartsWith("/(")&&(this.capture("/"),r=this.parseParens(!0));let t={};return this.peekStartsWith("(")&&(t=this.parseParens(!1)),(e.length>0||Object.keys(r).length>0)&&(t[M]=new $(e,r)),t}parseSegment(){let e=Qr(this.remaining);if(e===""&&this.peekStartsWith(";"))throw new Y(4009,!1);return this.capture(e),new vt(Rn(e),this.parseMatrixParams())}parseMatrixParams(){let e={};for(;this.consumeOptional(";");)this.parseParam(e);return e}parseParam(e){let r=Nh(this.remaining);if(!r)return;this.capture(r);let t="";if(this.consumeOptional("=")){let n=Qr(this.remaining);n&&(t=n,this.capture(t))}e[Rn(r)]=Rn(t)}parseQueryParam(e){let r=Lh(this.remaining);if(!r)return;this.capture(r);let t="";if(this.consumeOptional("=")){let s=jh(this.remaining);s&&(t=s,this.capture(t))}let n=qa(r),o=qa(t);if(e.hasOwnProperty(n)){let s=e[n];Array.isArray(s)||(s=[s],e[n]=s),s.push(o)}else e[n]=o}parseParens(e){let r={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){let t=Qr(this.remaining),n=this.remaining[t.length];if(n!=="/"&&n!==")"&&n!==";")throw new Y(4010,!1);let o;t.indexOf(":")>-1?(o=t.slice(0,t.indexOf(":")),this.capture(o),this.capture(":")):e&&(o=M);let s=this.parseChildren();r[o]=Object.keys(s).length===1?s[M]:new $([],s),this.consumeOptional("//")}return r}peekStartsWith(e){return this.remaining.startsWith(e)}consumeOptional(e){return this.peekStartsWith(e)?(this.remaining=this.remaining.substring(e.length),!0):!1}capture(e){if(!this.consumeOptional(e))throw new Y(4011,!1)}};function ol(i){return i.segments.length>0?new $([],{[M]:i}):i}function sl(i){let e={};for(let[t,n]of Object.entries(i.children)){let o=sl(n);if(t===M&&o.segments.length===0&&o.hasChildren())for(let[s,a]of Object.entries(o.children))e[s]=a;else(o.segments.length>0||o.hasChildren())&&(e[t]=o)}let r=new $(i.segments,e);return Bh(r)}function Bh(i){if(i.numberOfChildren===1&&i.children[M]){let e=i.children[M];return new $(i.segments.concat(e.segments),e.children)}return i}function Yt(i){return i instanceof et}function Uh(i,e,r=null,t=null){let n=al(i);return ll(n,e,r,t)}function al(i){let e;function r(o){let s={};for(let c of o.children){let l=r(c);s[c.outlet]=l}let a=new $(o.url,s);return o===i&&(e=a),a}let t=r(i.root),n=ol(t);return e??n}function ll(i,e,r,t){let n=i;for(;n.parent;)n=n.parent;if(e.length===0)return Jr(n,n,n,r,t);let o=zh(e);if(o.toRoot())return Jr(n,n,new $([],{}),r,t);let s=Hh(o,n,i),a=s.processChildren?Di(s.segmentGroup,s.index,o.commands):dl(s.segmentGroup,s.index,o.commands);return Jr(n,s.segmentGroup,a,r,t)}function kn(i){return typeof i=="object"&&i!=null&&!i.outlets&&!i.segmentPath}function Ri(i){return typeof i=="object"&&i!=null&&i.outlets}function Jr(i,e,r,t,n){let o={};t&&Object.entries(t).forEach(([c,l])=>{o[c]=Array.isArray(l)?l.map(d=>`${d}`):`${l}`});let s;i===e?s=r:s=cl(i,e,r);let a=ol(sl(s));return new et(a,o,n)}function cl(i,e,r){let t={};return Object.entries(i.children).forEach(([n,o])=>{o===e?t[n]=r:t[n]=cl(o,e,r)}),new $(i.segments,t)}var An=class{constructor(e,r,t){if(this.isAbsolute=e,this.numberOfDoubleDots=r,this.commands=t,e&&t.length>0&&kn(t[0]))throw new Y(4003,!1);let n=t.find(Ri);if(n&&n!==Qa(t))throw new Y(4004,!1)}toRoot(){return this.isAbsolute&&this.commands.length===1&&this.commands[0]=="/"}};function zh(i){if(typeof i[0]=="string"&&i.length===1&&i[0]==="/")return new An(!0,0,i);let e=0,r=!1,t=i.reduce((n,o,s)=>{if(typeof o=="object"&&o!=null){if(o.outlets){let a={};return Object.entries(o.outlets).forEach(([c,l])=>{a[c]=typeof l=="string"?l.split("/"):l}),[...n,{outlets:a}]}if(o.segmentPath)return[...n,o.segmentPath]}return typeof o!="string"?[...n,o]:s===0?(o.split("/").forEach((a,c)=>{c==0&&a==="."||(c==0&&a===""?r=!0:a===".."?e++:a!=""&&n.push(a))}),n):[...n,o]},[]);return new An(r,e,t)}var Wt=class{constructor(e,r,t){this.segmentGroup=e,this.processChildren=r,this.index=t}};function Hh(i,e,r){if(i.isAbsolute)return new Wt(e,!0,0);if(!r)return new Wt(e,!1,NaN);if(r.parent===null)return new Wt(r,!0,0);let t=kn(i.commands[0])?0:1,n=r.segments.length-1+t;return $h(r,n,i.numberOfDoubleDots)}function $h(i,e,r){let t=i,n=e,o=r;for(;o>n;){if(o-=n,t=t.parent,!t)throw new Y(4005,!1);n=t.segments.length}return new Wt(t,!1,n-o)}function Wh(i){return Ri(i[0])?i[0].outlets:{[M]:i}}function dl(i,e,r){if(i??=new $([],{}),i.segments.length===0&&i.hasChildren())return Di(i,e,r);let t=Gh(i,e,r),n=r.slice(t.commandIndex);if(t.match&&t.pathIndexo!==M)&&i.children[M]&&i.numberOfChildren===1&&i.children[M].segments.length===0){let o=Di(i.children[M],e,r);return new $(i.segments,o.children)}return Object.entries(t).forEach(([o,s])=>{typeof s=="string"&&(s=[s]),s!==null&&(n[o]=dl(i.children[o],e,s))}),Object.entries(i.children).forEach(([o,s])=>{t[o]===void 0&&(n[o]=s)}),new $(i.segments,n)}}function Gh(i,e,r){let t=0,n=e,o={match:!1,pathIndex:0,commandIndex:0};for(;n=r.length)return o;let s=i.segments[n],a=r[t];if(Ri(a))break;let c=`${a}`,l=t0&&c===void 0)break;if(c&&l&&typeof l=="object"&&l.outlets===void 0){if(!Za(c,l,s))return o;t+=2}else{if(!Za(c,{},s))return o;t++}n++}return{match:!0,pathIndex:n,commandIndex:t}}function so(i,e,r){let t=i.segments.slice(0,e),n=0;for(;n{typeof t=="string"&&(t=[t]),t!==null&&(e[r]=so(new $([],{}),0,t))}),e}function Ya(i){let e={};return Object.entries(i).forEach(([r,t])=>e[r]=`${t}`),e}function Za(i,e,r){return i==r.path&&je(e,r.parameters)}var Ei="imperative",ye=function(i){return i[i.NavigationStart=0]="NavigationStart",i[i.NavigationEnd=1]="NavigationEnd",i[i.NavigationCancel=2]="NavigationCancel",i[i.NavigationError=3]="NavigationError",i[i.RoutesRecognized=4]="RoutesRecognized",i[i.ResolveStart=5]="ResolveStart",i[i.ResolveEnd=6]="ResolveEnd",i[i.GuardsCheckStart=7]="GuardsCheckStart",i[i.GuardsCheckEnd=8]="GuardsCheckEnd",i[i.RouteConfigLoadStart=9]="RouteConfigLoadStart",i[i.RouteConfigLoadEnd=10]="RouteConfigLoadEnd",i[i.ChildActivationStart=11]="ChildActivationStart",i[i.ChildActivationEnd=12]="ChildActivationEnd",i[i.ActivationStart=13]="ActivationStart",i[i.ActivationEnd=14]="ActivationEnd",i[i.Scroll=15]="Scroll",i[i.NavigationSkipped=16]="NavigationSkipped",i}(ye||{}),Ne=class{constructor(e,r){this.id=e,this.url=r}},Ii=class extends Ne{constructor(e,r,t="imperative",n=null){super(e,r),this.type=ye.NavigationStart,this.navigationTrigger=t,this.restoredState=n}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}},bt=class extends Ne{constructor(e,r,t){super(e,r),this.urlAfterRedirects=t,this.type=ye.NavigationEnd}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}},ke=function(i){return i[i.Redirect=0]="Redirect",i[i.SupersededByNewNavigation=1]="SupersededByNewNavigation",i[i.NoDataFromResolver=2]="NoDataFromResolver",i[i.GuardRejected=3]="GuardRejected",i}(ke||{}),ao=function(i){return i[i.IgnoredSameUrlNavigation=0]="IgnoredSameUrlNavigation",i[i.IgnoredByUrlHandlingStrategy=1]="IgnoredByUrlHandlingStrategy",i}(ao||{}),tt=class extends Ne{constructor(e,r,t,n){super(e,r),this.reason=t,this.code=n,this.type=ye.NavigationCancel}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}},xt=class extends Ne{constructor(e,r,t,n){super(e,r),this.reason=t,this.code=n,this.type=ye.NavigationSkipped}},ki=class extends Ne{constructor(e,r,t,n){super(e,r),this.error=t,this.target=n,this.type=ye.NavigationError}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}},Mn=class extends Ne{constructor(e,r,t,n){super(e,r),this.urlAfterRedirects=t,this.state=n,this.type=ye.RoutesRecognized}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},lo=class extends Ne{constructor(e,r,t,n){super(e,r),this.urlAfterRedirects=t,this.state=n,this.type=ye.GuardsCheckStart}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},co=class extends Ne{constructor(e,r,t,n,o){super(e,r),this.urlAfterRedirects=t,this.state=n,this.shouldActivate=o,this.type=ye.GuardsCheckEnd}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}},ho=class extends Ne{constructor(e,r,t,n){super(e,r),this.urlAfterRedirects=t,this.state=n,this.type=ye.ResolveStart}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},uo=class extends Ne{constructor(e,r,t,n){super(e,r),this.urlAfterRedirects=t,this.state=n,this.type=ye.ResolveEnd}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},fo=class{constructor(e){this.route=e,this.type=ye.RouteConfigLoadStart}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}},mo=class{constructor(e){this.route=e,this.type=ye.RouteConfigLoadEnd}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}},po=class{constructor(e){this.snapshot=e,this.type=ye.ChildActivationStart}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},go=class{constructor(e){this.snapshot=e,this.type=ye.ChildActivationEnd}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},_o=class{constructor(e){this.snapshot=e,this.type=ye.ActivationStart}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},vo=class{constructor(e){this.snapshot=e,this.type=ye.ActivationEnd}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}};var Ai=class{},Mi=class{constructor(e){this.url=e}};var yo=class{constructor(){this.outlet=null,this.route=null,this.injector=null,this.children=new Ln,this.attachRef=null}},Ln=(()=>{let e=class e{constructor(){this.contexts=new Map}onChildOutletCreated(t,n){let o=this.getOrCreateContext(t);o.outlet=n,this.contexts.set(t,o)}onChildOutletDestroyed(t){let n=this.getContext(t);n&&(n.outlet=null,n.attachRef=null)}onOutletDeactivated(){let t=this.contexts;return this.contexts=new Map,t}onOutletReAttached(t){this.contexts=t}getOrCreateContext(t){let n=this.getContext(t);return n||(n=new yo,this.contexts.set(t,n)),n}getContext(t){return this.contexts.get(t)||null}};e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=v({token:e,factory:e.\u0275fac,providedIn:"root"});let i=e;return i})(),Tn=class{constructor(e){this._root=e}get root(){return this._root.value}parent(e){let r=this.pathFromRoot(e);return r.length>1?r[r.length-2]:null}children(e){let r=bo(e,this._root);return r?r.children.map(t=>t.value):[]}firstChild(e){let r=bo(e,this._root);return r&&r.children.length>0?r.children[0].value:null}siblings(e){let r=xo(e,this._root);return r.length<2?[]:r[r.length-2].children.map(n=>n.value).filter(n=>n!==e)}pathFromRoot(e){return xo(e,this._root).map(r=>r.value)}};function bo(i,e){if(i===e.value)return e;for(let r of e.children){let t=bo(i,r);if(t)return t}return null}function xo(i,e){if(i===e.value)return[e];for(let r of e.children){let t=xo(i,r);if(t.length)return t.unshift(e),t}return[]}var Ie=class{constructor(e,r){this.value=e,this.children=r}toString(){return`TreeNode(${this.value})`}};function $t(i){let e={};return i&&i.children.forEach(r=>e[r.value.outlet]=r),e}var On=class extends Tn{constructor(e,r){super(e),this.snapshot=r,To(this,e)}toString(){return this.snapshot.toString()}};function hl(i){let e=Yh(i),r=new ue([new vt("",{})]),t=new ue({}),n=new ue({}),o=new ue({}),s=new ue(""),a=new Zt(r,t,o,s,n,M,i,e.root);return a.snapshot=e.root,new On(new Ie(a,[]),e)}function Yh(i){let e={},r={},t={},n="",o=new Ti([],e,t,n,r,M,i,null,{});return new Fn("",new Ie(o,[]))}var Zt=class{constructor(e,r,t,n,o,s,a,c){this.urlSubject=e,this.paramsSubject=r,this.queryParamsSubject=t,this.fragmentSubject=n,this.dataSubject=o,this.outlet=s,this.component=a,this._futureSnapshot=c,this.title=this.dataSubject?.pipe(A(l=>l[Ni]))??E(void 0),this.url=e,this.params=r,this.queryParams=t,this.fragment=n,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(A(e=>qt(e))),this._paramMap}get queryParamMap(){return this._queryParamMap??=this.queryParams.pipe(A(e=>qt(e))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}};function Mo(i,e,r="emptyOnly"){let t,{routeConfig:n}=i;return e!==null&&(r==="always"||n?.path===""||!e.component&&!e.routeConfig?.loadComponent)?t={params:g(g({},e.params),i.params),data:g(g({},e.data),i.data),resolve:g(g(g(g({},i.data),e.data),n?.data),i._resolvedData)}:t={params:g({},i.params),data:g({},i.data),resolve:g(g({},i.data),i._resolvedData??{})},n&&fl(n)&&(t.resolve[Ni]=n.title),t}var Ti=class{get title(){return this.data?.[Ni]}constructor(e,r,t,n,o,s,a,c,l){this.url=e,this.params=r,this.queryParams=t,this.fragment=n,this.data=o,this.outlet=s,this.component=a,this.routeConfig=c,this._resolve=l}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??=qt(this.params),this._paramMap}get queryParamMap(){return this._queryParamMap??=qt(this.queryParams),this._queryParamMap}toString(){let e=this.url.map(t=>t.toString()).join("/"),r=this.routeConfig?this.routeConfig.path:"";return`Route(url:'${e}', path:'${r}')`}},Fn=class extends Tn{constructor(e,r){super(r),this.url=e,To(this,r)}toString(){return ul(this._root)}};function To(i,e){e.value._routerState=i,e.children.forEach(r=>To(i,r))}function ul(i){let e=i.children.length>0?` { ${i.children.map(ul).join(", ")} } `:"";return`${i.value}${e}`}function eo(i){if(i.snapshot){let e=i.snapshot,r=i._futureSnapshot;i.snapshot=r,je(e.queryParams,r.queryParams)||i.queryParamsSubject.next(r.queryParams),e.fragment!==r.fragment&&i.fragmentSubject.next(r.fragment),je(e.params,r.params)||i.paramsSubject.next(r.params),Ch(e.url,r.url)||i.urlSubject.next(r.url),je(e.data,r.data)||i.dataSubject.next(r.data)}else i.snapshot=i._futureSnapshot,i.dataSubject.next(i._futureSnapshot.data)}function wo(i,e){let r=je(i.params,e.params)&&Rh(i.url,e.url),t=!i.parent!=!e.parent;return r&&!t&&(!i.parent||wo(i.parent,e.parent))}function fl(i){return typeof i.title=="string"||i.title===null}var Oo=(()=>{let e=class e{constructor(){this.activated=null,this._activatedRoute=null,this.name=M,this.activateEvents=new z,this.deactivateEvents=new z,this.attachEvents=new z,this.detachEvents=new z,this.parentContexts=_(Ln),this.location=_(Oe),this.changeDetector=_(Se),this.environmentInjector=_(Pt),this.inputBinder=_(Fo,{optional:!0}),this.supportsBindingToComponentInputs=!0}get activatedComponentRef(){return this.activated}ngOnChanges(t){if(t.name){let{firstChange:n,previousValue:o}=t.name;if(n)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(t){return this.parentContexts.getContext(t)?.outlet===this}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(this.parentContexts.onChildOutletCreated(this.name,this),this.activated)return;let t=this.parentContexts.getContext(this.name);t?.route&&(t.attachRef?this.attach(t.attachRef,t.route):this.activateWith(t.route,t.injector))}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new Y(4012,!1);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new Y(4012,!1);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new Y(4012,!1);this.location.detach();let t=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(t.instance),t}attach(t,n){this.activated=t,this._activatedRoute=n,this.location.insert(t.hostView),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.attachEvents.emit(t.instance)}deactivate(){if(this.activated){let t=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(t)}}activateWith(t,n){if(this.isActivated)throw new Y(4013,!1);this._activatedRoute=t;let o=this.location,a=t.snapshot.component,c=this.parentContexts.getOrCreateContext(this.name).children,l=new Co(t,c,o.injector);this.activated=o.createComponent(a,{index:o.length,injector:l,environmentInjector:n??this.environmentInjector}),this.changeDetector.markForCheck(),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.activateEvents.emit(this.activated.instance)}};e.\u0275fac=function(n){return new(n||e)},e.\u0275dir=C({type:e,selectors:[["router-outlet"]],inputs:{name:"name"},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],standalone:!0,features:[we]});let i=e;return i})(),Co=class{constructor(e,r,t){this.route=e,this.childContexts=r,this.parent=t,this.__ngOutletInjector=!0}get(e,r){return e===Zt?this.route:e===Ln?this.childContexts:this.parent.get(e,r)}},Fo=new w("");function Zh(i,e,r){let t=Oi(i,e._root,r?r._root:void 0);return new On(t,e)}function Oi(i,e,r){if(r&&i.shouldReuseRoute(e.value,r.value.snapshot)){let t=r.value;t._futureSnapshot=e.value;let n=Xh(i,e,r);return new Ie(t,n)}else{if(i.shouldAttach(e.value)){let o=i.retrieve(e.value);if(o!==null){let s=o.route;return s.value._futureSnapshot=e.value,s.children=e.children.map(a=>Oi(i,a)),s}}let t=Kh(e.value),n=e.children.map(o=>Oi(i,o));return new Ie(t,n)}}function Xh(i,e,r){return e.children.map(t=>{for(let n of r.children)if(i.shouldReuseRoute(t.value,n.value.snapshot))return Oi(i,t,n);return Oi(i,t)})}function Kh(i){return new Zt(new ue(i.url),new ue(i.params),new ue(i.queryParams),new ue(i.fragment),new ue(i.data),i.outlet,i.component,i)}var ml="ngNavigationCancelingError";function pl(i,e){let{redirectTo:r,navigationBehaviorOptions:t}=Yt(e)?{redirectTo:e,navigationBehaviorOptions:void 0}:e,n=gl(!1,ke.Redirect);return n.url=r,n.navigationBehaviorOptions=t,n}function gl(i,e){let r=new Error(`NavigationCancelingError: ${i||""}`);return r[ml]=!0,r.cancellationCode=e,r}function Qh(i){return _l(i)&&Yt(i.url)}function _l(i){return!!i&&i[ml]}var Jh=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275cmp=ee({type:e,selectors:[["ng-component"]],standalone:!0,features:[te],decls:1,vars:0,template:function(n,o){n&1&&X(0,"router-outlet")},dependencies:[Oo],encapsulation:2});let i=e;return i})();function eu(i,e){return i.providers&&!i._injector&&(i._injector=oa(i.providers,e,`Route: ${i.path}`)),i._injector??e}function No(i){let e=i.children&&i.children.map(No),r=e?ie(g({},i),{children:e}):g({},i);return!r.component&&!r.loadComponent&&(e||r.loadChildren)&&r.outlet&&r.outlet!==M&&(r.component=Jh),r}function Be(i){return i.outlet||M}function tu(i,e){let r=i.filter(t=>Be(t)===e);return r.push(...i.filter(t=>Be(t)!==e)),r}function Pi(i){if(!i)return null;if(i.routeConfig?._injector)return i.routeConfig._injector;for(let e=i.parent;e;e=e.parent){let r=e.routeConfig;if(r?._loadedInjector)return r._loadedInjector;if(r?._injector)return r._injector}return null}var iu=(i,e,r,t)=>A(n=>(new Do(e,n.targetRouterState,n.currentRouterState,r,t).activate(i),n)),Do=class{constructor(e,r,t,n,o){this.routeReuseStrategy=e,this.futureState=r,this.currState=t,this.forwardEvent=n,this.inputBindingEnabled=o}activate(e){let r=this.futureState._root,t=this.currState?this.currState._root:null;this.deactivateChildRoutes(r,t,e),eo(this.futureState.root),this.activateChildRoutes(r,t,e)}deactivateChildRoutes(e,r,t){let n=$t(r);e.children.forEach(o=>{let s=o.value.outlet;this.deactivateRoutes(o,n[s],t),delete n[s]}),Object.values(n).forEach(o=>{this.deactivateRouteAndItsChildren(o,t)})}deactivateRoutes(e,r,t){let n=e.value,o=r?r.value:null;if(n===o)if(n.component){let s=t.getContext(n.outlet);s&&this.deactivateChildRoutes(e,r,s.children)}else this.deactivateChildRoutes(e,r,t);else o&&this.deactivateRouteAndItsChildren(r,t)}deactivateRouteAndItsChildren(e,r){e.value.component&&this.routeReuseStrategy.shouldDetach(e.value.snapshot)?this.detachAndStoreRouteSubtree(e,r):this.deactivateRouteAndOutlet(e,r)}detachAndStoreRouteSubtree(e,r){let t=r.getContext(e.value.outlet),n=t&&e.value.component?t.children:r,o=$t(e);for(let s of Object.values(o))this.deactivateRouteAndItsChildren(s,n);if(t&&t.outlet){let s=t.outlet.detach(),a=t.children.onOutletDeactivated();this.routeReuseStrategy.store(e.value.snapshot,{componentRef:s,route:e,contexts:a})}}deactivateRouteAndOutlet(e,r){let t=r.getContext(e.value.outlet),n=t&&e.value.component?t.children:r,o=$t(e);for(let s of Object.values(o))this.deactivateRouteAndItsChildren(s,n);t&&(t.outlet&&(t.outlet.deactivate(),t.children.onOutletDeactivated()),t.attachRef=null,t.route=null)}activateChildRoutes(e,r,t){let n=$t(r);e.children.forEach(o=>{this.activateRoutes(o,n[o.value.outlet],t),this.forwardEvent(new vo(o.value.snapshot))}),e.children.length&&this.forwardEvent(new go(e.value.snapshot))}activateRoutes(e,r,t){let n=e.value,o=r?r.value:null;if(eo(n),n===o)if(n.component){let s=t.getOrCreateContext(n.outlet);this.activateChildRoutes(e,r,s.children)}else this.activateChildRoutes(e,r,t);else if(n.component){let s=t.getOrCreateContext(n.outlet);if(this.routeReuseStrategy.shouldAttach(n.snapshot)){let a=this.routeReuseStrategy.retrieve(n.snapshot);this.routeReuseStrategy.store(n.snapshot,null),s.children.onOutletReAttached(a.contexts),s.attachRef=a.componentRef,s.route=a.route.value,s.outlet&&s.outlet.attach(a.componentRef,a.route.value),eo(a.route.value),this.activateChildRoutes(e,null,s.children)}else{let a=Pi(n.snapshot);s.attachRef=null,s.route=n,s.injector=a,s.outlet&&s.outlet.activateWith(n,s.injector),this.activateChildRoutes(e,null,s.children)}}else this.activateChildRoutes(e,null,t)}},Nn=class{constructor(e){this.path=e,this.route=this.path[this.path.length-1]}},Gt=class{constructor(e,r){this.component=e,this.route=r}};function nu(i,e,r){let t=i._root,n=e?e._root:null;return wi(t,n,r,[t.value])}function ru(i){let e=i.routeConfig?i.routeConfig.canActivateChild:null;return!e||e.length===0?null:{node:i,guards:e}}function Kt(i,e){let r=Symbol(),t=e.get(i,r);return t===r?typeof i=="function"&&!Xs(i)?i:e.get(i):t}function wi(i,e,r,t,n={canDeactivateChecks:[],canActivateChecks:[]}){let o=$t(e);return i.children.forEach(s=>{ou(s,o[s.value.outlet],r,t.concat([s.value]),n),delete o[s.value.outlet]}),Object.entries(o).forEach(([s,a])=>Si(a,r.getContext(s),n)),n}function ou(i,e,r,t,n={canDeactivateChecks:[],canActivateChecks:[]}){let o=i.value,s=e?e.value:null,a=r?r.getContext(i.value.outlet):null;if(s&&o.routeConfig===s.routeConfig){let c=su(s,o,o.routeConfig.runGuardsAndResolvers);c?n.canActivateChecks.push(new Nn(t)):(o.data=s.data,o._resolvedData=s._resolvedData),o.component?wi(i,e,a?a.children:null,t,n):wi(i,e,r,t,n),c&&a&&a.outlet&&a.outlet.isActivated&&n.canDeactivateChecks.push(new Gt(a.outlet.component,s))}else s&&Si(e,a,n),n.canActivateChecks.push(new Nn(t)),o.component?wi(i,null,a?a.children:null,t,n):wi(i,null,r,t,n);return n}function su(i,e,r){if(typeof r=="function")return r(i,e);switch(r){case"pathParamsChange":return!yt(i.url,e.url);case"pathParamsOrQueryParamsChange":return!yt(i.url,e.url)||!je(i.queryParams,e.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!wo(i,e)||!je(i.queryParams,e.queryParams);case"paramsChange":default:return!wo(i,e)}}function Si(i,e,r){let t=$t(i),n=i.value;Object.entries(t).forEach(([o,s])=>{n.component?e?Si(s,e.children.getContext(o),r):Si(s,null,r):Si(s,e,r)}),n.component?e&&e.outlet&&e.outlet.isActivated?r.canDeactivateChecks.push(new Gt(e.outlet.component,n)):r.canDeactivateChecks.push(new Gt(null,n)):r.canDeactivateChecks.push(new Gt(null,n))}function Li(i){return typeof i=="function"}function au(i){return typeof i=="boolean"}function lu(i){return i&&Li(i.canLoad)}function cu(i){return i&&Li(i.canActivate)}function du(i){return i&&Li(i.canActivateChild)}function hu(i){return i&&Li(i.canDeactivate)}function uu(i){return i&&Li(i.canMatch)}function vl(i){return i instanceof zs||i?.name==="EmptyError"}var Dn=Symbol("INITIAL_VALUE");function Xt(){return xe(i=>ot(i.map(e=>e.pipe(be(1),Qe(Dn)))).pipe(A(e=>{for(let r of e)if(r!==!0){if(r===Dn)return Dn;if(r===!1||r instanceof et)return r}return!0}),ce(e=>e!==Dn),be(1)))}function fu(i,e){return Ae(r=>{let{targetSnapshot:t,currentSnapshot:n,guards:{canActivateChecks:o,canDeactivateChecks:s}}=r;return s.length===0&&o.length===0?E(ie(g({},r),{guardsResult:!0})):mu(s,t,n,i).pipe(Ae(a=>a&&au(a)?pu(t,o,i,e):E(a)),A(a=>ie(g({},r),{guardsResult:a})))})}function mu(i,e,r,t){return ve(i).pipe(Ae(n=>bu(n.component,n.route,r,e,t)),Ke(n=>n!==!0,!0))}function pu(i,e,r,t){return ve(e).pipe(ze(n=>Qi(_u(n.route.parent,t),gu(n.route,t),yu(i,n.path,r),vu(i,n.route,r))),Ke(n=>n!==!0,!0))}function gu(i,e){return i!==null&&e&&e(new _o(i)),E(!0)}function _u(i,e){return i!==null&&e&&e(new po(i)),E(!0)}function vu(i,e,r){let t=e.routeConfig?e.routeConfig.canActivate:null;if(!t||t.length===0)return E(!0);let n=t.map(o=>oi(()=>{let s=Pi(e)??r,a=Kt(o,s),c=cu(a)?a.canActivate(e,i):He(s,()=>a(e,i));return it(c).pipe(Ke())}));return E(n).pipe(Xt())}function yu(i,e,r){let t=e[e.length-1],o=e.slice(0,e.length-1).reverse().map(s=>ru(s)).filter(s=>s!==null).map(s=>oi(()=>{let a=s.guards.map(c=>{let l=Pi(s.node)??r,d=Kt(c,l),u=du(d)?d.canActivateChild(t,i):He(l,()=>d(t,i));return it(u).pipe(Ke())});return E(a).pipe(Xt())}));return E(o).pipe(Xt())}function bu(i,e,r,t,n){let o=e&&e.routeConfig?e.routeConfig.canDeactivate:null;if(!o||o.length===0)return E(!0);let s=o.map(a=>{let c=Pi(e)??n,l=Kt(a,c),d=hu(l)?l.canDeactivate(i,e,r,t):He(c,()=>l(i,e,r,t));return it(d).pipe(Ke())});return E(s).pipe(Xt())}function xu(i,e,r,t){let n=e.canLoad;if(n===void 0||n.length===0)return E(!0);let o=n.map(s=>{let a=Kt(s,i),c=lu(a)?a.canLoad(e,r):He(i,()=>a(e,r));return it(c)});return E(o).pipe(Xt(),yl(t))}function yl(i){return Us(re(e=>{if(Yt(e))throw pl(i,e)}),A(e=>e===!0))}function wu(i,e,r,t){let n=e.canMatch;if(!n||n.length===0)return E(!0);let o=n.map(s=>{let a=Kt(s,i),c=uu(a)?a.canMatch(e,r):He(i,()=>a(e,r));return it(c)});return E(o).pipe(Xt(),yl(t))}var Fi=class{constructor(e){this.segmentGroup=e||null}},Pn=class extends Error{constructor(e){super(),this.urlTree=e}};function Ht(i){return ri(new Fi(i))}function Cu(i){return ri(new Y(4e3,!1))}function Du(i){return ri(gl(!1,ke.GuardRejected))}var Eo=class{constructor(e,r){this.urlSerializer=e,this.urlTree=r}lineralizeSegments(e,r){let t=[],n=r.root;for(;;){if(t=t.concat(n.segments),n.numberOfChildren===0)return E(t);if(n.numberOfChildren>1||!n.children[M])return Cu(e.redirectTo);n=n.children[M]}}applyRedirectCommands(e,r,t){let n=this.applyRedirectCreateUrlTree(r,this.urlSerializer.parse(r),e,t);if(r.startsWith("/"))throw new Pn(n);return n}applyRedirectCreateUrlTree(e,r,t,n){let o=this.createSegmentGroup(e,r.root,t,n);return new et(o,this.createQueryParams(r.queryParams,this.urlTree.queryParams),r.fragment)}createQueryParams(e,r){let t={};return Object.entries(e).forEach(([n,o])=>{if(typeof o=="string"&&o.startsWith(":")){let a=o.substring(1);t[n]=r[a]}else t[n]=o}),t}createSegmentGroup(e,r,t,n){let o=this.createSegments(e,r.segments,t,n),s={};return Object.entries(r.children).forEach(([a,c])=>{s[a]=this.createSegmentGroup(e,c,t,n)}),new $(o,s)}createSegments(e,r,t,n){return r.map(o=>o.path.startsWith(":")?this.findPosParam(e,o,n):this.findOrReturn(o,t))}findPosParam(e,r,t){let n=t[r.path.substring(1)];if(!n)throw new Y(4001,!1);return n}findOrReturn(e,r){let t=0;for(let n of r){if(n.path===e.path)return r.splice(t),n;t++}return e}},So={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function Eu(i,e,r,t,n){let o=Po(i,e,r);return o.matched?(t=eu(e,t),wu(t,e,r,n).pipe(A(s=>s===!0?o:g({},So)))):E(o)}function Po(i,e,r){if(e.path==="**")return Su(r);if(e.path==="")return e.pathMatch==="full"&&(i.hasChildren()||r.length>0)?g({},So):{matched:!0,consumedSegments:[],remainingSegments:r,parameters:{},positionalParamSegments:{}};let n=(e.matcher||wh)(r,i,e);if(!n)return g({},So);let o={};Object.entries(n.posParams??{}).forEach(([a,c])=>{o[a]=c.path});let s=n.consumed.length>0?g(g({},o),n.consumed[n.consumed.length-1].parameters):o;return{matched:!0,consumedSegments:n.consumed,remainingSegments:r.slice(n.consumed.length),parameters:s,positionalParamSegments:n.posParams??{}}}function Su(i){return{matched:!0,parameters:i.length>0?Qa(i).parameters:{},consumedSegments:i,remainingSegments:[],positionalParamSegments:{}}}function Xa(i,e,r,t){return r.length>0&&ku(i,r,t)?{segmentGroup:new $(e,Iu(t,new $(r,i.children))),slicedSegments:[]}:r.length===0&&Au(i,r,t)?{segmentGroup:new $(i.segments,Ru(i,r,t,i.children)),slicedSegments:r}:{segmentGroup:new $(i.segments,i.children),slicedSegments:r}}function Ru(i,e,r,t){let n={};for(let o of r)if(Vn(i,e,o)&&!t[Be(o)]){let s=new $([],{});n[Be(o)]=s}return g(g({},t),n)}function Iu(i,e){let r={};r[M]=e;for(let t of i)if(t.path===""&&Be(t)!==M){let n=new $([],{});r[Be(t)]=n}return r}function ku(i,e,r){return r.some(t=>Vn(i,e,t)&&Be(t)!==M)}function Au(i,e,r){return r.some(t=>Vn(i,e,t))}function Vn(i,e,r){return(i.hasChildren()||e.length>0)&&r.pathMatch==="full"?!1:r.path===""}function Mu(i,e,r,t){return Be(i)!==t&&(t===M||!Vn(e,r,i))?!1:Po(e,i,r).matched}function Tu(i,e,r){return e.length===0&&!i.children[r]}var Ro=class{};function Ou(i,e,r,t,n,o,s="emptyOnly"){return new Io(i,e,r,t,n,s,o).recognize()}var Fu=31,Io=class{constructor(e,r,t,n,o,s,a){this.injector=e,this.configLoader=r,this.rootComponentType=t,this.config=n,this.urlTree=o,this.paramsInheritanceStrategy=s,this.urlSerializer=a,this.applyRedirects=new Eo(this.urlSerializer,this.urlTree),this.absoluteRedirectCount=0,this.allowRedirects=!0}noMatchError(e){return new Y(4002,`'${e.segmentGroup}'`)}recognize(){let e=Xa(this.urlTree.root,[],[],this.config).segmentGroup;return this.match(e).pipe(A(r=>{let t=new Ti([],Object.freeze({}),Object.freeze(g({},this.urlTree.queryParams)),this.urlTree.fragment,{},M,this.rootComponentType,null,{}),n=new Ie(t,r),o=new Fn("",n),s=Uh(t,[],this.urlTree.queryParams,this.urlTree.fragment);return s.queryParams=this.urlTree.queryParams,o.url=this.urlSerializer.serialize(s),this.inheritParamsAndData(o._root,null),{state:o,tree:s}}))}match(e){return this.processSegmentGroup(this.injector,this.config,e,M).pipe(Ft(t=>{if(t instanceof Pn)return this.urlTree=t.urlTree,this.match(t.urlTree.root);throw t instanceof Fi?this.noMatchError(t):t}))}inheritParamsAndData(e,r){let t=e.value,n=Mo(t,r,this.paramsInheritanceStrategy);t.params=Object.freeze(n.params),t.data=Object.freeze(n.data),e.children.forEach(o=>this.inheritParamsAndData(o,t))}processSegmentGroup(e,r,t,n){return t.segments.length===0&&t.hasChildren()?this.processChildren(e,r,t):this.processSegment(e,r,t,t.segments,n,!0).pipe(A(o=>o instanceof Ie?[o]:[]))}processChildren(e,r,t){let n=[];for(let o of Object.keys(t.children))o==="primary"?n.unshift(o):n.push(o);return ve(n).pipe(ze(o=>{let s=t.children[o],a=tu(r,o);return this.processSegmentGroup(e,a,s,o)}),Ys((o,s)=>(o.push(...s),o)),Er(null),qs(),Ae(o=>{if(o===null)return Ht(t);let s=bl(o);return Nu(s),E(s)}))}processSegment(e,r,t,n,o,s){return ve(r).pipe(ze(a=>this.processSegmentAgainstRoute(a._injector??e,r,a,t,n,o,s).pipe(Ft(c=>{if(c instanceof Fi)return E(null);throw c}))),Ke(a=>!!a),Ft(a=>{if(vl(a))return Tu(t,n,o)?E(new Ro):Ht(t);throw a}))}processSegmentAgainstRoute(e,r,t,n,o,s,a){return Mu(t,n,o,s)?t.redirectTo===void 0?this.matchSegmentAgainstRoute(e,n,t,o,s):this.allowRedirects&&a?this.expandSegmentAgainstRouteUsingRedirect(e,n,r,t,o,s):Ht(n):Ht(n)}expandSegmentAgainstRouteUsingRedirect(e,r,t,n,o,s){let{matched:a,consumedSegments:c,positionalParamSegments:l,remainingSegments:d}=Po(r,n,o);if(!a)return Ht(r);n.redirectTo.startsWith("/")&&(this.absoluteRedirectCount++,this.absoluteRedirectCount>Fu&&(this.allowRedirects=!1));let u=this.applyRedirects.applyRedirectCommands(c,n.redirectTo,l);return this.applyRedirects.lineralizeSegments(n,u).pipe(Ae(p=>this.processSegment(e,t,r,p.concat(d),s,!1)))}matchSegmentAgainstRoute(e,r,t,n,o){let s=Eu(r,t,n,e,this.urlSerializer);return t.path==="**"&&(r.children={}),s.pipe(xe(a=>a.matched?(e=t._injector??e,this.getChildConfig(e,t,n).pipe(xe(({routes:c})=>{let l=t._loadedInjector??e,{consumedSegments:d,remainingSegments:u,parameters:p}=a,b=new Ti(d,p,Object.freeze(g({},this.urlTree.queryParams)),this.urlTree.fragment,Lu(t),Be(t),t.component??t._loadedComponent??null,t,Vu(t)),{segmentGroup:B,slicedSegments:V}=Xa(r,d,u,c);if(V.length===0&&B.hasChildren())return this.processChildren(l,c,B).pipe(A(R=>R===null?null:new Ie(b,R)));if(c.length===0&&V.length===0)return E(new Ie(b,[]));let S=Be(t)===o;return this.processSegment(l,c,B,V,S?M:o,!0).pipe(A(R=>new Ie(b,R instanceof Ie?[R]:[])))}))):Ht(r)))}getChildConfig(e,r,t){return r.children?E({routes:r.children,injector:e}):r.loadChildren?r._loadedRoutes!==void 0?E({routes:r._loadedRoutes,injector:r._loadedInjector}):xu(e,r,t,this.urlSerializer).pipe(Ae(n=>n?this.configLoader.loadChildren(e,r).pipe(re(o=>{r._loadedRoutes=o.routes,r._loadedInjector=o.injector})):Du(r))):E({routes:[],injector:e})}};function Nu(i){i.sort((e,r)=>e.value.outlet===M?-1:r.value.outlet===M?1:e.value.outlet.localeCompare(r.value.outlet))}function Pu(i){let e=i.value.routeConfig;return e&&e.path===""}function bl(i){let e=[],r=new Set;for(let t of i){if(!Pu(t)){e.push(t);continue}let n=e.find(o=>t.value.routeConfig===o.value.routeConfig);n!==void 0?(n.children.push(...t.children),r.add(n)):e.push(t)}for(let t of r){let n=bl(t.children);e.push(new Ie(t.value,n))}return e.filter(t=>!r.has(t))}function Lu(i){return i.data||{}}function Vu(i){return i.resolve||{}}function ju(i,e,r,t,n,o){return Ae(s=>Ou(i,e,r,t,s.extractedUrl,n,o).pipe(A(({state:a,tree:c})=>ie(g({},s),{targetSnapshot:a,urlAfterRedirects:c}))))}function Bu(i,e){return Ae(r=>{let{targetSnapshot:t,guards:{canActivateChecks:n}}=r;if(!n.length)return E(r);let o=new Set(n.map(c=>c.route)),s=new Set;for(let c of o)if(!s.has(c))for(let l of xl(c))s.add(l);let a=0;return ve(s).pipe(ze(c=>o.has(c)?Uu(c,t,i,e):(c.data=Mo(c,c.parent,i).resolve,E(void 0))),re(()=>a++),Sr(1),Ae(c=>a===s.size?E(r):Ze))})}function xl(i){let e=i.children.map(r=>xl(r)).flat();return[i,...e]}function Uu(i,e,r,t){let n=i.routeConfig,o=i._resolve;return n?.title!==void 0&&!fl(n)&&(o[Ni]=n.title),zu(o,i,e,t).pipe(A(s=>(i._resolvedData=s,i.data=Mo(i,i.parent,r).resolve,null)))}function zu(i,e,r,t){let n=no(i);if(n.length===0)return E({});let o={};return ve(n).pipe(Ae(s=>Hu(i[s],e,r,t).pipe(Ke(),re(a=>{o[s]=a}))),Sr(1),Gs(o),Ft(s=>vl(s)?Ze:ri(s)))}function Hu(i,e,r,t){let n=Pi(e)??t,o=Kt(i,n),s=o.resolve?o.resolve(e,r):He(n,()=>o(e,r));return it(s)}function to(i){return xe(e=>{let r=i(e);return r?ve(r).pipe(A(()=>e)):E(e)})}var wl=(()=>{let e=class e{buildTitle(t){let n,o=t.root;for(;o!==void 0;)n=this.getResolvedTitleForRoute(o)??n,o=o.children.find(s=>s.outlet===M);return n}getResolvedTitleForRoute(t){return t.data[Ni]}};e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=v({token:e,factory:()=>_($u),providedIn:"root"});let i=e;return i})(),$u=(()=>{let e=class e extends wl{constructor(t){super(),this.title=t}updateTitle(t){let n=this.buildTitle(t);n!==void 0&&this.title.setTitle(n)}};e.\u0275fac=function(n){return new(n||e)(f(Wa))},e.\u0275prov=v({token:e,factory:e.\u0275fac,providedIn:"root"});let i=e;return i})(),Lo=new w("",{providedIn:"root",factory:()=>({})}),Vo=new w(""),Wu=(()=>{let e=class e{constructor(){this.componentLoaders=new WeakMap,this.childrenLoaders=new WeakMap,this.compiler=_(Lr)}loadComponent(t){if(this.componentLoaders.get(t))return this.componentLoaders.get(t);if(t._loadedComponent)return E(t._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(t);let n=it(t.loadComponent()).pipe(A(Cl),re(s=>{this.onLoadEndListener&&this.onLoadEndListener(t),t._loadedComponent=s}),Nt(()=>{this.componentLoaders.delete(t)})),o=new ni(n,()=>new k).pipe(Cr());return this.componentLoaders.set(t,o),o}loadChildren(t,n){if(this.childrenLoaders.get(n))return this.childrenLoaders.get(n);if(n._loadedRoutes)return E({routes:n._loadedRoutes,injector:n._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(n);let s=Gu(n,this.compiler,t,this.onLoadEndListener).pipe(Nt(()=>{this.childrenLoaders.delete(n)})),a=new ni(s,()=>new k).pipe(Cr());return this.childrenLoaders.set(n,a),a}};e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=v({token:e,factory:e.\u0275fac,providedIn:"root"});let i=e;return i})();function Gu(i,e,r,t){return it(i.loadChildren()).pipe(A(Cl),Ae(n=>n instanceof ra||Array.isArray(n)?E(n):ve(e.compileModuleAsync(n))),A(n=>{t&&t(i);let o,s,a=!1;return Array.isArray(n)?(s=n,a=!0):(o=n.create(r).injector,s=o.get(Vo,[],{optional:!0,self:!0}).flat()),{routes:s.map(No),injector:o}}))}function qu(i){return i&&typeof i=="object"&&"default"in i}function Cl(i){return qu(i)?i.default:i}var jo=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=v({token:e,factory:()=>_(Yu),providedIn:"root"});let i=e;return i})(),Yu=(()=>{let e=class e{shouldProcessUrl(t){return!0}extract(t){return t}merge(t,n){return t}};e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=v({token:e,factory:e.\u0275fac,providedIn:"root"});let i=e;return i})(),Zu=new w("");var Xu=(()=>{let e=class e{get hasRequestedNavigation(){return this.navigationId!==0}constructor(){this.currentNavigation=null,this.currentTransition=null,this.lastSuccessfulNavigation=null,this.events=new k,this.transitionAbortSubject=new k,this.configLoader=_(Wu),this.environmentInjector=_(Pt),this.urlSerializer=_(Ao),this.rootContexts=_(Ln),this.location=_(Bt),this.inputBindingEnabled=_(Fo,{optional:!0})!==null,this.titleStrategy=_(wl),this.options=_(Lo,{optional:!0})||{},this.paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly",this.urlHandlingStrategy=_(jo),this.createViewTransition=_(Zu,{optional:!0}),this.navigationId=0,this.afterPreactivation=()=>E(void 0),this.rootComponentType=null;let t=o=>this.events.next(new fo(o)),n=o=>this.events.next(new mo(o));this.configLoader.onLoadEndListener=n,this.configLoader.onLoadStartListener=t}complete(){this.transitions?.complete()}handleNavigationRequest(t){let n=++this.navigationId;this.transitions?.next(ie(g(g({},this.transitions.value),t),{id:n}))}setupNavigations(t,n,o){return this.transitions=new ue({id:0,currentUrlTree:n,currentRawUrl:n,extractedUrl:this.urlHandlingStrategy.extract(n),urlAfterRedirects:this.urlHandlingStrategy.extract(n),rawUrl:n,extras:{},resolve:null,reject:null,promise:Promise.resolve(!0),source:Ei,restoredState:null,currentSnapshot:o.snapshot,targetSnapshot:null,currentRouterState:o,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.transitions.pipe(ce(s=>s.id!==0),A(s=>ie(g({},s),{extractedUrl:this.urlHandlingStrategy.extract(s.rawUrl)})),xe(s=>{let a=!1,c=!1;return E(s).pipe(xe(l=>{if(this.navigationId>s.id)return this.cancelNavigationTransition(s,"",ke.SupersededByNewNavigation),Ze;this.currentTransition=s,this.currentNavigation={id:l.id,initialUrl:l.rawUrl,extractedUrl:l.extractedUrl,trigger:l.source,extras:l.extras,previousNavigation:this.lastSuccessfulNavigation?ie(g({},this.lastSuccessfulNavigation),{previousNavigation:null}):null};let d=!t.navigated||this.isUpdatingInternalState()||this.isUpdatedBrowserUrl(),u=l.extras.onSameUrlNavigation??t.onSameUrlNavigation;if(!d&&u!=="reload"){let p="";return this.events.next(new xt(l.id,this.urlSerializer.serialize(l.rawUrl),p,ao.IgnoredSameUrlNavigation)),l.resolve(null),Ze}if(this.urlHandlingStrategy.shouldProcessUrl(l.rawUrl))return E(l).pipe(xe(p=>{let b=this.transitions?.getValue();return this.events.next(new Ii(p.id,this.urlSerializer.serialize(p.extractedUrl),p.source,p.restoredState)),b!==this.transitions?.getValue()?Ze:Promise.resolve(p)}),ju(this.environmentInjector,this.configLoader,this.rootComponentType,t.config,this.urlSerializer,this.paramsInheritanceStrategy),re(p=>{s.targetSnapshot=p.targetSnapshot,s.urlAfterRedirects=p.urlAfterRedirects,this.currentNavigation=ie(g({},this.currentNavigation),{finalUrl:p.urlAfterRedirects});let b=new Mn(p.id,this.urlSerializer.serialize(p.extractedUrl),this.urlSerializer.serialize(p.urlAfterRedirects),p.targetSnapshot);this.events.next(b)}));if(d&&this.urlHandlingStrategy.shouldProcessUrl(l.currentRawUrl)){let{id:p,extractedUrl:b,source:B,restoredState:V,extras:S}=l,R=new Ii(p,this.urlSerializer.serialize(b),B,V);this.events.next(R);let Ce=hl(this.rootComponentType).snapshot;return this.currentTransition=s=ie(g({},l),{targetSnapshot:Ce,urlAfterRedirects:b,extras:ie(g({},S),{skipLocationChange:!1,replaceUrl:!1})}),this.currentNavigation.finalUrl=b,E(s)}else{let p="";return this.events.next(new xt(l.id,this.urlSerializer.serialize(l.extractedUrl),p,ao.IgnoredByUrlHandlingStrategy)),l.resolve(null),Ze}}),re(l=>{let d=new lo(l.id,this.urlSerializer.serialize(l.extractedUrl),this.urlSerializer.serialize(l.urlAfterRedirects),l.targetSnapshot);this.events.next(d)}),A(l=>(this.currentTransition=s=ie(g({},l),{guards:nu(l.targetSnapshot,l.currentSnapshot,this.rootContexts)}),s)),fu(this.environmentInjector,l=>this.events.next(l)),re(l=>{if(s.guardsResult=l.guardsResult,Yt(l.guardsResult))throw pl(this.urlSerializer,l.guardsResult);let d=new co(l.id,this.urlSerializer.serialize(l.extractedUrl),this.urlSerializer.serialize(l.urlAfterRedirects),l.targetSnapshot,!!l.guardsResult);this.events.next(d)}),ce(l=>l.guardsResult?!0:(this.cancelNavigationTransition(l,"",ke.GuardRejected),!1)),to(l=>{if(l.guards.canActivateChecks.length)return E(l).pipe(re(d=>{let u=new ho(d.id,this.urlSerializer.serialize(d.extractedUrl),this.urlSerializer.serialize(d.urlAfterRedirects),d.targetSnapshot);this.events.next(u)}),xe(d=>{let u=!1;return E(d).pipe(Bu(this.paramsInheritanceStrategy,this.environmentInjector),re({next:()=>u=!0,complete:()=>{u||this.cancelNavigationTransition(d,"",ke.NoDataFromResolver)}}))}),re(d=>{let u=new uo(d.id,this.urlSerializer.serialize(d.extractedUrl),this.urlSerializer.serialize(d.urlAfterRedirects),d.targetSnapshot);this.events.next(u)}))}),to(l=>{let d=u=>{let p=[];u.routeConfig?.loadComponent&&!u.routeConfig._loadedComponent&&p.push(this.configLoader.loadComponent(u.routeConfig).pipe(re(b=>{u.component=b}),A(()=>{})));for(let b of u.children)p.push(...d(b));return p};return ot(d(l.targetSnapshot.root)).pipe(Er(null),be(1))}),to(()=>this.afterPreactivation()),xe(()=>{let{currentSnapshot:l,targetSnapshot:d}=s,u=this.createViewTransition?.(this.environmentInjector,l.root,d.root);return u?ve(u).pipe(A(()=>s)):E(s)}),A(l=>{let d=Zh(t.routeReuseStrategy,l.targetSnapshot,l.currentRouterState);return this.currentTransition=s=ie(g({},l),{targetRouterState:d}),this.currentNavigation.targetRouterState=d,s}),re(()=>{this.events.next(new Ai)}),iu(this.rootContexts,t.routeReuseStrategy,l=>this.events.next(l),this.inputBindingEnabled),be(1),re({next:l=>{a=!0,this.lastSuccessfulNavigation=this.currentNavigation,this.events.next(new bt(l.id,this.urlSerializer.serialize(l.extractedUrl),this.urlSerializer.serialize(l.urlAfterRedirects))),this.titleStrategy?.updateTitle(l.targetRouterState.snapshot),l.resolve(!0)},complete:()=>{a=!0}}),U(this.transitionAbortSubject.pipe(re(l=>{throw l}))),Nt(()=>{!a&&!c&&this.cancelNavigationTransition(s,"",ke.SupersededByNewNavigation),this.currentTransition?.id===s.id&&(this.currentNavigation=null,this.currentTransition=null)}),Ft(l=>{if(c=!0,_l(l))this.events.next(new tt(s.id,this.urlSerializer.serialize(s.extractedUrl),l.message,l.cancellationCode)),Qh(l)?this.events.next(new Mi(l.url)):s.resolve(!1);else{this.events.next(new ki(s.id,this.urlSerializer.serialize(s.extractedUrl),l,s.targetSnapshot??void 0));try{s.resolve(t.errorHandler(l))}catch(d){this.options.resolveNavigationPromiseOnError?s.resolve(!1):s.reject(d)}}return Ze}))}))}cancelNavigationTransition(t,n,o){let s=new tt(t.id,this.urlSerializer.serialize(t.extractedUrl),n,o);this.events.next(s),t.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}};e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=v({token:e,factory:e.\u0275fac,providedIn:"root"});let i=e;return i})();function Ku(i){return i!==Ei}var Qu=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=v({token:e,factory:()=>_(Ju),providedIn:"root"});let i=e;return i})(),ko=class{shouldDetach(e){return!1}store(e,r){}shouldAttach(e){return!1}retrieve(e){return null}shouldReuseRoute(e,r){return e.routeConfig===r.routeConfig}},Ju=(()=>{let e=class e extends ko{};e.\u0275fac=(()=>{let t;return function(o){return(t||(t=de(e)))(o||e)}})(),e.\u0275prov=v({token:e,factory:e.\u0275fac,providedIn:"root"});let i=e;return i})(),Dl=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=v({token:e,factory:()=>_(ef),providedIn:"root"});let i=e;return i})(),ef=(()=>{let e=class e extends Dl{constructor(){super(...arguments),this.location=_(Bt),this.urlSerializer=_(Ao),this.options=_(Lo,{optional:!0})||{},this.canceledNavigationResolution=this.options.canceledNavigationResolution||"replace",this.urlHandlingStrategy=_(jo),this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.currentUrlTree=new et,this.rawUrlTree=this.currentUrlTree,this.currentPageId=0,this.lastSuccessfulId=-1,this.routerState=hl(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(t){return this.location.subscribe(n=>{n.type==="popstate"&&t(n.url,n.state)})}handleRouterEvent(t,n){if(t instanceof Ii)this.stateMemento=this.createStateMemento();else if(t instanceof xt)this.rawUrlTree=n.initialUrl;else if(t instanceof Mn){if(this.urlUpdateStrategy==="eager"&&!n.extras.skipLocationChange){let o=this.urlHandlingStrategy.merge(n.finalUrl,n.initialUrl);this.setBrowserUrl(o,n)}}else t instanceof Ai?(this.currentUrlTree=n.finalUrl,this.rawUrlTree=this.urlHandlingStrategy.merge(n.finalUrl,n.initialUrl),this.routerState=n.targetRouterState,this.urlUpdateStrategy==="deferred"&&(n.extras.skipLocationChange||this.setBrowserUrl(this.rawUrlTree,n))):t instanceof tt&&(t.code===ke.GuardRejected||t.code===ke.NoDataFromResolver)?this.restoreHistory(n):t instanceof ki?this.restoreHistory(n,!0):t instanceof bt&&(this.lastSuccessfulId=t.id,this.currentPageId=this.browserPageId)}setBrowserUrl(t,n){let o=this.urlSerializer.serialize(t);if(this.location.isCurrentPathEqualTo(o)||n.extras.replaceUrl){let s=this.browserPageId,a=g(g({},n.extras.state),this.generateNgRouterState(n.id,s));this.location.replaceState(o,"",a)}else{let s=g(g({},n.extras.state),this.generateNgRouterState(n.id,this.browserPageId+1));this.location.go(o,"",s)}}restoreHistory(t,n=!1){if(this.canceledNavigationResolution==="computed"){let o=this.browserPageId,s=this.currentPageId-o;s!==0?this.location.historyGo(s):this.currentUrlTree===t.finalUrl&&s===0&&(this.resetState(t),this.resetUrlToCurrentUrlTree())}else this.canceledNavigationResolution==="replace"&&(n&&this.resetState(t),this.resetUrlToCurrentUrlTree())}resetState(t){this.routerState=this.stateMemento.routerState,this.currentUrlTree=this.stateMemento.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,t.finalUrl??this.rawUrlTree)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}generateNgRouterState(t,n){return this.canceledNavigationResolution==="computed"?{navigationId:t,\u0275routerPageId:n}:{navigationId:t}}};e.\u0275fac=(()=>{let t;return function(o){return(t||(t=de(e)))(o||e)}})(),e.\u0275prov=v({token:e,factory:e.\u0275fac,providedIn:"root"});let i=e;return i})(),Ci=function(i){return i[i.COMPLETE=0]="COMPLETE",i[i.FAILED=1]="FAILED",i[i.REDIRECTING=2]="REDIRECTING",i}(Ci||{});function tf(i,e){i.events.pipe(ce(r=>r instanceof bt||r instanceof tt||r instanceof ki||r instanceof xt),A(r=>r instanceof bt||r instanceof xt?Ci.COMPLETE:(r instanceof tt?r.code===ke.Redirect||r.code===ke.SupersededByNewNavigation:!1)?Ci.REDIRECTING:Ci.FAILED),ce(r=>r!==Ci.REDIRECTING),be(1)).subscribe(()=>{e()})}function nf(i){throw i}var rf={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},of={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"},El=(()=>{let e=class e{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=_(ln),this.stateManager=_(Dl),this.options=_(Lo,{optional:!0})||{},this.pendingTasks=_(on),this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.navigationTransitions=_(Xu),this.urlSerializer=_(Ao),this.location=_(Bt),this.urlHandlingStrategy=_(jo),this._events=new k,this.errorHandler=this.options.errorHandler||nf,this.navigated=!1,this.routeReuseStrategy=_(Qu),this.onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore",this.config=_(Vo,{optional:!0})?.flat()??[],this.componentInputBindingEnabled=!!_(Fo,{optional:!0}),this.eventsSubscription=new Ee,this.isNgZoneEnabled=_(I)instanceof I&&I.isInAngularZone(),this.resetConfig(this.config),this.navigationTransitions.setupNavigations(this,this.currentUrlTree,this.routerState).subscribe({error:t=>{this.console.warn(t)}}),this.subscribeToNavigationEvents()}subscribeToNavigationEvents(){let t=this.navigationTransitions.events.subscribe(n=>{try{let o=this.navigationTransitions.currentTransition,s=this.navigationTransitions.currentNavigation;if(o!==null&&s!==null){if(this.stateManager.handleRouterEvent(n,s),n instanceof tt&&n.code!==ke.Redirect&&n.code!==ke.SupersededByNewNavigation)this.navigated=!0;else if(n instanceof bt)this.navigated=!0;else if(n instanceof Mi){let a=this.urlHandlingStrategy.merge(n.url,o.currentRawUrl),c={info:o.extras.info,skipLocationChange:o.extras.skipLocationChange,replaceUrl:this.urlUpdateStrategy==="eager"||Ku(o.source)};this.scheduleNavigation(a,Ei,null,c,{resolve:o.resolve,reject:o.reject,promise:o.promise})}}af(n)&&this._events.next(n)}catch(o){this.navigationTransitions.transitionAbortSubject.next(o)}});this.eventsSubscription.add(t)}resetRootComponentType(t){this.routerState.root.component=t,this.navigationTransitions.rootComponentType=t}initialNavigation(){this.setUpLocationChangeListener(),this.navigationTransitions.hasRequestedNavigation||this.navigateToSyncWithBrowser(this.location.path(!0),Ei,this.stateManager.restoredState())}setUpLocationChangeListener(){this.nonRouterCurrentEntryChangeSubscription??=this.stateManager.registerNonRouterCurrentEntryChangeListener((t,n)=>{setTimeout(()=>{this.navigateToSyncWithBrowser(t,"popstate",n)},0)})}navigateToSyncWithBrowser(t,n,o){let s={replaceUrl:!0},a=o?.navigationId?o:null;if(o){let l=g({},o);delete l.navigationId,delete l.\u0275routerPageId,Object.keys(l).length!==0&&(s.state=l)}let c=this.parseUrl(t);this.scheduleNavigation(c,n,a,s)}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.navigationTransitions.currentNavigation}get lastSuccessfulNavigation(){return this.navigationTransitions.lastSuccessfulNavigation}resetConfig(t){this.config=t.map(No),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(t,n={}){let{relativeTo:o,queryParams:s,fragment:a,queryParamsHandling:c,preserveFragment:l}=n,d=l?this.currentUrlTree.fragment:a,u=null;switch(c){case"merge":u=g(g({},this.currentUrlTree.queryParams),s);break;case"preserve":u=this.currentUrlTree.queryParams;break;default:u=s||null}u!==null&&(u=this.removeEmptyProps(u));let p;try{let b=o?o.snapshot:this.routerState.snapshot.root;p=al(b)}catch{(typeof t[0]!="string"||!t[0].startsWith("/"))&&(t=[]),p=this.currentUrlTree.root}return ll(p,t,u,d??null)}navigateByUrl(t,n={skipLocationChange:!1}){let o=Yt(t)?t:this.parseUrl(t),s=this.urlHandlingStrategy.merge(o,this.rawUrlTree);return this.scheduleNavigation(s,Ei,null,n)}navigate(t,n={skipLocationChange:!1}){return sf(t),this.navigateByUrl(this.createUrlTree(t,n),n)}serializeUrl(t){return this.urlSerializer.serialize(t)}parseUrl(t){try{return this.urlSerializer.parse(t)}catch{return this.urlSerializer.parse("/")}}isActive(t,n){let o;if(n===!0?o=g({},rf):n===!1?o=g({},of):o=n,Yt(t))return Ga(this.currentUrlTree,t,o);let s=this.parseUrl(t);return Ga(this.currentUrlTree,s,o)}removeEmptyProps(t){return Object.entries(t).reduce((n,[o,s])=>(s!=null&&(n[o]=s),n),{})}scheduleNavigation(t,n,o,s,a){if(this.disposed)return Promise.resolve(!1);let c,l,d;a?(c=a.resolve,l=a.reject,d=a.promise):d=new Promise((p,b)=>{c=p,l=b});let u=this.pendingTasks.add();return tf(this,()=>{queueMicrotask(()=>this.pendingTasks.remove(u))}),this.navigationTransitions.handleNavigationRequest({source:n,restoredState:o,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,rawUrl:t,extras:s,resolve:c,reject:l,promise:d,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),d.catch(p=>Promise.reject(p))}};e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=v({token:e,factory:e.\u0275fac,providedIn:"root"});let i=e;return i})();function sf(i){for(let e=0;er.\u0275providers)])}function cf(i){return i.routerState.root}function df(){let i=_(at);return e=>{let r=i.get(Vt);if(e!==r.components[0])return;let t=i.get(El),n=i.get(hf);i.get(uf)===1&&t.initialNavigation(),i.get(ff,null,kr.Optional)?.setUpPreloading(),i.get(lf,null,kr.Optional)?.init(),t.resetRootComponentType(r.componentTypes[0]),n.closed||(n.next(),n.complete(),n.unsubscribe())}}var hf=new w("",{factory:()=>new k}),uf=new w("",{providedIn:"root",factory:()=>1});var ff=new w("");var mf=new w("cdk-dir-doc",{providedIn:"root",factory:pf});function pf(){return _(L)}var gf=/^(ar|ckb|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*[-_](Adlm|Arab|Hebr|Nkoo|Rohg|Thaa))(?!.*[-_](Latn|Cyrl)($|-|_))($|-|_)/i;function _f(i){let e=i?.toLowerCase()||"";return e==="auto"&&typeof navigator<"u"&&navigator?.language?gf.test(navigator.language)?"rtl":"ltr":e==="rtl"?"rtl":"ltr"}var qe=(()=>{let e=class e{constructor(t){if(this.value="ltr",this.change=new z,t){let n=t.body?t.body.dir:null,o=t.documentElement?t.documentElement.dir:null;this.value=_f(n||o||"ltr")}}ngOnDestroy(){this.change.complete()}};e.\u0275fac=function(n){return new(n||e)(f(mf,8))},e.\u0275prov=v({token:e,factory:e.\u0275fac,providedIn:"root"});let i=e;return i})();var nt=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=O({type:e}),e.\u0275inj=T({});let i=e;return i})();var Bo;try{Bo=typeof Intl<"u"&&Intl.v8BreakIterator}catch{Bo=!1}var ge=(()=>{let e=class e{constructor(t){this._platformId=t,this.isBrowser=this._platformId?Ea(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||Bo)&&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}};e.\u0275fac=function(n){return new(n||e)(f($e))},e.\u0275prov=v({token:e,factory:e.\u0275fac,providedIn:"root"});let i=e;return i})();var Vi;function vf(){if(Vi==null&&typeof window<"u")try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>Vi=!0}))}finally{Vi=Vi||!1}return Vi}function Uo(i){return vf()?i:!!i.capture}var wt;function Rl(){if(wt==null){if(typeof document!="object"||!document||typeof Element!="function"||!Element)return wt=!1,wt;if("scrollBehavior"in document.documentElement.style)wt=!0;else{let i=Element.prototype.scrollTo;i?wt=!/\{\s*\[native code\]\s*\}/.test(i.toString()):wt=!1}}return wt}function ji(i){return i.composedPath?i.composedPath()[0]:i.target}function Bi(){return typeof __karma__<"u"&&!!__karma__||typeof jasmine<"u"&&!!jasmine||typeof jest<"u"&&!!jest||typeof Mocha<"u"&&!!Mocha}var zo=class{constructor(e){this._box=e,this._destroyed=new k,this._resizeSubject=new k,this._elementObservables=new Map,typeof ResizeObserver<"u"&&(this._resizeObserver=new ResizeObserver(r=>this._resizeSubject.next(r)))}observe(e){return this._elementObservables.has(e)||this._elementObservables.set(e,new Ue(r=>{let t=this._resizeSubject.subscribe(r);return this._resizeObserver?.observe(e,{box:this._box}),()=>{this._resizeObserver?.unobserve(e),t.unsubscribe(),this._elementObservables.delete(e)}}).pipe(ce(r=>r.some(t=>t.target===e)),Rr({bufferSize:1,refCount:!0}),U(this._destroyed))),this._elementObservables.get(e)}destroy(){this._destroyed.next(),this._destroyed.complete(),this._resizeSubject.complete(),this._elementObservables.clear()}},Il=(()=>{let e=class e{constructor(){this._observers=new Map,this._ngZone=_(I),typeof ResizeObserver<"u"}ngOnDestroy(){for(let[,t]of this._observers)t.destroy();this._observers.clear(),typeof ResizeObserver<"u"}observe(t,n){let o=n?.box||"content-box";return this._observers.has(o)||this._observers.set(o,new zo(o)),this._observers.get(o).observe(t)}};e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=v({token:e,factory:e.\u0275fac,providedIn:"root"});let i=e;return i})();function Ho(i){return i!=null&&`${i}`!="false"}function Qt(i){return Array.isArray(i)?i:[i]}function se(i){return i==null?"":typeof i=="string"?i:`${i}px`}function Ui(i){return i instanceof F?i.nativeElement:i}var yf=(()=>{let e=class e{create(t){return typeof MutationObserver>"u"?null:new MutationObserver(t)}};e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=v({token:e,factory:e.\u0275fac,providedIn:"root"});let i=e;return i})();var kl=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=O({type:e}),e.\u0275inj=T({providers:[yf]});let i=e;return i})();function Ye(i,...e){return e.length?e.some(r=>i[r]):i.altKey||i.shiftKey||i.ctrlKey||i.metaKey}var Al=new Set,Dt,bf=(()=>{let e=class e{constructor(t,n){this._platform=t,this._nonce=n,this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):wf}matchMedia(t){return(this._platform.WEBKIT||this._platform.BLINK)&&xf(t,this._nonce),this._matchMedia(t)}};e.\u0275fac=function(n){return new(n||e)(f(ge),f(ci,8))},e.\u0275prov=v({token:e,factory:e.\u0275fac,providedIn:"root"});let i=e;return i})();function xf(i,e){if(!Al.has(i))try{Dt||(Dt=document.createElement("style"),e&&Dt.setAttribute("nonce",e),Dt.setAttribute("type","text/css"),document.head.appendChild(Dt)),Dt.sheet&&(Dt.sheet.insertRule(`@media ${i} {body{ }}`,0),Al.add(i))}catch(r){console.error(r)}}function wf(i){return{matches:i==="all"||i==="",media:i,addListener:()=>{},removeListener:()=>{}}}var Tl=(()=>{let e=class e{constructor(t,n){this._mediaMatcher=t,this._zone=n,this._queries=new Map,this._destroySubject=new k}ngOnDestroy(){this._destroySubject.next(),this._destroySubject.complete()}isMatched(t){return Ml(Qt(t)).some(o=>this._registerQuery(o).mql.matches)}observe(t){let o=Ml(Qt(t)).map(a=>this._registerQuery(a).observable),s=ot(o);return s=Qi(s.pipe(be(1)),s.pipe(Ir(1),Ji(0))),s.pipe(A(a=>{let c={matches:!1,breakpoints:{}};return a.forEach(({matches:l,query:d})=>{c.matches=c.matches||l,c.breakpoints[d]=l}),c}))}_registerQuery(t){if(this._queries.has(t))return this._queries.get(t);let n=this._mediaMatcher.matchMedia(t),s={observable:new Ue(a=>{let c=l=>this._zone.run(()=>a.next(l));return n.addListener(c),()=>{n.removeListener(c)}}).pipe(Qe(n),A(({matches:a})=>({query:t,matches:a})),U(this._destroySubject)),mql:n};return this._queries.set(t,s),s}};e.\u0275fac=function(n){return new(n||e)(f(bf),f(I))},e.\u0275prov=v({token:e,factory:e.\u0275fac,providedIn:"root"});let i=e;return i})();function Ml(i){return i.map(e=>e.split(",")).reduce((e,r)=>e.concat(r)).map(e=>e.trim())}var Nl=" ";function Pl(i,e,r){let t=Ll(i,e);r=r.trim(),!t.some(n=>n.trim()===r)&&(t.push(r),i.setAttribute(e,t.join(Nl)))}function Zo(i,e,r){let t=Ll(i,e);r=r.trim();let n=t.filter(o=>o!==r);n.length?i.setAttribute(e,n.join(Nl)):i.removeAttribute(e)}function Ll(i,e){return i.getAttribute(e)?.match(/\S+/g)??[]}var Wo=class{constructor(e,r){this._items=e,this._activeItemIndex=-1,this._activeItem=null,this._wrap=!1,this._letterKeyStream=new k,this._typeaheadSubscription=Ee.EMPTY,this._vertical=!0,this._allowedModifierKeys=[],this._homeAndEnd=!1,this._pageUpAndDown={enabled:!1,delta:10},this._skipPredicateFn=t=>t.disabled,this._pressedLetters=[],this.tabOut=new k,this.change=new k,e instanceof Mr?this._itemChangesSubscription=e.changes.subscribe(t=>this._itemsChanged(t.toArray())):Nr(e)&&(this._effectRef=ga(()=>this._itemsChanged(e()),{injector:r}))}skipPredicate(e){return this._skipPredicateFn=e,this}withWrap(e=!0){return this._wrap=e,this}withVerticalOrientation(e=!0){return this._vertical=e,this}withHorizontalOrientation(e){return this._horizontal=e,this}withAllowedModifierKeys(e){return this._allowedModifierKeys=e,this}withTypeAhead(e=200){return this._typeaheadSubscription.unsubscribe(),this._typeaheadSubscription=this._letterKeyStream.pipe(re(r=>this._pressedLetters.push(r)),Ji(e),ce(()=>this._pressedLetters.length>0),A(()=>this._pressedLetters.join(""))).subscribe(r=>{let t=this._getItemsArray();for(let n=1;n!e[o]||this._allowedModifierKeys.indexOf(o)>-1);switch(r){case 9:this.tabOut.next();return;case 40:if(this._vertical&&n){this.setNextItemActive();break}else return;case 38:if(this._vertical&&n){this.setPreviousItemActive();break}else return;case 39:if(this._horizontal&&n){this._horizontal==="rtl"?this.setPreviousItemActive():this.setNextItemActive();break}else return;case 37:if(this._horizontal&&n){this._horizontal==="rtl"?this.setNextItemActive():this.setPreviousItemActive();break}else return;case 36:if(this._homeAndEnd&&n){this.setFirstItemActive();break}else return;case 35:if(this._homeAndEnd&&n){this.setLastItemActive();break}else return;case 33:if(this._pageUpAndDown.enabled&&n){let o=this._activeItemIndex-this._pageUpAndDown.delta;this._setActiveItemByIndex(o>0?o:0,1);break}else return;case 34:if(this._pageUpAndDown.enabled&&n){let o=this._activeItemIndex+this._pageUpAndDown.delta,s=this._getItemsArray().length;this._setActiveItemByIndex(o=65&&r<=90||r>=48&&r<=57)&&this._letterKeyStream.next(String.fromCharCode(r)));return}this._pressedLetters=[],e.preventDefault()}get activeItemIndex(){return this._activeItemIndex}get activeItem(){return this._activeItem}isTyping(){return this._pressedLetters.length>0}setFirstItemActive(){this._setActiveItemByIndex(0,1)}setLastItemActive(){this._setActiveItemByIndex(this._items.length-1,-1)}setNextItemActive(){this._activeItemIndex<0?this.setFirstItemActive():this._setActiveItemByDelta(1)}setPreviousItemActive(){this._activeItemIndex<0&&this._wrap?this.setLastItemActive():this._setActiveItemByDelta(-1)}updateActiveItem(e){let r=this._getItemsArray(),t=typeof e=="number"?e:r.indexOf(e),n=r[t];this._activeItem=n??null,this._activeItemIndex=t}destroy(){this._typeaheadSubscription.unsubscribe(),this._itemChangesSubscription?.unsubscribe(),this._effectRef?.destroy(),this._letterKeyStream.complete(),this.tabOut.complete(),this.change.complete(),this._pressedLetters=[]}_setActiveItemByDelta(e){this._wrap?this._setActiveInWrapMode(e):this._setActiveInDefaultMode(e)}_setActiveInWrapMode(e){let r=this._getItemsArray();for(let t=1;t<=r.length;t++){let n=(this._activeItemIndex+e*t+r.length)%r.length,o=r[n];if(!this._skipPredicateFn(o)){this.setActiveItem(n);return}}}_setActiveInDefaultMode(e){this._setActiveItemByIndex(this._activeItemIndex+e,e)}_setActiveItemByIndex(e,r){let t=this._getItemsArray();if(t[e]){for(;this._skipPredicateFn(t[e]);)if(e+=r,!t[e])return;this.setActiveItem(e)}}_getItemsArray(){return Nr(this._items)?this._items():this._items instanceof Mr?this._items.toArray():this._items}_itemsChanged(e){if(this._activeItem){let r=e.indexOf(this._activeItem);r>-1&&r!==this._activeItemIndex&&(this._activeItemIndex=r)}}},Bn=class extends Wo{setActiveItem(e){this.activeItem&&this.activeItem.setInactiveStyles(),super.setActiveItem(e),this.activeItem&&this.activeItem.setActiveStyles()}};function Vl(i){return i.buttons===0||i.detail===0}function jl(i){let e=i.touches&&i.touches[0]||i.changedTouches&&i.changedTouches[0];return!!e&&e.identifier===-1&&(e.radiusX==null||e.radiusX===1)&&(e.radiusY==null||e.radiusY===1)}var Mf=new w("liveAnnouncerElement",{providedIn:"root",factory:Tf});function Tf(){return null}var Of=new w("LIVE_ANNOUNCER_DEFAULT_OPTIONS"),Ff=0,Bl=(()=>{let e=class e{constructor(t,n,o,s){this._ngZone=n,this._defaultOptions=s,this._document=o,this._liveElement=t||this._createLiveElement()}announce(t,...n){let o=this._defaultOptions,s,a;return n.length===1&&typeof n[0]=="number"?a=n[0]:[s,a]=n,this.clear(),clearTimeout(this._previousTimeout),s||(s=o&&o.politeness?o.politeness:"polite"),a==null&&o&&(a=o.duration),this._liveElement.setAttribute("aria-live",s),this._liveElement.id&&this._exposeAnnouncerToModals(this._liveElement.id),this._ngZone.runOutsideAngular(()=>(this._currentPromise||(this._currentPromise=new Promise(c=>this._currentResolve=c)),clearTimeout(this._previousTimeout),this._previousTimeout=setTimeout(()=>{this._liveElement.textContent=t,typeof a=="number"&&(this._previousTimeout=setTimeout(()=>this.clear(),a)),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 t="cdk-live-announcer-element",n=this._document.getElementsByClassName(t),o=this._document.createElement("div");for(let s=0;s .cdk-overlay-container [aria-modal="true"]');for(let o=0;o{let e=class e{constructor(t,n){this._platform=t,this._document=n,this._breakpointSubscription=_(Tl).observe("(forced-colors: active)").subscribe(()=>{this._hasCheckedHighContrastMode&&(this._hasCheckedHighContrastMode=!1,this._applyBodyHighContrastModeCssClasses())})}getHighContrastMode(){if(!this._platform.isBrowser)return Et.NONE;let t=this._document.createElement("div");t.style.backgroundColor="rgb(1,2,3)",t.style.position="absolute",this._document.body.appendChild(t);let n=this._document.defaultView||window,o=n&&n.getComputedStyle?n.getComputedStyle(t):null,s=(o&&o.backgroundColor||"").replace(/ /g,"");switch(t.remove(),s){case"rgb(0,0,0)":case"rgb(45,50,54)":case"rgb(32,32,32)":return Et.WHITE_ON_BLACK;case"rgb(255,255,255)":case"rgb(255,250,239)":return Et.BLACK_ON_WHITE}return Et.NONE}ngOnDestroy(){this._breakpointSubscription.unsubscribe()}_applyBodyHighContrastModeCssClasses(){if(!this._hasCheckedHighContrastMode&&this._platform.isBrowser&&this._document.body){let t=this._document.body.classList;t.remove($o,Ol,Fl),this._hasCheckedHighContrastMode=!0;let n=this.getHighContrastMode();n===Et.BLACK_ON_WHITE?t.add($o,Ol):n===Et.WHITE_ON_BLACK&&t.add($o,Fl)}}};e.\u0275fac=function(n){return new(n||e)(f(ge),f(L))},e.\u0275prov=v({token:e,factory:e.\u0275fac,providedIn:"root"});let i=e;return i})();var Pf=["text"],Lf=[[["mat-icon"]],"*"],Vf=["mat-icon","*"];function jf(i,e){if(i&1&&X(0,"mat-pseudo-checkbox",1),i&2){let r=H();Z("disabled",r.disabled)("state",r.selected?"checked":"unchecked")}}function Bf(i,e){if(i&1&&X(0,"mat-pseudo-checkbox",3),i&2){let r=H();Z("disabled",r.disabled)}}function Uf(i,e){if(i&1&&(y(0,"span",4),le(1),x()),i&2){let r=H();D(),ft("(",r.group.label,")")}}function zf(){return!0}var Hf=new w("mat-sanity-checks",{providedIn:"root",factory:zf}),_e=(()=>{let e=class e{constructor(t,n,o){this._sanityChecks=n,this._document=o,this._hasDoneGlobalChecks=!1,t._applyBodyHighContrastModeCssClasses(),this._hasDoneGlobalChecks||(this._hasDoneGlobalChecks=!0)}_checkIsEnabled(t){return Bi()?!1:typeof this._sanityChecks=="boolean"?this._sanityChecks:!!this._sanityChecks[t]}};e.\u0275fac=function(n){return new(n||e)(f(Ul),f(Hf,8),f(L))},e.\u0275mod=O({type:e}),e.\u0275inj=T({imports:[nt,nt]});let i=e;return i})();var Hi=class{constructor(e,r,t,n,o){this._defaultMatcher=e,this.ngControl=r,this._parentFormGroup=t,this._parentForm=n,this._stateChanges=o,this.errorState=!1}updateErrorState(){let e=this.errorState,r=this._parentFormGroup||this._parentForm,t=this.matcher||this._defaultMatcher,n=this.ngControl?this.ngControl.control:null,o=t?.isErrorState(n,r)??!1;o!==e&&(this.errorState=o,this._stateChanges.next())}};var Yl=(()=>{let e=class e{isErrorState(t,n){return!!(t&&t.invalid&&(t.touched||n&&n.submitted))}};e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=v({token:e,factory:e.\u0275fac,providedIn:"root"});let i=e;return i})();var Pe=function(i){return i[i.FADING_IN=0]="FADING_IN",i[i.VISIBLE=1]="VISIBLE",i[i.FADING_OUT=2]="FADING_OUT",i[i.HIDDEN=3]="HIDDEN",i}(Pe||{}),Xo=class{constructor(e,r,t,n=!1){this._renderer=e,this.element=r,this.config=t,this._animationForciblyDisabledThroughCss=n,this.state=Pe.HIDDEN}fadeOut(){this._renderer.fadeOutRipple(this)}},Hl=Uo({passive:!0,capture:!0}),Ko=class{constructor(){this._events=new Map,this._delegateEventHandler=e=>{let r=ji(e);r&&this._events.get(e.type)?.forEach((t,n)=>{(n===r||n.contains(r))&&t.forEach(o=>o.handleEvent(e))})}}addHandler(e,r,t,n){let o=this._events.get(r);if(o){let s=o.get(t);s?s.add(n):o.set(t,new Set([n]))}else this._events.set(r,new Map([[t,new Set([n])]])),e.runOutsideAngular(()=>{document.addEventListener(r,this._delegateEventHandler,Hl)})}removeHandler(e,r,t){let n=this._events.get(e);if(!n)return;let o=n.get(r);o&&(o.delete(t),o.size===0&&n.delete(r),n.size===0&&(this._events.delete(e),document.removeEventListener(e,this._delegateEventHandler,Hl)))}},$l={enterDuration:225,exitDuration:150},$f=800,Wl=Uo({passive:!0,capture:!0}),Gl=["mousedown","touchstart"],ql=["mouseup","mouseleave","touchend","touchcancel"],zi=class zi{constructor(e,r,t,n){this._target=e,this._ngZone=r,this._platform=n,this._isPointerDown=!1,this._activeRipples=new Map,this._pointerUpEventsRegistered=!1,n.isBrowser&&(this._containerElement=Ui(t))}fadeInRipple(e,r,t={}){let n=this._containerRect=this._containerRect||this._containerElement.getBoundingClientRect(),o=g(g({},$l),t.animation);t.centered&&(e=n.left+n.width/2,r=n.top+n.height/2);let s=t.radius||Wf(e,r,n),a=e-n.left,c=r-n.top,l=o.enterDuration,d=document.createElement("div");d.classList.add("mat-ripple-element"),d.style.left=`${a-s}px`,d.style.top=`${c-s}px`,d.style.height=`${s*2}px`,d.style.width=`${s*2}px`,t.color!=null&&(d.style.backgroundColor=t.color),d.style.transitionDuration=`${l}ms`,this._containerElement.appendChild(d);let u=window.getComputedStyle(d),p=u.transitionProperty,b=u.transitionDuration,B=p==="none"||b==="0s"||b==="0s, 0s"||n.width===0&&n.height===0,V=new Xo(this,d,t,B);d.style.transform="scale3d(1, 1, 1)",V.state=Pe.FADING_IN,t.persistent||(this._mostRecentTransientRipple=V);let S=null;return!B&&(l||o.exitDuration)&&this._ngZone.runOutsideAngular(()=>{let R=()=>this._finishRippleTransition(V),Ce=()=>this._destroyRipple(V);d.addEventListener("transitionend",R),d.addEventListener("transitioncancel",Ce),S={onTransitionEnd:R,onTransitionCancel:Ce}}),this._activeRipples.set(V,S),(B||!l)&&this._finishRippleTransition(V),V}fadeOutRipple(e){if(e.state===Pe.FADING_OUT||e.state===Pe.HIDDEN)return;let r=e.element,t=g(g({},$l),e.config.animation);r.style.transitionDuration=`${t.exitDuration}ms`,r.style.opacity="0",e.state=Pe.FADING_OUT,(e._animationForciblyDisabledThroughCss||!t.exitDuration)&&this._finishRippleTransition(e)}fadeOutAll(){this._getActiveRipples().forEach(e=>e.fadeOut())}fadeOutAllNonPersistent(){this._getActiveRipples().forEach(e=>{e.config.persistent||e.fadeOut()})}setupTriggerEvents(e){let r=Ui(e);!this._platform.isBrowser||!r||r===this._triggerElement||(this._removeTriggerEvents(),this._triggerElement=r,Gl.forEach(t=>{zi._eventManager.addHandler(this._ngZone,t,r,this)}))}handleEvent(e){e.type==="mousedown"?this._onMousedown(e):e.type==="touchstart"?this._onTouchStart(e):this._onPointerUp(),this._pointerUpEventsRegistered||(this._ngZone.runOutsideAngular(()=>{ql.forEach(r=>{this._triggerElement.addEventListener(r,this,Wl)})}),this._pointerUpEventsRegistered=!0)}_finishRippleTransition(e){e.state===Pe.FADING_IN?this._startFadeOutTransition(e):e.state===Pe.FADING_OUT&&this._destroyRipple(e)}_startFadeOutTransition(e){let r=e===this._mostRecentTransientRipple,{persistent:t}=e.config;e.state=Pe.VISIBLE,!t&&(!r||!this._isPointerDown)&&e.fadeOut()}_destroyRipple(e){let r=this._activeRipples.get(e)??null;this._activeRipples.delete(e),this._activeRipples.size||(this._containerRect=null),e===this._mostRecentTransientRipple&&(this._mostRecentTransientRipple=null),e.state=Pe.HIDDEN,r!==null&&(e.element.removeEventListener("transitionend",r.onTransitionEnd),e.element.removeEventListener("transitioncancel",r.onTransitionCancel)),e.element.remove()}_onMousedown(e){let r=Vl(e),t=this._lastTouchStartEvent&&Date.now(){let r=e.state===Pe.VISIBLE||e.config.terminateOnPointerUp&&e.state===Pe.FADING_IN;!e.config.persistent&&r&&e.fadeOut()}))}_getActiveRipples(){return Array.from(this._activeRipples.keys())}_removeTriggerEvents(){let e=this._triggerElement;e&&(Gl.forEach(r=>zi._eventManager.removeHandler(r,e,this)),this._pointerUpEventsRegistered&&ql.forEach(r=>e.removeEventListener(r,this,Wl)))}};zi._eventManager=new Ko;var Qo=zi;function Wf(i,e,r){let t=Math.max(Math.abs(i-r.left),Math.abs(i-r.right)),n=Math.max(Math.abs(e-r.top),Math.abs(e-r.bottom));return Math.sqrt(t*t+n*n)}var Gf=new w("mat-ripple-global-options"),qf=(()=>{let e=class e{get disabled(){return this._disabled}set disabled(t){t&&this.fadeOutAllNonPersistent(),this._disabled=t,this._setupTriggerEventsIfEnabled()}get trigger(){return this._trigger||this._elementRef.nativeElement}set trigger(t){this._trigger=t,this._setupTriggerEventsIfEnabled()}constructor(t,n,o,s,a){this._elementRef=t,this._animationMode=a,this.radius=0,this._disabled=!1,this._isInitialized=!1,this._globalOptions=s||{},this._rippleRenderer=new Qo(this,n,t,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:g(g(g({},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(t,n=0,o){return typeof t=="number"?this._rippleRenderer.fadeInRipple(t,n,g(g({},this.rippleConfig),o)):this._rippleRenderer.fadeInRipple(0,0,g(g({},this.rippleConfig),t))}};e.\u0275fac=function(n){return new(n||e)(h(F),h(I),h(ge),h(Gf,8),h(Le,8))},e.\u0275dir=C({type:e,selectors:[["","mat-ripple",""],["","matRipple",""]],hostAttrs:[1,"mat-ripple"],hostVars:2,hostBindings:function(n,o){n&2&&ne("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 i=e;return i})(),Yf=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=O({type:e}),e.\u0275inj=T({imports:[_e,_e]});let i=e;return i})(),Zf=(()=>{let e=class e{constructor(t){this._animationMode=t,this.state="unchecked",this.disabled=!1,this.appearance="full"}};e.\u0275fac=function(n){return new(n||e)(h(Le,8))},e.\u0275cmp=ee({type:e,selectors:[["mat-pseudo-checkbox"]],hostAttrs:[1,"mat-pseudo-checkbox"],hostVars:12,hostBindings:function(n,o){n&2&&ne("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:[te],decls:0,vars:0,template:function(n,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 i=e;return i})(),Xf=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=O({type:e}),e.\u0275inj=T({imports:[_e]});let i=e;return i})(),es=new w("MAT_OPTION_PARENT_COMPONENT");var ts=new w("MatOptgroup");var Kf=0,Jo=class{constructor(e,r=!1){this.source=e,this.isUserInput=r}},Wn=(()=>{let e=class e{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(t){this._disabled=t}get disableRipple(){return!!(this._parent&&this._parent.disableRipple)}get hideSingleSelectionIndicator(){return!!(this._parent&&this._parent.hideSingleSelectionIndicator)}constructor(t,n,o,s){this._element=t,this._changeDetectorRef=n,this._parent=o,this.group=s,this._selected=!1,this._active=!1,this._disabled=!1,this._mostRecentViewValue="",this.id=`mat-option-${Kf++}`,this.onSelectionChange=new z,this._stateChanges=new k}get active(){return this._active}get viewValue(){return(this._text?.nativeElement.textContent||"").trim()}select(t=!0){this._selected||(this._selected=!0,this._changeDetectorRef.markForCheck(),t&&this._emitSelectionChangeEvent())}deselect(t=!0){this._selected&&(this._selected=!1,this._changeDetectorRef.markForCheck(),t&&this._emitSelectionChangeEvent())}focus(t,n){let o=this._getHostElement();typeof o.focus=="function"&&o.focus(n)}setActiveStyles(){this._active||(this._active=!0,this._changeDetectorRef.markForCheck())}setInactiveStyles(){this._active&&(this._active=!1,this._changeDetectorRef.markForCheck())}getLabel(){return this.viewValue}_handleKeydown(t){(t.keyCode===13||t.keyCode===32)&&!Ye(t)&&(this._selectViaInteraction(),t.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 t=this.viewValue;t!==this._mostRecentViewValue&&(this._mostRecentViewValue&&this._stateChanges.next(),this._mostRecentViewValue=t)}}ngOnDestroy(){this._stateChanges.complete()}_emitSelectionChangeEvent(t=!1){this.onSelectionChange.emit(new Jo(this,t))}};e.\u0275fac=function(n){return new(n||e)(h(F),h(Se),h(es,8),h(ts,8))},e.\u0275cmp=ee({type:e,selectors:[["mat-option"]],viewQuery:function(n,o){if(n&1&&pe(Pf,7),n&2){let s;N(s=P())&&(o._text=s.first)}},hostAttrs:["role","option",1,"mat-mdc-option","mdc-list-item"],hostVars:11,hostBindings:function(n,o){n&1&&me("click",function(){return o._selectViaInteraction()})("keydown",function(a){return o._handleKeydown(a)}),n&2&&(hi("id",o.id),he("aria-selected",o.selected)("aria-disabled",o.disabled.toString()),ne("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",G]},outputs:{onSelectionChange:"onSelectionChange"},exportAs:["matOption"],standalone:!0,features:[ae,te],ngContentSelectors:Vf,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(n,o){n&1&&(Fe(Lf),j(0,jf,1,2,"mat-pseudo-checkbox",1),K(1),y(2,"span",2,0),K(4,1),x(),j(5,Bf,1,1,"mat-pseudo-checkbox",3)(6,Uf,2,1,"span",4),X(7,"div",5)),n&2&&(W(0,o.multiple?0:-1),D(5),W(5,!o.multiple&&o.selected&&!o.hideSingleSelectionIndicator?5:-1),D(),W(6,o.group&&o.group._inert?6:-1),D(),Z("matRippleTrigger",o._getHostElement())("matRippleDisabled",o.disabled||o.disableRipple))},dependencies:[Zf,qf],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 i=e;return i})();function Zl(i,e,r){if(r.length){let t=e.toArray(),n=r.toArray(),o=0;for(let s=0;sr+t?Math.max(0,i-t+e):r}var is=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=O({type:e}),e.\u0275inj=T({imports:[Yf,_e,Xf]});let i=e;return i})();var Qf=["notch"],Jf=["matFormFieldNotchedOutline",""],em=["*"],tm=["textField"],im=["iconPrefixContainer"],nm=["textPrefixContainer"],rm=["*",[["mat-label"]],[["","matPrefix",""],["","matIconPrefix",""]],[["","matTextPrefix",""]],[["","matTextSuffix",""]],[["","matSuffix",""],["","matIconSuffix",""]],[["mat-error"],["","matError",""]],[["mat-hint",3,"align","end"]],[["mat-hint","align","end"]]],om=["*","mat-label","[matPrefix], [matIconPrefix]","[matTextPrefix]","[matTextSuffix]","[matSuffix], [matIconSuffix]","mat-error, [matError]","mat-hint:not([align='end'])","mat-hint[align='end']"];function sm(i,e){i&1&&X(0,"span",17)}function am(i,e){if(i&1&&(y(0,"label",16),K(1,1),j(2,sm,1,0,"span",17),x()),i&2){let r=H(2);Z("floating",r._shouldLabelFloat())("monitorResize",r._hasOutline())("id",r._labelId),he("for",r._control.id),D(2),W(2,!r.hideRequiredMarker&&r._control.required?2:-1)}}function lm(i,e){if(i&1&&j(0,am,3,5,"label",16),i&2){let r=H();W(0,r._hasFloatingLabel()?0:-1)}}function cm(i,e){i&1&&X(0,"div",5)}function dm(i,e){}function hm(i,e){if(i&1&&j(0,dm,0,0,"ng-template",11),i&2){H(2);let r=ut(1);Z("ngTemplateOutlet",r)}}function um(i,e){if(i&1&&(y(0,"div",7),j(1,hm,1,1,null,11),x()),i&2){let r=H();Z("matFormFieldNotchedOutlineOpen",r._shouldLabelFloat()),D(),W(1,r._forceDisplayInfixLabel()?-1:1)}}function fm(i,e){i&1&&(y(0,"div",8,2),K(2,2),x())}function mm(i,e){i&1&&(y(0,"div",9,3),K(2,3),x())}function pm(i,e){}function gm(i,e){if(i&1&&j(0,pm,0,0,"ng-template",11),i&2){H();let r=ut(1);Z("ngTemplateOutlet",r)}}function _m(i,e){i&1&&(y(0,"div",12),K(1,4),x())}function vm(i,e){i&1&&(y(0,"div",13),K(1,5),x())}function ym(i,e){i&1&&X(0,"div",14)}function bm(i,e){if(i&1&&(y(0,"div",18),K(1,6),x()),i&2){let r=H();Z("@transitionMessages",r._subscriptAnimationState)}}function xm(i,e){if(i&1&&(y(0,"mat-hint",20),le(1),x()),i&2){let r=H(2);Z("id",r._hintLabelId),D(),We(r.hintLabel)}}function wm(i,e){if(i&1&&(y(0,"div",19),j(1,xm,2,2,"mat-hint",20),K(2,7),X(3,"div",21),K(4,8),x()),i&2){let r=H();Z("@transitionMessages",r._subscriptAnimationState),D(),W(1,r.hintLabel?1:-1)}}var qn=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275dir=C({type:e,selectors:[["mat-label"]],standalone:!0});let i=e;return i})();var Cm=new w("MatError");var Dm=0,Ql=(()=>{let e=class e{constructor(){this.align="start",this.id=`mat-mdc-hint-${Dm++}`}};e.\u0275fac=function(n){return new(n||e)},e.\u0275dir=C({type:e,selectors:[["mat-hint"]],hostAttrs:[1,"mat-mdc-form-field-hint","mat-mdc-form-field-bottom-align"],hostVars:4,hostBindings:function(n,o){n&2&&(hi("id",o.id),he("align",null),ne("mat-mdc-form-field-hint-end",o.align==="end"))},inputs:{align:"align",id:"id"},standalone:!0});let i=e;return i})(),Em=new w("MatPrefix");var Sm=new w("MatSuffix");var sc=new w("FloatingLabelParent"),Jl=(()=>{let e=class e{get floating(){return this._floating}set floating(t){this._floating=t,this.monitorResize&&this._handleResize()}get monitorResize(){return this._monitorResize}set monitorResize(t){this._monitorResize=t,this._monitorResize?this._subscribeToResize():this._resizeSubscription.unsubscribe()}constructor(t){this._elementRef=t,this._floating=!1,this._monitorResize=!1,this._resizeObserver=_(Il),this._ngZone=_(I),this._parent=_(sc),this._resizeSubscription=new Ee}ngOnDestroy(){this._resizeSubscription.unsubscribe()}getWidth(){return Rm(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())})}};e.\u0275fac=function(n){return new(n||e)(h(F))},e.\u0275dir=C({type:e,selectors:[["label","matFormFieldFloatingLabel",""]],hostAttrs:[1,"mdc-floating-label","mat-mdc-floating-label"],hostVars:2,hostBindings:function(n,o){n&2&&ne("mdc-floating-label--float-above",o.floating)},inputs:{floating:"floating",monitorResize:"monitorResize"},standalone:!0});let i=e;return i})();function Rm(i){let e=i;if(e.offsetParent!==null)return e.scrollWidth;let r=e.cloneNode(!0);r.style.setProperty("position","absolute"),r.style.setProperty("transform","translate(-9999px, -9999px)"),document.documentElement.appendChild(r);let t=r.scrollWidth;return r.remove(),t}var ec="mdc-line-ripple--active",Gn="mdc-line-ripple--deactivating",tc=(()=>{let e=class e{constructor(t,n){this._elementRef=t,this._handleTransitionEnd=o=>{let s=this._elementRef.nativeElement.classList,a=s.contains(Gn);o.propertyName==="opacity"&&a&&s.remove(ec,Gn)},n.runOutsideAngular(()=>{t.nativeElement.addEventListener("transitionend",this._handleTransitionEnd)})}activate(){let t=this._elementRef.nativeElement.classList;t.remove(Gn),t.add(ec)}deactivate(){this._elementRef.nativeElement.classList.add(Gn)}ngOnDestroy(){this._elementRef.nativeElement.removeEventListener("transitionend",this._handleTransitionEnd)}};e.\u0275fac=function(n){return new(n||e)(h(F),h(I))},e.\u0275dir=C({type:e,selectors:[["div","matFormFieldLineRipple",""]],hostAttrs:[1,"mdc-line-ripple"],standalone:!0});let i=e;return i})(),ic=(()=>{let e=class e{constructor(t,n){this._elementRef=t,this._ngZone=n,this.open=!1}ngAfterViewInit(){let t=this._elementRef.nativeElement.querySelector(".mdc-floating-label");t?(this._elementRef.nativeElement.classList.add("mdc-notched-outline--upgraded"),typeof requestAnimationFrame=="function"&&(t.style.transitionDuration="0s",this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>t.style.transitionDuration="")}))):this._elementRef.nativeElement.classList.add("mdc-notched-outline--no-label")}_setNotchWidth(t){!this.open||!t?this._notch.nativeElement.style.width="":this._notch.nativeElement.style.width=`calc(${t}px * var(--mat-mdc-form-field-floating-label-scale, 0.75) + 9px)`}};e.\u0275fac=function(n){return new(n||e)(h(F),h(I))},e.\u0275cmp=ee({type:e,selectors:[["div","matFormFieldNotchedOutline",""]],viewQuery:function(n,o){if(n&1&&pe(Qf,5),n&2){let s;N(s=P())&&(o._notch=s.first)}},hostAttrs:[1,"mdc-notched-outline"],hostVars:2,hostBindings:function(n,o){n&2&&ne("mdc-notched-outline--notched",o.open)},inputs:{open:[m.None,"matFormFieldNotchedOutlineOpen","open"]},standalone:!0,features:[te],attrs:Jf,ngContentSelectors:em,decls:5,vars:0,consts:[["notch",""],[1,"mdc-notched-outline__leading"],[1,"mdc-notched-outline__notch"],[1,"mdc-notched-outline__trailing"]],template:function(n,o){n&1&&(Fe(),X(0,"div",1),y(1,"div",2,0),K(3),x(),X(4,"div",3))},encapsulation:2,changeDetection:0});let i=e;return i})(),Im={transitionMessages:fi("transitionMessages",[fn("enter",gt({opacity:1,transform:"translateY(0%)"})),Ut("void => enter",[gt({opacity:0,transform:"translateY(-5px)"}),mi("300ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])},Yn=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275dir=C({type:e});let i=e;return i})();var Zn=new w("MatFormField"),km=new w("MAT_FORM_FIELD_DEFAULT_OPTIONS"),nc=0,rc="fill",Am="auto",oc="fixed",Mm="translateY(-50%)",ac=(()=>{let e=class e{get hideRequiredMarker(){return this._hideRequiredMarker}set hideRequiredMarker(t){this._hideRequiredMarker=Ho(t)}get floatLabel(){return this._floatLabel||this._defaults?.floatLabel||Am}set floatLabel(t){t!==this._floatLabel&&(this._floatLabel=t,this._changeDetectorRef.markForCheck())}get appearance(){return this._appearance}set appearance(t){let n=this._appearance,o=t||this._defaults?.appearance||rc;this._appearance=o,this._appearance==="outline"&&this._appearance!==n&&(this._needsOutlineLabelOffsetUpdateOnStable=!0)}get subscriptSizing(){return this._subscriptSizing||this._defaults?.subscriptSizing||oc}set subscriptSizing(t){this._subscriptSizing=t||this._defaults?.subscriptSizing||oc}get hintLabel(){return this._hintLabel}set hintLabel(t){this._hintLabel=t,this._processHints()}get _control(){return this._explicitFormFieldControl||this._formFieldControl}set _control(t){this._explicitFormFieldControl=t}constructor(t,n,o,s,a,c,l,d){this._elementRef=t,this._changeDetectorRef=n,this._ngZone=o,this._dir=s,this._platform=a,this._defaults=c,this._animationMode=l,this._hideRequiredMarker=!1,this.color="primary",this._appearance=rc,this._subscriptSizing=null,this._hintLabel="",this._hasIconPrefix=!1,this._hasTextPrefix=!1,this._hasIconSuffix=!1,this._hasTextSuffix=!1,this._labelId=`mat-mdc-form-field-label-${nc++}`,this._hintLabelId=`mat-mdc-hint-${nc++}`,this._subscriptAnimationState="",this._destroyed=new k,this._isFocused=null,this._needsOutlineLabelOffsetUpdateOnStable=!1,c&&(c.appearance&&(this.appearance=c.appearance),this._hideRequiredMarker=!!c?.hideRequiredMarker,c.color&&(this.color=c.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 t=this._control;t.controlType&&this._elementRef.nativeElement.classList.add(`mat-mdc-form-field-type-${t.controlType}`),t.stateChanges.subscribe(()=>{this._updateFocusState(),this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),t.ngControl&&t.ngControl.valueChanges&&t.ngControl.valueChanges.pipe(U(this._destroyed)).subscribe(()=>this._changeDetectorRef.markForCheck())}_checkPrefixAndSuffixTypes(){this._hasIconPrefix=!!this._prefixChildren.find(t=>!t._isText),this._hasTextPrefix=!!this._prefixChildren.find(t=>t._isText),this._hasIconSuffix=!!this._suffixChildren.find(t=>!t._isText),this._hasTextSuffix=!!this._suffixChildren.find(t=>t._isText)}_initializePrefixAndSuffix(){this._checkPrefixAndSuffixTypes(),Xe(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(U(this._destroyed)).subscribe(()=>{this._needsOutlineLabelOffsetUpdateOnStable&&(this._needsOutlineLabelOffsetUpdateOnStable=!1,this._updateOutlineLabelOffset())})}),this._dir.change.pipe(U(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(t){let n=this._control?this._control.ngControl:null;return n&&n[t]}_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 t=[];if(this._control.userAriaDescribedBy&&typeof this._control.userAriaDescribedBy=="string"&&t.push(...this._control.userAriaDescribedBy.split(" ")),this._getDisplayedMessages()==="hint"){let n=this._hintChildren?this._hintChildren.find(s=>s.align==="start"):null,o=this._hintChildren?this._hintChildren.find(s=>s.align==="end"):null;n?t.push(n.id):this._hintLabel&&t.push(this._hintLabelId),o&&t.push(o.id)}else this._errorChildren&&t.push(...this._errorChildren.map(n=>n.id));this._control.setDescribedByIds(t)}}_updateOutlineLabelOffset(){if(!this._platform.isBrowser||!this._hasOutline()||!this._floatingLabel)return;let t=this._floatingLabel.element;if(!(this._iconPrefixContainer||this._textPrefixContainer)){t.style.transform="";return}if(!this._isAttachedToDom()){this._needsOutlineLabelOffsetUpdateOnStable=!0;return}let n=this._iconPrefixContainer?.nativeElement,o=this._textPrefixContainer?.nativeElement,s=n?.getBoundingClientRect().width??0,a=o?.getBoundingClientRect().width??0,c=this._dir.value==="rtl"?"-1":"1",l=`${s+a}px`,u=`calc(${c} * (${l} + var(--mat-mdc-form-field-label-offset-x, 0px)))`;t.style.transform=`var( +import{$ as f,$a as sa,$b as hn,A as Dr,Aa as $e,Ab as ua,B as Ft,Ba as Le,Bb as fa,C as ze,Ca as ci,Cb as J,D as Ji,Da as ia,Db as te,E as Er,Ea as di,Eb as ui,F as be,Fa as D,Fb as sn,G as Gs,Ga as h,Gb as ma,H as en,Ha as Tr,Hb as an,I as Nt,Ia as Ie,Ib as ln,J as Ke,Ja as na,Jb as cn,K as Sr,Ka as Or,Kb as Pr,L as qs,La as nn,Lb as Vt,M as Ys,Ma as rn,Mb as Lr,N as Ir,Na as Fr,Nb as Se,O as Rr,Oa as R,Ob as mt,P as Qe,Pa as Oe,Pb as pa,Q as xe,Qa as Nr,Qb as G,R as U,Ra as q,Rb as pt,S as Zs,Sa as ae,Sb as ga,T as re,Ta as ra,Tb as jt,U as Z,Ua as oa,Ub as _a,V as si,Va as on,Vb as va,W as v,Wa as j,Wb as L,X as T,Xa as he,Xb as Bt,Y as Xs,Ya as X,Yb as dn,Z as w,Za as lt,Zb as ya,_ as kr,_a as ne,_b as ba,a as g,aa as _,ab as aa,ac as xa,b as ie,ba as ai,bb as W,bc as wa,ca as m,cb as la,cc as Ca,d as Ee,da as ee,db as ca,dc as Ge,e as Us,ea as O,eb as y,ec as Da,f as Ue,fa as C,fb as x,fc as Ea,g as Cr,ga as Ks,gb as K,gc as Vr,h as ni,ha as st,hb as ct,hc as un,i as k,ia as Qs,ib as dt,j as ue,ja as Pt,jb as fe,k as Ze,ka as He,kb as ht,kc as fi,l as ve,la as we,lb as hi,lc as mi,m as E,ma as Me,mb as me,n as ri,na as Te,nb as H,nc as gt,o as Ot,oa as li,ob as Fe,oc as fn,p as zs,pa as Js,pb as Q,pc as Ut,q as A,qa as de,qb as da,qc as Sa,r as ot,ra as Lt,rb as oe,rc as Ia,s as Ae,sa as at,sb as pe,t as Qi,ta as Ar,tb as N,u as oi,ua as F,ub as P,v as Hs,va as z,vb as ut,w as $s,wa as Mr,wb as le,x as Ws,xa as ea,xb as We,y as Xe,ya as tn,yb as ft,z as ce,za as ta,zb as ha}from"./chunk-R7W3RWW5.js";var gi=class{},pn=class{},_t=class i{constructor(e){this.normalizedNames=new Map,this.lazyUpdate=null,e?typeof e=="string"?this.lazyInit=()=>{this.headers=new Map,e.split(` +`).forEach(r=>{let t=r.indexOf(":");if(t>0){let n=r.slice(0,t),o=n.toLowerCase(),s=r.slice(t+1).trim();this.maybeSetNormalizedName(n,o),this.headers.has(o)?this.headers.get(o).push(s):this.headers.set(o,[s])}})}:typeof Headers<"u"&&e instanceof Headers?(this.headers=new Map,e.forEach((r,t)=>{this.setHeaderEntries(t,r)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(e).forEach(([r,t])=>{this.setHeaderEntries(r,t)})}:this.headers=new Map}has(e){return this.init(),this.headers.has(e.toLowerCase())}get(e){this.init();let r=this.headers.get(e.toLowerCase());return r&&r.length>0?r[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(e){return this.init(),this.headers.get(e.toLowerCase())||null}append(e,r){return this.clone({name:e,value:r,op:"a"})}set(e,r){return this.clone({name:e,value:r,op:"s"})}delete(e,r){return this.clone({name:e,value:r,op:"d"})}maybeSetNormalizedName(e,r){this.normalizedNames.has(r)||this.normalizedNames.set(r,e)}init(){this.lazyInit&&(this.lazyInit instanceof i?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(e=>this.applyUpdate(e)),this.lazyUpdate=null))}copyFrom(e){e.init(),Array.from(e.headers.keys()).forEach(r=>{this.headers.set(r,e.headers.get(r)),this.normalizedNames.set(r,e.normalizedNames.get(r))})}clone(e){let r=new i;return r.lazyInit=this.lazyInit&&this.lazyInit instanceof i?this.lazyInit:this,r.lazyUpdate=(this.lazyUpdate||[]).concat([e]),r}applyUpdate(e){let r=e.name.toLowerCase();switch(e.op){case"a":case"s":let t=e.value;if(typeof t=="string"&&(t=[t]),t.length===0)return;this.maybeSetNormalizedName(e.name,r);let n=(e.op==="a"?this.headers.get(r):void 0)||[];n.push(...t),this.headers.set(r,n);break;case"d":let o=e.value;if(!o)this.headers.delete(r),this.normalizedNames.delete(r);else{let s=this.headers.get(r);if(!s)return;s=s.filter(a=>o.indexOf(a)===-1),s.length===0?(this.headers.delete(r),this.normalizedNames.delete(r)):this.headers.set(r,s)}break}}setHeaderEntries(e,r){let t=(Array.isArray(r)?r:[r]).map(o=>o.toString()),n=e.toLowerCase();this.headers.set(n,t),this.maybeSetNormalizedName(e,n)}forEach(e){this.init(),Array.from(this.normalizedNames.keys()).forEach(r=>e(this.normalizedNames.get(r),this.headers.get(r)))}};var Br=class{encodeKey(e){return Ra(e)}encodeValue(e){return Ra(e)}decodeKey(e){return decodeURIComponent(e)}decodeValue(e){return decodeURIComponent(e)}};function Vd(i,e){let r=new Map;return i.length>0&&i.replace(/^\?/,"").split("&").forEach(n=>{let o=n.indexOf("="),[s,a]=o==-1?[e.decodeKey(n),""]:[e.decodeKey(n.slice(0,o)),e.decodeValue(n.slice(o+1))],c=r.get(s)||[];c.push(a),r.set(s,c)}),r}var jd=/%(\d[a-f0-9])/gi,Bd={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function Ra(i){return encodeURIComponent(i).replace(jd,(e,r)=>Bd[r]??e)}function mn(i){return`${i}`}var Je=class i{constructor(e={}){if(this.updates=null,this.cloneFrom=null,this.encoder=e.encoder||new Br,e.fromString){if(e.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=Vd(e.fromString,this.encoder)}else e.fromObject?(this.map=new Map,Object.keys(e.fromObject).forEach(r=>{let t=e.fromObject[r],n=Array.isArray(t)?t.map(mn):[mn(t)];this.map.set(r,n)})):this.map=null}has(e){return this.init(),this.map.has(e)}get(e){this.init();let r=this.map.get(e);return r?r[0]:null}getAll(e){return this.init(),this.map.get(e)||null}keys(){return this.init(),Array.from(this.map.keys())}append(e,r){return this.clone({param:e,value:r,op:"a"})}appendAll(e){let r=[];return Object.keys(e).forEach(t=>{let n=e[t];Array.isArray(n)?n.forEach(o=>{r.push({param:t,value:o,op:"a"})}):r.push({param:t,value:n,op:"a"})}),this.clone(r)}set(e,r){return this.clone({param:e,value:r,op:"s"})}delete(e,r){return this.clone({param:e,value:r,op:"d"})}toString(){return this.init(),this.keys().map(e=>{let r=this.encoder.encodeKey(e);return this.map.get(e).map(t=>r+"="+this.encoder.encodeValue(t)).join("&")}).filter(e=>e!=="").join("&")}clone(e){let r=new i({encoder:this.encoder});return r.cloneFrom=this.cloneFrom||this,r.updates=(this.updates||[]).concat(e),r}init(){this.map===null&&(this.map=new Map),this.cloneFrom!==null&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(e=>this.map.set(e,this.cloneFrom.map.get(e))),this.updates.forEach(e=>{switch(e.op){case"a":case"s":let r=(e.op==="a"?this.map.get(e.param):void 0)||[];r.push(mn(e.value)),this.map.set(e.param,r);break;case"d":if(e.value!==void 0){let t=this.map.get(e.param)||[],n=t.indexOf(mn(e.value));n!==-1&&t.splice(n,1),t.length>0?this.map.set(e.param,t):this.map.delete(e.param)}else{this.map.delete(e.param);break}}}),this.cloneFrom=this.updates=null)}};var Ur=class{constructor(){this.map=new Map}set(e,r){return this.map.set(e,r),this}get(e){return this.map.has(e)||this.map.set(e,e.defaultValue()),this.map.get(e)}delete(e){return this.map.delete(e),this}has(e){return this.map.has(e)}keys(){return this.map.keys()}};function Ud(i){switch(i){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}function ka(i){return typeof ArrayBuffer<"u"&&i instanceof ArrayBuffer}function Aa(i){return typeof Blob<"u"&&i instanceof Blob}function Ma(i){return typeof FormData<"u"&&i instanceof FormData}function zd(i){return typeof URLSearchParams<"u"&&i instanceof URLSearchParams}var pi=class i{constructor(e,r,t,n){this.url=r,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=e.toUpperCase();let o;if(Ud(this.method)||n?(this.body=t!==void 0?t:null,o=n):o=t,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 _t,this.context??=new Ur,!this.params)this.params=new Je,this.urlWithParams=r;else{let s=this.params.toString();if(s.length===0)this.urlWithParams=r;else{let a=r.indexOf("?"),c=a===-1?"?":ap.set(b,e.setHeaders[b]),l)),e.setParams&&(d=Object.keys(e.setParams).reduce((p,b)=>p.set(b,e.setParams[b]),d)),new i(r,t,s,{params:d,headers:l,context:u,reportProgress:c,responseType:n,withCredentials:a,transferCache:o})}},zt=function(i){return i[i.Sent=0]="Sent",i[i.UploadProgress=1]="UploadProgress",i[i.ResponseHeader=2]="ResponseHeader",i[i.DownloadProgress=3]="DownloadProgress",i[i.Response=4]="Response",i[i.User=5]="User",i}(zt||{}),_i=class{constructor(e,r=vn.Ok,t="OK"){this.headers=e.headers||new _t,this.status=e.status!==void 0?e.status:r,this.statusText=e.statusText||t,this.url=e.url||null,this.ok=this.status>=200&&this.status<300}},zr=class i extends _i{constructor(e={}){super(e),this.type=zt.ResponseHeader}clone(e={}){return new i({headers:e.headers||this.headers,status:e.status!==void 0?e.status:this.status,statusText:e.statusText||this.statusText,url:e.url||this.url||void 0})}},gn=class i extends _i{constructor(e={}){super(e),this.type=zt.Response,this.body=e.body!==void 0?e.body:null}clone(e={}){return new i({body:e.body!==void 0?e.body:this.body,headers:e.headers||this.headers,status:e.status!==void 0?e.status:this.status,statusText:e.statusText||this.statusText,url:e.url||this.url||void 0})}},_n=class extends _i{constructor(e){super(e,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.status>=200&&this.status<300?this.message=`Http failure during parsing for ${e.url||"(unknown url)"}`:this.message=`Http failure response for ${e.url||"(unknown url)"}: ${e.status} ${e.statusText}`,this.error=e.error||null}},vn=function(i){return i[i.Continue=100]="Continue",i[i.SwitchingProtocols=101]="SwitchingProtocols",i[i.Processing=102]="Processing",i[i.EarlyHints=103]="EarlyHints",i[i.Ok=200]="Ok",i[i.Created=201]="Created",i[i.Accepted=202]="Accepted",i[i.NonAuthoritativeInformation=203]="NonAuthoritativeInformation",i[i.NoContent=204]="NoContent",i[i.ResetContent=205]="ResetContent",i[i.PartialContent=206]="PartialContent",i[i.MultiStatus=207]="MultiStatus",i[i.AlreadyReported=208]="AlreadyReported",i[i.ImUsed=226]="ImUsed",i[i.MultipleChoices=300]="MultipleChoices",i[i.MovedPermanently=301]="MovedPermanently",i[i.Found=302]="Found",i[i.SeeOther=303]="SeeOther",i[i.NotModified=304]="NotModified",i[i.UseProxy=305]="UseProxy",i[i.Unused=306]="Unused",i[i.TemporaryRedirect=307]="TemporaryRedirect",i[i.PermanentRedirect=308]="PermanentRedirect",i[i.BadRequest=400]="BadRequest",i[i.Unauthorized=401]="Unauthorized",i[i.PaymentRequired=402]="PaymentRequired",i[i.Forbidden=403]="Forbidden",i[i.NotFound=404]="NotFound",i[i.MethodNotAllowed=405]="MethodNotAllowed",i[i.NotAcceptable=406]="NotAcceptable",i[i.ProxyAuthenticationRequired=407]="ProxyAuthenticationRequired",i[i.RequestTimeout=408]="RequestTimeout",i[i.Conflict=409]="Conflict",i[i.Gone=410]="Gone",i[i.LengthRequired=411]="LengthRequired",i[i.PreconditionFailed=412]="PreconditionFailed",i[i.PayloadTooLarge=413]="PayloadTooLarge",i[i.UriTooLong=414]="UriTooLong",i[i.UnsupportedMediaType=415]="UnsupportedMediaType",i[i.RangeNotSatisfiable=416]="RangeNotSatisfiable",i[i.ExpectationFailed=417]="ExpectationFailed",i[i.ImATeapot=418]="ImATeapot",i[i.MisdirectedRequest=421]="MisdirectedRequest",i[i.UnprocessableEntity=422]="UnprocessableEntity",i[i.Locked=423]="Locked",i[i.FailedDependency=424]="FailedDependency",i[i.TooEarly=425]="TooEarly",i[i.UpgradeRequired=426]="UpgradeRequired",i[i.PreconditionRequired=428]="PreconditionRequired",i[i.TooManyRequests=429]="TooManyRequests",i[i.RequestHeaderFieldsTooLarge=431]="RequestHeaderFieldsTooLarge",i[i.UnavailableForLegalReasons=451]="UnavailableForLegalReasons",i[i.InternalServerError=500]="InternalServerError",i[i.NotImplemented=501]="NotImplemented",i[i.BadGateway=502]="BadGateway",i[i.ServiceUnavailable=503]="ServiceUnavailable",i[i.GatewayTimeout=504]="GatewayTimeout",i[i.HttpVersionNotSupported=505]="HttpVersionNotSupported",i[i.VariantAlsoNegotiates=506]="VariantAlsoNegotiates",i[i.InsufficientStorage=507]="InsufficientStorage",i[i.LoopDetected=508]="LoopDetected",i[i.NotExtended=510]="NotExtended",i[i.NetworkAuthenticationRequired=511]="NetworkAuthenticationRequired",i}(vn||{});function jr(i,e){return{body:e,headers:i.headers,context:i.context,observe:i.observe,params:i.params,reportProgress:i.reportProgress,responseType:i.responseType,withCredentials:i.withCredentials,transferCache:i.transferCache}}var Hr=(()=>{let e=class e{constructor(t){this.handler=t}request(t,n,o={}){let s;if(t instanceof pi)s=t;else{let l;o.headers instanceof _t?l=o.headers:l=new _t(o.headers);let d;o.params&&(o.params instanceof Je?d=o.params:d=new Je({fromObject:o.params})),s=new pi(t,n,o.body!==void 0?o.body:null,{headers:l,context:o.context,params:d,reportProgress:o.reportProgress,responseType:o.responseType||"json",withCredentials:o.withCredentials,transferCache:o.transferCache})}let a=E(s).pipe(ze(l=>this.handler.handle(l)));if(t instanceof pi||o.observe==="events")return a;let c=a.pipe(ce(l=>l instanceof gn));switch(o.observe||"body"){case"body":switch(s.responseType){case"arraybuffer":return c.pipe(A(l=>{if(l.body!==null&&!(l.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return l.body}));case"blob":return c.pipe(A(l=>{if(l.body!==null&&!(l.body instanceof Blob))throw new Error("Response is not a Blob.");return l.body}));case"text":return c.pipe(A(l=>{if(l.body!==null&&typeof l.body!="string")throw new Error("Response is not a string.");return l.body}));case"json":default:return c.pipe(A(l=>l.body))}case"response":return c;default:throw new Error(`Unreachable: unhandled observe type ${o.observe}}`)}}delete(t,n={}){return this.request("DELETE",t,n)}get(t,n={}){return this.request("GET",t,n)}head(t,n={}){return this.request("HEAD",t,n)}jsonp(t,n){return this.request("JSONP",t,{params:new Je().append(n,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(t,n={}){return this.request("OPTIONS",t,n)}patch(t,n,o={}){return this.request("PATCH",t,jr(o,n))}post(t,n,o={}){return this.request("POST",t,jr(o,n))}put(t,n,o={}){return this.request("PUT",t,jr(o,n))}};e.\u0275fac=function(n){return new(n||e)(f(gi))},e.\u0275prov=v({token:e,factory:e.\u0275fac});let i=e;return i})();function Hd(i,e){return e(i)}function $d(i,e,r){return(t,n)=>He(r,()=>e(t,o=>i(o,n)))}var Na=new w(""),Wd=new w(""),Gd=new w("");var Ta=(()=>{let e=class e extends gi{constructor(t,n){super(),this.backend=t,this.injector=n,this.chain=null,this.pendingTasks=_(on);let o=_(Gd,{optional:!0});this.backend=o??t}handle(t){if(this.chain===null){let o=Array.from(new Set([...this.injector.get(Na),...this.injector.get(Wd,[])]));this.chain=o.reduceRight((s,a)=>$d(s,a,this.injector),Hd)}let n=this.pendingTasks.add();return this.chain(t,o=>this.backend.handle(o)).pipe(Nt(()=>this.pendingTasks.remove(n)))}};e.\u0275fac=function(n){return new(n||e)(f(pn),f(Pt))},e.\u0275prov=v({token:e,factory:e.\u0275fac});let i=e;return i})();var qd=/^\)\]\}',?\n/;function Yd(i){return"responseURL"in i&&i.responseURL?i.responseURL:/^X-Request-URL:/m.test(i.getAllResponseHeaders())?i.getResponseHeader("X-Request-URL"):null}var Oa=(()=>{let e=class e{constructor(t){this.xhrFactory=t}handle(t){if(t.method==="JSONP")throw new Z(-2800,!1);let n=this.xhrFactory;return(n.\u0275loadImpl?ve(n.\u0275loadImpl()):E(null)).pipe(xe(()=>new Ue(s=>{let a=n.build();if(a.open(t.method,t.urlWithParams),t.withCredentials&&(a.withCredentials=!0),t.headers.forEach((S,I)=>a.setRequestHeader(S,I.join(","))),t.headers.has("Accept")||a.setRequestHeader("Accept","application/json, text/plain, */*"),!t.headers.has("Content-Type")){let S=t.detectContentTypeHeader();S!==null&&a.setRequestHeader("Content-Type",S)}if(t.responseType){let S=t.responseType.toLowerCase();a.responseType=S!=="json"?S:"text"}let c=t.serializeBody(),l=null,d=()=>{if(l!==null)return l;let S=a.statusText||"OK",I=new _t(a.getAllResponseHeaders()),Ce=Yd(a)||t.url;return l=new zr({headers:I,status:a.status,statusText:S,url:Ce}),l},u=()=>{let{headers:S,status:I,statusText:Ce,url:Bs}=d(),De=null;I!==vn.NoContent&&(De=typeof a.response>"u"?a.responseText:a.response),I===0&&(I=De?vn.Ok:0);let wr=I>=200&&I<300;if(t.responseType==="json"&&typeof De=="string"){let Od=De;De=De.replace(qd,"");try{De=De!==""?JSON.parse(De):null}catch(Fd){De=Od,wr&&(wr=!1,De={error:Fd,text:De})}}wr?(s.next(new gn({body:De,headers:S,status:I,statusText:Ce,url:Bs||void 0})),s.complete()):s.error(new _n({error:De,headers:S,status:I,statusText:Ce,url:Bs||void 0}))},p=S=>{let{url:I}=d(),Ce=new _n({error:S,status:a.status||0,statusText:a.statusText||"Unknown Error",url:I||void 0});s.error(Ce)},b=!1,B=S=>{b||(s.next(d()),b=!0);let I={type:zt.DownloadProgress,loaded:S.loaded};S.lengthComputable&&(I.total=S.total),t.responseType==="text"&&a.responseText&&(I.partialText=a.responseText),s.next(I)},V=S=>{let I={type:zt.UploadProgress,loaded:S.loaded};S.lengthComputable&&(I.total=S.total),s.next(I)};return a.addEventListener("load",u),a.addEventListener("error",p),a.addEventListener("timeout",p),a.addEventListener("abort",p),t.reportProgress&&(a.addEventListener("progress",B),c!==null&&a.upload&&a.upload.addEventListener("progress",V)),a.send(c),s.next({type:zt.Sent}),()=>{a.removeEventListener("error",p),a.removeEventListener("abort",p),a.removeEventListener("load",u),a.removeEventListener("timeout",p),t.reportProgress&&(a.removeEventListener("progress",B),c!==null&&a.upload&&a.upload.removeEventListener("progress",V)),a.readyState!==a.DONE&&a.abort()}})))}};e.\u0275fac=function(n){return new(n||e)(f(un))},e.\u0275prov=v({token:e,factory:e.\u0275fac});let i=e;return i})(),Pa=new w(""),Zd="XSRF-TOKEN",Xd=new w("",{providedIn:"root",factory:()=>Zd}),Kd="X-XSRF-TOKEN",Qd=new w("",{providedIn:"root",factory:()=>Kd}),yn=class{},Jd=(()=>{let e=class e{constructor(t,n,o){this.doc=t,this.platform=n,this.cookieName=o,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if(this.platform==="server")return null;let t=this.doc.cookie||"";return t!==this.lastCookieString&&(this.parseCount++,this.lastToken=dn(t,this.cookieName),this.lastCookieString=t),this.lastToken}};e.\u0275fac=function(n){return new(n||e)(f(L),f($e),f(Xd))},e.\u0275prov=v({token:e,factory:e.\u0275fac});let i=e;return i})();function eh(i,e){let r=i.url.toLowerCase();if(!_(Pa)||i.method==="GET"||i.method==="HEAD"||r.startsWith("http://")||r.startsWith("https://"))return e(i);let t=_(yn).getToken(),n=_(Qd);return t!=null&&!i.headers.has(n)&&(i=i.clone({headers:i.headers.set(n,t)})),e(i)}function La(...i){let e=[Hr,Oa,Ta,{provide:gi,useExisting:Ta},{provide:pn,useExisting:Oa},{provide:Na,useValue:eh,multi:!0},{provide:Pa,useValue:!0},{provide:yn,useClass:Jd}];for(let r of i)e.push(...r.\u0275providers);return st(e)}var Gr=class extends va{constructor(){super(...arguments),this.supportsDOMEvents=!0}},qr=class i extends Gr{static makeCurrent(){_a(new i)}onAndCancel(e,r,t){return e.addEventListener(r,t),()=>{e.removeEventListener(r,t)}}dispatchEvent(e,r){e.dispatchEvent(r)}remove(e){e.parentNode&&e.parentNode.removeChild(e)}createElement(e,r){return r=r||this.getDefaultDocument(),r.createElement(e)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(e){return e.nodeType===Node.ELEMENT_NODE}isShadowRoot(e){return e instanceof DocumentFragment}getGlobalEventTarget(e,r){return r==="window"?window:r==="document"?e:r==="body"?e.body:null}getBaseHref(e){let r=nh();return r==null?null:rh(r)}resetBaseElement(){vi=null}getUserAgent(){return window.navigator.userAgent}getCookie(e){return dn(document.cookie,e)}},vi=null;function nh(){return vi=vi||document.querySelector("base"),vi?vi.getAttribute("href"):null}function rh(i){return new URL(i,document.baseURI).pathname}var oh=(()=>{let e=class e{build(){return new XMLHttpRequest}};e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=v({token:e,factory:e.\u0275fac});let i=e;return i})(),Yr=new w(""),Ba=(()=>{let e=class e{constructor(t,n){this._zone=n,this._eventNameToPlugin=new Map,t.forEach(o=>{o.manager=this}),this._plugins=t.slice().reverse()}addEventListener(t,n,o){return this._findPluginFor(n).addEventListener(t,n,o)}getZone(){return this._zone}_findPluginFor(t){let n=this._eventNameToPlugin.get(t);if(n)return n;if(n=this._plugins.find(s=>s.supports(t)),!n)throw new Z(5101,!1);return this._eventNameToPlugin.set(t,n),n}};e.\u0275fac=function(n){return new(n||e)(f(Yr),f(R))},e.\u0275prov=v({token:e,factory:e.\u0275fac});let i=e;return i})(),bn=class{constructor(e){this._doc=e}},$r="ng-app-id",Ua=(()=>{let e=class e{constructor(t,n,o,s={}){this.doc=t,this.appId=n,this.nonce=o,this.platformId=s,this.styleRef=new Map,this.hostNodes=new Set,this.styleNodesInDOM=this.collectServerRenderedStyles(),this.platformIsServer=Vr(s),this.resetHostNodes()}addStyles(t){for(let n of t)this.changeUsageCount(n,1)===1&&this.onStyleAdded(n)}removeStyles(t){for(let n of t)this.changeUsageCount(n,-1)<=0&&this.onStyleRemoved(n)}ngOnDestroy(){let t=this.styleNodesInDOM;t&&(t.forEach(n=>n.remove()),t.clear());for(let n of this.getAllStyles())this.onStyleRemoved(n);this.resetHostNodes()}addHost(t){this.hostNodes.add(t);for(let n of this.getAllStyles())this.addStyleToHost(t,n)}removeHost(t){this.hostNodes.delete(t)}getAllStyles(){return this.styleRef.keys()}onStyleAdded(t){for(let n of this.hostNodes)this.addStyleToHost(n,t)}onStyleRemoved(t){let n=this.styleRef;n.get(t)?.elements?.forEach(o=>o.remove()),n.delete(t)}collectServerRenderedStyles(){let t=this.doc.head?.querySelectorAll(`style[${$r}="${this.appId}"]`);if(t?.length){let n=new Map;return t.forEach(o=>{o.textContent!=null&&n.set(o.textContent,o)}),n}return null}changeUsageCount(t,n){let o=this.styleRef;if(o.has(t)){let s=o.get(t);return s.usage+=n,s.usage}return o.set(t,{usage:n,elements:[]}),n}getStyleElement(t,n){let o=this.styleNodesInDOM,s=o?.get(n);if(s?.parentNode===t)return o.delete(n),s.removeAttribute($r),s;{let a=this.doc.createElement("style");return this.nonce&&a.setAttribute("nonce",this.nonce),a.textContent=n,this.platformIsServer&&a.setAttribute($r,this.appId),t.appendChild(a),a}}addStyleToHost(t,n){let o=this.getStyleElement(t,n),s=this.styleRef,a=s.get(n)?.elements;a?a.push(o):s.set(n,{elements:[o],usage:1})}resetHostNodes(){let t=this.hostNodes;t.clear(),t.add(this.doc.head)}};e.\u0275fac=function(n){return new(n||e)(f(L),f(tn),f(ci,8),f($e))},e.\u0275prov=v({token:e,factory:e.\u0275fac});let i=e;return i})(),Wr={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/"},Kr=/%COMP%/g,za="%COMP%",sh=`_nghost-${za}`,ah=`_ngcontent-${za}`,lh=!0,ch=new w("",{providedIn:"root",factory:()=>lh});function dh(i){return ah.replace(Kr,i)}function hh(i){return sh.replace(Kr,i)}function Ha(i,e){return e.map(r=>r.replace(Kr,i))}var xn=(()=>{let e=class e{constructor(t,n,o,s,a,c,l,d=null){this.eventManager=t,this.sharedStylesHost=n,this.appId=o,this.removeStylesOnCompDestroy=s,this.doc=a,this.platformId=c,this.ngZone=l,this.nonce=d,this.rendererByCompId=new Map,this.platformIsServer=Vr(c),this.defaultRenderer=new yi(t,a,l,this.platformIsServer)}createRenderer(t,n){if(!t||!n)return this.defaultRenderer;this.platformIsServer&&n.encapsulation===ai.ShadowDom&&(n=ie(g({},n),{encapsulation:ai.Emulated}));let o=this.getOrCreateRenderer(t,n);return o instanceof wn?o.applyToHost(t):o instanceof bi&&o.applyStyles(),o}getOrCreateRenderer(t,n){let o=this.rendererByCompId,s=o.get(n.id);if(!s){let a=this.doc,c=this.ngZone,l=this.eventManager,d=this.sharedStylesHost,u=this.removeStylesOnCompDestroy,p=this.platformIsServer;switch(n.encapsulation){case ai.Emulated:s=new wn(l,d,n,this.appId,u,a,c,p);break;case ai.ShadowDom:return new Zr(l,d,t,n,a,c,this.nonce,p);default:s=new bi(l,d,n,u,a,c,p);break}o.set(n.id,s)}return s}ngOnDestroy(){this.rendererByCompId.clear()}};e.\u0275fac=function(n){return new(n||e)(f(Ba),f(Ua),f(tn),f(ch),f(L),f($e),f(R),f(ci))},e.\u0275prov=v({token:e,factory:e.\u0275fac});let i=e;return i})(),yi=class{constructor(e,r,t,n){this.eventManager=e,this.doc=r,this.ngZone=t,this.platformIsServer=n,this.data=Object.create(null),this.throwOnSyntheticProps=!0,this.destroyNode=null}destroy(){}createElement(e,r){return r?this.doc.createElementNS(Wr[r]||r,e):this.doc.createElement(e)}createComment(e){return this.doc.createComment(e)}createText(e){return this.doc.createTextNode(e)}appendChild(e,r){(Va(e)?e.content:e).appendChild(r)}insertBefore(e,r,t){e&&(Va(e)?e.content:e).insertBefore(r,t)}removeChild(e,r){e&&e.removeChild(r)}selectRootElement(e,r){let t=typeof e=="string"?this.doc.querySelector(e):e;if(!t)throw new Z(-5104,!1);return r||(t.textContent=""),t}parentNode(e){return e.parentNode}nextSibling(e){return e.nextSibling}setAttribute(e,r,t,n){if(n){r=n+":"+r;let o=Wr[n];o?e.setAttributeNS(o,r,t):e.setAttribute(r,t)}else e.setAttribute(r,t)}removeAttribute(e,r,t){if(t){let n=Wr[t];n?e.removeAttributeNS(n,r):e.removeAttribute(`${t}:${r}`)}else e.removeAttribute(r)}addClass(e,r){e.classList.add(r)}removeClass(e,r){e.classList.remove(r)}setStyle(e,r,t,n){n&(di.DashCase|di.Important)?e.style.setProperty(r,t,n&di.Important?"important":""):e.style[r]=t}removeStyle(e,r,t){t&di.DashCase?e.style.removeProperty(r):e.style[r]=""}setProperty(e,r,t){e!=null&&(e[r]=t)}setValue(e,r){e.nodeValue=r}listen(e,r,t){if(typeof e=="string"&&(e=jt().getGlobalEventTarget(this.doc,e),!e))throw new Error(`Unsupported event target ${e} for event ${r}`);return this.eventManager.addEventListener(e,r,this.decoratePreventDefault(t))}decoratePreventDefault(e){return r=>{if(r==="__ngUnwrap__")return e;(this.platformIsServer?this.ngZone.runGuarded(()=>e(r)):e(r))===!1&&r.preventDefault()}}};function Va(i){return i.tagName==="TEMPLATE"&&i.content!==void 0}var Zr=class extends yi{constructor(e,r,t,n,o,s,a,c){super(e,o,s,c),this.sharedStylesHost=r,this.hostEl=t,this.shadowRoot=t.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);let l=Ha(n.id,n.styles);for(let d of l){let u=document.createElement("style");a&&u.setAttribute("nonce",a),u.textContent=d,this.shadowRoot.appendChild(u)}}nodeOrShadowRoot(e){return e===this.hostEl?this.shadowRoot:e}appendChild(e,r){return super.appendChild(this.nodeOrShadowRoot(e),r)}insertBefore(e,r,t){return super.insertBefore(this.nodeOrShadowRoot(e),r,t)}removeChild(e,r){return super.removeChild(this.nodeOrShadowRoot(e),r)}parentNode(e){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(e)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}},bi=class extends yi{constructor(e,r,t,n,o,s,a,c){super(e,o,s,a),this.sharedStylesHost=r,this.removeStylesOnCompDestroy=n,this.styles=c?Ha(c,t.styles):t.styles}applyStyles(){this.sharedStylesHost.addStyles(this.styles)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles)}},wn=class extends bi{constructor(e,r,t,n,o,s,a,c){let l=n+"-"+t.id;super(e,r,t,o,s,a,c,l),this.contentAttr=dh(l),this.hostAttr=hh(l)}applyToHost(e){this.applyStyles(),this.setAttribute(e,this.hostAttr,"")}createElement(e,r){let t=super.createElement(e,r);return super.setAttribute(t,this.contentAttr,""),t}},uh=(()=>{let e=class e extends bn{constructor(t){super(t)}supports(t){return!0}addEventListener(t,n,o){return t.addEventListener(n,o,!1),()=>this.removeEventListener(t,n,o)}removeEventListener(t,n,o){return t.removeEventListener(n,o)}};e.\u0275fac=function(n){return new(n||e)(f(L))},e.\u0275prov=v({token:e,factory:e.\u0275fac});let i=e;return i})(),ja=["alt","control","meta","shift"],fh={"\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"},mh={alt:i=>i.altKey,control:i=>i.ctrlKey,meta:i=>i.metaKey,shift:i=>i.shiftKey},ph=(()=>{let e=class e extends bn{constructor(t){super(t)}supports(t){return e.parseEventName(t)!=null}addEventListener(t,n,o){let s=e.parseEventName(n),a=e.eventCallback(s.fullKey,o,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>jt().onAndCancel(t,s.domEventName,a))}static parseEventName(t){let n=t.toLowerCase().split("."),o=n.shift();if(n.length===0||!(o==="keydown"||o==="keyup"))return null;let s=e._normalizeKey(n.pop()),a="",c=n.indexOf("code");if(c>-1&&(n.splice(c,1),a="code."),ja.forEach(d=>{let u=n.indexOf(d);u>-1&&(n.splice(u,1),a+=d+".")}),a+=s,n.length!=0||s.length===0)return null;let l={};return l.domEventName=o,l.fullKey=a,l}static matchEventFullKeyCode(t,n){let o=fh[t.key]||t.key,s="";return n.indexOf("code.")>-1&&(o=t.code,s="code."),o==null||!o?!1:(o=o.toLowerCase(),o===" "?o="space":o==="."&&(o="dot"),ja.forEach(a=>{if(a!==o){let c=mh[a];c(t)&&(s+=a+".")}}),s+=o,s===n)}static eventCallback(t,n,o){return s=>{e.matchEventFullKeyCode(s,t)&&o.runGuarded(()=>n(s))}}static _normalizeKey(t){return t==="esc"?"escape":t}};e.\u0275fac=function(n){return new(n||e)(f(L))},e.\u0275prov=v({token:e,factory:e.\u0275fac});let i=e;return i})();function $a(i,e){return pa(g({rootComponent:i},gh(e)))}function gh(i){return{appProviders:[...xh,...i?.providers??[]],platformProviders:bh}}function _h(){qr.makeCurrent()}function vh(){return new Ar}function yh(){return ea(document),document}var bh=[{provide:$e,useValue:Da},{provide:ta,useValue:_h,multi:!0},{provide:L,useFactory:yh,deps:[]}];var xh=[{provide:Qs,useValue:"root"},{provide:Ar,useFactory:vh,deps:[]},{provide:Yr,useClass:uh,multi:!0,deps:[L,R,$e]},{provide:Yr,useClass:ph,multi:!0,deps:[L]},xn,Ua,Ba,{provide:nn,useExisting:xn},{provide:un,useClass:oh,deps:[]},[]];var Wa=(()=>{let e=class e{constructor(t){this._doc=t}getTitle(){return this._doc.title}setTitle(t){this._doc.title=t||""}};e.\u0275fac=function(n){return new(n||e)(f(L))},e.\u0275prov=v({token:e,factory:e.\u0275fac,providedIn:"root"});let i=e;return i})();var M="primary",Ni=Symbol("RouteTitle"),io=class{constructor(e){this.params=e||{}}has(e){return Object.prototype.hasOwnProperty.call(this.params,e)}get(e){if(this.has(e)){let r=this.params[e];return Array.isArray(r)?r[0]:r}return null}getAll(e){if(this.has(e)){let r=this.params[e];return Array.isArray(r)?r:[r]}return[]}get keys(){return Object.keys(this.params)}};function qt(i){return new io(i)}function Ch(i,e,r){let t=r.path.split("/");if(t.length>i.length||r.pathMatch==="full"&&(e.hasChildren()||t.lengtht[o]===n)}else return i===e}function Qa(i){return i.length>0?i[i.length-1]:null}function it(i){return Ot(i)?i:cn(i)?ve(Promise.resolve(i)):E(i)}var Eh={exact:el,subset:tl},Ja={exact:Sh,subset:Ih,ignored:()=>!0};function Ga(i,e,r){return Eh[r.paths](i.root,e.root,r.matrixParams)&&Ja[r.queryParams](i.queryParams,e.queryParams)&&!(r.fragment==="exact"&&i.fragment!==e.fragment)}function Sh(i,e){return je(i,e)}function el(i,e,r){if(!yt(i.segments,e.segments)||!En(i.segments,e.segments,r)||i.numberOfChildren!==e.numberOfChildren)return!1;for(let t in e.children)if(!i.children[t]||!el(i.children[t],e.children[t],r))return!1;return!0}function Ih(i,e){return Object.keys(e).length<=Object.keys(i).length&&Object.keys(e).every(r=>Ka(i[r],e[r]))}function tl(i,e,r){return il(i,e,e.segments,r)}function il(i,e,r,t){if(i.segments.length>r.length){let n=i.segments.slice(0,r.length);return!(!yt(n,r)||e.hasChildren()||!En(n,r,t))}else if(i.segments.length===r.length){if(!yt(i.segments,r)||!En(i.segments,r,t))return!1;for(let n in e.children)if(!i.children[n]||!tl(i.children[n],e.children[n],t))return!1;return!0}else{let n=r.slice(0,i.segments.length),o=r.slice(i.segments.length);return!yt(i.segments,n)||!En(i.segments,n,t)||!i.children[M]?!1:il(i.children[M],e,o,t)}}function En(i,e,r){return e.every((t,n)=>Ja[r](i[n].parameters,t.parameters))}var et=class{constructor(e=new $([],{}),r={},t=null){this.root=e,this.queryParams=r,this.fragment=t}get queryParamMap(){return this._queryParamMap??=qt(this.queryParams),this._queryParamMap}toString(){return Ah.serialize(this)}},$=class{constructor(e,r){this.segments=e,this.children=r,this.parent=null,Object.values(r).forEach(t=>t.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return Sn(this)}},vt=class{constructor(e,r){this.path=e,this.parameters=r}get parameterMap(){return this._parameterMap??=qt(this.parameters),this._parameterMap}toString(){return rl(this)}};function Rh(i,e){return yt(i,e)&&i.every((r,t)=>je(r.parameters,e[t].parameters))}function yt(i,e){return i.length!==e.length?!1:i.every((r,t)=>r.path===e[t].path)}function kh(i,e){let r=[];return Object.entries(i.children).forEach(([t,n])=>{t===M&&(r=r.concat(e(n,t)))}),Object.entries(i.children).forEach(([t,n])=>{t!==M&&(r=r.concat(e(n,t)))}),r}var Ao=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=v({token:e,factory:()=>new Rn,providedIn:"root"});let i=e;return i})(),Rn=class{parse(e){let r=new oo(e);return new et(r.parseRootSegment(),r.parseQueryParams(),r.parseFragment())}serialize(e){let r=`/${xi(e.root,!0)}`,t=Oh(e.queryParams),n=typeof e.fragment=="string"?`#${Mh(e.fragment)}`:"";return`${r}${t}${n}`}},Ah=new Rn;function Sn(i){return i.segments.map(e=>rl(e)).join("/")}function xi(i,e){if(!i.hasChildren())return Sn(i);if(e){let r=i.children[M]?xi(i.children[M],!1):"",t=[];return Object.entries(i.children).forEach(([n,o])=>{n!==M&&t.push(`${n}:${xi(o,!1)}`)}),t.length>0?`${r}(${t.join("//")})`:r}else{let r=kh(i,(t,n)=>n===M?[xi(i.children[M],!1)]:[`${n}:${xi(t,!1)}`]);return Object.keys(i.children).length===1&&i.children[M]!=null?`${Sn(i)}/${r[0]}`:`${Sn(i)}/(${r.join("//")})`}}function nl(i){return encodeURIComponent(i).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function Cn(i){return nl(i).replace(/%3B/gi,";")}function Mh(i){return encodeURI(i)}function ro(i){return nl(i).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function In(i){return decodeURIComponent(i)}function qa(i){return In(i.replace(/\+/g,"%20"))}function rl(i){return`${ro(i.path)}${Th(i.parameters)}`}function Th(i){return Object.entries(i).map(([e,r])=>`;${ro(e)}=${ro(r)}`).join("")}function Oh(i){let e=Object.entries(i).map(([r,t])=>Array.isArray(t)?t.map(n=>`${Cn(r)}=${Cn(n)}`).join("&"):`${Cn(r)}=${Cn(t)}`).filter(r=>r);return e.length?`?${e.join("&")}`:""}var Fh=/^[^\/()?;#]+/;function Qr(i){let e=i.match(Fh);return e?e[0]:""}var Nh=/^[^\/()?;=#]+/;function Ph(i){let e=i.match(Nh);return e?e[0]:""}var Lh=/^[^=?&#]+/;function Vh(i){let e=i.match(Lh);return e?e[0]:""}var jh=/^[^&#]+/;function Bh(i){let e=i.match(jh);return e?e[0]:""}var oo=class{constructor(e){this.url=e,this.remaining=e}parseRootSegment(){return this.consumeOptional("/"),this.remaining===""||this.peekStartsWith("?")||this.peekStartsWith("#")?new $([],{}):new $([],this.parseChildren())}parseQueryParams(){let e={};if(this.consumeOptional("?"))do this.parseQueryParam(e);while(this.consumeOptional("&"));return e}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(this.remaining==="")return{};this.consumeOptional("/");let e=[];for(this.peekStartsWith("(")||e.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),e.push(this.parseSegment());let r={};this.peekStartsWith("/(")&&(this.capture("/"),r=this.parseParens(!0));let t={};return this.peekStartsWith("(")&&(t=this.parseParens(!1)),(e.length>0||Object.keys(r).length>0)&&(t[M]=new $(e,r)),t}parseSegment(){let e=Qr(this.remaining);if(e===""&&this.peekStartsWith(";"))throw new Z(4009,!1);return this.capture(e),new vt(In(e),this.parseMatrixParams())}parseMatrixParams(){let e={};for(;this.consumeOptional(";");)this.parseParam(e);return e}parseParam(e){let r=Ph(this.remaining);if(!r)return;this.capture(r);let t="";if(this.consumeOptional("=")){let n=Qr(this.remaining);n&&(t=n,this.capture(t))}e[In(r)]=In(t)}parseQueryParam(e){let r=Vh(this.remaining);if(!r)return;this.capture(r);let t="";if(this.consumeOptional("=")){let s=Bh(this.remaining);s&&(t=s,this.capture(t))}let n=qa(r),o=qa(t);if(e.hasOwnProperty(n)){let s=e[n];Array.isArray(s)||(s=[s],e[n]=s),s.push(o)}else e[n]=o}parseParens(e){let r={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){let t=Qr(this.remaining),n=this.remaining[t.length];if(n!=="/"&&n!==")"&&n!==";")throw new Z(4010,!1);let o;t.indexOf(":")>-1?(o=t.slice(0,t.indexOf(":")),this.capture(o),this.capture(":")):e&&(o=M);let s=this.parseChildren();r[o]=Object.keys(s).length===1?s[M]:new $([],s),this.consumeOptional("//")}return r}peekStartsWith(e){return this.remaining.startsWith(e)}consumeOptional(e){return this.peekStartsWith(e)?(this.remaining=this.remaining.substring(e.length),!0):!1}capture(e){if(!this.consumeOptional(e))throw new Z(4011,!1)}};function ol(i){return i.segments.length>0?new $([],{[M]:i}):i}function sl(i){let e={};for(let[t,n]of Object.entries(i.children)){let o=sl(n);if(t===M&&o.segments.length===0&&o.hasChildren())for(let[s,a]of Object.entries(o.children))e[s]=a;else(o.segments.length>0||o.hasChildren())&&(e[t]=o)}let r=new $(i.segments,e);return Uh(r)}function Uh(i){if(i.numberOfChildren===1&&i.children[M]){let e=i.children[M];return new $(i.segments.concat(e.segments),e.children)}return i}function Yt(i){return i instanceof et}function zh(i,e,r=null,t=null){let n=al(i);return ll(n,e,r,t)}function al(i){let e;function r(o){let s={};for(let c of o.children){let l=r(c);s[c.outlet]=l}let a=new $(o.url,s);return o===i&&(e=a),a}let t=r(i.root),n=ol(t);return e??n}function ll(i,e,r,t){let n=i;for(;n.parent;)n=n.parent;if(e.length===0)return Jr(n,n,n,r,t);let o=Hh(e);if(o.toRoot())return Jr(n,n,new $([],{}),r,t);let s=$h(o,n,i),a=s.processChildren?Di(s.segmentGroup,s.index,o.commands):dl(s.segmentGroup,s.index,o.commands);return Jr(n,s.segmentGroup,a,r,t)}function kn(i){return typeof i=="object"&&i!=null&&!i.outlets&&!i.segmentPath}function Ii(i){return typeof i=="object"&&i!=null&&i.outlets}function Jr(i,e,r,t,n){let o={};t&&Object.entries(t).forEach(([c,l])=>{o[c]=Array.isArray(l)?l.map(d=>`${d}`):`${l}`});let s;i===e?s=r:s=cl(i,e,r);let a=ol(sl(s));return new et(a,o,n)}function cl(i,e,r){let t={};return Object.entries(i.children).forEach(([n,o])=>{o===e?t[n]=r:t[n]=cl(o,e,r)}),new $(i.segments,t)}var An=class{constructor(e,r,t){if(this.isAbsolute=e,this.numberOfDoubleDots=r,this.commands=t,e&&t.length>0&&kn(t[0]))throw new Z(4003,!1);let n=t.find(Ii);if(n&&n!==Qa(t))throw new Z(4004,!1)}toRoot(){return this.isAbsolute&&this.commands.length===1&&this.commands[0]=="/"}};function Hh(i){if(typeof i[0]=="string"&&i.length===1&&i[0]==="/")return new An(!0,0,i);let e=0,r=!1,t=i.reduce((n,o,s)=>{if(typeof o=="object"&&o!=null){if(o.outlets){let a={};return Object.entries(o.outlets).forEach(([c,l])=>{a[c]=typeof l=="string"?l.split("/"):l}),[...n,{outlets:a}]}if(o.segmentPath)return[...n,o.segmentPath]}return typeof o!="string"?[...n,o]:s===0?(o.split("/").forEach((a,c)=>{c==0&&a==="."||(c==0&&a===""?r=!0:a===".."?e++:a!=""&&n.push(a))}),n):[...n,o]},[]);return new An(r,e,t)}var Wt=class{constructor(e,r,t){this.segmentGroup=e,this.processChildren=r,this.index=t}};function $h(i,e,r){if(i.isAbsolute)return new Wt(e,!0,0);if(!r)return new Wt(e,!1,NaN);if(r.parent===null)return new Wt(r,!0,0);let t=kn(i.commands[0])?0:1,n=r.segments.length-1+t;return Wh(r,n,i.numberOfDoubleDots)}function Wh(i,e,r){let t=i,n=e,o=r;for(;o>n;){if(o-=n,t=t.parent,!t)throw new Z(4005,!1);n=t.segments.length}return new Wt(t,!1,n-o)}function Gh(i){return Ii(i[0])?i[0].outlets:{[M]:i}}function dl(i,e,r){if(i??=new $([],{}),i.segments.length===0&&i.hasChildren())return Di(i,e,r);let t=qh(i,e,r),n=r.slice(t.commandIndex);if(t.match&&t.pathIndexo!==M)&&i.children[M]&&i.numberOfChildren===1&&i.children[M].segments.length===0){let o=Di(i.children[M],e,r);return new $(i.segments,o.children)}return Object.entries(t).forEach(([o,s])=>{typeof s=="string"&&(s=[s]),s!==null&&(n[o]=dl(i.children[o],e,s))}),Object.entries(i.children).forEach(([o,s])=>{t[o]===void 0&&(n[o]=s)}),new $(i.segments,n)}}function qh(i,e,r){let t=0,n=e,o={match:!1,pathIndex:0,commandIndex:0};for(;n=r.length)return o;let s=i.segments[n],a=r[t];if(Ii(a))break;let c=`${a}`,l=t0&&c===void 0)break;if(c&&l&&typeof l=="object"&&l.outlets===void 0){if(!Za(c,l,s))return o;t+=2}else{if(!Za(c,{},s))return o;t++}n++}return{match:!0,pathIndex:n,commandIndex:t}}function so(i,e,r){let t=i.segments.slice(0,e),n=0;for(;n{typeof t=="string"&&(t=[t]),t!==null&&(e[r]=so(new $([],{}),0,t))}),e}function Ya(i){let e={};return Object.entries(i).forEach(([r,t])=>e[r]=`${t}`),e}function Za(i,e,r){return i==r.path&&je(e,r.parameters)}var Ei="imperative",ye=function(i){return i[i.NavigationStart=0]="NavigationStart",i[i.NavigationEnd=1]="NavigationEnd",i[i.NavigationCancel=2]="NavigationCancel",i[i.NavigationError=3]="NavigationError",i[i.RoutesRecognized=4]="RoutesRecognized",i[i.ResolveStart=5]="ResolveStart",i[i.ResolveEnd=6]="ResolveEnd",i[i.GuardsCheckStart=7]="GuardsCheckStart",i[i.GuardsCheckEnd=8]="GuardsCheckEnd",i[i.RouteConfigLoadStart=9]="RouteConfigLoadStart",i[i.RouteConfigLoadEnd=10]="RouteConfigLoadEnd",i[i.ChildActivationStart=11]="ChildActivationStart",i[i.ChildActivationEnd=12]="ChildActivationEnd",i[i.ActivationStart=13]="ActivationStart",i[i.ActivationEnd=14]="ActivationEnd",i[i.Scroll=15]="Scroll",i[i.NavigationSkipped=16]="NavigationSkipped",i}(ye||{}),Ne=class{constructor(e,r){this.id=e,this.url=r}},Ri=class extends Ne{constructor(e,r,t="imperative",n=null){super(e,r),this.type=ye.NavigationStart,this.navigationTrigger=t,this.restoredState=n}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}},bt=class extends Ne{constructor(e,r,t){super(e,r),this.urlAfterRedirects=t,this.type=ye.NavigationEnd}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}},ke=function(i){return i[i.Redirect=0]="Redirect",i[i.SupersededByNewNavigation=1]="SupersededByNewNavigation",i[i.NoDataFromResolver=2]="NoDataFromResolver",i[i.GuardRejected=3]="GuardRejected",i}(ke||{}),ao=function(i){return i[i.IgnoredSameUrlNavigation=0]="IgnoredSameUrlNavigation",i[i.IgnoredByUrlHandlingStrategy=1]="IgnoredByUrlHandlingStrategy",i}(ao||{}),tt=class extends Ne{constructor(e,r,t,n){super(e,r),this.reason=t,this.code=n,this.type=ye.NavigationCancel}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}},xt=class extends Ne{constructor(e,r,t,n){super(e,r),this.reason=t,this.code=n,this.type=ye.NavigationSkipped}},ki=class extends Ne{constructor(e,r,t,n){super(e,r),this.error=t,this.target=n,this.type=ye.NavigationError}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}},Mn=class extends Ne{constructor(e,r,t,n){super(e,r),this.urlAfterRedirects=t,this.state=n,this.type=ye.RoutesRecognized}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},lo=class extends Ne{constructor(e,r,t,n){super(e,r),this.urlAfterRedirects=t,this.state=n,this.type=ye.GuardsCheckStart}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},co=class extends Ne{constructor(e,r,t,n,o){super(e,r),this.urlAfterRedirects=t,this.state=n,this.shouldActivate=o,this.type=ye.GuardsCheckEnd}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}},ho=class extends Ne{constructor(e,r,t,n){super(e,r),this.urlAfterRedirects=t,this.state=n,this.type=ye.ResolveStart}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},uo=class extends Ne{constructor(e,r,t,n){super(e,r),this.urlAfterRedirects=t,this.state=n,this.type=ye.ResolveEnd}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},fo=class{constructor(e){this.route=e,this.type=ye.RouteConfigLoadStart}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}},mo=class{constructor(e){this.route=e,this.type=ye.RouteConfigLoadEnd}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}},po=class{constructor(e){this.snapshot=e,this.type=ye.ChildActivationStart}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},go=class{constructor(e){this.snapshot=e,this.type=ye.ChildActivationEnd}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},_o=class{constructor(e){this.snapshot=e,this.type=ye.ActivationStart}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},vo=class{constructor(e){this.snapshot=e,this.type=ye.ActivationEnd}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}};var Ai=class{},Mi=class{constructor(e){this.url=e}};var yo=class{constructor(){this.outlet=null,this.route=null,this.injector=null,this.children=new Ln,this.attachRef=null}},Ln=(()=>{let e=class e{constructor(){this.contexts=new Map}onChildOutletCreated(t,n){let o=this.getOrCreateContext(t);o.outlet=n,this.contexts.set(t,o)}onChildOutletDestroyed(t){let n=this.getContext(t);n&&(n.outlet=null,n.attachRef=null)}onOutletDeactivated(){let t=this.contexts;return this.contexts=new Map,t}onOutletReAttached(t){this.contexts=t}getOrCreateContext(t){let n=this.getContext(t);return n||(n=new yo,this.contexts.set(t,n)),n}getContext(t){return this.contexts.get(t)||null}};e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=v({token:e,factory:e.\u0275fac,providedIn:"root"});let i=e;return i})(),Tn=class{constructor(e){this._root=e}get root(){return this._root.value}parent(e){let r=this.pathFromRoot(e);return r.length>1?r[r.length-2]:null}children(e){let r=bo(e,this._root);return r?r.children.map(t=>t.value):[]}firstChild(e){let r=bo(e,this._root);return r&&r.children.length>0?r.children[0].value:null}siblings(e){let r=xo(e,this._root);return r.length<2?[]:r[r.length-2].children.map(n=>n.value).filter(n=>n!==e)}pathFromRoot(e){return xo(e,this._root).map(r=>r.value)}};function bo(i,e){if(i===e.value)return e;for(let r of e.children){let t=bo(i,r);if(t)return t}return null}function xo(i,e){if(i===e.value)return[e];for(let r of e.children){let t=xo(i,r);if(t.length)return t.unshift(e),t}return[]}var Re=class{constructor(e,r){this.value=e,this.children=r}toString(){return`TreeNode(${this.value})`}};function $t(i){let e={};return i&&i.children.forEach(r=>e[r.value.outlet]=r),e}var On=class extends Tn{constructor(e,r){super(e),this.snapshot=r,To(this,e)}toString(){return this.snapshot.toString()}};function hl(i){let e=Zh(i),r=new ue([new vt("",{})]),t=new ue({}),n=new ue({}),o=new ue({}),s=new ue(""),a=new Zt(r,t,o,s,n,M,i,e.root);return a.snapshot=e.root,new On(new Re(a,[]),e)}function Zh(i){let e={},r={},t={},n="",o=new Ti([],e,t,n,r,M,i,null,{});return new Fn("",new Re(o,[]))}var Zt=class{constructor(e,r,t,n,o,s,a,c){this.urlSubject=e,this.paramsSubject=r,this.queryParamsSubject=t,this.fragmentSubject=n,this.dataSubject=o,this.outlet=s,this.component=a,this._futureSnapshot=c,this.title=this.dataSubject?.pipe(A(l=>l[Ni]))??E(void 0),this.url=e,this.params=r,this.queryParams=t,this.fragment=n,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(A(e=>qt(e))),this._paramMap}get queryParamMap(){return this._queryParamMap??=this.queryParams.pipe(A(e=>qt(e))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}};function Mo(i,e,r="emptyOnly"){let t,{routeConfig:n}=i;return e!==null&&(r==="always"||n?.path===""||!e.component&&!e.routeConfig?.loadComponent)?t={params:g(g({},e.params),i.params),data:g(g({},e.data),i.data),resolve:g(g(g(g({},i.data),e.data),n?.data),i._resolvedData)}:t={params:g({},i.params),data:g({},i.data),resolve:g(g({},i.data),i._resolvedData??{})},n&&fl(n)&&(t.resolve[Ni]=n.title),t}var Ti=class{get title(){return this.data?.[Ni]}constructor(e,r,t,n,o,s,a,c,l){this.url=e,this.params=r,this.queryParams=t,this.fragment=n,this.data=o,this.outlet=s,this.component=a,this.routeConfig=c,this._resolve=l}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??=qt(this.params),this._paramMap}get queryParamMap(){return this._queryParamMap??=qt(this.queryParams),this._queryParamMap}toString(){let e=this.url.map(t=>t.toString()).join("/"),r=this.routeConfig?this.routeConfig.path:"";return`Route(url:'${e}', path:'${r}')`}},Fn=class extends Tn{constructor(e,r){super(r),this.url=e,To(this,r)}toString(){return ul(this._root)}};function To(i,e){e.value._routerState=i,e.children.forEach(r=>To(i,r))}function ul(i){let e=i.children.length>0?` { ${i.children.map(ul).join(", ")} } `:"";return`${i.value}${e}`}function eo(i){if(i.snapshot){let e=i.snapshot,r=i._futureSnapshot;i.snapshot=r,je(e.queryParams,r.queryParams)||i.queryParamsSubject.next(r.queryParams),e.fragment!==r.fragment&&i.fragmentSubject.next(r.fragment),je(e.params,r.params)||i.paramsSubject.next(r.params),Dh(e.url,r.url)||i.urlSubject.next(r.url),je(e.data,r.data)||i.dataSubject.next(r.data)}else i.snapshot=i._futureSnapshot,i.dataSubject.next(i._futureSnapshot.data)}function wo(i,e){let r=je(i.params,e.params)&&Rh(i.url,e.url),t=!i.parent!=!e.parent;return r&&!t&&(!i.parent||wo(i.parent,e.parent))}function fl(i){return typeof i.title=="string"||i.title===null}var Oo=(()=>{let e=class e{constructor(){this.activated=null,this._activatedRoute=null,this.name=M,this.activateEvents=new z,this.deactivateEvents=new z,this.attachEvents=new z,this.detachEvents=new z,this.parentContexts=_(Ln),this.location=_(Oe),this.changeDetector=_(Se),this.environmentInjector=_(Pt),this.inputBinder=_(Fo,{optional:!0}),this.supportsBindingToComponentInputs=!0}get activatedComponentRef(){return this.activated}ngOnChanges(t){if(t.name){let{firstChange:n,previousValue:o}=t.name;if(n)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(t){return this.parentContexts.getContext(t)?.outlet===this}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(this.parentContexts.onChildOutletCreated(this.name,this),this.activated)return;let t=this.parentContexts.getContext(this.name);t?.route&&(t.attachRef?this.attach(t.attachRef,t.route):this.activateWith(t.route,t.injector))}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new Z(4012,!1);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new Z(4012,!1);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new Z(4012,!1);this.location.detach();let t=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(t.instance),t}attach(t,n){this.activated=t,this._activatedRoute=n,this.location.insert(t.hostView),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.attachEvents.emit(t.instance)}deactivate(){if(this.activated){let t=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(t)}}activateWith(t,n){if(this.isActivated)throw new Z(4013,!1);this._activatedRoute=t;let o=this.location,a=t.snapshot.component,c=this.parentContexts.getOrCreateContext(this.name).children,l=new Co(t,c,o.injector);this.activated=o.createComponent(a,{index:o.length,injector:l,environmentInjector:n??this.environmentInjector}),this.changeDetector.markForCheck(),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.activateEvents.emit(this.activated.instance)}};e.\u0275fac=function(n){return new(n||e)},e.\u0275dir=C({type:e,selectors:[["router-outlet"]],inputs:{name:"name"},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],standalone:!0,features:[we]});let i=e;return i})(),Co=class{constructor(e,r,t){this.route=e,this.childContexts=r,this.parent=t,this.__ngOutletInjector=!0}get(e,r){return e===Zt?this.route:e===Ln?this.childContexts:this.parent.get(e,r)}},Fo=new w("");function Xh(i,e,r){let t=Oi(i,e._root,r?r._root:void 0);return new On(t,e)}function Oi(i,e,r){if(r&&i.shouldReuseRoute(e.value,r.value.snapshot)){let t=r.value;t._futureSnapshot=e.value;let n=Kh(i,e,r);return new Re(t,n)}else{if(i.shouldAttach(e.value)){let o=i.retrieve(e.value);if(o!==null){let s=o.route;return s.value._futureSnapshot=e.value,s.children=e.children.map(a=>Oi(i,a)),s}}let t=Qh(e.value),n=e.children.map(o=>Oi(i,o));return new Re(t,n)}}function Kh(i,e,r){return e.children.map(t=>{for(let n of r.children)if(i.shouldReuseRoute(t.value,n.value.snapshot))return Oi(i,t,n);return Oi(i,t)})}function Qh(i){return new Zt(new ue(i.url),new ue(i.params),new ue(i.queryParams),new ue(i.fragment),new ue(i.data),i.outlet,i.component,i)}var ml="ngNavigationCancelingError";function pl(i,e){let{redirectTo:r,navigationBehaviorOptions:t}=Yt(e)?{redirectTo:e,navigationBehaviorOptions:void 0}:e,n=gl(!1,ke.Redirect);return n.url=r,n.navigationBehaviorOptions=t,n}function gl(i,e){let r=new Error(`NavigationCancelingError: ${i||""}`);return r[ml]=!0,r.cancellationCode=e,r}function Jh(i){return _l(i)&&Yt(i.url)}function _l(i){return!!i&&i[ml]}var eu=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275cmp=ee({type:e,selectors:[["ng-component"]],standalone:!0,features:[te],decls:1,vars:0,template:function(n,o){n&1&&K(0,"router-outlet")},dependencies:[Oo],encapsulation:2});let i=e;return i})();function tu(i,e){return i.providers&&!i._injector&&(i._injector=oa(i.providers,e,`Route: ${i.path}`)),i._injector??e}function No(i){let e=i.children&&i.children.map(No),r=e?ie(g({},i),{children:e}):g({},i);return!r.component&&!r.loadComponent&&(e||r.loadChildren)&&r.outlet&&r.outlet!==M&&(r.component=eu),r}function Be(i){return i.outlet||M}function iu(i,e){let r=i.filter(t=>Be(t)===e);return r.push(...i.filter(t=>Be(t)!==e)),r}function Pi(i){if(!i)return null;if(i.routeConfig?._injector)return i.routeConfig._injector;for(let e=i.parent;e;e=e.parent){let r=e.routeConfig;if(r?._loadedInjector)return r._loadedInjector;if(r?._injector)return r._injector}return null}var nu=(i,e,r,t)=>A(n=>(new Do(e,n.targetRouterState,n.currentRouterState,r,t).activate(i),n)),Do=class{constructor(e,r,t,n,o){this.routeReuseStrategy=e,this.futureState=r,this.currState=t,this.forwardEvent=n,this.inputBindingEnabled=o}activate(e){let r=this.futureState._root,t=this.currState?this.currState._root:null;this.deactivateChildRoutes(r,t,e),eo(this.futureState.root),this.activateChildRoutes(r,t,e)}deactivateChildRoutes(e,r,t){let n=$t(r);e.children.forEach(o=>{let s=o.value.outlet;this.deactivateRoutes(o,n[s],t),delete n[s]}),Object.values(n).forEach(o=>{this.deactivateRouteAndItsChildren(o,t)})}deactivateRoutes(e,r,t){let n=e.value,o=r?r.value:null;if(n===o)if(n.component){let s=t.getContext(n.outlet);s&&this.deactivateChildRoutes(e,r,s.children)}else this.deactivateChildRoutes(e,r,t);else o&&this.deactivateRouteAndItsChildren(r,t)}deactivateRouteAndItsChildren(e,r){e.value.component&&this.routeReuseStrategy.shouldDetach(e.value.snapshot)?this.detachAndStoreRouteSubtree(e,r):this.deactivateRouteAndOutlet(e,r)}detachAndStoreRouteSubtree(e,r){let t=r.getContext(e.value.outlet),n=t&&e.value.component?t.children:r,o=$t(e);for(let s of Object.values(o))this.deactivateRouteAndItsChildren(s,n);if(t&&t.outlet){let s=t.outlet.detach(),a=t.children.onOutletDeactivated();this.routeReuseStrategy.store(e.value.snapshot,{componentRef:s,route:e,contexts:a})}}deactivateRouteAndOutlet(e,r){let t=r.getContext(e.value.outlet),n=t&&e.value.component?t.children:r,o=$t(e);for(let s of Object.values(o))this.deactivateRouteAndItsChildren(s,n);t&&(t.outlet&&(t.outlet.deactivate(),t.children.onOutletDeactivated()),t.attachRef=null,t.route=null)}activateChildRoutes(e,r,t){let n=$t(r);e.children.forEach(o=>{this.activateRoutes(o,n[o.value.outlet],t),this.forwardEvent(new vo(o.value.snapshot))}),e.children.length&&this.forwardEvent(new go(e.value.snapshot))}activateRoutes(e,r,t){let n=e.value,o=r?r.value:null;if(eo(n),n===o)if(n.component){let s=t.getOrCreateContext(n.outlet);this.activateChildRoutes(e,r,s.children)}else this.activateChildRoutes(e,r,t);else if(n.component){let s=t.getOrCreateContext(n.outlet);if(this.routeReuseStrategy.shouldAttach(n.snapshot)){let a=this.routeReuseStrategy.retrieve(n.snapshot);this.routeReuseStrategy.store(n.snapshot,null),s.children.onOutletReAttached(a.contexts),s.attachRef=a.componentRef,s.route=a.route.value,s.outlet&&s.outlet.attach(a.componentRef,a.route.value),eo(a.route.value),this.activateChildRoutes(e,null,s.children)}else{let a=Pi(n.snapshot);s.attachRef=null,s.route=n,s.injector=a,s.outlet&&s.outlet.activateWith(n,s.injector),this.activateChildRoutes(e,null,s.children)}}else this.activateChildRoutes(e,null,t)}},Nn=class{constructor(e){this.path=e,this.route=this.path[this.path.length-1]}},Gt=class{constructor(e,r){this.component=e,this.route=r}};function ru(i,e,r){let t=i._root,n=e?e._root:null;return wi(t,n,r,[t.value])}function ou(i){let e=i.routeConfig?i.routeConfig.canActivateChild:null;return!e||e.length===0?null:{node:i,guards:e}}function Kt(i,e){let r=Symbol(),t=e.get(i,r);return t===r?typeof i=="function"&&!Xs(i)?i:e.get(i):t}function wi(i,e,r,t,n={canDeactivateChecks:[],canActivateChecks:[]}){let o=$t(e);return i.children.forEach(s=>{su(s,o[s.value.outlet],r,t.concat([s.value]),n),delete o[s.value.outlet]}),Object.entries(o).forEach(([s,a])=>Si(a,r.getContext(s),n)),n}function su(i,e,r,t,n={canDeactivateChecks:[],canActivateChecks:[]}){let o=i.value,s=e?e.value:null,a=r?r.getContext(i.value.outlet):null;if(s&&o.routeConfig===s.routeConfig){let c=au(s,o,o.routeConfig.runGuardsAndResolvers);c?n.canActivateChecks.push(new Nn(t)):(o.data=s.data,o._resolvedData=s._resolvedData),o.component?wi(i,e,a?a.children:null,t,n):wi(i,e,r,t,n),c&&a&&a.outlet&&a.outlet.isActivated&&n.canDeactivateChecks.push(new Gt(a.outlet.component,s))}else s&&Si(e,a,n),n.canActivateChecks.push(new Nn(t)),o.component?wi(i,null,a?a.children:null,t,n):wi(i,null,r,t,n);return n}function au(i,e,r){if(typeof r=="function")return r(i,e);switch(r){case"pathParamsChange":return!yt(i.url,e.url);case"pathParamsOrQueryParamsChange":return!yt(i.url,e.url)||!je(i.queryParams,e.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!wo(i,e)||!je(i.queryParams,e.queryParams);case"paramsChange":default:return!wo(i,e)}}function Si(i,e,r){let t=$t(i),n=i.value;Object.entries(t).forEach(([o,s])=>{n.component?e?Si(s,e.children.getContext(o),r):Si(s,null,r):Si(s,e,r)}),n.component?e&&e.outlet&&e.outlet.isActivated?r.canDeactivateChecks.push(new Gt(e.outlet.component,n)):r.canDeactivateChecks.push(new Gt(null,n)):r.canDeactivateChecks.push(new Gt(null,n))}function Li(i){return typeof i=="function"}function lu(i){return typeof i=="boolean"}function cu(i){return i&&Li(i.canLoad)}function du(i){return i&&Li(i.canActivate)}function hu(i){return i&&Li(i.canActivateChild)}function uu(i){return i&&Li(i.canDeactivate)}function fu(i){return i&&Li(i.canMatch)}function vl(i){return i instanceof zs||i?.name==="EmptyError"}var Dn=Symbol("INITIAL_VALUE");function Xt(){return xe(i=>ot(i.map(e=>e.pipe(be(1),Qe(Dn)))).pipe(A(e=>{for(let r of e)if(r!==!0){if(r===Dn)return Dn;if(r===!1||r instanceof et)return r}return!0}),ce(e=>e!==Dn),be(1)))}function mu(i,e){return Ae(r=>{let{targetSnapshot:t,currentSnapshot:n,guards:{canActivateChecks:o,canDeactivateChecks:s}}=r;return s.length===0&&o.length===0?E(ie(g({},r),{guardsResult:!0})):pu(s,t,n,i).pipe(Ae(a=>a&&lu(a)?gu(t,o,i,e):E(a)),A(a=>ie(g({},r),{guardsResult:a})))})}function pu(i,e,r,t){return ve(i).pipe(Ae(n=>xu(n.component,n.route,r,e,t)),Ke(n=>n!==!0,!0))}function gu(i,e,r,t){return ve(e).pipe(ze(n=>Qi(vu(n.route.parent,t),_u(n.route,t),bu(i,n.path,r),yu(i,n.route,r))),Ke(n=>n!==!0,!0))}function _u(i,e){return i!==null&&e&&e(new _o(i)),E(!0)}function vu(i,e){return i!==null&&e&&e(new po(i)),E(!0)}function yu(i,e,r){let t=e.routeConfig?e.routeConfig.canActivate:null;if(!t||t.length===0)return E(!0);let n=t.map(o=>oi(()=>{let s=Pi(e)??r,a=Kt(o,s),c=du(a)?a.canActivate(e,i):He(s,()=>a(e,i));return it(c).pipe(Ke())}));return E(n).pipe(Xt())}function bu(i,e,r){let t=e[e.length-1],o=e.slice(0,e.length-1).reverse().map(s=>ou(s)).filter(s=>s!==null).map(s=>oi(()=>{let a=s.guards.map(c=>{let l=Pi(s.node)??r,d=Kt(c,l),u=hu(d)?d.canActivateChild(t,i):He(l,()=>d(t,i));return it(u).pipe(Ke())});return E(a).pipe(Xt())}));return E(o).pipe(Xt())}function xu(i,e,r,t,n){let o=e&&e.routeConfig?e.routeConfig.canDeactivate:null;if(!o||o.length===0)return E(!0);let s=o.map(a=>{let c=Pi(e)??n,l=Kt(a,c),d=uu(l)?l.canDeactivate(i,e,r,t):He(c,()=>l(i,e,r,t));return it(d).pipe(Ke())});return E(s).pipe(Xt())}function wu(i,e,r,t){let n=e.canLoad;if(n===void 0||n.length===0)return E(!0);let o=n.map(s=>{let a=Kt(s,i),c=cu(a)?a.canLoad(e,r):He(i,()=>a(e,r));return it(c)});return E(o).pipe(Xt(),yl(t))}function yl(i){return Us(re(e=>{if(Yt(e))throw pl(i,e)}),A(e=>e===!0))}function Cu(i,e,r,t){let n=e.canMatch;if(!n||n.length===0)return E(!0);let o=n.map(s=>{let a=Kt(s,i),c=fu(a)?a.canMatch(e,r):He(i,()=>a(e,r));return it(c)});return E(o).pipe(Xt(),yl(t))}var Fi=class{constructor(e){this.segmentGroup=e||null}},Pn=class extends Error{constructor(e){super(),this.urlTree=e}};function Ht(i){return ri(new Fi(i))}function Du(i){return ri(new Z(4e3,!1))}function Eu(i){return ri(gl(!1,ke.GuardRejected))}var Eo=class{constructor(e,r){this.urlSerializer=e,this.urlTree=r}lineralizeSegments(e,r){let t=[],n=r.root;for(;;){if(t=t.concat(n.segments),n.numberOfChildren===0)return E(t);if(n.numberOfChildren>1||!n.children[M])return Du(e.redirectTo);n=n.children[M]}}applyRedirectCommands(e,r,t){let n=this.applyRedirectCreateUrlTree(r,this.urlSerializer.parse(r),e,t);if(r.startsWith("/"))throw new Pn(n);return n}applyRedirectCreateUrlTree(e,r,t,n){let o=this.createSegmentGroup(e,r.root,t,n);return new et(o,this.createQueryParams(r.queryParams,this.urlTree.queryParams),r.fragment)}createQueryParams(e,r){let t={};return Object.entries(e).forEach(([n,o])=>{if(typeof o=="string"&&o.startsWith(":")){let a=o.substring(1);t[n]=r[a]}else t[n]=o}),t}createSegmentGroup(e,r,t,n){let o=this.createSegments(e,r.segments,t,n),s={};return Object.entries(r.children).forEach(([a,c])=>{s[a]=this.createSegmentGroup(e,c,t,n)}),new $(o,s)}createSegments(e,r,t,n){return r.map(o=>o.path.startsWith(":")?this.findPosParam(e,o,n):this.findOrReturn(o,t))}findPosParam(e,r,t){let n=t[r.path.substring(1)];if(!n)throw new Z(4001,!1);return n}findOrReturn(e,r){let t=0;for(let n of r){if(n.path===e.path)return r.splice(t),n;t++}return e}},So={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function Su(i,e,r,t,n){let o=Po(i,e,r);return o.matched?(t=tu(e,t),Cu(t,e,r,n).pipe(A(s=>s===!0?o:g({},So)))):E(o)}function Po(i,e,r){if(e.path==="**")return Iu(r);if(e.path==="")return e.pathMatch==="full"&&(i.hasChildren()||r.length>0)?g({},So):{matched:!0,consumedSegments:[],remainingSegments:r,parameters:{},positionalParamSegments:{}};let n=(e.matcher||Ch)(r,i,e);if(!n)return g({},So);let o={};Object.entries(n.posParams??{}).forEach(([a,c])=>{o[a]=c.path});let s=n.consumed.length>0?g(g({},o),n.consumed[n.consumed.length-1].parameters):o;return{matched:!0,consumedSegments:n.consumed,remainingSegments:r.slice(n.consumed.length),parameters:s,positionalParamSegments:n.posParams??{}}}function Iu(i){return{matched:!0,parameters:i.length>0?Qa(i).parameters:{},consumedSegments:i,remainingSegments:[],positionalParamSegments:{}}}function Xa(i,e,r,t){return r.length>0&&Au(i,r,t)?{segmentGroup:new $(e,ku(t,new $(r,i.children))),slicedSegments:[]}:r.length===0&&Mu(i,r,t)?{segmentGroup:new $(i.segments,Ru(i,r,t,i.children)),slicedSegments:r}:{segmentGroup:new $(i.segments,i.children),slicedSegments:r}}function Ru(i,e,r,t){let n={};for(let o of r)if(Vn(i,e,o)&&!t[Be(o)]){let s=new $([],{});n[Be(o)]=s}return g(g({},t),n)}function ku(i,e){let r={};r[M]=e;for(let t of i)if(t.path===""&&Be(t)!==M){let n=new $([],{});r[Be(t)]=n}return r}function Au(i,e,r){return r.some(t=>Vn(i,e,t)&&Be(t)!==M)}function Mu(i,e,r){return r.some(t=>Vn(i,e,t))}function Vn(i,e,r){return(i.hasChildren()||e.length>0)&&r.pathMatch==="full"?!1:r.path===""}function Tu(i,e,r,t){return Be(i)!==t&&(t===M||!Vn(e,r,i))?!1:Po(e,i,r).matched}function Ou(i,e,r){return e.length===0&&!i.children[r]}var Io=class{};function Fu(i,e,r,t,n,o,s="emptyOnly"){return new Ro(i,e,r,t,n,s,o).recognize()}var Nu=31,Ro=class{constructor(e,r,t,n,o,s,a){this.injector=e,this.configLoader=r,this.rootComponentType=t,this.config=n,this.urlTree=o,this.paramsInheritanceStrategy=s,this.urlSerializer=a,this.applyRedirects=new Eo(this.urlSerializer,this.urlTree),this.absoluteRedirectCount=0,this.allowRedirects=!0}noMatchError(e){return new Z(4002,`'${e.segmentGroup}'`)}recognize(){let e=Xa(this.urlTree.root,[],[],this.config).segmentGroup;return this.match(e).pipe(A(r=>{let t=new Ti([],Object.freeze({}),Object.freeze(g({},this.urlTree.queryParams)),this.urlTree.fragment,{},M,this.rootComponentType,null,{}),n=new Re(t,r),o=new Fn("",n),s=zh(t,[],this.urlTree.queryParams,this.urlTree.fragment);return s.queryParams=this.urlTree.queryParams,o.url=this.urlSerializer.serialize(s),this.inheritParamsAndData(o._root,null),{state:o,tree:s}}))}match(e){return this.processSegmentGroup(this.injector,this.config,e,M).pipe(Ft(t=>{if(t instanceof Pn)return this.urlTree=t.urlTree,this.match(t.urlTree.root);throw t instanceof Fi?this.noMatchError(t):t}))}inheritParamsAndData(e,r){let t=e.value,n=Mo(t,r,this.paramsInheritanceStrategy);t.params=Object.freeze(n.params),t.data=Object.freeze(n.data),e.children.forEach(o=>this.inheritParamsAndData(o,t))}processSegmentGroup(e,r,t,n){return t.segments.length===0&&t.hasChildren()?this.processChildren(e,r,t):this.processSegment(e,r,t,t.segments,n,!0).pipe(A(o=>o instanceof Re?[o]:[]))}processChildren(e,r,t){let n=[];for(let o of Object.keys(t.children))o==="primary"?n.unshift(o):n.push(o);return ve(n).pipe(ze(o=>{let s=t.children[o],a=iu(r,o);return this.processSegmentGroup(e,a,s,o)}),Ys((o,s)=>(o.push(...s),o)),Er(null),qs(),Ae(o=>{if(o===null)return Ht(t);let s=bl(o);return Pu(s),E(s)}))}processSegment(e,r,t,n,o,s){return ve(r).pipe(ze(a=>this.processSegmentAgainstRoute(a._injector??e,r,a,t,n,o,s).pipe(Ft(c=>{if(c instanceof Fi)return E(null);throw c}))),Ke(a=>!!a),Ft(a=>{if(vl(a))return Ou(t,n,o)?E(new Io):Ht(t);throw a}))}processSegmentAgainstRoute(e,r,t,n,o,s,a){return Tu(t,n,o,s)?t.redirectTo===void 0?this.matchSegmentAgainstRoute(e,n,t,o,s):this.allowRedirects&&a?this.expandSegmentAgainstRouteUsingRedirect(e,n,r,t,o,s):Ht(n):Ht(n)}expandSegmentAgainstRouteUsingRedirect(e,r,t,n,o,s){let{matched:a,consumedSegments:c,positionalParamSegments:l,remainingSegments:d}=Po(r,n,o);if(!a)return Ht(r);n.redirectTo.startsWith("/")&&(this.absoluteRedirectCount++,this.absoluteRedirectCount>Nu&&(this.allowRedirects=!1));let u=this.applyRedirects.applyRedirectCommands(c,n.redirectTo,l);return this.applyRedirects.lineralizeSegments(n,u).pipe(Ae(p=>this.processSegment(e,t,r,p.concat(d),s,!1)))}matchSegmentAgainstRoute(e,r,t,n,o){let s=Su(r,t,n,e,this.urlSerializer);return t.path==="**"&&(r.children={}),s.pipe(xe(a=>a.matched?(e=t._injector??e,this.getChildConfig(e,t,n).pipe(xe(({routes:c})=>{let l=t._loadedInjector??e,{consumedSegments:d,remainingSegments:u,parameters:p}=a,b=new Ti(d,p,Object.freeze(g({},this.urlTree.queryParams)),this.urlTree.fragment,Vu(t),Be(t),t.component??t._loadedComponent??null,t,ju(t)),{segmentGroup:B,slicedSegments:V}=Xa(r,d,u,c);if(V.length===0&&B.hasChildren())return this.processChildren(l,c,B).pipe(A(I=>I===null?null:new Re(b,I)));if(c.length===0&&V.length===0)return E(new Re(b,[]));let S=Be(t)===o;return this.processSegment(l,c,B,V,S?M:o,!0).pipe(A(I=>new Re(b,I instanceof Re?[I]:[])))}))):Ht(r)))}getChildConfig(e,r,t){return r.children?E({routes:r.children,injector:e}):r.loadChildren?r._loadedRoutes!==void 0?E({routes:r._loadedRoutes,injector:r._loadedInjector}):wu(e,r,t,this.urlSerializer).pipe(Ae(n=>n?this.configLoader.loadChildren(e,r).pipe(re(o=>{r._loadedRoutes=o.routes,r._loadedInjector=o.injector})):Eu(r))):E({routes:[],injector:e})}};function Pu(i){i.sort((e,r)=>e.value.outlet===M?-1:r.value.outlet===M?1:e.value.outlet.localeCompare(r.value.outlet))}function Lu(i){let e=i.value.routeConfig;return e&&e.path===""}function bl(i){let e=[],r=new Set;for(let t of i){if(!Lu(t)){e.push(t);continue}let n=e.find(o=>t.value.routeConfig===o.value.routeConfig);n!==void 0?(n.children.push(...t.children),r.add(n)):e.push(t)}for(let t of r){let n=bl(t.children);e.push(new Re(t.value,n))}return e.filter(t=>!r.has(t))}function Vu(i){return i.data||{}}function ju(i){return i.resolve||{}}function Bu(i,e,r,t,n,o){return Ae(s=>Fu(i,e,r,t,s.extractedUrl,n,o).pipe(A(({state:a,tree:c})=>ie(g({},s),{targetSnapshot:a,urlAfterRedirects:c}))))}function Uu(i,e){return Ae(r=>{let{targetSnapshot:t,guards:{canActivateChecks:n}}=r;if(!n.length)return E(r);let o=new Set(n.map(c=>c.route)),s=new Set;for(let c of o)if(!s.has(c))for(let l of xl(c))s.add(l);let a=0;return ve(s).pipe(ze(c=>o.has(c)?zu(c,t,i,e):(c.data=Mo(c,c.parent,i).resolve,E(void 0))),re(()=>a++),Sr(1),Ae(c=>a===s.size?E(r):Ze))})}function xl(i){let e=i.children.map(r=>xl(r)).flat();return[i,...e]}function zu(i,e,r,t){let n=i.routeConfig,o=i._resolve;return n?.title!==void 0&&!fl(n)&&(o[Ni]=n.title),Hu(o,i,e,t).pipe(A(s=>(i._resolvedData=s,i.data=Mo(i,i.parent,r).resolve,null)))}function Hu(i,e,r,t){let n=no(i);if(n.length===0)return E({});let o={};return ve(n).pipe(Ae(s=>$u(i[s],e,r,t).pipe(Ke(),re(a=>{o[s]=a}))),Sr(1),Gs(o),Ft(s=>vl(s)?Ze:ri(s)))}function $u(i,e,r,t){let n=Pi(e)??t,o=Kt(i,n),s=o.resolve?o.resolve(e,r):He(n,()=>o(e,r));return it(s)}function to(i){return xe(e=>{let r=i(e);return r?ve(r).pipe(A(()=>e)):E(e)})}var wl=(()=>{let e=class e{buildTitle(t){let n,o=t.root;for(;o!==void 0;)n=this.getResolvedTitleForRoute(o)??n,o=o.children.find(s=>s.outlet===M);return n}getResolvedTitleForRoute(t){return t.data[Ni]}};e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=v({token:e,factory:()=>_(Wu),providedIn:"root"});let i=e;return i})(),Wu=(()=>{let e=class e extends wl{constructor(t){super(),this.title=t}updateTitle(t){let n=this.buildTitle(t);n!==void 0&&this.title.setTitle(n)}};e.\u0275fac=function(n){return new(n||e)(f(Wa))},e.\u0275prov=v({token:e,factory:e.\u0275fac,providedIn:"root"});let i=e;return i})(),Lo=new w("",{providedIn:"root",factory:()=>({})}),Vo=new w(""),Gu=(()=>{let e=class e{constructor(){this.componentLoaders=new WeakMap,this.childrenLoaders=new WeakMap,this.compiler=_(Lr)}loadComponent(t){if(this.componentLoaders.get(t))return this.componentLoaders.get(t);if(t._loadedComponent)return E(t._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(t);let n=it(t.loadComponent()).pipe(A(Cl),re(s=>{this.onLoadEndListener&&this.onLoadEndListener(t),t._loadedComponent=s}),Nt(()=>{this.componentLoaders.delete(t)})),o=new ni(n,()=>new k).pipe(Cr());return this.componentLoaders.set(t,o),o}loadChildren(t,n){if(this.childrenLoaders.get(n))return this.childrenLoaders.get(n);if(n._loadedRoutes)return E({routes:n._loadedRoutes,injector:n._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(n);let s=qu(n,this.compiler,t,this.onLoadEndListener).pipe(Nt(()=>{this.childrenLoaders.delete(n)})),a=new ni(s,()=>new k).pipe(Cr());return this.childrenLoaders.set(n,a),a}};e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=v({token:e,factory:e.\u0275fac,providedIn:"root"});let i=e;return i})();function qu(i,e,r,t){return it(i.loadChildren()).pipe(A(Cl),Ae(n=>n instanceof ra||Array.isArray(n)?E(n):ve(e.compileModuleAsync(n))),A(n=>{t&&t(i);let o,s,a=!1;return Array.isArray(n)?(s=n,a=!0):(o=n.create(r).injector,s=o.get(Vo,[],{optional:!0,self:!0}).flat()),{routes:s.map(No),injector:o}}))}function Yu(i){return i&&typeof i=="object"&&"default"in i}function Cl(i){return Yu(i)?i.default:i}var jo=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=v({token:e,factory:()=>_(Zu),providedIn:"root"});let i=e;return i})(),Zu=(()=>{let e=class e{shouldProcessUrl(t){return!0}extract(t){return t}merge(t,n){return t}};e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=v({token:e,factory:e.\u0275fac,providedIn:"root"});let i=e;return i})(),Xu=new w("");var Ku=(()=>{let e=class e{get hasRequestedNavigation(){return this.navigationId!==0}constructor(){this.currentNavigation=null,this.currentTransition=null,this.lastSuccessfulNavigation=null,this.events=new k,this.transitionAbortSubject=new k,this.configLoader=_(Gu),this.environmentInjector=_(Pt),this.urlSerializer=_(Ao),this.rootContexts=_(Ln),this.location=_(Bt),this.inputBindingEnabled=_(Fo,{optional:!0})!==null,this.titleStrategy=_(wl),this.options=_(Lo,{optional:!0})||{},this.paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly",this.urlHandlingStrategy=_(jo),this.createViewTransition=_(Xu,{optional:!0}),this.navigationId=0,this.afterPreactivation=()=>E(void 0),this.rootComponentType=null;let t=o=>this.events.next(new fo(o)),n=o=>this.events.next(new mo(o));this.configLoader.onLoadEndListener=n,this.configLoader.onLoadStartListener=t}complete(){this.transitions?.complete()}handleNavigationRequest(t){let n=++this.navigationId;this.transitions?.next(ie(g(g({},this.transitions.value),t),{id:n}))}setupNavigations(t,n,o){return this.transitions=new ue({id:0,currentUrlTree:n,currentRawUrl:n,extractedUrl:this.urlHandlingStrategy.extract(n),urlAfterRedirects:this.urlHandlingStrategy.extract(n),rawUrl:n,extras:{},resolve:null,reject:null,promise:Promise.resolve(!0),source:Ei,restoredState:null,currentSnapshot:o.snapshot,targetSnapshot:null,currentRouterState:o,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.transitions.pipe(ce(s=>s.id!==0),A(s=>ie(g({},s),{extractedUrl:this.urlHandlingStrategy.extract(s.rawUrl)})),xe(s=>{let a=!1,c=!1;return E(s).pipe(xe(l=>{if(this.navigationId>s.id)return this.cancelNavigationTransition(s,"",ke.SupersededByNewNavigation),Ze;this.currentTransition=s,this.currentNavigation={id:l.id,initialUrl:l.rawUrl,extractedUrl:l.extractedUrl,trigger:l.source,extras:l.extras,previousNavigation:this.lastSuccessfulNavigation?ie(g({},this.lastSuccessfulNavigation),{previousNavigation:null}):null};let d=!t.navigated||this.isUpdatingInternalState()||this.isUpdatedBrowserUrl(),u=l.extras.onSameUrlNavigation??t.onSameUrlNavigation;if(!d&&u!=="reload"){let p="";return this.events.next(new xt(l.id,this.urlSerializer.serialize(l.rawUrl),p,ao.IgnoredSameUrlNavigation)),l.resolve(null),Ze}if(this.urlHandlingStrategy.shouldProcessUrl(l.rawUrl))return E(l).pipe(xe(p=>{let b=this.transitions?.getValue();return this.events.next(new Ri(p.id,this.urlSerializer.serialize(p.extractedUrl),p.source,p.restoredState)),b!==this.transitions?.getValue()?Ze:Promise.resolve(p)}),Bu(this.environmentInjector,this.configLoader,this.rootComponentType,t.config,this.urlSerializer,this.paramsInheritanceStrategy),re(p=>{s.targetSnapshot=p.targetSnapshot,s.urlAfterRedirects=p.urlAfterRedirects,this.currentNavigation=ie(g({},this.currentNavigation),{finalUrl:p.urlAfterRedirects});let b=new Mn(p.id,this.urlSerializer.serialize(p.extractedUrl),this.urlSerializer.serialize(p.urlAfterRedirects),p.targetSnapshot);this.events.next(b)}));if(d&&this.urlHandlingStrategy.shouldProcessUrl(l.currentRawUrl)){let{id:p,extractedUrl:b,source:B,restoredState:V,extras:S}=l,I=new Ri(p,this.urlSerializer.serialize(b),B,V);this.events.next(I);let Ce=hl(this.rootComponentType).snapshot;return this.currentTransition=s=ie(g({},l),{targetSnapshot:Ce,urlAfterRedirects:b,extras:ie(g({},S),{skipLocationChange:!1,replaceUrl:!1})}),this.currentNavigation.finalUrl=b,E(s)}else{let p="";return this.events.next(new xt(l.id,this.urlSerializer.serialize(l.extractedUrl),p,ao.IgnoredByUrlHandlingStrategy)),l.resolve(null),Ze}}),re(l=>{let d=new lo(l.id,this.urlSerializer.serialize(l.extractedUrl),this.urlSerializer.serialize(l.urlAfterRedirects),l.targetSnapshot);this.events.next(d)}),A(l=>(this.currentTransition=s=ie(g({},l),{guards:ru(l.targetSnapshot,l.currentSnapshot,this.rootContexts)}),s)),mu(this.environmentInjector,l=>this.events.next(l)),re(l=>{if(s.guardsResult=l.guardsResult,Yt(l.guardsResult))throw pl(this.urlSerializer,l.guardsResult);let d=new co(l.id,this.urlSerializer.serialize(l.extractedUrl),this.urlSerializer.serialize(l.urlAfterRedirects),l.targetSnapshot,!!l.guardsResult);this.events.next(d)}),ce(l=>l.guardsResult?!0:(this.cancelNavigationTransition(l,"",ke.GuardRejected),!1)),to(l=>{if(l.guards.canActivateChecks.length)return E(l).pipe(re(d=>{let u=new ho(d.id,this.urlSerializer.serialize(d.extractedUrl),this.urlSerializer.serialize(d.urlAfterRedirects),d.targetSnapshot);this.events.next(u)}),xe(d=>{let u=!1;return E(d).pipe(Uu(this.paramsInheritanceStrategy,this.environmentInjector),re({next:()=>u=!0,complete:()=>{u||this.cancelNavigationTransition(d,"",ke.NoDataFromResolver)}}))}),re(d=>{let u=new uo(d.id,this.urlSerializer.serialize(d.extractedUrl),this.urlSerializer.serialize(d.urlAfterRedirects),d.targetSnapshot);this.events.next(u)}))}),to(l=>{let d=u=>{let p=[];u.routeConfig?.loadComponent&&!u.routeConfig._loadedComponent&&p.push(this.configLoader.loadComponent(u.routeConfig).pipe(re(b=>{u.component=b}),A(()=>{})));for(let b of u.children)p.push(...d(b));return p};return ot(d(l.targetSnapshot.root)).pipe(Er(null),be(1))}),to(()=>this.afterPreactivation()),xe(()=>{let{currentSnapshot:l,targetSnapshot:d}=s,u=this.createViewTransition?.(this.environmentInjector,l.root,d.root);return u?ve(u).pipe(A(()=>s)):E(s)}),A(l=>{let d=Xh(t.routeReuseStrategy,l.targetSnapshot,l.currentRouterState);return this.currentTransition=s=ie(g({},l),{targetRouterState:d}),this.currentNavigation.targetRouterState=d,s}),re(()=>{this.events.next(new Ai)}),nu(this.rootContexts,t.routeReuseStrategy,l=>this.events.next(l),this.inputBindingEnabled),be(1),re({next:l=>{a=!0,this.lastSuccessfulNavigation=this.currentNavigation,this.events.next(new bt(l.id,this.urlSerializer.serialize(l.extractedUrl),this.urlSerializer.serialize(l.urlAfterRedirects))),this.titleStrategy?.updateTitle(l.targetRouterState.snapshot),l.resolve(!0)},complete:()=>{a=!0}}),U(this.transitionAbortSubject.pipe(re(l=>{throw l}))),Nt(()=>{!a&&!c&&this.cancelNavigationTransition(s,"",ke.SupersededByNewNavigation),this.currentTransition?.id===s.id&&(this.currentNavigation=null,this.currentTransition=null)}),Ft(l=>{if(c=!0,_l(l))this.events.next(new tt(s.id,this.urlSerializer.serialize(s.extractedUrl),l.message,l.cancellationCode)),Jh(l)?this.events.next(new Mi(l.url)):s.resolve(!1);else{this.events.next(new ki(s.id,this.urlSerializer.serialize(s.extractedUrl),l,s.targetSnapshot??void 0));try{s.resolve(t.errorHandler(l))}catch(d){this.options.resolveNavigationPromiseOnError?s.resolve(!1):s.reject(d)}}return Ze}))}))}cancelNavigationTransition(t,n,o){let s=new tt(t.id,this.urlSerializer.serialize(t.extractedUrl),n,o);this.events.next(s),t.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}};e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=v({token:e,factory:e.\u0275fac,providedIn:"root"});let i=e;return i})();function Qu(i){return i!==Ei}var Ju=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=v({token:e,factory:()=>_(ef),providedIn:"root"});let i=e;return i})(),ko=class{shouldDetach(e){return!1}store(e,r){}shouldAttach(e){return!1}retrieve(e){return null}shouldReuseRoute(e,r){return e.routeConfig===r.routeConfig}},ef=(()=>{let e=class e extends ko{};e.\u0275fac=(()=>{let t;return function(o){return(t||(t=de(e)))(o||e)}})(),e.\u0275prov=v({token:e,factory:e.\u0275fac,providedIn:"root"});let i=e;return i})(),Dl=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=v({token:e,factory:()=>_(tf),providedIn:"root"});let i=e;return i})(),tf=(()=>{let e=class e extends Dl{constructor(){super(...arguments),this.location=_(Bt),this.urlSerializer=_(Ao),this.options=_(Lo,{optional:!0})||{},this.canceledNavigationResolution=this.options.canceledNavigationResolution||"replace",this.urlHandlingStrategy=_(jo),this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.currentUrlTree=new et,this.rawUrlTree=this.currentUrlTree,this.currentPageId=0,this.lastSuccessfulId=-1,this.routerState=hl(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(t){return this.location.subscribe(n=>{n.type==="popstate"&&t(n.url,n.state)})}handleRouterEvent(t,n){if(t instanceof Ri)this.stateMemento=this.createStateMemento();else if(t instanceof xt)this.rawUrlTree=n.initialUrl;else if(t instanceof Mn){if(this.urlUpdateStrategy==="eager"&&!n.extras.skipLocationChange){let o=this.urlHandlingStrategy.merge(n.finalUrl,n.initialUrl);this.setBrowserUrl(o,n)}}else t instanceof Ai?(this.currentUrlTree=n.finalUrl,this.rawUrlTree=this.urlHandlingStrategy.merge(n.finalUrl,n.initialUrl),this.routerState=n.targetRouterState,this.urlUpdateStrategy==="deferred"&&(n.extras.skipLocationChange||this.setBrowserUrl(this.rawUrlTree,n))):t instanceof tt&&(t.code===ke.GuardRejected||t.code===ke.NoDataFromResolver)?this.restoreHistory(n):t instanceof ki?this.restoreHistory(n,!0):t instanceof bt&&(this.lastSuccessfulId=t.id,this.currentPageId=this.browserPageId)}setBrowserUrl(t,n){let o=this.urlSerializer.serialize(t);if(this.location.isCurrentPathEqualTo(o)||n.extras.replaceUrl){let s=this.browserPageId,a=g(g({},n.extras.state),this.generateNgRouterState(n.id,s));this.location.replaceState(o,"",a)}else{let s=g(g({},n.extras.state),this.generateNgRouterState(n.id,this.browserPageId+1));this.location.go(o,"",s)}}restoreHistory(t,n=!1){if(this.canceledNavigationResolution==="computed"){let o=this.browserPageId,s=this.currentPageId-o;s!==0?this.location.historyGo(s):this.currentUrlTree===t.finalUrl&&s===0&&(this.resetState(t),this.resetUrlToCurrentUrlTree())}else this.canceledNavigationResolution==="replace"&&(n&&this.resetState(t),this.resetUrlToCurrentUrlTree())}resetState(t){this.routerState=this.stateMemento.routerState,this.currentUrlTree=this.stateMemento.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,t.finalUrl??this.rawUrlTree)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}generateNgRouterState(t,n){return this.canceledNavigationResolution==="computed"?{navigationId:t,\u0275routerPageId:n}:{navigationId:t}}};e.\u0275fac=(()=>{let t;return function(o){return(t||(t=de(e)))(o||e)}})(),e.\u0275prov=v({token:e,factory:e.\u0275fac,providedIn:"root"});let i=e;return i})(),Ci=function(i){return i[i.COMPLETE=0]="COMPLETE",i[i.FAILED=1]="FAILED",i[i.REDIRECTING=2]="REDIRECTING",i}(Ci||{});function nf(i,e){i.events.pipe(ce(r=>r instanceof bt||r instanceof tt||r instanceof ki||r instanceof xt),A(r=>r instanceof bt||r instanceof xt?Ci.COMPLETE:(r instanceof tt?r.code===ke.Redirect||r.code===ke.SupersededByNewNavigation:!1)?Ci.REDIRECTING:Ci.FAILED),ce(r=>r!==Ci.REDIRECTING),be(1)).subscribe(()=>{e()})}function rf(i){throw i}var of={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},sf={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"},El=(()=>{let e=class e{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=_(ln),this.stateManager=_(Dl),this.options=_(Lo,{optional:!0})||{},this.pendingTasks=_(on),this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.navigationTransitions=_(Ku),this.urlSerializer=_(Ao),this.location=_(Bt),this.urlHandlingStrategy=_(jo),this._events=new k,this.errorHandler=this.options.errorHandler||rf,this.navigated=!1,this.routeReuseStrategy=_(Ju),this.onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore",this.config=_(Vo,{optional:!0})?.flat()??[],this.componentInputBindingEnabled=!!_(Fo,{optional:!0}),this.eventsSubscription=new Ee,this.isNgZoneEnabled=_(R)instanceof R&&R.isInAngularZone(),this.resetConfig(this.config),this.navigationTransitions.setupNavigations(this,this.currentUrlTree,this.routerState).subscribe({error:t=>{this.console.warn(t)}}),this.subscribeToNavigationEvents()}subscribeToNavigationEvents(){let t=this.navigationTransitions.events.subscribe(n=>{try{let o=this.navigationTransitions.currentTransition,s=this.navigationTransitions.currentNavigation;if(o!==null&&s!==null){if(this.stateManager.handleRouterEvent(n,s),n instanceof tt&&n.code!==ke.Redirect&&n.code!==ke.SupersededByNewNavigation)this.navigated=!0;else if(n instanceof bt)this.navigated=!0;else if(n instanceof Mi){let a=this.urlHandlingStrategy.merge(n.url,o.currentRawUrl),c={info:o.extras.info,skipLocationChange:o.extras.skipLocationChange,replaceUrl:this.urlUpdateStrategy==="eager"||Qu(o.source)};this.scheduleNavigation(a,Ei,null,c,{resolve:o.resolve,reject:o.reject,promise:o.promise})}}lf(n)&&this._events.next(n)}catch(o){this.navigationTransitions.transitionAbortSubject.next(o)}});this.eventsSubscription.add(t)}resetRootComponentType(t){this.routerState.root.component=t,this.navigationTransitions.rootComponentType=t}initialNavigation(){this.setUpLocationChangeListener(),this.navigationTransitions.hasRequestedNavigation||this.navigateToSyncWithBrowser(this.location.path(!0),Ei,this.stateManager.restoredState())}setUpLocationChangeListener(){this.nonRouterCurrentEntryChangeSubscription??=this.stateManager.registerNonRouterCurrentEntryChangeListener((t,n)=>{setTimeout(()=>{this.navigateToSyncWithBrowser(t,"popstate",n)},0)})}navigateToSyncWithBrowser(t,n,o){let s={replaceUrl:!0},a=o?.navigationId?o:null;if(o){let l=g({},o);delete l.navigationId,delete l.\u0275routerPageId,Object.keys(l).length!==0&&(s.state=l)}let c=this.parseUrl(t);this.scheduleNavigation(c,n,a,s)}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.navigationTransitions.currentNavigation}get lastSuccessfulNavigation(){return this.navigationTransitions.lastSuccessfulNavigation}resetConfig(t){this.config=t.map(No),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(t,n={}){let{relativeTo:o,queryParams:s,fragment:a,queryParamsHandling:c,preserveFragment:l}=n,d=l?this.currentUrlTree.fragment:a,u=null;switch(c){case"merge":u=g(g({},this.currentUrlTree.queryParams),s);break;case"preserve":u=this.currentUrlTree.queryParams;break;default:u=s||null}u!==null&&(u=this.removeEmptyProps(u));let p;try{let b=o?o.snapshot:this.routerState.snapshot.root;p=al(b)}catch{(typeof t[0]!="string"||!t[0].startsWith("/"))&&(t=[]),p=this.currentUrlTree.root}return ll(p,t,u,d??null)}navigateByUrl(t,n={skipLocationChange:!1}){let o=Yt(t)?t:this.parseUrl(t),s=this.urlHandlingStrategy.merge(o,this.rawUrlTree);return this.scheduleNavigation(s,Ei,null,n)}navigate(t,n={skipLocationChange:!1}){return af(t),this.navigateByUrl(this.createUrlTree(t,n),n)}serializeUrl(t){return this.urlSerializer.serialize(t)}parseUrl(t){try{return this.urlSerializer.parse(t)}catch{return this.urlSerializer.parse("/")}}isActive(t,n){let o;if(n===!0?o=g({},of):n===!1?o=g({},sf):o=n,Yt(t))return Ga(this.currentUrlTree,t,o);let s=this.parseUrl(t);return Ga(this.currentUrlTree,s,o)}removeEmptyProps(t){return Object.entries(t).reduce((n,[o,s])=>(s!=null&&(n[o]=s),n),{})}scheduleNavigation(t,n,o,s,a){if(this.disposed)return Promise.resolve(!1);let c,l,d;a?(c=a.resolve,l=a.reject,d=a.promise):d=new Promise((p,b)=>{c=p,l=b});let u=this.pendingTasks.add();return nf(this,()=>{queueMicrotask(()=>this.pendingTasks.remove(u))}),this.navigationTransitions.handleNavigationRequest({source:n,restoredState:o,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,rawUrl:t,extras:s,resolve:c,reject:l,promise:d,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),d.catch(p=>Promise.reject(p))}};e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=v({token:e,factory:e.\u0275fac,providedIn:"root"});let i=e;return i})();function af(i){for(let e=0;er.\u0275providers)])}function df(i){return i.routerState.root}function hf(){let i=_(at);return e=>{let r=i.get(Vt);if(e!==r.components[0])return;let t=i.get(El),n=i.get(uf);i.get(ff)===1&&t.initialNavigation(),i.get(mf,null,kr.Optional)?.setUpPreloading(),i.get(cf,null,kr.Optional)?.init(),t.resetRootComponentType(r.componentTypes[0]),n.closed||(n.next(),n.complete(),n.unsubscribe())}}var uf=new w("",{factory:()=>new k}),ff=new w("",{providedIn:"root",factory:()=>1});var mf=new w("");var pf=new w("cdk-dir-doc",{providedIn:"root",factory:gf});function gf(){return _(L)}var _f=/^(ar|ckb|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*[-_](Adlm|Arab|Hebr|Nkoo|Rohg|Thaa))(?!.*[-_](Latn|Cyrl)($|-|_))($|-|_)/i;function vf(i){let e=i?.toLowerCase()||"";return e==="auto"&&typeof navigator<"u"&&navigator?.language?_f.test(navigator.language)?"rtl":"ltr":e==="rtl"?"rtl":"ltr"}var qe=(()=>{let e=class e{constructor(t){if(this.value="ltr",this.change=new z,t){let n=t.body?t.body.dir:null,o=t.documentElement?t.documentElement.dir:null;this.value=vf(n||o||"ltr")}}ngOnDestroy(){this.change.complete()}};e.\u0275fac=function(n){return new(n||e)(f(pf,8))},e.\u0275prov=v({token:e,factory:e.\u0275fac,providedIn:"root"});let i=e;return i})();var nt=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=O({type:e}),e.\u0275inj=T({});let i=e;return i})();var Bo;try{Bo=typeof Intl<"u"&&Intl.v8BreakIterator}catch{Bo=!1}var ge=(()=>{let e=class e{constructor(t){this._platformId=t,this.isBrowser=this._platformId?Ea(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||Bo)&&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}};e.\u0275fac=function(n){return new(n||e)(f($e))},e.\u0275prov=v({token:e,factory:e.\u0275fac,providedIn:"root"});let i=e;return i})();var Vi;function yf(){if(Vi==null&&typeof window<"u")try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>Vi=!0}))}finally{Vi=Vi||!1}return Vi}function Uo(i){return yf()?i:!!i.capture}var wt;function Il(){if(wt==null){if(typeof document!="object"||!document||typeof Element!="function"||!Element)return wt=!1,wt;if("scrollBehavior"in document.documentElement.style)wt=!0;else{let i=Element.prototype.scrollTo;i?wt=!/\{\s*\[native code\]\s*\}/.test(i.toString()):wt=!1}}return wt}function ji(i){return i.composedPath?i.composedPath()[0]:i.target}function Bi(){return typeof __karma__<"u"&&!!__karma__||typeof jasmine<"u"&&!!jasmine||typeof jest<"u"&&!!jest||typeof Mocha<"u"&&!!Mocha}var zo=class{constructor(e){this._box=e,this._destroyed=new k,this._resizeSubject=new k,this._elementObservables=new Map,typeof ResizeObserver<"u"&&(this._resizeObserver=new ResizeObserver(r=>this._resizeSubject.next(r)))}observe(e){return this._elementObservables.has(e)||this._elementObservables.set(e,new Ue(r=>{let t=this._resizeSubject.subscribe(r);return this._resizeObserver?.observe(e,{box:this._box}),()=>{this._resizeObserver?.unobserve(e),t.unsubscribe(),this._elementObservables.delete(e)}}).pipe(ce(r=>r.some(t=>t.target===e)),Ir({bufferSize:1,refCount:!0}),U(this._destroyed))),this._elementObservables.get(e)}destroy(){this._destroyed.next(),this._destroyed.complete(),this._resizeSubject.complete(),this._elementObservables.clear()}},Rl=(()=>{let e=class e{constructor(){this._observers=new Map,this._ngZone=_(R),typeof ResizeObserver<"u"}ngOnDestroy(){for(let[,t]of this._observers)t.destroy();this._observers.clear(),typeof ResizeObserver<"u"}observe(t,n){let o=n?.box||"content-box";return this._observers.has(o)||this._observers.set(o,new zo(o)),this._observers.get(o).observe(t)}};e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=v({token:e,factory:e.\u0275fac,providedIn:"root"});let i=e;return i})();function Ho(i){return i!=null&&`${i}`!="false"}function Qt(i){return Array.isArray(i)?i:[i]}function se(i){return i==null?"":typeof i=="string"?i:`${i}px`}function Ui(i){return i instanceof F?i.nativeElement:i}var bf=(()=>{let e=class e{create(t){return typeof MutationObserver>"u"?null:new MutationObserver(t)}};e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=v({token:e,factory:e.\u0275fac,providedIn:"root"});let i=e;return i})();var kl=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=O({type:e}),e.\u0275inj=T({providers:[bf]});let i=e;return i})();function Ye(i,...e){return e.length?e.some(r=>i[r]):i.altKey||i.shiftKey||i.ctrlKey||i.metaKey}var Al=new Set,Dt,xf=(()=>{let e=class e{constructor(t,n){this._platform=t,this._nonce=n,this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):Cf}matchMedia(t){return(this._platform.WEBKIT||this._platform.BLINK)&&wf(t,this._nonce),this._matchMedia(t)}};e.\u0275fac=function(n){return new(n||e)(f(ge),f(ci,8))},e.\u0275prov=v({token:e,factory:e.\u0275fac,providedIn:"root"});let i=e;return i})();function wf(i,e){if(!Al.has(i))try{Dt||(Dt=document.createElement("style"),e&&Dt.setAttribute("nonce",e),Dt.setAttribute("type","text/css"),document.head.appendChild(Dt)),Dt.sheet&&(Dt.sheet.insertRule(`@media ${i} {body{ }}`,0),Al.add(i))}catch(r){console.error(r)}}function Cf(i){return{matches:i==="all"||i==="",media:i,addListener:()=>{},removeListener:()=>{}}}var Tl=(()=>{let e=class e{constructor(t,n){this._mediaMatcher=t,this._zone=n,this._queries=new Map,this._destroySubject=new k}ngOnDestroy(){this._destroySubject.next(),this._destroySubject.complete()}isMatched(t){return Ml(Qt(t)).some(o=>this._registerQuery(o).mql.matches)}observe(t){let o=Ml(Qt(t)).map(a=>this._registerQuery(a).observable),s=ot(o);return s=Qi(s.pipe(be(1)),s.pipe(Rr(1),Ji(0))),s.pipe(A(a=>{let c={matches:!1,breakpoints:{}};return a.forEach(({matches:l,query:d})=>{c.matches=c.matches||l,c.breakpoints[d]=l}),c}))}_registerQuery(t){if(this._queries.has(t))return this._queries.get(t);let n=this._mediaMatcher.matchMedia(t),s={observable:new Ue(a=>{let c=l=>this._zone.run(()=>a.next(l));return n.addListener(c),()=>{n.removeListener(c)}}).pipe(Qe(n),A(({matches:a})=>({query:t,matches:a})),U(this._destroySubject)),mql:n};return this._queries.set(t,s),s}};e.\u0275fac=function(n){return new(n||e)(f(xf),f(R))},e.\u0275prov=v({token:e,factory:e.\u0275fac,providedIn:"root"});let i=e;return i})();function Ml(i){return i.map(e=>e.split(",")).reduce((e,r)=>e.concat(r)).map(e=>e.trim())}var Nl=" ";function Pl(i,e,r){let t=Ll(i,e);r=r.trim(),!t.some(n=>n.trim()===r)&&(t.push(r),i.setAttribute(e,t.join(Nl)))}function Zo(i,e,r){let t=Ll(i,e);r=r.trim();let n=t.filter(o=>o!==r);n.length?i.setAttribute(e,n.join(Nl)):i.removeAttribute(e)}function Ll(i,e){return i.getAttribute(e)?.match(/\S+/g)??[]}var Wo=class{constructor(e,r){this._items=e,this._activeItemIndex=-1,this._activeItem=null,this._wrap=!1,this._letterKeyStream=new k,this._typeaheadSubscription=Ee.EMPTY,this._vertical=!0,this._allowedModifierKeys=[],this._homeAndEnd=!1,this._pageUpAndDown={enabled:!1,delta:10},this._skipPredicateFn=t=>t.disabled,this._pressedLetters=[],this.tabOut=new k,this.change=new k,e instanceof Mr?this._itemChangesSubscription=e.changes.subscribe(t=>this._itemsChanged(t.toArray())):Nr(e)&&(this._effectRef=ga(()=>this._itemsChanged(e()),{injector:r}))}skipPredicate(e){return this._skipPredicateFn=e,this}withWrap(e=!0){return this._wrap=e,this}withVerticalOrientation(e=!0){return this._vertical=e,this}withHorizontalOrientation(e){return this._horizontal=e,this}withAllowedModifierKeys(e){return this._allowedModifierKeys=e,this}withTypeAhead(e=200){return this._typeaheadSubscription.unsubscribe(),this._typeaheadSubscription=this._letterKeyStream.pipe(re(r=>this._pressedLetters.push(r)),Ji(e),ce(()=>this._pressedLetters.length>0),A(()=>this._pressedLetters.join(""))).subscribe(r=>{let t=this._getItemsArray();for(let n=1;n!e[o]||this._allowedModifierKeys.indexOf(o)>-1);switch(r){case 9:this.tabOut.next();return;case 40:if(this._vertical&&n){this.setNextItemActive();break}else return;case 38:if(this._vertical&&n){this.setPreviousItemActive();break}else return;case 39:if(this._horizontal&&n){this._horizontal==="rtl"?this.setPreviousItemActive():this.setNextItemActive();break}else return;case 37:if(this._horizontal&&n){this._horizontal==="rtl"?this.setNextItemActive():this.setPreviousItemActive();break}else return;case 36:if(this._homeAndEnd&&n){this.setFirstItemActive();break}else return;case 35:if(this._homeAndEnd&&n){this.setLastItemActive();break}else return;case 33:if(this._pageUpAndDown.enabled&&n){let o=this._activeItemIndex-this._pageUpAndDown.delta;this._setActiveItemByIndex(o>0?o:0,1);break}else return;case 34:if(this._pageUpAndDown.enabled&&n){let o=this._activeItemIndex+this._pageUpAndDown.delta,s=this._getItemsArray().length;this._setActiveItemByIndex(o=65&&r<=90||r>=48&&r<=57)&&this._letterKeyStream.next(String.fromCharCode(r)));return}this._pressedLetters=[],e.preventDefault()}get activeItemIndex(){return this._activeItemIndex}get activeItem(){return this._activeItem}isTyping(){return this._pressedLetters.length>0}setFirstItemActive(){this._setActiveItemByIndex(0,1)}setLastItemActive(){this._setActiveItemByIndex(this._items.length-1,-1)}setNextItemActive(){this._activeItemIndex<0?this.setFirstItemActive():this._setActiveItemByDelta(1)}setPreviousItemActive(){this._activeItemIndex<0&&this._wrap?this.setLastItemActive():this._setActiveItemByDelta(-1)}updateActiveItem(e){let r=this._getItemsArray(),t=typeof e=="number"?e:r.indexOf(e),n=r[t];this._activeItem=n??null,this._activeItemIndex=t}destroy(){this._typeaheadSubscription.unsubscribe(),this._itemChangesSubscription?.unsubscribe(),this._effectRef?.destroy(),this._letterKeyStream.complete(),this.tabOut.complete(),this.change.complete(),this._pressedLetters=[]}_setActiveItemByDelta(e){this._wrap?this._setActiveInWrapMode(e):this._setActiveInDefaultMode(e)}_setActiveInWrapMode(e){let r=this._getItemsArray();for(let t=1;t<=r.length;t++){let n=(this._activeItemIndex+e*t+r.length)%r.length,o=r[n];if(!this._skipPredicateFn(o)){this.setActiveItem(n);return}}}_setActiveInDefaultMode(e){this._setActiveItemByIndex(this._activeItemIndex+e,e)}_setActiveItemByIndex(e,r){let t=this._getItemsArray();if(t[e]){for(;this._skipPredicateFn(t[e]);)if(e+=r,!t[e])return;this.setActiveItem(e)}}_getItemsArray(){return Nr(this._items)?this._items():this._items instanceof Mr?this._items.toArray():this._items}_itemsChanged(e){if(this._activeItem){let r=e.indexOf(this._activeItem);r>-1&&r!==this._activeItemIndex&&(this._activeItemIndex=r)}}},Bn=class extends Wo{setActiveItem(e){this.activeItem&&this.activeItem.setInactiveStyles(),super.setActiveItem(e),this.activeItem&&this.activeItem.setActiveStyles()}};function Vl(i){return i.buttons===0||i.detail===0}function jl(i){let e=i.touches&&i.touches[0]||i.changedTouches&&i.changedTouches[0];return!!e&&e.identifier===-1&&(e.radiusX==null||e.radiusX===1)&&(e.radiusY==null||e.radiusY===1)}var Tf=new w("liveAnnouncerElement",{providedIn:"root",factory:Of});function Of(){return null}var Ff=new w("LIVE_ANNOUNCER_DEFAULT_OPTIONS"),Nf=0,Bl=(()=>{let e=class e{constructor(t,n,o,s){this._ngZone=n,this._defaultOptions=s,this._document=o,this._liveElement=t||this._createLiveElement()}announce(t,...n){let o=this._defaultOptions,s,a;return n.length===1&&typeof n[0]=="number"?a=n[0]:[s,a]=n,this.clear(),clearTimeout(this._previousTimeout),s||(s=o&&o.politeness?o.politeness:"polite"),a==null&&o&&(a=o.duration),this._liveElement.setAttribute("aria-live",s),this._liveElement.id&&this._exposeAnnouncerToModals(this._liveElement.id),this._ngZone.runOutsideAngular(()=>(this._currentPromise||(this._currentPromise=new Promise(c=>this._currentResolve=c)),clearTimeout(this._previousTimeout),this._previousTimeout=setTimeout(()=>{this._liveElement.textContent=t,typeof a=="number"&&(this._previousTimeout=setTimeout(()=>this.clear(),a)),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 t="cdk-live-announcer-element",n=this._document.getElementsByClassName(t),o=this._document.createElement("div");for(let s=0;s .cdk-overlay-container [aria-modal="true"]');for(let o=0;o{let e=class e{constructor(t,n){this._platform=t,this._document=n,this._breakpointSubscription=_(Tl).observe("(forced-colors: active)").subscribe(()=>{this._hasCheckedHighContrastMode&&(this._hasCheckedHighContrastMode=!1,this._applyBodyHighContrastModeCssClasses())})}getHighContrastMode(){if(!this._platform.isBrowser)return Et.NONE;let t=this._document.createElement("div");t.style.backgroundColor="rgb(1,2,3)",t.style.position="absolute",this._document.body.appendChild(t);let n=this._document.defaultView||window,o=n&&n.getComputedStyle?n.getComputedStyle(t):null,s=(o&&o.backgroundColor||"").replace(/ /g,"");switch(t.remove(),s){case"rgb(0,0,0)":case"rgb(45,50,54)":case"rgb(32,32,32)":return Et.WHITE_ON_BLACK;case"rgb(255,255,255)":case"rgb(255,250,239)":return Et.BLACK_ON_WHITE}return Et.NONE}ngOnDestroy(){this._breakpointSubscription.unsubscribe()}_applyBodyHighContrastModeCssClasses(){if(!this._hasCheckedHighContrastMode&&this._platform.isBrowser&&this._document.body){let t=this._document.body.classList;t.remove($o,Ol,Fl),this._hasCheckedHighContrastMode=!0;let n=this.getHighContrastMode();n===Et.BLACK_ON_WHITE?t.add($o,Ol):n===Et.WHITE_ON_BLACK&&t.add($o,Fl)}}};e.\u0275fac=function(n){return new(n||e)(f(ge),f(L))},e.\u0275prov=v({token:e,factory:e.\u0275fac,providedIn:"root"});let i=e;return i})();var Lf=["text"],Vf=[[["mat-icon"]],"*"],jf=["mat-icon","*"];function Bf(i,e){if(i&1&&K(0,"mat-pseudo-checkbox",1),i&2){let r=H();X("disabled",r.disabled)("state",r.selected?"checked":"unchecked")}}function Uf(i,e){if(i&1&&K(0,"mat-pseudo-checkbox",3),i&2){let r=H();X("disabled",r.disabled)}}function zf(i,e){if(i&1&&(y(0,"span",4),le(1),x()),i&2){let r=H();D(),ft("(",r.group.label,")")}}function Hf(){return!0}var $f=new w("mat-sanity-checks",{providedIn:"root",factory:Hf}),_e=(()=>{let e=class e{constructor(t,n,o){this._sanityChecks=n,this._document=o,this._hasDoneGlobalChecks=!1,t._applyBodyHighContrastModeCssClasses(),this._hasDoneGlobalChecks||(this._hasDoneGlobalChecks=!0)}_checkIsEnabled(t){return Bi()?!1:typeof this._sanityChecks=="boolean"?this._sanityChecks:!!this._sanityChecks[t]}};e.\u0275fac=function(n){return new(n||e)(f(Ul),f($f,8),f(L))},e.\u0275mod=O({type:e}),e.\u0275inj=T({imports:[nt,nt]});let i=e;return i})();var Hi=class{constructor(e,r,t,n,o){this._defaultMatcher=e,this.ngControl=r,this._parentFormGroup=t,this._parentForm=n,this._stateChanges=o,this.errorState=!1}updateErrorState(){let e=this.errorState,r=this._parentFormGroup||this._parentForm,t=this.matcher||this._defaultMatcher,n=this.ngControl?this.ngControl.control:null,o=t?.isErrorState(n,r)??!1;o!==e&&(this.errorState=o,this._stateChanges.next())}};var Yl=(()=>{let e=class e{isErrorState(t,n){return!!(t&&t.invalid&&(t.touched||n&&n.submitted))}};e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=v({token:e,factory:e.\u0275fac,providedIn:"root"});let i=e;return i})();var Pe=function(i){return i[i.FADING_IN=0]="FADING_IN",i[i.VISIBLE=1]="VISIBLE",i[i.FADING_OUT=2]="FADING_OUT",i[i.HIDDEN=3]="HIDDEN",i}(Pe||{}),Xo=class{constructor(e,r,t,n=!1){this._renderer=e,this.element=r,this.config=t,this._animationForciblyDisabledThroughCss=n,this.state=Pe.HIDDEN}fadeOut(){this._renderer.fadeOutRipple(this)}},Hl=Uo({passive:!0,capture:!0}),Ko=class{constructor(){this._events=new Map,this._delegateEventHandler=e=>{let r=ji(e);r&&this._events.get(e.type)?.forEach((t,n)=>{(n===r||n.contains(r))&&t.forEach(o=>o.handleEvent(e))})}}addHandler(e,r,t,n){let o=this._events.get(r);if(o){let s=o.get(t);s?s.add(n):o.set(t,new Set([n]))}else this._events.set(r,new Map([[t,new Set([n])]])),e.runOutsideAngular(()=>{document.addEventListener(r,this._delegateEventHandler,Hl)})}removeHandler(e,r,t){let n=this._events.get(e);if(!n)return;let o=n.get(r);o&&(o.delete(t),o.size===0&&n.delete(r),n.size===0&&(this._events.delete(e),document.removeEventListener(e,this._delegateEventHandler,Hl)))}},$l={enterDuration:225,exitDuration:150},Wf=800,Wl=Uo({passive:!0,capture:!0}),Gl=["mousedown","touchstart"],ql=["mouseup","mouseleave","touchend","touchcancel"],zi=class zi{constructor(e,r,t,n){this._target=e,this._ngZone=r,this._platform=n,this._isPointerDown=!1,this._activeRipples=new Map,this._pointerUpEventsRegistered=!1,n.isBrowser&&(this._containerElement=Ui(t))}fadeInRipple(e,r,t={}){let n=this._containerRect=this._containerRect||this._containerElement.getBoundingClientRect(),o=g(g({},$l),t.animation);t.centered&&(e=n.left+n.width/2,r=n.top+n.height/2);let s=t.radius||Gf(e,r,n),a=e-n.left,c=r-n.top,l=o.enterDuration,d=document.createElement("div");d.classList.add("mat-ripple-element"),d.style.left=`${a-s}px`,d.style.top=`${c-s}px`,d.style.height=`${s*2}px`,d.style.width=`${s*2}px`,t.color!=null&&(d.style.backgroundColor=t.color),d.style.transitionDuration=`${l}ms`,this._containerElement.appendChild(d);let u=window.getComputedStyle(d),p=u.transitionProperty,b=u.transitionDuration,B=p==="none"||b==="0s"||b==="0s, 0s"||n.width===0&&n.height===0,V=new Xo(this,d,t,B);d.style.transform="scale3d(1, 1, 1)",V.state=Pe.FADING_IN,t.persistent||(this._mostRecentTransientRipple=V);let S=null;return!B&&(l||o.exitDuration)&&this._ngZone.runOutsideAngular(()=>{let I=()=>this._finishRippleTransition(V),Ce=()=>this._destroyRipple(V);d.addEventListener("transitionend",I),d.addEventListener("transitioncancel",Ce),S={onTransitionEnd:I,onTransitionCancel:Ce}}),this._activeRipples.set(V,S),(B||!l)&&this._finishRippleTransition(V),V}fadeOutRipple(e){if(e.state===Pe.FADING_OUT||e.state===Pe.HIDDEN)return;let r=e.element,t=g(g({},$l),e.config.animation);r.style.transitionDuration=`${t.exitDuration}ms`,r.style.opacity="0",e.state=Pe.FADING_OUT,(e._animationForciblyDisabledThroughCss||!t.exitDuration)&&this._finishRippleTransition(e)}fadeOutAll(){this._getActiveRipples().forEach(e=>e.fadeOut())}fadeOutAllNonPersistent(){this._getActiveRipples().forEach(e=>{e.config.persistent||e.fadeOut()})}setupTriggerEvents(e){let r=Ui(e);!this._platform.isBrowser||!r||r===this._triggerElement||(this._removeTriggerEvents(),this._triggerElement=r,Gl.forEach(t=>{zi._eventManager.addHandler(this._ngZone,t,r,this)}))}handleEvent(e){e.type==="mousedown"?this._onMousedown(e):e.type==="touchstart"?this._onTouchStart(e):this._onPointerUp(),this._pointerUpEventsRegistered||(this._ngZone.runOutsideAngular(()=>{ql.forEach(r=>{this._triggerElement.addEventListener(r,this,Wl)})}),this._pointerUpEventsRegistered=!0)}_finishRippleTransition(e){e.state===Pe.FADING_IN?this._startFadeOutTransition(e):e.state===Pe.FADING_OUT&&this._destroyRipple(e)}_startFadeOutTransition(e){let r=e===this._mostRecentTransientRipple,{persistent:t}=e.config;e.state=Pe.VISIBLE,!t&&(!r||!this._isPointerDown)&&e.fadeOut()}_destroyRipple(e){let r=this._activeRipples.get(e)??null;this._activeRipples.delete(e),this._activeRipples.size||(this._containerRect=null),e===this._mostRecentTransientRipple&&(this._mostRecentTransientRipple=null),e.state=Pe.HIDDEN,r!==null&&(e.element.removeEventListener("transitionend",r.onTransitionEnd),e.element.removeEventListener("transitioncancel",r.onTransitionCancel)),e.element.remove()}_onMousedown(e){let r=Vl(e),t=this._lastTouchStartEvent&&Date.now(){let r=e.state===Pe.VISIBLE||e.config.terminateOnPointerUp&&e.state===Pe.FADING_IN;!e.config.persistent&&r&&e.fadeOut()}))}_getActiveRipples(){return Array.from(this._activeRipples.keys())}_removeTriggerEvents(){let e=this._triggerElement;e&&(Gl.forEach(r=>zi._eventManager.removeHandler(r,e,this)),this._pointerUpEventsRegistered&&ql.forEach(r=>e.removeEventListener(r,this,Wl)))}};zi._eventManager=new Ko;var Qo=zi;function Gf(i,e,r){let t=Math.max(Math.abs(i-r.left),Math.abs(i-r.right)),n=Math.max(Math.abs(e-r.top),Math.abs(e-r.bottom));return Math.sqrt(t*t+n*n)}var qf=new w("mat-ripple-global-options"),Yf=(()=>{let e=class e{get disabled(){return this._disabled}set disabled(t){t&&this.fadeOutAllNonPersistent(),this._disabled=t,this._setupTriggerEventsIfEnabled()}get trigger(){return this._trigger||this._elementRef.nativeElement}set trigger(t){this._trigger=t,this._setupTriggerEventsIfEnabled()}constructor(t,n,o,s,a){this._elementRef=t,this._animationMode=a,this.radius=0,this._disabled=!1,this._isInitialized=!1,this._globalOptions=s||{},this._rippleRenderer=new Qo(this,n,t,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:g(g(g({},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(t,n=0,o){return typeof t=="number"?this._rippleRenderer.fadeInRipple(t,n,g(g({},this.rippleConfig),o)):this._rippleRenderer.fadeInRipple(0,0,g(g({},this.rippleConfig),t))}};e.\u0275fac=function(n){return new(n||e)(h(F),h(R),h(ge),h(qf,8),h(Le,8))},e.\u0275dir=C({type:e,selectors:[["","mat-ripple",""],["","matRipple",""]],hostAttrs:[1,"mat-ripple"],hostVars:2,hostBindings:function(n,o){n&2&&ne("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 i=e;return i})(),Zf=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=O({type:e}),e.\u0275inj=T({imports:[_e,_e]});let i=e;return i})(),Xf=(()=>{let e=class e{constructor(t){this._animationMode=t,this.state="unchecked",this.disabled=!1,this.appearance="full"}};e.\u0275fac=function(n){return new(n||e)(h(Le,8))},e.\u0275cmp=ee({type:e,selectors:[["mat-pseudo-checkbox"]],hostAttrs:[1,"mat-pseudo-checkbox"],hostVars:12,hostBindings:function(n,o){n&2&&ne("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:[te],decls:0,vars:0,template:function(n,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 i=e;return i})(),Kf=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=O({type:e}),e.\u0275inj=T({imports:[_e]});let i=e;return i})(),es=new w("MAT_OPTION_PARENT_COMPONENT");var ts=new w("MatOptgroup");var Qf=0,Jo=class{constructor(e,r=!1){this.source=e,this.isUserInput=r}},Wn=(()=>{let e=class e{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(t){this._disabled=t}get disableRipple(){return!!(this._parent&&this._parent.disableRipple)}get hideSingleSelectionIndicator(){return!!(this._parent&&this._parent.hideSingleSelectionIndicator)}constructor(t,n,o,s){this._element=t,this._changeDetectorRef=n,this._parent=o,this.group=s,this._selected=!1,this._active=!1,this._disabled=!1,this._mostRecentViewValue="",this.id=`mat-option-${Qf++}`,this.onSelectionChange=new z,this._stateChanges=new k}get active(){return this._active}get viewValue(){return(this._text?.nativeElement.textContent||"").trim()}select(t=!0){this._selected||(this._selected=!0,this._changeDetectorRef.markForCheck(),t&&this._emitSelectionChangeEvent())}deselect(t=!0){this._selected&&(this._selected=!1,this._changeDetectorRef.markForCheck(),t&&this._emitSelectionChangeEvent())}focus(t,n){let o=this._getHostElement();typeof o.focus=="function"&&o.focus(n)}setActiveStyles(){this._active||(this._active=!0,this._changeDetectorRef.markForCheck())}setInactiveStyles(){this._active&&(this._active=!1,this._changeDetectorRef.markForCheck())}getLabel(){return this.viewValue}_handleKeydown(t){(t.keyCode===13||t.keyCode===32)&&!Ye(t)&&(this._selectViaInteraction(),t.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 t=this.viewValue;t!==this._mostRecentViewValue&&(this._mostRecentViewValue&&this._stateChanges.next(),this._mostRecentViewValue=t)}}ngOnDestroy(){this._stateChanges.complete()}_emitSelectionChangeEvent(t=!1){this.onSelectionChange.emit(new Jo(this,t))}};e.\u0275fac=function(n){return new(n||e)(h(F),h(Se),h(es,8),h(ts,8))},e.\u0275cmp=ee({type:e,selectors:[["mat-option"]],viewQuery:function(n,o){if(n&1&&pe(Lf,7),n&2){let s;N(s=P())&&(o._text=s.first)}},hostAttrs:["role","option",1,"mat-mdc-option","mdc-list-item"],hostVars:11,hostBindings:function(n,o){n&1&&me("click",function(){return o._selectViaInteraction()})("keydown",function(a){return o._handleKeydown(a)}),n&2&&(hi("id",o.id),he("aria-selected",o.selected)("aria-disabled",o.disabled.toString()),ne("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",G]},outputs:{onSelectionChange:"onSelectionChange"},exportAs:["matOption"],standalone:!0,features:[ae,te],ngContentSelectors:jf,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(n,o){n&1&&(Fe(Vf),j(0,Bf,1,2,"mat-pseudo-checkbox",1),Q(1),y(2,"span",2,0),Q(4,1),x(),j(5,Uf,1,1,"mat-pseudo-checkbox",3)(6,zf,2,1,"span",4),K(7,"div",5)),n&2&&(W(0,o.multiple?0:-1),D(5),W(5,!o.multiple&&o.selected&&!o.hideSingleSelectionIndicator?5:-1),D(),W(6,o.group&&o.group._inert?6:-1),D(),X("matRippleTrigger",o._getHostElement())("matRippleDisabled",o.disabled||o.disableRipple))},dependencies:[Xf,Yf],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 i=e;return i})();function Zl(i,e,r){if(r.length){let t=e.toArray(),n=r.toArray(),o=0;for(let s=0;sr+t?Math.max(0,i-t+e):r}var is=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=O({type:e}),e.\u0275inj=T({imports:[Zf,_e,Kf]});let i=e;return i})();var Jf=["notch"],em=["matFormFieldNotchedOutline",""],tm=["*"],im=["textField"],nm=["iconPrefixContainer"],rm=["textPrefixContainer"],om=["*",[["mat-label"]],[["","matPrefix",""],["","matIconPrefix",""]],[["","matTextPrefix",""]],[["","matTextSuffix",""]],[["","matSuffix",""],["","matIconSuffix",""]],[["mat-error"],["","matError",""]],[["mat-hint",3,"align","end"]],[["mat-hint","align","end"]]],sm=["*","mat-label","[matPrefix], [matIconPrefix]","[matTextPrefix]","[matTextSuffix]","[matSuffix], [matIconSuffix]","mat-error, [matError]","mat-hint:not([align='end'])","mat-hint[align='end']"];function am(i,e){i&1&&K(0,"span",17)}function lm(i,e){if(i&1&&(y(0,"label",16),Q(1,1),j(2,am,1,0,"span",17),x()),i&2){let r=H(2);X("floating",r._shouldLabelFloat())("monitorResize",r._hasOutline())("id",r._labelId),he("for",r._control.id),D(2),W(2,!r.hideRequiredMarker&&r._control.required?2:-1)}}function cm(i,e){if(i&1&&j(0,lm,3,5,"label",16),i&2){let r=H();W(0,r._hasFloatingLabel()?0:-1)}}function dm(i,e){i&1&&K(0,"div",5)}function hm(i,e){}function um(i,e){if(i&1&&j(0,hm,0,0,"ng-template",11),i&2){H(2);let r=ut(1);X("ngTemplateOutlet",r)}}function fm(i,e){if(i&1&&(y(0,"div",7),j(1,um,1,1,null,11),x()),i&2){let r=H();X("matFormFieldNotchedOutlineOpen",r._shouldLabelFloat()),D(),W(1,r._forceDisplayInfixLabel()?-1:1)}}function mm(i,e){i&1&&(y(0,"div",8,2),Q(2,2),x())}function pm(i,e){i&1&&(y(0,"div",9,3),Q(2,3),x())}function gm(i,e){}function _m(i,e){if(i&1&&j(0,gm,0,0,"ng-template",11),i&2){H();let r=ut(1);X("ngTemplateOutlet",r)}}function vm(i,e){i&1&&(y(0,"div",12),Q(1,4),x())}function ym(i,e){i&1&&(y(0,"div",13),Q(1,5),x())}function bm(i,e){i&1&&K(0,"div",14)}function xm(i,e){if(i&1&&(y(0,"div",18),Q(1,6),x()),i&2){let r=H();X("@transitionMessages",r._subscriptAnimationState)}}function wm(i,e){if(i&1&&(y(0,"mat-hint",20),le(1),x()),i&2){let r=H(2);X("id",r._hintLabelId),D(),We(r.hintLabel)}}function Cm(i,e){if(i&1&&(y(0,"div",19),j(1,wm,2,2,"mat-hint",20),Q(2,7),K(3,"div",21),Q(4,8),x()),i&2){let r=H();X("@transitionMessages",r._subscriptAnimationState),D(),W(1,r.hintLabel?1:-1)}}var qn=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275dir=C({type:e,selectors:[["mat-label"]],standalone:!0});let i=e;return i})();var Dm=new w("MatError");var Em=0,Ql=(()=>{let e=class e{constructor(){this.align="start",this.id=`mat-mdc-hint-${Em++}`}};e.\u0275fac=function(n){return new(n||e)},e.\u0275dir=C({type:e,selectors:[["mat-hint"]],hostAttrs:[1,"mat-mdc-form-field-hint","mat-mdc-form-field-bottom-align"],hostVars:4,hostBindings:function(n,o){n&2&&(hi("id",o.id),he("align",null),ne("mat-mdc-form-field-hint-end",o.align==="end"))},inputs:{align:"align",id:"id"},standalone:!0});let i=e;return i})(),Sm=new w("MatPrefix");var Im=new w("MatSuffix");var sc=new w("FloatingLabelParent"),Jl=(()=>{let e=class e{get floating(){return this._floating}set floating(t){this._floating=t,this.monitorResize&&this._handleResize()}get monitorResize(){return this._monitorResize}set monitorResize(t){this._monitorResize=t,this._monitorResize?this._subscribeToResize():this._resizeSubscription.unsubscribe()}constructor(t){this._elementRef=t,this._floating=!1,this._monitorResize=!1,this._resizeObserver=_(Rl),this._ngZone=_(R),this._parent=_(sc),this._resizeSubscription=new Ee}ngOnDestroy(){this._resizeSubscription.unsubscribe()}getWidth(){return Rm(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())})}};e.\u0275fac=function(n){return new(n||e)(h(F))},e.\u0275dir=C({type:e,selectors:[["label","matFormFieldFloatingLabel",""]],hostAttrs:[1,"mdc-floating-label","mat-mdc-floating-label"],hostVars:2,hostBindings:function(n,o){n&2&&ne("mdc-floating-label--float-above",o.floating)},inputs:{floating:"floating",monitorResize:"monitorResize"},standalone:!0});let i=e;return i})();function Rm(i){let e=i;if(e.offsetParent!==null)return e.scrollWidth;let r=e.cloneNode(!0);r.style.setProperty("position","absolute"),r.style.setProperty("transform","translate(-9999px, -9999px)"),document.documentElement.appendChild(r);let t=r.scrollWidth;return r.remove(),t}var ec="mdc-line-ripple--active",Gn="mdc-line-ripple--deactivating",tc=(()=>{let e=class e{constructor(t,n){this._elementRef=t,this._handleTransitionEnd=o=>{let s=this._elementRef.nativeElement.classList,a=s.contains(Gn);o.propertyName==="opacity"&&a&&s.remove(ec,Gn)},n.runOutsideAngular(()=>{t.nativeElement.addEventListener("transitionend",this._handleTransitionEnd)})}activate(){let t=this._elementRef.nativeElement.classList;t.remove(Gn),t.add(ec)}deactivate(){this._elementRef.nativeElement.classList.add(Gn)}ngOnDestroy(){this._elementRef.nativeElement.removeEventListener("transitionend",this._handleTransitionEnd)}};e.\u0275fac=function(n){return new(n||e)(h(F),h(R))},e.\u0275dir=C({type:e,selectors:[["div","matFormFieldLineRipple",""]],hostAttrs:[1,"mdc-line-ripple"],standalone:!0});let i=e;return i})(),ic=(()=>{let e=class e{constructor(t,n){this._elementRef=t,this._ngZone=n,this.open=!1}ngAfterViewInit(){let t=this._elementRef.nativeElement.querySelector(".mdc-floating-label");t?(this._elementRef.nativeElement.classList.add("mdc-notched-outline--upgraded"),typeof requestAnimationFrame=="function"&&(t.style.transitionDuration="0s",this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>t.style.transitionDuration="")}))):this._elementRef.nativeElement.classList.add("mdc-notched-outline--no-label")}_setNotchWidth(t){!this.open||!t?this._notch.nativeElement.style.width="":this._notch.nativeElement.style.width=`calc(${t}px * var(--mat-mdc-form-field-floating-label-scale, 0.75) + 9px)`}};e.\u0275fac=function(n){return new(n||e)(h(F),h(R))},e.\u0275cmp=ee({type:e,selectors:[["div","matFormFieldNotchedOutline",""]],viewQuery:function(n,o){if(n&1&&pe(Jf,5),n&2){let s;N(s=P())&&(o._notch=s.first)}},hostAttrs:[1,"mdc-notched-outline"],hostVars:2,hostBindings:function(n,o){n&2&&ne("mdc-notched-outline--notched",o.open)},inputs:{open:[m.None,"matFormFieldNotchedOutlineOpen","open"]},standalone:!0,features:[te],attrs:em,ngContentSelectors:tm,decls:5,vars:0,consts:[["notch",""],[1,"mdc-notched-outline__leading"],[1,"mdc-notched-outline__notch"],[1,"mdc-notched-outline__trailing"]],template:function(n,o){n&1&&(Fe(),K(0,"div",1),y(1,"div",2,0),Q(3),x(),K(4,"div",3))},encapsulation:2,changeDetection:0});let i=e;return i})(),km={transitionMessages:fi("transitionMessages",[fn("enter",gt({opacity:1,transform:"translateY(0%)"})),Ut("void => enter",[gt({opacity:0,transform:"translateY(-5px)"}),mi("300ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])},Yn=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275dir=C({type:e});let i=e;return i})();var Zn=new w("MatFormField"),Am=new w("MAT_FORM_FIELD_DEFAULT_OPTIONS"),nc=0,rc="fill",Mm="auto",oc="fixed",Tm="translateY(-50%)",ac=(()=>{let e=class e{get hideRequiredMarker(){return this._hideRequiredMarker}set hideRequiredMarker(t){this._hideRequiredMarker=Ho(t)}get floatLabel(){return this._floatLabel||this._defaults?.floatLabel||Mm}set floatLabel(t){t!==this._floatLabel&&(this._floatLabel=t,this._changeDetectorRef.markForCheck())}get appearance(){return this._appearance}set appearance(t){let n=this._appearance,o=t||this._defaults?.appearance||rc;this._appearance=o,this._appearance==="outline"&&this._appearance!==n&&(this._needsOutlineLabelOffsetUpdateOnStable=!0)}get subscriptSizing(){return this._subscriptSizing||this._defaults?.subscriptSizing||oc}set subscriptSizing(t){this._subscriptSizing=t||this._defaults?.subscriptSizing||oc}get hintLabel(){return this._hintLabel}set hintLabel(t){this._hintLabel=t,this._processHints()}get _control(){return this._explicitFormFieldControl||this._formFieldControl}set _control(t){this._explicitFormFieldControl=t}constructor(t,n,o,s,a,c,l,d){this._elementRef=t,this._changeDetectorRef=n,this._ngZone=o,this._dir=s,this._platform=a,this._defaults=c,this._animationMode=l,this._hideRequiredMarker=!1,this.color="primary",this._appearance=rc,this._subscriptSizing=null,this._hintLabel="",this._hasIconPrefix=!1,this._hasTextPrefix=!1,this._hasIconSuffix=!1,this._hasTextSuffix=!1,this._labelId=`mat-mdc-form-field-label-${nc++}`,this._hintLabelId=`mat-mdc-hint-${nc++}`,this._subscriptAnimationState="",this._destroyed=new k,this._isFocused=null,this._needsOutlineLabelOffsetUpdateOnStable=!1,c&&(c.appearance&&(this.appearance=c.appearance),this._hideRequiredMarker=!!c?.hideRequiredMarker,c.color&&(this.color=c.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 t=this._control;t.controlType&&this._elementRef.nativeElement.classList.add(`mat-mdc-form-field-type-${t.controlType}`),t.stateChanges.subscribe(()=>{this._updateFocusState(),this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),t.ngControl&&t.ngControl.valueChanges&&t.ngControl.valueChanges.pipe(U(this._destroyed)).subscribe(()=>this._changeDetectorRef.markForCheck())}_checkPrefixAndSuffixTypes(){this._hasIconPrefix=!!this._prefixChildren.find(t=>!t._isText),this._hasTextPrefix=!!this._prefixChildren.find(t=>t._isText),this._hasIconSuffix=!!this._suffixChildren.find(t=>!t._isText),this._hasTextSuffix=!!this._suffixChildren.find(t=>t._isText)}_initializePrefixAndSuffix(){this._checkPrefixAndSuffixTypes(),Xe(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(U(this._destroyed)).subscribe(()=>{this._needsOutlineLabelOffsetUpdateOnStable&&(this._needsOutlineLabelOffsetUpdateOnStable=!1,this._updateOutlineLabelOffset())})}),this._dir.change.pipe(U(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(t){let n=this._control?this._control.ngControl:null;return n&&n[t]}_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 t=[];if(this._control.userAriaDescribedBy&&typeof this._control.userAriaDescribedBy=="string"&&t.push(...this._control.userAriaDescribedBy.split(" ")),this._getDisplayedMessages()==="hint"){let n=this._hintChildren?this._hintChildren.find(s=>s.align==="start"):null,o=this._hintChildren?this._hintChildren.find(s=>s.align==="end"):null;n?t.push(n.id):this._hintLabel&&t.push(this._hintLabelId),o&&t.push(o.id)}else this._errorChildren&&t.push(...this._errorChildren.map(n=>n.id));this._control.setDescribedByIds(t)}}_updateOutlineLabelOffset(){if(!this._platform.isBrowser||!this._hasOutline()||!this._floatingLabel)return;let t=this._floatingLabel.element;if(!(this._iconPrefixContainer||this._textPrefixContainer)){t.style.transform="";return}if(!this._isAttachedToDom()){this._needsOutlineLabelOffsetUpdateOnStable=!0;return}let n=this._iconPrefixContainer?.nativeElement,o=this._textPrefixContainer?.nativeElement,s=n?.getBoundingClientRect().width??0,a=o?.getBoundingClientRect().width??0,c=this._dir.value==="rtl"?"-1":"1",l=`${s+a}px`,u=`calc(${c} * (${l} + var(--mat-mdc-form-field-label-offset-x, 0px)))`;t.style.transform=`var( --mat-mdc-form-field-label-transform, - ${Mm} translateX(${u}) - )`}_isAttachedToDom(){let t=this._elementRef.nativeElement;if(t.getRootNode){let n=t.getRootNode();return n&&n!==t}return document.documentElement.contains(t)}};e.\u0275fac=function(n){return new(n||e)(h(F),h(Se),h(I),h(qe),h(ge),h(km,8),h(Le,8),h(L))},e.\u0275cmp=ee({type:e,selectors:[["mat-form-field"]],contentQueries:function(n,o,s){if(n&1&&(oe(s,qn,5),oe(s,qn,7),oe(s,Yn,5),oe(s,Em,5),oe(s,Sm,5),oe(s,Cm,5),oe(s,Ql,5)),n&2){let a;N(a=P())&&(o._labelChildNonStatic=a.first),N(a=P())&&(o._labelChildStatic=a.first),N(a=P())&&(o._formFieldControl=a.first),N(a=P())&&(o._prefixChildren=a),N(a=P())&&(o._suffixChildren=a),N(a=P())&&(o._errorChildren=a),N(a=P())&&(o._hintChildren=a)}},viewQuery:function(n,o){if(n&1&&(pe(tm,5),pe(im,5),pe(nm,5),pe(Jl,5),pe(ic,5),pe(tc,5)),n&2){let s;N(s=P())&&(o._textField=s.first),N(s=P())&&(o._iconPrefixContainer=s.first),N(s=P())&&(o._textPrefixContainer=s.first),N(s=P())&&(o._floatingLabel=s.first),N(s=P())&&(o._notchedOutline=s.first),N(s=P())&&(o._lineRipple=s.first)}},hostAttrs:[1,"mat-mdc-form-field"],hostVars:42,hostBindings:function(n,o){n&2&&ne("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:[Q([{provide:Zn,useExisting:e},{provide:sc,useExisting:e}]),te],ngContentSelectors:om,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(n,o){if(n&1){let s=ht();Fe(rm),j(0,lm,1,1,"ng-template",null,0,an),y(2,"div",4,1),me("click",function(c){return Me(s),Te(o._control.onContainerClick(c))}),j(4,cm,1,0,"div",5),y(5,"div",6),j(6,um,2,2,"div",7)(7,fm,3,0,"div",8)(8,mm,3,0,"div",9),y(9,"div",10),j(10,gm,1,1,null,11),K(11),x(),j(12,_m,2,0,"div",12)(13,vm,2,0,"div",13),x(),j(14,ym,1,0,"div",14),x(),y(15,"div",15),j(16,bm,2,1)(17,wm,5,2),x()}if(n&2){let s;D(2),ne("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),D(2),W(4,!o._hasOutline()&&!o._control.disabled?4:-1),D(2),W(6,o._hasOutline()?6:-1),D(),W(7,o._hasIconPrefix?7:-1),D(),W(8,o._hasTextPrefix?8:-1),D(2),W(10,!o._hasOutline()||o._forceDisplayInfixLabel()?10:-1),D(2),W(12,o._hasTextSuffix?12:-1),D(),W(13,o._hasIconSuffix?13:-1),D(),W(14,o._hasOutline()?-1:14),D(),ne("mat-mdc-form-field-subscript-dynamic-size",o.subscriptSizing==="dynamic"),D(),W(16,(s=o._getDisplayedMessages())==="error"?16:s==="hint"?17:-1)}},dependencies:[Jl,ic,hn,tc,Ql],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:[Im.transitionMessages]},changeDetection:0});let i=e;return i})(),St=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=O({type:e}),e.\u0275inj=T({imports:[_e,Ge,kl,_e]});let i=e;return i})();function Kn(i){return i&&typeof i.connect=="function"&&!(i instanceof ni)}var Jt=function(i){return i[i.REPLACED=0]="REPLACED",i[i.INSERTED=1]="INSERTED",i[i.MOVED=2]="MOVED",i[i.REMOVED=3]="REMOVED",i}(Jt||{}),$i=new w("_ViewRepeater"),ei=class{applyChanges(e,r,t,n,o){e.forEachOperation((s,a,c)=>{let l,d;if(s.previousIndex==null){let u=t(s,a,c);l=r.createEmbeddedView(u.templateRef,u.context,u.index),d=Jt.INSERTED}else c==null?(r.remove(a),d=Jt.REMOVED):(l=r.get(a),r.move(l,c),d=Jt.MOVED);o&&o({context:l?.context,operation:d,record:s})})}detach(){}};var Xn=class{get selected(){return this._selected||(this._selected=Array.from(this._selection.values())),this._selected}constructor(e=!1,r,t=!0,n){this._multiple=e,this._emitChanges=t,this.compareWith=n,this._selection=new Set,this._deselectedToEmit=[],this._selectedToEmit=[],this.changed=new k,r&&r.length&&(e?r.forEach(o=>this._markSelected(o)):this._markSelected(r[0]),this._selectedToEmit.length=0)}select(...e){this._verifyValueAssignment(e),e.forEach(t=>this._markSelected(t));let r=this._hasQueuedChanges();return this._emitChangeEvent(),r}deselect(...e){this._verifyValueAssignment(e),e.forEach(t=>this._unmarkSelected(t));let r=this._hasQueuedChanges();return this._emitChangeEvent(),r}setSelection(...e){this._verifyValueAssignment(e);let r=this.selected,t=new Set(e);e.forEach(o=>this._markSelected(o)),r.filter(o=>!t.has(this._getConcreteValue(o,t))).forEach(o=>this._unmarkSelected(o));let n=this._hasQueuedChanges();return this._emitChangeEvent(),n}toggle(e){return this.isSelected(e)?this.deselect(e):this.select(e)}clear(e=!0){this._unmarkAll();let r=this._hasQueuedChanges();return e&&this._emitChangeEvent(),r}isSelected(e){return this._selection.has(this._getConcreteValue(e))}isEmpty(){return this._selection.size===0}hasValue(){return!this.isEmpty()}sort(e){this._multiple&&this.selected&&this._selected.sort(e)}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(e){e=this._getConcreteValue(e),this.isSelected(e)||(this._multiple||this._unmarkAll(),this.isSelected(e)||this._selection.add(e),this._emitChanges&&this._selectedToEmit.push(e))}_unmarkSelected(e){e=this._getConcreteValue(e),this.isSelected(e)&&(this._selection.delete(e),this._emitChanges&&this._deselectedToEmit.push(e))}_unmarkAll(){this.isEmpty()||this._selection.forEach(e=>this._unmarkSelected(e))}_verifyValueAssignment(e){e.length>1&&this._multiple}_hasQueuedChanges(){return!!(this._deselectedToEmit.length||this._selectedToEmit.length)}_getConcreteValue(e,r){if(this.compareWith){r=r??this._selection;for(let t of r)if(this.compareWith(e,t))return t;return e}else return e}};var Om=20,lc=(()=>{let e=class e{constructor(t,n,o){this._ngZone=t,this._platform=n,this._scrolled=new k,this._globalSubscription=null,this._scrolledCount=0,this.scrollContainers=new Map,this._document=o}register(t){this.scrollContainers.has(t)||this.scrollContainers.set(t,t.elementScrolled().subscribe(()=>this._scrolled.next(t)))}deregister(t){let n=this.scrollContainers.get(t);n&&(n.unsubscribe(),this.scrollContainers.delete(t))}scrolled(t=Om){return this._platform.isBrowser?new Ue(n=>{this._globalSubscription||this._addGlobalListener();let o=t>0?this._scrolled.pipe(Dr(t)).subscribe(n):this._scrolled.subscribe(n);return this._scrolledCount++,()=>{o.unsubscribe(),this._scrolledCount--,this._scrolledCount||this._removeGlobalListener()}}):E()}ngOnDestroy(){this._removeGlobalListener(),this.scrollContainers.forEach((t,n)=>this.deregister(n)),this._scrolled.complete()}ancestorScrolled(t,n){let o=this.getAncestorScrollContainers(t);return this.scrolled(n).pipe(ce(s=>!s||o.indexOf(s)>-1))}getAncestorScrollContainers(t){let n=[];return this.scrollContainers.forEach((o,s)=>{this._scrollableContainsElement(s,t)&&n.push(s)}),n}_getWindow(){return this._document.defaultView||window}_scrollableContainsElement(t,n){let o=Ui(n),s=t.getElementRef().nativeElement;do if(o==s)return!0;while(o=o.parentElement);return!1}_addGlobalListener(){this._globalSubscription=this._ngZone.runOutsideAngular(()=>{let t=this._getWindow();return $s(t.document,"scroll").subscribe(()=>this._scrolled.next())})}_removeGlobalListener(){this._globalSubscription&&(this._globalSubscription.unsubscribe(),this._globalSubscription=null)}};e.\u0275fac=function(n){return new(n||e)(f(I),f(ge),f(L,8))},e.\u0275prov=v({token:e,factory:e.\u0275fac,providedIn:"root"});let i=e;return i})();var Fm=20,Rt=(()=>{let e=class e{constructor(t,n,o){this._platform=t,this._change=new k,this._changeListener=s=>{this._change.next(s)},this._document=o,n.runOutsideAngular(()=>{if(t.isBrowser){let s=this._getWindow();s.addEventListener("resize",this._changeListener),s.addEventListener("orientationchange",this._changeListener)}this.change().subscribe(()=>this._viewportSize=null)})}ngOnDestroy(){if(this._platform.isBrowser){let t=this._getWindow();t.removeEventListener("resize",this._changeListener),t.removeEventListener("orientationchange",this._changeListener)}this._change.complete()}getViewportSize(){this._viewportSize||this._updateViewportSize();let t={width:this._viewportSize.width,height:this._viewportSize.height};return this._platform.isBrowser||(this._viewportSize=null),t}getViewportRect(){let t=this.getViewportScrollPosition(),{width:n,height:o}=this.getViewportSize();return{top:t.top,left:t.left,bottom:t.top+o,right:t.left+n,height:o,width:n}}getViewportScrollPosition(){if(!this._platform.isBrowser)return{top:0,left:0};let t=this._document,n=this._getWindow(),o=t.documentElement,s=o.getBoundingClientRect(),a=-s.top||t.body.scrollTop||n.scrollY||o.scrollTop||0,c=-s.left||t.body.scrollLeft||n.scrollX||o.scrollLeft||0;return{top:a,left:c}}change(t=Fm){return t>0?this._change.pipe(Dr(t)):this._change}_getWindow(){return this._document.defaultView||window}_updateViewportSize(){let t=this._getWindow();this._viewportSize=this._platform.isBrowser?{width:t.innerWidth,height:t.innerHeight}:{width:0,height:0}}};e.\u0275fac=function(n){return new(n||e)(f(ge),f(I),f(L,8))},e.\u0275prov=v({token:e,factory:e.\u0275fac,providedIn:"root"});let i=e;return i})();var Qn=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=O({type:e}),e.\u0275inj=T({});let i=e;return i})(),Wi=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=O({type:e}),e.\u0275inj=T({imports:[nt,Qn,nt,Qn]});let i=e;return i})();var Gi=class{attach(e){return this._attachedHost=e,e.attach(this)}detach(){let e=this._attachedHost;e!=null&&(this._attachedHost=null,e.detach())}get isAttached(){return this._attachedHost!=null}setAttachedHost(e){this._attachedHost=e}},rs=class extends Gi{constructor(e,r,t,n,o){super(),this.component=e,this.viewContainerRef=r,this.injector=t,this.componentFactoryResolver=n,this.projectableNodes=o}},qi=class extends Gi{constructor(e,r,t,n){super(),this.templateRef=e,this.viewContainerRef=r,this.context=t,this.injector=n}get origin(){return this.templateRef.elementRef}attach(e,r=this.context){return this.context=r,super.attach(e)}detach(){return this.context=void 0,super.detach()}},os=class extends Gi{constructor(e){super(),this.element=e instanceof F?e.nativeElement:e}},ss=class{constructor(){this._isDisposed=!1,this.attachDomPortal=null}hasAttached(){return!!this._attachedPortal}attach(e){if(e instanceof rs)return this._attachedPortal=e,this.attachComponentPortal(e);if(e instanceof qi)return this._attachedPortal=e,this.attachTemplatePortal(e);if(this.attachDomPortal&&e instanceof os)return this._attachedPortal=e,this.attachDomPortal(e)}detach(){this._attachedPortal&&(this._attachedPortal.setAttachedHost(null),this._attachedPortal=null),this._invokeDisposeFn()}dispose(){this.hasAttached()&&this.detach(),this._invokeDisposeFn(),this._isDisposed=!0}setDisposeFn(e){this._disposeFn=e}_invokeDisposeFn(){this._disposeFn&&(this._disposeFn(),this._disposeFn=null)}};var Jn=class extends ss{constructor(e,r,t,n,o){super(),this.outletElement=e,this._componentFactoryResolver=r,this._appRef=t,this._defaultInjector=n,this.attachDomPortal=s=>{this._document;let a=s.element;a.parentNode;let c=this._document.createComment("dom-portal");a.parentNode.insertBefore(c,a),this.outletElement.appendChild(a),this._attachedPortal=s,super.setDisposeFn(()=>{c.parentNode&&c.parentNode.replaceChild(a,c)})},this._document=o}attachComponentPortal(e){let t=(e.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(e.component),n;return e.viewContainerRef?(n=e.viewContainerRef.createComponent(t,e.viewContainerRef.length,e.injector||e.viewContainerRef.injector,e.projectableNodes||void 0),this.setDisposeFn(()=>n.destroy())):(n=t.create(e.injector||this._defaultInjector||at.NULL),this._appRef.attachView(n.hostView),this.setDisposeFn(()=>{this._appRef.viewCount>0&&this._appRef.detachView(n.hostView),n.destroy()})),this.outletElement.appendChild(this._getComponentRootNode(n)),this._attachedPortal=e,n}attachTemplatePortal(e){let r=e.viewContainerRef,t=r.createEmbeddedView(e.templateRef,e.context,{injector:e.injector});return t.rootNodes.forEach(n=>this.outletElement.appendChild(n)),t.detectChanges(),this.setDisposeFn(()=>{let n=r.indexOf(t);n!==-1&&r.remove(n)}),this._attachedPortal=e,t}dispose(){super.dispose(),this.outletElement.remove()}_getComponentRootNode(e){return e.hostView.rootNodes[0]}};var cc=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=O({type:e}),e.\u0275inj=T({});let i=e;return i})();var dc=Rl(),as=class{constructor(e,r){this._viewportRuler=e,this._previousHTMLStyles={top:"",left:""},this._isEnabled=!1,this._document=r}attach(){}enable(){if(this._canBeEnabled()){let e=this._document.documentElement;this._previousScrollPosition=this._viewportRuler.getViewportScrollPosition(),this._previousHTMLStyles.left=e.style.left||"",this._previousHTMLStyles.top=e.style.top||"",e.style.left=se(-this._previousScrollPosition.left),e.style.top=se(-this._previousScrollPosition.top),e.classList.add("cdk-global-scrollblock"),this._isEnabled=!0}}disable(){if(this._isEnabled){let e=this._document.documentElement,r=this._document.body,t=e.style,n=r.style,o=t.scrollBehavior||"",s=n.scrollBehavior||"";this._isEnabled=!1,t.left=this._previousHTMLStyles.left,t.top=this._previousHTMLStyles.top,e.classList.remove("cdk-global-scrollblock"),dc&&(t.scrollBehavior=n.scrollBehavior="auto"),window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top),dc&&(t.scrollBehavior=o,n.scrollBehavior=s)}}_canBeEnabled(){if(this._document.documentElement.classList.contains("cdk-global-scrollblock")||this._isEnabled)return!1;let r=this._document.body,t=this._viewportRuler.getViewportSize();return r.scrollHeight>t.height||r.scrollWidth>t.width}};var ls=class{constructor(e,r,t,n){this._scrollDispatcher=e,this._ngZone=r,this._viewportRuler=t,this._config=n,this._scrollSubscription=null,this._detach=()=>{this.disable(),this._overlayRef.hasAttached()&&this._ngZone.run(()=>this._overlayRef.detach())}}attach(e){this._overlayRef,this._overlayRef=e}enable(){if(this._scrollSubscription)return;let e=this._scrollDispatcher.scrolled(0).pipe(ce(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=e.subscribe(()=>{let r=this._viewportRuler.getViewportScrollPosition().top;Math.abs(r-this._initialScrollPosition)>this._config.threshold?this._detach():this._overlayRef.updatePosition()})):this._scrollSubscription=e.subscribe(this._detach)}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}},er=class{enable(){}disable(){}attach(){}};function cs(i,e){return e.some(r=>{let t=i.bottomr.bottom,o=i.rightr.right;return t||n||o||s})}function hc(i,e){return e.some(r=>{let t=i.topr.bottom,o=i.leftr.right;return t||n||o||s})}var ds=class{constructor(e,r,t,n){this._scrollDispatcher=e,this._viewportRuler=r,this._ngZone=t,this._config=n,this._scrollSubscription=null}attach(e){this._overlayRef,this._overlayRef=e}enable(){if(!this._scrollSubscription){let e=this._config?this._config.scrollThrottle:0;this._scrollSubscription=this._scrollDispatcher.scrolled(e).subscribe(()=>{if(this._overlayRef.updatePosition(),this._config&&this._config.autoClose){let r=this._overlayRef.overlayElement.getBoundingClientRect(),{width:t,height:n}=this._viewportRuler.getViewportSize();cs(r,[{width:t,height:n,bottom:n,right:t,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}},Pm=(()=>{let e=class e{constructor(t,n,o,s){this._scrollDispatcher=t,this._viewportRuler=n,this._ngZone=o,this.noop=()=>new er,this.close=a=>new ls(this._scrollDispatcher,this._ngZone,this._viewportRuler,a),this.block=()=>new as(this._viewportRuler,this._document),this.reposition=a=>new ds(this._scrollDispatcher,this._viewportRuler,this._ngZone,a),this._document=s}};e.\u0275fac=function(n){return new(n||e)(f(lc),f(Rt),f(I),f(L))},e.\u0275prov=v({token:e,factory:e.\u0275fac,providedIn:"root"});let i=e;return i})(),tr=class{constructor(e){if(this.scrollStrategy=new er,this.panelClass="",this.hasBackdrop=!1,this.backdropClass="cdk-overlay-dark-backdrop",this.disposeOnNavigation=!1,e){let r=Object.keys(e);for(let t of r)e[t]!==void 0&&(this[t]=e[t])}}};var hs=class{constructor(e,r){this.connectionPair=e,this.scrollableViewProperties=r}};var gc=(()=>{let e=class e{constructor(t){this._attachedOverlays=[],this._document=t}ngOnDestroy(){this.detach()}add(t){this.remove(t),this._attachedOverlays.push(t)}remove(t){let n=this._attachedOverlays.indexOf(t);n>-1&&this._attachedOverlays.splice(n,1),this._attachedOverlays.length===0&&this.detach()}};e.\u0275fac=function(n){return new(n||e)(f(L))},e.\u0275prov=v({token:e,factory:e.\u0275fac,providedIn:"root"});let i=e;return i})(),Lm=(()=>{let e=class e extends gc{constructor(t,n){super(t),this._ngZone=n,this._keydownListener=o=>{let s=this._attachedOverlays;for(let a=s.length-1;a>-1;a--)if(s[a]._keydownEvents.observers.length>0){let c=s[a]._keydownEvents;this._ngZone?this._ngZone.run(()=>c.next(o)):c.next(o);break}}}add(t){super.add(t),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)}};e.\u0275fac=function(n){return new(n||e)(f(L),f(I,8))},e.\u0275prov=v({token:e,factory:e.\u0275fac,providedIn:"root"});let i=e;return i})(),Vm=(()=>{let e=class e extends gc{constructor(t,n,o){super(t),this._platform=n,this._ngZone=o,this._cursorStyleIsSet=!1,this._pointerDownListener=s=>{this._pointerDownEventTarget=ji(s)},this._clickListener=s=>{let a=ji(s),c=s.type==="click"&&this._pointerDownEventTarget?this._pointerDownEventTarget:a;this._pointerDownEventTarget=null;let l=this._attachedOverlays.slice();for(let d=l.length-1;d>-1;d--){let u=l[d];if(u._outsidePointerEvents.observers.length<1||!u.hasAttached())continue;if(u.overlayElement.contains(a)||u.overlayElement.contains(c))break;let p=u._outsidePointerEvents;this._ngZone?this._ngZone.run(()=>p.next(s)):p.next(s)}}}add(t){if(super.add(t),!this._isAttached){let n=this._document.body;this._ngZone?this._ngZone.runOutsideAngular(()=>this._addEventListeners(n)):this._addEventListeners(n),this._platform.IOS&&!this._cursorStyleIsSet&&(this._cursorOriginalValue=n.style.cursor,n.style.cursor="pointer",this._cursorStyleIsSet=!0),this._isAttached=!0}}detach(){if(this._isAttached){let t=this._document.body;t.removeEventListener("pointerdown",this._pointerDownListener,!0),t.removeEventListener("click",this._clickListener,!0),t.removeEventListener("auxclick",this._clickListener,!0),t.removeEventListener("contextmenu",this._clickListener,!0),this._platform.IOS&&this._cursorStyleIsSet&&(t.style.cursor=this._cursorOriginalValue,this._cursorStyleIsSet=!1),this._isAttached=!1}}_addEventListeners(t){t.addEventListener("pointerdown",this._pointerDownListener,!0),t.addEventListener("click",this._clickListener,!0),t.addEventListener("auxclick",this._clickListener,!0),t.addEventListener("contextmenu",this._clickListener,!0)}};e.\u0275fac=function(n){return new(n||e)(f(L),f(ge),f(I,8))},e.\u0275prov=v({token:e,factory:e.\u0275fac,providedIn:"root"});let i=e;return i})(),_c=(()=>{let e=class e{constructor(t,n){this._platform=n,this._document=t}ngOnDestroy(){this._containerElement?.remove()}getContainerElement(){return this._containerElement||this._createContainer(),this._containerElement}_createContainer(){let t="cdk-overlay-container";if(this._platform.isBrowser||Bi()){let o=this._document.querySelectorAll(`.${t}[platform="server"], .${t}[platform="test"]`);for(let s=0;sthis._backdropClick.next(u),this._backdropTransitionendHandler=u=>{this._disposeBackdrop(u.target)},this._keydownEvents=new k,this._outsidePointerEvents=new k,n.scrollStrategy&&(this._scrollStrategy=n.scrollStrategy,this._scrollStrategy.attach(this)),this._positionStrategy=n.positionStrategy}get overlayElement(){return this._pane}get backdropElement(){return this._backdropElement}get hostElement(){return this._host}attach(e){!this._host.parentElement&&this._previousHostParent&&this._previousHostParent.appendChild(this._host);let r=this._portalOutlet.attach(e);return this._positionStrategy&&this._positionStrategy.attach(this),this._updateStackingOrder(),this._updateElementSize(),this._updateElementDirection(),this._scrollStrategy&&this._scrollStrategy.enable(),this._ngZone.onStable.pipe(be(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 e=this._portalOutlet.detach();return this._detachments.next(),this._keyboardDispatcher.remove(this),this._detachContentWhenStable(),this._locationChanges.unsubscribe(),this._outsideClickDispatcher.remove(this),e}dispose(){let e=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,e&&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(e){e!==this._positionStrategy&&(this._positionStrategy&&this._positionStrategy.dispose(),this._positionStrategy=e,this.hasAttached()&&(e.attach(this),this.updatePosition()))}updateSize(e){this._config=g(g({},this._config),e),this._updateElementSize()}setDirection(e){this._config=ie(g({},this._config),{direction:e}),this._updateElementDirection()}addPanelClass(e){this._pane&&this._toggleClasses(this._pane,e,!0)}removePanelClass(e){this._pane&&this._toggleClasses(this._pane,e,!1)}getDirection(){let e=this._config.direction;return e?typeof e=="string"?e:e.value:"ltr"}updateScrollStrategy(e){e!==this._scrollStrategy&&(this._disposeScrollStrategy(),this._scrollStrategy=e,this.hasAttached()&&(e.attach(this),e.enable()))}_updateElementDirection(){this._host.setAttribute("dir",this.getDirection())}_updateElementSize(){if(!this._pane)return;let e=this._pane.style;e.width=se(this._config.width),e.height=se(this._config.height),e.minWidth=se(this._config.minWidth),e.minHeight=se(this._config.minHeight),e.maxWidth=se(this._config.maxWidth),e.maxHeight=se(this._config.maxHeight)}_togglePointerEvents(e){this._pane.style.pointerEvents=e?"":"none"}_attachBackdrop(){let e="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(e)})}):this._backdropElement.classList.add(e)}_updateStackingOrder(){this._host.nextSibling&&this._host.parentNode.appendChild(this._host)}detachBackdrop(){let e=this._backdropElement;if(e){if(this._animationsDisabled){this._disposeBackdrop(e);return}e.classList.remove("cdk-overlay-backdrop-showing"),this._ngZone.runOutsideAngular(()=>{e.addEventListener("transitionend",this._backdropTransitionendHandler)}),e.style.pointerEvents="none",this._backdropTimeout=this._ngZone.runOutsideAngular(()=>setTimeout(()=>{this._disposeBackdrop(e)},500))}}_toggleClasses(e,r,t){let n=Qt(r||[]).filter(o=>!!o);n.length&&(t?e.classList.add(...n):e.classList.remove(...n))}_detachContentWhenStable(){this._ngZone.runOutsideAngular(()=>{let e=this._ngZone.onStable.pipe(U(Xe(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()),e.unsubscribe())})})}_disposeScrollStrategy(){let e=this._scrollStrategy;e&&(e.disable(),e.detach&&e.detach())}_disposeBackdrop(e){e&&(e.removeEventListener("click",this._backdropClickHandler),e.removeEventListener("transitionend",this._backdropTransitionendHandler),e.remove(),this._backdropElement===e&&(this._backdropElement=null)),this._backdropTimeout&&(clearTimeout(this._backdropTimeout),this._backdropTimeout=void 0)}},uc="cdk-overlay-connected-position-bounding-box",jm=/([A-Za-z%]+)$/,fs=class{get positions(){return this._preferredPositions}constructor(e,r,t,n,o){this._viewportRuler=r,this._document=t,this._platform=n,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 k,this._resizeSubscription=Ee.EMPTY,this._offsetX=0,this._offsetY=0,this._appliedPanelClasses=[],this.positionChanges=this._positionChanges,this.setOrigin(e)}attach(e){this._overlayRef&&this._overlayRef,this._validatePositions(),e.hostElement.classList.add(uc),this._overlayRef=e,this._boundingBox=e.hostElement,this._pane=e.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 e=this._originRect,r=this._overlayRect,t=this._viewportRect,n=this._containerRect,o=[],s;for(let a of this._preferredPositions){let c=this._getOriginPoint(e,n,a),l=this._getOverlayPoint(c,r,a),d=this._getOverlayFit(l,r,t,a);if(d.isCompletelyWithinViewport){this._isPushed=!1,this._applyPosition(a,c);return}if(this._canFitWithFlexibleDimensions(d,l,t)){o.push({position:a,origin:c,overlayRect:r,boundingBoxRect:this._calculateBoundingBoxRect(c,a)});continue}(!s||s.overlayFit.visibleAreac&&(c=d,a=l)}this._isPushed=!1,this._applyPosition(a.position,a.origin);return}if(this._canPush){this._isPushed=!0,this._applyPosition(s.position,s.originPoint);return}this._applyPosition(s.position,s.originPoint)}detach(){this._clearPanelClasses(),this._lastPosition=null,this._previousPushAmount=null,this._resizeSubscription.unsubscribe()}dispose(){this._isDisposed||(this._boundingBox&&It(this._boundingBox.style,{top:"",left:"",right:"",bottom:"",height:"",width:"",alignItems:"",justifyContent:""}),this._pane&&this._resetOverlayElementStyles(),this._overlayRef&&this._overlayRef.hostElement.classList.remove(uc),this.detach(),this._positionChanges.complete(),this._overlayRef=this._boundingBox=null,this._isDisposed=!0)}reapplyLastPosition(){if(this._isDisposed||!this._platform.isBrowser)return;let e=this._lastPosition;if(e){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,e);this._applyPosition(e,r)}else this.apply()}withScrollableContainers(e){return this._scrollables=e,this}withPositions(e){return this._preferredPositions=e,e.indexOf(this._lastPosition)===-1&&(this._lastPosition=null),this._validatePositions(),this}withViewportMargin(e){return this._viewportMargin=e,this}withFlexibleDimensions(e=!0){return this._hasFlexibleDimensions=e,this}withGrowAfterOpen(e=!0){return this._growAfterOpen=e,this}withPush(e=!0){return this._canPush=e,this}withLockedPosition(e=!0){return this._positionLocked=e,this}setOrigin(e){return this._origin=e,this}withDefaultOffsetX(e){return this._offsetX=e,this}withDefaultOffsetY(e){return this._offsetY=e,this}withTransformOriginOn(e){return this._transformOriginSelector=e,this}_getOriginPoint(e,r,t){let n;if(t.originX=="center")n=e.left+e.width/2;else{let s=this._isRtl()?e.right:e.left,a=this._isRtl()?e.left:e.right;n=t.originX=="start"?s:a}r.left<0&&(n-=r.left);let o;return t.originY=="center"?o=e.top+e.height/2:o=t.originY=="top"?e.top:e.bottom,r.top<0&&(o-=r.top),{x:n,y:o}}_getOverlayPoint(e,r,t){let n;t.overlayX=="center"?n=-r.width/2:t.overlayX==="start"?n=this._isRtl()?-r.width:0:n=this._isRtl()?0:-r.width;let o;return t.overlayY=="center"?o=-r.height/2:o=t.overlayY=="top"?0:-r.height,{x:e.x+n,y:e.y+o}}_getOverlayFit(e,r,t,n){let o=mc(r),{x:s,y:a}=e,c=this._getOffset(n,"x"),l=this._getOffset(n,"y");c&&(s+=c),l&&(a+=l);let d=0-s,u=s+o.width-t.width,p=0-a,b=a+o.height-t.height,B=this._subtractOverflows(o.width,d,u),V=this._subtractOverflows(o.height,p,b),S=B*V;return{visibleArea:S,isCompletelyWithinViewport:o.width*o.height===S,fitsInViewportVertically:V===o.height,fitsInViewportHorizontally:B==o.width}}_canFitWithFlexibleDimensions(e,r,t){if(this._hasFlexibleDimensions){let n=t.bottom-r.y,o=t.right-r.x,s=fc(this._overlayRef.getConfig().minHeight),a=fc(this._overlayRef.getConfig().minWidth),c=e.fitsInViewportVertically||s!=null&&s<=n,l=e.fitsInViewportHorizontally||a!=null&&a<=o;return c&&l}return!1}_pushOverlayOnScreen(e,r,t){if(this._previousPushAmount&&this._positionLocked)return{x:e.x+this._previousPushAmount.x,y:e.y+this._previousPushAmount.y};let n=mc(r),o=this._viewportRect,s=Math.max(e.x+n.width-o.width,0),a=Math.max(e.y+n.height-o.height,0),c=Math.max(o.top-t.top-e.y,0),l=Math.max(o.left-t.left-e.x,0),d=0,u=0;return n.width<=o.width?d=l||-s:d=e.xB&&!this._isInitialRender&&!this._growAfterOpen&&(s=e.y-B/2)}let c=r.overlayX==="start"&&!n||r.overlayX==="end"&&n,l=r.overlayX==="end"&&!n||r.overlayX==="start"&&n,d,u,p;if(l)p=t.width-e.x+this._viewportMargin*2,d=e.x-this._viewportMargin;else if(c)u=e.x,d=t.right-e.x;else{let b=Math.min(t.right-e.x+t.left,e.x),B=this._lastBoundingBoxSize.width;d=b*2,u=e.x-b,d>B&&!this._isInitialRender&&!this._growAfterOpen&&(u=e.x-B/2)}return{top:s,left:u,bottom:a,right:p,width:d,height:o}}_setBoundingBoxStyles(e,r){let t=this._calculateBoundingBoxRect(e,r);!this._isInitialRender&&!this._growAfterOpen&&(t.height=Math.min(t.height,this._lastBoundingBoxSize.height),t.width=Math.min(t.width,this._lastBoundingBoxSize.width));let n={};if(this._hasExactPosition())n.top=n.left="0",n.bottom=n.right=n.maxHeight=n.maxWidth="",n.width=n.height="100%";else{let o=this._overlayRef.getConfig().maxHeight,s=this._overlayRef.getConfig().maxWidth;n.height=se(t.height),n.top=se(t.top),n.bottom=se(t.bottom),n.width=se(t.width),n.left=se(t.left),n.right=se(t.right),r.overlayX==="center"?n.alignItems="center":n.alignItems=r.overlayX==="end"?"flex-end":"flex-start",r.overlayY==="center"?n.justifyContent="center":n.justifyContent=r.overlayY==="bottom"?"flex-end":"flex-start",o&&(n.maxHeight=se(o)),s&&(n.maxWidth=se(s))}this._lastBoundingBoxSize=t,It(this._boundingBox.style,n)}_resetBoundingBoxStyles(){It(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})}_resetOverlayElementStyles(){It(this._pane.style,{top:"",left:"",bottom:"",right:"",position:"",transform:""})}_setOverlayElementStyles(e,r){let t={},n=this._hasExactPosition(),o=this._hasFlexibleDimensions,s=this._overlayRef.getConfig();if(n){let d=this._viewportRuler.getViewportScrollPosition();It(t,this._getExactOverlayY(r,e,d)),It(t,this._getExactOverlayX(r,e,d))}else t.position="static";let a="",c=this._getOffset(r,"x"),l=this._getOffset(r,"y");c&&(a+=`translateX(${c}px) `),l&&(a+=`translateY(${l}px)`),t.transform=a.trim(),s.maxHeight&&(n?t.maxHeight=se(s.maxHeight):o&&(t.maxHeight="")),s.maxWidth&&(n?t.maxWidth=se(s.maxWidth):o&&(t.maxWidth="")),It(this._pane.style,t)}_getExactOverlayY(e,r,t){let n={top:"",bottom:""},o=this._getOverlayPoint(r,this._overlayRect,e);if(this._isPushed&&(o=this._pushOverlayOnScreen(o,this._overlayRect,t)),e.overlayY==="bottom"){let s=this._document.documentElement.clientHeight;n.bottom=`${s-(o.y+this._overlayRect.height)}px`}else n.top=se(o.y);return n}_getExactOverlayX(e,r,t){let n={left:"",right:""},o=this._getOverlayPoint(r,this._overlayRect,e);this._isPushed&&(o=this._pushOverlayOnScreen(o,this._overlayRect,t));let s;if(this._isRtl()?s=e.overlayX==="end"?"left":"right":s=e.overlayX==="end"?"right":"left",s==="right"){let a=this._document.documentElement.clientWidth;n.right=`${a-(o.x+this._overlayRect.width)}px`}else n.left=se(o.x);return n}_getScrollVisibility(){let e=this._getOriginRect(),r=this._pane.getBoundingClientRect(),t=this._scrollables.map(n=>n.getElementRef().nativeElement.getBoundingClientRect());return{isOriginClipped:hc(e,t),isOriginOutsideView:cs(e,t),isOverlayClipped:hc(r,t),isOverlayOutsideView:cs(r,t)}}_subtractOverflows(e,...r){return r.reduce((t,n)=>t-Math.max(n,0),e)}_getNarrowedViewportRect(){let e=this._document.documentElement.clientWidth,r=this._document.documentElement.clientHeight,t=this._viewportRuler.getViewportScrollPosition();return{top:t.top+this._viewportMargin,left:t.left+this._viewportMargin,right:t.left+e-this._viewportMargin,bottom:t.top+r-this._viewportMargin,width:e-2*this._viewportMargin,height:r-2*this._viewportMargin}}_isRtl(){return this._overlayRef.getDirection()==="rtl"}_hasExactPosition(){return!this._hasFlexibleDimensions||this._isPushed}_getOffset(e,r){return r==="x"?e.offsetX==null?this._offsetX:e.offsetX:e.offsetY==null?this._offsetY:e.offsetY}_validatePositions(){}_addPanelClasses(e){this._pane&&Qt(e).forEach(r=>{r!==""&&this._appliedPanelClasses.indexOf(r)===-1&&(this._appliedPanelClasses.push(r),this._pane.classList.add(r))})}_clearPanelClasses(){this._pane&&(this._appliedPanelClasses.forEach(e=>{this._pane.classList.remove(e)}),this._appliedPanelClasses=[])}_getOriginRect(){let e=this._origin;if(e instanceof F)return e.nativeElement.getBoundingClientRect();if(e instanceof Element)return e.getBoundingClientRect();let r=e.width||0,t=e.height||0;return{top:e.y,bottom:e.y+t,left:e.x,right:e.x+r,height:t,width:r}}};function It(i,e){for(let r in e)e.hasOwnProperty(r)&&(i[r]=e[r]);return i}function fc(i){if(typeof i!="number"&&i!=null){let[e,r]=i.split(jm);return!r||r==="px"?parseFloat(e):null}return i||null}function mc(i){return{top:Math.floor(i.top),right:Math.floor(i.right),bottom:Math.floor(i.bottom),left:Math.floor(i.left),width:Math.floor(i.width),height:Math.floor(i.height)}}function Bm(i,e){return i===e?!0:i.isOriginClipped===e.isOriginClipped&&i.isOriginOutsideView===e.isOriginOutsideView&&i.isOverlayClipped===e.isOverlayClipped&&i.isOverlayOutsideView===e.isOverlayOutsideView}var pc="cdk-global-overlay-wrapper",ms=class{constructor(){this._cssPosition="static",this._topOffset="",this._bottomOffset="",this._alignItems="",this._xPosition="",this._xOffset="",this._width="",this._height="",this._isDisposed=!1}attach(e){let r=e.getConfig();this._overlayRef=e,this._width&&!r.width&&e.updateSize({width:this._width}),this._height&&!r.height&&e.updateSize({height:this._height}),e.hostElement.classList.add(pc),this._isDisposed=!1}top(e=""){return this._bottomOffset="",this._topOffset=e,this._alignItems="flex-start",this}left(e=""){return this._xOffset=e,this._xPosition="left",this}bottom(e=""){return this._topOffset="",this._bottomOffset=e,this._alignItems="flex-end",this}right(e=""){return this._xOffset=e,this._xPosition="right",this}start(e=""){return this._xOffset=e,this._xPosition="start",this}end(e=""){return this._xOffset=e,this._xPosition="end",this}width(e=""){return this._overlayRef?this._overlayRef.updateSize({width:e}):this._width=e,this}height(e=""){return this._overlayRef?this._overlayRef.updateSize({height:e}):this._height=e,this}centerHorizontally(e=""){return this.left(e),this._xPosition="center",this}centerVertically(e=""){return this.top(e),this._alignItems="center",this}apply(){if(!this._overlayRef||!this._overlayRef.hasAttached())return;let e=this._overlayRef.overlayElement.style,r=this._overlayRef.hostElement.style,t=this._overlayRef.getConfig(),{width:n,height:o,maxWidth:s,maxHeight:a}=t,c=(n==="100%"||n==="100vw")&&(!s||s==="100%"||s==="100vw"),l=(o==="100%"||o==="100vh")&&(!a||a==="100%"||a==="100vh"),d=this._xPosition,u=this._xOffset,p=this._overlayRef.getConfig().direction==="rtl",b="",B="",V="";c?V="flex-start":d==="center"?(V="center",p?B=u:b=u):p?d==="left"||d==="end"?(V="flex-end",b=u):(d==="right"||d==="start")&&(V="flex-start",B=u):d==="left"||d==="start"?(V="flex-start",b=u):(d==="right"||d==="end")&&(V="flex-end",B=u),e.position=this._cssPosition,e.marginLeft=c?"0":b,e.marginTop=l?"0":this._topOffset,e.marginBottom=this._bottomOffset,e.marginRight=c?"0":B,r.justifyContent=V,r.alignItems=l?"flex-start":this._alignItems}dispose(){if(this._isDisposed||!this._overlayRef)return;let e=this._overlayRef.overlayElement.style,r=this._overlayRef.hostElement,t=r.style;r.classList.remove(pc),t.justifyContent=t.alignItems=e.marginTop=e.marginBottom=e.marginLeft=e.marginRight=e.position="",this._overlayRef=null,this._isDisposed=!0}},Um=(()=>{let e=class e{constructor(t,n,o,s){this._viewportRuler=t,this._document=n,this._platform=o,this._overlayContainer=s}global(){return new ms}flexibleConnectedTo(t){return new fs(t,this._viewportRuler,this._document,this._platform,this._overlayContainer)}};e.\u0275fac=function(n){return new(n||e)(f(Rt),f(L),f(ge),f(_c))},e.\u0275prov=v({token:e,factory:e.\u0275fac,providedIn:"root"});let i=e;return i})(),zm=0,kt=(()=>{let e=class e{constructor(t,n,o,s,a,c,l,d,u,p,b,B){this.scrollStrategies=t,this._overlayContainer=n,this._componentFactoryResolver=o,this._positionBuilder=s,this._keyboardDispatcher=a,this._injector=c,this._ngZone=l,this._document=d,this._directionality=u,this._location=p,this._outsideClickDispatcher=b,this._animationsModuleType=B}create(t){let n=this._createHostElement(),o=this._createPaneElement(n),s=this._createPortalOutlet(o),a=new tr(t);return a.direction=a.direction||this._directionality.value,new us(s,n,o,a,this._ngZone,this._keyboardDispatcher,this._document,this._location,this._outsideClickDispatcher,this._animationsModuleType==="NoopAnimations")}position(){return this._positionBuilder}_createPaneElement(t){let n=this._document.createElement("div");return n.id=`cdk-overlay-${zm++}`,n.classList.add("cdk-overlay-pane"),t.appendChild(n),n}_createHostElement(){let t=this._document.createElement("div");return this._overlayContainer.getContainerElement().appendChild(t),t}_createPortalOutlet(t){return this._appRef||(this._appRef=this._injector.get(Vt)),new Jn(t,this._componentFactoryResolver,this._appRef,this._injector,this._document)}};e.\u0275fac=function(n){return new(n||e)(f(Pm),f(_c),f(Or),f(Um),f(Lm),f(at),f(I),f(L),f(qe),f(Bt),f(Vm),f(Le,8))},e.\u0275prov=v({token:e,factory:e.\u0275fac,providedIn:"root"});let i=e;return i})(),Hm=[{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"}],vc=new w("cdk-connected-overlay-scroll-strategy",{providedIn:"root",factory:()=>{let i=_(kt);return()=>i.scrollStrategies.reposition()}}),ir=(()=>{let e=class e{constructor(t){this.elementRef=t}};e.\u0275fac=function(n){return new(n||e)(h(F))},e.\u0275dir=C({type:e,selectors:[["","cdk-overlay-origin",""],["","overlay-origin",""],["","cdkOverlayOrigin",""]],exportAs:["cdkOverlayOrigin"],standalone:!0});let i=e;return i})(),ps=(()=>{let e=class e{get offsetX(){return this._offsetX}set offsetX(t){this._offsetX=t,this._position&&this._updatePositionStrategy(this._position)}get offsetY(){return this._offsetY}set offsetY(t){this._offsetY=t,this._position&&this._updatePositionStrategy(this._position)}get disposeOnNavigation(){return this._disposeOnNavigation}set disposeOnNavigation(t){this._disposeOnNavigation=t}constructor(t,n,o,s,a){this._overlay=t,this._dir=a,this._backdropSubscription=Ee.EMPTY,this._attachSubscription=Ee.EMPTY,this._detachSubscription=Ee.EMPTY,this._positionSubscription=Ee.EMPTY,this._disposeOnNavigation=!1,this._ngZone=_(I),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 qi(n,o),this._scrollStrategyFactory=s,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(t){this._position&&(this._updatePositionStrategy(this._position),this._overlayRef.updateSize({width:this.width,minWidth:this.minWidth,height:this.height,minHeight:this.minHeight}),t.origin&&this.open&&this._position.apply()),t.open&&(this.open?this._attachOverlay():this._detachOverlay())}_createOverlay(){(!this.positions||!this.positions.length)&&(this.positions=Hm);let t=this._overlayRef=this._overlay.create(this._buildConfig());this._attachSubscription=t.attachments().subscribe(()=>this.attach.emit()),this._detachSubscription=t.detachments().subscribe(()=>this.detach.emit()),t.keydownEvents().subscribe(n=>{this.overlayKeydown.next(n),n.keyCode===27&&!this.disableClose&&!Ye(n)&&(n.preventDefault(),this._detachOverlay())}),this._overlayRef.outsidePointerEvents().subscribe(n=>{this.overlayOutsideClick.next(n)})}_buildConfig(){let t=this._position=this.positionStrategy||this._createPositionStrategy(),n=new tr({direction:this._dir,positionStrategy:t,scrollStrategy:this.scrollStrategy,hasBackdrop:this.hasBackdrop,disposeOnNavigation:this.disposeOnNavigation});return(this.width||this.width===0)&&(n.width=this.width),(this.height||this.height===0)&&(n.height=this.height),(this.minWidth||this.minWidth===0)&&(n.minWidth=this.minWidth),(this.minHeight||this.minHeight===0)&&(n.minHeight=this.minHeight),this.backdropClass&&(n.backdropClass=this.backdropClass),this.panelClass&&(n.panelClass=this.panelClass),n}_updatePositionStrategy(t){let n=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 t.setOrigin(this._getFlexibleConnectedPositionStrategyOrigin()).withPositions(n).withFlexibleDimensions(this.flexibleDimensions).withPush(this.push).withGrowAfterOpen(this.growAfterOpen).withViewportMargin(this.viewportMargin).withLockedPosition(this.lockPosition).withTransformOriginOn(this.transformOriginSelector)}_createPositionStrategy(){let t=this._overlay.position().flexibleConnectedTo(this._getFlexibleConnectedPositionStrategyOrigin());return this._updatePositionStrategy(t),t}_getFlexibleConnectedPositionStrategyOrigin(){return this.origin instanceof ir?this.origin.elementRef:this.origin}_attachOverlay(){this._overlayRef?this._overlayRef.getConfig().hasBackdrop=this.hasBackdrop:this._createOverlay(),this._overlayRef.hasAttached()||this._overlayRef.attach(this._templatePortal),this.hasBackdrop?this._backdropSubscription=this._overlayRef.backdropClick().subscribe(t=>{this.backdropClick.emit(t)}):this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this.positionChange.observers.length>0&&(this._positionSubscription=this._position.positionChanges.pipe(Zs(()=>this.positionChange.observers.length>0)).subscribe(t=>{this._ngZone.run(()=>this.positionChange.emit(t)),this.positionChange.observers.length===0&&this._positionSubscription.unsubscribe()}))}_detachOverlay(){this._overlayRef&&this._overlayRef.detach(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe()}};e.\u0275fac=function(n){return new(n||e)(h(kt),h(Re),h(Oe),h(vc),h(qe,8))},e.\u0275dir=C({type:e,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",G],lockPosition:[m.HasDecoratorInputTransform,"cdkConnectedOverlayLockPosition","lockPosition",G],flexibleDimensions:[m.HasDecoratorInputTransform,"cdkConnectedOverlayFlexibleDimensions","flexibleDimensions",G],growAfterOpen:[m.HasDecoratorInputTransform,"cdkConnectedOverlayGrowAfterOpen","growAfterOpen",G],push:[m.HasDecoratorInputTransform,"cdkConnectedOverlayPush","push",G],disposeOnNavigation:[m.HasDecoratorInputTransform,"cdkConnectedOverlayDisposeOnNavigation","disposeOnNavigation",G]},outputs:{backdropClick:"backdropClick",positionChange:"positionChange",attach:"attach",detach:"detach",overlayKeydown:"overlayKeydown",overlayOutsideClick:"overlayOutsideClick"},exportAs:["cdkConnectedOverlay"],standalone:!0,features:[ae,we]});let i=e;return i})();function $m(i){return()=>i.scrollStrategies.reposition()}var Wm={provide:vc,deps:[kt],useFactory:$m},yc=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=O({type:e}),e.\u0275inj=T({providers:[kt,Wm],imports:[nt,cc,Wi,Wi]});let i=e;return i})();var Rc=(()=>{let e=class e{constructor(t,n){this._renderer=t,this._elementRef=n,this.onChange=o=>{},this.onTouched=()=>{}}setProperty(t,n){this._renderer.setProperty(this._elementRef.nativeElement,t,n)}registerOnTouched(t){this.onTouched=t}registerOnChange(t){this.onChange=t}setDisabledState(t){this.setProperty("disabled",t)}};e.\u0275fac=function(n){return new(n||e)(h(rn),h(F))},e.\u0275dir=C({type:e});let i=e;return i})(),Gm=(()=>{let e=class e extends Rc{};e.\u0275fac=(()=>{let t;return function(o){return(t||(t=de(e)))(o||e)}})(),e.\u0275dir=C({type:e,features:[q]});let i=e;return i})(),Ic=new w("");var qm={provide:Ic,useExisting:si(()=>kc),multi:!0};function Ym(){let i=jt()?jt().getUserAgent():"";return/android (\d+)/.test(i.toLowerCase())}var Zm=new w(""),kc=(()=>{let e=class e extends Rc{constructor(t,n,o){super(t,n),this._compositionMode=o,this._composing=!1,this._compositionMode==null&&(this._compositionMode=!Ym())}writeValue(t){let n=t??"";this.setProperty("value",n)}_handleInput(t){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(t)}_compositionStart(){this._composing=!0}_compositionEnd(t){this._composing=!1,this._compositionMode&&this.onChange(t)}};e.\u0275fac=function(n){return new(n||e)(h(rn),h(F),h(Zm,8))},e.\u0275dir=C({type:e,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(n,o){n&1&&me("input",function(a){return o._handleInput(a.target.value)})("blur",function(){return o.onTouched()})("compositionstart",function(){return o._compositionStart()})("compositionend",function(a){return o._compositionEnd(a.target.value)})},features:[Q([qm]),q]});let i=e;return i})();function rt(i){return i==null||(typeof i=="string"||Array.isArray(i))&&i.length===0}function Ac(i){return i!=null&&typeof i.length=="number"}var vs=new w(""),ys=new w(""),Xm=/^(?=.{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])?)*$/,rr=class{static min(e){return Km(e)}static max(e){return Qm(e)}static required(e){return Jm(e)}static requiredTrue(e){return ep(e)}static email(e){return tp(e)}static minLength(e){return ip(e)}static maxLength(e){return np(e)}static pattern(e){return rp(e)}static nullValidator(e){return Mc(e)}static compose(e){return Lc(e)}static composeAsync(e){return Vc(e)}};function Km(i){return e=>{if(rt(e.value)||rt(i))return null;let r=parseFloat(e.value);return!isNaN(r)&&r{if(rt(e.value)||rt(i))return null;let r=parseFloat(e.value);return!isNaN(r)&&r>i?{max:{max:i,actual:e.value}}:null}}function Jm(i){return rt(i.value)?{required:!0}:null}function ep(i){return i.value===!0?null:{required:!0}}function tp(i){return rt(i.value)||Xm.test(i.value)?null:{email:!0}}function ip(i){return e=>rt(e.value)||!Ac(e.value)?null:e.value.lengthAc(e.value)&&e.value.length>i?{maxlength:{requiredLength:i,actualLength:e.value.length}}:null}function rp(i){if(!i)return Mc;let e,r;return typeof i=="string"?(r="",i.charAt(0)!=="^"&&(r+="^"),r+=i,i.charAt(i.length-1)!=="$"&&(r+="$"),e=new RegExp(r)):(r=i.toString(),e=i),t=>{if(rt(t.value))return null;let n=t.value;return e.test(n)?null:{pattern:{requiredPattern:r,actualValue:n}}}}function Mc(i){return null}function Tc(i){return i!=null}function Oc(i){return cn(i)?ve(i):i}function Fc(i){let e={};return i.forEach(r=>{e=r!=null?g(g({},e),r):e}),Object.keys(e).length===0?null:e}function Nc(i,e){return e.map(r=>r(i))}function op(i){return!i.validate}function Pc(i){return i.map(e=>op(e)?e:r=>e.validate(r))}function Lc(i){if(!i)return null;let e=i.filter(Tc);return e.length==0?null:function(r){return Fc(Nc(r,e))}}function bs(i){return i!=null?Lc(Pc(i)):null}function Vc(i){if(!i)return null;let e=i.filter(Tc);return e.length==0?null:function(r){let t=Nc(r,e).map(Oc);return Hs(t).pipe(A(Fc))}}function xs(i){return i!=null?Vc(Pc(i)):null}function bc(i,e){return i===null?[e]:Array.isArray(i)?[...i,e]:[i,e]}function jc(i){return i._rawValidators}function Bc(i){return i._rawAsyncValidators}function gs(i){return i?Array.isArray(i)?i:[i]:[]}function or(i,e){return Array.isArray(i)?i.includes(e):i===e}function xc(i,e){let r=gs(e);return gs(i).forEach(n=>{or(r,n)||r.push(n)}),r}function wc(i,e){return gs(e).filter(r=>!or(i,r))}var sr=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(e){this._rawValidators=e||[],this._composedValidatorFn=bs(this._rawValidators)}_setAsyncValidators(e){this._rawAsyncValidators=e||[],this._composedAsyncValidatorFn=xs(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(e){this._onDestroyCallbacks.push(e)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(e=>e()),this._onDestroyCallbacks=[]}reset(e=void 0){this.control&&this.control.reset(e)}hasError(e,r){return this.control?this.control.hasError(e,r):!1}getError(e,r){return this.control?this.control.getError(e,r):null}},At=class extends sr{get formDirective(){return null}get path(){return null}},Mt=class extends sr{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}},_s=class{constructor(e){this._cd=e}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}},sp={"[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"},Sy=ie(g({},sp),{"[class.ng-submitted]":"isSubmitted"}),Uc=(()=>{let e=class e extends _s{constructor(t){super(t)}};e.\u0275fac=function(n){return new(n||e)(h(Mt,2))},e.\u0275dir=C({type:e,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(n,o){n&2&&ne("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:[q]});let i=e;return i})();var Yi="VALID",nr="INVALID",ti="PENDING",Zi="DISABLED";function zc(i){return(ur(i)?i.validators:i)||null}function ap(i){return Array.isArray(i)?bs(i):i||null}function Hc(i,e){return(ur(e)?e.asyncValidators:i)||null}function lp(i){return Array.isArray(i)?xs(i):i||null}function ur(i){return i!=null&&!Array.isArray(i)&&typeof i=="object"}function cp(i,e,r){let t=i.controls;if(!(e?Object.keys(t):t).length)throw new Y(1e3,"");if(!t[r])throw new Y(1001,"")}function dp(i,e,r){i._forEachChild((t,n)=>{if(r[n]===void 0)throw new Y(1002,"")})}var ar=class{constructor(e,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(e),this._assignAsyncValidators(r)}get validator(){return this._composedValidatorFn}set validator(e){this._rawValidators=this._composedValidatorFn=e}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(e){this._rawAsyncValidators=this._composedAsyncValidatorFn=e}get parent(){return this._parent}get valid(){return this.status===Yi}get invalid(){return this.status===nr}get pending(){return this.status==ti}get disabled(){return this.status===Zi}get enabled(){return this.status!==Zi}get dirty(){return!this.pristine}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(e){this._assignValidators(e)}setAsyncValidators(e){this._assignAsyncValidators(e)}addValidators(e){this.setValidators(xc(e,this._rawValidators))}addAsyncValidators(e){this.setAsyncValidators(xc(e,this._rawAsyncValidators))}removeValidators(e){this.setValidators(wc(e,this._rawValidators))}removeAsyncValidators(e){this.setAsyncValidators(wc(e,this._rawAsyncValidators))}hasValidator(e){return or(this._rawValidators,e)}hasAsyncValidator(e){return or(this._rawAsyncValidators,e)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(e={}){this.touched=!0,this._parent&&!e.onlySelf&&this._parent.markAsTouched(e)}markAllAsTouched(){this.markAsTouched({onlySelf:!0}),this._forEachChild(e=>e.markAllAsTouched())}markAsUntouched(e={}){this.touched=!1,this._pendingTouched=!1,this._forEachChild(r=>{r.markAsUntouched({onlySelf:!0})}),this._parent&&!e.onlySelf&&this._parent._updateTouched(e)}markAsDirty(e={}){this.pristine=!1,this._parent&&!e.onlySelf&&this._parent.markAsDirty(e)}markAsPristine(e={}){this.pristine=!0,this._pendingDirty=!1,this._forEachChild(r=>{r.markAsPristine({onlySelf:!0})}),this._parent&&!e.onlySelf&&this._parent._updatePristine(e)}markAsPending(e={}){this.status=ti,e.emitEvent!==!1&&this.statusChanges.emit(this.status),this._parent&&!e.onlySelf&&this._parent.markAsPending(e)}disable(e={}){let r=this._parentMarkedDirty(e.onlySelf);this.status=Zi,this.errors=null,this._forEachChild(t=>{t.disable(ie(g({},e),{onlySelf:!0}))}),this._updateValue(),e.emitEvent!==!1&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors(ie(g({},e),{skipPristineCheck:r})),this._onDisabledChange.forEach(t=>t(!0))}enable(e={}){let r=this._parentMarkedDirty(e.onlySelf);this.status=Yi,this._forEachChild(t=>{t.enable(ie(g({},e),{onlySelf:!0}))}),this.updateValueAndValidity({onlySelf:!0,emitEvent:e.emitEvent}),this._updateAncestors(ie(g({},e),{skipPristineCheck:r})),this._onDisabledChange.forEach(t=>t(!1))}_updateAncestors(e){this._parent&&!e.onlySelf&&(this._parent.updateValueAndValidity(e),e.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}setParent(e){this._parent=e}getRawValue(){return this.value}updateValueAndValidity(e={}){this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===Yi||this.status===ti)&&this._runAsyncValidator(e.emitEvent)),e.emitEvent!==!1&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!e.onlySelf&&this._parent.updateValueAndValidity(e)}_updateTreeValidity(e={emitEvent:!0}){this._forEachChild(r=>r._updateTreeValidity(e)),this.updateValueAndValidity({onlySelf:!0,emitEvent:e.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?Zi:Yi}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(e){if(this.asyncValidator){this.status=ti,this._hasOwnPendingAsyncValidator=!0;let r=Oc(this.asyncValidator(this));this._asyncValidationSubscription=r.subscribe(t=>{this._hasOwnPendingAsyncValidator=!1,this.setErrors(t,{emitEvent:e})})}}_cancelExistingSubscription(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)}setErrors(e,r={}){this.errors=e,this._updateControlsErrors(r.emitEvent!==!1)}get(e){let r=e;return r==null||(Array.isArray(r)||(r=r.split(".")),r.length===0)?null:r.reduce((t,n)=>t&&t._find(n),this)}getError(e,r){let t=r?this.get(r):this;return t&&t.errors?t.errors[e]:null}hasError(e,r){return!!this.getError(e,r)}get root(){let e=this;for(;e._parent;)e=e._parent;return e}_updateControlsErrors(e){this.status=this._calculateStatus(),e&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(e)}_initObservables(){this.valueChanges=new z,this.statusChanges=new z}_calculateStatus(){return this._allControlsDisabled()?Zi:this.errors?nr:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(ti)?ti:this._anyControlsHaveStatus(nr)?nr:Yi}_anyControlsHaveStatus(e){return this._anyControls(r=>r.status===e)}_anyControlsDirty(){return this._anyControls(e=>e.dirty)}_anyControlsTouched(){return this._anyControls(e=>e.touched)}_updatePristine(e={}){this.pristine=!this._anyControlsDirty(),this._parent&&!e.onlySelf&&this._parent._updatePristine(e)}_updateTouched(e={}){this.touched=this._anyControlsTouched(),this._parent&&!e.onlySelf&&this._parent._updateTouched(e)}_registerOnCollectionChange(e){this._onCollectionChange=e}_setUpdateStrategy(e){ur(e)&&e.updateOn!=null&&(this._updateOn=e.updateOn)}_parentMarkedDirty(e){let r=this._parent&&this._parent.dirty;return!e&&!!r&&!this._parent._anyControlsDirty()}_find(e){return null}_assignValidators(e){this._rawValidators=Array.isArray(e)?e.slice():e,this._composedValidatorFn=ap(this._rawValidators)}_assignAsyncValidators(e){this._rawAsyncValidators=Array.isArray(e)?e.slice():e,this._composedAsyncValidatorFn=lp(this._rawAsyncValidators)}},lr=class extends ar{constructor(e,r,t){super(zc(r),Hc(t,r)),this.controls=e,this._initObservables(),this._setUpdateStrategy(r),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}registerControl(e,r){return this.controls[e]?this.controls[e]:(this.controls[e]=r,r.setParent(this),r._registerOnCollectionChange(this._onCollectionChange),r)}addControl(e,r,t={}){this.registerControl(e,r),this.updateValueAndValidity({emitEvent:t.emitEvent}),this._onCollectionChange()}removeControl(e,r={}){this.controls[e]&&this.controls[e]._registerOnCollectionChange(()=>{}),delete this.controls[e],this.updateValueAndValidity({emitEvent:r.emitEvent}),this._onCollectionChange()}setControl(e,r,t={}){this.controls[e]&&this.controls[e]._registerOnCollectionChange(()=>{}),delete this.controls[e],r&&this.registerControl(e,r),this.updateValueAndValidity({emitEvent:t.emitEvent}),this._onCollectionChange()}contains(e){return this.controls.hasOwnProperty(e)&&this.controls[e].enabled}setValue(e,r={}){dp(this,!0,e),Object.keys(e).forEach(t=>{cp(this,!0,t),this.controls[t].setValue(e[t],{onlySelf:!0,emitEvent:r.emitEvent})}),this.updateValueAndValidity(r)}patchValue(e,r={}){e!=null&&(Object.keys(e).forEach(t=>{let n=this.controls[t];n&&n.patchValue(e[t],{onlySelf:!0,emitEvent:r.emitEvent})}),this.updateValueAndValidity(r))}reset(e={},r={}){this._forEachChild((t,n)=>{t.reset(e?e[n]:null,{onlySelf:!0,emitEvent:r.emitEvent})}),this._updatePristine(r),this._updateTouched(r),this.updateValueAndValidity(r)}getRawValue(){return this._reduceChildren({},(e,r,t)=>(e[t]=r.getRawValue(),e))}_syncPendingControls(){let e=this._reduceChildren(!1,(r,t)=>t._syncPendingControls()?!0:r);return e&&this.updateValueAndValidity({onlySelf:!0}),e}_forEachChild(e){Object.keys(this.controls).forEach(r=>{let t=this.controls[r];t&&e(t,r)})}_setUpControls(){this._forEachChild(e=>{e.setParent(this),e._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(e){for(let[r,t]of Object.entries(this.controls))if(this.contains(r)&&e(t))return!0;return!1}_reduceValue(){let e={};return this._reduceChildren(e,(r,t,n)=>((t.enabled||this.disabled)&&(r[n]=t.value),r))}_reduceChildren(e,r){let t=e;return this._forEachChild((n,o)=>{t=r(t,n,o)}),t}_allControlsDisabled(){for(let e of Object.keys(this.controls))if(this.controls[e].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_find(e){return this.controls.hasOwnProperty(e)?this.controls[e]:null}};var fr=new w("CallSetDisabledState",{providedIn:"root",factory:()=>ws}),ws="always";function hp(i,e){return[...e.path,i]}function cr(i,e,r=ws){Cs(i,e),e.valueAccessor.writeValue(i.value),(i.disabled||r==="always")&&e.valueAccessor.setDisabledState?.(i.disabled),fp(i,e),pp(i,e),mp(i,e),up(i,e)}function Cc(i,e,r=!0){let t=()=>{};e.valueAccessor&&(e.valueAccessor.registerOnChange(t),e.valueAccessor.registerOnTouched(t)),hr(i,e),i&&(e._invokeOnDestroyCallbacks(),i._registerOnCollectionChange(()=>{}))}function dr(i,e){i.forEach(r=>{r.registerOnValidatorChange&&r.registerOnValidatorChange(e)})}function up(i,e){if(e.valueAccessor.setDisabledState){let r=t=>{e.valueAccessor.setDisabledState(t)};i.registerOnDisabledChange(r),e._registerOnDestroy(()=>{i._unregisterOnDisabledChange(r)})}}function Cs(i,e){let r=jc(i);e.validator!==null?i.setValidators(bc(r,e.validator)):typeof r=="function"&&i.setValidators([r]);let t=Bc(i);e.asyncValidator!==null?i.setAsyncValidators(bc(t,e.asyncValidator)):typeof t=="function"&&i.setAsyncValidators([t]);let n=()=>i.updateValueAndValidity();dr(e._rawValidators,n),dr(e._rawAsyncValidators,n)}function hr(i,e){let r=!1;if(i!==null){if(e.validator!==null){let n=jc(i);if(Array.isArray(n)&&n.length>0){let o=n.filter(s=>s!==e.validator);o.length!==n.length&&(r=!0,i.setValidators(o))}}if(e.asyncValidator!==null){let n=Bc(i);if(Array.isArray(n)&&n.length>0){let o=n.filter(s=>s!==e.asyncValidator);o.length!==n.length&&(r=!0,i.setAsyncValidators(o))}}}let t=()=>{};return dr(e._rawValidators,t),dr(e._rawAsyncValidators,t),r}function fp(i,e){e.valueAccessor.registerOnChange(r=>{i._pendingValue=r,i._pendingChange=!0,i._pendingDirty=!0,i.updateOn==="change"&&$c(i,e)})}function mp(i,e){e.valueAccessor.registerOnTouched(()=>{i._pendingTouched=!0,i.updateOn==="blur"&&i._pendingChange&&$c(i,e),i.updateOn!=="submit"&&i.markAsTouched()})}function $c(i,e){i._pendingDirty&&i.markAsDirty(),i.setValue(i._pendingValue,{emitModelToViewChange:!1}),e.viewToModelUpdate(i._pendingValue),i._pendingChange=!1}function pp(i,e){let r=(t,n)=>{e.valueAccessor.writeValue(t),n&&e.viewToModelUpdate(t)};i.registerOnChange(r),e._registerOnDestroy(()=>{i._unregisterOnChange(r)})}function Wc(i,e){i==null,Cs(i,e)}function gp(i,e){return hr(i,e)}function _p(i,e){if(!i.hasOwnProperty("model"))return!1;let r=i.model;return r.isFirstChange()?!0:!Object.is(e,r.currentValue)}function vp(i){return Object.getPrototypeOf(i.constructor)===Gm}function Gc(i,e){i._syncPendingControls(),e.forEach(r=>{let t=r.control;t.updateOn==="submit"&&t._pendingChange&&(r.viewToModelUpdate(t._pendingValue),t._pendingChange=!1)})}function yp(i,e){if(!e)return null;Array.isArray(e);let r,t,n;return e.forEach(o=>{o.constructor===kc?r=o:vp(o)?t=o:n=o}),n||t||r||null}function bp(i,e){let r=i.indexOf(e);r>-1&&i.splice(r,1)}var xp={provide:At,useExisting:si(()=>Ds)},Xi=Promise.resolve(),Ds=(()=>{let e=class e extends At{constructor(t,n,o){super(),this.callSetDisabledState=o,this.submitted=!1,this._directives=new Set,this.ngSubmit=new z,this.form=new lr({},bs(t),xs(n))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(t){Xi.then(()=>{let n=this._findContainer(t.path);t.control=n.registerControl(t.name,t.control),cr(t.control,t,this.callSetDisabledState),t.control.updateValueAndValidity({emitEvent:!1}),this._directives.add(t)})}getControl(t){return this.form.get(t.path)}removeControl(t){Xi.then(()=>{let n=this._findContainer(t.path);n&&n.removeControl(t.name),this._directives.delete(t)})}addFormGroup(t){Xi.then(()=>{let n=this._findContainer(t.path),o=new lr({});Wc(o,t),n.registerControl(t.name,o),o.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(t){Xi.then(()=>{let n=this._findContainer(t.path);n&&n.removeControl(t.name)})}getFormGroup(t){return this.form.get(t.path)}updateModel(t,n){Xi.then(()=>{this.form.get(t.path).setValue(n)})}setValue(t){this.control.setValue(t)}onSubmit(t){return this.submitted=!0,Gc(this.form,this._directives),this.ngSubmit.emit(t),t?.target?.method==="dialog"}onReset(){this.resetForm()}resetForm(t=void 0){this.form.reset(t),this.submitted=!1}_setUpdateStrategy(){this.options&&this.options.updateOn!=null&&(this.form._updateOn=this.options.updateOn)}_findContainer(t){return t.pop(),t.length?this.form.get(t):this.form}};e.\u0275fac=function(n){return new(n||e)(h(vs,10),h(ys,10),h(fr,8))},e.\u0275dir=C({type:e,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(n,o){n&1&&me("submit",function(a){return o.onSubmit(a)})("reset",function(){return o.onReset()})},inputs:{options:[m.None,"ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[Q([xp]),q]});let i=e;return i})();function Dc(i,e){let r=i.indexOf(e);r>-1&&i.splice(r,1)}function Ec(i){return typeof i=="object"&&i!==null&&Object.keys(i).length===2&&"value"in i&&"disabled"in i}var qc=class extends ar{constructor(e=null,r,t){super(zc(r),Hc(t,r)),this.defaultValue=null,this._onChange=[],this._pendingChange=!1,this._applyFormState(e),this._setUpdateStrategy(r),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),ur(r)&&(r.nonNullable||r.initialValueIsDefault)&&(Ec(e)?this.defaultValue=e.value:this.defaultValue=e)}setValue(e,r={}){this.value=this._pendingValue=e,this._onChange.length&&r.emitModelToViewChange!==!1&&this._onChange.forEach(t=>t(this.value,r.emitViewToModelChange!==!1)),this.updateValueAndValidity(r)}patchValue(e,r={}){this.setValue(e,r)}reset(e=this.defaultValue,r={}){this._applyFormState(e),this.markAsPristine(r),this.markAsUntouched(r),this.setValue(this.value,r),this._pendingChange=!1}_updateValue(){}_anyControls(e){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(e){this._onChange.push(e)}_unregisterOnChange(e){Dc(this._onChange,e)}registerOnDisabledChange(e){this._onDisabledChange.push(e)}_unregisterOnDisabledChange(e){Dc(this._onDisabledChange,e)}_forEachChild(e){}_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(e){Ec(e)?(this.value=this._pendingValue=e.value,e.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=e}};var wp=i=>i instanceof qc;var Cp={provide:Mt,useExisting:si(()=>Es)},Sc=Promise.resolve(),Es=(()=>{let e=class e extends Mt{constructor(t,n,o,s,a,c){super(),this._changeDetectorRef=a,this.callSetDisabledState=c,this.control=new qc,this._registered=!1,this.name="",this.update=new z,this._parent=t,this._setValidators(n),this._setAsyncValidators(o),this.valueAccessor=yp(this,s)}ngOnChanges(t){if(this._checkForErrors(),!this._registered||"name"in t){if(this._registered&&(this._checkName(),this.formDirective)){let n=t.name.previousValue;this.formDirective.removeControl({name:n,path:this._getPath(n)})}this._setUpControl()}"isDisabled"in t&&this._updateDisabled(t),_p(t,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(t){this.viewModel=t,this.update.emit(t)}_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(){cr(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(t){Sc.then(()=>{this.control.setValue(t,{emitViewToModelChange:!1}),this._changeDetectorRef?.markForCheck()})}_updateDisabled(t){let n=t.isDisabled.currentValue,o=n!==0&&G(n);Sc.then(()=>{o&&!this.control.disabled?this.control.disable():!o&&this.control.disabled&&this.control.enable(),this._changeDetectorRef?.markForCheck()})}_getPath(t){return this._parent?hp(t,this._parent):[t]}};e.\u0275fac=function(n){return new(n||e)(h(At,9),h(vs,10),h(ys,10),h(Ic,10),h(Se,8),h(fr,8))},e.\u0275dir=C({type:e,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:[Q([Cp]),q,we]});let i=e;return i})();var Dp={provide:At,useExisting:si(()=>Ss)},Ss=(()=>{let e=class e extends At{constructor(t,n,o){super(),this.callSetDisabledState=o,this.submitted=!1,this._onCollectionChange=()=>this._updateDomValue(),this.directives=[],this.form=null,this.ngSubmit=new z,this._setValidators(t),this._setAsyncValidators(n)}ngOnChanges(t){this._checkFormPresent(),t.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}ngOnDestroy(){this.form&&(hr(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(()=>{}))}get formDirective(){return this}get control(){return this.form}get path(){return[]}addControl(t){let n=this.form.get(t.path);return cr(n,t,this.callSetDisabledState),n.updateValueAndValidity({emitEvent:!1}),this.directives.push(t),n}getControl(t){return this.form.get(t.path)}removeControl(t){Cc(t.control||null,t,!1),bp(this.directives,t)}addFormGroup(t){this._setUpFormContainer(t)}removeFormGroup(t){this._cleanUpFormContainer(t)}getFormGroup(t){return this.form.get(t.path)}addFormArray(t){this._setUpFormContainer(t)}removeFormArray(t){this._cleanUpFormContainer(t)}getFormArray(t){return this.form.get(t.path)}updateModel(t,n){this.form.get(t.path).setValue(n)}onSubmit(t){return this.submitted=!0,Gc(this.form,this.directives),this.ngSubmit.emit(t),t?.target?.method==="dialog"}onReset(){this.resetForm()}resetForm(t=void 0){this.form.reset(t),this.submitted=!1}_updateDomValue(){this.directives.forEach(t=>{let n=t.control,o=this.form.get(t.path);n!==o&&(Cc(n||null,t),wp(o)&&(cr(o,t,this.callSetDisabledState),t.control=o))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(t){let n=this.form.get(t.path);Wc(n,t),n.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(t){if(this.form){let n=this.form.get(t.path);n&&gp(n,t)&&n.updateValueAndValidity({emitEvent:!1})}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{})}_updateValidators(){Cs(this.form,this),this._oldForm&&hr(this._oldForm,this)}_checkFormPresent(){this.form}};e.\u0275fac=function(n){return new(n||e)(h(vs,10),h(ys,10),h(fr,8))},e.\u0275dir=C({type:e,selectors:[["","formGroup",""]],hostBindings:function(n,o){n&1&&me("submit",function(a){return o.onSubmit(a)})("reset",function(){return o.onReset()})},inputs:{form:[m.None,"formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[Q([Dp]),q,we]});let i=e;return i})();var Ep=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=O({type:e}),e.\u0275inj=T({});let i=e;return i})();var Yc=(()=>{let e=class e{static withConfig(t){return{ngModule:e,providers:[{provide:fr,useValue:t.callSetDisabledState??ws}]}}};e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=O({type:e}),e.\u0275inj=T({imports:[Ep]});let i=e;return i})();var Sp=["trigger"],Rp=["panel"],Ip=[[["mat-select-trigger"]],"*"],kp=["mat-select-trigger","*"];function Ap(i,e){if(i&1&&(y(0,"span",4),le(1),x()),i&2){let r=H();D(),We(r.placeholder)}}function Mp(i,e){i&1&&K(0)}function Tp(i,e){if(i&1&&(y(0,"span",11),le(1),x()),i&2){let r=H(2);D(),We(r.triggerValue)}}function Op(i,e){if(i&1&&(y(0,"span",10),j(1,Mp,1,0)(2,Tp,2,1),x()),i&2){let r=H();D(),W(1,r.customTrigger?1:2)}}function Fp(i,e){if(i&1){let r=ht();y(0,"div",12,1),me("@transformPanel.done",function(n){Me(r);let o=H();return Te(o._panelDoneAnimatingStream.next(n.toState))})("keydown",function(n){Me(r);let o=H();return Te(o._handleKeydown(n))}),K(2,1),x()}if(i&2){let r=H();aa("mat-mdc-select-panel mdc-menu-surface mdc-menu-surface--open ",r._getPanelTheme(),""),Z("ngClass",r.panelClass)("@transformPanel","showing"),he("id",r.id+"-panel")("aria-multiselectable",r.multiple)("aria-label",r.ariaLabel||null)("aria-labelledby",r._getPanelAriaLabelledby())}}var Np={transformPanelWrap:fi("transformPanelWrap",[Ut("* => void",Ra("@transformPanel",[Sa()],{optional:!0}))]),transformPanel:fi("transformPanel",[fn("void",gt({opacity:0,transform:"scale(1, 0.8)"})),Ut("void => showing",mi("120ms cubic-bezier(0, 0, 0.2, 1)",gt({opacity:1,transform:"scale(1, 1)"}))),Ut("* => void",mi("100ms linear",gt({opacity:0})))])};var Xc=0,Kc=new w("mat-select-scroll-strategy",{providedIn:"root",factory:()=>{let i=_(kt);return()=>i.scrollStrategies.reposition()}});function Pp(i){return()=>i.scrollStrategies.reposition()}var Lp=new w("MAT_SELECT_CONFIG"),Vp={provide:Kc,deps:[kt],useFactory:Pp},jp=new w("MatSelectTrigger"),Rs=class{constructor(e,r){this.source=e,this.value=r}},Qc=(()=>{let e=class e{_scrollOptionIntoView(t){let n=this.options.toArray()[t];if(n){let o=this.panel.nativeElement,s=Zl(t,this.options,this.optionGroups),a=n._getHostElement();t===0&&s===1?o.scrollTop=0:o.scrollTop=Xl(a.offsetTop,a.offsetHeight,o.scrollTop,o.offsetHeight)}}_positioningSettled(){this._scrollOptionIntoView(this._keyManager.activeItemIndex||0)}_getChangeEvent(t){return new Rs(this,t)}get focused(){return this._focused||this._panelOpen}get hideSingleSelectionIndicator(){return this._hideSingleSelectionIndicator}set hideSingleSelectionIndicator(t){this._hideSingleSelectionIndicator=t,this._syncParentProperties()}get placeholder(){return this._placeholder}set placeholder(t){this._placeholder=t,this.stateChanges.next()}get required(){return this._required??this.ngControl?.control?.hasValidator(rr.required)??!1}set required(t){this._required=t,this.stateChanges.next()}get multiple(){return this._multiple}set multiple(t){this._selectionModel,this._multiple=t}get compareWith(){return this._compareWith}set compareWith(t){this._compareWith=t,this._selectionModel&&this._initializeSelection()}get value(){return this._value}set value(t){this._assignValue(t)&&this._onChange(t)}get errorStateMatcher(){return this._errorStateTracker.matcher}set errorStateMatcher(t){this._errorStateTracker.matcher=t}get id(){return this._id}set id(t){this._id=t||this._uid,this.stateChanges.next()}get errorState(){return this._errorStateTracker.errorState}set errorState(t){this._errorStateTracker.errorState=t}constructor(t,n,o,s,a,c,l,d,u,p,b,B,V,S){this._viewportRuler=t,this._changeDetectorRef=n,this._elementRef=a,this._dir=c,this._parentFormField=u,this.ngControl=p,this._liveAnnouncer=V,this._defaultOptions=S,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=(R,Ce)=>R===Ce,this._uid=`mat-select-${Xc++}`,this._triggerAriaLabelledBy=null,this._destroy=new k,this.stateChanges=new k,this._onChange=()=>{},this._onTouched=()=>{},this._valueId=`mat-select-value-${Xc++}`,this._panelDoneAnimatingStream=new k,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 k,this.optionSelectionChanges=oi(()=>{let R=this.options;return R?R.changes.pipe(Qe(R),xe(()=>Xe(...R.map(Ce=>Ce.onSelectionChange)))):this._initialized.pipe(xe(()=>this.optionSelectionChanges))}),this.openedChange=new z,this._openedStream=this.openedChange.pipe(ce(R=>R),A(()=>{})),this._closedStream=this.openedChange.pipe(ce(R=>!R),A(()=>{})),this.selectionChange=new z,this.valueChange=new z,this._trackedModal=null,this._skipPredicate=R=>this.panelOpen?!1:R.disabled,this.ngControl&&(this.ngControl.valueAccessor=this),S?.typeaheadDebounceInterval!=null&&(this.typeaheadDebounceInterval=S.typeaheadDebounceInterval),this._errorStateTracker=new Hi(s,p,d,l,this.stateChanges),this._scrollStrategyFactory=B,this._scrollStrategy=this._scrollStrategyFactory(),this.tabIndex=parseInt(b)||0,this.id=this.id}ngOnInit(){this._selectionModel=new Xn(this.multiple),this.stateChanges.next(),this._panelDoneAnimatingStream.pipe(en(),U(this._destroy)).subscribe(()=>this._panelDoneAnimating(this.panelOpen)),this._viewportRuler.change().pipe(U(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(U(this._destroy)).subscribe(t=>{t.added.forEach(n=>n.select()),t.removed.forEach(n=>n.deselect())}),this.options.changes.pipe(Qe(null),U(this._destroy)).subscribe(()=>{this._resetOptions(),this._initializeSelection()})}ngDoCheck(){let t=this._getTriggerAriaLabelledby(),n=this.ngControl;if(t!==this._triggerAriaLabelledBy){let o=this._elementRef.nativeElement;this._triggerAriaLabelledBy=t,t?o.setAttribute("aria-labelledby",t):o.removeAttribute("aria-labelledby")}n&&(this._previousControl!==n.control&&(this._previousControl!==void 0&&n.disabled!==null&&n.disabled!==this.disabled&&(this.disabled=n.disabled),this._previousControl=n.control),this.updateErrorState())}ngOnChanges(t){(t.disabled||t.userAriaDescribedBy)&&this.stateChanges.next(),t.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 t=this._elementRef.nativeElement.closest('body > .cdk-overlay-container [aria-modal="true"]');if(!t)return;let n=`${this.id}-panel`;this._trackedModal&&Zo(this._trackedModal,"aria-owns",n),Pl(t,"aria-owns",n),this._trackedModal=t}_clearFromModal(){if(!this._trackedModal)return;let t=`${this.id}-panel`;Zo(this._trackedModal,"aria-owns",t),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(t){this._assignValue(t)}registerOnChange(t){this._onChange=t}registerOnTouched(t){this._onTouched=t}setDisabledState(t){this.disabled=t,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 t=this._selectionModel.selected.map(n=>n.viewValue);return this._isRtl()&&t.reverse(),t.join(", ")}return this._selectionModel.selected[0].viewValue}updateErrorState(){this._errorStateTracker.updateErrorState()}_isRtl(){return this._dir?this._dir.value==="rtl":!1}_handleKeydown(t){this.disabled||(this.panelOpen?this._handleOpenKeydown(t):this._handleClosedKeydown(t))}_handleClosedKeydown(t){let n=t.keyCode,o=n===40||n===38||n===37||n===39,s=n===13||n===32,a=this._keyManager;if(!a.isTyping()&&s&&!Ye(t)||(this.multiple||t.altKey)&&o)t.preventDefault(),this.open();else if(!this.multiple){let c=this.selected;a.onKeydown(t);let l=this.selected;l&&c!==l&&this._liveAnnouncer.announce(l.viewValue,1e4)}}_handleOpenKeydown(t){let n=this._keyManager,o=t.keyCode,s=o===40||o===38,a=n.isTyping();if(s&&t.altKey)t.preventDefault(),this.close();else if(!a&&(o===13||o===32)&&n.activeItem&&!Ye(t))t.preventDefault(),n.activeItem._selectViaInteraction();else if(!a&&this._multiple&&o===65&&t.ctrlKey){t.preventDefault();let c=this.options.some(l=>!l.disabled&&!l.selected);this.options.forEach(l=>{l.disabled||(c?l.select():l.deselect())})}else{let c=n.activeItemIndex;n.onKeydown(t),this._multiple&&s&&t.shiftKey&&n.activeItem&&n.activeItemIndex!==c&&n.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(be(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(t){if(this.options.forEach(n=>n.setInactiveStyles()),this._selectionModel.clear(),this.multiple&&t)Array.isArray(t),t.forEach(n=>this._selectOptionByValue(n)),this._sortValues();else{let n=this._selectOptionByValue(t);n?this._keyManager.updateActiveItem(n):this.panelOpen||this._keyManager.updateActiveItem(-1)}this._changeDetectorRef.markForCheck()}_selectOptionByValue(t){let n=this.options.find(o=>{if(this._selectionModel.isSelected(o))return!1;try{return o.value!=null&&this._compareWith(o.value,t)}catch{return!1}});return n&&this._selectionModel.select(n),n}_assignValue(t){return t!==this._value||this._multiple&&Array.isArray(t)?(this.options&&this._setSelectionByValue(t),this._value=t,!0):!1}_getOverlayWidth(t){return this.panelWidth==="auto"?(t instanceof ir?t.elementRef:t||this._elementRef).nativeElement.getBoundingClientRect().width:this.panelWidth===null?"":this.panelWidth}_syncParentProperties(){if(this.options)for(let t of this.options)t._changeDetectorRef.markForCheck()}_initKeyManager(){this._keyManager=new Bn(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 t=Xe(this.options.changes,this._destroy);this.optionSelectionChanges.pipe(U(t)).subscribe(n=>{this._onSelect(n.source,n.isUserInput),n.isUserInput&&!this.multiple&&this._panelOpen&&(this.close(),this.focus())}),Xe(...this.options.map(n=>n._stateChanges)).pipe(U(t)).subscribe(()=>{this._changeDetectorRef.detectChanges(),this.stateChanges.next()})}_onSelect(t,n){let o=this._selectionModel.isSelected(t);t.value==null&&!this._multiple?(t.deselect(),this._selectionModel.clear(),this.value!=null&&this._propagateChanges(t.value)):(o!==t.selected&&(t.selected?this._selectionModel.select(t):this._selectionModel.deselect(t)),n&&this._keyManager.setActiveItem(t),this.multiple&&(this._sortValues(),n&&this.focus())),o!==this._selectionModel.isSelected(t)&&this._propagateChanges(),this.stateChanges.next()}_sortValues(){if(this.multiple){let t=this.options.toArray();this._selectionModel.sort((n,o)=>this.sortComparator?this.sortComparator(n,o,t):t.indexOf(n)-t.indexOf(o)),this.stateChanges.next()}}_propagateChanges(t){let n;this.multiple?n=this.selected.map(o=>o.value):n=this.selected?this.selected.value:t,this._value=n,this.valueChange.emit(n),this._onChange(n),this.selectionChange.emit(this._getChangeEvent(n)),this._changeDetectorRef.markForCheck()}_highlightCorrectOption(){if(this._keyManager)if(this.empty){let t=-1;for(let n=0;n0}focus(t){this._elementRef.nativeElement.focus(t)}_getPanelAriaLabelledby(){if(this.ariaLabel)return null;let t=this._parentFormField?.getLabelId(),n=t?t+" ":"";return this.ariaLabelledby?n+this.ariaLabelledby:t}_getAriaActiveDescendant(){return this.panelOpen&&this._keyManager&&this._keyManager.activeItem?this._keyManager.activeItem.id:null}_getTriggerAriaLabelledby(){if(this.ariaLabel)return null;let t=this._parentFormField?.getLabelId(),n=(t?t+" ":"")+this._valueId;return this.ariaLabelledby&&(n+=" "+this.ariaLabelledby),n}_panelDoneAnimating(t){this.openedChange.emit(t)}setDescribedByIds(t){t.length?this._elementRef.nativeElement.setAttribute("aria-describedby",t.join(" ")):this._elementRef.nativeElement.removeAttribute("aria-describedby")}onContainerClick(){this.focus(),this.open()}get shouldLabelFloat(){return this.panelOpen||!this.empty||this.focused&&!!this.placeholder}};e.\u0275fac=function(n){return new(n||e)(h(Rt),h(Se),h(I),h(Yl),h(F),h(qe,8),h(Ds,8),h(Ss,8),h(Zn,8),h(Mt,10),Lt("tabindex"),h(Kc),h(Bl),h(Lp,8))},e.\u0275cmp=ee({type:e,selectors:[["mat-select"]],contentQueries:function(n,o,s){if(n&1&&(oe(s,jp,5),oe(s,Wn,5),oe(s,ts,5)),n&2){let a;N(a=P())&&(o.customTrigger=a.first),N(a=P())&&(o.options=a),N(a=P())&&(o.optionGroups=a)}},viewQuery:function(n,o){if(n&1&&(pe(Sp,5),pe(Rp,5),pe(ps,5)),n&2){let s;N(s=P())&&(o.trigger=s.first),N(s=P())&&(o.panel=s.first),N(s=P())&&(o._overlayDir=s.first)}},hostAttrs:["role","combobox","aria-autocomplete","none","aria-haspopup","listbox",1,"mat-mdc-select"],hostVars:19,hostBindings:function(n,o){n&1&&me("keydown",function(a){return o._handleKeydown(a)})("focus",function(){return o._onFocus()})("blur",function(){return o._onBlur()}),n&2&&(he("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()),ne("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",G],disableRipple:[m.HasDecoratorInputTransform,"disableRipple","disableRipple",G],tabIndex:[m.HasDecoratorInputTransform,"tabIndex","tabIndex",t=>t==null?0:pt(t)],hideSingleSelectionIndicator:[m.HasDecoratorInputTransform,"hideSingleSelectionIndicator","hideSingleSelectionIndicator",G],placeholder:"placeholder",required:[m.HasDecoratorInputTransform,"required","required",G],multiple:[m.HasDecoratorInputTransform,"multiple","multiple",G],disableOptionCentering:[m.HasDecoratorInputTransform,"disableOptionCentering","disableOptionCentering",G],compareWith:"compareWith",value:"value",ariaLabel:[m.None,"aria-label","ariaLabel"],ariaLabelledby:[m.None,"aria-labelledby","ariaLabelledby"],errorStateMatcher:"errorStateMatcher",typeaheadDebounceInterval:[m.HasDecoratorInputTransform,"typeaheadDebounceInterval","typeaheadDebounceInterval",pt],sortComparator:"sortComparator",id:"id",panelWidth:"panelWidth"},outputs:{openedChange:"openedChange",_openedStream:"opened",_closedStream:"closed",selectionChange:"selectionChange",valueChange:"valueChange"},exportAs:["matSelect"],standalone:!0,features:[Q([{provide:Yn,useExisting:e},{provide:es,useExisting:e}]),ae,we,te],ngContentSelectors:kp,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(n,o){if(n&1){let s=ht();Fe(Ip),y(0,"div",2,0),me("click",function(){return Me(s),Te(o.open())}),y(3,"div",3),j(4,Ap,2,1,"span",4)(5,Op,3,1),x(),y(6,"div",5)(7,"div",6),li(),y(8,"svg",7),X(9,"path",8),x()()()(),j(10,Fp,3,9,"ng-template",9),me("backdropClick",function(){return Me(s),Te(o.close())})("attach",function(){return Me(s),Te(o._onAttached())})("detach",function(){return Me(s),Te(o.close())})}if(n&2){let s=ut(1);D(3),he("id",o._valueId),D(),W(4,o.empty?4:5),D(6),Z("cdkConnectedOverlayPanelClass",o._overlayPanelClass)("cdkConnectedOverlayScrollStrategy",o._scrollStrategy)("cdkConnectedOverlayOrigin",o._preferredOverlayOrigin||s)("cdkConnectedOverlayOpen",o.panelOpen)("cdkConnectedOverlayPositions",o._positions)("cdkConnectedOverlayWidth",o._overlayWidth)}},dependencies:[ir,ps,ya],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:[Np.transformPanel]},changeDetection:0});let i=e;return i})();var Jc=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=O({type:e}),e.\u0275inj=T({providers:[Vp],imports:[Ge,yc,is,_e,Qn,St,is,_e]});let i=e;return i})();var zp=[[["caption"]],[["colgroup"],["col"]],"*"],Hp=["caption","colgroup, col","*"];function $p(i,e){i&1&&K(0,2)}function Wp(i,e){i&1&&(y(0,"thead",0),fe(1,1),x(),y(2,"tbody",0),fe(3,2)(4,3),x(),y(5,"tfoot",0),fe(6,4),x())}function Gp(i,e){i&1&&fe(0,1)(1,2)(2,3)(3,4)}var Ve=new w("CDK_TABLE");var yr=(()=>{let e=class e{constructor(t){this.template=t}};e.\u0275fac=function(n){return new(n||e)(h(Re))},e.\u0275dir=C({type:e,selectors:[["","cdkCellDef",""]],standalone:!0});let i=e;return i})(),br=(()=>{let e=class e{constructor(t){this.template=t}};e.\u0275fac=function(n){return new(n||e)(h(Re))},e.\u0275dir=C({type:e,selectors:[["","cdkHeaderCellDef",""]],standalone:!0});let i=e;return i})(),id=(()=>{let e=class e{constructor(t){this.template=t}};e.\u0275fac=function(n){return new(n||e)(h(Re))},e.\u0275dir=C({type:e,selectors:[["","cdkFooterCellDef",""]],standalone:!0});let i=e;return i})(),ii=(()=>{let e=class e{get name(){return this._name}set name(t){this._setNameInput(t)}get sticky(){return this._sticky}set sticky(t){t!==this._sticky&&(this._sticky=t,this._hasStickyChanged=!0)}get stickyEnd(){return this._stickyEnd}set stickyEnd(t){t!==this._stickyEnd&&(this._stickyEnd=t,this._hasStickyChanged=!0)}constructor(t){this._table=t,this._hasStickyChanged=!1,this._sticky=!1,this._stickyEnd=!1}hasStickyChanged(){let t=this._hasStickyChanged;return this.resetStickyChanged(),t}resetStickyChanged(){this._hasStickyChanged=!1}_updateColumnCssClassName(){this._columnCssClassName=[`cdk-column-${this.cssClassFriendlyName}`]}_setNameInput(t){t&&(this._name=t,this.cssClassFriendlyName=t.replace(/[^a-z0-9_-]/gi,"-"),this._updateColumnCssClassName())}};e.\u0275fac=function(n){return new(n||e)(h(Ve,8))},e.\u0275dir=C({type:e,selectors:[["","cdkColumnDef",""]],contentQueries:function(n,o,s){if(n&1&&(oe(s,yr,5),oe(s,br,5),oe(s,id,5)),n&2){let a;N(a=P())&&(o.cell=a.first),N(a=P())&&(o.headerCell=a.first),N(a=P())&&(o.footerCell=a.first)}},inputs:{name:[m.None,"cdkColumnDef","name"],sticky:[m.HasDecoratorInputTransform,"sticky","sticky",G],stickyEnd:[m.HasDecoratorInputTransform,"stickyEnd","stickyEnd",G]},standalone:!0,features:[Q([{provide:"MAT_SORT_HEADER_COLUMN_DEF",useExisting:e}]),ae]});let i=e;return i})(),pr=class{constructor(e,r){r.nativeElement.classList.add(...e._columnCssClassName)}},nd=(()=>{let e=class e extends pr{constructor(t,n){super(t,n)}};e.\u0275fac=function(n){return new(n||e)(h(ii),h(F))},e.\u0275dir=C({type:e,selectors:[["cdk-header-cell"],["th","cdk-header-cell",""]],hostAttrs:["role","columnheader",1,"cdk-header-cell"],standalone:!0,features:[q]});let i=e;return i})();var rd=(()=>{let e=class e extends pr{constructor(t,n){super(t,n);let o=t._table?._getCellRole();o&&n.nativeElement.setAttribute("role",o)}};e.\u0275fac=function(n){return new(n||e)(h(ii),h(F))},e.\u0275dir=C({type:e,selectors:[["cdk-cell"],["td","cdk-cell",""]],hostAttrs:[1,"cdk-cell"],standalone:!0,features:[q]});let i=e;return i})(),gr=class{constructor(){this.tasks=[],this.endTasks=[]}},_r=new w("_COALESCED_STYLE_SCHEDULER"),ks=(()=>{let e=class e{constructor(t){this._ngZone=t,this._currentSchedule=null,this._destroyed=new k}schedule(t){this._createScheduleIfNeeded(),this._currentSchedule.tasks.push(t)}scheduleEnd(t){this._createScheduleIfNeeded(),this._currentSchedule.endTasks.push(t)}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete()}_createScheduleIfNeeded(){this._currentSchedule||(this._currentSchedule=new gr,this._getScheduleObservable().pipe(U(this._destroyed)).subscribe(()=>{for(;this._currentSchedule.tasks.length||this._currentSchedule.endTasks.length;){let t=this._currentSchedule;this._currentSchedule=new gr;for(let n of t.tasks)n();for(let n of t.endTasks)n()}this._currentSchedule=null}))}_getScheduleObservable(){return this._ngZone.isStable?ve(Promise.resolve(void 0)):this._ngZone.onStable.pipe(be(1))}};e.\u0275fac=function(n){return new(n||e)(f(I))},e.\u0275prov=v({token:e,factory:e.\u0275fac});let i=e;return i})();var As=(()=>{let e=class e{constructor(t,n){this.template=t,this._differs=n}ngOnChanges(t){if(!this._columnsDiffer){let n=t.columns&&t.columns.currentValue||[];this._columnsDiffer=this._differs.find(n).create(),this._columnsDiffer.diff(n)}}getColumnsDiff(){return this._columnsDiffer.diff(this.columns)}extractCellTemplate(t){return this instanceof Ki?t.headerCell.template:this instanceof Ms?t.footerCell.template:t.cell.template}};e.\u0275fac=function(n){return new(n||e)(h(Re),h(mt))},e.\u0275dir=C({type:e,features:[we]});let i=e;return i})(),Ki=(()=>{let e=class e extends As{get sticky(){return this._sticky}set sticky(t){t!==this._sticky&&(this._sticky=t,this._hasStickyChanged=!0)}constructor(t,n,o){super(t,n),this._table=o,this._hasStickyChanged=!1,this._sticky=!1}ngOnChanges(t){super.ngOnChanges(t)}hasStickyChanged(){let t=this._hasStickyChanged;return this.resetStickyChanged(),t}resetStickyChanged(){this._hasStickyChanged=!1}};e.\u0275fac=function(n){return new(n||e)(h(Re),h(mt),h(Ve,8))},e.\u0275dir=C({type:e,selectors:[["","cdkHeaderRowDef",""]],inputs:{columns:[m.None,"cdkHeaderRowDef","columns"],sticky:[m.HasDecoratorInputTransform,"cdkHeaderRowDefSticky","sticky",G]},standalone:!0,features:[ae,q,we]});let i=e;return i})(),Ms=(()=>{let e=class e extends As{get sticky(){return this._sticky}set sticky(t){t!==this._sticky&&(this._sticky=t,this._hasStickyChanged=!0)}constructor(t,n,o){super(t,n),this._table=o,this._hasStickyChanged=!1,this._sticky=!1}ngOnChanges(t){super.ngOnChanges(t)}hasStickyChanged(){let t=this._hasStickyChanged;return this.resetStickyChanged(),t}resetStickyChanged(){this._hasStickyChanged=!1}};e.\u0275fac=function(n){return new(n||e)(h(Re),h(mt),h(Ve,8))},e.\u0275dir=C({type:e,selectors:[["","cdkFooterRowDef",""]],inputs:{columns:[m.None,"cdkFooterRowDef","columns"],sticky:[m.HasDecoratorInputTransform,"cdkFooterRowDefSticky","sticky",G]},standalone:!0,features:[ae,q,we]});let i=e;return i})(),xr=(()=>{let e=class e extends As{constructor(t,n,o){super(t,n),this._table=o}};e.\u0275fac=function(n){return new(n||e)(h(Re),h(mt),h(Ve,8))},e.\u0275dir=C({type:e,selectors:[["","cdkRowDef",""]],inputs:{columns:[m.None,"cdkRowDefColumns","columns"],when:[m.None,"cdkRowDefWhen","when"]},standalone:!0,features:[q]});let i=e;return i})(),Tt=(()=>{let e=class e{constructor(t){this._viewContainer=t,e.mostRecentCellOutlet=this}ngOnDestroy(){e.mostRecentCellOutlet===this&&(e.mostRecentCellOutlet=null)}};e.mostRecentCellOutlet=null,e.\u0275fac=function(n){return new(n||e)(h(Oe))},e.\u0275dir=C({type:e,selectors:[["","cdkCellOutlet",""]],standalone:!0});let i=e;return i})(),Ts=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275cmp=ee({type:e,selectors:[["cdk-header-row"],["tr","cdk-header-row",""]],hostAttrs:["role","row",1,"cdk-header-row"],standalone:!0,features:[te],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(n,o){n&1&&fe(0,0)},dependencies:[Tt],encapsulation:2});let i=e;return i})();var Os=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275cmp=ee({type:e,selectors:[["cdk-row"],["tr","cdk-row",""]],hostAttrs:["role","row",1,"cdk-row"],standalone:!0,features:[te],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(n,o){n&1&&fe(0,0)},dependencies:[Tt],encapsulation:2});let i=e;return i})(),od=(()=>{let e=class e{constructor(t){this.templateRef=t,this._contentClassName="cdk-no-data-row"}};e.\u0275fac=function(n){return new(n||e)(h(Re))},e.\u0275dir=C({type:e,selectors:[["ng-template","cdkNoDataRow",""]],standalone:!0});let i=e;return i})(),ed=["top","bottom","left","right"],Is=class{constructor(e,r,t,n,o=!0,s=!0,a){this._isNativeHtmlTable=e,this._stickCellCss=r,this.direction=t,this._coalescedStyleScheduler=n,this._isBrowser=o,this._needsPositionStickyOnElement=s,this._positionListener=a,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(e,r){let t=[];for(let n of e)if(n.nodeType===n.ELEMENT_NODE){t.push(n);for(let o=0;o{for(let n of t)this._removeStickyStyle(n,r)})}updateStickyColumns(e,r,t,n=!0){if(!e.length||!this._isBrowser||!(r.some(o=>o)||t.some(o=>o))){this._positionListener&&(this._positionListener.stickyColumnsUpdated({sizes:[]}),this._positionListener.stickyEndColumnsUpdated({sizes:[]}));return}this._coalescedStyleScheduler.schedule(()=>{let o=e[0],s=o.children.length,a=this._getCellWidths(o,n),c=this._getStickyStartColumnPositions(a,r),l=this._getStickyEndColumnPositions(a,t),d=r.lastIndexOf(!0),u=t.indexOf(!0),p=this.direction==="rtl",b=p?"right":"left",B=p?"left":"right";for(let V of e)for(let S=0;Sr[S]?V:null)}),this._positionListener.stickyEndColumnsUpdated({sizes:u===-1?[]:a.slice(u).map((V,S)=>t[S+u]?V:null).reverse()}))})}stickRows(e,r,t){this._isBrowser&&this._coalescedStyleScheduler.schedule(()=>{let n=t==="bottom"?e.slice().reverse():e,o=t==="bottom"?r.slice().reverse():r,s=[],a=[],c=[];for(let d=0,u=0;d{let t=e.querySelector("tfoot");t&&(r.some(n=>!n)?this._removeStickyStyle(t,["bottom"]):this._addStickyStyle(t,"bottom",0,!1))})}_removeStickyStyle(e,r){for(let n of r)e.style[n]="",e.classList.remove(this._borderCellCss[n]);ed.some(n=>r.indexOf(n)===-1&&e.style[n])?e.style.zIndex=this._getCalculatedZIndex(e):(e.style.zIndex="",this._needsPositionStickyOnElement&&(e.style.position=""),e.classList.remove(this._stickCellCss))}_addStickyStyle(e,r,t,n){e.classList.add(this._stickCellCss),n&&e.classList.add(this._borderCellCss[r]),e.style[r]=`${t}px`,e.style.zIndex=this._getCalculatedZIndex(e),this._needsPositionStickyOnElement&&(e.style.cssText+="position: -webkit-sticky; position: sticky; ")}_getCalculatedZIndex(e){let r={top:100,bottom:10,left:1,right:1},t=0;for(let n of ed)e.style[n]&&(t+=r[n]);return t?`${t}`:""}_getCellWidths(e,r=!0){if(!r&&this._cachedCellWidths.length)return this._cachedCellWidths;let t=[],n=e.children;for(let o=0;o0;o--)r[o]&&(t[o]=n,n+=e[o]);return t}};var vr=new w("CDK_SPL");var Fs=(()=>{let e=class e{constructor(t,n){this.viewContainer=t,this.elementRef=n;let o=_(Ve);o._rowOutlet=this,o._outletAssigned()}};e.\u0275fac=function(n){return new(n||e)(h(Oe),h(F))},e.\u0275dir=C({type:e,selectors:[["","rowOutlet",""]],standalone:!0});let i=e;return i})(),Ns=(()=>{let e=class e{constructor(t,n){this.viewContainer=t,this.elementRef=n;let o=_(Ve);o._headerRowOutlet=this,o._outletAssigned()}};e.\u0275fac=function(n){return new(n||e)(h(Oe),h(F))},e.\u0275dir=C({type:e,selectors:[["","headerRowOutlet",""]],standalone:!0});let i=e;return i})(),Ps=(()=>{let e=class e{constructor(t,n){this.viewContainer=t,this.elementRef=n;let o=_(Ve);o._footerRowOutlet=this,o._outletAssigned()}};e.\u0275fac=function(n){return new(n||e)(h(Oe),h(F))},e.\u0275dir=C({type:e,selectors:[["","footerRowOutlet",""]],standalone:!0});let i=e;return i})(),Ls=(()=>{let e=class e{constructor(t,n){this.viewContainer=t,this.elementRef=n;let o=_(Ve);o._noDataRowOutlet=this,o._outletAssigned()}};e.\u0275fac=function(n){return new(n||e)(h(Oe),h(F))},e.\u0275dir=C({type:e,selectors:[["","noDataRowOutlet",""]],standalone:!0});let i=e;return i})();var Vs=(()=>{let e=class e{_getCellRole(){if(this._cellRoleInternal===void 0){let t=this._elementRef.nativeElement.getAttribute("role"),n=t==="grid"||t==="treegrid"?"gridcell":"cell";this._cellRoleInternal=this._isNativeHtmlTable&&n==="cell"?null:n}return this._cellRoleInternal}get trackBy(){return this._trackByFn}set trackBy(t){this._trackByFn=t}get dataSource(){return this._dataSource}set dataSource(t){this._dataSource!==t&&this._switchDataSource(t)}get multiTemplateDataRows(){return this._multiTemplateDataRows}set multiTemplateDataRows(t){this._multiTemplateDataRows=t,this._rowOutlet&&this._rowOutlet.viewContainer.length&&(this._forceRenderDataRows(),this.updateStickyColumnStyles())}get fixedLayout(){return this._fixedLayout}set fixedLayout(t){this._fixedLayout=t,this._forceRecalculateCellWidths=!0,this._stickyColumnStylesNeedReset=!0}constructor(t,n,o,s,a,c,l,d,u,p,b,B){this._differs=t,this._changeDetectorRef=n,this._elementRef=o,this._dir=a,this._platform=l,this._viewRepeater=d,this._coalescedStyleScheduler=u,this._viewportRuler=p,this._stickyPositioningListener=b,this._ngZone=B,this._onDestroy=new k,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 ue({start:0,end:Number.MAX_VALUE}),s||o.nativeElement.setAttribute("role","table"),this._document=c,this._isServer=!l.isBrowser,this._isNativeHtmlTable=o.nativeElement.nodeName==="TABLE"}ngOnInit(){this._setupStickyStyler(),this._dataDiffer=this._differs.find([]).create((t,n)=>this.trackBy?this.trackBy(n.dataIndex,n.data):n),this._viewportRuler.change().pipe(U(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(t=>{t?.clear()}),this._headerRowDefs=[],this._footerRowDefs=[],this._defaultRowDef=null,this._onDestroy.next(),this._onDestroy.complete(),Kn(this.dataSource)&&this.dataSource.disconnect(this)}renderRows(){this._renderRows=this._getAllRenderRows();let t=this._dataDiffer.diff(this._renderRows);if(!t){this._updateNoDataRow(),this.contentChanged.next();return}let n=this._rowOutlet.viewContainer;this._viewRepeater.applyChanges(t,n,(o,s,a)=>this._getEmbeddedViewArgs(o.item,a),o=>o.item.data,o=>{o.operation===Jt.INSERTED&&o.context&&this._renderCellTemplateForItem(o.record.item.rowDef,o.context)}),this._updateRowIndexContext(),t.forEachIdentityChange(o=>{let s=n.get(o.currentIndex);s.context.$implicit=o.item.data}),this._updateNoDataRow(),this._ngZone&&I.isInAngularZone()?this._ngZone.onStable.pipe(be(1),U(this._onDestroy)).subscribe(()=>{this.updateStickyColumnStyles()}):this.updateStickyColumnStyles(),this.contentChanged.next()}addColumnDef(t){this._customColumnDefs.add(t)}removeColumnDef(t){this._customColumnDefs.delete(t)}addRowDef(t){this._customRowDefs.add(t)}removeRowDef(t){this._customRowDefs.delete(t)}addHeaderRowDef(t){this._customHeaderRowDefs.add(t),this._headerRowDefChanged=!0}removeHeaderRowDef(t){this._customHeaderRowDefs.delete(t),this._headerRowDefChanged=!0}addFooterRowDef(t){this._customFooterRowDefs.add(t),this._footerRowDefChanged=!0}removeFooterRowDef(t){this._customFooterRowDefs.delete(t),this._footerRowDefChanged=!0}setNoDataRow(t){this._customNoDataRow=t}updateStickyHeaderRowStyles(){let t=this._getRenderedRows(this._headerRowOutlet);if(this._isNativeHtmlTable){let o=td(this._headerRowOutlet,"thead");o&&(o.style.display=t.length?"":"none")}let n=this._headerRowDefs.map(o=>o.sticky);this._stickyStyler.clearStickyPositioning(t,["top"]),this._stickyStyler.stickRows(t,n,"top"),this._headerRowDefs.forEach(o=>o.resetStickyChanged())}updateStickyFooterRowStyles(){let t=this._getRenderedRows(this._footerRowOutlet);if(this._isNativeHtmlTable){let o=td(this._footerRowOutlet,"tfoot");o&&(o.style.display=t.length?"":"none")}let n=this._footerRowDefs.map(o=>o.sticky);this._stickyStyler.clearStickyPositioning(t,["bottom"]),this._stickyStyler.stickRows(t,n,"bottom"),this._stickyStyler.updateStickyFooterContainer(this._elementRef.nativeElement,n),this._footerRowDefs.forEach(o=>o.resetStickyChanged())}updateStickyColumnStyles(){let t=this._getRenderedRows(this._headerRowOutlet),n=this._getRenderedRows(this._rowOutlet),o=this._getRenderedRows(this._footerRowOutlet);(this._isNativeHtmlTable&&!this._fixedLayout||this._stickyColumnStylesNeedReset)&&(this._stickyStyler.clearStickyPositioning([...t,...n,...o],["left","right"]),this._stickyColumnStylesNeedReset=!1),t.forEach((s,a)=>{this._addStickyColumnStyles([s],this._headerRowDefs[a])}),this._rowDefs.forEach(s=>{let a=[];for(let c=0;c{this._addStickyColumnStyles([s],this._footerRowDefs[a])}),Array.from(this._columnDefsByName.values()).forEach(s=>s.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 n=this._renderUpdatedColumns()||this._headerRowDefChanged||this._footerRowDefChanged;this._stickyColumnStylesNeedReset=this._stickyColumnStylesNeedReset||n,this._forceRecalculateCellWidths=n,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 t=[],n=this._cachedRenderRowsMap;this._cachedRenderRowsMap=new Map;for(let o=0;o{let c=o&&o.has(a)?o.get(a):[];if(c.length){let l=c.shift();return l.dataIndex=n,l}else return{data:t,rowDef:a,dataIndex:n}})}_cacheColumnDefs(){this._columnDefsByName.clear(),mr(this._getOwnDefs(this._contentColumnDefs),this._customColumnDefs).forEach(n=>{this._columnDefsByName.has(n.name),this._columnDefsByName.set(n.name,n)})}_cacheRowDefs(){this._headerRowDefs=mr(this._getOwnDefs(this._contentHeaderRowDefs),this._customHeaderRowDefs),this._footerRowDefs=mr(this._getOwnDefs(this._contentFooterRowDefs),this._customFooterRowDefs),this._rowDefs=mr(this._getOwnDefs(this._contentRowDefs),this._customRowDefs);let t=this._rowDefs.filter(n=>!n.when);!this.multiTemplateDataRows&&t.length>1,this._defaultRowDef=t[0]}_renderUpdatedColumns(){let t=(a,c)=>a||!!c.getColumnsDiff(),n=this._rowDefs.reduce(t,!1);n&&this._forceRenderDataRows();let o=this._headerRowDefs.reduce(t,!1);o&&this._forceRenderHeaderRows();let s=this._footerRowDefs.reduce(t,!1);return s&&this._forceRenderFooterRows(),n||o||s}_switchDataSource(t){this._data=[],Kn(this.dataSource)&&this.dataSource.disconnect(this),this._renderChangeSubscription&&(this._renderChangeSubscription.unsubscribe(),this._renderChangeSubscription=null),t||(this._dataDiffer&&this._dataDiffer.diff([]),this._rowOutlet&&this._rowOutlet.viewContainer.clear()),this._dataSource=t}_observeRenderChanges(){if(!this.dataSource)return;let t;Kn(this.dataSource)?t=this.dataSource.connect(this):Ot(this.dataSource)?t=this.dataSource:Array.isArray(this.dataSource)&&(t=E(this.dataSource)),this._renderChangeSubscription=t.pipe(U(this._onDestroy)).subscribe(n=>{this._data=n||[],this.renderRows()})}_forceRenderHeaderRows(){this._headerRowOutlet.viewContainer.length>0&&this._headerRowOutlet.viewContainer.clear(),this._headerRowDefs.forEach((t,n)=>this._renderRow(this._headerRowOutlet,t,n)),this.updateStickyHeaderRowStyles()}_forceRenderFooterRows(){this._footerRowOutlet.viewContainer.length>0&&this._footerRowOutlet.viewContainer.clear(),this._footerRowDefs.forEach((t,n)=>this._renderRow(this._footerRowOutlet,t,n)),this.updateStickyFooterRowStyles()}_addStickyColumnStyles(t,n){let o=Array.from(n.columns||[]).map(c=>{let l=this._columnDefsByName.get(c);return l}),s=o.map(c=>c.sticky),a=o.map(c=>c.stickyEnd);this._stickyStyler.updateStickyColumns(t,s,a,!this._fixedLayout||this._forceRecalculateCellWidths)}_getRenderedRows(t){let n=[];for(let o=0;o!s.when||s.when(n,t));else{let s=this._rowDefs.find(a=>a.when&&a.when(n,t))||this._defaultRowDef;s&&o.push(s)}return o.length,o}_getEmbeddedViewArgs(t,n){let o=t.rowDef,s={$implicit:t.data};return{templateRef:o.template,context:s,index:n}}_renderRow(t,n,o,s={}){let a=t.viewContainer.createEmbeddedView(n.template,s,o);return this._renderCellTemplateForItem(n,s),a}_renderCellTemplateForItem(t,n){for(let o of this._getCellTemplates(t))Tt.mostRecentCellOutlet&&Tt.mostRecentCellOutlet._viewContainer.createEmbeddedView(o,n);this._changeDetectorRef.markForCheck()}_updateRowIndexContext(){let t=this._rowOutlet.viewContainer;for(let n=0,o=t.length;n{let o=this._columnDefsByName.get(n);return t.extractCellTemplate(o)})}_forceRenderDataRows(){this._dataDiffer.diff([]),this._rowOutlet.viewContainer.clear(),this.renderRows()}_checkStickyStates(){let t=(n,o)=>n||o.hasStickyChanged();this._headerRowDefs.reduce(t,!1)&&this.updateStickyHeaderRowStyles(),this._footerRowDefs.reduce(t,!1)&&this.updateStickyFooterRowStyles(),Array.from(this._columnDefsByName.values()).reduce(t,!1)&&(this._stickyColumnStylesNeedReset=!0,this.updateStickyColumnStyles())}_setupStickyStyler(){let t=this._dir?this._dir.value:"ltr";this._stickyStyler=new Is(this._isNativeHtmlTable,this.stickyCssClass,t,this._coalescedStyleScheduler,this._platform.isBrowser,this.needsPositionStickyOnElement,this._stickyPositioningListener),(this._dir?this._dir.change:E()).pipe(U(this._onDestroy)).subscribe(n=>{this._stickyStyler.direction=n,this.updateStickyColumnStyles()})}_getOwnDefs(t){return t.filter(n=>!n._table||n._table===this)}_updateNoDataRow(){let t=this._customNoDataRow||this._noDataRow;if(!t)return;let n=this._rowOutlet.viewContainer.length===0;if(n===this._isShowingNoDataRow)return;let o=this._noDataRowOutlet.viewContainer;if(n){let s=o.createEmbeddedView(t.templateRef),a=s.rootNodes[0];s.rootNodes.length===1&&a?.nodeType===this._document.ELEMENT_NODE&&(a.setAttribute("role","row"),a.classList.add(t._contentClassName))}else o.clear();this._isShowingNoDataRow=n,this._changeDetectorRef.markForCheck()}};e.\u0275fac=function(n){return new(n||e)(h(mt),h(Se),h(F),Lt("role"),h(qe,8),h(L),h(ge),h($i),h(_r),h(Rt),h(vr,12),h(I,8))},e.\u0275cmp=ee({type:e,selectors:[["cdk-table"],["table","cdk-table",""]],contentQueries:function(n,o,s){if(n&1&&(oe(s,od,5),oe(s,ii,5),oe(s,xr,5),oe(s,Ki,5),oe(s,Ms,5)),n&2){let a;N(a=P())&&(o._noDataRow=a.first),N(a=P())&&(o._contentColumnDefs=a),N(a=P())&&(o._contentRowDefs=a),N(a=P())&&(o._contentHeaderRowDefs=a),N(a=P())&&(o._contentFooterRowDefs=a)}},hostAttrs:[1,"cdk-table"],hostVars:2,hostBindings:function(n,o){n&2&&ne("cdk-table-fixed-layout",o.fixedLayout)},inputs:{trackBy:"trackBy",dataSource:"dataSource",multiTemplateDataRows:[m.HasDecoratorInputTransform,"multiTemplateDataRows","multiTemplateDataRows",G],fixedLayout:[m.HasDecoratorInputTransform,"fixedLayout","fixedLayout",G]},outputs:{contentChanged:"contentChanged"},exportAs:["cdkTable"],standalone:!0,features:[Q([{provide:Ve,useExisting:e},{provide:$i,useClass:ei},{provide:_r,useClass:ks},{provide:vr,useValue:null}]),ae,te],ngContentSelectors:Hp,decls:5,vars:2,consts:[["role","rowgroup"],["headerRowOutlet",""],["rowOutlet",""],["noDataRowOutlet",""],["footerRowOutlet",""]],template:function(n,o){n&1&&(Fe(zp),K(0),K(1,1),j(2,$p,1,0)(3,Wp,7,0)(4,Gp,4,0)),n&2&&(D(2),W(2,o._isServer?2:-1),D(),W(3,o._isNativeHtmlTable?3:4))},dependencies:[Ns,Fs,Ls,Ps],styles:[".cdk-table-fixed-layout{table-layout:fixed}"],encapsulation:2});let i=e;return i})();function mr(i,e){return i.concat(Array.from(e))}function td(i,e){let r=e.toUpperCase(),t=i.viewContainer.element.nativeElement;for(;t;){let n=t.nodeType===1?t.nodeName:null;if(n===r)return t;if(n==="TABLE")break;t=t.parentNode}return null}var sd=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=O({type:e}),e.\u0275inj=T({imports:[Wi]});let i=e;return i})();var qp=[[["caption"]],[["colgroup"],["col"]],"*"],Yp=["caption","colgroup, col","*"];function Zp(i,e){i&1&&K(0,2)}function Xp(i,e){i&1&&(y(0,"thead",0),fe(1,1),x(),y(2,"tbody",2),fe(3,3)(4,4),x(),y(5,"tfoot",0),fe(6,5),x())}function Kp(i,e){i&1&&fe(0,1)(1,3)(2,4)(3,5)}var ad=(()=>{let e=class e extends Vs{constructor(){super(...arguments),this.stickyCssClass="mat-mdc-table-sticky",this.needsPositionStickyOnElement=!1}};e.\u0275fac=(()=>{let t;return function(o){return(t||(t=de(e)))(o||e)}})(),e.\u0275cmp=ee({type:e,selectors:[["mat-table"],["table","mat-table",""]],hostAttrs:[1,"mat-mdc-table","mdc-data-table__table"],hostVars:2,hostBindings:function(n,o){n&2&&ne("mdc-table-fixed-layout",o.fixedLayout)},exportAs:["matTable"],standalone:!0,features:[Q([{provide:Vs,useExisting:e},{provide:Ve,useExisting:e},{provide:_r,useClass:ks},{provide:$i,useClass:ei},{provide:vr,useValue:null}]),q,te],ngContentSelectors:Yp,decls:5,vars:2,consts:[["role","rowgroup"],["headerRowOutlet",""],["role","rowgroup",1,"mdc-data-table__content"],["rowOutlet",""],["noDataRowOutlet",""],["footerRowOutlet",""]],template:function(n,o){n&1&&(Fe(qp),K(0),K(1,1),j(2,Zp,1,0)(3,Xp,7,0)(4,Kp,4,0)),n&2&&(D(2),W(2,o._isServer?2:-1),D(),W(3,o._isNativeHtmlTable?3:4))},dependencies:[Ns,Fs,Ls,Ps],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 i=e;return i})(),ld=(()=>{let e=class e extends yr{};e.\u0275fac=(()=>{let t;return function(o){return(t||(t=de(e)))(o||e)}})(),e.\u0275dir=C({type:e,selectors:[["","matCellDef",""]],standalone:!0,features:[Q([{provide:yr,useExisting:e}]),q]});let i=e;return i})(),cd=(()=>{let e=class e extends br{};e.\u0275fac=(()=>{let t;return function(o){return(t||(t=de(e)))(o||e)}})(),e.\u0275dir=C({type:e,selectors:[["","matHeaderCellDef",""]],standalone:!0,features:[Q([{provide:br,useExisting:e}]),q]});let i=e;return i})();var dd=(()=>{let e=class e extends ii{get name(){return this._name}set name(t){this._setNameInput(t)}_updateColumnCssClassName(){super._updateColumnCssClassName(),this._columnCssClassName.push(`mat-column-${this.cssClassFriendlyName}`)}};e.\u0275fac=(()=>{let t;return function(o){return(t||(t=de(e)))(o||e)}})(),e.\u0275dir=C({type:e,selectors:[["","matColumnDef",""]],inputs:{name:[m.None,"matColumnDef","name"]},standalone:!0,features:[Q([{provide:ii,useExisting:e},{provide:"MAT_SORT_HEADER_COLUMN_DEF",useExisting:e}]),q]});let i=e;return i})(),hd=(()=>{let e=class e extends nd{};e.\u0275fac=(()=>{let t;return function(o){return(t||(t=de(e)))(o||e)}})(),e.\u0275dir=C({type:e,selectors:[["mat-header-cell"],["th","mat-header-cell",""]],hostAttrs:["role","columnheader",1,"mat-mdc-header-cell","mdc-data-table__header-cell"],standalone:!0,features:[q]});let i=e;return i})();var ud=(()=>{let e=class e extends rd{};e.\u0275fac=(()=>{let t;return function(o){return(t||(t=de(e)))(o||e)}})(),e.\u0275dir=C({type:e,selectors:[["mat-cell"],["td","mat-cell",""]],hostAttrs:[1,"mat-mdc-cell","mdc-data-table__cell"],standalone:!0,features:[q]});let i=e;return i})();var fd=(()=>{let e=class e extends Ki{};e.\u0275fac=(()=>{let t;return function(o){return(t||(t=de(e)))(o||e)}})(),e.\u0275dir=C({type:e,selectors:[["","matHeaderRowDef",""]],inputs:{columns:[m.None,"matHeaderRowDef","columns"],sticky:[m.HasDecoratorInputTransform,"matHeaderRowDefSticky","sticky",G]},standalone:!0,features:[Q([{provide:Ki,useExisting:e}]),ae,q]});let i=e;return i})();var md=(()=>{let e=class e extends xr{};e.\u0275fac=(()=>{let t;return function(o){return(t||(t=de(e)))(o||e)}})(),e.\u0275dir=C({type:e,selectors:[["","matRowDef",""]],inputs:{columns:[m.None,"matRowDefColumns","columns"],when:[m.None,"matRowDefWhen","when"]},standalone:!0,features:[Q([{provide:xr,useExisting:e}]),q]});let i=e;return i})(),pd=(()=>{let e=class e extends Ts{};e.\u0275fac=(()=>{let t;return function(o){return(t||(t=de(e)))(o||e)}})(),e.\u0275cmp=ee({type:e,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:[Q([{provide:Ts,useExisting:e}]),q,te],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(n,o){n&1&&fe(0,0)},dependencies:[Tt],encapsulation:2});let i=e;return i})();var gd=(()=>{let e=class e extends Os{};e.\u0275fac=(()=>{let t;return function(o){return(t||(t=de(e)))(o||e)}})(),e.\u0275cmp=ee({type:e,selectors:[["mat-row"],["tr","mat-row",""]],hostAttrs:["role","row",1,"mat-mdc-row","mdc-data-table__row"],exportAs:["matRow"],standalone:!0,features:[Q([{provide:Os,useExisting:e}]),q,te],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(n,o){n&1&&fe(0,0)},dependencies:[Tt],encapsulation:2});let i=e;return i})();var _d=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=O({type:e}),e.\u0275inj=T({imports:[_e,sd,_e]});let i=e;return i})();var vd=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=O({type:e}),e.\u0275inj=T({});let i=e;return i})();var yd=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=O({type:e}),e.\u0275inj=T({imports:[_e,St,St,vd,_e]});let i=e;return i})();var Jp=["determinateSpinner"];function eg(i,e){if(i&1&&(li(),y(0,"svg",11),X(1,"circle",12),x()),i&2){let r=H();he("viewBox",r._viewBox()),D(),lt("stroke-dasharray",r._strokeCircumference(),"px")("stroke-dashoffset",r._strokeCircumference()/2,"px")("stroke-width",r._circleStrokeWidth(),"%"),he("r",r._circleRadius())}}var tg=new w("mat-progress-spinner-default-options",{providedIn:"root",factory:ig});function ig(){return{diameter:bd}}var bd=100,ng=10,xd=(()=>{let e=class e{get color(){return this._color||this._defaultColor}set color(t){this._color=t}constructor(t,n,o){this._elementRef=t,this._defaultColor="primary",this._value=0,this._diameter=bd,this._noopAnimations=n==="NoopAnimations"&&!!o&&!o._forceAnimations,this.mode=t.nativeElement.nodeName.toLowerCase()==="mat-spinner"?"indeterminate":"determinate",o&&(o.color&&(this.color=this._defaultColor=o.color),o.diameter&&(this.diameter=o.diameter),o.strokeWidth&&(this.strokeWidth=o.strokeWidth))}get value(){return this.mode==="determinate"?this._value:0}set value(t){this._value=Math.max(0,Math.min(100,t||0))}get diameter(){return this._diameter}set diameter(t){this._diameter=t||0}get strokeWidth(){return this._strokeWidth??this.diameter/10}set strokeWidth(t){this._strokeWidth=t||0}_circleRadius(){return(this.diameter-ng)/2}_viewBox(){let t=this._circleRadius()*2+this.strokeWidth;return`0 0 ${t} ${t}`}_strokeCircumference(){return 2*Math.PI*this._circleRadius()}_strokeDashOffset(){return this.mode==="determinate"?this._strokeCircumference()*(100-this._value)/100:null}_circleStrokeWidth(){return this.strokeWidth/this.diameter*100}};e.\u0275fac=function(n){return new(n||e)(h(F),h(Le,8),h(tg))},e.\u0275cmp=ee({type:e,selectors:[["mat-progress-spinner"],["mat-spinner"]],viewQuery:function(n,o){if(n&1&&pe(Jp,5),n&2){let s;N(s=P())&&(o._determinateCircle=s.first)}},hostAttrs:["role","progressbar","tabindex","-1",1,"mat-mdc-progress-spinner","mdc-circular-progress"],hostVars:18,hostBindings:function(n,o){n&2&&(he("aria-valuemin",0)("aria-valuemax",100)("aria-valuenow",o.mode==="determinate"?o.value:null)("mode",o.mode),sa("mat-"+o.color),lt("width",o.diameter,"px")("height",o.diameter,"px")("--mdc-circular-progress-size",o.diameter+"px")("--mdc-circular-progress-active-indicator-width",o.diameter+"px"),ne("_mat-animation-noopable",o._noopAnimations)("mdc-circular-progress--indeterminate",o.mode==="indeterminate"))},inputs:{color:"color",mode:"mode",value:[m.HasDecoratorInputTransform,"value","value",pt],diameter:[m.HasDecoratorInputTransform,"diameter","diameter",pt],strokeWidth:[m.HasDecoratorInputTransform,"strokeWidth","strokeWidth",pt]},exportAs:["matProgressSpinner"],standalone:!0,features:[ae,te],decls:14,vars:11,consts:[["circle",""],["determinateSpinner",""],["aria-hidden","true",1,"mdc-circular-progress__determinate-container"],["xmlns","http://www.w3.org/2000/svg","focusable","false",1,"mdc-circular-progress__determinate-circle-graphic"],["cx","50%","cy","50%",1,"mdc-circular-progress__determinate-circle"],["aria-hidden","true",1,"mdc-circular-progress__indeterminate-container"],[1,"mdc-circular-progress__spinner-layer"],[1,"mdc-circular-progress__circle-clipper","mdc-circular-progress__circle-left"],[3,"ngTemplateOutlet"],[1,"mdc-circular-progress__gap-patch"],[1,"mdc-circular-progress__circle-clipper","mdc-circular-progress__circle-right"],["xmlns","http://www.w3.org/2000/svg","focusable","false",1,"mdc-circular-progress__indeterminate-circle-graphic"],["cx","50%","cy","50%"]],template:function(n,o){if(n&1&&(j(0,eg,2,8,"ng-template",null,0,an),y(2,"div",2,1),li(),y(4,"svg",3),X(5,"circle",4),x()(),Js(),y(6,"div",5)(7,"div",6)(8,"div",7),fe(9,8),x(),y(10,"div",9),fe(11,8),x(),y(12,"div",10),fe(13,8),x()()()),n&2){let s=ut(1);D(4),he("viewBox",o._viewBox()),D(),lt("stroke-dasharray",o._strokeCircumference(),"px")("stroke-dashoffset",o._strokeDashOffset(),"px")("stroke-width",o._circleStrokeWidth(),"%"),he("r",o._circleRadius()),D(4),Z("ngTemplateOutlet",s),D(2),Z("ngTemplateOutlet",s),D(2),Z("ngTemplateOutlet",s)}},dependencies:[hn],styles:["@keyframes mdc-circular-progress-container-rotate{to{transform:rotate(360deg)}}@keyframes mdc-circular-progress-spinner-layer-rotate{12.5%{transform:rotate(135deg)}25%{transform:rotate(270deg)}37.5%{transform:rotate(405deg)}50%{transform:rotate(540deg)}62.5%{transform:rotate(675deg)}75%{transform:rotate(810deg)}87.5%{transform:rotate(945deg)}100%{transform:rotate(1080deg)}}@keyframes mdc-circular-progress-color-1-fade-in-out{from{opacity:.99}25%{opacity:.99}26%{opacity:0}89%{opacity:0}90%{opacity:.99}to{opacity:.99}}@keyframes mdc-circular-progress-color-2-fade-in-out{from{opacity:0}15%{opacity:0}25%{opacity:.99}50%{opacity:.99}51%{opacity:0}to{opacity:0}}@keyframes mdc-circular-progress-color-3-fade-in-out{from{opacity:0}40%{opacity:0}50%{opacity:.99}75%{opacity:.99}76%{opacity:0}to{opacity:0}}@keyframes mdc-circular-progress-color-4-fade-in-out{from{opacity:0}65%{opacity:0}75%{opacity:.99}90%{opacity:.99}to{opacity:0}}@keyframes mdc-circular-progress-left-spin{from{transform:rotate(265deg)}50%{transform:rotate(130deg)}to{transform:rotate(265deg)}}@keyframes mdc-circular-progress-right-spin{from{transform:rotate(-265deg)}50%{transform:rotate(-130deg)}to{transform:rotate(-265deg)}}.mdc-circular-progress{display:inline-flex;position:relative;direction:ltr;line-height:0;transition:opacity 250ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mdc-circular-progress__determinate-container,.mdc-circular-progress__indeterminate-circle-graphic,.mdc-circular-progress__indeterminate-container,.mdc-circular-progress__spinner-layer{position:absolute;width:100%;height:100%}.mdc-circular-progress__determinate-container{transform:rotate(-90deg)}.mdc-circular-progress__indeterminate-container{font-size:0;letter-spacing:0;white-space:nowrap;opacity:0}.mdc-circular-progress__determinate-circle-graphic,.mdc-circular-progress__indeterminate-circle-graphic{fill:rgba(0,0,0,0)}.mdc-circular-progress__determinate-circle{transition:stroke-dashoffset 500ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mdc-circular-progress__gap-patch{position:absolute;top:0;left:47.5%;box-sizing:border-box;width:5%;height:100%;overflow:hidden}.mdc-circular-progress__gap-patch .mdc-circular-progress__indeterminate-circle-graphic{left:-900%;width:2000%;transform:rotate(180deg)}.mdc-circular-progress__circle-clipper{display:inline-flex;position:relative;width:50%;height:100%;overflow:hidden}.mdc-circular-progress__circle-clipper .mdc-circular-progress__indeterminate-circle-graphic{width:200%}.mdc-circular-progress__circle-right .mdc-circular-progress__indeterminate-circle-graphic{left:-100%}.mdc-circular-progress--indeterminate .mdc-circular-progress__determinate-container{opacity:0}.mdc-circular-progress--indeterminate .mdc-circular-progress__indeterminate-container{opacity:1}.mdc-circular-progress--indeterminate .mdc-circular-progress__indeterminate-container{animation:mdc-circular-progress-container-rotate 1568.2352941176ms linear infinite}.mdc-circular-progress--indeterminate .mdc-circular-progress__spinner-layer{animation:mdc-circular-progress-spinner-layer-rotate 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both}.mdc-circular-progress--indeterminate .mdc-circular-progress__color-1{animation:mdc-circular-progress-spinner-layer-rotate 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both,mdc-circular-progress-color-1-fade-in-out 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both}.mdc-circular-progress--indeterminate .mdc-circular-progress__color-2{animation:mdc-circular-progress-spinner-layer-rotate 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both,mdc-circular-progress-color-2-fade-in-out 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both}.mdc-circular-progress--indeterminate .mdc-circular-progress__color-3{animation:mdc-circular-progress-spinner-layer-rotate 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both,mdc-circular-progress-color-3-fade-in-out 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both}.mdc-circular-progress--indeterminate .mdc-circular-progress__color-4{animation:mdc-circular-progress-spinner-layer-rotate 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both,mdc-circular-progress-color-4-fade-in-out 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both}.mdc-circular-progress--indeterminate .mdc-circular-progress__circle-left .mdc-circular-progress__indeterminate-circle-graphic{animation:mdc-circular-progress-left-spin 1333ms cubic-bezier(0.4, 0, 0.2, 1) infinite both}.mdc-circular-progress--indeterminate .mdc-circular-progress__circle-right .mdc-circular-progress__indeterminate-circle-graphic{animation:mdc-circular-progress-right-spin 1333ms cubic-bezier(0.4, 0, 0.2, 1) infinite both}.mdc-circular-progress--closed{opacity:0}.mat-mdc-progress-spinner .mdc-circular-progress__determinate-circle,.mat-mdc-progress-spinner .mdc-circular-progress__indeterminate-circle-graphic{stroke:var(--mdc-circular-progress-active-indicator-color)}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mat-mdc-progress-spinner .mdc-circular-progress__determinate-circle,.mat-mdc-progress-spinner .mdc-circular-progress__indeterminate-circle-graphic{stroke:CanvasText}}.mat-mdc-progress-spinner circle{stroke-width:var(--mdc-circular-progress-active-indicator-width)}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mat-mdc-progress-spinner .mdc-circular-progress--four-color .mdc-circular-progress__color-1 .mdc-circular-progress__indeterminate-circle-graphic{stroke:CanvasText}}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mat-mdc-progress-spinner .mdc-circular-progress--four-color .mdc-circular-progress__color-2 .mdc-circular-progress__indeterminate-circle-graphic{stroke:CanvasText}}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mat-mdc-progress-spinner .mdc-circular-progress--four-color .mdc-circular-progress__color-3 .mdc-circular-progress__indeterminate-circle-graphic{stroke:CanvasText}}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mat-mdc-progress-spinner .mdc-circular-progress--four-color .mdc-circular-progress__color-4 .mdc-circular-progress__indeterminate-circle-graphic{stroke:CanvasText}}.mat-mdc-progress-spinner .mdc-circular-progress{width:var(--mdc-circular-progress-size) !important;height:var(--mdc-circular-progress-size) !important}.mat-mdc-progress-spinner{display:block;overflow:hidden;line-height:0}.mat-mdc-progress-spinner._mat-animation-noopable,.mat-mdc-progress-spinner._mat-animation-noopable .mdc-circular-progress__determinate-circle{transition:none}.mat-mdc-progress-spinner._mat-animation-noopable .mdc-circular-progress__indeterminate-circle-graphic,.mat-mdc-progress-spinner._mat-animation-noopable .mdc-circular-progress__spinner-layer,.mat-mdc-progress-spinner._mat-animation-noopable .mdc-circular-progress__indeterminate-container{animation:none}.mat-mdc-progress-spinner._mat-animation-noopable .mdc-circular-progress__indeterminate-container circle{stroke-dasharray:0 !important}.cdk-high-contrast-active .mat-mdc-progress-spinner .mdc-circular-progress__indeterminate-circle-graphic,.cdk-high-contrast-active .mat-mdc-progress-spinner .mdc-circular-progress__determinate-circle{stroke:currentColor;stroke:CanvasText}"],encapsulation:2,changeDetection:0});let i=e;return i})();var wd=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=O({type:e}),e.\u0275inj=T({imports:[Ge,_e]});let i=e;return i})();var Cd=(()=>{let e=class e{transform(t){if(isNaN(t))return"";let n=t.toString();return t>=1e12?n=(t/1e12).toFixed(2)+"T":t>=1e9?n=(t/1e9).toFixed(2)+"B":t>=1e6?n=(t/1e6).toFixed(2)+"M":t>=1e3&&(n=(t/1e3).toFixed(2)+"K"),n}};e.\u0275fac=function(n){return new(n||e)},e.\u0275pipe=Ks({name:"numberFormatter",type:e,pure:!0,standalone:!0});let i=e;return i})();var og="https://block-watch.onrender.com",Dd=(()=>{let e=class e{constructor(){this.http=_(Hr)}getTransactions(t){return this.http.get(`${og}/api/v1/transactions/transactions/`,{params:{usdGTE:t}})}};e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=v({token:e,factory:e.\u0275fac,providedIn:"root"});let i=e;return i})();var Ed=(()=>{let e=class e{constructor(){this.destroyed$=new k}ngOnDestroy(){this.destroyed$.next(),this.destroyed$.complete()}};e.\u0275fac=function(n){return new(n||e)},e.\u0275dir=C({type:e,selectors:[["destroyDirective"]],standalone:!0});let i=e;return i})();var sg=(i,e)=>e.value;function ag(i,e){if(i&1&&(y(0,"mat-option",4),le(1),x()),i&2){let r=e.$implicit;Z("value",r.value),D(),We(r.viewValue)}}function lg(i,e){i&1&&(y(0,"div",5),X(1,"mat-spinner"),x())}function cg(i,e){i&1&&(y(0,"th",16),le(1,"Time"),x())}function dg(i,e){if(i&1&&(y(0,"td",17),le(1),ui(2,"date"),x()),i&2){let r=e.$implicit;D(),ft(" ",ma(2,1,r.blockTimestamp,"HH:mm","UTC+3")," ")}}function hg(i,e){i&1&&(y(0,"th",16),le(1,"Price"),x())}function ug(i,e){if(i&1&&(y(0,"td",17)(1,"span"),le(2),ui(3,"currency"),x()()),i&2){let r=e.$implicit;D(2),We(sn(3,1,r.historicalUSD/r.unitValue))}}function fg(i,e){i&1&&(y(0,"th",16),le(1,"Name"),x())}function mg(i,e){if(i&1&&(y(0,"td",17)(1,"span",18)(2,"b"),le(3),x(),y(4,"div",19),X(5,"img",20),x()()()),i&2){let r=e.$implicit;D(3),We(r.tokenSymbol),D(2),da("src","https://static.arkhamintelligence.com/tokens/",r.tokenId,".png",ia),Z("alt",r.tokenId)}}function pg(i,e){i&1&&(y(0,"th",16),le(1,"Amount"),x())}function gg(i,e){if(i&1&&(y(0,"td",17)(1,"span"),le(2),ui(3,"numberFormatter"),x()()),i&2){let r=e.$implicit;D(2),ft("",sn(3,1,r.historicalUSD),"$")}}function _g(i,e){i&1&&X(0,"tr",21)}function vg(i,e){i&1&&X(0,"tr",22)}function yg(i,e){if(i&1&&(y(0,"div",6)(1,"table",7),ct(2,8),j(3,cg,2,0,"th",9)(4,dg,3,5,"td",10),dt(),ct(5,11),j(6,hg,2,0,"th",9)(7,ug,4,3,"td",10),dt(),ct(8,12),j(9,fg,2,0,"th",9)(10,mg,6,4,"td",10),dt(),ct(11,13),j(12,pg,2,0,"th",9)(13,gg,4,3,"td",10),dt(),j(14,_g,1,0,"tr",14)(15,vg,1,0,"tr",15),x()()),i&2){let r=H().ngIf,t=H();D(),Z("dataSource",r.dataSource),D(13),Z("matHeaderRowDef",t.displayedColumns),D(),Z("matRowDefColumns",t.displayedColumns)}}function bg(i,e){if(i&1){let r=ht();y(0,"div",1)(1,"div",2)(2,"mat-form-field")(3,"mat-label"),le(4,"Type"),x(),y(5,"mat-select",3),fa("ngModelChange",function(n){Me(r);let o=H();return ua(o.selectedVolume,n)||(o.selectedVolume=n),Te(n)}),me("ngModelChange",function(){Me(r);let n=H();return Te(n.getTransactions())}),la(6,ag,2,2,"mat-option",4,sg),x()(),j(8,lg,2,0,"div",5)(9,yg,16,3),x()()}if(i&2){let r=e.ngIf,t=H();D(5),ha("ngModel",t.selectedVolume),D(),ca(t.volumeOptions),D(2),W(8,r.isLoading?8:9)}}var Sd=(()=>{let e=class e extends Ed{constructor(){super(...arguments),this.homeApiService=_(Dd),this.displayedColumns=["time","price","name","amount"],this.dataSource$=new ue([]),this.isLoading$=new ue(!1),this.vm$=ot(this.isLoading$,this.dataSource$).pipe(A(([t,n])=>({isLoading:t,dataSource:n}))),this.selectedVolume=1e6,this.intervalSubscription=null,this.volumeOptions=[{value:1e3,viewValue:"1000"},{value:1e4,viewValue:"10 000"},{value:1e5,viewValue:"100 000"},{value:1e6,viewValue:"1 000 000"},{value:1e9,viewValue:"1 000 000 000"}]}ngOnInit(){this.getTransactions()}startTransactionsPulling(){this.intervalSubscription=Ws(6e4).pipe(ze(()=>this.homeApiService.getTransactions(this.selectedVolume)),re(t=>this.dataSource$.next(t)),U(this.destroyed$)).subscribe()}getTransactions(){this.isLoading$.next(!0),this.homeApiService.getTransactions(this.selectedVolume).pipe(re(t=>{this.dataSource$.next(t),this.isLoading$.next(!1),this.intervalSubscription&&this.intervalSubscription.unsubscribe(),this.startTransactionsPulling()}),U(this.destroyed$)).subscribe()}};e.\u0275fac=(()=>{let t;return function(o){return(t||(t=de(e)))(o||e)}})(),e.\u0275cmp=ee({type:e,selectors:[["crt-home"]],standalone:!0,features:[q,te],decls:2,vars:3,consts:[["class","home",4,"ngIf"],[1,"home"],[1,"home__filter"],[3,"ngModelChange","ngModel"],[3,"value"],[1,"home__loader"],[1,"home__table"],["mat-table","",1,"mat-elevation-z8",3,"dataSource"],["matColumnDef","time"],["mat-header-cell","",4,"matHeaderCellDef"],["mat-cell","",4,"matCellDef"],["matColumnDef","price"],["matColumnDef","name"],["matColumnDef","amount"],["mat-header-row","",4,"matHeaderRowDef"],["mat-row","",4,"matRowDef","matRowDefColumns"],["mat-header-cell",""],["mat-cell",""],["target","_blank",1,"home__table-name"],[1,"home__table-name-img"],[3,"src","alt"],["mat-header-row",""],["mat-row",""]],template:function(n,o){n&1&&(j(0,bg,10,2,"div",0),ui(1,"async")),n&2&&Z("ngIf",sn(1,1,o.vm$))},dependencies:[_d,ad,cd,fd,dd,ld,md,hd,ud,pd,gd,Jc,ac,qn,Qc,Wn,St,yd,Yc,Uc,Es,Ge,ba,xa,Ca,wa,Cd,wd,xd],styles:[".home__table-name[_ngcontent-%COMP%]{display:flex;align-items:center;gap:7px}.home__table-name-img[_ngcontent-%COMP%]{width:22px;height:22px}.home__table-name[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{max-width:100%;height:auto}.home__loader[_ngcontent-%COMP%]{display:flex;justify-content:center;margin-block-start:50px}.mat-mdc-form-field[_ngcontent-%COMP%]{width:100%}"],changeDetection:0});let i=e;return i})();var Rd=[{path:"",component:Sd}];var Id=[...Rd];var xg="@",wg=(()=>{let e=class e{constructor(t,n,o,s,a){this.doc=t,this.delegate=n,this.zone=o,this.animationType=s,this.moduleImpl=a,this._rendererFactoryPromise=null,this.scheduler=_(na,{optional:!0})}ngOnDestroy(){this._engine?.flush()}loadImpl(){return(this.moduleImpl??import("./chunk-U45WZUSF.js")).catch(n=>{throw new Y(5300,!1)}).then(({\u0275createEngine:n,\u0275AnimationRendererFactory:o})=>{this._engine=n(this.animationType,this.doc,this.scheduler);let s=new o(this.delegate,this._engine,this.zone);return this.delegate=s,s})}createRenderer(t,n){let o=this.delegate.createRenderer(t,n);if(o.\u0275type===0)return o;typeof o.throwOnSyntheticProps=="boolean"&&(o.throwOnSyntheticProps=!1);let s=new js(o);return n?.data?.animation&&!this._rendererFactoryPromise&&(this._rendererFactoryPromise=this.loadImpl()),this._rendererFactoryPromise?.then(a=>{let c=a.createRenderer(t,n);s.use(c)}).catch(a=>{s.use(o)}),s}begin(){this.delegate.begin?.()}end(){this.delegate.end?.()}whenRenderingDone(){return this.delegate.whenRenderingDone?.()??Promise.resolve()}};e.\u0275fac=function(n){Tr()},e.\u0275prov=v({token:e,factory:e.\u0275fac});let i=e;return i})(),js=class{constructor(e){this.delegate=e,this.replay=[],this.\u0275type=1}use(e){if(this.delegate=e,this.replay!==null){for(let r of this.replay)r(e);this.replay=null}}get data(){return this.delegate.data}destroy(){this.replay=null,this.delegate.destroy()}createElement(e,r){return this.delegate.createElement(e,r)}createComment(e){return this.delegate.createComment(e)}createText(e){return this.delegate.createText(e)}get destroyNode(){return this.delegate.destroyNode}appendChild(e,r){this.delegate.appendChild(e,r)}insertBefore(e,r,t,n){this.delegate.insertBefore(e,r,t,n)}removeChild(e,r,t){this.delegate.removeChild(e,r,t)}selectRootElement(e,r){return this.delegate.selectRootElement(e,r)}parentNode(e){return this.delegate.parentNode(e)}nextSibling(e){return this.delegate.nextSibling(e)}setAttribute(e,r,t,n){this.delegate.setAttribute(e,r,t,n)}removeAttribute(e,r,t){this.delegate.removeAttribute(e,r,t)}addClass(e,r){this.delegate.addClass(e,r)}removeClass(e,r){this.delegate.removeClass(e,r)}setStyle(e,r,t,n){this.delegate.setStyle(e,r,t,n)}removeStyle(e,r,t){this.delegate.removeStyle(e,r,t)}setProperty(e,r,t){this.shouldReplay(r)&&this.replay.push(n=>n.setProperty(e,r,t)),this.delegate.setProperty(e,r,t)}setValue(e,r){this.delegate.setValue(e,r)}listen(e,r,t){return this.shouldReplay(r)&&this.replay.push(n=>n.listen(e,r,t)),this.delegate.listen(e,r,t)}shouldReplay(e){return this.replay!==null&&e.startsWith(xg)}};function kd(i="animations"){return Fr("NgAsyncAnimations"),st([{provide:nn,useFactory:(e,r,t)=>new wg(e,r,t,i),deps:[L,xn,I]},{provide:Le,useValue:i==="noop"?"NoopAnimations":"BrowserAnimations"}])}var Ad={providers:[Sl(Id),kd(),La()]};var Md=(()=>{let e=class e{constructor(){this.title="crt"}};e.\u0275fac=function(n){return new(n||e)},e.\u0275cmp=ee({type:e,selectors:[["app-root"]],standalone:!0,features:[te],decls:2,vars:0,consts:[[1,"box-container"]],template:function(n,o){n&1&&(y(0,"div",0),X(1,"router-outlet"),x())},dependencies:[Oo],styles:[".box-container[_ngcontent-%COMP%]{padding:10px}"]});let i=e;return i})();$a(Md,Ad).catch(i=>console.error(i)); + ${Tm} translateX(${u}) + )`}_isAttachedToDom(){let t=this._elementRef.nativeElement;if(t.getRootNode){let n=t.getRootNode();return n&&n!==t}return document.documentElement.contains(t)}};e.\u0275fac=function(n){return new(n||e)(h(F),h(Se),h(R),h(qe),h(ge),h(Am,8),h(Le,8),h(L))},e.\u0275cmp=ee({type:e,selectors:[["mat-form-field"]],contentQueries:function(n,o,s){if(n&1&&(oe(s,qn,5),oe(s,qn,7),oe(s,Yn,5),oe(s,Sm,5),oe(s,Im,5),oe(s,Dm,5),oe(s,Ql,5)),n&2){let a;N(a=P())&&(o._labelChildNonStatic=a.first),N(a=P())&&(o._labelChildStatic=a.first),N(a=P())&&(o._formFieldControl=a.first),N(a=P())&&(o._prefixChildren=a),N(a=P())&&(o._suffixChildren=a),N(a=P())&&(o._errorChildren=a),N(a=P())&&(o._hintChildren=a)}},viewQuery:function(n,o){if(n&1&&(pe(im,5),pe(nm,5),pe(rm,5),pe(Jl,5),pe(ic,5),pe(tc,5)),n&2){let s;N(s=P())&&(o._textField=s.first),N(s=P())&&(o._iconPrefixContainer=s.first),N(s=P())&&(o._textPrefixContainer=s.first),N(s=P())&&(o._floatingLabel=s.first),N(s=P())&&(o._notchedOutline=s.first),N(s=P())&&(o._lineRipple=s.first)}},hostAttrs:[1,"mat-mdc-form-field"],hostVars:42,hostBindings:function(n,o){n&2&&ne("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:[J([{provide:Zn,useExisting:e},{provide:sc,useExisting:e}]),te],ngContentSelectors:sm,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(n,o){if(n&1){let s=ht();Fe(om),j(0,cm,1,1,"ng-template",null,0,an),y(2,"div",4,1),me("click",function(c){return Me(s),Te(o._control.onContainerClick(c))}),j(4,dm,1,0,"div",5),y(5,"div",6),j(6,fm,2,2,"div",7)(7,mm,3,0,"div",8)(8,pm,3,0,"div",9),y(9,"div",10),j(10,_m,1,1,null,11),Q(11),x(),j(12,vm,2,0,"div",12)(13,ym,2,0,"div",13),x(),j(14,bm,1,0,"div",14),x(),y(15,"div",15),j(16,xm,2,1)(17,Cm,5,2),x()}if(n&2){let s;D(2),ne("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),D(2),W(4,!o._hasOutline()&&!o._control.disabled?4:-1),D(2),W(6,o._hasOutline()?6:-1),D(),W(7,o._hasIconPrefix?7:-1),D(),W(8,o._hasTextPrefix?8:-1),D(2),W(10,!o._hasOutline()||o._forceDisplayInfixLabel()?10:-1),D(2),W(12,o._hasTextSuffix?12:-1),D(),W(13,o._hasIconSuffix?13:-1),D(),W(14,o._hasOutline()?-1:14),D(),ne("mat-mdc-form-field-subscript-dynamic-size",o.subscriptSizing==="dynamic"),D(),W(16,(s=o._getDisplayedMessages())==="error"?16:s==="hint"?17:-1)}},dependencies:[Jl,ic,hn,tc,Ql],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:[km.transitionMessages]},changeDetection:0});let i=e;return i})(),St=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=O({type:e}),e.\u0275inj=T({imports:[_e,Ge,kl,_e]});let i=e;return i})();function Kn(i){return i&&typeof i.connect=="function"&&!(i instanceof ni)}var Jt=function(i){return i[i.REPLACED=0]="REPLACED",i[i.INSERTED=1]="INSERTED",i[i.MOVED=2]="MOVED",i[i.REMOVED=3]="REMOVED",i}(Jt||{}),$i=new w("_ViewRepeater"),ei=class{applyChanges(e,r,t,n,o){e.forEachOperation((s,a,c)=>{let l,d;if(s.previousIndex==null){let u=t(s,a,c);l=r.createEmbeddedView(u.templateRef,u.context,u.index),d=Jt.INSERTED}else c==null?(r.remove(a),d=Jt.REMOVED):(l=r.get(a),r.move(l,c),d=Jt.MOVED);o&&o({context:l?.context,operation:d,record:s})})}detach(){}};var Xn=class{get selected(){return this._selected||(this._selected=Array.from(this._selection.values())),this._selected}constructor(e=!1,r,t=!0,n){this._multiple=e,this._emitChanges=t,this.compareWith=n,this._selection=new Set,this._deselectedToEmit=[],this._selectedToEmit=[],this.changed=new k,r&&r.length&&(e?r.forEach(o=>this._markSelected(o)):this._markSelected(r[0]),this._selectedToEmit.length=0)}select(...e){this._verifyValueAssignment(e),e.forEach(t=>this._markSelected(t));let r=this._hasQueuedChanges();return this._emitChangeEvent(),r}deselect(...e){this._verifyValueAssignment(e),e.forEach(t=>this._unmarkSelected(t));let r=this._hasQueuedChanges();return this._emitChangeEvent(),r}setSelection(...e){this._verifyValueAssignment(e);let r=this.selected,t=new Set(e);e.forEach(o=>this._markSelected(o)),r.filter(o=>!t.has(this._getConcreteValue(o,t))).forEach(o=>this._unmarkSelected(o));let n=this._hasQueuedChanges();return this._emitChangeEvent(),n}toggle(e){return this.isSelected(e)?this.deselect(e):this.select(e)}clear(e=!0){this._unmarkAll();let r=this._hasQueuedChanges();return e&&this._emitChangeEvent(),r}isSelected(e){return this._selection.has(this._getConcreteValue(e))}isEmpty(){return this._selection.size===0}hasValue(){return!this.isEmpty()}sort(e){this._multiple&&this.selected&&this._selected.sort(e)}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(e){e=this._getConcreteValue(e),this.isSelected(e)||(this._multiple||this._unmarkAll(),this.isSelected(e)||this._selection.add(e),this._emitChanges&&this._selectedToEmit.push(e))}_unmarkSelected(e){e=this._getConcreteValue(e),this.isSelected(e)&&(this._selection.delete(e),this._emitChanges&&this._deselectedToEmit.push(e))}_unmarkAll(){this.isEmpty()||this._selection.forEach(e=>this._unmarkSelected(e))}_verifyValueAssignment(e){e.length>1&&this._multiple}_hasQueuedChanges(){return!!(this._deselectedToEmit.length||this._selectedToEmit.length)}_getConcreteValue(e,r){if(this.compareWith){r=r??this._selection;for(let t of r)if(this.compareWith(e,t))return t;return e}else return e}};var Fm=20,lc=(()=>{let e=class e{constructor(t,n,o){this._ngZone=t,this._platform=n,this._scrolled=new k,this._globalSubscription=null,this._scrolledCount=0,this.scrollContainers=new Map,this._document=o}register(t){this.scrollContainers.has(t)||this.scrollContainers.set(t,t.elementScrolled().subscribe(()=>this._scrolled.next(t)))}deregister(t){let n=this.scrollContainers.get(t);n&&(n.unsubscribe(),this.scrollContainers.delete(t))}scrolled(t=Fm){return this._platform.isBrowser?new Ue(n=>{this._globalSubscription||this._addGlobalListener();let o=t>0?this._scrolled.pipe(Dr(t)).subscribe(n):this._scrolled.subscribe(n);return this._scrolledCount++,()=>{o.unsubscribe(),this._scrolledCount--,this._scrolledCount||this._removeGlobalListener()}}):E()}ngOnDestroy(){this._removeGlobalListener(),this.scrollContainers.forEach((t,n)=>this.deregister(n)),this._scrolled.complete()}ancestorScrolled(t,n){let o=this.getAncestorScrollContainers(t);return this.scrolled(n).pipe(ce(s=>!s||o.indexOf(s)>-1))}getAncestorScrollContainers(t){let n=[];return this.scrollContainers.forEach((o,s)=>{this._scrollableContainsElement(s,t)&&n.push(s)}),n}_getWindow(){return this._document.defaultView||window}_scrollableContainsElement(t,n){let o=Ui(n),s=t.getElementRef().nativeElement;do if(o==s)return!0;while(o=o.parentElement);return!1}_addGlobalListener(){this._globalSubscription=this._ngZone.runOutsideAngular(()=>{let t=this._getWindow();return $s(t.document,"scroll").subscribe(()=>this._scrolled.next())})}_removeGlobalListener(){this._globalSubscription&&(this._globalSubscription.unsubscribe(),this._globalSubscription=null)}};e.\u0275fac=function(n){return new(n||e)(f(R),f(ge),f(L,8))},e.\u0275prov=v({token:e,factory:e.\u0275fac,providedIn:"root"});let i=e;return i})();var Nm=20,It=(()=>{let e=class e{constructor(t,n,o){this._platform=t,this._change=new k,this._changeListener=s=>{this._change.next(s)},this._document=o,n.runOutsideAngular(()=>{if(t.isBrowser){let s=this._getWindow();s.addEventListener("resize",this._changeListener),s.addEventListener("orientationchange",this._changeListener)}this.change().subscribe(()=>this._viewportSize=null)})}ngOnDestroy(){if(this._platform.isBrowser){let t=this._getWindow();t.removeEventListener("resize",this._changeListener),t.removeEventListener("orientationchange",this._changeListener)}this._change.complete()}getViewportSize(){this._viewportSize||this._updateViewportSize();let t={width:this._viewportSize.width,height:this._viewportSize.height};return this._platform.isBrowser||(this._viewportSize=null),t}getViewportRect(){let t=this.getViewportScrollPosition(),{width:n,height:o}=this.getViewportSize();return{top:t.top,left:t.left,bottom:t.top+o,right:t.left+n,height:o,width:n}}getViewportScrollPosition(){if(!this._platform.isBrowser)return{top:0,left:0};let t=this._document,n=this._getWindow(),o=t.documentElement,s=o.getBoundingClientRect(),a=-s.top||t.body.scrollTop||n.scrollY||o.scrollTop||0,c=-s.left||t.body.scrollLeft||n.scrollX||o.scrollLeft||0;return{top:a,left:c}}change(t=Nm){return t>0?this._change.pipe(Dr(t)):this._change}_getWindow(){return this._document.defaultView||window}_updateViewportSize(){let t=this._getWindow();this._viewportSize=this._platform.isBrowser?{width:t.innerWidth,height:t.innerHeight}:{width:0,height:0}}};e.\u0275fac=function(n){return new(n||e)(f(ge),f(R),f(L,8))},e.\u0275prov=v({token:e,factory:e.\u0275fac,providedIn:"root"});let i=e;return i})();var Qn=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=O({type:e}),e.\u0275inj=T({});let i=e;return i})(),Wi=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=O({type:e}),e.\u0275inj=T({imports:[nt,Qn,nt,Qn]});let i=e;return i})();var Gi=class{attach(e){return this._attachedHost=e,e.attach(this)}detach(){let e=this._attachedHost;e!=null&&(this._attachedHost=null,e.detach())}get isAttached(){return this._attachedHost!=null}setAttachedHost(e){this._attachedHost=e}},rs=class extends Gi{constructor(e,r,t,n,o){super(),this.component=e,this.viewContainerRef=r,this.injector=t,this.componentFactoryResolver=n,this.projectableNodes=o}},qi=class extends Gi{constructor(e,r,t,n){super(),this.templateRef=e,this.viewContainerRef=r,this.context=t,this.injector=n}get origin(){return this.templateRef.elementRef}attach(e,r=this.context){return this.context=r,super.attach(e)}detach(){return this.context=void 0,super.detach()}},os=class extends Gi{constructor(e){super(),this.element=e instanceof F?e.nativeElement:e}},ss=class{constructor(){this._isDisposed=!1,this.attachDomPortal=null}hasAttached(){return!!this._attachedPortal}attach(e){if(e instanceof rs)return this._attachedPortal=e,this.attachComponentPortal(e);if(e instanceof qi)return this._attachedPortal=e,this.attachTemplatePortal(e);if(this.attachDomPortal&&e instanceof os)return this._attachedPortal=e,this.attachDomPortal(e)}detach(){this._attachedPortal&&(this._attachedPortal.setAttachedHost(null),this._attachedPortal=null),this._invokeDisposeFn()}dispose(){this.hasAttached()&&this.detach(),this._invokeDisposeFn(),this._isDisposed=!0}setDisposeFn(e){this._disposeFn=e}_invokeDisposeFn(){this._disposeFn&&(this._disposeFn(),this._disposeFn=null)}};var Jn=class extends ss{constructor(e,r,t,n,o){super(),this.outletElement=e,this._componentFactoryResolver=r,this._appRef=t,this._defaultInjector=n,this.attachDomPortal=s=>{this._document;let a=s.element;a.parentNode;let c=this._document.createComment("dom-portal");a.parentNode.insertBefore(c,a),this.outletElement.appendChild(a),this._attachedPortal=s,super.setDisposeFn(()=>{c.parentNode&&c.parentNode.replaceChild(a,c)})},this._document=o}attachComponentPortal(e){let t=(e.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(e.component),n;return e.viewContainerRef?(n=e.viewContainerRef.createComponent(t,e.viewContainerRef.length,e.injector||e.viewContainerRef.injector,e.projectableNodes||void 0),this.setDisposeFn(()=>n.destroy())):(n=t.create(e.injector||this._defaultInjector||at.NULL),this._appRef.attachView(n.hostView),this.setDisposeFn(()=>{this._appRef.viewCount>0&&this._appRef.detachView(n.hostView),n.destroy()})),this.outletElement.appendChild(this._getComponentRootNode(n)),this._attachedPortal=e,n}attachTemplatePortal(e){let r=e.viewContainerRef,t=r.createEmbeddedView(e.templateRef,e.context,{injector:e.injector});return t.rootNodes.forEach(n=>this.outletElement.appendChild(n)),t.detectChanges(),this.setDisposeFn(()=>{let n=r.indexOf(t);n!==-1&&r.remove(n)}),this._attachedPortal=e,t}dispose(){super.dispose(),this.outletElement.remove()}_getComponentRootNode(e){return e.hostView.rootNodes[0]}};var cc=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=O({type:e}),e.\u0275inj=T({});let i=e;return i})();var dc=Il(),as=class{constructor(e,r){this._viewportRuler=e,this._previousHTMLStyles={top:"",left:""},this._isEnabled=!1,this._document=r}attach(){}enable(){if(this._canBeEnabled()){let e=this._document.documentElement;this._previousScrollPosition=this._viewportRuler.getViewportScrollPosition(),this._previousHTMLStyles.left=e.style.left||"",this._previousHTMLStyles.top=e.style.top||"",e.style.left=se(-this._previousScrollPosition.left),e.style.top=se(-this._previousScrollPosition.top),e.classList.add("cdk-global-scrollblock"),this._isEnabled=!0}}disable(){if(this._isEnabled){let e=this._document.documentElement,r=this._document.body,t=e.style,n=r.style,o=t.scrollBehavior||"",s=n.scrollBehavior||"";this._isEnabled=!1,t.left=this._previousHTMLStyles.left,t.top=this._previousHTMLStyles.top,e.classList.remove("cdk-global-scrollblock"),dc&&(t.scrollBehavior=n.scrollBehavior="auto"),window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top),dc&&(t.scrollBehavior=o,n.scrollBehavior=s)}}_canBeEnabled(){if(this._document.documentElement.classList.contains("cdk-global-scrollblock")||this._isEnabled)return!1;let r=this._document.body,t=this._viewportRuler.getViewportSize();return r.scrollHeight>t.height||r.scrollWidth>t.width}};var ls=class{constructor(e,r,t,n){this._scrollDispatcher=e,this._ngZone=r,this._viewportRuler=t,this._config=n,this._scrollSubscription=null,this._detach=()=>{this.disable(),this._overlayRef.hasAttached()&&this._ngZone.run(()=>this._overlayRef.detach())}}attach(e){this._overlayRef,this._overlayRef=e}enable(){if(this._scrollSubscription)return;let e=this._scrollDispatcher.scrolled(0).pipe(ce(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=e.subscribe(()=>{let r=this._viewportRuler.getViewportScrollPosition().top;Math.abs(r-this._initialScrollPosition)>this._config.threshold?this._detach():this._overlayRef.updatePosition()})):this._scrollSubscription=e.subscribe(this._detach)}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}},er=class{enable(){}disable(){}attach(){}};function cs(i,e){return e.some(r=>{let t=i.bottomr.bottom,o=i.rightr.right;return t||n||o||s})}function hc(i,e){return e.some(r=>{let t=i.topr.bottom,o=i.leftr.right;return t||n||o||s})}var ds=class{constructor(e,r,t,n){this._scrollDispatcher=e,this._viewportRuler=r,this._ngZone=t,this._config=n,this._scrollSubscription=null}attach(e){this._overlayRef,this._overlayRef=e}enable(){if(!this._scrollSubscription){let e=this._config?this._config.scrollThrottle:0;this._scrollSubscription=this._scrollDispatcher.scrolled(e).subscribe(()=>{if(this._overlayRef.updatePosition(),this._config&&this._config.autoClose){let r=this._overlayRef.overlayElement.getBoundingClientRect(),{width:t,height:n}=this._viewportRuler.getViewportSize();cs(r,[{width:t,height:n,bottom:n,right:t,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}},Lm=(()=>{let e=class e{constructor(t,n,o,s){this._scrollDispatcher=t,this._viewportRuler=n,this._ngZone=o,this.noop=()=>new er,this.close=a=>new ls(this._scrollDispatcher,this._ngZone,this._viewportRuler,a),this.block=()=>new as(this._viewportRuler,this._document),this.reposition=a=>new ds(this._scrollDispatcher,this._viewportRuler,this._ngZone,a),this._document=s}};e.\u0275fac=function(n){return new(n||e)(f(lc),f(It),f(R),f(L))},e.\u0275prov=v({token:e,factory:e.\u0275fac,providedIn:"root"});let i=e;return i})(),tr=class{constructor(e){if(this.scrollStrategy=new er,this.panelClass="",this.hasBackdrop=!1,this.backdropClass="cdk-overlay-dark-backdrop",this.disposeOnNavigation=!1,e){let r=Object.keys(e);for(let t of r)e[t]!==void 0&&(this[t]=e[t])}}};var hs=class{constructor(e,r){this.connectionPair=e,this.scrollableViewProperties=r}};var gc=(()=>{let e=class e{constructor(t){this._attachedOverlays=[],this._document=t}ngOnDestroy(){this.detach()}add(t){this.remove(t),this._attachedOverlays.push(t)}remove(t){let n=this._attachedOverlays.indexOf(t);n>-1&&this._attachedOverlays.splice(n,1),this._attachedOverlays.length===0&&this.detach()}};e.\u0275fac=function(n){return new(n||e)(f(L))},e.\u0275prov=v({token:e,factory:e.\u0275fac,providedIn:"root"});let i=e;return i})(),Vm=(()=>{let e=class e extends gc{constructor(t,n){super(t),this._ngZone=n,this._keydownListener=o=>{let s=this._attachedOverlays;for(let a=s.length-1;a>-1;a--)if(s[a]._keydownEvents.observers.length>0){let c=s[a]._keydownEvents;this._ngZone?this._ngZone.run(()=>c.next(o)):c.next(o);break}}}add(t){super.add(t),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)}};e.\u0275fac=function(n){return new(n||e)(f(L),f(R,8))},e.\u0275prov=v({token:e,factory:e.\u0275fac,providedIn:"root"});let i=e;return i})(),jm=(()=>{let e=class e extends gc{constructor(t,n,o){super(t),this._platform=n,this._ngZone=o,this._cursorStyleIsSet=!1,this._pointerDownListener=s=>{this._pointerDownEventTarget=ji(s)},this._clickListener=s=>{let a=ji(s),c=s.type==="click"&&this._pointerDownEventTarget?this._pointerDownEventTarget:a;this._pointerDownEventTarget=null;let l=this._attachedOverlays.slice();for(let d=l.length-1;d>-1;d--){let u=l[d];if(u._outsidePointerEvents.observers.length<1||!u.hasAttached())continue;if(u.overlayElement.contains(a)||u.overlayElement.contains(c))break;let p=u._outsidePointerEvents;this._ngZone?this._ngZone.run(()=>p.next(s)):p.next(s)}}}add(t){if(super.add(t),!this._isAttached){let n=this._document.body;this._ngZone?this._ngZone.runOutsideAngular(()=>this._addEventListeners(n)):this._addEventListeners(n),this._platform.IOS&&!this._cursorStyleIsSet&&(this._cursorOriginalValue=n.style.cursor,n.style.cursor="pointer",this._cursorStyleIsSet=!0),this._isAttached=!0}}detach(){if(this._isAttached){let t=this._document.body;t.removeEventListener("pointerdown",this._pointerDownListener,!0),t.removeEventListener("click",this._clickListener,!0),t.removeEventListener("auxclick",this._clickListener,!0),t.removeEventListener("contextmenu",this._clickListener,!0),this._platform.IOS&&this._cursorStyleIsSet&&(t.style.cursor=this._cursorOriginalValue,this._cursorStyleIsSet=!1),this._isAttached=!1}}_addEventListeners(t){t.addEventListener("pointerdown",this._pointerDownListener,!0),t.addEventListener("click",this._clickListener,!0),t.addEventListener("auxclick",this._clickListener,!0),t.addEventListener("contextmenu",this._clickListener,!0)}};e.\u0275fac=function(n){return new(n||e)(f(L),f(ge),f(R,8))},e.\u0275prov=v({token:e,factory:e.\u0275fac,providedIn:"root"});let i=e;return i})(),_c=(()=>{let e=class e{constructor(t,n){this._platform=n,this._document=t}ngOnDestroy(){this._containerElement?.remove()}getContainerElement(){return this._containerElement||this._createContainer(),this._containerElement}_createContainer(){let t="cdk-overlay-container";if(this._platform.isBrowser||Bi()){let o=this._document.querySelectorAll(`.${t}[platform="server"], .${t}[platform="test"]`);for(let s=0;sthis._backdropClick.next(u),this._backdropTransitionendHandler=u=>{this._disposeBackdrop(u.target)},this._keydownEvents=new k,this._outsidePointerEvents=new k,n.scrollStrategy&&(this._scrollStrategy=n.scrollStrategy,this._scrollStrategy.attach(this)),this._positionStrategy=n.positionStrategy}get overlayElement(){return this._pane}get backdropElement(){return this._backdropElement}get hostElement(){return this._host}attach(e){!this._host.parentElement&&this._previousHostParent&&this._previousHostParent.appendChild(this._host);let r=this._portalOutlet.attach(e);return this._positionStrategy&&this._positionStrategy.attach(this),this._updateStackingOrder(),this._updateElementSize(),this._updateElementDirection(),this._scrollStrategy&&this._scrollStrategy.enable(),this._ngZone.onStable.pipe(be(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 e=this._portalOutlet.detach();return this._detachments.next(),this._keyboardDispatcher.remove(this),this._detachContentWhenStable(),this._locationChanges.unsubscribe(),this._outsideClickDispatcher.remove(this),e}dispose(){let e=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,e&&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(e){e!==this._positionStrategy&&(this._positionStrategy&&this._positionStrategy.dispose(),this._positionStrategy=e,this.hasAttached()&&(e.attach(this),this.updatePosition()))}updateSize(e){this._config=g(g({},this._config),e),this._updateElementSize()}setDirection(e){this._config=ie(g({},this._config),{direction:e}),this._updateElementDirection()}addPanelClass(e){this._pane&&this._toggleClasses(this._pane,e,!0)}removePanelClass(e){this._pane&&this._toggleClasses(this._pane,e,!1)}getDirection(){let e=this._config.direction;return e?typeof e=="string"?e:e.value:"ltr"}updateScrollStrategy(e){e!==this._scrollStrategy&&(this._disposeScrollStrategy(),this._scrollStrategy=e,this.hasAttached()&&(e.attach(this),e.enable()))}_updateElementDirection(){this._host.setAttribute("dir",this.getDirection())}_updateElementSize(){if(!this._pane)return;let e=this._pane.style;e.width=se(this._config.width),e.height=se(this._config.height),e.minWidth=se(this._config.minWidth),e.minHeight=se(this._config.minHeight),e.maxWidth=se(this._config.maxWidth),e.maxHeight=se(this._config.maxHeight)}_togglePointerEvents(e){this._pane.style.pointerEvents=e?"":"none"}_attachBackdrop(){let e="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(e)})}):this._backdropElement.classList.add(e)}_updateStackingOrder(){this._host.nextSibling&&this._host.parentNode.appendChild(this._host)}detachBackdrop(){let e=this._backdropElement;if(e){if(this._animationsDisabled){this._disposeBackdrop(e);return}e.classList.remove("cdk-overlay-backdrop-showing"),this._ngZone.runOutsideAngular(()=>{e.addEventListener("transitionend",this._backdropTransitionendHandler)}),e.style.pointerEvents="none",this._backdropTimeout=this._ngZone.runOutsideAngular(()=>setTimeout(()=>{this._disposeBackdrop(e)},500))}}_toggleClasses(e,r,t){let n=Qt(r||[]).filter(o=>!!o);n.length&&(t?e.classList.add(...n):e.classList.remove(...n))}_detachContentWhenStable(){this._ngZone.runOutsideAngular(()=>{let e=this._ngZone.onStable.pipe(U(Xe(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()),e.unsubscribe())})})}_disposeScrollStrategy(){let e=this._scrollStrategy;e&&(e.disable(),e.detach&&e.detach())}_disposeBackdrop(e){e&&(e.removeEventListener("click",this._backdropClickHandler),e.removeEventListener("transitionend",this._backdropTransitionendHandler),e.remove(),this._backdropElement===e&&(this._backdropElement=null)),this._backdropTimeout&&(clearTimeout(this._backdropTimeout),this._backdropTimeout=void 0)}},uc="cdk-overlay-connected-position-bounding-box",Bm=/([A-Za-z%]+)$/,fs=class{get positions(){return this._preferredPositions}constructor(e,r,t,n,o){this._viewportRuler=r,this._document=t,this._platform=n,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 k,this._resizeSubscription=Ee.EMPTY,this._offsetX=0,this._offsetY=0,this._appliedPanelClasses=[],this.positionChanges=this._positionChanges,this.setOrigin(e)}attach(e){this._overlayRef&&this._overlayRef,this._validatePositions(),e.hostElement.classList.add(uc),this._overlayRef=e,this._boundingBox=e.hostElement,this._pane=e.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 e=this._originRect,r=this._overlayRect,t=this._viewportRect,n=this._containerRect,o=[],s;for(let a of this._preferredPositions){let c=this._getOriginPoint(e,n,a),l=this._getOverlayPoint(c,r,a),d=this._getOverlayFit(l,r,t,a);if(d.isCompletelyWithinViewport){this._isPushed=!1,this._applyPosition(a,c);return}if(this._canFitWithFlexibleDimensions(d,l,t)){o.push({position:a,origin:c,overlayRect:r,boundingBoxRect:this._calculateBoundingBoxRect(c,a)});continue}(!s||s.overlayFit.visibleAreac&&(c=d,a=l)}this._isPushed=!1,this._applyPosition(a.position,a.origin);return}if(this._canPush){this._isPushed=!0,this._applyPosition(s.position,s.originPoint);return}this._applyPosition(s.position,s.originPoint)}detach(){this._clearPanelClasses(),this._lastPosition=null,this._previousPushAmount=null,this._resizeSubscription.unsubscribe()}dispose(){this._isDisposed||(this._boundingBox&&Rt(this._boundingBox.style,{top:"",left:"",right:"",bottom:"",height:"",width:"",alignItems:"",justifyContent:""}),this._pane&&this._resetOverlayElementStyles(),this._overlayRef&&this._overlayRef.hostElement.classList.remove(uc),this.detach(),this._positionChanges.complete(),this._overlayRef=this._boundingBox=null,this._isDisposed=!0)}reapplyLastPosition(){if(this._isDisposed||!this._platform.isBrowser)return;let e=this._lastPosition;if(e){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,e);this._applyPosition(e,r)}else this.apply()}withScrollableContainers(e){return this._scrollables=e,this}withPositions(e){return this._preferredPositions=e,e.indexOf(this._lastPosition)===-1&&(this._lastPosition=null),this._validatePositions(),this}withViewportMargin(e){return this._viewportMargin=e,this}withFlexibleDimensions(e=!0){return this._hasFlexibleDimensions=e,this}withGrowAfterOpen(e=!0){return this._growAfterOpen=e,this}withPush(e=!0){return this._canPush=e,this}withLockedPosition(e=!0){return this._positionLocked=e,this}setOrigin(e){return this._origin=e,this}withDefaultOffsetX(e){return this._offsetX=e,this}withDefaultOffsetY(e){return this._offsetY=e,this}withTransformOriginOn(e){return this._transformOriginSelector=e,this}_getOriginPoint(e,r,t){let n;if(t.originX=="center")n=e.left+e.width/2;else{let s=this._isRtl()?e.right:e.left,a=this._isRtl()?e.left:e.right;n=t.originX=="start"?s:a}r.left<0&&(n-=r.left);let o;return t.originY=="center"?o=e.top+e.height/2:o=t.originY=="top"?e.top:e.bottom,r.top<0&&(o-=r.top),{x:n,y:o}}_getOverlayPoint(e,r,t){let n;t.overlayX=="center"?n=-r.width/2:t.overlayX==="start"?n=this._isRtl()?-r.width:0:n=this._isRtl()?0:-r.width;let o;return t.overlayY=="center"?o=-r.height/2:o=t.overlayY=="top"?0:-r.height,{x:e.x+n,y:e.y+o}}_getOverlayFit(e,r,t,n){let o=mc(r),{x:s,y:a}=e,c=this._getOffset(n,"x"),l=this._getOffset(n,"y");c&&(s+=c),l&&(a+=l);let d=0-s,u=s+o.width-t.width,p=0-a,b=a+o.height-t.height,B=this._subtractOverflows(o.width,d,u),V=this._subtractOverflows(o.height,p,b),S=B*V;return{visibleArea:S,isCompletelyWithinViewport:o.width*o.height===S,fitsInViewportVertically:V===o.height,fitsInViewportHorizontally:B==o.width}}_canFitWithFlexibleDimensions(e,r,t){if(this._hasFlexibleDimensions){let n=t.bottom-r.y,o=t.right-r.x,s=fc(this._overlayRef.getConfig().minHeight),a=fc(this._overlayRef.getConfig().minWidth),c=e.fitsInViewportVertically||s!=null&&s<=n,l=e.fitsInViewportHorizontally||a!=null&&a<=o;return c&&l}return!1}_pushOverlayOnScreen(e,r,t){if(this._previousPushAmount&&this._positionLocked)return{x:e.x+this._previousPushAmount.x,y:e.y+this._previousPushAmount.y};let n=mc(r),o=this._viewportRect,s=Math.max(e.x+n.width-o.width,0),a=Math.max(e.y+n.height-o.height,0),c=Math.max(o.top-t.top-e.y,0),l=Math.max(o.left-t.left-e.x,0),d=0,u=0;return n.width<=o.width?d=l||-s:d=e.xB&&!this._isInitialRender&&!this._growAfterOpen&&(s=e.y-B/2)}let c=r.overlayX==="start"&&!n||r.overlayX==="end"&&n,l=r.overlayX==="end"&&!n||r.overlayX==="start"&&n,d,u,p;if(l)p=t.width-e.x+this._viewportMargin*2,d=e.x-this._viewportMargin;else if(c)u=e.x,d=t.right-e.x;else{let b=Math.min(t.right-e.x+t.left,e.x),B=this._lastBoundingBoxSize.width;d=b*2,u=e.x-b,d>B&&!this._isInitialRender&&!this._growAfterOpen&&(u=e.x-B/2)}return{top:s,left:u,bottom:a,right:p,width:d,height:o}}_setBoundingBoxStyles(e,r){let t=this._calculateBoundingBoxRect(e,r);!this._isInitialRender&&!this._growAfterOpen&&(t.height=Math.min(t.height,this._lastBoundingBoxSize.height),t.width=Math.min(t.width,this._lastBoundingBoxSize.width));let n={};if(this._hasExactPosition())n.top=n.left="0",n.bottom=n.right=n.maxHeight=n.maxWidth="",n.width=n.height="100%";else{let o=this._overlayRef.getConfig().maxHeight,s=this._overlayRef.getConfig().maxWidth;n.height=se(t.height),n.top=se(t.top),n.bottom=se(t.bottom),n.width=se(t.width),n.left=se(t.left),n.right=se(t.right),r.overlayX==="center"?n.alignItems="center":n.alignItems=r.overlayX==="end"?"flex-end":"flex-start",r.overlayY==="center"?n.justifyContent="center":n.justifyContent=r.overlayY==="bottom"?"flex-end":"flex-start",o&&(n.maxHeight=se(o)),s&&(n.maxWidth=se(s))}this._lastBoundingBoxSize=t,Rt(this._boundingBox.style,n)}_resetBoundingBoxStyles(){Rt(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})}_resetOverlayElementStyles(){Rt(this._pane.style,{top:"",left:"",bottom:"",right:"",position:"",transform:""})}_setOverlayElementStyles(e,r){let t={},n=this._hasExactPosition(),o=this._hasFlexibleDimensions,s=this._overlayRef.getConfig();if(n){let d=this._viewportRuler.getViewportScrollPosition();Rt(t,this._getExactOverlayY(r,e,d)),Rt(t,this._getExactOverlayX(r,e,d))}else t.position="static";let a="",c=this._getOffset(r,"x"),l=this._getOffset(r,"y");c&&(a+=`translateX(${c}px) `),l&&(a+=`translateY(${l}px)`),t.transform=a.trim(),s.maxHeight&&(n?t.maxHeight=se(s.maxHeight):o&&(t.maxHeight="")),s.maxWidth&&(n?t.maxWidth=se(s.maxWidth):o&&(t.maxWidth="")),Rt(this._pane.style,t)}_getExactOverlayY(e,r,t){let n={top:"",bottom:""},o=this._getOverlayPoint(r,this._overlayRect,e);if(this._isPushed&&(o=this._pushOverlayOnScreen(o,this._overlayRect,t)),e.overlayY==="bottom"){let s=this._document.documentElement.clientHeight;n.bottom=`${s-(o.y+this._overlayRect.height)}px`}else n.top=se(o.y);return n}_getExactOverlayX(e,r,t){let n={left:"",right:""},o=this._getOverlayPoint(r,this._overlayRect,e);this._isPushed&&(o=this._pushOverlayOnScreen(o,this._overlayRect,t));let s;if(this._isRtl()?s=e.overlayX==="end"?"left":"right":s=e.overlayX==="end"?"right":"left",s==="right"){let a=this._document.documentElement.clientWidth;n.right=`${a-(o.x+this._overlayRect.width)}px`}else n.left=se(o.x);return n}_getScrollVisibility(){let e=this._getOriginRect(),r=this._pane.getBoundingClientRect(),t=this._scrollables.map(n=>n.getElementRef().nativeElement.getBoundingClientRect());return{isOriginClipped:hc(e,t),isOriginOutsideView:cs(e,t),isOverlayClipped:hc(r,t),isOverlayOutsideView:cs(r,t)}}_subtractOverflows(e,...r){return r.reduce((t,n)=>t-Math.max(n,0),e)}_getNarrowedViewportRect(){let e=this._document.documentElement.clientWidth,r=this._document.documentElement.clientHeight,t=this._viewportRuler.getViewportScrollPosition();return{top:t.top+this._viewportMargin,left:t.left+this._viewportMargin,right:t.left+e-this._viewportMargin,bottom:t.top+r-this._viewportMargin,width:e-2*this._viewportMargin,height:r-2*this._viewportMargin}}_isRtl(){return this._overlayRef.getDirection()==="rtl"}_hasExactPosition(){return!this._hasFlexibleDimensions||this._isPushed}_getOffset(e,r){return r==="x"?e.offsetX==null?this._offsetX:e.offsetX:e.offsetY==null?this._offsetY:e.offsetY}_validatePositions(){}_addPanelClasses(e){this._pane&&Qt(e).forEach(r=>{r!==""&&this._appliedPanelClasses.indexOf(r)===-1&&(this._appliedPanelClasses.push(r),this._pane.classList.add(r))})}_clearPanelClasses(){this._pane&&(this._appliedPanelClasses.forEach(e=>{this._pane.classList.remove(e)}),this._appliedPanelClasses=[])}_getOriginRect(){let e=this._origin;if(e instanceof F)return e.nativeElement.getBoundingClientRect();if(e instanceof Element)return e.getBoundingClientRect();let r=e.width||0,t=e.height||0;return{top:e.y,bottom:e.y+t,left:e.x,right:e.x+r,height:t,width:r}}};function Rt(i,e){for(let r in e)e.hasOwnProperty(r)&&(i[r]=e[r]);return i}function fc(i){if(typeof i!="number"&&i!=null){let[e,r]=i.split(Bm);return!r||r==="px"?parseFloat(e):null}return i||null}function mc(i){return{top:Math.floor(i.top),right:Math.floor(i.right),bottom:Math.floor(i.bottom),left:Math.floor(i.left),width:Math.floor(i.width),height:Math.floor(i.height)}}function Um(i,e){return i===e?!0:i.isOriginClipped===e.isOriginClipped&&i.isOriginOutsideView===e.isOriginOutsideView&&i.isOverlayClipped===e.isOverlayClipped&&i.isOverlayOutsideView===e.isOverlayOutsideView}var pc="cdk-global-overlay-wrapper",ms=class{constructor(){this._cssPosition="static",this._topOffset="",this._bottomOffset="",this._alignItems="",this._xPosition="",this._xOffset="",this._width="",this._height="",this._isDisposed=!1}attach(e){let r=e.getConfig();this._overlayRef=e,this._width&&!r.width&&e.updateSize({width:this._width}),this._height&&!r.height&&e.updateSize({height:this._height}),e.hostElement.classList.add(pc),this._isDisposed=!1}top(e=""){return this._bottomOffset="",this._topOffset=e,this._alignItems="flex-start",this}left(e=""){return this._xOffset=e,this._xPosition="left",this}bottom(e=""){return this._topOffset="",this._bottomOffset=e,this._alignItems="flex-end",this}right(e=""){return this._xOffset=e,this._xPosition="right",this}start(e=""){return this._xOffset=e,this._xPosition="start",this}end(e=""){return this._xOffset=e,this._xPosition="end",this}width(e=""){return this._overlayRef?this._overlayRef.updateSize({width:e}):this._width=e,this}height(e=""){return this._overlayRef?this._overlayRef.updateSize({height:e}):this._height=e,this}centerHorizontally(e=""){return this.left(e),this._xPosition="center",this}centerVertically(e=""){return this.top(e),this._alignItems="center",this}apply(){if(!this._overlayRef||!this._overlayRef.hasAttached())return;let e=this._overlayRef.overlayElement.style,r=this._overlayRef.hostElement.style,t=this._overlayRef.getConfig(),{width:n,height:o,maxWidth:s,maxHeight:a}=t,c=(n==="100%"||n==="100vw")&&(!s||s==="100%"||s==="100vw"),l=(o==="100%"||o==="100vh")&&(!a||a==="100%"||a==="100vh"),d=this._xPosition,u=this._xOffset,p=this._overlayRef.getConfig().direction==="rtl",b="",B="",V="";c?V="flex-start":d==="center"?(V="center",p?B=u:b=u):p?d==="left"||d==="end"?(V="flex-end",b=u):(d==="right"||d==="start")&&(V="flex-start",B=u):d==="left"||d==="start"?(V="flex-start",b=u):(d==="right"||d==="end")&&(V="flex-end",B=u),e.position=this._cssPosition,e.marginLeft=c?"0":b,e.marginTop=l?"0":this._topOffset,e.marginBottom=this._bottomOffset,e.marginRight=c?"0":B,r.justifyContent=V,r.alignItems=l?"flex-start":this._alignItems}dispose(){if(this._isDisposed||!this._overlayRef)return;let e=this._overlayRef.overlayElement.style,r=this._overlayRef.hostElement,t=r.style;r.classList.remove(pc),t.justifyContent=t.alignItems=e.marginTop=e.marginBottom=e.marginLeft=e.marginRight=e.position="",this._overlayRef=null,this._isDisposed=!0}},zm=(()=>{let e=class e{constructor(t,n,o,s){this._viewportRuler=t,this._document=n,this._platform=o,this._overlayContainer=s}global(){return new ms}flexibleConnectedTo(t){return new fs(t,this._viewportRuler,this._document,this._platform,this._overlayContainer)}};e.\u0275fac=function(n){return new(n||e)(f(It),f(L),f(ge),f(_c))},e.\u0275prov=v({token:e,factory:e.\u0275fac,providedIn:"root"});let i=e;return i})(),Hm=0,kt=(()=>{let e=class e{constructor(t,n,o,s,a,c,l,d,u,p,b,B){this.scrollStrategies=t,this._overlayContainer=n,this._componentFactoryResolver=o,this._positionBuilder=s,this._keyboardDispatcher=a,this._injector=c,this._ngZone=l,this._document=d,this._directionality=u,this._location=p,this._outsideClickDispatcher=b,this._animationsModuleType=B}create(t){let n=this._createHostElement(),o=this._createPaneElement(n),s=this._createPortalOutlet(o),a=new tr(t);return a.direction=a.direction||this._directionality.value,new us(s,n,o,a,this._ngZone,this._keyboardDispatcher,this._document,this._location,this._outsideClickDispatcher,this._animationsModuleType==="NoopAnimations")}position(){return this._positionBuilder}_createPaneElement(t){let n=this._document.createElement("div");return n.id=`cdk-overlay-${Hm++}`,n.classList.add("cdk-overlay-pane"),t.appendChild(n),n}_createHostElement(){let t=this._document.createElement("div");return this._overlayContainer.getContainerElement().appendChild(t),t}_createPortalOutlet(t){return this._appRef||(this._appRef=this._injector.get(Vt)),new Jn(t,this._componentFactoryResolver,this._appRef,this._injector,this._document)}};e.\u0275fac=function(n){return new(n||e)(f(Lm),f(_c),f(Or),f(zm),f(Vm),f(at),f(R),f(L),f(qe),f(Bt),f(jm),f(Le,8))},e.\u0275prov=v({token:e,factory:e.\u0275fac,providedIn:"root"});let i=e;return i})(),$m=[{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"}],vc=new w("cdk-connected-overlay-scroll-strategy",{providedIn:"root",factory:()=>{let i=_(kt);return()=>i.scrollStrategies.reposition()}}),ir=(()=>{let e=class e{constructor(t){this.elementRef=t}};e.\u0275fac=function(n){return new(n||e)(h(F))},e.\u0275dir=C({type:e,selectors:[["","cdk-overlay-origin",""],["","overlay-origin",""],["","cdkOverlayOrigin",""]],exportAs:["cdkOverlayOrigin"],standalone:!0});let i=e;return i})(),ps=(()=>{let e=class e{get offsetX(){return this._offsetX}set offsetX(t){this._offsetX=t,this._position&&this._updatePositionStrategy(this._position)}get offsetY(){return this._offsetY}set offsetY(t){this._offsetY=t,this._position&&this._updatePositionStrategy(this._position)}get disposeOnNavigation(){return this._disposeOnNavigation}set disposeOnNavigation(t){this._disposeOnNavigation=t}constructor(t,n,o,s,a){this._overlay=t,this._dir=a,this._backdropSubscription=Ee.EMPTY,this._attachSubscription=Ee.EMPTY,this._detachSubscription=Ee.EMPTY,this._positionSubscription=Ee.EMPTY,this._disposeOnNavigation=!1,this._ngZone=_(R),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 qi(n,o),this._scrollStrategyFactory=s,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(t){this._position&&(this._updatePositionStrategy(this._position),this._overlayRef.updateSize({width:this.width,minWidth:this.minWidth,height:this.height,minHeight:this.minHeight}),t.origin&&this.open&&this._position.apply()),t.open&&(this.open?this._attachOverlay():this._detachOverlay())}_createOverlay(){(!this.positions||!this.positions.length)&&(this.positions=$m);let t=this._overlayRef=this._overlay.create(this._buildConfig());this._attachSubscription=t.attachments().subscribe(()=>this.attach.emit()),this._detachSubscription=t.detachments().subscribe(()=>this.detach.emit()),t.keydownEvents().subscribe(n=>{this.overlayKeydown.next(n),n.keyCode===27&&!this.disableClose&&!Ye(n)&&(n.preventDefault(),this._detachOverlay())}),this._overlayRef.outsidePointerEvents().subscribe(n=>{this.overlayOutsideClick.next(n)})}_buildConfig(){let t=this._position=this.positionStrategy||this._createPositionStrategy(),n=new tr({direction:this._dir,positionStrategy:t,scrollStrategy:this.scrollStrategy,hasBackdrop:this.hasBackdrop,disposeOnNavigation:this.disposeOnNavigation});return(this.width||this.width===0)&&(n.width=this.width),(this.height||this.height===0)&&(n.height=this.height),(this.minWidth||this.minWidth===0)&&(n.minWidth=this.minWidth),(this.minHeight||this.minHeight===0)&&(n.minHeight=this.minHeight),this.backdropClass&&(n.backdropClass=this.backdropClass),this.panelClass&&(n.panelClass=this.panelClass),n}_updatePositionStrategy(t){let n=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 t.setOrigin(this._getFlexibleConnectedPositionStrategyOrigin()).withPositions(n).withFlexibleDimensions(this.flexibleDimensions).withPush(this.push).withGrowAfterOpen(this.growAfterOpen).withViewportMargin(this.viewportMargin).withLockedPosition(this.lockPosition).withTransformOriginOn(this.transformOriginSelector)}_createPositionStrategy(){let t=this._overlay.position().flexibleConnectedTo(this._getFlexibleConnectedPositionStrategyOrigin());return this._updatePositionStrategy(t),t}_getFlexibleConnectedPositionStrategyOrigin(){return this.origin instanceof ir?this.origin.elementRef:this.origin}_attachOverlay(){this._overlayRef?this._overlayRef.getConfig().hasBackdrop=this.hasBackdrop:this._createOverlay(),this._overlayRef.hasAttached()||this._overlayRef.attach(this._templatePortal),this.hasBackdrop?this._backdropSubscription=this._overlayRef.backdropClick().subscribe(t=>{this.backdropClick.emit(t)}):this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this.positionChange.observers.length>0&&(this._positionSubscription=this._position.positionChanges.pipe(Zs(()=>this.positionChange.observers.length>0)).subscribe(t=>{this._ngZone.run(()=>this.positionChange.emit(t)),this.positionChange.observers.length===0&&this._positionSubscription.unsubscribe()}))}_detachOverlay(){this._overlayRef&&this._overlayRef.detach(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe()}};e.\u0275fac=function(n){return new(n||e)(h(kt),h(Ie),h(Oe),h(vc),h(qe,8))},e.\u0275dir=C({type:e,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",G],lockPosition:[m.HasDecoratorInputTransform,"cdkConnectedOverlayLockPosition","lockPosition",G],flexibleDimensions:[m.HasDecoratorInputTransform,"cdkConnectedOverlayFlexibleDimensions","flexibleDimensions",G],growAfterOpen:[m.HasDecoratorInputTransform,"cdkConnectedOverlayGrowAfterOpen","growAfterOpen",G],push:[m.HasDecoratorInputTransform,"cdkConnectedOverlayPush","push",G],disposeOnNavigation:[m.HasDecoratorInputTransform,"cdkConnectedOverlayDisposeOnNavigation","disposeOnNavigation",G]},outputs:{backdropClick:"backdropClick",positionChange:"positionChange",attach:"attach",detach:"detach",overlayKeydown:"overlayKeydown",overlayOutsideClick:"overlayOutsideClick"},exportAs:["cdkConnectedOverlay"],standalone:!0,features:[ae,we]});let i=e;return i})();function Wm(i){return()=>i.scrollStrategies.reposition()}var Gm={provide:vc,deps:[kt],useFactory:Wm},yc=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=O({type:e}),e.\u0275inj=T({providers:[kt,Gm],imports:[nt,cc,Wi,Wi]});let i=e;return i})();var Ic=(()=>{let e=class e{constructor(t,n){this._renderer=t,this._elementRef=n,this.onChange=o=>{},this.onTouched=()=>{}}setProperty(t,n){this._renderer.setProperty(this._elementRef.nativeElement,t,n)}registerOnTouched(t){this.onTouched=t}registerOnChange(t){this.onChange=t}setDisabledState(t){this.setProperty("disabled",t)}};e.\u0275fac=function(n){return new(n||e)(h(rn),h(F))},e.\u0275dir=C({type:e});let i=e;return i})(),qm=(()=>{let e=class e extends Ic{};e.\u0275fac=(()=>{let t;return function(o){return(t||(t=de(e)))(o||e)}})(),e.\u0275dir=C({type:e,features:[q]});let i=e;return i})(),Rc=new w("");var Ym={provide:Rc,useExisting:si(()=>kc),multi:!0};function Zm(){let i=jt()?jt().getUserAgent():"";return/android (\d+)/.test(i.toLowerCase())}var Xm=new w(""),kc=(()=>{let e=class e extends Ic{constructor(t,n,o){super(t,n),this._compositionMode=o,this._composing=!1,this._compositionMode==null&&(this._compositionMode=!Zm())}writeValue(t){let n=t??"";this.setProperty("value",n)}_handleInput(t){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(t)}_compositionStart(){this._composing=!0}_compositionEnd(t){this._composing=!1,this._compositionMode&&this.onChange(t)}};e.\u0275fac=function(n){return new(n||e)(h(rn),h(F),h(Xm,8))},e.\u0275dir=C({type:e,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(n,o){n&1&&me("input",function(a){return o._handleInput(a.target.value)})("blur",function(){return o.onTouched()})("compositionstart",function(){return o._compositionStart()})("compositionend",function(a){return o._compositionEnd(a.target.value)})},features:[J([Ym]),q]});let i=e;return i})();function rt(i){return i==null||(typeof i=="string"||Array.isArray(i))&&i.length===0}function Ac(i){return i!=null&&typeof i.length=="number"}var vs=new w(""),ys=new w(""),Km=/^(?=.{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])?)*$/,rr=class{static min(e){return Qm(e)}static max(e){return Jm(e)}static required(e){return ep(e)}static requiredTrue(e){return tp(e)}static email(e){return ip(e)}static minLength(e){return np(e)}static maxLength(e){return rp(e)}static pattern(e){return op(e)}static nullValidator(e){return Mc(e)}static compose(e){return Lc(e)}static composeAsync(e){return Vc(e)}};function Qm(i){return e=>{if(rt(e.value)||rt(i))return null;let r=parseFloat(e.value);return!isNaN(r)&&r{if(rt(e.value)||rt(i))return null;let r=parseFloat(e.value);return!isNaN(r)&&r>i?{max:{max:i,actual:e.value}}:null}}function ep(i){return rt(i.value)?{required:!0}:null}function tp(i){return i.value===!0?null:{required:!0}}function ip(i){return rt(i.value)||Km.test(i.value)?null:{email:!0}}function np(i){return e=>rt(e.value)||!Ac(e.value)?null:e.value.lengthAc(e.value)&&e.value.length>i?{maxlength:{requiredLength:i,actualLength:e.value.length}}:null}function op(i){if(!i)return Mc;let e,r;return typeof i=="string"?(r="",i.charAt(0)!=="^"&&(r+="^"),r+=i,i.charAt(i.length-1)!=="$"&&(r+="$"),e=new RegExp(r)):(r=i.toString(),e=i),t=>{if(rt(t.value))return null;let n=t.value;return e.test(n)?null:{pattern:{requiredPattern:r,actualValue:n}}}}function Mc(i){return null}function Tc(i){return i!=null}function Oc(i){return cn(i)?ve(i):i}function Fc(i){let e={};return i.forEach(r=>{e=r!=null?g(g({},e),r):e}),Object.keys(e).length===0?null:e}function Nc(i,e){return e.map(r=>r(i))}function sp(i){return!i.validate}function Pc(i){return i.map(e=>sp(e)?e:r=>e.validate(r))}function Lc(i){if(!i)return null;let e=i.filter(Tc);return e.length==0?null:function(r){return Fc(Nc(r,e))}}function bs(i){return i!=null?Lc(Pc(i)):null}function Vc(i){if(!i)return null;let e=i.filter(Tc);return e.length==0?null:function(r){let t=Nc(r,e).map(Oc);return Hs(t).pipe(A(Fc))}}function xs(i){return i!=null?Vc(Pc(i)):null}function bc(i,e){return i===null?[e]:Array.isArray(i)?[...i,e]:[i,e]}function jc(i){return i._rawValidators}function Bc(i){return i._rawAsyncValidators}function gs(i){return i?Array.isArray(i)?i:[i]:[]}function or(i,e){return Array.isArray(i)?i.includes(e):i===e}function xc(i,e){let r=gs(e);return gs(i).forEach(n=>{or(r,n)||r.push(n)}),r}function wc(i,e){return gs(e).filter(r=>!or(i,r))}var sr=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(e){this._rawValidators=e||[],this._composedValidatorFn=bs(this._rawValidators)}_setAsyncValidators(e){this._rawAsyncValidators=e||[],this._composedAsyncValidatorFn=xs(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(e){this._onDestroyCallbacks.push(e)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(e=>e()),this._onDestroyCallbacks=[]}reset(e=void 0){this.control&&this.control.reset(e)}hasError(e,r){return this.control?this.control.hasError(e,r):!1}getError(e,r){return this.control?this.control.getError(e,r):null}},At=class extends sr{get formDirective(){return null}get path(){return null}},Mt=class extends sr{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}},_s=class{constructor(e){this._cd=e}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}},ap={"[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"},Iy=ie(g({},ap),{"[class.ng-submitted]":"isSubmitted"}),Uc=(()=>{let e=class e extends _s{constructor(t){super(t)}};e.\u0275fac=function(n){return new(n||e)(h(Mt,2))},e.\u0275dir=C({type:e,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(n,o){n&2&&ne("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:[q]});let i=e;return i})();var Yi="VALID",nr="INVALID",ti="PENDING",Zi="DISABLED";function zc(i){return(ur(i)?i.validators:i)||null}function lp(i){return Array.isArray(i)?bs(i):i||null}function Hc(i,e){return(ur(e)?e.asyncValidators:i)||null}function cp(i){return Array.isArray(i)?xs(i):i||null}function ur(i){return i!=null&&!Array.isArray(i)&&typeof i=="object"}function dp(i,e,r){let t=i.controls;if(!(e?Object.keys(t):t).length)throw new Z(1e3,"");if(!t[r])throw new Z(1001,"")}function hp(i,e,r){i._forEachChild((t,n)=>{if(r[n]===void 0)throw new Z(1002,"")})}var ar=class{constructor(e,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(e),this._assignAsyncValidators(r)}get validator(){return this._composedValidatorFn}set validator(e){this._rawValidators=this._composedValidatorFn=e}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(e){this._rawAsyncValidators=this._composedAsyncValidatorFn=e}get parent(){return this._parent}get valid(){return this.status===Yi}get invalid(){return this.status===nr}get pending(){return this.status==ti}get disabled(){return this.status===Zi}get enabled(){return this.status!==Zi}get dirty(){return!this.pristine}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(e){this._assignValidators(e)}setAsyncValidators(e){this._assignAsyncValidators(e)}addValidators(e){this.setValidators(xc(e,this._rawValidators))}addAsyncValidators(e){this.setAsyncValidators(xc(e,this._rawAsyncValidators))}removeValidators(e){this.setValidators(wc(e,this._rawValidators))}removeAsyncValidators(e){this.setAsyncValidators(wc(e,this._rawAsyncValidators))}hasValidator(e){return or(this._rawValidators,e)}hasAsyncValidator(e){return or(this._rawAsyncValidators,e)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(e={}){this.touched=!0,this._parent&&!e.onlySelf&&this._parent.markAsTouched(e)}markAllAsTouched(){this.markAsTouched({onlySelf:!0}),this._forEachChild(e=>e.markAllAsTouched())}markAsUntouched(e={}){this.touched=!1,this._pendingTouched=!1,this._forEachChild(r=>{r.markAsUntouched({onlySelf:!0})}),this._parent&&!e.onlySelf&&this._parent._updateTouched(e)}markAsDirty(e={}){this.pristine=!1,this._parent&&!e.onlySelf&&this._parent.markAsDirty(e)}markAsPristine(e={}){this.pristine=!0,this._pendingDirty=!1,this._forEachChild(r=>{r.markAsPristine({onlySelf:!0})}),this._parent&&!e.onlySelf&&this._parent._updatePristine(e)}markAsPending(e={}){this.status=ti,e.emitEvent!==!1&&this.statusChanges.emit(this.status),this._parent&&!e.onlySelf&&this._parent.markAsPending(e)}disable(e={}){let r=this._parentMarkedDirty(e.onlySelf);this.status=Zi,this.errors=null,this._forEachChild(t=>{t.disable(ie(g({},e),{onlySelf:!0}))}),this._updateValue(),e.emitEvent!==!1&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors(ie(g({},e),{skipPristineCheck:r})),this._onDisabledChange.forEach(t=>t(!0))}enable(e={}){let r=this._parentMarkedDirty(e.onlySelf);this.status=Yi,this._forEachChild(t=>{t.enable(ie(g({},e),{onlySelf:!0}))}),this.updateValueAndValidity({onlySelf:!0,emitEvent:e.emitEvent}),this._updateAncestors(ie(g({},e),{skipPristineCheck:r})),this._onDisabledChange.forEach(t=>t(!1))}_updateAncestors(e){this._parent&&!e.onlySelf&&(this._parent.updateValueAndValidity(e),e.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}setParent(e){this._parent=e}getRawValue(){return this.value}updateValueAndValidity(e={}){this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===Yi||this.status===ti)&&this._runAsyncValidator(e.emitEvent)),e.emitEvent!==!1&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!e.onlySelf&&this._parent.updateValueAndValidity(e)}_updateTreeValidity(e={emitEvent:!0}){this._forEachChild(r=>r._updateTreeValidity(e)),this.updateValueAndValidity({onlySelf:!0,emitEvent:e.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?Zi:Yi}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(e){if(this.asyncValidator){this.status=ti,this._hasOwnPendingAsyncValidator=!0;let r=Oc(this.asyncValidator(this));this._asyncValidationSubscription=r.subscribe(t=>{this._hasOwnPendingAsyncValidator=!1,this.setErrors(t,{emitEvent:e})})}}_cancelExistingSubscription(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)}setErrors(e,r={}){this.errors=e,this._updateControlsErrors(r.emitEvent!==!1)}get(e){let r=e;return r==null||(Array.isArray(r)||(r=r.split(".")),r.length===0)?null:r.reduce((t,n)=>t&&t._find(n),this)}getError(e,r){let t=r?this.get(r):this;return t&&t.errors?t.errors[e]:null}hasError(e,r){return!!this.getError(e,r)}get root(){let e=this;for(;e._parent;)e=e._parent;return e}_updateControlsErrors(e){this.status=this._calculateStatus(),e&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(e)}_initObservables(){this.valueChanges=new z,this.statusChanges=new z}_calculateStatus(){return this._allControlsDisabled()?Zi:this.errors?nr:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(ti)?ti:this._anyControlsHaveStatus(nr)?nr:Yi}_anyControlsHaveStatus(e){return this._anyControls(r=>r.status===e)}_anyControlsDirty(){return this._anyControls(e=>e.dirty)}_anyControlsTouched(){return this._anyControls(e=>e.touched)}_updatePristine(e={}){this.pristine=!this._anyControlsDirty(),this._parent&&!e.onlySelf&&this._parent._updatePristine(e)}_updateTouched(e={}){this.touched=this._anyControlsTouched(),this._parent&&!e.onlySelf&&this._parent._updateTouched(e)}_registerOnCollectionChange(e){this._onCollectionChange=e}_setUpdateStrategy(e){ur(e)&&e.updateOn!=null&&(this._updateOn=e.updateOn)}_parentMarkedDirty(e){let r=this._parent&&this._parent.dirty;return!e&&!!r&&!this._parent._anyControlsDirty()}_find(e){return null}_assignValidators(e){this._rawValidators=Array.isArray(e)?e.slice():e,this._composedValidatorFn=lp(this._rawValidators)}_assignAsyncValidators(e){this._rawAsyncValidators=Array.isArray(e)?e.slice():e,this._composedAsyncValidatorFn=cp(this._rawAsyncValidators)}},lr=class extends ar{constructor(e,r,t){super(zc(r),Hc(t,r)),this.controls=e,this._initObservables(),this._setUpdateStrategy(r),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}registerControl(e,r){return this.controls[e]?this.controls[e]:(this.controls[e]=r,r.setParent(this),r._registerOnCollectionChange(this._onCollectionChange),r)}addControl(e,r,t={}){this.registerControl(e,r),this.updateValueAndValidity({emitEvent:t.emitEvent}),this._onCollectionChange()}removeControl(e,r={}){this.controls[e]&&this.controls[e]._registerOnCollectionChange(()=>{}),delete this.controls[e],this.updateValueAndValidity({emitEvent:r.emitEvent}),this._onCollectionChange()}setControl(e,r,t={}){this.controls[e]&&this.controls[e]._registerOnCollectionChange(()=>{}),delete this.controls[e],r&&this.registerControl(e,r),this.updateValueAndValidity({emitEvent:t.emitEvent}),this._onCollectionChange()}contains(e){return this.controls.hasOwnProperty(e)&&this.controls[e].enabled}setValue(e,r={}){hp(this,!0,e),Object.keys(e).forEach(t=>{dp(this,!0,t),this.controls[t].setValue(e[t],{onlySelf:!0,emitEvent:r.emitEvent})}),this.updateValueAndValidity(r)}patchValue(e,r={}){e!=null&&(Object.keys(e).forEach(t=>{let n=this.controls[t];n&&n.patchValue(e[t],{onlySelf:!0,emitEvent:r.emitEvent})}),this.updateValueAndValidity(r))}reset(e={},r={}){this._forEachChild((t,n)=>{t.reset(e?e[n]:null,{onlySelf:!0,emitEvent:r.emitEvent})}),this._updatePristine(r),this._updateTouched(r),this.updateValueAndValidity(r)}getRawValue(){return this._reduceChildren({},(e,r,t)=>(e[t]=r.getRawValue(),e))}_syncPendingControls(){let e=this._reduceChildren(!1,(r,t)=>t._syncPendingControls()?!0:r);return e&&this.updateValueAndValidity({onlySelf:!0}),e}_forEachChild(e){Object.keys(this.controls).forEach(r=>{let t=this.controls[r];t&&e(t,r)})}_setUpControls(){this._forEachChild(e=>{e.setParent(this),e._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(e){for(let[r,t]of Object.entries(this.controls))if(this.contains(r)&&e(t))return!0;return!1}_reduceValue(){let e={};return this._reduceChildren(e,(r,t,n)=>((t.enabled||this.disabled)&&(r[n]=t.value),r))}_reduceChildren(e,r){let t=e;return this._forEachChild((n,o)=>{t=r(t,n,o)}),t}_allControlsDisabled(){for(let e of Object.keys(this.controls))if(this.controls[e].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_find(e){return this.controls.hasOwnProperty(e)?this.controls[e]:null}};var fr=new w("CallSetDisabledState",{providedIn:"root",factory:()=>ws}),ws="always";function up(i,e){return[...e.path,i]}function cr(i,e,r=ws){Cs(i,e),e.valueAccessor.writeValue(i.value),(i.disabled||r==="always")&&e.valueAccessor.setDisabledState?.(i.disabled),mp(i,e),gp(i,e),pp(i,e),fp(i,e)}function Cc(i,e,r=!0){let t=()=>{};e.valueAccessor&&(e.valueAccessor.registerOnChange(t),e.valueAccessor.registerOnTouched(t)),hr(i,e),i&&(e._invokeOnDestroyCallbacks(),i._registerOnCollectionChange(()=>{}))}function dr(i,e){i.forEach(r=>{r.registerOnValidatorChange&&r.registerOnValidatorChange(e)})}function fp(i,e){if(e.valueAccessor.setDisabledState){let r=t=>{e.valueAccessor.setDisabledState(t)};i.registerOnDisabledChange(r),e._registerOnDestroy(()=>{i._unregisterOnDisabledChange(r)})}}function Cs(i,e){let r=jc(i);e.validator!==null?i.setValidators(bc(r,e.validator)):typeof r=="function"&&i.setValidators([r]);let t=Bc(i);e.asyncValidator!==null?i.setAsyncValidators(bc(t,e.asyncValidator)):typeof t=="function"&&i.setAsyncValidators([t]);let n=()=>i.updateValueAndValidity();dr(e._rawValidators,n),dr(e._rawAsyncValidators,n)}function hr(i,e){let r=!1;if(i!==null){if(e.validator!==null){let n=jc(i);if(Array.isArray(n)&&n.length>0){let o=n.filter(s=>s!==e.validator);o.length!==n.length&&(r=!0,i.setValidators(o))}}if(e.asyncValidator!==null){let n=Bc(i);if(Array.isArray(n)&&n.length>0){let o=n.filter(s=>s!==e.asyncValidator);o.length!==n.length&&(r=!0,i.setAsyncValidators(o))}}}let t=()=>{};return dr(e._rawValidators,t),dr(e._rawAsyncValidators,t),r}function mp(i,e){e.valueAccessor.registerOnChange(r=>{i._pendingValue=r,i._pendingChange=!0,i._pendingDirty=!0,i.updateOn==="change"&&$c(i,e)})}function pp(i,e){e.valueAccessor.registerOnTouched(()=>{i._pendingTouched=!0,i.updateOn==="blur"&&i._pendingChange&&$c(i,e),i.updateOn!=="submit"&&i.markAsTouched()})}function $c(i,e){i._pendingDirty&&i.markAsDirty(),i.setValue(i._pendingValue,{emitModelToViewChange:!1}),e.viewToModelUpdate(i._pendingValue),i._pendingChange=!1}function gp(i,e){let r=(t,n)=>{e.valueAccessor.writeValue(t),n&&e.viewToModelUpdate(t)};i.registerOnChange(r),e._registerOnDestroy(()=>{i._unregisterOnChange(r)})}function Wc(i,e){i==null,Cs(i,e)}function _p(i,e){return hr(i,e)}function vp(i,e){if(!i.hasOwnProperty("model"))return!1;let r=i.model;return r.isFirstChange()?!0:!Object.is(e,r.currentValue)}function yp(i){return Object.getPrototypeOf(i.constructor)===qm}function Gc(i,e){i._syncPendingControls(),e.forEach(r=>{let t=r.control;t.updateOn==="submit"&&t._pendingChange&&(r.viewToModelUpdate(t._pendingValue),t._pendingChange=!1)})}function bp(i,e){if(!e)return null;Array.isArray(e);let r,t,n;return e.forEach(o=>{o.constructor===kc?r=o:yp(o)?t=o:n=o}),n||t||r||null}function xp(i,e){let r=i.indexOf(e);r>-1&&i.splice(r,1)}var wp={provide:At,useExisting:si(()=>Ds)},Xi=Promise.resolve(),Ds=(()=>{let e=class e extends At{constructor(t,n,o){super(),this.callSetDisabledState=o,this.submitted=!1,this._directives=new Set,this.ngSubmit=new z,this.form=new lr({},bs(t),xs(n))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(t){Xi.then(()=>{let n=this._findContainer(t.path);t.control=n.registerControl(t.name,t.control),cr(t.control,t,this.callSetDisabledState),t.control.updateValueAndValidity({emitEvent:!1}),this._directives.add(t)})}getControl(t){return this.form.get(t.path)}removeControl(t){Xi.then(()=>{let n=this._findContainer(t.path);n&&n.removeControl(t.name),this._directives.delete(t)})}addFormGroup(t){Xi.then(()=>{let n=this._findContainer(t.path),o=new lr({});Wc(o,t),n.registerControl(t.name,o),o.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(t){Xi.then(()=>{let n=this._findContainer(t.path);n&&n.removeControl(t.name)})}getFormGroup(t){return this.form.get(t.path)}updateModel(t,n){Xi.then(()=>{this.form.get(t.path).setValue(n)})}setValue(t){this.control.setValue(t)}onSubmit(t){return this.submitted=!0,Gc(this.form,this._directives),this.ngSubmit.emit(t),t?.target?.method==="dialog"}onReset(){this.resetForm()}resetForm(t=void 0){this.form.reset(t),this.submitted=!1}_setUpdateStrategy(){this.options&&this.options.updateOn!=null&&(this.form._updateOn=this.options.updateOn)}_findContainer(t){return t.pop(),t.length?this.form.get(t):this.form}};e.\u0275fac=function(n){return new(n||e)(h(vs,10),h(ys,10),h(fr,8))},e.\u0275dir=C({type:e,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(n,o){n&1&&me("submit",function(a){return o.onSubmit(a)})("reset",function(){return o.onReset()})},inputs:{options:[m.None,"ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[J([wp]),q]});let i=e;return i})();function Dc(i,e){let r=i.indexOf(e);r>-1&&i.splice(r,1)}function Ec(i){return typeof i=="object"&&i!==null&&Object.keys(i).length===2&&"value"in i&&"disabled"in i}var qc=class extends ar{constructor(e=null,r,t){super(zc(r),Hc(t,r)),this.defaultValue=null,this._onChange=[],this._pendingChange=!1,this._applyFormState(e),this._setUpdateStrategy(r),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),ur(r)&&(r.nonNullable||r.initialValueIsDefault)&&(Ec(e)?this.defaultValue=e.value:this.defaultValue=e)}setValue(e,r={}){this.value=this._pendingValue=e,this._onChange.length&&r.emitModelToViewChange!==!1&&this._onChange.forEach(t=>t(this.value,r.emitViewToModelChange!==!1)),this.updateValueAndValidity(r)}patchValue(e,r={}){this.setValue(e,r)}reset(e=this.defaultValue,r={}){this._applyFormState(e),this.markAsPristine(r),this.markAsUntouched(r),this.setValue(this.value,r),this._pendingChange=!1}_updateValue(){}_anyControls(e){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(e){this._onChange.push(e)}_unregisterOnChange(e){Dc(this._onChange,e)}registerOnDisabledChange(e){this._onDisabledChange.push(e)}_unregisterOnDisabledChange(e){Dc(this._onDisabledChange,e)}_forEachChild(e){}_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(e){Ec(e)?(this.value=this._pendingValue=e.value,e.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=e}};var Cp=i=>i instanceof qc;var Dp={provide:Mt,useExisting:si(()=>Es)},Sc=Promise.resolve(),Es=(()=>{let e=class e extends Mt{constructor(t,n,o,s,a,c){super(),this._changeDetectorRef=a,this.callSetDisabledState=c,this.control=new qc,this._registered=!1,this.name="",this.update=new z,this._parent=t,this._setValidators(n),this._setAsyncValidators(o),this.valueAccessor=bp(this,s)}ngOnChanges(t){if(this._checkForErrors(),!this._registered||"name"in t){if(this._registered&&(this._checkName(),this.formDirective)){let n=t.name.previousValue;this.formDirective.removeControl({name:n,path:this._getPath(n)})}this._setUpControl()}"isDisabled"in t&&this._updateDisabled(t),vp(t,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(t){this.viewModel=t,this.update.emit(t)}_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(){cr(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(t){Sc.then(()=>{this.control.setValue(t,{emitViewToModelChange:!1}),this._changeDetectorRef?.markForCheck()})}_updateDisabled(t){let n=t.isDisabled.currentValue,o=n!==0&&G(n);Sc.then(()=>{o&&!this.control.disabled?this.control.disable():!o&&this.control.disabled&&this.control.enable(),this._changeDetectorRef?.markForCheck()})}_getPath(t){return this._parent?up(t,this._parent):[t]}};e.\u0275fac=function(n){return new(n||e)(h(At,9),h(vs,10),h(ys,10),h(Rc,10),h(Se,8),h(fr,8))},e.\u0275dir=C({type:e,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:[J([Dp]),q,we]});let i=e;return i})();var Ep={provide:At,useExisting:si(()=>Ss)},Ss=(()=>{let e=class e extends At{constructor(t,n,o){super(),this.callSetDisabledState=o,this.submitted=!1,this._onCollectionChange=()=>this._updateDomValue(),this.directives=[],this.form=null,this.ngSubmit=new z,this._setValidators(t),this._setAsyncValidators(n)}ngOnChanges(t){this._checkFormPresent(),t.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}ngOnDestroy(){this.form&&(hr(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(()=>{}))}get formDirective(){return this}get control(){return this.form}get path(){return[]}addControl(t){let n=this.form.get(t.path);return cr(n,t,this.callSetDisabledState),n.updateValueAndValidity({emitEvent:!1}),this.directives.push(t),n}getControl(t){return this.form.get(t.path)}removeControl(t){Cc(t.control||null,t,!1),xp(this.directives,t)}addFormGroup(t){this._setUpFormContainer(t)}removeFormGroup(t){this._cleanUpFormContainer(t)}getFormGroup(t){return this.form.get(t.path)}addFormArray(t){this._setUpFormContainer(t)}removeFormArray(t){this._cleanUpFormContainer(t)}getFormArray(t){return this.form.get(t.path)}updateModel(t,n){this.form.get(t.path).setValue(n)}onSubmit(t){return this.submitted=!0,Gc(this.form,this.directives),this.ngSubmit.emit(t),t?.target?.method==="dialog"}onReset(){this.resetForm()}resetForm(t=void 0){this.form.reset(t),this.submitted=!1}_updateDomValue(){this.directives.forEach(t=>{let n=t.control,o=this.form.get(t.path);n!==o&&(Cc(n||null,t),Cp(o)&&(cr(o,t,this.callSetDisabledState),t.control=o))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(t){let n=this.form.get(t.path);Wc(n,t),n.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(t){if(this.form){let n=this.form.get(t.path);n&&_p(n,t)&&n.updateValueAndValidity({emitEvent:!1})}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{})}_updateValidators(){Cs(this.form,this),this._oldForm&&hr(this._oldForm,this)}_checkFormPresent(){this.form}};e.\u0275fac=function(n){return new(n||e)(h(vs,10),h(ys,10),h(fr,8))},e.\u0275dir=C({type:e,selectors:[["","formGroup",""]],hostBindings:function(n,o){n&1&&me("submit",function(a){return o.onSubmit(a)})("reset",function(){return o.onReset()})},inputs:{form:[m.None,"formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[J([Ep]),q,we]});let i=e;return i})();var Sp=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=O({type:e}),e.\u0275inj=T({});let i=e;return i})();var Yc=(()=>{let e=class e{static withConfig(t){return{ngModule:e,providers:[{provide:fr,useValue:t.callSetDisabledState??ws}]}}};e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=O({type:e}),e.\u0275inj=T({imports:[Sp]});let i=e;return i})();var Ip=["trigger"],Rp=["panel"],kp=[[["mat-select-trigger"]],"*"],Ap=["mat-select-trigger","*"];function Mp(i,e){if(i&1&&(y(0,"span",4),le(1),x()),i&2){let r=H();D(),We(r.placeholder)}}function Tp(i,e){i&1&&Q(0)}function Op(i,e){if(i&1&&(y(0,"span",11),le(1),x()),i&2){let r=H(2);D(),We(r.triggerValue)}}function Fp(i,e){if(i&1&&(y(0,"span",10),j(1,Tp,1,0)(2,Op,2,1),x()),i&2){let r=H();D(),W(1,r.customTrigger?1:2)}}function Np(i,e){if(i&1){let r=ht();y(0,"div",12,1),me("@transformPanel.done",function(n){Me(r);let o=H();return Te(o._panelDoneAnimatingStream.next(n.toState))})("keydown",function(n){Me(r);let o=H();return Te(o._handleKeydown(n))}),Q(2,1),x()}if(i&2){let r=H();aa("mat-mdc-select-panel mdc-menu-surface mdc-menu-surface--open ",r._getPanelTheme(),""),X("ngClass",r.panelClass)("@transformPanel","showing"),he("id",r.id+"-panel")("aria-multiselectable",r.multiple)("aria-label",r.ariaLabel||null)("aria-labelledby",r._getPanelAriaLabelledby())}}var Pp={transformPanelWrap:fi("transformPanelWrap",[Ut("* => void",Ia("@transformPanel",[Sa()],{optional:!0}))]),transformPanel:fi("transformPanel",[fn("void",gt({opacity:0,transform:"scale(1, 0.8)"})),Ut("void => showing",mi("120ms cubic-bezier(0, 0, 0.2, 1)",gt({opacity:1,transform:"scale(1, 1)"}))),Ut("* => void",mi("100ms linear",gt({opacity:0})))])};var Xc=0,Kc=new w("mat-select-scroll-strategy",{providedIn:"root",factory:()=>{let i=_(kt);return()=>i.scrollStrategies.reposition()}});function Lp(i){return()=>i.scrollStrategies.reposition()}var Vp=new w("MAT_SELECT_CONFIG"),jp={provide:Kc,deps:[kt],useFactory:Lp},Bp=new w("MatSelectTrigger"),Is=class{constructor(e,r){this.source=e,this.value=r}},Qc=(()=>{let e=class e{_scrollOptionIntoView(t){let n=this.options.toArray()[t];if(n){let o=this.panel.nativeElement,s=Zl(t,this.options,this.optionGroups),a=n._getHostElement();t===0&&s===1?o.scrollTop=0:o.scrollTop=Xl(a.offsetTop,a.offsetHeight,o.scrollTop,o.offsetHeight)}}_positioningSettled(){this._scrollOptionIntoView(this._keyManager.activeItemIndex||0)}_getChangeEvent(t){return new Is(this,t)}get focused(){return this._focused||this._panelOpen}get hideSingleSelectionIndicator(){return this._hideSingleSelectionIndicator}set hideSingleSelectionIndicator(t){this._hideSingleSelectionIndicator=t,this._syncParentProperties()}get placeholder(){return this._placeholder}set placeholder(t){this._placeholder=t,this.stateChanges.next()}get required(){return this._required??this.ngControl?.control?.hasValidator(rr.required)??!1}set required(t){this._required=t,this.stateChanges.next()}get multiple(){return this._multiple}set multiple(t){this._selectionModel,this._multiple=t}get compareWith(){return this._compareWith}set compareWith(t){this._compareWith=t,this._selectionModel&&this._initializeSelection()}get value(){return this._value}set value(t){this._assignValue(t)&&this._onChange(t)}get errorStateMatcher(){return this._errorStateTracker.matcher}set errorStateMatcher(t){this._errorStateTracker.matcher=t}get id(){return this._id}set id(t){this._id=t||this._uid,this.stateChanges.next()}get errorState(){return this._errorStateTracker.errorState}set errorState(t){this._errorStateTracker.errorState=t}constructor(t,n,o,s,a,c,l,d,u,p,b,B,V,S){this._viewportRuler=t,this._changeDetectorRef=n,this._elementRef=a,this._dir=c,this._parentFormField=u,this.ngControl=p,this._liveAnnouncer=V,this._defaultOptions=S,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=(I,Ce)=>I===Ce,this._uid=`mat-select-${Xc++}`,this._triggerAriaLabelledBy=null,this._destroy=new k,this.stateChanges=new k,this._onChange=()=>{},this._onTouched=()=>{},this._valueId=`mat-select-value-${Xc++}`,this._panelDoneAnimatingStream=new k,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 k,this.optionSelectionChanges=oi(()=>{let I=this.options;return I?I.changes.pipe(Qe(I),xe(()=>Xe(...I.map(Ce=>Ce.onSelectionChange)))):this._initialized.pipe(xe(()=>this.optionSelectionChanges))}),this.openedChange=new z,this._openedStream=this.openedChange.pipe(ce(I=>I),A(()=>{})),this._closedStream=this.openedChange.pipe(ce(I=>!I),A(()=>{})),this.selectionChange=new z,this.valueChange=new z,this._trackedModal=null,this._skipPredicate=I=>this.panelOpen?!1:I.disabled,this.ngControl&&(this.ngControl.valueAccessor=this),S?.typeaheadDebounceInterval!=null&&(this.typeaheadDebounceInterval=S.typeaheadDebounceInterval),this._errorStateTracker=new Hi(s,p,d,l,this.stateChanges),this._scrollStrategyFactory=B,this._scrollStrategy=this._scrollStrategyFactory(),this.tabIndex=parseInt(b)||0,this.id=this.id}ngOnInit(){this._selectionModel=new Xn(this.multiple),this.stateChanges.next(),this._panelDoneAnimatingStream.pipe(en(),U(this._destroy)).subscribe(()=>this._panelDoneAnimating(this.panelOpen)),this._viewportRuler.change().pipe(U(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(U(this._destroy)).subscribe(t=>{t.added.forEach(n=>n.select()),t.removed.forEach(n=>n.deselect())}),this.options.changes.pipe(Qe(null),U(this._destroy)).subscribe(()=>{this._resetOptions(),this._initializeSelection()})}ngDoCheck(){let t=this._getTriggerAriaLabelledby(),n=this.ngControl;if(t!==this._triggerAriaLabelledBy){let o=this._elementRef.nativeElement;this._triggerAriaLabelledBy=t,t?o.setAttribute("aria-labelledby",t):o.removeAttribute("aria-labelledby")}n&&(this._previousControl!==n.control&&(this._previousControl!==void 0&&n.disabled!==null&&n.disabled!==this.disabled&&(this.disabled=n.disabled),this._previousControl=n.control),this.updateErrorState())}ngOnChanges(t){(t.disabled||t.userAriaDescribedBy)&&this.stateChanges.next(),t.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 t=this._elementRef.nativeElement.closest('body > .cdk-overlay-container [aria-modal="true"]');if(!t)return;let n=`${this.id}-panel`;this._trackedModal&&Zo(this._trackedModal,"aria-owns",n),Pl(t,"aria-owns",n),this._trackedModal=t}_clearFromModal(){if(!this._trackedModal)return;let t=`${this.id}-panel`;Zo(this._trackedModal,"aria-owns",t),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(t){this._assignValue(t)}registerOnChange(t){this._onChange=t}registerOnTouched(t){this._onTouched=t}setDisabledState(t){this.disabled=t,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 t=this._selectionModel.selected.map(n=>n.viewValue);return this._isRtl()&&t.reverse(),t.join(", ")}return this._selectionModel.selected[0].viewValue}updateErrorState(){this._errorStateTracker.updateErrorState()}_isRtl(){return this._dir?this._dir.value==="rtl":!1}_handleKeydown(t){this.disabled||(this.panelOpen?this._handleOpenKeydown(t):this._handleClosedKeydown(t))}_handleClosedKeydown(t){let n=t.keyCode,o=n===40||n===38||n===37||n===39,s=n===13||n===32,a=this._keyManager;if(!a.isTyping()&&s&&!Ye(t)||(this.multiple||t.altKey)&&o)t.preventDefault(),this.open();else if(!this.multiple){let c=this.selected;a.onKeydown(t);let l=this.selected;l&&c!==l&&this._liveAnnouncer.announce(l.viewValue,1e4)}}_handleOpenKeydown(t){let n=this._keyManager,o=t.keyCode,s=o===40||o===38,a=n.isTyping();if(s&&t.altKey)t.preventDefault(),this.close();else if(!a&&(o===13||o===32)&&n.activeItem&&!Ye(t))t.preventDefault(),n.activeItem._selectViaInteraction();else if(!a&&this._multiple&&o===65&&t.ctrlKey){t.preventDefault();let c=this.options.some(l=>!l.disabled&&!l.selected);this.options.forEach(l=>{l.disabled||(c?l.select():l.deselect())})}else{let c=n.activeItemIndex;n.onKeydown(t),this._multiple&&s&&t.shiftKey&&n.activeItem&&n.activeItemIndex!==c&&n.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(be(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(t){if(this.options.forEach(n=>n.setInactiveStyles()),this._selectionModel.clear(),this.multiple&&t)Array.isArray(t),t.forEach(n=>this._selectOptionByValue(n)),this._sortValues();else{let n=this._selectOptionByValue(t);n?this._keyManager.updateActiveItem(n):this.panelOpen||this._keyManager.updateActiveItem(-1)}this._changeDetectorRef.markForCheck()}_selectOptionByValue(t){let n=this.options.find(o=>{if(this._selectionModel.isSelected(o))return!1;try{return o.value!=null&&this._compareWith(o.value,t)}catch{return!1}});return n&&this._selectionModel.select(n),n}_assignValue(t){return t!==this._value||this._multiple&&Array.isArray(t)?(this.options&&this._setSelectionByValue(t),this._value=t,!0):!1}_getOverlayWidth(t){return this.panelWidth==="auto"?(t instanceof ir?t.elementRef:t||this._elementRef).nativeElement.getBoundingClientRect().width:this.panelWidth===null?"":this.panelWidth}_syncParentProperties(){if(this.options)for(let t of this.options)t._changeDetectorRef.markForCheck()}_initKeyManager(){this._keyManager=new Bn(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 t=Xe(this.options.changes,this._destroy);this.optionSelectionChanges.pipe(U(t)).subscribe(n=>{this._onSelect(n.source,n.isUserInput),n.isUserInput&&!this.multiple&&this._panelOpen&&(this.close(),this.focus())}),Xe(...this.options.map(n=>n._stateChanges)).pipe(U(t)).subscribe(()=>{this._changeDetectorRef.detectChanges(),this.stateChanges.next()})}_onSelect(t,n){let o=this._selectionModel.isSelected(t);t.value==null&&!this._multiple?(t.deselect(),this._selectionModel.clear(),this.value!=null&&this._propagateChanges(t.value)):(o!==t.selected&&(t.selected?this._selectionModel.select(t):this._selectionModel.deselect(t)),n&&this._keyManager.setActiveItem(t),this.multiple&&(this._sortValues(),n&&this.focus())),o!==this._selectionModel.isSelected(t)&&this._propagateChanges(),this.stateChanges.next()}_sortValues(){if(this.multiple){let t=this.options.toArray();this._selectionModel.sort((n,o)=>this.sortComparator?this.sortComparator(n,o,t):t.indexOf(n)-t.indexOf(o)),this.stateChanges.next()}}_propagateChanges(t){let n;this.multiple?n=this.selected.map(o=>o.value):n=this.selected?this.selected.value:t,this._value=n,this.valueChange.emit(n),this._onChange(n),this.selectionChange.emit(this._getChangeEvent(n)),this._changeDetectorRef.markForCheck()}_highlightCorrectOption(){if(this._keyManager)if(this.empty){let t=-1;for(let n=0;n0}focus(t){this._elementRef.nativeElement.focus(t)}_getPanelAriaLabelledby(){if(this.ariaLabel)return null;let t=this._parentFormField?.getLabelId(),n=t?t+" ":"";return this.ariaLabelledby?n+this.ariaLabelledby:t}_getAriaActiveDescendant(){return this.panelOpen&&this._keyManager&&this._keyManager.activeItem?this._keyManager.activeItem.id:null}_getTriggerAriaLabelledby(){if(this.ariaLabel)return null;let t=this._parentFormField?.getLabelId(),n=(t?t+" ":"")+this._valueId;return this.ariaLabelledby&&(n+=" "+this.ariaLabelledby),n}_panelDoneAnimating(t){this.openedChange.emit(t)}setDescribedByIds(t){t.length?this._elementRef.nativeElement.setAttribute("aria-describedby",t.join(" ")):this._elementRef.nativeElement.removeAttribute("aria-describedby")}onContainerClick(){this.focus(),this.open()}get shouldLabelFloat(){return this.panelOpen||!this.empty||this.focused&&!!this.placeholder}};e.\u0275fac=function(n){return new(n||e)(h(It),h(Se),h(R),h(Yl),h(F),h(qe,8),h(Ds,8),h(Ss,8),h(Zn,8),h(Mt,10),Lt("tabindex"),h(Kc),h(Bl),h(Vp,8))},e.\u0275cmp=ee({type:e,selectors:[["mat-select"]],contentQueries:function(n,o,s){if(n&1&&(oe(s,Bp,5),oe(s,Wn,5),oe(s,ts,5)),n&2){let a;N(a=P())&&(o.customTrigger=a.first),N(a=P())&&(o.options=a),N(a=P())&&(o.optionGroups=a)}},viewQuery:function(n,o){if(n&1&&(pe(Ip,5),pe(Rp,5),pe(ps,5)),n&2){let s;N(s=P())&&(o.trigger=s.first),N(s=P())&&(o.panel=s.first),N(s=P())&&(o._overlayDir=s.first)}},hostAttrs:["role","combobox","aria-autocomplete","none","aria-haspopup","listbox",1,"mat-mdc-select"],hostVars:19,hostBindings:function(n,o){n&1&&me("keydown",function(a){return o._handleKeydown(a)})("focus",function(){return o._onFocus()})("blur",function(){return o._onBlur()}),n&2&&(he("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()),ne("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",G],disableRipple:[m.HasDecoratorInputTransform,"disableRipple","disableRipple",G],tabIndex:[m.HasDecoratorInputTransform,"tabIndex","tabIndex",t=>t==null?0:pt(t)],hideSingleSelectionIndicator:[m.HasDecoratorInputTransform,"hideSingleSelectionIndicator","hideSingleSelectionIndicator",G],placeholder:"placeholder",required:[m.HasDecoratorInputTransform,"required","required",G],multiple:[m.HasDecoratorInputTransform,"multiple","multiple",G],disableOptionCentering:[m.HasDecoratorInputTransform,"disableOptionCentering","disableOptionCentering",G],compareWith:"compareWith",value:"value",ariaLabel:[m.None,"aria-label","ariaLabel"],ariaLabelledby:[m.None,"aria-labelledby","ariaLabelledby"],errorStateMatcher:"errorStateMatcher",typeaheadDebounceInterval:[m.HasDecoratorInputTransform,"typeaheadDebounceInterval","typeaheadDebounceInterval",pt],sortComparator:"sortComparator",id:"id",panelWidth:"panelWidth"},outputs:{openedChange:"openedChange",_openedStream:"opened",_closedStream:"closed",selectionChange:"selectionChange",valueChange:"valueChange"},exportAs:["matSelect"],standalone:!0,features:[J([{provide:Yn,useExisting:e},{provide:es,useExisting:e}]),ae,we,te],ngContentSelectors:Ap,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(n,o){if(n&1){let s=ht();Fe(kp),y(0,"div",2,0),me("click",function(){return Me(s),Te(o.open())}),y(3,"div",3),j(4,Mp,2,1,"span",4)(5,Fp,3,1),x(),y(6,"div",5)(7,"div",6),li(),y(8,"svg",7),K(9,"path",8),x()()()(),j(10,Np,3,9,"ng-template",9),me("backdropClick",function(){return Me(s),Te(o.close())})("attach",function(){return Me(s),Te(o._onAttached())})("detach",function(){return Me(s),Te(o.close())})}if(n&2){let s=ut(1);D(3),he("id",o._valueId),D(),W(4,o.empty?4:5),D(6),X("cdkConnectedOverlayPanelClass",o._overlayPanelClass)("cdkConnectedOverlayScrollStrategy",o._scrollStrategy)("cdkConnectedOverlayOrigin",o._preferredOverlayOrigin||s)("cdkConnectedOverlayOpen",o.panelOpen)("cdkConnectedOverlayPositions",o._positions)("cdkConnectedOverlayWidth",o._overlayWidth)}},dependencies:[ir,ps,ya],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:[Pp.transformPanel]},changeDetection:0});let i=e;return i})();var Jc=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=O({type:e}),e.\u0275inj=T({providers:[jp],imports:[Ge,yc,is,_e,Qn,St,is,_e]});let i=e;return i})();var Hp=[[["caption"]],[["colgroup"],["col"]],"*"],$p=["caption","colgroup, col","*"];function Wp(i,e){i&1&&Q(0,2)}function Gp(i,e){i&1&&(y(0,"thead",0),fe(1,1),x(),y(2,"tbody",0),fe(3,2)(4,3),x(),y(5,"tfoot",0),fe(6,4),x())}function qp(i,e){i&1&&fe(0,1)(1,2)(2,3)(3,4)}var Ve=new w("CDK_TABLE");var yr=(()=>{let e=class e{constructor(t){this.template=t}};e.\u0275fac=function(n){return new(n||e)(h(Ie))},e.\u0275dir=C({type:e,selectors:[["","cdkCellDef",""]],standalone:!0});let i=e;return i})(),br=(()=>{let e=class e{constructor(t){this.template=t}};e.\u0275fac=function(n){return new(n||e)(h(Ie))},e.\u0275dir=C({type:e,selectors:[["","cdkHeaderCellDef",""]],standalone:!0});let i=e;return i})(),id=(()=>{let e=class e{constructor(t){this.template=t}};e.\u0275fac=function(n){return new(n||e)(h(Ie))},e.\u0275dir=C({type:e,selectors:[["","cdkFooterCellDef",""]],standalone:!0});let i=e;return i})(),ii=(()=>{let e=class e{get name(){return this._name}set name(t){this._setNameInput(t)}get sticky(){return this._sticky}set sticky(t){t!==this._sticky&&(this._sticky=t,this._hasStickyChanged=!0)}get stickyEnd(){return this._stickyEnd}set stickyEnd(t){t!==this._stickyEnd&&(this._stickyEnd=t,this._hasStickyChanged=!0)}constructor(t){this._table=t,this._hasStickyChanged=!1,this._sticky=!1,this._stickyEnd=!1}hasStickyChanged(){let t=this._hasStickyChanged;return this.resetStickyChanged(),t}resetStickyChanged(){this._hasStickyChanged=!1}_updateColumnCssClassName(){this._columnCssClassName=[`cdk-column-${this.cssClassFriendlyName}`]}_setNameInput(t){t&&(this._name=t,this.cssClassFriendlyName=t.replace(/[^a-z0-9_-]/gi,"-"),this._updateColumnCssClassName())}};e.\u0275fac=function(n){return new(n||e)(h(Ve,8))},e.\u0275dir=C({type:e,selectors:[["","cdkColumnDef",""]],contentQueries:function(n,o,s){if(n&1&&(oe(s,yr,5),oe(s,br,5),oe(s,id,5)),n&2){let a;N(a=P())&&(o.cell=a.first),N(a=P())&&(o.headerCell=a.first),N(a=P())&&(o.footerCell=a.first)}},inputs:{name:[m.None,"cdkColumnDef","name"],sticky:[m.HasDecoratorInputTransform,"sticky","sticky",G],stickyEnd:[m.HasDecoratorInputTransform,"stickyEnd","stickyEnd",G]},standalone:!0,features:[J([{provide:"MAT_SORT_HEADER_COLUMN_DEF",useExisting:e}]),ae]});let i=e;return i})(),pr=class{constructor(e,r){r.nativeElement.classList.add(...e._columnCssClassName)}},nd=(()=>{let e=class e extends pr{constructor(t,n){super(t,n)}};e.\u0275fac=function(n){return new(n||e)(h(ii),h(F))},e.\u0275dir=C({type:e,selectors:[["cdk-header-cell"],["th","cdk-header-cell",""]],hostAttrs:["role","columnheader",1,"cdk-header-cell"],standalone:!0,features:[q]});let i=e;return i})();var rd=(()=>{let e=class e extends pr{constructor(t,n){super(t,n);let o=t._table?._getCellRole();o&&n.nativeElement.setAttribute("role",o)}};e.\u0275fac=function(n){return new(n||e)(h(ii),h(F))},e.\u0275dir=C({type:e,selectors:[["cdk-cell"],["td","cdk-cell",""]],hostAttrs:[1,"cdk-cell"],standalone:!0,features:[q]});let i=e;return i})(),gr=class{constructor(){this.tasks=[],this.endTasks=[]}},_r=new w("_COALESCED_STYLE_SCHEDULER"),ks=(()=>{let e=class e{constructor(t){this._ngZone=t,this._currentSchedule=null,this._destroyed=new k}schedule(t){this._createScheduleIfNeeded(),this._currentSchedule.tasks.push(t)}scheduleEnd(t){this._createScheduleIfNeeded(),this._currentSchedule.endTasks.push(t)}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete()}_createScheduleIfNeeded(){this._currentSchedule||(this._currentSchedule=new gr,this._getScheduleObservable().pipe(U(this._destroyed)).subscribe(()=>{for(;this._currentSchedule.tasks.length||this._currentSchedule.endTasks.length;){let t=this._currentSchedule;this._currentSchedule=new gr;for(let n of t.tasks)n();for(let n of t.endTasks)n()}this._currentSchedule=null}))}_getScheduleObservable(){return this._ngZone.isStable?ve(Promise.resolve(void 0)):this._ngZone.onStable.pipe(be(1))}};e.\u0275fac=function(n){return new(n||e)(f(R))},e.\u0275prov=v({token:e,factory:e.\u0275fac});let i=e;return i})();var As=(()=>{let e=class e{constructor(t,n){this.template=t,this._differs=n}ngOnChanges(t){if(!this._columnsDiffer){let n=t.columns&&t.columns.currentValue||[];this._columnsDiffer=this._differs.find(n).create(),this._columnsDiffer.diff(n)}}getColumnsDiff(){return this._columnsDiffer.diff(this.columns)}extractCellTemplate(t){return this instanceof Ki?t.headerCell.template:this instanceof Ms?t.footerCell.template:t.cell.template}};e.\u0275fac=function(n){return new(n||e)(h(Ie),h(mt))},e.\u0275dir=C({type:e,features:[we]});let i=e;return i})(),Ki=(()=>{let e=class e extends As{get sticky(){return this._sticky}set sticky(t){t!==this._sticky&&(this._sticky=t,this._hasStickyChanged=!0)}constructor(t,n,o){super(t,n),this._table=o,this._hasStickyChanged=!1,this._sticky=!1}ngOnChanges(t){super.ngOnChanges(t)}hasStickyChanged(){let t=this._hasStickyChanged;return this.resetStickyChanged(),t}resetStickyChanged(){this._hasStickyChanged=!1}};e.\u0275fac=function(n){return new(n||e)(h(Ie),h(mt),h(Ve,8))},e.\u0275dir=C({type:e,selectors:[["","cdkHeaderRowDef",""]],inputs:{columns:[m.None,"cdkHeaderRowDef","columns"],sticky:[m.HasDecoratorInputTransform,"cdkHeaderRowDefSticky","sticky",G]},standalone:!0,features:[ae,q,we]});let i=e;return i})(),Ms=(()=>{let e=class e extends As{get sticky(){return this._sticky}set sticky(t){t!==this._sticky&&(this._sticky=t,this._hasStickyChanged=!0)}constructor(t,n,o){super(t,n),this._table=o,this._hasStickyChanged=!1,this._sticky=!1}ngOnChanges(t){super.ngOnChanges(t)}hasStickyChanged(){let t=this._hasStickyChanged;return this.resetStickyChanged(),t}resetStickyChanged(){this._hasStickyChanged=!1}};e.\u0275fac=function(n){return new(n||e)(h(Ie),h(mt),h(Ve,8))},e.\u0275dir=C({type:e,selectors:[["","cdkFooterRowDef",""]],inputs:{columns:[m.None,"cdkFooterRowDef","columns"],sticky:[m.HasDecoratorInputTransform,"cdkFooterRowDefSticky","sticky",G]},standalone:!0,features:[ae,q,we]});let i=e;return i})(),xr=(()=>{let e=class e extends As{constructor(t,n,o){super(t,n),this._table=o}};e.\u0275fac=function(n){return new(n||e)(h(Ie),h(mt),h(Ve,8))},e.\u0275dir=C({type:e,selectors:[["","cdkRowDef",""]],inputs:{columns:[m.None,"cdkRowDefColumns","columns"],when:[m.None,"cdkRowDefWhen","when"]},standalone:!0,features:[q]});let i=e;return i})(),Tt=(()=>{let e=class e{constructor(t){this._viewContainer=t,e.mostRecentCellOutlet=this}ngOnDestroy(){e.mostRecentCellOutlet===this&&(e.mostRecentCellOutlet=null)}};e.mostRecentCellOutlet=null,e.\u0275fac=function(n){return new(n||e)(h(Oe))},e.\u0275dir=C({type:e,selectors:[["","cdkCellOutlet",""]],standalone:!0});let i=e;return i})(),Ts=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275cmp=ee({type:e,selectors:[["cdk-header-row"],["tr","cdk-header-row",""]],hostAttrs:["role","row",1,"cdk-header-row"],standalone:!0,features:[te],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(n,o){n&1&&fe(0,0)},dependencies:[Tt],encapsulation:2});let i=e;return i})();var Os=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275cmp=ee({type:e,selectors:[["cdk-row"],["tr","cdk-row",""]],hostAttrs:["role","row",1,"cdk-row"],standalone:!0,features:[te],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(n,o){n&1&&fe(0,0)},dependencies:[Tt],encapsulation:2});let i=e;return i})(),od=(()=>{let e=class e{constructor(t){this.templateRef=t,this._contentClassName="cdk-no-data-row"}};e.\u0275fac=function(n){return new(n||e)(h(Ie))},e.\u0275dir=C({type:e,selectors:[["ng-template","cdkNoDataRow",""]],standalone:!0});let i=e;return i})(),ed=["top","bottom","left","right"],Rs=class{constructor(e,r,t,n,o=!0,s=!0,a){this._isNativeHtmlTable=e,this._stickCellCss=r,this.direction=t,this._coalescedStyleScheduler=n,this._isBrowser=o,this._needsPositionStickyOnElement=s,this._positionListener=a,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(e,r){let t=[];for(let n of e)if(n.nodeType===n.ELEMENT_NODE){t.push(n);for(let o=0;o{for(let n of t)this._removeStickyStyle(n,r)})}updateStickyColumns(e,r,t,n=!0){if(!e.length||!this._isBrowser||!(r.some(o=>o)||t.some(o=>o))){this._positionListener&&(this._positionListener.stickyColumnsUpdated({sizes:[]}),this._positionListener.stickyEndColumnsUpdated({sizes:[]}));return}this._coalescedStyleScheduler.schedule(()=>{let o=e[0],s=o.children.length,a=this._getCellWidths(o,n),c=this._getStickyStartColumnPositions(a,r),l=this._getStickyEndColumnPositions(a,t),d=r.lastIndexOf(!0),u=t.indexOf(!0),p=this.direction==="rtl",b=p?"right":"left",B=p?"left":"right";for(let V of e)for(let S=0;Sr[S]?V:null)}),this._positionListener.stickyEndColumnsUpdated({sizes:u===-1?[]:a.slice(u).map((V,S)=>t[S+u]?V:null).reverse()}))})}stickRows(e,r,t){this._isBrowser&&this._coalescedStyleScheduler.schedule(()=>{let n=t==="bottom"?e.slice().reverse():e,o=t==="bottom"?r.slice().reverse():r,s=[],a=[],c=[];for(let d=0,u=0;d{let t=e.querySelector("tfoot");t&&(r.some(n=>!n)?this._removeStickyStyle(t,["bottom"]):this._addStickyStyle(t,"bottom",0,!1))})}_removeStickyStyle(e,r){for(let n of r)e.style[n]="",e.classList.remove(this._borderCellCss[n]);ed.some(n=>r.indexOf(n)===-1&&e.style[n])?e.style.zIndex=this._getCalculatedZIndex(e):(e.style.zIndex="",this._needsPositionStickyOnElement&&(e.style.position=""),e.classList.remove(this._stickCellCss))}_addStickyStyle(e,r,t,n){e.classList.add(this._stickCellCss),n&&e.classList.add(this._borderCellCss[r]),e.style[r]=`${t}px`,e.style.zIndex=this._getCalculatedZIndex(e),this._needsPositionStickyOnElement&&(e.style.cssText+="position: -webkit-sticky; position: sticky; ")}_getCalculatedZIndex(e){let r={top:100,bottom:10,left:1,right:1},t=0;for(let n of ed)e.style[n]&&(t+=r[n]);return t?`${t}`:""}_getCellWidths(e,r=!0){if(!r&&this._cachedCellWidths.length)return this._cachedCellWidths;let t=[],n=e.children;for(let o=0;o0;o--)r[o]&&(t[o]=n,n+=e[o]);return t}};var vr=new w("CDK_SPL");var Fs=(()=>{let e=class e{constructor(t,n){this.viewContainer=t,this.elementRef=n;let o=_(Ve);o._rowOutlet=this,o._outletAssigned()}};e.\u0275fac=function(n){return new(n||e)(h(Oe),h(F))},e.\u0275dir=C({type:e,selectors:[["","rowOutlet",""]],standalone:!0});let i=e;return i})(),Ns=(()=>{let e=class e{constructor(t,n){this.viewContainer=t,this.elementRef=n;let o=_(Ve);o._headerRowOutlet=this,o._outletAssigned()}};e.\u0275fac=function(n){return new(n||e)(h(Oe),h(F))},e.\u0275dir=C({type:e,selectors:[["","headerRowOutlet",""]],standalone:!0});let i=e;return i})(),Ps=(()=>{let e=class e{constructor(t,n){this.viewContainer=t,this.elementRef=n;let o=_(Ve);o._footerRowOutlet=this,o._outletAssigned()}};e.\u0275fac=function(n){return new(n||e)(h(Oe),h(F))},e.\u0275dir=C({type:e,selectors:[["","footerRowOutlet",""]],standalone:!0});let i=e;return i})(),Ls=(()=>{let e=class e{constructor(t,n){this.viewContainer=t,this.elementRef=n;let o=_(Ve);o._noDataRowOutlet=this,o._outletAssigned()}};e.\u0275fac=function(n){return new(n||e)(h(Oe),h(F))},e.\u0275dir=C({type:e,selectors:[["","noDataRowOutlet",""]],standalone:!0});let i=e;return i})();var Vs=(()=>{let e=class e{_getCellRole(){if(this._cellRoleInternal===void 0){let t=this._elementRef.nativeElement.getAttribute("role"),n=t==="grid"||t==="treegrid"?"gridcell":"cell";this._cellRoleInternal=this._isNativeHtmlTable&&n==="cell"?null:n}return this._cellRoleInternal}get trackBy(){return this._trackByFn}set trackBy(t){this._trackByFn=t}get dataSource(){return this._dataSource}set dataSource(t){this._dataSource!==t&&this._switchDataSource(t)}get multiTemplateDataRows(){return this._multiTemplateDataRows}set multiTemplateDataRows(t){this._multiTemplateDataRows=t,this._rowOutlet&&this._rowOutlet.viewContainer.length&&(this._forceRenderDataRows(),this.updateStickyColumnStyles())}get fixedLayout(){return this._fixedLayout}set fixedLayout(t){this._fixedLayout=t,this._forceRecalculateCellWidths=!0,this._stickyColumnStylesNeedReset=!0}constructor(t,n,o,s,a,c,l,d,u,p,b,B){this._differs=t,this._changeDetectorRef=n,this._elementRef=o,this._dir=a,this._platform=l,this._viewRepeater=d,this._coalescedStyleScheduler=u,this._viewportRuler=p,this._stickyPositioningListener=b,this._ngZone=B,this._onDestroy=new k,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 ue({start:0,end:Number.MAX_VALUE}),s||o.nativeElement.setAttribute("role","table"),this._document=c,this._isServer=!l.isBrowser,this._isNativeHtmlTable=o.nativeElement.nodeName==="TABLE"}ngOnInit(){this._setupStickyStyler(),this._dataDiffer=this._differs.find([]).create((t,n)=>this.trackBy?this.trackBy(n.dataIndex,n.data):n),this._viewportRuler.change().pipe(U(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(t=>{t?.clear()}),this._headerRowDefs=[],this._footerRowDefs=[],this._defaultRowDef=null,this._onDestroy.next(),this._onDestroy.complete(),Kn(this.dataSource)&&this.dataSource.disconnect(this)}renderRows(){this._renderRows=this._getAllRenderRows();let t=this._dataDiffer.diff(this._renderRows);if(!t){this._updateNoDataRow(),this.contentChanged.next();return}let n=this._rowOutlet.viewContainer;this._viewRepeater.applyChanges(t,n,(o,s,a)=>this._getEmbeddedViewArgs(o.item,a),o=>o.item.data,o=>{o.operation===Jt.INSERTED&&o.context&&this._renderCellTemplateForItem(o.record.item.rowDef,o.context)}),this._updateRowIndexContext(),t.forEachIdentityChange(o=>{let s=n.get(o.currentIndex);s.context.$implicit=o.item.data}),this._updateNoDataRow(),this._ngZone&&R.isInAngularZone()?this._ngZone.onStable.pipe(be(1),U(this._onDestroy)).subscribe(()=>{this.updateStickyColumnStyles()}):this.updateStickyColumnStyles(),this.contentChanged.next()}addColumnDef(t){this._customColumnDefs.add(t)}removeColumnDef(t){this._customColumnDefs.delete(t)}addRowDef(t){this._customRowDefs.add(t)}removeRowDef(t){this._customRowDefs.delete(t)}addHeaderRowDef(t){this._customHeaderRowDefs.add(t),this._headerRowDefChanged=!0}removeHeaderRowDef(t){this._customHeaderRowDefs.delete(t),this._headerRowDefChanged=!0}addFooterRowDef(t){this._customFooterRowDefs.add(t),this._footerRowDefChanged=!0}removeFooterRowDef(t){this._customFooterRowDefs.delete(t),this._footerRowDefChanged=!0}setNoDataRow(t){this._customNoDataRow=t}updateStickyHeaderRowStyles(){let t=this._getRenderedRows(this._headerRowOutlet);if(this._isNativeHtmlTable){let o=td(this._headerRowOutlet,"thead");o&&(o.style.display=t.length?"":"none")}let n=this._headerRowDefs.map(o=>o.sticky);this._stickyStyler.clearStickyPositioning(t,["top"]),this._stickyStyler.stickRows(t,n,"top"),this._headerRowDefs.forEach(o=>o.resetStickyChanged())}updateStickyFooterRowStyles(){let t=this._getRenderedRows(this._footerRowOutlet);if(this._isNativeHtmlTable){let o=td(this._footerRowOutlet,"tfoot");o&&(o.style.display=t.length?"":"none")}let n=this._footerRowDefs.map(o=>o.sticky);this._stickyStyler.clearStickyPositioning(t,["bottom"]),this._stickyStyler.stickRows(t,n,"bottom"),this._stickyStyler.updateStickyFooterContainer(this._elementRef.nativeElement,n),this._footerRowDefs.forEach(o=>o.resetStickyChanged())}updateStickyColumnStyles(){let t=this._getRenderedRows(this._headerRowOutlet),n=this._getRenderedRows(this._rowOutlet),o=this._getRenderedRows(this._footerRowOutlet);(this._isNativeHtmlTable&&!this._fixedLayout||this._stickyColumnStylesNeedReset)&&(this._stickyStyler.clearStickyPositioning([...t,...n,...o],["left","right"]),this._stickyColumnStylesNeedReset=!1),t.forEach((s,a)=>{this._addStickyColumnStyles([s],this._headerRowDefs[a])}),this._rowDefs.forEach(s=>{let a=[];for(let c=0;c{this._addStickyColumnStyles([s],this._footerRowDefs[a])}),Array.from(this._columnDefsByName.values()).forEach(s=>s.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 n=this._renderUpdatedColumns()||this._headerRowDefChanged||this._footerRowDefChanged;this._stickyColumnStylesNeedReset=this._stickyColumnStylesNeedReset||n,this._forceRecalculateCellWidths=n,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 t=[],n=this._cachedRenderRowsMap;this._cachedRenderRowsMap=new Map;for(let o=0;o{let c=o&&o.has(a)?o.get(a):[];if(c.length){let l=c.shift();return l.dataIndex=n,l}else return{data:t,rowDef:a,dataIndex:n}})}_cacheColumnDefs(){this._columnDefsByName.clear(),mr(this._getOwnDefs(this._contentColumnDefs),this._customColumnDefs).forEach(n=>{this._columnDefsByName.has(n.name),this._columnDefsByName.set(n.name,n)})}_cacheRowDefs(){this._headerRowDefs=mr(this._getOwnDefs(this._contentHeaderRowDefs),this._customHeaderRowDefs),this._footerRowDefs=mr(this._getOwnDefs(this._contentFooterRowDefs),this._customFooterRowDefs),this._rowDefs=mr(this._getOwnDefs(this._contentRowDefs),this._customRowDefs);let t=this._rowDefs.filter(n=>!n.when);!this.multiTemplateDataRows&&t.length>1,this._defaultRowDef=t[0]}_renderUpdatedColumns(){let t=(a,c)=>a||!!c.getColumnsDiff(),n=this._rowDefs.reduce(t,!1);n&&this._forceRenderDataRows();let o=this._headerRowDefs.reduce(t,!1);o&&this._forceRenderHeaderRows();let s=this._footerRowDefs.reduce(t,!1);return s&&this._forceRenderFooterRows(),n||o||s}_switchDataSource(t){this._data=[],Kn(this.dataSource)&&this.dataSource.disconnect(this),this._renderChangeSubscription&&(this._renderChangeSubscription.unsubscribe(),this._renderChangeSubscription=null),t||(this._dataDiffer&&this._dataDiffer.diff([]),this._rowOutlet&&this._rowOutlet.viewContainer.clear()),this._dataSource=t}_observeRenderChanges(){if(!this.dataSource)return;let t;Kn(this.dataSource)?t=this.dataSource.connect(this):Ot(this.dataSource)?t=this.dataSource:Array.isArray(this.dataSource)&&(t=E(this.dataSource)),this._renderChangeSubscription=t.pipe(U(this._onDestroy)).subscribe(n=>{this._data=n||[],this.renderRows()})}_forceRenderHeaderRows(){this._headerRowOutlet.viewContainer.length>0&&this._headerRowOutlet.viewContainer.clear(),this._headerRowDefs.forEach((t,n)=>this._renderRow(this._headerRowOutlet,t,n)),this.updateStickyHeaderRowStyles()}_forceRenderFooterRows(){this._footerRowOutlet.viewContainer.length>0&&this._footerRowOutlet.viewContainer.clear(),this._footerRowDefs.forEach((t,n)=>this._renderRow(this._footerRowOutlet,t,n)),this.updateStickyFooterRowStyles()}_addStickyColumnStyles(t,n){let o=Array.from(n.columns||[]).map(c=>{let l=this._columnDefsByName.get(c);return l}),s=o.map(c=>c.sticky),a=o.map(c=>c.stickyEnd);this._stickyStyler.updateStickyColumns(t,s,a,!this._fixedLayout||this._forceRecalculateCellWidths)}_getRenderedRows(t){let n=[];for(let o=0;o!s.when||s.when(n,t));else{let s=this._rowDefs.find(a=>a.when&&a.when(n,t))||this._defaultRowDef;s&&o.push(s)}return o.length,o}_getEmbeddedViewArgs(t,n){let o=t.rowDef,s={$implicit:t.data};return{templateRef:o.template,context:s,index:n}}_renderRow(t,n,o,s={}){let a=t.viewContainer.createEmbeddedView(n.template,s,o);return this._renderCellTemplateForItem(n,s),a}_renderCellTemplateForItem(t,n){for(let o of this._getCellTemplates(t))Tt.mostRecentCellOutlet&&Tt.mostRecentCellOutlet._viewContainer.createEmbeddedView(o,n);this._changeDetectorRef.markForCheck()}_updateRowIndexContext(){let t=this._rowOutlet.viewContainer;for(let n=0,o=t.length;n{let o=this._columnDefsByName.get(n);return t.extractCellTemplate(o)})}_forceRenderDataRows(){this._dataDiffer.diff([]),this._rowOutlet.viewContainer.clear(),this.renderRows()}_checkStickyStates(){let t=(n,o)=>n||o.hasStickyChanged();this._headerRowDefs.reduce(t,!1)&&this.updateStickyHeaderRowStyles(),this._footerRowDefs.reduce(t,!1)&&this.updateStickyFooterRowStyles(),Array.from(this._columnDefsByName.values()).reduce(t,!1)&&(this._stickyColumnStylesNeedReset=!0,this.updateStickyColumnStyles())}_setupStickyStyler(){let t=this._dir?this._dir.value:"ltr";this._stickyStyler=new Rs(this._isNativeHtmlTable,this.stickyCssClass,t,this._coalescedStyleScheduler,this._platform.isBrowser,this.needsPositionStickyOnElement,this._stickyPositioningListener),(this._dir?this._dir.change:E()).pipe(U(this._onDestroy)).subscribe(n=>{this._stickyStyler.direction=n,this.updateStickyColumnStyles()})}_getOwnDefs(t){return t.filter(n=>!n._table||n._table===this)}_updateNoDataRow(){let t=this._customNoDataRow||this._noDataRow;if(!t)return;let n=this._rowOutlet.viewContainer.length===0;if(n===this._isShowingNoDataRow)return;let o=this._noDataRowOutlet.viewContainer;if(n){let s=o.createEmbeddedView(t.templateRef),a=s.rootNodes[0];s.rootNodes.length===1&&a?.nodeType===this._document.ELEMENT_NODE&&(a.setAttribute("role","row"),a.classList.add(t._contentClassName))}else o.clear();this._isShowingNoDataRow=n,this._changeDetectorRef.markForCheck()}};e.\u0275fac=function(n){return new(n||e)(h(mt),h(Se),h(F),Lt("role"),h(qe,8),h(L),h(ge),h($i),h(_r),h(It),h(vr,12),h(R,8))},e.\u0275cmp=ee({type:e,selectors:[["cdk-table"],["table","cdk-table",""]],contentQueries:function(n,o,s){if(n&1&&(oe(s,od,5),oe(s,ii,5),oe(s,xr,5),oe(s,Ki,5),oe(s,Ms,5)),n&2){let a;N(a=P())&&(o._noDataRow=a.first),N(a=P())&&(o._contentColumnDefs=a),N(a=P())&&(o._contentRowDefs=a),N(a=P())&&(o._contentHeaderRowDefs=a),N(a=P())&&(o._contentFooterRowDefs=a)}},hostAttrs:[1,"cdk-table"],hostVars:2,hostBindings:function(n,o){n&2&&ne("cdk-table-fixed-layout",o.fixedLayout)},inputs:{trackBy:"trackBy",dataSource:"dataSource",multiTemplateDataRows:[m.HasDecoratorInputTransform,"multiTemplateDataRows","multiTemplateDataRows",G],fixedLayout:[m.HasDecoratorInputTransform,"fixedLayout","fixedLayout",G]},outputs:{contentChanged:"contentChanged"},exportAs:["cdkTable"],standalone:!0,features:[J([{provide:Ve,useExisting:e},{provide:$i,useClass:ei},{provide:_r,useClass:ks},{provide:vr,useValue:null}]),ae,te],ngContentSelectors:$p,decls:5,vars:2,consts:[["role","rowgroup"],["headerRowOutlet",""],["rowOutlet",""],["noDataRowOutlet",""],["footerRowOutlet",""]],template:function(n,o){n&1&&(Fe(Hp),Q(0),Q(1,1),j(2,Wp,1,0)(3,Gp,7,0)(4,qp,4,0)),n&2&&(D(2),W(2,o._isServer?2:-1),D(),W(3,o._isNativeHtmlTable?3:4))},dependencies:[Ns,Fs,Ls,Ps],styles:[".cdk-table-fixed-layout{table-layout:fixed}"],encapsulation:2});let i=e;return i})();function mr(i,e){return i.concat(Array.from(e))}function td(i,e){let r=e.toUpperCase(),t=i.viewContainer.element.nativeElement;for(;t;){let n=t.nodeType===1?t.nodeName:null;if(n===r)return t;if(n==="TABLE")break;t=t.parentNode}return null}var sd=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=O({type:e}),e.\u0275inj=T({imports:[Wi]});let i=e;return i})();var Yp=[[["caption"]],[["colgroup"],["col"]],"*"],Zp=["caption","colgroup, col","*"];function Xp(i,e){i&1&&Q(0,2)}function Kp(i,e){i&1&&(y(0,"thead",0),fe(1,1),x(),y(2,"tbody",2),fe(3,3)(4,4),x(),y(5,"tfoot",0),fe(6,5),x())}function Qp(i,e){i&1&&fe(0,1)(1,3)(2,4)(3,5)}var ad=(()=>{let e=class e extends Vs{constructor(){super(...arguments),this.stickyCssClass="mat-mdc-table-sticky",this.needsPositionStickyOnElement=!1}};e.\u0275fac=(()=>{let t;return function(o){return(t||(t=de(e)))(o||e)}})(),e.\u0275cmp=ee({type:e,selectors:[["mat-table"],["table","mat-table",""]],hostAttrs:[1,"mat-mdc-table","mdc-data-table__table"],hostVars:2,hostBindings:function(n,o){n&2&&ne("mdc-table-fixed-layout",o.fixedLayout)},exportAs:["matTable"],standalone:!0,features:[J([{provide:Vs,useExisting:e},{provide:Ve,useExisting:e},{provide:_r,useClass:ks},{provide:$i,useClass:ei},{provide:vr,useValue:null}]),q,te],ngContentSelectors:Zp,decls:5,vars:2,consts:[["role","rowgroup"],["headerRowOutlet",""],["role","rowgroup",1,"mdc-data-table__content"],["rowOutlet",""],["noDataRowOutlet",""],["footerRowOutlet",""]],template:function(n,o){n&1&&(Fe(Yp),Q(0),Q(1,1),j(2,Xp,1,0)(3,Kp,7,0)(4,Qp,4,0)),n&2&&(D(2),W(2,o._isServer?2:-1),D(),W(3,o._isNativeHtmlTable?3:4))},dependencies:[Ns,Fs,Ls,Ps],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 i=e;return i})(),ld=(()=>{let e=class e extends yr{};e.\u0275fac=(()=>{let t;return function(o){return(t||(t=de(e)))(o||e)}})(),e.\u0275dir=C({type:e,selectors:[["","matCellDef",""]],standalone:!0,features:[J([{provide:yr,useExisting:e}]),q]});let i=e;return i})(),cd=(()=>{let e=class e extends br{};e.\u0275fac=(()=>{let t;return function(o){return(t||(t=de(e)))(o||e)}})(),e.\u0275dir=C({type:e,selectors:[["","matHeaderCellDef",""]],standalone:!0,features:[J([{provide:br,useExisting:e}]),q]});let i=e;return i})();var dd=(()=>{let e=class e extends ii{get name(){return this._name}set name(t){this._setNameInput(t)}_updateColumnCssClassName(){super._updateColumnCssClassName(),this._columnCssClassName.push(`mat-column-${this.cssClassFriendlyName}`)}};e.\u0275fac=(()=>{let t;return function(o){return(t||(t=de(e)))(o||e)}})(),e.\u0275dir=C({type:e,selectors:[["","matColumnDef",""]],inputs:{name:[m.None,"matColumnDef","name"]},standalone:!0,features:[J([{provide:ii,useExisting:e},{provide:"MAT_SORT_HEADER_COLUMN_DEF",useExisting:e}]),q]});let i=e;return i})(),hd=(()=>{let e=class e extends nd{};e.\u0275fac=(()=>{let t;return function(o){return(t||(t=de(e)))(o||e)}})(),e.\u0275dir=C({type:e,selectors:[["mat-header-cell"],["th","mat-header-cell",""]],hostAttrs:["role","columnheader",1,"mat-mdc-header-cell","mdc-data-table__header-cell"],standalone:!0,features:[q]});let i=e;return i})();var ud=(()=>{let e=class e extends rd{};e.\u0275fac=(()=>{let t;return function(o){return(t||(t=de(e)))(o||e)}})(),e.\u0275dir=C({type:e,selectors:[["mat-cell"],["td","mat-cell",""]],hostAttrs:[1,"mat-mdc-cell","mdc-data-table__cell"],standalone:!0,features:[q]});let i=e;return i})();var fd=(()=>{let e=class e extends Ki{};e.\u0275fac=(()=>{let t;return function(o){return(t||(t=de(e)))(o||e)}})(),e.\u0275dir=C({type:e,selectors:[["","matHeaderRowDef",""]],inputs:{columns:[m.None,"matHeaderRowDef","columns"],sticky:[m.HasDecoratorInputTransform,"matHeaderRowDefSticky","sticky",G]},standalone:!0,features:[J([{provide:Ki,useExisting:e}]),ae,q]});let i=e;return i})();var md=(()=>{let e=class e extends xr{};e.\u0275fac=(()=>{let t;return function(o){return(t||(t=de(e)))(o||e)}})(),e.\u0275dir=C({type:e,selectors:[["","matRowDef",""]],inputs:{columns:[m.None,"matRowDefColumns","columns"],when:[m.None,"matRowDefWhen","when"]},standalone:!0,features:[J([{provide:xr,useExisting:e}]),q]});let i=e;return i})(),pd=(()=>{let e=class e extends Ts{};e.\u0275fac=(()=>{let t;return function(o){return(t||(t=de(e)))(o||e)}})(),e.\u0275cmp=ee({type:e,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:[J([{provide:Ts,useExisting:e}]),q,te],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(n,o){n&1&&fe(0,0)},dependencies:[Tt],encapsulation:2});let i=e;return i})();var gd=(()=>{let e=class e extends Os{};e.\u0275fac=(()=>{let t;return function(o){return(t||(t=de(e)))(o||e)}})(),e.\u0275cmp=ee({type:e,selectors:[["mat-row"],["tr","mat-row",""]],hostAttrs:["role","row",1,"mat-mdc-row","mdc-data-table__row"],exportAs:["matRow"],standalone:!0,features:[J([{provide:Os,useExisting:e}]),q,te],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(n,o){n&1&&fe(0,0)},dependencies:[Tt],encapsulation:2});let i=e;return i})();var _d=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=O({type:e}),e.\u0275inj=T({imports:[_e,sd,_e]});let i=e;return i})();var vd=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=O({type:e}),e.\u0275inj=T({});let i=e;return i})();var yd=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=O({type:e}),e.\u0275inj=T({imports:[_e,St,St,vd,_e]});let i=e;return i})();var eg=["determinateSpinner"];function tg(i,e){if(i&1&&(li(),y(0,"svg",11),K(1,"circle",12),x()),i&2){let r=H();he("viewBox",r._viewBox()),D(),lt("stroke-dasharray",r._strokeCircumference(),"px")("stroke-dashoffset",r._strokeCircumference()/2,"px")("stroke-width",r._circleStrokeWidth(),"%"),he("r",r._circleRadius())}}var ig=new w("mat-progress-spinner-default-options",{providedIn:"root",factory:ng});function ng(){return{diameter:bd}}var bd=100,rg=10,xd=(()=>{let e=class e{get color(){return this._color||this._defaultColor}set color(t){this._color=t}constructor(t,n,o){this._elementRef=t,this._defaultColor="primary",this._value=0,this._diameter=bd,this._noopAnimations=n==="NoopAnimations"&&!!o&&!o._forceAnimations,this.mode=t.nativeElement.nodeName.toLowerCase()==="mat-spinner"?"indeterminate":"determinate",o&&(o.color&&(this.color=this._defaultColor=o.color),o.diameter&&(this.diameter=o.diameter),o.strokeWidth&&(this.strokeWidth=o.strokeWidth))}get value(){return this.mode==="determinate"?this._value:0}set value(t){this._value=Math.max(0,Math.min(100,t||0))}get diameter(){return this._diameter}set diameter(t){this._diameter=t||0}get strokeWidth(){return this._strokeWidth??this.diameter/10}set strokeWidth(t){this._strokeWidth=t||0}_circleRadius(){return(this.diameter-rg)/2}_viewBox(){let t=this._circleRadius()*2+this.strokeWidth;return`0 0 ${t} ${t}`}_strokeCircumference(){return 2*Math.PI*this._circleRadius()}_strokeDashOffset(){return this.mode==="determinate"?this._strokeCircumference()*(100-this._value)/100:null}_circleStrokeWidth(){return this.strokeWidth/this.diameter*100}};e.\u0275fac=function(n){return new(n||e)(h(F),h(Le,8),h(ig))},e.\u0275cmp=ee({type:e,selectors:[["mat-progress-spinner"],["mat-spinner"]],viewQuery:function(n,o){if(n&1&&pe(eg,5),n&2){let s;N(s=P())&&(o._determinateCircle=s.first)}},hostAttrs:["role","progressbar","tabindex","-1",1,"mat-mdc-progress-spinner","mdc-circular-progress"],hostVars:18,hostBindings:function(n,o){n&2&&(he("aria-valuemin",0)("aria-valuemax",100)("aria-valuenow",o.mode==="determinate"?o.value:null)("mode",o.mode),sa("mat-"+o.color),lt("width",o.diameter,"px")("height",o.diameter,"px")("--mdc-circular-progress-size",o.diameter+"px")("--mdc-circular-progress-active-indicator-width",o.diameter+"px"),ne("_mat-animation-noopable",o._noopAnimations)("mdc-circular-progress--indeterminate",o.mode==="indeterminate"))},inputs:{color:"color",mode:"mode",value:[m.HasDecoratorInputTransform,"value","value",pt],diameter:[m.HasDecoratorInputTransform,"diameter","diameter",pt],strokeWidth:[m.HasDecoratorInputTransform,"strokeWidth","strokeWidth",pt]},exportAs:["matProgressSpinner"],standalone:!0,features:[ae,te],decls:14,vars:11,consts:[["circle",""],["determinateSpinner",""],["aria-hidden","true",1,"mdc-circular-progress__determinate-container"],["xmlns","http://www.w3.org/2000/svg","focusable","false",1,"mdc-circular-progress__determinate-circle-graphic"],["cx","50%","cy","50%",1,"mdc-circular-progress__determinate-circle"],["aria-hidden","true",1,"mdc-circular-progress__indeterminate-container"],[1,"mdc-circular-progress__spinner-layer"],[1,"mdc-circular-progress__circle-clipper","mdc-circular-progress__circle-left"],[3,"ngTemplateOutlet"],[1,"mdc-circular-progress__gap-patch"],[1,"mdc-circular-progress__circle-clipper","mdc-circular-progress__circle-right"],["xmlns","http://www.w3.org/2000/svg","focusable","false",1,"mdc-circular-progress__indeterminate-circle-graphic"],["cx","50%","cy","50%"]],template:function(n,o){if(n&1&&(j(0,tg,2,8,"ng-template",null,0,an),y(2,"div",2,1),li(),y(4,"svg",3),K(5,"circle",4),x()(),Js(),y(6,"div",5)(7,"div",6)(8,"div",7),fe(9,8),x(),y(10,"div",9),fe(11,8),x(),y(12,"div",10),fe(13,8),x()()()),n&2){let s=ut(1);D(4),he("viewBox",o._viewBox()),D(),lt("stroke-dasharray",o._strokeCircumference(),"px")("stroke-dashoffset",o._strokeDashOffset(),"px")("stroke-width",o._circleStrokeWidth(),"%"),he("r",o._circleRadius()),D(4),X("ngTemplateOutlet",s),D(2),X("ngTemplateOutlet",s),D(2),X("ngTemplateOutlet",s)}},dependencies:[hn],styles:["@keyframes mdc-circular-progress-container-rotate{to{transform:rotate(360deg)}}@keyframes mdc-circular-progress-spinner-layer-rotate{12.5%{transform:rotate(135deg)}25%{transform:rotate(270deg)}37.5%{transform:rotate(405deg)}50%{transform:rotate(540deg)}62.5%{transform:rotate(675deg)}75%{transform:rotate(810deg)}87.5%{transform:rotate(945deg)}100%{transform:rotate(1080deg)}}@keyframes mdc-circular-progress-color-1-fade-in-out{from{opacity:.99}25%{opacity:.99}26%{opacity:0}89%{opacity:0}90%{opacity:.99}to{opacity:.99}}@keyframes mdc-circular-progress-color-2-fade-in-out{from{opacity:0}15%{opacity:0}25%{opacity:.99}50%{opacity:.99}51%{opacity:0}to{opacity:0}}@keyframes mdc-circular-progress-color-3-fade-in-out{from{opacity:0}40%{opacity:0}50%{opacity:.99}75%{opacity:.99}76%{opacity:0}to{opacity:0}}@keyframes mdc-circular-progress-color-4-fade-in-out{from{opacity:0}65%{opacity:0}75%{opacity:.99}90%{opacity:.99}to{opacity:0}}@keyframes mdc-circular-progress-left-spin{from{transform:rotate(265deg)}50%{transform:rotate(130deg)}to{transform:rotate(265deg)}}@keyframes mdc-circular-progress-right-spin{from{transform:rotate(-265deg)}50%{transform:rotate(-130deg)}to{transform:rotate(-265deg)}}.mdc-circular-progress{display:inline-flex;position:relative;direction:ltr;line-height:0;transition:opacity 250ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mdc-circular-progress__determinate-container,.mdc-circular-progress__indeterminate-circle-graphic,.mdc-circular-progress__indeterminate-container,.mdc-circular-progress__spinner-layer{position:absolute;width:100%;height:100%}.mdc-circular-progress__determinate-container{transform:rotate(-90deg)}.mdc-circular-progress__indeterminate-container{font-size:0;letter-spacing:0;white-space:nowrap;opacity:0}.mdc-circular-progress__determinate-circle-graphic,.mdc-circular-progress__indeterminate-circle-graphic{fill:rgba(0,0,0,0)}.mdc-circular-progress__determinate-circle{transition:stroke-dashoffset 500ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mdc-circular-progress__gap-patch{position:absolute;top:0;left:47.5%;box-sizing:border-box;width:5%;height:100%;overflow:hidden}.mdc-circular-progress__gap-patch .mdc-circular-progress__indeterminate-circle-graphic{left:-900%;width:2000%;transform:rotate(180deg)}.mdc-circular-progress__circle-clipper{display:inline-flex;position:relative;width:50%;height:100%;overflow:hidden}.mdc-circular-progress__circle-clipper .mdc-circular-progress__indeterminate-circle-graphic{width:200%}.mdc-circular-progress__circle-right .mdc-circular-progress__indeterminate-circle-graphic{left:-100%}.mdc-circular-progress--indeterminate .mdc-circular-progress__determinate-container{opacity:0}.mdc-circular-progress--indeterminate .mdc-circular-progress__indeterminate-container{opacity:1}.mdc-circular-progress--indeterminate .mdc-circular-progress__indeterminate-container{animation:mdc-circular-progress-container-rotate 1568.2352941176ms linear infinite}.mdc-circular-progress--indeterminate .mdc-circular-progress__spinner-layer{animation:mdc-circular-progress-spinner-layer-rotate 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both}.mdc-circular-progress--indeterminate .mdc-circular-progress__color-1{animation:mdc-circular-progress-spinner-layer-rotate 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both,mdc-circular-progress-color-1-fade-in-out 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both}.mdc-circular-progress--indeterminate .mdc-circular-progress__color-2{animation:mdc-circular-progress-spinner-layer-rotate 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both,mdc-circular-progress-color-2-fade-in-out 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both}.mdc-circular-progress--indeterminate .mdc-circular-progress__color-3{animation:mdc-circular-progress-spinner-layer-rotate 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both,mdc-circular-progress-color-3-fade-in-out 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both}.mdc-circular-progress--indeterminate .mdc-circular-progress__color-4{animation:mdc-circular-progress-spinner-layer-rotate 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both,mdc-circular-progress-color-4-fade-in-out 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both}.mdc-circular-progress--indeterminate .mdc-circular-progress__circle-left .mdc-circular-progress__indeterminate-circle-graphic{animation:mdc-circular-progress-left-spin 1333ms cubic-bezier(0.4, 0, 0.2, 1) infinite both}.mdc-circular-progress--indeterminate .mdc-circular-progress__circle-right .mdc-circular-progress__indeterminate-circle-graphic{animation:mdc-circular-progress-right-spin 1333ms cubic-bezier(0.4, 0, 0.2, 1) infinite both}.mdc-circular-progress--closed{opacity:0}.mat-mdc-progress-spinner .mdc-circular-progress__determinate-circle,.mat-mdc-progress-spinner .mdc-circular-progress__indeterminate-circle-graphic{stroke:var(--mdc-circular-progress-active-indicator-color)}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mat-mdc-progress-spinner .mdc-circular-progress__determinate-circle,.mat-mdc-progress-spinner .mdc-circular-progress__indeterminate-circle-graphic{stroke:CanvasText}}.mat-mdc-progress-spinner circle{stroke-width:var(--mdc-circular-progress-active-indicator-width)}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mat-mdc-progress-spinner .mdc-circular-progress--four-color .mdc-circular-progress__color-1 .mdc-circular-progress__indeterminate-circle-graphic{stroke:CanvasText}}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mat-mdc-progress-spinner .mdc-circular-progress--four-color .mdc-circular-progress__color-2 .mdc-circular-progress__indeterminate-circle-graphic{stroke:CanvasText}}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mat-mdc-progress-spinner .mdc-circular-progress--four-color .mdc-circular-progress__color-3 .mdc-circular-progress__indeterminate-circle-graphic{stroke:CanvasText}}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mat-mdc-progress-spinner .mdc-circular-progress--four-color .mdc-circular-progress__color-4 .mdc-circular-progress__indeterminate-circle-graphic{stroke:CanvasText}}.mat-mdc-progress-spinner .mdc-circular-progress{width:var(--mdc-circular-progress-size) !important;height:var(--mdc-circular-progress-size) !important}.mat-mdc-progress-spinner{display:block;overflow:hidden;line-height:0}.mat-mdc-progress-spinner._mat-animation-noopable,.mat-mdc-progress-spinner._mat-animation-noopable .mdc-circular-progress__determinate-circle{transition:none}.mat-mdc-progress-spinner._mat-animation-noopable .mdc-circular-progress__indeterminate-circle-graphic,.mat-mdc-progress-spinner._mat-animation-noopable .mdc-circular-progress__spinner-layer,.mat-mdc-progress-spinner._mat-animation-noopable .mdc-circular-progress__indeterminate-container{animation:none}.mat-mdc-progress-spinner._mat-animation-noopable .mdc-circular-progress__indeterminate-container circle{stroke-dasharray:0 !important}.cdk-high-contrast-active .mat-mdc-progress-spinner .mdc-circular-progress__indeterminate-circle-graphic,.cdk-high-contrast-active .mat-mdc-progress-spinner .mdc-circular-progress__determinate-circle{stroke:currentColor;stroke:CanvasText}"],encapsulation:2,changeDetection:0});let i=e;return i})();var wd=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=O({type:e}),e.\u0275inj=T({imports:[Ge,_e]});let i=e;return i})();var Cd=(()=>{let e=class e{transform(t){if(isNaN(t))return"";let n=t.toString();return t>=1e12?n=(t/1e12).toFixed(2)+"T":t>=1e9?n=(t/1e9).toFixed(2)+"B":t>=1e6?n=(t/1e6).toFixed(2)+"M":t>=1e3&&(n=(t/1e3).toFixed(2)+"K"),n}};e.\u0275fac=function(n){return new(n||e)},e.\u0275pipe=Ks({name:"numberFormatter",type:e,pure:!0,standalone:!0});let i=e;return i})();var sg="https://block-watch.onrender.com",Dd=(()=>{let e=class e{constructor(){this.http=_(Hr)}getTransactions(t){return this.http.get(`${sg}/api/v1/transactions/transactions/`,{params:{usdGTE:t}})}};e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=v({token:e,factory:e.\u0275fac,providedIn:"root"});let i=e;return i})();var Ed=(()=>{let e=class e{constructor(){this.destroyed$=new k}ngOnDestroy(){this.destroyed$.next(),this.destroyed$.complete()}};e.\u0275fac=function(n){return new(n||e)},e.\u0275dir=C({type:e,selectors:[["destroyDirective"]],standalone:!0});let i=e;return i})();var Sd=(()=>{let e=class e{constructor(){}setItem(t,n){localStorage.setItem(t,JSON.stringify(n))}getItem(t){let n=localStorage.getItem(t);if(!n)return null;try{return JSON.parse(n)}catch(o){return console.error("Error parsing localStorage item:",t,o),null}}removeItem(t){localStorage.removeItem(t)}clear(){localStorage.clear()}};e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=v({token:e,factory:e.\u0275fac,providedIn:"root"});let i=e;return i})();var ag=(i,e)=>e.value;function lg(i,e){if(i&1&&(y(0,"mat-option",4),le(1),x()),i&2){let r=e.$implicit;X("value",r.value),D(),We(r.viewValue)}}function cg(i,e){i&1&&(y(0,"div",5),K(1,"mat-spinner"),x())}function dg(i,e){i&1&&(y(0,"th",16),le(1,"Time"),x())}function hg(i,e){if(i&1&&(y(0,"td",17),le(1),ui(2,"date"),x()),i&2){let r=e.$implicit;D(),ft(" ",ma(2,1,r.blockTimestamp,"HH:mm","UTC+3")," ")}}function ug(i,e){i&1&&(y(0,"th",16),le(1,"Price"),x())}function fg(i,e){if(i&1&&(y(0,"td",17)(1,"span"),le(2),ui(3,"currency"),x()()),i&2){let r=e.$implicit;D(2),We(sn(3,1,r.historicalUSD/r.unitValue))}}function mg(i,e){i&1&&(y(0,"th",16),le(1,"Name"),x())}function pg(i,e){if(i&1&&(y(0,"td",17)(1,"span",18)(2,"b"),le(3),x(),y(4,"div",19),K(5,"img",20),x()()()),i&2){let r=e.$implicit;D(3),We(r.tokenSymbol),D(2),da("src","https://static.arkhamintelligence.com/tokens/",r.tokenId,".png",ia),X("alt",r.tokenId)}}function gg(i,e){i&1&&(y(0,"th",16),le(1,"Amount"),x())}function _g(i,e){if(i&1&&(y(0,"td",17)(1,"span"),le(2),ui(3,"numberFormatter"),x()()),i&2){let r=e.$implicit;D(2),ft("",sn(3,1,r.historicalUSD),"$")}}function vg(i,e){i&1&&K(0,"tr",21)}function yg(i,e){i&1&&K(0,"tr",22)}function bg(i,e){if(i&1&&(y(0,"div",6)(1,"table",7),ct(2,8),j(3,dg,2,0,"th",9)(4,hg,3,5,"td",10),dt(),ct(5,11),j(6,ug,2,0,"th",9)(7,fg,4,3,"td",10),dt(),ct(8,12),j(9,mg,2,0,"th",9)(10,pg,6,4,"td",10),dt(),ct(11,13),j(12,gg,2,0,"th",9)(13,_g,4,3,"td",10),dt(),j(14,vg,1,0,"tr",14)(15,yg,1,0,"tr",15),x()()),i&2){let r=H().ngIf,t=H();D(),X("dataSource",r.dataSource),D(13),X("matHeaderRowDef",t.displayedColumns),D(),X("matRowDefColumns",t.displayedColumns)}}function xg(i,e){if(i&1){let r=ht();y(0,"div",1)(1,"div",2)(2,"mat-form-field")(3,"mat-label"),le(4,"Type"),x(),y(5,"mat-select",3),fa("ngModelChange",function(n){Me(r);let o=H();return ua(o.selectedVolume,n)||(o.selectedVolume=n),Te(n)}),me("ngModelChange",function(){Me(r);let n=H();return Te(n.onVolumeChange())}),la(6,lg,2,2,"mat-option",4,ag),x()(),j(8,cg,2,0,"div",5)(9,bg,16,3),x()()}if(i&2){let r=e.ngIf,t=H();D(5),ha("ngModel",t.selectedVolume),D(),ca(t.volumeOptions),D(2),W(8,r.isLoading?8:9)}}var Id=(()=>{let e=class e extends Ed{constructor(){super(...arguments),this.homeApiService=_(Dd),this.localStorageService=_(Sd),this.displayedColumns=["time","price","name","amount"],this.dataSource$=new ue([]),this.isLoading$=new ue(!1),this.vm$=ot(this.isLoading$,this.dataSource$).pipe(A(([t,n])=>({isLoading:t,dataSource:n}))),this.selectedVolume=this.localStorageService.getItem("volume")||1e6,this.intervalSubscription=null,this.volumeOptions=[{value:1e3,viewValue:"1000"},{value:1e4,viewValue:"10 000"},{value:1e5,viewValue:"100 000"},{value:1e6,viewValue:"1 000 000"},{value:1e9,viewValue:"1 000 000 000"}]}ngOnInit(){this.getTransactions()}getTransactions(){this.isLoading$.next(!0),this.homeApiService.getTransactions(this.selectedVolume).pipe(re(t=>{this.dataSource$.next(t),this.isLoading$.next(!1),this.intervalSubscription&&this.intervalSubscription.unsubscribe(),this.startTransactionsPulling()}),U(this.destroyed$)).subscribe()}onVolumeChange(){this.localStorageService.setItem("volume",this.selectedVolume),this.getTransactions()}startTransactionsPulling(){this.intervalSubscription=Ws(6e4).pipe(ze(()=>this.homeApiService.getTransactions(this.selectedVolume)),re(t=>this.dataSource$.next(t)),U(this.destroyed$)).subscribe()}};e.\u0275fac=(()=>{let t;return function(o){return(t||(t=de(e)))(o||e)}})(),e.\u0275cmp=ee({type:e,selectors:[["crt-home"]],standalone:!0,features:[q,te],decls:2,vars:3,consts:[["class","home",4,"ngIf"],[1,"home"],[1,"home__filter"],[3,"ngModelChange","ngModel"],[3,"value"],[1,"home__loader"],[1,"home__table"],["mat-table","",1,"mat-elevation-z8",3,"dataSource"],["matColumnDef","time"],["mat-header-cell","",4,"matHeaderCellDef"],["mat-cell","",4,"matCellDef"],["matColumnDef","price"],["matColumnDef","name"],["matColumnDef","amount"],["mat-header-row","",4,"matHeaderRowDef"],["mat-row","",4,"matRowDef","matRowDefColumns"],["mat-header-cell",""],["mat-cell",""],["target","_blank",1,"home__table-name"],[1,"home__table-name-img"],[3,"src","alt"],["mat-header-row",""],["mat-row",""]],template:function(n,o){n&1&&(j(0,xg,10,2,"div",0),ui(1,"async")),n&2&&X("ngIf",sn(1,1,o.vm$))},dependencies:[_d,ad,cd,fd,dd,ld,md,hd,ud,pd,gd,Jc,ac,qn,Qc,Wn,St,yd,Yc,Uc,Es,Ge,ba,xa,Ca,wa,Cd,wd,xd],styles:[".home__table-name[_ngcontent-%COMP%]{display:flex;align-items:center;gap:7px}.home__table-name-img[_ngcontent-%COMP%]{width:22px;height:22px}.home__table-name[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{max-width:100%;height:auto}.home__loader[_ngcontent-%COMP%]{display:flex;justify-content:center;margin-block-start:50px}.mat-mdc-form-field[_ngcontent-%COMP%]{width:100%}"],changeDetection:0});let i=e;return i})();var Rd=[{path:"",component:Id}];var kd=[...Rd];var wg="@",Cg=(()=>{let e=class e{constructor(t,n,o,s,a){this.doc=t,this.delegate=n,this.zone=o,this.animationType=s,this.moduleImpl=a,this._rendererFactoryPromise=null,this.scheduler=_(na,{optional:!0})}ngOnDestroy(){this._engine?.flush()}loadImpl(){return(this.moduleImpl??import("./chunk-U45WZUSF.js")).catch(n=>{throw new Z(5300,!1)}).then(({\u0275createEngine:n,\u0275AnimationRendererFactory:o})=>{this._engine=n(this.animationType,this.doc,this.scheduler);let s=new o(this.delegate,this._engine,this.zone);return this.delegate=s,s})}createRenderer(t,n){let o=this.delegate.createRenderer(t,n);if(o.\u0275type===0)return o;typeof o.throwOnSyntheticProps=="boolean"&&(o.throwOnSyntheticProps=!1);let s=new js(o);return n?.data?.animation&&!this._rendererFactoryPromise&&(this._rendererFactoryPromise=this.loadImpl()),this._rendererFactoryPromise?.then(a=>{let c=a.createRenderer(t,n);s.use(c)}).catch(a=>{s.use(o)}),s}begin(){this.delegate.begin?.()}end(){this.delegate.end?.()}whenRenderingDone(){return this.delegate.whenRenderingDone?.()??Promise.resolve()}};e.\u0275fac=function(n){Tr()},e.\u0275prov=v({token:e,factory:e.\u0275fac});let i=e;return i})(),js=class{constructor(e){this.delegate=e,this.replay=[],this.\u0275type=1}use(e){if(this.delegate=e,this.replay!==null){for(let r of this.replay)r(e);this.replay=null}}get data(){return this.delegate.data}destroy(){this.replay=null,this.delegate.destroy()}createElement(e,r){return this.delegate.createElement(e,r)}createComment(e){return this.delegate.createComment(e)}createText(e){return this.delegate.createText(e)}get destroyNode(){return this.delegate.destroyNode}appendChild(e,r){this.delegate.appendChild(e,r)}insertBefore(e,r,t,n){this.delegate.insertBefore(e,r,t,n)}removeChild(e,r,t){this.delegate.removeChild(e,r,t)}selectRootElement(e,r){return this.delegate.selectRootElement(e,r)}parentNode(e){return this.delegate.parentNode(e)}nextSibling(e){return this.delegate.nextSibling(e)}setAttribute(e,r,t,n){this.delegate.setAttribute(e,r,t,n)}removeAttribute(e,r,t){this.delegate.removeAttribute(e,r,t)}addClass(e,r){this.delegate.addClass(e,r)}removeClass(e,r){this.delegate.removeClass(e,r)}setStyle(e,r,t,n){this.delegate.setStyle(e,r,t,n)}removeStyle(e,r,t){this.delegate.removeStyle(e,r,t)}setProperty(e,r,t){this.shouldReplay(r)&&this.replay.push(n=>n.setProperty(e,r,t)),this.delegate.setProperty(e,r,t)}setValue(e,r){this.delegate.setValue(e,r)}listen(e,r,t){return this.shouldReplay(r)&&this.replay.push(n=>n.listen(e,r,t)),this.delegate.listen(e,r,t)}shouldReplay(e){return this.replay!==null&&e.startsWith(wg)}};function Ad(i="animations"){return Fr("NgAsyncAnimations"),st([{provide:nn,useFactory:(e,r,t)=>new Cg(e,r,t,i),deps:[L,xn,R]},{provide:Le,useValue:i==="noop"?"NoopAnimations":"BrowserAnimations"}])}var Md={providers:[Sl(kd),Ad(),La()]};var Td=(()=>{let e=class e{constructor(){this.title="crt"}};e.\u0275fac=function(n){return new(n||e)},e.\u0275cmp=ee({type:e,selectors:[["app-root"]],standalone:!0,features:[te],decls:2,vars:0,consts:[[1,"box-container"]],template:function(n,o){n&1&&(y(0,"div",0),K(1,"router-outlet"),x())},dependencies:[Oo],styles:[".box-container[_ngcontent-%COMP%]{padding:10px}"]});let i=e;return i})();$a(Td,Md).catch(i=>console.error(i));