HEX
Server: nginx/1.24.0
System: Linux nowruzgan 6.8.0-57-generic #59-Ubuntu SMP PREEMPT_DYNAMIC Sat Mar 15 17:40:59 UTC 2025 x86_64
User: babak (1000)
PHP: 8.3.6
Disabled: NONE
Upload Files
File: /var/dev/nowruzgan/vazhgar/dist/vazhgar/browser/main-O6FYOZUE.js
import{$ as K,$a as vn,$b as mi,A as ft,Aa as me,Ab as D,Ac as qa,B as La,Ba as qt,Bb as Ot,Bc as ud,C as ke,Ca as re,Cb as rt,Cc as Jr,D as Fe,Da as li,Db as yn,E as Vr,Ea as je,Eb as qc,F as ja,Fa as ci,Fb as kt,Fc as to,G as xt,Ga as Fi,Gb as gt,Gc as zi,H as wc,Ha as Pi,Hb as Y,Hc as hd,I as Cc,Ia as Rc,Ib as q,J as Va,Ja as kc,Jb as dt,Jc as Ve,K as Pe,Ka as Fc,Kb as xn,Kc as eo,L as Ne,La as Pc,Lb as g,Lc as In,M as za,Ma as Nc,Mb as bt,N as Ec,Na as Lc,Nb as Dt,O as Ic,Oa as jc,Ob as Xc,P as Sc,Pa as Xt,Pb as Zc,Q as Ba,Qa as Vc,Qb as Kc,R as zr,Ra as zc,Rb as _t,S as ai,Sa as Bc,Sb as Q,T as wt,Ta as bn,Tb as jt,U as Pt,Ua as b,Ub as fe,V as at,Va as v,Vb as pe,W as nt,Wa as di,Wb as Gr,X as Z,Xa as _n,Xb as Yr,Y as Ua,Ya as Uc,Yb as qr,Z as pn,Za as Wa,Zb as Ya,_ as k,_a as Hr,_b as wn,a as S,aa as z,ab as Ct,ac as Qc,b as lt,ba as G,bb as $c,bc as Xr,c as vc,ca as Mc,cb as N,cc as Jc,d as ut,da as Ie,db as Hc,dc as td,e as Ft,ea as Se,eb as ui,ec as tt,f as yc,fa as $,fb as Zt,fc as Cn,g as he,ga as $a,gb as ht,gc as ed,h as Pa,ha as Ac,hb as Wc,hc as fi,i as Pr,ia as M,ib as Ga,ic as id,j as H,ja as B,jb as Wr,jc as nd,k as $t,ka as Oc,kb as T,kc as j,l as Ce,la as F,lb as ct,lc as rd,m as At,ma as Br,mb as E,mc as En,n as P,na as Dc,nb as Ni,nc as od,o as ri,oa as Yt,ob as L,oc as ad,p as Nr,pa as Nt,pb as Ae,pc as pi,q as xc,qa as gn,qb as Et,qc as Zr,r as V,ra as Me,rb as m,rc as sd,s as ki,sa as C,sb as h,sc as Kr,t as Gt,ta as I,tb as R,tc as ji,u as Na,ua as Ur,ub as Gc,uc as ld,v as Lr,va as $r,vb as Yc,vc as cd,w as fn,wa as Ha,wb as Lt,wc as Qr,x as jr,xa as Le,xb as hi,xc as Kt,y as oi,ya as Tc,yb as Li,yc as dd,z as Ee,za as si,zb as J,zc as Vi}from"./chunk-XBLP2OES.js";var Mn=class{},An=class{},ge=class e{constructor(t){this.normalizedNames=new Map,this.lazyUpdate=null,t?typeof t=="string"?this.lazyInit=()=>{this.headers=new Map,t.split(`
`).forEach(r=>{let i=r.indexOf(":");if(i>0){let n=r.slice(0,i),o=n.toLowerCase(),a=r.slice(i+1).trim();this.maybeSetNormalizedName(n,o),this.headers.has(o)?this.headers.get(o).push(a):this.headers.set(o,[a])}})}:typeof Headers<"u"&&t instanceof Headers?(this.headers=new Map,t.forEach((r,i)=>{this.setHeaderEntries(i,r)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(t).forEach(([r,i])=>{this.setHeaderEntries(r,i)})}:this.headers=new Map}has(t){return this.init(),this.headers.has(t.toLowerCase())}get(t){this.init();let r=this.headers.get(t.toLowerCase());return r&&r.length>0?r[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(t){return this.init(),this.headers.get(t.toLowerCase())||null}append(t,r){return this.clone({name:t,value:r,op:"a"})}set(t,r){return this.clone({name:t,value:r,op:"s"})}delete(t,r){return this.clone({name:t,value:r,op:"d"})}maybeSetNormalizedName(t,r){this.normalizedNames.has(r)||this.normalizedNames.set(r,t)}init(){this.lazyInit&&(this.lazyInit instanceof e?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(t=>this.applyUpdate(t)),this.lazyUpdate=null))}copyFrom(t){t.init(),Array.from(t.headers.keys()).forEach(r=>{this.headers.set(r,t.headers.get(r)),this.normalizedNames.set(r,t.normalizedNames.get(r))})}clone(t){let r=new e;return r.lazyInit=this.lazyInit&&this.lazyInit instanceof e?this.lazyInit:this,r.lazyUpdate=(this.lazyUpdate||[]).concat([t]),r}applyUpdate(t){let r=t.name.toLowerCase();switch(t.op){case"a":case"s":let i=t.value;if(typeof i=="string"&&(i=[i]),i.length===0)return;this.maybeSetNormalizedName(t.name,r);let n=(t.op==="a"?this.headers.get(r):void 0)||[];n.push(...i),this.headers.set(r,n);break;case"d":let o=t.value;if(!o)this.headers.delete(r),this.normalizedNames.delete(r);else{let a=this.headers.get(r);if(!a)return;a=a.filter(s=>o.indexOf(s)===-1),a.length===0?(this.headers.delete(r),this.normalizedNames.delete(r)):this.headers.set(r,a)}break}}setHeaderEntries(t,r){let i=(Array.isArray(r)?r:[r]).map(o=>o.toString()),n=t.toLowerCase();this.headers.set(n,i),this.maybeSetNormalizedName(t,n)}forEach(t){this.init(),Array.from(this.normalizedNames.keys()).forEach(r=>t(this.normalizedNames.get(r),this.headers.get(r)))}};var Ka=class{encodeKey(t){return md(t)}encodeValue(t){return md(t)}decodeKey(t){return decodeURIComponent(t)}decodeValue(t){return decodeURIComponent(t)}};function lg(e,t){let r=new Map;return e.length>0&&e.replace(/^\?/,"").split("&").forEach(n=>{let o=n.indexOf("="),[a,s]=o==-1?[t.decodeKey(n),""]:[t.decodeKey(n.slice(0,o)),t.decodeValue(n.slice(o+1))],l=r.get(a)||[];l.push(s),r.set(a,l)}),r}var cg=/%(\d[a-f0-9])/gi,dg={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function md(e){return encodeURIComponent(e).replace(cg,(t,r)=>dg[r]??t)}function io(e){return`${e}`}var Be=class e{constructor(t={}){if(this.updates=null,this.cloneFrom=null,this.encoder=t.encoder||new Ka,t.fromString){if(t.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=lg(t.fromString,this.encoder)}else t.fromObject?(this.map=new Map,Object.keys(t.fromObject).forEach(r=>{let i=t.fromObject[r],n=Array.isArray(i)?i.map(io):[io(i)];this.map.set(r,n)})):this.map=null}has(t){return this.init(),this.map.has(t)}get(t){this.init();let r=this.map.get(t);return r?r[0]:null}getAll(t){return this.init(),this.map.get(t)||null}keys(){return this.init(),Array.from(this.map.keys())}append(t,r){return this.clone({param:t,value:r,op:"a"})}appendAll(t){let r=[];return Object.keys(t).forEach(i=>{let n=t[i];Array.isArray(n)?n.forEach(o=>{r.push({param:i,value:o,op:"a"})}):r.push({param:i,value:n,op:"a"})}),this.clone(r)}set(t,r){return this.clone({param:t,value:r,op:"s"})}delete(t,r){return this.clone({param:t,value:r,op:"d"})}toString(){return this.init(),this.keys().map(t=>{let r=this.encoder.encodeKey(t);return this.map.get(t).map(i=>r+"="+this.encoder.encodeValue(i)).join("&")}).filter(t=>t!=="").join("&")}clone(t){let r=new e({encoder:this.encoder});return r.cloneFrom=this.cloneFrom||this,r.updates=(this.updates||[]).concat(t),r}init(){this.map===null&&(this.map=new Map),this.cloneFrom!==null&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(t=>this.map.set(t,this.cloneFrom.map.get(t))),this.updates.forEach(t=>{switch(t.op){case"a":case"s":let r=(t.op==="a"?this.map.get(t.param):void 0)||[];r.push(io(t.value)),this.map.set(t.param,r);break;case"d":if(t.value!==void 0){let i=this.map.get(t.param)||[],n=i.indexOf(io(t.value));n!==-1&&i.splice(n,1),i.length>0?this.map.set(t.param,i):this.map.delete(t.param)}else{this.map.delete(t.param);break}}}),this.cloneFrom=this.updates=null)}};var Qa=class{constructor(){this.map=new Map}set(t,r){return this.map.set(t,r),this}get(t){return this.map.has(t)||this.map.set(t,t.defaultValue()),this.map.get(t)}delete(t){return this.map.delete(t),this}has(t){return this.map.has(t)}keys(){return this.map.keys()}};function ug(e){switch(e){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}function fd(e){return typeof ArrayBuffer<"u"&&e instanceof ArrayBuffer}function pd(e){return typeof Blob<"u"&&e instanceof Blob}function gd(e){return typeof FormData<"u"&&e instanceof FormData}function hg(e){return typeof URLSearchParams<"u"&&e instanceof URLSearchParams}var Sn=class e{constructor(t,r,i,n){this.url=r,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=t.toUpperCase();let o;if(ug(this.method)||n?(this.body=i!==void 0?i:null,o=n):o=i,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 ge,this.context??=new Qa,!this.params)this.params=new Be,this.urlWithParams=r;else{let a=this.params.toString();if(a.length===0)this.urlWithParams=r;else{let s=r.indexOf("?"),l=s===-1?"?":s<r.length-1?"&":"";this.urlWithParams=r+l+a}}}serializeBody(){return this.body===null?null:fd(this.body)||pd(this.body)||gd(this.body)||hg(this.body)||typeof this.body=="string"?this.body:this.body instanceof Be?this.body.toString():typeof this.body=="object"||typeof this.body=="boolean"||Array.isArray(this.body)?JSON.stringify(this.body):this.body.toString()}detectContentTypeHeader(){return this.body===null||gd(this.body)?null:pd(this.body)?this.body.type||null:fd(this.body)?null:typeof this.body=="string"?"text/plain":this.body instanceof Be?"application/x-www-form-urlencoded;charset=UTF-8":typeof this.body=="object"||typeof this.body=="number"||typeof this.body=="boolean"?"application/json":null}clone(t={}){let r=t.method||this.method,i=t.url||this.url,n=t.responseType||this.responseType,o=t.body!==void 0?t.body:this.body,a=t.withCredentials!==void 0?t.withCredentials:this.withCredentials,s=t.reportProgress!==void 0?t.reportProgress:this.reportProgress,l=t.headers||this.headers,c=t.params||this.params,d=t.context??this.context;return t.setHeaders!==void 0&&(l=Object.keys(t.setHeaders).reduce((u,f)=>u.set(f,t.setHeaders[f]),l)),t.setParams&&(c=Object.keys(t.setParams).reduce((u,f)=>u.set(f,t.setParams[f]),c)),new e(r,i,o,{params:c,headers:l,context:d,reportProgress:s,responseType:n,withCredentials:a})}},Ue=function(e){return e[e.Sent=0]="Sent",e[e.UploadProgress=1]="UploadProgress",e[e.ResponseHeader=2]="ResponseHeader",e[e.DownloadProgress=3]="DownloadProgress",e[e.Response=4]="Response",e[e.User=5]="User",e}(Ue||{}),On=class{constructor(t,r=Dn.Ok,i="OK"){this.headers=t.headers||new ge,this.status=t.status!==void 0?t.status:r,this.statusText=t.statusText||i,this.url=t.url||null,this.ok=this.status>=200&&this.status<300}},ro=class e extends On{constructor(t={}){super(t),this.type=Ue.ResponseHeader}clone(t={}){return new e({headers:t.headers||this.headers,status:t.status!==void 0?t.status:this.status,statusText:t.statusText||this.statusText,url:t.url||this.url||void 0})}},gi=class e extends On{constructor(t={}){super(t),this.type=Ue.Response,this.body=t.body!==void 0?t.body:null}clone(t={}){return new e({body:t.body!==void 0?t.body:this.body,headers:t.headers||this.headers,status:t.status!==void 0?t.status:this.status,statusText:t.statusText||this.statusText,url:t.url||this.url||void 0})}},ze=class extends On{constructor(t){super(t,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.status>=200&&this.status<300?this.message=`Http failure during parsing for ${t.url||"(unknown url)"}`:this.message=`Http failure response for ${t.url||"(unknown url)"}: ${t.status} ${t.statusText}`,this.error=t.error||null}},Dn=function(e){return e[e.Continue=100]="Continue",e[e.SwitchingProtocols=101]="SwitchingProtocols",e[e.Processing=102]="Processing",e[e.EarlyHints=103]="EarlyHints",e[e.Ok=200]="Ok",e[e.Created=201]="Created",e[e.Accepted=202]="Accepted",e[e.NonAuthoritativeInformation=203]="NonAuthoritativeInformation",e[e.NoContent=204]="NoContent",e[e.ResetContent=205]="ResetContent",e[e.PartialContent=206]="PartialContent",e[e.MultiStatus=207]="MultiStatus",e[e.AlreadyReported=208]="AlreadyReported",e[e.ImUsed=226]="ImUsed",e[e.MultipleChoices=300]="MultipleChoices",e[e.MovedPermanently=301]="MovedPermanently",e[e.Found=302]="Found",e[e.SeeOther=303]="SeeOther",e[e.NotModified=304]="NotModified",e[e.UseProxy=305]="UseProxy",e[e.Unused=306]="Unused",e[e.TemporaryRedirect=307]="TemporaryRedirect",e[e.PermanentRedirect=308]="PermanentRedirect",e[e.BadRequest=400]="BadRequest",e[e.Unauthorized=401]="Unauthorized",e[e.PaymentRequired=402]="PaymentRequired",e[e.Forbidden=403]="Forbidden",e[e.NotFound=404]="NotFound",e[e.MethodNotAllowed=405]="MethodNotAllowed",e[e.NotAcceptable=406]="NotAcceptable",e[e.ProxyAuthenticationRequired=407]="ProxyAuthenticationRequired",e[e.RequestTimeout=408]="RequestTimeout",e[e.Conflict=409]="Conflict",e[e.Gone=410]="Gone",e[e.LengthRequired=411]="LengthRequired",e[e.PreconditionFailed=412]="PreconditionFailed",e[e.PayloadTooLarge=413]="PayloadTooLarge",e[e.UriTooLong=414]="UriTooLong",e[e.UnsupportedMediaType=415]="UnsupportedMediaType",e[e.RangeNotSatisfiable=416]="RangeNotSatisfiable",e[e.ExpectationFailed=417]="ExpectationFailed",e[e.ImATeapot=418]="ImATeapot",e[e.MisdirectedRequest=421]="MisdirectedRequest",e[e.UnprocessableEntity=422]="UnprocessableEntity",e[e.Locked=423]="Locked",e[e.FailedDependency=424]="FailedDependency",e[e.TooEarly=425]="TooEarly",e[e.UpgradeRequired=426]="UpgradeRequired",e[e.PreconditionRequired=428]="PreconditionRequired",e[e.TooManyRequests=429]="TooManyRequests",e[e.RequestHeaderFieldsTooLarge=431]="RequestHeaderFieldsTooLarge",e[e.UnavailableForLegalReasons=451]="UnavailableForLegalReasons",e[e.InternalServerError=500]="InternalServerError",e[e.NotImplemented=501]="NotImplemented",e[e.BadGateway=502]="BadGateway",e[e.ServiceUnavailable=503]="ServiceUnavailable",e[e.GatewayTimeout=504]="GatewayTimeout",e[e.HttpVersionNotSupported=505]="HttpVersionNotSupported",e[e.VariantAlsoNegotiates=506]="VariantAlsoNegotiates",e[e.InsufficientStorage=507]="InsufficientStorage",e[e.LoopDetected=508]="LoopDetected",e[e.NotExtended=510]="NotExtended",e[e.NetworkAuthenticationRequired=511]="NetworkAuthenticationRequired",e}(Dn||{});function Xa(e,t){return{body:t,headers:e.headers,context:e.context,observe:e.observe,params:e.params,reportProgress:e.reportProgress,responseType:e.responseType,withCredentials:e.withCredentials,transferCache:e.transferCache}}var Rn=(()=>{let t=class t{constructor(i){this.handler=i}request(i,n,o={}){let a;if(i instanceof Sn)a=i;else{let c;o.headers instanceof ge?c=o.headers:c=new ge(o.headers);let d;o.params&&(o.params instanceof Be?d=o.params:d=new Be({fromObject:o.params})),a=new Sn(i,n,o.body!==void 0?o.body:null,{headers:c,context:o.context,params:d,reportProgress:o.reportProgress,responseType:o.responseType||"json",withCredentials:o.withCredentials,transferCache:o.transferCache})}let s=P(a).pipe(Fe(c=>this.handler.handle(c)));if(i instanceof Sn||o.observe==="events")return s;let l=s.pipe(ft(c=>c instanceof gi));switch(o.observe||"body"){case"body":switch(a.responseType){case"arraybuffer":return l.pipe(V(c=>{if(c.body!==null&&!(c.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return c.body}));case"blob":return l.pipe(V(c=>{if(c.body!==null&&!(c.body instanceof Blob))throw new Error("Response is not a Blob.");return c.body}));case"text":return l.pipe(V(c=>{if(c.body!==null&&typeof c.body!="string")throw new Error("Response is not a string.");return c.body}));case"json":default:return l.pipe(V(c=>c.body))}case"response":return l;default:throw new Error(`Unreachable: unhandled observe type ${o.observe}}`)}}delete(i,n={}){return this.request("DELETE",i,n)}get(i,n={}){return this.request("GET",i,n)}head(i,n={}){return this.request("HEAD",i,n)}jsonp(i,n){return this.request("JSONP",i,{params:new Be().append(n,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(i,n={}){return this.request("OPTIONS",i,n)}patch(i,n,o={}){return this.request("PATCH",i,Xa(o,n))}post(i,n,o={}){return this.request("POST",i,Xa(o,n))}put(i,n,o={}){return this.request("PUT",i,Xa(o,n))}};t.\u0275fac=function(n){return new(n||t)(C(Mn))},t.\u0275prov=M({token:t,factory:t.\u0275fac});let e=t;return e})(),mg=/^\)\]\}',?\n/,fg="X-Request-URL";function bd(e){if(e.url)return e.url;let t=fg.toLocaleLowerCase();return e.headers.get(t)}var Za=(()=>{let t=class t{constructor(){this.fetchImpl=I(Ja,{optional:!0})?.fetch??fetch.bind(globalThis),this.ngZone=I(N)}handle(i){return new he(n=>{let o=new AbortController;return this.doRequest(i,o.signal,n).then(ts,a=>n.error(new ze({error:a}))),()=>o.abort()})}doRequest(i,n,o){return ut(this,null,function*(){let a=this.createRequestInit(i),s;try{let x=this.fetchImpl(i.urlWithParams,S({signal:n},a));pg(x),o.next({type:Ue.Sent}),s=yield x}catch(x){o.error(new ze({error:x,status:x.status??0,statusText:x.statusText,url:i.urlWithParams,headers:x.headers}));return}let l=new ge(s.headers),c=s.statusText,d=bd(s)??i.urlWithParams,u=s.status,f=null;if(i.reportProgress&&o.next(new ro({headers:l,status:u,statusText:c,url:d})),s.body){let x=s.headers.get("content-length"),y=[],_=s.body.getReader(),w=0,A,U,O=typeof Zone<"u"&&Zone.current;yield this.ngZone.runOutsideAngular(()=>ut(this,null,function*(){for(;;){let{done:mt,value:Mt}=yield _.read();if(mt)break;if(y.push(Mt),w+=Mt.length,i.reportProgress){U=i.responseType==="text"?(U??"")+(A??=new TextDecoder).decode(Mt,{stream:!0}):void 0;let ne=()=>o.next({type:Ue.DownloadProgress,total:x?+x:void 0,loaded:w,partialText:U});O?O.run(ne):ne()}}}));let ot=this.concatChunks(y,w);try{let mt=s.headers.get("Content-Type")??"";f=this.parseBody(i,ot,mt)}catch(mt){o.error(new ze({error:mt,headers:new ge(s.headers),status:s.status,statusText:s.statusText,url:bd(s)??i.urlWithParams}));return}}u===0&&(u=f?Dn.Ok:0),u>=200&&u<300?(o.next(new gi({body:f,headers:l,status:u,statusText:c,url:d})),o.complete()):o.error(new ze({error:f,headers:l,status:u,statusText:c,url:d}))})}parseBody(i,n,o){switch(i.responseType){case"json":let a=new TextDecoder().decode(n).replace(mg,"");return a===""?null:JSON.parse(a);case"text":return new TextDecoder().decode(n);case"blob":return new Blob([n],{type:o});case"arraybuffer":return n.buffer}}createRequestInit(i){let n={},o=i.withCredentials?"include":void 0;if(i.headers.forEach((a,s)=>n[a]=s.join(",")),n.Accept??="application/json, text/plain, */*",!n["Content-Type"]){let a=i.detectContentTypeHeader();a!==null&&(n["Content-Type"]=a)}return{body:i.serializeBody(),method:i.method,headers:n,credentials:o}}concatChunks(i,n){let o=new Uint8Array(n),a=0;for(let s of i)o.set(s,a),a+=s.length;return o}};t.\u0275fac=function(n){return new(n||t)},t.\u0275prov=M({token:t,factory:t.\u0275fac});let e=t;return e})(),Ja=class{};function ts(){}function pg(e){e.then(ts,ts)}function gg(e,t){return t(e)}function bg(e,t,r){return(i,n)=>me(r,()=>t(i,o=>e(o,n)))}var Sd=new F(""),Md=new F(""),Ad=new F("");var _d=(()=>{let t=class t extends Mn{constructor(i,n){super(),this.backend=i,this.injector=n,this.chain=null,this.pendingTasks=I(Wr);let o=I(Ad,{optional:!0});this.backend=o??i}handle(i){if(this.chain===null){let o=Array.from(new Set([...this.injector.get(Sd),...this.injector.get(Md,[])]));this.chain=o.reduceRight((a,s)=>bg(a,s,this.injector),gg)}let n=this.pendingTasks.add();return this.chain(i,o=>this.backend.handle(o)).pipe(Pe(()=>this.pendingTasks.remove(n)))}};t.\u0275fac=function(n){return new(n||t)(C(An),C(si))},t.\u0275prov=M({token:t,factory:t.\u0275fac});let e=t;return e})();var _g=/^\)\]\}',?\n/;function vg(e){return"responseURL"in e&&e.responseURL?e.responseURL:/^X-Request-URL:/m.test(e.getAllResponseHeaders())?e.getResponseHeader("X-Request-URL"):null}var vd=(()=>{let t=class t{constructor(i){this.xhrFactory=i}handle(i){if(i.method==="JSONP")throw new nt(-2800,!1);let n=this.xhrFactory;return(n.\u0275loadImpl?At(n.\u0275loadImpl()):P(null)).pipe(wt(()=>new he(a=>{let s=n.build();if(s.open(i.method,i.urlWithParams),i.withCredentials&&(s.withCredentials=!0),i.headers.forEach((_,w)=>s.setRequestHeader(_,w.join(","))),i.headers.has("Accept")||s.setRequestHeader("Accept","application/json, text/plain, */*"),!i.headers.has("Content-Type")){let _=i.detectContentTypeHeader();_!==null&&s.setRequestHeader("Content-Type",_)}if(i.responseType){let _=i.responseType.toLowerCase();s.responseType=_!=="json"?_:"text"}let l=i.serializeBody(),c=null,d=()=>{if(c!==null)return c;let _=s.statusText||"OK",w=new ge(s.getAllResponseHeaders()),A=vg(s)||i.url;return c=new ro({headers:w,status:s.status,statusText:_,url:A}),c},u=()=>{let{headers:_,status:w,statusText:A,url:U}=d(),O=null;w!==Dn.NoContent&&(O=typeof s.response>"u"?s.responseText:s.response),w===0&&(w=O?Dn.Ok:0);let ot=w>=200&&w<300;if(i.responseType==="json"&&typeof O=="string"){let mt=O;O=O.replace(_g,"");try{O=O!==""?JSON.parse(O):null}catch(Mt){O=mt,ot&&(ot=!1,O={error:Mt,text:O})}}ot?(a.next(new gi({body:O,headers:_,status:w,statusText:A,url:U||void 0})),a.complete()):a.error(new ze({error:O,headers:_,status:w,statusText:A,url:U||void 0}))},f=_=>{let{url:w}=d(),A=new ze({error:_,status:s.status||0,statusText:s.statusText||"Unknown Error",url:w||void 0});a.error(A)},p=!1,x=_=>{p||(a.next(d()),p=!0);let w={type:Ue.DownloadProgress,loaded:_.loaded};_.lengthComputable&&(w.total=_.total),i.responseType==="text"&&s.responseText&&(w.partialText=s.responseText),a.next(w)},y=_=>{let w={type:Ue.UploadProgress,loaded:_.loaded};_.lengthComputable&&(w.total=_.total),a.next(w)};return s.addEventListener("load",u),s.addEventListener("error",f),s.addEventListener("timeout",f),s.addEventListener("abort",f),i.reportProgress&&(s.addEventListener("progress",x),l!==null&&s.upload&&s.upload.addEventListener("progress",y)),s.send(l),a.next({type:Ue.Sent}),()=>{s.removeEventListener("error",f),s.removeEventListener("abort",f),s.removeEventListener("load",u),s.removeEventListener("timeout",f),i.reportProgress&&(s.removeEventListener("progress",x),l!==null&&s.upload&&s.upload.removeEventListener("progress",y)),s.readyState!==s.DONE&&s.abort()}})))}};t.\u0275fac=function(n){return new(n||t)(C(Jr))},t.\u0275prov=M({token:t,factory:t.\u0275fac});let e=t;return e})(),Od=new F(""),yg="XSRF-TOKEN",xg=new F("",{providedIn:"root",factory:()=>yg}),wg="X-XSRF-TOKEN",Cg=new F("",{providedIn:"root",factory:()=>wg}),oo=class{},Eg=(()=>{let t=class t{constructor(i,n,o){this.doc=i,this.platform=n,this.cookieName=o,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if(this.platform==="server")return null;let i=this.doc.cookie||"";return i!==this.lastCookieString&&(this.parseCount++,this.lastToken=Zr(i,this.cookieName),this.lastCookieString=i),this.lastToken}};t.\u0275fac=function(n){return new(n||t)(C(j),C(Yt),C(xg))},t.\u0275prov=M({token:t,factory:t.\u0275fac});let e=t;return e})();function Ig(e,t){let r=e.url.toLowerCase();if(!I(Od)||e.method==="GET"||e.method==="HEAD"||r.startsWith("http://")||r.startsWith("https://"))return t(e);let i=I(oo).getToken(),n=I(Cg);return i!=null&&!e.headers.has(n)&&(e=e.clone({headers:e.headers.set(n,i)})),t(e)}var Dd=function(e){return e[e.Interceptors=0]="Interceptors",e[e.LegacyInterceptors=1]="LegacyInterceptors",e[e.CustomXsrfConfiguration=2]="CustomXsrfConfiguration",e[e.NoXsrfProtection=3]="NoXsrfProtection",e[e.JsonpSupport=4]="JsonpSupport",e[e.RequestsMadeViaParent=5]="RequestsMadeViaParent",e[e.Fetch=6]="Fetch",e}(Dd||{});function Sg(e,t){return{\u0275kind:e,\u0275providers:t}}function Td(...e){let t=[Rn,vd,_d,{provide:Mn,useExisting:_d},{provide:An,useExisting:vd},{provide:Sd,useValue:Ig,multi:!0},{provide:Od,useValue:!0},{provide:oo,useClass:Eg}];for(let r of e)t.push(...r.\u0275providers);return Le(t)}function Rd(){return Sg(Dd.Fetch,[Za,{provide:An,useExisting:Za},{provide:Ad,useExisting:Za}])}var yd="b",xd="h",wd="s",Cd="st",Ed="u",Id="rt",no=new F(""),Mg=["GET","HEAD"];function Ag(e,t){let d=I(no),{isCacheActive:r}=d,i=vc(d,["isCacheActive"]),{transferCache:n,method:o}=e;if(!r||o==="POST"&&!i.includePostRequests&&!n||o!=="POST"&&!Mg.includes(o)||n===!1||i.filter?.(e)===!1)return t(e);let a=I(Ur),s=Dg(e),l=a.get(s,null),c=i.includeHeaders;if(typeof n=="object"&&n.includeHeaders&&(c=n.includeHeaders),l){let{[yd]:u,[Id]:f,[xd]:p,[wd]:x,[Cd]:y,[Ed]:_}=l,w=u;switch(f){case"arraybuffer":w=new TextEncoder().encode(u).buffer;break;case"blob":w=new Blob([u]);break}let A=new ge(p);return P(new gi({body:w,headers:A,status:x,statusText:y,url:_}))}return t(e).pipe(at(u=>{u instanceof gi&&a.set(s,{[yd]:u.body,[xd]:Og(u.headers,c),[wd]:u.status,[Cd]:u.statusText,[Ed]:u.url||"",[Id]:e.responseType})}))}function Og(e,t){if(!t)return{};let r={};for(let i of t){let n=e.getAll(i);n!==null&&(r[i]=n)}return r}function Dg(e){let{params:t,method:r,responseType:i,url:n,body:o}=e,a=t.keys().sort().map(d=>`${d}=${t.getAll(d)}`).join("&"),l=[r,i,n,typeof o=="string"?o:"",a].join("|"),c=Tg(l);return c}function Tg(e){let t=0;for(let r of e)t=Math.imul(31,t)+r.charCodeAt(0)<<0;return t+=2147483648,t.toString()}function kd(e){return[{provide:no,useFactory:()=>($c("NgHttpTransferCache"),S({isCacheActive:!0},e))},{provide:Md,useValue:Ag,multi:!0,deps:[Ur,no]},{provide:wn,multi:!0,useFactory:()=>{let t=I(mi),r=I(no);return()=>{Qc(t).then(()=>{r.isCacheActive=!1})}}}]}var ns=class extends nd{constructor(){super(...arguments),this.supportsDOMEvents=!0}},rs=class e extends ns{static makeCurrent(){id(new e)}onAndCancel(t,r,i){return t.addEventListener(r,i),()=>{t.removeEventListener(r,i)}}dispatchEvent(t,r){t.dispatchEvent(r)}remove(t){t.parentNode&&t.parentNode.removeChild(t)}createElement(t,r){return r=r||this.getDefaultDocument(),r.createElement(t)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(t){return t.nodeType===Node.ELEMENT_NODE}isShadowRoot(t){return t instanceof DocumentFragment}getGlobalEventTarget(t,r){return r==="window"?window:r==="document"?t:r==="body"?t.body:null}getBaseHref(t){let r=kg();return r==null?null:Fg(r)}resetBaseElement(){kn=null}getUserAgent(){return window.navigator.userAgent}getCookie(t){return Zr(document.cookie,t)}},kn=null;function kg(){return kn=kn||document.querySelector("base"),kn?kn.getAttribute("href"):null}function Fg(e){return new URL(e,document.baseURI).pathname}var Pg=(()=>{let t=class t{build(){return new XMLHttpRequest}};t.\u0275fac=function(n){return new(n||t)},t.\u0275prov=M({token:t,factory:t.\u0275fac});let e=t;return e})(),os=new F(""),Ld=(()=>{let t=class t{constructor(i,n){this._zone=n,this._eventNameToPlugin=new Map,i.forEach(o=>{o.manager=this}),this._plugins=i.slice().reverse()}addEventListener(i,n,o){return this._findPluginFor(n).addEventListener(i,n,o)}getZone(){return this._zone}_findPluginFor(i){let n=this._eventNameToPlugin.get(i);if(n)return n;if(n=this._plugins.find(a=>a.supports(i)),!n)throw new nt(5101,!1);return this._eventNameToPlugin.set(i,n),n}};t.\u0275fac=function(n){return new(n||t)(C(os),C(N))},t.\u0275prov=M({token:t,factory:t.\u0275fac});let e=t;return e})(),ao=class{constructor(t){this._doc=t}},es="ng-app-id",jd=(()=>{let t=class t{constructor(i,n,o,a={}){this.doc=i,this.appId=n,this.nonce=o,this.platformId=a,this.styleRef=new Map,this.hostNodes=new Set,this.styleNodesInDOM=this.collectServerRenderedStyles(),this.platformIsServer=qa(a),this.resetHostNodes()}addStyles(i){for(let n of i)this.changeUsageCount(n,1)===1&&this.onStyleAdded(n)}removeStyles(i){for(let n of i)this.changeUsageCount(n,-1)<=0&&this.onStyleRemoved(n)}ngOnDestroy(){let i=this.styleNodesInDOM;i&&(i.forEach(n=>n.remove()),i.clear());for(let n of this.getAllStyles())this.onStyleRemoved(n);this.resetHostNodes()}addHost(i){this.hostNodes.add(i);for(let n of this.getAllStyles())this.addStyleToHost(i,n)}removeHost(i){this.hostNodes.delete(i)}getAllStyles(){return this.styleRef.keys()}onStyleAdded(i){for(let n of this.hostNodes)this.addStyleToHost(n,i)}onStyleRemoved(i){let n=this.styleRef;n.get(i)?.elements?.forEach(o=>o.remove()),n.delete(i)}collectServerRenderedStyles(){let i=this.doc.head?.querySelectorAll(`style[${es}="${this.appId}"]`);if(i?.length){let n=new Map;return i.forEach(o=>{o.textContent!=null&&n.set(o.textContent,o)}),n}return null}changeUsageCount(i,n){let o=this.styleRef;if(o.has(i)){let a=o.get(i);return a.usage+=n,a.usage}return o.set(i,{usage:n,elements:[]}),n}getStyleElement(i,n){let o=this.styleNodesInDOM,a=o?.get(n);if(a?.parentNode===i)return o.delete(n),a.removeAttribute(es),a;{let s=this.doc.createElement("style");return this.nonce&&s.setAttribute("nonce",this.nonce),s.textContent=n,this.platformIsServer&&s.setAttribute(es,this.appId),i.appendChild(s),s}}addStyleToHost(i,n){let o=this.getStyleElement(i,n),a=this.styleRef,s=a.get(n)?.elements;s?s.push(o):a.set(n,{elements:[o],usage:1})}resetHostNodes(){let i=this.hostNodes;i.clear(),i.add(this.doc.head)}};t.\u0275fac=function(n){return new(n||t)(C(j),C(Br),C(gn,8),C(Yt))},t.\u0275prov=M({token:t,factory:t.\u0275fac});let e=t;return e})(),is={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/"},cs=/%COMP%/g,Vd="%COMP%",Ng=`_nghost-${Vd}`,Lg=`_ngcontent-${Vd}`,jg=!0,Vg=new F("",{providedIn:"root",factory:()=>jg});function zg(e){return Lg.replace(cs,e)}function Bg(e){return Ng.replace(cs,e)}function zd(e,t){return t.map(r=>r.replace(cs,e))}var so=(()=>{let t=class t{constructor(i,n,o,a,s,l,c,d=null){this.eventManager=i,this.sharedStylesHost=n,this.appId=o,this.removeStylesOnCompDestroy=a,this.doc=s,this.platformId=l,this.ngZone=c,this.nonce=d,this.rendererByCompId=new Map,this.platformIsServer=qa(l),this.defaultRenderer=new Fn(i,s,c,this.platformIsServer)}createRenderer(i,n){if(!i||!n)return this.defaultRenderer;this.platformIsServer&&n.encapsulation===pn.ShadowDom&&(n=lt(S({},n),{encapsulation:pn.Emulated}));let o=this.getOrCreateRenderer(i,n);return o instanceof lo?o.applyToHost(i):o instanceof Pn&&o.applyStyles(),o}getOrCreateRenderer(i,n){let o=this.rendererByCompId,a=o.get(n.id);if(!a){let s=this.doc,l=this.ngZone,c=this.eventManager,d=this.sharedStylesHost,u=this.removeStylesOnCompDestroy,f=this.platformIsServer;switch(n.encapsulation){case pn.Emulated:a=new lo(c,d,n,this.appId,u,s,l,f);break;case pn.ShadowDom:return new as(c,d,i,n,s,l,this.nonce,f);default:a=new Pn(c,d,n,u,s,l,f);break}o.set(n.id,a)}return a}ngOnDestroy(){this.rendererByCompId.clear()}};t.\u0275fac=function(n){return new(n||t)(C(Ld),C(jd),C(Br),C(Vg),C(j),C(Yt),C(N),C(gn))},t.\u0275prov=M({token:t,factory:t.\u0275fac});let e=t;return e})(),Fn=class{constructor(t,r,i,n){this.eventManager=t,this.doc=r,this.ngZone=i,this.platformIsServer=n,this.data=Object.create(null),this.throwOnSyntheticProps=!0,this.destroyNode=null}destroy(){}createElement(t,r){return r?this.doc.createElementNS(is[r]||r,t):this.doc.createElement(t)}createComment(t){return this.doc.createComment(t)}createText(t){return this.doc.createTextNode(t)}appendChild(t,r){(Pd(t)?t.content:t).appendChild(r)}insertBefore(t,r,i){t&&(Pd(t)?t.content:t).insertBefore(r,i)}removeChild(t,r){t&&t.removeChild(r)}selectRootElement(t,r){let i=typeof t=="string"?this.doc.querySelector(t):t;if(!i)throw new nt(-5104,!1);return r||(i.textContent=""),i}parentNode(t){return t.parentNode}nextSibling(t){return t.nextSibling}setAttribute(t,r,i,n){if(n){r=n+":"+r;let o=is[n];o?t.setAttributeNS(o,r,i):t.setAttribute(r,i)}else t.setAttribute(r,i)}removeAttribute(t,r,i){if(i){let n=is[i];n?t.removeAttributeNS(n,r):t.removeAttribute(`${i}:${r}`)}else t.removeAttribute(r)}addClass(t,r){t.classList.add(r)}removeClass(t,r){t.classList.remove(r)}setStyle(t,r,i,n){n&(bn.DashCase|bn.Important)?t.style.setProperty(r,i,n&bn.Important?"important":""):t.style[r]=i}removeStyle(t,r,i){i&bn.DashCase?t.style.removeProperty(r):t.style[r]=""}setProperty(t,r,i){t!=null&&(t[r]=i)}setValue(t,r){t.nodeValue=r}listen(t,r,i){if(typeof t=="string"&&(t=fi().getGlobalEventTarget(this.doc,t),!t))throw new Error(`Unsupported event target ${t} for event ${r}`);return this.eventManager.addEventListener(t,r,this.decoratePreventDefault(i))}decoratePreventDefault(t){return r=>{if(r==="__ngUnwrap__")return t;(this.platformIsServer?this.ngZone.runGuarded(()=>t(r)):t(r))===!1&&r.preventDefault()}}};function Pd(e){return e.tagName==="TEMPLATE"&&e.content!==void 0}var as=class extends Fn{constructor(t,r,i,n,o,a,s,l){super(t,o,a,l),this.sharedStylesHost=r,this.hostEl=i,this.shadowRoot=i.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);let c=zd(n.id,n.styles);for(let d of c){let u=document.createElement("style");s&&u.setAttribute("nonce",s),u.textContent=d,this.shadowRoot.appendChild(u)}}nodeOrShadowRoot(t){return t===this.hostEl?this.shadowRoot:t}appendChild(t,r){return super.appendChild(this.nodeOrShadowRoot(t),r)}insertBefore(t,r,i){return super.insertBefore(this.nodeOrShadowRoot(t),r,i)}removeChild(t,r){return super.removeChild(this.nodeOrShadowRoot(t),r)}parentNode(t){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(t)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}},Pn=class extends Fn{constructor(t,r,i,n,o,a,s,l){super(t,o,a,s),this.sharedStylesHost=r,this.removeStylesOnCompDestroy=n,this.styles=l?zd(l,i.styles):i.styles}applyStyles(){this.sharedStylesHost.addStyles(this.styles)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles)}},lo=class extends Pn{constructor(t,r,i,n,o,a,s,l){let c=n+"-"+i.id;super(t,r,i,o,a,s,l,c),this.contentAttr=zg(c),this.hostAttr=Bg(c)}applyToHost(t){this.applyStyles(),this.setAttribute(t,this.hostAttr,"")}createElement(t,r){let i=super.createElement(t,r);return super.setAttribute(i,this.contentAttr,""),i}},Ug=(()=>{let t=class t extends ao{constructor(i){super(i)}supports(i){return!0}addEventListener(i,n,o){return i.addEventListener(n,o,!1),()=>this.removeEventListener(i,n,o)}removeEventListener(i,n,o){return i.removeEventListener(n,o)}};t.\u0275fac=function(n){return new(n||t)(C(j))},t.\u0275prov=M({token:t,factory:t.\u0275fac});let e=t;return e})(),Nd=["alt","control","meta","shift"],$g={"\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"},Hg={alt:e=>e.altKey,control:e=>e.ctrlKey,meta:e=>e.metaKey,shift:e=>e.shiftKey},Wg=(()=>{let t=class t extends ao{constructor(i){super(i)}supports(i){return t.parseEventName(i)!=null}addEventListener(i,n,o){let a=t.parseEventName(n),s=t.eventCallback(a.fullKey,o,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>fi().onAndCancel(i,a.domEventName,s))}static parseEventName(i){let n=i.toLowerCase().split("."),o=n.shift();if(n.length===0||!(o==="keydown"||o==="keyup"))return null;let a=t._normalizeKey(n.pop()),s="",l=n.indexOf("code");if(l>-1&&(n.splice(l,1),s="code."),Nd.forEach(d=>{let u=n.indexOf(d);u>-1&&(n.splice(u,1),s+=d+".")}),s+=a,n.length!=0||a.length===0)return null;let c={};return c.domEventName=o,c.fullKey=s,c}static matchEventFullKeyCode(i,n){let o=$g[i.key]||i.key,a="";return n.indexOf("code.")>-1&&(o=i.code,a="code."),o==null||!o?!1:(o=o.toLowerCase(),o===" "?o="space":o==="."&&(o="dot"),Nd.forEach(s=>{if(s!==o){let l=Hg[s];l(i)&&(a+=s+".")}}),a+=o,a===n)}static eventCallback(i,n,o){return a=>{t.matchEventFullKeyCode(a,i)&&o.runGuarded(()=>n(a))}}static _normalizeKey(i){return i==="esc"?"escape":i}};t.\u0275fac=function(n){return new(n||t)(C(j))},t.\u0275prov=M({token:t,factory:t.\u0275fac});let e=t;return e})();function Bd(e,t){return Jc(S({rootComponent:e},Gg(t)))}function Gg(e){return{appProviders:[...Kg,...e?.providers??[]],platformProviders:Zg}}function Yg(){rs.makeCurrent()}function qg(){return new ci}function Xg(){return Ac(document),document}var Zg=[{provide:Yt,useValue:dd},{provide:Dc,useValue:Yg,multi:!0},{provide:j,useFactory:Xg,deps:[]}];var Kg=[{provide:Tc,useValue:"root"},{provide:ci,useFactory:qg,deps:[]},{provide:os,useClass:Ug,multi:!0,deps:[j,N,Yt]},{provide:os,useClass:Wg,multi:!0,deps:[j]},so,jd,Ld,{provide:Hr,useExisting:so},{provide:Jr,useClass:Pg,deps:[]},[]];var Ud=(()=>{let t=class t{constructor(i){this._doc=i,this._dom=fi()}addTag(i,n=!1){return i?this._getOrCreateElement(i,n):null}addTags(i,n=!1){return i?i.reduce((o,a)=>(a&&o.push(this._getOrCreateElement(a,n)),o),[]):[]}getTag(i){return i&&this._doc.querySelector(`meta[${i}]`)||null}getTags(i){if(!i)return[];let n=this._doc.querySelectorAll(`meta[${i}]`);return n?[].slice.call(n):[]}updateTag(i,n){if(!i)return null;n=n||this._parseSelector(i);let o=this.getTag(n);return o?this._setMetaElementAttributes(i,o):this._getOrCreateElement(i,!0)}removeTag(i){this.removeTagElement(this.getTag(i))}removeTagElement(i){i&&this._dom.remove(i)}_getOrCreateElement(i,n=!1){if(!n){let s=this._parseSelector(i),l=this.getTags(s).filter(c=>this._containsAttributes(i,c))[0];if(l!==void 0)return l}let o=this._dom.createElement("meta");return this._setMetaElementAttributes(i,o),this._doc.getElementsByTagName("head")[0].appendChild(o),o}_setMetaElementAttributes(i,n){return Object.keys(i).forEach(o=>n.setAttribute(this._getMetaKeyMap(o),i[o])),n}_parseSelector(i){let n=i.name?"name":"property";return`${n}="${i[n]}"`}_containsAttributes(i,n){return Object.keys(i).every(o=>n.getAttribute(this._getMetaKeyMap(o))===i[o])}_getMetaKeyMap(i){return Qg[i]||i}};t.\u0275fac=function(n){return new(n||t)(C(j))},t.\u0275prov=M({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})(),Qg={httpEquiv:"http-equiv"},$d=(()=>{let t=class t{constructor(i){this._doc=i}getTitle(){return this._doc.title}setTitle(i){this._doc.title=i||""}};t.\u0275fac=function(n){return new(n||t)(C(j))},t.\u0275prov=M({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})();var ds=(()=>{let t=class t{};t.\u0275fac=function(n){return new(n||t)},t.\u0275prov=M({token:t,factory:function(n){let o=null;return n?o=new(n||t):o=C(Jg),o},providedIn:"root"});let e=t;return e})(),Jg=(()=>{let t=class t extends ds{constructor(i){super(),this._doc=i}sanitize(i,n){if(n==null)return null;switch(i){case Xt.NONE:return n;case Xt.HTML:return Pi(n,"HTML")?Fi(n):jc(this._doc,String(n)).toString();case Xt.STYLE:return Pi(n,"Style")?Fi(n):n;case Xt.SCRIPT:if(Pi(n,"Script"))return Fi(n);throw new nt(5200,!1);case Xt.URL:return Pi(n,"URL")?Fi(n):Lc(String(n));case Xt.RESOURCE_URL:if(Pi(n,"ResourceURL"))return Fi(n);throw new nt(5201,!1);default:throw new nt(5202,!1)}}bypassSecurityTrustHtml(i){return Rc(i)}bypassSecurityTrustStyle(i){return kc(i)}bypassSecurityTrustScript(i){return Fc(i)}bypassSecurityTrustUrl(i){return Pc(i)}bypassSecurityTrustResourceUrl(i){return Nc(i)}};t.\u0275fac=function(n){return new(n||t)(C(j))},t.\u0275prov=M({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})(),ss=function(e){return e[e.NoHttpTransferCache=0]="NoHttpTransferCache",e[e.HttpTransferCacheOptions=1]="HttpTransferCacheOptions",e}(ss||{});function Hd(...e){let t=[],r=new Set,i=r.has(ss.HttpTransferCacheOptions);for(let{\u0275providers:n,\u0275kind:o}of e)r.add(o),n.length&&t.push(n);return Le([[],td(),r.has(ss.NoHttpTransferCache)||i?[]:kd({}),t])}var W="primary",Qn=Symbol("RouteTitle"),gs=class{constructor(t){this.params=t||{}}has(t){return Object.prototype.hasOwnProperty.call(this.params,t)}get(t){if(this.has(t)){let r=this.params[t];return Array.isArray(r)?r[0]:r}return null}getAll(t){if(this.has(t)){let r=this.params[t];return Array.isArray(r)?r:[r]}return[]}get keys(){return Object.keys(this.params)}};function Wi(e){return new gs(e)}function t0(e,t,r){let i=r.path.split("/");if(i.length>e.length||r.pathMatch==="full"&&(t.hasChildren()||i.length<e.length))return null;let n={};for(let o=0;o<i.length;o++){let a=i[o],s=e[o];if(a.startsWith(":"))n[a.substring(1)]=s;else if(a!==s.path)return null}return{consumed:e.slice(0,i.length),posParams:n}}function e0(e,t){if(e.length!==t.length)return!1;for(let r=0;r<e.length;++r)if(!be(e[r],t[r]))return!1;return!0}function be(e,t){let r=e?bs(e):void 0,i=t?bs(t):void 0;if(!r||!i||r.length!=i.length)return!1;let n;for(let o=0;o<r.length;o++)if(n=r[o],!Jd(e[n],t[n]))return!1;return!0}function bs(e){return[...Object.keys(e),...Object.getOwnPropertySymbols(e)]}function Jd(e,t){if(Array.isArray(e)&&Array.isArray(t)){if(e.length!==t.length)return!1;let r=[...e].sort(),i=[...t].sort();return r.every((n,o)=>i[o]===n)}else return e===t}function tu(e){return e.length>0?e[e.length-1]:null}function Ye(e){return Nr(e)?e:qr(e)?At(Promise.resolve(e)):P(e)}var i0={exact:iu,subset:nu},eu={exact:n0,subset:r0,ignored:()=>!0};function Wd(e,t,r){return i0[r.paths](e.root,t.root,r.matrixParams)&&eu[r.queryParams](e.queryParams,t.queryParams)&&!(r.fragment==="exact"&&e.fragment!==t.fragment)}function n0(e,t){return be(e,t)}function iu(e,t,r){if(!_i(e.segments,t.segments)||!ho(e.segments,t.segments,r)||e.numberOfChildren!==t.numberOfChildren)return!1;for(let i in t.children)if(!e.children[i]||!iu(e.children[i],t.children[i],r))return!1;return!0}function r0(e,t){return Object.keys(t).length<=Object.keys(e).length&&Object.keys(t).every(r=>Jd(e[r],t[r]))}function nu(e,t,r){return ru(e,t,t.segments,r)}function ru(e,t,r,i){if(e.segments.length>r.length){let n=e.segments.slice(0,r.length);return!(!_i(n,r)||t.hasChildren()||!ho(n,r,i))}else if(e.segments.length===r.length){if(!_i(e.segments,r)||!ho(e.segments,r,i))return!1;for(let n in t.children)if(!e.children[n]||!nu(e.children[n],t.children[n],i))return!1;return!0}else{let n=r.slice(0,e.segments.length),o=r.slice(e.segments.length);return!_i(e.segments,n)||!ho(e.segments,n,i)||!e.children[W]?!1:ru(e.children[W],t,o,i)}}function ho(e,t,r){return t.every((i,n)=>eu[r](e[n].parameters,i.parameters))}var $e=class{constructor(t=new it([],{}),r={},i=null){this.root=t,this.queryParams=r,this.fragment=i}get queryParamMap(){return this._queryParamMap??=Wi(this.queryParams),this._queryParamMap}toString(){return s0.serialize(this)}},it=class{constructor(t,r){this.segments=t,this.children=r,this.parent=null,Object.values(r).forEach(i=>i.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return mo(this)}},bi=class{constructor(t,r){this.path=t,this.parameters=r}get parameterMap(){return this._parameterMap??=Wi(this.parameters),this._parameterMap}toString(){return au(this)}};function o0(e,t){return _i(e,t)&&e.every((r,i)=>be(r.parameters,t[i].parameters))}function _i(e,t){return e.length!==t.length?!1:e.every((r,i)=>r.path===t[i].path)}function a0(e,t){let r=[];return Object.entries(e.children).forEach(([i,n])=>{i===W&&(r=r.concat(t(n,i)))}),Object.entries(e.children).forEach(([i,n])=>{i!==W&&(r=r.concat(t(n,i)))}),r}var Jn=(()=>{let t=class t{};t.\u0275fac=function(n){return new(n||t)},t.\u0275prov=M({token:t,factory:()=>new Un,providedIn:"root"});let e=t;return e})(),Un=class{parse(t){let r=new vs(t);return new $e(r.parseRootSegment(),r.parseQueryParams(),r.parseFragment())}serialize(t){let r=`/${Nn(t.root,!0)}`,i=d0(t.queryParams),n=typeof t.fragment=="string"?`#${l0(t.fragment)}`:"";return`${r}${i}${n}`}},s0=new Un;function mo(e){return e.segments.map(t=>au(t)).join("/")}function Nn(e,t){if(!e.hasChildren())return mo(e);if(t){let r=e.children[W]?Nn(e.children[W],!1):"",i=[];return Object.entries(e.children).forEach(([n,o])=>{n!==W&&i.push(`${n}:${Nn(o,!1)}`)}),i.length>0?`${r}(${i.join("//")})`:r}else{let r=a0(e,(i,n)=>n===W?[Nn(e.children[W],!1)]:[`${n}:${Nn(i,!1)}`]);return Object.keys(e.children).length===1&&e.children[W]!=null?`${mo(e)}/${r[0]}`:`${mo(e)}/(${r.join("//")})`}}function ou(e){return encodeURIComponent(e).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function co(e){return ou(e).replace(/%3B/gi,";")}function l0(e){return encodeURI(e)}function _s(e){return ou(e).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function fo(e){return decodeURIComponent(e)}function Gd(e){return fo(e.replace(/\+/g,"%20"))}function au(e){return`${_s(e.path)}${c0(e.parameters)}`}function c0(e){return Object.entries(e).map(([t,r])=>`;${_s(t)}=${_s(r)}`).join("")}function d0(e){let t=Object.entries(e).map(([r,i])=>Array.isArray(i)?i.map(n=>`${co(r)}=${co(n)}`).join("&"):`${co(r)}=${co(i)}`).filter(r=>r);return t.length?`?${t.join("&")}`:""}var u0=/^[^\/()?;#]+/;function hs(e){let t=e.match(u0);return t?t[0]:""}var h0=/^[^\/()?;=#]+/;function m0(e){let t=e.match(h0);return t?t[0]:""}var f0=/^[^=?&#]+/;function p0(e){let t=e.match(f0);return t?t[0]:""}var g0=/^[^&#]+/;function b0(e){let t=e.match(g0);return t?t[0]:""}var vs=class{constructor(t){this.url=t,this.remaining=t}parseRootSegment(){return this.consumeOptional("/"),this.remaining===""||this.peekStartsWith("?")||this.peekStartsWith("#")?new it([],{}):new it([],this.parseChildren())}parseQueryParams(){let t={};if(this.consumeOptional("?"))do this.parseQueryParam(t);while(this.consumeOptional("&"));return t}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(this.remaining==="")return{};this.consumeOptional("/");let t=[];for(this.peekStartsWith("(")||t.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),t.push(this.parseSegment());let r={};this.peekStartsWith("/(")&&(this.capture("/"),r=this.parseParens(!0));let i={};return this.peekStartsWith("(")&&(i=this.parseParens(!1)),(t.length>0||Object.keys(r).length>0)&&(i[W]=new it(t,r)),i}parseSegment(){let t=hs(this.remaining);if(t===""&&this.peekStartsWith(";"))throw new nt(4009,!1);return this.capture(t),new bi(fo(t),this.parseMatrixParams())}parseMatrixParams(){let t={};for(;this.consumeOptional(";");)this.parseParam(t);return t}parseParam(t){let r=m0(this.remaining);if(!r)return;this.capture(r);let i="";if(this.consumeOptional("=")){let n=hs(this.remaining);n&&(i=n,this.capture(i))}t[fo(r)]=fo(i)}parseQueryParam(t){let r=p0(this.remaining);if(!r)return;this.capture(r);let i="";if(this.consumeOptional("=")){let a=b0(this.remaining);a&&(i=a,this.capture(i))}let n=Gd(r),o=Gd(i);if(t.hasOwnProperty(n)){let a=t[n];Array.isArray(a)||(a=[a],t[n]=a),a.push(o)}else t[n]=o}parseParens(t){let r={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){let i=hs(this.remaining),n=this.remaining[i.length];if(n!=="/"&&n!==")"&&n!==";")throw new nt(4010,!1);let o;i.indexOf(":")>-1?(o=i.slice(0,i.indexOf(":")),this.capture(o),this.capture(":")):t&&(o=W);let a=this.parseChildren();r[o]=Object.keys(a).length===1?a[W]:new it([],a),this.consumeOptional("//")}return r}peekStartsWith(t){return this.remaining.startsWith(t)}consumeOptional(t){return this.peekStartsWith(t)?(this.remaining=this.remaining.substring(t.length),!0):!1}capture(t){if(!this.consumeOptional(t))throw new nt(4011,!1)}};function su(e){return e.segments.length>0?new it([],{[W]:e}):e}function lu(e){let t={};for(let[i,n]of Object.entries(e.children)){let o=lu(n);if(i===W&&o.segments.length===0&&o.hasChildren())for(let[a,s]of Object.entries(o.children))t[a]=s;else(o.segments.length>0||o.hasChildren())&&(t[i]=o)}let r=new it(e.segments,t);return _0(r)}function _0(e){if(e.numberOfChildren===1&&e.children[W]){let t=e.children[W];return new it(e.segments.concat(t.segments),t.children)}return e}function Gi(e){return e instanceof $e}function v0(e,t,r=null,i=null){let n=cu(e);return du(n,t,r,i)}function cu(e){let t;function r(o){let a={};for(let l of o.children){let c=r(l);a[l.outlet]=c}let s=new it(o.url,a);return o===e&&(t=s),s}let i=r(e.root),n=su(i);return t??n}function du(e,t,r,i){let n=e;for(;n.parent;)n=n.parent;if(t.length===0)return ms(n,n,n,r,i);let o=y0(t);if(o.toRoot())return ms(n,n,new it([],{}),r,i);let a=x0(o,n,e),s=a.processChildren?Vn(a.segmentGroup,a.index,o.commands):hu(a.segmentGroup,a.index,o.commands);return ms(n,a.segmentGroup,s,r,i)}function po(e){return typeof e=="object"&&e!=null&&!e.outlets&&!e.segmentPath}function $n(e){return typeof e=="object"&&e!=null&&e.outlets}function ms(e,t,r,i,n){let o={};i&&Object.entries(i).forEach(([l,c])=>{o[l]=Array.isArray(c)?c.map(d=>`${d}`):`${c}`});let a;e===t?a=r:a=uu(e,t,r);let s=su(lu(a));return new $e(s,o,n)}function uu(e,t,r){let i={};return Object.entries(e.children).forEach(([n,o])=>{o===t?i[n]=r:i[n]=uu(o,t,r)}),new it(e.segments,i)}var go=class{constructor(t,r,i){if(this.isAbsolute=t,this.numberOfDoubleDots=r,this.commands=i,t&&i.length>0&&po(i[0]))throw new nt(4003,!1);let n=i.find($n);if(n&&n!==tu(i))throw new nt(4004,!1)}toRoot(){return this.isAbsolute&&this.commands.length===1&&this.commands[0]=="/"}};function y0(e){if(typeof e[0]=="string"&&e.length===1&&e[0]==="/")return new go(!0,0,e);let t=0,r=!1,i=e.reduce((n,o,a)=>{if(typeof o=="object"&&o!=null){if(o.outlets){let s={};return Object.entries(o.outlets).forEach(([l,c])=>{s[l]=typeof c=="string"?c.split("/"):c}),[...n,{outlets:s}]}if(o.segmentPath)return[...n,o.segmentPath]}return typeof o!="string"?[...n,o]:a===0?(o.split("/").forEach((s,l)=>{l==0&&s==="."||(l==0&&s===""?r=!0:s===".."?t++:s!=""&&n.push(s))}),n):[...n,o]},[]);return new go(r,t,i)}var $i=class{constructor(t,r,i){this.segmentGroup=t,this.processChildren=r,this.index=i}};function x0(e,t,r){if(e.isAbsolute)return new $i(t,!0,0);if(!r)return new $i(t,!1,NaN);if(r.parent===null)return new $i(r,!0,0);let i=po(e.commands[0])?0:1,n=r.segments.length-1+i;return w0(r,n,e.numberOfDoubleDots)}function w0(e,t,r){let i=e,n=t,o=r;for(;o>n;){if(o-=n,i=i.parent,!i)throw new nt(4005,!1);n=i.segments.length}return new $i(i,!1,n-o)}function C0(e){return $n(e[0])?e[0].outlets:{[W]:e}}function hu(e,t,r){if(e??=new it([],{}),e.segments.length===0&&e.hasChildren())return Vn(e,t,r);let i=E0(e,t,r),n=r.slice(i.commandIndex);if(i.match&&i.pathIndex<e.segments.length){let o=new it(e.segments.slice(0,i.pathIndex),{});return o.children[W]=new it(e.segments.slice(i.pathIndex),e.children),Vn(o,0,n)}else return i.match&&n.length===0?new it(e.segments,{}):i.match&&!e.hasChildren()?ys(e,t,r):i.match?Vn(e,0,n):ys(e,t,r)}function Vn(e,t,r){if(r.length===0)return new it(e.segments,{});{let i=C0(r),n={};if(Object.keys(i).some(o=>o!==W)&&e.children[W]&&e.numberOfChildren===1&&e.children[W].segments.length===0){let o=Vn(e.children[W],t,r);return new it(e.segments,o.children)}return Object.entries(i).forEach(([o,a])=>{typeof a=="string"&&(a=[a]),a!==null&&(n[o]=hu(e.children[o],t,a))}),Object.entries(e.children).forEach(([o,a])=>{i[o]===void 0&&(n[o]=a)}),new it(e.segments,n)}}function E0(e,t,r){let i=0,n=t,o={match:!1,pathIndex:0,commandIndex:0};for(;n<e.segments.length;){if(i>=r.length)return o;let a=e.segments[n],s=r[i];if($n(s))break;let l=`${s}`,c=i<r.length-1?r[i+1]:null;if(n>0&&l===void 0)break;if(l&&c&&typeof c=="object"&&c.outlets===void 0){if(!qd(l,c,a))return o;i+=2}else{if(!qd(l,{},a))return o;i++}n++}return{match:!0,pathIndex:n,commandIndex:i}}function ys(e,t,r){let i=e.segments.slice(0,t),n=0;for(;n<r.length;){let o=r[n];if($n(o)){let l=I0(o.outlets);return new it(i,l)}if(n===0&&po(r[0])){let l=e.segments[t];i.push(new bi(l.path,Yd(r[0]))),n++;continue}let a=$n(o)?o.outlets[W]:`${o}`,s=n<r.length-1?r[n+1]:null;a&&s&&po(s)?(i.push(new bi(a,Yd(s))),n+=2):(i.push(new bi(a,{})),n++)}return new it(i,{})}function I0(e){let t={};return Object.entries(e).forEach(([r,i])=>{typeof i=="string"&&(i=[i]),i!==null&&(t[r]=ys(new it([],{}),0,i))}),t}function Yd(e){let t={};return Object.entries(e).forEach(([r,i])=>t[r]=`${i}`),t}function qd(e,t,r){return e==r.path&&be(t,r.parameters)}var zn="imperative",It=function(e){return e[e.NavigationStart=0]="NavigationStart",e[e.NavigationEnd=1]="NavigationEnd",e[e.NavigationCancel=2]="NavigationCancel",e[e.NavigationError=3]="NavigationError",e[e.RoutesRecognized=4]="RoutesRecognized",e[e.ResolveStart=5]="ResolveStart",e[e.ResolveEnd=6]="ResolveEnd",e[e.GuardsCheckStart=7]="GuardsCheckStart",e[e.GuardsCheckEnd=8]="GuardsCheckEnd",e[e.RouteConfigLoadStart=9]="RouteConfigLoadStart",e[e.RouteConfigLoadEnd=10]="RouteConfigLoadEnd",e[e.ChildActivationStart=11]="ChildActivationStart",e[e.ChildActivationEnd=12]="ChildActivationEnd",e[e.ActivationStart=13]="ActivationStart",e[e.ActivationEnd=14]="ActivationEnd",e[e.Scroll=15]="Scroll",e[e.NavigationSkipped=16]="NavigationSkipped",e}(It||{}),ae=class{constructor(t,r){this.id=t,this.url=r}},He=class extends ae{constructor(t,r,i="imperative",n=null){super(t,r),this.type=It.NavigationStart,this.navigationTrigger=i,this.restoredState=n}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}},_e=class extends ae{constructor(t,r,i){super(t,r),this.urlAfterRedirects=i,this.type=It.NavigationEnd}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}},oe=function(e){return e[e.Redirect=0]="Redirect",e[e.SupersededByNewNavigation=1]="SupersededByNewNavigation",e[e.NoDataFromResolver=2]="NoDataFromResolver",e[e.GuardRejected=3]="GuardRejected",e}(oe||{}),bo=function(e){return e[e.IgnoredSameUrlNavigation=0]="IgnoredSameUrlNavigation",e[e.IgnoredByUrlHandlingStrategy=1]="IgnoredByUrlHandlingStrategy",e}(bo||{}),We=class extends ae{constructor(t,r,i,n){super(t,r),this.reason=i,this.code=n,this.type=It.NavigationCancel}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}},Ge=class extends ae{constructor(t,r,i,n){super(t,r),this.reason=i,this.code=n,this.type=It.NavigationSkipped}},Hn=class extends ae{constructor(t,r,i,n){super(t,r),this.error=i,this.target=n,this.type=It.NavigationError}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}},_o=class extends ae{constructor(t,r,i,n){super(t,r),this.urlAfterRedirects=i,this.state=n,this.type=It.RoutesRecognized}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},xs=class extends ae{constructor(t,r,i,n){super(t,r),this.urlAfterRedirects=i,this.state=n,this.type=It.GuardsCheckStart}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},ws=class extends ae{constructor(t,r,i,n,o){super(t,r),this.urlAfterRedirects=i,this.state=n,this.shouldActivate=o,this.type=It.GuardsCheckEnd}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}},Cs=class extends ae{constructor(t,r,i,n){super(t,r),this.urlAfterRedirects=i,this.state=n,this.type=It.ResolveStart}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},Es=class extends ae{constructor(t,r,i,n){super(t,r),this.urlAfterRedirects=i,this.state=n,this.type=It.ResolveEnd}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},Is=class{constructor(t){this.route=t,this.type=It.RouteConfigLoadStart}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}},Ss=class{constructor(t){this.route=t,this.type=It.RouteConfigLoadEnd}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}},Ms=class{constructor(t){this.snapshot=t,this.type=It.ChildActivationStart}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},As=class{constructor(t){this.snapshot=t,this.type=It.ChildActivationEnd}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},Os=class{constructor(t){this.snapshot=t,this.type=It.ActivationStart}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},Wn=class{constructor(t){this.snapshot=t,this.type=It.ActivationEnd}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},vo=class{constructor(t,r,i){this.routerEvent=t,this.position=r,this.anchor=i,this.type=It.Scroll}toString(){let t=this.position?`${this.position[0]}, ${this.position[1]}`:null;return`Scroll(anchor: '${this.anchor}', position: '${t}')`}},Gn=class{},Yn=class{constructor(t){this.url=t}};var Ds=class{constructor(){this.outlet=null,this.route=null,this.injector=null,this.children=new tr,this.attachRef=null}},tr=(()=>{let t=class t{constructor(){this.contexts=new Map}onChildOutletCreated(i,n){let o=this.getOrCreateContext(i);o.outlet=n,this.contexts.set(i,o)}onChildOutletDestroyed(i){let n=this.getContext(i);n&&(n.outlet=null,n.attachRef=null)}onOutletDeactivated(){let i=this.contexts;return this.contexts=new Map,i}onOutletReAttached(i){this.contexts=i}getOrCreateContext(i){let n=this.getContext(i);return n||(n=new Ds,this.contexts.set(i,n)),n}getContext(i){return this.contexts.get(i)||null}};t.\u0275fac=function(n){return new(n||t)},t.\u0275prov=M({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})(),yo=class{constructor(t){this._root=t}get root(){return this._root.value}parent(t){let r=this.pathFromRoot(t);return r.length>1?r[r.length-2]:null}children(t){let r=Ts(t,this._root);return r?r.children.map(i=>i.value):[]}firstChild(t){let r=Ts(t,this._root);return r&&r.children.length>0?r.children[0].value:null}siblings(t){let r=Rs(t,this._root);return r.length<2?[]:r[r.length-2].children.map(n=>n.value).filter(n=>n!==t)}pathFromRoot(t){return Rs(t,this._root).map(r=>r.value)}};function Ts(e,t){if(e===t.value)return t;for(let r of t.children){let i=Ts(e,r);if(i)return i}return null}function Rs(e,t){if(e===t.value)return[t];for(let r of t.children){let i=Rs(e,r);if(i.length)return i.unshift(t),i}return[]}var Qt=class{constructor(t,r){this.value=t,this.children=r}toString(){return`TreeNode(${this.value})`}};function Ui(e){let t={};return e&&e.children.forEach(r=>t[r.value.outlet]=r),t}var xo=class extends yo{constructor(t,r){super(t),this.snapshot=r,Us(this,t)}toString(){return this.snapshot.toString()}};function mu(e){let t=S0(e),r=new $t([new bi("",{})]),i=new $t({}),n=new $t({}),o=new $t({}),a=new $t(""),s=new ve(r,i,o,a,n,W,e,t.root);return s.snapshot=t.root,new xo(new Qt(s,[]),t)}function S0(e){let t={},r={},i={},n="",o=new qn([],t,i,n,r,W,e,null,{});return new wo("",new Qt(o,[]))}var ve=class{constructor(t,r,i,n,o,a,s,l){this.urlSubject=t,this.paramsSubject=r,this.queryParamsSubject=i,this.fragmentSubject=n,this.dataSubject=o,this.outlet=a,this.component=s,this._futureSnapshot=l,this.title=this.dataSubject?.pipe(V(c=>c[Qn]))??P(void 0),this.url=t,this.params=r,this.queryParams=i,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(V(t=>Wi(t))),this._paramMap}get queryParamMap(){return this._queryParamMap??=this.queryParams.pipe(V(t=>Wi(t))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}};function Bs(e,t,r="emptyOnly"){let i,{routeConfig:n}=e;return t!==null&&(r==="always"||n?.path===""||!t.component&&!t.routeConfig?.loadComponent)?i={params:S(S({},t.params),e.params),data:S(S({},t.data),e.data),resolve:S(S(S(S({},e.data),t.data),n?.data),e._resolvedData)}:i={params:S({},e.params),data:S({},e.data),resolve:S(S({},e.data),e._resolvedData??{})},n&&pu(n)&&(i.resolve[Qn]=n.title),i}var qn=class{get title(){return this.data?.[Qn]}constructor(t,r,i,n,o,a,s,l,c){this.url=t,this.params=r,this.queryParams=i,this.fragment=n,this.data=o,this.outlet=a,this.component=s,this.routeConfig=l,this._resolve=c}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap??=Wi(this.params),this._paramMap}get queryParamMap(){return this._queryParamMap??=Wi(this.queryParams),this._queryParamMap}toString(){let t=this.url.map(i=>i.toString()).join("/"),r=this.routeConfig?this.routeConfig.path:"";return`Route(url:'${t}', path:'${r}')`}},wo=class extends yo{constructor(t,r){super(r),this.url=t,Us(this,r)}toString(){return fu(this._root)}};function Us(e,t){t.value._routerState=e,t.children.forEach(r=>Us(e,r))}function fu(e){let t=e.children.length>0?` { ${e.children.map(fu).join(", ")} } `:"";return`${e.value}${t}`}function fs(e){if(e.snapshot){let t=e.snapshot,r=e._futureSnapshot;e.snapshot=r,be(t.queryParams,r.queryParams)||e.queryParamsSubject.next(r.queryParams),t.fragment!==r.fragment&&e.fragmentSubject.next(r.fragment),be(t.params,r.params)||e.paramsSubject.next(r.params),e0(t.url,r.url)||e.urlSubject.next(r.url),be(t.data,r.data)||e.dataSubject.next(r.data)}else e.snapshot=e._futureSnapshot,e.dataSubject.next(e._futureSnapshot.data)}function ks(e,t){let r=be(e.params,t.params)&&o0(e.url,t.url),i=!e.parent!=!t.parent;return r&&!i&&(!e.parent||ks(e.parent,t.parent))}function pu(e){return typeof e.title=="string"||e.title===null}var $s=(()=>{let t=class t{constructor(){this.activated=null,this._activatedRoute=null,this.name=W,this.activateEvents=new Z,this.deactivateEvents=new Z,this.attachEvents=new Z,this.detachEvents=new Z,this.parentContexts=I(tr),this.location=I(ui),this.changeDetector=I(Ct),this.environmentInjector=I(si),this.inputBinder=I(So,{optional:!0}),this.supportsBindingToComponentInputs=!0}get activatedComponentRef(){return this.activated}ngOnChanges(i){if(i.name){let{firstChange:n,previousValue:o}=i.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(i){return this.parentContexts.getContext(i)?.outlet===this}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(this.parentContexts.onChildOutletCreated(this.name,this),this.activated)return;let i=this.parentContexts.getContext(this.name);i?.route&&(i.attachRef?this.attach(i.attachRef,i.route):this.activateWith(i.route,i.injector))}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new nt(4012,!1);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new nt(4012,!1);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new nt(4012,!1);this.location.detach();let i=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(i.instance),i}attach(i,n){this.activated=i,this._activatedRoute=n,this.location.insert(i.hostView),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.attachEvents.emit(i.instance)}deactivate(){if(this.activated){let i=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(i)}}activateWith(i,n){if(this.isActivated)throw new nt(4013,!1);this._activatedRoute=i;let o=this.location,s=i.snapshot.component,l=this.parentContexts.getOrCreateContext(this.name).children,c=new Fs(i,l,o.injector);this.activated=o.createComponent(s,{index:o.length,injector:c,environmentInjector:n??this.environmentInjector}),this.changeDetector.markForCheck(),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.activateEvents.emit(this.activated.instance)}};t.\u0275fac=function(n){return new(n||t)},t.\u0275dir=G({type:t,selectors:[["router-outlet"]],inputs:{name:"name"},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],standalone:!0,features:[qt]});let e=t;return e})(),Fs=class{constructor(t,r,i){this.route=t,this.childContexts=r,this.parent=i}get(t,r){return t===ve?this.route:t===tr?this.childContexts:this.parent.get(t,r)}},So=new F(""),Xd=(()=>{let t=class t{constructor(){this.outletDataSubscriptions=new Map}bindActivatedRouteToOutletComponent(i){this.unsubscribeFromRouteData(i),this.subscribeToRouteData(i)}unsubscribeFromRouteData(i){this.outletDataSubscriptions.get(i)?.unsubscribe(),this.outletDataSubscriptions.delete(i)}subscribeToRouteData(i){let{activatedRoute:n}=i,o=ki([n.queryParams,n.params,n.data]).pipe(wt(([a,s,l],c)=>(l=S(S(S({},a),s),l),c===0?P(l):Promise.resolve(l)))).subscribe(a=>{if(!i.isActivated||!i.activatedComponentRef||i.activatedRoute!==n||n.component===null){this.unsubscribeFromRouteData(i);return}let s=ed(n.component);if(!s){this.unsubscribeFromRouteData(i);return}for(let{templateName:l}of s.inputs)i.activatedComponentRef.setInput(l,a[l])});this.outletDataSubscriptions.set(i,o)}};t.\u0275fac=function(n){return new(n||t)},t.\u0275prov=M({token:t,factory:t.\u0275fac});let e=t;return e})();function M0(e,t,r){let i=Xn(e,t._root,r?r._root:void 0);return new xo(i,t)}function Xn(e,t,r){if(r&&e.shouldReuseRoute(t.value,r.value.snapshot)){let i=r.value;i._futureSnapshot=t.value;let n=A0(e,t,r);return new Qt(i,n)}else{if(e.shouldAttach(t.value)){let o=e.retrieve(t.value);if(o!==null){let a=o.route;return a.value._futureSnapshot=t.value,a.children=t.children.map(s=>Xn(e,s)),a}}let i=O0(t.value),n=t.children.map(o=>Xn(e,o));return new Qt(i,n)}}function A0(e,t,r){return t.children.map(i=>{for(let n of r.children)if(e.shouldReuseRoute(i.value,n.value.snapshot))return Xn(e,i,n);return Xn(e,i)})}function O0(e){return new ve(new $t(e.url),new $t(e.params),new $t(e.queryParams),new $t(e.fragment),new $t(e.data),e.outlet,e.component,e)}var gu="ngNavigationCancelingError";function bu(e,t){let{redirectTo:r,navigationBehaviorOptions:i}=Gi(t)?{redirectTo:t,navigationBehaviorOptions:void 0}:t,n=_u(!1,oe.Redirect);return n.url=r,n.navigationBehaviorOptions=i,n}function _u(e,t){let r=new Error(`NavigationCancelingError: ${e||""}`);return r[gu]=!0,r.cancellationCode=t,r}function D0(e){return vu(e)&&Gi(e.url)}function vu(e){return!!e&&e[gu]}var T0=(()=>{let t=class t{};t.\u0275fac=function(n){return new(n||t)},t.\u0275cmp=K({type:t,selectors:[["ng-component"]],standalone:!0,features:[Q],decls:1,vars:0,template:function(n,o){n&1&&R(0,"router-outlet")},dependencies:[$s],encapsulation:2});let e=t;return e})();function R0(e,t){return e.providers&&!e._injector&&(e._injector=Ga(e.providers,t,`Route: ${e.path}`)),e._injector??t}function Hs(e){let t=e.children&&e.children.map(Hs),r=t?lt(S({},e),{children:t}):S({},e);return!r.component&&!r.loadComponent&&(t||r.loadChildren)&&r.outlet&&r.outlet!==W&&(r.component=T0),r}function ye(e){return e.outlet||W}function k0(e,t){let r=e.filter(i=>ye(i)===t);return r.push(...e.filter(i=>ye(i)!==t)),r}function er(e){if(!e)return null;if(e.routeConfig?._injector)return e.routeConfig._injector;for(let t=e.parent;t;t=t.parent){let r=t.routeConfig;if(r?._loadedInjector)return r._loadedInjector;if(r?._injector)return r._injector}return null}var F0=(e,t,r,i)=>V(n=>(new Ps(t,n.targetRouterState,n.currentRouterState,r,i).activate(e),n)),Ps=class{constructor(t,r,i,n,o){this.routeReuseStrategy=t,this.futureState=r,this.currState=i,this.forwardEvent=n,this.inputBindingEnabled=o}activate(t){let r=this.futureState._root,i=this.currState?this.currState._root:null;this.deactivateChildRoutes(r,i,t),fs(this.futureState.root),this.activateChildRoutes(r,i,t)}deactivateChildRoutes(t,r,i){let n=Ui(r);t.children.forEach(o=>{let a=o.value.outlet;this.deactivateRoutes(o,n[a],i),delete n[a]}),Object.values(n).forEach(o=>{this.deactivateRouteAndItsChildren(o,i)})}deactivateRoutes(t,r,i){let n=t.value,o=r?r.value:null;if(n===o)if(n.component){let a=i.getContext(n.outlet);a&&this.deactivateChildRoutes(t,r,a.children)}else this.deactivateChildRoutes(t,r,i);else o&&this.deactivateRouteAndItsChildren(r,i)}deactivateRouteAndItsChildren(t,r){t.value.component&&this.routeReuseStrategy.shouldDetach(t.value.snapshot)?this.detachAndStoreRouteSubtree(t,r):this.deactivateRouteAndOutlet(t,r)}detachAndStoreRouteSubtree(t,r){let i=r.getContext(t.value.outlet),n=i&&t.value.component?i.children:r,o=Ui(t);for(let a of Object.values(o))this.deactivateRouteAndItsChildren(a,n);if(i&&i.outlet){let a=i.outlet.detach(),s=i.children.onOutletDeactivated();this.routeReuseStrategy.store(t.value.snapshot,{componentRef:a,route:t,contexts:s})}}deactivateRouteAndOutlet(t,r){let i=r.getContext(t.value.outlet),n=i&&t.value.component?i.children:r,o=Ui(t);for(let a of Object.values(o))this.deactivateRouteAndItsChildren(a,n);i&&(i.outlet&&(i.outlet.deactivate(),i.children.onOutletDeactivated()),i.attachRef=null,i.route=null)}activateChildRoutes(t,r,i){let n=Ui(r);t.children.forEach(o=>{this.activateRoutes(o,n[o.value.outlet],i),this.forwardEvent(new Wn(o.value.snapshot))}),t.children.length&&this.forwardEvent(new As(t.value.snapshot))}activateRoutes(t,r,i){let n=t.value,o=r?r.value:null;if(fs(n),n===o)if(n.component){let a=i.getOrCreateContext(n.outlet);this.activateChildRoutes(t,r,a.children)}else this.activateChildRoutes(t,r,i);else if(n.component){let a=i.getOrCreateContext(n.outlet);if(this.routeReuseStrategy.shouldAttach(n.snapshot)){let s=this.routeReuseStrategy.retrieve(n.snapshot);this.routeReuseStrategy.store(n.snapshot,null),a.children.onOutletReAttached(s.contexts),a.attachRef=s.componentRef,a.route=s.route.value,a.outlet&&a.outlet.attach(s.componentRef,s.route.value),fs(s.route.value),this.activateChildRoutes(t,null,a.children)}else{let s=er(n.snapshot);a.attachRef=null,a.route=n,a.injector=s,a.outlet&&a.outlet.activateWith(n,a.injector),this.activateChildRoutes(t,null,a.children)}}else this.activateChildRoutes(t,null,i)}},Co=class{constructor(t){this.path=t,this.route=this.path[this.path.length-1]}},Hi=class{constructor(t,r){this.component=t,this.route=r}};function P0(e,t,r){let i=e._root,n=t?t._root:null;return Ln(i,n,r,[i.value])}function N0(e){let t=e.routeConfig?e.routeConfig.canActivateChild:null;return!t||t.length===0?null:{node:e,guards:t}}function qi(e,t){let r=Symbol(),i=t.get(e,r);return i===r?typeof e=="function"&&!Oc(e)?e:t.get(e):i}function Ln(e,t,r,i,n={canDeactivateChecks:[],canActivateChecks:[]}){let o=Ui(t);return e.children.forEach(a=>{L0(a,o[a.value.outlet],r,i.concat([a.value]),n),delete o[a.value.outlet]}),Object.entries(o).forEach(([a,s])=>Bn(s,r.getContext(a),n)),n}function L0(e,t,r,i,n={canDeactivateChecks:[],canActivateChecks:[]}){let o=e.value,a=t?t.value:null,s=r?r.getContext(e.value.outlet):null;if(a&&o.routeConfig===a.routeConfig){let l=j0(a,o,o.routeConfig.runGuardsAndResolvers);l?n.canActivateChecks.push(new Co(i)):(o.data=a.data,o._resolvedData=a._resolvedData),o.component?Ln(e,t,s?s.children:null,i,n):Ln(e,t,r,i,n),l&&s&&s.outlet&&s.outlet.isActivated&&n.canDeactivateChecks.push(new Hi(s.outlet.component,a))}else a&&Bn(t,s,n),n.canActivateChecks.push(new Co(i)),o.component?Ln(e,null,s?s.children:null,i,n):Ln(e,null,r,i,n);return n}function j0(e,t,r){if(typeof r=="function")return r(e,t);switch(r){case"pathParamsChange":return!_i(e.url,t.url);case"pathParamsOrQueryParamsChange":return!_i(e.url,t.url)||!be(e.queryParams,t.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!ks(e,t)||!be(e.queryParams,t.queryParams);case"paramsChange":default:return!ks(e,t)}}function Bn(e,t,r){let i=Ui(e),n=e.value;Object.entries(i).forEach(([o,a])=>{n.component?t?Bn(a,t.children.getContext(o),r):Bn(a,null,r):Bn(a,t,r)}),n.component?t&&t.outlet&&t.outlet.isActivated?r.canDeactivateChecks.push(new Hi(t.outlet.component,n)):r.canDeactivateChecks.push(new Hi(null,n)):r.canDeactivateChecks.push(new Hi(null,n))}function ir(e){return typeof e=="function"}function V0(e){return typeof e=="boolean"}function z0(e){return e&&ir(e.canLoad)}function B0(e){return e&&ir(e.canActivate)}function U0(e){return e&&ir(e.canActivateChild)}function $0(e){return e&&ir(e.canDeactivate)}function H0(e){return e&&ir(e.canMatch)}function yu(e){return e instanceof xc||e?.name==="EmptyError"}var uo=Symbol("INITIAL_VALUE");function Yi(){return wt(e=>ki(e.map(t=>t.pipe(xt(1),ai(uo)))).pipe(V(t=>{for(let r of t)if(r!==!0){if(r===uo)return uo;if(r===!1||r instanceof $e)return r}return!0}),ft(t=>t!==uo),xt(1)))}function W0(e,t){return Gt(r=>{let{targetSnapshot:i,currentSnapshot:n,guards:{canActivateChecks:o,canDeactivateChecks:a}}=r;return a.length===0&&o.length===0?P(lt(S({},r),{guardsResult:!0})):G0(a,i,n,e).pipe(Gt(s=>s&&V0(s)?Y0(i,o,e,t):P(s)),V(s=>lt(S({},r),{guardsResult:s})))})}function G0(e,t,r,i){return At(e).pipe(Gt(n=>Q0(n.component,n.route,r,t,i)),Ne(n=>n!==!0,!0))}function Y0(e,t,r,i){return At(t).pipe(Fe(n=>Lr(X0(n.route.parent,i),q0(n.route,i),K0(e,n.path,r),Z0(e,n.route,r))),Ne(n=>n!==!0,!0))}function q0(e,t){return e!==null&&t&&t(new Os(e)),P(!0)}function X0(e,t){return e!==null&&t&&t(new Ms(e)),P(!0)}function Z0(e,t,r){let i=t.routeConfig?t.routeConfig.canActivate:null;if(!i||i.length===0)return P(!0);let n=i.map(o=>fn(()=>{let a=er(t)??r,s=qi(o,a),l=B0(s)?s.canActivate(t,e):me(a,()=>s(t,e));return Ye(l).pipe(Ne())}));return P(n).pipe(Yi())}function K0(e,t,r){let i=t[t.length-1],o=t.slice(0,t.length-1).reverse().map(a=>N0(a)).filter(a=>a!==null).map(a=>fn(()=>{let s=a.guards.map(l=>{let c=er(a.node)??r,d=qi(l,c),u=U0(d)?d.canActivateChild(i,e):me(c,()=>d(i,e));return Ye(u).pipe(Ne())});return P(s).pipe(Yi())}));return P(o).pipe(Yi())}function Q0(e,t,r,i,n){let o=t&&t.routeConfig?t.routeConfig.canDeactivate:null;if(!o||o.length===0)return P(!0);let a=o.map(s=>{let l=er(t)??n,c=qi(s,l),d=$0(c)?c.canDeactivate(e,t,r,i):me(l,()=>c(e,t,r,i));return Ye(d).pipe(Ne())});return P(a).pipe(Yi())}function J0(e,t,r,i){let n=t.canLoad;if(n===void 0||n.length===0)return P(!0);let o=n.map(a=>{let s=qi(a,e),l=z0(s)?s.canLoad(t,r):me(e,()=>s(t,r));return Ye(l)});return P(o).pipe(Yi(),xu(i))}function xu(e){return yc(at(t=>{if(Gi(t))throw bu(e,t)}),V(t=>t===!0))}function tb(e,t,r,i){let n=t.canMatch;if(!n||n.length===0)return P(!0);let o=n.map(a=>{let s=qi(a,e),l=H0(s)?s.canMatch(t,r):me(e,()=>s(t,r));return Ye(l)});return P(o).pipe(Yi(),xu(i))}var Zn=class{constructor(t){this.segmentGroup=t||null}},Eo=class extends Error{constructor(t){super(),this.urlTree=t}};function Bi(e){return ri(new Zn(e))}function eb(e){return ri(new nt(4e3,!1))}function ib(e){return ri(_u(!1,oe.GuardRejected))}var Ns=class{constructor(t,r){this.urlSerializer=t,this.urlTree=r}lineralizeSegments(t,r){let i=[],n=r.root;for(;;){if(i=i.concat(n.segments),n.numberOfChildren===0)return P(i);if(n.numberOfChildren>1||!n.children[W])return eb(t.redirectTo);n=n.children[W]}}applyRedirectCommands(t,r,i){let n=this.applyRedirectCreateUrlTree(r,this.urlSerializer.parse(r),t,i);if(r.startsWith("/"))throw new Eo(n);return n}applyRedirectCreateUrlTree(t,r,i,n){let o=this.createSegmentGroup(t,r.root,i,n);return new $e(o,this.createQueryParams(r.queryParams,this.urlTree.queryParams),r.fragment)}createQueryParams(t,r){let i={};return Object.entries(t).forEach(([n,o])=>{if(typeof o=="string"&&o.startsWith(":")){let s=o.substring(1);i[n]=r[s]}else i[n]=o}),i}createSegmentGroup(t,r,i,n){let o=this.createSegments(t,r.segments,i,n),a={};return Object.entries(r.children).forEach(([s,l])=>{a[s]=this.createSegmentGroup(t,l,i,n)}),new it(o,a)}createSegments(t,r,i,n){return r.map(o=>o.path.startsWith(":")?this.findPosParam(t,o,n):this.findOrReturn(o,i))}findPosParam(t,r,i){let n=i[r.path.substring(1)];if(!n)throw new nt(4001,!1);return n}findOrReturn(t,r){let i=0;for(let n of r){if(n.path===t.path)return r.splice(i),n;i++}return t}},Ls={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function nb(e,t,r,i,n){let o=Ws(e,t,r);return o.matched?(i=R0(t,i),tb(i,t,r,n).pipe(V(a=>a===!0?o:S({},Ls)))):P(o)}function Ws(e,t,r){if(t.path==="**")return rb(r);if(t.path==="")return t.pathMatch==="full"&&(e.hasChildren()||r.length>0)?S({},Ls):{matched:!0,consumedSegments:[],remainingSegments:r,parameters:{},positionalParamSegments:{}};let n=(t.matcher||t0)(r,e,t);if(!n)return S({},Ls);let o={};Object.entries(n.posParams??{}).forEach(([s,l])=>{o[s]=l.path});let a=n.consumed.length>0?S(S({},o),n.consumed[n.consumed.length-1].parameters):o;return{matched:!0,consumedSegments:n.consumed,remainingSegments:r.slice(n.consumed.length),parameters:a,positionalParamSegments:n.posParams??{}}}function rb(e){return{matched:!0,parameters:e.length>0?tu(e).parameters:{},consumedSegments:e,remainingSegments:[],positionalParamSegments:{}}}function Zd(e,t,r,i){return r.length>0&&sb(e,r,i)?{segmentGroup:new it(t,ab(i,new it(r,e.children))),slicedSegments:[]}:r.length===0&&lb(e,r,i)?{segmentGroup:new it(e.segments,ob(e,r,i,e.children)),slicedSegments:r}:{segmentGroup:new it(e.segments,e.children),slicedSegments:r}}function ob(e,t,r,i){let n={};for(let o of r)if(Mo(e,t,o)&&!i[ye(o)]){let a=new it([],{});n[ye(o)]=a}return S(S({},i),n)}function ab(e,t){let r={};r[W]=t;for(let i of e)if(i.path===""&&ye(i)!==W){let n=new it([],{});r[ye(i)]=n}return r}function sb(e,t,r){return r.some(i=>Mo(e,t,i)&&ye(i)!==W)}function lb(e,t,r){return r.some(i=>Mo(e,t,i))}function Mo(e,t,r){return(e.hasChildren()||t.length>0)&&r.pathMatch==="full"?!1:r.path===""}function cb(e,t,r,i){return ye(e)!==i&&(i===W||!Mo(t,r,e))?!1:Ws(t,e,r).matched}function db(e,t,r){return t.length===0&&!e.children[r]}var js=class{};function ub(e,t,r,i,n,o,a="emptyOnly"){return new Vs(e,t,r,i,n,a,o).recognize()}var hb=31,Vs=class{constructor(t,r,i,n,o,a,s){this.injector=t,this.configLoader=r,this.rootComponentType=i,this.config=n,this.urlTree=o,this.paramsInheritanceStrategy=a,this.urlSerializer=s,this.applyRedirects=new Ns(this.urlSerializer,this.urlTree),this.absoluteRedirectCount=0,this.allowRedirects=!0}noMatchError(t){return new nt(4002,`'${t.segmentGroup}'`)}recognize(){let t=Zd(this.urlTree.root,[],[],this.config).segmentGroup;return this.match(t).pipe(V(r=>{let i=new qn([],Object.freeze({}),Object.freeze(S({},this.urlTree.queryParams)),this.urlTree.fragment,{},W,this.rootComponentType,null,{}),n=new Qt(i,r),o=new wo("",n),a=v0(i,[],this.urlTree.queryParams,this.urlTree.fragment);return a.queryParams=this.urlTree.queryParams,o.url=this.urlSerializer.serialize(a),this.inheritParamsAndData(o._root,null),{state:o,tree:a}}))}match(t){return this.processSegmentGroup(this.injector,this.config,t,W).pipe(ke(i=>{if(i instanceof Eo)return this.urlTree=i.urlTree,this.match(i.urlTree.root);throw i instanceof Zn?this.noMatchError(i):i}))}inheritParamsAndData(t,r){let i=t.value,n=Bs(i,r,this.paramsInheritanceStrategy);i.params=Object.freeze(n.params),i.data=Object.freeze(n.data),t.children.forEach(o=>this.inheritParamsAndData(o,i))}processSegmentGroup(t,r,i,n){return i.segments.length===0&&i.hasChildren()?this.processChildren(t,r,i):this.processSegment(t,r,i,i.segments,n,!0).pipe(V(o=>o instanceof Qt?[o]:[]))}processChildren(t,r,i){let n=[];for(let o of Object.keys(i.children))o==="primary"?n.unshift(o):n.push(o);return At(n).pipe(Fe(o=>{let a=i.children[o],s=k0(r,o);return this.processSegmentGroup(t,s,a,o)}),Ic((o,a)=>(o.push(...a),o)),ja(null),Ec(),Gt(o=>{if(o===null)return Bi(i);let a=wu(o);return mb(a),P(a)}))}processSegment(t,r,i,n,o,a){return At(r).pipe(Fe(s=>this.processSegmentAgainstRoute(s._injector??t,r,s,i,n,o,a).pipe(ke(l=>{if(l instanceof Zn)return P(null);throw l}))),Ne(s=>!!s),ke(s=>{if(yu(s))return db(i,n,o)?P(new js):Bi(i);throw s}))}processSegmentAgainstRoute(t,r,i,n,o,a,s){return cb(i,n,o,a)?i.redirectTo===void 0?this.matchSegmentAgainstRoute(t,n,i,o,a):this.allowRedirects&&s?this.expandSegmentAgainstRouteUsingRedirect(t,n,r,i,o,a):Bi(n):Bi(n)}expandSegmentAgainstRouteUsingRedirect(t,r,i,n,o,a){let{matched:s,consumedSegments:l,positionalParamSegments:c,remainingSegments:d}=Ws(r,n,o);if(!s)return Bi(r);n.redirectTo.startsWith("/")&&(this.absoluteRedirectCount++,this.absoluteRedirectCount>hb&&(this.allowRedirects=!1));let u=this.applyRedirects.applyRedirectCommands(l,n.redirectTo,c);return this.applyRedirects.lineralizeSegments(n,u).pipe(Gt(f=>this.processSegment(t,i,r,f.concat(d),a,!1)))}matchSegmentAgainstRoute(t,r,i,n,o){let a=nb(r,i,n,t,this.urlSerializer);return i.path==="**"&&(r.children={}),a.pipe(wt(s=>s.matched?(t=i._injector??t,this.getChildConfig(t,i,n).pipe(wt(({routes:l})=>{let c=i._loadedInjector??t,{consumedSegments:d,remainingSegments:u,parameters:f}=s,p=new qn(d,f,Object.freeze(S({},this.urlTree.queryParams)),this.urlTree.fragment,pb(i),ye(i),i.component??i._loadedComponent??null,i,gb(i)),{segmentGroup:x,slicedSegments:y}=Zd(r,d,u,l);if(y.length===0&&x.hasChildren())return this.processChildren(c,l,x).pipe(V(w=>w===null?null:new Qt(p,w)));if(l.length===0&&y.length===0)return P(new Qt(p,[]));let _=ye(i)===o;return this.processSegment(c,l,x,y,_?W:o,!0).pipe(V(w=>new Qt(p,w instanceof Qt?[w]:[])))}))):Bi(r)))}getChildConfig(t,r,i){return r.children?P({routes:r.children,injector:t}):r.loadChildren?r._loadedRoutes!==void 0?P({routes:r._loadedRoutes,injector:r._loadedInjector}):J0(t,r,i,this.urlSerializer).pipe(Gt(n=>n?this.configLoader.loadChildren(t,r).pipe(at(o=>{r._loadedRoutes=o.routes,r._loadedInjector=o.injector})):ib(r))):P({routes:[],injector:t})}};function mb(e){e.sort((t,r)=>t.value.outlet===W?-1:r.value.outlet===W?1:t.value.outlet.localeCompare(r.value.outlet))}function fb(e){let t=e.value.routeConfig;return t&&t.path===""}function wu(e){let t=[],r=new Set;for(let i of e){if(!fb(i)){t.push(i);continue}let n=t.find(o=>i.value.routeConfig===o.value.routeConfig);n!==void 0?(n.children.push(...i.children),r.add(n)):t.push(i)}for(let i of r){let n=wu(i.children);t.push(new Qt(i.value,n))}return t.filter(i=>!r.has(i))}function pb(e){return e.data||{}}function gb(e){return e.resolve||{}}function bb(e,t,r,i,n,o){return Gt(a=>ub(e,t,r,i,a.extractedUrl,n,o).pipe(V(({state:s,tree:l})=>lt(S({},a),{targetSnapshot:s,urlAfterRedirects:l}))))}function _b(e,t){return Gt(r=>{let{targetSnapshot:i,guards:{canActivateChecks:n}}=r;if(!n.length)return P(r);let o=new Set(n.map(l=>l.route)),a=new Set;for(let l of o)if(!a.has(l))for(let c of Cu(l))a.add(c);let s=0;return At(a).pipe(Fe(l=>o.has(l)?vb(l,i,e,t):(l.data=Bs(l,l.parent,e).resolve,P(void 0))),at(()=>s++),za(1),Gt(l=>s===a.size?P(r):Ce))})}function Cu(e){let t=e.children.map(r=>Cu(r)).flat();return[e,...t]}function vb(e,t,r,i){let n=e.routeConfig,o=e._resolve;return n?.title!==void 0&&!pu(n)&&(o[Qn]=n.title),yb(o,e,t,i).pipe(V(a=>(e._resolvedData=a,e.data=Bs(e,e.parent,r).resolve,null)))}function yb(e,t,r,i){let n=bs(e);if(n.length===0)return P({});let o={};return At(n).pipe(Gt(a=>xb(e[a],t,r,i).pipe(Ne(),at(s=>{o[a]=s}))),za(1),wc(o),ke(a=>yu(a)?Ce:ri(a)))}function xb(e,t,r,i){let n=er(t)??i,o=qi(e,n),a=o.resolve?o.resolve(t,r):me(n,()=>o(t,r));return Ye(a)}function ps(e){return wt(t=>{let r=e(t);return r?At(r).pipe(V(()=>t)):P(t)})}var Eu=(()=>{let t=class t{buildTitle(i){let n,o=i.root;for(;o!==void 0;)n=this.getResolvedTitleForRoute(o)??n,o=o.children.find(a=>a.outlet===W);return n}getResolvedTitleForRoute(i){return i.data[Qn]}};t.\u0275fac=function(n){return new(n||t)},t.\u0275prov=M({token:t,factory:()=>I(wb),providedIn:"root"});let e=t;return e})(),wb=(()=>{let t=class t extends Eu{constructor(i){super(),this.title=i}updateTitle(i){let n=this.buildTitle(i);n!==void 0&&this.title.setTitle(n)}};t.\u0275fac=function(n){return new(n||t)(C($d))},t.\u0275prov=M({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})(),nr=new F("",{providedIn:"root",factory:()=>({})}),Kn=new F(""),Gs=(()=>{let t=class t{constructor(){this.componentLoaders=new WeakMap,this.childrenLoaders=new WeakMap,this.compiler=I(Xr)}loadComponent(i){if(this.componentLoaders.get(i))return this.componentLoaders.get(i);if(i._loadedComponent)return P(i._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(i);let n=Ye(i.loadComponent()).pipe(V(Iu),at(a=>{this.onLoadEndListener&&this.onLoadEndListener(i),i._loadedComponent=a}),Pe(()=>{this.componentLoaders.delete(i)})),o=new Pr(n,()=>new H).pipe(Pa());return this.componentLoaders.set(i,o),o}loadChildren(i,n){if(this.childrenLoaders.get(n))return this.childrenLoaders.get(n);if(n._loadedRoutes)return P({routes:n._loadedRoutes,injector:n._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(n);let a=Cb(n,this.compiler,i,this.onLoadEndListener).pipe(Pe(()=>{this.childrenLoaders.delete(n)})),s=new Pr(a,()=>new H).pipe(Pa());return this.childrenLoaders.set(n,s),s}};t.\u0275fac=function(n){return new(n||t)},t.\u0275prov=M({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})();function Cb(e,t,r,i){return Ye(e.loadChildren()).pipe(V(Iu),Gt(n=>n instanceof Wc||Array.isArray(n)?P(n):At(t.compileModuleAsync(n))),V(n=>{i&&i(e);let o,a,s=!1;return Array.isArray(n)?(a=n,s=!0):(o=n.create(r).injector,a=o.get(Kn,[],{optional:!0,self:!0}).flat()),{routes:a.map(Hs),injector:o}}))}function Eb(e){return e&&typeof e=="object"&&"default"in e}function Iu(e){return Eb(e)?e.default:e}var Ys=(()=>{let t=class t{};t.\u0275fac=function(n){return new(n||t)},t.\u0275prov=M({token:t,factory:()=>I(Ib),providedIn:"root"});let e=t;return e})(),Ib=(()=>{let t=class t{shouldProcessUrl(i){return!0}extract(i){return i}merge(i,n){return i}};t.\u0275fac=function(n){return new(n||t)},t.\u0275prov=M({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})(),Su=new F(""),Mu=new F("");function Sb(e,t,r){let i=e.get(Mu),n=e.get(j);return e.get(N).runOutsideAngular(()=>{if(!n.startViewTransition||i.skipNextTransition)return i.skipNextTransition=!1,Promise.resolve();let o,a=new Promise(c=>{o=c}),s=n.startViewTransition(()=>(o(),Mb(e))),{onViewTransitionCreated:l}=i;return l&&me(e,()=>l({transition:s,from:t,to:r})),a})}function Mb(e){return new Promise(t=>{Hc(t,{injector:e})})}var qs=(()=>{let t=class t{get hasRequestedNavigation(){return this.navigationId!==0}constructor(){this.currentNavigation=null,this.currentTransition=null,this.lastSuccessfulNavigation=null,this.events=new H,this.transitionAbortSubject=new H,this.configLoader=I(Gs),this.environmentInjector=I(si),this.urlSerializer=I(Jn),this.rootContexts=I(tr),this.location=I(pi),this.inputBindingEnabled=I(So,{optional:!0})!==null,this.titleStrategy=I(Eu),this.options=I(nr,{optional:!0})||{},this.paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly",this.urlHandlingStrategy=I(Ys),this.createViewTransition=I(Su,{optional:!0}),this.navigationId=0,this.afterPreactivation=()=>P(void 0),this.rootComponentType=null;let i=o=>this.events.next(new Is(o)),n=o=>this.events.next(new Ss(o));this.configLoader.onLoadEndListener=n,this.configLoader.onLoadStartListener=i}complete(){this.transitions?.complete()}handleNavigationRequest(i){let n=++this.navigationId;this.transitions?.next(lt(S(S({},this.transitions.value),i),{id:n}))}setupNavigations(i,n,o){return this.transitions=new $t({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:zn,restoredState:null,currentSnapshot:o.snapshot,targetSnapshot:null,currentRouterState:o,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.transitions.pipe(ft(a=>a.id!==0),V(a=>lt(S({},a),{extractedUrl:this.urlHandlingStrategy.extract(a.rawUrl)})),wt(a=>{this.currentTransition=a;let s=!1,l=!1;return P(a).pipe(at(c=>{this.currentNavigation={id:c.id,initialUrl:c.rawUrl,extractedUrl:c.extractedUrl,trigger:c.source,extras:c.extras,previousNavigation:this.lastSuccessfulNavigation?lt(S({},this.lastSuccessfulNavigation),{previousNavigation:null}):null}}),wt(c=>{let d=!i.navigated||this.isUpdatingInternalState()||this.isUpdatedBrowserUrl(),u=c.extras.onSameUrlNavigation??i.onSameUrlNavigation;if(!d&&u!=="reload"){let f="";return this.events.next(new Ge(c.id,this.urlSerializer.serialize(c.rawUrl),f,bo.IgnoredSameUrlNavigation)),c.resolve(null),Ce}if(this.urlHandlingStrategy.shouldProcessUrl(c.rawUrl))return P(c).pipe(wt(f=>{let p=this.transitions?.getValue();return this.events.next(new He(f.id,this.urlSerializer.serialize(f.extractedUrl),f.source,f.restoredState)),p!==this.transitions?.getValue()?Ce:Promise.resolve(f)}),bb(this.environmentInjector,this.configLoader,this.rootComponentType,i.config,this.urlSerializer,this.paramsInheritanceStrategy),at(f=>{a.targetSnapshot=f.targetSnapshot,a.urlAfterRedirects=f.urlAfterRedirects,this.currentNavigation=lt(S({},this.currentNavigation),{finalUrl:f.urlAfterRedirects});let p=new _o(f.id,this.urlSerializer.serialize(f.extractedUrl),this.urlSerializer.serialize(f.urlAfterRedirects),f.targetSnapshot);this.events.next(p)}));if(d&&this.urlHandlingStrategy.shouldProcessUrl(c.currentRawUrl)){let{id:f,extractedUrl:p,source:x,restoredState:y,extras:_}=c,w=new He(f,this.urlSerializer.serialize(p),x,y);this.events.next(w);let A=mu(this.rootComponentType).snapshot;return this.currentTransition=a=lt(S({},c),{targetSnapshot:A,urlAfterRedirects:p,extras:lt(S({},_),{skipLocationChange:!1,replaceUrl:!1})}),this.currentNavigation.finalUrl=p,P(a)}else{let f="";return this.events.next(new Ge(c.id,this.urlSerializer.serialize(c.extractedUrl),f,bo.IgnoredByUrlHandlingStrategy)),c.resolve(null),Ce}}),at(c=>{let d=new xs(c.id,this.urlSerializer.serialize(c.extractedUrl),this.urlSerializer.serialize(c.urlAfterRedirects),c.targetSnapshot);this.events.next(d)}),V(c=>(this.currentTransition=a=lt(S({},c),{guards:P0(c.targetSnapshot,c.currentSnapshot,this.rootContexts)}),a)),W0(this.environmentInjector,c=>this.events.next(c)),at(c=>{if(a.guardsResult=c.guardsResult,Gi(c.guardsResult))throw bu(this.urlSerializer,c.guardsResult);let d=new ws(c.id,this.urlSerializer.serialize(c.extractedUrl),this.urlSerializer.serialize(c.urlAfterRedirects),c.targetSnapshot,!!c.guardsResult);this.events.next(d)}),ft(c=>c.guardsResult?!0:(this.cancelNavigationTransition(c,"",oe.GuardRejected),!1)),ps(c=>{if(c.guards.canActivateChecks.length)return P(c).pipe(at(d=>{let u=new Cs(d.id,this.urlSerializer.serialize(d.extractedUrl),this.urlSerializer.serialize(d.urlAfterRedirects),d.targetSnapshot);this.events.next(u)}),wt(d=>{let u=!1;return P(d).pipe(_b(this.paramsInheritanceStrategy,this.environmentInjector),at({next:()=>u=!0,complete:()=>{u||this.cancelNavigationTransition(d,"",oe.NoDataFromResolver)}}))}),at(d=>{let u=new Es(d.id,this.urlSerializer.serialize(d.extractedUrl),this.urlSerializer.serialize(d.urlAfterRedirects),d.targetSnapshot);this.events.next(u)}))}),ps(c=>{let d=u=>{let f=[];u.routeConfig?.loadComponent&&!u.routeConfig._loadedComponent&&f.push(this.configLoader.loadComponent(u.routeConfig).pipe(at(p=>{u.component=p}),V(()=>{})));for(let p of u.children)f.push(...d(p));return f};return ki(d(c.targetSnapshot.root)).pipe(ja(null),xt(1))}),ps(()=>this.afterPreactivation()),wt(()=>{let{currentSnapshot:c,targetSnapshot:d}=a,u=this.createViewTransition?.(this.environmentInjector,c.root,d.root);return u?At(u).pipe(V(()=>a)):P(a)}),V(c=>{let d=M0(i.routeReuseStrategy,c.targetSnapshot,c.currentRouterState);return this.currentTransition=a=lt(S({},c),{targetRouterState:d}),this.currentNavigation.targetRouterState=d,a}),at(()=>{this.events.next(new Gn)}),F0(this.rootContexts,i.routeReuseStrategy,c=>this.events.next(c),this.inputBindingEnabled),xt(1),at({next:c=>{s=!0,this.lastSuccessfulNavigation=this.currentNavigation,this.events.next(new _e(c.id,this.urlSerializer.serialize(c.extractedUrl),this.urlSerializer.serialize(c.urlAfterRedirects))),this.titleStrategy?.updateTitle(c.targetRouterState.snapshot),c.resolve(!0)},complete:()=>{s=!0}}),Pt(this.transitionAbortSubject.pipe(at(c=>{throw c}))),Pe(()=>{!s&&!l&&this.cancelNavigationTransition(a,"",oe.SupersededByNewNavigation),this.currentNavigation?.id===a.id&&(this.currentNavigation=null)}),ke(c=>{if(l=!0,vu(c))this.events.next(new We(a.id,this.urlSerializer.serialize(a.extractedUrl),c.message,c.cancellationCode)),D0(c)?this.events.next(new Yn(c.url)):a.resolve(!1);else{this.events.next(new Hn(a.id,this.urlSerializer.serialize(a.extractedUrl),c,a.targetSnapshot??void 0));try{a.resolve(i.errorHandler(c))}catch(d){this.options.resolveNavigationPromiseOnError?a.resolve(!1):a.reject(d)}}return Ce}))}))}cancelNavigationTransition(i,n,o){let a=new We(i.id,this.urlSerializer.serialize(i.extractedUrl),n,o);this.events.next(a),i.resolve(!1)}isUpdatingInternalState(){return this.currentTransition?.extractedUrl.toString()!==this.currentTransition?.currentUrlTree.toString()}isUpdatedBrowserUrl(){return this.urlHandlingStrategy.extract(this.urlSerializer.parse(this.location.path(!0))).toString()!==this.currentTransition?.extractedUrl.toString()&&!this.currentTransition?.extras.skipLocationChange}};t.\u0275fac=function(n){return new(n||t)},t.\u0275prov=M({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})();function Ab(e){return e!==zn}var Ob=(()=>{let t=class t{};t.\u0275fac=function(n){return new(n||t)},t.\u0275prov=M({token:t,factory:()=>I(Db),providedIn:"root"});let e=t;return e})(),zs=class{shouldDetach(t){return!1}store(t,r){}shouldAttach(t){return!1}retrieve(t){return null}shouldReuseRoute(t,r){return t.routeConfig===r.routeConfig}},Db=(()=>{let t=class t extends zs{};t.\u0275fac=(()=>{let i;return function(o){return(i||(i=re(t)))(o||t)}})(),t.\u0275prov=M({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})(),Au=(()=>{let t=class t{};t.\u0275fac=function(n){return new(n||t)},t.\u0275prov=M({token:t,factory:()=>I(Tb),providedIn:"root"});let e=t;return e})(),Tb=(()=>{let t=class t extends Au{constructor(){super(...arguments),this.location=I(pi),this.urlSerializer=I(Jn),this.options=I(nr,{optional:!0})||{},this.canceledNavigationResolution=this.options.canceledNavigationResolution||"replace",this.urlHandlingStrategy=I(Ys),this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.currentUrlTree=new $e,this.rawUrlTree=this.currentUrlTree,this.currentPageId=0,this.lastSuccessfulId=-1,this.routerState=mu(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(i){return this.location.subscribe(n=>{n.type==="popstate"&&i(n.url,n.state)})}handleRouterEvent(i,n){if(i instanceof He)this.stateMemento=this.createStateMemento();else if(i instanceof Ge)this.rawUrlTree=n.initialUrl;else if(i instanceof _o){if(this.urlUpdateStrategy==="eager"&&!n.extras.skipLocationChange){let o=this.urlHandlingStrategy.merge(n.finalUrl,n.initialUrl);this.setBrowserUrl(o,n)}}else i instanceof Gn?(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))):i instanceof We&&(i.code===oe.GuardRejected||i.code===oe.NoDataFromResolver)?this.restoreHistory(n):i instanceof Hn?this.restoreHistory(n,!0):i instanceof _e&&(this.lastSuccessfulId=i.id,this.currentPageId=this.browserPageId)}setBrowserUrl(i,n){let o=this.urlSerializer.serialize(i);if(this.location.isCurrentPathEqualTo(o)||n.extras.replaceUrl){let a=this.browserPageId,s=S(S({},n.extras.state),this.generateNgRouterState(n.id,a));this.location.replaceState(o,"",s)}else{let a=S(S({},n.extras.state),this.generateNgRouterState(n.id,this.browserPageId+1));this.location.go(o,"",a)}}restoreHistory(i,n=!1){if(this.canceledNavigationResolution==="computed"){let o=this.browserPageId,a=this.currentPageId-o;a!==0?this.location.historyGo(a):this.currentUrlTree===i.finalUrl&&a===0&&(this.resetState(i),this.resetUrlToCurrentUrlTree())}else this.canceledNavigationResolution==="replace"&&(n&&this.resetState(i),this.resetUrlToCurrentUrlTree())}resetState(i){this.routerState=this.stateMemento.routerState,this.currentUrlTree=this.stateMemento.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,i.finalUrl??this.rawUrlTree)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}generateNgRouterState(i,n){return this.canceledNavigationResolution==="computed"?{navigationId:i,\u0275routerPageId:n}:{navigationId:i}}};t.\u0275fac=(()=>{let i;return function(o){return(i||(i=re(t)))(o||t)}})(),t.\u0275prov=M({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})(),jn=function(e){return e[e.COMPLETE=0]="COMPLETE",e[e.FAILED=1]="FAILED",e[e.REDIRECTING=2]="REDIRECTING",e}(jn||{});function Ou(e,t){e.events.pipe(ft(r=>r instanceof _e||r instanceof We||r instanceof Hn||r instanceof Ge),V(r=>r instanceof _e||r instanceof Ge?jn.COMPLETE:(r instanceof We?r.code===oe.Redirect||r.code===oe.SupersededByNewNavigation:!1)?jn.REDIRECTING:jn.FAILED),ft(r=>r!==jn.REDIRECTING),xt(1)).subscribe(()=>{t()})}function Rb(e){throw e}var kb={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},Fb={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"},Vt=(()=>{let t=class t{get currentUrlTree(){return this.stateManager.getCurrentUrlTree()}get rawUrlTree(){return this.stateManager.getRawUrlTree()}get events(){return this._events}get routerState(){return this.stateManager.getRouterState()}constructor(){this.disposed=!1,this.isNgZoneEnabled=!1,this.console=I(Yr),this.stateManager=I(Au),this.options=I(nr,{optional:!0})||{},this.pendingTasks=I(Wr),this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.navigationTransitions=I(qs),this.urlSerializer=I(Jn),this.location=I(pi),this.urlHandlingStrategy=I(Ys),this._events=new H,this.errorHandler=this.options.errorHandler||Rb,this.navigated=!1,this.routeReuseStrategy=I(Ob),this.onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore",this.config=I(Kn,{optional:!0})?.flat()??[],this.componentInputBindingEnabled=!!I(So,{optional:!0}),this.eventsSubscription=new Ft,this.isNgZoneEnabled=I(N)instanceof N&&N.isInAngularZone(),this.resetConfig(this.config),this.navigationTransitions.setupNavigations(this,this.currentUrlTree,this.routerState).subscribe({error:i=>{this.console.warn(i)}}),this.subscribeToNavigationEvents()}subscribeToNavigationEvents(){let i=this.navigationTransitions.events.subscribe(n=>{try{let o=this.navigationTransitions.currentTransition,a=this.navigationTransitions.currentNavigation;if(o!==null&&a!==null){if(this.stateManager.handleRouterEvent(n,a),n instanceof We&&n.code!==oe.Redirect&&n.code!==oe.SupersededByNewNavigation)this.navigated=!0;else if(n instanceof _e)this.navigated=!0;else if(n instanceof Yn){let s=this.urlHandlingStrategy.merge(n.url,o.currentRawUrl),l={info:o.extras.info,skipLocationChange:o.extras.skipLocationChange,replaceUrl:this.urlUpdateStrategy==="eager"||Ab(o.source)};this.scheduleNavigation(s,zn,null,l,{resolve:o.resolve,reject:o.reject,promise:o.promise})}}Nb(n)&&this._events.next(n)}catch(o){this.navigationTransitions.transitionAbortSubject.next(o)}});this.eventsSubscription.add(i)}resetRootComponentType(i){this.routerState.root.component=i,this.navigationTransitions.rootComponentType=i}initialNavigation(){this.setUpLocationChangeListener(),this.navigationTransitions.hasRequestedNavigation||this.navigateToSyncWithBrowser(this.location.path(!0),zn,this.stateManager.restoredState())}setUpLocationChangeListener(){this.nonRouterCurrentEntryChangeSubscription??=this.stateManager.registerNonRouterCurrentEntryChangeListener((i,n)=>{setTimeout(()=>{this.navigateToSyncWithBrowser(i,"popstate",n)},0)})}navigateToSyncWithBrowser(i,n,o){let a={replaceUrl:!0},s=o?.navigationId?o:null;if(o){let c=S({},o);delete c.navigationId,delete c.\u0275routerPageId,Object.keys(c).length!==0&&(a.state=c)}let l=this.parseUrl(i);this.scheduleNavigation(l,n,s,a)}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.navigationTransitions.currentNavigation}get lastSuccessfulNavigation(){return this.navigationTransitions.lastSuccessfulNavigation}resetConfig(i){this.config=i.map(Hs),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(i,n={}){let{relativeTo:o,queryParams:a,fragment:s,queryParamsHandling:l,preserveFragment:c}=n,d=c?this.currentUrlTree.fragment:s,u=null;switch(l){case"merge":u=S(S({},this.currentUrlTree.queryParams),a);break;case"preserve":u=this.currentUrlTree.queryParams;break;default:u=a||null}u!==null&&(u=this.removeEmptyProps(u));let f;try{let p=o?o.snapshot:this.routerState.snapshot.root;f=cu(p)}catch{(typeof i[0]!="string"||!i[0].startsWith("/"))&&(i=[]),f=this.currentUrlTree.root}return du(f,i,u,d??null)}navigateByUrl(i,n={skipLocationChange:!1}){let o=Gi(i)?i:this.parseUrl(i),a=this.urlHandlingStrategy.merge(o,this.rawUrlTree);return this.scheduleNavigation(a,zn,null,n)}navigate(i,n={skipLocationChange:!1}){return Pb(i),this.navigateByUrl(this.createUrlTree(i,n),n)}serializeUrl(i){return this.urlSerializer.serialize(i)}parseUrl(i){try{return this.urlSerializer.parse(i)}catch{return this.urlSerializer.parse("/")}}isActive(i,n){let o;if(n===!0?o=S({},kb):n===!1?o=S({},Fb):o=n,Gi(i))return Wd(this.currentUrlTree,i,o);let a=this.parseUrl(i);return Wd(this.currentUrlTree,a,o)}removeEmptyProps(i){return Object.entries(i).reduce((n,[o,a])=>(a!=null&&(n[o]=a),n),{})}scheduleNavigation(i,n,o,a,s){if(this.disposed)return Promise.resolve(!1);let l,c,d;s?(l=s.resolve,c=s.reject,d=s.promise):d=new Promise((f,p)=>{l=f,c=p});let u=this.pendingTasks.add();return Ou(this,()=>{queueMicrotask(()=>this.pendingTasks.remove(u))}),this.navigationTransitions.handleNavigationRequest({source:n,restoredState:o,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,rawUrl:i,extras:a,resolve:l,reject:c,promise:d,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),d.catch(f=>Promise.reject(f))}};t.\u0275fac=function(n){return new(n||t)},t.\u0275prov=M({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})();function Pb(e){for(let t=0;t<e.length;t++)if(e[t]==null)throw new nt(4008,!1)}function Nb(e){return!(e instanceof Gn)&&!(e instanceof Yn)}var Xi=(()=>{let t=class t{constructor(i,n,o,a,s,l){this.router=i,this.route=n,this.tabIndexAttribute=o,this.renderer=a,this.el=s,this.locationStrategy=l,this.href=null,this.commands=null,this.onChanges=new H,this.preserveFragment=!1,this.skipLocationChange=!1,this.replaceUrl=!1;let c=s.nativeElement.tagName?.toLowerCase();this.isAnchorElement=c==="a"||c==="area",this.isAnchorElement?this.subscription=i.events.subscribe(d=>{d instanceof _e&&this.updateHref()}):this.setTabIndexIfNotOnNativeEl("0")}setTabIndexIfNotOnNativeEl(i){this.tabIndexAttribute!=null||this.isAnchorElement||this.applyAttributeValue("tabindex",i)}ngOnChanges(i){this.isAnchorElement&&this.updateHref(),this.onChanges.next(this)}set routerLink(i){i!=null?(this.commands=Array.isArray(i)?i:[i],this.setTabIndexIfNotOnNativeEl("0")):(this.commands=null,this.setTabIndexIfNotOnNativeEl(null))}onClick(i,n,o,a,s){let l=this.urlTree;if(l===null||this.isAnchorElement&&(i!==0||n||o||a||s||typeof this.target=="string"&&this.target!="_self"))return!0;let c={skipLocationChange:this.skipLocationChange,replaceUrl:this.replaceUrl,state:this.state,info:this.info};return this.router.navigateByUrl(l,c),!this.isAnchorElement}ngOnDestroy(){this.subscription?.unsubscribe()}updateHref(){let i=this.urlTree;this.href=i!==null&&this.locationStrategy?this.locationStrategy?.prepareExternalUrl(this.router.serializeUrl(i)):null;let n=this.href===null?null:zc(this.href,this.el.nativeElement.tagName.toLowerCase(),"href");this.applyAttributeValue("href",n)}applyAttributeValue(i,n){let o=this.renderer,a=this.el.nativeElement;n!==null?o.setAttribute(a,i,n):o.removeAttribute(a,i)}get urlTree(){return this.commands===null?null:this.router.createUrlTree(this.commands,{relativeTo:this.relativeTo!==void 0?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:this.preserveFragment})}};t.\u0275fac=function(n){return new(n||t)(v(Vt),v(ve),li("tabindex"),v(vn),v($),v(En))},t.\u0275dir=G({type:t,selectors:[["","routerLink",""]],hostVars:1,hostBindings:function(n,o){n&1&&J("click",function(s){return o.onClick(s.button,s.ctrlKey,s.shiftKey,s.altKey,s.metaKey)}),n&2&&ct("target",o.target)},inputs:{target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",state:"state",info:"info",relativeTo:"relativeTo",preserveFragment:[k.HasDecoratorInputTransform,"preserveFragment","preserveFragment",tt],skipLocationChange:[k.HasDecoratorInputTransform,"skipLocationChange","skipLocationChange",tt],replaceUrl:[k.HasDecoratorInputTransform,"replaceUrl","replaceUrl",tt],routerLink:"routerLink"},standalone:!0,features:[ht,qt]});let e=t;return e})();var Io=class{};var Lb=(()=>{let t=class t{constructor(i,n,o,a,s){this.router=i,this.injector=o,this.preloadingStrategy=a,this.loader=s}setUpPreloading(){this.subscription=this.router.events.pipe(ft(i=>i instanceof _e),Fe(()=>this.preload())).subscribe(()=>{})}preload(){return this.processRoutes(this.injector,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(i,n){let o=[];for(let a of n){a.providers&&!a._injector&&(a._injector=Ga(a.providers,i,`Route: ${a.path}`));let s=a._injector??i,l=a._loadedInjector??s;(a.loadChildren&&!a._loadedRoutes&&a.canLoad===void 0||a.loadComponent&&!a._loadedComponent)&&o.push(this.preloadConfig(s,a)),(a.children||a._loadedRoutes)&&o.push(this.processRoutes(l,a.children??a._loadedRoutes))}return At(o).pipe(Na())}preloadConfig(i,n){return this.preloadingStrategy.preload(n,()=>{let o;n.loadChildren&&n.canLoad===void 0?o=this.loader.loadChildren(i,n):o=P(null);let a=o.pipe(Gt(s=>s===null?P(void 0):(n._loadedRoutes=s.routes,n._loadedInjector=s.injector,this.processRoutes(s.injector??i,s.routes))));if(n.loadComponent&&!n._loadedComponent){let s=this.loader.loadComponent(n);return At([a,s]).pipe(Na())}else return a})}};t.\u0275fac=function(n){return new(n||t)(C(Vt),C(Xr),C(si),C(Io),C(Gs))},t.\u0275prov=M({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})(),Du=new F(""),jb=(()=>{let t=class t{constructor(i,n,o,a,s={}){this.urlSerializer=i,this.transitions=n,this.viewportScroller=o,this.zone=a,this.options=s,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},s.scrollPositionRestoration||="disabled",s.anchorScrolling||="disabled"}init(){this.options.scrollPositionRestoration!=="disabled"&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}createScrollEvents(){return this.transitions.events.subscribe(i=>{i instanceof He?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=i.navigationTrigger,this.restoredId=i.restoredState?i.restoredState.navigationId:0):i instanceof _e?(this.lastId=i.id,this.scheduleScrollEvent(i,this.urlSerializer.parse(i.urlAfterRedirects).fragment)):i instanceof Ge&&i.code===bo.IgnoredSameUrlNavigation&&(this.lastSource=void 0,this.restoredId=0,this.scheduleScrollEvent(i,this.urlSerializer.parse(i.url).fragment))})}consumeScrollEvents(){return this.transitions.events.subscribe(i=>{i instanceof vo&&(i.position?this.options.scrollPositionRestoration==="top"?this.viewportScroller.scrollToPosition([0,0]):this.options.scrollPositionRestoration==="enabled"&&this.viewportScroller.scrollToPosition(i.position):i.anchor&&this.options.anchorScrolling==="enabled"?this.viewportScroller.scrollToAnchor(i.anchor):this.options.scrollPositionRestoration!=="disabled"&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(i,n){this.zone.runOutsideAngular(()=>{setTimeout(()=>{this.zone.run(()=>{this.transitions.events.next(new vo(i,this.lastSource==="popstate"?this.store[this.restoredId]:null,n))})},0)})}ngOnDestroy(){this.routerEventsSubscription?.unsubscribe(),this.scrollEventsSubscription?.unsubscribe()}};t.\u0275fac=function(n){di()},t.\u0275prov=M({token:t,factory:t.\u0275fac});let e=t;return e})();function Tu(e,...t){return Le([{provide:Kn,multi:!0,useValue:e},[],{provide:ve,useFactory:Ru,deps:[Vt]},{provide:wn,multi:!0,useFactory:ku},t.map(r=>r.\u0275providers)])}function Ru(e){return e.routerState.root}function rr(e,t){return{\u0275kind:e,\u0275providers:t}}function ku(){let e=I(je);return t=>{let r=e.get(mi);if(t!==r.components[0])return;let i=e.get(Vt),n=e.get(Fu);e.get(Xs)===1&&i.initialNavigation(),e.get(Pu,null,Ua.Optional)?.setUpPreloading(),e.get(Du,null,Ua.Optional)?.init(),i.resetRootComponentType(r.componentTypes[0]),n.closed||(n.next(),n.complete(),n.unsubscribe())}}var Fu=new F("",{factory:()=>new H}),Xs=new F("",{providedIn:"root",factory:()=>1});function Vb(){return rr(2,[{provide:Xs,useValue:0},{provide:Ya,multi:!0,deps:[je],useFactory:t=>{let r=t.get(rd,Promise.resolve());return()=>r.then(()=>new Promise(i=>{let n=t.get(Vt),o=t.get(Fu);Ou(n,()=>{i(!0)}),t.get(qs).afterPreactivation=()=>(i(!0),o.closed?P(void 0):o),n.initialNavigation()}))}}])}function zb(){return rr(3,[{provide:Ya,multi:!0,useFactory:()=>{let t=I(Vt);return()=>{t.setUpLocationChangeListener()}}},{provide:Xs,useValue:2}])}var Pu=new F("");function Bb(e){return rr(0,[{provide:Pu,useExisting:Lb},{provide:Io,useExisting:e}])}function Ub(){return rr(8,[Xd,{provide:So,useExisting:Xd}])}function $b(e){let t=[{provide:Su,useValue:Sb},{provide:Mu,useValue:S({skipNextTransition:!!e?.skipInitialTransition},e)}];return rr(9,t)}var Kd=new F("ROUTER_FORROOT_GUARD"),Hb=[pi,{provide:Jn,useClass:Un},Vt,tr,{provide:ve,useFactory:Ru,deps:[Vt]},Gs,[]],Zi=(()=>{let t=class t{constructor(i){}static forRoot(i,n){return{ngModule:t,providers:[Hb,[],{provide:Kn,multi:!0,useValue:i},{provide:Kd,useFactory:qb,deps:[[Vt,new $r,new Ha]]},{provide:nr,useValue:n||{}},n?.useHash?Gb():Yb(),Wb(),n?.preloadingStrategy?Bb(n.preloadingStrategy).\u0275providers:[],n?.initialNavigation?Xb(n):[],n?.bindToComponentInputs?Ub().\u0275providers:[],n?.enableViewTransitions?$b().\u0275providers:[],Zb()]}}static forChild(i){return{ngModule:t,providers:[{provide:Kn,multi:!0,useValue:i}]}}};t.\u0275fac=function(n){return new(n||t)(C(Kd,8))},t.\u0275mod=z({type:t}),t.\u0275inj=B({});let e=t;return e})();function Wb(){return{provide:Du,useFactory:()=>{let e=I(ud),t=I(N),r=I(nr),i=I(qs),n=I(Jn);return r.scrollOffset&&e.setOffset(r.scrollOffset),new jb(n,i,e,t,r)}}}function Gb(){return{provide:En,useClass:ad}}function Yb(){return{provide:En,useClass:od}}function qb(e){return"guarded"}function Xb(e){return[e.initialNavigation==="disabled"?zb().\u0275providers:[],e.initialNavigation==="enabledBlocking"?Vb().\u0275providers:[]]}var Qd=new F("");function Zb(){return[{provide:Qd,useFactory:ku},{provide:wn,multi:!0,useExisting:Qd}]}var Jt={production:!0,apiBase:"https://vazhgar.com/api/v1.0",uploadUrl:"https://vazhgar.com/api/v1.0/file",staticBase:"https://vazhgar.com/static",cronus:{host:"cronus.nowruzgan.com",logUrl:"https://cronus.nowruzgan.com/api/v1.0/log",key:"37f248a270210a27dbabdc624e27a46f",eventType:"vazhgar-web"}};var vi=class{constructor(t){this.id=0,this.meta={},t&&(this.absorb=t)}set absorb(t){if(typeof t=="number"){this.id=t;return}for(let r in t)this[r]=t[r]}get name(){return""}get trans(){let t=Object.assign({},this);return this.deleteInternals(t),t}deleteInternals(t){delete t.meta}},Oo=class extends vi{constructor(t){super(t),this.uuid="",this.fname="",this.size=0,this.type="",this.wordRef="",t&&(this.absorb=t)}get url(){if(!this.uuid)return"";let t=`${Jt.staticBase}/${this.uuid.substr(0,2)}/${this.uuid}`,r=this.meta.fileName||this.fname||"";return r=r.replace(/[ \(\)\[\]\{\}]/g,"_").replace(/__+/g,"_"),r&&(t+=`/${r}`),t}},Ki=class extends vi{constructor(t){super(t),this.subject=new te,this.predicate="",this.object=new te,t&&(this.absorb=t,t.subject&&(this.subject=new te(t.subject)),t.object&&(this.object=new te(t.object)),t.predicate&&(this.meta.predicate=ee.PREDICATES.find(r=>r.key==t.predicate)))}isValid(){return this.subject&&this.subject.id&&this.object&&this.object.id&&this.predicate}},te=class e extends vi{get name(){return this.title}constructor(t){super(t),this.title="",this.sortable="",this.lang="",this.order=0,this.lastOrder=0,this.etymology="",this.construct="",this.relations=[],this.medias=[],this.meanings=[],this.refs=[],t&&(this.absorb=t)}removeRel(t){this.relations=this.relations.filter(r=>t!=r)}set absorb(t){if(typeof t=="number"){this.id=t;return}for(let r in t)this[r]=t[r];if(t.hasOwnProperty("relations")&&(this.relations=t.relations.map(r=>r instanceof Ki?r:new Ki(r))),t.hasOwnProperty("medias")&&(this.medias=t.medias.map(r=>r instanceof Oo?r:new Oo(r))),t.hasOwnProperty("lang")){this.lang=t.lang;let r=ee.LANGS.find(i=>i.key==t.lang);r&&(this.meta.langLabel=r.label)}t.hasOwnProperty("refs")&&(this.refs=t.refs.map(r=>new e(r)))}get trans(){let t=super.trans;return this.relations&&(t.relations=this.relations.map(r=>({predicate:r.predicate,object:r.object?.id}))),t.medias=JSON.parse(JSON.stringify(this.medias)),this.medias&&(t.medias=this.medias.map(r=>r.trans)),this.meta.audio&&(this.meta.audio.type.startsWith("audio")||this.meta.audio.type=="audio/unknown",t.medias||(t.medias=[]),t.medias.unshift(this.meta.audio.trans)),t}get isRtl(){return this.lang=="\u0641\u0627"||this.lang=="\u0639"}},Zs=class extends vi{constructor(t){super(t),this.title="",t&&(this.absorb=t)}get name(){return this.title}},Do=class extends vi{constructor(t){super(t),this.words=[],this.meaning="",this.example="",t&&(this.absorb=t)}set absorb(t){if(typeof t=="number"){this.id=t;return}for(let r in t)this[r]=t[r];t.words?this.words=t.words.map(r=>new te(r)):this.words=[],t.source&&(this.source=new Zs(t.source))}isValid(){return this.words.length>1&&this.meaning&&this.example}get trans(){let t=Object.assign({},this);return this.words&&(t.words=this.words.map(r=>r.id)),this.source&&(t.source=this.source.id),this.deleteInternals(t),t}};var ee=(()=>{let t=class t{constructor(i,n){this.http=i,this.router=n}handleError(i){console.log("service error:",i)}fanums(i){return""+parseInt((i+"").replace(/Û°/g,"0").replace(/Û±/g,"1").replace(/Û²/g,"2").replace(/Û³/g,"3").replace(/Û´/g,"4").replace(/Ûµ/g,"5").replace(/Û¶/g,"6").replace(/Û·/g,"7").replace(/Û¸/g,"8").replace(/Û¹/g,"9"))}get headers(){return{headers:{"Content-Type":"application/json"}}}};t.GLOBALS={},t.LANGS=[{key:"\u0641\u0627",label:"\u0641\u0627\u0631\u0633\u06CC"},{key:"\u0639",label:"\u0639\u0631\u0628\u06CC"},{key:"en",label:"\u0627\u0646\u06AF\u0644\u06CC\u0633\u06CC"},{key:"it",label:"\u0627\u06CC\u062A\u0627\u0644\u06CC\u0627\u06CC\u06CC"},{key:"de",label:"\u0622\u0644\u0645\u0627\u0646\u06CC"},{key:"fr",label:"\u0641\u0631\u0627\u0646\u0633\u0647"}],t.PREDICATES=[{key:"synonym",label:"\u062A\u0631\u0627\u062F\u0641",order:1},{key:"near synonym",label:"\u062A\u0631\u0627\u062F\u0641 \u0642\u0631\u06CC\u0628",order:4},{key:"lexical variant",label:"\u062A\u0633\u0627\u0648\u06CC \u0642\u0627\u0645\u0648\u0633\u06CC",order:2},{key:"historical form",label:"\u062A\u0633\u0627\u0648\u06CC \u062A\u0627\u0631\u06CC\u062E\u06CC",order:3},{key:"see",label:"\u0627\u0631\u062C\u0627\u0639",order:9},{key:"see also",label:"\u062A\u062F\u0627\u0639\u06CC",order:8},{key:"contain",label:"\u06A9\u0644\u06CC\u062A",order:6},{key:"part",label:"\u062C\u0632\u0626\u06CC\u062A",order:5},{key:"manifestation",label:"\u0645\u0638\u0647\u0631\u06CC\u062A",order:7},{key:"instance",label:"\u0645\u0635\u062F\u0627\u0642\u06CC\u062A",order:10},{key:"singular",label:"\u0645\u0641\u0631\u062F",order:11},{key:"plural",label:"\u062C\u0645\u0639",order:12}],t.NAV_STATE={timestamp:0,originalTimestamp:0,page:null},t.\u0275fac=function(n){return new(n||t)(C(Rn),C(Vt))},t.\u0275prov=M({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})();var yi=(()=>{let t=class t extends ee{load(i){return ut(this,null,function*(){i.meta.loading=!0;let n=yield this.http.get(`${Jt.apiBase}/lexicon/word/${i.id}/rel|ref`,this.headers).toPromise().catch(o=>console.log(o));return n?(i.absorb=n,i.meta.loading=!0,!0):(i.meta.loading=!1,!1)})}loadIds(i){return ut(this,null,function*(){let n=yield this.http.get(`${Jt.apiBase}/lexicon/word/${i.join(",")}/rel|ref`,this.headers).toPromise().catch(o=>!1);return n.map(o=>new te(o))})}listBySortable(i,n){return ut(this,null,function*(){let o=yield this.http.get(`${Jt.apiBase}/lexicon/word/?sortable=${i}&lang=${n}`,this.headers).toPromise().catch(a=>console.log(a));return o?.list.length?o.list.map(a=>new te(a)):[]})}search(i,n=""){return ut(this,null,function*(){return n=n?`&lang=${n}`:"",(yield this.http.get(`${Jt.apiBase}/lexicon/word/search?filter=${i}${n}`,this.headers).toPromise().catch(a=>(this.handleError(a),[]))).map(a=>new te(a))})}};t.\u0275fac=(()=>{let i;return function(o){return(i||(i=re(t)))(o||t)}})(),t.\u0275prov=M({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})();var Kb=new F("cdk-dir-doc",{providedIn:"root",factory:Qb});function Qb(){return I(j)}var Jb=/^(ar|ckb|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*[-_](Adlm|Arab|Hebr|Nkoo|Rohg|Thaa))(?!.*[-_](Latn|Cyrl)($|-|_))($|-|_)/i;function t_(e){let t=e?.toLowerCase()||"";return t==="auto"&&typeof navigator<"u"&&navigator?.language?Jb.test(navigator.language)?"rtl":"ltr":t==="rtl"?"rtl":"ltr"}var Qi=(()=>{let t=class t{constructor(i){if(this.value="ltr",this.change=new Z,i){let n=i.body?i.body.dir:null,o=i.documentElement?i.documentElement.dir:null;this.value=t_(n||o||"ltr")}}ngOnDestroy(){this.change.complete()}};t.\u0275fac=function(n){return new(n||t)(C(Kb,8))},t.\u0275prov=M({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})();var qe=(()=>{let t=class t{};t.\u0275fac=function(n){return new(n||t)},t.\u0275mod=z({type:t}),t.\u0275inj=B({});let e=t;return e})();var Js;try{Js=typeof Intl<"u"&&Intl.v8BreakIterator}catch{Js=!1}var et=(()=>{let t=class t{constructor(i){this._platformId=i,this.isBrowser=this._platformId?Vi(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||Js)&&typeof CSS<"u"&&!this.EDGE&&!this.TRIDENT,this.WEBKIT=this.isBrowser&&/AppleWebKit/i.test(navigator.userAgent)&&!this.BLINK&&!this.EDGE&&!this.TRIDENT,this.IOS=this.isBrowser&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&!("MSStream"in window),this.FIREFOX=this.isBrowser&&/(firefox|minefield)/i.test(navigator.userAgent),this.ANDROID=this.isBrowser&&/android/i.test(navigator.userAgent)&&!this.TRIDENT,this.SAFARI=this.isBrowser&&/safari/i.test(navigator.userAgent)&&this.WEBKIT}};t.\u0275fac=function(n){return new(n||t)(C(Yt))},t.\u0275prov=M({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})();var Ji,Lu=["color","button","checkbox","date","datetime-local","email","file","hidden","image","month","number","password","radio","range","reset","search","submit","tel","text","time","url","week"];function tl(){if(Ji)return Ji;if(typeof document!="object"||!document)return Ji=new Set(Lu),Ji;let e=document.createElement("input");return Ji=new Set(Lu.filter(t=>(e.setAttribute("type",t),e.type===t))),Ji}var or;function e_(){if(or==null&&typeof window<"u")try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>or=!0}))}finally{or=or||!1}return or}function Xe(e){return e_()?e:!!e.capture}var xi;function ju(){if(xi==null){if(typeof document!="object"||!document||typeof Element!="function"||!Element)return xi=!1,xi;if("scrollBehavior"in document.documentElement.style)xi=!0;else{let e=Element.prototype.scrollTo;e?xi=!/\{\s*\[native code\]\s*\}/.test(e.toString()):xi=!1}}return xi}var Qs;function i_(){if(Qs==null){let e=typeof document<"u"?document.head:null;Qs=!!(e&&(e.createShadowRoot||e.attachShadow))}return Qs}function Vu(e){if(i_()){let t=e.getRootNode?e.getRootNode():null;if(typeof ShadowRoot<"u"&&ShadowRoot&&t instanceof ShadowRoot)return t}return null}function ie(e){return e.composedPath?e.composedPath()[0]:e.target}function ar(){return typeof __karma__<"u"&&!!__karma__||typeof jasmine<"u"&&!!jasmine||typeof jest<"u"&&!!jest||typeof Mocha<"u"&&!!Mocha}var el=class{constructor(t){this._box=t,this._destroyed=new H,this._resizeSubject=new H,this._elementObservables=new Map,typeof ResizeObserver<"u"&&(this._resizeObserver=new ResizeObserver(r=>this._resizeSubject.next(r)))}observe(t){return this._elementObservables.has(t)||this._elementObservables.set(t,new he(r=>{let i=this._resizeSubject.subscribe(r);return this._resizeObserver?.observe(t,{box:this._box}),()=>{this._resizeObserver?.unobserve(t),i.unsubscribe(),this._elementObservables.delete(t)}}).pipe(ft(r=>r.some(i=>i.target===t)),Ba({bufferSize:1,refCount:!0}),Pt(this._destroyed))),this._elementObservables.get(t)}destroy(){this._destroyed.next(),this._destroyed.complete(),this._resizeSubject.complete(),this._elementObservables.clear()}},zu=(()=>{let t=class t{constructor(){this._observers=new Map,this._ngZone=I(N),typeof ResizeObserver<"u"}ngOnDestroy(){for(let[,i]of this._observers)i.destroy();this._observers.clear(),typeof ResizeObserver<"u"}observe(i,n){let o=n?.box||"content-box";return this._observers.has(o)||this._observers.set(o,new el(o)),this._observers.get(o).observe(i)}};t.\u0275fac=function(n){return new(n||t)},t.\u0275prov=M({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})();function wi(e){return e!=null&&`${e}`!="false"}function tn(e){return Array.isArray(e)?e:[e]}function pt(e){return e==null?"":typeof e=="string"?e:`${e}px`}function se(e){return e instanceof $?e.nativeElement:e}function Bu(e,t=/\s+/){let r=[];if(e!=null){let i=Array.isArray(e)?e:`${e}`.split(t);for(let n of i){let o=`${n}`.trim();o&&r.push(o)}}return r}var n_=(()=>{let t=class t{create(i){return typeof MutationObserver>"u"?null:new MutationObserver(i)}};t.\u0275fac=function(n){return new(n||t)},t.\u0275prov=M({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})();var Uu=(()=>{let t=class t{};t.\u0275fac=function(n){return new(n||t)},t.\u0275mod=z({type:t}),t.\u0275inj=B({providers:[n_]});let e=t;return e})();function Ze(e,...t){return t.length?t.some(r=>e[r]):e.altKey||e.shiftKey||e.ctrlKey||e.metaKey}var $u=new Set,Ci,r_=(()=>{let t=class t{constructor(i,n){this._platform=i,this._nonce=n,this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):a_}matchMedia(i){return(this._platform.WEBKIT||this._platform.BLINK)&&o_(i,this._nonce),this._matchMedia(i)}};t.\u0275fac=function(n){return new(n||t)(C(et),C(gn,8))},t.\u0275prov=M({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})();function o_(e,t){if(!$u.has(e))try{Ci||(Ci=document.createElement("style"),t&&(Ci.nonce=t),Ci.setAttribute("type","text/css"),document.head.appendChild(Ci)),Ci.sheet&&(Ci.sheet.insertRule(`@media ${e} {body{ }}`,0),$u.add(e))}catch(r){console.error(r)}}function a_(e){return{matches:e==="all"||e==="",media:e,addListener:()=>{},removeListener:()=>{}}}var Wu=(()=>{let t=class t{constructor(i,n){this._mediaMatcher=i,this._zone=n,this._queries=new Map,this._destroySubject=new H}ngOnDestroy(){this._destroySubject.next(),this._destroySubject.complete()}isMatched(i){return Hu(tn(i)).some(o=>this._registerQuery(o).mql.matches)}observe(i){let o=Hu(tn(i)).map(s=>this._registerQuery(s).observable),a=ki(o);return a=Lr(a.pipe(xt(1)),a.pipe(zr(1),Vr(0))),a.pipe(V(s=>{let l={matches:!1,breakpoints:{}};return s.forEach(({matches:c,query:d})=>{l.matches=l.matches||c,l.breakpoints[d]=c}),l}))}_registerQuery(i){if(this._queries.has(i))return this._queries.get(i);let n=this._mediaMatcher.matchMedia(i),a={observable:new he(s=>{let l=c=>this._zone.run(()=>s.next(c));return n.addListener(l),()=>{n.removeListener(l)}}).pipe(ai(n),V(({matches:s})=>({query:i,matches:s})),Pt(this._destroySubject)),mql:n};return this._queries.set(i,a),a}};t.\u0275fac=function(n){return new(n||t)(C(r_),C(N))},t.\u0275prov=M({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})();function Hu(e){return e.map(t=>t.split(",")).reduce((t,r)=>t.concat(r)).map(t=>t.trim())}var qu=" ";function al(e,t,r){let i=Xu(e,t);r=r.trim(),!i.some(n=>n.trim()===r)&&(i.push(r),e.setAttribute(t,i.join(qu)))}function Po(e,t,r){let i=Xu(e,t);r=r.trim();let n=i.filter(o=>o!==r);n.length?e.setAttribute(t,n.join(qu)):e.removeAttribute(t)}function Xu(e,t){return e.getAttribute(t)?.match(/\S+/g)??[]}var nl=class{constructor(t){this._items=t,this._activeItemIndex=-1,this._activeItem=null,this._wrap=!1,this._letterKeyStream=new H,this._typeaheadSubscription=Ft.EMPTY,this._vertical=!0,this._allowedModifierKeys=[],this._homeAndEnd=!1,this._pageUpAndDown={enabled:!1,delta:10},this._skipPredicateFn=r=>r.disabled,this._pressedLetters=[],this.tabOut=new H,this.change=new H,t instanceof $a&&(this._itemChangesSubscription=t.changes.subscribe(r=>{if(this._activeItem){let n=r.toArray().indexOf(this._activeItem);n>-1&&n!==this._activeItemIndex&&(this._activeItemIndex=n)}}))}skipPredicate(t){return this._skipPredicateFn=t,this}withWrap(t=!0){return this._wrap=t,this}withVerticalOrientation(t=!0){return this._vertical=t,this}withHorizontalOrientation(t){return this._horizontal=t,this}withAllowedModifierKeys(t){return this._allowedModifierKeys=t,this}withTypeAhead(t=200){return this._typeaheadSubscription.unsubscribe(),this._typeaheadSubscription=this._letterKeyStream.pipe(at(r=>this._pressedLetters.push(r)),Vr(t),ft(()=>this._pressedLetters.length>0),V(()=>this._pressedLetters.join(""))).subscribe(r=>{let i=this._getItemsArray();for(let n=1;n<i.length+1;n++){let o=(this._activeItemIndex+n)%i.length,a=i[o];if(!this._skipPredicateFn(a)&&a.getLabel().toUpperCase().trim().indexOf(r)===0){this.setActiveItem(o);break}}this._pressedLetters=[]}),this}cancelTypeahead(){return this._pressedLetters=[],this}withHomeAndEnd(t=!0){return this._homeAndEnd=t,this}withPageUpDown(t=!0,r=10){return this._pageUpAndDown={enabled:t,delta:r},this}setActiveItem(t){let r=this._activeItem;this.updateActiveItem(t),this._activeItem!==r&&this.change.next(this._activeItemIndex)}onKeydown(t){let r=t.keyCode,n=["altKey","ctrlKey","metaKey","shiftKey"].every(o=>!t[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,a=this._getItemsArray().length;this._setActiveItemByIndex(o<a?o:a-1,-1);break}else return;default:(n||Ze(t,"shiftKey"))&&(t.key&&t.key.length===1?this._letterKeyStream.next(t.key.toLocaleUpperCase()):(r>=65&&r<=90||r>=48&&r<=57)&&this._letterKeyStream.next(String.fromCharCode(r)));return}this._pressedLetters=[],t.preventDefault()}get activeItemIndex(){return this._activeItemIndex}get activeItem(){return this._activeItem}isTyping(){return this._pressedLetters.length>0}setFirstItemActive(){this._setActiveItemByIndex(0,1)}setLastItemActive(){this._setActiveItemByIndex(this._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(t){let r=this._getItemsArray(),i=typeof t=="number"?t:r.indexOf(t),n=r[i];this._activeItem=n??null,this._activeItemIndex=i}destroy(){this._typeaheadSubscription.unsubscribe(),this._itemChangesSubscription?.unsubscribe(),this._letterKeyStream.complete(),this.tabOut.complete(),this.change.complete(),this._pressedLetters=[]}_setActiveItemByDelta(t){this._wrap?this._setActiveInWrapMode(t):this._setActiveInDefaultMode(t)}_setActiveInWrapMode(t){let r=this._getItemsArray();for(let i=1;i<=r.length;i++){let n=(this._activeItemIndex+t*i+r.length)%r.length,o=r[n];if(!this._skipPredicateFn(o)){this.setActiveItem(n);return}}}_setActiveInDefaultMode(t){this._setActiveItemByIndex(this._activeItemIndex+t,t)}_setActiveItemByIndex(t,r){let i=this._getItemsArray();if(i[t]){for(;this._skipPredicateFn(i[t]);)if(t+=r,!i[t])return;this.setActiveItem(t)}}_getItemsArray(){return this._items instanceof $a?this._items.toArray():this._items}},ko=class extends nl{setActiveItem(t){this.activeItem&&this.activeItem.setInactiveStyles(),super.setActiveItem(t),this.activeItem&&this.activeItem.setActiveStyles()}};function sl(e){return e.buttons===0||e.detail===0}function ll(e){let t=e.touches&&e.touches[0]||e.changedTouches&&e.changedTouches[0];return!!t&&t.identifier===-1&&(t.radiusX==null||t.radiusX===1)&&(t.radiusY==null||t.radiusY===1)}var w_=new F("cdk-input-modality-detector-options"),C_={ignoreKeys:[18,17,224,91,16]},Zu=650,en=Xe({passive:!0,capture:!0}),E_=(()=>{let t=class t{get mostRecentModality(){return this._modality.value}constructor(i,n,o,a){this._platform=i,this._mostRecentTarget=null,this._modality=new $t(null),this._lastTouchMs=0,this._onKeydown=s=>{this._options?.ignoreKeys?.some(l=>l===s.keyCode)||(this._modality.next("keyboard"),this._mostRecentTarget=ie(s))},this._onMousedown=s=>{Date.now()-this._lastTouchMs<Zu||(this._modality.next(sl(s)?"keyboard":"mouse"),this._mostRecentTarget=ie(s))},this._onTouchstart=s=>{if(ll(s)){this._modality.next("keyboard");return}this._lastTouchMs=Date.now(),this._modality.next("touch"),this._mostRecentTarget=ie(s)},this._options=S(S({},C_),a),this.modalityDetected=this._modality.pipe(zr(1)),this.modalityChanged=this.modalityDetected.pipe(Va()),i.isBrowser&&n.runOutsideAngular(()=>{o.addEventListener("keydown",this._onKeydown,en),o.addEventListener("mousedown",this._onMousedown,en),o.addEventListener("touchstart",this._onTouchstart,en)})}ngOnDestroy(){this._modality.complete(),this._platform.isBrowser&&(document.removeEventListener("keydown",this._onKeydown,en),document.removeEventListener("mousedown",this._onMousedown,en),document.removeEventListener("touchstart",this._onTouchstart,en))}};t.\u0275fac=function(n){return new(n||t)(C(et),C(N),C(j),C(w_,8))},t.\u0275prov=M({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})();var Ro=function(e){return e[e.IMMEDIATE=0]="IMMEDIATE",e[e.EVENTUAL=1]="EVENTUAL",e}(Ro||{}),I_=new F("cdk-focus-monitor-default-options"),To=Xe({passive:!0,capture:!0}),No=(()=>{let t=class t{constructor(i,n,o,a,s){this._ngZone=i,this._platform=n,this._inputModalityDetector=o,this._origin=null,this._windowFocused=!1,this._originFromTouchInteraction=!1,this._elementInfo=new Map,this._monitoredElementCount=0,this._rootNodeFocusListenerCount=new Map,this._windowFocusListener=()=>{this._windowFocused=!0,this._windowFocusTimeoutId=window.setTimeout(()=>this._windowFocused=!1)},this._stopInputModalityDetector=new H,this._rootNodeFocusAndBlurListener=l=>{let c=ie(l);for(let d=c;d;d=d.parentElement)l.type==="focus"?this._onFocus(l,d):this._onBlur(l,d)},this._document=a,this._detectionMode=s?.detectionMode||Ro.IMMEDIATE}monitor(i,n=!1){let o=se(i);if(!this._platform.isBrowser||o.nodeType!==1)return P();let a=Vu(o)||this._getDocument(),s=this._elementInfo.get(o);if(s)return n&&(s.checkChildren=!0),s.subject;let l={checkChildren:n,subject:new H,rootNode:a};return this._elementInfo.set(o,l),this._registerGlobalListeners(l),l.subject}stopMonitoring(i){let n=se(i),o=this._elementInfo.get(n);o&&(o.subject.complete(),this._setClasses(n),this._elementInfo.delete(n),this._removeGlobalListeners(o))}focusVia(i,n,o){let a=se(i),s=this._getDocument().activeElement;a===s?this._getClosestElementsInfo(a).forEach(([l,c])=>this._originChanged(l,n,c)):(this._setOrigin(n),typeof a.focus=="function"&&a.focus(o))}ngOnDestroy(){this._elementInfo.forEach((i,n)=>this.stopMonitoring(n))}_getDocument(){return this._document||document}_getWindow(){return this._getDocument().defaultView||window}_getFocusOrigin(i){return this._origin?this._originFromTouchInteraction?this._shouldBeAttributedToTouch(i)?"touch":"program":this._origin:this._windowFocused&&this._lastFocusOrigin?this._lastFocusOrigin:i&&this._isLastInteractionFromInputLabel(i)?"mouse":"program"}_shouldBeAttributedToTouch(i){return this._detectionMode===Ro.EVENTUAL||!!i?.contains(this._inputModalityDetector._mostRecentTarget)}_setClasses(i,n){i.classList.toggle("cdk-focused",!!n),i.classList.toggle("cdk-touch-focused",n==="touch"),i.classList.toggle("cdk-keyboard-focused",n==="keyboard"),i.classList.toggle("cdk-mouse-focused",n==="mouse"),i.classList.toggle("cdk-program-focused",n==="program")}_setOrigin(i,n=!1){this._ngZone.runOutsideAngular(()=>{if(this._origin=i,this._originFromTouchInteraction=i==="touch"&&n,this._detectionMode===Ro.IMMEDIATE){clearTimeout(this._originTimeoutId);let o=this._originFromTouchInteraction?Zu:1;this._originTimeoutId=setTimeout(()=>this._origin=null,o)}})}_onFocus(i,n){let o=this._elementInfo.get(n),a=ie(i);!o||!o.checkChildren&&n!==a||this._originChanged(n,this._getFocusOrigin(a),o)}_onBlur(i,n){let o=this._elementInfo.get(n);!o||o.checkChildren&&i.relatedTarget instanceof Node&&n.contains(i.relatedTarget)||(this._setClasses(n),this._emitOrigin(o,null))}_emitOrigin(i,n){i.subject.observers.length&&this._ngZone.run(()=>i.subject.next(n))}_registerGlobalListeners(i){if(!this._platform.isBrowser)return;let n=i.rootNode,o=this._rootNodeFocusListenerCount.get(n)||0;o||this._ngZone.runOutsideAngular(()=>{n.addEventListener("focus",this._rootNodeFocusAndBlurListener,To),n.addEventListener("blur",this._rootNodeFocusAndBlurListener,To)}),this._rootNodeFocusListenerCount.set(n,o+1),++this._monitoredElementCount===1&&(this._ngZone.runOutsideAngular(()=>{this._getWindow().addEventListener("focus",this._windowFocusListener)}),this._inputModalityDetector.modalityDetected.pipe(Pt(this._stopInputModalityDetector)).subscribe(a=>{this._setOrigin(a,!0)}))}_removeGlobalListeners(i){let n=i.rootNode;if(this._rootNodeFocusListenerCount.has(n)){let o=this._rootNodeFocusListenerCount.get(n);o>1?this._rootNodeFocusListenerCount.set(n,o-1):(n.removeEventListener("focus",this._rootNodeFocusAndBlurListener,To),n.removeEventListener("blur",this._rootNodeFocusAndBlurListener,To),this._rootNodeFocusListenerCount.delete(n))}--this._monitoredElementCount||(this._getWindow().removeEventListener("focus",this._windowFocusListener),this._stopInputModalityDetector.next(),clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._originTimeoutId))}_originChanged(i,n,o){this._setClasses(i,n),this._emitOrigin(o,n),this._lastFocusOrigin=n}_getClosestElementsInfo(i){let n=[];return this._elementInfo.forEach((o,a)=>{(a===i||o.checkChildren&&a.contains(i))&&n.push([a,o])}),n}_isLastInteractionFromInputLabel(i){let{_mostRecentTarget:n,mostRecentModality:o}=this._inputModalityDetector;if(o!=="mouse"||!n||n===i||i.nodeName!=="INPUT"&&i.nodeName!=="TEXTAREA"||i.disabled)return!1;let a=i.labels;if(a){for(let s=0;s<a.length;s++)if(a[s].contains(n))return!0}return!1}};t.\u0275fac=function(n){return new(n||t)(C(N),C(et),C(E_),C(j,8),C(I_,8))},t.\u0275prov=M({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})();var Ei=function(e){return e[e.NONE=0]="NONE",e[e.BLACK_ON_WHITE=1]="BLACK_ON_WHITE",e[e.WHITE_ON_BLACK=2]="WHITE_ON_BLACK",e}(Ei||{}),Gu="cdk-high-contrast-black-on-white",Yu="cdk-high-contrast-white-on-black",il="cdk-high-contrast-active",Ku=(()=>{let t=class t{constructor(i,n){this._platform=i,this._document=n,this._breakpointSubscription=I(Wu).observe("(forced-colors: active)").subscribe(()=>{this._hasCheckedHighContrastMode&&(this._hasCheckedHighContrastMode=!1,this._applyBodyHighContrastModeCssClasses())})}getHighContrastMode(){if(!this._platform.isBrowser)return Ei.NONE;let i=this._document.createElement("div");i.style.backgroundColor="rgb(1,2,3)",i.style.position="absolute",this._document.body.appendChild(i);let n=this._document.defaultView||window,o=n&&n.getComputedStyle?n.getComputedStyle(i):null,a=(o&&o.backgroundColor||"").replace(/ /g,"");switch(i.remove(),a){case"rgb(0,0,0)":case"rgb(45,50,54)":case"rgb(32,32,32)":return Ei.WHITE_ON_BLACK;case"rgb(255,255,255)":case"rgb(255,250,239)":return Ei.BLACK_ON_WHITE}return Ei.NONE}ngOnDestroy(){this._breakpointSubscription.unsubscribe()}_applyBodyHighContrastModeCssClasses(){if(!this._hasCheckedHighContrastMode&&this._platform.isBrowser&&this._document.body){let i=this._document.body.classList;i.remove(il,Gu,Yu),this._hasCheckedHighContrastMode=!0;let n=this.getHighContrastMode();n===Ei.BLACK_ON_WHITE?i.add(il,Gu):n===Ei.WHITE_ON_BLACK&&i.add(il,Yu)}}};t.\u0275fac=function(n){return new(n||t)(C(et),C(j))},t.\u0275prov=M({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})();var M_=["text"];function A_(e,t){if(e&1&&R(0,"mat-pseudo-checkbox",6),e&2){let r=D();E("disabled",r.disabled)("state",r.selected?"checked":"unchecked")}}function O_(e,t){if(e&1&&R(0,"mat-pseudo-checkbox",7),e&2){let r=D();E("disabled",r.disabled)}}function D_(e,t){if(e&1&&(m(0,"span",8),g(1),h()),e&2){let r=D();b(),Dt("(",r.group.label,")")}}var T_=[[["mat-icon"]],"*"],R_=["mat-icon","*"];function k_(){return!0}var F_=new F("mat-sanity-checks",{providedIn:"root",factory:k_}),st=(()=>{let t=class t{constructor(i,n,o){this._sanityChecks=n,this._document=o,this._hasDoneGlobalChecks=!1,i._applyBodyHighContrastModeCssClasses(),this._hasDoneGlobalChecks||(this._hasDoneGlobalChecks=!0)}_checkIsEnabled(i){return ar()?!1:typeof this._sanityChecks=="boolean"?this._sanityChecks:!!this._sanityChecks[i]}};t.\u0275fac=function(n){return new(n||t)(C(Ku),C(F_,8),C(j))},t.\u0275mod=z({type:t}),t.\u0275inj=B({imports:[qe,qe]});let e=t;return e})();var jo=class{constructor(t,r,i,n,o){this._defaultMatcher=t,this.ngControl=r,this._parentFormGroup=i,this._parentForm=n,this._stateChanges=o,this.errorState=!1}updateErrorState(){let t=this.errorState,r=this._parentFormGroup||this._parentForm,i=this.matcher||this._defaultMatcher,n=this.ngControl?this.ngControl.control:null,o=i?.isErrorState(n,r)??!1;o!==t&&(this.errorState=o,this._stateChanges.next())}};var lh=(()=>{let t=class t{isErrorState(i,n){return!!(i&&i.invalid&&(i.touched||n&&n.submitted))}};t.\u0275fac=function(n){return new(n||t)},t.\u0275prov=M({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})();var le=function(e){return e[e.FADING_IN=0]="FADING_IN",e[e.VISIBLE=1]="VISIBLE",e[e.FADING_OUT=2]="FADING_OUT",e[e.HIDDEN=3]="HIDDEN",e}(le||{}),ul=class{constructor(t,r,i,n=!1){this._renderer=t,this.element=r,this.config=i,this._animationForciblyDisabledThroughCss=n,this.state=le.HIDDEN}fadeOut(){this._renderer.fadeOutRipple(this)}},Ju=Xe({passive:!0,capture:!0}),hl=class{constructor(){this._events=new Map,this._delegateEventHandler=t=>{let r=ie(t);r&&this._events.get(t.type)?.forEach((i,n)=>{(n===r||n.contains(r))&&i.forEach(o=>o.handleEvent(t))})}}addHandler(t,r,i,n){let o=this._events.get(r);if(o){let a=o.get(i);a?a.add(n):o.set(i,new Set([n]))}else this._events.set(r,new Map([[i,new Set([n])]])),t.runOutsideAngular(()=>{document.addEventListener(r,this._delegateEventHandler,Ju)})}removeHandler(t,r,i){let n=this._events.get(t);if(!n)return;let o=n.get(r);o&&(o.delete(i),o.size===0&&n.delete(r),n.size===0&&(this._events.delete(t),document.removeEventListener(t,this._delegateEventHandler,Ju)))}},th={enterDuration:225,exitDuration:150},P_=800,eh=Xe({passive:!0,capture:!0}),ih=["mousedown","touchstart"],nh=["mouseup","mouseleave","touchend","touchcancel"],sr=class sr{constructor(t,r,i,n){this._target=t,this._ngZone=r,this._platform=n,this._isPointerDown=!1,this._activeRipples=new Map,this._pointerUpEventsRegistered=!1,n.isBrowser&&(this._containerElement=se(i))}fadeInRipple(t,r,i={}){let n=this._containerRect=this._containerRect||this._containerElement.getBoundingClientRect(),o=S(S({},th),i.animation);i.centered&&(t=n.left+n.width/2,r=n.top+n.height/2);let a=i.radius||N_(t,r,n),s=t-n.left,l=r-n.top,c=o.enterDuration,d=document.createElement("div");d.classList.add("mat-ripple-element"),d.style.left=`${s-a}px`,d.style.top=`${l-a}px`,d.style.height=`${a*2}px`,d.style.width=`${a*2}px`,i.color!=null&&(d.style.backgroundColor=i.color),d.style.transitionDuration=`${c}ms`,this._containerElement.appendChild(d);let u=window.getComputedStyle(d),f=u.transitionProperty,p=u.transitionDuration,x=f==="none"||p==="0s"||p==="0s, 0s"||n.width===0&&n.height===0,y=new ul(this,d,i,x);d.style.transform="scale3d(1, 1, 1)",y.state=le.FADING_IN,i.persistent||(this._mostRecentTransientRipple=y);let _=null;return!x&&(c||o.exitDuration)&&this._ngZone.runOutsideAngular(()=>{let w=()=>this._finishRippleTransition(y),A=()=>this._destroyRipple(y);d.addEventListener("transitionend",w),d.addEventListener("transitioncancel",A),_={onTransitionEnd:w,onTransitionCancel:A}}),this._activeRipples.set(y,_),(x||!c)&&this._finishRippleTransition(y),y}fadeOutRipple(t){if(t.state===le.FADING_OUT||t.state===le.HIDDEN)return;let r=t.element,i=S(S({},th),t.config.animation);r.style.transitionDuration=`${i.exitDuration}ms`,r.style.opacity="0",t.state=le.FADING_OUT,(t._animationForciblyDisabledThroughCss||!i.exitDuration)&&this._finishRippleTransition(t)}fadeOutAll(){this._getActiveRipples().forEach(t=>t.fadeOut())}fadeOutAllNonPersistent(){this._getActiveRipples().forEach(t=>{t.config.persistent||t.fadeOut()})}setupTriggerEvents(t){let r=se(t);!this._platform.isBrowser||!r||r===this._triggerElement||(this._removeTriggerEvents(),this._triggerElement=r,ih.forEach(i=>{sr._eventManager.addHandler(this._ngZone,i,r,this)}))}handleEvent(t){t.type==="mousedown"?this._onMousedown(t):t.type==="touchstart"?this._onTouchStart(t):this._onPointerUp(),this._pointerUpEventsRegistered||(this._ngZone.runOutsideAngular(()=>{nh.forEach(r=>{this._triggerElement.addEventListener(r,this,eh)})}),this._pointerUpEventsRegistered=!0)}_finishRippleTransition(t){t.state===le.FADING_IN?this._startFadeOutTransition(t):t.state===le.FADING_OUT&&this._destroyRipple(t)}_startFadeOutTransition(t){let r=t===this._mostRecentTransientRipple,{persistent:i}=t.config;t.state=le.VISIBLE,!i&&(!r||!this._isPointerDown)&&t.fadeOut()}_destroyRipple(t){let r=this._activeRipples.get(t)??null;this._activeRipples.delete(t),this._activeRipples.size||(this._containerRect=null),t===this._mostRecentTransientRipple&&(this._mostRecentTransientRipple=null),t.state=le.HIDDEN,r!==null&&(t.element.removeEventListener("transitionend",r.onTransitionEnd),t.element.removeEventListener("transitioncancel",r.onTransitionCancel)),t.element.remove()}_onMousedown(t){let r=sl(t),i=this._lastTouchStartEvent&&Date.now()<this._lastTouchStartEvent+P_;!this._target.rippleDisabled&&!r&&!i&&(this._isPointerDown=!0,this.fadeInRipple(t.clientX,t.clientY,this._target.rippleConfig))}_onTouchStart(t){if(!this._target.rippleDisabled&&!ll(t)){this._lastTouchStartEvent=Date.now(),this._isPointerDown=!0;let r=t.changedTouches;if(r)for(let i=0;i<r.length;i++)this.fadeInRipple(r[i].clientX,r[i].clientY,this._target.rippleConfig)}}_onPointerUp(){this._isPointerDown&&(this._isPointerDown=!1,this._getActiveRipples().forEach(t=>{let r=t.state===le.VISIBLE||t.config.terminateOnPointerUp&&t.state===le.FADING_IN;!t.config.persistent&&r&&t.fadeOut()}))}_getActiveRipples(){return Array.from(this._activeRipples.keys())}_removeTriggerEvents(){let t=this._triggerElement;t&&(ih.forEach(r=>sr._eventManager.removeHandler(r,t,this)),this._pointerUpEventsRegistered&&nh.forEach(r=>t.removeEventListener(r,this,eh)))}};sr._eventManager=new hl;var ml=sr;function N_(e,t,r){let i=Math.max(Math.abs(e-r.left),Math.abs(e-r.right)),n=Math.max(Math.abs(t-r.top),Math.abs(t-r.bottom));return Math.sqrt(i*i+n*n)}var ch=new F("mat-ripple-global-options"),Vo=(()=>{let t=class t{get disabled(){return this._disabled}set disabled(i){i&&this.fadeOutAllNonPersistent(),this._disabled=i,this._setupTriggerEventsIfEnabled()}get trigger(){return this._trigger||this._elementRef.nativeElement}set trigger(i){this._trigger=i,this._setupTriggerEventsIfEnabled()}constructor(i,n,o,a,s){this._elementRef=i,this._animationMode=s,this.radius=0,this._disabled=!1,this._isInitialized=!1,this._globalOptions=a||{},this._rippleRenderer=new ml(this,n,i,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:S(S(S({},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(i,n=0,o){return typeof i=="number"?this._rippleRenderer.fadeInRipple(i,n,S(S({},this.rippleConfig),o)):this._rippleRenderer.fadeInRipple(0,0,S(S({},this.rippleConfig),i))}};t.\u0275fac=function(n){return new(n||t)(v($),v(N),v(et),v(ch,8),v(Nt,8))},t.\u0275dir=G({type:t,selectors:[["","mat-ripple",""],["","matRipple",""]],hostAttrs:[1,"mat-ripple"],hostVars:2,hostBindings:function(n,o){n&2&&L("mat-ripple-unbounded",o.unbounded)},inputs:{color:[k.None,"matRippleColor","color"],unbounded:[k.None,"matRippleUnbounded","unbounded"],centered:[k.None,"matRippleCentered","centered"],radius:[k.None,"matRippleRadius","radius"],animation:[k.None,"matRippleAnimation","animation"],disabled:[k.None,"matRippleDisabled","disabled"],trigger:[k.None,"matRippleTrigger","trigger"]},exportAs:["matRipple"],standalone:!0});let e=t;return e})(),cr=(()=>{let t=class t{};t.\u0275fac=function(n){return new(n||t)},t.\u0275mod=z({type:t}),t.\u0275inj=B({imports:[st,st]});let e=t;return e})(),L_=(()=>{let t=class t{constructor(i){this._animationMode=i,this.state="unchecked",this.disabled=!1,this.appearance="full"}};t.\u0275fac=function(n){return new(n||t)(v(Nt,8))},t.\u0275cmp=K({type:t,selectors:[["mat-pseudo-checkbox"]],hostAttrs:[1,"mat-pseudo-checkbox"],hostVars:12,hostBindings:function(n,o){n&2&&L("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:[Q],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 e=t;return e})(),j_=(()=>{let t=class t{};t.\u0275fac=function(n){return new(n||t)},t.\u0275mod=z({type:t}),t.\u0275inj=B({imports:[st]});let e=t;return e})(),pl=new F("MAT_OPTION_PARENT_COMPONENT");var gl=new F("MatOptgroup");var V_=0,lr=class{constructor(t,r=!1){this.source=t,this.isUserInput=r}},zo=(()=>{let t=class t{get multiple(){return this._parent&&this._parent.multiple}get selected(){return this._selected}get disabled(){return this.group&&this.group.disabled||this._disabled}set disabled(i){this._disabled=i}get disableRipple(){return!!(this._parent&&this._parent.disableRipple)}get hideSingleSelectionIndicator(){return!!(this._parent&&this._parent.hideSingleSelectionIndicator)}constructor(i,n,o,a){this._element=i,this._changeDetectorRef=n,this._parent=o,this.group=a,this._selected=!1,this._active=!1,this._disabled=!1,this._mostRecentViewValue="",this.id=`mat-option-${V_++}`,this.onSelectionChange=new Z,this._stateChanges=new H}get active(){return this._active}get viewValue(){return(this._text?.nativeElement.textContent||"").trim()}select(i=!0){this._selected||(this._selected=!0,this._changeDetectorRef.markForCheck(),i&&this._emitSelectionChangeEvent())}deselect(i=!0){this._selected&&(this._selected=!1,this._changeDetectorRef.markForCheck(),i&&this._emitSelectionChangeEvent())}focus(i,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(i){(i.keyCode===13||i.keyCode===32)&&!Ze(i)&&(this._selectViaInteraction(),i.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 i=this.viewValue;i!==this._mostRecentViewValue&&(this._mostRecentViewValue&&this._stateChanges.next(),this._mostRecentViewValue=i)}}ngOnDestroy(){this._stateChanges.complete()}_emitSelectionChangeEvent(i=!1){this.onSelectionChange.emit(new lr(this,i))}};t.\u0275fac=function(n){return new(n||t)(v($),v(Ct),v(pl,8),v(gl,8))},t.\u0275cmp=K({type:t,selectors:[["mat-option"]],viewQuery:function(n,o){if(n&1&&gt(M_,7),n&2){let a;Y(a=q())&&(o._text=a.first)}},hostAttrs:["role","option",1,"mat-mdc-option","mdc-list-item"],hostVars:11,hostBindings:function(n,o){n&1&&J("click",function(){return o._selectViaInteraction()})("keydown",function(s){return o._handleKeydown(s)}),n&2&&(Li("id",o.id),ct("aria-selected",o.selected)("aria-disabled",o.disabled.toString()),L("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:[k.HasDecoratorInputTransform,"disabled","disabled",tt]},outputs:{onSelectionChange:"onSelectionChange"},exportAs:["matOption"],standalone:!0,features:[ht,Q],ngContentSelectors:R_,decls:8,vars:5,consts:[["class","mat-mdc-option-pseudo-checkbox","aria-hidden","true",3,"disabled","state"],[1,"mdc-list-item__primary-text"],["text",""],["class","mat-mdc-option-pseudo-checkbox","state","checked","aria-hidden","true","appearance","minimal",3,"disabled"],["class","cdk-visually-hidden"],["aria-hidden","true","mat-ripple","",1,"mat-mdc-option-ripple","mat-mdc-focus-indicator",3,"matRippleTrigger","matRippleDisabled"],["aria-hidden","true",1,"mat-mdc-option-pseudo-checkbox",3,"disabled","state"],["state","checked","aria-hidden","true","appearance","minimal",1,"mat-mdc-option-pseudo-checkbox",3,"disabled"],[1,"cdk-visually-hidden"]],template:function(n,o){n&1&&(Ot(T_),T(0,A_,1,2,"mat-pseudo-checkbox",0),rt(1),m(2,"span",1,2),rt(4,1),h(),T(5,O_,1,1,"mat-pseudo-checkbox",3)(6,D_,2,1,"span",4),R(7,"div",5)),n&2&&(Et(0,o.multiple?0:-1),b(5),Et(5,!o.multiple&&o.selected&&!o.hideSingleSelectionIndicator?5:-1),b(),Et(6,o.group&&o.group._inert?6:-1),b(),E("matRippleTrigger",o._getHostElement())("matRippleDisabled",o.disabled||o.disableRipple))},dependencies:[L_,Vo],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 e=t;return e})();function dh(e,t,r){if(r.length){let i=t.toArray(),n=r.toArray(),o=0;for(let a=0;a<e+1;a++)i[a].group&&i[a].group===n[o]&&o++;return o}return 0}function uh(e,t,r,i){return e<r?e:e+t>r+i?Math.max(0,e-i+t):r}var bl=(()=>{let t=class t{};t.\u0275fac=function(n){return new(n||t)},t.\u0275mod=z({type:t}),t.\u0275inj=B({imports:[cr,st,j_]});let e=t;return e})(),rh={capture:!0},oh=["focus","click","mouseenter","touchstart"],cl="mat-ripple-loader-uninitialized",dl="mat-ripple-loader-class-name",ah="mat-ripple-loader-centered",Lo="mat-ripple-loader-disabled",hh=(()=>{let t=class t{constructor(){this._document=I(j,{optional:!0}),this._animationMode=I(Nt,{optional:!0}),this._globalRippleOptions=I(ch,{optional:!0}),this._platform=I(et),this._ngZone=I(N),this._hosts=new Map,this._onInteraction=i=>{if(!(i.target instanceof HTMLElement))return;let o=i.target.closest(`[${cl}]`);o&&this._createRipple(o)},this._ngZone.runOutsideAngular(()=>{for(let i of oh)this._document?.addEventListener(i,this._onInteraction,rh)})}ngOnDestroy(){let i=this._hosts.keys();for(let n of i)this.destroyRipple(n);for(let n of oh)this._document?.removeEventListener(n,this._onInteraction,rh)}configureRipple(i,n){i.setAttribute(cl,""),(n.className||!i.hasAttribute(dl))&&i.setAttribute(dl,n.className||""),n.centered&&i.setAttribute(ah,""),n.disabled&&i.setAttribute(Lo,"")}getRipple(i){return this._hosts.get(i)||this._createRipple(i)}setDisabled(i,n){let o=this._hosts.get(i);if(o){o.disabled=n;return}n?i.setAttribute(Lo,""):i.removeAttribute(Lo)}_createRipple(i){if(!this._document)return;let n=this._hosts.get(i);if(n)return n;i.querySelector(".mat-ripple")?.remove();let o=this._document.createElement("span");o.classList.add("mat-ripple",i.getAttribute(dl)),i.append(o);let a=new Vo(new $(o),this._ngZone,this._platform,this._globalRippleOptions?this._globalRippleOptions:void 0,this._animationMode?this._animationMode:void 0);return a._isInitialized=!0,a.trigger=i,a.centered=i.hasAttribute(ah),a.disabled=i.hasAttribute(Lo),this.attachRipple(i,a),a}attachRipple(i,n){i.removeAttribute(cl),this._hosts.set(i,n)}destroyRipple(i){let n=this._hosts.get(i);n&&(n.ngOnDestroy(),this._hosts.delete(i))}};t.\u0275fac=function(n){return new(n||t)},t.\u0275prov=M({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})();var z_=["notch"],B_=["matFormFieldNotchedOutline",""],U_=["*"],$_=["textField"],H_=["iconPrefixContainer"],W_=["textPrefixContainer"];function G_(e,t){e&1&&R(0,"span",16)}function Y_(e,t){if(e&1&&(m(0,"label",14),rt(1,1),T(2,G_,1,0,"span",15),h()),e&2){let r=D(2);E("floating",r._shouldLabelFloat())("monitorResize",r._hasOutline())("id",r._labelId),ct("for",r._control.id),b(2),Et(2,!r.hideRequiredMarker&&r._control.required?2:-1)}}function q_(e,t){if(e&1&&T(0,Y_,3,5,"label",14),e&2){let r=D();Et(0,r._hasFloatingLabel()?0:-1)}}function X_(e,t){e&1&&R(0,"div",17)}function Z_(e,t){}function K_(e,t){if(e&1&&T(0,Z_,0,0,"ng-template",9),e&2){D(2);let r=dt(1);E("ngTemplateOutlet",r)}}function Q_(e,t){if(e&1&&(m(0,"div",5),T(1,K_,1,1,null,9),h()),e&2){let r=D();E("matFormFieldNotchedOutlineOpen",r._shouldLabelFloat()),b(),Et(1,r._forceDisplayInfixLabel()?-1:1)}}function J_(e,t){e&1&&(m(0,"div",18,19),rt(2,2),h())}function tv(e,t){e&1&&(m(0,"div",20,21),rt(2,3),h())}function ev(e,t){}function iv(e,t){if(e&1&&T(0,ev,0,0,"ng-template",9),e&2){D();let r=dt(1);E("ngTemplateOutlet",r)}}function nv(e,t){e&1&&(m(0,"div",22),rt(1,4),h())}function rv(e,t){e&1&&(m(0,"div",23),rt(1,5),h())}function ov(e,t){e&1&&R(0,"div",12)}function av(e,t){if(e&1&&(m(0,"div",24),rt(1,6),h()),e&2){let r=D();E("@transitionMessages",r._subscriptAnimationState)}}function sv(e,t){if(e&1&&(m(0,"mat-hint",26),g(1),h()),e&2){let r=D(2);E("id",r._hintLabelId),b(),bt(r.hintLabel)}}function lv(e,t){if(e&1&&(m(0,"div",25),T(1,sv,2,2,"mat-hint",26),rt(2,7),R(3,"div",27),rt(4,8),h()),e&2){let r=D();E("@transitionMessages",r._subscriptAnimationState),b(),Et(1,r.hintLabel?1:-1)}}var cv=["*",[["mat-label"]],[["","matPrefix",""],["","matIconPrefix",""]],[["","matTextPrefix",""]],[["","matTextSuffix",""]],[["","matSuffix",""],["","matIconSuffix",""]],[["mat-error"],["","matError",""]],[["mat-hint",3,"align","end"]],[["mat-hint","align","end"]]],dv=["*","mat-label","[matPrefix], [matIconPrefix]","[matTextPrefix]","[matTextSuffix]","[matSuffix], [matIconSuffix]","mat-error, [matError]","mat-hint:not([align='end'])","mat-hint[align='end']"],Uo=(()=>{let t=class t{};t.\u0275fac=function(n){return new(n||t)},t.\u0275dir=G({type:t,selectors:[["mat-label"]],standalone:!0});let e=t;return e})();var uv=new F("MatError");var hv=0,fh=(()=>{let t=class t{constructor(){this.align="start",this.id=`mat-mdc-hint-${hv++}`}};t.\u0275fac=function(n){return new(n||t)},t.\u0275dir=G({type:t,selectors:[["mat-hint"]],hostAttrs:[1,"mat-mdc-form-field-hint","mat-mdc-form-field-bottom-align"],hostVars:4,hostBindings:function(n,o){n&2&&(Li("id",o.id),ct("align",null),L("mat-mdc-form-field-hint-end",o.align==="end"))},inputs:{align:"align",id:"id"},standalone:!0});let e=t;return e})(),mv=new F("MatPrefix");var wh=new F("MatSuffix"),Ch=(()=>{let t=class t{constructor(){this._isText=!1}set _isTextSelector(i){this._isText=!0}};t.\u0275fac=function(n){return new(n||t)},t.\u0275dir=G({type:t,selectors:[["","matSuffix",""],["","matIconSuffix",""],["","matTextSuffix",""]],inputs:{_isTextSelector:[k.None,"matTextSuffix","_isTextSelector"]},standalone:!0,features:[_t([{provide:wh,useExisting:t}])]});let e=t;return e})(),Eh=new F("FloatingLabelParent"),ph=(()=>{let t=class t{get floating(){return this._floating}set floating(i){this._floating=i,this.monitorResize&&this._handleResize()}get monitorResize(){return this._monitorResize}set monitorResize(i){this._monitorResize=i,this._monitorResize?this._subscribeToResize():this._resizeSubscription.unsubscribe()}constructor(i){this._elementRef=i,this._floating=!1,this._monitorResize=!1,this._resizeObserver=I(zu),this._ngZone=I(N),this._parent=I(Eh),this._resizeSubscription=new Ft}ngOnDestroy(){this._resizeSubscription.unsubscribe()}getWidth(){return fv(this._elementRef.nativeElement)}get element(){return this._elementRef.nativeElement}_handleResize(){setTimeout(()=>this._parent._handleLabelResized())}_subscribeToResize(){this._resizeSubscription.unsubscribe(),this._ngZone.runOutsideAngular(()=>{this._resizeSubscription=this._resizeObserver.observe(this._elementRef.nativeElement,{box:"border-box"}).subscribe(()=>this._handleResize())})}};t.\u0275fac=function(n){return new(n||t)(v($))},t.\u0275dir=G({type:t,selectors:[["label","matFormFieldFloatingLabel",""]],hostAttrs:[1,"mdc-floating-label","mat-mdc-floating-label"],hostVars:2,hostBindings:function(n,o){n&2&&L("mdc-floating-label--float-above",o.floating)},inputs:{floating:"floating",monitorResize:"monitorResize"},standalone:!0});let e=t;return e})();function fv(e){let t=e;if(t.offsetParent!==null)return t.scrollWidth;let r=t.cloneNode(!0);r.style.setProperty("position","absolute"),r.style.setProperty("transform","translate(-9999px, -9999px)"),document.documentElement.appendChild(r);let i=r.scrollWidth;return r.remove(),i}var gh="mdc-line-ripple--active",Bo="mdc-line-ripple--deactivating",bh=(()=>{let t=class t{constructor(i,n){this._elementRef=i,this._handleTransitionEnd=o=>{let a=this._elementRef.nativeElement.classList,s=a.contains(Bo);o.propertyName==="opacity"&&s&&a.remove(gh,Bo)},n.runOutsideAngular(()=>{i.nativeElement.addEventListener("transitionend",this._handleTransitionEnd)})}activate(){let i=this._elementRef.nativeElement.classList;i.remove(Bo),i.add(gh)}deactivate(){this._elementRef.nativeElement.classList.add(Bo)}ngOnDestroy(){this._elementRef.nativeElement.removeEventListener("transitionend",this._handleTransitionEnd)}};t.\u0275fac=function(n){return new(n||t)(v($),v(N))},t.\u0275dir=G({type:t,selectors:[["div","matFormFieldLineRipple",""]],hostAttrs:[1,"mdc-line-ripple"],standalone:!0});let e=t;return e})(),_h=(()=>{let t=class t{constructor(i,n){this._elementRef=i,this._ngZone=n,this.open=!1}ngAfterViewInit(){let i=this._elementRef.nativeElement.querySelector(".mdc-floating-label");i?(this._elementRef.nativeElement.classList.add("mdc-notched-outline--upgraded"),typeof requestAnimationFrame=="function"&&(i.style.transitionDuration="0s",this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>i.style.transitionDuration="")}))):this._elementRef.nativeElement.classList.add("mdc-notched-outline--no-label")}_setNotchWidth(i){!this.open||!i?this._notch.nativeElement.style.width="":this._notch.nativeElement.style.width=`calc(${i}px * var(--mat-mdc-form-field-floating-label-scale, 0.75) + 9px)`}};t.\u0275fac=function(n){return new(n||t)(v($),v(N))},t.\u0275cmp=K({type:t,selectors:[["div","matFormFieldNotchedOutline",""]],viewQuery:function(n,o){if(n&1&&gt(z_,5),n&2){let a;Y(a=q())&&(o._notch=a.first)}},hostAttrs:[1,"mdc-notched-outline"],hostVars:2,hostBindings:function(n,o){n&2&&L("mdc-notched-outline--notched",o.open)},inputs:{open:[k.None,"matFormFieldNotchedOutlineOpen","open"]},standalone:!0,features:[Q],attrs:B_,ngContentSelectors:U_,decls:5,vars:0,consts:[[1,"mdc-notched-outline__leading"],[1,"mdc-notched-outline__notch"],["notch",""],[1,"mdc-notched-outline__trailing"]],template:function(n,o){n&1&&(Ot(),R(0,"div",0),m(1,"div",1,2),rt(3),h(),R(4,"div",3))},encapsulation:2,changeDetection:0});let e=t;return e})(),pv={transitionMessages:to("transitionMessages",[eo("enter",Ve({opacity:1,transform:"translateY(0%)"})),In("void => enter",[Ve({opacity:0,transform:"translateY(-5px)"}),zi("300ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])},_l=(()=>{let t=class t{};t.\u0275fac=function(n){return new(n||t)},t.\u0275dir=G({type:t});let e=t;return e})();var dr=new F("MatFormField"),gv=new F("MAT_FORM_FIELD_DEFAULT_OPTIONS"),vh=0,yh="fill",bv="auto",xh="fixed",_v="translateY(-50%)",Ih=(()=>{let t=class t{get hideRequiredMarker(){return this._hideRequiredMarker}set hideRequiredMarker(i){this._hideRequiredMarker=wi(i)}get floatLabel(){return this._floatLabel||this._defaults?.floatLabel||bv}set floatLabel(i){i!==this._floatLabel&&(this._floatLabel=i,this._changeDetectorRef.markForCheck())}get appearance(){return this._appearance}set appearance(i){let n=this._appearance,o=i||this._defaults?.appearance||yh;this._appearance=o,this._appearance==="outline"&&this._appearance!==n&&(this._needsOutlineLabelOffsetUpdateOnStable=!0)}get subscriptSizing(){return this._subscriptSizing||this._defaults?.subscriptSizing||xh}set subscriptSizing(i){this._subscriptSizing=i||this._defaults?.subscriptSizing||xh}get hintLabel(){return this._hintLabel}set hintLabel(i){this._hintLabel=i,this._processHints()}get _control(){return this._explicitFormFieldControl||this._formFieldControl}set _control(i){this._explicitFormFieldControl=i}constructor(i,n,o,a,s,l,c,d){this._elementRef=i,this._changeDetectorRef=n,this._ngZone=o,this._dir=a,this._platform=s,this._defaults=l,this._animationMode=c,this._hideRequiredMarker=!1,this.color="primary",this._appearance=yh,this._subscriptSizing=null,this._hintLabel="",this._hasIconPrefix=!1,this._hasTextPrefix=!1,this._hasIconSuffix=!1,this._hasTextSuffix=!1,this._labelId=`mat-mdc-form-field-label-${vh++}`,this._hintLabelId=`mat-mdc-hint-${vh++}`,this._subscriptAnimationState="",this._destroyed=new H,this._isFocused=null,this._needsOutlineLabelOffsetUpdateOnStable=!1,l&&(l.appearance&&(this.appearance=l.appearance),this._hideRequiredMarker=!!l?.hideRequiredMarker,l.color&&(this.color=l.color))}ngAfterViewInit(){this._updateFocusState(),this._subscriptAnimationState="enter",this._changeDetectorRef.detectChanges()}ngAfterContentInit(){this._assertFormFieldControl(),this._initializeControl(),this._initializeSubscript(),this._initializePrefixAndSuffix(),this._initializeOutlineLabelOffsetSubscriptions()}ngAfterContentChecked(){this._assertFormFieldControl()}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete()}getLabelId(){return this._hasFloatingLabel()?this._labelId:null}getConnectedOverlayOrigin(){return this._textField||this._elementRef}_animateAndLockLabel(){this._hasFloatingLabel()&&(this.floatLabel="always")}_initializeControl(){let i=this._control;i.controlType&&this._elementRef.nativeElement.classList.add(`mat-mdc-form-field-type-${i.controlType}`),i.stateChanges.subscribe(()=>{this._updateFocusState(),this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),i.ngControl&&i.ngControl.valueChanges&&i.ngControl.valueChanges.pipe(Pt(this._destroyed)).subscribe(()=>this._changeDetectorRef.markForCheck())}_checkPrefixAndSuffixTypes(){this._hasIconPrefix=!!this._prefixChildren.find(i=>!i._isText),this._hasTextPrefix=!!this._prefixChildren.find(i=>i._isText),this._hasIconSuffix=!!this._suffixChildren.find(i=>!i._isText),this._hasTextSuffix=!!this._suffixChildren.find(i=>i._isText)}_initializePrefixAndSuffix(){this._checkPrefixAndSuffixTypes(),Ee(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(Pt(this._destroyed)).subscribe(()=>{this._needsOutlineLabelOffsetUpdateOnStable&&(this._needsOutlineLabelOffsetUpdateOnStable=!1,this._updateOutlineLabelOffset())})}),this._dir.change.pipe(Pt(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(i){let n=this._control?this._control.ngControl:null;return n&&n[i]}_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 i=[];if(this._control.userAriaDescribedBy&&typeof this._control.userAriaDescribedBy=="string"&&i.push(...this._control.userAriaDescribedBy.split(" ")),this._getDisplayedMessages()==="hint"){let n=this._hintChildren?this._hintChildren.find(a=>a.align==="start"):null,o=this._hintChildren?this._hintChildren.find(a=>a.align==="end"):null;n?i.push(n.id):this._hintLabel&&i.push(this._hintLabelId),o&&i.push(o.id)}else this._errorChildren&&i.push(...this._errorChildren.map(n=>n.id));this._control.setDescribedByIds(i)}}_updateOutlineLabelOffset(){if(!this._platform.isBrowser||!this._hasOutline()||!this._floatingLabel)return;let i=this._floatingLabel.element;if(!(this._iconPrefixContainer||this._textPrefixContainer)){i.style.transform="";return}if(!this._isAttachedToDom()){this._needsOutlineLabelOffsetUpdateOnStable=!0;return}let n=this._iconPrefixContainer?.nativeElement,o=this._textPrefixContainer?.nativeElement,a=n?.getBoundingClientRect().width??0,s=o?.getBoundingClientRect().width??0,l=this._dir.value==="rtl"?"-1":"1",c=`${a+s}px`,u=`calc(${l} * (${c} + var(--mat-mdc-form-field-label-offset-x, 0px)))`;i.style.transform=`var(
        --mat-mdc-form-field-label-transform,
        ${_v} translateX(${u})
    )`}_isAttachedToDom(){let i=this._elementRef.nativeElement;if(i.getRootNode){let n=i.getRootNode();return n&&n!==i}return document.documentElement.contains(i)}};t.\u0275fac=function(n){return new(n||t)(v($),v(Ct),v(N),v(Qi),v(et),v(gv,8),v(Nt,8),v(j))},t.\u0275cmp=K({type:t,selectors:[["mat-form-field"]],contentQueries:function(n,o,a){if(n&1&&(kt(a,Uo,5),kt(a,Uo,7),kt(a,_l,5),kt(a,mv,5),kt(a,wh,5),kt(a,uv,5),kt(a,fh,5)),n&2){let s;Y(s=q())&&(o._labelChildNonStatic=s.first),Y(s=q())&&(o._labelChildStatic=s.first),Y(s=q())&&(o._formFieldControl=s.first),Y(s=q())&&(o._prefixChildren=s),Y(s=q())&&(o._suffixChildren=s),Y(s=q())&&(o._errorChildren=s),Y(s=q())&&(o._hintChildren=s)}},viewQuery:function(n,o){if(n&1&&(gt($_,5),gt(H_,5),gt(W_,5),gt(ph,5),gt(_h,5),gt(bh,5)),n&2){let a;Y(a=q())&&(o._textField=a.first),Y(a=q())&&(o._iconPrefixContainer=a.first),Y(a=q())&&(o._textPrefixContainer=a.first),Y(a=q())&&(o._floatingLabel=a.first),Y(a=q())&&(o._notchedOutline=a.first),Y(a=q())&&(o._lineRipple=a.first)}},hostAttrs:[1,"mat-mdc-form-field"],hostVars:42,hostBindings:function(n,o){n&2&&L("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:[_t([{provide:dr,useExisting:t},{provide:Eh,useExisting:t}]),Q],ngContentSelectors:dv,decls:18,vars:21,consts:[["labelTemplate",""],[1,"mat-mdc-text-field-wrapper","mdc-text-field",3,"click"],["textField",""],["class","mat-mdc-form-field-focus-overlay"],[1,"mat-mdc-form-field-flex"],["matFormFieldNotchedOutline","",3,"matFormFieldNotchedOutlineOpen"],["class","mat-mdc-form-field-icon-prefix"],["class","mat-mdc-form-field-text-prefix"],[1,"mat-mdc-form-field-infix"],[3,"ngTemplateOutlet"],["class","mat-mdc-form-field-text-suffix"],["class","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","class","mat-mdc-form-field-required-marker mdc-floating-label--required"],["aria-hidden","true",1,"mat-mdc-form-field-required-marker","mdc-floating-label--required"],[1,"mat-mdc-form-field-focus-overlay"],[1,"mat-mdc-form-field-icon-prefix"],["iconPrefixContainer",""],[1,"mat-mdc-form-field-text-prefix"],["textPrefixContainer",""],[1,"mat-mdc-form-field-text-suffix"],[1,"mat-mdc-form-field-icon-suffix"],[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&&(Ot(cv),T(0,q_,1,1,"ng-template",null,0,Gr),m(2,"div",1,2),J("click",function(s){return o._control.onContainerClick(s)}),T(4,X_,1,0,"div",3),m(5,"div",4),T(6,Q_,2,2,"div",5)(7,J_,3,0,"div",6)(8,tv,3,0,"div",7),m(9,"div",8),T(10,iv,1,1,null,9),rt(11),h(),T(12,nv,2,0,"div",10)(13,rv,2,0,"div",11),h(),T(14,ov,1,0,"div",12),h(),m(15,"div",13),T(16,av,2,1)(17,lv,5,2),h()),n&2){let a;b(2),L("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),b(2),Et(4,!o._hasOutline()&&!o._control.disabled?4:-1),b(2),Et(6,o._hasOutline()?6:-1),b(),Et(7,o._hasIconPrefix?7:-1),b(),Et(8,o._hasTextPrefix?8:-1),b(2),Et(10,!o._hasOutline()||o._forceDisplayInfixLabel()?10:-1),b(2),Et(12,o._hasTextSuffix?12:-1),b(),Et(13,o._hasIconSuffix?13:-1),b(),Et(14,o._hasOutline()?-1:14),b(),L("mat-mdc-form-field-subscript-dynamic-size",o.subscriptSizing==="dynamic"),b(),Et(16,(a=o._getDisplayedMessages())==="error"?16:a==="hint"?17:-1)}},dependencies:[ph,_h,Qr,bh,fh],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}.mat-mdc-form-field:not(.mat-form-field-disabled) .mat-mdc-floating-label.mdc-floating-label{cursor:inherit}.mdc-text-field--no-label:not(.mdc-text-field--textarea) .mat-mdc-form-field-input-control.mdc-text-field__input,.mat-mdc-text-field-wrapper .mat-mdc-form-field-input-control{height:auto}.mat-mdc-text-field-wrapper .mat-mdc-form-field-input-control.mdc-text-field__input[type=color]{height:23px}.mat-mdc-text-field-wrapper{height:auto;flex:auto}.mat-mdc-form-field-has-icon-prefix .mat-mdc-text-field-wrapper{padding-left:0;--mat-mdc-form-field-label-offset-x: -16px}.mat-mdc-form-field-has-icon-suffix .mat-mdc-text-field-wrapper{padding-right:0}[dir=rtl] .mat-mdc-text-field-wrapper{padding-left:16px;padding-right:16px}[dir=rtl] .mat-mdc-form-field-has-icon-suffix .mat-mdc-text-field-wrapper{padding-left:0}[dir=rtl] .mat-mdc-form-field-has-icon-prefix .mat-mdc-text-field-wrapper{padding-right:0}.mat-form-field-disabled .mdc-text-field__input::placeholder{color:var(--mat-form-field-disabled-input-text-placeholder-color)}.mat-form-field-disabled .mdc-text-field__input::-moz-placeholder{color:var(--mat-form-field-disabled-input-text-placeholder-color)}.mat-form-field-disabled .mdc-text-field__input::-webkit-input-placeholder{color:var(--mat-form-field-disabled-input-text-placeholder-color)}.mat-form-field-disabled .mdc-text-field__input:-ms-input-placeholder{color:var(--mat-form-field-disabled-input-text-placeholder-color)}.mat-mdc-form-field-label-always-float .mdc-text-field__input::placeholder{transition-delay:40ms;transition-duration:110ms;opacity:1}.mat-mdc-text-field-wrapper .mat-mdc-form-field-infix .mat-mdc-floating-label{left:auto;right:auto}.mat-mdc-text-field-wrapper.mdc-text-field--outlined .mdc-text-field__input{display:inline-block}.mat-mdc-form-field .mat-mdc-text-field-wrapper.mdc-text-field .mdc-notched-outline__notch{padding-top:0}.mat-mdc-text-field-wrapper::before{content:none}.mat-mdc-form-field.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%}.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:[pv.transitionMessages]},changeDetection:0});let e=t;return e})(),ur=(()=>{let t=class t{};t.\u0275fac=function(n){return new(n||t)},t.\u0275mod=z({type:t}),t.\u0275inj=B({imports:[st,Kt,Uu,st]});let e=t;return e})();var $o=class{get selected(){return this._selected||(this._selected=Array.from(this._selection.values())),this._selected}constructor(t=!1,r,i=!0,n){this._multiple=t,this._emitChanges=i,this.compareWith=n,this._selection=new Set,this._deselectedToEmit=[],this._selectedToEmit=[],this.changed=new H,r&&r.length&&(t?r.forEach(o=>this._markSelected(o)):this._markSelected(r[0]),this._selectedToEmit.length=0)}select(...t){this._verifyValueAssignment(t),t.forEach(i=>this._markSelected(i));let r=this._hasQueuedChanges();return this._emitChangeEvent(),r}deselect(...t){this._verifyValueAssignment(t),t.forEach(i=>this._unmarkSelected(i));let r=this._hasQueuedChanges();return this._emitChangeEvent(),r}setSelection(...t){this._verifyValueAssignment(t);let r=this.selected,i=new Set(t);t.forEach(o=>this._markSelected(o)),r.filter(o=>!i.has(this._getConcreteValue(o,i))).forEach(o=>this._unmarkSelected(o));let n=this._hasQueuedChanges();return this._emitChangeEvent(),n}toggle(t){return this.isSelected(t)?this.deselect(t):this.select(t)}clear(t=!0){this._unmarkAll();let r=this._hasQueuedChanges();return t&&this._emitChangeEvent(),r}isSelected(t){return this._selection.has(this._getConcreteValue(t))}isEmpty(){return this._selection.size===0}hasValue(){return!this.isEmpty()}sort(t){this._multiple&&this.selected&&this._selected.sort(t)}isMultipleSelection(){return this._multiple}_emitChangeEvent(){this._selected=null,(this._selectedToEmit.length||this._deselectedToEmit.length)&&(this.changed.next({source:this,added:this._selectedToEmit,removed:this._deselectedToEmit}),this._deselectedToEmit=[],this._selectedToEmit=[])}_markSelected(t){t=this._getConcreteValue(t),this.isSelected(t)||(this._multiple||this._unmarkAll(),this.isSelected(t)||this._selection.add(t),this._emitChanges&&this._selectedToEmit.push(t))}_unmarkSelected(t){t=this._getConcreteValue(t),this.isSelected(t)&&(this._selection.delete(t),this._emitChanges&&this._deselectedToEmit.push(t))}_unmarkAll(){this.isEmpty()||this._selection.forEach(t=>this._unmarkSelected(t))}_verifyValueAssignment(t){t.length>1&&this._multiple}_hasQueuedChanges(){return!!(this._deselectedToEmit.length||this._selectedToEmit.length)}_getConcreteValue(t,r){if(this.compareWith){r=r??this._selection;for(let i of r)if(this.compareWith(t,i))return i;return t}else return t}};var yv=20,Sh=(()=>{let t=class t{constructor(i,n,o){this._ngZone=i,this._platform=n,this._scrolled=new H,this._globalSubscription=null,this._scrolledCount=0,this.scrollContainers=new Map,this._document=o}register(i){this.scrollContainers.has(i)||this.scrollContainers.set(i,i.elementScrolled().subscribe(()=>this._scrolled.next(i)))}deregister(i){let n=this.scrollContainers.get(i);n&&(n.unsubscribe(),this.scrollContainers.delete(i))}scrolled(i=yv){return this._platform.isBrowser?new he(n=>{this._globalSubscription||this._addGlobalListener();let o=i>0?this._scrolled.pipe(La(i)).subscribe(n):this._scrolled.subscribe(n);return this._scrolledCount++,()=>{o.unsubscribe(),this._scrolledCount--,this._scrolledCount||this._removeGlobalListener()}}):P()}ngOnDestroy(){this._removeGlobalListener(),this.scrollContainers.forEach((i,n)=>this.deregister(n)),this._scrolled.complete()}ancestorScrolled(i,n){let o=this.getAncestorScrollContainers(i);return this.scrolled(n).pipe(ft(a=>!a||o.indexOf(a)>-1))}getAncestorScrollContainers(i){let n=[];return this.scrollContainers.forEach((o,a)=>{this._scrollableContainsElement(a,i)&&n.push(a)}),n}_getWindow(){return this._document.defaultView||window}_scrollableContainsElement(i,n){let o=se(n),a=i.getElementRef().nativeElement;do if(o==a)return!0;while(o=o.parentElement);return!1}_addGlobalListener(){this._globalSubscription=this._ngZone.runOutsideAngular(()=>{let i=this._getWindow();return oi(i.document,"scroll").subscribe(()=>this._scrolled.next())})}_removeGlobalListener(){this._globalSubscription&&(this._globalSubscription.unsubscribe(),this._globalSubscription=null)}};t.\u0275fac=function(n){return new(n||t)(C(N),C(et),C(j,8))},t.\u0275prov=M({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})();var xv=20,hr=(()=>{let t=class t{constructor(i,n,o){this._platform=i,this._change=new H,this._changeListener=a=>{this._change.next(a)},this._document=o,n.runOutsideAngular(()=>{if(i.isBrowser){let a=this._getWindow();a.addEventListener("resize",this._changeListener),a.addEventListener("orientationchange",this._changeListener)}this.change().subscribe(()=>this._viewportSize=null)})}ngOnDestroy(){if(this._platform.isBrowser){let i=this._getWindow();i.removeEventListener("resize",this._changeListener),i.removeEventListener("orientationchange",this._changeListener)}this._change.complete()}getViewportSize(){this._viewportSize||this._updateViewportSize();let i={width:this._viewportSize.width,height:this._viewportSize.height};return this._platform.isBrowser||(this._viewportSize=null),i}getViewportRect(){let i=this.getViewportScrollPosition(),{width:n,height:o}=this.getViewportSize();return{top:i.top,left:i.left,bottom:i.top+o,right:i.left+n,height:o,width:n}}getViewportScrollPosition(){if(!this._platform.isBrowser)return{top:0,left:0};let i=this._document,n=this._getWindow(),o=i.documentElement,a=o.getBoundingClientRect(),s=-a.top||i.body.scrollTop||n.scrollY||o.scrollTop||0,l=-a.left||i.body.scrollLeft||n.scrollX||o.scrollLeft||0;return{top:s,left:l}}change(i=xv){return i>0?this._change.pipe(La(i)):this._change}_getWindow(){return this._document.defaultView||window}_updateViewportSize(){let i=this._getWindow();this._viewportSize=this._platform.isBrowser?{width:i.innerWidth,height:i.innerHeight}:{width:0,height:0}}};t.\u0275fac=function(n){return new(n||t)(C(et),C(N),C(j,8))},t.\u0275prov=M({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})();var Ho=(()=>{let t=class t{};t.\u0275fac=function(n){return new(n||t)},t.\u0275mod=z({type:t}),t.\u0275inj=B({});let e=t;return e})(),vl=(()=>{let t=class t{};t.\u0275fac=function(n){return new(n||t)},t.\u0275mod=z({type:t}),t.\u0275inj=B({imports:[qe,Ho,qe,Ho]});let e=t;return e})();var mr=class{attach(t){return this._attachedHost=t,t.attach(this)}detach(){let t=this._attachedHost;t!=null&&(this._attachedHost=null,t.detach())}get isAttached(){return this._attachedHost!=null}setAttachedHost(t){this._attachedHost=t}},yl=class extends mr{constructor(t,r,i,n,o){super(),this.component=t,this.viewContainerRef=r,this.injector=i,this.componentFactoryResolver=n,this.projectableNodes=o}},nn=class extends mr{constructor(t,r,i,n){super(),this.templateRef=t,this.viewContainerRef=r,this.context=i,this.injector=n}get origin(){return this.templateRef.elementRef}attach(t,r=this.context){return this.context=r,super.attach(t)}detach(){return this.context=void 0,super.detach()}},xl=class extends mr{constructor(t){super(),this.element=t instanceof $?t.nativeElement:t}},wl=class{constructor(){this._isDisposed=!1,this.attachDomPortal=null}hasAttached(){return!!this._attachedPortal}attach(t){if(t instanceof yl)return this._attachedPortal=t,this.attachComponentPortal(t);if(t instanceof nn)return this._attachedPortal=t,this.attachTemplatePortal(t);if(this.attachDomPortal&&t instanceof xl)return this._attachedPortal=t,this.attachDomPortal(t)}detach(){this._attachedPortal&&(this._attachedPortal.setAttachedHost(null),this._attachedPortal=null),this._invokeDisposeFn()}dispose(){this.hasAttached()&&this.detach(),this._invokeDisposeFn(),this._isDisposed=!0}setDisposeFn(t){this._disposeFn=t}_invokeDisposeFn(){this._disposeFn&&(this._disposeFn(),this._disposeFn=null)}};var Wo=class extends wl{constructor(t,r,i,n,o){super(),this.outletElement=t,this._componentFactoryResolver=r,this._appRef=i,this._defaultInjector=n,this.attachDomPortal=a=>{this._document;let s=a.element;s.parentNode;let l=this._document.createComment("dom-portal");s.parentNode.insertBefore(l,s),this.outletElement.appendChild(s),this._attachedPortal=a,super.setDisposeFn(()=>{l.parentNode&&l.parentNode.replaceChild(s,l)})},this._document=o}attachComponentPortal(t){let i=(t.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(t.component),n;return t.viewContainerRef?(n=t.viewContainerRef.createComponent(i,t.viewContainerRef.length,t.injector||t.viewContainerRef.injector,t.projectableNodes||void 0),this.setDisposeFn(()=>n.destroy())):(n=i.create(t.injector||this._defaultInjector||je.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=t,n}attachTemplatePortal(t){let r=t.viewContainerRef,i=r.createEmbeddedView(t.templateRef,t.context,{injector:t.injector});return i.rootNodes.forEach(n=>this.outletElement.appendChild(n)),i.detectChanges(),this.setDisposeFn(()=>{let n=r.indexOf(i);n!==-1&&r.remove(n)}),this._attachedPortal=t,i}dispose(){super.dispose(),this.outletElement.remove()}_getComponentRootNode(t){return t.hostView.rootNodes[0]}};var Ah=(()=>{let t=class t{};t.\u0275fac=function(n){return new(n||t)},t.\u0275mod=z({type:t}),t.\u0275inj=B({});let e=t;return e})();var Oh=ju(),Cl=class{constructor(t,r){this._viewportRuler=t,this._previousHTMLStyles={top:"",left:""},this._isEnabled=!1,this._document=r}attach(){}enable(){if(this._canBeEnabled()){let t=this._document.documentElement;this._previousScrollPosition=this._viewportRuler.getViewportScrollPosition(),this._previousHTMLStyles.left=t.style.left||"",this._previousHTMLStyles.top=t.style.top||"",t.style.left=pt(-this._previousScrollPosition.left),t.style.top=pt(-this._previousScrollPosition.top),t.classList.add("cdk-global-scrollblock"),this._isEnabled=!0}}disable(){if(this._isEnabled){let t=this._document.documentElement,r=this._document.body,i=t.style,n=r.style,o=i.scrollBehavior||"",a=n.scrollBehavior||"";this._isEnabled=!1,i.left=this._previousHTMLStyles.left,i.top=this._previousHTMLStyles.top,t.classList.remove("cdk-global-scrollblock"),Oh&&(i.scrollBehavior=n.scrollBehavior="auto"),window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top),Oh&&(i.scrollBehavior=o,n.scrollBehavior=a)}}_canBeEnabled(){if(this._document.documentElement.classList.contains("cdk-global-scrollblock")||this._isEnabled)return!1;let r=this._document.body,i=this._viewportRuler.getViewportSize();return r.scrollHeight>i.height||r.scrollWidth>i.width}};var El=class{constructor(t,r,i,n){this._scrollDispatcher=t,this._ngZone=r,this._viewportRuler=i,this._config=n,this._scrollSubscription=null,this._detach=()=>{this.disable(),this._overlayRef.hasAttached()&&this._ngZone.run(()=>this._overlayRef.detach())}}attach(t){this._overlayRef,this._overlayRef=t}enable(){if(this._scrollSubscription)return;let t=this._scrollDispatcher.scrolled(0).pipe(ft(r=>!r||!this._overlayRef.overlayElement.contains(r.getElementRef().nativeElement)));this._config&&this._config.threshold&&this._config.threshold>1?(this._initialScrollPosition=this._viewportRuler.getViewportScrollPosition().top,this._scrollSubscription=t.subscribe(()=>{let r=this._viewportRuler.getViewportScrollPosition().top;Math.abs(r-this._initialScrollPosition)>this._config.threshold?this._detach():this._overlayRef.updatePosition()})):this._scrollSubscription=t.subscribe(this._detach)}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}},Go=class{enable(){}disable(){}attach(){}};function Il(e,t){return t.some(r=>{let i=e.bottom<r.top,n=e.top>r.bottom,o=e.right<r.left,a=e.left>r.right;return i||n||o||a})}function Dh(e,t){return t.some(r=>{let i=e.top<r.top,n=e.bottom>r.bottom,o=e.left<r.left,a=e.right>r.right;return i||n||o||a})}var Sl=class{constructor(t,r,i,n){this._scrollDispatcher=t,this._viewportRuler=r,this._ngZone=i,this._config=n,this._scrollSubscription=null}attach(t){this._overlayRef,this._overlayRef=t}enable(){if(!this._scrollSubscription){let t=this._config?this._config.scrollThrottle:0;this._scrollSubscription=this._scrollDispatcher.scrolled(t).subscribe(()=>{if(this._overlayRef.updatePosition(),this._config&&this._config.autoClose){let r=this._overlayRef.overlayElement.getBoundingClientRect(),{width:i,height:n}=this._viewportRuler.getViewportSize();Il(r,[{width:i,height:n,bottom:n,right:i,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}},wv=(()=>{let t=class t{constructor(i,n,o,a){this._scrollDispatcher=i,this._viewportRuler=n,this._ngZone=o,this.noop=()=>new Go,this.close=s=>new El(this._scrollDispatcher,this._ngZone,this._viewportRuler,s),this.block=()=>new Cl(this._viewportRuler,this._document),this.reposition=s=>new Sl(this._scrollDispatcher,this._viewportRuler,this._ngZone,s),this._document=a}};t.\u0275fac=function(n){return new(n||t)(C(Sh),C(hr),C(N),C(j))},t.\u0275prov=M({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})(),fr=class{constructor(t){if(this.scrollStrategy=new Go,this.panelClass="",this.hasBackdrop=!1,this.backdropClass="cdk-overlay-dark-backdrop",this.disposeOnNavigation=!1,t){let r=Object.keys(t);for(let i of r)t[i]!==void 0&&(this[i]=t[i])}}};var Ml=class{constructor(t,r){this.connectionPair=t,this.scrollableViewProperties=r}};var Ph=(()=>{let t=class t{constructor(i){this._attachedOverlays=[],this._document=i}ngOnDestroy(){this.detach()}add(i){this.remove(i),this._attachedOverlays.push(i)}remove(i){let n=this._attachedOverlays.indexOf(i);n>-1&&this._attachedOverlays.splice(n,1),this._attachedOverlays.length===0&&this.detach()}};t.\u0275fac=function(n){return new(n||t)(C(j))},t.\u0275prov=M({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})(),Cv=(()=>{let t=class t extends Ph{constructor(i,n){super(i),this._ngZone=n,this._keydownListener=o=>{let a=this._attachedOverlays;for(let s=a.length-1;s>-1;s--)if(a[s]._keydownEvents.observers.length>0){let l=a[s]._keydownEvents;this._ngZone?this._ngZone.run(()=>l.next(o)):l.next(o);break}}}add(i){super.add(i),this._isAttached||(this._ngZone?this._ngZone.runOutsideAngular(()=>this._document.body.addEventListener("keydown",this._keydownListener)):this._document.body.addEventListener("keydown",this._keydownListener),this._isAttached=!0)}detach(){this._isAttached&&(this._document.body.removeEventListener("keydown",this._keydownListener),this._isAttached=!1)}};t.\u0275fac=function(n){return new(n||t)(C(j),C(N,8))},t.\u0275prov=M({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})(),Ev=(()=>{let t=class t extends Ph{constructor(i,n,o){super(i),this._platform=n,this._ngZone=o,this._cursorStyleIsSet=!1,this._pointerDownListener=a=>{this._pointerDownEventTarget=ie(a)},this._clickListener=a=>{let s=ie(a),l=a.type==="click"&&this._pointerDownEventTarget?this._pointerDownEventTarget:s;this._pointerDownEventTarget=null;let c=this._attachedOverlays.slice();for(let d=c.length-1;d>-1;d--){let u=c[d];if(u._outsidePointerEvents.observers.length<1||!u.hasAttached())continue;if(u.overlayElement.contains(s)||u.overlayElement.contains(l))break;let f=u._outsidePointerEvents;this._ngZone?this._ngZone.run(()=>f.next(a)):f.next(a)}}}add(i){if(super.add(i),!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 i=this._document.body;i.removeEventListener("pointerdown",this._pointerDownListener,!0),i.removeEventListener("click",this._clickListener,!0),i.removeEventListener("auxclick",this._clickListener,!0),i.removeEventListener("contextmenu",this._clickListener,!0),this._platform.IOS&&this._cursorStyleIsSet&&(i.style.cursor=this._cursorOriginalValue,this._cursorStyleIsSet=!1),this._isAttached=!1}}_addEventListeners(i){i.addEventListener("pointerdown",this._pointerDownListener,!0),i.addEventListener("click",this._clickListener,!0),i.addEventListener("auxclick",this._clickListener,!0),i.addEventListener("contextmenu",this._clickListener,!0)}};t.\u0275fac=function(n){return new(n||t)(C(j),C(et),C(N,8))},t.\u0275prov=M({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})(),Nh=(()=>{let t=class t{constructor(i,n){this._platform=n,this._document=i}ngOnDestroy(){this._containerElement?.remove()}getContainerElement(){return this._containerElement||this._createContainer(),this._containerElement}_createContainer(){let i="cdk-overlay-container";if(this._platform.isBrowser||ar()){let o=this._document.querySelectorAll(`.${i}[platform="server"], .${i}[platform="test"]`);for(let a=0;a<o.length;a++)o[a].remove()}let n=this._document.createElement("div");n.classList.add(i),ar()?n.setAttribute("platform","test"):this._platform.isBrowser||n.setAttribute("platform","server"),this._document.body.appendChild(n),this._containerElement=n}};t.\u0275fac=function(n){return new(n||t)(C(j),C(et))},t.\u0275prov=M({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})(),Al=class{constructor(t,r,i,n,o,a,s,l,c,d=!1){this._portalOutlet=t,this._host=r,this._pane=i,this._config=n,this._ngZone=o,this._keyboardDispatcher=a,this._document=s,this._location=l,this._outsideClickDispatcher=c,this._animationsDisabled=d,this._backdropElement=null,this._backdropClick=new H,this._attachments=new H,this._detachments=new H,this._locationChanges=Ft.EMPTY,this._backdropClickHandler=u=>this._backdropClick.next(u),this._backdropTransitionendHandler=u=>{this._disposeBackdrop(u.target)},this._keydownEvents=new H,this._outsidePointerEvents=new H,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(t){!this._host.parentElement&&this._previousHostParent&&this._previousHostParent.appendChild(this._host);let r=this._portalOutlet.attach(t);return this._positionStrategy&&this._positionStrategy.attach(this),this._updateStackingOrder(),this._updateElementSize(),this._updateElementDirection(),this._scrollStrategy&&this._scrollStrategy.enable(),this._ngZone.onStable.pipe(xt(1)).subscribe(()=>{this.hasAttached()&&this.updatePosition()}),this._togglePointerEvents(!0),this._config.hasBackdrop&&this._attachBackdrop(),this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!0),this._attachments.next(),this._keyboardDispatcher.add(this),this._config.disposeOnNavigation&&(this._locationChanges=this._location.subscribe(()=>this.dispose())),this._outsideClickDispatcher.add(this),typeof r?.onDestroy=="function"&&r.onDestroy(()=>{this.hasAttached()&&this._ngZone.runOutsideAngular(()=>Promise.resolve().then(()=>this.detach()))}),r}detach(){if(!this.hasAttached())return;this.detachBackdrop(),this._togglePointerEvents(!1),this._positionStrategy&&this._positionStrategy.detach&&this._positionStrategy.detach(),this._scrollStrategy&&this._scrollStrategy.disable();let t=this._portalOutlet.detach();return this._detachments.next(),this._keyboardDispatcher.remove(this),this._detachContentWhenStable(),this._locationChanges.unsubscribe(),this._outsideClickDispatcher.remove(this),t}dispose(){let t=this.hasAttached();this._positionStrategy&&this._positionStrategy.dispose(),this._disposeScrollStrategy(),this._disposeBackdrop(this._backdropElement),this._locationChanges.unsubscribe(),this._keyboardDispatcher.remove(this),this._portalOutlet.dispose(),this._attachments.complete(),this._backdropClick.complete(),this._keydownEvents.complete(),this._outsidePointerEvents.complete(),this._outsideClickDispatcher.remove(this),this._host?.remove(),this._previousHostParent=this._pane=this._host=null,t&&this._detachments.next(),this._detachments.complete()}hasAttached(){return this._portalOutlet.hasAttached()}backdropClick(){return this._backdropClick}attachments(){return this._attachments}detachments(){return this._detachments}keydownEvents(){return this._keydownEvents}outsidePointerEvents(){return this._outsidePointerEvents}getConfig(){return this._config}updatePosition(){this._positionStrategy&&this._positionStrategy.apply()}updatePositionStrategy(t){t!==this._positionStrategy&&(this._positionStrategy&&this._positionStrategy.dispose(),this._positionStrategy=t,this.hasAttached()&&(t.attach(this),this.updatePosition()))}updateSize(t){this._config=S(S({},this._config),t),this._updateElementSize()}setDirection(t){this._config=lt(S({},this._config),{direction:t}),this._updateElementDirection()}addPanelClass(t){this._pane&&this._toggleClasses(this._pane,t,!0)}removePanelClass(t){this._pane&&this._toggleClasses(this._pane,t,!1)}getDirection(){let t=this._config.direction;return t?typeof t=="string"?t:t.value:"ltr"}updateScrollStrategy(t){t!==this._scrollStrategy&&(this._disposeScrollStrategy(),this._scrollStrategy=t,this.hasAttached()&&(t.attach(this),t.enable()))}_updateElementDirection(){this._host.setAttribute("dir",this.getDirection())}_updateElementSize(){if(!this._pane)return;let t=this._pane.style;t.width=pt(this._config.width),t.height=pt(this._config.height),t.minWidth=pt(this._config.minWidth),t.minHeight=pt(this._config.minHeight),t.maxWidth=pt(this._config.maxWidth),t.maxHeight=pt(this._config.maxHeight)}_togglePointerEvents(t){this._pane.style.pointerEvents=t?"":"none"}_attachBackdrop(){let t="cdk-overlay-backdrop-showing";this._backdropElement=this._document.createElement("div"),this._backdropElement.classList.add("cdk-overlay-backdrop"),this._animationsDisabled&&this._backdropElement.classList.add("cdk-overlay-backdrop-noop-animation"),this._config.backdropClass&&this._toggleClasses(this._backdropElement,this._config.backdropClass,!0),this._host.parentElement.insertBefore(this._backdropElement,this._host),this._backdropElement.addEventListener("click",this._backdropClickHandler),!this._animationsDisabled&&typeof requestAnimationFrame<"u"?this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>{this._backdropElement&&this._backdropElement.classList.add(t)})}):this._backdropElement.classList.add(t)}_updateStackingOrder(){this._host.nextSibling&&this._host.parentNode.appendChild(this._host)}detachBackdrop(){let t=this._backdropElement;if(t){if(this._animationsDisabled){this._disposeBackdrop(t);return}t.classList.remove("cdk-overlay-backdrop-showing"),this._ngZone.runOutsideAngular(()=>{t.addEventListener("transitionend",this._backdropTransitionendHandler)}),t.style.pointerEvents="none",this._backdropTimeout=this._ngZone.runOutsideAngular(()=>setTimeout(()=>{this._disposeBackdrop(t)},500))}}_toggleClasses(t,r,i){let n=tn(r||[]).filter(o=>!!o);n.length&&(i?t.classList.add(...n):t.classList.remove(...n))}_detachContentWhenStable(){this._ngZone.runOutsideAngular(()=>{let t=this._ngZone.onStable.pipe(Pt(Ee(this._attachments,this._detachments))).subscribe(()=>{(!this._pane||!this._host||this._pane.children.length===0)&&(this._pane&&this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!1),this._host&&this._host.parentElement&&(this._previousHostParent=this._host.parentElement,this._host.remove()),t.unsubscribe())})})}_disposeScrollStrategy(){let t=this._scrollStrategy;t&&(t.disable(),t.detach&&t.detach())}_disposeBackdrop(t){t&&(t.removeEventListener("click",this._backdropClickHandler),t.removeEventListener("transitionend",this._backdropTransitionendHandler),t.remove(),this._backdropElement===t&&(this._backdropElement=null)),this._backdropTimeout&&(clearTimeout(this._backdropTimeout),this._backdropTimeout=void 0)}},Th="cdk-overlay-connected-position-bounding-box",Iv=/([A-Za-z%]+)$/,Ol=class{get positions(){return this._preferredPositions}constructor(t,r,i,n,o){this._viewportRuler=r,this._document=i,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 H,this._resizeSubscription=Ft.EMPTY,this._offsetX=0,this._offsetY=0,this._appliedPanelClasses=[],this.positionChanges=this._positionChanges,this.setOrigin(t)}attach(t){this._overlayRef&&this._overlayRef,this._validatePositions(),t.hostElement.classList.add(Th),this._overlayRef=t,this._boundingBox=t.hostElement,this._pane=t.overlayElement,this._isDisposed=!1,this._isInitialRender=!0,this._lastPosition=null,this._resizeSubscription.unsubscribe(),this._resizeSubscription=this._viewportRuler.change().subscribe(()=>{this._isInitialRender=!0,this.apply()})}apply(){if(this._isDisposed||!this._platform.isBrowser)return;if(!this._isInitialRender&&this._positionLocked&&this._lastPosition){this.reapplyLastPosition();return}this._clearPanelClasses(),this._resetOverlayElementStyles(),this._resetBoundingBoxStyles(),this._viewportRect=this._getNarrowedViewportRect(),this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._containerRect=this._overlayContainer.getContainerElement().getBoundingClientRect();let t=this._originRect,r=this._overlayRect,i=this._viewportRect,n=this._containerRect,o=[],a;for(let s of this._preferredPositions){let l=this._getOriginPoint(t,n,s),c=this._getOverlayPoint(l,r,s),d=this._getOverlayFit(c,r,i,s);if(d.isCompletelyWithinViewport){this._isPushed=!1,this._applyPosition(s,l);return}if(this._canFitWithFlexibleDimensions(d,c,i)){o.push({position:s,origin:l,overlayRect:r,boundingBoxRect:this._calculateBoundingBoxRect(l,s)});continue}(!a||a.overlayFit.visibleArea<d.visibleArea)&&(a={overlayFit:d,overlayPoint:c,originPoint:l,position:s,overlayRect:r})}if(o.length){let s=null,l=-1;for(let c of o){let d=c.boundingBoxRect.width*c.boundingBoxRect.height*(c.position.weight||1);d>l&&(l=d,s=c)}this._isPushed=!1,this._applyPosition(s.position,s.origin);return}if(this._canPush){this._isPushed=!0,this._applyPosition(a.position,a.originPoint);return}this._applyPosition(a.position,a.originPoint)}detach(){this._clearPanelClasses(),this._lastPosition=null,this._previousPushAmount=null,this._resizeSubscription.unsubscribe()}dispose(){this._isDisposed||(this._boundingBox&&Ii(this._boundingBox.style,{top:"",left:"",right:"",bottom:"",height:"",width:"",alignItems:"",justifyContent:""}),this._pane&&this._resetOverlayElementStyles(),this._overlayRef&&this._overlayRef.hostElement.classList.remove(Th),this.detach(),this._positionChanges.complete(),this._overlayRef=this._boundingBox=null,this._isDisposed=!0)}reapplyLastPosition(){if(this._isDisposed||!this._platform.isBrowser)return;let t=this._lastPosition;if(t){this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._viewportRect=this._getNarrowedViewportRect(),this._containerRect=this._overlayContainer.getContainerElement().getBoundingClientRect();let r=this._getOriginPoint(this._originRect,this._containerRect,t);this._applyPosition(t,r)}else this.apply()}withScrollableContainers(t){return this._scrollables=t,this}withPositions(t){return this._preferredPositions=t,t.indexOf(this._lastPosition)===-1&&(this._lastPosition=null),this._validatePositions(),this}withViewportMargin(t){return this._viewportMargin=t,this}withFlexibleDimensions(t=!0){return this._hasFlexibleDimensions=t,this}withGrowAfterOpen(t=!0){return this._growAfterOpen=t,this}withPush(t=!0){return this._canPush=t,this}withLockedPosition(t=!0){return this._positionLocked=t,this}setOrigin(t){return this._origin=t,this}withDefaultOffsetX(t){return this._offsetX=t,this}withDefaultOffsetY(t){return this._offsetY=t,this}withTransformOriginOn(t){return this._transformOriginSelector=t,this}_getOriginPoint(t,r,i){let n;if(i.originX=="center")n=t.left+t.width/2;else{let a=this._isRtl()?t.right:t.left,s=this._isRtl()?t.left:t.right;n=i.originX=="start"?a:s}r.left<0&&(n-=r.left);let o;return i.originY=="center"?o=t.top+t.height/2:o=i.originY=="top"?t.top:t.bottom,r.top<0&&(o-=r.top),{x:n,y:o}}_getOverlayPoint(t,r,i){let n;i.overlayX=="center"?n=-r.width/2:i.overlayX==="start"?n=this._isRtl()?-r.width:0:n=this._isRtl()?0:-r.width;let o;return i.overlayY=="center"?o=-r.height/2:o=i.overlayY=="top"?0:-r.height,{x:t.x+n,y:t.y+o}}_getOverlayFit(t,r,i,n){let o=kh(r),{x:a,y:s}=t,l=this._getOffset(n,"x"),c=this._getOffset(n,"y");l&&(a+=l),c&&(s+=c);let d=0-a,u=a+o.width-i.width,f=0-s,p=s+o.height-i.height,x=this._subtractOverflows(o.width,d,u),y=this._subtractOverflows(o.height,f,p),_=x*y;return{visibleArea:_,isCompletelyWithinViewport:o.width*o.height===_,fitsInViewportVertically:y===o.height,fitsInViewportHorizontally:x==o.width}}_canFitWithFlexibleDimensions(t,r,i){if(this._hasFlexibleDimensions){let n=i.bottom-r.y,o=i.right-r.x,a=Rh(this._overlayRef.getConfig().minHeight),s=Rh(this._overlayRef.getConfig().minWidth),l=t.fitsInViewportVertically||a!=null&&a<=n,c=t.fitsInViewportHorizontally||s!=null&&s<=o;return l&&c}return!1}_pushOverlayOnScreen(t,r,i){if(this._previousPushAmount&&this._positionLocked)return{x:t.x+this._previousPushAmount.x,y:t.y+this._previousPushAmount.y};let n=kh(r),o=this._viewportRect,a=Math.max(t.x+n.width-o.width,0),s=Math.max(t.y+n.height-o.height,0),l=Math.max(o.top-i.top-t.y,0),c=Math.max(o.left-i.left-t.x,0),d=0,u=0;return n.width<=o.width?d=c||-a:d=t.x<this._viewportMargin?o.left-i.left-t.x:0,n.height<=o.height?u=l||-s:u=t.y<this._viewportMargin?o.top-i.top-t.y:0,this._previousPushAmount={x:d,y:u},{x:t.x+d,y:t.y+u}}_applyPosition(t,r){if(this._setTransformOrigin(t),this._setOverlayElementStyles(r,t),this._setBoundingBoxStyles(r,t),t.panelClass&&this._addPanelClasses(t.panelClass),this._lastPosition=t,this._positionChanges.observers.length){let i=this._getScrollVisibility(),n=new Ml(t,i);this._positionChanges.next(n)}this._isInitialRender=!1}_setTransformOrigin(t){if(!this._transformOriginSelector)return;let r=this._boundingBox.querySelectorAll(this._transformOriginSelector),i,n=t.overlayY;t.overlayX==="center"?i="center":this._isRtl()?i=t.overlayX==="start"?"right":"left":i=t.overlayX==="start"?"left":"right";for(let o=0;o<r.length;o++)r[o].style.transformOrigin=`${i} ${n}`}_calculateBoundingBoxRect(t,r){let i=this._viewportRect,n=this._isRtl(),o,a,s;if(r.overlayY==="top")a=t.y,o=i.height-a+this._viewportMargin;else if(r.overlayY==="bottom")s=i.height-t.y+this._viewportMargin*2,o=i.height-s+this._viewportMargin;else{let p=Math.min(i.bottom-t.y+i.top,t.y),x=this._lastBoundingBoxSize.height;o=p*2,a=t.y-p,o>x&&!this._isInitialRender&&!this._growAfterOpen&&(a=t.y-x/2)}let l=r.overlayX==="start"&&!n||r.overlayX==="end"&&n,c=r.overlayX==="end"&&!n||r.overlayX==="start"&&n,d,u,f;if(c)f=i.width-t.x+this._viewportMargin,d=t.x-this._viewportMargin;else if(l)u=t.x,d=i.right-t.x;else{let p=Math.min(i.right-t.x+i.left,t.x),x=this._lastBoundingBoxSize.width;d=p*2,u=t.x-p,d>x&&!this._isInitialRender&&!this._growAfterOpen&&(u=t.x-x/2)}return{top:a,left:u,bottom:s,right:f,width:d,height:o}}_setBoundingBoxStyles(t,r){let i=this._calculateBoundingBoxRect(t,r);!this._isInitialRender&&!this._growAfterOpen&&(i.height=Math.min(i.height,this._lastBoundingBoxSize.height),i.width=Math.min(i.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,a=this._overlayRef.getConfig().maxWidth;n.height=pt(i.height),n.top=pt(i.top),n.bottom=pt(i.bottom),n.width=pt(i.width),n.left=pt(i.left),n.right=pt(i.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=pt(o)),a&&(n.maxWidth=pt(a))}this._lastBoundingBoxSize=i,Ii(this._boundingBox.style,n)}_resetBoundingBoxStyles(){Ii(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})}_resetOverlayElementStyles(){Ii(this._pane.style,{top:"",left:"",bottom:"",right:"",position:"",transform:""})}_setOverlayElementStyles(t,r){let i={},n=this._hasExactPosition(),o=this._hasFlexibleDimensions,a=this._overlayRef.getConfig();if(n){let d=this._viewportRuler.getViewportScrollPosition();Ii(i,this._getExactOverlayY(r,t,d)),Ii(i,this._getExactOverlayX(r,t,d))}else i.position="static";let s="",l=this._getOffset(r,"x"),c=this._getOffset(r,"y");l&&(s+=`translateX(${l}px) `),c&&(s+=`translateY(${c}px)`),i.transform=s.trim(),a.maxHeight&&(n?i.maxHeight=pt(a.maxHeight):o&&(i.maxHeight="")),a.maxWidth&&(n?i.maxWidth=pt(a.maxWidth):o&&(i.maxWidth="")),Ii(this._pane.style,i)}_getExactOverlayY(t,r,i){let n={top:"",bottom:""},o=this._getOverlayPoint(r,this._overlayRect,t);if(this._isPushed&&(o=this._pushOverlayOnScreen(o,this._overlayRect,i)),t.overlayY==="bottom"){let a=this._document.documentElement.clientHeight;n.bottom=`${a-(o.y+this._overlayRect.height)}px`}else n.top=pt(o.y);return n}_getExactOverlayX(t,r,i){let n={left:"",right:""},o=this._getOverlayPoint(r,this._overlayRect,t);this._isPushed&&(o=this._pushOverlayOnScreen(o,this._overlayRect,i));let a;if(this._isRtl()?a=t.overlayX==="end"?"left":"right":a=t.overlayX==="end"?"right":"left",a==="right"){let s=this._document.documentElement.clientWidth;n.right=`${s-(o.x+this._overlayRect.width)}px`}else n.left=pt(o.x);return n}_getScrollVisibility(){let t=this._getOriginRect(),r=this._pane.getBoundingClientRect(),i=this._scrollables.map(n=>n.getElementRef().nativeElement.getBoundingClientRect());return{isOriginClipped:Dh(t,i),isOriginOutsideView:Il(t,i),isOverlayClipped:Dh(r,i),isOverlayOutsideView:Il(r,i)}}_subtractOverflows(t,...r){return r.reduce((i,n)=>i-Math.max(n,0),t)}_getNarrowedViewportRect(){let t=this._document.documentElement.clientWidth,r=this._document.documentElement.clientHeight,i=this._viewportRuler.getViewportScrollPosition();return{top:i.top+this._viewportMargin,left:i.left+this._viewportMargin,right:i.left+t-this._viewportMargin,bottom:i.top+r-this._viewportMargin,width:t-2*this._viewportMargin,height:r-2*this._viewportMargin}}_isRtl(){return this._overlayRef.getDirection()==="rtl"}_hasExactPosition(){return!this._hasFlexibleDimensions||this._isPushed}_getOffset(t,r){return r==="x"?t.offsetX==null?this._offsetX:t.offsetX:t.offsetY==null?this._offsetY:t.offsetY}_validatePositions(){}_addPanelClasses(t){this._pane&&tn(t).forEach(r=>{r!==""&&this._appliedPanelClasses.indexOf(r)===-1&&(this._appliedPanelClasses.push(r),this._pane.classList.add(r))})}_clearPanelClasses(){this._pane&&(this._appliedPanelClasses.forEach(t=>{this._pane.classList.remove(t)}),this._appliedPanelClasses=[])}_getOriginRect(){let t=this._origin;if(t instanceof $)return t.nativeElement.getBoundingClientRect();if(t instanceof Element)return t.getBoundingClientRect();let r=t.width||0,i=t.height||0;return{top:t.y,bottom:t.y+i,left:t.x,right:t.x+r,height:i,width:r}}};function Ii(e,t){for(let r in t)t.hasOwnProperty(r)&&(e[r]=t[r]);return e}function Rh(e){if(typeof e!="number"&&e!=null){let[t,r]=e.split(Iv);return!r||r==="px"?parseFloat(t):null}return e||null}function kh(e){return{top:Math.floor(e.top),right:Math.floor(e.right),bottom:Math.floor(e.bottom),left:Math.floor(e.left),width:Math.floor(e.width),height:Math.floor(e.height)}}var Fh="cdk-global-overlay-wrapper",Dl=class{constructor(){this._cssPosition="static",this._topOffset="",this._bottomOffset="",this._alignItems="",this._xPosition="",this._xOffset="",this._width="",this._height="",this._isDisposed=!1}attach(t){let r=t.getConfig();this._overlayRef=t,this._width&&!r.width&&t.updateSize({width:this._width}),this._height&&!r.height&&t.updateSize({height:this._height}),t.hostElement.classList.add(Fh),this._isDisposed=!1}top(t=""){return this._bottomOffset="",this._topOffset=t,this._alignItems="flex-start",this}left(t=""){return this._xOffset=t,this._xPosition="left",this}bottom(t=""){return this._topOffset="",this._bottomOffset=t,this._alignItems="flex-end",this}right(t=""){return this._xOffset=t,this._xPosition="right",this}start(t=""){return this._xOffset=t,this._xPosition="start",this}end(t=""){return this._xOffset=t,this._xPosition="end",this}width(t=""){return this._overlayRef?this._overlayRef.updateSize({width:t}):this._width=t,this}height(t=""){return this._overlayRef?this._overlayRef.updateSize({height:t}):this._height=t,this}centerHorizontally(t=""){return this.left(t),this._xPosition="center",this}centerVertically(t=""){return this.top(t),this._alignItems="center",this}apply(){if(!this._overlayRef||!this._overlayRef.hasAttached())return;let t=this._overlayRef.overlayElement.style,r=this._overlayRef.hostElement.style,i=this._overlayRef.getConfig(),{width:n,height:o,maxWidth:a,maxHeight:s}=i,l=(n==="100%"||n==="100vw")&&(!a||a==="100%"||a==="100vw"),c=(o==="100%"||o==="100vh")&&(!s||s==="100%"||s==="100vh"),d=this._xPosition,u=this._xOffset,f=this._overlayRef.getConfig().direction==="rtl",p="",x="",y="";l?y="flex-start":d==="center"?(y="center",f?x=u:p=u):f?d==="left"||d==="end"?(y="flex-end",p=u):(d==="right"||d==="start")&&(y="flex-start",x=u):d==="left"||d==="start"?(y="flex-start",p=u):(d==="right"||d==="end")&&(y="flex-end",x=u),t.position=this._cssPosition,t.marginLeft=l?"0":p,t.marginTop=c?"0":this._topOffset,t.marginBottom=this._bottomOffset,t.marginRight=l?"0":x,r.justifyContent=y,r.alignItems=c?"flex-start":this._alignItems}dispose(){if(this._isDisposed||!this._overlayRef)return;let t=this._overlayRef.overlayElement.style,r=this._overlayRef.hostElement,i=r.style;r.classList.remove(Fh),i.justifyContent=i.alignItems=t.marginTop=t.marginBottom=t.marginLeft=t.marginRight=t.position="",this._overlayRef=null,this._isDisposed=!0}},Sv=(()=>{let t=class t{constructor(i,n,o,a){this._viewportRuler=i,this._document=n,this._platform=o,this._overlayContainer=a}global(){return new Dl}flexibleConnectedTo(i){return new Ol(i,this._viewportRuler,this._document,this._platform,this._overlayContainer)}};t.\u0275fac=function(n){return new(n||t)(C(hr),C(j),C(et),C(Nh))},t.\u0275prov=M({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})(),Mv=0,Ke=(()=>{let t=class t{constructor(i,n,o,a,s,l,c,d,u,f,p,x){this.scrollStrategies=i,this._overlayContainer=n,this._componentFactoryResolver=o,this._positionBuilder=a,this._keyboardDispatcher=s,this._injector=l,this._ngZone=c,this._document=d,this._directionality=u,this._location=f,this._outsideClickDispatcher=p,this._animationsModuleType=x}create(i){let n=this._createHostElement(),o=this._createPaneElement(n),a=this._createPortalOutlet(o),s=new fr(i);return s.direction=s.direction||this._directionality.value,new Al(a,n,o,s,this._ngZone,this._keyboardDispatcher,this._document,this._location,this._outsideClickDispatcher,this._animationsModuleType==="NoopAnimations")}position(){return this._positionBuilder}_createPaneElement(i){let n=this._document.createElement("div");return n.id=`cdk-overlay-${Mv++}`,n.classList.add("cdk-overlay-pane"),i.appendChild(n),n}_createHostElement(){let i=this._document.createElement("div");return this._overlayContainer.getContainerElement().appendChild(i),i}_createPortalOutlet(i){return this._appRef||(this._appRef=this._injector.get(mi)),new Wo(i,this._componentFactoryResolver,this._appRef,this._injector,this._document)}};t.\u0275fac=function(n){return new(n||t)(C(wv),C(Nh),C(Wa),C(Sv),C(Cv),C(je),C(N),C(j),C(Qi),C(pi),C(Ev),C(Nt,8))},t.\u0275prov=M({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})();var Av=new F("cdk-connected-overlay-scroll-strategy",{providedIn:"root",factory:()=>{let e=I(Ke);return()=>e.scrollStrategies.reposition()}});function Ov(e){return()=>e.scrollStrategies.reposition()}var Dv={provide:Av,deps:[Ke],useFactory:Ov},Lh=(()=>{let t=class t{};t.\u0275fac=function(n){return new(n||t)},t.\u0275mod=z({type:t}),t.\u0275inj=B({providers:[Ke,Dv],imports:[qe,Ah,vl,vl]});let e=t;return e})();var Wh=(()=>{let t=class t{constructor(i,n){this._renderer=i,this._elementRef=n,this.onChange=o=>{},this.onTouched=()=>{}}setProperty(i,n){this._renderer.setProperty(this._elementRef.nativeElement,i,n)}registerOnTouched(i){this.onTouched=i}registerOnChange(i){this.onChange=i}setDisabledState(i){this.setProperty("disabled",i)}};t.\u0275fac=function(n){return new(n||t)(v(vn),v($))},t.\u0275dir=G({type:t});let e=t;return e})(),Rv=(()=>{let t=class t extends Wh{};t.\u0275fac=(()=>{let i;return function(o){return(i||(i=re(t)))(o||t)}})(),t.\u0275dir=G({type:t,features:[Zt]});let e=t;return e})(),on=new F("");var kv={provide:on,useExisting:Me(()=>Gh),multi:!0};function Fv(){let e=fi()?fi().getUserAgent():"";return/android (\d+)/.test(e.toLowerCase())}var Pv=new F(""),Gh=(()=>{let t=class t extends Wh{constructor(i,n,o){super(i,n),this._compositionMode=o,this._composing=!1,this._compositionMode==null&&(this._compositionMode=!Fv())}writeValue(i){let n=i??"";this.setProperty("value",n)}_handleInput(i){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(i)}_compositionStart(){this._composing=!0}_compositionEnd(i){this._composing=!1,this._compositionMode&&this.onChange(i)}};t.\u0275fac=function(n){return new(n||t)(v(vn),v($),v(Pv,8))},t.\u0275dir=G({type:t,selectors:[["input","formControlName","",3,"type","checkbox"],["textarea","formControlName",""],["input","formControl","",3,"type","checkbox"],["textarea","formControl",""],["input","ngModel","",3,"type","checkbox"],["textarea","ngModel",""],["","ngDefaultControl",""]],hostBindings:function(n,o){n&1&&J("input",function(s){return o._handleInput(s.target.value)})("blur",function(){return o.onTouched()})("compositionstart",function(){return o._compositionStart()})("compositionend",function(s){return o._compositionEnd(s.target.value)})},features:[_t([kv]),Zt]});let e=t;return e})();function Qe(e){return e==null||(typeof e=="string"||Array.isArray(e))&&e.length===0}function Yh(e){return e!=null&&typeof e.length=="number"}var kl=new F(""),Fl=new F(""),Nv=/^(?=.{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])?)*$/,qo=class{static min(t){return Lv(t)}static max(t){return jv(t)}static required(t){return Vv(t)}static requiredTrue(t){return zv(t)}static email(t){return Bv(t)}static minLength(t){return Uv(t)}static maxLength(t){return $v(t)}static pattern(t){return Hv(t)}static nullValidator(t){return qh(t)}static compose(t){return tm(t)}static composeAsync(t){return em(t)}};function Lv(e){return t=>{if(Qe(t.value)||Qe(e))return null;let r=parseFloat(t.value);return!isNaN(r)&&r<e?{min:{min:e,actual:t.value}}:null}}function jv(e){return t=>{if(Qe(t.value)||Qe(e))return null;let r=parseFloat(t.value);return!isNaN(r)&&r>e?{max:{max:e,actual:t.value}}:null}}function Vv(e){return Qe(e.value)?{required:!0}:null}function zv(e){return e.value===!0?null:{required:!0}}function Bv(e){return Qe(e.value)||Nv.test(e.value)?null:{email:!0}}function Uv(e){return t=>Qe(t.value)||!Yh(t.value)?null:t.value.length<e?{minlength:{requiredLength:e,actualLength:t.value.length}}:null}function $v(e){return t=>Yh(t.value)&&t.value.length>e?{maxlength:{requiredLength:e,actualLength:t.value.length}}:null}function Hv(e){if(!e)return qh;let t,r;return typeof e=="string"?(r="",e.charAt(0)!=="^"&&(r+="^"),r+=e,e.charAt(e.length-1)!=="$"&&(r+="$"),t=new RegExp(r)):(r=e.toString(),t=e),i=>{if(Qe(i.value))return null;let n=i.value;return t.test(n)?null:{pattern:{requiredPattern:r,actualValue:n}}}}function qh(e){return null}function Xh(e){return e!=null}function Zh(e){return qr(e)?At(e):e}function Kh(e){let t={};return e.forEach(r=>{t=r!=null?S(S({},t),r):t}),Object.keys(t).length===0?null:t}function Qh(e,t){return t.map(r=>r(e))}function Wv(e){return!e.validate}function Jh(e){return e.map(t=>Wv(t)?t:r=>t.validate(r))}function tm(e){if(!e)return null;let t=e.filter(Xh);return t.length==0?null:function(r){return Kh(Qh(r,t))}}function Pl(e){return e!=null?tm(Jh(e)):null}function em(e){if(!e)return null;let t=e.filter(Xh);return t.length==0?null:function(r){let i=Qh(r,t).map(Zh);return jr(i).pipe(V(Kh))}}function Nl(e){return e!=null?em(Jh(e)):null}function jh(e,t){return e===null?[t]:Array.isArray(e)?[...e,t]:[e,t]}function im(e){return e._rawValidators}function nm(e){return e._rawAsyncValidators}function Tl(e){return e?Array.isArray(e)?e:[e]:[]}function Xo(e,t){return Array.isArray(e)?e.includes(t):e===t}function Vh(e,t){let r=Tl(t);return Tl(e).forEach(n=>{Xo(r,n)||r.push(n)}),r}function zh(e,t){return Tl(t).filter(r=>!Xo(e,r))}var Zo=class{constructor(){this._rawValidators=[],this._rawAsyncValidators=[],this._onDestroyCallbacks=[]}get value(){return this.control?this.control.value:null}get valid(){return this.control?this.control.valid:null}get invalid(){return this.control?this.control.invalid:null}get pending(){return this.control?this.control.pending:null}get disabled(){return this.control?this.control.disabled:null}get enabled(){return this.control?this.control.enabled:null}get errors(){return this.control?this.control.errors:null}get pristine(){return this.control?this.control.pristine:null}get dirty(){return this.control?this.control.dirty:null}get touched(){return this.control?this.control.touched:null}get status(){return this.control?this.control.status:null}get untouched(){return this.control?this.control.untouched:null}get statusChanges(){return this.control?this.control.statusChanges:null}get valueChanges(){return this.control?this.control.valueChanges:null}get path(){return null}_setValidators(t){this._rawValidators=t||[],this._composedValidatorFn=Pl(this._rawValidators)}_setAsyncValidators(t){this._rawAsyncValidators=t||[],this._composedAsyncValidatorFn=Nl(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(t){this._onDestroyCallbacks.push(t)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(t=>t()),this._onDestroyCallbacks=[]}reset(t=void 0){this.control&&this.control.reset(t)}hasError(t,r){return this.control?this.control.hasError(t,r):!1}getError(t,r){return this.control?this.control.getError(t,r):null}},Si=class extends Zo{get formDirective(){return null}get path(){return null}},Mi=class extends Zo{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}},Rl=class{constructor(t){this._cd=t}get isTouched(){return!!this._cd?.control?.touched}get isUntouched(){return!!this._cd?.control?.untouched}get isPristine(){return!!this._cd?.control?.pristine}get isDirty(){return!!this._cd?.control?.dirty}get isValid(){return!!this._cd?.control?.valid}get isInvalid(){return!!this._cd?.control?.invalid}get isPending(){return!!this._cd?.control?.pending}get isSubmitted(){return!!this._cd?.submitted}},Gv={"[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"},aS=lt(S({},Gv),{"[class.ng-submitted]":"isSubmitted"}),rm=(()=>{let t=class t extends Rl{constructor(i){super(i)}};t.\u0275fac=function(n){return new(n||t)(v(Mi,2))},t.\u0275dir=G({type:t,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(n,o){n&2&&L("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:[Zt]});let e=t;return e})();var pr="VALID",Yo="INVALID",rn="PENDING",gr="DISABLED";function om(e){return(ia(e)?e.validators:e)||null}function Yv(e){return Array.isArray(e)?Pl(e):e||null}function am(e,t){return(ia(t)?t.asyncValidators:e)||null}function qv(e){return Array.isArray(e)?Nl(e):e||null}function ia(e){return e!=null&&!Array.isArray(e)&&typeof e=="object"}function Xv(e,t,r){let i=e.controls;if(!(t?Object.keys(i):i).length)throw new nt(1e3,"");if(!i[r])throw new nt(1001,"")}function Zv(e,t,r){e._forEachChild((i,n)=>{if(r[n]===void 0)throw new nt(1002,"")})}var Ko=class{constructor(t,r){this._pendingDirty=!1,this._hasOwnPendingAsyncValidator=!1,this._pendingTouched=!1,this._onCollectionChange=()=>{},this._parent=null,this.pristine=!0,this.touched=!1,this._onDisabledChange=[],this._assignValidators(t),this._assignAsyncValidators(r)}get validator(){return this._composedValidatorFn}set validator(t){this._rawValidators=this._composedValidatorFn=t}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(t){this._rawAsyncValidators=this._composedAsyncValidatorFn=t}get parent(){return this._parent}get valid(){return this.status===pr}get invalid(){return this.status===Yo}get pending(){return this.status==rn}get disabled(){return this.status===gr}get enabled(){return this.status!==gr}get dirty(){return!this.pristine}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(t){this._assignValidators(t)}setAsyncValidators(t){this._assignAsyncValidators(t)}addValidators(t){this.setValidators(Vh(t,this._rawValidators))}addAsyncValidators(t){this.setAsyncValidators(Vh(t,this._rawAsyncValidators))}removeValidators(t){this.setValidators(zh(t,this._rawValidators))}removeAsyncValidators(t){this.setAsyncValidators(zh(t,this._rawAsyncValidators))}hasValidator(t){return Xo(this._rawValidators,t)}hasAsyncValidator(t){return Xo(this._rawAsyncValidators,t)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(t={}){this.touched=!0,this._parent&&!t.onlySelf&&this._parent.markAsTouched(t)}markAllAsTouched(){this.markAsTouched({onlySelf:!0}),this._forEachChild(t=>t.markAllAsTouched())}markAsUntouched(t={}){this.touched=!1,this._pendingTouched=!1,this._forEachChild(r=>{r.markAsUntouched({onlySelf:!0})}),this._parent&&!t.onlySelf&&this._parent._updateTouched(t)}markAsDirty(t={}){this.pristine=!1,this._parent&&!t.onlySelf&&this._parent.markAsDirty(t)}markAsPristine(t={}){this.pristine=!0,this._pendingDirty=!1,this._forEachChild(r=>{r.markAsPristine({onlySelf:!0})}),this._parent&&!t.onlySelf&&this._parent._updatePristine(t)}markAsPending(t={}){this.status=rn,t.emitEvent!==!1&&this.statusChanges.emit(this.status),this._parent&&!t.onlySelf&&this._parent.markAsPending(t)}disable(t={}){let r=this._parentMarkedDirty(t.onlySelf);this.status=gr,this.errors=null,this._forEachChild(i=>{i.disable(lt(S({},t),{onlySelf:!0}))}),this._updateValue(),t.emitEvent!==!1&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors(lt(S({},t),{skipPristineCheck:r})),this._onDisabledChange.forEach(i=>i(!0))}enable(t={}){let r=this._parentMarkedDirty(t.onlySelf);this.status=pr,this._forEachChild(i=>{i.enable(lt(S({},t),{onlySelf:!0}))}),this.updateValueAndValidity({onlySelf:!0,emitEvent:t.emitEvent}),this._updateAncestors(lt(S({},t),{skipPristineCheck:r})),this._onDisabledChange.forEach(i=>i(!1))}_updateAncestors(t){this._parent&&!t.onlySelf&&(this._parent.updateValueAndValidity(t),t.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}setParent(t){this._parent=t}getRawValue(){return this.value}updateValueAndValidity(t={}){this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===pr||this.status===rn)&&this._runAsyncValidator(t.emitEvent)),t.emitEvent!==!1&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!t.onlySelf&&this._parent.updateValueAndValidity(t)}_updateTreeValidity(t={emitEvent:!0}){this._forEachChild(r=>r._updateTreeValidity(t)),this.updateValueAndValidity({onlySelf:!0,emitEvent:t.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?gr:pr}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(t){if(this.asyncValidator){this.status=rn,this._hasOwnPendingAsyncValidator=!0;let r=Zh(this.asyncValidator(this));this._asyncValidationSubscription=r.subscribe(i=>{this._hasOwnPendingAsyncValidator=!1,this.setErrors(i,{emitEvent:t})})}}_cancelExistingSubscription(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)}setErrors(t,r={}){this.errors=t,this._updateControlsErrors(r.emitEvent!==!1)}get(t){let r=t;return r==null||(Array.isArray(r)||(r=r.split(".")),r.length===0)?null:r.reduce((i,n)=>i&&i._find(n),this)}getError(t,r){let i=r?this.get(r):this;return i&&i.errors?i.errors[t]:null}hasError(t,r){return!!this.getError(t,r)}get root(){let t=this;for(;t._parent;)t=t._parent;return t}_updateControlsErrors(t){this.status=this._calculateStatus(),t&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(t)}_initObservables(){this.valueChanges=new Z,this.statusChanges=new Z}_calculateStatus(){return this._allControlsDisabled()?gr:this.errors?Yo:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(rn)?rn:this._anyControlsHaveStatus(Yo)?Yo:pr}_anyControlsHaveStatus(t){return this._anyControls(r=>r.status===t)}_anyControlsDirty(){return this._anyControls(t=>t.dirty)}_anyControlsTouched(){return this._anyControls(t=>t.touched)}_updatePristine(t={}){this.pristine=!this._anyControlsDirty(),this._parent&&!t.onlySelf&&this._parent._updatePristine(t)}_updateTouched(t={}){this.touched=this._anyControlsTouched(),this._parent&&!t.onlySelf&&this._parent._updateTouched(t)}_registerOnCollectionChange(t){this._onCollectionChange=t}_setUpdateStrategy(t){ia(t)&&t.updateOn!=null&&(this._updateOn=t.updateOn)}_parentMarkedDirty(t){let r=this._parent&&this._parent.dirty;return!t&&!!r&&!this._parent._anyControlsDirty()}_find(t){return null}_assignValidators(t){this._rawValidators=Array.isArray(t)?t.slice():t,this._composedValidatorFn=Yv(this._rawValidators)}_assignAsyncValidators(t){this._rawAsyncValidators=Array.isArray(t)?t.slice():t,this._composedAsyncValidatorFn=qv(this._rawAsyncValidators)}},Qo=class extends Ko{constructor(t,r,i){super(om(r),am(i,r)),this.controls=t,this._initObservables(),this._setUpdateStrategy(r),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}registerControl(t,r){return this.controls[t]?this.controls[t]:(this.controls[t]=r,r.setParent(this),r._registerOnCollectionChange(this._onCollectionChange),r)}addControl(t,r,i={}){this.registerControl(t,r),this.updateValueAndValidity({emitEvent:i.emitEvent}),this._onCollectionChange()}removeControl(t,r={}){this.controls[t]&&this.controls[t]._registerOnCollectionChange(()=>{}),delete this.controls[t],this.updateValueAndValidity({emitEvent:r.emitEvent}),this._onCollectionChange()}setControl(t,r,i={}){this.controls[t]&&this.controls[t]._registerOnCollectionChange(()=>{}),delete this.controls[t],r&&this.registerControl(t,r),this.updateValueAndValidity({emitEvent:i.emitEvent}),this._onCollectionChange()}contains(t){return this.controls.hasOwnProperty(t)&&this.controls[t].enabled}setValue(t,r={}){Zv(this,!0,t),Object.keys(t).forEach(i=>{Xv(this,!0,i),this.controls[i].setValue(t[i],{onlySelf:!0,emitEvent:r.emitEvent})}),this.updateValueAndValidity(r)}patchValue(t,r={}){t!=null&&(Object.keys(t).forEach(i=>{let n=this.controls[i];n&&n.patchValue(t[i],{onlySelf:!0,emitEvent:r.emitEvent})}),this.updateValueAndValidity(r))}reset(t={},r={}){this._forEachChild((i,n)=>{i.reset(t?t[n]:null,{onlySelf:!0,emitEvent:r.emitEvent})}),this._updatePristine(r),this._updateTouched(r),this.updateValueAndValidity(r)}getRawValue(){return this._reduceChildren({},(t,r,i)=>(t[i]=r.getRawValue(),t))}_syncPendingControls(){let t=this._reduceChildren(!1,(r,i)=>i._syncPendingControls()?!0:r);return t&&this.updateValueAndValidity({onlySelf:!0}),t}_forEachChild(t){Object.keys(this.controls).forEach(r=>{let i=this.controls[r];i&&t(i,r)})}_setUpControls(){this._forEachChild(t=>{t.setParent(this),t._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(t){for(let[r,i]of Object.entries(this.controls))if(this.contains(r)&&t(i))return!0;return!1}_reduceValue(){let t={};return this._reduceChildren(t,(r,i,n)=>((i.enabled||this.disabled)&&(r[n]=i.value),r))}_reduceChildren(t,r){let i=t;return this._forEachChild((n,o)=>{i=r(i,n,o)}),i}_allControlsDisabled(){for(let t of Object.keys(this.controls))if(this.controls[t].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_find(t){return this.controls.hasOwnProperty(t)?this.controls[t]:null}};var na=new F("CallSetDisabledState",{providedIn:"root",factory:()=>Ll}),Ll="always";function Kv(e,t){return[...t.path,e]}function Jo(e,t,r=Ll){jl(e,t),t.valueAccessor.writeValue(e.value),(e.disabled||r==="always")&&t.valueAccessor.setDisabledState?.(e.disabled),Jv(e,t),ey(e,t),ty(e,t),Qv(e,t)}function Bh(e,t,r=!0){let i=()=>{};t.valueAccessor&&(t.valueAccessor.registerOnChange(i),t.valueAccessor.registerOnTouched(i)),ea(e,t),e&&(t._invokeOnDestroyCallbacks(),e._registerOnCollectionChange(()=>{}))}function ta(e,t){e.forEach(r=>{r.registerOnValidatorChange&&r.registerOnValidatorChange(t)})}function Qv(e,t){if(t.valueAccessor.setDisabledState){let r=i=>{t.valueAccessor.setDisabledState(i)};e.registerOnDisabledChange(r),t._registerOnDestroy(()=>{e._unregisterOnDisabledChange(r)})}}function jl(e,t){let r=im(e);t.validator!==null?e.setValidators(jh(r,t.validator)):typeof r=="function"&&e.setValidators([r]);let i=nm(e);t.asyncValidator!==null?e.setAsyncValidators(jh(i,t.asyncValidator)):typeof i=="function"&&e.setAsyncValidators([i]);let n=()=>e.updateValueAndValidity();ta(t._rawValidators,n),ta(t._rawAsyncValidators,n)}function ea(e,t){let r=!1;if(e!==null){if(t.validator!==null){let n=im(e);if(Array.isArray(n)&&n.length>0){let o=n.filter(a=>a!==t.validator);o.length!==n.length&&(r=!0,e.setValidators(o))}}if(t.asyncValidator!==null){let n=nm(e);if(Array.isArray(n)&&n.length>0){let o=n.filter(a=>a!==t.asyncValidator);o.length!==n.length&&(r=!0,e.setAsyncValidators(o))}}}let i=()=>{};return ta(t._rawValidators,i),ta(t._rawAsyncValidators,i),r}function Jv(e,t){t.valueAccessor.registerOnChange(r=>{e._pendingValue=r,e._pendingChange=!0,e._pendingDirty=!0,e.updateOn==="change"&&sm(e,t)})}function ty(e,t){t.valueAccessor.registerOnTouched(()=>{e._pendingTouched=!0,e.updateOn==="blur"&&e._pendingChange&&sm(e,t),e.updateOn!=="submit"&&e.markAsTouched()})}function sm(e,t){e._pendingDirty&&e.markAsDirty(),e.setValue(e._pendingValue,{emitModelToViewChange:!1}),t.viewToModelUpdate(e._pendingValue),e._pendingChange=!1}function ey(e,t){let r=(i,n)=>{t.valueAccessor.writeValue(i),n&&t.viewToModelUpdate(i)};e.registerOnChange(r),t._registerOnDestroy(()=>{e._unregisterOnChange(r)})}function lm(e,t){e==null,jl(e,t)}function iy(e,t){return ea(e,t)}function ny(e,t){if(!e.hasOwnProperty("model"))return!1;let r=e.model;return r.isFirstChange()?!0:!Object.is(t,r.currentValue)}function ry(e){return Object.getPrototypeOf(e.constructor)===Rv}function cm(e,t){e._syncPendingControls(),t.forEach(r=>{let i=r.control;i.updateOn==="submit"&&i._pendingChange&&(r.viewToModelUpdate(i._pendingValue),i._pendingChange=!1)})}function oy(e,t){if(!t)return null;Array.isArray(t);let r,i,n;return t.forEach(o=>{o.constructor===Gh?r=o:ry(o)?i=o:n=o}),n||i||r||null}function ay(e,t){let r=e.indexOf(t);r>-1&&e.splice(r,1)}var sy={provide:Si,useExisting:Me(()=>Vl)},br=Promise.resolve(),Vl=(()=>{let t=class t extends Si{constructor(i,n,o){super(),this.callSetDisabledState=o,this.submitted=!1,this._directives=new Set,this.ngSubmit=new Z,this.form=new Qo({},Pl(i),Nl(n))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(i){br.then(()=>{let n=this._findContainer(i.path);i.control=n.registerControl(i.name,i.control),Jo(i.control,i,this.callSetDisabledState),i.control.updateValueAndValidity({emitEvent:!1}),this._directives.add(i)})}getControl(i){return this.form.get(i.path)}removeControl(i){br.then(()=>{let n=this._findContainer(i.path);n&&n.removeControl(i.name),this._directives.delete(i)})}addFormGroup(i){br.then(()=>{let n=this._findContainer(i.path),o=new Qo({});lm(o,i),n.registerControl(i.name,o),o.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(i){br.then(()=>{let n=this._findContainer(i.path);n&&n.removeControl(i.name)})}getFormGroup(i){return this.form.get(i.path)}updateModel(i,n){br.then(()=>{this.form.get(i.path).setValue(n)})}setValue(i){this.control.setValue(i)}onSubmit(i){return this.submitted=!0,cm(this.form,this._directives),this.ngSubmit.emit(i),i?.target?.method==="dialog"}onReset(){this.resetForm()}resetForm(i=void 0){this.form.reset(i),this.submitted=!1}_setUpdateStrategy(){this.options&&this.options.updateOn!=null&&(this.form._updateOn=this.options.updateOn)}_findContainer(i){return i.pop(),i.length?this.form.get(i):this.form}};t.\u0275fac=function(n){return new(n||t)(v(kl,10),v(Fl,10),v(na,8))},t.\u0275dir=G({type:t,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(n,o){n&1&&J("submit",function(s){return o.onSubmit(s)})("reset",function(){return o.onReset()})},inputs:{options:[k.None,"ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[_t([sy]),Zt]});let e=t;return e})();function Uh(e,t){let r=e.indexOf(t);r>-1&&e.splice(r,1)}function $h(e){return typeof e=="object"&&e!==null&&Object.keys(e).length===2&&"value"in e&&"disabled"in e}var dm=class extends Ko{constructor(t=null,r,i){super(om(r),am(i,r)),this.defaultValue=null,this._onChange=[],this._pendingChange=!1,this._applyFormState(t),this._setUpdateStrategy(r),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),ia(r)&&(r.nonNullable||r.initialValueIsDefault)&&($h(t)?this.defaultValue=t.value:this.defaultValue=t)}setValue(t,r={}){this.value=this._pendingValue=t,this._onChange.length&&r.emitModelToViewChange!==!1&&this._onChange.forEach(i=>i(this.value,r.emitViewToModelChange!==!1)),this.updateValueAndValidity(r)}patchValue(t,r={}){this.setValue(t,r)}reset(t=this.defaultValue,r={}){this._applyFormState(t),this.markAsPristine(r),this.markAsUntouched(r),this.setValue(this.value,r),this._pendingChange=!1}_updateValue(){}_anyControls(t){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(t){this._onChange.push(t)}_unregisterOnChange(t){Uh(this._onChange,t)}registerOnDisabledChange(t){this._onDisabledChange.push(t)}_unregisterOnDisabledChange(t){Uh(this._onDisabledChange,t)}_forEachChild(t){}_syncPendingControls(){return this.updateOn==="submit"&&(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),this._pendingChange)?(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),!0):!1}_applyFormState(t){$h(t)?(this.value=this._pendingValue=t.value,t.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=t}};var ly=e=>e instanceof dm;var cy={provide:Mi,useExisting:Me(()=>zl)},Hh=Promise.resolve(),zl=(()=>{let t=class t extends Mi{constructor(i,n,o,a,s,l){super(),this._changeDetectorRef=s,this.callSetDisabledState=l,this.control=new dm,this._registered=!1,this.name="",this.update=new Z,this._parent=i,this._setValidators(n),this._setAsyncValidators(o),this.valueAccessor=oy(this,a)}ngOnChanges(i){if(this._checkForErrors(),!this._registered||"name"in i){if(this._registered&&(this._checkName(),this.formDirective)){let n=i.name.previousValue;this.formDirective.removeControl({name:n,path:this._getPath(n)})}this._setUpControl()}"isDisabled"in i&&this._updateDisabled(i),ny(i,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(i){this.viewModel=i,this.update.emit(i)}_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(){Jo(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(i){Hh.then(()=>{this.control.setValue(i,{emitViewToModelChange:!1}),this._changeDetectorRef?.markForCheck()})}_updateDisabled(i){let n=i.isDisabled.currentValue,o=n!==0&&tt(n);Hh.then(()=>{o&&!this.control.disabled?this.control.disable():!o&&this.control.disabled&&this.control.enable(),this._changeDetectorRef?.markForCheck()})}_getPath(i){return this._parent?Kv(i,this._parent):[i]}};t.\u0275fac=function(n){return new(n||t)(v(Si,9),v(kl,10),v(Fl,10),v(on,10),v(Ct,8),v(na,8))},t.\u0275dir=G({type:t,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:[k.None,"disabled","isDisabled"],model:[k.None,"ngModel","model"],options:[k.None,"ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],features:[_t([cy]),Zt,qt]});let e=t;return e})();var dy={provide:Si,useExisting:Me(()=>Bl)},Bl=(()=>{let t=class t extends Si{constructor(i,n,o){super(),this.callSetDisabledState=o,this.submitted=!1,this._onCollectionChange=()=>this._updateDomValue(),this.directives=[],this.form=null,this.ngSubmit=new Z,this._setValidators(i),this._setAsyncValidators(n)}ngOnChanges(i){this._checkFormPresent(),i.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}ngOnDestroy(){this.form&&(ea(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(()=>{}))}get formDirective(){return this}get control(){return this.form}get path(){return[]}addControl(i){let n=this.form.get(i.path);return Jo(n,i,this.callSetDisabledState),n.updateValueAndValidity({emitEvent:!1}),this.directives.push(i),n}getControl(i){return this.form.get(i.path)}removeControl(i){Bh(i.control||null,i,!1),ay(this.directives,i)}addFormGroup(i){this._setUpFormContainer(i)}removeFormGroup(i){this._cleanUpFormContainer(i)}getFormGroup(i){return this.form.get(i.path)}addFormArray(i){this._setUpFormContainer(i)}removeFormArray(i){this._cleanUpFormContainer(i)}getFormArray(i){return this.form.get(i.path)}updateModel(i,n){this.form.get(i.path).setValue(n)}onSubmit(i){return this.submitted=!0,cm(this.form,this.directives),this.ngSubmit.emit(i),i?.target?.method==="dialog"}onReset(){this.resetForm()}resetForm(i=void 0){this.form.reset(i),this.submitted=!1}_updateDomValue(){this.directives.forEach(i=>{let n=i.control,o=this.form.get(i.path);n!==o&&(Bh(n||null,i),ly(o)&&(Jo(o,i,this.callSetDisabledState),i.control=o))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(i){let n=this.form.get(i.path);lm(n,i),n.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(i){if(this.form){let n=this.form.get(i.path);n&&iy(n,i)&&n.updateValueAndValidity({emitEvent:!1})}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{})}_updateValidators(){jl(this.form,this),this._oldForm&&ea(this._oldForm,this)}_checkFormPresent(){this.form}};t.\u0275fac=function(n){return new(n||t)(v(kl,10),v(Fl,10),v(na,8))},t.\u0275dir=G({type:t,selectors:[["","formGroup",""]],hostBindings:function(n,o){n&1&&J("submit",function(s){return o.onSubmit(s)})("reset",function(){return o.onReset()})},inputs:{form:[k.None,"formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[_t([dy]),Zt,qt]});let e=t;return e})();var uy=(()=>{let t=class t{};t.\u0275fac=function(n){return new(n||t)},t.\u0275mod=z({type:t}),t.\u0275inj=B({});let e=t;return e})();var um=(()=>{let t=class t{static withConfig(i){return{ngModule:t,providers:[{provide:na,useValue:i.callSetDisabledState??Ll}]}}};t.\u0275fac=function(n){return new(n||t)},t.\u0275mod=z({type:t}),t.\u0275inj=B({imports:[uy]});let e=t;return e})();var hy=["panel"];function my(e,t){if(e&1){let r=hi();m(0,"div",0,1),J("@panelAnimation.done",function(n){Ie(r);let o=D();return Se(o._animationDone.next(n))}),rt(2),h()}if(e&2){let r=t.id,i=D();E("id",i.id)("ngClass",i._classList)("@panelAnimation",i.isOpen?"visible":"hidden"),ct("aria-label",i.ariaLabel||null)("aria-labelledby",i._getPanelAriaLabelledby(r))}}var fy=["*"],py=to("panelAnimation",[eo("void, hidden",Ve({opacity:0,transform:"scaleY(0.8)"})),In(":enter, hidden => visible",[hd([zi("0.03s linear",Ve({opacity:1})),zi("0.12s cubic-bezier(0, 0, 0.2, 1)",Ve({transform:"scaleY(1)"}))])]),In(":leave, visible => hidden",[zi("0.075s linear",Ve({opacity:0}))])]),gy=0,Ul=class{constructor(t,r){this.source=t,this.option=r}},fm=new F("mat-autocomplete-default-options",{providedIn:"root",factory:by});function by(){return{autoActiveFirstOption:!1,autoSelectActiveOption:!1,hideSingleSelectionIndicator:!1,requireSelection:!1}}var pm=(()=>{let t=class t{get isOpen(){return this._isOpen&&this.showPanel}_setColor(i){this._color=i,this._setThemeClasses(this._classList)}set classList(i){i&&i.length?this._classList=Bu(i).reduce((n,o)=>(n[o]=!0,n),{}):this._classList={},this._setVisibilityClasses(this._classList),this._setThemeClasses(this._classList),this._elementRef.nativeElement.className=""}get hideSingleSelectionIndicator(){return this._hideSingleSelectionIndicator}set hideSingleSelectionIndicator(i){this._hideSingleSelectionIndicator=i,this._syncParentProperties()}_syncParentProperties(){if(this.options)for(let i of this.options)i._changeDetectorRef.markForCheck()}constructor(i,n,o,a){this._changeDetectorRef=i,this._elementRef=n,this._defaults=o,this._activeOptionChanges=Ft.EMPTY,this._visibleClass="mat-mdc-autocomplete-visible",this._hiddenClass="mat-mdc-autocomplete-hidden",this._animationDone=new Z,this.showPanel=!1,this._isOpen=!1,this.displayWith=null,this.optionSelected=new Z,this.opened=new Z,this.closed=new Z,this.optionActivated=new Z,this._classList={},this.id=`mat-autocomplete-${gy++}`,this.inertGroups=a?.SAFARI||!1,this.autoActiveFirstOption=!!o.autoActiveFirstOption,this.autoSelectActiveOption=!!o.autoSelectActiveOption,this.requireSelection=!!o.requireSelection,this._hideSingleSelectionIndicator=this._defaults.hideSingleSelectionIndicator??!1}ngAfterContentInit(){this._keyManager=new ko(this.options).withWrap().skipPredicate(this._skipPredicate),this._activeOptionChanges=this._keyManager.change.subscribe(i=>{this.isOpen&&this.optionActivated.emit({source:this,option:this.options.toArray()[i]||null})}),this._setVisibility()}ngOnDestroy(){this._keyManager?.destroy(),this._activeOptionChanges.unsubscribe(),this._animationDone.complete()}_setScrollTop(i){this.panel&&(this.panel.nativeElement.scrollTop=i)}_getScrollTop(){return this.panel?this.panel.nativeElement.scrollTop:0}_setVisibility(){this.showPanel=!!this.options.length,this._setVisibilityClasses(this._classList),this._changeDetectorRef.markForCheck()}_emitSelectEvent(i){let n=new Ul(this,i);this.optionSelected.emit(n)}_getPanelAriaLabelledby(i){if(this.ariaLabel)return null;let n=i?i+" ":"";return this.ariaLabelledby?n+this.ariaLabelledby:i}_setVisibilityClasses(i){i[this._visibleClass]=this.showPanel,i[this._hiddenClass]=!this.showPanel}_setThemeClasses(i){i["mat-primary"]=this._color==="primary",i["mat-warn"]=this._color==="warn",i["mat-accent"]=this._color==="accent"}_skipPredicate(){return!1}};t.\u0275fac=function(n){return new(n||t)(v(Ct),v($),v(fm),v(et))},t.\u0275cmp=K({type:t,selectors:[["mat-autocomplete"]],contentQueries:function(n,o,a){if(n&1&&(kt(a,zo,5),kt(a,gl,5)),n&2){let s;Y(s=q())&&(o.options=s),Y(s=q())&&(o.optionGroups=s)}},viewQuery:function(n,o){if(n&1&&(gt(_n,7),gt(hy,5)),n&2){let a;Y(a=q())&&(o.template=a.first),Y(a=q())&&(o.panel=a.first)}},hostAttrs:[1,"mat-mdc-autocomplete"],inputs:{ariaLabel:[k.None,"aria-label","ariaLabel"],ariaLabelledby:[k.None,"aria-labelledby","ariaLabelledby"],displayWith:"displayWith",autoActiveFirstOption:[k.HasDecoratorInputTransform,"autoActiveFirstOption","autoActiveFirstOption",tt],autoSelectActiveOption:[k.HasDecoratorInputTransform,"autoSelectActiveOption","autoSelectActiveOption",tt],requireSelection:[k.HasDecoratorInputTransform,"requireSelection","requireSelection",tt],panelWidth:"panelWidth",disableRipple:[k.HasDecoratorInputTransform,"disableRipple","disableRipple",tt],classList:[k.None,"class","classList"],hideSingleSelectionIndicator:[k.HasDecoratorInputTransform,"hideSingleSelectionIndicator","hideSingleSelectionIndicator",tt]},outputs:{optionSelected:"optionSelected",opened:"opened",closed:"closed",optionActivated:"optionActivated"},exportAs:["matAutocomplete"],standalone:!0,features:[_t([{provide:pl,useExisting:t}]),ht,Q],ngContentSelectors:fy,decls:1,vars:0,consts:[["role","listbox",1,"mat-mdc-autocomplete-panel","mdc-menu-surface","mdc-menu-surface--open",3,"id","ngClass"],["panel",""]],template:function(n,o){n&1&&(Ot(),T(0,my,3,5,"ng-template"))},dependencies:[sd],styles:["div.mat-mdc-autocomplete-panel{width:100%;max-height:256px;visibility:hidden;transform-origin:center top;overflow:auto;padding:8px 0;box-sizing:border-box;position:static;border-radius:var(--mat-autocomplete-container-shape);box-shadow:var(--mat-autocomplete-container-elevation-shadow);background-color:var(--mat-autocomplete-background-color)}.cdk-high-contrast-active div.mat-mdc-autocomplete-panel{outline:solid 1px}.cdk-overlay-pane:not(.mat-mdc-autocomplete-panel-above) div.mat-mdc-autocomplete-panel{border-top-left-radius:0;border-top-right-radius:0}.mat-mdc-autocomplete-panel-above div.mat-mdc-autocomplete-panel{border-bottom-left-radius:0;border-bottom-right-radius:0;transform-origin:center bottom}div.mat-mdc-autocomplete-panel.mat-mdc-autocomplete-visible{visibility:visible}div.mat-mdc-autocomplete-panel.mat-mdc-autocomplete-hidden{visibility:hidden}mat-autocomplete{display:none}"],encapsulation:2,data:{animation:[py]},changeDetection:0});let e=t;return e})();var _y={provide:on,useExisting:Me(()=>$l),multi:!0};var gm=new F("mat-autocomplete-scroll-strategy",{providedIn:"root",factory:()=>{let e=I(Ke);return()=>e.scrollStrategies.reposition()}});function vy(e){return()=>e.scrollStrategies.reposition()}var yy={provide:gm,deps:[Ke],useFactory:vy},$l=(()=>{let t=class t{constructor(i,n,o,a,s,l,c,d,u,f,p){this._element=i,this._overlay=n,this._viewContainerRef=o,this._zone=a,this._changeDetectorRef=s,this._dir=c,this._formField=d,this._document=u,this._viewportRuler=f,this._defaults=p,this._componentDestroyed=!1,this._manuallyFloatingLabel=!1,this._viewportSubscription=Ft.EMPTY,this._canOpenOnNextFocus=!0,this._closeKeyEventStream=new H,this._windowBlurHandler=()=>{this._canOpenOnNextFocus=this._document.activeElement!==this._element.nativeElement||this.panelOpen},this._onChange=()=>{},this._onTouched=()=>{},this.position="auto",this.autocompleteAttribute="off",this._aboveClass="mat-mdc-autocomplete-panel-above",this._overlayAttached=!1,this.optionSelections=fn(()=>{let x=this.autocomplete?this.autocomplete.options:null;return x?x.changes.pipe(ai(x),wt(()=>Ee(...x.map(y=>y.onSelectionChange)))):this._zone.onStable.pipe(xt(1),wt(()=>this.optionSelections))}),this._handlePanelKeydown=x=>{(x.keyCode===27&&!Ze(x)||x.keyCode===38&&Ze(x,"altKey"))&&(this._pendingAutoselectedOption&&(this._updateNativeInputValue(this._valueBeforeAutoSelection??""),this._pendingAutoselectedOption=null),this._closeKeyEventStream.next(),this._resetActiveItem(),x.stopPropagation(),x.preventDefault())},this._trackedModal=null,this._scrollStrategy=l}ngAfterViewInit(){let i=this._getWindow();typeof i<"u"&&this._zone.runOutsideAngular(()=>i.addEventListener("blur",this._windowBlurHandler))}ngOnChanges(i){i.position&&this._positionStrategy&&(this._setStrategyPositions(this._positionStrategy),this.panelOpen&&this._overlayRef.updatePosition())}ngOnDestroy(){let i=this._getWindow();typeof i<"u"&&i.removeEventListener("blur",this._windowBlurHandler),this._viewportSubscription.unsubscribe(),this._componentDestroyed=!0,this._destroyPanel(),this._closeKeyEventStream.complete(),this._clearFromModal()}get panelOpen(){return this._overlayAttached&&this.autocomplete.showPanel}openPanel(){if(this._attachOverlay(),this._floatLabel(),this._trackedModal){let i=this.autocomplete.id;al(this._trackedModal,"aria-owns",i)}}closePanel(){if(this._resetLabel(),!!this._overlayAttached&&(this.panelOpen&&this._zone.run(()=>{this.autocomplete.closed.emit()}),this.autocomplete._isOpen=this._overlayAttached=!1,this._pendingAutoselectedOption=null,this._overlayRef&&this._overlayRef.hasAttached()&&(this._overlayRef.detach(),this._closingActionsSubscription.unsubscribe()),this._updatePanelState(),this._componentDestroyed||this._changeDetectorRef.detectChanges(),this._trackedModal)){let i=this.autocomplete.id;Po(this._trackedModal,"aria-owns",i)}}updatePosition(){this._overlayAttached&&this._overlayRef.updatePosition()}get panelClosingActions(){return Ee(this.optionSelections,this.autocomplete._keyManager.tabOut.pipe(ft(()=>this._overlayAttached)),this._closeKeyEventStream,this._getOutsideClickStream(),this._overlayRef?this._overlayRef.detachments().pipe(ft(()=>this._overlayAttached)):P()).pipe(V(i=>i instanceof lr?i:null))}get activeOption(){return this.autocomplete&&this.autocomplete._keyManager?this.autocomplete._keyManager.activeItem:null}_getOutsideClickStream(){return Ee(oi(this._document,"click"),oi(this._document,"auxclick"),oi(this._document,"touchend")).pipe(ft(i=>{let n=ie(i),o=this._formField?this._formField.getConnectedOverlayOrigin().nativeElement:null,a=this.connectedTo?this.connectedTo.elementRef.nativeElement:null;return this._overlayAttached&&n!==this._element.nativeElement&&this._document.activeElement!==this._element.nativeElement&&(!o||!o.contains(n))&&(!a||!a.contains(n))&&!!this._overlayRef&&!this._overlayRef.overlayElement.contains(n)}))}writeValue(i){Promise.resolve(null).then(()=>this._assignOptionValue(i))}registerOnChange(i){this._onChange=i}registerOnTouched(i){this._onTouched=i}setDisabledState(i){this._element.nativeElement.disabled=i}_handleKeydown(i){let n=i.keyCode,o=Ze(i);if(n===27&&!o&&i.preventDefault(),this.activeOption&&n===13&&this.panelOpen&&!o)this.activeOption._selectViaInteraction(),this._resetActiveItem(),i.preventDefault();else if(this.autocomplete){let a=this.autocomplete._keyManager.activeItem,s=n===38||n===40;n===9||s&&!o&&this.panelOpen?this.autocomplete._keyManager.onKeydown(i):s&&this._canOpen()&&this.openPanel(),(s||this.autocomplete._keyManager.activeItem!==a)&&(this._scrollToOption(this.autocomplete._keyManager.activeItemIndex||0),this.autocomplete.autoSelectActiveOption&&this.activeOption&&(this._pendingAutoselectedOption||(this._valueBeforeAutoSelection=this._element.nativeElement.value),this._pendingAutoselectedOption=this.activeOption,this._assignOptionValue(this.activeOption.value)))}}_handleInput(i){let n=i.target,o=n.value;if(n.type==="number"&&(o=o==""?null:parseFloat(o)),this._previousValue!==o){if(this._previousValue=o,this._pendingAutoselectedOption=null,(!this.autocomplete||!this.autocomplete.requireSelection)&&this._onChange(o),!o)this._clearPreviousSelectedOption(null,!1);else if(this.panelOpen&&!this.autocomplete.requireSelection){let a=this.autocomplete.options?.find(s=>s.selected);if(a){let s=this.autocomplete.displayWith?.(a)??a.value;o!==s&&a.deselect(!1)}}this._canOpen()&&this._document.activeElement===i.target&&this.openPanel()}}_handleFocus(){this._canOpenOnNextFocus?this._canOpen()&&(this._previousValue=this._element.nativeElement.value,this._attachOverlay(),this._floatLabel(!0)):this._canOpenOnNextFocus=!0}_handleClick(){this._canOpen()&&!this.panelOpen&&this.openPanel()}_floatLabel(i=!1){this._formField&&this._formField.floatLabel==="auto"&&(i?this._formField._animateAndLockLabel():this._formField.floatLabel="always",this._manuallyFloatingLabel=!0)}_resetLabel(){this._manuallyFloatingLabel&&(this._formField&&(this._formField.floatLabel="auto"),this._manuallyFloatingLabel=!1)}_subscribeToClosingActions(){let i=this._zone.onStable.pipe(xt(1)),n=this.autocomplete.options.changes.pipe(at(()=>this._positionStrategy.reapplyLastPosition()),Cc(0));return Ee(i,n).pipe(wt(()=>(this._zone.run(()=>{let o=this.panelOpen;this._resetActiveItem(),this._updatePanelState(),this._changeDetectorRef.detectChanges(),this.panelOpen&&this._overlayRef.updatePosition(),o!==this.panelOpen&&(this.panelOpen?this._emitOpened():this.autocomplete.closed.emit())}),this.panelClosingActions)),xt(1)).subscribe(o=>this._setValueAndClose(o))}_emitOpened(){this.autocomplete.opened.emit()}_destroyPanel(){this._overlayRef&&(this.closePanel(),this._overlayRef.dispose(),this._overlayRef=null)}_assignOptionValue(i){let n=this.autocomplete&&this.autocomplete.displayWith?this.autocomplete.displayWith(i):i;i==null&&this._clearPreviousSelectedOption(null,!1),this._updateNativeInputValue(n??"")}_updateNativeInputValue(i){this._formField?this._formField._control.value=i:this._element.nativeElement.value=i,this._previousValue=i}_setValueAndClose(i){let n=this.autocomplete,o=i?i.source:this._pendingAutoselectedOption;o?(this._clearPreviousSelectedOption(o),this._assignOptionValue(o.value),this._onChange(o.value),n._emitSelectEvent(o),this._element.nativeElement.focus()):n.requireSelection&&this._element.nativeElement.value!==this._valueOnAttach&&(this._clearPreviousSelectedOption(null),this._assignOptionValue(null),n._animationDone?n._animationDone.pipe(xt(1)).subscribe(()=>this._onChange(null)):this._onChange(null)),this.closePanel()}_clearPreviousSelectedOption(i,n){this.autocomplete?.options?.forEach(o=>{o!==i&&o.selected&&o.deselect(n)})}_attachOverlay(){this.autocomplete;let i=this._overlayRef;i?(this._positionStrategy.setOrigin(this._getConnectedElement()),i.updateSize({width:this._getPanelWidth()})):(this._portal=new nn(this.autocomplete.template,this._viewContainerRef,{id:this._formField?.getLabelId()}),i=this._overlay.create(this._getOverlayConfig()),this._overlayRef=i,this._viewportSubscription=this._viewportRuler.change().subscribe(()=>{this.panelOpen&&i&&i.updateSize({width:this._getPanelWidth()})})),i&&!i.hasAttached()&&(i.attach(this._portal),this._valueOnAttach=this._element.nativeElement.value,this._closingActionsSubscription=this._subscribeToClosingActions());let n=this.panelOpen;this.autocomplete._isOpen=this._overlayAttached=!0,this.autocomplete._setColor(this._formField?.color),this._updatePanelState(),this._applyModalPanelOwnership(),this.panelOpen&&n!==this.panelOpen&&this._emitOpened()}_updatePanelState(){if(this.autocomplete._setVisibility(),this.panelOpen){let i=this._overlayRef;this._keydownSubscription||(this._keydownSubscription=i.keydownEvents().subscribe(this._handlePanelKeydown)),this._outsideClickSubscription||(this._outsideClickSubscription=i.outsidePointerEvents().subscribe())}else this._keydownSubscription?.unsubscribe(),this._outsideClickSubscription?.unsubscribe(),this._keydownSubscription=this._outsideClickSubscription=null}_getOverlayConfig(){return new fr({positionStrategy:this._getOverlayPosition(),scrollStrategy:this._scrollStrategy(),width:this._getPanelWidth(),direction:this._dir??void 0,panelClass:this._defaults?.overlayPanelClass})}_getOverlayPosition(){let i=this._overlay.position().flexibleConnectedTo(this._getConnectedElement()).withFlexibleDimensions(!1).withPush(!1);return this._setStrategyPositions(i),this._positionStrategy=i,i}_setStrategyPositions(i){let n=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"}],o=this._aboveClass,a=[{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom",panelClass:o},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom",panelClass:o}],s;this.position==="above"?s=a:this.position==="below"?s=n:s=[...n,...a],i.withPositions(s)}_getConnectedElement(){return this.connectedTo?this.connectedTo.elementRef:this._formField?this._formField.getConnectedOverlayOrigin():this._element}_getPanelWidth(){return this.autocomplete.panelWidth||this._getHostWidth()}_getHostWidth(){return this._getConnectedElement().nativeElement.getBoundingClientRect().width}_resetActiveItem(){let i=this.autocomplete;if(i.autoActiveFirstOption){let n=-1;for(let o=0;o<i.options.length;o++)if(!i.options.get(o).disabled){n=o;break}i._keyManager.setActiveItem(n)}else i._keyManager.setActiveItem(-1)}_canOpen(){let i=this._element.nativeElement;return!i.readOnly&&!i.disabled&&!this.autocompleteDisabled}_getWindow(){return this._document?.defaultView||window}_scrollToOption(i){let n=this.autocomplete,o=dh(i,n.options,n.optionGroups);if(i===0&&o===1)n._setScrollTop(0);else if(n.panel){let a=n.options.toArray()[i];if(a){let s=a._getHostElement(),l=uh(s.offsetTop,s.offsetHeight,n._getScrollTop(),n.panel.nativeElement.offsetHeight);n._setScrollTop(l)}}}_applyModalPanelOwnership(){let i=this._element.nativeElement.closest('body > .cdk-overlay-container [aria-modal="true"]');if(!i)return;let n=this.autocomplete.id;this._trackedModal&&Po(this._trackedModal,"aria-owns",n),al(i,"aria-owns",n),this._trackedModal=i}_clearFromModal(){if(this._trackedModal){let i=this.autocomplete.id;Po(this._trackedModal,"aria-owns",i),this._trackedModal=null}}};t.\u0275fac=function(n){return new(n||t)(v($),v(Ke),v(ui),v(N),v(Ct),v(gm),v(Qi,8),v(dr,9),v(j,8),v(hr),v(fm,8))},t.\u0275dir=G({type:t,selectors:[["input","matAutocomplete",""],["textarea","matAutocomplete",""]],hostAttrs:[1,"mat-mdc-autocomplete-trigger"],hostVars:7,hostBindings:function(n,o){n&1&&J("focusin",function(){return o._handleFocus()})("blur",function(){return o._onTouched()})("input",function(s){return o._handleInput(s)})("keydown",function(s){return o._handleKeydown(s)})("click",function(){return o._handleClick()}),n&2&&ct("autocomplete",o.autocompleteAttribute)("role",o.autocompleteDisabled?null:"combobox")("aria-autocomplete",o.autocompleteDisabled?null:"list")("aria-activedescendant",o.panelOpen&&o.activeOption?o.activeOption.id:null)("aria-expanded",o.autocompleteDisabled?null:o.panelOpen.toString())("aria-controls",o.autocompleteDisabled||!o.panelOpen||o.autocomplete==null?null:o.autocomplete.id)("aria-haspopup",o.autocompleteDisabled?null:"listbox")},inputs:{autocomplete:[k.None,"matAutocomplete","autocomplete"],position:[k.None,"matAutocompletePosition","position"],connectedTo:[k.None,"matAutocompleteConnectedTo","connectedTo"],autocompleteAttribute:[k.None,"autocomplete","autocompleteAttribute"],autocompleteDisabled:[k.HasDecoratorInputTransform,"matAutocompleteDisabled","autocompleteDisabled",tt]},exportAs:["matAutocompleteTrigger"],standalone:!0,features:[_t([_y]),ht,qt]});let e=t;return e})(),bm=(()=>{let t=class t{};t.\u0275fac=function(n){return new(n||t)},t.\u0275mod=z({type:t}),t.\u0275inj=B({providers:[yy],imports:[Lh,bl,st,Kt,Ho,bl,st]});let e=t;return e})();var wy=["mat-button",""],Cy=[[["",8,"material-icons",3,"iconPositionEnd",""],["mat-icon",3,"iconPositionEnd",""],["","matButtonIcon","",3,"iconPositionEnd",""]],"*",[["","iconPositionEnd","",8,"material-icons"],["mat-icon","iconPositionEnd",""],["","matButtonIcon","","iconPositionEnd",""]]],Ey=[".material-icons:not([iconPositionEnd]), mat-icon:not([iconPositionEnd]), [matButtonIcon]:not([iconPositionEnd])","*",".material-icons[iconPositionEnd], mat-icon[iconPositionEnd], [matButtonIcon][iconPositionEnd]"],Iy='.mdc-touch-target-wrapper{display:inline}.mdc-elevation-overlay{position:absolute;border-radius:inherit;pointer-events:none;opacity:var(--mdc-elevation-overlay-opacity, 0);transition:opacity 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-button{position:relative;display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;min-width:64px;border:none;outline:none;line-height:inherit;user-select:none;-webkit-appearance:none;overflow:visible;vertical-align:middle;background:rgba(0,0,0,0)}.mdc-button .mdc-elevation-overlay{width:100%;height:100%;top:0;left:0}.mdc-button::-moz-focus-inner{padding:0;border:0}.mdc-button:active{outline:none}.mdc-button:hover{cursor:pointer}.mdc-button:disabled{cursor:default;pointer-events:none}.mdc-button[hidden]{display:none}.mdc-button .mdc-button__icon{margin-left:0;margin-right:8px;display:inline-block;position:relative;vertical-align:top}[dir=rtl] .mdc-button .mdc-button__icon,.mdc-button .mdc-button__icon[dir=rtl]{margin-left:8px;margin-right:0}.mdc-button .mdc-button__progress-indicator{font-size:0;position:absolute;transform:translate(-50%, -50%);top:50%;left:50%;line-height:initial}.mdc-button .mdc-button__label{position:relative}.mdc-button .mdc-button__focus-ring{pointer-events:none;border:2px solid rgba(0,0,0,0);border-radius:6px;box-sizing:content-box;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(100% + 4px);width:calc(100% + 4px);display:none}@media screen and (forced-colors: active){.mdc-button .mdc-button__focus-ring{border-color:CanvasText}}.mdc-button .mdc-button__focus-ring::after{content:"";border:2px solid rgba(0,0,0,0);border-radius:8px;display:block;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(100% + 4px);width:calc(100% + 4px)}@media screen and (forced-colors: active){.mdc-button .mdc-button__focus-ring::after{border-color:CanvasText}}@media screen and (forced-colors: active){.mdc-button.mdc-ripple-upgraded--background-focused .mdc-button__focus-ring,.mdc-button:not(.mdc-ripple-upgraded):focus .mdc-button__focus-ring{display:block}}.mdc-button .mdc-button__touch{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%)}.mdc-button__label+.mdc-button__icon{margin-left:8px;margin-right:0}[dir=rtl] .mdc-button__label+.mdc-button__icon,.mdc-button__label+.mdc-button__icon[dir=rtl]{margin-left:0;margin-right:8px}svg.mdc-button__icon{fill:currentColor}.mdc-button--touch{margin-top:6px;margin-bottom:6px}.mdc-button{padding:0 8px 0 8px}.mdc-button--unelevated{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);padding:0 16px 0 16px}.mdc-button--unelevated.mdc-button--icon-trailing{padding:0 12px 0 16px}.mdc-button--unelevated.mdc-button--icon-leading{padding:0 16px 0 12px}.mdc-button--raised{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);padding:0 16px 0 16px}.mdc-button--raised.mdc-button--icon-trailing{padding:0 12px 0 16px}.mdc-button--raised.mdc-button--icon-leading{padding:0 16px 0 12px}.mdc-button--outlined{border-style:solid;transition:border 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-button--outlined .mdc-button__ripple{border-style:solid;border-color:rgba(0,0,0,0)}.mat-mdc-button{font-family:var(--mdc-text-button-label-text-font);font-size:var(--mdc-text-button-label-text-size);letter-spacing:var(--mdc-text-button-label-text-tracking);font-weight:var(--mdc-text-button-label-text-weight);text-transform:var(--mdc-text-button-label-text-transform);height:var(--mdc-text-button-container-height);border-radius:var(--mdc-text-button-container-shape);padding:0 var(--mat-text-button-horizontal-padding, 8px)}.mat-mdc-button:not(:disabled){color:var(--mdc-text-button-label-text-color)}.mat-mdc-button:disabled{color:var(--mdc-text-button-disabled-label-text-color)}.mat-mdc-button .mdc-button__ripple{border-radius:var(--mdc-text-button-container-shape)}.mat-mdc-button:has(.material-icons,mat-icon,[matButtonIcon]){padding:0 var(--mat-text-button-with-icon-horizontal-padding, 8px)}.mat-mdc-button>.mat-icon{margin-right:var(--mat-text-button-icon-spacing, 8px);margin-left:var(--mat-text-button-icon-offset, 0)}[dir=rtl] .mat-mdc-button>.mat-icon{margin-right:var(--mat-text-button-icon-offset, 0);margin-left:var(--mat-text-button-icon-spacing, 8px)}.mat-mdc-button .mdc-button__label+.mat-icon{margin-right:var(--mat-text-button-icon-offset, 0);margin-left:var(--mat-text-button-icon-spacing, 8px)}[dir=rtl] .mat-mdc-button .mdc-button__label+.mat-icon{margin-right:var(--mat-text-button-icon-spacing, 8px);margin-left:var(--mat-text-button-icon-offset, 0)}.mat-mdc-button .mat-ripple-element{background-color:var(--mat-text-button-ripple-color)}.mat-mdc-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-text-button-state-layer-color)}.mat-mdc-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-text-button-disabled-state-layer-color)}.mat-mdc-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-text-button-hover-state-layer-opacity)}.mat-mdc-button.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-button.mat-mdc-button-disabled-interactive:focus .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-text-button-focus-state-layer-opacity)}.mat-mdc-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-text-button-pressed-state-layer-opacity)}.mat-mdc-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%);display:var(--mat-text-button-touch-target-display)}.mat-mdc-button[disabled],.mat-mdc-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-text-button-disabled-label-text-color)}.mat-mdc-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-unelevated-button{font-family:var(--mdc-filled-button-label-text-font);font-size:var(--mdc-filled-button-label-text-size);letter-spacing:var(--mdc-filled-button-label-text-tracking);font-weight:var(--mdc-filled-button-label-text-weight);text-transform:var(--mdc-filled-button-label-text-transform);height:var(--mdc-filled-button-container-height);border-radius:var(--mdc-filled-button-container-shape);padding:0 var(--mat-filled-button-horizontal-padding, 16px)}.mat-mdc-unelevated-button:not(:disabled){background-color:var(--mdc-filled-button-container-color)}.mat-mdc-unelevated-button:disabled{background-color:var(--mdc-filled-button-disabled-container-color)}.mat-mdc-unelevated-button:not(:disabled){color:var(--mdc-filled-button-label-text-color)}.mat-mdc-unelevated-button:disabled{color:var(--mdc-filled-button-disabled-label-text-color)}.mat-mdc-unelevated-button .mdc-button__ripple{border-radius:var(--mdc-filled-button-container-shape)}.mat-mdc-unelevated-button>.mat-icon{margin-right:var(--mat-filled-button-icon-spacing, 8px);margin-left:var(--mat-filled-button-icon-offset, -4px)}[dir=rtl] .mat-mdc-unelevated-button>.mat-icon{margin-right:var(--mat-filled-button-icon-offset, -4px);margin-left:var(--mat-filled-button-icon-spacing, 8px)}.mat-mdc-unelevated-button .mdc-button__label+.mat-icon{margin-right:var(--mat-filled-button-icon-offset, -4px);margin-left:var(--mat-filled-button-icon-spacing, 8px)}[dir=rtl] .mat-mdc-unelevated-button .mdc-button__label+.mat-icon{margin-right:var(--mat-filled-button-icon-spacing, 8px);margin-left:var(--mat-filled-button-icon-offset, -4px)}.mat-mdc-unelevated-button .mat-ripple-element{background-color:var(--mat-filled-button-ripple-color)}.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-filled-button-state-layer-color)}.mat-mdc-unelevated-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-filled-button-disabled-state-layer-color)}.mat-mdc-unelevated-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-filled-button-hover-state-layer-opacity)}.mat-mdc-unelevated-button.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button.mat-mdc-button-disabled-interactive:focus .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-filled-button-focus-state-layer-opacity)}.mat-mdc-unelevated-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-filled-button-pressed-state-layer-opacity)}.mat-mdc-unelevated-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%);display:var(--mat-filled-button-touch-target-display)}.mat-mdc-unelevated-button[disabled],.mat-mdc-unelevated-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-filled-button-disabled-label-text-color);background-color:var(--mdc-filled-button-disabled-container-color)}.mat-mdc-unelevated-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-raised-button{font-family:var(--mdc-protected-button-label-text-font);font-size:var(--mdc-protected-button-label-text-size);letter-spacing:var(--mdc-protected-button-label-text-tracking);font-weight:var(--mdc-protected-button-label-text-weight);text-transform:var(--mdc-protected-button-label-text-transform);height:var(--mdc-protected-button-container-height);border-radius:var(--mdc-protected-button-container-shape);padding:0 var(--mat-protected-button-horizontal-padding, 16px);box-shadow:var(--mdc-protected-button-container-elevation-shadow)}.mat-mdc-raised-button:not(:disabled){background-color:var(--mdc-protected-button-container-color)}.mat-mdc-raised-button:disabled{background-color:var(--mdc-protected-button-disabled-container-color)}.mat-mdc-raised-button:not(:disabled){color:var(--mdc-protected-button-label-text-color)}.mat-mdc-raised-button:disabled{color:var(--mdc-protected-button-disabled-label-text-color)}.mat-mdc-raised-button .mdc-button__ripple{border-radius:var(--mdc-protected-button-container-shape)}.mat-mdc-raised-button>.mat-icon{margin-right:var(--mat-protected-button-icon-spacing, 8px);margin-left:var(--mat-protected-button-icon-offset, -4px)}[dir=rtl] .mat-mdc-raised-button>.mat-icon{margin-right:var(--mat-protected-button-icon-offset, -4px);margin-left:var(--mat-protected-button-icon-spacing, 8px)}.mat-mdc-raised-button .mdc-button__label+.mat-icon{margin-right:var(--mat-protected-button-icon-offset, -4px);margin-left:var(--mat-protected-button-icon-spacing, 8px)}[dir=rtl] .mat-mdc-raised-button .mdc-button__label+.mat-icon{margin-right:var(--mat-protected-button-icon-spacing, 8px);margin-left:var(--mat-protected-button-icon-offset, -4px)}.mat-mdc-raised-button .mat-ripple-element{background-color:var(--mat-protected-button-ripple-color)}.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-protected-button-state-layer-color)}.mat-mdc-raised-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-protected-button-disabled-state-layer-color)}.mat-mdc-raised-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-protected-button-hover-state-layer-opacity)}.mat-mdc-raised-button.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button.mat-mdc-button-disabled-interactive:focus .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-protected-button-focus-state-layer-opacity)}.mat-mdc-raised-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-protected-button-pressed-state-layer-opacity)}.mat-mdc-raised-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%);display:var(--mat-protected-button-touch-target-display)}.mat-mdc-raised-button:hover{box-shadow:var(--mdc-protected-button-hover-container-elevation-shadow)}.mat-mdc-raised-button:focus{box-shadow:var(--mdc-protected-button-focus-container-elevation-shadow)}.mat-mdc-raised-button:active,.mat-mdc-raised-button:focus:active{box-shadow:var(--mdc-protected-button-pressed-container-elevation-shadow)}.mat-mdc-raised-button[disabled],.mat-mdc-raised-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-protected-button-disabled-label-text-color);background-color:var(--mdc-protected-button-disabled-container-color)}.mat-mdc-raised-button[disabled].mat-mdc-button-disabled,.mat-mdc-raised-button.mat-mdc-button-disabled.mat-mdc-button-disabled{box-shadow:var(--mdc-protected-button-disabled-container-elevation-shadow)}.mat-mdc-raised-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-outlined-button{font-family:var(--mdc-outlined-button-label-text-font);font-size:var(--mdc-outlined-button-label-text-size);letter-spacing:var(--mdc-outlined-button-label-text-tracking);font-weight:var(--mdc-outlined-button-label-text-weight);text-transform:var(--mdc-outlined-button-label-text-transform);height:var(--mdc-outlined-button-container-height);border-radius:var(--mdc-outlined-button-container-shape);padding:0 15px 0 15px;border-width:var(--mdc-outlined-button-outline-width);padding:0 var(--mat-outlined-button-horizontal-padding, 15px)}.mat-mdc-outlined-button:not(:disabled){color:var(--mdc-outlined-button-label-text-color)}.mat-mdc-outlined-button:disabled{color:var(--mdc-outlined-button-disabled-label-text-color)}.mat-mdc-outlined-button .mdc-button__ripple{border-radius:var(--mdc-outlined-button-container-shape)}.mat-mdc-outlined-button:not(:disabled){border-color:var(--mdc-outlined-button-outline-color)}.mat-mdc-outlined-button:disabled{border-color:var(--mdc-outlined-button-disabled-outline-color)}.mat-mdc-outlined-button.mdc-button--icon-trailing{padding:0 11px 0 15px}.mat-mdc-outlined-button.mdc-button--icon-leading{padding:0 15px 0 11px}.mat-mdc-outlined-button .mdc-button__ripple{top:-1px;left:-1px;bottom:-1px;right:-1px;border-width:var(--mdc-outlined-button-outline-width)}.mat-mdc-outlined-button .mdc-button__touch{left:calc(-1 * var(--mdc-outlined-button-outline-width));width:calc(100% + 2 * var(--mdc-outlined-button-outline-width))}.mat-mdc-outlined-button>.mat-icon{margin-right:var(--mat-outlined-button-icon-spacing, 8px);margin-left:var(--mat-outlined-button-icon-offset, -4px)}[dir=rtl] .mat-mdc-outlined-button>.mat-icon{margin-right:var(--mat-outlined-button-icon-offset, -4px);margin-left:var(--mat-outlined-button-icon-spacing, 8px)}.mat-mdc-outlined-button .mdc-button__label+.mat-icon{margin-right:var(--mat-outlined-button-icon-offset, -4px);margin-left:var(--mat-outlined-button-icon-spacing, 8px)}[dir=rtl] .mat-mdc-outlined-button .mdc-button__label+.mat-icon{margin-right:var(--mat-outlined-button-icon-spacing, 8px);margin-left:var(--mat-outlined-button-icon-offset, -4px)}.mat-mdc-outlined-button .mat-ripple-element{background-color:var(--mat-outlined-button-ripple-color)}.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-outlined-button-state-layer-color)}.mat-mdc-outlined-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-outlined-button-disabled-state-layer-color)}.mat-mdc-outlined-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-outlined-button-hover-state-layer-opacity)}.mat-mdc-outlined-button.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button.mat-mdc-button-disabled-interactive:focus .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-outlined-button-focus-state-layer-opacity)}.mat-mdc-outlined-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-outlined-button-pressed-state-layer-opacity)}.mat-mdc-outlined-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%);display:var(--mat-outlined-button-touch-target-display)}.mat-mdc-outlined-button[disabled],.mat-mdc-outlined-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-outlined-button-disabled-label-text-color);border-color:var(--mdc-outlined-button-disabled-outline-color)}.mat-mdc-outlined-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-button-base{text-decoration:none}.mat-mdc-button,.mat-mdc-unelevated-button,.mat-mdc-raised-button,.mat-mdc-outlined-button{-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-button .mat-mdc-button-ripple,.mat-mdc-button .mat-mdc-button-persistent-ripple,.mat-mdc-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button .mat-mdc-button-ripple,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button .mat-mdc-button-ripple,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-button .mat-mdc-button-ripple,.mat-mdc-unelevated-button .mat-mdc-button-ripple,.mat-mdc-raised-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mat-mdc-button-ripple{overflow:hidden}.mat-mdc-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{content:"";opacity:0}.mat-mdc-button .mdc-button__label,.mat-mdc-unelevated-button .mdc-button__label,.mat-mdc-raised-button .mdc-button__label,.mat-mdc-outlined-button .mdc-button__label{z-index:1}.mat-mdc-button .mat-mdc-focus-indicator,.mat-mdc-unelevated-button .mat-mdc-focus-indicator,.mat-mdc-raised-button .mat-mdc-focus-indicator,.mat-mdc-outlined-button .mat-mdc-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute}.mat-mdc-button:focus .mat-mdc-focus-indicator::before,.mat-mdc-unelevated-button:focus .mat-mdc-focus-indicator::before,.mat-mdc-raised-button:focus .mat-mdc-focus-indicator::before,.mat-mdc-outlined-button:focus .mat-mdc-focus-indicator::before{content:""}.mat-mdc-button._mat-animation-noopable,.mat-mdc-unelevated-button._mat-animation-noopable,.mat-mdc-raised-button._mat-animation-noopable,.mat-mdc-outlined-button._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mdc-button>.mat-icon,.mat-mdc-unelevated-button>.mat-icon,.mat-mdc-raised-button>.mat-icon,.mat-mdc-outlined-button>.mat-icon{display:inline-block;position:relative;vertical-align:top;font-size:1.125rem;height:1.125rem;width:1.125rem}.mat-mdc-outlined-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mdc-button__ripple{top:-1px;left:-1px;bottom:-1px;right:-1px;border-width:-1px}.mat-mdc-unelevated-button .mat-mdc-focus-indicator::before,.mat-mdc-raised-button .mat-mdc-focus-indicator::before{margin:calc(calc(var(--mat-mdc-focus-indicator-border-width, 3px) + 2px)*-1)}.mat-mdc-outlined-button .mat-mdc-focus-indicator::before{margin:calc(calc(var(--mat-mdc-focus-indicator-border-width, 3px) + 3px)*-1)}',_m=".cdk-high-contrast-active .mat-mdc-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-unelevated-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-raised-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-outlined-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-icon-button{outline:solid 1px}";var Sy=["mat-icon-button",""],My=["*"];var Ay=new F("MAT_BUTTON_CONFIG");var Oy=[{attribute:"mat-button",mdcClasses:["mdc-button","mat-mdc-button"]},{attribute:"mat-flat-button",mdcClasses:["mdc-button","mdc-button--unelevated","mat-mdc-unelevated-button"]},{attribute:"mat-raised-button",mdcClasses:["mdc-button","mdc-button--raised","mat-mdc-raised-button"]},{attribute:"mat-stroked-button",mdcClasses:["mdc-button","mdc-button--outlined","mat-mdc-outlined-button"]},{attribute:"mat-fab",mdcClasses:["mdc-fab","mat-mdc-fab"]},{attribute:"mat-mini-fab",mdcClasses:["mdc-fab","mdc-fab--mini","mat-mdc-mini-fab"]},{attribute:"mat-icon-button",mdcClasses:["mdc-icon-button","mat-mdc-icon-button"]}],vm=(()=>{let t=class t{get ripple(){return this._rippleLoader?.getRipple(this._elementRef.nativeElement)}set ripple(i){this._rippleLoader?.attachRipple(this._elementRef.nativeElement,i)}get disableRipple(){return this._disableRipple}set disableRipple(i){this._disableRipple=i,this._updateRippleDisabled()}get disabled(){return this._disabled}set disabled(i){this._disabled=i,this._updateRippleDisabled()}constructor(i,n,o,a){this._elementRef=i,this._platform=n,this._ngZone=o,this._animationMode=a,this._focusMonitor=I(No),this._rippleLoader=I(hh),this._isFab=!1,this._disableRipple=!1,this._disabled=!1;let s=I(Ay,{optional:!0}),l=i.nativeElement,c=l.classList;this.disabledInteractive=s?.disabledInteractive??!1,this._rippleLoader?.configureRipple(l,{className:"mat-mdc-button-ripple"});for(let{attribute:d,mdcClasses:u}of Oy)l.hasAttribute(d)&&c.add(...u)}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0)}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._rippleLoader?.destroyRipple(this._elementRef.nativeElement)}focus(i="program",n){i?this._focusMonitor.focusVia(this._elementRef.nativeElement,i,n):this._elementRef.nativeElement.focus(n)}_getAriaDisabled(){return this.ariaDisabled!=null?this.ariaDisabled:this.disabled&&this.disabledInteractive?!0:null}_getDisabledAttribute(){return this.disabledInteractive||!this.disabled?null:!0}_updateRippleDisabled(){this._rippleLoader?.setDisabled(this._elementRef.nativeElement,this.disableRipple||this.disabled)}};t.\u0275fac=function(n){di()},t.\u0275dir=G({type:t,inputs:{color:"color",disableRipple:[k.HasDecoratorInputTransform,"disableRipple","disableRipple",tt],disabled:[k.HasDecoratorInputTransform,"disabled","disabled",tt],ariaDisabled:[k.HasDecoratorInputTransform,"aria-disabled","ariaDisabled",tt],disabledInteractive:[k.HasDecoratorInputTransform,"disabledInteractive","disabledInteractive",tt]},features:[ht]});let e=t;return e})();var Dy=(()=>{let t=class t extends vm{constructor(i,n,o,a){super(i,n,o,a),this._haltDisabledEvents=s=>{this.disabled&&(s.preventDefault(),s.stopImmediatePropagation())}}ngOnInit(){this._ngZone.runOutsideAngular(()=>{this._elementRef.nativeElement.addEventListener("click",this._haltDisabledEvents)})}ngOnDestroy(){super.ngOnDestroy(),this._elementRef.nativeElement.removeEventListener("click",this._haltDisabledEvents)}_getAriaDisabled(){return this.ariaDisabled==null?this.disabled:this.ariaDisabled}};t.\u0275fac=function(n){di()},t.\u0275dir=G({type:t,inputs:{tabIndex:[k.HasDecoratorInputTransform,"tabIndex","tabIndex",i=>i==null?void 0:Cn(i)]},features:[ht,Zt]});let e=t;return e})();var ym=(()=>{let t=class t extends Dy{constructor(i,n,o,a){super(i,n,o,a)}};t.\u0275fac=function(n){return new(n||t)(v($),v(et),v(N),v(Nt,8))},t.\u0275cmp=K({type:t,selectors:[["a","mat-button",""],["a","mat-raised-button",""],["a","mat-flat-button",""],["a","mat-stroked-button",""]],hostVars:15,hostBindings:function(n,o){n&2&&(ct("disabled",o._getDisabledAttribute())("tabindex",o.disabled&&!o.disabledInteractive?-1:o.tabIndex)("aria-disabled",o._getDisabledAttribute()),Ae(o.color?"mat-"+o.color:""),L("mat-mdc-button-disabled",o.disabled)("mat-mdc-button-disabled-interactive",o.disabledInteractive)("_mat-animation-noopable",o._animationMode==="NoopAnimations")("mat-unthemed",!o.color)("mat-mdc-button-base",!0))},exportAs:["matButton","matAnchor"],standalone:!0,features:[Zt,Q],attrs:wy,ngContentSelectors:Ey,decls:7,vars:4,consts:[[1,"mat-mdc-button-persistent-ripple"],[1,"mdc-button__label"],[1,"mat-mdc-focus-indicator"],[1,"mat-mdc-button-touch-target"]],template:function(n,o){n&1&&(Ot(Cy),R(0,"span",0),rt(1),m(2,"span",1),rt(3,1),h(),rt(4,2),R(5,"span",2)(6,"span",3)),n&2&&L("mdc-button__ripple",!o._isFab)("mdc-fab__ripple",o._isFab)},styles:[Iy,_m],encapsulation:2,changeDetection:0});let e=t;return e})();var xm=(()=>{let t=class t extends vm{constructor(i,n,o,a){super(i,n,o,a),this._rippleLoader.configureRipple(this._elementRef.nativeElement,{centered:!0})}};t.\u0275fac=function(n){return new(n||t)(v($),v(et),v(N),v(Nt,8))},t.\u0275cmp=K({type:t,selectors:[["button","mat-icon-button",""]],hostVars:14,hostBindings:function(n,o){n&2&&(ct("disabled",o._getDisabledAttribute())("aria-disabled",o._getAriaDisabled()),Ae(o.color?"mat-"+o.color:""),L("mat-mdc-button-disabled",o.disabled)("mat-mdc-button-disabled-interactive",o.disabledInteractive)("_mat-animation-noopable",o._animationMode==="NoopAnimations")("mat-unthemed",!o.color)("mat-mdc-button-base",!0))},exportAs:["matButton"],standalone:!0,features:[Zt,Q],attrs:Sy,ngContentSelectors:My,decls:4,vars:0,consts:[[1,"mat-mdc-button-persistent-ripple","mdc-icon-button__ripple"],[1,"mat-mdc-focus-indicator"],[1,"mat-mdc-button-touch-target"]],template:function(n,o){n&1&&(Ot(),R(0,"span",0),rt(1),R(2,"span",1)(3,"span",2))},styles:['.mdc-icon-button{display:inline-block;position:relative;box-sizing:border-box;border:none;outline:none;background-color:rgba(0,0,0,0);fill:currentColor;color:inherit;text-decoration:none;cursor:pointer;user-select:none;z-index:0;overflow:visible}.mdc-icon-button .mdc-icon-button__touch{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%)}@media screen and (forced-colors: active){.mdc-icon-button.mdc-ripple-upgraded--background-focused .mdc-icon-button__focus-ring,.mdc-icon-button:not(.mdc-ripple-upgraded):focus .mdc-icon-button__focus-ring{display:block}}.mdc-icon-button:disabled{cursor:default;pointer-events:none}.mdc-icon-button[hidden]{display:none}.mdc-icon-button--display-flex{align-items:center;display:inline-flex;justify-content:center}.mdc-icon-button__focus-ring{pointer-events:none;border:2px solid rgba(0,0,0,0);border-radius:6px;box-sizing:content-box;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:100%;width:100%;display:none}@media screen and (forced-colors: active){.mdc-icon-button__focus-ring{border-color:CanvasText}}.mdc-icon-button__focus-ring::after{content:"";border:2px solid rgba(0,0,0,0);border-radius:8px;display:block;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(100% + 4px);width:calc(100% + 4px)}@media screen and (forced-colors: active){.mdc-icon-button__focus-ring::after{border-color:CanvasText}}.mdc-icon-button__icon{display:inline-block}.mdc-icon-button__icon.mdc-icon-button__icon--on{display:none}.mdc-icon-button--on .mdc-icon-button__icon{display:none}.mdc-icon-button--on .mdc-icon-button__icon.mdc-icon-button__icon--on{display:inline-block}.mdc-icon-button__link{height:100%;left:0;outline:none;position:absolute;top:0;width:100%}.mat-mdc-icon-button{color:var(--mdc-icon-button-icon-color)}.mat-mdc-icon-button .mdc-button__icon{font-size:var(--mdc-icon-button-icon-size)}.mat-mdc-icon-button svg,.mat-mdc-icon-button img{width:var(--mdc-icon-button-icon-size);height:var(--mdc-icon-button-icon-size)}.mat-mdc-icon-button:disabled{color:var(--mdc-icon-button-disabled-icon-color)}.mat-mdc-icon-button{border-radius:50%;flex-shrink:0;text-align:center;width:var(--mdc-icon-button-state-layer-size, 48px);height:var(--mdc-icon-button-state-layer-size, 48px);padding:calc(calc(var(--mdc-icon-button-state-layer-size, 48px) - var(--mdc-icon-button-icon-size, 24px)) / 2);font-size:var(--mdc-icon-button-icon-size);-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-icon-button svg{vertical-align:baseline}.mat-mdc-icon-button[disabled],.mat-mdc-icon-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-icon-button-disabled-icon-color)}.mat-mdc-icon-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-icon-button .mat-mdc-button-ripple,.mat-mdc-icon-button .mat-mdc-button-persistent-ripple,.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-icon-button .mat-mdc-button-ripple{overflow:hidden}.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before{content:"";opacity:0}.mat-mdc-icon-button .mdc-button__label{z-index:1}.mat-mdc-icon-button .mat-mdc-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute}.mat-mdc-icon-button:focus .mat-mdc-focus-indicator::before{content:""}.mat-mdc-icon-button .mat-ripple-element{background-color:var(--mat-icon-button-ripple-color)}.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-icon-button-state-layer-color)}.mat-mdc-icon-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-icon-button-disabled-state-layer-color)}.mat-mdc-icon-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-icon-button-hover-state-layer-opacity)}.mat-mdc-icon-button.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-icon-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-icon-button.mat-mdc-button-disabled-interactive:focus .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-icon-button-focus-state-layer-opacity)}.mat-mdc-icon-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-icon-button-pressed-state-layer-opacity)}.mat-mdc-icon-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%);display:var(--mat-icon-button-touch-target-display)}.mat-mdc-icon-button._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mdc-icon-button .mat-mdc-button-persistent-ripple{border-radius:50%}.mat-mdc-icon-button.mat-unthemed:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-primary:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-accent:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-warn:not(.mdc-ripple-upgraded):focus::before{background:rgba(0,0,0,0);opacity:1}',_m],encapsulation:2,changeDetection:0});let e=t;return e})();var an=(()=>{let t=class t{};t.\u0275fac=function(n){return new(n||t)},t.\u0275mod=z({type:t}),t.\u0275inj=B({imports:[st,cr,st]});let e=t;return e})();var Ty=["button"],Ry=["*"],Cm=new F("MAT_BUTTON_TOGGLE_DEFAULT_OPTIONS"),Em=new F("MatButtonToggleGroup"),ky={provide:on,useExisting:Me(()=>Hl),multi:!0},Im=0,ra=class{constructor(t,r){this.source=t,this.value=r}},Hl=(()=>{let t=class t{get name(){return this._name}set name(i){this._name=i,this._markButtonsForCheck()}get value(){let i=this._selectionModel?this._selectionModel.selected:[];return this.multiple?i.map(n=>n.value):i[0]?i[0].value:void 0}set value(i){this._setSelectionByValue(i),this.valueChange.emit(this.value)}get selected(){let i=this._selectionModel?this._selectionModel.selected:[];return this.multiple?i:i[0]||null}get multiple(){return this._multiple}set multiple(i){this._multiple=i,this._markButtonsForCheck()}get disabled(){return this._disabled}set disabled(i){this._disabled=i,this._markButtonsForCheck()}constructor(i,n){this._changeDetector=i,this._multiple=!1,this._disabled=!1,this._controlValueAccessorChangeFn=()=>{},this._onTouched=()=>{},this._name=`mat-button-toggle-group-${Im++}`,this.valueChange=new Z,this.change=new Z,this.appearance=n&&n.appearance?n.appearance:"standard"}ngOnInit(){this._selectionModel=new $o(this.multiple,void 0,!1)}ngAfterContentInit(){this._selectionModel.select(...this._buttonToggles.filter(i=>i.checked))}writeValue(i){this.value=i,this._changeDetector.markForCheck()}registerOnChange(i){this._controlValueAccessorChangeFn=i}registerOnTouched(i){this._onTouched=i}setDisabledState(i){this.disabled=i}_emitChangeEvent(i){let n=new ra(i,this.value);this._rawValue=n.value,this._controlValueAccessorChangeFn(n.value),this.change.emit(n)}_syncButtonToggle(i,n,o=!1,a=!1){!this.multiple&&this.selected&&!i.checked&&(this.selected.checked=!1),this._selectionModel?n?this._selectionModel.select(i):this._selectionModel.deselect(i):a=!0,a?Promise.resolve().then(()=>this._updateModelValue(i,o)):this._updateModelValue(i,o)}_isSelected(i){return this._selectionModel&&this._selectionModel.isSelected(i)}_isPrechecked(i){return typeof this._rawValue>"u"?!1:this.multiple&&Array.isArray(this._rawValue)?this._rawValue.some(n=>i.value!=null&&n===i.value):i.value===this._rawValue}_setSelectionByValue(i){this._rawValue=i,this._buttonToggles&&(this.multiple&&i?(Array.isArray(i),this._clearSelection(),i.forEach(n=>this._selectValue(n))):(this._clearSelection(),this._selectValue(i)))}_clearSelection(){this._selectionModel.clear(),this._buttonToggles.forEach(i=>i.checked=!1)}_selectValue(i){let n=this._buttonToggles.find(o=>o.value!=null&&o.value===i);n&&(n.checked=!0,this._selectionModel.select(n))}_updateModelValue(i,n){n&&this._emitChangeEvent(i),this.valueChange.emit(this.value)}_markButtonsForCheck(){this._buttonToggles?.forEach(i=>i._markForCheck())}};t.\u0275fac=function(n){return new(n||t)(v(Ct),v(Cm,8))},t.\u0275dir=G({type:t,selectors:[["mat-button-toggle-group"]],contentQueries:function(n,o,a){if(n&1&&kt(a,Wl,5),n&2){let s;Y(s=q())&&(o._buttonToggles=s)}},hostAttrs:["role","group",1,"mat-button-toggle-group"],hostVars:5,hostBindings:function(n,o){n&2&&(ct("aria-disabled",o.disabled),L("mat-button-toggle-vertical",o.vertical)("mat-button-toggle-group-appearance-standard",o.appearance==="standard"))},inputs:{appearance:"appearance",name:"name",vertical:[k.HasDecoratorInputTransform,"vertical","vertical",tt],value:"value",multiple:[k.HasDecoratorInputTransform,"multiple","multiple",tt],disabled:[k.HasDecoratorInputTransform,"disabled","disabled",tt]},outputs:{valueChange:"valueChange",change:"change"},exportAs:["matButtonToggleGroup"],standalone:!0,features:[_t([ky,{provide:Em,useExisting:t}]),ht]});let e=t;return e})(),Wl=(()=>{let t=class t{get buttonId(){return`${this.id}-button`}get appearance(){return this.buttonToggleGroup?this.buttonToggleGroup.appearance:this._appearance}set appearance(i){this._appearance=i}get checked(){return this.buttonToggleGroup?this.buttonToggleGroup._isSelected(this):this._checked}set checked(i){i!==this._checked&&(this._checked=i,this.buttonToggleGroup&&this.buttonToggleGroup._syncButtonToggle(this,this._checked),this._changeDetectorRef.markForCheck())}get disabled(){return this._disabled||this.buttonToggleGroup&&this.buttonToggleGroup.disabled}set disabled(i){this._disabled=i}constructor(i,n,o,a,s,l){this._changeDetectorRef=n,this._elementRef=o,this._focusMonitor=a,this._checked=!1,this.ariaLabelledby=null,this._disabled=!1,this.change=new Z;let c=Number(s);this.tabIndex=c||c===0?c:null,this.buttonToggleGroup=i,this.appearance=l&&l.appearance?l.appearance:"standard"}ngOnInit(){let i=this.buttonToggleGroup;this.id=this.id||`mat-button-toggle-${Im++}`,i&&(i._isPrechecked(this)?this.checked=!0:i._isSelected(this)!==this._checked&&i._syncButtonToggle(this,this._checked))}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0)}ngOnDestroy(){let i=this.buttonToggleGroup;this._focusMonitor.stopMonitoring(this._elementRef),i&&i._isSelected(this)&&i._syncButtonToggle(this,!1,!1,!0)}focus(i){this._buttonElement.nativeElement.focus(i)}_onButtonClick(){let i=this._isSingleSelector()?!0:!this._checked;i!==this._checked&&(this._checked=i,this.buttonToggleGroup&&(this.buttonToggleGroup._syncButtonToggle(this,this._checked,!0),this.buttonToggleGroup._onTouched())),this.change.emit(new ra(this,this.value))}_markForCheck(){this._changeDetectorRef.markForCheck()}_getButtonName(){return this._isSingleSelector()?this.buttonToggleGroup.name:this.name||null}_isSingleSelector(){return this.buttonToggleGroup&&!this.buttonToggleGroup.multiple}};t.\u0275fac=function(n){return new(n||t)(v(Em,8),v(Ct),v($),v(No),li("tabindex"),v(Cm,8))},t.\u0275cmp=K({type:t,selectors:[["mat-button-toggle"]],viewQuery:function(n,o){if(n&1&&gt(Ty,5),n&2){let a;Y(a=q())&&(o._buttonElement=a.first)}},hostAttrs:["role","presentation",1,"mat-button-toggle"],hostVars:12,hostBindings:function(n,o){n&1&&J("focus",function(){return o.focus()}),n&2&&(ct("aria-label",null)("aria-labelledby",null)("id",o.id)("name",null),L("mat-button-toggle-standalone",!o.buttonToggleGroup)("mat-button-toggle-checked",o.checked)("mat-button-toggle-disabled",o.disabled)("mat-button-toggle-appearance-standard",o.appearance==="standard"))},inputs:{ariaLabel:[k.None,"aria-label","ariaLabel"],ariaLabelledby:[k.None,"aria-labelledby","ariaLabelledby"],id:"id",name:"name",value:"value",tabIndex:"tabIndex",disableRipple:[k.HasDecoratorInputTransform,"disableRipple","disableRipple",tt],appearance:"appearance",checked:[k.HasDecoratorInputTransform,"checked","checked",tt],disabled:[k.HasDecoratorInputTransform,"disabled","disabled",tt]},outputs:{change:"change"},exportAs:["matButtonToggle"],standalone:!0,features:[ht,Q],ngContentSelectors:Ry,decls:6,vars:9,consts:[["type","button",1,"mat-button-toggle-button","mat-focus-indicator",3,"id","disabled","click"],["button",""],[1,"mat-button-toggle-label-content"],[1,"mat-button-toggle-focus-overlay"],["matRipple","",1,"mat-button-toggle-ripple",3,"matRippleTrigger","matRippleDisabled"]],template:function(n,o){if(n&1&&(Ot(),m(0,"button",0,1),J("click",function(){return o._onButtonClick()}),m(2,"span",2),rt(3),h()(),R(4,"span",3)(5,"span",4)),n&2){let a=dt(1);E("id",o.buttonId)("disabled",o.disabled||null),ct("tabindex",o.disabled?-1:o.tabIndex)("aria-pressed",o.checked)("name",o._getButtonName())("aria-label",o.ariaLabel)("aria-labelledby",o.ariaLabelledby),b(5),E("matRippleTrigger",a)("matRippleDisabled",o.disableRipple||o.disabled)}},dependencies:[Vo],styles:[".mat-button-toggle-standalone,.mat-button-toggle-group{position:relative;display:inline-flex;flex-direction:row;white-space:nowrap;overflow:hidden;-webkit-tap-highlight-color:rgba(0,0,0,0);transform:translateZ(0);border-radius:var(--mat-legacy-button-toggle-shape)}.mat-button-toggle-standalone:not([class*=mat-elevation-z]),.mat-button-toggle-group:not([class*=mat-elevation-z]){box-shadow:0px 3px 1px -2px rgba(0, 0, 0, 0.2), 0px 2px 2px 0px rgba(0, 0, 0, 0.14), 0px 1px 5px 0px rgba(0, 0, 0, 0.12)}.cdk-high-contrast-active .mat-button-toggle-standalone,.cdk-high-contrast-active .mat-button-toggle-group{outline:solid 1px}.mat-button-toggle-standalone.mat-button-toggle-appearance-standard,.mat-button-toggle-group-appearance-standard{border-radius:var(--mat-standard-button-toggle-shape);border:solid 1px var(--mat-standard-button-toggle-divider-color)}.mat-button-toggle-standalone.mat-button-toggle-appearance-standard:not([class*=mat-elevation-z]),.mat-button-toggle-group-appearance-standard:not([class*=mat-elevation-z]){box-shadow:none}.cdk-high-contrast-active .mat-button-toggle-standalone.mat-button-toggle-appearance-standard,.cdk-high-contrast-active .mat-button-toggle-group-appearance-standard{outline:0}.mat-button-toggle-vertical{flex-direction:column}.mat-button-toggle-vertical .mat-button-toggle-label-content{display:block}.mat-button-toggle{white-space:nowrap;position:relative;color:var(--mat-legacy-button-toggle-text-color);font-family:var(--mat-legacy-button-toggle-label-text-font);font-size:var(--mat-legacy-button-toggle-label-text-size);line-height:var(--mat-legacy-button-toggle-label-text-line-height);font-weight:var(--mat-legacy-button-toggle-label-text-weight);letter-spacing:var(--mat-legacy-button-toggle-label-text-tracking)}.mat-button-toggle.cdk-keyboard-focused .mat-button-toggle-focus-overlay{opacity:var(--mat-legacy-button-toggle-focus-state-layer-opacity)}.mat-button-toggle .mat-icon svg{vertical-align:top}.mat-button-toggle-checked{color:var(--mat-legacy-button-toggle-selected-state-text-color);background-color:var(--mat-legacy-button-toggle-selected-state-background-color)}.mat-button-toggle-disabled{color:var(--mat-legacy-button-toggle-disabled-state-text-color);background-color:var(--mat-legacy-button-toggle-disabled-state-background-color)}.mat-button-toggle-disabled.mat-button-toggle-checked{background-color:var(--mat-legacy-button-toggle-disabled-selected-state-background-color)}.mat-button-toggle-appearance-standard{color:var(--mat-standard-button-toggle-text-color);background-color:var(--mat-standard-button-toggle-background-color);font-family:var(--mat-standard-button-toggle-label-text-font);font-size:var(--mat-standard-button-toggle-label-text-size);line-height:var(--mat-standard-button-toggle-label-text-line-height);font-weight:var(--mat-standard-button-toggle-label-text-weight);letter-spacing:var(--mat-standard-button-toggle-label-text-tracking)}.mat-button-toggle-group-appearance-standard .mat-button-toggle-appearance-standard+.mat-button-toggle-appearance-standard{border-left:solid 1px var(--mat-standard-button-toggle-divider-color)}[dir=rtl] .mat-button-toggle-group-appearance-standard .mat-button-toggle-appearance-standard+.mat-button-toggle-appearance-standard{border-left:none;border-right:solid 1px var(--mat-standard-button-toggle-divider-color)}.mat-button-toggle-group-appearance-standard.mat-button-toggle-vertical .mat-button-toggle-appearance-standard+.mat-button-toggle-appearance-standard{border-left:none;border-right:none;border-top:solid 1px var(--mat-standard-button-toggle-divider-color)}.mat-button-toggle-appearance-standard.mat-button-toggle-checked{color:var(--mat-standard-button-toggle-selected-state-text-color);background-color:var(--mat-standard-button-toggle-selected-state-background-color)}.mat-button-toggle-appearance-standard.mat-button-toggle-disabled{color:var(--mat-standard-button-toggle-disabled-state-text-color);background-color:var(--mat-standard-button-toggle-disabled-state-background-color)}.mat-button-toggle-appearance-standard.mat-button-toggle-disabled.mat-button-toggle-checked{color:var(--mat-standard-button-toggle-disabled-selected-state-text-color);background-color:var(--mat-standard-button-toggle-disabled-selected-state-background-color)}.mat-button-toggle-appearance-standard .mat-button-toggle-focus-overlay{background-color:var(--mat-standard-button-toggle-state-layer-color)}.mat-button-toggle-appearance-standard:not(.mat-button-toggle-disabled):hover .mat-button-toggle-focus-overlay{opacity:var(--mat-standard-button-toggle-hover-state-layer-opacity)}.mat-button-toggle-appearance-standard.cdk-keyboard-focused:not(.mat-button-toggle-disabled) .mat-button-toggle-focus-overlay{opacity:var(--mat-standard-button-toggle-focus-state-layer-opacity)}@media(hover: none){.mat-button-toggle-appearance-standard:not(.mat-button-toggle-disabled):hover .mat-button-toggle-focus-overlay{display:none}}.mat-button-toggle-label-content{-webkit-user-select:none;user-select:none;display:inline-block;padding:0 16px;line-height:var(--mat-legacy-button-toggle-height);position:relative}.mat-button-toggle-appearance-standard .mat-button-toggle-label-content{padding:0 12px;line-height:var(--mat-standard-button-toggle-height)}.mat-button-toggle-label-content>*{vertical-align:middle}.mat-button-toggle-focus-overlay{top:0;left:0;right:0;bottom:0;position:absolute;border-radius:inherit;pointer-events:none;opacity:0;background-color:var(--mat-legacy-button-toggle-state-layer-color)}.cdk-high-contrast-active .mat-button-toggle-checked .mat-button-toggle-focus-overlay{border-bottom:solid 500px;opacity:.5;height:0}.cdk-high-contrast-active .mat-button-toggle-checked:hover .mat-button-toggle-focus-overlay{opacity:.6}.cdk-high-contrast-active .mat-button-toggle-checked.mat-button-toggle-appearance-standard .mat-button-toggle-focus-overlay{border-bottom:solid 500px}.mat-button-toggle .mat-button-toggle-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-button-toggle-button{border:0;background:none;color:inherit;padding:0;margin:0;font:inherit;outline:none;width:100%;cursor:pointer}.mat-button-toggle-disabled .mat-button-toggle-button{cursor:default}.mat-button-toggle-button::-moz-focus-inner{border:0}"],encapsulation:2,changeDetection:0});let e=t;return e})(),Sm=(()=>{let t=class t{};t.\u0275fac=function(n){return new(n||t)},t.\u0275mod=z({type:t}),t.\u0275inj=B({imports:[st,cr,st]});let e=t;return e})();var Mm=Xe({passive:!0}),Am=(()=>{let t=class t{constructor(i,n){this._platform=i,this._ngZone=n,this._monitoredElements=new Map}monitor(i){if(!this._platform.isBrowser)return Ce;let n=se(i),o=this._monitoredElements.get(n);if(o)return o.subject;let a=new H,s="cdk-text-field-autofilled",l=c=>{c.animationName==="cdk-text-field-autofill-start"&&!n.classList.contains(s)?(n.classList.add(s),this._ngZone.run(()=>a.next({target:c.target,isAutofilled:!0}))):c.animationName==="cdk-text-field-autofill-end"&&n.classList.contains(s)&&(n.classList.remove(s),this._ngZone.run(()=>a.next({target:c.target,isAutofilled:!1})))};return this._ngZone.runOutsideAngular(()=>{n.addEventListener("animationstart",l,Mm),n.classList.add("cdk-text-field-autofill-monitored")}),this._monitoredElements.set(n,{subject:a,unlisten:()=>{n.removeEventListener("animationstart",l,Mm)}}),a}stopMonitoring(i){let n=se(i),o=this._monitoredElements.get(n);o&&(o.unlisten(),o.subject.complete(),n.classList.remove("cdk-text-field-autofill-monitored"),n.classList.remove("cdk-text-field-autofilled"),this._monitoredElements.delete(n))}ngOnDestroy(){this._monitoredElements.forEach((i,n)=>this.stopMonitoring(n))}};t.\u0275fac=function(n){return new(n||t)(C(et),C(N))},t.\u0275prov=M({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})();var Om=(()=>{let t=class t{};t.\u0275fac=function(n){return new(n||t)},t.\u0275mod=z({type:t}),t.\u0275inj=B({});let e=t;return e})();var Ny=new F("MAT_INPUT_VALUE_ACCESSOR"),Ly=["button","checkbox","file","hidden","image","radio","range","reset","submit"],jy=0,Dm=(()=>{let t=class t{get disabled(){return this._disabled}set disabled(i){this._disabled=wi(i),this.focused&&(this.focused=!1,this.stateChanges.next())}get id(){return this._id}set id(i){this._id=i||this._uid}get required(){return this._required??this.ngControl?.control?.hasValidator(qo.required)??!1}set required(i){this._required=wi(i)}get type(){return this._type}set type(i){this._type=i||"text",this._validateType(),!this._isTextarea&&tl().has(this._type)&&(this._elementRef.nativeElement.type=this._type)}get errorStateMatcher(){return this._errorStateTracker.matcher}set errorStateMatcher(i){this._errorStateTracker.matcher=i}get value(){return this._inputValueAccessor.value}set value(i){i!==this.value&&(this._inputValueAccessor.value=i,this.stateChanges.next())}get readonly(){return this._readonly}set readonly(i){this._readonly=wi(i)}get errorState(){return this._errorStateTracker.errorState}set errorState(i){this._errorStateTracker.errorState=i}constructor(i,n,o,a,s,l,c,d,u,f){this._elementRef=i,this._platform=n,this.ngControl=o,this._autofillMonitor=d,this._formField=f,this._uid=`mat-input-${jy++}`,this.focused=!1,this.stateChanges=new H,this.controlType="mat-input",this.autofilled=!1,this._disabled=!1,this._type="text",this._readonly=!1,this._neverEmptyInputTypes=["date","datetime","datetime-local","month","time","week"].filter(y=>tl().has(y)),this._iOSKeyupListener=y=>{let _=y.target;!_.value&&_.selectionStart===0&&_.selectionEnd===0&&(_.setSelectionRange(1,1),_.setSelectionRange(0,0))};let p=this._elementRef.nativeElement,x=p.nodeName.toLowerCase();this._inputValueAccessor=c||p,this._previousNativeValue=this.value,this.id=this.id,n.IOS&&u.runOutsideAngular(()=>{i.nativeElement.addEventListener("keyup",this._iOSKeyupListener)}),this._errorStateTracker=new jo(l,o,s,a,this.stateChanges),this._isServer=!this._platform.isBrowser,this._isNativeSelect=x==="select",this._isTextarea=x==="textarea",this._isInFormField=!!f,this._isNativeSelect&&(this.controlType=p.multiple?"mat-native-select-multiple":"mat-native-select")}ngAfterViewInit(){this._platform.isBrowser&&this._autofillMonitor.monitor(this._elementRef.nativeElement).subscribe(i=>{this.autofilled=i.isAutofilled,this.stateChanges.next()})}ngOnChanges(){this.stateChanges.next()}ngOnDestroy(){this.stateChanges.complete(),this._platform.isBrowser&&this._autofillMonitor.stopMonitoring(this._elementRef.nativeElement),this._platform.IOS&&this._elementRef.nativeElement.removeEventListener("keyup",this._iOSKeyupListener)}ngDoCheck(){this.ngControl&&(this.updateErrorState(),this.ngControl.disabled!==null&&this.ngControl.disabled!==this.disabled&&(this.disabled=this.ngControl.disabled,this.stateChanges.next())),this._dirtyCheckNativeValue(),this._dirtyCheckPlaceholder()}focus(i){this._elementRef.nativeElement.focus(i)}updateErrorState(){this._errorStateTracker.updateErrorState()}_focusChanged(i){i!==this.focused&&(this.focused=i,this.stateChanges.next())}_onInput(){}_dirtyCheckNativeValue(){let i=this._elementRef.nativeElement.value;this._previousNativeValue!==i&&(this._previousNativeValue=i,this.stateChanges.next())}_dirtyCheckPlaceholder(){let i=this._getPlaceholder();if(i!==this._previousPlaceholder){let n=this._elementRef.nativeElement;this._previousPlaceholder=i,i?n.setAttribute("placeholder",i):n.removeAttribute("placeholder")}}_getPlaceholder(){return this.placeholder||null}_validateType(){Ly.indexOf(this._type)>-1}_isNeverEmpty(){return this._neverEmptyInputTypes.indexOf(this._type)>-1}_isBadInput(){let i=this._elementRef.nativeElement.validity;return i&&i.badInput}get empty(){return!this._isNeverEmpty()&&!this._elementRef.nativeElement.value&&!this._isBadInput()&&!this.autofilled}get shouldLabelFloat(){if(this._isNativeSelect){let i=this._elementRef.nativeElement,n=i.options[0];return this.focused||i.multiple||!this.empty||!!(i.selectedIndex>-1&&n&&n.label)}else return this.focused||!this.empty}setDescribedByIds(i){i.length?this._elementRef.nativeElement.setAttribute("aria-describedby",i.join(" ")):this._elementRef.nativeElement.removeAttribute("aria-describedby")}onContainerClick(){this.focused||this.focus()}_isInlineSelect(){let i=this._elementRef.nativeElement;return this._isNativeSelect&&(i.multiple||i.size>1)}};t.\u0275fac=function(n){return new(n||t)(v($),v(et),v(Mi,10),v(Vl,8),v(Bl,8),v(lh),v(Ny,10),v(Am),v(N),v(dr,8))},t.\u0275dir=G({type:t,selectors:[["input","matInput",""],["textarea","matInput",""],["select","matNativeControl",""],["input","matNativeControl",""],["textarea","matNativeControl",""]],hostAttrs:[1,"mat-mdc-input-element"],hostVars:18,hostBindings:function(n,o){n&1&&J("focus",function(){return o._focusChanged(!0)})("blur",function(){return o._focusChanged(!1)})("input",function(){return o._onInput()}),n&2&&(Li("id",o.id)("disabled",o.disabled)("required",o.required),ct("name",o.name||null)("readonly",o.readonly&&!o._isNativeSelect||null)("aria-invalid",o.empty&&o.required?null:o.errorState)("aria-required",o.required)("id",o.id),L("mat-input-server",o._isServer)("mat-mdc-form-field-textarea-control",o._isInFormField&&o._isTextarea)("mat-mdc-form-field-input-control",o._isInFormField)("mdc-text-field__input",o._isInFormField)("mat-mdc-native-select-inline",o._isInlineSelect()))},inputs:{disabled:"disabled",id:"id",placeholder:"placeholder",name:"name",required:"required",type:"type",errorStateMatcher:"errorStateMatcher",userAriaDescribedBy:[k.None,"aria-describedby","userAriaDescribedBy"],value:"value",readonly:"readonly"},exportAs:["matInput"],standalone:!0,features:[_t([{provide:_l,useExisting:t}]),qt]});let e=t;return e})(),Tm=(()=>{let t=class t{};t.\u0275fac=function(n){return new(n||t)},t.\u0275mod=z({type:t}),t.\u0275inj=B({imports:[st,ur,ur,Om,st]});let e=t;return e})();var zy=new F("MAT_PROGRESS_BAR_DEFAULT_OPTIONS");var oa=(()=>{let t=class t{constructor(i,n,o,a,s){this._elementRef=i,this._ngZone=n,this._changeDetectorRef=o,this._animationMode=a,this._isNoopAnimation=!1,this._defaultColor="primary",this._value=0,this._bufferValue=0,this.animationEnd=new Z,this._mode="determinate",this._transitionendHandler=l=>{this.animationEnd.observers.length===0||!l.target||!l.target.classList.contains("mdc-linear-progress__primary-bar")||(this.mode==="determinate"||this.mode==="buffer")&&this._ngZone.run(()=>this.animationEnd.next({value:this.value}))},this._isNoopAnimation=a==="NoopAnimations",s&&(s.color&&(this.color=this._defaultColor=s.color),this.mode=s.mode||this.mode)}get color(){return this._color||this._defaultColor}set color(i){this._color=i}get value(){return this._value}set value(i){this._value=Rm(i||0),this._changeDetectorRef.markForCheck()}get bufferValue(){return this._bufferValue||0}set bufferValue(i){this._bufferValue=Rm(i||0),this._changeDetectorRef.markForCheck()}get mode(){return this._mode}set mode(i){this._mode=i,this._changeDetectorRef.markForCheck()}ngAfterViewInit(){this._ngZone.runOutsideAngular(()=>{this._elementRef.nativeElement.addEventListener("transitionend",this._transitionendHandler)})}ngOnDestroy(){this._elementRef.nativeElement.removeEventListener("transitionend",this._transitionendHandler)}_getPrimaryBarTransform(){return`scaleX(${this._isIndeterminate()?1:this.value/100})`}_getBufferBarFlexBasis(){return`${this.mode==="buffer"?this.bufferValue:100}%`}_isIndeterminate(){return this.mode==="indeterminate"||this.mode==="query"}};t.\u0275fac=function(n){return new(n||t)(v($),v(N),v(Ct),v(Nt,8),v(zy,8))},t.\u0275cmp=K({type:t,selectors:[["mat-progress-bar"]],hostAttrs:["role","progressbar","aria-valuemin","0","aria-valuemax","100","tabindex","-1",1,"mat-mdc-progress-bar","mdc-linear-progress"],hostVars:10,hostBindings:function(n,o){n&2&&(ct("aria-valuenow",o._isIndeterminate()?null:o.value)("mode",o.mode),Ae("mat-"+o.color),L("_mat-animation-noopable",o._isNoopAnimation)("mdc-linear-progress--animation-ready",!o._isNoopAnimation)("mdc-linear-progress--indeterminate",o._isIndeterminate()))},inputs:{color:"color",value:[k.HasDecoratorInputTransform,"value","value",Cn],bufferValue:[k.HasDecoratorInputTransform,"bufferValue","bufferValue",Cn],mode:"mode"},outputs:{animationEnd:"animationEnd"},exportAs:["matProgressBar"],standalone:!0,features:[ht,Q],decls:7,vars:4,consts:[["aria-hidden","true",1,"mdc-linear-progress__buffer"],[1,"mdc-linear-progress__buffer-bar"],[1,"mdc-linear-progress__buffer-dots"],["aria-hidden","true",1,"mdc-linear-progress__bar","mdc-linear-progress__primary-bar"],[1,"mdc-linear-progress__bar-inner"],["aria-hidden","true",1,"mdc-linear-progress__bar","mdc-linear-progress__secondary-bar"]],template:function(n,o){n&1&&(m(0,"div",0),R(1,"div",1)(2,"div",2),h(),m(3,"div",3),R(4,"span",4),h(),m(5,"div",5),R(6,"span",4),h()),n&2&&(b(),Ni("flex-basis",o._getBufferBarFlexBasis()),b(2),Ni("transform",o._getPrimaryBarTransform()))},styles:[`@keyframes mdc-linear-progress-primary-indeterminate-translate{0%{transform:translateX(0)}20%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(0)}59.15%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(var(--mdc-linear-progress-primary-half))}100%{transform:translateX(var(--mdc-linear-progress-primary-full))}}@keyframes mdc-linear-progress-primary-indeterminate-scale{0%{transform:scaleX(0.08)}36.65%{animation-timing-function:cubic-bezier(0.334731, 0.12482, 0.785844, 1);transform:scaleX(0.08)}69.15%{animation-timing-function:cubic-bezier(0.06, 0.11, 0.6, 1);transform:scaleX(0.661479)}100%{transform:scaleX(0.08)}}@keyframes mdc-linear-progress-secondary-indeterminate-translate{0%{animation-timing-function:cubic-bezier(0.15, 0, 0.515058, 0.409685);transform:translateX(0)}25%{animation-timing-function:cubic-bezier(0.31033, 0.284058, 0.8, 0.733712);transform:translateX(var(--mdc-linear-progress-secondary-quarter))}48.35%{animation-timing-function:cubic-bezier(0.4, 0.627035, 0.6, 0.902026);transform:translateX(var(--mdc-linear-progress-secondary-half))}100%{transform:translateX(var(--mdc-linear-progress-secondary-full))}}@keyframes mdc-linear-progress-secondary-indeterminate-scale{0%{animation-timing-function:cubic-bezier(0.205028, 0.057051, 0.57661, 0.453971);transform:scaleX(0.08)}19.15%{animation-timing-function:cubic-bezier(0.152313, 0.196432, 0.648374, 1.004315);transform:scaleX(0.457104)}44.15%{animation-timing-function:cubic-bezier(0.257759, -0.003163, 0.211762, 1.38179);transform:scaleX(0.72796)}100%{transform:scaleX(0.08)}}@keyframes mdc-linear-progress-primary-indeterminate-translate-reverse{0%{transform:translateX(0)}20%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(0)}59.15%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(var(--mdc-linear-progress-primary-half-neg))}100%{transform:translateX(var(--mdc-linear-progress-primary-full-neg))}}@keyframes mdc-linear-progress-secondary-indeterminate-translate-reverse{0%{animation-timing-function:cubic-bezier(0.15, 0, 0.515058, 0.409685);transform:translateX(0)}25%{animation-timing-function:cubic-bezier(0.31033, 0.284058, 0.8, 0.733712);transform:translateX(var(--mdc-linear-progress-secondary-quarter-neg))}48.35%{animation-timing-function:cubic-bezier(0.4, 0.627035, 0.6, 0.902026);transform:translateX(var(--mdc-linear-progress-secondary-half-neg))}100%{transform:translateX(var(--mdc-linear-progress-secondary-full-neg))}}@keyframes mdc-linear-progress-buffering-reverse{from{transform:translateX(-10px)}}.mdc-linear-progress{position:relative;width:100%;transform:translateZ(0);outline:1px solid rgba(0,0,0,0);overflow-x:hidden;transition:opacity 250ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}@media screen and (forced-colors: active){.mdc-linear-progress{outline-color:CanvasText}}.mdc-linear-progress__bar{position:absolute;top:0;bottom:0;margin:auto 0;width:100%;animation:none;transform-origin:top left;transition:transform 250ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mdc-linear-progress__bar-inner{display:inline-block;position:absolute;width:100%;animation:none;border-top-style:solid}.mdc-linear-progress__buffer{display:flex;position:absolute;top:0;bottom:0;margin:auto 0;width:100%;overflow:hidden}.mdc-linear-progress__buffer-dots{background-repeat:repeat-x;flex:auto;transform:rotate(180deg);-webkit-mask-image:url("data:image/svg+xml,%3Csvg version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' enable-background='new 0 0 5 2' xml:space='preserve' viewBox='0 0 5 2' preserveAspectRatio='xMinYMin slice'%3E%3Ccircle cx='1' cy='1' r='1'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' enable-background='new 0 0 5 2' xml:space='preserve' viewBox='0 0 5 2' preserveAspectRatio='xMinYMin slice'%3E%3Ccircle cx='1' cy='1' r='1'/%3E%3C/svg%3E");animation:mdc-linear-progress-buffering 250ms infinite linear}.mdc-linear-progress__buffer-bar{flex:0 1 100%;transition:flex-basis 250ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mdc-linear-progress__primary-bar{transform:scaleX(0)}.mdc-linear-progress__secondary-bar{display:none}.mdc-linear-progress--indeterminate .mdc-linear-progress__bar{transition:none}.mdc-linear-progress--indeterminate .mdc-linear-progress__primary-bar{left:-145.166611%}.mdc-linear-progress--indeterminate .mdc-linear-progress__secondary-bar{left:-54.888891%;display:block}.mdc-linear-progress--indeterminate.mdc-linear-progress--animation-ready .mdc-linear-progress__primary-bar{animation:mdc-linear-progress-primary-indeterminate-translate 2s infinite linear}.mdc-linear-progress--indeterminate.mdc-linear-progress--animation-ready .mdc-linear-progress__primary-bar>.mdc-linear-progress__bar-inner{animation:mdc-linear-progress-primary-indeterminate-scale 2s infinite linear}.mdc-linear-progress--indeterminate.mdc-linear-progress--animation-ready .mdc-linear-progress__secondary-bar{animation:mdc-linear-progress-secondary-indeterminate-translate 2s infinite linear}.mdc-linear-progress--indeterminate.mdc-linear-progress--animation-ready .mdc-linear-progress__secondary-bar>.mdc-linear-progress__bar-inner{animation:mdc-linear-progress-secondary-indeterminate-scale 2s infinite linear}[dir=rtl] .mdc-linear-progress:not([dir=ltr]) .mdc-linear-progress__bar,.mdc-linear-progress[dir=rtl]:not([dir=ltr]) .mdc-linear-progress__bar{right:0;-webkit-transform-origin:center right;transform-origin:center right}[dir=rtl] .mdc-linear-progress:not([dir=ltr]).mdc-linear-progress--animation-ready .mdc-linear-progress__primary-bar,.mdc-linear-progress[dir=rtl]:not([dir=ltr]).mdc-linear-progress--animation-ready .mdc-linear-progress__primary-bar{animation-name:mdc-linear-progress-primary-indeterminate-translate-reverse}[dir=rtl] .mdc-linear-progress:not([dir=ltr]).mdc-linear-progress--animation-ready .mdc-linear-progress__secondary-bar,.mdc-linear-progress[dir=rtl]:not([dir=ltr]).mdc-linear-progress--animation-ready .mdc-linear-progress__secondary-bar{animation-name:mdc-linear-progress-secondary-indeterminate-translate-reverse}[dir=rtl] .mdc-linear-progress:not([dir=ltr]) .mdc-linear-progress__buffer-dots,.mdc-linear-progress[dir=rtl]:not([dir=ltr]) .mdc-linear-progress__buffer-dots{animation:mdc-linear-progress-buffering-reverse 250ms infinite linear;transform:rotate(0)}[dir=rtl] .mdc-linear-progress:not([dir=ltr]).mdc-linear-progress--indeterminate .mdc-linear-progress__primary-bar,.mdc-linear-progress[dir=rtl]:not([dir=ltr]).mdc-linear-progress--indeterminate .mdc-linear-progress__primary-bar{right:-145.166611%;left:auto}[dir=rtl] .mdc-linear-progress:not([dir=ltr]).mdc-linear-progress--indeterminate .mdc-linear-progress__secondary-bar,.mdc-linear-progress[dir=rtl]:not([dir=ltr]).mdc-linear-progress--indeterminate .mdc-linear-progress__secondary-bar{right:-54.888891%;left:auto}.mdc-linear-progress--closed{opacity:0}.mdc-linear-progress--closed-animation-off .mdc-linear-progress__buffer-dots{animation:none}.mdc-linear-progress--closed-animation-off.mdc-linear-progress--indeterminate .mdc-linear-progress__bar,.mdc-linear-progress--closed-animation-off.mdc-linear-progress--indeterminate .mdc-linear-progress__bar .mdc-linear-progress__bar-inner{animation:none}@keyframes mdc-linear-progress-buffering{from{transform:rotate(180deg) translateX(calc(var(--mdc-linear-progress-track-height) * -2.5))}}.mdc-linear-progress__bar-inner{border-color:var(--mdc-linear-progress-active-indicator-color)}.mdc-linear-progress__buffer-dots{background-color:var(--mdc-linear-progress-track-color)}@media(forced-colors: active){.mdc-linear-progress__buffer-dots{background-color:ButtonBorder}}@media all and (-ms-high-contrast: none),(-ms-high-contrast: active){.mdc-linear-progress__buffer-dots{background-color:rgba(0,0,0,0);background-image:url("data:image/svg+xml,%3Csvg version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' enable-background='new 0 0 5 2' xml:space='preserve' viewBox='0 0 5 2' preserveAspectRatio='none slice'%3E%3Ccircle cx='1' cy='1' r='1' fill='rgba(244, 67, 54, 0.25)'/%3E%3C/svg%3E")}}.mdc-linear-progress__buffer-bar{background-color:var(--mdc-linear-progress-track-color)}.mdc-linear-progress{height:max(var(--mdc-linear-progress-track-height), var(--mdc-linear-progress-active-indicator-height))}@media all and (-ms-high-contrast: none),(-ms-high-contrast: active){.mdc-linear-progress{height:4px}}.mdc-linear-progress__bar{height:var(--mdc-linear-progress-active-indicator-height)}.mdc-linear-progress__bar-inner{border-top-width:var(--mdc-linear-progress-active-indicator-height)}.mdc-linear-progress__buffer{height:var(--mdc-linear-progress-track-height)}@media all and (-ms-high-contrast: none),(-ms-high-contrast: active){.mdc-linear-progress__buffer-dots{background-size:10px var(--mdc-linear-progress-track-height)}}.mdc-linear-progress__buffer{border-radius:var(--mdc-linear-progress-track-shape)}.mat-mdc-progress-bar{display:block;text-align:start;--mdc-linear-progress-primary-half: 83.67142%;--mdc-linear-progress-primary-full: 200.611057%;--mdc-linear-progress-secondary-quarter: 37.651913%;--mdc-linear-progress-secondary-half: 84.386165%;--mdc-linear-progress-secondary-full: 160.277782%;--mdc-linear-progress-primary-half-neg: -83.67142%;--mdc-linear-progress-primary-full-neg: -200.611057%;--mdc-linear-progress-secondary-quarter-neg: -37.651913%;--mdc-linear-progress-secondary-half-neg: -84.386165%;--mdc-linear-progress-secondary-full-neg: -160.277782%}.mat-mdc-progress-bar[mode=query]{transform:scaleX(-1)}.mat-mdc-progress-bar._mat-animation-noopable .mdc-linear-progress__buffer-dots,.mat-mdc-progress-bar._mat-animation-noopable .mdc-linear-progress__primary-bar,.mat-mdc-progress-bar._mat-animation-noopable .mdc-linear-progress__secondary-bar,.mat-mdc-progress-bar._mat-animation-noopable .mdc-linear-progress__bar-inner.mdc-linear-progress__bar-inner{animation:none}.mat-mdc-progress-bar._mat-animation-noopable .mdc-linear-progress__primary-bar,.mat-mdc-progress-bar._mat-animation-noopable .mdc-linear-progress__buffer-bar{transition:transform 1ms}`],encapsulation:2,changeDetection:0});let e=t;return e})();function Rm(e,t=0,r=100){return Math.max(t,Math.min(r,e))}var km=(()=>{let t=class t{};t.\u0275fac=function(n){return new(n||t)},t.\u0275mod=z({type:t}),t.\u0275inj=B({imports:[st]});let e=t;return e})();var Uy=["*"],aa;function $y(){if(aa===void 0&&(aa=null,typeof window<"u")){let e=window;e.trustedTypes!==void 0&&(aa=e.trustedTypes.createPolicy("angular#components",{createHTML:t=>t}))}return aa}function _r(e){return $y()?.createHTML(e)||e}function Fm(e){return Error(`Unable to find icon with the name "${e}"`)}function Hy(){return Error("Could not find HttpClient provider for use with Angular Material icons. Please include the HttpClientModule from @angular/common/http in your app imports.")}function Pm(e){return Error(`The URL provided to MatIconRegistry was not trusted as a resource URL via Angular's DomSanitizer. Attempted URL was "${e}".`)}function Nm(e){return Error(`The literal provided to MatIconRegistry was not trusted as safe HTML by Angular's DomSanitizer. Attempted literal was "${e}".`)}var Oe=class{constructor(t,r,i){this.url=t,this.svgText=r,this.options=i}},Wy=(()=>{let t=class t{constructor(i,n,o,a){this._httpClient=i,this._sanitizer=n,this._errorHandler=a,this._svgIconConfigs=new Map,this._iconSetConfigs=new Map,this._cachedIconsByUrl=new Map,this._inProgressUrlFetches=new Map,this._fontCssClassesByAlias=new Map,this._resolvers=[],this._defaultFontSetClass=["material-icons","mat-ligature-font"],this._document=o}addSvgIcon(i,n,o){return this.addSvgIconInNamespace("",i,n,o)}addSvgIconLiteral(i,n,o){return this.addSvgIconLiteralInNamespace("",i,n,o)}addSvgIconInNamespace(i,n,o,a){return this._addSvgIconConfig(i,n,new Oe(o,null,a))}addSvgIconResolver(i){return this._resolvers.push(i),this}addSvgIconLiteralInNamespace(i,n,o,a){let s=this._sanitizer.sanitize(Xt.HTML,o);if(!s)throw Nm(o);let l=_r(s);return this._addSvgIconConfig(i,n,new Oe("",l,a))}addSvgIconSet(i,n){return this.addSvgIconSetInNamespace("",i,n)}addSvgIconSetLiteral(i,n){return this.addSvgIconSetLiteralInNamespace("",i,n)}addSvgIconSetInNamespace(i,n,o){return this._addSvgIconSetConfig(i,new Oe(n,null,o))}addSvgIconSetLiteralInNamespace(i,n,o){let a=this._sanitizer.sanitize(Xt.HTML,n);if(!a)throw Nm(n);let s=_r(a);return this._addSvgIconSetConfig(i,new Oe("",s,o))}registerFontClassAlias(i,n=i){return this._fontCssClassesByAlias.set(i,n),this}classNameForFontAlias(i){return this._fontCssClassesByAlias.get(i)||i}setDefaultFontSetClass(...i){return this._defaultFontSetClass=i,this}getDefaultFontSetClass(){return this._defaultFontSetClass}getSvgIconFromUrl(i){let n=this._sanitizer.sanitize(Xt.RESOURCE_URL,i);if(!n)throw Pm(i);let o=this._cachedIconsByUrl.get(n);return o?P(sa(o)):this._loadSvgIconFromConfig(new Oe(i,null)).pipe(at(a=>this._cachedIconsByUrl.set(n,a)),V(a=>sa(a)))}getNamedSvgIcon(i,n=""){let o=Lm(n,i),a=this._svgIconConfigs.get(o);if(a)return this._getSvgFromConfig(a);if(a=this._getIconConfigFromResolvers(n,i),a)return this._svgIconConfigs.set(o,a),this._getSvgFromConfig(a);let s=this._iconSetConfigs.get(n);return s?this._getSvgFromIconSetConfigs(i,s):ri(Fm(o))}ngOnDestroy(){this._resolvers=[],this._svgIconConfigs.clear(),this._iconSetConfigs.clear(),this._cachedIconsByUrl.clear()}_getSvgFromConfig(i){return i.svgText?P(sa(this._svgElementFromConfig(i))):this._loadSvgIconFromConfig(i).pipe(V(n=>sa(n)))}_getSvgFromIconSetConfigs(i,n){let o=this._extractIconWithNameFromAnySet(i,n);if(o)return P(o);let a=n.filter(s=>!s.svgText).map(s=>this._loadSvgIconSetFromConfig(s).pipe(ke(l=>{let d=`Loading icon set URL: ${this._sanitizer.sanitize(Xt.RESOURCE_URL,s.url)} failed: ${l.message}`;return this._errorHandler.handleError(new Error(d)),P(null)})));return jr(a).pipe(V(()=>{let s=this._extractIconWithNameFromAnySet(i,n);if(!s)throw Fm(i);return s}))}_extractIconWithNameFromAnySet(i,n){for(let o=n.length-1;o>=0;o--){let a=n[o];if(a.svgText&&a.svgText.toString().indexOf(i)>-1){let s=this._svgElementFromConfig(a),l=this._extractSvgIconFromSet(s,i,a.options);if(l)return l}}return null}_loadSvgIconFromConfig(i){return this._fetchIcon(i).pipe(at(n=>i.svgText=n),V(()=>this._svgElementFromConfig(i)))}_loadSvgIconSetFromConfig(i){return i.svgText?P(null):this._fetchIcon(i).pipe(at(n=>i.svgText=n))}_extractSvgIconFromSet(i,n,o){let a=i.querySelector(`[id="${n}"]`);if(!a)return null;let s=a.cloneNode(!0);if(s.removeAttribute("id"),s.nodeName.toLowerCase()==="svg")return this._setSvgAttributes(s,o);if(s.nodeName.toLowerCase()==="symbol")return this._setSvgAttributes(this._toSvgElement(s),o);let l=this._svgElementFromString(_r("<svg></svg>"));return l.appendChild(s),this._setSvgAttributes(l,o)}_svgElementFromString(i){let n=this._document.createElement("DIV");n.innerHTML=i;let o=n.querySelector("svg");if(!o)throw Error("<svg> tag not found");return o}_toSvgElement(i){let n=this._svgElementFromString(_r("<svg></svg>")),o=i.attributes;for(let a=0;a<o.length;a++){let{name:s,value:l}=o[a];s!=="id"&&n.setAttribute(s,l)}for(let a=0;a<i.childNodes.length;a++)i.childNodes[a].nodeType===this._document.ELEMENT_NODE&&n.appendChild(i.childNodes[a].cloneNode(!0));return n}_setSvgAttributes(i,n){return i.setAttribute("fit",""),i.setAttribute("height","100%"),i.setAttribute("width","100%"),i.setAttribute("preserveAspectRatio","xMidYMid meet"),i.setAttribute("focusable","false"),n&&n.viewBox&&i.setAttribute("viewBox",n.viewBox),i}_fetchIcon(i){let{url:n,options:o}=i,a=o?.withCredentials??!1;if(!this._httpClient)throw Hy();if(n==null)throw Error(`Cannot fetch icon from URL "${n}".`);let s=this._sanitizer.sanitize(Xt.RESOURCE_URL,n);if(!s)throw Pm(n);let l=this._inProgressUrlFetches.get(s);if(l)return l;let c=this._httpClient.get(s,{responseType:"text",withCredentials:a}).pipe(V(d=>_r(d)),Pe(()=>this._inProgressUrlFetches.delete(s)),Sc());return this._inProgressUrlFetches.set(s,c),c}_addSvgIconConfig(i,n,o){return this._svgIconConfigs.set(Lm(i,n),o),this}_addSvgIconSetConfig(i,n){let o=this._iconSetConfigs.get(i);return o?o.push(n):this._iconSetConfigs.set(i,[n]),this}_svgElementFromConfig(i){if(!i.svgElement){let n=this._svgElementFromString(i.svgText);this._setSvgAttributes(n,i.options),i.svgElement=n}return i.svgElement}_getIconConfigFromResolvers(i,n){for(let o=0;o<this._resolvers.length;o++){let a=this._resolvers[o](n,i);if(a)return Gy(a)?new Oe(a.url,null,a.options):new Oe(a,null)}}};t.\u0275fac=function(n){return new(n||t)(C(Rn,8),C(ds),C(j,8),C(ci))},t.\u0275prov=M({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})();function sa(e){return e.cloneNode(!0)}function Lm(e,t){return e+":"+t}function Gy(e){return!!(e.url&&e.options)}var Yy=new F("MAT_ICON_DEFAULT_OPTIONS"),qy=new F("mat-icon-location",{providedIn:"root",factory:Xy});function Xy(){let e=I(j),t=e?e.location:null;return{getPathname:()=>t?t.pathname+t.search:""}}var jm=["clip-path","color-profile","src","cursor","fill","filter","marker","marker-start","marker-mid","marker-end","mask","stroke"],Zy=jm.map(e=>`[${e}]`).join(", "),Ky=/^url\(['"]?#(.*?)['"]?\)$/,Vm=(()=>{let t=class t{get color(){return this._color||this._defaultColor}set color(i){this._color=i}get svgIcon(){return this._svgIcon}set svgIcon(i){i!==this._svgIcon&&(i?this._updateSvgIcon(i):this._svgIcon&&this._clearSvgElement(),this._svgIcon=i)}get fontSet(){return this._fontSet}set fontSet(i){let n=this._cleanupFontValue(i);n!==this._fontSet&&(this._fontSet=n,this._updateFontIconClasses())}get fontIcon(){return this._fontIcon}set fontIcon(i){let n=this._cleanupFontValue(i);n!==this._fontIcon&&(this._fontIcon=n,this._updateFontIconClasses())}constructor(i,n,o,a,s,l){this._elementRef=i,this._iconRegistry=n,this._location=a,this._errorHandler=s,this.inline=!1,this._previousFontSetClass=[],this._currentIconFetch=Ft.EMPTY,l&&(l.color&&(this.color=this._defaultColor=l.color),l.fontSet&&(this.fontSet=l.fontSet)),o||i.nativeElement.setAttribute("aria-hidden","true")}_splitIconName(i){if(!i)return["",""];let n=i.split(":");switch(n.length){case 1:return["",n[0]];case 2:return n;default:throw Error(`Invalid icon name: "${i}"`)}}ngOnInit(){this._updateFontIconClasses()}ngAfterViewChecked(){let i=this._elementsWithExternalReferences;if(i&&i.size){let n=this._location.getPathname();n!==this._previousPath&&(this._previousPath=n,this._prependPathToReferences(n))}}ngOnDestroy(){this._currentIconFetch.unsubscribe(),this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear()}_usingFontIcon(){return!this.svgIcon}_setSvgElement(i){this._clearSvgElement();let n=this._location.getPathname();this._previousPath=n,this._cacheChildrenWithExternalReferences(i),this._prependPathToReferences(n),this._elementRef.nativeElement.appendChild(i)}_clearSvgElement(){let i=this._elementRef.nativeElement,n=i.childNodes.length;for(this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear();n--;){let o=i.childNodes[n];(o.nodeType!==1||o.nodeName.toLowerCase()==="svg")&&o.remove()}}_updateFontIconClasses(){if(!this._usingFontIcon())return;let i=this._elementRef.nativeElement,n=(this.fontSet?this._iconRegistry.classNameForFontAlias(this.fontSet).split(/ +/):this._iconRegistry.getDefaultFontSetClass()).filter(o=>o.length>0);this._previousFontSetClass.forEach(o=>i.classList.remove(o)),n.forEach(o=>i.classList.add(o)),this._previousFontSetClass=n,this.fontIcon!==this._previousFontIconClass&&!n.includes("mat-ligature-font")&&(this._previousFontIconClass&&i.classList.remove(this._previousFontIconClass),this.fontIcon&&i.classList.add(this.fontIcon),this._previousFontIconClass=this.fontIcon)}_cleanupFontValue(i){return typeof i=="string"?i.trim().split(" ")[0]:i}_prependPathToReferences(i){let n=this._elementsWithExternalReferences;n&&n.forEach((o,a)=>{o.forEach(s=>{a.setAttribute(s.name,`url('${i}#${s.value}')`)})})}_cacheChildrenWithExternalReferences(i){let n=i.querySelectorAll(Zy),o=this._elementsWithExternalReferences=this._elementsWithExternalReferences||new Map;for(let a=0;a<n.length;a++)jm.forEach(s=>{let l=n[a],c=l.getAttribute(s),d=c?c.match(Ky):null;if(d){let u=o.get(l);u||(u=[],o.set(l,u)),u.push({name:s,value:d[1]})}})}_updateSvgIcon(i){if(this._svgNamespace=null,this._svgName=null,this._currentIconFetch.unsubscribe(),i){let[n,o]=this._splitIconName(i);n&&(this._svgNamespace=n),o&&(this._svgName=o),this._currentIconFetch=this._iconRegistry.getNamedSvgIcon(o,n).pipe(xt(1)).subscribe(a=>this._setSvgElement(a),a=>{let s=`Error retrieving icon ${n}:${o}! ${a.message}`;this._errorHandler.handleError(new Error(s))})}}};t.\u0275fac=function(n){return new(n||t)(v($),v(Wy),li("aria-hidden"),v(qy),v(ci),v(Yy,8))},t.\u0275cmp=K({type:t,selectors:[["mat-icon"]],hostAttrs:["role","img",1,"mat-icon","notranslate"],hostVars:10,hostBindings:function(n,o){n&2&&(ct("data-mat-icon-type",o._usingFontIcon()?"font":"svg")("data-mat-icon-name",o._svgName||o.fontIcon)("data-mat-icon-namespace",o._svgNamespace||o.fontSet)("fontIcon",o._usingFontIcon()?o.fontIcon:null),Ae(o.color?"mat-"+o.color:""),L("mat-icon-inline",o.inline)("mat-icon-no-color",o.color!=="primary"&&o.color!=="accent"&&o.color!=="warn"))},inputs:{color:"color",inline:[k.HasDecoratorInputTransform,"inline","inline",tt],svgIcon:"svgIcon",fontSet:"fontSet",fontIcon:"fontIcon"},exportAs:["matIcon"],standalone:!0,features:[ht,Q],ngContentSelectors:Uy,decls:1,vars:0,template:function(n,o){n&1&&(Ot(),rt(0))},styles:["mat-icon,mat-icon.mat-primary,mat-icon.mat-accent,mat-icon.mat-warn{color:var(--mat-icon-color)}.mat-icon{-webkit-user-select:none;user-select:none;background-repeat:no-repeat;display:inline-block;fill:currentColor;height:24px;width:24px;overflow:hidden}.mat-icon.mat-icon-inline{font-size:inherit;height:inherit;line-height:inherit;width:inherit}.mat-icon.mat-ligature-font[fontIcon]::before{content:attr(fontIcon)}[dir=rtl] .mat-icon-rtl-mirror{transform:scale(-1, 1)}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon{display:block}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon-button .mat-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon-button .mat-icon{margin:auto}"],encapsulation:2,changeDetection:0});let e=t;return e})(),zm=(()=>{let t=class t{};t.\u0275fac=function(n){return new(n||t)},t.\u0275mod=z({type:t}),t.\u0275inj=B({imports:[st,st]});let e=t;return e})();var sn=(()=>{let t=class t{transform(i,n){return n!="\u0641\u0627"&&n!="\u0639"?i:(""+i).replace(/0/g,"\u06F0").replace(/1/g,"\u06F1").replace(/2/g,"\u06F2").replace(/3/g,"\u06F3").replace(/4/g,"\u06F4").replace(/5/g,"\u06F5").replace(/6/g,"\u06F6").replace(/7/g,"\u06F7").replace(/8/g,"\u06F8").replace(/9/g,"\u06F9")}};t.\u0275fac=function(n){return new(n||t)},t.\u0275pipe=Mc({name:"fa",type:t,pure:!0,standalone:!0});let e=t;return e})();var Jy={value:()=>{}};function Um(){for(var e=0,t=arguments.length,r={},i;e<t;++e){if(!(i=arguments[e]+"")||i in r||/[\s.]/.test(i))throw new Error("illegal type: "+i);r[i]=[]}return new la(r)}function la(e){this._=e}function tx(e,t){return e.trim().split(/^|\s+/).map(function(r){var i="",n=r.indexOf(".");if(n>=0&&(i=r.slice(n+1),r=r.slice(0,n)),r&&!t.hasOwnProperty(r))throw new Error("unknown type: "+r);return{type:r,name:i}})}la.prototype=Um.prototype={constructor:la,on:function(e,t){var r=this._,i=tx(e+"",r),n,o=-1,a=i.length;if(arguments.length<2){for(;++o<a;)if((n=(e=i[o]).type)&&(n=ex(r[n],e.name)))return n;return}if(t!=null&&typeof t!="function")throw new Error("invalid callback: "+t);for(;++o<a;)if(n=(e=i[o]).type)r[n]=Bm(r[n],e.name,t);else if(t==null)for(n in r)r[n]=Bm(r[n],e.name,null);return this},copy:function(){var e={},t=this._;for(var r in t)e[r]=t[r].slice();return new la(e)},call:function(e,t){if((n=arguments.length-2)>0)for(var r=new Array(n),i=0,n,o;i<n;++i)r[i]=arguments[i+2];if(!this._.hasOwnProperty(e))throw new Error("unknown type: "+e);for(o=this._[e],i=0,n=o.length;i<n;++i)o[i].value.apply(t,r)},apply:function(e,t,r){if(!this._.hasOwnProperty(e))throw new Error("unknown type: "+e);for(var i=this._[e],n=0,o=i.length;n<o;++n)i[n].value.apply(t,r)}};function ex(e,t){for(var r=0,i=e.length,n;r<i;++r)if((n=e[r]).name===t)return n.value}function Bm(e,t,r){for(var i=0,n=e.length;i<n;++i)if(e[i].name===t){e[i]=Jy,e=e.slice(0,i).concat(e.slice(i+1));break}return r!=null&&e.push({name:t,value:r}),e}var vr=Um;var ca="http://www.w3.org/1999/xhtml",Gl={svg:"http://www.w3.org/2000/svg",xhtml:ca,xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/"};function De(e){var t=e+="",r=t.indexOf(":");return r>=0&&(t=e.slice(0,r))!=="xmlns"&&(e=e.slice(r+1)),Gl.hasOwnProperty(t)?{space:Gl[t],local:e}:e}function ix(e){return function(){var t=this.ownerDocument,r=this.namespaceURI;return r===ca&&t.documentElement.namespaceURI===ca?t.createElement(e):t.createElementNS(r,e)}}function nx(e){return function(){return this.ownerDocument.createElementNS(e.space,e.local)}}function da(e){var t=De(e);return(t.local?nx:ix)(t)}function rx(){}function Ai(e){return e==null?rx:function(){return this.querySelector(e)}}function $m(e){typeof e!="function"&&(e=Ai(e));for(var t=this._groups,r=t.length,i=new Array(r),n=0;n<r;++n)for(var o=t[n],a=o.length,s=i[n]=new Array(a),l,c,d=0;d<a;++d)(l=o[d])&&(c=e.call(l,l.__data__,d,o))&&("__data__"in l&&(c.__data__=l.__data__),s[d]=c);return new vt(i,this._parents)}function Yl(e){return e==null?[]:Array.isArray(e)?e:Array.from(e)}function ox(){return[]}function yr(e){return e==null?ox:function(){return this.querySelectorAll(e)}}function ax(e){return function(){return Yl(e.apply(this,arguments))}}function Hm(e){typeof e=="function"?e=ax(e):e=yr(e);for(var t=this._groups,r=t.length,i=[],n=[],o=0;o<r;++o)for(var a=t[o],s=a.length,l,c=0;c<s;++c)(l=a[c])&&(i.push(e.call(l,l.__data__,c,a)),n.push(l));return new vt(i,n)}function xr(e){return function(){return this.matches(e)}}function ua(e){return function(t){return t.matches(e)}}var sx=Array.prototype.find;function lx(e){return function(){return sx.call(this.children,e)}}function cx(){return this.firstElementChild}function Wm(e){return this.select(e==null?cx:lx(typeof e=="function"?e:ua(e)))}var dx=Array.prototype.filter;function ux(){return Array.from(this.children)}function hx(e){return function(){return dx.call(this.children,e)}}function Gm(e){return this.selectAll(e==null?ux:hx(typeof e=="function"?e:ua(e)))}function Ym(e){typeof e!="function"&&(e=xr(e));for(var t=this._groups,r=t.length,i=new Array(r),n=0;n<r;++n)for(var o=t[n],a=o.length,s=i[n]=[],l,c=0;c<a;++c)(l=o[c])&&e.call(l,l.__data__,c,o)&&s.push(l);return new vt(i,this._parents)}function ha(e){return new Array(e.length)}function qm(){return new vt(this._enter||this._groups.map(ha),this._parents)}function wr(e,t){this.ownerDocument=e.ownerDocument,this.namespaceURI=e.namespaceURI,this._next=null,this._parent=e,this.__data__=t}wr.prototype={constructor:wr,appendChild:function(e){return this._parent.insertBefore(e,this._next)},insertBefore:function(e,t){return this._parent.insertBefore(e,t)},querySelector:function(e){return this._parent.querySelector(e)},querySelectorAll:function(e){return this._parent.querySelectorAll(e)}};function Xm(e){return function(){return e}}function mx(e,t,r,i,n,o){for(var a=0,s,l=t.length,c=o.length;a<c;++a)(s=t[a])?(s.__data__=o[a],i[a]=s):r[a]=new wr(e,o[a]);for(;a<l;++a)(s=t[a])&&(n[a]=s)}function fx(e,t,r,i,n,o,a){var s,l,c=new Map,d=t.length,u=o.length,f=new Array(d),p;for(s=0;s<d;++s)(l=t[s])&&(f[s]=p=a.call(l,l.__data__,s,t)+"",c.has(p)?n[s]=l:c.set(p,l));for(s=0;s<u;++s)p=a.call(e,o[s],s,o)+"",(l=c.get(p))?(i[s]=l,l.__data__=o[s],c.delete(p)):r[s]=new wr(e,o[s]);for(s=0;s<d;++s)(l=t[s])&&c.get(f[s])===l&&(n[s]=l)}function px(e){return e.__data__}function Zm(e,t){if(!arguments.length)return Array.from(this,px);var r=t?fx:mx,i=this._parents,n=this._groups;typeof e!="function"&&(e=Xm(e));for(var o=n.length,a=new Array(o),s=new Array(o),l=new Array(o),c=0;c<o;++c){var d=i[c],u=n[c],f=u.length,p=gx(e.call(d,d&&d.__data__,c,i)),x=p.length,y=s[c]=new Array(x),_=a[c]=new Array(x),w=l[c]=new Array(f);r(d,u,y,_,w,p,t);for(var A=0,U=0,O,ot;A<x;++A)if(O=y[A]){for(A>=U&&(U=A+1);!(ot=_[U])&&++U<x;);O._next=ot||null}}return a=new vt(a,i),a._enter=s,a._exit=l,a}function gx(e){return typeof e=="object"&&"length"in e?e:Array.from(e)}function Km(){return new vt(this._exit||this._groups.map(ha),this._parents)}function Qm(e,t,r){var i=this.enter(),n=this,o=this.exit();return typeof e=="function"?(i=e(i),i&&(i=i.selection())):i=i.append(e+""),t!=null&&(n=t(n),n&&(n=n.selection())),r==null?o.remove():r(o),i&&n?i.merge(n).order():n}function Jm(e){for(var t=e.selection?e.selection():e,r=this._groups,i=t._groups,n=r.length,o=i.length,a=Math.min(n,o),s=new Array(n),l=0;l<a;++l)for(var c=r[l],d=i[l],u=c.length,f=s[l]=new Array(u),p,x=0;x<u;++x)(p=c[x]||d[x])&&(f[x]=p);for(;l<n;++l)s[l]=r[l];return new vt(s,this._parents)}function tf(){for(var e=this._groups,t=-1,r=e.length;++t<r;)for(var i=e[t],n=i.length-1,o=i[n],a;--n>=0;)(a=i[n])&&(o&&a.compareDocumentPosition(o)^4&&o.parentNode.insertBefore(a,o),o=a);return this}function ef(e){e||(e=bx);function t(u,f){return u&&f?e(u.__data__,f.__data__):!u-!f}for(var r=this._groups,i=r.length,n=new Array(i),o=0;o<i;++o){for(var a=r[o],s=a.length,l=n[o]=new Array(s),c,d=0;d<s;++d)(c=a[d])&&(l[d]=c);l.sort(t)}return new vt(n,this._parents).order()}function bx(e,t){return e<t?-1:e>t?1:e>=t?0:NaN}function nf(){var e=arguments[0];return arguments[0]=this,e.apply(null,arguments),this}function rf(){return Array.from(this)}function of(){for(var e=this._groups,t=0,r=e.length;t<r;++t)for(var i=e[t],n=0,o=i.length;n<o;++n){var a=i[n];if(a)return a}return null}function af(){let e=0;for(let t of this)++e;return e}function sf(){return!this.node()}function lf(e){for(var t=this._groups,r=0,i=t.length;r<i;++r)for(var n=t[r],o=0,a=n.length,s;o<a;++o)(s=n[o])&&e.call(s,s.__data__,o,n);return this}function _x(e){return function(){this.removeAttribute(e)}}function vx(e){return function(){this.removeAttributeNS(e.space,e.local)}}function yx(e,t){return function(){this.setAttribute(e,t)}}function xx(e,t){return function(){this.setAttributeNS(e.space,e.local,t)}}function wx(e,t){return function(){var r=t.apply(this,arguments);r==null?this.removeAttribute(e):this.setAttribute(e,r)}}function Cx(e,t){return function(){var r=t.apply(this,arguments);r==null?this.removeAttributeNS(e.space,e.local):this.setAttributeNS(e.space,e.local,r)}}function cf(e,t){var r=De(e);if(arguments.length<2){var i=this.node();return r.local?i.getAttributeNS(r.space,r.local):i.getAttribute(r)}return this.each((t==null?r.local?vx:_x:typeof t=="function"?r.local?Cx:wx:r.local?xx:yx)(r,t))}function ma(e){return e.ownerDocument&&e.ownerDocument.defaultView||e.document&&e||e.defaultView}function Ex(e){return function(){this.style.removeProperty(e)}}function Ix(e,t,r){return function(){this.style.setProperty(e,t,r)}}function Sx(e,t,r){return function(){var i=t.apply(this,arguments);i==null?this.style.removeProperty(e):this.style.setProperty(e,i,r)}}function df(e,t,r){return arguments.length>1?this.each((t==null?Ex:typeof t=="function"?Sx:Ix)(e,t,r??"")):Je(this.node(),e)}function Je(e,t){return e.style.getPropertyValue(t)||ma(e).getComputedStyle(e,null).getPropertyValue(t)}function Mx(e){return function(){delete this[e]}}function Ax(e,t){return function(){this[e]=t}}function Ox(e,t){return function(){var r=t.apply(this,arguments);r==null?delete this[e]:this[e]=r}}function uf(e,t){return arguments.length>1?this.each((t==null?Mx:typeof t=="function"?Ox:Ax)(e,t)):this.node()[e]}function hf(e){return e.trim().split(/^|\s+/)}function ql(e){return e.classList||new mf(e)}function mf(e){this._node=e,this._names=hf(e.getAttribute("class")||"")}mf.prototype={add:function(e){var t=this._names.indexOf(e);t<0&&(this._names.push(e),this._node.setAttribute("class",this._names.join(" ")))},remove:function(e){var t=this._names.indexOf(e);t>=0&&(this._names.splice(t,1),this._node.setAttribute("class",this._names.join(" ")))},contains:function(e){return this._names.indexOf(e)>=0}};function ff(e,t){for(var r=ql(e),i=-1,n=t.length;++i<n;)r.add(t[i])}function pf(e,t){for(var r=ql(e),i=-1,n=t.length;++i<n;)r.remove(t[i])}function Dx(e){return function(){ff(this,e)}}function Tx(e){return function(){pf(this,e)}}function Rx(e,t){return function(){(t.apply(this,arguments)?ff:pf)(this,e)}}function gf(e,t){var r=hf(e+"");if(arguments.length<2){for(var i=ql(this.node()),n=-1,o=r.length;++n<o;)if(!i.contains(r[n]))return!1;return!0}return this.each((typeof t=="function"?Rx:t?Dx:Tx)(r,t))}function kx(){this.textContent=""}function Fx(e){return function(){this.textContent=e}}function Px(e){return function(){var t=e.apply(this,arguments);this.textContent=t??""}}function bf(e){return arguments.length?this.each(e==null?kx:(typeof e=="function"?Px:Fx)(e)):this.node().textContent}function Nx(){this.innerHTML=""}function Lx(e){return function(){this.innerHTML=e}}function jx(e){return function(){var t=e.apply(this,arguments);this.innerHTML=t??""}}function _f(e){return arguments.length?this.each(e==null?Nx:(typeof e=="function"?jx:Lx)(e)):this.node().innerHTML}function Vx(){this.nextSibling&&this.parentNode.appendChild(this)}function vf(){return this.each(Vx)}function zx(){this.previousSibling&&this.parentNode.insertBefore(this,this.parentNode.firstChild)}function yf(){return this.each(zx)}function xf(e){var t=typeof e=="function"?e:da(e);return this.select(function(){return this.appendChild(t.apply(this,arguments))})}function Bx(){return null}function wf(e,t){var r=typeof e=="function"?e:da(e),i=t==null?Bx:typeof t=="function"?t:Ai(t);return this.select(function(){return this.insertBefore(r.apply(this,arguments),i.apply(this,arguments)||null)})}function Ux(){var e=this.parentNode;e&&e.removeChild(this)}function Cf(){return this.each(Ux)}function $x(){var e=this.cloneNode(!1),t=this.parentNode;return t?t.insertBefore(e,this.nextSibling):e}function Hx(){var e=this.cloneNode(!0),t=this.parentNode;return t?t.insertBefore(e,this.nextSibling):e}function Ef(e){return this.select(e?Hx:$x)}function If(e){return arguments.length?this.property("__data__",e):this.node().__data__}function Wx(e){return function(t){e.call(this,t,this.__data__)}}function Gx(e){return e.trim().split(/^|\s+/).map(function(t){var r="",i=t.indexOf(".");return i>=0&&(r=t.slice(i+1),t=t.slice(0,i)),{type:t,name:r}})}function Yx(e){return function(){var t=this.__on;if(t){for(var r=0,i=-1,n=t.length,o;r<n;++r)o=t[r],(!e.type||o.type===e.type)&&o.name===e.name?this.removeEventListener(o.type,o.listener,o.options):t[++i]=o;++i?t.length=i:delete this.__on}}}function qx(e,t,r){return function(){var i=this.__on,n,o=Wx(t);if(i){for(var a=0,s=i.length;a<s;++a)if((n=i[a]).type===e.type&&n.name===e.name){this.removeEventListener(n.type,n.listener,n.options),this.addEventListener(n.type,n.listener=o,n.options=r),n.value=t;return}}this.addEventListener(e.type,o,r),n={type:e.type,name:e.name,value:t,listener:o,options:r},i?i.push(n):this.__on=[n]}}function Sf(e,t,r){var i=Gx(e+""),n,o=i.length,a;if(arguments.length<2){var s=this.node().__on;if(s){for(var l=0,c=s.length,d;l<c;++l)for(n=0,d=s[l];n<o;++n)if((a=i[n]).type===d.type&&a.name===d.name)return d.value}return}for(s=t?qx:Yx,n=0;n<o;++n)this.each(s(i[n],t,r));return this}function Mf(e,t,r){var i=ma(e),n=i.CustomEvent;typeof n=="function"?n=new n(t,r):(n=i.document.createEvent("Event"),r?(n.initEvent(t,r.bubbles,r.cancelable),n.detail=r.detail):n.initEvent(t,!1,!1)),e.dispatchEvent(n)}function Xx(e,t){return function(){return Mf(this,e,t)}}function Zx(e,t){return function(){return Mf(this,e,t.apply(this,arguments))}}function Af(e,t){return this.each((typeof t=="function"?Zx:Xx)(e,t))}function*Of(){for(var e=this._groups,t=0,r=e.length;t<r;++t)for(var i=e[t],n=0,o=i.length,a;n<o;++n)(a=i[n])&&(yield a)}var Kx=[null];function vt(e,t){this._groups=e,this._parents=t}function Df(){return new vt([[document.documentElement]],Kx)}function Qx(){return this}vt.prototype=Df.prototype={constructor:vt,select:$m,selectAll:Hm,selectChild:Wm,selectChildren:Gm,filter:Ym,data:Zm,enter:qm,exit:Km,join:Qm,merge:Jm,selection:Qx,order:tf,sort:ef,call:nf,nodes:rf,node:of,size:af,empty:sf,each:lf,attr:cf,style:df,property:uf,classed:gf,text:bf,html:_f,raise:vf,lower:yf,append:xf,insert:wf,remove:Cf,clone:Ef,datum:If,on:Sf,dispatch:Af,[Symbol.iterator]:Of};var Te=Df;function fa(e,t,r){e.prototype=t.prototype=r,r.constructor=e}function Xl(e,t){var r=Object.create(e.prototype);for(var i in t)r[i]=t[i];return r}function Ir(){}var Cr=.7,ba=1/Cr,ln="\\s*([+-]?\\d+)\\s*",Er="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*",xe="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*",Jx=/^#([0-9a-f]{3,8})$/,tw=new RegExp(`^rgb\\(${ln},${ln},${ln}\\)$`),ew=new RegExp(`^rgb\\(${xe},${xe},${xe}\\)$`),iw=new RegExp(`^rgba\\(${ln},${ln},${ln},${Er}\\)$`),nw=new RegExp(`^rgba\\(${xe},${xe},${xe},${Er}\\)$`),rw=new RegExp(`^hsl\\(${Er},${xe},${xe}\\)$`),ow=new RegExp(`^hsla\\(${Er},${xe},${xe},${Er}\\)$`),Tf={aliceblue:15792383,antiquewhite:16444375,aqua:65535,aquamarine:8388564,azure:15794175,beige:16119260,bisque:16770244,black:0,blanchedalmond:16772045,blue:255,blueviolet:9055202,brown:10824234,burlywood:14596231,cadetblue:6266528,chartreuse:8388352,chocolate:13789470,coral:16744272,cornflowerblue:6591981,cornsilk:16775388,crimson:14423100,cyan:65535,darkblue:139,darkcyan:35723,darkgoldenrod:12092939,darkgray:11119017,darkgreen:25600,darkgrey:11119017,darkkhaki:12433259,darkmagenta:9109643,darkolivegreen:5597999,darkorange:16747520,darkorchid:10040012,darkred:9109504,darksalmon:15308410,darkseagreen:9419919,darkslateblue:4734347,darkslategray:3100495,darkslategrey:3100495,darkturquoise:52945,darkviolet:9699539,deeppink:16716947,deepskyblue:49151,dimgray:6908265,dimgrey:6908265,dodgerblue:2003199,firebrick:11674146,floralwhite:16775920,forestgreen:2263842,fuchsia:16711935,gainsboro:14474460,ghostwhite:16316671,gold:16766720,goldenrod:14329120,gray:8421504,green:32768,greenyellow:11403055,grey:8421504,honeydew:15794160,hotpink:16738740,indianred:13458524,indigo:4915330,ivory:16777200,khaki:15787660,lavender:15132410,lavenderblush:16773365,lawngreen:8190976,lemonchiffon:16775885,lightblue:11393254,lightcoral:15761536,lightcyan:14745599,lightgoldenrodyellow:16448210,lightgray:13882323,lightgreen:9498256,lightgrey:13882323,lightpink:16758465,lightsalmon:16752762,lightseagreen:2142890,lightskyblue:8900346,lightslategray:7833753,lightslategrey:7833753,lightsteelblue:11584734,lightyellow:16777184,lime:65280,limegreen:3329330,linen:16445670,magenta:16711935,maroon:8388608,mediumaquamarine:6737322,mediumblue:205,mediumorchid:12211667,mediumpurple:9662683,mediumseagreen:3978097,mediumslateblue:8087790,mediumspringgreen:64154,mediumturquoise:4772300,mediumvioletred:13047173,midnightblue:1644912,mintcream:16121850,mistyrose:16770273,moccasin:16770229,navajowhite:16768685,navy:128,oldlace:16643558,olive:8421376,olivedrab:7048739,orange:16753920,orangered:16729344,orchid:14315734,palegoldenrod:15657130,palegreen:10025880,paleturquoise:11529966,palevioletred:14381203,papayawhip:16773077,peachpuff:16767673,peru:13468991,pink:16761035,plum:14524637,powderblue:11591910,purple:8388736,rebeccapurple:6697881,red:16711680,rosybrown:12357519,royalblue:4286945,saddlebrown:9127187,salmon:16416882,sandybrown:16032864,seagreen:3050327,seashell:16774638,sienna:10506797,silver:12632256,skyblue:8900331,slateblue:6970061,slategray:7372944,slategrey:7372944,snow:16775930,springgreen:65407,steelblue:4620980,tan:13808780,teal:32896,thistle:14204888,tomato:16737095,turquoise:4251856,violet:15631086,wheat:16113331,white:16777215,whitesmoke:16119285,yellow:16776960,yellowgreen:10145074};fa(Ir,ti,{copy(e){return Object.assign(new this.constructor,this,e)},displayable(){return this.rgb().displayable()},hex:Rf,formatHex:Rf,formatHex8:aw,formatHsl:sw,formatRgb:kf,toString:kf});function Rf(){return this.rgb().formatHex()}function aw(){return this.rgb().formatHex8()}function sw(){return Vf(this).formatHsl()}function kf(){return this.rgb().formatRgb()}function ti(e){var t,r;return e=(e+"").trim().toLowerCase(),(t=Jx.exec(e))?(r=t[1].length,t=parseInt(t[1],16),r===6?Ff(t):r===3?new Ht(t>>8&15|t>>4&240,t>>4&15|t&240,(t&15)<<4|t&15,1):r===8?pa(t>>24&255,t>>16&255,t>>8&255,(t&255)/255):r===4?pa(t>>12&15|t>>8&240,t>>8&15|t>>4&240,t>>4&15|t&240,((t&15)<<4|t&15)/255):null):(t=tw.exec(e))?new Ht(t[1],t[2],t[3],1):(t=ew.exec(e))?new Ht(t[1]*255/100,t[2]*255/100,t[3]*255/100,1):(t=iw.exec(e))?pa(t[1],t[2],t[3],t[4]):(t=nw.exec(e))?pa(t[1]*255/100,t[2]*255/100,t[3]*255/100,t[4]):(t=rw.exec(e))?Lf(t[1],t[2]/100,t[3]/100,1):(t=ow.exec(e))?Lf(t[1],t[2]/100,t[3]/100,t[4]):Tf.hasOwnProperty(e)?Ff(Tf[e]):e==="transparent"?new Ht(NaN,NaN,NaN,0):null}function Ff(e){return new Ht(e>>16&255,e>>8&255,e&255,1)}function pa(e,t,r,i){return i<=0&&(e=t=r=NaN),new Ht(e,t,r,i)}function lw(e){return e instanceof Ir||(e=ti(e)),e?(e=e.rgb(),new Ht(e.r,e.g,e.b,e.opacity)):new Ht}function cn(e,t,r,i){return arguments.length===1?lw(e):new Ht(e,t,r,i??1)}function Ht(e,t,r,i){this.r=+e,this.g=+t,this.b=+r,this.opacity=+i}fa(Ht,cn,Xl(Ir,{brighter(e){return e=e==null?ba:Math.pow(ba,e),new Ht(this.r*e,this.g*e,this.b*e,this.opacity)},darker(e){return e=e==null?Cr:Math.pow(Cr,e),new Ht(this.r*e,this.g*e,this.b*e,this.opacity)},rgb(){return this},clamp(){return new Ht(Di(this.r),Di(this.g),Di(this.b),_a(this.opacity))},displayable(){return-.5<=this.r&&this.r<255.5&&-.5<=this.g&&this.g<255.5&&-.5<=this.b&&this.b<255.5&&0<=this.opacity&&this.opacity<=1},hex:Pf,formatHex:Pf,formatHex8:cw,formatRgb:Nf,toString:Nf}));function Pf(){return`#${Oi(this.r)}${Oi(this.g)}${Oi(this.b)}`}function cw(){return`#${Oi(this.r)}${Oi(this.g)}${Oi(this.b)}${Oi((isNaN(this.opacity)?1:this.opacity)*255)}`}function Nf(){let e=_a(this.opacity);return`${e===1?"rgb(":"rgba("}${Di(this.r)}, ${Di(this.g)}, ${Di(this.b)}${e===1?")":`, ${e})`}`}function _a(e){return isNaN(e)?1:Math.max(0,Math.min(1,e))}function Di(e){return Math.max(0,Math.min(255,Math.round(e)||0))}function Oi(e){return e=Di(e),(e<16?"0":"")+e.toString(16)}function Lf(e,t,r,i){return i<=0?e=t=r=NaN:r<=0||r>=1?e=t=NaN:t<=0&&(e=NaN),new ue(e,t,r,i)}function Vf(e){if(e instanceof ue)return new ue(e.h,e.s,e.l,e.opacity);if(e instanceof Ir||(e=ti(e)),!e)return new ue;if(e instanceof ue)return e;e=e.rgb();var t=e.r/255,r=e.g/255,i=e.b/255,n=Math.min(t,r,i),o=Math.max(t,r,i),a=NaN,s=o-n,l=(o+n)/2;return s?(t===o?a=(r-i)/s+(r<i)*6:r===o?a=(i-t)/s+2:a=(t-r)/s+4,s/=l<.5?o+n:2-o-n,a*=60):s=l>0&&l<1?0:a,new ue(a,s,l,e.opacity)}function zf(e,t,r,i){return arguments.length===1?Vf(e):new ue(e,t,r,i??1)}function ue(e,t,r,i){this.h=+e,this.s=+t,this.l=+r,this.opacity=+i}fa(ue,zf,Xl(Ir,{brighter(e){return e=e==null?ba:Math.pow(ba,e),new ue(this.h,this.s,this.l*e,this.opacity)},darker(e){return e=e==null?Cr:Math.pow(Cr,e),new ue(this.h,this.s,this.l*e,this.opacity)},rgb(){var e=this.h%360+(this.h<0)*360,t=isNaN(e)||isNaN(this.s)?0:this.s,r=this.l,i=r+(r<.5?r:1-r)*t,n=2*r-i;return new Ht(Zl(e>=240?e-240:e+120,n,i),Zl(e,n,i),Zl(e<120?e+240:e-120,n,i),this.opacity)},clamp(){return new ue(jf(this.h),ga(this.s),ga(this.l),_a(this.opacity))},displayable(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1},formatHsl(){let e=_a(this.opacity);return`${e===1?"hsl(":"hsla("}${jf(this.h)}, ${ga(this.s)*100}%, ${ga(this.l)*100}%${e===1?")":`, ${e})`}`}}));function jf(e){return e=(e||0)%360,e<0?e+360:e}function ga(e){return Math.max(0,Math.min(1,e||0))}function Zl(e,t,r){return(e<60?t+(r-t)*e/60:e<180?r:e<240?t+(r-t)*(240-e)/60:t)*255}function Kl(e,t,r,i,n){var o=e*e,a=o*e;return((1-3*e+3*o-a)*t+(4-6*o+3*a)*r+(1+3*e+3*o-3*a)*i+a*n)/6}function Bf(e){var t=e.length-1;return function(r){var i=r<=0?r=0:r>=1?(r=1,t-1):Math.floor(r*t),n=e[i],o=e[i+1],a=i>0?e[i-1]:2*n-o,s=i<t-1?e[i+2]:2*o-n;return Kl((r-i/t)*t,a,n,o,s)}}function Uf(e){var t=e.length;return function(r){var i=Math.floor(((r%=1)<0?++r:r)*t),n=e[(i+t-1)%t],o=e[i%t],a=e[(i+1)%t],s=e[(i+2)%t];return Kl((r-i/t)*t,n,o,a,s)}}var Ql=e=>()=>e;function dw(e,t){return function(r){return e+r*t}}function uw(e,t,r){return e=Math.pow(e,r),t=Math.pow(t,r)-e,r=1/r,function(i){return Math.pow(e+i*t,r)}}function $f(e){return(e=+e)==1?va:function(t,r){return r-t?uw(t,r,e):Ql(isNaN(t)?r:t)}}function va(e,t){var r=t-e;return r?dw(e,r):Ql(isNaN(e)?t:e)}var ya=function e(t){var r=$f(t);function i(n,o){var a=r((n=cn(n)).r,(o=cn(o)).r),s=r(n.g,o.g),l=r(n.b,o.b),c=va(n.opacity,o.opacity);return function(d){return n.r=a(d),n.g=s(d),n.b=l(d),n.opacity=c(d),n+""}}return i.gamma=e,i}(1);function Hf(e){return function(t){var r=t.length,i=new Array(r),n=new Array(r),o=new Array(r),a,s;for(a=0;a<r;++a)s=cn(t[a]),i[a]=s.r||0,n[a]=s.g||0,o[a]=s.b||0;return i=e(i),n=e(n),o=e(o),s.opacity=1,function(l){return s.r=i(l),s.g=n(l),s.b=o(l),s+""}}}var hw=Hf(Bf),mw=Hf(Uf);function ce(e,t){return e=+e,t=+t,function(r){return e*(1-r)+t*r}}var tc=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,Jl=new RegExp(tc.source,"g");function fw(e){return function(){return e}}function pw(e){return function(t){return e(t)+""}}function ec(e,t){var r=tc.lastIndex=Jl.lastIndex=0,i,n,o,a=-1,s=[],l=[];for(e=e+"",t=t+"";(i=tc.exec(e))&&(n=Jl.exec(t));)(o=n.index)>r&&(o=t.slice(r,o),s[a]?s[a]+=o:s[++a]=o),(i=i[0])===(n=n[0])?s[a]?s[a]+=n:s[++a]=n:(s[++a]=null,l.push({i:a,x:ce(i,n)})),r=Jl.lastIndex;return r<t.length&&(o=t.slice(r),s[a]?s[a]+=o:s[++a]=o),s.length<2?l[0]?pw(l[0].x):fw(t):(t=l.length,function(c){for(var d=0,u;d<t;++d)s[(u=l[d]).i]=u.x(c);return s.join("")})}var Wf=180/Math.PI,xa={translateX:0,translateY:0,rotate:0,skewX:0,scaleX:1,scaleY:1};function ic(e,t,r,i,n,o){var a,s,l;return(a=Math.sqrt(e*e+t*t))&&(e/=a,t/=a),(l=e*r+t*i)&&(r-=e*l,i-=t*l),(s=Math.sqrt(r*r+i*i))&&(r/=s,i/=s,l/=s),e*i<t*r&&(e=-e,t=-t,l=-l,a=-a),{translateX:n,translateY:o,rotate:Math.atan2(t,e)*Wf,skewX:Math.atan(l)*Wf,scaleX:a,scaleY:s}}var wa;function Gf(e){let t=new(typeof DOMMatrix=="function"?DOMMatrix:WebKitCSSMatrix)(e+"");return t.isIdentity?xa:ic(t.a,t.b,t.c,t.d,t.e,t.f)}function Yf(e){return e==null?xa:(wa||(wa=document.createElementNS("http://www.w3.org/2000/svg","g")),wa.setAttribute("transform",e),(e=wa.transform.baseVal.consolidate())?(e=e.matrix,ic(e.a,e.b,e.c,e.d,e.e,e.f)):xa)}function qf(e,t,r,i){function n(c){return c.length?c.pop()+" ":""}function o(c,d,u,f,p,x){if(c!==u||d!==f){var y=p.push("translate(",null,t,null,r);x.push({i:y-4,x:ce(c,u)},{i:y-2,x:ce(d,f)})}else(u||f)&&p.push("translate("+u+t+f+r)}function a(c,d,u,f){c!==d?(c-d>180?d+=360:d-c>180&&(c+=360),f.push({i:u.push(n(u)+"rotate(",null,i)-2,x:ce(c,d)})):d&&u.push(n(u)+"rotate("+d+i)}function s(c,d,u,f){c!==d?f.push({i:u.push(n(u)+"skewX(",null,i)-2,x:ce(c,d)}):d&&u.push(n(u)+"skewX("+d+i)}function l(c,d,u,f,p,x){if(c!==u||d!==f){var y=p.push(n(p)+"scale(",null,",",null,")");x.push({i:y-4,x:ce(c,u)},{i:y-2,x:ce(d,f)})}else(u!==1||f!==1)&&p.push(n(p)+"scale("+u+","+f+")")}return function(c,d){var u=[],f=[];return c=e(c),d=e(d),o(c.translateX,c.translateY,d.translateX,d.translateY,u,f),a(c.rotate,d.rotate,u,f),s(c.skewX,d.skewX,u,f),l(c.scaleX,c.scaleY,d.scaleX,d.scaleY,u,f),c=d=null,function(p){for(var x=-1,y=f.length,_;++x<y;)u[(_=f[x]).i]=_.x(p);return u.join("")}}}var nc=qf(Gf,"px, ","px)","deg)"),rc=qf(Yf,", ",")",")");var dn=0,Mr=0,Sr=0,Zf=1e3,Ca,Ar,Ea=0,Ti=0,Ia=0,Or=typeof performance=="object"&&performance.now?performance:Date,Kf=typeof window=="object"&&window.requestAnimationFrame?window.requestAnimationFrame.bind(window):function(e){setTimeout(e,17)};function Tr(){return Ti||(Kf(gw),Ti=Or.now()+Ia)}function gw(){Ti=0}function Dr(){this._call=this._time=this._next=null}Dr.prototype=un.prototype={constructor:Dr,restart:function(e,t,r){if(typeof e!="function")throw new TypeError("callback is not a function");r=(r==null?Tr():+r)+(t==null?0:+t),!this._next&&Ar!==this&&(Ar?Ar._next=this:Ca=this,Ar=this),this._call=e,this._time=r,oc()},stop:function(){this._call&&(this._call=null,this._time=1/0,oc())}};function un(e,t,r){var i=new Dr;return i.restart(e,t,r),i}function Qf(){Tr(),++dn;for(var e=Ca,t;e;)(t=Ti-e._time)>=0&&e._call.call(void 0,t),e=e._next;--dn}function Xf(){Ti=(Ea=Or.now())+Ia,dn=Mr=0;try{Qf()}finally{dn=0,_w(),Ti=0}}function bw(){var e=Or.now(),t=e-Ea;t>Zf&&(Ia-=t,Ea=e)}function _w(){for(var e,t=Ca,r,i=1/0;t;)t._call?(i>t._time&&(i=t._time),e=t,t=t._next):(r=t._next,t._next=null,t=e?e._next=r:Ca=r);Ar=e,oc(i)}function oc(e){if(!dn){Mr&&(Mr=clearTimeout(Mr));var t=e-Ti;t>24?(e<1/0&&(Mr=setTimeout(Xf,e-Or.now()-Ia)),Sr&&(Sr=clearInterval(Sr))):(Sr||(Ea=Or.now(),Sr=setInterval(bw,Zf)),dn=1,Kf(Xf))}}function Sa(e,t,r){var i=new Dr;return t=t==null?0:+t,i.restart(n=>{i.stop(),e(n+t)},t,r),i}var vw=vr("start","end","cancel","interrupt"),yw=[],ep=0,Jf=1,Aa=2,Ma=3,tp=4,Oa=5,Rr=6;function ei(e,t,r,i,n,o){var a=e.__transition;if(!a)e.__transition={};else if(r in a)return;xw(e,r,{name:t,index:i,group:n,on:vw,tween:yw,time:o.time,delay:o.delay,duration:o.duration,ease:o.ease,timer:null,state:ep})}function kr(e,t){var r=yt(e,t);if(r.state>ep)throw new Error("too late; already scheduled");return r}function Tt(e,t){var r=yt(e,t);if(r.state>Ma)throw new Error("too late; already running");return r}function yt(e,t){var r=e.__transition;if(!r||!(r=r[t]))throw new Error("transition not found");return r}function xw(e,t,r){var i=e.__transition,n;i[t]=r,r.timer=un(o,0,r.time);function o(c){r.state=Jf,r.timer.restart(a,r.delay,r.time),r.delay<=c&&a(c-r.delay)}function a(c){var d,u,f,p;if(r.state!==Jf)return l();for(d in i)if(p=i[d],p.name===r.name){if(p.state===Ma)return Sa(a);p.state===tp?(p.state=Rr,p.timer.stop(),p.on.call("interrupt",e,e.__data__,p.index,p.group),delete i[d]):+d<t&&(p.state=Rr,p.timer.stop(),p.on.call("cancel",e,e.__data__,p.index,p.group),delete i[d])}if(Sa(function(){r.state===Ma&&(r.state=tp,r.timer.restart(s,r.delay,r.time),s(c))}),r.state=Aa,r.on.call("start",e,e.__data__,r.index,r.group),r.state===Aa){for(r.state=Ma,n=new Array(f=r.tween.length),d=0,u=-1;d<f;++d)(p=r.tween[d].value.call(e,e.__data__,r.index,r.group))&&(n[++u]=p);n.length=u+1}}function s(c){for(var d=c<r.duration?r.ease.call(null,c/r.duration):(r.timer.restart(l),r.state=Oa,1),u=-1,f=n.length;++u<f;)n[u].call(e,d);r.state===Oa&&(r.on.call("end",e,e.__data__,r.index,r.group),l())}function l(){r.state=Rr,r.timer.stop(),delete i[t];for(var c in i)return;delete e.__transition}}function Da(e,t){var r=e.__transition,i,n,o=!0,a;if(r){t=t==null?null:t+"";for(a in r){if((i=r[a]).name!==t){o=!1;continue}n=i.state>Aa&&i.state<Oa,i.state=Rr,i.timer.stop(),i.on.call(n?"interrupt":"cancel",e,e.__data__,i.index,i.group),delete r[a]}o&&delete e.__transition}}function ip(e){return this.each(function(){Da(this,e)})}function ww(e,t){var r,i;return function(){var n=Tt(this,e),o=n.tween;if(o!==r){i=r=o;for(var a=0,s=i.length;a<s;++a)if(i[a].name===t){i=i.slice(),i.splice(a,1);break}}n.tween=i}}function Cw(e,t,r){var i,n;if(typeof r!="function")throw new Error;return function(){var o=Tt(this,e),a=o.tween;if(a!==i){n=(i=a).slice();for(var s={name:t,value:r},l=0,c=n.length;l<c;++l)if(n[l].name===t){n[l]=s;break}l===c&&n.push(s)}o.tween=n}}function np(e,t){var r=this._id;if(e+="",arguments.length<2){for(var i=yt(this.node(),r).tween,n=0,o=i.length,a;n<o;++n)if((a=i[n]).name===e)return a.value;return null}return this.each((t==null?ww:Cw)(r,e,t))}function hn(e,t,r){var i=e._id;return e.each(function(){var n=Tt(this,i);(n.value||(n.value={}))[t]=r.apply(this,arguments)}),function(n){return yt(n,i).value[t]}}function Ta(e,t){var r;return(typeof t=="number"?ce:t instanceof ti?ya:(r=ti(t))?(t=r,ya):ec)(e,t)}function Ew(e){return function(){this.removeAttribute(e)}}function Iw(e){return function(){this.removeAttributeNS(e.space,e.local)}}function Sw(e,t,r){var i,n=r+"",o;return function(){var a=this.getAttribute(e);return a===n?null:a===i?o:o=t(i=a,r)}}function Mw(e,t,r){var i,n=r+"",o;return function(){var a=this.getAttributeNS(e.space,e.local);return a===n?null:a===i?o:o=t(i=a,r)}}function Aw(e,t,r){var i,n,o;return function(){var a,s=r(this),l;return s==null?void this.removeAttribute(e):(a=this.getAttribute(e),l=s+"",a===l?null:a===i&&l===n?o:(n=l,o=t(i=a,s)))}}function Ow(e,t,r){var i,n,o;return function(){var a,s=r(this),l;return s==null?void this.removeAttributeNS(e.space,e.local):(a=this.getAttributeNS(e.space,e.local),l=s+"",a===l?null:a===i&&l===n?o:(n=l,o=t(i=a,s)))}}function rp(e,t){var r=De(e),i=r==="transform"?rc:Ta;return this.attrTween(e,typeof t=="function"?(r.local?Ow:Aw)(r,i,hn(this,"attr."+e,t)):t==null?(r.local?Iw:Ew)(r):(r.local?Mw:Sw)(r,i,t))}function Dw(e,t){return function(r){this.setAttribute(e,t.call(this,r))}}function Tw(e,t){return function(r){this.setAttributeNS(e.space,e.local,t.call(this,r))}}function Rw(e,t){var r,i;function n(){var o=t.apply(this,arguments);return o!==i&&(r=(i=o)&&Tw(e,o)),r}return n._value=t,n}function kw(e,t){var r,i;function n(){var o=t.apply(this,arguments);return o!==i&&(r=(i=o)&&Dw(e,o)),r}return n._value=t,n}function op(e,t){var r="attr."+e;if(arguments.length<2)return(r=this.tween(r))&&r._value;if(t==null)return this.tween(r,null);if(typeof t!="function")throw new Error;var i=De(e);return this.tween(r,(i.local?Rw:kw)(i,t))}function Fw(e,t){return function(){kr(this,e).delay=+t.apply(this,arguments)}}function Pw(e,t){return t=+t,function(){kr(this,e).delay=t}}function ap(e){var t=this._id;return arguments.length?this.each((typeof e=="function"?Fw:Pw)(t,e)):yt(this.node(),t).delay}function Nw(e,t){return function(){Tt(this,e).duration=+t.apply(this,arguments)}}function Lw(e,t){return t=+t,function(){Tt(this,e).duration=t}}function sp(e){var t=this._id;return arguments.length?this.each((typeof e=="function"?Nw:Lw)(t,e)):yt(this.node(),t).duration}function jw(e,t){if(typeof t!="function")throw new Error;return function(){Tt(this,e).ease=t}}function lp(e){var t=this._id;return arguments.length?this.each(jw(t,e)):yt(this.node(),t).ease}function Vw(e,t){return function(){var r=t.apply(this,arguments);if(typeof r!="function")throw new Error;Tt(this,e).ease=r}}function cp(e){if(typeof e!="function")throw new Error;return this.each(Vw(this._id,e))}function dp(e){typeof e!="function"&&(e=xr(e));for(var t=this._groups,r=t.length,i=new Array(r),n=0;n<r;++n)for(var o=t[n],a=o.length,s=i[n]=[],l,c=0;c<a;++c)(l=o[c])&&e.call(l,l.__data__,c,o)&&s.push(l);return new zt(i,this._parents,this._name,this._id)}function up(e){if(e._id!==this._id)throw new Error;for(var t=this._groups,r=e._groups,i=t.length,n=r.length,o=Math.min(i,n),a=new Array(i),s=0;s<o;++s)for(var l=t[s],c=r[s],d=l.length,u=a[s]=new Array(d),f,p=0;p<d;++p)(f=l[p]||c[p])&&(u[p]=f);for(;s<i;++s)a[s]=t[s];return new zt(a,this._parents,this._name,this._id)}function zw(e){return(e+"").trim().split(/^|\s+/).every(function(t){var r=t.indexOf(".");return r>=0&&(t=t.slice(0,r)),!t||t==="start"})}function Bw(e,t,r){var i,n,o=zw(t)?kr:Tt;return function(){var a=o(this,e),s=a.on;s!==i&&(n=(i=s).copy()).on(t,r),a.on=n}}function hp(e,t){var r=this._id;return arguments.length<2?yt(this.node(),r).on.on(e):this.each(Bw(r,e,t))}function Uw(e){return function(){var t=this.parentNode;for(var r in this.__transition)if(+r!==e)return;t&&t.removeChild(this)}}function mp(){return this.on("end.remove",Uw(this._id))}function fp(e){var t=this._name,r=this._id;typeof e!="function"&&(e=Ai(e));for(var i=this._groups,n=i.length,o=new Array(n),a=0;a<n;++a)for(var s=i[a],l=s.length,c=o[a]=new Array(l),d,u,f=0;f<l;++f)(d=s[f])&&(u=e.call(d,d.__data__,f,s))&&("__data__"in d&&(u.__data__=d.__data__),c[f]=u,ei(c[f],t,r,f,c,yt(d,r)));return new zt(o,this._parents,t,r)}function pp(e){var t=this._name,r=this._id;typeof e!="function"&&(e=yr(e));for(var i=this._groups,n=i.length,o=[],a=[],s=0;s<n;++s)for(var l=i[s],c=l.length,d,u=0;u<c;++u)if(d=l[u]){for(var f=e.call(d,d.__data__,u,l),p,x=yt(d,r),y=0,_=f.length;y<_;++y)(p=f[y])&&ei(p,t,r,y,f,x);o.push(f),a.push(d)}return new zt(o,a,t,r)}var $w=Te.prototype.constructor;function gp(){return new $w(this._groups,this._parents)}function Hw(e,t){var r,i,n;return function(){var o=Je(this,e),a=(this.style.removeProperty(e),Je(this,e));return o===a?null:o===r&&a===i?n:n=t(r=o,i=a)}}function bp(e){return function(){this.style.removeProperty(e)}}function Ww(e,t,r){var i,n=r+"",o;return function(){var a=Je(this,e);return a===n?null:a===i?o:o=t(i=a,r)}}function Gw(e,t,r){var i,n,o;return function(){var a=Je(this,e),s=r(this),l=s+"";return s==null&&(l=s=(this.style.removeProperty(e),Je(this,e))),a===l?null:a===i&&l===n?o:(n=l,o=t(i=a,s))}}function Yw(e,t){var r,i,n,o="style."+t,a="end."+o,s;return function(){var l=Tt(this,e),c=l.on,d=l.value[o]==null?s||(s=bp(t)):void 0;(c!==r||n!==d)&&(i=(r=c).copy()).on(a,n=d),l.on=i}}function _p(e,t,r){var i=(e+="")=="transform"?nc:Ta;return t==null?this.styleTween(e,Hw(e,i)).on("end.style."+e,bp(e)):typeof t=="function"?this.styleTween(e,Gw(e,i,hn(this,"style."+e,t))).each(Yw(this._id,e)):this.styleTween(e,Ww(e,i,t),r).on("end.style."+e,null)}function qw(e,t,r){return function(i){this.style.setProperty(e,t.call(this,i),r)}}function Xw(e,t,r){var i,n;function o(){var a=t.apply(this,arguments);return a!==n&&(i=(n=a)&&qw(e,a,r)),i}return o._value=t,o}function vp(e,t,r){var i="style."+(e+="");if(arguments.length<2)return(i=this.tween(i))&&i._value;if(t==null)return this.tween(i,null);if(typeof t!="function")throw new Error;return this.tween(i,Xw(e,t,r??""))}function Zw(e){return function(){this.textContent=e}}function Kw(e){return function(){var t=e(this);this.textContent=t??""}}function yp(e){return this.tween("text",typeof e=="function"?Kw(hn(this,"text",e)):Zw(e==null?"":e+""))}function Qw(e){return function(t){this.textContent=e.call(this,t)}}function Jw(e){var t,r;function i(){var n=e.apply(this,arguments);return n!==r&&(t=(r=n)&&Qw(n)),t}return i._value=e,i}function xp(e){var t="text";if(arguments.length<1)return(t=this.tween(t))&&t._value;if(e==null)return this.tween(t,null);if(typeof e!="function")throw new Error;return this.tween(t,Jw(e))}function wp(){for(var e=this._name,t=this._id,r=Ra(),i=this._groups,n=i.length,o=0;o<n;++o)for(var a=i[o],s=a.length,l,c=0;c<s;++c)if(l=a[c]){var d=yt(l,t);ei(l,e,r,c,a,{time:d.time+d.delay+d.duration,delay:0,duration:d.duration,ease:d.ease})}return new zt(i,this._parents,e,r)}function Cp(){var e,t,r=this,i=r._id,n=r.size();return new Promise(function(o,a){var s={value:a},l={value:function(){--n===0&&o()}};r.each(function(){var c=Tt(this,i),d=c.on;d!==e&&(t=(e=d).copy(),t._.cancel.push(s),t._.interrupt.push(s),t._.end.push(l)),c.on=t}),n===0&&o()})}var tC=0;function zt(e,t,r,i){this._groups=e,this._parents=t,this._name=r,this._id=i}function Ep(e){return Te().transition(e)}function Ra(){return++tC}var Re=Te.prototype;zt.prototype=Ep.prototype={constructor:zt,select:fp,selectAll:pp,selectChild:Re.selectChild,selectChildren:Re.selectChildren,filter:dp,merge:up,selection:gp,transition:wp,call:Re.call,nodes:Re.nodes,node:Re.node,size:Re.size,empty:Re.empty,each:Re.each,on:hp,attr:rp,attrTween:op,style:_p,styleTween:vp,text:yp,textTween:xp,remove:mp,tween:np,delay:ap,duration:sp,ease:lp,easeVarying:cp,end:Cp,[Symbol.iterator]:Re[Symbol.iterator]};function ka(e){return((e*=2)<=1?e*e*e:(e-=2)*e*e+2)/2}var eC={time:null,delay:0,duration:250,ease:ka};function iC(e,t){for(var r;!(r=e.__transition)||!(r=r[t]);)if(!(e=e.parentNode))throw new Error(`transition ${t} not found`);return r}function Ip(e){var t,r;e instanceof zt?(t=e._id,e=e._name):(t=Ra(),(r=eC).time=Tr(),e=e==null?null:e+"");for(var i=this._groups,n=i.length,o=0;o<n;++o)for(var a=i[o],s=a.length,l,c=0;c<s;++c)(l=a[c])&&ei(l,e,t,c,a,r||iC(l,t));return new zt(i,this._parents,e,t)}Te.prototype.interrupt=ip;Te.prototype.transition=Ip;var{abs:zT,max:BT,min:UT}=Math;function Sp(e){return[+e[0],+e[1]]}function nC(e){return[Sp(e[0]),Sp(e[1])]}var $T={name:"x",handles:["w","e"].map(ac),input:function(e,t){return e==null?null:[[+e[0],t[0][1]],[+e[1],t[1][1]]]},output:function(e){return e&&[e[0][0],e[1][0]]}},HT={name:"y",handles:["n","s"].map(ac),input:function(e,t){return e==null?null:[[t[0][0],+e[0]],[t[1][0],+e[1]]]},output:function(e){return e&&[e[0][1],e[1][1]]}},WT={name:"xy",handles:["n","w","e","s","nw","ne","sw","se"].map(ac),input:function(e){return e==null?null:nC(e)},output:function(e){return e}};function ac(e){return{type:e}}function sc(e,t){var r,i=1;e==null&&(e=0),t==null&&(t=0);function n(){var o,a=r.length,s,l=0,c=0;for(o=0;o<a;++o)s=r[o],l+=s.x,c+=s.y;for(l=(l/a-e)*i,c=(c/a-t)*i,o=0;o<a;++o)s=r[o],s.x-=l,s.y-=c}return n.initialize=function(o){r=o},n.x=function(o){return arguments.length?(e=+o,n):e},n.y=function(o){return arguments.length?(t=+o,n):t},n.strength=function(o){return arguments.length?(i=+o,n):i},n}function Mp(e){let t=+this._x.call(null,e),r=+this._y.call(null,e);return Ap(this.cover(t,r),t,r,e)}function Ap(e,t,r,i){if(isNaN(t)||isNaN(r))return e;var n,o=e._root,a={data:i},s=e._x0,l=e._y0,c=e._x1,d=e._y1,u,f,p,x,y,_,w,A;if(!o)return e._root=a,e;for(;o.length;)if((y=t>=(u=(s+c)/2))?s=u:c=u,(_=r>=(f=(l+d)/2))?l=f:d=f,n=o,!(o=o[w=_<<1|y]))return n[w]=a,e;if(p=+e._x.call(null,o.data),x=+e._y.call(null,o.data),t===p&&r===x)return a.next=o,n?n[w]=a:e._root=a,e;do n=n?n[w]=new Array(4):e._root=new Array(4),(y=t>=(u=(s+c)/2))?s=u:c=u,(_=r>=(f=(l+d)/2))?l=f:d=f;while((w=_<<1|y)===(A=(x>=f)<<1|p>=u));return n[A]=o,n[w]=a,e}function Op(e){var t,r,i=e.length,n,o,a=new Array(i),s=new Array(i),l=1/0,c=1/0,d=-1/0,u=-1/0;for(r=0;r<i;++r)isNaN(n=+this._x.call(null,t=e[r]))||isNaN(o=+this._y.call(null,t))||(a[r]=n,s[r]=o,n<l&&(l=n),n>d&&(d=n),o<c&&(c=o),o>u&&(u=o));if(l>d||c>u)return this;for(this.cover(l,c).cover(d,u),r=0;r<i;++r)Ap(this,a[r],s[r],e[r]);return this}function Dp(e,t){if(isNaN(e=+e)||isNaN(t=+t))return this;var r=this._x0,i=this._y0,n=this._x1,o=this._y1;if(isNaN(r))n=(r=Math.floor(e))+1,o=(i=Math.floor(t))+1;else{for(var a=n-r||1,s=this._root,l,c;r>e||e>=n||i>t||t>=o;)switch(c=(t<i)<<1|e<r,l=new Array(4),l[c]=s,s=l,a*=2,c){case 0:n=r+a,o=i+a;break;case 1:r=n-a,o=i+a;break;case 2:n=r+a,i=o-a;break;case 3:r=n-a,i=o-a;break}this._root&&this._root.length&&(this._root=s)}return this._x0=r,this._y0=i,this._x1=n,this._y1=o,this}function Tp(){var e=[];return this.visit(function(t){if(!t.length)do e.push(t.data);while(t=t.next)}),e}function Rp(e){return arguments.length?this.cover(+e[0][0],+e[0][1]).cover(+e[1][0],+e[1][1]):isNaN(this._x0)?void 0:[[this._x0,this._y0],[this._x1,this._y1]]}function St(e,t,r,i,n){this.node=e,this.x0=t,this.y0=r,this.x1=i,this.y1=n}function kp(e,t,r){var i,n=this._x0,o=this._y0,a,s,l,c,d=this._x1,u=this._y1,f=[],p=this._root,x,y;for(p&&f.push(new St(p,n,o,d,u)),r==null?r=1/0:(n=e-r,o=t-r,d=e+r,u=t+r,r*=r);x=f.pop();)if(!(!(p=x.node)||(a=x.x0)>d||(s=x.y0)>u||(l=x.x1)<n||(c=x.y1)<o))if(p.length){var _=(a+l)/2,w=(s+c)/2;f.push(new St(p[3],_,w,l,c),new St(p[2],a,w,_,c),new St(p[1],_,s,l,w),new St(p[0],a,s,_,w)),(y=(t>=w)<<1|e>=_)&&(x=f[f.length-1],f[f.length-1]=f[f.length-1-y],f[f.length-1-y]=x)}else{var A=e-+this._x.call(null,p.data),U=t-+this._y.call(null,p.data),O=A*A+U*U;if(O<r){var ot=Math.sqrt(r=O);n=e-ot,o=t-ot,d=e+ot,u=t+ot,i=p.data}}return i}function Fp(e){if(isNaN(d=+this._x.call(null,e))||isNaN(u=+this._y.call(null,e)))return this;var t,r=this._root,i,n,o,a=this._x0,s=this._y0,l=this._x1,c=this._y1,d,u,f,p,x,y,_,w;if(!r)return this;if(r.length)for(;;){if((x=d>=(f=(a+l)/2))?a=f:l=f,(y=u>=(p=(s+c)/2))?s=p:c=p,t=r,!(r=r[_=y<<1|x]))return this;if(!r.length)break;(t[_+1&3]||t[_+2&3]||t[_+3&3])&&(i=t,w=_)}for(;r.data!==e;)if(n=r,!(r=r.next))return this;return(o=r.next)&&delete r.next,n?(o?n.next=o:delete n.next,this):t?(o?t[_]=o:delete t[_],(r=t[0]||t[1]||t[2]||t[3])&&r===(t[3]||t[2]||t[1]||t[0])&&!r.length&&(i?i[w]=r:this._root=r),this):(this._root=o,this)}function Pp(e){for(var t=0,r=e.length;t<r;++t)this.remove(e[t]);return this}function Np(){return this._root}function Lp(){var e=0;return this.visit(function(t){if(!t.length)do++e;while(t=t.next)}),e}function jp(e){var t=[],r,i=this._root,n,o,a,s,l;for(i&&t.push(new St(i,this._x0,this._y0,this._x1,this._y1));r=t.pop();)if(!e(i=r.node,o=r.x0,a=r.y0,s=r.x1,l=r.y1)&&i.length){var c=(o+s)/2,d=(a+l)/2;(n=i[3])&&t.push(new St(n,c,d,s,l)),(n=i[2])&&t.push(new St(n,o,d,c,l)),(n=i[1])&&t.push(new St(n,c,a,s,d)),(n=i[0])&&t.push(new St(n,o,a,c,d))}return this}function Vp(e){var t=[],r=[],i;for(this._root&&t.push(new St(this._root,this._x0,this._y0,this._x1,this._y1));i=t.pop();){var n=i.node;if(n.length){var o,a=i.x0,s=i.y0,l=i.x1,c=i.y1,d=(a+l)/2,u=(s+c)/2;(o=n[0])&&t.push(new St(o,a,s,d,u)),(o=n[1])&&t.push(new St(o,d,s,l,u)),(o=n[2])&&t.push(new St(o,a,u,d,c)),(o=n[3])&&t.push(new St(o,d,u,l,c))}r.push(i)}for(;i=r.pop();)e(i.node,i.x0,i.y0,i.x1,i.y1);return this}function zp(e){return e[0]}function Bp(e){return arguments.length?(this._x=e,this):this._x}function Up(e){return e[1]}function $p(e){return arguments.length?(this._y=e,this):this._y}function Fr(e,t,r){var i=new lc(t??zp,r??Up,NaN,NaN,NaN,NaN);return e==null?i:i.addAll(e)}function lc(e,t,r,i,n,o){this._x=e,this._y=t,this._x0=r,this._y0=i,this._x1=n,this._y1=o,this._root=void 0}function Hp(e){for(var t={data:e.data},r=t;e=e.next;)r=r.next={data:e.data};return t}var Bt=Fr.prototype=lc.prototype;Bt.copy=function(){var e=new lc(this._x,this._y,this._x0,this._y0,this._x1,this._y1),t=this._root,r,i;if(!t)return e;if(!t.length)return e._root=Hp(t),e;for(r=[{source:t,target:e._root=new Array(4)}];t=r.pop();)for(var n=0;n<4;++n)(i=t.source[n])&&(i.length?r.push({source:i,target:t.target[n]=new Array(4)}):t.target[n]=Hp(i));return e};Bt.add=Mp;Bt.addAll=Op;Bt.cover=Dp;Bt.data=Tp;Bt.extent=Rp;Bt.find=kp;Bt.remove=Fp;Bt.removeAll=Pp;Bt.root=Np;Bt.size=Lp;Bt.visit=jp;Bt.visitAfter=Vp;Bt.x=Bp;Bt.y=$p;function Rt(e){return function(){return e}}function ii(e){return(e()-.5)*1e-6}function rC(e){return e.index}function Wp(e,t){var r=e.get(t);if(!r)throw new Error("node not found: "+t);return r}function cc(e){var t=rC,r=u,i,n=Rt(30),o,a,s,l,c,d=1;e==null&&(e=[]);function u(_){return 1/Math.min(s[_.source.index],s[_.target.index])}function f(_){for(var w=0,A=e.length;w<d;++w)for(var U=0,O,ot,mt,Mt,ne,Ri,mn;U<A;++U)O=e[U],ot=O.source,mt=O.target,Mt=mt.x+mt.vx-ot.x-ot.vx||ii(c),ne=mt.y+mt.vy-ot.y-ot.vy||ii(c),Ri=Math.sqrt(Mt*Mt+ne*ne),Ri=(Ri-o[U])/Ri*_*i[U],Mt*=Ri,ne*=Ri,mt.vx-=Mt*(mn=l[U]),mt.vy-=ne*mn,ot.vx+=Mt*(mn=1-mn),ot.vy+=ne*mn}function p(){if(a){var _,w=a.length,A=e.length,U=new Map(a.map((ot,mt)=>[t(ot,mt,a),ot])),O;for(_=0,s=new Array(w);_<A;++_)O=e[_],O.index=_,typeof O.source!="object"&&(O.source=Wp(U,O.source)),typeof O.target!="object"&&(O.target=Wp(U,O.target)),s[O.source.index]=(s[O.source.index]||0)+1,s[O.target.index]=(s[O.target.index]||0)+1;for(_=0,l=new Array(A);_<A;++_)O=e[_],l[_]=s[O.source.index]/(s[O.source.index]+s[O.target.index]);i=new Array(A),x(),o=new Array(A),y()}}function x(){if(a)for(var _=0,w=e.length;_<w;++_)i[_]=+r(e[_],_,e)}function y(){if(a)for(var _=0,w=e.length;_<w;++_)o[_]=+n(e[_],_,e)}return f.initialize=function(_,w){a=_,c=w,p()},f.links=function(_){return arguments.length?(e=_,p(),f):e},f.id=function(_){return arguments.length?(t=_,f):t},f.iterations=function(_){return arguments.length?(d=+_,f):d},f.strength=function(_){return arguments.length?(r=typeof _=="function"?_:Rt(+_),x(),f):r},f.distance=function(_){return arguments.length?(n=typeof _=="function"?_:Rt(+_),y(),f):n},f}function Gp(){let e=1;return()=>(e=(1664525*e+1013904223)%4294967296)/4294967296}function Yp(e){return e.x}function qp(e){return e.y}var oC=10,aC=Math.PI*(3-Math.sqrt(5));function dc(e){var t,r=1,i=.001,n=1-Math.pow(i,1/300),o=0,a=.6,s=new Map,l=un(u),c=vr("tick","end"),d=Gp();e==null&&(e=[]);function u(){f(),c.call("tick",t),r<i&&(l.stop(),c.call("end",t))}function f(y){var _,w=e.length,A;y===void 0&&(y=1);for(var U=0;U<y;++U)for(r+=(o-r)*n,s.forEach(function(O){O(r)}),_=0;_<w;++_)A=e[_],A.fx==null?A.x+=A.vx*=a:(A.x=A.fx,A.vx=0),A.fy==null?A.y+=A.vy*=a:(A.y=A.fy,A.vy=0);return t}function p(){for(var y=0,_=e.length,w;y<_;++y){if(w=e[y],w.index=y,w.fx!=null&&(w.x=w.fx),w.fy!=null&&(w.y=w.fy),isNaN(w.x)||isNaN(w.y)){var A=oC*Math.sqrt(.5+y),U=y*aC;w.x=A*Math.cos(U),w.y=A*Math.sin(U)}(isNaN(w.vx)||isNaN(w.vy))&&(w.vx=w.vy=0)}}function x(y){return y.initialize&&y.initialize(e,d),y}return p(),t={tick:f,restart:function(){return l.restart(u),t},stop:function(){return l.stop(),t},nodes:function(y){return arguments.length?(e=y,p(),s.forEach(x),t):e},alpha:function(y){return arguments.length?(r=+y,t):r},alphaMin:function(y){return arguments.length?(i=+y,t):i},alphaDecay:function(y){return arguments.length?(n=+y,t):+n},alphaTarget:function(y){return arguments.length?(o=+y,t):o},velocityDecay:function(y){return arguments.length?(a=1-y,t):1-a},randomSource:function(y){return arguments.length?(d=y,s.forEach(x),t):d},force:function(y,_){return arguments.length>1?(_==null?s.delete(y):s.set(y,x(_)),t):s.get(y)},find:function(y,_,w){var A=0,U=e.length,O,ot,mt,Mt,ne;for(w==null?w=1/0:w*=w,A=0;A<U;++A)Mt=e[A],O=y-Mt.x,ot=_-Mt.y,mt=O*O+ot*ot,mt<w&&(ne=Mt,w=mt);return ne},on:function(y,_){return arguments.length>1?(c.on(y,_),t):c.on(y)}}}function uc(){var e,t,r,i,n=Rt(-30),o,a=1,s=1/0,l=.81;function c(p){var x,y=e.length,_=Fr(e,Yp,qp).visitAfter(u);for(i=p,x=0;x<y;++x)t=e[x],_.visit(f)}function d(){if(e){var p,x=e.length,y;for(o=new Array(x),p=0;p<x;++p)y=e[p],o[y.index]=+n(y,p,e)}}function u(p){var x=0,y,_,w=0,A,U,O;if(p.length){for(A=U=O=0;O<4;++O)(y=p[O])&&(_=Math.abs(y.value))&&(x+=y.value,w+=_,A+=_*y.x,U+=_*y.y);p.x=A/w,p.y=U/w}else{y=p,y.x=y.data.x,y.y=y.data.y;do x+=o[y.data.index];while(y=y.next)}p.value=x}function f(p,x,y,_){if(!p.value)return!0;var w=p.x-t.x,A=p.y-t.y,U=_-x,O=w*w+A*A;if(U*U/l<O)return O<s&&(w===0&&(w=ii(r),O+=w*w),A===0&&(A=ii(r),O+=A*A),O<a&&(O=Math.sqrt(a*O)),t.vx+=w*p.value*i/O,t.vy+=A*p.value*i/O),!0;if(p.length||O>=s)return;(p.data!==t||p.next)&&(w===0&&(w=ii(r),O+=w*w),A===0&&(A=ii(r),O+=A*A),O<a&&(O=Math.sqrt(a*O)));do p.data!==t&&(U=o[p.data.index]*i/O,t.vx+=w*U,t.vy+=A*U);while(p=p.next)}return c.initialize=function(p,x){e=p,r=x,d()},c.strength=function(p){return arguments.length?(n=typeof p=="function"?p:Rt(+p),d(),c):n},c.distanceMin=function(p){return arguments.length?(a=p*p,c):Math.sqrt(a)},c.distanceMax=function(p){return arguments.length?(s=p*p,c):Math.sqrt(s)},c.theta=function(p){return arguments.length?(l=p*p,c):Math.sqrt(l)},c}function hc(e){var t=Rt(.1),r,i,n;typeof e!="function"&&(e=Rt(e==null?0:+e));function o(s){for(var l=0,c=r.length,d;l<c;++l)d=r[l],d.vx+=(n[l]-d.x)*i[l]*s}function a(){if(r){var s,l=r.length;for(i=new Array(l),n=new Array(l),s=0;s<l;++s)i[s]=isNaN(n[s]=+e(r[s],s,r))?0:+t(r[s],s,r)}}return o.initialize=function(s){r=s,a()},o.strength=function(s){return arguments.length?(t=typeof s=="function"?s:Rt(+s),a(),o):t},o.x=function(s){return arguments.length?(e=typeof s=="function"?s:Rt(+s),a(),o):e},o}function mc(e){var t=Rt(.1),r,i,n;typeof e!="function"&&(e=Rt(e==null?0:+e));function o(s){for(var l=0,c=r.length,d;l<c;++l)d=r[l],d.vy+=(n[l]-d.y)*i[l]*s}function a(){if(r){var s,l=r.length;for(i=new Array(l),n=new Array(l),s=0;s<l;++s)i[s]=isNaN(n[s]=+e(r[s],s,r))?0:+t(r[s],s,r)}}return o.initialize=function(s){r=s,a()},o.strength=function(s){return arguments.length?(t=typeof s=="function"?s:Rt(+s),a(),o):t},o.y=function(s){return arguments.length?(e=typeof s=="function"?s:Rt(+s),a(),o):e},o}function ni(e,t,r){this.k=e,this.x=t,this.y=r}ni.prototype={constructor:ni,scale:function(e){return e===1?this:new ni(this.k*e,this.x,this.y)},translate:function(e,t){return e===0&t===0?this:new ni(this.k,this.x+this.k*e,this.y+this.k*t)},apply:function(e){return[e[0]*this.k+this.x,e[1]*this.k+this.y]},applyX:function(e){return e*this.k+this.x},applyY:function(e){return e*this.k+this.y},invert:function(e){return[(e[0]-this.x)/this.k,(e[1]-this.y)/this.k]},invertX:function(e){return(e-this.x)/this.k},invertY:function(e){return(e-this.y)/this.k},rescaleX:function(e){return e.copy().domain(e.range().map(this.invertX,this).map(e.invert,e))},rescaleY:function(e){return e.copy().domain(e.range().map(this.invertY,this).map(e.invert,e))},toString:function(){return"translate("+this.x+","+this.y+") scale("+this.k+")"}};var fc=new ni(1,0,0);pc.prototype=ni.prototype;function pc(e){for(;!e.__zoom;)if(!(e=e.parentNode))return fc;return e.__zoom}var lC=["canvas"];function cC(e,t){if(e&1&&(m(0,"sup"),g(1),fe(2,"fa"),h()),e&2){let r=D();b(),bt(pe(2,1,r.infoNode.word.order+1,r.infoNode==null||r.infoNode.word==null?null:r.infoNode.word.lang))}}var Fa=class{get transX(){return this.x*this.panZoom.scale+this.panZoom.x}get transY(){return this.y*this.panZoom.scale+this.panZoom.y}constructor(t){this.word=t,this.x=0,this.y=0,this.meta={},this.panZoom={},this.id=t.id}},gc=class{constructor(t,r,i){this.relation=t,this.source=r,this.target=i,this.predicates=[],this.id="",this.predicates.push(this.relation.predicate),this.id=`${r.word.id} - ${i.word.id}`}},Xp=(()=>{let t=class t{set relations(i){for(let n of i){let o=this.graph.nodes.find(l=>l.word.id==n.subject?.id);o||(o=new Fa(n.subject),o.meta.new=!0,o.x=this.screenW/2,o.y=this.screenH/2,o.panZoom=this.panZoom,this.graph.nodes.push(o));let a=this.graph.nodes.find(l=>l.word.id==n.object?.id);a||(a=new Fa(n.object),a.meta.new=!0,a.x=this.screenW/2,a.y=this.screenH/2,a.panZoom=this.panZoom,this.graph.nodes.push(a)),!o.meta.new&&a.meta.new&&(a.x=o.x,a.y=o.y),o.meta.new&&!a.meta.new&&(o.x=a.x,o.y=a.y);let s=this.graph.links.find(l=>l.source.word.id==o?.word.id&&l.target.word.id==a?.word.id);s&&s.predicates.includes(n.predicate)||(s&&!s.predicates.includes(n.predicate)?s.predicates.push(n.predicate):this.graph.links.push(new gc(n,o,a)))}this.updateGraph()}get infoNode(){return this._infoNode=this.hoverNode||this.panNode||this._infoNode,this._infoNode}constructor(i){this.predicateMapping={see:"\u0646\u06A9","see also":"\u0647\u0645\u0686\u0646\u06CC\u0646 \u0628\u0646\u06AF\u0631\u06CC\u062F \u0628\u0647",synonym:"\u0645\u062A\u0631\u0627\u062F\u0641","near synonym":"\u0645\u062A\u0631\u0627\u062F\u0641 \u0646\u0632\u062F\u06CC\u06A9","lexical variant":"\u0635\u0648\u0631\u062A \u062F\u06CC\u06AF\u0631 \u0627\u0645\u0644\u0627","historical form":"\u0635\u0648\u0631\u062A \u062F\u06CC\u06AF\u0631 \u062A\u0627\u0631\u06CC\u062E\u06CC\u0650",contain:"\u0645\u0634\u062A\u0645\u0644",part:"\u062C\u0632\u0626\u06CC\u062A",manifestation:"\u0646\u0648\u0639\u06CC/\u0645\u0638\u0647\u0631\u06CC",instance:"\u0645\u0635\u062F\u0627\u0642\u06CC",singular:"\u0645\u0641\u0631\u062F",plural:"\u062C\u0645\u0639",ref:"\u0645\u0639\u0627\u062F\u0644"},this.expand=new Z,this.graph={nodes:[],links:[]},this.simulation=null,this.nodeRadius=10,this.panZoom={x:0,y:0,x0:0,y0:0,xm:0,ym:0,scale:2.5},this.isBrowser=!1,this.screenW=0,this.screenH=0,this.colors={root:"#F06292",fresh:"#4DB6AC",hover:"#3F51B5",processed:"#808080"},this.isBrowser=Vi(i)}ngAfterViewInit(){this.canvas&&(this.isBrowser&&this.initHammer(),this.ctx=this.canvas.nativeElement.getContext("2d")||void 0,this.screenW=this.canvas.nativeElement.width=this.canvas.nativeElement.parentElement.getBoundingClientRect().width,this.screenH=this.canvas.nativeElement.height=this.canvas.nativeElement.parentElement.getBoundingClientRect().height,this.panZoom.x=this.screenW/2*(1-this.panZoom.scale),this.panZoom.y=this.screenH/2*(1-this.panZoom.scale),this.simulation=dc().force("charge",uc().strength(-300)).force("center",sc(this.screenW/2,this.screenH/2)).force("x",hc()).force("y",mc()).on("tick",()=>this.repaint()),this.updateGraph())}initHammer(){this.hammer=new Hammer(this.canvas?.nativeElement,{}),this.hammer.on("panstart",i=>this.panStart(i)),this.hammer.on("pan",i=>this.pan(i)),this.hammer.on("panend",i=>this.panEnd(i)),this.hammer.on("pinch",i=>this.pinch(i)),this.hammer.on("tap",i=>this.click(i))}updateGraph(){this.simulation?.nodes(this.graph.nodes).force("link",cc(this.graph.links).id((i,n,o)=>i.id).distance(50).strength(1)).alpha(1).restart()}repaint(){if(this.ctx){this.ctx.clearRect(0,0,this.screenW,this.screenH),this.ctx.strokeStyle="#404040",this.ctx.lineWidth=1,this.ctx.font="12px farhang",this.ctx.textAlign="center";for(let i of this.graph.links){let n=i.source.transX,o=i.source.transY,a=i.target.transX,s=i.target.transY;this.ctx.beginPath(),i.relation.predicate=="ref"?this.ctx.setLineDash([2,4]):this.ctx.setLineDash([]),this.ctx.moveTo(n,o),this.ctx.lineTo(a,s),this.ctx.stroke();let l=n-a?Math.atan((o-s)/(n-a)):90,c=Math.sqrt(Math.pow(a-n,2)+Math.pow(s-o,2)),d=Math.sign(a-n);this.ctx.save(),this.ctx.translate(n,o),this.ctx.rotate(l);let u=this.ctx.measureText(this.predicateMapping[i.relation.predicate]).width;c>u*2&&(this.ctx.fillStyle="#FFFFFF",this.ctx.fillRect(d*(c-u-10)/2,-1,d*(u+10),2),this.ctx.fillStyle="#000000",this.ctx.fillText(this.predicateMapping[i.relation.predicate],d*c/2,0)),this.ctx.beginPath(),this.ctx.fillStyle="#000000",this.ctx.moveTo(d*(c-this.nodeRadius),0),this.ctx.lineTo(d*(c-this.nodeRadius*2),-this.nodeRadius/3),this.ctx.lineTo(d*(c-this.nodeRadius*2),this.nodeRadius/3),this.ctx.lineTo(d*(c-this.nodeRadius),0),["lexical variant","synonym","near synonym","ref"].includes(i.relation.predicate)&&(this.ctx.moveTo(d*this.nodeRadius,0),this.ctx.lineTo(d*this.nodeRadius*2,-this.nodeRadius/3),this.ctx.lineTo(d*this.nodeRadius*2,this.nodeRadius/3),this.ctx.lineTo(d*this.nodeRadius,0)),this.ctx.fill(),this.ctx.restore()}for(let i of this.graph.nodes)this.ctx.beginPath(),i.word.meta.graph?.root?this.ctx.fillStyle=this.colors.root:i.word.meta.graph?.processed?this.ctx.fillStyle=this.colors.processed:i==this.hoverNode?this.ctx.fillStyle=this.colors.hover:this.ctx.fillStyle=this.colors.fresh,this.ctx.arc(i.x*this.panZoom.scale+this.panZoom.x,i.y*this.panZoom.scale+this.panZoom.y,this.nodeRadius,0,2*Math.PI),this.ctx.closePath(),this.ctx.fill(),i.word.meta.graph?.busy&&(this.ctx.beginPath(),this.ctx.strokeStyle="#404040",this.ctx.arc(i.x*this.panZoom.scale+this.panZoom.x,i.y*this.panZoom.scale+this.panZoom.y,this.nodeRadius+4,0,2*Math.PI),this.ctx.stroke())}}setHoverNode(i){let n=this.canvas.nativeElement.getBoundingClientRect(),o=(i.clientX||i.center?.x)-n.x,a=(i.clientY||i.center?.y)-n.y,s=this.graph.nodes.find(l=>Math.sqrt((o-l.transX)**2+(a-l.transY)**2)<this.nodeRadius);s!=this.hoverNode&&(this.hoverNode=s,this.repaint())}mouseDown(i){if(this.setHoverNode(i),!this.hoverNode)return;this.panNode=this.hoverNode;let n=this.canvas.nativeElement.getBoundingClientRect();this.panNode.meta.panOffset={x:(i.clientX||i.center?.x)-n.x-this.panNode.x,y:(i.clientY||i.center?.y)-n.y-this.panNode.y}}panStart(i){i.center.x-=i.deltaX,i.center.y-=i.deltaY,this.mouseDown(i),this.panNode?(this.panNode.meta.pan=!0,this.simulation.alphaTarget(.3).restart()):(this.panZoom.xm=i.center.x,this.panZoom.ym=i.center.y,this.panZoom.x0=this.panZoom.x,this.panZoom.y0=this.panZoom.y)}pan(i){if(!this.panNode)this.panZoom.x=this.panZoom.x0+i.center.x-this.panZoom.xm,this.panZoom.y=this.panZoom.y0+i.center.y-this.panZoom.ym;else{let n=this.canvas.nativeElement.getBoundingClientRect();this.panNode.fx=(i.center.x-n.x-this.panZoom.x)/this.panZoom.scale,this.panNode.fy=(i.center.y-n.y-this.panZoom.y)/this.panZoom.scale}this.repaint()}panEnd(i){this.panNode&&(this.panNode.fx=void 0,this.panNode.fy=void 0,this.panNode.meta.pan=!1,this.panNode=void 0,this.simulation.alphaTarget(0))}pinch(i){console.log(i)}move(i){this.hoverNode?.meta.pan||(this.setHoverNode(i),this.hoverNode?this.hoverNode.meta.infoVisible=!0:this._infoNode&&(this._infoNode.meta.infoVisible=!1))}click(i){this.setHoverNode(i),this.hoverNode&&(this.panEnd(i),this.expand.emit(this.hoverNode.word))}wheel(i){i.preventDefault();let n=this.canvas.nativeElement.getBoundingClientRect(),o=i.clientX-n.x,a=i.clientY-n.y,s=i.deltaY<0?1.2:.8;this.panZoom.x=o-(o-this.panZoom.x)*s,this.panZoom.y=a-(a-this.panZoom.y)*s,this.panZoom.scale*=s,this.repaint()}};t.\u0275fac=function(n){return new(n||t)(v(Yt))},t.\u0275cmp=K({type:t,selectors:[["app-graph"]],viewQuery:function(n,o){if(n&1&&gt(lC,5),n&2){let a;Y(a=q())&&(o.canvas=a.first)}},inputs:{relations:"relations"},outputs:{expand:"expand"},standalone:!0,features:[Q],decls:10,vars:9,consts:[[1,"outer-wrapper"],[3,"mousemove","wheel"],["canvas",""],[1,"info-box"],[1,"wrapper","word-link"],[1,"lang-key"],[1,"word-title"],[4,"ngIf"]],template:function(n,o){n&1&&(m(0,"div",0)(1,"canvas",1,2),J("mousemove",function(s){return o.move(s)})("wheel",function(s){return o.wheel(s)}),h(),m(3,"div",3)(4,"div",4)(5,"span",5),g(6),h(),m(7,"span",6),g(8),T(9,cC,3,4,"sup",7),h()()()()),n&2&&(b(3),Ni("top",(o.infoNode==null?null:o.infoNode.transY)+"px")("left",(o.infoNode==null?null:o.infoNode.transX)+"px"),L("visible",o.infoNode==null?null:o.infoNode.meta.infoVisible),b(3),bt(o.infoNode==null||o.infoNode.word==null?null:o.infoNode.word.lang),b(2),bt(o.infoNode==null||o.infoNode.word==null?null:o.infoNode.word.title),b(),E("ngIf",o.infoNode==null||o.infoNode.word==null?null:o.infoNode.word.lastOrder))},dependencies:[Kt,ji,sn],styles:[":[_nghost-%COMP%]{display:block}*[_ngcontent-%COMP%]{box-sizing:border-box}.outer-wrapper[_ngcontent-%COMP%]{position:relative;width:100%;height:400px;overflow:hidden}canvas[_ngcontent-%COMP%]{display:block;height:100%;background-color:#ffffff80;border:1px solid #C0C0C0;border-radius:3px}.info-box[_ngcontent-%COMP%]{position:absolute;pointer-events:none;opacity:0;transition:opacity .2s}.info-box[_ngcontent-%COMP%]   .wrapper[_ngcontent-%COMP%]{position:absolute;top:12px;right:-10px;background-color:#fff;border-radius:3px;border:1px solid #A0A0A0}.info-box.visible[_ngcontent-%COMP%]{opacity:1}"]});let e=t;return e})();var Zp=(()=>{let t=class t extends ee{constructor(){super(...arguments),this.langOrder={en:0,\u0641\u0627:1,fr:2,de:3,it:4,es:5,\u0639:6}}list(i){return ut(this,null,function*(){i.meta.busy=!0;let n=`limit=0&word=${i.id}&sort=title asc`,a=(yield this.http.get(`${Jt.apiBase}/lexicon/word-ref?${n}`,this.headers).toPromise().catch(s=>(this.handleError(s),[]))).list.map(s=>new Do(s)).map(s=>(s.words=s.words.sort((l,c)=>this.langOrder[l.lang]-this.langOrder[c.lang]),s));return i.meta.busy=!1,a})}};t.\u0275fac=(()=>{let i;return function(o){return(i||(i=re(t)))(o||t)}})(),t.\u0275prov=M({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})();var we=class we extends ee{log(t){return ut(this,null,function*(){typeof document>"u"||(t.data_n1===void 0&&(t.data_n1=Math.round((Date.now()-ee.NAV_STATE.originalTimestamp)/1e3)),yield this.http.post(Jt.cronus.logUrl,lt(S({},t),{seed:t.seed||we.seed,type:Jt.cronus.eventType}),{headers:{"Content-Type":"application/json",authorization:`Basic ${Jt.cronus.key}`}}).toPromise().catch(r=>{}))})}};we.seed=Math.random(),we.\u0275fac=(()=>{let t;return function(i){return(t||(t=re(we)))(i||we)}})(),we.\u0275prov=M({token:we,factory:we.\u0275fac,providedIn:"root"});var Ut=we;var uC=["searchTermInput"];function hC(e,t){if(e&1&&(m(0,"sup"),g(1),fe(2,"fa"),h()),e&2){let r=D().$implicit;b(),bt(pe(2,1,r.order+1,r.lang))}}function mC(e,t){if(e&1&&(m(0,"mat-option",25),g(1),T(2,hC,3,4,"sup",26),h()),e&2){let r=t.$implicit;E("value",r),b(),Dt(" ",r.title,""),b(),E("ngIf",r.lastOrder)}}function fC(e,t){e&1&&R(0,"mat-progress-bar",27)}function pC(e,t){if(e&1){let r=hi();m(0,"span",33)(1,"mat-icon",34),J("click",function(){Ie(r);let n=dt(4);return Se(n.play())}),g(2,"volume_up"),h(),R(3,"audio",35,36),h()}if(e&2){let r=t.$implicit;b(3),qc("src","/static/",r.uuid.substr(0,2),"/",r.uuid,"/",r.fname,"",Vc)}}function gC(e,t){e&1&&(m(0,"span",41),g(1," / "),h())}function bC(e,t){if(e&1&&(Gc(0),m(1,"a",39),g(2),h(),T(3,gC,2,0,"span",40),Yc()),e&2){let r=t.$implicit,i=t.last,n=D(3);b(),L("lat",!n.words[0].isRtl),yn("routerLink","/lexicon/word/",r.object.id,""),E("title",n.words[0].meta.langLabel),b(),Dt(" \xA0",r.object.title,"\xA0 "),b(),E("ngIf",!i)}}function _C(e,t){if(e&1&&(m(0,"span",37)(1,"label"),g(2,"\u061B \u0635\u0648\u0631\u062A\u0650 \u062F\u06CC\u06AF\u0631\u0650 \u0627\u0645\u0644\u0627:"),h(),T(3,bC,4,6,"ng-container",38),h()),e&2){let r=D(2);b(3),E("ngForOf",r.words[0].meta.lexicalVariant)}}function vC(e,t){if(e&1&&(m(0,"span")(1,"label"),g(2,"\u061B"),h(),m(3,"span",42),g(4),h()()),e&2){let r=D(2);b(3),L("lat",!r.words[0].isRtl),b(),Dt(" \xA0 ",r.words[0].construct,"")}}function yC(e,t){if(e&1&&(m(0,"div",43)(1,"label"),g(2,"Etymology:"),h(),m(3,"span"),g(4),h()()),e&2){let r=D(2);L("lat",!r.words[0].isRtl),b(4),bt(r.words[0].etymology)}}function xC(e,t){if(e&1&&(m(0,"div",28)(1,"h1"),g(2),T(3,pC,5,3,"span",29),h(),m(4,"div",30),g(5),T(6,_C,4,1,"span",31)(7,vC,5,3,"span",26),h(),T(8,yC,5,3,"div",32),h()),e&2){let r=D();b(),L("lat",!r.words[0].isRtl),b(),Dt(" ",r.words[0].title," "),b(),E("ngForOf",r.words[0].meta.pronunciations),b(2),Dt(" ",r.words[0].meta.langLabel," "),b(),E("ngIf",r.words[0].meta.lexicalVariant==null?null:r.words[0].meta.lexicalVariant.length),b(),E("ngIf",r.words.length==1&&r.words[0].construct),b(),E("ngIf",r.words[0].etymology)}}function wC(e,t){if(e&1&&(m(0,"sup"),g(1),fe(2,"fa"),h()),e&2){let r=D(2).$implicit;b(),bt(pe(2,1,r.order+1,r.lang))}}function CC(e,t){if(e&1&&(m(0,"span",42),g(1),h()),e&2){let r=D(2).$implicit,i=D();L("lat",!i.words[0].isRtl),b(),Dt(" \xA0 ",r.construct,"")}}function EC(e,t){if(e&1&&(m(0,"h2"),g(1),T(2,wC,3,4,"sup",26)(3,CC,2,3,"span",52),h()),e&2){let r=D().$implicit;L("lat",!r.isRtl),b(),Dt(" ",r.title,""),b(),E("ngIf",r.lastOrder),b(),E("ngIf",r.construct)}}function IC(e,t){e&1&&Lt(0)}var Wt=e=>({word:e});function SC(e,t){if(e&1&&(m(0,"span",60),T(1,IC,1,0,"ng-container",61),h()),e&2){let r=t.$implicit;D(3);let i=dt(36);b(),E("ngTemplateOutlet",i)("ngTemplateOutletContext",jt(2,Wt,r))}}function MC(e,t){if(e&1&&(m(0,"div",62),g(1),h()),e&2){let r=D().$implicit;b(),bt(r.meaning)}}function AC(e,t){if(e&1&&(m(0,"div",63)(1,"label"),g(2,"\u0645\u062B\u0627\u0644\u0650 \u06A9\u0627\u0631\u0628\u0631\u062F \u0648\u0627\u0698\u0647 \u062F\u0631 \u062C\u0645\u0644\u0647:"),h(),m(3,"span",64),g(4,"\u201D"),h(),g(5),m(6,"span",65),g(7,"\u201C"),h()()),e&2){let r=D().$implicit;b(5),bt(r.example)}}function OC(e,t){if(e&1&&(m(0,"div",66),g(1),h()),e&2){let r=D().$implicit;b(),Dt("\xAB",r.source.title,"\xBB")}}function DC(e,t){if(e&1&&(m(0,"div",53)(1,"label",54),g(2," {\xA0 \u0645\u0639\u0627\u062F\u0644 \xA0} "),h(),m(3,"div",55),T(4,SC,2,4,"span",56),h(),T(5,MC,2,1,"div",57)(6,AC,8,1,"div",58)(7,OC,2,1,"div",59),h()),e&2){let r=t.$implicit;b(4),E("ngForOf",r.words),b(),E("ngIf",r.meaning),b(),E("ngIf",r.example),b(),E("ngIf",r.source)}}function TC(e,t){e&1&&Lt(0)}function RC(e,t){if(e&1&&(m(0,"p",60),T(1,TC,1,0,"ng-container",61),h()),e&2){let r=t.$implicit;D(3);let i=dt(36);b(),E("ngTemplateOutlet",i)("ngTemplateOutletContext",jt(2,Wt,r))}}function kC(e,t){if(e&1&&(m(0,"div",67)(1,"label",54),g(2," {\xA0 \u0645\u0639\u0627\u062F\u0644\u200C\u0647\u0627\u06CC \u0627\u0633\u062A\u0646\u062A\u0627\u062C\u200C\u0634\u062F\u0647 \xA0} "),h(),T(3,RC,2,4,"p",56),h()),e&2){let r=D().$implicit;b(3),E("ngForOf",r.meta.secondaryRefWords)}}function FC(e,t){if(e&1){let r=hi();m(0,"div",70)(1,"div",71),J("click",function(){let o=Ie(r).$implicit;return Se(o.meta.lightbox=!0)}),h(),m(2,"div",72),J("click",function(){let o=Ie(r).$implicit;return Se(o.meta.lightbox=!1)}),R(3,"div",73),h()()}if(e&2){let r=t.$implicit;L("lightbox-open",r.meta.lightbox),b(),xn("background-image: url('",r.url,"')"),b(2),xn("background-image: url('",r.url,"')")}}function PC(e,t){if(e&1&&(m(0,"div",68)(1,"label",54),g(2," {\xA0 \u062A\u0635\u0627\u0648\u06CC\u0631 \xA0} "),h(),T(3,FC,4,8,"div",69),h()),e&2){let r=D().$implicit;b(3),E("ngForOf",r.medias)}}function NC(e,t){if(e&1){let r=hi();m(0,"app-graph",74),J("expand",function(n){Ie(r);let o=D().$implicit,a=D();return Se(a.graphExpand(n,o))}),h()}if(e&2){let r=D().$implicit;E("relations",r.meta.graphRels)}}function LC(e,t){e&1&&Lt(0)}function jC(e,t){if(e&1&&(m(0,"div")(1,"span",80),g(2,"\u0646\u06A9:"),h(),T(3,LC,1,0,"ng-container",61),h()),e&2){let r=D().$implicit;D(3);let i=dt(36);b(3),E("ngTemplateOutlet",i)("ngTemplateOutletContext",jt(2,Wt,r.object))}}function VC(e,t){e&1&&Lt(0)}function zC(e,t){if(e&1&&(m(0,"div")(1,"span",80),g(2,"\u0647\u0645\u0686\u0646\u06CC\u0646 \u0628\u0646\u06AF\u0631\u06CC\u062F \u0628\u0647"),h(),T(3,VC,1,0,"ng-container",61),h()),e&2){let r=D().$implicit;D(3);let i=dt(36);b(3),E("ngTemplateOutlet",i)("ngTemplateOutletContext",jt(2,Wt,r.object))}}function BC(e,t){e&1&&Lt(0)}function UC(e,t){if(e&1&&(m(0,"div")(1,"span",80),g(2,"\u0645\u062A\u0631\u0627\u062F\u0641 \u0627\u0633\u062A \u0628\u0627"),h(),T(3,BC,1,0,"ng-container",61),h()),e&2){let r=D().$implicit;D(3);let i=dt(36);b(3),E("ngTemplateOutlet",i)("ngTemplateOutletContext",jt(2,Wt,r.object))}}function $C(e,t){e&1&&Lt(0)}function HC(e,t){if(e&1&&(m(0,"div")(1,"span",80),g(2,"\u062A\u0642\u0631\u06CC\u0628\u0627\u064B \u0645\u062A\u0631\u0627\u062F\u0641 \u0627\u0633\u062A \u0628\u0627"),h(),T(3,$C,1,0,"ng-container",61),h()),e&2){let r=D().$implicit;D(3);let i=dt(36);b(3),E("ngTemplateOutlet",i)("ngTemplateOutletContext",jt(2,Wt,r.object))}}function WC(e,t){e&1&&Lt(0)}function GC(e,t){if(e&1&&(m(0,"div")(1,"span",80),g(2,"\u0628\u0646\u06AF\u0631\u06CC\u062F \u0628\u0647 \u0635\u0648\u0631\u062A \u0627\u0645\u0644\u0627\u06CC\u06CC\u0650 \u062F\u06CC\u06AF\u0631\u0634"),h(),T(3,WC,1,0,"ng-container",61),h()),e&2){let r=D().$implicit;D(3);let i=dt(36);b(3),E("ngTemplateOutlet",i)("ngTemplateOutletContext",jt(2,Wt,r.object))}}function YC(e,t){e&1&&Lt(0)}function qC(e,t){if(e&1&&(m(0,"div")(1,"span",80),g(2,"\u0628\u0646\u06AF\u0631\u06CC\u062F \u0628\u0647 \u0635\u0648\u0631\u062A \u062A\u0627\u0631\u06CC\u062E\u06CC\u0650 \u062F\u06CC\u06AF\u0631\u0634"),h(),T(3,YC,1,0,"ng-container",61),h()),e&2){let r=D().$implicit;D(3);let i=dt(36);b(3),E("ngTemplateOutlet",i)("ngTemplateOutletContext",jt(2,Wt,r.object))}}function XC(e,t){e&1&&Lt(0)}function ZC(e,t){if(e&1&&(m(0,"div")(1,"span",80),g(2,"\u0645\u0634\u062A\u0645\u0644 \u0627\u0633\u062A \u0628\u0631"),h(),T(3,XC,1,0,"ng-container",61),h()),e&2){let r=D().$implicit;D(3);let i=dt(36);b(3),E("ngTemplateOutlet",i)("ngTemplateOutletContext",jt(2,Wt,r.object))}}function KC(e,t){e&1&&Lt(0)}function QC(e,t){if(e&1&&(m(0,"div")(1,"span",80),g(2,"\u062C\u0632\u0626\u06CC \u0627\u0633\u062A \u0627\u0632"),h(),T(3,KC,1,0,"ng-container",61),h()),e&2){let r=D().$implicit;D(3);let i=dt(36);b(3),E("ngTemplateOutlet",i)("ngTemplateOutletContext",jt(2,Wt,r.object))}}function JC(e,t){e&1&&Lt(0)}function t1(e,t){if(e&1&&(m(0,"div")(1,"span",80),g(2,"\u0646\u0648\u0639\u06CC/\u0645\u0638\u0647\u0631\u06CC \u0627\u0633\u062A \u0627\u0632"),h(),T(3,JC,1,0,"ng-container",61),h()),e&2){let r=D().$implicit;D(3);let i=dt(36);b(3),E("ngTemplateOutlet",i)("ngTemplateOutletContext",jt(2,Wt,r.object))}}function e1(e,t){e&1&&Lt(0)}function i1(e,t){if(e&1&&(m(0,"div")(1,"span",80),g(2,"\u0645\u0635\u062F\u0627\u0642\u06CC \u0627\u0633\u062A \u0627\u0632"),h(),T(3,e1,1,0,"ng-container",61),h()),e&2){let r=D().$implicit;D(3);let i=dt(36);b(3),E("ngTemplateOutlet",i)("ngTemplateOutletContext",jt(2,Wt,r.object))}}function n1(e,t){e&1&&Lt(0)}function r1(e,t){if(e&1&&(m(0,"div")(1,"span",80),g(2,"\u0645\u0641\u0631\u062F"),h(),T(3,n1,1,0,"ng-container",61),h()),e&2){let r=D().$implicit;D(3);let i=dt(36);b(3),E("ngTemplateOutlet",i)("ngTemplateOutletContext",jt(2,Wt,r.object))}}function o1(e,t){e&1&&Lt(0)}function a1(e,t){if(e&1&&(m(0,"div")(1,"span",80),g(2,"\u062C\u0645\u0639"),h(),T(3,o1,1,0,"ng-container",61),h()),e&2){let r=D().$implicit;D(3);let i=dt(36);b(3),E("ngTemplateOutlet",i)("ngTemplateOutletContext",jt(2,Wt,r.object))}}function s1(e,t){if(e&1&&(m(0,"div",78),T(1,jC,4,4,"div",79)(2,zC,4,4,"div",79)(3,UC,4,4,"div",79)(4,HC,4,4,"div",79)(5,GC,4,4,"div",79)(6,qC,4,4,"div",79)(7,ZC,4,4,"div",79)(8,QC,4,4,"div",79)(9,t1,4,4,"div",79)(10,i1,4,4,"div",79)(11,r1,4,4,"div",79)(12,a1,4,4,"div",79),h()),e&2){let r=t.$implicit;E("ngSwitch",r.predicate),b(),E("ngSwitchCase","see"),b(),E("ngSwitchCase","see also"),b(),E("ngSwitchCase","synonym"),b(),E("ngSwitchCase","near synonym"),b(),E("ngSwitchCase","lexical variant"),b(),E("ngSwitchCase","historical form"),b(),E("ngSwitchCase","contain"),b(),E("ngSwitchCase","part"),b(),E("ngSwitchCase","manifestation"),b(),E("ngSwitchCase","instance"),b(),E("ngSwitchCase","singular"),b(),E("ngSwitchCase","plural")}}function l1(e,t){if(e&1&&(m(0,"div",75)(1,"label",76),g(2,"{\xA0 \u0631\u0648\u0627\u0628\u0637 \xA0}"),h(),T(3,s1,13,13,"div",77),h()),e&2){let r=D().$implicit;b(3),E("ngForOf",r.relations)}}function c1(e,t){if(e&1&&(m(0,"div",44),T(1,EC,4,5,"h2",45),m(2,"div",46),T(3,DC,8,4,"div",47),h(),T(4,kC,4,1,"div",48)(5,PC,4,1,"div",49)(6,NC,1,1,"app-graph",50),R(7,"div",21),T(8,l1,4,1,"div",51),R(9,"div",21),h()),e&2){let r=t.$implicit,i=D();b(),E("ngIf",i.words.length>1),b(2),E("ngForOf",r.meta.refs),b(),E("ngIf",r.meta.secondaryRefWords==null?null:r.meta.secondaryRefWords.length),b(),E("ngIf",r.medias.length),b(),E("ngIf",i.isBrowser&&(r.meta.graphRels==null?null:r.meta.graphRels.length)),b(2),E("ngIf",r.relations.length)}}function d1(e,t){if(e&1&&(m(0,"sup"),g(1),fe(2,"fa"),h()),e&2){let r=D().word;b(),bt(pe(2,1,r.order+1,r.lang))}}function u1(e,t){if(e&1&&(m(0,"a",81)(1,"span",82),g(2),h(),m(3,"span",83),g(4),T(5,d1,3,4,"sup",26),h()()),e&2){let r=t.word;yn("routerLink","/lexicon/word/",r.id,""),E("title",r.meta.langLabel),b(2),bt(r.lang),b(),L("lat",!r.isRtl),b(),Dt("\xA0",r.title,""),b(),E("ngIf",r.lastOrder)}}var bc=(()=>{let t=class t{constructor(i,n,o,a,s,l,c){this.meta=i,this.router=n,this.route=o,this.wordService=a,this.wordRefService=s,this.cronusService=l,this.searchTerm="",this.searchLang="",this.wordsFiltered=[],this.words=[],this.langs=yi.LANGS,this.loading=!1,this.isBrowser=!1,yi.GLOBALS.pageTitle="\u0648\u0627\u0698\u0647\u200C\u0646\u0627\u0645\u0647",this.isBrowser=Vi(c)}ngOnInit(){this.route.params.subscribe(i=>ut(this,null,function*(){if(this.words=[],i&&i.id){this.loading=!0;let n=new te({id:i.id});if(n.meta.graph={root:!0},this.words.push(n),!(yield this.loadWord(n))){this.words.pop(),this.loading=!1;return}if(this.cronusService.log({event:"word:page:load",data_n2:n.id}),this.searchTerm=this.words[0].title,this.searchTermInput&&(this.searchTermInput.nativeElement.value=this.searchTerm),n.lastOrder>0){let a=yield this.wordService.listBySortable(n.sortable,n.lang);for(let s of a)s.id!=this.words[0].id&&(this.words.push(s),yield this.loadWord(s))}this.loading=!1}if(this.words.length){let n=this.words.map(s=>s.medias).flat(),o=n.length?n[0].url:"",a=this.words.map(s=>s.meta.refs).flat().map(s=>s.meaning).find(s=>!!s)||"";this.meta.removeTag("property=og\\:title"),this.meta.addTag({property:"og:title",content:`\u0648\u0627\u0698\u06AF\u0627\u0631 :: ${this.words[0].title}`}),o&&(this.meta.removeTag("property=og\\:image"),this.meta.addTag({property:"og:image",content:o})),a&&(this.meta.removeTag("property=og\\:description"),this.meta.addTag({property:"og:description",content:a}))}}))}toggleSearchLang(i){this.searchLang==i?this.searchLang="":this.searchLang=i}filter(i){return ut(this,null,function*(){if(i.value!=this.searchTerm){if(this.searchTerm=i.value,!this.searchTerm.trim()){this.wordsFiltered.length=0;return}this.wordsFiltered=yield this.wordService.search(i.value,this.searchLang)}})}wordSelect(i){this.router.navigateByUrl(`lexicon/word/${i.id}`)}loadWord(i){return ut(this,null,function*(){i.meta.graph||(i.meta.graph={}),yield this.wordService.load(i),i.meta.graph.busy=!0;for(let a of i.relations)a.subject=i;i.meta.lexicalVariant=[];let n={};for(let a of i.relations)a.predicate=="lexical variant"&&!n[a.object.title]&&(n[a.object.title]=a);for(let a in n)i.meta.lexicalVariant.push(n[a]);let o=[...i.relations];i.relations=i.relations.filter(a=>a.predicate!="lexical variant").sort((a,s)=>a.meta.predicate.order-s.meta.predicate.order),i.meta.refs=yield this.wordRefService.list(i);for(let a of i.meta.refs){a.words=a.words.filter(s=>s.lang!=i.lang);for(let s of a.words)o.push(new Ki({subject:i,predicate:"ref",object:s}))}return i.meta.graphRels=o,i.meta.pronunciations=i.medias.filter(a=>a.type.startsWith("audio")),i.medias=i.medias.filter(a=>a.type.startsWith("image")),i.medias.forEach(a=>a.meta.lightbox=!1),i.meta.graph.busy=!1,i.meta.graph.processed=!0,!0})}acDisplayFn(i){return i.title}islat(i){return i!="\u0641\u0627"&&i!="\u0639"}graphExpand(i,n){return ut(this,null,function*(){i.meta.graph?.processed||(yield this.loadWord(i),n.meta.graphRels=[...n.meta.graphRels||[],...i.meta.graphRels||[]],this.cronusService.log({event:"word:graph:load",data_n2:i.id,data_n3:this.words[0].id,data_n4:n.id}))})}clearSearch(i){this.wordsFiltered.length=0,i&&(i.value="")}};t.\u0275fac=function(n){return new(n||t)(v(Ud),v(Vt),v(ve),v(yi),v(Zp),v(Ut),v(Yt))},t.\u0275cmp=K({type:t,selectors:[["app-lexicon"]],viewQuery:function(n,o){if(n&1&&gt(uC,5),n&2){let a;Y(a=q())&&(o.searchTermInput=a.first)}},standalone:!0,features:[Q],decls:37,vars:7,consts:[[1,"page"],[1,"fieldset"],[1,"search-term-field"],["matInput","",3,"matAutocomplete","keyup"],["searchTermInput",""],["autoActiveFirstOption","",3,"displayWith","optionSelected"],["wordAuto","matAutocomplete"],[3,"value",4,"ngFor","ngForOf"],["mat-icon-button","","matSuffix","",3,"click"],[1,"fa-light","fa-close"],[1,"search-lang-select"],["aria-label","\u0632\u0628\u0627\u0646",3,"ngModel","ngModelChange"],["value",""],["value","\u0641\u0627"],["value","\u0639"],["value","en"],["value","it"],["value","fr"],["value","de"],["value","es"],["mode","query",4,"ngIf"],[1,"spacer"],["class","top-title",4,"ngIf"],["class","word",4,"ngFor","ngForOf"],["linkTpl",""],[3,"value"],[4,"ngIf"],["mode","query"],[1,"top-title"],["class","pronunciation",4,"ngFor","ngForOf"],[1,"specification"],["class","lexical-variants",4,"ngIf"],["class","etymology",3,"lat",4,"ngIf"],[1,"pronunciation"],[3,"click"],[3,"src"],["pronunciation",""],[1,"lexical-variants"],[4,"ngFor","ngForOf"],[1,"lexical-variant",3,"routerLink","title"],["class","delimiter",4,"ngIf"],[1,"delimiter"],[1,"construct"],[1,"etymology"],[1,"word"],[3,"lat",4,"ngIf"],[1,"refs"],["class","ref",4,"ngFor","ngForOf"],["class","secondary-ref-words",4,"ngIf"],["class","medias",4,"ngIf"],[3,"relations","expand",4,"ngIf"],["class","rels",4,"ngIf"],["class","construct",3,"lat",4,"ngIf"],[1,"ref"],[1,"section-label"],[1,"ref-words"],["class","ref-word",4,"ngFor","ngForOf"],["class","ref-meaning",4,"ngIf"],["class","ref-example",4,"ngIf"],["class","ref-source",4,"ngIf"],[1,"ref-word"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],[1,"ref-meaning"],[1,"ref-example"],[1,"rquote"],[1,"lquote"],[1,"ref-source"],[1,"secondary-ref-words"],[1,"medias"],["class","image",3,"lightbox-open",4,"ngFor","ngForOf"],[1,"image"],[1,"image-box",3,"click"],[1,"lightbox",3,"click"],[1,"image-wrapper"],[3,"relations","expand"],[1,"rels"],[1,"section-label","tab-nav"],["class","rel",3,"ngSwitch",4,"ngFor","ngForOf"],[1,"rel",3,"ngSwitch"],[4,"ngSwitchCase"],[1,"rel-title"],[1,"word-link",3,"routerLink","title"],[1,"lang-key"],[1,"word-title"]],template:function(n,o){if(n&1){let a=hi();m(0,"div",0)(1,"div",1)(2,"mat-form-field",2)(3,"mat-label"),g(4,"\u062C\u0633\u062A\u062C\u0648\u06CC \u0648\u0627\u0698\u0647"),h(),m(5,"input",3,4),J("keyup",function(){Ie(a);let l=dt(6);return Se(o.filter(l))}),h(),m(7,"mat-autocomplete",5,6),J("optionSelected",function(l){return o.wordSelect(l.option.value)}),T(9,mC,3,3,"mat-option",7),h(),m(10,"button",8),J("click",function(){Ie(a);let l=dt(6);return Se(o.clearSearch(l))}),R(11,"i",9),h()(),m(12,"div",10)(13,"mat-button-toggle-group",11),Kc("ngModelChange",function(l){return Zc(o.searchLang,l)||(o.searchLang=l),l}),m(14,"mat-button-toggle",12),g(15,"\u0647\u0645\u0647"),h(),m(16,"mat-button-toggle",13),g(17,"\u0641\u0627"),h(),m(18,"mat-button-toggle",14),g(19,"\u0639"),h(),m(20,"mat-button-toggle",15),g(21,"en"),h(),m(22,"mat-button-toggle",16),g(23,"it"),h(),m(24,"mat-button-toggle",17),g(25,"fr"),h(),m(26,"mat-button-toggle",18),g(27,"de"),h(),m(28,"mat-button-toggle",19),g(29,"es"),h()()()(),T(30,fC,1,0,"mat-progress-bar",20),R(31,"div",21),T(32,xC,9,8,"div",22),R(33,"div",21),T(34,c1,10,6,"div",23),h(),T(35,u1,6,7,"ng-template",null,24,Gr)}if(n&2){let a=dt(8);b(5),E("matAutocomplete",a),b(2),E("displayWith",o.acDisplayFn),b(2),E("ngForOf",o.wordsFiltered),b(4),Xc("ngModel",o.searchLang),b(17),E("ngIf",o.loading),b(2),E("ngIf",o.words.length),b(2),E("ngForOf",o.words)}},dependencies:[Kt,Kr,ji,Qr,ld,cd,um,rm,zl,Zi,Xi,ur,Ih,Uo,Ch,bm,pm,zo,$l,an,xm,Tm,Dm,Sm,Hl,Wl,km,oa,zm,Vm,sn,Xp],styles:['.section[_ngcontent-%COMP%]{margin:30px 0 60px}.fieldset[_ngcontent-%COMP%]{display:flex;column-gap:10px;border:none;padding:0;margin:0}.fieldset[_ngcontent-%COMP%]   .search-term-field[_ngcontent-%COMP%]{flex:1}@media screen and (max-width: 600px){.fieldset[_ngcontent-%COMP%]{display:block}.fieldset[_ngcontent-%COMP%]   mat-form-field[_ngcontent-%COMP%]{display:block}}label.section-label[_ngcontent-%COMP%]{display:flex;color:var(--primary-color);font-weight:400}label.section-label[_ngcontent-%COMP%]:before{content:" ";display:block;width:30px;height:10px;border-bottom:1px dashed var(--primary-color)}label.section-label[_ngcontent-%COMP%]:after{content:" ";display:block;height:10px;flex:1;border-bottom:1px dashed var(--primary-color)}label.section-label.tab-nav[_ngcontent-%COMP%]   .tab-nav-buttons[_ngcontent-%COMP%]{position:relative;display:inline-block}label.section-label.tab-nav[_ngcontent-%COMP%]   .tab-nav-buttons[_ngcontent-%COMP%]:after{content:" ";position:absolute;bottom:0;right:calc(var(--idx) * 60px);width:60px;height:2px;background-color:#3f51b5;transition:right .2s}label.section-label.tab-nav[_ngcontent-%COMP%]   .tab-nav-buttons[_ngcontent-%COMP%]   .tab-nav-button[_ngcontent-%COMP%]{display:inline-block;width:60px;text-align:center;cursor:pointer;transition:color .2s}label.section-label.tab-nav[_ngcontent-%COMP%]   .tab-nav-buttons[_ngcontent-%COMP%]   .tab-nav-button[_ngcontent-%COMP%]:hover{color:#3f51b5}.top-title[_ngcontent-%COMP%]{text-align:center}.top-title[_ngcontent-%COMP%]   h1[_ngcontent-%COMP%]{font-size:26px;margin-bottom:0}.top-title[_ngcontent-%COMP%]   h1[_ngcontent-%COMP%]   .pronunciation[_ngcontent-%COMP%]{vertical-align:-5px;color:var(--primary-color);cursor:pointer}.top-title[_ngcontent-%COMP%]   .lexical-variants[_ngcontent-%COMP%]   label[_ngcontent-%COMP%]{margin-left:10px}.top-title[_ngcontent-%COMP%]   .lexical-variants[_ngcontent-%COMP%]   .lexical-variant[_ngcontent-%COMP%]{display:inline-flex;padding:0;text-decoration:none;background-color:#fff;color:var(--accent-color);line-height:24px;border-radius:3px;transition:color .2s,background-color .2s}.top-title[_ngcontent-%COMP%]   .lexical-variants[_ngcontent-%COMP%]   .lexical-variant[_ngcontent-%COMP%]:hover{background-color:var(--accent-color);color:#fff;border-radius:3px}.top-title[_ngcontent-%COMP%]   .lexical-variants[_ngcontent-%COMP%]   .lexical-variant[_ngcontent-%COMP%]   .word-title[_ngcontent-%COMP%]{padding:0 10px}.top-title[_ngcontent-%COMP%]   .etymology[_ngcontent-%COMP%]{width:50%;margin:0 auto;white-space:break-spaces;white-space:pre-line;text-align:justify}.top-title[_ngcontent-%COMP%]   .etymology[_ngcontent-%COMP%]   label[_ngcontent-%COMP%]{display:block;margin-top:20px;font-weight:700;color:var(--primary-color)}.top-title[_ngcontent-%COMP%]   .etymology[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]{display:block}@media screen and (max-width: 960px){.top-title[_ngcontent-%COMP%]   .etymology[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]{width:initial}}.word[_ngcontent-%COMP%]   h2[_ngcontent-%COMP%]{position:relative;margin-bottom:0;padding:0 10px;background-color:var(--primary-color);color:#fff;border-radius:3px;font-size:20px}.word[_ngcontent-%COMP%]   h2[_ngcontent-%COMP%]   .construct[_ngcontent-%COMP%]{font-weight:400;font-style:italic;font-size:80%}.word[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{margin:0}.word[_ngcontent-%COMP%]   .secondary-ref-words[_ngcontent-%COMP%]{position:relative;margin:10px 0;padding:20px 0 10px}.word[_ngcontent-%COMP%]   .secondary-ref-words[_ngcontent-%COMP%]   .ref-word[_ngcontent-%COMP%]{margin:10px 0}.word[_ngcontent-%COMP%]   .refs[_ngcontent-%COMP%]{margin-top:20px}.word[_ngcontent-%COMP%]   .refs[_ngcontent-%COMP%]   .ref[_ngcontent-%COMP%]{position:relative;margin:10px 0;padding:20px 0 10px}.word[_ngcontent-%COMP%]   .refs[_ngcontent-%COMP%]   .ref[_ngcontent-%COMP%]   .ref-words[_ngcontent-%COMP%]{color:#a0a0a0}.word[_ngcontent-%COMP%]   .refs[_ngcontent-%COMP%]   .ref[_ngcontent-%COMP%]   .ref-words[_ngcontent-%COMP%]   .ref-word[_ngcontent-%COMP%]{display:block;margin:10px 0}.word[_ngcontent-%COMP%]   .refs[_ngcontent-%COMP%]   .ref[_ngcontent-%COMP%]   .ref-meaning[_ngcontent-%COMP%]{white-space:pre-line;text-align:justify}.word[_ngcontent-%COMP%]   .refs[_ngcontent-%COMP%]   .ref[_ngcontent-%COMP%]   .ref-example[_ngcontent-%COMP%]{position:relative;margin:20px 0 0;width:75%}.word[_ngcontent-%COMP%]   .refs[_ngcontent-%COMP%]   .ref[_ngcontent-%COMP%]   .ref-example[_ngcontent-%COMP%]   label[_ngcontent-%COMP%]{display:block;color:var(--primary-color)}.word[_ngcontent-%COMP%]   .refs[_ngcontent-%COMP%]   .ref[_ngcontent-%COMP%]   .ref-example[_ngcontent-%COMP%]   .rquote[_ngcontent-%COMP%], .word[_ngcontent-%COMP%]   .refs[_ngcontent-%COMP%]   .ref[_ngcontent-%COMP%]   .ref-example[_ngcontent-%COMP%]   .lquote[_ngcontent-%COMP%]{display:inline-block;line-height:0;vertical-align:-20px;font-size:50px;font-family:serif;color:#a0a0a0}.word[_ngcontent-%COMP%]   .refs[_ngcontent-%COMP%]   .ref[_ngcontent-%COMP%]   .ref-source[_ngcontent-%COMP%]{color:#a0a0a0;text-align:left;font-style:italic}.word[_ngcontent-%COMP%]   .medias[_ngcontent-%COMP%]   .image[_ngcontent-%COMP%]{display:inline-block;margin:10px;padding:5px;line-height:0;background-color:#404040}.word[_ngcontent-%COMP%]   .medias[_ngcontent-%COMP%]   .image[_ngcontent-%COMP%]   .image-box[_ngcontent-%COMP%]{width:200px;height:200px;background-size:cover;background-position:50%;cursor:zoom-in}.word[_ngcontent-%COMP%]   .medias[_ngcontent-%COMP%]   .image[_ngcontent-%COMP%]   .lightbox[_ngcontent-%COMP%]{position:fixed;inset:0;background-color:#323232d9;opacity:0;cursor:zoom-out;pointer-events:none;z-index:1000;transition:opacity .2s}.word[_ngcontent-%COMP%]   .medias[_ngcontent-%COMP%]   .image[_ngcontent-%COMP%]   .lightbox[_ngcontent-%COMP%]   .image-wrapper[_ngcontent-%COMP%]{width:80%;height:80%;margin:10%;background-repeat:no-repeat;background-position:50%;background-size:contain}.word[_ngcontent-%COMP%]   .medias[_ngcontent-%COMP%]   .image.lightbox-open[_ngcontent-%COMP%]   .lightbox[_ngcontent-%COMP%]{opacity:1;pointer-events:initial}.word[_ngcontent-%COMP%]   .rels[_ngcontent-%COMP%]   .rel[_ngcontent-%COMP%]{margin:10px 0}.word[_ngcontent-%COMP%]   .rels[_ngcontent-%COMP%]   .rel[_ngcontent-%COMP%]   .rel-title[_ngcontent-%COMP%]{display:inline-block;min-width:150px;padding-left:10px}']});let e=t;return e})();function h1(e,t){e&1&&R(0,"mat-progress-bar",32)}function m1(e,t){if(e&1&&(m(0,"sup"),g(1),fe(2,"fa"),h()),e&2){let r=D().$implicit;b(),bt(pe(2,1,r.order+1,r.lang))}}function f1(e,t){if(e&1&&(m(0,"div",48),g(1),h()),e&2){let r=t.$implicit;b(),bt(r)}}function p1(e,t){if(e&1&&(m(0,"sup"),g(1),fe(2,"fa"),h()),e&2){let r=D().$implicit;b(),bt(pe(2,1,r.order+1,r.lang))}}function g1(e,t){if(e&1&&(m(0,"span",49)(1,"span",50),g(2),h(),m(3,"span",40),g(4),T(5,p1,3,4,"sup",41),h()()),e&2){let r=t.$implicit;b(2),Dt(" ",r.lang,""),b(),L("lat",!r.isRtl),b(),Dt("\xA0",r.title,""),b(),E("ngIf",r.lastOrder)}}function b1(e,t){if(e&1&&(m(0,"sup"),g(1),fe(2,"fa"),h()),e&2){let r=D().$implicit;b(),bt(pe(2,1,r.object.order+1,r.object.lang))}}function _1(e,t){if(e&1&&(m(0,"div",51)(1,"span",52),g(2),h(),m(3,"span",53)(4,"span",40),g(5),T(6,b1,3,4,"sup",41),h()()()),e&2){let r=t.$implicit;b(2),bt(r.meta.predicate),b(2),L("lat",!r.object.isRtl),b(),Dt("\xA0",r.object.title,""),b(),E("ngIf",r.object.lastOrder)}}function v1(e,t){if(e&1&&(m(0,"div",38)(1,"div",39)(2,"span",40),g(3),T(4,m1,3,4,"sup",41),h()(),m(5,"div",42),T(6,f1,2,1,"div",43),h(),m(7,"div",44),T(8,g1,6,5,"span",45),h(),m(9,"div",46),T(10,_1,7,5,"div",47),h()()),e&2){let r=t.$implicit;b(2),L("lat",!r.isRtl),b(),Dt("\xA0",r.title,""),b(),E("ngIf",r.lastOrder),b(2),E("ngForOf",r.meanings),b(2),E("ngForOf",r.refs),b(2),E("ngForOf",r.relations)}}function y1(e,t){if(e&1&&(m(0,"div",36),T(1,v1,11,7,"div",37),h()),e&2){let r=t.$implicit,i=t.index,n=D(2);L("focus",i==n.focusSetIndex),yn("routerLink","lexicon/word/",r[0].id,""),b(),E("ngForOf",r)}}function x1(e,t){if(e&1&&(m(0,"div",33)(1,"div",2)(2,"div",34),T(3,y1,2,4,"div",35),h()()()),e&2){let r=D();b(),L("freeze",r.animationFreeze),b(),xn("top: ",r.wordsTopScroll,"px"),b(),E("ngForOf",r.wordSets)}}var Qp=(()=>{let t=class t{constructor(i){this.wordService=i,this.importantWords=[1093,1101,1096,1186,1200,1201,1202,1209,1556,1558,516,518,520,13400,13402,907,1496,1544,1038,5832,5835,5838,5840,7462,506,537,4046,11060,1401,11223,658,659,648,1417],this.wordSets=[],this.rawSets=[],this.loadingWords=!1,this.predicateMap={"see also":"\u0647\u0645\u0686\u0646\u06CC\u0646 \u0628\u0646\u06AF\u0631\u06CC\u062F \u0628\u0647",synonym:"\u0645\u062A\u0631\u0627\u062F\u0641 \u0627\u0633\u062A \u0628\u0627","near synonym":"\u062A\u0642\u0631\u06CC\u0628\u0627\u064B \u0645\u062A\u0631\u0627\u062F\u0641 \u0627\u0633\u062A \u0628\u0627","lexical variant":"\u0628\u0646\u06AF\u0631\u06CC\u062F \u0628\u0647 \u0635\u0648\u0631\u062A \u0627\u0645\u0644\u0627\u06CC\u06CC\u0650 \u062F\u06CC\u06AF\u0631\u0634","historical form":"\u0628\u0646\u06AF\u0631\u06CC\u062F \u0628\u0647 \u0635\u0648\u0631\u062A \u062A\u0627\u0631\u06CC\u062E\u06CC\u0650 \u062F\u06CC\u06AF\u0631\u0634",contain:"\u0645\u0634\u062A\u0645\u0644 \u0627\u0633\u062A \u0628\u0631",part:"\u062C\u0632\u0626\u06CC \u0627\u0633\u062A \u0627\u0632",manifestation:"\u0646\u0648\u0639\u06CC/\u0645\u0638\u0647\u0631\u06CC \u0627\u0633\u062A \u0627\u0632",instance:"\u0645\u0635\u062F\u0627\u0642\u06CC \u0627\u0633\u062A \u0627\u0632",singular:"\u0645\u0641\u0631\u062F",plural:"\u062C\u0645\u0639"},this.wordsTopScroll=0,this.focusSetIndex=1,this.animationFreeze=!1,ee.GLOBALS.pageTitle=""}delay(i){return new Promise(n=>setTimeout(()=>n(),i))}ngOnDestroy(){this.intervalHandle&&clearInterval(this.intervalHandle)}ngOnInit(){return ut(this,null,function*(){this.loadingWords=!0;let i=yield this.wordService.loadIds(this.importantWords),n=new Map;for(let o of i){n.get(o.title)||n.set(o.title,[]),n.get(o.title).push(o);for(let s of o.relations)s.meta.predicate=this.predicateMap[s.predicate]}this.rawSets=[...n.values()],this.wordSets=[...this.rawSets,...this.rawSets],this.loadingWords=!1,typeof window<"u"&&(this.intervalHandle=setInterval(()=>this.setFocusIndex(),3e3),setTimeout(()=>this.scrollWords(),0))})}setFocusIndex(){return ut(this,null,function*(){this.focusSetIndex==this.rawSets.length+1&&(this.animationFreeze=!0,yield this.delay(0),this.focusSetIndex=1,this.scrollWords(),yield this.delay(0),this.animationFreeze=!1,yield this.delay(0)),this.focusSetIndex++,this.scrollWords()})}scrollWords(){if(typeof document>"u")return;let i=document.querySelectorAll(".word-sets .word-set"),n=0;for(let o=0;o<this.focusSetIndex;o++)n+=i[o].getBoundingClientRect().height;this.wordsTopScroll=-n+100}};t.\u0275fac=function(n){return new(n||t)(v(yi))},t.\u0275cmp=K({type:t,selectors:[["app-home"]],standalone:!0,features:[Q],decls:59,vars:2,consts:[[1,"section","intro","align-center"],[1,"site-title"],[1,"section-content"],[1,"site-desc"],[1,"action"],["mat-flat-button","","color","primary","routerLink","/lexicon"],[1,"fa-regular","fa-search"],[1,"section","description"],[1,"section-label"],[1,"spacer"],[1,"icon-cards"],[1,"card-wrapper"],[1,"card","mat-elevation-z8"],[1,"icon-part"],[1,"fa-thin","fa-4x","fa-cloud-check"],[1,"text-part"],[1,"caption"],[1,"desc"],[1,"fa-thin","fa-4x","fa-fw","fa-earth-asia"],[1,"fa-thin","fa-4x","fa-fw","fa-books"],[1,"align-center"],["mat-flat-button","","color","primary","routerLink","/about"],[1,"fa-regular","fa-arrow-left"],[1,"section","image-plan","mat-elevation-z8"],[1,"section-content","align-center"],[1,"canvas-wrapper"],["src","assets/plan-bishapour/layer-1.png",1,"layer"],["src","assets/plan-bishapour/layer-2.png",1,"layer"],["src","assets/plan-bishapour/layer-3.png",1,"layer"],["src","assets/plan-bishapour/layer-4.png",1,"layer"],["mode","indeterminate",4,"ngIf"],["class","section sample-words",4,"ngIf"],["mode","indeterminate"],[1,"section","sample-words"],[1,"word-sets"],["class","word-set",3,"focus","routerLink",4,"ngFor","ngForOf"],[1,"word-set",3,"routerLink"],["class","word",4,"ngFor","ngForOf"],[1,"word"],[1,"title","lat"],[1,"word-title"],[4,"ngIf"],[1,"meanings"],["class","meaning",4,"ngFor","ngForOf"],[1,"refs"],["class","word-box ref",4,"ngFor","ngForOf"],[1,"relations"],["class","relation",4,"ngFor","ngForOf"],[1,"meaning"],[1,"word-box","ref"],[1,"lang-key"],[1,"relation"],[1,"predicate"],[1,"object"]],template:function(n,o){n&1&&(m(0,"div",0)(1,"h1",1),g(2,"\u0648\u0627\u0698\u06AF\u0640\u0640\u0640\u0640\u0627\u0631"),h(),m(3,"div",2)(4,"p",3),g(5,"\u0648\u0627\u0698\u0647\u200C\u0646\u0627\u0645\u0647 \u0686\u0646\u062F \u0632\u0628\u0627\u0646\u0647 \u0645\u0639\u0645\u0627\u0631\u06CC \u0648 \u0647\u0646\u0631"),h(),m(6,"p",4)(7,"a",5),R(8,"i",6),g(9," \xA0 \u062C\u0633\u062A\u062C\u0648 \u062F\u0631 \u0648\u0627\u0698\u06AF\u0627\u0631"),h()()()(),m(10,"div",7)(11,"label",8)(12,"span"),g(13,"{\xA0 \u0648\u06CC\u0698\u06AF\u0640\u0640\u0640\u0640\u0640\u0640\u0640\u0640\u0640\u0640\u06CC\u200C\u0647\u0627 \xA0}"),h()(),m(14,"div",2),R(15,"div",9),m(16,"div",10)(17,"div",11)(18,"div",12)(19,"div",13),R(20,"i",14),h(),m(21,"div",15)(22,"p",16),g(23,"\u062F\u0633\u062A\u0631\u0633\u200C\u067E\u0630\u06CC\u0631\u06CC"),h(),m(24,"p",17),g(25,"\u0648\u0627\u0698\u06AF\u0627\u0631 \u0648\u0627\u0698\u0647\u200C\u0646\u0627\u0645\u0647\u200C\u06CC \u0628\u0631\u062E\u0637 \u0627\u0633\u062A \u0648 \u0627\u0633\u062A\u0641\u0627\u062F\u0647 \u0627\u0632 \u0622\u0646 \u0628\u0631\u0627\u06CC \u0639\u0645\u0648\u0645 \u0622\u0632\u0627\u062F \u0648 \u0631\u0627\u06CC\u06AF\u0627\u0646 \u0627\u0633\u062A."),h()()()(),m(26,"div",11)(27,"div",12)(28,"div",13),R(29,"i",18),h(),m(30,"div",15)(31,"p",16),g(32,"\u0686\u0646\u062F\u0632\u0628\u0627\u0646\u06AF\u06CC"),h(),m(33,"p",17),g(34,"\u0648\u0627\u0698\u06AF\u0627\u0631 \u0648\u0627\u0698\u0647\u200C\u0646\u0627\u0645\u0647\u200C\u0627\u06CC \u0686\u0646\u062F\u0632\u0628\u0627\u0646\u0647 \u0648 \u0686\u0646\u062F\u0633\u0648\u06CC\u0647 \u0627\u0633\u062A\u061B \u0634\u0627\u0645\u0644 \u0632\u0628\u0627\u0646\u200C\u0647\u0627\u06CC \u0641\u0627\u0631\u0633\u06CC\u060C \u0627\u0646\u06AF\u0644\u06CC\u0633\u06CC\u060C \u0639\u0631\u0628\u06CC\u060C \u0627\u06CC\u062A\u0627\u0644\u06CC\u0627\u06CC\u06CC\u060C \u0641\u0631\u0627\u0646\u0633\u0647\u060C \u0622\u0644\u0645\u0627\u0646\u06CC\u060C \u0648 \u0627\u0633\u067E\u0627\u0646\u06CC\u0627\u06CC\u06CC."),h()()()(),m(35,"div",11)(36,"div",12)(37,"div",13),R(38,"i",19),h(),m(39,"div",15)(40,"p",16),g(41,"\u062C\u0627\u0645\u0639\u06CC\u062A"),h(),m(42,"p",17),g(43,"\u0648\u0627\u0698\u06AF\u0627\u0631 \u0645\u0631\u062C\u0639\u06CC \u0628\u0631\u0627\u06CC \u062A\u0631\u0645\u200C\u0634\u0646\u0627\u0633\u06CC \u062F\u0631 \u0631\u0634\u062A\u0647\u200C\u0647\u0627 \u0648 \u062D\u0648\u0632\u0647\u200C\u0647\u0627\u06CC \u0645\u0639\u0645\u0627\u0631\u06CC\u060C \u0634\u0647\u0631\u060C \u0647\u0646\u0631\u060C \u062A\u0627\u0631\u06CC\u062E \u0645\u0639\u0645\u0627\u0631\u06CC\u060C \u062A\u0627\u0631\u06CC\u062E \u0634\u0647\u0631\u060C \u062A\u0627\u0631\u06CC\u062E \u0647\u0646\u0631\u060C \u0645\u0631\u0645\u062A\u060C \u0628\u0627\u0633\u062A\u0627\u0646\u200C\u0634\u0646\u0627\u0633\u06CC\u060C \u0645\u0648\u0632\u0647\u200C\u062F\u0627\u0631\u06CC\u060C \u0645\u0637\u0627\u0644\u0639\u0627\u062A \u0641\u0631\u0647\u0646\u06AF\u06CC\u060C \u0648 \u0627\u0646\u0633\u0627\u0646\u200C\u0634\u0646\u0627\u0633\u06CC \u0647\u0646\u0631 \u0648 \u0645\u0639\u0645\u0627\u0631\u06CC \u0627\u0633\u062A."),h()()()()(),R(44,"div",9)(45,"div",9),m(46,"p",20)(47,"a",21),g(48,"\u062F\u0631\u0628\u0627\u0631\u0647 \u0648\u0627\u0698\u06AF\u0627\u0631 \u0628\u06CC\u0634\u062A\u0631 \u0628\u062F\u0627\u0646\u06CC\u062F \xA0 "),R(49,"i",22),h()()()(),m(50,"div",23)(51,"div",24)(52,"div",25),R(53,"img",26)(54,"img",27)(55,"img",28)(56,"img",29),h()()(),T(57,h1,1,0,"mat-progress-bar",30)(58,x1,4,6,"div",31)),n&2&&(b(57),E("ngIf",o.loadingWords),b(),E("ngIf",!o.loadingWords))},dependencies:[an,ym,Kt,Kr,ji,Zi,Xi,oa,sn],styles:['.section[_ngcontent-%COMP%]{margin:30px 0 60px}.section.description[_ngcontent-%COMP%]   h1[_ngcontent-%COMP%]{margin-bottom:0}.section[_ngcontent-%COMP%]   .section-content[_ngcontent-%COMP%]{max-width:1000px;margin:0 auto}.section.image-plan[_ngcontent-%COMP%]{margin-bottom:0;background-color:var(--primary-color)}.section.sample-words[_ngcontent-%COMP%]{margin:0}.site-title[_ngcontent-%COMP%]{font-weight:700;font-size:40px;line-height:50px}label.section-label[_ngcontent-%COMP%]{display:flex;color:var(--primary-color);font-size:30px;font-weight:700}@media screen and (max-width: 960px){label.section-label[_ngcontent-%COMP%]{font-size:24px}}label.section-label[_ngcontent-%COMP%]:before{content:" ";display:block;flex:1;height:7px;border-bottom:3px dashed var(--primary-color)}@media screen and (max-width: 960px){label.section-label[_ngcontent-%COMP%]:before{width:30px}}label.section-label[_ngcontent-%COMP%]:after{content:" ";display:block;height:7px;flex:1;border-bottom:3px dashed var(--primary-color)}.icon-cards[_ngcontent-%COMP%]{display:flex;align-content:stretch}@media screen and (max-width: 960px){.icon-cards[_ngcontent-%COMP%]{display:block;padding:0 20px}}.icon-cards[_ngcontent-%COMP%]   .card-wrapper[_ngcontent-%COMP%]{flex:1}.icon-cards[_ngcontent-%COMP%]   .card-wrapper[_ngcontent-%COMP%]   .card[_ngcontent-%COMP%]{display:flex;width:260px;height:100%;margin:0 auto;background-color:#f0f0f0;flex-direction:column;border-radius:5px}@media screen and (max-width: 960px){.icon-cards[_ngcontent-%COMP%]   .card-wrapper[_ngcontent-%COMP%]   .card[_ngcontent-%COMP%]{display:block;width:initial;height:initial;margin-bottom:20px}}.icon-cards[_ngcontent-%COMP%]   .card-wrapper[_ngcontent-%COMP%]   .card[_ngcontent-%COMP%]   .icon-part[_ngcontent-%COMP%]{padding:30px 0;text-align:center;background-color:var(--accent-color);color:#fff;border-radius:5px 5px 0 0}.icon-cards[_ngcontent-%COMP%]   .card-wrapper[_ngcontent-%COMP%]   .card[_ngcontent-%COMP%]   .text-part[_ngcontent-%COMP%]{flex:1;padding:10px}.icon-cards[_ngcontent-%COMP%]   .card-wrapper[_ngcontent-%COMP%]   .card[_ngcontent-%COMP%]   .text-part[_ngcontent-%COMP%]   .caption[_ngcontent-%COMP%]{padding-top:20px;text-align:center;font-weight:900;color:var(--accent-color)}.icon-cards[_ngcontent-%COMP%]   .card-wrapper[_ngcontent-%COMP%]   .card[_ngcontent-%COMP%]   .text-part[_ngcontent-%COMP%]   .desc[_ngcontent-%COMP%]{text-align:justify;font-size:90%}.canvas-wrapper[_ngcontent-%COMP%]{position:relative;height:750px;overflow:hidden}@media screen and (max-width: 960px){.canvas-wrapper[_ngcontent-%COMP%]{height:calc(75vw + 40px)}}.canvas-wrapper[_ngcontent-%COMP%]   img.layer[_ngcontent-%COMP%]{position:absolute;top:0;left:0}@media screen and (max-width: 960px){.canvas-wrapper[_ngcontent-%COMP%]   img.layer[_ngcontent-%COMP%]{top:20px}}.section.sample-words[_ngcontent-%COMP%]{height:600px;overflow:hidden;background-image:url(/assets/dark-stripes-light.png)}@media screen and (max-width: 960px){.section.sample-words[_ngcontent-%COMP%]{height:150vw}}.section.sample-words[_ngcontent-%COMP%]   .section-content[_ngcontent-%COMP%]{position:relative;max-width:600px}.section.sample-words[_ngcontent-%COMP%]   .section-content[_ngcontent-%COMP%]   .word-sets[_ngcontent-%COMP%]{position:absolute;top:0;left:0;transition:top 1s ease-in-out}.section.sample-words[_ngcontent-%COMP%]   .section-content[_ngcontent-%COMP%]   .word-sets[_ngcontent-%COMP%]   .word-set[_ngcontent-%COMP%]{padding:20px 0;border:2px dashed rgba(255,255,255,0);border-style:dashed none dashed none;filter:blur(4px);transition:filter 1s ease-in-out,border-color 1s ease-in-out;cursor:pointer}@media screen and (max-width: 960px){.section.sample-words[_ngcontent-%COMP%]   .section-content[_ngcontent-%COMP%]   .word-sets[_ngcontent-%COMP%]   .word-set[_ngcontent-%COMP%]{padding:20px 10px}}.section.sample-words[_ngcontent-%COMP%]   .section-content[_ngcontent-%COMP%]   .word-sets[_ngcontent-%COMP%]   .word-set.focus[_ngcontent-%COMP%]{filter:none;border-color:var(--primary-color)}.section.sample-words[_ngcontent-%COMP%]   .section-content[_ngcontent-%COMP%]   .word-sets[_ngcontent-%COMP%]   .word-set[_ngcontent-%COMP%]   .word[_ngcontent-%COMP%]   .title[_ngcontent-%COMP%]{font-size:22px;font-weight:700;color:#24a69a}.section.sample-words[_ngcontent-%COMP%]   .section-content[_ngcontent-%COMP%]   .word-sets[_ngcontent-%COMP%]   .word-set[_ngcontent-%COMP%]   .word[_ngcontent-%COMP%]   .meanings[_ngcontent-%COMP%]{margin-bottom:20px;line-height:32px;font-style:italic}.section.sample-words[_ngcontent-%COMP%]   .section-content[_ngcontent-%COMP%]   .word-sets[_ngcontent-%COMP%]   .word-set[_ngcontent-%COMP%]   .word[_ngcontent-%COMP%]   .refs[_ngcontent-%COMP%]   .word-title[_ngcontent-%COMP%], .section.sample-words[_ngcontent-%COMP%]   .section-content[_ngcontent-%COMP%]   .word-sets[_ngcontent-%COMP%]   .word-set[_ngcontent-%COMP%]   .word[_ngcontent-%COMP%]   .relations[_ngcontent-%COMP%]   .word-title[_ngcontent-%COMP%]{color:var(--accent-color)}.section.sample-words[_ngcontent-%COMP%]   .section-content[_ngcontent-%COMP%]   .word-sets[_ngcontent-%COMP%]   .word-set[_ngcontent-%COMP%]   .word[_ngcontent-%COMP%]   .relations[_ngcontent-%COMP%]   .predicate[_ngcontent-%COMP%]{display:inline-block;width:150px}.section.sample-words[_ngcontent-%COMP%]   .section-content.freeze[_ngcontent-%COMP%]   .word-sets[_ngcontent-%COMP%], .section.sample-words[_ngcontent-%COMP%]   .section-content.freeze[_ngcontent-%COMP%]   .word-sets[_ngcontent-%COMP%]   .word-set[_ngcontent-%COMP%]{transition:initial}.word-box[_ngcontent-%COMP%]{display:inline-flex;min-width:30%;padding:0;margin-bottom:10px;text-decoration:none}.word-box[_ngcontent-%COMP%]   .lang-key[_ngcontent-%COMP%]{width:25px;text-align:center;color:gray;font-size:80%;border-left:1px solid #A0A0A0}.word-box[_ngcontent-%COMP%]   .word-title[_ngcontent-%COMP%]{padding:0 5px}']});let e=t;return e})();var Jp=(()=>{let t=class t{constructor(){}ngOnInit(){}};t.\u0275fac=function(n){return new(n||t)},t.\u0275cmp=K({type:t,selectors:[["app-about"]],standalone:!0,features:[Q],decls:113,vars:0,consts:[[1,"page"],[1,"section","description"],[1,"section-title"],[1,"fa-ul","main-list"],[1,"fa-li"],[1,"fa-regular","fa-2x","fa-fw","fa-cloud-check"],[1,"logo-type"],[1,"fa-regular","fa-2x","fa-fw","fa-earth-asia"],[1,"fa-regular","fa-2x","fa-fw","fa-books"],[1,"fa-regular","fa-2x","fa-fw","fa-list-tree"],[1,"fa-ul"],[1,"fa","fa-check"],[1,"fa-regular","fa-2x","fa-fw","fa-diagram-project"],[1,"fa-regular","fa-2x","fa-fw","fa-link-horizontal"],[1,"section","prcedure"],["href","https://www.getty.edu/research/tools/vocabularies/index.html","target","_blank",1,"regular"],[1,"fa-regular","fa-arrow-up-right-from-square"],[1,"section","staff"],["href","http://facultymembers.sbu.ac.ir/qayyoomi","target","_blank",1,"regular"]],template:function(n,o){n&1&&(m(0,"div",0)(1,"div",1)(2,"h1",2),g(3,"\u0645\u0639\u0631\u0641\u06CC \u0648\u0627\u0698\u06AF\u0627\u0631"),h(),m(4,"ul",3)(5,"li")(6,"span",4),R(7,"i",5),h(),m(8,"span",6),g(9,"\u0648\u0627\u0698\u06AF\u0627\u0631"),h(),g(10," \u0648\u0627\u0698\u0647\u200C\u0646\u0627\u0645\u0647\u200C\u06CC \u0628\u0631\u062E\u0637 \u0645\u0639\u0645\u0627\u0631\u06CC \u0648 \u0647\u0646\u0631 \u0648 \u0645\u0637\u0627\u0644\u0639\u0627\u062A \u0641\u0631\u0647\u0646\u06AF\u06CC \u0627\u0633\u062A. "),h(),m(11,"li")(12,"span",4),R(13,"i",7),h(),m(14,"span",6),g(15,"\u0648\u0627\u0698\u06AF\u0627\u0631"),h(),g(16," \u0648\u0627\u0698\u0647\u200C\u0646\u0627\u0645\u0647\u200C\u0627\u06CC \u0686\u0646\u062F\u0632\u0628\u0627\u0646\u0647 \u0648 \u0686\u0646\u062F\u0633\u0648\u06CC\u0647 \u0627\u0633\u062A\u061B \u0634\u0627\u0645\u0644 \u0632\u0628\u0627\u0646\u200C\u0647\u0627\u06CC \u0641\u0627\u0631\u0633\u06CC\u060C \u0627\u0646\u06AF\u0644\u06CC\u0633\u06CC\u060C \u0639\u0631\u0628\u06CC\u060C \u0627\u06CC\u062A\u0627\u0644\u06CC\u0627\u06CC\u06CC\u060C \u0641\u0631\u0627\u0646\u0633\u0647\u060C \u0622\u0644\u0645\u0627\u0646\u06CC\u060C \u0648 \u0627\u0633\u067E\u0627\u0646\u06CC\u0627\u06CC\u06CC. "),h(),m(17,"li")(18,"span",4),R(19,"i",8),h(),m(20,"span",6),g(21,"\u0648\u0627\u0698\u06AF\u0627\u0631"),h(),g(22," \u0645\u0631\u062C\u0639\u06CC \u0628\u0631\u0627\u06CC \u062A\u0631\u0645\u200C\u0634\u0646\u0627\u0633\u06CC \u062F\u0631 \u0631\u0634\u062A\u0647\u200C\u0647\u0627 \u0648 \u062D\u0648\u0632\u0647\u200C\u0647\u0627\u06CC \u0645\u0639\u0645\u0627\u0631\u06CC\u060C \u0634\u0647\u0631\u060C \u0647\u0646\u0631\u060C \u062A\u0627\u0631\u06CC\u062E \u0645\u0639\u0645\u0627\u0631\u06CC\u060C \u062A\u0627\u0631\u06CC\u062E \u0634\u0647\u0631\u060C \u062A\u0627\u0631\u06CC\u062E \u0647\u0646\u0631\u060C \u0645\u0631\u0645\u062A\u060C \u0628\u0627\u0633\u062A\u0627\u0646\u200C\u0634\u0646\u0627\u0633\u06CC\u060C \u0645\u0648\u0632\u0647\u200C\u062F\u0627\u0631\u06CC\u060C \u0645\u0637\u0627\u0644\u0639\u0627\u062A \u0641\u0631\u0647\u0646\u06AF\u06CC\u060C \u0648 \u0627\u0646\u0633\u0627\u0646\u200C\u0634\u0646\u0627\u0633\u06CC \u0647\u0646\u0631 \u0648 \u0645\u0639\u0645\u0627\u0631\u06CC \u0627\u0633\u062A. "),h(),m(23,"li")(24,"span",4),R(25,"i",9),h(),g(26," \u062F\u0631 \u0630\u06CC\u0644 \u0647\u0631 \u062A\u0631\u0645\u060C \u0627\u06CC\u0646 \u0627\u0637\u0644\u0627\u0639\u0627\u062A \u0639\u0631\u0636\u0647 \u0645\u06CC\u200C\u0634\u0648\u062F: "),m(27,"ul",10)(28,"li")(29,"span",4),R(30,"i",11),h(),g(31," \u0645\u0639\u0627\u062F\u0644\u200C\u0647\u0627\u06CC \u0622\u0646 \u062A\u0631\u0645 \u062F\u0631 \u0632\u0628\u0627\u0646\u200C\u0647\u0627\u06CC \u06AF\u0648\u0646\u0627\u06AF\u0648\u0646\u061B"),h(),m(32,"li")(33,"span",4),R(34,"i",11),h(),g(35," \u0645\u0639\u0646\u06CC \u0622\u0646 \u062A\u0631\u0645 \u0628\u0647 \u0641\u0627\u0631\u0633\u06CC\u061B"),h(),m(36,"li")(37,"span",4),R(38,"i",11),h(),g(39," \u06A9\u0627\u0631\u0628\u0631\u062F \u0622\u0646 \u062A\u0631\u0645 \u062F\u0631 \u0645\u062B\u0627\u0644 \u0641\u0627\u0631\u0633\u06CC\u061B"),h(),m(40,"li")(41,"span",4),R(42,"i",11),h(),g(43," \u0645\u0646\u0628\u0639 \u0647\u0631 \u0645\u0639\u0627\u062F\u0644\u061B"),h(),m(44,"li")(45,"span",4),R(46,"i",11),h(),g(47," \u062A\u0644\u0641\u0638 \u0622\u0646 \u062A\u0631\u0645 (\u0645\u0646\u062D\u0635\u0631 \u0628\u0647 \u0648\u0627\u0698\u0647\u200C\u0647\u0627\u06CC \u0628\u0633\u06CC\u0637)."),h()()(),m(48,"li")(49,"span",4),R(50,"i",12),h(),g(51," \u062F\u0631 "),m(52,"span",6),g(53,"\u0648\u0627\u0698\u06AF\u0627\u0631"),h(),g(54,"\u060C \u067E\u06CC\u0648\u0646\u062F \u0628\u06CC\u0646 \u062A\u0631\u0645\u200C\u0647\u0627\u06CC \u0627\u0646\u06AF\u0644\u06CC\u0633\u06CC \u0628\u0647 \u0634\u06A9\u0644 \u0646\u0645\u0648\u062F\u0627\u0631\u06CC \u062F\u0631 \u0630\u06CC\u0644 \u0647\u0631 \u0648\u0627\u0698\u0647 \u0646\u0634\u0627\u0646 \u062F\u0627\u062F\u0647 \u0645\u06CC\u200C\u0634\u0648\u062F. \u0628\u0647 \u0639\u0628\u0627\u0631\u062A \u062F\u06CC\u06AF\u0631\u060C "),m(55,"span",6),g(56,"\u0648\u0627\u0698\u06AF\u0627\u0631"),h(),g(57," \u0627\u0645\u06A9\u0627\u0646\u0627\u062A\u06CC \u0628\u0631\u0627\u06CC \u0645\u0637\u0627\u0644\u0639\u0647\u200C\u06CC \u0645\u0639\u0646\u06CC\u200C\u0634\u0646\u0627\u062E\u062A\u06CC (\u0633\u0645\u0627\u0646\u062A\u06CC\u06A9) \u062F\u0631 \u062A\u0631\u0645\u200C\u0647\u0627\u06CC \u062A\u062E\u0635\u0635\u06CC \u062D\u0648\u0632\u0647\u200C\u0647\u0627\u06CC \u06CC\u0627\u062F\u0634\u062F\u0647 \u062F\u0631 \u0627\u062E\u062A\u06CC\u0627\u0631 \u0645\u06CC\u200C\u06AF\u0630\u0627\u0631\u062F. "),h(),m(58,"li")(59,"span",4),R(60,"i",13),h(),g(61," \u062A\u0631\u0645\u200C\u0647\u0627\u06CC \u0641\u0627\u0631\u0633\u06CC "),m(62,"span",6),g(63,"\u0648\u0627\u0698\u06AF\u0627\u0631"),h(),g(64," \u0628\u0647 \u0644\u063A\u062A\u200C\u0646\u0627\u0645\u0647\u200C\u0647\u0627\u06CC \u0641\u0627\u0631\u0633\u06CC \u0648 \u067E\u06CC\u06A9\u0631\u0647\u200C\u06CC \u0645\u062A\u0648\u0646 \u0641\u0627\u0631\u0633\u06CC \u0645\u0631\u062A\u0628\u0637 \u0627\u0633\u062A \u0648 \u06A9\u0627\u0631\u0628\u0631 \u0645\u06CC\u200C\u062A\u0648\u0627\u0646\u062F\u060C \u062F\u0631 \u0635\u0648\u0631\u062A \u0646\u06CC\u0627\u0632\u060C \u0628\u0647 \u0627\u0637\u0644\u0627\u0639\u0627\u062A \u0645\u0631\u0628\u0648\u0637 \u0628\u0647 \u0622\u0646 \u062A\u0631\u0645 \u062F\u0631 \u0644\u063A\u062A\u200C\u0646\u0627\u0645\u0647\u200C\u0647\u0627\u060C \u0645\u062A\u0648\u0646\u060C \u0648 \u0628\u0631\u062E\u06CC \u0627\u0632 \u062F\u0627\u0646\u0634\u0646\u0627\u0645\u0647\u200C\u0647\u0627\u06CC \u0641\u0627\u0631\u0633\u06CC \u062F\u0633\u062A \u06CC\u0627\u0628\u062F. "),h()()(),m(65,"div",14)(66,"h1",2),g(67,"\u0631\u0648\u0634 \u0648 \u0645\u0633\u06CC\u0631 \u062A\u0647\u06CC\u0647\u200C\u06CC \u0645\u062D\u062A\u0648\u0627\u06CC \u0648\u0627\u0698\u06AF\u0627\u0631"),h(),m(68,"ul")(69,"li"),g(70,"\u06AF\u0632\u06CC\u0646\u0634 \u062A\u0631\u0645\u200C\u0647\u0627\u06CC \u0645\u0631\u0628\u0648\u0637 \u0628\u0647 \u062D\u0648\u0632\u0647\u200C\u0647\u0627\u06CC \u06CC\u0627\u062F\u0634\u062F\u0647 \u062F\u0631 \u0645\u0646\u0627\u0628\u0639 \u0628\u0631\u06AF\u0632\u06CC\u062F\u0647 (\u0627\u06CC\u0646 \u0645\u0646\u0627\u0628\u0639 \u062F\u0631 \u0635\u0641\u062D\u0647\u200C\u06CC \u0645\u0646\u0627\u0628\u0639 \u0648\u0627\u0698\u06AF\u0627\u0631 \u0645\u0639\u0631\u0641\u06CC \u0634\u062F\u0647 \u0627\u0633\u062A)"),h(),m(71,"li"),g(72,"\u0648\u0627\u0631\u062F \u06A9\u0631\u062F\u0646 \u062A\u0631\u0645\u200C\u0647\u0627\u060C \u0645\u0639\u0627\u062F\u0644\u200C\u0647\u0627\u060C \u0645\u0639\u0627\u0646\u06CC\u060C \u0645\u062B\u0627\u0644\u200C\u0647\u0627\u060C \u0648 \u0645\u0646\u0627\u0628\u0639 \u0622\u0646\u0647\u0627 \u062F\u0631 \u067E\u0627\u06CC\u06AF\u0627\u0647"),h(),m(73,"li"),g(74,"\u062A\u0634\u062E\u06CC\u0635 \u062A\u0631\u0645\u200C\u0647\u0627\u06CC \u0645\u0634\u0627\u0628\u0647 \u0648 \u0633\u0627\u0645\u0627\u0646\u200C\u062F\u0647\u06CC \u0645\u0639\u0627\u062F\u0644\u200C\u0647\u0627 \u0648 \u0645\u0639\u0627\u0646\u06CC \u0622\u0646\u0647\u0627"),h(),m(75,"li"),g(76,"\u06CC\u0627\u0641\u062A\u0646 \u0648 \u0628\u0627\u0631\u06AF\u0630\u0627\u0631\u06CC \u0627\u0637\u0644\u0627\u0639\u0627\u062A \u0631\u06CC\u0634\u0647\u200C\u0634\u0646\u0627\u0633\u06CC \u062A\u0631\u0645\u200C\u0647\u0627\u06CC \u0628\u0633\u06CC\u0637 \u0627\u0646\u06AF\u0644\u06CC\u0633\u06CC"),h(),m(77,"li"),g(78,"\u0627\u0646\u062A\u062E\u0627\u0628 \u0648 \u0628\u0627\u0631\u06AF\u0630\u0627\u0631\u06CC \u062A\u0635\u0648\u06CC\u0631 \u0628\u0631\u0627\u06CC \u062A\u0631\u0645\u200C\u0647\u0627"),h(),m(79,"li"),g(80,"\u062A\u0639\u06CC\u06CC\u0646 \u0631\u0627\u0628\u0637\u0647\u200C\u06CC \u0647\u0631 \u062A\u0631\u0645 \u0627\u0646\u06AF\u0644\u06CC\u0633\u06CC \u0628\u0627 \u062A\u0631\u0645 \u0645\u0648\u062C\u0648\u062F \u062F\u0631 "),m(81,"a",15),g(82,"\u062A\u0632\u0627\u0631\u0648\u0633 \u06AF\u062A\u06CC \xA0"),R(83,"i",16),h()(),m(84,"li"),g(85,"\u062A\u0639\u06CC\u06CC\u0646 \u0631\u0627\u0628\u0637\u0647\u200C\u06CC \u0647\u0631 \u062A\u0631\u0645 \u0641\u0627\u0631\u0633\u06CC \u0628\u0627 \u062A\u0631\u0645 \u0645\u0648\u062C\u0648\u062F \u062F\u0631 \u067E\u0627\u06CC\u06AF\u0627\u0647 \u0627\u06CC\u0631\u0627\u0646\u200C\u0634\u0647\u0631"),h(),m(86,"li"),g(87,"\u0636\u0628\u0637 \u0648 \u0628\u0627\u0631\u06AF\u0630\u0627\u0631\u06CC \u062A\u0644\u0641\u0638 \u062A\u0631\u0645\u200C\u0647\u0627\u06CC \u0641\u0627\u0631\u0633\u06CC"),h()()(),m(88,"div",17)(89,"h1",2),g(90,"\u06A9\u0627\u0631\u06AF\u0632\u0627\u0631\u0627\u0646 \u0648\u0627\u0698\u06AF\u0627\u0631"),h(),m(91,"p"),g(92,"\u0646\u0627\u0638\u0631 \u0639\u0644\u0645\u06CC: "),m(93,"a",18),g(94,"\u0645\u0647\u0631\u062F\u0627\u062F \u0642\u06CC\u0648\u0645\u06CC \u0628\u06CC\u062F\u0647\u0646\u062F\u06CC \xA0"),R(95,"i",16),h()(),m(96,"p"),g(97,"\u06AF\u0631\u0648\u0647 \u062A\u0647\u06CC\u0647\u200C\u06CC \u0645\u062D\u062A\u0648\u0627 (\u0628\u0647 \u062A\u0631\u062A\u06CC\u0628 \u0627\u0644\u0641\u0628\u0627): "),h(),m(98,"ul")(99,"li"),g(100,"\u0633\u067E\u06CC\u062F\u0647 \u0627\u062D\u0645\u062F\u062E\u0627\u0646\u06CC"),h(),m(101,"li"),g(102,"\u0641\u0627\u0637\u0645\u0647 \u0627\u062D\u0645\u062F\u06CC"),h(),m(103,"li"),g(104,"\u0639\u0627\u0637\u0641\u0647 \u062A\u0627\u062C\u200C\u0628\u062E\u0634 \u0641\u0631\u06CC\u062F"),h(),m(105,"li"),g(106,"\u0645\u062D\u0628\u0648\u0628\u0647 \u062C\u0648\u0627\u062F\u06CC\u200C\u06A9\u06CC\u0627"),h(),m(107,"li"),g(108,"\u0632\u0647\u0631\u0627 \u0635\u0627\u0644\u062D\u06CC \u0646\u062C\u0641\u200C\u0622\u0628\u0627\u062F\u06CC"),h(),m(109,"li"),g(110,"\u0645\u0647\u062F\u06CC \u0637\u0627\u0647\u0631\u06CC"),h(),m(111,"li"),g(112,"\u0646\u0631\u06AF\u0633 \u0636\u0645\u06CC\u0631\u06CC"),h()()()())},styles:['.section.description[_ngcontent-%COMP%]   h1[_ngcontent-%COMP%]{margin-bottom:0}.section[_ngcontent-%COMP%]   .section-content[_ngcontent-%COMP%]{max-width:1000px;margin:0 auto}.section.image-plan[_ngcontent-%COMP%]{background-color:var(--primary-color)}.section[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{text-align:justify}.site-title[_ngcontent-%COMP%]{font-weight:700;font-size:40px;line-height:50px}.section-title[_ngcontent-%COMP%]{font-weight:700}.section-title[_ngcontent-%COMP%]:before{content:" ";display:inline-block;width:20px;height:20px;margin-left:10px;vertical-align:-5px;border-radius:20px;background-color:var(--primary-color)}.main-list[_ngcontent-%COMP%]{margin-right:50px}.main-list[_ngcontent-%COMP%] > li[_ngcontent-%COMP%]{margin:30px 0;text-align:justify}.main-list[_ngcontent-%COMP%] > li[_ngcontent-%COMP%] > .fa-li[_ngcontent-%COMP%]{right:-50px;color:#577572}.section[_ngcontent-%COMP%]{margin:30px 0 60px}']});let e=t;return e})();var tg=[{path:"",component:Qp},{path:"about",component:Jp},{path:"lexicon",component:bc},{path:"lexicon/word/:id",component:bc}];var w1="@",C1=(()=>{let t=class t{constructor(i,n,o,a,s){this.doc=i,this.delegate=n,this.zone=o,this.animationType=a,this.moduleImpl=s,this._rendererFactoryPromise=null,this.scheduler=I(Uc,{optional:!0})}ngOnDestroy(){this._engine?.flush()}loadImpl(){return(this.moduleImpl??import("./chunk-UOH4HBWD.js")).catch(n=>{throw new nt(5300,!1)}).then(({\u0275createEngine:n,\u0275AnimationRendererFactory:o})=>{this._engine=n(this.animationType,this.doc,this.scheduler);let a=new o(this.delegate,this._engine,this.zone);return this.delegate=a,a})}createRenderer(i,n){let o=this.delegate.createRenderer(i,n);if(o.\u0275type===0)return o;typeof o.throwOnSyntheticProps=="boolean"&&(o.throwOnSyntheticProps=!1);let a=new _c(o);return n?.data?.animation&&!this._rendererFactoryPromise&&(this._rendererFactoryPromise=this.loadImpl()),this._rendererFactoryPromise?.then(s=>{let l=s.createRenderer(i,n);a.use(l)}).catch(s=>{a.use(o)}),a}begin(){this.delegate.begin?.()}end(){this.delegate.end?.()}whenRenderingDone(){return this.delegate.whenRenderingDone?.()??Promise.resolve()}};t.\u0275fac=function(n){di()},t.\u0275prov=M({token:t,factory:t.\u0275fac});let e=t;return e})(),_c=class{constructor(t){this.delegate=t,this.replay=[],this.\u0275type=1}use(t){if(this.delegate=t,this.replay!==null){for(let r of this.replay)r(t);this.replay=null}}get data(){return this.delegate.data}destroy(){this.replay=null,this.delegate.destroy()}createElement(t,r){return this.delegate.createElement(t,r)}createComment(t){return this.delegate.createComment(t)}createText(t){return this.delegate.createText(t)}get destroyNode(){return this.delegate.destroyNode}appendChild(t,r){this.delegate.appendChild(t,r)}insertBefore(t,r,i,n){this.delegate.insertBefore(t,r,i,n)}removeChild(t,r,i){this.delegate.removeChild(t,r,i)}selectRootElement(t,r){return this.delegate.selectRootElement(t,r)}parentNode(t){return this.delegate.parentNode(t)}nextSibling(t){return this.delegate.nextSibling(t)}setAttribute(t,r,i,n){this.delegate.setAttribute(t,r,i,n)}removeAttribute(t,r,i){this.delegate.removeAttribute(t,r,i)}addClass(t,r){this.delegate.addClass(t,r)}removeClass(t,r){this.delegate.removeClass(t,r)}setStyle(t,r,i,n){this.delegate.setStyle(t,r,i,n)}removeStyle(t,r,i){this.delegate.removeStyle(t,r,i)}setProperty(t,r,i){this.shouldReplay(r)&&this.replay.push(n=>n.setProperty(t,r,i)),this.delegate.setProperty(t,r,i)}setValue(t,r){this.delegate.setValue(t,r)}listen(t,r,i){return this.shouldReplay(r)&&this.replay.push(n=>n.listen(t,r,i)),this.delegate.listen(t,r,i)}shouldReplay(t){return this.replay!==null&&t.startsWith(w1)}};function eg(e="animations"){return Le([{provide:Hr,useFactory:(t,r,i)=>new C1(t,r,i,e),deps:[j,so,N]},{provide:Nt,useValue:e==="noop"?"NoopAnimations":"BrowserAnimations"}])}var ig={providers:[Tu(tg),Hd(),eg(),Td(Rd())]};var E1=["*",[["mat-toolbar-row"]]],I1=["*","mat-toolbar-row"],S1=(()=>{let t=class t{};t.\u0275fac=function(n){return new(n||t)},t.\u0275dir=G({type:t,selectors:[["mat-toolbar-row"]],hostAttrs:[1,"mat-toolbar-row"],exportAs:["matToolbarRow"],standalone:!0});let e=t;return e})(),ng=(()=>{let t=class t{constructor(i,n,o){this._elementRef=i,this._platform=n,this._document=o}ngAfterViewInit(){this._platform.isBrowser&&(this._checkToolbarMixedModes(),this._toolbarRows.changes.subscribe(()=>this._checkToolbarMixedModes()))}_checkToolbarMixedModes(){this._toolbarRows.length}};t.\u0275fac=function(n){return new(n||t)(v($),v(et),v(j))},t.\u0275cmp=K({type:t,selectors:[["mat-toolbar"]],contentQueries:function(n,o,a){if(n&1&&kt(a,S1,5),n&2){let s;Y(s=q())&&(o._toolbarRows=s)}},hostAttrs:[1,"mat-toolbar"],hostVars:6,hostBindings:function(n,o){n&2&&(Ae(o.color?"mat-"+o.color:""),L("mat-toolbar-multiple-rows",o._toolbarRows.length>0)("mat-toolbar-single-row",o._toolbarRows.length===0))},inputs:{color:"color"},exportAs:["matToolbar"],standalone:!0,features:[Q],ngContentSelectors:I1,decls:2,vars:0,template:function(n,o){n&1&&(Ot(E1),rt(0),rt(1,1))},styles:[".mat-toolbar{background:var(--mat-toolbar-container-background-color);color:var(--mat-toolbar-container-text-color)}.mat-toolbar,.mat-toolbar h1,.mat-toolbar h2,.mat-toolbar h3,.mat-toolbar h4,.mat-toolbar h5,.mat-toolbar h6{font-family:var(--mat-toolbar-title-text-font);font-size:var(--mat-toolbar-title-text-size);line-height:var(--mat-toolbar-title-text-line-height);font-weight:var(--mat-toolbar-title-text-weight);letter-spacing:var(--mat-toolbar-title-text-tracking);margin:0}.cdk-high-contrast-active .mat-toolbar{outline:solid 1px}.mat-toolbar .mat-form-field-underline,.mat-toolbar .mat-form-field-ripple,.mat-toolbar .mat-focused .mat-form-field-ripple{background-color:currentColor}.mat-toolbar .mat-form-field-label,.mat-toolbar .mat-focused .mat-form-field-label,.mat-toolbar .mat-select-value,.mat-toolbar .mat-select-arrow,.mat-toolbar .mat-form-field.mat-focused .mat-select-arrow{color:inherit}.mat-toolbar .mat-input-element{caret-color:currentColor}.mat-toolbar .mat-mdc-button-base.mat-mdc-button-base.mat-unthemed{--mdc-text-button-label-text-color:var(--mat-toolbar-container-text-color);--mdc-outlined-button-label-text-color:var(--mat-toolbar-container-text-color)}.mat-toolbar-row,.mat-toolbar-single-row{display:flex;box-sizing:border-box;padding:0 16px;width:100%;flex-direction:row;align-items:center;white-space:nowrap;height:var(--mat-toolbar-standard-height)}@media(max-width: 599px){.mat-toolbar-row,.mat-toolbar-single-row{height:var(--mat-toolbar-mobile-height)}}.mat-toolbar-multiple-rows{display:flex;box-sizing:border-box;flex-direction:column;width:100%;min-height:var(--mat-toolbar-standard-height)}@media(max-width: 599px){.mat-toolbar-multiple-rows{min-height:var(--mat-toolbar-mobile-height)}}"],encapsulation:2,changeDetection:0});let e=t;return e})();var rg=(()=>{let t=class t{};t.\u0275fac=function(n){return new(n||t)},t.\u0275mod=z({type:t}),t.\u0275inj=B({imports:[st,st]});let e=t;return e})();var og=(()=>{let t=class t{constructor(i,n){this.cronusService=i,this.router=n,this.globals=ee.GLOBALS,Ut.NAV_STATE.originalTimestamp=Date.now()}getScrollPercent(){if(typeof document>"u")return 0;let i=document.documentElement,n=document.body,o="scrollTop",a="scrollHeight";return(i[o]||n[o])/((i[a]||n[a])-i.clientHeight)*100}ngAfterContentInit(){return ut(this,null,function*(){this.router.events.subscribe(i=>{if(i instanceof He){let n={event:"navigation.leave",data_s1:Ut.NAV_STATE.page,data_n2:this.getScrollPercent()};this.cronusService.log(n)}if(i instanceof Wn){let n=Object.values(i.snapshot.params),o={event:"navigation.enter",data_s1:i.snapshot.routeConfig?.path},a=0;if(i.snapshot.routeConfig?.data)for(let s of i.snapshot.routeConfig.data.pconf||[])switch(s){case"str":o[`data_s${a+2}`]=n[a++];break;case"num":o[`data_n${a+2}`]=n[a++];break;default:break}Ut.NAV_STATE.timestamp||this.cronusService.log({event:"navigation.landing",seed:o.seed,originator:o.originator,data_s1:o.data_s1}),this.cronusService.log(o),Ut.NAV_STATE.timestamp=Date.now(),Ut.NAV_STATE.page=o.data_s1}}),typeof document<"u"&&setTimeout(()=>document.querySelector("body").classList.remove("loading"),200)})}beforeunloadHandler(i){return ut(this,null,function*(){yield this.cronusService.log({event:"navigation.leave",data_s1:Ut.NAV_STATE.page,data_n2:this.getScrollPercent()}),yield this.cronusService.log({event:"navigation.unload",data_s1:Ut.NAV_STATE.page})})}ngOnDestroy(){this.cronusService.log({event:"navigation.OnDestroy",data_s1:Ut.NAV_STATE.page})}};t.\u0275fac=function(n){return new(n||t)(v(Ut),v(Vt))},t.\u0275cmp=K({type:t,selectors:[["app-root"]],hostBindings:function(n,o){n&1&&J("beforeunload",function(s){return o.beforeunloadHandler(s)},!1,Bc)},standalone:!0,features:[Q],decls:51,vars:0,consts:[["color","primary"],["routerLink","/"],["src","assets/v-logo.png","alt","Vazhegar",1,"logo"],[1,"menu-spacer"],[1,"section","footer","mat-elevation-z8-inverted"],[1,"section-content"],[1,"branding"],["desktop","",1,"desc","lat"],[1,"line"],["href","https://nowruzgan.com","target","_blank",1,"regular","n-logo"],[1,"nowruzgan-dot"],[1,"fas","fa-period"],[1,"logo"],["src","assets/nowruzgan-logo.png","alt","Nowruzgan"],[1,"desc"],["mobile","",1,"desc","lat"],[1,"cc-license"],[1,"cc-image"],["rel","license","href","http://creativecommons.org/licenses/by-nc-sa/4.0/"],["alt","Creative Commons License","src","https://i.creativecommons.org/l/by-nc-sa/4.0/88x31.png",2,"border-width","0"],[1,"statement"],["rel","license","href","http://creativecommons.org/licenses/by-nc-sa/4.0/",1,"regular"],["target","_blank","href","https://nowruzgan.com",1,"regular"]],template:function(n,o){n&1&&(m(0,"mat-toolbar",0)(1,"a",1),R(2,"img",2),h(),g(3," \xA0 "),m(4,"span")(5,"a",1),g(6,"\u0648\u0627\u0698\u06AF\u0627\u0631"),h()(),R(7,"span",3),h(),R(8,"router-outlet"),m(9,"div",4)(10,"div",5)(11,"div",6)(12,"div",7)(13,"div",8),g(14,"Vazhgar is a "),m(15,"a",9),g(16,"nowruzgan"),m(17,"span",10),R(18,"i",11),h()(),g(19," project."),h()(),m(20,"div",12),R(21,"img",13),h(),m(22,"div",14)(23,"div",8),g(24,"\u0648\u0627\u0698\u06AF\u0627\u0631 \u067E\u0631\u0648\u0698\u0647\u200C\u0627\u06CC \u0627\u0632 "),m(25,"a",9),g(26,"\u0646\u0648\u0631\u0648\u0632\u06AF\u0627\u0646"),h(),g(27," \u0627\u0633\u062A."),h()(),m(28,"div",15)(29,"div",8),g(30,"Vazhgar is a "),m(31,"a",9),g(32,"nowruzgan"),m(33,"span",10),R(34,"i",11),h()(),g(35," project."),h()()(),m(36,"div",16)(37,"div",17)(38,"a",18),R(39,"img",19),h()(),m(40,"div",20)(41,"p"),g(42,"\u0627\u0633\u062A\u0641\u0627\u062F\u0647 \u0627\u0632 \u0645\u062D\u062A\u0648\u0627\u06CC \u0648\u0627\u0698\u06AF\u0627\u0631 \u062A\u0646\u0647\u0627 \u062F\u0631 "),m(43,"a",21),g(44,"\u06A9\u0627\u0631\u0628\u0631\u062F\u0647\u0627\u06CC \u0645\u0634\u0627\u0628\u0647 \u0648 \u063A\u06CC\u0631 \u062A\u062C\u0627\u0631\u06CC"),h(),g(45," \u0645\u062C\u0627\u0632 \u0627\u0633\u062A."),h(),m(46,"p"),g(47,"\u0628\u0631\u0627\u06CC \u0627\u0633\u062A\u0641\u0627\u062F\u0647\u200C\u0647\u0627\u06CC \u062F\u06CC\u06AF\u0631 \u0628\u0627 "),m(48,"a",22),g(49,"\u0646\u0648\u0631\u0648\u0632\u06AF\u0627\u0646"),h(),g(50," \u062A\u0645\u0627\u0633 \u0628\u06AF\u06CC\u0631\u06CC\u062F."),h()()()()())},dependencies:[Kt,$s,Zi,Xi,rg,ng,an],styles:[".menu-spacer[_ngcontent-%COMP%]{flex:1}img.logo[_ngcontent-%COMP%]{display:block;width:60px;margin-left:10px}mat-toolbar[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{text-decoration:none;color:#fff}.section[_ngcontent-%COMP%]{margin:30px 0 60px}.section.footer[_ngcontent-%COMP%]{margin:0;padding:50px 0;text-align:center;color:gray}.section.footer[_ngcontent-%COMP%]   .branding[_ngcontent-%COMP%]{display:flex}@media screen and (max-width: 960px){.section.footer[_ngcontent-%COMP%]   .branding[_ngcontent-%COMP%]{display:block}}.section.footer[_ngcontent-%COMP%]   .branding[_ngcontent-%COMP%]   .logo[_ngcontent-%COMP%]{width:120px;padding:0 20px}@media screen and (max-width: 960px){.section.footer[_ngcontent-%COMP%]   .branding[_ngcontent-%COMP%]   .logo[_ngcontent-%COMP%]{width:min(60%,250px);margin:0 auto;padding:0}}.section.footer[_ngcontent-%COMP%]   .branding[_ngcontent-%COMP%]   .desc[_ngcontent-%COMP%]{flex:1;padding-top:35px;text-align:right}@media screen and (max-width: 960px){.section.footer[_ngcontent-%COMP%]   .branding[_ngcontent-%COMP%]   .desc[_ngcontent-%COMP%]{text-align:center;padding-top:20px}}.section.footer[_ngcontent-%COMP%]   .branding[_ngcontent-%COMP%]   .desc.lat[_ngcontent-%COMP%]{text-align:left}@media screen and (max-width: 960px){.section.footer[_ngcontent-%COMP%]   .branding[_ngcontent-%COMP%]   .desc.lat[_ngcontent-%COMP%]{text-align:center}}.section.footer[_ngcontent-%COMP%]   .cc-license[_ngcontent-%COMP%]{font-size:12px;display:flex;margin:40px auto 0;width:400px;text-align:right}@media screen and (max-width: 960px){.section.footer[_ngcontent-%COMP%]   .cc-license[_ngcontent-%COMP%]{display:block;width:100%;box-sizing:border-box;padding:0 10px;text-align:center}}.section.footer[_ngcontent-%COMP%]   .cc-license[_ngcontent-%COMP%]   .statement[_ngcontent-%COMP%]{flex:1}.section.footer[_ngcontent-%COMP%]   .cc-license[_ngcontent-%COMP%]   .statement[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{margin:0;padding-right:5px;line-height:16px}"]});let e=t;return e})();Bd(og,ig).catch(e=>console.error(e));